@alfadocs/ui-kit 0.37.0 → 0.39.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 (263) hide show
  1. package/dist/_chunks/Alfadocs_Logo_Mark-7o3L3WBI.js +56 -0
  2. package/dist/_chunks/{accordion-bSU21uTV.js → accordion-9lJSMMsZ.js} +6 -6
  3. package/dist/_chunks/{agenda-tray-By_asPN9.js → agenda-tray-Dyj9ChHC.js} +22 -21
  4. package/dist/_chunks/{alia-sidebar-BEoMl6UL.js → alia-sidebar-DXsYPinm.js} +2 -2
  5. package/dist/_chunks/{ar-D1RwVZFj.js → ar-Cn_NxqkN.js} +2 -2
  6. package/dist/_chunks/bmi-BxD-tFzU.js +32 -0
  7. package/dist/_chunks/bmi-calculator-DnEr513I.js +213 -0
  8. package/dist/_chunks/{booking-DqXsd1Mv.js → booking-4mCw3Mpl.js} +5 -5
  9. package/dist/_chunks/calculator-dialog-B74fqpFZ.js +40 -0
  10. package/dist/_chunks/{chart-DnHvmiDX.js → chart-Cbt0_sKv.js} +46 -37
  11. package/dist/_chunks/{chat-message-D53_fH2w.js → chat-message-ASgGtj-L.js} +30 -39
  12. package/dist/_chunks/{collapsible-CERONory.js → collapsible-X3oaLPU3.js} +5 -5
  13. package/dist/_chunks/{contact-profile-card-BA6fgS45.js → contact-profile-card-DHyuAPXM.js} +14 -13
  14. package/dist/_chunks/cycle-calculator-B5Uj9QeT.js +185 -0
  15. package/dist/_chunks/{date-picker-CXFpu-qY.js → date-picker-CvQfs6Xh.js} +2 -2
  16. package/dist/_chunks/{date-range-picker-I-q5rifj.js → date-range-picker-U9fn1g9d.js} +3 -3
  17. package/dist/_chunks/{date-time-picker-CqpGPlcH.js → date-time-picker-Cva0ZCWw.js} +2 -2
  18. package/dist/_chunks/{de-HTQ4b4-J.js → de-BMM2H7Bs.js} +2 -2
  19. package/dist/_chunks/dependent-selector-CRWgieHm.js +324 -0
  20. package/dist/_chunks/document-scanner-CqS_klIr.js +703 -0
  21. package/dist/_chunks/due-date-calculator-CUspKSTw.js +171 -0
  22. package/dist/_chunks/{editable-currency-cell-renderer-DnjwZNZP.js → editable-currency-cell-renderer-DgkCIIcO.js} +3 -3
  23. package/dist/_chunks/{el-Dr1pjuDq.js → el-BYPonAaK.js} +2 -2
  24. package/dist/_chunks/{es-CvyTjLS0.js → es-CMkVCQ4F.js} +2 -2
  25. package/dist/_chunks/{file-upload-CdozCPct.js → file-upload-BosbPDb1.js} +3 -2
  26. package/dist/_chunks/fiscal-code-input-BZ0FxwUl.js +540 -0
  27. package/dist/_chunks/{fr-CS7aqaFR.js → fr-BcuWxqft.js} +2 -2
  28. package/dist/_chunks/{freemium-paywall-D1N02Oam.js → freemium-paywall-BAk3a6er.js} +7 -7
  29. package/dist/_chunks/gestation-BXEgDGmP.js +50 -0
  30. package/dist/_chunks/gestational-age-calculator-CsQ05qDy.js +165 -0
  31. package/dist/_chunks/header-settings-CBLwUK6t.js +244 -0
  32. package/dist/_chunks/heart-C0faivFf.js +20 -0
  33. package/dist/_chunks/{hi-3uy8KpsH.js → hi-wkq_rQAh.js} +2 -2
  34. package/dist/_chunks/image-C6RM5hfF.js +16 -0
  35. package/dist/_chunks/insert-result-yJ0QavoN.js +133 -0
  36. package/dist/_chunks/{isSameWeek-DRpMibi9.js → isSameWeek-Bim5ftRd.js} +2 -2
  37. package/dist/_chunks/{it-B_RF5VSw.js → it-GiQrQ9p4.js} +3 -3
  38. package/dist/_chunks/{ja-C1mEYy35.js → ja-qfYg3Rua.js} +2 -2
  39. package/dist/_chunks/{logo-_Z-jLq80.js → logo-yituK7sE.js} +42 -91
  40. package/dist/_chunks/{map-view-vD5pvWs9.js → map-view-qJLybrmN.js} +2 -2
  41. package/dist/_chunks/marketplace-app-shell-BlxVizU4.js +296 -0
  42. package/dist/_chunks/{message-card-BbRhZkDI.js → message-card-DSPw5ghw.js} +20 -19
  43. package/dist/_chunks/{message-tray-B762TKuv.js → message-tray-hSQff9u4.js} +3 -3
  44. package/dist/_chunks/{nl-Dl7lO2t3.js → nl-xOogO4sZ.js} +2 -2
  45. package/dist/_chunks/{notification-card-DMdO4g54.js → notification-card-CObnGdJu.js} +22 -21
  46. package/dist/_chunks/{notification-tray-Dl3FTleW.js → notification-tray-BWHDIjgd.js} +2 -2
  47. package/dist/_chunks/{otp-input-CDTWT5EK.js → otp-input-CMphfBxZ.js} +70 -71
  48. package/dist/_chunks/{patient-shell-CDvMw_Nk.js → patient-shell-DF81lALv.js} +37 -36
  49. package/dist/_chunks/{payment-form-D5rgnZu7.js → payment-form-Dy3WIIsC.js} +18 -18
  50. package/dist/_chunks/{pdf-viewer-DvtEHcEP.js → pdf-viewer-Cy6Ul3hZ.js} +2 -2
  51. package/dist/_chunks/{pl-Dgsogljx.js → pl-GnOW6eGK.js} +3 -3
  52. package/dist/_chunks/{practice-results-BFM_lyUs.js → practice-results-C0d4IL5E.js} +4 -3
  53. package/dist/_chunks/pregnancy-weight-gain-BCdi-JSv.js +209 -0
  54. package/dist/_chunks/{privacy-lock-DD-wHxBg.js → privacy-lock-BmX_gkvt.js} +2 -2
  55. package/dist/_chunks/{pt-Dm2JF4bc.js → pt-_bV5b5RW.js} +2 -2
  56. package/dist/_chunks/{public-footer.agent-Cjfe5jus.js → public-footer.agent-okt8ZRc5.js} +3 -3
  57. package/dist/_chunks/qr-code-DNXhi6se.js +568 -0
  58. package/dist/_chunks/{react-day-picker-DYDdR8Vv.js → react-day-picker-CdtIiKjx.js} +24 -24
  59. package/dist/_chunks/{reviews-panel-Dow8Dzoa.js → reviews-panel-CPrXu5TX.js} +2 -2
  60. package/dist/_chunks/{rich-text-editor-CHmr9Bz8.js → rich-text-editor-DLbg2852.js} +114 -124
  61. package/dist/_chunks/{ro-BXFZ_xIX.js → ro-BEcyh5Nj.js} +2 -2
  62. package/dist/_chunks/rotate-ccw-BWANpitO.js +15 -0
  63. package/dist/_chunks/{ru-BPQkNRRV.js → ru-Bi86hqMf.js} +3 -3
  64. package/dist/_chunks/session-countdown-LPnhTHjn.js +214 -0
  65. package/dist/_chunks/{shield-check-BhHyReu8.js → shield-check-C73ma9Cs.js} +8 -24
  66. package/dist/_chunks/{sidebar-BbR8f6oe.js → sidebar-_vJXI9rB.js} +2 -2
  67. package/dist/_chunks/sign-document-DId1p-nn.js +315 -0
  68. package/dist/_chunks/{sign-in-with-alfadocs-button-BI0fVonM.js → sign-in-with-alfadocs-button-DeHBFRNS.js} +2 -2
  69. package/dist/_chunks/{signature-capture-C-fF71xI.js → signature-capture-BRzCklg4.js} +27 -24
  70. package/dist/_chunks/social-sign-in-button-X54ySJr1.js +243 -0
  71. package/dist/_chunks/{sparkline-DEROcSl0.js → sparkline-DGhCSw8M.js} +55 -46
  72. package/dist/_chunks/{sq-ChTlGFcJ.js → sq-BujHSAWu.js} +2 -2
  73. package/dist/_chunks/{stepper-accordion-BfS6lUB9.js → stepper-accordion-Dki6r9ZE.js} +2 -2
  74. package/dist/_chunks/subDays-_T9YeKPX.js +8 -0
  75. package/dist/_chunks/{sv-Do_gs6ir.js → sv-C8AeDrTA.js} +2 -2
  76. package/dist/_chunks/{tag-CyoaEmf_.js → tag-CdA0s_VV.js} +16 -16
  77. package/dist/_chunks/{task-card-BUVMh6HN.js → task-card-CPyQ5AXC.js} +6 -5
  78. package/dist/_chunks/{task-tray-DRK0b0Qb.js → task-tray-B8jFv5FV.js} +36 -35
  79. package/dist/_chunks/{tr-da_UnkYH.js → tr-CMSs_Vgf.js} +2 -2
  80. package/dist/_chunks/{transcript-panel-DyhTpAP7.js → transcript-panel-CR7VY1uw.js} +8 -7
  81. package/dist/_chunks/unit-converter-EUwO6QYq.js +168 -0
  82. package/dist/_chunks/wallet-pay-button-DK4ESYge.js +250 -0
  83. package/dist/_chunks/{warning-stack-bDicCvxs.js → warning-stack-DNR3-IbP.js} +17 -16
  84. package/dist/_chunks/{workflow-map-uSiHbOWQ.js → workflow-map-C3gB0FvB.js} +3 -2
  85. package/dist/_chunks/{zh-CN-C9qi5oak.js → zh-CN-eXB-PFu4.js} +3 -3
  86. package/dist/agent-catalog.json +241 -1
  87. package/dist/brand/provider-marks/apple-pay.d.ts +12 -0
  88. package/dist/brand/provider-marks/apple.d.ts +12 -0
  89. package/dist/brand/provider-marks/google-pay.d.ts +12 -0
  90. package/dist/brand/provider-marks/google.d.ts +13 -0
  91. package/dist/components/_shared/insert-result.d.ts +47 -0
  92. package/dist/components/accordion/index.js +1 -1
  93. package/dist/components/agenda-tray/index.js +1 -1
  94. package/dist/components/bmi-calculator/bmi-calculator.d.ts +3 -0
  95. package/dist/components/bmi-calculator/index.js +6 -5
  96. package/dist/components/booking/index.js +1 -1
  97. package/dist/components/calculator-dialog/calculator-dialog.d.ts +26 -0
  98. package/dist/components/calculator-dialog/index.d.ts +3 -0
  99. package/dist/components/calculator-dialog/index.js +5 -0
  100. package/dist/components/chart/chart.d.ts +1 -1
  101. package/dist/components/chart/index.js +1 -1
  102. package/dist/components/chat-message/index.js +1 -1
  103. package/dist/components/collapsible/index.js +1 -1
  104. package/dist/components/contact-profile-card/index.js +1 -1
  105. package/dist/components/cycle-calculator/cycle-calculator.d.ts +21 -0
  106. package/dist/components/cycle-calculator/cycle.d.ts +37 -0
  107. package/dist/components/cycle-calculator/index.d.ts +4 -0
  108. package/dist/components/cycle-calculator/index.js +7 -0
  109. package/dist/components/data-table/index.js +1 -1
  110. package/dist/components/date-picker/index.js +1 -1
  111. package/dist/components/date-range-picker/index.js +1 -1
  112. package/dist/components/date-time-picker/index.js +1 -1
  113. package/dist/components/dependent-selector/dependent-selector.agent.d.ts +4 -0
  114. package/dist/components/dependent-selector/dependent-selector.d.ts +72 -0
  115. package/dist/components/dependent-selector/index.d.ts +4 -0
  116. package/dist/components/dependent-selector/index.js +6 -0
  117. package/dist/components/document-scanner/document-scanner.agent.d.ts +4 -0
  118. package/dist/components/document-scanner/document-scanner.d.ts +93 -0
  119. package/dist/components/document-scanner/index.d.ts +4 -0
  120. package/dist/components/document-scanner/index.js +6 -0
  121. package/dist/components/due-date-calculator/due-date-calculator.d.ts +3 -0
  122. package/dist/components/due-date-calculator/gestation.d.ts +16 -0
  123. package/dist/components/due-date-calculator/index.d.ts +1 -1
  124. package/dist/components/due-date-calculator/index.js +10 -7
  125. package/dist/components/file-upload/index.js +1 -1
  126. package/dist/components/fiscal-code-input/calculate-codice-fiscale.d.ts +24 -0
  127. package/dist/components/fiscal-code-input/fiscal-code-input.agent.d.ts +4 -0
  128. package/dist/components/fiscal-code-input/fiscal-code-input.d.ts +61 -0
  129. package/dist/components/fiscal-code-input/index.d.ts +6 -0
  130. package/dist/components/fiscal-code-input/index.js +11 -0
  131. package/dist/components/fiscal-code-input/is-valid-codice-fiscale.d.ts +21 -0
  132. package/dist/components/freemium-paywall/index.js +1 -1
  133. package/dist/components/gestational-age-calculator/gestational-age-calculator.d.ts +27 -0
  134. package/dist/components/gestational-age-calculator/index.d.ts +3 -0
  135. package/dist/components/gestational-age-calculator/index.js +5 -0
  136. package/dist/components/header-settings/header-settings.agent.d.ts +4 -0
  137. package/dist/components/header-settings/header-settings.d.ts +36 -0
  138. package/dist/components/header-settings/index.d.ts +2 -0
  139. package/dist/components/header-settings/index.js +2 -241
  140. package/dist/components/index.d.ts +14 -0
  141. package/dist/components/locale-picker/locale-picker.agent.d.ts +4 -0
  142. package/dist/components/locale-picker/locale-picker.d.ts +80 -0
  143. package/dist/components/logo/index.js +1 -1
  144. package/dist/components/map-view/index.js +1 -1
  145. package/dist/components/message-card/index.js +1 -1
  146. package/dist/components/message-tray/index.js +1 -1
  147. package/dist/components/notification-card/index.js +1 -1
  148. package/dist/components/notification-tray/index.js +1 -1
  149. package/dist/components/otp-input/index.d.ts +1 -1
  150. package/dist/components/otp-input/index.js +1 -1
  151. package/dist/components/otp-input/otp-input.d.ts +1 -1
  152. package/dist/components/payment-form/index.js +1 -1
  153. package/dist/components/pdf-viewer/index.js +1 -1
  154. package/dist/components/practice-results/index.js +1 -1
  155. package/dist/components/pregnancy-weight-gain/index.d.ts +4 -0
  156. package/dist/components/pregnancy-weight-gain/index.js +9 -0
  157. package/dist/components/pregnancy-weight-gain/pregnancy-weight-gain.d.ts +19 -0
  158. package/dist/components/pregnancy-weight-gain/weight-gain.d.ts +41 -0
  159. package/dist/components/privacy-lock/index.js +1 -1
  160. package/dist/components/public-footer/index.js +1 -1
  161. package/dist/components/qr-code/index.d.ts +5 -0
  162. package/dist/components/qr-code/index.js +8 -0
  163. package/dist/components/qr-code/qr-code.agent.d.ts +3 -0
  164. package/dist/components/qr-code/qr-code.d.ts +59 -0
  165. package/dist/components/qr-code/qr-encode.d.ts +46 -0
  166. package/dist/components/reviews-panel/index.js +1 -1
  167. package/dist/components/rich-text-editor/index.js +1 -1
  168. package/dist/components/session-countdown/index.d.ts +4 -0
  169. package/dist/components/session-countdown/index.js +6 -0
  170. package/dist/components/session-countdown/session-countdown.agent.d.ts +3 -0
  171. package/dist/components/session-countdown/session-countdown.d.ts +38 -0
  172. package/dist/components/sidebar/index.js +1 -1
  173. package/dist/components/sign-document/index.d.ts +4 -0
  174. package/dist/components/sign-document/index.js +6 -0
  175. package/dist/components/sign-document/sign-document.agent.d.ts +4 -0
  176. package/dist/components/sign-document/sign-document.d.ts +47 -0
  177. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  178. package/dist/components/signature-capture/index.js +1 -1
  179. package/dist/components/social-sign-in-button/index.d.ts +3 -0
  180. package/dist/components/social-sign-in-button/index.js +5 -0
  181. package/dist/components/social-sign-in-button/social-sign-in-button.d.ts +56 -0
  182. package/dist/components/sparkline/index.js +1 -1
  183. package/dist/components/sparkline/sparkline.d.ts +1 -1
  184. package/dist/components/stepper-accordion/index.js +1 -1
  185. package/dist/components/tag/index.js +1 -1
  186. package/dist/components/task-card/index.js +1 -1
  187. package/dist/components/task-tray/index.js +1 -1
  188. package/dist/components/transcript-panel/index.js +1 -1
  189. package/dist/components/unit-converter/index.d.ts +4 -0
  190. package/dist/components/unit-converter/index.js +9 -0
  191. package/dist/components/unit-converter/unit-converter.d.ts +21 -0
  192. package/dist/components/unit-converter/units.d.ts +18 -0
  193. package/dist/components/wallet-pay-button/index.d.ts +3 -0
  194. package/dist/components/wallet-pay-button/index.js +5 -0
  195. package/dist/components/wallet-pay-button/wallet-pay-button.d.ts +63 -0
  196. package/dist/components/warning-stack/index.js +1 -1
  197. package/dist/components/workflow/index.js +1 -1
  198. package/dist/i18n/locale-meta.d.ts +56 -0
  199. package/dist/i18n/locales/ar.d.ts +274 -0
  200. package/dist/i18n/locales/ar.js +271 -0
  201. package/dist/i18n/locales/de.d.ts +274 -0
  202. package/dist/i18n/locales/de.js +271 -0
  203. package/dist/i18n/locales/el.d.ts +274 -0
  204. package/dist/i18n/locales/el.js +271 -0
  205. package/dist/i18n/locales/en.d.ts +274 -0
  206. package/dist/i18n/locales/en.js +274 -0
  207. package/dist/i18n/locales/es.d.ts +274 -0
  208. package/dist/i18n/locales/es.js +271 -0
  209. package/dist/i18n/locales/fr.d.ts +274 -0
  210. package/dist/i18n/locales/fr.js +271 -0
  211. package/dist/i18n/locales/hi.d.ts +274 -0
  212. package/dist/i18n/locales/hi.js +271 -0
  213. package/dist/i18n/locales/it.d.ts +274 -0
  214. package/dist/i18n/locales/it.js +271 -0
  215. package/dist/i18n/locales/ja.d.ts +274 -0
  216. package/dist/i18n/locales/ja.js +267 -0
  217. package/dist/i18n/locales/nl.d.ts +274 -0
  218. package/dist/i18n/locales/nl.js +271 -0
  219. package/dist/i18n/locales/pl.d.ts +274 -0
  220. package/dist/i18n/locales/pl.js +271 -0
  221. package/dist/i18n/locales/pt.d.ts +274 -0
  222. package/dist/i18n/locales/pt.js +274 -0
  223. package/dist/i18n/locales/ro.d.ts +274 -0
  224. package/dist/i18n/locales/ro.js +271 -0
  225. package/dist/i18n/locales/ru.d.ts +274 -0
  226. package/dist/i18n/locales/ru.js +271 -0
  227. package/dist/i18n/locales/sq.d.ts +274 -0
  228. package/dist/i18n/locales/sq.js +271 -0
  229. package/dist/i18n/locales/sv.d.ts +274 -0
  230. package/dist/i18n/locales/sv.js +271 -0
  231. package/dist/i18n/locales/tr.d.ts +274 -0
  232. package/dist/i18n/locales/tr.js +271 -0
  233. package/dist/i18n/locales/zh.d.ts +274 -0
  234. package/dist/i18n/locales/zh.js +267 -0
  235. package/dist/index.js +590 -535
  236. package/dist/locales/ar.json +274 -0
  237. package/dist/locales/de.json +274 -0
  238. package/dist/locales/el.json +274 -0
  239. package/dist/locales/en.json +274 -0
  240. package/dist/locales/es.json +274 -0
  241. package/dist/locales/fr.json +274 -0
  242. package/dist/locales/hi.json +274 -0
  243. package/dist/locales/it.json +274 -0
  244. package/dist/locales/ja.json +274 -0
  245. package/dist/locales/nl.json +274 -0
  246. package/dist/locales/pl.json +274 -0
  247. package/dist/locales/pt.json +274 -0
  248. package/dist/locales/ro.json +274 -0
  249. package/dist/locales/ru.json +274 -0
  250. package/dist/locales/sq.json +274 -0
  251. package/dist/locales/sv.json +274 -0
  252. package/dist/locales/tr.json +274 -0
  253. package/dist/locales/zh.json +274 -0
  254. package/dist/patterns/alia-assistant/index.js +1 -1
  255. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  256. package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +12 -8
  257. package/dist/patterns/patient-shell/index.js +1 -1
  258. package/dist/tokens.css +1 -1
  259. package/package.json +53 -1
  260. package/dist/_chunks/bmi-calculator-DQD5_nE-.js +0 -214
  261. package/dist/_chunks/due-date-calculator-kf9U_g7O.js +0 -173
  262. package/dist/_chunks/marketplace-app-shell-DXHxy9dj.js +0 -295
  263. package/dist/_chunks/subDays-D-WYRpdW.js +0 -8
