@alfadocs/ui-kit-debug 1.128.0 → 1.130.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 (300) hide show
  1. package/dist/_chunks/{appointment-card-0PebvrOS.js → appointment-card-vbUsDh70.js} +49 -72
  2. package/dist/_chunks/appointment-card-vbUsDh70.js.map +1 -0
  3. package/dist/_chunks/{appointment-timeline-Czd4PBkF.js → appointment-timeline-B5pfBl-b.js} +2 -2
  4. package/dist/_chunks/{appointment-timeline-Czd4PBkF.js.map → appointment-timeline-B5pfBl-b.js.map} +1 -1
  5. package/dist/_chunks/{appointment-tray-B04zKY7g.js → appointment-tray-BhiXetjs.js} +2 -2
  6. package/dist/_chunks/{appointment-tray-B04zKY7g.js.map → appointment-tray-BhiXetjs.js.map} +1 -1
  7. package/dist/_chunks/{calendar-_sgjuH3L.js → calendar-DzR-vdJ5.js} +614 -563
  8. package/dist/_chunks/calendar-DzR-vdJ5.js.map +1 -0
  9. package/dist/_chunks/calendar-appointment-editor-dialog-CXch4Pmu.js +13663 -0
  10. package/dist/_chunks/calendar-appointment-editor-dialog-CXch4Pmu.js.map +1 -0
  11. package/dist/_chunks/{calendar-event-card-DXAYWH6k.js → calendar-event-card-BNEzkjm-.js} +142 -132
  12. package/dist/_chunks/calendar-event-card-BNEzkjm-.js.map +1 -0
  13. package/dist/_chunks/{care-plan-card-bGTIliXc.js → care-plan-card-CwgkImOD.js} +2 -2
  14. package/dist/_chunks/{care-plan-card-bGTIliXc.js.map → care-plan-card-CwgkImOD.js.map} +1 -1
  15. package/dist/_chunks/{care-plan-header-k8FslxsU.js → care-plan-header-Dx5OMkc9.js} +2 -2
  16. package/dist/_chunks/{care-plan-header-k8FslxsU.js.map → care-plan-header-Dx5OMkc9.js.map} +1 -1
  17. package/dist/_chunks/{clinical-note-card-DHn5W_bv.js → clinical-note-card-pPaeWWnu.js} +2 -2
  18. package/dist/_chunks/{clinical-note-card-DHn5W_bv.js.map → clinical-note-card-pPaeWWnu.js.map} +1 -1
  19. package/dist/_chunks/{contact-card-CGpbYuxl.js → contact-card-BSY2YpLZ.js} +2 -2
  20. package/dist/_chunks/{contact-card-CGpbYuxl.js.map → contact-card-BSY2YpLZ.js.map} +1 -1
  21. package/dist/_chunks/{contact-profile-card-CCgf0Ntt.js → contact-profile-card-CsZNMlws.js} +2 -2
  22. package/dist/_chunks/{contact-profile-card-CCgf0Ntt.js.map → contact-profile-card-CsZNMlws.js.map} +1 -1
  23. package/dist/_chunks/contact-round-DiSvB3LP.js +18 -0
  24. package/dist/_chunks/contact-round-DiSvB3LP.js.map +1 -0
  25. package/dist/_chunks/{default-tabs-DOuHEKI5.js → default-tabs-BnB6FUEW.js} +2 -2
  26. package/dist/_chunks/{default-tabs-DOuHEKI5.js.map → default-tabs-BnB6FUEW.js.map} +1 -1
  27. package/dist/_chunks/{entity-summary-BanguTa6.js → entity-summary-KHM0PnSI.js} +56 -68
  28. package/dist/_chunks/entity-summary-KHM0PnSI.js.map +1 -0
  29. package/dist/_chunks/file-pen-line-k4uMBM3h.js +29 -0
  30. package/dist/_chunks/file-pen-line-k4uMBM3h.js.map +1 -0
  31. package/dist/_chunks/{header-settings-DsvheAOt.js → header-settings-ZGvYAuKF.js} +101 -97
  32. package/dist/_chunks/header-settings-ZGvYAuKF.js.map +1 -0
  33. package/dist/_chunks/{info-tip-C-MPkShR.js → info-tip-B3cn3fY2.js} +2 -2
  34. package/dist/_chunks/{info-tip-C-MPkShR.js.map → info-tip-B3cn3fY2.js.map} +1 -1
  35. package/dist/_chunks/{link-DtCfnLnF.js → link-CeV7FoI6.js} +2 -2
  36. package/dist/_chunks/{link-DtCfnLnF.js.map → link-CeV7FoI6.js.map} +1 -1
  37. package/dist/_chunks/{marketplace-app-shell-BOBWmzoT.js → marketplace-app-shell-D_HA8CKx.js} +2 -2
  38. package/dist/_chunks/{marketplace-app-shell-BOBWmzoT.js.map → marketplace-app-shell-D_HA8CKx.js.map} +1 -1
  39. package/dist/_chunks/{nav-grid-D2xVcHTO.js → nav-grid-dEgDAri3.js} +2 -2
  40. package/dist/_chunks/{nav-grid-D2xVcHTO.js.map → nav-grid-dEgDAri3.js.map} +1 -1
  41. package/dist/_chunks/{note-attachment-cnj2JRrg.js → note-attachment-MNTIqdSz.js} +2 -2
  42. package/dist/_chunks/{note-attachment-cnj2JRrg.js.map → note-attachment-MNTIqdSz.js.map} +1 -1
  43. package/dist/_chunks/{note-timeline-BrjHBQfx.js → note-timeline-BQeW0VZY.js} +2 -2
  44. package/dist/_chunks/{note-timeline-BrjHBQfx.js.map → note-timeline-BQeW0VZY.js.map} +1 -1
  45. package/dist/_chunks/{notes-panel-n1JFNQ5u.js → notes-panel-DIY7eNsq.js} +2 -2
  46. package/dist/_chunks/{notes-panel-n1JFNQ5u.js.map → notes-panel-DIY7eNsq.js.map} +1 -1
  47. package/dist/_chunks/{patient-details-Cba9HQj_.js → patient-details-DBtEITfE.js} +2 -2
  48. package/dist/_chunks/{patient-details-Cba9HQj_.js.map → patient-details-DBtEITfE.js.map} +1 -1
  49. package/dist/_chunks/{patient-field-row-CtDihADs.js → patient-field-row-a5d4QijH.js} +2 -2
  50. package/dist/_chunks/{patient-field-row-CtDihADs.js.map → patient-field-row-a5d4QijH.js.map} +1 -1
  51. package/dist/_chunks/{patient-search-D_S7joff.js → patient-search-OAwFgOW3.js} +2 -2
  52. package/dist/_chunks/{patient-search-D_S7joff.js.map → patient-search-OAwFgOW3.js.map} +1 -1
  53. package/dist/_chunks/{patient-summary-card-DnLdbtsw.js → patient-summary-card-BUcZ-gaL.js} +3 -3
  54. package/dist/_chunks/{patient-summary-card-DnLdbtsw.js.map → patient-summary-card-BUcZ-gaL.js.map} +1 -1
  55. package/dist/_chunks/{payment-request-card-CEIalOtr.js → payment-request-card-Dv4WbRBe.js} +2 -2
  56. package/dist/_chunks/{payment-request-card-CEIalOtr.js.map → payment-request-card-Dv4WbRBe.js.map} +1 -1
  57. package/dist/_chunks/{product-hub-panel-CqRJlmb7.js → product-hub-panel-a8wdVOUt.js} +2 -2
  58. package/dist/_chunks/{product-hub-panel-CqRJlmb7.js.map → product-hub-panel-a8wdVOUt.js.map} +1 -1
  59. package/dist/_chunks/{public-footer-C8UIzqLJ.js → public-footer-D0cqScpz.js} +2 -2
  60. package/dist/_chunks/{public-footer-C8UIzqLJ.js.map → public-footer-D0cqScpz.js.map} +1 -1
  61. package/dist/_chunks/{signature-request-Dzs0jZsd.js → signature-request-DW2PSp66.js} +3 -3
  62. package/dist/_chunks/{signature-request-Dzs0jZsd.js.map → signature-request-DW2PSp66.js.map} +1 -1
  63. package/dist/_chunks/{signed-out-frame-fUf7tqs3.js → signed-out-frame-Oa2e1yps.js} +2 -2
  64. package/dist/_chunks/{signed-out-frame-fUf7tqs3.js.map → signed-out-frame-Oa2e1yps.js.map} +1 -1
  65. package/dist/_chunks/task-editor-CVRrDqpe.js +1256 -0
  66. package/dist/_chunks/task-editor-CVRrDqpe.js.map +1 -0
  67. package/dist/_chunks/{toast-BNoN8Qjh.js → toast-DQ1Zu1kk.js} +264 -251
  68. package/dist/_chunks/{toast-BNoN8Qjh.js.map → toast-DQ1Zu1kk.js.map} +1 -1
  69. package/dist/_chunks/{treatment-receipt-1VnuinhY.js → treatment-receipt-BZzwvsnY.js} +73 -56
  70. package/dist/_chunks/treatment-receipt-BZzwvsnY.js.map +1 -0
  71. package/dist/_chunks/use-appointment-details-read-BrykoTOR.js +2475 -0
  72. package/dist/_chunks/use-appointment-details-read-BrykoTOR.js.map +1 -0
  73. package/dist/_chunks/{whatsapp-button-DV9JFmtq.js → whatsapp-button-XbozeDl_.js} +32 -25
  74. package/dist/_chunks/whatsapp-button-XbozeDl_.js.map +1 -0
  75. package/dist/agent-catalog.json +49 -16
  76. package/dist/agent-i18n/en.json +5 -5
  77. package/dist/browser-support.js +1 -1
  78. package/dist/components/_shared/patient-picker.d.ts +10 -0
  79. package/dist/components/_shared/patient-picker.d.ts.map +1 -1
  80. package/dist/components/appointment-card/index.js +2 -2
  81. package/dist/components/appointment-details-panel/appointment-details-panel.d.ts +30 -1
  82. package/dist/components/appointment-details-panel/appointment-details-panel.d.ts.map +1 -1
  83. package/dist/components/appointment-details-panel/appointment-details-panel.links.d.ts +15 -0
  84. package/dist/components/appointment-details-panel/appointment-details-panel.links.d.ts.map +1 -0
  85. package/dist/components/appointment-details-panel/appointment-details-panel.recurrence.d.ts +9 -0
  86. package/dist/components/appointment-details-panel/appointment-details-panel.recurrence.d.ts.map +1 -0
  87. package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts +12 -3
  88. package/dist/components/appointment-details-panel/appointment-details-panel.sections.d.ts.map +1 -1
  89. package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts +63 -1
  90. package/dist/components/appointment-details-panel/appointment-details-panel.types.d.ts.map +1 -1
  91. package/dist/components/appointment-details-panel/index.d.ts +2 -1
  92. package/dist/components/appointment-details-panel/index.d.ts.map +1 -1
  93. package/dist/components/appointment-details-panel/index.js +5 -4
  94. package/dist/components/appointment-timeline/index.js +1 -1
  95. package/dist/components/bill-table/index.js +1 -1
  96. package/dist/components/calendar/calendar.d.ts +22 -0
  97. package/dist/components/calendar/calendar.d.ts.map +1 -1
  98. package/dist/components/calendar/index.js +1 -1
  99. package/dist/components/calendar-event-card/calendar-event-card.d.ts +8 -0
  100. package/dist/components/calendar-event-card/calendar-event-card.d.ts.map +1 -1
  101. package/dist/components/calendar-event-card/index.js +1 -1
  102. package/dist/components/care-plan-card/index.js +1 -1
  103. package/dist/components/care-plan-header/index.js +1 -1
  104. package/dist/components/clinical-note-card/index.js +1 -1
  105. package/dist/components/contact-card/index.js +1 -1
  106. package/dist/components/contact-profile-card/index.js +1 -1
  107. package/dist/components/entity-summary/index.js +1 -1
  108. package/dist/components/header-settings/header-settings.d.ts.map +1 -1
  109. package/dist/components/header-settings/index.js +1 -1
  110. package/dist/components/info-tip/index.js +1 -1
  111. package/dist/components/link/index.js +1 -1
  112. package/dist/components/nav-grid/index.js +1 -1
  113. package/dist/components/note-timeline/index.js +1 -1
  114. package/dist/components/notes-panel/index.js +1 -1
  115. package/dist/components/patient-details/index.js +1 -1
  116. package/dist/components/patient-search/index.js +1 -1
  117. package/dist/components/patient-summary-card/index.js +1 -1
  118. package/dist/components/payment-card/index.js +1 -1
  119. package/dist/components/product-hub-tray/index.js +1 -1
  120. package/dist/components/public-footer/index.js +1 -1
  121. package/dist/components/task-editor/index.js +1 -1
  122. package/dist/components/toast/index.js +1 -1
  123. package/dist/components/toast/toast.d.ts.map +1 -1
  124. package/dist/components/treatment-receipt/index.d.ts +2 -2
  125. package/dist/components/treatment-receipt/index.d.ts.map +1 -1
  126. package/dist/components/treatment-receipt/index.js +2 -1
  127. package/dist/components/treatment-receipt/treatment-receipt.d.ts +11 -1
  128. package/dist/components/treatment-receipt/treatment-receipt.d.ts.map +1 -1
  129. package/dist/components/whatsapp-button/index.js +1 -1
  130. package/dist/components/whatsapp-button/whatsapp-button.d.ts.map +1 -1
  131. package/dist/core.css +1 -1
  132. package/dist/fullcalendar.css +5 -1
  133. package/dist/host-compat.css +4 -1
  134. package/dist/i18n/locales/ar.d.ts +119 -4
  135. package/dist/i18n/locales/ar.d.ts.map +1 -1
  136. package/dist/i18n/locales/ar.js +130 -15
  137. package/dist/i18n/locales/ar.js.map +1 -1
  138. package/dist/i18n/locales/de.d.ts +119 -4
  139. package/dist/i18n/locales/de.d.ts.map +1 -1
  140. package/dist/i18n/locales/de.js +130 -15
  141. package/dist/i18n/locales/de.js.map +1 -1
  142. package/dist/i18n/locales/el.d.ts +119 -4
  143. package/dist/i18n/locales/el.d.ts.map +1 -1
  144. package/dist/i18n/locales/el.js +130 -15
  145. package/dist/i18n/locales/el.js.map +1 -1
  146. package/dist/i18n/locales/en.d.ts +119 -4
  147. package/dist/i18n/locales/en.d.ts.map +1 -1
  148. package/dist/i18n/locales/en.js +122 -10
  149. package/dist/i18n/locales/en.js.map +1 -1
  150. package/dist/i18n/locales/es.d.ts +119 -4
  151. package/dist/i18n/locales/es.d.ts.map +1 -1
  152. package/dist/i18n/locales/es.js +130 -15
  153. package/dist/i18n/locales/es.js.map +1 -1
  154. package/dist/i18n/locales/fr.d.ts +119 -4
  155. package/dist/i18n/locales/fr.d.ts.map +1 -1
  156. package/dist/i18n/locales/fr.js +130 -15
  157. package/dist/i18n/locales/fr.js.map +1 -1
  158. package/dist/i18n/locales/hi.d.ts +119 -4
  159. package/dist/i18n/locales/hi.d.ts.map +1 -1
  160. package/dist/i18n/locales/hi.js +130 -15
  161. package/dist/i18n/locales/hi.js.map +1 -1
  162. package/dist/i18n/locales/it.d.ts +119 -4
  163. package/dist/i18n/locales/it.d.ts.map +1 -1
  164. package/dist/i18n/locales/it.js +130 -15
  165. package/dist/i18n/locales/it.js.map +1 -1
  166. package/dist/i18n/locales/ja.d.ts +119 -4
  167. package/dist/i18n/locales/ja.d.ts.map +1 -1
  168. package/dist/i18n/locales/ja.js +130 -15
  169. package/dist/i18n/locales/ja.js.map +1 -1
  170. package/dist/i18n/locales/nl.d.ts +119 -4
  171. package/dist/i18n/locales/nl.d.ts.map +1 -1
  172. package/dist/i18n/locales/nl.js +130 -15
  173. package/dist/i18n/locales/nl.js.map +1 -1
  174. package/dist/i18n/locales/pl.d.ts +119 -4
  175. package/dist/i18n/locales/pl.d.ts.map +1 -1
  176. package/dist/i18n/locales/pl.js +130 -15
  177. package/dist/i18n/locales/pl.js.map +1 -1
  178. package/dist/i18n/locales/pt.d.ts +119 -4
  179. package/dist/i18n/locales/pt.d.ts.map +1 -1
  180. package/dist/i18n/locales/pt.js +130 -15
  181. package/dist/i18n/locales/pt.js.map +1 -1
  182. package/dist/i18n/locales/ro.d.ts +119 -4
  183. package/dist/i18n/locales/ro.d.ts.map +1 -1
  184. package/dist/i18n/locales/ro.js +130 -15
  185. package/dist/i18n/locales/ro.js.map +1 -1
  186. package/dist/i18n/locales/ru.d.ts +119 -4
  187. package/dist/i18n/locales/ru.d.ts.map +1 -1
  188. package/dist/i18n/locales/ru.js +130 -15
  189. package/dist/i18n/locales/ru.js.map +1 -1
  190. package/dist/i18n/locales/sq.d.ts +119 -4
  191. package/dist/i18n/locales/sq.d.ts.map +1 -1
  192. package/dist/i18n/locales/sq.js +130 -15
  193. package/dist/i18n/locales/sq.js.map +1 -1
  194. package/dist/i18n/locales/sv.d.ts +119 -4
  195. package/dist/i18n/locales/sv.d.ts.map +1 -1
  196. package/dist/i18n/locales/sv.js +130 -15
  197. package/dist/i18n/locales/sv.js.map +1 -1
  198. package/dist/i18n/locales/tr.d.ts +119 -4
  199. package/dist/i18n/locales/tr.d.ts.map +1 -1
  200. package/dist/i18n/locales/tr.js +130 -15
  201. package/dist/i18n/locales/tr.js.map +1 -1
  202. package/dist/i18n/locales/zh.d.ts +119 -4
  203. package/dist/i18n/locales/zh.d.ts.map +1 -1
  204. package/dist/i18n/locales/zh.js +130 -15
  205. package/dist/i18n/locales/zh.js.map +1 -1
  206. package/dist/index.js +1112 -1107
  207. package/dist/locales/ar.json +130 -15
  208. package/dist/locales/de.json +130 -15
  209. package/dist/locales/el.json +130 -15
  210. package/dist/locales/en.json +122 -7
  211. package/dist/locales/es.json +130 -15
  212. package/dist/locales/fr.json +130 -15
  213. package/dist/locales/hi.json +130 -15
  214. package/dist/locales/it.json +130 -15
  215. package/dist/locales/ja.json +130 -15
  216. package/dist/locales/nl.json +130 -15
  217. package/dist/locales/pl.json +130 -15
  218. package/dist/locales/pt.json +130 -15
  219. package/dist/locales/ro.json +130 -15
  220. package/dist/locales/ru.json +130 -15
  221. package/dist/locales/sq.json +130 -15
  222. package/dist/locales/sv.json +130 -15
  223. package/dist/locales/tr.json +130 -15
  224. package/dist/locales/zh.json +130 -15
  225. package/dist/patterns/calendar/calendar-appointment-details.d.ts +83 -2
  226. package/dist/patterns/calendar/calendar-appointment-details.d.ts.map +1 -1
  227. package/dist/patterns/calendar/calendar-appointment-editor-dialog.d.ts.map +1 -1
  228. package/dist/patterns/calendar/calendar-archive.d.ts +12 -0
  229. package/dist/patterns/calendar/calendar-archive.d.ts.map +1 -0
  230. package/dist/patterns/calendar/calendar-bookings-panel.d.ts.map +1 -1
  231. package/dist/patterns/calendar/calendar-care-rules.d.ts +19 -23
  232. package/dist/patterns/calendar/calendar-care-rules.d.ts.map +1 -1
  233. package/dist/patterns/calendar/calendar-delete-confirm.d.ts +18 -0
  234. package/dist/patterns/calendar/calendar-delete-confirm.d.ts.map +1 -0
  235. package/dist/patterns/calendar/calendar-document-scope-confirm.d.ts +12 -0
  236. package/dist/patterns/calendar/calendar-document-scope-confirm.d.ts.map +1 -0
  237. package/dist/patterns/calendar/calendar-editor-guard.d.ts +12 -0
  238. package/dist/patterns/calendar/calendar-editor-guard.d.ts.map +1 -0
  239. package/dist/patterns/calendar/calendar-editor-hydration.d.ts +13 -2
  240. package/dist/patterns/calendar/calendar-editor-hydration.d.ts.map +1 -1
  241. package/dist/patterns/calendar/calendar-load-error.d.ts +11 -0
  242. package/dist/patterns/calendar/calendar-load-error.d.ts.map +1 -0
  243. package/dist/patterns/calendar/calendar-patient-locked.d.ts +13 -0
  244. package/dist/patterns/calendar/calendar-patient-locked.d.ts.map +1 -0
  245. package/dist/patterns/calendar/calendar-patient-picker.d.ts +6 -1
  246. package/dist/patterns/calendar/calendar-patient-picker.d.ts.map +1 -1
  247. package/dist/patterns/calendar/calendar-prompts.d.ts +11 -0
  248. package/dist/patterns/calendar/calendar-prompts.d.ts.map +1 -0
  249. package/dist/patterns/calendar/calendar-settings-ical.d.ts +11 -0
  250. package/dist/patterns/calendar/calendar-settings-ical.d.ts.map +1 -0
  251. package/dist/patterns/calendar/calendar-settings-overlay.d.ts +73 -0
  252. package/dist/patterns/calendar/calendar-settings-overlay.d.ts.map +1 -0
  253. package/dist/patterns/calendar/calendar-settings-panel.d.ts +62 -0
  254. package/dist/patterns/calendar/calendar-settings-panel.d.ts.map +1 -0
  255. package/dist/patterns/calendar/calendar-settings-practice.d.ts +20 -0
  256. package/dist/patterns/calendar/calendar-settings-practice.d.ts.map +1 -0
  257. package/dist/patterns/calendar/calendar-status-colours.d.ts +18 -0
  258. package/dist/patterns/calendar/calendar-status-colours.d.ts.map +1 -0
  259. package/dist/patterns/calendar/calendar-upcoming-panel.d.ts.map +1 -1
  260. package/dist/patterns/calendar/calendar-waiting-list-panel.d.ts +17 -2
  261. package/dist/patterns/calendar/calendar-waiting-list-panel.d.ts.map +1 -1
  262. package/dist/patterns/calendar/calendar-workspace.d.ts +285 -6
  263. package/dist/patterns/calendar/calendar-workspace.d.ts.map +1 -1
  264. package/dist/patterns/calendar/calendar-workspace.model.d.ts +103 -17
  265. package/dist/patterns/calendar/calendar-workspace.model.d.ts.map +1 -1
  266. package/dist/patterns/calendar/calendar.data.d.ts +9 -3
  267. package/dist/patterns/calendar/calendar.data.d.ts.map +1 -1
  268. package/dist/patterns/calendar/calendar.journey.d.ts +69 -5
  269. package/dist/patterns/calendar/calendar.journey.d.ts.map +1 -1
  270. package/dist/patterns/calendar/calendar.model.d.ts +129 -22
  271. package/dist/patterns/calendar/calendar.model.d.ts.map +1 -1
  272. package/dist/patterns/calendar/calendar.preferences.d.ts +4 -0
  273. package/dist/patterns/calendar/calendar.preferences.d.ts.map +1 -1
  274. package/dist/patterns/calendar/calendar.sheets.d.ts +129 -18
  275. package/dist/patterns/calendar/calendar.sheets.d.ts.map +1 -1
  276. package/dist/patterns/calendar/calendar.surface.d.ts +64 -6
  277. package/dist/patterns/calendar/calendar.surface.d.ts.map +1 -1
  278. package/dist/patterns/calendar/calendar.types.d.ts +231 -6
  279. package/dist/patterns/calendar/calendar.types.d.ts.map +1 -1
  280. package/dist/patterns/calendar/index.d.ts +9 -6
  281. package/dist/patterns/calendar/index.d.ts.map +1 -1
  282. package/dist/patterns/calendar/index.js +18 -15
  283. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  284. package/dist/patterns/signature-request/index.js +1 -1
  285. package/dist/patterns/signed-out-frame/index.js +1 -1
  286. package/dist/tokens.css +5 -1
  287. package/package.json +1 -1
  288. package/dist/_chunks/appointment-card-0PebvrOS.js.map +0 -1
  289. package/dist/_chunks/calendar-_sgjuH3L.js.map +0 -1
  290. package/dist/_chunks/calendar-appointment-editor-dialog-CGDDGMdo.js +0 -10974
  291. package/dist/_chunks/calendar-appointment-editor-dialog-CGDDGMdo.js.map +0 -1
  292. package/dist/_chunks/calendar-event-card-DXAYWH6k.js.map +0 -1
  293. package/dist/_chunks/entity-summary-BanguTa6.js.map +0 -1
  294. package/dist/_chunks/header-settings-DsvheAOt.js.map +0 -1
  295. package/dist/_chunks/task-editor-C05yx7JJ.js +0 -1218
  296. package/dist/_chunks/task-editor-C05yx7JJ.js.map +0 -1
  297. package/dist/_chunks/treatment-receipt-1VnuinhY.js.map +0 -1
  298. package/dist/_chunks/use-appointment-details-read-Bm408XzX.js +0 -2198
  299. package/dist/_chunks/use-appointment-details-read-Bm408XzX.js.map +0 -1
  300. 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 CalendarRow, type EditorPrefill } from './calendar.model';
