@alfadocs/ui-kit 1.53.0 → 1.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{Alfadocs_Logo_Mark-7o3L3WBI.js → Alfadocs_Logo_Mark-Z_b6ZI1g.js} +22 -9
- package/dist/_chunks/{actions-cell-renderer-DhmUGzRY.js → actions-cell-renderer-CjzSqMgn.js} +3 -3
- package/dist/_chunks/{address-autocomplete-Bp816Mb1.js → address-autocomplete-BBZ0u_U1.js} +99 -98
- package/dist/_chunks/address-fields-1pD-8hML.js +292 -0
- package/dist/_chunks/{agenda-tray-C2a8OfKC.js → agenda-tray-B8vuZKjH.js} +3 -3
- package/dist/_chunks/{ai-credits-notice-Da0fJPXO.js → ai-credits-notice-D9_qP2xc.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-C5q_uHBA.js → ai-permission-notice-Cr6o1f0f.js} +3 -3
- package/dist/_chunks/{ai-prompt-input-IObcUWqB.js → ai-prompt-input-DkL8W-nt.js} +3 -3
- package/dist/_chunks/{alia-sidebar-DyQMsyiz.js → alia-sidebar-DSUQ2RpK.js} +6 -6
- package/dist/_chunks/{anamnesis-card-D4RWzQXP.js → anamnesis-card-BT1tMt5O.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-CnHxtht-.js → anamnesis-summary-rows-BMjSBqhS.js} +19 -19
- package/dist/_chunks/{appointment-peek-DpPzeYXm.js → appointment-peek-Cbrg36wj.js} +3 -3
- package/dist/_chunks/{appointment-timeline-By-EwmJU.js → appointment-timeline-CssAJLpL.js} +4 -4
- package/dist/_chunks/{appointment-tray-7Z3A3Xz9.js → appointment-tray-EQUjllVy.js} +3 -3
- package/dist/_chunks/{audio-recorder-BafA28cX.js → audio-recorder-BM68r6fe.js} +3 -3
- package/dist/_chunks/auth-form-parts-Celi-TLV.js +85 -0
- package/dist/_chunks/{autocomplete-IfLaXwyb.js → autocomplete-BXm1rnT0.js} +229 -220
- package/dist/_chunks/{balance-badge-cell-BtiFfFRY.js → balance-badge-cell-BDX1Krdv.js} +5 -5
- package/dist/_chunks/{bishop-score-BfDsm9HH.js → bishop-score-CGAVpIWL.js} +3 -3
- package/dist/_chunks/{bmi-calculator-BNtmMzQy.js → bmi-calculator-g_wjo4nq.js} +5 -5
- package/dist/_chunks/booking-CPUjwxj0.js +3710 -0
- package/dist/_chunks/{button-group-DnSR6eN6.js → button-group-CpEycMps.js} +2 -2
- package/dist/_chunks/{calendar-workspace-LDuzo_Ie.js → calendar-workspace-BbZIx2PT.js} +32 -32
- package/dist/_chunks/{care-plan-card-BanlKJZn.js → care-plan-card-BqI-_B4T.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-ByqT84_P.js → care-plan-entry-card-CbsZmfQM.js} +2 -2
- package/dist/_chunks/{care-plan-header-BwfUHMgM.js → care-plan-header-BIS4CGcp.js} +3 -3
- package/dist/_chunks/{carousel.agent-WKODAYVw.js → carousel.agent-DW9iPLdy.js} +2 -2
- package/dist/_chunks/{chart-D37VAIa-.js → chart-C134Ibwm.js} +3 -3
- package/dist/_chunks/{chat-input-DA10w969.js → chat-input-Bg99kcl3.js} +2 -2
- package/dist/_chunks/{chat-message-DoMjMa-M.js → chat-message-D4rvLoIJ.js} +2 -2
- package/dist/_chunks/{checkbox-CZkipDn7.js → checkbox--ndmyokr.js} +19 -15
- package/dist/_chunks/{checkbox-group-C7czpHmJ.js → checkbox-group-B0oZHNT3.js} +2 -2
- package/dist/_chunks/{city-input-CAnTVgBZ.js → city-input-DyxVWSRQ.js} +10 -9
- package/dist/_chunks/{clinical-note-card-kvlUrmP-.js → clinical-note-card-gmWXEwSu.js} +2 -2
- package/dist/_chunks/{code-block-NtHjtagI.js → code-block-CRVa-Thh.js} +2 -2
- package/dist/_chunks/{color-picker-Yl99lHuF.js → color-picker-Bu0wM8xv.js} +50 -50
- package/dist/_chunks/combobox-DppVSuUm.js +614 -0
- package/dist/_chunks/{connection-status-Dz8o-Fui.js → connection-status-BwTnjnUj.js} +2 -2
- package/dist/_chunks/{contact-card-D2gXrxlL.js → contact-card-CIVCcicP.js} +2 -2
- package/dist/_chunks/{contact-profile-card-B7cXr8g5.js → contact-profile-card-h0QX4_5B.js} +3 -3
- package/dist/_chunks/{control-room-rail-B446rHSL.js → control-room-rail-g4vNSPFi.js} +3 -3
- package/dist/_chunks/{country-select-BYa4BrEi.js → country-select-r3QC7cVA.js} +139 -113
- package/dist/_chunks/{cycle-calculator-D_5f9VSN.js → cycle-calculator-CwDEdmda.js} +4 -4
- package/dist/_chunks/{dashboard-grid-DWNP02Ff.js → dashboard-grid--rkojX6m.js} +2 -2
- package/dist/_chunks/{data-table-CiVyhNXx.js → data-table-DeUoJzNn.js} +8 -8
- package/dist/_chunks/{data-table-tabs-Dc6zvoI_.js → data-table-tabs-BfEmXvUk.js} +4 -4
- package/dist/_chunks/{date-picker-p9yz3pxc.js → date-picker-BnhBmcH6.js} +31 -31
- package/dist/_chunks/{date-range-picker-DIy8gNY0.js → date-range-picker-Dg050N1d.js} +65 -65
- package/dist/_chunks/{date-time-picker-C3UVzqOm.js → date-time-picker-Ckl6ezCL.js} +50 -49
- package/dist/_chunks/{description-list-9rchqp5q.js → description-list-BKQMUiXv.js} +2 -2
- package/dist/_chunks/dev-bypass-button-Y1s7gPSD.js +33 -0
- package/dist/_chunks/dev-bypass-button.agent-BJqFSTqE.js +17 -0
- package/dist/_chunks/{document-preview-VXOQZZvy.js → document-preview-C_6R_VZK.js} +4 -4
- package/dist/_chunks/{document-scanner-T5jHiraQ.js → document-scanner-pADVX447.js} +2 -2
- package/dist/_chunks/{due-date-calculator-iJXm6HOj.js → due-date-calculator-_0Dz_d7n.js} +6 -6
- package/dist/_chunks/{editable-currency-cell-renderer-DdMHme5y.js → editable-currency-cell-renderer-CfFp_1hI.js} +3 -3
- package/dist/_chunks/{editable-description-Cy3AZ5K2.js → editable-description-CCrAEJMq.js} +2 -2
- package/dist/_chunks/{editor-overlay-C0awV6ba.js → editor-overlay-CWV0chPV.js} +2 -2
- package/dist/_chunks/{email-input-ebdovOmh.js → email-input-Cmeo4zdT.js} +88 -86
- package/dist/_chunks/{empty-state-C62P_6kr.js → empty-state-CgvmPPvW.js} +44 -50
- package/dist/_chunks/{entity-summary-oW3_jFhU.js → entity-summary-C3E4JKVr.js} +3 -3
- package/dist/_chunks/{error-boundary-Cvs23EzK.js → error-boundary-Bzjk9Q2l.js} +2 -2
- package/dist/_chunks/error-page-CKFJlekz.js +275 -0
- package/dist/_chunks/error-page-illustration-QGJAvuFB.js +459 -0
- package/dist/_chunks/{face-scheme-Dg7KcbW2.js → face-scheme-pZgT26gB.js} +8 -8
- package/dist/_chunks/{fetal-weight-BoIkl2t1.js → fetal-weight-CbE61Uyk.js} +3 -3
- package/dist/_chunks/{field-array-BF2nCmvt.js → field-array-DGiIHCdy.js} +2 -2
- package/dist/_chunks/{file-manager-BfG3usGk.js → file-manager-DdsAd4TQ.js} +8 -8
- package/dist/_chunks/{file-upload-OMlGHz70.js → file-upload-CxjCs7TX.js} +46 -46
- package/dist/_chunks/{fiscal-code-input-CuuE8_dt.js → fiscal-code-input-DNA_SbQx.js} +69 -69
- package/dist/_chunks/forgot-password-form-DVVOBEGj.js +203 -0
- package/dist/_chunks/form-field-D9WfDpYB.js +165 -0
- package/dist/_chunks/form-field-context-DtiROUJV.js +36 -0
- package/dist/_chunks/{freemium-paywall-BhxKSEJD.js → freemium-paywall-CtUCj-ND.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CjZ7v-8x.js → gestational-age-calculator-BMkoLJGR.js} +7 -7
- package/dist/_chunks/{hcg-doubling-BYMogA0e.js → hcg-doubling-BtW2pBJX.js} +4 -4
- package/dist/_chunks/{header-CzJbtTGQ.js → header--a4ZTiM5.js} +6 -3
- package/dist/_chunks/{header-settings-BqdBe4zk.js → header-settings-kkVm9VP3.js} +3 -3
- package/dist/_chunks/{help-me-write-templates-DcR-e_90.js → help-me-write-templates-Cy-iO5AU.js} +8 -8
- package/dist/_chunks/{hover-card-DEMPFs9M.js → hover-card-CcRSI4gy.js} +2 -2
- package/dist/_chunks/{iban-input-D88HRGZo.js → iban-input-CpOUMMR-.js} +35 -35
- package/dist/_chunks/{icon-button-group-DHRz90jY.js → icon-button-group-BsQkbCX4.js} +2 -2
- package/dist/_chunks/{icon-button-JAXAkqWC.js → icon-button-mKIvw90h.js} +31 -30
- package/dist/_chunks/{icon-picker-C5Fhx1-3.js → icon-picker-CSViTQL9.js} +3 -3
- package/dist/_chunks/{info-tip-DfmEvyAF.js → info-tip-Czh1izZ6.js} +2 -2
- package/dist/_chunks/is-development-CLUAnsU7.js +11 -0
- package/dist/_chunks/{key-value-pair-DZH8ESsc.js → key-value-pair-BkXjt88Z.js} +2 -2
- package/dist/_chunks/{kit-extensions-CF5mDF_Z.js → kit-extensions-Kca1tkfP.js} +6 -6
- package/dist/_chunks/{link-BlVUIKk1.js → link-2HokYuIi.js} +19 -18
- package/dist/_chunks/{link-cell-renderer-DvcbSHyp.js → link-cell-renderer-D-xv2HMS.js} +7 -7
- package/dist/_chunks/{locale-picker-DYDppQdZ.js → locale-picker-BhNIgeXA.js} +3 -3
- package/dist/_chunks/log-in-OQUEoGhX.js +16 -0
- package/dist/_chunks/login-dev-card-C7wo-Hv1.js +275 -0
- package/dist/_chunks/{logo-1FuSGx0n.js → logo-CuaqxTGK.js} +128 -77
- package/dist/_chunks/mark-pieces-m_rn1mAc.js +46 -0
- package/dist/_chunks/{marketplace-app-shell-rd1bSSm4.js → marketplace-app-shell-DbEfoNxe.js} +6 -6
- package/dist/_chunks/{message-card-Dub3790J.js → message-card-C1buKlzM.js} +2 -2
- package/dist/_chunks/{message-tray-CTd6CsnG.js → message-tray-DyBVqlGj.js} +3 -3
- package/dist/_chunks/{multi-select-Bx0_cgPI.js → multi-select-CVb6PJOK.js} +87 -85
- package/dist/_chunks/{muscle-scheme-X2bdmsQt.js → muscle-scheme-DfYQ0Z3v.js} +2 -2
- package/dist/_chunks/{nav-grid-BnY0Ilet.js → nav-grid-BPbmzHY0.js} +2 -2
- package/dist/_chunks/{note-attachment-CpPRIfSn.js → note-attachment-I1NLoeRZ.js} +2 -2
- package/dist/_chunks/{note-timeline-CZUmobcn.js → note-timeline-CsY8YOE7.js} +2 -2
- package/dist/_chunks/{notes-panel-CPfxz-1j.js → notes-panel-BPb-2ZnJ.js} +6 -6
- package/dist/_chunks/{notification-card-B39g86vM.js → notification-card-DubeUbVJ.js} +2 -2
- package/dist/_chunks/{notification-tray-WsP7c1jf.js → notification-tray-DJ0gtfu6.js} +3 -3
- package/dist/_chunks/{number-input-BLrx3utH.js → number-input-DRDRYZJg.js} +41 -41
- package/dist/_chunks/{optical-prescription-x--Rpmmx.js → optical-prescription-DBvebioV.js} +5 -5
- package/dist/_chunks/{otp-input-Dz8WMg4F.js → otp-input-BedEqmIV.js} +47 -45
- package/dist/_chunks/{panel-subview-DAY-ToM3.js → panel-subview-D8HGXaUa.js} +2 -2
- package/dist/_chunks/password-input-B7pQTk7l.js +447 -0
- package/dist/_chunks/{patient-details-BSAMAd3I.js → patient-details-BP9r_lNS.js} +3 -3
- package/dist/_chunks/{patient-field-row-dUF2cW2G.js → patient-field-row-BK9JjbzA.js} +19 -19
- package/dist/_chunks/{patient-search-CXl0FNfN.js → patient-search-Dm3w0jWw.js} +3 -3
- package/dist/_chunks/{patient-summary-card-DF-Mxcma.js → patient-summary-card-DGbRLzF1.js} +6 -6
- package/dist/_chunks/{payment-form-DxsjXYHJ.js → payment-form-B08gHZIY.js} +327 -295
- package/dist/_chunks/{payment-request-card-BFsmHLtf.js → payment-request-card-CR7SjsRs.js} +4 -4
- package/dist/_chunks/{pdf-viewer-hzfM5pZf.js → pdf-viewer-zv7pkUPA.js} +2 -2
- package/dist/_chunks/{periodontal-chart-Bvii6uOg.js → periodontal-chart-5nLsSuRM.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-DTbvFQO7.js → periodontal-chart-card-Djr3en8Q.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-BqEo0usu.js → periodontal-diagnosis-DmVIqXtC.js} +4 -4
- package/dist/_chunks/{permission-matrix-DHKECaNW.js → permission-matrix-DuTkUHxe.js} +3 -3
- package/dist/_chunks/{phone-input-opMMHkyh.js → phone-input-BzeUr49H.js} +253 -204
- package/dist/_chunks/{popover-CGYPYIVi.js → popover-9_v-7fJc.js} +2 -2
- package/dist/_chunks/{postal-code-input-Dv02t5MD.js → postal-code-input-BmbqjkfD.js} +71 -71
- package/dist/_chunks/{practice-results-B9uV0TT8.js → practice-results-D3liWOz1.js} +4 -4
- package/dist/_chunks/{pregnancy-dating-CcPxK3S3.js → pregnancy-dating-DV3o2PPl.js} +8 -8
- package/dist/_chunks/{pregnancy-weight-gain-tGbbravi.js → pregnancy-weight-gain-BLjWgtS9.js} +5 -5
- package/dist/_chunks/{privacy-lock-Bh4O7Y7g.js → privacy-lock-KDPKiTpH.js} +3 -3
- package/dist/_chunks/{privacy-mask-CK-9sxeI.js → privacy-mask-H8yYwgIb.js} +2 -2
- package/dist/_chunks/{product-hub-panel-D87kbz5j.js → product-hub-panel-M5X3TYzq.js} +4 -4
- package/dist/_chunks/{province-select-BZtM0RSR.js → province-select-DtF2ukoC.js} +92 -79
- package/dist/_chunks/{public-footer.agent-CVYmHY94.js → public-footer-Bfs81Qzp.js} +188 -219
- package/dist/_chunks/public-footer.agent-CRZCrq3_.js +37 -0
- package/dist/_chunks/{public-header.agent-1mcrQqIM.js → public-header.agent-CrXkGtTF.js} +3 -3
- package/dist/_chunks/{qr-code-C3m9o7om.js → qr-code-Ofx7ryyu.js} +2 -2
- package/dist/_chunks/{radio-6fml-pWk.js → radio-BBbMdbE_.js} +15 -11
- package/dist/_chunks/{radio-group-CIjmyioi.js → radio-group-BT97ty7o.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-BWBaxJ8e.js → radiograph-panel.agent-C4j6eoQn.js} +8 -8
- package/dist/_chunks/recaptcha-widget-CsvwlYTE.js +234 -0
- package/dist/_chunks/registration-form-CBDeXzlk.js +748 -0
- package/dist/_chunks/{reviews-panel-DUgqU-Wr.js → reviews-panel-CyxZ0VmZ.js} +3 -3
- package/dist/_chunks/{rich-text-editor-C7N4Cem6.js → rich-text-editor-CCCSEPlG.js} +13 -13
- package/dist/_chunks/safe-href-5dbsfbQn.js +22 -0
- package/dist/_chunks/{search-bar-Blq_QeSe.js → search-bar-D695TCDH.js} +2 -2
- package/dist/_chunks/{search-input-DfsAu3P2.js → search-input-Tl-RkS5x.js} +31 -31
- package/dist/_chunks/{select-Br88h070.js → select-DHPmASkG.js} +293 -228
- package/dist/_chunks/{sheet-BE6oi30q.js → sheet-BTgxkDJS.js} +2 -2
- package/dist/_chunks/{sign-document-Buw-zC_7.js → sign-document-B_3U-S6g.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-Bd4VPGQh.js → sign-in-with-alfadocs-button-DFmgQuDo.js} +3 -3
- package/dist/_chunks/{signature-field-DBIGiY-J.js → signature-field-DLDznGnB.js} +2 -2
- package/dist/_chunks/{signature-request-DqZkn-iB.js → signature-request-BdolmJk4.js} +6 -6
- package/dist/_chunks/signed-out-frame-dz1rLJ65.js +171 -0
- package/dist/_chunks/{slider-BRq2lL-l.js → slider-pZ95bEm7.js} +50 -50
- package/dist/_chunks/{slot-grid-kq7bDdrx.js → slot-grid-kCDoV3k4.js} +3 -3
- package/dist/_chunks/{social-sign-in-button-Bb2UQpsA.js → social-sign-in-button-BMGNlUWs.js} +2 -2
- package/dist/_chunks/spinner-a0FTYX9Q.js +211 -0
- package/dist/_chunks/{streaming-text-D0IJeRBg.js → streaming-text-BAPn_sZs.js} +2 -2
- package/dist/_chunks/{switch-DXGD2Drz.js → switch-D--x7n6h.js} +29 -29
- package/dist/_chunks/{tabs-DLXVEDsa.js → tabs-yIY-RySP.js} +2 -2
- package/dist/_chunks/{task-card-Cfl08MCS.js → task-card-C02Km4Gb.js} +2 -2
- package/dist/_chunks/{task-editor-CxF-sBnu.js → task-editor-Dl27rI3J.js} +15 -15
- package/dist/_chunks/{task-tray-rAGslT2C.js → task-tray-By6DPwbT.js} +4 -4
- package/dist/_chunks/{tasks-panel-Dkm8SnmV.js → tasks-panel-BkN9sROF.js} +7 -7
- package/dist/_chunks/{text-area-Cjtw7mna.js → text-area-CDuItrvL.js} +23 -23
- package/dist/_chunks/{text-input-CLaItY93.js → text-input-lZ2-t-p2.js} +37 -37
- package/dist/_chunks/{theme-toggle-Byg0x2vB.js → theme-toggle-BAHz3itd.js} +4 -4
- package/dist/_chunks/{time-picker-BG7G3ujX.js → time-picker-DKKmpFh3.js} +28 -28
- package/dist/_chunks/{toast-6wbpghjF.js → toast-UMUvXFsA.js} +2 -2
- package/dist/_chunks/{tool-rail-CXcLzxPb.js → tool-rail-CwXN-sDC.js} +2 -2
- package/dist/_chunks/{tooth-scheme-BLbwUVer.js → tooth-scheme-BAMhwCZe.js} +3 -3
- package/dist/_chunks/{transcript-panel-Dve7bsm7.js → transcript-panel-CLgtyVbR.js} +2 -2
- package/dist/_chunks/{unit-converter-D8WnJbZm.js → unit-converter-CXNr5P4J.js} +4 -4
- package/dist/_chunks/{use-appointment-details-read-W6h4oTHx.js → use-appointment-details-read-BEbLseXW.js} +13 -13
- package/dist/_chunks/use-field-match-pdbEnKvO.js +28 -0
- package/dist/_chunks/use-password-requirements-C8DdwPEy.js +69 -0
- package/dist/_chunks/use-prism-DaspP8w-.js +55 -0
- package/dist/_chunks/use-registration-submit-DxCWic5_.js +141 -0
- package/dist/_chunks/{wallet-pay-button-C-GFl7RO.js → wallet-pay-button-Dew8Pmgq.js} +2 -2
- package/dist/_chunks/{warning-stack-CzKSeB5v.js → warning-stack-B_v_qMBI.js} +2 -2
- package/dist/_chunks/{widget-picker-b5NCHxFe.js → widget-picker-BCbwD5Z1.js} +2 -2
- package/dist/_chunks/{workflow-map-C1OjRhM3.js → workflow-map-PzamnfJK.js} +4 -4
- package/dist/agent-catalog.json +289 -103
- package/dist/agent-i18n/en.json +29 -8
- package/dist/brand/logo-asset/Alfadocs_Logo_Main.d.ts +2 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Mark.d.ts +2 -1
- package/dist/brand/logo-asset/Alfadocs_Logo_Neg.d.ts +2 -1
- package/dist/brand/logo-asset/index.d.ts +1 -0
- package/dist/brand/logo-asset/mark-piece.d.ts +10 -0
- package/dist/components/_shared/safe-href.d.ts +21 -0
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/address-fields.d.ts +7 -0
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/autocomplete.d.ts +7 -0
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/booking-types.d.ts +57 -0
- package/dist/components/booking/booking.d.ts +1 -1
- package/dist/components/booking/details-form.d.ts +5 -0
- package/dist/components/booking/index.d.ts +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/city-input/city-input.d.ts +2 -5
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/combobox.d.ts +10 -4
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/command-palette.d.ts +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/country-select/country-select.d.ts +3 -4
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dev-bypass-button/dev-bypass-button.agent.d.ts +3 -0
- package/dist/components/dev-bypass-button/dev-bypass-button.d.ts +18 -0
- package/dist/components/dev-bypass-button/index.d.ts +4 -0
- package/dist/components/dev-bypass-button/index.js +7 -0
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/email-input/email-input.d.ts +13 -4
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-boundary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/form-field/form-field-context.d.ts +20 -0
- package/dist/components/form-field/index.d.ts +1 -1
- package/dist/components/form-field/index.js +7 -5
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/iban-input/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/index.d.ts +7 -2
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/logo/index.js +1 -1
- package/dist/components/logo/logo.d.ts +15 -0
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/panel-subview/index.js +1 -1
- package/dist/components/password-input/index.js +3 -2
- package/dist/components/password-input/password-input.d.ts +6 -3
- package/dist/components/password-input/use-password-requirements.d.ts +9 -0
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/payment-form/payment-form.d.ts +8 -0
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/permission-matrix/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/phone-input/phone-input.d.ts +13 -0
- package/dist/components/popover/index.js +1 -1
- package/dist/components/postal-code-input/index.js +1 -1
- package/dist/components/postal-code-input/postal-code-input.d.ts +3 -2
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/province-select/province-select.d.ts +3 -2
- package/dist/components/public-footer/index.js +6 -5
- package/dist/components/public-footer/public-footer.d.ts +8 -0
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/recaptcha-widget/recaptcha-widget.d.ts +13 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +6 -2
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/social-sign-in-button/index.js +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/spinner/spinner.d.ts +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/wallet-pay-button/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/error-pages/400.ar.html +1 -1
- package/dist/error-pages/400.de.html +1 -1
- package/dist/error-pages/400.el.html +1 -1
- package/dist/error-pages/400.en.html +1 -1
- package/dist/error-pages/400.es.html +1 -1
- package/dist/error-pages/400.fr.html +1 -1
- package/dist/error-pages/400.hi.html +1 -1
- package/dist/error-pages/400.html +1 -1
- package/dist/error-pages/400.it.html +1 -1
- package/dist/error-pages/400.ja.html +1 -1
- package/dist/error-pages/400.nl.html +1 -1
- package/dist/error-pages/400.pl.html +1 -1
- package/dist/error-pages/400.pt.html +1 -1
- package/dist/error-pages/400.ro.html +1 -1
- package/dist/error-pages/400.ru.html +1 -1
- package/dist/error-pages/400.sq.html +1 -1
- package/dist/error-pages/400.sv.html +1 -1
- package/dist/error-pages/400.tr.html +1 -1
- package/dist/error-pages/400.zh.html +1 -1
- package/dist/error-pages/401.ar.html +1 -1
- package/dist/error-pages/401.de.html +1 -1
- package/dist/error-pages/401.el.html +1 -1
- package/dist/error-pages/401.en.html +1 -1
- package/dist/error-pages/401.es.html +1 -1
- package/dist/error-pages/401.fr.html +1 -1
- package/dist/error-pages/401.hi.html +1 -1
- package/dist/error-pages/401.html +1 -1
- package/dist/error-pages/401.it.html +1 -1
- package/dist/error-pages/401.ja.html +1 -1
- package/dist/error-pages/401.nl.html +1 -1
- package/dist/error-pages/401.pl.html +1 -1
- package/dist/error-pages/401.pt.html +1 -1
- package/dist/error-pages/401.ro.html +1 -1
- package/dist/error-pages/401.ru.html +1 -1
- package/dist/error-pages/401.sq.html +1 -1
- package/dist/error-pages/401.sv.html +1 -1
- package/dist/error-pages/401.tr.html +1 -1
- package/dist/error-pages/401.zh.html +1 -1
- package/dist/error-pages/403.ar.html +1 -1
- package/dist/error-pages/403.de.html +1 -1
- package/dist/error-pages/403.el.html +1 -1
- package/dist/error-pages/403.en.html +1 -1
- package/dist/error-pages/403.es.html +1 -1
- package/dist/error-pages/403.fr.html +1 -1
- package/dist/error-pages/403.hi.html +1 -1
- package/dist/error-pages/403.html +1 -1
- package/dist/error-pages/403.it.html +1 -1
- package/dist/error-pages/403.ja.html +1 -1
- package/dist/error-pages/403.nl.html +1 -1
- package/dist/error-pages/403.pl.html +1 -1
- package/dist/error-pages/403.pt.html +1 -1
- package/dist/error-pages/403.ro.html +1 -1
- package/dist/error-pages/403.ru.html +1 -1
- package/dist/error-pages/403.sq.html +1 -1
- package/dist/error-pages/403.sv.html +1 -1
- package/dist/error-pages/403.tr.html +1 -1
- package/dist/error-pages/403.zh.html +1 -1
- package/dist/error-pages/404.ar.html +1 -1
- package/dist/error-pages/404.de.html +1 -1
- package/dist/error-pages/404.el.html +1 -1
- package/dist/error-pages/404.en.html +1 -1
- package/dist/error-pages/404.es.html +1 -1
- package/dist/error-pages/404.fr.html +1 -1
- package/dist/error-pages/404.hi.html +1 -1
- package/dist/error-pages/404.html +1 -1
- package/dist/error-pages/404.it.html +1 -1
- package/dist/error-pages/404.ja.html +1 -1
- package/dist/error-pages/404.nl.html +1 -1
- package/dist/error-pages/404.pl.html +1 -1
- package/dist/error-pages/404.pt.html +1 -1
- package/dist/error-pages/404.ro.html +1 -1
- package/dist/error-pages/404.ru.html +1 -1
- package/dist/error-pages/404.sq.html +1 -1
- package/dist/error-pages/404.sv.html +1 -1
- package/dist/error-pages/404.tr.html +1 -1
- package/dist/error-pages/404.zh.html +1 -1
- package/dist/error-pages/405.ar.html +1 -1
- package/dist/error-pages/405.de.html +1 -1
- package/dist/error-pages/405.el.html +1 -1
- package/dist/error-pages/405.en.html +1 -1
- package/dist/error-pages/405.es.html +1 -1
- package/dist/error-pages/405.fr.html +1 -1
- package/dist/error-pages/405.hi.html +1 -1
- package/dist/error-pages/405.html +1 -1
- package/dist/error-pages/405.it.html +1 -1
- package/dist/error-pages/405.ja.html +1 -1
- package/dist/error-pages/405.nl.html +1 -1
- package/dist/error-pages/405.pl.html +1 -1
- package/dist/error-pages/405.pt.html +1 -1
- package/dist/error-pages/405.ro.html +1 -1
- package/dist/error-pages/405.ru.html +1 -1
- package/dist/error-pages/405.sq.html +1 -1
- package/dist/error-pages/405.sv.html +1 -1
- package/dist/error-pages/405.tr.html +1 -1
- package/dist/error-pages/405.zh.html +1 -1
- package/dist/error-pages/410.ar.html +1 -1
- package/dist/error-pages/410.de.html +1 -1
- package/dist/error-pages/410.el.html +1 -1
- package/dist/error-pages/410.en.html +1 -1
- package/dist/error-pages/410.es.html +1 -1
- package/dist/error-pages/410.fr.html +1 -1
- package/dist/error-pages/410.hi.html +1 -1
- package/dist/error-pages/410.html +1 -1
- package/dist/error-pages/410.it.html +1 -1
- package/dist/error-pages/410.ja.html +1 -1
- package/dist/error-pages/410.nl.html +1 -1
- package/dist/error-pages/410.pl.html +1 -1
- package/dist/error-pages/410.pt.html +1 -1
- package/dist/error-pages/410.ro.html +1 -1
- package/dist/error-pages/410.ru.html +1 -1
- package/dist/error-pages/410.sq.html +1 -1
- package/dist/error-pages/410.sv.html +1 -1
- package/dist/error-pages/410.tr.html +1 -1
- package/dist/error-pages/410.zh.html +1 -1
- package/dist/error-pages/419.ar.html +1 -1
- package/dist/error-pages/419.de.html +1 -1
- package/dist/error-pages/419.el.html +1 -1
- package/dist/error-pages/419.en.html +1 -1
- package/dist/error-pages/419.es.html +1 -1
- package/dist/error-pages/419.fr.html +1 -1
- package/dist/error-pages/419.hi.html +1 -1
- package/dist/error-pages/419.html +1 -1
- package/dist/error-pages/419.it.html +1 -1
- package/dist/error-pages/419.ja.html +1 -1
- package/dist/error-pages/419.nl.html +1 -1
- package/dist/error-pages/419.pl.html +1 -1
- package/dist/error-pages/419.pt.html +1 -1
- package/dist/error-pages/419.ro.html +1 -1
- package/dist/error-pages/419.ru.html +1 -1
- package/dist/error-pages/419.sq.html +1 -1
- package/dist/error-pages/419.sv.html +1 -1
- package/dist/error-pages/419.tr.html +1 -1
- package/dist/error-pages/419.zh.html +1 -1
- package/dist/error-pages/429.ar.html +1 -1
- package/dist/error-pages/429.de.html +1 -1
- package/dist/error-pages/429.el.html +1 -1
- package/dist/error-pages/429.en.html +1 -1
- package/dist/error-pages/429.es.html +1 -1
- package/dist/error-pages/429.fr.html +1 -1
- package/dist/error-pages/429.hi.html +1 -1
- package/dist/error-pages/429.html +1 -1
- package/dist/error-pages/429.it.html +1 -1
- package/dist/error-pages/429.ja.html +1 -1
- package/dist/error-pages/429.nl.html +1 -1
- package/dist/error-pages/429.pl.html +1 -1
- package/dist/error-pages/429.pt.html +1 -1
- package/dist/error-pages/429.ro.html +1 -1
- package/dist/error-pages/429.ru.html +1 -1
- package/dist/error-pages/429.sq.html +1 -1
- package/dist/error-pages/429.sv.html +1 -1
- package/dist/error-pages/429.tr.html +1 -1
- package/dist/error-pages/429.zh.html +1 -1
- package/dist/error-pages/500.ar.html +1 -1
- package/dist/error-pages/500.de.html +1 -1
- package/dist/error-pages/500.el.html +1 -1
- package/dist/error-pages/500.en.html +1 -1
- package/dist/error-pages/500.es.html +1 -1
- package/dist/error-pages/500.fr.html +1 -1
- package/dist/error-pages/500.hi.html +1 -1
- package/dist/error-pages/500.html +1 -1
- package/dist/error-pages/500.it.html +1 -1
- package/dist/error-pages/500.ja.html +1 -1
- package/dist/error-pages/500.nl.html +1 -1
- package/dist/error-pages/500.pl.html +1 -1
- package/dist/error-pages/500.pt.html +1 -1
- package/dist/error-pages/500.ro.html +1 -1
- package/dist/error-pages/500.ru.html +1 -1
- package/dist/error-pages/500.sq.html +1 -1
- package/dist/error-pages/500.sv.html +1 -1
- package/dist/error-pages/500.tr.html +1 -1
- package/dist/error-pages/500.zh.html +1 -1
- package/dist/error-pages/502.ar.html +1 -1
- package/dist/error-pages/502.de.html +1 -1
- package/dist/error-pages/502.el.html +1 -1
- package/dist/error-pages/502.en.html +1 -1
- package/dist/error-pages/502.es.html +1 -1
- package/dist/error-pages/502.fr.html +1 -1
- package/dist/error-pages/502.hi.html +1 -1
- package/dist/error-pages/502.html +1 -1
- package/dist/error-pages/502.it.html +1 -1
- package/dist/error-pages/502.ja.html +1 -1
- package/dist/error-pages/502.nl.html +1 -1
- package/dist/error-pages/502.pl.html +1 -1
- package/dist/error-pages/502.pt.html +1 -1
- package/dist/error-pages/502.ro.html +1 -1
- package/dist/error-pages/502.ru.html +1 -1
- package/dist/error-pages/502.sq.html +1 -1
- package/dist/error-pages/502.sv.html +1 -1
- package/dist/error-pages/502.tr.html +1 -1
- package/dist/error-pages/502.zh.html +1 -1
- package/dist/error-pages/503.ar.html +1 -1
- package/dist/error-pages/503.de.html +1 -1
- package/dist/error-pages/503.el.html +1 -1
- package/dist/error-pages/503.en.html +1 -1
- package/dist/error-pages/503.es.html +1 -1
- package/dist/error-pages/503.fr.html +1 -1
- package/dist/error-pages/503.hi.html +1 -1
- package/dist/error-pages/503.html +1 -1
- package/dist/error-pages/503.it.html +1 -1
- package/dist/error-pages/503.ja.html +1 -1
- package/dist/error-pages/503.nl.html +1 -1
- package/dist/error-pages/503.pl.html +1 -1
- package/dist/error-pages/503.pt.html +1 -1
- package/dist/error-pages/503.ro.html +1 -1
- package/dist/error-pages/503.ru.html +1 -1
- package/dist/error-pages/503.sq.html +1 -1
- package/dist/error-pages/503.sv.html +1 -1
- package/dist/error-pages/503.tr.html +1 -1
- package/dist/error-pages/503.zh.html +1 -1
- package/dist/error-pages/504.ar.html +1 -1
- package/dist/error-pages/504.de.html +1 -1
- package/dist/error-pages/504.el.html +1 -1
- package/dist/error-pages/504.en.html +1 -1
- package/dist/error-pages/504.es.html +1 -1
- package/dist/error-pages/504.fr.html +1 -1
- package/dist/error-pages/504.hi.html +1 -1
- package/dist/error-pages/504.html +1 -1
- package/dist/error-pages/504.it.html +1 -1
- package/dist/error-pages/504.ja.html +1 -1
- package/dist/error-pages/504.nl.html +1 -1
- package/dist/error-pages/504.pl.html +1 -1
- package/dist/error-pages/504.pt.html +1 -1
- package/dist/error-pages/504.ro.html +1 -1
- package/dist/error-pages/504.ru.html +1 -1
- package/dist/error-pages/504.sq.html +1 -1
- package/dist/error-pages/504.sv.html +1 -1
- package/dist/error-pages/504.tr.html +1 -1
- package/dist/error-pages/504.zh.html +1 -1
- package/dist/error-pages/maintenance.ar.html +1 -1
- package/dist/error-pages/maintenance.de.html +1 -1
- package/dist/error-pages/maintenance.el.html +1 -1
- package/dist/error-pages/maintenance.en.html +1 -1
- package/dist/error-pages/maintenance.es.html +1 -1
- package/dist/error-pages/maintenance.fr.html +1 -1
- package/dist/error-pages/maintenance.hi.html +1 -1
- package/dist/error-pages/maintenance.html +1 -1
- package/dist/error-pages/maintenance.it.html +1 -1
- package/dist/error-pages/maintenance.ja.html +1 -1
- package/dist/error-pages/maintenance.nl.html +1 -1
- package/dist/error-pages/maintenance.pl.html +1 -1
- package/dist/error-pages/maintenance.pt.html +1 -1
- package/dist/error-pages/maintenance.ro.html +1 -1
- package/dist/error-pages/maintenance.ru.html +1 -1
- package/dist/error-pages/maintenance.sq.html +1 -1
- package/dist/error-pages/maintenance.sv.html +1 -1
- package/dist/error-pages/maintenance.tr.html +1 -1
- package/dist/error-pages/maintenance.zh.html +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +89 -79
- package/dist/hooks/use-field-match.d.ts +71 -0
- package/dist/hooks/use-prism.d.ts +85 -0
- package/dist/host-compat.css +4 -1
- package/dist/i18n/locales/ar.d.ts +51 -0
- package/dist/i18n/locales/ar.js +51 -0
- package/dist/i18n/locales/de.d.ts +51 -0
- package/dist/i18n/locales/de.js +51 -0
- package/dist/i18n/locales/el.d.ts +51 -0
- package/dist/i18n/locales/el.js +51 -0
- package/dist/i18n/locales/en.d.ts +51 -0
- package/dist/i18n/locales/en.js +51 -0
- package/dist/i18n/locales/es.d.ts +51 -0
- package/dist/i18n/locales/es.js +51 -0
- package/dist/i18n/locales/fr.d.ts +51 -0
- package/dist/i18n/locales/fr.js +51 -0
- package/dist/i18n/locales/hi.d.ts +51 -0
- package/dist/i18n/locales/hi.js +51 -0
- package/dist/i18n/locales/it.d.ts +51 -0
- package/dist/i18n/locales/it.js +51 -0
- package/dist/i18n/locales/ja.d.ts +51 -0
- package/dist/i18n/locales/ja.js +51 -0
- package/dist/i18n/locales/nl.d.ts +51 -0
- package/dist/i18n/locales/nl.js +51 -0
- package/dist/i18n/locales/pl.d.ts +51 -0
- package/dist/i18n/locales/pl.js +51 -0
- package/dist/i18n/locales/pt.d.ts +51 -0
- package/dist/i18n/locales/pt.js +51 -0
- package/dist/i18n/locales/ro.d.ts +51 -0
- package/dist/i18n/locales/ro.js +51 -0
- package/dist/i18n/locales/ru.d.ts +51 -0
- package/dist/i18n/locales/ru.js +51 -0
- package/dist/i18n/locales/sq.d.ts +51 -0
- package/dist/i18n/locales/sq.js +51 -0
- package/dist/i18n/locales/sv.d.ts +51 -0
- package/dist/i18n/locales/sv.js +51 -0
- package/dist/i18n/locales/tr.d.ts +51 -0
- package/dist/i18n/locales/tr.js +51 -0
- package/dist/i18n/locales/zh.d.ts +51 -0
- package/dist/i18n/locales/zh.js +51 -0
- package/dist/index.js +1170 -1145
- package/dist/locales/ar.json +51 -0
- package/dist/locales/de.json +51 -0
- package/dist/locales/el.json +51 -0
- package/dist/locales/en.json +51 -0
- package/dist/locales/es.json +51 -0
- package/dist/locales/fr.json +51 -0
- package/dist/locales/hi.json +51 -0
- package/dist/locales/it.json +51 -0
- package/dist/locales/ja.json +51 -0
- package/dist/locales/nl.json +51 -0
- package/dist/locales/pl.json +51 -0
- package/dist/locales/pt.json +51 -0
- package/dist/locales/ro.json +51 -0
- package/dist/locales/ru.json +51 -0
- package/dist/locales/sq.json +51 -0
- package/dist/locales/sv.json +51 -0
- package/dist/locales/tr.json +51 -0
- package/dist/locales/zh.json +51 -0
- package/dist/patterns/_shared/auth-form-parts.d.ts +55 -0
- package/dist/patterns/_shared/brand-mark.d.ts +15 -0
- package/dist/patterns/_shared/mark-pieces.d.ts +15 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/error-page/index.js +1 -1
- package/dist/patterns/forgot-password-form/forgot-password-form.d.ts +105 -0
- package/dist/patterns/forgot-password-form/index.d.ts +3 -0
- package/dist/patterns/forgot-password-form/index.js +6 -0
- package/dist/patterns/help-me-write-templates/index.js +1 -1
- package/dist/patterns/login-form/index.d.ts +5 -0
- package/dist/patterns/login-form/index.js +7 -0
- package/dist/patterns/login-form/login-dev-card.d.ts +27 -0
- package/dist/patterns/login-form/login-form.d.ts +120 -0
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/registration-form/index.d.ts +3 -0
- package/dist/patterns/registration-form/index.js +6 -0
- package/dist/patterns/registration-form/registration-form.d.ts +217 -0
- package/dist/patterns/registration-form/use-registration-submit.d.ts +59 -0
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.d.ts +5 -0
- package/dist/patterns/signed-out-frame/index.js +6 -0
- package/dist/patterns/signed-out-frame/signed-out-frame.d.ts +27 -0
- package/dist/patterns/signed-out-frame/signed-out-header.d.ts +23 -0
- package/dist/tokens.css +1 -1
- package/package.json +21 -1
- package/dist/_chunks/address-fields-BIL6cvLS.js +0 -246
- package/dist/_chunks/booking-CFR7vU8X.js +0 -3474
- package/dist/_chunks/combobox-Iel8y3u6.js +0 -578
- package/dist/_chunks/error-page-BtxEOL6g.js +0 -780
- package/dist/_chunks/form-field-YUJl_U5l.js +0 -131
- package/dist/_chunks/form-field-context-B3APVHKx.js +0 -21
- package/dist/_chunks/recaptcha-widget-BNAeSTCo.js +0 -228
- package/dist/_chunks/spinner-DxjSZLD-.js +0 -220
- package/dist/_chunks/use-password-requirements-DK4hV1Ik.js +0 -453
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
import { jsx as e, jsxs as d, Fragment as U } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
2
|
+
import { forwardRef as m, useId as H, useRef as P, useState as F, useCallback as N, useEffect as q, useContext as x, createContext as M } from "react";
|
|
3
|
+
import { c as p } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as Z } from "react-i18next";
|
|
5
5
|
import { B as v } from "./button-CYPx2xFq.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
return process.env.NODE_ENV !== "production";
|
|
9
|
-
} catch {
|
|
10
|
-
return !1;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
function G(t, s) {
|
|
6
|
+
import { i as G } from "./is-development-CLUAnsU7.js";
|
|
7
|
+
function J(t, s) {
|
|
14
8
|
t && (typeof t == "function" ? t(s) : t.current = s);
|
|
15
9
|
}
|
|
16
10
|
const h = M({
|
|
@@ -19,7 +13,7 @@ const h = M({
|
|
|
19
13
|
titleId: "",
|
|
20
14
|
registerTitle: () => {
|
|
21
15
|
}
|
|
22
|
-
}),
|
|
16
|
+
}), K = p(
|
|
23
17
|
"ds:flex ds:flex-col ds:items-center ds:text-center ds:max-w-md ds:ms-auto ds:me-auto ds:w-full",
|
|
24
18
|
{
|
|
25
19
|
variants: {
|
|
@@ -31,7 +25,7 @@ const h = M({
|
|
|
31
25
|
},
|
|
32
26
|
defaultVariants: { size: "md" }
|
|
33
27
|
}
|
|
34
|
-
),
|
|
28
|
+
), Q = p(
|
|
35
29
|
"ds:flex ds:items-center ds:justify-center ds:flex-shrink-0",
|
|
36
30
|
{
|
|
37
31
|
variants: {
|
|
@@ -43,7 +37,7 @@ const h = M({
|
|
|
43
37
|
},
|
|
44
38
|
defaultVariants: { size: "md" }
|
|
45
39
|
}
|
|
46
|
-
),
|
|
40
|
+
), X = p("type-title-card ds:text-[var(--foreground)]", {
|
|
47
41
|
variants: {
|
|
48
42
|
size: {
|
|
49
43
|
sm: "ds:[--type-title-card-size:var(--font-size-sm)]",
|
|
@@ -52,7 +46,7 @@ const h = M({
|
|
|
52
46
|
}
|
|
53
47
|
},
|
|
54
48
|
defaultVariants: { size: "md" }
|
|
55
|
-
}),
|
|
49
|
+
}), Y = p(
|
|
56
50
|
"type-body-sm ds:text-[var(--muted-foreground)]",
|
|
57
51
|
{
|
|
58
52
|
variants: {
|
|
@@ -65,7 +59,7 @@ const h = M({
|
|
|
65
59
|
defaultVariants: { size: "md" }
|
|
66
60
|
}
|
|
67
61
|
);
|
|
68
|
-
function
|
|
62
|
+
function _() {
|
|
69
63
|
return /* @__PURE__ */ d(
|
|
70
64
|
"svg",
|
|
71
65
|
{
|
|
@@ -179,63 +173,63 @@ function A() {
|
|
|
179
173
|
}
|
|
180
174
|
);
|
|
181
175
|
}
|
|
182
|
-
const g =
|
|
183
|
-
const { size:
|
|
176
|
+
const g = m(({ children: t, className: s, ...a }, i) => {
|
|
177
|
+
const { size: r } = x(h);
|
|
184
178
|
return /* @__PURE__ */ e(
|
|
185
179
|
"div",
|
|
186
180
|
{
|
|
187
|
-
ref:
|
|
181
|
+
ref: i,
|
|
188
182
|
"aria-hidden": "true",
|
|
189
|
-
className:
|
|
183
|
+
className: Q({ size: r, className: s }),
|
|
190
184
|
...a,
|
|
191
185
|
children: t
|
|
192
186
|
}
|
|
193
187
|
);
|
|
194
188
|
});
|
|
195
189
|
g.displayName = "EmptyState.Illustration";
|
|
196
|
-
const w =
|
|
197
|
-
const { size:
|
|
190
|
+
const w = m(({ children: t, className: s, ...a }, i) => {
|
|
191
|
+
const { size: r, titleId: l, registerTitle: f } = x(h), c = N(
|
|
198
192
|
(u) => {
|
|
199
|
-
u && f(), typeof
|
|
193
|
+
u && f(), typeof i == "function" ? i(u) : i && (i.current = u);
|
|
200
194
|
},
|
|
201
|
-
[
|
|
195
|
+
[i, f]
|
|
202
196
|
);
|
|
203
197
|
return /* @__PURE__ */ e(
|
|
204
198
|
"h3",
|
|
205
199
|
{
|
|
206
200
|
ref: c,
|
|
207
201
|
id: l,
|
|
208
|
-
className:
|
|
202
|
+
className: X({ size: r, className: s }),
|
|
209
203
|
...a,
|
|
210
204
|
children: t
|
|
211
205
|
}
|
|
212
206
|
);
|
|
213
207
|
});
|
|
214
208
|
w.displayName = "EmptyState.Title";
|
|
215
|
-
const S =
|
|
216
|
-
const { size:
|
|
209
|
+
const S = m(({ children: t, className: s, ...a }, i) => {
|
|
210
|
+
const { size: r } = x(h);
|
|
217
211
|
return /* @__PURE__ */ e(
|
|
218
212
|
"p",
|
|
219
213
|
{
|
|
220
|
-
ref:
|
|
221
|
-
className:
|
|
214
|
+
ref: i,
|
|
215
|
+
className: Y({ size: r, className: s }),
|
|
222
216
|
...a,
|
|
223
217
|
children: t
|
|
224
218
|
}
|
|
225
219
|
);
|
|
226
220
|
});
|
|
227
221
|
S.displayName = "EmptyState.Description";
|
|
228
|
-
const tt =
|
|
222
|
+
const tt = p(
|
|
229
223
|
"ds:flex ds:flex-row ds:flex-wrap ds:items-center ds:justify-center ds:gap-[var(--spacing-md)]"
|
|
230
|
-
), k =
|
|
224
|
+
), k = m(({ children: t, className: s, ...a }, i) => /* @__PURE__ */ e("div", { ref: i, className: tt({ className: s }), ...a, children: t }));
|
|
231
225
|
k.displayName = "EmptyState.Actions";
|
|
232
|
-
const C =
|
|
226
|
+
const C = m(
|
|
233
227
|
({
|
|
234
228
|
variant: t,
|
|
235
229
|
size: s = "md",
|
|
236
230
|
title: a,
|
|
237
|
-
description:
|
|
238
|
-
primaryAction:
|
|
231
|
+
description: i,
|
|
232
|
+
primaryAction: r,
|
|
239
233
|
secondaryAction: l,
|
|
240
234
|
autoFocus: f = !1,
|
|
241
235
|
children: c,
|
|
@@ -243,10 +237,10 @@ const C = p(
|
|
|
243
237
|
...T
|
|
244
238
|
}, I) => {
|
|
245
239
|
const { t: n } = Z("ui");
|
|
246
|
-
|
|
240
|
+
G() && c != null && (a !== void 0 || i !== void 0 || r !== void 0 || l !== void 0) && console.warn(
|
|
247
241
|
"[EmptyState] `title`, `description`, `primaryAction` and `secondaryAction` are ignored when children are passed. Put EmptyState.Title, EmptyState.Description and EmptyState.Actions in the children instead, or drop the children."
|
|
248
242
|
);
|
|
249
|
-
const z = H(), E = P(null), [R, V] = F(!1),
|
|
243
|
+
const z = H(), E = P(null), [R, V] = F(!1), j = N(() => V(!0), []);
|
|
250
244
|
q(() => {
|
|
251
245
|
var b;
|
|
252
246
|
if (!f) return;
|
|
@@ -255,38 +249,38 @@ const C = p(
|
|
|
255
249
|
);
|
|
256
250
|
o == null || o.focus();
|
|
257
251
|
}, []);
|
|
258
|
-
const
|
|
252
|
+
const D = t === "no-results" ? { role: "status", "aria-live": "polite" } : { role: "region" }, L = n(t === "first-use" ? "emptyState.firstUse.title" : t === "no-results" ? "emptyState.noResults.title" : "emptyState.error.title"), O = n(t === "first-use" ? "emptyState.firstUse.description" : t === "no-results" ? "emptyState.noResults.description" : "emptyState.error.description"), W = n(t === "first-use" ? "emptyState.firstUse.cta" : t === "no-results" ? "emptyState.noResults.cta" : "emptyState.error.cta"), y = s === "sm" ? "sm" : "md", B = (o) => /^(https?:\/\/|\/|#)/.test(o) ? o : "#";
|
|
259
253
|
return /* @__PURE__ */ e(
|
|
260
254
|
h.Provider,
|
|
261
255
|
{
|
|
262
|
-
value: { size: s, variant: t, titleId: z, registerTitle:
|
|
256
|
+
value: { size: s, variant: t, titleId: z, registerTitle: j },
|
|
263
257
|
children: /* @__PURE__ */ e(
|
|
264
258
|
"div",
|
|
265
259
|
{
|
|
266
260
|
ref: (o) => {
|
|
267
|
-
E.current = o,
|
|
261
|
+
E.current = o, J(I, o);
|
|
268
262
|
},
|
|
269
263
|
"aria-labelledby": R || !c ? z : void 0,
|
|
270
|
-
...
|
|
271
|
-
className:
|
|
264
|
+
...D,
|
|
265
|
+
className: K({ size: s, className: u }),
|
|
272
266
|
"data-component": "empty-state",
|
|
273
267
|
...T,
|
|
274
268
|
children: c ?? /* @__PURE__ */ d(U, { children: [
|
|
275
269
|
/* @__PURE__ */ d(g, { children: [
|
|
276
|
-
t === "first-use" && /* @__PURE__ */ e(
|
|
270
|
+
t === "first-use" && /* @__PURE__ */ e(_, {}),
|
|
277
271
|
t === "no-results" && /* @__PURE__ */ e($, {}),
|
|
278
272
|
t === "error" && /* @__PURE__ */ e(A, {})
|
|
279
273
|
] }),
|
|
280
|
-
/* @__PURE__ */ e(w, { children: a ??
|
|
281
|
-
/* @__PURE__ */ e(S, { children:
|
|
282
|
-
(
|
|
283
|
-
|
|
274
|
+
/* @__PURE__ */ e(w, { children: a ?? L }),
|
|
275
|
+
/* @__PURE__ */ e(S, { children: i ?? O }),
|
|
276
|
+
(r || l) && /* @__PURE__ */ d(k, { children: [
|
|
277
|
+
r && /* @__PURE__ */ e(
|
|
284
278
|
v,
|
|
285
279
|
{
|
|
286
280
|
intent: "primary",
|
|
287
281
|
size: y,
|
|
288
|
-
onClick:
|
|
289
|
-
children:
|
|
282
|
+
onClick: r.onClick,
|
|
283
|
+
children: r.label ?? W
|
|
290
284
|
}
|
|
291
285
|
),
|
|
292
286
|
l && (l.href ? /* @__PURE__ */ e(v, { intent: "ghost", size: y, asChild: !0, children: /* @__PURE__ */ e(
|
|
@@ -314,13 +308,13 @@ const C = p(
|
|
|
314
308
|
}
|
|
315
309
|
);
|
|
316
310
|
C.displayName = "EmptyState";
|
|
317
|
-
const
|
|
311
|
+
const nt = Object.assign(C, {
|
|
318
312
|
Illustration: g,
|
|
319
313
|
Title: w,
|
|
320
314
|
Description: S,
|
|
321
315
|
Actions: k
|
|
322
316
|
});
|
|
323
317
|
export {
|
|
324
|
-
|
|
318
|
+
nt as E
|
|
325
319
|
};
|
|
326
|
-
//# sourceMappingURL=empty-state-
|
|
320
|
+
//# sourceMappingURL=empty-state-CgvmPPvW.js.map
|
|
@@ -4,9 +4,9 @@ import { useTranslation as D } from "react-i18next";
|
|
|
4
4
|
import { A as I } from "./alert-BhCstf2h.js";
|
|
5
5
|
import { A as H } from "./avatar-DYtwj1-R.js";
|
|
6
6
|
import { B as $ } from "./button-CYPx2xFq.js";
|
|
7
|
-
import { I as O } from "./icon-button-
|
|
7
|
+
import { I as O } from "./icon-button-mKIvw90h.js";
|
|
8
8
|
import { C } from "./card-DPmk26CL.js";
|
|
9
|
-
import { L as F } from "./link-
|
|
9
|
+
import { L as F } from "./link-2HokYuIi.js";
|
|
10
10
|
import { P as G } from "./panel-header-D_mTdhUp.js";
|
|
11
11
|
import { T as W } from "./timestamp-DPLDWdxA.js";
|
|
12
12
|
import { u as X } from "./registry-DvAUVLHh.js";
|
|
@@ -274,4 +274,4 @@ function ae({ section: t }) {
|
|
|
274
274
|
export {
|
|
275
275
|
be as E
|
|
276
276
|
};
|
|
277
|
-
//# sourceMappingURL=entity-summary-
|
|
277
|
+
//# sourceMappingURL=entity-summary-C3E4JKVr.js.map
|
|
@@ -4,7 +4,7 @@ var i = (n, e, r) => u(n, typeof e != "symbol" ? e + "" : e, r);
|
|
|
4
4
|
import { jsx as a, Fragment as y } from "react/jsx-runtime";
|
|
5
5
|
import { Component as f } from "react";
|
|
6
6
|
import { useTranslation as v } from "react-i18next";
|
|
7
|
-
import { E } from "./empty-state-
|
|
7
|
+
import { E } from "./empty-state-CgvmPPvW.js";
|
|
8
8
|
function p({
|
|
9
9
|
size: n,
|
|
10
10
|
title: e,
|
|
@@ -87,4 +87,4 @@ i(b, "displayName", "ErrorBoundary");
|
|
|
87
87
|
export {
|
|
88
88
|
b as E
|
|
89
89
|
};
|
|
90
|
-
//# sourceMappingURL=error-boundary-
|
|
90
|
+
//# sourceMappingURL=error-boundary-Bzjk9Q2l.js.map
|
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import { jsx as r, jsxs as x } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as H, useMemo as K, useState as R, useEffect as _, useRef as C } from "react";
|
|
3
|
+
import { useTranslation as Q } from "react-i18next";
|
|
4
|
+
import { c as W } from "./index-D2ZczOXr.js";
|
|
5
|
+
import { B as T } from "./button-CYPx2xFq.js";
|
|
6
|
+
import { L as J } from "./logo-CuaqxTGK.js";
|
|
7
|
+
import { i as X } from "./safe-href-5dbsfbQn.js";
|
|
8
|
+
import { E as Z } from "./error-page-illustration-QGJAvuFB.js";
|
|
9
|
+
import { loadLocale as ee, LOCALES_WITH_BUNDLES as re } from "../i18n/config.js";
|
|
10
|
+
import { R as oe } from "./rotate-ccw-BBQnIVTr.js";
|
|
11
|
+
import { L as te } from "./log-in-OQUEoGhX.js";
|
|
12
|
+
import { c as D } from "./createLucideIcon-DhHxpK9K.js";
|
|
13
|
+
/**
|
|
14
|
+
* @license lucide-react v1.22.0 - ISC
|
|
15
|
+
*
|
|
16
|
+
* This source code is licensed under the ISC license.
|
|
17
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
18
|
+
*/
|
|
19
|
+
const ae = [
|
|
20
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
21
|
+
["path", { d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3", key: "1u773s" }],
|
|
22
|
+
["path", { d: "M12 17h.01", key: "p32p05" }]
|
|
23
|
+
], ne = D("circle-question-mark", ae);
|
|
24
|
+
/**
|
|
25
|
+
* @license lucide-react v1.22.0 - ISC
|
|
26
|
+
*
|
|
27
|
+
* This source code is licensed under the ISC license.
|
|
28
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
29
|
+
*/
|
|
30
|
+
const se = [
|
|
31
|
+
["path", { d: "M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8", key: "5wwlr5" }],
|
|
32
|
+
[
|
|
33
|
+
"path",
|
|
34
|
+
{
|
|
35
|
+
d: "M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",
|
|
36
|
+
key: "r6nss1"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
], ie = D("house", se), de = [
|
|
40
|
+
400,
|
|
41
|
+
401,
|
|
42
|
+
403,
|
|
43
|
+
404,
|
|
44
|
+
405,
|
|
45
|
+
410,
|
|
46
|
+
419,
|
|
47
|
+
429,
|
|
48
|
+
500,
|
|
49
|
+
502,
|
|
50
|
+
503,
|
|
51
|
+
504,
|
|
52
|
+
"offline",
|
|
53
|
+
"maintenance"
|
|
54
|
+
], I = {
|
|
55
|
+
400: { key: "badRequest", mood: "jumbled", primary: "home" },
|
|
56
|
+
401: { key: "unauthorised", mood: "locked", primary: "login" },
|
|
57
|
+
403: { key: "forbidden", mood: "roped", primary: "home" },
|
|
58
|
+
404: { key: "notFound", mood: "lost", primary: "home" },
|
|
59
|
+
405: { key: "methodNotAllowed", mood: "wrong-way", primary: "home" },
|
|
60
|
+
410: { key: "gone", mood: "vanished", primary: "home" },
|
|
61
|
+
419: { key: "expired", mood: "asleep", primary: "login" },
|
|
62
|
+
429: { key: "tooManyRequests", mood: "melt", primary: "retry" },
|
|
63
|
+
500: { key: "serverError", mood: "patched", primary: "retry" },
|
|
64
|
+
502: { key: "badGateway", mood: "unplugged", primary: "retry" },
|
|
65
|
+
503: { key: "maintenance", mood: "rebuild", primary: "retry" },
|
|
66
|
+
504: { key: "timeout", mood: "snail", primary: "retry" },
|
|
67
|
+
offline: { key: "offline", mood: "adrift", primary: "retry" },
|
|
68
|
+
maintenance: { key: "maintenance", mood: "rebuild", primary: "retry" },
|
|
69
|
+
generic: { key: "generic", mood: "puzzled", primary: "home" }
|
|
70
|
+
};
|
|
71
|
+
function ce(e) {
|
|
72
|
+
return de.includes(e) ? I[e] : I.generic;
|
|
73
|
+
}
|
|
74
|
+
const le = "alfadocs-ui.locale", me = "it", ue = (e) => {
|
|
75
|
+
if (!e) return;
|
|
76
|
+
const o = e.toLowerCase().replaceAll("_", "-").split("-")[0], t = o === "cn" ? "zh" : o;
|
|
77
|
+
return re.includes(t) ? t : void 0;
|
|
78
|
+
}, pe = () => {
|
|
79
|
+
try {
|
|
80
|
+
return window.localStorage.getItem(le);
|
|
81
|
+
} catch {
|
|
82
|
+
return null;
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
function ye(e = {}) {
|
|
86
|
+
var p;
|
|
87
|
+
const o = typeof window < "u", t = e.saved !== void 0 ? e.saved : o ? pe() : null, i = e.browser ?? (o && typeof navigator < "u" ? (p = navigator.languages) != null && p.length ? navigator.languages : [navigator.language] : []), u = e.document ?? (typeof document < "u" ? document.documentElement.lang : ""), f = [
|
|
88
|
+
e.locale,
|
|
89
|
+
t,
|
|
90
|
+
...i,
|
|
91
|
+
e.hostLocaleIsDefault ? void 0 : u
|
|
92
|
+
];
|
|
93
|
+
for (const h of f) {
|
|
94
|
+
const y = ue(h);
|
|
95
|
+
if (y) return y;
|
|
96
|
+
}
|
|
97
|
+
return me;
|
|
98
|
+
}
|
|
99
|
+
const z = (e, o) => ee(e, o), ge = W(
|
|
100
|
+
"ds:flex ds:flex-col ds:items-center ds:justify-center ds:bg-[var(--background)] ds:text-[var(--foreground)] ds:px-[var(--spacing-md)] ds:py-[var(--spacing-2xl)]",
|
|
101
|
+
{
|
|
102
|
+
variants: {
|
|
103
|
+
layout: {
|
|
104
|
+
/** Fills the viewport: the whole page is the error. */
|
|
105
|
+
page: "ds:min-h-screen",
|
|
106
|
+
/** Fills its container, under the host's own header. */
|
|
107
|
+
embedded: "ds:[min-block-size:100%]"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
defaultVariants: { layout: "page" }
|
|
111
|
+
}
|
|
112
|
+
), fe = /* @__PURE__ */ new Set(["ar"]), he = 1500;
|
|
113
|
+
function ve(e, o) {
|
|
114
|
+
const t = e instanceof Date ? e : new Date(e);
|
|
115
|
+
if (Number.isNaN(t.getTime())) return;
|
|
116
|
+
const i = /* @__PURE__ */ new Date(), u = i.toDateString() === t.toDateString() ? {} : {
|
|
117
|
+
day: "numeric",
|
|
118
|
+
month: "short",
|
|
119
|
+
...i.getFullYear() === t.getFullYear() ? {} : { year: "numeric" }
|
|
120
|
+
};
|
|
121
|
+
return new Intl.DateTimeFormat(o === "en" ? "en-GB" : o, {
|
|
122
|
+
...u,
|
|
123
|
+
hour: "2-digit",
|
|
124
|
+
minute: "2-digit"
|
|
125
|
+
}).format(t);
|
|
126
|
+
}
|
|
127
|
+
const B = (e, o) => !!e.getResource(o, "ui", "errorPage"), ke = (e) => X(e) ? e : "#", be = H(
|
|
128
|
+
({
|
|
129
|
+
status: e,
|
|
130
|
+
homeHref: o = "/",
|
|
131
|
+
loginHref: t,
|
|
132
|
+
supportHref: i,
|
|
133
|
+
onRetry: u,
|
|
134
|
+
requestId: f,
|
|
135
|
+
backAt: p,
|
|
136
|
+
locale: h,
|
|
137
|
+
hostLocaleIsDefault: y = !1,
|
|
138
|
+
title: M,
|
|
139
|
+
message: F,
|
|
140
|
+
showLogo: G = !0,
|
|
141
|
+
as: j = "main",
|
|
142
|
+
focusHeading: N = !0,
|
|
143
|
+
layout: O,
|
|
144
|
+
className: $,
|
|
145
|
+
...U
|
|
146
|
+
}, V) => {
|
|
147
|
+
const { i18n: l } = Q("ui"), d = K(
|
|
148
|
+
() => ye({ locale: h, hostLocaleIsDefault: y }),
|
|
149
|
+
[h, y]
|
|
150
|
+
), [n, v] = R(
|
|
151
|
+
() => B(l, d) ? d : null
|
|
152
|
+
), [, Y] = R(0);
|
|
153
|
+
_(() => {
|
|
154
|
+
let a = !0;
|
|
155
|
+
const k = B(l, d);
|
|
156
|
+
v(k ? d : null);
|
|
157
|
+
const b = () => a && Y((g) => g + 1);
|
|
158
|
+
z("en", l).then(b).catch(() => {
|
|
159
|
+
});
|
|
160
|
+
const L = k ? void 0 : setTimeout(
|
|
161
|
+
() => a && v((g) => g ?? "en"),
|
|
162
|
+
he
|
|
163
|
+
);
|
|
164
|
+
return z(d, l).then(() => {
|
|
165
|
+
a && (v(d), b());
|
|
166
|
+
}).catch(() => a && v((g) => g ?? "en")), () => {
|
|
167
|
+
a = !1, clearTimeout(L);
|
|
168
|
+
};
|
|
169
|
+
}, [l, d]);
|
|
170
|
+
const s = l.getFixedT(
|
|
171
|
+
n && n !== "en" ? [n, "en"] : "en",
|
|
172
|
+
"ui"
|
|
173
|
+
), c = ce(e), P = c.key === "maintenance" && p ? ve(p, n ?? "en") : void 0, S = C(null), A = C(!1);
|
|
174
|
+
_(() => {
|
|
175
|
+
var a;
|
|
176
|
+
!n || !N || A.current || (A.current = !0, (a = S.current) == null || a.focus({ preventScroll: !0 }));
|
|
177
|
+
}, [n, N]);
|
|
178
|
+
const q = u ?? (() => window.location.reload()), w = c.primary === "login" && !t ? "retry" : c.primary, E = (a, k, b, L) => /* @__PURE__ */ r(
|
|
179
|
+
T,
|
|
180
|
+
{
|
|
181
|
+
intent: L,
|
|
182
|
+
size: "lg",
|
|
183
|
+
flipIconInRtl: a === "login",
|
|
184
|
+
asChild: !0,
|
|
185
|
+
startIcon: b,
|
|
186
|
+
"data-action": a,
|
|
187
|
+
children: /* @__PURE__ */ r("a", { href: ke(k), children: s(`errorPage.actions.${a}`) })
|
|
188
|
+
},
|
|
189
|
+
a
|
|
190
|
+
), m = [];
|
|
191
|
+
return w === "retry" ? m.push(
|
|
192
|
+
/* @__PURE__ */ r(
|
|
193
|
+
T,
|
|
194
|
+
{
|
|
195
|
+
intent: "primary",
|
|
196
|
+
size: "lg",
|
|
197
|
+
startIcon: /* @__PURE__ */ r(oe, { "aria-hidden": "true" }),
|
|
198
|
+
onClick: q,
|
|
199
|
+
"data-action": "retry",
|
|
200
|
+
children: s("errorPage.actions.retry")
|
|
201
|
+
},
|
|
202
|
+
"retry"
|
|
203
|
+
)
|
|
204
|
+
) : w === "login" && t && m.push(
|
|
205
|
+
E("login", t, /* @__PURE__ */ r(te, { "aria-hidden": "true" }), "primary")
|
|
206
|
+
), e !== "offline" && c.key !== "maintenance" && m.push(
|
|
207
|
+
E(
|
|
208
|
+
"home",
|
|
209
|
+
o,
|
|
210
|
+
/* @__PURE__ */ r(ie, { "aria-hidden": "true" }),
|
|
211
|
+
w === "home" ? "primary" : "secondary"
|
|
212
|
+
)
|
|
213
|
+
), i && m.push(
|
|
214
|
+
E(
|
|
215
|
+
"support",
|
|
216
|
+
i,
|
|
217
|
+
/* @__PURE__ */ r(ne, { "aria-hidden": "true" }),
|
|
218
|
+
"ghost"
|
|
219
|
+
)
|
|
220
|
+
), /* @__PURE__ */ r(
|
|
221
|
+
j,
|
|
222
|
+
{
|
|
223
|
+
ref: V,
|
|
224
|
+
"data-component": "error-page",
|
|
225
|
+
"data-status": String(e),
|
|
226
|
+
lang: n ?? void 0,
|
|
227
|
+
"aria-busy": n ? void 0 : !0,
|
|
228
|
+
dir: n && fe.has(n) ? "rtl" : "ltr",
|
|
229
|
+
className: ge({ layout: O, className: $ }),
|
|
230
|
+
...U,
|
|
231
|
+
children: /* @__PURE__ */ x(
|
|
232
|
+
"div",
|
|
233
|
+
{
|
|
234
|
+
className: n ? "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-lg)] ds:text-center ds:[max-inline-size:32rem]" : "ds:invisible",
|
|
235
|
+
children: [
|
|
236
|
+
/* @__PURE__ */ r(Z, { mood: c.mood }),
|
|
237
|
+
/* @__PURE__ */ x("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]", children: [
|
|
238
|
+
/* @__PURE__ */ x(
|
|
239
|
+
"h1",
|
|
240
|
+
{
|
|
241
|
+
ref: S,
|
|
242
|
+
tabIndex: -1,
|
|
243
|
+
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:outline-none",
|
|
244
|
+
children: [
|
|
245
|
+
typeof e == "number" && /* @__PURE__ */ r("span", { className: "type-label ds:text-[var(--muted-foreground)]", children: s("errorPage.statusLabel", { status: e }) }),
|
|
246
|
+
/* @__PURE__ */ r("span", { className: "type-title-page", children: M ?? s(`errorPage.status.${c.key}.title`) })
|
|
247
|
+
]
|
|
248
|
+
}
|
|
249
|
+
),
|
|
250
|
+
/* @__PURE__ */ r("p", { className: "type-body ds:text-[var(--muted-foreground)]", children: F ?? s(`errorPage.status.${c.key}.message`) }),
|
|
251
|
+
P && /* @__PURE__ */ r("p", { className: "type-body ds:font-semibold", children: s("errorPage.backAt", { time: P }) })
|
|
252
|
+
] }),
|
|
253
|
+
m.length > 0 && /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:justify-center ds:gap-[var(--spacing-sm)]", children: m }),
|
|
254
|
+
f && /* @__PURE__ */ x("p", { className: "type-body-sm ds:text-[var(--muted-foreground)]", children: [
|
|
255
|
+
s("errorPage.reference", { id: f }),
|
|
256
|
+
/* @__PURE__ */ r("br", {}),
|
|
257
|
+
s("errorPage.referenceHint")
|
|
258
|
+
] }),
|
|
259
|
+
G && /* @__PURE__ */ r(J, { decorative: !0, size: "sm", className: "ds:opacity-70" })
|
|
260
|
+
]
|
|
261
|
+
}
|
|
262
|
+
)
|
|
263
|
+
}
|
|
264
|
+
);
|
|
265
|
+
}
|
|
266
|
+
);
|
|
267
|
+
be.displayName = "ErrorPage";
|
|
268
|
+
export {
|
|
269
|
+
me as E,
|
|
270
|
+
de as a,
|
|
271
|
+
be as b,
|
|
272
|
+
ce as e,
|
|
273
|
+
ye as r
|
|
274
|
+
};
|
|
275
|
+
//# sourceMappingURL=error-page-CKFJlekz.js.map
|