| 1 |
import wasm from "./diplomat-wasm.mjs" |
| 2 |
import * as diplomatRuntime from "./diplomat-runtime.mjs" |
| 3 |
import { ICU4XError_js_to_rust, ICU4XError_rust_to_js } from "./ICU4XError.mjs" |
| 4 |
|
| 5 |
export const ICU4XAnyCalendarKind_js_to_rust = { |
| 6 |
"Iso": 0, |
| 7 |
"Gregorian": 1, |
| 8 |
"Buddhist": 2, |
| 9 |
"Japanese": 3, |
| 10 |
"JapaneseExtended": 4, |
| 11 |
"Ethiopian": 5, |
| 12 |
"EthiopianAmeteAlem": 6, |
| 13 |
"Indian": 7, |
| 14 |
"Coptic": 8, |
| 15 |
"Dangi": 9, |
| 16 |
"Chinese": 10, |
| 17 |
"Hebrew": 11, |
| 18 |
"IslamicCivil": 12, |
| 19 |
"IslamicObservational": 13, |
| 20 |
"IslamicTabular": 14, |
| 21 |
"IslamicUmmAlQura": 15, |
| 22 |
"Persian": 16, |
| 23 |
"Roc": 17, |
| 24 |
}; |
| 25 |
|
| 26 |
export const ICU4XAnyCalendarKind_rust_to_js = { |
| 27 |
[0]: "Iso", |
| 28 |
[1]: "Gregorian", |
| 29 |
[2]: "Buddhist", |
| 30 |
[3]: "Japanese", |
| 31 |
[4]: "JapaneseExtended", |
| 32 |
[5]: "Ethiopian", |
| 33 |
[6]: "EthiopianAmeteAlem", |
| 34 |
[7]: "Indian", |
| 35 |
[8]: "Coptic", |
| 36 |
[9]: "Dangi", |
| 37 |
[10]: "Chinese", |
| 38 |
[11]: "Hebrew", |
| 39 |
[12]: "IslamicCivil", |
| 40 |
[13]: "IslamicObservational", |
| 41 |
[14]: "IslamicTabular", |
| 42 |
[15]: "IslamicUmmAlQura", |
| 43 |
[16]: "Persian", |
| 44 |
[17]: "Roc", |
| 45 |
}; |
| 46 |
|
| 47 |
export const ICU4XAnyCalendarKind = { |
| 48 |
"Iso": "Iso", |
| 49 |
"Gregorian": "Gregorian", |
| 50 |
"Buddhist": "Buddhist", |
| 51 |
"Japanese": "Japanese", |
| 52 |
"JapaneseExtended": "JapaneseExtended", |
| 53 |
"Ethiopian": "Ethiopian", |
| 54 |
"EthiopianAmeteAlem": "EthiopianAmeteAlem", |
| 55 |
"Indian": "Indian", |
| 56 |
"Coptic": "Coptic", |
| 57 |
"Dangi": "Dangi", |
| 58 |
"Chinese": "Chinese", |
| 59 |
"Hebrew": "Hebrew", |
| 60 |
"IslamicCivil": "IslamicCivil", |
| 61 |
"IslamicObservational": "IslamicObservational", |
| 62 |
"IslamicTabular": "IslamicTabular", |
| 63 |
"IslamicUmmAlQura": "IslamicUmmAlQura", |
| 64 |
"Persian": "Persian", |
| 65 |
"Roc": "Roc", |
| 66 |
}; |