48
- import { type CalendarWaitingListState, type CalendarWorkspaceToolId, type WorkspaceDisplaySettings, type BacklogGap } from './calendar-workspace.model';
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,23 @@ 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
+ /** The Custom repeat rule: every N days, weeks, months or years, chosen
127
+ * weekdays, the Nth or last weekday. The host receives it as `interval`
128
+ * and `byDay` on the draft's `recurrence`. `false` when the host cannot
129
+ * save those two fields, so the user is never offered "every 2 weeks" and
130
+ * given every week. Defaults to on. */
131
+ custom?: boolean;
132
+ }
106
133
  export interface CalendarWorkspaceAnalytics {
107
134
  /** A built-in tool panel opened. Not raised again while it stays open,
108
135
  * and never for an id no tool carries. Host tools report through
@@ -126,6 +153,108 @@ export interface CalendarWorkspaceAnalytics {
126
153
  source: CalendarDetailsOpenSource;
127
154
  view: CalendarView;
128
155
  }) => void;
156
+ /** A new series was saved. Raised once per accepted save, never for a
157
+ * failed one or an edit. `rule` is `custom` when the repeat uses
158
+ * every-N or chosen weekdays; `end` is `date` for "on a date". */
159
+ onRecurringCreated?: (event: {
160
+ rule: 'preset' | 'custom';
161
+ end: 'count' | 'date';
162
+ skipClosedDays: boolean;
163
+ }) => void;
164
+ /** The user answered the repeat scope question: an accepted save (with
165
+ * the scope it saved under), a confirmed move or a confirmed delete.
166
+ * Never raised when the user cancels or a save is refused. An occurrence
167
+ * changed on its own asks only on delete. */
168
+ onRecurringScopeChosen?: (event: RecurringScopeChosen) => void;
169
+ /** The user completed an action in the details panel: a status saved, a
170
+ * handler run, a delete confirmed, a link followed. Raised once per
171
+ * action, whatever the surface; the host adds `surface: "panel"`. */
172
+ onDetailsActionUsed?: (event: {
173
+ action: CalendarDetailsAction;
174
+ }) => void;
175
+ /** The user clicked Edit on the details panel. Raised on the CLICK, even
176
+ * when the host then routes elsewhere (an online booking completes on
177
+ * its own flow), once per click. The old calendar's
178
+ * `calendar_appointment_edit_opened`; its once-a-day guard is the
179
+ * host's. `onDetailsActionUsed` keeps hearing the completed action. */
180
+ onAppointmentEditOpened?: (event: {
181
+ eventId: string;
182
+ surface: CalendarAnalyticsSurface;
183
+ view: CalendarView;
184
+ }) => void;
185
+ /** The user clicked Delete, on the details panel or in the editor,
186
+ * BEFORE the confirm and whatever the answer. Raised once per click.
187
+ * The old calendar's `calendar_appointment_delete_initiated`.
188
+ * `onDetailsActionUsed` with `delete` still reports a confirmed delete. */
189
+ onAppointmentDeleteInitiated?: (event: {
190
+ eventId: string;
191
+ surface: CalendarAnalyticsSurface;
192
+ view: CalendarView;
193
+ }) => void;
194
+ /** The user picked an entry of the details panel's Create document menu.
195
+ * Raised on the PICK, before the bill's "this visit or all visits"
196
+ * question and whatever the answer, once per pick. The old calendar's
197
+ * `calendar_popover_create_document_clicked`; the host maps `kind` to
198
+ * its `action` value. `onDetailsActionUsed` with `document` still
199
+ * reports the completed action. Carries the appointment id and the kind,
200
+ * never patient data. */
201
+ onDocumentCreateClicked?: (event: {
202
+ eventId: string;
203
+ kind: CalendarDocumentKind;
204
+ surface: CalendarAnalyticsSurface;
205
+ view: CalendarView;
206
+ }) => void;
207
+ /** The user clicked the WhatsApp link on a waiting-list entry. Raised
208
+ * once per click, only for an entry that has a number and never under
209
+ * privacy. The old calendar's `waiting_list_whatsapp_clicked`. Carries
210
+ * the entry id: never a name, a number or a note. */
211
+ onWaitingListWhatsAppClicked?: (event: {
212
+ entryId: string;
213
+ surface: CalendarAnalyticsSurface;
214
+ view: CalendarView;
215
+ }) => void;
216
+ /** The user started a Move: Move on the details panel or the editor, or
217
+ * a card dropped on the grid (`grid`). Raised when the move is armed or
218
+ * dropped, not when it lands. The old calendar's
219
+ * `calendar_appointment_move_initiated`; its once-a-day guard is the
220
+ * host's. */
221
+ onAppointmentMoveInitiated?: (event: {
222
+ eventId: string;
223
+ surface: CalendarMoveCopySurface | 'grid';
224
+ view: CalendarView;
225
+ }) => void;
226
+ /** The user picked a Copy choice on the details panel or the editor.
227
+ * `withTreatments` is false for "appointment only". Raised when the copy
228
+ * is armed, not when it lands. The old calendar's
229
+ * `calendar_appointment_copy_initiated`. */
230
+ onAppointmentCopyInitiated?: (event: {
231
+ eventId: string;
232
+ withTreatments: boolean;
233
+ surface: CalendarMoveCopySurface;
234
+ view: CalendarView;
235
+ }) => void;
236
+ /** The user confirmed the print dialog for a day. The old calendar's
237
+ * `calendar_print_used`. Raised once per confirmed print. */
238
+ onPrintUsed?: (event: {
239
+ view: CalendarView;
240
+ }) => void;
241
+ /** The user picked a date in the jump-to-date picker. Raised on every
242
+ * pick; the once-a-day guard is the host's. The old calendar's
243
+ * `calendar_jump_to_date_used`. */
244
+ onJumpToDateUsed?: (event: {
245
+ view: CalendarView;
246
+ }) => void;
247
+ /** The user picked a quick view of the waiting list that was not already
248
+ * chosen, or ran the detailed search (`advanced_search`). The old
249
+ * calendar's `waiting_list_filter_used`. */
250
+ onWaitingListFilterUsed?: (event: {
251
+ filter: WaitingQuickView | 'advanced_search';
252
+ }) => void;
253
+ /** The user showed or hid the waiting list's detailed filters. The old
254
+ * calendar's `waiting_list_advanced_filter_toggled`. */
255
+ onWaitingListAdvancedFilterToggled?: (event: {
256
+ action: 'show' | 'hide';
257
+ }) => void;
129
258
  /** A rail preference was saved on this device. `toolId` may be a host
130
259
  * tool's id. `resize` is raised only with `persistPanelWidthKey`, since
131
260
  * without it nothing is saved. */
@@ -143,6 +272,20 @@ export interface CalendarWorkspaceAnalytics {
143
272
  source: Extract<CalendarToolOpenSource, 'rail' | 'system'>;
144
273
  view: CalendarView;
145
274
  }) => void;
