@eifi1/ui-kit 0.21.0 → 0.23.0

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 (320) hide show
  1. package/README.md +42 -25
  2. package/dist/chart.d.ts +19 -14
  3. package/dist/components/account-chips.d.ts +10 -3
  4. package/dist/components/account-chips.js +5 -2
  5. package/dist/components/account-chips.js.map +1 -1
  6. package/dist/components/account-settings.d.ts +33 -2
  7. package/dist/components/account-settings.js +43 -21
  8. package/dist/components/account-settings.js.map +1 -1
  9. package/dist/components/amount-input.d.ts +53 -14
  10. package/dist/components/amount-input.js +17 -28
  11. package/dist/components/amount-input.js.map +1 -1
  12. package/dist/components/autocomplete.d.ts +29 -0
  13. package/dist/components/autocomplete.js +134 -104
  14. package/dist/components/autocomplete.js.map +1 -1
  15. package/dist/components/button-group.d.ts +19 -14
  16. package/dist/components/calculator.d.ts +19 -14
  17. package/dist/components/checkbox-group.d.ts +104 -0
  18. package/dist/components/checkbox-group.js +111 -0
  19. package/dist/components/checkbox-group.js.map +1 -0
  20. package/dist/components/checkbox.d.ts +19 -0
  21. package/dist/components/checkbox.js +30 -7
  22. package/dist/components/checkbox.js.map +1 -1
  23. package/dist/components/chip.d.ts +18 -0
  24. package/dist/components/chip.js +47 -10
  25. package/dist/components/chip.js.map +1 -1
  26. package/dist/components/column-mapper.d.ts +182 -0
  27. package/dist/components/column-mapper.js +375 -0
  28. package/dist/components/column-mapper.js.map +1 -0
  29. package/dist/components/combobox-core.d.ts +39 -2
  30. package/dist/components/combobox-core.js +29 -6
  31. package/dist/components/combobox-core.js.map +1 -1
  32. package/dist/components/combobox.d.ts +91 -2
  33. package/dist/components/combobox.js +454 -308
  34. package/dist/components/combobox.js.map +1 -1
  35. package/dist/components/confirm-dialog.d.ts +69 -161
  36. package/dist/components/confirm-dialog.js +7 -8
  37. package/dist/components/confirm-dialog.js.map +1 -1
  38. package/dist/components/copy-button.d.ts +16 -11
  39. package/dist/components/country-select.d.ts +167 -0
  40. package/dist/components/country-select.js +293 -0
  41. package/dist/components/country-select.js.map +1 -0
  42. package/dist/components/currency-select.d.ts +17 -1
  43. package/dist/components/currency-select.js +56 -23
  44. package/dist/components/currency-select.js.map +1 -1
  45. package/dist/components/danger-confirm.d.ts +69 -166
  46. package/dist/components/danger-confirm.js +144 -50
  47. package/dist/components/danger-confirm.js.map +1 -1
  48. package/dist/components/data-table-cells.d.ts +1 -2
  49. package/dist/components/data-table-filter-popover.d.ts +1 -2
  50. package/dist/components/data-table-filters.d.ts +1 -2
  51. package/dist/components/data-table-labels.d.ts +4 -97
  52. package/dist/components/data-table-labels.js +9 -1
  53. package/dist/components/data-table-labels.js.map +1 -1
  54. package/dist/components/data-table-pagination.d.ts +3 -1
  55. package/dist/components/data-table.d.ts +1 -2
  56. package/dist/components/data-table.js +98 -3
  57. package/dist/components/data-table.js.map +1 -1
  58. package/dist/components/date-picker.d.ts +66 -5
  59. package/dist/components/date-picker.js +378 -66
  60. package/dist/components/date-picker.js.map +1 -1
  61. package/dist/components/entity-combobox.d.ts +42 -1
  62. package/dist/components/entity-combobox.js +154 -113
  63. package/dist/components/entity-combobox.js.map +1 -1
  64. package/dist/components/facing-pair.d.ts +19 -14
  65. package/dist/components/field-parts.d.ts +224 -0
  66. package/dist/components/field-parts.js +156 -0
  67. package/dist/components/field-parts.js.map +1 -0
  68. package/dist/components/field-strip.d.ts +105 -0
  69. package/dist/components/field-strip.js +46 -0
  70. package/dist/components/field-strip.js.map +1 -0
  71. package/dist/components/file-button.d.ts +19 -14
  72. package/dist/components/file-button.js +13 -3
  73. package/dist/components/file-button.js.map +1 -1
  74. package/dist/components/file-dropzone.d.ts +41 -15
  75. package/dist/components/file-dropzone.js +57 -34
  76. package/dist/components/file-dropzone.js.map +1 -1
  77. package/dist/components/form-actions.d.ts +18 -13
  78. package/dist/components/form-actions.js +69 -5
  79. package/dist/components/form-actions.js.map +1 -1
  80. package/dist/components/iban-input.d.ts +69 -0
  81. package/dist/components/iban-input.js +125 -0
  82. package/dist/components/iban-input.js.map +1 -0
  83. package/dist/components/icon-picker.d.ts +21 -2
  84. package/dist/components/icon-picker.js +19 -4
  85. package/dist/components/icon-picker.js.map +1 -1
  86. package/dist/components/inline-edit-field.d.ts +167 -0
  87. package/dist/components/inline-edit-field.js +293 -0
  88. package/dist/components/inline-edit-field.js.map +1 -0
  89. package/dist/components/language-select.d.ts +130 -0
  90. package/dist/components/language-select.js +18 -0
  91. package/dist/components/language-select.js.map +1 -0
  92. package/dist/components/line-items.d.ts +25 -3
  93. package/dist/components/line-items.js +55 -46
  94. package/dist/components/line-items.js.map +1 -1
  95. package/dist/components/list.d.ts +25 -0
  96. package/dist/components/list.js +16 -5
  97. package/dist/components/list.js.map +1 -1
  98. package/dist/components/money-field.d.ts +32 -14
  99. package/dist/components/money-field.js.map +1 -1
  100. package/dist/components/month-picker.d.ts +52 -4
  101. package/dist/components/month-picker.js +291 -86
  102. package/dist/components/month-picker.js.map +1 -1
  103. package/dist/components/multi-entity-combobox.d.ts +26 -1
  104. package/dist/components/multi-entity-combobox.js +143 -102
  105. package/dist/components/multi-entity-combobox.js.map +1 -1
  106. package/dist/components/multi-select.d.ts +8 -1
  107. package/dist/components/multi-select.js +9 -4
  108. package/dist/components/multi-select.js.map +1 -1
  109. package/dist/components/number-field.d.ts +34 -19
  110. package/dist/components/number-field.js +6 -20
  111. package/dist/components/number-field.js.map +1 -1
  112. package/dist/components/number-input.d.ts +79 -19
  113. package/dist/components/number-input.js +90 -38
  114. package/dist/components/number-input.js.map +1 -1
  115. package/dist/components/numpad-sheet.d.ts +19 -14
  116. package/dist/components/one-time-code-input.d.ts +100 -0
  117. package/dist/components/one-time-code-input.js +137 -0
  118. package/dist/components/one-time-code-input.js.map +1 -0
  119. package/dist/components/phone-input.d.ts +69 -0
  120. package/dist/components/phone-input.js +171 -0
  121. package/dist/components/phone-input.js.map +1 -0
  122. package/dist/components/reauth-dialog.d.ts +2 -2
  123. package/dist/components/reauth-dialog.js +6 -8
  124. package/dist/components/reauth-dialog.js.map +1 -1
  125. package/dist/components/series-chart.d.ts +19 -14
  126. package/dist/components/settings-fields.d.ts +19 -14
  127. package/dist/components/share-card.d.ts +16 -11
  128. package/dist/components/sign-chip.d.ts +66 -0
  129. package/dist/components/sign-chip.js +39 -0
  130. package/dist/components/sign-chip.js.map +1 -0
  131. package/dist/components/swatch-picker.d.ts +43 -2
  132. package/dist/components/swatch-picker.js +80 -32
  133. package/dist/components/swatch-picker.js.map +1 -1
  134. package/dist/components/switch.d.ts +19 -0
  135. package/dist/components/switch.js +24 -6
  136. package/dist/components/switch.js.map +1 -1
  137. package/dist/components/text-link.d.ts +18 -13
  138. package/dist/components/tile-radio.d.ts +88 -13
  139. package/dist/components/tile-radio.js +28 -11
  140. package/dist/components/tile-radio.js.map +1 -1
  141. package/dist/components/time-input.d.ts +24 -15
  142. package/dist/components/time-input.js.map +1 -1
  143. package/dist/components/toggle-group.d.ts +47 -1
  144. package/dist/components/toggle-group.js +110 -69
  145. package/dist/components/toggle-group.js.map +1 -1
  146. package/dist/components/trigger-aria.d.ts +3 -0
  147. package/dist/components/trigger-aria.js +3 -1
  148. package/dist/components/trigger-aria.js.map +1 -1
  149. package/dist/components/ui.d.ts +16 -11
  150. package/dist/components/ui.js +284 -88
  151. package/dist/components/ui.js.map +1 -1
  152. package/dist/components/use-table-state.d.ts +1 -2
  153. package/dist/{data-table-3mi2R3so.d.ts → data-table-labels-B7OdnM0S.d.ts} +140 -3
  154. package/dist/data-table.d.ts +1 -2
  155. package/dist/data-table.js +2 -1
  156. package/dist/data-table.js.map +1 -1
  157. package/dist/feedback/feedback-attachment.d.ts +1 -1
  158. package/dist/feedback/feedback-attachment.js +348 -41
  159. package/dist/feedback/feedback-attachment.js.map +1 -1
  160. package/dist/feedback/feedback-dialog.d.ts +1 -1
  161. package/dist/feedback/feedback-dialog.js.map +1 -1
  162. package/dist/feedback/feedback-inbox.d.ts +3 -2
  163. package/dist/feedback/feedback-inbox.js.map +1 -1
  164. package/dist/feedback/feedback-thread.d.ts +68 -253
  165. package/dist/feedback/feedback-thread.js +46 -10
  166. package/dist/feedback/feedback-thread.js.map +1 -1
  167. package/dist/{kit-labels-D1J2_jyD.d.ts → feedback-BxeQVzwq.d.ts} +1206 -20
  168. package/dist/{feedback-attachment-WFiXJ8We.d.ts → feedback-attachment-fGAzZPf0.d.ts} +178 -11
  169. package/dist/feedback.d.ts +66 -2
  170. package/dist/hooks/use-file-drop.d.ts +19 -14
  171. package/dist/i18n/defaults.d.ts +19 -14
  172. package/dist/i18n/defaults.js +19 -2
  173. package/dist/i18n/defaults.js.map +1 -1
  174. package/dist/i18n/german.d.ts +19 -14
  175. package/dist/i18n/german.js +84 -5
  176. package/dist/i18n/german.js.map +1 -1
  177. package/dist/i18n/kit-labels.d.ts +15 -10
  178. package/dist/i18n/kit-labels.js +8 -2
  179. package/dist/i18n/kit-labels.js.map +1 -1
  180. package/dist/i18n/languages.d.ts +19 -14
  181. package/dist/i18n/locales/de-CH.d.ts +19 -14
  182. package/dist/i18n/locales/en.d.ts +19 -14
  183. package/dist/i18n/locales/en.js +16 -0
  184. package/dist/i18n/locales/en.js.map +1 -1
  185. package/dist/i18n/locales/es.d.ts +19 -14
  186. package/dist/i18n/locales/es.js +83 -5
  187. package/dist/i18n/locales/es.js.map +1 -1
  188. package/dist/i18n/locales/fr.d.ts +19 -14
  189. package/dist/i18n/locales/fr.js +82 -5
  190. package/dist/i18n/locales/fr.js.map +1 -1
  191. package/dist/i18n/locales/hu.d.ts +19 -14
  192. package/dist/i18n/locales/hu.js +85 -5
  193. package/dist/i18n/locales/hu.js.map +1 -1
  194. package/dist/i18n/locales/it.d.ts +19 -14
  195. package/dist/i18n/locales/it.js +84 -5
  196. package/dist/i18n/locales/it.js.map +1 -1
  197. package/dist/i18n/locales/zh.d.ts +19 -14
  198. package/dist/i18n/locales/zh.js +80 -5
  199. package/dist/i18n/locales/zh.js.map +1 -1
  200. package/dist/i18n/review.d.ts +19 -14
  201. package/dist/i18n/review.js +27 -1
  202. package/dist/i18n/review.js.map +1 -1
  203. package/dist/index.d.ts +21 -10
  204. package/dist/index.js +73 -2
  205. package/dist/index.js.map +1 -1
  206. package/dist/lib/column-mapping.d.ts +81 -0
  207. package/dist/lib/column-mapping.js +108 -0
  208. package/dist/lib/column-mapping.js.map +1 -0
  209. package/dist/lib/countries.d.ts +43 -0
  210. package/dist/lib/countries.js +39 -0
  211. package/dist/lib/countries.js.map +1 -0
  212. package/dist/lib/decimal-marks.d.ts +46 -0
  213. package/dist/lib/decimal-marks.js +40 -0
  214. package/dist/lib/decimal-marks.js.map +1 -0
  215. package/dist/lib/iban.d.ts +98 -0
  216. package/dist/lib/iban.js +154 -0
  217. package/dist/lib/iban.js.map +1 -0
  218. package/dist/lib/isin.d.ts +30 -0
  219. package/dist/lib/isin.js +36 -0
  220. package/dist/lib/isin.js.map +1 -0
  221. package/dist/lib/phone.d.ts +69 -0
  222. package/dist/lib/phone.js +121 -0
  223. package/dist/lib/phone.js.map +1 -0
  224. package/dist/lib/table-text.d.ts +109 -1
  225. package/dist/lib/table-text.js +122 -1
  226. package/dist/lib/table-text.js.map +1 -1
  227. package/dist/rhf/fields.d.ts +233 -18
  228. package/dist/rhf/fields.js +456 -3
  229. package/dist/rhf/fields.js.map +1 -1
  230. package/dist/rhf/form.d.ts +19 -14
  231. package/dist/rhf.d.ts +22 -15
  232. package/dist/rhf.js.map +1 -1
  233. package/dist/shell/app-shell.d.ts +18 -13
  234. package/dist/shell/top-bar-brand.d.ts +19 -14
  235. package/dist/shell/topbar-action-menu.d.ts +36 -3
  236. package/dist/shell/topbar-action-menu.js +74 -33
  237. package/dist/shell/topbar-action-menu.js.map +1 -1
  238. package/dist/shell.d.ts +18 -13
  239. package/dist/table-text.d.ts +1 -1
  240. package/dist/tour/tour.js +20 -24
  241. package/dist/tour/tour.js.map +1 -1
  242. package/dist/wizard/stepper-nav.d.ts +49 -16
  243. package/dist/wizard/stepper-nav.js +4 -0
  244. package/dist/wizard/stepper-nav.js.map +1 -1
  245. package/dist/wizard.d.ts +19 -14
  246. package/package.json +1 -1
  247. package/src/components/account-chips.tsx +17 -3
  248. package/src/components/account-settings.tsx +92 -26
  249. package/src/components/amount-input.tsx +68 -56
  250. package/src/components/autocomplete.tsx +198 -114
  251. package/src/components/checkbox-group.tsx +229 -0
  252. package/src/components/checkbox.tsx +72 -8
  253. package/src/components/chip.tsx +80 -10
  254. package/src/components/column-mapper.tsx +666 -0
  255. package/src/components/combobox-core.tsx +82 -9
  256. package/src/components/combobox.tsx +661 -340
  257. package/src/components/confirm-dialog.tsx +12 -8
  258. package/src/components/country-select.tsx +556 -0
  259. package/src/components/currency-select.tsx +109 -33
  260. package/src/components/danger-confirm.tsx +429 -82
  261. package/src/components/data-table-labels.ts +16 -1
  262. package/src/components/data-table.tsx +175 -6
  263. package/src/components/date-picker.tsx +595 -71
  264. package/src/components/entity-combobox.tsx +235 -124
  265. package/src/components/field-parts.tsx +403 -0
  266. package/src/components/field-strip.tsx +149 -0
  267. package/src/components/file-button.tsx +36 -3
  268. package/src/components/file-dropzone.tsx +106 -38
  269. package/src/components/form-actions.tsx +147 -6
  270. package/src/components/iban-input.tsx +231 -0
  271. package/src/components/icon-picker.tsx +47 -6
  272. package/src/components/inline-edit-field.tsx +533 -0
  273. package/src/components/language-select.tsx +78 -0
  274. package/src/components/line-items.tsx +35 -2
  275. package/src/components/list.tsx +55 -6
  276. package/src/components/money-field.tsx +13 -0
  277. package/src/components/month-picker.tsx +400 -63
  278. package/src/components/multi-entity-combobox.tsx +207 -120
  279. package/src/components/multi-select.tsx +80 -58
  280. package/src/components/number-field.tsx +28 -46
  281. package/src/components/number-input.tsx +210 -43
  282. package/src/components/one-time-code-input.tsx +288 -0
  283. package/src/components/phone-input.tsx +299 -0
  284. package/src/components/reauth-dialog.tsx +17 -18
  285. package/src/components/sign-chip.tsx +103 -0
  286. package/src/components/swatch-picker.tsx +143 -31
  287. package/src/components/switch.tsx +58 -7
  288. package/src/components/tile-radio.tsx +145 -29
  289. package/src/components/time-input.tsx +8 -1
  290. package/src/components/toggle-group.tsx +206 -73
  291. package/src/components/trigger-aria.ts +5 -0
  292. package/src/components/ui.tsx +479 -138
  293. package/src/data-table.ts +2 -1
  294. package/src/feedback/feedback-attachment.tsx +597 -46
  295. package/src/feedback/feedback-dialog.tsx +9 -3
  296. package/src/feedback/feedback-inbox.tsx +3 -2
  297. package/src/feedback/feedback-thread.tsx +113 -9
  298. package/src/i18n/defaults.ts +18 -1
  299. package/src/i18n/german.ts +89 -0
  300. package/src/i18n/kit-labels.tsx +82 -2
  301. package/src/i18n/locales/en.ts +36 -4
  302. package/src/i18n/locales/es.ts +87 -0
  303. package/src/i18n/locales/fr.ts +87 -0
  304. package/src/i18n/locales/hu.ts +83 -0
  305. package/src/i18n/locales/it.ts +88 -0
  306. package/src/i18n/locales/zh.ts +76 -0
  307. package/src/i18n/review.ts +26 -0
  308. package/src/index.ts +71 -3
  309. package/src/lib/column-mapping.ts +234 -0
  310. package/src/lib/countries.ts +91 -0
  311. package/src/lib/decimal-marks.ts +99 -0
  312. package/src/lib/iban.ts +171 -0
  313. package/src/lib/isin.ts +62 -0
  314. package/src/lib/phone.ts +211 -0
  315. package/src/lib/table-text.ts +271 -0
  316. package/src/rhf/fields.tsx +860 -9
  317. package/src/rhf.ts +3 -1
  318. package/src/shell/topbar-action-menu.tsx +134 -38
  319. package/src/tour/tour.tsx +66 -28
  320. package/src/wizard/stepper-nav.tsx +35 -1
