@alfadocs/ui-kit-debug 1.127.2 → 1.129.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/{appointment-card-0PebvrOS.js → appointment-card-vbUsDh70.js} +49 -72
- package/dist/_chunks/appointment-card-vbUsDh70.js.map +1 -0
- package/dist/_chunks/{appointment-timeline-Czd4PBkF.js → appointment-timeline-B5pfBl-b.js} +2 -2
- package/dist/_chunks/{appointment-timeline-Czd4PBkF.js.map → appointment-timeline-B5pfBl-b.js.map} +1 -1
- package/dist/_chunks/{appointment-tray-B04zKY7g.js → appointment-tray-BhiXetjs.js} +2 -2
- package/dist/_chunks/{appointment-tray-B04zKY7g.js.map → appointment-tray-BhiXetjs.js.map} +1 -1
- package/dist/_chunks/{calendar-_sgjuH3L.js → calendar-DzR-vdJ5.js} +614 -563
- package/dist/_chunks/calendar-DzR-vdJ5.js.map +1 -0
- package/dist/_chunks/calendar-appointment-editor-dialog-DnPADcj9.js +13438 -0
- package/dist/_chunks/calendar-appointment-editor-dialog-DnPADcj9.js.map +1 -0
- package/dist/_chunks/{calendar-event-card-DXAYWH6k.js → calendar-event-card-BNEzkjm-.js} +142 -132
- package/dist/_chunks/calendar-event-card-BNEzkjm-.js.map +1 -0
- package/dist/_chunks/{care-plan-card-bGTIliXc.js → care-plan-card-CwgkImOD.js} +2 -2
- package/dist/_chunks/{care-plan-card-bGTIliXc.js.map → care-plan-card-CwgkImOD.js.map} +1 -1
- package/dist/_chunks/{care-plan-header-k8FslxsU.js → care-plan-header-Dx5OMkc9.js} +2 -2
- package/dist/_chunks/{care-plan-header-k8FslxsU.js.map → care-plan-header-Dx5OMkc9.js.map} +1 -1
- package/dist/_chunks/{clinical-note-card-DHn5W_bv.js → clinical-note-card-pPaeWWnu.js} +2 -2
- package/dist/_chunks/{clinical-note-card-DHn5W_bv.js.map → clinical-note-card-pPaeWWnu.js.map} +1 -1
- package/dist/_chunks/{contact-card-CGpbYuxl.js → contact-card-BSY2YpLZ.js} +2 -2
- package/dist/_chunks/{contact-card-CGpbYuxl.js.map → contact-card-BSY2YpLZ.js.map} +1 -1
- package/dist/_chunks/{contact-profile-card-CCgf0Ntt.js → contact-profile-card-CsZNMlws.js} +2 -2
- package/dist/_chunks/{contact-profile-card-CCgf0Ntt.js.map → contact-profile-card-CsZNMlws.js.map} +1 -1
- package/dist/_chunks/{default-tabs-DOuHEKI5.js → default-tabs-BnB6FUEW.js} +2 -2
- package/dist/_chunks/{default-tabs-DOuHEKI5.js.map → default-tabs-BnB6FUEW.js.map} +1 -1
- package/dist/_chunks/{entity-summary-BanguTa6.js → entity-summary-Dzk54yom.js} +2 -2
- package/dist/_chunks/{entity-summary-BanguTa6.js.map → entity-summary-Dzk54yom.js.map} +1 -1
- package/dist/_chunks/file-pen-line-k4uMBM3h.js +29 -0
- package/dist/_chunks/file-pen-line-k4uMBM3h.js.map +1 -0
- package/dist/_chunks/{info-tip-C-MPkShR.js → info-tip-B3cn3fY2.js} +2 -2
- package/dist/_chunks/{info-tip-C-MPkShR.js.map → info-tip-B3cn3fY2.js.map} +1 -1
- package/dist/_chunks/{link-DtCfnLnF.js → link-CeV7FoI6.js} +2 -2
- package/dist/_chunks/{link-DtCfnLnF.js.map → link-CeV7FoI6.js.map} +1 -1
- package/dist/_chunks/{nav-grid-D2xVcHTO.js → nav-grid-dEgDAri3.js} +2 -2
- package/dist/_chunks/{nav-grid-D2xVcHTO.js.map → nav-grid-dEgDAri3.js.map} +1 -1
- package/dist/_chunks/{note-attachment-cnj2JRrg.js → note-attachment-MNTIqdSz.js} +2 -2
- package/dist/_chunks/{note-attachment-cnj2JRrg.js.map → note-attachment-MNTIqdSz.js.map} +1 -1
- package/dist/_chunks/{note-timeline-BrjHBQfx.js → note-timeline-BQeW0VZY.js} +2 -2
- package/dist/_chunks/{note-timeline-BrjHBQfx.js.map → note-timeline-BQeW0VZY.js.map} +1 -1
- package/dist/_chunks/{notes-panel-BOwlTz2-.js → notes-panel-DIY7eNsq.js} +3 -3
- package/dist/_chunks/{notes-panel-BOwlTz2-.js.map → notes-panel-DIY7eNsq.js.map} +1 -1
- package/dist/_chunks/{patient-details-Cba9HQj_.js → patient-details-DBtEITfE.js} +2 -2
- package/dist/_chunks/{patient-details-Cba9HQj_.js.map → patient-details-DBtEITfE.js.map} +1 -1
- package/dist/_chunks/{patient-field-row-CtDihADs.js → patient-field-row-a5d4QijH.js} +2 -2
- package/dist/_chunks/{patient-field-row-CtDihADs.js.map → patient-field-row-a5d4QijH.js.map} +1 -1
- package/dist/_chunks/{patient-summary-card-DnLdbtsw.js → patient-summary-card-BUcZ-gaL.js} +3 -3
- package/dist/_chunks/{patient-summary-card-DnLdbtsw.js.map → patient-summary-card-BUcZ-gaL.js.map} +1 -1
- package/dist/_chunks/{payment-request-card-CEIalOtr.js → payment-request-card-Dv4WbRBe.js} +2 -2
- package/dist/_chunks/{payment-request-card-CEIalOtr.js.map → payment-request-card-Dv4WbRBe.js.map} +1 -1
- package/dist/_chunks/{product-hub-panel-CqRJlmb7.js → product-hub-panel-a8wdVOUt.js} +2 -2
- package/dist/_chunks/{product-hub-panel-CqRJlmb7.js.map → product-hub-panel-a8wdVOUt.js.map} +1 -1
- package/dist/_chunks/{public-footer-C8UIzqLJ.js → public-footer-D0cqScpz.js} +2 -2
- package/dist/_chunks/{public-footer-C8UIzqLJ.js.map → public-footer-D0cqScpz.js.map} +1 -1
- package/dist/_chunks/{rich-text-editor-BLEdXJ0l.js → rich-text-editor-TnX0SYdq.js} +1866 -1766
- package/dist/_chunks/rich-text-editor-TnX0SYdq.js.map +1 -0
- package/dist/_chunks/{signature-request-Dzs0jZsd.js → signature-request-DW2PSp66.js} +3 -3
- package/dist/_chunks/{signature-request-Dzs0jZsd.js.map → signature-request-DW2PSp66.js.map} +1 -1
- package/dist/_chunks/{signed-out-frame-fUf7tqs3.js → signed-out-frame-Oa2e1yps.js} +2 -2
- package/dist/_chunks/{signed-out-frame-fUf7tqs3.js.map → signed-out-frame-Oa2e1yps.js.map} +1 -1
- package/dist/_chunks/task-editor-CVRrDqpe.js +1256 -0
- package/dist/_chunks/task-editor-CVRrDqpe.js.map +1 -0
- package/dist/_chunks/{treatment-receipt-1VnuinhY.js → treatment-receipt-BZzwvsnY.js} +73 -56
- package/dist/_chunks/treatment-receipt-BZzwvsnY.js.map +1 -0
- package/dist/_chunks/use-appointment-details-read-n7kycxrm.js +2439 -0
- package/dist/_chunks/use-appointment-details-read-n7kycxrm.js.map +1 -0
- package/dist/_chunks/{whatsapp-button-DV9JFmtq.js → whatsapp-button-XbozeDl_.js} +32 -25
- package/dist/_chunks/whatsapp-button-XbozeDl_.js.map +1 -0
- package/dist/agent-catalog.json +49 -16
- package/dist/agent-i18n/en.json +5 -5
- package/dist/browser-support.js +1 -1
- package/dist/components/_shared/patient-picker.d.ts +10 -0
- package/dist/components/_shared/patient-picker.d.ts.map +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +23 -1
- package/dist/components/appointment-details-panel/appointment-details-panel.d.ts.map +1 -1
- package/dist/components/appointment-details-panel/appointment-details-panel.links.d.ts +13 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.links.d.ts.map +1 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.recurrence.d.ts +9 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.recurrence.d.ts.map +1 -0
- package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts +8 -3
- package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts.map +1 -1
- package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +63 -1
- package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts.map +1 -1
- package/dist/components/appointment-details-panel/index.d.ts +2 -1
- package/dist/components/appointment-details-panel/index.d.ts.map +1 -1
- package/dist/components/appointment-details-panel/index.js +5 -4
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/bill-table/index.js +1 -1
- package/dist/components/calendar/calendar.d.ts +22 -0
- package/dist/components/calendar/calendar.d.ts.map +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calendar-event-card/calendar-event-card.d.ts +8 -0
- package/dist/components/calendar-event-card/calendar-event-card.d.ts.map +1 -1
- package/dist/components/calendar-event-card/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/clinical-note-card/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/entity-summary/index.js +1 -1
- package/dist/components/info-tip/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/nav-grid/index.js +1 -1
- package/dist/components/note-timeline/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/product-hub-tray/index.js +1 -1
- package/dist/components/public-footer/index.js +1 -1
- package/dist/components/rich-text-editor/editor-toolbar.d.ts +1 -0
- package/dist/components/rich-text-editor/editor-toolbar.d.ts.map +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.d.ts.map +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/treatment-receipt/index.d.ts +2 -2
- package/dist/components/treatment-receipt/index.d.ts.map +1 -1
- package/dist/components/treatment-receipt/index.js +2 -1
- package/dist/components/treatment-receipt/treatment-receipt.d.ts +11 -1
- package/dist/components/treatment-receipt/treatment-receipt.d.ts.map +1 -1
- package/dist/components/whatsapp-button/index.js +1 -1
- package/dist/components/whatsapp-button/whatsapp-button.d.ts.map +1 -1
- package/dist/core.css +1 -1
- package/dist/fullcalendar.css +5 -1
- package/dist/host-compat.css +4 -1
- package/dist/host-legacy.css +22 -0
- package/dist/i18n/locales/ar.d.ts +118 -4
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +129 -15
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +118 -4
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +129 -15
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +118 -4
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +129 -15
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +118 -4
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +121 -10
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +118 -4
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +129 -15
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +118 -4
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +129 -15
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +118 -4
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +129 -15
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +118 -4
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +129 -15
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +118 -4
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +129 -15
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +118 -4
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +129 -15
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +118 -4
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +129 -15
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +118 -4
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +129 -15
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +118 -4
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +129 -15
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +118 -4
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +129 -15
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +118 -4
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +129 -15
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +118 -4
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +129 -15
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +118 -4
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +129 -15
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +118 -4
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +129 -15
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +1112 -1107
- package/dist/locales/ar.json +129 -15
- package/dist/locales/de.json +129 -15
- package/dist/locales/el.json +129 -15
- package/dist/locales/en.json +121 -7
- package/dist/locales/es.json +129 -15
- package/dist/locales/fr.json +129 -15
- package/dist/locales/hi.json +129 -15
- package/dist/locales/it.json +129 -15
- package/dist/locales/ja.json +129 -15
- package/dist/locales/nl.json +129 -15
- package/dist/locales/pl.json +129 -15
- package/dist/locales/pt.json +129 -15
- package/dist/locales/ro.json +129 -15
- package/dist/locales/ru.json +129 -15
- package/dist/locales/sq.json +129 -15
- package/dist/locales/sv.json +129 -15
- package/dist/locales/tr.json +129 -15
- package/dist/locales/zh.json +129 -15
- package/dist/patterns/calendar/calendar-appointment-details.d.ts +74 -2
- package/dist/patterns/calendar/calendar-appointment-details.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar-archive.d.ts +12 -0
- package/dist/patterns/calendar/calendar-archive.d.ts.map +1 -0
- package/dist/patterns/calendar/calendar-bookings-panel.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar-care-rules.d.ts +19 -23
- package/dist/patterns/calendar/calendar-care-rules.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar-delete-confirm.d.ts +18 -0
- package/dist/patterns/calendar/calendar-delete-confirm.d.ts.map +1 -0
- package/dist/patterns/calendar/calendar-document-scope-confirm.d.ts +12 -0
- package/dist/patterns/calendar/calendar-document-scope-confirm.d.ts.map +1 -0
- package/dist/patterns/calendar/calendar-editor-guard.d.ts +12 -0
- package/dist/patterns/calendar/calendar-editor-guard.d.ts.map +1 -0
- package/dist/patterns/calendar/calendar-editor-hydration.d.ts +13 -2
- package/dist/patterns/calendar/calendar-editor-hydration.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar-load-error.d.ts +11 -0
- package/dist/patterns/calendar/calendar-load-error.d.ts.map +1 -0
- package/dist/patterns/calendar/calendar-patient-locked.d.ts +13 -0
- package/dist/patterns/calendar/calendar-patient-locked.d.ts.map +1 -0
- package/dist/patterns/calendar/calendar-patient-picker.d.ts +6 -1
- package/dist/patterns/calendar/calendar-patient-picker.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar-prompts.d.ts +11 -0
- package/dist/patterns/calendar/calendar-prompts.d.ts.map +1 -0
- package/dist/patterns/calendar/calendar-settings-ical.d.ts +11 -0
- package/dist/patterns/calendar/calendar-settings-ical.d.ts.map +1 -0
- package/dist/patterns/calendar/calendar-settings-overlay.d.ts +73 -0
- package/dist/patterns/calendar/calendar-settings-overlay.d.ts.map +1 -0
- package/dist/patterns/calendar/calendar-settings-panel.d.ts +62 -0
- package/dist/patterns/calendar/calendar-settings-panel.d.ts.map +1 -0
- package/dist/patterns/calendar/calendar-settings-practice.d.ts +20 -0
- package/dist/patterns/calendar/calendar-settings-practice.d.ts.map +1 -0
- package/dist/patterns/calendar/calendar-status-colours.d.ts +18 -0
- package/dist/patterns/calendar/calendar-status-colours.d.ts.map +1 -0
- package/dist/patterns/calendar/calendar-upcoming-panel.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar-waiting-list-panel.d.ts +17 -2
- package/dist/patterns/calendar/calendar-waiting-list-panel.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar-workspace.d.ts +258 -6
- package/dist/patterns/calendar/calendar-workspace.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar-workspace.model.d.ts +98 -11
- package/dist/patterns/calendar/calendar-workspace.model.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar.data.d.ts +9 -3
- package/dist/patterns/calendar/calendar.data.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar.journey.d.ts +69 -5
- package/dist/patterns/calendar/calendar.journey.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar.model.d.ts +72 -14
- package/dist/patterns/calendar/calendar.model.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar.preferences.d.ts +4 -0
- package/dist/patterns/calendar/calendar.preferences.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar.sheets.d.ts +85 -17
- package/dist/patterns/calendar/calendar.sheets.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar.surface.d.ts +64 -6
- package/dist/patterns/calendar/calendar.surface.d.ts.map +1 -1
- package/dist/patterns/calendar/calendar.types.d.ts +223 -6
- package/dist/patterns/calendar/calendar.types.d.ts.map +1 -1
- package/dist/patterns/calendar/index.d.ts +9 -6
- package/dist/patterns/calendar/index.d.ts.map +1 -1
- package/dist/patterns/calendar/index.js +18 -15
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signed-out-frame/index.js +1 -1
- package/dist/tokens.css +5 -1
- package/package.json +1 -1
- package/dist/_chunks/appointment-card-0PebvrOS.js.map +0 -1
- package/dist/_chunks/calendar-_sgjuH3L.js.map +0 -1
- package/dist/_chunks/calendar-appointment-editor-dialog-B-zYgCgH.js +0 -10974
- package/dist/_chunks/calendar-appointment-editor-dialog-B-zYgCgH.js.map +0 -1
- package/dist/_chunks/calendar-event-card-DXAYWH6k.js.map +0 -1
- package/dist/_chunks/rich-text-editor-BLEdXJ0l.js.map +0 -1
- package/dist/_chunks/task-editor-C05yx7JJ.js +0 -1218
- package/dist/_chunks/task-editor-C05yx7JJ.js.map +0 -1
- package/dist/_chunks/treatment-receipt-1VnuinhY.js.map +0 -1
- package/dist/_chunks/use-appointment-details-read-Bm408XzX.js +0 -2198
- package/dist/_chunks/use-appointment-details-read-Bm408XzX.js.map +0 -1
- package/dist/_chunks/whatsapp-button-DV9JFmtq.js.map +0 -1
|
@@ -40,12 +40,14 @@
|
|
|
40
40
|
import type { CalendarView } from '../../components/calendar';
|
|
41
41
|
import { type ControlRoomFavoriteChange, type ControlRoomTool } from '../../components/control-room-rail';
|
|
42
42
|
import { type CalendarAppointmentEditorLoader } from './calendar-editor-hydration';
|
|
43
|
-
import { type CalendarAppointmentDetailsLoader } from './calendar-appointment-details';
|
|
43
|
+
import { type CalendarDetailsAction, type CalendarDocumentKind, type CalendarAppointmentDetailsLoader } from './calendar-appointment-details';
|
|
44
44
|
import { type CalendarData } from './calendar.data';
|
|
45
45
|
import type { CalendarJourney } from './calendar.journey';
|
|
46
46
|
import { type CalendarPreferenceAdapter } from './calendar.preferences';
|
|
47
|
-
import { type
|
|
48
|
-
import { type
|
|
47
|
+
import { type CalendarPatient, type CalendarArchive, type CalendarCreatePatient, type CalendarPrompts, type CalendarPracticeSettingsSeam } from './calendar.types';
|
|
48
|
+
import { type CalendarRow, type EditorPrefill, type WaitingQuickView } from './calendar.model';
|
|
49
|
+
import { type CalendarWaitingListState, type CalendarWorkspaceToolId, type WorkspaceDisplaySettings, type BacklogGap, type CalendarViewChange, type WorkspaceViewId, type RecurringScopeChosen } from './calendar-workspace.model';
|
|
50
|
+
import { type EditorPlatformOptions } from './calendar.sheets';
|
|
49
51
|
export { WORKSPACE_TOOL, type CalendarWorkspaceToolId, } from './calendar-workspace.model';
|
|
50
52
|
/** Host-owned queue membership, independent of the visible calendar range. */
|
|
51
53
|
export interface CalendarOnlineBookings {
|
|
@@ -66,6 +68,14 @@ export type CalendarToolOpenSource = 'rail' | 'appointment_panel' | 'selection'
|
|
|
66
68
|
/** Where the appointment behind a details panel was selected. `host` is
|
|
67
69
|
* a selection the journey made itself. */
|
|
68
70
|
export type CalendarDetailsOpenSource = 'calendar' | 'appointments_panel' | 'bookings_panel' | 'waiting_list' | 'deep_link' | 'host';
|
|
71
|
+
/** Where a Move or Copy was started: the read-only details panel, or the
|
|
72
|
+
* editor opened on the appointment. */
|
|
73
|
+
export type CalendarMoveCopySurface = 'panel' | 'editor';
|
|
74
|
+
/** Where a click-time analytics hook came from (the PRD's `surface`
|
|
75
|
+
* property). The kit raises `panel` and `editor` for Edit and Delete and
|
|
76
|
+
* `rail` for the waiting list's WhatsApp link; `grid` and `toolbar` are
|
|
77
|
+
* for the host's own surfaces and for a grid action when one ships. */
|
|
78
|
+
export type CalendarAnalyticsSurface = 'panel' | 'editor' | 'grid' | 'toolbar' | 'rail';
|
|
69
79
|
/**
|
|
70
80
|
* A host tool on the workspace rail (`CalendarWorkspaceProps.extraTools`):
|
|
71
81
|
* a Control Room tool, plus what privacy mode does to it. `scope` and
|
|
@@ -103,6 +113,17 @@ export interface CalendarWorkspaceExtraTool extends ControlRoomTool {
|
|
|
103
113
|
* its own and passes identifiers only, never patient data: the host owns
|
|
104
114
|
* the calls, the property allow-list and any once-per guard.
|
|
105
115
|
*/
|
|
116
|
+
export interface CalendarWorkspaceRecurrence {
|
|
117
|
+
/** The "Ends: after N times / on a date" choice. `false` when the host
|
|
118
|
+
* stores only a repetition count. Defaults to on. */
|
|
119
|
+
endDate?: boolean;
|
|
120
|
+
/** The "Skip closed days" switch. `false` when the host cannot skip
|
|
121
|
+
* closed days. Defaults to on. */
|
|
122
|
+
skipClosedDays?: boolean;
|
|
123
|
+
/** Start value of "Skip closed days" (on when absent); the user can
|
|
124
|
+
* still flip it. */
|
|
125
|
+
skipClosedDaysDefault?: boolean;
|
|
126
|
+
}
|
|
106
127
|
export interface CalendarWorkspaceAnalytics {
|
|
107
128
|
/** A built-in tool panel opened. Not raised again while it stays open,
|
|
108
129
|
* and never for an id no tool carries. Host tools report through
|
|
@@ -126,6 +147,108 @@ export interface CalendarWorkspaceAnalytics {
|
|
|
126
147
|
source: CalendarDetailsOpenSource;
|
|
127
148
|
view: CalendarView;
|
|
128
149
|
}) => void;
|
|
150
|
+
/** A new series was saved. Raised once per accepted save, never for a
|
|
151
|
+
* failed one or an edit. `rule` is `custom` when the repeat uses
|
|
152
|
+
* every-N or chosen weekdays; `end` is `date` for "on a date". */
|
|
153
|
+
onRecurringCreated?: (event: {
|
|
154
|
+
rule: 'preset' | 'custom';
|
|
155
|
+
end: 'count' | 'date';
|
|
156
|
+
skipClosedDays: boolean;
|
|
157
|
+
}) => void;
|
|
158
|
+
/** The user answered the repeat scope question: an accepted save (with
|
|
159
|
+
* the scope it saved under), a confirmed move or a confirmed delete.
|
|
160
|
+
* Never raised when the user cancels or a save is refused. An occurrence
|
|
161
|
+
* changed on its own asks only on delete. */
|
|
162
|
+
onRecurringScopeChosen?: (event: RecurringScopeChosen) => void;
|
|
163
|
+
/** The user completed an action in the details panel: a status saved, a
|
|
164
|
+
* handler run, a delete confirmed, a link followed. Raised once per
|
|
165
|
+
* action, whatever the surface; the host adds `surface: "panel"`. */
|
|
166
|
+
onDetailsActionUsed?: (event: {
|
|
167
|
+
action: CalendarDetailsAction;
|
|
168
|
+
}) => void;
|
|
169
|
+
/** The user clicked Edit on the details panel. Raised on the CLICK, even
|
|
170
|
+
* when the host then routes elsewhere (an online booking completes on
|
|
171
|
+
* its own flow), once per click. The old calendar's
|
|
172
|
+
* `calendar_appointment_edit_opened`; its once-a-day guard is the
|
|
173
|
+
* host's. `onDetailsActionUsed` keeps hearing the completed action. */
|
|
174
|
+
onAppointmentEditOpened?: (event: {
|
|
175
|
+
eventId: string;
|
|
176
|
+
surface: CalendarAnalyticsSurface;
|
|
177
|
+
view: CalendarView;
|
|
178
|
+
}) => void;
|
|
179
|
+
/** The user clicked Delete, on the details panel or in the editor,
|
|
180
|
+
* BEFORE the confirm and whatever the answer. Raised once per click.
|
|
181
|
+
* The old calendar's `calendar_appointment_delete_initiated`.
|
|
182
|
+
* `onDetailsActionUsed` with `delete` still reports a confirmed delete. */
|
|
183
|
+
onAppointmentDeleteInitiated?: (event: {
|
|
184
|
+
eventId: string;
|
|
185
|
+
surface: CalendarAnalyticsSurface;
|
|
186
|
+
view: CalendarView;
|
|
187
|
+
}) => void;
|
|
188
|
+
/** The user picked an entry of the details panel's Create document menu.
|
|
189
|
+
* Raised on the PICK, before the bill's "this visit or all visits"
|
|
190
|
+
* question and whatever the answer, once per pick. The old calendar's
|
|
191
|
+
* `calendar_popover_create_document_clicked`; the host maps `kind` to
|
|
192
|
+
* its `action` value. `onDetailsActionUsed` with `document` still
|
|
193
|
+
* reports the completed action. Carries the appointment id and the kind,
|
|
194
|
+
* never patient data. */
|
|
195
|
+
onDocumentCreateClicked?: (event: {
|
|
196
|
+
eventId: string;
|
|
197
|
+
kind: CalendarDocumentKind;
|
|
198
|
+
surface: CalendarAnalyticsSurface;
|
|
199
|
+
view: CalendarView;
|
|
200
|
+
}) => void;
|
|
201
|
+
/** The user clicked the WhatsApp link on a waiting-list entry. Raised
|
|
202
|
+
* once per click, only for an entry that has a number and never under
|
|
203
|
+
* privacy. The old calendar's `waiting_list_whatsapp_clicked`. Carries
|
|
204
|
+
* the entry id: never a name, a number or a note. */
|
|
205
|
+
onWaitingListWhatsAppClicked?: (event: {
|
|
206
|
+
entryId: string;
|
|
207
|
+
surface: CalendarAnalyticsSurface;
|
|
208
|
+
view: CalendarView;
|
|
209
|
+
}) => void;
|
|
210
|
+
/** The user started a Move: Move on the details panel or the editor, or
|
|
211
|
+
* a card dropped on the grid (`grid`). Raised when the move is armed or
|
|
212
|
+
* dropped, not when it lands. The old calendar's
|
|
213
|
+
* `calendar_appointment_move_initiated`; its once-a-day guard is the
|
|
214
|
+
* host's. */
|
|
215
|
+
onAppointmentMoveInitiated?: (event: {
|
|
216
|
+
eventId: string;
|
|
217
|
+
surface: CalendarMoveCopySurface | 'grid';
|
|
218
|
+
view: CalendarView;
|
|
219
|
+
}) => void;
|
|
220
|
+
/** The user picked a Copy choice on the details panel or the editor.
|
|
221
|
+
* `withTreatments` is false for "appointment only". Raised when the copy
|
|
222
|
+
* is armed, not when it lands. The old calendar's
|
|
223
|
+
* `calendar_appointment_copy_initiated`. */
|
|
224
|
+
onAppointmentCopyInitiated?: (event: {
|
|
225
|
+
eventId: string;
|
|
226
|
+
withTreatments: boolean;
|
|
227
|
+
surface: CalendarMoveCopySurface;
|
|
228
|
+
view: CalendarView;
|
|
229
|
+
}) => void;
|
|
230
|
+
/** The user confirmed the print dialog for a day. The old calendar's
|
|
231
|
+
* `calendar_print_used`. Raised once per confirmed print. */
|
|
232
|
+
onPrintUsed?: (event: {
|
|
233
|
+
view: CalendarView;
|
|
234
|
+
}) => void;
|
|
235
|
+
/** The user picked a date in the jump-to-date picker. Raised on every
|
|
236
|
+
* pick; the once-a-day guard is the host's. The old calendar's
|
|
237
|
+
* `calendar_jump_to_date_used`. */
|
|
238
|
+
onJumpToDateUsed?: (event: {
|
|
239
|
+
view: CalendarView;
|
|
240
|
+
}) => void;
|
|
241
|
+
/** The user picked a quick view of the waiting list that was not already
|
|
242
|
+
* chosen, or ran the detailed search (`advanced_search`). The old
|
|
243
|
+
* calendar's `waiting_list_filter_used`. */
|
|
244
|
+
onWaitingListFilterUsed?: (event: {
|
|
245
|
+
filter: WaitingQuickView | 'advanced_search';
|
|
246
|
+
}) => void;
|
|
247
|
+
/** The user showed or hid the waiting list's detailed filters. The old
|
|
248
|
+
* calendar's `waiting_list_advanced_filter_toggled`. */
|
|
249
|
+
onWaitingListAdvancedFilterToggled?: (event: {
|
|
250
|
+
action: 'show' | 'hide';
|
|
251
|
+
}) => void;
|
|
129
252
|
/** A rail preference was saved on this device. `toolId` may be a host
|
|
130
253
|
* tool's id. `resize` is raised only with `persistPanelWidthKey`, since
|
|
131
254
|
* without it nothing is saved. */
|
|
@@ -143,6 +266,20 @@ export interface CalendarWorkspaceAnalytics {
|
|
|
143
266
|
source: Extract<CalendarToolOpenSource, 'rail' | 'system'>;
|
|
144
267
|
view: CalendarView;
|
|
145
268
|
}) => void;
|
|
269
|
+
/** The Settings panel opened in the rail (PRD event
|
|
270
|
+
* calendar_settings_opened). */
|
|
271
|
+
onSettingsOpened?: () => void;
|
|
272
|
+
/** A setting changed in the Settings panel (PRD event calendar_setting_changed).
|
|
273
|
+
* Raised once per change. `setting` is the display field name,
|
|
274
|
+
* `hiddenDays` or `reset`. */
|
|
275
|
+
onSettingChanged?: (event: {
|
|
276
|
+
setting: string;
|
|
277
|
+
section: 'personal' | 'practice';
|
|
278
|
+
}) => void;
|
|
279
|
+
/** The Practice section's link to the host's opening hours editor was
|
|
280
|
+
* followed, whether it is a button (`onOpen`) or a link (`href`) (PRD
|
|
281
|
+
* event calendar_scheduler_opened). */
|
|
282
|
+
onHoursOpened?: () => void;
|
|
146
283
|
}
|
|
147
284
|
export interface CalendarWorkspaceProps {
|
|
148
285
|
/** Optional canonical read for every existing-appointment editor route.
|
|
@@ -165,6 +302,10 @@ export interface CalendarWorkspaceProps {
|
|
|
165
302
|
/** The host's read of the waiting list: a first `loading` shows
|
|
166
303
|
* placeholders, `error` offers `onRetry`. Omitted = always ready. */
|
|
167
304
|
waitingListState?: CalendarWaitingListState;
|
|
305
|
+
/** Loads the visible range again. The workspace offers Retry above the
|
|
306
|
+
* grid only while a visible day is `'error'` in `data.dayLoadState`, and
|
|
307
|
+
* withholds the button when this is omitted. */
|
|
308
|
+
onRetryLoad?: () => void;
|
|
168
309
|
/** When each appointment entered its current state, by event id (ISO
|
|
169
310
|
* 8601). The upcoming panel shows "waiting for 12 min" only for rows
|
|
170
311
|
* listed here; it never derives an elapsed time from the start. */
|
|
@@ -177,6 +318,16 @@ export interface CalendarWorkspaceProps {
|
|
|
177
318
|
permissions?: {
|
|
178
319
|
editAppointment?: boolean;
|
|
179
320
|
};
|
|
321
|
+
/**
|
|
322
|
+
* The Settings panel's Practice section (PRD 02). Each member is passed only when
|
|
323
|
+
* the host grants this user that setting's existing right; with no member
|
|
324
|
+
* the section is absent. Edits are a draft until Save, which calls
|
|
325
|
+
* `onSave`. After a successful save the host re-feeds `data` (the
|
|
326
|
+
* holiday wash and bookability read the host's `practiceClosedOn` and
|
|
327
|
+
* `closureOn`, the care restriction reads the cares' allowed lists) so
|
|
328
|
+
* the grid follows.
|
|
329
|
+
*/
|
|
330
|
+
practiceSettings?: CalendarPracticeSettingsSeam;
|
|
180
331
|
/** Deep link `focusAppointmentId`: open on the appointment's day, ring
|
|
181
332
|
* and scroll to its card and dock its details. */
|
|
182
333
|
focusAppointmentId?: string;
|
|
@@ -231,7 +382,59 @@ export interface CalendarWorkspaceProps {
|
|
|
231
382
|
* once the host records what each save changed, so the older entries
|
|
232
383
|
* read as incomplete rather than empty. */
|
|
233
384
|
noteUnrecordedEdits?: boolean;
|
|
234
|
-
/**
|
|
385
|
+
/** What the host can persist for a new series. Each control is offered
|
|
386
|
+
* unless the host sets its flag to `false`. */
|
|
387
|
+
recurrence?: CalendarWorkspaceRecurrence;
|
|
388
|
+
/**
|
|
389
|
+
* Treatment consents the chosen cares need for this visit (HTP-3395),
|
|
390
|
+
* read by the editor on create and on edit. Omit it and the editor offers
|
|
391
|
+
* no consents: the kit never lists what the host cannot back. Return the
|
|
392
|
+
* consents of THIS appointment (a new one every visit, never the
|
|
393
|
+
* patient's older ones). The editor shows each missing one as a tick
|
|
394
|
+
* (ticked on create, unticked on edit) and reports the ticked ids in
|
|
395
|
+
* `EditorDraftExtras.consentIds` on save: the host creates and sends
|
|
396
|
+
* them, and chooses in-person or remote signing itself. The details panel
|
|
397
|
+
* only lists them, under `signing.consents`.
|
|
398
|
+
*/
|
|
399
|
+
consentsForCares?: EditorPlatformOptions['consentsForCares'];
|
|
400
|
+
/**
|
|
401
|
+
* Medical devices the chosen cares need at the visit's slot (PRD 01,
|
|
402
|
+
* B9). The editor shows one choice per care that needs a device, set to
|
|
403
|
+
* the host's `assignedId`, and reports the chosen devices in
|
|
404
|
+
* `EditorDraftExtras.medicalDevices` on save. A pick resets when the date,
|
|
405
|
+
* time or length changes, so the host assigns again for the new slot.
|
|
406
|
+
* Pass it only when the practice has the feature (platform switch
|
|
407
|
+
* `find_free_slots_by_care`); omit it and the editor offers no choice:
|
|
408
|
+
* the kit never shows a control the host cannot back. When every device
|
|
409
|
+
* is busy the editor says so and the save goes ahead. Synchronous and
|
|
410
|
+
* pure: see `EditorPlatformOptions.medicalDevicesForCares`.
|
|
411
|
+
*/
|
|
412
|
+
medicalDevicesForCares?: EditorPlatformOptions['medicalDevicesForCares'];
|
|
413
|
+
/**
|
|
414
|
+
* Create a patient from an online booking that has none (PRD 01). The
|
|
415
|
+
* editor shows "Create patient" in the booking card while no patient is
|
|
416
|
+
* chosen; the host opens its own new-patient form filled with the booking
|
|
417
|
+
* name, phone and email, and resolves with the new patient (or
|
|
418
|
+
* `undefined` when the user cancels). Make the record available through
|
|
419
|
+
* `CalendarData.patientById` before resolving. Omit it and the editor
|
|
420
|
+
* offers no such button: the kit never shows a control the host cannot
|
|
421
|
+
* back.
|
|
422
|
+
*/
|
|
423
|
+
createPatientFromBooking?: EditorPlatformOptions['createPatientFromBooking'];
|
|
424
|
+
/**
|
|
425
|
+
* Create a patient from the patient search (PRD 01, B20). The editor and
|
|
426
|
+
* the waiting-list entry form (not its filter) show "Create patient"
|
|
427
|
+
* under the search while no patient is chosen. The host opens its own
|
|
428
|
+
* new-patient form (`typedText` is the last text typed, to prefill it) and
|
|
429
|
+
* resolves with the new patient, or `null` on cancel (nothing changes).
|
|
430
|
+
* The kit then selects it as if it had been picked. Make the record
|
|
431
|
+
* available through `CalendarData.patientById` before resolving. Reject
|
|
432
|
+
* with a safe `Error` to show its message. Omit it and the action is
|
|
433
|
+
* withheld; so it is for a read-only viewer. An online booking that has
|
|
434
|
+
* `createPatientFromBooking` keeps its own button and prefill.
|
|
435
|
+
*/
|
|
436
|
+
createPatient?: CalendarCreatePatient;
|
|
437
|
+
/** Where the cog's settings, the view, the days shown and the
|
|
235
438
|
* chair / operator selections are remembered — the host's per-user
|
|
236
439
|
* store. Defaults to the session-scoped in-memory adapter. */
|
|
237
440
|
preferences?: CalendarPreferenceAdapter;
|
|
@@ -273,6 +476,24 @@ export interface CalendarWorkspaceProps {
|
|
|
273
476
|
/** Usage callbacks for the host's analytics. Omit it and nothing is
|
|
274
477
|
* reported. */
|
|
275
478
|
analytics?: CalendarWorkspaceAnalytics;
|
|
479
|
+
/** Opens a patient's record in the host (the patient file). Offered on
|
|
480
|
+
* the editor's identity line and the waiting list; the name is plain
|
|
481
|
+
* text without it. */
|
|
482
|
+
onOpenPatient?: (patient: CalendarPatient) => void;
|
|
483
|
+
/** Opens the host's hours editor (opening hours, closures, absences).
|
|
484
|
+
* Offered beside the free-slot finder's missing-hours advisory; the
|
|
485
|
+
* advisory still names what is missing without it. */
|
|
486
|
+
onOpenScheduler?: () => void;
|
|
487
|
+
/** Takes the user back to where a deep link came from (a care plan, the
|
|
488
|
+
* patient file), called after a save. With it a `createParameters`
|
|
489
|
+
* arrival with `simpleSave: false` keeps its two saves, "Save and go
|
|
490
|
+
* back" and "Save and continue"; without it the arrival gets the single
|
|
491
|
+
* Save. */
|
|
492
|
+
onSaveAndReturn?: () => void;
|
|
493
|
+
/** Starts the host's on-device e-signature for an appointment (signee,
|
|
494
|
+
* operator, one-time code). Offered as "On this device" in the
|
|
495
|
+
* signature request menu; withheld without it. */
|
|
496
|
+
onRequestSignatureOnDevice?: (eventId: string) => void;
|
|
276
497
|
/**
|
|
277
498
|
* Host tools, appended to the rail after the built-in ones, in this
|
|
278
499
|
* order. A tool is offered by passing it and withheld by leaving it out:
|
|
@@ -305,13 +526,44 @@ export interface CalendarWorkspaceProps {
|
|
|
305
526
|
* commit as the masked grid.
|
|
306
527
|
*/
|
|
307
528
|
onPrivacyChange?: (privacy: boolean) => void;
|
|
529
|
+
/**
|
|
530
|
+
* The calendar archive session (the practice's global archive plus one
|
|
531
|
+
* second archive). Passing it turns on the seven old rules: a new
|
|
532
|
+
* appointment first asks Global or Archive, the chair and operator
|
|
533
|
+
* columns and filters are gone, drag and resize are off, the details
|
|
534
|
+
* show no status change, a banner offers Exit, the view starts on Week,
|
|
535
|
+
* and every action callback carries the appointment's own `archiveId`.
|
|
536
|
+
*/
|
|
537
|
+
calendarArchive?: CalendarArchive;
|
|
538
|
+
/**
|
|
539
|
+
* The old calendar's kept prompts, each a host seam and withheld when
|
|
540
|
+
* left out: a `banner` above the grid, the `firstAppointment` alert
|
|
541
|
+
* with an optional host button, and the `academyHref` tutorial link in
|
|
542
|
+
* the Settings panel.
|
|
543
|
+
*/
|
|
544
|
+
prompts?: CalendarPrompts;
|
|
545
|
+
/**
|
|
546
|
+
* The view the page address names (`day`, `threeDays`, `week` or
|
|
547
|
+
* `month`). It beats the user's remembered view until they pick another,
|
|
548
|
+
* and the remembered view is not overwritten. The day it opens on is
|
|
549
|
+
* `data.initialDateIso`; the column axis is `initialDisplay.resourceKind`.
|
|
550
|
+
* The kit never reads `window.location`: the host reads its own address
|
|
551
|
+
* and passes these in.
|
|
552
|
+
*/
|
|
553
|
+
initialView?: WorkspaceViewId;
|
|
554
|
+
/**
|
|
555
|
+
* After every navigation (a view switch, previous, next, Today, the mini
|
|
556
|
+
* month, jump to date, a Month day, the column axis), once, with the new
|
|
557
|
+
* view, the day as `YYYY-MM-DD` and the axis. Not raised for the first
|
|
558
|
+
* render. The host writes the page address; the kit writes nothing.
|
|
559
|
+
*/
|
|
560
|
+
onViewChange?: (change: CalendarViewChange) => void;
|
|
308
561
|
}
|
|
309
562
|
/**
|
|
310
563
|
* The cog's settings as the workspace opens with them: the remembered
|
|
311
564
|
* entry under the workspace's own key, a caller's `initialDisplay`
|
|
312
565
|
* winning for the keys it names. Exported so a host seeding its journey
|
|
313
|
-
*
|
|
314
|
-
* the workspace will show.
|
|
566
|
+
* starts from the same values the workspace will show.
|
|
315
567
|
*/
|
|
316
568
|
export declare function initialWorkspaceDisplay(initialDisplay: Partial<WorkspaceDisplaySettings> | undefined, preferences?: CalendarPreferenceAdapter): WorkspaceDisplaySettings;
|
|
317
569
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-workspace.d.ts","sourceRoot":"","sources":["../../../src/patterns/calendar/calendar-workspace.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,KAAK,EAEV,YAAY,EACb,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"calendar-workspace.d.ts","sourceRoot":"","sources":["../../../src/patterns/calendar/calendar-workspace.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,OAAO,KAAK,EAEV,YAAY,EACb,MAAM,2BAA2B,CAAC;AA4BnC,OAAO,EAKL,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACrB,MAAM,oCAAoC,CAAC;AAU5C,OAAO,EAGL,KAAK,+BAA+B,EACrC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAIL,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EAEzB,KAAK,gCAAgC,EACtC,MAAM,gCAAgC,CAAC;AAMxC,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAIV,eAAe,EAEhB,MAAM,oBAAoB,CAAC;AAO5B,OAAO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,CAAC,EAAE,MAAM,CAAC;IAC9B;oBACgB;IAChB,SAAS,CAAC,EAAE,0BAA0B,CAAC;IACvC;;2BAEuB;IACvB,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,IAAI,CAAC;IACnD;;2DAEuD;IACvD,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B;;;;gBAIY;IACZ,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B;;uDAEmD;IACnD,0BAA0B,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACvD;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,UAAU,CAAC,EAAE,SAAS,0BAA0B,EAAE,CAAC;IACnD;;;;;;;;OAQG;IACH,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C;;;;;;;OAOG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;;;;OAKG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,kBAAkB,KAAK,IAAI,CAAC;CACrD;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,cAAc,EAAE,OAAO,CAAC,wBAAwB,CAAC,GAAG,SAAS,EAC7D,WAAW,GAAE,yBAAmD,GAC/D,wBAAwB,CAK1B;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,iBAAiB,CAAC,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,sBAAsB,2CAU3E"}
|
|
@@ -19,8 +19,9 @@ export declare const WORKSPACE_TOOL: {
|
|
|
19
19
|
readonly notes: "patient-notes";
|
|
20
20
|
readonly bookings: "online-bookings";
|
|
21
21
|
readonly findSlots: "find-slots";
|
|
22
|
+
readonly settings: "settings";
|
|
22
23
|
};
|
|
23
|
-
/** One of the workspace rail's
|
|
24
|
+
/** One of the workspace rail's seven tools. Notes requires patient context. */
|
|
24
25
|
export type CalendarWorkspaceToolId = (typeof WORKSPACE_TOOL)[keyof typeof WORKSPACE_TOOL];
|
|
25
26
|
/** Strip order — the order the rail registers the tools in, and the
|
|
26
27
|
* order a host's `availableTools` is normalised back to. */
|
|
@@ -30,7 +31,9 @@ export declare const ALL_WORKSPACE_TOOLS: readonly CalendarWorkspaceToolId[];
|
|
|
30
31
|
*
|
|
31
32
|
* Appointments is forced in whatever the caller asked for: the rail
|
|
32
33
|
* docks it as its resting panel, so leaving it out would leave an empty
|
|
33
|
-
* dock rather than a smaller rail.
|
|
34
|
+
* dock rather than a smaller rail. Settings is forced in too: the kit
|
|
35
|
+
* backs it itself and the toolbar button needs somewhere to open. An id
|
|
36
|
+
* the kit does not know is
|
|
34
37
|
* ignored rather than thrown on — a host on a newer contract than the
|
|
35
38
|
* kit it mounts must not crash the agenda.
|
|
36
39
|
*/
|
|
@@ -60,6 +63,20 @@ export declare const WORKSPACE_VIEW_STEM: Record<WorkspaceViewId, 'Day' | 'Three
|
|
|
60
63
|
/** Google-Calendar-style single-key shortcuts (X = 3 days, as GCal). */
|
|
61
64
|
export declare const VIEW_SHORTCUT_KEYS: Record<WorkspaceViewId, string>;
|
|
62
65
|
export declare const readWorkspaceViewId: (raw: unknown) => WorkspaceViewId | undefined;
|
|
66
|
+
/**
|
|
67
|
+
* Where the calendar went, handed to the host after every navigation so it
|
|
68
|
+
* can keep the view and the date in the page address. `view` and `axis`
|
|
69
|
+
* round-trip: pass `view` back as `initialView` and `axis` as
|
|
70
|
+
* `initialDisplay.resourceKind`. `axis` is left out where the column axis
|
|
71
|
+
* does not apply (Month, or a calendar archive session), so restoring it
|
|
72
|
+
* never overwrites the user's remembered axis.
|
|
73
|
+
*/
|
|
74
|
+
export interface CalendarViewChange {
|
|
75
|
+
view: WorkspaceViewId;
|
|
76
|
+
/** The day the grid is on, as a local `YYYY-MM-DD`. */
|
|
77
|
+
date: string;
|
|
78
|
+
axis?: 'chair' | 'operator' | 'none';
|
|
79
|
+
}
|
|
63
80
|
/** The range a bare key press selects, case-insensitive; undefined when
|
|
64
81
|
* the key is not a shortcut. */
|
|
65
82
|
export declare function viewForShortcutKey(key: string): WorkspaceViewId | undefined;
|
|
@@ -80,11 +97,22 @@ export interface ShortcutKeydown {
|
|
|
80
97
|
* press must be left alone (modifier, auto-repeat, typing, an open
|
|
81
98
|
* menu or dialog, already handled). */
|
|
82
99
|
export declare function shortcutViewForKeydown(event: ShortcutKeydown): WorkspaceViewId | undefined;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
100
|
+
/** The days a user who never chose any hides: Sunday. Reset to defaults
|
|
101
|
+
* returns here too. */
|
|
102
|
+
export declare const DEFAULT_HIDDEN_DAYS: readonly number[];
|
|
103
|
+
/** The old "Show weekends" switch as the days it hides. A remembered
|
|
104
|
+
* `showWeekends: false` maps to Sunday and Saturday hidden. */
|
|
85
105
|
export declare function weekendHiddenDays(showWeekends: boolean): number[];
|
|
106
|
+
/** The seven weekdays as `Date#getDay()` numbers, Monday first. */
|
|
107
|
+
export declare const WEEK_DAYS_MONDAY_FIRST: readonly number[];
|
|
108
|
+
/** The user's hidden weekdays (0 Sunday to 6 Saturday, the platform's
|
|
109
|
+
* `hiddenDays`), sorted. Anything else, or all seven days hidden (the grid
|
|
110
|
+
* needs one), is not a valid choice: undefined, so the caller falls back. */
|
|
111
|
+
export declare function readHiddenDays(raw: unknown): number[] | undefined;
|
|
86
112
|
export type OperatorNameDisplay = 'full' | 'initials';
|
|
87
113
|
export type ChairNameDisplay = 'full' | 'short';
|
|
114
|
+
/** The operator filter as groups with a tri-state each, or one flat list. */
|
|
115
|
+
export type OperatorListMode = 'grouped' | 'flat';
|
|
88
116
|
export interface WorkspaceDisplaySettings extends DisplaySettings {
|
|
89
117
|
/** The per-user default appointment length (platform 30). */
|
|
90
118
|
defaultDurationMin: number;
|
|
@@ -94,6 +122,11 @@ export interface WorkspaceDisplaySettings extends DisplaySettings {
|
|
|
94
122
|
chairNameDisplay: ChairNameDisplay;
|
|
95
123
|
/** Show the Google Maps link in the appointment details. */
|
|
96
124
|
mapsLink: boolean;
|
|
125
|
+
/** Keep cancelled appointments on the grid, faded and not draggable.
|
|
126
|
+
* Off by default (HTP-6568): cancelled appointments stay hidden. */
|
|
127
|
+
showCancelled: boolean;
|
|
128
|
+
/** Optional for saved preferences and older consumers. @default 'grouped' */
|
|
129
|
+
operatorListMode?: OperatorListMode;
|
|
97
130
|
}
|
|
98
131
|
export declare const DEFAULT_DURATION_RANGE: {
|
|
99
132
|
readonly min: 5;
|
|
@@ -175,12 +208,69 @@ export interface EditorDraftExtras {
|
|
|
175
208
|
recurringSaveMode?: RecurringScope;
|
|
176
209
|
requiredDocsSignMode?: RequiredDocsSignMode;
|
|
177
210
|
branchId?: string;
|
|
211
|
+
/** The treatment consents the user left ticked: the host creates and
|
|
212
|
+
* sends them with this save (HTP-3395). Absent = none ticked, or the
|
|
213
|
+
* host offered none. They belong to the appointment the editor shows.
|
|
214
|
+
* On a series edit `recurringSaveMode` arrives beside them: whether the
|
|
215
|
+
* other visits get a consent of their own is the host's call (a new
|
|
216
|
+
* consent every visit). Failure: reject `onSave` for the whole save, so
|
|
217
|
+
* nothing changes and the editor shows the error; the kit has no
|
|
218
|
+
* partial-failure state. */
|
|
219
|
+
consentIds?: string[];
|
|
220
|
+
/** The medical device chosen for each care that needs one (B9), when the
|
|
221
|
+
* host passed `medicalDevicesForCares`. One entry per care: a care that
|
|
222
|
+
* appears twice in the visit uses the same device. A care with no free
|
|
223
|
+
* device is left out, and the save still goes ahead. The host stores
|
|
224
|
+
* the assignment with the appointment. */
|
|
225
|
+
medicalDevices?: MedicalDeviceAssignment[];
|
|
226
|
+
}
|
|
227
|
+
/** One medical device a care can use. `busy` = taken at the visit's time. */
|
|
228
|
+
export interface MedicalDeviceOption {
|
|
229
|
+
id: string;
|
|
230
|
+
name: string;
|
|
231
|
+
busy?: boolean;
|
|
232
|
+
}
|
|
233
|
+
/** The devices one care needs, as the host sees them for a given slot. */
|
|
234
|
+
export interface CareDeviceChoice {
|
|
235
|
+
careId: string;
|
|
236
|
+
options: readonly MedicalDeviceOption[];
|
|
237
|
+
/** The host's pick for this slot: the saved device on an edit that has
|
|
238
|
+
* not moved, else the free device it would assign. */
|
|
239
|
+
assignedId?: string;
|
|
178
240
|
}
|
|
179
|
-
/**
|
|
180
|
-
|
|
241
|
+
/** What the host is asked: the cares and the slot they would use. */
|
|
242
|
+
export interface MedicalDeviceQuery {
|
|
243
|
+
careIds: readonly string[];
|
|
244
|
+
start: Date;
|
|
245
|
+
durationMin: number;
|
|
246
|
+
/** Set on an edit, so the visit's own device does not count as busy. */
|
|
247
|
+
eventId?: string;
|
|
248
|
+
}
|
|
249
|
+
/** A device chosen for a care, as saved with the appointment. */
|
|
250
|
+
export interface MedicalDeviceAssignment {
|
|
251
|
+
careId: string;
|
|
252
|
+
deviceId: string;
|
|
253
|
+
}
|
|
254
|
+
/** The device a care ends on: the user's pick while it is still on offer
|
|
255
|
+
* and free, else the host's pick if that is free too. A busy device is
|
|
256
|
+
* never returned, even as the host's pick: `undefined` when none is free. */
|
|
257
|
+
export declare function effectiveDeviceId(choice: CareDeviceChoice, picked: string | undefined): string | undefined;
|
|
258
|
+
/** Delete confirmation choices — the recurring scope and, for any
|
|
259
|
+
* occurrence of a price-list series, the care-plan cleanup. */
|
|
181
260
|
export interface DeleteOptions {
|
|
182
261
|
scope: RecurringScope;
|
|
183
262
|
removeFromCarePlan?: boolean;
|
|
263
|
+
/** The deleted appointment's own archive, when it has one. */
|
|
264
|
+
archiveId?: string;
|
|
265
|
+
}
|
|
266
|
+
/** Whether an edit or a move on this row asks the scope question: it
|
|
267
|
+
* belongs to a series and was not changed on its own. Delete does not
|
|
268
|
+
* use it: a changed occurrence still offers the three scopes there. */
|
|
269
|
+
export declare function rowAsksScope(row: CalendarRow | null | undefined): boolean;
|
|
270
|
+
/** One answer to the scope question, for the host's analytics. */
|
|
271
|
+
export interface RecurringScopeChosen {
|
|
272
|
+
action: 'edit' | 'move' | 'delete';
|
|
273
|
+
scope: RecurringScope;
|
|
184
274
|
}
|
|
185
275
|
/** The occurrences a scope names, in series order — the event itself
|
|
186
276
|
* for `this`, it and its later occurrences for `following`, the whole
|
|
@@ -233,10 +323,7 @@ export interface CreateModeRequest {
|
|
|
233
323
|
/** Named in the banner when the context carries a patient. */
|
|
234
324
|
patientName?: string;
|
|
235
325
|
}
|
|
236
|
-
|
|
237
|
-
* Google palette ships no text colour, so the pair is settled by the
|
|
238
|
-
* kit's own contrast maths rather than by eye. */
|
|
239
|
-
export declare function bannerTextColor(backgroundHex?: string): string | undefined;
|
|
326
|
+
export { bannerTextColor } from './calendar.model';
|
|
240
327
|
/** A Move… or Copy… armed from the details dialog: the next empty-slot
|
|
241
328
|
* click places the source appointment there. */
|
|
242
329
|
export interface PlacementRequest {
|
|
@@ -279,7 +366,7 @@ export declare function hiddenReasons(notice: Pick<SaveNotice, 'date' | 'chairId
|
|
|
279
366
|
hiddenDays: readonly number[];
|
|
280
367
|
selectedChairIds: readonly string[];
|
|
281
368
|
selectedOperatorIds: readonly string[];
|
|
282
|
-
}): Array<'range' | '
|
|
369
|
+
}): Array<'range' | 'day' | 'chair' | 'operator'>;
|
|
283
370
|
/**
|
|
284
371
|
* The platform DASHBOARD widget's window (`upcomingAppointmentsAction`):
|
|
285
372
|
* NOW → `forwardDays` later at 23:59:59.999, cancelled excluded, date
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-workspace.model.d.ts","sourceRoot":"","sources":["../../../src/patterns/calendar/calendar-workspace.model.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,EAEV,gBAAgB,EACjB,MAAM,2BAA2B,CAAC;AASnC,OAAO,KAAK,EAAE,YAAY,E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EAAE,SAAS,oBAAoB,EAAE,EACxC,IAAI,EAAE,YAAY,GACjB,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAUlC;AAED;uEACuE;AACvE,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,kBAAkB,GAAG,MAAM,CAStE;AAED,sEAAsE;AACtE,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;IACtC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB"}
|
|
1
|
+
{"version":3,"file":"calendar-workspace.model.d.ts","sourceRoot":"","sources":["../../../src/patterns/calendar/calendar-workspace.model.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,KAAK,EAEV,gBAAgB,EACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,UAAU,EAKhB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAGL,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,aAAa,EAElB,KAAK,gBAAgB,EAQtB,MAAM,kBAAkB,CAAC;AAc1B,eAAO,MAAM,cAAc;;;;;;;;CAQjB,CAAC;AAEX,+EAA+E;AAC/E,MAAM,MAAM,uBAAuB,GACjC,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEvD;6DAC6D;AAC7D,eAAO,MAAM,mBAAmB,EAAE,SAAS,uBAAuB,EAQjE,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,CACnC,SAAS,EAAE,SAAS,MAAM,EAAE,GAC3B,WAAW,CAAC,uBAAuB,CAAC,CAOtC;AAID,sDA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,EAAE,kBAAkB,GAAG,MAAM,CAStE;AAED,sEAAsE;AACtE,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;IACtC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB"}
|
|
@@ -71,8 +71,12 @@ export interface CalendarData {
|
|
|
71
71
|
/**
|
|
72
72
|
* Per-DATE load state, keyed by local `Y-m-d` — for a host that fills
|
|
73
73
|
* the grid one range at a time. The grid washes every cell of a day
|
|
74
|
-
* that is
|
|
75
|
-
* because "no row here" and "no row
|
|
74
|
+
* that is `'loading'` (or not named) and the finder refuses to answer
|
|
75
|
+
* from any day that is not `'ready'`, because "no row here" and "no row
|
|
76
|
+
* here YET" are different answers. A day that is `'error'` is not
|
|
77
|
+
* washed: it takes a flat error tint, and the workspace shows a message
|
|
78
|
+
* above the grid with Retry, which calls the `onRetryLoad` prop on
|
|
79
|
+
* `CalendarWorkspace` (no prop, no button).
|
|
76
80
|
* ABSENCE and presence differ: omit it and every rendered day is taken
|
|
77
81
|
* as loaded (the shape every host had before this existed); provide it
|
|
78
82
|
* and a date it does not name is NOT ready, so a host that knows its
|
|
@@ -81,7 +85,9 @@ export interface CalendarData {
|
|
|
81
85
|
dayLoadState?: Readonly<Record<string, DayLoadState>>;
|
|
82
86
|
/** The clock every relative label and ledger stamp is pinned to. */
|
|
83
87
|
nowIso: string;
|
|
84
|
-
/** The date the calendar opens on
|
|
88
|
+
/** The date the calendar opens on (`YYYY-MM-DD`): the host reads it from
|
|
89
|
+
* the page address, with `initialView`. The kit validates it: text that
|
|
90
|
+
* is not a real calendar day opens on the day of `nowIso` instead. */
|
|
85
91
|
initialDateIso: string;
|
|
86
92
|
/**
|
|
87
93
|
* The practice's billing currency as an ISO 4217 code (`'GBP'`,
|