@alfadocs/ui-kit 1.54.3 → 1.55.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 (617) hide show
  1. package/dist/_chunks/{accordion-C11v9ouP.js → accordion-Ch3xp0mX.js} +9 -9
  2. package/dist/_chunks/{actions-cell-renderer-CjzSqMgn.js → actions-cell-renderer-Dj1ZkvJj.js} +4 -4
  3. package/dist/_chunks/{address-autocomplete-BBZ0u_U1.js → address-autocomplete-bPR2mNBt.js} +2 -2
  4. package/dist/_chunks/address-fields-BfjxS05Z.js +298 -0
  5. package/dist/_chunks/{agenda-card-CakEvwnM.js → agenda-card-DauvvKX6.js} +2 -2
  6. package/dist/_chunks/{agenda-tray-B8vuZKjH.js → agenda-tray-ZKhDxlfw.js} +24 -24
  7. package/dist/_chunks/{ai-credits-notice-D9_qP2xc.js → ai-credits-notice-BoNJtOuE.js} +4 -4
  8. package/dist/_chunks/ai-fab-pill-BOu96kCx.js +30 -0
  9. package/dist/_chunks/{ai-permission-notice-Cr6o1f0f.js → ai-permission-notice-5vpblPCx.js} +3 -3
  10. package/dist/_chunks/{ai-prompt-input-DkL8W-nt.js → ai-prompt-input-Beh-O_rJ.js} +4 -4
  11. package/dist/_chunks/{alia-sidebar-DSUQ2RpK.js → alia-sidebar-DS0b54Mv.js} +12 -12
  12. package/dist/_chunks/{anamnesis-card-BT1tMt5O.js → anamnesis-card-BSlAhaoG.js} +4 -4
  13. package/dist/_chunks/{anamnesis-summary-card-Bv0CZ-mk.js → anamnesis-summary-card-2YfIYY2j.js} +2 -2
  14. package/dist/_chunks/{anamnesis-summary-rows-Brru7JrH.js → anamnesis-summary-rows-Dtw5Hpg4.js} +425 -424
  15. package/dist/_chunks/{antenatal-schedule-timeline-BZzgjfyd.js → antenatal-schedule-timeline-Kf2Yg8uo.js} +4 -4
  16. package/dist/_chunks/{app-frame-Cos-GSfw.js → app-frame-B-0O9CrU.js} +40 -38
  17. package/dist/_chunks/{appointment-card-CA2ynsmN.js → appointment-card-Dh3fAcyf.js} +12 -12
  18. package/dist/_chunks/{appointment-peek-Cbrg36wj.js → appointment-peek-BIZaDeCi.js} +6 -6
  19. package/dist/_chunks/{appointment-timeline-CssAJLpL.js → appointment-timeline-DmqYEIT9.js} +32 -33
  20. package/dist/_chunks/{appointment-tray-EQUjllVy.js → appointment-tray-CyI_p3zU.js} +28 -28
  21. package/dist/_chunks/{appointment-workflow-status-DrWCNLbB.js → appointment-workflow-status-DMjuIK90.js} +2 -2
  22. package/dist/_chunks/{audio-recorder-BM68r6fe.js → audio-recorder-DWKKjGPt.js} +5 -6
  23. package/dist/_chunks/{auth-form-parts-Celi-TLV.js → auth-form-parts-CravOf0L.js} +6 -5
  24. package/dist/_chunks/{autocomplete-BXm1rnT0.js → autocomplete-DosDnGie.js} +3 -3
  25. package/dist/_chunks/{avatar-DYtwj1-R.js → avatar-WZY3eGE7.js} +10 -10
  26. package/dist/_chunks/{balance-badge-cell-C5hmahoB.js → balance-badge-cell-zP-iN-Pd.js} +5 -5
  27. package/dist/_chunks/{benefit-card-DB1Kdrmc.js → benefit-card-BWBClvdF.js} +46 -45
  28. package/dist/_chunks/{bishop-score-BzvVol-u.js → bishop-score-BxA20j9T.js} +5 -5
  29. package/dist/_chunks/{bmi-calculator-CDmQk0b5.js → bmi-calculator-DTZhRhXe.js} +5 -5
  30. package/dist/_chunks/{booking-BGY3LUi8.js → booking-uZO10TLK.js} +1553 -1458
  31. package/dist/_chunks/{button-CYPx2xFq.js → button-Bn16lcFM.js} +10 -7
  32. package/dist/_chunks/{button-group-CpEycMps.js → button-group-CWlwR-A5.js} +3 -3
  33. package/dist/_chunks/{calendar-BwF5nQuW.js → calendar-6-24PQ1u.js} +4 -4
  34. package/dist/_chunks/{calendar-workspace-BJPhMb2c.js → calendar-workspace-DVajSkKA.js} +868 -883
  35. package/dist/_chunks/{card-DPmk26CL.js → card-DMO2nkt4.js} +45 -42
  36. package/dist/_chunks/{care-plan-card-BqI-_B4T.js → care-plan-card-Ddjh5Doc.js} +5 -5
  37. package/dist/_chunks/{care-plan-entry-card-CbsZmfQM.js → care-plan-entry-card-0rpR-4Te.js} +5 -5
  38. package/dist/_chunks/{care-plan-header-BIS4CGcp.js → care-plan-header-BeMYMiI7.js} +3 -3
  39. package/dist/_chunks/{carousel.agent-DW9iPLdy.js → carousel.agent-D3xthzTf.js} +44 -45
  40. package/dist/_chunks/{chart-C134Ibwm.js → chart-C2RBJERE.js} +3 -3
  41. package/dist/_chunks/{chat-container-CAfyTxat.js → chat-container-baxzy8k8.js} +21 -22
  42. package/dist/_chunks/{chat-input-Bg99kcl3.js → chat-input-PtrSu1ZC.js} +27 -27
  43. package/dist/_chunks/{chat-message-D4rvLoIJ.js → chat-message-CmGUcajG.js} +4 -4
  44. package/dist/_chunks/city-input-BC_nYINn.js +185 -0
  45. package/dist/_chunks/{clinical-note-card-gmWXEwSu.js → clinical-note-card-14JIoUR0.js} +3 -3
  46. package/dist/_chunks/{code-block-CRVa-Thh.js → code-block-BQgK70mO.js} +2 -2
  47. package/dist/_chunks/{collapsible-CTjxzGuF.js → collapsible-DVPM46bq.js} +27 -27
  48. package/dist/_chunks/{color-picker-Bu0wM8xv.js → color-picker-BRQ4Y9SO.js} +3 -3
  49. package/dist/_chunks/{combobox-DppVSuUm.js → combobox-U5yfO6o0.js} +262 -218
  50. package/dist/_chunks/{connection-status-BwTnjnUj.js → connection-status-ncTjUPt6.js} +4 -4
  51. package/dist/_chunks/{contact-card-CIVCcicP.js → contact-card-CmK05vNb.js} +2 -2
  52. package/dist/_chunks/{contact-profile-card-B-HzocbB.js → contact-profile-card-C5DbP_X3.js} +4 -4
  53. package/dist/_chunks/{control-room-rail-g4vNSPFi.js → control-room-rail-Tx2jW250.js} +3 -3
  54. package/dist/_chunks/{copy-field-CiIuVbKe.js → copy-field-CvTIuA_p.js} +3 -3
  55. package/dist/_chunks/{country-select-r3QC7cVA.js → country-select-DF5Bd_mn.js} +2 -2
  56. package/dist/_chunks/{cycle-calculator-LjsQd9Gl.js → cycle-calculator-Dgfqr4Q4.js} +7 -7
  57. package/dist/_chunks/{dashboard-grid--rkojX6m.js → dashboard-grid-SAGoyCtL.js} +71 -71
  58. package/dist/_chunks/{data-table-BErtJzaT.js → data-table-C6T31E33.js} +244 -240
  59. package/dist/_chunks/{data-table-tabs-D5nFZKxg.js → data-table-tabs-Xhg5G0gU.js} +4 -4
  60. package/dist/_chunks/{date-picker-variants-B3AFKDSu.js → date-picker-variants-BnF-sHzq.js} +19 -10
  61. package/dist/_chunks/{date-picker-BnhBmcH6.js → date-picker-wRAcq2lt.js} +49 -49
  62. package/dist/_chunks/{date-range-picker-Dg050N1d.js → date-range-picker-BOvHwWO5.js} +5 -5
  63. package/dist/_chunks/{date-time-picker-Ckl6ezCL.js → date-time-picker-CLeLKuv9.js} +5 -5
  64. package/dist/_chunks/{dependent-selector-CPiolWiw.js → dependent-selector-Bet3XAFj.js} +2 -2
  65. package/dist/_chunks/{description-list-BKQMUiXv.js → description-list-DkLeHiew.js} +2 -2
  66. package/dist/_chunks/{dev-bypass-button-Y1s7gPSD.js → dev-bypass-button-BhGn6evf.js} +2 -2
  67. package/dist/_chunks/{document-preview-C_6R_VZK.js → document-preview-uoTekVR7.js} +5 -5
  68. package/dist/_chunks/{document-scanner-pADVX447.js → document-scanner-CQS9kv84.js} +17 -17
  69. package/dist/_chunks/{dropdown-menu-B5mgV1kV.js → dropdown-menu-BQSNVp4x.js} +2 -2
  70. package/dist/_chunks/{due-date-calculator-mDvGKmRV.js → due-date-calculator-DXDJbUzo.js} +8 -8
  71. package/dist/_chunks/{editable-currency-cell-renderer-CfFp_1hI.js → editable-currency-cell-renderer-CmYcMuwi.js} +4 -4
  72. package/dist/_chunks/{editable-description-CCrAEJMq.js → editable-description-DuJlvltc.js} +3 -3
  73. package/dist/_chunks/editor-overlay-NMxzcO6J.js +90 -0
  74. package/dist/_chunks/{email-input-DQixfopu.js → email-input-C7THAwh2.js} +3 -3
  75. package/dist/_chunks/{empty-state-CgvmPPvW.js → empty-state-gNG3qYCX.js} +2 -2
  76. package/dist/_chunks/{entity-card-D1Yrh9wf.js → entity-card-fpm-KUKc.js} +26 -27
  77. package/dist/_chunks/{entity-summary-C3E4JKVr.js → entity-summary-DcB0fIiv.js} +5 -5
  78. package/dist/_chunks/{error-boundary-Bzjk9Q2l.js → error-boundary-ChowhO6w.js} +2 -2
  79. package/dist/_chunks/error-page-CpuYbpOB.js +344 -0
  80. package/dist/_chunks/{error-page-illustration-bFti0VEc.js → error-page-illustration-BdJLuMdV.js} +12 -12
  81. package/dist/_chunks/error-summary-BhM8FEkl.js +101 -0
  82. package/dist/_chunks/{face-scheme-Doodi6A6.js → face-scheme-BicuUA2K.js} +8 -8
  83. package/dist/_chunks/{fetal-weight-DBgEaMoJ.js → fetal-weight-BWaqqjea.js} +5 -5
  84. package/dist/_chunks/{field-array-DGiIHCdy.js → field-array-BO-kaKFK.js} +3 -3
  85. package/dist/_chunks/{file-manager-BDNSnr7f.js → file-manager-dIJQUZvq.js} +52 -52
  86. package/dist/_chunks/{finished-terminal-BguGAUdg.js → finished-terminal-CPSDrIMB.js} +3 -3
  87. package/dist/_chunks/{fiscal-code-input-DNA_SbQx.js → fiscal-code-input-DesSQ6Fh.js} +168 -168
  88. package/dist/_chunks/floating-clearance-nIx9fFLy.js +20 -0
  89. package/dist/_chunks/forgot-password-form-DEx-M_QR.js +234 -0
  90. package/dist/_chunks/{form-field-Db0liyI8.js → form-field-Ani72sVY.js} +46 -44
  91. package/dist/_chunks/format-price-BKle6Xwt.js +52 -0
  92. package/dist/_chunks/{freemium-paywall-CtUCj-ND.js → freemium-paywall-B6ojVXq7.js} +44 -42
  93. package/dist/_chunks/{gestational-age-calculator-BVBz_5dm.js → gestational-age-calculator-BfGpt3du.js} +9 -9
  94. package/dist/_chunks/glass-surface-CPok0jEe.js +20 -0
  95. package/dist/_chunks/{hcg-doubling-BECrAUu3.js → hcg-doubling-BIYyI2Yo.js} +7 -7
  96. package/dist/_chunks/{header--a4ZTiM5.js → header-B9552pLh.js} +15 -14
  97. package/dist/_chunks/{header-settings-kkVm9VP3.js → header-settings-ge_3gYEq.js} +4 -4
  98. package/dist/_chunks/heatmap-BARGZZt2.js +2865 -0
  99. package/dist/_chunks/{help-me-write-templates-B4Y8dBv1.js → help-me-write-templates-B7L3zGsE.js} +28 -28
  100. package/dist/_chunks/{hover-card-CcRSI4gy.js → hover-card-BnTueNS2.js} +2 -2
  101. package/dist/_chunks/{iban-input-CpOUMMR-.js → iban-input-B9L2QDHh.js} +2 -2
  102. package/dist/_chunks/{icon-button-mKIvw90h.js → icon-button-COX76Jdj.js} +2 -2
  103. package/dist/_chunks/{icon-button-group-BsQkbCX4.js → icon-button-group-C5hhI-R5.js} +3 -3
  104. package/dist/_chunks/{icon-picker-JZzs1ol_.js → icon-picker-DWrqmI1c.js} +20 -20
  105. package/dist/_chunks/{image-cropper-CNBGkG7P.js → image-cropper-D0kkQ4lG.js} +2 -2
  106. package/dist/_chunks/{info-tip-Czh1izZ6.js → info-tip-B0jmIt6M.js} +2 -2
  107. package/dist/_chunks/{input-surface-xyERuLU_.js → input-surface-iBmxVBfr.js} +11 -12
  108. package/dist/_chunks/{insert-result-BuWQl11Z.js → insert-result-C1C2OCc3.js} +2 -2
  109. package/dist/_chunks/intl-locale-ySteXlDD.js +23 -0
  110. package/dist/_chunks/{kbd-BLovyx1R.js → kbd-Bx7eQv9f.js} +70 -66
  111. package/dist/_chunks/{key-value-pair-BkXjt88Z.js → key-value-pair-Ax8IJr1M.js} +2 -2
  112. package/dist/_chunks/{kit-extensions-GQHKTLWI.js → kit-extensions-C9-v8Dih.js} +6 -6
  113. package/dist/_chunks/{link-cell-renderer-D-xv2HMS.js → link-cell-renderer-DlBVPMTi.js} +9 -9
  114. package/dist/_chunks/{locale-picker-BhNIgeXA.js → locale-picker-DfNSdOpy.js} +4 -4
  115. package/dist/_chunks/login-dev-card-DmZ1B0lB.js +309 -0
  116. package/dist/_chunks/{logo-CuaqxTGK.js → logo-hIsyVE96.js} +19 -19
  117. package/dist/_chunks/{map-view-CQmqQJwK.js → map-view-CO2v0hfp.js} +9 -9
  118. package/dist/_chunks/{marketplace-app-shell-DbEfoNxe.js → marketplace-app-shell-Dcx-JEjg.js} +11 -11
  119. package/dist/_chunks/{message-card-C1buKlzM.js → message-card-DVo8-dOm.js} +36 -28
  120. package/dist/_chunks/{message-tray-DyBVqlGj.js → message-tray-BB95DA82.js} +5 -5
  121. package/dist/_chunks/{money-GypsuFk2.js → money-CeClE1nH.js} +2 -2
  122. package/dist/_chunks/multi-select-BT23EnSA.js +688 -0
  123. package/dist/_chunks/{muscle-scheme-DfYQ0Z3v.js → muscle-scheme-BDgIaGeW.js} +2 -2
  124. package/dist/_chunks/{nav-grid-BPbmzHY0.js → nav-grid-BqCPH8sm.js} +16 -17
  125. package/dist/_chunks/{notes-panel-DWJY3WV8.js → notes-panel-I8ntrrUW.js} +54 -53
  126. package/dist/_chunks/{notification-card-DubeUbVJ.js → notification-card-BGCIL6Mu.js} +56 -48
  127. package/dist/_chunks/{notification-tray-DJ0gtfu6.js → notification-tray-__sJXnsz.js} +5 -5
  128. package/dist/_chunks/{number-input-DRDRYZJg.js → number-input-CVwI1ltI.js} +2 -2
  129. package/dist/_chunks/{operator-hero-BnBPxwOi.js → operator-hero-Dyd2IGbR.js} +4 -4
  130. package/dist/_chunks/{optical-prescription-DBvebioV.js → optical-prescription-Do6e3wfs.js} +5 -5
  131. package/dist/_chunks/option-row-Dc7BrbK8.js +37 -0
  132. package/dist/_chunks/{otp-input-BedEqmIV.js → otp-input-CGMu30_e.js} +2 -2
  133. package/dist/_chunks/{pagination-CzEkpfti.js → pagination-BR1_GfD_.js} +2 -2
  134. package/dist/_chunks/{panel-subview-D8HGXaUa.js → panel-subview-BT-Apwgb.js} +3 -3
  135. package/dist/_chunks/{parse-DeDYl04y.js → parse-jZ-i8Xgj.js} +2 -2
  136. package/dist/_chunks/{password-input-6Yl6x1IO.js → password-input-BokZ_rnT.js} +162 -140
  137. package/dist/_chunks/{patient-details-D7QlsGK1.js → patient-details-DsTtjpuX.js} +6 -6
  138. package/dist/_chunks/{patient-field-row-Dr-ndtG8.js → patient-field-row-BvZ9luz-.js} +212 -211
  139. package/dist/_chunks/{patient-search-Dm3w0jWw.js → patient-search-D5xlXmd2.js} +5 -5
  140. package/dist/_chunks/{patient-summary-card-A3WhxFwp.js → patient-summary-card-3dspc2tR.js} +7 -7
  141. package/dist/_chunks/{payment-automation-upsell-DNiraNhF.js → payment-automation-upsell-DEUfM7EU.js} +5 -5
  142. package/dist/_chunks/{payment-form-B08gHZIY.js → payment-form-v6zZuV1_.js} +60 -56
  143. package/dist/_chunks/{payment-request-card-CR7SjsRs.js → payment-request-card-DAGqh9Yx.js} +5 -5
  144. package/dist/_chunks/{pdf-viewer-zv7pkUPA.js → pdf-viewer-C3minW5b.js} +5 -5
  145. package/dist/_chunks/periodontal-chart-BqwLxy2m.js +1413 -0
  146. package/dist/_chunks/{periodontal-chart-card-Djr3en8Q.js → periodontal-chart-card-CWZ1YM1h.js} +3 -3
  147. package/dist/_chunks/{periodontal-diagnosis-DmVIqXtC.js → periodontal-diagnosis-C9IuvLId.js} +2 -2
  148. package/dist/_chunks/{periodontal-risk-chart-C1Y5f-md.js → periodontal-risk-chart-D3DjIymT.js} +2 -2
  149. package/dist/_chunks/{phone-input-BzeUr49H.js → phone-input-DxkHMYmu.js} +139 -139
  150. package/dist/_chunks/{popover-9_v-7fJc.js → popover-BI3oV3eY.js} +2 -2
  151. package/dist/_chunks/{postal-code-input-lCk8me6K.js → postal-code-input-CfZOnIkW.js} +2 -2
  152. package/dist/_chunks/{practice-profile-hero-Bc3AyBiM.js → practice-profile-hero-C8RPACCi.js} +3 -3
  153. package/dist/_chunks/{practice-results-D3liWOz1.js → practice-results-DxOgbPDy.js} +9 -9
  154. package/dist/_chunks/{pregnancy-dating-BEmsMys4.js → pregnancy-dating-R3q5n1Wh.js} +10 -10
  155. package/dist/_chunks/{pregnancy-weight-gain-DMVPvM3a.js → pregnancy-weight-gain-DwmNklDU.js} +5 -5
  156. package/dist/_chunks/{privacy-lock-KDPKiTpH.js → privacy-lock-WkUgwIj_.js} +4 -4
  157. package/dist/_chunks/{privacy-mask-H8yYwgIb.js → privacy-mask-ChIjELJC.js} +3 -3
  158. package/dist/_chunks/{product-hub-panel-M5X3TYzq.js → product-hub-panel-BSSiGGG4.js} +49 -49
  159. package/dist/_chunks/{progress-TIAsNHQW.js → progress-D_g_Sl2g.js} +3 -5
  160. package/dist/_chunks/{province-select-DtF2ukoC.js → province-select-Bd20Z9Br.js} +2 -2
  161. package/dist/_chunks/{public-footer-Bfs81Qzp.js → public-footer-CxpG6J1M.js} +93 -90
  162. package/dist/_chunks/{public-header.agent-CrXkGtTF.js → public-header.agent-BWusjxY8.js} +3 -3
  163. package/dist/_chunks/{qr-code-Ofx7ryyu.js → qr-code-DHEma21c.js} +47 -48
  164. package/dist/_chunks/{radiograph-panel.agent-rS3Tegx6.js → radiograph-panel.agent-BA90I3Mu.js} +8 -8
  165. package/dist/_chunks/registration-form-D7iNqMBF.js +819 -0
  166. package/dist/_chunks/{reviews-panel-CyxZ0VmZ.js → reviews-panel-CDcK6W3b.js} +6 -6
  167. package/dist/_chunks/{rich-text-editor-DmnWavgl.js → rich-text-editor-Blp4smUr.js} +791 -799
  168. package/dist/_chunks/{scroll-area-BZOvUhwQ.js → scroll-area-ZtFCv9K7.js} +56 -46
  169. package/dist/_chunks/{search-bar-ORcfuK9A.js → search-bar-DQJS0wJN.js} +209 -199
  170. package/dist/_chunks/search-input-BAlDd05M.js +246 -0
  171. package/dist/_chunks/{section-card-XR2bW1Ie.js → section-card-ChJdOlBU.js} +2 -2
  172. package/dist/_chunks/{select-DHPmASkG.js → select-Ce5RMk93.js} +274 -236
  173. package/dist/_chunks/{session-countdown-DWUVDDox.js → session-countdown-CBINYw8H.js} +3 -3
  174. package/dist/_chunks/{sheet-BTgxkDJS.js → sheet-CNFW8mYZ.js} +3 -3
  175. package/dist/_chunks/{sidebar-2GBc0ZUa.js → sidebar-DLsG2AIk.js} +123 -124
  176. package/dist/_chunks/{sign-document-B_3U-S6g.js → sign-document-B6HlyCGV.js} +22 -22
  177. package/dist/_chunks/{sign-in-with-alfadocs-button-DFmgQuDo.js → sign-in-with-alfadocs-button-D91_x8DX.js} +4 -4
  178. package/dist/_chunks/{signature-capture-F6KViBF_.js → signature-capture-Chqh62Pc.js} +19 -20
  179. package/dist/_chunks/{signature-field-DLDznGnB.js → signature-field-Y01UB5DA.js} +2 -2
  180. package/dist/_chunks/{signature-request-BdolmJk4.js → signature-request-rgMsgo-C.js} +8 -8
  181. package/dist/_chunks/{signed-out-frame-dz1rLJ65.js → signed-out-frame-B2GTIeqA.js} +51 -51
  182. package/dist/_chunks/sliders-horizontal-D-F97cnE.js +22 -0
  183. package/dist/_chunks/{slot-grid-kCDoV3k4.js → slot-grid-sVZriOiQ.js} +4 -4
  184. package/dist/_chunks/{social-sign-in-button-BMGNlUWs.js → social-sign-in-button-yUqwhnPZ.js} +2 -2
  185. package/dist/_chunks/{spinner-a0FTYX9Q.js → spinner-CoflYlEx.js} +2 -2
  186. package/dist/_chunks/{stat-Ce9ymEKm.js → stat-51CDL4au.js} +25 -26
  187. package/dist/_chunks/state-backed-text-input-DECQy5aA.js +12 -0
  188. package/dist/_chunks/{stepper-accordion-BPNS6J6B.js → stepper-accordion-D7lnBGh2.js} +49 -49
  189. package/dist/_chunks/{streaming-text-BAPn_sZs.js → streaming-text-BKZmbW1Q.js} +31 -32
  190. package/dist/_chunks/subDays-DlMw8Xng.js +8 -0
  191. package/dist/_chunks/{tab-bar-DRKiomgj.js → tab-bar-Bm-rJB7Y.js} +7 -8
  192. package/dist/_chunks/{tabs-yIY-RySP.js → tabs-I2wf_nC7.js} +3 -3
  193. package/dist/_chunks/{task-card-C02Km4Gb.js → task-card-BMXMh3uE.js} +9 -9
  194. package/dist/_chunks/{task-editor-i-juLk76.js → task-editor-Ctxsa1BY.js} +155 -157
  195. package/dist/_chunks/{task-tray-By6DPwbT.js → task-tray-DsBO-AaP.js} +31 -31
  196. package/dist/_chunks/{tasks-panel-BkN9sROF.js → tasks-panel-CdgZQQgG.js} +130 -131
  197. package/dist/_chunks/{text-area-CDuItrvL.js → text-area-COMVJ1yE.js} +106 -96
  198. package/dist/_chunks/text-input-CaG9ApoE.js +333 -0
  199. package/dist/_chunks/{theme-toggle-BAHz3itd.js → theme-toggle-PpFcFoYK.js} +4 -4
  200. package/dist/_chunks/time-picker-DVfyAR81.js +871 -0
  201. package/dist/_chunks/{timeline-CVLjybJ3.js → timeline-DG8wAlAx.js} +3 -3
  202. package/dist/_chunks/{toast-UMUvXFsA.js → toast-CPqguP7G.js} +2 -2
  203. package/dist/_chunks/{token-insert-menu-DgtBIbNu.js → token-insert-menu-B-pWFDKX.js} +3 -3
  204. package/dist/_chunks/{tool-rail-CwXN-sDC.js → tool-rail-Bwyuw_Ot.js} +113 -110
  205. package/dist/_chunks/{tooth-scheme-BAMhwCZe.js → tooth-scheme-BAO_voUO.js} +97 -97
  206. package/dist/_chunks/{transcript-panel-jOCW4Ycl.js → transcript-panel-CjsiDB1K.js} +4 -4
  207. package/dist/_chunks/{treatment-receipt-DF2Slh-x.js → treatment-receipt-BSVOfStA.js} +2 -2
  208. package/dist/_chunks/{typing-indicator-BmwMQSxw.js → typing-indicator-B1RkE8jD.js} +16 -15
  209. package/dist/_chunks/{unit-converter-Bvhj9r3m.js → unit-converter-DS4UB_59.js} +5 -5
  210. package/dist/_chunks/{use-appointment-details-read-B6dBBgDa.js → use-appointment-details-read-DinTrRIW.js} +214 -214
  211. package/dist/_chunks/use-dom-value-DTxHhQAN.js +16 -0
  212. package/dist/_chunks/{use-prism-DaspP8w-.js → use-prism-DBOiELx7.js} +9 -9
  213. package/dist/_chunks/use-registration-submit-eWAECgUC.js +171 -0
  214. package/dist/_chunks/use-state-backed-input-C7ESmxKB.js +59 -0
  215. package/dist/_chunks/voice-control-panel-Bg1eklL0.js +1009 -0
  216. package/dist/_chunks/{wallet-pay-button-Dew8Pmgq.js → wallet-pay-button-DFP5FW0D.js} +2 -2
  217. package/dist/_chunks/{warning-stack-B_v_qMBI.js → warning-stack-ubD0IZCy.js} +25 -25
  218. package/dist/_chunks/{widget-picker-Ck8HTsil.js → widget-picker-D8RiWrJd.js} +38 -38
  219. package/dist/_chunks/{workflow-map-PzamnfJK.js → workflow-map-D3mezmGB.js} +8 -8
  220. package/dist/_chunks/{workflow-status-DDnsIrLt.js → workflow-status-BT27_fQp.js} +3 -3
  221. package/dist/agent-catalog.json +584 -14
  222. package/dist/agent-i18n/en.json +51 -10
  223. package/dist/components/_shared/ai-fab-pill.d.ts +18 -0
  224. package/dist/components/_shared/floating-clearance.d.ts +12 -0
  225. package/dist/components/_shared/glass-surface.d.ts +22 -0
  226. package/dist/components/_shared/input-surface.d.ts +1 -1
  227. package/dist/components/_shared/intl-locale.d.ts +7 -0
  228. package/dist/components/_shared/option-row.d.ts +30 -0
  229. package/dist/components/_shared/option.d.ts +2 -0
  230. package/dist/components/_shared/state-backed-text-input.d.ts +16 -0
  231. package/dist/components/_shared/use-dom-value.d.ts +20 -0
  232. package/dist/components/_shared/use-state-backed-input.d.ts +31 -0
  233. package/dist/components/accordion/index.js +1 -1
  234. package/dist/components/address-autocomplete/index.js +1 -1
  235. package/dist/components/address-fields/address-fields.d.ts +4 -0
  236. package/dist/components/address-fields/index.js +1 -1
  237. package/dist/components/agenda-card/index.js +1 -1
  238. package/dist/components/agenda-tray/index.js +1 -1
  239. package/dist/components/ai-credits-notice/index.js +1 -1
  240. package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +34 -0
  241. package/dist/components/ai-permission-notice/index.d.ts +1 -1
  242. package/dist/components/ai-permission-notice/index.js +1 -1
  243. package/dist/components/ai-prompt-input/index.js +1 -1
  244. package/dist/components/anamnesis-card/index.js +1 -1
  245. package/dist/components/anamnesis-summary-card/index.js +1 -1
  246. package/dist/components/app-frame/index.js +1 -1
  247. package/dist/components/appointment-card/index.js +2 -2
  248. package/dist/components/appointment-details-panel/index.js +1 -1
  249. package/dist/components/appointment-peek/index.js +1 -1
  250. package/dist/components/appointment-timeline/index.js +1 -1
  251. package/dist/components/audio-recorder/index.js +1 -1
  252. package/dist/components/autocomplete/index.js +1 -1
  253. package/dist/components/avatar/index.js +1 -1
  254. package/dist/components/benefit-card/index.js +1 -1
  255. package/dist/components/bishop-score/index.js +1 -1
  256. package/dist/components/bmi-calculator/index.js +1 -1
  257. package/dist/components/booking/booking-types.d.ts +10 -5
  258. package/dist/components/booking/index.js +1 -1
  259. package/dist/components/booking/payment.d.ts +19 -0
  260. package/dist/components/button/index.js +2 -2
  261. package/dist/components/button-group/index.js +1 -1
  262. package/dist/components/calendar/index.js +1 -1
  263. package/dist/components/card/index.js +1 -1
  264. package/dist/components/care-plan-card/index.js +1 -1
  265. package/dist/components/care-plan-entry-card/index.js +1 -1
  266. package/dist/components/care-plan-header/index.js +1 -1
  267. package/dist/components/carousel/index.js +1 -1
  268. package/dist/components/chart/index.js +1 -1
  269. package/dist/components/chat-container/index.js +1 -1
  270. package/dist/components/chat-input/index.js +1 -1
  271. package/dist/components/chat-message/index.js +1 -1
  272. package/dist/components/city-input/index.js +1 -1
  273. package/dist/components/clinical-note-card/index.js +1 -1
  274. package/dist/components/collapsible/index.js +1 -1
  275. package/dist/components/color-picker/index.js +1 -1
  276. package/dist/components/combobox/combobox.d.ts +6 -0
  277. package/dist/components/combobox/index.js +1 -1
  278. package/dist/components/connection-status/index.js +1 -1
  279. package/dist/components/contact-card/index.js +1 -1
  280. package/dist/components/contact-profile-card/index.js +1 -1
  281. package/dist/components/control-room-rail/index.js +1 -1
  282. package/dist/components/copy-field/index.js +1 -1
  283. package/dist/components/country-select/index.js +1 -1
  284. package/dist/components/cycle-calculator/index.js +1 -1
  285. package/dist/components/dashboard-grid/index.js +1 -1
  286. package/dist/components/data-table/index.js +4 -4
  287. package/dist/components/data-table-tabs/index.js +1 -1
  288. package/dist/components/date-picker/date-picker.d.ts +3 -3
  289. package/dist/components/date-picker/index.js +1 -1
  290. package/dist/components/date-range-picker/date-range-picker.d.ts +3 -3
  291. package/dist/components/date-range-picker/index.js +1 -1
  292. package/dist/components/date-time-picker/index.js +1 -1
  293. package/dist/components/dependent-selector/index.js +1 -1
  294. package/dist/components/description-list/index.js +1 -1
  295. package/dist/components/dev-bypass-button/index.js +1 -1
  296. package/dist/components/document-preview/index.js +1 -1
  297. package/dist/components/document-scanner/index.js +1 -1
  298. package/dist/components/dropdown-menu/index.js +1 -1
  299. package/dist/components/due-date-calculator/index.js +2 -2
  300. package/dist/components/editable-description/index.js +1 -1
  301. package/dist/components/editor-overlay/index.js +1 -1
  302. package/dist/components/email-input/email-input.d.ts +1 -1
  303. package/dist/components/email-input/index.js +1 -1
  304. package/dist/components/empty-state/index.js +1 -1
  305. package/dist/components/entity-summary/index.js +1 -1
  306. package/dist/components/error-boundary/index.js +1 -1
  307. package/dist/components/error-summary/error-summary.d.ts +50 -0
  308. package/dist/components/error-summary/index.d.ts +2 -0
  309. package/dist/components/error-summary/index.js +5 -0
  310. package/dist/components/face-scheme/index.js +1 -1
  311. package/dist/components/fetal-weight/index.js +1 -1
  312. package/dist/components/field-array/index.js +1 -1
  313. package/dist/components/file-manager/index.js +1 -1
  314. package/dist/components/finished-terminal/index.js +1 -1
  315. package/dist/components/fiscal-code-input/index.js +1 -1
  316. package/dist/components/form-field/form-field.d.ts +9 -0
  317. package/dist/components/form-field/index.js +1 -1
  318. package/dist/components/freemium-paywall/index.js +1 -1
  319. package/dist/components/gestational-age-calculator/index.js +1 -1
  320. package/dist/components/hcg-doubling/index.js +1 -1
  321. package/dist/components/header/index.js +1 -1
  322. package/dist/components/header-settings/index.js +1 -1
  323. package/dist/components/heatmap/heatmap-context.d.ts +21 -0
  324. package/dist/components/heatmap/heatmap-format.d.ts +59 -0
  325. package/dist/components/heatmap/heatmap-grid.d.ts +66 -0
  326. package/dist/components/heatmap/heatmap-legend.d.ts +36 -0
  327. package/dist/components/heatmap/heatmap-model.d.ts +152 -0
  328. package/dist/components/heatmap/heatmap-scale.d.ts +125 -0
  329. package/dist/components/heatmap/heatmap-table-view.d.ts +35 -0
  330. package/dist/components/heatmap/heatmap-tooltip.d.ts +40 -0
  331. package/dist/components/heatmap/heatmap-variants.d.ts +87 -0
  332. package/dist/components/heatmap/heatmap-window.d.ts +54 -0
  333. package/dist/components/heatmap/heatmap.agent.d.ts +4 -0
  334. package/dist/components/heatmap/heatmap.d.ts +186 -0
  335. package/dist/components/heatmap/index.d.ts +8 -0
  336. package/dist/components/heatmap/index.js +8 -0
  337. package/dist/components/hover-card/index.js +1 -1
  338. package/dist/components/iban-input/index.js +1 -1
  339. package/dist/components/icon-button/index.js +1 -1
  340. package/dist/components/icon-button-group/index.js +1 -1
  341. package/dist/components/icon-picker/index.js +1 -1
  342. package/dist/components/image-cropper/index.js +1 -1
  343. package/dist/components/index.d.ts +3 -0
  344. package/dist/components/info-tip/index.js +1 -1
  345. package/dist/components/kbd/index.js +1 -1
  346. package/dist/components/key-value-pair/index.js +1 -1
  347. package/dist/components/locale-picker/index.js +1 -1
  348. package/dist/components/logo/index.js +1 -1
  349. package/dist/components/map-view/index.js +1 -1
  350. package/dist/components/message-card/index.js +1 -1
  351. package/dist/components/message-tray/index.js +1 -1
  352. package/dist/components/money/index.js +1 -1
  353. package/dist/components/multi-select/index.js +1 -1
  354. package/dist/components/multi-select/multi-select.d.ts +6 -0
  355. package/dist/components/muscle-scheme/index.js +1 -1
  356. package/dist/components/nav-grid/index.js +1 -1
  357. package/dist/components/notes-panel/index.js +1 -1
  358. package/dist/components/notification-card/index.js +1 -1
  359. package/dist/components/notification-tray/index.js +1 -1
  360. package/dist/components/number-input/index.js +1 -1
  361. package/dist/components/operator-hero/index.js +1 -1
  362. package/dist/components/optical-prescription/index.js +1 -1
  363. package/dist/components/otp-input/index.js +1 -1
  364. package/dist/components/pagination/index.js +1 -1
  365. package/dist/components/panel-subview/index.js +1 -1
  366. package/dist/components/password-input/index.js +1 -1
  367. package/dist/components/patient-details/index.js +1 -1
  368. package/dist/components/patient-search/index.js +1 -1
  369. package/dist/components/patient-summary-card/index.js +1 -1
  370. package/dist/components/patient-table/index.js +1 -1
  371. package/dist/components/payment-card/index.js +1 -1
  372. package/dist/components/payment-form/index.js +1 -1
  373. package/dist/components/pdf-viewer/index.js +1 -1
  374. package/dist/components/periodontal-chart/index.d.ts +1 -1
  375. package/dist/components/periodontal-chart/index.js +1 -1
  376. package/dist/components/periodontal-chart/periodontal-chart.d.ts +44 -1
  377. package/dist/components/periodontal-chart-card/index.js +1 -1
  378. package/dist/components/periodontal-diagnosis/index.js +1 -1
  379. package/dist/components/periodontal-risk-chart/index.js +1 -1
  380. package/dist/components/phone-input/index.js +1 -1
  381. package/dist/components/popover/index.js +1 -1
  382. package/dist/components/postal-code-input/index.js +1 -1
  383. package/dist/components/practice-profile-hero/index.js +1 -1
  384. package/dist/components/practice-results/index.js +1 -1
  385. package/dist/components/pregnancy-dating/index.js +1 -1
  386. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  387. package/dist/components/privacy-lock/index.js +1 -1
  388. package/dist/components/product-hub-tray/index.js +1 -1
  389. package/dist/components/progress/index.js +1 -1
  390. package/dist/components/province-select/index.js +1 -1
  391. package/dist/components/public-footer/index.js +1 -1
  392. package/dist/components/public-header/index.js +1 -1
  393. package/dist/components/qr-code/index.js +1 -1
  394. package/dist/components/radiograph-panel/index.js +1 -1
  395. package/dist/components/reviews-panel/index.js +1 -1
  396. package/dist/components/rich-text-editor/index.js +2 -2
  397. package/dist/components/rich-text-editor/rich-text-editor.d.ts +5 -20
  398. package/dist/components/scroll-area/index.js +1 -1
  399. package/dist/components/scroll-area/scroll-area.d.ts +17 -1
  400. package/dist/components/search-bar/index.js +1 -1
  401. package/dist/components/search-input/index.js +1 -1
  402. package/dist/components/section-card/index.js +1 -1
  403. package/dist/components/select/index.js +1 -1
  404. package/dist/components/select/select.d.ts +41 -0
  405. package/dist/components/session-countdown/index.js +1 -1
  406. package/dist/components/sheet/index.js +1 -1
  407. package/dist/components/sidebar/index.js +1 -1
  408. package/dist/components/sign-document/index.js +1 -1
  409. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  410. package/dist/components/signature-capture/index.js +1 -1
  411. package/dist/components/signature-field/index.js +1 -1
  412. package/dist/components/skeleton-scheme/index.js +1 -1
  413. package/dist/components/slot-grid/index.js +1 -1
  414. package/dist/components/social-sign-in-button/index.js +1 -1
  415. package/dist/components/spinner/index.js +1 -1
  416. package/dist/components/stat/index.js +1 -1
  417. package/dist/components/stepper-accordion/index.js +1 -1
  418. package/dist/components/streaming-text/index.js +1 -1
  419. package/dist/components/tab-bar/index.js +1 -1
  420. package/dist/components/tabs/index.js +1 -1
  421. package/dist/components/task-card/index.js +1 -1
  422. package/dist/components/task-editor/index.js +1 -1
  423. package/dist/components/task-tray/index.js +1 -1
  424. package/dist/components/tasks-panel/index.js +1 -1
  425. package/dist/components/text-area/index.js +1 -1
  426. package/dist/components/text-input/index.js +1 -1
  427. package/dist/components/theme-toggle/index.js +1 -1
  428. package/dist/components/time-picker/index.js +1 -1
  429. package/dist/components/time-picker/time-picker.d.ts +26 -5
  430. package/dist/components/timeline/index.js +1 -1
  431. package/dist/components/toast/index.js +1 -1
  432. package/dist/components/token-insert-menu/index.js +1 -1
  433. package/dist/components/tool-rail/index.js +1 -1
  434. package/dist/components/tooth-scheme/index.js +1 -1
  435. package/dist/components/transcript-panel/index.js +1 -1
  436. package/dist/components/treatment-receipt/index.js +1 -1
  437. package/dist/components/typing-indicator/index.js +1 -1
  438. package/dist/components/unit-converter/index.js +1 -1
  439. package/dist/components/voice-control-panel/index.d.ts +5 -0
  440. package/dist/components/voice-control-panel/index.js +6 -0
  441. package/dist/components/voice-control-panel/voice-control-panel.agent.d.ts +4 -0
  442. package/dist/components/voice-control-panel/voice-control-panel.d.ts +179 -0
  443. package/dist/components/wallet-pay-button/index.js +1 -1
  444. package/dist/components/warning-stack/index.js +1 -1
  445. package/dist/components/widget-picker/index.js +1 -1
  446. package/dist/components/workflow/index.js +1 -1
  447. package/dist/components/workflow-status/index.js +2 -2
  448. package/dist/error-pages/400.ar.html +1 -1
  449. package/dist/error-pages/400.de.html +1 -1
  450. package/dist/error-pages/400.el.html +1 -1
  451. package/dist/error-pages/400.en.html +1 -1
  452. package/dist/error-pages/400.es.html +1 -1
  453. package/dist/error-pages/400.fr.html +1 -1
  454. package/dist/error-pages/400.hi.html +1 -1
  455. package/dist/error-pages/400.html +1 -1
  456. package/dist/error-pages/400.it.html +1 -1
  457. package/dist/error-pages/400.ja.html +1 -1
  458. package/dist/error-pages/400.nl.html +1 -1
  459. package/dist/error-pages/400.pl.html +1 -1
  460. package/dist/error-pages/400.pt.html +1 -1
  461. package/dist/error-pages/400.ro.html +1 -1
  462. package/dist/error-pages/400.ru.html +1 -1
  463. package/dist/error-pages/400.sq.html +1 -1
  464. package/dist/error-pages/400.sv.html +1 -1
  465. package/dist/error-pages/400.tr.html +1 -1
  466. package/dist/error-pages/400.zh.html +1 -1
  467. package/dist/error-pages/410.ar.html +1 -1
  468. package/dist/error-pages/410.de.html +1 -1
  469. package/dist/error-pages/410.el.html +1 -1
  470. package/dist/error-pages/410.en.html +1 -1
  471. package/dist/error-pages/410.es.html +1 -1
  472. package/dist/error-pages/410.fr.html +1 -1
  473. package/dist/error-pages/410.hi.html +1 -1
  474. package/dist/error-pages/410.html +1 -1
  475. package/dist/error-pages/410.it.html +1 -1
  476. package/dist/error-pages/410.ja.html +1 -1
  477. package/dist/error-pages/410.nl.html +1 -1
  478. package/dist/error-pages/410.pl.html +1 -1
  479. package/dist/error-pages/410.pt.html +1 -1
  480. package/dist/error-pages/410.ro.html +1 -1
  481. package/dist/error-pages/410.ru.html +1 -1
  482. package/dist/error-pages/410.sq.html +1 -1
  483. package/dist/error-pages/410.sv.html +1 -1
  484. package/dist/error-pages/410.tr.html +1 -1
  485. package/dist/error-pages/410.zh.html +1 -1
  486. package/dist/error-pages/419.ar.html +1 -1
  487. package/dist/error-pages/419.de.html +1 -1
  488. package/dist/error-pages/419.el.html +1 -1
  489. package/dist/error-pages/419.en.html +1 -1
  490. package/dist/error-pages/419.es.html +1 -1
  491. package/dist/error-pages/419.fr.html +1 -1
  492. package/dist/error-pages/419.hi.html +1 -1
  493. package/dist/error-pages/419.html +1 -1
  494. package/dist/error-pages/419.it.html +1 -1
  495. package/dist/error-pages/419.ja.html +1 -1
  496. package/dist/error-pages/419.nl.html +1 -1
  497. package/dist/error-pages/419.pl.html +1 -1
  498. package/dist/error-pages/419.pt.html +1 -1
  499. package/dist/error-pages/419.ro.html +1 -1
  500. package/dist/error-pages/419.ru.html +1 -1
  501. package/dist/error-pages/419.sq.html +1 -1
  502. package/dist/error-pages/419.sv.html +1 -1
  503. package/dist/error-pages/419.tr.html +1 -1
  504. package/dist/error-pages/419.zh.html +1 -1
  505. package/dist/error-pages/429.ar.html +1 -1
  506. package/dist/error-pages/429.de.html +1 -1
  507. package/dist/error-pages/429.el.html +1 -1
  508. package/dist/error-pages/429.en.html +1 -1
  509. package/dist/error-pages/429.es.html +1 -1
  510. package/dist/error-pages/429.fr.html +1 -1
  511. package/dist/error-pages/429.hi.html +1 -1
  512. package/dist/error-pages/429.html +1 -1
  513. package/dist/error-pages/429.it.html +1 -1
  514. package/dist/error-pages/429.ja.html +1 -1
  515. package/dist/error-pages/429.nl.html +1 -1
  516. package/dist/error-pages/429.pl.html +1 -1
  517. package/dist/error-pages/429.pt.html +1 -1
  518. package/dist/error-pages/429.ro.html +1 -1
  519. package/dist/error-pages/429.ru.html +1 -1
  520. package/dist/error-pages/429.sq.html +1 -1
  521. package/dist/error-pages/429.sv.html +1 -1
  522. package/dist/error-pages/429.tr.html +1 -1
  523. package/dist/error-pages/429.zh.html +1 -1
  524. package/dist/hooks/index.js +1 -1
  525. package/dist/host-compat.css +9 -2
  526. package/dist/host-legacy.css +86 -0
  527. package/dist/i18n/locales/ar.d.ts +117 -1
  528. package/dist/i18n/locales/ar.js +118 -2
  529. package/dist/i18n/locales/de.d.ts +117 -1
  530. package/dist/i18n/locales/de.js +118 -2
  531. package/dist/i18n/locales/el.d.ts +117 -1
  532. package/dist/i18n/locales/el.js +118 -2
  533. package/dist/i18n/locales/en.d.ts +117 -1
  534. package/dist/i18n/locales/en.js +118 -2
  535. package/dist/i18n/locales/es.d.ts +117 -1
  536. package/dist/i18n/locales/es.js +118 -2
  537. package/dist/i18n/locales/fr.d.ts +117 -1
  538. package/dist/i18n/locales/fr.js +118 -2
  539. package/dist/i18n/locales/hi.d.ts +117 -1
  540. package/dist/i18n/locales/hi.js +118 -2
  541. package/dist/i18n/locales/it.d.ts +117 -1
  542. package/dist/i18n/locales/it.js +118 -2
  543. package/dist/i18n/locales/ja.d.ts +117 -1
  544. package/dist/i18n/locales/ja.js +118 -2
  545. package/dist/i18n/locales/nl.d.ts +117 -1
  546. package/dist/i18n/locales/nl.js +118 -2
  547. package/dist/i18n/locales/pl.d.ts +117 -1
  548. package/dist/i18n/locales/pl.js +118 -2
  549. package/dist/i18n/locales/pt.d.ts +117 -1
  550. package/dist/i18n/locales/pt.js +118 -2
  551. package/dist/i18n/locales/ro.d.ts +117 -1
  552. package/dist/i18n/locales/ro.js +118 -2
  553. package/dist/i18n/locales/ru.d.ts +117 -1
  554. package/dist/i18n/locales/ru.js +118 -2
  555. package/dist/i18n/locales/sq.d.ts +117 -1
  556. package/dist/i18n/locales/sq.js +118 -2
  557. package/dist/i18n/locales/sv.d.ts +117 -1
  558. package/dist/i18n/locales/sv.js +118 -2
  559. package/dist/i18n/locales/tr.d.ts +117 -1
  560. package/dist/i18n/locales/tr.js +118 -2
  561. package/dist/i18n/locales/zh.d.ts +117 -1
  562. package/dist/i18n/locales/zh.js +118 -2
  563. package/dist/index.js +763 -753
  564. package/dist/locales/ar.json +118 -2
  565. package/dist/locales/de.json +118 -2
  566. package/dist/locales/el.json +118 -2
  567. package/dist/locales/en.json +118 -2
  568. package/dist/locales/es.json +118 -2
  569. package/dist/locales/fr.json +118 -2
  570. package/dist/locales/hi.json +118 -2
  571. package/dist/locales/it.json +118 -2
  572. package/dist/locales/ja.json +118 -2
  573. package/dist/locales/nl.json +118 -2
  574. package/dist/locales/pl.json +118 -2
  575. package/dist/locales/pt.json +118 -2
  576. package/dist/locales/ro.json +118 -2
  577. package/dist/locales/ru.json +118 -2
  578. package/dist/locales/sq.json +118 -2
  579. package/dist/locales/sv.json +118 -2
  580. package/dist/locales/tr.json +118 -2
  581. package/dist/locales/zh.json +118 -2
  582. package/dist/patterns/_shared/auth-form-parts.d.ts +4 -0
  583. package/dist/patterns/_shared/use-error-summary.d.ts +34 -0
  584. package/dist/patterns/alia-assistant/index.js +1 -1
  585. package/dist/patterns/anamnesis/index.js +1 -1
  586. package/dist/patterns/calendar/index.js +1 -1
  587. package/dist/patterns/error-page/error-page.d.ts +29 -5
  588. package/dist/patterns/error-page/index.js +2 -2
  589. package/dist/patterns/forgot-password-form/forgot-password-form.d.ts +3 -2
  590. package/dist/patterns/forgot-password-form/index.js +1 -1
  591. package/dist/patterns/help-me-write-templates/index.js +1 -1
  592. package/dist/patterns/login-form/index.js +1 -1
  593. package/dist/patterns/login-form/login-form.d.ts +5 -4
  594. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  595. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  596. package/dist/patterns/registration-form/index.js +1 -1
  597. package/dist/patterns/registration-form/registration-form.d.ts +3 -2
  598. package/dist/patterns/signature-request/index.js +1 -1
  599. package/dist/patterns/signed-out-frame/index.js +1 -1
  600. package/dist/tokens.css +10 -13
  601. package/package.json +19 -2
  602. package/dist/_chunks/address-fields-BaClzQLM.js +0 -292
  603. package/dist/_chunks/city-input-BL5WsGJ3.js +0 -170
  604. package/dist/_chunks/editor-overlay-CWV0chPV.js +0 -93
  605. package/dist/_chunks/error-page-C15GfNEj.js +0 -312
  606. package/dist/_chunks/forgot-password-form-Duu3pZDU.js +0 -203
  607. package/dist/_chunks/format-price-DAbh61Lz.js +0 -51
  608. package/dist/_chunks/intl-locale-CXM-B8EP.js +0 -16
  609. package/dist/_chunks/login-dev-card-DletSsX3.js +0 -275
  610. package/dist/_chunks/multi-select-CVb6PJOK.js +0 -638
  611. package/dist/_chunks/periodontal-chart-5nLsSuRM.js +0 -1305
  612. package/dist/_chunks/registration-form-Lz9iKrKo.js +0 -759
  613. package/dist/_chunks/search-input-6SoR2Rf4.js +0 -237
  614. package/dist/_chunks/subDays-XBMBTVOO.js +0 -8
  615. package/dist/_chunks/text-input-rzLEKhRU.js +0 -331
  616. package/dist/_chunks/time-picker-DKKmpFh3.js +0 -425
  617. package/dist/_chunks/use-registration-submit-DxCWic5_.js +0 -141
