@alfadocs/ui-kit 1.45.0 → 1.46.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 (157) hide show
  1. package/dist/_chunks/{actions-cell-renderer-BXBy9c0f.js → actions-cell-renderer-B5m9lwgC.js} +2 -2
  2. package/dist/_chunks/ai-credits-notice-xszqOZTC.js +90 -0
  3. package/dist/_chunks/ai-credits-notice.agent-C9L7orrP.js +17 -0
  4. package/dist/_chunks/{ai-consent-banner-D7I2U-cz.js → ai-permission-notice-D7I2U-cz.js} +1 -1
  5. package/dist/_chunks/ai-sparkle-D23NT8Z_.js +45 -0
  6. package/dist/_chunks/{anamnesis-summary-rows-DQUqwWc1.js → anamnesis-summary-rows-DI-UX5r6.js} +2 -2
  7. package/dist/_chunks/{appointment-card-TgR_2GKS.js → appointment-card-DluZy8Iv.js} +2 -2
  8. package/dist/_chunks/{appointment-peek-abiR0T9e.js → appointment-peek-BsfCpiJs.js} +3 -3
  9. package/dist/_chunks/{appointment-timeline-CCnyUYKz.js → appointment-timeline-Cs5f9viN.js} +3 -3
  10. package/dist/_chunks/{appointment-tray-N0yEI8UF.js → appointment-tray-CLrGGnKR.js} +2 -2
  11. package/dist/_chunks/baby-Dku-Xvg9.js +23 -0
  12. package/dist/_chunks/{balance-badge-cell-o6LldMUA.js → balance-badge-cell-YGrYdrvR.js} +3 -3
  13. package/dist/_chunks/{booking-D43ASl8y.js → booking-B7gA9gFB.js} +279 -296
  14. package/dist/_chunks/button-group-CA1tmu39.js +325 -0
  15. package/dist/_chunks/{calendar-U6N0F99w.js → calendar-OzSeTb4V.js} +2 -2
  16. package/dist/_chunks/{calendar-event-card-DKUnT9Be.js → calendar-event-card-B6N5h1dO.js} +57 -48
  17. package/dist/_chunks/{calendar-workspace-B7KvZ1_D.js → calendar-workspace-BB-BZT7W.js} +3002 -2912
  18. package/dist/_chunks/{chart-PF2krCZC.js → chart-D8ucl8hH.js} +2 -2
  19. package/dist/_chunks/{data-table-CcAx_I1w.js → data-table-DnKOmEVw.js} +2 -2
  20. package/dist/_chunks/{editable-currency-cell-renderer-Psb6XKHR.js → editable-currency-cell-renderer-OUkUv7U4.js} +2 -2
  21. package/dist/_chunks/{face-scheme-Bm6pe7R8.js → face-scheme-mIhwrQXt.js} +3 -3
  22. package/dist/_chunks/{file-manager-BfLQxF5t.js → file-manager-DOcJGIx2.js} +4 -4
  23. package/dist/_chunks/{header-settings-CTe45iDy.js → header-settings-BEfx_-TF.js} +2 -2
  24. package/dist/_chunks/{help-me-write-templates-GUeEn3Ff.js → help-me-write-templates-DHIwa4xR.js} +205 -199
  25. package/dist/_chunks/{hover-card-BMJBVqIf.js → hover-card-nUae8NPJ.js} +67 -62
  26. package/dist/_chunks/{icon-button-group-DkkdIygu.js → icon-button-group-DZKC6KGf.js} +181 -168
  27. package/dist/_chunks/kit-extensions-DuoFF1R3.js +94 -0
  28. package/dist/_chunks/{marketplace-app-shell-DdwPj03y.js → marketplace-app-shell-PB89Dkk_.js} +2 -2
  29. package/dist/_chunks/{notes-panel-Dkk9QPPX.js → notes-panel-CHbDDMx8.js} +83 -73
  30. package/dist/_chunks/{patient-details-C8ImUrVg.js → patient-details-DUj1htsH.js} +2 -2
  31. package/dist/_chunks/{patient-field-row-BRSOKvme.js → patient-field-row-CO0WR7yA.js} +2 -2
  32. package/dist/_chunks/{patient-summary-card-BhmKB2KR.js → patient-summary-card-DNzdYjxE.js} +59 -45
  33. package/dist/_chunks/rich-text-editor-BwDV2XkZ.js +4153 -0
  34. package/dist/_chunks/{tasks-panel-CpcikOeY.js → tasks-panel-DncuBPIZ.js} +2 -2
  35. package/dist/_chunks/{theme-toggle-bI0pgDDv.js → theme-toggle-BP0XRGMM.js} +2 -2
  36. package/dist/_chunks/use-ai-sparkle-Cf4yVTLB.js +76 -0
  37. package/dist/_chunks/{workflow-status-xeaJTzD3.js → workflow-status-CuJAOuKL.js} +43 -42
  38. package/dist/agent-catalog.json +32 -4
  39. package/dist/agent-i18n/en.json +1 -1
  40. package/dist/components/ai-credits-notice/ai-credits-notice.agent.d.ts +3 -0
  41. package/dist/components/ai-credits-notice/ai-credits-notice.d.ts +48 -0
  42. package/dist/components/ai-credits-notice/index.d.ts +4 -0
  43. package/dist/components/ai-credits-notice/index.js +7 -0
  44. package/dist/components/{ai-consent-banner/ai-consent-banner.agent.d.ts → ai-permission-notice/ai-permission-notice.agent.d.ts} +2 -2
  45. package/dist/components/{ai-consent-banner/ai-consent-banner.d.ts → ai-permission-notice/ai-permission-notice.d.ts} +1 -1
  46. package/dist/components/ai-permission-notice/index.d.ts +4 -0
  47. package/dist/components/{ai-consent-banner → ai-permission-notice}/index.js +1 -1
  48. package/dist/components/ai-sparkle/ai-sparkle.d.ts +3 -3
  49. package/dist/components/ai-sparkle/index.js +1 -1
  50. package/dist/components/appointment-card/index.js +2 -2
  51. package/dist/components/appointment-peek/index.js +1 -1
  52. package/dist/components/appointment-timeline/index.js +1 -1
  53. package/dist/components/booking/index.js +1 -1
  54. package/dist/components/button-group/index.js +1 -1
  55. package/dist/components/calendar/index.js +1 -1
  56. package/dist/components/calendar-event-card/index.js +1 -1
  57. package/dist/components/chart/index.js +1 -1
  58. package/dist/components/data-table/index.js +3 -3
  59. package/dist/components/face-scheme/index.js +1 -1
  60. package/dist/components/file-manager/index.js +1 -1
  61. package/dist/components/header-settings/index.js +1 -1
  62. package/dist/components/hover-card/hover-card.d.ts +4 -0
  63. package/dist/components/hover-card/index.d.ts +1 -1
  64. package/dist/components/hover-card/index.js +3 -2
  65. package/dist/components/icon-button-group/index.js +1 -1
  66. package/dist/components/index.d.ts +2 -1
  67. package/dist/components/notes-panel/index.js +1 -1
  68. package/dist/components/notes-panel/notes-panel.d.ts +10 -0
  69. package/dist/components/patient-details/index.js +1 -1
  70. package/dist/components/patient-summary-card/index.js +1 -1
  71. package/dist/components/patient-table/index.js +1 -1
  72. package/dist/components/rich-text-editor/editor-extensions.d.ts +54 -0
  73. package/dist/components/rich-text-editor/editor-toolbar.d.ts +2 -1
  74. package/dist/components/rich-text-editor/help-me-write-overlay.d.ts +4 -0
  75. package/dist/components/rich-text-editor/index.d.ts +2 -0
  76. package/dist/components/rich-text-editor/index.js +6 -4
  77. package/dist/components/rich-text-editor/kit-extensions.d.ts +4 -0
  78. package/dist/components/rich-text-editor/rich-text-editor.d.ts +18 -2
  79. package/dist/components/tasks-panel/index.js +1 -1
  80. package/dist/components/theme-toggle/index.js +1 -1
  81. package/dist/components/workflow-status/index.js +1 -1
  82. package/dist/hooks/index.d.ts +1 -1
  83. package/dist/hooks/index.js +51 -53
  84. package/dist/hooks/use-ai-sparkle.d.ts +7 -25
  85. package/dist/host-compat.css +2 -2
  86. package/dist/i18n/locales/ar.d.ts +31 -0
  87. package/dist/i18n/locales/ar.js +33 -2
  88. package/dist/i18n/locales/de.d.ts +31 -0
  89. package/dist/i18n/locales/de.js +33 -2
  90. package/dist/i18n/locales/el.d.ts +31 -0
  91. package/dist/i18n/locales/el.js +33 -2
  92. package/dist/i18n/locales/en.d.ts +31 -0
  93. package/dist/i18n/locales/en.js +33 -2
  94. package/dist/i18n/locales/es.d.ts +31 -0
  95. package/dist/i18n/locales/es.js +33 -2
  96. package/dist/i18n/locales/fr.d.ts +31 -0
  97. package/dist/i18n/locales/fr.js +33 -2
  98. package/dist/i18n/locales/hi.d.ts +31 -0
  99. package/dist/i18n/locales/hi.js +33 -2
  100. package/dist/i18n/locales/it.d.ts +31 -0
  101. package/dist/i18n/locales/it.js +33 -2
  102. package/dist/i18n/locales/ja.d.ts +31 -0
  103. package/dist/i18n/locales/ja.js +33 -2
  104. package/dist/i18n/locales/nl.d.ts +31 -0
  105. package/dist/i18n/locales/nl.js +33 -2
  106. package/dist/i18n/locales/pl.d.ts +31 -0
  107. package/dist/i18n/locales/pl.js +33 -2
  108. package/dist/i18n/locales/pt.d.ts +31 -0
  109. package/dist/i18n/locales/pt.js +33 -2
  110. package/dist/i18n/locales/ro.d.ts +31 -0
  111. package/dist/i18n/locales/ro.js +33 -2
  112. package/dist/i18n/locales/ru.d.ts +31 -0
  113. package/dist/i18n/locales/ru.js +33 -2
  114. package/dist/i18n/locales/sq.d.ts +31 -0
  115. package/dist/i18n/locales/sq.js +33 -2
  116. package/dist/i18n/locales/sv.d.ts +31 -0
  117. package/dist/i18n/locales/sv.js +33 -2
  118. package/dist/i18n/locales/tr.d.ts +31 -0
  119. package/dist/i18n/locales/tr.js +33 -2
  120. package/dist/i18n/locales/zh.d.ts +31 -0
  121. package/dist/i18n/locales/zh.js +33 -2
  122. package/dist/index.js +646 -639
  123. package/dist/locales/ar.json +33 -2
  124. package/dist/locales/de.json +33 -2
  125. package/dist/locales/el.json +33 -2
  126. package/dist/locales/en.json +33 -2
  127. package/dist/locales/es.json +33 -2
  128. package/dist/locales/fr.json +33 -2
  129. package/dist/locales/hi.json +33 -2
  130. package/dist/locales/it.json +33 -2
  131. package/dist/locales/ja.json +33 -2
  132. package/dist/locales/nl.json +33 -2
  133. package/dist/locales/pl.json +33 -2
  134. package/dist/locales/pt.json +33 -2
  135. package/dist/locales/ro.json +33 -2
  136. package/dist/locales/ru.json +33 -2
  137. package/dist/locales/sq.json +33 -2
  138. package/dist/locales/sv.json +33 -2
  139. package/dist/locales/tr.json +33 -2
  140. package/dist/locales/zh.json +33 -2
  141. package/dist/patterns/anamnesis/index.js +1 -1
  142. package/dist/patterns/calendar/calendar-workspace.d.ts +6 -4
  143. package/dist/patterns/calendar/calendar.data.d.ts +9 -0
  144. package/dist/patterns/calendar/calendar.journey.d.ts +1 -1
  145. package/dist/patterns/calendar/calendar.sheets.d.ts +16 -5
  146. package/dist/patterns/calendar/calendar.types.d.ts +3 -1
  147. package/dist/patterns/calendar/index.js +1 -1
  148. package/dist/patterns/help-me-write-templates/help-me-write-templates.d.ts +11 -2
  149. package/dist/patterns/help-me-write-templates/index.js +1 -1
  150. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  151. package/dist/tokens.css +1 -1
  152. package/package.json +14 -4
  153. package/dist/_chunks/ai-sparkle-DXeP_6a0.js +0 -52
  154. package/dist/_chunks/button-group-R32U7SyV.js +0 -307
  155. package/dist/_chunks/rich-text-editor-BrAvNajV.js +0 -3779
  156. package/dist/_chunks/use-ai-sparkle-CyQSRTCe.js +0 -103
  157. package/dist/components/ai-consent-banner/index.d.ts +0 -4
