@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,5 @@
1
+ import { W as o } from "../../_chunks/wallet-pay-button-DK4ESYge.js";
2
+ export {
3
+ o as WalletPayButton
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,63 @@
1
+ import { type ButtonHTMLAttributes, type MouseEvent, type ReactNode } from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ type Provider = 'apple-pay' | 'google-pay';
4
+ type ButtonStyle = 'black' | 'white' | 'white-outline';
5
+ type LabelType = 'buy' | 'pay' | 'checkout' | 'book' | 'plain';
6
+ declare const rootVariants: (props?: ({
7
+ provider?: "apple-pay" | "google-pay" | null | undefined;
8
+ buttonStyle?: "black" | "white" | "white-outline" | null | undefined;
9
+ size?: "sm" | "md" | "lg" | null | undefined;
10
+ fullWidth?: boolean | null | undefined;
11
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
12
+ export interface WalletPayButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'type'>, Omit<VariantProps<typeof rootVariants>, 'provider'> {
13
+ /**
14
+ * Which wallet the button represents. Drives the inline brand mark,
15
+ * the default label key, the brand-locked surface tokens, and the
16
+ * `data-provider` hook. Required — there is no sensible default
17
+ * wallet.
18
+ */
19
+ provider: Provider;
20
+ /**
21
+ * Brand-mandated button type. Apple Pay supports
22
+ * `black` / `white` / `white-outline`; Google Pay supports
23
+ * `black` / `white` only. Passing `white-outline` with
24
+ * `provider="google-pay"` falls back to `white` and dev-warns —
25
+ * Google's branding has no outline type.
26
+ */
27
+ buttonStyle?: ButtonStyle;
28
+ /**
29
+ * Brand-approved call-to-action phrasing. `plain` renders the bare
30
+ * mark (mark-only) with an sr-only accessible name. The verb portion
31
+ * is i18n; the wallet brand name ("Apple Pay" / "Google Pay") is a
32
+ * non-translated constant.
33
+ */
34
+ labelType?: LabelType;
35
+ /**
36
+ * Fired on click / Enter / Space when not loading and not disabled.
37
+ * Open the native wallet sheet here (Payment Request API). Named
38
+ * `onActivate` rather than `onClick` to signal it triggers a payment
39
+ * flow. A native `onClick` still forwards through `...rest`.
40
+ */
41
+ onActivate?: (event: MouseEvent<HTMLButtonElement>) => void;
42
+ /**
43
+ * Wallet sheet is opening / payment in flight. Swaps the mark for the
44
+ * kit Spinner, sets `aria-busy="true"`, and suppresses activation so
45
+ * the user cannot double-open the sheet.
46
+ */
47
+ loading?: boolean;
48
+ /**
49
+ * Override the resolved accessible / visible label. Defaults to the
50
+ * `provider` + `labelType` i18n string. The brand wordmark constant
51
+ * ("Apple Pay" / "Google Pay") is never overridable via this prop —
52
+ * pass a fully-translated verb phrase only.
53
+ */
54
+ label?: ReactNode;
55
+ /**
56
+ * Native button type. Defaults to `'button'` so the wallet trigger
57
+ * never implicitly submits an ambient `<form>`.
58
+ */
59
+ type?: 'button' | 'submit' | 'reset';
60
+ }
61
+ export declare const WalletPayButton: import("react").ForwardRefExoticComponent<WalletPayButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
62
+ export {};
63
+ //# sourceMappingURL=wallet-pay-button.d.ts.map
@@ -1,4 +1,4 @@
1
- import { W as n } from "../../_chunks/warning-stack-bDicCvxs.js";
1
+ import { W as n } from "../../_chunks/warning-stack-DNR3-IbP.js";
2
2
  export {
3
3
  n as WarningStack
4
4
  };
@@ -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-uSiHbOWQ.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-C3gB0FvB.js";
2
2
  export {
3
3
  r as CORE_PATIENT_FIELDS,
4
4
  e as WorkflowCard,
@@ -0,0 +1,56 @@
1
+ import { LOCALES_WITH_BUNDLES } from './resources';
2
+ /** Reading direction. Mirrors the shape of `hooks/use-locale.ts#LocaleDir`. */
3
+ export type LocaleDir = 'ltr' | 'rtl';
4
+ /** IETF locale tag from the kit's bundled set. */
5
+ export type Locale = (typeof LOCALES_WITH_BUNDLES)[number];
6
+ export interface LocaleMetaEntry {
7
+ /** IETF locale tag (matches the key in `LOCALES_WITH_BUNDLES`). */
8
+ code: Locale;
9
+ /** Endonym — the locale's name in its own language ("Italiano", "العربية"). */
10
+ nativeName: string;
11
+ /** Exonym — the locale's name in English ("Italian", "Arabic"). */
12
+ englishName: string;
13
+ /**
14
+ * ISO 3166-1 alpha-2 country code for the default-region flag. Feed
15
+ * to the kit's `<Flag country={…} />` component to render the actual
16
+ * flag SVG (NOT the emoji glyph — those don't paint on Windows and
17
+ * lose fidelity at hero sizes). A few language tags here aren't tied
18
+ * to a single country (en, ar, hi); we pick the AlfaDocs default
19
+ * marketing region — consumers needing a different region flag
20
+ * override at the call site.
21
+ */
22
+ countryCode: string;
23
+ /**
24
+ * Regional-indicator flag emoji. Retained as a fallback for non-DOM
25
+ * contexts (terminal logs, plain-text exports) and the rare consumer
26
+ * surface that can't mount the kit's `Flag` component. UI surfaces
27
+ * should always reach for `countryCode` + `<Flag />` instead.
28
+ */
29
+ flag: string;
30
+ /** Reading direction. */
31
+ dir: LocaleDir;
32
+ }
33
+ /**
34
+ * Canonical metadata for every locale shipped in `LOCALES_WITH_BUNDLES`.
35
+ * Order matches the bundled-locales array so iteration is stable.
36
+ */
37
+ export declare const LOCALE_META: Record<Locale, LocaleMetaEntry>;
38
+ /**
39
+ * Canonical (i18n-parity) order — used when consumers need the same
40
+ * sequence as `LOCALES_WITH_BUNDLES` (e.g. generating fixtures or
41
+ * snapshot keys). Pickers / menus should use `LOCALE_LIST` instead,
42
+ * which sorts alphabetically.
43
+ */
44
+ export declare const LOCALE_LIST_CANONICAL: readonly LocaleMetaEntry[];
45
+ /**
46
+ * Picker-facing list — sorted alphabetically by English name so the
47
+ * order is deterministic and language-independent. End users searching
48
+ * by native name use the picker's input box to filter; the visible
49
+ * order doesn't depend on the active locale's collation.
50
+ *
51
+ * "System Default" (the OS-driven fallback) is rendered separately at
52
+ * the top of `LocalePicker.SearchList` — not in this list — so the
53
+ * alphabetical order here applies to the 18 explicit locale rows only.
54
+ */
55
+ export declare const LOCALE_LIST: readonly LocaleMetaEntry[];
56
+ //# sourceMappingURL=locale-meta.d.ts.map
@@ -65,6 +65,17 @@ export declare const arUi: {
65
65
  readonly opensInNewTab: "يُفتح في علامة تبويب جديدة";
66
66
  };
67
67
  readonly inputs: {
68
+ readonly fiscalCode: {
69
+ readonly placeholder: "RSSMRA85M01H501Z";
70
+ readonly formatHint: "16 حرفاً — أحرف وأرقام";
71
+ readonly charactersEntered: "{{count}} من 16 حرفاً";
72
+ readonly valid: "رمز ضريبي صالح";
73
+ readonly errorIncomplete: "أدخل الأحرف الستة عشر كاملةً";
74
+ readonly errorFormat: "تنسيق الرمز الضريبي غير صالح";
75
+ readonly errorChecksum: "رمز ضريبي غير صالح — تحقق من الأحرف";
76
+ readonly ariaLabel: "الرمز الضريبي";
77
+ readonly calculate: "حساب الرمز الضريبي";
78
+ };
68
79
  readonly switch: {
69
80
  readonly on: "مفعّل";
70
81
  readonly off: "معطّل";
@@ -1682,6 +1693,269 @@ export declare const arUi: {
1682
1693
  };
1683
1694
  readonly empty: "اختر طريقة وتاريخًا لتقدير تاريخ الولادة المتوقع.";
1684
1695
  };
1696
+ readonly cycleCalculator: {
1697
+ readonly lastPeriod: "أول يوم في آخر دورة شهرية";
1698
+ readonly cycleLength: "طول الدورة";
1699
+ readonly cycleLengthHint: "متوسط عدد الأيام بين الدورات. المعيار هو 28.";
1700
+ readonly ovulation: "الإباضة المتوقعة";
1701
+ readonly mostFertile: "أعلى خصوبة";
1702
+ readonly fertileWindow: "نافذة الخصوبة";
1703
+ readonly nextPeriod: "الدورة القادمة";
1704
+ readonly empty: "أدخل تاريخ آخر دورة شهرية لتوقع الإباضة ونافذة الخصوبة.";
1705
+ };
1706
+ readonly gestationalAgeCalculator: {
1707
+ readonly method: {
1708
+ readonly label: "التاريخ المعروف";
1709
+ readonly lmp: "آخر دورة شهرية";
1710
+ readonly edd: "تاريخ الولادة المتوقع";
1711
+ };
1712
+ readonly lmpDate: "أول يوم في آخر دورة شهرية";
1713
+ readonly eddDate: "تاريخ الولادة المتوقع";
1714
+ readonly gestationLabel: "عمر الحمل اليوم";
1715
+ readonly trimesterLabel: "الثلث";
1716
+ readonly gestation: "{{weeks}} أسبوع {{days}} يوم";
1717
+ readonly milestonesLabel: "المراحل";
1718
+ readonly reached: "تم الوصول";
1719
+ readonly milestone: {
1720
+ readonly w12: "نهاية الثلث الأول (12 أسبوعًا)";
1721
+ readonly w24: "القدرة على الحياة (24 أسبوعًا)";
1722
+ readonly w28: "الثلث الثالث (28 أسبوعًا)";
1723
+ readonly w37: "تمام الحمل (37 أسبوعًا)";
1724
+ readonly w40: "تاريخ الولادة (40 أسبوعًا)";
1725
+ };
1726
+ readonly trimester: {
1727
+ readonly preconception: "قبل الإخصاب";
1728
+ readonly first: "الثلث الأول";
1729
+ readonly second: "الثلث الثاني";
1730
+ readonly third: "الثلث الثالث";
1731
+ readonly postterm: "بعد الموعد";
1732
+ };
1733
+ readonly empty: "اختر تاريخًا لحساب عمر الحمل.";
1734
+ };
1735
+ readonly pregnancyWeightGain: {
1736
+ readonly height: "الطول";
1737
+ readonly prePregnancyWeight: "الوزن قبل الحمل";
1738
+ readonly currentWeight: "الوزن الحالي";
1739
+ readonly gestationalWeeks: "عمر الحمل (أسابيع)";
1740
+ readonly units: {
1741
+ readonly cm: "سم";
1742
+ readonly kg: "كجم";
1743
+ };
1744
+ readonly prePregnancyBmi: "مؤشر كتلة الجسم قبل الحمل";
1745
+ readonly category: {
1746
+ readonly underweight: "نقص الوزن";
1747
+ readonly normal: "وزن طبيعي";
1748
+ readonly overweight: "زيادة الوزن";
1749
+ readonly obese: "سمنة";
1750
+ };
1751
+ readonly actualGain: "الوزن المكتسب";
1752
+ readonly recommendedToDate: "الموصى به حتى الآن";
1753
+ readonly recommendedTotal: "الموصى به الإجمالي";
1754
+ readonly status: {
1755
+ readonly below: "أقل من النطاق الموصى به";
1756
+ readonly within: "ضمن النطاق الموصى به";
1757
+ readonly above: "أعلى من النطاق الموصى به";
1758
+ };
1759
+ readonly disclaimer: "استنادًا إلى نطاقات IOM (2009) للحمل بجنين واحد. للإرشاد فقط — لا يغني عن التقييم السريري.";
1760
+ readonly empty: "أدخل الطول والأوزان وعمر الحمل لتقييم زيادة الوزن.";
1761
+ };
1762
+ readonly unitConverter: {
1763
+ readonly categoryLabel: "الفئة";
1764
+ readonly category: {
1765
+ readonly weight: "الوزن";
1766
+ readonly length: "الطول";
1767
+ readonly temperature: "درجة الحرارة";
1768
+ readonly glucose: "سكر الدم";
1769
+ };
1770
+ readonly value: "القيمة";
1771
+ readonly from: "من";
1772
+ readonly to: "إلى";
1773
+ readonly result: "النتيجة";
1774
+ readonly units: {
1775
+ readonly kg: "كيلوغرام (kg)";
1776
+ readonly g: "غرام (g)";
1777
+ readonly lb: "رطل (lb)";
1778
+ readonly oz: "أوقية (oz)";
1779
+ readonly cm: "سنتيمتر (cm)";
1780
+ readonly m: "متر (m)";
1781
+ readonly in: "بوصة (in)";
1782
+ readonly ft: "قدم (ft)";
1783
+ readonly c: "مئوية (°C)";
1784
+ readonly f: "فهرنهايت (°F)";
1785
+ readonly mmol_l: "mmol/L";
1786
+ readonly mg_dl: "mg/dL";
1787
+ };
1788
+ readonly empty: "أدخل قيمة للتحويل.";
1789
+ };
1790
+ readonly insert: {
1791
+ readonly button: "إدراج";
1792
+ readonly text: "إدراج نص";
1793
+ readonly image: "إدراج صورة";
1794
+ readonly textImage: "إدراج نص + صورة";
1795
+ readonly title: {
1796
+ readonly bmi: "مؤشر كتلة الجسم";
1797
+ readonly dueDate: "تاريخ الولادة المتوقع";
1798
+ readonly gestationalAge: "عمر الحمل";
1799
+ readonly cycle: "توقع الدورة";
1800
+ readonly weightGain: "زيادة الوزن أثناء الحمل";
1801
+ readonly unitConverter: "تحويل الوحدات";
1802
+ };
1803
+ };
1804
+ readonly dependentSelector: {
1805
+ readonly legend: "من تُسجّل وصوله؟";
1806
+ readonly description: "اختر نفسك أو أحد أفراد العائلة المسؤول عنه.";
1807
+ readonly relationship: {
1808
+ readonly self: "أنت";
1809
+ readonly son: "ابن";
1810
+ readonly daughter: "ابنة";
1811
+ readonly child: "طفل";
1812
+ readonly spouse: "الزوج/الزوجة";
1813
+ readonly parent: "أحد الوالدين";
1814
+ readonly sibling: "أخ/أخت";
1815
+ readonly ward: "شخص مُعال";
1816
+ readonly other: "أحد أفراد العائلة";
1817
+ };
1818
+ readonly age_one: "عمره عام واحد";
1819
+ readonly age_other: "عمره {{count}} عاماً";
1820
+ readonly age_zero: "عمره {{count}} عاماً";
1821
+ readonly age_two: "عمره {{count}} عاماً";
1822
+ readonly age_few: "عمره {{count}} عاماً";
1823
+ readonly age_many: "عمره {{count}} عاماً";
1824
+ readonly minorBadge: "قاصر";
1825
+ readonly optionLabel: "{{name}}، {{relationship}}";
1826
+ readonly empty: "لا يوجد مُعالون مرتبطون بحسابك بعد.";
1827
+ readonly selectPrompt: "اختر شخصاً للمتابعة.";
1828
+ readonly loadingLabel: "جارٍ تحميل الأشخاص الذين يمكنك تسجيل وصولهم…";
1829
+ readonly disabledReason: {
1830
+ readonly alreadyCheckedIn: "تم تسجيل الوصول اليوم بالفعل.";
1831
+ };
1832
+ readonly avatarAlt: "";
1833
+ };
1834
+ readonly documentScanner: {
1835
+ readonly regionLabel: "التقاط المستند";
1836
+ readonly videoLabel: "معاينة حية للكاميرا لمستندك";
1837
+ readonly previewAlt: "صورة المستند الملتقطة";
1838
+ readonly useCamera: "استخدام الكاميرا";
1839
+ readonly capture: "التقاط المستند";
1840
+ readonly retake: "إعادة التقاط الصورة";
1841
+ readonly confirm: "استخدام هذه الصورة";
1842
+ readonly uploadInstead: "تحميل صورة بدلاً من ذلك";
1843
+ readonly requesting: "جارٍ طلب الوصول إلى الكاميرا…";
1844
+ readonly hint: {
1845
+ readonly tesseraSanitaria: "ضع بطاقتك الصحية (Tessera Sanitaria) داخل الإطار وثبّتها";
1846
+ readonly cie: "ضع بطاقة هويتك الإلكترونية (CIE) داخل الإطار وثبّتها";
1847
+ readonly idCard: "ضع بطاقة هويتك داخل الإطار وثبّتها";
1848
+ readonly generic: "ضع مستندك داخل الإطار وثبّته";
1849
+ };
1850
+ readonly frameLabel: "إطار محاذاة المستند";
1851
+ readonly state: {
1852
+ readonly idle: "جاهز لالتقاط مستند";
1853
+ readonly requesting: "جارٍ طلب الوصول إلى الكاميرا";
1854
+ readonly streaming: "الكاميرا جاهزة — حاذِ مستندك والتقطه";
1855
+ readonly captured: "تم التقاط المستند";
1856
+ readonly uploading: "جارٍ معالجة الصورة";
1857
+ };
1858
+ readonly error: {
1859
+ readonly permissionDenied: "تم رفض إذن الكاميرا. يمكنك تحميل صورة بدلاً من ذلك.";
1860
+ readonly noCamera: "لم يتم العثور على كاميرا. حمّل صورة لمستندك بدلاً من ذلك.";
1861
+ readonly insecureContext: "يتطلب التقاط الكاميرا اتصالاً آمناً (HTTPS). حمّل صورة بدلاً من ذلك.";
1862
+ readonly notReadable: "الكاميرا قيد الاستخدام بالفعل من قِبل تطبيق آخر. أغلقه وأعد المحاولة، أو حمّل صورة.";
1863
+ readonly captureFailed: "تعذّر التقاط الصورة. يُرجى المحاولة مرة أخرى.";
1864
+ readonly fileInvalidType: "نوع الملف هذا غير مدعوم. استخدم صورة بصيغة JPG أو PNG أو WebP.";
1865
+ readonly fileTooLarge: "هذه الصورة كبيرة جداً. اختر ملفاً بحجم أقل من {{maxSizeMb}} ميغابايت.";
1866
+ };
1867
+ readonly retry: "حاول استخدام الكاميرا مرة أخرى";
1868
+ readonly onFileBadge: "موجود في الأرشيف بالفعل";
1869
+ readonly agent: {
1870
+ readonly state: {
1871
+ readonly hasCapture: "صحيح عند توفر صورة ملتقطة أو محمّلة.";
1872
+ readonly phase: "المرحلة الحالية من دورة حياة الماسح.";
1873
+ };
1874
+ readonly actions: {
1875
+ readonly startCamera: "اطلب إذن الكاميرا وابدأ عدسة المعاينة الحية.";
1876
+ readonly capture: "جمّد إطار العدسة الحالي كصورة ملتقطة.";
1877
+ readonly confirm: "أكّد الالتقاط الحالي وأرسله عبر onConfirm.";
1878
+ readonly retake: "تجاهل الالتقاط الحالي وعُد إلى الالتقاط.";
1879
+ };
1880
+ };
1881
+ };
1882
+ readonly qrCode: {
1883
+ readonly ariaLabel: "رمز QR لتسجيل الوصول";
1884
+ readonly ariaLabelNamed: "رمز QR لتسجيل الوصول في {{label}}";
1885
+ readonly caption: "امسح الرمز لتسجيل الوصول";
1886
+ readonly captionPortal: "امسح الرمز لفتح بوابة المريض الخاصة بك";
1887
+ readonly empty: "لا يوجد رمز QR";
1888
+ readonly scanHint: "وجّه كاميرا هاتفك نحو الرمز";
1889
+ };
1890
+ readonly sessionCountdown: {
1891
+ readonly ariaLabel: "تنتهي صلاحية الجلسة خلال {{time}}";
1892
+ readonly remainingInline: "يتبقّى {{time}}";
1893
+ readonly remainingBanner: "تنتهي صلاحية جلسة تسجيل وصولك خلال {{time}}.";
1894
+ readonly timeMinutesSeconds: "{{minutes}}د {{seconds}}ث";
1895
+ readonly timeSecondsOnly: "{{seconds}}ث";
1896
+ readonly minutesRemaining_one: "تتبقّى دقيقة واحدة";
1897
+ readonly minutesRemaining_other: "تتبقّى {{count}} دقيقة";
1898
+ readonly minutesRemaining_zero: "تتبقّى {{count}} دقيقة";
1899
+ readonly minutesRemaining_two: "تتبقّى {{count}} دقيقة";
1900
+ readonly minutesRemaining_few: "تتبقّى {{count}} دقيقة";
1901
+ readonly minutesRemaining_many: "تتبقّى {{count}} دقيقة";
1902
+ readonly secondsRemaining_one: "تتبقّى ثانية واحدة";
1903
+ readonly secondsRemaining_other: "تتبقّى {{count}} ثانية";
1904
+ readonly secondsRemaining_zero: "تتبقّى {{count}} ثانية";
1905
+ readonly secondsRemaining_two: "تتبقّى {{count}} ثانية";
1906
+ readonly secondsRemaining_few: "تتبقّى {{count}} ثانية";
1907
+ readonly secondsRemaining_many: "تتبقّى {{count}} ثانية";
1908
+ readonly warning: "جلستك على وشك الانتهاء. يُرجى إنهاؤها قريباً.";
1909
+ readonly expired: "انتهت صلاحية جلسة تسجيل وصولك.";
1910
+ readonly expiredAnnouncement: "انتهت صلاحية الجلسة.";
1911
+ readonly restart: "إعادة بدء تسجيل الوصول";
1912
+ readonly progressLabel: "الوقت المنقضي من الجلسة";
1913
+ };
1914
+ readonly socialSignInButton: {
1915
+ readonly apple: "تسجيل الدخول باستخدام Apple";
1916
+ readonly google: "تسجيل الدخول باستخدام Google";
1917
+ readonly continueApple: "المتابعة باستخدام Apple";
1918
+ readonly continueGoogle: "المتابعة باستخدام Google";
1919
+ readonly loading: "جارٍ تسجيل الدخول…";
1920
+ };
1921
+ readonly walletPayButton: {
1922
+ readonly applePay: {
1923
+ readonly pay: "ادفع باستخدام Apple Pay";
1924
+ readonly buy: "اشترِ باستخدام Apple Pay";
1925
+ readonly checkout: "أكمل الدفع باستخدام Apple Pay";
1926
+ readonly book: "احجز باستخدام Apple Pay";
1927
+ readonly plain: "Apple Pay";
1928
+ };
1929
+ readonly googlePay: {
1930
+ readonly pay: "ادفع باستخدام Google Pay";
1931
+ readonly buy: "اشترِ باستخدام Google Pay";
1932
+ readonly checkout: "أكمل الدفع باستخدام Google Pay";
1933
+ readonly book: "احجز باستخدام Google Pay";
1934
+ readonly plain: "Google Pay";
1935
+ };
1936
+ };
1937
+ readonly signDocument: {
1938
+ readonly regionLabel: "راجع المستند ووقّعه";
1939
+ readonly regionLabelNamed: "راجع ووقّع: {{title}}";
1940
+ readonly documentLabel: "المستند المراد توقيعه";
1941
+ readonly signatureSection: "توقيعك";
1942
+ readonly scrollToEnd: "مرّر إلى نهاية المستند للتوقيع.";
1943
+ readonly readyToSign: "يمكنك الآن توقيع المستند.";
1944
+ readonly pageProgress: "صفحة {{current}} من {{total}}";
1945
+ readonly confirm: "أكّد ووقّع";
1946
+ readonly signToEnable: "أضف توقيعك لتفعيل التأكيد.";
1947
+ readonly signed: "موقّع";
1948
+ readonly signedOn: "وُقّع في {{date}}";
1949
+ readonly agent: {
1950
+ readonly state: {
1951
+ readonly isReadComplete: "صحيح عندما يصل القارئ إلى الصفحة الأخيرة (أو عند إيقاف شرط القراءة).";
1952
+ };
1953
+ readonly actions: {
1954
+ readonly confirm: "يؤكّد التوقيع الحالي ويرسله عبر onSign. لا تأثير له إذا لم يُوقّع.";
1955
+ readonly reset: "يمسح التوقيع المُلتقط ويعيد الحالة إلى غير موقّع.";
1956
+ };
1957
+ };
1958
+ };
1685
1959
  readonly languages: {
1686
1960
  readonly en: "الإنجليزية";
1687
1961
  readonly it: "الإيطالية";