@alfadocs/ui-kit 1.6.1 → 1.8.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 (141) hide show
  1. package/dist/_chunks/{anamnesis-summary-rows-F-cCmFAn.js → anamnesis-summary-rows-d44s_whc.js} +2 -2
  2. package/dist/_chunks/{antenatal-schedule-timeline-BjlF2rTz.js → antenatal-schedule-timeline-B1k8QkA6.js} +3 -3
  3. package/dist/_chunks/{appointment-card-BhcPJpXh.js → appointment-card-Dzr3GeVz.js} +73 -90
  4. package/dist/_chunks/{appointment-timeline-CMPvzlGZ.js → appointment-timeline-0mwtpErq.js} +3 -3
  5. package/dist/_chunks/{appointment-tray-3c_FLxXJ.js → appointment-tray-4FUu_5NX.js} +2 -2
  6. package/dist/_chunks/armchair-BaLDW6Hz.js +23 -0
  7. package/dist/_chunks/{booking-CQMJUFG-.js → booking-DHkKcUIl.js} +4 -4
  8. package/dist/_chunks/{calendar-4dXTvsCz.js → calendar-B4Gnyu1C.js} +553 -437
  9. package/dist/_chunks/calendar-event-card-Bjdbik8G.js +425 -0
  10. package/dist/_chunks/{care-plan-card-DQjVRDxO.js → care-plan-card-aDN4oem9.js} +3 -3
  11. package/dist/_chunks/{care-plan-entry-card-CMpoeNkb.js → care-plan-entry-card-BEhANdBE.js} +2 -2
  12. package/dist/_chunks/{care-plan-header-CxYoq23f.js → care-plan-header-CkpPyQqG.js} +2 -2
  13. package/dist/_chunks/{color-picker-D-tUwxxT.js → color-picker-oZ6zYks8.js} +164 -151
  14. package/dist/_chunks/control-room-rail-Cj2iX9h_.js +337 -0
  15. package/dist/_chunks/{cycle-calculator-DzgO1vzP.js → cycle-calculator-DmtYGhqq.js} +3 -3
  16. package/dist/_chunks/{date-picker-Bp64zk2p.js → date-picker-CepI_oI2.js} +77 -74
  17. package/dist/_chunks/{date-picker-variants-pKAJfnWr.js → date-picker-variants-DfuooXEK.js} +7 -2
  18. package/dist/_chunks/{date-range-picker-CDrZ8Zh0.js → date-range-picker-BD8P_rJq.js} +46 -45
  19. package/dist/_chunks/{date-time-picker-DVETwpzc.js → date-time-picker-3I2vVKGV.js} +2 -2
  20. package/dist/_chunks/{due-date-calculator-wK8Tajzz.js → due-date-calculator-BF_Ikofx.js} +4 -4
  21. package/dist/_chunks/{entity-card-9_62gY7l.js → entity-card-DmrgYSEX.js} +4 -4
  22. package/dist/_chunks/{gestational-age-calculator-C_uDAeP_.js → gestational-age-calculator-CxZelpu2.js} +5 -5
  23. package/dist/_chunks/{hcg-doubling-BaXkJhT-.js → hcg-doubling-CpU7H5rQ.js} +3 -3
  24. package/dist/_chunks/{link-cell-renderer-DH4JYpKU.js → link-cell-renderer-BZQtsuFz.js} +2 -2
  25. package/dist/_chunks/{notes-panel-DlnENphf.js → notes-panel-e9cJWVRg.js} +2 -2
  26. package/dist/_chunks/{operator-hero-CCDnIa1S.js → operator-hero-BnFv-Uef.js} +2 -2
  27. package/dist/_chunks/{parse-JqixfsU0.js → parse-MN9bGkrY.js} +2 -2
  28. package/dist/_chunks/{patient-details-qnsqYBGQ.js → patient-details-xrqe13az.js} +160 -159
  29. package/dist/_chunks/{patient-table-DwshfVsQ.js → patient-table-BqYomX50.js} +2 -2
  30. package/dist/_chunks/{payment-automation-upsell-BBIG7NFL.js → payment-automation-upsell-DwQW2fRp.js} +52 -63
  31. package/dist/_chunks/{payment-request-card-BjjBMdsp.js → payment-request-card-YVCcCZ25.js} +2 -2
  32. package/dist/_chunks/{practice-results-F_Rf7c4H.js → practice-results-BEsAdW-B.js} +719 -633
  33. package/dist/_chunks/{pregnancy-dating-BVS_9YU2.js → pregnancy-dating-DtToyMyc.js} +5 -5
  34. package/dist/_chunks/{radiograph-panel.agent-CiHwgISa.js → radiograph-panel.agent-C3trfWqB.js} +3 -3
  35. package/dist/_chunks/repeat-CvQa5rZt.js +17 -0
  36. package/dist/_chunks/resource-chip-DYTG0IQQ.js +83 -0
  37. package/dist/_chunks/{rich-text-editor-DARnq_6N.js → rich-text-editor-BDfFtK4H.js} +2 -2
  38. package/dist/_chunks/subDays-BLl3y3pd.js +8 -0
  39. package/dist/agent-catalog.json +3 -3
  40. package/dist/components/appointment-card/index.js +2 -2
  41. package/dist/components/appointment-timeline/index.js +1 -1
  42. package/dist/components/booking/index.js +1 -1
  43. package/dist/components/calendar/calendar.d.ts +138 -12
  44. package/dist/components/calendar/index.js +1 -1
  45. package/dist/components/calendar-event-card/calendar-event-card.d.ts +48 -11
  46. package/dist/components/calendar-event-card/index.js +1 -1
  47. package/dist/components/care-plan-card/index.js +1 -1
  48. package/dist/components/care-plan-entry-card/index.js +1 -1
  49. package/dist/components/care-plan-header/index.js +1 -1
  50. package/dist/components/color-picker/index.d.ts +1 -1
  51. package/dist/components/color-picker/index.js +4 -3
  52. package/dist/components/color-picker/palettes.d.ts +10 -0
  53. package/dist/components/control-room-rail/control-room-rail.d.ts +9 -0
  54. package/dist/components/control-room-rail/index.js +1 -1
  55. package/dist/components/cycle-calculator/index.js +1 -1
  56. package/dist/components/data-table/index.js +1 -1
  57. package/dist/components/date-picker/date-picker.d.ts +11 -0
  58. package/dist/components/date-picker/index.js +1 -1
  59. package/dist/components/date-range-picker/index.js +1 -1
  60. package/dist/components/date-time-picker/index.js +1 -1
  61. package/dist/components/due-date-calculator/index.js +2 -2
  62. package/dist/components/gestational-age-calculator/index.js +1 -1
  63. package/dist/components/hcg-doubling/index.js +1 -1
  64. package/dist/components/index.d.ts +1 -0
  65. package/dist/components/notes-panel/index.js +1 -1
  66. package/dist/components/operator-hero/index.js +1 -1
  67. package/dist/components/patient-details/index.js +1 -1
  68. package/dist/components/patient-details/patient-details.d.ts +8 -0
  69. package/dist/components/patient-table/index.js +1 -1
  70. package/dist/components/payment-card/index.js +1 -1
  71. package/dist/components/practice-results/index.js +1 -1
  72. package/dist/components/practice-results/practice-results.d.ts +47 -7
  73. package/dist/components/pregnancy-dating/index.js +1 -1
  74. package/dist/components/radiograph-panel/index.js +1 -1
  75. package/dist/components/resource-chip/index.d.ts +3 -0
  76. package/dist/components/resource-chip/index.js +5 -0
  77. package/dist/components/resource-chip/resource-chip.d.ts +26 -0
  78. package/dist/components/rich-text-editor/index.js +1 -1
  79. package/dist/host-compat.css +7 -1
  80. package/dist/i18n/locales/ar.d.ts +5 -0
  81. package/dist/i18n/locales/ar.js +6 -1
  82. package/dist/i18n/locales/de.d.ts +5 -0
  83. package/dist/i18n/locales/de.js +6 -1
  84. package/dist/i18n/locales/el.d.ts +5 -0
  85. package/dist/i18n/locales/el.js +6 -1
  86. package/dist/i18n/locales/en.d.ts +5 -0
  87. package/dist/i18n/locales/en.js +6 -1
  88. package/dist/i18n/locales/es.d.ts +5 -0
  89. package/dist/i18n/locales/es.js +6 -1
  90. package/dist/i18n/locales/fr.d.ts +5 -0
  91. package/dist/i18n/locales/fr.js +6 -1
  92. package/dist/i18n/locales/hi.d.ts +5 -0
  93. package/dist/i18n/locales/hi.js +6 -1
  94. package/dist/i18n/locales/it.d.ts +5 -0
  95. package/dist/i18n/locales/it.js +6 -1
  96. package/dist/i18n/locales/ja.d.ts +5 -0
  97. package/dist/i18n/locales/ja.js +6 -1
  98. package/dist/i18n/locales/nl.d.ts +5 -0
  99. package/dist/i18n/locales/nl.js +6 -1
  100. package/dist/i18n/locales/pl.d.ts +5 -0
  101. package/dist/i18n/locales/pl.js +6 -1
  102. package/dist/i18n/locales/pt.d.ts +5 -0
  103. package/dist/i18n/locales/pt.js +6 -1
  104. package/dist/i18n/locales/ro.d.ts +5 -0
  105. package/dist/i18n/locales/ro.js +6 -1
  106. package/dist/i18n/locales/ru.d.ts +5 -0
  107. package/dist/i18n/locales/ru.js +6 -1
  108. package/dist/i18n/locales/sq.d.ts +5 -0
  109. package/dist/i18n/locales/sq.js +6 -1
  110. package/dist/i18n/locales/sv.d.ts +5 -0
  111. package/dist/i18n/locales/sv.js +6 -1
  112. package/dist/i18n/locales/tr.d.ts +5 -0
  113. package/dist/i18n/locales/tr.js +6 -1
  114. package/dist/i18n/locales/zh.d.ts +5 -0
  115. package/dist/i18n/locales/zh.js +6 -1
  116. package/dist/index.js +961 -958
  117. package/dist/locales/ar.json +6 -1
  118. package/dist/locales/de.json +6 -1
  119. package/dist/locales/el.json +6 -1
  120. package/dist/locales/en.json +6 -1
  121. package/dist/locales/es.json +6 -1
  122. package/dist/locales/fr.json +6 -1
  123. package/dist/locales/hi.json +6 -1
  124. package/dist/locales/it.json +6 -1
  125. package/dist/locales/ja.json +6 -1
  126. package/dist/locales/nl.json +6 -1
  127. package/dist/locales/pl.json +6 -1
  128. package/dist/locales/pt.json +6 -1
  129. package/dist/locales/ro.json +6 -1
  130. package/dist/locales/ru.json +6 -1
  131. package/dist/locales/sq.json +6 -1
  132. package/dist/locales/sv.json +6 -1
  133. package/dist/locales/tr.json +6 -1
  134. package/dist/locales/zh.json +6 -1
  135. package/dist/patterns/anamnesis/index.js +1 -1
  136. package/dist/patterns/payment-automation-upsell/index.js +1 -1
  137. package/dist/tokens.css +40 -24
  138. package/package.json +5 -1
  139. package/dist/_chunks/calendar-event-card-C6qGtywL.js +0 -257
  140. package/dist/_chunks/control-room-rail-IH1eBjrK.js +0 -333
  141. package/dist/_chunks/subDays-CAUv47M1.js +0 -8
