@alfadocs/ui-kit 0.68.0 → 0.70.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/{accordion-9lJSMMsZ.js → accordion-DnIa7OHX.js} +69 -47
- package/dist/_chunks/address-autocomplete-BEX9PXty.js +496 -0
- package/dist/_chunks/{agenda-card-BxSFkqgY.js → agenda-card-BQ-IKAru.js} +2 -2
- package/dist/_chunks/{agenda-card.agent-B_R47-c9.js → agenda-card.agent-mTCrkKSZ.js} +6 -1
- package/dist/_chunks/{agenda-tray-T-BumlGZ.js → agenda-tray-CGXRk58j.js} +37 -25
- package/dist/_chunks/{ai-consent-banner-Dxtx_WAh.js → ai-consent-banner-Be-h9mRI.js} +5 -5
- package/dist/_chunks/{ai-prompt-input-BwEACCPm.js → ai-prompt-input-CuhTo9mh.js} +80 -61
- package/dist/_chunks/ai-tools-rail-B5NEghsp.js +511 -0
- package/dist/_chunks/{alert-_mUKLmwA.js → alert-CHYZ96tR.js} +150 -96
- package/dist/_chunks/{alia-sidebar-Ckv0yCKi.js → alia-sidebar-B47qRQb5.js} +5 -5
- package/dist/_chunks/{anamnesis-card-N8pIKWuS.js → anamnesis-card-DvYCa16e.js} +3 -3
- package/dist/_chunks/anatomy-scheme-CJB6dI6p.js +2445 -0
- package/dist/_chunks/annotation-marker-qt5R9WZX.js +120 -0
- package/dist/_chunks/{antenatal-schedule-timeline-35ebkcZT.js → antenatal-schedule-timeline-CwXrQRm1.js} +2 -2
- package/dist/_chunks/appointment-card-C06aZqA7.js +310 -0
- package/dist/_chunks/appointment-timeline-BJM0S_Fg.js +386 -0
- package/dist/_chunks/appointment-tray-DRRw5ROi.js +193 -0
- package/dist/_chunks/{audio-recorder-DjXLP4aF.js → audio-recorder-Cpdk5qpQ.js} +60 -57
- package/dist/_chunks/{autocomplete-CcCFlVf-.js → autocomplete-DOeGouCL.js} +157 -132
- package/dist/_chunks/{badge-CqGsX32l.js → badge-DCOqV9mI.js} +32 -27
- package/dist/_chunks/bishop-score-DnYWtZa_.js +304 -0
- package/dist/_chunks/bmi-calculator-zjeY4E7J.js +434 -0
- package/dist/_chunks/{booking-L8-YP8BJ.js → booking-DUBI0oqt.js} +422 -399
- package/dist/_chunks/{breadcrumb-OTbaY70e.js → breadcrumb-CchdeG7d.js} +42 -28
- package/dist/_chunks/{calculator-dialog-CFk4I91b.js → calculator-dialog-BR5iU0kf.js} +2 -2
- package/dist/_chunks/{calendar-oYWOCrnf.js → calendar-CZUjL8SZ.js} +258 -201
- package/dist/_chunks/{care-plan-card-BwVUyUBb.js → care-plan-card-C5sTfY9G.js} +13 -9
- package/dist/_chunks/{care-plan-entry-card-VzdQHcOL.js → care-plan-entry-card-CXnxGCWA.js} +20 -16
- package/dist/_chunks/care-plan-header-BUwqDTtz.js +206 -0
- package/dist/_chunks/{carousel.agent-vt21A_el.js → carousel.agent-4v8Emr9E.js} +219 -198
- package/dist/_chunks/{chart-Cg3e9EH9.js → chart-CMr3eW62.js} +150 -109
- package/dist/_chunks/{chat-container-ogB4OskO.js → chat-container-DWho5hPR.js} +47 -34
- package/dist/_chunks/{chat-input-B5zjNEUN.js → chat-input-BcXTetgM.js} +57 -41
- package/dist/_chunks/{checkbox-DRcOdmXv.js → checkbox-BuZ1u__2.js} +41 -27
- package/dist/_chunks/{checkbox-group-CpUwlHug.js → checkbox-group-PqNmQ-cE.js} +3 -3
- package/dist/_chunks/clinical-note-card-BUvNMNGL.js +436 -0
- package/dist/_chunks/{collapsible-X3oaLPU3.js → collapsible-BrnRiCC6.js} +26 -23
- package/dist/_chunks/{color-picker-FXpItIaF.js → color-picker-C_fZl6sA.js} +124 -112
- package/dist/_chunks/{combobox-BC-DFx8G.js → combobox-Clum7gJ1.js} +165 -128
- package/dist/_chunks/{command-palette-BiPAAno-.js → command-palette-CJzmc5pC.js} +87 -64
- package/dist/_chunks/{contact-profile-card-7BMB85T6.js → contact-profile-card-DDPwRFiP.js} +13 -11
- package/dist/_chunks/control-room-rail-Y8ryLYsP.js +229 -0
- package/dist/_chunks/{copy-field-CCq7j6Zc.js → copy-field-Bjw9u2cV.js} +42 -35
- package/dist/_chunks/counter-dRlTNC_y.js +55 -0
- package/dist/_chunks/{cycle-calculator-BF0ointe.js → cycle-calculator-CCmPwcBl.js} +4 -4
- package/dist/_chunks/{date-picker-oGg5BnXL.js → date-picker-Dl9RKxaV.js} +76 -57
- package/dist/_chunks/{date-range-picker-C5BWfH_T.js → date-range-picker-CTUeR6Bj.js} +73 -46
- package/dist/_chunks/{date-time-picker-Ze1My59T.js → date-time-picker-BhoogS5Q.js} +64 -40
- package/dist/_chunks/{dependent-selector-DpzGtr_J.js → dependent-selector-DUV4thxX.js} +45 -31
- package/dist/_chunks/{dialog-DMGnSelc.js → dialog-ZNuboNmy.js} +35 -28
- package/dist/_chunks/{document-scanner-D2qehl3-.js → document-scanner-C_AxLooF.js} +13 -5
- package/dist/_chunks/{dropdown-menu-DwwPovMZ.js → dropdown-menu-qrxjymfw.js} +94 -93
- package/dist/_chunks/{due-date-calculator-DU9AEWNy.js → due-date-calculator-Brdj-euS.js} +6 -6
- package/dist/_chunks/editable-currency-cell-renderer-C9twtALM.js +328 -0
- package/dist/_chunks/email-input-DJ7EXklP.js +397 -0
- package/dist/_chunks/{entity-card-COhmqHly.js → entity-card-9_62gY7l.js} +38 -20
- package/dist/_chunks/entity-summary-BxRjFh_4.js +138 -0
- package/dist/_chunks/{fetal-weight-BVSzOhuR.js → fetal-weight-DNCkyeVo.js} +3 -3
- package/dist/_chunks/field-value-NXYczdpO.js +415 -0
- package/dist/_chunks/{file-upload-BosbPDb1.js → file-upload-DwZcAK8D.js} +119 -100
- package/dist/_chunks/{fiscal-code-input-DPtqluVb.js → fiscal-code-input-Cf-8O4Fj.js} +76 -63
- package/dist/_chunks/{freemium-paywall-CkWjv3o6.js → freemium-paywall-WYlNO7yT.js} +78 -71
- package/dist/_chunks/{gestational-age-calculator-DBlFdoiP.js → gestational-age-calculator-CF2ISaYQ.js} +7 -7
- package/dist/_chunks/hash-CysBBS_N.js +17 -0
- package/dist/_chunks/{hcg-doubling-if4Q8aSX.js → hcg-doubling-C7bmuaU3.js} +4 -4
- package/dist/_chunks/{header-settings-CNOqIhoW.js → header-settings-DJqoAl5m.js} +86 -46
- package/dist/_chunks/{index.modern-D2LGACWg.js → index.modern-Zta-A4Jm.js} +3 -3
- package/dist/_chunks/link-cell-renderer-CTXqtXV-.js +2184 -0
- package/dist/_chunks/{list-BOwqwy03.js → list-DgE1xWBM.js} +99 -84
- package/dist/_chunks/{locale-picker-C9JmBht3.js → locale-picker-ChYYSX2N.js} +47 -35
- package/dist/_chunks/lock-CKOIn0IK.js +15 -0
- package/dist/_chunks/{map-view-Tb5VfK9Y.js → map-view-BkOoGoX2.js} +160 -115
- package/dist/_chunks/{marketplace-app-shell-D4-T9Qzz.js → marketplace-app-shell-Skhfp6vK.js} +6 -6
- package/dist/_chunks/{message-card.agent-4IeIgrnJ.js → message-card.agent-ZLhx3Bs5.js} +6 -1
- package/dist/_chunks/{message-tray-CVyJajVJ.js → message-tray-DwrBLJlf.js} +90 -48
- package/dist/_chunks/{multi-select-BcPylvHR.js → multi-select-BdHHDrRN.js} +196 -153
- package/dist/_chunks/{navigation-menu-C6lBYVv9.js → navigation-menu-DRUi6sSj.js} +75 -42
- package/dist/_chunks/notes-panel-ay8_lPrA.js +158 -0
- package/dist/_chunks/{notification-card-BiESdm8q.js → notification-card-D2jiKSJJ.js} +27 -23
- package/dist/_chunks/{notification-card.agent-Rqt3ofk9.js → notification-card.agent-DxGBZb8T.js} +5 -1
- package/dist/_chunks/{notification-tray-DlgenTEe.js → notification-tray-AEun6DN2.js} +112 -97
- package/dist/_chunks/{number-input-Dj5L3pXK.js → number-input-DxphVG_A.js} +36 -27
- package/dist/_chunks/{operator-hero-f_KaRhw5.js → operator-hero-CR0Rqh4-.js} +14 -10
- package/dist/_chunks/{otp-input-xQ4Ps5VY.js → otp-input-DzBQ-CpE.js} +52 -33
- package/dist/_chunks/{pagination-DQOgnxxw.js → pagination-D58kglCr.js} +181 -162
- package/dist/_chunks/patient-details-Dlhqb5ig.js +675 -0
- package/dist/_chunks/{patient-search-DR9XUYRQ.js → patient-search-Be6cLrHR.js} +70 -61
- package/dist/_chunks/{patient-shell-BfgufL_q.js → patient-shell-DV3XEtIB.js} +3 -3
- package/dist/_chunks/patient-summary-card-WySCMwwA.js +437 -0
- package/dist/_chunks/patient-table-CHxf3Oqk.js +1110 -0
- package/dist/_chunks/{payment-form-nXocS_MX.js → payment-form-CxqIXqw7.js} +57 -45
- package/dist/_chunks/{payment-request-card-CYE5vhZ0.js → payment-request-card-BcZJwu9z.js} +125 -136
- package/dist/_chunks/{pdf-viewer-GsfNqeeT.js → pdf-viewer-QfebdLOd.js} +317 -291
- package/dist/_chunks/{periodontal-chart-card-Dh3KgvYG.js → periodontal-chart-card-hRRJY1NN.js} +3 -3
- package/dist/_chunks/{phone-input-DVXhNlIl.js → phone-input-DjU-XmO_.js} +64 -47
- package/dist/_chunks/{popover-DTbfAuR0.js → popover-B2qCDhJC.js} +37 -32
- package/dist/_chunks/{practice-results-DND2SAt7.js → practice-results-C6qDfxos.js} +280 -244
- package/dist/_chunks/{pregnancy-dating-QY-sqpvj.js → pregnancy-dating-CRVWswD-.js} +8 -8
- package/dist/_chunks/{pregnancy-weight-gain-DOJXXNYP.js → pregnancy-weight-gain-BUNpTsH-.js} +4 -4
- package/dist/_chunks/{privacy-lock-C7JyMf0y.js → privacy-lock-BzMLQu-j.js} +32 -28
- package/dist/_chunks/{product-hub-panel-CAXDFeGP.js → product-hub-panel-e6pW220e.js} +45 -27
- package/dist/_chunks/{progress-kzIRcdaq.js → progress-DA413-zn.js} +2 -2
- package/dist/_chunks/{public-footer.agent-CfXuW1x6.js → public-footer.agent-D0cFbjWl.js} +151 -146
- package/dist/_chunks/{public-header.agent-BOhJgZEU.js → public-header.agent-DqkqA-ca.js} +107 -102
- package/dist/_chunks/{qr-code-DNXhi6se.js → qr-code-CPkEs5mG.js} +52 -46
- package/dist/_chunks/{radio-group-CLjK-SlK.js → radio-group-BPt7pKZW.js} +5 -5
- package/dist/_chunks/radiograph-panel.agent-CAX-C3g3.js +558 -0
- package/dist/_chunks/{recaptcha-widget-BCNHsgqt.js → recaptcha-widget-BC-4To9b.js} +9 -2
- package/dist/_chunks/registry-DvAUVLHh.js +51 -0
- package/dist/_chunks/{resizable-3vzqDlg6.js → resizable-DVGcfOrk.js} +193 -173
- package/dist/_chunks/{reviews-panel-DBktKm7i.js → reviews-panel-Dq7LMDcH.js} +87 -68
- package/dist/_chunks/{rich-text-editor-VawKN1FI.js → rich-text-editor-DlCqPixb.js} +833 -728
- package/dist/_chunks/{search-bar-SY2BcV2N.js → search-bar-C_T3pBJn.js} +105 -78
- package/dist/_chunks/{search-input-DbxrnHkW.js → search-input-DQvGxR74.js} +2 -2
- package/dist/_chunks/{search-input.agent-CfZvViOd.js → search-input.agent-DRH54coT.js} +19 -4
- package/dist/_chunks/{select-CEtRcon5.js → select-DMLG44F5.js} +72 -56
- package/dist/_chunks/{session-countdown-LPnhTHjn.js → session-countdown-X1Ki6i0M.js} +3 -3
- package/dist/_chunks/{sheet-taJer-Ha.js → sheet-BxsE7eQm.js} +59 -45
- package/dist/_chunks/{sidebar-DaB4ulxH.js → sidebar-DY9jGjgt.js} +254 -248
- package/dist/_chunks/{sign-document-CdAiHiCh.js → sign-document-By6hMOra.js} +75 -49
- package/dist/_chunks/{signature-capture-COi0Uiqu.js → signature-capture-Ct_4Md4e.js} +138 -104
- package/dist/_chunks/{slider-BHWzXdjt.js → slider-DN1CWkKB.js} +85 -65
- package/dist/_chunks/{sparkline-DGhCSw8M.js → sparkline-iOXYgvJe.js} +75 -53
- package/dist/_chunks/{stepper-accordion-Dki6r9ZE.js → stepper-accordion-DC-H-8v4.js} +38 -48
- package/dist/_chunks/{stepper-accordion.agent-C4quJ-MD.js → stepper-accordion.agent-cmEguIdx.js} +7 -1
- package/dist/_chunks/{stepper-progress-DDjq5nei.js → stepper-progress-Bv0njx4g.js} +30 -24
- package/dist/_chunks/{suggestion-chip.agent-6sNWFj7m.js → suggestion-chip.agent-Brn3CiFE.js} +9 -8
- package/dist/_chunks/{switch-BJ6HD3Mn.js → switch-OILsBLWo.js} +25 -19
- package/dist/_chunks/tab-bar-Bv9nGNdO.js +262 -0
- package/dist/_chunks/{tabs-BIQ0ew1T.js → tabs-BxcOziCo.js} +67 -58
- package/dist/_chunks/{task-card.agent-CUPKYd7w.js → task-card.agent-Bt14CzUd.js} +4 -1
- package/dist/_chunks/{task-tray-CAncV-QQ.js → task-tray-qOEQflu4.js} +74 -57
- package/dist/_chunks/{text-area-BIx0tZ05.js → text-area-Bt3p7Pt0.js} +41 -34
- package/dist/_chunks/{text-input-BaClJL8Y.js → text-input-B-OWQ1Je.js} +15 -8
- package/dist/_chunks/{theme-toggle-DETmSu_h.js → theme-toggle-XB6o_lgs.js} +38 -26
- package/dist/_chunks/{time-picker-B5umYwfv.js → time-picker-BPlJWm8w.js} +41 -31
- package/dist/_chunks/{timeline-DQa5Tyz4.js → timeline-CqA4nKTI.js} +33 -25
- package/dist/_chunks/{toast.agent-vuLRRn2a.js → toast.agent-57UzyR9U.js} +62 -45
- package/dist/_chunks/tooth-scheme-BhQoPNBD.js +2131 -0
- package/dist/_chunks/{transaction-chip-DK84XCBU.js → transaction-chip-CscoQbxF.js} +88 -61
- package/dist/_chunks/{transcript-panel-CLHmv83g.js → transcript-panel-3THQX6nJ.js} +47 -33
- package/dist/_chunks/unit-converter-YEpD9evj.js +337 -0
- package/dist/_chunks/use-clamp-overflow-DQE2kwZ9.js +20 -0
- package/dist/_chunks/use-overflow-collapse-BIOzKbni.js +32 -0
- package/dist/_chunks/{use-password-requirements-DsgduV1x.js → use-password-requirements-BXvS2MBS.js} +131 -117
- package/dist/_chunks/use-persistent-state-nZwZAnE9.js +24 -0
- package/dist/_chunks/users-MBVtUzwd.js +17 -0
- package/dist/_chunks/warning-stack--sTrrBDA.js +268 -0
- package/dist/_chunks/{whatsapp-button-DUjlWGKf.js → whatsapp-button-BIy6NaJK.js} +6 -3
- package/dist/_chunks/{workflow-map-JAZryZJr.js → workflow-map-Dy8mLCqF.js} +101 -90
- package/dist/_chunks/zoom-out-CgVtf2Wx.js +29 -0
- package/dist/agent/index.d.ts +4 -4
- package/dist/agent/index.js +37 -0
- package/dist/agent/registry.d.ts +33 -0
- package/dist/agent/types.d.ts +97 -4
- package/dist/agent-catalog.json +8081 -518
- package/dist/agent-i18n/en.json +1277 -0
- package/dist/components/_shared/entity-card/entity-card.d.ts +6 -0
- package/dist/components/_shared/entity-card/index.d.ts +1 -1
- package/dist/components/_shared/field-value.d.ts +21 -0
- package/dist/components/_shared/field-visibility-cog.d.ts +20 -0
- package/dist/components/_shared/field-visibility.d.ts +36 -0
- package/dist/components/_shared/patient-fields.d.ts +119 -0
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/address-autocomplete/address-autocomplete.agent.d.ts +4 -0
- package/dist/components/address-autocomplete/address-autocomplete.d.ts +18 -0
- package/dist/components/address-autocomplete/index.d.ts +2 -1
- package/dist/components/address-autocomplete/index.js +3 -2
- package/dist/components/agenda-card/index.js +2 -2
- package/dist/components/agenda-tray/index.js +1 -1
- package/dist/components/ai-consent-banner/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/ai-tools-rail/ai-tools-rail.d.ts +75 -0
- package/dist/components/ai-tools-rail/index.js +1 -1
- package/dist/components/alert/alert.d.ts +5 -0
- package/dist/components/alert/index.js +1 -1
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/anatomy-scheme/anatomy-face-paths.d.ts +15 -0
- package/dist/components/anatomy-scheme/anatomy-muscle-paths.d.ts +20 -0
- package/dist/components/anatomy-scheme/anatomy-scheme-data.d.ts +121 -0
- package/dist/components/anatomy-scheme/anatomy-scheme.agent.d.ts +6 -0
- package/dist/components/anatomy-scheme/anatomy-scheme.d.ts +69 -0
- package/dist/components/anatomy-scheme/index.d.ts +6 -0
- package/dist/components/anatomy-scheme/index.js +17 -0
- package/dist/components/annotation-marker/annotation-marker.d.ts +33 -0
- package/dist/components/annotation-marker/index.d.ts +3 -0
- package/dist/components/annotation-marker/index.js +7 -0
- package/dist/components/appointment-card/appointment-card.d.ts +25 -1
- package/dist/components/appointment-card/index.js +6 -5
- package/dist/components/appointment-timeline/appointment-timeline.agent.d.ts +4 -0
- package/dist/components/appointment-timeline/appointment-timeline.d.ts +66 -0
- package/dist/components/appointment-timeline/index.d.ts +4 -0
- package/dist/components/appointment-timeline/index.js +6 -0
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/badge/badge.d.ts +6 -2
- package/dist/components/badge/index.js +1 -1
- package/dist/components/bishop-score/bishop-score.agent.d.ts +4 -0
- package/dist/components/bishop-score/bishop-score.d.ts +17 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/bmi-calculator/bmi-calculator.agent.d.ts +4 -0
- package/dist/components/bmi-calculator/bmi-calculator.d.ts +26 -0
- 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/calculator-dialog/index.js +1 -1
- package/dist/components/calendar/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/care-plan-header.agent.d.ts +4 -0
- package/dist/components/care-plan-header/care-plan-header.d.ts +100 -0
- package/dist/components/care-plan-header/index.d.ts +4 -0
- package/dist/components/care-plan-header/index.js +6 -0
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/clinical-note-card/clinical-note-card.d.ts +21 -1
- package/dist/components/clinical-note-card/index.js +1 -1
- package/dist/components/collapsible/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/contact-profile-card/index.js +1 -1
- package/dist/components/control-room-rail/control-room-context.d.ts +53 -0
- package/dist/components/control-room-rail/control-room-rail.d.ts +35 -0
- package/dist/components/control-room-rail/index.d.ts +5 -0
- package/dist/components/control-room-rail/index.js +9 -0
- package/dist/components/copy-field/index.js +1 -1
- package/dist/components/counter/counter.d.ts +22 -0
- package/dist/components/counter/index.d.ts +3 -0
- package/dist/components/counter/index.js +5 -0
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts +18 -0
- package/dist/components/data-table/index.d.ts +1 -1
- package/dist/components/data-table/index.js +32 -30
- 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/dialog/index.js +1 -1
- package/dist/components/document-scanner/index.js +1 -1
- package/dist/components/dropdown-menu/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/email-input/index.js +1 -1
- package/dist/components/entity-summary/entity-summary.d.ts +43 -0
- package/dist/components/entity-summary/index.d.ts +3 -0
- package/dist/components/entity-summary/index.js +5 -0
- package/dist/components/fetal-weight/index.js +1 -1
- package/dist/components/file-upload/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/freemium-paywall/freemium-paywall.d.ts +6 -0
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/header-settings/index.js +1 -1
- package/dist/components/index.d.ts +11 -0
- package/dist/components/list/index.js +1 -1
- package/dist/components/locale-picker/index.js +1 -1
- package/dist/components/map-view/index.js +1 -1
- package/dist/components/message-card/index.js +1 -1
- package/dist/components/message-tray/index.js +1 -1
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/navigation-menu/index.js +1 -1
- package/dist/components/notes-panel/index.d.ts +3 -0
- package/dist/components/notes-panel/index.js +5 -0
- package/dist/components/notes-panel/notes-panel.d.ts +64 -0
- package/dist/components/notification-card/index.js +2 -2
- 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/otp-input/index.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/password-input/index.js +1 -1
- package/dist/components/patient-details/index.d.ts +5 -0
- package/dist/components/patient-details/index.js +6 -0
- package/dist/components/patient-details/patient-details.agent.d.ts +4 -0
- package/dist/components/patient-details/patient-details.d.ts +96 -0
- 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 +40 -1
- package/dist/components/patient-table/cell-renderers/balance-badge-cell.d.ts +13 -0
- package/dist/components/patient-table/cell-renderers/care-plan-status-cell.d.ts +43 -0
- package/dist/components/patient-table/cell-renderers/next-appointment-cell.d.ts +24 -0
- package/dist/components/patient-table/columns.d.ts +131 -0
- package/dist/components/patient-table/index.d.ts +20 -0
- package/dist/components/patient-table/index.js +12 -0
- package/dist/components/patient-table/patient-table.d.ts +172 -0
- package/dist/components/patient-table/types.d.ts +222 -0
- package/dist/components/patient-table/use-responsive-columns.d.ts +111 -0
- 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-card/index.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/popover/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/pregnancy-weight-gain/index.js +1 -1
- package/dist/components/privacy-lock/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/progress/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/radio-group/index.js +1 -1
- package/dist/components/radiograph-panel/index.d.ts +4 -0
- package/dist/components/radiograph-panel/index.js +7 -0
- package/dist/components/radiograph-panel/radiograph-panel.agent.d.ts +13 -0
- package/dist/components/radiograph-panel/radiograph-panel.d.ts +36 -0
- package/dist/components/recaptcha-widget/index.js +1 -1
- package/dist/components/resizable/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-input/index.js +2 -2
- 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 +2 -2
- package/dist/components/sidebar/sidebar.d.ts +7 -0
- package/dist/components/sign-document/index.js +1 -1
- package/dist/components/signature-capture/index.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/sparkline/index.js +1 -1
- package/dist/components/stepper-accordion/index.js +2 -2
- package/dist/components/stepper-progress/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/tab-bar/tab-bar.d.ts +18 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-tray/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/toast/index.js +1 -1
- package/dist/components/tooth-scheme/index.d.ts +2 -2
- package/dist/components/tooth-scheme/index.js +30 -23
- package/dist/components/tooth-scheme/tooth-data.d.ts +112 -1
- package/dist/components/tooth-scheme/tooth-scheme.agent.d.ts +2 -2
- package/dist/components/tooth-scheme/tooth-scheme.d.ts +75 -11
- package/dist/components/transaction-chip/index.js +1 -1
- package/dist/components/transaction-chip/transaction-chip.d.ts +2 -2
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/unit-converter/unit-converter.agent.d.ts +4 -0
- package/dist/components/unit-converter/unit-converter.d.ts +27 -0
- package/dist/components/warning-stack/index.js +1 -1
- package/dist/components/warning-stack/warning-stack.d.ts +14 -2
- package/dist/components/whatsapp-button/index.d.ts +1 -1
- package/dist/components/whatsapp-button/index.js +3 -2
- package/dist/components/whatsapp-button/whatsapp-button.d.ts +3 -0
- package/dist/components/workflow/index.js +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +24 -22
- package/dist/hooks/use-clamp-overflow.d.ts +19 -0
- package/dist/hooks/use-overflow-collapse.d.ts +46 -0
- package/dist/hooks/use-persistent-state.d.ts +7 -1
- package/dist/hooks/use-scroll-overflow.d.ts +36 -0
- package/dist/i18n/locales/ar.d.ts +356 -0
- package/dist/i18n/locales/ar.js +370 -3
- package/dist/i18n/locales/de.d.ts +356 -0
- package/dist/i18n/locales/de.js +370 -3
- package/dist/i18n/locales/el.d.ts +356 -0
- package/dist/i18n/locales/el.js +370 -3
- package/dist/i18n/locales/en.d.ts +367 -0
- package/dist/i18n/locales/en.js +381 -3
- package/dist/i18n/locales/es.d.ts +356 -0
- package/dist/i18n/locales/es.js +370 -3
- package/dist/i18n/locales/fr.d.ts +356 -0
- package/dist/i18n/locales/fr.js +370 -3
- package/dist/i18n/locales/hi.d.ts +356 -0
- package/dist/i18n/locales/hi.js +370 -3
- package/dist/i18n/locales/it.d.ts +356 -0
- package/dist/i18n/locales/it.js +370 -3
- package/dist/i18n/locales/ja.d.ts +356 -0
- package/dist/i18n/locales/ja.js +370 -3
- package/dist/i18n/locales/nl.d.ts +356 -0
- package/dist/i18n/locales/nl.js +370 -3
- package/dist/i18n/locales/pl.d.ts +356 -0
- package/dist/i18n/locales/pl.js +370 -3
- package/dist/i18n/locales/pt.d.ts +356 -0
- package/dist/i18n/locales/pt.js +370 -3
- package/dist/i18n/locales/ro.d.ts +356 -0
- package/dist/i18n/locales/ro.js +370 -3
- package/dist/i18n/locales/ru.d.ts +356 -0
- package/dist/i18n/locales/ru.js +370 -3
- package/dist/i18n/locales/sq.d.ts +356 -0
- package/dist/i18n/locales/sq.js +370 -3
- package/dist/i18n/locales/sv.d.ts +356 -0
- package/dist/i18n/locales/sv.js +370 -3
- package/dist/i18n/locales/tr.d.ts +356 -0
- package/dist/i18n/locales/tr.js +370 -3
- package/dist/i18n/locales/zh.d.ts +356 -0
- package/dist/i18n/locales/zh.js +370 -3
- package/dist/index.js +740 -676
- package/dist/locales/ar.json +359 -3
- package/dist/locales/de.json +359 -3
- package/dist/locales/el.json +359 -3
- package/dist/locales/en.json +359 -3
- package/dist/locales/es.json +359 -3
- package/dist/locales/fr.json +359 -3
- package/dist/locales/hi.json +359 -3
- package/dist/locales/it.json +359 -3
- package/dist/locales/ja.json +359 -3
- package/dist/locales/nl.json +359 -3
- package/dist/locales/pl.json +359 -3
- package/dist/locales/pt.json +359 -3
- package/dist/locales/ro.json +359 -3
- package/dist/locales/ru.json +359 -3
- package/dist/locales/sq.json +359 -3
- package/dist/locales/sv.json +359 -3
- package/dist/locales/tr.json +359 -3
- package/dist/locales/zh.json +359 -3
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/patient-shell/index.js +1 -1
- package/dist/tokens.css +3 -2
- package/package.json +50 -1
- package/dist/_chunks/address-autocomplete-CT-9AOli.js +0 -358
- package/dist/_chunks/ai-tools-rail-CInA_1-E.js +0 -356
- package/dist/_chunks/appointment-tray-BMl89NPW.js +0 -419
- package/dist/_chunks/bishop-score-CjsB9bM-.js +0 -185
- package/dist/_chunks/bmi-calculator-n-823_1V.js +0 -258
- package/dist/_chunks/clinical-note-card-gtrxv6zn.js +0 -333
- package/dist/_chunks/editable-currency-cell-renderer-DHOspPee.js +0 -2409
- package/dist/_chunks/email-input-lQivsFrw.js +0 -396
- package/dist/_chunks/patient-summary-card-hEmr4eTW.js +0 -443
- package/dist/_chunks/registry-nPAVE19X.js +0 -21
- package/dist/_chunks/tab-bar-B1ovILzh.js +0 -105
- package/dist/_chunks/tooth-scheme-BIx1O2aJ.js +0 -1257
- package/dist/_chunks/unit-converter-C1V3ACM9.js +0 -196
- package/dist/_chunks/use-persistent-state-i23OWy6G.js +0 -24
- package/dist/_chunks/warning-stack-Cv4fr5zo.js +0 -220
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as me, useRef as _, useState as ne, useEffect as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
1
|
+
import { jsxs as C, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as me, useRef as _, useState as ne, useEffect as G, useMemo as l, useImperativeHandle as Je, useCallback as z } from "react";
|
|
3
|
+
import { c as Ze } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as ae } from "react-i18next";
|
|
5
5
|
import Ye from "@fullcalendar/react";
|
|
6
6
|
import Qe from "@fullcalendar/daygrid";
|
|
7
7
|
import Xe from "@fullcalendar/timegrid";
|
|
@@ -9,16 +9,16 @@ import et from "@fullcalendar/list";
|
|
|
9
9
|
import tt from "@fullcalendar/resource";
|
|
10
10
|
import rt from "@fullcalendar/resource-timegrid";
|
|
11
11
|
import nt from "@fullcalendar/resource-timeline";
|
|
12
|
-
import
|
|
13
|
-
import
|
|
12
|
+
import at from "@fullcalendar/timeline";
|
|
13
|
+
import st from "@fullcalendar/interaction";
|
|
14
14
|
import { u as ot } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
15
|
-
import { u as it } from "./registry-
|
|
15
|
+
import { u as it } from "./registry-DvAUVLHh.js";
|
|
16
16
|
import { C as de } from "./chevron-right-BrpYejk0.js";
|
|
17
|
-
import { C as
|
|
18
|
-
import { c as
|
|
17
|
+
import { C as ce } from "./chevron-left-CX1jqD2M.js";
|
|
18
|
+
import { c as H } from "./createLucideIcon-CrFbzy84.js";
|
|
19
19
|
import { C as dt } from "./check-DPdL_Sm7.js";
|
|
20
|
-
import { S as
|
|
21
|
-
import { C as
|
|
20
|
+
import { S as ct } from "./stethoscope-DT5qCW8Y.js";
|
|
21
|
+
import { C as lt } from "./clock-21AGPWJ5.js";
|
|
22
22
|
import { G as ut } from "./globe-BkEFMNSg.js";
|
|
23
23
|
import { T as mt } from "./triangle-alert-CBPUIzQo.js";
|
|
24
24
|
import { H as ft } from "./heart-pulse-CvuyFKHB.js";
|
|
@@ -32,7 +32,7 @@ import { V as vt } from "./video-BAeICxCT.js";
|
|
|
32
32
|
const pt = [
|
|
33
33
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
34
34
|
["path", { d: "M4.929 4.929 19.07 19.071", key: "196cmz" }]
|
|
35
|
-
], gt =
|
|
35
|
+
], gt = H("ban", pt);
|
|
36
36
|
/**
|
|
37
37
|
* @license lucide-react v1.8.0 - ISC
|
|
38
38
|
*
|
|
@@ -49,7 +49,7 @@ const ht = [
|
|
|
49
49
|
key: "1j6lzo"
|
|
50
50
|
}
|
|
51
51
|
]
|
|
52
|
-
], bt =
|
|
52
|
+
], bt = H("euro", ht);
|
|
53
53
|
/**
|
|
54
54
|
* @license lucide-react v1.8.0 - ISC
|
|
55
55
|
*
|
|
@@ -65,7 +65,7 @@ const yt = [
|
|
|
65
65
|
}
|
|
66
66
|
],
|
|
67
67
|
["path", { d: "M7 10v12", key: "1qc93n" }]
|
|
68
|
-
], xt =
|
|
68
|
+
], xt = H("thumbs-up", yt);
|
|
69
69
|
/**
|
|
70
70
|
* @license lucide-react v1.8.0 - ISC
|
|
71
71
|
*
|
|
@@ -80,7 +80,7 @@ const Tt = [
|
|
|
80
80
|
key: "1xq2db"
|
|
81
81
|
}
|
|
82
82
|
]
|
|
83
|
-
],
|
|
83
|
+
], wt = H("zap", Tt);
|
|
84
84
|
const kt = {
|
|
85
85
|
id: "calendar",
|
|
86
86
|
capabilities: ["view_change", "range_navigate", "pick"],
|
|
@@ -96,8 +96,8 @@ const kt = {
|
|
|
96
96
|
descriptionKey: "ui.agent.calendar.state.currentDate",
|
|
97
97
|
description: "ISO date anchor of the visible range.",
|
|
98
98
|
read: (r) => {
|
|
99
|
-
var
|
|
100
|
-
return ((
|
|
99
|
+
var s;
|
|
100
|
+
return ((s = r.getCurrentDate()) == null ? void 0 : s.toISOString()) ?? null;
|
|
101
101
|
}
|
|
102
102
|
},
|
|
103
103
|
currentTitle: {
|
|
@@ -110,6 +110,7 @@ const kt = {
|
|
|
110
110
|
actions: {
|
|
111
111
|
today: {
|
|
112
112
|
safety: "read",
|
|
113
|
+
idempotent: !0,
|
|
113
114
|
descriptionKey: "ui.agent.calendar.actions.today",
|
|
114
115
|
description: "Jump to the current day.",
|
|
115
116
|
invoke: (r) => {
|
|
@@ -117,6 +118,7 @@ const kt = {
|
|
|
117
118
|
}
|
|
118
119
|
},
|
|
119
120
|
prev: {
|
|
121
|
+
// Not idempotent: each call steps one range further back.
|
|
120
122
|
safety: "read",
|
|
121
123
|
descriptionKey: "ui.agent.calendar.actions.prev",
|
|
122
124
|
description: "Move to the previous range.",
|
|
@@ -125,6 +127,7 @@ const kt = {
|
|
|
125
127
|
}
|
|
126
128
|
},
|
|
127
129
|
next: {
|
|
130
|
+
// Not idempotent: each call steps one range further forward.
|
|
128
131
|
safety: "read",
|
|
129
132
|
descriptionKey: "ui.agent.calendar.actions.next",
|
|
130
133
|
description: "Move to the next range.",
|
|
@@ -135,28 +138,82 @@ const kt = {
|
|
|
135
138
|
goto_date: {
|
|
136
139
|
safety: "read",
|
|
137
140
|
argsType: "{ date: string | Date }",
|
|
141
|
+
argsSchema: {
|
|
142
|
+
type: "object",
|
|
143
|
+
properties: {
|
|
144
|
+
date: {
|
|
145
|
+
type: "string",
|
|
146
|
+
format: "date",
|
|
147
|
+
description: "Target date — ISO 8601 string (or Date at runtime)."
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
required: ["date"]
|
|
151
|
+
},
|
|
152
|
+
idempotent: !0,
|
|
138
153
|
descriptionKey: "ui.agent.calendar.actions.gotoDate",
|
|
139
154
|
description: "Navigate to a specific date.",
|
|
140
|
-
|
|
141
|
-
|
|
155
|
+
examples: [
|
|
156
|
+
{ args: { date: "2026-04-15" }, note: "Jump to 15 April 2026." }
|
|
157
|
+
],
|
|
158
|
+
invoke: (r, s) => {
|
|
159
|
+
r.gotoDate(s.date);
|
|
142
160
|
}
|
|
143
161
|
},
|
|
144
162
|
change_view: {
|
|
145
163
|
safety: "read",
|
|
146
164
|
argsType: "{ view: CalendarView }",
|
|
165
|
+
argsSchema: {
|
|
166
|
+
type: "object",
|
|
167
|
+
properties: {
|
|
168
|
+
view: {
|
|
169
|
+
type: "string",
|
|
170
|
+
enum: [
|
|
171
|
+
"dayGridMonth",
|
|
172
|
+
"timeGridWeek",
|
|
173
|
+
"timeGridDay",
|
|
174
|
+
"listWeek",
|
|
175
|
+
"resourceTimeGridDayChair",
|
|
176
|
+
"resourceTimeGridThreeDaysChair",
|
|
177
|
+
"resourceTimeGridWeekChair",
|
|
178
|
+
"resourceTimeGridDayOperator",
|
|
179
|
+
"resourceTimeGridThreeDaysOperator",
|
|
180
|
+
"resourceTimeGridWeekOperator"
|
|
181
|
+
],
|
|
182
|
+
description: "Target view name."
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
required: ["view"]
|
|
186
|
+
},
|
|
187
|
+
idempotent: !0,
|
|
147
188
|
descriptionKey: "ui.agent.calendar.actions.changeView",
|
|
148
189
|
description: "Switch the calendar to the given view.",
|
|
149
|
-
|
|
150
|
-
|
|
190
|
+
examples: [
|
|
191
|
+
{ args: { view: "timeGridWeek" }, note: "Switch to the week view." }
|
|
192
|
+
],
|
|
193
|
+
invoke: (r, s) => {
|
|
194
|
+
r.changeView(s.view);
|
|
151
195
|
}
|
|
152
196
|
},
|
|
153
197
|
focus_event: {
|
|
198
|
+
// pick: transient focus + highlight of an event — no persisted selection.
|
|
199
|
+
// Not idempotent: each call re-triggers the flash highlight.
|
|
154
200
|
safety: "read",
|
|
155
201
|
argsType: "{ eventId: string }",
|
|
202
|
+
argsSchema: {
|
|
203
|
+
type: "object",
|
|
204
|
+
properties: {
|
|
205
|
+
eventId: {
|
|
206
|
+
type: "string",
|
|
207
|
+
description: "Stable event id (matches a data-event-id node)."
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
required: ["eventId"]
|
|
211
|
+
},
|
|
156
212
|
descriptionKey: "ui.agent.calendar.actions.focusEvent",
|
|
157
213
|
description: "Scroll an event into view and briefly highlight it.",
|
|
158
|
-
|
|
159
|
-
|
|
214
|
+
errors: ["No DOM node matches the given event id — no-op."],
|
|
215
|
+
invoke: (r, s) => {
|
|
216
|
+
r.focusEvent(s.eventId);
|
|
160
217
|
}
|
|
161
218
|
}
|
|
162
219
|
},
|
|
@@ -176,7 +233,7 @@ const kt = {
|
|
|
176
233
|
description: "Emitted on every rendered FullCalendar event by the kit event renderer. Used by focusEvent."
|
|
177
234
|
}
|
|
178
235
|
}
|
|
179
|
-
},
|
|
236
|
+
}, Ct = {
|
|
180
237
|
vertical: {
|
|
181
238
|
Day: "resourceTimeGridDay",
|
|
182
239
|
ThreeDays: "resourceTimeGridThreeDays",
|
|
@@ -193,14 +250,14 @@ const kt = {
|
|
|
193
250
|
"timeGridDay",
|
|
194
251
|
"listWeek"
|
|
195
252
|
]);
|
|
196
|
-
function
|
|
253
|
+
function le(r, s = "vertical") {
|
|
197
254
|
if (Dt.has(r))
|
|
198
255
|
return r;
|
|
199
256
|
const u = r.replace(/^resourceTimeGrid/, "").replace(
|
|
200
257
|
/(Chair|Operator)$/,
|
|
201
258
|
""
|
|
202
259
|
);
|
|
203
|
-
return
|
|
260
|
+
return Ct[s][u];
|
|
204
261
|
}
|
|
205
262
|
const Nt = {
|
|
206
263
|
resourceTimeGridThreeDays: {
|
|
@@ -211,7 +268,7 @@ const Nt = {
|
|
|
211
268
|
type: "resourceTimeline",
|
|
212
269
|
duration: { days: 3 }
|
|
213
270
|
}
|
|
214
|
-
}, At =
|
|
271
|
+
}, At = Ze(
|
|
215
272
|
[
|
|
216
273
|
"ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
217
274
|
"ds:w-full ds:h-full",
|
|
@@ -251,32 +308,32 @@ const Nt = {
|
|
|
251
308
|
}
|
|
252
309
|
), It = {
|
|
253
310
|
confirmed: xt,
|
|
254
|
-
waiting:
|
|
255
|
-
in_care:
|
|
311
|
+
waiting: lt,
|
|
312
|
+
in_care: ct,
|
|
256
313
|
done: dt,
|
|
257
314
|
cancelled: gt,
|
|
258
|
-
absent:
|
|
259
|
-
},
|
|
315
|
+
absent: wt
|
|
316
|
+
}, St = {
|
|
260
317
|
create: "calendar.modeBanner.create",
|
|
261
318
|
move: "calendar.modeBanner.move",
|
|
262
319
|
copy: "calendar.modeBanner.copy"
|
|
263
320
|
};
|
|
264
|
-
function
|
|
321
|
+
function Pt(r) {
|
|
265
322
|
try {
|
|
266
|
-
const
|
|
323
|
+
const s = new Intl.Locale(r), d = typeof s.getWeekInfo == "function" ? s.getWeekInfo() : s.weekInfo;
|
|
267
324
|
if (d && typeof d.firstDay == "number")
|
|
268
325
|
return d.firstDay % 7;
|
|
269
326
|
} catch {
|
|
270
327
|
}
|
|
271
328
|
return r.startsWith("en-US") || r.startsWith("he") || r.startsWith("ar-SA") ? 0 : 1;
|
|
272
329
|
}
|
|
273
|
-
function
|
|
274
|
-
const { i18n: r } =
|
|
330
|
+
function Mt() {
|
|
331
|
+
const { i18n: r } = ae(), [s, d] = ne(() => {
|
|
275
332
|
if (typeof document > "u") return !1;
|
|
276
333
|
const u = document.documentElement.getAttribute("dir"), h = typeof r.dir == "function" ? r.dir() : "ltr";
|
|
277
334
|
return u === "rtl" || h === "rtl";
|
|
278
335
|
});
|
|
279
|
-
return
|
|
336
|
+
return G(() => {
|
|
280
337
|
if (typeof document > "u") return;
|
|
281
338
|
const u = new MutationObserver(() => {
|
|
282
339
|
const h = document.documentElement.getAttribute("dir"), D = typeof r.dir == "function" ? r.dir() : "ltr";
|
|
@@ -286,54 +343,54 @@ function Et() {
|
|
|
286
343
|
attributes: !0,
|
|
287
344
|
attributeFilter: ["dir", "lang"]
|
|
288
345
|
}), () => u.disconnect();
|
|
289
|
-
}, [r]),
|
|
346
|
+
}, [r]), s;
|
|
290
347
|
}
|
|
291
|
-
function
|
|
348
|
+
function Et({
|
|
292
349
|
arg: r,
|
|
293
|
-
locale:
|
|
350
|
+
locale: s,
|
|
294
351
|
resources: d,
|
|
295
352
|
statusLabels: u,
|
|
296
353
|
privacyMode: h,
|
|
297
354
|
showTime: D
|
|
298
355
|
}) {
|
|
299
|
-
var
|
|
356
|
+
var W;
|
|
300
357
|
const N = r.event.extendedProps ?? {}, {
|
|
301
358
|
status: m,
|
|
302
359
|
backgroundColor: v,
|
|
303
360
|
textColor: f,
|
|
304
361
|
suffix: y,
|
|
305
362
|
privacyModeTitle: A,
|
|
306
|
-
isBookedOnline:
|
|
363
|
+
isBookedOnline: O,
|
|
307
364
|
hasUnassignedPatient: U,
|
|
308
365
|
hasHighlightedAnamnesis: K,
|
|
309
366
|
hasBillableAmount: $,
|
|
310
367
|
isTelehealth: p,
|
|
311
368
|
resourceId: I
|
|
312
|
-
} = N,
|
|
313
|
-
let
|
|
369
|
+
} = N, B = m ? It[m] : null, x = r.event.start, T = r.event.end ?? r.event.start, V = r.event.allDay;
|
|
370
|
+
let S = "";
|
|
314
371
|
if (x && T)
|
|
315
372
|
try {
|
|
316
|
-
const
|
|
373
|
+
const w = new Intl.DateTimeFormat(s, {
|
|
317
374
|
hour: "2-digit",
|
|
318
375
|
minute: "2-digit",
|
|
319
376
|
hour12: !1
|
|
320
377
|
});
|
|
321
|
-
|
|
378
|
+
S = typeof w.formatRange == "function" ? w.formatRange(x, T) : `${w.format(x)} – ${w.format(T)}`;
|
|
322
379
|
} catch {
|
|
323
|
-
|
|
380
|
+
S = "";
|
|
324
381
|
}
|
|
325
|
-
const
|
|
382
|
+
const J = I ? (W = d.find((w) => w.id === I)) == null ? void 0 : W.title : void 0, Z = m ? u[m] : void 0, j = h ? A ?? "•••" : r.event.title, Y = [j, S, J, Z].filter(Boolean).join(", "), Q = v || f ? {
|
|
326
383
|
...v ? { "--calendar-event-bg": v } : {},
|
|
327
384
|
...f ? { "--calendar-event-text": f } : {}
|
|
328
385
|
} : void 0;
|
|
329
386
|
(v || f) && (`${r.event.id}`, void 0);
|
|
330
387
|
const X = [
|
|
331
388
|
At({ status: m ?? "default" }),
|
|
332
|
-
|
|
389
|
+
O ? "event-booked-online" : null,
|
|
333
390
|
v ? "ds:[background-color:var(--calendar-event-bg)]" : null,
|
|
334
391
|
f ? "ds:[color:var(--calendar-event-text)]" : null
|
|
335
392
|
].filter(Boolean).join(" ");
|
|
336
|
-
return /* @__PURE__ */
|
|
393
|
+
return /* @__PURE__ */ C(
|
|
337
394
|
"div",
|
|
338
395
|
{
|
|
339
396
|
className: X,
|
|
@@ -341,23 +398,23 @@ function Rt({
|
|
|
341
398
|
"aria-label": Y,
|
|
342
399
|
"data-event-id": r.event.id,
|
|
343
400
|
children: [
|
|
344
|
-
/* @__PURE__ */
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
U ? /* @__PURE__ */
|
|
348
|
-
K ? /* @__PURE__ */
|
|
349
|
-
$ ? /* @__PURE__ */
|
|
350
|
-
p ? /* @__PURE__ */
|
|
401
|
+
/* @__PURE__ */ C("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:self-end", children: [
|
|
402
|
+
B ? /* @__PURE__ */ a(B, { size: 14, "aria-hidden": "true" }) : null,
|
|
403
|
+
O ? /* @__PURE__ */ a(ut, { size: 12, "aria-hidden": "true" }) : null,
|
|
404
|
+
U ? /* @__PURE__ */ a(mt, { size: 12, "aria-hidden": "true" }) : null,
|
|
405
|
+
K ? /* @__PURE__ */ a(ft, { size: 12, "aria-hidden": "true" }) : null,
|
|
406
|
+
$ ? /* @__PURE__ */ a(bt, { size: 12, "aria-hidden": "true" }) : null,
|
|
407
|
+
p ? /* @__PURE__ */ a(vt, { size: 12, "aria-hidden": "true" }) : null
|
|
351
408
|
] }),
|
|
352
|
-
D && !
|
|
409
|
+
D && !V && S ? (
|
|
353
410
|
// No opacity here — composing 70% over saturated bgs (success /
|
|
354
411
|
// destructive / primary) drops effective contrast below WCAG AA
|
|
355
412
|
// (≤ 3.82:1 measured). The smaller font-size-xs vs the title's
|
|
356
413
|
// font-weight-semibold provides sufficient visual hierarchy.
|
|
357
|
-
/* @__PURE__ */
|
|
414
|
+
/* @__PURE__ */ a("span", { className: "ds:text-[length:var(--font-size-xs)]", children: S })
|
|
358
415
|
) : null,
|
|
359
|
-
/* @__PURE__ */
|
|
360
|
-
y ? /* @__PURE__ */
|
|
416
|
+
/* @__PURE__ */ a("span", { className: "ds:font-[var(--font-weight-semibold)] ds:truncate ds:text-start", children: j }),
|
|
417
|
+
y ? /* @__PURE__ */ a("span", { className: "ds:truncate ds:text-start ds:text-[length:var(--font-size-xs)]", children: y }) : null
|
|
361
418
|
]
|
|
362
419
|
}
|
|
363
420
|
);
|
|
@@ -375,15 +432,15 @@ const fe = [
|
|
|
375
432
|
"ds:focus-visible:outline-[var(--ring)]",
|
|
376
433
|
"ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
377
434
|
"ds:motion-reduce:transition-none"
|
|
378
|
-
].join(" "),
|
|
435
|
+
].join(" "), Rt = [
|
|
379
436
|
fe,
|
|
380
437
|
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]"
|
|
381
438
|
].join(" "), ue = [
|
|
382
439
|
fe,
|
|
383
440
|
"ds:min-w-[var(--min-target-size)]"
|
|
384
|
-
].join(" "),
|
|
385
|
-
({ title: r, onToday:
|
|
386
|
-
const { t: m } =
|
|
441
|
+
].join(" "), se = me(
|
|
442
|
+
({ title: r, onToday: s, onPrev: d, onNext: u, end: h, className: D }, N) => {
|
|
443
|
+
const { t: m } = ae(), v = Mt(), f = v ? de : ce, y = v ? ce : de, A = [
|
|
387
444
|
"ds:calendar-toolbar",
|
|
388
445
|
"ds:sticky ds:top-0 ds:z-20",
|
|
389
446
|
"ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
@@ -393,39 +450,39 @@ const fe = [
|
|
|
393
450
|
"ds:border-b ds:border-[var(--border)]",
|
|
394
451
|
D
|
|
395
452
|
].filter(Boolean).join(" ");
|
|
396
|
-
return /* @__PURE__ */
|
|
397
|
-
/* @__PURE__ */
|
|
398
|
-
/* @__PURE__ */
|
|
453
|
+
return /* @__PURE__ */ C("div", { ref: N, className: A, children: [
|
|
454
|
+
/* @__PURE__ */ C("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
455
|
+
/* @__PURE__ */ a(
|
|
399
456
|
"button",
|
|
400
457
|
{
|
|
401
458
|
type: "button",
|
|
402
|
-
onClick:
|
|
403
|
-
className:
|
|
459
|
+
onClick: s,
|
|
460
|
+
className: Rt,
|
|
404
461
|
children: m("calendar.today")
|
|
405
462
|
}
|
|
406
463
|
),
|
|
407
|
-
/* @__PURE__ */
|
|
464
|
+
/* @__PURE__ */ a(
|
|
408
465
|
"button",
|
|
409
466
|
{
|
|
410
467
|
type: "button",
|
|
411
468
|
onClick: d,
|
|
412
469
|
"aria-label": m("calendar.previousPeriod"),
|
|
413
470
|
className: ue,
|
|
414
|
-
children: /* @__PURE__ */
|
|
471
|
+
children: /* @__PURE__ */ a(f, { size: 16, "aria-hidden": "true" })
|
|
415
472
|
}
|
|
416
473
|
),
|
|
417
|
-
/* @__PURE__ */
|
|
474
|
+
/* @__PURE__ */ a(
|
|
418
475
|
"button",
|
|
419
476
|
{
|
|
420
477
|
type: "button",
|
|
421
478
|
onClick: u,
|
|
422
479
|
"aria-label": m("calendar.nextPeriod"),
|
|
423
480
|
className: ue,
|
|
424
|
-
children: /* @__PURE__ */
|
|
481
|
+
children: /* @__PURE__ */ a(y, { size: 16, "aria-hidden": "true" })
|
|
425
482
|
}
|
|
426
483
|
)
|
|
427
484
|
] }),
|
|
428
|
-
r ? /* @__PURE__ */
|
|
485
|
+
r ? /* @__PURE__ */ a(
|
|
429
486
|
"h2",
|
|
430
487
|
{
|
|
431
488
|
"aria-live": "polite",
|
|
@@ -438,17 +495,17 @@ const fe = [
|
|
|
438
495
|
axe's `empty-heading` rule, so we substitute a decorative
|
|
439
496
|
spacer that matches the h2's flex sizing. Once `title` is
|
|
440
497
|
non-empty the h2 renders in the same slot. */
|
|
441
|
-
/* @__PURE__ */
|
|
498
|
+
/* @__PURE__ */ a("div", { "aria-hidden": "true", className: "ds:flex-1 ds:text-center" })
|
|
442
499
|
),
|
|
443
|
-
h ? /* @__PURE__ */
|
|
500
|
+
h ? /* @__PURE__ */ a("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: h }) : null
|
|
444
501
|
] });
|
|
445
502
|
}
|
|
446
503
|
);
|
|
447
|
-
|
|
504
|
+
se.displayName = "Calendar.Toolbar";
|
|
448
505
|
const ve = me(
|
|
449
506
|
({
|
|
450
507
|
id: r,
|
|
451
|
-
events:
|
|
508
|
+
events: s,
|
|
452
509
|
resources: d,
|
|
453
510
|
view: u = "dayGridMonth",
|
|
454
511
|
initialDate: h,
|
|
@@ -459,54 +516,54 @@ const ve = me(
|
|
|
459
516
|
onEventClick: f,
|
|
460
517
|
onDateSelect: y,
|
|
461
518
|
editable: A = !1,
|
|
462
|
-
eventDurationEditable:
|
|
519
|
+
eventDurationEditable: O,
|
|
463
520
|
selectable: U = !1,
|
|
464
521
|
height: K,
|
|
465
522
|
className: $,
|
|
466
523
|
privacyMode: p = !1,
|
|
467
524
|
mode: I = "default",
|
|
468
|
-
modeLabel:
|
|
525
|
+
modeLabel: B,
|
|
469
526
|
modeBannerColor: x,
|
|
470
527
|
modeBannerTextColor: T,
|
|
471
|
-
onModeCancel:
|
|
472
|
-
alertBanner:
|
|
473
|
-
slotMinTime:
|
|
474
|
-
slotMaxTime:
|
|
528
|
+
onModeCancel: V,
|
|
529
|
+
alertBanner: S,
|
|
530
|
+
slotMinTime: J,
|
|
531
|
+
slotMaxTime: Z,
|
|
475
532
|
slotDuration: j,
|
|
476
533
|
showTime: Y = !0,
|
|
477
534
|
datesAboveResources: Q = !0,
|
|
478
535
|
slotEventOverlap: X = !1,
|
|
479
|
-
stickyHeaderDates:
|
|
480
|
-
nowIndicator:
|
|
536
|
+
stickyHeaderDates: W = !0,
|
|
537
|
+
nowIndicator: w = !0,
|
|
481
538
|
dayMaxEvents: pe = !0,
|
|
482
539
|
schedulerLicenseKey: ge = void 0,
|
|
483
540
|
toolbar: he = !0,
|
|
484
541
|
toolbarEnd: be,
|
|
485
|
-
resourceLayout:
|
|
542
|
+
resourceLayout: L = "vertical",
|
|
486
543
|
showResourceInitials: oe = !1
|
|
487
544
|
}, ye) => {
|
|
488
|
-
const { t: o, i18n:
|
|
545
|
+
const { t: o, i18n: M } = ae(), P = _(null), ee = _(null), b = _(null), k = _(null), E = _(null), q = D ?? M.language ?? "en", [xe, Te] = ne(() => {
|
|
489
546
|
if (typeof document > "u") return "ltr";
|
|
490
|
-
const e = document.documentElement.getAttribute("dir"), t = typeof
|
|
547
|
+
const e = document.documentElement.getAttribute("dir"), t = typeof M.dir == "function" ? M.dir() : "ltr";
|
|
491
548
|
return e === "rtl" || t === "rtl" ? "rtl" : "ltr";
|
|
492
549
|
});
|
|
493
|
-
|
|
550
|
+
G(() => {
|
|
494
551
|
if (typeof document > "u") return;
|
|
495
552
|
const e = new MutationObserver(() => {
|
|
496
|
-
const t = document.documentElement.getAttribute("dir"), n = typeof
|
|
553
|
+
const t = document.documentElement.getAttribute("dir"), n = typeof M.dir == "function" ? M.dir() : "ltr";
|
|
497
554
|
Te(t === "rtl" || n === "rtl" ? "rtl" : "ltr");
|
|
498
555
|
});
|
|
499
556
|
return e.observe(document.documentElement, {
|
|
500
557
|
attributes: !0,
|
|
501
558
|
attributeFilter: ["dir", "lang"]
|
|
502
559
|
}), () => e.disconnect();
|
|
503
|
-
}, [
|
|
560
|
+
}, [M]), G(() => {
|
|
504
561
|
if (typeof document > "u") return;
|
|
505
562
|
let e;
|
|
506
563
|
const t = new MutationObserver(() => {
|
|
507
564
|
clearTimeout(e), e = setTimeout(() => {
|
|
508
|
-
var
|
|
509
|
-
const n = (
|
|
565
|
+
var c;
|
|
566
|
+
const n = (c = P.current) == null ? void 0 : c.getApi();
|
|
510
567
|
n && typeof n.render == "function" && n.render();
|
|
511
568
|
}, 50);
|
|
512
569
|
});
|
|
@@ -516,15 +573,15 @@ const ve = me(
|
|
|
516
573
|
}), () => {
|
|
517
574
|
clearTimeout(e), t.disconnect();
|
|
518
575
|
};
|
|
519
|
-
}, []),
|
|
576
|
+
}, []), G(() => {
|
|
520
577
|
if (typeof document > "u") return;
|
|
521
578
|
const e = ee.current;
|
|
522
579
|
if (!e) return;
|
|
523
580
|
const t = () => {
|
|
524
|
-
e.querySelectorAll(".fc-daygrid-more-link").forEach((
|
|
525
|
-
|
|
526
|
-
}), e.querySelectorAll('[aria-hidden="true"]').forEach((
|
|
527
|
-
|
|
581
|
+
e.querySelectorAll(".fc-daygrid-more-link").forEach((c) => {
|
|
582
|
+
c.getAttribute("role") || c.setAttribute("role", "button");
|
|
583
|
+
}), e.querySelectorAll('[aria-hidden="true"]').forEach((c) => {
|
|
584
|
+
c.querySelectorAll(
|
|
528
585
|
'a[href], button, [tabindex]:not([tabindex="-1"])'
|
|
529
586
|
).forEach((i) => {
|
|
530
587
|
i.setAttribute("tabindex", "-1");
|
|
@@ -540,15 +597,15 @@ const ve = me(
|
|
|
540
597
|
attributeFilter: ["aria-hidden"]
|
|
541
598
|
}), () => n.disconnect();
|
|
542
599
|
}, [o]);
|
|
543
|
-
const
|
|
600
|
+
const F = ot(), [we, ke] = ne(""), te = l(() => {
|
|
544
601
|
const e = () => {
|
|
545
602
|
var t;
|
|
546
|
-
return (t =
|
|
603
|
+
return (t = P.current) == null ? void 0 : t.getApi();
|
|
547
604
|
};
|
|
548
605
|
return {
|
|
549
606
|
getApi: () => {
|
|
550
607
|
var t;
|
|
551
|
-
return (t =
|
|
608
|
+
return (t = P.current) == null ? void 0 : t.getApi();
|
|
552
609
|
},
|
|
553
610
|
today: () => {
|
|
554
611
|
var t;
|
|
@@ -569,7 +626,7 @@ const ve = me(
|
|
|
569
626
|
changeView: (t) => {
|
|
570
627
|
var n;
|
|
571
628
|
(n = e()) == null || n.changeView(
|
|
572
|
-
|
|
629
|
+
le(t, L)
|
|
573
630
|
);
|
|
574
631
|
},
|
|
575
632
|
getTitle: () => {
|
|
@@ -587,31 +644,31 @@ const ve = me(
|
|
|
587
644
|
focusEvent: (t) => {
|
|
588
645
|
const n = ee.current;
|
|
589
646
|
if (!n) return;
|
|
590
|
-
const
|
|
647
|
+
const c = `[data-event-id="${CSS.escape(t)}"]`, i = n.querySelector(c);
|
|
591
648
|
if (i) {
|
|
592
|
-
if (k.current && (clearTimeout(k.current), k.current = null),
|
|
593
|
-
behavior:
|
|
649
|
+
if (k.current && (clearTimeout(k.current), k.current = null), E.current && E.current !== i && E.current.classList.remove("calendar-event-focused"), i.scrollIntoView({
|
|
650
|
+
behavior: F ? "auto" : "smooth",
|
|
594
651
|
block: "center"
|
|
595
|
-
}), i.classList.add("calendar-event-focused"),
|
|
596
|
-
const g = i.getAttribute("aria-label") ?? t,
|
|
652
|
+
}), i.classList.add("calendar-event-focused"), E.current = i, b.current) {
|
|
653
|
+
const g = i.getAttribute("aria-label") ?? t, R = p ? "•••" : g;
|
|
597
654
|
b.current.textContent = o("calendar.focusedEvent", {
|
|
598
|
-
title:
|
|
655
|
+
title: R
|
|
599
656
|
});
|
|
600
657
|
}
|
|
601
658
|
k.current = setTimeout(() => {
|
|
602
|
-
i.classList.remove("calendar-event-focused"),
|
|
659
|
+
i.classList.remove("calendar-event-focused"), E.current === i && (E.current = null), k.current = null;
|
|
603
660
|
}, 3e3);
|
|
604
661
|
}
|
|
605
662
|
}
|
|
606
663
|
};
|
|
607
|
-
}, [
|
|
608
|
-
|
|
664
|
+
}, [F, p, o, L]);
|
|
665
|
+
Je(ye, () => te, [te]), it(kt, te, r), G(
|
|
609
666
|
() => () => {
|
|
610
667
|
k.current && (clearTimeout(k.current), k.current = null);
|
|
611
668
|
},
|
|
612
669
|
[]
|
|
613
670
|
);
|
|
614
|
-
const
|
|
671
|
+
const Ce = l(
|
|
615
672
|
() => ({
|
|
616
673
|
confirmed: o("calendar.status.confirmed"),
|
|
617
674
|
waiting: o("calendar.status.waiting"),
|
|
@@ -622,15 +679,15 @@ const ve = me(
|
|
|
622
679
|
}),
|
|
623
680
|
[o]
|
|
624
681
|
), ie = _(!0);
|
|
625
|
-
|
|
682
|
+
G(() => {
|
|
626
683
|
if (ie.current) {
|
|
627
684
|
ie.current = !1;
|
|
628
685
|
return;
|
|
629
686
|
}
|
|
630
687
|
b.current && (b.current.textContent = o(p ? "calendar.privacyModeOn" : "calendar.privacyModeOff"));
|
|
631
688
|
}, [p, o]);
|
|
632
|
-
const De =
|
|
633
|
-
() =>
|
|
689
|
+
const De = l(
|
|
690
|
+
() => s.map((e) => ({
|
|
634
691
|
id: e.id,
|
|
635
692
|
title: e.title,
|
|
636
693
|
start: e.start,
|
|
@@ -656,25 +713,25 @@ const ve = me(
|
|
|
656
713
|
operatorId: e.operatorId
|
|
657
714
|
}
|
|
658
715
|
})),
|
|
659
|
-
[
|
|
660
|
-
), Ne =
|
|
716
|
+
[s]
|
|
717
|
+
), Ne = l(
|
|
661
718
|
() => ({
|
|
662
719
|
year: "numeric",
|
|
663
720
|
month: "long"
|
|
664
721
|
}),
|
|
665
722
|
[]
|
|
666
|
-
), Ae =
|
|
723
|
+
), Ae = l(
|
|
667
724
|
() => ({
|
|
668
725
|
weekday: "short"
|
|
669
726
|
}),
|
|
670
727
|
[]
|
|
671
|
-
), Ie =
|
|
728
|
+
), Ie = l(
|
|
672
729
|
() => ({
|
|
673
730
|
hour: "numeric",
|
|
674
731
|
minute: "2-digit"
|
|
675
732
|
}),
|
|
676
733
|
[]
|
|
677
|
-
),
|
|
734
|
+
), Se = l(
|
|
678
735
|
() => ({
|
|
679
736
|
hour: "numeric",
|
|
680
737
|
minute: "2-digit"
|
|
@@ -704,7 +761,7 @@ const ve = me(
|
|
|
704
761
|
patientId: t.patientId,
|
|
705
762
|
operatorId: t.operatorId
|
|
706
763
|
};
|
|
707
|
-
},
|
|
764
|
+
}, Pe = l(() => {
|
|
708
765
|
if (N)
|
|
709
766
|
return (e) => {
|
|
710
767
|
if (!e.event.start) return;
|
|
@@ -714,40 +771,40 @@ const ve = me(
|
|
|
714
771
|
oldStart: t,
|
|
715
772
|
newStart: e.event.start
|
|
716
773
|
}), b.current)) {
|
|
717
|
-
const n = e.event.extendedProps ?? {},
|
|
774
|
+
const n = e.event.extendedProps ?? {}, c = p ? n.privacyModeTitle ?? "•••" : e.event.title;
|
|
718
775
|
b.current.textContent = o("calendar.eventMoved", {
|
|
719
|
-
title:
|
|
776
|
+
title: c
|
|
720
777
|
});
|
|
721
778
|
}
|
|
722
779
|
};
|
|
723
|
-
}, [N, p, o]),
|
|
780
|
+
}, [N, p, o]), Me = l(() => {
|
|
724
781
|
if (m)
|
|
725
782
|
return (e) => {
|
|
726
783
|
if (!e.event.end) return;
|
|
727
784
|
const t = e.oldEvent.end;
|
|
728
785
|
if (!t)
|
|
729
786
|
return;
|
|
730
|
-
const n = e.event.end,
|
|
787
|
+
const n = e.event.end, c = e.event.start ?? e.oldEvent.start ?? t;
|
|
731
788
|
if (m({
|
|
732
789
|
event: re(e.event),
|
|
733
790
|
oldEnd: t,
|
|
734
791
|
newEnd: n
|
|
735
792
|
}), b.current) {
|
|
736
793
|
const i = Math.round(
|
|
737
|
-
(n.getTime() -
|
|
738
|
-
), g = e.event.extendedProps ?? {},
|
|
794
|
+
(n.getTime() - c.getTime()) / 6e4
|
|
795
|
+
), g = e.event.extendedProps ?? {}, R = p ? g.privacyModeTitle ?? "•••" : e.event.title;
|
|
739
796
|
b.current.textContent = o("calendar.eventResized", {
|
|
740
|
-
title:
|
|
797
|
+
title: R,
|
|
741
798
|
duration: i
|
|
742
799
|
});
|
|
743
800
|
}
|
|
744
801
|
};
|
|
745
|
-
}, [m, p, o]),
|
|
802
|
+
}, [m, p, o]), Ee = l(() => {
|
|
746
803
|
if (f)
|
|
747
804
|
return (e) => {
|
|
748
805
|
e.event.start && f(re(e.event));
|
|
749
806
|
};
|
|
750
|
-
}, [f]),
|
|
807
|
+
}, [f]), Re = l(() => {
|
|
751
808
|
if (y)
|
|
752
809
|
return (e) => {
|
|
753
810
|
var t;
|
|
@@ -758,65 +815,65 @@ const ve = me(
|
|
|
758
815
|
resourceId: (t = e.resource) == null ? void 0 : t.id
|
|
759
816
|
});
|
|
760
817
|
};
|
|
761
|
-
}, [y]), _e =
|
|
818
|
+
}, [y]), _e = z((e) => {
|
|
762
819
|
ke(e.view.title);
|
|
763
|
-
}, []),
|
|
820
|
+
}, []), Ge = l(() => Pt(q), [q]), ze = l(
|
|
764
821
|
() => [
|
|
765
822
|
Qe,
|
|
766
823
|
Xe,
|
|
767
824
|
et,
|
|
768
|
-
|
|
825
|
+
st,
|
|
769
826
|
tt,
|
|
770
827
|
rt,
|
|
771
828
|
nt,
|
|
772
|
-
|
|
829
|
+
at
|
|
773
830
|
],
|
|
774
831
|
[]
|
|
775
|
-
),
|
|
776
|
-
() =>
|
|
777
|
-
[u,
|
|
778
|
-
),
|
|
832
|
+
), Oe = l(
|
|
833
|
+
() => le(u, L),
|
|
834
|
+
[u, L]
|
|
835
|
+
), Be = z(
|
|
779
836
|
(e) => {
|
|
780
|
-
const t = e.resource.extendedProps, n = e.resource.title,
|
|
837
|
+
const t = e.resource.extendedProps, n = e.resource.title, c = t.shortTitle, i = t.color, g = t.shortTitleTextColor, R = i || g ? {
|
|
781
838
|
...i ? { "--resource-color": i } : {},
|
|
782
839
|
...g ? {
|
|
783
840
|
"--resource-initials-text-color": g
|
|
784
841
|
} : {}
|
|
785
842
|
} : void 0;
|
|
786
|
-
if (oe &&
|
|
843
|
+
if (oe && c && i) {
|
|
787
844
|
`${e.resource.id}`;
|
|
788
845
|
const $e = [
|
|
789
846
|
"resource-initials",
|
|
790
847
|
"ds:[background-color:var(--resource-color)]",
|
|
791
848
|
g ? "ds:[color:var(--resource-initials-text-color)]" : null
|
|
792
849
|
].filter(Boolean).join(" ");
|
|
793
|
-
return /* @__PURE__ */
|
|
794
|
-
/* @__PURE__ */
|
|
850
|
+
return /* @__PURE__ */ C("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
851
|
+
/* @__PURE__ */ a(
|
|
795
852
|
"span",
|
|
796
853
|
{
|
|
797
854
|
className: $e,
|
|
798
|
-
style:
|
|
855
|
+
style: R,
|
|
799
856
|
"aria-hidden": "true",
|
|
800
|
-
children:
|
|
857
|
+
children: c
|
|
801
858
|
}
|
|
802
859
|
),
|
|
803
|
-
/* @__PURE__ */
|
|
860
|
+
/* @__PURE__ */ a("span", { className: "ds:truncate ds:text-start", children: n })
|
|
804
861
|
] });
|
|
805
862
|
}
|
|
806
|
-
return i ? (i && g && (`${e.resource.id}`, void 0), /* @__PURE__ */
|
|
807
|
-
/* @__PURE__ */
|
|
863
|
+
return i ? (i && g && (`${e.resource.id}`, void 0), /* @__PURE__ */ C("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
864
|
+
/* @__PURE__ */ a(
|
|
808
865
|
"span",
|
|
809
866
|
{
|
|
810
867
|
className: "resource-dot ds:[background-color:var(--resource-color)]",
|
|
811
|
-
style:
|
|
868
|
+
style: R,
|
|
812
869
|
"aria-hidden": "true"
|
|
813
870
|
}
|
|
814
871
|
),
|
|
815
|
-
/* @__PURE__ */
|
|
816
|
-
] })) : /* @__PURE__ */
|
|
872
|
+
/* @__PURE__ */ a("span", { className: "ds:truncate ds:text-start", children: n })
|
|
873
|
+
] })) : /* @__PURE__ */ a("span", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]", children: /* @__PURE__ */ a("span", { className: "ds:truncate ds:text-start", children: n }) });
|
|
817
874
|
},
|
|
818
875
|
[oe]
|
|
819
|
-
),
|
|
876
|
+
), Ve = l(
|
|
820
877
|
() => d == null ? void 0 : d.map((e) => ({
|
|
821
878
|
id: e.id,
|
|
822
879
|
title: e.title,
|
|
@@ -829,24 +886,24 @@ const ve = me(
|
|
|
829
886
|
}
|
|
830
887
|
})),
|
|
831
888
|
[d]
|
|
832
|
-
), je =
|
|
889
|
+
), je = z(() => {
|
|
833
890
|
var e, t;
|
|
834
|
-
(t = (e =
|
|
835
|
-
}, []),
|
|
891
|
+
(t = (e = P.current) == null ? void 0 : e.getApi()) == null || t.today();
|
|
892
|
+
}, []), We = z(() => {
|
|
836
893
|
var e, t;
|
|
837
|
-
(t = (e =
|
|
838
|
-
}, []),
|
|
894
|
+
(t = (e = P.current) == null ? void 0 : e.getApi()) == null || t.prev();
|
|
895
|
+
}, []), Le = z(() => {
|
|
839
896
|
var e, t;
|
|
840
|
-
(t = (e =
|
|
841
|
-
}, []),
|
|
897
|
+
(t = (e = P.current) == null ? void 0 : e.getApi()) == null || t.next();
|
|
898
|
+
}, []), qe = [
|
|
842
899
|
"fc-theme-alfadocs",
|
|
843
900
|
"ds:bg-background ds:text-foreground",
|
|
844
901
|
"ds:rounded-[var(--radius-md)]",
|
|
845
902
|
$
|
|
846
|
-
].filter(Boolean).join(" "),
|
|
903
|
+
].filter(Boolean).join(" "), Fe = x || T ? {
|
|
847
904
|
...x ? { "--calendar-mode-bg": x } : {},
|
|
848
905
|
...T ? { "--calendar-mode-fg": T } : {}
|
|
849
|
-
} : void 0,
|
|
906
|
+
} : void 0, He = I !== "default" ? B ?? o(St[I]) : "", Ue = [
|
|
850
907
|
"ds:sticky ds:top-0 ds:z-10",
|
|
851
908
|
"ds:flex ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
852
909
|
"ds:ps-[var(--spacing-md)] ds:pe-[var(--spacing-md)]",
|
|
@@ -871,18 +928,18 @@ const ve = me(
|
|
|
871
928
|
"ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
872
929
|
"ds:motion-reduce:transition-none"
|
|
873
930
|
].join(" ");
|
|
874
|
-
return /* @__PURE__ */
|
|
931
|
+
return /* @__PURE__ */ C(
|
|
875
932
|
"div",
|
|
876
933
|
{
|
|
877
934
|
ref: ee,
|
|
878
|
-
className:
|
|
935
|
+
className: qe,
|
|
879
936
|
role: "region",
|
|
880
937
|
"aria-label": o("calendar.ariaLabel"),
|
|
881
938
|
"data-component": "calendar",
|
|
882
939
|
"data-component-id": r,
|
|
883
940
|
"data-mode": I,
|
|
884
941
|
children: [
|
|
885
|
-
/* @__PURE__ */
|
|
942
|
+
/* @__PURE__ */ a(
|
|
886
943
|
"div",
|
|
887
944
|
{
|
|
888
945
|
ref: b,
|
|
@@ -891,20 +948,20 @@ const ve = me(
|
|
|
891
948
|
className: "ds:sr-only"
|
|
892
949
|
}
|
|
893
950
|
),
|
|
894
|
-
|
|
895
|
-
I !== "default" ? /* @__PURE__ */
|
|
951
|
+
S,
|
|
952
|
+
I !== "default" ? /* @__PURE__ */ C(
|
|
896
953
|
"div",
|
|
897
954
|
{
|
|
898
955
|
className: Ue,
|
|
899
|
-
style:
|
|
956
|
+
style: Fe,
|
|
900
957
|
role: "status",
|
|
901
958
|
children: [
|
|
902
|
-
/* @__PURE__ */
|
|
903
|
-
|
|
959
|
+
/* @__PURE__ */ a("span", { className: "ds:flex-1 ds:text-start", children: He }),
|
|
960
|
+
V ? /* @__PURE__ */ a(
|
|
904
961
|
"button",
|
|
905
962
|
{
|
|
906
963
|
type: "button",
|
|
907
|
-
onClick:
|
|
964
|
+
onClick: V,
|
|
908
965
|
className: Ke,
|
|
909
966
|
children: o("calendar.modeBanner.cancel")
|
|
910
967
|
}
|
|
@@ -912,68 +969,68 @@ const ve = me(
|
|
|
912
969
|
]
|
|
913
970
|
}
|
|
914
971
|
) : null,
|
|
915
|
-
he !== !1 ? /* @__PURE__ */
|
|
916
|
-
|
|
972
|
+
he !== !1 ? /* @__PURE__ */ a(
|
|
973
|
+
se,
|
|
917
974
|
{
|
|
918
|
-
title:
|
|
975
|
+
title: we,
|
|
919
976
|
onToday: je,
|
|
920
|
-
onPrev:
|
|
921
|
-
onNext:
|
|
977
|
+
onPrev: We,
|
|
978
|
+
onNext: Le,
|
|
922
979
|
end: be
|
|
923
980
|
}
|
|
924
981
|
) : null,
|
|
925
|
-
/* @__PURE__ */
|
|
982
|
+
/* @__PURE__ */ a(
|
|
926
983
|
Ye,
|
|
927
984
|
{
|
|
928
|
-
ref:
|
|
929
|
-
plugins:
|
|
985
|
+
ref: P,
|
|
986
|
+
plugins: ze,
|
|
930
987
|
schedulerLicenseKey: ge,
|
|
931
|
-
initialView:
|
|
988
|
+
initialView: Oe,
|
|
932
989
|
views: Nt,
|
|
933
990
|
initialDate: h,
|
|
934
|
-
locale:
|
|
991
|
+
locale: q,
|
|
935
992
|
direction: xe,
|
|
936
|
-
firstDay:
|
|
993
|
+
firstDay: Ge,
|
|
937
994
|
editable: A,
|
|
938
|
-
eventDurationEditable:
|
|
995
|
+
eventDurationEditable: O ?? A,
|
|
939
996
|
selectable: U,
|
|
940
997
|
droppable: A,
|
|
941
998
|
dayMaxEvents: pe,
|
|
942
999
|
height: K,
|
|
943
1000
|
events: De,
|
|
944
|
-
resources:
|
|
1001
|
+
resources: Ve,
|
|
945
1002
|
resourceOrder: "sequenceNumber",
|
|
946
|
-
resourceLabelContent:
|
|
1003
|
+
resourceLabelContent: Be,
|
|
947
1004
|
headerToolbar: !1,
|
|
948
1005
|
allDayText: o("calendar.allDay"),
|
|
949
1006
|
noEventsText: o("calendar.noEvents"),
|
|
950
1007
|
titleFormat: Ne,
|
|
951
1008
|
dayHeaderFormat: Ae,
|
|
952
1009
|
eventTimeFormat: Ie,
|
|
953
|
-
slotLabelFormat:
|
|
954
|
-
slotMinTime:
|
|
955
|
-
slotMaxTime:
|
|
1010
|
+
slotLabelFormat: Se,
|
|
1011
|
+
slotMinTime: J ?? "00:00:00",
|
|
1012
|
+
slotMaxTime: Z ?? "24:00:00",
|
|
956
1013
|
slotDuration: j ?? "00:30:00",
|
|
957
1014
|
slotLabelInterval: "01:00:00",
|
|
958
1015
|
datesAboveResources: Q,
|
|
959
1016
|
slotEventOverlap: X,
|
|
960
|
-
stickyHeaderDates:
|
|
961
|
-
nowIndicator:
|
|
962
|
-
eventLongPressDelay:
|
|
963
|
-
eventDragMinDistance:
|
|
964
|
-
eventContent: (e) =>
|
|
1017
|
+
stickyHeaderDates: W,
|
|
1018
|
+
nowIndicator: w,
|
|
1019
|
+
eventLongPressDelay: F ? 0 : 1e3,
|
|
1020
|
+
eventDragMinDistance: F ? 0 : 5,
|
|
1021
|
+
eventContent: (e) => Et({
|
|
965
1022
|
arg: e,
|
|
966
|
-
locale:
|
|
1023
|
+
locale: q,
|
|
967
1024
|
resources: d ?? [],
|
|
968
|
-
statusLabels:
|
|
1025
|
+
statusLabels: Ce,
|
|
969
1026
|
privacyMode: p,
|
|
970
1027
|
showTime: Y
|
|
971
1028
|
}),
|
|
972
|
-
eventClick:
|
|
973
|
-
eventDrop:
|
|
974
|
-
eventResize:
|
|
1029
|
+
eventClick: Ee,
|
|
1030
|
+
eventDrop: Pe,
|
|
1031
|
+
eventResize: Me,
|
|
975
1032
|
eventResizeStart: v,
|
|
976
|
-
select:
|
|
1033
|
+
select: Re,
|
|
977
1034
|
datesSet: _e
|
|
978
1035
|
}
|
|
979
1036
|
)
|
|
@@ -984,10 +1041,10 @@ const ve = me(
|
|
|
984
1041
|
);
|
|
985
1042
|
ve.displayName = "Calendar";
|
|
986
1043
|
const _t = ve;
|
|
987
|
-
_t.Toolbar =
|
|
1044
|
+
_t.Toolbar = se;
|
|
988
1045
|
export {
|
|
989
1046
|
_t as C,
|
|
990
1047
|
kt as c,
|
|
991
|
-
|
|
1048
|
+
le as r
|
|
992
1049
|
};
|
|
993
|
-
//# sourceMappingURL=calendar-
|
|
1050
|
+
//# sourceMappingURL=calendar-CZUjL8SZ.js.map
|