@alfadocs/ui-kit 1.135.0 → 1.137.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.
Files changed (216) hide show
  1. package/dist/_chunks/{ai-prompt-input-JIPbrTF3.js → ai-prompt-input-CVNeusoW.js} +2 -2
  2. package/dist/_chunks/ai-summary-panel-BhCo2vZF.js +1045 -0
  3. package/dist/_chunks/{alia-sidebar-CtwhdASP.js → alia-sidebar-CVBlKur9.js} +3 -3
  4. package/dist/_chunks/{anamnesis-summary-rows-CCNmkq55.js → anamnesis-summary-rows-Dr2V1Rtf.js} +3 -3
  5. package/dist/_chunks/appointment-details-panel.history-DrIMDQYf.js +314 -0
  6. package/dist/_chunks/appointment-details-panel.identity-C20Y9xNC.js +223 -0
  7. package/dist/_chunks/{audio-recorder-CsnM_WDy.js → audio-recorder-BOF5YYoC.js} +2 -2
  8. package/dist/_chunks/{balance-badge-cell-DTiMdnCZ.js → balance-badge-cell-BSB02Bwo.js} +4 -4
  9. package/dist/_chunks/{bill-line-table-DHKb_O7c.js → bill-line-table-By-YL2ms.js} +2 -2
  10. package/dist/_chunks/{bishop-score-CKztphVz.js → bishop-score-DWGESRP9.js} +2 -2
  11. package/dist/_chunks/calendar-appointment-editor-dialog-D0n_bVsT.js +5518 -0
  12. package/dist/_chunks/calendar-editor-discard-host-1UfmMOEb.js +1336 -0
  13. package/dist/_chunks/calendar-editor-guard-9fShhNIA.js +31 -0
  14. package/dist/_chunks/calendar-waiting-list-panel-Ckd6tSeu.js +981 -0
  15. package/dist/_chunks/calendar-workspace.model-DrOoxY1b.js +1557 -0
  16. package/dist/_chunks/calendar.sheets-Datc0-IT.js +4585 -0
  17. package/dist/_chunks/call-status-chip-pajxN5eZ.js +180 -0
  18. package/dist/_chunks/calls-panel-BIfatK90.js +1094 -0
  19. package/dist/_chunks/{chat-input-CX4dxBq7.js → chat-input-BmvnuZqj.js} +114 -109
  20. package/dist/_chunks/{chat-message-CfIyXrxA.js → chat-message-B4TMeZ2m.js} +35 -30
  21. package/dist/_chunks/circle-x-W8Enq3i4.js +16 -0
  22. package/dist/_chunks/color-picker-CC8ZfntU.js +582 -0
  23. package/dist/_chunks/communications-panel-SQ-55e3V.js +1079 -0
  24. package/dist/_chunks/{data-grid-B2oaI7Lt.js → data-grid-CxKz8flO.js} +2 -2
  25. package/dist/_chunks/{data-table-FTV3uRjX.js → data-table-_tgj0C_T.js} +2 -2
  26. package/dist/_chunks/{default-tabs-DbebYO04.js → default-tabs-oDWQzbN7.js} +3 -3
  27. package/dist/_chunks/{document-preview-DLVIrOYV.js → document-preview-CirR3C_m.js} +3 -3
  28. package/dist/_chunks/entity-summary-CPUHzyil.js +297 -0
  29. package/dist/_chunks/{file-manager-Bzr5NK1t.js → file-manager-CEi4z2i0.js} +2 -2
  30. package/dist/_chunks/{fiscal-code-input-BBvU7sAo.js → fiscal-code-input-DZlpaMGg.js} +2 -2
  31. package/dist/_chunks/{gestational-age-calculator-mB6brTlp.js → gestational-age-calculator-CHbpC4vL.js} +2 -2
  32. package/dist/_chunks/{heatmap-C5gJin_F.js → heatmap-_546qI2V.js} +2 -2
  33. package/dist/_chunks/{iban-input-DuTwKok5.js → iban-input-CdSLRzQN.js} +2 -2
  34. package/dist/_chunks/{invoice-upload-list-B5aMffTy.js → invoice-upload-list-CQI9MUl6.js} +3 -3
  35. package/dist/_chunks/{kit-extensions-DUaIYyMD.js → kit-extensions-BNBf4m8O.js} +3 -3
  36. package/dist/_chunks/{link-cell-renderer-D3JLPURZ.js → link-cell-renderer-Xx5T8u5Q.js} +3 -3
  37. package/dist/_chunks/list-todo-KWvUhmT_.js +33 -0
  38. package/dist/_chunks/{muscle-scheme-BGJD62op.js → muscle-scheme-D_rSyGDj.js} +2 -2
  39. package/dist/_chunks/{notes-panel-BvjAo4RQ.js → notes-panel-DsEKNtsw.js} +2 -2
  40. package/dist/_chunks/{optical-prescription-Da_r8pMr.js → optical-prescription-DaSbsh4p.js} +2 -2
  41. package/dist/_chunks/palettes-CKVXYTzo.js +172 -0
  42. package/dist/_chunks/{patient-account-settings-B2XbN_Fe.js → patient-account-settings-COybehKx.js} +3 -3
  43. package/dist/_chunks/{patient-card-DTh3QTyS.js → patient-card-Cpr8iD19.js} +4 -4
  44. package/dist/_chunks/{patient-check-in-resume-B7NY-6KI.js → patient-check-in-resume-DZnyYDKH.js} +40 -40
  45. package/dist/_chunks/{patient-details-DBtEITfE.js → patient-details-Dv7EiTCo.js} +2 -2
  46. package/dist/_chunks/{patient-field-row-a5d4QijH.js → patient-field-row-DuHWGlLz.js} +3 -3
  47. package/dist/_chunks/patient-picker-BZJuOgMw.js +173 -0
  48. package/dist/_chunks/{patient-sign-in-pin-CDBqV254.js → patient-sign-in-pin-DmMBwWet.js} +2 -2
  49. package/dist/_chunks/{patient-sign-in-steps-C2JSqlok.js → patient-sign-in-steps-BKcxNkdY.js} +37 -59
  50. package/dist/_chunks/{patient-summary-card-Bl2NknPe.js → patient-summary-card-D-cDzOim.js} +2 -2
  51. package/dist/_chunks/phone-off-DQSTLz4l.js +28 -0
  52. package/dist/_chunks/{portal-details-DCIiGkHA.js → portal-details-DdzvroYP.js} +2 -2
  53. package/dist/_chunks/{portal-documents-DJOH8pZx.js → portal-documents-CNmoYWFc.js} +3 -3
  54. package/dist/_chunks/{pregnancy-dating-BNI32qNw.js → pregnancy-dating-lJbzai73.js} +2 -2
  55. package/dist/_chunks/{privacy-mask-C19dJFMk.js → privacy-mask-C2ZLKrMh.js} +5 -5
  56. package/dist/_chunks/{registration-form-DS3RuKHu.js → registration-form-CuLiTA52.js} +2 -2
  57. package/dist/_chunks/{reserved.agent-DOzOBUW7.js → reserved.agent-CabZHFJC.js} +2 -2
  58. package/dist/_chunks/{rich-text-editor-DjHL1b3E.js → rich-text-editor-C48omVjq.js} +2 -2
  59. package/dist/_chunks/{select-uESzXTX6.js → select-CIXKyUMw.js} +172 -149
  60. package/dist/_chunks/{session-countdown-DOx1IBUB.js → session-countdown-StcyUU5O.js} +56 -66
  61. package/dist/_chunks/{signature-request-CHsM_iWi.js → signature-request-vJDSHZld.js} +2 -2
  62. package/dist/_chunks/{tabs-CRIDBLP7.js → tabs-Czkmw5ou.js} +2 -2
  63. package/dist/_chunks/task-editor-wKbFbGqW.js +1093 -0
  64. package/dist/_chunks/{tasks-panel-6EzdnwT8.js → tasks-panel-DbtJS4QI.js} +2 -2
  65. package/dist/_chunks/{toolbar-CfdoJzMV.js → toolbar-DjG-cpD_.js} +2 -2
  66. package/dist/_chunks/{unit-converter-YKlHyUC2.js → unit-converter-CUAUTu2B.js} +2 -2
  67. package/dist/_chunks/use-appointment-details-read-jGkJalX8.js +1966 -0
  68. package/dist/_chunks/{voice-control-panel-Be_c0CQ0.js → voice-control-panel-Cp4vs1iy.js} +2 -2
  69. package/dist/agent-catalog.json +282 -6
  70. package/dist/agent-i18n/en.json +26 -4
  71. package/dist/appointment-editor-panel/index.js +100 -0
  72. package/dist/booking-tools-data/index.js +82 -0
  73. package/dist/browser-support.js +1 -1
  74. package/dist/calendar-action-buttons/index.js +178 -0
  75. package/dist/components/ai-prompt-input/index.js +1 -1
  76. package/dist/components/ai-summary-panel/ai-summary-panel.d.ts +68 -5
  77. package/dist/components/ai-summary-panel/index.d.ts +1 -1
  78. package/dist/components/ai-summary-panel/index.js +1 -1
  79. package/dist/components/ai-summary-panel/summary-markdown.d.ts +15 -0
  80. package/dist/components/appointment-details-panel/index.js +6 -5
  81. package/dist/components/audio-recorder/index.js +1 -1
  82. package/dist/components/bill-line-table/index.js +1 -1
  83. package/dist/components/bill-table/index.js +1 -1
  84. package/dist/components/bishop-score/index.js +1 -1
  85. package/dist/components/booking/index.js +1 -1
  86. package/dist/components/call-status-chip/call-status-chip.d.ts +30 -0
  87. package/dist/components/call-status-chip/index.d.ts +3 -0
  88. package/dist/components/call-status-chip/index.js +5 -0
  89. package/dist/components/calls-panel/calls-panel.agent.d.ts +4 -0
  90. package/dist/components/calls-panel/calls-panel.d.ts +153 -0
  91. package/dist/components/calls-panel/index.d.ts +4 -0
  92. package/dist/components/calls-panel/index.js +6 -0
  93. package/dist/components/chat-input/chat-input.d.ts +17 -0
  94. package/dist/components/chat-input/index.js +1 -1
  95. package/dist/components/chat-message/index.js +1 -1
  96. package/dist/components/color-picker/index.js +5 -4
  97. package/dist/components/communications-panel/communications-panel.d.ts +15 -3
  98. package/dist/components/communications-panel/index.js +1 -1
  99. package/dist/components/data-grid/index.js +2 -2
  100. package/dist/components/data-table/index.js +2 -2
  101. package/dist/components/document-preview/index.js +1 -1
  102. package/dist/components/entity-summary/entity-summary.d.ts +29 -1
  103. package/dist/components/entity-summary/index.js +1 -1
  104. package/dist/components/file-manager/index.js +1 -1
  105. package/dist/components/fiscal-code-input/index.js +1 -1
  106. package/dist/components/gestational-age-calculator/index.js +1 -1
  107. package/dist/components/heatmap/index.js +1 -1
  108. package/dist/components/iban-input/index.js +1 -1
  109. package/dist/components/index.d.ts +2 -0
  110. package/dist/components/invoice-upload-list/index.js +1 -1
  111. package/dist/components/muscle-scheme/index.js +1 -1
  112. package/dist/components/notes-panel/index.js +1 -1
  113. package/dist/components/optical-prescription/index.js +1 -1
  114. package/dist/components/patient-details/index.js +1 -1
  115. package/dist/components/patient-summary-card/index.js +1 -1
  116. package/dist/components/patient-table/index.js +1 -1
  117. package/dist/components/pregnancy-dating/index.js +1 -1
  118. package/dist/components/rich-text-editor/index.js +2 -2
  119. package/dist/components/select/index.js +1 -1
  120. package/dist/components/select/select.d.ts +8 -0
  121. package/dist/components/session-countdown/index.js +1 -1
  122. package/dist/components/skeleton-scheme/index.js +1 -1
  123. package/dist/components/tabs/index.js +1 -1
  124. package/dist/components/task-editor/index.js +1 -1
  125. package/dist/components/tasks-panel/index.js +1 -1
  126. package/dist/components/unit-converter/index.js +1 -1
  127. package/dist/components/voice-control-panel/index.js +1 -1
  128. package/dist/core.css +1 -1
  129. package/dist/find-free-slots-panel/index.js +58 -0
  130. package/dist/host-compat.css +4 -1
  131. package/dist/i18n/locales/ar.d.ts +72 -3
  132. package/dist/i18n/locales/ar.js +74 -5
  133. package/dist/i18n/locales/de.d.ts +72 -3
  134. package/dist/i18n/locales/de.js +74 -5
  135. package/dist/i18n/locales/el.d.ts +72 -3
  136. package/dist/i18n/locales/el.js +74 -5
  137. package/dist/i18n/locales/en.d.ts +72 -3
  138. package/dist/i18n/locales/en.js +73 -4
  139. package/dist/i18n/locales/es.d.ts +72 -3
  140. package/dist/i18n/locales/es.js +74 -5
  141. package/dist/i18n/locales/fr.d.ts +72 -3
  142. package/dist/i18n/locales/fr.js +74 -5
  143. package/dist/i18n/locales/hi.d.ts +72 -3
  144. package/dist/i18n/locales/hi.js +74 -5
  145. package/dist/i18n/locales/it.d.ts +83 -14
  146. package/dist/i18n/locales/it.js +84 -15
  147. package/dist/i18n/locales/ja.d.ts +72 -3
  148. package/dist/i18n/locales/ja.js +74 -5
  149. package/dist/i18n/locales/nl.d.ts +72 -3
  150. package/dist/i18n/locales/nl.js +74 -5
  151. package/dist/i18n/locales/pl.d.ts +72 -3
  152. package/dist/i18n/locales/pl.js +74 -5
  153. package/dist/i18n/locales/pt.d.ts +72 -3
  154. package/dist/i18n/locales/pt.js +74 -5
  155. package/dist/i18n/locales/ro.d.ts +72 -3
  156. package/dist/i18n/locales/ro.js +74 -5
  157. package/dist/i18n/locales/ru.d.ts +72 -3
  158. package/dist/i18n/locales/ru.js +74 -5
  159. package/dist/i18n/locales/sq.d.ts +72 -3
  160. package/dist/i18n/locales/sq.js +74 -5
  161. package/dist/i18n/locales/sv.d.ts +72 -3
  162. package/dist/i18n/locales/sv.js +74 -5
  163. package/dist/i18n/locales/tr.d.ts +72 -3
  164. package/dist/i18n/locales/tr.js +74 -5
  165. package/dist/i18n/locales/zh.d.ts +72 -3
  166. package/dist/i18n/locales/zh.js +74 -5
  167. package/dist/index.js +1329 -1318
  168. package/dist/locales/ar.json +74 -5
  169. package/dist/locales/de.json +74 -5
  170. package/dist/locales/el.json +74 -5
  171. package/dist/locales/en.json +73 -4
  172. package/dist/locales/es.json +74 -5
  173. package/dist/locales/fr.json +74 -5
  174. package/dist/locales/hi.json +74 -5
  175. package/dist/locales/it.json +84 -15
  176. package/dist/locales/ja.json +74 -5
  177. package/dist/locales/nl.json +74 -5
  178. package/dist/locales/pl.json +74 -5
  179. package/dist/locales/pt.json +74 -5
  180. package/dist/locales/ro.json +74 -5
  181. package/dist/locales/ru.json +74 -5
  182. package/dist/locales/sq.json +74 -5
  183. package/dist/locales/sv.json +74 -5
  184. package/dist/locales/tr.json +74 -5
  185. package/dist/locales/zh.json +74 -5
  186. package/dist/online-bookings-panel/index.js +69 -0
  187. package/dist/patterns/alia-assistant/index.js +1 -1
  188. package/dist/patterns/anamnesis/index.js +1 -1
  189. package/dist/patterns/calendar/booking-tools/appointment-editor-panel.d.ts +46 -0
  190. package/dist/patterns/calendar/booking-tools/booking-tools-data.d.ts +48 -0
  191. package/dist/patterns/calendar/booking-tools/calendar-action-buttons.d.ts +55 -0
  192. package/dist/patterns/calendar/booking-tools/find-free-slots-panel.d.ts +35 -0
  193. package/dist/patterns/calendar/booking-tools/online-bookings-panel.d.ts +61 -0
  194. package/dist/patterns/calendar/booking-tools/waiting-list-panel.d.ts +58 -0
  195. package/dist/patterns/calendar/calendar-editor-discard-host.d.ts +20 -0
  196. package/dist/patterns/calendar/calendar-print-sheet.d.ts +16 -0
  197. package/dist/patterns/calendar/calendar-workspace.model.d.ts +7 -0
  198. package/dist/patterns/calendar/calendar.model.d.ts +9 -0
  199. package/dist/patterns/calendar/calendar.sheets.d.ts +59 -17
  200. package/dist/patterns/calendar/index.js +24 -20
  201. package/dist/patterns/patient-account-settings/index.js +1 -1
  202. package/dist/patterns/patient-check-in/index.js +1 -1
  203. package/dist/patterns/patient-portal/index.js +2 -2
  204. package/dist/patterns/patient-sign-in/index.js +2 -2
  205. package/dist/patterns/registration-form/index.js +1 -1
  206. package/dist/patterns/signature-request/index.js +1 -1
  207. package/dist/tokens.css +1 -1
  208. package/dist/waiting-list-panel/index.js +158 -0
  209. package/package.json +35 -2
  210. package/dist/_chunks/ai-summary-panel-B70S2lgC.js +0 -455
  211. package/dist/_chunks/calendar-appointment-editor-dialog-I5PfWudy.js +0 -13773
  212. package/dist/_chunks/color-picker-AcaWuKah.js +0 -745
  213. package/dist/_chunks/communications-panel-BKPHCiMB.js +0 -973
  214. package/dist/_chunks/entity-summary-CpNk6ybN.js +0 -266
  215. package/dist/_chunks/task-editor-DvwqPfFR.js +0 -1257
  216. package/dist/_chunks/use-appointment-details-read-6_OmOwUs.js +0 -2476
