@alfadocs/ui-kit 1.113.0 → 1.115.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-BVn3vDTg.js → actions-cell-renderer-bI27uXXC.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-BkgcGmu8.js → ai-permission-notice-C-xR2_iS.js} +2 -2
- package/dist/_chunks/{alia-sidebar-CKkg3gc8.js → alia-sidebar-BBxbMRmX.js} +2 -2
- package/dist/_chunks/{anamnesis-card-BzuluoD1.js → anamnesis-card-Ddnrdfx3.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-card-DdTRdNrQ.js → anamnesis-summary-card-S1H_AARG.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-DfDulR_c.js → anamnesis-summary-rows-BZ36ULQk.js} +5 -5
- package/dist/_chunks/{antenatal-schedule-timeline-DmsY5g28.js → antenatal-schedule-timeline-va9zx7tJ.js} +12 -12
- package/dist/_chunks/{appointment-card-FKOnH1uJ.js → appointment-card-D_-aBrx5.js} +2 -2
- package/dist/_chunks/{appointment-timeline-eOi-y8m3.js → appointment-timeline-DxLu3afn.js} +3 -3
- package/dist/_chunks/{appointment-tray-C6oBvsG5.js → appointment-tray-BhXOJpIJ.js} +2 -2
- package/dist/_chunks/{ar-C4YQVTH6.js → ar-BFvUBJ_g.js} +10 -10
- package/dist/_chunks/{balance-badge-cell-BAZynD--.js → balance-badge-cell-CXHihM22.js} +28 -27
- package/dist/_chunks/{bishop-score-CnIft4eV.js → bishop-score-QJu-sM1y.js} +2 -2
- package/dist/_chunks/{bmi-calculator-NMkXc079.js → bmi-calculator-Ba4yoR31.js} +2 -2
- package/dist/_chunks/buildMatchPatternFn-jbaE1-W0.js +68 -0
- package/dist/_chunks/{calendar-appointment-editor-dialog-CaZm5wGR.js → calendar-appointment-editor-dialog-BVzFi4hH.js} +520 -532
- package/dist/_chunks/{card-C85_Ndhb.js → card-DVO3x8E-.js} +23 -19
- package/dist/_chunks/{care-plan-card-DMjlYlFc.js → care-plan-card-BA3MfdfZ.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-3hguBW45.js → care-plan-entry-card-CUtFZ813.js} +2 -2
- package/dist/_chunks/{chart-bddVIElM.js → chart-DebrFZ6L.js} +2 -2
- package/dist/_chunks/{chat-container-baxzy8k8.js → chat-container-B83b4hut.js} +2 -2
- package/dist/_chunks/checkbox-DV4sNDeB.js +282 -0
- package/dist/_chunks/{checkbox-group-eGdv9fZc.js → checkbox-group-EfinQS1h.js} +2 -2
- package/dist/_chunks/chevrons-up-down-CgiVAHb7.js +15 -0
- package/dist/_chunks/{clinical-note-card-BVkxGiGl.js → clinical-note-card-Zz5_GEz-.js} +2 -2
- package/dist/_chunks/compact-editor-fields-cP6yh7xv.js +21 -0
- package/dist/_chunks/{connection-status-CWSU3eiq.js → connection-status-DjarASoU.js} +2 -2
- package/dist/_chunks/{contact-card-CymtNvy3.js → contact-card-Cv-Nwvac.js} +2 -2
- package/dist/_chunks/{contact-profile-card-CAL66GaH.js → contact-profile-card-DMXWBBkU.js} +2 -2
- package/dist/_chunks/{cycle-calculator-ZMDvToIm.js → cycle-calculator-C68V9rdH.js} +6 -6
- package/dist/_chunks/data-grid-tabs-CsLbIv0h.js +365 -0
- package/dist/_chunks/data-table-DXaE2Ret.js +1693 -0
- package/dist/_chunks/data-table-tabs-NYLhD8_Z.js +242 -0
- package/dist/_chunks/date-locale-OG-MupVD.js +83 -0
- package/dist/_chunks/{date-picker-CdhXlgVI.js → date-picker-DBVTj6lO.js} +21 -20
- package/dist/_chunks/{date-picker-variants-Dt6UbonG.js → date-picker-variants-J1EeAhIH.js} +601 -678
- package/dist/_chunks/date-range-panel-CBFfkgmz.js +62 -0
- package/dist/_chunks/{date-range-picker-DCADIR8o.js → date-range-picker-PTRpDkXT.js} +72 -70
- package/dist/_chunks/{date-time-picker-CT2bC7-A.js → date-time-picker-CJnqiQoT.js} +22 -21
- package/dist/_chunks/{de-B1B3PIgY.js → de-i9wbjGPc.js} +2 -2
- package/dist/_chunks/{document-preview-5xs64jME.js → document-preview-WvJKHJOP.js} +2 -2
- package/dist/_chunks/{due-date-calculator-Dr2cDa64.js → due-date-calculator-C1UA5jpS.js} +7 -7
- package/dist/_chunks/{editable-currency-cell-renderer-BUdFMh67.js → editable-currency-cell-renderer-CtlMhLai.js} +3 -3
- package/dist/_chunks/{el-iLqGpapg.js → el-Cm-rWthb.js} +20 -20
- package/dist/_chunks/{en-GB-CxPRQbD6.js → en-GB-BHn82gW8.js} +11 -10
- package/dist/_chunks/en-US-C4QKhzhA.js +46 -0
- package/dist/_chunks/{entity-summary-BbqqYqF1.js → entity-summary-DGCBQDt1.js} +2 -2
- package/dist/_chunks/{es-Bg1oqwDs.js → es-B_6Z19UA.js} +4 -4
- package/dist/_chunks/{face-scheme-e2M2HJGz.js → face-scheme-DkoxiDCh.js} +3 -3
- package/dist/_chunks/{fetal-weight-CkIwJgiH.js → fetal-weight-DmZzMRzB.js} +2 -2
- package/dist/_chunks/{file-manager-LG7B_UHB.js → file-manager-DFFExyym.js} +4 -4
- package/dist/_chunks/{finished-terminal-DXVAfhRr.js → finished-terminal-BKTFUk3S.js} +2 -2
- package/dist/_chunks/{forgot-password-form-YQVzSskq.js → forgot-password-form-Bc_UPax6.js} +2 -2
- package/dist/_chunks/format-ql5WTsYT.js +846 -0
- package/dist/_chunks/{fr-DpGxyOGI.js → fr-gTba51QO.js} +7 -7
- package/dist/_chunks/funnel-DpPV3Qkd.js +20 -0
- package/dist/_chunks/{gestational-age-calculator-Dv3IePb-.js → gestational-age-calculator-60y1RyQL.js} +8 -8
- package/dist/_chunks/grid-context-AwsLJRhH.js +46 -0
- package/dist/_chunks/{hcg-doubling-DdyUt4gz.js → hcg-doubling-CC-dbKE8.js} +7 -6
- package/dist/_chunks/{heatmap-BiwC7Gdx.js → heatmap-eXdtmEoU.js} +4 -4
- package/dist/_chunks/{hi-3Dtsksrw.js → hi-BIHq9ncx.js} +10 -10
- package/dist/_chunks/icon-button-group-C9mPK-bX.js +442 -0
- package/dist/_chunks/{index-CJE9uQmb.js → index-Bze5jCG_.js} +2 -1
- package/dist/_chunks/{isSameWeek-DyVftHWi.js → isSameWeek-CZOtDcsd.js} +2 -2
- package/dist/_chunks/{it-Cp0CA13d.js → it-DaCPWJ9Y.js} +11 -11
- package/dist/_chunks/{ja-9FOyR1lb.js → ja-BRCpkD95.js} +26 -26
- package/dist/_chunks/{kit-extensions-BOsUgWnE.js → kit-extensions-CzG0RmhQ.js} +7 -7
- package/dist/_chunks/link-cell-renderer-Ditt5mvT.js +800 -0
- package/dist/_chunks/{login-dev-card-B6-zCFq3.js → login-dev-card-CPndtWdz.js} +3 -3
- package/dist/_chunks/map-view-Bny79cWa.js +856 -0
- package/dist/_chunks/{marketplace-app-shell-C-4QF6mp.js → marketplace-app-shell-CcEHJgDd.js} +3 -3
- package/dist/_chunks/match-BATShpSX.js +336 -0
- package/dist/_chunks/motion-is-off-BvAuNV5O.js +15 -0
- package/dist/_chunks/{nl-sfx-zJgR.js → nl-5tAwYo00.js} +6 -6
- package/dist/_chunks/normalizeDates-BBNNIR-v.js +36 -0
- package/dist/_chunks/{notes-panel-Cz621DWV.js → notes-panel-BVYG_MJE.js} +4 -4
- package/dist/_chunks/{operator-hero-BELhrv9o.js → operator-hero-BWayX73x.js} +71 -62
- package/dist/_chunks/{parse-B0s7bY4d.js → parse-BLBWPIgE.js} +63 -61
- package/dist/_chunks/{parseISO-DZZ5a-zK.js → parseISO-Dl4T9peU.js} +2 -2
- package/dist/_chunks/parts-Wz2LeGnH.js +1113 -0
- package/dist/_chunks/{patient-details-RsT3SaYh.js → patient-details-DlT-vpSe.js} +3 -3
- package/dist/_chunks/{patient-field-row-D9rb-QJH.js → patient-field-row-B54uzvu-.js} +3 -3
- package/dist/_chunks/{patient-search-CxuqVUTB.js → patient-search-DDRDCjZi.js} +439 -482
- package/dist/_chunks/{patient-summary-card-BjZErlbt.js → patient-summary-card-Dy9-CzON.js} +4 -4
- package/dist/_chunks/{payment-automation-upsell-u5EuFyCY.js → payment-automation-upsell-D7yaD4u1.js} +3 -3
- package/dist/_chunks/{payment-request-card-IR83TJax.js → payment-request-card-BmV2pLoM.js} +2 -2
- package/dist/_chunks/{periodontal-chart-DqdUEFxK.js → periodontal-chart-Bjz7O4wT.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-CCkzStlm.js → periodontal-chart-card-CxEXHl2x.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-CF1d_0yl.js → periodontal-diagnosis-DnZuZD14.js} +3 -3
- package/dist/_chunks/{periodontal-risk-chart-D2zyID0H.js → periodontal-risk-chart-BBPB9wf1.js} +2 -2
- package/dist/_chunks/{permission-matrix-BJ6sg3Zp.js → permission-matrix-BXmhICzN.js} +3 -3
- package/dist/_chunks/{pl-BLh7KO-s.js → pl-mLYbfByR.js} +7 -7
- package/dist/_chunks/{practice-profile-hero-Bb4YyxHA.js → practice-profile-hero-Cw4NZp0A.js} +2 -2
- package/dist/_chunks/practice-results-BlxfBx-D.js +2181 -0
- package/dist/_chunks/{pregnancy-dating-Cs8xpZA8.js → pregnancy-dating-qZpw3zj8.js} +8 -8
- package/dist/_chunks/{pregnancy-weight-gain-B_Zldlzq.js → pregnancy-weight-gain-DQoOM8QV.js} +2 -2
- package/dist/_chunks/privacy-mask-BlJK51MD.js +78 -0
- package/dist/_chunks/privacy-mask-text-B8YfzB7L.js +7 -0
- package/dist/_chunks/{pt-CPKOrOLj.js → pt-CgaqtlD9.js} +6 -6
- package/dist/_chunks/{public-footer-DGjLTtNK.js → public-footer-CB7ruuLI.js} +295 -260
- package/dist/_chunks/{public-header.agent-_ArDD1Xr.js → public-header.agent-Db4wm6_S.js} +203 -193
- package/dist/_chunks/{radiograph-panel.agent-CXah49KM.js → radiograph-panel.agent-C1LGeX-G.js} +3 -3
- package/dist/_chunks/{registration-form-Cq5_OSIL.js → registration-form-DW-0X7S4.js} +3 -3
- package/dist/_chunks/{reserved.agent-BMkapgom.js → reserved.agent-6p3Hm4oH.js} +29 -39
- package/dist/_chunks/{reset-password-form-BVsL2fOJ.js → reset-password-form-C93SH0Tx.js} +2 -2
- package/dist/_chunks/{reviews-panel-B03auSpQ.js → reviews-panel-CfJPEkH7.js} +2 -2
- package/dist/_chunks/{rich-text-editor-BLS2cK-u.js → rich-text-editor-efaMWbYz.js} +3 -3
- package/dist/_chunks/{ro-Dc-oNqbF.js → ro-CpDg1-8v.js} +2 -2
- package/dist/_chunks/{ru-BtNpDZRR.js → ru-B7VMyjud.js} +9 -9
- package/dist/_chunks/saved-view-tabs-DLWm88Eq.js +932 -0
- package/dist/_chunks/{section-card-D1sV4Voz.js → section-card-DFr2wGal.js} +2 -2
- package/dist/_chunks/{send-registration-link-form-OgPomrZN.js → send-registration-link-form-DWxWa_cJ.js} +6 -6
- package/dist/_chunks/{sidebar-2VsPlNkZ.js → sidebar-D5DFYN5K.js} +326 -335
- package/dist/_chunks/{signed-out-frame-CPow3aCZ.js → signed-out-frame-bh7fn_Px.js} +2 -2
- package/dist/_chunks/{slot-grid-BhjaLJ0o.js → slot-grid-b4eZXokb.js} +3 -3
- package/dist/_chunks/{sq-D4c7olaV.js → sq-B0Ree_9P.js} +2 -2
- package/dist/_chunks/{stat-BFKZV50y.js → stat-WGLdn5Vn.js} +113 -107
- package/dist/_chunks/subDays-Bsoy023P.js +8 -0
- package/dist/_chunks/{sv-Bf_dHPvh.js → sv-D9fP66O7.js} +4 -4
- package/dist/_chunks/{tag-DOZGz0fT.js → tag-BNlcEJfE.js} +70 -67
- package/dist/_chunks/{task-card-TSJjuuDe.js → task-card-BNbkwIYM.js} +2 -2
- package/dist/_chunks/{task-editor-gqWF1jI6.js → task-editor-CSa6vQ9r.js} +377 -391
- package/dist/_chunks/{task-tray-DrXfMCuf.js → task-tray-Bmi9wCHq.js} +2 -2
- package/dist/_chunks/{tasks-panel-OuIaydK5.js → tasks-panel-CVjY1d7Q.js} +2 -2
- package/dist/_chunks/{theme-toggle-Czq3K9jB.js → theme-toggle-CObX2Ffa.js} +2 -2
- package/dist/_chunks/{timeline-CKUaBZOx.js → timeline-AMqE-c2T.js} +2 -2
- package/dist/_chunks/toolbar-Bc3pjfG5.js +9907 -0
- package/dist/_chunks/{tr-xqQ6cbGY.js → tr-Bcz5LCHZ.js} +2 -2
- package/dist/_chunks/{transcript-panel-A781Pkzr.js → transcript-panel-Wr8e4Zgi.js} +2 -2
- package/dist/_chunks/{treatment-receipt-pFqWFyD_.js → treatment-receipt-BydbojdD.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-DvK7Looa.js → use-appointment-details-read-BMAiQYo6.js} +6 -6
- package/dist/_chunks/{voice-control-panel-BGiX4sqB.js → voice-control-panel-Be_c0CQ0.js} +2 -2
- package/dist/_chunks/{workflow-map-DWk-rZse.js → workflow-map-B4XkcET0.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-DILFqAVd.js → workflow-webhook-action-DNSe65yd.js} +3 -3
- package/dist/_chunks/{zh-CN-C657DBCO.js → zh-CN-B7Ek17US.js} +11 -11
- package/dist/agent-catalog.json +722 -11
- package/dist/agent-i18n/en.json +52 -4
- package/dist/components/_shared/motion-is-off.d.ts +7 -0
- package/dist/components/_shared/privacy-mask-text.d.ts +4 -0
- package/dist/components/_shared/privacy-mask.d.ts +2 -4
- package/dist/components/_shared/saved-view-tabs/saved-tab.d.ts +54 -0
- package/dist/components/_shared/saved-view-tabs/saved-view-tabs.d.ts +93 -0
- package/dist/components/_shared/saved-view-tabs/use-saved-view-tabs.d.ts +59 -0
- package/dist/components/_shared/saved-view-tabs/view-adapter.d.ts +69 -0
- package/dist/components/_shared/table-filters/calendar-day.d.ts +27 -0
- package/dist/components/_shared/table-filters/predicates.d.ts +56 -0
- package/dist/components/_shared/table-toolbar/context.d.ts +28 -0
- package/dist/components/_shared/table-toolbar/describe-filter.d.ts +42 -0
- package/dist/components/_shared/table-toolbar/export-files.d.ts +47 -0
- package/dist/components/{data-table/xlsx-export.d.ts → _shared/table-toolbar/export-xlsx.d.ts} +2 -2
- package/dist/components/_shared/table-toolbar/parts.d.ts +125 -0
- package/dist/components/_shared/table-toolbar/seam.d.ts +261 -0
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-timeline/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/booking/step-focus.d.ts +0 -6
- package/dist/components/card/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/chart/index.js +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/checkbox/checkbox.d.ts +66 -6
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +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/cycle-calculator/index.js +1 -1
- package/dist/components/data-grid/announcer.d.ts +27 -0
- package/dist/components/data-grid/body.d.ts +95 -0
- package/dist/components/data-grid/columns.d.ts +96 -0
- package/dist/components/data-grid/data-grid.agent.d.ts +2 -1
- package/dist/components/data-grid/data-grid.d.ts +11 -27
- package/dist/components/data-grid/data-grid.variants.d.ts +118 -0
- package/dist/components/data-grid/editors.d.ts +8 -0
- package/dist/components/data-grid/export-snapshot.d.ts +3 -0
- package/dist/components/data-grid/features.d.ts +56 -0
- package/dist/components/data-grid/filter-fns.d.ts +23 -0
- package/dist/components/data-grid/filters/date-range-panel.d.ts +8 -0
- package/dist/components/data-grid/filters/filter-panels.d.ts +27 -0
- package/dist/components/data-grid/filters/filter-trigger.d.ts +7 -0
- package/dist/components/data-grid/footer.d.ts +10 -0
- package/dist/components/data-grid/grid-context.d.ts +18 -0
- package/dist/components/data-grid/handle.d.ts +60 -0
- package/dist/components/data-grid/header.d.ts +12 -0
- package/dist/components/data-grid/index.d.ts +3 -0
- package/dist/components/data-grid/index.js +10 -3
- package/dist/components/data-grid/keyboard.d.ts +76 -0
- package/dist/components/data-grid/pager.d.ts +18 -0
- package/dist/components/data-grid/persistence.d.ts +60 -0
- package/dist/components/data-grid/print.d.ts +10 -0
- package/dist/components/data-grid/responsive.d.ts +36 -0
- package/dist/components/data-grid/selection.d.ts +58 -0
- package/dist/components/data-grid/state.d.ts +119 -0
- package/dist/components/data-grid/states.d.ts +34 -0
- package/dist/components/data-grid/toolbar-seam.d.ts +7 -0
- package/dist/components/data-grid/toolbar.d.ts +41 -0
- package/dist/components/data-grid/types.d.ts +1346 -0
- package/dist/components/data-grid/use-data-grid-engine.d.ts +9 -0
- package/dist/components/data-grid/virtual-rows.d.ts +43 -0
- package/dist/components/data-grid-tabs/data-grid-tabs.agent.d.ts +9 -0
- package/dist/components/data-grid-tabs/data-grid-tabs.d.ts +4 -0
- package/dist/components/data-grid-tabs/grid-view-adapter.d.ts +15 -0
- package/dist/components/data-grid-tabs/index.d.ts +5 -0
- package/dist/components/data-grid-tabs/index.js +8 -0
- package/dist/components/data-grid-tabs/types.d.ts +220 -0
- package/dist/components/data-table/ag-toolbar-seam.d.ts +35 -0
- package/dist/components/data-table/calendar-day.d.ts +4 -21
- package/dist/components/data-table/data-table.d.ts +10 -6
- package/dist/components/data-table/filters/date-range-filter.d.ts +5 -9
- package/dist/components/data-table/filters/filter-kind.d.ts +6 -0
- package/dist/components/data-table/filters/number-filter.d.ts +6 -10
- package/dist/components/data-table/filters/select-filter.d.ts +2 -4
- package/dist/components/data-table/filters/text-filter.d.ts +2 -5
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table/toolbar.d.ts +25 -21
- package/dist/components/data-table-tabs/ag-view-adapter.d.ts +17 -0
- package/dist/components/data-table-tabs/data-table-tabs.d.ts +34 -33
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts +11 -66
- 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/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/entity-summary/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/file-manager/index.js +1 -1
- package/dist/components/finished-terminal/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/heatmap/index.js +1 -1
- package/dist/components/icon-button-group/icon-button-group.d.ts +19 -1
- package/dist/components/icon-button-group/index.d.ts +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/map-view/map-view.d.ts +16 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-search/patient-search.d.ts +6 -2
- 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/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/periodontal-risk-chart/index.js +1 -1
- package/dist/components/permission-matrix/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/practice-results/practice-results.d.ts +15 -2
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-footer/public-footer.d.ts +23 -0
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/public-header/public-header.d.ts +7 -0
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/section-card/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stat/stat.d.ts +7 -0
- package/dist/components/tag/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/theme-toggle/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/host-compat.css +36 -2
- package/dist/i18n/locales/ar.d.ts +95 -0
- package/dist/i18n/locales/ar.js +98 -3
- package/dist/i18n/locales/de.d.ts +95 -0
- package/dist/i18n/locales/de.js +98 -3
- package/dist/i18n/locales/el.d.ts +95 -0
- package/dist/i18n/locales/el.js +98 -3
- package/dist/i18n/locales/en.d.ts +95 -0
- package/dist/i18n/locales/en.js +98 -2
- package/dist/i18n/locales/es.d.ts +95 -0
- package/dist/i18n/locales/es.js +98 -3
- package/dist/i18n/locales/fr.d.ts +95 -0
- package/dist/i18n/locales/fr.js +98 -3
- package/dist/i18n/locales/hi.d.ts +95 -0
- package/dist/i18n/locales/hi.js +98 -3
- package/dist/i18n/locales/it.d.ts +95 -0
- package/dist/i18n/locales/it.js +98 -3
- package/dist/i18n/locales/ja.d.ts +95 -0
- package/dist/i18n/locales/ja.js +98 -3
- package/dist/i18n/locales/nl.d.ts +95 -0
- package/dist/i18n/locales/nl.js +98 -3
- package/dist/i18n/locales/pl.d.ts +95 -0
- package/dist/i18n/locales/pl.js +98 -3
- package/dist/i18n/locales/pt.d.ts +95 -0
- package/dist/i18n/locales/pt.js +98 -3
- package/dist/i18n/locales/ro.d.ts +95 -0
- package/dist/i18n/locales/ro.js +98 -3
- package/dist/i18n/locales/ru.d.ts +95 -0
- package/dist/i18n/locales/ru.js +98 -3
- package/dist/i18n/locales/sq.d.ts +95 -0
- package/dist/i18n/locales/sq.js +98 -3
- package/dist/i18n/locales/sv.d.ts +95 -0
- package/dist/i18n/locales/sv.js +98 -3
- package/dist/i18n/locales/tr.d.ts +95 -0
- package/dist/i18n/locales/tr.js +98 -3
- package/dist/i18n/locales/zh.d.ts +95 -0
- package/dist/i18n/locales/zh.js +98 -3
- package/dist/index.js +1048 -1036
- package/dist/locales/ar.json +98 -3
- package/dist/locales/de.json +98 -3
- package/dist/locales/el.json +98 -3
- package/dist/locales/en.json +97 -2
- package/dist/locales/es.json +98 -3
- package/dist/locales/fr.json +98 -3
- package/dist/locales/hi.json +98 -3
- package/dist/locales/it.json +98 -3
- package/dist/locales/ja.json +98 -3
- package/dist/locales/nl.json +98 -3
- package/dist/locales/pl.json +98 -3
- package/dist/locales/pt.json +98 -3
- package/dist/locales/ro.json +98 -3
- package/dist/locales/ru.json +98 -3
- package/dist/locales/sq.json +98 -3
- package/dist/locales/sv.json +98 -3
- package/dist/locales/tr.json +98 -3
- package/dist/locales/zh.json +98 -3
- 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/forgot-password-form/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/reset-password-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +5 -1
- package/dist/_chunks/checkbox-a7Sh-dXb.js +0 -227
- package/dist/_chunks/data-grid.agent-CASyEAnb.js +0 -1773
- package/dist/_chunks/data-table-C9idMvs0.js +0 -2042
- package/dist/_chunks/data-table-tabs-Db7zToFD.js +0 -728
- package/dist/_chunks/format--x5jypvH.js +0 -1319
- package/dist/_chunks/icon-button-group-mXvYDaba.js +0 -427
- package/dist/_chunks/link-cell-renderer-_Fv3WEmb.js +0 -867
- package/dist/_chunks/map-view-Dn7aXZJw.js +0 -731
- package/dist/_chunks/practice-results-BByRCIuR.js +0 -1977
- package/dist/_chunks/privacy-mask-DbEKI-Jv.js +0 -81
- package/dist/_chunks/subDays-DKISP2nE.js +0 -8
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
import { jsx as S } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as D, useMemo as F, forwardRef as I } from "react";
|
|
3
|
+
import { s as q, a as V, S as L } from "./saved-view-tabs-DLWm88Eq.js";
|
|
4
|
+
const K = {
|
|
5
|
+
id: "data-table-tabs",
|
|
6
|
+
capabilities: ["select_single", "view_change"],
|
|
7
|
+
state: {
|
|
8
|
+
activeTabId: {
|
|
9
|
+
type: "string | null",
|
|
10
|
+
descriptionKey: "ui.agent.dataTableTabs.state.activeTabId",
|
|
11
|
+
description: "Id of the currently-active saved-filter tab.",
|
|
12
|
+
read: (e) => e.getActiveTabId()
|
|
13
|
+
},
|
|
14
|
+
tabs: {
|
|
15
|
+
type: "Array<{ id, label }>",
|
|
16
|
+
descriptionKey: "ui.agent.dataTableTabs.state.tabs",
|
|
17
|
+
description: "The saved-filter tabs, in strip order (ids + labels).",
|
|
18
|
+
read: (e) => e.getTabs().map(({ id: t, label: i }) => ({ id: t, label: i }))
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
actions: {
|
|
22
|
+
select_tab: {
|
|
23
|
+
// Applies a saved filter model — a view change, like apply_filter.
|
|
24
|
+
safety: "read",
|
|
25
|
+
argsType: "{ id: string }",
|
|
26
|
+
argsSchema: {
|
|
27
|
+
type: "object",
|
|
28
|
+
properties: {
|
|
29
|
+
id: { type: "string", description: "Tab id to activate." }
|
|
30
|
+
},
|
|
31
|
+
required: ["id"]
|
|
32
|
+
},
|
|
33
|
+
idempotent: !0,
|
|
34
|
+
descriptionKey: "ui.agent.dataTableTabs.actions.selectTab",
|
|
35
|
+
description: "Activate a saved-filter tab: snapshots the outgoing tab, applies the incoming filter model to the table.",
|
|
36
|
+
invoke: (e, t) => {
|
|
37
|
+
e.selectTab(t.id);
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
get_tabs: {
|
|
41
|
+
safety: "read",
|
|
42
|
+
returns: "Array<{ id: string, label: string }>",
|
|
43
|
+
returnsSchema: {
|
|
44
|
+
type: "array",
|
|
45
|
+
items: {
|
|
46
|
+
type: "object",
|
|
47
|
+
properties: {
|
|
48
|
+
id: { type: "string" },
|
|
49
|
+
label: { type: "string" }
|
|
50
|
+
},
|
|
51
|
+
required: ["id", "label"]
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
idempotent: !0,
|
|
55
|
+
descriptionKey: "ui.agent.dataTableTabs.actions.getTabs",
|
|
56
|
+
description: "Return the saved-filter tabs (ids + labels) in order.",
|
|
57
|
+
invoke: (e) => e.getTabs().map(({ id: t, label: i }) => ({ id: t, label: i }))
|
|
58
|
+
},
|
|
59
|
+
add_tab: {
|
|
60
|
+
safety: "write",
|
|
61
|
+
argsType: "{ label?: string }",
|
|
62
|
+
argsSchema: {
|
|
63
|
+
type: "object",
|
|
64
|
+
properties: {
|
|
65
|
+
label: {
|
|
66
|
+
type: "string",
|
|
67
|
+
description: "Display name for the new tab. Defaults to a numbered name."
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
required: []
|
|
71
|
+
},
|
|
72
|
+
idempotent: !1,
|
|
73
|
+
descriptionKey: "ui.agent.dataTableTabs.actions.addTab",
|
|
74
|
+
description: "Add a new tab capturing the table's current filter model, and activate it. Returns the new tab id. Does nothing when the host turned adding off (allowAdd) and returns the active tab id.",
|
|
75
|
+
returns: "string",
|
|
76
|
+
returnsSchema: { type: "string" },
|
|
77
|
+
invoke: (e, t) => e.addTab(t.label)
|
|
78
|
+
},
|
|
79
|
+
rename_tab: {
|
|
80
|
+
safety: "write",
|
|
81
|
+
argsType: "{ id: string, label: string }",
|
|
82
|
+
argsSchema: {
|
|
83
|
+
type: "object",
|
|
84
|
+
properties: {
|
|
85
|
+
id: { type: "string", description: "Tab id to rename." },
|
|
86
|
+
label: { type: "string", description: "New display name." }
|
|
87
|
+
},
|
|
88
|
+
required: ["id", "label"]
|
|
89
|
+
},
|
|
90
|
+
idempotent: !0,
|
|
91
|
+
descriptionKey: "ui.agent.dataTableTabs.actions.renameTab",
|
|
92
|
+
description: "Rename a saved-filter tab. No-op on locked tabs, empty labels, and when the host turned renaming off (allowRename).",
|
|
93
|
+
invoke: (e, t) => {
|
|
94
|
+
e.renameTab(t.id, t.label);
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
remove_tab: {
|
|
98
|
+
// Removes a saved filter permanently — destructive, do not downgrade.
|
|
99
|
+
safety: "destructive",
|
|
100
|
+
argsType: "{ id: string }",
|
|
101
|
+
argsSchema: {
|
|
102
|
+
type: "object",
|
|
103
|
+
properties: {
|
|
104
|
+
id: { type: "string", description: "Tab id to remove." }
|
|
105
|
+
},
|
|
106
|
+
required: ["id"]
|
|
107
|
+
},
|
|
108
|
+
idempotent: !0,
|
|
109
|
+
descriptionKey: "ui.agent.dataTableTabs.actions.removeTab",
|
|
110
|
+
description: "Remove a saved-filter tab (its saved filter is lost). No-op on locked tabs and the last remaining tab.",
|
|
111
|
+
invoke: (e, t) => {
|
|
112
|
+
e.removeTab(t.id);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
domHooks: {
|
|
117
|
+
root: { attr: "data-component", value: "data-table-tabs" },
|
|
118
|
+
instanceId: { attr: "data-component-id", sourceProp: "id" },
|
|
119
|
+
item: { attr: "data-tab-id" }
|
|
120
|
+
}
|
|
121
|
+
}, N = 50;
|
|
122
|
+
function j(e) {
|
|
123
|
+
let t = !1;
|
|
124
|
+
return {
|
|
125
|
+
read(i) {
|
|
126
|
+
var n;
|
|
127
|
+
const s = e();
|
|
128
|
+
if (!s) return;
|
|
129
|
+
const a = s.getFilter() ?? {};
|
|
130
|
+
if (!i.includeQuickFilter) return { filterModel: a };
|
|
131
|
+
const r = (n = s.getRawApi()) == null ? void 0 : n.getGridOption("quickFilterText");
|
|
132
|
+
return {
|
|
133
|
+
filterModel: a,
|
|
134
|
+
quickFilter: typeof r == "string" && r.length > 0 ? r : void 0
|
|
135
|
+
};
|
|
136
|
+
},
|
|
137
|
+
apply(i, s) {
|
|
138
|
+
const a = e();
|
|
139
|
+
if (a) {
|
|
140
|
+
t = !0;
|
|
141
|
+
try {
|
|
142
|
+
a.setFilter(i.filterModel ?? {});
|
|
143
|
+
const r = a.getRawApi();
|
|
144
|
+
s.includeQuickFilter && (r == null || r.setGridOption("quickFilterText", i.quickFilter ?? "")), r == null || r.onFilterChanged();
|
|
145
|
+
} finally {
|
|
146
|
+
t = !1;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
subscribe({ onChange: i, onReady: s }) {
|
|
151
|
+
let a;
|
|
152
|
+
const r = () => {
|
|
153
|
+
t || i();
|
|
154
|
+
}, n = (d) => {
|
|
155
|
+
const o = d.getRawApi();
|
|
156
|
+
return o ? (o.addEventListener("filterChanged", r), a = () => o.removeEventListener("filterChanged", r), s(), !0) : !1;
|
|
157
|
+
}, l = e();
|
|
158
|
+
if (l && n(l)) return () => a == null ? void 0 : a();
|
|
159
|
+
const b = window.setInterval(() => {
|
|
160
|
+
const d = e();
|
|
161
|
+
d && n(d) && window.clearInterval(b);
|
|
162
|
+
}, N);
|
|
163
|
+
return () => {
|
|
164
|
+
window.clearInterval(b), a == null || a();
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
const E = "data-table-tabs:";
|
|
170
|
+
function x(e) {
|
|
171
|
+
const t = D(e);
|
|
172
|
+
return t.current = e, F(() => j(() => t.current()), []);
|
|
173
|
+
}
|
|
174
|
+
const B = q, G = V, P = I(function({
|
|
175
|
+
getTable: t,
|
|
176
|
+
tabs: i,
|
|
177
|
+
defaultTabs: s,
|
|
178
|
+
onTabsChange: a,
|
|
179
|
+
activeTabId: r,
|
|
180
|
+
defaultActiveTabId: n,
|
|
181
|
+
onActiveTabChange: l,
|
|
182
|
+
persistKey: b,
|
|
183
|
+
persistActiveTab: d,
|
|
184
|
+
captureQuickFilter: o = !1,
|
|
185
|
+
applyOnActivate: c = !0,
|
|
186
|
+
allowAdd: p = !0,
|
|
187
|
+
allowRename: u = !0,
|
|
188
|
+
allowRemove: g = !0,
|
|
189
|
+
maxTabs: T = 8,
|
|
190
|
+
createTab: m,
|
|
191
|
+
makeTabId: f,
|
|
192
|
+
renameOnAdd: y = !0,
|
|
193
|
+
size: v = "md",
|
|
194
|
+
id: h,
|
|
195
|
+
className: w,
|
|
196
|
+
"aria-label": A,
|
|
197
|
+
children: _
|
|
198
|
+
}, k) {
|
|
199
|
+
const R = x(t);
|
|
200
|
+
return /* @__PURE__ */ S(
|
|
201
|
+
L,
|
|
202
|
+
{
|
|
203
|
+
ref: k,
|
|
204
|
+
componentName: "DataTableTabs",
|
|
205
|
+
rootProps: { "data-component": "data-table-tabs" },
|
|
206
|
+
agent: K,
|
|
207
|
+
adapter: R,
|
|
208
|
+
storagePrefix: E,
|
|
209
|
+
panelClassName: "ds:[&_.ag-root-wrapper]:[border-start-start-radius:0]",
|
|
210
|
+
tabs: i,
|
|
211
|
+
defaultTabs: s,
|
|
212
|
+
onTabsChange: a,
|
|
213
|
+
activeTabId: r,
|
|
214
|
+
defaultActiveTabId: n,
|
|
215
|
+
onActiveTabChange: l,
|
|
216
|
+
persistKey: b,
|
|
217
|
+
persistActiveTab: d,
|
|
218
|
+
captureQuickFilter: o,
|
|
219
|
+
applyOnActivate: c,
|
|
220
|
+
allowAdd: p,
|
|
221
|
+
allowRename: u,
|
|
222
|
+
allowRemove: g,
|
|
223
|
+
maxTabs: T,
|
|
224
|
+
createTab: m,
|
|
225
|
+
makeTabId: f,
|
|
226
|
+
renameOnAdd: y,
|
|
227
|
+
size: v,
|
|
228
|
+
id: h,
|
|
229
|
+
className: w,
|
|
230
|
+
"aria-label": A,
|
|
231
|
+
children: _
|
|
232
|
+
}
|
|
233
|
+
);
|
|
234
|
+
});
|
|
235
|
+
P.displayName = "DataTableTabs";
|
|
236
|
+
export {
|
|
237
|
+
P as D,
|
|
238
|
+
B as a,
|
|
239
|
+
G as b,
|
|
240
|
+
K as d
|
|
241
|
+
};
|
|
242
|
+
//# sourceMappingURL=data-table-tabs-NYLhD8_Z.js.map
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { useState as c, useEffect as h } from "react";
|
|
2
|
+
const n = {
|
|
3
|
+
en: () => import("./en-GB-BHn82gW8.js").then((e) => e.enGB),
|
|
4
|
+
"en-us": () => import("./en-US-C4QKhzhA.js").then((e) => e.enUS),
|
|
5
|
+
it: () => import("./it-DaCPWJ9Y.js").then((e) => e.it),
|
|
6
|
+
de: () => import("./de-i9wbjGPc.js").then((e) => e.de),
|
|
7
|
+
es: () => import("./es-B_6Z19UA.js").then((e) => e.es),
|
|
8
|
+
fr: () => import("./fr-gTba51QO.js").then((e) => e.fr),
|
|
9
|
+
pt: () => import("./pt-CgaqtlD9.js").then((e) => e.pt),
|
|
10
|
+
nl: () => import("./nl-5tAwYo00.js").then((e) => e.nl),
|
|
11
|
+
pl: () => import("./pl-mLYbfByR.js").then((e) => e.pl),
|
|
12
|
+
ro: () => import("./ro-CpDg1-8v.js").then((e) => e.ro),
|
|
13
|
+
ru: () => import("./ru-B7VMyjud.js").then((e) => e.ru),
|
|
14
|
+
sv: () => import("./sv-D9fP66O7.js").then((e) => e.sv),
|
|
15
|
+
el: () => import("./el-Cm-rWthb.js").then((e) => e.el),
|
|
16
|
+
ja: () => import("./ja-BRCpkD95.js").then((e) => e.ja),
|
|
17
|
+
zh: () => import("./zh-CN-B7Ek17US.js").then((e) => e.zhCN),
|
|
18
|
+
hi: () => import("./hi-BIHq9ncx.js").then((e) => e.hi),
|
|
19
|
+
ar: () => import("./ar-BFvUBJ_g.js").then((e) => e.ar),
|
|
20
|
+
tr: () => import("./tr-Bcz5LCHZ.js").then((e) => e.tr),
|
|
21
|
+
sq: () => import("./sq-B0Ree_9P.js").then((e) => e.sq)
|
|
22
|
+
};
|
|
23
|
+
async function i(e) {
|
|
24
|
+
const y = e.toLowerCase().replaceAll("_", "-"), t = Object.hasOwn(n, y) ? y : y.split("-")[0];
|
|
25
|
+
return (Object.hasOwn(n, t) ? n[t] : n.en)();
|
|
26
|
+
}
|
|
27
|
+
const r = /* @__PURE__ */ new Map();
|
|
28
|
+
function m(e) {
|
|
29
|
+
const y = e.toLowerCase().replaceAll("_", "-"), t = Object.hasOwn(n, y) ? y : y.split("-")[0], [d, s] = c(() => ({
|
|
30
|
+
key: t,
|
|
31
|
+
locale: r.get(t)
|
|
32
|
+
}));
|
|
33
|
+
return h(() => {
|
|
34
|
+
const M = r.get(t);
|
|
35
|
+
if (M) {
|
|
36
|
+
s({ key: t, locale: M });
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
let a = !1;
|
|
40
|
+
return i(t).then(
|
|
41
|
+
(o) => {
|
|
42
|
+
r.set(t, o), a || s({ key: t, locale: o });
|
|
43
|
+
},
|
|
44
|
+
// A failed chunk shows English instead of an endless wait. It is not
|
|
45
|
+
// cached, so the next mount retries the language.
|
|
46
|
+
() => i("en").then((o) => {
|
|
47
|
+
a || s({ key: t, locale: o });
|
|
48
|
+
})
|
|
49
|
+
), () => {
|
|
50
|
+
a = !0;
|
|
51
|
+
};
|
|
52
|
+
}, [t]), d.key === t ? d.locale : r.get(t);
|
|
53
|
+
}
|
|
54
|
+
const l = {
|
|
55
|
+
en: "dd/MM/yyyy",
|
|
56
|
+
"en-us": "MM/dd/yyyy",
|
|
57
|
+
de: "dd.MM.yyyy",
|
|
58
|
+
fr: "dd/MM/yyyy",
|
|
59
|
+
es: "dd/MM/yyyy",
|
|
60
|
+
it: "dd/MM/yyyy",
|
|
61
|
+
pt: "dd/MM/yyyy",
|
|
62
|
+
nl: "dd-MM-yyyy",
|
|
63
|
+
pl: "dd.MM.yyyy",
|
|
64
|
+
cs: "dd.MM.yyyy",
|
|
65
|
+
da: "dd.MM.yyyy",
|
|
66
|
+
sv: "yyyy-MM-dd",
|
|
67
|
+
fi: "dd.MM.yyyy",
|
|
68
|
+
nb: "dd.MM.yyyy",
|
|
69
|
+
ja: "yyyy/MM/dd",
|
|
70
|
+
zh: "yyyy/MM/dd",
|
|
71
|
+
ko: "yyyy.MM.dd",
|
|
72
|
+
ar: "dd/MM/yyyy",
|
|
73
|
+
he: "dd.MM.yyyy"
|
|
74
|
+
};
|
|
75
|
+
function u(e) {
|
|
76
|
+
const y = e.toLowerCase();
|
|
77
|
+
return l[y] ?? l[y.split("-")[0]] ?? l.en;
|
|
78
|
+
}
|
|
79
|
+
export {
|
|
80
|
+
u as g,
|
|
81
|
+
m as u
|
|
82
|
+
};
|
|
83
|
+
//# sourceMappingURL=date-locale-OG-MupVD.js.map
|
|
@@ -4,15 +4,16 @@ import { useTranslation as fe } from "react-i18next";
|
|
|
4
4
|
import * as k from "@radix-ui/react-popover";
|
|
5
5
|
import { u as me, f as ge } from "./non-modal-tab-exit-j3CPOuE3.js";
|
|
6
6
|
import { S as he } from "./spinner-CoflYlEx.js";
|
|
7
|
-
import { u as ve, c as ye,
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as
|
|
12
|
-
import {
|
|
7
|
+
import { u as ve, c as ye, i as be, a as ke, t as Ce, d as De, p as xe, D as Pe, C as Se, e as we, f as Ie } from "./date-picker-variants-J1EeAhIH.js";
|
|
8
|
+
import { u as Oe } from "./use-controllable-state-BiY4xTzM.js";
|
|
9
|
+
import { u as Fe, F as Ne, a as Ve } from "./form-field-context-DtiROUJV.js";
|
|
10
|
+
import { u as Te } from "./use-dom-value-DTxHhQAN.js";
|
|
11
|
+
import { u as Ae } from "./registry-DvAUVLHh.js";
|
|
12
|
+
import { u as Ke, g as Re } from "./date-locale-OG-MupVD.js";
|
|
13
|
+
import { f as R, i as Me, a as Le } from "./format-ql5WTsYT.js";
|
|
13
14
|
import { C as Ee } from "./calendar-days-BGWklvE-.js";
|
|
14
15
|
import { C as je } from "./check-DrFSN__t.js";
|
|
15
|
-
import { p as qe } from "./parse-
|
|
16
|
+
import { p as qe } from "./parse-BLBWPIgE.js";
|
|
16
17
|
const Be = {
|
|
17
18
|
id: "date-picker",
|
|
18
19
|
// Persisted single date (value state + set_date) → select_single + set_value,
|
|
@@ -118,22 +119,22 @@ const Be = {
|
|
|
118
119
|
"aria-label": H,
|
|
119
120
|
"aria-labelledby": W
|
|
120
121
|
}, J) => {
|
|
121
|
-
const { t: I, i18n: D } = fe("ui"), p =
|
|
122
|
+
const { t: I, i18n: D } = fe("ui"), p = Fe(), O = de(Ne) !== null, x = Ve(p, _), F = p.disabled || j, z = p.invalid ? "error" : "default", u = Ke(D.language), G = ve(), f = Re(D.language), Q = q ?? I("inputs.datePicker.placeholder", "Select date"), [U, N] = Oe({
|
|
122
123
|
value: a,
|
|
123
124
|
defaultValue: d,
|
|
124
125
|
onChange: M
|
|
125
126
|
}), n = U, [i, s] = b(!1), [X, P] = b(
|
|
126
127
|
n ? R(n, f, { locale: u }) : ""
|
|
127
128
|
), [V, h] = b(!1), [Y, S] = b(n ?? /* @__PURE__ */ new Date()), v = A(null);
|
|
128
|
-
|
|
129
|
+
Te(v, X), ce(() => {
|
|
129
130
|
n ? (P(R(n, f, { locale: u })), h(!1)) : P("");
|
|
130
131
|
}, [n, f, u]);
|
|
131
|
-
const Z =
|
|
132
|
+
const Z = ye(
|
|
132
133
|
m,
|
|
133
134
|
g,
|
|
134
135
|
c
|
|
135
136
|
), $ = K(
|
|
136
|
-
(e) => m &&
|
|
137
|
+
(e) => m && be(e, m) || g && ke(e, g) ? !0 : Array.isArray(c) ? c.some(
|
|
137
138
|
(t) => t.toDateString() === e.toDateString()
|
|
138
139
|
) : typeof c == "function" ? c(e) : !1,
|
|
139
140
|
[m, g, c]
|
|
@@ -170,7 +171,7 @@ const Be = {
|
|
|
170
171
|
}),
|
|
171
172
|
[n, o, i]
|
|
172
173
|
), T = A(null);
|
|
173
|
-
ue(J, () => T.current, []),
|
|
174
|
+
ue(J, () => T.current, []), Ae(Be, ie, x);
|
|
174
175
|
const oe = me(!0, {
|
|
175
176
|
getAnchor: ge,
|
|
176
177
|
onReturnToTrigger: () => s(!1)
|
|
@@ -203,14 +204,14 @@ const Be = {
|
|
|
203
204
|
onChange: ee,
|
|
204
205
|
onKeyDown: te,
|
|
205
206
|
onClick: () => !i && s(!0),
|
|
206
|
-
className:
|
|
207
|
+
className: Ce({
|
|
207
208
|
size: w,
|
|
208
209
|
tone: V ? "error" : z,
|
|
209
210
|
chrome: E
|
|
210
211
|
})
|
|
211
212
|
}
|
|
212
213
|
) }),
|
|
213
|
-
/* @__PURE__ */ r("span", { "aria-hidden": "true", className:
|
|
214
|
+
/* @__PURE__ */ r("span", { "aria-hidden": "true", className: De({ size: w }), children: /* @__PURE__ */ r(Ee, {}) })
|
|
214
215
|
] }),
|
|
215
216
|
/* @__PURE__ */ r(k.Portal, { children: /* @__PURE__ */ r(
|
|
216
217
|
k.Content,
|
|
@@ -219,7 +220,7 @@ const Be = {
|
|
|
219
220
|
align: "start",
|
|
220
221
|
onKeyDown: oe,
|
|
221
222
|
"data-component": "date-picker-content",
|
|
222
|
-
className:
|
|
223
|
+
className: Ie(),
|
|
223
224
|
onOpenAutoFocus: (e) => {
|
|
224
225
|
e.preventDefault();
|
|
225
226
|
},
|
|
@@ -232,7 +233,7 @@ const Be = {
|
|
|
232
233
|
type: "button",
|
|
233
234
|
"aria-pressed": t,
|
|
234
235
|
onClick: () => re(e),
|
|
235
|
-
className:
|
|
236
|
+
className: xe({ active: t }),
|
|
236
237
|
children: [
|
|
237
238
|
/* @__PURE__ */ r("span", { className: "ds:min-w-0 ds:truncate", children: e.label }),
|
|
238
239
|
t ? /* @__PURE__ */ r(
|
|
@@ -248,7 +249,7 @@ const Be = {
|
|
|
248
249
|
);
|
|
249
250
|
}) }) : null,
|
|
250
251
|
/* @__PURE__ */ r("div", { role: "region", "aria-label": se, children: u ? /* @__PURE__ */ r(
|
|
251
|
-
|
|
252
|
+
Pe,
|
|
252
253
|
{
|
|
253
254
|
mode: "single",
|
|
254
255
|
selected: n,
|
|
@@ -262,8 +263,8 @@ const Be = {
|
|
|
262
263
|
dir: D.dir(),
|
|
263
264
|
showOutsideDays: !0,
|
|
264
265
|
fixedWeeks: !0,
|
|
265
|
-
classNames:
|
|
266
|
-
components: { Chevron:
|
|
266
|
+
classNames: we,
|
|
267
|
+
components: { Chevron: Se }
|
|
267
268
|
}
|
|
268
269
|
) : /* @__PURE__ */ r(he, {}) })
|
|
269
270
|
] })
|
|
@@ -279,4 +280,4 @@ export {
|
|
|
279
280
|
_e as D,
|
|
280
281
|
Be as d
|
|
281
282
|
};
|
|
282
|
-
//# sourceMappingURL=date-picker-
|
|
283
|
+
//# sourceMappingURL=date-picker-DBVTj6lO.js.map
|