@alfadocs/ui-kit-debug 1.55.0 → 1.57.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/{ai-credits-notice-BoNJtOuE.js → ai-credits-notice-ktklr8fy.js} +2 -2
- package/dist/_chunks/{ai-credits-notice-BoNJtOuE.js.map → ai-credits-notice-ktklr8fy.js.map} +1 -1
- package/dist/_chunks/ai-permission-notice-DyuEGwAt.js +206 -0
- package/dist/_chunks/ai-permission-notice-DyuEGwAt.js.map +1 -0
- package/dist/_chunks/alia-sidebar-BBKBJCv6.js +1284 -0
- package/dist/_chunks/alia-sidebar-BBKBJCv6.js.map +1 -0
- package/dist/_chunks/{anamnesis-summary-rows-Dtw5Hpg4.js → anamnesis-summary-rows-CCQ62mMN.js} +5 -5
- package/dist/_chunks/{anamnesis-summary-rows-Dtw5Hpg4.js.map → anamnesis-summary-rows-CCQ62mMN.js.map} +1 -1
- package/dist/_chunks/{appointment-peek-BIZaDeCi.js → appointment-peek-WvNbE4JG.js} +2 -2
- package/dist/_chunks/{appointment-peek-BIZaDeCi.js.map → appointment-peek-WvNbE4JG.js.map} +1 -1
- package/dist/_chunks/{appointment-timeline-DmqYEIT9.js → appointment-timeline-Z0494xO-.js} +2 -2
- package/dist/_chunks/{appointment-timeline-DmqYEIT9.js.map → appointment-timeline-Z0494xO-.js.map} +1 -1
- package/dist/_chunks/{balance-badge-cell-zP-iN-Pd.js → balance-badge-cell-CII3SDmR.js} +3 -3
- package/dist/_chunks/{balance-badge-cell-zP-iN-Pd.js.map → balance-badge-cell-CII3SDmR.js.map} +1 -1
- package/dist/_chunks/{bmi-calculator-DTZhRhXe.js → bmi-calculator-C0UTxB7R.js} +2 -2
- package/dist/_chunks/{bmi-calculator-DTZhRhXe.js.map → bmi-calculator-C0UTxB7R.js.map} +1 -1
- package/dist/_chunks/{booking-uZO10TLK.js → booking-81WnKDsH.js} +4 -4
- package/dist/_chunks/{booking-uZO10TLK.js.map → booking-81WnKDsH.js.map} +1 -1
- package/dist/_chunks/{breadcrumb-xgVpPH2H.js → breadcrumb-Boan-5n8.js} +39 -39
- package/dist/_chunks/breadcrumb-Boan-5n8.js.map +1 -0
- package/dist/_chunks/{calculator-dialog-BRjZMWuE.js → calculator-dialog-CzQv03p0.js} +2 -2
- package/dist/_chunks/{calculator-dialog-BRjZMWuE.js.map → calculator-dialog-CzQv03p0.js.map} +1 -1
- package/dist/_chunks/{calendar-workspace-DVajSkKA.js → calendar-workspace-D5-k_9zE.js} +15 -15
- package/dist/_chunks/{calendar-workspace-DVajSkKA.js.map → calendar-workspace-D5-k_9zE.js.map} +1 -1
- package/dist/_chunks/{care-plan-card-Ddjh5Doc.js → care-plan-card-DxrRLRdW.js} +2 -2
- package/dist/_chunks/{care-plan-card-Ddjh5Doc.js.map → care-plan-card-DxrRLRdW.js.map} +1 -1
- package/dist/_chunks/{care-plan-header-BeMYMiI7.js → care-plan-header-BMwZIgHJ.js} +3 -3
- package/dist/_chunks/{care-plan-header-BeMYMiI7.js.map → care-plan-header-BMwZIgHJ.js.map} +1 -1
- package/dist/_chunks/chart-DQ5GxqgT.js +906 -0
- package/dist/_chunks/chart-DQ5GxqgT.js.map +1 -0
- package/dist/_chunks/{clinical-note-card-14JIoUR0.js → clinical-note-card-hx939bvw.js} +2 -2
- package/dist/_chunks/{clinical-note-card-14JIoUR0.js.map → clinical-note-card-hx939bvw.js.map} +1 -1
- package/dist/_chunks/{color-picker-BRQ4Y9SO.js → color-picker-BsggJovx.js} +128 -123
- package/dist/_chunks/color-picker-BsggJovx.js.map +1 -0
- package/dist/_chunks/{contact-card-CmK05vNb.js → contact-card-fHBMwEsx.js} +2 -2
- package/dist/_chunks/{contact-card-CmK05vNb.js.map → contact-card-fHBMwEsx.js.map} +1 -1
- package/dist/_chunks/{contact-profile-card-C5DbP_X3.js → contact-profile-card-CMyBYgRR.js} +3 -3
- package/dist/_chunks/{contact-profile-card-C5DbP_X3.js.map → contact-profile-card-CMyBYgRR.js.map} +1 -1
- package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js → cycle-calculator-Cww9DzIa.js} +2 -2
- package/dist/_chunks/{cycle-calculator-Dgfqr4Q4.js.map → cycle-calculator-Cww9DzIa.js.map} +1 -1
- package/dist/_chunks/dashboard-grid-DfEY2qci.js +844 -0
- package/dist/_chunks/dashboard-grid-DfEY2qci.js.map +1 -0
- package/dist/_chunks/{data-table-C6T31E33.js → data-table-fAMTeAjM.js} +2 -2
- package/dist/_chunks/{data-table-C6T31E33.js.map → data-table-fAMTeAjM.js.map} +1 -1
- package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js → data-table-tabs-CHYAAeHy.js} +2 -2
- package/dist/_chunks/{data-table-tabs-Xhg5G0gU.js.map → data-table-tabs-CHYAAeHy.js.map} +1 -1
- package/dist/_chunks/{date-picker-wRAcq2lt.js → date-picker-BSZuKo13.js} +69 -62
- package/dist/_chunks/date-picker-BSZuKo13.js.map +1 -0
- package/dist/_chunks/{date-range-picker-BOvHwWO5.js → date-range-picker-CFk-5O3R.js} +188 -177
- package/dist/_chunks/date-range-picker-CFk-5O3R.js.map +1 -0
- package/dist/_chunks/{date-time-picker-CLeLKuv9.js → date-time-picker-CjxTkblD.js} +92 -85
- package/dist/_chunks/date-time-picker-CjxTkblD.js.map +1 -0
- package/dist/_chunks/{dependent-selector-Bet3XAFj.js → dependent-selector-DgaAQc-c.js} +91 -86
- package/dist/_chunks/dependent-selector-DgaAQc-c.js.map +1 -0
- package/dist/_chunks/{dialog-D52AI4nF.js → dialog-Dn-iQ0Jp.js} +86 -69
- package/dist/_chunks/dialog-Dn-iQ0Jp.js.map +1 -0
- package/dist/_chunks/{document-preview-uoTekVR7.js → document-preview-CHGGG0l_.js} +2 -2
- package/dist/_chunks/{document-preview-uoTekVR7.js.map → document-preview-CHGGG0l_.js.map} +1 -1
- package/dist/_chunks/{due-date-calculator-DXDJbUzo.js → due-date-calculator-D_qFUiHp.js} +3 -3
- package/dist/_chunks/{due-date-calculator-DXDJbUzo.js.map → due-date-calculator-D_qFUiHp.js.map} +1 -1
- package/dist/_chunks/{entity-summary-DcB0fIiv.js → entity-summary-CWcCSThK.js} +2 -2
- package/dist/_chunks/{entity-summary-DcB0fIiv.js.map → entity-summary-CWcCSThK.js.map} +1 -1
- package/dist/_chunks/{file-manager-dIJQUZvq.js → file-manager-CFsL1KVt.js} +4 -4
- package/dist/_chunks/{file-manager-dIJQUZvq.js.map → file-manager-CFsL1KVt.js.map} +1 -1
- package/dist/_chunks/{freemium-paywall-B6ojVXq7.js → freemium-paywall-DIKuhX8b.js} +90 -86
- package/dist/_chunks/freemium-paywall-DIKuhX8b.js.map +1 -0
- package/dist/_chunks/{gestational-age-calculator-BfGpt3du.js → gestational-age-calculator-CZi43xKG.js} +3 -3
- package/dist/_chunks/{gestational-age-calculator-BfGpt3du.js.map → gestational-age-calculator-CZi43xKG.js.map} +1 -1
- package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js → hcg-doubling-Ccvh7OaU.js} +2 -2
- package/dist/_chunks/{hcg-doubling-BIYyI2Yo.js.map → hcg-doubling-Ccvh7OaU.js.map} +1 -1
- package/dist/_chunks/{header-settings-ge_3gYEq.js → header-settings-BMcCx2LC.js} +2 -2
- package/dist/_chunks/{header-settings-ge_3gYEq.js.map → header-settings-BMcCx2LC.js.map} +1 -1
- package/dist/_chunks/{heatmap-BARGZZt2.js → heatmap-BEeOThkW.js} +2 -2
- package/dist/_chunks/{heatmap-BARGZZt2.js.map → heatmap-BEeOThkW.js.map} +1 -1
- package/dist/_chunks/{help-me-write-templates-B7L3zGsE.js → help-me-write-templates-BUoYGo6f.js} +2 -2
- package/dist/_chunks/help-me-write-templates-BUoYGo6f.js.map +1 -0
- package/dist/_chunks/{hover-card-BnTueNS2.js → hover-card-U_ZYoh1n.js} +201 -187
- package/dist/_chunks/hover-card-U_ZYoh1n.js.map +1 -0
- package/dist/_chunks/{icon-picker-DWrqmI1c.js → icon-picker-C86lQTIA.js} +2 -2
- package/dist/_chunks/{icon-picker-DWrqmI1c.js.map → icon-picker-C86lQTIA.js.map} +1 -1
- package/dist/_chunks/{info-tip-B0jmIt6M.js → info-tip-CJpNpzZe.js} +2 -2
- package/dist/_chunks/{info-tip-B0jmIt6M.js.map → info-tip-CJpNpzZe.js.map} +1 -1
- package/dist/_chunks/{key-value-pair-Ax8IJr1M.js → key-value-pair-BNNITp6S.js} +25 -19
- package/dist/_chunks/key-value-pair-BNNITp6S.js.map +1 -0
- package/dist/_chunks/{kit-extensions-C9-v8Dih.js → kit-extensions-DYVxWcqv.js} +5 -5
- package/dist/_chunks/{kit-extensions-C9-v8Dih.js.map → kit-extensions-DYVxWcqv.js.map} +1 -1
- package/dist/_chunks/{link-cell-renderer-DlBVPMTi.js → link-cell-renderer-CxW_oLa5.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-DlBVPMTi.js.map → link-cell-renderer-CxW_oLa5.js.map} +1 -1
- package/dist/_chunks/link-gRw3NtOt.js +137 -0
- package/dist/_chunks/link-gRw3NtOt.js.map +1 -0
- package/dist/_chunks/{locale-picker-DfNSdOpy.js → locale-picker-BGfrZyTw.js} +2 -2
- package/dist/_chunks/{locale-picker-DfNSdOpy.js.map → locale-picker-BGfrZyTw.js.map} +1 -1
- package/dist/_chunks/{marketplace-app-shell-Dcx-JEjg.js → marketplace-app-shell-BZcA9Z06.js} +143 -129
- package/dist/_chunks/marketplace-app-shell-BZcA9Z06.js.map +1 -0
- package/dist/_chunks/{message-tray-BB95DA82.js → message-tray-QKQutwxj.js} +76 -69
- package/dist/_chunks/message-tray-QKQutwxj.js.map +1 -0
- package/dist/_chunks/{nav-grid-BqCPH8sm.js → nav-grid-Byx8PxuB.js} +2 -2
- package/dist/_chunks/{nav-grid-BqCPH8sm.js.map → nav-grid-Byx8PxuB.js.map} +1 -1
- package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js +89 -0
- package/dist/_chunks/non-modal-tab-exit-j3CPOuE3.js.map +1 -0
- package/dist/_chunks/{note-attachment-I1NLoeRZ.js → note-attachment-Bt2cddsZ.js} +2 -2
- package/dist/_chunks/{note-attachment-I1NLoeRZ.js.map → note-attachment-Bt2cddsZ.js.map} +1 -1
- package/dist/_chunks/{note-timeline-CsY8YOE7.js → note-timeline-CX9nAgAR.js} +2 -2
- package/dist/_chunks/{note-timeline-CsY8YOE7.js.map → note-timeline-CX9nAgAR.js.map} +1 -1
- package/dist/_chunks/{notes-panel-I8ntrrUW.js → notes-panel-Cm4pttpl.js} +4 -4
- package/dist/_chunks/{notes-panel-I8ntrrUW.js.map → notes-panel-Cm4pttpl.js.map} +1 -1
- package/dist/_chunks/{notification-tray-__sJXnsz.js → notification-tray-C5VtbGjd.js} +83 -76
- package/dist/_chunks/notification-tray-C5VtbGjd.js.map +1 -0
- package/dist/_chunks/{patient-details-DsTtjpuX.js → patient-details-99kEdtc5.js} +2 -2
- package/dist/_chunks/{patient-details-DsTtjpuX.js.map → patient-details-99kEdtc5.js.map} +1 -1
- package/dist/_chunks/{patient-field-row-BvZ9luz-.js → patient-field-row-DkxY13T6.js} +5 -5
- package/dist/_chunks/{patient-field-row-BvZ9luz-.js.map → patient-field-row-DkxY13T6.js.map} +1 -1
- package/dist/_chunks/{patient-summary-card-3dspc2tR.js → patient-summary-card-opdyfeW2.js} +10 -6
- package/dist/_chunks/{patient-summary-card-3dspc2tR.js.map → patient-summary-card-opdyfeW2.js.map} +1 -1
- package/dist/_chunks/{payment-automation-upsell-DEUfM7EU.js → payment-automation-upsell-DiHovmUL.js} +2 -2
- package/dist/_chunks/{payment-automation-upsell-DEUfM7EU.js.map → payment-automation-upsell-DiHovmUL.js.map} +1 -1
- package/dist/_chunks/{payment-request-card-DAGqh9Yx.js → payment-request-card-DAniJNLX.js} +3 -3
- package/dist/_chunks/{payment-request-card-DAGqh9Yx.js.map → payment-request-card-DAniJNLX.js.map} +1 -1
- package/dist/_chunks/{pdf-viewer-C3minW5b.js → pdf-viewer-CNQxa4tv.js} +396 -391
- package/dist/_chunks/pdf-viewer-CNQxa4tv.js.map +1 -0
- package/dist/_chunks/{periodontal-chart-BqwLxy2m.js → periodontal-chart-DD5C0M3l.js} +2 -2
- package/dist/_chunks/{periodontal-chart-BqwLxy2m.js.map → periodontal-chart-DD5C0M3l.js.map} +1 -1
- package/dist/_chunks/{periodontal-chart-card-CWZ1YM1h.js → periodontal-chart-card-CxdXvsPU.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-CWZ1YM1h.js.map → periodontal-chart-card-CxdXvsPU.js.map} +1 -1
- package/dist/_chunks/{periodontal-diagnosis-C9IuvLId.js → periodontal-diagnosis-D-PJv7KS.js} +2 -2
- package/dist/_chunks/{periodontal-diagnosis-C9IuvLId.js.map → periodontal-diagnosis-D-PJv7KS.js.map} +1 -1
- package/dist/_chunks/{phone-input-DxkHMYmu.js → phone-input-O9camxkq.js} +156 -151
- package/dist/_chunks/phone-input-O9camxkq.js.map +1 -0
- package/dist/_chunks/popover-BG75rYjN.js +367 -0
- package/dist/_chunks/popover-BG75rYjN.js.map +1 -0
- package/dist/_chunks/{position-grid-D2D5_Tze.js → position-grid-CBB88EaH.js} +38 -36
- package/dist/_chunks/position-grid-CBB88EaH.js.map +1 -0
- package/dist/_chunks/{practice-results-DxOgbPDy.js → practice-results-CfRkjzsI.js} +2 -2
- package/dist/_chunks/{practice-results-DxOgbPDy.js.map → practice-results-CfRkjzsI.js.map} +1 -1
- package/dist/_chunks/{pregnancy-dating-R3q5n1Wh.js → pregnancy-dating-BFzv9g1N.js} +3 -3
- package/dist/_chunks/{pregnancy-dating-R3q5n1Wh.js.map → pregnancy-dating-BFzv9g1N.js.map} +1 -1
- package/dist/_chunks/{pregnancy-weight-gain-DwmNklDU.js → pregnancy-weight-gain-CUUrBTBo.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-DwmNklDU.js.map → pregnancy-weight-gain-CUUrBTBo.js.map} +1 -1
- package/dist/_chunks/{product-hub-panel-BSSiGGG4.js → product-hub-panel-DlVRK7Ue.js} +103 -96
- package/dist/_chunks/product-hub-panel-DlVRK7Ue.js.map +1 -0
- package/dist/_chunks/{public-footer-CxpG6J1M.js → public-footer-ZWTEG1Rq.js} +2 -2
- package/dist/_chunks/{public-footer-CxpG6J1M.js.map → public-footer-ZWTEG1Rq.js.map} +1 -1
- package/dist/_chunks/{public-header.agent-BWusjxY8.js → public-header.agent-BctevbuY.js} +2 -2
- package/dist/_chunks/{public-header.agent-BWusjxY8.js.map → public-header.agent-BctevbuY.js.map} +1 -1
- package/dist/_chunks/{radio-group-BT97ty7o.js → radio-group-DicxWJXP.js} +111 -106
- package/dist/_chunks/radio-group-DicxWJXP.js.map +1 -0
- package/dist/_chunks/{radiograph-panel.agent-BA90I3Mu.js → radiograph-panel.agent-DyqbTECc.js} +4 -4
- package/dist/_chunks/{radiograph-panel.agent-BA90I3Mu.js.map → radiograph-panel.agent-DyqbTECc.js.map} +1 -1
- package/dist/_chunks/{registration-form-D7iNqMBF.js → registration-form-BlTzYywa.js} +2 -2
- package/dist/_chunks/{registration-form-D7iNqMBF.js.map → registration-form-BlTzYywa.js.map} +1 -1
- package/dist/_chunks/{rich-text-editor-Blp4smUr.js → rich-text-editor-DTnNZ4Ff.js} +489 -484
- package/dist/_chunks/rich-text-editor-DTnNZ4Ff.js.map +1 -0
- package/dist/_chunks/{sheet-CNFW8mYZ.js → sheet-8qsiMoUI.js} +95 -79
- package/dist/_chunks/sheet-8qsiMoUI.js.map +1 -0
- package/dist/_chunks/{sign-document-B6HlyCGV.js → sign-document-D4iHS_Ug.js} +2 -2
- package/dist/_chunks/{sign-document-B6HlyCGV.js.map → sign-document-D4iHS_Ug.js.map} +1 -1
- package/dist/_chunks/{signature-request-rgMsgo-C.js → signature-request-DRuYAG5I.js} +2 -2
- package/dist/_chunks/{signature-request-rgMsgo-C.js.map → signature-request-DRuYAG5I.js.map} +1 -1
- package/dist/_chunks/{signed-out-frame-B2GTIeqA.js → signed-out-frame-AhMsNW1r.js} +2 -2
- package/dist/_chunks/{signed-out-frame-B2GTIeqA.js.map → signed-out-frame-AhMsNW1r.js.map} +1 -1
- package/dist/_chunks/{stat-51CDL4au.js → stat-DmjGfXND.js} +117 -108
- package/dist/_chunks/stat-DmjGfXND.js.map +1 -0
- package/dist/_chunks/{stepper-accordion-D7lnBGh2.js → stepper-accordion-DDTSOUHc.js} +17 -6
- package/dist/_chunks/stepper-accordion-DDTSOUHc.js.map +1 -0
- package/dist/_chunks/{task-editor-Ctxsa1BY.js → task-editor-NkcopDna.js} +4 -4
- package/dist/_chunks/{task-editor-Ctxsa1BY.js.map → task-editor-NkcopDna.js.map} +1 -1
- package/dist/_chunks/{use-appointment-details-read-DinTrRIW.js → use-appointment-details-read-CfFQNOF_.js} +5 -5
- package/dist/_chunks/{use-appointment-details-read-DinTrRIW.js.map → use-appointment-details-read-CfFQNOF_.js.map} +1 -1
- package/dist/_chunks/use-select-on-arrow-Cr4iBuW5.js +26 -0
- package/dist/_chunks/use-select-on-arrow-Cr4iBuW5.js.map +1 -0
- package/dist/_chunks/{voice-control-panel-Bg1eklL0.js → voice-control-panel-BKbgb7FM.js} +2 -2
- package/dist/_chunks/{voice-control-panel-Bg1eklL0.js.map → voice-control-panel-BKbgb7FM.js.map} +1 -1
- package/dist/_chunks/{widget-picker-D8RiWrJd.js → widget-picker-rBA7MR5P.js} +2 -2
- package/dist/_chunks/{widget-picker-D8RiWrJd.js.map → widget-picker-rBA7MR5P.js.map} +1 -1
- package/dist/_chunks/{workflow-map-D3mezmGB.js → workflow-map-Demlpy39.js} +2 -2
- package/dist/_chunks/{workflow-map-D3mezmGB.js.map → workflow-map-Demlpy39.js.map} +1 -1
- package/dist/agent-catalog.json +28 -11
- package/dist/agent-i18n/en.json +8 -7
- package/dist/components/_shared/non-modal-tab-exit.d.ts +19 -0
- package/dist/components/_shared/non-modal-tab-exit.d.ts.map +1 -0
- package/dist/components/_shared/use-apex-chart-semantics.d.ts +6 -0
- package/dist/components/_shared/use-apex-chart-semantics.d.ts.map +1 -0
- package/dist/components/_shared/use-select-on-arrow.d.ts +20 -0
- package/dist/components/_shared/use-select-on-arrow.d.ts.map +1 -0
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/ai-permission-notice.d.ts +32 -0
- package/dist/components/ai-permission-notice/ai-permission-notice.d.ts.map +1 -1
- package/dist/components/ai-permission-notice/index.d.ts +1 -1
- package/dist/components/ai-permission-notice/index.d.ts.map +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/chart/chart.d.ts +15 -10
- package/dist/components/chart/chart.d.ts.map +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/color-picker.d.ts.map +1 -1
- package/dist/components/color-picker/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/dashboard-grid/dashboard-grid-engine.d.ts +22 -0
- package/dist/components/dashboard-grid/dashboard-grid-engine.d.ts.map +1 -1
- package/dist/components/dashboard-grid/dashboard-grid.agent.d.ts.map +1 -1
- package/dist/components/dashboard-grid/dashboard-grid.d.ts +48 -4
- package/dist/components/dashboard-grid/dashboard-grid.d.ts.map +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-table/index.js +2 -2
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/date-picker/date-picker.d.ts.map +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/date-range-picker.d.ts.map +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/date-time-picker.d.ts.map +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dependent-selector/dependent-selector.d.ts.map +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/dialog/dialog.d.ts +2 -2
- package/dist/components/dialog/dialog.d.ts.map +1 -1
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/freemium-paywall/freemium-paywall.d.ts.map +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-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/hover-card/hover-card.d.ts.map +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/key-value-pair/key-value-pair.d.ts.map +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/link/link.d.ts +5 -3
- package/dist/components/link/link.d.ts.map +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/message-tray/message-tray.d.ts.map +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/notification-tray/notification-tray.d.ts.map +1 -1
- package/dist/components/patient-details/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.map +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.d.ts.map +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/phone-input/index.js +1 -1
- package/dist/components/phone-input/phone-input.d.ts.map +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/popover/popover.d.ts +1 -1
- package/dist/components/popover/popover.d.ts.map +1 -1
- package/dist/components/position-grid/index.js +1 -1
- package/dist/components/position-grid/position-grid.d.ts.map +1 -1
- 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/product-hub-tray/index.js +1 -1
- package/dist/components/product-hub-tray/product-hub-tray.d.ts.map +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radio-group/index.js +1 -1
- package/dist/components/radio-group/radio-group.d.ts.map +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/editor-toolbar.d.ts.map +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sheet/sheet.d.ts +2 -2
- package/dist/components/sheet/sheet.d.ts.map +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/stat/index.d.ts +1 -1
- package/dist/components/stat/index.d.ts.map +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stat/stat.d.ts +9 -0
- package/dist/components/stat/stat.d.ts.map +1 -1
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/stepper-accordion/stepper-accordion.d.ts.map +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/host-legacy.css +13 -2
- package/dist/i18n/locales/ar.d.ts +17 -2
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +20 -5
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +17 -2
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +20 -5
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +17 -2
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +20 -5
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +17 -2
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +20 -5
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +17 -2
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +20 -5
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +17 -2
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +20 -5
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +17 -2
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +20 -5
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +17 -2
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +20 -5
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +17 -2
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +20 -5
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +17 -2
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +20 -5
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +17 -2
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +20 -5
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +17 -2
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +20 -5
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +17 -2
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +20 -5
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +17 -2
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +20 -5
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +17 -2
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +20 -5
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +17 -2
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +20 -5
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +17 -2
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +20 -5
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +17 -2
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +20 -5
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +207 -206
- package/dist/locales/ar.json +20 -5
- package/dist/locales/de.json +20 -5
- package/dist/locales/el.json +20 -5
- package/dist/locales/en.json +20 -5
- package/dist/locales/es.json +20 -5
- package/dist/locales/fr.json +20 -5
- package/dist/locales/hi.json +20 -5
- package/dist/locales/it.json +20 -5
- package/dist/locales/ja.json +20 -5
- package/dist/locales/nl.json +20 -5
- package/dist/locales/pl.json +20 -5
- package/dist/locales/pt.json +20 -5
- package/dist/locales/ro.json +20 -5
- package/dist/locales/ru.json +20 -5
- package/dist/locales/sq.json +20 -5
- package/dist/locales/sv.json +20 -5
- package/dist/locales/tr.json +20 -5
- package/dist/locales/zh.json +20 -5
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts +10 -13
- package/dist/patterns/alia-assistant/alia-asteroid-icon.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/alia-chat-surface.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/alia-popout.d.ts +5 -3
- package/dist/patterns/alia-assistant/alia-popout.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/index.d.ts +2 -0
- package/dist/patterns/alia-assistant/index.d.ts.map +1 -1
- package/dist/patterns/alia-assistant/index.js +6 -5
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts +2 -2
- package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts.map +1 -1
- package/dist/patterns/help-me-write-templates/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 +7 -2
- package/dist/patterns/marketplace-app-shell/marketplace-app-shell.d.ts.map +1 -1
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +13 -2
- package/package.json +1 -1
- package/dist/_chunks/ai-permission-notice-5vpblPCx.js +0 -171
- package/dist/_chunks/ai-permission-notice-5vpblPCx.js.map +0 -1
- package/dist/_chunks/alia-sidebar-DS0b54Mv.js +0 -1183
- package/dist/_chunks/alia-sidebar-DS0b54Mv.js.map +0 -1
- package/dist/_chunks/breadcrumb-xgVpPH2H.js.map +0 -1
- package/dist/_chunks/chart-C2RBJERE.js +0 -705
- package/dist/_chunks/chart-C2RBJERE.js.map +0 -1
- package/dist/_chunks/color-picker-BRQ4Y9SO.js.map +0 -1
- package/dist/_chunks/dashboard-grid-SAGoyCtL.js +0 -691
- package/dist/_chunks/dashboard-grid-SAGoyCtL.js.map +0 -1
- package/dist/_chunks/date-picker-wRAcq2lt.js.map +0 -1
- package/dist/_chunks/date-range-picker-BOvHwWO5.js.map +0 -1
- package/dist/_chunks/date-time-picker-CLeLKuv9.js.map +0 -1
- package/dist/_chunks/dependent-selector-Bet3XAFj.js.map +0 -1
- package/dist/_chunks/dialog-D52AI4nF.js.map +0 -1
- package/dist/_chunks/freemium-paywall-B6ojVXq7.js.map +0 -1
- package/dist/_chunks/help-me-write-templates-B7L3zGsE.js.map +0 -1
- package/dist/_chunks/hover-card-BnTueNS2.js.map +0 -1
- package/dist/_chunks/key-value-pair-Ax8IJr1M.js.map +0 -1
- package/dist/_chunks/link-2HokYuIi.js +0 -130
- package/dist/_chunks/link-2HokYuIi.js.map +0 -1
- package/dist/_chunks/marketplace-app-shell-Dcx-JEjg.js.map +0 -1
- package/dist/_chunks/message-tray-BB95DA82.js.map +0 -1
- package/dist/_chunks/notification-tray-__sJXnsz.js.map +0 -1
- package/dist/_chunks/pdf-viewer-C3minW5b.js.map +0 -1
- package/dist/_chunks/phone-input-DxkHMYmu.js.map +0 -1
- package/dist/_chunks/popover-BI3oV3eY.js +0 -305
- package/dist/_chunks/popover-BI3oV3eY.js.map +0 -1
- package/dist/_chunks/position-grid-D2D5_Tze.js.map +0 -1
- package/dist/_chunks/product-hub-panel-BSSiGGG4.js.map +0 -1
- package/dist/_chunks/radio-group-BT97ty7o.js.map +0 -1
- package/dist/_chunks/rich-text-editor-Blp4smUr.js.map +0 -1
- package/dist/_chunks/sheet-CNFW8mYZ.js.map +0 -1
- package/dist/_chunks/stat-51CDL4au.js.map +0 -1
- package/dist/_chunks/stepper-accordion-D7lnBGh2.js.map +0 -1
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
import { jsx as r, jsxs as u, Fragment as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { useTranslation as
|
|
1
|
+
import { jsx as r, jsxs as u, Fragment as $t } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Wt, useState as b, useRef as ge, useId as M, useCallback as Be, useEffect as ze, useMemo as jt, useImperativeHandle as qt, Fragment as _t } from "react";
|
|
3
|
+
import { useTranslation as Bt } from "react-i18next";
|
|
4
4
|
import * as H from "@radix-ui/react-popover";
|
|
5
|
+
import { u as zt, f as Yt } from "./non-modal-tab-exit-j3CPOuE3.js";
|
|
5
6
|
import * as Q from "@radix-ui/react-radio-group";
|
|
6
|
-
import { S as
|
|
7
|
-
import { j as
|
|
7
|
+
import { S as Ut } from "./spinner-CoflYlEx.js";
|
|
8
|
+
import { j as Ht, k as Qt, u as Jt, b as Xt, g as Zt, c as ea, l as Ye, m as ta, s as aa, a as ra, e as sa, t as na, n as Ue, o as He, r as Qe, p as oa, q as ia, D as da, C as la, v as ca, f as ua, w as J, h as pa, d as ve, i as fa } from "./date-picker-variants-BnF-sHzq.js";
|
|
9
|
+
import { u as Je } from "./use-select-on-arrow-Cr4iBuW5.js";
|
|
8
10
|
import { u as ye } from "./use-controllable-state-BiY4xTzM.js";
|
|
9
|
-
import { u as
|
|
10
|
-
import { S as
|
|
11
|
-
import { u as
|
|
12
|
-
import { f as k, s as
|
|
13
|
-
import { s as
|
|
14
|
-
import { C as
|
|
15
|
-
import { C as
|
|
16
|
-
import { p as
|
|
17
|
-
function
|
|
18
|
-
return
|
|
11
|
+
import { u as ma, a as ga } from "./form-field-context-DtiROUJV.js";
|
|
12
|
+
import { S as va } from "./switch-D--x7n6h.js";
|
|
13
|
+
import { u as ya } from "./registry-DvAUVLHh.js";
|
|
14
|
+
import { f as k, s as Xe, j as he, b as Ze, i as ha } from "./format-D-1gTdHF.js";
|
|
15
|
+
import { s as V } from "./subDays-DlMw8Xng.js";
|
|
16
|
+
import { C as ba } from "./calendar-days-BGWklvE-.js";
|
|
17
|
+
import { C as ka } from "./check-DrFSN__t.js";
|
|
18
|
+
import { p as Ra } from "./parse-jZ-i8Xgj.js";
|
|
19
|
+
function xa(s, l, g) {
|
|
20
|
+
return Ht(s, -1, g);
|
|
19
21
|
}
|
|
20
|
-
function
|
|
21
|
-
return
|
|
22
|
+
function et(s, l, g) {
|
|
23
|
+
return Qt(s, -1, g);
|
|
22
24
|
}
|
|
23
|
-
const
|
|
25
|
+
const Pa = {
|
|
24
26
|
id: "date-range-picker",
|
|
25
27
|
capabilities: [
|
|
26
28
|
"range_pick",
|
|
@@ -212,78 +214,78 @@ const ya = {
|
|
|
212
214
|
description: "Sourced from the id prop."
|
|
213
215
|
}
|
|
214
216
|
}
|
|
215
|
-
},
|
|
217
|
+
}, tt = [
|
|
216
218
|
{ value: "day", fallback: "Day" },
|
|
217
219
|
{ value: "week", fallback: "Week" },
|
|
218
220
|
{ value: "month", fallback: "Month" },
|
|
219
221
|
{ value: "quarter", fallback: "Quarter" }
|
|
220
|
-
],
|
|
222
|
+
], Da = [
|
|
221
223
|
{ value: "previous", fallback: "Previous period" },
|
|
222
224
|
{ value: "lastYear", fallback: "Same period last year" }
|
|
223
|
-
],
|
|
225
|
+
], wa = Wt(
|
|
224
226
|
({
|
|
225
227
|
value: s,
|
|
226
228
|
defaultValue: l,
|
|
227
229
|
onChange: g,
|
|
228
230
|
commitMode: p = "auto",
|
|
229
|
-
onApply:
|
|
231
|
+
onApply: S,
|
|
230
232
|
onCancel: I,
|
|
231
|
-
showClear:
|
|
232
|
-
numberOfMonths:
|
|
233
|
+
showClear: at = !0,
|
|
234
|
+
numberOfMonths: rt,
|
|
233
235
|
compact: X = !1,
|
|
234
236
|
granularity: be,
|
|
235
237
|
defaultGranularity: ke,
|
|
236
|
-
onGranularityChange:
|
|
238
|
+
onGranularityChange: st,
|
|
237
239
|
allowedGranularities: Z,
|
|
238
240
|
compare: j = !1,
|
|
239
|
-
compareEnabled:
|
|
240
|
-
defaultCompare:
|
|
241
|
-
defaultCompareMode:
|
|
241
|
+
compareEnabled: nt,
|
|
242
|
+
defaultCompare: ot = !1,
|
|
243
|
+
defaultCompareMode: it = "previous",
|
|
242
244
|
onCompareChange: f,
|
|
243
|
-
weekStartsOn:
|
|
245
|
+
weekStartsOn: A,
|
|
244
246
|
minDate: ee,
|
|
245
247
|
maxDate: te,
|
|
246
248
|
presets: ae,
|
|
247
|
-
mergePresets:
|
|
249
|
+
mergePresets: dt = !1,
|
|
248
250
|
size: Re = "md",
|
|
249
|
-
chrome:
|
|
250
|
-
disabled:
|
|
251
|
-
placeholder:
|
|
252
|
-
className:
|
|
253
|
-
id:
|
|
254
|
-
},
|
|
255
|
-
const { t: n, i18n: re } =
|
|
251
|
+
chrome: lt = "input",
|
|
252
|
+
disabled: ct,
|
|
253
|
+
placeholder: ut,
|
|
254
|
+
className: pt,
|
|
255
|
+
id: ft
|
|
256
|
+
}, mt) => {
|
|
257
|
+
const { t: n, i18n: re } = Bt("ui"), F = ma(), se = ga(F, ft), xe = F.disabled || ct, gt = F.invalid ? "error" : "default", c = Jt(re.language), vt = Xt(), m = Zt(re.language), yt = ut ?? n("inputs.dateRangePicker.placeholder", "Select date range"), [ht, Pe] = ye({
|
|
256
258
|
value: s,
|
|
257
259
|
defaultValue: l ?? {},
|
|
258
260
|
onChange: g
|
|
259
|
-
}), i =
|
|
261
|
+
}), i = ht ?? {}, [O, R] = b(!1), [a, T] = b(i), [bt, ne] = b(i.from ?? /* @__PURE__ */ new Date()), [De, we] = b(""), [Ne, Se] = b(""), [G, L] = b(!1), [K, $] = b(!1), q = be !== void 0 || ke !== void 0, _ = Z && Z.length > 0 ? Z : void 0, Ie = _ ? tt.filter(
|
|
260
262
|
(e) => _.includes(e.value)
|
|
261
|
-
) :
|
|
263
|
+
) : tt, W = (e) => {
|
|
262
264
|
var t;
|
|
263
265
|
return !_ || _.includes(e) ? e : ((t = Ie[0]) == null ? void 0 : t.value) ?? e;
|
|
264
|
-
}, [
|
|
266
|
+
}, [kt, oe] = ye({
|
|
265
267
|
value: be,
|
|
266
268
|
defaultValue: W(ke ?? "day"),
|
|
267
|
-
onChange:
|
|
268
|
-
}), B = W(
|
|
269
|
-
value:
|
|
270
|
-
defaultValue:
|
|
269
|
+
onChange: st
|
|
270
|
+
}), B = W(kt ?? "day"), [C, z] = ye({
|
|
271
|
+
value: nt,
|
|
272
|
+
defaultValue: ot
|
|
271
273
|
// onCompareChange needs the resolved range as its 2nd arg, so it is
|
|
272
274
|
// called manually at the commit points rather than wired here.
|
|
273
|
-
}), [
|
|
274
|
-
|
|
275
|
-
), [Oe,
|
|
275
|
+
}), [D, E] = b(
|
|
276
|
+
C ?? !1
|
|
277
|
+
), [Oe, Rt] = b(it), xt = ge(null), w = ge(!1), Pt = rt ?? (X ? 1 : 2), Te = M(), Ge = M(), Ke = M(), Ce = M(), ie = M(), Dt = M(), x = Be(
|
|
276
278
|
(e) => {
|
|
277
279
|
Pe(e);
|
|
278
280
|
},
|
|
279
281
|
[Pe]
|
|
280
|
-
),
|
|
281
|
-
|
|
282
|
-
O && (T(i), E(
|
|
283
|
-
}, [O]),
|
|
284
|
-
G ||
|
|
282
|
+
), wt = ea(ee, te), Nt = (e) => (ee ? fa(e, ee) : !1) || (te ? ve(e, te) : !1);
|
|
283
|
+
ze(() => {
|
|
284
|
+
O && (T(i), E(C ?? !1), L(!1), $(!1), w.current = !1);
|
|
285
|
+
}, [O]), ze(() => {
|
|
286
|
+
G || we(
|
|
285
287
|
a.from ? k(a.from, m, { locale: c }) : ""
|
|
286
|
-
),
|
|
288
|
+
), K || Se(a.to ? k(a.to, m, { locale: c }) : "");
|
|
287
289
|
}, [a.from, a.to, m, c]);
|
|
288
290
|
const Ee = [
|
|
289
291
|
{
|
|
@@ -296,14 +298,14 @@ const ya = {
|
|
|
296
298
|
{
|
|
297
299
|
label: n("inputs.dateRangePicker.presets.yesterday", "Yesterday"),
|
|
298
300
|
range: () => {
|
|
299
|
-
const e =
|
|
301
|
+
const e = V(/* @__PURE__ */ new Date(), 1);
|
|
300
302
|
return { from: e, to: e };
|
|
301
303
|
}
|
|
302
304
|
},
|
|
303
305
|
{
|
|
304
306
|
label: n("inputs.dateRangePicker.presets.last7", "Last 7 days"),
|
|
305
307
|
range: () => ({
|
|
306
|
-
from:
|
|
308
|
+
from: V(/* @__PURE__ */ new Date(), 6),
|
|
307
309
|
to: /* @__PURE__ */ new Date()
|
|
308
310
|
})
|
|
309
311
|
},
|
|
@@ -312,112 +314,113 @@ const ya = {
|
|
|
312
314
|
range: () => ({
|
|
313
315
|
// `weekStartsOn` (when set) overrides the locale's first day; when
|
|
314
316
|
// undefined date-fns falls back to the locale.
|
|
315
|
-
from:
|
|
316
|
-
to:
|
|
317
|
+
from: Xe(/* @__PURE__ */ new Date(), { locale: c, weekStartsOn: A }),
|
|
318
|
+
to: Ye(/* @__PURE__ */ new Date(), { locale: c, weekStartsOn: A })
|
|
317
319
|
})
|
|
318
320
|
},
|
|
319
321
|
{
|
|
320
322
|
label: n("inputs.dateRangePicker.presets.lastWeek", "Last week"),
|
|
321
323
|
range: () => {
|
|
322
|
-
const e =
|
|
324
|
+
const e = xa(/* @__PURE__ */ new Date());
|
|
323
325
|
return {
|
|
324
|
-
from:
|
|
325
|
-
to:
|
|
326
|
+
from: Xe(e, { locale: c, weekStartsOn: A }),
|
|
327
|
+
to: Ye(e, { locale: c, weekStartsOn: A })
|
|
326
328
|
};
|
|
327
329
|
}
|
|
328
330
|
},
|
|
329
331
|
{
|
|
330
332
|
label: n("inputs.dateRangePicker.presets.thisMonth", "This month"),
|
|
331
333
|
range: () => ({
|
|
332
|
-
from:
|
|
333
|
-
to:
|
|
334
|
+
from: aa(/* @__PURE__ */ new Date()),
|
|
335
|
+
to: ta(/* @__PURE__ */ new Date())
|
|
334
336
|
})
|
|
335
337
|
},
|
|
336
338
|
{
|
|
337
339
|
label: n("inputs.dateRangePicker.presets.last30", "Last 30 days"),
|
|
338
340
|
range: () => ({
|
|
339
|
-
from:
|
|
341
|
+
from: V(/* @__PURE__ */ new Date(), 29),
|
|
340
342
|
to: /* @__PURE__ */ new Date()
|
|
341
343
|
})
|
|
342
344
|
}
|
|
343
|
-
], de = ae ?
|
|
345
|
+
], de = ae ? dt ? [...Ee, ...ae] : ae : Ee, Me = (() => {
|
|
344
346
|
const e = [], t = /* @__PURE__ */ new Map();
|
|
345
347
|
for (const d of de) {
|
|
346
348
|
const o = d.group ?? "";
|
|
347
349
|
t.has(o) || (t.set(o, []), e.push(o)), t.get(o).push(d);
|
|
348
350
|
}
|
|
349
351
|
return e.map((d) => ({ group: d, presets: t.get(d) }));
|
|
350
|
-
})(),
|
|
352
|
+
})(), St = Me.some((e) => e.group !== ""), y = (e, t = Oe) => {
|
|
351
353
|
if (!e.from || !e.to) return;
|
|
352
354
|
if (t === "lastYear")
|
|
353
|
-
return { from:
|
|
354
|
-
const d = he(e.to, e.from), o =
|
|
355
|
-
return { from:
|
|
356
|
-
}, Y = j &&
|
|
355
|
+
return { from: et(e.from), to: et(e.to) };
|
|
356
|
+
const d = he(e.to, e.from), o = V(e.from, 1);
|
|
357
|
+
return { from: V(o, d), to: o };
|
|
358
|
+
}, Y = j && D, Ve = j && (C ?? !1), h = Y ? y(a) : void 0, It = (() => {
|
|
357
359
|
if (!(h != null && h.from) || !h.to) return;
|
|
358
360
|
const e = h.from, t = h.to, d = {
|
|
359
361
|
compareStart: e,
|
|
360
362
|
compareEnd: t
|
|
361
363
|
};
|
|
362
|
-
return he(t, e) >= 2 && (d.compareMiddle = { from:
|
|
363
|
-
})(),
|
|
364
|
+
return he(t, e) >= 2 && (d.compareMiddle = { from: ra(e, 1), to: V(t, 1) }), d;
|
|
365
|
+
})(), Ae = (e) => {
|
|
364
366
|
const t = {};
|
|
365
367
|
return q && (t.granularity = B), Y && (t.compareRange = y(e)), t.granularity || t.compareRange ? t : void 0;
|
|
366
|
-
},
|
|
368
|
+
}, Fe = Je(), Le = Je(), Ot = (e) => {
|
|
369
|
+
Le.noteSelection();
|
|
367
370
|
const t = e;
|
|
368
|
-
|
|
369
|
-
},
|
|
371
|
+
Rt(t), Y && p === "auto" && (f == null || f(!0, y(a, t)));
|
|
372
|
+
}, Tt = (e) => {
|
|
370
373
|
E(e), p === "auto" && (z(e), f == null || f(e, e ? y(a) : void 0));
|
|
371
|
-
}, le =
|
|
374
|
+
}, le = Be(
|
|
372
375
|
(e) => {
|
|
373
376
|
T(e), p === "auto" && e.from && e.to && x(e);
|
|
374
377
|
},
|
|
375
378
|
[p, x]
|
|
376
|
-
),
|
|
377
|
-
|
|
378
|
-
},
|
|
379
|
+
), Gt = (e) => {
|
|
380
|
+
L(!1), $(!1), le({ from: e == null ? void 0 : e.from, to: e == null ? void 0 : e.to });
|
|
381
|
+
}, Kt = (e) => {
|
|
379
382
|
const t = e.range();
|
|
380
|
-
|
|
383
|
+
L(!1), $(!1), T(t), ne(t.from), p === "auto" && (x(t), S == null || S(t, Ae(t)), w.current = !0, R(!1));
|
|
381
384
|
}, ce = (e, t) => {
|
|
382
|
-
const d = e === "from" ?
|
|
385
|
+
const d = e === "from" ? L : $;
|
|
383
386
|
if (t.trim() === "") {
|
|
384
387
|
d(!1), le(
|
|
385
388
|
e === "from" ? { from: void 0, to: a.to } : { from: a.from, to: void 0 }
|
|
386
389
|
);
|
|
387
390
|
return;
|
|
388
391
|
}
|
|
389
|
-
const o =
|
|
390
|
-
if (!
|
|
392
|
+
const o = Ra(t, m, /* @__PURE__ */ new Date(), { locale: c });
|
|
393
|
+
if (!ha(o) || Nt(o)) {
|
|
391
394
|
d(!0);
|
|
392
395
|
return;
|
|
393
396
|
}
|
|
394
397
|
d(!1);
|
|
395
398
|
let P;
|
|
396
399
|
e === "from" ? P = a.to && ve(o, a.to) ? { from: o, to: void 0 } : { from: o, to: a.to } : P = a.from && ve(a.from, o) ? { from: o, to: void 0 } : { from: a.from, to: o }, ne(o), le(P);
|
|
397
|
-
},
|
|
398
|
-
t.key === "Enter" && (t.preventDefault(), ce(e, e === "from" ?
|
|
399
|
-
}, Ot = () => {
|
|
400
|
-
T({}), A(!1), $(!1), p === "auto" && x({});
|
|
401
|
-
}, Tt = !!(a.from && a.to), Gt = !a.from && !a.to, Ae = (Tt || Gt) && !G && !C, ue = () => {
|
|
402
|
-
Ae && (x(a), j && N !== (V ?? !1) && (z(N), f == null || f(
|
|
403
|
-
N,
|
|
404
|
-
N ? y(a) : void 0
|
|
405
|
-
)), w == null || w(a, Ke(a))), D.current = !0, R(!1);
|
|
400
|
+
}, $e = (e) => (t) => {
|
|
401
|
+
t.key === "Enter" && (t.preventDefault(), ce(e, e === "from" ? De : Ne));
|
|
406
402
|
}, Ct = () => {
|
|
407
|
-
|
|
403
|
+
T({}), L(!1), $(!1), p === "auto" && x({});
|
|
404
|
+
}, Et = !!(a.from && a.to), Mt = !a.from && !a.to, We = (Et || Mt) && !G && !K, ue = () => {
|
|
405
|
+
We && (x(a), j && D !== (C ?? !1) && (z(D), f == null || f(
|
|
406
|
+
D,
|
|
407
|
+
D ? y(a) : void 0
|
|
408
|
+
)), S == null || S(a, Ae(a))), w.current = !0, R(!1);
|
|
409
|
+
}, Vt = () => {
|
|
410
|
+
w.current = !0, R(!1);
|
|
408
411
|
}, pe = () => {
|
|
409
|
-
p === "apply" && (I == null || I()), T(i), E(
|
|
410
|
-
},
|
|
412
|
+
p === "apply" && (I == null || I()), T(i), E(C ?? !1), R(!1);
|
|
413
|
+
}, je = (e) => {
|
|
411
414
|
if (e) {
|
|
412
|
-
|
|
415
|
+
w.current = !1, R(!0);
|
|
413
416
|
return;
|
|
414
417
|
}
|
|
415
|
-
p === "apply" && !
|
|
416
|
-
},
|
|
418
|
+
p === "apply" && !w.current && (I == null || I()), T(i), E(C ?? !1), w.current = !1, R(!1);
|
|
419
|
+
}, At = (e) => {
|
|
417
420
|
if (!i.from || !i.to) return !1;
|
|
418
421
|
const t = e.range();
|
|
419
|
-
return
|
|
420
|
-
},
|
|
422
|
+
return Ze(t.from, i.from) && Ze(t.to, i.to);
|
|
423
|
+
}, N = de.find(At), qe = (() => {
|
|
421
424
|
if (i.from && i.to) {
|
|
422
425
|
const e = k(i.from, m, { locale: c }), t = k(i.to, m, { locale: c });
|
|
423
426
|
return `${e} – ${t}`;
|
|
@@ -435,7 +438,7 @@ const ya = {
|
|
|
435
438
|
open: O,
|
|
436
439
|
getGranularity: () => q ? B : void 0,
|
|
437
440
|
setGranularity: (e) => oe(W(e)),
|
|
438
|
-
getCompareRange: () =>
|
|
441
|
+
getCompareRange: () => Ve ? y(i) : void 0,
|
|
439
442
|
// Imperative/agent path commits directly (like setRange/clear), so
|
|
440
443
|
// toggle_compare reflects in getCompareRange immediately — not a draft.
|
|
441
444
|
setCompare: (e) => {
|
|
@@ -444,7 +447,7 @@ const ya = {
|
|
|
444
447
|
e ? y(i) : void 0
|
|
445
448
|
);
|
|
446
449
|
},
|
|
447
|
-
getActivePreset: () =>
|
|
450
|
+
getActivePreset: () => N == null ? void 0 : N.label,
|
|
448
451
|
getActiveEnd: () => U,
|
|
449
452
|
apply: () => ue(),
|
|
450
453
|
cancel: () => pe()
|
|
@@ -454,19 +457,19 @@ const ya = {
|
|
|
454
457
|
open: O,
|
|
455
458
|
getGranularity: () => q ? B : void 0,
|
|
456
459
|
setGranularity: (e) => oe(W(e)),
|
|
457
|
-
getCompareRange: () =>
|
|
460
|
+
getCompareRange: () => Ve ? y(i) : void 0,
|
|
458
461
|
setCompare: (e) => {
|
|
459
462
|
E(e), z(e), f == null || f(
|
|
460
463
|
e,
|
|
461
464
|
e ? y(i) : void 0
|
|
462
465
|
);
|
|
463
466
|
},
|
|
464
|
-
getActivePreset: () =>
|
|
467
|
+
getActivePreset: () => N == null ? void 0 : N.label,
|
|
465
468
|
getActiveEnd: () => U,
|
|
466
469
|
apply: () => ue(),
|
|
467
470
|
cancel: () => pe()
|
|
468
471
|
};
|
|
469
|
-
const fe =
|
|
472
|
+
const fe = jt(
|
|
470
473
|
() => ({
|
|
471
474
|
getRange: () => v.current.currentValue,
|
|
472
475
|
setRange: (e) => x(e),
|
|
@@ -485,27 +488,30 @@ const ya = {
|
|
|
485
488
|
}),
|
|
486
489
|
[x]
|
|
487
490
|
);
|
|
488
|
-
|
|
489
|
-
const
|
|
490
|
-
|
|
491
|
+
qt(mt, () => fe, [fe]), ya(Pa, fe, se);
|
|
492
|
+
const Lt = zt(!0, {
|
|
493
|
+
getAnchor: Yt,
|
|
494
|
+
onReturnToTrigger: () => je(!1)
|
|
495
|
+
}), _e = (e) => e === "from" ? G ? "error" : U === "start" ? "active" : "default" : K ? "error" : U === "end" ? "active" : "default";
|
|
496
|
+
return /* @__PURE__ */ r(H.Root, { open: O, onOpenChange: je, children: /* @__PURE__ */ u(
|
|
491
497
|
"div",
|
|
492
498
|
{
|
|
493
|
-
className:
|
|
499
|
+
className: pt,
|
|
494
500
|
"data-component": "date-range-picker",
|
|
495
501
|
"data-component-id": se,
|
|
496
502
|
children: [
|
|
497
503
|
/* @__PURE__ */ r(H.Trigger, { asChild: !0, disabled: xe, children: /* @__PURE__ */ u(
|
|
498
504
|
"button",
|
|
499
505
|
{
|
|
500
|
-
ref:
|
|
506
|
+
ref: xt,
|
|
501
507
|
id: se,
|
|
502
508
|
type: "button",
|
|
503
509
|
disabled: xe,
|
|
504
|
-
"aria-describedby":
|
|
505
|
-
"aria-invalid":
|
|
510
|
+
"aria-describedby": F.describedBy || void 0,
|
|
511
|
+
"aria-invalid": F.invalid || void 0,
|
|
506
512
|
"aria-haspopup": "dialog",
|
|
507
513
|
"aria-expanded": O,
|
|
508
|
-
className:
|
|
514
|
+
className: na({ size: Re, tone: gt, chrome: lt }),
|
|
509
515
|
children: [
|
|
510
516
|
/* @__PURE__ */ r(
|
|
511
517
|
"span",
|
|
@@ -517,17 +523,17 @@ const ya = {
|
|
|
517
523
|
// lets the flex child shrink below its content width so
|
|
518
524
|
// `truncate` engages.
|
|
519
525
|
"ds:min-w-0 ds:flex-1 ds:truncate ds:text-start",
|
|
520
|
-
|
|
526
|
+
qe ? "ds:text-foreground" : "ds:text-muted-foreground"
|
|
521
527
|
].join(" "),
|
|
522
|
-
children:
|
|
528
|
+
children: qe || yt
|
|
523
529
|
}
|
|
524
530
|
),
|
|
525
531
|
/* @__PURE__ */ r(
|
|
526
532
|
"span",
|
|
527
533
|
{
|
|
528
534
|
"aria-hidden": "true",
|
|
529
|
-
className:
|
|
530
|
-
children: /* @__PURE__ */ r(
|
|
535
|
+
className: sa({ size: Re }),
|
|
536
|
+
children: /* @__PURE__ */ r(ba, {})
|
|
531
537
|
}
|
|
532
538
|
)
|
|
533
539
|
]
|
|
@@ -538,13 +544,14 @@ const ya = {
|
|
|
538
544
|
{
|
|
539
545
|
sideOffset: 4,
|
|
540
546
|
align: "start",
|
|
547
|
+
onKeyDown: Lt,
|
|
541
548
|
role: "dialog",
|
|
542
549
|
"aria-label": n(
|
|
543
550
|
"inputs.dateRangePicker.title",
|
|
544
551
|
"Select date range"
|
|
545
552
|
),
|
|
546
553
|
"data-component": "date-range-picker-content",
|
|
547
|
-
className:
|
|
554
|
+
className: pa(),
|
|
548
555
|
children: /* @__PURE__ */ u("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-md)]", children: [
|
|
549
556
|
/* @__PURE__ */ u("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
550
557
|
/* @__PURE__ */ u("div", { className: "ds:flex ds:items-center ds:justify-between ds:gap-[var(--spacing-sm)]", children: [
|
|
@@ -560,19 +567,22 @@ const ya = {
|
|
|
560
567
|
Q.Root,
|
|
561
568
|
{
|
|
562
569
|
value: B,
|
|
563
|
-
onValueChange: (e) =>
|
|
564
|
-
|
|
565
|
-
|
|
570
|
+
onValueChange: (e) => {
|
|
571
|
+
Fe.noteSelection(), oe(
|
|
572
|
+
W(e)
|
|
573
|
+
);
|
|
574
|
+
},
|
|
575
|
+
onKeyDown: Fe.onKeyDown,
|
|
566
576
|
"aria-label": n(
|
|
567
577
|
"inputs.dateRangePicker.granularityLabel",
|
|
568
578
|
"Granularity"
|
|
569
579
|
),
|
|
570
|
-
className:
|
|
580
|
+
className: He(),
|
|
571
581
|
children: Ie.map((e) => /* @__PURE__ */ r(
|
|
572
582
|
Q.Item,
|
|
573
583
|
{
|
|
574
584
|
value: e.value,
|
|
575
|
-
className:
|
|
585
|
+
className: Ue(),
|
|
576
586
|
children: n(
|
|
577
587
|
`inputs.dateRangePicker.granularity.${e.value}`,
|
|
578
588
|
e.fallback
|
|
@@ -599,15 +609,15 @@ const ya = {
|
|
|
599
609
|
id: Ge,
|
|
600
610
|
type: "text",
|
|
601
611
|
inputMode: "numeric",
|
|
602
|
-
value:
|
|
612
|
+
value: De,
|
|
603
613
|
placeholder: m.toUpperCase(),
|
|
604
614
|
"aria-invalid": G || void 0,
|
|
605
615
|
"aria-describedby": G ? ie : void 0,
|
|
606
|
-
onChange: (e) =>
|
|
616
|
+
onChange: (e) => we(e.target.value),
|
|
607
617
|
onBlur: (e) => ce("from", e.target.value),
|
|
608
|
-
onKeyDown:
|
|
609
|
-
className:
|
|
610
|
-
state:
|
|
618
|
+
onKeyDown: $e("from"),
|
|
619
|
+
className: Qe({
|
|
620
|
+
state: _e("from")
|
|
611
621
|
})
|
|
612
622
|
}
|
|
613
623
|
)
|
|
@@ -624,7 +634,7 @@ const ya = {
|
|
|
624
634
|
/* @__PURE__ */ r(
|
|
625
635
|
"label",
|
|
626
636
|
{
|
|
627
|
-
htmlFor:
|
|
637
|
+
htmlFor: Ke,
|
|
628
638
|
className: "ds:text-[length:var(--font-size-xs)] ds:text-muted-foreground",
|
|
629
639
|
children: n("inputs.dateRangePicker.endLabel", "End date")
|
|
630
640
|
}
|
|
@@ -632,24 +642,24 @@ const ya = {
|
|
|
632
642
|
/* @__PURE__ */ r(
|
|
633
643
|
"input",
|
|
634
644
|
{
|
|
635
|
-
id:
|
|
645
|
+
id: Ke,
|
|
636
646
|
type: "text",
|
|
637
647
|
inputMode: "numeric",
|
|
638
|
-
value:
|
|
648
|
+
value: Ne,
|
|
639
649
|
placeholder: m.toUpperCase(),
|
|
640
|
-
"aria-invalid":
|
|
641
|
-
"aria-describedby":
|
|
642
|
-
onChange: (e) =>
|
|
650
|
+
"aria-invalid": K || void 0,
|
|
651
|
+
"aria-describedby": K ? ie : void 0,
|
|
652
|
+
onChange: (e) => Se(e.target.value),
|
|
643
653
|
onBlur: (e) => ce("to", e.target.value),
|
|
644
|
-
onKeyDown:
|
|
645
|
-
className:
|
|
646
|
-
state:
|
|
654
|
+
onKeyDown: $e("to"),
|
|
655
|
+
className: Qe({
|
|
656
|
+
state: _e("to")
|
|
647
657
|
})
|
|
648
658
|
}
|
|
649
659
|
)
|
|
650
660
|
] })
|
|
651
661
|
] }),
|
|
652
|
-
G ||
|
|
662
|
+
G || K ? /* @__PURE__ */ r(
|
|
653
663
|
"p",
|
|
654
664
|
{
|
|
655
665
|
id: ie,
|
|
@@ -666,20 +676,20 @@ const ya = {
|
|
|
666
676
|
) : null
|
|
667
677
|
] }),
|
|
668
678
|
/* @__PURE__ */ u("div", { className: "ds:flex ds:gap-[var(--spacing-md)]", children: [
|
|
669
|
-
!X && de.length > 0 ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-[8rem] ds:border-e ds:border-border ds:pe-[var(--spacing-md)]", children:
|
|
679
|
+
!X && de.length > 0 ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:min-w-[8rem] ds:border-e ds:border-border ds:pe-[var(--spacing-md)]", children: Me.map((e, t) => {
|
|
670
680
|
const d = `${Te}-pg${t}`, o = e.presets.map((P) => {
|
|
671
|
-
const me = P ===
|
|
681
|
+
const me = P === N;
|
|
672
682
|
return /* @__PURE__ */ u(
|
|
673
683
|
"button",
|
|
674
684
|
{
|
|
675
685
|
type: "button",
|
|
676
686
|
"aria-pressed": me,
|
|
677
|
-
onClick: () =>
|
|
678
|
-
className:
|
|
687
|
+
onClick: () => Kt(P),
|
|
688
|
+
className: oa({ active: me }),
|
|
679
689
|
children: [
|
|
680
690
|
/* @__PURE__ */ r("span", { className: "ds:min-w-0 ds:truncate", children: P.label }),
|
|
681
691
|
me ? /* @__PURE__ */ r(
|
|
682
|
-
|
|
692
|
+
ka,
|
|
683
693
|
{
|
|
684
694
|
"aria-hidden": "true",
|
|
685
695
|
className: "ds:size-4 ds:shrink-0 ds:text-primary"
|
|
@@ -690,7 +700,7 @@ const ya = {
|
|
|
690
700
|
P.label
|
|
691
701
|
);
|
|
692
702
|
});
|
|
693
|
-
return
|
|
703
|
+
return St && e.group ? /* @__PURE__ */ u(
|
|
694
704
|
"div",
|
|
695
705
|
{
|
|
696
706
|
role: "group",
|
|
@@ -701,7 +711,7 @@ const ya = {
|
|
|
701
711
|
"div",
|
|
702
712
|
{
|
|
703
713
|
id: d,
|
|
704
|
-
className:
|
|
714
|
+
className: ia(),
|
|
705
715
|
children: e.group
|
|
706
716
|
}
|
|
707
717
|
),
|
|
@@ -709,47 +719,47 @@ const ya = {
|
|
|
709
719
|
]
|
|
710
720
|
},
|
|
711
721
|
e.group
|
|
712
|
-
) : /* @__PURE__ */ r(
|
|
722
|
+
) : /* @__PURE__ */ r(_t, { children: o }, e.group || "_ungrouped");
|
|
713
723
|
}) }) : null,
|
|
714
|
-
/* @__PURE__ */ u("div", { role: "region", "aria-labelledby":
|
|
715
|
-
/* @__PURE__ */ r("span", { id:
|
|
724
|
+
/* @__PURE__ */ u("div", { role: "region", "aria-labelledby": Ce, children: [
|
|
725
|
+
/* @__PURE__ */ r("span", { id: Ce, className: "ds:sr-only", children: n("inputs.dateRangePicker.gridLabel", "Calendar") }),
|
|
716
726
|
c ? /* @__PURE__ */ r(
|
|
717
|
-
|
|
727
|
+
da,
|
|
718
728
|
{
|
|
719
729
|
mode: "range",
|
|
720
730
|
selected: a.from ? { from: a.from, to: a.to } : void 0,
|
|
721
|
-
onSelect:
|
|
722
|
-
month:
|
|
731
|
+
onSelect: Gt,
|
|
732
|
+
month: bt,
|
|
723
733
|
onMonthChange: ne,
|
|
724
|
-
numberOfMonths:
|
|
725
|
-
weekStartsOn:
|
|
726
|
-
disabled:
|
|
734
|
+
numberOfMonths: Pt,
|
|
735
|
+
weekStartsOn: A,
|
|
736
|
+
disabled: wt,
|
|
727
737
|
locale: c,
|
|
728
|
-
labels:
|
|
738
|
+
labels: vt,
|
|
729
739
|
dir: re.dir(),
|
|
730
740
|
showOutsideDays: !0,
|
|
731
741
|
fixedWeeks: !0,
|
|
732
742
|
pagedNavigation: !0,
|
|
733
|
-
classNames:
|
|
734
|
-
modifiers:
|
|
735
|
-
modifiersClassNames:
|
|
736
|
-
components: { Chevron:
|
|
743
|
+
classNames: ua,
|
|
744
|
+
modifiers: It,
|
|
745
|
+
modifiersClassNames: ca,
|
|
746
|
+
components: { Chevron: la }
|
|
737
747
|
}
|
|
738
|
-
) : /* @__PURE__ */ r(
|
|
748
|
+
) : /* @__PURE__ */ r(Ut, {})
|
|
739
749
|
] })
|
|
740
750
|
] }),
|
|
741
751
|
j ? /* @__PURE__ */ u("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)] ds:border-t ds:border-border ds:pt-[var(--spacing-sm)]", children: [
|
|
742
752
|
/* @__PURE__ */ r(
|
|
743
|
-
|
|
753
|
+
va,
|
|
744
754
|
{
|
|
745
|
-
id:
|
|
755
|
+
id: Dt,
|
|
746
756
|
label: n(
|
|
747
757
|
"inputs.dateRangePicker.compareLabel",
|
|
748
758
|
"Compare to previous period"
|
|
749
759
|
),
|
|
750
760
|
size: "sm",
|
|
751
|
-
checked:
|
|
752
|
-
onCheckedChange:
|
|
761
|
+
checked: D,
|
|
762
|
+
onCheckedChange: Tt
|
|
753
763
|
}
|
|
754
764
|
),
|
|
755
765
|
Y && h ? /* @__PURE__ */ u("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] ds:text-[length:var(--font-size-xs)] ds:text-muted-foreground", children: [
|
|
@@ -762,21 +772,22 @@ const ya = {
|
|
|
762
772
|
),
|
|
763
773
|
`${k(h.from, m, { locale: c })} – ${k(h.to, m, { locale: c })}`
|
|
764
774
|
] }) : null,
|
|
765
|
-
|
|
775
|
+
D ? /* @__PURE__ */ r(
|
|
766
776
|
Q.Root,
|
|
767
777
|
{
|
|
768
778
|
value: Oe,
|
|
769
|
-
onValueChange:
|
|
779
|
+
onValueChange: Ot,
|
|
780
|
+
onKeyDown: Le.onKeyDown,
|
|
770
781
|
"aria-label": n(
|
|
771
782
|
"inputs.dateRangePicker.compareModeLabel",
|
|
772
783
|
"Comparison period"
|
|
773
784
|
),
|
|
774
|
-
className: `${
|
|
775
|
-
children:
|
|
785
|
+
className: `${He()} ds:ms-auto`,
|
|
786
|
+
children: Da.map((e) => /* @__PURE__ */ r(
|
|
776
787
|
Q.Item,
|
|
777
788
|
{
|
|
778
789
|
value: e.value,
|
|
779
|
-
className:
|
|
790
|
+
className: Ue(),
|
|
780
791
|
children: n(
|
|
781
792
|
`inputs.dateRangePicker.compareMode.${e.value}`,
|
|
782
793
|
e.fallback
|
|
@@ -798,16 +809,16 @@ const ya = {
|
|
|
798
809
|
}
|
|
799
810
|
),
|
|
800
811
|
/* @__PURE__ */ u("div", { className: "ds:flex ds:shrink-0 ds:gap-[var(--spacing-xs)]", children: [
|
|
801
|
-
|
|
812
|
+
at ? /* @__PURE__ */ r(
|
|
802
813
|
"button",
|
|
803
814
|
{
|
|
804
815
|
type: "button",
|
|
805
|
-
onClick:
|
|
816
|
+
onClick: Ct,
|
|
806
817
|
className: J({ intent: "ghost" }),
|
|
807
818
|
children: n("inputs.dateRangePicker.clear", "Clear")
|
|
808
819
|
}
|
|
809
820
|
) : null,
|
|
810
|
-
p === "apply" ? /* @__PURE__ */ u(
|
|
821
|
+
p === "apply" ? /* @__PURE__ */ u($t, { children: [
|
|
811
822
|
/* @__PURE__ */ r(
|
|
812
823
|
"button",
|
|
813
824
|
{
|
|
@@ -821,7 +832,7 @@ const ya = {
|
|
|
821
832
|
"button",
|
|
822
833
|
{
|
|
823
834
|
type: "button",
|
|
824
|
-
disabled: !
|
|
835
|
+
disabled: !We,
|
|
825
836
|
onClick: ue,
|
|
826
837
|
className: J({ intent: "primary" }),
|
|
827
838
|
children: n("inputs.dateRangePicker.apply", "Apply")
|
|
@@ -831,7 +842,7 @@ const ya = {
|
|
|
831
842
|
"button",
|
|
832
843
|
{
|
|
833
844
|
type: "button",
|
|
834
|
-
onClick:
|
|
845
|
+
onClick: Vt,
|
|
835
846
|
className: J({ intent: "primary" }),
|
|
836
847
|
children: n("inputs.dateRangePicker.done", "Done")
|
|
837
848
|
}
|
|
@@ -846,9 +857,9 @@ const ya = {
|
|
|
846
857
|
) });
|
|
847
858
|
}
|
|
848
859
|
);
|
|
849
|
-
|
|
860
|
+
wa.displayName = "DateRangePicker";
|
|
850
861
|
export {
|
|
851
|
-
|
|
852
|
-
|
|
862
|
+
wa as D,
|
|
863
|
+
Pa as d
|
|
853
864
|
};
|
|
854
|
-
//# sourceMappingURL=date-range-picker-
|
|
865
|
+
//# sourceMappingURL=date-range-picker-CFk-5O3R.js.map
|