@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
|
@@ -3,25 +3,25 @@ import { forwardRef as ye, useId as xe, useState as te, useRef as K, useCallback
|
|
|
3
3
|
import { u as Ue } from "./index-BcMWc8W2.js";
|
|
4
4
|
import { c as H } from "./index-D2ZczOXr.js";
|
|
5
5
|
import { useTranslation as Ne } from "react-i18next";
|
|
6
|
-
import { u as ke } from "./form-field-context-
|
|
7
|
-
import { u as
|
|
6
|
+
import { u as ke, a as ze } from "./form-field-context-DtiROUJV.js";
|
|
7
|
+
import { u as je } from "./registry-DvAUVLHh.js";
|
|
8
8
|
import { C as ne } from "./circle-alert-rGDZ73Wh.js";
|
|
9
9
|
import { U as M } from "./upload-BfT2hzMg.js";
|
|
10
10
|
import { X as re } from "./x-B5YnXwCz.js";
|
|
11
|
-
import { F as
|
|
12
|
-
import { c as
|
|
13
|
-
import { F as
|
|
14
|
-
import { F as
|
|
15
|
-
import { F as
|
|
16
|
-
import { C as
|
|
17
|
-
import { L as
|
|
11
|
+
import { F as Fe } from "./file-text-5yv6r2ls.js";
|
|
12
|
+
import { c as Ce } from "./createLucideIcon-DhHxpK9K.js";
|
|
13
|
+
import { F as Le } from "./file-spreadsheet-DmwyfV4O.js";
|
|
14
|
+
import { F as Re } from "./file-image-cDgE-BTy.js";
|
|
15
|
+
import { F as Ie } from "./file-BuG1VMAy.js";
|
|
16
|
+
import { C as Ae } from "./circle-check-BN6rz4NV.js";
|
|
17
|
+
import { L as De } from "./loader-circle-BECIU_8N.js";
|
|
18
18
|
/**
|
|
19
19
|
* @license lucide-react v1.22.0 - ISC
|
|
20
20
|
*
|
|
21
21
|
* This source code is licensed under the ISC license.
|
|
22
22
|
* See the LICENSE file in the root directory of this source tree.
|
|
23
23
|
*/
|
|
24
|
-
const
|
|
24
|
+
const Me = [
|
|
25
25
|
[
|
|
26
26
|
"path",
|
|
27
27
|
{
|
|
@@ -34,7 +34,7 @@ const De = [
|
|
|
34
34
|
["path", { d: "M8 18v-2", key: "qcmpov" }],
|
|
35
35
|
["path", { d: "M8 7V6", key: "1nbb54" }],
|
|
36
36
|
["circle", { cx: "8", cy: "20", r: "2", key: "ckkr5m" }]
|
|
37
|
-
],
|
|
37
|
+
], Be = Ce("file-archive", Me), He = {
|
|
38
38
|
id: "file-upload",
|
|
39
39
|
capabilities: ["dismiss"],
|
|
40
40
|
state: {
|
|
@@ -91,7 +91,7 @@ const De = [
|
|
|
91
91
|
description: "Each tracked file emits its id as data-file-id."
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
},
|
|
94
|
+
}, Ee = H(
|
|
95
95
|
[
|
|
96
96
|
"ds:relative ds:flex ds:flex-col ds:items-center ds:justify-center",
|
|
97
97
|
"ds:min-h-48 ds:px-[var(--spacing-lg)] ds:py-[var(--spacing-xl)]",
|
|
@@ -140,7 +140,7 @@ const De = [
|
|
|
140
140
|
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
141
141
|
"ds:disabled:cursor-not-allowed ds:disabled:opacity-50"
|
|
142
142
|
].join(" ")
|
|
143
|
-
),
|
|
143
|
+
), Oe = H(
|
|
144
144
|
[
|
|
145
145
|
"ds:flex ds:items-center ds:gap-[var(--spacing-md)]",
|
|
146
146
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)] ds:bg-background",
|
|
@@ -173,52 +173,52 @@ const De = [
|
|
|
173
173
|
"ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]"
|
|
174
174
|
].join(" ")
|
|
175
175
|
);
|
|
176
|
-
function
|
|
176
|
+
function Te() {
|
|
177
177
|
return typeof crypto < "u" && crypto.randomUUID ? crypto.randomUUID() : `${Date.now()}-${Math.random().toString(36).slice(2, 11)}`;
|
|
178
178
|
}
|
|
179
|
-
function
|
|
179
|
+
function Ve(a) {
|
|
180
180
|
return a.type.startsWith("image/");
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function qe(a) {
|
|
183
183
|
var c;
|
|
184
184
|
const o = ((c = a.name.split(".").pop()) == null ? void 0 : c.toLowerCase()) ?? "";
|
|
185
185
|
return ["pdf", "doc", "docx", "txt", "rtf"].includes(o) ? /* @__PURE__ */ r(
|
|
186
|
-
|
|
186
|
+
Fe,
|
|
187
187
|
{
|
|
188
188
|
"aria-hidden": "true",
|
|
189
189
|
className: "ds:size-10 ds:shrink-0 ds:text-muted-foreground"
|
|
190
190
|
}
|
|
191
191
|
) : ["zip", "rar", "7z", "tar", "gz"].includes(o) ? /* @__PURE__ */ r(
|
|
192
|
-
|
|
192
|
+
Be,
|
|
193
193
|
{
|
|
194
194
|
"aria-hidden": "true",
|
|
195
195
|
className: "ds:size-10 ds:shrink-0 ds:text-muted-foreground"
|
|
196
196
|
}
|
|
197
197
|
) : ["xls", "xlsx", "csv"].includes(o) ? /* @__PURE__ */ r(
|
|
198
|
-
|
|
198
|
+
Le,
|
|
199
199
|
{
|
|
200
200
|
"aria-hidden": "true",
|
|
201
201
|
className: "ds:size-10 ds:shrink-0 ds:text-muted-foreground"
|
|
202
202
|
}
|
|
203
203
|
) : ["png", "jpg", "jpeg", "gif", "webp", "svg", "bmp"].includes(o) ? /* @__PURE__ */ r(
|
|
204
|
-
|
|
204
|
+
Re,
|
|
205
205
|
{
|
|
206
206
|
"aria-hidden": "true",
|
|
207
207
|
className: "ds:size-10 ds:shrink-0 ds:text-muted-foreground"
|
|
208
208
|
}
|
|
209
209
|
) : /* @__PURE__ */ r(
|
|
210
|
-
|
|
210
|
+
Ie,
|
|
211
211
|
{
|
|
212
212
|
"aria-hidden": "true",
|
|
213
213
|
className: "ds:size-10 ds:shrink-0 ds:text-muted-foreground"
|
|
214
214
|
}
|
|
215
215
|
);
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function Ke(a) {
|
|
218
218
|
switch (a) {
|
|
219
219
|
case "uploading":
|
|
220
220
|
return /* @__PURE__ */ r(
|
|
221
|
-
|
|
221
|
+
De,
|
|
222
222
|
{
|
|
223
223
|
"aria-hidden": "true",
|
|
224
224
|
className: "ds:size-4 ds:shrink-0 ds:text-primary ds:animate-spin"
|
|
@@ -226,7 +226,7 @@ function qe(a) {
|
|
|
226
226
|
);
|
|
227
227
|
case "complete":
|
|
228
228
|
return /* @__PURE__ */ r(
|
|
229
|
-
|
|
229
|
+
Ae,
|
|
230
230
|
{
|
|
231
231
|
"aria-hidden": "true",
|
|
232
232
|
className: "ds:size-4 ds:shrink-0 ds:text-[var(--success)]"
|
|
@@ -244,7 +244,7 @@ function qe(a) {
|
|
|
244
244
|
return null;
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
|
-
const
|
|
247
|
+
const $e = [
|
|
248
248
|
"inputs.fileUpload.units.bytes",
|
|
249
249
|
"inputs.fileUpload.units.kilobytes",
|
|
250
250
|
"inputs.fileUpload.units.megabytes",
|
|
@@ -256,10 +256,10 @@ function B(a, o, c) {
|
|
|
256
256
|
l /= 1024, u++;
|
|
257
257
|
const g = new Intl.NumberFormat(o, {
|
|
258
258
|
maximumFractionDigits: u === 0 ? 0 : 1
|
|
259
|
-
}).format(l), N = c(
|
|
259
|
+
}).format(l), N = c($e[u], ae[u]);
|
|
260
260
|
return `${g} ${N}`;
|
|
261
261
|
}
|
|
262
|
-
function
|
|
262
|
+
function Pe(a) {
|
|
263
263
|
switch (a) {
|
|
264
264
|
case "file-too-large":
|
|
265
265
|
return "file-too-large";
|
|
@@ -273,19 +273,19 @@ function $e(a) {
|
|
|
273
273
|
return "file-invalid-type";
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function _e(a) {
|
|
277
277
|
const o = a.split(".");
|
|
278
278
|
return o.length > 1 ? `.${o.pop().toLowerCase()}` : "";
|
|
279
279
|
}
|
|
280
280
|
function de(a, o) {
|
|
281
|
-
const c =
|
|
281
|
+
const c = _e(a.name);
|
|
282
282
|
for (const [l, u] of Object.entries(o)) {
|
|
283
283
|
const g = l === "*/*" || l.endsWith("/*") && a.type.startsWith(l.replace("/*", "/")) || a.type === l, N = u.length === 0 || u.some((F) => F.toLowerCase() === c);
|
|
284
284
|
if (g && N) return !0;
|
|
285
285
|
}
|
|
286
286
|
return !1;
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function We(a) {
|
|
289
289
|
const o = [];
|
|
290
290
|
for (const l of Object.values(a))
|
|
291
291
|
for (const u of l)
|
|
@@ -296,7 +296,7 @@ function _e(a) {
|
|
|
296
296
|
l.endsWith("/*") ? c.push(l.replace("/*", "").split("/").pop() ?? l) : c.push(l.split("/").pop() ?? l);
|
|
297
297
|
return c.join(", ");
|
|
298
298
|
}
|
|
299
|
-
const
|
|
299
|
+
const Ge = ye(
|
|
300
300
|
({
|
|
301
301
|
id: a,
|
|
302
302
|
accept: o,
|
|
@@ -314,7 +314,7 @@ const We = ye(
|
|
|
314
314
|
showPreview: le = !0,
|
|
315
315
|
className: P
|
|
316
316
|
}, k) => {
|
|
317
|
-
const { t: i, i18n: w } = Ne("ui"), h = ke(), ce = xe(), x = h.disabled || N, ue = h.invalid, _ = h
|
|
317
|
+
const { t: i, i18n: w } = Ne("ui"), h = ke(), ce = xe(), x = h.disabled || N, ue = h.invalid, _ = ze(h) || ce, [I, b] = te([]), [W, pe] = te([]), A = K(/* @__PURE__ */ new Map()), O = K(null), z = K(I);
|
|
318
318
|
z.current = I;
|
|
319
319
|
const U = y((e) => {
|
|
320
320
|
O.current && (O.current.textContent = e);
|
|
@@ -370,7 +370,7 @@ const We = ye(
|
|
|
370
370
|
const d = s.flatMap(
|
|
371
371
|
(p) => p.errors.map((D) => ({
|
|
372
372
|
file: p.file,
|
|
373
|
-
reason:
|
|
373
|
+
reason: Pe(D.code)
|
|
374
374
|
}))
|
|
375
375
|
), t = [], n = [];
|
|
376
376
|
for (const p of e)
|
|
@@ -379,10 +379,10 @@ const We = ye(
|
|
|
379
379
|
pe(f), f.length > 0 && (R == null || R(f));
|
|
380
380
|
const q = n.map((p) => ({
|
|
381
381
|
file: p,
|
|
382
|
-
id:
|
|
382
|
+
id: Te(),
|
|
383
383
|
status: "pending",
|
|
384
384
|
progress: 0,
|
|
385
|
-
preview:
|
|
385
|
+
preview: Ve(p) ? URL.createObjectURL(p) : void 0
|
|
386
386
|
}));
|
|
387
387
|
b((p) => {
|
|
388
388
|
if (!g && u === 1) {
|
|
@@ -450,7 +450,7 @@ const We = ye(
|
|
|
450
450
|
}),
|
|
451
451
|
[V, Q]
|
|
452
452
|
);
|
|
453
|
-
|
|
453
|
+
je(He, ge, a);
|
|
454
454
|
const Z = y(
|
|
455
455
|
(e) => {
|
|
456
456
|
const s = [], d = [], t = g ? u : 1;
|
|
@@ -497,7 +497,7 @@ const We = ye(
|
|
|
497
497
|
}, []);
|
|
498
498
|
const ee = $(() => {
|
|
499
499
|
const e = [];
|
|
500
|
-
return o && e.push(
|
|
500
|
+
return o && e.push(We(o)), c && e.push(
|
|
501
501
|
i("inputs.fileUpload.maxSizeHint", "Max {{size}}", {
|
|
502
502
|
size: B(c, w.language, i)
|
|
503
503
|
})
|
|
@@ -542,7 +542,7 @@ const We = ye(
|
|
|
542
542
|
"li",
|
|
543
543
|
{
|
|
544
544
|
"data-file-id": e.id,
|
|
545
|
-
className:
|
|
545
|
+
className: Oe({ status: e.status }),
|
|
546
546
|
children: [
|
|
547
547
|
le && e.preview ? /* @__PURE__ */ r(
|
|
548
548
|
"img",
|
|
@@ -552,11 +552,11 @@ const We = ye(
|
|
|
552
552
|
"aria-hidden": "true",
|
|
553
553
|
className: "ds:size-12 ds:shrink-0 ds:rounded-[var(--radius-md)] ds:object-cover ds:border ds:border-border"
|
|
554
554
|
}
|
|
555
|
-
) :
|
|
555
|
+
) : qe(e.file),
|
|
556
556
|
/* @__PURE__ */ m("div", { className: "ds:flex-1 ds:min-w-0", children: [
|
|
557
557
|
/* @__PURE__ */ m("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
558
558
|
/* @__PURE__ */ r("p", { className: "ds:truncate type-label ds:m-0", children: e.file.name }),
|
|
559
|
-
|
|
559
|
+
Ke(e.status)
|
|
560
560
|
] }),
|
|
561
561
|
/* @__PURE__ */ m("p", { className: "type-meta ds:text-muted-foreground ds:m-0 ds:mt-0.5", children: [
|
|
562
562
|
B(e.file.size, w.language, i),
|
|
@@ -619,7 +619,7 @@ const We = ye(
|
|
|
619
619
|
)) }), he = () => {
|
|
620
620
|
if (v === "button") return null;
|
|
621
621
|
const e = fe({
|
|
622
|
-
className:
|
|
622
|
+
className: Ee({
|
|
623
623
|
isDragActive: j,
|
|
624
624
|
hasError: ue ?? !1,
|
|
625
625
|
isDisabled: x ?? !1,
|
|
@@ -753,11 +753,11 @@ const We = ye(
|
|
|
753
753
|
] });
|
|
754
754
|
}
|
|
755
755
|
);
|
|
756
|
-
|
|
756
|
+
Ge.displayName = "FileUpload";
|
|
757
757
|
export {
|
|
758
|
-
|
|
759
|
-
|
|
758
|
+
Ge as F,
|
|
759
|
+
Be as a,
|
|
760
760
|
ie as b,
|
|
761
|
-
|
|
761
|
+
He as f
|
|
762
762
|
};
|
|
763
|
-
//# sourceMappingURL=file-upload-
|
|
763
|
+
//# sourceMappingURL=file-upload-CxjCs7TX.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as Je, useContext as et, useState as ce, useRef as Z, useId as tt, useEffect as st, useMemo as
|
|
1
|
+
import { jsxs as F, jsx as l, Fragment as Ye } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Je, useContext as et, useState as ce, useRef as Z, useId as tt, useEffect as st, useMemo as A, useCallback as le } from "react";
|
|
3
3
|
import { c as ve } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as nt } from "react-i18next";
|
|
5
|
-
import { u as rt, F as ot } from "./form-field-context-
|
|
6
|
-
import { I as de, c as
|
|
7
|
-
import { c as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { I as
|
|
11
|
-
import { c as
|
|
5
|
+
import { u as rt, F as ot, a as at } from "./form-field-context-DtiROUJV.js";
|
|
6
|
+
import { I as de, c as it, a as j, b as X } from "./input-surface-xyERuLU_.js";
|
|
7
|
+
import { c as ct } from "./compose-refs-C0k0tdqF.js";
|
|
8
|
+
import { u as lt } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
9
|
+
import { u as dt } from "./registry-DvAUVLHh.js";
|
|
10
|
+
import { I as ut } from "./icon-button-mKIvw90h.js";
|
|
11
|
+
import { c as ft } from "./createLucideIcon-DhHxpK9K.js";
|
|
12
12
|
import { C as ue } from "./circle-alert-rGDZ73Wh.js";
|
|
13
13
|
import { C as fe } from "./circle-check-BN6rz4NV.js";
|
|
14
14
|
/**
|
|
@@ -17,7 +17,7 @@ import { C as fe } from "./circle-check-BN6rz4NV.js";
|
|
|
17
17
|
* This source code is licensed under the ISC license.
|
|
18
18
|
* See the LICENSE file in the root directory of this source tree.
|
|
19
19
|
*/
|
|
20
|
-
const
|
|
20
|
+
const pt = [
|
|
21
21
|
["rect", { width: "16", height: "20", x: "4", y: "2", rx: "2", key: "1nb95v" }],
|
|
22
22
|
["line", { x1: "8", x2: "16", y1: "6", y2: "6", key: "x4nwl0" }],
|
|
23
23
|
["line", { x1: "16", x2: "16", y1: "14", y2: "18", key: "wjye3r" }],
|
|
@@ -28,7 +28,7 @@ const ft = [
|
|
|
28
28
|
["path", { d: "M8 14h.01", key: "6423bh" }],
|
|
29
29
|
["path", { d: "M12 18h.01", key: "mhygvu" }],
|
|
30
30
|
["path", { d: "M8 18h.01", key: "lrp35t" }]
|
|
31
|
-
],
|
|
31
|
+
], mt = ft("calculator", pt), ht = {
|
|
32
32
|
id: "fiscal-code-input",
|
|
33
33
|
capabilities: ["set_value"],
|
|
34
34
|
state: {
|
|
@@ -97,7 +97,7 @@ const ft = [
|
|
|
97
97
|
description: "Sourced from the id prop."
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
},
|
|
100
|
+
}, Ct = /* @__PURE__ */ new Set([0, 1, 2, 3, 4, 5, 8, 11]), gt = /* @__PURE__ */ new Set([6, 7, 9, 10, 12, 13, 14]), vt = "LMNPQRSTUV", pe = [14, 13, 12, 10, 9, 7, 6], bt = Object.freeze({
|
|
101
101
|
0: 1,
|
|
102
102
|
1: 0,
|
|
103
103
|
2: 5,
|
|
@@ -134,7 +134,7 @@ const ft = [
|
|
|
134
134
|
X: 25,
|
|
135
135
|
Y: 24,
|
|
136
136
|
Z: 23
|
|
137
|
-
}),
|
|
137
|
+
}), yt = Object.freeze({
|
|
138
138
|
0: 0,
|
|
139
139
|
1: 1,
|
|
140
140
|
2: 2,
|
|
@@ -171,7 +171,7 @@ const ft = [
|
|
|
171
171
|
X: 23,
|
|
172
172
|
Y: 24,
|
|
173
173
|
Z: 25
|
|
174
|
-
}),
|
|
174
|
+
}), It = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
175
175
|
function k(e) {
|
|
176
176
|
return e >= "0" && e <= "9";
|
|
177
177
|
}
|
|
@@ -182,7 +182,7 @@ function ye(e) {
|
|
|
182
182
|
if (!/^[A-Z0-9]{15}[A-Z]$/.test(e)) return !1;
|
|
183
183
|
for (let t = 0; t < 15; t += 1) {
|
|
184
184
|
const s = e[t];
|
|
185
|
-
if (
|
|
185
|
+
if (Ct.has(t) && k(s) || gt.has(t) && !k(s) && !vt.includes(s))
|
|
186
186
|
return !1;
|
|
187
187
|
}
|
|
188
188
|
return !0;
|
|
@@ -202,9 +202,9 @@ function K(e) {
|
|
|
202
202
|
let t = 0;
|
|
203
203
|
for (let s = 0; s < 15; s += 1) {
|
|
204
204
|
const r = e[s];
|
|
205
|
-
t += s % 2 === 0 ?
|
|
205
|
+
t += s % 2 === 0 ? bt[r] : yt[r];
|
|
206
206
|
}
|
|
207
|
-
return
|
|
207
|
+
return It[t % 26];
|
|
208
208
|
}
|
|
209
209
|
function N(e) {
|
|
210
210
|
if (e.length === 0) return "empty";
|
|
@@ -213,10 +213,10 @@ function N(e) {
|
|
|
213
213
|
const t = be(e);
|
|
214
214
|
return ye(t) ? K(t.slice(0, 15)) !== t[15] ? "badChecksum" : "valid" : "badFormat";
|
|
215
215
|
}
|
|
216
|
-
function
|
|
216
|
+
function Kt(e) {
|
|
217
217
|
return N(e) === "valid";
|
|
218
218
|
}
|
|
219
|
-
const
|
|
219
|
+
const Ie = /* @__PURE__ */ new Set(["A", "E", "I", "O", "U"]), Et = [
|
|
220
220
|
"A",
|
|
221
221
|
"B",
|
|
222
222
|
"C",
|
|
@@ -230,24 +230,24 @@ const Ee = /* @__PURE__ */ new Set(["A", "E", "I", "O", "U"]), Et = [
|
|
|
230
230
|
"S",
|
|
231
231
|
"T"
|
|
232
232
|
];
|
|
233
|
-
function
|
|
233
|
+
function Ee(e) {
|
|
234
234
|
return e.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toUpperCase().replace(/[^A-Z]/g, "");
|
|
235
235
|
}
|
|
236
236
|
function Se(e) {
|
|
237
|
-
return [...e].filter((t) => !
|
|
237
|
+
return [...e].filter((t) => !Ie.has(t)).join("");
|
|
238
238
|
}
|
|
239
239
|
function xe(e) {
|
|
240
|
-
return [...e].filter((t) =>
|
|
240
|
+
return [...e].filter((t) => Ie.has(t)).join("");
|
|
241
241
|
}
|
|
242
|
-
function
|
|
243
|
-
const t =
|
|
242
|
+
function St(e) {
|
|
243
|
+
const t = Ee(e);
|
|
244
244
|
return (Se(t) + xe(t) + "XXX").slice(0, 3);
|
|
245
245
|
}
|
|
246
|
-
function
|
|
247
|
-
const t =
|
|
246
|
+
function xt(e) {
|
|
247
|
+
const t = Ee(e), s = Se(t);
|
|
248
248
|
return s.length >= 4 ? s[0] + s[2] + s[3] : (s + xe(t) + "XXX").slice(0, 3);
|
|
249
249
|
}
|
|
250
|
-
function
|
|
250
|
+
function Tt(e) {
|
|
251
251
|
const t = e instanceof Date ? e : new Date(e);
|
|
252
252
|
if (Number.isNaN(t.getTime()))
|
|
253
253
|
throw new Error(`calculateCodiceFiscale: invalid birthDate "${e}"`);
|
|
@@ -256,8 +256,8 @@ function xt(e) {
|
|
|
256
256
|
function he(e) {
|
|
257
257
|
return String(e).padStart(2, "0");
|
|
258
258
|
}
|
|
259
|
-
function
|
|
260
|
-
const s =
|
|
259
|
+
function Ft(e, t) {
|
|
260
|
+
const s = Tt(e), r = he(s.getUTCFullYear() % 100), i = Et[s.getUTCMonth()], g = s.getUTCDate() + (t === "F" ? 40 : 0);
|
|
261
261
|
return r + i + he(g);
|
|
262
262
|
}
|
|
263
263
|
function At(e) {
|
|
@@ -266,11 +266,11 @@ function At(e) {
|
|
|
266
266
|
throw new Error(
|
|
267
267
|
`calculateCodiceFiscale: belfioreCode must be a letter + 3 digits (e.g. "H501"), got "${g}"`
|
|
268
268
|
);
|
|
269
|
-
const x =
|
|
269
|
+
const x = St(t) + xt(s) + Ft(r, i) + m;
|
|
270
270
|
return x + K(x);
|
|
271
271
|
}
|
|
272
|
-
const R = 16,
|
|
273
|
-
["ds:relative ds:flex ds:items-center ds:w-full",
|
|
272
|
+
const R = 16, Nt = ve(
|
|
273
|
+
["ds:relative ds:flex ds:items-center ds:w-full", it].join(
|
|
274
274
|
" "
|
|
275
275
|
),
|
|
276
276
|
{
|
|
@@ -287,7 +287,7 @@ const R = 16, Ft = ve(
|
|
|
287
287
|
},
|
|
288
288
|
defaultVariants: { size: "md", tone: "default" }
|
|
289
289
|
}
|
|
290
|
-
),
|
|
290
|
+
), Rt = ve(
|
|
291
291
|
[
|
|
292
292
|
// dir="ltr" + tabular-nums keep the alphanumeric code rendering
|
|
293
293
|
// left-to-right and evenly spaced even under an RTL/CJK surrounding
|
|
@@ -324,11 +324,11 @@ const R = 16, Ft = ve(
|
|
|
324
324
|
],
|
|
325
325
|
defaultVariants: { size: "md", hasStart: !1, hasEnd: !1 }
|
|
326
326
|
}
|
|
327
|
-
),
|
|
327
|
+
), kt = "ds:absolute ds:inset-y-0 ds:end-0 ds:pe-3 ds:flex ds:items-center ds:pointer-events-none ds:[&_svg]:size-4", wt = "ds:absolute ds:inset-y-0 ds:start-0 ds:ps-1 ds:flex ds:items-center", Te = "type-body-sm ds:mt-[var(--spacing-xs)]", Ce = `${Te} ds:inline-flex ds:items-start ds:gap-[var(--spacing-xs)]`, ge = "ds:flex ds:h-[1lh] ds:shrink-0 ds:items-center ds:[&_svg]:size-4";
|
|
328
328
|
function p(e) {
|
|
329
329
|
return e.normalize("NFKC").replace(/[٠-٩]/g, (t) => String(t.charCodeAt(0) - 1632)).replace(/[۰-۹]/g, (t) => String(t.charCodeAt(0) - 1776)).toUpperCase().replace(/[^A-Z0-9]/g, "").slice(0, R);
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function Mt(e, t) {
|
|
332
332
|
let s = 0;
|
|
333
333
|
for (let r = 0; r < t && r < e.length; r += 1) {
|
|
334
334
|
const i = e[r];
|
|
@@ -336,7 +336,7 @@ function wt(e, t) {
|
|
|
336
336
|
}
|
|
337
337
|
return s;
|
|
338
338
|
}
|
|
339
|
-
const
|
|
339
|
+
const Vt = Je(function({
|
|
340
340
|
value: t,
|
|
341
341
|
defaultValue: s,
|
|
342
342
|
onChange: r,
|
|
@@ -345,9 +345,9 @@ const Mt = Je(function({
|
|
|
345
345
|
validateOn: m = "blur",
|
|
346
346
|
showError: x,
|
|
347
347
|
errorMessage: w,
|
|
348
|
-
disabled:
|
|
348
|
+
disabled: Fe,
|
|
349
349
|
readOnly: u,
|
|
350
|
-
required:
|
|
350
|
+
required: Ae,
|
|
351
351
|
placeholder: Ne,
|
|
352
352
|
showFormatHint: Re = !0,
|
|
353
353
|
calculateFrom: M,
|
|
@@ -356,21 +356,21 @@ const Mt = Je(function({
|
|
|
356
356
|
className: we,
|
|
357
357
|
"aria-label": W
|
|
358
358
|
}, Me) {
|
|
359
|
-
const { t: d } = nt("ui"),
|
|
359
|
+
const { t: d } = nt("ui"), I = rt(), f = et(ot) !== null, v = t !== void 0, [Ve, _] = ce(
|
|
360
360
|
() => p(s ?? "")
|
|
361
|
-
), c = v ? p(t ?? "") : Ve, [_e, G] = ce(!1), D = Z(!1), b = Z(null), h = Z(null), De =
|
|
361
|
+
), c = v ? p(t ?? "") : Ve, [_e, G] = ce(!1), D = Z(!1), b = Z(null), h = Z(null), De = ct(Me, h), O = tt(), q = `${O}-hint`, Q = `${O}-status`, Y = `${O}-error`;
|
|
362
362
|
st(() => {
|
|
363
363
|
}, [f, W]);
|
|
364
|
-
const y =
|
|
364
|
+
const y = A(
|
|
365
365
|
() => N(c),
|
|
366
366
|
[c]
|
|
367
|
-
), J = c.length === R, U = y === "valid", B =
|
|
367
|
+
), J = c.length === R, U = y === "valid", B = A(
|
|
368
368
|
() => me(c),
|
|
369
369
|
[c]
|
|
370
|
-
), $ = (f ?
|
|
370
|
+
), $ = (f ? I.disabled : !1) || !!Fe, Oe = (f ? I.required : !1) || !!Ae, Ue = !u && (!!x || J && !U && (m === "change" || m === "blur" && _e)), ee = f && I.invalid, C = Ue && !ee, te = ee || C, Be = te || g === "error" ? "error" : "default", $e = A(() => w || d(y === "badChecksum" && B ? "inputs.fiscalCode.errorChecksumOmocodia" : y === "badChecksum" || y === "valid" ? "inputs.fiscalCode.errorChecksum" : y === "badFormat" ? "inputs.fiscalCode.errorFormat" : "inputs.fiscalCode.errorIncomplete"), [w, y, B, d]), se = !f && Re && !u, Pe = f ? void 0 : [
|
|
371
371
|
se ? q : null,
|
|
372
372
|
C ? Y : Q
|
|
373
|
-
].filter(Boolean).join(" ") || void 0, ze = f ?
|
|
373
|
+
].filter(Boolean).join(" ") || void 0, ze = f ? I.describedBy || void 0 : Pe, Le = at(I, V), E = le(
|
|
374
374
|
(n) => {
|
|
375
375
|
const o = N(n);
|
|
376
376
|
r == null || r(n, {
|
|
@@ -383,11 +383,11 @@ const Mt = Je(function({
|
|
|
383
383
|
[r]
|
|
384
384
|
), T = le(
|
|
385
385
|
(n) => {
|
|
386
|
-
v || _(n),
|
|
386
|
+
v || _(n), E(n);
|
|
387
387
|
},
|
|
388
|
-
[v,
|
|
388
|
+
[v, E]
|
|
389
389
|
);
|
|
390
|
-
|
|
390
|
+
lt(() => {
|
|
391
391
|
if (b.current == null) return;
|
|
392
392
|
const n = b.current;
|
|
393
393
|
b.current = null;
|
|
@@ -399,7 +399,7 @@ const Mt = Je(function({
|
|
|
399
399
|
});
|
|
400
400
|
const He = (n) => {
|
|
401
401
|
if (u || D.current) return;
|
|
402
|
-
const o = n.target, a = o.value, L = o.selectionStart ?? a.length, H =
|
|
402
|
+
const o = n.target, a = o.value, L = o.selectionStart ?? a.length, H = Mt(a, L), S = p(a);
|
|
403
403
|
b.current = Math.min(H, S.length), T(S);
|
|
404
404
|
}, Ze = () => {
|
|
405
405
|
D.current = !0;
|
|
@@ -426,17 +426,17 @@ const Mt = Je(function({
|
|
|
426
426
|
}
|
|
427
427
|
const o = p(n);
|
|
428
428
|
m === "blur" && G(!0), T(o), (a = h.current) == null || a.focus();
|
|
429
|
-
}, Ge =
|
|
429
|
+
}, Ge = A(
|
|
430
430
|
() => ({
|
|
431
431
|
getValue: () => c,
|
|
432
432
|
setValue: (n) => {
|
|
433
433
|
var a;
|
|
434
434
|
const o = p(n);
|
|
435
|
-
v || _(o),
|
|
435
|
+
v || _(o), E(o), (a = h.current) == null || a.focus();
|
|
436
436
|
},
|
|
437
437
|
clear: () => {
|
|
438
438
|
var n;
|
|
439
|
-
v || _(""),
|
|
439
|
+
v || _(""), E(""), (n = h.current) == null || n.focus();
|
|
440
440
|
},
|
|
441
441
|
focus: () => {
|
|
442
442
|
var n;
|
|
@@ -444,32 +444,32 @@ const Mt = Je(function({
|
|
|
444
444
|
},
|
|
445
445
|
isValid: () => N(c) === "valid"
|
|
446
446
|
}),
|
|
447
|
-
[c, v,
|
|
447
|
+
[c, v, E]
|
|
448
448
|
);
|
|
449
|
-
|
|
449
|
+
dt(ht, Ge, V);
|
|
450
450
|
const qe = Ne ?? d("inputs.fiscalCode.placeholder"), P = U && !C, z = u || f ? "" : P ? d(B ? "inputs.fiscalCode.validOmocodia" : "inputs.fiscalCode.valid") : c.length > 0 && !J ? d("inputs.fiscalCode.charactersEntered", {
|
|
451
451
|
count: c.length
|
|
452
452
|
}) : "", ne = C ? $e : "", re = !u && (C || U && !f), oe = !!M && !u && !$;
|
|
453
|
-
return /* @__PURE__ */
|
|
453
|
+
return /* @__PURE__ */ F(
|
|
454
454
|
"div",
|
|
455
455
|
{
|
|
456
456
|
className: "ds:flex ds:flex-col",
|
|
457
457
|
"data-component": "fiscal-code-input",
|
|
458
458
|
"data-component-id": V,
|
|
459
459
|
children: [
|
|
460
|
-
/* @__PURE__ */
|
|
460
|
+
/* @__PURE__ */ F(
|
|
461
461
|
"div",
|
|
462
462
|
{
|
|
463
463
|
"data-slot": "fiscal-code-input",
|
|
464
|
-
className:
|
|
464
|
+
className: Nt({ size: i, tone: Be, className: we }),
|
|
465
465
|
children: [
|
|
466
|
-
oe ? /* @__PURE__ */ l("span", { dir: "ltr", className:
|
|
467
|
-
|
|
466
|
+
oe ? /* @__PURE__ */ l("span", { dir: "ltr", className: wt, children: /* @__PURE__ */ l(
|
|
467
|
+
ut,
|
|
468
468
|
{
|
|
469
469
|
type: "button",
|
|
470
470
|
size: "sm",
|
|
471
471
|
intent: "ghost",
|
|
472
|
-
icon: /* @__PURE__ */ l(
|
|
472
|
+
icon: /* @__PURE__ */ l(mt, {}),
|
|
473
473
|
"aria-label": d("inputs.fiscalCode.calculate"),
|
|
474
474
|
onClick: We
|
|
475
475
|
}
|
|
@@ -502,7 +502,7 @@ const Mt = Je(function({
|
|
|
502
502
|
onCompositionEnd: je,
|
|
503
503
|
onPaste: Xe,
|
|
504
504
|
onBlur: Ke,
|
|
505
|
-
className:
|
|
505
|
+
className: Rt({
|
|
506
506
|
size: i,
|
|
507
507
|
hasStart: oe,
|
|
508
508
|
hasEnd: re
|
|
@@ -514,7 +514,7 @@ const Mt = Je(function({
|
|
|
514
514
|
{
|
|
515
515
|
"aria-hidden": "true",
|
|
516
516
|
dir: "ltr",
|
|
517
|
-
className: `${
|
|
517
|
+
className: `${kt} ${C ? "ds:text-destructive" : "ds:text-success"}`,
|
|
518
518
|
children: C ? /* @__PURE__ */ l(ue, {}) : /* @__PURE__ */ l(fe, {})
|
|
519
519
|
}
|
|
520
520
|
) : null
|
|
@@ -536,13 +536,13 @@ const Mt = Je(function({
|
|
|
536
536
|
role: "status",
|
|
537
537
|
"aria-live": "polite",
|
|
538
538
|
className: `${Ce} ${P ? "ds:text-success" : "ds:text-muted-foreground"} ${z ? "" : "ds:sr-only"}`,
|
|
539
|
-
children: z ? /* @__PURE__ */
|
|
539
|
+
children: z ? /* @__PURE__ */ F(Ye, { children: [
|
|
540
540
|
P ? /* @__PURE__ */ l("span", { "aria-hidden": "true", className: ge, children: /* @__PURE__ */ l(fe, {}) }) : null,
|
|
541
541
|
/* @__PURE__ */ l("span", { children: z })
|
|
542
542
|
] }) : null
|
|
543
543
|
}
|
|
544
544
|
),
|
|
545
|
-
ne ? /* @__PURE__ */
|
|
545
|
+
ne ? /* @__PURE__ */ F(
|
|
546
546
|
"p",
|
|
547
547
|
{
|
|
548
548
|
id: Y,
|
|
@@ -558,15 +558,15 @@ const Mt = Je(function({
|
|
|
558
558
|
}
|
|
559
559
|
);
|
|
560
560
|
});
|
|
561
|
-
|
|
561
|
+
Vt.displayName = "FiscalCodeInput";
|
|
562
562
|
export {
|
|
563
|
-
|
|
563
|
+
Vt as F,
|
|
564
564
|
N as a,
|
|
565
565
|
K as b,
|
|
566
566
|
At as c,
|
|
567
|
-
|
|
568
|
-
|
|
567
|
+
Kt as d,
|
|
568
|
+
ht as f,
|
|
569
569
|
me as i,
|
|
570
|
-
|
|
570
|
+
Nt as w
|
|
571
571
|
};
|
|
572
|
-
//# sourceMappingURL=fiscal-code-input-
|
|
572
|
+
//# sourceMappingURL=fiscal-code-input-DNA_SbQx.js.map
|