@alfadocs/ui-kit 1.52.0 → 1.54.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 (728) hide show
  1. package/dist/_chunks/{Alfadocs_Logo_Mark-7o3L3WBI.js → Alfadocs_Logo_Mark-Z_b6ZI1g.js} +22 -9
  2. package/dist/_chunks/{actions-cell-renderer-DhmUGzRY.js → actions-cell-renderer-CjzSqMgn.js} +3 -3
  3. package/dist/_chunks/{address-autocomplete-BVLoHU3E.js → address-autocomplete-BBZ0u_U1.js} +100 -99
  4. package/dist/_chunks/address-fields-1pD-8hML.js +292 -0
  5. package/dist/_chunks/{agenda-tray-C-_iu6Fo.js → agenda-tray-B8vuZKjH.js} +3 -3
  6. package/dist/_chunks/{ai-credits-notice-Da0fJPXO.js → ai-credits-notice-D9_qP2xc.js} +2 -2
  7. package/dist/_chunks/{ai-permission-notice-C5q_uHBA.js → ai-permission-notice-Cr6o1f0f.js} +3 -3
  8. package/dist/_chunks/{ai-prompt-input-IObcUWqB.js → ai-prompt-input-DkL8W-nt.js} +3 -3
  9. package/dist/_chunks/{alia-sidebar-DyQMsyiz.js → alia-sidebar-DSUQ2RpK.js} +6 -6
  10. package/dist/_chunks/{anamnesis-card-D4RWzQXP.js → anamnesis-card-BT1tMt5O.js} +2 -2
  11. package/dist/_chunks/{anamnesis-summary-rows-DaSoA80I.js → anamnesis-summary-rows-BMjSBqhS.js} +20 -20
  12. package/dist/_chunks/apexcharts-theme-DNoXvgnZ.js +105 -0
  13. package/dist/_chunks/{appointment-peek-DpPzeYXm.js → appointment-peek-Cbrg36wj.js} +3 -3
  14. package/dist/_chunks/{appointment-timeline-BZErHbD1.js → appointment-timeline-CssAJLpL.js} +4 -4
  15. package/dist/_chunks/{appointment-tray-DR_Zm4Gw.js → appointment-tray-EQUjllVy.js} +3 -3
  16. package/dist/_chunks/{audio-recorder-BafA28cX.js → audio-recorder-BM68r6fe.js} +3 -3
  17. package/dist/_chunks/auth-form-parts-Celi-TLV.js +85 -0
  18. package/dist/_chunks/{autocomplete-IfLaXwyb.js → autocomplete-BXm1rnT0.js} +229 -220
  19. package/dist/_chunks/{balance-badge-cell-CS-iKkLM.js → balance-badge-cell-BDX1Krdv.js} +5 -5
  20. package/dist/_chunks/{bishop-score-BfDsm9HH.js → bishop-score-CGAVpIWL.js} +3 -3
  21. package/dist/_chunks/{bmi-calculator-BNtmMzQy.js → bmi-calculator-g_wjo4nq.js} +5 -5
  22. package/dist/_chunks/booking-CPUjwxj0.js +3710 -0
  23. package/dist/_chunks/{button-group-DnSR6eN6.js → button-group-CpEycMps.js} +2 -2
  24. package/dist/_chunks/{calendar-workspace-B9MKJXER.js → calendar-workspace-BbZIx2PT.js} +32 -32
  25. package/dist/_chunks/{care-plan-card-BanlKJZn.js → care-plan-card-BqI-_B4T.js} +3 -3
  26. package/dist/_chunks/{care-plan-entry-card-ByqT84_P.js → care-plan-entry-card-CbsZmfQM.js} +2 -2
  27. package/dist/_chunks/{care-plan-header-BwfUHMgM.js → care-plan-header-BIS4CGcp.js} +3 -3
  28. package/dist/_chunks/{carousel.agent-WKODAYVw.js → carousel.agent-DW9iPLdy.js} +2 -2
  29. package/dist/_chunks/{chart-CuE30cfr.js → chart-C134Ibwm.js} +81 -81
  30. package/dist/_chunks/{chat-input-DA10w969.js → chat-input-Bg99kcl3.js} +2 -2
  31. package/dist/_chunks/{chat-message-DoMjMa-M.js → chat-message-D4rvLoIJ.js} +2 -2
  32. package/dist/_chunks/{checkbox-CZkipDn7.js → checkbox--ndmyokr.js} +19 -15
  33. package/dist/_chunks/{checkbox-group-C7czpHmJ.js → checkbox-group-B0oZHNT3.js} +2 -2
  34. package/dist/_chunks/{city-input-CAnTVgBZ.js → city-input-DyxVWSRQ.js} +10 -9
  35. package/dist/_chunks/{clinical-note-card-kvlUrmP-.js → clinical-note-card-gmWXEwSu.js} +2 -2
  36. package/dist/_chunks/{code-block-NtHjtagI.js → code-block-CRVa-Thh.js} +2 -2
  37. package/dist/_chunks/{color-picker-Yl99lHuF.js → color-picker-Bu0wM8xv.js} +50 -50
  38. package/dist/_chunks/combobox-DppVSuUm.js +614 -0
  39. package/dist/_chunks/{connection-status-Dz8o-Fui.js → connection-status-BwTnjnUj.js} +2 -2
  40. package/dist/_chunks/{contact-card-D2gXrxlL.js → contact-card-CIVCcicP.js} +2 -2
  41. package/dist/_chunks/{contact-profile-card-B7cXr8g5.js → contact-profile-card-h0QX4_5B.js} +3 -3
  42. package/dist/_chunks/{control-room-rail-B446rHSL.js → control-room-rail-g4vNSPFi.js} +3 -3
  43. package/dist/_chunks/{country-select-BYa4BrEi.js → country-select-r3QC7cVA.js} +139 -113
  44. package/dist/_chunks/{cycle-calculator-D_5f9VSN.js → cycle-calculator-CwDEdmda.js} +4 -4
  45. package/dist/_chunks/{dashboard-grid-DWNP02Ff.js → dashboard-grid--rkojX6m.js} +2 -2
  46. package/dist/_chunks/{data-table-DJvEwZZx.js → data-table-DeUoJzNn.js} +8 -8
  47. package/dist/_chunks/{data-table-tabs-Dc6zvoI_.js → data-table-tabs-BfEmXvUk.js} +4 -4
  48. package/dist/_chunks/{date-picker-p9yz3pxc.js → date-picker-BnhBmcH6.js} +31 -31
  49. package/dist/_chunks/{date-range-picker-DIy8gNY0.js → date-range-picker-Dg050N1d.js} +65 -65
  50. package/dist/_chunks/{date-time-picker-C3UVzqOm.js → date-time-picker-Ckl6ezCL.js} +50 -49
  51. package/dist/_chunks/{description-list-9rchqp5q.js → description-list-BKQMUiXv.js} +2 -2
  52. package/dist/_chunks/dev-bypass-button-Y1s7gPSD.js +33 -0
  53. package/dist/_chunks/dev-bypass-button.agent-BJqFSTqE.js +17 -0
  54. package/dist/_chunks/{document-preview-1CZJg6CX.js → document-preview-C_6R_VZK.js} +4 -4
  55. package/dist/_chunks/{document-scanner-T5jHiraQ.js → document-scanner-pADVX447.js} +2 -2
  56. package/dist/_chunks/{due-date-calculator-iJXm6HOj.js → due-date-calculator-_0Dz_d7n.js} +6 -6
  57. package/dist/_chunks/{editable-currency-cell-renderer-DdMHme5y.js → editable-currency-cell-renderer-CfFp_1hI.js} +3 -3
  58. package/dist/_chunks/{editable-description-Cy3AZ5K2.js → editable-description-CCrAEJMq.js} +2 -2
  59. package/dist/_chunks/{editor-overlay-C0awV6ba.js → editor-overlay-CWV0chPV.js} +2 -2
  60. package/dist/_chunks/{email-input-ebdovOmh.js → email-input-Cmeo4zdT.js} +88 -86
  61. package/dist/_chunks/{empty-state-DActfjdn.js → empty-state-CgvmPPvW.js} +71 -66
  62. package/dist/_chunks/{entity-summary-oW3_jFhU.js → entity-summary-C3E4JKVr.js} +3 -3
  63. package/dist/_chunks/{error-boundary--w5hYiQ-.js → error-boundary-Bzjk9Q2l.js} +2 -2
  64. package/dist/_chunks/error-page-CKFJlekz.js +275 -0
  65. package/dist/_chunks/error-page-illustration-QGJAvuFB.js +459 -0
  66. package/dist/_chunks/{face-scheme-Dg7KcbW2.js → face-scheme-pZgT26gB.js} +8 -8
  67. package/dist/_chunks/{fetal-weight-BoIkl2t1.js → fetal-weight-CbE61Uyk.js} +3 -3
  68. package/dist/_chunks/{field-array-BF2nCmvt.js → field-array-DGiIHCdy.js} +2 -2
  69. package/dist/_chunks/{file-manager-BGHShxn_.js → file-manager-DdsAd4TQ.js} +8 -8
  70. package/dist/_chunks/{file-upload-OMlGHz70.js → file-upload-CxjCs7TX.js} +46 -46
  71. package/dist/_chunks/{fiscal-code-input-CuuE8_dt.js → fiscal-code-input-DNA_SbQx.js} +69 -69
  72. package/dist/_chunks/forgot-password-form-DVVOBEGj.js +203 -0
  73. package/dist/_chunks/form-field-D9WfDpYB.js +165 -0
  74. package/dist/_chunks/form-field-context-DtiROUJV.js +36 -0
  75. package/dist/_chunks/{freemium-paywall-BhxKSEJD.js → freemium-paywall-CtUCj-ND.js} +2 -2
  76. package/dist/_chunks/{gestational-age-calculator-CjZ7v-8x.js → gestational-age-calculator-BMkoLJGR.js} +7 -7
  77. package/dist/_chunks/{hcg-doubling-BYMogA0e.js → hcg-doubling-BtW2pBJX.js} +4 -4
  78. package/dist/_chunks/{header-CzJbtTGQ.js → header--a4ZTiM5.js} +6 -3
  79. package/dist/_chunks/{header-settings-BqdBe4zk.js → header-settings-kkVm9VP3.js} +3 -3
  80. package/dist/_chunks/{help-me-write-templates-CGCyhAVE.js → help-me-write-templates-Cy-iO5AU.js} +8 -8
  81. package/dist/_chunks/{hover-card-DEMPFs9M.js → hover-card-CcRSI4gy.js} +2 -2
  82. package/dist/_chunks/{iban-input-D88HRGZo.js → iban-input-CpOUMMR-.js} +35 -35
  83. package/dist/_chunks/{icon-button-group-DHRz90jY.js → icon-button-group-BsQkbCX4.js} +2 -2
  84. package/dist/_chunks/{icon-button-JAXAkqWC.js → icon-button-mKIvw90h.js} +31 -30
  85. package/dist/_chunks/{icon-picker-C5Fhx1-3.js → icon-picker-CSViTQL9.js} +3 -3
  86. package/dist/_chunks/{index.modern-Zta-A4Jm.js → index.modern-BeRXQVdc.js} +3 -2
  87. package/dist/_chunks/{info-tip-DfmEvyAF.js → info-tip-Czh1izZ6.js} +2 -2
  88. package/dist/_chunks/is-development-CLUAnsU7.js +11 -0
  89. package/dist/_chunks/{key-value-pair-DZH8ESsc.js → key-value-pair-BkXjt88Z.js} +2 -2
  90. package/dist/_chunks/{kit-extensions-CF5mDF_Z.js → kit-extensions-Kca1tkfP.js} +6 -6
  91. package/dist/_chunks/{link-BlVUIKk1.js → link-2HokYuIi.js} +19 -18
  92. package/dist/_chunks/{link-cell-renderer-DvcbSHyp.js → link-cell-renderer-D-xv2HMS.js} +7 -7
  93. package/dist/_chunks/{locale-picker-DYDppQdZ.js → locale-picker-BhNIgeXA.js} +3 -3
  94. package/dist/_chunks/log-in-OQUEoGhX.js +16 -0
  95. package/dist/_chunks/login-dev-card-C7wo-Hv1.js +275 -0
  96. package/dist/_chunks/{logo-1FuSGx0n.js → logo-CuaqxTGK.js} +128 -77
  97. package/dist/_chunks/{map-view-CmNGS6Ok.js → map-view-CQmqQJwK.js} +158 -129
  98. package/dist/_chunks/mark-pieces-m_rn1mAc.js +46 -0
  99. package/dist/_chunks/{marketplace-app-shell-rd1bSSm4.js → marketplace-app-shell-DbEfoNxe.js} +6 -6
  100. package/dist/_chunks/{message-card-Dub3790J.js → message-card-C1buKlzM.js} +2 -2
  101. package/dist/_chunks/{message-tray-CTd6CsnG.js → message-tray-DyBVqlGj.js} +3 -3
  102. package/dist/_chunks/{multi-select-Bx0_cgPI.js → multi-select-CVb6PJOK.js} +87 -85
  103. package/dist/_chunks/{muscle-scheme-X2bdmsQt.js → muscle-scheme-DfYQ0Z3v.js} +2 -2
  104. package/dist/_chunks/{nav-grid-BnY0Ilet.js → nav-grid-BPbmzHY0.js} +2 -2
  105. package/dist/_chunks/{note-attachment-CpPRIfSn.js → note-attachment-I1NLoeRZ.js} +2 -2
  106. package/dist/_chunks/{note-timeline-CZUmobcn.js → note-timeline-CsY8YOE7.js} +2 -2
  107. package/dist/_chunks/{notes-panel-CPfxz-1j.js → notes-panel-BPb-2ZnJ.js} +6 -6
  108. package/dist/_chunks/{notification-card-B39g86vM.js → notification-card-DubeUbVJ.js} +2 -2
  109. package/dist/_chunks/{notification-tray-WsP7c1jf.js → notification-tray-DJ0gtfu6.js} +3 -3
  110. package/dist/_chunks/{number-input-BLrx3utH.js → number-input-DRDRYZJg.js} +41 -41
  111. package/dist/_chunks/{optical-prescription-x--Rpmmx.js → optical-prescription-DBvebioV.js} +5 -5
  112. package/dist/_chunks/{otp-input-Dz8WMg4F.js → otp-input-BedEqmIV.js} +47 -45
  113. package/dist/_chunks/{panel-subview-DAY-ToM3.js → panel-subview-D8HGXaUa.js} +2 -2
  114. package/dist/_chunks/password-input-B7pQTk7l.js +447 -0
  115. package/dist/_chunks/{patient-details-BSAMAd3I.js → patient-details-BP9r_lNS.js} +3 -3
  116. package/dist/_chunks/{patient-field-row-dUF2cW2G.js → patient-field-row-BK9JjbzA.js} +19 -19
  117. package/dist/_chunks/{patient-search-CXl0FNfN.js → patient-search-Dm3w0jWw.js} +3 -3
  118. package/dist/_chunks/{patient-summary-card-DF-Mxcma.js → patient-summary-card-DGbRLzF1.js} +6 -6
  119. package/dist/_chunks/{payment-form-DxsjXYHJ.js → payment-form-B08gHZIY.js} +327 -295
  120. package/dist/_chunks/{payment-request-card-BFsmHLtf.js → payment-request-card-CR7SjsRs.js} +4 -4
  121. package/dist/_chunks/{pdf-viewer-hzfM5pZf.js → pdf-viewer-zv7pkUPA.js} +2 -2
  122. package/dist/_chunks/{periodontal-chart-Bvii6uOg.js → periodontal-chart-5nLsSuRM.js} +2 -2
  123. package/dist/_chunks/{periodontal-chart-card-DTbvFQO7.js → periodontal-chart-card-Djr3en8Q.js} +2 -2
  124. package/dist/_chunks/{periodontal-diagnosis-BqEo0usu.js → periodontal-diagnosis-DmVIqXtC.js} +4 -4
  125. package/dist/_chunks/{permission-matrix-DHKECaNW.js → permission-matrix-DuTkUHxe.js} +3 -3
  126. package/dist/_chunks/{phone-input-opMMHkyh.js → phone-input-BzeUr49H.js} +253 -204
  127. package/dist/_chunks/{popover-CGYPYIVi.js → popover-9_v-7fJc.js} +2 -2
  128. package/dist/_chunks/{postal-code-input-Dv02t5MD.js → postal-code-input-BmbqjkfD.js} +71 -71
  129. package/dist/_chunks/{practice-results-DjhcggtZ.js → practice-results-D3liWOz1.js} +5 -5
  130. package/dist/_chunks/{pregnancy-dating-CcPxK3S3.js → pregnancy-dating-DV3o2PPl.js} +8 -8
  131. package/dist/_chunks/{pregnancy-weight-gain-tGbbravi.js → pregnancy-weight-gain-BLjWgtS9.js} +5 -5
  132. package/dist/_chunks/{privacy-lock-Bh4O7Y7g.js → privacy-lock-KDPKiTpH.js} +3 -3
  133. package/dist/_chunks/{privacy-mask-noG15O9q.js → privacy-mask-H8yYwgIb.js} +2 -2
  134. package/dist/_chunks/{product-hub-panel-BmBzDba9.js → product-hub-panel-M5X3TYzq.js} +4 -4
  135. package/dist/_chunks/{province-select-BZtM0RSR.js → province-select-DtF2ukoC.js} +92 -79
  136. package/dist/_chunks/{public-footer.agent-CVYmHY94.js → public-footer-Bfs81Qzp.js} +188 -219
  137. package/dist/_chunks/public-footer.agent-CRZCrq3_.js +37 -0
  138. package/dist/_chunks/{public-header.agent-1mcrQqIM.js → public-header.agent-CrXkGtTF.js} +3 -3
  139. package/dist/_chunks/{qr-code-C3m9o7om.js → qr-code-Ofx7ryyu.js} +2 -2
  140. package/dist/_chunks/{radio-6fml-pWk.js → radio-BBbMdbE_.js} +15 -11
  141. package/dist/_chunks/{radio-group-CIjmyioi.js → radio-group-BT97ty7o.js} +2 -2
  142. package/dist/_chunks/{radiograph-panel.agent-BP71J_VB.js → radiograph-panel.agent-C4j6eoQn.js} +8 -8
  143. package/dist/_chunks/recaptcha-widget-CsvwlYTE.js +234 -0
  144. package/dist/_chunks/registration-form-CBDeXzlk.js +748 -0
  145. package/dist/_chunks/{reviews-panel-DDb_t7vy.js → reviews-panel-CyxZ0VmZ.js} +3 -3
  146. package/dist/_chunks/{rich-text-editor-C7N4Cem6.js → rich-text-editor-CCCSEPlG.js} +13 -13
  147. package/dist/_chunks/safe-href-5dbsfbQn.js +22 -0
  148. package/dist/_chunks/{search-bar-Blq_QeSe.js → search-bar-D695TCDH.js} +2 -2
  149. package/dist/_chunks/{search-input-DfsAu3P2.js → search-input-Tl-RkS5x.js} +31 -31
  150. package/dist/_chunks/{select-Br88h070.js → select-DHPmASkG.js} +293 -228
  151. package/dist/_chunks/{sheet-BE6oi30q.js → sheet-BTgxkDJS.js} +2 -2
  152. package/dist/_chunks/{sign-document-Buw-zC_7.js → sign-document-B_3U-S6g.js} +2 -2
  153. package/dist/_chunks/{sign-in-with-alfadocs-button-Bd4VPGQh.js → sign-in-with-alfadocs-button-DFmgQuDo.js} +3 -3
  154. package/dist/_chunks/{signature-field-DBIGiY-J.js → signature-field-DLDznGnB.js} +2 -2
  155. package/dist/_chunks/{signature-request-DqZkn-iB.js → signature-request-BdolmJk4.js} +6 -6
  156. package/dist/_chunks/signed-out-frame-dz1rLJ65.js +171 -0
  157. package/dist/_chunks/{slider-BRq2lL-l.js → slider-pZ95bEm7.js} +50 -50
  158. package/dist/_chunks/{slot-grid-Bkg9MVXP.js → slot-grid-kCDoV3k4.js} +3 -3
  159. package/dist/_chunks/{social-sign-in-button-Bb2UQpsA.js → social-sign-in-button-BMGNlUWs.js} +2 -2
  160. package/dist/_chunks/{sparkline-ZOxMBU76.js → sparkline-pkGPCXbl.js} +80 -80
  161. package/dist/_chunks/spinner-a0FTYX9Q.js +211 -0
  162. package/dist/_chunks/{streaming-text-D0IJeRBg.js → streaming-text-BAPn_sZs.js} +2 -2
  163. package/dist/_chunks/{switch-DXGD2Drz.js → switch-D--x7n6h.js} +29 -29
  164. package/dist/_chunks/{tabs-DLXVEDsa.js → tabs-yIY-RySP.js} +2 -2
  165. package/dist/_chunks/{task-card-CngF4Zee.js → task-card-C02Km4Gb.js} +2 -2
  166. package/dist/_chunks/{task-editor-Dz93rRXg.js → task-editor-Dl27rI3J.js} +15 -15
  167. package/dist/_chunks/{task-tray-CB6_BvH9.js → task-tray-By6DPwbT.js} +4 -4
  168. package/dist/_chunks/{tasks-panel-DHAoTQtR.js → tasks-panel-BkN9sROF.js} +7 -7
  169. package/dist/_chunks/{text-area-Cjtw7mna.js → text-area-CDuItrvL.js} +23 -23
  170. package/dist/_chunks/{text-input-CLaItY93.js → text-input-lZ2-t-p2.js} +37 -37
  171. package/dist/_chunks/{theme-toggle-Byg0x2vB.js → theme-toggle-BAHz3itd.js} +4 -4
  172. package/dist/_chunks/{time-picker-BG7G3ujX.js → time-picker-DKKmpFh3.js} +28 -28
  173. package/dist/_chunks/{toast-6wbpghjF.js → toast-UMUvXFsA.js} +2 -2
  174. package/dist/_chunks/{tool-rail-CXcLzxPb.js → tool-rail-CwXN-sDC.js} +2 -2
  175. package/dist/_chunks/{tooth-scheme-BLbwUVer.js → tooth-scheme-BAMhwCZe.js} +3 -3
  176. package/dist/_chunks/{transcript-panel-Dve7bsm7.js → transcript-panel-CLgtyVbR.js} +2 -2
  177. package/dist/_chunks/{unit-converter-D8WnJbZm.js → unit-converter-CXNr5P4J.js} +4 -4
  178. package/dist/_chunks/{use-appointment-details-read-YsuJgYeB.js → use-appointment-details-read-BEbLseXW.js} +13 -13
  179. package/dist/_chunks/use-field-match-pdbEnKvO.js +28 -0
  180. package/dist/_chunks/use-password-requirements-C8DdwPEy.js +69 -0
  181. package/dist/_chunks/use-prism-DaspP8w-.js +55 -0
  182. package/dist/_chunks/use-registration-submit-DxCWic5_.js +141 -0
  183. package/dist/_chunks/{wallet-pay-button-C-GFl7RO.js → wallet-pay-button-Dew8Pmgq.js} +2 -2
  184. package/dist/_chunks/{warning-stack-CzKSeB5v.js → warning-stack-B_v_qMBI.js} +2 -2
  185. package/dist/_chunks/{widget-picker-b5NCHxFe.js → widget-picker-BCbwD5Z1.js} +2 -2
  186. package/dist/_chunks/{workflow-map-C7fHKTXL.js → workflow-map-PzamnfJK.js} +191 -199
  187. package/dist/agent-catalog.json +339 -109
  188. package/dist/agent-i18n/en.json +38 -11
  189. package/dist/brand/logo-asset/Alfadocs_Logo_Main.d.ts +2 -1
  190. package/dist/brand/logo-asset/Alfadocs_Logo_Mark.d.ts +2 -1
  191. package/dist/brand/logo-asset/Alfadocs_Logo_Neg.d.ts +2 -1
  192. package/dist/brand/logo-asset/index.d.ts +1 -0
  193. package/dist/brand/logo-asset/mark-piece.d.ts +10 -0
  194. package/dist/components/_shared/index.d.ts +1 -0
  195. package/dist/components/_shared/is-development.d.ts +8 -0
  196. package/dist/components/_shared/safe-href.d.ts +21 -0
  197. package/dist/components/_shared/use-keep-apex-tooltip-inside.d.ts +3 -0
  198. package/dist/components/address-autocomplete/index.js +1 -1
  199. package/dist/components/address-fields/address-fields.d.ts +7 -0
  200. package/dist/components/address-fields/index.js +1 -1
  201. package/dist/components/agenda-tray/index.js +1 -1
  202. package/dist/components/ai-credits-notice/index.js +1 -1
  203. package/dist/components/ai-permission-notice/index.js +1 -1
  204. package/dist/components/ai-prompt-input/index.js +1 -1
  205. package/dist/components/anamnesis-card/index.js +1 -1
  206. package/dist/components/appointment-card/index.js +1 -1
  207. package/dist/components/appointment-details-panel/index.js +1 -1
  208. package/dist/components/appointment-peek/index.js +1 -1
  209. package/dist/components/appointment-timeline/index.js +1 -1
  210. package/dist/components/audio-recorder/index.js +1 -1
  211. package/dist/components/autocomplete/autocomplete.d.ts +7 -0
  212. package/dist/components/autocomplete/index.js +1 -1
  213. package/dist/components/bishop-score/index.js +1 -1
  214. package/dist/components/bmi-calculator/index.js +1 -1
  215. package/dist/components/booking/booking-types.d.ts +57 -0
  216. package/dist/components/booking/booking.d.ts +1 -1
  217. package/dist/components/booking/details-form.d.ts +5 -0
  218. package/dist/components/booking/index.d.ts +1 -1
  219. package/dist/components/booking/index.js +1 -1
  220. package/dist/components/button/index.js +1 -1
  221. package/dist/components/button-group/index.js +1 -1
  222. package/dist/components/care-plan-card/index.js +1 -1
  223. package/dist/components/care-plan-entry-card/index.js +1 -1
  224. package/dist/components/care-plan-header/index.js +1 -1
  225. package/dist/components/carousel/index.js +1 -1
  226. package/dist/components/chart/index.js +1 -1
  227. package/dist/components/chat-input/index.js +1 -1
  228. package/dist/components/chat-message/index.js +1 -1
  229. package/dist/components/checkbox/index.js +1 -1
  230. package/dist/components/checkbox-group/index.js +1 -1
  231. package/dist/components/city-input/city-input.d.ts +2 -5
  232. package/dist/components/city-input/index.js +1 -1
  233. package/dist/components/clinical-note-card/index.js +1 -1
  234. package/dist/components/color-picker/index.js +1 -1
  235. package/dist/components/combobox/combobox.d.ts +10 -4
  236. package/dist/components/combobox/index.js +1 -1
  237. package/dist/components/command-palette/command-palette.d.ts +1 -1
  238. package/dist/components/connection-status/index.js +1 -1
  239. package/dist/components/contact-card/index.js +1 -1
  240. package/dist/components/contact-profile-card/index.js +1 -1
  241. package/dist/components/control-room-rail/index.js +1 -1
  242. package/dist/components/country-select/country-select.d.ts +3 -4
  243. package/dist/components/country-select/index.js +1 -1
  244. package/dist/components/cycle-calculator/index.js +1 -1
  245. package/dist/components/dashboard-grid/index.js +1 -1
  246. package/dist/components/data-table/index.js +4 -4
  247. package/dist/components/data-table-tabs/index.js +1 -1
  248. package/dist/components/date-picker/index.js +1 -1
  249. package/dist/components/date-range-picker/index.js +1 -1
  250. package/dist/components/date-time-picker/index.js +1 -1
  251. package/dist/components/description-list/index.js +1 -1
  252. package/dist/components/dev-bypass-button/dev-bypass-button.agent.d.ts +3 -0
  253. package/dist/components/dev-bypass-button/dev-bypass-button.d.ts +18 -0
  254. package/dist/components/dev-bypass-button/index.d.ts +4 -0
  255. package/dist/components/dev-bypass-button/index.js +7 -0
  256. package/dist/components/document-preview/index.js +1 -1
  257. package/dist/components/document-scanner/index.js +1 -1
  258. package/dist/components/due-date-calculator/index.js +1 -1
  259. package/dist/components/editable-description/index.js +1 -1
  260. package/dist/components/editor-overlay/index.js +1 -1
  261. package/dist/components/email-input/email-input.d.ts +13 -4
  262. package/dist/components/email-input/index.js +1 -1
  263. package/dist/components/empty-state/empty-state.d.ts +6 -0
  264. package/dist/components/empty-state/index.js +1 -1
  265. package/dist/components/entity-summary/index.js +1 -1
  266. package/dist/components/error-boundary/index.js +1 -1
  267. package/dist/components/face-scheme/index.js +1 -1
  268. package/dist/components/fetal-weight/index.js +1 -1
  269. package/dist/components/field-array/index.js +1 -1
  270. package/dist/components/file-manager/index.js +1 -1
  271. package/dist/components/file-upload/index.js +1 -1
  272. package/dist/components/fiscal-code-input/index.js +1 -1
  273. package/dist/components/form-field/form-field-context.d.ts +20 -0
  274. package/dist/components/form-field/index.d.ts +1 -1
  275. package/dist/components/form-field/index.js +7 -5
  276. package/dist/components/freemium-paywall/index.js +1 -1
  277. package/dist/components/gestational-age-calculator/index.js +1 -1
  278. package/dist/components/hcg-doubling/index.js +1 -1
  279. package/dist/components/header/index.js +1 -1
  280. package/dist/components/header-settings/index.js +1 -1
  281. package/dist/components/hover-card/index.js +1 -1
  282. package/dist/components/iban-input/index.js +1 -1
  283. package/dist/components/icon-button/index.js +1 -1
  284. package/dist/components/icon-button-group/index.js +1 -1
  285. package/dist/components/icon-picker/index.js +1 -1
  286. package/dist/components/index.d.ts +8 -2
  287. package/dist/components/info-tip/index.js +1 -1
  288. package/dist/components/key-value-pair/index.js +1 -1
  289. package/dist/components/link/index.js +1 -1
  290. package/dist/components/locale-picker/index.js +1 -1
  291. package/dist/components/logo/index.js +1 -1
  292. package/dist/components/logo/logo.d.ts +15 -0
  293. package/dist/components/map-view/index.js +1 -1
  294. package/dist/components/map-view/map-view.d.ts +8 -5
  295. package/dist/components/message-card/index.js +1 -1
  296. package/dist/components/message-tray/index.js +1 -1
  297. package/dist/components/multi-select/index.js +1 -1
  298. package/dist/components/muscle-scheme/index.js +1 -1
  299. package/dist/components/nav-grid/index.js +1 -1
  300. package/dist/components/note-timeline/index.js +1 -1
  301. package/dist/components/notes-panel/index.js +1 -1
  302. package/dist/components/notification-card/index.js +1 -1
  303. package/dist/components/notification-tray/index.js +1 -1
  304. package/dist/components/number-input/index.js +1 -1
  305. package/dist/components/optical-prescription/index.js +1 -1
  306. package/dist/components/otp-input/index.js +1 -1
  307. package/dist/components/panel-subview/index.js +1 -1
  308. package/dist/components/password-input/index.js +3 -2
  309. package/dist/components/password-input/password-input.d.ts +6 -3
  310. package/dist/components/password-input/use-password-requirements.d.ts +9 -0
  311. package/dist/components/patient-details/index.js +1 -1
  312. package/dist/components/patient-search/index.js +1 -1
  313. package/dist/components/patient-summary-card/index.js +1 -1
  314. package/dist/components/patient-table/index.js +1 -1
  315. package/dist/components/payment-card/index.js +1 -1
  316. package/dist/components/payment-form/index.js +1 -1
  317. package/dist/components/payment-form/payment-form.d.ts +8 -0
  318. package/dist/components/pdf-viewer/index.js +1 -1
  319. package/dist/components/periodontal-chart/index.js +1 -1
  320. package/dist/components/periodontal-chart-card/index.js +1 -1
  321. package/dist/components/periodontal-diagnosis/index.js +1 -1
  322. package/dist/components/permission-matrix/index.js +1 -1
  323. package/dist/components/phone-input/index.js +1 -1
  324. package/dist/components/phone-input/phone-input.d.ts +13 -0
  325. package/dist/components/popover/index.js +1 -1
  326. package/dist/components/postal-code-input/index.js +1 -1
  327. package/dist/components/postal-code-input/postal-code-input.d.ts +3 -2
  328. package/dist/components/practice-results/index.js +1 -1
  329. package/dist/components/pregnancy-dating/index.js +1 -1
  330. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  331. package/dist/components/privacy-lock/index.js +1 -1
  332. package/dist/components/product-hub-tray/index.js +1 -1
  333. package/dist/components/province-select/index.js +1 -1
  334. package/dist/components/province-select/province-select.d.ts +3 -2
  335. package/dist/components/public-footer/index.js +6 -5
  336. package/dist/components/public-footer/public-footer.d.ts +8 -0
  337. package/dist/components/public-header/index.js +1 -1
  338. package/dist/components/qr-code/index.js +1 -1
  339. package/dist/components/radio/index.js +1 -1
  340. package/dist/components/radio-group/index.js +2 -2
  341. package/dist/components/radiograph-panel/index.js +1 -1
  342. package/dist/components/recaptcha-widget/index.js +1 -1
  343. package/dist/components/recaptcha-widget/recaptcha-widget.d.ts +13 -1
  344. package/dist/components/reviews-panel/index.js +1 -1
  345. package/dist/components/rich-text-editor/index.js +2 -2
  346. package/dist/components/search-bar/index.js +1 -1
  347. package/dist/components/search-input/index.js +1 -1
  348. package/dist/components/select/index.js +1 -1
  349. package/dist/components/select/select.d.ts +6 -2
  350. package/dist/components/sheet/index.js +1 -1
  351. package/dist/components/sign-document/index.js +1 -1
  352. package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
  353. package/dist/components/signature-field/index.js +1 -1
  354. package/dist/components/skeleton-scheme/index.js +1 -1
  355. package/dist/components/slider/index.js +1 -1
  356. package/dist/components/slot-grid/index.js +1 -1
  357. package/dist/components/social-sign-in-button/index.js +1 -1
  358. package/dist/components/sparkline/index.js +1 -1
  359. package/dist/components/spinner/index.js +1 -1
  360. package/dist/components/spinner/spinner.d.ts +1 -1
  361. package/dist/components/streaming-text/index.js +1 -1
  362. package/dist/components/switch/index.js +1 -1
  363. package/dist/components/tabs/index.js +1 -1
  364. package/dist/components/task-card/index.js +1 -1
  365. package/dist/components/task-editor/index.js +1 -1
  366. package/dist/components/task-tray/index.js +1 -1
  367. package/dist/components/tasks-panel/index.js +1 -1
  368. package/dist/components/text-area/index.js +1 -1
  369. package/dist/components/text-input/index.js +1 -1
  370. package/dist/components/theme-toggle/index.js +1 -1
  371. package/dist/components/time-picker/index.js +1 -1
  372. package/dist/components/toast/index.js +1 -1
  373. package/dist/components/tool-rail/index.js +1 -1
  374. package/dist/components/tooth-scheme/index.js +1 -1
  375. package/dist/components/transcript-panel/index.js +1 -1
  376. package/dist/components/unit-converter/index.js +1 -1
  377. package/dist/components/wallet-pay-button/index.js +1 -1
  378. package/dist/components/warning-stack/index.js +1 -1
  379. package/dist/components/widget-picker/index.js +1 -1
  380. package/dist/components/workflow/index.js +1 -1
  381. package/dist/error-pages/400.ar.html +41 -0
  382. package/dist/error-pages/400.de.html +41 -0
  383. package/dist/error-pages/400.el.html +41 -0
  384. package/dist/error-pages/400.en.html +41 -0
  385. package/dist/error-pages/400.es.html +41 -0
  386. package/dist/error-pages/400.fr.html +41 -0
  387. package/dist/error-pages/400.hi.html +41 -0
  388. package/dist/error-pages/400.html +41 -0
  389. package/dist/error-pages/400.it.html +41 -0
  390. package/dist/error-pages/400.ja.html +41 -0
  391. package/dist/error-pages/400.nl.html +41 -0
  392. package/dist/error-pages/400.pl.html +41 -0
  393. package/dist/error-pages/400.pt.html +41 -0
  394. package/dist/error-pages/400.ro.html +41 -0
  395. package/dist/error-pages/400.ru.html +41 -0
  396. package/dist/error-pages/400.sq.html +41 -0
  397. package/dist/error-pages/400.sv.html +41 -0
  398. package/dist/error-pages/400.tr.html +41 -0
  399. package/dist/error-pages/400.zh.html +41 -0
  400. package/dist/error-pages/401.ar.html +41 -0
  401. package/dist/error-pages/401.de.html +41 -0
  402. package/dist/error-pages/401.el.html +41 -0
  403. package/dist/error-pages/401.en.html +41 -0
  404. package/dist/error-pages/401.es.html +41 -0
  405. package/dist/error-pages/401.fr.html +41 -0
  406. package/dist/error-pages/401.hi.html +41 -0
  407. package/dist/error-pages/401.html +41 -0
  408. package/dist/error-pages/401.it.html +41 -0
  409. package/dist/error-pages/401.ja.html +41 -0
  410. package/dist/error-pages/401.nl.html +41 -0
  411. package/dist/error-pages/401.pl.html +41 -0
  412. package/dist/error-pages/401.pt.html +41 -0
  413. package/dist/error-pages/401.ro.html +41 -0
  414. package/dist/error-pages/401.ru.html +41 -0
  415. package/dist/error-pages/401.sq.html +41 -0
  416. package/dist/error-pages/401.sv.html +41 -0
  417. package/dist/error-pages/401.tr.html +41 -0
  418. package/dist/error-pages/401.zh.html +41 -0
  419. package/dist/error-pages/403.ar.html +41 -0
  420. package/dist/error-pages/403.de.html +41 -0
  421. package/dist/error-pages/403.el.html +41 -0
  422. package/dist/error-pages/403.en.html +41 -0
  423. package/dist/error-pages/403.es.html +41 -0
  424. package/dist/error-pages/403.fr.html +41 -0
  425. package/dist/error-pages/403.hi.html +41 -0
  426. package/dist/error-pages/403.html +41 -0
  427. package/dist/error-pages/403.it.html +41 -0
  428. package/dist/error-pages/403.ja.html +41 -0
  429. package/dist/error-pages/403.nl.html +41 -0
  430. package/dist/error-pages/403.pl.html +41 -0
  431. package/dist/error-pages/403.pt.html +41 -0
  432. package/dist/error-pages/403.ro.html +41 -0
  433. package/dist/error-pages/403.ru.html +41 -0
  434. package/dist/error-pages/403.sq.html +41 -0
  435. package/dist/error-pages/403.sv.html +41 -0
  436. package/dist/error-pages/403.tr.html +41 -0
  437. package/dist/error-pages/403.zh.html +41 -0
  438. package/dist/error-pages/404.ar.html +41 -0
  439. package/dist/error-pages/404.de.html +41 -0
  440. package/dist/error-pages/404.el.html +41 -0
  441. package/dist/error-pages/404.en.html +41 -0
  442. package/dist/error-pages/404.es.html +41 -0
  443. package/dist/error-pages/404.fr.html +41 -0
  444. package/dist/error-pages/404.hi.html +41 -0
  445. package/dist/error-pages/404.html +41 -0
  446. package/dist/error-pages/404.it.html +41 -0
  447. package/dist/error-pages/404.ja.html +41 -0
  448. package/dist/error-pages/404.nl.html +41 -0
  449. package/dist/error-pages/404.pl.html +41 -0
  450. package/dist/error-pages/404.pt.html +41 -0
  451. package/dist/error-pages/404.ro.html +41 -0
  452. package/dist/error-pages/404.ru.html +41 -0
  453. package/dist/error-pages/404.sq.html +41 -0
  454. package/dist/error-pages/404.sv.html +41 -0
  455. package/dist/error-pages/404.tr.html +41 -0
  456. package/dist/error-pages/404.zh.html +41 -0
  457. package/dist/error-pages/405.ar.html +41 -0
  458. package/dist/error-pages/405.de.html +41 -0
  459. package/dist/error-pages/405.el.html +41 -0
  460. package/dist/error-pages/405.en.html +41 -0
  461. package/dist/error-pages/405.es.html +41 -0
  462. package/dist/error-pages/405.fr.html +41 -0
  463. package/dist/error-pages/405.hi.html +41 -0
  464. package/dist/error-pages/405.html +41 -0
  465. package/dist/error-pages/405.it.html +41 -0
  466. package/dist/error-pages/405.ja.html +41 -0
  467. package/dist/error-pages/405.nl.html +41 -0
  468. package/dist/error-pages/405.pl.html +41 -0
  469. package/dist/error-pages/405.pt.html +41 -0
  470. package/dist/error-pages/405.ro.html +41 -0
  471. package/dist/error-pages/405.ru.html +41 -0
  472. package/dist/error-pages/405.sq.html +41 -0
  473. package/dist/error-pages/405.sv.html +41 -0
  474. package/dist/error-pages/405.tr.html +41 -0
  475. package/dist/error-pages/405.zh.html +41 -0
  476. package/dist/error-pages/410.ar.html +41 -0
  477. package/dist/error-pages/410.de.html +41 -0
  478. package/dist/error-pages/410.el.html +41 -0
  479. package/dist/error-pages/410.en.html +41 -0
  480. package/dist/error-pages/410.es.html +41 -0
  481. package/dist/error-pages/410.fr.html +41 -0
  482. package/dist/error-pages/410.hi.html +41 -0
  483. package/dist/error-pages/410.html +41 -0
  484. package/dist/error-pages/410.it.html +41 -0
  485. package/dist/error-pages/410.ja.html +41 -0
  486. package/dist/error-pages/410.nl.html +41 -0
  487. package/dist/error-pages/410.pl.html +41 -0
  488. package/dist/error-pages/410.pt.html +41 -0
  489. package/dist/error-pages/410.ro.html +41 -0
  490. package/dist/error-pages/410.ru.html +41 -0
  491. package/dist/error-pages/410.sq.html +41 -0
  492. package/dist/error-pages/410.sv.html +41 -0
  493. package/dist/error-pages/410.tr.html +41 -0
  494. package/dist/error-pages/410.zh.html +41 -0
  495. package/dist/error-pages/419.ar.html +42 -0
  496. package/dist/error-pages/419.de.html +42 -0
  497. package/dist/error-pages/419.el.html +42 -0
  498. package/dist/error-pages/419.en.html +42 -0
  499. package/dist/error-pages/419.es.html +42 -0
  500. package/dist/error-pages/419.fr.html +42 -0
  501. package/dist/error-pages/419.hi.html +42 -0
  502. package/dist/error-pages/419.html +42 -0
  503. package/dist/error-pages/419.it.html +42 -0
  504. package/dist/error-pages/419.ja.html +42 -0
  505. package/dist/error-pages/419.nl.html +42 -0
  506. package/dist/error-pages/419.pl.html +42 -0
  507. package/dist/error-pages/419.pt.html +42 -0
  508. package/dist/error-pages/419.ro.html +42 -0
  509. package/dist/error-pages/419.ru.html +42 -0
  510. package/dist/error-pages/419.sq.html +42 -0
  511. package/dist/error-pages/419.sv.html +42 -0
  512. package/dist/error-pages/419.tr.html +42 -0
  513. package/dist/error-pages/419.zh.html +42 -0
  514. package/dist/error-pages/429.ar.html +42 -0
  515. package/dist/error-pages/429.de.html +42 -0
  516. package/dist/error-pages/429.el.html +42 -0
  517. package/dist/error-pages/429.en.html +42 -0
  518. package/dist/error-pages/429.es.html +42 -0
  519. package/dist/error-pages/429.fr.html +42 -0
  520. package/dist/error-pages/429.hi.html +42 -0
  521. package/dist/error-pages/429.html +42 -0
  522. package/dist/error-pages/429.it.html +42 -0
  523. package/dist/error-pages/429.ja.html +42 -0
  524. package/dist/error-pages/429.nl.html +42 -0
  525. package/dist/error-pages/429.pl.html +42 -0
  526. package/dist/error-pages/429.pt.html +42 -0
  527. package/dist/error-pages/429.ro.html +42 -0
  528. package/dist/error-pages/429.ru.html +42 -0
  529. package/dist/error-pages/429.sq.html +42 -0
  530. package/dist/error-pages/429.sv.html +42 -0
  531. package/dist/error-pages/429.tr.html +42 -0
  532. package/dist/error-pages/429.zh.html +42 -0
  533. package/dist/error-pages/500.ar.html +41 -0
  534. package/dist/error-pages/500.de.html +41 -0
  535. package/dist/error-pages/500.el.html +41 -0
  536. package/dist/error-pages/500.en.html +41 -0
  537. package/dist/error-pages/500.es.html +41 -0
  538. package/dist/error-pages/500.fr.html +41 -0
  539. package/dist/error-pages/500.hi.html +41 -0
  540. package/dist/error-pages/500.html +41 -0
  541. package/dist/error-pages/500.it.html +41 -0
  542. package/dist/error-pages/500.ja.html +41 -0
  543. package/dist/error-pages/500.nl.html +41 -0
  544. package/dist/error-pages/500.pl.html +41 -0
  545. package/dist/error-pages/500.pt.html +41 -0
  546. package/dist/error-pages/500.ro.html +41 -0
  547. package/dist/error-pages/500.ru.html +41 -0
  548. package/dist/error-pages/500.sq.html +41 -0
  549. package/dist/error-pages/500.sv.html +41 -0
  550. package/dist/error-pages/500.tr.html +41 -0
  551. package/dist/error-pages/500.zh.html +41 -0
  552. package/dist/error-pages/502.ar.html +41 -0
  553. package/dist/error-pages/502.de.html +41 -0
  554. package/dist/error-pages/502.el.html +41 -0
  555. package/dist/error-pages/502.en.html +41 -0
  556. package/dist/error-pages/502.es.html +41 -0
  557. package/dist/error-pages/502.fr.html +41 -0
  558. package/dist/error-pages/502.hi.html +41 -0
  559. package/dist/error-pages/502.html +41 -0
  560. package/dist/error-pages/502.it.html +41 -0
  561. package/dist/error-pages/502.ja.html +41 -0
  562. package/dist/error-pages/502.nl.html +41 -0
  563. package/dist/error-pages/502.pl.html +41 -0
  564. package/dist/error-pages/502.pt.html +41 -0
  565. package/dist/error-pages/502.ro.html +41 -0
  566. package/dist/error-pages/502.ru.html +41 -0
  567. package/dist/error-pages/502.sq.html +41 -0
  568. package/dist/error-pages/502.sv.html +41 -0
  569. package/dist/error-pages/502.tr.html +41 -0
  570. package/dist/error-pages/502.zh.html +41 -0
  571. package/dist/error-pages/503.ar.html +41 -0
  572. package/dist/error-pages/503.de.html +41 -0
  573. package/dist/error-pages/503.el.html +41 -0
  574. package/dist/error-pages/503.en.html +41 -0
  575. package/dist/error-pages/503.es.html +41 -0
  576. package/dist/error-pages/503.fr.html +41 -0
  577. package/dist/error-pages/503.hi.html +41 -0
  578. package/dist/error-pages/503.html +41 -0
  579. package/dist/error-pages/503.it.html +41 -0
  580. package/dist/error-pages/503.ja.html +41 -0
  581. package/dist/error-pages/503.nl.html +41 -0
  582. package/dist/error-pages/503.pl.html +41 -0
  583. package/dist/error-pages/503.pt.html +41 -0
  584. package/dist/error-pages/503.ro.html +41 -0
  585. package/dist/error-pages/503.ru.html +41 -0
  586. package/dist/error-pages/503.sq.html +41 -0
  587. package/dist/error-pages/503.sv.html +41 -0
  588. package/dist/error-pages/503.tr.html +41 -0
  589. package/dist/error-pages/503.zh.html +41 -0
  590. package/dist/error-pages/504.ar.html +41 -0
  591. package/dist/error-pages/504.de.html +41 -0
  592. package/dist/error-pages/504.el.html +41 -0
  593. package/dist/error-pages/504.en.html +41 -0
  594. package/dist/error-pages/504.es.html +41 -0
  595. package/dist/error-pages/504.fr.html +41 -0
  596. package/dist/error-pages/504.hi.html +41 -0
  597. package/dist/error-pages/504.html +41 -0
  598. package/dist/error-pages/504.it.html +41 -0
  599. package/dist/error-pages/504.ja.html +41 -0
  600. package/dist/error-pages/504.nl.html +41 -0
  601. package/dist/error-pages/504.pl.html +41 -0
  602. package/dist/error-pages/504.pt.html +41 -0
  603. package/dist/error-pages/504.ro.html +41 -0
  604. package/dist/error-pages/504.ru.html +41 -0
  605. package/dist/error-pages/504.sq.html +41 -0
  606. package/dist/error-pages/504.sv.html +41 -0
  607. package/dist/error-pages/504.tr.html +41 -0
  608. package/dist/error-pages/504.zh.html +41 -0
  609. package/dist/error-pages/maintenance.ar.html +41 -0
  610. package/dist/error-pages/maintenance.de.html +41 -0
  611. package/dist/error-pages/maintenance.el.html +41 -0
  612. package/dist/error-pages/maintenance.en.html +41 -0
  613. package/dist/error-pages/maintenance.es.html +41 -0
  614. package/dist/error-pages/maintenance.fr.html +41 -0
  615. package/dist/error-pages/maintenance.hi.html +41 -0
  616. package/dist/error-pages/maintenance.html +41 -0
  617. package/dist/error-pages/maintenance.it.html +41 -0
  618. package/dist/error-pages/maintenance.ja.html +41 -0
  619. package/dist/error-pages/maintenance.nl.html +41 -0
  620. package/dist/error-pages/maintenance.pl.html +41 -0
  621. package/dist/error-pages/maintenance.pt.html +41 -0
  622. package/dist/error-pages/maintenance.ro.html +41 -0
  623. package/dist/error-pages/maintenance.ru.html +41 -0
  624. package/dist/error-pages/maintenance.sq.html +41 -0
  625. package/dist/error-pages/maintenance.sv.html +41 -0
  626. package/dist/error-pages/maintenance.tr.html +41 -0
  627. package/dist/error-pages/maintenance.zh.html +41 -0
  628. package/dist/hooks/index.d.ts +2 -0
  629. package/dist/hooks/index.js +89 -79
  630. package/dist/hooks/use-field-match.d.ts +71 -0
  631. package/dist/hooks/use-prism.d.ts +85 -0
  632. package/dist/host-compat.css +16 -1
  633. package/dist/i18n/locales/ar.d.ts +121 -0
  634. package/dist/i18n/locales/ar.js +121 -0
  635. package/dist/i18n/locales/de.d.ts +121 -0
  636. package/dist/i18n/locales/de.js +121 -0
  637. package/dist/i18n/locales/el.d.ts +121 -0
  638. package/dist/i18n/locales/el.js +121 -0
  639. package/dist/i18n/locales/en.d.ts +121 -0
  640. package/dist/i18n/locales/en.js +121 -0
  641. package/dist/i18n/locales/es.d.ts +121 -0
  642. package/dist/i18n/locales/es.js +121 -0
  643. package/dist/i18n/locales/fr.d.ts +121 -0
  644. package/dist/i18n/locales/fr.js +121 -0
  645. package/dist/i18n/locales/hi.d.ts +121 -0
  646. package/dist/i18n/locales/hi.js +121 -0
  647. package/dist/i18n/locales/it.d.ts +121 -0
  648. package/dist/i18n/locales/it.js +121 -0
  649. package/dist/i18n/locales/ja.d.ts +121 -0
  650. package/dist/i18n/locales/ja.js +121 -0
  651. package/dist/i18n/locales/nl.d.ts +121 -0
  652. package/dist/i18n/locales/nl.js +121 -0
  653. package/dist/i18n/locales/pl.d.ts +121 -0
  654. package/dist/i18n/locales/pl.js +121 -0
  655. package/dist/i18n/locales/pt.d.ts +121 -0
  656. package/dist/i18n/locales/pt.js +121 -0
  657. package/dist/i18n/locales/ro.d.ts +121 -0
  658. package/dist/i18n/locales/ro.js +121 -0
  659. package/dist/i18n/locales/ru.d.ts +121 -0
  660. package/dist/i18n/locales/ru.js +121 -0
  661. package/dist/i18n/locales/sq.d.ts +121 -0
  662. package/dist/i18n/locales/sq.js +121 -0
  663. package/dist/i18n/locales/sv.d.ts +121 -0
  664. package/dist/i18n/locales/sv.js +121 -0
  665. package/dist/i18n/locales/tr.d.ts +121 -0
  666. package/dist/i18n/locales/tr.js +121 -0
  667. package/dist/i18n/locales/zh.d.ts +121 -0
  668. package/dist/i18n/locales/zh.js +121 -0
  669. package/dist/index.js +1170 -1139
  670. package/dist/locales/ar.json +121 -0
  671. package/dist/locales/de.json +121 -0
  672. package/dist/locales/el.json +121 -0
  673. package/dist/locales/en.json +121 -0
  674. package/dist/locales/es.json +121 -0
  675. package/dist/locales/fr.json +121 -0
  676. package/dist/locales/hi.json +121 -0
  677. package/dist/locales/it.json +121 -0
  678. package/dist/locales/ja.json +121 -0
  679. package/dist/locales/nl.json +121 -0
  680. package/dist/locales/pl.json +121 -0
  681. package/dist/locales/pt.json +121 -0
  682. package/dist/locales/ro.json +121 -0
  683. package/dist/locales/ru.json +121 -0
  684. package/dist/locales/sq.json +121 -0
  685. package/dist/locales/sv.json +121 -0
  686. package/dist/locales/tr.json +121 -0
  687. package/dist/locales/zh.json +121 -0
  688. package/dist/patterns/_shared/auth-form-parts.d.ts +55 -0
  689. package/dist/patterns/_shared/brand-mark.d.ts +15 -0
  690. package/dist/patterns/_shared/mark-pieces.d.ts +15 -0
  691. package/dist/patterns/alia-assistant/index.js +1 -1
  692. package/dist/patterns/anamnesis/index.js +1 -1
  693. package/dist/patterns/calendar/index.js +1 -1
  694. package/dist/patterns/error-page/error-page-illustration.d.ts +6 -0
  695. package/dist/patterns/error-page/error-page-locale.d.ts +32 -0
  696. package/dist/patterns/error-page/error-page-statuses.d.ts +16 -0
  697. package/dist/patterns/error-page/error-page.d.ts +48 -0
  698. package/dist/patterns/error-page/index.d.ts +5 -0
  699. package/dist/patterns/error-page/index.js +9 -0
  700. package/dist/patterns/forgot-password-form/forgot-password-form.d.ts +105 -0
  701. package/dist/patterns/forgot-password-form/index.d.ts +3 -0
  702. package/dist/patterns/forgot-password-form/index.js +6 -0
  703. package/dist/patterns/help-me-write-templates/index.js +1 -1
  704. package/dist/patterns/login-form/index.d.ts +5 -0
  705. package/dist/patterns/login-form/index.js +7 -0
  706. package/dist/patterns/login-form/login-dev-card.d.ts +27 -0
  707. package/dist/patterns/login-form/login-form.d.ts +120 -0
  708. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  709. package/dist/patterns/registration-form/index.d.ts +3 -0
  710. package/dist/patterns/registration-form/index.js +6 -0
  711. package/dist/patterns/registration-form/registration-form.d.ts +217 -0
  712. package/dist/patterns/registration-form/use-registration-submit.d.ts +59 -0
  713. package/dist/patterns/signature-request/index.js +1 -1
  714. package/dist/patterns/signed-out-frame/index.d.ts +5 -0
  715. package/dist/patterns/signed-out-frame/index.js +6 -0
  716. package/dist/patterns/signed-out-frame/signed-out-frame.d.ts +27 -0
  717. package/dist/patterns/signed-out-frame/signed-out-header.d.ts +23 -0
  718. package/dist/tokens.css +1 -1
  719. package/package.json +29 -2
  720. package/dist/_chunks/address-fields-UiEXHxEX.js +0 -246
  721. package/dist/_chunks/apexcharts-theme-B_AxGC_h.js +0 -72
  722. package/dist/_chunks/booking-DP543-BT.js +0 -3474
  723. package/dist/_chunks/combobox-Iel8y3u6.js +0 -578
  724. package/dist/_chunks/form-field-YUJl_U5l.js +0 -131
  725. package/dist/_chunks/form-field-context-B3APVHKx.js +0 -21
  726. package/dist/_chunks/recaptcha-widget-BNAeSTCo.js +0 -228
  727. package/dist/_chunks/spinner-DxjSZLD-.js +0 -220
  728. package/dist/_chunks/use-password-requirements-DK4hV1Ik.js +0 -453
