@alfadocs/ui-kit-debug 0.78.0 → 0.80.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.
- package/dist/_chunks/{alia-sidebar-w6B0TEx7.js → alia-sidebar-DzNz1gDf.js} +2 -2
- package/dist/_chunks/{alia-sidebar-w6B0TEx7.js.map → alia-sidebar-DzNz1gDf.js.map} +1 -1
- package/dist/_chunks/calendar-4dXTvsCz.js +1136 -0
- package/dist/_chunks/calendar-4dXTvsCz.js.map +1 -0
- package/dist/_chunks/calendar-event-card-C6qGtywL.js +257 -0
- package/dist/_chunks/calendar-event-card-C6qGtywL.js.map +1 -0
- package/dist/_chunks/{chat-input-BTCDqUDX.js → chat-input-QpHxBEnN.js} +32 -31
- package/dist/_chunks/chat-input-QpHxBEnN.js.map +1 -0
- package/dist/_chunks/{fiscal-code-input-DWA6C8x8.js → fiscal-code-input-QP9gkyDE.js} +2 -2
- package/dist/_chunks/fiscal-code-input-QP9gkyDE.js.map +1 -0
- package/dist/_chunks/{patient-details-zy76MRh7.js → patient-details-COvYWp2e.js} +2 -2
- package/dist/_chunks/{patient-details-zy76MRh7.js.map → patient-details-COvYWp2e.js.map} +1 -1
- package/dist/_chunks/signature-request-CEOrCDyk.js +341 -0
- package/dist/_chunks/signature-request-CEOrCDyk.js.map +1 -0
- package/dist/agent-catalog.json +1 -1
- package/dist/components/_shared/contrast-warning.d.ts +46 -0
- package/dist/components/_shared/contrast-warning.d.ts.map +1 -0
- package/dist/components/calendar/calendar.d.ts +284 -7
- package/dist/components/calendar/calendar.d.ts.map +1 -1
- package/dist/components/calendar/index.d.ts +1 -1
- package/dist/components/calendar/index.d.ts.map +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calendar-event-card/calendar-event-card.d.ts +103 -0
- package/dist/components/calendar-event-card/calendar-event-card.d.ts.map +1 -0
- package/dist/components/calendar-event-card/index.d.ts +3 -0
- package/dist/components/calendar-event-card/index.d.ts.map +1 -0
- package/dist/components/calendar-event-card/index.js +5 -0
- package/dist/components/calendar-event-card/index.js.map +1 -0
- package/dist/components/chat-input/chat-input.d.ts.map +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/fiscal-code-input/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/index.js +252 -250
- package/dist/index.js.map +1 -1
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/signature-request/index.js +1 -1
- package/dist/patterns/signature-request/signature-request.d.ts +7 -0
- package/dist/patterns/signature-request/signature-request.d.ts.map +1 -1
- package/dist/tokens.css +8 -5
- package/package.json +5 -1
- package/dist/_chunks/calendar-DeAlFPsF.js +0 -1050
- package/dist/_chunks/calendar-DeAlFPsF.js.map +0 -1
- package/dist/_chunks/chat-input-BTCDqUDX.js.map +0 -1
- package/dist/_chunks/fiscal-code-input-DWA6C8x8.js.map +0 -1
- package/dist/_chunks/signature-request-C-mskXwi.js +0 -318
- package/dist/_chunks/signature-request-C-mskXwi.js.map +0 -1
- package/dist/components/calendar/contrast-warning.d.ts +0 -20
- package/dist/components/calendar/contrast-warning.d.ts.map +0 -1
|
@@ -4,8 +4,11 @@ export type CalendarView = 'dayGridMonth' | 'timeGridWeek' | 'timeGridDay' | 'li
|
|
|
4
4
|
/**
|
|
5
5
|
* Maps a public `CalendarView` name to the internal FullCalendar view
|
|
6
6
|
* name. `resourceLayout` selects between `resourceTimeGrid*` (vertical)
|
|
7
|
-
* and `resourceTimeline*` (horizontal) for the 6 resource views
|
|
8
|
-
* 4 standard views
|
|
7
|
+
* and `resourceTimeline*` (horizontal) for the 6 resource views. The
|
|
8
|
+
* 4 standard views resolve as-is under `vertical`; under `horizontal`,
|
|
9
|
+
* `timeGridDay` / `timeGridWeek` resolve to the plain `timelineDay` /
|
|
10
|
+
* `timelineWeek` timelines (platform calendarResourceView parity), while
|
|
11
|
+
* `dayGridMonth` / `listWeek` are orientation-free and pass through.
|
|
9
12
|
*/
|
|
10
13
|
export declare function resolveFullCalendarView(view: CalendarView, resourceLayout?: 'vertical' | 'horizontal'): string;
|
|
11
14
|
export type CalendarEventStatus = 'confirmed' | 'waiting' | 'in_care' | 'done' | 'cancelled' | 'absent';
|
|
@@ -18,10 +21,16 @@ export interface CalendarEvent {
|
|
|
18
21
|
resourceId?: string;
|
|
19
22
|
allDay?: boolean;
|
|
20
23
|
status?: CalendarEventStatus;
|
|
21
|
-
/** Hex colour from
|
|
24
|
+
/** Hex colour from the consumer's colour picker — paints the card surface. */
|
|
22
25
|
backgroundColor?: string;
|
|
23
|
-
/** Hex colour
|
|
26
|
+
/** Hex colour paired with `backgroundColor` — paints the card text. */
|
|
24
27
|
textColor?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Optional hex border for light backgrounds. The platform emits
|
|
30
|
+
* '#cccccc' when backgroundColor is '#ffffff' and omits it otherwise.
|
|
31
|
+
* Pass together with backgroundColor.
|
|
32
|
+
*/
|
|
33
|
+
borderColor?: string;
|
|
25
34
|
/** Extra description rendered after the title in normal weight. */
|
|
26
35
|
suffix?: string;
|
|
27
36
|
/** Masked title shown when `privacyMode` is true. */
|
|
@@ -39,6 +48,23 @@ export interface CalendarEvent {
|
|
|
39
48
|
isRecurrenceParent?: boolean;
|
|
40
49
|
/** Rendered as a background event; not clickable. */
|
|
41
50
|
isInternal?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Per-event master switch for drag AND resize. Overrides the
|
|
53
|
+
* calendar-level `editable` for this event only (true enables even when
|
|
54
|
+
* the calendar is not editable; false disables both gestures).
|
|
55
|
+
* Leave undefined to inherit the calendar-level setting.
|
|
56
|
+
* Precedence: per-event `startEditable` > per-event `editable` >
|
|
57
|
+
* calendar-level `editable`. Background events (`isInternal: true`)
|
|
58
|
+
* are never draggable regardless.
|
|
59
|
+
*/
|
|
60
|
+
editable?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Per-event drag (start-time) editability. `false` pins the event in
|
|
63
|
+
* place while the rest of the calendar stays draggable — the platform's
|
|
64
|
+
* closed-day / holiday / operator-absence all-day events use exactly
|
|
65
|
+
* this. Does not affect resize. Leave undefined to inherit.
|
|
66
|
+
*/
|
|
67
|
+
startEditable?: boolean;
|
|
42
68
|
patientId?: string | number;
|
|
43
69
|
operatorId?: string | number;
|
|
44
70
|
}
|
|
@@ -53,16 +79,53 @@ export interface CalendarResource {
|
|
|
53
79
|
shortTitleTextColor?: string;
|
|
54
80
|
/** Numeric ordering — passed to FullCalendar's `resourceOrder`. */
|
|
55
81
|
sequenceNumber?: number;
|
|
82
|
+
/**
|
|
83
|
+
* ISO local dates ('YYYY-MM-DD') on which this resource's column is
|
|
84
|
+
* hidden in VERTICAL resource views — visible Monday, hidden Tuesday,
|
|
85
|
+
* within one multi-day view (the platform's show-only-available-
|
|
86
|
+
* operators feature: `operatorDatesToHide` maps here 1:1). The column
|
|
87
|
+
* (header cell, all-day cell, timed body column) is removed from
|
|
88
|
+
* layout, hit-testing, and the accessibility tree for those dates
|
|
89
|
+
* only; remaining columns share the freed width, and the date-header
|
|
90
|
+
* cell's span is adjusted internally. When EVERY resource hides a
|
|
91
|
+
* date, the whole date column collapses. Omitted / empty = always
|
|
92
|
+
* visible — an available-but-empty resource keeps its column simply
|
|
93
|
+
* by being in `resources` (no dummy events needed).
|
|
94
|
+
*
|
|
95
|
+
* Scope: `resourceTimeGrid*` views with `datesAboveResources` (the
|
|
96
|
+
* default) only. Documented no-op for `resourceLayout='horizontal'`
|
|
97
|
+
* (a timeline row spans all dates — no per-date geometry; matches the
|
|
98
|
+
* platform, where the feature is inert in timelines) and for
|
|
99
|
+
* non-resource views. `hiddenDays` wins: entries on never-rendered
|
|
100
|
+
* weekdays are silently ignored.
|
|
101
|
+
*
|
|
102
|
+
* Update this atomically with `events`/`resources` (one commit) —
|
|
103
|
+
* the kit derives everything else, so there is no loading-flash
|
|
104
|
+
* window to suppress.
|
|
105
|
+
*/
|
|
106
|
+
hiddenDates?: readonly string[];
|
|
56
107
|
}
|
|
57
108
|
export interface CalendarEventDropInfo {
|
|
58
109
|
event: CalendarEvent;
|
|
59
110
|
oldStart: Date;
|
|
60
111
|
newStart: Date;
|
|
112
|
+
/**
|
|
113
|
+
* Restores FullCalendar's optimistic move — the platform's
|
|
114
|
+
* confirm-modal pattern calls this on Cancel instead of committing.
|
|
115
|
+
* Typed optional for backward compatibility of consumer-constructed
|
|
116
|
+
* literals; the kit ALWAYS supplies it at runtime.
|
|
117
|
+
* Lifetime: call at most once, and only BEFORE you replace the
|
|
118
|
+
* `events` prop — once new event data re-parses, `revert()` refers to
|
|
119
|
+
* a stale store and must not be called.
|
|
120
|
+
*/
|
|
121
|
+
revert?: () => void;
|
|
61
122
|
}
|
|
62
123
|
export interface CalendarEventResizeInfo {
|
|
63
124
|
event: CalendarEvent;
|
|
64
125
|
oldEnd: Date;
|
|
65
126
|
newEnd: Date;
|
|
127
|
+
/** Same contract as `CalendarEventDropInfo.revert`. */
|
|
128
|
+
revert?: () => void;
|
|
66
129
|
}
|
|
67
130
|
export interface CalendarDateSelectInfo {
|
|
68
131
|
start: Date;
|
|
@@ -70,6 +133,80 @@ export interface CalendarDateSelectInfo {
|
|
|
70
133
|
allDay: boolean;
|
|
71
134
|
resourceId?: string;
|
|
72
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* Payload for `onDatesSet` — fired whenever the visible date range changes:
|
|
138
|
+
* initial mount, prev/next/today, `gotoDate`, `changeView`, and any option
|
|
139
|
+
* change that re-windows the range (e.g. `hiddenDays`). Everything a
|
|
140
|
+
* data-pipeline consumer needs (range-scoped refetch, slot re-windowing,
|
|
141
|
+
* per-user view persistence, analytics) without touching FullCalendar types.
|
|
142
|
+
*/
|
|
143
|
+
export interface CalendarDatesSetInfo {
|
|
144
|
+
/**
|
|
145
|
+
* The public view name — echoes the `view` prop as currently rendered.
|
|
146
|
+
* Caveat: if you switch views through the imperative handle
|
|
147
|
+
* (`changeView`) without updating the `view` prop, this echo goes stale;
|
|
148
|
+
* use `internalView` (always live) or `handle.getCurrentView()` instead.
|
|
149
|
+
*/
|
|
150
|
+
view: CalendarView;
|
|
151
|
+
/**
|
|
152
|
+
* The live internal FullCalendar view name (e.g. `'resourceTimeGridDay'`,
|
|
153
|
+
* `'dayGridMonth'`). Always reflects what is actually rendered. Note the
|
|
154
|
+
* Chair/Operator suffix of the public union does not exist here — both
|
|
155
|
+
* map to the same internal view.
|
|
156
|
+
*/
|
|
157
|
+
internalView: string;
|
|
158
|
+
/** Inclusive start of the visible range. */
|
|
159
|
+
start: Date;
|
|
160
|
+
/** EXCLUSIVE end of the visible range (FullCalendar convention). */
|
|
161
|
+
end: Date;
|
|
162
|
+
/** The calendar's current date anchor (`getDate()`), i.e. the focused day. */
|
|
163
|
+
currentDate: Date;
|
|
164
|
+
/**
|
|
165
|
+
* Localised human title of the range (e.g. "April 2026", or
|
|
166
|
+
* "Wednesday, April 15, 2026" in day-level views).
|
|
167
|
+
*/
|
|
168
|
+
title: string;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Payload for `onDateClick` — a SINGLE click on a date/slot, distinct
|
|
172
|
+
* from the click-drag range selection delivered via `onDateSelect`.
|
|
173
|
+
*/
|
|
174
|
+
export interface CalendarDateClickInfo {
|
|
175
|
+
/**
|
|
176
|
+
* The clicked date-time. For all-day cells this is local midnight of
|
|
177
|
+
* the clicked day.
|
|
178
|
+
*/
|
|
179
|
+
date: Date;
|
|
180
|
+
/** True when the click landed on an all-day cell / whole-day slot. */
|
|
181
|
+
allDay: boolean;
|
|
182
|
+
/** Resource id when the click landed inside a resource column/lane. */
|
|
183
|
+
resourceId?: string;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* DOM metadata delivered as the optional second argument of
|
|
187
|
+
* `onEventClick` — the anchor surface for detail popovers.
|
|
188
|
+
*/
|
|
189
|
+
export interface CalendarEventClickMeta {
|
|
190
|
+
/**
|
|
191
|
+
* The event's rendered root element (FullCalendar's `a.fc-event`
|
|
192
|
+
* harness). OWNED BY FULLCALENDAR: it is destroyed and re-created on
|
|
193
|
+
* every re-render — range navigation, `events` prop changes, theme
|
|
194
|
+
* repaints, polling refreshes. Do not hold it across renders. Anchor
|
|
195
|
+
* a popover to it for the current render only, and re-anchor (or
|
|
196
|
+
* close) on `onDatesSet` and whenever the `events` prop changes; to
|
|
197
|
+
* re-find the element later use
|
|
198
|
+
* `rootElement.querySelector('[data-event-id="<id>"]')` or
|
|
199
|
+
* `handle.focusEvent(id)`.
|
|
200
|
+
*/
|
|
201
|
+
el: HTMLElement;
|
|
202
|
+
/**
|
|
203
|
+
* The native event that triggered the click. Caveat: FullCalendar
|
|
204
|
+
* types this `MouseEvent` but delivers the raw `KeyboardEvent` when
|
|
205
|
+
* an event card is activated with Enter/Space — do not position by
|
|
206
|
+
* `clientX`/`clientY`; anchor to `el` instead (always safe).
|
|
207
|
+
*/
|
|
208
|
+
jsEvent: MouseEvent;
|
|
209
|
+
}
|
|
73
210
|
export interface CalendarProps {
|
|
74
211
|
/**
|
|
75
212
|
* Stable identifier for this calendar instance. Used for the agent-readiness
|
|
@@ -92,12 +229,47 @@ export interface CalendarProps {
|
|
|
92
229
|
onEventDrop?: (info: CalendarEventDropInfo) => void;
|
|
93
230
|
/** Fires when an event is resized. */
|
|
94
231
|
onEventResize?: (info: CalendarEventResizeInfo) => void;
|
|
232
|
+
/**
|
|
233
|
+
* Fires when an event drag gesture begins — before any drop/revert
|
|
234
|
+
* decision. Mirror of `onEventResizeStart`. Use it to pause polling /
|
|
235
|
+
* auto-refresh and dismiss anchored popovers while the user is dragging.
|
|
236
|
+
* Caveat: the kit does not currently expose a "drag stopped" callback
|
|
237
|
+
* (FullCalendar has one — `eventDragStop`, which fires even for drags
|
|
238
|
+
* aborted with Escape or dropped on an invalid slot — it is just not
|
|
239
|
+
* surfaced yet). A cancelled drag never reaches `onEventDrop`, so
|
|
240
|
+
* consumers pausing auto-refresh here should also resume it from
|
|
241
|
+
* `onDatesSet` / a timeout fallback, not only from `onEventDrop`.
|
|
242
|
+
*/
|
|
243
|
+
onEventDragStart?: () => void;
|
|
95
244
|
/** Fires when an event resize gesture begins. */
|
|
96
245
|
onEventResizeStart?: () => void;
|
|
97
|
-
/**
|
|
98
|
-
|
|
246
|
+
/**
|
|
247
|
+
* Fires when an event is clicked. The optional second argument exposes
|
|
248
|
+
* the event's DOM element and the native mouse event for popover
|
|
249
|
+
* anchoring — see `CalendarEventClickMeta` for the anchor-lifetime
|
|
250
|
+
* caveat. Existing one-argument handlers keep working unchanged.
|
|
251
|
+
*/
|
|
252
|
+
onEventClick?: (event: CalendarEvent, meta?: CalendarEventClickMeta) => void;
|
|
99
253
|
/** Fires when the user click-drags a range to create a new event. */
|
|
100
254
|
onDateSelect?: (range: CalendarDateSelectInfo) => void;
|
|
255
|
+
/**
|
|
256
|
+
* Fires whenever the visible date range changes — on mount, on every
|
|
257
|
+
* prev/next/today/gotoDate/changeView, and when options re-window the
|
|
258
|
+
* range. This is the hook for range-scoped data fetching (fetch events
|
|
259
|
+
* for [start, end) and abort the previous request), view persistence,
|
|
260
|
+
* and analytics. Fires once on initial render.
|
|
261
|
+
*/
|
|
262
|
+
onDatesSet?: (info: CalendarDatesSetInfo) => void;
|
|
263
|
+
/**
|
|
264
|
+
* Fires on a single click on an empty date/slot (the platform's
|
|
265
|
+
* "click to create appointment" entry point). Distinct from
|
|
266
|
+
* `onDateSelect`, which fires for click-drag range selection.
|
|
267
|
+
* Works in every view INCLUDING the all-day lane of vertical resource
|
|
268
|
+
* views — FullCalendar's native `dateClick` does not fire there, so the
|
|
269
|
+
* wrapper synthesizes the payload internally; consumers never need the
|
|
270
|
+
* native-listener workaround the platform carries.
|
|
271
|
+
*/
|
|
272
|
+
onDateClick?: (info: CalendarDateClickInfo) => void;
|
|
101
273
|
/** Allow drag-drop rescheduling. */
|
|
102
274
|
editable?: boolean;
|
|
103
275
|
/** Allow resize gestures on events. Defaults to `editable`. */
|
|
@@ -110,6 +282,12 @@ export interface CalendarProps {
|
|
|
110
282
|
className?: string;
|
|
111
283
|
/** Mask patient titles — announces state changes via aria-live. */
|
|
112
284
|
privacyMode?: boolean;
|
|
285
|
+
/**
|
|
286
|
+
* Render the decorative status accent bar on event cards.
|
|
287
|
+
* The platform's model (colour = picker choice, status = icons) passes
|
|
288
|
+
* false. @default true
|
|
289
|
+
*/
|
|
290
|
+
eventStatusAccent?: boolean;
|
|
113
291
|
/** Interaction mode — renders a sticky banner when not `'default'`. */
|
|
114
292
|
mode?: CalendarMode;
|
|
115
293
|
/** Override text for the mode banner. */
|
|
@@ -122,6 +300,16 @@ export interface CalendarProps {
|
|
|
122
300
|
onModeCancel?: () => void;
|
|
123
301
|
/** Optional alert banner rendered above the mode banner. */
|
|
124
302
|
alertBanner?: ReactNode;
|
|
303
|
+
/**
|
|
304
|
+
* Weekdays to hide entirely, in JavaScript day numbering:
|
|
305
|
+
* 0 = Sunday … 6 = Saturday (e.g. `[0]` hides Sundays — the AlfaDocs
|
|
306
|
+
* platform default for every practice user). NOTE: the platform stores
|
|
307
|
+
* ISO day numbers (1 = Monday … 7 = Sunday) per user and converts to JS
|
|
308
|
+
* numbering consumer-side (`Settings.php` does `$day % 7`) — this prop
|
|
309
|
+
* takes the JS-numbered result only; the kit performs no conversion.
|
|
310
|
+
* Omitted / empty array shows all seven days.
|
|
311
|
+
*/
|
|
312
|
+
hiddenDays?: number[];
|
|
125
313
|
/** Lower bound of the time axis (e.g. '07:00'). */
|
|
126
314
|
slotMinTime?: string;
|
|
127
315
|
/** Upper bound of the time axis (e.g. '23:00'). */
|
|
@@ -162,7 +350,13 @@ export interface CalendarProps {
|
|
|
162
350
|
* Orientation for resource views. `vertical` (default) uses
|
|
163
351
|
* `resourceTimeGrid` — resources as columns, time as rows.
|
|
164
352
|
* `horizontal` uses `resourceTimeline` — resources as rows, time as columns.
|
|
165
|
-
*
|
|
353
|
+
* Also applies to the plain `timeGridDay` / `timeGridWeek` views:
|
|
354
|
+
* under `horizontal` they render as the plain `timelineDay` /
|
|
355
|
+
* `timelineWeek` timelines (no resources), mirroring the platform's
|
|
356
|
+
* per-user calendarResourceView='horizontal' setting.
|
|
357
|
+
* `dayGridMonth` / `listWeek` are orientation-free. Timeline rendering
|
|
358
|
+
* requires the Scheduler license (already covered by
|
|
359
|
+
* `schedulerLicenseKey`).
|
|
166
360
|
*/
|
|
167
361
|
resourceLayout?: 'vertical' | 'horizontal';
|
|
168
362
|
/**
|
|
@@ -172,6 +366,66 @@ export interface CalendarProps {
|
|
|
172
366
|
* prefixes the title when `resource.color` is set.
|
|
173
367
|
*/
|
|
174
368
|
showResourceInitials?: boolean;
|
|
369
|
+
/**
|
|
370
|
+
* Width of the resource-name column ("resource area") in horizontal
|
|
371
|
+
* timeline views. Any CSS dimension — the platform passes '14%'.
|
|
372
|
+
* No-op in vertical and non-resource views (no resource area exists).
|
|
373
|
+
* Defaults to FullCalendar's own 30%.
|
|
374
|
+
*/
|
|
375
|
+
resourceAreaWidth?: string | number;
|
|
376
|
+
/**
|
|
377
|
+
* Header label above the resource area of horizontal timeline views.
|
|
378
|
+
* The reserved values 'chairs' and 'operators' render the kit's
|
|
379
|
+
* localised strings (calendar.resourceLabel.*, all 18 locales — the
|
|
380
|
+
* platform's hardcoded 'Poltrone'/'Operatori', localised). Any other
|
|
381
|
+
* string renders verbatim: pass an app-translated string, never a raw
|
|
382
|
+
* literal. No-op in vertical and non-resource views. Default: empty.
|
|
383
|
+
*/
|
|
384
|
+
resourceAreaHeader?: 'chairs' | 'operators' | (string & {});
|
|
385
|
+
/**
|
|
386
|
+
* Assumed duration for events that have a `start` but no `end` — the
|
|
387
|
+
* platform passes the per-user default appointment length here
|
|
388
|
+
* (NewCalendar `defaultAppointmentDuration`). Two shapes:
|
|
389
|
+
* - a FullCalendar duration string — `'00:30'` / `'00:30:00'`;
|
|
390
|
+
* - a number of MINUTES (the shape the platform stores per user,
|
|
391
|
+
* 1–1439). Numbers are converted internally to `{ minutes: n }` and
|
|
392
|
+
* are NEVER forwarded raw — FullCalendar would misread a bare number
|
|
393
|
+
* as milliseconds.
|
|
394
|
+
* Omitted = FullCalendar's default of 1 hour. Affects rendered height /
|
|
395
|
+
* span and drag/resize geometry of end-less timed events only; all-day
|
|
396
|
+
* events use FullCalendar's separate 1-day default.
|
|
397
|
+
*/
|
|
398
|
+
defaultTimedEventDuration?: string | number;
|
|
399
|
+
/**
|
|
400
|
+
* Shade alternate time-slot rows in time-grid views — a per-user
|
|
401
|
+
* readability aid (the platform's `showZebraRowsInCalendar` setting).
|
|
402
|
+
* Token-based tint that adapts to all four themes. Applies to the
|
|
403
|
+
* vertical `timeGrid*` / `resourceTimeGrid*` slot body only; no-op in
|
|
404
|
+
* month, list, and timeline views (same surface the platform shades).
|
|
405
|
+
* @default false
|
|
406
|
+
*/
|
|
407
|
+
zebraRows?: boolean;
|
|
408
|
+
/**
|
|
409
|
+
* Privacy / observability seam — NOT a styling hook. When set, the kit
|
|
410
|
+
* stamps this class (space-separated classes allowed) on every
|
|
411
|
+
* patient-bearing internal surface so session-replay / analytics
|
|
412
|
+
* tooling can mask them in one move: time-slot lanes, event harnesses
|
|
413
|
+
* (all views, including drag mirrors, the "+N more" popover, and
|
|
414
|
+
* background events), the built-in toolbar's navigation buttons and
|
|
415
|
+
* title, the mode-banner label, and the aria-live announcement region
|
|
416
|
+
* (drop/resize/focus announcements carry patient titles). The
|
|
417
|
+
* reference consumer passes PostHog's marker so session replay masks
|
|
418
|
+
* the agenda: `maskClassName="ph-no-capture"`. Resource labels
|
|
419
|
+
* (staff names, not patient data) and time-axis labels are
|
|
420
|
+
* deliberately not stamped — matching the platform. Consumer-provided
|
|
421
|
+
* slots (`alertBanner`, `toolbarEnd`) are not stamped either — the kit
|
|
422
|
+
* cannot reach inside arbitrary JSX, so stamp your own node if its
|
|
423
|
+
* content can carry patient data. Trade-off: markers like
|
|
424
|
+
* `ph-no-capture` suppress analytics autocapture as well as replay on
|
|
425
|
+
* stamped elements (toolbar navigation clicks included) — instrument
|
|
426
|
+
* such interactions explicitly if you need them in analytics.
|
|
427
|
+
*/
|
|
428
|
+
maskClassName?: string;
|
|
175
429
|
}
|
|
176
430
|
export interface CalendarHandle {
|
|
177
431
|
/** Returns the internal FullCalendar instance for advanced use. */
|
|
@@ -201,6 +455,26 @@ export interface CalendarHandle {
|
|
|
201
455
|
* for EU-leaning locales and Sunday for en-US / he-IL / ar-SA.
|
|
202
456
|
*/
|
|
203
457
|
export declare function resolveFirstDay(locale: string): number;
|
|
458
|
+
export interface PerDateHiding {
|
|
459
|
+
/** `${resourceId}:${YYYY-MM-DD}` membership set (O(1) lookups — the
|
|
460
|
+
* generators run at high volume during FC's sizing passes). */
|
|
461
|
+
hiddenCells: ReadonlySet<string>;
|
|
462
|
+
/** date → count of resources hidden on that date. */
|
|
463
|
+
hiddenCountByDate: ReadonlyMap<string, number>;
|
|
464
|
+
/** Column count per date when nothing is hidden. */
|
|
465
|
+
resourceCount: number;
|
|
466
|
+
/** False when no resource carries hiddenDates OR datesAboveResources
|
|
467
|
+
* is false — every hiding hook is an O(1) no-op then. */
|
|
468
|
+
active: boolean;
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* Pure derivation of the per-date hiding lookups from the `resources`
|
|
472
|
+
* prop — the kit-internal counterpart of the platform's server-computed
|
|
473
|
+
* `operatorDatesToHide` / `datesToHide` / `dateColSpans` triple (the
|
|
474
|
+
* latter two are derived here, never supplied). Exported for unit tests
|
|
475
|
+
* (same precedent as `resolveFullCalendarView`).
|
|
476
|
+
*/
|
|
477
|
+
export declare function buildPerDateHiding(resources: readonly CalendarResource[] | undefined, datesAboveResources: boolean): PerDateHiding;
|
|
204
478
|
export interface CalendarToolbarProps {
|
|
205
479
|
/** Title shown in the toolbar (e.g. "April 2026"). Typically
|
|
206
480
|
* produced by `calendarHandle.getTitle()`. */
|
|
@@ -215,6 +489,9 @@ export interface CalendarToolbarProps {
|
|
|
215
489
|
end?: ReactNode;
|
|
216
490
|
/** Additional className. */
|
|
217
491
|
className?: string;
|
|
492
|
+
/** Same contract as `CalendarProps.maskClassName` — stamped on the
|
|
493
|
+
* today/prev/next buttons and the title. */
|
|
494
|
+
maskClassName?: string;
|
|
218
495
|
}
|
|
219
496
|
export declare const CalendarToolbar: import("react").ForwardRefExoticComponent<CalendarToolbarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
220
497
|
declare const CalendarInner: import("react").ForwardRefExoticComponent<CalendarProps & import("react").RefAttributes<CalendarHandle>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/calendar.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAUL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/calendar.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAUL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AA8Bf,OAAO,oDAAoD,CAAC;AAY5D,MAAM,MAAM,YAAY,GAEpB,cAAc,GACd,cAAc,GACd,aAAa,GACb,UAAU,GAEV,0BAA0B,GAC1B,gCAAgC,GAChC,2BAA2B,GAE3B,6BAA6B,GAC7B,mCAAmC,GACnC,8BAA8B,CAAC;AA8CnC;;;;;;;;GAQG;AACH,wBAAgB,uBAAuB,CACrC,IAAI,EAAE,YAAY,EAClB,cAAc,GAAE,UAAU,GAAG,YAAyB,GACrD,MAAM,CAeR;AA2CD,MAAM,MAAM,mBAAmB,GAC3B,WAAW,GACX,SAAS,GACT,SAAS,GACT,MAAM,GACN,WAAW,GACX,QAAQ,CAAC;AAEb,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;AAElE,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,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M,EAAE,MAAM,GAAG,MAAM,CAqBtD;AAoBD,MAAM,WAAW,aAAa;IAC5B;oEACgE;IAChE,WAAW,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IACjC,qDAAqD;IACrD,iBAAiB,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/C,oDAAoD;IACpD,aAAa,EAAE,MAAM,CAAC;IACtB;8DAC0D;IAC1D,MAAM,EAAE,OAAO,CAAC;CACjB;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAChC,SAAS,EAAE,SAAS,gBAAgB,EAAE,GAAG,SAAS,EAClD,mBAAmB,EAAE,OAAO,GAC3B,aAAa,CAwBf;AAuFD,MAAM,WAAW,oBAAoB;IACnC;mDAC+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,uCAAuC;IACvC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,mCAAmC;IACnC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,iDAAiD;IACjD,GAAG,CAAC,EAAE,SAAS,CAAC;IAChB,4BAA4B;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;iDAC6C;IAC7C,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AA2BD,eAAO,MAAM,eAAe,iHAuF3B,CAAC;AAOF,QAAA,MAAM,aAAa,0GA25ClB,CAAC;AAQF,KAAK,iBAAiB,GAAG,OAAO,aAAa,GAAG;IAC9C,OAAO,EAAE,OAAO,eAAe,CAAC;CACjC,CAAC;AACF,eAAO,MAAM,QAAQ,EAAoB,iBAAiB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Calendar, resolveFullCalendarView } from './calendar';
|
|
2
|
-
export type { CalendarProps, CalendarEvent, CalendarResource, CalendarView, CalendarEventStatus, CalendarMode, CalendarEventDropInfo, CalendarEventResizeInfo, CalendarDateSelectInfo, CalendarHandle, CalendarToolbarProps, } from './calendar';
|
|
2
|
+
export type { CalendarProps, CalendarEvent, CalendarResource, CalendarView, CalendarEventStatus, CalendarMode, CalendarEventDropInfo, CalendarEventResizeInfo, CalendarDateSelectInfo, CalendarDatesSetInfo, CalendarDateClickInfo, CalendarEventClickMeta, CalendarHandle, CalendarToolbarProps, } from './calendar';
|
|
3
3
|
export { calendarAgent } from './calendar.agent';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC/D,YAAY,EACV,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,YAAY,EACZ,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,cAAc,EACd,oBAAoB,GACrB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/calendar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC/D,YAAY,EACV,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,YAAY,EACZ,qBAAqB,EACrB,uBAAuB,EACvB,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,sBAAsB,EACtB,cAAc,EACd,oBAAoB,GACrB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import type { HTMLAttributes } from 'react';
|
|
2
|
+
import type { CalendarEventStatus } from '../calendar/calendar';
|
|
3
|
+
/**
|
|
4
|
+
* The single painted surface of a calendar event.
|
|
5
|
+
*
|
|
6
|
+
* Colour model (platform parity): the caller's picker hex
|
|
7
|
+
* (`backgroundColor` / `textColor` / `borderColor`) is the ONLY thing that
|
|
8
|
+
* paints the card. `status` never paints the surface — it selects an icon,
|
|
9
|
+
* an optional decorative accent bar, and (for `cancelled`) a line-through.
|
|
10
|
+
*
|
|
11
|
+
* Non-interactive by design: inside FullCalendar the outer harness anchor
|
|
12
|
+
* owns click/drag/focus; standalone consumers wrap the card in their own
|
|
13
|
+
* button/link. No onClick in the contract.
|
|
14
|
+
*/
|
|
15
|
+
export interface CalendarEventCardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
16
|
+
/**
|
|
17
|
+
* Primary line. Pass the ALREADY-MASKED title when privacy applies — the
|
|
18
|
+
* card never receives a name it must not render, so it cannot leak it
|
|
19
|
+
* (visually or via the composed aria-label).
|
|
20
|
+
*/
|
|
21
|
+
title: string;
|
|
22
|
+
/**
|
|
23
|
+
* Secondary description line, normal weight, truncated. Note: the
|
|
24
|
+
* Calendar's privacy mode does NOT mask the suffix (current behaviour,
|
|
25
|
+
* preserved deliberately).
|
|
26
|
+
*/
|
|
27
|
+
suffix?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Pre-formatted, localised time range (e.g. "09:00 – 09:45"). The
|
|
30
|
+
* Calendar adapter computes it via Intl.DateTimeFormat.formatRange.
|
|
31
|
+
* Included in the composed aria-label whenever present (even when the
|
|
32
|
+
* visual time line is suppressed via showTime/allDay — matches today's
|
|
33
|
+
* Calendar behaviour byte-for-byte).
|
|
34
|
+
*/
|
|
35
|
+
rangeText?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Gates the VISUAL time line only (aria keeps rangeText). Mirrors
|
|
38
|
+
* CalendarProps.showTime. @default true
|
|
39
|
+
*/
|
|
40
|
+
showTime?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* All-day events suppress the visual time line (aria keeps rangeText).
|
|
43
|
+
* @default false
|
|
44
|
+
*/
|
|
45
|
+
allDay?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Lifecycle state (6-state, matches the platform DoctorAppointment
|
|
48
|
+
* lifecycle) → status icon + optional accent bar + line-through for
|
|
49
|
+
* `cancelled` + localised label in the aria-label. NEVER paints the
|
|
50
|
+
* card surface.
|
|
51
|
+
*/
|
|
52
|
+
status?: CalendarEventStatus;
|
|
53
|
+
/**
|
|
54
|
+
* Render the 3px inline-start accent bar in the status's semantic token
|
|
55
|
+
* colour. Purely decorative (aria-hidden) — the icon and aria-label carry
|
|
56
|
+
* status regardless. The platform (colour = picker, status = icons only)
|
|
57
|
+
* passes false via CalendarProps.eventStatusAccent. @default true
|
|
58
|
+
*/
|
|
59
|
+
statusAccent?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Runtime hex (#rgb or #rrggbb) from the consumer's colour picker — THE
|
|
62
|
+
* painted surface. Injected as `--calendar-event-bg` via the sanctioned
|
|
63
|
+
* inline custom-property pattern (23-constraints §inline-style exception).
|
|
64
|
+
*/
|
|
65
|
+
backgroundColor?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Runtime hex paired with backgroundColor. When omitted while
|
|
68
|
+
* backgroundColor is set, the card auto-derives black/white ink by
|
|
69
|
+
* luminance (provably WCAG AA ≥ 4.58:1 for any opaque colour).
|
|
70
|
+
*/
|
|
71
|
+
textColor?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Runtime hex border for delineating light surfaces. The platform sends
|
|
74
|
+
* '#cccccc' when backgroundColor is '#ffffff' and omits it otherwise.
|
|
75
|
+
* Falls back to transparent; border-width is constant (1px always
|
|
76
|
+
* rendered), so toggling never shifts layout and event boundaries
|
|
77
|
+
* survive forced-colors / Windows High Contrast for free.
|
|
78
|
+
*/
|
|
79
|
+
borderColor?: string;
|
|
80
|
+
/** Globe icon + diagonal stripe overlay. */
|
|
81
|
+
isBookedOnline?: boolean;
|
|
82
|
+
/** AlertTriangle icon. */
|
|
83
|
+
hasUnassignedPatient?: boolean;
|
|
84
|
+
/** HeartPulse icon. */
|
|
85
|
+
hasHighlightedAnamnesis?: boolean;
|
|
86
|
+
/** Euro icon. */
|
|
87
|
+
hasBillableAmount?: boolean;
|
|
88
|
+
/** Video icon. */
|
|
89
|
+
isTelehealth?: boolean;
|
|
90
|
+
/**
|
|
91
|
+
* Resource title (chair/operator) woven into the composed aria-label
|
|
92
|
+
* only — never rendered visually. The Calendar adapter resolves
|
|
93
|
+
* resourceId → title before passing it.
|
|
94
|
+
*/
|
|
95
|
+
resourceLabel?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Stable event id → emitted as `data-event-id` (Calendar.focusEvent
|
|
98
|
+
* targets it) and used as the contrast-warning dedup context.
|
|
99
|
+
*/
|
|
100
|
+
eventId?: string;
|
|
101
|
+
}
|
|
102
|
+
export declare const CalendarEventCard: import("react").ForwardRefExoticComponent<CalendarEventCardProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
103
|
+
//# sourceMappingURL=calendar-event-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar-event-card.d.ts","sourceRoot":"","sources":["../../../src/components/calendar-event-card/calendar-event-card.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAiB,cAAc,EAAE,MAAM,OAAO,CAAC;AAmB3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAkHhE;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAClD,cAAc,CAAC,cAAc,CAAC,EAC9B,OAAO,CACR;IACC;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,mBAAmB,CAAC;IAC7B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,4CAA4C;IAC5C,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,0BAA0B;IAC1B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,uBAAuB;IACvB,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,iBAAiB;IACjB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,kBAAkB;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAMD,eAAO,MAAM,iBAAiB,mHAkJ7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/calendar-event-card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,YAAY,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-input.d.ts","sourceRoot":"","sources":["../../../src/components/chat-input/chat-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAUL,KAAK,SAAS,EACd,KAAK,sBAAsB,EAC5B,MAAM,OAAO,CAAC;AACf,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0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MAAM,SAAS,2GAmSrB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as c, c as e, a as i, b as l, f as o, w as t, i as C } from "../../_chunks/fiscal-code-input-
|
|
1
|
+
import { F as c, c as e, a as i, b as l, f as o, w as t, i as C } from "../../_chunks/fiscal-code-input-QP9gkyDE.js";
|
|
2
2
|
export {
|
|
3
3
|
c as FiscalCodeInput,
|
|
4
4
|
e as calculateCodiceFiscale,
|
|
@@ -166,6 +166,7 @@ export * from './muscle-scheme';
|
|
|
166
166
|
export * from './optical-prescription';
|
|
167
167
|
export * from './booking';
|
|
168
168
|
export * from './calendar';
|
|
169
|
+
export * from './calendar-event-card';
|
|
169
170
|
export * from './care-plan-card';
|
|
170
171
|
export * from './care-plan-entry-card';
|
|
171
172
|
export * from './care-plan-header';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,uBAAuB,EACvB,aAAa,EACb,qBAAqB,EACrB,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,yBAAyB,EACzB,iBAAiB,GAClB,MAAM,UAAU,CAAC;AAClB,YAAY,EACV,SAAS,EACT,eAAe,EACf,4BAA4B,EAC5B,eAAe,EACf,uBAAuB,EACvB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,uBAAuB,GACxB,MAAM,UAAU,CAAC;AAGlB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AAEzC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;AAO/C,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAM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