@alfadocs/ui-kit 1.50.1 → 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-DMittsR3.js → actions-cell-renderer-DhmUGzRY.js} +5 -5
- 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-BhZASyJm.js → agenda-tray-C-_iu6Fo.js} +5 -5
- package/dist/_chunks/{ai-credits-notice-C-kz_RrY.js → ai-credits-notice-Da0fJPXO.js} +5 -5
- package/dist/_chunks/{ai-permission-notice-BRZeS3mT.js → ai-permission-notice-C5q_uHBA.js} +7 -7
- package/dist/_chunks/{ai-prompt-input-CxvnXsAs.js → ai-prompt-input-IObcUWqB.js} +5 -5
- package/dist/_chunks/{alert-CiQ5Pa3Q.js → alert-BhCstf2h.js} +3 -3
- package/dist/_chunks/{alia-sidebar-Dx-oeOV2.js → alia-sidebar-DyQMsyiz.js} +23 -23
- package/dist/_chunks/{anamnesis-card-D8Si-2GV.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-BgLpE6T5.js → appointment-card-CA2ynsmN.js} +8 -8
- package/dist/_chunks/{appointment-peek-Dk11UOVW.js → appointment-peek-DpPzeYXm.js} +6 -6
- package/dist/_chunks/{appointment-timeline-wQ-PdkFV.js → appointment-timeline-BZErHbD1.js} +7 -7
- package/dist/_chunks/{appointment-tray-D7Gt6m8x.js → appointment-tray-DR_Zm4Gw.js} +10 -10
- 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-DZBtAvLH.js → audio-recorder-BafA28cX.js} +7 -7
- 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-klaxFNL_.js → balance-badge-cell-CS-iKkLM.js} +8 -8
- package/dist/_chunks/{bishop-score-BMLRvXYF.js → bishop-score-BfDsm9HH.js} +6 -6
- package/dist/_chunks/{bmi-calculator-DUhRyyrA.js → bmi-calculator-BNtmMzQy.js} +6 -6
- package/dist/_chunks/{booking-Cdzd8kyY.js → booking-DP543-BT.js} +43 -42
- package/dist/_chunks/{breadcrumb-D3boYzD4.js → breadcrumb-xgVpPH2H.js} +4 -4
- package/dist/_chunks/{button-18oBsI3n.js → button-CYPx2xFq.js} +38 -36
- package/dist/_chunks/{button-group-BSDqso_C.js → button-group-DnSR6eN6.js} +30 -30
- package/dist/_chunks/{calculator-dialog-C0ixc3SU.js → calculator-dialog-BRjZMWuE.js} +2 -2
- package/dist/_chunks/calendar-BwF5nQuW.js +1469 -0
- package/dist/_chunks/{calendar-event-card-DyFSIehr.js → calendar-event-card-DXAYWH6k.js} +2 -2
- package/dist/_chunks/calendar-workspace-B9MKJXER.js +10608 -0
- package/dist/_chunks/{care-plan-card-ciBaaguw.js → care-plan-card-BanlKJZn.js} +8 -8
- package/dist/_chunks/{care-plan-entry-card-D7A0whiZ.js → care-plan-entry-card-ByqT84_P.js} +9 -9
- package/dist/_chunks/{care-plan-header-DKV1gLqv.js → care-plan-header-BwfUHMgM.js} +6 -6
- package/dist/_chunks/{carousel.agent-DqDGR2yH.js → carousel.agent-WKODAYVw.js} +6 -6
- package/dist/_chunks/{chart-VjuXDXOZ.js → chart-CuE30cfr.js} +4 -4
- package/dist/_chunks/{chat-container-CYYego1W.js → chat-container-CAfyTxat.js} +3 -3
- package/dist/_chunks/{chat-input-BVho_SqP.js → chat-input-DA10w969.js} +3 -3
- package/dist/_chunks/{chat-message-B4ihjNy3.js → chat-message-DoMjMa-M.js} +6 -6
- 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-C_eNHWaa.js → code-block-NtHjtagI.js} +6 -6
- 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-Cfux3TvH.js → connection-status-Dz8o-Fui.js} +5 -5
- package/dist/_chunks/{contact-card-0hnFJwrz.js → contact-card-D2gXrxlL.js} +12 -12
- package/dist/_chunks/{contact-profile-card-Dj4NgBL-.js → contact-profile-card-B7cXr8g5.js} +5 -5
- package/dist/_chunks/{control-room-rail-DAO0qfOI.js → control-room-rail-B446rHSL.js} +4 -4
- package/dist/_chunks/{copy-field-Cm4y5Bff.js → copy-field-CiIuVbKe.js} +3 -3
- package/dist/_chunks/{country-select-C5jZjO8O.js → country-select-BYa4BrEi.js} +3 -3
- package/dist/_chunks/{cycle-calculator-B9lBRNiZ.js → cycle-calculator-D_5f9VSN.js} +10 -10
- package/dist/_chunks/{dashboard-grid-uX7x1ePj.js → dashboard-grid-DWNP02Ff.js} +4 -4
- package/dist/_chunks/data-table-DJvEwZZx.js +1989 -0
- package/dist/_chunks/{data-table-tabs-CzYYKp2_.js → data-table-tabs-Dc6zvoI_.js} +6 -6
- 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-1A2DEbE6.js → description-list-9rchqp5q.js} +3 -3
- package/dist/_chunks/{dialog-BJiLqhx6.js → dialog-D52AI4nF.js} +2 -2
- package/dist/_chunks/{document-preview-Od2Hz4z5.js → document-preview-1CZJg6CX.js} +6 -6
- package/dist/_chunks/{document-scanner-p0aGlzCy.js → document-scanner-T5jHiraQ.js} +5 -5
- package/dist/_chunks/dropdown-menu-B5mgV1kV.js +594 -0
- package/dist/_chunks/{due-date-calculator-BVqJaxzd.js → due-date-calculator-iJXm6HOj.js} +11 -11
- package/dist/_chunks/{editable-currency-cell-renderer-D_G2Ap61.js → editable-currency-cell-renderer-DdMHme5y.js} +9 -9
- package/dist/_chunks/{editable-description-B4NVdjvd.js → editable-description-Cy3AZ5K2.js} +4 -4
- package/dist/_chunks/{editor-overlay-BDiBvQmL.js → editor-overlay-C0awV6ba.js} +3 -3
- 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-DTBZ1ENT.js → empty-state-DActfjdn.js} +3 -3
- package/dist/_chunks/en-GB-CwxYmmhU.js +45 -0
- package/dist/_chunks/{entity-summary-CFJfBdVP.js → entity-summary-oW3_jFhU.js} +8 -8
- package/dist/_chunks/{error-boundary-BxTqEXqj.js → error-boundary--w5hYiQ-.js} +3 -3
- package/dist/_chunks/{es-Cxiqjx8r.js → es-Ck-oxbHW.js} +8 -8
- package/dist/_chunks/{face-scheme-fku-RShg.js → face-scheme-Dg7KcbW2.js} +11 -11
- package/dist/_chunks/{fetal-weight-B69yOS9W.js → fetal-weight-BoIkl2t1.js} +6 -6
- package/dist/_chunks/{field-array-lIXrFWS0.js → field-array-BF2nCmvt.js} +4 -4
- package/dist/_chunks/{file-manager-C6QQPQV5.js → file-manager-BGHShxn_.js} +21 -21
- package/dist/_chunks/{file-upload-B242a_Y1.js → file-upload-OMlGHz70.js} +2 -2
- package/dist/_chunks/{finished-terminal-B2oqXO0Y.js → finished-terminal-BguGAUdg.js} +3 -3
- package/dist/_chunks/{fiscal-code-input-BEF8eKIG.js → fiscal-code-input-CuuE8_dt.js} +3 -3
- 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-B6JITu4l.js → freemium-paywall-BhxKSEJD.js} +5 -5
- package/dist/_chunks/{gestational-age-calculator-DsGN6_HS.js → gestational-age-calculator-CjZ7v-8x.js} +13 -13
- package/dist/_chunks/{hcg-doubling-D2SH-e7t.js → hcg-doubling-BYMogA0e.js} +15 -15
- package/dist/_chunks/{header-CCjp5GvE.js → header-CzJbtTGQ.js} +5 -5
- package/dist/_chunks/header-settings-BqdBe4zk.js +305 -0
- package/dist/_chunks/{help-me-write-templates-DQtT1qs_.js → help-me-write-templates-CGCyhAVE.js} +17 -17
- package/dist/_chunks/{hi-BxXX26d_.js → hi-B5uX0h3V.js} +14 -14
- package/dist/_chunks/{hover-card-BplP5SzQ.js → hover-card-DEMPFs9M.js} +3 -3
- package/dist/_chunks/{iban-input-DXIA8Ln_.js → iban-input-D88HRGZo.js} +2 -2
- package/dist/_chunks/{icon-button-CY7GU_Se.js → icon-button-JAXAkqWC.js} +2 -2
- package/dist/_chunks/{icon-button-group-B_426QN_.js → icon-button-group-DHRz90jY.js} +4 -4
- package/dist/_chunks/{icon-picker-ZLebyB0U.js → icon-picker-C5Fhx1-3.js} +5 -5
- package/dist/_chunks/{image-cropper-_HiNN79d.js → image-cropper-CNBGkG7P.js} +3 -3
- package/dist/_chunks/{info-tip-laBxZhKu.js → info-tip-DfmEvyAF.js} +3 -3
- package/dist/_chunks/{insert-result-CSuPQyKL.js → insert-result-BuWQl11Z.js} +3 -3
- 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-Dcdl3Gni.js → key-value-pair-DZH8ESsc.js} +3 -3
- package/dist/_chunks/{kit-extensions-BTJSnM_H.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-CkNbUsBM.js → link-cell-renderer-DvcbSHyp.js} +12 -12
- package/dist/_chunks/{list-DgE1xWBM.js → list-RRN2TJ_7.js} +2 -2
- package/dist/_chunks/{locale-picker-DGkQmhV9.js → locale-picker-DYDppQdZ.js} +218 -213
- package/dist/_chunks/{map-view-Bb7ClKSF.js → map-view-CmNGS6Ok.js} +4 -4
- package/dist/_chunks/{marketplace-app-shell-1uKqs4gD.js → marketplace-app-shell-rd1bSSm4.js} +137 -128
- package/dist/_chunks/{message-card-C2zsvyj0.js → message-card-Dub3790J.js} +6 -6
- package/dist/_chunks/{message-tray-CMlmxdH2.js → message-tray-CTd6CsnG.js} +6 -6
- 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-Co0NIgbU.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-xxpFt-I1.js → notes-panel-CPfxz-1j.js} +10 -10
- package/dist/_chunks/{notification-card-DDzBCi8l.js → notification-card-B39g86vM.js} +13 -13
- package/dist/_chunks/{notification-tray-PnH2PBlZ.js → notification-tray-WsP7c1jf.js} +6 -6
- 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-DUufWXfZ.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/{panel-subview-CzHutkA8.js → panel-subview-DAY-ToM3.js} +2 -2
- 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-tTlvrJSU.js → patient-details-BSAMAd3I.js} +6 -6
- package/dist/_chunks/{patient-field-row-DElFbpKc.js → patient-field-row-dUF2cW2G.js} +288 -268
- package/dist/_chunks/{patient-search-DgXdGkhK.js → patient-search-CXl0FNfN.js} +14 -14
- package/dist/_chunks/{patient-summary-card-DQ__6DR-.js → patient-summary-card-DF-Mxcma.js} +10 -10
- package/dist/_chunks/{payment-automation-upsell-ugi4np1l.js → payment-automation-upsell-DNiraNhF.js} +6 -6
- package/dist/_chunks/{payment-form-DqJFiplX.js → payment-form-DxsjXYHJ.js} +6 -6
- package/dist/_chunks/{payment-request-card-DMJB57Tv.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-DbGzKDj7.js → periodontal-chart-Bvii6uOg.js} +3 -3
- package/dist/_chunks/{periodontal-chart-card-DvHyP47v.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-Dvb40vPH.js → popover-CGYPYIVi.js} +3 -3
- 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-EKRiqWtQ.js → practice-results-DjhcggtZ.js} +29 -29
- package/dist/_chunks/{pregnancy-dating-lfjjZVZH.js → pregnancy-dating-CcPxK3S3.js} +14 -14
- package/dist/_chunks/{pregnancy-weight-gain-WpNt-S0q.js → pregnancy-weight-gain-tGbbravi.js} +6 -6
- package/dist/_chunks/{privacy-lock-D6gq0GDg.js → privacy-lock-Bh4O7Y7g.js} +17 -17
- package/dist/_chunks/{privacy-mask-BC5lw2zB.js → privacy-mask-noG15O9q.js} +24 -24
- package/dist/_chunks/{product-hub-panel-CKeSCSeE.js → product-hub-panel-BmBzDba9.js} +24 -24
- 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-B9wDmUeB.js → public-header.agent-1mcrQqIM.js} +4 -4
- package/dist/_chunks/{qr-code-DOJs4suh.js → qr-code-C3m9o7om.js} +2 -2
- package/dist/_chunks/{radiograph-panel.agent-TmyIvTOa.js → radiograph-panel.agent-BP71J_VB.js} +14 -14
- 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/resource-chip-DQeCJzJf.js +143 -0
- package/dist/_chunks/{reviews-panel-BdwFp_0c.js → reviews-panel-DDb_t7vy.js} +8 -8
- package/dist/_chunks/rich-text-editor-C7N4Cem6.js +4231 -0
- 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-ACJyTXH2.js → session-countdown-DWUVDDox.js} +4 -4
- package/dist/_chunks/{sheet-D0Lh0KR2.js → sheet-BE6oi30q.js} +3 -3
- 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-CDyJAIzW.js → sign-in-with-alfadocs-button-Bd4VPGQh.js} +4 -4
- 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-BUGeG8oD.js → signature-request-DqZkn-iB.js} +156 -156
- 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-4fWH3Euk.js → slot-grid-Bkg9MVXP.js} +7 -7
- 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-eRiizArc.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-BHFf6knq.js → tab-bar-DRKiomgj.js} +4 -4
- package/dist/_chunks/tabs-DLXVEDsa.js +413 -0
- package/dist/_chunks/{tag-B65tLWvD.js → tag-CS5cXpfx.js} +2 -2
- package/dist/_chunks/{task-card-jaOhnj_q.js → task-card-CngF4Zee.js} +3 -3
- package/dist/_chunks/{task-editor-DlvTwAfv.js → task-editor-Dz93rRXg.js} +18 -18
- package/dist/_chunks/{task-tray-HHyxi9ga.js → task-tray-CB6_BvH9.js} +5 -5
- package/dist/_chunks/{tasks-panel-DbSjq_mz.js → tasks-panel-DHAoTQtR.js} +11 -11
- 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-LUBxlNDm.js → theme-toggle-Byg0x2vB.js} +10 -10
- 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-CT8hjr9r.js → toast-6wbpghjF.js} +3 -3
- package/dist/_chunks/{token-insert-menu-klwbxVKh.js → token-insert-menu-DgtBIbNu.js} +3 -3
- package/dist/_chunks/{tool-rail-DEeX4PdN.js → tool-rail-CXcLzxPb.js} +4 -4
- package/dist/_chunks/{tooth-finding-palette-vqC-D2Ye.js → tooth-finding-palette-DNQ3G2Tz.js} +2 -2
- package/dist/_chunks/{tooth-scheme-BkjhkI8g.js → tooth-scheme-BLbwUVer.js} +663 -718
- 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-Dp_KDxE6.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-CEgYkI1z.js → warning-stack-CzKSeB5v.js} +5 -5
- 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-qGkQTNvS.js → workflow-map-C7fHKTXL.js} +17 -17
- package/dist/_chunks/{workflow-status-ClHfz4Kr.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 +103 -38
- package/dist/agent-i18n/en.json +7 -4
- 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/entity-card/entity-card.d.ts +1 -1
- 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/anamnesis-summary-card.d.ts +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/button.d.ts +11 -0
- package/dist/components/button/icon-button.d.ts +4 -0
- package/dist/components/button/index.js +2 -2
- 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 +6 -4
- 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/chart.d.ts +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/dropdown-menu.d.ts +52 -2
- package/dist/components/dropdown-menu/index.d.ts +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/header-settings.d.ts +3 -3
- 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/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/locale-picker/locale-picker.d.ts +7 -0
- 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/operator-hero/operator-hero.d.ts +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/panel-subview/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-details/patient-details.d.ts +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-summary-card/patient-summary-card.d.ts +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/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/resource-chip/index.d.ts +1 -1
- package/dist/components/resource-chip/index.js +3 -2
- package/dist/components/resource-chip/resource-chip.d.ts +20 -0
- package/dist/components/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/tooth-scheme/tooth-scheme.d.ts +2 -2
- 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/workflow-card.d.ts +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 +915 -660
- package/dist/i18n/locales/ar.js +916 -665
- package/dist/i18n/locales/de.d.ts +722 -479
- package/dist/i18n/locales/de.js +723 -484
- package/dist/i18n/locales/el.d.ts +965 -722
- package/dist/i18n/locales/el.js +965 -726
- package/dist/i18n/locales/en.d.ts +308 -65
- package/dist/i18n/locales/en.js +309 -70
- package/dist/i18n/locales/es.d.ts +787 -541
- package/dist/i18n/locales/es.js +788 -546
- package/dist/i18n/locales/fr.d.ts +730 -484
- package/dist/i18n/locales/fr.js +731 -489
- package/dist/i18n/locales/hi.d.ts +875 -632
- package/dist/i18n/locales/hi.js +876 -637
- package/dist/i18n/locales/it.d.ts +937 -691
- package/dist/i18n/locales/it.js +943 -696
- package/dist/i18n/locales/ja.d.ts +698 -455
- package/dist/i18n/locales/ja.js +699 -460
- package/dist/i18n/locales/nl.d.ts +723 -480
- package/dist/i18n/locales/nl.js +724 -485
- package/dist/i18n/locales/pl.d.ts +1019 -770
- package/dist/i18n/locales/pl.js +1019 -774
- package/dist/i18n/locales/pt.d.ts +811 -562
- package/dist/i18n/locales/pt.js +812 -567
- package/dist/i18n/locales/ro.d.ts +1060 -814
- package/dist/i18n/locales/ro.js +1061 -819
- package/dist/i18n/locales/ru.d.ts +1037 -788
- package/dist/i18n/locales/ru.js +1032 -787
- package/dist/i18n/locales/sq.d.ts +1288 -1045
- package/dist/i18n/locales/sq.js +1288 -1049
- package/dist/i18n/locales/sv.d.ts +809 -566
- package/dist/i18n/locales/sv.js +810 -571
- package/dist/i18n/locales/tr.d.ts +768 -525
- package/dist/i18n/locales/tr.js +769 -530
- package/dist/i18n/locales/zh.d.ts +756 -513
- package/dist/i18n/locales/zh.js +757 -518
- 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 +552 -551
- package/dist/locales/ar.json +920 -665
- package/dist/locales/de.json +727 -484
- package/dist/locales/el.json +970 -727
- package/dist/locales/en.json +313 -70
- package/dist/locales/es.json +792 -546
- package/dist/locales/fr.json +735 -489
- package/dist/locales/hi.json +880 -637
- package/dist/locales/it.json +942 -696
- package/dist/locales/ja.json +703 -460
- package/dist/locales/nl.json +728 -485
- package/dist/locales/pl.json +1024 -775
- package/dist/locales/pt.json +816 -567
- package/dist/locales/ro.json +1065 -819
- package/dist/locales/ru.json +1042 -793
- package/dist/locales/sq.json +1293 -1050
- package/dist/locales/sv.json +814 -571
- package/dist/locales/tr.json +773 -530
- package/dist/locales/zh.json +761 -518
- 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.surface.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 +6 -2
- package/package.json +12 -2
- package/dist/_chunks/anamnesis-summary-rows-CZirLRuv.js +0 -9416
- package/dist/_chunks/calendar-E6Yu4lzC.js +0 -1381
- package/dist/_chunks/calendar-workspace-DjbGFjg1.js +0 -10584
- package/dist/_chunks/data-table-CrI3_bjH.js +0 -1824
- package/dist/_chunks/dropdown-menu-C8PaW3lR.js +0 -369
- package/dist/_chunks/header-settings-ZXa6hXuu.js +0 -335
- package/dist/_chunks/resource-chip-DYTG0IQQ.js +0 -83
- package/dist/_chunks/rich-text-editor-y6ML0KeV.js +0 -4154
- package/dist/_chunks/subDays-HPvBuvq3.js +0 -8
- package/dist/_chunks/tabs-CFsuMQ5H.js +0 -409
- package/dist/_chunks/use-appointment-details-read-5-hV-2xA.js +0 -2045
- package/dist/_chunks/use-locale-BkCIHujH.js +0 -20
|
@@ -1,1381 +0,0 @@
|
|
|
1
|
-
import { jsxs as R, jsx as d } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as Ke, useRef as v, useEffect as h, useState as le, useMemo as u, useImperativeHandle as ar, useCallback as g } from "react";
|
|
3
|
-
import { useTranslation as De } from "react-i18next";
|
|
4
|
-
import { c as sr } from "./index-D2ZczOXr.js";
|
|
5
|
-
import or from "@fullcalendar/react";
|
|
6
|
-
import dr from "@fullcalendar/daygrid";
|
|
7
|
-
import lr from "@fullcalendar/timegrid";
|
|
8
|
-
import cr from "@fullcalendar/list";
|
|
9
|
-
import ur from "@fullcalendar/resource";
|
|
10
|
-
import mr from "@fullcalendar/resource-timegrid";
|
|
11
|
-
import fr from "@fullcalendar/resource-timeline";
|
|
12
|
-
import pr from "@fullcalendar/timeline";
|
|
13
|
-
import vr from "@fullcalendar/interaction";
|
|
14
|
-
import { u as hr } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
15
|
-
import { u as gr } from "./registry-DvAUVLHh.js";
|
|
16
|
-
import { w as yr, C as br } from "./calendar-event-card-DyFSIehr.js";
|
|
17
|
-
import { A as Tr } from "./avatar-BVvjKNTp.js";
|
|
18
|
-
import { B as xr } from "./button-18oBsI3n.js";
|
|
19
|
-
import { R as Dr } from "./resource-chip-DYTG0IQQ.js";
|
|
20
|
-
import { T as je } from "./tooltip-Cp-PLePW.js";
|
|
21
|
-
import { V as wr } from "./visually-hidden-BHxEUGyT.js";
|
|
22
|
-
import { C as _e } from "./check-DrFSN__t.js";
|
|
23
|
-
import { C as Ve } from "./chevron-right-I9AeSxH2.js";
|
|
24
|
-
import { C as He } from "./chevron-left-B8cOyH-V.js";
|
|
25
|
-
const Cr = {
|
|
26
|
-
id: "calendar",
|
|
27
|
-
capabilities: ["view_change", "range_navigate", "pick"],
|
|
28
|
-
state: {
|
|
29
|
-
currentView: {
|
|
30
|
-
type: "CalendarView",
|
|
31
|
-
descriptionKey: "ui.agent.calendar.state.currentView",
|
|
32
|
-
description: "Active view name (e.g. dayGridMonth, timeGridWeek).",
|
|
33
|
-
read: (n) => n.getCurrentView() ?? null
|
|
34
|
-
},
|
|
35
|
-
currentDate: {
|
|
36
|
-
type: "iso-date",
|
|
37
|
-
descriptionKey: "ui.agent.calendar.state.currentDate",
|
|
38
|
-
description: "ISO date anchor of the visible range.",
|
|
39
|
-
read: (n) => {
|
|
40
|
-
var s;
|
|
41
|
-
return ((s = n.getCurrentDate()) == null ? void 0 : s.toISOString()) ?? null;
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
currentTitle: {
|
|
45
|
-
type: "string",
|
|
46
|
-
descriptionKey: "ui.agent.calendar.state.currentTitle",
|
|
47
|
-
description: 'Human title of the current range (e.g. "April 2026").',
|
|
48
|
-
read: (n) => n.getTitle()
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
actions: {
|
|
52
|
-
today: {
|
|
53
|
-
safety: "read",
|
|
54
|
-
idempotent: !0,
|
|
55
|
-
descriptionKey: "ui.agent.calendar.actions.today",
|
|
56
|
-
description: "Jump to the current day.",
|
|
57
|
-
invoke: (n) => {
|
|
58
|
-
n.today();
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
prev: {
|
|
62
|
-
// Not idempotent: each call steps one range further back.
|
|
63
|
-
safety: "read",
|
|
64
|
-
descriptionKey: "ui.agent.calendar.actions.prev",
|
|
65
|
-
description: "Move to the previous range.",
|
|
66
|
-
invoke: (n) => {
|
|
67
|
-
n.prev();
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
next: {
|
|
71
|
-
// Not idempotent: each call steps one range further forward.
|
|
72
|
-
safety: "read",
|
|
73
|
-
descriptionKey: "ui.agent.calendar.actions.next",
|
|
74
|
-
description: "Move to the next range.",
|
|
75
|
-
invoke: (n) => {
|
|
76
|
-
n.next();
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
goto_date: {
|
|
80
|
-
safety: "read",
|
|
81
|
-
argsType: "{ date: string | Date }",
|
|
82
|
-
argsSchema: {
|
|
83
|
-
type: "object",
|
|
84
|
-
properties: {
|
|
85
|
-
date: {
|
|
86
|
-
type: "string",
|
|
87
|
-
format: "date",
|
|
88
|
-
description: "Target date — ISO 8601 string (or Date at runtime)."
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
required: ["date"]
|
|
92
|
-
},
|
|
93
|
-
idempotent: !0,
|
|
94
|
-
descriptionKey: "ui.agent.calendar.actions.gotoDate",
|
|
95
|
-
description: "Navigate to a specific date.",
|
|
96
|
-
examples: [
|
|
97
|
-
{ args: { date: "2026-04-15" }, note: "Jump to 15 April 2026." }
|
|
98
|
-
],
|
|
99
|
-
invoke: (n, s) => {
|
|
100
|
-
n.gotoDate(s.date);
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
change_view: {
|
|
104
|
-
safety: "read",
|
|
105
|
-
argsType: "{ view: CalendarView }",
|
|
106
|
-
argsSchema: {
|
|
107
|
-
type: "object",
|
|
108
|
-
properties: {
|
|
109
|
-
view: {
|
|
110
|
-
type: "string",
|
|
111
|
-
enum: [
|
|
112
|
-
"dayGridMonth",
|
|
113
|
-
"timeGridWeek",
|
|
114
|
-
"timeGridDay",
|
|
115
|
-
"listWeek",
|
|
116
|
-
"resourceTimeGridDayChair",
|
|
117
|
-
"resourceTimeGridThreeDaysChair",
|
|
118
|
-
"resourceTimeGridWeekChair",
|
|
119
|
-
"resourceTimeGridDayOperator",
|
|
120
|
-
"resourceTimeGridThreeDaysOperator",
|
|
121
|
-
"resourceTimeGridWeekOperator"
|
|
122
|
-
],
|
|
123
|
-
description: "Target view name."
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
required: ["view"]
|
|
127
|
-
},
|
|
128
|
-
idempotent: !0,
|
|
129
|
-
descriptionKey: "ui.agent.calendar.actions.changeView",
|
|
130
|
-
description: "Switch the calendar to the given view.",
|
|
131
|
-
examples: [
|
|
132
|
-
{ args: { view: "timeGridWeek" }, note: "Switch to the week view." }
|
|
133
|
-
],
|
|
134
|
-
invoke: (n, s) => {
|
|
135
|
-
n.changeView(s.view);
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
|
-
focus_event: {
|
|
139
|
-
// pick: transient focus + highlight of an event — no persisted selection.
|
|
140
|
-
// Not idempotent: each call re-triggers the flash highlight.
|
|
141
|
-
safety: "read",
|
|
142
|
-
argsType: "{ eventId: string }",
|
|
143
|
-
argsSchema: {
|
|
144
|
-
type: "object",
|
|
145
|
-
properties: {
|
|
146
|
-
eventId: {
|
|
147
|
-
type: "string",
|
|
148
|
-
description: "Stable event id (matches a data-event-id node)."
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
required: ["eventId"]
|
|
152
|
-
},
|
|
153
|
-
descriptionKey: "ui.agent.calendar.actions.focusEvent",
|
|
154
|
-
description: "Scroll an event into view and briefly highlight it.",
|
|
155
|
-
errors: ["No DOM node matches the given event id — no-op."],
|
|
156
|
-
invoke: (n, s) => {
|
|
157
|
-
n.focusEvent(s.eventId);
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
/* Day-number nav links (`a[data-navlink]`, via onNavLinkDayClick) are
|
|
162
|
-
FullCalendar markup, not a hook: an agent drills into a day through
|
|
163
|
-
the host's own view change, never by clicking the number. */
|
|
164
|
-
domHooks: {
|
|
165
|
-
root: {
|
|
166
|
-
attr: "data-component",
|
|
167
|
-
value: "calendar",
|
|
168
|
-
description: "Marks the Calendar wrapper."
|
|
169
|
-
},
|
|
170
|
-
instanceId: {
|
|
171
|
-
attr: "data-component-id",
|
|
172
|
-
sourceProp: "id",
|
|
173
|
-
description: "Sourced from the id prop."
|
|
174
|
-
},
|
|
175
|
-
item: {
|
|
176
|
-
attr: "data-event-id",
|
|
177
|
-
description: 'Emitted on every rendered FullCalendar event by the kit event renderer. Used by focusEvent. Cards also carry data-kind="task"|"draft"|"pending-details"|"appointment" and data-status for classification.'
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
}, Ar = sr("", {
|
|
181
|
-
variants: {
|
|
182
|
-
density: {
|
|
183
|
-
compact: "calendar-density-compact",
|
|
184
|
-
comfortable: "calendar-density-comfortable"
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}), kr = {
|
|
188
|
-
vertical: {
|
|
189
|
-
Day: "resourceTimeGridDay",
|
|
190
|
-
ThreeDays: "resourceTimeGridThreeDays",
|
|
191
|
-
Week: "resourceTimeGridWeek"
|
|
192
|
-
},
|
|
193
|
-
horizontal: {
|
|
194
|
-
Day: "resourceTimelineDay",
|
|
195
|
-
ThreeDays: "resourceTimelineThreeDays",
|
|
196
|
-
Week: "resourceTimelineWeek"
|
|
197
|
-
}
|
|
198
|
-
}, Ir = /* @__PURE__ */ new Set([
|
|
199
|
-
"dayGridMonth",
|
|
200
|
-
"timeGridWeek",
|
|
201
|
-
"timeGridThreeDays",
|
|
202
|
-
"timeGridDay",
|
|
203
|
-
"listWeek"
|
|
204
|
-
]), Sr = {
|
|
205
|
-
timeGridDay: "timelineDay",
|
|
206
|
-
timeGridThreeDays: "timelineThreeDays",
|
|
207
|
-
timeGridWeek: "timelineWeek"
|
|
208
|
-
};
|
|
209
|
-
function be(n, s = "vertical") {
|
|
210
|
-
if (Ir.has(n))
|
|
211
|
-
return s === "horizontal" ? Sr[n] ?? n : n;
|
|
212
|
-
const c = n.replace(/^resourceTimeGrid/, "").replace(
|
|
213
|
-
/(Chair|Operator)$/,
|
|
214
|
-
""
|
|
215
|
-
);
|
|
216
|
-
return kr[s][c];
|
|
217
|
-
}
|
|
218
|
-
const de = {
|
|
219
|
-
weekday: "long",
|
|
220
|
-
day: "numeric",
|
|
221
|
-
month: "long",
|
|
222
|
-
year: "numeric"
|
|
223
|
-
}, Nr = [
|
|
224
|
-
{ weekday: "short", day: "numeric", month: "short" },
|
|
225
|
-
{ hour: "numeric", minute: "2-digit" }
|
|
226
|
-
], Rr = {
|
|
227
|
-
resourceTimeGridThreeDays: {
|
|
228
|
-
type: "resourceTimeGrid",
|
|
229
|
-
duration: { days: 3 }
|
|
230
|
-
},
|
|
231
|
-
resourceTimelineThreeDays: {
|
|
232
|
-
type: "resourceTimeline",
|
|
233
|
-
duration: { days: 3 }
|
|
234
|
-
},
|
|
235
|
-
/* Plain (non-resource) 3-day counterparts — the standard calendar
|
|
236
|
-
experience's Day / 3 days / Week range set without an axis. */
|
|
237
|
-
timeGridThreeDays: {
|
|
238
|
-
type: "timeGrid",
|
|
239
|
-
duration: { days: 3 }
|
|
240
|
-
},
|
|
241
|
-
timelineThreeDays: {
|
|
242
|
-
type: "timeline",
|
|
243
|
-
duration: { days: 3 }
|
|
244
|
-
},
|
|
245
|
-
timeline: { slotLabelFormat: Nr },
|
|
246
|
-
timeGridDay: { titleFormat: de },
|
|
247
|
-
resourceTimeGridDay: { titleFormat: de },
|
|
248
|
-
timelineDay: { titleFormat: de },
|
|
249
|
-
resourceTimelineDay: { titleFormat: de }
|
|
250
|
-
}, Te = 5, Er = {
|
|
251
|
-
create: "calendar.modeBanner.create",
|
|
252
|
-
move: "calendar.modeBanner.move",
|
|
253
|
-
copy: "calendar.modeBanner.copy"
|
|
254
|
-
};
|
|
255
|
-
function Pr(n) {
|
|
256
|
-
try {
|
|
257
|
-
const s = new Intl.Locale(n), o = typeof s.getWeekInfo == "function" ? s.getWeekInfo() : s.weekInfo;
|
|
258
|
-
if (o && typeof o.firstDay == "number")
|
|
259
|
-
return o.firstDay % 7;
|
|
260
|
-
} catch {
|
|
261
|
-
}
|
|
262
|
-
return n.startsWith("en-US") || n.startsWith("he") || n.startsWith("ar-SA") ? 0 : 1;
|
|
263
|
-
}
|
|
264
|
-
const xe = "calendar-col-hidden", Lr = "calendar-col-loading";
|
|
265
|
-
function z(n) {
|
|
266
|
-
const s = n.getFullYear(), o = String(n.getMonth() + 1).padStart(2, "0"), c = String(n.getDate()).padStart(2, "0");
|
|
267
|
-
return `${s}-${o}-${c}`;
|
|
268
|
-
}
|
|
269
|
-
function Gr(n, s) {
|
|
270
|
-
const o = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Map(), f = (n == null ? void 0 : n.length) ?? 0;
|
|
271
|
-
if (n && s) {
|
|
272
|
-
for (const x of n)
|
|
273
|
-
if (x.hiddenDates)
|
|
274
|
-
for (const y of x.hiddenDates) {
|
|
275
|
-
const I = `${x.id}:${y}`;
|
|
276
|
-
o.has(I) || (o.add(I), c.set(y, (c.get(y) ?? 0) + 1));
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
return {
|
|
280
|
-
hiddenCells: o,
|
|
281
|
-
hiddenCountByDate: c,
|
|
282
|
-
resourceCount: f,
|
|
283
|
-
active: o.size > 0
|
|
284
|
-
};
|
|
285
|
-
}
|
|
286
|
-
function Br() {
|
|
287
|
-
const { i18n: n } = De(), [s, o] = le(() => {
|
|
288
|
-
if (typeof document > "u") return !1;
|
|
289
|
-
const c = document.documentElement.getAttribute("dir"), f = typeof n.dir == "function" ? n.dir() : "ltr";
|
|
290
|
-
return c === "rtl" || f === "rtl";
|
|
291
|
-
});
|
|
292
|
-
return h(() => {
|
|
293
|
-
if (typeof document > "u") return;
|
|
294
|
-
const c = new MutationObserver(() => {
|
|
295
|
-
const f = document.documentElement.getAttribute("dir"), x = typeof n.dir == "function" ? n.dir() : "ltr";
|
|
296
|
-
o(f === "rtl" || x === "rtl");
|
|
297
|
-
});
|
|
298
|
-
return c.observe(document.documentElement, {
|
|
299
|
-
attributes: !0,
|
|
300
|
-
attributeFilter: ["dir", "lang"]
|
|
301
|
-
}), () => c.disconnect();
|
|
302
|
-
}, [n]), s;
|
|
303
|
-
}
|
|
304
|
-
const qe = /* @__PURE__ */ new Map();
|
|
305
|
-
function Ue(n) {
|
|
306
|
-
let s = qe.get(n);
|
|
307
|
-
if (s === void 0) {
|
|
308
|
-
try {
|
|
309
|
-
s = new Intl.DateTimeFormat(n, {
|
|
310
|
-
hour: "2-digit",
|
|
311
|
-
minute: "2-digit",
|
|
312
|
-
hour12: !1
|
|
313
|
-
});
|
|
314
|
-
} catch {
|
|
315
|
-
s = null;
|
|
316
|
-
}
|
|
317
|
-
qe.set(n, s);
|
|
318
|
-
}
|
|
319
|
-
return s;
|
|
320
|
-
}
|
|
321
|
-
function $e(n, s) {
|
|
322
|
-
const o = n.event.start, c = n.event.end ?? n.event.start;
|
|
323
|
-
if (!o || !c) return;
|
|
324
|
-
const f = Ue(s);
|
|
325
|
-
if (f)
|
|
326
|
-
try {
|
|
327
|
-
return typeof f.formatRange == "function" ? f.formatRange(o, c) : `${f.format(o)} – ${f.format(c)}`;
|
|
328
|
-
} catch {
|
|
329
|
-
return;
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
function Mr(n, s) {
|
|
333
|
-
var o;
|
|
334
|
-
if (n)
|
|
335
|
-
return (o = Ue(s)) == null ? void 0 : o.format(n);
|
|
336
|
-
}
|
|
337
|
-
const Ye = [
|
|
338
|
-
"ds:inline-flex ds:items-center ds:justify-center",
|
|
339
|
-
"ds:min-h-[var(--min-target-size)]",
|
|
340
|
-
"ds:bg-[var(--background)] ds:text-[var(--foreground)]",
|
|
341
|
-
"ds:border ds:border-[var(--border)]",
|
|
342
|
-
"ds:rounded-[var(--radius-full)]",
|
|
343
|
-
"ds:font-[var(--font-weight-medium)] ds:text-[length:var(--font-size-sm)]",
|
|
344
|
-
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:ease-[var(--ease-out)]",
|
|
345
|
-
"ds:hover:bg-[var(--muted)]",
|
|
346
|
-
"ds:focus-visible:outline-[length:var(--focus-ring-width)]",
|
|
347
|
-
"ds:focus-visible:outline-[var(--ring)]",
|
|
348
|
-
"ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
349
|
-
"ds:motion-reduce:transition-none"
|
|
350
|
-
].join(" "), Or = [
|
|
351
|
-
Ye,
|
|
352
|
-
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]"
|
|
353
|
-
].join(" "), Fr = [
|
|
354
|
-
Ye,
|
|
355
|
-
"ds:min-w-[var(--min-target-size)]"
|
|
356
|
-
].join(" "), we = Ke(
|
|
357
|
-
({ title: n, onToday: s, onPrev: o, onNext: c, end: f, className: x, maskClassName: y }, I) => {
|
|
358
|
-
const { t: j } = De(), Z = Br(), D = Z ? Ve : He, Q = Z ? He : Ve, _ = [
|
|
359
|
-
"ds:calendar-toolbar",
|
|
360
|
-
"ds:sticky ds:top-0 ds:z-20",
|
|
361
|
-
"ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
362
|
-
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
|
|
363
|
-
"ds:py-[var(--spacing-sm)]",
|
|
364
|
-
"ds:bg-[var(--background)]",
|
|
365
|
-
"ds:border-b ds:border-[var(--border)]",
|
|
366
|
-
x
|
|
367
|
-
].filter(Boolean).join(" "), V = [Or, y].filter(Boolean).join(" "), L = [Fr, y].filter(Boolean).join(" "), G = [
|
|
368
|
-
"ds:flex-1 ds:text-center ds:truncate type-title-card",
|
|
369
|
-
y
|
|
370
|
-
].filter(Boolean).join(" "), w = ["ds:flex-1 ds:text-center", y].filter(Boolean).join(" ");
|
|
371
|
-
return /* @__PURE__ */ R("div", { ref: I, className: _, children: [
|
|
372
|
-
/* @__PURE__ */ R("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
373
|
-
/* @__PURE__ */ d(
|
|
374
|
-
"button",
|
|
375
|
-
{
|
|
376
|
-
type: "button",
|
|
377
|
-
onClick: s,
|
|
378
|
-
className: V,
|
|
379
|
-
children: j("calendar.today")
|
|
380
|
-
}
|
|
381
|
-
),
|
|
382
|
-
/* @__PURE__ */ d(
|
|
383
|
-
"button",
|
|
384
|
-
{
|
|
385
|
-
type: "button",
|
|
386
|
-
onClick: o,
|
|
387
|
-
"aria-label": j("calendar.previousPeriod"),
|
|
388
|
-
className: L,
|
|
389
|
-
children: /* @__PURE__ */ d(D, { size: 16, "aria-hidden": "true" })
|
|
390
|
-
}
|
|
391
|
-
),
|
|
392
|
-
/* @__PURE__ */ d(
|
|
393
|
-
"button",
|
|
394
|
-
{
|
|
395
|
-
type: "button",
|
|
396
|
-
onClick: c,
|
|
397
|
-
"aria-label": j("calendar.nextPeriod"),
|
|
398
|
-
className: L,
|
|
399
|
-
children: /* @__PURE__ */ d(Q, { size: 16, "aria-hidden": "true" })
|
|
400
|
-
}
|
|
401
|
-
)
|
|
402
|
-
] }),
|
|
403
|
-
n ? /* @__PURE__ */ d("h2", { "aria-live": "polite", className: G, children: n }) : (
|
|
404
|
-
/* Keep the centering slot stable even before the first
|
|
405
|
-
`datesSet` populates the title — an empty <h2> would trip
|
|
406
|
-
axe's `empty-heading` rule, so we substitute a decorative
|
|
407
|
-
spacer that matches the h2's flex sizing. Once `title` is
|
|
408
|
-
non-empty the h2 renders in the same slot. */
|
|
409
|
-
/* @__PURE__ */ d("div", { "aria-hidden": "true", className: w })
|
|
410
|
-
),
|
|
411
|
-
f ? /* @__PURE__ */ d("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: f }) : null
|
|
412
|
-
] });
|
|
413
|
-
}
|
|
414
|
-
);
|
|
415
|
-
we.displayName = "Calendar.Toolbar";
|
|
416
|
-
const Xe = Ke(
|
|
417
|
-
({
|
|
418
|
-
id: n,
|
|
419
|
-
events: s,
|
|
420
|
-
resources: o,
|
|
421
|
-
view: c = "dayGridMonth",
|
|
422
|
-
initialDate: f,
|
|
423
|
-
locale: x,
|
|
424
|
-
onEventDrop: y,
|
|
425
|
-
onEventResize: I,
|
|
426
|
-
onEventDragStart: j,
|
|
427
|
-
onEventResizeStart: Z,
|
|
428
|
-
onEventClick: D,
|
|
429
|
-
onBackgroundEventClick: Q,
|
|
430
|
-
onEventMouseEnter: _,
|
|
431
|
-
onEventMouseLeave: V,
|
|
432
|
-
onDateSelect: L,
|
|
433
|
-
onDatesSet: G,
|
|
434
|
-
onDateClick: w,
|
|
435
|
-
onNavLinkDayClick: Ce,
|
|
436
|
-
editable: ee = !1,
|
|
437
|
-
eventDurationEditable: Je,
|
|
438
|
-
selectable: Ae = !1,
|
|
439
|
-
selectMirror: Ze,
|
|
440
|
-
unselectAuto: ke,
|
|
441
|
-
height: Qe,
|
|
442
|
-
className: et,
|
|
443
|
-
privacyMode: b = !1,
|
|
444
|
-
eventColorStyle: tt = "solid",
|
|
445
|
-
slotDensity: rt = "compact",
|
|
446
|
-
mode: te = "default",
|
|
447
|
-
modeLabel: nt,
|
|
448
|
-
modeBannerColor: re,
|
|
449
|
-
modeBannerTextColor: ne,
|
|
450
|
-
onModeCancel: Ie,
|
|
451
|
-
alertBanner: it,
|
|
452
|
-
hiddenDays: Se,
|
|
453
|
-
loadingDates: Ne,
|
|
454
|
-
slotMinTime: at,
|
|
455
|
-
slotMaxTime: st,
|
|
456
|
-
slotDuration: ot,
|
|
457
|
-
snapDuration: Re,
|
|
458
|
-
showTime: dt = !0,
|
|
459
|
-
datesAboveResources: ce = !0,
|
|
460
|
-
slotEventOverlap: lt = !1,
|
|
461
|
-
stickyHeaderDates: ct = !0,
|
|
462
|
-
nowIndicator: ut = !0,
|
|
463
|
-
dayMaxEvents: mt = !0,
|
|
464
|
-
schedulerLicenseKey: ft = void 0,
|
|
465
|
-
toolbar: pt = !0,
|
|
466
|
-
toolbarEnd: vt,
|
|
467
|
-
resourceLayout: H = "vertical",
|
|
468
|
-
showResourceInitials: ue = !1,
|
|
469
|
-
resourceLabelVariant: Ee = "text",
|
|
470
|
-
verticalResourceLabels: me = !1,
|
|
471
|
-
selectedEventId: Pe,
|
|
472
|
-
availabilityMode: ht = !1,
|
|
473
|
-
resourceAreaWidth: gt,
|
|
474
|
-
resourceAreaHeader: q,
|
|
475
|
-
defaultTimedEventDuration: $,
|
|
476
|
-
zebraRows: yt = !1,
|
|
477
|
-
maskClassName: B
|
|
478
|
-
}, bt) => {
|
|
479
|
-
const { t: m, i18n: M } = De(), C = v(null), S = v(null), A = v(null), N = v(null), O = v(null), Le = v(null), ie = v({
|
|
480
|
-
id: 0,
|
|
481
|
-
x: 0,
|
|
482
|
-
y: 0
|
|
483
|
-
}), Ge = v(0), Be = v(0), k = x ?? M.language ?? "en";
|
|
484
|
-
h(() => {
|
|
485
|
-
}, [Se]), h(() => {
|
|
486
|
-
}, [$]);
|
|
487
|
-
const [Tt, xt] = le(() => {
|
|
488
|
-
if (typeof document > "u") return "ltr";
|
|
489
|
-
const e = document.documentElement.getAttribute("dir"), t = typeof M.dir == "function" ? M.dir() : "ltr";
|
|
490
|
-
return e === "rtl" || t === "rtl" ? "rtl" : "ltr";
|
|
491
|
-
});
|
|
492
|
-
h(() => {
|
|
493
|
-
if (typeof document > "u") return;
|
|
494
|
-
const e = new MutationObserver(() => {
|
|
495
|
-
const t = document.documentElement.getAttribute("dir"), r = typeof M.dir == "function" ? M.dir() : "ltr";
|
|
496
|
-
xt(t === "rtl" || r === "rtl" ? "rtl" : "ltr");
|
|
497
|
-
});
|
|
498
|
-
return e.observe(document.documentElement, {
|
|
499
|
-
attributes: !0,
|
|
500
|
-
attributeFilter: ["dir", "lang"]
|
|
501
|
-
}), () => e.disconnect();
|
|
502
|
-
}, [M]), h(() => {
|
|
503
|
-
if (typeof document > "u") return;
|
|
504
|
-
let e;
|
|
505
|
-
const t = new MutationObserver(() => {
|
|
506
|
-
clearTimeout(e), e = setTimeout(() => {
|
|
507
|
-
var i;
|
|
508
|
-
const r = (i = C.current) == null ? void 0 : i.getApi();
|
|
509
|
-
r && typeof r.render == "function" && r.render();
|
|
510
|
-
}, 50);
|
|
511
|
-
});
|
|
512
|
-
return t.observe(document.documentElement, {
|
|
513
|
-
attributes: !0,
|
|
514
|
-
attributeFilter: ["class"]
|
|
515
|
-
}), () => {
|
|
516
|
-
clearTimeout(e), t.disconnect();
|
|
517
|
-
};
|
|
518
|
-
}, []), h(() => {
|
|
519
|
-
const e = S.current;
|
|
520
|
-
if (!e || typeof ResizeObserver > "u") return;
|
|
521
|
-
let t = 0, r = e.getBoundingClientRect().width;
|
|
522
|
-
const i = new ResizeObserver((a) => {
|
|
523
|
-
var T, Y;
|
|
524
|
-
const l = a[0], p = ((Y = (T = l == null ? void 0 : l.borderBoxSize) == null ? void 0 : T[0]) == null ? void 0 : Y.inlineSize) ?? (l == null ? void 0 : l.contentRect.width) ?? e.getBoundingClientRect().width;
|
|
525
|
-
p !== r && (r = p, cancelAnimationFrame(t), t = requestAnimationFrame(() => {
|
|
526
|
-
var X, J;
|
|
527
|
-
(J = (X = C.current) == null ? void 0 : X.getApi()) == null || J.updateSize();
|
|
528
|
-
}));
|
|
529
|
-
});
|
|
530
|
-
return i.observe(e), () => {
|
|
531
|
-
cancelAnimationFrame(t), i.disconnect();
|
|
532
|
-
};
|
|
533
|
-
}, []), h(() => {
|
|
534
|
-
if (typeof document > "u") return;
|
|
535
|
-
const e = S.current;
|
|
536
|
-
if (!e) return;
|
|
537
|
-
const t = () => {
|
|
538
|
-
e.querySelectorAll(
|
|
539
|
-
".fc-daygrid-more-link, a[data-navlink]"
|
|
540
|
-
).forEach((i) => {
|
|
541
|
-
i.getAttribute("role") || i.setAttribute("role", "button");
|
|
542
|
-
}), e.querySelectorAll('[aria-hidden="true"]').forEach((i) => {
|
|
543
|
-
i.querySelectorAll(
|
|
544
|
-
'a[href], button, [tabindex]:not([tabindex="-1"])'
|
|
545
|
-
).forEach((a) => {
|
|
546
|
-
a.setAttribute("tabindex", "-1");
|
|
547
|
-
});
|
|
548
|
-
});
|
|
549
|
-
};
|
|
550
|
-
t();
|
|
551
|
-
const r = new MutationObserver(t);
|
|
552
|
-
return r.observe(e, {
|
|
553
|
-
childList: !0,
|
|
554
|
-
subtree: !0,
|
|
555
|
-
attributes: !0,
|
|
556
|
-
attributeFilter: ["aria-hidden"]
|
|
557
|
-
}), () => r.disconnect();
|
|
558
|
-
}, [m]);
|
|
559
|
-
const ae = hr(), [Dt, wt] = le(""), [F, Ct] = le(
|
|
560
|
-
() => be(c, H)
|
|
561
|
-
), Me = v(F);
|
|
562
|
-
Me.current = F;
|
|
563
|
-
const fe = u(() => {
|
|
564
|
-
const e = () => {
|
|
565
|
-
var t;
|
|
566
|
-
return (t = C.current) == null ? void 0 : t.getApi();
|
|
567
|
-
};
|
|
568
|
-
return {
|
|
569
|
-
getApi: () => {
|
|
570
|
-
var t;
|
|
571
|
-
return (t = C.current) == null ? void 0 : t.getApi();
|
|
572
|
-
},
|
|
573
|
-
today: () => {
|
|
574
|
-
var t;
|
|
575
|
-
(t = e()) == null || t.today();
|
|
576
|
-
},
|
|
577
|
-
prev: () => {
|
|
578
|
-
var t;
|
|
579
|
-
(t = e()) == null || t.prev();
|
|
580
|
-
},
|
|
581
|
-
next: () => {
|
|
582
|
-
var t;
|
|
583
|
-
(t = e()) == null || t.next();
|
|
584
|
-
},
|
|
585
|
-
gotoDate: (t) => {
|
|
586
|
-
var r;
|
|
587
|
-
(r = e()) == null || r.gotoDate(t);
|
|
588
|
-
},
|
|
589
|
-
changeView: (t) => {
|
|
590
|
-
var r;
|
|
591
|
-
(r = e()) == null || r.changeView(
|
|
592
|
-
be(t, H)
|
|
593
|
-
);
|
|
594
|
-
},
|
|
595
|
-
getTitle: () => {
|
|
596
|
-
var t;
|
|
597
|
-
return ((t = e()) == null ? void 0 : t.view.title) ?? "";
|
|
598
|
-
},
|
|
599
|
-
getCurrentView: () => {
|
|
600
|
-
var r;
|
|
601
|
-
return (r = e()) == null ? void 0 : r.view.type;
|
|
602
|
-
},
|
|
603
|
-
getCurrentDate: () => {
|
|
604
|
-
var t;
|
|
605
|
-
return (t = e()) == null ? void 0 : t.getDate();
|
|
606
|
-
},
|
|
607
|
-
focusEvent: (t) => {
|
|
608
|
-
const r = S.current;
|
|
609
|
-
if (!r) return;
|
|
610
|
-
const i = `[data-event-id="${CSS.escape(t)}"]`, a = r.querySelector(i);
|
|
611
|
-
if (a) {
|
|
612
|
-
if (N.current && (clearTimeout(N.current), N.current = null), O.current && O.current !== a && O.current.classList.remove("calendar-event-focused"), a.scrollIntoView({
|
|
613
|
-
behavior: ae ? "auto" : "smooth",
|
|
614
|
-
block: "center"
|
|
615
|
-
}), a.classList.add("calendar-event-focused"), O.current = a, A.current) {
|
|
616
|
-
const l = a.getAttribute("aria-label") ?? t, p = b ? "•••" : l;
|
|
617
|
-
A.current.textContent = m("calendar.focusedEvent", {
|
|
618
|
-
title: p
|
|
619
|
-
});
|
|
620
|
-
}
|
|
621
|
-
N.current = setTimeout(() => {
|
|
622
|
-
a.classList.remove("calendar-event-focused"), O.current === a && (O.current = null), N.current = null;
|
|
623
|
-
}, 3e3);
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
};
|
|
627
|
-
}, [ae, b, m, H]);
|
|
628
|
-
ar(bt, () => fe, [fe]), gr(Cr, fe, n), h(
|
|
629
|
-
() => () => {
|
|
630
|
-
N.current && (clearTimeout(N.current), N.current = null);
|
|
631
|
-
},
|
|
632
|
-
[]
|
|
633
|
-
);
|
|
634
|
-
const Oe = v(!0);
|
|
635
|
-
h(() => {
|
|
636
|
-
if (Oe.current) {
|
|
637
|
-
Oe.current = !1;
|
|
638
|
-
return;
|
|
639
|
-
}
|
|
640
|
-
A.current && (A.current.textContent = m(b ? "calendar.privacyModeOn" : "calendar.privacyModeOff"));
|
|
641
|
-
}, [b, m]);
|
|
642
|
-
const At = u(
|
|
643
|
-
() => s.map((e) => ({
|
|
644
|
-
id: e.id,
|
|
645
|
-
title: e.title,
|
|
646
|
-
start: e.start,
|
|
647
|
-
end: e.end,
|
|
648
|
-
/* Conditional spreads — FC refines PRESENT-but-undefined keys
|
|
649
|
-
(`'propName' in input`), so undefined must mean ABSENT:
|
|
650
|
-
- editable: Boolean(undefined) === false would pin every
|
|
651
|
-
ordinary event non-draggable;
|
|
652
|
-
- display: String(undefined) === 'undefined' breaks month-
|
|
653
|
-
view dot/block classification and leaks via EventApi;
|
|
654
|
-
- allDay: Boolean(undefined) === false disables FC's
|
|
655
|
-
all-day inference for date-only starts;
|
|
656
|
-
- resourceId: String(undefined) puts 'undefined' into
|
|
657
|
-
def.resourceIds → getResources() returns [null]. */
|
|
658
|
-
...e.allDay !== void 0 ? { allDay: e.allDay } : {},
|
|
659
|
-
...e.resourceId !== void 0 ? { resourceId: e.resourceId } : {},
|
|
660
|
-
...e.isInternal ? { display: "background" } : {},
|
|
661
|
-
/* A draft is the user's own composition: dragging or resizing it
|
|
662
|
-
IS how they pick the slot, so it stays editable even on a
|
|
663
|
-
read-only calendar. The consumer's own `editable` still wins. */
|
|
664
|
-
...e.isDraft ? { editable: !0 } : {},
|
|
665
|
-
/* Scheduler separately falls back to the global editable option
|
|
666
|
-
for resource moves. A pinned event must refuse those too. */
|
|
667
|
-
...e.editable !== void 0 ? { editable: e.editable, resourceEditable: e.editable } : {},
|
|
668
|
-
...e.startEditable !== void 0 ? { startEditable: e.startEditable } : {},
|
|
669
|
-
/* Pending details override every host editability flag. Scheduler
|
|
670
|
-
reads resource editability separately from time dragging. */
|
|
671
|
-
...e.detailsPending ? { editable: !1, startEditable: !1, resourceEditable: !1 } : {},
|
|
672
|
-
extendedProps: {
|
|
673
|
-
status: e.status,
|
|
674
|
-
resourceId: e.resourceId,
|
|
675
|
-
/* Mirror the raw per-event editability values so adaptEvent
|
|
676
|
-
can round-trip them — EventImpl's `startEditable` getter
|
|
677
|
-
resolves the COMBINED ui (incl. calendar-level fallback)
|
|
678
|
-
and must not be used for round-tripping. */
|
|
679
|
-
editable: e.editable,
|
|
680
|
-
startEditable: e.startEditable,
|
|
681
|
-
backgroundColor: e.backgroundColor,
|
|
682
|
-
textColor: e.textColor,
|
|
683
|
-
borderColor: e.borderColor,
|
|
684
|
-
suffix: e.suffix,
|
|
685
|
-
shortTitle: e.shortTitle,
|
|
686
|
-
contextLabel: e.contextLabel,
|
|
687
|
-
contextName: e.contextName,
|
|
688
|
-
privacyModeTitle: e.privacyModeTitle,
|
|
689
|
-
isBookedOnline: e.isBookedOnline ?? !1,
|
|
690
|
-
hasUnassignedPatient: e.hasUnassignedPatient ?? !1,
|
|
691
|
-
hasHighlightedAnamnesis: e.hasHighlightedAnamnesis ?? !1,
|
|
692
|
-
hasBillableAmount: e.hasBillableAmount ?? !1,
|
|
693
|
-
isTelehealth: e.isTelehealth ?? !1,
|
|
694
|
-
isRecurring: e.isRecurring ?? !1,
|
|
695
|
-
isRecurrenceParent: e.isRecurrenceParent ?? !1,
|
|
696
|
-
isInternal: e.isInternal ?? !1,
|
|
697
|
-
isTask: e.isTask ?? !1,
|
|
698
|
-
isDraft: e.isDraft ?? !1,
|
|
699
|
-
detailsPending: e.detailsPending ?? !1,
|
|
700
|
-
patientId: e.patientId,
|
|
701
|
-
operatorId: e.operatorId,
|
|
702
|
-
optionCount: e.optionCount
|
|
703
|
-
}
|
|
704
|
-
})),
|
|
705
|
-
[s]
|
|
706
|
-
), kt = u(
|
|
707
|
-
() => ({
|
|
708
|
-
year: "numeric",
|
|
709
|
-
month: "long"
|
|
710
|
-
}),
|
|
711
|
-
[]
|
|
712
|
-
), It = u(
|
|
713
|
-
() => ({
|
|
714
|
-
weekday: "short"
|
|
715
|
-
}),
|
|
716
|
-
[]
|
|
717
|
-
), St = u(
|
|
718
|
-
() => ({
|
|
719
|
-
hour: "numeric",
|
|
720
|
-
minute: "2-digit"
|
|
721
|
-
}),
|
|
722
|
-
[]
|
|
723
|
-
), Nt = u(
|
|
724
|
-
() => ({
|
|
725
|
-
hour: "2-digit",
|
|
726
|
-
minute: "2-digit",
|
|
727
|
-
/* 24-hour axis — matches the event cards' range text (hour12
|
|
728
|
-
false there too) and the platform's EU clock. */
|
|
729
|
-
hour12: !1
|
|
730
|
-
}),
|
|
731
|
-
[]
|
|
732
|
-
), E = u(
|
|
733
|
-
() => new Set(Ne ?? []),
|
|
734
|
-
[Ne]
|
|
735
|
-
), pe = v(E);
|
|
736
|
-
pe.current = E;
|
|
737
|
-
const ve = v(!1), Rt = g(
|
|
738
|
-
(e) => {
|
|
739
|
-
const t = new Intl.DateTimeFormat(k, {
|
|
740
|
-
weekday: "short"
|
|
741
|
-
}).format(e.date);
|
|
742
|
-
if (e.view.type === "dayGridMonth" || e.view.type.startsWith("list"))
|
|
743
|
-
return t;
|
|
744
|
-
const r = new Intl.DateTimeFormat(k, {
|
|
745
|
-
day: "numeric"
|
|
746
|
-
}).format(e.date);
|
|
747
|
-
return /* @__PURE__ */ R("span", { className: "ds:flex ds:flex-col ds:items-center ds:gap-[var(--spacing-2xs)] ds:py-[var(--spacing-2xs)]", children: [
|
|
748
|
-
/* @__PURE__ */ d("span", { className: "type-eyebrow ds:text-[color:var(--muted-foreground)]", children: t }),
|
|
749
|
-
/* @__PURE__ */ d(
|
|
750
|
-
"span",
|
|
751
|
-
{
|
|
752
|
-
className: e.isToday ? "ds:flex ds:size-7 ds:items-center ds:justify-center ds:rounded-full ds:bg-[var(--primary)] ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:leading-none ds:text-[color:var(--primary-foreground)]" : "ds:text-[length:var(--font-size-sm)] ds:font-[var(--font-weight-semibold)] ds:leading-none",
|
|
753
|
-
children: r
|
|
754
|
-
}
|
|
755
|
-
),
|
|
756
|
-
E.has(z(e.date)) ? /* @__PURE__ */ d(wr, { children: m("calendar.loadingDay") }) : null
|
|
757
|
-
] });
|
|
758
|
-
},
|
|
759
|
-
[k, E, m]
|
|
760
|
-
), Fe = u(
|
|
761
|
-
() => typeof $ == "number" ? { minutes: $ } : $,
|
|
762
|
-
[$]
|
|
763
|
-
), he = u(
|
|
764
|
-
() => B ? B.split(/\s+/).filter(Boolean) : void 0,
|
|
765
|
-
[B]
|
|
766
|
-
), Et = u(() => {
|
|
767
|
-
if (q !== void 0)
|
|
768
|
-
return q === "chairs" ? m("calendar.resourceLabel.chairs") : q === "operators" ? m("calendar.resourceLabel.operators") : q;
|
|
769
|
-
}, [q, m]), se = u(
|
|
770
|
-
() => Gr(o, ce),
|
|
771
|
-
[o, ce]
|
|
772
|
-
), W = v(se);
|
|
773
|
-
W.current = se;
|
|
774
|
-
const ge = v(!1), Pt = g(
|
|
775
|
-
(e) => {
|
|
776
|
-
const t = E.has(z(e.date)) ? [Lr] : [], r = W.current;
|
|
777
|
-
if (!r.active || !e.view.type.startsWith("resourceTimeGrid"))
|
|
778
|
-
return t;
|
|
779
|
-
const i = e.resource;
|
|
780
|
-
return i != null && i.id && r.hiddenCells.has(
|
|
781
|
-
`${i.id}:${z(e.date)}`
|
|
782
|
-
) ? [...t, xe] : t;
|
|
783
|
-
},
|
|
784
|
-
[E]
|
|
785
|
-
), Lt = g(
|
|
786
|
-
(e) => {
|
|
787
|
-
const t = W.current;
|
|
788
|
-
if (!t.active || !e.view.type.startsWith("resourceTimeGrid"))
|
|
789
|
-
return [];
|
|
790
|
-
const r = e.date ?? e.view.currentStart;
|
|
791
|
-
return t.hiddenCells.has(
|
|
792
|
-
`${e.resource.id}:${z(r)}`
|
|
793
|
-
) ? [xe] : [];
|
|
794
|
-
},
|
|
795
|
-
[]
|
|
796
|
-
), Gt = g(
|
|
797
|
-
(e) => {
|
|
798
|
-
const t = W.current;
|
|
799
|
-
return !t.active || !e.view.type.startsWith("resourceTimeGrid") ? [] : (t.hiddenCountByDate.get(z(e.date)) ?? 0) >= t.resourceCount ? [xe] : [];
|
|
800
|
-
},
|
|
801
|
-
[]
|
|
802
|
-
), Bt = g((e) => {
|
|
803
|
-
const t = W.current;
|
|
804
|
-
if (!t.active || !e.view.type.startsWith("resourceTimeGrid"))
|
|
805
|
-
return;
|
|
806
|
-
const r = e.el;
|
|
807
|
-
if (!(r instanceof HTMLTableCellElement) || !r.classList.contains("fc-day")) return;
|
|
808
|
-
const i = r.getAttribute("data-date");
|
|
809
|
-
if (!i) return;
|
|
810
|
-
const a = t.hiddenCountByDate.get(i) ?? 0, l = Math.max(1, t.resourceCount - a);
|
|
811
|
-
r.colSpan !== l && (r.colSpan = l, ge.current = !0);
|
|
812
|
-
}, []), K = g(() => {
|
|
813
|
-
const e = S.current;
|
|
814
|
-
if (!e || !Me.current.startsWith("resourceTimeGrid")) return;
|
|
815
|
-
const t = W.current;
|
|
816
|
-
!t.active && !ge.current || (e.querySelectorAll(
|
|
817
|
-
"th.fc-col-header-cell.fc-day[data-date]"
|
|
818
|
-
).forEach((r) => {
|
|
819
|
-
const i = r.getAttribute("data-date");
|
|
820
|
-
if (!i) return;
|
|
821
|
-
const a = t.active ? t.hiddenCountByDate.get(i) ?? 0 : 0, l = Math.max(1, t.resourceCount - a);
|
|
822
|
-
r.colSpan !== l && (r.colSpan = l);
|
|
823
|
-
}), ge.current = t.active);
|
|
824
|
-
}, []), U = g(() => {
|
|
825
|
-
const e = S.current;
|
|
826
|
-
if (!e) return;
|
|
827
|
-
const t = pe.current;
|
|
828
|
-
t.size === 0 && !ve.current || (e.querySelectorAll("td.fc-day[data-date]").forEach((r) => {
|
|
829
|
-
const i = r.getAttribute("data-date");
|
|
830
|
-
i && t.has(i) ? r.setAttribute("aria-busy", "true") : r.removeAttribute("aria-busy");
|
|
831
|
-
}), ve.current = t.size > 0);
|
|
832
|
-
}, []), Mt = g((e) => {
|
|
833
|
-
pe.current.has(z(e.date)) && (e.el.setAttribute("aria-busy", "true"), ve.current = !0);
|
|
834
|
-
}, []);
|
|
835
|
-
h(() => {
|
|
836
|
-
}, [s, se]);
|
|
837
|
-
const P = (e) => {
|
|
838
|
-
const t = e.extendedProps ?? {};
|
|
839
|
-
return {
|
|
840
|
-
id: e.id,
|
|
841
|
-
title: e.title,
|
|
842
|
-
start: e.start ?? /* @__PURE__ */ new Date(),
|
|
843
|
-
end: e.end ?? void 0,
|
|
844
|
-
resourceId: t.resourceId,
|
|
845
|
-
status: t.status,
|
|
846
|
-
allDay: e.allDay,
|
|
847
|
-
backgroundColor: t.backgroundColor,
|
|
848
|
-
textColor: t.textColor,
|
|
849
|
-
borderColor: t.borderColor,
|
|
850
|
-
suffix: t.suffix,
|
|
851
|
-
shortTitle: t.shortTitle,
|
|
852
|
-
contextLabel: t.contextLabel,
|
|
853
|
-
contextName: t.contextName,
|
|
854
|
-
privacyModeTitle: t.privacyModeTitle,
|
|
855
|
-
isBookedOnline: t.isBookedOnline,
|
|
856
|
-
hasUnassignedPatient: t.hasUnassignedPatient,
|
|
857
|
-
hasHighlightedAnamnesis: t.hasHighlightedAnamnesis,
|
|
858
|
-
hasBillableAmount: t.hasBillableAmount,
|
|
859
|
-
isTelehealth: t.isTelehealth,
|
|
860
|
-
isRecurring: t.isRecurring,
|
|
861
|
-
isRecurrenceParent: t.isRecurrenceParent,
|
|
862
|
-
isInternal: t.isInternal,
|
|
863
|
-
isTask: t.isTask,
|
|
864
|
-
detailsPending: t.detailsPending,
|
|
865
|
-
editable: t.editable,
|
|
866
|
-
startEditable: t.startEditable,
|
|
867
|
-
patientId: t.patientId,
|
|
868
|
-
operatorId: t.operatorId,
|
|
869
|
-
optionCount: t.optionCount
|
|
870
|
-
};
|
|
871
|
-
}, Ot = u(() => {
|
|
872
|
-
if (y)
|
|
873
|
-
return (e) => {
|
|
874
|
-
var r, i, a;
|
|
875
|
-
if (!e.event.start) return;
|
|
876
|
-
const t = e.oldEvent.start;
|
|
877
|
-
if (t && (y({
|
|
878
|
-
event: P(e.event),
|
|
879
|
-
oldStart: t,
|
|
880
|
-
newStart: e.event.start,
|
|
881
|
-
oldResourceId: (r = e.oldResource) == null ? void 0 : r.id,
|
|
882
|
-
newResourceId: (i = e.newResource) == null ? void 0 : i.id,
|
|
883
|
-
revert: e.revert
|
|
884
|
-
}), A.current)) {
|
|
885
|
-
const l = e.event.extendedProps ?? {}, p = b ? ((a = l.privacyModeTitle) == null ? void 0 : a.trim()) || "•••" : e.event.title;
|
|
886
|
-
A.current.textContent = m("calendar.eventMoved", {
|
|
887
|
-
title: p
|
|
888
|
-
});
|
|
889
|
-
}
|
|
890
|
-
};
|
|
891
|
-
}, [y, b, m]), Ft = u(() => {
|
|
892
|
-
if (I)
|
|
893
|
-
return (e) => {
|
|
894
|
-
var a;
|
|
895
|
-
if (!e.event.end) return;
|
|
896
|
-
const t = e.oldEvent.end;
|
|
897
|
-
if (!t)
|
|
898
|
-
return;
|
|
899
|
-
const r = e.event.end, i = e.event.start ?? e.oldEvent.start ?? t;
|
|
900
|
-
if (I({
|
|
901
|
-
event: P(e.event),
|
|
902
|
-
oldEnd: t,
|
|
903
|
-
newEnd: r,
|
|
904
|
-
revert: e.revert
|
|
905
|
-
}), A.current) {
|
|
906
|
-
const l = Math.round(
|
|
907
|
-
(r.getTime() - i.getTime()) / 6e4
|
|
908
|
-
), p = e.event.extendedProps ?? {}, T = b ? ((a = p.privacyModeTitle) == null ? void 0 : a.trim()) || "•••" : e.event.title;
|
|
909
|
-
A.current.textContent = m("calendar.eventResized", {
|
|
910
|
-
title: T,
|
|
911
|
-
duration: l
|
|
912
|
-
});
|
|
913
|
-
}
|
|
914
|
-
};
|
|
915
|
-
}, [I, b, m]), Wt = u(() => {
|
|
916
|
-
if (D)
|
|
917
|
-
return (e) => {
|
|
918
|
-
e.event.start && (Le.current = e.jsEvent, D(P(e.event), {
|
|
919
|
-
el: e.el,
|
|
920
|
-
jsEvent: e.jsEvent
|
|
921
|
-
}));
|
|
922
|
-
};
|
|
923
|
-
}, [D]), zt = u(() => {
|
|
924
|
-
if (_)
|
|
925
|
-
return (e) => {
|
|
926
|
-
if (!e.event.start || e.event.display === "background") return;
|
|
927
|
-
const t = e.event.extendedProps ?? {};
|
|
928
|
-
t.isDraft || t.detailsPending || _(P(e.event), {
|
|
929
|
-
el: e.el,
|
|
930
|
-
jsEvent: e.jsEvent
|
|
931
|
-
});
|
|
932
|
-
};
|
|
933
|
-
}, [_]), jt = u(() => {
|
|
934
|
-
if (V)
|
|
935
|
-
return (e) => {
|
|
936
|
-
e.event.start && e.event.display !== "background" && V(P(e.event));
|
|
937
|
-
};
|
|
938
|
-
}, [V]), _t = u(() => {
|
|
939
|
-
if (L)
|
|
940
|
-
return (e) => {
|
|
941
|
-
var t;
|
|
942
|
-
L({
|
|
943
|
-
start: e.start,
|
|
944
|
-
end: e.end,
|
|
945
|
-
allDay: e.allDay,
|
|
946
|
-
resourceId: (t = e.resource) == null ? void 0 : t.id
|
|
947
|
-
});
|
|
948
|
-
};
|
|
949
|
-
}, [L]), Vt = u(() => {
|
|
950
|
-
if (w)
|
|
951
|
-
return (e) => {
|
|
952
|
-
var r;
|
|
953
|
-
const t = ie.current.id;
|
|
954
|
-
t !== 0 && Be.current === t || (t !== 0 && (Ge.current = t), w({
|
|
955
|
-
date: e.date,
|
|
956
|
-
allDay: e.allDay,
|
|
957
|
-
resourceId: (r = e.resource) == null ? void 0 : r.id
|
|
958
|
-
}));
|
|
959
|
-
};
|
|
960
|
-
}, [w]), Ht = g(
|
|
961
|
-
(e) => {
|
|
962
|
-
wt(e.view.title), Ct(e.view.type), G == null || G({
|
|
963
|
-
view: c,
|
|
964
|
-
internalView: e.view.type,
|
|
965
|
-
start: e.start,
|
|
966
|
-
end: e.end,
|
|
967
|
-
/* info.view.calendar is available even on the very first datesSet
|
|
968
|
-
tick, which fires before fcRef is guaranteed to be assigned. */
|
|
969
|
-
currentDate: e.view.calendar.getDate(),
|
|
970
|
-
title: e.view.title
|
|
971
|
-
}), K(), U();
|
|
972
|
-
},
|
|
973
|
-
[G, c, K, U]
|
|
974
|
-
), qt = u(() => Pr(k), [k]), $t = u(
|
|
975
|
-
() => [
|
|
976
|
-
dr,
|
|
977
|
-
lr,
|
|
978
|
-
cr,
|
|
979
|
-
vr,
|
|
980
|
-
ur,
|
|
981
|
-
mr,
|
|
982
|
-
fr,
|
|
983
|
-
pr
|
|
984
|
-
],
|
|
985
|
-
[]
|
|
986
|
-
), Kt = u(
|
|
987
|
-
() => be(c, H),
|
|
988
|
-
[c, H]
|
|
989
|
-
);
|
|
990
|
-
h(() => {
|
|
991
|
-
const e = S.current;
|
|
992
|
-
if (!e) return;
|
|
993
|
-
const t = (r) => {
|
|
994
|
-
ie.current = {
|
|
995
|
-
id: ie.current.id + 1,
|
|
996
|
-
x: r.clientX,
|
|
997
|
-
y: r.clientY
|
|
998
|
-
};
|
|
999
|
-
};
|
|
1000
|
-
return e.addEventListener("pointerdown", t, !0), () => e.removeEventListener("pointerdown", t, !0);
|
|
1001
|
-
}, []), h(() => {
|
|
1002
|
-
const e = S.current;
|
|
1003
|
-
if (!e || !F.startsWith("resourceTimeGrid") || !w && !D) return;
|
|
1004
|
-
const t = (r) => {
|
|
1005
|
-
var X;
|
|
1006
|
-
if (r === Le.current) return;
|
|
1007
|
-
const i = r.target;
|
|
1008
|
-
if (!(i instanceof Element) || i.closest(
|
|
1009
|
-
".fc-more-link, a[data-navlink], .fc-popover, .fc-event-mirror"
|
|
1010
|
-
))
|
|
1011
|
-
return;
|
|
1012
|
-
const a = ie.current;
|
|
1013
|
-
if (a.id !== 0 && (Math.abs(r.clientX - a.x) > Te || Math.abs(r.clientY - a.y) > Te))
|
|
1014
|
-
return;
|
|
1015
|
-
const l = i.closest("td.fc-daygrid-day[data-date]");
|
|
1016
|
-
if (!l) return;
|
|
1017
|
-
const p = i.closest("[data-event-id]");
|
|
1018
|
-
if (p) {
|
|
1019
|
-
if (!D) return;
|
|
1020
|
-
const J = p.getAttribute("data-event-id"), ye = (X = C.current) == null ? void 0 : X.getApi(), oe = J ? ye == null ? void 0 : ye.getEventById(J) : null;
|
|
1021
|
-
if (!oe || !oe.start) return;
|
|
1022
|
-
const ze = oe.extendedProps ?? {};
|
|
1023
|
-
if (ze.isInternal || ze.isDraft) return;
|
|
1024
|
-
const ir = i.closest(".fc-event") ?? p;
|
|
1025
|
-
D(P(oe), { el: ir, jsEvent: r });
|
|
1026
|
-
return;
|
|
1027
|
-
}
|
|
1028
|
-
if (!w || a.id !== 0 && Ge.current === a.id)
|
|
1029
|
-
return;
|
|
1030
|
-
const T = l.getAttribute("data-date");
|
|
1031
|
-
if (!T) return;
|
|
1032
|
-
const Y = /* @__PURE__ */ new Date(`${T}T00:00:00`);
|
|
1033
|
-
Number.isNaN(Y.getTime()) || (a.id !== 0 && (Be.current = a.id), w({
|
|
1034
|
-
date: Y,
|
|
1035
|
-
allDay: !0,
|
|
1036
|
-
resourceId: l.getAttribute("data-resource-id") ?? void 0
|
|
1037
|
-
}));
|
|
1038
|
-
};
|
|
1039
|
-
return e.addEventListener("click", t), () => e.removeEventListener("click", t);
|
|
1040
|
-
}, [F, w, D]);
|
|
1041
|
-
const Ut = g(
|
|
1042
|
-
(e) => {
|
|
1043
|
-
const t = e.resource.extendedProps, r = e.resource.title, i = t.color, a = t.shortTitleTextColor, l = i || a ? {
|
|
1044
|
-
...i ? { "--resource-color": i } : {},
|
|
1045
|
-
...a ? {
|
|
1046
|
-
"--resource-initials-text-color": a
|
|
1047
|
-
} : {}
|
|
1048
|
-
} : void 0;
|
|
1049
|
-
return Ee === "chip" && !ue ? /* @__PURE__ */ d(
|
|
1050
|
-
Dr,
|
|
1051
|
-
{
|
|
1052
|
-
label: r,
|
|
1053
|
-
color: i,
|
|
1054
|
-
orientation: me ? "vertical" : "horizontal"
|
|
1055
|
-
}
|
|
1056
|
-
) : ue ? /* @__PURE__ */ d(je, { label: r, children: /* @__PURE__ */ d(Tr, { size: "sm", name: r, src: t.avatarSrc }) }) : i ? (i && a && yr(i, a, `resource ${e.resource.id}`), /* @__PURE__ */ R("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
1057
|
-
/* @__PURE__ */ d(
|
|
1058
|
-
"span",
|
|
1059
|
-
{
|
|
1060
|
-
className: "resource-dot ds:[background-color:var(--resource-color)]",
|
|
1061
|
-
style: l,
|
|
1062
|
-
"aria-hidden": "true"
|
|
1063
|
-
}
|
|
1064
|
-
),
|
|
1065
|
-
/* @__PURE__ */ d("span", { className: "ds:truncate ds:text-start", children: r })
|
|
1066
|
-
] })) : /* @__PURE__ */ d("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: /* @__PURE__ */ d("span", { className: "ds:truncate ds:text-start", children: r }) });
|
|
1067
|
-
},
|
|
1068
|
-
[ue, Ee, me]
|
|
1069
|
-
), We = u(
|
|
1070
|
-
() => o == null ? void 0 : o.map((e) => ({
|
|
1071
|
-
id: e.id,
|
|
1072
|
-
title: e.title,
|
|
1073
|
-
sequenceNumber: e.sequenceNumber,
|
|
1074
|
-
extendedProps: {
|
|
1075
|
-
shortTitle: e.shortTitle,
|
|
1076
|
-
color: e.color,
|
|
1077
|
-
shortTitleTextColor: e.shortTitleTextColor,
|
|
1078
|
-
avatarSrc: e.avatarSrc,
|
|
1079
|
-
sequenceNumber: e.sequenceNumber
|
|
1080
|
-
}
|
|
1081
|
-
})),
|
|
1082
|
-
[o]
|
|
1083
|
-
);
|
|
1084
|
-
h(() => {
|
|
1085
|
-
K();
|
|
1086
|
-
const e = requestAnimationFrame(K);
|
|
1087
|
-
return () => cancelAnimationFrame(e);
|
|
1088
|
-
}, [se, We, F, K]), h(() => {
|
|
1089
|
-
U();
|
|
1090
|
-
const e = requestAnimationFrame(U);
|
|
1091
|
-
return () => cancelAnimationFrame(e);
|
|
1092
|
-
}, [E, F, U]);
|
|
1093
|
-
const Yt = g(() => {
|
|
1094
|
-
var e, t;
|
|
1095
|
-
(t = (e = C.current) == null ? void 0 : e.getApi()) == null || t.today();
|
|
1096
|
-
}, []), Xt = g(() => {
|
|
1097
|
-
var e, t;
|
|
1098
|
-
(t = (e = C.current) == null ? void 0 : e.getApi()) == null || t.prev();
|
|
1099
|
-
}, []), Jt = g(() => {
|
|
1100
|
-
var e, t;
|
|
1101
|
-
(t = (e = C.current) == null ? void 0 : e.getApi()) == null || t.next();
|
|
1102
|
-
}, []), Zt = u(
|
|
1103
|
-
() => s.some((e) => e.isDraft),
|
|
1104
|
-
[s]
|
|
1105
|
-
), Qt = [
|
|
1106
|
-
"fc-theme-alfadocs",
|
|
1107
|
-
Ar({ density: rt }),
|
|
1108
|
-
yt ? "calendar-zebra-rows" : null,
|
|
1109
|
-
me ? "calendar-vertical-resource-labels" : null,
|
|
1110
|
-
ht ? "calendar-availability-mode" : null,
|
|
1111
|
-
/* Composing: derived from the events themselves rather than a prop,
|
|
1112
|
-
so the dim can never disagree with what is on the grid. */
|
|
1113
|
-
Zt ? "calendar-composing-mode" : null,
|
|
1114
|
-
"ds:bg-background ds:text-foreground",
|
|
1115
|
-
/* The radius clips the table's square corners; the frame is this
|
|
1116
|
-
border, not FullCalendar's. `clip`, not `hidden`: a scroll container
|
|
1117
|
-
here would stop the sticky date header sticking. */
|
|
1118
|
-
"ds:rounded-[var(--radius-md)] ds:border ds:border-[var(--border)] ds:overflow-clip",
|
|
1119
|
-
/* Legacy host sheets set `.fc-view, .fc-view > table { overflow: hidden }`,
|
|
1120
|
-
which scrolls the date header away; FullCalendar's own value is
|
|
1121
|
-
visible. Important, as the host rule is unlayered. */
|
|
1122
|
-
"ds:[&_.fc-view]:!overflow-visible ds:[&_.fc-view>table]:!overflow-visible",
|
|
1123
|
-
et
|
|
1124
|
-
].filter(Boolean).join(" "), er = re || ne ? {
|
|
1125
|
-
...re ? { "--calendar-mode-bg": re } : {},
|
|
1126
|
-
...ne ? { "--calendar-mode-fg": ne } : {}
|
|
1127
|
-
} : void 0, tr = te !== "default" ? nt ?? m(Er[te]) : "", rr = [
|
|
1128
|
-
"ds:sticky ds:top-0 ds:z-10",
|
|
1129
|
-
"ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
1130
|
-
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
|
|
1131
|
-
"ds:py-[var(--spacing-sm)]",
|
|
1132
|
-
/* Caller-supplied colours flow through CSS custom properties set
|
|
1133
|
-
in `modeBannerStyle`; fallback tokens apply when the caller
|
|
1134
|
-
doesn't supply a hex. */
|
|
1135
|
-
re ? "ds:[background-color:var(--calendar-mode-bg)]" : "ds:bg-[var(--muted)]",
|
|
1136
|
-
ne ? "ds:[color:var(--calendar-mode-fg)]" : "ds:text-[var(--muted-foreground)]"
|
|
1137
|
-
].filter(Boolean).join(" "), nr = [
|
|
1138
|
-
"ds:inline-flex ds:items-center ds:justify-center",
|
|
1139
|
-
"ds:min-h-[var(--min-target-size)]",
|
|
1140
|
-
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
|
|
1141
|
-
"ds:rounded-[var(--radius-full)]",
|
|
1142
|
-
"ds:bg-[var(--background)] ds:text-[var(--foreground)]",
|
|
1143
|
-
"ds:border ds:border-[var(--border)]",
|
|
1144
|
-
"ds:font-[var(--font-weight-medium)] ds:text-[length:var(--font-size-sm)]",
|
|
1145
|
-
"ds:transition-colors ds:duration-[var(--animation-duration)] ds:ease-[var(--ease-out)]",
|
|
1146
|
-
"ds:hover:bg-[var(--muted)]",
|
|
1147
|
-
"ds:focus-visible:outline-[length:var(--focus-ring-width)]",
|
|
1148
|
-
"ds:focus-visible:outline-[var(--ring)]",
|
|
1149
|
-
"ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
1150
|
-
"ds:motion-reduce:transition-none"
|
|
1151
|
-
].join(" ");
|
|
1152
|
-
return /* @__PURE__ */ R(
|
|
1153
|
-
"div",
|
|
1154
|
-
{
|
|
1155
|
-
ref: S,
|
|
1156
|
-
className: Qt,
|
|
1157
|
-
role: "region",
|
|
1158
|
-
"aria-label": m("calendar.ariaLabel"),
|
|
1159
|
-
"data-component": "calendar",
|
|
1160
|
-
"data-component-id": n,
|
|
1161
|
-
"data-mode": te,
|
|
1162
|
-
children: [
|
|
1163
|
-
/* @__PURE__ */ d(
|
|
1164
|
-
"div",
|
|
1165
|
-
{
|
|
1166
|
-
ref: A,
|
|
1167
|
-
"aria-live": "polite",
|
|
1168
|
-
"aria-atomic": "true",
|
|
1169
|
-
className: ["ds:sr-only", B].filter(Boolean).join(" ")
|
|
1170
|
-
}
|
|
1171
|
-
),
|
|
1172
|
-
it,
|
|
1173
|
-
te !== "default" ? /* @__PURE__ */ R(
|
|
1174
|
-
"div",
|
|
1175
|
-
{
|
|
1176
|
-
className: rr,
|
|
1177
|
-
style: er,
|
|
1178
|
-
role: "status",
|
|
1179
|
-
"data-calendar-mode-banner": "",
|
|
1180
|
-
children: [
|
|
1181
|
-
/* @__PURE__ */ d(
|
|
1182
|
-
"span",
|
|
1183
|
-
{
|
|
1184
|
-
className: ["ds:flex-1 ds:text-start", B].filter(Boolean).join(" "),
|
|
1185
|
-
children: tr
|
|
1186
|
-
}
|
|
1187
|
-
),
|
|
1188
|
-
Ie ? /* @__PURE__ */ d(
|
|
1189
|
-
"button",
|
|
1190
|
-
{
|
|
1191
|
-
type: "button",
|
|
1192
|
-
onClick: Ie,
|
|
1193
|
-
className: nr,
|
|
1194
|
-
children: m("calendar.modeBanner.cancel")
|
|
1195
|
-
}
|
|
1196
|
-
) : null
|
|
1197
|
-
]
|
|
1198
|
-
}
|
|
1199
|
-
) : null,
|
|
1200
|
-
pt !== !1 ? /* @__PURE__ */ d(
|
|
1201
|
-
we,
|
|
1202
|
-
{
|
|
1203
|
-
title: Dt,
|
|
1204
|
-
onToday: Yt,
|
|
1205
|
-
onPrev: Xt,
|
|
1206
|
-
onNext: Jt,
|
|
1207
|
-
end: vt,
|
|
1208
|
-
maskClassName: B
|
|
1209
|
-
}
|
|
1210
|
-
) : null,
|
|
1211
|
-
/* @__PURE__ */ d(
|
|
1212
|
-
or,
|
|
1213
|
-
{
|
|
1214
|
-
ref: C,
|
|
1215
|
-
plugins: $t,
|
|
1216
|
-
schedulerLicenseKey: ft,
|
|
1217
|
-
initialView: Kt,
|
|
1218
|
-
views: Rr,
|
|
1219
|
-
initialDate: f,
|
|
1220
|
-
locale: k,
|
|
1221
|
-
direction: Tt,
|
|
1222
|
-
firstDay: qt,
|
|
1223
|
-
editable: ee,
|
|
1224
|
-
eventDurationEditable: ee === !1 ? !1 : Je ?? ee,
|
|
1225
|
-
selectable: Ae,
|
|
1226
|
-
selectMirror: Ze ?? Ae,
|
|
1227
|
-
...ke === void 0 ? {} : { unselectAuto: ke },
|
|
1228
|
-
droppable: ee,
|
|
1229
|
-
dayMaxEvents: mt,
|
|
1230
|
-
height: Qe,
|
|
1231
|
-
expandRows: !0,
|
|
1232
|
-
events: At,
|
|
1233
|
-
resources: We,
|
|
1234
|
-
resourceOrder: "sequenceNumber",
|
|
1235
|
-
resourceLabelContent: Ut,
|
|
1236
|
-
resourceAreaWidth: gt,
|
|
1237
|
-
resourceAreaHeaderContent: Et,
|
|
1238
|
-
dayCellClassNames: Pt,
|
|
1239
|
-
dayCellDidMount: Mt,
|
|
1240
|
-
dayHeaderClassNames: Gt,
|
|
1241
|
-
resourceLabelClassNames: Lt,
|
|
1242
|
-
dayHeaderDidMount: Bt,
|
|
1243
|
-
...he ? { slotLaneClassNames: he } : {},
|
|
1244
|
-
eventClassNames: (e) => {
|
|
1245
|
-
var t;
|
|
1246
|
-
return [
|
|
1247
|
-
...he ?? [],
|
|
1248
|
-
...Pe && e.event.id === Pe ? ["calendar-event-selected"] : [],
|
|
1249
|
-
...(t = e.event.extendedProps) != null && t.isDraft ? ["calendar-event-draft"] : []
|
|
1250
|
-
];
|
|
1251
|
-
},
|
|
1252
|
-
headerToolbar: !1,
|
|
1253
|
-
allDayText: m("calendar.allDay"),
|
|
1254
|
-
noEventsText: m("calendar.noEvents"),
|
|
1255
|
-
titleFormat: kt,
|
|
1256
|
-
dayHeaderFormat: It,
|
|
1257
|
-
dayHeaderContent: Rt,
|
|
1258
|
-
eventTimeFormat: St,
|
|
1259
|
-
slotLabelFormat: Nt,
|
|
1260
|
-
slotMinTime: at ?? "00:00:00",
|
|
1261
|
-
slotMaxTime: st ?? "24:00:00",
|
|
1262
|
-
slotDuration: ot ?? "00:30:00",
|
|
1263
|
-
...Re ? { snapDuration: Re } : {},
|
|
1264
|
-
slotLabelInterval: "01:00:00",
|
|
1265
|
-
...Fe !== void 0 ? { defaultTimedEventDuration: Fe } : {},
|
|
1266
|
-
hiddenDays: Se,
|
|
1267
|
-
datesAboveResources: ce,
|
|
1268
|
-
slotEventOverlap: lt,
|
|
1269
|
-
stickyHeaderDates: ct,
|
|
1270
|
-
nowIndicator: ut,
|
|
1271
|
-
eventLongPressDelay: ae ? 0 : 1e3,
|
|
1272
|
-
eventDragMinDistance: ae ? 0 : Te,
|
|
1273
|
-
eventContent: (e) => {
|
|
1274
|
-
var r, i;
|
|
1275
|
-
const t = e.event.extendedProps ?? {};
|
|
1276
|
-
if (t.isInternal) {
|
|
1277
|
-
if (e.event.title && Q) {
|
|
1278
|
-
const a = typeof t.optionCount == "number" ? m("calendarWorkspace.findSlots.freeOptions", {
|
|
1279
|
-
count: t.optionCount
|
|
1280
|
-
}) : void 0, l = a ? [
|
|
1281
|
-
e.event.title,
|
|
1282
|
-
$e(e, k),
|
|
1283
|
-
a
|
|
1284
|
-
].filter(Boolean).join(", ") : e.event.title, p = /* @__PURE__ */ d(
|
|
1285
|
-
xr,
|
|
1286
|
-
{
|
|
1287
|
-
type: "button",
|
|
1288
|
-
intent: "ghost",
|
|
1289
|
-
size: "sm",
|
|
1290
|
-
"data-event-id": e.event.id,
|
|
1291
|
-
"aria-label": l,
|
|
1292
|
-
className: "ds:pointer-events-auto ds:h-full ds:w-full ds:min-h-0 ds:justify-center ds:before:hidden",
|
|
1293
|
-
onClick: (T) => {
|
|
1294
|
-
T.stopPropagation(), Q(P(e.event), {
|
|
1295
|
-
el: T.currentTarget,
|
|
1296
|
-
jsEvent: T.nativeEvent
|
|
1297
|
-
});
|
|
1298
|
-
},
|
|
1299
|
-
children: /* @__PURE__ */ R(
|
|
1300
|
-
"span",
|
|
1301
|
-
{
|
|
1302
|
-
className: "calendar-bg-event-label",
|
|
1303
|
-
"aria-hidden": "true",
|
|
1304
|
-
children: [
|
|
1305
|
-
/* @__PURE__ */ d(_e, { size: 12, "aria-hidden": "true" }),
|
|
1306
|
-
e.event.title
|
|
1307
|
-
]
|
|
1308
|
-
}
|
|
1309
|
-
)
|
|
1310
|
-
}
|
|
1311
|
-
);
|
|
1312
|
-
return a ? /* @__PURE__ */ d(je, { label: a, children: p }) : p;
|
|
1313
|
-
}
|
|
1314
|
-
return e.event.title ? /* @__PURE__ */ R("span", { className: "calendar-bg-event-label", children: [
|
|
1315
|
-
/* @__PURE__ */ d(_e, { size: 12, "aria-hidden": "true" }),
|
|
1316
|
-
e.event.title
|
|
1317
|
-
] }) : !0;
|
|
1318
|
-
}
|
|
1319
|
-
return /* @__PURE__ */ d(
|
|
1320
|
-
br,
|
|
1321
|
-
{
|
|
1322
|
-
eventId: e.event.id,
|
|
1323
|
-
title: b ? ((r = t.privacyModeTitle) == null ? void 0 : r.trim()) || "•••" : e.event.title,
|
|
1324
|
-
shortTitle: b ? void 0 : t.shortTitle,
|
|
1325
|
-
contextLabel: t.contextLabel,
|
|
1326
|
-
contextName: t.contextName,
|
|
1327
|
-
startText: Mr(e.event.start, k),
|
|
1328
|
-
layout: e.event.allDay || e.view.type.startsWith("dayGrid") ? "month" : e.view.type.startsWith("list") || e.view.type.toLowerCase().includes("timeline") ? "flow" : "grid",
|
|
1329
|
-
privacyMasked: b,
|
|
1330
|
-
suffix: t.suffix,
|
|
1331
|
-
rangeText: $e(e, k),
|
|
1332
|
-
showTime: dt,
|
|
1333
|
-
allDay: e.event.allDay,
|
|
1334
|
-
status: t.status,
|
|
1335
|
-
colorStyle: tt,
|
|
1336
|
-
backgroundColor: t.backgroundColor,
|
|
1337
|
-
textColor: t.textColor,
|
|
1338
|
-
borderColor: t.borderColor,
|
|
1339
|
-
isBookedOnline: t.isBookedOnline,
|
|
1340
|
-
hasUnassignedPatient: t.hasUnassignedPatient,
|
|
1341
|
-
hasHighlightedAnamnesis: t.hasHighlightedAnamnesis,
|
|
1342
|
-
hasBillableAmount: t.hasBillableAmount,
|
|
1343
|
-
isTelehealth: t.isTelehealth,
|
|
1344
|
-
isRecurring: t.isRecurring,
|
|
1345
|
-
isTask: t.isTask,
|
|
1346
|
-
isDraft: t.isDraft,
|
|
1347
|
-
detailsPending: t.detailsPending,
|
|
1348
|
-
resourceLabel: t.resourceId ? (i = (o ?? []).find((a) => a.id === t.resourceId)) == null ? void 0 : i.title : void 0
|
|
1349
|
-
}
|
|
1350
|
-
);
|
|
1351
|
-
},
|
|
1352
|
-
eventClick: Wt,
|
|
1353
|
-
eventMouseEnter: zt,
|
|
1354
|
-
eventMouseLeave: jt,
|
|
1355
|
-
eventDrop: Ot,
|
|
1356
|
-
eventResize: Ft,
|
|
1357
|
-
eventDragStart: j,
|
|
1358
|
-
eventResizeStart: Z,
|
|
1359
|
-
select: _t,
|
|
1360
|
-
dateClick: Vt,
|
|
1361
|
-
datesSet: Ht,
|
|
1362
|
-
...Ce ? {
|
|
1363
|
-
navLinks: !0,
|
|
1364
|
-
navLinkDayClick: (e, t) => Ce(e, t)
|
|
1365
|
-
} : {}
|
|
1366
|
-
}
|
|
1367
|
-
)
|
|
1368
|
-
]
|
|
1369
|
-
}
|
|
1370
|
-
);
|
|
1371
|
-
}
|
|
1372
|
-
);
|
|
1373
|
-
Xe.displayName = "Calendar";
|
|
1374
|
-
const Wr = Xe;
|
|
1375
|
-
Wr.Toolbar = we;
|
|
1376
|
-
export {
|
|
1377
|
-
Wr as C,
|
|
1378
|
-
Cr as c,
|
|
1379
|
-
be as r
|
|
1380
|
-
};
|
|
1381
|
-
//# sourceMappingURL=calendar-E6Yu4lzC.js.map
|