@alfadocs/ui-kit 1.46.0 → 1.47.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.
- package/dist/_chunks/booking-C4MwImkS.js +3362 -0
- package/dist/_chunks/calendar-workspace-BmscntRR.js +12528 -0
- package/dist/_chunks/control-room-rail-CdBOXIqX.js +366 -0
- package/dist/_chunks/{freemium-paywall-Cz-O9lQD.js → freemium-paywall-BaW5ODc9.js} +2 -2
- package/dist/_chunks/{patient-details-DUj1htsH.js → patient-details-yrgkSeEY.js} +2 -2
- package/dist/_chunks/{patient-field-row-CO0WR7yA.js → patient-field-row-DCMkFGqI.js} +2 -2
- package/dist/_chunks/{patient-summary-card-DNzdYjxE.js → patient-summary-card-CmEFflGS.js} +2 -2
- package/dist/_chunks/payment-form-DqJFiplX.js +881 -0
- package/dist/_chunks/{phone-input-BsZIoE36.js → phone-input-IWrGOCwm.js} +40 -39
- package/dist/_chunks/{stepper-accordion-DmVykr5F.js → stepper-accordion-jMR8NaOB.js} +2 -1
- package/dist/agent-catalog.json +5 -4
- package/dist/agent-i18n/en.json +2 -2
- package/dist/components/booking/booking-types.d.ts +60 -1
- package/dist/components/booking/booking.d.ts +1 -1
- package/dist/components/booking/details-form.d.ts +5 -1
- package/dist/components/booking/index.d.ts +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/booking/payment.d.ts +9 -0
- package/dist/components/booking/use-booking-payment.d.ts +14 -0
- package/dist/components/control-room-rail/control-room-rail.d.ts +9 -2
- package/dist/components/control-room-rail/index.d.ts +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/payment-form/index.d.ts +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/payment-form/payment-form.d.ts +35 -3
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/stepper-accordion/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +36 -1
- package/dist/i18n/locales/ar.js +36 -1
- package/dist/i18n/locales/de.d.ts +36 -1
- package/dist/i18n/locales/de.js +36 -1
- package/dist/i18n/locales/el.d.ts +36 -1
- package/dist/i18n/locales/el.js +36 -1
- package/dist/i18n/locales/en.d.ts +36 -1
- package/dist/i18n/locales/en.js +36 -1
- package/dist/i18n/locales/es.d.ts +36 -1
- package/dist/i18n/locales/es.js +36 -1
- package/dist/i18n/locales/fr.d.ts +36 -1
- package/dist/i18n/locales/fr.js +36 -1
- package/dist/i18n/locales/hi.d.ts +36 -1
- package/dist/i18n/locales/hi.js +36 -1
- package/dist/i18n/locales/it.d.ts +36 -1
- package/dist/i18n/locales/it.js +36 -1
- package/dist/i18n/locales/ja.d.ts +36 -1
- package/dist/i18n/locales/ja.js +36 -1
- package/dist/i18n/locales/nl.d.ts +36 -1
- package/dist/i18n/locales/nl.js +36 -1
- package/dist/i18n/locales/pl.d.ts +36 -1
- package/dist/i18n/locales/pl.js +36 -1
- package/dist/i18n/locales/pt.d.ts +36 -1
- package/dist/i18n/locales/pt.js +36 -1
- package/dist/i18n/locales/ro.d.ts +36 -1
- package/dist/i18n/locales/ro.js +36 -1
- package/dist/i18n/locales/ru.d.ts +36 -1
- package/dist/i18n/locales/ru.js +36 -1
- package/dist/i18n/locales/sq.d.ts +36 -1
- package/dist/i18n/locales/sq.js +36 -1
- package/dist/i18n/locales/sv.d.ts +36 -1
- package/dist/i18n/locales/sv.js +36 -1
- package/dist/i18n/locales/tr.d.ts +36 -1
- package/dist/i18n/locales/tr.js +36 -1
- package/dist/i18n/locales/zh.d.ts +36 -1
- package/dist/i18n/locales/zh.js +36 -1
- package/dist/index.js +9 -9
- package/dist/locales/ar.json +36 -1
- package/dist/locales/de.json +36 -1
- package/dist/locales/el.json +36 -1
- package/dist/locales/en.json +36 -1
- package/dist/locales/es.json +36 -1
- package/dist/locales/fr.json +36 -1
- package/dist/locales/hi.json +36 -1
- package/dist/locales/it.json +36 -1
- package/dist/locales/ja.json +36 -1
- package/dist/locales/nl.json +36 -1
- package/dist/locales/pl.json +36 -1
- package/dist/locales/pt.json +36 -1
- package/dist/locales/ro.json +36 -1
- package/dist/locales/ru.json +36 -1
- package/dist/locales/sq.json +36 -1
- package/dist/locales/sv.json +36 -1
- package/dist/locales/tr.json +36 -1
- package/dist/locales/zh.json +36 -1
- package/dist/patterns/calendar/calendar-editor-fields.d.ts +33 -0
- package/dist/patterns/calendar/calendar-sticky-offset.d.ts +20 -0
- package/dist/patterns/calendar/calendar-workspace.d.ts +88 -0
- package/dist/patterns/calendar/calendar.data.d.ts +17 -0
- package/dist/patterns/calendar/calendar.journey.d.ts +2 -0
- package/dist/patterns/calendar/calendar.sheets.d.ts +2 -0
- package/dist/patterns/calendar/calendar.surface.d.ts +6 -1
- package/dist/patterns/calendar/calendar.types.d.ts +24 -10
- package/dist/patterns/calendar/index.d.ts +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/booking-B7gA9gFB.js +0 -3017
- package/dist/_chunks/calendar-workspace-BB-BZT7W.js +0 -12251
- package/dist/_chunks/control-room-rail-Cv7GpMqX.js +0 -354
- package/dist/_chunks/payment-form-BHMDqW9C.js +0 -767
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
import { jsx as A, jsxs as Y, Fragment as Ro } from "react/jsx-runtime";
|
|
2
|
+
import { useState as X, useCallback as b, useMemo as w, useRef as $, useContext as O, useId as vo, useEffect as To, createContext as bo, forwardRef as Co } from "react";
|
|
3
|
+
import { useTranslation as ho } from "react-i18next";
|
|
4
|
+
import { I as Z } from "./icon-button-CehAeZoP.js";
|
|
5
|
+
import { a as xo } from "./panel-header-D_mTdhUp.js";
|
|
6
|
+
import { T as yo } from "./tool-rail-CCFqDfAn.js";
|
|
7
|
+
import { u as W } from "./use-persistent-state-nZwZAnE9.js";
|
|
8
|
+
import { S as Ao } from "./star-Bf9L2Uot.js";
|
|
9
|
+
import { X as wo } from "./x-B5YnXwCz.js";
|
|
10
|
+
const So = {
|
|
11
|
+
id: "control-room-rail",
|
|
12
|
+
capabilities: ["open", "close", "select_single"],
|
|
13
|
+
state: {
|
|
14
|
+
activeToolId: {
|
|
15
|
+
type: "string | null",
|
|
16
|
+
descriptionKey: "ui.toolRail.agent.state.activeToolId",
|
|
17
|
+
description: "Id of the tool whose panel is currently open, or null when the rail is collapsed to its strip. No panel content is ever exposed.",
|
|
18
|
+
read: (t) => t.getActiveToolId()
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
actions: {
|
|
22
|
+
open: {
|
|
23
|
+
// Pure ephemeral panel state (open) — no data loss, no external effect.
|
|
24
|
+
safety: "read",
|
|
25
|
+
argsType: "{ id: string }",
|
|
26
|
+
argsSchema: {
|
|
27
|
+
type: "object",
|
|
28
|
+
properties: { id: { type: "string" } },
|
|
29
|
+
required: ["id"]
|
|
30
|
+
},
|
|
31
|
+
idempotent: !0,
|
|
32
|
+
descriptionKey: "ui.toolRail.agent.actions.open",
|
|
33
|
+
description: "Open the given tool's panel.",
|
|
34
|
+
examples: [{ args: { id: "inbox" }, note: "Open the inbox tool panel." }],
|
|
35
|
+
invoke: (t, s) => {
|
|
36
|
+
t.open(s.id);
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
close: {
|
|
40
|
+
safety: "read",
|
|
41
|
+
idempotent: !0,
|
|
42
|
+
descriptionKey: "ui.toolRail.agent.actions.close",
|
|
43
|
+
description: "Collapse the rail to its strip (no active tool).",
|
|
44
|
+
invoke: (t) => {
|
|
45
|
+
t.close();
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
select_tool: {
|
|
49
|
+
safety: "read",
|
|
50
|
+
argsType: "{ id: string | null }",
|
|
51
|
+
argsSchema: {
|
|
52
|
+
type: "object",
|
|
53
|
+
properties: { id: { type: ["string", "null"] } },
|
|
54
|
+
required: ["id"]
|
|
55
|
+
},
|
|
56
|
+
idempotent: !0,
|
|
57
|
+
descriptionKey: "ui.toolRail.agent.actions.selectTool",
|
|
58
|
+
description: "Set the active tool by id (opens its panel), or pass null to collapse.",
|
|
59
|
+
invoke: (t, s) => {
|
|
60
|
+
t.setActiveTool(s.id);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
domHooks: {
|
|
65
|
+
root: {
|
|
66
|
+
attr: "data-component",
|
|
67
|
+
value: "control-room-rail",
|
|
68
|
+
description: "Marks the ControlRoomRail wrapper."
|
|
69
|
+
},
|
|
70
|
+
instanceId: {
|
|
71
|
+
attr: "data-component-id",
|
|
72
|
+
sourceProp: "id",
|
|
73
|
+
description: "Sourced from the id prop. Required to address a specific rail from the agent."
|
|
74
|
+
},
|
|
75
|
+
item: {
|
|
76
|
+
attr: "data-tool-id",
|
|
77
|
+
description: "Stable tool id emitted on each strip IconButton. The active icon also carries data-active set to its id."
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}, H = bo(null);
|
|
81
|
+
function Xo({
|
|
82
|
+
globalTools: t = [],
|
|
83
|
+
children: s
|
|
84
|
+
}) {
|
|
85
|
+
const [l, n] = X(
|
|
86
|
+
() => /* @__PURE__ */ new Map()
|
|
87
|
+
), f = b(
|
|
88
|
+
(i, a) => {
|
|
89
|
+
n((R) => {
|
|
90
|
+
const q = new Map(R);
|
|
91
|
+
return q.set(i, a), q;
|
|
92
|
+
});
|
|
93
|
+
},
|
|
94
|
+
[]
|
|
95
|
+
), x = b((i) => {
|
|
96
|
+
n((a) => {
|
|
97
|
+
if (!a.has(i)) return a;
|
|
98
|
+
const R = new Map(a);
|
|
99
|
+
return R.delete(i), R;
|
|
100
|
+
});
|
|
101
|
+
}, []), c = w(
|
|
102
|
+
() => Array.from(l.values()).flat(),
|
|
103
|
+
[l]
|
|
104
|
+
), p = $(null), y = b((i) => {
|
|
105
|
+
p.current = i;
|
|
106
|
+
}, []), d = b((i) => {
|
|
107
|
+
var a;
|
|
108
|
+
(a = p.current) == null || a.setActiveTool(i);
|
|
109
|
+
}, []), m = b(() => {
|
|
110
|
+
var i;
|
|
111
|
+
(i = p.current) == null || i.setActiveTool(null);
|
|
112
|
+
}, []), g = w(
|
|
113
|
+
() => ({
|
|
114
|
+
globalTools: t,
|
|
115
|
+
contextualTools: c,
|
|
116
|
+
registerContextualTools: f,
|
|
117
|
+
unregisterContextualTools: x,
|
|
118
|
+
registerRail: y,
|
|
119
|
+
openTool: d,
|
|
120
|
+
closeTool: m
|
|
121
|
+
}),
|
|
122
|
+
[
|
|
123
|
+
t,
|
|
124
|
+
c,
|
|
125
|
+
f,
|
|
126
|
+
x,
|
|
127
|
+
y,
|
|
128
|
+
d,
|
|
129
|
+
m
|
|
130
|
+
]
|
|
131
|
+
);
|
|
132
|
+
return /* @__PURE__ */ A(H.Provider, { value: g, children: s });
|
|
133
|
+
}
|
|
134
|
+
function $o(t) {
|
|
135
|
+
const s = O(H), l = s == null ? void 0 : s.registerContextualTools, n = s == null ? void 0 : s.unregisterContextualTools, f = vo();
|
|
136
|
+
To(() => {
|
|
137
|
+
if (!(!l || !n))
|
|
138
|
+
return l(f, t), () => n(f);
|
|
139
|
+
}, [l, n, f, t]);
|
|
140
|
+
}
|
|
141
|
+
function ko() {
|
|
142
|
+
const t = O(H);
|
|
143
|
+
return w(() => {
|
|
144
|
+
if (!t) return [];
|
|
145
|
+
const s = t.contextualTools.map((n) => ({
|
|
146
|
+
...n,
|
|
147
|
+
scope: "contextual"
|
|
148
|
+
})), l = t.globalTools.map((n) => ({
|
|
149
|
+
...n,
|
|
150
|
+
scope: "global"
|
|
151
|
+
}));
|
|
152
|
+
return [...s, ...l];
|
|
153
|
+
}, [t]);
|
|
154
|
+
}
|
|
155
|
+
function Do() {
|
|
156
|
+
const t = O(H), s = b(() => {
|
|
157
|
+
}, []);
|
|
158
|
+
return {
|
|
159
|
+
openTool: (t == null ? void 0 : t.openTool) ?? s,
|
|
160
|
+
closeTool: (t == null ? void 0 : t.closeTool) ?? s
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
function Mo() {
|
|
164
|
+
const t = O(H), s = b((l) => {
|
|
165
|
+
}, []);
|
|
166
|
+
return (t == null ? void 0 : t.registerRail) ?? s;
|
|
167
|
+
}
|
|
168
|
+
function Vo(t, s, l, n) {
|
|
169
|
+
const f = s.includes(t), x = l.includes(t);
|
|
170
|
+
if (!f && x) return { toolId: t, action: "pin" };
|
|
171
|
+
if (f && !x)
|
|
172
|
+
return n != null && n.includes(t) ? void 0 : { toolId: t, action: "unpin" };
|
|
173
|
+
const c = (m) => n != null && n.length ? [...n, ...m.filter((g) => !n.includes(g))] : m, p = c(s), y = c(l);
|
|
174
|
+
return p.length !== y.length || p.some((m, g) => y[g] !== m) ? { toolId: t, action: "reorder" } : void 0;
|
|
175
|
+
}
|
|
176
|
+
const Go = Co(function({
|
|
177
|
+
tools: s,
|
|
178
|
+
railLabel: l,
|
|
179
|
+
reorderable: n = !0,
|
|
180
|
+
favoriteIds: f,
|
|
181
|
+
defaultFavoriteIds: x,
|
|
182
|
+
pinnedFavoriteIds: c,
|
|
183
|
+
onFavoriteIdsChange: p,
|
|
184
|
+
persistFavoritesKey: y = "ui.controlRoom.favorites",
|
|
185
|
+
activeToolId: d,
|
|
186
|
+
defaultActiveToolId: m = null,
|
|
187
|
+
onActiveToolChange: g,
|
|
188
|
+
panelWidth: i,
|
|
189
|
+
onPanelWidthChange: a,
|
|
190
|
+
persistPanelWidthKey: R,
|
|
191
|
+
...q
|
|
192
|
+
}, M) {
|
|
193
|
+
const { t: C } = ho(), [F, P] = X(
|
|
194
|
+
d ?? m ?? null
|
|
195
|
+
), D = d !== void 0 ? d : F, I = b(
|
|
196
|
+
(o) => {
|
|
197
|
+
d === void 0 && P(o), g == null || g(o);
|
|
198
|
+
},
|
|
199
|
+
[d, g]
|
|
200
|
+
), oo = ko(), S = s ?? oo, _ = f !== void 0, [to, eo] = W(
|
|
201
|
+
y,
|
|
202
|
+
() => x ?? S.filter((o) => o.scope === "global").map((o) => o.id),
|
|
203
|
+
{ disabled: _ }
|
|
204
|
+
), B = _ ? f : to, V = w(() => c != null && c.length ? [
|
|
205
|
+
...c,
|
|
206
|
+
...B.filter((o) => !c.includes(o))
|
|
207
|
+
] : B, [c, B]), z = i !== void 0, [no, G] = W(R ?? "ui.controlRoom.panelWidth.unused", null, {
|
|
208
|
+
disabled: z || !R
|
|
209
|
+
}), so = z ? i : R ? no : void 0, ro = b(
|
|
210
|
+
(o) => {
|
|
211
|
+
!z && R && G(o), a == null || a(o);
|
|
212
|
+
},
|
|
213
|
+
[
|
|
214
|
+
z,
|
|
215
|
+
R,
|
|
216
|
+
G,
|
|
217
|
+
a
|
|
218
|
+
]
|
|
219
|
+
), v = w(() => {
|
|
220
|
+
const o = /* @__PURE__ */ new Map();
|
|
221
|
+
for (const r of S) o.set(r.id, r);
|
|
222
|
+
return o;
|
|
223
|
+
}, [S]), j = w(
|
|
224
|
+
() => new Set(V.filter((o) => v.has(o))),
|
|
225
|
+
[V, v]
|
|
226
|
+
), J = (o, r) => {
|
|
227
|
+
const e = V.filter((T) => v.has(T)), u = r(e);
|
|
228
|
+
_ || eo((T) => r(T.filter((k) => v.has(k)))), p == null || p(
|
|
229
|
+
u,
|
|
230
|
+
Vo(o, e, u, c)
|
|
231
|
+
);
|
|
232
|
+
}, K = w(() => {
|
|
233
|
+
if (!n) return S;
|
|
234
|
+
const o = V.filter((e) => v.has(e)).map((e) => ({
|
|
235
|
+
...v.get(e),
|
|
236
|
+
scope: "global",
|
|
237
|
+
reorderable: !0
|
|
238
|
+
})), r = S.filter((e) => !j.has(e.id)).map((e) => ({
|
|
239
|
+
...e,
|
|
240
|
+
scope: "contextual",
|
|
241
|
+
reorderable: !0
|
|
242
|
+
}));
|
|
243
|
+
return [...o, ...r];
|
|
244
|
+
}, [n, S, V, v, j]), [lo, io] = X(""), L = $(!1), co = (o, r) => {
|
|
245
|
+
const e = r ? C("controlRoom.pinnedAnnounce", {
|
|
246
|
+
tool: o,
|
|
247
|
+
defaultValue: "Pinned {{tool}} to favourites"
|
|
248
|
+
}) : C("controlRoom.unpinnedAnnounce", {
|
|
249
|
+
tool: o,
|
|
250
|
+
defaultValue: "Removed {{tool}} from favourites"
|
|
251
|
+
});
|
|
252
|
+
L.current = !L.current, io(L.current ? e : `${e}`);
|
|
253
|
+
}, ao = (o) => {
|
|
254
|
+
var r;
|
|
255
|
+
co(((r = v.get(o)) == null ? void 0 : r.label) ?? o, !j.has(o)), J(
|
|
256
|
+
o,
|
|
257
|
+
(e) => e.includes(o) ? e.filter((u) => u !== o) : [...e, o]
|
|
258
|
+
);
|
|
259
|
+
}, uo = (o, r) => {
|
|
260
|
+
var u;
|
|
261
|
+
const e = (u = K[o]) == null ? void 0 : u.id;
|
|
262
|
+
e !== void 0 && J(e, (T) => {
|
|
263
|
+
const k = T.filter((h) => v.has(h)), N = k.length;
|
|
264
|
+
if (o < N) {
|
|
265
|
+
if (r >= N) return k.filter((go) => go !== e);
|
|
266
|
+
const h = k.slice();
|
|
267
|
+
return h.splice(o, 1), h.splice(r, 0, e), h;
|
|
268
|
+
}
|
|
269
|
+
if (r <= N) {
|
|
270
|
+
const h = k.slice();
|
|
271
|
+
return h.splice(Math.min(r, N), 0, e), h;
|
|
272
|
+
}
|
|
273
|
+
return T;
|
|
274
|
+
});
|
|
275
|
+
}, fo = ({
|
|
276
|
+
tool: o,
|
|
277
|
+
from: r,
|
|
278
|
+
to: e
|
|
279
|
+
}) => {
|
|
280
|
+
const u = j.size, T = r < u;
|
|
281
|
+
return T && e >= u ? C("controlRoom.unpinnedAnnounce", {
|
|
282
|
+
tool: o.label,
|
|
283
|
+
defaultValue: "Removed {{tool}} from favourites"
|
|
284
|
+
}) : !T && e <= u ? C("controlRoom.pinnedAnnounce", {
|
|
285
|
+
tool: o.label,
|
|
286
|
+
defaultValue: "Pinned {{tool}} to favourites"
|
|
287
|
+
}) : T && e < u ? C("controlRoom.reorderAnnounce", {
|
|
288
|
+
tool: o.label,
|
|
289
|
+
to: e + 1,
|
|
290
|
+
total: u,
|
|
291
|
+
defaultValue: "{{tool}} moved to position {{to}} of {{total}}"
|
|
292
|
+
}) : "";
|
|
293
|
+
}, Q = $(null), U = Mo(), po = b(
|
|
294
|
+
(o) => {
|
|
295
|
+
Q.current = o, U(o), typeof M == "function" ? M(o) : M && (M.current = o);
|
|
296
|
+
},
|
|
297
|
+
[U, M]
|
|
298
|
+
), E = D != null ? v.get(D) ?? null : null, mo = E ? /* @__PURE__ */ Y(Ro, { children: [
|
|
299
|
+
n ? (() => {
|
|
300
|
+
const o = j.has(E.id);
|
|
301
|
+
return /* @__PURE__ */ A(
|
|
302
|
+
Z,
|
|
303
|
+
{
|
|
304
|
+
icon: /* @__PURE__ */ A(
|
|
305
|
+
Ao,
|
|
306
|
+
{
|
|
307
|
+
"aria-hidden": "true",
|
|
308
|
+
fill: o ? "currentColor" : "none",
|
|
309
|
+
className: o ? "ds:text-[color:var(--accent)]" : void 0
|
|
310
|
+
}
|
|
311
|
+
),
|
|
312
|
+
intent: "ghost",
|
|
313
|
+
size: "sm",
|
|
314
|
+
"aria-pressed": o,
|
|
315
|
+
"aria-label": C("controlRoom.favorite", {
|
|
316
|
+
defaultValue: "Favourite"
|
|
317
|
+
}),
|
|
318
|
+
onClick: () => ao(E.id)
|
|
319
|
+
}
|
|
320
|
+
);
|
|
321
|
+
})() : null,
|
|
322
|
+
/* @__PURE__ */ A(
|
|
323
|
+
Z,
|
|
324
|
+
{
|
|
325
|
+
icon: /* @__PURE__ */ A(wo, { "aria-hidden": "true" }),
|
|
326
|
+
intent: "ghost",
|
|
327
|
+
size: "sm",
|
|
328
|
+
"aria-label": C("controlRoom.close", { defaultValue: "Close" }),
|
|
329
|
+
onClick: () => {
|
|
330
|
+
var o;
|
|
331
|
+
return (o = Q.current) == null ? void 0 : o.close();
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
)
|
|
335
|
+
] }) : null;
|
|
336
|
+
return /* @__PURE__ */ Y(xo, { actions: mo, children: [
|
|
337
|
+
/* @__PURE__ */ A(
|
|
338
|
+
yo,
|
|
339
|
+
{
|
|
340
|
+
ref: po,
|
|
341
|
+
dataComponent: "control-room-rail",
|
|
342
|
+
agentAdapter: So,
|
|
343
|
+
tools: K,
|
|
344
|
+
activeToolId: d,
|
|
345
|
+
defaultActiveToolId: m,
|
|
346
|
+
onActiveToolChange: I,
|
|
347
|
+
panelWidth: so,
|
|
348
|
+
onPanelWidthChange: ro,
|
|
349
|
+
railLabel: l ?? C("controlRoom.railLabel", { defaultValue: "Control room" }),
|
|
350
|
+
onReorder: n ? uo : void 0,
|
|
351
|
+
formatReorderAnnouncement: n ? fo : void 0,
|
|
352
|
+
...q
|
|
353
|
+
}
|
|
354
|
+
),
|
|
355
|
+
n ? /* @__PURE__ */ A("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: lo }) : null
|
|
356
|
+
] });
|
|
357
|
+
});
|
|
358
|
+
export {
|
|
359
|
+
Xo as C,
|
|
360
|
+
Go as a,
|
|
361
|
+
ko as b,
|
|
362
|
+
So as c,
|
|
363
|
+
$o as d,
|
|
364
|
+
Do as u
|
|
365
|
+
};
|
|
366
|
+
//# sourceMappingURL=control-room-rail-CdBOXIqX.js.map
|
|
@@ -8,7 +8,7 @@ import { u as Y } from "./use-controllable-state-BiY4xTzM.js";
|
|
|
8
8
|
import { u as Z } from "./registry-DvAUVLHh.js";
|
|
9
9
|
import { B as R } from "./button-CaUe1uyd.js";
|
|
10
10
|
import { P as $ } from "./progress-CK8otcQ-.js";
|
|
11
|
-
import { f as ee } from "./payment-form-
|
|
11
|
+
import { f as ee } from "./payment-form-DqJFiplX.js";
|
|
12
12
|
import { T as se } from "./triangle-alert-CBnO6nq_.js";
|
|
13
13
|
import { C as ae } from "./check-DrFSN__t.js";
|
|
14
14
|
const re = {
|
|
@@ -276,4 +276,4 @@ export {
|
|
|
276
276
|
de as F,
|
|
277
277
|
re as f
|
|
278
278
|
};
|
|
279
|
-
//# sourceMappingURL=freemium-paywall-
|
|
279
|
+
//# sourceMappingURL=freemium-paywall-BaW5ODc9.js.map
|
|
@@ -8,7 +8,7 @@ import { C as ie, b as te, a as se } from "./collapsible-CTjxzGuF.js";
|
|
|
8
8
|
import { D as ae } from "./description-list-BsJ_6CQE.js";
|
|
9
9
|
import { P as de } from "./panel-header-D_mTdhUp.js";
|
|
10
10
|
import { u as re } from "./registry-DvAUVLHh.js";
|
|
11
|
-
import { u as ne, F as le, r as oe, P as ce } from "./patient-field-row-
|
|
11
|
+
import { u as ne, F as le, r as oe, P as ce } from "./patient-field-row-DCMkFGqI.js";
|
|
12
12
|
import { C as pe } from "./clipboard-list-rSzfIYZB.js";
|
|
13
13
|
const me = {
|
|
14
14
|
id: "patient-details",
|
|
@@ -368,4 +368,4 @@ export {
|
|
|
368
368
|
ue as P,
|
|
369
369
|
me as p
|
|
370
370
|
};
|
|
371
|
-
//# sourceMappingURL=patient-details-
|
|
371
|
+
//# sourceMappingURL=patient-details-yrgkSeEY.js.map
|
|
@@ -23,7 +23,7 @@ import { D as ue } from "./date-picker-6tFnKFty.js";
|
|
|
23
23
|
import { E as me } from "./email-input-Dpe63k0K.js";
|
|
24
24
|
import { F as pe } from "./fiscal-code-input-ODQRd_Sw.js";
|
|
25
25
|
import { N as fe } from "./number-input-Cgu2TtA8.js";
|
|
26
|
-
import { P as ge } from "./phone-input-
|
|
26
|
+
import { P as ge } from "./phone-input-IWrGOCwm.js";
|
|
27
27
|
import { P as he } from "./postal-code-input-BznBxVxf.js";
|
|
28
28
|
import { P as ye } from "./province-select-BaUnkg4S.js";
|
|
29
29
|
import { S as be } from "./select-CLSUnKjF.js";
|
|
@@ -805,4 +805,4 @@ export {
|
|
|
805
805
|
Nt as r,
|
|
806
806
|
Dt as u
|
|
807
807
|
};
|
|
808
|
-
//# sourceMappingURL=patient-field-row-
|
|
808
|
+
//# sourceMappingURL=patient-field-row-DCMkFGqI.js.map
|
|
@@ -14,7 +14,7 @@ import { T as Ke } from "./transaction-chip-CwgcJiqF.js";
|
|
|
14
14
|
import { T as je } from "./tooltip-Cp-PLePW.js";
|
|
15
15
|
import { H as G } from "./hover-card-nUae8NPJ.js";
|
|
16
16
|
import { i as de } from "./is-safe-url-DkETxeHz.js";
|
|
17
|
-
import { u as qe, r as We, a as He, b as Je, F as Qe, S as Xe, A as Ye, N as Ze } from "./patient-field-row-
|
|
17
|
+
import { u as qe, r as We, a as He, b as Je, F as Qe, S as Xe, A as Ye, N as Ze } from "./patient-field-row-DCMkFGqI.js";
|
|
18
18
|
import { u as Oe } from "./registry-DvAUVLHh.js";
|
|
19
19
|
import { M as ea } from "./mail-BqXVF2zH.js";
|
|
20
20
|
import { P as aa } from "./phone-FceYcIFQ.js";
|
|
@@ -544,4 +544,4 @@ export {
|
|
|
544
544
|
Ca as P,
|
|
545
545
|
ma as p
|
|
546
546
|
};
|
|
547
|
-
//# sourceMappingURL=patient-summary-card-
|
|
547
|
+
//# sourceMappingURL=patient-summary-card-CmEFflGS.js.map
|