@alfadocs/ui-kit-debug 1.50.0 → 1.51.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-DMittsR3.js → actions-cell-renderer-DBI33cMp.js} +4 -4
- package/dist/_chunks/{actions-cell-renderer-DMittsR3.js.map → actions-cell-renderer-DBI33cMp.js.map} +1 -1
- package/dist/_chunks/{agenda-tray-BhZASyJm.js → agenda-tray-CGhEEnFE.js} +3 -3
- package/dist/_chunks/{agenda-tray-BhZASyJm.js.map → agenda-tray-CGhEEnFE.js.map} +1 -1
- package/dist/_chunks/{ai-credits-notice-C-kz_RrY.js → ai-credits-notice-C9K_ley1.js} +3 -3
- package/dist/_chunks/{ai-credits-notice-C-kz_RrY.js.map → ai-credits-notice-C9K_ley1.js.map} +1 -1
- package/dist/_chunks/{ai-permission-notice-BRZeS3mT.js → ai-permission-notice-DMG1o4Qa.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-BRZeS3mT.js.map → ai-permission-notice-DMG1o4Qa.js.map} +1 -1
- package/dist/_chunks/{ai-prompt-input-CxvnXsAs.js → ai-prompt-input-ucwO-z8g.js} +2 -2
- package/dist/_chunks/{ai-prompt-input-CxvnXsAs.js.map → ai-prompt-input-ucwO-z8g.js.map} +1 -1
- package/dist/_chunks/{alia-sidebar-Dx-oeOV2.js → alia-sidebar-K3gaNH94.js} +7 -7
- package/dist/_chunks/{alia-sidebar-Dx-oeOV2.js.map → alia-sidebar-K3gaNH94.js.map} +1 -1
- package/dist/_chunks/{anamnesis-card-D8Si-2GV.js → anamnesis-card-CPjry4ur.js} +2 -2
- package/dist/_chunks/{anamnesis-card-D8Si-2GV.js.map → anamnesis-card-CPjry4ur.js.map} +1 -1
- package/dist/_chunks/{anamnesis-summary-rows-CZirLRuv.js → anamnesis-summary-rows-D9LZZHLw.js} +9 -9
- package/dist/_chunks/{anamnesis-summary-rows-CZirLRuv.js.map → anamnesis-summary-rows-D9LZZHLw.js.map} +1 -1
- package/dist/_chunks/{appointment-card-BgLpE6T5.js → appointment-card-DETaIfBb.js} +2 -2
- package/dist/_chunks/{appointment-card-BgLpE6T5.js.map → appointment-card-DETaIfBb.js.map} +1 -1
- package/dist/_chunks/{appointment-peek-Dk11UOVW.js → appointment-peek-B79v56Zc.js} +4 -4
- package/dist/_chunks/{appointment-peek-Dk11UOVW.js.map → appointment-peek-B79v56Zc.js.map} +1 -1
- package/dist/_chunks/{appointment-timeline-wQ-PdkFV.js → appointment-timeline-tyJJPgVU.js} +5 -5
- package/dist/_chunks/{appointment-timeline-wQ-PdkFV.js.map → appointment-timeline-tyJJPgVU.js.map} +1 -1
- package/dist/_chunks/{appointment-tray-D7Gt6m8x.js → appointment-tray-Dq4zto_L.js} +4 -4
- package/dist/_chunks/{appointment-tray-D7Gt6m8x.js.map → appointment-tray-Dq4zto_L.js.map} +1 -1
- package/dist/_chunks/{audio-recorder-DZBtAvLH.js → audio-recorder-Ddlp5rVg.js} +3 -3
- package/dist/_chunks/{audio-recorder-DZBtAvLH.js.map → audio-recorder-Ddlp5rVg.js.map} +1 -1
- package/dist/_chunks/{balance-badge-cell-klaxFNL_.js → balance-badge-cell-BCEsdEOe.js} +4 -4
- package/dist/_chunks/{balance-badge-cell-klaxFNL_.js.map → balance-badge-cell-BCEsdEOe.js.map} +1 -1
- package/dist/_chunks/{bishop-score-BMLRvXYF.js → bishop-score-1NAiZh0K.js} +2 -2
- package/dist/_chunks/{bishop-score-BMLRvXYF.js.map → bishop-score-1NAiZh0K.js.map} +1 -1
- package/dist/_chunks/{bmi-calculator-DUhRyyrA.js → bmi-calculator-ZzzPZhhI.js} +2 -2
- package/dist/_chunks/{bmi-calculator-DUhRyyrA.js.map → bmi-calculator-ZzzPZhhI.js.map} +1 -1
- package/dist/_chunks/{booking-Cdzd8kyY.js → booking-DmyX24Ls.js} +5 -5
- package/dist/_chunks/{booking-Cdzd8kyY.js.map → booking-DmyX24Ls.js.map} +1 -1
- package/dist/_chunks/{button-18oBsI3n.js → button-CYPx2xFq.js} +38 -36
- package/dist/_chunks/button-CYPx2xFq.js.map +1 -0
- package/dist/_chunks/{button-group-BSDqso_C.js → button-group-t9RrsCS6.js} +3 -3
- package/dist/_chunks/{button-group-BSDqso_C.js.map → button-group-t9RrsCS6.js.map} +1 -1
- package/dist/_chunks/{calendar-zpE9qTM4.js → calendar-aqzmITxw.js} +543 -508
- package/dist/_chunks/calendar-aqzmITxw.js.map +1 -0
- package/dist/_chunks/{calendar-event-card-DplPh1wv.js → calendar-event-card-DyFSIehr.js} +148 -145
- package/dist/_chunks/{calendar-event-card-DplPh1wv.js.map → calendar-event-card-DyFSIehr.js.map} +1 -1
- package/dist/_chunks/calendar-workspace-BqoPkCUp.js +10597 -0
- package/dist/_chunks/calendar-workspace-BqoPkCUp.js.map +1 -0
- package/dist/_chunks/{care-plan-card-ciBaaguw.js → care-plan-card-amX33mMF.js} +2 -2
- package/dist/_chunks/{care-plan-card-ciBaaguw.js.map → care-plan-card-amX33mMF.js.map} +1 -1
- package/dist/_chunks/{care-plan-entry-card-D7A0whiZ.js → care-plan-entry-card-DNkEucjN.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-D7A0whiZ.js.map → care-plan-entry-card-DNkEucjN.js.map} +1 -1
- package/dist/_chunks/{care-plan-header-DKV1gLqv.js → care-plan-header-CJi853Rf.js} +2 -2
- package/dist/_chunks/{care-plan-header-DKV1gLqv.js.map → care-plan-header-CJi853Rf.js.map} +1 -1
- package/dist/_chunks/{carousel.agent-DqDGR2yH.js → carousel.agent-2EhJsAtl.js} +2 -2
- package/dist/_chunks/{carousel.agent-DqDGR2yH.js.map → carousel.agent-2EhJsAtl.js.map} +1 -1
- package/dist/_chunks/{chart-VjuXDXOZ.js → chart-B2HnwMP5.js} +3 -3
- package/dist/_chunks/{chart-VjuXDXOZ.js.map → chart-B2HnwMP5.js.map} +1 -1
- package/dist/_chunks/{chat-input-BVho_SqP.js → chat-input-CHUsUFOD.js} +2 -2
- package/dist/_chunks/{chat-input-BVho_SqP.js.map → chat-input-CHUsUFOD.js.map} +1 -1
- package/dist/_chunks/{chat-message-B4ihjNy3.js → chat-message-DTcRGhNo.js} +3 -3
- package/dist/_chunks/{chat-message-B4ihjNy3.js.map → chat-message-DTcRGhNo.js.map} +1 -1
- package/dist/_chunks/{code-block-C_eNHWaa.js → code-block-BrwcZNPq.js} +2 -2
- package/dist/_chunks/{code-block-C_eNHWaa.js.map → code-block-BrwcZNPq.js.map} +1 -1
- package/dist/_chunks/{connection-status-Cfux3TvH.js → connection-status-DMheLE65.js} +3 -3
- package/dist/_chunks/{connection-status-Cfux3TvH.js.map → connection-status-DMheLE65.js.map} +1 -1
- package/dist/_chunks/{contact-profile-card-Dj4NgBL-.js → contact-profile-card-zQLGGFKG.js} +2 -2
- package/dist/_chunks/{contact-profile-card-Dj4NgBL-.js.map → contact-profile-card-zQLGGFKG.js.map} +1 -1
- package/dist/_chunks/{control-room-rail-DAO0qfOI.js → control-room-rail-5iuM3jcm.js} +3 -3
- package/dist/_chunks/{control-room-rail-DAO0qfOI.js.map → control-room-rail-5iuM3jcm.js.map} +1 -1
- package/dist/_chunks/{copy-field-Cm4y5Bff.js → copy-field-C-KvrgOG.js} +2 -2
- package/dist/_chunks/{copy-field-Cm4y5Bff.js.map → copy-field-C-KvrgOG.js.map} +1 -1
- package/dist/_chunks/{cycle-calculator-B9lBRNiZ.js → cycle-calculator-DQMCeEzn.js} +2 -2
- package/dist/_chunks/{cycle-calculator-B9lBRNiZ.js.map → cycle-calculator-DQMCeEzn.js.map} +1 -1
- package/dist/_chunks/{dashboard-grid-uX7x1ePj.js → dashboard-grid-H7uph3HO.js} +2 -2
- package/dist/_chunks/{dashboard-grid-uX7x1ePj.js.map → dashboard-grid-H7uph3HO.js.map} +1 -1
- package/dist/_chunks/{data-table-CrI3_bjH.js → data-table-C4yPR89K.js} +7 -7
- package/dist/_chunks/{data-table-CrI3_bjH.js.map → data-table-C4yPR89K.js.map} +1 -1
- package/dist/_chunks/{data-table-tabs-CzYYKp2_.js → data-table-tabs-Dd_O1nPY.js} +3 -3
- package/dist/_chunks/{data-table-tabs-CzYYKp2_.js.map → data-table-tabs-Dd_O1nPY.js.map} +1 -1
- package/dist/_chunks/{description-list-1A2DEbE6.js → description-list-DOPu69Jg.js} +2 -2
- package/dist/_chunks/{description-list-1A2DEbE6.js.map → description-list-DOPu69Jg.js.map} +1 -1
- package/dist/_chunks/{document-preview-Od2Hz4z5.js → document-preview-Dzh1YAz8.js} +3 -3
- package/dist/_chunks/{document-preview-Od2Hz4z5.js.map → document-preview-Dzh1YAz8.js.map} +1 -1
- package/dist/_chunks/{document-scanner-p0aGlzCy.js → document-scanner-BSVwMR4V.js} +2 -2
- package/dist/_chunks/{document-scanner-p0aGlzCy.js.map → document-scanner-BSVwMR4V.js.map} +1 -1
- package/dist/_chunks/dropdown-menu-DIzxr_lp.js +594 -0
- package/dist/_chunks/dropdown-menu-DIzxr_lp.js.map +1 -0
- package/dist/_chunks/{due-date-calculator-BVqJaxzd.js → due-date-calculator-DUjw4w5O.js} +2 -2
- package/dist/_chunks/{due-date-calculator-BVqJaxzd.js.map → due-date-calculator-DUjw4w5O.js.map} +1 -1
- package/dist/_chunks/{editable-currency-cell-renderer-D_G2Ap61.js → editable-currency-cell-renderer-Cch3RIJL.js} +3 -3
- package/dist/_chunks/{editable-currency-cell-renderer-D_G2Ap61.js.map → editable-currency-cell-renderer-Cch3RIJL.js.map} +1 -1
- package/dist/_chunks/{editable-description-B4NVdjvd.js → editable-description-CRQib91p.js} +3 -3
- package/dist/_chunks/{editable-description-B4NVdjvd.js.map → editable-description-CRQib91p.js.map} +1 -1
- package/dist/_chunks/{editor-overlay-BDiBvQmL.js → editor-overlay-DsA7vR5C.js} +2 -2
- package/dist/_chunks/{editor-overlay-BDiBvQmL.js.map → editor-overlay-DsA7vR5C.js.map} +1 -1
- package/dist/_chunks/{empty-state-DTBZ1ENT.js → empty-state-Ck1wVWdN.js} +2 -2
- package/dist/_chunks/{empty-state-DTBZ1ENT.js.map → empty-state-Ck1wVWdN.js.map} +1 -1
- package/dist/_chunks/{entity-summary-CFJfBdVP.js → entity-summary-Cvs21xPr.js} +3 -3
- package/dist/_chunks/{entity-summary-CFJfBdVP.js.map → entity-summary-Cvs21xPr.js.map} +1 -1
- package/dist/_chunks/{error-boundary-BxTqEXqj.js → error-boundary-C_HAzVLO.js} +2 -2
- package/dist/_chunks/{error-boundary-BxTqEXqj.js.map → error-boundary-C_HAzVLO.js.map} +1 -1
- package/dist/_chunks/{face-scheme-fku-RShg.js → face-scheme-DVZZTuXT.js} +5 -5
- package/dist/_chunks/{face-scheme-fku-RShg.js.map → face-scheme-DVZZTuXT.js.map} +1 -1
- package/dist/_chunks/{fetal-weight-B69yOS9W.js → fetal-weight-B-lO-948.js} +2 -2
- package/dist/_chunks/{fetal-weight-B69yOS9W.js.map → fetal-weight-B-lO-948.js.map} +1 -1
- package/dist/_chunks/{field-array-lIXrFWS0.js → field-array-B3IDOct8.js} +3 -3
- package/dist/_chunks/{field-array-lIXrFWS0.js.map → field-array-B3IDOct8.js.map} +1 -1
- package/dist/_chunks/{file-manager-C6QQPQV5.js → file-manager-COUb-w8j.js} +7 -7
- package/dist/_chunks/{file-manager-C6QQPQV5.js.map → file-manager-COUb-w8j.js.map} +1 -1
- package/dist/_chunks/{finished-terminal-B2oqXO0Y.js → finished-terminal-BrAWwfOw.js} +2 -2
- package/dist/_chunks/{finished-terminal-B2oqXO0Y.js.map → finished-terminal-BrAWwfOw.js.map} +1 -1
- package/dist/_chunks/{fiscal-code-input-BEF8eKIG.js → fiscal-code-input-CwUwhUZy.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-BEF8eKIG.js.map → fiscal-code-input-CwUwhUZy.js.map} +1 -1
- package/dist/_chunks/floating-action-button-pojvb9gG.js.map +1 -1
- package/dist/_chunks/{freemium-paywall-B6JITu4l.js → freemium-paywall-DiPJrL18.js} +2 -2
- package/dist/_chunks/{freemium-paywall-B6JITu4l.js.map → freemium-paywall-DiPJrL18.js.map} +1 -1
- package/dist/_chunks/{gestational-age-calculator-DsGN6_HS.js → gestational-age-calculator-BVPtrWKf.js} +2 -2
- package/dist/_chunks/{gestational-age-calculator-DsGN6_HS.js.map → gestational-age-calculator-BVPtrWKf.js.map} +1 -1
- package/dist/_chunks/{hcg-doubling-D2SH-e7t.js → hcg-doubling-CPktiA3H.js} +2 -2
- package/dist/_chunks/{hcg-doubling-D2SH-e7t.js.map → hcg-doubling-CPktiA3H.js.map} +1 -1
- package/dist/_chunks/{header-CCjp5GvE.js → header-C8NbLgVq.js} +2 -2
- package/dist/_chunks/{header-CCjp5GvE.js.map → header-C8NbLgVq.js.map} +1 -1
- package/dist/_chunks/header-settings-D0M3WNTS.js +305 -0
- package/dist/_chunks/header-settings-D0M3WNTS.js.map +1 -0
- package/dist/_chunks/{help-me-write-templates-DQtT1qs_.js → help-me-write-templates-CYAKuXZ3.js} +5 -5
- package/dist/_chunks/{help-me-write-templates-DQtT1qs_.js.map → help-me-write-templates-CYAKuXZ3.js.map} +1 -1
- package/dist/_chunks/{hover-card-BplP5SzQ.js → hover-card-BM0vNmq4.js} +2 -2
- package/dist/_chunks/{hover-card-BplP5SzQ.js.map → hover-card-BM0vNmq4.js.map} +1 -1
- package/dist/_chunks/{icon-button-CY7GU_Se.js → icon-button-JAXAkqWC.js} +2 -2
- package/dist/_chunks/icon-button-JAXAkqWC.js.map +1 -0
- package/dist/_chunks/{icon-button-group-B_426QN_.js → icon-button-group-ud2BLmxe.js} +3 -3
- package/dist/_chunks/{icon-button-group-B_426QN_.js.map → icon-button-group-ud2BLmxe.js.map} +1 -1
- package/dist/_chunks/{icon-picker-ZLebyB0U.js → icon-picker-B1PwkUHy.js} +3 -3
- package/dist/_chunks/{icon-picker-ZLebyB0U.js.map → icon-picker-B1PwkUHy.js.map} +1 -1
- package/dist/_chunks/{image-cropper-_HiNN79d.js → image-cropper-DM6hpXUw.js} +2 -2
- package/dist/_chunks/{image-cropper-_HiNN79d.js.map → image-cropper-DM6hpXUw.js.map} +1 -1
- package/dist/_chunks/{info-tip-laBxZhKu.js → info-tip-CywkQ1NX.js} +2 -2
- package/dist/_chunks/{info-tip-laBxZhKu.js.map → info-tip-CywkQ1NX.js.map} +1 -1
- package/dist/_chunks/{insert-result-CSuPQyKL.js → insert-result-Fu9AHxR6.js} +2 -2
- package/dist/_chunks/{insert-result-CSuPQyKL.js.map → insert-result-Fu9AHxR6.js.map} +1 -1
- package/dist/_chunks/{key-value-pair-Dcdl3Gni.js → key-value-pair-BL1J3_Km.js} +2 -2
- package/dist/_chunks/{key-value-pair-Dcdl3Gni.js.map → key-value-pair-BL1J3_Km.js.map} +1 -1
- package/dist/_chunks/{kit-extensions-BTJSnM_H.js → kit-extensions-B9Qn6VIc.js} +6 -6
- package/dist/_chunks/{kit-extensions-BTJSnM_H.js.map → kit-extensions-B9Qn6VIc.js.map} +1 -1
- package/dist/_chunks/{link-cell-renderer-CkNbUsBM.js → link-cell-renderer-BcW3F1j9.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-CkNbUsBM.js.map → link-cell-renderer-BcW3F1j9.js.map} +1 -1
- package/dist/_chunks/{locale-picker-DGkQmhV9.js → locale-picker-Z42P8T-i.js} +218 -213
- package/dist/_chunks/locale-picker-Z42P8T-i.js.map +1 -0
- package/dist/_chunks/{map-view-Bb7ClKSF.js → map-view-DxYPJjM9.js} +2 -2
- package/dist/_chunks/{map-view-Bb7ClKSF.js.map → map-view-DxYPJjM9.js.map} +1 -1
- package/dist/_chunks/{marketplace-app-shell-1uKqs4gD.js → marketplace-app-shell-rTTvWRrE.js} +6 -6
- package/dist/_chunks/{marketplace-app-shell-1uKqs4gD.js.map → marketplace-app-shell-rTTvWRrE.js.map} +1 -1
- package/dist/_chunks/{message-card-C2zsvyj0.js → message-card-CUBPPn4Z.js} +3 -3
- package/dist/_chunks/{message-card-C2zsvyj0.js.map → message-card-CUBPPn4Z.js.map} +1 -1
- package/dist/_chunks/{message-tray-CMlmxdH2.js → message-tray-uy3DAIbn.js} +4 -4
- package/dist/_chunks/{message-tray-CMlmxdH2.js.map → message-tray-uy3DAIbn.js.map} +1 -1
- package/dist/_chunks/{muscle-scheme-Co0NIgbU.js → muscle-scheme-CH-vQ7Ch.js} +2 -2
- package/dist/_chunks/{muscle-scheme-Co0NIgbU.js.map → muscle-scheme-CH-vQ7Ch.js.map} +1 -1
- package/dist/_chunks/{notes-panel-xxpFt-I1.js → notes-panel-Dka4Z2M7.js} +4 -4
- package/dist/_chunks/{notes-panel-xxpFt-I1.js.map → notes-panel-Dka4Z2M7.js.map} +1 -1
- package/dist/_chunks/{notification-card-DDzBCi8l.js → notification-card-Hy8w3UWx.js} +3 -3
- package/dist/_chunks/{notification-card-DDzBCi8l.js.map → notification-card-Hy8w3UWx.js.map} +1 -1
- package/dist/_chunks/{notification-tray-PnH2PBlZ.js → notification-tray-VuV3XXB8.js} +4 -4
- package/dist/_chunks/{notification-tray-PnH2PBlZ.js.map → notification-tray-VuV3XXB8.js.map} +1 -1
- package/dist/_chunks/{optical-prescription-DUufWXfZ.js → optical-prescription-C2n6d0HO.js} +2 -2
- package/dist/_chunks/{optical-prescription-DUufWXfZ.js.map → optical-prescription-C2n6d0HO.js.map} +1 -1
- package/dist/_chunks/{panel-subview-CzHutkA8.js → panel-subview-DAY-ToM3.js} +2 -2
- package/dist/_chunks/{panel-subview-CzHutkA8.js.map → panel-subview-DAY-ToM3.js.map} +1 -1
- package/dist/_chunks/{patient-details-tTlvrJSU.js → patient-details-D9sAM3qh.js} +3 -3
- package/dist/_chunks/{patient-details-tTlvrJSU.js.map → patient-details-D9sAM3qh.js.map} +1 -1
- package/dist/_chunks/{patient-field-row-DElFbpKc.js → patient-field-row-CT04C_lZ.js} +277 -257
- package/dist/_chunks/patient-field-row-CT04C_lZ.js.map +1 -0
- package/dist/_chunks/{patient-search-DgXdGkhK.js → patient-search-DkIukAMQ.js} +3 -3
- package/dist/_chunks/{patient-search-DgXdGkhK.js.map → patient-search-DkIukAMQ.js.map} +1 -1
- package/dist/_chunks/{patient-summary-card-DQ__6DR-.js → patient-summary-card-DI0BH-Fe.js} +5 -5
- package/dist/_chunks/{patient-summary-card-DQ__6DR-.js.map → patient-summary-card-DI0BH-Fe.js.map} +1 -1
- package/dist/_chunks/{payment-automation-upsell-ugi4np1l.js → payment-automation-upsell-vQBIyUky.js} +2 -2
- package/dist/_chunks/{payment-automation-upsell-ugi4np1l.js.map → payment-automation-upsell-vQBIyUky.js.map} +1 -1
- package/dist/_chunks/{payment-request-card-DMJB57Tv.js → payment-request-card-BSaJzhxz.js} +3 -3
- package/dist/_chunks/{payment-request-card-DMJB57Tv.js.map → payment-request-card-BSaJzhxz.js.map} +1 -1
- package/dist/_chunks/{periodontal-chart-DbGzKDj7.js → periodontal-chart-BcTcOc79.js} +2 -2
- package/dist/_chunks/{periodontal-chart-DbGzKDj7.js.map → periodontal-chart-BcTcOc79.js.map} +1 -1
- package/dist/_chunks/{periodontal-chart-card-DvHyP47v.js → periodontal-chart-card-NS_nToBf.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-DvHyP47v.js.map → periodontal-chart-card-NS_nToBf.js.map} +1 -1
- package/dist/_chunks/{popover-Dvb40vPH.js → popover-SASSeAdY.js} +2 -2
- package/dist/_chunks/{popover-Dvb40vPH.js.map → popover-SASSeAdY.js.map} +1 -1
- package/dist/_chunks/{practice-results-EKRiqWtQ.js → practice-results-C3ifcObw.js} +6 -6
- package/dist/_chunks/{practice-results-EKRiqWtQ.js.map → practice-results-C3ifcObw.js.map} +1 -1
- package/dist/_chunks/{pregnancy-dating-lfjjZVZH.js → pregnancy-dating-CpJ3iYvD.js} +2 -2
- package/dist/_chunks/{pregnancy-dating-lfjjZVZH.js.map → pregnancy-dating-CpJ3iYvD.js.map} +1 -1
- package/dist/_chunks/{pregnancy-weight-gain-WpNt-S0q.js → pregnancy-weight-gain-kDOhA2vZ.js} +2 -2
- package/dist/_chunks/{pregnancy-weight-gain-WpNt-S0q.js.map → pregnancy-weight-gain-kDOhA2vZ.js.map} +1 -1
- package/dist/_chunks/{privacy-lock-D6gq0GDg.js → privacy-lock-CEyvNpC8.js} +3 -3
- package/dist/_chunks/{privacy-lock-D6gq0GDg.js.map → privacy-lock-CEyvNpC8.js.map} +1 -1
- package/dist/_chunks/{privacy-mask-BC5lw2zB.js → privacy-mask-TzMlEu3Q.js} +2 -2
- package/dist/_chunks/{privacy-mask-BC5lw2zB.js.map → privacy-mask-TzMlEu3Q.js.map} +1 -1
- package/dist/_chunks/{product-hub-panel-CKeSCSeE.js → product-hub-panel-b70i9Hi1.js} +3 -3
- package/dist/_chunks/{product-hub-panel-CKeSCSeE.js.map → product-hub-panel-b70i9Hi1.js.map} +1 -1
- package/dist/_chunks/{public-header.agent-B9wDmUeB.js → public-header.agent-D0ApOrmx.js} +3 -3
- package/dist/_chunks/{public-header.agent-B9wDmUeB.js.map → public-header.agent-D0ApOrmx.js.map} +1 -1
- package/dist/_chunks/{radiograph-panel.agent-TmyIvTOa.js → radiograph-panel.agent-jhwaIW8U.js} +4 -4
- package/dist/_chunks/{radiograph-panel.agent-TmyIvTOa.js.map → radiograph-panel.agent-jhwaIW8U.js.map} +1 -1
- package/dist/_chunks/resource-chip-DQeCJzJf.js +143 -0
- package/dist/_chunks/resource-chip-DQeCJzJf.js.map +1 -0
- package/dist/_chunks/{reviews-panel-BdwFp_0c.js → reviews-panel-B5QC4FIp.js} +4 -4
- package/dist/_chunks/{reviews-panel-BdwFp_0c.js.map → reviews-panel-B5QC4FIp.js.map} +1 -1
- package/dist/_chunks/{rich-text-editor-y6ML0KeV.js → rich-text-editor-DoBXdwmx.js} +930 -943
- package/dist/_chunks/rich-text-editor-DoBXdwmx.js.map +1 -0
- package/dist/_chunks/{session-countdown-ACJyTXH2.js → session-countdown-26XB5u38.js} +2 -2
- package/dist/_chunks/{session-countdown-ACJyTXH2.js.map → session-countdown-26XB5u38.js.map} +1 -1
- package/dist/_chunks/{sheet-D0Lh0KR2.js → sheet-CwhNzxbr.js} +2 -2
- package/dist/_chunks/{sheet-D0Lh0KR2.js.map → sheet-CwhNzxbr.js.map} +1 -1
- package/dist/_chunks/{sign-in-with-alfadocs-button-CDyJAIzW.js → sign-in-with-alfadocs-button-jxbze77L.js} +2 -2
- package/dist/_chunks/{sign-in-with-alfadocs-button-CDyJAIzW.js.map → sign-in-with-alfadocs-button-jxbze77L.js.map} +1 -1
- package/dist/_chunks/{signature-request-BUGeG8oD.js → signature-request-BorHf3CY.js} +4 -4
- package/dist/_chunks/{signature-request-BUGeG8oD.js.map → signature-request-BorHf3CY.js.map} +1 -1
- package/dist/_chunks/{slot-grid-4fWH3Euk.js → slot-grid-xgf2UKLS.js} +4 -4
- package/dist/_chunks/{slot-grid-4fWH3Euk.js.map → slot-grid-xgf2UKLS.js.map} +1 -1
- package/dist/_chunks/social-sign-in-button-dlpPI5l7.js.map +1 -1
- package/dist/_chunks/{streaming-text-eRiizArc.js → streaming-text-Cos2fVTw.js} +2 -2
- package/dist/_chunks/{streaming-text-eRiizArc.js.map → streaming-text-Cos2fVTw.js.map} +1 -1
- package/dist/_chunks/{tab-bar-BHFf6knq.js → tab-bar-BrkMUW0c.js} +2 -2
- package/dist/_chunks/{tab-bar-BHFf6knq.js.map → tab-bar-BrkMUW0c.js.map} +1 -1
- package/dist/_chunks/tabs-tK22Mz7r.js +413 -0
- package/dist/_chunks/tabs-tK22Mz7r.js.map +1 -0
- package/dist/_chunks/{task-card-jaOhnj_q.js → task-card-CLpHmqEY.js} +2 -2
- package/dist/_chunks/{task-card-jaOhnj_q.js.map → task-card-CLpHmqEY.js.map} +1 -1
- package/dist/_chunks/{task-editor-DlvTwAfv.js → task-editor-B4UGsU7l.js} +6 -6
- package/dist/_chunks/{task-editor-DlvTwAfv.js.map → task-editor-B4UGsU7l.js.map} +1 -1
- package/dist/_chunks/{task-tray-HHyxi9ga.js → task-tray-dsmYgjVb.js} +4 -4
- package/dist/_chunks/{task-tray-HHyxi9ga.js.map → task-tray-dsmYgjVb.js.map} +1 -1
- package/dist/_chunks/{tasks-panel-DbSjq_mz.js → tasks-panel-CwwVw491.js} +6 -6
- package/dist/_chunks/{tasks-panel-DbSjq_mz.js.map → tasks-panel-CwwVw491.js.map} +1 -1
- package/dist/_chunks/{theme-toggle-LUBxlNDm.js → theme-toggle-jyoyhbJL.js} +4 -4
- package/dist/_chunks/{theme-toggle-LUBxlNDm.js.map → theme-toggle-jyoyhbJL.js.map} +1 -1
- package/dist/_chunks/{toast-CT8hjr9r.js → toast-FijDyPnv.js} +2 -2
- package/dist/_chunks/{toast-CT8hjr9r.js.map → toast-FijDyPnv.js.map} +1 -1
- package/dist/_chunks/{token-insert-menu-klwbxVKh.js → token-insert-menu-Cjf99IdN.js} +3 -3
- package/dist/_chunks/{token-insert-menu-klwbxVKh.js.map → token-insert-menu-Cjf99IdN.js.map} +1 -1
- package/dist/_chunks/{tool-rail-DEeX4PdN.js → tool-rail-DphMl1hX.js} +2 -2
- package/dist/_chunks/{tool-rail-DEeX4PdN.js.map → tool-rail-DphMl1hX.js.map} +1 -1
- package/dist/_chunks/{tooth-scheme-BkjhkI8g.js → tooth-scheme-BaCJnyg9.js} +663 -718
- package/dist/_chunks/tooth-scheme-BaCJnyg9.js.map +1 -0
- package/dist/_chunks/{unit-converter-Dp_KDxE6.js → unit-converter-CGpOgarU.js} +2 -2
- package/dist/_chunks/{unit-converter-Dp_KDxE6.js.map → unit-converter-CGpOgarU.js.map} +1 -1
- package/dist/_chunks/{use-appointment-details-read-5-hV-2xA.js → use-appointment-details-read-uEnJLVfA.js} +14 -14
- package/dist/_chunks/{use-appointment-details-read-5-hV-2xA.js.map → use-appointment-details-read-uEnJLVfA.js.map} +1 -1
- package/dist/_chunks/wallet-pay-button--dnR6NfJ.js.map +1 -1
- package/dist/_chunks/{warning-stack-CEgYkI1z.js → warning-stack-7Hffm7K1.js} +3 -3
- package/dist/_chunks/{warning-stack-CEgYkI1z.js.map → warning-stack-7Hffm7K1.js.map} +1 -1
- package/dist/_chunks/{workflow-map-qGkQTNvS.js → workflow-map-Jfe9L9Wt.js} +6 -6
- package/dist/_chunks/{workflow-map-qGkQTNvS.js.map → workflow-map-Jfe9L9Wt.js.map} +1 -1
- package/dist/_chunks/{workflow-status-ClHfz4Kr.js → workflow-status-jHfsIDzi.js} +2 -2
- package/dist/_chunks/{workflow-status-ClHfz4Kr.js.map → workflow-status-jHfsIDzi.js.map} +1 -1
- package/dist/agent-catalog.json +103 -38
- package/dist/agent-i18n/en.json +7 -4
- package/dist/components/_shared/entity-card/entity-card.d.ts +1 -1
- package/dist/components/_shared/field-visibility-cog.d.ts.map +1 -1
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-credits-notice/index.js +1 -1
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/anamnesis-summary-card.d.ts +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/button/button.d.ts +11 -0
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/button/icon-button.d.ts +4 -0
- package/dist/components/button/icon-button.d.ts.map +1 -1
- package/dist/components/button/index.js +2 -2
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calendar/calendar.d.ts +11 -3
- package/dist/components/calendar/calendar.d.ts.map +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calendar-event-card/calendar-event-card.d.ts +6 -0
- package/dist/components/calendar-event-card/calendar-event-card.d.ts.map +1 -1
- package/dist/components/calendar-event-card/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/chart.d.ts +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/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-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/document-preview/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.agent.d.ts.map +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.d.ts +52 -2
- package/dist/components/dropdown-menu/dropdown-menu.d.ts.map +1 -1
- package/dist/components/dropdown-menu/index.d.ts +1 -1
- package/dist/components/dropdown-menu/index.d.ts.map +1 -1
- package/dist/components/dropdown-menu/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/floating-action-button/floating-action-button.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/index.js +1 -1
- package/dist/components/header-settings/header-settings.d.ts +3 -3
- package/dist/components/header-settings/header-settings.d.ts.map +1 -1
- package/dist/components/header-settings/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/key-value-pair/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/locale-picker/locale-picker.d.ts +7 -0
- package/dist/components/locale-picker/locale-picker.d.ts.map +1 -1
- package/dist/components/map-view/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/notification-card/index.js +1 -1
- package/dist/components/notification-tray/index.js +1 -1
- package/dist/components/operator-hero/operator-hero.d.ts +1 -1
- package/dist/components/optical-prescription/index.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-details/patient-details.d.ts +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-summary-card/patient-summary-card.d.ts +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/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/resource-chip/index.d.ts +1 -1
- package/dist/components/resource-chip/index.d.ts.map +1 -1
- package/dist/components/resource-chip/index.js +3 -2
- package/dist/components/resource-chip/resource-chip.d.ts +20 -0
- package/dist/components/resource-chip/resource-chip.d.ts.map +1 -1
- package/dist/components/reviews-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/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/skeleton-scheme/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/social-sign-in-button/social-sign-in-button.d.ts.map +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/tabs.d.ts.map +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/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/tooth-scheme/tooth-scheme.d.ts +2 -2
- package/dist/components/tooth-scheme/tooth-scheme.d.ts.map +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/wallet-pay-button/wallet-pay-button.d.ts.map +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/components/workflow/workflow-card.d.ts +1 -1
- package/dist/components/workflow-status/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +5 -0
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +5 -0
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +5 -0
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +5 -0
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +5 -0
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +5 -0
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +5 -0
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +5 -0
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +5 -0
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +5 -0
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +5 -0
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +5 -0
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +5 -0
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +5 -0
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +5 -0
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +5 -0
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +5 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +5 -0
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +5 -0
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +5 -0
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +5 -0
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +5 -0
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +5 -0
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +5 -0
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +5 -0
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +5 -0
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +5 -0
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +5 -0
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +5 -0
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +5 -0
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +5 -0
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +5 -0
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +5 -0
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +5 -0
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +5 -0
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +5 -0
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +478 -477
- 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/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/calendar.sheets.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar.surface.d.ts +4 -1
- package/dist/patterns/calendar/calendar.surface.d.ts.map +1 -1
- package/dist/patterns/calendar/index.js +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/payment-automation-upsell/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/tokens.css +2 -1
- package/package.json +1 -1
- package/dist/_chunks/button-18oBsI3n.js.map +0 -1
- package/dist/_chunks/calendar-workspace-CWRH4x15.js +0 -10577
- package/dist/_chunks/calendar-workspace-CWRH4x15.js.map +0 -1
- package/dist/_chunks/calendar-zpE9qTM4.js.map +0 -1
- package/dist/_chunks/dropdown-menu-C8PaW3lR.js +0 -369
- package/dist/_chunks/dropdown-menu-C8PaW3lR.js.map +0 -1
- package/dist/_chunks/header-settings-ZXa6hXuu.js +0 -335
- package/dist/_chunks/header-settings-ZXa6hXuu.js.map +0 -1
- package/dist/_chunks/icon-button-CY7GU_Se.js.map +0 -1
- package/dist/_chunks/locale-picker-DGkQmhV9.js.map +0 -1
- package/dist/_chunks/patient-field-row-DElFbpKc.js.map +0 -1
- package/dist/_chunks/resource-chip-DYTG0IQQ.js +0 -83
- package/dist/_chunks/resource-chip-DYTG0IQQ.js.map +0 -1
- package/dist/_chunks/rich-text-editor-y6ML0KeV.js.map +0 -1
- package/dist/_chunks/tabs-CFsuMQ5H.js +0 -409
- package/dist/_chunks/tabs-CFsuMQ5H.js.map +0 -1
- package/dist/_chunks/tooth-scheme-BkjhkI8g.js.map +0 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
1
|
+
import { jsxs as L, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Ye, useRef as g, useEffect as y, useState as ce, useMemo as m, useImperativeHandle as or, useCallback as T } from "react";
|
|
3
3
|
import { useTranslation as De } from "react-i18next";
|
|
4
|
-
import { c as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import { u as
|
|
15
|
-
import { u as
|
|
16
|
-
import { w as
|
|
17
|
-
import { A as
|
|
18
|
-
import { B as
|
|
19
|
-
import { R as
|
|
20
|
-
import { T as
|
|
21
|
-
import { V as
|
|
22
|
-
import { C as
|
|
23
|
-
import { C as
|
|
24
|
-
import { C as
|
|
25
|
-
const
|
|
4
|
+
import { c as dr } from "./index-D2ZczOXr.js";
|
|
5
|
+
import lr from "@fullcalendar/react";
|
|
6
|
+
import cr from "@fullcalendar/daygrid";
|
|
7
|
+
import ur from "@fullcalendar/timegrid";
|
|
8
|
+
import mr from "@fullcalendar/list";
|
|
9
|
+
import fr from "@fullcalendar/resource";
|
|
10
|
+
import pr from "@fullcalendar/resource-timegrid";
|
|
11
|
+
import vr from "@fullcalendar/resource-timeline";
|
|
12
|
+
import hr from "@fullcalendar/timeline";
|
|
13
|
+
import gr from "@fullcalendar/interaction";
|
|
14
|
+
import { u as yr } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
15
|
+
import { u as br } from "./registry-DvAUVLHh.js";
|
|
16
|
+
import { w as Tr, C as xr } from "./calendar-event-card-DyFSIehr.js";
|
|
17
|
+
import { A as Dr } from "./avatar-BVvjKNTp.js";
|
|
18
|
+
import { B as wr } from "./button-CYPx2xFq.js";
|
|
19
|
+
import { a as _e, R as Cr } from "./resource-chip-DQeCJzJf.js";
|
|
20
|
+
import { T as Ve } from "./tooltip-Cp-PLePW.js";
|
|
21
|
+
import { V as kr } from "./visually-hidden-BHxEUGyT.js";
|
|
22
|
+
import { C as He } from "./check-DrFSN__t.js";
|
|
23
|
+
import { C as qe } from "./chevron-right-I9AeSxH2.js";
|
|
24
|
+
import { C as $e } from "./chevron-left-B8cOyH-V.js";
|
|
25
|
+
const Ar = {
|
|
26
26
|
id: "calendar",
|
|
27
27
|
capabilities: ["view_change", "range_navigate", "pick"],
|
|
28
28
|
state: {
|
|
@@ -177,14 +177,14 @@ const Cr = {
|
|
|
177
177
|
description: 'Emitted on every rendered FullCalendar event by the kit event renderer. Used by focusEvent. Cards also carry data-kind="task"|"draft"|"pending-details"|"appointment" and data-status for classification.'
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
|
-
},
|
|
180
|
+
}, Ir = dr("", {
|
|
181
181
|
variants: {
|
|
182
182
|
density: {
|
|
183
183
|
compact: "calendar-density-compact",
|
|
184
184
|
comfortable: "calendar-density-comfortable"
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
}),
|
|
187
|
+
}), Sr = {
|
|
188
188
|
vertical: {
|
|
189
189
|
Day: "resourceTimeGridDay",
|
|
190
190
|
ThreeDays: "resourceTimeGridThreeDays",
|
|
@@ -195,35 +195,35 @@ const Cr = {
|
|
|
195
195
|
ThreeDays: "resourceTimelineThreeDays",
|
|
196
196
|
Week: "resourceTimelineWeek"
|
|
197
197
|
}
|
|
198
|
-
},
|
|
198
|
+
}, Rr = /* @__PURE__ */ new Set([
|
|
199
199
|
"dayGridMonth",
|
|
200
200
|
"timeGridWeek",
|
|
201
201
|
"timeGridThreeDays",
|
|
202
202
|
"timeGridDay",
|
|
203
203
|
"listWeek"
|
|
204
|
-
]),
|
|
204
|
+
]), Nr = {
|
|
205
205
|
timeGridDay: "timelineDay",
|
|
206
206
|
timeGridThreeDays: "timelineThreeDays",
|
|
207
207
|
timeGridWeek: "timelineWeek"
|
|
208
208
|
};
|
|
209
209
|
function be(n, s = "vertical") {
|
|
210
|
-
if (
|
|
211
|
-
return s === "horizontal" ?
|
|
212
|
-
const
|
|
210
|
+
if (Rr.has(n))
|
|
211
|
+
return s === "horizontal" ? Nr[n] ?? n : n;
|
|
212
|
+
const u = n.replace(/^resourceTimeGrid/, "").replace(
|
|
213
213
|
/(Chair|Operator)$/,
|
|
214
214
|
""
|
|
215
215
|
);
|
|
216
|
-
return
|
|
216
|
+
return Sr[s][u];
|
|
217
217
|
}
|
|
218
|
-
const
|
|
218
|
+
const le = {
|
|
219
219
|
weekday: "long",
|
|
220
220
|
day: "numeric",
|
|
221
221
|
month: "long",
|
|
222
222
|
year: "numeric"
|
|
223
|
-
},
|
|
223
|
+
}, Er = [
|
|
224
224
|
{ weekday: "short", day: "numeric", month: "short" },
|
|
225
225
|
{ hour: "numeric", minute: "2-digit" }
|
|
226
|
-
],
|
|
226
|
+
], Pr = {
|
|
227
227
|
resourceTimeGridThreeDays: {
|
|
228
228
|
type: "resourceTimeGrid",
|
|
229
229
|
duration: { days: 3 }
|
|
@@ -242,68 +242,68 @@ const de = {
|
|
|
242
242
|
type: "timeline",
|
|
243
243
|
duration: { days: 3 }
|
|
244
244
|
},
|
|
245
|
-
timeline: { slotLabelFormat:
|
|
246
|
-
timeGridDay: { titleFormat:
|
|
247
|
-
resourceTimeGridDay: { titleFormat:
|
|
248
|
-
timelineDay: { titleFormat:
|
|
249
|
-
resourceTimelineDay: { titleFormat:
|
|
250
|
-
}, Te = 5,
|
|
245
|
+
timeline: { slotLabelFormat: Er },
|
|
246
|
+
timeGridDay: { titleFormat: le },
|
|
247
|
+
resourceTimeGridDay: { titleFormat: le },
|
|
248
|
+
timelineDay: { titleFormat: le },
|
|
249
|
+
resourceTimelineDay: { titleFormat: le }
|
|
250
|
+
}, Te = 5, Lr = {
|
|
251
251
|
create: "calendar.modeBanner.create",
|
|
252
252
|
move: "calendar.modeBanner.move",
|
|
253
253
|
copy: "calendar.modeBanner.copy"
|
|
254
254
|
};
|
|
255
|
-
function
|
|
255
|
+
function Mr(n) {
|
|
256
256
|
try {
|
|
257
|
-
const s = new Intl.Locale(n),
|
|
258
|
-
if (
|
|
259
|
-
return
|
|
257
|
+
const s = new Intl.Locale(n), d = typeof s.getWeekInfo == "function" ? s.getWeekInfo() : s.weekInfo;
|
|
258
|
+
if (d && typeof d.firstDay == "number")
|
|
259
|
+
return d.firstDay % 7;
|
|
260
260
|
} catch {
|
|
261
261
|
}
|
|
262
262
|
return n.startsWith("en-US") || n.startsWith("he") || n.startsWith("ar-SA") ? 0 : 1;
|
|
263
263
|
}
|
|
264
|
-
const xe = "calendar-col-hidden",
|
|
265
|
-
function
|
|
266
|
-
const s = n.getFullYear(),
|
|
267
|
-
return `${s}-${
|
|
264
|
+
const xe = "calendar-col-hidden", Gr = "calendar-col-loading";
|
|
265
|
+
function H(n) {
|
|
266
|
+
const s = n.getFullYear(), d = String(n.getMonth() + 1).padStart(2, "0"), u = String(n.getDate()).padStart(2, "0");
|
|
267
|
+
return `${s}-${d}-${u}`;
|
|
268
268
|
}
|
|
269
|
-
function
|
|
270
|
-
const
|
|
269
|
+
function Br(n, s) {
|
|
270
|
+
const d = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Map(), v = (n == null ? void 0 : n.length) ?? 0;
|
|
271
271
|
if (n && s) {
|
|
272
|
-
for (const
|
|
273
|
-
if (
|
|
274
|
-
for (const
|
|
275
|
-
const
|
|
276
|
-
|
|
272
|
+
for (const w of n)
|
|
273
|
+
if (w.hiddenDates)
|
|
274
|
+
for (const x of w.hiddenDates) {
|
|
275
|
+
const N = `${w.id}:${x}`;
|
|
276
|
+
d.has(N) || (d.add(N), u.set(x, (u.get(x) ?? 0) + 1));
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
return {
|
|
280
|
-
hiddenCells:
|
|
281
|
-
hiddenCountByDate:
|
|
282
|
-
resourceCount:
|
|
283
|
-
active:
|
|
280
|
+
hiddenCells: d,
|
|
281
|
+
hiddenCountByDate: u,
|
|
282
|
+
resourceCount: v,
|
|
283
|
+
active: d.size > 0
|
|
284
284
|
};
|
|
285
285
|
}
|
|
286
|
-
function
|
|
287
|
-
const { i18n: n } = De(), [s,
|
|
286
|
+
function Or() {
|
|
287
|
+
const { i18n: n } = De(), [s, d] = ce(() => {
|
|
288
288
|
if (typeof document > "u") return !1;
|
|
289
|
-
const
|
|
290
|
-
return
|
|
289
|
+
const u = document.documentElement.getAttribute("dir"), v = typeof n.dir == "function" ? n.dir() : "ltr";
|
|
290
|
+
return u === "rtl" || v === "rtl";
|
|
291
291
|
});
|
|
292
|
-
return
|
|
292
|
+
return y(() => {
|
|
293
293
|
if (typeof document > "u") return;
|
|
294
|
-
const
|
|
295
|
-
const
|
|
296
|
-
|
|
294
|
+
const u = new MutationObserver(() => {
|
|
295
|
+
const v = document.documentElement.getAttribute("dir"), w = typeof n.dir == "function" ? n.dir() : "ltr";
|
|
296
|
+
d(v === "rtl" || w === "rtl");
|
|
297
297
|
});
|
|
298
|
-
return
|
|
298
|
+
return u.observe(document.documentElement, {
|
|
299
299
|
attributes: !0,
|
|
300
300
|
attributeFilter: ["dir", "lang"]
|
|
301
|
-
}), () =>
|
|
301
|
+
}), () => u.disconnect();
|
|
302
302
|
}, [n]), s;
|
|
303
303
|
}
|
|
304
|
-
const
|
|
305
|
-
function
|
|
306
|
-
let s =
|
|
304
|
+
const Ke = /* @__PURE__ */ new Map();
|
|
305
|
+
function Xe(n) {
|
|
306
|
+
let s = Ke.get(n);
|
|
307
307
|
if (s === void 0) {
|
|
308
308
|
try {
|
|
309
309
|
s = new Intl.DateTimeFormat(n, {
|
|
@@ -314,27 +314,27 @@ function Ue(n) {
|
|
|
314
314
|
} catch {
|
|
315
315
|
s = null;
|
|
316
316
|
}
|
|
317
|
-
|
|
317
|
+
Ke.set(n, s);
|
|
318
318
|
}
|
|
319
319
|
return s;
|
|
320
320
|
}
|
|
321
|
-
function
|
|
322
|
-
const
|
|
323
|
-
if (!
|
|
324
|
-
const
|
|
325
|
-
if (
|
|
321
|
+
function Ue(n, s) {
|
|
322
|
+
const d = n.event.start, u = n.event.end ?? n.event.start;
|
|
323
|
+
if (!d || !u) return;
|
|
324
|
+
const v = Xe(s);
|
|
325
|
+
if (v)
|
|
326
326
|
try {
|
|
327
|
-
return typeof
|
|
327
|
+
return typeof v.formatRange == "function" ? v.formatRange(d, u) : `${v.format(d)} – ${v.format(u)}`;
|
|
328
328
|
} catch {
|
|
329
329
|
return;
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
|
-
function
|
|
333
|
-
var
|
|
332
|
+
function Fr(n, s) {
|
|
333
|
+
var d;
|
|
334
334
|
if (n)
|
|
335
|
-
return (
|
|
335
|
+
return (d = Xe(s)) == null ? void 0 : d.format(n);
|
|
336
336
|
}
|
|
337
|
-
const
|
|
337
|
+
const Je = [
|
|
338
338
|
"ds:inline-flex ds:items-center ds:justify-center",
|
|
339
339
|
"ds:min-h-[var(--min-target-size)]",
|
|
340
340
|
"ds:bg-[var(--background)] ds:text-[var(--foreground)]",
|
|
@@ -347,15 +347,15 @@ const Ye = [
|
|
|
347
347
|
"ds:focus-visible:outline-[var(--ring)]",
|
|
348
348
|
"ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
349
349
|
"ds:motion-reduce:transition-none"
|
|
350
|
-
].join(" "),
|
|
351
|
-
|
|
350
|
+
].join(" "), Wr = [
|
|
351
|
+
Je,
|
|
352
352
|
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]"
|
|
353
|
-
].join(" "),
|
|
354
|
-
|
|
353
|
+
].join(" "), zr = [
|
|
354
|
+
Je,
|
|
355
355
|
"ds:min-w-[var(--min-target-size)]"
|
|
356
|
-
].join(" "), we =
|
|
357
|
-
({ title: n, onToday: s, onPrev:
|
|
358
|
-
const { t:
|
|
356
|
+
].join(" "), we = Ye(
|
|
357
|
+
({ title: n, onToday: s, onPrev: d, onNext: u, end: v, className: w, maskClassName: x }, N) => {
|
|
358
|
+
const { t: q } = De(), Q = Or(), C = Q ? qe : $e, ee = Q ? $e : qe, $ = [
|
|
359
359
|
"ds:calendar-toolbar",
|
|
360
360
|
"ds:sticky ds:top-0 ds:z-20",
|
|
361
361
|
"ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
@@ -363,149 +363,149 @@ const Ye = [
|
|
|
363
363
|
"ds:py-[var(--spacing-sm)]",
|
|
364
364
|
"ds:bg-[var(--background)]",
|
|
365
365
|
"ds:border-b ds:border-[var(--border)]",
|
|
366
|
-
|
|
367
|
-
].filter(Boolean).join(" "),
|
|
366
|
+
w
|
|
367
|
+
].filter(Boolean).join(" "), K = [Wr, x].filter(Boolean).join(" "), B = [zr, x].filter(Boolean).join(" "), O = [
|
|
368
368
|
"ds:flex-1 ds:text-center ds:truncate type-title-card",
|
|
369
|
-
|
|
370
|
-
].filter(Boolean).join(" "),
|
|
371
|
-
return /* @__PURE__ */
|
|
372
|
-
/* @__PURE__ */
|
|
373
|
-
/* @__PURE__ */
|
|
369
|
+
x
|
|
370
|
+
].filter(Boolean).join(" "), k = ["ds:flex-1 ds:text-center", x].filter(Boolean).join(" ");
|
|
371
|
+
return /* @__PURE__ */ L("div", { ref: N, className: $, children: [
|
|
372
|
+
/* @__PURE__ */ L("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
373
|
+
/* @__PURE__ */ l(
|
|
374
374
|
"button",
|
|
375
375
|
{
|
|
376
376
|
type: "button",
|
|
377
377
|
onClick: s,
|
|
378
|
-
className:
|
|
379
|
-
children:
|
|
378
|
+
className: K,
|
|
379
|
+
children: q("calendar.today")
|
|
380
380
|
}
|
|
381
381
|
),
|
|
382
|
-
/* @__PURE__ */
|
|
382
|
+
/* @__PURE__ */ l(
|
|
383
383
|
"button",
|
|
384
384
|
{
|
|
385
385
|
type: "button",
|
|
386
|
-
onClick:
|
|
387
|
-
"aria-label":
|
|
388
|
-
className:
|
|
389
|
-
children: /* @__PURE__ */
|
|
386
|
+
onClick: d,
|
|
387
|
+
"aria-label": q("calendar.previousPeriod"),
|
|
388
|
+
className: B,
|
|
389
|
+
children: /* @__PURE__ */ l(C, { size: 16, "aria-hidden": "true" })
|
|
390
390
|
}
|
|
391
391
|
),
|
|
392
|
-
/* @__PURE__ */
|
|
392
|
+
/* @__PURE__ */ l(
|
|
393
393
|
"button",
|
|
394
394
|
{
|
|
395
395
|
type: "button",
|
|
396
|
-
onClick:
|
|
397
|
-
"aria-label":
|
|
398
|
-
className:
|
|
399
|
-
children: /* @__PURE__ */
|
|
396
|
+
onClick: u,
|
|
397
|
+
"aria-label": q("calendar.nextPeriod"),
|
|
398
|
+
className: B,
|
|
399
|
+
children: /* @__PURE__ */ l(ee, { size: 16, "aria-hidden": "true" })
|
|
400
400
|
}
|
|
401
401
|
)
|
|
402
402
|
] }),
|
|
403
|
-
n ? /* @__PURE__ */
|
|
403
|
+
n ? /* @__PURE__ */ l("h2", { "aria-live": "polite", className: O, children: n }) : (
|
|
404
404
|
/* Keep the centering slot stable even before the first
|
|
405
405
|
`datesSet` populates the title — an empty <h2> would trip
|
|
406
406
|
axe's `empty-heading` rule, so we substitute a decorative
|
|
407
407
|
spacer that matches the h2's flex sizing. Once `title` is
|
|
408
408
|
non-empty the h2 renders in the same slot. */
|
|
409
|
-
/* @__PURE__ */
|
|
409
|
+
/* @__PURE__ */ l("div", { "aria-hidden": "true", className: k })
|
|
410
410
|
),
|
|
411
|
-
|
|
411
|
+
v ? /* @__PURE__ */ l("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: v }) : null
|
|
412
412
|
] });
|
|
413
413
|
}
|
|
414
414
|
);
|
|
415
415
|
we.displayName = "Calendar.Toolbar";
|
|
416
|
-
const
|
|
416
|
+
const Ze = Ye(
|
|
417
417
|
({
|
|
418
418
|
id: n,
|
|
419
419
|
events: s,
|
|
420
|
-
resources:
|
|
421
|
-
view:
|
|
422
|
-
initialDate:
|
|
423
|
-
locale:
|
|
424
|
-
onEventDrop:
|
|
425
|
-
onEventResize:
|
|
426
|
-
onEventDragStart:
|
|
427
|
-
onEventResizeStart:
|
|
428
|
-
onEventClick:
|
|
429
|
-
onBackgroundEventClick:
|
|
430
|
-
onEventMouseEnter:
|
|
431
|
-
onEventMouseLeave:
|
|
432
|
-
onDateSelect:
|
|
433
|
-
onDatesSet:
|
|
434
|
-
onDateClick:
|
|
420
|
+
resources: d,
|
|
421
|
+
view: u = "dayGridMonth",
|
|
422
|
+
initialDate: v,
|
|
423
|
+
locale: w,
|
|
424
|
+
onEventDrop: x,
|
|
425
|
+
onEventResize: N,
|
|
426
|
+
onEventDragStart: q,
|
|
427
|
+
onEventResizeStart: Q,
|
|
428
|
+
onEventClick: C,
|
|
429
|
+
onBackgroundEventClick: ee,
|
|
430
|
+
onEventMouseEnter: $,
|
|
431
|
+
onEventMouseLeave: K,
|
|
432
|
+
onDateSelect: B,
|
|
433
|
+
onDatesSet: O,
|
|
434
|
+
onDateClick: k,
|
|
435
435
|
onNavLinkDayClick: Ce,
|
|
436
|
-
editable:
|
|
437
|
-
eventDurationEditable:
|
|
438
|
-
selectable:
|
|
439
|
-
selectMirror:
|
|
440
|
-
unselectAuto:
|
|
441
|
-
height:
|
|
442
|
-
className:
|
|
443
|
-
privacyMode:
|
|
444
|
-
eventColorStyle:
|
|
445
|
-
slotDensity:
|
|
446
|
-
mode:
|
|
447
|
-
modeLabel:
|
|
448
|
-
modeBannerColor:
|
|
449
|
-
modeBannerTextColor:
|
|
436
|
+
editable: te = !1,
|
|
437
|
+
eventDurationEditable: Qe,
|
|
438
|
+
selectable: ke = !1,
|
|
439
|
+
selectMirror: et,
|
|
440
|
+
unselectAuto: Ae,
|
|
441
|
+
height: tt,
|
|
442
|
+
className: rt,
|
|
443
|
+
privacyMode: D = !1,
|
|
444
|
+
eventColorStyle: nt = "solid",
|
|
445
|
+
slotDensity: it = "compact",
|
|
446
|
+
mode: re = "default",
|
|
447
|
+
modeLabel: at,
|
|
448
|
+
modeBannerColor: ne,
|
|
449
|
+
modeBannerTextColor: ie,
|
|
450
450
|
onModeCancel: Ie,
|
|
451
|
-
alertBanner:
|
|
451
|
+
alertBanner: st,
|
|
452
452
|
hiddenDays: Se,
|
|
453
453
|
loadingDates: Re,
|
|
454
|
-
slotMinTime:
|
|
455
|
-
slotMaxTime:
|
|
456
|
-
slotDuration:
|
|
457
|
-
snapDuration:
|
|
458
|
-
showTime:
|
|
459
|
-
datesAboveResources:
|
|
460
|
-
slotEventOverlap:
|
|
461
|
-
stickyHeaderDates:
|
|
462
|
-
nowIndicator:
|
|
463
|
-
dayMaxEvents:
|
|
464
|
-
schedulerLicenseKey:
|
|
465
|
-
toolbar:
|
|
466
|
-
toolbarEnd:
|
|
467
|
-
resourceLayout:
|
|
468
|
-
showResourceInitials:
|
|
469
|
-
resourceLabelVariant:
|
|
470
|
-
verticalResourceLabels:
|
|
454
|
+
slotMinTime: ot,
|
|
455
|
+
slotMaxTime: dt,
|
|
456
|
+
slotDuration: lt,
|
|
457
|
+
snapDuration: Ne,
|
|
458
|
+
showTime: ct = !0,
|
|
459
|
+
datesAboveResources: ue = !0,
|
|
460
|
+
slotEventOverlap: ut = !1,
|
|
461
|
+
stickyHeaderDates: mt = !0,
|
|
462
|
+
nowIndicator: ft = !0,
|
|
463
|
+
dayMaxEvents: pt = !0,
|
|
464
|
+
schedulerLicenseKey: vt = void 0,
|
|
465
|
+
toolbar: ht = !0,
|
|
466
|
+
toolbarEnd: gt,
|
|
467
|
+
resourceLayout: U = "vertical",
|
|
468
|
+
showResourceInitials: me = !1,
|
|
469
|
+
resourceLabelVariant: Ee = "text",
|
|
470
|
+
verticalResourceLabels: fe = !1,
|
|
471
471
|
selectedEventId: Pe,
|
|
472
|
-
availabilityMode:
|
|
473
|
-
resourceAreaWidth:
|
|
474
|
-
resourceAreaHeader:
|
|
475
|
-
defaultTimedEventDuration:
|
|
476
|
-
zebraRows:
|
|
477
|
-
maskClassName:
|
|
478
|
-
},
|
|
479
|
-
const { t:
|
|
472
|
+
availabilityMode: yt = !1,
|
|
473
|
+
resourceAreaWidth: bt,
|
|
474
|
+
resourceAreaHeader: Y,
|
|
475
|
+
defaultTimedEventDuration: X,
|
|
476
|
+
zebraRows: Tt = !1,
|
|
477
|
+
maskClassName: F
|
|
478
|
+
}, xt) => {
|
|
479
|
+
const { t: f, i18n: W } = De(), A = g(null), E = g(null), I = g(null), P = g(null), z = g(null), Le = g(null), ae = g({
|
|
480
480
|
id: 0,
|
|
481
481
|
x: 0,
|
|
482
482
|
y: 0
|
|
483
|
-
}),
|
|
484
|
-
|
|
485
|
-
}, [Se]),
|
|
486
|
-
}, [
|
|
487
|
-
const [
|
|
483
|
+
}), Me = g(0), Ge = g(0), b = w ?? W.language ?? "en";
|
|
484
|
+
y(() => {
|
|
485
|
+
}, [Se]), y(() => {
|
|
486
|
+
}, [X]);
|
|
487
|
+
const [Dt, wt] = ce(() => {
|
|
488
488
|
if (typeof document > "u") return "ltr";
|
|
489
|
-
const e = document.documentElement.getAttribute("dir"), t = typeof
|
|
489
|
+
const e = document.documentElement.getAttribute("dir"), t = typeof W.dir == "function" ? W.dir() : "ltr";
|
|
490
490
|
return e === "rtl" || t === "rtl" ? "rtl" : "ltr";
|
|
491
491
|
});
|
|
492
|
-
|
|
492
|
+
y(() => {
|
|
493
493
|
if (typeof document > "u") return;
|
|
494
494
|
const e = new MutationObserver(() => {
|
|
495
|
-
const t = document.documentElement.getAttribute("dir"), r = typeof
|
|
496
|
-
|
|
495
|
+
const t = document.documentElement.getAttribute("dir"), r = typeof W.dir == "function" ? W.dir() : "ltr";
|
|
496
|
+
wt(t === "rtl" || r === "rtl" ? "rtl" : "ltr");
|
|
497
497
|
});
|
|
498
498
|
return e.observe(document.documentElement, {
|
|
499
499
|
attributes: !0,
|
|
500
500
|
attributeFilter: ["dir", "lang"]
|
|
501
501
|
}), () => e.disconnect();
|
|
502
|
-
}, [
|
|
502
|
+
}, [W]), y(() => {
|
|
503
503
|
if (typeof document > "u") return;
|
|
504
504
|
let e;
|
|
505
505
|
const t = new MutationObserver(() => {
|
|
506
506
|
clearTimeout(e), e = setTimeout(() => {
|
|
507
507
|
var i;
|
|
508
|
-
const r = (i =
|
|
508
|
+
const r = (i = A.current) == null ? void 0 : i.getApi();
|
|
509
509
|
r && typeof r.render == "function" && r.render();
|
|
510
510
|
}, 50);
|
|
511
511
|
});
|
|
@@ -515,24 +515,24 @@ const Xe = Ke(
|
|
|
515
515
|
}), () => {
|
|
516
516
|
clearTimeout(e), t.disconnect();
|
|
517
517
|
};
|
|
518
|
-
}, []),
|
|
519
|
-
const e =
|
|
518
|
+
}, []), y(() => {
|
|
519
|
+
const e = E.current;
|
|
520
520
|
if (!e || typeof ResizeObserver > "u") return;
|
|
521
521
|
let t = 0, r = e.getBoundingClientRect().width;
|
|
522
522
|
const i = new ResizeObserver((a) => {
|
|
523
|
-
var
|
|
524
|
-
const
|
|
525
|
-
|
|
526
|
-
var
|
|
527
|
-
(
|
|
523
|
+
var p, S;
|
|
524
|
+
const o = a[0], c = ((S = (p = o == null ? void 0 : o.borderBoxSize) == null ? void 0 : p[0]) == null ? void 0 : S.inlineSize) ?? (o == null ? void 0 : o.contentRect.width) ?? e.getBoundingClientRect().width;
|
|
525
|
+
c !== r && (r = c, cancelAnimationFrame(t), t = requestAnimationFrame(() => {
|
|
526
|
+
var h, R;
|
|
527
|
+
(R = (h = A.current) == null ? void 0 : h.getApi()) == null || R.updateSize();
|
|
528
528
|
}));
|
|
529
529
|
});
|
|
530
530
|
return i.observe(e), () => {
|
|
531
531
|
cancelAnimationFrame(t), i.disconnect();
|
|
532
532
|
};
|
|
533
|
-
}, []),
|
|
533
|
+
}, []), y(() => {
|
|
534
534
|
if (typeof document > "u") return;
|
|
535
|
-
const e =
|
|
535
|
+
const e = E.current;
|
|
536
536
|
if (!e) return;
|
|
537
537
|
const t = () => {
|
|
538
538
|
e.querySelectorAll(
|
|
@@ -555,20 +555,20 @@ const Xe = Ke(
|
|
|
555
555
|
attributes: !0,
|
|
556
556
|
attributeFilter: ["aria-hidden"]
|
|
557
557
|
}), () => r.disconnect();
|
|
558
|
-
}, [
|
|
559
|
-
const
|
|
560
|
-
() => be(
|
|
561
|
-
),
|
|
562
|
-
|
|
563
|
-
const
|
|
558
|
+
}, [f]);
|
|
559
|
+
const se = yr(), [Ct, kt] = ce(""), [j, At] = ce(
|
|
560
|
+
() => be(u, U)
|
|
561
|
+
), Be = g(j);
|
|
562
|
+
Be.current = j;
|
|
563
|
+
const pe = m(() => {
|
|
564
564
|
const e = () => {
|
|
565
565
|
var t;
|
|
566
|
-
return (t =
|
|
566
|
+
return (t = A.current) == null ? void 0 : t.getApi();
|
|
567
567
|
};
|
|
568
568
|
return {
|
|
569
569
|
getApi: () => {
|
|
570
570
|
var t;
|
|
571
|
-
return (t =
|
|
571
|
+
return (t = A.current) == null ? void 0 : t.getApi();
|
|
572
572
|
},
|
|
573
573
|
today: () => {
|
|
574
574
|
var t;
|
|
@@ -589,7 +589,7 @@ const Xe = Ke(
|
|
|
589
589
|
changeView: (t) => {
|
|
590
590
|
var r;
|
|
591
591
|
(r = e()) == null || r.changeView(
|
|
592
|
-
be(t,
|
|
592
|
+
be(t, U)
|
|
593
593
|
);
|
|
594
594
|
},
|
|
595
595
|
getTitle: () => {
|
|
@@ -605,41 +605,41 @@ const Xe = Ke(
|
|
|
605
605
|
return (t = e()) == null ? void 0 : t.getDate();
|
|
606
606
|
},
|
|
607
607
|
focusEvent: (t) => {
|
|
608
|
-
const r =
|
|
608
|
+
const r = E.current;
|
|
609
609
|
if (!r) return;
|
|
610
610
|
const i = `[data-event-id="${CSS.escape(t)}"]`, a = r.querySelector(i);
|
|
611
611
|
if (a) {
|
|
612
|
-
if (
|
|
613
|
-
behavior:
|
|
612
|
+
if (P.current && (clearTimeout(P.current), P.current = null), z.current && z.current !== a && z.current.classList.remove("calendar-event-focused"), a.scrollIntoView({
|
|
613
|
+
behavior: se ? "auto" : "smooth",
|
|
614
614
|
block: "center"
|
|
615
|
-
}), a.classList.add("calendar-event-focused"),
|
|
616
|
-
const
|
|
617
|
-
|
|
618
|
-
title:
|
|
615
|
+
}), a.classList.add("calendar-event-focused"), z.current = a, I.current) {
|
|
616
|
+
const o = a.getAttribute("aria-label") ?? t, c = D ? "•••" : o;
|
|
617
|
+
I.current.textContent = f("calendar.focusedEvent", {
|
|
618
|
+
title: c
|
|
619
619
|
});
|
|
620
620
|
}
|
|
621
|
-
|
|
622
|
-
a.classList.remove("calendar-event-focused"),
|
|
621
|
+
P.current = setTimeout(() => {
|
|
622
|
+
a.classList.remove("calendar-event-focused"), z.current === a && (z.current = null), P.current = null;
|
|
623
623
|
}, 3e3);
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
626
|
};
|
|
627
|
-
}, [
|
|
628
|
-
|
|
627
|
+
}, [se, D, f, U]);
|
|
628
|
+
or(xt, () => pe, [pe]), br(Ar, pe, n), y(
|
|
629
629
|
() => () => {
|
|
630
|
-
|
|
630
|
+
P.current && (clearTimeout(P.current), P.current = null);
|
|
631
631
|
},
|
|
632
632
|
[]
|
|
633
633
|
);
|
|
634
|
-
const Oe =
|
|
635
|
-
|
|
634
|
+
const Oe = g(!0);
|
|
635
|
+
y(() => {
|
|
636
636
|
if (Oe.current) {
|
|
637
637
|
Oe.current = !1;
|
|
638
638
|
return;
|
|
639
639
|
}
|
|
640
|
-
|
|
641
|
-
}, [
|
|
642
|
-
const
|
|
640
|
+
I.current && (I.current.textContent = f(D ? "calendar.privacyModeOn" : "calendar.privacyModeOff"));
|
|
641
|
+
}, [D, f]);
|
|
642
|
+
const It = m(
|
|
643
643
|
() => s.map((e) => ({
|
|
644
644
|
id: e.id,
|
|
645
645
|
title: e.title,
|
|
@@ -684,6 +684,7 @@ const Xe = Ke(
|
|
|
684
684
|
suffix: e.suffix,
|
|
685
685
|
shortTitle: e.shortTitle,
|
|
686
686
|
contextLabel: e.contextLabel,
|
|
687
|
+
contextName: e.contextName,
|
|
687
688
|
privacyModeTitle: e.privacyModeTitle,
|
|
688
689
|
isBookedOnline: e.isBookedOnline ?? !1,
|
|
689
690
|
hasUnassignedPatient: e.hasUnassignedPatient ?? !1,
|
|
@@ -702,24 +703,24 @@ const Xe = Ke(
|
|
|
702
703
|
}
|
|
703
704
|
})),
|
|
704
705
|
[s]
|
|
705
|
-
),
|
|
706
|
+
), St = m(
|
|
706
707
|
() => ({
|
|
707
708
|
year: "numeric",
|
|
708
709
|
month: "long"
|
|
709
710
|
}),
|
|
710
711
|
[]
|
|
711
|
-
),
|
|
712
|
+
), Rt = m(
|
|
712
713
|
() => ({
|
|
713
714
|
weekday: "short"
|
|
714
715
|
}),
|
|
715
716
|
[]
|
|
716
|
-
),
|
|
717
|
+
), Nt = m(
|
|
717
718
|
() => ({
|
|
718
719
|
hour: "numeric",
|
|
719
720
|
minute: "2-digit"
|
|
720
721
|
}),
|
|
721
722
|
[]
|
|
722
|
-
),
|
|
723
|
+
), Et = m(
|
|
723
724
|
() => ({
|
|
724
725
|
hour: "2-digit",
|
|
725
726
|
minute: "2-digit",
|
|
@@ -728,112 +729,112 @@ const Xe = Ke(
|
|
|
728
729
|
hour12: !1
|
|
729
730
|
}),
|
|
730
731
|
[]
|
|
731
|
-
),
|
|
732
|
+
), M = m(
|
|
732
733
|
() => new Set(Re ?? []),
|
|
733
734
|
[Re]
|
|
734
|
-
),
|
|
735
|
-
|
|
736
|
-
const
|
|
735
|
+
), ve = g(M);
|
|
736
|
+
ve.current = M;
|
|
737
|
+
const he = g(!1), Pt = T(
|
|
737
738
|
(e) => {
|
|
738
|
-
const t = new Intl.DateTimeFormat(
|
|
739
|
+
const t = new Intl.DateTimeFormat(b, {
|
|
739
740
|
weekday: "short"
|
|
740
741
|
}).format(e.date);
|
|
741
742
|
if (e.view.type === "dayGridMonth" || e.view.type.startsWith("list"))
|
|
742
743
|
return t;
|
|
743
|
-
const r = new Intl.DateTimeFormat(
|
|
744
|
+
const r = new Intl.DateTimeFormat(b, {
|
|
744
745
|
day: "numeric"
|
|
745
746
|
}).format(e.date);
|
|
746
|
-
return /* @__PURE__ */
|
|
747
|
-
/* @__PURE__ */
|
|
748
|
-
/* @__PURE__ */
|
|
747
|
+
return /* @__PURE__ */ L("span", { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-2xs)] ds:py-[var(--spacing-2xs)]", children: [
|
|
748
|
+
/* @__PURE__ */ l("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: t }),
|
|
749
|
+
/* @__PURE__ */ l(
|
|
749
750
|
"span",
|
|
750
751
|
{
|
|
751
752
|
className: e.isToday ? "ds:flex ds:size-7 ds:items-center ds:justify-center ds:rounded-full ds:bg-[var(--primary)] ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:leading-none ds:text-[color:var(--primary-foreground)]" : "ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:leading-none",
|
|
752
753
|
children: r
|
|
753
754
|
}
|
|
754
755
|
),
|
|
755
|
-
|
|
756
|
+
M.has(H(e.date)) ? /* @__PURE__ */ l(kr, { children: f("calendar.loadingDay") }) : null
|
|
756
757
|
] });
|
|
757
758
|
},
|
|
758
|
-
[
|
|
759
|
-
), Fe =
|
|
760
|
-
() => typeof
|
|
761
|
-
[
|
|
762
|
-
),
|
|
763
|
-
() =>
|
|
764
|
-
[
|
|
765
|
-
),
|
|
766
|
-
if (
|
|
767
|
-
return
|
|
768
|
-
}, [
|
|
769
|
-
() =>
|
|
770
|
-
[
|
|
771
|
-
),
|
|
772
|
-
|
|
773
|
-
const
|
|
759
|
+
[b, M, f]
|
|
760
|
+
), Fe = m(
|
|
761
|
+
() => typeof X == "number" ? { minutes: X } : X,
|
|
762
|
+
[X]
|
|
763
|
+
), ge = m(
|
|
764
|
+
() => F ? F.split(/\s+/).filter(Boolean) : void 0,
|
|
765
|
+
[F]
|
|
766
|
+
), Lt = m(() => {
|
|
767
|
+
if (Y !== void 0)
|
|
768
|
+
return Y === "chairs" ? f("calendar.resourceLabel.chairs") : Y === "operators" ? f("calendar.resourceLabel.operators") : Y;
|
|
769
|
+
}, [Y, f]), oe = m(
|
|
770
|
+
() => Br(d, ue),
|
|
771
|
+
[d, ue]
|
|
772
|
+
), _ = g(oe);
|
|
773
|
+
_.current = oe;
|
|
774
|
+
const ye = g(!1), Mt = T(
|
|
774
775
|
(e) => {
|
|
775
|
-
const t =
|
|
776
|
+
const t = M.has(H(e.date)) ? [Gr] : [], r = _.current;
|
|
776
777
|
if (!r.active || !e.view.type.startsWith("resourceTimeGrid"))
|
|
777
778
|
return t;
|
|
778
779
|
const i = e.resource;
|
|
779
780
|
return i != null && i.id && r.hiddenCells.has(
|
|
780
|
-
`${i.id}:${
|
|
781
|
+
`${i.id}:${H(e.date)}`
|
|
781
782
|
) ? [...t, xe] : t;
|
|
782
783
|
},
|
|
783
|
-
[
|
|
784
|
-
),
|
|
784
|
+
[M]
|
|
785
|
+
), Gt = T(
|
|
785
786
|
(e) => {
|
|
786
|
-
const t =
|
|
787
|
+
const t = _.current;
|
|
787
788
|
if (!t.active || !e.view.type.startsWith("resourceTimeGrid"))
|
|
788
789
|
return [];
|
|
789
790
|
const r = e.date ?? e.view.currentStart;
|
|
790
791
|
return t.hiddenCells.has(
|
|
791
|
-
`${e.resource.id}:${
|
|
792
|
+
`${e.resource.id}:${H(r)}`
|
|
792
793
|
) ? [xe] : [];
|
|
793
794
|
},
|
|
794
795
|
[]
|
|
795
|
-
),
|
|
796
|
+
), Bt = T(
|
|
796
797
|
(e) => {
|
|
797
|
-
const t =
|
|
798
|
-
return !t.active || !e.view.type.startsWith("resourceTimeGrid") ? [] : (t.hiddenCountByDate.get(
|
|
798
|
+
const t = _.current;
|
|
799
|
+
return !t.active || !e.view.type.startsWith("resourceTimeGrid") ? [] : (t.hiddenCountByDate.get(H(e.date)) ?? 0) >= t.resourceCount ? [xe] : [];
|
|
799
800
|
},
|
|
800
801
|
[]
|
|
801
|
-
),
|
|
802
|
-
const t =
|
|
802
|
+
), Ot = T((e) => {
|
|
803
|
+
const t = _.current;
|
|
803
804
|
if (!t.active || !e.view.type.startsWith("resourceTimeGrid"))
|
|
804
805
|
return;
|
|
805
806
|
const r = e.el;
|
|
806
807
|
if (!(r instanceof HTMLTableCellElement) || !r.classList.contains("fc-day")) return;
|
|
807
808
|
const i = r.getAttribute("data-date");
|
|
808
809
|
if (!i) return;
|
|
809
|
-
const a = t.hiddenCountByDate.get(i) ?? 0,
|
|
810
|
-
r.colSpan !==
|
|
811
|
-
}, []),
|
|
812
|
-
const e =
|
|
813
|
-
if (!e || !
|
|
814
|
-
const t =
|
|
815
|
-
!t.active && !
|
|
810
|
+
const a = t.hiddenCountByDate.get(i) ?? 0, o = Math.max(1, t.resourceCount - a);
|
|
811
|
+
r.colSpan !== o && (r.colSpan = o, ye.current = !0);
|
|
812
|
+
}, []), J = T(() => {
|
|
813
|
+
const e = E.current;
|
|
814
|
+
if (!e || !Be.current.startsWith("resourceTimeGrid")) return;
|
|
815
|
+
const t = _.current;
|
|
816
|
+
!t.active && !ye.current || (e.querySelectorAll(
|
|
816
817
|
"th.fc-col-header-cell.fc-day[data-date]"
|
|
817
818
|
).forEach((r) => {
|
|
818
819
|
const i = r.getAttribute("data-date");
|
|
819
820
|
if (!i) return;
|
|
820
|
-
const a = t.active ? t.hiddenCountByDate.get(i) ?? 0 : 0,
|
|
821
|
-
r.colSpan !==
|
|
822
|
-
}),
|
|
823
|
-
}, []),
|
|
824
|
-
const e =
|
|
821
|
+
const a = t.active ? t.hiddenCountByDate.get(i) ?? 0 : 0, o = Math.max(1, t.resourceCount - a);
|
|
822
|
+
r.colSpan !== o && (r.colSpan = o);
|
|
823
|
+
}), ye.current = t.active);
|
|
824
|
+
}, []), Z = T(() => {
|
|
825
|
+
const e = E.current;
|
|
825
826
|
if (!e) return;
|
|
826
|
-
const t =
|
|
827
|
-
t.size === 0 && !
|
|
827
|
+
const t = ve.current;
|
|
828
|
+
t.size === 0 && !he.current || (e.querySelectorAll("td.fc-day[data-date]").forEach((r) => {
|
|
828
829
|
const i = r.getAttribute("data-date");
|
|
829
830
|
i && t.has(i) ? r.setAttribute("aria-busy", "true") : r.removeAttribute("aria-busy");
|
|
830
|
-
}),
|
|
831
|
-
}, []),
|
|
832
|
-
|
|
831
|
+
}), he.current = t.size > 0);
|
|
832
|
+
}, []), Ft = T((e) => {
|
|
833
|
+
ve.current.has(H(e.date)) && (e.el.setAttribute("aria-busy", "true"), he.current = !0);
|
|
833
834
|
}, []);
|
|
834
|
-
|
|
835
|
-
}, [s,
|
|
836
|
-
const
|
|
835
|
+
y(() => {
|
|
836
|
+
}, [s, oe]);
|
|
837
|
+
const G = (e) => {
|
|
837
838
|
const t = e.extendedProps ?? {};
|
|
838
839
|
return {
|
|
839
840
|
id: e.id,
|
|
@@ -849,6 +850,7 @@ const Xe = Ke(
|
|
|
849
850
|
suffix: t.suffix,
|
|
850
851
|
shortTitle: t.shortTitle,
|
|
851
852
|
contextLabel: t.contextLabel,
|
|
853
|
+
contextName: t.contextName,
|
|
852
854
|
privacyModeTitle: t.privacyModeTitle,
|
|
853
855
|
isBookedOnline: t.isBookedOnline,
|
|
854
856
|
hasUnassignedPatient: t.hasUnassignedPatient,
|
|
@@ -866,28 +868,28 @@ const Xe = Ke(
|
|
|
866
868
|
operatorId: t.operatorId,
|
|
867
869
|
optionCount: t.optionCount
|
|
868
870
|
};
|
|
869
|
-
},
|
|
870
|
-
if (
|
|
871
|
+
}, Wt = m(() => {
|
|
872
|
+
if (x)
|
|
871
873
|
return (e) => {
|
|
872
874
|
var r, i, a;
|
|
873
875
|
if (!e.event.start) return;
|
|
874
876
|
const t = e.oldEvent.start;
|
|
875
|
-
if (t && (
|
|
876
|
-
event:
|
|
877
|
+
if (t && (x({
|
|
878
|
+
event: G(e.event),
|
|
877
879
|
oldStart: t,
|
|
878
880
|
newStart: e.event.start,
|
|
879
881
|
oldResourceId: (r = e.oldResource) == null ? void 0 : r.id,
|
|
880
882
|
newResourceId: (i = e.newResource) == null ? void 0 : i.id,
|
|
881
883
|
revert: e.revert
|
|
882
|
-
}),
|
|
883
|
-
const
|
|
884
|
-
|
|
885
|
-
title:
|
|
884
|
+
}), I.current)) {
|
|
885
|
+
const o = e.event.extendedProps ?? {}, c = D ? ((a = o.privacyModeTitle) == null ? void 0 : a.trim()) || "•••" : e.event.title;
|
|
886
|
+
I.current.textContent = f("calendar.eventMoved", {
|
|
887
|
+
title: c
|
|
886
888
|
});
|
|
887
889
|
}
|
|
888
890
|
};
|
|
889
|
-
}, [
|
|
890
|
-
if (
|
|
891
|
+
}, [x, D, f]), zt = m(() => {
|
|
892
|
+
if (N)
|
|
891
893
|
return (e) => {
|
|
892
894
|
var a;
|
|
893
895
|
if (!e.event.end) return;
|
|
@@ -895,70 +897,70 @@ const Xe = Ke(
|
|
|
895
897
|
if (!t)
|
|
896
898
|
return;
|
|
897
899
|
const r = e.event.end, i = e.event.start ?? e.oldEvent.start ?? t;
|
|
898
|
-
if (
|
|
899
|
-
event:
|
|
900
|
+
if (N({
|
|
901
|
+
event: G(e.event),
|
|
900
902
|
oldEnd: t,
|
|
901
903
|
newEnd: r,
|
|
902
904
|
revert: e.revert
|
|
903
|
-
}),
|
|
904
|
-
const
|
|
905
|
+
}), I.current) {
|
|
906
|
+
const o = Math.round(
|
|
905
907
|
(r.getTime() - i.getTime()) / 6e4
|
|
906
|
-
),
|
|
907
|
-
|
|
908
|
-
title:
|
|
909
|
-
duration:
|
|
908
|
+
), c = e.event.extendedProps ?? {}, p = D ? ((a = c.privacyModeTitle) == null ? void 0 : a.trim()) || "•••" : e.event.title;
|
|
909
|
+
I.current.textContent = f("calendar.eventResized", {
|
|
910
|
+
title: p,
|
|
911
|
+
duration: o
|
|
910
912
|
});
|
|
911
913
|
}
|
|
912
914
|
};
|
|
913
|
-
}, [
|
|
914
|
-
if (
|
|
915
|
+
}, [N, D, f]), jt = m(() => {
|
|
916
|
+
if (C)
|
|
915
917
|
return (e) => {
|
|
916
|
-
e.event.start && (Le.current = e.jsEvent,
|
|
918
|
+
e.event.start && (Le.current = e.jsEvent, C(G(e.event), {
|
|
917
919
|
el: e.el,
|
|
918
920
|
jsEvent: e.jsEvent
|
|
919
921
|
}));
|
|
920
922
|
};
|
|
921
|
-
}, [
|
|
922
|
-
if (
|
|
923
|
+
}, [C]), _t = m(() => {
|
|
924
|
+
if ($)
|
|
923
925
|
return (e) => {
|
|
924
926
|
if (!e.event.start || e.event.display === "background") return;
|
|
925
927
|
const t = e.event.extendedProps ?? {};
|
|
926
|
-
t.isDraft || t.detailsPending ||
|
|
928
|
+
t.isDraft || t.detailsPending || $(G(e.event), {
|
|
927
929
|
el: e.el,
|
|
928
930
|
jsEvent: e.jsEvent
|
|
929
931
|
});
|
|
930
932
|
};
|
|
931
|
-
}, [
|
|
932
|
-
if (
|
|
933
|
+
}, [$]), Vt = m(() => {
|
|
934
|
+
if (K)
|
|
933
935
|
return (e) => {
|
|
934
|
-
e.event.start && e.event.display !== "background" &&
|
|
936
|
+
e.event.start && e.event.display !== "background" && K(G(e.event));
|
|
935
937
|
};
|
|
936
|
-
}, [
|
|
937
|
-
if (
|
|
938
|
+
}, [K]), Ht = m(() => {
|
|
939
|
+
if (B)
|
|
938
940
|
return (e) => {
|
|
939
941
|
var t;
|
|
940
|
-
|
|
942
|
+
B({
|
|
941
943
|
start: e.start,
|
|
942
944
|
end: e.end,
|
|
943
945
|
allDay: e.allDay,
|
|
944
946
|
resourceId: (t = e.resource) == null ? void 0 : t.id
|
|
945
947
|
});
|
|
946
948
|
};
|
|
947
|
-
}, [
|
|
948
|
-
if (
|
|
949
|
+
}, [B]), qt = m(() => {
|
|
950
|
+
if (k)
|
|
949
951
|
return (e) => {
|
|
950
952
|
var r;
|
|
951
|
-
const t =
|
|
952
|
-
t !== 0 &&
|
|
953
|
+
const t = ae.current.id;
|
|
954
|
+
t !== 0 && Ge.current === t || (t !== 0 && (Me.current = t), k({
|
|
953
955
|
date: e.date,
|
|
954
956
|
allDay: e.allDay,
|
|
955
957
|
resourceId: (r = e.resource) == null ? void 0 : r.id
|
|
956
958
|
}));
|
|
957
959
|
};
|
|
958
|
-
}, [
|
|
960
|
+
}, [k]), $t = T(
|
|
959
961
|
(e) => {
|
|
960
|
-
|
|
961
|
-
view:
|
|
962
|
+
kt(e.view.title), At(e.view.type), O == null || O({
|
|
963
|
+
view: u,
|
|
962
964
|
internalView: e.view.type,
|
|
963
965
|
start: e.start,
|
|
964
966
|
end: e.end,
|
|
@@ -966,106 +968,138 @@ const Xe = Ke(
|
|
|
966
968
|
tick, which fires before fcRef is guaranteed to be assigned. */
|
|
967
969
|
currentDate: e.view.calendar.getDate(),
|
|
968
970
|
title: e.view.title
|
|
969
|
-
}),
|
|
971
|
+
}), J(), Z();
|
|
970
972
|
},
|
|
971
|
-
[
|
|
972
|
-
),
|
|
973
|
+
[O, u, J, Z]
|
|
974
|
+
), Kt = m(() => Mr(b), [b]), Ut = m(
|
|
973
975
|
() => [
|
|
974
|
-
dr,
|
|
975
|
-
lr,
|
|
976
976
|
cr,
|
|
977
|
-
vr,
|
|
978
977
|
ur,
|
|
979
978
|
mr,
|
|
979
|
+
gr,
|
|
980
980
|
fr,
|
|
981
|
-
pr
|
|
981
|
+
pr,
|
|
982
|
+
vr,
|
|
983
|
+
hr
|
|
982
984
|
],
|
|
983
985
|
[]
|
|
984
|
-
),
|
|
985
|
-
() => be(
|
|
986
|
-
[
|
|
986
|
+
), Yt = m(
|
|
987
|
+
() => be(u, U),
|
|
988
|
+
[u, U]
|
|
987
989
|
);
|
|
988
|
-
|
|
989
|
-
const e =
|
|
990
|
+
y(() => {
|
|
991
|
+
const e = E.current;
|
|
990
992
|
if (!e) return;
|
|
991
993
|
const t = (r) => {
|
|
992
|
-
|
|
993
|
-
id:
|
|
994
|
+
ae.current = {
|
|
995
|
+
id: ae.current.id + 1,
|
|
994
996
|
x: r.clientX,
|
|
995
997
|
y: r.clientY
|
|
996
998
|
};
|
|
997
999
|
};
|
|
998
1000
|
return e.addEventListener("pointerdown", t, !0), () => e.removeEventListener("pointerdown", t, !0);
|
|
999
|
-
}, []),
|
|
1000
|
-
const e =
|
|
1001
|
-
if (!e || !
|
|
1001
|
+
}, []), y(() => {
|
|
1002
|
+
const e = E.current;
|
|
1003
|
+
if (!e || !j.startsWith("resourceTimeGrid") || !k && !C) return;
|
|
1002
1004
|
const t = (r) => {
|
|
1003
|
-
var
|
|
1005
|
+
var h;
|
|
1004
1006
|
if (r === Le.current) return;
|
|
1005
1007
|
const i = r.target;
|
|
1006
1008
|
if (!(i instanceof Element) || i.closest(
|
|
1007
1009
|
".fc-more-link, a[data-navlink], .fc-popover, .fc-event-mirror"
|
|
1008
1010
|
))
|
|
1009
1011
|
return;
|
|
1010
|
-
const a =
|
|
1012
|
+
const a = ae.current;
|
|
1011
1013
|
if (a.id !== 0 && (Math.abs(r.clientX - a.x) > Te || Math.abs(r.clientY - a.y) > Te))
|
|
1012
1014
|
return;
|
|
1013
|
-
const
|
|
1014
|
-
if (!
|
|
1015
|
-
const
|
|
1016
|
-
if (
|
|
1017
|
-
if (!
|
|
1018
|
-
const
|
|
1019
|
-
if (!
|
|
1020
|
-
const
|
|
1021
|
-
if (
|
|
1022
|
-
const
|
|
1023
|
-
|
|
1015
|
+
const o = i.closest("td.fc-daygrid-day[data-date]");
|
|
1016
|
+
if (!o) return;
|
|
1017
|
+
const c = i.closest("[data-event-id]");
|
|
1018
|
+
if (c) {
|
|
1019
|
+
if (!C) return;
|
|
1020
|
+
const R = c.getAttribute("data-event-id"), V = (h = A.current) == null ? void 0 : h.getApi(), de = R ? V == null ? void 0 : V.getEventById(R) : null;
|
|
1021
|
+
if (!de || !de.start) return;
|
|
1022
|
+
const je = de.extendedProps ?? {};
|
|
1023
|
+
if (je.isInternal || je.isDraft) return;
|
|
1024
|
+
const sr = i.closest(".fc-event") ?? c;
|
|
1025
|
+
C(G(de), { el: sr, jsEvent: r });
|
|
1024
1026
|
return;
|
|
1025
1027
|
}
|
|
1026
|
-
if (!
|
|
1028
|
+
if (!k || a.id !== 0 && Me.current === a.id)
|
|
1027
1029
|
return;
|
|
1028
|
-
const
|
|
1029
|
-
if (!
|
|
1030
|
-
const
|
|
1031
|
-
Number.isNaN(
|
|
1032
|
-
date:
|
|
1030
|
+
const p = o.getAttribute("data-date");
|
|
1031
|
+
if (!p) return;
|
|
1032
|
+
const S = /* @__PURE__ */ new Date(`${p}T00:00:00`);
|
|
1033
|
+
Number.isNaN(S.getTime()) || (a.id !== 0 && (Ge.current = a.id), k({
|
|
1034
|
+
date: S,
|
|
1033
1035
|
allDay: !0,
|
|
1034
|
-
resourceId:
|
|
1036
|
+
resourceId: o.getAttribute("data-resource-id") ?? void 0
|
|
1035
1037
|
}));
|
|
1036
1038
|
};
|
|
1037
1039
|
return e.addEventListener("click", t), () => e.removeEventListener("click", t);
|
|
1038
|
-
}, [
|
|
1039
|
-
const
|
|
1040
|
+
}, [j, k, C]);
|
|
1041
|
+
const We = m(() => {
|
|
1042
|
+
var a;
|
|
1043
|
+
const e = d ?? [], t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
|
|
1044
|
+
for (const o of e) {
|
|
1045
|
+
const c = (a = o.shortTitle) == null ? void 0 : a.trim();
|
|
1046
|
+
c && r.set(c, (r.get(c) ?? 0) + 1);
|
|
1047
|
+
}
|
|
1048
|
+
let i = e.filter((o) => {
|
|
1049
|
+
var p;
|
|
1050
|
+
const c = (p = o.shortTitle) == null ? void 0 : p.trim();
|
|
1051
|
+
return c && r.get(c) === 1 ? (t.set(o.id, c), !1) : !0;
|
|
1052
|
+
});
|
|
1053
|
+
for (let o = 1; i.length > 0; o += 1) {
|
|
1054
|
+
const c = new Set(t.values()), p = i.map((h) => ({
|
|
1055
|
+
resource: h,
|
|
1056
|
+
short: _e(h.title, { locale: b, letters: o })
|
|
1057
|
+
})), S = /* @__PURE__ */ new Map();
|
|
1058
|
+
for (const { short: h } of p)
|
|
1059
|
+
S.set(h, (S.get(h) ?? 0) + 1);
|
|
1060
|
+
i = p.filter(({ resource: h, short: R }) => {
|
|
1061
|
+
const V = S.get(R) === 1 && !c.has(R);
|
|
1062
|
+
return (V || o >= 3) && t.set(h.id, R), !V && o < 3;
|
|
1063
|
+
}).map(({ resource: h }) => h);
|
|
1064
|
+
}
|
|
1065
|
+
return t;
|
|
1066
|
+
}, [d, b]), Xt = T(
|
|
1040
1067
|
(e) => {
|
|
1041
|
-
const t = e.resource.extendedProps, r = e.resource.title, i = t.color, a = t.shortTitleTextColor,
|
|
1068
|
+
const t = e.resource.extendedProps, r = e.resource.title, i = t.color, a = t.shortTitleTextColor, o = i || a ? {
|
|
1042
1069
|
...i ? { "--resource-color": i } : {},
|
|
1043
1070
|
...a ? {
|
|
1044
1071
|
"--resource-initials-text-color": a
|
|
1045
1072
|
} : {}
|
|
1046
1073
|
} : void 0;
|
|
1047
|
-
return
|
|
1048
|
-
|
|
1074
|
+
return Ee === "chip" && !me ? /* @__PURE__ */ l(
|
|
1075
|
+
Cr,
|
|
1049
1076
|
{
|
|
1050
1077
|
label: r,
|
|
1078
|
+
shortLabel: We.get(e.resource.id) ?? _e(r, { locale: b }),
|
|
1051
1079
|
color: i,
|
|
1052
|
-
orientation:
|
|
1080
|
+
orientation: fe ? "vertical" : "horizontal"
|
|
1053
1081
|
}
|
|
1054
|
-
) :
|
|
1055
|
-
/* @__PURE__ */
|
|
1082
|
+
) : me ? /* @__PURE__ */ l(Ve, { label: r, children: /* @__PURE__ */ l(Dr, { size: "sm", name: r, src: t.avatarSrc }) }) : i ? (i && a && Tr(i, a, `resource ${e.resource.id}`), /* @__PURE__ */ L("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
1083
|
+
/* @__PURE__ */ l(
|
|
1056
1084
|
"span",
|
|
1057
1085
|
{
|
|
1058
1086
|
className: "resource-dot ds:[background-color:var(--resource-color)]",
|
|
1059
|
-
style:
|
|
1087
|
+
style: o,
|
|
1060
1088
|
"aria-hidden": "true"
|
|
1061
1089
|
}
|
|
1062
1090
|
),
|
|
1063
|
-
/* @__PURE__ */
|
|
1064
|
-
] })) : /* @__PURE__ */
|
|
1091
|
+
/* @__PURE__ */ l("span", { className: "ds:truncate ds:text-start", children: r })
|
|
1092
|
+
] })) : /* @__PURE__ */ l("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: /* @__PURE__ */ l("span", { className: "ds:truncate ds:text-start", children: r }) });
|
|
1065
1093
|
},
|
|
1066
|
-
[
|
|
1067
|
-
|
|
1068
|
-
|
|
1094
|
+
[
|
|
1095
|
+
me,
|
|
1096
|
+
Ee,
|
|
1097
|
+
fe,
|
|
1098
|
+
b,
|
|
1099
|
+
We
|
|
1100
|
+
]
|
|
1101
|
+
), ze = m(
|
|
1102
|
+
() => d == null ? void 0 : d.map((e) => ({
|
|
1069
1103
|
id: e.id,
|
|
1070
1104
|
title: e.title,
|
|
1071
1105
|
sequenceNumber: e.sequenceNumber,
|
|
@@ -1077,38 +1111,38 @@ const Xe = Ke(
|
|
|
1077
1111
|
sequenceNumber: e.sequenceNumber
|
|
1078
1112
|
}
|
|
1079
1113
|
})),
|
|
1080
|
-
[
|
|
1114
|
+
[d]
|
|
1081
1115
|
);
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
const e = requestAnimationFrame(
|
|
1116
|
+
y(() => {
|
|
1117
|
+
J();
|
|
1118
|
+
const e = requestAnimationFrame(J);
|
|
1085
1119
|
return () => cancelAnimationFrame(e);
|
|
1086
|
-
}, [
|
|
1087
|
-
|
|
1088
|
-
const e = requestAnimationFrame(
|
|
1120
|
+
}, [oe, ze, j, J]), y(() => {
|
|
1121
|
+
Z();
|
|
1122
|
+
const e = requestAnimationFrame(Z);
|
|
1089
1123
|
return () => cancelAnimationFrame(e);
|
|
1090
|
-
}, [
|
|
1091
|
-
const
|
|
1124
|
+
}, [M, j, Z]);
|
|
1125
|
+
const Jt = T(() => {
|
|
1092
1126
|
var e, t;
|
|
1093
|
-
(t = (e =
|
|
1094
|
-
}, []),
|
|
1127
|
+
(t = (e = A.current) == null ? void 0 : e.getApi()) == null || t.today();
|
|
1128
|
+
}, []), Zt = T(() => {
|
|
1095
1129
|
var e, t;
|
|
1096
|
-
(t = (e =
|
|
1097
|
-
}, []),
|
|
1130
|
+
(t = (e = A.current) == null ? void 0 : e.getApi()) == null || t.prev();
|
|
1131
|
+
}, []), Qt = T(() => {
|
|
1098
1132
|
var e, t;
|
|
1099
|
-
(t = (e =
|
|
1100
|
-
}, []),
|
|
1133
|
+
(t = (e = A.current) == null ? void 0 : e.getApi()) == null || t.next();
|
|
1134
|
+
}, []), er = m(
|
|
1101
1135
|
() => s.some((e) => e.isDraft),
|
|
1102
1136
|
[s]
|
|
1103
|
-
),
|
|
1137
|
+
), tr = [
|
|
1104
1138
|
"fc-theme-alfadocs",
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1139
|
+
Ir({ density: it }),
|
|
1140
|
+
Tt ? "calendar-zebra-rows" : null,
|
|
1141
|
+
fe ? "calendar-vertical-resource-labels" : null,
|
|
1142
|
+
yt ? "calendar-availability-mode" : null,
|
|
1109
1143
|
/* Composing: derived from the events themselves rather than a prop,
|
|
1110
1144
|
so the dim can never disagree with what is on the grid. */
|
|
1111
|
-
|
|
1145
|
+
er ? "calendar-composing-mode" : null,
|
|
1112
1146
|
"ds:bg-background ds:text-foreground",
|
|
1113
1147
|
/* The radius clips the table's square corners; the frame is this
|
|
1114
1148
|
border, not FullCalendar's. `clip`, not `hidden`: a scroll container
|
|
@@ -1118,11 +1152,11 @@ const Xe = Ke(
|
|
|
1118
1152
|
which scrolls the date header away; FullCalendar's own value is
|
|
1119
1153
|
visible. Important, as the host rule is unlayered. */
|
|
1120
1154
|
"ds:[&_.fc-view]:!overflow-visible ds:[&_.fc-view>table]:!overflow-visible",
|
|
1121
|
-
|
|
1122
|
-
].filter(Boolean).join(" "),
|
|
1123
|
-
...
|
|
1124
|
-
...
|
|
1125
|
-
} : void 0,
|
|
1155
|
+
rt
|
|
1156
|
+
].filter(Boolean).join(" "), rr = ne || ie ? {
|
|
1157
|
+
...ne ? { "--calendar-mode-bg": ne } : {},
|
|
1158
|
+
...ie ? { "--calendar-mode-fg": ie } : {}
|
|
1159
|
+
} : void 0, nr = re !== "default" ? at ?? f(Lr[re]) : "", ir = [
|
|
1126
1160
|
"ds:sticky ds:top-0 ds:z-10",
|
|
1127
1161
|
"ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
1128
1162
|
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
|
|
@@ -1130,9 +1164,9 @@ const Xe = Ke(
|
|
|
1130
1164
|
/* Caller-supplied colours flow through CSS custom properties set
|
|
1131
1165
|
in `modeBannerStyle`; fallback tokens apply when the caller
|
|
1132
1166
|
doesn't supply a hex. */
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
].filter(Boolean).join(" "),
|
|
1167
|
+
ne ? "ds:[background-color:var(--calendar-mode-bg)]" : "ds:bg-[var(--muted)]",
|
|
1168
|
+
ie ? "ds:[color:var(--calendar-mode-fg)]" : "ds:text-[var(--muted-foreground)]"
|
|
1169
|
+
].filter(Boolean).join(" "), ar = [
|
|
1136
1170
|
"ds:inline-flex ds:items-center ds:justify-center",
|
|
1137
1171
|
"ds:min-h-[var(--min-target-size)]",
|
|
1138
1172
|
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
|
|
@@ -1147,189 +1181,190 @@ const Xe = Ke(
|
|
|
1147
1181
|
"ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
1148
1182
|
"ds:motion-reduce:transition-none"
|
|
1149
1183
|
].join(" ");
|
|
1150
|
-
return /* @__PURE__ */
|
|
1184
|
+
return /* @__PURE__ */ L(
|
|
1151
1185
|
"div",
|
|
1152
1186
|
{
|
|
1153
|
-
ref:
|
|
1154
|
-
className:
|
|
1187
|
+
ref: E,
|
|
1188
|
+
className: tr,
|
|
1155
1189
|
role: "region",
|
|
1156
|
-
"aria-label":
|
|
1190
|
+
"aria-label": f("calendar.ariaLabel"),
|
|
1157
1191
|
"data-component": "calendar",
|
|
1158
1192
|
"data-component-id": n,
|
|
1159
|
-
"data-mode":
|
|
1193
|
+
"data-mode": re,
|
|
1160
1194
|
children: [
|
|
1161
|
-
/* @__PURE__ */
|
|
1195
|
+
/* @__PURE__ */ l(
|
|
1162
1196
|
"div",
|
|
1163
1197
|
{
|
|
1164
|
-
ref:
|
|
1198
|
+
ref: I,
|
|
1165
1199
|
"aria-live": "polite",
|
|
1166
1200
|
"aria-atomic": "true",
|
|
1167
|
-
className: ["ds:sr-only",
|
|
1201
|
+
className: ["ds:sr-only", F].filter(Boolean).join(" ")
|
|
1168
1202
|
}
|
|
1169
1203
|
),
|
|
1170
|
-
|
|
1171
|
-
|
|
1204
|
+
st,
|
|
1205
|
+
re !== "default" ? /* @__PURE__ */ L(
|
|
1172
1206
|
"div",
|
|
1173
1207
|
{
|
|
1174
|
-
className:
|
|
1175
|
-
style:
|
|
1208
|
+
className: ir,
|
|
1209
|
+
style: rr,
|
|
1176
1210
|
role: "status",
|
|
1177
1211
|
"data-calendar-mode-banner": "",
|
|
1178
1212
|
children: [
|
|
1179
|
-
/* @__PURE__ */
|
|
1213
|
+
/* @__PURE__ */ l(
|
|
1180
1214
|
"span",
|
|
1181
1215
|
{
|
|
1182
|
-
className: ["ds:flex-1 ds:text-start",
|
|
1183
|
-
children:
|
|
1216
|
+
className: ["ds:flex-1 ds:text-start", F].filter(Boolean).join(" "),
|
|
1217
|
+
children: nr
|
|
1184
1218
|
}
|
|
1185
1219
|
),
|
|
1186
|
-
Ie ? /* @__PURE__ */
|
|
1220
|
+
Ie ? /* @__PURE__ */ l(
|
|
1187
1221
|
"button",
|
|
1188
1222
|
{
|
|
1189
1223
|
type: "button",
|
|
1190
1224
|
onClick: Ie,
|
|
1191
|
-
className:
|
|
1192
|
-
children:
|
|
1225
|
+
className: ar,
|
|
1226
|
+
children: f("calendar.modeBanner.cancel")
|
|
1193
1227
|
}
|
|
1194
1228
|
) : null
|
|
1195
1229
|
]
|
|
1196
1230
|
}
|
|
1197
1231
|
) : null,
|
|
1198
|
-
|
|
1232
|
+
ht !== !1 ? /* @__PURE__ */ l(
|
|
1199
1233
|
we,
|
|
1200
1234
|
{
|
|
1201
|
-
title:
|
|
1202
|
-
onToday:
|
|
1203
|
-
onPrev:
|
|
1204
|
-
onNext:
|
|
1205
|
-
end:
|
|
1206
|
-
maskClassName:
|
|
1235
|
+
title: Ct,
|
|
1236
|
+
onToday: Jt,
|
|
1237
|
+
onPrev: Zt,
|
|
1238
|
+
onNext: Qt,
|
|
1239
|
+
end: gt,
|
|
1240
|
+
maskClassName: F
|
|
1207
1241
|
}
|
|
1208
1242
|
) : null,
|
|
1209
|
-
/* @__PURE__ */
|
|
1210
|
-
|
|
1243
|
+
/* @__PURE__ */ l(
|
|
1244
|
+
lr,
|
|
1211
1245
|
{
|
|
1212
|
-
ref:
|
|
1213
|
-
plugins:
|
|
1214
|
-
schedulerLicenseKey:
|
|
1215
|
-
initialView:
|
|
1216
|
-
views:
|
|
1217
|
-
initialDate:
|
|
1218
|
-
locale:
|
|
1219
|
-
direction:
|
|
1220
|
-
firstDay:
|
|
1221
|
-
editable:
|
|
1222
|
-
eventDurationEditable:
|
|
1223
|
-
selectable:
|
|
1224
|
-
selectMirror:
|
|
1225
|
-
...
|
|
1226
|
-
droppable:
|
|
1227
|
-
dayMaxEvents:
|
|
1228
|
-
height:
|
|
1246
|
+
ref: A,
|
|
1247
|
+
plugins: Ut,
|
|
1248
|
+
schedulerLicenseKey: vt,
|
|
1249
|
+
initialView: Yt,
|
|
1250
|
+
views: Pr,
|
|
1251
|
+
initialDate: v,
|
|
1252
|
+
locale: b,
|
|
1253
|
+
direction: Dt,
|
|
1254
|
+
firstDay: Kt,
|
|
1255
|
+
editable: te,
|
|
1256
|
+
eventDurationEditable: te === !1 ? !1 : Qe ?? te,
|
|
1257
|
+
selectable: ke,
|
|
1258
|
+
selectMirror: et ?? ke,
|
|
1259
|
+
...Ae === void 0 ? {} : { unselectAuto: Ae },
|
|
1260
|
+
droppable: te,
|
|
1261
|
+
dayMaxEvents: pt,
|
|
1262
|
+
height: tt,
|
|
1229
1263
|
expandRows: !0,
|
|
1230
|
-
events:
|
|
1231
|
-
resources:
|
|
1264
|
+
events: It,
|
|
1265
|
+
resources: ze,
|
|
1232
1266
|
resourceOrder: "sequenceNumber",
|
|
1233
|
-
resourceLabelContent:
|
|
1234
|
-
resourceAreaWidth:
|
|
1235
|
-
resourceAreaHeaderContent:
|
|
1236
|
-
dayCellClassNames:
|
|
1237
|
-
dayCellDidMount:
|
|
1238
|
-
dayHeaderClassNames:
|
|
1239
|
-
resourceLabelClassNames:
|
|
1240
|
-
dayHeaderDidMount:
|
|
1241
|
-
...
|
|
1267
|
+
resourceLabelContent: Xt,
|
|
1268
|
+
resourceAreaWidth: bt,
|
|
1269
|
+
resourceAreaHeaderContent: Lt,
|
|
1270
|
+
dayCellClassNames: Mt,
|
|
1271
|
+
dayCellDidMount: Ft,
|
|
1272
|
+
dayHeaderClassNames: Bt,
|
|
1273
|
+
resourceLabelClassNames: Gt,
|
|
1274
|
+
dayHeaderDidMount: Ot,
|
|
1275
|
+
...ge ? { slotLaneClassNames: ge } : {},
|
|
1242
1276
|
eventClassNames: (e) => {
|
|
1243
1277
|
var t;
|
|
1244
1278
|
return [
|
|
1245
|
-
...
|
|
1279
|
+
...ge ?? [],
|
|
1246
1280
|
...Pe && e.event.id === Pe ? ["calendar-event-selected"] : [],
|
|
1247
1281
|
...(t = e.event.extendedProps) != null && t.isDraft ? ["calendar-event-draft"] : []
|
|
1248
1282
|
];
|
|
1249
1283
|
},
|
|
1250
1284
|
headerToolbar: !1,
|
|
1251
|
-
allDayText:
|
|
1252
|
-
noEventsText:
|
|
1253
|
-
titleFormat:
|
|
1254
|
-
dayHeaderFormat:
|
|
1255
|
-
dayHeaderContent:
|
|
1256
|
-
eventTimeFormat:
|
|
1257
|
-
slotLabelFormat:
|
|
1258
|
-
slotMinTime:
|
|
1259
|
-
slotMaxTime:
|
|
1260
|
-
slotDuration:
|
|
1261
|
-
...
|
|
1285
|
+
allDayText: f("calendar.allDay"),
|
|
1286
|
+
noEventsText: f("calendar.noEvents"),
|
|
1287
|
+
titleFormat: St,
|
|
1288
|
+
dayHeaderFormat: Rt,
|
|
1289
|
+
dayHeaderContent: Pt,
|
|
1290
|
+
eventTimeFormat: Nt,
|
|
1291
|
+
slotLabelFormat: Et,
|
|
1292
|
+
slotMinTime: ot ?? "00:00:00",
|
|
1293
|
+
slotMaxTime: dt ?? "24:00:00",
|
|
1294
|
+
slotDuration: lt ?? "00:30:00",
|
|
1295
|
+
...Ne ? { snapDuration: Ne } : {},
|
|
1262
1296
|
slotLabelInterval: "01:00:00",
|
|
1263
1297
|
...Fe !== void 0 ? { defaultTimedEventDuration: Fe } : {},
|
|
1264
1298
|
hiddenDays: Se,
|
|
1265
|
-
datesAboveResources:
|
|
1266
|
-
slotEventOverlap:
|
|
1267
|
-
stickyHeaderDates:
|
|
1268
|
-
nowIndicator:
|
|
1269
|
-
eventLongPressDelay:
|
|
1270
|
-
eventDragMinDistance:
|
|
1299
|
+
datesAboveResources: ue,
|
|
1300
|
+
slotEventOverlap: ut,
|
|
1301
|
+
stickyHeaderDates: mt,
|
|
1302
|
+
nowIndicator: ft,
|
|
1303
|
+
eventLongPressDelay: se ? 0 : 1e3,
|
|
1304
|
+
eventDragMinDistance: se ? 0 : Te,
|
|
1271
1305
|
eventContent: (e) => {
|
|
1272
1306
|
var r, i;
|
|
1273
1307
|
const t = e.event.extendedProps ?? {};
|
|
1274
1308
|
if (t.isInternal) {
|
|
1275
|
-
if (e.event.title &&
|
|
1276
|
-
const a = typeof t.optionCount == "number" ?
|
|
1309
|
+
if (e.event.title && ee) {
|
|
1310
|
+
const a = typeof t.optionCount == "number" ? f("calendarWorkspace.findSlots.freeOptions", {
|
|
1277
1311
|
count: t.optionCount
|
|
1278
|
-
}) : void 0,
|
|
1312
|
+
}) : void 0, o = a ? [
|
|
1279
1313
|
e.event.title,
|
|
1280
|
-
|
|
1314
|
+
Ue(e, b),
|
|
1281
1315
|
a
|
|
1282
|
-
].filter(Boolean).join(", ") : e.event.title,
|
|
1283
|
-
|
|
1316
|
+
].filter(Boolean).join(", ") : e.event.title, c = /* @__PURE__ */ l(
|
|
1317
|
+
wr,
|
|
1284
1318
|
{
|
|
1285
1319
|
type: "button",
|
|
1286
1320
|
intent: "ghost",
|
|
1287
1321
|
size: "sm",
|
|
1288
1322
|
"data-event-id": e.event.id,
|
|
1289
|
-
"aria-label":
|
|
1323
|
+
"aria-label": o,
|
|
1290
1324
|
className: "ds:pointer-events-auto ds:h-full ds:w-full ds:min-h-0 ds:justify-center ds:before:hidden",
|
|
1291
|
-
onClick: (
|
|
1292
|
-
|
|
1293
|
-
el:
|
|
1294
|
-
jsEvent:
|
|
1325
|
+
onClick: (p) => {
|
|
1326
|
+
p.stopPropagation(), ee(G(e.event), {
|
|
1327
|
+
el: p.currentTarget,
|
|
1328
|
+
jsEvent: p.nativeEvent
|
|
1295
1329
|
});
|
|
1296
1330
|
},
|
|
1297
|
-
children: /* @__PURE__ */
|
|
1331
|
+
children: /* @__PURE__ */ L(
|
|
1298
1332
|
"span",
|
|
1299
1333
|
{
|
|
1300
1334
|
className: "calendar-bg-event-label",
|
|
1301
1335
|
"aria-hidden": "true",
|
|
1302
1336
|
children: [
|
|
1303
|
-
/* @__PURE__ */
|
|
1337
|
+
/* @__PURE__ */ l(He, { size: 12, "aria-hidden": "true" }),
|
|
1304
1338
|
e.event.title
|
|
1305
1339
|
]
|
|
1306
1340
|
}
|
|
1307
1341
|
)
|
|
1308
1342
|
}
|
|
1309
1343
|
);
|
|
1310
|
-
return a ? /* @__PURE__ */
|
|
1344
|
+
return a ? /* @__PURE__ */ l(Ve, { label: a, children: c }) : c;
|
|
1311
1345
|
}
|
|
1312
|
-
return e.event.title ? /* @__PURE__ */
|
|
1313
|
-
/* @__PURE__ */
|
|
1346
|
+
return e.event.title ? /* @__PURE__ */ L("span", { className: "calendar-bg-event-label", children: [
|
|
1347
|
+
/* @__PURE__ */ l(He, { size: 12, "aria-hidden": "true" }),
|
|
1314
1348
|
e.event.title
|
|
1315
1349
|
] }) : !0;
|
|
1316
1350
|
}
|
|
1317
|
-
return /* @__PURE__ */
|
|
1318
|
-
|
|
1351
|
+
return /* @__PURE__ */ l(
|
|
1352
|
+
xr,
|
|
1319
1353
|
{
|
|
1320
1354
|
eventId: e.event.id,
|
|
1321
|
-
title:
|
|
1322
|
-
shortTitle:
|
|
1355
|
+
title: D ? ((r = t.privacyModeTitle) == null ? void 0 : r.trim()) || "•••" : e.event.title,
|
|
1356
|
+
shortTitle: D ? void 0 : t.shortTitle,
|
|
1323
1357
|
contextLabel: t.contextLabel,
|
|
1324
|
-
|
|
1358
|
+
contextName: t.contextName,
|
|
1359
|
+
startText: Fr(e.event.start, b),
|
|
1325
1360
|
layout: e.event.allDay || e.view.type.startsWith("dayGrid") ? "month" : e.view.type.startsWith("list") || e.view.type.toLowerCase().includes("timeline") ? "flow" : "grid",
|
|
1326
|
-
privacyMasked:
|
|
1361
|
+
privacyMasked: D,
|
|
1327
1362
|
suffix: t.suffix,
|
|
1328
|
-
rangeText:
|
|
1329
|
-
showTime:
|
|
1363
|
+
rangeText: Ue(e, b),
|
|
1364
|
+
showTime: ct,
|
|
1330
1365
|
allDay: e.event.allDay,
|
|
1331
1366
|
status: t.status,
|
|
1332
|
-
colorStyle:
|
|
1367
|
+
colorStyle: nt,
|
|
1333
1368
|
backgroundColor: t.backgroundColor,
|
|
1334
1369
|
textColor: t.textColor,
|
|
1335
1370
|
borderColor: t.borderColor,
|
|
@@ -1342,20 +1377,20 @@ const Xe = Ke(
|
|
|
1342
1377
|
isTask: t.isTask,
|
|
1343
1378
|
isDraft: t.isDraft,
|
|
1344
1379
|
detailsPending: t.detailsPending,
|
|
1345
|
-
resourceLabel: t.resourceId ? (i = (
|
|
1380
|
+
resourceLabel: t.resourceId ? (i = (d ?? []).find((a) => a.id === t.resourceId)) == null ? void 0 : i.title : void 0
|
|
1346
1381
|
}
|
|
1347
1382
|
);
|
|
1348
1383
|
},
|
|
1349
|
-
eventClick:
|
|
1350
|
-
eventMouseEnter:
|
|
1351
|
-
eventMouseLeave:
|
|
1352
|
-
eventDrop:
|
|
1353
|
-
eventResize:
|
|
1354
|
-
eventDragStart:
|
|
1355
|
-
eventResizeStart:
|
|
1356
|
-
select:
|
|
1357
|
-
dateClick:
|
|
1358
|
-
datesSet:
|
|
1384
|
+
eventClick: jt,
|
|
1385
|
+
eventMouseEnter: _t,
|
|
1386
|
+
eventMouseLeave: Vt,
|
|
1387
|
+
eventDrop: Wt,
|
|
1388
|
+
eventResize: zt,
|
|
1389
|
+
eventDragStart: q,
|
|
1390
|
+
eventResizeStart: Q,
|
|
1391
|
+
select: Ht,
|
|
1392
|
+
dateClick: qt,
|
|
1393
|
+
datesSet: $t,
|
|
1359
1394
|
...Ce ? {
|
|
1360
1395
|
navLinks: !0,
|
|
1361
1396
|
navLinkDayClick: (e, t) => Ce(e, t)
|
|
@@ -1367,12 +1402,12 @@ const Xe = Ke(
|
|
|
1367
1402
|
);
|
|
1368
1403
|
}
|
|
1369
1404
|
);
|
|
1370
|
-
|
|
1371
|
-
const
|
|
1372
|
-
|
|
1405
|
+
Ze.displayName = "Calendar";
|
|
1406
|
+
const jr = Ze;
|
|
1407
|
+
jr.Toolbar = we;
|
|
1373
1408
|
export {
|
|
1374
|
-
|
|
1375
|
-
|
|
1409
|
+
jr as C,
|
|
1410
|
+
Ar as c,
|
|
1376
1411
|
be as r
|
|
1377
1412
|
};
|
|
1378
|
-
//# sourceMappingURL=calendar-
|
|
1413
|
+
//# sourceMappingURL=calendar-aqzmITxw.js.map
|