@alfadocs/ui-kit 1.53.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.
- package/dist/_chunks/{Alfadocs_Logo_Mark-7o3L3WBI.js → Alfadocs_Logo_Mark-Z_b6ZI1g.js} +22 -9
- package/dist/_chunks/{actions-cell-renderer-DhmUGzRY.js → actions-cell-renderer-CjzSqMgn.js} +3 -3
- package/dist/_chunks/{address-autocomplete-Bp816Mb1.js → address-autocomplete-BBZ0u_U1.js} +99 -98
- package/dist/_chunks/address-fields-1pD-8hML.js +292 -0
- package/dist/_chunks/{agenda-tray-C2a8OfKC.js → agenda-tray-B8vuZKjH.js} +3 -3
- package/dist/_chunks/{ai-credits-notice-Da0fJPXO.js → ai-credits-notice-D9_qP2xc.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-C5q_uHBA.js → ai-permission-notice-Cr6o1f0f.js} +3 -3
- package/dist/_chunks/{ai-prompt-input-IObcUWqB.js → ai-prompt-input-DkL8W-nt.js} +3 -3
- package/dist/_chunks/{alia-sidebar-DyQMsyiz.js → alia-sidebar-DSUQ2RpK.js} +6 -6
- package/dist/_chunks/{anamnesis-card-D4RWzQXP.js → anamnesis-card-BT1tMt5O.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-CnHxtht-.js → anamnesis-summary-rows-BMjSBqhS.js} +19 -19
- package/dist/_chunks/{appointment-peek-DpPzeYXm.js → appointment-peek-Cbrg36wj.js} +3 -3
- package/dist/_chunks/{appointment-timeline-By-EwmJU.js → appointment-timeline-CssAJLpL.js} +4 -4
- package/dist/_chunks/{appointment-tray-7Z3A3Xz9.js → appointment-tray-EQUjllVy.js} +3 -3
- package/dist/_chunks/{audio-recorder-BafA28cX.js → audio-recorder-BM68r6fe.js} +3 -3
- package/dist/_chunks/auth-form-parts-Celi-TLV.js +85 -0
- package/dist/_chunks/{autocomplete-IfLaXwyb.js → autocomplete-BXm1rnT0.js} +229 -220
- package/dist/_chunks/{balance-badge-cell-BtiFfFRY.js → balance-badge-cell-BDX1Krdv.js} +5 -5
- package/dist/_chunks/{bishop-score-BfDsm9HH.js → bishop-score-CGAVpIWL.js} +3 -3
- package/dist/_chunks/{bmi-calculator-BNtmMzQy.js → bmi-calculator-g_wjo4nq.js} +5 -5
- package/dist/_chunks/booking-CPUjwxj0.js +3710 -0
- package/dist/_chunks/{button-group-DnSR6eN6.js → button-group-CpEycMps.js} +2 -2
- package/dist/_chunks/{calendar-workspace-LDuzo_Ie.js → calendar-workspace-BbZIx2PT.js} +32 -32
- package/dist/_chunks/{care-plan-card-BanlKJZn.js → care-plan-card-BqI-_B4T.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-ByqT84_P.js → care-plan-entry-card-CbsZmfQM.js} +2 -2
- package/dist/_chunks/{care-plan-header-BwfUHMgM.js → care-plan-header-BIS4CGcp.js} +3 -3
- package/dist/_chunks/{carousel.agent-WKODAYVw.js → carousel.agent-DW9iPLdy.js} +2 -2
- package/dist/_chunks/{chart-D37VAIa-.js → chart-C134Ibwm.js} +3 -3
- package/dist/_chunks/{chat-input-DA10w969.js → chat-input-Bg99kcl3.js} +2 -2
- package/dist/_chunks/{chat-message-DoMjMa-M.js → chat-message-D4rvLoIJ.js} +2 -2
- package/dist/_chunks/{checkbox-CZkipDn7.js → checkbox--ndmyokr.js} +19 -15
- package/dist/_chunks/{checkbox-group-C7czpHmJ.js → checkbox-group-B0oZHNT3.js} +2 -2
- package/dist/_chunks/{city-input-CAnTVgBZ.js → city-input-DyxVWSRQ.js} +10 -9
- package/dist/_chunks/{clinical-note-card-kvlUrmP-.js → clinical-note-card-gmWXEwSu.js} +2 -2
- package/dist/_chunks/{code-block-NtHjtagI.js → code-block-CRVa-Thh.js} +2 -2
- package/dist/_chunks/{color-picker-Yl99lHuF.js → color-picker-Bu0wM8xv.js} +50 -50
- package/dist/_chunks/combobox-DppVSuUm.js +614 -0
- package/dist/_chunks/{connection-status-Dz8o-Fui.js → connection-status-BwTnjnUj.js} +2 -2
- package/dist/_chunks/{contact-card-D2gXrxlL.js → contact-card-CIVCcicP.js} +2 -2
- package/dist/_chunks/{contact-profile-card-B7cXr8g5.js → contact-profile-card-h0QX4_5B.js} +3 -3
- package/dist/_chunks/{control-room-rail-B446rHSL.js → control-room-rail-g4vNSPFi.js} +3 -3
- package/dist/_chunks/{country-select-BYa4BrEi.js → country-select-r3QC7cVA.js} +139 -113
- package/dist/_chunks/{cycle-calculator-D_5f9VSN.js → cycle-calculator-CwDEdmda.js} +4 -4
- package/dist/_chunks/{dashboard-grid-DWNP02Ff.js → dashboard-grid--rkojX6m.js} +2 -2
- package/dist/_chunks/{data-table-CiVyhNXx.js → data-table-DeUoJzNn.js} +8 -8
- package/dist/_chunks/{data-table-tabs-Dc6zvoI_.js → data-table-tabs-BfEmXvUk.js} +4 -4
- package/dist/_chunks/{date-picker-p9yz3pxc.js → date-picker-BnhBmcH6.js} +31 -31
- package/dist/_chunks/{date-range-picker-DIy8gNY0.js → date-range-picker-Dg050N1d.js} +65 -65
- package/dist/_chunks/{date-time-picker-C3UVzqOm.js → date-time-picker-Ckl6ezCL.js} +50 -49
- package/dist/_chunks/{description-list-9rchqp5q.js → description-list-BKQMUiXv.js} +2 -2
- package/dist/_chunks/dev-bypass-button-Y1s7gPSD.js +33 -0
- package/dist/_chunks/dev-bypass-button.agent-BJqFSTqE.js +17 -0
- package/dist/_chunks/{document-preview-VXOQZZvy.js → document-preview-C_6R_VZK.js} +4 -4
- package/dist/_chunks/{document-scanner-T5jHiraQ.js → document-scanner-pADVX447.js} +2 -2
- package/dist/_chunks/{due-date-calculator-iJXm6HOj.js → due-date-calculator-_0Dz_d7n.js} +6 -6
- package/dist/_chunks/{editable-currency-cell-renderer-DdMHme5y.js → editable-currency-cell-renderer-CfFp_1hI.js} +3 -3
- package/dist/_chunks/{editable-description-Cy3AZ5K2.js → editable-description-CCrAEJMq.js} +2 -2
- package/dist/_chunks/{editor-overlay-C0awV6ba.js → editor-overlay-CWV0chPV.js} +2 -2
- package/dist/_chunks/{email-input-ebdovOmh.js → email-input-Cmeo4zdT.js} +88 -86
- package/dist/_chunks/{empty-state-C62P_6kr.js → empty-state-CgvmPPvW.js} +44 -50
- package/dist/_chunks/{entity-summary-oW3_jFhU.js → entity-summary-C3E4JKVr.js} +3 -3
- package/dist/_chunks/{error-boundary-Cvs23EzK.js → error-boundary-Bzjk9Q2l.js} +2 -2
- package/dist/_chunks/error-page-CKFJlekz.js +275 -0
- package/dist/_chunks/error-page-illustration-QGJAvuFB.js +459 -0
- package/dist/_chunks/{face-scheme-Dg7KcbW2.js → face-scheme-pZgT26gB.js} +8 -8
- package/dist/_chunks/{fetal-weight-BoIkl2t1.js → fetal-weight-CbE61Uyk.js} +3 -3
- package/dist/_chunks/{field-array-BF2nCmvt.js → field-array-DGiIHCdy.js} +2 -2
- package/dist/_chunks/{file-manager-BfG3usGk.js → file-manager-DdsAd4TQ.js} +8 -8
- package/dist/_chunks/{file-upload-OMlGHz70.js → file-upload-CxjCs7TX.js} +46 -46
- package/dist/_chunks/{fiscal-code-input-CuuE8_dt.js → fiscal-code-input-DNA_SbQx.js} +69 -69
- package/dist/_chunks/forgot-password-form-DVVOBEGj.js +203 -0
- package/dist/_chunks/form-field-D9WfDpYB.js +165 -0
- package/dist/_chunks/form-field-context-DtiROUJV.js +36 -0
- package/dist/_chunks/{freemium-paywall-BhxKSEJD.js → freemium-paywall-CtUCj-ND.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CjZ7v-8x.js → gestational-age-calculator-BMkoLJGR.js} +7 -7
- package/dist/_chunks/{hcg-doubling-BYMogA0e.js → hcg-doubling-BtW2pBJX.js} +4 -4
- package/dist/_chunks/{header-CzJbtTGQ.js → header--a4ZTiM5.js} +6 -3
- package/dist/_chunks/{header-settings-BqdBe4zk.js → header-settings-kkVm9VP3.js} +3 -3
- package/dist/_chunks/{help-me-write-templates-DcR-e_90.js → help-me-write-templates-Cy-iO5AU.js} +8 -8
- package/dist/_chunks/{hover-card-DEMPFs9M.js → hover-card-CcRSI4gy.js} +2 -2
- package/dist/_chunks/{iban-input-D88HRGZo.js → iban-input-CpOUMMR-.js} +35 -35
- package/dist/_chunks/{icon-button-group-DHRz90jY.js → icon-button-group-BsQkbCX4.js} +2 -2
- package/dist/_chunks/{icon-button-JAXAkqWC.js → icon-button-mKIvw90h.js} +31 -30
- package/dist/_chunks/{icon-picker-C5Fhx1-3.js → icon-picker-CSViTQL9.js} +3 -3
- package/dist/_chunks/{info-tip-DfmEvyAF.js → info-tip-Czh1izZ6.js} +2 -2
- package/dist/_chunks/is-development-CLUAnsU7.js +11 -0
- package/dist/_chunks/{key-value-pair-DZH8ESsc.js → key-value-pair-BkXjt88Z.js} +2 -2
- package/dist/_chunks/{kit-extensions-CF5mDF_Z.js → kit-extensions-Kca1tkfP.js} +6 -6
- package/dist/_chunks/{link-BlVUIKk1.js → link-2HokYuIi.js} +19 -18
- package/dist/_chunks/{link-cell-renderer-DvcbSHyp.js → link-cell-renderer-D-xv2HMS.js} +7 -7
- package/dist/_chunks/{locale-picker-DYDppQdZ.js → locale-picker-BhNIgeXA.js} +3 -3
- package/dist/_chunks/log-in-OQUEoGhX.js +16 -0
- package/dist/_chunks/login-dev-card-C7wo-Hv1.js +275 -0
- package/dist/_chunks/{logo-1FuSGx0n.js → logo-CuaqxTGK.js} +128 -77
- package/dist/_chunks/mark-pieces-m_rn1mAc.js +46 -0
- package/dist/_chunks/{marketplace-app-shell-rd1bSSm4.js → marketplace-app-shell-DbEfoNxe.js} +6 -6
- package/dist/_chunks/{message-card-Dub3790J.js → message-card-C1buKlzM.js} +2 -2
- package/dist/_chunks/{message-tray-CTd6CsnG.js → message-tray-DyBVqlGj.js} +3 -3
- package/dist/_chunks/{multi-select-Bx0_cgPI.js → multi-select-CVb6PJOK.js} +87 -85
- package/dist/_chunks/{muscle-scheme-X2bdmsQt.js → muscle-scheme-DfYQ0Z3v.js} +2 -2
- package/dist/_chunks/{nav-grid-BnY0Ilet.js → nav-grid-BPbmzHY0.js} +2 -2
- package/dist/_chunks/{note-attachment-CpPRIfSn.js → note-attachment-I1NLoeRZ.js} +2 -2
- package/dist/_chunks/{note-timeline-CZUmobcn.js → note-timeline-CsY8YOE7.js} +2 -2
- package/dist/_chunks/{notes-panel-CPfxz-1j.js → notes-panel-BPb-2ZnJ.js} +6 -6
- package/dist/_chunks/{notification-card-B39g86vM.js → notification-card-DubeUbVJ.js} +2 -2
- package/dist/_chunks/{notification-tray-WsP7c1jf.js → notification-tray-DJ0gtfu6.js} +3 -3
- package/dist/_chunks/{number-input-BLrx3utH.js → number-input-DRDRYZJg.js} +41 -41
- package/dist/_chunks/{optical-prescription-x--Rpmmx.js → optical-prescription-DBvebioV.js} +5 -5
- package/dist/_chunks/{otp-input-Dz8WMg4F.js → otp-input-BedEqmIV.js} +47 -45
- package/dist/_chunks/{panel-subview-DAY-ToM3.js → panel-subview-D8HGXaUa.js} +2 -2
- package/dist/_chunks/password-input-B7pQTk7l.js +447 -0
- package/dist/_chunks/{patient-details-BSAMAd3I.js → patient-details-BP9r_lNS.js} +3 -3
- package/dist/_chunks/{patient-field-row-dUF2cW2G.js → patient-field-row-BK9JjbzA.js} +19 -19
- package/dist/_chunks/{patient-search-CXl0FNfN.js → patient-search-Dm3w0jWw.js} +3 -3
- package/dist/_chunks/{patient-summary-card-DF-Mxcma.js → patient-summary-card-DGbRLzF1.js} +6 -6
- package/dist/_chunks/{payment-form-DxsjXYHJ.js → payment-form-B08gHZIY.js} +327 -295
- package/dist/_chunks/{payment-request-card-BFsmHLtf.js → payment-request-card-CR7SjsRs.js} +4 -4
- package/dist/_chunks/{pdf-viewer-hzfM5pZf.js → pdf-viewer-zv7pkUPA.js} +2 -2
- package/dist/_chunks/{periodontal-chart-Bvii6uOg.js → periodontal-chart-5nLsSuRM.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-DTbvFQO7.js → periodontal-chart-card-Djr3en8Q.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-BqEo0usu.js → periodontal-diagnosis-DmVIqXtC.js} +4 -4
- package/dist/_chunks/{permission-matrix-DHKECaNW.js → permission-matrix-DuTkUHxe.js} +3 -3
- package/dist/_chunks/{phone-input-opMMHkyh.js → phone-input-BzeUr49H.js} +253 -204
- package/dist/_chunks/{popover-CGYPYIVi.js → popover-9_v-7fJc.js} +2 -2
- package/dist/_chunks/{postal-code-input-Dv02t5MD.js → postal-code-input-BmbqjkfD.js} +71 -71
- package/dist/_chunks/{practice-results-B9uV0TT8.js → practice-results-D3liWOz1.js} +4 -4
- package/dist/_chunks/{pregnancy-dating-CcPxK3S3.js → pregnancy-dating-DV3o2PPl.js} +8 -8
- package/dist/_chunks/{pregnancy-weight-gain-tGbbravi.js → pregnancy-weight-gain-BLjWgtS9.js} +5 -5
- package/dist/_chunks/{privacy-lock-Bh4O7Y7g.js → privacy-lock-KDPKiTpH.js} +3 -3
- package/dist/_chunks/{privacy-mask-CK-9sxeI.js → privacy-mask-H8yYwgIb.js} +2 -2
- package/dist/_chunks/{product-hub-panel-D87kbz5j.js → product-hub-panel-M5X3TYzq.js} +4 -4
- package/dist/_chunks/{province-select-BZtM0RSR.js → province-select-DtF2ukoC.js} +92 -79
- package/dist/_chunks/{public-footer.agent-CVYmHY94.js → public-footer-Bfs81Qzp.js} +188 -219
- package/dist/_chunks/public-footer.agent-CRZCrq3_.js +37 -0
- package/dist/_chunks/{public-header.agent-1mcrQqIM.js → public-header.agent-CrXkGtTF.js} +3 -3
- package/dist/_chunks/{qr-code-C3m9o7om.js → qr-code-Ofx7ryyu.js} +2 -2
- package/dist/_chunks/{radio-6fml-pWk.js → radio-BBbMdbE_.js} +15 -11
- package/dist/_chunks/{radio-group-CIjmyioi.js → radio-group-BT97ty7o.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-BWBaxJ8e.js → radiograph-panel.agent-C4j6eoQn.js} +8 -8
- package/dist/_chunks/recaptcha-widget-CsvwlYTE.js +234 -0
- package/dist/_chunks/registration-form-CBDeXzlk.js +748 -0
- package/dist/_chunks/{reviews-panel-DUgqU-Wr.js → reviews-panel-CyxZ0VmZ.js} +3 -3
- package/dist/_chunks/{rich-text-editor-C7N4Cem6.js → rich-text-editor-CCCSEPlG.js} +13 -13
- package/dist/_chunks/safe-href-5dbsfbQn.js +22 -0
- package/dist/_chunks/{search-bar-Blq_QeSe.js → search-bar-D695TCDH.js} +2 -2
- package/dist/_chunks/{search-input-DfsAu3P2.js → search-input-Tl-RkS5x.js} +31 -31
- package/dist/_chunks/{select-Br88h070.js → select-DHPmASkG.js} +293 -228
- package/dist/_chunks/{sheet-BE6oi30q.js → sheet-BTgxkDJS.js} +2 -2
- package/dist/_chunks/{sign-document-Buw-zC_7.js → sign-document-B_3U-S6g.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-Bd4VPGQh.js → sign-in-with-alfadocs-button-DFmgQuDo.js} +3 -3
- package/dist/_chunks/{signature-field-DBIGiY-J.js → signature-field-DLDznGnB.js} +2 -2
- package/dist/_chunks/{signature-request-DqZkn-iB.js → signature-request-BdolmJk4.js} +6 -6
- package/dist/_chunks/signed-out-frame-dz1rLJ65.js +171 -0
- package/dist/_chunks/{slider-BRq2lL-l.js → slider-pZ95bEm7.js} +50 -50
- package/dist/_chunks/{slot-grid-kq7bDdrx.js → slot-grid-kCDoV3k4.js} +3 -3
- package/dist/_chunks/{social-sign-in-button-Bb2UQpsA.js → social-sign-in-button-BMGNlUWs.js} +2 -2
- package/dist/_chunks/spinner-a0FTYX9Q.js +211 -0
- package/dist/_chunks/{streaming-text-D0IJeRBg.js → streaming-text-BAPn_sZs.js} +2 -2
- package/dist/_chunks/{switch-DXGD2Drz.js → switch-D--x7n6h.js} +29 -29
- package/dist/_chunks/{tabs-DLXVEDsa.js → tabs-yIY-RySP.js} +2 -2
- package/dist/_chunks/{task-card-Cfl08MCS.js → task-card-C02Km4Gb.js} +2 -2
- package/dist/_chunks/{task-editor-CxF-sBnu.js → task-editor-Dl27rI3J.js} +15 -15
- package/dist/_chunks/{task-tray-rAGslT2C.js → task-tray-By6DPwbT.js} +4 -4
- package/dist/_chunks/{tasks-panel-Dkm8SnmV.js → tasks-panel-BkN9sROF.js} +7 -7
- package/dist/_chunks/{text-area-Cjtw7mna.js → text-area-CDuItrvL.js} +23 -23
- package/dist/_chunks/{text-input-CLaItY93.js → text-input-lZ2-t-p2.js} +37 -37
- package/dist/_chunks/{theme-toggle-Byg0x2vB.js → theme-toggle-BAHz3itd.js} +4 -4
- package/dist/_chunks/{time-picker-BG7G3ujX.js → time-picker-DKKmpFh3.js} +28 -28
- package/dist/_chunks/{toast-6wbpghjF.js → toast-UMUvXFsA.js} +2 -2
- package/dist/_chunks/{tool-rail-CXcLzxPb.js → tool-rail-CwXN-sDC.js} +2 -2
- package/dist/_chunks/{tooth-scheme-BLbwUVer.js → tooth-scheme-BAMhwCZe.js} +3 -3
- package/dist/_chunks/{transcript-panel-Dve7bsm7.js → transcript-panel-CLgtyVbR.js} +2 -2
- package/dist/_chunks/{unit-converter-D8WnJbZm.js → unit-converter-CXNr5P4J.js} +4 -4
- package/dist/_chunks/{use-appointment-details-read-W6h4oTHx.js → use-appointment-details-read-BEbLseXW.js} +13 -13
- package/dist/_chunks/use-field-match-pdbEnKvO.js +28 -0
- package/dist/_chunks/use-password-requirements-C8DdwPEy.js +69 -0
- package/dist/_chunks/use-prism-DaspP8w-.js +55 -0
- package/dist/_chunks/use-registration-submit-DxCWic5_.js +141 -0
- package/dist/_chunks/{wallet-pay-button-C-GFl7RO.js → wallet-pay-button-Dew8Pmgq.js} +2 -2
- package/dist/_chunks/{warning-stack-CzKSeB5v.js → warning-stack-B_v_qMBI.js} +2 -2
- package/dist/_chunks/{widget-picker-b5NCHxFe.js → widget-picker-BCbwD5Z1.js} +2 -2
- package/dist/_chunks/{workflow-map-C1OjRhM3.js → workflow-map-PzamnfJK.js} +4 -4
- package/dist/agent-catalog.json +289 -103
- package/dist/agent-i18n/en.json +29 -8
- package/dist/brand/logo-asset/Alfadocs_Logo_Main.d.ts +2 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Mark.d.ts +2 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Neg.d.ts +2 -1
- package/dist/brand/logo-asset/index.d.ts +1 -0
- package/dist/brand/logo-asset/mark-piece.d.ts +10 -0
- package/dist/components/_shared/safe-href.d.ts +21 -0
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/address-fields.d.ts +7 -0
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/autocomplete.d.ts +7 -0
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +57 -0
- package/dist/components/booking/booking.d.ts +1 -1
- package/dist/components/booking/details-form.d.ts +5 -0
- package/dist/components/booking/index.d.ts +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/city-input/city-input.d.ts +2 -5
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/combobox.d.ts +10 -4
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/command-palette.d.ts +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/country-select/country-select.d.ts +3 -4
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dev-bypass-button/dev-bypass-button.agent.d.ts +3 -0
- package/dist/components/dev-bypass-button/dev-bypass-button.d.ts +18 -0
- package/dist/components/dev-bypass-button/index.d.ts +4 -0
- package/dist/components/dev-bypass-button/index.js +7 -0
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/email-input/email-input.d.ts +13 -4
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-boundary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/form-field/form-field-context.d.ts +20 -0
- package/dist/components/form-field/index.d.ts +1 -1
- package/dist/components/form-field/index.js +7 -5
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/iban-input/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/index.d.ts +7 -2
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/logo/index.js +1 -1
- package/dist/components/logo/logo.d.ts +15 -0
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/password-input/index.js +3 -2
- package/dist/components/password-input/password-input.d.ts +6 -3
- package/dist/components/password-input/use-password-requirements.d.ts +9 -0
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/payment-form/payment-form.d.ts +8 -0
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/permission-matrix/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/phone-input/phone-input.d.ts +13 -0
- package/dist/components/popover/index.js +1 -1
- package/dist/components/postal-code-input/index.js +1 -1
- package/dist/components/postal-code-input/postal-code-input.d.ts +3 -2
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/province-select/province-select.d.ts +3 -2
- package/dist/components/public-footer/index.js +6 -5
- package/dist/components/public-footer/public-footer.d.ts +8 -0
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/recaptcha-widget/recaptcha-widget.d.ts +13 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +6 -2
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/social-sign-in-button/index.js +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/spinner/spinner.d.ts +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/wallet-pay-button/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/error-pages/400.ar.html +1 -1
- package/dist/error-pages/400.de.html +1 -1
- package/dist/error-pages/400.el.html +1 -1
- package/dist/error-pages/400.en.html +1 -1
- package/dist/error-pages/400.es.html +1 -1
- package/dist/error-pages/400.fr.html +1 -1
- package/dist/error-pages/400.hi.html +1 -1
- package/dist/error-pages/400.html +1 -1
- package/dist/error-pages/400.it.html +1 -1
- package/dist/error-pages/400.ja.html +1 -1
- package/dist/error-pages/400.nl.html +1 -1
- package/dist/error-pages/400.pl.html +1 -1
- package/dist/error-pages/400.pt.html +1 -1
- package/dist/error-pages/400.ro.html +1 -1
- package/dist/error-pages/400.ru.html +1 -1
- package/dist/error-pages/400.sq.html +1 -1
- package/dist/error-pages/400.sv.html +1 -1
- package/dist/error-pages/400.tr.html +1 -1
- package/dist/error-pages/400.zh.html +1 -1
- package/dist/error-pages/401.ar.html +1 -1
- package/dist/error-pages/401.de.html +1 -1
- package/dist/error-pages/401.el.html +1 -1
- package/dist/error-pages/401.en.html +1 -1
- package/dist/error-pages/401.es.html +1 -1
- package/dist/error-pages/401.fr.html +1 -1
- package/dist/error-pages/401.hi.html +1 -1
- package/dist/error-pages/401.html +1 -1
- package/dist/error-pages/401.it.html +1 -1
- package/dist/error-pages/401.ja.html +1 -1
- package/dist/error-pages/401.nl.html +1 -1
- package/dist/error-pages/401.pl.html +1 -1
- package/dist/error-pages/401.pt.html +1 -1
- package/dist/error-pages/401.ro.html +1 -1
- package/dist/error-pages/401.ru.html +1 -1
- package/dist/error-pages/401.sq.html +1 -1
- package/dist/error-pages/401.sv.html +1 -1
- package/dist/error-pages/401.tr.html +1 -1
- package/dist/error-pages/401.zh.html +1 -1
- package/dist/error-pages/403.ar.html +1 -1
- package/dist/error-pages/403.de.html +1 -1
- package/dist/error-pages/403.el.html +1 -1
- package/dist/error-pages/403.en.html +1 -1
- package/dist/error-pages/403.es.html +1 -1
- package/dist/error-pages/403.fr.html +1 -1
- package/dist/error-pages/403.hi.html +1 -1
- package/dist/error-pages/403.html +1 -1
- package/dist/error-pages/403.it.html +1 -1
- package/dist/error-pages/403.ja.html +1 -1
- package/dist/error-pages/403.nl.html +1 -1
- package/dist/error-pages/403.pl.html +1 -1
- package/dist/error-pages/403.pt.html +1 -1
- package/dist/error-pages/403.ro.html +1 -1
- package/dist/error-pages/403.ru.html +1 -1
- package/dist/error-pages/403.sq.html +1 -1
- package/dist/error-pages/403.sv.html +1 -1
- package/dist/error-pages/403.tr.html +1 -1
- package/dist/error-pages/403.zh.html +1 -1
- package/dist/error-pages/404.ar.html +1 -1
- package/dist/error-pages/404.de.html +1 -1
- package/dist/error-pages/404.el.html +1 -1
- package/dist/error-pages/404.en.html +1 -1
- package/dist/error-pages/404.es.html +1 -1
- package/dist/error-pages/404.fr.html +1 -1
- package/dist/error-pages/404.hi.html +1 -1
- package/dist/error-pages/404.html +1 -1
- package/dist/error-pages/404.it.html +1 -1
- package/dist/error-pages/404.ja.html +1 -1
- package/dist/error-pages/404.nl.html +1 -1
- package/dist/error-pages/404.pl.html +1 -1
- package/dist/error-pages/404.pt.html +1 -1
- package/dist/error-pages/404.ro.html +1 -1
- package/dist/error-pages/404.ru.html +1 -1
- package/dist/error-pages/404.sq.html +1 -1
- package/dist/error-pages/404.sv.html +1 -1
- package/dist/error-pages/404.tr.html +1 -1
- package/dist/error-pages/404.zh.html +1 -1
- package/dist/error-pages/405.ar.html +1 -1
- package/dist/error-pages/405.de.html +1 -1
- package/dist/error-pages/405.el.html +1 -1
- package/dist/error-pages/405.en.html +1 -1
- package/dist/error-pages/405.es.html +1 -1
- package/dist/error-pages/405.fr.html +1 -1
- package/dist/error-pages/405.hi.html +1 -1
- package/dist/error-pages/405.html +1 -1
- package/dist/error-pages/405.it.html +1 -1
- package/dist/error-pages/405.ja.html +1 -1
- package/dist/error-pages/405.nl.html +1 -1
- package/dist/error-pages/405.pl.html +1 -1
- package/dist/error-pages/405.pt.html +1 -1
- package/dist/error-pages/405.ro.html +1 -1
- package/dist/error-pages/405.ru.html +1 -1
- package/dist/error-pages/405.sq.html +1 -1
- package/dist/error-pages/405.sv.html +1 -1
- package/dist/error-pages/405.tr.html +1 -1
- package/dist/error-pages/405.zh.html +1 -1
- package/dist/error-pages/410.ar.html +1 -1
- package/dist/error-pages/410.de.html +1 -1
- package/dist/error-pages/410.el.html +1 -1
- package/dist/error-pages/410.en.html +1 -1
- package/dist/error-pages/410.es.html +1 -1
- package/dist/error-pages/410.fr.html +1 -1
- package/dist/error-pages/410.hi.html +1 -1
- package/dist/error-pages/410.html +1 -1
- package/dist/error-pages/410.it.html +1 -1
- package/dist/error-pages/410.ja.html +1 -1
- package/dist/error-pages/410.nl.html +1 -1
- package/dist/error-pages/410.pl.html +1 -1
- package/dist/error-pages/410.pt.html +1 -1
- package/dist/error-pages/410.ro.html +1 -1
- package/dist/error-pages/410.ru.html +1 -1
- package/dist/error-pages/410.sq.html +1 -1
- package/dist/error-pages/410.sv.html +1 -1
- package/dist/error-pages/410.tr.html +1 -1
- package/dist/error-pages/410.zh.html +1 -1
- package/dist/error-pages/419.ar.html +1 -1
- package/dist/error-pages/419.de.html +1 -1
- package/dist/error-pages/419.el.html +1 -1
- package/dist/error-pages/419.en.html +1 -1
- package/dist/error-pages/419.es.html +1 -1
- package/dist/error-pages/419.fr.html +1 -1
- package/dist/error-pages/419.hi.html +1 -1
- package/dist/error-pages/419.html +1 -1
- package/dist/error-pages/419.it.html +1 -1
- package/dist/error-pages/419.ja.html +1 -1
- package/dist/error-pages/419.nl.html +1 -1
- package/dist/error-pages/419.pl.html +1 -1
- package/dist/error-pages/419.pt.html +1 -1
- package/dist/error-pages/419.ro.html +1 -1
- package/dist/error-pages/419.ru.html +1 -1
- package/dist/error-pages/419.sq.html +1 -1
- package/dist/error-pages/419.sv.html +1 -1
- package/dist/error-pages/419.tr.html +1 -1
- package/dist/error-pages/419.zh.html +1 -1
- package/dist/error-pages/429.ar.html +1 -1
- package/dist/error-pages/429.de.html +1 -1
- package/dist/error-pages/429.el.html +1 -1
- package/dist/error-pages/429.en.html +1 -1
- package/dist/error-pages/429.es.html +1 -1
- package/dist/error-pages/429.fr.html +1 -1
- package/dist/error-pages/429.hi.html +1 -1
- package/dist/error-pages/429.html +1 -1
- package/dist/error-pages/429.it.html +1 -1
- package/dist/error-pages/429.ja.html +1 -1
- package/dist/error-pages/429.nl.html +1 -1
- package/dist/error-pages/429.pl.html +1 -1
- package/dist/error-pages/429.pt.html +1 -1
- package/dist/error-pages/429.ro.html +1 -1
- package/dist/error-pages/429.ru.html +1 -1
- package/dist/error-pages/429.sq.html +1 -1
- package/dist/error-pages/429.sv.html +1 -1
- package/dist/error-pages/429.tr.html +1 -1
- package/dist/error-pages/429.zh.html +1 -1
- package/dist/error-pages/500.ar.html +1 -1
- package/dist/error-pages/500.de.html +1 -1
- package/dist/error-pages/500.el.html +1 -1
- package/dist/error-pages/500.en.html +1 -1
- package/dist/error-pages/500.es.html +1 -1
- package/dist/error-pages/500.fr.html +1 -1
- package/dist/error-pages/500.hi.html +1 -1
- package/dist/error-pages/500.html +1 -1
- package/dist/error-pages/500.it.html +1 -1
- package/dist/error-pages/500.ja.html +1 -1
- package/dist/error-pages/500.nl.html +1 -1
- package/dist/error-pages/500.pl.html +1 -1
- package/dist/error-pages/500.pt.html +1 -1
- package/dist/error-pages/500.ro.html +1 -1
- package/dist/error-pages/500.ru.html +1 -1
- package/dist/error-pages/500.sq.html +1 -1
- package/dist/error-pages/500.sv.html +1 -1
- package/dist/error-pages/500.tr.html +1 -1
- package/dist/error-pages/500.zh.html +1 -1
- package/dist/error-pages/502.ar.html +1 -1
- package/dist/error-pages/502.de.html +1 -1
- package/dist/error-pages/502.el.html +1 -1
- package/dist/error-pages/502.en.html +1 -1
- package/dist/error-pages/502.es.html +1 -1
- package/dist/error-pages/502.fr.html +1 -1
- package/dist/error-pages/502.hi.html +1 -1
- package/dist/error-pages/502.html +1 -1
- package/dist/error-pages/502.it.html +1 -1
- package/dist/error-pages/502.ja.html +1 -1
- package/dist/error-pages/502.nl.html +1 -1
- package/dist/error-pages/502.pl.html +1 -1
- package/dist/error-pages/502.pt.html +1 -1
- package/dist/error-pages/502.ro.html +1 -1
- package/dist/error-pages/502.ru.html +1 -1
- package/dist/error-pages/502.sq.html +1 -1
- package/dist/error-pages/502.sv.html +1 -1
- package/dist/error-pages/502.tr.html +1 -1
- package/dist/error-pages/502.zh.html +1 -1
- package/dist/error-pages/503.ar.html +1 -1
- package/dist/error-pages/503.de.html +1 -1
- package/dist/error-pages/503.el.html +1 -1
- package/dist/error-pages/503.en.html +1 -1
- package/dist/error-pages/503.es.html +1 -1
- package/dist/error-pages/503.fr.html +1 -1
- package/dist/error-pages/503.hi.html +1 -1
- package/dist/error-pages/503.html +1 -1
- package/dist/error-pages/503.it.html +1 -1
- package/dist/error-pages/503.ja.html +1 -1
- package/dist/error-pages/503.nl.html +1 -1
- package/dist/error-pages/503.pl.html +1 -1
- package/dist/error-pages/503.pt.html +1 -1
- package/dist/error-pages/503.ro.html +1 -1
- package/dist/error-pages/503.ru.html +1 -1
- package/dist/error-pages/503.sq.html +1 -1
- package/dist/error-pages/503.sv.html +1 -1
- package/dist/error-pages/503.tr.html +1 -1
- package/dist/error-pages/503.zh.html +1 -1
- package/dist/error-pages/504.ar.html +1 -1
- package/dist/error-pages/504.de.html +1 -1
- package/dist/error-pages/504.el.html +1 -1
- package/dist/error-pages/504.en.html +1 -1
- package/dist/error-pages/504.es.html +1 -1
- package/dist/error-pages/504.fr.html +1 -1
- package/dist/error-pages/504.hi.html +1 -1
- package/dist/error-pages/504.html +1 -1
- package/dist/error-pages/504.it.html +1 -1
- package/dist/error-pages/504.ja.html +1 -1
- package/dist/error-pages/504.nl.html +1 -1
- package/dist/error-pages/504.pl.html +1 -1
- package/dist/error-pages/504.pt.html +1 -1
- package/dist/error-pages/504.ro.html +1 -1
- package/dist/error-pages/504.ru.html +1 -1
- package/dist/error-pages/504.sq.html +1 -1
- package/dist/error-pages/504.sv.html +1 -1
- package/dist/error-pages/504.tr.html +1 -1
- package/dist/error-pages/504.zh.html +1 -1
- package/dist/error-pages/maintenance.ar.html +1 -1
- package/dist/error-pages/maintenance.de.html +1 -1
- package/dist/error-pages/maintenance.el.html +1 -1
- package/dist/error-pages/maintenance.en.html +1 -1
- package/dist/error-pages/maintenance.es.html +1 -1
- package/dist/error-pages/maintenance.fr.html +1 -1
- package/dist/error-pages/maintenance.hi.html +1 -1
- package/dist/error-pages/maintenance.html +1 -1
- package/dist/error-pages/maintenance.it.html +1 -1
- package/dist/error-pages/maintenance.ja.html +1 -1
- package/dist/error-pages/maintenance.nl.html +1 -1
- package/dist/error-pages/maintenance.pl.html +1 -1
- package/dist/error-pages/maintenance.pt.html +1 -1
- package/dist/error-pages/maintenance.ro.html +1 -1
- package/dist/error-pages/maintenance.ru.html +1 -1
- package/dist/error-pages/maintenance.sq.html +1 -1
- package/dist/error-pages/maintenance.sv.html +1 -1
- package/dist/error-pages/maintenance.tr.html +1 -1
- package/dist/error-pages/maintenance.zh.html +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +89 -79
- package/dist/hooks/use-field-match.d.ts +71 -0
- package/dist/hooks/use-prism.d.ts +85 -0
- package/dist/host-compat.css +4 -1
- package/dist/i18n/locales/ar.d.ts +51 -0
- package/dist/i18n/locales/ar.js +51 -0
- package/dist/i18n/locales/de.d.ts +51 -0
- package/dist/i18n/locales/de.js +51 -0
- package/dist/i18n/locales/el.d.ts +51 -0
- package/dist/i18n/locales/el.js +51 -0
- package/dist/i18n/locales/en.d.ts +51 -0
- package/dist/i18n/locales/en.js +51 -0
- package/dist/i18n/locales/es.d.ts +51 -0
- package/dist/i18n/locales/es.js +51 -0
- package/dist/i18n/locales/fr.d.ts +51 -0
- package/dist/i18n/locales/fr.js +51 -0
- package/dist/i18n/locales/hi.d.ts +51 -0
- package/dist/i18n/locales/hi.js +51 -0
- package/dist/i18n/locales/it.d.ts +51 -0
- package/dist/i18n/locales/it.js +51 -0
- package/dist/i18n/locales/ja.d.ts +51 -0
- package/dist/i18n/locales/ja.js +51 -0
- package/dist/i18n/locales/nl.d.ts +51 -0
- package/dist/i18n/locales/nl.js +51 -0
- package/dist/i18n/locales/pl.d.ts +51 -0
- package/dist/i18n/locales/pl.js +51 -0
- package/dist/i18n/locales/pt.d.ts +51 -0
- package/dist/i18n/locales/pt.js +51 -0
- package/dist/i18n/locales/ro.d.ts +51 -0
- package/dist/i18n/locales/ro.js +51 -0
- package/dist/i18n/locales/ru.d.ts +51 -0
- package/dist/i18n/locales/ru.js +51 -0
- package/dist/i18n/locales/sq.d.ts +51 -0
- package/dist/i18n/locales/sq.js +51 -0
- package/dist/i18n/locales/sv.d.ts +51 -0
- package/dist/i18n/locales/sv.js +51 -0
- package/dist/i18n/locales/tr.d.ts +51 -0
- package/dist/i18n/locales/tr.js +51 -0
- package/dist/i18n/locales/zh.d.ts +51 -0
- package/dist/i18n/locales/zh.js +51 -0
- package/dist/index.js +1170 -1145
- package/dist/locales/ar.json +51 -0
- package/dist/locales/de.json +51 -0
- package/dist/locales/el.json +51 -0
- package/dist/locales/en.json +51 -0
- package/dist/locales/es.json +51 -0
- package/dist/locales/fr.json +51 -0
- package/dist/locales/hi.json +51 -0
- package/dist/locales/it.json +51 -0
- package/dist/locales/ja.json +51 -0
- package/dist/locales/nl.json +51 -0
- package/dist/locales/pl.json +51 -0
- package/dist/locales/pt.json +51 -0
- package/dist/locales/ro.json +51 -0
- package/dist/locales/ru.json +51 -0
- package/dist/locales/sq.json +51 -0
- package/dist/locales/sv.json +51 -0
- package/dist/locales/tr.json +51 -0
- package/dist/locales/zh.json +51 -0
- package/dist/patterns/_shared/auth-form-parts.d.ts +55 -0
- package/dist/patterns/_shared/brand-mark.d.ts +15 -0
- package/dist/patterns/_shared/mark-pieces.d.ts +15 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/error-page/index.js +1 -1
- package/dist/patterns/forgot-password-form/forgot-password-form.d.ts +105 -0
- package/dist/patterns/forgot-password-form/index.d.ts +3 -0
- package/dist/patterns/forgot-password-form/index.js +6 -0
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/index.d.ts +5 -0
- package/dist/patterns/login-form/index.js +7 -0
- package/dist/patterns/login-form/login-dev-card.d.ts +27 -0
- package/dist/patterns/login-form/login-form.d.ts +120 -0
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/registration-form/index.d.ts +3 -0
- package/dist/patterns/registration-form/index.js +6 -0
- package/dist/patterns/registration-form/registration-form.d.ts +217 -0
- package/dist/patterns/registration-form/use-registration-submit.d.ts +59 -0
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.d.ts +5 -0
- package/dist/patterns/signed-out-frame/index.js +6 -0
- package/dist/patterns/signed-out-frame/signed-out-frame.d.ts +27 -0
- package/dist/patterns/signed-out-frame/signed-out-header.d.ts +23 -0
- package/dist/tokens.css +1 -1
- package/package.json +21 -1
- package/dist/_chunks/address-fields-BIL6cvLS.js +0 -246
- package/dist/_chunks/booking-CFR7vU8X.js +0 -3474
- package/dist/_chunks/combobox-Iel8y3u6.js +0 -578
- package/dist/_chunks/error-page-BtxEOL6g.js +0 -780
- package/dist/_chunks/form-field-YUJl_U5l.js +0 -131
- package/dist/_chunks/form-field-context-B3APVHKx.js +0 -21
- package/dist/_chunks/recaptcha-widget-BNAeSTCo.js +0 -228
- package/dist/_chunks/spinner-DxjSZLD-.js +0 -220
- package/dist/_chunks/use-password-requirements-DK4hV1Ik.js +0 -453
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as n, jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { S as
|
|
6
|
-
import { A as
|
|
7
|
-
import { loadStripe as
|
|
8
|
-
import { Elements as
|
|
9
|
-
import { u as
|
|
10
|
-
function
|
|
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
|
|
14
|
-
if (!
|
|
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
|
|
95
|
-
if (!
|
|
94
|
+
function Xe(r, s) {
|
|
95
|
+
if (!ze()) return () => {
|
|
96
96
|
};
|
|
97
|
-
const o = document.documentElement, e = () => r(
|
|
98
|
-
|
|
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
|
-
|
|
104
|
+
m.disconnect(), a.removeEventListener("change", e), d.removeEventListener("change", e);
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
|
-
const
|
|
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
|
-
},
|
|
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
|
|
201
|
-
const e = s.toUpperCase(),
|
|
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(
|
|
206
|
+
}).format(m);
|
|
207
207
|
} catch {
|
|
208
208
|
return new Intl.NumberFormat("en", {
|
|
209
209
|
style: "currency",
|
|
210
210
|
currency: e
|
|
211
|
-
}).format(
|
|
211
|
+
}).format(m);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
function
|
|
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
|
|
225
|
+
function Qe(r) {
|
|
226
226
|
return r && r.replace(/\d{4,}/g, "****");
|
|
227
227
|
}
|
|
228
|
-
function
|
|
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
|
|
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
|
-
),
|
|
270
|
+
), ge = ne(
|
|
271
271
|
["ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]"].join(" ")
|
|
272
|
-
),
|
|
272
|
+
), H = ne(
|
|
273
273
|
["type-label", "ds:text-[var(--foreground)]"].join(" ")
|
|
274
|
-
),
|
|
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
|
-
),
|
|
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
|
|
304
|
+
function tr(r) {
|
|
305
305
|
const {
|
|
306
306
|
amount: s,
|
|
307
307
|
currency: o,
|
|
308
308
|
locale: e,
|
|
309
|
-
billingAddress:
|
|
309
|
+
billingAddress: m,
|
|
310
310
|
requireBillingAddress: a,
|
|
311
311
|
defaultBillingDetails: d,
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
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:
|
|
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
|
-
),
|
|
335
|
-
() => `pay-${
|
|
336
|
-
[
|
|
337
|
-
),
|
|
338
|
-
|
|
339
|
-
i.current.complete =
|
|
340
|
-
}, [i,
|
|
341
|
-
const
|
|
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
|
-
),
|
|
347
|
+
), S = fe(
|
|
347
348
|
(t) => {
|
|
348
|
-
i.current.errorKey = t,
|
|
349
|
+
i.current.errorKey = t, be(t);
|
|
349
350
|
},
|
|
350
351
|
[i]
|
|
351
|
-
),
|
|
352
|
+
), De = fe(
|
|
352
353
|
(t) => {
|
|
353
|
-
i.current.complete = t && (!a ||
|
|
354
|
+
i.current.complete = t && (!a || P), J(t);
|
|
354
355
|
},
|
|
355
|
-
[i, a,
|
|
356
|
-
),
|
|
357
|
-
|
|
358
|
-
|
|
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
|
-
|
|
367
|
+
Z,
|
|
368
|
+
w,
|
|
369
|
+
W
|
|
365
370
|
]);
|
|
366
|
-
const
|
|
371
|
+
const G = fe(
|
|
367
372
|
async (t) => {
|
|
368
|
-
var
|
|
369
|
-
if (t && t.preventDefault(), !
|
|
370
|
-
|
|
371
|
-
const
|
|
372
|
-
var
|
|
373
|
-
const
|
|
374
|
-
|
|
375
|
-
code:
|
|
376
|
-
translatedMessage:
|
|
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
|
-
},
|
|
379
|
-
if (
|
|
380
|
-
|
|
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:
|
|
383
|
-
}),
|
|
387
|
+
translatedMessage: l("payment.error.invalidReturnUrl")
|
|
388
|
+
}), R(!1), N.current = !1;
|
|
384
389
|
return;
|
|
385
390
|
}
|
|
386
|
-
const
|
|
387
|
-
|
|
388
|
-
|
|
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
|
|
391
|
-
if (
|
|
392
|
-
const { error:
|
|
393
|
-
if (!
|
|
394
|
-
if (
|
|
395
|
-
|
|
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
|
|
400
|
-
const
|
|
423
|
+
let ee;
|
|
424
|
+
const re = b.current, te = () => a && re !== b.current;
|
|
401
425
|
if (a) {
|
|
402
|
-
const
|
|
403
|
-
if (!
|
|
404
|
-
if (
|
|
405
|
-
|
|
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 (!(
|
|
409
|
-
|
|
432
|
+
if (!(pe != null && pe.complete)) {
|
|
433
|
+
f("billing_address_incomplete", void 0);
|
|
410
434
|
return;
|
|
411
435
|
}
|
|
412
|
-
const
|
|
413
|
-
|
|
414
|
-
name:
|
|
436
|
+
const j = pe.value;
|
|
437
|
+
ee = {
|
|
438
|
+
name: j.name,
|
|
415
439
|
address: {
|
|
416
|
-
line1:
|
|
417
|
-
line2:
|
|
418
|
-
city:
|
|
419
|
-
state:
|
|
420
|
-
postalCode:
|
|
421
|
-
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 (
|
|
426
|
-
await ((
|
|
449
|
+
if (z === void 0 && !B) {
|
|
450
|
+
await ((xe = ue.current) == null ? void 0 : xe.call(ue));
|
|
427
451
|
return;
|
|
428
452
|
}
|
|
429
|
-
if (
|
|
453
|
+
if (ee && Ce) {
|
|
430
454
|
try {
|
|
431
|
-
await
|
|
455
|
+
await Ce(ee);
|
|
432
456
|
} catch {
|
|
433
|
-
|
|
457
|
+
c.current && f("billing_details_save", void 0);
|
|
434
458
|
return;
|
|
435
459
|
}
|
|
436
|
-
if (!
|
|
460
|
+
if (!c.current) return;
|
|
437
461
|
}
|
|
438
|
-
if (
|
|
439
|
-
|
|
462
|
+
if (te()) {
|
|
463
|
+
f("billing_details_changed", void 0);
|
|
440
464
|
return;
|
|
441
465
|
}
|
|
442
|
-
if (
|
|
466
|
+
if (z === void 0 && B && (C = await B(), !c.current))
|
|
443
467
|
return;
|
|
444
|
-
if (
|
|
445
|
-
|
|
468
|
+
if (te()) {
|
|
469
|
+
f("billing_details_changed", void 0);
|
|
446
470
|
return;
|
|
447
471
|
}
|
|
448
|
-
const
|
|
449
|
-
elements:
|
|
450
|
-
...
|
|
451
|
-
confirmParams:
|
|
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 (!
|
|
455
|
-
if (
|
|
456
|
-
|
|
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
|
|
460
|
-
if (
|
|
461
|
-
|
|
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
|
-
(
|
|
487
|
+
(Ae = ce.current) == null || Ae.call(ce, v.status, v.id);
|
|
464
488
|
} catch {
|
|
465
489
|
}
|
|
466
|
-
|
|
467
|
-
} catch (
|
|
468
|
-
|
|
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
|
-
|
|
494
|
+
c.current && !me && (N.current = !1, R(!1), i.current.status === "processing" && p("idle"));
|
|
471
495
|
}
|
|
472
496
|
},
|
|
473
497
|
[
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
498
|
+
U,
|
|
499
|
+
x,
|
|
500
|
+
I,
|
|
501
|
+
z,
|
|
502
|
+
B,
|
|
479
503
|
a,
|
|
480
|
-
|
|
504
|
+
l,
|
|
481
505
|
i,
|
|
482
|
-
|
|
483
|
-
|
|
506
|
+
S,
|
|
507
|
+
p
|
|
484
508
|
]
|
|
485
509
|
);
|
|
486
|
-
|
|
487
|
-
const t = document.getElementById(
|
|
510
|
+
K(() => {
|
|
511
|
+
const t = document.getElementById(A);
|
|
488
512
|
if (!t) return;
|
|
489
|
-
const
|
|
490
|
-
|
|
513
|
+
const f = () => {
|
|
514
|
+
G();
|
|
491
515
|
};
|
|
492
|
-
return t.addEventListener("payment-form:submit",
|
|
493
|
-
}, [
|
|
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 =
|
|
496
|
-
t.submit ===
|
|
519
|
+
return t.submit = G, () => {
|
|
520
|
+
t.submit === G && (t.submit = void 0);
|
|
497
521
|
};
|
|
498
|
-
}, [i,
|
|
522
|
+
}, [i, G]), K(() => {
|
|
499
523
|
const t = i.current;
|
|
500
|
-
return
|
|
501
|
-
|
|
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
|
|
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:
|
|
509
|
-
onSubmit:
|
|
532
|
+
id: A,
|
|
533
|
+
onSubmit: G,
|
|
510
534
|
onReset: () => {
|
|
511
|
-
|
|
535
|
+
N.current || (S(null), u(""), p("idle"), i.current.paymentIntentId = null);
|
|
512
536
|
},
|
|
513
|
-
"aria-label":
|
|
514
|
-
"aria-busy":
|
|
537
|
+
"aria-label": l("payment.ariaLabel"),
|
|
538
|
+
"aria-busy": _ || void 0,
|
|
515
539
|
noValidate: !0,
|
|
516
|
-
children: /* @__PURE__ */
|
|
517
|
-
/* @__PURE__ */
|
|
518
|
-
/* @__PURE__ */ n("span", { className:
|
|
519
|
-
/* @__PURE__ */ n("span", { className: "type-title-card", "data-testid": "payment-amount", children:
|
|
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__ */
|
|
545
|
+
/* @__PURE__ */ h(
|
|
522
546
|
"label",
|
|
523
547
|
{
|
|
524
|
-
htmlFor:
|
|
525
|
-
className:
|
|
548
|
+
htmlFor: ie,
|
|
549
|
+
className: ge(),
|
|
526
550
|
"data-testid": "payment-field",
|
|
527
551
|
children: [
|
|
528
|
-
/* @__PURE__ */ n("span", { className:
|
|
552
|
+
/* @__PURE__ */ n("span", { className: H(), children: l("payment.fields.card") }),
|
|
529
553
|
/* @__PURE__ */ n(
|
|
530
|
-
|
|
554
|
+
We,
|
|
531
555
|
{
|
|
532
|
-
id:
|
|
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:
|
|
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
|
-
|
|
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
|
-
|
|
577
|
+
m ? /* @__PURE__ */ h(
|
|
548
578
|
"label",
|
|
549
579
|
{
|
|
550
|
-
htmlFor:
|
|
551
|
-
className:
|
|
580
|
+
htmlFor: oe,
|
|
581
|
+
className: ge(),
|
|
552
582
|
"data-testid": "payment-address",
|
|
553
583
|
children: [
|
|
554
|
-
/* @__PURE__ */ n("span", { className:
|
|
584
|
+
/* @__PURE__ */ n("span", { className: H(), children: l("payment.billingAddress") }),
|
|
555
585
|
/* @__PURE__ */ n(
|
|
556
|
-
|
|
586
|
+
Fe,
|
|
557
587
|
{
|
|
558
|
-
id:
|
|
588
|
+
id: oe,
|
|
559
589
|
options: {
|
|
560
590
|
mode: "billing",
|
|
561
|
-
...
|
|
591
|
+
...q ? { defaultValues: q } : {}
|
|
562
592
|
},
|
|
563
593
|
onChange: (t) => {
|
|
564
|
-
|
|
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
|
-
|
|
572
|
-
|
|
601
|
+
Q ? /* @__PURE__ */ n(
|
|
602
|
+
Ne,
|
|
573
603
|
{
|
|
574
|
-
id:
|
|
604
|
+
id: E,
|
|
575
605
|
variant: "error",
|
|
576
606
|
live: "polite",
|
|
577
607
|
"data-testid": "payment-error",
|
|
578
|
-
children: /* @__PURE__ */ 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":
|
|
586
|
-
"aria-busy":
|
|
587
|
-
"aria-describedby":
|
|
588
|
-
className:
|
|
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:
|
|
620
|
+
children: _ ? /* @__PURE__ */ h(Me, { children: [
|
|
591
621
|
/* @__PURE__ */ n(
|
|
592
|
-
|
|
622
|
+
Le,
|
|
593
623
|
{
|
|
594
624
|
variant: "pulse",
|
|
595
625
|
size: "sm",
|
|
596
|
-
label:
|
|
626
|
+
label: l("payment.processing")
|
|
597
627
|
}
|
|
598
628
|
),
|
|
599
|
-
/* @__PURE__ */ n("span", { children:
|
|
600
|
-
] }) : /* @__PURE__ */ n("span", { children:
|
|
601
|
-
amount:
|
|
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
|
|
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
|
|
691
|
+
function nr(r) {
|
|
662
692
|
if (!r) return "auto";
|
|
663
693
|
const s = r === "cn" ? "zh" : r;
|
|
664
|
-
if (
|
|
694
|
+
if (Ke.has(s))
|
|
665
695
|
return s;
|
|
666
696
|
const o = s.split("-")[0];
|
|
667
|
-
return
|
|
697
|
+
return Ke.has(o) ? o : "auto";
|
|
668
698
|
}
|
|
669
|
-
const
|
|
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:
|
|
705
|
+
onCreatePaymentIntent: m,
|
|
676
706
|
onPreviewValidated: a,
|
|
677
707
|
publishableKey: d,
|
|
678
|
-
stripeAccount:
|
|
679
|
-
currency:
|
|
680
|
-
amount:
|
|
681
|
-
onSuccess:
|
|
682
|
-
onPaymentStatusChange:
|
|
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:
|
|
716
|
+
defaultBillingDetails: Z,
|
|
717
|
+
billingDetails: se,
|
|
687
718
|
onBillingDetails: i,
|
|
688
|
-
locale:
|
|
689
|
-
ariaLabel:
|
|
690
|
-
returnUrl:
|
|
691
|
-
stripePromise:
|
|
692
|
-
layout:
|
|
693
|
-
className:
|
|
694
|
-
},
|
|
695
|
-
const { i18n:
|
|
696
|
-
() => ({ injectedStripe:
|
|
697
|
-
[
|
|
698
|
-
), [
|
|
699
|
-
source:
|
|
700
|
-
instance:
|
|
701
|
-
})),
|
|
702
|
-
|
|
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:
|
|
705
|
-
publishableKey:
|
|
706
|
-
stripeAccount:
|
|
707
|
-
} =
|
|
708
|
-
|
|
709
|
-
}, [
|
|
710
|
-
const [
|
|
711
|
-
() =>
|
|
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
|
-
|
|
714
|
-
const
|
|
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
|
-
}),
|
|
750
|
+
}), Q = ye(
|
|
720
751
|
() => ({
|
|
721
752
|
submit: async () => {
|
|
722
|
-
const
|
|
723
|
-
|
|
753
|
+
const y = b.current.submit;
|
|
754
|
+
y && await y();
|
|
724
755
|
},
|
|
725
756
|
reset: () => {
|
|
726
|
-
var
|
|
727
|
-
const
|
|
728
|
-
|
|
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: () =>
|
|
731
|
-
isComplete: () =>
|
|
732
|
-
getErrorKey: () =>
|
|
733
|
-
getPaymentIntentId: () =>
|
|
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
|
-
|
|
738
|
-
const
|
|
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:
|
|
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:
|
|
749
|
-
currency:
|
|
779
|
+
amount: I,
|
|
780
|
+
currency: w.toLowerCase(),
|
|
750
781
|
...e ? { paymentMethodTypes: ["card"] } : {},
|
|
751
|
-
appearance:
|
|
752
|
-
locale:
|
|
782
|
+
appearance: J,
|
|
783
|
+
locale: E
|
|
753
784
|
}
|
|
754
785
|
),
|
|
755
786
|
[
|
|
756
787
|
s,
|
|
757
788
|
o,
|
|
758
789
|
e,
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
790
|
+
I,
|
|
791
|
+
w,
|
|
792
|
+
J,
|
|
793
|
+
E
|
|
763
794
|
]
|
|
764
795
|
);
|
|
765
796
|
return /* @__PURE__ */ n(
|
|
766
797
|
"div",
|
|
767
798
|
{
|
|
768
|
-
ref:
|
|
769
|
-
"aria-label":
|
|
770
|
-
className: [
|
|
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:
|
|
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
|
-
|
|
811
|
+
qe,
|
|
781
812
|
{
|
|
782
|
-
stripe:
|
|
783
|
-
options:
|
|
813
|
+
stripe: T,
|
|
814
|
+
options: be,
|
|
784
815
|
children: /* @__PURE__ */ n(
|
|
785
|
-
|
|
816
|
+
tr,
|
|
786
817
|
{
|
|
787
|
-
amount:
|
|
788
|
-
currency:
|
|
789
|
-
locale:
|
|
790
|
-
billingAddress:
|
|
791
|
-
requireBillingAddress:
|
|
792
|
-
defaultBillingDetails:
|
|
793
|
-
|
|
794
|
-
|
|
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:
|
|
828
|
+
onCreatePaymentIntent: m,
|
|
797
829
|
onPreviewValidated: a,
|
|
798
|
-
onSuccess:
|
|
799
|
-
onPaymentStatusChange:
|
|
830
|
+
onSuccess: z,
|
|
831
|
+
onPaymentStatusChange: B,
|
|
800
832
|
onError: W,
|
|
801
|
-
layout:
|
|
802
|
-
agentBridge:
|
|
833
|
+
layout: ae,
|
|
834
|
+
agentBridge: b
|
|
803
835
|
}
|
|
804
836
|
)
|
|
805
837
|
},
|
|
806
|
-
s ?? `deferred:${o}:${
|
|
838
|
+
`${s ?? `deferred:${o}:${I}:${w}:${e}`}:${_}`
|
|
807
839
|
)
|
|
808
840
|
) : /* @__PURE__ */ n(
|
|
809
|
-
|
|
841
|
+
ar,
|
|
810
842
|
{
|
|
811
|
-
amount:
|
|
812
|
-
currency:
|
|
813
|
-
locale:
|
|
814
|
-
billingAddress:
|
|
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
|
-
|
|
822
|
-
function
|
|
823
|
-
const { amount: s, currency: o, locale: e, billingAddress:
|
|
824
|
-
return /* @__PURE__ */
|
|
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__ */
|
|
832
|
-
/* @__PURE__ */ n("span", { className:
|
|
833
|
-
/* @__PURE__ */ n("span", { className: "type-title-card", children:
|
|
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__ */
|
|
836
|
-
/* @__PURE__ */ n("span", { className:
|
|
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
|
-
|
|
846
|
-
/* @__PURE__ */ n("span", { className:
|
|
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__ */
|
|
887
|
+
/* @__PURE__ */ h(
|
|
856
888
|
"button",
|
|
857
889
|
{
|
|
858
890
|
type: "button",
|
|
859
891
|
"aria-disabled": "true",
|
|
860
|
-
className:
|
|
892
|
+
className: Re(),
|
|
861
893
|
disabled: !0,
|
|
862
894
|
children: [
|
|
863
|
-
/* @__PURE__ */ n(
|
|
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
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
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-
|
|
913
|
+
//# sourceMappingURL=payment-form-B08gHZIY.js.map
|