@alfadocs/ui-kit 1.151.0 → 1.151.2
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/{appointment-card-BPZggqck.js → appointment-card-CCKjbU5y.js} +105 -104
- package/dist/_chunks/{appointment-timeline-COfoHpoJ.js → appointment-timeline-B9KRurfc.js} +2 -2
- package/dist/_chunks/{appointment-tray-BlKwDJKi.js → appointment-tray-Be3HuEyO.js} +2 -2
- package/dist/_chunks/{calendar-appointment-editor-dialog-BPAfWtm9.js → calendar-appointment-editor-dialog-B9MtcBvx.js} +3 -3
- package/dist/_chunks/{control-room-rail-BmpTKtL1.js → control-room-rail-C-3o1e0e.js} +2 -2
- package/dist/_chunks/{patient-account-settings-DQx_9CYV.js → patient-account-settings-DmB_h5fq.js} +2 -2
- package/dist/_chunks/{patient-check-in-resume-BOHcm9hT.js → patient-check-in-resume-CI54cY8Z.js} +4 -4
- package/dist/_chunks/{portal-details-R-lwrisO.js → portal-details-BZm8UNMx.js} +2 -2
- package/dist/_chunks/{portal-documents-C6XlWpEl.js → portal-documents-CBVSCKAB.js} +2 -2
- package/dist/_chunks/{portal-parts-DlvSUZFX.js → portal-parts-DRfyhL5P.js} +2 -2
- package/dist/_chunks/{tool-rail-B4p6MmxA.js → tool-rail-C_Ay0Gxi.js} +176 -175
- package/dist/agent-catalog.json +1 -1
- package/dist/browser-support.js +1 -1
- package/dist/components/appointment-card/appointment-card.d.ts +5 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/control-room-rail/index.js +1 -1
- package/dist/components/tool-rail/index.js +1 -1
- package/dist/components/tool-rail/tool-rail.d.ts +3 -0
- package/dist/i18n/locales/it.d.ts +2 -2
- package/dist/i18n/locales/it.js +2 -2
- package/dist/index.js +9 -9
- package/dist/locales/it.json +2 -2
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/patient-account-settings/index.js +1 -1
- package/dist/patterns/patient-check-in/index.js +1 -1
- package/dist/patterns/patient-portal/index.js +2 -2
- package/package.json +1 -1
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import { jsxs as r, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { A as
|
|
2
|
+
import { forwardRef as za, useMemo as ta, useEffect as Ta } from "react";
|
|
3
|
+
import { c as Sa } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as Ma } from "react-i18next";
|
|
5
|
+
import { A as oa } from "./avatar-Dp5apm1d.js";
|
|
6
6
|
import { B as o } from "./badge-BUk4RjTS.js";
|
|
7
|
-
import { T as
|
|
8
|
-
import { T as
|
|
9
|
-
import { T as
|
|
10
|
-
import { i as
|
|
11
|
-
import { V as
|
|
12
|
-
import { p as
|
|
13
|
-
import { a as
|
|
14
|
-
import { i as
|
|
15
|
-
import { V as
|
|
16
|
-
import { M as
|
|
17
|
-
import { E as
|
|
18
|
-
import { b as Ea, a as Oa, c as
|
|
19
|
-
import { U as
|
|
20
|
-
import { B as
|
|
21
|
-
import { S as
|
|
22
|
-
import { c as
|
|
23
|
-
import { A as
|
|
24
|
-
import { G as
|
|
25
|
-
import { H as
|
|
26
|
-
import { R as
|
|
27
|
-
import { F as
|
|
28
|
-
import { C as
|
|
7
|
+
import { T as Ra } from "./tag-BNlcEJfE.js";
|
|
8
|
+
import { T as Aa } from "./timestamp-UMF1llBs.js";
|
|
9
|
+
import { T as ia } from "./transaction-chip-6jToArJn.js";
|
|
10
|
+
import { i as La } from "./is-development-CLUAnsU7.js";
|
|
11
|
+
import { V as da } from "./visually-hidden-BHxEUGyT.js";
|
|
12
|
+
import { p as Da } from "./privacy-mask-text-B8YfzB7L.js";
|
|
13
|
+
import { a as Va } from "./workflow-status-Cg7yjnye.js";
|
|
14
|
+
import { i as _a } from "./is-safe-url-CEy9CEml.js";
|
|
15
|
+
import { V as Ia } from "./video-BheNGvsu.js";
|
|
16
|
+
import { M as Pa } from "./map-pin-BaY37-Km.js";
|
|
17
|
+
import { E as Ua } from "./eye-off-C_4xkbRP.js";
|
|
18
|
+
import { b as Ea, a as Oa, c as Fa } from "./entity-card-p-LANpYt.js";
|
|
19
|
+
import { U as $a } from "./user-x-BJZg4kaP.js";
|
|
20
|
+
import { B as ja } from "./building-2-D33bLCWL.js";
|
|
21
|
+
import { S as la } from "./star-Bf9L2Uot.js";
|
|
22
|
+
import { c as ma } from "./createLucideIcon-DhHxpK9K.js";
|
|
23
|
+
import { A as Ba } from "./armchair-BaLDW6Hz.js";
|
|
24
|
+
import { G as Ha } from "./globe-sHBW1JN5.js";
|
|
25
|
+
import { H as Wa } from "./hourglass-BEAzW1wE.js";
|
|
26
|
+
import { R as qa } from "./repeat-CvQa5rZt.js";
|
|
27
|
+
import { F as Ga } from "./file-pen-line-k4uMBM3h.js";
|
|
28
|
+
import { C as Ka } from "./chevron-right-I9AeSxH2.js";
|
|
29
29
|
/**
|
|
30
30
|
* @license lucide-react v1.22.0 - ISC
|
|
31
31
|
*
|
|
32
32
|
* This source code is licensed under the ISC license.
|
|
33
33
|
* See the LICENSE file in the root directory of this source tree.
|
|
34
34
|
*/
|
|
35
|
-
const
|
|
35
|
+
const Ya = [
|
|
36
36
|
["rect", { width: "8", height: "4", x: "8", y: "2", rx: "1", ry: "1", key: "tgr4d6" }],
|
|
37
37
|
[
|
|
38
38
|
"path",
|
|
@@ -43,14 +43,14 @@ const Ka = [
|
|
|
43
43
|
],
|
|
44
44
|
["path", { d: "M9 14h6", key: "159ibu" }],
|
|
45
45
|
["path", { d: "M12 17v-6", key: "1y8rbf" }]
|
|
46
|
-
],
|
|
46
|
+
], Xa = ma("clipboard-plus", Ya);
|
|
47
47
|
/**
|
|
48
48
|
* @license lucide-react v1.22.0 - ISC
|
|
49
49
|
*
|
|
50
50
|
* This source code is licensed under the ISC license.
|
|
51
51
|
* See the LICENSE file in the root directory of this source tree.
|
|
52
52
|
*/
|
|
53
|
-
const
|
|
53
|
+
const Ja = [
|
|
54
54
|
[
|
|
55
55
|
"path",
|
|
56
56
|
{
|
|
@@ -61,7 +61,7 @@ const Xa = [
|
|
|
61
61
|
["path", { d: "M7 11h10", key: "1twpyw" }],
|
|
62
62
|
["path", { d: "M7 15h6", key: "d9of3u" }],
|
|
63
63
|
["path", { d: "M7 7h8", key: "af5zfr" }]
|
|
64
|
-
],
|
|
64
|
+
], Qa = ma("message-square-text", Ja), Za = {
|
|
65
65
|
"var(--color-violet-500)": "ds:bg-[var(--color-violet-500)]",
|
|
66
66
|
"var(--color-purple-500)": "ds:bg-[var(--color-purple-500)]",
|
|
67
67
|
"var(--color-magenta-500)": "ds:bg-[var(--color-magenta-500)]",
|
|
@@ -74,10 +74,10 @@ const Xa = [
|
|
|
74
74
|
"var(--color-fuchsia-500)": "ds:bg-[var(--color-fuchsia-500)]",
|
|
75
75
|
"var(--color-grey-700)": "ds:bg-[var(--color-grey-700)]"
|
|
76
76
|
};
|
|
77
|
-
function Za(a) {
|
|
78
|
-
return Qa[Ua(a)] ?? "ds:bg-[var(--color-grey-700)]";
|
|
79
|
-
}
|
|
80
77
|
function as(a) {
|
|
78
|
+
return Za[Fa(a)] ?? "ds:bg-[var(--color-grey-700)]";
|
|
79
|
+
}
|
|
80
|
+
function ss(a) {
|
|
81
81
|
if (!a) return;
|
|
82
82
|
const i = new Date(a);
|
|
83
83
|
if (Number.isNaN(i.getTime())) return;
|
|
@@ -86,11 +86,11 @@ function as(a) {
|
|
|
86
86
|
const l = f.getMonth() - i.getMonth();
|
|
87
87
|
return (l < 0 || l === 0 && f.getDate() < i.getDate()) && d--, d < 0 || d > 130 ? void 0 : d;
|
|
88
88
|
}
|
|
89
|
-
const
|
|
89
|
+
const ca = {
|
|
90
90
|
hour: "numeric",
|
|
91
91
|
minute: "2-digit"
|
|
92
92
|
};
|
|
93
|
-
function
|
|
93
|
+
function es(a) {
|
|
94
94
|
if (a)
|
|
95
95
|
try {
|
|
96
96
|
return new Intl.DateTimeFormat("en", { timeZone: a }).resolvedOptions().timeZone;
|
|
@@ -98,7 +98,7 @@ function ss(a) {
|
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
const
|
|
101
|
+
const rs = Sa(
|
|
102
102
|
[
|
|
103
103
|
"ds:relative ds:flex ds:items-start ds:gap-[var(--spacing-sm)]",
|
|
104
104
|
"ds:rounded-[var(--radius-md)]",
|
|
@@ -162,13 +162,13 @@ const es = Ta(
|
|
|
162
162
|
next: !1
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
|
-
),
|
|
165
|
+
), ns = [
|
|
166
166
|
"ds:max-w-full ds:shrink-0",
|
|
167
167
|
"ds:[&>div]:h-auto ds:[&>div]:min-h-8 ds:[&>div]:py-[var(--spacing-2xs)]",
|
|
168
168
|
"ds:[&_[data-workflow-status-value]]:overflow-visible",
|
|
169
169
|
"ds:[&_[data-workflow-status-value]]:whitespace-normal",
|
|
170
170
|
"ds:[&_[data-workflow-status-value]]:[overflow-wrap:normal]"
|
|
171
|
-
].join(" "),
|
|
171
|
+
].join(" "), pa = [
|
|
172
172
|
// Interactive elements need a box to remain keyboard-focusable in browsers.
|
|
173
173
|
"ds:inline-flex ds:min-w-0",
|
|
174
174
|
"ds:focus-visible:outline-none",
|
|
@@ -179,10 +179,10 @@ const es = Ta(
|
|
|
179
179
|
"ds:focus-visible:after:outline-[color:var(--ring)]",
|
|
180
180
|
"ds:focus-visible:after:outline-offset-[length:var(--focus-ring-offset)]",
|
|
181
181
|
"ds:forced-colors:focus-visible:after:outline-[CanvasText]"
|
|
182
|
-
].join(" "),
|
|
183
|
-
inPractice:
|
|
184
|
-
telehealth:
|
|
185
|
-
},
|
|
182
|
+
].join(" "), ts = {
|
|
183
|
+
inPractice: Pa,
|
|
184
|
+
telehealth: Ia
|
|
185
|
+
}, os = za(
|
|
186
186
|
({
|
|
187
187
|
item: a,
|
|
188
188
|
size: i = "sm",
|
|
@@ -193,24 +193,24 @@ const es = Ta(
|
|
|
193
193
|
showPatient: c = !0,
|
|
194
194
|
onActivate: m,
|
|
195
195
|
selected: T = !1,
|
|
196
|
-
hideDefaultStatus:
|
|
196
|
+
hideDefaultStatus: ua = !1,
|
|
197
197
|
privacy: p = !1,
|
|
198
|
-
privacyTitle:
|
|
198
|
+
privacyTitle: fa,
|
|
199
199
|
wrapText: g = !1,
|
|
200
200
|
className: S,
|
|
201
|
-
...
|
|
202
|
-
},
|
|
203
|
-
var
|
|
204
|
-
const { t: e } =
|
|
205
|
-
() => h ? { ...
|
|
201
|
+
...ga
|
|
202
|
+
}, ha) => {
|
|
203
|
+
var E, O, F, $, j, B, H, W, q, G, K, Y, X, J, Q, Z, aa, sa, ea, ra, na;
|
|
204
|
+
const { t: e } = Ma("ui"), h = ta(() => es(l), [l]), va = ta(
|
|
205
|
+
() => h ? { ...ca, timeZone: h } : ca,
|
|
206
206
|
[h]
|
|
207
207
|
);
|
|
208
|
-
|
|
209
|
-
l && !h &&
|
|
208
|
+
Ta(() => {
|
|
209
|
+
l && !h && La() && console.warn(
|
|
210
210
|
`AppointmentCard: "${l}" is not a time zone this browser knows, so the start time shows in the browser's own zone.`
|
|
211
211
|
);
|
|
212
212
|
}, [l, h]);
|
|
213
|
-
const v = !!m,
|
|
213
|
+
const v = !!m, ba = !!a.url && _a(a.url), t = a.state ?? void 0, xa = t !== void 0 && !(ua && t === "confirmed"), w = ((E = a.patient) == null ? void 0 : E.name) ?? e("appointmentCard.noPatient"), u = (O = a.operator) == null ? void 0 : O.name, b = e(t ? `appointmentCard.state.${t}` : "workflowStatus.noStatus"), M = Oa(t ?? ""), wa = M.Icon, Na = ((F = a.flags) == null ? void 0 : F.noPatientAssigned) || !a.patient, R = p && c && a.patient !== void 0, A = p ? void 0 : ss(($ = a.patient) == null ? void 0 : $.dobIso), L = ((j = a.practiceName) == null ? void 0 : j.trim()) || void 0, N = i === "md" ? "md" : "sm", ka = ts[a.type], D = c ? w : u ?? e("appointmentCard.appointment"), V = t ? R ? e("appointmentCard.itemLabelGeneric", {
|
|
214
214
|
title: e("appointmentPeek.hiddenName"),
|
|
215
215
|
state: b
|
|
216
216
|
}) : c ? e("appointmentCard.itemLabel", {
|
|
@@ -222,9 +222,9 @@ const es = Ta(
|
|
|
222
222
|
className: (g ? "ds:min-w-0 ds:break-words" : "ds:min-w-0 ds:truncate") + " type-title-item ds:text-[color:var(--foreground)]",
|
|
223
223
|
children: [
|
|
224
224
|
R ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
225
|
-
/* @__PURE__ */ s(
|
|
226
|
-
/* @__PURE__ */ s(
|
|
227
|
-
/* @__PURE__ */ s("span", { "aria-hidden": "true", children:
|
|
225
|
+
/* @__PURE__ */ s(Ua, { "aria-hidden": "true", className: "ds:size-4 ds:shrink-0" }),
|
|
226
|
+
/* @__PURE__ */ s(da, { children: e("appointmentPeek.hiddenName") }),
|
|
227
|
+
/* @__PURE__ */ s("span", { "aria-hidden": "true", children: Da(fa) })
|
|
228
228
|
] }) : D,
|
|
229
229
|
c && A !== void 0 ? /* @__PURE__ */ r("span", { className: "ds:ms-[var(--spacing-2xs)] ds:font-normal ds:text-[color:var(--muted-foreground)]", children: [
|
|
230
230
|
"· ",
|
|
@@ -234,13 +234,13 @@ const es = Ta(
|
|
|
234
234
|
}
|
|
235
235
|
);
|
|
236
236
|
let x;
|
|
237
|
-
v &&
|
|
237
|
+
v && ba ? x = /* @__PURE__ */ s(
|
|
238
238
|
"a",
|
|
239
239
|
{
|
|
240
240
|
href: a.url,
|
|
241
241
|
"aria-label": V,
|
|
242
242
|
"data-action": "open-appointment",
|
|
243
|
-
className:
|
|
243
|
+
className: pa,
|
|
244
244
|
onClick: (n) => {
|
|
245
245
|
n.defaultPrevented || n.metaKey || n.ctrlKey || n.shiftKey || m == null || m(a);
|
|
246
246
|
},
|
|
@@ -252,32 +252,32 @@ const es = Ta(
|
|
|
252
252
|
type: "button",
|
|
253
253
|
"aria-label": V,
|
|
254
254
|
"data-action": "open-appointment",
|
|
255
|
-
className:
|
|
255
|
+
className: pa + " ds:bg-transparent ds:border-0 ds:p-0 ds:text-start",
|
|
256
256
|
onClick: () => m == null ? void 0 : m(a),
|
|
257
257
|
children: k
|
|
258
258
|
}
|
|
259
259
|
) : x = k;
|
|
260
|
-
const _ = (a.treatments ?? []).map((n,
|
|
261
|
-
const
|
|
260
|
+
const _ = (a.treatments ?? []).map((n, ya) => {
|
|
261
|
+
const Ca = n.elements && n.elements.length > 0 ? e("appointmentCard.treatmentWithElements", {
|
|
262
262
|
care: n.careName,
|
|
263
263
|
elements: n.elements.join(", ")
|
|
264
264
|
}) : n.careName;
|
|
265
265
|
return /* @__PURE__ */ s(
|
|
266
|
-
|
|
266
|
+
Ra,
|
|
267
267
|
{
|
|
268
|
-
label:
|
|
268
|
+
label: Ca,
|
|
269
269
|
variant: "neutral",
|
|
270
270
|
fill: "outline",
|
|
271
271
|
size: "sm",
|
|
272
272
|
maxInlineSize: "12rem"
|
|
273
273
|
},
|
|
274
|
-
`${n.careName}-${
|
|
274
|
+
`${n.careName}-${ya}`
|
|
275
275
|
);
|
|
276
|
-
}), y = (B = a.bookingReason) == null ? void 0 : B.advanceAmountCents, I = !p && typeof y == "number" && y > 0, C = (H = a.money) == null ? void 0 : H.unpaidAmountCents, P = !p && typeof C == "number" && C > 0,
|
|
276
|
+
}), y = (B = a.bookingReason) == null ? void 0 : B.advanceAmountCents, I = !p && typeof y == "number" && y > 0, C = (H = a.money) == null ? void 0 : H.unpaidAmountCents, P = !p && typeof C == "number" && C > 0, U = !p && ((W = a.flags) == null ? void 0 : W.highlightedAnamnesis);
|
|
277
277
|
return /* @__PURE__ */ r(
|
|
278
278
|
"div",
|
|
279
279
|
{
|
|
280
|
-
ref:
|
|
280
|
+
ref: ha,
|
|
281
281
|
role: "listitem",
|
|
282
282
|
"data-component": "appointment-card",
|
|
283
283
|
"data-component-id": a.id,
|
|
@@ -285,7 +285,7 @@ const es = Ta(
|
|
|
285
285
|
"data-type": a.type,
|
|
286
286
|
"data-privacy": p ? "masked" : void 0,
|
|
287
287
|
"aria-current": T ? "true" : void 0,
|
|
288
|
-
className:
|
|
288
|
+
className: rs({
|
|
289
289
|
size: i,
|
|
290
290
|
interactive: v,
|
|
291
291
|
surface: f,
|
|
@@ -294,20 +294,20 @@ const es = Ta(
|
|
|
294
294
|
next: a.next,
|
|
295
295
|
className: g ? `ds:@container/apptcard ${S ?? ""}`.trim() : S
|
|
296
296
|
}),
|
|
297
|
-
...
|
|
297
|
+
...ga,
|
|
298
298
|
children: [
|
|
299
299
|
/* @__PURE__ */ r("span", { className: "ds:flex ds:min-w-20 ds:shrink-0 ds:flex-col ds:items-start ds:gap-[var(--spacing-2xs)]", children: [
|
|
300
300
|
/* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)] ds:whitespace-nowrap ds:text-[color:var(--muted-foreground)]", children: [
|
|
301
|
-
/* @__PURE__ */ s(
|
|
301
|
+
/* @__PURE__ */ s(ka, { "aria-hidden": "true", className: "ds:size-3.5 ds:shrink-0" }),
|
|
302
302
|
/* @__PURE__ */ s("span", { className: "ds:sr-only", children: e(`appointmentCard.type.${a.type}`) }),
|
|
303
303
|
/* @__PURE__ */ s(
|
|
304
|
-
|
|
304
|
+
Aa,
|
|
305
305
|
{
|
|
306
306
|
value: a.startIso,
|
|
307
307
|
format: "absolute",
|
|
308
308
|
shape: "bare",
|
|
309
309
|
locale: d,
|
|
310
|
-
absoluteFormat:
|
|
310
|
+
absoluteFormat: va,
|
|
311
311
|
className: "type-body-sm ds:font-medium ds:text-[color:var(--foreground)] ds:tabular-nums"
|
|
312
312
|
}
|
|
313
313
|
)
|
|
@@ -316,10 +316,11 @@ const es = Ta(
|
|
|
316
316
|
] }),
|
|
317
317
|
u ? /* @__PURE__ */ r("span", { className: "ds:relative ds:shrink-0", children: [
|
|
318
318
|
/* @__PURE__ */ s(
|
|
319
|
-
|
|
319
|
+
oa,
|
|
320
320
|
{
|
|
321
321
|
name: u,
|
|
322
|
-
|
|
322
|
+
src: (q = a.operator) == null ? void 0 : q.avatarUrl,
|
|
323
|
+
color: Ea((G = a.operator) == null ? void 0 : G.colorId),
|
|
323
324
|
size: N,
|
|
324
325
|
"aria-hidden": "true",
|
|
325
326
|
role: "presentation",
|
|
@@ -330,7 +331,7 @@ const es = Ta(
|
|
|
330
331
|
"span",
|
|
331
332
|
{
|
|
332
333
|
"aria-hidden": "true",
|
|
333
|
-
className: "ds:absolute ds:bottom-0 ds:end-0 ds:size-2.5 ds:rounded-[var(--radius-full)] ds:border ds:border-[color:var(--card)] " +
|
|
334
|
+
className: "ds:absolute ds:bottom-0 ds:end-0 ds:size-2.5 ds:rounded-[var(--radius-full)] ds:border ds:border-[color:var(--card)] " + as((K = a.operator) == null ? void 0 : K.colorId)
|
|
334
335
|
}
|
|
335
336
|
)
|
|
336
337
|
] }) : null,
|
|
@@ -345,8 +346,8 @@ const es = Ta(
|
|
|
345
346
|
{
|
|
346
347
|
className: "ds:flex-1 ds:min-w-0 ds:flex ds:items-center ds:gap-[var(--spacing-xs)]" + (g ? " ds:@max-[400px]/apptcard:basis-full" : ""),
|
|
347
348
|
children: [
|
|
348
|
-
c && !p && ((
|
|
349
|
-
|
|
349
|
+
c && !p && ((Y = a.patient) != null && Y.avatarUrl) ? /* @__PURE__ */ s(
|
|
350
|
+
oa,
|
|
350
351
|
{
|
|
351
352
|
name: w,
|
|
352
353
|
src: a.patient.avatarUrl,
|
|
@@ -357,11 +358,11 @@ const es = Ta(
|
|
|
357
358
|
"aria-label": void 0
|
|
358
359
|
}
|
|
359
360
|
) : null,
|
|
360
|
-
c &&
|
|
361
|
+
c && Na ? /* @__PURE__ */ s(
|
|
361
362
|
"span",
|
|
362
363
|
{
|
|
363
364
|
className: `ds:shrink-0 ds:inline-flex ds:items-center ds:justify-center ds:rounded-[var(--radius-full)] ds:bg-[color:var(--muted)] ds:text-[color:var(--muted-foreground)] ${N === "md" ? "ds:size-10" : "ds:size-8"}`,
|
|
364
|
-
children: /* @__PURE__ */ s(
|
|
365
|
+
children: /* @__PURE__ */ s($a, { "aria-hidden": "true", className: "ds:size-4" })
|
|
365
366
|
}
|
|
366
367
|
) : null,
|
|
367
368
|
x
|
|
@@ -378,18 +379,18 @@ const es = Ta(
|
|
|
378
379
|
children: e("appointmentCard.next")
|
|
379
380
|
}
|
|
380
381
|
) : null,
|
|
381
|
-
|
|
382
|
-
|
|
382
|
+
xa && t ? /* @__PURE__ */ s(
|
|
383
|
+
Va,
|
|
383
384
|
{
|
|
384
385
|
size: "sm",
|
|
385
386
|
value: t,
|
|
386
387
|
option: {
|
|
387
388
|
value: t,
|
|
388
389
|
label: b,
|
|
389
|
-
icon: /* @__PURE__ */ s(
|
|
390
|
+
icon: /* @__PURE__ */ s(wa, { "aria-hidden": "true" }),
|
|
390
391
|
tone: M.tone
|
|
391
392
|
},
|
|
392
|
-
className: g ?
|
|
393
|
+
className: g ? ns : "ds:shrink-0"
|
|
393
394
|
}
|
|
394
395
|
) : null
|
|
395
396
|
]
|
|
@@ -402,21 +403,21 @@ const es = Ta(
|
|
|
402
403
|
"data-slot": "practice",
|
|
403
404
|
className: "type-meta ds:flex ds:min-w-0 ds:items-start ds:gap-[var(--spacing-2xs)] ds:text-[color:var(--muted-foreground)]",
|
|
404
405
|
children: [
|
|
405
|
-
/* @__PURE__ */ s("span", { className: "ds:flex ds:h-[1lh] ds:shrink-0 ds:items-center", children: /* @__PURE__ */ s(
|
|
406
|
+
/* @__PURE__ */ s("span", { className: "ds:flex ds:h-[1lh] ds:shrink-0 ds:items-center", children: /* @__PURE__ */ s(ja, { "aria-hidden": "true", className: "ds:size-3" }) }),
|
|
406
407
|
/* @__PURE__ */ s("span", { className: "ds:sr-only", children: e("appointmentCard.practice") }),
|
|
407
408
|
/* @__PURE__ */ s("span", { dir: "auto", className: "ds:min-w-0 ds:break-words", children: L })
|
|
408
409
|
]
|
|
409
410
|
}
|
|
410
411
|
) : null,
|
|
411
|
-
c && u || (
|
|
412
|
+
c && u || (X = a.bookingReason) != null && X.specialty || a.firstVisit === "yes" || a.firstVisit === "unknown" || a.bookingNote ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-2xs)] type-eyebrow ds:text-[color:var(--muted-foreground)]", children: [
|
|
412
413
|
c && u ? /* @__PURE__ */ s("span", { children: u }) : null,
|
|
413
|
-
(
|
|
414
|
+
(J = a.bookingReason) != null && J.specialty ? /* @__PURE__ */ s("span", { children: a.bookingReason.specialty }) : null,
|
|
414
415
|
a.firstVisit === "yes" ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
|
|
415
|
-
/* @__PURE__ */ s(
|
|
416
|
+
/* @__PURE__ */ s(la, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
|
|
416
417
|
e("appointmentCard.firstVisit")
|
|
417
418
|
] }) : null,
|
|
418
419
|
a.firstVisit === "unknown" ? /* @__PURE__ */ r("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-2xs)]", children: [
|
|
419
|
-
/* @__PURE__ */ s(
|
|
420
|
+
/* @__PURE__ */ s(la, { "aria-hidden": "true", className: "ds:size-3 ds:shrink-0" }),
|
|
420
421
|
e("appointmentCard.firstVisitUnknown")
|
|
421
422
|
] }) : null,
|
|
422
423
|
a.bookingNote ? /* @__PURE__ */ r(
|
|
@@ -426,7 +427,7 @@ const es = Ta(
|
|
|
426
427
|
title: e("appointmentCard.hasBookingNote"),
|
|
427
428
|
children: [
|
|
428
429
|
/* @__PURE__ */ s(
|
|
429
|
-
|
|
430
|
+
Qa,
|
|
430
431
|
{
|
|
431
432
|
"aria-hidden": "true",
|
|
432
433
|
className: "ds:size-3 ds:shrink-0"
|
|
@@ -437,46 +438,46 @@ const es = Ta(
|
|
|
437
438
|
}
|
|
438
439
|
) : null
|
|
439
440
|
] }) : null,
|
|
440
|
-
(
|
|
441
|
+
(Q = a.bookingReason) != null && Q.description && !p ? /* @__PURE__ */ s("span", { className: "type-body-sm ds:text-[color:var(--foreground)] ds:truncate", children: a.bookingReason.description }) : null,
|
|
441
442
|
_.length > 0 ? /* @__PURE__ */ s("div", { className: "ds:flex ds:flex-wrap ds:gap-[var(--spacing-2xs)]", children: _ }) : null,
|
|
442
|
-
a.carePlan || a.chair || (
|
|
443
|
+
a.carePlan || a.chair || (Z = a.flags) != null && Z.bookedOnline || (aa = a.flags) != null && aa.waitingList || U || (sa = a.flags) != null && sa.billable || a.recurring || a.signing || I || P ? /* @__PURE__ */ r("div", { className: "ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
443
444
|
a.carePlan ? /* @__PURE__ */ s(
|
|
444
445
|
o,
|
|
445
446
|
{
|
|
446
447
|
variant: "accentSoft",
|
|
447
448
|
size: "sm",
|
|
448
|
-
leading: /* @__PURE__ */ s(
|
|
449
|
+
leading: /* @__PURE__ */ s(Xa, {}),
|
|
449
450
|
children: e("appointmentCard.carePlan", {
|
|
450
451
|
number: a.carePlan.number
|
|
451
452
|
})
|
|
452
453
|
}
|
|
453
454
|
) : null,
|
|
454
|
-
a.chair ? /* @__PURE__ */ r(o, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ s(
|
|
455
|
-
/* @__PURE__ */ r(
|
|
455
|
+
a.chair ? /* @__PURE__ */ r(o, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ s(Ba, {}), children: [
|
|
456
|
+
/* @__PURE__ */ r(da, { children: [
|
|
456
457
|
e("calendarWorkspace.details.chair"),
|
|
457
458
|
" "
|
|
458
459
|
] }),
|
|
459
460
|
a.chair
|
|
460
461
|
] }) : null,
|
|
461
|
-
(
|
|
462
|
-
(
|
|
463
|
-
|
|
464
|
-
a.recurring ? /* @__PURE__ */ s(o, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ s(
|
|
462
|
+
(ea = a.flags) != null && ea.bookedOnline ? /* @__PURE__ */ s(o, { variant: "info", size: "sm", leading: /* @__PURE__ */ s(Ha, {}), children: e("appointmentCard.flag.bookedOnline") }) : null,
|
|
463
|
+
(ra = a.flags) != null && ra.waitingList ? /* @__PURE__ */ s(o, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ s(Wa, {}), children: e("appointmentCard.flag.waitingList") }) : null,
|
|
464
|
+
U ? /* @__PURE__ */ s(o, { variant: "warning", size: "sm", withDot: !0, children: e("appointmentCard.flag.highlightedAnamnesis") }) : null,
|
|
465
|
+
a.recurring ? /* @__PURE__ */ s(o, { variant: "neutral", size: "sm", leading: /* @__PURE__ */ s(qa, {}), children: e("appointmentCard.recurring") }) : null,
|
|
465
466
|
a.signing ? /* @__PURE__ */ s(
|
|
466
467
|
o,
|
|
467
468
|
{
|
|
468
469
|
variant: a.signing.toComplete >= a.signing.required ? "success" : "warning",
|
|
469
470
|
size: "sm",
|
|
470
|
-
leading: /* @__PURE__ */ s(
|
|
471
|
+
leading: /* @__PURE__ */ s(Ga, {}),
|
|
471
472
|
children: e("appointmentCard.signing", {
|
|
472
473
|
complete: a.signing.toComplete,
|
|
473
474
|
required: a.signing.required
|
|
474
475
|
})
|
|
475
476
|
}
|
|
476
477
|
) : null,
|
|
477
|
-
(
|
|
478
|
+
(na = a.flags) != null && na.billable ? /* @__PURE__ */ s(o, { variant: "success", size: "sm", withDot: !0, children: e("appointmentCard.flag.billable") }) : null,
|
|
478
479
|
I ? /* @__PURE__ */ s(
|
|
479
|
-
|
|
480
|
+
ia,
|
|
480
481
|
{
|
|
481
482
|
state: "to-invoice",
|
|
482
483
|
amount: y / 100,
|
|
@@ -487,7 +488,7 @@ const es = Ta(
|
|
|
487
488
|
}
|
|
488
489
|
) : null,
|
|
489
490
|
P ? /* @__PURE__ */ s(
|
|
490
|
-
|
|
491
|
+
ia,
|
|
491
492
|
{
|
|
492
493
|
state: "debt",
|
|
493
494
|
amount: C / 100,
|
|
@@ -500,7 +501,7 @@ const es = Ta(
|
|
|
500
501
|
] }) : null
|
|
501
502
|
] }),
|
|
502
503
|
v ? /* @__PURE__ */ s(
|
|
503
|
-
|
|
504
|
+
Ka,
|
|
504
505
|
{
|
|
505
506
|
"aria-hidden": "true",
|
|
506
507
|
className: "ds:size-4 ds:shrink-0 ds:self-center ds:text-[color:var(--muted-foreground)] ds:opacity-0 ds:transition-opacity ds:motion-reduce:transition-none ds:group-hover:opacity-100 ds:group-focus-within:opacity-100 ds:rtl:rotate-180"
|
|
@@ -511,8 +512,8 @@ const es = Ta(
|
|
|
511
512
|
);
|
|
512
513
|
}
|
|
513
514
|
);
|
|
514
|
-
|
|
515
|
+
os.displayName = "AppointmentCard";
|
|
515
516
|
export {
|
|
516
|
-
|
|
517
|
+
os as A
|
|
517
518
|
};
|
|
518
|
-
//# sourceMappingURL=appointment-card-
|
|
519
|
+
//# sourceMappingURL=appointment-card-CCKjbU5y.js.map
|
|
@@ -2,7 +2,7 @@ import { jsxs as g, Fragment as Xe, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as Zt, useId as Qt, useState as oe, useMemo as D, useRef as m, useEffect as xe, useCallback as S, useImperativeHandle as Xt } from "react";
|
|
3
3
|
import { c as Jt } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as es } from "react-i18next";
|
|
5
|
-
import { A as Je } from "./appointment-card-
|
|
5
|
+
import { A as Je } from "./appointment-card-CCKjbU5y.js";
|
|
6
6
|
import { g as ts } from "./date-locale-OG-MupVD.js";
|
|
7
7
|
import { f as ot } from "./intl-locale-FWh-Y5_3.js";
|
|
8
8
|
import { n as et } from "./normalize-diacritics-DhJjQ3Bp.js";
|
|
@@ -773,4 +773,4 @@ export {
|
|
|
773
773
|
Ts as A,
|
|
774
774
|
fs as a
|
|
775
775
|
};
|
|
776
|
-
//# sourceMappingURL=appointment-timeline-
|
|
776
|
+
//# sourceMappingURL=appointment-timeline-B9KRurfc.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as q } from "react-i18next";
|
|
|
5
5
|
import { I as K } from "./icon-button-u9VMQn3x.js";
|
|
6
6
|
import { S as V } from "./skeleton-tTWJpvAq.js";
|
|
7
7
|
import { E as W } from "./empty-state-qHtpcasr.js";
|
|
8
|
-
import { A as B } from "./appointment-card-
|
|
8
|
+
import { A as B } from "./appointment-card-CCKjbU5y.js";
|
|
9
9
|
import { u as D } from "./registry-DvAUVLHh.js";
|
|
10
10
|
import { C as L } from "./calendar-days-BGWklvE-.js";
|
|
11
11
|
import { P as _ } from "./plus-DzMQ_c6b.js";
|
|
@@ -197,4 +197,4 @@ export {
|
|
|
197
197
|
it as a,
|
|
198
198
|
F as b
|
|
199
199
|
};
|
|
200
|
-
//# sourceMappingURL=appointment-tray-
|
|
200
|
+
//# sourceMappingURL=appointment-tray-Be3HuEyO.js.map
|
|
@@ -3,7 +3,7 @@ import { useState as _, useMemo as B, useRef as $, useEffect as V, useCallback a
|
|
|
3
3
|
import { useTranslation as gt } from "react-i18next";
|
|
4
4
|
import { u as js } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
5
5
|
import { C as Ys, b as Xs, a as Js } from "./collapsible-DVPM46bq.js";
|
|
6
|
-
import { A as Zs } from "./appointment-timeline-
|
|
6
|
+
import { A as Zs } from "./appointment-timeline-B9KRurfc.js";
|
|
7
7
|
import { a as Qs } from "./workflow-status-Cg7yjnye.js";
|
|
8
8
|
import { A as qa, g as ei } from "./avatar-Dp5apm1d.js";
|
|
9
9
|
import { B as Br } from "./badge-BUk4RjTS.js";
|
|
@@ -14,7 +14,7 @@ import { S as ji } from "./stethoscope-sZXGC43m.js";
|
|
|
14
14
|
import { C as _s } from "./chevron-down-DWE7GSq9.js";
|
|
15
15
|
import { a as Yi } from "./entity-card-p-LANpYt.js";
|
|
16
16
|
import { T as Xi } from "./task-editor-aXjGMwYA.js";
|
|
17
|
-
import { C as Ji, u as Na, a as Zi, d as Qi } from "./control-room-rail-
|
|
17
|
+
import { C as Ji, u as Na, a as Zi, d as Qi } from "./control-room-rail-C-3o1e0e.js";
|
|
18
18
|
import { S as $s } from "./scroll-area-RQtcKkHf.js";
|
|
19
19
|
import { A as eo, u as to } from "./app-frame-context-CPszhDDb.js";
|
|
20
20
|
import { u as no } from "./use-media-query-CcAx5SMM.js";
|
|
@@ -5523,4 +5523,4 @@ export {
|
|
|
5523
5523
|
sd as C,
|
|
5524
5524
|
ad as i
|
|
5525
5525
|
};
|
|
5526
|
-
//# sourceMappingURL=calendar-appointment-editor-dialog-
|
|
5526
|
+
//# sourceMappingURL=calendar-appointment-editor-dialog-B9MtcBvx.js.map
|
|
@@ -3,7 +3,7 @@ import { useState as P, useCallback as g, useMemo as M, useRef as N, useEffect a
|
|
|
3
3
|
import { useTranslation as Oo } from "react-i18next";
|
|
4
4
|
import { I as J } from "./icon-button-u9VMQn3x.js";
|
|
5
5
|
import { a as qo } from "./panel-header-DTc5OFUg.js";
|
|
6
|
-
import { T as zo } from "./tool-rail-
|
|
6
|
+
import { T as zo } from "./tool-rail-C_Ay0Gxi.js";
|
|
7
7
|
import { u as K } from "./use-persistent-state-nZwZAnE9.js";
|
|
8
8
|
import { S as Lo } from "./star-Bf9L2Uot.js";
|
|
9
9
|
import { P as Uo } from "./panel-right-CnMHSvLU.js";
|
|
@@ -453,4 +453,4 @@ export {
|
|
|
453
453
|
ct as d,
|
|
454
454
|
at as u
|
|
455
455
|
};
|
|
456
|
-
//# sourceMappingURL=control-room-rail-
|
|
456
|
+
//# sourceMappingURL=control-room-rail-C-3o1e0e.js.map
|
package/dist/_chunks/{patient-account-settings-DQx_9CYV.js → patient-account-settings-DmB_h5fq.js}
RENAMED
|
@@ -6,7 +6,7 @@ import { B as D } from "./button-Dp4j9ygh.js";
|
|
|
6
6
|
import { r as at } from "./pin-indicator-Cb-n40UI.js";
|
|
7
7
|
import { a as st } from "./privacy-mask-CaLBAxzj.js";
|
|
8
8
|
import { u as ct } from "./use-controllable-state-BiY4xTzM.js";
|
|
9
|
-
import { P as lt, a as ot, b as W, e as dt, c as rt, d as ut } from "./portal-parts-
|
|
9
|
+
import { P as lt, a as ot, b as W, e as dt, c as rt, d as ut } from "./portal-parts-DRfyhL5P.js";
|
|
10
10
|
import { E as pt } from "./email-input-DxwbREpx.js";
|
|
11
11
|
import { F as Z } from "./form-field-CyHfOVKF.js";
|
|
12
12
|
import { P as mt } from "./phone-input-DHiYJZ9v.js";
|
|
@@ -543,4 +543,4 @@ function wt({
|
|
|
543
543
|
export {
|
|
544
544
|
wt as P
|
|
545
545
|
};
|
|
546
|
-
//# sourceMappingURL=patient-account-settings-
|
|
546
|
+
//# sourceMappingURL=patient-account-settings-DmB_h5fq.js.map
|
package/dist/_chunks/{patient-check-in-resume-BOHcm9hT.js → patient-check-in-resume-CI54cY8Z.js}
RENAMED
|
@@ -5,9 +5,9 @@ import { B as C } from "./button-Dp4j9ygh.js";
|
|
|
5
5
|
import { a as N, P as te, c as ae } from "./patient-card-D1DrK4BT.js";
|
|
6
6
|
import { useId as P, useRef as ne, useEffect as se } from "react";
|
|
7
7
|
import { A as k } from "./alert-C4WKViaS.js";
|
|
8
|
-
import { A as _ } from "./appointment-card-
|
|
8
|
+
import { A as _ } from "./appointment-card-CCKjbU5y.js";
|
|
9
9
|
import { B as E } from "./badge-BUk4RjTS.js";
|
|
10
|
-
import { u as B, j as G, d as ie } from "./portal-parts-
|
|
10
|
+
import { u as B, j as G, d as ie } from "./portal-parts-DRfyhL5P.js";
|
|
11
11
|
import { D as M } from "./description-list-DaldSpGy.js";
|
|
12
12
|
import { E as le } from "./error-summary-DxNhwf_G.js";
|
|
13
13
|
import { F as oe } from "./form-field-CyHfOVKF.js";
|
|
@@ -15,7 +15,7 @@ import { S as re } from "./select-Bw5FvGJ7.js";
|
|
|
15
15
|
import { V as ce } from "./visually-hidden-BHxEUGyT.js";
|
|
16
16
|
import { a as de } from "./privacy-mask-CaLBAxzj.js";
|
|
17
17
|
import { u as pe } from "./use-controllable-state-BiY4xTzM.js";
|
|
18
|
-
import { p as me, b as he, a as ue } from "./portal-details-
|
|
18
|
+
import { p as me, b as he, a as ue } from "./portal-details-BZm8UNMx.js";
|
|
19
19
|
import { p as fe } from "./privacy-mask-text-B8YfzB7L.js";
|
|
20
20
|
function Re({
|
|
21
21
|
session: t,
|
|
@@ -739,4 +739,4 @@ export {
|
|
|
739
739
|
Ge as g,
|
|
740
740
|
Re as h
|
|
741
741
|
};
|
|
742
|
-
//# sourceMappingURL=patient-check-in-resume-
|
|
742
|
+
//# sourceMappingURL=patient-check-in-resume-CI54cY8Z.js.map
|
|
@@ -13,7 +13,7 @@ import { T as S } from "./text-input-B6iAgCr3.js";
|
|
|
13
13
|
import { V as mt } from "./visually-hidden-BHxEUGyT.js";
|
|
14
14
|
import { a as pt } from "./privacy-mask-CaLBAxzj.js";
|
|
15
15
|
import { u as W } from "./use-controllable-state-BiY4xTzM.js";
|
|
16
|
-
import { u as Y, P as dt, a as ut, b as ht, c as gt, d as Pt, f as bt } from "./portal-parts-
|
|
16
|
+
import { u as Y, P as dt, a as ut, b as ht, c as gt, d as Pt, f as bt } from "./portal-parts-DRfyhL5P.js";
|
|
17
17
|
import { p as V } from "./privacy-mask-text-B8YfzB7L.js";
|
|
18
18
|
const Z = (n, u) => `${n}-${u}`;
|
|
19
19
|
function Nt({
|
|
@@ -475,4 +475,4 @@ export {
|
|
|
475
475
|
Ct as b,
|
|
476
476
|
Z as p
|
|
477
477
|
};
|
|
478
|
-
//# sourceMappingURL=portal-details-
|
|
478
|
+
//# sourceMappingURL=portal-details-BZm8UNMx.js.map
|
|
@@ -5,7 +5,7 @@ import { B as C } from "./button-Dp4j9ygh.js";
|
|
|
5
5
|
import { T as se } from "./tab-bar-C6tPDq9s.js";
|
|
6
6
|
import { p as ae } from "./privacy-mask-text-B8YfzB7L.js";
|
|
7
7
|
import { c as D, b as de } from "./patient-sign-in-steps-kS2ktytw.js";
|
|
8
|
-
import { g as ce, a as W, S as pe, b as F, u as G, P as J, e as $, h as V, i as R, j as me, t as Z, c as E, d as ne, k as _ } from "./portal-parts-
|
|
8
|
+
import { g as ce, a as W, S as pe, b as F, u as G, P as J, e as $, h as V, i as R, j as me, t as Z, c as E, d as ne, k as _ } from "./portal-parts-DRfyhL5P.js";
|
|
9
9
|
import { H as ue } from "./house-DGCypGTo.js";
|
|
10
10
|
import { C as he } from "./calendar-days-BGWklvE-.js";
|
|
11
11
|
import { F as re } from "./file-text-5yv6r2ls.js";
|
|
@@ -899,4 +899,4 @@ export {
|
|
|
899
899
|
we as c,
|
|
900
900
|
_e as d
|
|
901
901
|
};
|
|
902
|
-
//# sourceMappingURL=portal-documents-
|
|
902
|
+
//# sourceMappingURL=portal-documents-CBVSCKAB.js.map
|