@alfadocs/ui-kit 0.66.0 → 0.67.1

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 (153) hide show
  1. package/dist/_chunks/{agenda-card-Bl-SBiCh.js → agenda-card-BxSFkqgY.js} +2 -2
  2. package/dist/_chunks/{agenda-tray-Bh1KfEOG.js → agenda-tray-T-BumlGZ.js} +2 -2
  3. package/dist/_chunks/{ai-consent-banner-Btzmk8OH.js → ai-consent-banner-Dxtx_WAh.js} +2 -2
  4. package/dist/_chunks/{ai-tools-rail-DAfaW8eA.js → ai-tools-rail-CInA_1-E.js} +57 -50
  5. package/dist/_chunks/{alia-sidebar-CN8pA6c-.js → alia-sidebar-Ckv0yCKi.js} +2 -2
  6. package/dist/_chunks/{anamnesis-card-qeLYRG79.js → anamnesis-card-N8pIKWuS.js} +2 -2
  7. package/dist/_chunks/{antenatal-schedule-timeline-BfzFjEyb.js → antenatal-schedule-timeline-35ebkcZT.js} +2 -2
  8. package/dist/_chunks/{appointment-tray-BQnJEora.js → appointment-tray-BMl89NPW.js} +4 -4
  9. package/dist/_chunks/{badge-zsf5i5bH.js → badge-CqGsX32l.js} +46 -42
  10. package/dist/_chunks/{bishop-score-DPN4Ched.js → bishop-score-CjsB9bM-.js} +2 -2
  11. package/dist/_chunks/{bmi-calculator-DuUneHuZ.js → bmi-calculator-n-823_1V.js} +2 -2
  12. package/dist/_chunks/{care-plan-card-D42WD4-T.js → care-plan-card-BwVUyUBb.js} +4 -4
  13. package/dist/_chunks/{care-plan-entry-card-BukNI7Uy.js → care-plan-entry-card-VzdQHcOL.js} +4 -4
  14. package/dist/_chunks/{clinical-note-card-BYo437dU.js → clinical-note-card-gtrxv6zn.js} +2 -2
  15. package/dist/_chunks/{color-picker-9tL7pz5y.js → color-picker-FXpItIaF.js} +198 -175
  16. package/dist/_chunks/{contact-profile-card-CCeJmjbd.js → contact-profile-card-7BMB85T6.js} +2 -2
  17. package/dist/_chunks/{cycle-calculator-D6LTmtQt.js → cycle-calculator-BF0ointe.js} +2 -2
  18. package/dist/_chunks/{dependent-selector-CRWgieHm.js → dependent-selector-DpzGtr_J.js} +2 -2
  19. package/dist/_chunks/{document-scanner-biBS_f6c.js → document-scanner-D2qehl3-.js} +53 -53
  20. package/dist/_chunks/{due-date-calculator-CIG194vq.js → due-date-calculator-DU9AEWNy.js} +3 -3
  21. package/dist/_chunks/{editable-currency-cell-renderer-f3d0Rhue.js → editable-currency-cell-renderer-D1ewvJKO.js} +875 -809
  22. package/dist/_chunks/{fetal-weight-Xf8-ZoDy.js → fetal-weight-BVSzOhuR.js} +2 -2
  23. package/dist/_chunks/{gestational-age-calculator-BGsZaWXW.js → gestational-age-calculator-DBlFdoiP.js} +3 -3
  24. package/dist/_chunks/{hcg-doubling-LH5i6oM7.js → hcg-doubling-if4Q8aSX.js} +2 -2
  25. package/dist/_chunks/{marketplace-app-shell-Cou6XnMJ.js → marketplace-app-shell-D4-T9Qzz.js} +3 -3
  26. package/dist/_chunks/{message-card-Bgcvfj6-.js → message-card-Bx4GmLvf.js} +9 -9
  27. package/dist/_chunks/{message-tray-saAVMeHP.js → message-tray-CVyJajVJ.js} +2 -2
  28. package/dist/_chunks/{operator-hero-CM8949Hd.js → operator-hero-f_KaRhw5.js} +2 -2
  29. package/dist/_chunks/{patient-search-Bw9ONucF.js → patient-search-DR9XUYRQ.js} +2 -2
  30. package/dist/_chunks/{patient-shell-Tgpv0HND.js → patient-shell-BfgufL_q.js} +2 -2
  31. package/dist/_chunks/{patient-summary-card-Bgso0p_l.js → patient-summary-card-hEmr4eTW.js} +4 -4
  32. package/dist/_chunks/{payment-request-card-DBz3hVDz.js → payment-request-card-CYE5vhZ0.js} +3 -3
  33. package/dist/_chunks/{periodontal-chart-card-AYyHtU9K.js → periodontal-chart-card-Dh3KgvYG.js} +2 -2
  34. package/dist/_chunks/{practice-results-CVAgY2RZ.js → practice-results-DND2SAt7.js} +2 -2
  35. package/dist/_chunks/{pregnancy-dating-f9aJbiAk.js → pregnancy-dating-QY-sqpvj.js} +3 -3
  36. package/dist/_chunks/{pregnancy-weight-gain-BMRBeA8V.js → pregnancy-weight-gain-DOJXXNYP.js} +2 -2
  37. package/dist/_chunks/rich-text-editor-DAeCXiQG.js +1973 -0
  38. package/dist/_chunks/{scroll-area-BWqCkEGz.js → scroll-area-5wNK0Cyz.js} +40 -30
  39. package/dist/_chunks/{sidebar-BFwbx74W.js → sidebar-DaB4ulxH.js} +351 -344
  40. package/dist/_chunks/{suggestion-chip-C4kxWUIs.js → suggestion-chip-Bk4PmYTg.js} +30 -30
  41. package/dist/_chunks/{tab-bar-Xetknddo.js → tab-bar-B1ovILzh.js} +2 -2
  42. package/dist/_chunks/{tag-CdA0s_VV.js → tag-BQXwuJq1.js} +41 -38
  43. package/dist/_chunks/{transaction-chip-BZCa6XDn.js → transaction-chip-DK84XCBU.js} +46 -33
  44. package/dist/_chunks/{workflow-map-Bt4Of5dT.js → workflow-map-JAZryZJr.js} +2 -2
  45. package/dist/agent-catalog.json +1 -1
  46. package/dist/components/agenda-card/index.js +1 -1
  47. package/dist/components/agenda-tray/index.js +1 -1
  48. package/dist/components/ai-consent-banner/index.js +1 -1
  49. package/dist/components/ai-tools-rail/index.js +1 -1
  50. package/dist/components/anamnesis-card/index.js +1 -1
  51. package/dist/components/appointment-card/index.js +1 -1
  52. package/dist/components/badge/index.js +1 -1
  53. package/dist/components/bishop-score/index.js +1 -1
  54. package/dist/components/bmi-calculator/index.js +1 -1
  55. package/dist/components/care-plan-card/index.js +1 -1
  56. package/dist/components/care-plan-entry-card/index.js +1 -1
  57. package/dist/components/clinical-note-card/index.js +1 -1
  58. package/dist/components/color-picker/index.js +1 -1
  59. package/dist/components/contact-profile-card/index.js +1 -1
  60. package/dist/components/cycle-calculator/index.js +1 -1
  61. package/dist/components/data-table/cell-renderers/actions-cell-renderer.d.ts +16 -0
  62. package/dist/components/data-table/cell-renderers/tooth-cell-renderer.d.ts +12 -0
  63. package/dist/components/data-table/data-table.d.ts +1 -1
  64. package/dist/components/data-table/index.d.ts +2 -0
  65. package/dist/components/data-table/index.js +13 -12
  66. package/dist/components/data-table/toolbar.d.ts +5 -1
  67. package/dist/components/dependent-selector/index.js +1 -1
  68. package/dist/components/document-scanner/index.js +1 -1
  69. package/dist/components/due-date-calculator/index.js +2 -2
  70. package/dist/components/fetal-weight/index.js +1 -1
  71. package/dist/components/gestational-age-calculator/index.js +1 -1
  72. package/dist/components/hcg-doubling/index.js +1 -1
  73. package/dist/components/message-card/index.js +1 -1
  74. package/dist/components/message-tray/index.js +1 -1
  75. package/dist/components/operator-hero/index.js +1 -1
  76. package/dist/components/patient-search/index.js +1 -1
  77. package/dist/components/patient-summary-card/index.js +1 -1
  78. package/dist/components/payment-card/index.js +1 -1
  79. package/dist/components/periodontal-chart-card/index.js +1 -1
  80. package/dist/components/practice-results/index.js +1 -1
  81. package/dist/components/pregnancy-dating/index.js +1 -1
  82. package/dist/components/pregnancy-weight-gain/index.js +1 -1
  83. package/dist/components/rich-text-editor/editor-toolbar.d.ts +25 -1
  84. package/dist/components/rich-text-editor/index.js +1 -1
  85. package/dist/components/rich-text-editor/rich-text-editor.d.ts +2 -0
  86. package/dist/components/scroll-area/index.js +1 -1
  87. package/dist/components/sidebar/index.js +1 -1
  88. package/dist/components/suggestion-chip/index.js +1 -1
  89. package/dist/components/tab-bar/index.js +1 -1
  90. package/dist/components/tag/index.js +1 -1
  91. package/dist/components/transaction-chip/index.js +1 -1
  92. package/dist/components/workflow/index.js +1 -1
  93. package/dist/i18n/locales/ar.d.ts +14 -1
  94. package/dist/i18n/locales/ar.js +16 -3
  95. package/dist/i18n/locales/de.d.ts +14 -1
  96. package/dist/i18n/locales/de.js +16 -3
  97. package/dist/i18n/locales/el.d.ts +14 -1
  98. package/dist/i18n/locales/el.js +16 -3
  99. package/dist/i18n/locales/en.d.ts +14 -1
  100. package/dist/i18n/locales/en.js +16 -3
  101. package/dist/i18n/locales/es.d.ts +14 -1
  102. package/dist/i18n/locales/es.js +16 -3
  103. package/dist/i18n/locales/fr.d.ts +14 -1
  104. package/dist/i18n/locales/fr.js +16 -3
  105. package/dist/i18n/locales/hi.d.ts +14 -1
  106. package/dist/i18n/locales/hi.js +16 -3
  107. package/dist/i18n/locales/it.d.ts +14 -1
  108. package/dist/i18n/locales/it.js +16 -3
  109. package/dist/i18n/locales/ja.d.ts +14 -1
  110. package/dist/i18n/locales/ja.js +16 -3
  111. package/dist/i18n/locales/nl.d.ts +14 -1
  112. package/dist/i18n/locales/nl.js +14 -3
  113. package/dist/i18n/locales/pl.d.ts +14 -1
  114. package/dist/i18n/locales/pl.js +16 -3
  115. package/dist/i18n/locales/pt.d.ts +14 -1
  116. package/dist/i18n/locales/pt.js +16 -3
  117. package/dist/i18n/locales/ro.d.ts +14 -1
  118. package/dist/i18n/locales/ro.js +16 -3
  119. package/dist/i18n/locales/ru.d.ts +14 -1
  120. package/dist/i18n/locales/ru.js +16 -3
  121. package/dist/i18n/locales/sq.d.ts +14 -1
  122. package/dist/i18n/locales/sq.js +16 -3
  123. package/dist/i18n/locales/sv.d.ts +14 -1
  124. package/dist/i18n/locales/sv.js +14 -3
  125. package/dist/i18n/locales/tr.d.ts +14 -1
  126. package/dist/i18n/locales/tr.js +16 -3
  127. package/dist/i18n/locales/zh.d.ts +14 -1
  128. package/dist/i18n/locales/zh.js +14 -3
  129. package/dist/index.js +508 -507
  130. package/dist/locales/ar.json +16 -3
  131. package/dist/locales/de.json +16 -3
  132. package/dist/locales/el.json +16 -3
  133. package/dist/locales/en.json +16 -3
  134. package/dist/locales/es.json +16 -3
  135. package/dist/locales/fr.json +16 -3
  136. package/dist/locales/hi.json +16 -3
  137. package/dist/locales/it.json +16 -3
  138. package/dist/locales/ja.json +16 -3
  139. package/dist/locales/nl.json +16 -3
  140. package/dist/locales/pl.json +16 -3
  141. package/dist/locales/pt.json +16 -3
  142. package/dist/locales/ro.json +16 -3
  143. package/dist/locales/ru.json +16 -3
  144. package/dist/locales/sq.json +16 -3
  145. package/dist/locales/sv.json +16 -3
  146. package/dist/locales/tr.json +16 -3
  147. package/dist/locales/zh.json +16 -3
  148. package/dist/patterns/alia-assistant/index.js +1 -1
  149. package/dist/patterns/marketplace-app-shell/index.js +1 -1
  150. package/dist/patterns/patient-shell/index.js +1 -1
  151. package/dist/tokens.css +6 -3
  152. package/package.json +1 -1
  153. package/dist/_chunks/rich-text-editor-B5XQNxe8.js +0 -1586
