@alfadocs/ui-kit-debug 0.41.1 → 0.42.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 (251) hide show
  1. package/dist/_chunks/address-autocomplete-CSjMrBvu.js +358 -0
  2. package/dist/_chunks/address-autocomplete-CSjMrBvu.js.map +1 -0
  3. package/dist/_chunks/{alia-sidebar-DXsYPinm.js → alia-sidebar-BpX4z_af.js} +2 -2
  4. package/dist/_chunks/{alia-sidebar-DXsYPinm.js.map → alia-sidebar-BpX4z_af.js.map} +1 -1
  5. package/dist/_chunks/{bmi-calculator-DnEr513I.js → bmi-calculator-D4juUcyF.js} +57 -51
  6. package/dist/_chunks/bmi-calculator-D4juUcyF.js.map +1 -0
  7. package/dist/_chunks/{breadcrumb-CLlhx7qo.js → breadcrumb-OTbaY70e.js} +4 -4
  8. package/dist/_chunks/{breadcrumb-CLlhx7qo.js.map → breadcrumb-OTbaY70e.js.map} +1 -1
  9. package/dist/_chunks/cycle-calculator-DsZbyzX6.js +191 -0
  10. package/dist/_chunks/cycle-calculator-DsZbyzX6.js.map +1 -0
  11. package/dist/_chunks/{document-scanner-CqS_klIr.js → document-scanner-BqLsGs4Y.js} +7 -7
  12. package/dist/_chunks/{document-scanner-CqS_klIr.js.map → document-scanner-BqLsGs4Y.js.map} +1 -1
  13. package/dist/_chunks/{dropdown-menu-BC5ZdOMo.js → dropdown-menu-CUEXqKis.js} +2 -2
  14. package/dist/_chunks/{dropdown-menu-BC5ZdOMo.js.map → dropdown-menu-CUEXqKis.js.map} +1 -1
  15. package/dist/_chunks/{due-date-calculator-CUspKSTw.js → due-date-calculator-s_CBgaFs.js} +53 -40
  16. package/dist/_chunks/due-date-calculator-s_CBgaFs.js.map +1 -0
  17. package/dist/_chunks/{editable-currency-cell-renderer-DgkCIIcO.js → editable-currency-cell-renderer-BhUkRiPZ.js} +2 -2
  18. package/dist/_chunks/{editable-currency-cell-renderer-DgkCIIcO.js.map → editable-currency-cell-renderer-BhUkRiPZ.js.map} +1 -1
  19. package/dist/_chunks/{freemium-paywall-BAk3a6er.js → freemium-paywall-BLXESpH4.js} +2 -2
  20. package/dist/_chunks/{freemium-paywall-BAk3a6er.js.map → freemium-paywall-BLXESpH4.js.map} +1 -1
  21. package/dist/_chunks/{gestational-age-calculator-CsQ05qDy.js → gestational-age-calculator-CWOG3bkI.js} +56 -43
  22. package/dist/_chunks/gestational-age-calculator-CWOG3bkI.js.map +1 -0
  23. package/dist/_chunks/{header-settings-CBLwUK6t.js → header-settings-Bx0Biimh.js} +2 -2
  24. package/dist/_chunks/{header-settings-CBLwUK6t.js.map → header-settings-Bx0Biimh.js.map} +1 -1
  25. package/dist/_chunks/index.modern-D2LGACWg.js +1529 -0
  26. package/dist/_chunks/index.modern-D2LGACWg.js.map +1 -0
  27. package/dist/_chunks/insert-result-DtQQeSSf.js +227 -0
  28. package/dist/_chunks/insert-result-DtQQeSSf.js.map +1 -0
  29. package/dist/_chunks/{kbd-Cglkd7CY.js → kbd-D855ZXIW.js} +2 -2
  30. package/dist/_chunks/{kbd-Cglkd7CY.js.map → kbd-D855ZXIW.js.map} +1 -1
  31. package/dist/_chunks/map-view-Tb5VfK9Y.js +333 -0
  32. package/dist/_chunks/map-view-Tb5VfK9Y.js.map +1 -0
  33. package/dist/_chunks/marketplace-app-shell-kVAVycz_.js +391 -0
  34. package/dist/_chunks/marketplace-app-shell-kVAVycz_.js.map +1 -0
  35. package/dist/_chunks/{patient-search-CBq62kmL.js → patient-search-DPe2ZYEL.js} +2 -2
  36. package/dist/_chunks/{patient-search-CBq62kmL.js.map → patient-search-DPe2ZYEL.js.map} +1 -1
  37. package/dist/_chunks/{patient-shell-DF81lALv.js → patient-shell-lDX3wwu6.js} +2 -2
  38. package/dist/_chunks/{patient-shell-DF81lALv.js.map → patient-shell-lDX3wwu6.js.map} +1 -1
  39. package/dist/_chunks/{payment-form-Dy3WIIsC.js → payment-form-BzVsG6Ks.js} +5 -5
  40. package/dist/_chunks/{payment-form-Dy3WIIsC.js.map → payment-form-BzVsG6Ks.js.map} +1 -1
  41. package/dist/_chunks/{pdf-viewer-Cy6Ul3hZ.js → pdf-viewer-B6MC6VTx.js} +139 -126
  42. package/dist/_chunks/pdf-viewer-B6MC6VTx.js.map +1 -0
  43. package/dist/_chunks/{practice-results-C0d4IL5E.js → practice-results-CrLpEiiW.js} +4 -4
  44. package/dist/_chunks/{practice-results-C0d4IL5E.js.map → practice-results-CrLpEiiW.js.map} +1 -1
  45. package/dist/_chunks/pregnancy-weight-gain-B7kBK-ZR.js +223 -0
  46. package/dist/_chunks/pregnancy-weight-gain-B7kBK-ZR.js.map +1 -0
  47. package/dist/_chunks/{public-header.agent-B2dDg2_d.js → public-header.agent-BY6FH71R.js} +2 -2
  48. package/dist/_chunks/{public-header.agent-B2dDg2_d.js.map → public-header.agent-BY6FH71R.js.map} +1 -1
  49. package/dist/_chunks/radio-group-CLjK-SlK.js +167 -0
  50. package/dist/_chunks/radio-group-CLjK-SlK.js.map +1 -0
  51. package/dist/_chunks/{rich-text-editor-DLbg2852.js → rich-text-editor-DhGIBd4a.js} +10 -10
  52. package/dist/_chunks/{rich-text-editor-DLbg2852.js.map → rich-text-editor-DhGIBd4a.js.map} +1 -1
  53. package/dist/_chunks/{sheet-BV-yuLE2.js → sheet-xbzu4YiY.js} +7 -7
  54. package/dist/_chunks/{sheet-BV-yuLE2.js.map → sheet-xbzu4YiY.js.map} +1 -1
  55. package/dist/_chunks/{sign-document-CpLDZ6Db.js → sign-document-QHfcNKFj.js} +5 -5
  56. package/dist/_chunks/{sign-document-CpLDZ6Db.js.map → sign-document-QHfcNKFj.js.map} +1 -1
  57. package/dist/_chunks/{signature-capture-DoiBd6i3.js → signature-capture-CpMBhqQ9.js} +6 -6
  58. package/dist/_chunks/{signature-capture-DoiBd6i3.js.map → signature-capture-CpMBhqQ9.js.map} +1 -1
  59. package/dist/_chunks/tab-bar-C4II-7ej.js +86 -0
  60. package/dist/_chunks/tab-bar-C4II-7ej.js.map +1 -0
  61. package/dist/_chunks/{theme-toggle-DpC28kt5.js → theme-toggle-ClATnY4Q.js} +2 -2
  62. package/dist/_chunks/{theme-toggle-DpC28kt5.js.map → theme-toggle-ClATnY4Q.js.map} +1 -1
  63. package/dist/_chunks/{toast.agent-WHHfw5VX.js → toast.agent-B0MCsvdZ.js} +2 -2
  64. package/dist/_chunks/{toast.agent-WHHfw5VX.js.map → toast.agent-B0MCsvdZ.js.map} +1 -1
  65. package/dist/_chunks/{unit-converter-EUwO6QYq.js → unit-converter-D1UrEUxa.js} +46 -40
  66. package/dist/_chunks/unit-converter-D1UrEUxa.js.map +1 -0
  67. package/dist/_chunks/{workflow-map-C3gB0FvB.js → workflow-map-BFNpzTiw.js} +2 -2
  68. package/dist/_chunks/{workflow-map-C3gB0FvB.js.map → workflow-map-BFNpzTiw.js.map} +1 -1
  69. package/dist/agent-catalog.json +1 -1
  70. package/dist/brand/product-lockup/product-lockup.d.ts +16 -0
  71. package/dist/brand/product-lockup/product-lockup.d.ts.map +1 -1
  72. package/dist/components/_shared/insert-result.d.ts +21 -4
  73. package/dist/components/_shared/insert-result.d.ts.map +1 -1
  74. package/dist/components/address-autocomplete/address-autocomplete.d.ts +77 -0
  75. package/dist/components/address-autocomplete/address-autocomplete.d.ts.map +1 -0
  76. package/dist/components/address-autocomplete/index.d.ts +4 -0
  77. package/dist/components/address-autocomplete/index.d.ts.map +1 -0
  78. package/dist/components/address-autocomplete/index.js +6 -0
  79. package/dist/components/address-autocomplete/index.js.map +1 -0
  80. package/dist/components/address-autocomplete/parse-address.d.ts +52 -0
  81. package/dist/components/address-autocomplete/parse-address.d.ts.map +1 -0
  82. package/dist/components/bmi-calculator/bmi-calculator.d.ts +11 -1
  83. package/dist/components/bmi-calculator/bmi-calculator.d.ts.map +1 -1
  84. package/dist/components/bmi-calculator/index.js +1 -1
  85. package/dist/components/breadcrumb/index.js +1 -1
  86. package/dist/components/cycle-calculator/cycle-calculator.d.ts +12 -2
  87. package/dist/components/cycle-calculator/cycle-calculator.d.ts.map +1 -1
  88. package/dist/components/cycle-calculator/index.js +1 -1
  89. package/dist/components/data-table/index.js +1 -1
  90. package/dist/components/document-scanner/index.js +1 -1
  91. package/dist/components/dropdown-menu/index.js +1 -1
  92. package/dist/components/due-date-calculator/due-date-calculator.d.ts +11 -1
  93. package/dist/components/due-date-calculator/due-date-calculator.d.ts.map +1 -1
  94. package/dist/components/due-date-calculator/index.js +1 -1
  95. package/dist/components/freemium-paywall/index.js +1 -1
  96. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +12 -2
  97. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts.map +1 -1
  98. package/dist/components/gestational-age-calculator/index.js +1 -1
  99. package/dist/components/header-settings/index.js +1 -1
  100. package/dist/components/index.d.ts +3 -1
  101. package/dist/components/index.d.ts.map +1 -1
  102. package/dist/components/kbd/index.js +1 -1
  103. package/dist/components/map-view/index.js +1 -1
  104. package/dist/components/matrix-rain/matrix-rain.d.ts +1 -1
  105. package/dist/components/patient-search/index.js +1 -1
  106. package/dist/components/payment-form/index.js +1 -1
  107. package/dist/components/pdf-viewer/index.js +1 -1
  108. package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +1 -1
  109. package/dist/components/practice-results/index.js +1 -1
  110. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  111. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +12 -2
  112. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts.map +1 -1
  113. package/dist/components/public-header/index.js +1 -1
  114. package/dist/components/radio-group/index.js +1 -1
  115. package/dist/components/radio-group/radio-group.d.ts.map +1 -1
  116. package/dist/components/rich-text-editor/index.js +1 -1
  117. package/dist/components/sheet/index.js +1 -1
  118. package/dist/components/sheet/sheet.d.ts.map +1 -1
  119. package/dist/components/sign-document/index.js +1 -1
  120. package/dist/components/signature-capture/index.js +1 -1
  121. package/dist/components/tab-bar/index.d.ts +3 -0
  122. package/dist/components/tab-bar/index.d.ts.map +1 -0
  123. package/dist/components/tab-bar/index.js +5 -0
  124. package/dist/components/tab-bar/index.js.map +1 -0
  125. package/dist/components/tab-bar/tab-bar.d.ts +61 -0
  126. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -0
  127. package/dist/components/theme-toggle/index.js +1 -1
  128. package/dist/components/toast/index.js +1 -1
  129. package/dist/components/unit-converter/index.js +1 -1
  130. package/dist/components/unit-converter/unit-converter.d.ts +11 -1
  131. package/dist/components/unit-converter/unit-converter.d.ts.map +1 -1
  132. package/dist/components/workflow/index.js +1 -1
  133. package/dist/i18n/config.d.ts.map +1 -1
  134. package/dist/i18n/config.js +39 -24
  135. package/dist/i18n/config.js.map +1 -1
  136. package/dist/i18n/locales/ar.d.ts +17 -0
  137. package/dist/i18n/locales/ar.d.ts.map +1 -1
  138. package/dist/i18n/locales/ar.js +18 -1
  139. package/dist/i18n/locales/ar.js.map +1 -1
  140. package/dist/i18n/locales/de.d.ts +17 -0
  141. package/dist/i18n/locales/de.d.ts.map +1 -1
  142. package/dist/i18n/locales/de.js +18 -1
  143. package/dist/i18n/locales/de.js.map +1 -1
  144. package/dist/i18n/locales/el.d.ts +17 -0
  145. package/dist/i18n/locales/el.d.ts.map +1 -1
  146. package/dist/i18n/locales/el.js +18 -1
  147. package/dist/i18n/locales/el.js.map +1 -1
  148. package/dist/i18n/locales/en.d.ts +17 -0
  149. package/dist/i18n/locales/en.d.ts.map +1 -1
  150. package/dist/i18n/locales/en.js +18 -1
  151. package/dist/i18n/locales/en.js.map +1 -1
  152. package/dist/i18n/locales/es.d.ts +17 -0
  153. package/dist/i18n/locales/es.d.ts.map +1 -1
  154. package/dist/i18n/locales/es.js +18 -1
  155. package/dist/i18n/locales/es.js.map +1 -1
  156. package/dist/i18n/locales/fr.d.ts +17 -0
  157. package/dist/i18n/locales/fr.d.ts.map +1 -1
  158. package/dist/i18n/locales/fr.js +18 -1
  159. package/dist/i18n/locales/fr.js.map +1 -1
  160. package/dist/i18n/locales/hi.d.ts +17 -0
  161. package/dist/i18n/locales/hi.d.ts.map +1 -1
  162. package/dist/i18n/locales/hi.js +18 -1
  163. package/dist/i18n/locales/hi.js.map +1 -1
  164. package/dist/i18n/locales/it.d.ts +17 -0
  165. package/dist/i18n/locales/it.d.ts.map +1 -1
  166. package/dist/i18n/locales/it.js +18 -1
  167. package/dist/i18n/locales/it.js.map +1 -1
  168. package/dist/i18n/locales/ja.d.ts +17 -0
  169. package/dist/i18n/locales/ja.d.ts.map +1 -1
  170. package/dist/i18n/locales/ja.js +18 -1
  171. package/dist/i18n/locales/ja.js.map +1 -1
  172. package/dist/i18n/locales/nl.d.ts +17 -0
  173. package/dist/i18n/locales/nl.d.ts.map +1 -1
  174. package/dist/i18n/locales/nl.js +18 -1
  175. package/dist/i18n/locales/nl.js.map +1 -1
  176. package/dist/i18n/locales/pl.d.ts +17 -0
  177. package/dist/i18n/locales/pl.d.ts.map +1 -1
  178. package/dist/i18n/locales/pl.js +18 -1
  179. package/dist/i18n/locales/pl.js.map +1 -1
  180. package/dist/i18n/locales/pt.d.ts +17 -0
  181. package/dist/i18n/locales/pt.d.ts.map +1 -1
  182. package/dist/i18n/locales/pt.js +18 -1
  183. package/dist/i18n/locales/pt.js.map +1 -1
  184. package/dist/i18n/locales/ro.d.ts +17 -0
  185. package/dist/i18n/locales/ro.d.ts.map +1 -1
  186. package/dist/i18n/locales/ro.js +18 -1
  187. package/dist/i18n/locales/ro.js.map +1 -1
  188. package/dist/i18n/locales/ru.d.ts +17 -0
  189. package/dist/i18n/locales/ru.d.ts.map +1 -1
  190. package/dist/i18n/locales/ru.js +18 -1
  191. package/dist/i18n/locales/ru.js.map +1 -1
  192. package/dist/i18n/locales/sq.d.ts +17 -0
  193. package/dist/i18n/locales/sq.d.ts.map +1 -1
  194. package/dist/i18n/locales/sq.js +18 -1
  195. package/dist/i18n/locales/sq.js.map +1 -1
  196. package/dist/i18n/locales/sv.d.ts +17 -0
  197. package/dist/i18n/locales/sv.d.ts.map +1 -1
  198. package/dist/i18n/locales/sv.js +18 -1
  199. package/dist/i18n/locales/sv.js.map +1 -1
  200. package/dist/i18n/locales/tr.d.ts +17 -0
  201. package/dist/i18n/locales/tr.d.ts.map +1 -1
  202. package/dist/i18n/locales/tr.js +18 -1
  203. package/dist/i18n/locales/tr.js.map +1 -1
  204. package/dist/i18n/locales/zh.d.ts +17 -0
  205. package/dist/i18n/locales/zh.d.ts.map +1 -1
  206. package/dist/i18n/locales/zh.js +18 -1
  207. package/dist/i18n/locales/zh.js.map +1 -1
  208. package/dist/index.js +604 -599
  209. package/dist/index.js.map +1 -1
  210. package/dist/locales/ar.json +18 -1
  211. package/dist/locales/de.json +18 -1
  212. package/dist/locales/el.json +18 -1
  213. package/dist/locales/en.json +18 -1
  214. package/dist/locales/es.json +18 -1
  215. package/dist/locales/fr.json +18 -1
  216. package/dist/locales/hi.json +18 -1
  217. package/dist/locales/it.json +18 -1
  218. package/dist/locales/ja.json +18 -1
  219. package/dist/locales/nl.json +18 -1
  220. package/dist/locales/pl.json +18 -1
  221. package/dist/locales/pt.json +18 -1
  222. package/dist/locales/ro.json +18 -1
  223. package/dist/locales/ru.json +18 -1
  224. package/dist/locales/sq.json +18 -1
  225. package/dist/locales/sv.json +18 -1
  226. package/dist/locales/tr.json +18 -1
  227. package/dist/locales/zh.json +18 -1
  228. package/dist/patterns/alia-assistant/index.js +1 -1
  229. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  230. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +30 -3
  231. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts.map +1 -1
  232. package/dist/patterns/patient-shell/index.js +1 -1
  233. package/dist/tokens.css +1 -1
  234. package/package.json +16 -1
  235. package/dist/_chunks/bmi-calculator-DnEr513I.js.map +0 -1
  236. package/dist/_chunks/cycle-calculator-B5Uj9QeT.js +0 -185
  237. package/dist/_chunks/cycle-calculator-B5Uj9QeT.js.map +0 -1
  238. package/dist/_chunks/due-date-calculator-CUspKSTw.js.map +0 -1
  239. package/dist/_chunks/gestational-age-calculator-CsQ05qDy.js.map +0 -1
  240. package/dist/_chunks/insert-result-yJ0QavoN.js +0 -133
  241. package/dist/_chunks/insert-result-yJ0QavoN.js.map +0 -1
  242. package/dist/_chunks/map-view-qJLybrmN.js +0 -1850
  243. package/dist/_chunks/map-view-qJLybrmN.js.map +0 -1
  244. package/dist/_chunks/marketplace-app-shell-BlxVizU4.js +0 -296
  245. package/dist/_chunks/marketplace-app-shell-BlxVizU4.js.map +0 -1
  246. package/dist/_chunks/pdf-viewer-Cy6Ul3hZ.js.map +0 -1
  247. package/dist/_chunks/pregnancy-weight-gain-BCdi-JSv.js +0 -209
  248. package/dist/_chunks/pregnancy-weight-gain-BCdi-JSv.js.map +0 -1
  249. package/dist/_chunks/radio-group-BcF92GEF.js +0 -152
  250. package/dist/_chunks/radio-group-BcF92GEF.js.map +0 -1
  251. package/dist/_chunks/unit-converter-EUwO6QYq.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { type VariantProps } from 'class-variance-authority';