@@ -0,0 +1,819 @@
1
+ import { jsx as s, jsxs as R, Fragment as Jr } from "react/jsx-runtime";
2
+ import { forwardRef as Ie, useId as D, useState as N, useRef as z, useMemo as Re, useEffect as j } from "react";
3
+ import { useTranslation as Qr, Trans as Lr } from "react-i18next";
4
+ import { c as q } from "./index-D2ZczOXr.js";
5
+ import { parsePhoneNumberFromString as qe } from "libphonenumber-js/min";
6
+ import { i as Se, E as Or } from "./email-input-C7THAwh2.js";
7
+ import { A as Tr } from "./alert-BhCstf2h.js";
8
+ import { B as Pe } from "./button-Bn16lcFM.js";
9
+ import { C as _r } from "./card-DMO2nkt4.js";
10
+ import { C as ke } from "./checkbox--ndmyokr.js";
11
+ import { D as ye } from "./dev-bypass-button-BhGn6evf.js";
12
+ import { E as Be } from "./error-summary-BhM8FEkl.js";
13
+ import { F as I } from "./form-field-Ani72sVY.js";
14
+ import { P as $r } from "./password-input-BokZ_rnT.js";
15
+ import { u as Me } from "./use-password-requirements-C8DdwPEy.js";
16
+ import { P as Ae } from "./phone-input-DxkHMYmu.js";
17
+ import { R as De } from "./recaptcha-widget-CsvwlYTE.js";
18
+ import { S as je } from "./select-Ce5RMk93.js";
19
+ import { S as zr } from "./state-backed-text-input-DECQy5aA.js";
20
+ import { i as Le } from "./is-development-CLUAnsU7.js";
21
+ import { u as Hr } from "./use-state-backed-input-C7ESmxKB.js";
22
+ import { a as Oe, i as Te } from "./safe-href-5dbsfbQn.js";
23
+ import { u as Wr } from "./use-field-match-pdbEnKvO.js";
24
+ import { u as _e, b as $e, a as ze, B as He } from "./use-registration-submit-eWAECgUC.js";
25
+ import { C as We } from "./circle-alert-rGDZ73Wh.js";
26
+ const Gr = [
27
+ "firstName",
28
+ "lastName",
29
+ "email",
30
+ "emailConfirm",
31
+ "password",
32
+ "passwordConfirm",
33
+ "phone",
34
+ "branch",
35
+ "terms"
36
+ ], Ge = q(
37
+ "ds:@container/registration ds:w-full ds:text-start ds:text-[var(--foreground)]"
38
+ ), Ke = q(
39
+ "ds:grid ds:grid-cols-1 ds:items-start ds:gap-[var(--spacing-md)]",
40
+ {
41
+ variants: {
42
+ columns: {
43
+ /** A field alone in its row takes the full width. */
44
+ one: "",
45
+ /** Two fields side by side once the card is wide enough. */
46
+ two: "ds:@[544px]/registration:grid-cols-2"
47
+ }
48
+ },
49
+ defaultVariants: { columns: "two" }
50
+ }
51
+ ), Ue = q("ds:relative ds:flex ds:gap-[var(--spacing-sm)]", {
52
+ variants: {
53
+ logo: {
54
+ /** A centred column under the mark. */
55
+ true: "ds:flex-col ds:items-center",
56
+ /** The heading at the start edge, the shortcut at the end. */
57
+ false: "ds:items-start ds:justify-between"
58
+ }
59
+ },
60
+ defaultVariants: { logo: !0 }
61
+ }), Ye = q(
62
+ "ds:flex ds:min-w-0 ds:flex-col ds:gap-[var(--spacing-xs)]",
63
+ {
64
+ variants: {
65
+ centred: { true: "ds:items-center ds:text-center", false: "" }
66
+ },
67
+ defaultVariants: { centred: !0 }
68
+ }
69
+ ), Je = q("ds:shrink-0", {
70
+ variants: {
71
+ corner: { true: "ds:absolute ds:top-0 ds:end-0", false: "" }
72
+ },
73
+ defaultVariants: { corner: !0 }
74
+ }), Qe = q(
75
+ "ds:rounded-[var(--radius-sm)] ds:underline ds:underline-offset-4 ds:text-[var(--foreground)] ds:focus-visible:outline-solid ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
76
+ {
77
+ variants: {
78
+ weight: { normal: "", strong: "ds:font-semibold" }
79
+ },
80
+ defaultVariants: { weight: "normal" }
81
+ }
82
+ ), Xe = q(
83
+ "ds:focus-visible:outline-solid ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-[var(--ring)] ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
84
+ ), Ze = q(
85
+ "ds:text-destructive ds:ms-[var(--spacing-xs)]"
86
+ ), Ve = {
87
+ minLength: 12,
88
+ uppercase: !0,
89
+ lowercase: !0,
90
+ digit: !0,
91
+ charset: "ascii"
92
+ }, rs = "Alfadocs", fr = (d) => d && Te(d) ? d : void 0, Kr = (d) => Object.values(d).some(Boolean), Ur = (d) => {
93
+ var c;
94
+ return ((c = qe(d)) == null ? void 0 : c.isPossible()) ?? !1;
95
+ };
96
+ function ur({
97
+ href: d,
98
+ newTab: c = !1,
99
+ weight: P,
100
+ action: u,
101
+ children: F
102
+ }) {
103
+ const { t: L } = Qr("ui");
104
+ return /* @__PURE__ */ R(
105
+ "a",
106
+ {
107
+ href: d,
108
+ target: c ? "_blank" : void 0,
109
+ rel: c ? "noopener noreferrer" : void 0,
110
+ "data-action": u,
111
+ className: Qe({ weight: P }),
112
+ children: [
113
+ F,
114
+ c && /* @__PURE__ */ s("span", { className: "ds:sr-only", children: L("link.opensInNewTab") })
115
+ ]
116
+ }
117
+ );
118
+ }
119
+ function Yr({ children: d }) {
120
+ return /* @__PURE__ */ s(Jr, { children: d });
121
+ }
122
+ const es = [
123
+ ["firstName", "lastName"],
124
+ ["email", "emailConfirm"],
125
+ ["password", "passwordConfirm"],
126
+ ["phone", "branch"]
127
+ ];
128
+ function ss(d) {
129
+ const c = [];
130
+ for (const P of es) {
131
+ const u = P.filter(d);
132
+ if (u.length === 0) continue;
133
+ const F = c[c.length - 1];
134
+ u.length === 1 && (F == null ? void 0 : F.length) === 1 ? F.push(u[0]) : c.push(u);
135
+ }
136
+ return c;
137
+ }
138
+ const os = Ie(
139
+ ({
140
+ title: d,
141
+ description: c,
142
+ headingLevel: P = 2,
143
+ showLogo: u = !0,
144
+ logoMotion: F = "assemble",
145
+ children: L,
146
+ fields: pr,
147
+ initialValues: a,
148
+ errors: k,
149
+ emailReadOnly: Xr = !1,
150
+ emailDescription: Zr,
151
+ blockPaste: H,
152
+ blockCopy: W,
153
+ branches: G,
154
+ passwordPolicy: Vr = Ve,
155
+ termsHref: re,
156
+ privacyHref: ee,
157
+ termsLabel: se,
158
+ termsDescription: K,
159
+ loginHref: oe,
160
+ recaptchaSiteKey: U,
161
+ submitLabel: ae,
162
+ submitting: te = !1,
163
+ devBypass: f,
164
+ onSubmit: Y,
165
+ fieldNames: S,
166
+ action: J,
167
+ hiddenFields: ne,
168
+ className: ie,
169
+ ...me
170
+ }, de) => {
171
+ const { t: i, i18n: hr } = Qr("ui"), gr = D(), ce = D(), h = (r) => `${ce}-${r}`, wr = D(), vr = D(), br = D(), x = S !== void 0, le = !!(G && G.length > 0), [fe] = N(() => !!(a != null && a.email)), y = Xr && fe, n = (r) => r === "email" || r === "password" ? !0 : pr && !pr.includes(r) ? !1 : r === "branch" ? le : r === "emailConfirm" ? !y : !0, O = Gr.filter(n), [o, Q] = N(() => ({
172
+ firstName: (a == null ? void 0 : a.firstName) ?? "",
173
+ lastName: (a == null ? void 0 : a.lastName) ?? "",
174
+ email: (a == null ? void 0 : a.email) ?? "",
175
+ emailConfirm: (a == null ? void 0 : a.emailConfirm) ?? "",
176
+ password: "",
177
+ passwordConfirm: "",
178
+ phone: (a == null ? void 0 : a.phone) ?? "",
179
+ branch: (a == null ? void 0 : a.branch) ?? "",
180
+ terms: (a == null ? void 0 : a.terms) ?? !1
181
+ })), [ue, Cr] = N(
182
+ () => Ur((a == null ? void 0 : a.phone) ?? "")
183
+ ), [pe, X] = N(() => ({
184
+ email: !!(a != null && a.email)
185
+ })), [Z, Nr] = N(!1), [V, rr] = N(
186
+ () => k ?? {}
187
+ ), g = (r, e) => {
188
+ Q((t) => ({ ...t, [r]: e })), rr(
189
+ (t) => t[r] ? { ...t, [r]: void 0 } : t
190
+ );
191
+ }, B = (r) => X(
192
+ (e) => e[r] ? e : { ...e, [r]: !0 }
193
+ ), Fr = () => {
194
+ Q((r) => ({
195
+ ...r,
196
+ password: "",
197
+ passwordConfirm: ""
198
+ })), X((r) => ({
199
+ ...r,
200
+ password: !1,
201
+ passwordConfirm: !1
202
+ }));
203
+ }, M = (r) => ({
204
+ blockPaste: (H == null ? void 0 : H.includes(r)) ?? !1,
205
+ blockCopy: (W == null ? void 0 : W.includes(r)) ?? !1
206
+ }), xr = Me(Vr), er = Wr({
207
+ value: o.email,
208
+ confirmValue: o.emailConfirm,
209
+ kind: "email",
210
+ submitted: Z
211
+ }), sr = Wr({
212
+ value: o.password,
213
+ confirmValue: o.passwordConfirm,
214
+ kind: "password",
215
+ submitted: Z
216
+ }), Er = {
217
+ firstName: n("firstName") && o.firstName.trim() === "",
218
+ lastName: n("lastName") && o.lastName.trim() === "",
219
+ // The user cannot fix a locked address, so the server judges it.
220
+ email: !y && !Se(o.email),
221
+ emailConfirm: n("emailConfirm") && (o.emailConfirm === "" || !er.matches),
222
+ password: o.password === "" || !xr.every((r) => r.test(o.password)),
223
+ passwordConfirm: n("passwordConfirm") && (o.passwordConfirm === "" || !sr.matches),
224
+ phone: n("phone") && (o.phone === "" || !ue),
225
+ branch: n("branch") && o.branch === "",
226
+ terms: n("terms") && !o.terms
227
+ }, he = (r) => Z || r !== "terms" && pe[r] === !0, w = i("registrationForm.required"), v = {
228
+ firstName: i("registrationForm.firstName"),
229
+ lastName: i("registrationForm.lastName"),
230
+ email: i("registrationForm.email"),
231
+ emailConfirm: i("registrationForm.emailConfirm"),
232
+ password: i("registrationForm.password"),
233
+ passwordConfirm: i("registrationForm.passwordConfirm"),
234
+ phone: i("registrationForm.phone"),
235
+ branch: i("registrationForm.branch")
236
+ }, b = (r, e) => he(r) && Er[r] ? e : void 0, ge = {
237
+ firstName: b("firstName", w),
238
+ lastName: b("lastName", w),
239
+ email: b(
240
+ "email",
241
+ o.email === "" ? w : i("inputs.email.invalid")
242
+ ),
243
+ emailConfirm: o.emailConfirm === "" ? b("emailConfirm", w) : er.error,
244
+ password: b(
245
+ "password",
246
+ o.password === "" ? w : i("registrationForm.passwordInvalid")
247
+ ),
248
+ passwordConfirm: o.passwordConfirm === "" ? b("passwordConfirm", w) : sr.error,
249
+ phone: b(
250
+ "phone",
251
+ o.phone === "" ? w : i("registrationForm.phoneInvalid")
252
+ ),
253
+ branch: b("branch", w),
254
+ terms: b("terms", i("registrationForm.termsRequired"))
255
+ }, p = (r) => V[r] ?? ge[r], or = z({}), C = Re(() => {
256
+ const r = (e) => (t) => {
257
+ or.current[e] = t;
258
+ };
259
+ return {
260
+ firstName: r("firstName"),
261
+ lastName: r("lastName"),
262
+ email: r("email"),
263
+ emailConfirm: r("emailConfirm"),
264
+ password: r("password"),
265
+ passwordConfirm: r("passwordConfirm"),
266
+ phone: r("phone"),
267
+ branch: r("branch"),
268
+ terms: r("terms")
269
+ };
270
+ }, []), Ir = Hr(o.email, C.email), Rr = Hr(
271
+ o.emailConfirm,
272
+ C.emailConfirm
273
+ ), qr = z(null), Sr = (r) => O.find((e) => r[e]) ?? (Kr(r) ? "form" : void 0), [Pr] = N(
274
+ () => O.some((r) => !!(k != null && k[r]))
275
+ ), l = _e(O, p, Pr), [T, ar] = N(() => {
276
+ const r = Pr ? void 0 : Sr(k ?? {});
277
+ return r ? { target: r } : null;
278
+ });
279
+ j(() => {
280
+ var r, e;
281
+ T && (T.target === "form" ? (r = qr.current) == null || r.focus() : (e = or.current[T.target]) == null || e.focus());
282
+ }, [T]);
283
+ const tr = n("phone");
284
+ j(() => {
285
+ const r = or.current.phone;
286
+ if (!tr || !r) return;
287
+ const e = () => X(
288
+ (t) => t.phone ? t : { ...t, phone: !0 }
289
+ );
290
+ return r.addEventListener("blur", e), () => r.removeEventListener("blur", e);
291
+ }, [tr]);
292
+ const nr = z(null), ir = z(null), [kr, we] = N(null);
293
+ j(() => {
294
+ var r;
295
+ kr && ((r = nr.current) == null || r.requestSubmit());
296
+ }, [kr]);
297
+ const ve = () => {
298
+ var e;
299
+ const r = f == null ? void 0 : f.values;
300
+ if (r) {
301
+ const t = y ? void 0 : r.email, m = {};
302
+ n("firstName") && r.firstName !== void 0 && (m.firstName = r.firstName), n("lastName") && r.lastName !== void 0 && (m.lastName = r.lastName), t !== void 0 && (m.email = t), n("emailConfirm") && t !== void 0 && (m.emailConfirm = t), r.password !== void 0 && (m.password = r.password), n("passwordConfirm") && r.password !== void 0 && (m.passwordConfirm = r.password), n("phone") && r.phone !== void 0 && (m.phone = r.phone), n("branch") && r.branch !== void 0 && (m.branch = r.branch), n("terms") && r.terms !== void 0 && (m.terms = r.terms), Q((lr) => ({ ...lr, ...m })), m.phone !== void 0 && Cr(Ur(m.phone)), rr((lr) => {
303
+ const jr = { ...lr };
304
+ for (const Ee of Object.keys(m))
305
+ jr[Ee] = void 0;
306
+ return jr;
307
+ }), f.submit && we({});
308
+ }
309
+ (e = f == null ? void 0 : f.onClick) == null || e.call(f);
310
+ }, A = $e({
311
+ errors: k,
312
+ submitting: te,
313
+ native: x,
314
+ captcha: !!U,
315
+ firstProblem: () => O.find((r) => Er[r]),
316
+ onRefused: (r) => {
317
+ Nr(!0), l.open(() => ar({ target: r }));
318
+ },
319
+ deliver: (r) => {
320
+ var t;
321
+ if (x) {
322
+ ir.current && r && (ir.current.value = r), (t = nr.current) == null || t.submit();
323
+ return;
324
+ }
325
+ const e = (m) => n(m) ? o[m] : "";
326
+ Y == null || Y({
327
+ firstName: e("firstName"),
328
+ lastName: e("lastName"),
329
+ email: o.email,
330
+ emailConfirm: e("emailConfirm"),
331
+ password: o.password,
332
+ passwordConfirm: e("passwordConfirm"),
333
+ phone: e("phone"),
334
+ branch: e("branch"),
335
+ terms: n("terms") && o.terms,
336
+ captchaToken: r
337
+ });
338
+ },
339
+ onAnswer: (r) => {
340
+ const e = r;
341
+ rr(e), Kr(e) && (Fr(), Nr(!1), l.open(() => {
342
+ const t = Sr(e);
343
+ t && ar({ target: t });
344
+ }));
345
+ },
346
+ // The page came back from the browser's cache as it was left:
347
+ // the passwords must not come back with it.
348
+ onRestore: Fr
349
+ }), { busy: mr, captchaFailed: dr } = A;
350
+ j(() => {
351
+ dr && ar({ target: "form" });
352
+ }, [dr]);
353
+ const E = (r) => x ? S[r] : r, be = `h${P}`, yr = fr(re), Br = fr(ee), Mr = fr(oe), Ce = x && J && Oe(J) ? J : void 0, _ = [
354
+ V.form,
355
+ ...Gr.filter((r) => !n(r)).map(
356
+ (r) => V[r]
357
+ ),
358
+ dr ? i("inputs.recaptcha.error") : void 0
359
+ ].filter(Boolean).join(" ") || void 0, Ne = ze(
360
+ _,
361
+ l.listed.length > 0
362
+ ), $ = p("terms"), Fe = [
363
+ K ? vr : void 0,
364
+ $ ? wr : void 0
365
+ ].filter(Boolean).join(" ") || void 0, Ar = new Set(Object.values(S ?? {})), Dr = x ? Object.entries(ne ?? {}) : [], cr = Dr.filter(([r]) => Ar.has(r)).map(([r]) => r).join(", ");
366
+ j(() => {
367
+ cr && Le() && console.warn(
368
+ `RegistrationForm: hiddenFields "${cr}" is also named in fieldNames and was left out. The form's own field wins.`
369
+ );
370
+ }, [cr]);
371
+ const xe = (r) => {
372
+ switch (r) {
373
+ case "firstName":
374
+ return /* @__PURE__ */ s(
375
+ I,
376
+ {
377
+ id: h(r),
378
+ label: v.firstName,
379
+ required: !0,
380
+ error: p("firstName"),
381
+ announceError: !l.lists("firstName"),
382
+ "data-field": "firstName",
383
+ children: /* @__PURE__ */ s(
384
+ zr,
385
+ {
386
+ ref: C.firstName,
387
+ name: E("firstName"),
388
+ autoComplete: "given-name",
389
+ value: o.firstName,
390
+ onChange: (e) => g("firstName", e.target.value),
391
+ onBlur: () => B("firstName"),
392
+ ...M("firstName")
393
+ }
394
+ )
395
+ },
396
+ r
397
+ );
398
+ case "lastName":
399
+ return /* @__PURE__ */ s(
400
+ I,
401
+ {
402
+ id: h(r),
403
+ label: v.lastName,
404
+ required: !0,
405
+ error: p("lastName"),
406
+ announceError: !l.lists("lastName"),
407
+ "data-field": "lastName",
408
+ children: /* @__PURE__ */ s(
409
+ zr,
410
+ {
411
+ ref: C.lastName,
412
+ name: E("lastName"),
413
+ autoComplete: "family-name",
414
+ value: o.lastName,
415
+ onChange: (e) => g("lastName", e.target.value),
416
+ onBlur: () => B("lastName"),
417
+ ...M("lastName")
418
+ }
419
+ )
420
+ },
421
+ r
422
+ );
423
+ case "email":
424
+ return /* @__PURE__ */ s(
425
+ I,
426
+ {
427
+ id: h(r),
428
+ label: v.email,
429
+ required: !y,
430
+ description: Zr,
431
+ error: p("email"),
432
+ announceError: !l.lists("email"),
433
+ "data-field": "email",
434
+ children: /* @__PURE__ */ s(
435
+ Or,
436
+ {
437
+ ref: Ir.ref,
438
+ name: E("email"),
439
+ errorMessage: null,
440
+ disableBuiltInValidation: y,
441
+ readOnly: y,
442
+ onChange: Ir.quiet(
443
+ (e) => g("email", e.target.value)
444
+ ),
445
+ onBlur: () => B("email"),
446
+ ...M("email")
447
+ }
448
+ )
449
+ },
450
+ r
451
+ );
452
+ case "emailConfirm":
453
+ return /* @__PURE__ */ s(
454
+ I,
455
+ {
456
+ id: h(r),
457
+ label: v.emailConfirm,
458
+ required: !0,
459
+ error: p("emailConfirm"),
460
+ announceError: !l.lists("emailConfirm"),
461
+ "data-field": "emailConfirm",
462
+ children: /* @__PURE__ */ s(
463
+ Or,
464
+ {
465
+ ref: Rr.ref,
466
+ name: E("emailConfirm"),
467
+ disableBuiltInValidation: !0,
468
+ onChange: Rr.quiet(
469
+ (e) => g("emailConfirm", e.target.value)
470
+ ),
471
+ onBlur: () => {
472
+ B("emailConfirm"), er.confirmProps.onBlur();
473
+ },
474
+ ...M("emailConfirm")
475
+ }
476
+ )
477
+ },
478
+ r
479
+ );
480
+ case "password":
481
+ return /* @__PURE__ */ s(
482
+ I,
483
+ {
484
+ id: h(r),
485
+ label: v.password,
486
+ required: !0,
487
+ error: p("password"),
488
+ announceError: !l.lists("password"),
489
+ "data-field": "password",
490
+ children: /* @__PURE__ */ s(
491
+ $r,
492
+ {
493
+ ref: C.password,
494
+ name: E("password") ?? "",
495
+ autoComplete: "new-password",
496
+ requirements: xr,
497
+ value: o.password,
498
+ onChange: (e) => g("password", e.target.value),
499
+ onBlur: () => B("password"),
500
+ ...M("password")
501
+ }
502
+ )
503
+ },
504
+ r
505
+ );
506
+ case "passwordConfirm":
507
+ return /* @__PURE__ */ s(
508
+ I,
509
+ {
510
+ id: h(r),
511
+ label: v.passwordConfirm,
512
+ required: !0,
513
+ error: p("passwordConfirm"),
514
+ announceError: !l.lists("passwordConfirm"),
515
+ "data-field": "passwordConfirm",
516
+ children: /* @__PURE__ */ s(
517
+ $r,
518
+ {
519
+ ref: C.passwordConfirm,
520
+ name: E("passwordConfirm") ?? "",
521
+ autoComplete: "new-password",
522
+ value: o.passwordConfirm,
523
+ onChange: (e) => g("passwordConfirm", e.target.value),
524
+ onBlur: () => {
525
+ B("passwordConfirm"), sr.confirmProps.onBlur();
526
+ },
527
+ ...M("passwordConfirm")
528
+ }
529
+ )
530
+ },
531
+ r
532
+ );
533
+ case "phone":
534
+ return /* @__PURE__ */ s(
535
+ I,
536
+ {
537
+ id: h(r),
538
+ label: v.phone,
539
+ required: !0,
540
+ error: p("phone"),
541
+ announceError: !l.lists("phone"),
542
+ "data-field": "phone",
543
+ children: /* @__PURE__ */ s(
544
+ Ae,
545
+ {
546
+ ref: C.phone,
547
+ name: x ? void 0 : "phone",
548
+ value: o.phone,
549
+ onChange: (e, t) => {
550
+ g("phone", e), Cr(t.isPossible);
551
+ }
552
+ }
553
+ )
554
+ },
555
+ r
556
+ );
557
+ case "branch":
558
+ return /* @__PURE__ */ s(
559
+ I,
560
+ {
561
+ id: h(r),
562
+ label: v.branch,
563
+ required: !0,
564
+ error: p("branch"),
565
+ announceError: !l.lists("branch"),
566
+ "data-field": "branch",
567
+ children: /* @__PURE__ */ s(
568
+ je,
569
+ {
570
+ ref: C.branch,
571
+ name: E("branch"),
572
+ options: G ?? [],
573
+ value: o.branch,
574
+ onValueChange: (e) => g("branch", e)
575
+ }
576
+ )
577
+ },
578
+ r
579
+ );
580
+ }
581
+ };
582
+ return /* @__PURE__ */ s(
583
+ "div",
584
+ {
585
+ ref: de,
586
+ ...me,
587
+ "data-component": "registration-form",
588
+ className: Ge({ className: ie }),
589
+ children: /* @__PURE__ */ s(_r, { variant: "elevated", children: /* @__PURE__ */ R(_r.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", children: [
590
+ /* @__PURE__ */ R("div", { className: Ue({ logo: u }), children: [
591
+ /* @__PURE__ */ R("div", { className: Ye({ centred: u }), children: [
592
+ u && /* @__PURE__ */ s(He, { motion: F, label: rs }),
593
+ /* @__PURE__ */ s(be, { id: gr, className: "type-title-card", children: d ?? i("registrationForm.title") }),
594
+ c && /* @__PURE__ */ s("p", { className: "type-body-sm ds:text-[var(--muted-foreground)]", children: c })
595
+ ] }),
596
+ f && (f.values || f.onClick) && /* @__PURE__ */ s("div", { className: Je({ corner: u }), children: /* @__PURE__ */ s(
597
+ ye,
598
+ {
599
+ label: f.label,
600
+ onClick: ve
601
+ }
602
+ ) })
603
+ ] }),
604
+ L ? /* @__PURE__ */ s(
605
+ "div",
606
+ {
607
+ "data-slot": "host-content",
608
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
609
+ children: L
610
+ }
611
+ ) : null,
612
+ /* @__PURE__ */ R(
613
+ "form",
614
+ {
615
+ ref: nr,
616
+ noValidate: !0,
617
+ method: "post",
618
+ action: Ce,
619
+ "aria-labelledby": gr,
620
+ "aria-busy": mr || void 0,
621
+ onSubmit: A.handleSubmit,
622
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
623
+ children: [
624
+ /* @__PURE__ */ s(
625
+ Be,
626
+ {
627
+ ref: l.ref,
628
+ headingLevel: P + 1,
629
+ "aria-describedby": _ ? br : void 0,
630
+ errors: l.listed.map((r) => {
631
+ const e = p(r) ?? "";
632
+ return {
633
+ field: r,
634
+ message: e,
635
+ // "This field is required." does not say which field:
636
+ // the summary names it.
637
+ label: e === w && r !== "terms" ? v[r] : void 0,
638
+ targetId: h(r)
639
+ };
640
+ })
641
+ }
642
+ ),
643
+ _ && /* @__PURE__ */ s(
644
+ Tr,
645
+ {
646
+ ref: qr,
647
+ id: br,
648
+ variant: "error",
649
+ announce: Ne,
650
+ tabIndex: -1,
651
+ "data-field": "form",
652
+ className: Xe(),
653
+ children: /* @__PURE__ */ s(Tr.Description, { children: _ })
654
+ }
655
+ ),
656
+ ss(n).map((r) => /* @__PURE__ */ s(
657
+ "div",
658
+ {
659
+ className: Ke({
660
+ columns: r.length === 2 ? "two" : "one"
661
+ }),
662
+ children: r.map(xe)
663
+ },
664
+ r[0]
665
+ )),
666
+ x && tr && S.phone && /* @__PURE__ */ s(
667
+ "input",
668
+ {
669
+ type: "hidden",
670
+ name: S.phone,
671
+ value: o.phone
672
+ }
673
+ ),
674
+ x && S.captcha && /* @__PURE__ */ s(
675
+ "input",
676
+ {
677
+ ref: ir,
678
+ type: "hidden",
679
+ name: S.captcha,
680
+ defaultValue: ""
681
+ }
682
+ ),
683
+ Dr.filter(([r]) => !Ar.has(r)).map(([r, e]) => /* @__PURE__ */ s(
684
+ "input",
685
+ {
686
+ type: "hidden",
687
+ name: r,
688
+ value: e
689
+ },
690
+ r
691
+ )),
692
+ n("terms") && /* @__PURE__ */ R(
693
+ "div",
694
+ {
695
+ id: h("terms"),
696
+ className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
697
+ "data-field": "terms",
698
+ children: [
699
+ K && /* @__PURE__ */ s(
700
+ "p",
701
+ {
702
+ id: vr,
703
+ className: "type-body-sm ds:text-[var(--muted-foreground)]",
704
+ children: K
705
+ }
706
+ ),
707
+ /* @__PURE__ */ s(
708
+ ke,
709
+ {
710
+ ref: C.terms,
711
+ name: E("terms"),
712
+ value: "1",
713
+ checked: o.terms,
714
+ onCheckedChange: (r) => g("terms", r === !0),
715
+ "aria-required": "true",
716
+ "aria-invalid": $ ? !0 : void 0,
717
+ "aria-describedby": Fe,
718
+ label: /* @__PURE__ */ R(Jr, { children: [
719
+ se ?? /* @__PURE__ */ s(
720
+ Lr,
721
+ {
722
+ i18n: hr,
723
+ ns: "ui",
724
+ i18nKey: "registrationForm.terms",
725
+ components: {
726
+ terms: yr ? /* @__PURE__ */ s(ur, { href: yr, newTab: !0 }) : /* @__PURE__ */ s(Yr, {}),
727
+ privacy: Br ? /* @__PURE__ */ s(ur, { href: Br, newTab: !0 }) : /* @__PURE__ */ s(Yr, {})
728
+ }
729
+ }
730
+ ),
731
+ /* @__PURE__ */ s(
732
+ "span",
733
+ {
734
+ "aria-hidden": "true",
735
+ className: Ze(),
736
+ children: "*"
737
+ }
738
+ )
739
+ ] })
740
+ }
741
+ ),
742
+ $ && /* @__PURE__ */ R(
743
+ "p",
744
+ {
745
+ id: wr,
746
+ role: l.lists("terms") ? void 0 : "alert",
747
+ "data-slot": "error",
748
+ className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] type-body-sm ds:text-destructive",
749
+ children: [
750
+ /* @__PURE__ */ s(
751
+ We,
752
+ {
753
+ "aria-hidden": "true",
754
+ className: "ds:size-4 ds:shrink-0"
755
+ }
756
+ ),
757
+ /* @__PURE__ */ s("span", { children: $ })
758
+ ]
759
+ }
760
+ )
761
+ ]
762
+ }
763
+ ),
764
+ /* @__PURE__ */ s(
765
+ Pe,
766
+ {
767
+ type: "submit",
768
+ intent: "primary",
769
+ size: "lg",
770
+ loading: mr,
771
+ className: "ds:w-full",
772
+ "data-action": "submit",
773
+ children: ae ?? i("registrationForm.submit")
774
+ }
775
+ ),
776
+ /* @__PURE__ */ s("p", { role: "status", className: "ds:sr-only", children: mr ? i("chat.message.status.sending") : "" }),
777
+ Mr && /* @__PURE__ */ s("p", { className: "type-body-sm ds:text-center ds:text-[var(--muted-foreground)]", children: /* @__PURE__ */ s(
778
+ Lr,
779
+ {
780
+ i18n: hr,
781
+ ns: "ui",
782
+ i18nKey: "registrationForm.login",
783
+ components: {
784
+ login: /* @__PURE__ */ s(
785
+ ur,
786
+ {
787
+ href: Mr,
788
+ weight: "strong",
789
+ action: "login"
790
+ }
791
+ )
792
+ }
793
+ }
794
+ ) }),
795
+ U && /* @__PURE__ */ s("div", { className: "ds:absolute", children: /* @__PURE__ */ s(
796
+ De,
797
+ {
798
+ ref: A.captcha.ref,
799
+ siteKey: U,
800
+ size: "invisible",
801
+ announceStatus: !1,
802
+ onChange: A.captcha.onChange,
803
+ onError: A.captcha.onError
804
+ }
805
+ ) })
806
+ ]
807
+ }
808
+ )
809
+ ] }) })
810
+ }
811
+ );
812
+ }
813
+ );
814
+ os.displayName = "RegistrationForm";
815
+ export {
816
+ Gr as R,
817
+ os as a
818
+ };
819
+ //# sourceMappingURL=registration-form-D7iNqMBF.js.map