@alfadocs/ui-kit 1.51.0 → 1.52.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-DBI33cMp.js → actions-cell-renderer-DhmUGzRY.js} +4 -4
- package/dist/_chunks/{address-autocomplete-Dp5uMvKP.js → address-autocomplete-BVLoHU3E.js} +3 -3
- package/dist/_chunks/{address-fields-QfC-N3pw.js → address-fields-UiEXHxEX.js} +9 -9
- package/dist/_chunks/{agenda-card-CjjxlA9K.js → agenda-card-CakEvwnM.js} +4 -4
- package/dist/_chunks/{agenda-tray-CGhEEnFE.js → agenda-tray-C-_iu6Fo.js} +4 -4
- package/dist/_chunks/{ai-credits-notice-C9K_ley1.js → ai-credits-notice-Da0fJPXO.js} +4 -4
- package/dist/_chunks/{ai-permission-notice-DMG1o4Qa.js → ai-permission-notice-C5q_uHBA.js} +6 -6
- package/dist/_chunks/{ai-prompt-input-ucwO-z8g.js → ai-prompt-input-IObcUWqB.js} +4 -4
- package/dist/_chunks/{alert-CiQ5Pa3Q.js → alert-BhCstf2h.js} +3 -3
- package/dist/_chunks/{alia-sidebar-K3gaNH94.js → alia-sidebar-DyQMsyiz.js} +21 -21
- package/dist/_chunks/{anamnesis-card-CPjry4ur.js → anamnesis-card-D4RWzQXP.js} +5 -5
- package/dist/_chunks/{anamnesis-summary-card-DPyScUMM.js → anamnesis-summary-card-Bv0CZ-mk.js} +3 -3
- package/dist/_chunks/anamnesis-summary-rows-DaSoA80I.js +20926 -0
- package/dist/_chunks/{annotation-marker-CsUJGZjQ.js → annotation-marker-D-M7y4R1.js} +2 -2
- package/dist/_chunks/{antenatal-schedule-timeline-8fm3vPSV.js → antenatal-schedule-timeline-BZzgjfyd.js} +13 -13
- package/dist/_chunks/{app-frame-DIEMIC5V.js → app-frame-Cos-GSfw.js} +5 -5
- package/dist/_chunks/{appointment-card-DETaIfBb.js → appointment-card-CA2ynsmN.js} +8 -8
- package/dist/_chunks/{appointment-peek-B79v56Zc.js → appointment-peek-DpPzeYXm.js} +6 -6
- package/dist/_chunks/{appointment-timeline-tyJJPgVU.js → appointment-timeline-BZErHbD1.js} +6 -6
- package/dist/_chunks/{appointment-tray-Dq4zto_L.js → appointment-tray-DR_Zm4Gw.js} +9 -9
- package/dist/_chunks/{appointment-workflow-status-CS8ufF1f.js → appointment-workflow-status-DrWCNLbB.js} +2 -2
- package/dist/_chunks/{ar-BR1FGFP2.js → ar-pLopgMbL.js} +12 -12
- package/dist/_chunks/{audio-recorder-Ddlp5rVg.js → audio-recorder-BafA28cX.js} +5 -5
- package/dist/_chunks/{audio-visualiser-l6zPd0AG.js → audio-visualiser-CK2JyQW1.js} +2 -2
- package/dist/_chunks/{autocomplete-DSasZUf6.js → autocomplete-IfLaXwyb.js} +3 -3
- package/dist/_chunks/{avatar-BVvjKNTp.js → avatar-DYtwj1-R.js} +2 -2
- package/dist/_chunks/{badge-BAkd6_Pj.js → badge-hnBt8o7n.js} +6 -6
- package/dist/_chunks/{balance-badge-cell-BCEsdEOe.js → balance-badge-cell-CS-iKkLM.js} +8 -8
- package/dist/_chunks/{bishop-score-1NAiZh0K.js → bishop-score-BfDsm9HH.js} +6 -6
- package/dist/_chunks/{bmi-calculator-ZzzPZhhI.js → bmi-calculator-BNtmMzQy.js} +6 -6
- package/dist/_chunks/{booking-DmyX24Ls.js → booking-DP543-BT.js} +41 -40
- package/dist/_chunks/{breadcrumb-D3boYzD4.js → breadcrumb-xgVpPH2H.js} +4 -4
- package/dist/_chunks/{button-group-t9RrsCS6.js → button-group-DnSR6eN6.js} +29 -29
- package/dist/_chunks/{calculator-dialog-C0ixc3SU.js → calculator-dialog-BRjZMWuE.js} +2 -2
- package/dist/_chunks/{calendar-aqzmITxw.js → calendar-BwF5nQuW.js} +558 -502
- package/dist/_chunks/{calendar-event-card-DyFSIehr.js → calendar-event-card-DXAYWH6k.js} +2 -2
- package/dist/_chunks/{calendar-workspace-BqoPkCUp.js → calendar-workspace-B9MKJXER.js} +4406 -4395
- package/dist/_chunks/{care-plan-card-amX33mMF.js → care-plan-card-BanlKJZn.js} +8 -8
- package/dist/_chunks/{care-plan-entry-card-DNkEucjN.js → care-plan-entry-card-ByqT84_P.js} +9 -9
- package/dist/_chunks/{care-plan-header-CJi853Rf.js → care-plan-header-BwfUHMgM.js} +6 -6
- package/dist/_chunks/{carousel.agent-2EhJsAtl.js → carousel.agent-WKODAYVw.js} +5 -5
- package/dist/_chunks/{chart-B2HnwMP5.js → chart-CuE30cfr.js} +3 -3
- package/dist/_chunks/{chat-container-CYYego1W.js → chat-container-CAfyTxat.js} +3 -3
- package/dist/_chunks/{chat-input-CHUsUFOD.js → chat-input-DA10w969.js} +2 -2
- package/dist/_chunks/{chat-message-DTcRGhNo.js → chat-message-DoMjMa-M.js} +5 -5
- package/dist/_chunks/{checkbox-group-DomUzpkF.js → checkbox-group-C7czpHmJ.js} +2 -2
- package/dist/_chunks/{city-input-BGYc4lRV.js → city-input-CAnTVgBZ.js} +10 -10
- package/dist/_chunks/{clinical-note-card-B7s5BtEl.js → clinical-note-card-kvlUrmP-.js} +6 -6
- package/dist/_chunks/{code-block-BrwcZNPq.js → code-block-NtHjtagI.js} +5 -5
- package/dist/_chunks/{color-picker-Bl5f0iK1.js → color-picker-Yl99lHuF.js} +3 -3
- package/dist/_chunks/{combobox-B_rLwmSv.js → combobox-Iel8y3u6.js} +2 -2
- package/dist/_chunks/{command-palette-DhgGo7GJ.js → command-palette-D9TBzmOG.js} +4 -4
- package/dist/_chunks/{connection-status-DMheLE65.js → connection-status-Dz8o-Fui.js} +4 -4
- package/dist/_chunks/{contact-card-0hnFJwrz.js → contact-card-D2gXrxlL.js} +12 -12
- package/dist/_chunks/{contact-profile-card-zQLGGFKG.js → contact-profile-card-B7cXr8g5.js} +5 -5
- package/dist/_chunks/{control-room-rail-5iuM3jcm.js → control-room-rail-B446rHSL.js} +3 -3
- package/dist/_chunks/{copy-field-C-KvrgOG.js → copy-field-CiIuVbKe.js} +2 -2
- package/dist/_chunks/{country-select-C5jZjO8O.js → country-select-BYa4BrEi.js} +3 -3
- package/dist/_chunks/{cycle-calculator-DQMCeEzn.js → cycle-calculator-D_5f9VSN.js} +10 -10
- package/dist/_chunks/{dashboard-grid-H7uph3HO.js → dashboard-grid-DWNP02Ff.js} +3 -3
- package/dist/_chunks/data-table-DJvEwZZx.js +1989 -0
- package/dist/_chunks/{data-table-tabs-Dd_O1nPY.js → data-table-tabs-Dc6zvoI_.js} +5 -5
- package/dist/_chunks/{date-picker-6tFnKFty.js → date-picker-p9yz3pxc.js} +83 -80
- package/dist/_chunks/{date-picker-variants-B9NLAfUK.js → date-picker-variants-B3AFKDSu.js} +706 -658
- package/dist/_chunks/{date-range-picker-TpmECKRh.js → date-range-picker-DIy8gNY0.js} +153 -150
- package/dist/_chunks/{date-time-picker-DijEae25.js → date-time-picker-C3UVzqOm.js} +86 -77
- package/dist/_chunks/{de-3iM4rGqo.js → de-lVkJRPnh.js} +5 -5
- package/dist/_chunks/{dependent-selector-58hTg5rB.js → dependent-selector-CPiolWiw.js} +4 -4
- package/dist/_chunks/{description-list-DOPu69Jg.js → description-list-9rchqp5q.js} +2 -2
- package/dist/_chunks/{dialog-BJiLqhx6.js → dialog-D52AI4nF.js} +2 -2
- package/dist/_chunks/{document-preview-Dzh1YAz8.js → document-preview-1CZJg6CX.js} +6 -6
- package/dist/_chunks/{document-scanner-BSVwMR4V.js → document-scanner-T5jHiraQ.js} +4 -4
- package/dist/_chunks/{dropdown-menu-DIzxr_lp.js → dropdown-menu-B5mgV1kV.js} +2 -2
- package/dist/_chunks/{due-date-calculator-DUjw4w5O.js → due-date-calculator-iJXm6HOj.js} +11 -11
- package/dist/_chunks/{editable-currency-cell-renderer-Cch3RIJL.js → editable-currency-cell-renderer-DdMHme5y.js} +8 -8
- package/dist/_chunks/{editable-description-CRQib91p.js → editable-description-Cy3AZ5K2.js} +2 -2
- package/dist/_chunks/{editor-overlay-DsA7vR5C.js → editor-overlay-C0awV6ba.js} +2 -2
- package/dist/_chunks/{el-C96rGJvU.js → el-CHzxNWPj.js} +6 -6
- package/dist/_chunks/{email-input-Dpe63k0K.js → email-input-ebdovOmh.js} +3 -3
- package/dist/_chunks/{empty-state-Ck1wVWdN.js → empty-state-DActfjdn.js} +2 -2
- package/dist/_chunks/en-GB-CwxYmmhU.js +45 -0
- package/dist/_chunks/{entity-summary-Cvs21xPr.js → entity-summary-oW3_jFhU.js} +6 -6
- package/dist/_chunks/{error-boundary-C_HAzVLO.js → error-boundary--w5hYiQ-.js} +3 -3
- package/dist/_chunks/{es-Cxiqjx8r.js → es-Ck-oxbHW.js} +8 -8
- package/dist/_chunks/{face-scheme-DVZZTuXT.js → face-scheme-Dg7KcbW2.js} +9 -9
- package/dist/_chunks/{fetal-weight-B-lO-948.js → fetal-weight-BoIkl2t1.js} +6 -6
- package/dist/_chunks/{field-array-B3IDOct8.js → field-array-BF2nCmvt.js} +2 -2
- package/dist/_chunks/{file-manager-COUb-w8j.js → file-manager-BGHShxn_.js} +19 -19
- package/dist/_chunks/{file-upload-B242a_Y1.js → file-upload-OMlGHz70.js} +2 -2
- package/dist/_chunks/{finished-terminal-BrAWwfOw.js → finished-terminal-BguGAUdg.js} +2 -2
- package/dist/_chunks/{fiscal-code-input-CwUwhUZy.js → fiscal-code-input-CuuE8_dt.js} +2 -2
- package/dist/_chunks/{floating-action-button-pojvb9gG.js → floating-action-button-BesoUmO_.js} +6 -6
- package/dist/_chunks/{form-field-CahJzTxp.js → form-field-YUJl_U5l.js} +2 -2
- package/dist/_chunks/{format-4HNwNGrN.js → format-D-1gTdHF.js} +47 -43
- package/dist/_chunks/{fr-Bhr6SYKj.js → fr-fWRnDcSD.js} +13 -13
- package/dist/_chunks/{freemium-paywall-DiPJrL18.js → freemium-paywall-BhxKSEJD.js} +4 -4
- package/dist/_chunks/{gestational-age-calculator-BVPtrWKf.js → gestational-age-calculator-CjZ7v-8x.js} +13 -13
- package/dist/_chunks/{hcg-doubling-CPktiA3H.js → hcg-doubling-BYMogA0e.js} +15 -15
- package/dist/_chunks/{header-C8NbLgVq.js → header-CzJbtTGQ.js} +4 -4
- package/dist/_chunks/{header-settings-D0M3WNTS.js → header-settings-BqdBe4zk.js} +6 -6
- package/dist/_chunks/{help-me-write-templates-CYAKuXZ3.js → help-me-write-templates-CGCyhAVE.js} +15 -15
- package/dist/_chunks/{hi-BxXX26d_.js → hi-B5uX0h3V.js} +14 -14
- package/dist/_chunks/{hover-card-BM0vNmq4.js → hover-card-DEMPFs9M.js} +2 -2
- package/dist/_chunks/{iban-input-DXIA8Ln_.js → iban-input-D88HRGZo.js} +2 -2
- package/dist/_chunks/{icon-button-group-ud2BLmxe.js → icon-button-group-DHRz90jY.js} +3 -3
- package/dist/_chunks/{icon-picker-B1PwkUHy.js → icon-picker-C5Fhx1-3.js} +4 -4
- package/dist/_chunks/{image-cropper-DM6hpXUw.js → image-cropper-CNBGkG7P.js} +2 -2
- package/dist/_chunks/{info-tip-CywkQ1NX.js → info-tip-DfmEvyAF.js} +3 -3
- package/dist/_chunks/{insert-result-Fu9AHxR6.js → insert-result-BuWQl11Z.js} +2 -2
- package/dist/_chunks/intl-locale-CXM-B8EP.js +16 -0
- package/dist/_chunks/{isSameWeek-B73MagWB.js → isSameWeek-u81Z-J7h.js} +2 -2
- package/dist/_chunks/{it-Xmjomvyj.js → it-DBoNIelY.js} +17 -17
- package/dist/_chunks/{ja-mfZvt1ZV.js → ja-Du8gfg8p.js} +6 -6
- package/dist/_chunks/{kbd-D855ZXIW.js → kbd-BLovyx1R.js} +2 -2
- package/dist/_chunks/{key-value-pair-BL1J3_Km.js → key-value-pair-DZH8ESsc.js} +2 -2
- package/dist/_chunks/{kit-extensions-B9Qn6VIc.js → kit-extensions-CF5mDF_Z.js} +6 -6
- package/dist/_chunks/{link-CPb_pZPr.js → link-BlVUIKk1.js} +2 -2
- package/dist/_chunks/{link-cell-renderer-BcW3F1j9.js → link-cell-renderer-DvcbSHyp.js} +11 -11
- package/dist/_chunks/{list-DgE1xWBM.js → list-RRN2TJ_7.js} +2 -2
- package/dist/_chunks/{locale-picker-Z42P8T-i.js → locale-picker-DYDppQdZ.js} +6 -6
- package/dist/_chunks/{map-view-DxYPJjM9.js → map-view-CmNGS6Ok.js} +3 -3
- package/dist/_chunks/{marketplace-app-shell-rTTvWRrE.js → marketplace-app-shell-rd1bSSm4.js} +137 -128
- package/dist/_chunks/{message-card-CUBPPn4Z.js → message-card-Dub3790J.js} +4 -4
- package/dist/_chunks/{message-tray-uy3DAIbn.js → message-tray-CTd6CsnG.js} +4 -4
- package/dist/_chunks/{money-BXLBIRVO.js → money-GypsuFk2.js} +2 -2
- package/dist/_chunks/{multi-select-N4Smh-gj.js → multi-select-Bx0_cgPI.js} +2 -2
- package/dist/_chunks/{muscle-scheme-CH-vQ7Ch.js → muscle-scheme-X2bdmsQt.js} +4 -4
- package/dist/_chunks/{nav-grid-gRudLsPX.js → nav-grid-BnY0Ilet.js} +2 -2
- package/dist/_chunks/{navigation-menu-D3VndouD.js → navigation-menu-DbaSlvdO.js} +25 -25
- package/dist/_chunks/{nl-DDs-KEnD.js → nl-BCBwxYi8.js} +9 -9
- package/dist/_chunks/{note-attachment-CGjNTrAC.js → note-attachment-CpPRIfSn.js} +4 -4
- package/dist/_chunks/{note-timeline-CVnKL0p6.js → note-timeline-CZUmobcn.js} +3 -3
- package/dist/_chunks/{notes-panel-Dka4Z2M7.js → notes-panel-CPfxz-1j.js} +8 -8
- package/dist/_chunks/{notification-card-Hy8w3UWx.js → notification-card-B39g86vM.js} +11 -11
- package/dist/_chunks/{notification-tray-VuV3XXB8.js → notification-tray-WsP7c1jf.js} +4 -4
- package/dist/_chunks/{number-input-Cgu2TtA8.js → number-input-BLrx3utH.js} +2 -2
- package/dist/_chunks/{operator-hero-DyrNLoRO.js → operator-hero-BnBPxwOi.js} +10 -10
- package/dist/_chunks/{optical-prescription-C2n6d0HO.js → optical-prescription-x--Rpmmx.js} +6 -6
- package/dist/_chunks/{otp-input-DzBQ-CpE.js → otp-input-Dz8WMg4F.js} +2 -2
- package/dist/_chunks/{pagination-B0N2qGy_.js → pagination-CzEkpfti.js} +6 -6
- package/dist/_chunks/{parse-DPqj4JtD.js → parse-DeDYl04y.js} +32 -32
- package/dist/_chunks/{parseISO-fOGpHKXm.js → parseISO-y3LncvfO.js} +2 -2
- package/dist/_chunks/{patient-details-D9sAM3qh.js → patient-details-BSAMAd3I.js} +6 -6
- package/dist/_chunks/{patient-field-row-CT04C_lZ.js → patient-field-row-dUF2cW2G.js} +27 -27
- package/dist/_chunks/{patient-search-DkIukAMQ.js → patient-search-CXl0FNfN.js} +13 -13
- package/dist/_chunks/{patient-summary-card-DI0BH-Fe.js → patient-summary-card-DF-Mxcma.js} +9 -9
- package/dist/_chunks/{payment-automation-upsell-vQBIyUky.js → payment-automation-upsell-DNiraNhF.js} +5 -5
- package/dist/_chunks/{payment-form-DqJFiplX.js → payment-form-DxsjXYHJ.js} +6 -6
- package/dist/_chunks/{payment-request-card-BSaJzhxz.js → payment-request-card-BFsmHLtf.js} +8 -8
- package/dist/_chunks/{pdf-viewer-DUKdn5iq.js → pdf-viewer-hzfM5pZf.js} +6 -6
- package/dist/_chunks/{periodontal-chart-BcTcOc79.js → periodontal-chart-Bvii6uOg.js} +3 -3
- package/dist/_chunks/{periodontal-chart-card-NS_nToBf.js → periodontal-chart-card-DTbvFQO7.js} +4 -4
- package/dist/_chunks/{periodontal-diagnosis-B8WqI0eU.js → periodontal-diagnosis-BqEo0usu.js} +3 -3
- package/dist/_chunks/{periodontal-risk-chart-DsFRFFSz.js → periodontal-risk-chart-C1Y5f-md.js} +3 -3
- package/dist/_chunks/{permission-matrix-VdAXjjHU.js → permission-matrix-DHKECaNW.js} +3 -3
- package/dist/_chunks/{phone-input-sQj-zi59.js → phone-input-opMMHkyh.js} +2 -2
- package/dist/_chunks/{pl-BYYMnEWP.js → pl-HwLM6gPs.js} +7 -7
- package/dist/_chunks/{popover-SASSeAdY.js → popover-CGYPYIVi.js} +2 -2
- package/dist/_chunks/{position-grid-CcvqHaKN.js → position-grid-D2D5_Tze.js} +2 -2
- package/dist/_chunks/{postal-code-input-BznBxVxf.js → postal-code-input-Dv02t5MD.js} +3 -3
- package/dist/_chunks/{practice-profile-hero-B-WcJYNH.js → practice-profile-hero-Bc3AyBiM.js} +4 -4
- package/dist/_chunks/{practice-results-C3ifcObw.js → practice-results-DjhcggtZ.js} +28 -28
- package/dist/_chunks/{pregnancy-dating-CpJ3iYvD.js → pregnancy-dating-CcPxK3S3.js} +14 -14
- package/dist/_chunks/{pregnancy-weight-gain-kDOhA2vZ.js → pregnancy-weight-gain-tGbbravi.js} +6 -6
- package/dist/_chunks/{privacy-lock-CEyvNpC8.js → privacy-lock-Bh4O7Y7g.js} +15 -15
- package/dist/_chunks/{privacy-mask-TzMlEu3Q.js → privacy-mask-noG15O9q.js} +24 -24
- package/dist/_chunks/{product-hub-panel-b70i9Hi1.js → product-hub-panel-BmBzDba9.js} +23 -23
- package/dist/_chunks/{progress-CK8otcQ-.js → progress-TIAsNHQW.js} +4 -4
- package/dist/_chunks/{province-select-BiszMRRY.js → province-select-BZtM0RSR.js} +3 -3
- package/dist/_chunks/{pt-BSPnVrQ7.js → pt-BxhT5ZQH.js} +10 -10
- package/dist/_chunks/{public-footer.agent-BKkK3T3V.js → public-footer.agent-CVYmHY94.js} +4 -4
- package/dist/_chunks/{public-header.agent-D0ApOrmx.js → public-header.agent-1mcrQqIM.js} +3 -3
- package/dist/_chunks/{qr-code-DOJs4suh.js → qr-code-C3m9o7om.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-jhwaIW8U.js → radiograph-panel.agent-BP71J_VB.js} +12 -12
- package/dist/_chunks/{rating-BYbUowdK.js → rating-C1Vrmpsi.js} +2 -2
- package/dist/_chunks/{recaptcha-widget-BC-4To9b.js → recaptcha-widget-BNAeSTCo.js} +2 -2
- package/dist/_chunks/{resizable-DVGcfOrk.js → resizable-BKkNmZCl.js} +2 -2
- package/dist/_chunks/{reviews-panel-B5QC4FIp.js → reviews-panel-DDb_t7vy.js} +7 -7
- package/dist/_chunks/{rich-text-editor-DoBXdwmx.js → rich-text-editor-C7N4Cem6.js} +1707 -1617
- package/dist/_chunks/{ro-BbiylGmG.js → ro-Do9W55ae.js} +2 -2
- package/dist/_chunks/{ru-BX_qsV67.js → ru-PDBX5gdf.js} +13 -13
- package/dist/_chunks/{search-bar-6bHatpYJ.js → search-bar-Blq_QeSe.js} +4 -4
- package/dist/_chunks/{search-input-B7GmlPIE.js → search-input-DfsAu3P2.js} +4 -4
- package/dist/_chunks/{select-upNAltly.js → select-Br88h070.js} +2 -2
- package/dist/_chunks/{session-countdown-26XB5u38.js → session-countdown-DWUVDDox.js} +3 -3
- package/dist/_chunks/{sheet-CwhNzxbr.js → sheet-BE6oi30q.js} +2 -2
- package/dist/_chunks/{sidebar-DbZXLl8h.js → sidebar-2GBc0ZUa.js} +7 -7
- package/dist/_chunks/{sign-document-CRQuAn4W.js → sign-document-Buw-zC_7.js} +4 -4
- package/dist/_chunks/{sign-in-with-alfadocs-button-jxbze77L.js → sign-in-with-alfadocs-button-Bd4VPGQh.js} +3 -3
- package/dist/_chunks/{signature-capture-D6ut9_IR.js → signature-capture-F6KViBF_.js} +2 -2
- package/dist/_chunks/{signature-field-0rFODJlW.js → signature-field-DBIGiY-J.js} +3 -3
- package/dist/_chunks/{signature-request-BorHf3CY.js → signature-request-DqZkn-iB.js} +154 -154
- package/dist/_chunks/{signature-status-chip-Dz6sS2oA.js → signature-status-chip-DP3qRijv.js} +3 -3
- package/dist/_chunks/{skip-link-BaSMtPwB.js → skip-link-BOQzBUVb.js} +2 -2
- package/dist/_chunks/{slider-DN1CWkKB.js → slider-BRq2lL-l.js} +2 -2
- package/dist/_chunks/{slot-grid-xgf2UKLS.js → slot-grid-Bkg9MVXP.js} +5 -5
- package/dist/_chunks/{smart-date-CsPlilQA.js → smart-date-pYK6WmM_.js} +2 -2
- package/dist/_chunks/{social-sign-in-button-dlpPI5l7.js → social-sign-in-button-Bb2UQpsA.js} +8 -8
- package/dist/_chunks/{sparkline-Dx_sxK3J.js → sparkline-ZOxMBU76.js} +3 -3
- package/dist/_chunks/{spinner-hbwuKwMf.js → spinner-DxjSZLD-.js} +2 -2
- package/dist/_chunks/{sq-i9UOk4P7.js → sq-DnvsgyIh.js} +6 -6
- package/dist/_chunks/{stat-Bs80Z6Yv.js → stat-Ce9ymEKm.js} +3 -3
- package/dist/_chunks/{stepper-accordion-jMR8NaOB.js → stepper-accordion-BPNS6J6B.js} +2 -2
- package/dist/_chunks/{stepper-progress-Bv0njx4g.js → stepper-progress-D6H8wQiV.js} +2 -2
- package/dist/_chunks/{streaming-text-Cos2fVTw.js → streaming-text-D0IJeRBg.js} +2 -2
- package/dist/_chunks/subDays-XBMBTVOO.js +8 -0
- package/dist/_chunks/{suggestion-chip-Bk4PmYTg.js → suggestion-chip-BNRWZL51.js} +2 -2
- package/dist/_chunks/{sv-CpTdtmDQ.js → sv-CpFSK8xS.js} +4 -4
- package/dist/_chunks/{switch-OILsBLWo.js → switch-DXGD2Drz.js} +2 -2
- package/dist/_chunks/{tab-bar-BrkMUW0c.js → tab-bar-DRKiomgj.js} +4 -4
- package/dist/_chunks/{tabs-tK22Mz7r.js → tabs-DLXVEDsa.js} +4 -4
- package/dist/_chunks/{tag-B65tLWvD.js → tag-CS5cXpfx.js} +2 -2
- package/dist/_chunks/{task-card-CLpHmqEY.js → task-card-CngF4Zee.js} +3 -3
- package/dist/_chunks/{task-editor-B4UGsU7l.js → task-editor-Dz93rRXg.js} +15 -15
- package/dist/_chunks/{task-tray-dsmYgjVb.js → task-tray-CB6_BvH9.js} +4 -4
- package/dist/_chunks/{tasks-panel-CwwVw491.js → tasks-panel-DHAoTQtR.js} +9 -9
- package/dist/_chunks/{text-area-Bt3p7Pt0.js → text-area-Cjtw7mna.js} +2 -2
- package/dist/_chunks/{text-input-CUvCb6ST.js → text-input-CLaItY93.js} +2 -2
- package/dist/_chunks/{theme-toggle-jyoyhbJL.js → theme-toggle-Byg0x2vB.js} +9 -9
- package/dist/_chunks/{time-picker-D0RS391l.js → time-picker-BG7G3ujX.js} +2 -2
- package/dist/_chunks/{timeline-ChY7iZrs.js → timeline-CVLjybJ3.js} +4 -4
- package/dist/_chunks/{timestamp-BV2lC-wV.js → timestamp-DPLDWdxA.js} +2 -2
- package/dist/_chunks/{toast-FijDyPnv.js → toast-6wbpghjF.js} +2 -2
- package/dist/_chunks/{token-insert-menu-Cjf99IdN.js → token-insert-menu-DgtBIbNu.js} +2 -2
- package/dist/_chunks/{tool-rail-DphMl1hX.js → tool-rail-CXcLzxPb.js} +3 -3
- package/dist/_chunks/{tooth-finding-palette-vqC-D2Ye.js → tooth-finding-palette-DNQ3G2Tz.js} +2 -2
- package/dist/_chunks/{tooth-scheme-BaCJnyg9.js → tooth-scheme-BLbwUVer.js} +5 -5
- package/dist/_chunks/{tr-DXG2QN1K.js → tr-DW4oQYHT.js} +5 -5
- package/dist/_chunks/{transaction-chip-CwgcJiqF.js → transaction-chip-CohY6sTA.js} +6 -6
- package/dist/_chunks/{transcript-panel-u2HHxZB6.js → transcript-panel-Dve7bsm7.js} +3 -3
- package/dist/_chunks/{treatment-receipt-C-gWZ6uv.js → treatment-receipt-DF2Slh-x.js} +5 -5
- package/dist/_chunks/{typing-indicator-DHeVN4ob.js → typing-indicator-BmwMQSxw.js} +9 -9
- package/dist/_chunks/{unit-converter-CGpOgarU.js → unit-converter-D8WnJbZm.js} +6 -6
- package/dist/_chunks/use-appointment-details-read-YsuJgYeB.js +2198 -0
- package/dist/_chunks/{use-edge-resize-BHesP0kg.js → use-edge-resize-DHbyQwu8.js} +15 -15
- package/dist/_chunks/use-locale-BExNy9Dl.js +16 -0
- package/dist/_chunks/{use-password-requirements-Bwtqx1qN.js → use-password-requirements-DK4hV1Ik.js} +4 -4
- package/dist/_chunks/{variables-menu-aJLKJ_cu.js → variables-menu-DQl8H4Gh.js} +2 -2
- package/dist/_chunks/{wallet-pay-button--dnR6NfJ.js → wallet-pay-button-C-GFl7RO.js} +3 -3
- package/dist/_chunks/{warning-stack-7Hffm7K1.js → warning-stack-CzKSeB5v.js} +3 -3
- package/dist/_chunks/{whatsapp-button-Ai4YAVkl.js → whatsapp-button-DV9JFmtq.js} +2 -2
- package/dist/_chunks/{widget-picker-CilQvcNL.js → widget-picker-b5NCHxFe.js} +28 -28
- package/dist/_chunks/{workflow-map-Jfe9L9Wt.js → workflow-map-C7fHKTXL.js} +15 -15
- package/dist/_chunks/{workflow-status-jHfsIDzi.js → workflow-status-DDnsIrLt.js} +4 -4
- package/dist/_chunks/{zh-CN-vPkPEK6H.js → zh-CN-QGEs29fQ.js} +7 -7
- package/dist/agent-catalog.json +1 -1
- package/dist/components/_shared/date-locale.d.ts +2 -2
- package/dist/components/_shared/day-picker-labels.d.ts +6 -0
- package/dist/components/_shared/intl-locale.d.ts +10 -0
- package/dist/components/address-autocomplete/index.js +1 -1
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/agenda-card/index.js +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/alert/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anamnesis-summary-card/index.js +1 -1
- package/dist/components/annotation-marker/index.js +1 -1
- package/dist/components/app-frame/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +3 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.history.d.ts +19 -5
- package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts +6 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +51 -1
- package/dist/components/appointment-details-panel/index.d.ts +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/audio-visualiser/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/avatar/index.js +1 -1
- package/dist/components/badge/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/breadcrumb/index.js +1 -1
- package/dist/components/button-group/index.js +1 -1
- package/dist/components/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/calendar-locale.d.ts +5 -0
- package/dist/components/calendar/calendar.d.ts +1 -1
- package/dist/components/calendar/index.js +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/index.js +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/command-palette/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/contact-card/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/country-select/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/ag-grid-locale.d.ts +5 -0
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/dependent-selector/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/dialog/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/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/editable-description/index.js +1 -1
- package/dist/components/editor-overlay/index.js +1 -1
- package/dist/components/email-input/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/file-upload/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/index.js +1 -1
- package/dist/components/form-field/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/hcg.d.ts +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/hover-card/index.js +1 -1
- package/dist/components/iban-input/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/kbd/index.js +1 -1
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/list/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/money/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/navigation-menu/index.js +2 -2
- package/dist/components/note-timeline/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/number-input/index.js +1 -1
- package/dist/components/operator-hero/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/otp-input/index.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/pdf-viewer/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/periodontal-risk-chart/index.js +1 -1
- package/dist/components/permission-matrix/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/position-grid/index.js +1 -1
- package/dist/components/postal-code-input/index.js +1 -1
- package/dist/components/practice-profile-hero/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/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/progress/index.js +1 -1
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/public-header/index.js +1 -1
- package/dist/components/qr-code/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rating/index.js +1 -1
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/rich-text-editor/redactor-locale.d.ts +4 -0
- package/dist/components/rich-text-editor/rich-text-editor.d.ts +8 -3
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/session-countdown/index.js +1 -1
- package/dist/components/sheet/index.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/sign-in-with-alfadocs-button/index.js +1 -1
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/signature-status-chip/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +3 -3
- package/dist/components/skip-link/index.js +1 -1
- package/dist/components/skip-link/skip-link.d.ts +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/smart-date/index.js +1 -1
- package/dist/components/smart-date/smart-date.d.ts +1 -1
- package/dist/components/social-sign-in-button/index.js +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/spinner/index.js +1 -1
- package/dist/components/stat/index.js +1 -1
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/components/stepper-progress/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/suggestion-chip/index.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/tab-bar/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-input/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/time-picker/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/timestamp/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-finding-palette/index.js +1 -1
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/typing-indicator/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/variables-menu/index.js +1 -1
- package/dist/components/wallet-pay-button/index.js +1 -1
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/whatsapp-button/index.js +1 -1
- package/dist/components/widget-picker/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/components/workflow-status/index.js +2 -2
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/use-locale.d.ts +2 -16
- package/dist/i18n/config.d.ts +17 -13
- package/dist/i18n/config.js +127 -62
- package/dist/i18n/locale-meta.d.ts +1 -1
- package/dist/i18n/locales/ar.d.ts +911 -661
- package/dist/i18n/locales/ar.js +912 -666
- package/dist/i18n/locales/de.d.ts +718 -480
- package/dist/i18n/locales/de.js +719 -485
- package/dist/i18n/locales/el.d.ts +960 -722
- package/dist/i18n/locales/el.js +960 -726
- package/dist/i18n/locales/en.d.ts +303 -65
- package/dist/i18n/locales/en.js +304 -70
- package/dist/i18n/locales/es.d.ts +782 -541
- package/dist/i18n/locales/es.js +783 -546
- package/dist/i18n/locales/fr.d.ts +725 -484
- package/dist/i18n/locales/fr.js +726 -489
- package/dist/i18n/locales/hi.d.ts +870 -632
- package/dist/i18n/locales/hi.js +871 -637
- package/dist/i18n/locales/it.d.ts +933 -692
- package/dist/i18n/locales/it.js +939 -697
- package/dist/i18n/locales/ja.d.ts +693 -455
- package/dist/i18n/locales/ja.js +694 -460
- package/dist/i18n/locales/nl.d.ts +718 -480
- package/dist/i18n/locales/nl.js +719 -485
- package/dist/i18n/locales/pl.d.ts +1014 -770
- package/dist/i18n/locales/pl.js +1014 -774
- package/dist/i18n/locales/pt.d.ts +806 -562
- package/dist/i18n/locales/pt.js +807 -567
- package/dist/i18n/locales/ro.d.ts +1055 -814
- package/dist/i18n/locales/ro.js +1056 -819
- package/dist/i18n/locales/ru.d.ts +1032 -788
- package/dist/i18n/locales/ru.js +1027 -787
- package/dist/i18n/locales/sq.d.ts +1284 -1046
- package/dist/i18n/locales/sq.js +1284 -1050
- package/dist/i18n/locales/sv.d.ts +804 -566
- package/dist/i18n/locales/sv.js +805 -571
- package/dist/i18n/locales/tr.d.ts +763 -525
- package/dist/i18n/locales/tr.js +764 -530
- package/dist/i18n/locales/zh.d.ts +752 -514
- package/dist/i18n/locales/zh.js +753 -519
- package/dist/i18n/registerUiBundle.d.ts +3 -2
- package/dist/i18n/resources.d.ts +2 -7
- package/dist/i18n/supported-locales.d.ts +8 -0
- package/dist/index.js +212 -212
- package/dist/locales/ar.json +916 -666
- package/dist/locales/de.json +723 -485
- package/dist/locales/el.json +965 -727
- package/dist/locales/en.json +308 -70
- package/dist/locales/es.json +787 -546
- package/dist/locales/fr.json +730 -489
- package/dist/locales/hi.json +875 -637
- package/dist/locales/it.json +938 -697
- package/dist/locales/ja.json +698 -460
- package/dist/locales/nl.json +723 -485
- package/dist/locales/pl.json +1019 -775
- package/dist/locales/pt.json +811 -567
- package/dist/locales/ro.json +1060 -819
- package/dist/locales/ru.json +1037 -793
- package/dist/locales/sq.json +1289 -1051
- package/dist/locales/sv.json +809 -571
- package/dist/locales/tr.json +768 -530
- package/dist/locales/zh.json +757 -519
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/anamnesis-format.d.ts +1 -1
- package/dist/patterns/anamnesis/anamnesis-i18n.d.ts +3 -2
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/anamnesis/locales/ar.d.ts +776 -0
- package/dist/patterns/anamnesis/locales/de.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/el.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/en.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/es.d.ts +749 -0
- package/dist/patterns/anamnesis/locales/fr.d.ts +749 -0
- package/dist/patterns/anamnesis/locales/hi.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/it.d.ts +749 -0
- package/dist/patterns/anamnesis/locales/ja.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/nl.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/pl.d.ts +758 -0
- package/dist/patterns/anamnesis/locales/pt.d.ts +758 -0
- package/dist/patterns/anamnesis/locales/ro.d.ts +749 -0
- package/dist/patterns/anamnesis/locales/ru.d.ts +758 -0
- package/dist/patterns/anamnesis/locales/sq.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/sv.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/tr.d.ts +740 -0
- package/dist/patterns/anamnesis/locales/zh.d.ts +740 -0
- package/dist/patterns/calendar/calendar-appointment-details.d.ts +4 -1
- package/dist/patterns/calendar/calendar-workspace.d.ts +5 -0
- package/dist/patterns/calendar/calendar.sheets.d.ts +4 -1
- package/dist/patterns/calendar/calendar.types.d.ts +3 -1
- package/dist/patterns/calendar/index.d.ts +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 +5 -2
- package/package.json +12 -2
- package/dist/_chunks/anamnesis-summary-rows-D9LZZHLw.js +0 -9416
- package/dist/_chunks/data-table-C4yPR89K.js +0 -1824
- package/dist/_chunks/subDays-HPvBuvq3.js +0 -8
- package/dist/_chunks/use-appointment-details-read-uEnJLVfA.js +0 -2045
- package/dist/_chunks/use-locale-BkCIHujH.js +0 -20
|
@@ -1,28 +1,66 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as Ye, useRef as g,
|
|
3
|
-
import { useTranslation as
|
|
4
|
-
import { c as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import pr from "@fullcalendar/resource
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { u as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
1
|
+
import { jsxs as P, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as Ye, useRef as g, useMemo as u, useEffect as b, useState as ce, useImperativeHandle as lr, useCallback as T } from "react";
|
|
3
|
+
import { useTranslation as we } from "react-i18next";
|
|
4
|
+
import { c as cr } from "./index-D2ZczOXr.js";
|
|
5
|
+
import ur from "@fullcalendar/react";
|
|
6
|
+
import { c as Xe } from "./intl-locale-CXM-B8EP.js";
|
|
7
|
+
import mr from "@fullcalendar/daygrid";
|
|
8
|
+
import fr from "@fullcalendar/timegrid";
|
|
9
|
+
import vr from "@fullcalendar/list";
|
|
10
|
+
import pr from "@fullcalendar/resource";
|
|
11
|
+
import hr from "@fullcalendar/resource-timegrid";
|
|
12
|
+
import gr from "@fullcalendar/resource-timeline";
|
|
13
|
+
import yr from "@fullcalendar/timeline";
|
|
14
|
+
import br from "@fullcalendar/interaction";
|
|
15
|
+
import { u as Tr } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
16
|
+
import { u as xr } from "./registry-DvAUVLHh.js";
|
|
17
|
+
import { w as wr, C as Dr } from "./calendar-event-card-DXAYWH6k.js";
|
|
18
|
+
import { A as Cr } from "./avatar-DYtwj1-R.js";
|
|
19
|
+
import { B as kr } from "./button-CYPx2xFq.js";
|
|
20
|
+
import { a as je, R as Ar } from "./resource-chip-DQeCJzJf.js";
|
|
21
|
+
import { T as _e } from "./tooltip-Cp-PLePW.js";
|
|
22
|
+
import { V as Ir } from "./visually-hidden-BHxEUGyT.js";
|
|
23
|
+
import { C as Ve } from "./check-DrFSN__t.js";
|
|
23
24
|
import { C as qe } from "./chevron-right-I9AeSxH2.js";
|
|
24
25
|
import { C as $e } from "./chevron-left-B8cOyH-V.js";
|
|
25
|
-
|
|
26
|
+
function Sr(r, o) {
|
|
27
|
+
return {
|
|
28
|
+
// FullCalendar's date arithmetic is Gregorian. Regional locales such as
|
|
29
|
+
// ar-SA otherwise format the same cells with Hijri month/day numbers.
|
|
30
|
+
code: new Intl.Locale(Xe(o), {
|
|
31
|
+
calendar: "gregory"
|
|
32
|
+
}).toString(),
|
|
33
|
+
buttonText: {
|
|
34
|
+
prev: r("calendar.previousPeriod"),
|
|
35
|
+
next: r("calendar.nextPeriod"),
|
|
36
|
+
prevYear: r("calendar.vendor.previousYear"),
|
|
37
|
+
nextYear: r("calendar.vendor.nextYear"),
|
|
38
|
+
year: r("calendar.vendor.year"),
|
|
39
|
+
today: r("calendar.today"),
|
|
40
|
+
month: r("calendar.month"),
|
|
41
|
+
week: r("calendar.week"),
|
|
42
|
+
day: r("calendar.day"),
|
|
43
|
+
list: r("calendar.list")
|
|
44
|
+
},
|
|
45
|
+
buttonHints: {
|
|
46
|
+
prev: r("calendar.previousPeriod"),
|
|
47
|
+
next: r("calendar.nextPeriod"),
|
|
48
|
+
today: r("calendar.vendor.todayHint")
|
|
49
|
+
},
|
|
50
|
+
weekText: r("calendar.vendor.weekAbbreviation"),
|
|
51
|
+
weekTextLong: r("calendar.week"),
|
|
52
|
+
closeHint: r("common.close"),
|
|
53
|
+
timeHint: r("calendar.vendor.time"),
|
|
54
|
+
eventHint: r("calendar.vendor.event"),
|
|
55
|
+
allDayText: r("calendar.allDay"),
|
|
56
|
+
noEventsText: r("calendar.noEvents"),
|
|
57
|
+
moreLinkText: (s) => r("calendar.vendor.more", { count: s }),
|
|
58
|
+
moreLinkHint: (s) => r("calendar.vendor.moreHint", { count: s }),
|
|
59
|
+
navLinkHint: (s) => r("calendar.vendor.goToDate", { date: s }),
|
|
60
|
+
viewHint: (s) => r("calendar.vendor.viewHint", { view: s })
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
const Er = {
|
|
26
64
|
id: "calendar",
|
|
27
65
|
capabilities: ["view_change", "range_navigate", "pick"],
|
|
28
66
|
state: {
|
|
@@ -30,22 +68,22 @@ const Ar = {
|
|
|
30
68
|
type: "CalendarView",
|
|
31
69
|
descriptionKey: "ui.agent.calendar.state.currentView",
|
|
32
70
|
description: "Active view name (e.g. dayGridMonth, timeGridWeek).",
|
|
33
|
-
read: (
|
|
71
|
+
read: (r) => r.getCurrentView() ?? null
|
|
34
72
|
},
|
|
35
73
|
currentDate: {
|
|
36
74
|
type: "iso-date",
|
|
37
75
|
descriptionKey: "ui.agent.calendar.state.currentDate",
|
|
38
76
|
description: "ISO date anchor of the visible range.",
|
|
39
|
-
read: (
|
|
40
|
-
var
|
|
41
|
-
return ((
|
|
77
|
+
read: (r) => {
|
|
78
|
+
var o;
|
|
79
|
+
return ((o = r.getCurrentDate()) == null ? void 0 : o.toISOString()) ?? null;
|
|
42
80
|
}
|
|
43
81
|
},
|
|
44
82
|
currentTitle: {
|
|
45
83
|
type: "string",
|
|
46
84
|
descriptionKey: "ui.agent.calendar.state.currentTitle",
|
|
47
85
|
description: 'Human title of the current range (e.g. "April 2026").',
|
|
48
|
-
read: (
|
|
86
|
+
read: (r) => r.getTitle()
|
|
49
87
|
}
|
|
50
88
|
},
|
|
51
89
|
actions: {
|
|
@@ -54,8 +92,8 @@ const Ar = {
|
|
|
54
92
|
idempotent: !0,
|
|
55
93
|
descriptionKey: "ui.agent.calendar.actions.today",
|
|
56
94
|
description: "Jump to the current day.",
|
|
57
|
-
invoke: (
|
|
58
|
-
|
|
95
|
+
invoke: (r) => {
|
|
96
|
+
r.today();
|
|
59
97
|
}
|
|
60
98
|
},
|
|
61
99
|
prev: {
|
|
@@ -63,8 +101,8 @@ const Ar = {
|
|
|
63
101
|
safety: "read",
|
|
64
102
|
descriptionKey: "ui.agent.calendar.actions.prev",
|
|
65
103
|
description: "Move to the previous range.",
|
|
66
|
-
invoke: (
|
|
67
|
-
|
|
104
|
+
invoke: (r) => {
|
|
105
|
+
r.prev();
|
|
68
106
|
}
|
|
69
107
|
},
|
|
70
108
|
next: {
|
|
@@ -72,8 +110,8 @@ const Ar = {
|
|
|
72
110
|
safety: "read",
|
|
73
111
|
descriptionKey: "ui.agent.calendar.actions.next",
|
|
74
112
|
description: "Move to the next range.",
|
|
75
|
-
invoke: (
|
|
76
|
-
|
|
113
|
+
invoke: (r) => {
|
|
114
|
+
r.next();
|
|
77
115
|
}
|
|
78
116
|
},
|
|
79
117
|
goto_date: {
|
|
@@ -96,8 +134,8 @@ const Ar = {
|
|
|
96
134
|
examples: [
|
|
97
135
|
{ args: { date: "2026-04-15" }, note: "Jump to 15 April 2026." }
|
|
98
136
|
],
|
|
99
|
-
invoke: (
|
|
100
|
-
|
|
137
|
+
invoke: (r, o) => {
|
|
138
|
+
r.gotoDate(o.date);
|
|
101
139
|
}
|
|
102
140
|
},
|
|
103
141
|
change_view: {
|
|
@@ -131,8 +169,8 @@ const Ar = {
|
|
|
131
169
|
examples: [
|
|
132
170
|
{ args: { view: "timeGridWeek" }, note: "Switch to the week view." }
|
|
133
171
|
],
|
|
134
|
-
invoke: (
|
|
135
|
-
|
|
172
|
+
invoke: (r, o) => {
|
|
173
|
+
r.changeView(o.view);
|
|
136
174
|
}
|
|
137
175
|
},
|
|
138
176
|
focus_event: {
|
|
@@ -153,8 +191,8 @@ const Ar = {
|
|
|
153
191
|
descriptionKey: "ui.agent.calendar.actions.focusEvent",
|
|
154
192
|
description: "Scroll an event into view and briefly highlight it.",
|
|
155
193
|
errors: ["No DOM node matches the given event id — no-op."],
|
|
156
|
-
invoke: (
|
|
157
|
-
|
|
194
|
+
invoke: (r, o) => {
|
|
195
|
+
r.focusEvent(o.eventId);
|
|
158
196
|
}
|
|
159
197
|
}
|
|
160
198
|
},
|
|
@@ -177,14 +215,14 @@ const Ar = {
|
|
|
177
215
|
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
216
|
}
|
|
179
217
|
}
|
|
180
|
-
},
|
|
218
|
+
}, Rr = cr("", {
|
|
181
219
|
variants: {
|
|
182
220
|
density: {
|
|
183
221
|
compact: "calendar-density-compact",
|
|
184
222
|
comfortable: "calendar-density-comfortable"
|
|
185
223
|
}
|
|
186
224
|
}
|
|
187
|
-
}),
|
|
225
|
+
}), Nr = {
|
|
188
226
|
vertical: {
|
|
189
227
|
Day: "resourceTimeGridDay",
|
|
190
228
|
ThreeDays: "resourceTimeGridThreeDays",
|
|
@@ -195,35 +233,35 @@ const Ar = {
|
|
|
195
233
|
ThreeDays: "resourceTimelineThreeDays",
|
|
196
234
|
Week: "resourceTimelineWeek"
|
|
197
235
|
}
|
|
198
|
-
},
|
|
236
|
+
}, Lr = /* @__PURE__ */ new Set([
|
|
199
237
|
"dayGridMonth",
|
|
200
238
|
"timeGridWeek",
|
|
201
239
|
"timeGridThreeDays",
|
|
202
240
|
"timeGridDay",
|
|
203
241
|
"listWeek"
|
|
204
|
-
]),
|
|
242
|
+
]), Pr = {
|
|
205
243
|
timeGridDay: "timelineDay",
|
|
206
244
|
timeGridThreeDays: "timelineThreeDays",
|
|
207
245
|
timeGridWeek: "timelineWeek"
|
|
208
246
|
};
|
|
209
|
-
function be(
|
|
210
|
-
if (
|
|
211
|
-
return
|
|
212
|
-
const
|
|
247
|
+
function be(r, o = "vertical") {
|
|
248
|
+
if (Lr.has(r))
|
|
249
|
+
return o === "horizontal" ? Pr[r] ?? r : r;
|
|
250
|
+
const m = r.replace(/^resourceTimeGrid/, "").replace(
|
|
213
251
|
/(Chair|Operator)$/,
|
|
214
252
|
""
|
|
215
253
|
);
|
|
216
|
-
return
|
|
254
|
+
return Nr[o][m];
|
|
217
255
|
}
|
|
218
256
|
const le = {
|
|
219
257
|
weekday: "long",
|
|
220
258
|
day: "numeric",
|
|
221
259
|
month: "long",
|
|
222
260
|
year: "numeric"
|
|
223
|
-
},
|
|
261
|
+
}, Mr = [
|
|
224
262
|
{ weekday: "short", day: "numeric", month: "short" },
|
|
225
263
|
{ hour: "numeric", minute: "2-digit" }
|
|
226
|
-
],
|
|
264
|
+
], Gr = {
|
|
227
265
|
resourceTimeGridThreeDays: {
|
|
228
266
|
type: "resourceTimeGrid",
|
|
229
267
|
duration: { days: 3 }
|
|
@@ -242,99 +280,99 @@ const le = {
|
|
|
242
280
|
type: "timeline",
|
|
243
281
|
duration: { days: 3 }
|
|
244
282
|
},
|
|
245
|
-
timeline: { slotLabelFormat:
|
|
283
|
+
timeline: { slotLabelFormat: Mr },
|
|
246
284
|
timeGridDay: { titleFormat: le },
|
|
247
285
|
resourceTimeGridDay: { titleFormat: le },
|
|
248
286
|
timelineDay: { titleFormat: le },
|
|
249
287
|
resourceTimelineDay: { titleFormat: le }
|
|
250
|
-
}, Te = 5,
|
|
288
|
+
}, Te = 5, Br = {
|
|
251
289
|
create: "calendar.modeBanner.create",
|
|
252
290
|
move: "calendar.modeBanner.move",
|
|
253
291
|
copy: "calendar.modeBanner.copy"
|
|
254
292
|
};
|
|
255
|
-
function
|
|
293
|
+
function Or(r) {
|
|
256
294
|
try {
|
|
257
|
-
const
|
|
258
|
-
if (
|
|
259
|
-
return
|
|
295
|
+
const o = new Intl.Locale(r), s = typeof o.getWeekInfo == "function" ? o.getWeekInfo() : o.weekInfo;
|
|
296
|
+
if (s && typeof s.firstDay == "number")
|
|
297
|
+
return s.firstDay % 7;
|
|
260
298
|
} catch {
|
|
261
299
|
}
|
|
262
|
-
return
|
|
300
|
+
return r.startsWith("en-US") || r.startsWith("he") || r.startsWith("ar-SA") ? 0 : 1;
|
|
263
301
|
}
|
|
264
|
-
const xe = "calendar-col-hidden",
|
|
265
|
-
function
|
|
266
|
-
const
|
|
267
|
-
return `${
|
|
302
|
+
const xe = "calendar-col-hidden", Fr = "calendar-col-loading";
|
|
303
|
+
function V(r) {
|
|
304
|
+
const o = r.getFullYear(), s = String(r.getMonth() + 1).padStart(2, "0"), m = String(r.getDate()).padStart(2, "0");
|
|
305
|
+
return `${o}-${s}-${m}`;
|
|
268
306
|
}
|
|
269
|
-
function
|
|
270
|
-
const
|
|
271
|
-
if (
|
|
272
|
-
for (const
|
|
273
|
-
if (
|
|
274
|
-
for (const x of
|
|
275
|
-
const
|
|
276
|
-
|
|
307
|
+
function Wr(r, o) {
|
|
308
|
+
const s = /* @__PURE__ */ new Set(), m = /* @__PURE__ */ new Map(), p = (r == null ? void 0 : r.length) ?? 0;
|
|
309
|
+
if (r && o) {
|
|
310
|
+
for (const D of r)
|
|
311
|
+
if (D.hiddenDates)
|
|
312
|
+
for (const x of D.hiddenDates) {
|
|
313
|
+
const R = `${D.id}:${x}`;
|
|
314
|
+
s.has(R) || (s.add(R), m.set(x, (m.get(x) ?? 0) + 1));
|
|
277
315
|
}
|
|
278
316
|
}
|
|
279
317
|
return {
|
|
280
|
-
hiddenCells:
|
|
281
|
-
hiddenCountByDate:
|
|
282
|
-
resourceCount:
|
|
283
|
-
active:
|
|
318
|
+
hiddenCells: s,
|
|
319
|
+
hiddenCountByDate: m,
|
|
320
|
+
resourceCount: p,
|
|
321
|
+
active: s.size > 0
|
|
284
322
|
};
|
|
285
323
|
}
|
|
286
|
-
function
|
|
287
|
-
const { i18n:
|
|
324
|
+
function zr() {
|
|
325
|
+
const { i18n: r } = we("ui"), [o, s] = ce(() => {
|
|
288
326
|
if (typeof document > "u") return !1;
|
|
289
|
-
const
|
|
290
|
-
return
|
|
327
|
+
const m = document.documentElement.getAttribute("dir"), p = typeof r.dir == "function" ? r.dir() : "ltr";
|
|
328
|
+
return m === "rtl" || p === "rtl";
|
|
291
329
|
});
|
|
292
|
-
return
|
|
330
|
+
return b(() => {
|
|
293
331
|
if (typeof document > "u") return;
|
|
294
|
-
const
|
|
295
|
-
const
|
|
296
|
-
|
|
332
|
+
const m = new MutationObserver(() => {
|
|
333
|
+
const p = document.documentElement.getAttribute("dir"), D = typeof r.dir == "function" ? r.dir() : "ltr";
|
|
334
|
+
s(p === "rtl" || D === "rtl");
|
|
297
335
|
});
|
|
298
|
-
return
|
|
336
|
+
return m.observe(document.documentElement, {
|
|
299
337
|
attributes: !0,
|
|
300
338
|
attributeFilter: ["dir", "lang"]
|
|
301
|
-
}), () =>
|
|
302
|
-
}, [
|
|
339
|
+
}), () => m.disconnect();
|
|
340
|
+
}, [r]), o;
|
|
303
341
|
}
|
|
304
342
|
const Ke = /* @__PURE__ */ new Map();
|
|
305
|
-
function
|
|
306
|
-
let
|
|
307
|
-
if (
|
|
343
|
+
function Je(r) {
|
|
344
|
+
let o = Ke.get(r);
|
|
345
|
+
if (o === void 0) {
|
|
308
346
|
try {
|
|
309
|
-
|
|
347
|
+
o = new Intl.DateTimeFormat(r, {
|
|
310
348
|
hour: "2-digit",
|
|
311
349
|
minute: "2-digit",
|
|
312
350
|
hour12: !1
|
|
313
351
|
});
|
|
314
352
|
} catch {
|
|
315
|
-
|
|
353
|
+
o = null;
|
|
316
354
|
}
|
|
317
|
-
Ke.set(
|
|
355
|
+
Ke.set(r, o);
|
|
318
356
|
}
|
|
319
|
-
return
|
|
357
|
+
return o;
|
|
320
358
|
}
|
|
321
|
-
function Ue(
|
|
322
|
-
const
|
|
323
|
-
if (!
|
|
324
|
-
const
|
|
325
|
-
if (
|
|
359
|
+
function Ue(r, o) {
|
|
360
|
+
const s = r.event.start, m = r.event.end ?? r.event.start;
|
|
361
|
+
if (!s || !m) return;
|
|
362
|
+
const p = Je(o);
|
|
363
|
+
if (p)
|
|
326
364
|
try {
|
|
327
|
-
return typeof
|
|
365
|
+
return typeof p.formatRange == "function" ? p.formatRange(s, m) : `${p.format(s)} – ${p.format(m)}`;
|
|
328
366
|
} catch {
|
|
329
367
|
return;
|
|
330
368
|
}
|
|
331
369
|
}
|
|
332
|
-
function
|
|
333
|
-
var
|
|
334
|
-
if (
|
|
335
|
-
return (
|
|
370
|
+
function Hr(r, o) {
|
|
371
|
+
var s;
|
|
372
|
+
if (r)
|
|
373
|
+
return (s = Je(o)) == null ? void 0 : s.format(r);
|
|
336
374
|
}
|
|
337
|
-
const
|
|
375
|
+
const Ze = [
|
|
338
376
|
"ds:inline-flex ds:items-center ds:justify-center",
|
|
339
377
|
"ds:min-h-[var(--min-target-size)]",
|
|
340
378
|
"ds:bg-[var(--background)] ds:text-[var(--foreground)]",
|
|
@@ -347,15 +385,15 @@ const Je = [
|
|
|
347
385
|
"ds:focus-visible:outline-[var(--ring)]",
|
|
348
386
|
"ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
349
387
|
"ds:motion-reduce:transition-none"
|
|
350
|
-
].join(" "),
|
|
351
|
-
|
|
388
|
+
].join(" "), jr = [
|
|
389
|
+
Ze,
|
|
352
390
|
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]"
|
|
353
|
-
].join(" "),
|
|
354
|
-
|
|
391
|
+
].join(" "), _r = [
|
|
392
|
+
Ze,
|
|
355
393
|
"ds:min-w-[var(--min-target-size)]"
|
|
356
|
-
].join(" "),
|
|
357
|
-
({ title:
|
|
358
|
-
const { t: q } =
|
|
394
|
+
].join(" "), De = Ye(
|
|
395
|
+
({ title: r, onToday: o, onPrev: s, onNext: m, end: p, className: D, maskClassName: x }, R) => {
|
|
396
|
+
const { t: q } = we("ui"), Q = zr(), C = Q ? qe : $e, ee = Q ? $e : qe, $ = [
|
|
359
397
|
"ds:calendar-toolbar",
|
|
360
398
|
"ds:sticky ds:top-0 ds:z-20",
|
|
361
399
|
"ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
@@ -363,18 +401,18 @@ const Je = [
|
|
|
363
401
|
"ds:py-[var(--spacing-sm)]",
|
|
364
402
|
"ds:bg-[var(--background)]",
|
|
365
403
|
"ds:border-b ds:border-[var(--border)]",
|
|
366
|
-
|
|
367
|
-
].filter(Boolean).join(" "), K = [
|
|
404
|
+
D
|
|
405
|
+
].filter(Boolean).join(" "), K = [jr, x].filter(Boolean).join(" "), B = [_r, x].filter(Boolean).join(" "), O = [
|
|
368
406
|
"ds:flex-1 ds:text-center ds:truncate type-title-card",
|
|
369
407
|
x
|
|
370
408
|
].filter(Boolean).join(" "), k = ["ds:flex-1 ds:text-center", x].filter(Boolean).join(" ");
|
|
371
|
-
return /* @__PURE__ */
|
|
372
|
-
/* @__PURE__ */
|
|
409
|
+
return /* @__PURE__ */ P("div", { ref: R, className: $, children: [
|
|
410
|
+
/* @__PURE__ */ P("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
373
411
|
/* @__PURE__ */ l(
|
|
374
412
|
"button",
|
|
375
413
|
{
|
|
376
414
|
type: "button",
|
|
377
|
-
onClick:
|
|
415
|
+
onClick: o,
|
|
378
416
|
className: K,
|
|
379
417
|
children: q("calendar.today")
|
|
380
418
|
}
|
|
@@ -383,7 +421,7 @@ const Je = [
|
|
|
383
421
|
"button",
|
|
384
422
|
{
|
|
385
423
|
type: "button",
|
|
386
|
-
onClick:
|
|
424
|
+
onClick: s,
|
|
387
425
|
"aria-label": q("calendar.previousPeriod"),
|
|
388
426
|
className: B,
|
|
389
427
|
children: /* @__PURE__ */ l(C, { size: 16, "aria-hidden": "true" })
|
|
@@ -393,14 +431,14 @@ const Je = [
|
|
|
393
431
|
"button",
|
|
394
432
|
{
|
|
395
433
|
type: "button",
|
|
396
|
-
onClick:
|
|
434
|
+
onClick: m,
|
|
397
435
|
"aria-label": q("calendar.nextPeriod"),
|
|
398
436
|
className: B,
|
|
399
437
|
children: /* @__PURE__ */ l(ee, { size: 16, "aria-hidden": "true" })
|
|
400
438
|
}
|
|
401
439
|
)
|
|
402
440
|
] }),
|
|
403
|
-
|
|
441
|
+
r ? /* @__PURE__ */ l("h2", { "aria-live": "polite", className: O, children: r }) : (
|
|
404
442
|
/* Keep the centering slot stable even before the first
|
|
405
443
|
`datesSet` populates the title — an empty <h2> would trip
|
|
406
444
|
axe's `empty-heading` rule, so we substitute a decorative
|
|
@@ -408,21 +446,21 @@ const Je = [
|
|
|
408
446
|
non-empty the h2 renders in the same slot. */
|
|
409
447
|
/* @__PURE__ */ l("div", { "aria-hidden": "true", className: k })
|
|
410
448
|
),
|
|
411
|
-
|
|
449
|
+
p ? /* @__PURE__ */ l("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: p }) : null
|
|
412
450
|
] });
|
|
413
451
|
}
|
|
414
452
|
);
|
|
415
|
-
|
|
416
|
-
const
|
|
453
|
+
De.displayName = "Calendar.Toolbar";
|
|
454
|
+
const Qe = Ye(
|
|
417
455
|
({
|
|
418
|
-
id:
|
|
419
|
-
events:
|
|
420
|
-
resources:
|
|
421
|
-
view:
|
|
422
|
-
initialDate:
|
|
423
|
-
locale:
|
|
456
|
+
id: r,
|
|
457
|
+
events: o,
|
|
458
|
+
resources: s,
|
|
459
|
+
view: m = "dayGridMonth",
|
|
460
|
+
initialDate: p,
|
|
461
|
+
locale: D,
|
|
424
462
|
onEventDrop: x,
|
|
425
|
-
onEventResize:
|
|
463
|
+
onEventResize: R,
|
|
426
464
|
onEventDragStart: q,
|
|
427
465
|
onEventResizeStart: Q,
|
|
428
466
|
onEventClick: C,
|
|
@@ -434,79 +472,82 @@ const Ze = Ye(
|
|
|
434
472
|
onDateClick: k,
|
|
435
473
|
onNavLinkDayClick: Ce,
|
|
436
474
|
editable: te = !1,
|
|
437
|
-
eventDurationEditable:
|
|
475
|
+
eventDurationEditable: et,
|
|
438
476
|
selectable: ke = !1,
|
|
439
|
-
selectMirror:
|
|
477
|
+
selectMirror: tt,
|
|
440
478
|
unselectAuto: Ae,
|
|
441
|
-
height:
|
|
442
|
-
className:
|
|
443
|
-
privacyMode:
|
|
444
|
-
eventColorStyle:
|
|
479
|
+
height: rt,
|
|
480
|
+
className: nt,
|
|
481
|
+
privacyMode: w = !1,
|
|
482
|
+
eventColorStyle: at = "solid",
|
|
445
483
|
slotDensity: it = "compact",
|
|
446
484
|
mode: re = "default",
|
|
447
|
-
modeLabel:
|
|
485
|
+
modeLabel: ot,
|
|
448
486
|
modeBannerColor: ne,
|
|
449
|
-
modeBannerTextColor:
|
|
487
|
+
modeBannerTextColor: ae,
|
|
450
488
|
onModeCancel: Ie,
|
|
451
489
|
alertBanner: st,
|
|
452
490
|
hiddenDays: Se,
|
|
453
|
-
loadingDates:
|
|
454
|
-
slotMinTime:
|
|
455
|
-
slotMaxTime:
|
|
456
|
-
slotDuration:
|
|
457
|
-
snapDuration:
|
|
458
|
-
showTime:
|
|
491
|
+
loadingDates: Ee,
|
|
492
|
+
slotMinTime: dt,
|
|
493
|
+
slotMaxTime: lt,
|
|
494
|
+
slotDuration: ct,
|
|
495
|
+
snapDuration: Re,
|
|
496
|
+
showTime: ut = !0,
|
|
459
497
|
datesAboveResources: ue = !0,
|
|
460
|
-
slotEventOverlap:
|
|
461
|
-
stickyHeaderDates:
|
|
462
|
-
nowIndicator:
|
|
498
|
+
slotEventOverlap: mt = !1,
|
|
499
|
+
stickyHeaderDates: ft = !0,
|
|
500
|
+
nowIndicator: vt = !0,
|
|
463
501
|
dayMaxEvents: pt = !0,
|
|
464
|
-
schedulerLicenseKey:
|
|
465
|
-
toolbar:
|
|
466
|
-
toolbarEnd:
|
|
502
|
+
schedulerLicenseKey: ht = void 0,
|
|
503
|
+
toolbar: gt = !0,
|
|
504
|
+
toolbarEnd: yt,
|
|
467
505
|
resourceLayout: U = "vertical",
|
|
468
506
|
showResourceInitials: me = !1,
|
|
469
|
-
resourceLabelVariant:
|
|
507
|
+
resourceLabelVariant: Ne = "text",
|
|
470
508
|
verticalResourceLabels: fe = !1,
|
|
471
|
-
selectedEventId:
|
|
472
|
-
availabilityMode:
|
|
473
|
-
resourceAreaWidth:
|
|
509
|
+
selectedEventId: Le,
|
|
510
|
+
availabilityMode: bt = !1,
|
|
511
|
+
resourceAreaWidth: Tt,
|
|
474
512
|
resourceAreaHeader: Y,
|
|
475
513
|
defaultTimedEventDuration: X,
|
|
476
|
-
zebraRows:
|
|
514
|
+
zebraRows: xt = !1,
|
|
477
515
|
maskClassName: F
|
|
478
|
-
},
|
|
479
|
-
const { t: f, i18n: W } =
|
|
516
|
+
}, wt) => {
|
|
517
|
+
const { t: f, i18n: W } = we("ui"), A = g(null), N = g(null), I = g(null), L = g(null), z = g(null), Pe = g(null), ie = g({
|
|
480
518
|
id: 0,
|
|
481
519
|
x: 0,
|
|
482
520
|
y: 0
|
|
483
|
-
}), Me = g(0), Ge = g(0),
|
|
484
|
-
|
|
485
|
-
|
|
521
|
+
}), Me = g(0), Ge = g(0), y = Xe(D ?? W.language ?? "en"), Dt = u(
|
|
522
|
+
() => Sr(f, y),
|
|
523
|
+
[f, y]
|
|
524
|
+
);
|
|
525
|
+
b(() => {
|
|
526
|
+
}, [Se]), b(() => {
|
|
486
527
|
}, [X]);
|
|
487
|
-
const [
|
|
528
|
+
const [Ct, kt] = ce(() => {
|
|
488
529
|
if (typeof document > "u") return "ltr";
|
|
489
530
|
const e = document.documentElement.getAttribute("dir"), t = typeof W.dir == "function" ? W.dir() : "ltr";
|
|
490
531
|
return e === "rtl" || t === "rtl" ? "rtl" : "ltr";
|
|
491
532
|
});
|
|
492
|
-
|
|
533
|
+
b(() => {
|
|
493
534
|
if (typeof document > "u") return;
|
|
494
535
|
const e = new MutationObserver(() => {
|
|
495
|
-
const t = document.documentElement.getAttribute("dir"),
|
|
496
|
-
|
|
536
|
+
const t = document.documentElement.getAttribute("dir"), n = typeof W.dir == "function" ? W.dir() : "ltr";
|
|
537
|
+
kt(t === "rtl" || n === "rtl" ? "rtl" : "ltr");
|
|
497
538
|
});
|
|
498
539
|
return e.observe(document.documentElement, {
|
|
499
540
|
attributes: !0,
|
|
500
541
|
attributeFilter: ["dir", "lang"]
|
|
501
542
|
}), () => e.disconnect();
|
|
502
|
-
}, [W]),
|
|
543
|
+
}, [W]), b(() => {
|
|
503
544
|
if (typeof document > "u") return;
|
|
504
545
|
let e;
|
|
505
546
|
const t = new MutationObserver(() => {
|
|
506
547
|
clearTimeout(e), e = setTimeout(() => {
|
|
507
|
-
var
|
|
508
|
-
const
|
|
509
|
-
|
|
548
|
+
var a;
|
|
549
|
+
const n = (a = A.current) == null ? void 0 : a.getApi();
|
|
550
|
+
n && typeof n.render == "function" && n.render();
|
|
510
551
|
}, 50);
|
|
511
552
|
});
|
|
512
553
|
return t.observe(document.documentElement, {
|
|
@@ -515,52 +556,52 @@ const Ze = Ye(
|
|
|
515
556
|
}), () => {
|
|
516
557
|
clearTimeout(e), t.disconnect();
|
|
517
558
|
};
|
|
518
|
-
}, []),
|
|
519
|
-
const e =
|
|
559
|
+
}, []), b(() => {
|
|
560
|
+
const e = N.current;
|
|
520
561
|
if (!e || typeof ResizeObserver > "u") return;
|
|
521
|
-
let t = 0,
|
|
522
|
-
const
|
|
523
|
-
var
|
|
524
|
-
const
|
|
525
|
-
c !==
|
|
526
|
-
var h,
|
|
527
|
-
(
|
|
562
|
+
let t = 0, n = e.getBoundingClientRect().width;
|
|
563
|
+
const a = new ResizeObserver((i) => {
|
|
564
|
+
var v, S;
|
|
565
|
+
const d = i[0], c = ((S = (v = d == null ? void 0 : d.borderBoxSize) == null ? void 0 : v[0]) == null ? void 0 : S.inlineSize) ?? (d == null ? void 0 : d.contentRect.width) ?? e.getBoundingClientRect().width;
|
|
566
|
+
c !== n && (n = c, cancelAnimationFrame(t), t = requestAnimationFrame(() => {
|
|
567
|
+
var h, E;
|
|
568
|
+
(E = (h = A.current) == null ? void 0 : h.getApi()) == null || E.updateSize();
|
|
528
569
|
}));
|
|
529
570
|
});
|
|
530
|
-
return
|
|
531
|
-
cancelAnimationFrame(t),
|
|
571
|
+
return a.observe(e), () => {
|
|
572
|
+
cancelAnimationFrame(t), a.disconnect();
|
|
532
573
|
};
|
|
533
|
-
}, []),
|
|
574
|
+
}, []), b(() => {
|
|
534
575
|
if (typeof document > "u") return;
|
|
535
|
-
const e =
|
|
576
|
+
const e = N.current;
|
|
536
577
|
if (!e) return;
|
|
537
578
|
const t = () => {
|
|
538
579
|
e.querySelectorAll(
|
|
539
580
|
".fc-daygrid-more-link, a[data-navlink]"
|
|
540
|
-
).forEach((
|
|
541
|
-
|
|
542
|
-
}), e.querySelectorAll('[aria-hidden="true"]').forEach((
|
|
543
|
-
|
|
581
|
+
).forEach((a) => {
|
|
582
|
+
a.getAttribute("role") || a.setAttribute("role", "button");
|
|
583
|
+
}), e.querySelectorAll('[aria-hidden="true"]').forEach((a) => {
|
|
584
|
+
a.querySelectorAll(
|
|
544
585
|
'a[href], button, [tabindex]:not([tabindex="-1"])'
|
|
545
|
-
).forEach((
|
|
546
|
-
|
|
586
|
+
).forEach((i) => {
|
|
587
|
+
i.setAttribute("tabindex", "-1");
|
|
547
588
|
});
|
|
548
589
|
});
|
|
549
590
|
};
|
|
550
591
|
t();
|
|
551
|
-
const
|
|
552
|
-
return
|
|
592
|
+
const n = new MutationObserver(t);
|
|
593
|
+
return n.observe(e, {
|
|
553
594
|
childList: !0,
|
|
554
595
|
subtree: !0,
|
|
555
596
|
attributes: !0,
|
|
556
597
|
attributeFilter: ["aria-hidden"]
|
|
557
|
-
}), () =>
|
|
598
|
+
}), () => n.disconnect();
|
|
558
599
|
}, [f]);
|
|
559
|
-
const
|
|
560
|
-
() => be(
|
|
561
|
-
), Be = g(
|
|
562
|
-
Be.current =
|
|
563
|
-
const
|
|
600
|
+
const oe = Tr(), [At, It] = ce(""), [H, St] = ce(
|
|
601
|
+
() => be(m, U)
|
|
602
|
+
), Be = g(H);
|
|
603
|
+
Be.current = H;
|
|
604
|
+
const ve = u(() => {
|
|
564
605
|
const e = () => {
|
|
565
606
|
var t;
|
|
566
607
|
return (t = A.current) == null ? void 0 : t.getApi();
|
|
@@ -583,12 +624,12 @@ const Ze = Ye(
|
|
|
583
624
|
(t = e()) == null || t.next();
|
|
584
625
|
},
|
|
585
626
|
gotoDate: (t) => {
|
|
586
|
-
var
|
|
587
|
-
(
|
|
627
|
+
var n;
|
|
628
|
+
(n = e()) == null || n.gotoDate(t);
|
|
588
629
|
},
|
|
589
630
|
changeView: (t) => {
|
|
590
|
-
var
|
|
591
|
-
(
|
|
631
|
+
var n;
|
|
632
|
+
(n = e()) == null || n.changeView(
|
|
592
633
|
be(t, U)
|
|
593
634
|
);
|
|
594
635
|
},
|
|
@@ -597,50 +638,50 @@ const Ze = Ye(
|
|
|
597
638
|
return ((t = e()) == null ? void 0 : t.view.title) ?? "";
|
|
598
639
|
},
|
|
599
640
|
getCurrentView: () => {
|
|
600
|
-
var
|
|
601
|
-
return (
|
|
641
|
+
var n;
|
|
642
|
+
return (n = e()) == null ? void 0 : n.view.type;
|
|
602
643
|
},
|
|
603
644
|
getCurrentDate: () => {
|
|
604
645
|
var t;
|
|
605
646
|
return (t = e()) == null ? void 0 : t.getDate();
|
|
606
647
|
},
|
|
607
648
|
focusEvent: (t) => {
|
|
608
|
-
const
|
|
609
|
-
if (!
|
|
610
|
-
const
|
|
611
|
-
if (
|
|
612
|
-
if (
|
|
613
|
-
behavior:
|
|
649
|
+
const n = N.current;
|
|
650
|
+
if (!n) return;
|
|
651
|
+
const a = `[data-event-id="${CSS.escape(t)}"]`, i = n.querySelector(a);
|
|
652
|
+
if (i) {
|
|
653
|
+
if (L.current && (clearTimeout(L.current), L.current = null), z.current && z.current !== i && z.current.classList.remove("calendar-event-focused"), i.scrollIntoView({
|
|
654
|
+
behavior: oe ? "auto" : "smooth",
|
|
614
655
|
block: "center"
|
|
615
|
-
}),
|
|
616
|
-
const
|
|
656
|
+
}), i.classList.add("calendar-event-focused"), z.current = i, I.current) {
|
|
657
|
+
const d = i.getAttribute("aria-label") ?? t, c = w ? "•••" : d;
|
|
617
658
|
I.current.textContent = f("calendar.focusedEvent", {
|
|
618
659
|
title: c
|
|
619
660
|
});
|
|
620
661
|
}
|
|
621
|
-
|
|
622
|
-
|
|
662
|
+
L.current = setTimeout(() => {
|
|
663
|
+
i.classList.remove("calendar-event-focused"), z.current === i && (z.current = null), L.current = null;
|
|
623
664
|
}, 3e3);
|
|
624
665
|
}
|
|
625
666
|
}
|
|
626
667
|
};
|
|
627
|
-
}, [
|
|
628
|
-
|
|
668
|
+
}, [oe, w, f, U]);
|
|
669
|
+
lr(wt, () => ve, [ve]), xr(Er, ve, r), b(
|
|
629
670
|
() => () => {
|
|
630
|
-
|
|
671
|
+
L.current && (clearTimeout(L.current), L.current = null);
|
|
631
672
|
},
|
|
632
673
|
[]
|
|
633
674
|
);
|
|
634
675
|
const Oe = g(!0);
|
|
635
|
-
|
|
676
|
+
b(() => {
|
|
636
677
|
if (Oe.current) {
|
|
637
678
|
Oe.current = !1;
|
|
638
679
|
return;
|
|
639
680
|
}
|
|
640
|
-
I.current && (I.current.textContent = f(
|
|
641
|
-
}, [
|
|
642
|
-
const
|
|
643
|
-
() =>
|
|
681
|
+
I.current && (I.current.textContent = f(w ? "calendar.privacyModeOn" : "calendar.privacyModeOff"));
|
|
682
|
+
}, [w, f]);
|
|
683
|
+
const Et = u(
|
|
684
|
+
() => o.map((e) => ({
|
|
644
685
|
id: e.id,
|
|
645
686
|
title: e.title,
|
|
646
687
|
start: e.start,
|
|
@@ -702,25 +743,25 @@ const Ze = Ye(
|
|
|
702
743
|
optionCount: e.optionCount
|
|
703
744
|
}
|
|
704
745
|
})),
|
|
705
|
-
[
|
|
706
|
-
),
|
|
746
|
+
[o]
|
|
747
|
+
), Rt = u(
|
|
707
748
|
() => ({
|
|
708
749
|
year: "numeric",
|
|
709
750
|
month: "long"
|
|
710
751
|
}),
|
|
711
752
|
[]
|
|
712
|
-
),
|
|
753
|
+
), Nt = u(
|
|
713
754
|
() => ({
|
|
714
755
|
weekday: "short"
|
|
715
756
|
}),
|
|
716
757
|
[]
|
|
717
|
-
),
|
|
758
|
+
), Lt = u(
|
|
718
759
|
() => ({
|
|
719
760
|
hour: "numeric",
|
|
720
761
|
minute: "2-digit"
|
|
721
762
|
}),
|
|
722
763
|
[]
|
|
723
|
-
),
|
|
764
|
+
), Pt = u(
|
|
724
765
|
() => ({
|
|
725
766
|
hour: "2-digit",
|
|
726
767
|
minute: "2-digit",
|
|
@@ -729,111 +770,112 @@ const Ze = Ye(
|
|
|
729
770
|
hour12: !1
|
|
730
771
|
}),
|
|
731
772
|
[]
|
|
732
|
-
), M =
|
|
733
|
-
() => new Set(
|
|
734
|
-
[
|
|
735
|
-
),
|
|
736
|
-
|
|
737
|
-
const he = g(!1),
|
|
773
|
+
), M = u(
|
|
774
|
+
() => new Set(Ee ?? []),
|
|
775
|
+
[Ee]
|
|
776
|
+
), pe = g(M);
|
|
777
|
+
pe.current = M;
|
|
778
|
+
const he = g(!1), Mt = T(
|
|
738
779
|
(e) => {
|
|
739
|
-
const t = new Intl.DateTimeFormat(
|
|
780
|
+
const t = new Intl.DateTimeFormat(y, {
|
|
740
781
|
weekday: "short"
|
|
741
782
|
}).format(e.date);
|
|
742
783
|
if (e.view.type === "dayGridMonth" || e.view.type.startsWith("list"))
|
|
743
784
|
return t;
|
|
744
|
-
const
|
|
785
|
+
const n = new Intl.DateTimeFormat(y, {
|
|
786
|
+
calendar: "gregory",
|
|
745
787
|
day: "numeric"
|
|
746
788
|
}).format(e.date);
|
|
747
|
-
return /* @__PURE__ */
|
|
789
|
+
return /* @__PURE__ */ P("span", { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-2xs)] ds:py-[var(--spacing-2xs)]", children: [
|
|
748
790
|
/* @__PURE__ */ l("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: t }),
|
|
749
791
|
/* @__PURE__ */ l(
|
|
750
792
|
"span",
|
|
751
793
|
{
|
|
752
794
|
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",
|
|
753
|
-
children:
|
|
795
|
+
children: n
|
|
754
796
|
}
|
|
755
797
|
),
|
|
756
|
-
M.has(
|
|
798
|
+
M.has(V(e.date)) ? /* @__PURE__ */ l(Ir, { children: f("calendar.loadingDay") }) : null
|
|
757
799
|
] });
|
|
758
800
|
},
|
|
759
|
-
[
|
|
760
|
-
), Fe =
|
|
801
|
+
[y, M, f]
|
|
802
|
+
), Fe = u(
|
|
761
803
|
() => typeof X == "number" ? { minutes: X } : X,
|
|
762
804
|
[X]
|
|
763
|
-
), ge =
|
|
805
|
+
), ge = u(
|
|
764
806
|
() => F ? F.split(/\s+/).filter(Boolean) : void 0,
|
|
765
807
|
[F]
|
|
766
|
-
),
|
|
808
|
+
), Gt = u(() => {
|
|
767
809
|
if (Y !== void 0)
|
|
768
810
|
return Y === "chairs" ? f("calendar.resourceLabel.chairs") : Y === "operators" ? f("calendar.resourceLabel.operators") : Y;
|
|
769
|
-
}, [Y, f]),
|
|
770
|
-
() =>
|
|
771
|
-
[
|
|
772
|
-
),
|
|
773
|
-
|
|
774
|
-
const ye = g(!1),
|
|
811
|
+
}, [Y, f]), se = u(
|
|
812
|
+
() => Wr(s, ue),
|
|
813
|
+
[s, ue]
|
|
814
|
+
), j = g(se);
|
|
815
|
+
j.current = se;
|
|
816
|
+
const ye = g(!1), Bt = T(
|
|
775
817
|
(e) => {
|
|
776
|
-
const t = M.has(
|
|
777
|
-
if (!
|
|
818
|
+
const t = M.has(V(e.date)) ? [Fr] : [], n = j.current;
|
|
819
|
+
if (!n.active || !e.view.type.startsWith("resourceTimeGrid"))
|
|
778
820
|
return t;
|
|
779
|
-
const
|
|
780
|
-
return
|
|
781
|
-
`${
|
|
821
|
+
const a = e.resource;
|
|
822
|
+
return a != null && a.id && n.hiddenCells.has(
|
|
823
|
+
`${a.id}:${V(e.date)}`
|
|
782
824
|
) ? [...t, xe] : t;
|
|
783
825
|
},
|
|
784
826
|
[M]
|
|
785
|
-
),
|
|
827
|
+
), Ot = T(
|
|
786
828
|
(e) => {
|
|
787
|
-
const t =
|
|
829
|
+
const t = j.current;
|
|
788
830
|
if (!t.active || !e.view.type.startsWith("resourceTimeGrid"))
|
|
789
831
|
return [];
|
|
790
|
-
const
|
|
832
|
+
const n = e.date ?? e.view.currentStart;
|
|
791
833
|
return t.hiddenCells.has(
|
|
792
|
-
`${e.resource.id}:${
|
|
834
|
+
`${e.resource.id}:${V(n)}`
|
|
793
835
|
) ? [xe] : [];
|
|
794
836
|
},
|
|
795
837
|
[]
|
|
796
|
-
),
|
|
838
|
+
), Ft = T(
|
|
797
839
|
(e) => {
|
|
798
|
-
const t =
|
|
799
|
-
return !t.active || !e.view.type.startsWith("resourceTimeGrid") ? [] : (t.hiddenCountByDate.get(
|
|
840
|
+
const t = j.current;
|
|
841
|
+
return !t.active || !e.view.type.startsWith("resourceTimeGrid") ? [] : (t.hiddenCountByDate.get(V(e.date)) ?? 0) >= t.resourceCount ? [xe] : [];
|
|
800
842
|
},
|
|
801
843
|
[]
|
|
802
|
-
),
|
|
803
|
-
const t =
|
|
844
|
+
), Wt = T((e) => {
|
|
845
|
+
const t = j.current;
|
|
804
846
|
if (!t.active || !e.view.type.startsWith("resourceTimeGrid"))
|
|
805
847
|
return;
|
|
806
|
-
const
|
|
807
|
-
if (!(
|
|
808
|
-
const
|
|
809
|
-
if (!
|
|
810
|
-
const
|
|
811
|
-
|
|
848
|
+
const n = e.el;
|
|
849
|
+
if (!(n instanceof HTMLTableCellElement) || !n.classList.contains("fc-day")) return;
|
|
850
|
+
const a = n.getAttribute("data-date");
|
|
851
|
+
if (!a) return;
|
|
852
|
+
const i = t.hiddenCountByDate.get(a) ?? 0, d = Math.max(1, t.resourceCount - i);
|
|
853
|
+
n.colSpan !== d && (n.colSpan = d, ye.current = !0);
|
|
812
854
|
}, []), J = T(() => {
|
|
813
|
-
const e =
|
|
855
|
+
const e = N.current;
|
|
814
856
|
if (!e || !Be.current.startsWith("resourceTimeGrid")) return;
|
|
815
|
-
const t =
|
|
857
|
+
const t = j.current;
|
|
816
858
|
!t.active && !ye.current || (e.querySelectorAll(
|
|
817
859
|
"th.fc-col-header-cell.fc-day[data-date]"
|
|
818
|
-
).forEach((
|
|
819
|
-
const
|
|
820
|
-
if (!
|
|
821
|
-
const
|
|
822
|
-
|
|
860
|
+
).forEach((n) => {
|
|
861
|
+
const a = n.getAttribute("data-date");
|
|
862
|
+
if (!a) return;
|
|
863
|
+
const i = t.active ? t.hiddenCountByDate.get(a) ?? 0 : 0, d = Math.max(1, t.resourceCount - i);
|
|
864
|
+
n.colSpan !== d && (n.colSpan = d);
|
|
823
865
|
}), ye.current = t.active);
|
|
824
866
|
}, []), Z = T(() => {
|
|
825
|
-
const e =
|
|
867
|
+
const e = N.current;
|
|
826
868
|
if (!e) return;
|
|
827
|
-
const t =
|
|
828
|
-
t.size === 0 && !he.current || (e.querySelectorAll("td.fc-day[data-date]").forEach((
|
|
829
|
-
const
|
|
830
|
-
|
|
869
|
+
const t = pe.current;
|
|
870
|
+
t.size === 0 && !he.current || (e.querySelectorAll("td.fc-day[data-date]").forEach((n) => {
|
|
871
|
+
const a = n.getAttribute("data-date");
|
|
872
|
+
a && t.has(a) ? n.setAttribute("aria-busy", "true") : n.removeAttribute("aria-busy");
|
|
831
873
|
}), he.current = t.size > 0);
|
|
832
|
-
}, []),
|
|
833
|
-
|
|
874
|
+
}, []), zt = T((e) => {
|
|
875
|
+
pe.current.has(V(e.date)) && (e.el.setAttribute("aria-busy", "true"), he.current = !0);
|
|
834
876
|
}, []);
|
|
835
|
-
|
|
836
|
-
}, [
|
|
877
|
+
b(() => {
|
|
878
|
+
}, [o, se]);
|
|
837
879
|
const G = (e) => {
|
|
838
880
|
const t = e.extendedProps ?? {};
|
|
839
881
|
return {
|
|
@@ -868,59 +910,59 @@ const Ze = Ye(
|
|
|
868
910
|
operatorId: t.operatorId,
|
|
869
911
|
optionCount: t.optionCount
|
|
870
912
|
};
|
|
871
|
-
},
|
|
913
|
+
}, Ht = u(() => {
|
|
872
914
|
if (x)
|
|
873
915
|
return (e) => {
|
|
874
|
-
var
|
|
916
|
+
var n, a, i;
|
|
875
917
|
if (!e.event.start) return;
|
|
876
918
|
const t = e.oldEvent.start;
|
|
877
919
|
if (t && (x({
|
|
878
920
|
event: G(e.event),
|
|
879
921
|
oldStart: t,
|
|
880
922
|
newStart: e.event.start,
|
|
881
|
-
oldResourceId: (
|
|
882
|
-
newResourceId: (
|
|
923
|
+
oldResourceId: (n = e.oldResource) == null ? void 0 : n.id,
|
|
924
|
+
newResourceId: (a = e.newResource) == null ? void 0 : a.id,
|
|
883
925
|
revert: e.revert
|
|
884
926
|
}), I.current)) {
|
|
885
|
-
const
|
|
927
|
+
const d = e.event.extendedProps ?? {}, c = w ? ((i = d.privacyModeTitle) == null ? void 0 : i.trim()) || "•••" : e.event.title;
|
|
886
928
|
I.current.textContent = f("calendar.eventMoved", {
|
|
887
929
|
title: c
|
|
888
930
|
});
|
|
889
931
|
}
|
|
890
932
|
};
|
|
891
|
-
}, [x,
|
|
892
|
-
if (
|
|
933
|
+
}, [x, w, f]), jt = u(() => {
|
|
934
|
+
if (R)
|
|
893
935
|
return (e) => {
|
|
894
|
-
var
|
|
936
|
+
var i;
|
|
895
937
|
if (!e.event.end) return;
|
|
896
938
|
const t = e.oldEvent.end;
|
|
897
939
|
if (!t)
|
|
898
940
|
return;
|
|
899
|
-
const
|
|
900
|
-
if (
|
|
941
|
+
const n = e.event.end, a = e.event.start ?? e.oldEvent.start ?? t;
|
|
942
|
+
if (R({
|
|
901
943
|
event: G(e.event),
|
|
902
944
|
oldEnd: t,
|
|
903
|
-
newEnd:
|
|
945
|
+
newEnd: n,
|
|
904
946
|
revert: e.revert
|
|
905
947
|
}), I.current) {
|
|
906
|
-
const
|
|
907
|
-
(
|
|
908
|
-
), c = e.event.extendedProps ?? {},
|
|
948
|
+
const d = Math.round(
|
|
949
|
+
(n.getTime() - a.getTime()) / 6e4
|
|
950
|
+
), c = e.event.extendedProps ?? {}, v = w ? ((i = c.privacyModeTitle) == null ? void 0 : i.trim()) || "•••" : e.event.title;
|
|
909
951
|
I.current.textContent = f("calendar.eventResized", {
|
|
910
|
-
title:
|
|
911
|
-
duration:
|
|
952
|
+
title: v,
|
|
953
|
+
duration: d
|
|
912
954
|
});
|
|
913
955
|
}
|
|
914
956
|
};
|
|
915
|
-
}, [
|
|
957
|
+
}, [R, w, f]), _t = u(() => {
|
|
916
958
|
if (C)
|
|
917
959
|
return (e) => {
|
|
918
|
-
e.event.start && (
|
|
960
|
+
e.event.start && (Pe.current = e.jsEvent, C(G(e.event), {
|
|
919
961
|
el: e.el,
|
|
920
962
|
jsEvent: e.jsEvent
|
|
921
963
|
}));
|
|
922
964
|
};
|
|
923
|
-
}, [C]),
|
|
965
|
+
}, [C]), Vt = u(() => {
|
|
924
966
|
if ($)
|
|
925
967
|
return (e) => {
|
|
926
968
|
if (!e.event.start || e.event.display === "background") return;
|
|
@@ -930,12 +972,12 @@ const Ze = Ye(
|
|
|
930
972
|
jsEvent: e.jsEvent
|
|
931
973
|
});
|
|
932
974
|
};
|
|
933
|
-
}, [$]),
|
|
975
|
+
}, [$]), qt = u(() => {
|
|
934
976
|
if (K)
|
|
935
977
|
return (e) => {
|
|
936
978
|
e.event.start && e.event.display !== "background" && K(G(e.event));
|
|
937
979
|
};
|
|
938
|
-
}, [K]),
|
|
980
|
+
}, [K]), $t = u(() => {
|
|
939
981
|
if (B)
|
|
940
982
|
return (e) => {
|
|
941
983
|
var t;
|
|
@@ -946,21 +988,21 @@ const Ze = Ye(
|
|
|
946
988
|
resourceId: (t = e.resource) == null ? void 0 : t.id
|
|
947
989
|
});
|
|
948
990
|
};
|
|
949
|
-
}, [B]),
|
|
991
|
+
}, [B]), Kt = u(() => {
|
|
950
992
|
if (k)
|
|
951
993
|
return (e) => {
|
|
952
|
-
var
|
|
953
|
-
const t =
|
|
994
|
+
var n;
|
|
995
|
+
const t = ie.current.id;
|
|
954
996
|
t !== 0 && Ge.current === t || (t !== 0 && (Me.current = t), k({
|
|
955
997
|
date: e.date,
|
|
956
998
|
allDay: e.allDay,
|
|
957
|
-
resourceId: (
|
|
999
|
+
resourceId: (n = e.resource) == null ? void 0 : n.id
|
|
958
1000
|
}));
|
|
959
1001
|
};
|
|
960
|
-
}, [k]),
|
|
1002
|
+
}, [k]), Ut = T(
|
|
961
1003
|
(e) => {
|
|
962
|
-
|
|
963
|
-
view:
|
|
1004
|
+
It(e.view.title), St(e.view.type), O == null || O({
|
|
1005
|
+
view: m,
|
|
964
1006
|
internalView: e.view.type,
|
|
965
1007
|
start: e.start,
|
|
966
1008
|
end: e.end,
|
|
@@ -970,136 +1012,150 @@ const Ze = Ye(
|
|
|
970
1012
|
title: e.view.title
|
|
971
1013
|
}), J(), Z();
|
|
972
1014
|
},
|
|
973
|
-
[O,
|
|
974
|
-
),
|
|
1015
|
+
[O, m, J, Z]
|
|
1016
|
+
), Yt = u(() => Or(y), [y]), Xt = u(
|
|
975
1017
|
() => [
|
|
976
|
-
cr,
|
|
977
|
-
ur,
|
|
978
1018
|
mr,
|
|
979
|
-
gr,
|
|
980
1019
|
fr,
|
|
981
|
-
pr,
|
|
982
1020
|
vr,
|
|
983
|
-
|
|
1021
|
+
br,
|
|
1022
|
+
pr,
|
|
1023
|
+
hr,
|
|
1024
|
+
gr,
|
|
1025
|
+
yr
|
|
984
1026
|
],
|
|
985
1027
|
[]
|
|
986
|
-
),
|
|
987
|
-
() => be(
|
|
988
|
-
[
|
|
1028
|
+
), Jt = u(
|
|
1029
|
+
() => be(m, U),
|
|
1030
|
+
[m, U]
|
|
989
1031
|
);
|
|
990
|
-
|
|
991
|
-
const e =
|
|
1032
|
+
b(() => {
|
|
1033
|
+
const e = N.current;
|
|
992
1034
|
if (!e) return;
|
|
993
|
-
const t = (
|
|
994
|
-
|
|
995
|
-
id:
|
|
996
|
-
x:
|
|
997
|
-
y:
|
|
1035
|
+
const t = (n) => {
|
|
1036
|
+
ie.current = {
|
|
1037
|
+
id: ie.current.id + 1,
|
|
1038
|
+
x: n.clientX,
|
|
1039
|
+
y: n.clientY
|
|
998
1040
|
};
|
|
999
1041
|
};
|
|
1000
1042
|
return e.addEventListener("pointerdown", t, !0), () => e.removeEventListener("pointerdown", t, !0);
|
|
1001
|
-
}, []),
|
|
1002
|
-
const e =
|
|
1003
|
-
if (!e || !
|
|
1004
|
-
const t = (
|
|
1043
|
+
}, []), b(() => {
|
|
1044
|
+
const e = N.current;
|
|
1045
|
+
if (!e || !H.startsWith("resourceTimeGrid") || !k && !C) return;
|
|
1046
|
+
const t = (n) => {
|
|
1005
1047
|
var h;
|
|
1006
|
-
if (
|
|
1007
|
-
const
|
|
1008
|
-
if (!(
|
|
1048
|
+
if (n === Pe.current) return;
|
|
1049
|
+
const a = n.target;
|
|
1050
|
+
if (!(a instanceof Element) || a.closest(
|
|
1009
1051
|
".fc-more-link, a[data-navlink], .fc-popover, .fc-event-mirror"
|
|
1010
1052
|
))
|
|
1011
1053
|
return;
|
|
1012
|
-
const
|
|
1013
|
-
if (
|
|
1054
|
+
const i = ie.current;
|
|
1055
|
+
if (i.id !== 0 && (Math.abs(n.clientX - i.x) > Te || Math.abs(n.clientY - i.y) > Te))
|
|
1014
1056
|
return;
|
|
1015
|
-
const
|
|
1016
|
-
if (!
|
|
1017
|
-
const c =
|
|
1057
|
+
const d = a.closest("td.fc-daygrid-day[data-date]");
|
|
1058
|
+
if (!d) return;
|
|
1059
|
+
const c = a.closest("[data-event-id]");
|
|
1018
1060
|
if (c) {
|
|
1019
1061
|
if (!C) return;
|
|
1020
|
-
const
|
|
1062
|
+
const E = c.getAttribute("data-event-id"), _ = (h = A.current) == null ? void 0 : h.getApi(), de = E ? _ == null ? void 0 : _.getEventById(E) : null;
|
|
1021
1063
|
if (!de || !de.start) return;
|
|
1022
|
-
const
|
|
1023
|
-
if (
|
|
1024
|
-
const
|
|
1025
|
-
C(G(de), { el:
|
|
1064
|
+
const He = de.extendedProps ?? {};
|
|
1065
|
+
if (He.isInternal || He.isDraft) return;
|
|
1066
|
+
const dr = a.closest(".fc-event") ?? c;
|
|
1067
|
+
C(G(de), { el: dr, jsEvent: n });
|
|
1026
1068
|
return;
|
|
1027
1069
|
}
|
|
1028
|
-
if (!k ||
|
|
1070
|
+
if (!k || i.id !== 0 && Me.current === i.id)
|
|
1029
1071
|
return;
|
|
1030
|
-
const
|
|
1031
|
-
if (!
|
|
1032
|
-
const S = /* @__PURE__ */ new Date(`${
|
|
1033
|
-
Number.isNaN(S.getTime()) || (
|
|
1072
|
+
const v = d.getAttribute("data-date");
|
|
1073
|
+
if (!v) return;
|
|
1074
|
+
const S = /* @__PURE__ */ new Date(`${v}T00:00:00`);
|
|
1075
|
+
Number.isNaN(S.getTime()) || (i.id !== 0 && (Ge.current = i.id), k({
|
|
1034
1076
|
date: S,
|
|
1035
1077
|
allDay: !0,
|
|
1036
|
-
resourceId:
|
|
1078
|
+
resourceId: d.getAttribute("data-resource-id") ?? void 0
|
|
1037
1079
|
}));
|
|
1038
1080
|
};
|
|
1039
1081
|
return e.addEventListener("click", t), () => e.removeEventListener("click", t);
|
|
1040
|
-
}, [
|
|
1041
|
-
const We =
|
|
1042
|
-
var
|
|
1043
|
-
const e =
|
|
1044
|
-
for (const
|
|
1045
|
-
const c = (
|
|
1046
|
-
c &&
|
|
1082
|
+
}, [H, k, C]);
|
|
1083
|
+
const We = u(() => {
|
|
1084
|
+
var i;
|
|
1085
|
+
const e = s ?? [], t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
|
|
1086
|
+
for (const d of e) {
|
|
1087
|
+
const c = (i = d.shortTitle) == null ? void 0 : i.trim();
|
|
1088
|
+
c && n.set(c, (n.get(c) ?? 0) + 1);
|
|
1047
1089
|
}
|
|
1048
|
-
let
|
|
1049
|
-
var
|
|
1050
|
-
const c = (
|
|
1051
|
-
return c &&
|
|
1090
|
+
let a = e.filter((d) => {
|
|
1091
|
+
var v;
|
|
1092
|
+
const c = (v = d.shortTitle) == null ? void 0 : v.trim();
|
|
1093
|
+
return c && n.get(c) === 1 ? (t.set(d.id, c), !1) : !0;
|
|
1052
1094
|
});
|
|
1053
|
-
for (let
|
|
1054
|
-
const c = new Set(t.values()),
|
|
1095
|
+
for (let d = 1; a.length > 0; d += 1) {
|
|
1096
|
+
const c = new Set(t.values()), v = a.map((h) => ({
|
|
1055
1097
|
resource: h,
|
|
1056
|
-
short:
|
|
1098
|
+
short: je(h.title, { locale: y, letters: d })
|
|
1057
1099
|
})), S = /* @__PURE__ */ new Map();
|
|
1058
|
-
for (const { short: h } of
|
|
1100
|
+
for (const { short: h } of v)
|
|
1059
1101
|
S.set(h, (S.get(h) ?? 0) + 1);
|
|
1060
|
-
|
|
1061
|
-
const
|
|
1062
|
-
return (
|
|
1102
|
+
a = v.filter(({ resource: h, short: E }) => {
|
|
1103
|
+
const _ = S.get(E) === 1 && !c.has(E);
|
|
1104
|
+
return (_ || d >= 3) && t.set(h.id, E), !_ && d < 3;
|
|
1063
1105
|
}).map(({ resource: h }) => h);
|
|
1064
1106
|
}
|
|
1065
1107
|
return t;
|
|
1066
|
-
}, [
|
|
1108
|
+
}, [s, y]), Zt = T(
|
|
1067
1109
|
(e) => {
|
|
1068
|
-
const t = e.resource.extendedProps,
|
|
1069
|
-
...
|
|
1070
|
-
...
|
|
1071
|
-
"--resource-initials-text-color":
|
|
1110
|
+
const t = e.resource.extendedProps, n = e.resource.title, a = t.color, i = t.shortTitleTextColor, d = a || i ? {
|
|
1111
|
+
...a ? { "--resource-color": a } : {},
|
|
1112
|
+
...i ? {
|
|
1113
|
+
"--resource-initials-text-color": i
|
|
1072
1114
|
} : {}
|
|
1073
1115
|
} : void 0;
|
|
1074
|
-
return
|
|
1075
|
-
|
|
1116
|
+
return Ne === "chip" && !me ? /* @__PURE__ */ l(
|
|
1117
|
+
Ar,
|
|
1076
1118
|
{
|
|
1077
|
-
label:
|
|
1078
|
-
shortLabel: We.get(e.resource.id) ??
|
|
1079
|
-
color:
|
|
1119
|
+
label: n,
|
|
1120
|
+
shortLabel: We.get(e.resource.id) ?? je(n, { locale: y }),
|
|
1121
|
+
color: a,
|
|
1080
1122
|
orientation: fe ? "vertical" : "horizontal"
|
|
1081
1123
|
}
|
|
1082
|
-
) : me ? /* @__PURE__ */ l(
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1124
|
+
) : me ? /* @__PURE__ */ l(_e, { label: n, children: /* @__PURE__ */ l(Cr, { size: "sm", name: n, src: t.avatarSrc }) }) : a ? (a && i && wr(a, i, `resource ${e.resource.id}`), /* @__PURE__ */ P(
|
|
1125
|
+
"span",
|
|
1126
|
+
{
|
|
1127
|
+
className: "calendar-resource-label ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
1128
|
+
title: n,
|
|
1129
|
+
children: [
|
|
1130
|
+
/* @__PURE__ */ l(
|
|
1131
|
+
"span",
|
|
1132
|
+
{
|
|
1133
|
+
className: "resource-dot ds:[background-color:var(--resource-color)]",
|
|
1134
|
+
style: d,
|
|
1135
|
+
"aria-hidden": "true"
|
|
1136
|
+
}
|
|
1137
|
+
),
|
|
1138
|
+
/* @__PURE__ */ l("span", { className: "ds:truncate ds:text-start", children: n })
|
|
1139
|
+
]
|
|
1140
|
+
}
|
|
1141
|
+
)) : /* @__PURE__ */ l(
|
|
1142
|
+
"span",
|
|
1143
|
+
{
|
|
1144
|
+
className: "calendar-resource-label ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
1145
|
+
title: n,
|
|
1146
|
+
children: /* @__PURE__ */ l("span", { className: "ds:truncate ds:text-start", children: n })
|
|
1147
|
+
}
|
|
1148
|
+
);
|
|
1093
1149
|
},
|
|
1094
1150
|
[
|
|
1095
1151
|
me,
|
|
1096
|
-
|
|
1152
|
+
Ne,
|
|
1097
1153
|
fe,
|
|
1098
|
-
|
|
1154
|
+
y,
|
|
1099
1155
|
We
|
|
1100
1156
|
]
|
|
1101
|
-
), ze =
|
|
1102
|
-
() =>
|
|
1157
|
+
), ze = u(
|
|
1158
|
+
() => s == null ? void 0 : s.map((e) => ({
|
|
1103
1159
|
id: e.id,
|
|
1104
1160
|
title: e.title,
|
|
1105
1161
|
sequenceNumber: e.sequenceNumber,
|
|
@@ -1111,38 +1167,38 @@ const Ze = Ye(
|
|
|
1111
1167
|
sequenceNumber: e.sequenceNumber
|
|
1112
1168
|
}
|
|
1113
1169
|
})),
|
|
1114
|
-
[
|
|
1170
|
+
[s]
|
|
1115
1171
|
);
|
|
1116
|
-
|
|
1172
|
+
b(() => {
|
|
1117
1173
|
J();
|
|
1118
1174
|
const e = requestAnimationFrame(J);
|
|
1119
1175
|
return () => cancelAnimationFrame(e);
|
|
1120
|
-
}, [
|
|
1176
|
+
}, [se, ze, H, J]), b(() => {
|
|
1121
1177
|
Z();
|
|
1122
1178
|
const e = requestAnimationFrame(Z);
|
|
1123
1179
|
return () => cancelAnimationFrame(e);
|
|
1124
|
-
}, [M,
|
|
1125
|
-
const
|
|
1180
|
+
}, [M, H, Z]);
|
|
1181
|
+
const Qt = T(() => {
|
|
1126
1182
|
var e, t;
|
|
1127
1183
|
(t = (e = A.current) == null ? void 0 : e.getApi()) == null || t.today();
|
|
1128
|
-
}, []),
|
|
1184
|
+
}, []), er = T(() => {
|
|
1129
1185
|
var e, t;
|
|
1130
1186
|
(t = (e = A.current) == null ? void 0 : e.getApi()) == null || t.prev();
|
|
1131
|
-
}, []),
|
|
1187
|
+
}, []), tr = T(() => {
|
|
1132
1188
|
var e, t;
|
|
1133
1189
|
(t = (e = A.current) == null ? void 0 : e.getApi()) == null || t.next();
|
|
1134
|
-
}, []),
|
|
1135
|
-
() =>
|
|
1136
|
-
[
|
|
1137
|
-
),
|
|
1190
|
+
}, []), rr = u(
|
|
1191
|
+
() => o.some((e) => e.isDraft),
|
|
1192
|
+
[o]
|
|
1193
|
+
), nr = [
|
|
1138
1194
|
"fc-theme-alfadocs",
|
|
1139
|
-
|
|
1140
|
-
|
|
1195
|
+
Rr({ density: it }),
|
|
1196
|
+
xt ? "calendar-zebra-rows" : null,
|
|
1141
1197
|
fe ? "calendar-vertical-resource-labels" : null,
|
|
1142
|
-
|
|
1198
|
+
bt ? "calendar-availability-mode" : null,
|
|
1143
1199
|
/* Composing: derived from the events themselves rather than a prop,
|
|
1144
1200
|
so the dim can never disagree with what is on the grid. */
|
|
1145
|
-
|
|
1201
|
+
rr ? "calendar-composing-mode" : null,
|
|
1146
1202
|
"ds:bg-background ds:text-foreground",
|
|
1147
1203
|
/* The radius clips the table's square corners; the frame is this
|
|
1148
1204
|
border, not FullCalendar's. `clip`, not `hidden`: a scroll container
|
|
@@ -1152,11 +1208,11 @@ const Ze = Ye(
|
|
|
1152
1208
|
which scrolls the date header away; FullCalendar's own value is
|
|
1153
1209
|
visible. Important, as the host rule is unlayered. */
|
|
1154
1210
|
"ds:[&_.fc-view]:!overflow-visible ds:[&_.fc-view>table]:!overflow-visible",
|
|
1155
|
-
|
|
1156
|
-
].filter(Boolean).join(" "),
|
|
1211
|
+
nt
|
|
1212
|
+
].filter(Boolean).join(" "), ar = ne || ae ? {
|
|
1157
1213
|
...ne ? { "--calendar-mode-bg": ne } : {},
|
|
1158
|
-
...
|
|
1159
|
-
} : void 0,
|
|
1214
|
+
...ae ? { "--calendar-mode-fg": ae } : {}
|
|
1215
|
+
} : void 0, ir = re !== "default" ? ot ?? f(Br[re]) : "", or = [
|
|
1160
1216
|
"ds:sticky ds:top-0 ds:z-10",
|
|
1161
1217
|
"ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
1162
1218
|
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
|
|
@@ -1165,8 +1221,8 @@ const Ze = Ye(
|
|
|
1165
1221
|
in `modeBannerStyle`; fallback tokens apply when the caller
|
|
1166
1222
|
doesn't supply a hex. */
|
|
1167
1223
|
ne ? "ds:[background-color:var(--calendar-mode-bg)]" : "ds:bg-[var(--muted)]",
|
|
1168
|
-
|
|
1169
|
-
].filter(Boolean).join(" "),
|
|
1224
|
+
ae ? "ds:[color:var(--calendar-mode-fg)]" : "ds:text-[var(--muted-foreground)]"
|
|
1225
|
+
].filter(Boolean).join(" "), sr = [
|
|
1170
1226
|
"ds:inline-flex ds:items-center ds:justify-center",
|
|
1171
1227
|
"ds:min-h-[var(--min-target-size)]",
|
|
1172
1228
|
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
|
|
@@ -1181,15 +1237,15 @@ const Ze = Ye(
|
|
|
1181
1237
|
"ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
1182
1238
|
"ds:motion-reduce:transition-none"
|
|
1183
1239
|
].join(" ");
|
|
1184
|
-
return /* @__PURE__ */
|
|
1240
|
+
return /* @__PURE__ */ P(
|
|
1185
1241
|
"div",
|
|
1186
1242
|
{
|
|
1187
|
-
ref:
|
|
1188
|
-
className:
|
|
1243
|
+
ref: N,
|
|
1244
|
+
className: nr,
|
|
1189
1245
|
role: "region",
|
|
1190
1246
|
"aria-label": f("calendar.ariaLabel"),
|
|
1191
1247
|
"data-component": "calendar",
|
|
1192
|
-
"data-component-id":
|
|
1248
|
+
"data-component-id": r,
|
|
1193
1249
|
"data-mode": re,
|
|
1194
1250
|
children: [
|
|
1195
1251
|
/* @__PURE__ */ l(
|
|
@@ -1202,11 +1258,11 @@ const Ze = Ye(
|
|
|
1202
1258
|
}
|
|
1203
1259
|
),
|
|
1204
1260
|
st,
|
|
1205
|
-
re !== "default" ? /* @__PURE__ */
|
|
1261
|
+
re !== "default" ? /* @__PURE__ */ P(
|
|
1206
1262
|
"div",
|
|
1207
1263
|
{
|
|
1208
|
-
className:
|
|
1209
|
-
style:
|
|
1264
|
+
className: or,
|
|
1265
|
+
style: ar,
|
|
1210
1266
|
role: "status",
|
|
1211
1267
|
"data-calendar-mode-banner": "",
|
|
1212
1268
|
children: [
|
|
@@ -1214,7 +1270,7 @@ const Ze = Ye(
|
|
|
1214
1270
|
"span",
|
|
1215
1271
|
{
|
|
1216
1272
|
className: ["ds:flex-1 ds:text-start", F].filter(Boolean).join(" "),
|
|
1217
|
-
children:
|
|
1273
|
+
children: ir
|
|
1218
1274
|
}
|
|
1219
1275
|
),
|
|
1220
1276
|
Ie ? /* @__PURE__ */ l(
|
|
@@ -1222,149 +1278,149 @@ const Ze = Ye(
|
|
|
1222
1278
|
{
|
|
1223
1279
|
type: "button",
|
|
1224
1280
|
onClick: Ie,
|
|
1225
|
-
className:
|
|
1281
|
+
className: sr,
|
|
1226
1282
|
children: f("calendar.modeBanner.cancel")
|
|
1227
1283
|
}
|
|
1228
1284
|
) : null
|
|
1229
1285
|
]
|
|
1230
1286
|
}
|
|
1231
1287
|
) : null,
|
|
1232
|
-
|
|
1233
|
-
|
|
1288
|
+
gt !== !1 ? /* @__PURE__ */ l(
|
|
1289
|
+
De,
|
|
1234
1290
|
{
|
|
1235
|
-
title:
|
|
1236
|
-
onToday:
|
|
1237
|
-
onPrev:
|
|
1238
|
-
onNext:
|
|
1239
|
-
end:
|
|
1291
|
+
title: At,
|
|
1292
|
+
onToday: Qt,
|
|
1293
|
+
onPrev: er,
|
|
1294
|
+
onNext: tr,
|
|
1295
|
+
end: yt,
|
|
1240
1296
|
maskClassName: F
|
|
1241
1297
|
}
|
|
1242
1298
|
) : null,
|
|
1243
1299
|
/* @__PURE__ */ l(
|
|
1244
|
-
|
|
1300
|
+
ur,
|
|
1245
1301
|
{
|
|
1246
1302
|
ref: A,
|
|
1247
|
-
plugins:
|
|
1248
|
-
schedulerLicenseKey:
|
|
1249
|
-
initialView:
|
|
1250
|
-
views:
|
|
1251
|
-
initialDate:
|
|
1252
|
-
locale:
|
|
1253
|
-
direction:
|
|
1254
|
-
firstDay:
|
|
1303
|
+
plugins: Xt,
|
|
1304
|
+
schedulerLicenseKey: ht,
|
|
1305
|
+
initialView: Jt,
|
|
1306
|
+
views: Gr,
|
|
1307
|
+
initialDate: p,
|
|
1308
|
+
locale: Dt,
|
|
1309
|
+
direction: Ct,
|
|
1310
|
+
firstDay: Yt,
|
|
1255
1311
|
editable: te,
|
|
1256
|
-
eventDurationEditable: te === !1 ? !1 :
|
|
1312
|
+
eventDurationEditable: te === !1 ? !1 : et ?? te,
|
|
1257
1313
|
selectable: ke,
|
|
1258
|
-
selectMirror:
|
|
1314
|
+
selectMirror: tt ?? ke,
|
|
1259
1315
|
...Ae === void 0 ? {} : { unselectAuto: Ae },
|
|
1260
1316
|
droppable: te,
|
|
1261
1317
|
dayMaxEvents: pt,
|
|
1262
|
-
height:
|
|
1318
|
+
height: rt,
|
|
1263
1319
|
expandRows: !0,
|
|
1264
|
-
events:
|
|
1320
|
+
events: Et,
|
|
1265
1321
|
resources: ze,
|
|
1266
1322
|
resourceOrder: "sequenceNumber",
|
|
1267
|
-
resourceLabelContent:
|
|
1268
|
-
resourceAreaWidth:
|
|
1269
|
-
resourceAreaHeaderContent:
|
|
1270
|
-
dayCellClassNames:
|
|
1271
|
-
dayCellDidMount:
|
|
1272
|
-
dayHeaderClassNames:
|
|
1273
|
-
resourceLabelClassNames:
|
|
1274
|
-
dayHeaderDidMount:
|
|
1323
|
+
resourceLabelContent: Zt,
|
|
1324
|
+
resourceAreaWidth: Tt,
|
|
1325
|
+
resourceAreaHeaderContent: Gt,
|
|
1326
|
+
dayCellClassNames: Bt,
|
|
1327
|
+
dayCellDidMount: zt,
|
|
1328
|
+
dayHeaderClassNames: Ft,
|
|
1329
|
+
resourceLabelClassNames: Ot,
|
|
1330
|
+
dayHeaderDidMount: Wt,
|
|
1275
1331
|
...ge ? { slotLaneClassNames: ge } : {},
|
|
1276
1332
|
eventClassNames: (e) => {
|
|
1277
1333
|
var t;
|
|
1278
1334
|
return [
|
|
1279
1335
|
...ge ?? [],
|
|
1280
|
-
...
|
|
1336
|
+
...Le && e.event.id === Le ? ["calendar-event-selected"] : [],
|
|
1281
1337
|
...(t = e.event.extendedProps) != null && t.isDraft ? ["calendar-event-draft"] : []
|
|
1282
1338
|
];
|
|
1283
1339
|
},
|
|
1284
1340
|
headerToolbar: !1,
|
|
1285
1341
|
allDayText: f("calendar.allDay"),
|
|
1286
1342
|
noEventsText: f("calendar.noEvents"),
|
|
1287
|
-
titleFormat:
|
|
1288
|
-
dayHeaderFormat:
|
|
1289
|
-
dayHeaderContent:
|
|
1290
|
-
eventTimeFormat:
|
|
1291
|
-
slotLabelFormat:
|
|
1292
|
-
slotMinTime:
|
|
1293
|
-
slotMaxTime:
|
|
1294
|
-
slotDuration:
|
|
1295
|
-
...
|
|
1343
|
+
titleFormat: Rt,
|
|
1344
|
+
dayHeaderFormat: Nt,
|
|
1345
|
+
dayHeaderContent: Mt,
|
|
1346
|
+
eventTimeFormat: Lt,
|
|
1347
|
+
slotLabelFormat: Pt,
|
|
1348
|
+
slotMinTime: dt ?? "00:00:00",
|
|
1349
|
+
slotMaxTime: lt ?? "24:00:00",
|
|
1350
|
+
slotDuration: ct ?? "00:30:00",
|
|
1351
|
+
...Re ? { snapDuration: Re } : {},
|
|
1296
1352
|
slotLabelInterval: "01:00:00",
|
|
1297
1353
|
...Fe !== void 0 ? { defaultTimedEventDuration: Fe } : {},
|
|
1298
1354
|
hiddenDays: Se,
|
|
1299
1355
|
datesAboveResources: ue,
|
|
1300
|
-
slotEventOverlap:
|
|
1301
|
-
stickyHeaderDates:
|
|
1302
|
-
nowIndicator:
|
|
1303
|
-
eventLongPressDelay:
|
|
1304
|
-
eventDragMinDistance:
|
|
1356
|
+
slotEventOverlap: mt,
|
|
1357
|
+
stickyHeaderDates: ft,
|
|
1358
|
+
nowIndicator: vt,
|
|
1359
|
+
eventLongPressDelay: oe ? 0 : 1e3,
|
|
1360
|
+
eventDragMinDistance: oe ? 0 : Te,
|
|
1305
1361
|
eventContent: (e) => {
|
|
1306
|
-
var
|
|
1362
|
+
var n, a;
|
|
1307
1363
|
const t = e.event.extendedProps ?? {};
|
|
1308
1364
|
if (t.isInternal) {
|
|
1309
1365
|
if (e.event.title && ee) {
|
|
1310
|
-
const
|
|
1366
|
+
const i = typeof t.optionCount == "number" ? f("calendarWorkspace.findSlots.freeOptions", {
|
|
1311
1367
|
count: t.optionCount
|
|
1312
|
-
}) : void 0,
|
|
1368
|
+
}) : void 0, d = i ? [
|
|
1313
1369
|
e.event.title,
|
|
1314
|
-
Ue(e,
|
|
1315
|
-
|
|
1370
|
+
Ue(e, y),
|
|
1371
|
+
i
|
|
1316
1372
|
].filter(Boolean).join(", ") : e.event.title, c = /* @__PURE__ */ l(
|
|
1317
|
-
|
|
1373
|
+
kr,
|
|
1318
1374
|
{
|
|
1319
1375
|
type: "button",
|
|
1320
1376
|
intent: "ghost",
|
|
1321
1377
|
size: "sm",
|
|
1322
1378
|
"data-event-id": e.event.id,
|
|
1323
|
-
"aria-label":
|
|
1379
|
+
"aria-label": d,
|
|
1324
1380
|
className: "ds:pointer-events-auto ds:h-full ds:w-full ds:min-h-0 ds:justify-center ds:before:hidden",
|
|
1325
|
-
onClick: (
|
|
1326
|
-
|
|
1327
|
-
el:
|
|
1328
|
-
jsEvent:
|
|
1381
|
+
onClick: (v) => {
|
|
1382
|
+
v.stopPropagation(), ee(G(e.event), {
|
|
1383
|
+
el: v.currentTarget,
|
|
1384
|
+
jsEvent: v.nativeEvent
|
|
1329
1385
|
});
|
|
1330
1386
|
},
|
|
1331
|
-
children: /* @__PURE__ */
|
|
1387
|
+
children: /* @__PURE__ */ P(
|
|
1332
1388
|
"span",
|
|
1333
1389
|
{
|
|
1334
1390
|
className: "calendar-bg-event-label",
|
|
1335
1391
|
"aria-hidden": "true",
|
|
1336
1392
|
children: [
|
|
1337
|
-
/* @__PURE__ */ l(
|
|
1393
|
+
/* @__PURE__ */ l(Ve, { size: 12, "aria-hidden": "true" }),
|
|
1338
1394
|
e.event.title
|
|
1339
1395
|
]
|
|
1340
1396
|
}
|
|
1341
1397
|
)
|
|
1342
1398
|
}
|
|
1343
1399
|
);
|
|
1344
|
-
return
|
|
1400
|
+
return i ? /* @__PURE__ */ l(_e, { label: i, children: c }) : c;
|
|
1345
1401
|
}
|
|
1346
|
-
return e.event.title ? /* @__PURE__ */
|
|
1347
|
-
/* @__PURE__ */ l(
|
|
1402
|
+
return e.event.title ? /* @__PURE__ */ P("span", { className: "calendar-bg-event-label", children: [
|
|
1403
|
+
/* @__PURE__ */ l(Ve, { size: 12, "aria-hidden": "true" }),
|
|
1348
1404
|
e.event.title
|
|
1349
1405
|
] }) : !0;
|
|
1350
1406
|
}
|
|
1351
1407
|
return /* @__PURE__ */ l(
|
|
1352
|
-
|
|
1408
|
+
Dr,
|
|
1353
1409
|
{
|
|
1354
1410
|
eventId: e.event.id,
|
|
1355
|
-
title:
|
|
1356
|
-
shortTitle:
|
|
1411
|
+
title: w ? ((n = t.privacyModeTitle) == null ? void 0 : n.trim()) || "•••" : e.event.title,
|
|
1412
|
+
shortTitle: w ? void 0 : t.shortTitle,
|
|
1357
1413
|
contextLabel: t.contextLabel,
|
|
1358
1414
|
contextName: t.contextName,
|
|
1359
|
-
startText:
|
|
1415
|
+
startText: Hr(e.event.start, y),
|
|
1360
1416
|
layout: e.event.allDay || e.view.type.startsWith("dayGrid") ? "month" : e.view.type.startsWith("list") || e.view.type.toLowerCase().includes("timeline") ? "flow" : "grid",
|
|
1361
|
-
privacyMasked:
|
|
1417
|
+
privacyMasked: w,
|
|
1362
1418
|
suffix: t.suffix,
|
|
1363
|
-
rangeText: Ue(e,
|
|
1364
|
-
showTime:
|
|
1419
|
+
rangeText: Ue(e, y),
|
|
1420
|
+
showTime: ut,
|
|
1365
1421
|
allDay: e.event.allDay,
|
|
1366
1422
|
status: t.status,
|
|
1367
|
-
colorStyle:
|
|
1423
|
+
colorStyle: at,
|
|
1368
1424
|
backgroundColor: t.backgroundColor,
|
|
1369
1425
|
textColor: t.textColor,
|
|
1370
1426
|
borderColor: t.borderColor,
|
|
@@ -1377,20 +1433,20 @@ const Ze = Ye(
|
|
|
1377
1433
|
isTask: t.isTask,
|
|
1378
1434
|
isDraft: t.isDraft,
|
|
1379
1435
|
detailsPending: t.detailsPending,
|
|
1380
|
-
resourceLabel: t.resourceId ? (
|
|
1436
|
+
resourceLabel: t.resourceId ? (a = (s ?? []).find((i) => i.id === t.resourceId)) == null ? void 0 : a.title : void 0
|
|
1381
1437
|
}
|
|
1382
1438
|
);
|
|
1383
1439
|
},
|
|
1384
|
-
eventClick:
|
|
1385
|
-
eventMouseEnter:
|
|
1386
|
-
eventMouseLeave:
|
|
1387
|
-
eventDrop:
|
|
1388
|
-
eventResize:
|
|
1440
|
+
eventClick: _t,
|
|
1441
|
+
eventMouseEnter: Vt,
|
|
1442
|
+
eventMouseLeave: qt,
|
|
1443
|
+
eventDrop: Ht,
|
|
1444
|
+
eventResize: jt,
|
|
1389
1445
|
eventDragStart: q,
|
|
1390
1446
|
eventResizeStart: Q,
|
|
1391
|
-
select:
|
|
1392
|
-
dateClick:
|
|
1393
|
-
datesSet:
|
|
1447
|
+
select: $t,
|
|
1448
|
+
dateClick: Kt,
|
|
1449
|
+
datesSet: Ut,
|
|
1394
1450
|
...Ce ? {
|
|
1395
1451
|
navLinks: !0,
|
|
1396
1452
|
navLinkDayClick: (e, t) => Ce(e, t)
|
|
@@ -1402,12 +1458,12 @@ const Ze = Ye(
|
|
|
1402
1458
|
);
|
|
1403
1459
|
}
|
|
1404
1460
|
);
|
|
1405
|
-
|
|
1406
|
-
const
|
|
1407
|
-
|
|
1461
|
+
Qe.displayName = "Calendar";
|
|
1462
|
+
const Vr = Qe;
|
|
1463
|
+
Vr.Toolbar = De;
|
|
1408
1464
|
export {
|
|
1409
|
-
|
|
1410
|
-
|
|
1465
|
+
Vr as C,
|
|
1466
|
+
Er as c,
|
|
1411
1467
|
be as r
|
|
1412
1468
|
};
|
|
1413
|
-
//# sourceMappingURL=calendar-
|
|
1469
|
+
//# sourceMappingURL=calendar-BwF5nQuW.js.map
|