@@ -491,6 +491,13 @@ export type BacklogGap = 'patient' | 'operator' | 'chair';
491
491
  /** All three switches on by default — the uncontrolled starting point
492
492
  * for a host that does not persist the filter state itself. */
493
493
  export declare const DEFAULT_BACKLOG_FILTERS: Readonly<Record<BacklogGap, boolean>>;
494
+ /** The To complete list the workspace and the booking-tools hook share:
495
+ * the host's queue rows (or the gaps found in `rows`), then the switches. */
496
+ export declare function onlineBookingsList(rows: readonly CalendarRow[], data: CalendarData, queue: {
497
+ rows: readonly CalendarRow[];
498
+ lastSeenIso?: string | null;
499
+ createdAtById?: Readonly<Record<string, string>>;
500
+ } | undefined, filters: Readonly<Record<BacklogGap, boolean>>): CalendarRow[];
494
501
  /** Applies the header's three switches to an already-built view list. A
495
502
  * view is kept when it carries at least one gap left switched on — an
496
503
  * appointment missing only a patient still shows with "Senza operatore"
@@ -687,6 +687,15 @@ export interface CalendarFreeSlot {
687
687
  careId?: string;
688
688
  /** The device a SERVER answer allocated: the host's own string. */
689
689
  medicalDeviceId?: string;