@@ -1,17 +1,17 @@
1
- import { jsx as n, jsxs as v, Fragment as De } from "react/jsx-runtime";
2
- import { forwardRef as Te, useMemo as pe, useState as _, useEffect as V, useRef as b, useImperativeHandle as Me, useId as Ve, useCallback as me } from "react";
3
- import { c as re } from "./index-D2ZczOXr.js";
4
- import { useTranslation as he } from "react-i18next";
5
- import { S as Pe } from "./spinner-DxjSZLD-.js";
6
- import { A as xe } from "./alert-BhCstf2h.js";
7
- import { loadStripe as Ae } from "@stripe/stripe-js/pure";
8
- import { Elements as $e, useStripe as je, useElements as Ue, AddressElement as Ee, PaymentElement as qe } from "@stripe/react-stripe-js";
9
- import { u as Ge } from "./registry-DvAUVLHh.js";
10
- function Fe() {
1
+ import { jsx as n, jsxs as h, Fragment as Me } from "react/jsx-runtime";
2
+ import { forwardRef as Ve, useMemo as ye, useState as k, useEffect as K, useRef as g, useImperativeHandle as je, useId as Ue, useCallback as fe } from "react";
3
+ import { c as ne } from "./index-D2ZczOXr.js";
4
+ import { useTranslation as Ie } from "react-i18next";
5
+ import { S as Le } from "./spinner-a0FTYX9Q.js";
6
+ import { A as Ne } from "./alert-BhCstf2h.js";
7
+ import { loadStripe as Pe } from "@stripe/stripe-js/pure";
8
+ import { Elements as qe, useStripe as Ge, useElements as He, AddressElement as Fe, PaymentElement as We } from "@stripe/react-stripe-js";
9
+ import { u as Oe } from "./registry-DvAUVLHh.js";
10
+ function ze() {
11
11
  return typeof document < "u" && typeof window < "u";
12
12
  }
13
- function be(r) {
14
- if (!Fe())
13
+ function he(r) {
14
+ if (!ze())
15
15
  return { theme: "stripe" };
16
16
  const s = r ?? document.documentElement, o = getComputedStyle(s), e = (a) => o.getPropertyValue(a).trim();
17
17
  return {
@@ -91,20 +91,20 @@ function be(r) {
91
91
  }
92
92
  };
93
93
  }
94
- function He(r, s) {
95
- if (!Fe()) return () => {
94
+ function Xe(r, s) {
95
+ if (!ze()) return () => {
96
96
  };
97
- const o = document.documentElement, e = () => r(be(s)), u = new MutationObserver(e);
98
- u.observe(o, {
97
+ const o = document.documentElement, e = () => r(he(s)), m = new MutationObserver(e);
98
+ m.observe(o, {
99
99
  attributes: !0,
100
100
  attributeFilter: ["class", "dir", "lang"]
101
101
  });
102
102
  const a = window.matchMedia("(prefers-color-scheme: dark)"), d = window.matchMedia("(prefers-reduced-motion: reduce)");
103
103
  return a.addEventListener("change", e), d.addEventListener("change", e), () => {
104
- u.disconnect(), a.removeEventListener("change", e), d.removeEventListener("change", e);
104
+ m.disconnect(), a.removeEventListener("change", e), d.removeEventListener("change", e);
105
105
  };
106
106
  }
107
- const We = {
107
+ const Ze = {
108
108
  id: "payment-form",
109
109
  capabilities: ["submit"],
110
110
  // The kit's only destructive + openWorld action that moves real money,
@@ -178,7 +178,7 @@ const We = {
178
178
  description: "Sourced from the id prop."
179
179
  }
180
180
  }
181
- }, Oe = /* @__PURE__ */ new Set([
181
+ }, Je = /* @__PURE__ */ new Set([
182
182
  "BIF",
183
183
  "CLP",
184
184
  "DJF",
@@ -197,21 +197,21 @@ const We = {
197
197
  "XOF",
198
198
  "XPF"
199
199
  ]);
200
- function ve(r, s, o) {
201
- const e = s.toUpperCase(), u = Oe.has(e) ? r : r / 100;
200
+ function we(r, s, o) {
201
+ const e = s.toUpperCase(), m = Je.has(e) ? r : r / 100;
202
202
  try {
203
203
  return new Intl.NumberFormat(o, {
204
204
  style: "currency",
205
205
  currency: e
206
- }).format(u);
206
+ }).format(m);
207
207
  } catch {
208
208
  return new Intl.NumberFormat("en", {
209
209
  style: "currency",
210
210
  currency: e
211
- }).format(u);
211
+ }).format(m);
212
212
  }
213
213
  }
214
- function Xe(r) {
214
+ function Ye(r) {
215
215
  if (r === void 0) return null;
216
216
  const s = r.trim();
217
217
  if (s === "" || typeof window > "u") return null;
@@ -222,10 +222,10 @@ function Xe(r) {
222
222
  return null;
223
223
  }
224
224
  }
225
- function Ze(r) {
225
+ function Qe(r) {
226
226
  return r && r.replace(/\d{4,}/g, "****");
227
227
  }
228
- function Je(r) {
228
+ function er(r) {
229
229
  switch (r) {
230
230
  case "incorrect_number":
231
231
  case "invalid_number":
@@ -257,7 +257,7 @@ function Je(r) {
257
257
  return "payment.error.generic";
258
258
  }
259
259
  }
260
- const Ye = re(
260
+ const rr = ne(
261
261
  [
262
262
  "ds:payment-form-alfadocs ds:flex ds:flex-col",
263
263
  "ds:gap-[var(--spacing-md)]",
@@ -267,11 +267,11 @@ const Ye = re(
267
267
  "ds:text-[var(--foreground)]",
268
268
  "ds:aria-disabled:opacity-[var(--opacity-50)] ds:aria-disabled:cursor-not-allowed"
269
269
  ].join(" ")
270
- ), fe = re(
270
+ ), ge = ne(
271
271
  ["ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]"].join(" ")
272
- ), G = re(
272
+ ), H = ne(
273
273
  ["type-label", "ds:text-[var(--foreground)]"].join(" ")
274
- ), Ke = re(
274
+ ), Be = ne(
275
275
  [
276
276
  "ds:flex ds:items-baseline ds:justify-between",
277
277
  "ds:gap-[var(--spacing-sm)]",
@@ -281,7 +281,7 @@ const Ye = re(
281
281
  "ds:rounded-[var(--radius-sm)]",
282
282
  "ds:text-[var(--foreground)]"
283
283
  ].join(" ")
284
- ), Le = re(
284
+ ), Re = ne(
285
285
  [
286
286
  "ds:inline-flex ds:items-center ds:justify-center ds:gap-[var(--spacing-xs)]",
287
287
  "ds:[min-block-size:var(--min-target-size)]",
@@ -301,25 +301,26 @@ const Ye = re(
301
301
  "ds:aria-busy:cursor-wait"
302
302
  ].join(" ")
303
303
  );
304
- function Qe(r) {
304
+ function tr(r) {
305
305
  const {
306
306
  amount: s,
307
307
  currency: o,
308
308
  locale: e,
309
- billingAddress: u,
309
+ billingAddress: m,
310
310
  requireBillingAddress: a,
311
311
  defaultBillingDetails: d,
312
- onBillingDetails: $,
313
- returnUrl: h,
314
- clientSecret: p,
315
- onCreatePaymentIntent: P,
316
- onPreviewValidated: H,
317
- onSuccess: W,
318
- onPaymentStatusChange: O,
319
- onError: X,
320
- layout: ye,
312
+ billingDetails: L,
313
+ onBillingDetails: w,
314
+ returnUrl: I,
315
+ clientSecret: z,
316
+ onCreatePaymentIntent: B,
317
+ onPreviewValidated: W,
318
+ onSuccess: O,
319
+ onPaymentStatusChange: X,
320
+ onError: Z,
321
+ layout: se,
321
322
  agentBridge: i
322
- } = r, { t: c } = he("ui"), j = je(), C = Ue(), [U] = _(
323
+ } = r, { t: l } = Ie("ui"), U = Ge(), x = He(), [q] = k(
323
324
  () => d ? {
324
325
  name: d.name,
325
326
  address: {
@@ -331,274 +332,303 @@ function Qe(r) {
331
332
  country: d.address.country
332
333
  }
333
334
  } : void 0
334
- ), te = Ve(), k = pe(
335
- () => `pay-${te.replace(/[^a-zA-Z0-9-_]/g, "")}`,
336
- [te]
337
- ), ne = `${k}-payment`, se = `${k}-address`, x = `${k}-error`, [F, K] = _(!1), [L, ae] = _(!1), z = b(!1), l = b(!0), [A, ie] = _(!1), [w, E] = _(!1), Z = b(0), [J, f] = _(null), [N, I] = _("");
338
- V(() => {
339
- i.current.complete = A && (!a || w);
340
- }, [i, A, a, w]);
341
- const y = me(
335
+ ), ae = Ue(), A = ye(
336
+ () => `pay-${ae.replace(/[^a-zA-Z0-9-_]/g, "")}`,
337
+ [ae]
338
+ ), ie = `${A}-payment`, oe = `${A}-address`, E = `${A}-error`, [_, R] = k(!1), [de, D] = k(!1), N = g(!1), c = g(!0), [T, J] = k(!1), [P, Y] = k(!1), b = g(0), [Q, be] = k(null), [y, u] = k("");
339
+ K(() => {
340
+ i.current.complete = T && (!a || P);
341
+ }, [i, T, a, P]);
342
+ const p = fe(
342
343
  (t) => {
343
344
  i.current.status = t;
344
345
  },
345
346
  [i]
346
- ), R = me(
347
+ ), S = fe(
347
348
  (t) => {
348
- i.current.errorKey = t, f(t);
349
+ i.current.errorKey = t, be(t);
349
350
  },
350
351
  [i]
351
- ), ze = me(
352
+ ), De = fe(
352
353
  (t) => {
353
- i.current.complete = t && (!a || w), ie(t);
354
+ i.current.complete = t && (!a || P), J(t);
354
355
  },
355
- [i, a, w]
356
- ), oe = b(W), de = b(O), B = b(X), we = b($), ce = b(H);
357
- V(() => {
358
- oe.current = W, de.current = O, B.current = X, we.current = $, ce.current = H;
356
+ [i, a, P]
357
+ ), le = g(O), ce = g(X), $ = g(Z), _e = g(L);
358
+ K(() => {
359
+ _e.current = L;
360
+ }, [L]);
361
+ const Se = g(w), ue = g(W);
362
+ K(() => {
363
+ le.current = O, ce.current = X, $.current = Z, Se.current = w, ue.current = W;
359
364
  }, [
360
- W,
361
365
  O,
362
366
  X,
363
- $,
364
- H
367
+ Z,
368
+ w,
369
+ W
365
370
  ]);
366
- const q = me(
371
+ const G = fe(
367
372
  async (t) => {
368
- var Se, _e, Ce, ke;
369
- if (t && t.preventDefault(), !j || !C || z.current || !l.current) return;
370
- z.current = !0, K(!0), y("processing"), i.current.paymentIntentId = null, R(null), I("");
371
- const m = (S, Y) => {
372
- var D;
373
- const Q = Je(S), ee = Ze(Y ?? "");
374
- R(Q), I(c(Q)), y("failed"), (D = B.current) == null || D.call(B, {
375
- code: S,
376
- translatedMessage: ee || c(Q)
373
+ var ke, xe, Ae, Ee;
374
+ if (t && t.preventDefault(), !U || !x || N.current || !c.current) return;
375
+ N.current = !0, R(!0), p("processing"), i.current.paymentIntentId = null, S(null), u("");
376
+ const f = (C, ee) => {
377
+ var M;
378
+ const re = er(C), te = Qe(ee ?? "");
379
+ S(re), u(l(re)), p("failed"), (M = $.current) == null || M.call($, {
380
+ code: C,
381
+ translatedMessage: te || l(re)
377
382
  });
378
- }, ge = Xe(h);
379
- if (h !== void 0 && ge === null) {
380
- R("payment.error.invalidReturnUrl"), I(c("payment.error.invalidReturnUrl")), y("failed"), (Se = B.current) == null || Se.call(B, {
383
+ }, ve = Ye(I);
384
+ if (I !== void 0 && ve === null) {
385
+ S("payment.error.invalidReturnUrl"), u(l("payment.error.invalidReturnUrl")), p("failed"), (ke = $.current) == null || ke.call($, {
381
386
  code: "invalid_return_url",
382
- translatedMessage: c("payment.error.invalidReturnUrl")
383
- }), K(!1), z.current = !1;
387
+ translatedMessage: l("payment.error.invalidReturnUrl")
388
+ }), R(!1), N.current = !1;
384
389
  return;
385
390
  }
386
- const Be = ge ? { return_url: ge } : {};
387
- let le = !1;
388
- const Ie = we.current;
391
+ const F = _e.current, $e = {
392
+ ...ve ? { return_url: ve } : {},
393
+ ...F ? {
394
+ payment_method_data: {
395
+ billing_details: {
396
+ name: F.name,
397
+ address: {
398
+ line1: F.address.line1,
399
+ // An empty line is sent as null, as Stripe's own address
400
+ // field reports it: null is left out of the request.
401
+ line2: F.address.line2 || null,
402
+ city: F.address.city,
403
+ state: F.address.state || null,
404
+ postal_code: F.address.postalCode,
405
+ country: F.address.country
406
+ }
407
+ }
408
+ }
409
+ } : {}
410
+ };
411
+ let me = !1;
412
+ const Ce = Se.current;
389
413
  try {
390
- let S;
391
- if (p === void 0) {
392
- const { error: T } = await C.submit();
393
- if (!l.current) return;
394
- if (T) {
395
- m(T.code ?? "generic", T.message);
414
+ let C;
415
+ if (z === void 0) {
416
+ const { error: V } = await x.submit();
417
+ if (!c.current) return;
418
+ if (V) {
419
+ f(V.code ?? "generic", V.message);
396
420
  return;
397
421
  }
398
422
  }
399
- let Y;
400
- const Q = Z.current, ee = () => a && Q !== Z.current;
423
+ let ee;
424
+ const re = b.current, te = () => a && re !== b.current;
401
425
  if (a) {
402
- const T = C.getElement(Ee), ue = await (T == null ? void 0 : T.getValue());
403
- if (!l.current) return;
404
- if (ee()) {
405
- m("billing_details_changed", void 0);
426
+ const V = x.getElement(Fe), pe = await (V == null ? void 0 : V.getValue());
427
+ if (!c.current) return;
428
+ if (te()) {
429
+ f("billing_details_changed", void 0);
406
430
  return;
407
431
  }
408
- if (!(ue != null && ue.complete)) {
409
- m("billing_address_incomplete", void 0);
432
+ if (!(pe != null && pe.complete)) {
433
+ f("billing_address_incomplete", void 0);
410
434
  return;
411
435
  }
412
- const M = ue.value;
413
- Y = {
414
- name: M.name,
436
+ const j = pe.value;
437
+ ee = {
438
+ name: j.name,
415
439
  address: {
416
- line1: M.address.line1,
417
- line2: M.address.line2,
418
- city: M.address.city,
419
- state: M.address.state,
420
- postalCode: M.address.postal_code,
421
- country: M.address.country
440
+ line1: j.address.line1,
441
+ line2: j.address.line2,
442
+ city: j.address.city,
443
+ state: j.address.state,
444
+ postalCode: j.address.postal_code,
445
+ country: j.address.country
422
446
  }
423
447
  };
424
448
  }
425
- if (p === void 0 && !P) {
426
- await ((_e = ce.current) == null ? void 0 : _e.call(ce));
449
+ if (z === void 0 && !B) {
450
+ await ((xe = ue.current) == null ? void 0 : xe.call(ue));
427
451
  return;
428
452
  }
429
- if (Y && Ie) {
453
+ if (ee && Ce) {
430
454
  try {
431
- await Ie(Y);
455
+ await Ce(ee);
432
456
  } catch {
433
- l.current && m("billing_details_save", void 0);
457
+ c.current && f("billing_details_save", void 0);
434
458
  return;
435
459
  }
436
- if (!l.current) return;
460
+ if (!c.current) return;
437
461
  }
438
- if (ee()) {
439
- m("billing_details_changed", void 0);
462
+ if (te()) {
463
+ f("billing_details_changed", void 0);
440
464
  return;
441
465
  }
442
- if (p === void 0 && P && (S = await P(), !l.current))
466
+ if (z === void 0 && B && (C = await B(), !c.current))
443
467
  return;
444
- if (ee()) {
445
- m("billing_details_changed", void 0);
468
+ if (te()) {
469
+ f("billing_details_changed", void 0);
446
470
  return;
447
471
  }
448
- const D = await j.confirmPayment({
449
- elements: C,
450
- ...S === void 0 ? {} : { clientSecret: S },
451
- confirmParams: Be,
472
+ const M = await U.confirmPayment({
473
+ elements: x,
474
+ ...C === void 0 ? {} : { clientSecret: C },
475
+ confirmParams: $e,
452
476
  redirect: "if_required"
453
477
  });
454
- if (!l.current) return;
455
- if (D.error) {
456
- m(D.error.code ?? "generic", D.error.message);
478
+ if (!c.current) return;
479
+ if (M.error) {
480
+ f(M.error.code ?? "generic", M.error.message);
457
481
  return;
458
482
  }
459
- const g = D.paymentIntent;
460
- if (le = !0, !g) return;
461
- g.status === "succeeded" ? (i.current.paymentIntentId = g.id, y("succeeded"), ae(!0), K(!1)) : (g.status === "requires_payment_method" || g.status === "canceled") && (le = !1, m(g.status, void 0));
483
+ const v = M.paymentIntent;
484
+ if (me = !0, !v) return;
485
+ v.status === "succeeded" ? (i.current.paymentIntentId = v.id, p("succeeded"), D(!0), R(!1)) : (v.status === "requires_payment_method" || v.status === "canceled") && (me = !1, f(v.status, void 0));
462
486
  try {
463
- (Ce = de.current) == null || Ce.call(de, g.status, g.id);
487
+ (Ae = ce.current) == null || Ae.call(ce, v.status, v.id);
464
488
  } catch {
465
489
  }
466
- g.status === "succeeded" && ((ke = oe.current) == null || ke.call(oe, g.id));
467
- } catch (S) {
468
- l.current && !le && m("unexpected", S instanceof Error ? S.message : "");
490
+ v.status === "succeeded" && ((Ee = le.current) == null || Ee.call(le, v.id));
491
+ } catch (C) {
492
+ c.current && !me && f("unexpected", C instanceof Error ? C.message : "");
469
493
  } finally {
470
- l.current && !le && (z.current = !1, K(!1), i.current.status === "processing" && y("idle"));
494
+ c.current && !me && (N.current = !1, R(!1), i.current.status === "processing" && p("idle"));
471
495
  }
472
496
  },
473
497
  [
474
- j,
475
- C,
476
- h,
477
- p,
478
- P,
498
+ U,
499
+ x,
500
+ I,
501
+ z,
502
+ B,
479
503
  a,
480
- c,
504
+ l,
481
505
  i,
482
- R,
483
- y
506
+ S,
507
+ p
484
508
  ]
485
509
  );
486
- V(() => {
487
- const t = document.getElementById(k);
510
+ K(() => {
511
+ const t = document.getElementById(A);
488
512
  if (!t) return;
489
- const m = () => {
490
- q();
513
+ const f = () => {
514
+ G();
491
515
  };
492
- return t.addEventListener("payment-form:submit", m), () => t.removeEventListener("payment-form:submit", m);
493
- }, [k, q]), V(() => {
516
+ return t.addEventListener("payment-form:submit", f), () => t.removeEventListener("payment-form:submit", f);
517
+ }, [A, G]), K(() => {
494
518
  const t = i.current;
495
- return t.submit = q, () => {
496
- t.submit === q && (t.submit = void 0);
519
+ return t.submit = G, () => {
520
+ t.submit === G && (t.submit = void 0);
497
521
  };
498
- }, [i, q]), V(() => {
522
+ }, [i, G]), K(() => {
499
523
  const t = i.current;
500
- return l.current = !0, t.status = "idle", t.paymentIntentId = null, t.errorKey = null, t.complete = !1, () => {
501
- l.current = !1, t.complete = !1, t.status = "idle", t.paymentIntentId = null, t.errorKey = null;
524
+ return c.current = !0, t.status = "idle", t.paymentIntentId = null, t.errorKey = null, t.complete = !1, () => {
525
+ c.current = !1, t.complete = !1, t.status = "idle", t.paymentIntentId = null, t.errorKey = null;
502
526
  };
503
527
  }, [i]);
504
- const Re = !j || !C || F || L || !(p === void 0 && !P) && (!A || a && !w);
528
+ const Te = !U || !x || _ || de || !(z === void 0 && !B) && (!T || a && !P);
505
529
  return /* @__PURE__ */ n(
506
530
  "form",
507
531
  {
508
- id: k,
509
- onSubmit: q,
532
+ id: A,
533
+ onSubmit: G,
510
534
  onReset: () => {
511
- z.current || (R(null), I(""), y("idle"), i.current.paymentIntentId = null);
535
+ N.current || (S(null), u(""), p("idle"), i.current.paymentIntentId = null);
512
536
  },
513
- "aria-label": c("payment.ariaLabel"),
514
- "aria-busy": F || void 0,
537
+ "aria-label": l("payment.ariaLabel"),
538
+ "aria-busy": _ || void 0,
515
539
  noValidate: !0,
516
- children: /* @__PURE__ */ v("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
517
- /* @__PURE__ */ v("div", { className: Ke(), children: [
518
- /* @__PURE__ */ n("span", { className: G(), children: c("payment.amountLabel") }),
519
- /* @__PURE__ */ n("span", { className: "type-title-card", "data-testid": "payment-amount", children: ve(s, o, e) })
540
+ children: /* @__PURE__ */ h("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
541
+ /* @__PURE__ */ h("div", { className: Be(), children: [
542
+ /* @__PURE__ */ n("span", { className: H(), children: l("payment.amountLabel") }),
543
+ /* @__PURE__ */ n("span", { className: "type-title-card", "data-testid": "payment-amount", children: we(s, o, e) })
520
544
  ] }),
521
- /* @__PURE__ */ v(
545
+ /* @__PURE__ */ h(
522
546
  "label",
523
547
  {
524
- htmlFor: ne,
525
- className: fe(),
548
+ htmlFor: ie,
549
+ className: ge(),
526
550
  "data-testid": "payment-field",
527
551
  children: [
528
- /* @__PURE__ */ n("span", { className: G(), children: c("payment.fields.card") }),
552
+ /* @__PURE__ */ n("span", { className: H(), children: l("payment.fields.card") }),
529
553
  /* @__PURE__ */ n(
530
- qe,
554
+ We,
531
555
  {
532
- id: ne,
556
+ id: ie,
533
557
  options: {
534
558
  // `tabs` = method tiles (Card selected by default); `accordion`
535
559
  // = full-width stacked rows for narrow columns where the tab row
536
560
  // clips. Stripe owns overflow + tab alignment either way.
537
- layout: ye === "accordion" ? { type: "accordion", defaultCollapsed: !0 } : { type: "tabs" }
561
+ layout: se === "accordion" ? { type: "accordion", defaultCollapsed: !0 } : { type: "tabs" },
562
+ // The host already holds the name and address: card fields only.
563
+ ...L ? {
564
+ fields: {
565
+ billingDetails: { name: "never", address: "never" }
566
+ }
567
+ } : {}
538
568
  },
539
569
  onChange: (t) => {
540
- ze(t.complete === !0), t.complete && (R(null), I(""), i.current.status === "failed" && y("idle"));
570
+ De(t.complete === !0), t.complete && (S(null), u(""), i.current.status === "failed" && p("idle"));
541
571
  }
542
572
  }
543
573
  )
544
574
  ]
545
575
  }
546
576
  ),
547
- u ? /* @__PURE__ */ v(
577
+ m ? /* @__PURE__ */ h(
548
578
  "label",
549
579
  {
550
- htmlFor: se,
551
- className: fe(),
580
+ htmlFor: oe,
581
+ className: ge(),
552
582
  "data-testid": "payment-address",
553
583
  children: [
554
- /* @__PURE__ */ n("span", { className: G(), children: c("payment.billingAddress") }),
584
+ /* @__PURE__ */ n("span", { className: H(), children: l("payment.billingAddress") }),
555
585
  /* @__PURE__ */ n(
556
- Ee,
586
+ Fe,
557
587
  {
558
- id: se,
588
+ id: oe,
559
589
  options: {
560
590
  mode: "billing",
561
- ...U ? { defaultValues: U } : {}
591
+ ...q ? { defaultValues: q } : {}
562
592
  },
563
593
  onChange: (t) => {
564
- Z.current += 1, E(t.complete), i.current.complete = A && (!a || t.complete), t.complete && J === "payment.error.billingAddressIncomplete" && (R(null), I(""), y("idle"));
594
+ b.current += 1, Y(t.complete), i.current.complete = T && (!a || t.complete), t.complete && Q === "payment.error.billingAddressIncomplete" && (S(null), u(""), p("idle"));
565
595
  }
566
596
  }
567
597
  )
568
598
  ]
569
599
  }
570
600
  ) : null,
571
- J ? /* @__PURE__ */ n(
572
- xe,
601
+ Q ? /* @__PURE__ */ n(
602
+ Ne,
573
603
  {
574
- id: x,
604
+ id: E,
575
605
  variant: "error",
576
606
  live: "polite",
577
607
  "data-testid": "payment-error",
578
- children: /* @__PURE__ */ n(xe.Description, { children: N })
608
+ children: /* @__PURE__ */ n(Ne.Description, { children: y })
579
609
  }
580
610
  ) : null,
581
611
  /* @__PURE__ */ n(
582
612
  "button",
583
613
  {
584
614
  type: "submit",
585
- "aria-disabled": Re || void 0,
586
- "aria-busy": F || void 0,
587
- "aria-describedby": J ? x : void 0,
588
- className: Le(),
615
+ "aria-disabled": Te || void 0,
616
+ "aria-busy": _ || void 0,
617
+ "aria-describedby": Q ? E : void 0,
618
+ className: Re(),
589
619
  "data-testid": "payment-submit",
590
- children: F ? /* @__PURE__ */ v(De, { children: [
620
+ children: _ ? /* @__PURE__ */ h(Me, { children: [
591
621
  /* @__PURE__ */ n(
592
- Pe,
622
+ Le,
593
623
  {
594
624
  variant: "pulse",
595
625
  size: "sm",
596
- label: c("payment.processing")
626
+ label: l("payment.processing")
597
627
  }
598
628
  ),
599
- /* @__PURE__ */ n("span", { children: c("payment.processing") })
600
- ] }) : /* @__PURE__ */ n("span", { children: c("payment.submit", {
601
- amount: ve(s, o, e)
629
+ /* @__PURE__ */ n("span", { children: l("payment.processing") })
630
+ ] }) : /* @__PURE__ */ n("span", { children: l("payment.submit", {
631
+ amount: we(s, o, e)
602
632
  }) })
603
633
  }
604
634
  )
@@ -606,7 +636,7 @@ function Qe(r) {
606
636
  }
607
637
  );
608
638
  }
609
- const Ne = /* @__PURE__ */ new Set([
639
+ const Ke = /* @__PURE__ */ new Set([
610
640
  "auto",
611
641
  "ar",
612
642
  "bg",
@@ -658,182 +688,184 @@ const Ne = /* @__PURE__ */ new Set([
658
688
  "zh-HK",
659
689
  "zh-TW"
660
690
  ]);
661
- function er(r) {
691
+ function nr(r) {
662
692
  if (!r) return "auto";
663
693
  const s = r === "cn" ? "zh" : r;
664
- if (Ne.has(s))
694
+ if (Ke.has(s))
665
695
  return s;
666
696
  const o = s.split("-")[0];
667
- return Ne.has(o) ? o : "auto";
697
+ return Ke.has(o) ? o : "auto";
668
698
  }
669
- const rr = Te(
699
+ const sr = Ve(
670
700
  ({
671
701
  id: r,
672
702
  clientSecret: s,
673
703
  mode: o = "payment",
674
704
  cardOnly: e = !1,
675
- onCreatePaymentIntent: u,
705
+ onCreatePaymentIntent: m,
676
706
  onPreviewValidated: a,
677
707
  publishableKey: d,
678
- stripeAccount: $,
679
- currency: h,
680
- amount: p,
681
- onSuccess: P,
682
- onPaymentStatusChange: H,
708
+ stripeAccount: L,
709
+ currency: w,
710
+ amount: I,
711
+ onSuccess: z,
712
+ onPaymentStatusChange: B,
683
713
  onError: W,
684
714
  billingAddress: O = !1,
685
715
  requireBillingAddress: X = !1,
686
- defaultBillingDetails: ye,
716
+ defaultBillingDetails: Z,
717
+ billingDetails: se,
687
718
  onBillingDetails: i,
688
- locale: c,
689
- ariaLabel: j,
690
- returnUrl: C,
691
- stripePromise: U,
692
- layout: te = "tabs",
693
- className: k
694
- }, ne) => {
695
- const { i18n: se } = he("ui"), x = er(c ?? se.language ?? "en"), F = X || i !== void 0, K = O || F, L = pe(
696
- () => ({ injectedStripe: U, publishableKey: d, stripeAccount: $ }),
697
- [U, d, $]
698
- ), [ae, z] = _(() => ({
699
- source: L,
700
- instance: U ?? null
701
- })), l = ae.source === L ? ae.instance : null;
702
- V(() => {
719
+ locale: l,
720
+ ariaLabel: U,
721
+ returnUrl: x,
722
+ stripePromise: q,
723
+ layout: ae = "tabs",
724
+ className: A
725
+ }, ie) => {
726
+ const { i18n: oe } = Ie("ui"), E = nr(l ?? oe.language ?? "en"), _ = se === void 0, R = _ && (X || i !== void 0), de = _ && (O || R), D = ye(
727
+ () => ({ injectedStripe: q, publishableKey: d, stripeAccount: L }),
728
+ [q, d, L]
729
+ ), [N, c] = k(() => ({
730
+ source: D,
731
+ instance: q ?? null
732
+ })), T = N.source === D ? N.instance : null;
733
+ K(() => {
703
734
  const {
704
- injectedStripe: f,
705
- publishableKey: N,
706
- stripeAccount: I
707
- } = L, y = f !== void 0 ? f : N ? I ? Ae(N, { stripeAccount: I }) : Ae(N) : null;
708
- z({ source: L, instance: y });
709
- }, [L]);
710
- const [A, ie] = _(
711
- () => be()
735
+ injectedStripe: y,
736
+ publishableKey: u,
737
+ stripeAccount: p
738
+ } = D, S = y !== void 0 ? y : u ? p ? Pe(u, { stripeAccount: p }) : Pe(u) : null;
739
+ c({ source: D, instance: S });
740
+ }, [D]);
741
+ const [J, P] = k(
742
+ () => he()
712
743
  );
713
- V(() => (ie(be()), He(ie)), []);
714
- const w = b(null), E = b({
744
+ K(() => (P(he()), Xe(P)), []);
745
+ const Y = g(null), b = g({
715
746
  status: "idle",
716
747
  complete: !1,
717
748
  errorKey: null,
718
749
  paymentIntentId: null
719
- }), Z = pe(
750
+ }), Q = ye(
720
751
  () => ({
721
752
  submit: async () => {
722
- const f = E.current.submit;
723
- f && await f();
753
+ const y = b.current.submit;
754
+ y && await y();
724
755
  },
725
756
  reset: () => {
726
- var N;
727
- const f = (N = w.current) == null ? void 0 : N.querySelector("form");
728
- f instanceof HTMLFormElement && f.reset();
757
+ var u;
758
+ const y = (u = Y.current) == null ? void 0 : u.querySelector("form");
759
+ y instanceof HTMLFormElement && y.reset();
729
760
  },
730
- getStatus: () => E.current.status,
731
- isComplete: () => E.current.complete,
732
- getErrorKey: () => E.current.errorKey,
733
- getPaymentIntentId: () => E.current.paymentIntentId
761
+ getStatus: () => b.current.status,
762
+ isComplete: () => b.current.complete,
763
+ getErrorKey: () => b.current.errorKey,
764
+ getPaymentIntentId: () => b.current.paymentIntentId
734
765
  }),
735
766
  []
736
767
  );
737
- Me(ne, () => w.current, []), Ge(We, Z, r);
738
- const J = pe(
768
+ je(ie, () => Y.current, []), Oe(Ze, Q, r);
769
+ const be = ye(
739
770
  () => s !== void 0 ? (
740
771
  // Immediate mode — the consumer already created the intent.
741
- { clientSecret: s, appearance: A, locale: x }
772
+ { clientSecret: s, appearance: J, locale: E }
742
773
  ) : (
743
774
  // Deferred-intent mode — no secret yet; Stripe needs the intent
744
775
  // shape (mode + amount + currency) to render the Payment Element.
745
776
  // Stripe expects a lowercase ISO-4217 currency here.
746
777
  {
747
778
  mode: o,
748
- amount: p,
749
- currency: h.toLowerCase(),
779
+ amount: I,
780
+ currency: w.toLowerCase(),
750
781
  ...e ? { paymentMethodTypes: ["card"] } : {},
751
- appearance: A,
752
- locale: x
782
+ appearance: J,
783
+ locale: E
753
784
  }
754
785
  ),
755
786
  [
756
787
  s,
757
788
  o,
758
789
  e,
759
- p,
760
- h,
761
- A,
762
- x
790
+ I,
791
+ w,
792
+ J,
793
+ E
763
794
  ]
764
795
  );
765
796
  return /* @__PURE__ */ n(
766
797
  "div",
767
798
  {
768
- ref: w,
769
- "aria-label": j,
770
- className: [Ye(), k].filter(Boolean).join(" "),
799
+ ref: Y,
800
+ "aria-label": U,
801
+ className: [rr(), A].filter(Boolean).join(" "),
771
802
  "data-component": "payment-form",
772
803
  "data-component-id": r,
773
804
  "data-testid": "payment-form-root",
774
- children: l ? (
805
+ children: T ? (
775
806
  // Render the real Payment Element whenever a Stripe instance is
776
807
  // available — in immediate mode (clientSecret present) AND in
777
808
  // deferred mode (no secret). The skeleton is reserved for the
778
809
  // no-Stripe case (missing publishableKey / injected null).
779
810
  /* @__PURE__ */ n(
780
- $e,
811
+ qe,
781
812
  {
782
- stripe: l,
783
- options: J,
813
+ stripe: T,
814
+ options: be,
784
815
  children: /* @__PURE__ */ n(
785
- Qe,
816
+ tr,
786
817
  {
787
- amount: p,
788
- currency: h,
789
- locale: x,
790
- billingAddress: K,
791
- requireBillingAddress: F,
792
- defaultBillingDetails: ye,
793
- onBillingDetails: i,
794
- returnUrl: C,
818
+ amount: I,
819
+ currency: w,
820
+ locale: E,
821
+ billingAddress: de,
822
+ requireBillingAddress: R,
823
+ defaultBillingDetails: Z,
824
+ billingDetails: se,
825
+ onBillingDetails: _ ? i : void 0,
826
+ returnUrl: x,
795
827
  clientSecret: s,
796
- onCreatePaymentIntent: u,
828
+ onCreatePaymentIntent: m,
797
829
  onPreviewValidated: a,
798
- onSuccess: P,
799
- onPaymentStatusChange: H,
830
+ onSuccess: z,
831
+ onPaymentStatusChange: B,
800
832
  onError: W,
801
- layout: te,
802
- agentBridge: E
833
+ layout: ae,
834
+ agentBridge: b
803
835
  }
804
836
  )
805
837
  },
806
- s ?? `deferred:${o}:${p}:${h}:${e}`
838
+ `${s ?? `deferred:${o}:${I}:${w}:${e}`}:${_}`
807
839
  )
808
840
  ) : /* @__PURE__ */ n(
809
- tr,
841
+ ar,
810
842
  {
811
- amount: p,
812
- currency: h,
813
- locale: x,
814
- billingAddress: K
843
+ amount: I,
844
+ currency: w,
845
+ locale: E,
846
+ billingAddress: de
815
847
  }
816
848
  )
817
849
  }
818
850
  );
819
851
  }
820
852
  );
821
- rr.displayName = "PaymentForm";
822
- function tr(r) {
823
- const { amount: s, currency: o, locale: e, billingAddress: u } = r, { t: a } = he("ui");
824
- return /* @__PURE__ */ v(
853
+ sr.displayName = "PaymentForm";
854
+ function ar(r) {
855
+ const { amount: s, currency: o, locale: e, billingAddress: m } = r, { t: a } = Ie("ui");
856
+ return /* @__PURE__ */ h(
825
857
  "div",
826
858
  {
827
859
  className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
828
860
  "data-testid": "payment-skeleton",
829
861
  "aria-busy": "true",
830
862
  children: [
831
- /* @__PURE__ */ v("div", { className: Ke(), children: [
832
- /* @__PURE__ */ n("span", { className: G(), children: a("payment.amountLabel") }),
833
- /* @__PURE__ */ n("span", { className: "type-title-card", children: ve(s, o, e) })
863
+ /* @__PURE__ */ h("div", { className: Be(), children: [
864
+ /* @__PURE__ */ n("span", { className: H(), children: a("payment.amountLabel") }),
865
+ /* @__PURE__ */ n("span", { className: "type-title-card", children: we(s, o, e) })
834
866
  ] }),
835
- /* @__PURE__ */ v("div", { className: fe(), children: [
836
- /* @__PURE__ */ n("span", { className: G(), children: a("payment.fields.card") }),
867
+ /* @__PURE__ */ h("div", { className: ge(), children: [
868
+ /* @__PURE__ */ n("span", { className: H(), children: a("payment.fields.card") }),
837
869
  /* @__PURE__ */ n(
838
870
  "div",
839
871
  {
@@ -842,8 +874,8 @@ function tr(r) {
842
874
  }
843
875
  )
844
876
  ] }),
845
- u ? /* @__PURE__ */ v("div", { className: fe(), "data-testid": "payment-address", children: [
846
- /* @__PURE__ */ n("span", { className: G(), children: a("payment.billingAddress") }),
877
+ m ? /* @__PURE__ */ h("div", { className: ge(), "data-testid": "payment-address", children: [
878
+ /* @__PURE__ */ n("span", { className: H(), children: a("payment.billingAddress") }),
847
879
  /* @__PURE__ */ n(
848
880
  "div",
849
881
  {
@@ -852,15 +884,15 @@ function tr(r) {
852
884
  }
853
885
  )
854
886
  ] }) : null,
855
- /* @__PURE__ */ v(
887
+ /* @__PURE__ */ h(
856
888
  "button",
857
889
  {
858
890
  type: "button",
859
891
  "aria-disabled": "true",
860
- className: Le(),
892
+ className: Re(),
861
893
  disabled: !0,
862
894
  children: [
863
- /* @__PURE__ */ n(Pe, { variant: "pulse", size: "sm", label: a("payment.processing") }),
895
+ /* @__PURE__ */ n(Le, { variant: "pulse", size: "sm", label: a("payment.processing") }),
864
896
  /* @__PURE__ */ n("span", { children: a("payment.processing") })
865
897
  ]
866
898
  }
@@ -870,12 +902,12 @@ function tr(r) {
870
902
  );
871
903
  }
872
904
  export {
873
- rr as P,
874
- Ye as a,
875
- Ze as b,
876
- Je as c,
877
- ve as f,
878
- We as p,
879
- Le as s
905
+ sr as P,
906
+ rr as a,
907
+ Qe as b,
908
+ er as c,
909
+ we as f,
910
+ Ze as p,
911
+ Re as s
880
912
  };
881
- //# sourceMappingURL=payment-form-DxsjXYHJ.js.map
913
+ //# sourceMappingURL=payment-form-B08gHZIY.js.map