@alfadocs/ui-kit 1.52.0 → 1.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-BVLoHU3E.js → address-autocomplete-BBZ0u_U1.js} +100 -99
- package/dist/_chunks/address-fields-1pD-8hML.js +292 -0
- package/dist/_chunks/{agenda-tray-C-_iu6Fo.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-DaSoA80I.js → anamnesis-summary-rows-BMjSBqhS.js} +20 -20
- package/dist/_chunks/apexcharts-theme-DNoXvgnZ.js +105 -0
- package/dist/_chunks/{appointment-peek-DpPzeYXm.js → appointment-peek-Cbrg36wj.js} +3 -3
- package/dist/_chunks/{appointment-timeline-BZErHbD1.js → appointment-timeline-CssAJLpL.js} +4 -4
- package/dist/_chunks/{appointment-tray-DR_Zm4Gw.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-CS-iKkLM.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-B9MKJXER.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-CuE30cfr.js → chart-C134Ibwm.js} +81 -81
- 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-DJvEwZZx.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-1CZJg6CX.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-DActfjdn.js → empty-state-CgvmPPvW.js} +71 -66
- package/dist/_chunks/{entity-summary-oW3_jFhU.js → entity-summary-C3E4JKVr.js} +3 -3
- package/dist/_chunks/{error-boundary--w5hYiQ-.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-BGHShxn_.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-CGCyhAVE.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/{index.modern-Zta-A4Jm.js → index.modern-BeRXQVdc.js} +3 -2
- 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/{map-view-CmNGS6Ok.js → map-view-CQmqQJwK.js} +158 -129
- 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-DjhcggtZ.js → practice-results-D3liWOz1.js} +5 -5
- 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-noG15O9q.js → privacy-mask-H8yYwgIb.js} +2 -2
- package/dist/_chunks/{product-hub-panel-BmBzDba9.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-BP71J_VB.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-DDb_t7vy.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-Bkg9MVXP.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/{sparkline-ZOxMBU76.js → sparkline-pkGPCXbl.js} +80 -80
- 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-CngF4Zee.js → task-card-C02Km4Gb.js} +2 -2
- package/dist/_chunks/{task-editor-Dz93rRXg.js → task-editor-Dl27rI3J.js} +15 -15
- package/dist/_chunks/{task-tray-CB6_BvH9.js → task-tray-By6DPwbT.js} +4 -4
- package/dist/_chunks/{tasks-panel-DHAoTQtR.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-YsuJgYeB.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-C7fHKTXL.js → workflow-map-PzamnfJK.js} +191 -199
- package/dist/agent-catalog.json +339 -109
- package/dist/agent-i18n/en.json +38 -11
- 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/index.d.ts +1 -0
- package/dist/components/_shared/is-development.d.ts +8 -0
- package/dist/components/_shared/safe-href.d.ts +21 -0
- package/dist/components/_shared/use-keep-apex-tooltip-inside.d.ts +3 -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/empty-state.d.ts +6 -0
- 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 +8 -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/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +8 -5
- 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/sparkline/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 +41 -0
- package/dist/error-pages/400.de.html +41 -0
- package/dist/error-pages/400.el.html +41 -0
- package/dist/error-pages/400.en.html +41 -0
- package/dist/error-pages/400.es.html +41 -0
- package/dist/error-pages/400.fr.html +41 -0
- package/dist/error-pages/400.hi.html +41 -0
- package/dist/error-pages/400.html +41 -0
- package/dist/error-pages/400.it.html +41 -0
- package/dist/error-pages/400.ja.html +41 -0
- package/dist/error-pages/400.nl.html +41 -0
- package/dist/error-pages/400.pl.html +41 -0
- package/dist/error-pages/400.pt.html +41 -0
- package/dist/error-pages/400.ro.html +41 -0
- package/dist/error-pages/400.ru.html +41 -0
- package/dist/error-pages/400.sq.html +41 -0
- package/dist/error-pages/400.sv.html +41 -0
- package/dist/error-pages/400.tr.html +41 -0
- package/dist/error-pages/400.zh.html +41 -0
- package/dist/error-pages/401.ar.html +41 -0
- package/dist/error-pages/401.de.html +41 -0
- package/dist/error-pages/401.el.html +41 -0
- package/dist/error-pages/401.en.html +41 -0
- package/dist/error-pages/401.es.html +41 -0
- package/dist/error-pages/401.fr.html +41 -0
- package/dist/error-pages/401.hi.html +41 -0
- package/dist/error-pages/401.html +41 -0
- package/dist/error-pages/401.it.html +41 -0
- package/dist/error-pages/401.ja.html +41 -0
- package/dist/error-pages/401.nl.html +41 -0
- package/dist/error-pages/401.pl.html +41 -0
- package/dist/error-pages/401.pt.html +41 -0
- package/dist/error-pages/401.ro.html +41 -0
- package/dist/error-pages/401.ru.html +41 -0
- package/dist/error-pages/401.sq.html +41 -0
- package/dist/error-pages/401.sv.html +41 -0
- package/dist/error-pages/401.tr.html +41 -0
- package/dist/error-pages/401.zh.html +41 -0
- package/dist/error-pages/403.ar.html +41 -0
- package/dist/error-pages/403.de.html +41 -0
- package/dist/error-pages/403.el.html +41 -0
- package/dist/error-pages/403.en.html +41 -0
- package/dist/error-pages/403.es.html +41 -0
- package/dist/error-pages/403.fr.html +41 -0
- package/dist/error-pages/403.hi.html +41 -0
- package/dist/error-pages/403.html +41 -0
- package/dist/error-pages/403.it.html +41 -0
- package/dist/error-pages/403.ja.html +41 -0
- package/dist/error-pages/403.nl.html +41 -0
- package/dist/error-pages/403.pl.html +41 -0
- package/dist/error-pages/403.pt.html +41 -0
- package/dist/error-pages/403.ro.html +41 -0
- package/dist/error-pages/403.ru.html +41 -0
- package/dist/error-pages/403.sq.html +41 -0
- package/dist/error-pages/403.sv.html +41 -0
- package/dist/error-pages/403.tr.html +41 -0
- package/dist/error-pages/403.zh.html +41 -0
- package/dist/error-pages/404.ar.html +41 -0
- package/dist/error-pages/404.de.html +41 -0
- package/dist/error-pages/404.el.html +41 -0
- package/dist/error-pages/404.en.html +41 -0
- package/dist/error-pages/404.es.html +41 -0
- package/dist/error-pages/404.fr.html +41 -0
- package/dist/error-pages/404.hi.html +41 -0
- package/dist/error-pages/404.html +41 -0
- package/dist/error-pages/404.it.html +41 -0
- package/dist/error-pages/404.ja.html +41 -0
- package/dist/error-pages/404.nl.html +41 -0
- package/dist/error-pages/404.pl.html +41 -0
- package/dist/error-pages/404.pt.html +41 -0
- package/dist/error-pages/404.ro.html +41 -0
- package/dist/error-pages/404.ru.html +41 -0
- package/dist/error-pages/404.sq.html +41 -0
- package/dist/error-pages/404.sv.html +41 -0
- package/dist/error-pages/404.tr.html +41 -0
- package/dist/error-pages/404.zh.html +41 -0
- package/dist/error-pages/405.ar.html +41 -0
- package/dist/error-pages/405.de.html +41 -0
- package/dist/error-pages/405.el.html +41 -0
- package/dist/error-pages/405.en.html +41 -0
- package/dist/error-pages/405.es.html +41 -0
- package/dist/error-pages/405.fr.html +41 -0
- package/dist/error-pages/405.hi.html +41 -0
- package/dist/error-pages/405.html +41 -0
- package/dist/error-pages/405.it.html +41 -0
- package/dist/error-pages/405.ja.html +41 -0
- package/dist/error-pages/405.nl.html +41 -0
- package/dist/error-pages/405.pl.html +41 -0
- package/dist/error-pages/405.pt.html +41 -0
- package/dist/error-pages/405.ro.html +41 -0
- package/dist/error-pages/405.ru.html +41 -0
- package/dist/error-pages/405.sq.html +41 -0
- package/dist/error-pages/405.sv.html +41 -0
- package/dist/error-pages/405.tr.html +41 -0
- package/dist/error-pages/405.zh.html +41 -0
- package/dist/error-pages/410.ar.html +41 -0
- package/dist/error-pages/410.de.html +41 -0
- package/dist/error-pages/410.el.html +41 -0
- package/dist/error-pages/410.en.html +41 -0
- package/dist/error-pages/410.es.html +41 -0
- package/dist/error-pages/410.fr.html +41 -0
- package/dist/error-pages/410.hi.html +41 -0
- package/dist/error-pages/410.html +41 -0
- package/dist/error-pages/410.it.html +41 -0
- package/dist/error-pages/410.ja.html +41 -0
- package/dist/error-pages/410.nl.html +41 -0
- package/dist/error-pages/410.pl.html +41 -0
- package/dist/error-pages/410.pt.html +41 -0
- package/dist/error-pages/410.ro.html +41 -0
- package/dist/error-pages/410.ru.html +41 -0
- package/dist/error-pages/410.sq.html +41 -0
- package/dist/error-pages/410.sv.html +41 -0
- package/dist/error-pages/410.tr.html +41 -0
- package/dist/error-pages/410.zh.html +41 -0
- package/dist/error-pages/419.ar.html +42 -0
- package/dist/error-pages/419.de.html +42 -0
- package/dist/error-pages/419.el.html +42 -0
- package/dist/error-pages/419.en.html +42 -0
- package/dist/error-pages/419.es.html +42 -0
- package/dist/error-pages/419.fr.html +42 -0
- package/dist/error-pages/419.hi.html +42 -0
- package/dist/error-pages/419.html +42 -0
- package/dist/error-pages/419.it.html +42 -0
- package/dist/error-pages/419.ja.html +42 -0
- package/dist/error-pages/419.nl.html +42 -0
- package/dist/error-pages/419.pl.html +42 -0
- package/dist/error-pages/419.pt.html +42 -0
- package/dist/error-pages/419.ro.html +42 -0
- package/dist/error-pages/419.ru.html +42 -0
- package/dist/error-pages/419.sq.html +42 -0
- package/dist/error-pages/419.sv.html +42 -0
- package/dist/error-pages/419.tr.html +42 -0
- package/dist/error-pages/419.zh.html +42 -0
- package/dist/error-pages/429.ar.html +42 -0
- package/dist/error-pages/429.de.html +42 -0
- package/dist/error-pages/429.el.html +42 -0
- package/dist/error-pages/429.en.html +42 -0
- package/dist/error-pages/429.es.html +42 -0
- package/dist/error-pages/429.fr.html +42 -0
- package/dist/error-pages/429.hi.html +42 -0
- package/dist/error-pages/429.html +42 -0
- package/dist/error-pages/429.it.html +42 -0
- package/dist/error-pages/429.ja.html +42 -0
- package/dist/error-pages/429.nl.html +42 -0
- package/dist/error-pages/429.pl.html +42 -0
- package/dist/error-pages/429.pt.html +42 -0
- package/dist/error-pages/429.ro.html +42 -0
- package/dist/error-pages/429.ru.html +42 -0
- package/dist/error-pages/429.sq.html +42 -0
- package/dist/error-pages/429.sv.html +42 -0
- package/dist/error-pages/429.tr.html +42 -0
- package/dist/error-pages/429.zh.html +42 -0
- package/dist/error-pages/500.ar.html +41 -0
- package/dist/error-pages/500.de.html +41 -0
- package/dist/error-pages/500.el.html +41 -0
- package/dist/error-pages/500.en.html +41 -0
- package/dist/error-pages/500.es.html +41 -0
- package/dist/error-pages/500.fr.html +41 -0
- package/dist/error-pages/500.hi.html +41 -0
- package/dist/error-pages/500.html +41 -0
- package/dist/error-pages/500.it.html +41 -0
- package/dist/error-pages/500.ja.html +41 -0
- package/dist/error-pages/500.nl.html +41 -0
- package/dist/error-pages/500.pl.html +41 -0
- package/dist/error-pages/500.pt.html +41 -0
- package/dist/error-pages/500.ro.html +41 -0
- package/dist/error-pages/500.ru.html +41 -0
- package/dist/error-pages/500.sq.html +41 -0
- package/dist/error-pages/500.sv.html +41 -0
- package/dist/error-pages/500.tr.html +41 -0
- package/dist/error-pages/500.zh.html +41 -0
- package/dist/error-pages/502.ar.html +41 -0
- package/dist/error-pages/502.de.html +41 -0
- package/dist/error-pages/502.el.html +41 -0
- package/dist/error-pages/502.en.html +41 -0
- package/dist/error-pages/502.es.html +41 -0
- package/dist/error-pages/502.fr.html +41 -0
- package/dist/error-pages/502.hi.html +41 -0
- package/dist/error-pages/502.html +41 -0
- package/dist/error-pages/502.it.html +41 -0
- package/dist/error-pages/502.ja.html +41 -0
- package/dist/error-pages/502.nl.html +41 -0
- package/dist/error-pages/502.pl.html +41 -0
- package/dist/error-pages/502.pt.html +41 -0
- package/dist/error-pages/502.ro.html +41 -0
- package/dist/error-pages/502.ru.html +41 -0
- package/dist/error-pages/502.sq.html +41 -0
- package/dist/error-pages/502.sv.html +41 -0
- package/dist/error-pages/502.tr.html +41 -0
- package/dist/error-pages/502.zh.html +41 -0
- package/dist/error-pages/503.ar.html +41 -0
- package/dist/error-pages/503.de.html +41 -0
- package/dist/error-pages/503.el.html +41 -0
- package/dist/error-pages/503.en.html +41 -0
- package/dist/error-pages/503.es.html +41 -0
- package/dist/error-pages/503.fr.html +41 -0
- package/dist/error-pages/503.hi.html +41 -0
- package/dist/error-pages/503.html +41 -0
- package/dist/error-pages/503.it.html +41 -0
- package/dist/error-pages/503.ja.html +41 -0
- package/dist/error-pages/503.nl.html +41 -0
- package/dist/error-pages/503.pl.html +41 -0
- package/dist/error-pages/503.pt.html +41 -0
- package/dist/error-pages/503.ro.html +41 -0
- package/dist/error-pages/503.ru.html +41 -0
- package/dist/error-pages/503.sq.html +41 -0
- package/dist/error-pages/503.sv.html +41 -0
- package/dist/error-pages/503.tr.html +41 -0
- package/dist/error-pages/503.zh.html +41 -0
- package/dist/error-pages/504.ar.html +41 -0
- package/dist/error-pages/504.de.html +41 -0
- package/dist/error-pages/504.el.html +41 -0
- package/dist/error-pages/504.en.html +41 -0
- package/dist/error-pages/504.es.html +41 -0
- package/dist/error-pages/504.fr.html +41 -0
- package/dist/error-pages/504.hi.html +41 -0
- package/dist/error-pages/504.html +41 -0
- package/dist/error-pages/504.it.html +41 -0
- package/dist/error-pages/504.ja.html +41 -0
- package/dist/error-pages/504.nl.html +41 -0
- package/dist/error-pages/504.pl.html +41 -0
- package/dist/error-pages/504.pt.html +41 -0
- package/dist/error-pages/504.ro.html +41 -0
- package/dist/error-pages/504.ru.html +41 -0
- package/dist/error-pages/504.sq.html +41 -0
- package/dist/error-pages/504.sv.html +41 -0
- package/dist/error-pages/504.tr.html +41 -0
- package/dist/error-pages/504.zh.html +41 -0
- package/dist/error-pages/maintenance.ar.html +41 -0
- package/dist/error-pages/maintenance.de.html +41 -0
- package/dist/error-pages/maintenance.el.html +41 -0
- package/dist/error-pages/maintenance.en.html +41 -0
- package/dist/error-pages/maintenance.es.html +41 -0
- package/dist/error-pages/maintenance.fr.html +41 -0
- package/dist/error-pages/maintenance.hi.html +41 -0
- package/dist/error-pages/maintenance.html +41 -0
- package/dist/error-pages/maintenance.it.html +41 -0
- package/dist/error-pages/maintenance.ja.html +41 -0
- package/dist/error-pages/maintenance.nl.html +41 -0
- package/dist/error-pages/maintenance.pl.html +41 -0
- package/dist/error-pages/maintenance.pt.html +41 -0
- package/dist/error-pages/maintenance.ro.html +41 -0
- package/dist/error-pages/maintenance.ru.html +41 -0
- package/dist/error-pages/maintenance.sq.html +41 -0
- package/dist/error-pages/maintenance.sv.html +41 -0
- package/dist/error-pages/maintenance.tr.html +41 -0
- package/dist/error-pages/maintenance.zh.html +41 -0
- 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 +16 -1
- package/dist/i18n/locales/ar.d.ts +121 -0
- package/dist/i18n/locales/ar.js +121 -0
- package/dist/i18n/locales/de.d.ts +121 -0
- package/dist/i18n/locales/de.js +121 -0
- package/dist/i18n/locales/el.d.ts +121 -0
- package/dist/i18n/locales/el.js +121 -0
- package/dist/i18n/locales/en.d.ts +121 -0
- package/dist/i18n/locales/en.js +121 -0
- package/dist/i18n/locales/es.d.ts +121 -0
- package/dist/i18n/locales/es.js +121 -0
- package/dist/i18n/locales/fr.d.ts +121 -0
- package/dist/i18n/locales/fr.js +121 -0
- package/dist/i18n/locales/hi.d.ts +121 -0
- package/dist/i18n/locales/hi.js +121 -0
- package/dist/i18n/locales/it.d.ts +121 -0
- package/dist/i18n/locales/it.js +121 -0
- package/dist/i18n/locales/ja.d.ts +121 -0
- package/dist/i18n/locales/ja.js +121 -0
- package/dist/i18n/locales/nl.d.ts +121 -0
- package/dist/i18n/locales/nl.js +121 -0
- package/dist/i18n/locales/pl.d.ts +121 -0
- package/dist/i18n/locales/pl.js +121 -0
- package/dist/i18n/locales/pt.d.ts +121 -0
- package/dist/i18n/locales/pt.js +121 -0
- package/dist/i18n/locales/ro.d.ts +121 -0
- package/dist/i18n/locales/ro.js +121 -0
- package/dist/i18n/locales/ru.d.ts +121 -0
- package/dist/i18n/locales/ru.js +121 -0
- package/dist/i18n/locales/sq.d.ts +121 -0
- package/dist/i18n/locales/sq.js +121 -0
- package/dist/i18n/locales/sv.d.ts +121 -0
- package/dist/i18n/locales/sv.js +121 -0
- package/dist/i18n/locales/tr.d.ts +121 -0
- package/dist/i18n/locales/tr.js +121 -0
- package/dist/i18n/locales/zh.d.ts +121 -0
- package/dist/i18n/locales/zh.js +121 -0
- package/dist/index.js +1170 -1139
- package/dist/locales/ar.json +121 -0
- package/dist/locales/de.json +121 -0
- package/dist/locales/el.json +121 -0
- package/dist/locales/en.json +121 -0
- package/dist/locales/es.json +121 -0
- package/dist/locales/fr.json +121 -0
- package/dist/locales/hi.json +121 -0
- package/dist/locales/it.json +121 -0
- package/dist/locales/ja.json +121 -0
- package/dist/locales/nl.json +121 -0
- package/dist/locales/pl.json +121 -0
- package/dist/locales/pt.json +121 -0
- package/dist/locales/ro.json +121 -0
- package/dist/locales/ru.json +121 -0
- package/dist/locales/sq.json +121 -0
- package/dist/locales/sv.json +121 -0
- package/dist/locales/tr.json +121 -0
- package/dist/locales/zh.json +121 -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/error-page-illustration.d.ts +6 -0
- package/dist/patterns/error-page/error-page-locale.d.ts +32 -0
- package/dist/patterns/error-page/error-page-statuses.d.ts +16 -0
- package/dist/patterns/error-page/error-page.d.ts +48 -0
- package/dist/patterns/error-page/index.d.ts +5 -0
- package/dist/patterns/error-page/index.js +9 -0
- 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 +29 -2
- package/dist/_chunks/address-fields-UiEXHxEX.js +0 -246
- package/dist/_chunks/apexcharts-theme-B_AxGC_h.js +0 -72
- package/dist/_chunks/booking-DP543-BT.js +0 -3474
- package/dist/_chunks/combobox-Iel8y3u6.js +0 -578
- 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
|
@@ -3,12 +3,12 @@ import { useMemo as te, forwardRef as ke, useId as ze, useRef as q, useCallback
|
|
|
3
3
|
import { c as W } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as Ue } from "react-i18next";
|
|
5
5
|
import { u as Te } from "./use-controllable-state-BiY4xTzM.js";
|
|
6
|
-
import { u as Pe } from "./form-field-context-
|
|
7
|
-
import { c as
|
|
8
|
-
import { u as
|
|
9
|
-
import { C as
|
|
10
|
-
import { C as
|
|
11
|
-
const
|
|
6
|
+
import { u as Pe, a as Be } from "./form-field-context-DtiROUJV.js";
|
|
7
|
+
import { c as Re } from "./compose-refs-C0k0tdqF.js";
|
|
8
|
+
import { u as Ae } from "./registry-DvAUVLHh.js";
|
|
9
|
+
import { C as je } from "./chevron-down-DWE7GSq9.js";
|
|
10
|
+
import { C as Ee } from "./chevron-up-umRGgtJA.js";
|
|
11
|
+
const Le = {
|
|
12
12
|
id: "number-input",
|
|
13
13
|
capabilities: ["set_value"],
|
|
14
14
|
state: {
|
|
@@ -74,7 +74,7 @@ const Ee = {
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
|
-
function
|
|
77
|
+
function Ke(n) {
|
|
78
78
|
let s = "";
|
|
79
79
|
for (const l of n) {
|
|
80
80
|
const r = l.codePointAt(0);
|
|
@@ -82,7 +82,7 @@ function Le(n) {
|
|
|
82
82
|
}
|
|
83
83
|
return s;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function qe(n, s, l) {
|
|
86
86
|
return te(() => {
|
|
87
87
|
var k, m;
|
|
88
88
|
const r = new Intl.NumberFormat(n).formatToParts(1234.5), u = ((k = r.find((o) => o.type === "decimal")) == null ? void 0 : k.value) ?? ".", S = ((m = r.find((o) => o.type === "group")) == null ? void 0 : m.value) ?? ",", p = s === "currency" ? new Intl.NumberFormat(n, {
|
|
@@ -93,7 +93,7 @@ function Ke(n, s, l) {
|
|
|
93
93
|
maximumFractionDigits: 4
|
|
94
94
|
}) : s === "integer" ? new Intl.NumberFormat(n, { maximumFractionDigits: 0 }) : new Intl.NumberFormat(n, { maximumFractionDigits: 10 }), P = (o) => Number.isFinite(o) ? p.format(o) : "", B = (o) => {
|
|
95
95
|
if (!o) return NaN;
|
|
96
|
-
const y =
|
|
96
|
+
const y = Ke(o), z = y.trim(), D = z.startsWith("-") || z.startsWith("−");
|
|
97
97
|
let g = "";
|
|
98
98
|
for (const v of y)
|
|
99
99
|
v >= "0" && v <= "9" ? g += v : v === u && (g += ".");
|
|
@@ -123,7 +123,7 @@ function Ke(n, s, l) {
|
|
|
123
123
|
};
|
|
124
124
|
}, [n, s, l]);
|
|
125
125
|
}
|
|
126
|
-
const
|
|
126
|
+
const He = W(
|
|
127
127
|
[
|
|
128
128
|
"ds:flex ds:items-center ds:rounded-[var(--radius-sm)]",
|
|
129
129
|
"ds:border ds:bg-input ds:text-foreground",
|
|
@@ -155,7 +155,7 @@ const qe = W(
|
|
|
155
155
|
},
|
|
156
156
|
defaultVariants: { size: "md", tone: "default", inline: "full" }
|
|
157
157
|
}
|
|
158
|
-
),
|
|
158
|
+
), We = W(
|
|
159
159
|
"ds:min-w-0 ds:bg-transparent ds:outline-none ds:tabular-nums ds:disabled:cursor-not-allowed",
|
|
160
160
|
{
|
|
161
161
|
variants: {
|
|
@@ -185,7 +185,7 @@ const qe = W(
|
|
|
185
185
|
],
|
|
186
186
|
defaultVariants: { variant: "stepper", hasUnit: !1, inline: "full" }
|
|
187
187
|
}
|
|
188
|
-
),
|
|
188
|
+
), Oe = W(
|
|
189
189
|
"ds:shrink-0 ds:select-none ds:whitespace-nowrap ds:text-muted-foreground",
|
|
190
190
|
{
|
|
191
191
|
variants: {
|
|
@@ -199,18 +199,18 @@ const qe = W(
|
|
|
199
199
|
"ds:text-muted-foreground ds:hover:text-foreground",
|
|
200
200
|
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:motion-reduce:transition-none",
|
|
201
201
|
"ds:disabled:cursor-not-allowed ds:disabled:opacity-50"
|
|
202
|
-
].join(" "),
|
|
203
|
-
function
|
|
202
|
+
].join(" "), _e = () => typeof navigator < "u" && navigator.language ? navigator.language : "en-US", $e = (n) => typeof n == "string" && n.trim() !== "" ? n : void 0;
|
|
203
|
+
function Ge(n) {
|
|
204
204
|
if (!Number.isFinite(n)) return 0;
|
|
205
205
|
const s = String(n), l = s.indexOf(".");
|
|
206
206
|
return l === -1 ? 0 : s.length - l - 1;
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Je(n, s) {
|
|
209
209
|
if (s <= 0 || !Number.isFinite(s)) return n;
|
|
210
|
-
const r = 10 **
|
|
210
|
+
const r = 10 ** Ge(s);
|
|
211
211
|
return Math.round(n * r) / r;
|
|
212
212
|
}
|
|
213
|
-
const
|
|
213
|
+
const Qe = ke(
|
|
214
214
|
({
|
|
215
215
|
value: n,
|
|
216
216
|
defaultValue: s,
|
|
@@ -234,12 +234,12 @@ const Je = ke(
|
|
|
234
234
|
onKeyDown: R,
|
|
235
235
|
...ne
|
|
236
236
|
}, re) => {
|
|
237
|
-
const { t: O, i18n: se } = Ue("ui"),
|
|
237
|
+
const { t: O, i18n: se } = Ue("ui"), F = Pe(), ie = Be(F, D), M = !!(F.disabled || g), _ = ze(), ae = [F.describedBy, o ? _ : void 0].filter(Boolean).join(" ") || void 0, oe = B ?? $e(se.language) ?? _e(), A = qe(oe, p, P), {
|
|
238
238
|
decimalSeparator: U,
|
|
239
239
|
groupingSeparator: $,
|
|
240
240
|
format: j,
|
|
241
241
|
parse: G
|
|
242
|
-
} = A, J = q(null), ue =
|
|
242
|
+
} = A, J = q(null), ue = Re(re, J), [le, de] = Te({
|
|
243
243
|
value: n,
|
|
244
244
|
defaultValue: s ?? null,
|
|
245
245
|
onChange: l
|
|
@@ -256,7 +256,7 @@ const Je = ke(
|
|
|
256
256
|
[j]
|
|
257
257
|
), [E, c] = H(
|
|
258
258
|
() => b(a)
|
|
259
|
-
), w = q(!1), [ce, h] = H(!1), [L,
|
|
259
|
+
), w = q(!1), [ce, h] = H(!1), [L, V] = H(!1), K = T(
|
|
260
260
|
(e) => {
|
|
261
261
|
if (e >= "0" && e <= "9") return !0;
|
|
262
262
|
const t = e.codePointAt(0) ?? 0;
|
|
@@ -275,11 +275,11 @@ const Je = ke(
|
|
|
275
275
|
Me(() => {
|
|
276
276
|
!w.current && !L && c(b(a));
|
|
277
277
|
}, [a, b, L]);
|
|
278
|
-
const pe = ce || L || a !== null && (r !== void 0 && a < r || u !== void 0 && a > u), X =
|
|
278
|
+
const pe = ce || L || a !== null && (r !== void 0 && a < r || u !== void 0 && a > u), X = F.invalid || pe, me = X ? "error" : k ?? "default", f = (e) => {
|
|
279
279
|
de(e);
|
|
280
280
|
}, I = (e) => {
|
|
281
281
|
let i = (a ?? 0) + S * e;
|
|
282
|
-
r !== void 0 && (i = Math.max(r, i)), u !== void 0 && (i = Math.min(u, i)), i =
|
|
282
|
+
r !== void 0 && (i = Math.max(r, i)), u !== void 0 && (i = Math.min(u, i)), i = Je(i, S), f(i), h(!1), c(
|
|
283
283
|
w.current ? C(i) : b(i)
|
|
284
284
|
);
|
|
285
285
|
}, Y = (e) => {
|
|
@@ -293,11 +293,11 @@ const Je = ke(
|
|
|
293
293
|
}, be = (e) => {
|
|
294
294
|
const t = fe(e.target.value);
|
|
295
295
|
if (c(t), t.trim() === "") {
|
|
296
|
-
f(null), h(!1),
|
|
296
|
+
f(null), h(!1), V(!1);
|
|
297
297
|
return;
|
|
298
298
|
}
|
|
299
299
|
const i = G(t);
|
|
300
|
-
Number.isNaN(i) || (f(i),
|
|
300
|
+
Number.isNaN(i) || (f(i), V(!1));
|
|
301
301
|
}, ge = (e) => {
|
|
302
302
|
const { data: t } = e.nativeEvent;
|
|
303
303
|
typeof t != "string" || t.length !== 1 || K(t) || e.preventDefault();
|
|
@@ -305,16 +305,16 @@ const Je = ke(
|
|
|
305
305
|
d == null || d(e), w.current = !0, a != null && c(C(a));
|
|
306
306
|
}, Ne = (e) => {
|
|
307
307
|
if (v == null || v(e), w.current = !1, E.trim() === "") {
|
|
308
|
-
f(null), h(!1),
|
|
308
|
+
f(null), h(!1), V(!1), c("");
|
|
309
309
|
return;
|
|
310
310
|
}
|
|
311
311
|
const t = G(E);
|
|
312
312
|
if (Number.isNaN(t)) {
|
|
313
|
-
|
|
313
|
+
V(!0), h(!1), f(null);
|
|
314
314
|
return;
|
|
315
315
|
}
|
|
316
316
|
const i = r !== void 0 && t < r || u !== void 0 && t > u;
|
|
317
|
-
h(i),
|
|
317
|
+
h(i), V(!1), f(t), c(b(t));
|
|
318
318
|
}, Z = (e) => {
|
|
319
319
|
e.preventDefault();
|
|
320
320
|
}, ye = () => I(1), we = () => I(-1), Ie = te(
|
|
@@ -338,12 +338,12 @@ const Je = ke(
|
|
|
338
338
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
339
339
|
[C, b]
|
|
340
340
|
);
|
|
341
|
-
|
|
342
|
-
const xe = M || r !== void 0 && a !== null && a <= r, De = M || u !== void 0 && a !== null && a >= u,
|
|
341
|
+
Ae(Le, Ie, D);
|
|
342
|
+
const xe = M || r !== void 0 && a !== null && a <= r, De = M || u !== void 0 && a !== null && a >= u, Fe = a ?? void 0, Ce = (p === "currency" || p === "percentage") && a !== null && a !== null ? j(a) : void 0, Ve = A.inputMode === "numeric" ? "[0-9]*" : void 0;
|
|
343
343
|
return /* @__PURE__ */ Se(
|
|
344
344
|
"div",
|
|
345
345
|
{
|
|
346
|
-
className:
|
|
346
|
+
className: He({
|
|
347
347
|
size: N,
|
|
348
348
|
tone: me,
|
|
349
349
|
inline: y,
|
|
@@ -365,7 +365,7 @@ const Je = ke(
|
|
|
365
365
|
onMouseDown: Z,
|
|
366
366
|
disabled: xe,
|
|
367
367
|
className: `${ee} ds:ps-2 ds:pe-1`,
|
|
368
|
-
children: /* @__PURE__ */ x(
|
|
368
|
+
children: /* @__PURE__ */ x(je, { "aria-hidden": "true", className: "ds:size-4" })
|
|
369
369
|
}
|
|
370
370
|
) : null,
|
|
371
371
|
/* @__PURE__ */ x(
|
|
@@ -376,27 +376,27 @@ const Je = ke(
|
|
|
376
376
|
type: "text",
|
|
377
377
|
role: "spinbutton",
|
|
378
378
|
inputMode: A.inputMode,
|
|
379
|
-
pattern:
|
|
379
|
+
pattern: Ve,
|
|
380
380
|
autoComplete: "off",
|
|
381
381
|
value: E,
|
|
382
382
|
disabled: M,
|
|
383
383
|
"aria-valuemin": r,
|
|
384
384
|
"aria-valuemax": u,
|
|
385
|
-
"aria-valuenow":
|
|
385
|
+
"aria-valuenow": Fe,
|
|
386
386
|
"aria-valuetext": Ce,
|
|
387
387
|
"aria-invalid": X || void 0,
|
|
388
|
-
"aria-required":
|
|
388
|
+
"aria-required": F.required || void 0,
|
|
389
389
|
"aria-describedby": ae,
|
|
390
390
|
onBeforeInput: ge,
|
|
391
391
|
onChange: be,
|
|
392
392
|
onFocus: he,
|
|
393
393
|
onBlur: Ne,
|
|
394
394
|
onKeyDown: ve,
|
|
395
|
-
className:
|
|
395
|
+
className: We({ variant: m, hasUnit: !!o, inline: y }),
|
|
396
396
|
...ne
|
|
397
397
|
}
|
|
398
398
|
),
|
|
399
|
-
o ? /* @__PURE__ */ x("span", { id: _, className:
|
|
399
|
+
o ? /* @__PURE__ */ x("span", { id: _, className: Oe({ variant: m }), children: o }) : null,
|
|
400
400
|
m === "stepper" ? /* @__PURE__ */ x(
|
|
401
401
|
"button",
|
|
402
402
|
{
|
|
@@ -407,7 +407,7 @@ const Je = ke(
|
|
|
407
407
|
onMouseDown: Z,
|
|
408
408
|
disabled: De,
|
|
409
409
|
className: `${ee} ds:ps-1 ds:pe-2`,
|
|
410
|
-
children: /* @__PURE__ */ x(
|
|
410
|
+
children: /* @__PURE__ */ x(Ee, { "aria-hidden": "true", className: "ds:size-4" })
|
|
411
411
|
}
|
|
412
412
|
) : null
|
|
413
413
|
]
|
|
@@ -415,9 +415,9 @@ const Je = ke(
|
|
|
415
415
|
);
|
|
416
416
|
}
|
|
417
417
|
);
|
|
418
|
-
|
|
418
|
+
Qe.displayName = "NumberInput";
|
|
419
419
|
export {
|
|
420
|
-
|
|
421
|
-
|
|
420
|
+
Qe as N,
|
|
421
|
+
qe as u
|
|
422
422
|
};
|
|
423
|
-
//# sourceMappingURL=number-input-
|
|
423
|
+
//# sourceMappingURL=number-input-DRDRYZJg.js.map
|
|
@@ -3,10 +3,10 @@ import { forwardRef as We, useId as je, useRef as ue, useState as Xe, useCallbac
|
|
|
3
3
|
import { c as He } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as Fe } from "react-i18next";
|
|
5
5
|
import { u as qe } from "./registry-DvAUVLHh.js";
|
|
6
|
-
import { N as se } from "./number-input-
|
|
7
|
-
import { S as he } from "./select-
|
|
8
|
-
import { T as Ke } from "./text-area-
|
|
9
|
-
import { D as v } from "./description-list-
|
|
6
|
+
import { N as se } from "./number-input-DRDRYZJg.js";
|
|
7
|
+
import { S as he } from "./select-DHPmASkG.js";
|
|
8
|
+
import { T as Ke } from "./text-area-CDuItrvL.js";
|
|
9
|
+
import { D as v } from "./description-list-BKQMUiXv.js";
|
|
10
10
|
const ye = {
|
|
11
11
|
enum: ["od", "os"],
|
|
12
12
|
description: "Eye — `od` (right eye) or `os` (left eye)."
|
|
@@ -1257,4 +1257,4 @@ export {
|
|
|
1257
1257
|
yt as y,
|
|
1258
1258
|
Re as z
|
|
1259
1259
|
};
|
|
1260
|
-
//# sourceMappingURL=optical-prescription-
|
|
1260
|
+
//# sourceMappingURL=optical-prescription-DBvebioV.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as re, jsx as I } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as ae, useId as se, useRef as R, useState as ne, useEffect as oe, useCallback as B, useMemo as ie, useImperativeHandle as ce } from "react";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as $ } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as le } from "react-i18next";
|
|
5
5
|
import { u as ue } from "./use-controllable-state-BiY4xTzM.js";
|
|
6
6
|
import { u as pe } from "./use-web-otp-D_utzp6S.js";
|
|
7
|
-
import { u as de } from "./form-field-context-
|
|
8
|
-
import { u as
|
|
9
|
-
const
|
|
7
|
+
import { u as de, a as fe } from "./form-field-context-DtiROUJV.js";
|
|
8
|
+
import { u as ge } from "./registry-DvAUVLHh.js";
|
|
9
|
+
const me = {
|
|
10
10
|
id: "otp-input",
|
|
11
11
|
// Value input — `set_value` replaces the digits. There is no `submit`
|
|
12
12
|
// action: completion is host-driven (the consumer's `onComplete` fires
|
|
@@ -81,7 +81,7 @@ const ge = {
|
|
|
81
81
|
description: "Sourced from the id prop."
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
},
|
|
84
|
+
}, he = $("ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]"), ve = $(
|
|
85
85
|
[
|
|
86
86
|
"ds:w-[var(--min-target-size)] ds:h-[var(--min-target-size)]",
|
|
87
87
|
"ds:rounded-[var(--radius-sm)]",
|
|
@@ -105,21 +105,21 @@ const ge = {
|
|
|
105
105
|
function z(a) {
|
|
106
106
|
return a.replace(/[\u0660-\u0669]/g, (n) => String(n.charCodeAt(0) - 1632)).replace(/[\u06F0-\u06F9]/g, (n) => String(n.charCodeAt(0) - 1776));
|
|
107
107
|
}
|
|
108
|
-
const
|
|
109
|
-
function
|
|
108
|
+
const be = 3, ye = 10;
|
|
109
|
+
function we(a) {
|
|
110
110
|
const n = Number.isFinite(a) ? Math.floor(a) : 6;
|
|
111
|
-
return Math.max(
|
|
111
|
+
return Math.max(be, Math.min(ye, n));
|
|
112
112
|
}
|
|
113
113
|
function k(a, n, g) {
|
|
114
114
|
return (g === "alphanumeric" ? a.replace(/[^A-Za-z0-9]/g, "").toUpperCase() : z(a).replace(/\D/g, "")).slice(0, n);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Ie(a, n, g) {
|
|
117
117
|
const p = k(a, n, g), d = new Array(n).fill("");
|
|
118
118
|
for (let m = 0; m < p.length; m += 1)
|
|
119
119
|
d[m] = p[m];
|
|
120
120
|
return d;
|
|
121
121
|
}
|
|
122
|
-
const
|
|
122
|
+
const ke = ae(
|
|
123
123
|
({
|
|
124
124
|
length: a = 6,
|
|
125
125
|
value: n,
|
|
@@ -127,43 +127,43 @@ const Ie = ae(
|
|
|
127
127
|
onChange: p,
|
|
128
128
|
onComplete: d,
|
|
129
129
|
disabled: m,
|
|
130
|
-
error:
|
|
130
|
+
error: j,
|
|
131
131
|
label: V,
|
|
132
|
-
id:
|
|
133
|
-
className:
|
|
134
|
-
webOtp:
|
|
135
|
-
name:
|
|
132
|
+
id: E,
|
|
133
|
+
className: Z,
|
|
134
|
+
webOtp: _ = !1,
|
|
135
|
+
name: K,
|
|
136
136
|
mode: i = "numeric"
|
|
137
137
|
}, U) => {
|
|
138
|
-
const { t: q } = le("ui"), r =
|
|
138
|
+
const { t: q } = le("ui"), r = we(a), v = de(), x = se(), H = V ? x : void 0, [G, O] = ue({
|
|
139
139
|
value: n,
|
|
140
140
|
defaultValue: k(g ?? "", r, i)
|
|
141
|
-
}), h = k(G ?? "", r, i), W =
|
|
141
|
+
}), h = k(G ?? "", r, i), W = Ie(h, r, i), y = v.disabled || !!m, P = v.invalid || !!j, X = P ? "error" : "default", S = R([]), D = R(h.length === r), f = R(h);
|
|
142
142
|
f.current = h;
|
|
143
143
|
const J = () => {
|
|
144
144
|
const t = h.length;
|
|
145
145
|
return t >= r ? r - 1 : t;
|
|
146
|
-
}, [
|
|
146
|
+
}, [b, A] = ne(J);
|
|
147
147
|
oe(() => {
|
|
148
|
-
|
|
149
|
-
}, [
|
|
148
|
+
b >= r && A(r - 1);
|
|
149
|
+
}, [b, r]);
|
|
150
150
|
const l = B(
|
|
151
151
|
(t) => {
|
|
152
152
|
const e = Math.max(0, Math.min(r - 1, t));
|
|
153
153
|
A(e);
|
|
154
|
-
const s =
|
|
154
|
+
const s = S.current[e];
|
|
155
155
|
s && (s.focus(), s.select());
|
|
156
156
|
},
|
|
157
157
|
[r]
|
|
158
158
|
), u = B(
|
|
159
159
|
(t) => {
|
|
160
160
|
const e = k(t, r, i);
|
|
161
|
-
|
|
161
|
+
O(e), f.current = e, p == null || p(e), e.length === r ? D.current || (D.current = !0, d == null || d(e)) : D.current = !1;
|
|
162
162
|
},
|
|
163
|
-
[
|
|
163
|
+
[O, r, i, p, d]
|
|
164
164
|
);
|
|
165
165
|
pe({
|
|
166
|
-
enabled:
|
|
166
|
+
enabled: _ && !y,
|
|
167
167
|
onCode: u
|
|
168
168
|
});
|
|
169
169
|
const Q = (t) => (e) => {
|
|
@@ -175,8 +175,8 @@ const Ie = ae(
|
|
|
175
175
|
}
|
|
176
176
|
return;
|
|
177
177
|
}
|
|
178
|
-
const w = c.slice(0, t),
|
|
179
|
-
u(
|
|
178
|
+
const w = c.slice(0, t), C = c.slice(t + o.length), F = (w + o + C).slice(0, r);
|
|
179
|
+
u(F);
|
|
180
180
|
const L = Math.min(t + o.length, r - 1);
|
|
181
181
|
l(L);
|
|
182
182
|
}, Y = (t) => (e) => {
|
|
@@ -213,28 +213,30 @@ const Ie = ae(
|
|
|
213
213
|
if (i === "alphanumeric" ? c.length === 0 : !/^[0-9]+$/.test(c))
|
|
214
214
|
return;
|
|
215
215
|
e.preventDefault();
|
|
216
|
-
const w = f.current,
|
|
216
|
+
const w = f.current, C = w.slice(0, t), F = w.slice(t + c.length), L = (C + c + F).slice(0, r);
|
|
217
217
|
u(L);
|
|
218
218
|
const N = Math.min(t + c.length, r - 1);
|
|
219
219
|
l(N);
|
|
220
220
|
}, te = (t) => (e) => {
|
|
221
221
|
A(t), e.currentTarget.select();
|
|
222
|
-
},
|
|
222
|
+
}, T = v.id;
|
|
223
|
+
fe(v, `${T}-0`);
|
|
224
|
+
const M = ie(
|
|
223
225
|
() => ({
|
|
224
226
|
getValue: () => f.current,
|
|
225
227
|
setValue: (t) => u(t),
|
|
226
228
|
clear: () => u(""),
|
|
227
|
-
focus: () => l(
|
|
229
|
+
focus: () => l(b),
|
|
228
230
|
isComplete: () => f.current.length === r
|
|
229
231
|
}),
|
|
230
|
-
[u, l,
|
|
232
|
+
[u, l, b, r]
|
|
231
233
|
);
|
|
232
|
-
return
|
|
234
|
+
return ge(me, M, E), ce(U, () => M, [M]), /* @__PURE__ */ re("div", { className: he({ className: Z }), children: [
|
|
233
235
|
V ? /* @__PURE__ */ I(
|
|
234
236
|
"label",
|
|
235
237
|
{
|
|
236
|
-
id:
|
|
237
|
-
htmlFor: `${
|
|
238
|
+
id: H,
|
|
239
|
+
htmlFor: `${T}-0`,
|
|
238
240
|
className: "type-label ds:text-foreground",
|
|
239
241
|
children: V
|
|
240
242
|
}
|
|
@@ -244,22 +246,22 @@ const Ie = ae(
|
|
|
244
246
|
{
|
|
245
247
|
role: "group",
|
|
246
248
|
dir: "ltr",
|
|
247
|
-
"aria-labelledby":
|
|
248
|
-
"aria-invalid":
|
|
249
|
-
"aria-describedby":
|
|
249
|
+
"aria-labelledby": H,
|
|
250
|
+
"aria-invalid": P || void 0,
|
|
251
|
+
"aria-describedby": v.describedBy || void 0,
|
|
250
252
|
"aria-disabled": y || void 0,
|
|
251
253
|
"data-component": "otp-input",
|
|
252
|
-
"data-component-id":
|
|
254
|
+
"data-component-id": E,
|
|
253
255
|
className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
254
256
|
children: W.map((t, e) => {
|
|
255
|
-
const s = !y && e ===
|
|
257
|
+
const s = !y && e === b;
|
|
256
258
|
return /* @__PURE__ */ I(
|
|
257
259
|
"input",
|
|
258
260
|
{
|
|
259
261
|
ref: (o) => {
|
|
260
|
-
|
|
262
|
+
S.current[e] = o;
|
|
261
263
|
},
|
|
262
|
-
id: `${
|
|
264
|
+
id: `${T}-${e}`,
|
|
263
265
|
type: "text",
|
|
264
266
|
inputMode: i === "alphanumeric" ? "text" : "numeric",
|
|
265
267
|
pattern: i === "alphanumeric" ? "[A-Za-z0-9]*" : "[0-9]*",
|
|
@@ -280,19 +282,19 @@ const Ie = ae(
|
|
|
280
282
|
onKeyDown: Y(e),
|
|
281
283
|
onPaste: ee(e),
|
|
282
284
|
onFocus: te(e),
|
|
283
|
-
className:
|
|
285
|
+
className: ve({ tone: X })
|
|
284
286
|
},
|
|
285
287
|
e
|
|
286
288
|
);
|
|
287
289
|
})
|
|
288
290
|
}
|
|
289
291
|
),
|
|
290
|
-
|
|
292
|
+
K ? /* @__PURE__ */ I("input", { type: "hidden", name: K, value: h, readOnly: !0 }) : null
|
|
291
293
|
] });
|
|
292
294
|
}
|
|
293
295
|
);
|
|
294
|
-
|
|
296
|
+
ke.displayName = "OTPInput";
|
|
295
297
|
export {
|
|
296
|
-
|
|
298
|
+
ke as O
|
|
297
299
|
};
|
|
298
|
-
//# sourceMappingURL=otp-input-
|
|
300
|
+
//# sourceMappingURL=otp-input-BedEqmIV.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as I, jsx as u, Fragment as D } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as C, useId as K, useRef as l, useCallback as U, useEffect as N } from "react";
|
|
3
3
|
import { c as E } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { I as _ } from "./icon-button-
|
|
4
|
+
import { I as _ } from "./icon-button-mKIvw90h.js";
|
|
5
5
|
import { P as G } from "./panel-header-D_mTdhUp.js";
|
|
6
6
|
import { S as J } from "./scroll-area-BZOvUhwQ.js";
|
|
7
7
|
import { u as R } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
@@ -214,4 +214,4 @@ const le = Object.assign(L, {
|
|
|
214
214
|
export {
|
|
215
215
|
le as P
|
|
216
216
|
};
|
|
217
|
-
//# sourceMappingURL=panel-subview-
|
|
217
|
+
//# sourceMappingURL=panel-subview-D8HGXaUa.js.map
|