690
+ /** The practice the slot belongs to. Absent: the practice in use. */
691
+ practice?: {
692
+ id: string;
693
+ name: string;
694
+ };
695
+ /** Names for resources the loaded practice does not hold, from the
696
+ * host's answer. Used before the loaded practice's own lookup fails. */
697
+ operatorName?: string;
698
+ chairName?: string;
690
699
  }
691
700
  /** Local ISO date (YYYY-MM-DD) — the fixtures' local-wall-clock idiom;
692
701
  * absence lookups and shading ids key on local days, never UTC. */
@@ -31,7 +31,7 @@ import { type NotesPanelNote, type NotesPanelProps, type NotesPanelSubmission, t
31
31
  import type { AppointmentConsentItem } from '../../components/appointment-details-panel';
32
32
  import { type ColorAssociation, type CalendarCarePlan, type CalendarAnamnesisAnswer, type CalendarOperatorGroup, type CalendarBookingPatientPrefill, type CalendarCreatePatient, type CalendarPatient, type CalendarWaitingEntry, type CalendarHistoryEntry, type CalendarSignChannel, type PatientRef } from './calendar.types';
33
33
  import { type CalendarData } from './calendar.data';
34
- import { type CalendarRow, type DisplaySettings, type EditorPrefill, type EditorDraft, type DraftSlot, type SlotPatch, type BacklogFilter, type BacklogItem, type WaitingEntryDraft, type CalendarFreeSlot, type PrintDaySection, type FindSlotsSeed, type AvailabilityContext } from './calendar.model';
34
+ import { type CalendarRow, type EditorPrefill, type EditorDraft, type DraftSlot, type SlotPatch, type BacklogFilter, type BacklogItem, type WaitingEntryDraft, type CalendarFreeSlot, type FindSlotsSeed, type AvailabilityContext } from './calendar.model';
35
35
  import { type BacklogGap, type RecurringScopeChosen, type EditorDraftExtras, type CareDeviceChoice, type MedicalDeviceQuery, type DeleteOptions, type WorkspaceDisplaySettings } from './calendar-workspace.model';
36
36
  import { type BookingCompleteIntent } from './calendar-bookings-panel';
37
37
  /** The operators a NEW booking may take — the practice's ACTIVE cast, as
@@ -595,20 +595,6 @@ export declare function WaitingListEntrySubview({ open, entry, onSave, onCancel,
595
595
  onRemove?: (entry: CalendarWaitingEntry) => void;
596
596
  readOnly?: boolean;
597
597
  }): import("react/jsx-runtime").JSX.Element;
598
- /**
599
- * The call sheet itself. A portal to `document.body`: the shell's AppFrame
600
- * is an `h-dvh overflow-hidden` clamp that prints one screenful, so the
601
- * sheet lives outside it — hidden on screen, the only thing on paper.
602
- */
603
- export declare function PrintSheet({ sections, rangeTitle, axisKind, visibleChairIds, visibleOperatorIds, privacy, locale, }: {
604
- sections: PrintDaySection[];
605
- rangeTitle: string;
606
- axisKind: DisplaySettings['resourceKind'];
607
- visibleChairIds: string[];
608
- visibleOperatorIds: string[];
609
- privacy: boolean;
610
- locale: string;
611
- }): import("react").ReactPortal | null;
612
598
  /** The platform depth the dialog host asks for (decision 6). Every field
613
599
  * is optional, so the rail keeps exactly the behaviour it had. */
614
600
  export interface FindSlotsPlatformOptions {
@@ -634,13 +620,69 @@ export interface FindSlotsPlatformOptions {
634
620
  /** Group sections for that operator checklist (platform
635
621
  * `GetGroupedOperatorService`); absent = one flat list. */
636
622
  operatorGroups?: readonly CalendarOperatorGroup[];
623
+ /** The practices the user may search together, as the platform does.
624
+ * Operators list by practice (the one in use first), then by group.
625
+ * Their ids go to `searchFreeSlots` untouched; the HOST must answer
626
+ * across the practices. Implies `multiSelectScope`. Absent = one
627
+ * practice, nothing changes. */
628
+ connectedPractices?: FindSlotsConnectedPractices;
629
+ }
630
+ /** A practice, as the finder names it. */
631
+ export interface FindSlotsPractice {
632
+ id: string;
633
+ name: string;
634
+ }
635
+ /** The practice in use and the other practices a search covers. */
636
+ export interface FindSlotsConnectedPractices {
637
+ /** The practice the calendar shows. Its operators are `data.operators`. */
638
+ current: FindSlotsPractice;
639
+ others: readonly (FindSlotsPractice & {
640
+ operators: readonly CalendarResource[];
641
+ /** Group sections for this practice's operators; absent = one list. */
642
+ operatorGroups?: readonly CalendarOperatorGroup[];
643
+ })[];
644
+ }
645
+ /** What a booked result tells the host besides the form's prefill. */
646
+ export interface FindSlotsBookContext {
647
+ /** The practice the result belongs to (connected practices only). */
648
+ practice?: FindSlotsPractice;
649
+ }
650
+ /** The finder's search and results, so a host that unmounts the panel
651
+ * (a rail swaps tools) can give them back on the next open. */
652
+ export interface FindSlotsSnapshot {
653
+ careId: string;
654
+ deviceName: string;
655
+ durationMin: number | null;
656
+ operatorId: string;
657
+ chairId: string;
658
+ scopeOperatorIds: readonly string[];
659
+ scopeChairIds: readonly string[];
660
+ fromDate: Date | undefined;
661
+ toDate: Date | undefined;
662
+ results: CalendarFreeSlot[] | null;
663
+ allFound: CalendarFreeSlot[] | null;
664
+ capped: boolean;
665
+ filtersOpen: boolean;
666
+ /** The window the last search covered. */
667
+ searched: {
668
+ from: Date;
669
+ to: Date;
670
+ } | null;
671
+ /** The busy set the last server answer was asked under. */
672
+ stamp: string | null;
637
673
  }
638
- export declare function FindFreeSlotsPanel({ rows, locale, seed, onBookSlot, onShowInCalendar, onSearchRange, platform, canBook, }: {
674
+ export declare function FindFreeSlotsPanel({ rows, locale, seed, onBookSlot, onShowInCalendar, onSearchRange, platform, canBook, restore, onSnapshot, }: {
639
675
  rows: CalendarRow[];
640
676
  locale: string;
641
677
  /** Prefill context (the tool keys its panel by seed.tick). */
642
678
  seed?: FindSlotsSeed | null;
643
- onBookSlot: (prefill: EditorPrefill) => void;
679
+ /** `context` is passed only with connected practices. */
680
+ onBookSlot: (prefill: EditorPrefill, context?: FindSlotsBookContext) => void;
681
+ /** Start from this search and its results instead of an empty form. The
682
+ * results are asked for again when the busy set has moved since. */
683
+ restore?: FindSlotsSnapshot;
684
+ /** The search and results as they now stand, after every change. */
685
+ onSnapshot?: (snapshot: FindSlotsSnapshot) => void;
644
686
  /** False for a viewer without the appointment-edit right: the slots
645
687
  * still list and project, but no row offers Book. */
646
688
  canBook?: boolean;
@@ -1,24 +1,28 @@
1
- import { A as s, C as r, a as t, b as S, c as E, d as n, e as o, f as i, D as A, g as C, S as d, V as P, W as D, h as l, i as _, m as O, r as c, u as p, j as L, k as R } from "../../_chunks/calendar-appointment-editor-dialog-I5PfWudy.js";
1
+ import { A as r, C as s, i as o } from "../../_chunks/calendar-appointment-editor-dialog-D0n_bVsT.js";
2
+ import { C, a as S, b as E } from "../../_chunks/calendar-editor-discard-host-1UfmMOEb.js";
3
+ import { C as i, u as A } from "../../_chunks/calendar-editor-guard-9fShhNIA.js";
4
+ import { C as d, S as p, u as D } from "../../_chunks/calendar.sheets-Datc0-IT.js";
5
+ import { C as _, D as m, a as O, V as f, W as L, b as R, m as W, r as c, u as I } from "../../_chunks/calendar-workspace.model-DrOoxY1b.js";
2
6
  export {
3
- s as AppointmentEditorDialog,
4
- r as CALENDAR_PREFERENCE_KEYS,
5
- t as CALENDAR_SETTINGS_OVERLAY_ID,
6
- S as CalendarDataProvider,
7
- E as CalendarSeriesScopeChooser,
8
- n as CalendarSettingsOverlay,
9
- o as CalendarSettingsSections,
10
- i as CalendarWorkspace,
11
- A as DEFAULT_DISPLAY,
12
- C as DEFAULT_WORKSPACE_DISPLAY,
13
- d as SheetHostProvider,
14
- P as VIEW_OPTIONS,
15
- D as WORKSPACE_TOOL,
16
- l as WORKSPACE_VIEWS,
17
- _ as initialWorkspaceDisplay,
18
- O as memoryPreferenceAdapter,
7
+ r as AppointmentEditorDialog,
8
+ _ as CALENDAR_PREFERENCE_KEYS,
9
+ C as CALENDAR_SETTINGS_OVERLAY_ID,
10
+ i as CalendarDataProvider,
11
+ d as CalendarSeriesScopeChooser,
12
+ S as CalendarSettingsOverlay,
13
+ E as CalendarSettingsSections,
14
+ s as CalendarWorkspace,
15
+ m as DEFAULT_DISPLAY,
16
+ O as DEFAULT_WORKSPACE_DISPLAY,
17
+ p as SheetHostProvider,
18
+ f as VIEW_OPTIONS,
19
+ L as WORKSPACE_TOOL,
20
+ R as WORKSPACE_VIEWS,
21
+ o as initialWorkspaceDisplay,
22
+ W as memoryPreferenceAdapter,
19
23
  c as resetCalendarPreferences,
20
- p as useCalendarData,
21
- L as usePersistedPreference,
22
- R as useSheetHost
24
+ A as useCalendarData,
25
+ I as usePersistedPreference,
26
+ D as useSheetHost
23
27
  };
24
28
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { P as n } from "../../_chunks/patient-account-settings-B2XbN_Fe.js";
1
+ import { P as n } from "../../_chunks/patient-account-settings-COybehKx.js";
2
2
  export {
3
3
  n as PatientAccountSettings
4
4
  };
@@ -1,4 +1,4 @@
1
- import { C as a, a as c, b as h, c as C, d as s, e as k, f as I, g as o, h as t } from "../../_chunks/patient-check-in-resume-B7NY-6KI.js";
1
+ import { C as a, a as c, b as h, c as C, d as s, e as k, f as I, g as o, h as t } from "../../_chunks/patient-check-in-resume-DZnyYDKH.js";
2
2
  export {
3
3
  a as CheckInAppointmentChanged,
4
4
  c as CheckInConnectionNotice,
@@ -1,5 +1,5 @@
1
- import { P as o, a as l, b as s, c as r, d as e } from "../../_chunks/portal-documents-DJOH8pZx.js";
2
- import { P as i, a as c, b as m } from "../../_chunks/portal-details-DCIiGkHA.js";
1
+ import { P as o, a as l, b as s, c as r, d as e } from "../../_chunks/portal-documents-CNmoYWFc.js";
2
+ import { P as i, a as c, b as m } from "../../_chunks/portal-details-DdzvroYP.js";
3
3
  export {
4
4
  o as PortalAppointments,
5
5
  i as PortalDetails,
@@ -1,5 +1,5 @@
1
- import { P as a, a as i, b as e, c as P, d as s } from "../../_chunks/patient-sign-in-pin-CDBqV254.js";
2
- import { P as r, a as S, b as d, c as g, d as b } from "../../_chunks/patient-sign-in-steps-C2JSqlok.js";
1
+ import { P as a, a as i, b as e, c as P, d as s } from "../../_chunks/patient-sign-in-pin-DmMBwWet.js";
2
+ import { P as r, a as S, b as d, c as g, d as b } from "../../_chunks/patient-sign-in-steps-BKcxNkdY.js";
3
3
  export {
4
4
  a as PatientForgotPin,
5
5
  i as PatientForgotPinSent,
@@ -1,4 +1,4 @@
1
- import { R as o, a as r } from "../../_chunks/registration-form-DS3RuKHu.js";
1
+ import { R as o, a as r } from "../../_chunks/registration-form-CuLiTA52.js";
2
2
  export {
3
3
  o as REGISTRATION_FORM_FIELDS,
4
4
  r as RegistrationForm
@@ -1,4 +1,4 @@
1
- import { S as o } from "../../_chunks/signature-request-CHsM_iWi.js";
1
+ import { S as o } from "../../_chunks/signature-request-vJDSHZld.js";
2
2
  export {
3
3
  o as SignatureRequestModal
4
4
  };