@@ -1,6 +1,6 @@
1
1
  import { A as r, D as l, E as t, T as s, a as d, b as n, c as o, d as i, e as R, f as C, g as T, i as F, h as g } from "../../_chunks/actions-cell-renderer-ALEAGO3j.js";
2
2
  import { B as b, C as u, E as x, a as c, R as p, T as E, b as m, r as f, u as h } from "../../_chunks/editable-currency-cell-renderer-DYdzKpjL.js";
3
- import { C as A, D as w, a as y, b as I, I as L, L as N, N as P, c as W, S as B, d as U, e as _, T as k, f as v, g as O, U as X } from "../../_chunks/link-cell-renderer-DH4JYpKU.js";
3
+ import { C as A, D as w, a as y, b as I, I as L, L as N, N as P, c as W, S as B, d as U, e as _, T as k, f as v, g as O, U as X } from "../../_chunks/link-cell-renderer-BZQtsuFz.js";
4
4
  export {
5
5
  r as ActionsCellRenderer,
6
6
  b as BalanceCellRenderer,
@@ -38,6 +38,17 @@ export interface DatePickerProps extends Pick<VariantProps<typeof triggerVariant
38
38
  presets?: DatePickerPreset[];
39
39
  /** Component size. */
40
40
  size?: 'sm' | 'md' | 'lg';
41
+ /**
42
+ * Trigger chrome. `'input'` (default) is the soft input look — fill + the
43
+ * `--shadow-input` halo — that matches other form fields. `'button'` renders
44
+ * the trigger as an outline Button (flat, `--radius-md`, no halo, `md` = 40px)
45
+ * so the picker sits flush among Buttons in a toolbar. Use `'button'` only in
46
+ * toolbars, not in forms: the input halo is a11y-load-bearing (it lifts the
47
+ * field border to the WCAG 1.4.11 3:1 composite), whereas a button-chrome
48
+ * trigger relies on its value/label like a Button does. Mirrors
49
+ * `DateRangePicker`'s prop of the same name.
50
+ */
51
+ chrome?: 'input' | 'button';
41
52
  /** Disabled state. */
42
53
  disabled?: boolean;
43
54
  /** Placeholder text. */
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/date-picker-Bp64zk2p.js";
1
+ import { D as r, d as t } from "../../_chunks/date-picker-CepI_oI2.js";
2
2
  export {
3
3
  r as DatePicker,
4
4
  t as datePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as r, d as t } from "../../_chunks/date-range-picker-CDrZ8Zh0.js";
1
+ import { D as r, d as t } from "../../_chunks/date-range-picker-BD8P_rJq.js";
2
2
  export {
3
3
  r as DateRangePicker,
4
4
  t as dateRangePickerAgent
@@ -1,4 +1,4 @@
1
- import { D as i, d as r } from "../../_chunks/date-time-picker-DVETwpzc.js";
1
+ import { D as i, d as r } from "../../_chunks/date-time-picker-3I2vVKGV.js";
2
2
  export {
3
3
  i as DateTimePicker,
4
4
  r as dateTimePickerAgent
@@ -1,5 +1,5 @@
1
- import { D as e } from "../../_chunks/due-date-calculator-wK8Tajzz.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-BjlF2rTz.js";
1
+ import { D as e } from "../../_chunks/due-date-calculator-BF_Ikofx.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-B1k8QkA6.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 { G as t } from "../../_chunks/gestational-age-calculator-C_uDAeP_.js";
1
+ import { G as t } from "../../_chunks/gestational-age-calculator-CxZelpu2.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-BaXkJhT-.js";
1
+ import { H, M as g, a as o } from "../../_chunks/hcg-doubling-CpU7H5rQ.js";
2
2
  export {
3
3
  H as HcgDoubling,
4
4
  g as MINIMAL_48H_RISE_PERCENT,
@@ -168,6 +168,7 @@ export * from './optical-prescription';
168
168
  export * from './booking';
169
169
  export * from './calendar';
170
170
  export * from './calendar-event-card';
171
+ export * from './resource-chip';
171
172
  export * from './care-plan-card';
172
173
  export * from './care-plan-entry-card';
173
174
  export * from './care-plan-header';
@@ -1,4 +1,4 @@
1
- import { N as a } from "../../_chunks/notes-panel-DlnENphf.js";
1
+ import { N as a } from "../../_chunks/notes-panel-e9cJWVRg.js";
2
2
  export {
3
3
  a as NotesPanel
4
4
  };
@@ -1,4 +1,4 @@
1
- import { O as e, o as a } from "../../_chunks/operator-hero-CCDnIa1S.js";
1
+ import { O as e, o as a } from "../../_chunks/operator-hero-BnFv-Uef.js";
2
2
  export {
3
3
  e as OperatorHero,
4
4
  a as operatorHeroAgent
@@ -1,4 +1,4 @@
1
- import { P as e, p as i } from "../../_chunks/patient-details-qnsqYBGQ.js";
1
+ import { P as e, p as i } from "../../_chunks/patient-details-xrqe13az.js";
2
2
  export {
3
3
  e as PatientDetails,
4
4
  i as patientDetailsAgent
@@ -87,6 +87,14 @@ export interface PatientDetailsProps extends Omit<HTMLAttributes<HTMLElement>, '
87
87
  locale?: string;
88
88
  /** Override the cog trigger's accessible name. */
89
89
  cogLabel?: string;
90
+ /**
91
+ * Visible panel-chrome heading (the sticky PanelHeader title). Defaults
92
+ * to the kit's localised "Patient details". Pass an app-translated
93
+ * string when the panel fronts a different record built from the same
94
+ * chrome — "Appointment details", "Task details" — so the header names
95
+ * what is actually shown. Also the `aria-label` fallback.
96
+ */
97
+ panelTitle?: string;
90
98
  /** Override the panel region's accessible name (defaults to the heading). */
91
99
  'aria-label'?: string;
92
100
  }
@@ -1,4 +1,4 @@
1
- import { B as s, C as l, N as t, P as n, a as C, b as i, g as o, u } from "../../_chunks/patient-table-DwshfVsQ.js";
1
+ import { B as s, C as l, N as t, P as n, a as C, b as i, g as o, u } from "../../_chunks/patient-table-BqYomX50.js";
2
2
  export {
3
3
  s as BalanceBadgeCell,
4
4
  l as CarePlanStatusCell,
@@ -1,4 +1,4 @@
1
- import { P as t, a as n, p as r, b as s } from "../../_chunks/payment-request-card-BjjBMdsp.js";
1
+ import { P as t, a as n, p as r, b as s } from "../../_chunks/payment-request-card-YVCcCZ25.js";
2
2
  export {
3
3
  t as PaymentCard,
4
4
  n as PaymentRequestCard,
@@ -1,4 +1,4 @@
1
- import { P as t, p as a } from "../../_chunks/practice-results-F_Rf7c4H.js";
1
+ import { P as t, p as a } from "../../_chunks/practice-results-BEsAdW-B.js";
2
2
  export {
3
3
  t as PracticeResults,
4
4
  a as practiceResultsAgent
@@ -12,10 +12,19 @@ export type PracticeResultsSort = 'distance' | 'rating' | 'next-available' | 're
12
12
  * - `pin` — patient clicked a map pin. Sync-only (scroll list to the
13
13
  * matching card); no navigation.
14
14
  * - `open-button` — patient clicked the explicit "Open" CTA on a card.
15
- * This is the **only** source that should drive navigation. Booking-
16
- * website's consumer routes to `result.href` on this source value.
15
+ * Navigates to the practice page. Booking-website's consumer routes
16
+ * to `result.href` on this source value.
17
+ * - `book-button` — patient clicked the always-visible "Book" CTA on a
18
+ * card (1.7.0). Navigates to the booking flow: the concrete
19
+ * `nextAvailableSlot.bookingHref` when known, else `bookingHref`,
20
+ * else `href`. Both CTAs are real anchors, so native navigation
21
+ * happens whether or not the consumer handles the source — the value
22
+ * exists so booking intent from the SERP can be attributed.
23
+ *
24
+ * `open-button` and `book-button` are the only sources that should
25
+ * drive navigation.
17
26
  */
18
- export type PracticeResultsSelectSource = 'card' | 'pin' | 'open-button';
27
+ export type PracticeResultsSelectSource = 'card' | 'pin' | 'open-button' | 'book-button';
19
28
  export interface PracticeResultsBounds {
20
29
  north: number;
21
30
  south: number;
@@ -29,6 +38,24 @@ export interface PracticeResult {
29
38
  name: string;
30
39
  /** Profession or specialty caption. */
31
40
  subtitle?: string;
41
+ /**
42
+ * One-line slogan shown under the caption on every card
43
+ * (booking-website maps `bookingSlogan` here). Added in 1.7.0.
44
+ */
45
+ tagline?: string;
46
+ /**
47
+ * Short free-text blurb about the practice. Rendered on every card,
48
+ * clamped to two lines on compact cards and three on rich cards
49
+ * (booking-website maps `bookingDescription` here). Added in 1.7.0.
50
+ */
51
+ description?: string;
52
+ /**
53
+ * Destination of the always-visible "Book" CTA. Defaults to `href`
54
+ * (the practice page hosts the booking flow). A
55
+ * `nextAvailableSlot.bookingHref` takes precedence when present so
56
+ * the CTA deep-links to the concrete slot. Added in 1.7.0.
57
+ */
58
+ bookingHref?: string;
32
59
  /** Avatar / logo URL. */
33
60
  imageUrl?: string;
34
61
  /** Practice location. Required by the two map variants. */
@@ -50,7 +77,11 @@ export interface PracticeResult {
50
77
  insurances?: string[];
51
78
  /** Anxious-patient friendly — renders an icon chip on rich-cards. */
52
79
  specializedInFearPatients?: boolean;
53
- /** Next available slot — rendered as inline CTA on rich-cards. */
80
+ /**
81
+ * Next available slot — rendered as a "Next available …" caption on
82
+ * every card. When present, the card's Book CTA deep-links to
83
+ * `bookingHref` and reads the slot-aware "Book at {{time}}" label.
84
+ */
54
85
  nextAvailableSlot?: {
55
86
  /** ISO datetime, e.g. "2026-05-23T10:30:00+02:00". */
56
87
  dateTime: string;
@@ -186,11 +217,20 @@ export interface PracticeResultsProps extends Omit<ComponentPropsWithoutRef<'div
186
217
  * Label for the per-card "Open" button. Defaults to
187
218
  * `t('practiceResults.card.open')` ("Apri" / "Open"). The Open button
188
219
  * is the **only** card affordance that fires `onResultSelect` with
189
- * `source: 'open-button'` that's the source the consumer should
190
- * navigate on. Card-body clicks and pin clicks fire with `'card'` /
191
- * `'pin'` and are sync-only.
220
+ * `source: 'open-button'`. Card-body clicks and pin clicks fire with
221
+ * `'card'` / `'pin'` and are sync-only.
192
222
  */
193
223
  cardOpenButtonLabel?: string;
224
+ /**
225
+ * Label for the per-card "Book" button (1.7.0). Defaults to
226
+ * `t('practiceResults.card.book')` ("Prenota" / "Book"). The button
227
+ * renders on every card in every variant and fires `onResultSelect`
228
+ * with `source: 'book-button'`. When the result carries a
229
+ * `nextAvailableSlot` the label switches to the slot-aware
230
+ * `t('practiceResults.nextSlot.cta')` ("Book at {{time}}") regardless
231
+ * of this override — the time is the message.
232
+ */
233
+ cardBookButtonLabel?: string;
194
234
  'aria-label'?: string;
195
235
  /** Agent-readiness instance id. */
196
236
  id?: string;
@@ -1,4 +1,4 @@
1
- import { P as r } from "../../_chunks/pregnancy-dating-BVS_9YU2.js";
1
+ import { P as r } from "../../_chunks/pregnancy-dating-DtToyMyc.js";
2
2
  export {
3
3
  r as PregnancyDating
4
4
  };
@@ -1,4 +1,4 @@
1
- import { R as o, I as e, r as n } from "../../_chunks/radiograph-panel.agent-CiHwgISa.js";
1
+ import { R as o, I as e, r as n } from "../../_chunks/radiograph-panel.agent-C3trfWqB.js";
2
2
  export {
3
3
  o as RadiographPanel,
4
4
  e as RadiographPanelIcon,
@@ -0,0 +1,3 @@
1
+ export { ResourceChip } from './resource-chip';
2
+ export type { ResourceChipProps } from './resource-chip';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,5 @@
1
+ import { R as r } from "../../_chunks/resource-chip-DYTG0IQQ.js";
2
+ export {
3
+ r as ResourceChip
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,26 @@
1
+ import { type HTMLAttributes, type ReactNode } from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ declare const resourceChipVariants: (props?: ({
4
+ orientation?: "vertical" | "horizontal" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export interface ResourceChipProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'color'>, VariantProps<typeof resourceChipVariants> {
7
+ /** Visible resource name. */
8
+ label: string;
9
+ /**
10
+ * Resource colour (any CSS colour string) — drives the whole disc via
11
+ * one CSS custom property: a light wash for the fill, and the colour
12
+ * mixed toward `--foreground` for the ring and glyph. Omitted → the
13
+ * muted token, so the disc degrades to a neutral.
14
+ */
15
+ color?: string;
16
+ /**
17
+ * Glyph inside the colour disc. Defaults to the kit's treatment-chair
18
+ * glyph (`Armchair`); pass another Lucide element for rooms/devices.
19
+ * Keep it a GLYPH — a short code here would read as a person's
20
+ * initials, which is the Avatar's job.
21
+ */
22
+ icon?: ReactNode;
23
+ }
24
+ export declare const ResourceChip: import("react").ForwardRefExoticComponent<ResourceChipProps & import("react").RefAttributes<HTMLSpanElement>>;
25
+ export {};
26
+ //# sourceMappingURL=resource-chip.d.ts.map
@@ -1,4 +1,4 @@
1
- import { R as a, r as e, w as i } from "../../_chunks/rich-text-editor-DARnq_6N.js";
1
+ import { R as a, r as e, w as i } from "../../_chunks/rich-text-editor-BDfFtK4H.js";
2
2
  export {
3
3
  a as RichTextEditor,
4
4
  e as richTextEditorAgent,
@@ -196,7 +196,7 @@
196
196
 
197
197
  /* ───────────────────────────────────────────────────────────────────────
198
198
  SECTION B — non-token declarations. ORIGINAL LAYER PRESERVED.
199
- 127 declarations across 123 rules.
199
+ 129 declarations across 125 rules.
200
200
 
201
201
  Kit-authored arbitrary-value utilities (`ds:w-[20rem]`) and the
202
202
  vendored AG Grid rules. These set real properties on real elements,
@@ -514,6 +514,9 @@
514
514
  .ds\:\[max-block-size\:12rem\] {
515
515
  max-block-size:192px;
516
516
  }
517
+ .ds\:\[max-inline-size\:6\.5rem\] {
518
+ max-inline-size:104px;
519
+ }
517
520
  .ds\:\[max-inline-size\:16rem\] {
518
521
  max-inline-size:256px;
519
522
  }
@@ -588,3 +591,6 @@
588
591
  .ag-skeleton-effect {
589
592
  border-radius:4px;
590
593
  }
594
+ .calendar-vertical-resource-labels .fc-resource.fc-col-header-cell .fc-col-header-cell-cushion:not(:has([data-component=resource-chip],[data-component=avatar])) {
595
+ max-inline-size:120px;
596
+ }
@@ -1675,6 +1675,10 @@ export declare const arUi: {
1675
1675
  readonly cancelled: "ملغى";
1676
1676
  readonly absent: "غائب";
1677
1677
  };
1678
+ readonly eventKind: {
1679
+ readonly task: "مهمة";
1680
+ readonly draft: "مسودة";
1681
+ };
1678
1682
  readonly resourceLabel: {
1679
1683
  readonly chairs: "الكراسي";
1680
1684
  readonly operators: "المشغّلون";
@@ -1973,6 +1977,7 @@ export declare const arUi: {
1973
1977
  };
1974
1978
  readonly card: {
1975
1979
  readonly open: "Open";
1980
+ readonly book: "Book";
1976
1981
  };
1977
1982
  readonly sheet: {
1978
1983
  readonly title_one: "{{count}} practice";
@@ -1672,6 +1672,10 @@ const e = {
1672
1672
  cancelled: "ملغى",
1673
1673
  absent: "غائب"
1674
1674
  },
1675
+ eventKind: {
1676
+ task: "مهمة",
1677
+ draft: "مسودة"
1678
+ },
1675
1679
  resourceLabel: {
1676
1680
  chairs: "الكراسي",
1677
1681
  operators: "المشغّلون"
@@ -1959,7 +1963,8 @@ const e = {
1959
1963
  distance: { km: "{{distance}} km", below: "< 1 km" },
1960
1964
  fearPatient: { label: "Anxious-patient friendly" },
1961
1965
  card: {
1962
- open: "Open"
1966
+ open: "Open",
1967
+ book: "Book"
1963
1968
  },
1964
1969
  sheet: {
1965
1970
  title_one: "{{count}} practice",
@@ -1675,6 +1675,10 @@ export declare const deUi: {
1675
1675
  readonly cancelled: "Abgesagt";
1676
1676
  readonly absent: "Nicht erschienen";
1677
1677
  };
1678
+ readonly eventKind: {
1679
+ readonly task: "Aufgabe";
1680
+ readonly draft: "Entwurf";
1681
+ };
1678
1682
  readonly resourceLabel: {
1679
1683
  readonly chairs: "Stühle";
1680
1684
  readonly operators: "Behandelnde";
@@ -1973,6 +1977,7 @@ export declare const deUi: {
1973
1977
  };
1974
1978
  readonly card: {
1975
1979
  readonly open: "Öffnen";
1980
+ readonly book: "Buchen";
1976
1981
  };
1977
1982
  readonly sheet: {
1978
1983
  readonly title_one: "{{count}} Praxis";
@@ -1672,6 +1672,10 @@ const e = {
1672
1672
  cancelled: "Abgesagt",
1673
1673
  absent: "Nicht erschienen"
1674
1674
  },
1675
+ eventKind: {
1676
+ task: "Aufgabe",
1677
+ draft: "Entwurf"
1678
+ },
1675
1679
  resourceLabel: {
1676
1680
  chairs: "Stühle",
1677
1681
  operators: "Behandelnde"
@@ -1958,7 +1962,8 @@ const e = {
1958
1962
  distance: { km: "{{distance}} km", below: "< 1 km" },
1959
1963
  fearPatient: { label: "Geeignet für ängstliche Patienten" },
1960
1964
  card: {
1961
- open: "Öffnen"
1965
+ open: "Öffnen",
1966
+ book: "Buchen"
1962
1967
  },
1963
1968
  sheet: {
1964
1969
  title_one: "{{count}} Praxis",
@@ -1672,6 +1672,10 @@ export declare const elUi: {
1672
1672
  readonly cancelled: "Ακυρωμένο";
1673
1673
  readonly absent: "Απών/Απούσα";
1674
1674
  };
1675
+ readonly eventKind: {
1676
+ readonly task: "Εργασία";
1677
+ readonly draft: "Πρόχειρο";
1678
+ };
1675
1679
  readonly resourceLabel: {
1676
1680
  readonly chairs: "Πολυθρόνες";
1677
1681
  readonly operators: "Χειριστές";
@@ -1970,6 +1974,7 @@ export declare const elUi: {
1970
1974
  };
1971
1975
  readonly card: {
1972
1976
  readonly open: "Open";
1977
+ readonly book: "Book";
1973
1978
  };
1974
1979
  readonly sheet: {
1975
1980
  readonly title_one: "{{count}} practice";
@@ -1672,6 +1672,10 @@ const e = {
1672
1672
  cancelled: "Ακυρωμένο",
1673
1673
  absent: "Απών/Απούσα"
1674
1674
  },
1675
+ eventKind: {
1676
+ task: "Εργασία",
1677
+ draft: "Πρόχειρο"
1678
+ },
1675
1679
  resourceLabel: {
1676
1680
  chairs: "Πολυθρόνες",
1677
1681
  operators: "Χειριστές"
@@ -1959,7 +1963,8 @@ const e = {
1959
1963
  distance: { km: "{{distance}} km", below: "< 1 km" },
1960
1964
  fearPatient: { label: "Anxious-patient friendly" },
1961
1965
  card: {
1962
- open: "Open"
1966
+ open: "Open",
1967
+ book: "Book"
1963
1968
  },
1964
1969
  sheet: {
1965
1970
  title_one: "{{count}} practice",
@@ -1740,6 +1740,10 @@ export declare const enUi: {
1740
1740
  readonly cancelled: "Cancelled";
1741
1741
  readonly absent: "Absent";
1742
1742
  };
1743
+ readonly eventKind: {
1744
+ readonly task: "Task";
1745
+ readonly draft: "Draft";
1746
+ };
1743
1747
  readonly resourceLabel: {
1744
1748
  readonly chairs: "Chairs";
1745
1749
  readonly operators: "Operators";
@@ -2038,6 +2042,7 @@ export declare const enUi: {
2038
2042
  };
2039
2043
  readonly card: {
2040
2044
  readonly open: "Open";
2045
+ readonly book: "Book";
2041
2046
  };
2042
2047
  readonly sheet: {
2043
2048
  readonly title_one: "{{count}} practice";
@@ -1723,6 +1723,10 @@ const e = {
1723
1723
  cancelled: "Cancelled",
1724
1724
  absent: "Absent"
1725
1725
  },
1726
+ eventKind: {
1727
+ task: "Task",
1728
+ draft: "Draft"
1729
+ },
1726
1730
  resourceLabel: {
1727
1731
  chairs: "Chairs",
1728
1732
  operators: "Operators"
@@ -2020,7 +2024,8 @@ const e = {
2020
2024
  label: "Anxious-patient friendly"
2021
2025
  },
2022
2026
  card: {
2023
- open: "Open"
2027
+ open: "Open",
2028
+ book: "Book"
2024
2029
  },
2025
2030
  sheet: {
2026
2031
  title_one: "{{count}} practice",
@@ -1672,6 +1672,10 @@ export declare const esUi: {
1672
1672
  readonly cancelled: "Cancelado";
1673
1673
  readonly absent: "Ausente";
1674
1674
  };
1675
+ readonly eventKind: {
1676
+ readonly task: "Tarea";
1677
+ readonly draft: "Borrador";
1678
+ };
1675
1679
  readonly resourceLabel: {
1676
1680
  readonly chairs: "Sillones";
1677
1681
  readonly operators: "Operadores";
@@ -1970,6 +1974,7 @@ export declare const esUi: {
1970
1974
  };
1971
1975
  readonly card: {
1972
1976
  readonly open: "Abrir";
1977
+ readonly book: "Reservar";
1973
1978
  };
1974
1979
  readonly sheet: {
1975
1980
  readonly title_one: "{{count}} consultorio";
@@ -1672,6 +1672,10 @@ const e = {
1672
1672
  cancelled: "Cancelado",
1673
1673
  absent: "Ausente"
1674
1674
  },
1675
+ eventKind: {
1676
+ task: "Tarea",
1677
+ draft: "Borrador"
1678
+ },
1675
1679
  resourceLabel: {
1676
1680
  chairs: "Sillones",
1677
1681
  operators: "Operadores"
@@ -1958,7 +1962,8 @@ const e = {
1958
1962
  distance: { km: "{{distance}} km", below: "< 1 km" },
1959
1963
  fearPatient: { label: "Adecuado para pacientes ansiosos" },
1960
1964
  card: {
1961
- open: "Abrir"
1965
+ open: "Abrir",
1966
+ book: "Reservar"
1962
1967
  },
1963
1968
  sheet: {
1964
1969
  title_one: "{{count}} consultorio",
@@ -1672,6 +1672,10 @@ export declare const frUi: {
1672
1672
  readonly cancelled: "Annulé";
1673
1673
  readonly absent: "Absent";
1674
1674
  };
1675
+ readonly eventKind: {
1676
+ readonly task: "Tâche";
1677
+ readonly draft: "Brouillon";
1678
+ };
1675
1679
  readonly resourceLabel: {
1676
1680
  readonly chairs: "Fauteuils";
1677
1681
  readonly operators: "Opérateurs";
@@ -1970,6 +1974,7 @@ export declare const frUi: {
1970
1974
  };
1971
1975
  readonly card: {
1972
1976
  readonly open: "Ouvrir";
1977
+ readonly book: "Réserver";
1973
1978
  };
1974
1979
  readonly sheet: {
1975
1980
  readonly title_one: "{{count}} cabinet";
@@ -1672,6 +1672,10 @@ const e = {
1672
1672
  cancelled: "Annulé",
1673
1673
  absent: "Absent"
1674
1674
  },
1675
+ eventKind: {
1676
+ task: "Tâche",
1677
+ draft: "Brouillon"
1678
+ },
1675
1679
  resourceLabel: {
1676
1680
  chairs: "Fauteuils",
1677
1681
  operators: "Opérateurs"
@@ -1958,7 +1962,8 @@ const e = {
1958
1962
  distance: { km: "{{distance}} km", below: "< 1 km" },
1959
1963
  fearPatient: { label: "Adapté aux patients anxieux" },
1960
1964
  card: {
1961
- open: "Ouvrir"
1965
+ open: "Ouvrir",
1966
+ book: "Réserver"
1962
1967
  },
1963
1968
  sheet: {
1964
1969
  title_one: "{{count}} cabinet",
@@ -1672,6 +1672,10 @@ export declare const hiUi: {
1672
1672
  readonly cancelled: "रद्द";
1673
1673
  readonly absent: "अनुपस्थित";
1674
1674
  };
1675
+ readonly eventKind: {
1676
+ readonly task: "कार्य";
1677
+ readonly draft: "ड्राफ़्ट";
1678
+ };
1675
1679
  readonly resourceLabel: {
1676
1680
  readonly chairs: "डेंटल चेयर";
1677
1681
  readonly operators: "ऑपरेटर";
@@ -1970,6 +1974,7 @@ export declare const hiUi: {
1970
1974
  };
1971
1975
  readonly card: {
1972
1976
  readonly open: "Open";
1977
+ readonly book: "Book";
1973
1978
  };
1974
1979
  readonly sheet: {
1975
1980
  readonly title_one: "{{count}} practice";
@@ -1672,6 +1672,10 @@ const e = {
1672
1672
  cancelled: "रद्द",
1673
1673
  absent: "अनुपस्थित"
1674
1674
  },
1675
+ eventKind: {
1676
+ task: "कार्य",
1677
+ draft: "ड्राफ़्ट"
1678
+ },
1675
1679
  resourceLabel: {
1676
1680
  chairs: "डेंटल चेयर",
1677
1681
  operators: "ऑपरेटर"
@@ -1959,7 +1963,8 @@ const e = {
1959
1963
  distance: { km: "{{distance}} km", below: "< 1 km" },
1960
1964
  fearPatient: { label: "Anxious-patient friendly" },
1961
1965
  card: {
1962
- open: "Open"
1966
+ open: "Open",
1967
+ book: "Book"
1963
1968
  },
1964
1969
  sheet: {
1965
1970
  title_one: "{{count}} practice",
@@ -1669,6 +1669,10 @@ export declare const itUi: {
1669
1669
  readonly cancelled: "Annullato";
1670
1670
  readonly absent: "Assente";
1671
1671
  };
1672
+ readonly eventKind: {
1673
+ readonly task: "Attività";
1674
+ readonly draft: "Bozza";
1675
+ };
1672
1676
  readonly resourceLabel: {
1673
1677
  readonly chairs: "Poltrone";
1674
1678
  readonly operators: "Operatori";
@@ -1967,6 +1971,7 @@ export declare const itUi: {
1967
1971
  };
1968
1972
  readonly card: {
1969
1973
  readonly open: "Apri";
1974
+ readonly book: "Prenota";
1970
1975
  };
1971
1976
  readonly sheet: {
1972
1977
  readonly title_one: "{{count}} studio";
@@ -1652,6 +1652,10 @@ const e = {
1652
1652
  cancelled: "Annullato",
1653
1653
  absent: "Assente"
1654
1654
  },
1655
+ eventKind: {
1656
+ task: "Attività",
1657
+ draft: "Bozza"
1658
+ },
1655
1659
  resourceLabel: {
1656
1660
  chairs: "Poltrone",
1657
1661
  operators: "Operatori"
@@ -1938,7 +1942,8 @@ const e = {
1938
1942
  distance: { km: "{{distance}} km", below: "< 1 km" },
1939
1943
  fearPatient: { label: "Adatto ai pazienti ansiosi" },
1940
1944
  card: {
1941
- open: "Apri"
1945
+ open: "Apri",
1946
+ book: "Prenota"
1942
1947
  },
1943
1948
  sheet: {
1944
1949
  title_one: "{{count}} studio",