@@ -28,6 +28,8 @@ interface FeedbackAttachmentLabels {
28
28
  attachmentRemoveFile?: (name: string) => string;
29
29
  /** `multiple` mode: the line shown once `max` files are attached. */
30
30
  attachmentLimit?: (max: number) => string;
31
+ /** `refs` mode (0.22.0): the second line of a chip whose upload is still running. */
32
+ attachmentUploading?: string;
31
33
  }
32
34
  interface FeedbackDialogLabels extends FeedbackAttachmentLabels {
33
35
  title: string;
@@ -124,7 +126,9 @@ interface FeedbackDialogBaseProps {
124
126
  interface FeedbackDialogSingleProps extends FeedbackDialogBaseProps {
125
127
  attachments?: "single";
126
128
  onSubmit: (data: FeedbackSubmission) => void | Promise<void>;
127
- onAttachmentError?: (kind: "type" | "size") => void;
129
+ /** `info` (0.23.0) names the refused file and the limit — see
130
+ * {@link FeedbackAttachmentErrorInfo}. */
131
+ onAttachmentError?: (kind: "type" | "size", info: FeedbackAttachmentErrorInfo) => void;
128
132
  /** Multiple mode only — refused here rather than silently ignored. */
129
133
  maxAttachments?: never;
130
134
  }
@@ -138,8 +142,9 @@ interface FeedbackDialogMultipleProps extends FeedbackDialogBaseProps {
138
142
  /** Default `DEFAULT_MAX_ATTACHMENTS` (5). The screenshot does not count. */
139
143
  maxAttachments?: number;
140
144
  onSubmit: (data: FeedbackMultipleSubmission) => void | Promise<void>;
141
- /** `"count"`: more files arrived at once than there was room for; the surplus was dropped. */
142
- onAttachmentError?: (kind: FeedbackAttachmentError) => void;
145
+ /** `"count"`: more files arrived at once than there was room for; the surplus was
146
+ * dropped. `info` (0.23.0) names the refused file(s) and the limit. */
147
+ onAttachmentError?: (kind: FeedbackAttachmentError, info: FeedbackAttachmentErrorInfo) => void;
143
148
  }
144
149
  type FeedbackDialogProps = FeedbackDialogSingleProps | FeedbackDialogMultipleProps;
145
150
  /**
@@ -201,17 +206,109 @@ interface FeedbackAttachmentFieldLabels {
201
206
  attachmentRemoveFile?: (name: string) => string;
202
207
  /** `multiple` mode: the line shown in place of the add buttons once `max` is reached. */
203
208
  attachmentLimit?: (max: number) => string;
209
+ /** `refs` mode (0.22.0, keksdose K16): the second line of a chip whose upload is still
210
+ * running, where an uploaded one shows its size — "Uploading…". Optional, like the
211
+ * keys above, so a `UiKitLabels` typed before it still compiles. */
212
+ attachmentUploading?: string;
213
+ /** `refs` mode (0.23.0, keksdose G5a): {@link FeedbackAttachmentErrorInfo.message} for
214
+ * an `"upload"` refusal — "“huge.png” could not be uploaded". The other refusals'
215
+ * sentences are the `filePicker` namespace's, shared with FileButton. Optional, like
216
+ * the keys above. */
217
+ attachmentUploadFailed?: (name: string) => string;
204
218
  }
205
219
  declare const DEFAULT_FEEDBACK_ATTACHMENT_LABELS: FeedbackAttachmentFieldLabels;
206
- /** Why a file was turned away. `"count"` only ever comes from `multiple` mode: more
207
- * files arrived at once than `max` left room for, and the surplus was dropped. */
220
+ /** Why a file was turned away. `"count"` only ever comes from `multiple` (and `refs`)
221
+ * mode: more files arrived at once than `max` left room for, and the surplus was
222
+ * dropped. */
208
223
  type FeedbackAttachmentError = "type" | "size" | "count";
224
+ /** `refs` mode's reasons: {@link FeedbackAttachmentError}, or `"upload"` — `onUpload`
225
+ * rejected, and what it rejected with is `onError`'s second argument. A type of its
226
+ * own so a host's exhaustive switch over the File modes' reasons stays exhaustive. */
227
+ type FeedbackAttachmentRefsError = FeedbackAttachmentError | "upload";
228
+ /**
229
+ * What `onError` knows about a refusal beyond its kind (0.23.0, keksdose G5a): the file
230
+ * it was about, the limit that refused it, and a sentence that says both.
231
+ *
232
+ * keksdose's support chat toasted "File too large" with no name — the field's `onError`
233
+ * carried a kind and nothing else, so a refusal could not say WHICH of three pasted
234
+ * screenshots went, nor what the ceiling was, and its own `AttachmentPicker` (a
235
+ * FileButton, whose `onReject` hands over `{ file, message }`) said more than the kit's
236
+ * field would have. This is that, for every mode.
237
+ *
238
+ * It arrives as an EXTRA argument, after the ones `onError` already had, so a handler
239
+ * written for 0.22 — `(kind) => …`, or `refs` mode's `(kind, error) => …` — compiles
240
+ * and behaves as before:
241
+ *
242
+ * - single and `multiple`: `onError(kind, info)`;
243
+ * - `refs`: `onError(kind, error, info)` — the second place is `onUpload`'s rejection
244
+ * since 0.22 (`undefined` for the other kinds, as it always was), so the info comes
245
+ * third rather than changing what a 0.22 handler reads there. It also carries that
246
+ * `error`, so one helper `(kind, info) => …` serves all three modes.
247
+ *
248
+ * An object rather than more positional arguments because what a host reaches for
249
+ * differs by kind — the bytes for `"size"`, `max` for `"count"`, the server's answer for
250
+ * `"upload"` — and a field added later must not shift anyone's arguments.
251
+ */
252
+ interface FeedbackAttachmentErrorInfo {
253
+ /** The file refused — under the name the field would have given it (a pasted image
254
+ * is already "pasted.png"). For `"count"`, the first of the surplus; for
255
+ * `"upload"`, the file whose upload failed. */
256
+ file: File;
257
+ /** `"count"`: every file of the surplus (several can arrive in one pick). Otherwise
258
+ * `[file]`. */
259
+ files: File[];
260
+ /**
261
+ * One translated sentence naming the file and the limit — the ones FileButton's
262
+ * `onReject` hands over, from the same `filePicker` namespace: "“huge.png” is larger
263
+ * than 10 MB", "Only image/png, image/jpeg files", "“c.png” was not added: at most 5
264
+ * files" (several at once: "3 files were not added"). `"upload"`: the field's own
265
+ * `attachmentUploadFailed`, "“huge.png” could not be uploaded" — a host with a better
266
+ * sentence from the server's answer uses `error`. Ready for a toast as it is.
267
+ */
268
+ message: string;
269
+ /** The field's `maxBytes` — the ceiling a `"size"` refusal went over, in bytes. */
270
+ maxBytes: number;
271
+ /** The field's `accept` — the types a `"type"` refusal was not among. */
272
+ accept: string[];
273
+ /** The field's `max` — the ceiling a `"count"` refusal hit. Absent in single mode,
274
+ * which holds one file by definition. */
275
+ max?: number;
276
+ /** `"upload"` only: what `onUpload` rejected with — `onError`'s second argument. */
277
+ error?: unknown;
278
+ }
279
+ /**
280
+ * One uploaded attachment in `refs` mode: what the host's upload answered with. `key`
281
+ * identifies it (a storage key, an upload id) and is what a remove goes by; `name` is
282
+ * what the chip says. `size` (bytes) and `type` (mime) are optional — given, the chip
283
+ * shows the size and an image icon or a file icon accordingly.
284
+ */
285
+ interface FeedbackAttachmentRef {
286
+ key: string;
287
+ name: string;
288
+ size?: number;
289
+ type?: string;
290
+ }
209
291
  interface FeedbackAttachmentFieldBaseProps {
210
292
  /** Prop > `<UiKitProvider labels={{ feedbackAttachment }}>` > English. Optional
211
293
  * since 0.7.0; `attachment` (the heading) is only ever read from here. */
212
- labels?: Partial<FeedbackAttachmentLabels>;
294
+ labels?: Partial<FeedbackAttachmentLabels> & Pick<Partial<FeedbackAttachmentFieldLabels>, "attachmentUploading" | "attachmentUploadFailed">;
213
295
  accept?: string[];
214
296
  maxBytes?: number;
297
+ /**
298
+ * Take no files for now (0.23.0, keksdose G5b): the add and capture buttons, the
299
+ * hidden file input and every chip's remove button are natively disabled, and a paste
300
+ * is let through untouched. The chips stay as they are — what is about to be sent
301
+ * stays readable.
302
+ *
303
+ * For the moment a send is in flight. keksdose's support picker is `disabled` while
304
+ * the message goes out, because the message carries the attachments AS THEY WERE at
305
+ * the press: a chip removed mid-send has gone with it all the same, and one added
306
+ * mid-send looks as if it had. The field has no drop target; the paste is its drop.
307
+ *
308
+ * This is a pause, not a lock that explains itself — for that, `refs` mode (the mode
309
+ * that commits) takes `commit` and `disabledReason`.
310
+ */
311
+ disabled?: boolean;
215
312
  /** Snapshot the app view behind this and return it as a File. A "Capture
216
313
  * screenshot" button appears only when it is given. */
217
314
  onCaptureScreenshot?: () => Promise<File | null>;
@@ -228,12 +325,17 @@ interface FeedbackAttachmentFieldBaseProps {
228
325
  /** One file: choosing a second means removing the first. The field's only mode until 0.15.5. */
229
326
  interface FeedbackAttachmentFieldSingleProps extends FeedbackAttachmentFieldBaseProps {
230
327
  multiple?: false;
328
+ refs?: false;
231
329
  value: File | null;
232
330
  onChange: (file: File | null) => void;
233
- onError?: (kind: "type" | "size") => void;
331
+ /** A file was refused. `info` (0.23.0) names it and the limit — see
332
+ * {@link FeedbackAttachmentErrorInfo}. */
333
+ onError?: (kind: "type" | "size", info: FeedbackAttachmentErrorInfo) => void;
234
334
  max?: never;
235
335
  screenshot?: never;
236
336
  onScreenshotChange?: never;
337
+ commit?: never;
338
+ disabledReason?: never;
237
339
  }
238
340
  /**
239
341
  * Several files (0.15.5, keksdose dev#578: "pasted two photos, the second overwrote
@@ -242,13 +344,16 @@ interface FeedbackAttachmentFieldSingleProps extends FeedbackAttachmentFieldBase
242
344
  */
243
345
  interface FeedbackAttachmentFieldMultipleProps extends FeedbackAttachmentFieldBaseProps {
244
346
  multiple: true;
347
+ refs?: false;
245
348
  value: File[];
246
349
  onChange: (files: File[]) => void;
247
350
  /** How many files `value` may hold. Default {@link DEFAULT_MAX_ATTACHMENTS} (5). The
248
351
  * add buttons and the paste hint are offered only while there is room. */
249
352
  max?: number;
250
- /** Per file: a rejected one is reported and the others are still added. */
251
- onError?: (kind: FeedbackAttachmentError) => void;
353
+ /** Per file: a rejected one is reported and the others are still added. `"count"` is
354
+ * once per pick, with the whole surplus in `info.files`. `info` (0.23.0): see
355
+ * {@link FeedbackAttachmentErrorInfo}. */
356
+ onError?: (kind: FeedbackAttachmentError, info: FeedbackAttachmentErrorInfo) => void;
252
357
  /**
253
358
  * A separate slot for THE screenshot, outside `value` and `max`. Given
254
359
  * `onScreenshotChange`, what `onCaptureScreenshot` returns lands here instead of in
@@ -259,8 +364,70 @@ interface FeedbackAttachmentFieldMultipleProps extends FeedbackAttachmentFieldBa
259
364
  */
260
365
  screenshot?: File | null;
261
366
  onScreenshotChange?: (file: File | null) => void;
367
+ commit?: never;
368
+ disabledReason?: never;
369
+ }
370
+ /**
371
+ * Uploaded on pick (0.22.0, keksdose K16). keksdose's support chat uploads each file
372
+ * the moment it is chosen and sends the message with the REFS the uploads answered —
373
+ * a 10 MB screenshot is refused while the reporter is still typing, not when they
374
+ * press Send — so its `AttachmentPicker` could not use this field, whose value is
375
+ * `File`s held until the form is submitted. Here the value is
376
+ * {@link FeedbackAttachmentRef}s: every way in (pick, paste, capture) validates the
377
+ * file as the other modes do, then hands it to `onUpload` and shows a chip with a
378
+ * spinner until it answers; the ref it resolves to joins `value` through `onChange`.
379
+ * A rejection drops the chip and reports `onError("upload", error)`. A chip is removed
380
+ * BY KEY: `onChange` gets the list without it, and `onRemove` the key, for a host that
381
+ * deletes the upload on the server too.
382
+ *
383
+ * Uploads still running count against `max`, so five picks in quick succession cannot
384
+ * overshoot it; they are not in `value` until they land, so a send that reads `value`
385
+ * sends only what has arrived — hold Send back while {@link onUploadingChange} says
386
+ * an upload is running. Several files upload side by side and join in the order they
387
+ * finish. The File modes are unchanged.
388
+ */
389
+ interface FeedbackAttachmentFieldRefsProps extends FeedbackAttachmentFieldBaseProps {
390
+ refs: true;
391
+ multiple?: never;
392
+ value: FeedbackAttachmentRef[];
393
+ onChange: (refs: FeedbackAttachmentRef[]) => void;
394
+ /** Upload one file; resolve to its ref, or reject to refuse it. Called once per
395
+ * accepted file, the moment it is chosen. */
396
+ onUpload: (file: File) => Promise<FeedbackAttachmentRef>;
397
+ /** A chip was removed — after `onChange` — with its ref's key. */
398
+ onRemove?: (key: string) => void;
399
+ /** Whether any upload is running: `true` when the first starts, `false` when the
400
+ * last settles — for the host's Send, which should wait. */
401
+ onUploadingChange?: (uploading: boolean) => void;
402
+ /** How many refs `value` may hold, uploads in flight included. Default
403
+ * {@link DEFAULT_MAX_ATTACHMENTS} (5). */
404
+ max?: number;
405
+ /** Per file. `"upload"` carries what `onUpload` rejected with as `error` (`undefined`
406
+ * for the other kinds). `info` (0.23.0) comes third so a 0.22 handler's `error` is
407
+ * still the second argument — see {@link FeedbackAttachmentErrorInfo}. */
408
+ onError?: (kind: FeedbackAttachmentRefsError, error: unknown, info: FeedbackAttachmentErrorInfo) => void;
409
+ /**
410
+ * This field COMMITS (0.23.0): each file is uploaded the moment it is chosen, and a
411
+ * remove may delete the upload (`onRemove`) — a save, unlike the File modes, which
412
+ * only stage a file for a form sent later (and so stay open under a lock, like every
413
+ * field). Under a locked {@link WriteLockProvider} it takes the `disabledReason` path
414
+ * with the lock's reason, which wins over one of its own. No provider, or an unlocked
415
+ * one: no effect.
416
+ */
417
+ commit?: boolean;
418
+ /**
419
+ * Why no file can be added or removed — the write lock's sentence, a quota, a thread
420
+ * closed to replies. Unlike `disabled`, it SAYS so, the kit's commit-control way: the
421
+ * buttons (add, capture, every chip's remove) stay focusable, `aria-disabled`, with
422
+ * the reason in the kit Tooltip and their description; no pick, paste or remove gets
423
+ * through; and the reason stands where the paste hint was, for a phone that never
424
+ * hovers. The chips stay readable.
425
+ */
426
+ disabledReason?: ReactNode;
427
+ screenshot?: never;
428
+ onScreenshotChange?: never;
262
429
  }
263
- type FeedbackAttachmentFieldProps = FeedbackAttachmentFieldSingleProps | FeedbackAttachmentFieldMultipleProps;
430
+ type FeedbackAttachmentFieldProps = FeedbackAttachmentFieldSingleProps | FeedbackAttachmentFieldMultipleProps | FeedbackAttachmentFieldRefsProps;
264
431
  /**
265
432
  * Picking one picture: the file dialog, a capture of the app view, or a paste.
266
433
  * With `multiple`, picking several (see {@link FeedbackAttachmentFieldMultipleProps}).
@@ -299,4 +466,4 @@ declare function FeedbackAttachmentField(props: FeedbackAttachmentFieldProps): r
299
466
  * a PNG is one the receiving end opens wrong. */
300
467
  declare function pastedName(type: string): string;
301
468
 
302
- export { DEFAULT_ATTACHMENT_ACCEPT as D, type FeedbackAttachmentError as F, DEFAULT_FEEDBACK_ATTACHMENT_LABELS as a, DEFAULT_FEEDBACK_DIALOG_LABELS as b, DEFAULT_MAX_ATTACHMENTS as c, DEFAULT_MAX_ATTACHMENT_BYTES as d, FeedbackAttachmentField as e, type FeedbackAttachmentFieldLabels as f, type FeedbackAttachmentFieldMultipleProps as g, type FeedbackAttachmentFieldProps as h, type FeedbackAttachmentFieldSingleProps as i, type FeedbackAttachmentLabels as j, type FeedbackCategoryOption as k, FeedbackDialog as l, type FeedbackDialogLabels as m, type FeedbackDialogMultipleProps as n, type FeedbackDialogProps as o, type FeedbackDialogSingleProps as p, type FeedbackDialogTextLabels as q, type FeedbackMultipleSubmission as r, type FeedbackSubmission as s, pastedName as t };
469
+ export { DEFAULT_ATTACHMENT_ACCEPT as D, type FeedbackAttachmentError as F, DEFAULT_FEEDBACK_ATTACHMENT_LABELS as a, DEFAULT_FEEDBACK_DIALOG_LABELS as b, DEFAULT_MAX_ATTACHMENTS as c, DEFAULT_MAX_ATTACHMENT_BYTES as d, type FeedbackAttachmentErrorInfo as e, FeedbackAttachmentField as f, type FeedbackAttachmentFieldLabels as g, type FeedbackAttachmentFieldMultipleProps as h, type FeedbackAttachmentFieldProps as i, type FeedbackAttachmentFieldRefsProps as j, type FeedbackAttachmentFieldSingleProps as k, type FeedbackAttachmentLabels as l, type FeedbackAttachmentRef as m, type FeedbackAttachmentRefsError as n, type FeedbackCategoryOption as o, FeedbackDialog as p, type FeedbackDialogLabels as q, type FeedbackDialogMultipleProps as r, type FeedbackDialogProps as s, type FeedbackDialogSingleProps as t, type FeedbackDialogTextLabels as u, type FeedbackMultipleSubmission as v, type FeedbackSubmission as w, pastedName as x };
@@ -1,5 +1,69 @@
1
- export { D as DEFAULT_ATTACHMENT_ACCEPT, a as DEFAULT_FEEDBACK_ATTACHMENT_LABELS, b as DEFAULT_FEEDBACK_DIALOG_LABELS, c as DEFAULT_MAX_ATTACHMENTS, d as DEFAULT_MAX_ATTACHMENT_BYTES, F as FeedbackAttachmentError, e as FeedbackAttachmentField, f as FeedbackAttachmentFieldLabels, g as FeedbackAttachmentFieldMultipleProps, h as FeedbackAttachmentFieldProps, i as FeedbackAttachmentFieldSingleProps, j as FeedbackAttachmentLabels, k as FeedbackCategoryOption, l as FeedbackDialog, m as FeedbackDialogLabels, n as FeedbackDialogMultipleProps, o as FeedbackDialogProps, p as FeedbackDialogSingleProps, q as FeedbackDialogTextLabels, r as FeedbackMultipleSubmission, s as FeedbackSubmission, t as pastedName } from './feedback-attachment-WFiXJ8We.js';
1
+ export { D as DEFAULT_ATTACHMENT_ACCEPT, a as DEFAULT_FEEDBACK_ATTACHMENT_LABELS, b as DEFAULT_FEEDBACK_DIALOG_LABELS, c as DEFAULT_MAX_ATTACHMENTS, d as DEFAULT_MAX_ATTACHMENT_BYTES, F as FeedbackAttachmentError, e as FeedbackAttachmentErrorInfo, f as FeedbackAttachmentField, g as FeedbackAttachmentFieldLabels, h as FeedbackAttachmentFieldMultipleProps, i as FeedbackAttachmentFieldProps, j as FeedbackAttachmentFieldRefsProps, k as FeedbackAttachmentFieldSingleProps, l as FeedbackAttachmentLabels, m as FeedbackAttachmentRef, n as FeedbackAttachmentRefsError, o as FeedbackCategoryOption, p as FeedbackDialog, q as FeedbackDialogLabels, r as FeedbackDialogMultipleProps, s as FeedbackDialogProps, t as FeedbackDialogSingleProps, u as FeedbackDialogTextLabels, v as FeedbackMultipleSubmission, w as FeedbackSubmission, x as pastedName } from './feedback-attachment-fGAzZPf0.js';
2
2
  export { FEEDBACK_CATEGORY_META, FEEDBACK_CATEGORY_ORDER, FEEDBACK_STATUS_META, FEEDBACK_STATUS_ORDER, FeedbackCategory, FeedbackCategoryBadge, FeedbackDetail, FeedbackDetailSection, FeedbackNoteAttachment, FeedbackNoteEditor, FeedbackProse, FeedbackStatus, FeedbackStatusBadge, FeedbackStatusTransitions, feedbackCategoryRank, nextFeedbackStatus, selectableFeedbackStatuses, visibleFeedbackStatuses } from './feedback/feedback-inbox.js';
3
- export { DEFAULT_FEEDBACK_COMPOSER_LABELS, DEFAULT_FEEDBACK_THREAD_LABELS, FeedbackComposer, FeedbackComposerAttachment, FeedbackComposerHandle, FeedbackComposerLabels, FeedbackComposerProps, FeedbackThread, FeedbackThreadAttachment, FeedbackThreadEvent, FeedbackThreadItem, FeedbackThreadLabels, FeedbackThreadMessage, FeedbackThreadProps } from './feedback/feedback-thread.js';
3
+ export { z as ChatComposer, D as ChatComposerHandle, E as ChatComposerLabels, F as ChatComposerProps, a3 as DEFAULT_FEEDBACK_COMPOSER_LABELS, a4 as DEFAULT_FEEDBACK_THREAD_LABELS, ax as FeedbackComposer, ay as FeedbackComposerAttachment, az as FeedbackComposerHandle, aA as FeedbackComposerLabels, aB as FeedbackComposerProps, aC as FeedbackThread, aD as FeedbackThreadAttachment, aE as FeedbackThreadEvent, aF as FeedbackThreadItem, aG as FeedbackThreadLabels, aH as FeedbackThreadMessage, aI as FeedbackThreadProps } from './feedback-BxeQVzwq.js';
4
4
  import 'react';
5
5
  import 'lucide-react';
6
+ import './components/tooltip.js';
7
+ import './hooks/use-anchored-rect.js';
8
+ import './lib/clipping.js';
9
+ import './data-table-labels-B7OdnM0S.js';
10
+ import './components/data-table-sort.js';
11
+ import './components/swipeable-row.js';
12
+ import './components/mini-calendar.js';
13
+ import './components/calendar-heatmap.js';
14
+ import './components/popover.js';
15
+ import './components/chip.js';
16
+ import './components/field-sync.js';
17
+ import './wizard/types.js';
18
+ import './tour/tour.js';
19
+ import './search/command-palette.js';
20
+ import './search/global-search.js';
21
+ import './search/search-index.js';
22
+ import './components/month-picker.js';
23
+ import './components/page-contents.js';
24
+ import './components/series-chart-labels.js';
25
+ import './components/pie-chart-labels.js';
26
+ import './components/sparkline.js';
27
+ import './components/stat-tile.js';
28
+ import './components/signature-pad.js';
29
+ import './components/password-strength.js';
30
+ import './components/swatch-picker.js';
31
+ import './components/tile-radio.js';
32
+ import './components/icon-picker.js';
33
+ import './components/dialog-frame.js';
34
+ import './components/modal.js';
35
+ import './hooks/use-search-param-state.js';
36
+ import './components/measured-grid.js';
37
+ import './components/account-settings-labels.js';
38
+ import './components/floating-panel.js';
39
+ import './components/bulk-action-bar.js';
40
+ import './components/list.js';
41
+ import './components/signed-amount.js';
42
+ import './components/breadcrumbs.js';
43
+ import './components/toast.js';
44
+ import './components/description-list.js';
45
+ import './components/line-items.js';
46
+ import './components/progress-bar.js';
47
+ import './components/error-boundary.js';
48
+ import './components/authed-image.js';
49
+ import './hooks/use-authed-src.js';
50
+ import './components/image-grid.js';
51
+ import './components/lightbox.js';
52
+ import './components/write-lock.js';
53
+ import './components/legal.js';
54
+ import './components/account-chips.js';
55
+ import './lib/format.js';
56
+ import './components/reauth-dialog.js';
57
+ import './components/server-wake.js';
58
+ import './lib/server-wake.js';
59
+ import './components/translation-review-labels.js';
60
+ import './lib/translation-review.js';
61
+ import './components/country-select.js';
62
+ import './components/inline-edit-field.js';
63
+ import './lib/iban.js';
64
+ import './lib/phone.js';
65
+ import './components/sign-chip.js';
66
+ import './components/column-mapper.js';
67
+ import './lib/column-mapping.js';
68
+ import './lib/table-text.js';
69
+ import './components/field-parts.js';
@@ -1,15 +1,19 @@
1
1
  import { DragEvent, ReactElement } from 'react';
2
- import { bf as UseFilePickerOptions } from '../kit-labels-D1J2_jyD.js';
3
- import '../components/data-table-labels.js';
2
+ import { b$ as UseFilePickerOptions } from '../feedback-BxeQVzwq.js';
3
+ import '../feedback-attachment-fGAzZPf0.js';
4
+ import '../feedback/feedback-inbox.js';
5
+ import 'lucide-react';
6
+ import '../components/tooltip.js';
7
+ import './use-anchored-rect.js';
8
+ import '../lib/clipping.js';
9
+ import '../data-table-labels-B7OdnM0S.js';
10
+ import '../components/data-table-sort.js';
11
+ import '../components/swipeable-row.js';
4
12
  import '../components/mini-calendar.js';
5
13
  import '../components/calendar-heatmap.js';
6
14
  import '../components/popover.js';
7
15
  import '../components/chip.js';
8
- import 'lucide-react';
9
16
  import '../components/field-sync.js';
10
- import '../components/tooltip.js';
11
- import './use-anchored-rect.js';
12
- import '../lib/clipping.js';
13
17
  import '../wizard/types.js';
14
18
  import '../tour/tour.js';
15
19
  import '../search/command-palette.js';
@@ -23,7 +27,6 @@ import '../components/sparkline.js';
23
27
  import '../components/stat-tile.js';
24
28
  import '../components/signature-pad.js';
25
29
  import '../components/password-strength.js';
26
- import '../components/danger-confirm.js';
27
30
  import '../components/swatch-picker.js';
28
31
  import '../components/tile-radio.js';
29
32
  import '../components/icon-picker.js';
@@ -31,11 +34,7 @@ import '../components/dialog-frame.js';
31
34
  import '../components/modal.js';
32
35
  import './use-search-param-state.js';
33
36
  import '../components/measured-grid.js';
34
- import '../feedback-attachment-WFiXJ8We.js';
35
- import '../feedback/feedback-thread.js';
36
- import '../feedback/feedback-inbox.js';
37
37
  import '../components/account-settings-labels.js';
38
- import '../components/confirm-dialog.js';
39
38
  import '../components/floating-panel.js';
40
39
  import '../components/bulk-action-bar.js';
41
40
  import '../components/list.js';
@@ -54,14 +53,20 @@ import '../components/write-lock.js';
54
53
  import '../components/legal.js';
55
54
  import '../components/account-chips.js';
56
55
  import '../lib/format.js';
57
- import '../data-table-3mi2R3so.js';
58
- import '../components/data-table-sort.js';
59
- import '../components/swipeable-row.js';
60
56
  import '../components/reauth-dialog.js';
61
57
  import '../components/server-wake.js';
62
58
  import '../lib/server-wake.js';
63
59
  import '../components/translation-review-labels.js';
64
60
  import '../lib/translation-review.js';
61
+ import '../components/country-select.js';
62
+ import '../components/inline-edit-field.js';
63
+ import '../lib/iban.js';
64
+ import '../lib/phone.js';
65
+ import '../components/sign-chip.js';
66
+ import '../components/column-mapper.js';
67
+ import '../lib/column-mapping.js';
68
+ import '../lib/table-text.js';
69
+ import '../components/field-parts.js';
65
70
 
66
71
  /**
67
72
  * Turn ANY element into a file drop target — kastlan's ask, for the document list of
@@ -1,15 +1,19 @@
1
- import { bc as UiKitLabels } from '../kit-labels-D1J2_jyD.js';
1
+ import { bY as UiKitLabels } from '../feedback-BxeQVzwq.js';
2
+ import '../feedback-attachment-fGAzZPf0.js';
2
3
  import 'react';
3
- import '../components/data-table-labels.js';
4
+ import '../feedback/feedback-inbox.js';
5
+ import 'lucide-react';
6
+ import '../components/tooltip.js';
7
+ import '../hooks/use-anchored-rect.js';
8
+ import '../lib/clipping.js';
9
+ import '../data-table-labels-B7OdnM0S.js';
10
+ import '../components/data-table-sort.js';
11
+ import '../components/swipeable-row.js';
4
12
  import '../components/mini-calendar.js';
5
13
  import '../components/calendar-heatmap.js';
6
14
  import '../components/popover.js';
7
15
  import '../components/chip.js';
8
- import 'lucide-react';
9
16
  import '../components/field-sync.js';
10
- import '../components/tooltip.js';
11
- import '../hooks/use-anchored-rect.js';
12
- import '../lib/clipping.js';
13
17
  import '../wizard/types.js';
14
18
  import '../tour/tour.js';
15
19
  import '../search/command-palette.js';
@@ -23,7 +27,6 @@ import '../components/sparkline.js';
23
27
  import '../components/stat-tile.js';
24
28
  import '../components/signature-pad.js';
25
29
  import '../components/password-strength.js';
26
- import '../components/danger-confirm.js';
27
30
  import '../components/swatch-picker.js';
28
31
  import '../components/tile-radio.js';
29
32
  import '../components/icon-picker.js';
@@ -31,11 +34,7 @@ import '../components/dialog-frame.js';
31
34
  import '../components/modal.js';
32
35
  import '../hooks/use-search-param-state.js';
33
36
  import '../components/measured-grid.js';
34
- import '../feedback-attachment-WFiXJ8We.js';
35
- import '../feedback/feedback-thread.js';
36
- import '../feedback/feedback-inbox.js';
37
37
  import '../components/account-settings-labels.js';
38
- import '../components/confirm-dialog.js';
39
38
  import '../components/floating-panel.js';
40
39
  import '../components/bulk-action-bar.js';
41
40
  import '../components/list.js';
@@ -54,14 +53,20 @@ import '../components/write-lock.js';
54
53
  import '../components/legal.js';
55
54
  import '../components/account-chips.js';
56
55
  import '../lib/format.js';
57
- import '../data-table-3mi2R3so.js';
58
- import '../components/data-table-sort.js';
59
- import '../components/swipeable-row.js';
60
56
  import '../components/reauth-dialog.js';
61
57
  import '../components/server-wake.js';
62
58
  import '../lib/server-wake.js';
63
59
  import '../components/translation-review-labels.js';
64
60
  import '../lib/translation-review.js';
61
+ import '../components/country-select.js';
62
+ import '../components/inline-edit-field.js';
63
+ import '../lib/iban.js';
64
+ import '../lib/phone.js';
65
+ import '../components/sign-chip.js';
66
+ import '../components/column-mapper.js';
67
+ import '../lib/column-mapping.js';
68
+ import '../lib/table-text.js';
69
+ import '../components/field-parts.js';
65
70
 
66
71
  /**
67
72
  * The whole English tree in one object: what a translation is written against, and
@@ -7,7 +7,11 @@ import { DEFAULT_PAGE_CONTENTS_LABELS } from "../components/page-contents.js";
7
7
  import { DEFAULT_POPOVER_LABELS } from "../components/popover.js";
8
8
  import { DEFAULT_CHIP_INPUT_LABELS } from "../components/chip.js";
9
9
  import { DEFAULT_FIELD_SYNC_LABELS } from "../components/field-sync.js";
10
- import { DEFAULT_PASSWORD_REVEAL_LABELS, DEFAULT_TABS_LABELS } from "../components/ui.js";
10
+ import {
11
+ DEFAULT_CHARACTER_COUNT_LABELS,
12
+ DEFAULT_PASSWORD_REVEAL_LABELS,
13
+ DEFAULT_TABS_LABELS
14
+ } from "../components/ui.js";
11
15
  import { DEFAULT_WIZARD_LABELS } from "../wizard/types.js";
12
16
  import { DEFAULT_TOUR_LABELS } from "../tour/tour.js";
13
17
  import { DEFAULT_COMMAND_PALETTE_LABELS } from "../search/command-palette.js";
@@ -54,6 +58,12 @@ import { DEFAULT_SHARE_CARD_LABELS } from "../components/share-card.js";
54
58
  import { DEFAULT_REAUTH_DIALOG_LABELS } from "../components/reauth-dialog.js";
55
59
  import { DEFAULT_SERVER_WAKE_LABELS } from "../components/server-wake.js";
56
60
  import { DEFAULT_TRANSLATION_REVIEW_LABELS } from "../components/translation-review-labels.js";
61
+ import { DEFAULT_COUNTRY_SELECT_LABELS } from "../components/country-select.js";
62
+ import { DEFAULT_INLINE_EDIT_LABELS } from "../components/inline-edit-field.js";
63
+ import { DEFAULT_IBAN_INPUT_LABELS } from "../components/iban-input.js";
64
+ import { DEFAULT_PHONE_INPUT_LABELS } from "../components/phone-input.js";
65
+ import { DEFAULT_SIGN_CHIP_LABELS } from "../components/sign-chip.js";
66
+ import { DEFAULT_COLUMN_MAPPER_LABELS } from "../components/column-mapper.js";
57
67
  import {
58
68
  DEFAULT_APP_SHELL_LABELS,
59
69
  DEFAULT_CALCULATOR_LABELS,
@@ -132,7 +142,14 @@ const DEFAULT_UI_KIT_LABELS = {
132
142
  reauthDialog: DEFAULT_REAUTH_DIALOG_LABELS,
133
143
  serverWake: DEFAULT_SERVER_WAKE_LABELS,
134
144
  translationReview: DEFAULT_TRANSLATION_REVIEW_LABELS,
135
- legal: DEFAULT_LEGAL_LABELS
145
+ legal: DEFAULT_LEGAL_LABELS,
146
+ characterCount: DEFAULT_CHARACTER_COUNT_LABELS,
147
+ countrySelect: DEFAULT_COUNTRY_SELECT_LABELS,
148
+ inlineEdit: DEFAULT_INLINE_EDIT_LABELS,
149
+ ibanInput: DEFAULT_IBAN_INPUT_LABELS,
150
+ phoneInput: DEFAULT_PHONE_INPUT_LABELS,
151
+ signChip: DEFAULT_SIGN_CHIP_LABELS,
152
+ columnMapper: DEFAULT_COLUMN_MAPPER_LABELS
136
153
  };
137
154
  export {
138
155
  DEFAULT_UI_KIT_LABELS
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/i18n/defaults.ts"],"sourcesContent":["import { DEFAULT_DATA_TABLE_LABELS } from \"../components/data-table-labels\";\nimport { DEFAULT_MINI_CALENDAR_LABELS } from \"../components/mini-calendar\";\nimport { DEFAULT_CALENDAR_HEATMAP_LABELS } from \"../components/calendar-heatmap\";\nimport { DEFAULT_MONTH_PICKER_LABELS } from \"../components/month-picker\";\nimport { DEFAULT_PAGE_CONTENTS_LABELS } from \"../components/page-contents\";\nimport { DEFAULT_POPOVER_LABELS } from \"../components/popover\";\nimport { DEFAULT_CHIP_INPUT_LABELS } from \"../components/chip\";\nimport { DEFAULT_FIELD_SYNC_LABELS } from \"../components/field-sync\";\nimport { DEFAULT_PASSWORD_REVEAL_LABELS, DEFAULT_TABS_LABELS } from \"../components/ui\";\nimport { DEFAULT_WIZARD_LABELS } from \"../wizard/types\";\nimport { DEFAULT_TOUR_LABELS } from \"../tour/tour\";\nimport { DEFAULT_COMMAND_PALETTE_LABELS } from \"../search/command-palette\";\nimport { DEFAULT_GLOBAL_SEARCH_LABELS } from \"../search/global-search\";\nimport { DEFAULT_SERIES_CHART_LABELS } from \"../components/series-chart-labels\";\nimport { DEFAULT_PIE_CHART_LABELS } from \"../components/pie-chart-labels\";\nimport { DEFAULT_SPARKLINE_LABELS } from \"../components/sparkline\";\nimport { DEFAULT_STAT_TILE_LABELS } from \"../components/stat-tile\";\nimport { DEFAULT_SIGNATURE_PAD_LABELS } from \"../components/signature-pad\";\nimport { DEFAULT_PASSWORD_STRENGTH_LABELS } from \"../components/password-strength\";\nimport { DEFAULT_DANGER_CONFIRM_LABELS } from \"../components/danger-confirm\";\nimport { DEFAULT_SWATCH_PICKER_LABELS } from \"../components/swatch-picker\";\nimport { DEFAULT_ICON_PICKER_LABELS } from \"../components/icon-picker\";\nimport { DEFAULT_DIALOG_FRAME_LABELS } from \"../components/dialog-frame\";\nimport { DEFAULT_FILE_PICKER_LABELS } from \"../components/file-button\";\nimport { DEFAULT_MEASURED_GRID_LABELS } from \"../components/measured-grid\";\nimport { DEFAULT_CONFIRM_DIALOG_LABELS } from \"../components/confirm-dialog\";\nimport { DEFAULT_FLOATING_PANEL_LABELS } from \"../components/floating-panel\";\nimport { DEFAULT_FEEDBACK_ATTACHMENT_LABELS } from \"../feedback/feedback-attachment\";\nimport { DEFAULT_FEEDBACK_DIALOG_LABELS } from \"../feedback/feedback-dialog\";\nimport {\n DEFAULT_FEEDBACK_COMPOSER_LABELS,\n DEFAULT_FEEDBACK_THREAD_LABELS,\n} from \"../feedback/feedback-thread\";\nimport { DEFAULT_ACCOUNT_SETTINGS_LABELS } from \"../components/account-settings-labels\";\nimport { DEFAULT_COPY_BUTTON_LABELS } from \"../components/copy-button\";\nimport { DEFAULT_BULK_ACTION_BAR_LABELS } from \"../components/bulk-action-bar\";\nimport { DEFAULT_LIST_LABELS } from \"../components/list\";\nimport { DEFAULT_BREADCRUMBS_LABELS } from \"../components/breadcrumbs\";\nimport { DEFAULT_TOAST_LABELS } from \"../components/toast\";\nimport { DEFAULT_FORM_ACTIONS_LABELS } from \"../components/form-actions\";\nimport { DEFAULT_DESCRIPTION_LIST_LABELS } from \"../components/description-list\";\nimport { DEFAULT_LINE_ITEMS_LABELS } from \"../components/line-items\";\nimport { DEFAULT_PROGRESS_BAR_LABELS } from \"../components/progress-bar\";\nimport { DEFAULT_SIGNED_AMOUNT_LABELS } from \"../components/signed-amount\";\nimport { DEFAULT_ERROR_BOUNDARY_LABELS } from \"../components/error-boundary\";\nimport { DEFAULT_AUTHED_IMAGE_LABELS } from \"../components/authed-image\";\nimport { DEFAULT_IMAGE_GRID_LABELS } from \"../components/image-grid\";\nimport { DEFAULT_LIGHTBOX_LABELS } from \"../components/lightbox\";\nimport { DEFAULT_WRITE_LOCK_LABELS } from \"../components/write-lock\";\nimport { DEFAULT_LEGAL_LABELS } from \"../components/legal\";\nimport { DEFAULT_ACCOUNT_STATE_LABELS } from \"../components/account-chips\";\nimport { DEFAULT_SHARE_CARD_LABELS } from \"../components/share-card\";\nimport { DEFAULT_REAUTH_DIALOG_LABELS } from \"../components/reauth-dialog\";\nimport { DEFAULT_SERVER_WAKE_LABELS } from \"../components/server-wake\";\nimport { DEFAULT_TRANSLATION_REVIEW_LABELS } from \"../components/translation-review-labels\";\nimport {\n DEFAULT_APP_SHELL_LABELS,\n DEFAULT_CALCULATOR_LABELS,\n DEFAULT_COMBOBOX_LABELS,\n DEFAULT_COMMON_LABELS,\n DEFAULT_CURRENCY_LABELS,\n DEFAULT_DATE_PICKER_LABELS,\n DEFAULT_FILE_LABELS,\n DEFAULT_MULTI_SELECT_LABELS,\n DEFAULT_PICKER_SHEET_LABELS,\n DEFAULT_SWIPEABLE_ROW_LABELS,\n DEFAULT_TOP_BAR_LABELS,\n} from \"./kit-labels\";\nimport type { UiKitLabels } from \"./kit-labels\";\n\n/**\n * The whole English tree in one object: what a translation is written against, and\n * the `reference` for {@link missingKitLabels}.\n *\n * A separate module from the provider on purpose. Components import the provider's\n * hooks; this file imports the components' defaults. Kept together they would be an\n * import cycle through every component in the kit.\n */\nexport const DEFAULT_UI_KIT_LABELS: UiKitLabels = {\n common: DEFAULT_COMMON_LABELS,\n dataTable: DEFAULT_DATA_TABLE_LABELS,\n miniCalendar: DEFAULT_MINI_CALENDAR_LABELS,\n calendarHeatmap: DEFAULT_CALENDAR_HEATMAP_LABELS,\n datePicker: DEFAULT_DATE_PICKER_LABELS,\n monthPicker: DEFAULT_MONTH_PICKER_LABELS,\n popover: DEFAULT_POPOVER_LABELS,\n combobox: DEFAULT_COMBOBOX_LABELS,\n multiSelect: DEFAULT_MULTI_SELECT_LABELS,\n calculator: DEFAULT_CALCULATOR_LABELS,\n currency: DEFAULT_CURRENCY_LABELS,\n chipInput: DEFAULT_CHIP_INPUT_LABELS,\n fieldSync: DEFAULT_FIELD_SYNC_LABELS,\n passwordReveal: DEFAULT_PASSWORD_REVEAL_LABELS,\n tabs: DEFAULT_TABS_LABELS,\n appShell: DEFAULT_APP_SHELL_LABELS,\n pageContents: DEFAULT_PAGE_CONTENTS_LABELS,\n topBar: DEFAULT_TOP_BAR_LABELS,\n pickerSheet: DEFAULT_PICKER_SHEET_LABELS,\n swipeableRow: DEFAULT_SWIPEABLE_ROW_LABELS,\n file: DEFAULT_FILE_LABELS,\n wizard: DEFAULT_WIZARD_LABELS,\n tour: DEFAULT_TOUR_LABELS,\n commandPalette: DEFAULT_COMMAND_PALETTE_LABELS,\n globalSearch: DEFAULT_GLOBAL_SEARCH_LABELS,\n seriesChart: DEFAULT_SERIES_CHART_LABELS,\n pieChart: DEFAULT_PIE_CHART_LABELS,\n sparkline: DEFAULT_SPARKLINE_LABELS,\n statTile: DEFAULT_STAT_TILE_LABELS,\n signaturePad: DEFAULT_SIGNATURE_PAD_LABELS,\n passwordStrength: DEFAULT_PASSWORD_STRENGTH_LABELS,\n dangerConfirm: DEFAULT_DANGER_CONFIRM_LABELS,\n swatchPicker: DEFAULT_SWATCH_PICKER_LABELS,\n iconPicker: DEFAULT_ICON_PICKER_LABELS,\n dialogFrame: DEFAULT_DIALOG_FRAME_LABELS,\n filePicker: DEFAULT_FILE_PICKER_LABELS,\n measuredGrid: DEFAULT_MEASURED_GRID_LABELS,\n feedbackAttachment: DEFAULT_FEEDBACK_ATTACHMENT_LABELS,\n feedbackDialog: DEFAULT_FEEDBACK_DIALOG_LABELS,\n feedbackThread: DEFAULT_FEEDBACK_THREAD_LABELS,\n feedbackComposer: DEFAULT_FEEDBACK_COMPOSER_LABELS,\n accountSettings: DEFAULT_ACCOUNT_SETTINGS_LABELS,\n confirmDialog: DEFAULT_CONFIRM_DIALOG_LABELS,\n floatingPanel: DEFAULT_FLOATING_PANEL_LABELS,\n copyButton: DEFAULT_COPY_BUTTON_LABELS,\n bulkActionBar: DEFAULT_BULK_ACTION_BAR_LABELS,\n list: DEFAULT_LIST_LABELS,\n breadcrumbs: DEFAULT_BREADCRUMBS_LABELS,\n toast: DEFAULT_TOAST_LABELS,\n form: DEFAULT_FORM_ACTIONS_LABELS,\n descriptionList: DEFAULT_DESCRIPTION_LIST_LABELS,\n lineItems: DEFAULT_LINE_ITEMS_LABELS,\n progressBar: DEFAULT_PROGRESS_BAR_LABELS,\n signedAmount: DEFAULT_SIGNED_AMOUNT_LABELS,\n errorBoundary: DEFAULT_ERROR_BOUNDARY_LABELS,\n authedImage: DEFAULT_AUTHED_IMAGE_LABELS,\n imageGrid: DEFAULT_IMAGE_GRID_LABELS,\n lightbox: DEFAULT_LIGHTBOX_LABELS,\n writeLock: DEFAULT_WRITE_LOCK_LABELS,\n accountState: DEFAULT_ACCOUNT_STATE_LABELS,\n shareCard: DEFAULT_SHARE_CARD_LABELS,\n reauthDialog: DEFAULT_REAUTH_DIALOG_LABELS,\n serverWake: DEFAULT_SERVER_WAKE_LABELS,\n translationReview: DEFAULT_TRANSLATION_REVIEW_LABELS,\n legal: DEFAULT_LEGAL_LABELS,\n};\n"],"mappings":"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","names":[]}
1
+ {"version":3,"sources":["../../src/i18n/defaults.ts"],"sourcesContent":["import { DEFAULT_DATA_TABLE_LABELS } from \"../components/data-table-labels\";\nimport { DEFAULT_MINI_CALENDAR_LABELS } from \"../components/mini-calendar\";\nimport { DEFAULT_CALENDAR_HEATMAP_LABELS } from \"../components/calendar-heatmap\";\nimport { DEFAULT_MONTH_PICKER_LABELS } from \"../components/month-picker\";\nimport { DEFAULT_PAGE_CONTENTS_LABELS } from \"../components/page-contents\";\nimport { DEFAULT_POPOVER_LABELS } from \"../components/popover\";\nimport { DEFAULT_CHIP_INPUT_LABELS } from \"../components/chip\";\nimport { DEFAULT_FIELD_SYNC_LABELS } from \"../components/field-sync\";\nimport {\n DEFAULT_CHARACTER_COUNT_LABELS,\n DEFAULT_PASSWORD_REVEAL_LABELS,\n DEFAULT_TABS_LABELS,\n} from \"../components/ui\";\nimport { DEFAULT_WIZARD_LABELS } from \"../wizard/types\";\nimport { DEFAULT_TOUR_LABELS } from \"../tour/tour\";\nimport { DEFAULT_COMMAND_PALETTE_LABELS } from \"../search/command-palette\";\nimport { DEFAULT_GLOBAL_SEARCH_LABELS } from \"../search/global-search\";\nimport { DEFAULT_SERIES_CHART_LABELS } from \"../components/series-chart-labels\";\nimport { DEFAULT_PIE_CHART_LABELS } from \"../components/pie-chart-labels\";\nimport { DEFAULT_SPARKLINE_LABELS } from \"../components/sparkline\";\nimport { DEFAULT_STAT_TILE_LABELS } from \"../components/stat-tile\";\nimport { DEFAULT_SIGNATURE_PAD_LABELS } from \"../components/signature-pad\";\nimport { DEFAULT_PASSWORD_STRENGTH_LABELS } from \"../components/password-strength\";\nimport { DEFAULT_DANGER_CONFIRM_LABELS } from \"../components/danger-confirm\";\nimport { DEFAULT_SWATCH_PICKER_LABELS } from \"../components/swatch-picker\";\nimport { DEFAULT_ICON_PICKER_LABELS } from \"../components/icon-picker\";\nimport { DEFAULT_DIALOG_FRAME_LABELS } from \"../components/dialog-frame\";\nimport { DEFAULT_FILE_PICKER_LABELS } from \"../components/file-button\";\nimport { DEFAULT_MEASURED_GRID_LABELS } from \"../components/measured-grid\";\nimport { DEFAULT_CONFIRM_DIALOG_LABELS } from \"../components/confirm-dialog\";\nimport { DEFAULT_FLOATING_PANEL_LABELS } from \"../components/floating-panel\";\nimport { DEFAULT_FEEDBACK_ATTACHMENT_LABELS } from \"../feedback/feedback-attachment\";\nimport { DEFAULT_FEEDBACK_DIALOG_LABELS } from \"../feedback/feedback-dialog\";\nimport {\n DEFAULT_FEEDBACK_COMPOSER_LABELS,\n DEFAULT_FEEDBACK_THREAD_LABELS,\n} from \"../feedback/feedback-thread\";\nimport { DEFAULT_ACCOUNT_SETTINGS_LABELS } from \"../components/account-settings-labels\";\nimport { DEFAULT_COPY_BUTTON_LABELS } from \"../components/copy-button\";\nimport { DEFAULT_BULK_ACTION_BAR_LABELS } from \"../components/bulk-action-bar\";\nimport { DEFAULT_LIST_LABELS } from \"../components/list\";\nimport { DEFAULT_BREADCRUMBS_LABELS } from \"../components/breadcrumbs\";\nimport { DEFAULT_TOAST_LABELS } from \"../components/toast\";\nimport { DEFAULT_FORM_ACTIONS_LABELS } from \"../components/form-actions\";\nimport { DEFAULT_DESCRIPTION_LIST_LABELS } from \"../components/description-list\";\nimport { DEFAULT_LINE_ITEMS_LABELS } from \"../components/line-items\";\nimport { DEFAULT_PROGRESS_BAR_LABELS } from \"../components/progress-bar\";\nimport { DEFAULT_SIGNED_AMOUNT_LABELS } from \"../components/signed-amount\";\nimport { DEFAULT_ERROR_BOUNDARY_LABELS } from \"../components/error-boundary\";\nimport { DEFAULT_AUTHED_IMAGE_LABELS } from \"../components/authed-image\";\nimport { DEFAULT_IMAGE_GRID_LABELS } from \"../components/image-grid\";\nimport { DEFAULT_LIGHTBOX_LABELS } from \"../components/lightbox\";\nimport { DEFAULT_WRITE_LOCK_LABELS } from \"../components/write-lock\";\nimport { DEFAULT_LEGAL_LABELS } from \"../components/legal\";\nimport { DEFAULT_ACCOUNT_STATE_LABELS } from \"../components/account-chips\";\nimport { DEFAULT_SHARE_CARD_LABELS } from \"../components/share-card\";\nimport { DEFAULT_REAUTH_DIALOG_LABELS } from \"../components/reauth-dialog\";\nimport { DEFAULT_SERVER_WAKE_LABELS } from \"../components/server-wake\";\nimport { DEFAULT_TRANSLATION_REVIEW_LABELS } from \"../components/translation-review-labels\";\nimport { DEFAULT_COUNTRY_SELECT_LABELS } from \"../components/country-select\";\nimport { DEFAULT_INLINE_EDIT_LABELS } from \"../components/inline-edit-field\";\nimport { DEFAULT_IBAN_INPUT_LABELS } from \"../components/iban-input\";\nimport { DEFAULT_PHONE_INPUT_LABELS } from \"../components/phone-input\";\nimport { DEFAULT_SIGN_CHIP_LABELS } from \"../components/sign-chip\";\nimport { DEFAULT_COLUMN_MAPPER_LABELS } from \"../components/column-mapper\";\nimport {\n DEFAULT_APP_SHELL_LABELS,\n DEFAULT_CALCULATOR_LABELS,\n DEFAULT_COMBOBOX_LABELS,\n DEFAULT_COMMON_LABELS,\n DEFAULT_CURRENCY_LABELS,\n DEFAULT_DATE_PICKER_LABELS,\n DEFAULT_FILE_LABELS,\n DEFAULT_MULTI_SELECT_LABELS,\n DEFAULT_PICKER_SHEET_LABELS,\n DEFAULT_SWIPEABLE_ROW_LABELS,\n DEFAULT_TOP_BAR_LABELS,\n} from \"./kit-labels\";\nimport type { UiKitLabels } from \"./kit-labels\";\n\n/**\n * The whole English tree in one object: what a translation is written against, and\n * the `reference` for {@link missingKitLabels}.\n *\n * A separate module from the provider on purpose. Components import the provider's\n * hooks; this file imports the components' defaults. Kept together they would be an\n * import cycle through every component in the kit.\n */\nexport const DEFAULT_UI_KIT_LABELS: UiKitLabels = {\n common: DEFAULT_COMMON_LABELS,\n dataTable: DEFAULT_DATA_TABLE_LABELS,\n miniCalendar: DEFAULT_MINI_CALENDAR_LABELS,\n calendarHeatmap: DEFAULT_CALENDAR_HEATMAP_LABELS,\n datePicker: DEFAULT_DATE_PICKER_LABELS,\n monthPicker: DEFAULT_MONTH_PICKER_LABELS,\n popover: DEFAULT_POPOVER_LABELS,\n combobox: DEFAULT_COMBOBOX_LABELS,\n multiSelect: DEFAULT_MULTI_SELECT_LABELS,\n calculator: DEFAULT_CALCULATOR_LABELS,\n currency: DEFAULT_CURRENCY_LABELS,\n chipInput: DEFAULT_CHIP_INPUT_LABELS,\n fieldSync: DEFAULT_FIELD_SYNC_LABELS,\n passwordReveal: DEFAULT_PASSWORD_REVEAL_LABELS,\n tabs: DEFAULT_TABS_LABELS,\n appShell: DEFAULT_APP_SHELL_LABELS,\n pageContents: DEFAULT_PAGE_CONTENTS_LABELS,\n topBar: DEFAULT_TOP_BAR_LABELS,\n pickerSheet: DEFAULT_PICKER_SHEET_LABELS,\n swipeableRow: DEFAULT_SWIPEABLE_ROW_LABELS,\n file: DEFAULT_FILE_LABELS,\n wizard: DEFAULT_WIZARD_LABELS,\n tour: DEFAULT_TOUR_LABELS,\n commandPalette: DEFAULT_COMMAND_PALETTE_LABELS,\n globalSearch: DEFAULT_GLOBAL_SEARCH_LABELS,\n seriesChart: DEFAULT_SERIES_CHART_LABELS,\n pieChart: DEFAULT_PIE_CHART_LABELS,\n sparkline: DEFAULT_SPARKLINE_LABELS,\n statTile: DEFAULT_STAT_TILE_LABELS,\n signaturePad: DEFAULT_SIGNATURE_PAD_LABELS,\n passwordStrength: DEFAULT_PASSWORD_STRENGTH_LABELS,\n dangerConfirm: DEFAULT_DANGER_CONFIRM_LABELS,\n swatchPicker: DEFAULT_SWATCH_PICKER_LABELS,\n iconPicker: DEFAULT_ICON_PICKER_LABELS,\n dialogFrame: DEFAULT_DIALOG_FRAME_LABELS,\n filePicker: DEFAULT_FILE_PICKER_LABELS,\n measuredGrid: DEFAULT_MEASURED_GRID_LABELS,\n feedbackAttachment: DEFAULT_FEEDBACK_ATTACHMENT_LABELS,\n feedbackDialog: DEFAULT_FEEDBACK_DIALOG_LABELS,\n feedbackThread: DEFAULT_FEEDBACK_THREAD_LABELS,\n feedbackComposer: DEFAULT_FEEDBACK_COMPOSER_LABELS,\n accountSettings: DEFAULT_ACCOUNT_SETTINGS_LABELS,\n confirmDialog: DEFAULT_CONFIRM_DIALOG_LABELS,\n floatingPanel: DEFAULT_FLOATING_PANEL_LABELS,\n copyButton: DEFAULT_COPY_BUTTON_LABELS,\n bulkActionBar: DEFAULT_BULK_ACTION_BAR_LABELS,\n list: DEFAULT_LIST_LABELS,\n breadcrumbs: DEFAULT_BREADCRUMBS_LABELS,\n toast: DEFAULT_TOAST_LABELS,\n form: DEFAULT_FORM_ACTIONS_LABELS,\n descriptionList: DEFAULT_DESCRIPTION_LIST_LABELS,\n lineItems: DEFAULT_LINE_ITEMS_LABELS,\n progressBar: DEFAULT_PROGRESS_BAR_LABELS,\n signedAmount: DEFAULT_SIGNED_AMOUNT_LABELS,\n errorBoundary: DEFAULT_ERROR_BOUNDARY_LABELS,\n authedImage: DEFAULT_AUTHED_IMAGE_LABELS,\n imageGrid: DEFAULT_IMAGE_GRID_LABELS,\n lightbox: DEFAULT_LIGHTBOX_LABELS,\n writeLock: DEFAULT_WRITE_LOCK_LABELS,\n accountState: DEFAULT_ACCOUNT_STATE_LABELS,\n shareCard: DEFAULT_SHARE_CARD_LABELS,\n reauthDialog: DEFAULT_REAUTH_DIALOG_LABELS,\n serverWake: DEFAULT_SERVER_WAKE_LABELS,\n translationReview: DEFAULT_TRANSLATION_REVIEW_LABELS,\n legal: DEFAULT_LEGAL_LABELS,\n characterCount: DEFAULT_CHARACTER_COUNT_LABELS,\n countrySelect: DEFAULT_COUNTRY_SELECT_LABELS,\n inlineEdit: DEFAULT_INLINE_EDIT_LABELS,\n ibanInput: DEFAULT_IBAN_INPUT_LABELS,\n phoneInput: DEFAULT_PHONE_INPUT_LABELS,\n signChip: DEFAULT_SIGN_CHIP_LABELS,\n columnMapper: DEFAULT_COLUMN_MAPPER_LABELS,\n};\n"],"mappings":"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","names":[]}
@@ -1,15 +1,19 @@
1
- import { bc as UiKitLabels } from '../kit-labels-D1J2_jyD.js';
1
+ import { bY as UiKitLabels } from '../feedback-BxeQVzwq.js';
2
+ import '../feedback-attachment-fGAzZPf0.js';
2
3
  import 'react';
3
- import '../components/data-table-labels.js';
4
+ import '../feedback/feedback-inbox.js';
5
+ import 'lucide-react';
6
+ import '../components/tooltip.js';
7
+ import '../hooks/use-anchored-rect.js';
8
+ import '../lib/clipping.js';
9
+ import '../data-table-labels-B7OdnM0S.js';
10
+ import '../components/data-table-sort.js';
11
+ import '../components/swipeable-row.js';
4
12
  import '../components/mini-calendar.js';
5
13
  import '../components/calendar-heatmap.js';
6
14
  import '../components/popover.js';
7
15
  import '../components/chip.js';
8
- import 'lucide-react';
9
16
  import '../components/field-sync.js';
10
- import '../components/tooltip.js';
11
- import '../hooks/use-anchored-rect.js';
12
- import '../lib/clipping.js';
13
17
  import '../wizard/types.js';
14
18
  import '../tour/tour.js';
15
19
  import '../search/command-palette.js';
@@ -23,7 +27,6 @@ import '../components/sparkline.js';
23
27
  import '../components/stat-tile.js';
24
28
  import '../components/signature-pad.js';
25
29
  import '../components/password-strength.js';
26
- import '../components/danger-confirm.js';
27
30
  import '../components/swatch-picker.js';
28
31
  import '../components/tile-radio.js';
29
32
  import '../components/icon-picker.js';
@@ -31,11 +34,7 @@ import '../components/dialog-frame.js';
31
34
  import '../components/modal.js';
32
35
  import '../hooks/use-search-param-state.js';
33
36
  import '../components/measured-grid.js';
34
- import '../feedback-attachment-WFiXJ8We.js';
35
- import '../feedback/feedback-thread.js';
36
- import '../feedback/feedback-inbox.js';
37
37
  import '../components/account-settings-labels.js';
38
- import '../components/confirm-dialog.js';
39
38
  import '../components/floating-panel.js';
40
39
  import '../components/bulk-action-bar.js';
41
40
  import '../components/list.js';
@@ -54,14 +53,20 @@ import '../components/write-lock.js';
54
53
  import '../components/legal.js';
55
54
  import '../components/account-chips.js';
56
55
  import '../lib/format.js';
57
- import '../data-table-3mi2R3so.js';
58
- import '../components/data-table-sort.js';
59
- import '../components/swipeable-row.js';
60
56
  import '../components/reauth-dialog.js';
61
57
  import '../components/server-wake.js';
62
58
  import '../lib/server-wake.js';
63
59
  import '../components/translation-review-labels.js';
64
60
  import '../lib/translation-review.js';
61
+ import '../components/country-select.js';
62
+ import '../components/inline-edit-field.js';
63
+ import '../lib/iban.js';
64
+ import '../lib/phone.js';
65
+ import '../components/sign-chip.js';
66
+ import '../components/column-mapper.js';
67
+ import '../lib/column-mapping.js';
68
+ import '../lib/table-text.js';
69
+ import '../components/field-parts.js';
65
70
 
66
71
  /**
67
72
  * The kit's German, formal ("Sie"), written in standard spelling with "ß" — the SOURCE