@alfadocs/ui-kit 0.72.2 → 0.75.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/actions-cell-renderer-DLrcSTK_.js +1546 -0
- package/dist/_chunks/{agenda-tray-loL2A3Cx.js → agenda-tray-CVf-jfWU.js} +3 -3
- package/dist/_chunks/{ai-consent-banner-Bke9m8VS.js → ai-consent-banner-DUhr1yNj.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-TVI95hJD.js → ai-prompt-input-DziJCGLe.js} +3 -3
- package/dist/_chunks/{alia-sidebar-BV5lBSFR.js → alia-sidebar-w6B0TEx7.js} +8 -8
- package/dist/_chunks/{anamnesis-card-CWO4Ui9c.js → anamnesis-card-CJ5MNbkc.js} +2 -2
- package/dist/_chunks/{antenatal-schedule-timeline-CY-VsLok.js → antenatal-schedule-timeline-BzJZqS-8.js} +3 -3
- package/dist/_chunks/{appointment-card-Cy4FOkGP.js → appointment-card-DgKI5QKD.js} +2 -2
- package/dist/_chunks/{appointment-timeline-BWAPPk8F.js → appointment-timeline-DQTG0btW.js} +6 -6
- package/dist/_chunks/{appointment-tray-D3mk04TT.js → appointment-tray-ezyCZN8v.js} +4 -4
- package/dist/_chunks/{ar-BOqyIfoY.js → ar-B1GhtlBP.js} +2 -2
- package/dist/_chunks/{columns-2-8lq4-b8e.js → arrow-up-right-C2v_MKsK.js} +5 -5
- package/dist/_chunks/{audio-recorder-BbjG55dP.js → audio-recorder-Cc3KuL9y.js} +4 -4
- package/dist/_chunks/{benefit-card-Xnxj4Gmo.js → benefit-card-DB1Kdrmc.js} +4 -2
- package/dist/_chunks/{bishop-score-C6eoak_j.js → bishop-score-DDW5-gb9.js} +3 -3
- package/dist/_chunks/{bmi-calculator-BmQfoEGP.js → bmi-calculator-Bk2GAju7.js} +2 -2
- package/dist/_chunks/{booking-B62CMY5k.js → booking-B1Qkcl3c.js} +9 -9
- package/dist/_chunks/{button-DD_0Xdmr.js → button-CPGiR_bH.js} +56 -35
- package/dist/_chunks/button-group-DzV5wgnx.js +289 -0
- package/dist/_chunks/camera-VSklPDCv.js +21 -0
- package/dist/_chunks/{care-plan-card-DhXbfGzE.js → care-plan-card-BrwhyIJI.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-D3YGD6rj.js → care-plan-entry-card-DWEdCQM3.js} +3 -3
- package/dist/_chunks/{care-plan-header-DtQxyfOb.js → care-plan-header-BXvRpGG8.js} +2 -2
- package/dist/_chunks/{carousel.agent-j7hWxJWr.js → carousel.agent-CtAAdsAd.js} +2 -2
- package/dist/_chunks/{chat-container-BVCoN06N.js → chat-container-HlFnoEIl.js} +4 -2
- package/dist/_chunks/{chat-input-Btq_uuMZ.js → chat-input-BTCDqUDX.js} +2 -2
- package/dist/_chunks/{chat-message-DXjjM8z9.js → chat-message-CdjWqZjo.js} +3 -3
- package/dist/_chunks/{code-block-Cwi7e3HM.js → code-block-BwanBjRh.js} +2 -2
- package/dist/_chunks/{connection-status-0HajXMXM.js → connection-status-oEUyrvev.js} +3 -3
- package/dist/_chunks/{contact-profile-card-IggiUVpN.js → contact-profile-card-veMV3W4J.js} +2 -2
- package/dist/_chunks/{control-room-rail-DaGcsdZ6.js → control-room-rail-CdfrZ6Vr.js} +3 -3
- package/dist/_chunks/{copy-field-PAp0-Wr5.js → copy-field-DBc9QquW.js} +2 -2
- package/dist/_chunks/{cycle-calculator-BNILyVas.js → cycle-calculator-OQp8Ik5U.js} +4 -4
- package/dist/_chunks/data-table-tabs-BEUXiRlu.js +710 -0
- package/dist/_chunks/{date-picker-CVkD_lOi.js → date-picker-DzQS8mvt.js} +2 -2
- package/dist/_chunks/{date-picker-variants-DLg-ZrIo.js → date-picker-variants-CYQAm1Gk.js} +116 -115
- package/dist/_chunks/{date-range-picker-Dw12DgV8.js → date-range-picker-Cbz1SKhm.js} +3 -3
- package/dist/_chunks/{date-time-picker-Cd_OJtOy.js → date-time-picker-B5IpU-nd.js} +2 -2
- package/dist/_chunks/{de-DFLsUxeV.js → de-DETDHQ0o.js} +2 -2
- package/dist/_chunks/{description-list-CmBVxIF5.js → description-list-ClNLdRMy.js} +2 -2
- package/dist/_chunks/document-preview-CGSM_au9.js +181 -0
- package/dist/_chunks/{document-scanner-B23j4w7X.js → document-scanner-B6h1Ir56.js} +198 -230
- package/dist/_chunks/{due-date-calculator-CmdAl_JO.js → due-date-calculator-DASNRgnH.js} +4 -4
- package/dist/_chunks/{editable-currency-cell-renderer-z9fJFw6Z.js → editable-currency-cell-renderer-GwfA9tTR.js} +3 -3
- package/dist/_chunks/{editor-overlay-BIOzr8v7.js → editor-overlay-DE3esyio.js} +2 -2
- package/dist/_chunks/{el-OVjBKytp.js → el-HV3jOI0z.js} +2 -2
- package/dist/_chunks/{empty-state-BLy7tigq.js → empty-state-CrLsi0XI.js} +2 -2
- package/dist/_chunks/{entity-summary-DpGziDv5.js → entity-summary--vP698Jn.js} +3 -3
- package/dist/_chunks/eraser-CHOGQfVv.js +21 -0
- package/dist/_chunks/{es-DKDNrHXG.js → es-Dpo7Olwo.js} +2 -2
- package/dist/_chunks/face-scheme-C0rk21gg.js +3146 -0
- package/dist/_chunks/{fetal-weight-CVAH8sJ3.js → fetal-weight-1F9N4IMx.js} +2 -2
- package/dist/_chunks/{field-array-CDzc3hTM.js → field-array-DH3Mb1i8.js} +3 -3
- package/dist/_chunks/{field-value-Dj3i52H2.js → field-value-DHG6gEKS.js} +5 -5
- package/dist/_chunks/file-Cwe9VC1A.js +40 -0
- package/dist/_chunks/file-manager-UF8dkQF1.js +1776 -0
- package/dist/_chunks/{file-upload-Kw1rdvFw.js → file-upload-DENvuhfs.js} +101 -139
- package/dist/_chunks/{finished-terminal-Di4gtZ50.js → finished-terminal-C0_mefrf.js} +11 -11
- package/dist/_chunks/{fiscal-code-input-DKNXFXs3.js → fiscal-code-input-DWA6C8x8.js} +2 -2
- package/dist/_chunks/{fr-BfMvQh-v.js → fr-CgD4Jvtq.js} +2 -2
- package/dist/_chunks/{freemium-paywall-DFoeedwh.js → freemium-paywall-CmV642PA.js} +7 -3
- package/dist/_chunks/{gestational-age-calculator-BwCBPAGX.js → gestational-age-calculator-BpYw-WF-.js} +7 -7
- package/dist/_chunks/{hcg-doubling-CSsWxEJc.js → hcg-doubling-Dqj-EqMT.js} +3 -3
- package/dist/_chunks/{header-DaXWDw0M.js → header-CjwasYnn.js} +88 -79
- package/dist/_chunks/{header-settings-B0G_u-wV.js → header-settings-4cwQzeFc.js} +4 -4
- package/dist/_chunks/{hi-C0GEMwlD.js → hi-Bf8CAP6b.js} +2 -2
- package/dist/_chunks/highlighter-DSkckT2Q.js +15 -0
- package/dist/_chunks/{icon-button-LqoiKcUN.js → icon-button-C_kbcd7I.js} +2 -2
- package/dist/_chunks/icon-button-group-C_lqXTAj.js +391 -0
- package/dist/_chunks/{icon-picker-Di6uYDG-.js → icon-picker-CM9ubkew.js} +3 -3
- package/dist/_chunks/{image-cropper-CdmWFrMC.js → image-cropper-DKe4AORY.js} +2 -2
- package/dist/_chunks/{insert-result-C7xSDb8q.js → insert-result-D074GtHX.js} +58 -68
- package/dist/_chunks/{isSameWeek-HddDAyJG.js → isSameWeek-BYl5poz_.js} +2 -2
- package/dist/_chunks/{it-5f4hiT2e.js → it-mt1V2DFS.js} +3 -3
- package/dist/_chunks/{ja-U0_2inl_.js → ja-CbOHn2TO.js} +2 -2
- package/dist/_chunks/{key-value-pair-Byyyc_9J.js → key-value-pair-LHKfDT_9.js} +2 -2
- package/dist/_chunks/link-cell-renderer-BQGUs45d.js +711 -0
- package/dist/_chunks/{locale-picker-DzF7Q5Y8.js → locale-picker-GNF3lo8K.js} +3 -3
- package/dist/_chunks/{map-view-ByPvWG_9.js → map-view-CsaHfoo6.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-BCYiOvKZ.js → marketplace-app-shell-D_1tF4La.js} +6 -6
- package/dist/_chunks/{message-card-BZnnffyB.js → message-card-ievotOFa.js} +3 -3
- package/dist/_chunks/{message-tray-cUHOCdU0.js → message-tray-BFlu8clI.js} +4 -4
- package/dist/_chunks/{muscle-scheme-B9MIkuj0.js → muscle-scheme-CFBE2dme.js} +6 -14
- package/dist/_chunks/{nl-CDVnnx1U.js → nl-C6Y0QXnm.js} +2 -2
- package/dist/_chunks/{notes-panel-CMyjUXD4.js → notes-panel-Cvdp818a.js} +3 -3
- package/dist/_chunks/{notification-card-BHJ07FkH.js → notification-card-D29_sVA1.js} +3 -3
- package/dist/_chunks/{notification-tray-Dzm1c3Wy.js → notification-tray-CzIzz3bX.js} +4 -4
- package/dist/_chunks/optical-prescription-BEjYQjiO.js +1260 -0
- package/dist/_chunks/{patient-details-pU_E5xM2.js → patient-details-DP4wKyq4.js} +7 -7
- package/dist/_chunks/{patient-search-X9SUZGpy.js → patient-search-BaUJ_Y-N.js} +47 -45
- package/dist/_chunks/{patient-summary-card--t3BjTdU.js → patient-summary-card-D6kgdTNn.js} +4 -4
- package/dist/_chunks/{patient-table-BgWgNIMf.js → patient-table-DweKjiXg.js} +122 -118
- package/dist/_chunks/{payment-request-card-2ts7ITxd.js → payment-request-card-C0fqlKqO.js} +25 -24
- package/dist/_chunks/pen-line-D0De5zdl.js +21 -0
- package/dist/_chunks/periodontal-chart-D8hOFmde.js +1173 -0
- package/dist/_chunks/{periodontal-chart-card-6c6Lt4ws.js → periodontal-chart-card-WVjJAheq.js} +2 -2
- package/dist/_chunks/periodontal-diagnosis-cco40xTa.js +345 -0
- package/dist/_chunks/periodontal-risk-chart-bUGkMwDg.js +334 -0
- package/dist/_chunks/{pl-BWNumNrg.js → pl-BdazJAOp.js} +3 -3
- package/dist/_chunks/{popover-uJ6BvEU3.js → popover-Cc0a69sw.js} +32 -29
- package/dist/_chunks/{practice-results-CSEHTH2V.js → practice-results-BCr7jMt1.js} +5 -5
- package/dist/_chunks/{pregnancy-dating-CxVAA6_4.js → pregnancy-dating-msMl_6wz.js} +7 -7
- package/dist/_chunks/{pregnancy-weight-gain-C7zyrwow.js → pregnancy-weight-gain-B-CkVYnU.js} +2 -2
- package/dist/_chunks/{privacy-lock-DrRmK8C7.js → privacy-lock-YYBiI_bY.js} +3 -3
- package/dist/_chunks/{product-hub-panel-CaZqttvm.js → product-hub-panel-CTld1r5V.js} +3 -3
- package/dist/_chunks/{pt-zqdQuryr.js → pt-B3UKvhHp.js} +2 -2
- package/dist/_chunks/{public-header.agent-C-opZaOw.js → public-header.agent-rX_VA6hd.js} +107 -103
- package/dist/_chunks/{radiograph-panel.agent-D1x33moc.js → radiograph-panel.agent-CxF9pVxd.js} +40 -57
- package/dist/_chunks/{reviews-panel-liUj6OPX.js → reviews-panel-DmOjvmyH.js} +4 -4
- package/dist/_chunks/{rich-text-editor-DUgznqOf.js → rich-text-editor-CCWjNkbx.js} +26 -26
- package/dist/_chunks/{ro-CornQr64.js → ro-DVTEQpPK.js} +2 -2
- package/dist/_chunks/{ru-CKAXNYVD.js → ru-C-Mp40SC.js} +3 -3
- package/dist/_chunks/{select-BmCbJMJS.js → select-BW5ecXlX.js} +13 -13
- package/dist/_chunks/{session-countdown-qr8EO5QY.js → session-countdown-C8AsE072.js} +2 -2
- package/dist/_chunks/{sheet-B_X54aZo.js → sheet-D5K0LB3q.js} +2 -2
- package/dist/_chunks/{sidebar-B0OBmJrC.js → sidebar-C0PbwJBc.js} +375 -335
- package/dist/_chunks/{sign-document-nK03S73h.js → sign-document-Bfk0WpWV.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-LppxjlFt.js → sign-in-with-alfadocs-button-UlYefZpI.js} +2 -2
- package/dist/_chunks/{signature-capture-Ct_4Md4e.js → signature-capture-DN52VNKL.js} +206 -189
- package/dist/_chunks/{signature-field-jgwYgUhO.js → signature-field-0rFODJlW.js} +47 -41
- package/dist/_chunks/signature-request-C-mskXwi.js +318 -0
- package/dist/_chunks/{slot-grid-FsqumOaS.js → slot-grid-CQSULZjd.js} +4 -4
- package/dist/_chunks/{sq-CIIvqXZv.js → sq-DierVlw-.js} +2 -2
- package/dist/_chunks/{streaming-text-Cedc05ya.js → streaming-text-C5bYz7LL.js} +2 -2
- package/dist/_chunks/subDays-DIKRViZm.js +8 -0
- package/dist/_chunks/{sv-Kpk1pzjz.js → sv-gQWo_19z.js} +2 -2
- package/dist/_chunks/{tabs-DVQ941Sj.js → tabs-CVTukWRD.js} +2 -2
- package/dist/_chunks/{task-tray-DP5A3Qnc.js → task-tray-Br3vc0O1.js} +3 -3
- package/dist/_chunks/{tasks-panel-BuxaYtEF.js → tasks-panel-CjGAhIN8.js} +6 -6
- package/dist/_chunks/{theme-toggle-dtdy5EaL.js → theme-toggle-BJCz_UOi.js} +3 -3
- package/dist/_chunks/{toast.agent-BSxl057x.js → toast.agent-uV8CeAy6.js} +2 -2
- package/dist/_chunks/{token-insert-menu-Pok4nExI.js → token-insert-menu-BYv6yoZI.js} +2 -2
- package/dist/_chunks/{tool-rail-BZx0-yIr.js → tool-rail-AaTqxkIM.js} +2 -2
- package/dist/_chunks/tooth-data-BwuoKFf4.js +660 -0
- package/dist/_chunks/tooth-scheme-BzJ6rcte.js +1483 -0
- package/dist/_chunks/{tr-DHaeLFxG.js → tr-Btm6M3Km.js} +2 -2
- package/dist/_chunks/{transaction-chip-B6iWoVmU.js → transaction-chip-DJCstquX.js} +41 -51
- package/dist/_chunks/type-ggmfVs23.js +16 -0
- package/dist/_chunks/{unit-converter-fEqluT8b.js → unit-converter-CSLWFDQh.js} +3 -3
- package/dist/_chunks/upload-BfT2hzMg.js +16 -0
- package/dist/_chunks/use-priority-overflow-c9SjxZkZ.js +101 -0
- package/dist/_chunks/use-visual-viewport-pin-ChurOsHM.js +31 -0
- package/dist/_chunks/{warning-stack-BaMI7-n7.js → warning-stack-BlG_Ujy3.js} +3 -3
- package/dist/_chunks/{workflow-map-qWsgCldq.js → workflow-map-C643Q43h.js} +5 -5
- package/dist/_chunks/{zh-CN-BncsTBwM.js → zh-CN-DkVN4vsB.js} +3 -3
- package/dist/agent-catalog.json +4081 -3201
- package/dist/agent-i18n/en.json +121 -69
- package/dist/brand/product-lockup/product-lockup.d.ts +1 -1
- package/dist/components/_shared/entity-card/entity-card.d.ts +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/anamnesis-card/anamnesis-card.d.ts +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/appointment-card.d.ts +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/benefit-card/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/index.js +1 -1
- package/dist/components/button/button.d.ts +8 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/button-group.d.ts +16 -0
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/card/card.d.ts +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/chat-container/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/clinical-note-card/clinical-note-card.d.ts +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-profile-card/contact-profile-card.d.ts +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/copy-field/index.js +1 -1
- package/dist/components/counter/counter.d.ts +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/data-table.d.ts +2 -8
- package/dist/components/data-table/index.js +35 -34
- package/dist/components/data-table/toolbar.d.ts +5 -11
- package/dist/components/data-table-tabs/data-table-tabs.agent.d.ts +4 -0
- package/dist/components/data-table-tabs/data-table-tabs.d.ts +93 -0
- package/dist/components/data-table-tabs/index.d.ts +5 -0
- package/dist/components/data-table-tabs/index.js +8 -0
- package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts +63 -0
- 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/document-preview/document-preview.agent.d.ts +4 -0
- package/dist/components/document-preview/document-preview.d.ts +41 -0
- package/dist/components/document-preview/index.d.ts +4 -0
- package/dist/components/document-preview/index.js +6 -0
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/editor-overlay/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/face-scheme/face-scheme-data.d.ts +167 -0
- package/dist/components/face-scheme/face-scheme.d.ts +112 -2
- package/dist/components/face-scheme/index.d.ts +2 -2
- package/dist/components/face-scheme/index.js +25 -14
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/dialogs.d.ts +48 -0
- package/dist/components/file-manager/file-manager.agent.d.ts +4 -0
- package/dist/components/file-manager/file-manager.d.ts +82 -0
- package/dist/components/file-manager/folder-tree.d.ts +12 -0
- package/dist/components/file-manager/index.d.ts +5 -0
- package/dist/components/file-manager/index.js +6 -0
- package/dist/components/file-manager/list-view.d.ts +49 -0
- package/dist/components/file-manager/toolbar.d.ts +15 -0
- package/dist/components/file-manager/types.d.ts +167 -0
- package/dist/components/file-manager/utils.d.ts +34 -0
- package/dist/components/file-upload/file-upload.d.ts +1 -0
- package/dist/components/file-upload/index.d.ts +1 -1
- package/dist/components/file-upload/index.js +4 -3
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/flag/flag.d.ts +1 -1
- 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/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/icon-button-group.d.ts +6 -0
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/index.d.ts +7 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/link.d.ts +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/matrix-rain/matrix-rain.d.ts +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-card/message-card.d.ts +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/muscle-scheme/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-card/notification-card.d.ts +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/operator-hero/operator-hero.d.ts +1 -1
- package/dist/components/optical-prescription/index.d.ts +4 -2
- package/dist/components/optical-prescription/index.js +29 -26
- package/dist/components/optical-prescription/optical-prescription-charts.d.ts +78 -0
- package/dist/components/optical-prescription/optical-prescription-data.d.ts +29 -0
- package/dist/components/optical-prescription/optical-prescription.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-summary-card/patient-summary-card.d.ts +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/payment-card/payment-card.d.ts +1 -1
- package/dist/components/payment-card/payment-request-card.d.ts +1 -1
- package/dist/components/periodontal-chart/index.d.ts +6 -0
- package/dist/components/periodontal-chart/index.js +22 -0
- package/dist/components/periodontal-chart/periodontal-chart-data.d.ts +119 -0
- package/dist/components/periodontal-chart/periodontal-chart.agent.d.ts +4 -0
- package/dist/components/periodontal-chart/periodontal-chart.d.ts +69 -0
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-chart-card/periodontal-chart-card.d.ts +1 -1
- package/dist/components/periodontal-diagnosis/index.d.ts +6 -0
- package/dist/components/periodontal-diagnosis/index.js +13 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis-data.d.ts +30 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis.agent.d.ts +4 -0
- package/dist/components/periodontal-diagnosis/periodontal-diagnosis.d.ts +44 -0
- package/dist/components/periodontal-risk-chart/index.d.ts +6 -0
- package/dist/components/periodontal-risk-chart/index.js +9 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-chart.agent.d.ts +4 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-chart.d.ts +28 -0
- package/dist/components/periodontal-risk-chart/periodontal-risk-data.d.ts +47 -0
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover.d.ts +1 -0
- 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/product-hub-tray/product-hub-panel.d.ts +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/public-header/public-header.d.ts +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/radiograph-panel/radiograph-panel.d.ts +2 -2
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/sidebar.d.ts +9 -0
- 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-capture/index.js +1 -1
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/signature-field/signature-field.d.ts +7 -0
- package/dist/components/skeleton-scheme/index.js +1186 -0
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/stat/stat.d.ts +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/tabs/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/theme-toggle/index.js +1 -1
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +29 -28
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +40 -35
- package/dist/hooks/use-priority-overflow.d.ts +63 -0
- package/dist/hooks/use-visual-viewport-pin.d.ts +32 -0
- package/dist/i18n/locales/ar.d.ts +490 -9
- package/dist/i18n/locales/ar.js +493 -12
- package/dist/i18n/locales/de.d.ts +490 -9
- package/dist/i18n/locales/de.js +493 -12
- package/dist/i18n/locales/el.d.ts +490 -9
- package/dist/i18n/locales/el.js +493 -12
- package/dist/i18n/locales/en.d.ts +490 -9
- package/dist/i18n/locales/en.js +493 -12
- package/dist/i18n/locales/es.d.ts +490 -9
- package/dist/i18n/locales/es.js +493 -12
- package/dist/i18n/locales/fr.d.ts +490 -9
- package/dist/i18n/locales/fr.js +493 -12
- package/dist/i18n/locales/hi.d.ts +490 -9
- package/dist/i18n/locales/hi.js +493 -12
- package/dist/i18n/locales/it.d.ts +490 -9
- package/dist/i18n/locales/it.js +493 -12
- package/dist/i18n/locales/ja.d.ts +490 -9
- package/dist/i18n/locales/ja.js +493 -12
- package/dist/i18n/locales/nl.d.ts +490 -9
- package/dist/i18n/locales/nl.js +493 -12
- package/dist/i18n/locales/pl.d.ts +490 -9
- package/dist/i18n/locales/pl.js +493 -12
- package/dist/i18n/locales/pt.d.ts +490 -9
- package/dist/i18n/locales/pt.js +493 -12
- package/dist/i18n/locales/ro.d.ts +490 -9
- package/dist/i18n/locales/ro.js +493 -12
- package/dist/i18n/locales/ru.d.ts +490 -9
- package/dist/i18n/locales/ru.js +493 -12
- package/dist/i18n/locales/sq.d.ts +490 -9
- package/dist/i18n/locales/sq.js +493 -12
- package/dist/i18n/locales/sv.d.ts +490 -9
- package/dist/i18n/locales/sv.js +493 -12
- package/dist/i18n/locales/tr.d.ts +490 -9
- package/dist/i18n/locales/tr.js +493 -12
- package/dist/i18n/locales/zh.d.ts +490 -9
- package/dist/i18n/locales/zh.js +493 -12
- package/dist/index.js +872 -809
- package/dist/locales/ar.json +493 -12
- package/dist/locales/de.json +493 -12
- package/dist/locales/el.json +493 -12
- package/dist/locales/en.json +493 -12
- package/dist/locales/es.json +493 -12
- package/dist/locales/fr.json +493 -12
- package/dist/locales/hi.json +493 -12
- package/dist/locales/it.json +493 -12
- package/dist/locales/ja.json +493 -12
- package/dist/locales/nl.json +493 -12
- package/dist/locales/pl.json +493 -12
- package/dist/locales/pt.json +493 -12
- package/dist/locales/ro.json +493 -12
- package/dist/locales/ru.json +493 -12
- package/dist/locales/sq.json +493 -12
- package/dist/locales/sv.json +493 -12
- package/dist/locales/tr.json +493 -12
- package/dist/locales/zh.json +493 -12
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts +1 -1
- package/dist/patterns/signature-request/index.d.ts +3 -0
- package/dist/patterns/signature-request/index.js +5 -0
- package/dist/patterns/signature-request/signature-request.d.ts +81 -0
- package/dist/tokens.css +2 -2
- package/package.json +32 -4
- package/dist/_chunks/button-group-CvEnVzY7.js +0 -119
- package/dist/_chunks/face-scheme-BT9_KdL0.js +0 -1450
- package/dist/_chunks/icon-button-group-C48khLE0.js +0 -206
- package/dist/_chunks/link-cell-renderer-BCppbMec.js +0 -2185
- package/dist/_chunks/optical-prescription-Bmlbuopi.js +0 -653
- package/dist/_chunks/patient-shell-oiIRqEAl.js +0 -162
- package/dist/_chunks/subDays-DGSOp9d9.js +0 -8
- package/dist/_chunks/tooth-scheme-D_rso4uu.js +0 -2133
- package/dist/patterns/patient-shell/index.d.ts +0 -12
- package/dist/patterns/patient-shell/index.js +0 -5
- package/dist/patterns/patient-shell/patient-shell.d.ts +0 -62
|
@@ -8,7 +8,7 @@ import * as Z from "@radix-ui/react-popover";
|
|
|
8
8
|
import { u as He } from "./use-controllable-state-BiY4xTzM.js";
|
|
9
9
|
import { u as qe } from "./form-field-context-B3APVHKx.js";
|
|
10
10
|
import { u as Ce } from "./registry-DvAUVLHh.js";
|
|
11
|
-
import { y as ce, z as Le, s as S, A as ue, B as Ne, E as Re, a as le, F as de, G as Qe, H as ae, I as We, J as ie, K as Ae, u as Fe, g as Be, h as oe, c as Ge, n as Ve, i as Xe, t as Ke, k as ze, p as Ze, D as $e, C as je, l as Je, m as Ue, L as Se } from "./date-picker-variants-
|
|
11
|
+
import { y as ce, z as Le, s as S, A as ue, B as Ne, E as Re, a as le, F as de, G as Qe, H as ae, I as We, J as ie, K as Ae, u as Fe, g as Be, h as oe, c as Ge, n as Ve, i as Xe, t as Ke, k as ze, p as Ze, D as $e, C as je, l as Je, m as Ue, L as Se } from "./date-picker-variants-CYQAm1Gk.js";
|
|
12
12
|
import { C as et } from "./calendar-days-BGWklvE-.js";
|
|
13
13
|
import { t as E, c as O, m as tt, a as rt, b as nt } from "./isSameDay-DUEiAT0G.js";
|
|
14
14
|
function st() {
|
|
@@ -1842,4 +1842,4 @@ export {
|
|
|
1842
1842
|
nr as D,
|
|
1843
1843
|
rr as d
|
|
1844
1844
|
};
|
|
1845
|
-
//# sourceMappingURL=date-picker-
|
|
1845
|
+
//# sourceMappingURL=date-picker-DzQS8mvt.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import y, { createContext as
|
|
1
|
+
import y, { createContext as _n, useContext as Tn, useCallback as R, useRef as Ne, useLayoutEffect as Pn, useState as xe, useEffect as St, useMemo as Ce } from "react";
|
|
2
2
|
import { t as P, c as I, n as we, s as Xe, d as En, e as Nt, i as Fn } from "./isSameDay-DUEiAT0G.js";
|
|
3
3
|
import { jsx as ft } from "react/jsx-runtime";
|
|
4
4
|
import { C as Bn } from "./chevron-left-B8cOyH-V.js";
|
|
5
5
|
import { C as In } from "./chevron-right-I9AeSxH2.js";
|
|
6
|
-
import { c as
|
|
6
|
+
import { c as Ye } from "./index-D2ZczOXr.js";
|
|
7
7
|
function Hn(e, t, n = "long") {
|
|
8
8
|
return new Intl.DateTimeFormat("en-US", {
|
|
9
9
|
// Enforces engine to render the time. Without the option JavaScriptCore omits it.
|
|
@@ -156,7 +156,7 @@ function xt(e, t, n) {
|
|
|
156
156
|
const r = P(e, n == null ? void 0 : n.in);
|
|
157
157
|
return isNaN(t) ? I((n == null ? void 0 : n.in) || e, NaN) : (t && r.setDate(r.getDate() + t), r);
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function Yt(e, t, n) {
|
|
160
160
|
const r = P(e, n == null ? void 0 : n.in);
|
|
161
161
|
if (isNaN(t)) return I(e, NaN);
|
|
162
162
|
if (!t)
|
|
@@ -182,7 +182,7 @@ function fe(e, t) {
|
|
|
182
182
|
function Me(e, t) {
|
|
183
183
|
return fe(e, { ...t, weekStartsOn: 1 });
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function _t(e, t) {
|
|
186
186
|
const n = P(e, t == null ? void 0 : t.in), r = n.getFullYear(), a = I(n, 0);
|
|
187
187
|
a.setFullYear(r + 1, 0, 4), a.setHours(0, 0, 0, 0);
|
|
188
188
|
const s = Me(a), o = I(n, 0);
|
|
@@ -213,14 +213,14 @@ function Je(e, t, n) {
|
|
|
213
213
|
return Math.round((i - d) / En);
|
|
214
214
|
}
|
|
215
215
|
function jn(e, t) {
|
|
216
|
-
const n =
|
|
216
|
+
const n = _t(e, t), r = I(e, 0);
|
|
217
217
|
return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), Me(r);
|
|
218
218
|
}
|
|
219
219
|
function $n(e, t, n) {
|
|
220
220
|
return xt(e, t * 7, n);
|
|
221
221
|
}
|
|
222
222
|
function Gn(e, t, n) {
|
|
223
|
-
return
|
|
223
|
+
return Yt(e, t * 12, n);
|
|
224
224
|
}
|
|
225
225
|
function Rn(e, t) {
|
|
226
226
|
let n, r = t == null ? void 0 : t.in;
|
|
@@ -673,7 +673,7 @@ const wr = /^(\d+)(th|st|nd|rd)?/i, vr = /\d+/i, kr = {
|
|
|
673
673
|
}, xr = {
|
|
674
674
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
675
675
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
676
|
-
},
|
|
676
|
+
}, Yr = {
|
|
677
677
|
any: {
|
|
678
678
|
am: /^a/i,
|
|
679
679
|
pm: /^p/i,
|
|
@@ -684,7 +684,7 @@ const wr = /^(\d+)(th|st|nd|rd)?/i, vr = /\d+/i, kr = {
|
|
|
684
684
|
evening: /evening/i,
|
|
685
685
|
night: /night/i
|
|
686
686
|
}
|
|
687
|
-
},
|
|
687
|
+
}, _r = {
|
|
688
688
|
ordinalNumber: Mr({
|
|
689
689
|
matchPattern: wr,
|
|
690
690
|
parsePattern: vr,
|
|
@@ -718,7 +718,7 @@ const wr = /^(\d+)(th|st|nd|rd)?/i, vr = /\d+/i, kr = {
|
|
|
718
718
|
dayPeriod: ye({
|
|
719
719
|
matchPatterns: xr,
|
|
720
720
|
defaultMatchWidth: "any",
|
|
721
|
-
parsePatterns:
|
|
721
|
+
parsePatterns: Yr,
|
|
722
722
|
defaultParseWidth: "any"
|
|
723
723
|
})
|
|
724
724
|
}, oe = {
|
|
@@ -727,7 +727,7 @@ const wr = /^(\d+)(th|st|nd|rd)?/i, vr = /\d+/i, kr = {
|
|
|
727
727
|
formatLong: sr,
|
|
728
728
|
formatRelative: ir,
|
|
729
729
|
localize: yr,
|
|
730
|
-
match:
|
|
730
|
+
match: _r,
|
|
731
731
|
options: {
|
|
732
732
|
weekStartsOn: 0,
|
|
733
733
|
firstWeekContainsDate: 1
|
|
@@ -762,7 +762,7 @@ function Le(e, t) {
|
|
|
762
762
|
const n = P(e, t == null ? void 0 : t.in), r = +fe(n, t) - +Er(n, t);
|
|
763
763
|
return Math.round(r / Nt) + 1;
|
|
764
764
|
}
|
|
765
|
-
function
|
|
765
|
+
function _(e, t) {
|
|
766
766
|
const n = e < 0 ? "-" : "", r = Math.abs(e).toString().padStart(t, "0");
|
|
767
767
|
return n + r;
|
|
768
768
|
}
|
|
@@ -770,16 +770,16 @@ const ae = {
|
|
|
770
770
|
// Year
|
|
771
771
|
y(e, t) {
|
|
772
772
|
const n = e.getFullYear(), r = n > 0 ? n : 1 - n;
|
|
773
|
-
return
|
|
773
|
+
return _(t === "yy" ? r % 100 : r, t.length);
|
|
774
774
|
},
|
|
775
775
|
// Month
|
|
776
776
|
M(e, t) {
|
|
777
777
|
const n = e.getMonth();
|
|
778
|
-
return t === "M" ? String(n + 1) :
|
|
778
|
+
return t === "M" ? String(n + 1) : _(n + 1, 2);
|
|
779
779
|
},
|
|
780
780
|
// Day of the month
|
|
781
781
|
d(e, t) {
|
|
782
|
-
return
|
|
782
|
+
return _(e.getDate(), t.length);
|
|
783
783
|
},
|
|
784
784
|
// AM or PM
|
|
785
785
|
a(e, t) {
|
|
@@ -799,26 +799,26 @@ const ae = {
|
|
|
799
799
|
},
|
|
800
800
|
// Hour [1-12]
|
|
801
801
|
h(e, t) {
|
|
802
|
-
return
|
|
802
|
+
return _(e.getHours() % 12 || 12, t.length);
|
|
803
803
|
},
|
|
804
804
|
// Hour [0-23]
|
|
805
805
|
H(e, t) {
|
|
806
|
-
return
|
|
806
|
+
return _(e.getHours(), t.length);
|
|
807
807
|
},
|
|
808
808
|
// Minute
|
|
809
809
|
m(e, t) {
|
|
810
|
-
return
|
|
810
|
+
return _(e.getMinutes(), t.length);
|
|
811
811
|
},
|
|
812
812
|
// Second
|
|
813
813
|
s(e, t) {
|
|
814
|
-
return
|
|
814
|
+
return _(e.getSeconds(), t.length);
|
|
815
815
|
},
|
|
816
816
|
// Fraction of second
|
|
817
817
|
S(e, t) {
|
|
818
818
|
const n = t.length, r = e.getMilliseconds(), a = Math.trunc(
|
|
819
819
|
r * Math.pow(10, n - 3)
|
|
820
820
|
);
|
|
821
|
-
return
|
|
821
|
+
return _(a, t.length);
|
|
822
822
|
}
|
|
823
823
|
}, ce = {
|
|
824
824
|
midnight: "midnight",
|
|
@@ -859,14 +859,14 @@ const ae = {
|
|
|
859
859
|
const a = It(e, r), s = a > 0 ? a : 1 - a;
|
|
860
860
|
if (t === "YY") {
|
|
861
861
|
const o = s % 100;
|
|
862
|
-
return
|
|
862
|
+
return _(o, 2);
|
|
863
863
|
}
|
|
864
|
-
return t === "Yo" ? n.ordinalNumber(s, { unit: "year" }) :
|
|
864
|
+
return t === "Yo" ? n.ordinalNumber(s, { unit: "year" }) : _(s, t.length);
|
|
865
865
|
},
|
|
866
866
|
// ISO week-numbering year
|
|
867
867
|
R: function(e, t) {
|
|
868
|
-
const n =
|
|
869
|
-
return
|
|
868
|
+
const n = _t(e);
|
|
869
|
+
return _(n, t.length);
|
|
870
870
|
},
|
|
871
871
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
872
872
|
// The main difference between `y` and `u` localizers are B.C. years:
|
|
@@ -879,7 +879,7 @@ const ae = {
|
|
|
879
879
|
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
880
880
|
u: function(e, t) {
|
|
881
881
|
const n = e.getFullYear();
|
|
882
|
-
return
|
|
882
|
+
return _(n, t.length);
|
|
883
883
|
},
|
|
884
884
|
// Quarter
|
|
885
885
|
Q: function(e, t, n) {
|
|
@@ -890,7 +890,7 @@ const ae = {
|
|
|
890
890
|
return String(r);
|
|
891
891
|
// 01, 02, 03, 04
|
|
892
892
|
case "QQ":
|
|
893
|
-
return
|
|
893
|
+
return _(r, 2);
|
|
894
894
|
// 1st, 2nd, 3rd, 4th
|
|
895
895
|
case "Qo":
|
|
896
896
|
return n.ordinalNumber(r, { unit: "quarter" });
|
|
@@ -924,7 +924,7 @@ const ae = {
|
|
|
924
924
|
return String(r);
|
|
925
925
|
// 01, 02, 03, 04
|
|
926
926
|
case "qq":
|
|
927
|
-
return
|
|
927
|
+
return _(r, 2);
|
|
928
928
|
// 1st, 2nd, 3rd, 4th
|
|
929
929
|
case "qo":
|
|
930
930
|
return n.ordinalNumber(r, { unit: "quarter" });
|
|
@@ -986,7 +986,7 @@ const ae = {
|
|
|
986
986
|
return String(r + 1);
|
|
987
987
|
// 01, 02, ..., 12
|
|
988
988
|
case "LL":
|
|
989
|
-
return
|
|
989
|
+
return _(r + 1, 2);
|
|
990
990
|
// 1st, 2nd, ..., 12th
|
|
991
991
|
case "Lo":
|
|
992
992
|
return n.ordinalNumber(r + 1, { unit: "month" });
|
|
@@ -1011,12 +1011,12 @@ const ae = {
|
|
|
1011
1011
|
// Local week of year
|
|
1012
1012
|
w: function(e, t, n, r) {
|
|
1013
1013
|
const a = Le(e, r);
|
|
1014
|
-
return t === "wo" ? n.ordinalNumber(a, { unit: "week" }) :
|
|
1014
|
+
return t === "wo" ? n.ordinalNumber(a, { unit: "week" }) : _(a, t.length);
|
|
1015
1015
|
},
|
|
1016
1016
|
// ISO week of year
|
|
1017
1017
|
I: function(e, t, n) {
|
|
1018
1018
|
const r = Ze(e);
|
|
1019
|
-
return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) :
|
|
1019
|
+
return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) : _(r, t.length);
|
|
1020
1020
|
},
|
|
1021
1021
|
// Day of the month
|
|
1022
1022
|
d: function(e, t, n) {
|
|
@@ -1025,7 +1025,7 @@ const ae = {
|
|
|
1025
1025
|
// Day of year
|
|
1026
1026
|
D: function(e, t, n) {
|
|
1027
1027
|
const r = Pr(e);
|
|
1028
|
-
return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) :
|
|
1028
|
+
return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : _(r, t.length);
|
|
1029
1029
|
},
|
|
1030
1030
|
// Day of week
|
|
1031
1031
|
E: function(e, t, n) {
|
|
@@ -1069,7 +1069,7 @@ const ae = {
|
|
|
1069
1069
|
return String(s);
|
|
1070
1070
|
// Padded numerical value
|
|
1071
1071
|
case "ee":
|
|
1072
|
-
return
|
|
1072
|
+
return _(s, 2);
|
|
1073
1073
|
// 1st, 2nd, ..., 7th
|
|
1074
1074
|
case "eo":
|
|
1075
1075
|
return n.ordinalNumber(s, { unit: "day" });
|
|
@@ -1108,7 +1108,7 @@ const ae = {
|
|
|
1108
1108
|
return String(s);
|
|
1109
1109
|
// Padded numerical value
|
|
1110
1110
|
case "cc":
|
|
1111
|
-
return
|
|
1111
|
+
return _(s, t.length);
|
|
1112
1112
|
// 1st, 2nd, ..., 7th
|
|
1113
1113
|
case "co":
|
|
1114
1114
|
return n.ordinalNumber(s, { unit: "day" });
|
|
@@ -1147,7 +1147,7 @@ const ae = {
|
|
|
1147
1147
|
return String(a);
|
|
1148
1148
|
// 02
|
|
1149
1149
|
case "ii":
|
|
1150
|
-
return
|
|
1150
|
+
return _(a, t.length);
|
|
1151
1151
|
// 2nd
|
|
1152
1152
|
case "io":
|
|
1153
1153
|
return n.ordinalNumber(a, { unit: "day" });
|
|
@@ -1275,12 +1275,12 @@ const ae = {
|
|
|
1275
1275
|
// Hour [0-11]
|
|
1276
1276
|
K: function(e, t, n) {
|
|
1277
1277
|
const r = e.getHours() % 12;
|
|
1278
|
-
return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) :
|
|
1278
|
+
return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : _(r, t.length);
|
|
1279
1279
|
},
|
|
1280
1280
|
// Hour [1-24]
|
|
1281
1281
|
k: function(e, t, n) {
|
|
1282
1282
|
let r = e.getHours();
|
|
1283
|
-
return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) :
|
|
1283
|
+
return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : _(r, t.length);
|
|
1284
1284
|
},
|
|
1285
1285
|
// Minute
|
|
1286
1286
|
m: function(e, t, n) {
|
|
@@ -1375,22 +1375,22 @@ const ae = {
|
|
|
1375
1375
|
// Seconds timestamp
|
|
1376
1376
|
t: function(e, t, n) {
|
|
1377
1377
|
const r = Math.trunc(+e / 1e3);
|
|
1378
|
-
return
|
|
1378
|
+
return _(r, t.length);
|
|
1379
1379
|
},
|
|
1380
1380
|
// Milliseconds timestamp
|
|
1381
1381
|
T: function(e, t, n) {
|
|
1382
|
-
return
|
|
1382
|
+
return _(+e, t.length);
|
|
1383
1383
|
}
|
|
1384
1384
|
};
|
|
1385
1385
|
function gt(e, t = "") {
|
|
1386
1386
|
const n = e > 0 ? "-" : "+", r = Math.abs(e), a = Math.trunc(r / 60), s = r % 60;
|
|
1387
|
-
return s === 0 ? n + String(a) : n + String(a) + t +
|
|
1387
|
+
return s === 0 ? n + String(a) : n + String(a) + t + _(s, 2);
|
|
1388
1388
|
}
|
|
1389
1389
|
function bt(e, t) {
|
|
1390
|
-
return e % 60 === 0 ? (e > 0 ? "-" : "+") +
|
|
1390
|
+
return e % 60 === 0 ? (e > 0 ? "-" : "+") + _(Math.abs(e) / 60, 2) : se(e, t);
|
|
1391
1391
|
}
|
|
1392
1392
|
function se(e, t = "") {
|
|
1393
|
-
const n = e > 0 ? "-" : "+", r = Math.abs(e), a =
|
|
1393
|
+
const n = e > 0 ? "-" : "+", r = Math.abs(e), a = _(Math.trunc(r / 60), 2), s = _(r % 60, 2);
|
|
1394
1394
|
return n + a + t + s;
|
|
1395
1395
|
}
|
|
1396
1396
|
const Mt = (e, t) => {
|
|
@@ -1607,7 +1607,7 @@ class j {
|
|
|
1607
1607
|
return (s = this.overrides) != null && s.addDays ? this.overrides.addDays(r, a) : xt(r, a);
|
|
1608
1608
|
}, this.addMonths = (r, a) => {
|
|
1609
1609
|
var s;
|
|
1610
|
-
return (s = this.overrides) != null && s.addMonths ? this.overrides.addMonths(r, a) :
|
|
1610
|
+
return (s = this.overrides) != null && s.addMonths ? this.overrides.addMonths(r, a) : Yt(r, a);
|
|
1611
1611
|
}, this.addWeeks = (r, a) => {
|
|
1612
1612
|
var s;
|
|
1613
1613
|
return (s = this.overrides) != null && s.addWeeks ? this.overrides.addWeeks(r, a) : $n(r, a);
|
|
@@ -1905,7 +1905,7 @@ function va(e) {
|
|
|
1905
1905
|
function ka(e) {
|
|
1906
1906
|
return y.createElement("div", { ...e });
|
|
1907
1907
|
}
|
|
1908
|
-
const jt =
|
|
1908
|
+
const jt = _n(void 0);
|
|
1909
1909
|
function ke() {
|
|
1910
1910
|
const e = Tn(jt);
|
|
1911
1911
|
if (e === void 0)
|
|
@@ -1959,10 +1959,10 @@ function xa(e) {
|
|
|
1959
1959
|
const { week: t, ...n } = e;
|
|
1960
1960
|
return y.createElement("tr", { ...n });
|
|
1961
1961
|
}
|
|
1962
|
-
function
|
|
1962
|
+
function Ya(e) {
|
|
1963
1963
|
return y.createElement("th", { ...e });
|
|
1964
1964
|
}
|
|
1965
|
-
function
|
|
1965
|
+
function _a(e) {
|
|
1966
1966
|
return y.createElement(
|
|
1967
1967
|
"thead",
|
|
1968
1968
|
{ "aria-hidden": !0 },
|
|
@@ -2007,8 +2007,8 @@ const Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2007
2007
|
Week: xa,
|
|
2008
2008
|
WeekNumber: Ta,
|
|
2009
2009
|
WeekNumberHeader: Pa,
|
|
2010
|
-
Weekday:
|
|
2011
|
-
Weekdays:
|
|
2010
|
+
Weekday: Ya,
|
|
2011
|
+
Weekdays: _a,
|
|
2012
2012
|
Weeks: Ea,
|
|
2013
2013
|
YearsDropdown: Fa
|
|
2014
2014
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -2020,7 +2020,7 @@ function te(e, t, n = !1, r = Z) {
|
|
|
2020
2020
|
function et(e) {
|
|
2021
2021
|
return !!(e && typeof e == "object" && "before" in e && "after" in e);
|
|
2022
2022
|
}
|
|
2023
|
-
function
|
|
2023
|
+
function _e(e) {
|
|
2024
2024
|
return !!(e && typeof e == "object" && "from" in e);
|
|
2025
2025
|
}
|
|
2026
2026
|
function tt(e) {
|
|
@@ -2044,7 +2044,7 @@ function ne(e, t, n = Z) {
|
|
|
2044
2044
|
return a(e, i);
|
|
2045
2045
|
if (Gt(i, n))
|
|
2046
2046
|
return i.some((d) => a(e, d));
|
|
2047
|
-
if (
|
|
2047
|
+
if (_e(i))
|
|
2048
2048
|
return te(i, e, !1, n);
|
|
2049
2049
|
if ($t(i))
|
|
2050
2050
|
return Array.isArray(i.dayOfWeek) ? i.dayOfWeek.includes(e.getDay()) : i.dayOfWeek === e.getDay();
|
|
@@ -2697,7 +2697,7 @@ function Dt(e, t, n = Z) {
|
|
|
2697
2697
|
}
|
|
2698
2698
|
function Ss(e, t, n = Z) {
|
|
2699
2699
|
const r = Array.isArray(t) ? t : [t];
|
|
2700
|
-
if (r.filter((i) => typeof i != "function").some((i) => typeof i == "boolean" ? i : n.isDate(i) ? te(e, i, !1, n) : Gt(i, n) ? i.some((d) => te(e, d, !1, n)) :
|
|
2700
|
+
if (r.filter((i) => typeof i != "function").some((i) => typeof i == "boolean" ? i : n.isDate(i) ? te(e, i, !1, n) : Gt(i, n) ? i.some((d) => te(e, d, !1, n)) : _e(i) ? i.from && i.to ? Dt(e, { from: i.from, to: i.to }, n) : !1 : $t(i) ? Ws(e, i.dayOfWeek, n) : et(i) ? n.isAfter(i.before, i.after) ? Dt(e, {
|
|
2701
2701
|
from: n.addDays(i.after, 1),
|
|
2702
2702
|
to: n.addDays(i.before, -1)
|
|
2703
2703
|
}, n) : ne(e.from, i, n) || ne(e.to, i, n) : tt(i) || nt(i) ? ne(e.from, i, n) || ne(e.to, i, n) : !1))
|
|
@@ -2761,7 +2761,7 @@ function ue(e, t, n) {
|
|
|
2761
2761
|
return V(e, t);
|
|
2762
2762
|
}
|
|
2763
2763
|
function Ot(e, t, n) {
|
|
2764
|
-
return typeof e == "boolean" || typeof e == "function" ? e : e instanceof Date ? ue(e, t) : Array.isArray(e) ? e.map((r) => r instanceof Date ? ue(r, t) : r) :
|
|
2764
|
+
return typeof e == "boolean" || typeof e == "function" ? e : e instanceof Date ? ue(e, t) : Array.isArray(e) ? e.map((r) => r instanceof Date ? ue(r, t) : r) : _e(e) ? {
|
|
2765
2765
|
...e,
|
|
2766
2766
|
from: e.from ? V(e.from, t) : e.from,
|
|
2767
2767
|
to: e.to ? V(e.to, t) : e.to
|
|
@@ -2789,18 +2789,18 @@ function As(e) {
|
|
|
2789
2789
|
to: t.selected.to ? V(t.selected.to, n) : t.selected.to
|
|
2790
2790
|
}), t.disabled !== void 0 && (t.disabled = Re(t.disabled, n)), t.hidden !== void 0 && (t.hidden = Re(t.hidden, n)), t.modifiers)) {
|
|
2791
2791
|
const O = {};
|
|
2792
|
-
Object.keys(t.modifiers).forEach((
|
|
2792
|
+
Object.keys(t.modifiers).forEach((Y) => {
|
|
2793
2793
|
var w;
|
|
2794
|
-
O[
|
|
2794
|
+
O[Y] = Re((w = t.modifiers) == null ? void 0 : w[Y], n);
|
|
2795
2795
|
}), t.modifiers = O;
|
|
2796
2796
|
}
|
|
2797
2797
|
const { components: r, formatters: a, labels: s, dateLib: o, locale: i, classNames: d } = Ce(() => {
|
|
2798
|
-
const O = { ...zt, ...t.locale },
|
|
2799
|
-
weekStartsOn:
|
|
2798
|
+
const O = { ...zt, ...t.locale }, Y = t.broadcastCalendar ? 1 : t.weekStartsOn, w = t.noonSafe && t.timeZone ? os(t.timeZone, {
|
|
2799
|
+
weekStartsOn: Y,
|
|
2800
2800
|
locale: O
|
|
2801
2801
|
}) : void 0, x = t.dateLib && w ? { ...w, ...t.dateLib } : t.dateLib ?? w, z = new j({
|
|
2802
2802
|
locale: O,
|
|
2803
|
-
weekStartsOn:
|
|
2803
|
+
weekStartsOn: Y,
|
|
2804
2804
|
firstWeekContainsDate: t.firstWeekContainsDate,
|
|
2805
2805
|
useAdditionalWeekYearTokens: t.useAdditionalWeekYearTokens,
|
|
2806
2806
|
useAdditionalDayOfYearTokens: t.useAdditionalDayOfYearTokens,
|
|
@@ -2836,13 +2836,13 @@ function As(e) {
|
|
|
2836
2836
|
U && (ee(U), W == null || W(U));
|
|
2837
2837
|
}, [U, ee, W]), Ie = R(() => {
|
|
2838
2838
|
Q && (ee(Q), b == null || b(Q));
|
|
2839
|
-
}, [ee, Q, b]), gn = R((O,
|
|
2840
|
-
w.preventDefault(), w.stopPropagation(), Se(O), !
|
|
2841
|
-
}, [he, D, Se]), bn = R((O,
|
|
2842
|
-
Se(O), p == null || p(O.date,
|
|
2843
|
-
}, [p, Se]), Mn = R((O,
|
|
2844
|
-
st(), g == null || g(O.date,
|
|
2845
|
-
}, [st, g]), wn = R((O,
|
|
2839
|
+
}, [ee, Q, b]), gn = R((O, Y) => (w) => {
|
|
2840
|
+
w.preventDefault(), w.stopPropagation(), Se(O), !Y.disabled && (he == null || he(O.date, Y, w), D == null || D(O.date, Y, w));
|
|
2841
|
+
}, [he, D, Se]), bn = R((O, Y) => (w) => {
|
|
2842
|
+
Se(O), p == null || p(O.date, Y, w);
|
|
2843
|
+
}, [p, Se]), Mn = R((O, Y) => (w) => {
|
|
2844
|
+
st(), g == null || g(O.date, Y, w);
|
|
2845
|
+
}, [st, g]), wn = R((O, Y) => (w) => {
|
|
2846
2846
|
const x = {
|
|
2847
2847
|
ArrowLeft: [
|
|
2848
2848
|
w.shiftKey ? "month" : "day",
|
|
@@ -2864,16 +2864,16 @@ function As(e) {
|
|
|
2864
2864
|
const [z, C] = x[w.key];
|
|
2865
2865
|
ot(z, C);
|
|
2866
2866
|
}
|
|
2867
|
-
k == null || k(O.date,
|
|
2868
|
-
}, [ot, k, t.dir]), vn = R((O,
|
|
2869
|
-
N == null || N(O.date,
|
|
2870
|
-
}, [N]), kn = R((O,
|
|
2871
|
-
M == null || M(O.date,
|
|
2872
|
-
}, [M]), Dn = R((O) => (
|
|
2873
|
-
const w = Number(
|
|
2867
|
+
k == null || k(O.date, Y, w);
|
|
2868
|
+
}, [ot, k, t.dir]), vn = R((O, Y) => (w) => {
|
|
2869
|
+
N == null || N(O.date, Y, w);
|
|
2870
|
+
}, [N]), kn = R((O, Y) => (w) => {
|
|
2871
|
+
M == null || M(O.date, Y, w);
|
|
2872
|
+
}, [M]), Dn = R((O) => (Y) => {
|
|
2873
|
+
const w = Number(Y.target.value), x = o.setMonth(o.startOfMonth(O), w);
|
|
2874
2874
|
ee(x);
|
|
2875
|
-
}, [o, ee]), On = R((O) => (
|
|
2876
|
-
const w = Number(
|
|
2875
|
+
}, [o, ee]), On = R((O) => (Y) => {
|
|
2876
|
+
const w = Number(Y.target.value), x = o.setYear(o.startOfMonth(O), w);
|
|
2877
2877
|
ee(x);
|
|
2878
2878
|
}, [o, ee]), { className: pn, style: Wn } = Ce(() => ({
|
|
2879
2879
|
className: [d[m.Root], t.className].filter(Boolean).join(" "),
|
|
@@ -2911,23 +2911,23 @@ function As(e) {
|
|
|
2911
2911
|
r.Months,
|
|
2912
2912
|
{ className: d[m.Months], style: l == null ? void 0 : l[m.Months] },
|
|
2913
2913
|
!t.hideNavigation && !f && y.createElement(r.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: d[m.Nav], style: l == null ? void 0 : l[m.Nav], "aria-label": it(), onPreviousClick: Be, onNextClick: Ie, previousMonth: U, nextMonth: Q }),
|
|
2914
|
-
Oe.map((O,
|
|
2914
|
+
Oe.map((O, Y) => y.createElement(
|
|
2915
2915
|
r.Month,
|
|
2916
2916
|
{
|
|
2917
2917
|
"data-animated-month": t.animate ? "true" : void 0,
|
|
2918
2918
|
className: d[m.Month],
|
|
2919
2919
|
style: l == null ? void 0 : l[m.Month],
|
|
2920
2920
|
// biome-ignore lint/suspicious/noArrayIndexKey: breaks animation
|
|
2921
|
-
key:
|
|
2922
|
-
displayIndex:
|
|
2921
|
+
key: Y,
|
|
2922
|
+
displayIndex: Y,
|
|
2923
2923
|
calendarMonth: O
|
|
2924
2924
|
},
|
|
2925
|
-
f === "around" && !t.hideNavigation &&
|
|
2925
|
+
f === "around" && !t.hideNavigation && Y === 0 && y.createElement(
|
|
2926
2926
|
r.PreviousMonthButton,
|
|
2927
2927
|
{ type: "button", className: d[m.PreviousMonthButton], tabIndex: U ? void 0 : -1, "aria-disabled": U ? void 0 : !0, "aria-label": cn(U), onClick: Be, "data-animated-button": t.animate ? "true" : void 0 },
|
|
2928
2928
|
y.createElement(r.Chevron, { disabled: U ? void 0 : !0, className: d[m.Chevron], orientation: t.dir === "rtl" ? "right" : "left" })
|
|
2929
2929
|
),
|
|
2930
|
-
y.createElement(r.MonthCaption, { "data-animated-caption": t.animate ? "true" : void 0, className: d[m.MonthCaption], style: l == null ? void 0 : l[m.MonthCaption], calendarMonth: O, displayIndex:
|
|
2930
|
+
y.createElement(r.MonthCaption, { "data-animated-caption": t.animate ? "true" : void 0, className: d[m.MonthCaption], style: l == null ? void 0 : l[m.MonthCaption], calendarMonth: O, displayIndex: Y }, c != null && c.startsWith("dropdown") ? y.createElement(
|
|
2931
2931
|
r.DropdownNav,
|
|
2932
2932
|
{ className: d[m.Dropdowns], style: l == null ? void 0 : l[m.Dropdowns] },
|
|
2933
2933
|
(() => {
|
|
@@ -2947,12 +2947,12 @@ function As(e) {
|
|
|
2947
2947
|
wordWrap: "normal"
|
|
2948
2948
|
} }, S(O.date, o.options, o))
|
|
2949
2949
|
) : y.createElement(r.CaptionLabel, { className: d[m.CaptionLabel], role: "status", "aria-live": "polite" }, S(O.date, o.options, o))),
|
|
2950
|
-
f === "around" && !t.hideNavigation &&
|
|
2950
|
+
f === "around" && !t.hideNavigation && Y === h - 1 && y.createElement(
|
|
2951
2951
|
r.NextMonthButton,
|
|
2952
2952
|
{ type: "button", className: d[m.NextMonthButton], tabIndex: Q ? void 0 : -1, "aria-disabled": Q ? void 0 : !0, "aria-label": un(Q), onClick: Ie, "data-animated-button": t.animate ? "true" : void 0 },
|
|
2953
2953
|
y.createElement(r.Chevron, { disabled: Q ? void 0 : !0, className: d[m.Chevron], orientation: t.dir === "rtl" ? "left" : "right" })
|
|
2954
2954
|
),
|
|
2955
|
-
|
|
2955
|
+
Y === h - 1 && f === "after" && !t.hideNavigation && y.createElement(r.Nav, { "data-animated-nav": t.animate ? "true" : void 0, className: d[m.Nav], style: l == null ? void 0 : l[m.Nav], "aria-label": it(), onPreviousClick: Be, onNextClick: Ie, previousMonth: U, nextMonth: Q }),
|
|
2956
2956
|
y.createElement(
|
|
2957
2957
|
r.MonthGrid,
|
|
2958
2958
|
{ role: "grid", "aria-multiselectable": u === "multiple" || u === "range", "aria-label": on(O.date, o.options, o) || void 0, className: d[m.MonthGrid], style: l == null ? void 0 : l[m.MonthGrid] },
|
|
@@ -2970,12 +2970,12 @@ function As(e) {
|
|
|
2970
2970
|
}), className: d[m.WeekNumber], scope: "row", role: "rowheader" }, F(w.weekNumber, o)),
|
|
2971
2971
|
w.days.map((x) => {
|
|
2972
2972
|
const { date: z } = x, C = Fe(x);
|
|
2973
|
-
if (C[T.focused] = !C.hidden && !!(We != null && We.isEqualTo(x)), C[A.selected] = (le == null ? void 0 : le(z)) || C.selected,
|
|
2973
|
+
if (C[T.focused] = !C.hidden && !!(We != null && We.isEqualTo(x)), C[A.selected] = (le == null ? void 0 : le(z)) || C.selected, _e(pe)) {
|
|
2974
2974
|
const { from: He, to: Ae } = pe;
|
|
2975
2975
|
C[A.range_start] = !!(He && Ae && o.isSameDay(z, He)), C[A.range_end] = !!(He && Ae && o.isSameDay(z, Ae)), C[A.range_middle] = te(pe, z, !0, o);
|
|
2976
2976
|
}
|
|
2977
|
-
const Cn = rs(C, l, t.modifiersStyles), xn = Ha(C, d, t.modifiersClassNames),
|
|
2978
|
-
return y.createElement(r.Day, { key: `${x.isoDate}_${x.displayMonthId}`, day: x, modifiers: C, className: xn.join(" "), style: Cn, role: "gridcell", "aria-selected": C.selected || void 0, "aria-label":
|
|
2977
|
+
const Cn = rs(C, l, t.modifiersStyles), xn = Ha(C, d, t.modifiersClassNames), Yn = !dt && !C.hidden ? sn(z, C, o.options, o) : void 0;
|
|
2978
|
+
return y.createElement(r.Day, { key: `${x.isoDate}_${x.displayMonthId}`, day: x, modifiers: C, className: xn.join(" "), style: Cn, role: "gridcell", "aria-selected": C.selected || void 0, "aria-label": Yn, "data-day": x.isoDate, "data-month": x.outside ? x.dateMonthId : void 0, "data-selected": C.selected || void 0, "data-disabled": C.disabled || void 0, "data-hidden": C.hidden || void 0, "data-outside": x.outside || void 0, "data-focused": C.focused || void 0, "data-today": C.today || void 0 }, !C.hidden && dt ? y.createElement(r.DayButton, { className: d[m.DayButton], style: l == null ? void 0 : l[m.DayButton], type: "button", day: x, modifiers: C, disabled: !C.focused && C.disabled || void 0, "aria-disabled": C.focused && C.disabled || void 0, tabIndex: rn(x) ? 0 : -1, "aria-label": an(z, C, o.options, o), onClick: gn(x, C), onBlur: Mn(x, C), onFocus: bn(x, C), onKeyDown: wn(x, C), onMouseEnter: vn(x, C), onMouseLeave: kn(x, C) }, E(z, o.options, o)) : !C.hidden && E(x.date, o.options, o));
|
|
2979
2979
|
})
|
|
2980
2980
|
)))
|
|
2981
2981
|
)
|
|
@@ -2987,25 +2987,25 @@ function As(e) {
|
|
|
2987
2987
|
}
|
|
2988
2988
|
const pt = {
|
|
2989
2989
|
en: () => Promise.resolve().then(() => Tr).then((e) => e.enUS),
|
|
2990
|
-
it: () => import("./it-
|
|
2991
|
-
de: () => import("./de-
|
|
2992
|
-
es: () => import("./es-
|
|
2993
|
-
fr: () => import("./fr-
|
|
2994
|
-
pt: () => import("./pt-
|
|
2995
|
-
nl: () => import("./nl-
|
|
2996
|
-
pl: () => import("./pl-
|
|
2997
|
-
ro: () => import("./ro-
|
|
2998
|
-
ru: () => import("./ru-
|
|
2999
|
-
sv: () => import("./sv-
|
|
3000
|
-
el: () => import("./el-
|
|
3001
|
-
ja: () => import("./ja-
|
|
3002
|
-
zh: () => import("./zh-CN-
|
|
3003
|
-
hi: () => import("./hi-
|
|
3004
|
-
ar: () => import("./ar-
|
|
3005
|
-
tr: () => import("./tr-
|
|
3006
|
-
sq: () => import("./sq-
|
|
2990
|
+
it: () => import("./it-mt1V2DFS.js").then((e) => e.it),
|
|
2991
|
+
de: () => import("./de-DETDHQ0o.js").then((e) => e.de),
|
|
2992
|
+
es: () => import("./es-Dpo7Olwo.js").then((e) => e.es),
|
|
2993
|
+
fr: () => import("./fr-CgD4Jvtq.js").then((e) => e.fr),
|
|
2994
|
+
pt: () => import("./pt-B3UKvhHp.js").then((e) => e.pt),
|
|
2995
|
+
nl: () => import("./nl-C6Y0QXnm.js").then((e) => e.nl),
|
|
2996
|
+
pl: () => import("./pl-BdazJAOp.js").then((e) => e.pl),
|
|
2997
|
+
ro: () => import("./ro-DVTEQpPK.js").then((e) => e.ro),
|
|
2998
|
+
ru: () => import("./ru-C-Mp40SC.js").then((e) => e.ru),
|
|
2999
|
+
sv: () => import("./sv-gQWo_19z.js").then((e) => e.sv),
|
|
3000
|
+
el: () => import("./el-HV3jOI0z.js").then((e) => e.el),
|
|
3001
|
+
ja: () => import("./ja-CbOHn2TO.js").then((e) => e.ja),
|
|
3002
|
+
zh: () => import("./zh-CN-DkVN4vsB.js").then((e) => e.zhCN),
|
|
3003
|
+
hi: () => import("./hi-Bf8CAP6b.js").then((e) => e.hi),
|
|
3004
|
+
ar: () => import("./ar-B1GhtlBP.js").then((e) => e.ar),
|
|
3005
|
+
tr: () => import("./tr-Btm6M3Km.js").then((e) => e.tr),
|
|
3006
|
+
sq: () => import("./sq-DierVlw-.js").then((e) => e.sq)
|
|
3007
3007
|
};
|
|
3008
|
-
async function
|
|
3008
|
+
async function Ys(e) {
|
|
3009
3009
|
const t = e.toLowerCase().split("-")[0];
|
|
3010
3010
|
return (pt[t] ?? pt.en)();
|
|
3011
3011
|
}
|
|
@@ -3021,7 +3021,7 @@ function zs(e) {
|
|
|
3021
3021
|
return;
|
|
3022
3022
|
}
|
|
3023
3023
|
let s = !1;
|
|
3024
|
-
return
|
|
3024
|
+
return Ys(t).then((o) => {
|
|
3025
3025
|
Ve.set(t, o), s || r(o);
|
|
3026
3026
|
}), () => {
|
|
3027
3027
|
s = !0;
|
|
@@ -3060,10 +3060,11 @@ function js(e, t, n) {
|
|
|
3060
3060
|
function $s({ orientation: e }) {
|
|
3061
3061
|
return e === "left" ? /* @__PURE__ */ ft(Bn, { className: "ds:size-4 ds:rtl:-scale-x-100" }) : /* @__PURE__ */ ft(In, { className: "ds:size-4 ds:rtl:-scale-x-100" });
|
|
3062
3062
|
}
|
|
3063
|
-
const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]",
|
|
3064
|
-
// `rdp-day_button`
|
|
3065
|
-
// descendant
|
|
3066
|
-
//
|
|
3063
|
+
const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", _s = "ds:size-[var(--min-target-size)] ds:text-center ds:align-middle", Ts = [
|
|
3064
|
+
// `rdp-day_button` stays as a stable structural/test hook. Selection fills
|
|
3065
|
+
// target the descendant `button` instead: inside an arbitrary variant an
|
|
3066
|
+
// underscore reads as a SPACE, so `.rdp-day_button` would compile to the
|
|
3067
|
+
// never-matching `.rdp-day button` pair.
|
|
3067
3068
|
"rdp-day_button",
|
|
3068
3069
|
"ds:flex ds:items-center ds:justify-center",
|
|
3069
3070
|
"ds:size-[calc(var(--min-target-size)-2px)]",
|
|
@@ -3107,7 +3108,7 @@ const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", Ys = "ds
|
|
|
3107
3108
|
/* ---- Week rows + day cells ---- */
|
|
3108
3109
|
[m.Weeks]: "rdp-weeks",
|
|
3109
3110
|
[m.Week]: "rdp-week",
|
|
3110
|
-
[m.Day]: `rdp-day ${
|
|
3111
|
+
[m.Day]: `rdp-day ${_s}`,
|
|
3111
3112
|
[m.DayButton]: Ts,
|
|
3112
3113
|
[m.WeekNumber]: "rdp-week_number ds:opacity-50 ds:text-center ds:text-[length:var(--font-size-sm)] ds:size-[var(--min-target-size)]",
|
|
3113
3114
|
/* ---- Day flags ---- */
|
|
@@ -3119,11 +3120,11 @@ const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", Ys = "ds
|
|
|
3119
3120
|
The colour fill lives on the inner `.rdp-day_button` via descendant
|
|
3120
3121
|
selectors so the cell padding stays transparent and the rounded
|
|
3121
3122
|
button reads as the selected chip. */
|
|
3122
|
-
[A.selected]: "rdp-selected ds:[&
|
|
3123
|
-
[A.range_start]: `rdp-range_start ${Qe} ds:rounded-s-[var(--radius-sm)] ds:[&
|
|
3124
|
-
[A.range_middle]: `rdp-range_middle ${Qe} ds:[&
|
|
3125
|
-
[A.range_end]: `rdp-range_end ${Qe} ds:rounded-e-[var(--radius-sm)] ds:[&
|
|
3126
|
-
}, Rs =
|
|
3123
|
+
[A.selected]: "rdp-selected ds:[&_button]:bg-primary ds:[&_button]:text-primary-foreground ds:[&_button]:border-primary ds:[&_button]:hover:bg-primary-hover ds:forced-colors:[&_button]:bg-[Highlight] ds:forced-colors:[&_button]:text-[HighlightText]",
|
|
3124
|
+
[A.range_start]: `rdp-range_start ${Qe} ds:rounded-s-[var(--radius-sm)] ds:[&_button]:bg-primary ds:[&_button]:text-primary-foreground ds:[&_button]:border-primary ds:forced-colors:bg-[Highlight] ds:forced-colors:[&_button]:bg-[Highlight] ds:forced-colors:[&_button]:text-[HighlightText]`,
|
|
3125
|
+
[A.range_middle]: `rdp-range_middle ${Qe} ds:[&_button]:bg-transparent ds:[&_button]:border-transparent ds:[&_button]:text-foreground ds:[&_button]:rounded-none ds:forced-colors:bg-[Highlight] ds:forced-colors:[&_button]:text-[HighlightText]`,
|
|
3126
|
+
[A.range_end]: `rdp-range_end ${Qe} ds:rounded-e-[var(--radius-sm)] ds:[&_button]:bg-primary ds:[&_button]:text-primary-foreground ds:[&_button]:border-primary ds:forced-colors:bg-[Highlight] ds:forced-colors:[&_button]:bg-[Highlight] ds:forced-colors:[&_button]:text-[HighlightText]`
|
|
3127
|
+
}, Rs = Ye(
|
|
3127
3128
|
[
|
|
3128
3129
|
"ds:relative ds:flex ds:items-center ds:w-full",
|
|
3129
3130
|
// Soft-chrome look — matches `INPUT_SURFACE_CHROME` so the trigger
|
|
@@ -3153,7 +3154,7 @@ const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", Ys = "ds
|
|
|
3153
3154
|
tone: "default"
|
|
3154
3155
|
}
|
|
3155
3156
|
}
|
|
3156
|
-
), Vs =
|
|
3157
|
+
), Vs = Ye(
|
|
3157
3158
|
"ds:absolute ds:inset-y-0 ds:end-0 ds:flex ds:items-center ds:pointer-events-none ds:text-muted-foreground",
|
|
3158
3159
|
{
|
|
3159
3160
|
variants: {
|
|
@@ -3165,13 +3166,13 @@ const Qe = "ds:bg-[color-mix(in_srgb,var(--primary)_12%,transparent)]", Ys = "ds
|
|
|
3165
3166
|
},
|
|
3166
3167
|
defaultVariants: { size: "md" }
|
|
3167
3168
|
}
|
|
3168
|
-
), Us =
|
|
3169
|
+
), Us = Ye(
|
|
3169
3170
|
[
|
|
3170
3171
|
"ds:z-[var(--z-popover)] ds:rounded-[var(--radius-md)]",
|
|
3171
3172
|
"ds:border ds:border-border ds:bg-background ds:shadow-[var(--shadow-lg)]",
|
|
3172
3173
|
"ds:p-[var(--spacing-md)]"
|
|
3173
3174
|
].join(" ")
|
|
3174
|
-
), Qs =
|
|
3175
|
+
), Qs = Ye(
|
|
3175
3176
|
[
|
|
3176
3177
|
"ds:w-full ds:text-start ds:ps-[var(--spacing-sm)] ds:pe-[var(--spacing-sm)] ds:py-[var(--spacing-xs)]",
|
|
3177
3178
|
"ds:rounded-[var(--radius-sm)] ds:text-[length:var(--font-size-sm)] ds:text-foreground",
|
|
@@ -3216,9 +3217,9 @@ export {
|
|
|
3216
3217
|
Rs as t,
|
|
3217
3218
|
zs as u,
|
|
3218
3219
|
Mr as v,
|
|
3219
|
-
|
|
3220
|
+
Yt as w,
|
|
3220
3221
|
ta as x,
|
|
3221
3222
|
ve as y,
|
|
3222
3223
|
It as z
|
|
3223
3224
|
};
|
|
3224
|
-
//# sourceMappingURL=date-picker-variants-
|
|
3225
|
+
//# sourceMappingURL=date-picker-variants-CYQAm1Gk.js.map
|