@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
@@ -1,759 +0,0 @@
1
- import { jsx as s, jsxs as F, Fragment as zr } from "react/jsx-runtime";
2
- import { forwardRef as he, useId as nr, useState as N, useRef as D, useMemo as ge, useEffect as y } from "react";
3
- import { useTranslation as Hr, Trans as Sr } from "react-i18next";
4
- import { c as R } from "./index-D2ZczOXr.js";
5
- import { parsePhoneNumberFromString as ve } from "libphonenumber-js/min";
6
- import { i as we, E as yr } from "./email-input-DQixfopu.js";
7
- import { A as Ar } from "./alert-BhCstf2h.js";
8
- import { B as be } from "./button-CYPx2xFq.js";
9
- import { C as Br } from "./card-DPmk26CL.js";
10
- import { C as Ce } from "./checkbox--ndmyokr.js";
11
- import { D as Ne } from "./dev-bypass-button-Y1s7gPSD.js";
12
- import { F as x } from "./form-field-Db0liyI8.js";
13
- import { P as Mr } from "./password-input-6Yl6x1IO.js";
14
- import { u as xe } from "./use-password-requirements-C8DdwPEy.js";
15
- import { P as Fe } from "./phone-input-BzeUr49H.js";
16
- import { R as Re } from "./recaptcha-widget-CsvwlYTE.js";
17
- import { S as Ie } from "./select-DHPmASkG.js";
18
- import { T as Dr } from "./text-input-rzLEKhRU.js";
19
- import { i as qe } from "./is-development-CLUAnsU7.js";
20
- import { a as Ee, i as Pe } from "./safe-href-5dbsfbQn.js";
21
- import { u as Tr } from "./use-field-match-pdbEnKvO.js";
22
- import { u as ke, B as Se } from "./use-registration-submit-DxCWic5_.js";
23
- import { C as ye } from "./circle-alert-rGDZ73Wh.js";
24
- const jr = [
25
- "firstName",
26
- "lastName",
27
- "email",
28
- "emailConfirm",
29
- "password",
30
- "passwordConfirm",
31
- "phone",
32
- "branch",
33
- "terms"
34
- ], Ae = R(
35
- "ds:@container/registration ds:w-full ds:text-start ds:text-[var(--foreground)]"
36
- ), Be = R(
37
- "ds:grid ds:grid-cols-1 ds:items-start ds:gap-[var(--spacing-md)]",
38
- {
39
- variants: {
40
- columns: {
41
- /** A field alone in its row takes the full width. */
42
- one: "",
43
- /** Two fields side by side once the card is wide enough. */
44
- two: "ds:@[544px]/registration:grid-cols-2"
45
- }
46
- },
47
- defaultVariants: { columns: "two" }
48
- }
49
- ), Me = R("ds:relative ds:flex ds:gap-[var(--spacing-sm)]", {
50
- variants: {
51
- logo: {
52
- /** A centred column under the mark. */
53
- true: "ds:flex-col ds:items-center",
54
- /** The heading at the start edge, the shortcut at the end. */
55
- false: "ds:items-start ds:justify-between"
56
- }
57
- },
58
- defaultVariants: { logo: !0 }
59
- }), De = R(
60
- "ds:flex ds:min-w-0 ds:flex-col ds:gap-[var(--spacing-xs)]",
61
- {
62
- variants: {
63
- centred: { true: "ds:items-center ds:text-center", false: "" }
64
- },
65
- defaultVariants: { centred: !0 }
66
- }
67
- ), Te = R("ds:shrink-0", {
68
- variants: {
69
- corner: { true: "ds:absolute ds:top-0 ds:end-0", false: "" }
70
- },
71
- defaultVariants: { corner: !0 }
72
- }), je = R(
73
- "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)]",
74
- {
75
- variants: {
76
- weight: { normal: "", strong: "ds:font-semibold" }
77
- },
78
- defaultVariants: { weight: "normal" }
79
- }
80
- ), Le = R(
81
- "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)]"
82
- ), Oe = R(
83
- "ds:text-destructive ds:ms-[var(--spacing-xs)]"
84
- ), _e = {
85
- minLength: 12,
86
- uppercase: !0,
87
- lowercase: !0,
88
- digit: !0,
89
- charset: "ascii"
90
- }, ze = "Alfadocs", ir = (d) => d && Pe(d) ? d : void 0, Lr = (d) => Object.values(d).some(Boolean), Or = (d) => {
91
- var c;
92
- return ((c = ve(d)) == null ? void 0 : c.isPossible()) ?? !1;
93
- };
94
- function mr({
95
- href: d,
96
- newTab: c = !1,
97
- weight: k,
98
- action: f,
99
- children: v
100
- }) {
101
- const { t: A } = Hr("ui");
102
- return /* @__PURE__ */ F(
103
- "a",
104
- {
105
- href: d,
106
- target: c ? "_blank" : void 0,
107
- rel: c ? "noopener noreferrer" : void 0,
108
- "data-action": f,
109
- className: je({ weight: k }),
110
- children: [
111
- v,
112
- c && /* @__PURE__ */ s("span", { className: "ds:sr-only", children: A("link.opensInNewTab") })
113
- ]
114
- }
115
- );
116
- }
117
- function _r({ children: d }) {
118
- return /* @__PURE__ */ s(zr, { children: d });
119
- }
120
- const He = [
121
- ["firstName", "lastName"],
122
- ["email", "emailConfirm"],
123
- ["password", "passwordConfirm"],
124
- ["phone", "branch"]
125
- ];
126
- function We(d) {
127
- const c = [];
128
- for (const k of He) {
129
- const f = k.filter(d);
130
- if (f.length === 0) continue;
131
- const v = c[c.length - 1];
132
- f.length === 1 && (v == null ? void 0 : v.length) === 1 ? v.push(f[0]) : c.push(f);
133
- }
134
- return c;
135
- }
136
- const $e = he(
137
- ({
138
- title: d,
139
- description: c,
140
- headingLevel: k = 2,
141
- showLogo: f = !0,
142
- logoMotion: v = "assemble",
143
- children: A,
144
- fields: dr,
145
- initialValues: t,
146
- errors: T,
147
- emailReadOnly: Wr = !1,
148
- emailDescription: $r,
149
- blockPaste: j,
150
- blockCopy: L,
151
- branches: O,
152
- passwordPolicy: Gr = _e,
153
- termsHref: Kr,
154
- privacyHref: Ur,
155
- termsLabel: Yr,
156
- termsDescription: _,
157
- loginHref: Jr,
158
- recaptchaSiteKey: z,
159
- submitLabel: Qr,
160
- submitting: Xr = !1,
161
- devBypass: l,
162
- onSubmit: H,
163
- fieldNames: I,
164
- action: W,
165
- hiddenFields: Zr,
166
- className: Vr,
167
- ...re
168
- }, ee) => {
169
- const { t: i, i18n: cr } = Hr("ui"), lr = nr(), fr = nr(), ur = nr(), w = I !== void 0, se = !!(O && O.length > 0), [oe] = N(() => !!(t != null && t.email)), q = Wr && oe, n = (r) => r === "email" || r === "password" ? !0 : dr && !dr.includes(r) ? !1 : r === "branch" ? se : r === "emailConfirm" ? !q : !0, pr = jr.filter(n), [o, $] = N(() => ({
170
- firstName: (t == null ? void 0 : t.firstName) ?? "",
171
- lastName: (t == null ? void 0 : t.lastName) ?? "",
172
- email: (t == null ? void 0 : t.email) ?? "",
173
- emailConfirm: (t == null ? void 0 : t.emailConfirm) ?? "",
174
- password: "",
175
- passwordConfirm: "",
176
- phone: (t == null ? void 0 : t.phone) ?? "",
177
- branch: (t == null ? void 0 : t.branch) ?? "",
178
- terms: (t == null ? void 0 : t.terms) ?? !1
179
- })), [te, hr] = N(
180
- () => Or((t == null ? void 0 : t.phone) ?? "")
181
- ), [ae, G] = N(() => ({
182
- email: !!(t != null && t.email)
183
- })), [K, gr] = N(!1), [U, Y] = N(
184
- () => T ?? {}
185
- ), u = (r, e) => {
186
- $((a) => ({ ...a, [r]: e })), Y(
187
- (a) => a[r] ? { ...a, [r]: void 0 } : a
188
- );
189
- }, E = (r) => G(
190
- (e) => e[r] ? e : { ...e, [r]: !0 }
191
- ), vr = () => {
192
- $((r) => ({
193
- ...r,
194
- password: "",
195
- passwordConfirm: ""
196
- })), G((r) => ({
197
- ...r,
198
- password: !1,
199
- passwordConfirm: !1
200
- }));
201
- }, P = (r) => ({
202
- blockPaste: (j == null ? void 0 : j.includes(r)) ?? !1,
203
- blockCopy: (L == null ? void 0 : L.includes(r)) ?? !1
204
- }), wr = xe(Gr), J = Tr({
205
- value: o.email,
206
- confirmValue: o.emailConfirm,
207
- kind: "email",
208
- submitted: K
209
- }), Q = Tr({
210
- value: o.password,
211
- confirmValue: o.passwordConfirm,
212
- kind: "password",
213
- submitted: K
214
- }), br = {
215
- firstName: n("firstName") && o.firstName.trim() === "",
216
- lastName: n("lastName") && o.lastName.trim() === "",
217
- // The user cannot fix a locked address, so the server judges it.
218
- email: !q && !we(o.email),
219
- emailConfirm: n("emailConfirm") && (o.emailConfirm === "" || !J.matches),
220
- password: o.password === "" || !wr.every((r) => r.test(o.password)),
221
- passwordConfirm: n("passwordConfirm") && (o.passwordConfirm === "" || !Q.matches),
222
- phone: n("phone") && (o.phone === "" || !te),
223
- branch: n("branch") && o.branch === "",
224
- terms: n("terms") && !o.terms
225
- }, ne = (r) => K || r !== "terms" && ae[r] === !0, b = i("registrationForm.required"), p = (r, e) => ne(r) && br[r] ? e : void 0, ie = {
226
- firstName: p("firstName", b),
227
- lastName: p("lastName", b),
228
- email: p(
229
- "email",
230
- o.email === "" ? b : i("inputs.email.invalid")
231
- ),
232
- emailConfirm: o.emailConfirm === "" ? p("emailConfirm", b) : J.error,
233
- password: p(
234
- "password",
235
- o.password === "" ? b : i("registrationForm.passwordInvalid")
236
- ),
237
- passwordConfirm: o.passwordConfirm === "" ? p("passwordConfirm", b) : Q.error,
238
- phone: p(
239
- "phone",
240
- o.phone === "" ? b : i("registrationForm.phoneInvalid")
241
- ),
242
- branch: p("branch", b),
243
- terms: p("terms", i("registrationForm.termsRequired"))
244
- }, h = (r) => U[r] ?? ie[r], X = D({}), g = ge(() => {
245
- const r = (e) => (a) => {
246
- X.current[e] = a;
247
- };
248
- return {
249
- firstName: r("firstName"),
250
- lastName: r("lastName"),
251
- email: r("email"),
252
- emailConfirm: r("emailConfirm"),
253
- password: r("password"),
254
- passwordConfirm: r("passwordConfirm"),
255
- phone: r("phone"),
256
- branch: r("branch"),
257
- terms: r("terms")
258
- };
259
- }, []), Cr = D(null), Nr = (r) => pr.find((e) => r[e]) ?? (Lr(r) ? "form" : void 0), [B, Z] = N(() => {
260
- const r = Nr(T ?? {});
261
- return r ? { target: r } : null;
262
- });
263
- y(() => {
264
- var r, e;
265
- B && (B.target === "form" ? (r = Cr.current) == null || r.focus() : (e = X.current[B.target]) == null || e.focus());
266
- }, [B]);
267
- const V = n("phone");
268
- y(() => {
269
- const r = X.current.phone;
270
- if (!V || !r) return;
271
- const e = () => G(
272
- (a) => a.phone ? a : { ...a, phone: !0 }
273
- );
274
- return r.addEventListener("blur", e), () => r.removeEventListener("blur", e);
275
- }, [V]);
276
- const rr = D(null), er = D(null), [xr, me] = N(null);
277
- y(() => {
278
- var r;
279
- xr && ((r = rr.current) == null || r.requestSubmit());
280
- }, [xr]);
281
- const de = () => {
282
- var e;
283
- const r = l == null ? void 0 : l.values;
284
- if (r) {
285
- const a = q ? void 0 : r.email, m = {};
286
- n("firstName") && r.firstName !== void 0 && (m.firstName = r.firstName), n("lastName") && r.lastName !== void 0 && (m.lastName = r.lastName), a !== void 0 && (m.email = a), n("emailConfirm") && a !== void 0 && (m.emailConfirm = a), 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), $((ar) => ({ ...ar, ...m })), m.phone !== void 0 && hr(Or(m.phone)), Y((ar) => {
287
- const kr = { ...ar };
288
- for (const pe of Object.keys(m))
289
- kr[pe] = void 0;
290
- return kr;
291
- }), l.submit && me({});
292
- }
293
- (e = l == null ? void 0 : l.onClick) == null || e.call(l);
294
- }, S = ke({
295
- errors: T,
296
- submitting: Xr,
297
- native: w,
298
- captcha: !!z,
299
- firstProblem: () => pr.find((r) => br[r]),
300
- onRefused: (r) => {
301
- gr(!0), Z({ target: r });
302
- },
303
- deliver: (r) => {
304
- var a;
305
- if (w) {
306
- er.current && r && (er.current.value = r), (a = rr.current) == null || a.submit();
307
- return;
308
- }
309
- const e = (m) => n(m) ? o[m] : "";
310
- H == null || H({
311
- firstName: e("firstName"),
312
- lastName: e("lastName"),
313
- email: o.email,
314
- emailConfirm: e("emailConfirm"),
315
- password: o.password,
316
- passwordConfirm: e("passwordConfirm"),
317
- phone: e("phone"),
318
- branch: e("branch"),
319
- terms: n("terms") && o.terms,
320
- captchaToken: r
321
- });
322
- },
323
- onAnswer: (r) => {
324
- const e = r;
325
- if (Y(e), !Lr(e)) return;
326
- vr(), gr(!1);
327
- const a = Nr(e);
328
- a && Z({ target: a });
329
- },
330
- // The page came back from the browser's cache as it was left:
331
- // the passwords must not come back with it.
332
- onRestore: vr
333
- }), { busy: sr, captchaFailed: or } = S;
334
- y(() => {
335
- or && Z({ target: "form" });
336
- }, [or]);
337
- const C = (r) => w ? I[r] : r, ce = `h${k}`, Fr = ir(Kr), Rr = ir(Ur), Ir = ir(Jr), le = w && W && Ee(W) ? W : void 0, qr = [
338
- U.form,
339
- ...jr.filter((r) => !n(r)).map(
340
- (r) => U[r]
341
- ),
342
- or ? i("inputs.recaptcha.error") : void 0
343
- ].filter(Boolean).join(" ") || void 0, M = h("terms"), fe = [
344
- _ ? ur : void 0,
345
- M ? fr : void 0
346
- ].filter(Boolean).join(" ") || void 0, Er = new Set(Object.values(I ?? {})), Pr = w ? Object.entries(Zr ?? {}) : [], tr = Pr.filter(([r]) => Er.has(r)).map(([r]) => r).join(", ");
347
- y(() => {
348
- tr && qe() && console.warn(
349
- `RegistrationForm: hiddenFields "${tr}" is also named in fieldNames and was left out. The form's own field wins.`
350
- );
351
- }, [tr]);
352
- const ue = (r) => {
353
- switch (r) {
354
- case "firstName":
355
- return /* @__PURE__ */ s(
356
- x,
357
- {
358
- label: i("registrationForm.firstName"),
359
- required: !0,
360
- error: h("firstName"),
361
- "data-field": "firstName",
362
- children: /* @__PURE__ */ s(
363
- Dr,
364
- {
365
- ref: g.firstName,
366
- name: C("firstName"),
367
- autoComplete: "given-name",
368
- value: o.firstName,
369
- onChange: (e) => u("firstName", e.target.value),
370
- onBlur: () => E("firstName"),
371
- ...P("firstName")
372
- }
373
- )
374
- },
375
- r
376
- );
377
- case "lastName":
378
- return /* @__PURE__ */ s(
379
- x,
380
- {
381
- label: i("registrationForm.lastName"),
382
- required: !0,
383
- error: h("lastName"),
384
- "data-field": "lastName",
385
- children: /* @__PURE__ */ s(
386
- Dr,
387
- {
388
- ref: g.lastName,
389
- name: C("lastName"),
390
- autoComplete: "family-name",
391
- value: o.lastName,
392
- onChange: (e) => u("lastName", e.target.value),
393
- onBlur: () => E("lastName"),
394
- ...P("lastName")
395
- }
396
- )
397
- },
398
- r
399
- );
400
- case "email":
401
- return /* @__PURE__ */ s(
402
- x,
403
- {
404
- label: i("registrationForm.email"),
405
- required: !q,
406
- description: $r,
407
- error: h("email"),
408
- "data-field": "email",
409
- children: /* @__PURE__ */ s(
410
- yr,
411
- {
412
- ref: g.email,
413
- name: C("email"),
414
- errorMessage: null,
415
- disableBuiltInValidation: q,
416
- readOnly: q,
417
- value: o.email,
418
- onChange: (e) => u("email", e.target.value),
419
- onBlur: () => E("email"),
420
- ...P("email")
421
- }
422
- )
423
- },
424
- r
425
- );
426
- case "emailConfirm":
427
- return /* @__PURE__ */ s(
428
- x,
429
- {
430
- label: i("registrationForm.emailConfirm"),
431
- required: !0,
432
- error: h("emailConfirm"),
433
- "data-field": "emailConfirm",
434
- children: /* @__PURE__ */ s(
435
- yr,
436
- {
437
- ref: g.emailConfirm,
438
- name: C("emailConfirm"),
439
- disableBuiltInValidation: !0,
440
- value: o.emailConfirm,
441
- onChange: (e) => u("emailConfirm", e.target.value),
442
- onBlur: () => {
443
- E("emailConfirm"), J.confirmProps.onBlur();
444
- },
445
- ...P("emailConfirm")
446
- }
447
- )
448
- },
449
- r
450
- );
451
- case "password":
452
- return /* @__PURE__ */ s(
453
- x,
454
- {
455
- label: i("registrationForm.password"),
456
- required: !0,
457
- error: h("password"),
458
- "data-field": "password",
459
- children: /* @__PURE__ */ s(
460
- Mr,
461
- {
462
- ref: g.password,
463
- name: C("password") ?? "",
464
- autoComplete: "new-password",
465
- requirements: wr,
466
- value: o.password,
467
- onChange: (e) => u("password", e.target.value),
468
- onBlur: () => E("password"),
469
- ...P("password")
470
- }
471
- )
472
- },
473
- r
474
- );
475
- case "passwordConfirm":
476
- return /* @__PURE__ */ s(
477
- x,
478
- {
479
- label: i("registrationForm.passwordConfirm"),
480
- required: !0,
481
- error: h("passwordConfirm"),
482
- "data-field": "passwordConfirm",
483
- children: /* @__PURE__ */ s(
484
- Mr,
485
- {
486
- ref: g.passwordConfirm,
487
- name: C("passwordConfirm") ?? "",
488
- autoComplete: "new-password",
489
- value: o.passwordConfirm,
490
- onChange: (e) => u("passwordConfirm", e.target.value),
491
- onBlur: () => {
492
- E("passwordConfirm"), Q.confirmProps.onBlur();
493
- },
494
- ...P("passwordConfirm")
495
- }
496
- )
497
- },
498
- r
499
- );
500
- case "phone":
501
- return /* @__PURE__ */ s(
502
- x,
503
- {
504
- label: i("registrationForm.phone"),
505
- required: !0,
506
- error: h("phone"),
507
- "data-field": "phone",
508
- children: /* @__PURE__ */ s(
509
- Fe,
510
- {
511
- ref: g.phone,
512
- name: w ? void 0 : "phone",
513
- value: o.phone,
514
- onChange: (e, a) => {
515
- u("phone", e), hr(a.isPossible);
516
- }
517
- }
518
- )
519
- },
520
- r
521
- );
522
- case "branch":
523
- return /* @__PURE__ */ s(
524
- x,
525
- {
526
- label: i("registrationForm.branch"),
527
- required: !0,
528
- error: h("branch"),
529
- "data-field": "branch",
530
- children: /* @__PURE__ */ s(
531
- Ie,
532
- {
533
- ref: g.branch,
534
- name: C("branch"),
535
- options: O ?? [],
536
- value: o.branch,
537
- onValueChange: (e) => u("branch", e)
538
- }
539
- )
540
- },
541
- r
542
- );
543
- }
544
- };
545
- return /* @__PURE__ */ s(
546
- "div",
547
- {
548
- ref: ee,
549
- ...re,
550
- "data-component": "registration-form",
551
- className: Ae({ className: Vr }),
552
- children: /* @__PURE__ */ s(Br, { variant: "elevated", children: /* @__PURE__ */ F(Br.Body, { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-lg)]", children: [
553
- /* @__PURE__ */ F("div", { className: Me({ logo: f }), children: [
554
- /* @__PURE__ */ F("div", { className: De({ centred: f }), children: [
555
- f && /* @__PURE__ */ s(Se, { motion: v, label: ze }),
556
- /* @__PURE__ */ s(ce, { id: lr, className: "type-title-card", children: d ?? i("registrationForm.title") }),
557
- c && /* @__PURE__ */ s("p", { className: "type-body-sm ds:text-[var(--muted-foreground)]", children: c })
558
- ] }),
559
- l && (l.values || l.onClick) && /* @__PURE__ */ s("div", { className: Te({ corner: f }), children: /* @__PURE__ */ s(
560
- Ne,
561
- {
562
- label: l.label,
563
- onClick: de
564
- }
565
- ) })
566
- ] }),
567
- A ? /* @__PURE__ */ s(
568
- "div",
569
- {
570
- "data-slot": "host-content",
571
- className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
572
- children: A
573
- }
574
- ) : null,
575
- /* @__PURE__ */ F(
576
- "form",
577
- {
578
- ref: rr,
579
- noValidate: !0,
580
- method: "post",
581
- action: le,
582
- "aria-labelledby": lr,
583
- "aria-busy": sr || void 0,
584
- onSubmit: S.handleSubmit,
585
- className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
586
- children: [
587
- qr && /* @__PURE__ */ s(
588
- Ar,
589
- {
590
- ref: Cr,
591
- variant: "error",
592
- tabIndex: -1,
593
- "data-field": "form",
594
- className: Le(),
595
- children: /* @__PURE__ */ s(Ar.Description, { children: qr })
596
- }
597
- ),
598
- We(n).map((r) => /* @__PURE__ */ s(
599
- "div",
600
- {
601
- className: Be({
602
- columns: r.length === 2 ? "two" : "one"
603
- }),
604
- children: r.map(ue)
605
- },
606
- r[0]
607
- )),
608
- w && V && I.phone && /* @__PURE__ */ s(
609
- "input",
610
- {
611
- type: "hidden",
612
- name: I.phone,
613
- value: o.phone
614
- }
615
- ),
616
- w && I.captcha && /* @__PURE__ */ s(
617
- "input",
618
- {
619
- ref: er,
620
- type: "hidden",
621
- name: I.captcha,
622
- defaultValue: ""
623
- }
624
- ),
625
- Pr.filter(([r]) => !Er.has(r)).map(([r, e]) => /* @__PURE__ */ s(
626
- "input",
627
- {
628
- type: "hidden",
629
- name: r,
630
- value: e
631
- },
632
- r
633
- )),
634
- n("terms") && /* @__PURE__ */ F(
635
- "div",
636
- {
637
- className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
638
- "data-field": "terms",
639
- children: [
640
- _ && /* @__PURE__ */ s(
641
- "p",
642
- {
643
- id: ur,
644
- className: "type-body-sm ds:text-[var(--muted-foreground)]",
645
- children: _
646
- }
647
- ),
648
- /* @__PURE__ */ s(
649
- Ce,
650
- {
651
- ref: g.terms,
652
- name: C("terms"),
653
- value: "1",
654
- checked: o.terms,
655
- onCheckedChange: (r) => u("terms", r === !0),
656
- "aria-required": "true",
657
- "aria-invalid": M ? !0 : void 0,
658
- "aria-describedby": fe,
659
- label: /* @__PURE__ */ F(zr, { children: [
660
- Yr ?? /* @__PURE__ */ s(
661
- Sr,
662
- {
663
- i18n: cr,
664
- ns: "ui",
665
- i18nKey: "registrationForm.terms",
666
- components: {
667
- terms: Fr ? /* @__PURE__ */ s(mr, { href: Fr, newTab: !0 }) : /* @__PURE__ */ s(_r, {}),
668
- privacy: Rr ? /* @__PURE__ */ s(mr, { href: Rr, newTab: !0 }) : /* @__PURE__ */ s(_r, {})
669
- }
670
- }
671
- ),
672
- /* @__PURE__ */ s(
673
- "span",
674
- {
675
- "aria-hidden": "true",
676
- className: Oe(),
677
- children: "*"
678
- }
679
- )
680
- ] })
681
- }
682
- ),
683
- M && /* @__PURE__ */ F(
684
- "p",
685
- {
686
- id: fr,
687
- role: "alert",
688
- className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] type-body-sm ds:text-destructive",
689
- children: [
690
- /* @__PURE__ */ s(
691
- ye,
692
- {
693
- "aria-hidden": "true",
694
- className: "ds:size-4 ds:shrink-0"
695
- }
696
- ),
697
- /* @__PURE__ */ s("span", { children: M })
698
- ]
699
- }
700
- )
701
- ]
702
- }
703
- ),
704
- /* @__PURE__ */ s(
705
- be,
706
- {
707
- type: "submit",
708
- intent: "primary",
709
- size: "lg",
710
- loading: sr,
711
- className: "ds:w-full",
712
- "data-action": "submit",
713
- children: Qr ?? i("registrationForm.submit")
714
- }
715
- ),
716
- /* @__PURE__ */ s("p", { role: "status", className: "ds:sr-only", children: sr ? i("chat.message.status.sending") : "" }),
717
- Ir && /* @__PURE__ */ s("p", { className: "type-body-sm ds:text-center ds:text-[var(--muted-foreground)]", children: /* @__PURE__ */ s(
718
- Sr,
719
- {
720
- i18n: cr,
721
- ns: "ui",
722
- i18nKey: "registrationForm.login",
723
- components: {
724
- login: /* @__PURE__ */ s(
725
- mr,
726
- {
727
- href: Ir,
728
- weight: "strong",
729
- action: "login"
730
- }
731
- )
732
- }
733
- }
734
- ) }),
735
- z && /* @__PURE__ */ s("div", { className: "ds:absolute", children: /* @__PURE__ */ s(
736
- Re,
737
- {
738
- ref: S.captcha.ref,
739
- siteKey: z,
740
- size: "invisible",
741
- announceStatus: !1,
742
- onChange: S.captcha.onChange,
743
- onError: S.captcha.onError
744
- }
745
- ) })
746
- ]
747
- }
748
- )
749
- ] }) })
750
- }
751
- );
752
- }
753
- );
754
- $e.displayName = "RegistrationForm";
755
- export {
756
- jr as R,
757
- $e as a
758
- };
759
- //# sourceMappingURL=registration-form-Lz9iKrKo.js.map