@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,19 +1,19 @@
|
|
|
1
1
|
import { jsxs as m, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import * as
|
|
6
|
-
import { R as
|
|
7
|
-
import { c as
|
|
8
|
-
import { useTranslation as
|
|
9
|
-
import { getCountries as
|
|
10
|
-
import { u as
|
|
11
|
-
import { c as
|
|
12
|
-
import { n as
|
|
13
|
-
import { b as
|
|
14
|
-
import { a as
|
|
15
|
-
import { C as
|
|
16
|
-
const
|
|
2
|
+
import { forwardRef as Je, useContext as Qe, useMemo as v, useState as q, useRef as b, useEffect as de, useCallback as G } from "react";
|
|
3
|
+
import { u as Xe } from "./registry-DvAUVLHh.js";
|
|
4
|
+
import { u as et } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
5
|
+
import * as U from "@radix-ui/react-popover";
|
|
6
|
+
import { R as tt, _ as I } from "./index-4xgbg-sn.js";
|
|
7
|
+
import { c as pe } from "./index-D2ZczOXr.js";
|
|
8
|
+
import { useTranslation as nt } from "react-i18next";
|
|
9
|
+
import { getCountries as st, parsePhoneNumberFromString as P, AsYouType as O, getCountryCallingCode as ot } from "libphonenumber-js/min";
|
|
10
|
+
import { u as rt, F as at, a as it } from "./form-field-context-DtiROUJV.js";
|
|
11
|
+
import { c as dt } from "./compose-refs-C0k0tdqF.js";
|
|
12
|
+
import { n as le } from "./normalize-diacritics-BNGbFNlJ.js";
|
|
13
|
+
import { b as lt } from "./menu-row-BAr8bx1I.js";
|
|
14
|
+
import { a as ue } from "./flag-DVBE6DnB.js";
|
|
15
|
+
import { C as ut } from "./chevron-down-DWE7GSq9.js";
|
|
16
|
+
const ct = {
|
|
17
17
|
id: "phone-input",
|
|
18
18
|
// A phone number is a single form value, not free-form rich text — `set_value`
|
|
19
19
|
// (not `edit_inline`, which is reserved for in-place rich/cell editing).
|
|
@@ -86,16 +86,18 @@ const We = {
|
|
|
86
86
|
description: "Sourced from the id prop."
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
},
|
|
89
|
+
}, pt = pe(
|
|
90
90
|
[
|
|
91
91
|
"ds:group ds:relative ds:inline-flex ds:items-stretch ds:w-full",
|
|
92
92
|
"ds:rounded-[var(--radius-sm)] ds:border ds:border-border ds:bg-input",
|
|
93
93
|
"ds:shadow-[var(--shadow-input)]",
|
|
94
94
|
"ds:text-foreground",
|
|
95
95
|
"ds:transition-[colors,box-shadow] ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
"ds:
|
|
96
|
+
/* The ring is for the number field only. The country button draws its
|
|
97
|
+
own, and `focus-within` here would draw a second one around it. */
|
|
98
|
+
"ds:has-[input:focus]:outline-[length:var(--focus-ring-width)] ds:has-[input:focus]:outline-solid",
|
|
99
|
+
"ds:has-[input:focus]:outline-ring ds:has-[input:focus]:outline-offset-[length:var(--focus-ring-offset)]",
|
|
100
|
+
"ds:forced-colors:has-[input:focus]:outline-[CanvasText]",
|
|
99
101
|
"ds:has-[:disabled]:cursor-not-allowed ds:has-[:disabled]:opacity-50"
|
|
100
102
|
].join(" "),
|
|
101
103
|
{
|
|
@@ -107,7 +109,7 @@ const We = {
|
|
|
107
109
|
},
|
|
108
110
|
tone: {
|
|
109
111
|
default: "",
|
|
110
|
-
error: "ds:border-destructive ds:
|
|
112
|
+
error: "ds:border-destructive ds:has-[input:focus]:outline-destructive"
|
|
111
113
|
}
|
|
112
114
|
},
|
|
113
115
|
defaultVariants: {
|
|
@@ -115,7 +117,7 @@ const We = {
|
|
|
115
117
|
tone: "default"
|
|
116
118
|
}
|
|
117
119
|
}
|
|
118
|
-
),
|
|
120
|
+
), we = pe(
|
|
119
121
|
[
|
|
120
122
|
"ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
121
123
|
"ds:bg-transparent ds:text-foreground",
|
|
@@ -139,7 +141,7 @@ const We = {
|
|
|
139
141
|
},
|
|
140
142
|
defaultVariants: { size: "md" }
|
|
141
143
|
}
|
|
142
|
-
),
|
|
144
|
+
), ft = pe(
|
|
143
145
|
[
|
|
144
146
|
"ds:flex-1 ds:min-w-0 ds:bg-transparent ds:text-foreground ds:placeholder:text-muted-foreground",
|
|
145
147
|
"ds:border-0 ds:outline-none",
|
|
@@ -156,7 +158,7 @@ const We = {
|
|
|
156
158
|
},
|
|
157
159
|
defaultVariants: { size: "md" }
|
|
158
160
|
}
|
|
159
|
-
),
|
|
161
|
+
), mt = [
|
|
160
162
|
"ds:z-[var(--z-popover)] ds:overflow-hidden ds:w-72",
|
|
161
163
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-border ds:bg-background ds:text-foreground",
|
|
162
164
|
"ds:shadow-[var(--shadow-lg)]",
|
|
@@ -166,49 +168,49 @@ const We = {
|
|
|
166
168
|
"ds:data-[side=bottom]:slide-in-from-top-2",
|
|
167
169
|
"ds:data-[side=top]:slide-in-from-bottom-2",
|
|
168
170
|
"ds:motion-reduce:animate-none"
|
|
169
|
-
].join(" "),
|
|
171
|
+
].join(" "), ht = [
|
|
170
172
|
"ds:w-full ds:bg-transparent ds:text-foreground ds:placeholder:text-muted-foreground",
|
|
171
173
|
"ds:border-0 ds:border-b ds:border-b-border ds:outline-none",
|
|
172
174
|
"ds:ps-3 ds:pe-3 ds:py-2 ds:text-[var(--font-size-sm)]",
|
|
173
175
|
"ds:focus:outline-none"
|
|
174
|
-
].join(" "),
|
|
176
|
+
].join(" "), gt = "ds:max-h-72 ds:overflow-y-auto ds:p-[var(--spacing-xs)]", vt = [
|
|
175
177
|
"ds:relative ds:flex ds:cursor-pointer ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
176
178
|
"ds:rounded-[var(--radius-sm)] ds:ps-3 ds:pe-3 ds:py-2 ds:text-[var(--font-size-sm)]",
|
|
177
179
|
"ds:text-foreground ds:outline-none ds:select-none",
|
|
178
|
-
|
|
179
|
-
].join(" "),
|
|
180
|
+
lt.selected
|
|
181
|
+
].join(" "), ze = [
|
|
180
182
|
"ds:ps-3 ds:pe-3 ds:py-1.5",
|
|
181
183
|
"type-eyebrow ds:text-muted-foreground"
|
|
182
|
-
].join(" "),
|
|
184
|
+
].join(" "), bt = "ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", yt = {
|
|
183
185
|
sm: "ds:size-3.5",
|
|
184
186
|
md: "ds:size-4",
|
|
185
187
|
lg: "ds:size-5"
|
|
186
|
-
},
|
|
188
|
+
}, ce = {
|
|
187
189
|
sm: "sm",
|
|
188
190
|
md: "md",
|
|
189
191
|
lg: "lg"
|
|
190
192
|
};
|
|
191
|
-
function
|
|
192
|
-
let
|
|
193
|
+
function Ct(s, a) {
|
|
194
|
+
let c = 0;
|
|
193
195
|
for (let o = 0; o < a && o < s.length; o++)
|
|
194
|
-
s[o] >= "0" && s[o] <= "9" &&
|
|
195
|
-
return
|
|
196
|
+
s[o] >= "0" && s[o] <= "9" && c++;
|
|
197
|
+
return c;
|
|
196
198
|
}
|
|
197
|
-
function
|
|
199
|
+
function xt(s, a) {
|
|
198
200
|
if (a === 0) return 0;
|
|
199
|
-
let
|
|
201
|
+
let c = 0;
|
|
200
202
|
for (let o = 0; o < s.length; o++)
|
|
201
|
-
if (s[o] >= "0" && s[o] <= "9" && (
|
|
203
|
+
if (s[o] >= "0" && s[o] <= "9" && (c++, c === a))
|
|
202
204
|
return o + 1;
|
|
203
205
|
return s.length;
|
|
204
206
|
}
|
|
205
|
-
function
|
|
206
|
-
const i = f && f.length ? new Set(f) : null, d = (
|
|
207
|
+
function Re(s, a, c, o, f) {
|
|
208
|
+
const i = f && f.length ? new Set(f) : null, d = (C) => a.has(C) && (!i || i.has(C));
|
|
207
209
|
if (s && d(s)) return s;
|
|
208
|
-
if (
|
|
209
|
-
const
|
|
210
|
-
if (
|
|
211
|
-
const y =
|
|
210
|
+
if (c) {
|
|
211
|
+
const C = typeof navigator < "u" ? navigator.language : void 0;
|
|
212
|
+
if (C) {
|
|
213
|
+
const y = C.match(/-([A-Za-z]{2})/);
|
|
212
214
|
if (y) {
|
|
213
215
|
const S = y[1].toUpperCase();
|
|
214
216
|
if (d(S)) return S;
|
|
@@ -223,110 +225,113 @@ function me(s, a, l, o, f) {
|
|
|
223
225
|
}
|
|
224
226
|
return i ? f[0] : "IT";
|
|
225
227
|
}
|
|
226
|
-
function
|
|
227
|
-
let
|
|
228
|
+
function Nt(s, a) {
|
|
229
|
+
let c;
|
|
228
230
|
try {
|
|
229
|
-
|
|
231
|
+
c = new Intl.DisplayNames([s], { type: "region" });
|
|
230
232
|
} catch {
|
|
231
|
-
|
|
233
|
+
c = new Intl.DisplayNames(["en"], { type: "region" });
|
|
232
234
|
}
|
|
233
235
|
const o = a.map((i) => ({
|
|
234
236
|
code: i,
|
|
235
|
-
name:
|
|
236
|
-
dialCode:
|
|
237
|
+
name: c.of(i) ?? i,
|
|
238
|
+
dialCode: ot(i)
|
|
237
239
|
})), f = new Intl.Collator(s);
|
|
238
240
|
return o.sort((i, d) => f.compare(i.name, d.name));
|
|
239
241
|
}
|
|
240
|
-
const
|
|
242
|
+
const It = Je(
|
|
241
243
|
function({
|
|
242
244
|
value: a,
|
|
243
|
-
defaultValue:
|
|
245
|
+
defaultValue: c,
|
|
244
246
|
defaultCountry: o,
|
|
245
247
|
detectBrowserCountry: f = !1,
|
|
246
248
|
onChange: i,
|
|
247
249
|
size: d = "md",
|
|
248
|
-
tone:
|
|
250
|
+
tone: C = "default",
|
|
249
251
|
disabled: y,
|
|
250
252
|
readOnly: S,
|
|
251
|
-
placeholder:
|
|
253
|
+
placeholder: Se,
|
|
252
254
|
popularCountries: V,
|
|
253
|
-
allowedCountries:
|
|
254
|
-
className:
|
|
255
|
-
id:
|
|
256
|
-
name:
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
255
|
+
allowedCountries: T,
|
|
256
|
+
className: Ee,
|
|
257
|
+
id: L,
|
|
258
|
+
name: W,
|
|
259
|
+
nameFormat: ke = "national",
|
|
260
|
+
required: Fe,
|
|
261
|
+
onBlur: Y,
|
|
262
|
+
"aria-label": Pe
|
|
263
|
+
}, Ve) {
|
|
264
|
+
var Ne;
|
|
265
|
+
const { t: w, i18n: E } = nt("ui"), z = rt(), k = Qe(at) !== null, h = v(
|
|
266
|
+
() => new Set(st()),
|
|
262
267
|
[]
|
|
263
|
-
),
|
|
264
|
-
if (!
|
|
265
|
-
const e = /* @__PURE__ */ new Set(), t =
|
|
268
|
+
), p = v(() => {
|
|
269
|
+
if (!T || T.length === 0) return null;
|
|
270
|
+
const e = /* @__PURE__ */ new Set(), t = T.filter((n) => !h.has(n) || e.has(n) ? !1 : (e.add(n), !0));
|
|
266
271
|
return t.length > 0 ? t : null;
|
|
267
|
-
}, [
|
|
268
|
-
const e =
|
|
272
|
+
}, [T, h]), Te = p !== null && p.length === 1, Z = v(() => {
|
|
273
|
+
const e = Re(
|
|
269
274
|
o,
|
|
270
275
|
h,
|
|
271
276
|
f,
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
), t = a ??
|
|
277
|
+
E.language,
|
|
278
|
+
p
|
|
279
|
+
), t = a ?? c;
|
|
275
280
|
if (t) {
|
|
276
|
-
const n =
|
|
277
|
-
return n != null && n.country ? !
|
|
281
|
+
const n = P(t);
|
|
282
|
+
return n != null && n.country ? !p || p.includes(n.country) ? {
|
|
278
283
|
country: n.country,
|
|
279
284
|
display: n.formatNational(),
|
|
280
285
|
pinned: !0
|
|
281
286
|
} : {
|
|
282
287
|
country: e,
|
|
283
|
-
display: new
|
|
288
|
+
display: new O(e).input(
|
|
284
289
|
n.nationalNumber
|
|
285
290
|
),
|
|
286
291
|
pinned: !0
|
|
287
292
|
} : { country: e, display: t, pinned: !1 };
|
|
288
293
|
}
|
|
289
294
|
return { country: e, display: "", pinned: !1 };
|
|
290
|
-
}, []), [
|
|
291
|
-
|
|
292
|
-
), [
|
|
293
|
-
|
|
294
|
-
if (
|
|
295
|
-
const e =
|
|
295
|
+
}, []), [l, j] = q(Z.country), [J, g] = q(
|
|
296
|
+
Z.display
|
|
297
|
+
), [Q, X] = q(!1), [Le, fe] = q(""), me = a !== void 0, ee = b(""), D = b(null), A = b(Z.pinned), B = b(null), je = dt(Ve, B), he = b(null), ge = b(null);
|
|
298
|
+
de(() => {
|
|
299
|
+
if (A.current) return;
|
|
300
|
+
const e = Re(
|
|
296
301
|
o,
|
|
297
302
|
h,
|
|
298
303
|
f,
|
|
299
|
-
|
|
300
|
-
|
|
304
|
+
E.language,
|
|
305
|
+
p
|
|
301
306
|
);
|
|
302
|
-
|
|
307
|
+
j((t) => t === e ? t : e);
|
|
303
308
|
}, [
|
|
304
|
-
|
|
309
|
+
E.language,
|
|
305
310
|
o,
|
|
306
311
|
h,
|
|
307
312
|
f,
|
|
308
|
-
|
|
309
|
-
]),
|
|
310
|
-
if (!
|
|
313
|
+
p
|
|
314
|
+
]), de(() => {
|
|
315
|
+
if (!me) return;
|
|
311
316
|
const e = a ?? "";
|
|
312
|
-
if (e ===
|
|
317
|
+
if (e === ee.current) return;
|
|
313
318
|
if (e === "") {
|
|
314
319
|
g("");
|
|
315
320
|
return;
|
|
316
321
|
}
|
|
317
|
-
const t =
|
|
318
|
-
t != null && t.country && (!
|
|
319
|
-
}, [a,
|
|
320
|
-
if (
|
|
321
|
-
const e =
|
|
322
|
-
|
|
323
|
-
const t =
|
|
322
|
+
const t = P(e);
|
|
323
|
+
t != null && t.country && (!p || p.includes(t.country)) ? (A.current = !0, j(t.country), g(t.formatNational())) : g(t ? t.formatNational() : e);
|
|
324
|
+
}, [a, me, p]), et(() => {
|
|
325
|
+
if (D.current == null) return;
|
|
326
|
+
const e = D.current;
|
|
327
|
+
D.current = null;
|
|
328
|
+
const t = B.current;
|
|
324
329
|
t && document.activeElement === t && t.setSelectionRange(e, e);
|
|
325
330
|
});
|
|
326
|
-
const
|
|
331
|
+
const x = G(
|
|
327
332
|
(e, t) => {
|
|
328
|
-
const n =
|
|
329
|
-
|
|
333
|
+
const n = P(e, t), u = (n == null ? void 0 : n.number) ?? "";
|
|
334
|
+
ee.current = u, i == null || i(u, {
|
|
330
335
|
country: t,
|
|
331
336
|
isValid: (n == null ? void 0 : n.isValid()) ?? !1,
|
|
332
337
|
isPossible: (n == null ? void 0 : n.isPossible()) ?? !1,
|
|
@@ -334,88 +339,119 @@ const at = De(
|
|
|
334
339
|
});
|
|
335
340
|
},
|
|
336
341
|
[i]
|
|
337
|
-
),
|
|
342
|
+
), De = it(z, L), Ae = L ?? (k ? De : void 0), te = (k ? z.disabled : !1) || !!y, Be = (k ? z.required : !1) || !!Fe, ve = k ? z.invalid : !1, $e = ve ? "error" : C, He = k && z.describedBy ? z.describedBy : void 0, Ke = Se ?? w("inputs.phone.placeholder", "Phone number"), $ = b(Y);
|
|
343
|
+
$.current = Y;
|
|
344
|
+
const ne = b(!1), H = b(!1), K = G(
|
|
345
|
+
(e) => {
|
|
346
|
+
var t, n;
|
|
347
|
+
return e instanceof Node && !!((t = he.current) != null && t.contains(e) || (n = ge.current) != null && n.contains(e));
|
|
348
|
+
},
|
|
349
|
+
[]
|
|
350
|
+
), se = G(() => {
|
|
351
|
+
var e;
|
|
352
|
+
ne.current && (ne.current = !1, (e = $.current) == null || e.call($));
|
|
353
|
+
}, []), Me = () => {
|
|
354
|
+
ne.current = !0;
|
|
355
|
+
}, _e = (e) => {
|
|
356
|
+
const t = e.relatedTarget;
|
|
357
|
+
K(t) || t === null && H.current || se();
|
|
358
|
+
}, be = Y !== void 0;
|
|
359
|
+
de(() => {
|
|
360
|
+
if (!be) return;
|
|
361
|
+
let e;
|
|
362
|
+
const t = (u) => {
|
|
363
|
+
H.current = K(u.target), !H.current && (e = window.setTimeout(() => {
|
|
364
|
+
K(document.activeElement) || se();
|
|
365
|
+
}, 0));
|
|
366
|
+
}, n = () => {
|
|
367
|
+
H.current = !1;
|
|
368
|
+
};
|
|
369
|
+
return document.addEventListener("pointerdown", t, !0), document.addEventListener("pointerup", n, !0), document.addEventListener("pointercancel", n, !0), () => {
|
|
370
|
+
window.clearTimeout(e), document.removeEventListener("pointerdown", t, !0), document.removeEventListener("pointerup", n, !0), document.removeEventListener("pointercancel", n, !0);
|
|
371
|
+
};
|
|
372
|
+
}, [be, K, se]);
|
|
373
|
+
const oe = ke === "e164" && W !== void 0, qe = oe ? ((Ne = P(J, l)) == null ? void 0 : Ne.number) ?? "" : "", Ge = (e) => {
|
|
338
374
|
if (S) return;
|
|
339
|
-
const t = e.target, n = t.value,
|
|
340
|
-
|
|
341
|
-
},
|
|
375
|
+
const t = e.target, n = t.value, u = t.selectionStart ?? n.length, R = Ct(n, u), ie = new O(l).input(n);
|
|
376
|
+
D.current = xt(ie, R), g(ie), x(ie, l);
|
|
377
|
+
}, ye = ee, Ue = v(
|
|
342
378
|
() => ({
|
|
343
|
-
getValue: () =>
|
|
379
|
+
getValue: () => ye.current,
|
|
344
380
|
setValue: (e) => {
|
|
345
381
|
if (e === "") {
|
|
346
|
-
g(""),
|
|
382
|
+
g(""), x("", l);
|
|
347
383
|
return;
|
|
348
384
|
}
|
|
349
|
-
const t =
|
|
385
|
+
const t = P(e);
|
|
350
386
|
if (t != null && t.country)
|
|
351
|
-
|
|
387
|
+
A.current = !0, j(t.country), g(t.formatNational()), x(t.formatNational(), t.country);
|
|
352
388
|
else {
|
|
353
|
-
const
|
|
354
|
-
g(
|
|
389
|
+
const u = new O(l).input(e);
|
|
390
|
+
g(u), x(u, l);
|
|
355
391
|
}
|
|
356
392
|
},
|
|
357
393
|
clear: () => {
|
|
358
|
-
g(""),
|
|
394
|
+
g(""), x("", l);
|
|
359
395
|
},
|
|
360
396
|
focus: () => {
|
|
361
397
|
var e;
|
|
362
|
-
return (e =
|
|
398
|
+
return (e = B.current) == null ? void 0 : e.focus();
|
|
363
399
|
}
|
|
364
400
|
}),
|
|
365
|
-
[
|
|
401
|
+
[l, x, ye]
|
|
366
402
|
);
|
|
367
|
-
|
|
368
|
-
const
|
|
369
|
-
if (e ===
|
|
370
|
-
|
|
403
|
+
Xe(ct, Ue, L);
|
|
404
|
+
const Oe = (e) => {
|
|
405
|
+
if (e === l) {
|
|
406
|
+
X(!1);
|
|
371
407
|
return;
|
|
372
408
|
}
|
|
373
|
-
const t =
|
|
374
|
-
|
|
375
|
-
var
|
|
376
|
-
(
|
|
409
|
+
const t = J.replace(/\D/g, ""), n = new O(e), u = t ? n.input(t) : "";
|
|
410
|
+
A.current = !0, j(e), g(u), X(!1), fe(""), x(u, e), requestAnimationFrame(() => {
|
|
411
|
+
var R;
|
|
412
|
+
(R = B.current) == null || R.focus();
|
|
377
413
|
});
|
|
378
|
-
},
|
|
379
|
-
() =>
|
|
380
|
-
|
|
381
|
-
|
|
414
|
+
}, N = v(
|
|
415
|
+
() => Nt(
|
|
416
|
+
E.language,
|
|
417
|
+
p ?? Array.from(h)
|
|
382
418
|
),
|
|
383
|
-
[
|
|
384
|
-
),
|
|
419
|
+
[E.language, h, p]
|
|
420
|
+
), F = v(() => {
|
|
385
421
|
if (!V || V.length === 0) return [];
|
|
386
|
-
const e = new Map(
|
|
422
|
+
const e = new Map(N.map((t) => [t.code, t]));
|
|
387
423
|
return V.filter((t) => h.has(t)).map((t) => e.get(t)).filter((t) => !!t);
|
|
388
|
-
}, [V,
|
|
389
|
-
() => new Set(
|
|
390
|
-
[
|
|
391
|
-
),
|
|
392
|
-
() =>
|
|
393
|
-
[
|
|
394
|
-
),
|
|
395
|
-
() =>
|
|
396
|
-
[
|
|
397
|
-
),
|
|
424
|
+
}, [V, N, h]), re = v(
|
|
425
|
+
() => new Set(F.map((e) => e.code)),
|
|
426
|
+
[F]
|
|
427
|
+
), We = v(
|
|
428
|
+
() => re.size > 0 ? N.filter((e) => !re.has(e.code)) : N,
|
|
429
|
+
[N, re]
|
|
430
|
+
), M = v(
|
|
431
|
+
() => N.find((e) => e.code === l),
|
|
432
|
+
[N, l]
|
|
433
|
+
), ae = M ? M.dialCode : "", Ce = M ? M.name : l, _ = w("inputs.phone.countryPickerLabel", "Country"), Ye = `${_}: ${Ce}, +${ae}`, Ze = G(
|
|
398
434
|
(e, t, n) => {
|
|
399
|
-
const
|
|
400
|
-
return
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
435
|
+
const u = le(e), R = le(t), Ie = n == null ? void 0 : n.map(le);
|
|
436
|
+
return tt(
|
|
437
|
+
u,
|
|
438
|
+
R,
|
|
439
|
+
Ie
|
|
404
440
|
);
|
|
405
441
|
},
|
|
406
442
|
[]
|
|
407
|
-
),
|
|
443
|
+
), xe = (e) => {
|
|
408
444
|
const t = `${e.name}, +${e.dialCode}`;
|
|
409
445
|
return /* @__PURE__ */ m(
|
|
410
|
-
|
|
446
|
+
I.Item,
|
|
411
447
|
{
|
|
412
448
|
value: e.code,
|
|
413
449
|
keywords: [e.name, e.dialCode, `+${e.dialCode}`],
|
|
414
|
-
onSelect: () =>
|
|
415
|
-
className:
|
|
450
|
+
onSelect: () => Oe(e.code),
|
|
451
|
+
className: vt,
|
|
416
452
|
"aria-label": t,
|
|
417
453
|
children: [
|
|
418
|
-
/* @__PURE__ */ r(
|
|
454
|
+
/* @__PURE__ */ r(ue, { country: e.code, size: ce[d] }),
|
|
419
455
|
/* @__PURE__ */ r("span", { className: "ds:flex-1 ds:truncate", children: e.name }),
|
|
420
456
|
/* @__PURE__ */ m("bdi", { dir: "ltr", className: "ds:text-muted-foreground ds:tabular-nums", children: [
|
|
421
457
|
"+",
|
|
@@ -429,81 +465,85 @@ const at = De(
|
|
|
429
465
|
return /* @__PURE__ */ m(
|
|
430
466
|
"div",
|
|
431
467
|
{
|
|
468
|
+
ref: he,
|
|
469
|
+
onFocus: Me,
|
|
470
|
+
onBlur: _e,
|
|
432
471
|
"data-component": "phone-input",
|
|
433
|
-
"data-component-id":
|
|
472
|
+
"data-component-id": L,
|
|
434
473
|
"data-slot": "phone-input",
|
|
435
|
-
className:
|
|
474
|
+
className: pt({
|
|
436
475
|
size: d,
|
|
437
|
-
tone:
|
|
438
|
-
className:
|
|
476
|
+
tone: $e,
|
|
477
|
+
className: Ee
|
|
439
478
|
}),
|
|
440
479
|
children: [
|
|
441
|
-
|
|
480
|
+
Te ? /* @__PURE__ */ m(
|
|
442
481
|
"span",
|
|
443
482
|
{
|
|
444
483
|
"data-slot": "phone-country-fixed",
|
|
445
|
-
className: `${
|
|
484
|
+
className: `${we({ size: d })} ds:cursor-default ds:hover:bg-transparent`,
|
|
446
485
|
children: [
|
|
447
|
-
/* @__PURE__ */ r("span", { className: "ds:sr-only", children: `${
|
|
448
|
-
/* @__PURE__ */ r(
|
|
486
|
+
/* @__PURE__ */ r("span", { className: "ds:sr-only", children: `${_}: ${Ce}` }),
|
|
487
|
+
/* @__PURE__ */ r(ue, { country: l, size: ce[d] }),
|
|
449
488
|
/* @__PURE__ */ m("bdi", { dir: "ltr", className: "ds:tabular-nums", children: [
|
|
450
489
|
"+",
|
|
451
|
-
|
|
490
|
+
ae
|
|
452
491
|
] })
|
|
453
492
|
]
|
|
454
493
|
}
|
|
455
|
-
) : /* @__PURE__ */ m(
|
|
456
|
-
/* @__PURE__ */ r(
|
|
494
|
+
) : /* @__PURE__ */ m(U.Root, { open: Q, onOpenChange: X, children: [
|
|
495
|
+
/* @__PURE__ */ r(U.Trigger, { asChild: !0, children: /* @__PURE__ */ m(
|
|
457
496
|
"button",
|
|
458
497
|
{
|
|
459
498
|
type: "button",
|
|
460
|
-
disabled:
|
|
461
|
-
"aria-haspopup": "
|
|
462
|
-
"aria-expanded":
|
|
463
|
-
"aria-label":
|
|
464
|
-
className:
|
|
499
|
+
disabled: te,
|
|
500
|
+
"aria-haspopup": "dialog",
|
|
501
|
+
"aria-expanded": Q,
|
|
502
|
+
"aria-label": Ye,
|
|
503
|
+
className: we({ size: d }),
|
|
465
504
|
children: [
|
|
466
|
-
/* @__PURE__ */ r(
|
|
505
|
+
/* @__PURE__ */ r(ue, { country: l, size: ce[d] }),
|
|
467
506
|
/* @__PURE__ */ m("bdi", { dir: "ltr", className: "ds:tabular-nums", children: [
|
|
468
507
|
"+",
|
|
469
|
-
|
|
508
|
+
ae
|
|
470
509
|
] }),
|
|
471
510
|
/* @__PURE__ */ r(
|
|
472
|
-
|
|
511
|
+
ut,
|
|
473
512
|
{
|
|
474
513
|
"aria-hidden": "true",
|
|
475
514
|
className: [
|
|
476
|
-
|
|
515
|
+
yt[d],
|
|
477
516
|
"ds:shrink-0 ds:text-muted-foreground",
|
|
478
517
|
"ds:transition-transform ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
479
|
-
|
|
518
|
+
Q ? "ds:rotate-180" : ""
|
|
480
519
|
].join(" ")
|
|
481
520
|
}
|
|
482
521
|
)
|
|
483
522
|
]
|
|
484
523
|
}
|
|
485
524
|
) }),
|
|
486
|
-
/* @__PURE__ */ r(
|
|
487
|
-
|
|
525
|
+
/* @__PURE__ */ r(U.Portal, { children: /* @__PURE__ */ r(
|
|
526
|
+
U.Content,
|
|
488
527
|
{
|
|
528
|
+
ref: ge,
|
|
489
529
|
sideOffset: 6,
|
|
490
530
|
align: "start",
|
|
491
|
-
"aria-label":
|
|
492
|
-
className:
|
|
531
|
+
"aria-label": _,
|
|
532
|
+
className: mt,
|
|
493
533
|
children: /* @__PURE__ */ m(
|
|
494
|
-
|
|
534
|
+
I,
|
|
495
535
|
{
|
|
496
|
-
filter:
|
|
536
|
+
filter: Ze,
|
|
497
537
|
shouldFilter: !0,
|
|
498
538
|
loop: !0,
|
|
499
|
-
label:
|
|
539
|
+
label: _,
|
|
500
540
|
children: [
|
|
501
541
|
/* @__PURE__ */ r(
|
|
502
|
-
|
|
542
|
+
I.Input,
|
|
503
543
|
{
|
|
504
544
|
asChild: !0,
|
|
505
|
-
value:
|
|
506
|
-
onValueChange:
|
|
545
|
+
value: Le,
|
|
546
|
+
onValueChange: fe,
|
|
507
547
|
children: /* @__PURE__ */ r(
|
|
508
548
|
"input",
|
|
509
549
|
{
|
|
@@ -516,25 +556,25 @@ const at = De(
|
|
|
516
556
|
"inputs.phone.searchCountry",
|
|
517
557
|
"Search countries…"
|
|
518
558
|
),
|
|
519
|
-
className:
|
|
559
|
+
className: ht
|
|
520
560
|
}
|
|
521
561
|
)
|
|
522
562
|
}
|
|
523
563
|
),
|
|
524
|
-
/* @__PURE__ */ m(
|
|
525
|
-
/* @__PURE__ */ r(
|
|
526
|
-
|
|
527
|
-
|
|
564
|
+
/* @__PURE__ */ m(I.List, { className: gt, children: [
|
|
565
|
+
/* @__PURE__ */ r(I.Empty, { className: bt, children: w("inputs.phone.noCountryFound", "No country found") }),
|
|
566
|
+
F.length > 0 ? /* @__PURE__ */ r(
|
|
567
|
+
I.Group,
|
|
528
568
|
{
|
|
529
|
-
heading: /* @__PURE__ */ r("span", { className:
|
|
530
|
-
children:
|
|
569
|
+
heading: /* @__PURE__ */ r("span", { className: ze, children: w("inputs.phone.popularCountries", "Popular") }),
|
|
570
|
+
children: F.map(xe)
|
|
531
571
|
}
|
|
532
572
|
) : null,
|
|
533
573
|
/* @__PURE__ */ r(
|
|
534
|
-
|
|
574
|
+
I.Group,
|
|
535
575
|
{
|
|
536
|
-
heading:
|
|
537
|
-
children:
|
|
576
|
+
heading: F.length > 0 ? /* @__PURE__ */ r("span", { className: ze, children: w("inputs.phone.allCountries", "All countries") }) : void 0,
|
|
577
|
+
children: We.map(xe)
|
|
538
578
|
}
|
|
539
579
|
)
|
|
540
580
|
] })
|
|
@@ -547,34 +587,43 @@ const at = De(
|
|
|
547
587
|
/* @__PURE__ */ r(
|
|
548
588
|
"input",
|
|
549
589
|
{
|
|
550
|
-
ref:
|
|
551
|
-
id:
|
|
552
|
-
name:
|
|
590
|
+
ref: je,
|
|
591
|
+
id: Ae,
|
|
592
|
+
name: oe ? void 0 : W,
|
|
553
593
|
type: "tel",
|
|
554
594
|
inputMode: "tel",
|
|
555
595
|
autoComplete: "tel-national",
|
|
556
|
-
value:
|
|
557
|
-
placeholder:
|
|
558
|
-
disabled:
|
|
596
|
+
value: J,
|
|
597
|
+
placeholder: Ke,
|
|
598
|
+
disabled: te,
|
|
559
599
|
readOnly: S,
|
|
560
|
-
required:
|
|
561
|
-
"aria-label":
|
|
562
|
-
"aria-describedby":
|
|
563
|
-
"aria-invalid":
|
|
564
|
-
onChange:
|
|
565
|
-
className:
|
|
600
|
+
required: Be,
|
|
601
|
+
"aria-label": Pe,
|
|
602
|
+
"aria-describedby": He,
|
|
603
|
+
"aria-invalid": ve || void 0,
|
|
604
|
+
onChange: Ge,
|
|
605
|
+
className: ft({ size: d })
|
|
606
|
+
}
|
|
607
|
+
),
|
|
608
|
+
oe ? /* @__PURE__ */ r(
|
|
609
|
+
"input",
|
|
610
|
+
{
|
|
611
|
+
type: "hidden",
|
|
612
|
+
name: W,
|
|
613
|
+
value: qe,
|
|
614
|
+
disabled: te
|
|
566
615
|
}
|
|
567
|
-
)
|
|
616
|
+
) : null
|
|
568
617
|
]
|
|
569
618
|
}
|
|
570
619
|
);
|
|
571
620
|
}
|
|
572
621
|
);
|
|
573
|
-
|
|
622
|
+
It.displayName = "PhoneInput";
|
|
574
623
|
export {
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
624
|
+
It as P,
|
|
625
|
+
ft as a,
|
|
626
|
+
we as c,
|
|
627
|
+
pt as p
|
|
579
628
|
};
|
|
580
|
-
//# sourceMappingURL=phone-input-
|
|
629
|
+
//# sourceMappingURL=phone-input-BzeUr49H.js.map
|