2
- import { type InsertPayload } from '../_shared/insert-result';
2
+ import { type InsertPayload, type InsertVariant, type InsertMode } from '../_shared/insert-result';
3
3
  import { type WeightGainResult } from './weight-gain';
4
4
  declare const rootVariants: (props?: ({
5
5
  width?: "auto" | "full" | null | undefined;
@@ -7,8 +7,18 @@ declare const rootVariants: (props?: ({
7
7
  export interface PregnancyWeightGainProps extends VariantProps<typeof rootVariants> {
8
8
  /** Fires whenever a result can be computed (and `null` when it can't). */
9
9
  onResultChange?: (result: WeightGainResult | null) => void;
10
- /** When provided, shows an "Insert" button that emits the result for an editor. */
10
+ /** When provided, shows the result-action buttons that emit / copy the result. */
11
11
  onInsert?: (payload: InsertPayload) => void;
12
+ /**
13
+ * Verb the result-action buttons perform. Defaults to `'insert'` (editor
14
+ * extension). Pass `'copy'` from an app shell to copy the result to the
15
+ * clipboard instead.
16
+ */
17
+ insertVariant?: InsertVariant;
18
+ /** `copy` variant only — fired after a successful clipboard write. */
19
+ onCopy?: (mode: InsertMode) => void;
20
+ /** `copy` variant only — fired if the clipboard write can't proceed. */
21
+ onError?: (error: unknown) => void;
12
22
  /** Opaque instance id, emitted as `data-component-id`. */
13
23
  id?: string;
14
24
  /** Extra class names on the wrapper. */
@@ -1 +1 @@
1
- {"version":3,"file":"pregnancy-weight-gain.d.ts","sourceRoot":"","sources":["../../../src/components/pregnancy-weight-gain/pregnancy-weight-gain.tsx"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,OAAO,EAAgB,KAAK,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAE5E,OAAO,EACL,KAAK,gBAAgB,EAItB,MAAM,eAAe,CAAC;AAEvB,QAAA,MAAM,YAAY;;8EAKhB,CAAC;AAQH,MAAM,WAAW,wBAAyB,SAAQ,YAAY,CAC5D,OAAO,YAAY,CACpB;IACC,0EAA0E;IAC1E,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3D,mFAAmF;IACnF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,mBAAmB,qHAuL9B,CAAC"}
1
+ {"version":3,"file":"pregnancy-weight-gain.d.ts","sourceRoot":"","sources":["../../../src/components/pregnancy-weight-gain/pregnancy-weight-gain.tsx"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACL,KAAK,gBAAgB,EAItB,MAAM,eAAe,CAAC;AAEvB,QAAA,MAAM,YAAY;;8EAKhB,CAAC;AAQH,MAAM,WAAW,wBAAyB,SAAQ,YAAY,CAC5D,OAAO,YAAY,CACpB;IACC,0EAA0E;IAC1E,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,gBAAgB,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3D,kFAAkF;IAClF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,sEAAsE;IACtE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,wEAAwE;IACxE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,mBAAmB,qHAwM/B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { P as r, p } from "../../_chunks/public-header.agent-B2dDg2_d.js";
1
+ import { P as r, p } from "../../_chunks/public-header.agent-BY6FH71R.js";
2
2
  export {
3
3
  r as PublicHeader,
4
4
  p as publicHeaderAgent
@@ -1,5 +1,5 @@
1
1
  import { R as a } from "../../_chunks/radio-TWf9Q-mp.js";
2
- import { R as p } from "../../_chunks/radio-group-BcF92GEF.js";
2
+ import { R as p } from "../../_chunks/radio-group-CLjK-SlK.js";
3
3
  export {
4
4
  a as Radio,
5
5
  p as RadioGroup
@@ -1 +1 @@
1
- {"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../src/components/radio-group/radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,wBAAwB,EAC9B,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,eAAe,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAO,KAAK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AC;AAEH,KAAK,cAAc,GAAG,wBAAwB,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;AAE5E,MAAM,WAAW,eACf,SACE,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,aAAa,CAAC,EAChD,YAAY,CAAC,OAAO,kBAAkB,CAAC;IACzC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,UAAU,4GAyJtB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { R as t, e as o, r as s, t as i, a as e, w as n } from "../../_chunks/rich-text-editor-DLbg2852.js";
1
+ import { R as t, e as o, r as s, t as i, a as e, w as n } from "../../_chunks/rich-text-editor-DhGIBd4a.js";
2
2
  export {
3
3
  t as RichTextEditor,
4
4
  o as editorSurfaceVariants,
@@ -1,4 +1,4 @@
1
- import { S as t, s as a } from "../../_chunks/sheet-BV-yuLE2.js";
1
+ import { S as t, s as a } from "../../_chunks/sheet-xbzu4YiY.js";
2
2
  export {
3
3
  t as Sheet,
4
4
  a as sheetAgent
@@ -1 +1 @@
1
- {"version":3,"file":"sheet.d.ts","sourceRoot":"","sources":["../../../src/components/sheet/sheet.tsx"],"names":[],"mappings":"AAAA,OAAO,EASL,KAAK,wBAAwB,EAC7B,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAgBlE,QAAA,MAAM,eAAe;;8EAyCpB,CAAC;AAwBF,MAAM,WAAW,WAAW;IAC1B,SAAS,EAAE,MAAM,OAAO,CAAC;IACzB,IAA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;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,MAAM,WAAW,cAAe,SAAQ,wBAAwB,CAC9D,OAAO,WAAW,CAAC,IAAI,CACxB;IACC,8EAA8E;IAC9E,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAuED,MAAM,WAAW,iBACf,SACE,IAAI,CAAC,wBAAwB,CAAC,OAAO,WAAW,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC,EACvE,YAAY,CAAC,OAAO,eAAe,CAAC;IACtC,IAAI,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,CAAC;IAC1C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAiID,eAAO,MAAM,KAAK;4EArMf,cAAc;;;;gFAAd,cAAc;;;;;;;;;;;CA+Mf,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAC9D,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAC5D,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { S as o, s } from "../../_chunks/sign-document-CpLDZ6Db.js";
1
+ import { S as o, s } from "../../_chunks/sign-document-QHfcNKFj.js";
2
2
  export {
3
3
  o as SignDocument,
4
4
  s as signDocumentAgent
@@ -1,4 +1,4 @@
1
- import { S as r, s as t } from "../../_chunks/signature-capture-DoiBd6i3.js";
1
+ import { S as r, s as t } from "../../_chunks/signature-capture-CpMBhqQ9.js";
2
2
  export {
3
3
  r as SignatureCapture,
4
4
  t as signatureCaptureAgent
@@ -0,0 +1,3 @@
1
+ export { TabBar } from './tab-bar';
2
+ export type { TabBarProps, TabBarItem } from './tab-bar';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/tab-bar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { T as o } from "../../_chunks/tab-bar-C4II-7ej.js";
2
+ export {
3
+ o as TabBar
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,61 @@
1
+ /**
2
+ * TabBar — a floating-pill bar of page-level navigation tabs.
3
+ *
4
+ * Each tab is an icon + label (+ optional count badge); the active tab is
5
+ * marked with `aria-current="page"` and an `--accent` underline. The bar is a
6
+ * glassy `--card` pill that floats on whatever canvas the consumer provides
7
+ * (the strip area itself is transparent, so it blends with the surrounding
8
+ * surface).
9
+ *
10
+ * Two layouts:
11
+ * - default (`fill` off): content-width tabs that **centre** when they fit and
12
+ * scroll from the inline-start (`safe center`) when they overflow, with a
13
+ * gutter preserved at both ends. The label stacks under the icon below `sm`.
14
+ * Use this when the tab set is open-ended (e.g. a marketplace app's routes).
15
+ * - `fill`: equal-width tabs that fill the bar and always stack the label under
16
+ * the icon — a fixed, always-visible set that fits any column width without
17
+ * scrolling (e.g. a patient portal's four sections).
18
+ *
19
+ * Tabs render as links when given an `href` (real navigation) or as buttons
20
+ * otherwise (in-app view switching via `onSelect`). Use it as a header (top,
21
+ * default) for section navigation; `position="bottom"` floats it from the
22
+ * bottom edge for a footer.
23
+ */
24
+ import { type ReactNode } from 'react';
25
+ export interface TabBarItem {
26
+ /** Stable id; also the value handed to `onSelect` for button tabs. */
27
+ id: string;
28
+ /** Pre-translated label — consumers localise their own nav copy. */
29
+ label: string;
30
+ /** Optional leading icon (a lucide-react element or equivalent), tinted with `--accent`. */
31
+ icon?: ReactNode;
32
+ /** Optional unseen-item count rendered as a pill badge. */
33
+ badgeCount?: number;
34
+ /** Mark the tab as the current page (`aria-current='page'` + accent underline). */
35
+ isActive?: boolean;
36
+ /** When set, the tab renders as a link to this href; otherwise it's a button. */
37
+ href?: string;
38
+ }
39
+ export interface TabBarProps {
40
+ /** The tabs, in order. */
41
+ items: TabBarItem[];
42
+ /** Accessible name for the `<nav>` landmark. */
43
+ ariaLabel: string;
44
+ /** Fires with the tab `id` when a button tab (one without `href`) is chosen. */
45
+ onSelect?: (id: string) => void;
46
+ /**
47
+ * Equal-width tabs that fill the bar and always stack the label under the
48
+ * icon (for a fixed, always-visible set). Off (default) = content-width tabs
49
+ * that centre when they fit and scroll when they overflow.
50
+ */
51
+ fill?: boolean;
52
+ /**
53
+ * Float side. `'top'` (default) gutters from the top edge for a header;
54
+ * `'bottom'` gutters from the bottom edge for a footer.
55
+ */
56
+ position?: 'top' | 'bottom';
57
+ /** Extra classes merged onto the outer strip (e.g. sticky/fixed positioning). */
58
+ className?: string;
59
+ }
60
+ export declare const TabBar: import("react").ForwardRefExoticComponent<TabBarProps & import("react").RefAttributes<HTMLDivElement>>;
61
+ //# sourceMappingURL=tab-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tab-bar.d.ts","sourceRoot":"","sources":["../../../src/components/tab-bar/tab-bar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAKnD,MAAM,WAAW,UAAU;IACzB,sEAAsE;IACtE,EAAE,EAAE,MAAM,CAAC;IACX,oEAAoE;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,4FAA4F;IAC5F,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,2DAA2D;IAC3D,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mFAAmF;IACnF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iFAAiF;IACjF,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,WAAW;IAC1B,0BAA0B;IAC1B,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,gDAAgD;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAC5B,iFAAiF;IACjF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAuED,eAAO,MAAM,MAAM,wGA8DlB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { T as o, t } from "../../_chunks/theme-toggle-DpC28kt5.js";
1
+ import { T as o, t } from "../../_chunks/theme-toggle-ClATnY4Q.js";
2
2
  export {
3
3
  o as ThemeToggle,
4
4
  t as themeToggleAgent
@@ -1,4 +1,4 @@
1
- import { T as s, t as o, a as e, b as r, c as n, d as c, e as g } from "../../_chunks/toast.agent-WHHfw5VX.js";
1
+ import { T as s, t as o, a as e, b as r, c as n, d as c, e as g } from "../../_chunks/toast.agent-B0MCsvdZ.js";
2
2
  export {
3
3
  s as Toaster,
4
4
  o as toastAgent,
@@ -1,4 +1,4 @@
1
- import { C as r, U as t, a as U, b as e, c as n } from "../../_chunks/unit-converter-EUwO6QYq.js";
1
+ import { C as r, U as t, a as U, b as e, c as n } from "../../_chunks/unit-converter-D1UrEUxa.js";
2
2
  export {
3
3
  r as CATEGORIES,
4
4
  t as UNITS,
@@ -1,5 +1,5 @@
1
1
  import { type VariantProps } from 'class-variance-authority';
2
- import { type InsertPayload } from '../_shared/insert-result';
2
+ import { type InsertPayload, type InsertVariant, type InsertMode } from '../_shared/insert-result';
3
3
  import { type UnitCategory } from './units';
4
4
  declare const rootVariants: (props?: ({
5
5
  width?: "auto" | "full" | null | undefined;
@@ -11,6 +11,16 @@ export interface UnitConverterProps extends VariantProps<typeof rootVariants> {
11
11
  onResultChange?: (value: number | null) => void;
12
12
  /** When provided, shows an "Insert" button that emits the result for an editor. */
13
13
  onInsert?: (payload: InsertPayload) => void;
14
+ /**
15
+ * Which verb the result button performs. Defaults to `'insert'`.
16
+ * Use `'copy'` in an app-shell surface (no editor to insert into) — the
17
+ * button writes the result to the clipboard as a multi-format `ClipboardItem`.
18
+ */
19
+ insertVariant?: InsertVariant;
20
+ /** `copy` variant only — fired after a successful clipboard write. */
21
+ onCopy?: (mode: InsertMode) => void;
22
+ /** `copy` variant only — fired if the clipboard write can't proceed. */
23
+ onError?: (error: unknown) => void;
14
24
  /** Opaque instance id, emitted as `data-component-id`. */
15
25
  id?: string;
16
26
  /** Extra class names on the wrapper. */
@@ -1 +1 @@
1
- {"version":3,"file":"unit-converter.d.ts","sourceRoot":"","sources":["../../../src/components/unit-converter/unit-converter.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,OAAO,EAAgB,KAAK,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC5E,OAAO,EACL,KAAK,YAAY,EAIlB,MAAM,SAAS,CAAC;AAEjB,QAAA,MAAM,YAAY;;8EAKhB,CAAC;AAEH,MAAM,WAAW,kBAAmB,SAAQ,YAAY,CAAC,OAAO,YAAY,CAAC;IAC3E,gDAAgD;IAChD,eAAe,CAAC,EAAE,YAAY,CAAC;IAC/B,uEAAuE;IACvE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAChD,mFAAmF;IACnF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,+GA0IzB,CAAC"}
1
+ {"version":3,"file":"unit-converter.d.ts","sourceRoot":"","sources":["../../../src/components/unit-converter/unit-converter.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,UAAU,EAChB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,KAAK,YAAY,EAIlB,MAAM,SAAS,CAAC;AAEjB,QAAA,MAAM,YAAY;;8EAKhB,CAAC;AAEH,MAAM,WAAW,kBAAmB,SAAQ,YAAY,CAAC,OAAO,YAAY,CAAC;IAC3E,gDAAgD;IAChD,eAAe,CAAC,EAAE,YAAY,CAAC;IAC/B,uEAAuE;IACvE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAChD,mFAAmF;IACnF,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,aAAa,KAAK,IAAI,CAAC;IAC5C;;;;OAIG;IACH,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,sEAAsE;IACtE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IACpC,wEAAwE;IACxE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC,0DAA0D;IAC1D,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wCAAwC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,+GAgJzB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-C3gB0FvB.js";
1
+ import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-BFNpzTiw.js";
2
2
  export {
3
3
  r as CORE_PATIENT_FIELDS,
4
4
  e as WorkflowCard,
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/i18n/config.ts"],"names":[],"mappings":"AAAA,OAAO,OAAsC,MAAM,SAAS,CAAC;AA0E7D;;;;;GAKG;AACH,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAoB5D;AAED,2EAA2E;AAC3E,wBAAsB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAG3D;AAED;;+DAE+D;AAC/D,wBAAsB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAEpD;AAeD,eAAe,OAAO,CAAC;AAiBvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/i18n/config.ts"],"names":[],"mappings":"AAAA,OAAO,OAAsC,MAAM,SAAS,CAAC;AAgH7D;;;;;GAKG;AACH,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAoB5D;AAED,2EAA2E;AAC3E,wBAAsB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAG3D;AAED;;+DAE+D;AAC/D,wBAAsB,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAEpD;AAeD,eAAe,OAAO,CAAC;AAiBvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,7 +1,7 @@
1
- import t from "i18next";
1
+ import i from "i18next";
2
2
  import { default as v } from "i18next";
3
- import { initReactI18next as u } from "react-i18next";
4
- import { enUi as p } from "./locales/en.js";
3
+ import { initReactI18next as p } from "react-i18next";
4
+ import { enUi as o } from "./locales/en.js";
5
5
  const c = [
6
6
  "en",
7
7
  "it",
@@ -22,18 +22,18 @@ const c = [
22
22
  "zh",
23
23
  "hi"
24
24
  ];
25
- function d(e, i) {
26
- t.addResourceBundle(
25
+ function U(e, t) {
26
+ i.addResourceBundle(
27
27
  e,
28
28
  "ui",
29
- i,
29
+ t,
30
30
  /* deep */
31
31
  !0,
32
32
  /* overwrite */
33
33
  !1
34
34
  );
35
35
  }
36
- const l = {}, r = typeof import.meta < "u" && typeof l < "u" && !1, o = {
36
+ const m = {}, r = typeof import.meta < "u" && typeof m < "u" && !1, s = {
37
37
  it: () => import("./locales/it.js").then((e) => e.itUi),
38
38
  de: () => import("./locales/de.js").then((e) => e.deUi),
39
39
  ar: () => import("./locales/ar.js").then((e) => e.arUi),
@@ -52,11 +52,25 @@ const l = {}, r = typeof import.meta < "u" && typeof l < "u" && !1, o = {
52
52
  zh: () => import("./locales/zh.js").then((e) => e.zhUi),
53
53
  hi: () => import("./locales/hi.js").then((e) => e.hiUi)
54
54
  };
55
- t.use(u).init({
55
+ function u() {
56
+ i.addResourceBundle(
57
+ "en",
58
+ "ui",
59
+ o,
60
+ /* deep */
61
+ !0,
62
+ /* overwrite */
63
+ !1
64
+ );
65
+ }
66
+ i.isInitialized ? u() : i.use(p).init({
56
67
  lng: "en",
57
68
  fallbackLng: "en",
58
69
  ns: ["ui"],
59
70
  defaultNS: "ui",
71
+ // The kit bundles only `en` eagerly and lazy-loads the rest, so the store
72
+ // is partially bundled — let a later consumer `init()` / backend coexist.
73
+ partialBundledLanguages: !0,
60
74
  debug: r,
61
75
  saveMissing: r,
62
76
  missingKeyHandler: void 0,
@@ -67,39 +81,40 @@ t.use(u).init({
67
81
  // changeLanguage wrapper below (or the explicit `loadLocale` /
68
82
  // `setLocale` / `loadAllLocales` helpers).
69
83
  resources: {
70
- en: { ui: p }
84
+ en: { ui: o }
71
85
  }
72
86
  });
87
+ i.on("initialized", u);
73
88
  async function n(e) {
74
- if (e === "en" || t.hasResourceBundle(e, "ui")) return;
75
- const i = o[e];
76
- if (!i)
89
+ if (e === "en" || i.hasResourceBundle(e, "ui")) return;
90
+ const t = s[e];
91
+ if (!t)
77
92
  return;
78
- const s = await i();
79
- t.addResourceBundle(
93
+ const l = await t();
94
+ i.addResourceBundle(
80
95
  e,
81
96
  "ui",
82
- s,
97
+ l,
83
98
  /* deep */
84
99
  !0,
85
100
  /* overwrite */
86
101
  !1
87
102
  );
88
103
  }
89
- async function U(e) {
90
- await n(e), await t.changeLanguage(e);
104
+ async function g(e) {
105
+ await n(e), await i.changeLanguage(e);
91
106
  }
92
- async function g() {
93
- await Promise.all(Object.keys(o).map((e) => n(e)));
107
+ async function L() {
108
+ await Promise.all(Object.keys(s).map((e) => n(e)));
94
109
  }
95
- const a = t.changeLanguage.bind(t);
96
- t.changeLanguage = ((e, i) => e ? n(e).then(() => a(e, i)) : a(e, i));
110
+ const a = i.changeLanguage.bind(i);
111
+ i.changeLanguage = ((e, t) => e ? n(e).then(() => a(e, t)) : a(e, t));
97
112
  export {
98
113
  c as LOCALES_WITH_BUNDLES,
99
114
  v as default,
100
- g as loadAllLocales,
115
+ L as loadAllLocales,
101
116
  n as loadLocale,
102
- d as registerUiBundle,
103
- U as setLocale
117
+ U as registerUiBundle,
118
+ g as setLocale
104
119
  };
105
120
  //# sourceMappingURL=config.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.js","sources":["../../src/i18n/resources.ts","../../src/i18n/registerUiBundle.ts","../../src/i18n/config.ts"],"sourcesContent":["/* -------------------------------------------------------------------- */\n/* DS i18n resources — aggregate re-exports across all 18 locales. */\n/* */\n/* Every locale lives in its own `./locales/<code>.ts` module so the */\n/* runtime can dynamic-import them (one chunk per locale, see config.ts */\n/* LOADERS map). This file is the eager entry point — used by */\n/* scripts/build-locales.mjs (emits dist/locales/<code>.json) and by */\n/* consumers who want to inline every locale at import time. */\n/* */\n/* 0.30.5: en + it extracted from inline blocks into per-locale files */\n/* (./locales/en.ts, ./locales/it.ts) so the lazy-load story is */\n/* uniform across the 18 locales — no locale lives in this file anymore. */\n/* -------------------------------------------------------------------- */\n\nexport { enUi } from './locales/en.ts';\nexport { itUi } from './locales/it.ts';\nexport { arUi } from './locales/ar.ts';\nexport { deUi } from './locales/de.ts';\nexport { elUi } from './locales/el.ts';\nexport { esUi } from './locales/es.ts';\nexport { frUi } from './locales/fr.ts';\nexport { hiUi } from './locales/hi.ts';\nexport { jaUi } from './locales/ja.ts';\nexport { nlUi } from './locales/nl.ts';\nexport { plUi } from './locales/pl.ts';\nexport { ptUi } from './locales/pt.ts';\nexport { roUi } from './locales/ro.ts';\nexport { ruUi } from './locales/ru.ts';\nexport { sqUi } from './locales/sq.ts';\nexport { svUi } from './locales/sv.ts';\nexport { trUi } from './locales/tr.ts';\nexport { zhUi } from './locales/zh.ts';\n\nimport { enUi } from './locales/en.ts';\nimport { itUi } from './locales/it.ts';\nimport { arUi } from './locales/ar.ts';\nimport { deUi } from './locales/de.ts';\nimport { elUi } from './locales/el.ts';\nimport { esUi } from './locales/es.ts';\nimport { frUi } from './locales/fr.ts';\nimport { hiUi } from './locales/hi.ts';\nimport { jaUi } from './locales/ja.ts';\nimport { nlUi } from './locales/nl.ts';\nimport { plUi } from './locales/pl.ts';\nimport { ptUi } from './locales/pt.ts';\nimport { roUi } from './locales/ro.ts';\nimport { ruUi } from './locales/ru.ts';\nimport { sqUi } from './locales/sq.ts';\nimport { svUi } from './locales/sv.ts';\nimport { trUi } from './locales/tr.ts';\nimport { zhUi } from './locales/zh.ts';\n\n/**\n * Locales that ship a JSON bundle. Consumer apps register these via\n * `i18n.addResourceBundle(locale, 'ui', bundle)` — see docs/06-i18n.mdx.\n * Locales not listed here fall back to English through i18next's own\n * `fallbackLng` resolution.\n */\nexport const LOCALES_WITH_BUNDLES = [\n 'en',\n 'it',\n 'de',\n 'ar',\n 'fr',\n 'es',\n 'pt',\n 'nl',\n 'ro',\n 'sq',\n 'tr',\n 'pl',\n 'sv',\n 'ru',\n 'el',\n 'ja',\n 'zh',\n 'hi',\n] as const;\n\n/** Per-locale `ui` resources keyed by IETF locale tag. */\nexport const uiResources: Record<\n (typeof LOCALES_WITH_BUNDLES)[number],\n Record<string, unknown>\n> = {\n en: enUi,\n it: itUi,\n de: deUi,\n ar: arUi,\n fr: frUi,\n es: esUi,\n pt: ptUi,\n nl: nlUi,\n ro: roUi,\n sq: sqUi,\n tr: trUi,\n pl: plUi,\n sv: svUi,\n ru: ruUi,\n el: elUi,\n ja: jaUi,\n zh: zhUi,\n hi: hiUi,\n};\n","import i18next from 'i18next';\n\n/**\n * Register or extend the `ui` namespace bundle for a locale.\n *\n * Use this only when:\n * - You're shipping a locale the kit doesn't bundle yet (currently\n * en / it / de / ar are auto-registered; ask the DS team before\n * adding more)\n * - You're overriding individual kit strings for a specific consumer\n *\n * Calling `i18next.addResourceBundle` directly is considered private\n * API — go through this helper so that the deep-merge / overwrite\n * semantics stay consistent across consumers.\n */\nexport function registerUiBundle(\n locale: string,\n bundle: Record<string, unknown>,\n): void {\n i18next.addResourceBundle(\n locale,\n 'ui',\n bundle,\n /* deep */ true,\n /* overwrite */ false,\n );\n}\n","import i18next, { type i18n as I18nInstance } from 'i18next';\nimport { initReactI18next } from 'react-i18next';\nimport { enUi } from './locales/en.ts';\n\n/* -------------------------------------------------------------------- */\n/* DS i18n runtime — eager-init English, lazy-load the other 17 locales. */\n/* */\n/* 0.30.5: only English is bundled into the entry chunk. The other 17 */\n/* locales are dynamic imports — Vite emits each as its own ~30-60 KB */\n/* chunk, fetched on demand when a consumer calls `setLocale(code)` or */\n/* `i18next.changeLanguage(code)`. Resolves the Babel deopt warning on */\n/* consumer builds (`dist/i18n/config.js` previously >800 KB) and cuts */\n/* the initial paint cost for consumers who only ever use English. */\n/* */\n/* Consumers that need all locales up-front can call `loadAllLocales()` */\n/* on app boot — emits 17 parallel `import()` calls. */\n/* -------------------------------------------------------------------- */\n\n// In DEV we warn on missing keys so typos surface immediately. In\n// production the handlers tree-shake to no-ops via the import.meta.env\n// guard.\nconst IS_DEV =\n typeof import.meta !== 'undefined' &&\n typeof import.meta.env !== 'undefined' &&\n import.meta.env.DEV === true;\n\n// Per-locale dynamic-import loaders. Each entry produces its own chunk\n// when bundled (Vite / esbuild's static-`import()`-call detection).\n// English is omitted because it ships eagerly in the entry chunk.\nconst LOADERS: Record<string, () => Promise<Record<string, unknown>>> = {\n it: () => import('./locales/it.ts').then((m) => m.itUi),\n de: () => import('./locales/de.ts').then((m) => m.deUi),\n ar: () => import('./locales/ar.ts').then((m) => m.arUi),\n fr: () => import('./locales/fr.ts').then((m) => m.frUi),\n es: () => import('./locales/es.ts').then((m) => m.esUi),\n pt: () => import('./locales/pt.ts').then((m) => m.ptUi),\n nl: () => import('./locales/nl.ts').then((m) => m.nlUi),\n ro: () => import('./locales/ro.ts').then((m) => m.roUi),\n sq: () => import('./locales/sq.ts').then((m) => m.sqUi),\n tr: () => import('./locales/tr.ts').then((m) => m.trUi),\n pl: () => import('./locales/pl.ts').then((m) => m.plUi),\n sv: () => import('./locales/sv.ts').then((m) => m.svUi),\n ru: () => import('./locales/ru.ts').then((m) => m.ruUi),\n el: () => import('./locales/el.ts').then((m) => m.elUi),\n ja: () => import('./locales/ja.ts').then((m) => m.jaUi),\n zh: () => import('./locales/zh.ts').then((m) => m.zhUi),\n hi: () => import('./locales/hi.ts').then((m) => m.hiUi),\n};\n\ni18next.use(initReactI18next).init({\n lng: 'en',\n fallbackLng: 'en',\n ns: ['ui'],\n defaultNS: 'ui',\n debug: IS_DEV,\n saveMissing: IS_DEV,\n missingKeyHandler: IS_DEV\n ? (lngs, ns, key) => {\n console.warn(\n `[i18n] Missing key \"${key}\" in namespace \"${ns}\" for locales [${lngs.join(', ')}].`,\n );\n }\n : undefined,\n interpolation: {\n escapeValue: false,\n },\n // English-only at init — the other 17 locales load on demand via the\n // changeLanguage wrapper below (or the explicit `loadLocale` /\n // `setLocale` / `loadAllLocales` helpers).\n resources: {\n en: { ui: enUi },\n },\n});\n\n/**\n * Lazy-load a locale's `ui` bundle and register it with i18next. No-op\n * for `en` (already in the entry chunk) and for locales already\n * registered. Unknown locales resolve without registering — i18next's\n * `fallbackLng` handles the lookup.\n */\nexport async function loadLocale(code: string): Promise<void> {\n if (code === 'en') return;\n if (i18next.hasResourceBundle(code, 'ui')) return;\n const loader = LOADERS[code];\n if (!loader) {\n if (IS_DEV) {\n console.warn(\n `[i18n] loadLocale: no bundle for \"${code}\"; falling back to \"en\".`,\n );\n }\n return;\n }\n const bundle = await loader();\n i18next.addResourceBundle(\n code,\n 'ui',\n bundle,\n /* deep */ true,\n /* overwrite */ false,\n );\n}\n\n/** Convenience: `loadLocale(code)` then `i18next.changeLanguage(code)`. */\nexport async function setLocale(code: string): Promise<void> {\n await loadLocale(code);\n await i18next.changeLanguage(code);\n}\n\n/** Eager-load every locale bundle in parallel. Useful at app boot when\n * the consumer can afford the up-front cost (offline-first apps,\n * marketing pages that switch locales without a re-fetch). */\nexport async function loadAllLocales(): Promise<void> {\n await Promise.all(Object.keys(LOADERS).map((code) => loadLocale(code)));\n}\n\n// Transparent `changeLanguage` wrapping — consumers keep calling\n// `i18next.changeLanguage('it')` and the kit auto-loads the bundle\n// first. Preserves the 0.30.x API surface; the wrapped method still\n// returns a Promise<TFunction>.\nconst originalChangeLanguage = i18next.changeLanguage.bind(i18next);\ntype ChangeLanguageFn = I18nInstance['changeLanguage'];\ni18next.changeLanguage = ((lng, callback) => {\n if (lng) {\n return loadLocale(lng).then(() => originalChangeLanguage(lng, callback));\n }\n return originalChangeLanguage(lng, callback);\n}) as ChangeLanguageFn;\n\nexport default i18next;\n// 0.30.5: per-locale named re-exports (`itUi`, `deUi`, ...) and the\n// aggregate `uiResources` are no longer re-exported here — they pulled\n// every locale into the consumer's bundle even when only English was\n// referenced (re-exports defeat tree-shaking through this entry point).\n//\n// Consumers that need a specific locale's bundle directly should import\n// from the per-locale subpath:\n//\n// import { itUi } from '@alfadocs/ui-kit/i18n/locales/it';\n//\n// Or, more commonly, just call `i18next.changeLanguage('it')` and let\n// the kit lazy-load it for you (transparent via the `changeLanguage`\n// wrapping above).\n//\n// `LOCALES_WITH_BUNDLES` is a small const array (no locale data) and\n// stays re-exported.\nexport { LOCALES_WITH_BUNDLES } from './resources';\nexport { registerUiBundle } from './registerUiBundle';\n"],"names":["LOCALES_WITH_BUNDLES","registerUiBundle","locale","bundle","i18next","IS_DEV","__vite_import_meta_env__","LOADERS","m","initReactI18next","enUi","loadLocale","code","loader","setLocale","loadAllLocales","originalChangeLanguage","lng","callback"],"mappings":";;;;AA0DO,MAAMA,IAAuB;AAAA,EAClC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AC9DO,SAASC,EACdC,GACAC,GACM;AACN,EAAAC,EAAQ;AAAA,IACNF;AAAA,IACA;AAAA,IACAC;AAAA;AAAA,IACW;AAAA;AAAA,IACK;AAAA,EAAA;AAEpB;cCLME,IACJ,OAAO,cAAgB,OACvB,OAAOC,IAAoB,OAC3B,IAKIC,IAAkE;AAAA,EACtE,IAAI,MAAM,OAAO,iBAAiB,EAAE,KAAK,CAACC,MAAMA,EAAE,IAAI;AAAA,EACtD,IAAI,MAAM,OAAO,iBAAiB,EAAE,KAAK,CAACA,MAAMA,EAAE,IAAI;AAAA,EACtD,IAAI,MAAM,OAAO,iBAAiB,EAAE,KAAK,CAACA,MAAMA,EAAE,IAAI;AAAA,EACtD,IAAI,MAAM,OAAO,iBAAiB,EAAE,KAAK,CAACA,MAAMA,EAAE,IAAI;AAAA,EACtD,IAAI,MAAM,OAAO,iBAAiB,EAAE,KAAK,CAACA,MAAMA,EAAE,IAAI;AAAA,EACtD,IAAI,MAAM,OAAO,iBAAiB,EAAE,KAAK,CAACA,MAAM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AAQ,kBAAkBQ,GAAM,IAAI,EAAG;AAC3C,QAAMC,IAASN,EAAQK,CAAI;AAC3B,MAAI,CAACC;AAMH;AAEF,QAAMV,IAAS,MAAMU,EAAA;AACrB,EAAAT,EAAQ;AAAA,IACNQ;AAAA,IACA;AAAA,IACAT;AAAA;AAAA,IACW;AAAA;AAAA,IACK;AAAA,EAAA;AAEpB;AAGA,eAAsBW,EAAUF,GAA6B;AAC3D,QAAMD,EAAWC,CAAI,GACrB,MAAMR,EAAQ,eAAeQ,CAAI;AACnC;AAKA,eAAsBG,IAAgC;AACpD,QAAM,QAAQ,IAAI,OAAO,KAAKR,CAAO,EAAE,IAAI,CAACK,MAASD,EAAWC,CAAI,CAAC,CAAC;AACxE;AAMA,MAAMI,IAAyBZ,EAAQ,eAAe,KAAKA,CAAO;AAElEA,EAAQ,kBAAkB,CAACa,GAAKC,MAC1BD,IACKN,EAAWM,CAAG,EAAE,KAAK,MAAMD,EAAuBC,GAAKC,CAAQ,CAAC,IAElEF,EAAuBC,GAAKC,CAAQ;"}
1
+ {"version":3,"file":"config.js","sources":["../../src/i18n/resources.ts","../../src/i18n/registerUiBundle.ts","../../src/i18n/config.ts"],"sourcesContent":["/* -------------------------------------------------------------------- */\n/* DS i18n resources — aggregate re-exports across all 18 locales. */\n/* */\n/* Every locale lives in its own `./locales/<code>.ts` module so the */\n/* runtime can dynamic-import them (one chunk per locale, see config.ts */\n/* LOADERS map). This file is the eager entry point — used by */\n/* scripts/build-locales.mjs (emits dist/locales/<code>.json) and by */\n/* consumers who want to inline every locale at import time. */\n/* */\n/* 0.30.5: en + it extracted from inline blocks into per-locale files */\n/* (./locales/en.ts, ./locales/it.ts) so the lazy-load story is */\n/* uniform across the 18 locales — no locale lives in this file anymore. */\n/* -------------------------------------------------------------------- */\n\nexport { enUi } from './locales/en.ts';\nexport { itUi } from './locales/it.ts';\nexport { arUi } from './locales/ar.ts';\nexport { deUi } from './locales/de.ts';\nexport { elUi } from './locales/el.ts';\nexport { esUi } from './locales/es.ts';\nexport { frUi } from './locales/fr.ts';\nexport { hiUi } from './locales/hi.ts';\nexport { jaUi } from './locales/ja.ts';\nexport { nlUi } from './locales/nl.ts';\nexport { plUi } from './locales/pl.ts';\nexport { ptUi } from './locales/pt.ts';\nexport { roUi } from './locales/ro.ts';\nexport { ruUi } from './locales/ru.ts';\nexport { sqUi } from './locales/sq.ts';\nexport { svUi } from './locales/sv.ts';\nexport { trUi } from './locales/tr.ts';\nexport { zhUi } from './locales/zh.ts';\n\nimport { enUi } from './locales/en.ts';\nimport { itUi } from './locales/it.ts';\nimport { arUi } from './locales/ar.ts';\nimport { deUi } from './locales/de.ts';\nimport { elUi } from './locales/el.ts';\nimport { esUi } from './locales/es.ts';\nimport { frUi } from './locales/fr.ts';\nimport { hiUi } from './locales/hi.ts';\nimport { jaUi } from './locales/ja.ts';\nimport { nlUi } from './locales/nl.ts';\nimport { plUi } from './locales/pl.ts';\nimport { ptUi } from './locales/pt.ts';\nimport { roUi } from './locales/ro.ts';\nimport { ruUi } from './locales/ru.ts';\nimport { sqUi } from './locales/sq.ts';\nimport { svUi } from './locales/sv.ts';\nimport { trUi } from './locales/tr.ts';\nimport { zhUi } from './locales/zh.ts';\n\n/**\n * Locales that ship a JSON bundle. Consumer apps register these via\n * `i18n.addResourceBundle(locale, 'ui', bundle)` — see docs/06-i18n.mdx.\n * Locales not listed here fall back to English through i18next's own\n * `fallbackLng` resolution.\n */\nexport const LOCALES_WITH_BUNDLES = [\n 'en',\n 'it',\n 'de',\n 'ar',\n 'fr',\n 'es',\n 'pt',\n 'nl',\n 'ro',\n 'sq',\n 'tr',\n 'pl',\n 'sv',\n 'ru',\n 'el',\n 'ja',\n 'zh',\n 'hi',\n] as const;\n\n/** Per-locale `ui` resources keyed by IETF locale tag. */\nexport const uiResources: Record<\n (typeof LOCALES_WITH_BUNDLES)[number],\n Record<string, unknown>\n> = {\n en: enUi,\n it: itUi,\n de: deUi,\n ar: arUi,\n fr: frUi,\n es: esUi,\n pt: ptUi,\n nl: nlUi,\n ro: roUi,\n sq: sqUi,\n tr: trUi,\n pl: plUi,\n sv: svUi,\n ru: ruUi,\n el: elUi,\n ja: jaUi,\n zh: zhUi,\n hi: hiUi,\n};\n","import i18next from 'i18next';\n\n/**\n * Register or extend the `ui` namespace bundle for a locale.\n *\n * Use this only when:\n * - You're shipping a locale the kit doesn't bundle yet (currently\n * en / it / de / ar are auto-registered; ask the DS team before\n * adding more)\n * - You're overriding individual kit strings for a specific consumer\n *\n * Calling `i18next.addResourceBundle` directly is considered private\n * API — go through this helper so that the deep-merge / overwrite\n * semantics stay consistent across consumers.\n */\nexport function registerUiBundle(\n locale: string,\n bundle: Record<string, unknown>,\n): void {\n i18next.addResourceBundle(\n locale,\n 'ui',\n bundle,\n /* deep */ true,\n /* overwrite */ false,\n );\n}\n","import i18next, { type i18n as I18nInstance } from 'i18next';\nimport { initReactI18next } from 'react-i18next';\nimport { enUi } from './locales/en.ts';\n\n/* -------------------------------------------------------------------- */\n/* DS i18n runtime — eager-init English, lazy-load the other 17 locales. */\n/* */\n/* 0.30.5: only English is bundled into the entry chunk. The other 17 */\n/* locales are dynamic imports — Vite emits each as its own ~30-60 KB */\n/* chunk, fetched on demand when a consumer calls `setLocale(code)` or */\n/* `i18next.changeLanguage(code)`. Resolves the Babel deopt warning on */\n/* consumer builds (`dist/i18n/config.js` previously >800 KB) and cuts */\n/* the initial paint cost for consumers who only ever use English. */\n/* */\n/* Consumers that need all locales up-front can call `loadAllLocales()` */\n/* on app boot — emits 17 parallel `import()` calls. */\n/* -------------------------------------------------------------------- */\n\n// In DEV we warn on missing keys so typos surface immediately. In\n// production the handlers tree-shake to no-ops via the import.meta.env\n// guard.\nconst IS_DEV =\n typeof import.meta !== 'undefined' &&\n typeof import.meta.env !== 'undefined' &&\n import.meta.env.DEV === true;\n\n// Per-locale dynamic-import loaders. Each entry produces its own chunk\n// when bundled (Vite / esbuild's static-`import()`-call detection).\n// English is omitted because it ships eagerly in the entry chunk.\nconst LOADERS: Record<string, () => Promise<Record<string, unknown>>> = {\n it: () => import('./locales/it.ts').then((m) => m.itUi),\n de: () => import('./locales/de.ts').then((m) => m.deUi),\n ar: () => import('./locales/ar.ts').then((m) => m.arUi),\n fr: () => import('./locales/fr.ts').then((m) => m.frUi),\n es: () => import('./locales/es.ts').then((m) => m.esUi),\n pt: () => import('./locales/pt.ts').then((m) => m.ptUi),\n nl: () => import('./locales/nl.ts').then((m) => m.nlUi),\n ro: () => import('./locales/ro.ts').then((m) => m.roUi),\n sq: () => import('./locales/sq.ts').then((m) => m.sqUi),\n tr: () => import('./locales/tr.ts').then((m) => m.trUi),\n pl: () => import('./locales/pl.ts').then((m) => m.plUi),\n sv: () => import('./locales/sv.ts').then((m) => m.svUi),\n ru: () => import('./locales/ru.ts').then((m) => m.ruUi),\n el: () => import('./locales/el.ts').then((m) => m.elUi),\n ja: () => import('./locales/ja.ts').then((m) => m.jaUi),\n zh: () => import('./locales/zh.ts').then((m) => m.zhUi),\n hi: () => import('./locales/hi.ts').then((m) => m.hiUi),\n};\n\n/**\n * Register the kit's `ui` namespace bundles onto whatever i18next instance the\n * consumer is running — deep-merged, NEVER overwriting existing keys. Only\n * English is registered here (the eagerly-bundled locale); the other 17\n * self-register on demand through `loadLocale` / the `changeLanguage` wrapper.\n * Safe to call repeatedly: it re-runs after a consumer `init()` replaces the\n * resource store (see the `initialized` listener below).\n */\nfunction registerUiBundles(): void {\n i18next.addResourceBundle(\n 'en',\n 'ui',\n enUi,\n /* deep */ true,\n /* overwrite */ false,\n );\n}\n\n// A library must NEVER re-`init()` the host's global i18next singleton. If the\n// consumer has already initialised it, we only add our `ui` bundles and leave\n// their language / defaultNS / resources untouched — re-`init` would wipe the\n// app's resources, reset its language to `en`, and hijack `defaultNS` to `ui`\n// (the 0.39.0 alfacare-tools clash). We bootstrap a minimal init ONLY when the\n// kit is genuinely the first/only initialiser (Storybook, tests, a consumer\n// that doesn't own i18next).\nif (i18next.isInitialized) {\n registerUiBundles();\n} else {\n i18next.use(initReactI18next).init({\n lng: 'en',\n fallbackLng: 'en',\n ns: ['ui'],\n defaultNS: 'ui',\n // The kit bundles only `en` eagerly and lazy-loads the rest, so the store\n // is partially bundled — let a later consumer `init()` / backend coexist.\n partialBundledLanguages: true,\n debug: IS_DEV,\n saveMissing: IS_DEV,\n missingKeyHandler: IS_DEV\n ? (lngs, ns, key) => {\n console.warn(\n `[i18n] Missing key \"${key}\" in namespace \"${ns}\" for locales [${lngs.join(', ')}].`,\n );\n }\n : undefined,\n interpolation: {\n escapeValue: false,\n },\n // English-only at init — the other 17 locales load on demand via the\n // changeLanguage wrapper below (or the explicit `loadLocale` /\n // `setLocale` / `loadAllLocales` helpers).\n resources: {\n en: { ui: enUi },\n },\n });\n}\n\n// If the consumer's `init()` runs AFTER this module is imported, its\n// `resources` option replaces the whole store and drops our `ui` bundles —\n// re-add them on every `initialized` event so kit strings survive. Harmless\n// when the kit was the initialiser (the bundle is already present, no-overwrite).\ni18next.on('initialized', registerUiBundles);\n\n/**\n * Lazy-load a locale's `ui` bundle and register it with i18next. No-op\n * for `en` (already in the entry chunk) and for locales already\n * registered. Unknown locales resolve without registering — i18next's\n * `fallbackLng` handles the lookup.\n */\nexport async function loadLocale(code: string): Promise<void> {\n if (code === 'en') return;\n if (i18next.hasResourceBundle(code, 'ui')) return;\n const loader = LOADERS[code];\n if (!loader) {\n if (IS_DEV) {\n console.warn(\n `[i18n] loadLocale: no bundle for \"${code}\"; falling back to \"en\".`,\n );\n }\n return;\n }\n const bundle = await loader();\n i18next.addResourceBundle(\n code,\n 'ui',\n bundle,\n /* deep */ true,\n /* overwrite */ false,\n );\n}\n\n/** Convenience: `loadLocale(code)` then `i18next.changeLanguage(code)`. */\nexport async function setLocale(code: string): Promise<void> {\n await loadLocale(code);\n await i18next.changeLanguage(code);\n}\n\n/** Eager-load every locale bundle in parallel. Useful at app boot when\n * the consumer can afford the up-front cost (offline-first apps,\n * marketing pages that switch locales without a re-fetch). */\nexport async function loadAllLocales(): Promise<void> {\n await Promise.all(Object.keys(LOADERS).map((code) => loadLocale(code)));\n}\n\n// Transparent `changeLanguage` wrapping — consumers keep calling\n// `i18next.changeLanguage('it')` and the kit auto-loads the bundle\n// first. Preserves the 0.30.x API surface; the wrapped method still\n// returns a Promise<TFunction>.\nconst originalChangeLanguage = i18next.changeLanguage.bind(i18next);\ntype ChangeLanguageFn = I18nInstance['changeLanguage'];\ni18next.changeLanguage = ((lng, callback) => {\n if (lng) {\n return loadLocale(lng).then(() => originalChangeLanguage(lng, callback));\n }\n return originalChangeLanguage(lng, callback);\n}) as ChangeLanguageFn;\n\nexport default i18next;\n// 0.30.5: per-locale named re-exports (`itUi`, `deUi`, ...) and the\n// aggregate `uiResources` are no longer re-exported here — they pulled\n// every locale into the consumer's bundle even when only English was\n// referenced (re-exports defeat tree-shaking through this entry point).\n//\n// Consumers that need a specific locale's bundle directly should import\n// from the per-locale subpath:\n//\n// import { itUi } from '@alfadocs/ui-kit/i18n/locales/it';\n//\n// Or, more commonly, just call `i18next.changeLanguage('it')` and let\n// the kit lazy-load it for you (transparent via the `changeLanguage`\n// wrapping above).\n//\n// `LOCALES_WITH_BUNDLES` is a small const array (no locale data) and\n// stays re-exported.\nexport { LOCALES_WITH_BUNDLES } from './resources';\nexport { registerUiBundle } from './registerUiBundle';\n"],"names":["LOCALES_WITH_BUNDLES","registerUiBundle","locale","bundle","i18next","IS_DEV","__vite_import_meta_env__","LOADERS","m","registerUiBundles","enUi","initReactI18next","loadLocale","code","loader","setLocale","loadAllLocales","originalChangeLanguage","lng","callback"],"mappings":";;;;AA0DO,MAAMA,IAAuB;AAAA,EAClC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;AC9DO,SAASC,EACdC,GAC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AAO,EAAE,IAAI,CAACM,MAASD,EAAWC,CAAI,CAAC,CAAC;AACxE;AAMA,MAAMI,IAAyBb,EAAQ,eAAe,KAAKA,CAAO;AAElEA,EAAQ,kBAAkB,CAACc,GAAKC,MAC1BD,IACKN,EAAWM,CAAG,EAAE,KAAK,MAAMD,EAAuBC,GAAKC,CAAQ,CAAC,IAElEF,EAAuBC,GAAKC,CAAQ;"}
@@ -189,6 +189,19 @@ export declare const arUi: {
189
189
  readonly results_many: "{{count}} نتيجة";
190
190
  readonly results_other: "{{count}} نتيجة";
191
191
  };
192
+ readonly addressAutocomplete: {
193
+ readonly ariaLabel: "العنوان";
194
+ readonly listLabel: "اقتراحات العنوان";
195
+ readonly placeholder: "ابدأ بكتابة عنوان…";
196
+ readonly loading: "جارٍ تحميل الاقتراحات…";
197
+ readonly noResults: "لا توجد عناوين مطابقة";
198
+ readonly results_one: "{{count}} اقتراح";
199
+ readonly results_zero: "{{count}} اقتراحات";
200
+ readonly results_two: "{{count}} اقتراحات";
201
+ readonly results_few: "{{count}} اقتراحات";
202
+ readonly results_many: "{{count}} اقتراحات";
203
+ readonly results_other: "{{count}} اقتراحات";
204
+ };
192
205
  readonly phone: {
193
206
  readonly placeholder: "رقم الهاتف";
194
207
  readonly searchCountry: "ابحث عن الدول…";
@@ -1401,6 +1414,7 @@ export declare const arUi: {
1401
1414
  readonly loading: "جارٍ تحميل PDF…";
1402
1415
  readonly error: "تعذّر تحميل PDF";
1403
1416
  readonly pageOverlay: "طبقة الصفحة {{page}}";
1417
+ readonly pagesRegionLabel: "صفحات المستند";
1404
1418
  };
1405
1419
  readonly mapView: {
1406
1420
  readonly label: "خريطة";
@@ -1792,6 +1806,9 @@ export declare const arUi: {
1792
1806
  readonly text: "إدراج نص";
1793
1807
  readonly image: "إدراج صورة";
1794
1808
  readonly textImage: "إدراج نص + صورة";
1809
+ readonly copyText: "نسخ النص";
1810
+ readonly copyImage: "نسخ الصورة";
1811
+ readonly copyTextImage: "نسخ النص + الصورة";
1795
1812
  readonly title: {
1796
1813
  readonly bmi: "مؤشر كتلة الجسم";
1797
1814
  readonly dueDate: "تاريخ الولادة المتوقع";
@@ -1 +1 @@
1
- {"version":3,"file":"ar.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/ar.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+8DP,CAAC"}
@@ -182,6 +182,19 @@ const e = {
182
182
  results_many: "{{count}} نتيجة",
183
183
  results_other: "{{count}} نتيجة"
184
184
  },
185
+ addressAutocomplete: {
186
+ ariaLabel: "العنوان",
187
+ listLabel: "اقتراحات العنوان",
188
+ placeholder: "ابدأ بكتابة عنوان…",
189
+ loading: "جارٍ تحميل الاقتراحات…",
190
+ noResults: "لا توجد عناوين مطابقة",
191
+ results_one: "{{count}} اقتراح",
192
+ results_zero: "{{count}} اقتراحات",
193
+ results_two: "{{count}} اقتراحات",
194
+ results_few: "{{count}} اقتراحات",
195
+ results_many: "{{count}} اقتراحات",
196
+ results_other: "{{count}} اقتراحات"
197
+ },
185
198
  phone: {
186
199
  placeholder: "رقم الهاتف",
187
200
  searchCountry: "ابحث عن الدول…",
@@ -1383,7 +1396,8 @@ const e = {
1383
1396
  download: "تنزيل",
1384
1397
  loading: "جارٍ تحميل PDF…",
1385
1398
  error: "تعذّر تحميل PDF",
1386
- pageOverlay: "طبقة الصفحة {{page}}"
1399
+ pageOverlay: "طبقة الصفحة {{page}}",
1400
+ pagesRegionLabel: "صفحات المستند"
1387
1401
  },
1388
1402
  mapView: {
1389
1403
  label: "خريطة",
@@ -1766,6 +1780,9 @@ const e = {
1766
1780
  text: "إدراج نص",
1767
1781
  image: "إدراج صورة",
1768
1782
  textImage: "إدراج نص + صورة",
1783
+ copyText: "نسخ النص",
1784
+ copyImage: "نسخ الصورة",
1785
+ copyTextImage: "نسخ النص + الصورة",
1769
1786
  title: {
1770
1787
  bmi: "مؤشر كتلة الجسم",
1771
1788
  dueDate: "تاريخ الولادة المتوقع",