@azx-pbc/axiom-web 0.0.0-stage → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +161 -2
  3. package/dist/address.d.ts +32 -0
  4. package/dist/address.d.ts.map +1 -0
  5. package/dist/address.js +146 -0
  6. package/dist/address.js.map +1 -0
  7. package/dist/capture/MediaCapture.d.ts +45 -0
  8. package/dist/capture/MediaCapture.d.ts.map +1 -0
  9. package/dist/capture/MediaCapture.js +669 -0
  10. package/dist/capture/MediaCapture.js.map +1 -0
  11. package/dist/capture/SignatureCapture.d.ts +31 -0
  12. package/dist/capture/SignatureCapture.d.ts.map +1 -0
  13. package/dist/capture/SignatureCapture.js +329 -0
  14. package/dist/capture/SignatureCapture.js.map +1 -0
  15. package/dist/capture/copy.d.ts +101 -0
  16. package/dist/capture/copy.d.ts.map +1 -0
  17. package/dist/capture/copy.js +1369 -0
  18. package/dist/capture/copy.js.map +1 -0
  19. package/dist/capture/index.d.ts +19 -0
  20. package/dist/capture/index.d.ts.map +1 -0
  21. package/dist/capture/index.js +14 -0
  22. package/dist/capture/index.js.map +1 -0
  23. package/dist/capture/media-kind.d.ts +16 -0
  24. package/dist/capture/media-kind.d.ts.map +1 -0
  25. package/dist/capture/media-kind.js +64 -0
  26. package/dist/capture/media-kind.js.map +1 -0
  27. package/dist/capture/permissions.d.ts +109 -0
  28. package/dist/capture/permissions.d.ts.map +1 -0
  29. package/dist/capture/permissions.js +172 -0
  30. package/dist/capture/permissions.js.map +1 -0
  31. package/dist/capture/refusal.d.ts +13 -0
  32. package/dist/capture/refusal.d.ts.map +1 -0
  33. package/dist/capture/refusal.js +16 -0
  34. package/dist/capture/refusal.js.map +1 -0
  35. package/dist/controls.d.ts +64 -0
  36. package/dist/controls.d.ts.map +1 -0
  37. package/dist/controls.js +2524 -0
  38. package/dist/controls.js.map +1 -0
  39. package/dist/coordinate.d.ts +38 -0
  40. package/dist/coordinate.d.ts.map +1 -0
  41. package/dist/coordinate.js +220 -0
  42. package/dist/coordinate.js.map +1 -0
  43. package/dist/copy.d.ts +313 -0
  44. package/dist/copy.d.ts.map +1 -0
  45. package/dist/copy.js +2602 -0
  46. package/dist/copy.js.map +1 -0
  47. package/dist/countries.d.ts +14 -0
  48. package/dist/countries.d.ts.map +1 -0
  49. package/dist/countries.js +264 -0
  50. package/dist/countries.js.map +1 -0
  51. package/dist/format/calendar-locale.d.ts +19 -0
  52. package/dist/format/calendar-locale.d.ts.map +1 -0
  53. package/dist/format/calendar-locale.js +38 -0
  54. package/dist/format/calendar-locale.js.map +1 -0
  55. package/dist/format/country-names.d.ts +21 -0
  56. package/dist/format/country-names.d.ts.map +1 -0
  57. package/dist/format/country-names.js +2277 -0
  58. package/dist/format/country-names.js.map +1 -0
  59. package/dist/format/date.d.ts +58 -0
  60. package/dist/format/date.d.ts.map +1 -0
  61. package/dist/format/date.js +155 -0
  62. package/dist/format/date.js.map +1 -0
  63. package/dist/format/digits.d.ts +23 -0
  64. package/dist/format/digits.d.ts.map +1 -0
  65. package/dist/format/digits.js +46 -0
  66. package/dist/format/digits.js.map +1 -0
  67. package/dist/format/index.d.ts +28 -0
  68. package/dist/format/index.d.ts.map +1 -0
  69. package/dist/format/index.js +24 -0
  70. package/dist/format/index.js.map +1 -0
  71. package/dist/format/locale.d.ts +33 -0
  72. package/dist/format/locale.d.ts.map +1 -0
  73. package/dist/format/locale.js +39 -0
  74. package/dist/format/locale.js.map +1 -0
  75. package/dist/format/media-type.d.ts +8 -0
  76. package/dist/format/media-type.d.ts.map +1 -0
  77. package/dist/format/media-type.js +302 -0
  78. package/dist/format/media-type.js.map +1 -0
  79. package/dist/format/money.d.ts +52 -0
  80. package/dist/format/money.d.ts.map +1 -0
  81. package/dist/format/money.js +36 -0
  82. package/dist/format/money.js.map +1 -0
  83. package/dist/format/number.d.ts +28 -0
  84. package/dist/format/number.d.ts.map +1 -0
  85. package/dist/format/number.js +91 -0
  86. package/dist/format/number.js.map +1 -0
  87. package/dist/host.d.ts +122 -0
  88. package/dist/host.d.ts.map +1 -0
  89. package/dist/host.js +20 -0
  90. package/dist/host.js.map +1 -0
  91. package/dist/index.d.ts +57 -0
  92. package/dist/index.d.ts.map +1 -0
  93. package/dist/index.js +49 -0
  94. package/dist/index.js.map +1 -0
  95. package/dist/media.d.ts +42 -0
  96. package/dist/media.d.ts.map +1 -0
  97. package/dist/media.js +151 -0
  98. package/dist/media.js.map +1 -0
  99. package/dist/pickers/DatePicker.d.ts +35 -0
  100. package/dist/pickers/DatePicker.d.ts.map +1 -0
  101. package/dist/pickers/DatePicker.js +212 -0
  102. package/dist/pickers/DatePicker.js.map +1 -0
  103. package/dist/pickers/TimeSegments.d.ts +27 -0
  104. package/dist/pickers/TimeSegments.d.ts.map +1 -0
  105. package/dist/pickers/TimeSegments.js +82 -0
  106. package/dist/pickers/TimeSegments.js.map +1 -0
  107. package/dist/pickers/day-picker-locale.d.ts +15 -0
  108. package/dist/pickers/day-picker-locale.d.ts.map +1 -0
  109. package/dist/pickers/day-picker-locale.js +46 -0
  110. package/dist/pickers/day-picker-locale.js.map +1 -0
  111. package/dist/render/dom.d.ts +100 -0
  112. package/dist/render/dom.d.ts.map +1 -0
  113. package/dist/render/dom.js +882 -0
  114. package/dist/render/dom.js.map +1 -0
  115. package/dist/render/layout.d.ts +45 -0
  116. package/dist/render/layout.d.ts.map +1 -0
  117. package/dist/render/layout.js +8 -0
  118. package/dist/render/layout.js.map +1 -0
  119. package/dist/schedule/SchedulePicker.d.ts +46 -0
  120. package/dist/schedule/SchedulePicker.d.ts.map +1 -0
  121. package/dist/schedule/SchedulePicker.js +160 -0
  122. package/dist/schedule/SchedulePicker.js.map +1 -0
  123. package/dist/schedule/timeslot.d.ts +52 -0
  124. package/dist/schedule/timeslot.d.ts.map +1 -0
  125. package/dist/schedule/timeslot.js +265 -0
  126. package/dist/schedule/timeslot.js.map +1 -0
  127. package/dist/styles.css +2151 -0
  128. package/dist/theme/index.d.ts +12 -0
  129. package/dist/theme/index.d.ts.map +1 -0
  130. package/dist/theme/index.js +11 -0
  131. package/dist/theme/index.js.map +1 -0
  132. package/dist/theme/presets.d.ts +93 -0
  133. package/dist/theme/presets.d.ts.map +1 -0
  134. package/dist/theme/presets.js +200 -0
  135. package/dist/theme/presets.js.map +1 -0
  136. package/dist/tokens.css +234 -0
  137. package/dist/wizard-checkpoints.d.ts +18 -0
  138. package/dist/wizard-checkpoints.d.ts.map +1 -0
  139. package/dist/wizard-checkpoints.js +56 -0
  140. package/dist/wizard-checkpoints.js.map +1 -0
  141. package/package.json +76 -3
