@alfadocs/ui-kit 1.142.0 → 1.144.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-CPNyF6ye.js → actions-cell-renderer-BA1FB6cT.js} +3 -3
- package/dist/_chunks/{address-autocomplete-yDLqg43e.js → address-autocomplete-_LeOFdM7.js} +2 -2
- package/dist/_chunks/{address-fields-Bh9JZJHZ.js → address-fields-C4khof4C.js} +2 -2
- package/dist/_chunks/{agenda-tray-CGcS_qoM.js → agenda-tray-NgxPuAAz.js} +3 -3
- package/dist/_chunks/{ai-credits-exhausted-notice-Lws3113e.js → ai-credits-exhausted-notice-DCq27xy2.js} +2 -2
- package/dist/_chunks/{ai-credits-notice-D_Zm_N2A.js → ai-credits-notice-B6buIgmV.js} +3 -3
- package/dist/_chunks/{ai-permission-notice-C-xR2_iS.js → ai-permission-notice-C_YB3MBA.js} +20 -12
- package/dist/_chunks/{ai-prompt-input-y4-dtQIT.js → ai-prompt-input-Bwoa8gNc.js} +2 -2
- package/dist/_chunks/{ai-summary-panel-BhCo2vZF.js → ai-summary-panel-Cdsve-XN.js} +7 -7
- package/dist/_chunks/{alia-sidebar-uxTsUbIt.js → alia-sidebar-Bjuxk8mU.js} +7 -7
- package/dist/_chunks/{anamnesis-card-sUFT0dpF.js → anamnesis-card-G0qzw0Oi.js} +16 -15
- package/dist/_chunks/{anamnesis-summary-rows-C2Ca9_Qj.js → anamnesis-summary-rows-QCv6zW-J.js} +8 -8
- package/dist/_chunks/{appointment-card-C0UFYFLZ.js → appointment-card-HOZrABrQ.js} +2 -2
- package/dist/_chunks/{appointment-details-panel.history-BUXwhill.js → appointment-details-panel.history-eqPMKmW0.js} +38 -31
- package/dist/_chunks/{appointment-details-panel.identity-C20Y9xNC.js → appointment-details-panel.identity--_j07UG1.js} +2 -2
- package/dist/_chunks/{appointment-peek-BCzekfWh.js → appointment-peek-B3raO90X.js} +3 -3
- package/dist/_chunks/appointment-timeline-D5qbZ7in.js +776 -0
- package/dist/_chunks/{appointment-tray-dfgScPcC.js → appointment-tray-CFCxukwq.js} +4 -4
- package/dist/_chunks/{audio-recorder-DxhCiLqG.js → audio-recorder-DcUIVMWj.js} +3 -3
- package/dist/_chunks/{balance-badge-cell-CXi6moSa.js → balance-badge-cell-BPz9bQAB.js} +5 -5
- package/dist/_chunks/{bill-line-table-qAdmV19W.js → bill-line-table-DnkFqMnM.js} +2 -2
- package/dist/_chunks/{bishop-score-DbvfBlBM.js → bishop-score-fJRN0MtR.js} +2 -2
- package/dist/_chunks/{bmi-calculator-rq3ZsKp0.js → bmi-calculator-FmXBHbot.js} +2 -2
- package/dist/_chunks/{button-DohK_Ak_.js → button-Dp4j9ygh.js} +6 -6
- package/dist/_chunks/{button-group-DoKG16Fy.js → button-group-N60L3HMa.js} +2 -2
- package/dist/_chunks/{calendar-CyLtLBNP.js → calendar-DDTWUYnw.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-BDc8Q4Ji.js → calendar-appointment-editor-dialog-CA69bdbI.js} +22 -22
- package/dist/_chunks/{calendar-editor-discard-host-BblBxMqT.js → calendar-editor-discard-host-DWS_kM-a.js} +6 -6
- package/dist/_chunks/{calendar-waiting-list-panel-js-0KEh8.js → calendar-waiting-list-panel-Du_jtVbl.js} +9 -9
- package/dist/_chunks/{calendar-workspace.model-B8yPwuBv.js → calendar-workspace.model-4zmA3BFE.js} +2 -2
- package/dist/_chunks/{calendar.sheets-sBWH7Jxn.js → calendar.sheets-CGwr4t2p.js} +16 -16
- package/dist/_chunks/{calls-panel-CnjAKFgA.js → calls-panel-BTTfHnPD.js} +5 -5
- package/dist/_chunks/{care-plan-card-TZH6C60K.js → care-plan-card-2U2LuIJD.js} +3 -3
- package/dist/_chunks/{care-plan-entry-card-CufvXAWa.js → care-plan-entry-card-CUAlQv1c.js} +3 -3
- package/dist/_chunks/{care-plan-header-CeFXUDnL.js → care-plan-header-Dm9KZ41y.js} +3 -3
- package/dist/_chunks/{carousel.agent-CkDXR3-8.js → carousel.agent-CN78qTiR.js} +2 -2
- package/dist/_chunks/{chart-ChNsJf9_.js → chart-EUdS8caO.js} +3 -3
- package/dist/_chunks/{chat-input-BmvnuZqj.js → chat-input-kduOKc5Q.js} +2 -2
- package/dist/_chunks/{chat-message-B4TMeZ2m.js → chat-message-Db7cWCgO.js} +4 -4
- package/dist/_chunks/{check-in-documents-CEVcgcYZ.js → check-in-documents-v1jFfDE1.js} +2 -2
- package/dist/_chunks/{clinical-note-card-D--IwbZa.js → clinical-note-card-D-9xmRpf.js} +68 -52
- package/dist/_chunks/{code-block-BTsCXVGI.js → code-block-BpmhaXp_.js} +2 -2
- package/dist/_chunks/{communications-panel-EP27FN7e.js → communications-panel-DDzUyoHi.js} +7 -7
- package/dist/_chunks/{connection-status-DWClakYw.js → connection-status-Bi6KPTlh.js} +3 -3
- package/dist/_chunks/{contact-profile-card-CsZNMlws.js → contact-profile-card-BxnBI1z1.js} +3 -3
- package/dist/_chunks/{control-room-rail-7SidoPJH.js → control-room-rail-BQvaYowi.js} +3 -3
- package/dist/_chunks/{copy-field-BaYEDJ9f.js → copy-field-Bp0rH_YO.js} +2 -2
- package/dist/_chunks/{cycle-calculator-BUCGfEcy.js → cycle-calculator-Dd-dNPyR.js} +2 -2
- package/dist/_chunks/{dashboard-grid-D2egA1Zu.js → dashboard-grid-C_cby1Cf.js} +2 -2
- package/dist/_chunks/{data-grid-tyE2kGfx.js → data-grid-CujX-2tF.js} +6 -6
- package/dist/_chunks/{data-grid-tabs-Mbj6bSK2.js → data-grid-tabs-3NIWrciW.js} +2 -2
- package/dist/_chunks/{data-table-Bq1FRBGB.js → data-table-DFAYYsSc.js} +118 -118
- package/dist/_chunks/{data-table-tabs-D5ujdK56.js → data-table-tabs-BKdmGcyD.js} +2 -2
- package/dist/_chunks/{date-range-panel-BOgfP_V3.js → date-range-panel-B86RANxB.js} +2 -2
- package/dist/_chunks/{default-tabs-ChkVzOL8.js → default-tabs-CqP1uWdx.js} +9 -9
- package/dist/_chunks/{description-list-BxzDN9o2.js → description-list-DA4TgL_I.js} +2 -2
- package/dist/_chunks/{dev-bypass-button-B7ePcJcg.js → dev-bypass-button-BzfYGPuf.js} +2 -2
- package/dist/_chunks/{document-preview-x_S8V7VC.js → document-preview-oSuJsJ3k.js} +4 -4
- package/dist/_chunks/{document-scanner-CETscDea.js → document-scanner-C_9P-ysi.js} +2 -2
- package/dist/_chunks/{due-date-calculator-DpN0Z9p4.js → due-date-calculator-CcYdmiCI.js} +2 -2
- package/dist/_chunks/{editable-currency-cell-renderer-C6z6ABN_.js → editable-currency-cell-renderer-DXJI0fnU.js} +3 -3
- package/dist/_chunks/{editable-description-KU56SP4P.js → editable-description-BQauSuCG.js} +3 -3
- package/dist/_chunks/{editor-overlay-Dc8uVxEp.js → editor-overlay-Cl6IhKNG.js} +2 -2
- package/dist/_chunks/{empty-state-DwJ5YNzz.js → empty-state-5REM7oDM.js} +2 -2
- package/dist/_chunks/{entity-summary-CPUHzyil.js → entity-summary-CZmGcWi2.js} +4 -4
- package/dist/_chunks/{error-boundary-tAn_GuCu.js → error-boundary-BQ5mRqEd.js} +2 -2
- package/dist/_chunks/{error-page-WLhmWUTq.js → error-page-CdNGIezW.js} +2 -2
- package/dist/_chunks/{face-scheme-S88jbOzl.js → face-scheme-ByYeboH9.js} +5 -5
- package/dist/_chunks/{fetal-weight-DWj-_ME8.js → fetal-weight-BZql9VkN.js} +2 -2
- package/dist/_chunks/{field-array-CA-gn526.js → field-array-kwUgFOIr.js} +3 -3
- package/dist/_chunks/{file-manager-ChQSjfU8.js → file-manager-Cp3Z4VvM.js} +7 -7
- package/dist/_chunks/{finished-terminal-unDnXT4j.js → finished-terminal-YrhOLYbx.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-DZlpaMGg.js → fiscal-code-input-BsQS8gaD.js} +2 -2
- package/dist/_chunks/{forgot-password-form-B4ufmBFn.js → forgot-password-form-BUC_hDCJ.js} +2 -2
- package/dist/_chunks/{freemium-paywall-BDeq9QWR.js → freemium-paywall-DafloSRi.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-CCDIhSMV.js → gestational-age-calculator-DrVw8arH.js} +2 -2
- package/dist/_chunks/{hcg-doubling-BekuksBv.js → hcg-doubling-XWQ6IhEg.js} +2 -2
- package/dist/_chunks/{header-l_B8MV0g.js → header-lzhNZEij.js} +2 -2
- package/dist/_chunks/{header-settings-CvZ7Qii6.js → header-settings-BIiYXX9_.js} +4 -4
- package/dist/_chunks/{heatmap-D0OGx-70.js → heatmap-DvsZ-mcL.js} +6 -6
- package/dist/_chunks/{help-me-write-templates-C84_4iwX.js → help-me-write-templates-BdCQ-kFO.js} +6 -6
- package/dist/_chunks/{hover-card-CIiPOlyM.js → hover-card-CS8ulBf9.js} +2 -2
- package/dist/_chunks/{icon-button-group-CLhC7wjU.js → icon-button-group-DEAx9M5v.js} +2 -2
- package/dist/_chunks/{icon-button-S8_weU3g.js → icon-button-u9VMQn3x.js} +2 -2
- package/dist/_chunks/{icon-picker-Ct6n8GTa.js → icon-picker-CF4nDCzC.js} +3 -3
- package/dist/_chunks/{image-cropper-Ch80rFdt.js → image-cropper-CfaSPVt3.js} +2 -2
- package/dist/_chunks/{info-tip-CkH2En-i.js → info-tip-cCppV1fD.js} +2 -2
- package/dist/_chunks/{insert-result-CDMMt7q8.js → insert-result-UUow9IIY.js} +2 -2
- package/dist/_chunks/{invoice-upload-list-CZ1B9yWh.js → invoice-upload-list-srvWy5_d.js} +5 -5
- package/dist/_chunks/{key-value-pair-DOTl68_U.js → key-value-pair-BykhMTcP.js} +2 -2
- package/dist/_chunks/{kit-extensions-C_oZ7WOq.js → kit-extensions-CSPGIdcn.js} +7 -7
- package/dist/_chunks/{link-cell-renderer-ByOAy2Sb.js → link-cell-renderer-CWLArl5e.js} +4 -4
- package/dist/_chunks/{locale-picker-OrojXX6E.js → locale-picker-BEJjNGCO.js} +3 -3
- package/dist/_chunks/{login-dev-card-oRh9h7N2.js → login-dev-card-DqUNJcd7.js} +2 -2
- package/dist/_chunks/{map-view-Cm69dCnY.js → map-view-n6GiDRWM.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-DnL187-U.js → marketplace-app-shell-CGA-R-zt.js} +4 -4
- package/dist/_chunks/{medication-line-BohqbCYD.js → medication-line-DFa5oFhf.js} +2 -2
- package/dist/_chunks/{medication-search-DoEDakoM.js → medication-search-CTUtXuPT.js} +2 -2
- package/dist/_chunks/{message-card-Bw_q1qKx.js → message-card-DQML_W8I.js} +12 -11
- package/dist/_chunks/{message-tray-g6dp_AAt.js → message-tray-Dx2HPcKB.js} +4 -4
- package/dist/_chunks/{muscle-scheme-vNd8wU7V.js → muscle-scheme-BMFuuKGh.js} +2 -2
- package/dist/_chunks/{notes-panel-CtMLUJOe.js → notes-panel-DnBmONPb.js} +399 -397
- package/dist/_chunks/{notification-card-DRMv2_pW.js → notification-card-BPGZhE5t.js} +12 -11
- package/dist/_chunks/{notification-tray-DqCYs9Bw.js → notification-tray-BnC5OItw.js} +4 -4
- package/dist/_chunks/{optical-prescription-CWwrW4YQ.js → optical-prescription-DZvauMiM.js} +2 -2
- package/dist/_chunks/{panel-subview-DCyvn-49.js → panel-subview-DjBwNV16.js} +2 -2
- package/dist/_chunks/{parts-IFiXO68Y.js → parts-DyCxaRF0.js} +4 -4
- package/dist/_chunks/{patient-account-settings-e8Wp2g-F.js → patient-account-settings-Do0QbDJe.js} +5 -5
- package/dist/_chunks/{patient-card-Cpr8iD19.js → patient-card-D1DrK4BT.js} +2 -2
- package/dist/_chunks/{patient-check-in-resume-_nwf9gpx.js → patient-check-in-resume-Bxy1_Pfo.js} +9 -9
- package/dist/_chunks/{patient-details-6uJZ27ZL.js → patient-details-Cj3dp9GB.js} +3 -3
- package/dist/_chunks/{patient-field-row-D8Cu_MQp.js → patient-field-row-DDjsUsc_.js} +6 -6
- package/dist/_chunks/{patient-picker-CQNsqYn2.js → patient-picker-Dm74jHIk.js} +2 -2
- package/dist/_chunks/{patient-search-C6-INPjs.js → patient-search-5nLD0jpg.js} +3 -3
- package/dist/_chunks/{patient-sign-in-pin-DmMBwWet.js → patient-sign-in-pin-da7C8DOd.js} +3 -3
- package/dist/_chunks/{patient-sign-in-steps-BKcxNkdY.js → patient-sign-in-steps-kS2ktytw.js} +5 -5
- package/dist/_chunks/{patient-summary-card-NYjO0IfN.js → patient-summary-card-roM9Esfb.js} +5 -5
- package/dist/_chunks/{payment-automation-upsell-CGdG2Mwk.js → payment-automation-upsell-N1A_IIw0.js} +2 -2
- package/dist/_chunks/{payment-request-card-CNW00DCx.js → payment-request-card-C9VglWsV.js} +3 -3
- package/dist/_chunks/{periodontal-chart-DqHrQY4e.js → periodontal-chart-C5JFeQS7.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-q9WSHRC2.js → periodontal-chart-card-DiZYn_60.js} +2 -2
- package/dist/_chunks/{popover-CkvP3rHZ.js → popover-C9O7my6h.js} +2 -2
- package/dist/_chunks/{portal-details-D9oF6FUV.js → portal-details-CKF4yFHs.js} +5 -5
- package/dist/_chunks/{portal-documents-DSiLSave.js → portal-documents-DvpAwmSI.js} +5 -5
- package/dist/_chunks/{portal-parts-8qrUM-uK.js → portal-parts-Cvu4PfIY.js} +5 -5
- package/dist/_chunks/{practice-results-BUEsl2Pj.js → practice-results-D0TAgL8v.js} +6 -6
- package/dist/_chunks/{pregnancy-dating-wc9iCN0f.js → pregnancy-dating-BEVI6zvu.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-DmrVHk9y.js → pregnancy-weight-gain-CDkFYcWW.js} +2 -2
- package/dist/_chunks/{prescription-history-DFcPXYdF.js → prescription-history-CD3e3U3I.js} +15 -15
- package/dist/_chunks/{privacy-lock-CcrjIbBv.js → privacy-lock-C25IybCx.js} +3 -3
- package/dist/_chunks/{privacy-mask-C2ZLKrMh.js → privacy-mask-zVh0ntm0.js} +2 -2
- package/dist/_chunks/{product-hub-panel-BPpmVDm5.js → product-hub-panel-NVpRuJeW.js} +4 -4
- package/dist/_chunks/{public-header.agent-Dsl9zhA2.js → public-header.agent-Dzo6ujrE.js} +3 -3
- package/dist/_chunks/{radiograph-panel.agent-CSpr2paU.js → radiograph-panel.agent-BUZPsuSP.js} +4 -4
- package/dist/_chunks/{recaptcha-widget-iglUBIF3.js → recaptcha-widget-D6RwGg8B.js} +35 -35
- package/dist/_chunks/{registration-form-DRGMzq9V.js → registration-form-AtRCt8n5.js} +4 -4
- package/dist/_chunks/{reserved.agent-C_pr0bHy.js → reserved.agent-DjvapRF1.js} +6 -6
- package/dist/_chunks/{reset-password-form-DwtSNhnA.js → reset-password-form-AMUxqdAS.js} +2 -2
- package/dist/_chunks/{reviews-panel-CdHUSndF.js → reviews-panel-Cw5ygAxs.js} +4 -4
- package/dist/_chunks/{rich-text-editor-CQ54ybTB.js → rich-text-editor-Cx9cA4pd.js} +1346 -1305
- package/dist/_chunks/{row-actions-C6d6vy5z.js → row-actions-CA938TAd.js} +3 -3
- package/dist/_chunks/{saved-view-tabs-CVUM3Nqz.js → saved-view-tabs-COU4bT59.js} +3 -3
- package/dist/_chunks/{send-registration-link-form-D-NkS__p.js → send-registration-link-form-D1lPdOPC.js} +2 -2
- package/dist/_chunks/{session-countdown-StcyUU5O.js → session-countdown-CGsIG01-.js} +2 -2
- package/dist/_chunks/{sheet-BIAhwdyS.js → sheet-CZDjW9Q-.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-DzrNgbWv.js → sign-in-with-alfadocs-button-D7JQVzZK.js} +2 -2
- package/dist/_chunks/{signature-request-BfKo3vOz.js → signature-request-CfHfAEQt.js} +3 -3
- package/dist/_chunks/{signed-out-frame-Oa2e1yps.js → signed-out-frame-CC25CgKo.js} +3 -3
- package/dist/_chunks/{signing-end-screen-Pmda6tCH.js → signing-end-screen-Bq6tkFE6.js} +5 -5
- package/dist/_chunks/{slot-grid-CfA5zeMv.js → slot-grid-khIpy8Gx.js} +4 -4
- package/dist/_chunks/{sms-code-entry-Dgp4GwlM.js → sms-code-entry-C70L3m6-.js} +2 -2
- package/dist/_chunks/{specialty-list-BzalHR8_.js → specialty-list-1tltjGRG.js} +2 -2
- package/dist/_chunks/{step-up-dialog-C1O8ctoh.js → step-up-dialog-NkVLEV9z.js} +3 -3
- package/dist/_chunks/{streaming-text-Nb3Q7L94.js → streaming-text-BXoHgx0l.js} +2 -2
- package/dist/_chunks/{sync-tray-BTmveFGE.js → sync-tray-BQD-HuA4.js} +56 -54
- package/dist/_chunks/{task-editor-DNkrLbgK.js → task-editor-B9YpfwcW.js} +7 -7
- package/dist/_chunks/{task-tray-Bmi9wCHq.js → task-tray-CxxcGGgx.js} +3 -3
- package/dist/_chunks/{tasks-panel-Dmp49cBo.js → tasks-panel-DsjfS_k5.js} +140 -140
- package/dist/_chunks/{theme-toggle-C2LPw3xr.js → theme-toggle-DAqT_Yxy.js} +3 -3
- package/dist/_chunks/{timeline-DXko0M1t.js → timeline-BzGi_3GQ.js} +2 -2
- package/dist/_chunks/timestamp-UMF1llBs.js +113 -0
- package/dist/_chunks/{toast-DQ1Zu1kk.js → toast-Cgmh1cvj.js} +2 -2
- package/dist/_chunks/{token-insert-menu-sGtftx4Y.js → token-insert-menu-BxqGMrZN.js} +2 -2
- package/dist/_chunks/{tool-rail-CKOuVHUQ.js → tool-rail-DjPEiBa2.js} +57 -57
- package/dist/_chunks/{toolbar-JTR20W-U.js → toolbar-z_6tE7zG.js} +3 -3
- package/dist/_chunks/{tooth-scheme-DpgciFU8.js → tooth-scheme-C7xJEzaK.js} +2 -2
- package/dist/_chunks/{types-BrJRsnSG.js → types-DjQeiZXC.js} +2 -2
- package/dist/_chunks/{unit-converter-D1e1wZRE.js → unit-converter-CdrdnDlr.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-DIRHedaM.js → use-appointment-details-read-Dod21IxM.js} +588 -565
- package/dist/_chunks/use-resolved-theme-B0f1_oyq.js +32 -0
- package/dist/_chunks/{verify-identity-types-CpeJIc9F.js → verify-identity-types-D0-sw1Qk.js} +2 -2
- package/dist/_chunks/{voice-control-panel-CfBUrzhJ.js → voice-control-panel-DeWo646r.js} +6 -6
- package/dist/_chunks/{warning-stack-Dx7cpj10.js → warning-stack-BvfxZNfR.js} +3 -3
- package/dist/_chunks/{week-availability-CsTiwtYj.js → week-availability-D0tTll4q.js} +2 -2
- package/dist/_chunks/{weekly-hours-editor-BsVsgeOc.js → weekly-hours-editor-pTLyK8tt.js} +2 -2
- package/dist/_chunks/{workflow-map-CsfRHhlz.js → workflow-map-F7OThorL.js} +6 -6
- package/dist/_chunks/{workflow-webhook-action-BUWc2txJ.js → workflow-webhook-action-FImC6mwH.js} +6 -6
- package/dist/agent-catalog.json +10 -7
- package/dist/agent-i18n/en.json +3 -3
- package/dist/appointment-editor-panel/index.js +4 -4
- package/dist/booking-tools-data/index.js +1 -1
- package/dist/browser-support.js +1 -1
- package/dist/calendar-action-buttons/index.js +4 -4
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +2 -2
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/ai-summary-panel/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +3 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +5 -0
- package/dist/components/appointment-details-panel/index.js +2 -2
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +27 -0
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/bill-line-table/index.js +1 -1
- package/dist/components/bill-table/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calls-panel/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/clinical-note-card/clinical-note-card.d.ts +2 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/communications-panel/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/dashboard-grid/index.js +1 -1
- package/dist/components/data-grid/index.js +2 -2
- package/dist/components/data-grid-tabs/index.js +1 -1
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dev-bypass-button/index.js +1 -1
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +1 -1
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/entity-summary/index.js +1 -1
- package/dist/components/error-boundary/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/field-array/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/finished-terminal/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/icon-picker/index.js +1 -1
- package/dist/components/image-cropper/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/invoice-upload/index.js +1 -1
- package/dist/components/invoice-upload-list/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/medication-line/index.js +1 -1
- package/dist/components/medication-search/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/notes-panel/notes-panel.d.ts +5 -4
- package/dist/components/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/panel-subview/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-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/popover/index.js +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/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/recaptcha-widget/recaptcha-widget.d.ts +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/editor-toolbar.d.ts +2 -0
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/row-actions/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/sms-code-entry/index.js +1 -1
- package/dist/components/specialty-list/index.js +1 -1
- package/dist/components/step-up-dialog/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/sync-tray/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/timestamp/index.js +1 -1
- package/dist/components/timestamp/timestamp.d.ts +6 -0
- package/dist/components/toast/index.js +1 -1
- package/dist/components/token-insert-menu/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/week-availability/index.js +1 -1
- package/dist/components/weekly-hours-editor/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/find-free-slots-panel/index.js +1 -1
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +58 -56
- package/dist/hooks/use-resolved-theme.d.ts +20 -0
- package/dist/host-calendar-selection.css +89 -0
- package/dist/i18n/locales/ar.d.ts +5 -0
- package/dist/i18n/locales/ar.js +5 -0
- package/dist/i18n/locales/de.d.ts +5 -0
- package/dist/i18n/locales/de.js +5 -0
- package/dist/i18n/locales/el.d.ts +5 -0
- package/dist/i18n/locales/el.js +5 -0
- package/dist/i18n/locales/en.d.ts +5 -0
- package/dist/i18n/locales/en.js +5 -0
- package/dist/i18n/locales/es.d.ts +5 -0
- package/dist/i18n/locales/es.js +5 -0
- package/dist/i18n/locales/fr.d.ts +5 -0
- package/dist/i18n/locales/fr.js +5 -0
- package/dist/i18n/locales/hi.d.ts +5 -0
- package/dist/i18n/locales/hi.js +5 -0
- package/dist/i18n/locales/it.d.ts +5 -0
- package/dist/i18n/locales/it.js +5 -0
- package/dist/i18n/locales/ja.d.ts +5 -0
- package/dist/i18n/locales/ja.js +5 -0
- package/dist/i18n/locales/nl.d.ts +5 -0
- package/dist/i18n/locales/nl.js +5 -0
- package/dist/i18n/locales/pl.d.ts +5 -0
- package/dist/i18n/locales/pl.js +5 -0
- package/dist/i18n/locales/pt.d.ts +5 -0
- package/dist/i18n/locales/pt.js +5 -0
- package/dist/i18n/locales/ro.d.ts +5 -0
- package/dist/i18n/locales/ro.js +5 -0
- package/dist/i18n/locales/ru.d.ts +5 -0
- package/dist/i18n/locales/ru.js +5 -0
- package/dist/i18n/locales/sq.d.ts +5 -0
- package/dist/i18n/locales/sq.js +5 -0
- package/dist/i18n/locales/sv.d.ts +5 -0
- package/dist/i18n/locales/sv.js +5 -0
- package/dist/i18n/locales/tr.d.ts +5 -0
- package/dist/i18n/locales/tr.js +5 -0
- package/dist/i18n/locales/zh.d.ts +5 -0
- package/dist/i18n/locales/zh.js +5 -0
- package/dist/index.js +162 -162
- package/dist/locales/ar.json +5 -0
- package/dist/locales/de.json +5 -0
- package/dist/locales/el.json +5 -0
- package/dist/locales/en.json +5 -0
- package/dist/locales/es.json +5 -0
- package/dist/locales/fr.json +5 -0
- package/dist/locales/hi.json +5 -0
- package/dist/locales/it.json +5 -0
- package/dist/locales/ja.json +5 -0
- package/dist/locales/nl.json +5 -0
- package/dist/locales/pl.json +5 -0
- package/dist/locales/pt.json +5 -0
- package/dist/locales/ro.json +5 -0
- package/dist/locales/ru.json +5 -0
- package/dist/locales/sq.json +5 -0
- package/dist/locales/sv.json +5 -0
- package/dist/locales/tr.json +5 -0
- package/dist/locales/zh.json +5 -0
- package/dist/online-bookings-panel/index.js +2 -2
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +4 -4
- package/dist/patterns/check-in-documents/index.js +1 -1
- package/dist/patterns/error-page/index.js +1 -1
- package/dist/patterns/forgot-password-form/index.js +1 -1
- package/dist/patterns/help-me-write-templates/index.js +2 -2
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-account-settings/index.js +1 -1
- package/dist/patterns/patient-check-in/index.js +1 -1
- package/dist/patterns/patient-portal/index.js +2 -2
- package/dist/patterns/patient-sign-in/index.js +2 -2
- package/dist/patterns/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/prescription/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/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/patterns/signing/index.js +1 -1
- package/dist/patterns/verify-identity/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/dist/waiting-list-panel/index.js +4 -4
- package/package.json +7 -2
- package/dist/_chunks/appointment-timeline-BK68CCBl.js +0 -689
- package/dist/_chunks/timestamp-DPLDWdxA.js +0 -109
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { jsx as c, jsxs as b, Fragment as we } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as Ms, useId as Rt, useMemo as z, useState as R, useCallback as Me, useRef as v, useEffect as G, useImperativeHandle as Is } from "react";
|
|
3
3
|
import { c as Hs } from "./index-D2ZczOXr.js";
|
|
4
|
-
import { useTranslation as
|
|
4
|
+
import { useTranslation as $s } from "react-i18next";
|
|
5
5
|
import { A as Ie } from "./alert-C4WKViaS.js";
|
|
6
|
-
import { B as
|
|
7
|
-
import { B as Pe } from "./button-
|
|
8
|
-
import { I as He } from "./icon-button-
|
|
9
|
-
import { B as Et } from "./button-group-
|
|
10
|
-
import { P as
|
|
6
|
+
import { B as qs } from "./badge-BUk4RjTS.js";
|
|
7
|
+
import { B as Pe } from "./button-Dp4j9ygh.js";
|
|
8
|
+
import { I as He } from "./icon-button-u9VMQn3x.js";
|
|
9
|
+
import { B as Et } from "./button-group-N60L3HMa.js";
|
|
10
|
+
import { P as Ws } from "./panel-header-CbtlTe85.js";
|
|
11
11
|
import { S as Ot } from "./select-Bw5FvGJ7.js";
|
|
12
12
|
import { S as Ks } from "./switch-DO6uC4HJ.js";
|
|
13
13
|
import { S as Vs } from "./skeleton-tTWJpvAq.js";
|
|
14
|
-
import { E as
|
|
14
|
+
import { E as $e } from "./empty-state-5REM7oDM.js";
|
|
15
15
|
import { T as Cs } from "./task-card-BNbkwIYM.js";
|
|
16
16
|
import { V as Gs } from "./visually-hidden-BHxEUGyT.js";
|
|
17
17
|
import { u as Us } from "./use-check-animation--I3cS00X.js";
|
|
18
18
|
import { a as Ys, u as Dt, R as At } from "./use-list-reflow-C7O4Uqnl.js";
|
|
19
|
-
import { u as Fs } from "./use-theme-
|
|
20
|
-
import { u as
|
|
19
|
+
import { u as Fs } from "./use-resolved-theme-B0f1_oyq.js";
|
|
20
|
+
import { u as qe } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
21
21
|
import { u as Qs } from "./registry-DvAUVLHh.js";
|
|
22
22
|
import { P as Xs } from "./plus-DzMQ_c6b.js";
|
|
23
23
|
import { C as Js } from "./clipboard-check-BeAGxDVT.js";
|
|
@@ -215,7 +215,7 @@ const an = [
|
|
|
215
215
|
assignee: null,
|
|
216
216
|
overdueOnly: !1
|
|
217
217
|
}, Nt = /* @__PURE__ */ new Map(), jt = /* @__PURE__ */ new Set();
|
|
218
|
-
function
|
|
218
|
+
function We(a) {
|
|
219
219
|
return a.map((o) => `${o.id}:${o.status ?? "open"}`).join("|");
|
|
220
220
|
}
|
|
221
221
|
function un(a, o) {
|
|
@@ -250,7 +250,7 @@ const vn = Hs(
|
|
|
250
250
|
variants: { size: { xs: "", sm: "", md: "" } },
|
|
251
251
|
defaultVariants: { size: "sm" }
|
|
252
252
|
}
|
|
253
|
-
),
|
|
253
|
+
), gn = [
|
|
254
254
|
"ds:flex-1 ds:min-h-0 ds:overflow-y-auto",
|
|
255
255
|
"ds:flex ds:flex-col ds:gap-[var(--spacing-md)]",
|
|
256
256
|
"ds:px-[var(--spacing-md)] ds:py-[var(--spacing-xs)]",
|
|
@@ -263,7 +263,7 @@ const vn = Hs(
|
|
|
263
263
|
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid",
|
|
264
264
|
"ds:focus-visible:outline-[color:var(--ring)] ds:focus-visible:[outline-offset:-2px]",
|
|
265
265
|
"ds:forced-colors:focus-visible:outline-[CanvasText]"
|
|
266
|
-
].join(" "),
|
|
266
|
+
].join(" "), hn = [
|
|
267
267
|
"ds:shadow-[var(--shadow-card)] ds:bg-[color:var(--card)]",
|
|
268
268
|
// Declared at rest, not only while leaving: a transition added at the
|
|
269
269
|
// same moment as the value it animates has nothing to move from.
|
|
@@ -273,8 +273,8 @@ const vn = Hs(
|
|
|
273
273
|
function kn({
|
|
274
274
|
item: a,
|
|
275
275
|
checked: o,
|
|
276
|
-
pending:
|
|
277
|
-
label:
|
|
276
|
+
pending: g,
|
|
277
|
+
label: h,
|
|
278
278
|
reduceMotion: k,
|
|
279
279
|
onToggle: u
|
|
280
280
|
}) {
|
|
@@ -287,7 +287,7 @@ function kn({
|
|
|
287
287
|
reduceMotion: k
|
|
288
288
|
}), D = v({ shown: f, checked: o, toggle: E });
|
|
289
289
|
D.current = { shown: f, checked: o, toggle: E };
|
|
290
|
-
const
|
|
290
|
+
const oe = f ? (
|
|
291
291
|
// `--accent` is magenta-700 in light, the step that clears AA there.
|
|
292
292
|
"ds:text-[color:var(--accent)]"
|
|
293
293
|
) : a.priority === "high" ? "ds:text-[color:var(--destructive)]" : "ds:text-[color:var(--muted-foreground)]";
|
|
@@ -297,12 +297,12 @@ function kn({
|
|
|
297
297
|
type: "button",
|
|
298
298
|
role: "checkbox",
|
|
299
299
|
"aria-checked": f,
|
|
300
|
-
"aria-label":
|
|
301
|
-
"aria-disabled":
|
|
300
|
+
"aria-label": h,
|
|
301
|
+
"aria-disabled": g || void 0,
|
|
302
302
|
"data-action": "toggle-done",
|
|
303
303
|
"data-drawing": y ? "" : void 0,
|
|
304
304
|
onClick: () => {
|
|
305
|
-
if (
|
|
305
|
+
if (g) return;
|
|
306
306
|
const N = !f, U = u(a, N);
|
|
307
307
|
U.started && (E(), U.result.catch(() => {
|
|
308
308
|
const S = D.current;
|
|
@@ -317,7 +317,7 @@ function kn({
|
|
|
317
317
|
"ds:[min-block-size:var(--accessible-target-floor,auto)] ds:[min-inline-size:var(--accessible-target-floor,auto)]",
|
|
318
318
|
"ds:hover:bg-[color:var(--muted)]/40 ds:aria-disabled:cursor-progress",
|
|
319
319
|
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-[color:var(--ring)] ds:forced-colors:focus-visible:outline-[CanvasText]",
|
|
320
|
-
|
|
320
|
+
oe
|
|
321
321
|
].join(" "),
|
|
322
322
|
children: /* @__PURE__ */ b(
|
|
323
323
|
"svg",
|
|
@@ -368,35 +368,35 @@ function Pn(a) {
|
|
|
368
368
|
return new Date(a.getFullYear(), a.getMonth(), a.getDate());
|
|
369
369
|
}
|
|
370
370
|
function Bt(a) {
|
|
371
|
-
const o = Pn(a),
|
|
372
|
-
|
|
373
|
-
const
|
|
374
|
-
|
|
371
|
+
const o = Pn(a), g = new Date(o);
|
|
372
|
+
g.setDate(o.getDate() + 1);
|
|
373
|
+
const h = new Date(o);
|
|
374
|
+
h.setDate(o.getDate() + 2);
|
|
375
375
|
const k = (o.getDay() + 6) % 7, u = new Date(o);
|
|
376
376
|
return u.setDate(o.getDate() + (7 - k)), {
|
|
377
377
|
startOfToday: +o,
|
|
378
|
-
startOfTomorrow: +
|
|
379
|
-
startOfDayAfter: +
|
|
378
|
+
startOfTomorrow: +g,
|
|
379
|
+
startOfDayAfter: +h,
|
|
380
380
|
startOfNextWeek: +u
|
|
381
381
|
};
|
|
382
382
|
}
|
|
383
|
-
function xn(a, o,
|
|
383
|
+
function xn(a, o, g) {
|
|
384
384
|
if (o) return "done";
|
|
385
|
-
const { startOfToday:
|
|
386
|
-
return y <
|
|
385
|
+
const { startOfToday: h, startOfTomorrow: k, startOfDayAfter: u, startOfNextWeek: f } = Bt(g), y = +new Date(a.dueIso);
|
|
386
|
+
return y < h ? "overdue" : y < k ? "today" : y < u ? "tomorrow" : y < f ? "thisWeek" : "later";
|
|
387
387
|
}
|
|
388
388
|
function Sn(a, o) {
|
|
389
389
|
return a.status === "done" ? !1 : +new Date(a.dueIso) < Bt(o).startOfTomorrow;
|
|
390
390
|
}
|
|
391
|
-
function Tn(a, o,
|
|
392
|
-
const
|
|
391
|
+
function Tn(a, o, g) {
|
|
392
|
+
const h = /* @__PURE__ */ new Map();
|
|
393
393
|
for (const u of a) {
|
|
394
|
-
const f = xn(u,
|
|
395
|
-
y ? y.push(u) :
|
|
394
|
+
const f = xn(u, g(u), o), y = h.get(f);
|
|
395
|
+
y ? y.push(u) : h.set(f, [u]);
|
|
396
396
|
}
|
|
397
397
|
const k = [];
|
|
398
398
|
for (const u of wn) {
|
|
399
|
-
const f =
|
|
399
|
+
const f = h.get(u);
|
|
400
400
|
!f || f.length === 0 || (f.sort((y, E) => +new Date(y.dueIso) - +new Date(E.dueIso)), k.push({ key: u, items: f }));
|
|
401
401
|
}
|
|
402
402
|
return k;
|
|
@@ -405,15 +405,15 @@ const Rn = Ms(
|
|
|
405
405
|
({
|
|
406
406
|
id: a,
|
|
407
407
|
items: o,
|
|
408
|
-
nowIso:
|
|
409
|
-
title:
|
|
408
|
+
nowIso: g,
|
|
409
|
+
title: h,
|
|
410
410
|
icon: k,
|
|
411
411
|
totalCount: u,
|
|
412
412
|
size: f = "sm",
|
|
413
413
|
filtering: y = "client",
|
|
414
414
|
onOpenTask: E,
|
|
415
415
|
onToggleDone: D,
|
|
416
|
-
onEditTask:
|
|
416
|
+
onEditTask: oe,
|
|
417
417
|
onDismissTask: N,
|
|
418
418
|
onAddTask: U,
|
|
419
419
|
readOnly: S = !1,
|
|
@@ -421,41 +421,41 @@ const Rn = Ms(
|
|
|
421
421
|
renderItemExtraActions: Te,
|
|
422
422
|
scope: Re,
|
|
423
423
|
defaultScope: Lt,
|
|
424
|
-
onScopeChange:
|
|
424
|
+
onScopeChange: ae,
|
|
425
425
|
availableScopes: B,
|
|
426
426
|
onLoadMore: H,
|
|
427
427
|
hasMore: Ee,
|
|
428
428
|
loadingMore: Y = !1,
|
|
429
429
|
loading: w = !1,
|
|
430
430
|
error: P = !1,
|
|
431
|
-
onRetry:
|
|
431
|
+
onRetry: ie,
|
|
432
432
|
showFilters: Mt = !0,
|
|
433
433
|
defaultFilters: It,
|
|
434
434
|
onFiltersChange: L,
|
|
435
435
|
statusFilter: Ve,
|
|
436
436
|
defaultStatusFilter: Ht,
|
|
437
|
-
onStatusFilterChange:
|
|
438
|
-
typeOptions:
|
|
437
|
+
onStatusFilterChange: ce,
|
|
438
|
+
typeOptions: de,
|
|
439
439
|
typeFilter: Oe,
|
|
440
|
-
onTypeFilterChange:
|
|
441
|
-
assigneeOptions:
|
|
440
|
+
onTypeFilterChange: le,
|
|
441
|
+
assigneeOptions: ue,
|
|
442
442
|
assigneeFilter: De,
|
|
443
|
-
onAssigneeFilterChange:
|
|
443
|
+
onAssigneeFilterChange: fe,
|
|
444
444
|
overdueOnly: Ce,
|
|
445
|
-
defaultOverdueOnly:
|
|
446
|
-
onOverdueOnlyChange:
|
|
447
|
-
emptyTitle:
|
|
448
|
-
emptyDescription:
|
|
445
|
+
defaultOverdueOnly: $t,
|
|
446
|
+
onOverdueOnlyChange: pe,
|
|
447
|
+
emptyTitle: qt,
|
|
448
|
+
emptyDescription: Wt,
|
|
449
449
|
emptyAction: Kt,
|
|
450
450
|
className: Vt,
|
|
451
451
|
"aria-label": Ge,
|
|
452
452
|
...Ct
|
|
453
453
|
}, Gt) => {
|
|
454
|
-
const { t: d, i18n: Ue } =
|
|
455
|
-
status: !p || !!L || !!
|
|
456
|
-
type: !p || !!L || !!
|
|
457
|
-
assignee: !p || !!L || !!
|
|
458
|
-
overdueOnly: !p || !!L || !!
|
|
454
|
+
const { t: d, i18n: Ue } = $s("ui"), Ye = Rt(), Ut = Rt(), Ne = h ?? d("tasksPanel.title"), p = y === "server", $ = {
|
|
455
|
+
status: !p || !!L || !!ce,
|
|
456
|
+
type: !p || !!L || !!le,
|
|
457
|
+
assignee: !p || !!L || !!fe,
|
|
458
|
+
overdueOnly: !p || !!L || !!pe
|
|
459
459
|
}, Yt = {
|
|
460
460
|
todo: d("tasksPanel.status.todo"),
|
|
461
461
|
done: d("tasksPanel.status.done"),
|
|
@@ -475,9 +475,9 @@ const Rn = Ms(
|
|
|
475
475
|
payment: d("tasksPanel.types.payment"),
|
|
476
476
|
collection: d("tasksPanel.types.collection"),
|
|
477
477
|
other: d("tasksPanel.types.other")
|
|
478
|
-
},
|
|
479
|
-
() =>
|
|
480
|
-
[
|
|
478
|
+
}, me = z(
|
|
479
|
+
() => g ? new Date(g) : /* @__PURE__ */ new Date(),
|
|
480
|
+
[g]
|
|
481
481
|
), Fe = z(
|
|
482
482
|
() => pn(Ue.language),
|
|
483
483
|
[Ue.language]
|
|
@@ -485,38 +485,38 @@ const Rn = Ms(
|
|
|
485
485
|
Lt ?? (B == null ? void 0 : B[0]) ?? "patient"
|
|
486
486
|
), es = Re ?? Jt, Xe = Me(
|
|
487
487
|
(e) => {
|
|
488
|
-
Re === void 0 && Zt(e),
|
|
488
|
+
Re === void 0 && Zt(e), ae == null || ae(e);
|
|
489
489
|
},
|
|
490
|
-
[Re,
|
|
490
|
+
[Re, ae]
|
|
491
491
|
), j = It ?? ln, [ts, ss] = R(
|
|
492
492
|
Ht ?? j.status
|
|
493
493
|
), [ns, rs] = R(j.type), [os, as] = R(
|
|
494
494
|
j.assignee
|
|
495
495
|
), [is, cs] = R(
|
|
496
|
-
|
|
497
|
-
), O = Ve ?? ts, M = Oe !== void 0 ? Oe : ns, I = De !== void 0 ? De : os,
|
|
496
|
+
$t ?? j.overdueOnly
|
|
497
|
+
), O = Ve ?? ts, M = Oe !== void 0 ? Oe : ns, I = De !== void 0 ? De : os, q = Ce ?? is, Je = p ? q && O !== "done" : q, ve = v({
|
|
498
498
|
status: O,
|
|
499
499
|
type: M,
|
|
500
500
|
assignee: I,
|
|
501
|
-
overdueOnly:
|
|
501
|
+
overdueOnly: q
|
|
502
502
|
});
|
|
503
|
-
|
|
503
|
+
ve.current = {
|
|
504
504
|
status: O,
|
|
505
505
|
type: M,
|
|
506
506
|
assignee: I,
|
|
507
|
-
overdueOnly:
|
|
507
|
+
overdueOnly: q
|
|
508
508
|
};
|
|
509
|
-
const
|
|
509
|
+
const W = (e) => {
|
|
510
510
|
const t = Object.fromEntries(
|
|
511
511
|
Object.entries(e).filter(
|
|
512
|
-
([l]) =>
|
|
512
|
+
([l]) => $[l]
|
|
513
513
|
)
|
|
514
514
|
);
|
|
515
515
|
if (Object.keys(e).length > 0 && Object.keys(t).length === 0)
|
|
516
516
|
return;
|
|
517
|
-
const s =
|
|
518
|
-
r !== s && i.add("overdueOnly"), p && n.status === "done" && n.overdueOnly && (t.status !== void 0 ? (n.overdueOnly = !1, i.add("overdueOnly")) : (n.status = j.status === "done" ? "todo" : j.status, i.add("status"))),
|
|
519
|
-
}, ds = () =>
|
|
517
|
+
const s = ve.current, r = p && s.status === "done" && s.overdueOnly ? { ...s, overdueOnly: !1 } : s, n = { ...r, ...t }, i = new Set(Object.keys(t));
|
|
518
|
+
r !== s && i.add("overdueOnly"), p && n.status === "done" && n.overdueOnly && (t.status !== void 0 ? (n.overdueOnly = !1, i.add("overdueOnly")) : (n.status = j.status === "done" ? "todo" : j.status, i.add("status"))), ve.current = n, Ve === void 0 && ss(n.status), Oe === void 0 && rs(n.type), De === void 0 && as(n.assignee), Ce === void 0 && cs(n.overdueOnly), i.has("status") && (ce == null || ce(n.status)), i.has("type") && (le == null || le(n.type)), i.has("assignee") && (fe == null || fe(n.assignee)), i.has("overdueOnly") && (pe == null || pe(n.overdueOnly)), un(s, n) || L == null || L(n);
|
|
519
|
+
}, ds = () => W({ ...j }), [F, ls] = R(Nt), T = v(Nt), [Ze, us] = R(jt), Q = v(jt), X = v(!0), je = v(/* @__PURE__ */ new Set());
|
|
520
520
|
G(() => {
|
|
521
521
|
X.current = !0;
|
|
522
522
|
const e = je.current;
|
|
@@ -534,7 +534,7 @@ const Rn = Ms(
|
|
|
534
534
|
e(t), Q.current = t, us(t);
|
|
535
535
|
}, K = z(() => p ? o.filter((e) => !Ze.has(e.id)) : o.filter((e) => {
|
|
536
536
|
const t = e.status === "done";
|
|
537
|
-
return !(O === "todo" && t || O === "done" && !t || M && e.type !== M || I && (e.assignee ?? "") !== I ||
|
|
537
|
+
return !(O === "todo" && t || O === "done" && !t || M && e.type !== M || I && (e.assignee ?? "") !== I || q && !Sn(e, me));
|
|
538
538
|
}), [
|
|
539
539
|
p,
|
|
540
540
|
Ze,
|
|
@@ -542,27 +542,27 @@ const Rn = Ms(
|
|
|
542
542
|
O,
|
|
543
543
|
M,
|
|
544
544
|
I,
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
]),
|
|
545
|
+
q,
|
|
546
|
+
me
|
|
547
|
+
]), ge = z(() => Tn(K, me, (t) => {
|
|
548
548
|
if (p) {
|
|
549
549
|
const s = F.get(t.id);
|
|
550
550
|
if ((s == null ? void 0 : s.kind) === "done" && s.next !== void 0 && !s.leaves)
|
|
551
551
|
return s.next;
|
|
552
552
|
}
|
|
553
553
|
return t.status === "done";
|
|
554
|
-
}), [K,
|
|
555
|
-
() =>
|
|
556
|
-
[
|
|
554
|
+
}), [K, me, p, F]), _e = z(
|
|
555
|
+
() => ge.flatMap((e) => e.items.map((t) => t.id)),
|
|
556
|
+
[ge]
|
|
557
557
|
), J = v(null), et = v(null), [fs, ps] = R(!1), [ms, vs] = R(!1), Z = Me(() => {
|
|
558
558
|
const e = J.current;
|
|
559
559
|
if (!e) return;
|
|
560
560
|
const { scrollTop: t, scrollHeight: s, clientHeight: r } = e;
|
|
561
561
|
ps(t > 1), vs(t + r < s - 1);
|
|
562
562
|
}, []);
|
|
563
|
-
|
|
563
|
+
qe(() => {
|
|
564
564
|
Z();
|
|
565
|
-
}, [
|
|
565
|
+
}, [ge, Z]), qe(() => {
|
|
566
566
|
const e = J.current;
|
|
567
567
|
if (!e || typeof ResizeObserver > "u") return;
|
|
568
568
|
const t = new ResizeObserver(Z);
|
|
@@ -570,7 +570,7 @@ const Rn = Ms(
|
|
|
570
570
|
}, [Z]);
|
|
571
571
|
const tt = p ? Ee === !0 : Ee ?? !!H, _ = v(o);
|
|
572
572
|
_.current = o;
|
|
573
|
-
const
|
|
573
|
+
const gs = z(() => We(o), [o]), he = z(
|
|
574
574
|
() => o.map((e) => e.id).join("|"),
|
|
575
575
|
[o]
|
|
576
576
|
), st = v(he);
|
|
@@ -579,28 +579,28 @@ const Rn = Ms(
|
|
|
579
579
|
G(() => {
|
|
580
580
|
nt.current && !w && !P && (ee.current += 1), nt.current = w;
|
|
581
581
|
}, [w, P]);
|
|
582
|
-
const
|
|
583
|
-
|
|
582
|
+
const ye = v(!0), rt = v(""), ot = v(0), ze = () => {
|
|
583
|
+
ye.current = !1, rt.current = st.current, ot.current = ee.current, H == null || H();
|
|
584
584
|
};
|
|
585
585
|
G(() => {
|
|
586
|
-
|
|
586
|
+
ye.current || (he !== rt.current || ee.current > ot.current) && (ye.current = !0);
|
|
587
587
|
}, [he, w, P]);
|
|
588
|
-
const
|
|
588
|
+
const hs = () => {
|
|
589
589
|
Z();
|
|
590
590
|
const e = J.current;
|
|
591
591
|
if (!e) return;
|
|
592
592
|
const { scrollTop: t, scrollHeight: s, clientHeight: r } = e;
|
|
593
|
-
H && tt && !w && !Y &&
|
|
594
|
-
}, {
|
|
593
|
+
H && tt && !w && !Y && ye.current && s - t - r <= dn && ze();
|
|
594
|
+
}, te = v(null), { isAccessible: ys } = Fs(te), ke = ys || void 0, { containerRef: ks } = Ys({
|
|
595
595
|
key: _e.join(),
|
|
596
|
-
reduceMotion:
|
|
597
|
-
}),
|
|
598
|
-
const { status: t, overdueOnly: s } =
|
|
596
|
+
reduceMotion: ke
|
|
597
|
+
}), se = Dt({ delayMs: 200, reduceMotion: ke }), ne = Dt({ reduceMotion: ke }), Be = (e) => se.isLeaving(e) || ne.isLeaving(e), bs = (e) => {
|
|
598
|
+
const { status: t, overdueOnly: s } = ve.current;
|
|
599
599
|
return t === "todo" && e || t === "done" && !e || (p ? s && t !== "done" : s) && e;
|
|
600
600
|
}, at = (e) => {
|
|
601
|
-
T.current.has(e) && A((t) => t.delete(e)), Q.current.has(e) && Ae((t) => t.delete(e)),
|
|
601
|
+
T.current.has(e) && A((t) => t.delete(e)), Q.current.has(e) && Ae((t) => t.delete(e)), se.cancel(e), ne.cancel(e);
|
|
602
602
|
}, it = () => {
|
|
603
|
-
const e = _.current, t =
|
|
603
|
+
const e = _.current, t = We(e), s = new Map(e.map((i) => [i.id, i])), r = [], n = [];
|
|
604
604
|
T.current.forEach((i, l) => {
|
|
605
605
|
const m = s.get(l);
|
|
606
606
|
if (!m) {
|
|
@@ -611,7 +611,7 @@ const Rn = Ms(
|
|
|
611
611
|
const Bs = i.kind === "done" && m.status === "done" === i.next, Ls = ee.current > i.edgeAtSettle || t !== i.sigAtSettle;
|
|
612
612
|
(Bs || Ls) && (r.push(l), n.push(l));
|
|
613
613
|
}), r.length !== 0 && (A((i) => r.forEach((l) => i.delete(l))), r.some((i) => Q.current.has(i)) && Ae((i) => r.forEach((l) => i.delete(l))), n.forEach((i) => {
|
|
614
|
-
|
|
614
|
+
se.cancel(i), ne.cancel(i);
|
|
615
615
|
}));
|
|
616
616
|
}, ws = (e) => {
|
|
617
617
|
const t = T.current.get(e);
|
|
@@ -620,13 +620,13 @@ const Rn = Ms(
|
|
|
620
620
|
...t,
|
|
621
621
|
settled: !0,
|
|
622
622
|
edgeAtSettle: ee.current,
|
|
623
|
-
sigAtSettle:
|
|
623
|
+
sigAtSettle: We(_.current)
|
|
624
624
|
})
|
|
625
625
|
), it());
|
|
626
626
|
};
|
|
627
627
|
G(() => {
|
|
628
628
|
p && it();
|
|
629
|
-
}, [p,
|
|
629
|
+
}, [p, gs, w, P]);
|
|
630
630
|
const ct = (e, t, s, r) => {
|
|
631
631
|
const n = e.id;
|
|
632
632
|
A((m) => m.set(n, t));
|
|
@@ -651,7 +651,7 @@ const Rn = Ms(
|
|
|
651
651
|
}, V = (e) => ({
|
|
652
652
|
started: !1,
|
|
653
653
|
result: xe(new Error(`TasksPanel: ${e}`))
|
|
654
|
-
}),
|
|
654
|
+
}), re = (e) => {
|
|
655
655
|
X.current && T.current.has(e) && A((t) => t.delete(e));
|
|
656
656
|
}, dt = (e, t, s) => {
|
|
657
657
|
let r, n;
|
|
@@ -665,15 +665,15 @@ const Rn = Ms(
|
|
|
665
665
|
try {
|
|
666
666
|
l = s();
|
|
667
667
|
} catch (m) {
|
|
668
|
-
|
|
668
|
+
re(e), n(m);
|
|
669
669
|
return;
|
|
670
670
|
}
|
|
671
671
|
Promise.resolve(l).then(
|
|
672
672
|
() => {
|
|
673
|
-
|
|
673
|
+
re(e), r();
|
|
674
674
|
},
|
|
675
675
|
(m) => {
|
|
676
|
-
|
|
676
|
+
re(e), n(m);
|
|
677
677
|
}
|
|
678
678
|
);
|
|
679
679
|
}), i;
|
|
@@ -696,7 +696,7 @@ const Rn = Ms(
|
|
|
696
696
|
sigAtSettle: ""
|
|
697
697
|
},
|
|
698
698
|
() => D(e, r),
|
|
699
|
-
|
|
699
|
+
se
|
|
700
700
|
);
|
|
701
701
|
if (!n) {
|
|
702
702
|
let i;
|
|
@@ -714,8 +714,8 @@ const Rn = Ms(
|
|
|
714
714
|
sigAtSettle: ""
|
|
715
715
|
})
|
|
716
716
|
), i.then(
|
|
717
|
-
() =>
|
|
718
|
-
() =>
|
|
717
|
+
() => re(s),
|
|
718
|
+
() => re(s)
|
|
719
719
|
)), { started: !0, result: mn(i) };
|
|
720
720
|
}
|
|
721
721
|
return A(
|
|
@@ -729,7 +729,7 @@ const Rn = Ms(
|
|
|
729
729
|
})
|
|
730
730
|
), {
|
|
731
731
|
started: !0,
|
|
732
|
-
result: dt(s,
|
|
732
|
+
result: dt(s, se, () => D(e, r))
|
|
733
733
|
};
|
|
734
734
|
}, ut = (e) => {
|
|
735
735
|
if (S) return V("the panel is read-only.");
|
|
@@ -748,10 +748,10 @@ const Rn = Ms(
|
|
|
748
748
|
e,
|
|
749
749
|
s,
|
|
750
750
|
() => N(e),
|
|
751
|
-
|
|
751
|
+
ne
|
|
752
752
|
) : (A((r) => r.set(t, s)), {
|
|
753
753
|
started: !0,
|
|
754
|
-
result: dt(t,
|
|
754
|
+
result: dt(t, ne, () => N(e))
|
|
755
755
|
});
|
|
756
756
|
}, ft = Me(() => {
|
|
757
757
|
const e = J.current, t = et.current;
|
|
@@ -761,11 +761,11 @@ const Rn = Ms(
|
|
|
761
761
|
}
|
|
762
762
|
const s = t.getBoundingClientRect().top - e.getBoundingClientRect().top;
|
|
763
763
|
e.scrollTo({ top: e.scrollTop + s });
|
|
764
|
-
}, [])
|
|
765
|
-
Is(Gt, () =>
|
|
764
|
+
}, []);
|
|
765
|
+
Is(Gt, () => te.current, []);
|
|
766
766
|
const C = v(null), be = v(_e);
|
|
767
767
|
be.current = _e, G(() => {
|
|
768
|
-
const e =
|
|
768
|
+
const e = te.current;
|
|
769
769
|
if (!e) return;
|
|
770
770
|
const t = (r) => {
|
|
771
771
|
var l, m;
|
|
@@ -793,8 +793,8 @@ const Rn = Ms(
|
|
|
793
793
|
return e.addEventListener("focusin", t), e.addEventListener("focusout", s), () => {
|
|
794
794
|
e.removeEventListener("focusin", t), e.removeEventListener("focusout", s);
|
|
795
795
|
};
|
|
796
|
-
}, []),
|
|
797
|
-
const e = C.current, t =
|
|
796
|
+
}, []), qe(() => {
|
|
797
|
+
const e = C.current, t = te.current;
|
|
798
798
|
if (!e || !t) return;
|
|
799
799
|
if (e.el.isConnected) {
|
|
800
800
|
e.rowId && (e.index = be.current.indexOf(e.rowId));
|
|
@@ -817,7 +817,7 @@ const Rn = Ms(
|
|
|
817
817
|
onOpenTask: E,
|
|
818
818
|
loadMore: ze,
|
|
819
819
|
changeScope: Xe,
|
|
820
|
-
commitFilters:
|
|
820
|
+
commitFilters: W,
|
|
821
821
|
serverMode: p
|
|
822
822
|
};
|
|
823
823
|
const Ps = z(() => {
|
|
@@ -857,7 +857,7 @@ const Rn = Ms(
|
|
|
857
857
|
if (!e.type) return null;
|
|
858
858
|
const t = bn[e.type], s = (t == null ? void 0 : t.variant) ?? "neutral", r = (t == null ? void 0 : t.Icon) ?? _t, n = e.typeLabel || Xt[e.type] || d("tasksPanel.types.other");
|
|
859
859
|
return /* @__PURE__ */ c(
|
|
860
|
-
|
|
860
|
+
qs,
|
|
861
861
|
{
|
|
862
862
|
variant: s,
|
|
863
863
|
size: "sm",
|
|
@@ -866,7 +866,7 @@ const Rn = Ms(
|
|
|
866
866
|
}
|
|
867
867
|
);
|
|
868
868
|
}, Ss = (e) => S ? null : /* @__PURE__ */ b(we, { children: [
|
|
869
|
-
|
|
869
|
+
oe ? /* @__PURE__ */ c(
|
|
870
870
|
He,
|
|
871
871
|
{
|
|
872
872
|
icon: /* @__PURE__ */ c(Zs, {}),
|
|
@@ -874,7 +874,7 @@ const Rn = Ms(
|
|
|
874
874
|
size: "sm",
|
|
875
875
|
"aria-label": d("tasksPanel.edit"),
|
|
876
876
|
"data-action": "edit-task",
|
|
877
|
-
onClick: () =>
|
|
877
|
+
onClick: () => oe(e)
|
|
878
878
|
}
|
|
879
879
|
) : null,
|
|
880
880
|
N ? /* @__PURE__ */ c(
|
|
@@ -907,25 +907,25 @@ const Rn = Ms(
|
|
|
907
907
|
},
|
|
908
908
|
e
|
|
909
909
|
), vt = /* @__PURE__ */ c("div", { className: "ds:flex-1 ds:min-h-0 ds:p-[var(--spacing-md)]", children: typeof P == "boolean" ? /* @__PURE__ */ c(
|
|
910
|
-
|
|
910
|
+
$e,
|
|
911
911
|
{
|
|
912
912
|
variant: "error",
|
|
913
913
|
size: "sm",
|
|
914
914
|
title: d("tasksPanel.error.title"),
|
|
915
915
|
description: d("tasksPanel.error.description"),
|
|
916
|
-
primaryAction:
|
|
916
|
+
primaryAction: ie ? { label: d("emptyState.error.cta"), onClick: ie } : void 0
|
|
917
917
|
}
|
|
918
|
-
) : P }), Le = /* @__PURE__ */ c("div", { className: "ds:flex-1 ds:min-h-0 ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [0, 1, 2, 3].map((e) => mt(`skeleton-${e}`)) }),
|
|
919
|
-
|
|
918
|
+
) : P }), Le = /* @__PURE__ */ c("div", { className: "ds:flex-1 ds:min-h-0 ds:flex ds:flex-col ds:gap-[var(--spacing-sm)]", children: [0, 1, 2, 3].map((e) => mt(`skeleton-${e}`)) }), gt = /* @__PURE__ */ c("div", { className: "ds:flex-1 ds:min-h-0 ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ c(
|
|
919
|
+
$e,
|
|
920
920
|
{
|
|
921
921
|
variant: "first-use",
|
|
922
922
|
size: "sm",
|
|
923
|
-
title:
|
|
924
|
-
description:
|
|
923
|
+
title: qt ?? d("tasksPanel.empty.title"),
|
|
924
|
+
description: Wt ?? d("tasksPanel.empty.description"),
|
|
925
925
|
primaryAction: Kt
|
|
926
926
|
}
|
|
927
|
-
) }), Es = Object.values(
|
|
928
|
-
|
|
927
|
+
) }), Es = Object.values($).some(Boolean), ht = /* @__PURE__ */ c("div", { className: "ds:flex-1 ds:min-h-0 ds:p-[var(--spacing-md)]", children: /* @__PURE__ */ c(
|
|
928
|
+
$e,
|
|
929
929
|
{
|
|
930
930
|
variant: "no-results",
|
|
931
931
|
size: "sm",
|
|
@@ -938,7 +938,7 @@ const Rn = Ms(
|
|
|
938
938
|
}
|
|
939
939
|
) }), Os = p && P ? /* @__PURE__ */ c("div", { className: "ds:shrink-0 ds:px-[var(--spacing-md)] ds:pt-[var(--spacing-xs)]", children: typeof P == "boolean" ? /* @__PURE__ */ b(Ie, { variant: "error", children: [
|
|
940
940
|
/* @__PURE__ */ c(Ie.Title, { as: "p", children: d("tasksPanel.error.title") }),
|
|
941
|
-
|
|
941
|
+
ie ? /* @__PURE__ */ c(Ie.Action, { children: /* @__PURE__ */ c(Pe, { intent: "outline", size: "sm", onClick: ie, children: d("emptyState.error.cta") }) }) : null
|
|
942
942
|
] }) : P }) : null, yt = /* @__PURE__ */ b(we, { children: [
|
|
943
943
|
Os,
|
|
944
944
|
/* @__PURE__ */ b(
|
|
@@ -948,18 +948,18 @@ const Rn = Ms(
|
|
|
948
948
|
J.current = e, ks.current = e;
|
|
949
949
|
},
|
|
950
950
|
tabIndex: 0,
|
|
951
|
-
onScroll:
|
|
951
|
+
onScroll: hs,
|
|
952
952
|
"data-tasks-panel-region": "",
|
|
953
953
|
"data-fade-top": fs ? "true" : void 0,
|
|
954
954
|
"data-fade-bottom": ms ? "true" : void 0,
|
|
955
|
-
className:
|
|
955
|
+
className: gn,
|
|
956
956
|
children: [
|
|
957
957
|
/* @__PURE__ */ c(
|
|
958
958
|
"ol",
|
|
959
959
|
{
|
|
960
960
|
"aria-busy": w || void 0,
|
|
961
961
|
className: "ds:m-0 ds:flex ds:list-none ds:flex-col ds:gap-[var(--spacing-md)] ds:p-0",
|
|
962
|
-
children:
|
|
962
|
+
children: ge.map((e) => /* @__PURE__ */ b(
|
|
963
963
|
"li",
|
|
964
964
|
{
|
|
965
965
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-2xs)]",
|
|
@@ -994,11 +994,11 @@ const Rn = Ms(
|
|
|
994
994
|
label: d("tasksPanel.doneItem", {
|
|
995
995
|
title: t.title
|
|
996
996
|
}),
|
|
997
|
-
reduceMotion:
|
|
997
|
+
reduceMotion: ke,
|
|
998
998
|
onToggle: Rs
|
|
999
999
|
}
|
|
1000
1000
|
) : void 0,
|
|
1001
|
-
className: `${
|
|
1001
|
+
className: `${hn} ${At}${Be(t.id) ? ` ${zt}` : ""}`,
|
|
1002
1002
|
"data-leaving": Be(t.id) ? "" : void 0,
|
|
1003
1003
|
"data-reflow-id": t.id,
|
|
1004
1004
|
"data-task-id": t.id
|
|
@@ -1041,8 +1041,8 @@ const Rn = Ms(
|
|
|
1041
1041
|
},
|
|
1042
1042
|
j
|
|
1043
1043
|
);
|
|
1044
|
-
P && K.length === 0 ? x = vt : K.length === 0 && (w || e) ? x = Le : K.length === 0 ? x = t ?
|
|
1045
|
-
} else P ? x = vt : w ? x = Le : o.length === 0 ? x =
|
|
1044
|
+
P && K.length === 0 ? x = vt : K.length === 0 && (w || e) ? x = Le : K.length === 0 ? x = t ? ht : gt : x = yt;
|
|
1045
|
+
} else P ? x = vt : w ? x = Le : o.length === 0 ? x = gt : K.length === 0 ? x = ht : x = yt;
|
|
1046
1046
|
const kt = x === Le, [Ds, Ns] = R(!1);
|
|
1047
1047
|
G(() => {
|
|
1048
1048
|
Ns(kt);
|
|
@@ -1069,7 +1069,7 @@ const Rn = Ms(
|
|
|
1069
1069
|
"data-action": "add-task",
|
|
1070
1070
|
onClick: U
|
|
1071
1071
|
}
|
|
1072
|
-
) : void 0, wt =
|
|
1072
|
+
) : void 0, wt = $.status, Pt = !!(de != null && de.length) && $.type, xt = !!(ue != null && ue.length) && $.assignee, St = $.overdueOnly, Tt = Mt && (wt || Pt || xt || St), zs = bt || Tt ? /* @__PURE__ */ b("div", { className: "ds:flex ds:w-full ds:flex-col ds:gap-[var(--spacing-sm)]", children: [
|
|
1073
1073
|
bt ? /* @__PURE__ */ c(Et, { label: d("tasksPanel.scope.label"), children: B.map((e) => {
|
|
1074
1074
|
const t = es === e;
|
|
1075
1075
|
return /* @__PURE__ */ c(
|
|
@@ -1094,7 +1094,7 @@ const Rn = Ms(
|
|
|
1094
1094
|
size: "sm",
|
|
1095
1095
|
"aria-pressed": t,
|
|
1096
1096
|
"data-status-filter": e,
|
|
1097
|
-
onClick: () =>
|
|
1097
|
+
onClick: () => W({ status: e }),
|
|
1098
1098
|
children: Yt[e]
|
|
1099
1099
|
},
|
|
1100
1100
|
e
|
|
@@ -1107,9 +1107,9 @@ const Rn = Ms(
|
|
|
1107
1107
|
clearable: !0,
|
|
1108
1108
|
"aria-label": d("tasksPanel.type.label"),
|
|
1109
1109
|
placeholder: d("tasksPanel.type.placeholder"),
|
|
1110
|
-
options:
|
|
1110
|
+
options: de,
|
|
1111
1111
|
value: M ?? "",
|
|
1112
|
-
onValueChange: (e) =>
|
|
1112
|
+
onValueChange: (e) => W({ type: e || null })
|
|
1113
1113
|
}
|
|
1114
1114
|
) : null,
|
|
1115
1115
|
xt ? /* @__PURE__ */ c(
|
|
@@ -1119,9 +1119,9 @@ const Rn = Ms(
|
|
|
1119
1119
|
clearable: !0,
|
|
1120
1120
|
"aria-label": d("tasksPanel.assignee.label"),
|
|
1121
1121
|
placeholder: d("tasksPanel.assignee.placeholder"),
|
|
1122
|
-
options:
|
|
1122
|
+
options: ue,
|
|
1123
1123
|
value: I ?? "",
|
|
1124
|
-
onValueChange: (e) =>
|
|
1124
|
+
onValueChange: (e) => W({ assignee: e || null })
|
|
1125
1125
|
}
|
|
1126
1126
|
) : null,
|
|
1127
1127
|
St ? /* @__PURE__ */ c(
|
|
@@ -1132,7 +1132,7 @@ const Rn = Ms(
|
|
|
1132
1132
|
label: d("tasksPanel.overdueOnly"),
|
|
1133
1133
|
checked: Je,
|
|
1134
1134
|
disabled: p && O === "done",
|
|
1135
|
-
onCheckedChange: (e) =>
|
|
1135
|
+
onCheckedChange: (e) => W({ overdueOnly: e })
|
|
1136
1136
|
}
|
|
1137
1137
|
) : null
|
|
1138
1138
|
] }) : null
|
|
@@ -1140,7 +1140,7 @@ const Rn = Ms(
|
|
|
1140
1140
|
return /* @__PURE__ */ b(
|
|
1141
1141
|
"section",
|
|
1142
1142
|
{
|
|
1143
|
-
ref:
|
|
1143
|
+
ref: te,
|
|
1144
1144
|
"data-component": "tasks-panel",
|
|
1145
1145
|
"data-component-id": a,
|
|
1146
1146
|
"aria-labelledby": Ge ? void 0 : Ye,
|
|
@@ -1149,7 +1149,7 @@ const Rn = Ms(
|
|
|
1149
1149
|
...Ct,
|
|
1150
1150
|
children: [
|
|
1151
1151
|
/* @__PURE__ */ c(
|
|
1152
|
-
|
|
1152
|
+
Ws,
|
|
1153
1153
|
{
|
|
1154
1154
|
title: js,
|
|
1155
1155
|
titleTooltip: u === void 0 ? void 0 : d("tasksPanel.titleWithCount", {
|
|
@@ -1173,8 +1173,8 @@ Rn.displayName = "TasksPanel";
|
|
|
1173
1173
|
function En({
|
|
1174
1174
|
bucketKey: a,
|
|
1175
1175
|
countLabel: o,
|
|
1176
|
-
showCount:
|
|
1177
|
-
label:
|
|
1176
|
+
showCount: g = !0,
|
|
1177
|
+
label: h,
|
|
1178
1178
|
headerRef: k,
|
|
1179
1179
|
reflowId: u,
|
|
1180
1180
|
leaving: f = !1
|
|
@@ -1206,8 +1206,8 @@ function En({
|
|
|
1206
1206
|
className: "ds:size-1.5 ds:shrink-0 ds:rounded-[var(--radius-full)] ds:bg-[color:var(--primary)]"
|
|
1207
1207
|
}
|
|
1208
1208
|
) : null,
|
|
1209
|
-
|
|
1210
|
-
|
|
1209
|
+
h,
|
|
1210
|
+
g ? /* @__PURE__ */ c(
|
|
1211
1211
|
"span",
|
|
1212
1212
|
{
|
|
1213
1213
|
"data-bucket-count": "",
|
|
@@ -1223,4 +1223,4 @@ export {
|
|
|
1223
1223
|
Rn as T,
|
|
1224
1224
|
cn as t
|
|
1225
1225
|
};
|
|
1226
|
-
//# sourceMappingURL=tasks-panel-
|
|
1226
|
+
//# sourceMappingURL=tasks-panel-DsjfS_k5.js.map
|