@@ -22,6 +22,8 @@ export { ImageCellRenderer } from './cell-renderers/image-cell-renderer';
22
22
  export type { ImageCellRendererParams } from './cell-renderers/image-cell-renderer';
23
23
  export { TagListCellRenderer } from './cell-renderers/tag-list-cell-renderer';
24
24
  export type { TagListCellRendererParams } from './cell-renderers/tag-list-cell-renderer';
25
+ export { ToothCellRenderer } from './cell-renderers/tooth-cell-renderer';
26
+ export type { ToothCellRendererParams } from './cell-renderers/tooth-cell-renderer';
25
27
  export { DateCellRenderer } from './cell-renderers/date-cell-renderer';
26
28
  export type { DateCellFormat, DateCellRendererParams, } from './cell-renderers/date-cell-renderer';
27
29
  export { CurrencyCellRenderer } from './cell-renderers/currency-cell-renderer';
@@ -1,4 +1,4 @@
1
- import { A as l, B as r, C as t, a as s, D as n, b as d, c as i, d as o, E as C, e as R, I as F, L as g, N as T, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as y, m as E, n as S, o as h, U as A, p as L, q as N, u as k } from "../../_chunks/editable-currency-cell-renderer-f3d0Rhue.js";
1
+ import { A as l, B as r, C as t, a as s, D as n, b as d, c as o, d as i, E as C, e as R, I as F, L as T, N as g, f as b, S as u, g as c, h as D, T as m, i as p, j as x, k as f, l as h, m as y, n as E, o as S, p as A, U as L, q as N, r as k, u as B } from "../../_chunks/editable-currency-cell-renderer-D1ewvJKO.js";
2
2
  export {
3
3
  l as ActionsCellRenderer,
4
4
  r as BalanceCellRenderer,
@@ -6,13 +6,13 @@ export {
6
6
  s as CurrencyCellRenderer,
7
7
  n as DataTable,
8
8
  d as DateCellRenderer,
9
- i as DateRangeFilter,
10
- o as DateRangeFloatingFilter,
9
+ o as DateRangeFilter,
10
+ i as DateRangeFloatingFilter,
11
11
  C as EditableCurrencyCellRenderer,
12
12
  R as EditableTextCellRenderer,
13
13
  F as ImageCellRenderer,
14
- g as LinkCellRenderer,
15
- T as NumberFilter,
14
+ T as LinkCellRenderer,
15
+ g as NumberFilter,
16
16
  b as NumberFloatingFilter,
17
17
  u as SelectFilter,
18
18
  c as SelectFloatingFilter,
@@ -21,13 +21,14 @@ export {
21
21
  p as TextFilter,
22
22
  x as TextFloatingFilter,
23
23
  f as ToggleCellRenderer,
24
- y as Toolbar,
25
- E as ToolbarProvider,
24
+ h as Toolbar,
25
+ y as ToolbarProvider,
26
+ E as ToothCellRenderer,
26
27
  S as TypeaheadFilter,
27
- h as TypeaheadFloatingFilter,
28
- A as UserCellRenderer,
29
- L as dataTableAgent,
30
- N as defaultExportPdf,
31
- k as useTotalRow
28
+ A as TypeaheadFloatingFilter,
29
+ L as UserCellRenderer,
30
+ N as dataTableAgent,
31
+ k as defaultExportPdf,
32
+ B as useTotalRow
32
33
  };
33
34
  //# sourceMappingURL=index.js.map
@@ -82,6 +82,10 @@ export interface ExportMenuProps {
82
82
  }
83
83
  export interface ColumnToggleProps {
84
84
  label?: string;
85
+ /** Override the trigger glyph (defaults to the Columns icon). */
86
+ icon?: ReactNode;
87
+ /** Extra content rendered below the column list (e.g. a settings switch). */
88
+ footer?: ReactNode;
85
89
  }
86
90
  export interface BulkActionProps extends Omit<ButtonProps, 'onClick' | 'children' | 'startIcon' | 'intent'> {
87
91
  label: string;
@@ -101,7 +105,7 @@ export declare const Toolbar: import("react").ForwardRefExoticComponent<ToolbarR
101
105
  label?: string;
102
106
  } & import("react").RefAttributes<HTMLButtonElement>>;
103
107
  ColumnToggle: {
104
- ({ label }: ColumnToggleProps): import("react/jsx-runtime").JSX.Element;
108
+ ({ label, icon, footer }: ColumnToggleProps): import("react/jsx-runtime").JSX.Element;
105
109
  displayName: string;
106
110
  };
107
111
  BulkAction: import("react").ForwardRefExoticComponent<BulkActionProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,4 +1,4 @@
1
- import { D as n, d } from "../../_chunks/dependent-selector-CRWgieHm.js";
1
+ import { D as n, d } from "../../_chunks/dependent-selector-DpzGtr_J.js";
2
2
  export {
3
3
  n as DependentSelector,
4
4
  d as dependentSelectorAgent
@@ -1,4 +1,4 @@
1
- import { D as a, d as c } from "../../_chunks/document-scanner-biBS_f6c.js";
1
+ import { D as a, d as c } from "../../_chunks/document-scanner-D2qehl3-.js";
2
2
  export {
3
3
  a as DocumentScanner,
4
4
  c as documentScannerAgent
@@ -1,5 +1,5 @@
1
- import { D as e } from "../../_chunks/due-date-calculator-CIG194vq.js";
2
- import { C as r, a as o, D, G as _, M as T, T as M, c as E, b as l, g as C, p as A, r as N, d as i, t as n } from "../../_chunks/antenatal-schedule-timeline-BfzFjEyb.js";
1
+ import { D as e } from "../../_chunks/due-date-calculator-DU9AEWNy.js";
2
+ import { C as r, a as o, D, G as _, M as T, T as M, c as E, b as l, g as C, p as A, r as N, d as i, t as n } from "../../_chunks/antenatal-schedule-timeline-35ebkcZT.js";
3
3
  export {
4
4
  r as CRL_DATING_MAX_MM,
5
5
  o as CRL_DATING_MIN_MM,
@@ -1,4 +1,4 @@
1
- import { F as a, e as i } from "../../_chunks/fetal-weight-Xf8-ZoDy.js";
1
+ import { F as a, e as i } from "../../_chunks/fetal-weight-BVSzOhuR.js";
2
2
  export {
3
3
  a as FetalWeight,
4
4
  i as estimateFetalWeight
@@ -1,4 +1,4 @@
1
- import { G as t } from "../../_chunks/gestational-age-calculator-BGsZaWXW.js";
1
+ import { G as t } from "../../_chunks/gestational-age-calculator-DBlFdoiP.js";
2
2
  export {
3
3
  t as GestationalAgeCalculator
4
4
  };
@@ -1,4 +1,4 @@
1
- import { H, M as g, a as o } from "../../_chunks/hcg-doubling-LH5i6oM7.js";
1
+ import { H, M as g, a as o } from "../../_chunks/hcg-doubling-if4Q8aSX.js";
2
2
  export {
3
3
  H as HcgDoubling,
4
4
  g as MINIMAL_48H_RISE_PERCENT,
@@ -1,4 +1,4 @@
1
- import { M as a } from "../../_chunks/message-card-Bgcvfj6-.js";
1
+ import { M as a } from "../../_chunks/message-card-Bx4GmLvf.js";
2
2
  import { m as o } from "../../_chunks/message-card.agent-4IeIgrnJ.js";
3
3
  import { i as f } from "../../_chunks/is-safe-url-DkETxeHz.js";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { M as s, m as r } from "../../_chunks/message-tray-saAVMeHP.js";
1
+ import { M as s, m as r } from "../../_chunks/message-tray-CVyJajVJ.js";
2
2
  export {
3
3
  s as MessageTray,
4
4
  r as messageTrayAgent
@@ -1,4 +1,4 @@
1
- import { O as e, o as a } from "../../_chunks/operator-hero-CM8949Hd.js";
1
+ import { O as e, o as a } from "../../_chunks/operator-hero-f_KaRhw5.js";
2
2
  export {
3
3
  e as OperatorHero,
4
4
  a as operatorHeroAgent
@@ -1,4 +1,4 @@
1
- import { P as t, p as r } from "../../_chunks/patient-search-Bw9ONucF.js";
1
+ import { P as t, p as r } from "../../_chunks/patient-search-DR9XUYRQ.js";
2
2
  export {
3
3
  t as PatientSearch,
4
4
  r as patientSearchAgent
@@ -1,4 +1,4 @@
1
- import { P as t, p as m } from "../../_chunks/patient-summary-card-Bgso0p_l.js";
1
+ import { P as t, p as m } from "../../_chunks/patient-summary-card-hEmr4eTW.js";
2
2
  export {
3
3
  t as PatientSummaryCard,
4
4
  m as patientSummaryCardAgent
@@ -1,4 +1,4 @@
1
- import { P as t, a as n, p as r, b as s } from "../../_chunks/payment-request-card-DBz3hVDz.js";
1
+ import { P as t, a as n, p as r, b as s } from "../../_chunks/payment-request-card-CYE5vhZ0.js";
2
2
  export {
3
3
  t as PaymentCard,
4
4
  n as PaymentRequestCard,
@@ -1,4 +1,4 @@
1
- import { P as o, a as t, p as d } from "../../_chunks/periodontal-chart-card-AYyHtU9K.js";
1
+ import { P as o, a as t, p as d } from "../../_chunks/periodontal-chart-card-Dh3KgvYG.js";
2
2
  export {
3
3
  o as PERIODONTAL_SITE_ORDER,
4
4
  t as PeriodontalChartCard,
@@ -1,4 +1,4 @@
1
- import { P as t, p as a } from "../../_chunks/practice-results-CVAgY2RZ.js";
1
+ import { P as t, p as a } from "../../_chunks/practice-results-DND2SAt7.js";
2
2
  export {
3
3
  t as PracticeResults,
4
4
  a as practiceResultsAgent
@@ -1,4 +1,4 @@
1
- import { P as r } from "../../_chunks/pregnancy-dating-f9aJbiAk.js";
1
+ import { P as r } from "../../_chunks/pregnancy-dating-QY-sqpvj.js";
2
2
  export {
3
3
  r as PregnancyDating
4
4
  };
@@ -1,4 +1,4 @@
1
- import { P as s, R as n, T as i, a as r, r as A } from "../../_chunks/pregnancy-weight-gain-BMRBeA8V.js";
1
+ import { P as s, R as n, T as i, a as r, r as A } from "../../_chunks/pregnancy-weight-gain-DOJXXNYP.js";
2
2
  export {
3
3
  s as PregnancyWeightGain,
4
4
  n as RATE_BANDS,
@@ -1,3 +1,4 @@
1
+ import { type RefObject } from 'react';
1
2
  export type EditorToolbarPreset = 'minimal' | 'standard' | 'full';
2
3
  export interface EditorToolbarProps {
3
4
  /** Dispatch a Redactor command (and refresh active state). */
@@ -7,6 +8,8 @@ export interface EditorToolbarProps {
7
8
  preset: EditorToolbarPreset;
8
9
  /** Insert sanitised HTML at the caret (link / image / table). */
9
10
  insertHtml: (html: string) => void;
11
+ /** Insert a table — list-aware (drops it after a list, never inside an <li>). */
12
+ insertTable: (html: string) => void;
10
13
  /** Save the editor selection before a DS popover/dialog takes focus. */
11
14
  saveSelection: () => void;
12
15
  /** Restore the saved selection before applying. */
@@ -21,6 +24,27 @@ export interface EditorToolbarProps {
21
24
  enableImage?: boolean;
22
25
  /** Show the table control (consumer loaded the table plugin). */
23
26
  enableTable?: boolean;
27
+ /**
28
+ * Show an "Editor extensions" tools affordance (marketplace tools), placed
29
+ * inline at the end of the toolbar. Currently a visual placeholder — not
30
+ * wired to a menu.
31
+ */
32
+ showExtensions?: boolean;
24
33
  }
25
- export declare function EditorToolbar({ run, active, preset, insertHtml, saveSelection, restoreSelection, getSelectedText, uploadImage, enableColor, enableImage, enableTable, }: EditorToolbarProps): React.JSX.Element;
34
+ export interface TableFloatingToolbarProps {
35
+ active: ReadonlySet<string>;
36
+ run: EditorToolbarProps['run'];
37
+ /** Positioned container the bar is absolutely placed within. */
38
+ areaRef: RefObject<HTMLDivElement | null>;
39
+ /** The <table> the caret is currently inside (relative to this editor). */
40
+ getActiveTableEl: () => HTMLElement | null;
41
+ /** Show the cell/row background-colour controls (fontcolor plugin loaded). */
42
+ enableColor?: boolean;
43
+ /** Snapshot the current cell before a colour popover takes focus. */
44
+ saveTableCell: () => void;
45
+ /** Set/clear a background colour on the current cell or its row. */
46
+ applyTableBackground: (scope: 'cell' | 'row', colour: string | null) => void;
47
+ }
48
+ export declare function TableFloatingToolbar({ active, run, areaRef, getActiveTableEl, enableColor, saveTableCell, applyTableBackground, }: TableFloatingToolbarProps): React.JSX.Element | null;
49
+ export declare function EditorToolbar({ run, active, preset, insertHtml, insertTable, saveSelection, restoreSelection, getSelectedText, uploadImage, enableColor, enableImage, enableTable, showExtensions, }: EditorToolbarProps): React.JSX.Element;
26
50
  //# sourceMappingURL=editor-toolbar.d.ts.map
@@ -1,4 +1,4 @@
1
- import { R as a, r as e, w as i } from "../../_chunks/rich-text-editor-B5XQNxe8.js";
1
+ import { R as a, r as e, w as i } from "../../_chunks/rich-text-editor-DAeCXiQG.js";
2
2
  export {
3
3
  a as RichTextEditor,
4
4
  e as richTextEditorAgent,
@@ -24,6 +24,8 @@ export interface RichTextEditorProps {
24
24
  ariaLabel?: string;
25
25
  /** Size variant for the minimum block-size of the editing region. */
26
26
  minHeight?: 'sm' | 'md' | 'lg';
27
+ /** Show a right-aligned editor-extensions affordance (visual placeholder). */
28
+ showExtensions?: boolean;
27
29
  /** Extra class names on the wrapper. */
28
30
  className?: string;
29
31
  /** Inject the Redactor factory explicitly; else `window.$R` / `window.Redactor`. */
@@ -1,4 +1,4 @@
1
- import { S as l, a as o, b as e, c, d as S, e as s } from "../../_chunks/scroll-area-BWqCkEGz.js";
1
+ import { S as l, a as o, b as e, c, d as S, e as s } from "../../_chunks/scroll-area-5wNK0Cyz.js";
2
2
  export {
3
3
  l as ScrollArea,
4
4
  o as ScrollAreaCorner,
@@ -1,4 +1,4 @@
1
- import { S as r, a as i, b as s, c as d, d as S, e as b, f as t, g as o, h as m, i as n, j as p, k as l, l as c, m as g, n as u, o as I, p as P, q as f, s as h, u as B } from "../../_chunks/sidebar-BFwbx74W.js";
1
+ import { S as r, a as i, b as s, c as d, d as S, e as b, f as t, g as o, h as m, i as n, j as p, k as l, l as c, m as g, n as u, o as I, p as P, q as f, s as h, u as B } from "../../_chunks/sidebar-DaB4ulxH.js";
2
2
  import { u as k } from "../../_chunks/use-persistent-state-i23OWy6G.js";
3
3
  export {
4
4
  r as Sidebar,
@@ -1,4 +1,4 @@
1
- import { S as g, a as e } from "../../_chunks/suggestion-chip-C4kxWUIs.js";
1
+ import { S as g, a as e } from "../../_chunks/suggestion-chip-Bk4PmYTg.js";
2
2
  import { s as p } from "../../_chunks/suggestion-chip.agent-6sNWFj7m.js";
3
3
  export {
4
4
  g as SuggestionChip,
@@ -1,4 +1,4 @@
1
- import { T as o } from "../../_chunks/tab-bar-Xetknddo.js";
1
+ import { T as o } from "../../_chunks/tab-bar-B1ovILzh.js";
2
2
  export {
3
3
  o as TabBar
4
4
  };
@@ -1,4 +1,4 @@
1
- import { T as r } from "../../_chunks/tag-CdA0s_VV.js";
1
+ import { T as r } from "../../_chunks/tag-BQXwuJq1.js";
2
2
  export {
3
3
  r as Tag
4
4
  };
@@ -1,4 +1,4 @@
1
- import { T as r } from "../../_chunks/transaction-chip-BZCa6XDn.js";
1
+ import { T as r } from "../../_chunks/transaction-chip-DK84XCBU.js";
2
2
  export {
3
3
  r as TransactionChip
4
4
  };
@@ -1,4 +1,4 @@
1
- import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-Bt4Of5dT.js";
1
+ import { C as r, W as e, a as s, b as d, c as w, i as t, l as f, m as l, r as i, w as k, d as n, e as A, f as C } from "../../_chunks/workflow-map-JAZryZJr.js";
2
2
  export {
3
3
  r as CORE_PATIENT_FIELDS,
4
4
  e as WorkflowCard,
@@ -224,6 +224,8 @@ export declare const arUi: {
224
224
  readonly contrastPass: "كافٍ";
225
225
  readonly contrastFail: "غير كافٍ";
226
226
  readonly swatchLabel: "{{name}}, {{hex}}";
227
+ readonly paletteLabel: "لوحة الألوان";
228
+ readonly triggerLabel: "اختر اللون";
227
229
  readonly invalidHex: "Hex غير صالح — تمت استعادة القيمة";
228
230
  };
229
231
  readonly datePicker: {
@@ -383,6 +385,7 @@ export declare const arUi: {
383
385
  };
384
386
  };
385
387
  readonly dataTable: {
388
+ readonly actions: "الإجراءات";
386
389
  readonly selected_zero: "{{count}} صف محدد";
387
390
  readonly selected_one: "{{count}} صف محدد";
388
391
  readonly selected_two: "{{count}} صفان محددان";
@@ -1660,13 +1663,14 @@ export declare const arUi: {
1660
1663
  readonly bold: "غامق";
1661
1664
  readonly italic: "مائل";
1662
1665
  readonly strike: "يتوسطه خط";
1666
+ readonly underline: "تسطير";
1663
1667
  readonly format: "نمط الفقرة";
1664
1668
  readonly paragraph: "فقرة";
1665
1669
  readonly heading2: "عنوان 2";
1666
1670
  readonly heading3: "عنوان 3";
1667
1671
  readonly textColor: "لون النص";
1672
+ readonly highlightColor: "تمييز";
1668
1673
  readonly color: {
1669
- readonly apply: "تطبيق";
1670
1674
  readonly default: "افتراضي";
1671
1675
  readonly violet: "بنفسجي";
1672
1676
  readonly magenta: "أرجواني";
@@ -1676,7 +1680,11 @@ export declare const arUi: {
1676
1680
  readonly red: "أحمر";
1677
1681
  readonly remove: "إزالة اللون";
1678
1682
  };
1683
+ readonly highlight: {
1684
+ readonly remove: "إزالة التمييز";
1685
+ };
1679
1686
  readonly heading: "عنوان";
1687
+ readonly extensions: "إضافات المحرر";
1680
1688
  readonly link: {
1681
1689
  readonly url: "URL";
1682
1690
  readonly text: "النص المعروض";
@@ -1699,6 +1707,7 @@ export declare const arUi: {
1699
1707
  readonly upload: "رفع";
1700
1708
  readonly orUrl: "أو ألصق رابط صورة";
1701
1709
  readonly insert: "إدراج صورة";
1710
+ readonly insertAction: "إدراج";
1702
1711
  };
1703
1712
  readonly table: {
1704
1713
  readonly addHeader: "إضافة صف رأس";
@@ -1714,6 +1723,10 @@ export declare const arUi: {
1714
1723
  readonly deleteRow: "حذف الصف";
1715
1724
  readonly deleteColumn: "حذف العمود";
1716
1725
  readonly deleteTable: "حذف الجدول";
1726
+ readonly toolbar: "أدوات الجدول";
1727
+ readonly cellColor: "لون الخلية";
1728
+ readonly rowColor: "لون الصف";
1729
+ readonly clearColor: "إزالة اللون";
1717
1730
  };
1718
1731
  readonly codeBlock: "كتلة كود";
1719
1732
  readonly horizontalRule: "خط أفقي";
@@ -217,6 +217,8 @@ const e = {
217
217
  contrastPass: "كافٍ",
218
218
  contrastFail: "غير كافٍ",
219
219
  swatchLabel: "{{name}}, {{hex}}",
220
+ paletteLabel: "لوحة الألوان",
221
+ triggerLabel: "اختر اللون",
220
222
  invalidHex: "Hex غير صالح — تمت استعادة القيمة"
221
223
  },
222
224
  datePicker: {
@@ -376,6 +378,7 @@ const e = {
376
378
  }
377
379
  },
378
380
  dataTable: {
381
+ actions: "الإجراءات",
379
382
  selected_zero: "{{count}} صف محدد",
380
383
  selected_one: "{{count}} صف محدد",
381
384
  selected_two: "{{count}} صفان محددان",
@@ -1643,13 +1646,14 @@ const e = {
1643
1646
  bold: "غامق",
1644
1647
  italic: "مائل",
1645
1648
  strike: "يتوسطه خط",
1649
+ underline: "تسطير",
1646
1650
  format: "نمط الفقرة",
1647
1651
  paragraph: "فقرة",
1648
1652
  heading2: "عنوان 2",
1649
1653
  heading3: "عنوان 3",
1650
1654
  textColor: "لون النص",
1655
+ highlightColor: "تمييز",
1651
1656
  color: {
1652
- apply: "تطبيق",
1653
1657
  default: "افتراضي",
1654
1658
  violet: "بنفسجي",
1655
1659
  magenta: "أرجواني",
@@ -1659,7 +1663,11 @@ const e = {
1659
1663
  red: "أحمر",
1660
1664
  remove: "إزالة اللون"
1661
1665
  },
1666
+ highlight: {
1667
+ remove: "إزالة التمييز"
1668
+ },
1662
1669
  heading: "عنوان",
1670
+ extensions: "إضافات المحرر",
1663
1671
  link: {
1664
1672
  url: "URL",
1665
1673
  text: "النص المعروض",
@@ -1681,7 +1689,8 @@ const e = {
1681
1689
  altPlaceholder: "صف الصورة",
1682
1690
  upload: "رفع",
1683
1691
  orUrl: "أو ألصق رابط صورة",
1684
- insert: "إدراج صورة"
1692
+ insert: "إدراج صورة",
1693
+ insertAction: "إدراج"
1685
1694
  },
1686
1695
  table: {
1687
1696
  addHeader: "إضافة صف رأس",
@@ -1696,7 +1705,11 @@ const e = {
1696
1705
  columnRight: "إضافة عمود إلى اليمين",
1697
1706
  deleteRow: "حذف الصف",
1698
1707
  deleteColumn: "حذف العمود",
1699
- deleteTable: "حذف الجدول"
1708
+ deleteTable: "حذف الجدول",
1709
+ toolbar: "أدوات الجدول",
1710
+ cellColor: "لون الخلية",
1711
+ rowColor: "لون الصف",
1712
+ clearColor: "إزالة اللون"
1700
1713
  },
1701
1714
  codeBlock: "كتلة كود",
1702
1715
  horizontalRule: "خط أفقي",
@@ -213,6 +213,8 @@ export declare const deUi: {
213
213
  readonly contrastPass: "Bestanden";
214
214
  readonly contrastFail: "Nicht bestanden";
215
215
  readonly swatchLabel: "{{name}}, {{hex}}";
216
+ readonly paletteLabel: "Farbpalette";
217
+ readonly triggerLabel: "Farbe wählen";
216
218
  readonly invalidHex: "Ungültiger Hex-Wert — zurückgesetzt";
217
219
  };
218
220
  readonly datePicker: {
@@ -383,6 +385,7 @@ export declare const deUi: {
383
385
  };
384
386
  };
385
387
  readonly dataTable: {
388
+ readonly actions: "Aktionen";
386
389
  readonly selected_one: "{{count}} Zeile ausgewählt";
387
390
  readonly selected_zero: "{{count}} Zeilen ausgewählt";
388
391
  readonly selected_two: "{{count}} Zeilen ausgewählt";
@@ -1660,13 +1663,14 @@ export declare const deUi: {
1660
1663
  readonly bold: "Fett";
1661
1664
  readonly italic: "Kursiv";
1662
1665
  readonly strike: "Durchgestrichen";
1666
+ readonly underline: "Unterstrichen";
1663
1667
  readonly format: "Absatzstil";
1664
1668
  readonly paragraph: "Absatz";
1665
1669
  readonly heading2: "Überschrift 2";
1666
1670
  readonly heading3: "Überschrift 3";
1667
1671
  readonly textColor: "Textfarbe";
1672
+ readonly highlightColor: "Hervorheben";
1668
1673
  readonly color: {
1669
- readonly apply: "Anwenden";
1670
1674
  readonly default: "Standard";
1671
1675
  readonly violet: "Violett";
1672
1676
  readonly magenta: "Magenta";
@@ -1676,7 +1680,11 @@ export declare const deUi: {
1676
1680
  readonly red: "Rot";
1677
1681
  readonly remove: "Farbe entfernen";
1678
1682
  };
1683
+ readonly highlight: {
1684
+ readonly remove: "Hervorhebung entfernen";
1685
+ };
1679
1686
  readonly heading: "Überschrift";
1687
+ readonly extensions: "Editor-Erweiterungen";
1680
1688
  readonly link: {
1681
1689
  readonly url: "URL";
1682
1690
  readonly text: "Anzuzeigender Text";
@@ -1699,6 +1707,7 @@ export declare const deUi: {
1699
1707
  readonly upload: "Hochladen";
1700
1708
  readonly orUrl: "Oder Bild-URL einfügen";
1701
1709
  readonly insert: "Bild einfügen";
1710
+ readonly insertAction: "Einfügen";
1702
1711
  };
1703
1712
  readonly table: {
1704
1713
  readonly addHeader: "Kopfzeile hinzufügen";
@@ -1714,6 +1723,10 @@ export declare const deUi: {
1714
1723
  readonly deleteRow: "Zeile löschen";
1715
1724
  readonly deleteColumn: "Spalte löschen";
1716
1725
  readonly deleteTable: "Tabelle löschen";
1726
+ readonly toolbar: "Tabellenwerkzeuge";
1727
+ readonly cellColor: "Zellenfarbe";
1728
+ readonly rowColor: "Zeilenfarbe";
1729
+ readonly clearColor: "Farbe entfernen";
1717
1730
  };
1718
1731
  readonly codeBlock: "Codeblock";
1719
1732
  readonly horizontalRule: "Horizontale Linie";
@@ -206,6 +206,8 @@ const e = {
206
206
  contrastPass: "Bestanden",
207
207
  contrastFail: "Nicht bestanden",
208
208
  swatchLabel: "{{name}}, {{hex}}",
209
+ paletteLabel: "Farbpalette",
210
+ triggerLabel: "Farbe wählen",
209
211
  invalidHex: "Ungültiger Hex-Wert — zurückgesetzt"
210
212
  },
211
213
  datePicker: {
@@ -376,6 +378,7 @@ const e = {
376
378
  }
377
379
  },
378
380
  dataTable: {
381
+ actions: "Aktionen",
379
382
  selected_one: "{{count}} Zeile ausgewählt",
380
383
  selected_zero: "{{count}} Zeilen ausgewählt",
381
384
  selected_two: "{{count}} Zeilen ausgewählt",
@@ -1642,13 +1645,14 @@ const e = {
1642
1645
  bold: "Fett",
1643
1646
  italic: "Kursiv",
1644
1647
  strike: "Durchgestrichen",
1648
+ underline: "Unterstrichen",
1645
1649
  format: "Absatzstil",
1646
1650
  paragraph: "Absatz",
1647
1651
  heading2: "Überschrift 2",
1648
1652
  heading3: "Überschrift 3",
1649
1653
  textColor: "Textfarbe",
1654
+ highlightColor: "Hervorheben",
1650
1655
  color: {
1651
- apply: "Anwenden",
1652
1656
  default: "Standard",
1653
1657
  violet: "Violett",
1654
1658
  magenta: "Magenta",
@@ -1658,7 +1662,11 @@ const e = {
1658
1662
  red: "Rot",
1659
1663
  remove: "Farbe entfernen"
1660
1664
  },
1665
+ highlight: {
1666
+ remove: "Hervorhebung entfernen"
1667
+ },
1661
1668
  heading: "Überschrift",
1669
+ extensions: "Editor-Erweiterungen",
1662
1670
  link: {
1663
1671
  url: "URL",
1664
1672
  text: "Anzuzeigender Text",
@@ -1680,7 +1688,8 @@ const e = {
1680
1688
  altPlaceholder: "Bild beschreiben",
1681
1689
  upload: "Hochladen",
1682
1690
  orUrl: "Oder Bild-URL einfügen",
1683
- insert: "Bild einfügen"
1691
+ insert: "Bild einfügen",
1692
+ insertAction: "Einfügen"
1684
1693
  },
1685
1694
  table: {
1686
1695
  addHeader: "Kopfzeile hinzufügen",
@@ -1695,7 +1704,11 @@ const e = {
1695
1704
  columnRight: "Spalte rechts einfügen",
1696
1705
  deleteRow: "Zeile löschen",
1697
1706
  deleteColumn: "Spalte löschen",
1698
- deleteTable: "Tabelle löschen"
1707
+ deleteTable: "Tabelle löschen",
1708
+ toolbar: "Tabellenwerkzeuge",
1709
+ cellColor: "Zellenfarbe",
1710
+ rowColor: "Zeilenfarbe",
1711
+ clearColor: "Farbe entfernen"
1699
1712
  },
1700
1713
  codeBlock: "Codeblock",
1701
1714
  horizontalRule: "Horizontale Linie",
@@ -221,6 +221,8 @@ export declare const elUi: {
221
221
  readonly contrastPass: "Επαρκής";
222
222
  readonly contrastFail: "Ανεπαρκής";
223
223
  readonly swatchLabel: "{{name}}, {{hex}}";
224
+ readonly paletteLabel: "Παλέτα χρωμάτων";
225
+ readonly triggerLabel: "Επιλογή χρώματος";
224
226
  readonly invalidHex: "Μη έγκυρο Hex — η τιμή επαναφέρθηκε";
225
227
  };
226
228
  readonly datePicker: {
@@ -380,6 +382,7 @@ export declare const elUi: {
380
382
  };
381
383
  };
382
384
  readonly dataTable: {
385
+ readonly actions: "Ενέργειες";
383
386
  readonly selected_one: "{{count}} γραμμή επιλεγμένη";
384
387
  readonly selected_zero: "{{count}} γραμμές επιλεγμένες";
385
388
  readonly selected_two: "{{count}} γραμμές επιλεγμένες";
@@ -1657,13 +1660,14 @@ export declare const elUi: {
1657
1660
  readonly bold: "Έντονα";
1658
1661
  readonly italic: "Πλάγια";
1659
1662
  readonly strike: "Διακριτή διαγραφή";
1663
+ readonly underline: "Υπογράμμιση";
1660
1664
  readonly format: "Στυλ παραγράφου";
1661
1665
  readonly paragraph: "Παράγραφος";
1662
1666
  readonly heading2: "Επικεφαλίδα 2";
1663
1667
  readonly heading3: "Επικεφαλίδα 3";
1664
1668
  readonly textColor: "Χρώμα κειμένου";
1669
+ readonly highlightColor: "Επισήμανση";
1665
1670
  readonly color: {
1666
- readonly apply: "Εφαρμογή";
1667
1671
  readonly default: "Προεπιλογή";
1668
1672
  readonly violet: "Βιολετί";
1669
1673
  readonly magenta: "Ματζέντα";
@@ -1673,7 +1677,11 @@ export declare const elUi: {
1673
1677
  readonly red: "Κόκκινο";
1674
1678
  readonly remove: "Αφαίρεση χρώματος";
1675
1679
  };
1680
+ readonly highlight: {
1681
+ readonly remove: "Αφαίρεση επισήμανσης";
1682
+ };
1676
1683
  readonly heading: "Τίτλος";
1684
+ readonly extensions: "Επεκτάσεις επεξεργαστή";
1677
1685
  readonly link: {
1678
1686
  readonly url: "URL";
1679
1687
  readonly text: "Κείμενο προβολής";
@@ -1696,6 +1704,7 @@ export declare const elUi: {
1696
1704
  readonly upload: "Μεταφόρτωση";
1697
1705
  readonly orUrl: "Ή επικολλήστε ένα URL εικόνας";
1698
1706
  readonly insert: "Εισαγωγή εικόνας";
1707
+ readonly insertAction: "Εισαγωγή";
1699
1708
  };
1700
1709
  readonly table: {
1701
1710
  readonly addHeader: "Προσθήκη γραμμής κεφαλίδας";
@@ -1711,6 +1720,10 @@ export declare const elUi: {
1711
1720
  readonly deleteRow: "Διαγραφή γραμμής";
1712
1721
  readonly deleteColumn: "Διαγραφή στήλης";
1713
1722
  readonly deleteTable: "Διαγραφή πίνακα";
1723
+ readonly toolbar: "Εργαλεία πίνακα";
1724
+ readonly cellColor: "Χρώμα κελιού";
1725
+ readonly rowColor: "Χρώμα γραμμής";
1726
+ readonly clearColor: "Αφαίρεση χρώματος";
1714
1727
  };
1715
1728
  readonly codeBlock: "Μπλοκ κώδικα";
1716
1729
  readonly horizontalRule: "Οριζόντια γραμμή";