@@ -0,0 +1,14 @@
1
+ /**
2
+ * The countries an address picker offers, as ISO 3166-1 alpha-2 codes.
3
+ *
4
+ * The wire's `address.country` is an upper-case alpha-2 code and nothing more, so the picker's
5
+ * values are the codes and its labels are the host copy's localised names. Every current code is
6
+ * listed rather than a sample: a form that silently dropped the reader's country would be a form
7
+ * that cannot record the address it asked for, and `MODEL-2.1.25` deliberately validates no
8
+ * world vocabulary of its own.
9
+ *
10
+ * The list is alphabetically sorted once, here, so a select never depends on the order a platform
11
+ * happens to enumerate regions in.
12
+ */
13
+ export declare const ALPHA2_COUNTRY_CODES: readonly string[];
14
+ //# sourceMappingURL=countries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"countries.d.ts","sourceRoot":"","sources":["../src/countries.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,oBAAoB,EAAE,SAAS,MAAM,EA0PhD,CAAC"}
@@ -0,0 +1,264 @@
1
+ /**
2
+ * The countries an address picker offers, as ISO 3166-1 alpha-2 codes.
3
+ *
4
+ * The wire's `address.country` is an upper-case alpha-2 code and nothing more, so the picker's
5
+ * values are the codes and its labels are the host copy's localised names. Every current code is
6
+ * listed rather than a sample: a form that silently dropped the reader's country would be a form
7
+ * that cannot record the address it asked for, and `MODEL-2.1.25` deliberately validates no
8
+ * world vocabulary of its own.
9
+ *
10
+ * The list is alphabetically sorted once, here, so a select never depends on the order a platform
11
+ * happens to enumerate regions in.
12
+ */
13
+ export const ALPHA2_COUNTRY_CODES = Object.freeze([
14
+ 'AD',
15
+ 'AE',
16
+ 'AF',
17
+ 'AG',
18
+ 'AI',
19
+ 'AL',
20
+ 'AM',
21
+ 'AO',
22
+ 'AQ',
23
+ 'AR',
24
+ 'AS',
25
+ 'AT',
26
+ 'AU',
27
+ 'AW',
28
+ 'AX',
29
+ 'AZ',
30
+ 'BA',
31
+ 'BB',
32
+ 'BD',
33
+ 'BE',
34
+ 'BF',
35
+ 'BG',
36
+ 'BH',
37
+ 'BI',
38
+ 'BJ',
39
+ 'BL',
40
+ 'BM',
41
+ 'BN',
42
+ 'BO',
43
+ 'BQ',
44
+ 'BR',
45
+ 'BS',
46
+ 'BT',
47
+ 'BV',
48
+ 'BW',
49
+ 'BY',
50
+ 'BZ',
51
+ 'CA',
52
+ 'CC',
53
+ 'CD',
54
+ 'CF',
55
+ 'CG',
56
+ 'CH',
57
+ 'CI',
58
+ 'CK',
59
+ 'CL',
60
+ 'CM',
61
+ 'CN',
62
+ 'CO',
63
+ 'CR',
64
+ 'CU',
65
+ 'CV',
66
+ 'CW',
67
+ 'CX',
68
+ 'CY',
69
+ 'CZ',
70
+ 'DE',
71
+ 'DJ',
72
+ 'DK',
73
+ 'DM',
74
+ 'DO',
75
+ 'DZ',
76
+ 'EC',
77
+ 'EE',
78
+ 'EG',
79
+ 'EH',
80
+ 'ER',
81
+ 'ES',
82
+ 'ET',
83
+ 'FI',
84
+ 'FJ',
85
+ 'FK',
86
+ 'FM',
87
+ 'FO',
88
+ 'FR',
89
+ 'GA',
90
+ 'GB',
91
+ 'GD',
92
+ 'GE',
93
+ 'GF',
94
+ 'GG',
95
+ 'GH',
96
+ 'GI',
97
+ 'GL',
98
+ 'GM',
99
+ 'GN',
100
+ 'GP',
101
+ 'GQ',
102
+ 'GR',
103
+ 'GS',
104
+ 'GT',
105
+ 'GU',
106
+ 'GW',
107
+ 'GY',
108
+ 'HK',
109
+ 'HM',
110
+ 'HN',
111
+ 'HR',
112
+ 'HT',
113
+ 'HU',
114
+ 'ID',
115
+ 'IE',
116
+ 'IL',
117
+ 'IM',
118
+ 'IN',
119
+ 'IO',
120
+ 'IQ',
121
+ 'IR',
122
+ 'IS',
123
+ 'IT',
124
+ 'JE',
125
+ 'JM',
126
+ 'JO',
127
+ 'JP',
128
+ 'KE',
129
+ 'KG',
130
+ 'KH',
131
+ 'KI',
132
+ 'KM',
133
+ 'KN',
134
+ 'KP',
135
+ 'KR',
136
+ 'KW',
137
+ 'KY',
138
+ 'KZ',
139
+ 'LA',
140
+ 'LB',
141
+ 'LC',
142
+ 'LI',
143
+ 'LK',
144
+ 'LR',
145
+ 'LS',
146
+ 'LT',
147
+ 'LU',
148
+ 'LV',
149
+ 'LY',
150
+ 'MA',
151
+ 'MC',
152
+ 'MD',
153
+ 'ME',
154
+ 'MF',
155
+ 'MG',
156
+ 'MH',
157
+ 'MK',
158
+ 'ML',
159
+ 'MM',
160
+ 'MN',
161
+ 'MO',
162
+ 'MP',
163
+ 'MQ',
164
+ 'MR',
165
+ 'MS',
166
+ 'MT',
167
+ 'MU',
168
+ 'MV',
169
+ 'MW',
170
+ 'MX',
171
+ 'MY',
172
+ 'MZ',
173
+ 'NA',
174
+ 'NC',
175
+ 'NE',
176
+ 'NF',
177
+ 'NG',
178
+ 'NI',
179
+ 'NL',
180
+ 'NO',
181
+ 'NP',
182
+ 'NR',
183
+ 'NU',
184
+ 'NZ',
185
+ 'OM',
186
+ 'PA',
187
+ 'PE',
188
+ 'PF',
189
+ 'PG',
190
+ 'PH',
191
+ 'PK',
192
+ 'PL',
193
+ 'PM',
194
+ 'PN',
195
+ 'PR',
196
+ 'PS',
197
+ 'PT',
198
+ 'PW',
199
+ 'PY',
200
+ 'QA',
201
+ 'RE',
202
+ 'RO',
203
+ 'RS',
204
+ 'RU',
205
+ 'RW',
206
+ 'SA',
207
+ 'SB',
208
+ 'SC',
209
+ 'SD',
210
+ 'SE',
211
+ 'SG',
212
+ 'SH',
213
+ 'SI',
214
+ 'SJ',
215
+ 'SK',
216
+ 'SL',
217
+ 'SM',
218
+ 'SN',
219
+ 'SO',
220
+ 'SR',
221
+ 'SS',
222
+ 'ST',
223
+ 'SV',
224
+ 'SX',
225
+ 'SY',
226
+ 'SZ',
227
+ 'TC',
228
+ 'TD',
229
+ 'TF',
230
+ 'TG',
231
+ 'TH',
232
+ 'TJ',
233
+ 'TK',
234
+ 'TL',
235
+ 'TM',
236
+ 'TN',
237
+ 'TO',
238
+ 'TR',
239
+ 'TT',
240
+ 'TV',
241
+ 'TW',
242
+ 'TZ',
243
+ 'UA',
244
+ 'UG',
245
+ 'UM',
246
+ 'US',
247
+ 'UY',
248
+ 'UZ',
249
+ 'VA',
250
+ 'VC',
251
+ 'VE',
252
+ 'VG',
253
+ 'VI',
254
+ 'VN',
255
+ 'VU',
256
+ 'WF',
257
+ 'WS',
258
+ 'YE',
259
+ 'YT',
260
+ 'ZA',
261
+ 'ZM',
262
+ 'ZW',
263
+ ]);
264
+ //# sourceMappingURL=countries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"countries.js","sourceRoot":"","sources":["../src/countries.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAsB,MAAM,CAAC,MAAM,CAAC;IACnE,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IA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IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;IACJ,IAAI;CACL,CAAC,CAAC","sourcesContent":["/**\n * The countries an address picker offers, as ISO 3166-1 alpha-2 codes.\n *\n * The wire's `address.country` is an upper-case alpha-2 code and nothing more, so the picker's\n * values are the codes and its labels are the host copy's localised names. Every current code is\n * listed rather than a sample: a form that silently dropped the reader's country would be a form\n * that cannot record the address it asked for, and `MODEL-2.1.25` deliberately validates no\n * world vocabulary of its own.\n *\n * The list is alphabetically sorted once, here, so a select never depends on the order a platform\n * happens to enumerate regions in.\n */\nexport const ALPHA2_COUNTRY_CODES: readonly string[] = Object.freeze([\n 'AD',\n 'AE',\n 'AF',\n 'AG',\n 'AI',\n 'AL',\n 'AM',\n 'AO',\n 'AQ',\n 'AR',\n 'AS',\n 'AT',\n 'AU',\n 'AW',\n 'AX',\n 'AZ',\n 'BA',\n 'BB',\n 'BD',\n 'BE',\n 'BF',\n 'BG',\n 'BH',\n 'BI',\n 'BJ',\n 'BL',\n 'BM',\n 'BN',\n 'BO',\n 'BQ',\n 'BR',\n 'BS',\n 'BT',\n 'BV',\n 'BW',\n 'BY',\n 'BZ',\n 'CA',\n 'CC',\n 'CD',\n 'CF',\n 'CG',\n 'CH',\n 'CI',\n 'CK',\n 'CL',\n 'CM',\n 'CN',\n 'CO',\n 'CR',\n 'CU',\n 'CV',\n 'CW',\n 'CX',\n 'CY',\n 'CZ',\n 'DE',\n 'DJ',\n 'DK',\n 'DM',\n 'DO',\n 'DZ',\n 'EC',\n 'EE',\n 'EG',\n 'EH',\n 'ER',\n 'ES',\n 'ET',\n 'FI',\n 'FJ',\n 'FK',\n 'FM',\n 'FO',\n 'FR',\n 'GA',\n 'GB',\n 'GD',\n 'GE',\n 'GF',\n 'GG',\n 'GH',\n 'GI',\n 'GL',\n 'GM',\n 'GN',\n 'GP',\n 'GQ',\n 'GR',\n 'GS',\n 'GT',\n 'GU',\n 'GW',\n 'GY',\n 'HK',\n 'HM',\n 'HN',\n 'HR',\n 'HT',\n 'HU',\n 'ID',\n 'IE',\n 'IL',\n 'IM',\n 'IN',\n 'IO',\n 'IQ',\n 'IR',\n 'IS',\n 'IT',\n 'JE',\n 'JM',\n 'JO',\n 'JP',\n 'KE',\n 'KG',\n 'KH',\n 'KI',\n 'KM',\n 'KN',\n 'KP',\n 'KR',\n 'KW',\n 'KY',\n 'KZ',\n 'LA',\n 'LB',\n 'LC',\n 'LI',\n 'LK',\n 'LR',\n 'LS',\n 'LT',\n 'LU',\n 'LV',\n 'LY',\n 'MA',\n 'MC',\n 'MD',\n 'ME',\n 'MF',\n 'MG',\n 'MH',\n 'MK',\n 'ML',\n 'MM',\n 'MN',\n 'MO',\n 'MP',\n 'MQ',\n 'MR',\n 'MS',\n 'MT',\n 'MU',\n 'MV',\n 'MW',\n 'MX',\n 'MY',\n 'MZ',\n 'NA',\n 'NC',\n 'NE',\n 'NF',\n 'NG',\n 'NI',\n 'NL',\n 'NO',\n 'NP',\n 'NR',\n 'NU',\n 'NZ',\n 'OM',\n 'PA',\n 'PE',\n 'PF',\n 'PG',\n 'PH',\n 'PK',\n 'PL',\n 'PM',\n 'PN',\n 'PR',\n 'PS',\n 'PT',\n 'PW',\n 'PY',\n 'QA',\n 'RE',\n 'RO',\n 'RS',\n 'RU',\n 'RW',\n 'SA',\n 'SB',\n 'SC',\n 'SD',\n 'SE',\n 'SG',\n 'SH',\n 'SI',\n 'SJ',\n 'SK',\n 'SL',\n 'SM',\n 'SN',\n 'SO',\n 'SR',\n 'SS',\n 'ST',\n 'SV',\n 'SX',\n 'SY',\n 'SZ',\n 'TC',\n 'TD',\n 'TF',\n 'TG',\n 'TH',\n 'TJ',\n 'TK',\n 'TL',\n 'TM',\n 'TN',\n 'TO',\n 'TR',\n 'TT',\n 'TV',\n 'TW',\n 'TZ',\n 'UA',\n 'UG',\n 'UM',\n 'US',\n 'UY',\n 'UZ',\n 'VA',\n 'VC',\n 'VE',\n 'VG',\n 'VI',\n 'VN',\n 'VU',\n 'WF',\n 'WS',\n 'YE',\n 'YT',\n 'ZA',\n 'ZM',\n 'ZW',\n]);\n"]}
@@ -0,0 +1,19 @@
1
+ import type { Locale as DateFnsLocale } from 'date-fns/locale';
2
+ import type { Locale } from './locale.js';
3
+ /**
4
+ * The one bare date-fns locale object per shipped language, for the readout.
5
+ *
6
+ * date-fns is pure data and pure arithmetic: it consults no locale database and no host locale
7
+ * formatter, which is the determinism the device floor requires. This table carries only the
8
+ * month and day data a readout needs. The pickers read `pickerLocale`, which spreads these same
9
+ * objects and adds DayPicker's labels; because the spread copies references, both tables share
10
+ * one `localize` object rather than two tables that can drift.
11
+ *
12
+ * `zh` maps to `zhCN`. That table is Simplified Chinese (Hans), and Hans is the only Chinese the
13
+ * shipped table promises: a `zh-Hant` tag resolves to `zh` and therefore reads the same Hans
14
+ * words and the same month grid, while the resolver still reports the tag's script.
15
+ */
16
+ export declare const CALENDAR_LOCALES: Readonly<Record<Locale, DateFnsLocale>>;
17
+ /** The bare date-fns table for a shipped language. */
18
+ export declare function calendarLocale(locale: Locale): DateFnsLocale;
19
+ //# sourceMappingURL=calendar-locale.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar-locale.d.ts","sourceRoot":"","sources":["../../src/format/calendar-locale.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAE1C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAUnE,CAAC;AAEH,sDAAsD;AACtD,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,aAAa,CAE5D"}
@@ -0,0 +1,38 @@
1
+ import { ar } from 'date-fns/locale/ar';
2
+ import { de } from 'date-fns/locale/de';
3
+ import { enUS } from 'date-fns/locale/en-US';
4
+ import { es } from 'date-fns/locale/es';
5
+ import { fr } from 'date-fns/locale/fr';
6
+ import { it } from 'date-fns/locale/it';
7
+ import { pt } from 'date-fns/locale/pt';
8
+ import { ru } from 'date-fns/locale/ru';
9
+ import { zhCN } from 'date-fns/locale/zh-CN';
10
+ /**
11
+ * The one bare date-fns locale object per shipped language, for the readout.
12
+ *
13
+ * date-fns is pure data and pure arithmetic: it consults no locale database and no host locale
14
+ * formatter, which is the determinism the device floor requires. This table carries only the
15
+ * month and day data a readout needs. The pickers read `pickerLocale`, which spreads these same
16
+ * objects and adds DayPicker's labels; because the spread copies references, both tables share
17
+ * one `localize` object rather than two tables that can drift.
18
+ *
19
+ * `zh` maps to `zhCN`. That table is Simplified Chinese (Hans), and Hans is the only Chinese the
20
+ * shipped table promises: a `zh-Hant` tag resolves to `zh` and therefore reads the same Hans
21
+ * words and the same month grid, while the resolver still reports the tag's script.
22
+ */
23
+ export const CALENDAR_LOCALES = Object.freeze({
24
+ en: enUS,
25
+ es,
26
+ fr,
27
+ de,
28
+ ru,
29
+ it,
30
+ zh: zhCN,
31
+ ar,
32
+ pt,
33
+ });
34
+ /** The bare date-fns table for a shipped language. */
35
+ export function calendarLocale(locale) {
36
+ return CALENDAR_LOCALES[locale];
37
+ }
38
+ //# sourceMappingURL=calendar-locale.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar-locale.js","sourceRoot":"","sources":["../../src/format/calendar-locale.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAC7C,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,EAAE,EAAE,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAI7C;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA4C,MAAM,CAAC,MAAM,CAAC;IACrF,EAAE,EAAE,IAAI;IACR,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE,EAAE,IAAI;IACR,EAAE;IACF,EAAE;CACH,CAAC,CAAC;AAEH,sDAAsD;AACtD,MAAM,UAAU,cAAc,CAAC,MAAc;IAC3C,OAAO,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAClC,CAAC","sourcesContent":["import { ar } from 'date-fns/locale/ar';\nimport { de } from 'date-fns/locale/de';\nimport { enUS } from 'date-fns/locale/en-US';\nimport { es } from 'date-fns/locale/es';\nimport { fr } from 'date-fns/locale/fr';\nimport { it } from 'date-fns/locale/it';\nimport { pt } from 'date-fns/locale/pt';\nimport { ru } from 'date-fns/locale/ru';\nimport { zhCN } from 'date-fns/locale/zh-CN';\nimport type { Locale as DateFnsLocale } from 'date-fns/locale';\nimport type { Locale } from './locale.js';\n\n/**\n * The one bare date-fns locale object per shipped language, for the readout.\n *\n * date-fns is pure data and pure arithmetic: it consults no locale database and no host locale\n * formatter, which is the determinism the device floor requires. This table carries only the\n * month and day data a readout needs. The pickers read `pickerLocale`, which spreads these same\n * objects and adds DayPicker's labels; because the spread copies references, both tables share\n * one `localize` object rather than two tables that can drift.\n *\n * `zh` maps to `zhCN`. That table is Simplified Chinese (Hans), and Hans is the only Chinese the\n * shipped table promises: a `zh-Hant` tag resolves to `zh` and therefore reads the same Hans\n * words and the same month grid, while the resolver still reports the tag's script.\n */\nexport const CALENDAR_LOCALES: Readonly<Record<Locale, DateFnsLocale>> = Object.freeze({\n en: enUS,\n es,\n fr,\n de,\n ru,\n it,\n zh: zhCN,\n ar,\n pt,\n});\n\n/** The bare date-fns table for a shipped language. */\nexport function calendarLocale(locale: Locale): DateFnsLocale {\n return CALENDAR_LOCALES[locale];\n}\n"]}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * The localised region names the address readout paints, one table per copy locale.
3
+ *
4
+ * The table is vendored CLDR data, generated from Node's ICU and committed: the shipped
5
+ * module never builds a host display-names formatter, because a device's ICU release would decide
6
+ * the words and two hosts on different releases would render different text. Regenerating the
7
+ * table is a data change, not a runtime one.
8
+ *
9
+ * The table covers the codes `ALPHA2_COUNTRY_CODES` offers. A code outside that list is painted
10
+ * as its code, which is the same honest fallback the picker uses for a value it cannot name.
11
+ *
12
+ * Generated by `tools/generate-country-names.ts` with Node 26.13.1 and ICU 78.3.
13
+ * `pnpm exec tsx tools/generate-country-names.ts --check` proves the table is this release's.
14
+ */
15
+ export declare const COUNTRY_NAME_LOCALES: readonly ['en', 'es', 'pt', 'fr', 'ar', 'de', 'it', 'ru', 'zh'];
16
+ /** One locale the table carries. */
17
+ export type CountryLocale = (typeof COUNTRY_NAME_LOCALES)[number];
18
+ type CountryNames = Readonly<Record<string, string>>;
19
+ export declare const COUNTRY_NAMES: Readonly<Record<CountryLocale, CountryNames>>;
20
+ export {};
21
+ //# sourceMappingURL=country-names.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"country-names.d.ts","sourceRoot":"","sources":["../../src/format/country-names.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,oBAAoB,YAAI,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAU,CAAC;AAEpG,oCAAoC;AACpC,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC;AAElE,KAAK,YAAY,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAErD,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,CAAC,aAAa,EAAE,YAAY,CAAC,CAotEtE,CAAC"}