@@ -2,6 +2,25 @@
2
2
  "infoTip": {
3
3
  "triggerLabel": "Daha fazla bilgi"
4
4
  },
5
+ "aiCreditsNotice": {
6
+ "dismiss": "Bir daha gösterme",
7
+ "included": {
8
+ "eyebrow": "Yapay zeka desteği",
9
+ "heading": "Planınıza dahildir",
10
+ "body": "Bu deneme süresi boyunca yapay zeka özellikleri ek ücret alınmadan sunulur.",
11
+ "allowance": "Bu ay {{limit}} işlemden {{remaining}} kaldı",
12
+ "resetsOn": "{{date}} tarihinde yenilenir",
13
+ "learnMore": "Daha fazla bilgi"
14
+ },
15
+ "bundles": {
16
+ "eyebrow": "Yapay zeka kredileri",
17
+ "headingWithAllowance": "{{limit}} kredide {{remaining}} kaldı",
18
+ "body": "Ücretsiz plan ayda {{limit}} işlem içerir. Sınırsız devam etmek için bir kredi paketi seçin.",
19
+ "bodyGeneric": "Sınırsız devam etmek için bir kredi paketi seçin.",
20
+ "viewBundles": "Paketleri görüntüle",
21
+ "seeCosts": "Her işlemin maliyeti"
22
+ }
23
+ },
5
24
  "opticalPrescription": {
6
25
  "ariaLabel": "Gözlük reçetesi",
7
26
  "metaLabel": "Reçete ayrıntıları",
@@ -590,7 +609,8 @@
590
609
  },