@@ -0,0 +1,24 @@
1
+ /** Identity inputs needed to derive the (non-omocodic) codice fiscale. */
2
+ export interface CodiceFiscaleInput {
3
+ /** Family name (cognome). Diacritics are folded; non-letters ignored. */
4
+ surname: string;
5
+ /** Given name (nome). Diacritics are folded; non-letters ignored. */
6
+ name: string;
7
+ /** Date of birth — a `Date` or an ISO `YYYY-MM-DD` (or full ISO) string. */
8
+ birthDate: Date | string;
9
+ /** Biological sex as recorded for the fiscal code: 'M' or 'F'. */
10
+ sex: 'M' | 'F';
11
+ /** 4-character cadastral / Belfiore code of the birthplace (e.g. H501). */
12
+ belfioreCode: string;
13
+ }
14
+ /**
15
+ * Compute the full 16-character (non-omocodic) codice fiscale from a
16
+ * person's identity data. The caller supplies the 4-char Belfiore code of
17
+ * the birthplace (the kit does not bundle the municipality table).
18
+ *
19
+ * Throws if `birthDate` is unparseable or `belfioreCode` is not 4
20
+ * `[A-Z][0-9]{3}`-shaped characters — i.e. a letter followed by 3 digits,
21
+ * the canonical Belfiore shape.
22
+ */
23
+ export declare function calculateCodiceFiscale(input: CodiceFiscaleInput): string;
24
+ //# sourceMappingURL=calculate-codice-fiscale.d.ts.map
@@ -0,0 +1,4 @@
1
+ import type { AgentAdapter } from '../../agent/types';
2
+ import type { FiscalCodeInputHandle } from './fiscal-code-input';
3
+ export declare const fiscalCodeInputAgent: AgentAdapter<FiscalCodeInputHandle>;
4
+ //# sourceMappingURL=fiscal-code-input.agent.d.ts.map
@@ -0,0 +1,61 @@
1
+ import { type FiscalCodeReason } from './is-valid-codice-fiscale';
2
+ import { type CodiceFiscaleInput } from './calculate-codice-fiscale';
3
+ /** Agent-readiness curated handle for FiscalCodeInput. */
4
+ export interface FiscalCodeInputHandle {
5
+ getValue: () => string;
6
+ setValue: (value: string) => void;
7
+ clear: () => void;
8
+ focus: () => void;
9
+ isValid: () => boolean;
10
+ }
11
+ /** Structured payload emitted on every keystroke alongside the raw value. */
12
+ export interface FiscalCodeChangeMeta {
13
+ /** Structurally sound AND control character matches (always 16 chars). */
14
+ isValid: boolean;
15
+ /** Whether all 16 characters are present (regardless of validity). */
16
+ isComplete: boolean;
17
+ /** Why the value is (in)valid — drives consumer messaging. */
18
+ reason: FiscalCodeReason;
19
+ }
20
+ export interface FiscalCodeInputProps {
21
+ /** Controlled value (raw, uppercased, no spaces). Pair with onChange. */
22
+ value?: string;
23
+ /** Uncontrolled initial value. Normalised on mount. */
24
+ defaultValue?: string;
25
+ /** Fires on every keystroke with the normalised raw string + meta. */
26
+ onChange?: (raw: string, meta: FiscalCodeChangeMeta) => void;
27
+ size?: 'sm' | 'md' | 'lg';
28
+ tone?: 'default' | 'error';
29
+ /** When the invalid tone + error string surface. Never marks partial input invalid. */
30
+ validateOn?: 'change' | 'blur' | 'submit';
31
+ /** Controlled escape hatch to force the invalid state (e.g. server rejection). */
32
+ showError?: boolean;
33
+ /** Overrides the kit's default i18n error string. */
34
+ errorMessage?: string;
35
+ disabled?: boolean;
36
+ readOnly?: boolean;
37
+ required?: boolean;
38
+ placeholder?: string;
39
+ /** Render the "16 characters" caption when NOT inside a FormField. */
40
+ showFormatHint?: boolean;
41
+ /**
42
+ * OPT-IN. When the consuming form already holds the person's identity
43
+ * data, supply it here to render an inline "calculate" affordance: a
44
+ * small icon button that derives the codice fiscale and fills the field.
45
+ * The caller supplies the 4-char `belfioreCode` of the birthplace — the
46
+ * kit does not bundle the municipality lookup table. Omit to render
47
+ * nothing extra (no behavioural change). Ignored when readOnly/disabled.
48
+ */
49
+ calculateFrom?: CodiceFiscaleInput;
50
+ id?: string;
51
+ name?: string;
52
+ className?: string;
53
+ 'aria-label'?: string;
54
+ }
55
+ declare const wrapperVariants: (props?: ({
56
+ size?: "sm" | "md" | "lg" | null | undefined;
57
+ tone?: "default" | "error" | null | undefined;
58
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
59
+ export declare const FiscalCodeInput: import("react").ForwardRefExoticComponent<FiscalCodeInputProps & import("react").RefAttributes<HTMLInputElement>>;
60
+ export { wrapperVariants as fiscalCodeWrapperVariants };
61
+ //# sourceMappingURL=fiscal-code-input.d.ts.map
@@ -0,0 +1,6 @@
1
+ export { FiscalCodeInput, fiscalCodeWrapperVariants, } from './fiscal-code-input';
2
+ export type { FiscalCodeInputProps, FiscalCodeInputHandle, FiscalCodeChangeMeta, } from './fiscal-code-input';
3
+ export { fiscalCodeInputAgent } from './fiscal-code-input.agent';
4
+ export { classifyCodiceFiscale, isValidCodiceFiscale, computeControlChar, type FiscalCodeReason, } from './is-valid-codice-fiscale';
5
+ export { calculateCodiceFiscale, type CodiceFiscaleInput, } from './calculate-codice-fiscale';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,11 @@
1
+ import { F as c, c as e, a as i, b as l, f as o, w as t, i as C } from "../../_chunks/fiscal-code-input-BZ0FxwUl.js";
2
+ export {
3
+ c as FiscalCodeInput,
4
+ e as calculateCodiceFiscale,
5
+ i as classifyCodiceFiscale,
6
+ l as computeControlChar,
7
+ o as fiscalCodeInputAgent,
8
+ t as fiscalCodeWrapperVariants,
9
+ C as isValidCodiceFiscale
10
+ };
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,21 @@
1
+ /** Outcome of a structural + checksum check on a 16-char candidate. */
2
+ export type FiscalCodeReason = 'empty' | 'incomplete' | 'badFormat' | 'badChecksum' | 'valid';
3
+ /**
4
+ * Compute the expected 16th control character from the first 15
5
+ * informative characters. The input MUST already be 15 uppercase
6
+ * `[A-Z0-9]` characters (callers guard with `hasValidStructure`).
7
+ */
8
+ export declare function computeControlChar(first15: string): string;
9
+ /**
10
+ * Classify a normalised (uppercased, `[A-Z0-9]`-only) candidate.
11
+ *
12
+ * - `empty` — no characters.
13
+ * - `incomplete` — fewer than 16 characters.
14
+ * - `badFormat` — 16 characters but the position-class pattern fails.
15
+ * - `badChecksum` — 16 well-formed characters but the control char is wrong.
16
+ * - `valid` — structurally sound and the control char matches.
17
+ */
18
+ export declare function classifyCodiceFiscale(raw: string): FiscalCodeReason;
19
+ /** Convenience boolean: structurally sound AND control character matches. */
20
+ export declare function isValidCodiceFiscale(raw: string): boolean;
21
+ //# sourceMappingURL=is-valid-codice-fiscale.d.ts.map
@@ -1,4 +1,4 @@
1
- import { F as m, f as l } from "../../_chunks/freemium-paywall-D1N02Oam.js";
1
+ import { F as m, f as l } from "../../_chunks/freemium-paywall-BAk3a6er.js";
2
2
  export {
3
3
  m as FreemiumPaywall,
4
4
  l as freemiumPaywallAgent
@@ -0,0 +1,27 @@
1
+ import { type VariantProps } from 'class-variance-authority';
2
+ import { type InsertPayload } from '../_shared/insert-result';
3
+ import { type Trimester, type GestationalAge } from '../due-date-calculator';
4
+ declare const rootVariants: (props?: ({
5
+ width?: "auto" | "full" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ type DateMethod = 'lmp' | 'edd';
8
+ export interface GestationalAgeResult {
9
+ gestationalAge: GestationalAge | null;
10
+ trimester: Trimester;
11
+ dueDate: Date;
12
+ }
13
+ export interface GestationalAgeCalculatorProps extends VariantProps<typeof rootVariants> {
14
+ /** Whether the input date is the last period (`lmp`) or the due date (`edd`). */
15
+ defaultMethod?: DateMethod;
16
+ /** Fires whenever a result can be computed (and `null` when it can't). */
17
+ onResultChange?: (result: GestationalAgeResult | null) => void;
18
+ /** When provided, shows an "Insert" button that emits the result for an editor. */
19
+ onInsert?: (payload: InsertPayload) => void;
20
+ /** Opaque instance id, emitted as `data-component-id`. */
21
+ id?: string;
22
+ /** Extra class names on the wrapper. */
23
+ className?: string;
24
+ }
25
+ export declare const GestationalAgeCalculator: import("react").ForwardRefExoticComponent<GestationalAgeCalculatorProps & import("react").RefAttributes<HTMLDivElement>>;
26
+ export {};
27
+ //# sourceMappingURL=gestational-age-calculator.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { GestationalAgeCalculator } from './gestational-age-calculator';
2
+ export type { GestationalAgeCalculatorProps, GestationalAgeResult, } from './gestational-age-calculator';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { G as t } from "../../_chunks/gestational-age-calculator-CsQ05qDy.js";
2
+ export {
3
+ t as GestationalAgeCalculator
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,4 @@
1
+ import type { AgentAdapter } from '../../agent/types';
2
+ import type { HeaderSettingsHandle } from './header-settings';
3
+ export declare const headerSettingsAgent: AgentAdapter<HeaderSettingsHandle>;
4
+ //# sourceMappingURL=header-settings.agent.d.ts.map
@@ -0,0 +1,36 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ import { type AccessibilityPreference, type ThemePreference } from '../../hooks';
4
+ declare const wrapperVariants: (props?: ({
5
+ align?: "end" | "start" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export interface HeaderSettingsProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>, VariantProps<typeof wrapperVariants> {
8
+ /** Anchor side for the dropdown. Defaults to `end` (matches LTR + RTL). */
9
+ align?: 'start' | 'end';
10
+ /**
11
+ * Size of the cog trigger only. Forwards to the underlying
12
+ * `IconButton`. Defaults to `md` to preserve the existing visual.
13
+ * Use `sm` when composing alongside other `<Button size="sm">`
14
+ * actions in a header row — keeps the visual rhythm consistent.
15
+ *
16
+ * The internal dropdown chrome (Appearance toggle group, locale
17
+ * picker, accessibility switch) stays at kit defaults regardless
18
+ * — this prop only sizes the trigger.
19
+ */
20
+ size?: 'sm' | 'md' | 'lg';
21
+ /** Disable the trigger entirely. */
22
+ disabled?: boolean;
23
+ }
24
+ export interface HeaderSettingsHandle {
25
+ /**
26
+ * Switch the active locale. Widened to `string` (vs. `Locale`) so
27
+ * agent surfaces with untyped inputs can call through without
28
+ * extra casting — invalid tags no-op silently.
29
+ */
30
+ setLocale: (next: string) => void;
31
+ setTheme: (next: ThemePreference) => void;
32
+ setAccessibility: (next: AccessibilityPreference) => void;
33
+ }
34
+ export declare const HeaderSettings: import("react").ForwardRefExoticComponent<HeaderSettingsProps & import("react").RefAttributes<HTMLDivElement>>;
35
+ export {};
36
+ //# sourceMappingURL=header-settings.d.ts.map
@@ -0,0 +1,2 @@
1
+ export { HeaderSettings, type HeaderSettingsProps, type HeaderSettingsHandle, } from './header-settings';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -1,244 +1,5 @@
1
- import { jsx as e, jsxs as l } from "react/jsx-runtime";
2
- import { forwardRef as A, useRef as p, useImperativeHandle as C, useCallback as x, useMemo as I } from "react";
3
- import { c as N } from "../../_chunks/index-D2ZczOXr.js";
4
- import { useTranslation as E } from "react-i18next";
5
- import { I as o } from "../../_chunks/icon-button-CKEOrN37.js";
6
- import { I as M } from "../../_chunks/icon-button-group-C48khLE0.js";
7
- import { D as r } from "../../_chunks/dropdown-menu-BC5ZdOMo.js";
8
- import { S as R } from "../../_chunks/switch-BJ6HD3Mn.js";
9
- import { c as v, a as _, L as H } from "../../_chunks/locale-picker-D99UyZVJ.js";
10
- import { u as O } from "../../_chunks/use-locale-BkCIHujH.js";
11
- import { u as P } from "../../_chunks/use-theme-C2dHKUAN.js";
12
- import { u as j } from "../../_chunks/registry-nPAVE19X.js";
13
- import { S as K } from "../../_chunks/settings-ca2Yi9R8.js";
14
- import { S as D, M as z } from "../../_chunks/sun-BuXE0xUS.js";
15
- import { M as V } from "../../_chunks/monitor-D-SFdbrU.js";
16
- const B = {
17
- id: "header-settings",
18
- capabilities: ["view_change"],
19
- state: {},
20
- actions: {
21
- set_locale: {
22
- safety: "write",
23
- argsType: "{ locale: string }",
24
- descriptionKey: "ui.agent.headerSettings.actions.setLocale",
25
- description: "Switch the active locale to the given IETF tag.",
26
- invoke: (t, i) => {
27
- t.setLocale(i.locale);
28
- }
29
- },
30
- set_theme: {
31
- safety: "write",
32
- argsType: '{ theme: "light" | "dark" | "system" }',
33
- descriptionKey: "ui.agent.headerSettings.actions.setTheme",
34
- description: "Switch the theme preference.",
35
- invoke: (t, i) => {
36
- t.setTheme(i.theme);
37
- }
38
- },
39
- set_accessibility: {
40
- safety: "write",
41
- argsType: '{ accessibility: "default" | "accessible" }',
42
- descriptionKey: "ui.agent.headerSettings.actions.setAccessibility",
43
- description: "Switch the accessibility preference.",
44
- invoke: (t, i) => {
45
- t.setAccessibility(i.accessibility);
46
- }
47
- }
48
- },
49
- domHooks: {
50
- root: {
51
- attr: "data-component",
52
- value: "header-settings",
53
- description: "Marks the HeaderSettings wrapper."
54
- }
55
- }
56
- };
57
- function G(t, i) {
58
- if (!(typeof window > "u"))
59
- try {
60
- window.localStorage.setItem(t, i);
61
- } catch {
62
- }
63
- }
64
- function W(t) {
65
- if (typeof document > "u") return;
66
- const i = document.documentElement;
67
- i.lang = t, i.dir = v[t].dir;
68
- }
69
- const F = N("ds:inline-flex ds:items-center", {
70
- variants: {
71
- align: {
72
- start: "",
73
- end: ""
74
- }
75
- },
76
- defaultVariants: { align: "end" }
77
- }), U = [
78
- "ds:w-[20rem] ds:p-[var(--spacing-xs)]",
79
- "ds:rounded-[var(--radius-md)] ds:border ds:border-border",
80
- "ds:bg-background ds:text-foreground ds:shadow-[var(--shadow-lg)]"
81
- ].join(" "), Y = A(
82
- (t, i) => {
83
- const {
84
- align: g = "end",
85
- size: y = "md",
86
- disabled: S = !1,
87
- className: w,
88
- id: m,
89
- ...L
90
- } = t, { t: s } = E(), n = P(), { setLocale: h } = O(), u = p(null);
91
- C(i, () => u.current, []);
92
- const f = x(
93
- (a) => {
94
- h(a), W(a), G(H, a);
95
- },
96
- [h]
97
- ), b = p(f);
98
- b.current = f;
99
- const c = p(n);
100
- c.current = n;
101
- const k = I(
102
- () => ({
103
- setLocale: (a) => {
104
- Object.prototype.hasOwnProperty.call(v, a) && b.current(a);
105
- },
106
- setTheme: (a) => c.current.setTheme(a),
107
- setAccessibility: (a) => c.current.setAccessibility(a)
108
- }),
109
- []
110
- );
111
- j(B, k, m);
112
- const T = n.accessibility === "accessible";
113
- return /* @__PURE__ */ e(
114
- "div",
115
- {
116
- ref: u,
117
- "data-component": "header-settings",
118
- "data-component-id": m,
119
- className: F({ align: g, className: w }),
120
- ...L,
121
- children: /* @__PURE__ */ l(r.Root, { children: [
122
- /* @__PURE__ */ e(r.Trigger, { asChild: !0, children: /* @__PURE__ */ e(
123
- o,
124
- {
125
- size: y,
126
- disabled: S,
127
- icon: /* @__PURE__ */ e(K, { "aria-hidden": !0 }),
128
- "aria-label": s("navigation.headerSettings.trigger")
129
- }
130
- ) }),
131
- /* @__PURE__ */ e(r.Portal, { children: /* @__PURE__ */ l(
132
- r.Content,
133
- {
134
- align: g,
135
- sideOffset: 8,
136
- className: U,
137
- onKeyDownCapture: (a) => {
138
- const d = a.target;
139
- (d == null ? void 0 : d.tagName) === "INPUT" && // Always allow Escape so the menu can close.
140
- a.key !== "Escape" && a.stopPropagation();
141
- },
142
- children: [
143
- /* @__PURE__ */ e(r.Label, { children: s("navigation.headerSettings.language.label") }),
144
- /* @__PURE__ */ e(
145
- "div",
146
- {
147
- role: "group",
148
- "aria-label": s("navigation.headerSettings.language.label"),
149
- className: [
150
- "ds:px-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
151
- // Stretch the compact LocalePicker to the full menu
152
- // width so it reads as a single row affordance (not
153
- // a centred pill). The picker's root is
154
- // inline-flex; the `*:` child selector + `flex-1`
155
- // gives it `flex: 1 1 0%` once it's a child of the
156
- // flex container we make this div into.
157
- "ds:flex ds:[&>*]:flex-1"
158
- ].join(" "),
159
- children: /* @__PURE__ */ e(_, { variant: "compact", popoverSide: "end" })
160
- }
161
- ),
162
- /* @__PURE__ */ e(r.Separator, {}),
163
- /* @__PURE__ */ e(r.Label, { children: s("navigation.headerSettings.appearance.label") }),
164
- /* @__PURE__ */ e(
165
- "div",
166
- {
167
- role: "group",
168
- "aria-label": s("navigation.headerSettings.appearance.label"),
169
- className: "ds:px-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
170
- children: /* @__PURE__ */ l(
171
- M,
172
- {
173
- role: "radiogroup",
174
- mode: "toggle-single",
175
- size: "sm",
176
- "aria-label": s("navigation.headerSettings.appearance.label"),
177
- value: n.theme,
178
- onValueChange: (a) => n.setTheme(a),
179
- children: [
180
- /* @__PURE__ */ e(
181
- o,
182
- {
183
- icon: /* @__PURE__ */ e(D, { "aria-hidden": !0 }),
184
- "aria-label": s("navigation.headerSettings.appearance.light"),
185
- value: "light"
186
- }
187
- ),
188
- /* @__PURE__ */ e(
189
- o,
190
- {
191
- icon: /* @__PURE__ */ e(z, { "aria-hidden": !0 }),
192
- "aria-label": s("navigation.headerSettings.appearance.dark"),
193
- value: "dark"
194
- }
195
- ),
196
- /* @__PURE__ */ e(
197
- o,
198
- {
199
- icon: /* @__PURE__ */ e(V, { "aria-hidden": !0 }),
200
- "aria-label": s(
201
- "navigation.headerSettings.appearance.system"
202
- ),
203
- value: "system"
204
- }
205
- )
206
- ]
207
- }
208
- )
209
- }
210
- ),
211
- /* @__PURE__ */ e(r.Separator, {}),
212
- /* @__PURE__ */ e(
213
- "div",
214
- {
215
- role: "group",
216
- "aria-label": s(
217
- "navigation.headerSettings.appearance.accessible"
218
- ),
219
- className: "ds:px-[var(--spacing-sm)] ds:py-[var(--spacing-sm)]",
220
- children: /* @__PURE__ */ e(
221
- R,
222
- {
223
- label: s("navigation.headerSettings.appearance.accessible"),
224
- labelSide: "start",
225
- size: "sm",
226
- checked: T,
227
- onCheckedChange: (a) => n.setAccessibility(a ? "accessible" : "default")
228
- }
229
- )
230
- }
231
- )
232
- ]
233
- }
234
- ) })
235
- ] })
236
- }
237
- );
238
- }
239
- );
240
- Y.displayName = "HeaderSettings";
1
+ import { H as t } from "../../_chunks/header-settings-CBLwUK6t.js";
241
2
  export {
242
- Y as HeaderSettings
3
+ t as HeaderSettings
243
4
  };
244
5
  //# sourceMappingURL=index.js.map
@@ -19,6 +19,7 @@ export * from './date-picker';
19
19
  export * from './date-range-picker';
20
20
  export * from './date-time-picker';
21
21
  export * from './due-date-calculator';
22
+ export * from './gestational-age-calculator';
22
23
  export * from './email-input';
23
24
  export * from './file-upload';
24
25
  export * from './form-field';
@@ -37,11 +38,14 @@ export * from './switch';
37
38
  export * from './text-area';
38
39
  export * from './text-input';
39
40
  export * from './time-picker';
41
+ export { InsertButton, type InsertButtonProps, type InsertPayload, type InsertMode, type InsertCardData, type InsertCardField, } from './_shared/insert-result';
40
42
  export * from './accordion';
41
43
  export * from './avatar';
42
44
  export * from './badge';
43
45
  export * from './benefit-card';
44
46
  export * from './bmi-calculator';
47
+ export * from './calculator-dialog';
48
+ export * from './cycle-calculator';
45
49
  export * from './card';
46
50
  export * from './carousel';
47
51
  export * from './contact-card';
@@ -89,6 +93,7 @@ export * from './message-tray';
89
93
  export * from './notification-card';
90
94
  export * from './notification-tray';
91
95
  export * from './popover';
96
+ export * from './pregnancy-weight-gain';
92
97
  export * from './privacy-lock';
93
98
  export * from './progress';
94
99
  export * from './sheet';
@@ -105,6 +110,7 @@ export * from './resizable';
105
110
  export * from './scroll-area';
106
111
  export * from './separator';
107
112
  export * from './theme-root';
113
+ export * from './unit-converter';
108
114
  export * from './visually-hidden';
109
115
  export * from './chart';
110
116
  export * from './ai-prompt-input';
@@ -129,6 +135,7 @@ export * from './pdf-viewer';
129
135
  export * from './reviews-panel';
130
136
  export * from './rich-text-editor';
131
137
  export * from './signature-capture';
138
+ export * from './sign-document';
132
139
  export * from './slot-grid';
133
140
  export * from './tooth-scheme';
134
141
  export * from './transaction-chip';
@@ -137,4 +144,11 @@ export * from './workflow';
137
144
  export * from '../patterns/alia-assistant';
138
145
  export * from '../patterns/patient-shell';
139
146
  export * from '../patterns/marketplace-app-shell';
147
+ export * from './dependent-selector';
148
+ export * from './document-scanner';
149
+ export * from './fiscal-code-input';
150
+ export * from './qr-code';
151
+ export * from './session-countdown';
152
+ export * from './social-sign-in-button';
153
+ export * from './wallet-pay-button';
140
154
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,4 @@
1
+ import type { AgentAdapter } from '../../agent/types';
2
+ import type { LocalePickerHandle } from './locale-picker';
3
+ export declare const localePickerAgent: AgentAdapter<LocalePickerHandle>;
4
+ //# sourceMappingURL=locale-picker.agent.d.ts.map
@@ -0,0 +1,80 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ import { type Locale } from '../../i18n/locale-meta';
4
+ export declare const LOCALE_STORAGE_KEY = "alfadocs-ui.locale";
5
+ /**
6
+ * Sentinel value (and Combobox-row key) for "follow the browser /
7
+ * OS locale". Mirrors the ThemeToggle's `'system'` preference: the
8
+ * picker doesn't store a concrete locale code; the runtime resolves
9
+ * to `navigator.language` on each mount.
10
+ */
11
+ export declare const LOCALE_SYSTEM_DEFAULT: "system";
12
+ export type LocalePreference = Locale | typeof LOCALE_SYSTEM_DEFAULT;
13
+ declare const wrapperVariants: (props?: ({
14
+ variant?: "icon" | "compact" | null | undefined;
15
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
16
+ export type LocalePickerVariant = 'icon' | 'compact';
17
+ export interface LocalePickerProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onChange'>, VariantProps<typeof wrapperVariants> {
18
+ variant?: LocalePickerVariant;
19
+ /**
20
+ * Controlled escape hatch — when omitted the picker reads/writes
21
+ * `useLocale()` directly so a bare `<LocalePicker />` works with no
22
+ * wiring. Pass both to opt into controlled mode.
23
+ */
24
+ value?: Locale;
25
+ onValueChange?: (next: LocalePreference) => void;
26
+ /** Disable interaction (greys out the trigger). */
27
+ disabled?: boolean;
28
+ /** Mark as busy (kept open / focusable but read-only). */
29
+ loading?: boolean;
30
+ /**
31
+ * Side the search popover opens onto, relative to the trigger.
32
+ * Defaults to `bottom` (standard dropdown). Use `end` (inline-end —
33
+ * right in LTR, left in RTL) when nesting the LocalePicker inside
34
+ * another popover/menu so the search surface flies out to the side
35
+ * rather than stacking below.
36
+ */
37
+ popoverSide?: 'top' | 'bottom' | 'start' | 'end';
38
+ }
39
+ /**
40
+ * Curated imperative handle for agent / external automation. The
41
+ * `setLocale` parameter is widened to `string` (rather than the
42
+ * narrower `Locale`) so untyped agent inputs don't have to thread the
43
+ * `LOCALES_WITH_BUNDLES` constraint at the call site — the
44
+ * implementation validates internally and no-ops on an unsupported
45
+ * tag.
46
+ */
47
+ export interface LocalePickerHandle {
48
+ setLocale: (next: string) => void;
49
+ }
50
+ export interface LocalePickerSearchListProps {
51
+ /**
52
+ * Active selection. Either a `Locale` code or the
53
+ * `LOCALE_SYSTEM_DEFAULT` sentinel (when the user hasn't made an
54
+ * explicit choice and the kit is following `navigator.language`).
55
+ * Defaults to the shared store.
56
+ */
57
+ value?: LocalePreference;
58
+ /**
59
+ * Fires after a successful selection. Accepts a concrete `Locale`
60
+ * or `LOCALE_SYSTEM_DEFAULT` (when the user picks the "System
61
+ * Default" row at the top of the list).
62
+ *
63
+ * Defaults to the shared setter (delegates to useLocale, persists
64
+ * or clears storage, updates document.dir/lang).
65
+ */
66
+ onValueChange?: (next: LocalePreference) => void;
67
+ /** Optional id for the search input (axe `aria-labelledby` chain). */
68
+ inputId?: string;
69
+ /** Disable the input + list interactions. */
70
+ disabled?: boolean;
71
+ /** Mark as busy (read-only). */
72
+ loading?: boolean;
73
+ className?: string;
74
+ }
75
+ export declare const LocalePickerSearchList: import("react").ForwardRefExoticComponent<LocalePickerSearchListProps & import("react").RefAttributes<HTMLDivElement>>;
76
+ export declare const LocalePicker: import("react").ForwardRefExoticComponent<LocalePickerProps & import("react").RefAttributes<HTMLDivElement>> & {
77
+ SearchList: import("react").ForwardRefExoticComponent<LocalePickerSearchListProps & import("react").RefAttributes<HTMLDivElement>>;
78
+ };
79
+ export {};
80
+ //# sourceMappingURL=locale-picker.d.ts.map
@@ -1,4 +1,4 @@
1
- import { L } from "../../_chunks/logo-_Z-jLq80.js";
1
+ import { L } from "../../_chunks/logo-yituK7sE.js";
2
2
  export {
3
3
  L as Logo
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as o } from "../../_chunks/map-view-vD5pvWs9.js";
1
+ import { M as o } from "../../_chunks/map-view-qJLybrmN.js";
2
2
  export {
3
3
  o as MapView
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as a, i as r } from "../../_chunks/message-card-BbRhZkDI.js";
1
+ import { M as a, i as r } from "../../_chunks/message-card-DSPw5ghw.js";
2
2
  import { m } from "../../_chunks/message-card.agent-4IeIgrnJ.js";
3
3
  export {
4
4
  a as MessageCard,
@@ -1,4 +1,4 @@
1
- import { M as s, m as r } from "../../_chunks/message-tray-B762TKuv.js";
1
+ import { M as s, m as r } from "../../_chunks/message-tray-hSQff9u4.js";
2
2
  export {
3
3
  s as MessageTray,
4
4
  r as messageTrayAgent
@@ -1,4 +1,4 @@
1
- import { N as a, i as t } from "../../_chunks/notification-card-DMdO4g54.js";
1
+ import { N as a, i as t } from "../../_chunks/notification-card-CObnGdJu.js";
2
2
  import { n as f } from "../../_chunks/notification-card.agent-Rqt3ofk9.js";
3
3
  export {
4
4
  a as NotificationCard,