275
+ /** The Settings panel opened in the rail (PRD event
276
+ * calendar_settings_opened). */
277
+ onSettingsOpened?: () => void;
278
+ /** A setting changed in the Settings panel (PRD event calendar_setting_changed).
279
+ * Raised once per change. `setting` is the display field name,
280
+ * `hiddenDays` or `reset`. */
281
+ onSettingChanged?: (event: {
282
+ setting: string;
283
+ section: 'personal' | 'practice';
284
+ }) => void;
285
+ /** The Practice section's link to the host's opening hours editor was
286
+ * followed, whether it is a button (`onOpen`) or a link (`href`) (PRD
287
+ * event calendar_scheduler_opened). */
288
+ onHoursOpened?: () => void;
146
289
  }
147
290
  export interface CalendarWorkspaceProps {
148
291
  /** Optional canonical read for every existing-appointment editor route.
@@ -165,6 +308,10 @@ export interface CalendarWorkspaceProps {
165
308
  /** The host's read of the waiting list: a first `loading` shows
166
309
  * placeholders, `error` offers `onRetry`. Omitted = always ready. */
167
310
  waitingListState?: CalendarWaitingListState;
311
+ /** Loads the visible range again. The workspace offers Retry above the
312
+ * grid only while a visible day is `'error'` in `data.dayLoadState`, and
313
+ * withholds the button when this is omitted. */
314
+ onRetryLoad?: () => void;
168
315
  /** When each appointment entered its current state, by event id (ISO
169
316
  * 8601). The upcoming panel shows "waiting for 12 min" only for rows
170
317
  * listed here; it never derives an elapsed time from the start. */
@@ -177,6 +324,16 @@ export interface CalendarWorkspaceProps {
177
324
  permissions?: {
178
325
  editAppointment?: boolean;
179
326
  };
327
+ /**
328
+ * The Settings panel's Practice section (PRD 02). Each member is passed only when
329
+ * the host grants this user that setting's existing right; with no member
330
+ * the section is absent. Edits are a draft until Save, which calls
331
+ * `onSave`. After a successful save the host re-feeds `data` (the
332
+ * holiday wash and bookability read the host's `practiceClosedOn` and
333
+ * `closureOn`, the care restriction reads the cares' allowed lists) so
334
+ * the grid follows.
335
+ */
336
+ practiceSettings?: CalendarPracticeSettingsSeam;
180
337
  /** Deep link `focusAppointmentId`: open on the appointment's day, ring
181
338
  * and scroll to its card and dock its details. */
182
339
  focusAppointmentId?: string;
@@ -231,7 +388,80 @@ export interface CalendarWorkspaceProps {
231
388
  * once the host records what each save changed, so the older entries
232
389
  * read as incomplete rather than empty. */
233
390
  noteUnrecordedEdits?: boolean;
234
- /** Where the cog's settings, the view, the weekend choice and the
391
+ /** What the host can persist for a new series. Each control is offered
392
+ * unless the host sets its flag to `false`. */
393
+ recurrence?: CalendarWorkspaceRecurrence;
394
+ /**
395
+ * Treatment consents the chosen cares need for this visit (HTP-3395),
396
+ * read by the editor on create and on edit. Omit it and the editor offers
397
+ * no consents: the kit never lists what the host cannot back. Return the
398
+ * consents of THIS appointment (a new one every visit, never the
399
+ * patient's older ones). The editor shows each missing one as a tick
400
+ * (ticked on create, unticked on edit) and reports the ticked ids in
401
+ * `EditorDraftExtras.consentIds` on save: the host creates and sends
402
+ * them, and chooses in-person or remote signing itself. The details panel
403
+ * only lists them, under `signing.consents`.
404
+ */
405
+ consentsForCares?: EditorPlatformOptions['consentsForCares'];
406
+ /**
407
+ * Medical devices the chosen cares need at the visit's slot (PRD 01,
408
+ * B9). The editor shows one choice per care that needs a device, set to
409
+ * the host's `assignedId`, and reports the chosen devices in
410
+ * `EditorDraftExtras.medicalDevices` on save. A pick resets when the date,
411
+ * time or length changes, so the host assigns again for the new slot.
412
+ * Pass it only when the practice has the feature (platform switch
413
+ * `find_free_slots_by_care`); omit it and the editor offers no choice:
414
+ * the kit never shows a control the host cannot back. When every device
415
+ * is busy the editor says so and the save goes ahead. Synchronous and
416
+ * pure: see `EditorPlatformOptions.medicalDevicesForCares`.
417
+ */
418
+ medicalDevicesForCares?: EditorPlatformOptions['medicalDevicesForCares'];
419
+ /**
420
+ * Same-day reminder seam (rule B8): see
421
+ * `EditorPlatformOptions.sameDayReminders`. Omit it and neither message
422
+ * appears.
423
+ */
424
+ sameDayReminders?: EditorPlatformOptions['sameDayReminders'];
425
+ /**
426
+ * The practice's signature credits (rule B10): see
427
+ * `EditorPlatformOptions.signatureCredits`. Omit it and the editor shows
428
+ * neither the no-credits message nor any limit on the sign mode.
429
+ */
430
+ signatureCredits?: EditorPlatformOptions['signatureCredits'];
431
+ /**
432
+ * Create a patient from an online booking that has none (PRD 01). The
433
+ * editor shows "Create patient" in the booking card while no patient is
434
+ * chosen; the host opens its own new-patient form filled with the booking
435
+ * name, phone and email, and resolves with the new patient (or
436
+ * `undefined` when the user cancels). Make the record available through
437
+ * `CalendarData.patientById` before resolving. Omit it and the editor
438
+ * offers no such button: the kit never shows a control the host cannot
439
+ * back.
440
+ */
441
+ createPatientFromBooking?: EditorPlatformOptions['createPatientFromBooking'];
442
+ /**
443
+ * Create a patient from the patient search (PRD 01, B20). The editor and
444
+ * the waiting-list entry form (not its filter) show "Create patient"
445
+ * under the search while no patient is chosen. The host opens its own
446
+ * new-patient form (`typedText` is the last text typed, to prefill it) and
447
+ * resolves with the new patient, or `null` on cancel (nothing changes).
448
+ * The kit then selects it as if it had been picked. Make the record
449
+ * available through `CalendarData.patientById` before resolving. Reject
450
+ * with a safe `Error` to show its message. Omit it and the action is
451
+ * withheld; so it is for a read-only viewer. An online booking that has
452
+ * `createPatientFromBooking` keeps its own button and prefill.
453
+ */
454
+ createPatient?: CalendarCreatePatient;
455
+ /**
456
+ * Propose the first-visit answer on a NEW appointment (PRD 01, B12). The
457
+ * editor asks once a patient is chosen, and again when the date changes,
458
+ * and sets the answer unless the user has already picked one. Resolve
459
+ * `'unknown'` when the host cannot tell; a rejection is ignored. The
460
+ * answer starts on unknown without this seam. An edit shows the saved
461
+ * `EditorPrefill.firstVisit` and never asks.
462
+ */
463
+ proposeFirstVisit?: EditorPlatformOptions['proposeFirstVisit'];
464
+ /** Where the cog's settings, the view, the days shown and the
235
465
  * chair / operator selections are remembered — the host's per-user
236
466
  * store. Defaults to the session-scoped in-memory adapter. */
237
467
  preferences?: CalendarPreferenceAdapter;
@@ -273,6 +503,24 @@ export interface CalendarWorkspaceProps {
273
503
  /** Usage callbacks for the host's analytics. Omit it and nothing is
274
504
  * reported. */
275
505
  analytics?: CalendarWorkspaceAnalytics;
506
+ /** Opens a patient's record in the host (the patient file). Offered on
507
+ * the editor's identity line and the waiting list; the name is plain
508
+ * text without it. */
509
+ onOpenPatient?: (patient: CalendarPatient) => void;
510
+ /** Opens the host's hours editor (opening hours, closures, absences).
511
+ * Offered beside the free-slot finder's missing-hours advisory; the
512
+ * advisory still names what is missing without it. */
513
+ onOpenScheduler?: () => void;
514
+ /** Takes the user back to where a deep link came from (a care plan, the
515
+ * patient file), called after a save. With it a `createParameters`
516
+ * arrival with `simpleSave: false` keeps its two saves, "Save and go
517
+ * back" and "Save and continue"; without it the arrival gets the single
518
+ * Save. */
519
+ onSaveAndReturn?: () => void;
520
+ /** Starts the host's on-device e-signature for an appointment (signee,
521
+ * operator, one-time code). Offered as "On this device" in the
522
+ * signature request menu; withheld without it. */
523
+ onRequestSignatureOnDevice?: (eventId: string) => void;
276
524
  /**
277
525
  * Host tools, appended to the rail after the built-in ones, in this
278
526
  * order. A tool is offered by passing it and withheld by leaving it out:
@@ -305,13 +553,44 @@ export interface CalendarWorkspaceProps {
305
553
  * commit as the masked grid.
306
554
  */
307
555
  onPrivacyChange?: (privacy: boolean) => void;
556
+ /**
557
+ * The calendar archive session (the practice's global archive plus one
558
+ * second archive). Passing it turns on the seven old rules: a new
559
+ * appointment first asks Global or Archive, the chair and operator
560
+ * columns and filters are gone, drag and resize are off, the details
561
+ * show no status change, a banner offers Exit, the view starts on Week,
562
+ * and every action callback carries the appointment's own `archiveId`.
563
+ */
564
+ calendarArchive?: CalendarArchive;
565
+ /**
566
+ * The old calendar's kept prompts, each a host seam and withheld when
567
+ * left out: a `banner` above the grid, the `firstAppointment` alert
568
+ * with an optional host button, and the `academyHref` tutorial link in
569
+ * the Settings panel.
570
+ */
571
+ prompts?: CalendarPrompts;
572
+ /**
573
+ * The view the page address names (`day`, `threeDays`, `week` or
574
+ * `month`). It beats the user's remembered view until they pick another,
575
+ * and the remembered view is not overwritten. The day it opens on is
576
+ * `data.initialDateIso`; the column axis is `initialDisplay.resourceKind`.
577
+ * The kit never reads `window.location`: the host reads its own address
578
+ * and passes these in.
579
+ */
580
+ initialView?: WorkspaceViewId;
581
+ /**
582
+ * After every navigation (a view switch, previous, next, Today, the mini
583
+ * month, jump to date, a Month day, the column axis), once, with the new
584
+ * view, the day as `YYYY-MM-DD` and the axis. Not raised for the first
585
+ * render. The host writes the page address; the kit writes nothing.
586
+ */
587
+ onViewChange?: (change: CalendarViewChange) => void;
308
588
  }
309
589
  /**
310
590
  * The cog's settings as the workspace opens with them: the remembered
311
591
  * entry under the workspace's own key, a caller's `initialDisplay`
312
592
  * winning for the keys it names. Exported so a host seeding its journey
313
- * (row colours follow `colorAssociation`) starts from the same values
314
- * the workspace will show.
593
+ * starts from the same values the workspace will show.
315
594
  */
316
595
  export declare function initialWorkspaceDisplay(initialDisplay: Partial<WorkspaceDisplaySettings> | undefined, preferences?: CalendarPreferenceAdapter): WorkspaceDisplaySettings;
317
596
  /**
@@ -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;AA2BnC,OAAO,EAKL,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EACrB,MAAM,oCAAoC,CAAC;AAI5C,OAAO,EAGL,KAAK,+BAA+B,EACrC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAIL,KAAK,gCAAgC,EACtC,MAAM,gCAAgC,CAAC;AAMxC,OAAO,EAGL,KAAK,YAAY,EAClB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAM1D,OAAO,EAEL,KAAK,yBAAyB,EAG/B,MAAM,wBAAwB,CAAC;AAWhC,OAAO,EACL,KAAK,WAAW,EAEhB,KAAK,aAAa,EAcnB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAEL,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAM5B,KAAK,wBAAwB,EAG7B,KAAK,UAAU,EAWhB,MAAM,4BAA4B,CAAC;AAuBpC,OAAO,EACL,cAAc,EACd,KAAK,uBAAuB,GAC7B,MAAM,4BAA4B,CAAC;AAsmDpC,8EAA8E;AAC9E,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,SAAS,WAAW,EAAE,CAAC;IAC7B,MAAM,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;IACtC,4EAA4E;IAC5E,WAAW,CAAC,EAAE,OAAO,CAAC;IACt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,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 six tools. Notes requires patient context. */
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. An id the kit does not know is
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
- /** Weekend visibility is a per-user choice now (platform hidden days):
84
- * off hides Saturday and Sunday in every range view. */
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
- /** Delete confirmation choices — the recurring scope and, for a
180
- * price-list recurrence parent, the care-plan cleanup. */
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
@@ -219,10 +309,9 @@ export declare function signChannelStates(ref: PatientRef): {
219
309
  sms: PatientChannelState;
220
310
  email: PatientChannelState;
221
311
  };
222
- /** The platform's default: SMS when the patient can take one, else
223
- * email, else nothing. "Can take one" is `ready` alone — a channel we
224
- * know nothing about is not a channel to send on by default. */
225
- export declare function defaultSignMode(ref: PatientRef): RequiredDocsSignMode;
312
+ /** Sign mode starts on "not now" (rule B10): staff pick SMS or email on
313
+ * purpose, even when the patient could take either. */
314
+ export declare function defaultSignMode(): RequiredDocsSignMode;
226
315
  export { patientAddressLabel, patientAddressLine, patientMapsUrl, } from '../../components/_shared/appointment-format';
227
316
  /** A CREATE mode armed by a deep link (`createParameters`) or the
228
317
  * Backlog's Schedule: the next empty-slot click opens the editor with
@@ -233,10 +322,7 @@ export interface CreateModeRequest {
233
322
  /** Named in the banner when the context carries a patient. */
234
323
  patientName?: string;
235
324
  }
236
- /** Legible ink for a mode banner tinted with an appointment colour. The
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;
325
+ export { bannerTextColor } from './calendar.model';
240
326
  /** A Move… or Copy… armed from the details dialog: the next empty-slot
241
327
  * click places the source appointment there. */
242
328
  export interface PlacementRequest {
@@ -250,11 +336,11 @@ export interface PlacementRequest {
250
336
  }
251
337
  /** The platform's "Copia & incolla": the same appointment on a new slot
252
338
  * with a fresh id — never a series member, treatments only on request.
339
+ * The clicked slot sets the date and time only: the copy keeps the
340
+ * SOURCE chair and operator, whichever column was clicked (rule C5).
253
341
  * An all-day source stays all-day on the target date. */
254
342
  export declare function copyRowAt(source: CalendarRow, target: {
255
343
  start: Date;
256
- resourceId?: string;
257
- axisKind: DisplaySettings['resourceKind'];
258
344
  }, id: string, withTreatments: boolean): CalendarRow;
259
345
  /** Apply an edit saved with "this and following" / "all" to the other
260
346
  * occurrences: each keeps its own day shifted by the same delta as the
@@ -279,7 +365,7 @@ export declare function hiddenReasons(notice: Pick<SaveNotice, 'date' | 'chairId
279
365
  hiddenDays: readonly number[];
280
366
  selectedChairIds: readonly string[];
281
367
  selectedOperatorIds: readonly string[];
282
- }): Array<'range' | 'weekend' | 'chair' | 'operator'>;
368
+ }): Array<'range' | 'day' | 'chair' | 'operator'>;
283
369
  /**
284
370
  * The platform DASHBOARD widget's window (`upcomingAppointmentsAction`):
285
371
  * NOW → `forwardDays` later at 23:59:59.999, cancelled excluded, date