591
610
  "slider": {
592
611
  "minLabel": "Minimum",
593
- "maxLabel": "Maksimum"
612
+ "maxLabel": "Maksimum",
613
+ "value": "Değer"
594
614
  },
595
615
  "checkboxGroup": {
596
616
  "selectAll": "Tümünü seç",
@@ -742,6 +762,8 @@
742
762
  "remove": "Dosyayı kaldır",
743
763
  "progress": "%{{percent}} yüklendi",
744
764
  "filesSelected": "{{count}} dosya seçildi",
765
+ "maxSizeHint": "En fazla {{size}}",
766
+ "maxFilesHint": "En fazla {{count}} dosya",
745
767
  "errors": {
746
768
  "fileTooLarge": "Dosya {{maxSize}} sınırını aşıyor",
747
769
  "fileTooSmall": "Dosya {{minSize}} boyutundan küçük",
@@ -2037,6 +2059,7 @@
2037
2059
  "mr": "Bay",
2038
2060
  "ms": "Bayan"
2039
2061
  },
2062
+ "nameWithHonorific": "{{honorific}} {{name}}",
2040
2063
  "gender": {
2041
2064
  "m": "Erkek",
2042
2065
  "f": "Kadın"
@@ -2787,6 +2810,8 @@
2787
2810
  "remove": "Vurguyu kaldır"
2788
2811
  },
2789
2812
  "heading": "Başlık",
2813
+ "extensionsKit": "Kitten",
2814
+ "extensionsMarketplace": "Marketplace’ten",
2790
2815
  "extensions": "Düzenleyici eklentileri",
2791
2816
  "insertVariable": "Değişken ekle",
2792
2817
  "variables": {
@@ -4823,7 +4848,8 @@
4823
4848
  "operatorsCount_few": "Operatörler — {{count}} seçili",
4824
4849
  "resetFiltersCount_zero": "Filtreleri sıfırla — {{count}} etkin",
4825
4850
  "resetFiltersCount_two": "Filtreleri sıfırla — {{count}} etkin",
4826
- "resetFiltersCount_few": "Filtreleri sıfırla — {{count}} etkin"
4851
+ "resetFiltersCount_few": "Filtreleri sıfırla — {{count}} etkin",
4852
+ "backlogCount": "Tamamlanacaklar — {{n}} tamamlanacak"
4827
4853
  },
4828
4854
  "view": {
4829
4855
  "menuLabel": "Takvim görünümü — {{view}}",
@@ -4891,6 +4917,11 @@
4891
4917
  "filterNoPatient": "Hastasız",
4892
4918
  "filterNoOperator": "Operatörsüz",
4893
4919
  "filterNoChair": "Koltuksuz",
4920
+ "settings": "Panel ayarları",
4921
+ "settingsNarrowed": "Panel ayarları, liste filtrelenmiş",
4922
+ "settingsTitle": "Neler listelenir",
4923
+ "settingsHint": "Eksik alanlarından en az biri açık olduğu sürece kart görünür kalır.",
4924
+ "emptyNarrowed": "Panel ayarlarında bazı filtreler kapalı.",
4894
4925
  "notShownOnChairAxis": "Bir koltuk atanana kadar koltuk sütunlarında gösterilmez."
4895
4926
  },
4896
4927
  "waitingList": {
@@ -2,6 +2,25 @@
2
2
  "infoTip": {
3
3
  "triggerLabel": "更多信息"
4
4
  },
5
+ "aiCreditsNotice": {
6
+ "dismiss": "不再显示",
7
+ "included": {
8
+ "eyebrow": "AI 辅助",
9
+ "heading": "已包含在您的套餐中",
10
+ "body": "在此试用期间,AI 功能免费提供,无需额外付费。",
11
+ "allowance": "本月 AI 操作剩余 {{remaining}}/{{limit}}",
12
+ "resetsOn": "将于 {{date}} 更新",
13
+ "learnMore": "了解更多"
14
+ },
15
+ "bundles": {
16
+ "eyebrow": "AI 额度",
17
+ "headingWithAllowance": "额度 {{remaining}}/{{limit}}",
18
+ "body": "免费套餐每月包含 {{limit}} 次操作。选择一个额度包以不受限制地继续使用。",
19
+ "bodyGeneric": "选择一个额度包以不受限制地继续使用。",
20
+ "viewBundles": "查看额度包",
21
+ "seeCosts": "每次操作的费用"
22
+ }
23
+ },
5
24
  "opticalPrescription": {
6
25
  "ariaLabel": "眼镜处方",
7
26
  "metaLabel": "处方详情",
@@ -579,7 +598,8 @@
579
598
  },
580
599
  "slider": {
581
600
  "minLabel": "最小值",
582
- "maxLabel": "最大值"
601
+ "maxLabel": "最大值",
602
+ "value": "值"
583
603
  },
584
604
  "checkboxGroup": {
585
605
  "selectAll": "全选",
@@ -731,6 +751,8 @@
731
751
  "remove": "移除文件",
732
752
  "progress": "已上传 {{percent}}%",
733
753
  "filesSelected": "已选择 {{count}} 个文件",
754
+ "maxSizeHint": "最大 {{size}}",
755
+ "maxFilesHint": "最多 {{count}} 个文件",
734
756
  "errors": {
735
757
  "fileTooLarge": "文件超过 {{maxSize}}",
736
758
  "fileTooSmall": "文件小于 {{minSize}}",
@@ -2037,6 +2059,7 @@
2037
2059
  "mr": "Mr.",
2038
2060
  "ms": "Ms."
2039
2061
  },
2062
+ "nameWithHonorific": "{{honorific}} {{name}}",
2040
2063
  "gender": {
2041
2064
  "m": "男",
2042
2065
  "f": "女"
@@ -2787,6 +2810,8 @@
2787
2810
  "remove": "清除高亮"
2788
2811
  },
2789
2812
  "heading": "标题",
2813
+ "extensionsKit": "来自工具包",
2814
+ "extensionsMarketplace": "来自应用市场",
2790
2815
  "extensions": "编辑器扩展",
2791
2816
  "insertVariable": "插入变量",
2792
2817
  "variables": {
@@ -4823,7 +4848,8 @@
4823
4848
  "operatorsCount_few": "操作员——已选 {{count}} 位",
4824
4849
  "resetFiltersCount_zero": "重置筛选——{{count}} 个生效中",
4825
4850
  "resetFiltersCount_two": "重置筛选——{{count}} 个生效中",
4826
- "resetFiltersCount_few": "重置筛选——{{count}} 个生效中"
4851
+ "resetFiltersCount_few": "重置筛选——{{count}} 个生效中",
4852
+ "backlogCount": "待完善 — {{n}} 项待完善"
4827
4853
  },
4828
4854
  "view": {
4829
4855
  "menuLabel": "日历视图——{{view}}",
@@ -4891,6 +4917,11 @@
4891
4917
  "filterNoPatient": "无患者",
4892
4918
  "filterNoOperator": "无操作员",
4893
4919
  "filterNoChair": "无诊椅",
4920
+ "settings": "面板设置",
4921
+ "settingsNarrowed": "面板设置,列表已筛选",
4922
+ "settingsTitle": "显示哪些内容",
4923
+ "settingsHint": "只要有一项缺失信息处于开启状态,该卡片就会显示。",
4924
+ "emptyNarrowed": "面板设置中有部分筛选已关闭。",
4894
4925
  "notShownOnChairAxis": "在分配诊椅之前,不会显示在诊椅列中。"
4895
4926
  },
4896
4927
  "waitingList": {
@@ -1,4 +1,4 @@
1
- import { A as e, a as i, L as r, P as n, S as o, T as t, b as l, c as d, d as g, e as A, f as m, g as c, h as E, i as P, j as f, k as S, l as h, m as u, n as T, o as I, p as N, r as R, q as _, s as C, t as L, u as b } from "../../_chunks/anamnesis-summary-rows-DQUqwWc1.js";
1
+ import { A as e, a as i, L as r, P as n, S as o, T as t, b as l, c as d, d as g, e as A, f as m, g as c, h as E, i as P, j as f, k as S, l as h, m as u, n as T, o as I, p as N, r as R, q as _, s as C, t as L, u as b } from "../../_chunks/anamnesis-summary-rows-DI-UX5r6.js";
2
2
  export {
3
3
  e as Anamnesis,
4
4
  i as AnamnesisConfigEditor,
@@ -123,10 +123,12 @@ export interface CalendarWorkspaceProps {
123
123
  to: Date;
124
124
  }) => void;
125
125
  /** The backlog panel's three switches ("Senza paziente" / "Senza
126
- * operatore" / "Senza poltrona"), all on by default. Controlled
127
- * together with `onBacklogFiltersChange`; omit both and the panel
128
- * keeps its own uncontrolled state — the kit does not persist this
129
- * itself. The chair switch is hidden when the practice has no chairs. */
126
+ * operatore" / "Senza poltrona"), all on by default and reached
127
+ * through the panel header's settings cog. Controlled together with
128
+ * `onBacklogFiltersChange`; omit both and the panel keeps its own
129
+ * uncontrolled state — the kit does not persist this itself. The chair
130
+ * switch is hidden when the practice has no chairs, and a chair value
131
+ * it cannot show never marks the cog. */
130
132
  backlogFilters?: Readonly<Record<BacklogGap, boolean>>;
131
133
  onBacklogFiltersChange?: (filters: Readonly<Record<BacklogGap, boolean>>) => void;
132
134
  }
@@ -83,6 +83,15 @@ export interface CalendarData {
83
83
  nowIso: string;
84
84
  /** The date the calendar opens on. */
85
85
  initialDateIso: string;
86
+ /**
87
+ * The practice's billing currency as an ISO 4217 code (`'GBP'`,
88
+ * `'CHF'`, …), read wherever the pattern prints a price (patient
89
+ * ledger, appointment billing lines, the price-list editor). Optional
90
+ * and additive: every host that omits it renders exactly as before —
91
+ * every read site falls back to `'EUR'`, the kit's original hardcoded
92
+ * assumption, so a euro-zone host needs no change.
93
+ */
94
+ currency?: string;
86
95
  cares: readonly CalendarCare[];
87
96
  /** The practice's price lists. THREE states, never two — see
88
97
  * `catalogueStateOf`. Omit it (`undefined`) when the host has no
@@ -210,6 +210,6 @@ export interface CalendarJourney {
210
210
  * of its own. Typically backed by the host's own `useHelpMeWriteTemplates`
211
211
  * call, built once per patient and passed straight through.
212
212
  */
213
- noteComposerExtrasFor?: (patientId: string) => Partial<Pick<PatientNotesSeam, 'variables' | 'validateVariable' | 'onVariableValidityChange' | 'renderHelpMeWrite' | 'aiTemplates' | 'onAiApplied' | 'onUploadImage' | 'onAiCreditsExhausted' | 'composerBefore' | 'composerAfter'>> | undefined;
213
+ noteComposerExtrasFor?: (patientId: string) => Partial<Pick<PatientNotesSeam, 'variables' | 'validateVariable' | 'onVariableValidityChange' | 'renderHelpMeWrite' | 'aiTemplates' | 'onAiApplied' | 'onUploadImage' | 'onAiCreditsExhausted' | 'showExtensions' | 'aiCreditsNotice' | 'extensions' | 'extensionContext' | 'onExtensionRun' | 'composerBefore' | 'composerAfter'>> | undefined;
214
214
  }
215
215
  //# sourceMappingURL=calendar.journey.d.ts.map
@@ -100,6 +100,16 @@ export interface PatientNotesSeam {
100
100
  onUploadImage?: NotesPanelProps['onUploadImage'];
101
101
  /** An AI call ran out of credits. See `RichTextEditor`. */
102
102
  onAiCreditsExhausted?: NotesPanelProps['onAiCreditsExhausted'];
103
+ /** Show the editor extensions affordance. See `RichTextEditor`. */
104
+ showExtensions?: NotesPanelProps['showExtensions'];
105
+ /** Shows the AI-credits/bundles hover card on every AI trigger. See
106
+ * `RichTextEditor`. */
107
+ aiCreditsNotice?: NotesPanelProps['aiCreditsNotice'];
108
+ /** Editor extensions offered under the toolbar's toy brick. See
109
+ * `RichTextEditor`. */
110
+ extensions?: NotesPanelProps['extensions'];
111
+ extensionContext?: NotesPanelProps['extensionContext'];
112
+ onExtensionRun?: NotesPanelProps['onExtensionRun'];
103
113
  /** Rendered just above the composer — e.g. the templates pattern's
104
114
  * `undoNotice`. See `NotesPanel`. */
105
115
  composerBefore?: NotesPanelProps['composerBefore'];
@@ -412,11 +422,12 @@ export declare function BookingsPanel({ bookings, locale, privacy, status, lastS
412
422
  /** The grid's column axis — chair-columns hide a chairless row, so the
413
423
  * panel says so once when that is the current view. */
414
424
  resourceKind?: WorkspaceDisplaySettings['resourceKind'];
415
- /** The header's three switches. `bookings` already arrives filtered by
416
- * the host (`CalendarWorkspace` applies `filterBacklogViews` before
417
- * this panel ever sees the rows); these two only drive the controls
418
- * themselves and are optional so a host bypassing the workspace still
419
- * gets an unfiltered list rather than a crash. */
425
+ /** The three gap switches, behind the header's settings cog. `bookings`
426
+ * already arrives filtered by the host (`CalendarWorkspace` applies
427
+ * `filterBacklogViews` before this panel ever sees the rows); these two
428
+ * only drive the controls themselves and are optional so a host
429
+ * bypassing the workspace still gets an unfiltered list rather than a
430
+ * crash. Omit `filters` and no cog is rendered. */
420
431
  filters?: Readonly<Record<BacklogGap, boolean>>;
421
432
  onFiltersChange?: (filters: Readonly<Record<BacklogGap, boolean>>) => void;
422
433
  }): import("react/jsx-runtime").JSX.Element;
@@ -335,7 +335,9 @@ export interface CalendarTask {
335
335
  dateIso: string;
336
336
  /** The task text — the only required field. */
337
337
  note: string;
338
- /** Absent = nobody assigned (platform `practiceUser` optional target). */
338
+ /** The clinician the task concerns: platform `doctorOperator`, filled
339
+ * from `data.operators`. NOT the assignee, which is a practice user
340
+ * account the kit does not model. Absent = no operator. */
339
341
  operatorId?: string;
340
342
  /** Mutually exclusive with `companyId`. */
341
343
  patientId?: string;
@@ -1,4 +1,4 @@
1
- import { C as s, a as r, b as E, c as P, D as S, d as o, S as C, V as t, W as d, e as A, i, m as n, r as D, u as W, f as _, g as c } from "../../_chunks/calendar-workspace-B7KvZ1_D.js";
1
+ import { C as s, a as r, b as E, c as P, D as S, d as o, S as C, V as t, W as d, e as A, i, m as n, r as D, u as W, f as _, g as c } from "../../_chunks/calendar-workspace-BB-BZT7W.js";
2
2
  export {
3
3
  s as CALENDAR_PREFERENCE_KEYS,
4
4
  r as CalendarDataProvider,
@@ -24,7 +24,7 @@
24
24
  * never talks to a backend.
25
25
  */
26
26
  import { type ReactNode } from 'react';
27
- import type { HelpMeWriteRenderContext, RichTextEditorAiApplied, RichTextEditorAiTemplates } from '../../components/rich-text-editor';
27
+ import type { HelpMeWriteRenderContext, RichTextEditorAiApplied, RichTextEditorAiTemplates, RichTextEditorProps } from '../../components/rich-text-editor';
28
28
  /** A practice-shared AI template. */
29
29
  export interface AiTemplate {
30
30
  id: string;
@@ -166,12 +166,21 @@ export interface UseHelpMeWriteTemplatesOptions {
166
166
  enableDictation?: boolean;
167
167
  /** Also told about every applied draft (e.g. for analytics). */
168
168
  onApplied?: (applied: HelpMeWriteApplied) => void;
169
+ /**
170
+ * Shows the AI-credits/bundles hover card on every AI trigger the editor
171
+ * has (this bar's own segment included, via `editorProps`). One wiring
172
+ * covers both the bar's existing out-of-credits notice (`credits`, shown
173
+ * only once the practice actually runs out) and this always-available
174
+ * hover preview.
175
+ */
176
+ creditsNotice?: RichTextEditorProps['aiCreditsNotice'];
169
177
  }
170
178
  /** The `RichTextEditor` props the hook drives; spread them on the editor. */
171
179
  export interface HelpMeWriteTemplatesEditorProps {
172
180
  renderHelpMeWrite: (context: HelpMeWriteRenderContext) => ReactNode;
173
181
  aiTemplates: RichTextEditorAiTemplates;
174
182
  onAiApplied: (applied: RichTextEditorAiApplied) => void;
183
+ aiCreditsNotice?: RichTextEditorProps['aiCreditsNotice'];
175
184
  }
176
185
  export interface UseHelpMeWriteTemplatesResult extends HelpMeWriteTemplatesEditorProps {
177
186
  /** All three editor props at once: `<RichTextEditor {...hmw.editorProps} />`. */
@@ -192,5 +201,5 @@ export interface UseHelpMeWriteTemplatesResult extends HelpMeWriteTemplatesEdito
192
201
  * <RichTextEditor {...hmw.editorProps} … />
193
202
  * {hmw.manager}
194
203
  */
195
- export declare function useHelpMeWriteTemplates({ templates, onGenerate, onSaveTemplate, onDeleteTemplate, onReorderTemplates, credits, enableDictation, onApplied, }: UseHelpMeWriteTemplatesOptions): UseHelpMeWriteTemplatesResult;
204
+ export declare function useHelpMeWriteTemplates({ templates, onGenerate, onSaveTemplate, onDeleteTemplate, onReorderTemplates, credits, enableDictation, onApplied, creditsNotice, }: UseHelpMeWriteTemplatesOptions): UseHelpMeWriteTemplatesResult;
196
205
  //# sourceMappingURL=help-me-write-templates.d.ts.map
@@ -1,4 +1,4 @@
1
- import { A as s, a as t, b as r, H as i, c as p, u as l } from "../../_chunks/help-me-write-templates-GUeEn3Ff.js";
1
+ import { A as s, a as t, b as r, H as i, c as p, u as l } from "../../_chunks/help-me-write-templates-DHIwa4xR.js";
2
2
  export {
3
3
  s as AiCreditsExhaustedError,
4
4
  t as AiCreditsExhaustedNotice,
@@ -1,4 +1,4 @@
1
- import { C as l, M as o } from "../../_chunks/marketplace-app-shell-DdwPj03y.js";
1
+ import { C as l, M as o } from "../../_chunks/marketplace-app-shell-PB89Dkk_.js";
2
2
  export {
3
3
  l as ConnectWithAlfadocs,
4
4
  o as MarketplaceAppShell