@alfadocs/ui-kit 1.68.0 → 1.69.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-B06ZSOaF.js → alia-sidebar-DEMMoefU.js} +3 -3
- package/dist/_chunks/{anamnesis-card-CsUBOG32.js → anamnesis-card-Bey9qQu4.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-CNK0fIJk.js → anamnesis-summary-rows-rNwSrNWZ.js} +2 -2
- package/dist/_chunks/{appointment-peek-D5XCfYKu.js → appointment-peek-CpcqB8oO.js} +2 -2
- package/dist/_chunks/{calendar-workspace-CYK1M83j.js → calendar-workspace-Ct8_454k.js} +3 -3
- package/dist/_chunks/{chat-message-Be-9vIIQ.js → chat-message-C2VXQMoB.js} +2 -2
- package/dist/_chunks/{code-block-vwEv1jEa.js → code-block-RSKdF3E-.js} +35 -35
- package/dist/_chunks/{connection-status--wYsgreh.js → connection-status-BOZC5QU5.js} +2 -2
- package/dist/_chunks/{description-list-Q8640NHu.js → description-list-DQQ2OA_t.js} +68 -66
- package/dist/_chunks/{optical-prescription-ulXnDbBe.js → optical-prescription-D5c7FBlT.js} +2 -2
- package/dist/_chunks/{patient-details-C4Dyo7Ck.js → patient-details-qWOsn1MX.js} +3 -3
- package/dist/_chunks/{patient-field-row-DROvUkFu.js → patient-field-row-CAl5ydtX.js} +2 -2
- package/dist/_chunks/{patient-summary-card-CAimxbuI.js → patient-summary-card-BhuRh9AE.js} +2 -2
- package/dist/_chunks/{payment-request-card-0DjQgVgX.js → payment-request-card-bysjRZrP.js} +2 -2
- package/dist/_chunks/{reviews-panel-CosDZyow.js → reviews-panel-sbsVmmCA.js} +2 -2
- package/dist/_chunks/{streaming-text-zFViGexf.js → streaming-text-DbqKTsmj.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-CUGfE0hV.js → use-appointment-details-read-1gjZuup4.js} +3 -3
- package/dist/_chunks/workflow-webhook-action-Ct8tFYi7.js +691 -0
- package/dist/agent-catalog.json +100 -1
- package/dist/agent-i18n/en.json +9 -0
- package/dist/components/_shared/code-block.d.ts +6 -0
- package/dist/components/anamnesis-card/index.js +1 -1
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-peek/index.js +1 -1
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/connection-status/index.js +1 -1
- package/dist/components/description-list/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/optical-prescription/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-card/index.js +1 -1
- package/dist/components/reviews-panel/index.js +1 -1
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +55 -0
- package/dist/i18n/locales/ar.js +55 -0
- package/dist/i18n/locales/de.d.ts +55 -0
- package/dist/i18n/locales/de.js +55 -0
- package/dist/i18n/locales/el.d.ts +55 -0
- package/dist/i18n/locales/el.js +55 -0
- package/dist/i18n/locales/en.d.ts +55 -0
- package/dist/i18n/locales/en.js +55 -0
- package/dist/i18n/locales/es.d.ts +55 -0
- package/dist/i18n/locales/es.js +55 -0
- package/dist/i18n/locales/fr.d.ts +55 -0
- package/dist/i18n/locales/fr.js +55 -0
- package/dist/i18n/locales/hi.d.ts +55 -0
- package/dist/i18n/locales/hi.js +55 -0
- package/dist/i18n/locales/it.d.ts +55 -0
- package/dist/i18n/locales/it.js +55 -0
- package/dist/i18n/locales/ja.d.ts +55 -0
- package/dist/i18n/locales/ja.js +55 -0
- package/dist/i18n/locales/nl.d.ts +55 -0
- package/dist/i18n/locales/nl.js +55 -0
- package/dist/i18n/locales/pl.d.ts +55 -0
- package/dist/i18n/locales/pl.js +55 -0
- package/dist/i18n/locales/pt.d.ts +55 -0
- package/dist/i18n/locales/pt.js +55 -0
- package/dist/i18n/locales/ro.d.ts +55 -0
- package/dist/i18n/locales/ro.js +55 -0
- package/dist/i18n/locales/ru.d.ts +55 -0
- package/dist/i18n/locales/ru.js +55 -0
- package/dist/i18n/locales/sq.d.ts +55 -0
- package/dist/i18n/locales/sq.js +55 -0
- package/dist/i18n/locales/sv.d.ts +55 -0
- package/dist/i18n/locales/sv.js +55 -0
- package/dist/i18n/locales/tr.d.ts +55 -0
- package/dist/i18n/locales/tr.js +55 -0
- package/dist/i18n/locales/zh.d.ts +55 -0
- package/dist/i18n/locales/zh.js +55 -0
- package/dist/index.js +120 -117
- package/dist/locales/ar.json +55 -0
- package/dist/locales/de.json +55 -0
- package/dist/locales/el.json +55 -0
- package/dist/locales/en.json +55 -0
- package/dist/locales/es.json +55 -0
- package/dist/locales/fr.json +55 -0
- package/dist/locales/hi.json +55 -0
- package/dist/locales/it.json +55 -0
- package/dist/locales/ja.json +55 -0
- package/dist/locales/nl.json +55 -0
- package/dist/locales/pl.json +55 -0
- package/dist/locales/pt.json +55 -0
- package/dist/locales/ro.json +55 -0
- package/dist/locales/ru.json +55 -0
- package/dist/locales/sq.json +55 -0
- package/dist/locales/sv.json +55 -0
- package/dist/locales/tr.json +55 -0
- package/dist/locales/zh.json +55 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.d.ts +3 -0
- package/dist/patterns/workflow-webhook-action/index.js +6 -0
- package/dist/patterns/workflow-webhook-action/workflow-webhook-action.d.ts +93 -0
- package/dist/tokens.css +1 -1
- package/package.json +5 -1
|
@@ -10,9 +10,9 @@ import { A as Qe } from "./astroid-BN4f5VXU.js";
|
|
|
10
10
|
import { A as Q } from "./avatar-BPiPL7ND.js";
|
|
11
11
|
import { B as _ } from "./button-D-MQxsA_.js";
|
|
12
12
|
import { C as Ke } from "./chat-container-baxzy8k8.js";
|
|
13
|
-
import { C as Me } from "./chat-message-
|
|
13
|
+
import { C as Me } from "./chat-message-C2VXQMoB.js";
|
|
14
14
|
import { C as we, P as Ze } from "./chat-input-HtTbUUD6.js";
|
|
15
|
-
import { S as Je } from "./streaming-text-
|
|
15
|
+
import { S as Je } from "./streaming-text-DbqKTsmj.js";
|
|
16
16
|
import { a as Ne, S as ye } from "./suggestion-chip-BNRWZL51.js";
|
|
17
17
|
import { T as Ye } from "./typing-indicator-B1RkE8jD.js";
|
|
18
18
|
import { P as Ve } from "./progress-D_g_Sl2g.js";
|
|
@@ -1281,4 +1281,4 @@ export {
|
|
|
1281
1281
|
Ts as c,
|
|
1282
1282
|
_s as d
|
|
1283
1283
|
};
|
|
1284
|
-
//# sourceMappingURL=alia-sidebar-
|
|
1284
|
+
//# sourceMappingURL=alia-sidebar-DEMMoefU.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as z } from "react-i18next";
|
|
|
5
5
|
import { B as n } from "./badge-BUk4RjTS.js";
|
|
6
6
|
import { C as N } from "./card-BA4Ig_kn.js";
|
|
7
7
|
import { A as G, b as O, c as Q, a as S } from "./accordion-Ch3xp0mX.js";
|
|
8
|
-
import { D as t } from "./description-list-
|
|
8
|
+
import { D as t } from "./description-list-DQQ2OA_t.js";
|
|
9
9
|
import { T as w } from "./timestamp-DPLDWdxA.js";
|
|
10
10
|
import { T as y } from "./triangle-alert-CBnO6nq_.js";
|
|
11
11
|
const H = q("ds:w-full ds:text-[color:var(--foreground)]", {
|
|
@@ -153,4 +153,4 @@ J.displayName = "AnamnesisCard";
|
|
|
153
153
|
export {
|
|
154
154
|
J as A
|
|
155
155
|
};
|
|
156
|
-
//# sourceMappingURL=anamnesis-card-
|
|
156
|
+
//# sourceMappingURL=anamnesis-card-Bey9qQu4.js.map
|
package/dist/_chunks/{anamnesis-summary-rows-CNK0fIJk.js → anamnesis-summary-rows-rNwSrNWZ.js}
RENAMED
|
@@ -18,7 +18,7 @@ import { S as te } from "./state-backed-text-input-Cgh4ms3p.js";
|
|
|
18
18
|
import { T as Ze } from "./timestamp-DPLDWdxA.js";
|
|
19
19
|
import { D as sn } from "./date-picker-KcoNNsM0.js";
|
|
20
20
|
import { A as Ue } from "./alert-9kEwDza3.js";
|
|
21
|
-
import { D as L } from "./description-list-
|
|
21
|
+
import { D as L } from "./description-list-DQQ2OA_t.js";
|
|
22
22
|
import { c as Xt } from "./index-D2ZczOXr.js";
|
|
23
23
|
import { S as dn } from "./sparkline-SnniCoCl.js";
|
|
24
24
|
import { A as ei, a as ai } from "./arrow-up-BYvcvTkB.js";
|
|
@@ -20928,4 +20928,4 @@ export {
|
|
|
20928
20928
|
Vi as t,
|
|
20929
20929
|
ld as u
|
|
20930
20930
|
};
|
|
20931
|
-
//# sourceMappingURL=anamnesis-summary-rows-
|
|
20931
|
+
//# sourceMappingURL=anamnesis-summary-rows-rNwSrNWZ.js.map
|
|
@@ -3,7 +3,7 @@ import { forwardRef as P, isValidElement as D } from "react";
|
|
|
3
3
|
import { c as V } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as y } from "react-i18next";
|
|
5
5
|
import { A as z } from "./avatar-BPiPL7ND.js";
|
|
6
|
-
import { D as l } from "./description-list-
|
|
6
|
+
import { D as l } from "./description-list-DQQ2OA_t.js";
|
|
7
7
|
import { H as E } from "./hover-card-CTNhQXWS.js";
|
|
8
8
|
import { a as H } from "./workflow-status-Dc_CyEz5.js";
|
|
9
9
|
import { C as I } from "./clock-Drd4Wtis.js";
|
|
@@ -120,4 +120,4 @@ T.displayName = "AppointmentPeek";
|
|
|
120
120
|
export {
|
|
121
121
|
T as A
|
|
122
122
|
};
|
|
123
|
-
//# sourceMappingURL=appointment-peek-
|
|
123
|
+
//# sourceMappingURL=appointment-peek-CpcqB8oO.js.map
|
|
@@ -10,7 +10,7 @@ import { S as $t, C as di } from "./skeleton-tTWJpvAq.js";
|
|
|
10
10
|
import { G as qa, h as Er, c as co, A as lo, C as li } from "./color-picker-AcaWuKah.js";
|
|
11
11
|
import { s as uo, S as po } from "./signature-status-chip-pIoQjvH8.js";
|
|
12
12
|
import { b as ho } from "./appointment-workflow-status-DMjuIK90.js";
|
|
13
|
-
import { b as ja, f as fn, c as mo, d as go, e as vo, A as ui, u as fo, g as bo, D as pi, M as ko, C as Or, h as Io, i as Co, R as hi, j as No, k as yo, l as Na, I as xo, s as So } from "./use-appointment-details-read-
|
|
13
|
+
import { b as ja, f as fn, c as mo, d as go, e as vo, A as ui, u as fo, g as bo, D as pi, M as ko, C as Or, h as Io, i as Co, R as hi, j as No, k as yo, l as Na, I as xo, s as So } from "./use-appointment-details-read-1gjZuup4.js";
|
|
14
14
|
import { A as Rr, a as mi } from "./entity-card-fpm-KUKc.js";
|
|
15
15
|
import { S as xs } from "./stethoscope-sZXGC43m.js";
|
|
16
16
|
import { T as Do, P as wo, E as gi, S as To } from "./task-editor-BomyxGoZ.js";
|
|
@@ -87,7 +87,7 @@ import { C as ps } from "./card-BA4Ig_kn.js";
|
|
|
87
87
|
import { K as Jo } from "./kbd-Bx7eQv9f.js";
|
|
88
88
|
import { R as Zo } from "./resource-chip-DB5jDwUO.js";
|
|
89
89
|
import { S as Qo, a as ec, E as tc } from "./calendar-event-card-DXAYWH6k.js";
|
|
90
|
-
import { A as nc } from "./appointment-peek-
|
|
90
|
+
import { A as nc } from "./appointment-peek-CpcqB8oO.js";
|
|
91
91
|
import { H as Qa } from "./hover-card-CTNhQXWS.js";
|
|
92
92
|
import { S as Ti } from "./square-check-big-dj0o8yA3.js";
|
|
93
93
|
import { P as $r } from "./printer-rkK0T1gi.js";
|
|
@@ -10590,4 +10590,4 @@ export {
|
|
|
10590
10590
|
Dh as r,
|
|
10591
10591
|
zt as u
|
|
10592
10592
|
};
|
|
10593
|
-
//# sourceMappingURL=calendar-workspace-
|
|
10593
|
+
//# sourceMappingURL=calendar-workspace-Ct8_454k.js.map
|
|
@@ -5,7 +5,7 @@ import { useTranslation as B } from "react-i18next";
|
|
|
5
5
|
import { B as F } from "./button-D-MQxsA_.js";
|
|
6
6
|
import { A as I } from "./avatar-BPiPL7ND.js";
|
|
7
7
|
import { T as A } from "./timestamp-DPLDWdxA.js";
|
|
8
|
-
import { s as M, C as S } from "./code-block-
|
|
8
|
+
import { s as M, C as S } from "./code-block-RSKdF3E-.js";
|
|
9
9
|
import { s as V } from "./safe-image-src-DstKgCo7.js";
|
|
10
10
|
import { R as D } from "./rotate-ccw-BBQnIVTr.js";
|
|
11
11
|
import { C as E } from "./clock-Drd4Wtis.js";
|
|
@@ -236,4 +236,4 @@ J.displayName = "ChatMessage";
|
|
|
236
236
|
export {
|
|
237
237
|
J as C
|
|
238
238
|
};
|
|
239
|
-
//# sourceMappingURL=chat-message-
|
|
239
|
+
//# sourceMappingURL=chat-message-C2VXQMoB.js.map
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { jsxs as m, jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
4
|
-
import { useTranslation as
|
|
5
|
-
import { I as
|
|
6
|
-
import { C } from "./check-DrFSN__t.js";
|
|
7
|
-
import { C as
|
|
8
|
-
function
|
|
9
|
-
const s = [],
|
|
1
|
+
import { jsxs as m, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as g, useState as h, useCallback as b } from "react";
|
|
3
|
+
import { c as x } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as y } from "react-i18next";
|
|
5
|
+
import { I as C } from "./icon-button-C_1TgRiK.js";
|
|
6
|
+
import { C as k } from "./check-DrFSN__t.js";
|
|
7
|
+
import { C as w } from "./copy-vRpqqHtY.js";
|
|
8
|
+
function R(e) {
|
|
9
|
+
const s = [], a = /```([^\n`]*)\n([\s\S]*?)(?:\n?```|$)/g;
|
|
10
10
|
let o = 0, r;
|
|
11
|
-
for (; (r =
|
|
11
|
+
for (; (r = a.exec(e)) !== null; )
|
|
12
12
|
r.index > o && s.push({ type: "text", value: e.slice(o, r.index) }), s.push({
|
|
13
13
|
type: "code",
|
|
14
14
|
lang: r[1].trim() || void 0,
|
|
15
15
|
value: r[2]
|
|
16
|
-
}), o =
|
|
16
|
+
}), o = a.lastIndex;
|
|
17
17
|
return o < e.length && s.push({ type: "text", value: e.slice(o) }), s;
|
|
18
18
|
}
|
|
19
|
-
const
|
|
19
|
+
const B = x(
|
|
20
20
|
[
|
|
21
21
|
"ds:my-[var(--spacing-sm)] ds:overflow-hidden",
|
|
22
22
|
"ds:rounded-[var(--radius-md)] ds:border ds:border-[color:var(--border)]",
|
|
23
23
|
"ds:bg-[var(--muted)]"
|
|
24
24
|
].join(" ")
|
|
25
|
-
),
|
|
26
|
-
({ code: e, language: s, showCopy:
|
|
27
|
-
var
|
|
28
|
-
const { t:
|
|
25
|
+
), j = g(
|
|
26
|
+
({ code: e, language: s, showCopy: a = !0, copyLabel: o, className: r, ...f }, u) => {
|
|
27
|
+
var c;
|
|
28
|
+
const { t: i } = y("ui"), [n, d] = h(!1), l = a && typeof navigator < "u" && typeof ((c = navigator.clipboard) == null ? void 0 : c.writeText) == "function", v = b(() => {
|
|
29
29
|
var p;
|
|
30
30
|
(p = navigator.clipboard) == null || p.writeText(e).then(() => {
|
|
31
|
-
|
|
31
|
+
d(!0), setTimeout(() => d(!1), 2e3);
|
|
32
32
|
}).catch(() => {
|
|
33
33
|
});
|
|
34
34
|
}, [e]);
|
|
35
35
|
return /* @__PURE__ */ m(
|
|
36
36
|
"div",
|
|
37
37
|
{
|
|
38
|
-
ref:
|
|
38
|
+
ref: u,
|
|
39
39
|
"data-component": "code-block",
|
|
40
|
-
className: [
|
|
41
|
-
...
|
|
40
|
+
className: [B(), r].filter(Boolean).join(" "),
|
|
41
|
+
...f,
|
|
42
42
|
children: [
|
|
43
|
-
s ||
|
|
43
|
+
s || l ? /* @__PURE__ */ m(
|
|
44
44
|
"div",
|
|
45
45
|
{
|
|
46
46
|
className: [
|
|
@@ -51,7 +51,7 @@ const w = h(
|
|
|
51
51
|
"ds:pt-[var(--spacing-xs)] ds:pb-[var(--spacing-xs)]"
|
|
52
52
|
].join(" "),
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ t(
|
|
55
55
|
"span",
|
|
56
56
|
{
|
|
57
57
|
dir: "ltr",
|
|
@@ -59,25 +59,25 @@ const w = h(
|
|
|
59
59
|
children: s ?? ""
|
|
60
60
|
}
|
|
61
61
|
),
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
l ? /* @__PURE__ */ t(
|
|
63
|
+
C,
|
|
64
64
|
{
|
|
65
|
-
icon: n ? /* @__PURE__ */
|
|
66
|
-
"aria-label":
|
|
65
|
+
icon: n ? /* @__PURE__ */ t(k, {}) : /* @__PURE__ */ t(w, {}),
|
|
66
|
+
"aria-label": n ? i("codeBlock.copied") : o ?? i("codeBlock.copy"),
|
|
67
67
|
intent: "ghost",
|
|
68
68
|
size: "sm",
|
|
69
|
-
onClick:
|
|
69
|
+
onClick: v
|
|
70
70
|
}
|
|
71
71
|
) : null
|
|
72
72
|
]
|
|
73
73
|
}
|
|
74
74
|
) : null,
|
|
75
|
-
/* @__PURE__ */
|
|
75
|
+
/* @__PURE__ */ t(
|
|
76
76
|
"pre",
|
|
77
77
|
{
|
|
78
78
|
tabIndex: 0,
|
|
79
|
-
className: "ds:m-0 ds:overflow-x-auto ds:p-[var(--spacing-md)]",
|
|
80
|
-
children: /* @__PURE__ */
|
|
79
|
+
className: "ds:m-0 ds:overflow-x-auto ds:p-[var(--spacing-md)] ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:calc(var(--focus-ring-width)*-1)]",
|
|
80
|
+
children: /* @__PURE__ */ t(
|
|
81
81
|
"code",
|
|
82
82
|
{
|
|
83
83
|
dir: "ltr",
|
|
@@ -92,15 +92,15 @@ const w = h(
|
|
|
92
92
|
)
|
|
93
93
|
}
|
|
94
94
|
),
|
|
95
|
-
/* @__PURE__ */
|
|
95
|
+
/* @__PURE__ */ t("span", { role: "status", "aria-live": "polite", className: "ds:sr-only", children: n ? i("codeBlock.copied") : "" })
|
|
96
96
|
]
|
|
97
97
|
}
|
|
98
98
|
);
|
|
99
99
|
}
|
|
100
100
|
);
|
|
101
|
-
|
|
101
|
+
j.displayName = "CodeBlock";
|
|
102
102
|
export {
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
j as C,
|
|
104
|
+
R as s
|
|
105
105
|
};
|
|
106
|
-
//# sourceMappingURL=code-block-
|
|
106
|
+
//# sourceMappingURL=code-block-RSKdF3E-.js.map
|
|
@@ -4,7 +4,7 @@ import { useTranslation as A } from "react-i18next";
|
|
|
4
4
|
import { C as a } from "./card-BA4Ig_kn.js";
|
|
5
5
|
import { B as C } from "./badge-BUk4RjTS.js";
|
|
6
6
|
import { B as u } from "./button-D-MQxsA_.js";
|
|
7
|
-
import { D as d } from "./description-list-
|
|
7
|
+
import { D as d } from "./description-list-DQQ2OA_t.js";
|
|
8
8
|
import { u as N } from "./registry-DvAUVLHh.js";
|
|
9
9
|
const w = {
|
|
10
10
|
id: "connection-status",
|
|
@@ -105,4 +105,4 @@ export {
|
|
|
105
105
|
K as C,
|
|
106
106
|
w as c
|
|
107
107
|
};
|
|
108
|
-
//# sourceMappingURL=connection-status
|
|
108
|
+
//# sourceMappingURL=connection-status-BOZC5QU5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { c as
|
|
1
|
+
import { jsx as e, jsxs as y } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as n, useMemo as x, Children as C, isValidElement as T, useContext as R, useState as b, useCallback as j, createContext as P } from "react";
|
|
3
|
+
import { c as p } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as z } from "react-i18next";
|
|
5
5
|
import { I as A } from "./icon-button-C_1TgRiK.js";
|
|
6
6
|
import { C as S } from "./check-DrFSN__t.js";
|
|
@@ -11,12 +11,12 @@ function E(s) {
|
|
|
11
11
|
function M(s) {
|
|
12
12
|
return s === "fixed" ? "minmax(0,2fr)" : "minmax(0,1fr)";
|
|
13
13
|
}
|
|
14
|
-
const
|
|
14
|
+
const k = P({
|
|
15
15
|
layout: "inline",
|
|
16
16
|
density: "default",
|
|
17
17
|
divider: "none",
|
|
18
18
|
hasIcons: !1
|
|
19
|
-
}), O =
|
|
19
|
+
}), O = p("ds:flex ds:flex-col", {
|
|
20
20
|
variants: {
|
|
21
21
|
layout: {
|
|
22
22
|
inline: "",
|
|
@@ -38,7 +38,7 @@ const y = P({
|
|
|
38
38
|
density: "default",
|
|
39
39
|
divider: "none"
|
|
40
40
|
}
|
|
41
|
-
}), q =
|
|
41
|
+
}), q = p("", {
|
|
42
42
|
variants: {
|
|
43
43
|
layout: {
|
|
44
44
|
inline: "",
|
|
@@ -71,7 +71,7 @@ const y = P({
|
|
|
71
71
|
layout: "inline",
|
|
72
72
|
hasIcons: !1,
|
|
73
73
|
copyable: !0,
|
|
74
|
-
className: "ds:grid ds:grid-cols-[var(--description-list-label-track)_var(--description-list-value-track)_auto] ds:gap-[var(--spacing-md)] ds:items-baseline ds:[&>
|
|
74
|
+
className: "ds:grid ds:grid-cols-[var(--description-list-label-track)_var(--description-list-value-track)_auto] ds:gap-[var(--spacing-md)] ds:items-baseline ds:[&>[data-dl-copy-slot]]:col-start-3 ds:[&>[data-dl-copy-slot]]:self-start"
|
|
75
75
|
},
|
|
76
76
|
/* ----- inline / with icons -----
|
|
77
77
|
`items-baseline` aligns Term (`type-label` 14 px / 1.4 lh) and
|
|
@@ -94,7 +94,7 @@ const y = P({
|
|
|
94
94
|
layout: "inline",
|
|
95
95
|
hasIcons: !0,
|
|
96
96
|
copyable: !0,
|
|
97
|
-
className: "ds:grid ds:grid-cols-[auto_var(--description-list-label-track)_var(--description-list-value-track)_auto] ds:gap-[var(--spacing-md)] ds:items-baseline ds:[&>[data-dl-icon-slot]]:self-start ds:[&>
|
|
97
|
+
className: "ds:grid ds:grid-cols-[auto_var(--description-list-label-track)_var(--description-list-value-track)_auto] ds:gap-[var(--spacing-md)] ds:items-baseline ds:[&>[data-dl-icon-slot]]:self-start ds:[&>[data-dl-copy-slot]]:col-start-4 ds:[&>[data-dl-copy-slot]]:self-start"
|
|
98
98
|
},
|
|
99
99
|
/* ----- stacked / no icons / no copyable ----- */
|
|
100
100
|
{
|
|
@@ -109,7 +109,7 @@ const y = P({
|
|
|
109
109
|
layout: "stacked",
|
|
110
110
|
hasIcons: !1,
|
|
111
111
|
copyable: !0,
|
|
112
|
-
className: "ds:grid ds:grid-cols-[minmax(0,1fr)_auto] ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-xs)] ds:items-start ds:[&>
|
|
112
|
+
className: "ds:grid ds:grid-cols-[minmax(0,1fr)_auto] ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-xs)] ds:items-start ds:[&>[data-dl-copy-slot]]:col-start-2 ds:[&>[data-dl-copy-slot]]:row-span-full"
|
|
113
113
|
},
|
|
114
114
|
/* ----- stacked / with icons — explicit grid so dt/dd remain
|
|
115
115
|
direct children of the row div while the icon sits at the
|
|
@@ -125,7 +125,7 @@ const y = P({
|
|
|
125
125
|
layout: "stacked",
|
|
126
126
|
hasIcons: !0,
|
|
127
127
|
copyable: !0,
|
|
128
|
-
className: "ds:grid ds:grid-cols-[auto_minmax(0,1fr)_auto] ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-xs)] ds:items-start ds:[&>dt]:col-start-2 ds:[&>dd]:col-start-2 ds:[&>[data-dl-icon-slot]]:row-span-full ds:[&>
|
|
128
|
+
className: "ds:grid ds:grid-cols-[auto_minmax(0,1fr)_auto] ds:gap-x-[var(--spacing-sm)] ds:gap-y-[var(--spacing-xs)] ds:items-start ds:[&>dt]:col-start-2 ds:[&>dd]:col-start-2 ds:[&>[data-dl-icon-slot]]:row-span-full ds:[&>[data-dl-copy-slot]]:col-start-3 ds:[&>[data-dl-copy-slot]]:row-span-full"
|
|
129
129
|
},
|
|
130
130
|
/* ----- responsive / no icons (inline above sm, stacked below) ----- */
|
|
131
131
|
{
|
|
@@ -138,7 +138,7 @@ const y = P({
|
|
|
138
138
|
layout: "responsive",
|
|
139
139
|
hasIcons: !1,
|
|
140
140
|
copyable: !0,
|
|
141
|
-
className: "ds:grid ds:grid-cols-[var(--description-list-label-track)_var(--description-list-value-track)_auto] ds:gap-[var(--spacing-md)] ds:items-baseline ds:[&>
|
|
141
|
+
className: "ds:grid ds:grid-cols-[var(--description-list-label-track)_var(--description-list-value-track)_auto] ds:gap-[var(--spacing-md)] ds:items-baseline ds:[&>[data-dl-copy-slot]]:col-start-3 ds:[&>[data-dl-copy-slot]]:self-start ds:max-sm:flex ds:max-sm:flex-col ds:max-sm:gap-[var(--spacing-xs)]"
|
|
142
142
|
},
|
|
143
143
|
/* ----- responsive / with icons ----- */
|
|
144
144
|
{
|
|
@@ -151,7 +151,7 @@ const y = P({
|
|
|
151
151
|
layout: "responsive",
|
|
152
152
|
hasIcons: !0,
|
|
153
153
|
copyable: !0,
|
|
154
|
-
className: "ds:grid ds:grid-cols-[auto_var(--description-list-label-track)_var(--description-list-value-track)_auto] ds:gap-[var(--spacing-md)] ds:items-baseline ds:[&>[data-dl-icon-slot]]:self-start ds:[&>
|
|
154
|
+
className: "ds:grid ds:grid-cols-[auto_var(--description-list-label-track)_var(--description-list-value-track)_auto] ds:gap-[var(--spacing-md)] ds:items-baseline ds:[&>[data-dl-icon-slot]]:self-start ds:[&>[data-dl-copy-slot]]:col-start-4 ds:[&>[data-dl-copy-slot]]:self-start ds:max-sm:grid-cols-[auto_minmax(0,1fr)_auto] ds:max-sm:gap-x-[var(--spacing-sm)] ds:max-sm:gap-y-[var(--spacing-xs)] ds:max-sm:[&>dt]:col-start-2 ds:max-sm:[&>dd]:col-start-2 ds:max-sm:[&>[data-dl-icon-slot]]:row-span-full ds:max-sm:[&>[data-dl-copy-slot]]:col-start-3 ds:max-sm:[&>[data-dl-copy-slot]]:row-span-full"
|
|
155
155
|
}
|
|
156
156
|
],
|
|
157
157
|
defaultVariants: {
|
|
@@ -160,34 +160,34 @@ const y = P({
|
|
|
160
160
|
copyable: !1,
|
|
161
161
|
hasIcons: !1
|
|
162
162
|
}
|
|
163
|
-
}),
|
|
163
|
+
}), w = n(
|
|
164
164
|
({
|
|
165
165
|
layout: s = "inline",
|
|
166
166
|
density: a = "default",
|
|
167
|
-
divider:
|
|
167
|
+
divider: d = "none",
|
|
168
168
|
labelWidth: t = "auto",
|
|
169
|
-
className:
|
|
169
|
+
className: m,
|
|
170
170
|
children: o,
|
|
171
|
-
style:
|
|
171
|
+
style: l,
|
|
172
172
|
...u
|
|
173
173
|
}, f) => {
|
|
174
174
|
const v = x(
|
|
175
175
|
() => C.toArray(o).some(
|
|
176
|
-
(
|
|
176
|
+
(r) => T(r) && r.props.icon != null
|
|
177
177
|
),
|
|
178
178
|
[o]
|
|
179
|
-
),
|
|
179
|
+
), i = x(
|
|
180
180
|
() => ({
|
|
181
|
-
...
|
|
181
|
+
...l,
|
|
182
182
|
"--description-list-label-track": E(t),
|
|
183
183
|
"--description-list-value-track": M(t)
|
|
184
184
|
}),
|
|
185
|
-
[
|
|
185
|
+
[l, t]
|
|
186
186
|
);
|
|
187
187
|
return /* @__PURE__ */ e(
|
|
188
|
-
|
|
188
|
+
k.Provider,
|
|
189
189
|
{
|
|
190
|
-
value: { layout: s, density: a, divider:
|
|
190
|
+
value: { layout: s, density: a, divider: d, hasIcons: v },
|
|
191
191
|
children: /* @__PURE__ */ e(
|
|
192
192
|
"dl",
|
|
193
193
|
{
|
|
@@ -195,12 +195,12 @@ const y = P({
|
|
|
195
195
|
className: O({
|
|
196
196
|
layout: s,
|
|
197
197
|
density: a,
|
|
198
|
-
divider:
|
|
199
|
-
className:
|
|
198
|
+
divider: d,
|
|
199
|
+
className: m
|
|
200
200
|
}),
|
|
201
201
|
"data-component": "description-list",
|
|
202
202
|
"data-label-width": t === "auto" || t === "fixed" ? t : "custom",
|
|
203
|
-
style:
|
|
203
|
+
style: i,
|
|
204
204
|
...u,
|
|
205
205
|
children: o
|
|
206
206
|
}
|
|
@@ -209,30 +209,30 @@ const y = P({
|
|
|
209
209
|
);
|
|
210
210
|
}
|
|
211
211
|
);
|
|
212
|
-
|
|
213
|
-
const
|
|
212
|
+
w.displayName = "DescriptionList";
|
|
213
|
+
const N = n(
|
|
214
214
|
({
|
|
215
215
|
copyable: s = !1,
|
|
216
216
|
copyText: a,
|
|
217
|
-
copyLabel:
|
|
217
|
+
copyLabel: d,
|
|
218
218
|
icon: t,
|
|
219
|
-
className:
|
|
219
|
+
className: m,
|
|
220
220
|
children: o,
|
|
221
|
-
...
|
|
221
|
+
...l
|
|
222
222
|
}, u) => {
|
|
223
|
-
const { layout: f, divider: v, hasIcons:
|
|
223
|
+
const { layout: f, divider: v, hasIcons: i } = R(k), { t: r } = z("ui"), [I, g] = b(!1), [L, c] = b(""), D = j(async () => {
|
|
224
224
|
if (a)
|
|
225
225
|
try {
|
|
226
|
-
await navigator.clipboard.writeText(a), g(!0),
|
|
227
|
-
g(!1),
|
|
226
|
+
await navigator.clipboard.writeText(a), g(!0), c(r("keyValuePair.copied")), setTimeout(() => {
|
|
227
|
+
g(!1), c("");
|
|
228
228
|
}, 2e3);
|
|
229
229
|
} catch {
|
|
230
|
-
|
|
230
|
+
c(r("keyValuePair.notAvailable")), setTimeout(() => c(""), 3e3);
|
|
231
231
|
}
|
|
232
|
-
}, [a,
|
|
233
|
-
label:
|
|
232
|
+
}, [a, r]), V = r("keyValuePair.copy", {
|
|
233
|
+
label: d ?? a ?? ""
|
|
234
234
|
});
|
|
235
|
-
return /* @__PURE__ */
|
|
235
|
+
return /* @__PURE__ */ y(
|
|
236
236
|
"div",
|
|
237
237
|
{
|
|
238
238
|
ref: u,
|
|
@@ -240,12 +240,12 @@ const w = c(
|
|
|
240
240
|
layout: f,
|
|
241
241
|
divider: v,
|
|
242
242
|
copyable: s,
|
|
243
|
-
hasIcons:
|
|
244
|
-
className:
|
|
243
|
+
hasIcons: i,
|
|
244
|
+
className: m
|
|
245
245
|
}),
|
|
246
|
-
...
|
|
246
|
+
...l,
|
|
247
247
|
children: [
|
|
248
|
-
|
|
248
|
+
i && /* @__PURE__ */ e(
|
|
249
249
|
"span",
|
|
250
250
|
{
|
|
251
251
|
"data-dl-icon-slot": !0,
|
|
@@ -255,27 +255,29 @@ const w = c(
|
|
|
255
255
|
}
|
|
256
256
|
),
|
|
257
257
|
o,
|
|
258
|
-
s && /* @__PURE__ */
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
258
|
+
s && /* @__PURE__ */ y("dd", { "data-dl-copy-slot": !0, className: "ds:m-0 ds:flex", children: [
|
|
259
|
+
/* @__PURE__ */ e(
|
|
260
|
+
A,
|
|
261
|
+
{
|
|
262
|
+
icon: I ? /* @__PURE__ */ e(S, {}) : /* @__PURE__ */ e(B, {}),
|
|
263
|
+
size: "sm",
|
|
264
|
+
"aria-label": V,
|
|
265
|
+
onClick: D,
|
|
266
|
+
intent: "ghost",
|
|
267
|
+
className: "ds:self-start"
|
|
268
|
+
}
|
|
269
|
+
),
|
|
270
|
+
/* @__PURE__ */ e("span", { role: "status", className: "ds:sr-only", children: L })
|
|
271
|
+
] })
|
|
270
272
|
]
|
|
271
273
|
}
|
|
272
274
|
);
|
|
273
275
|
}
|
|
274
276
|
);
|
|
275
|
-
|
|
276
|
-
const F =
|
|
277
|
+
N.displayName = "DescriptionList.Row";
|
|
278
|
+
const F = p(
|
|
277
279
|
"type-label ds:text-[color:var(--muted-foreground)] ds:text-start ds:[overflow-wrap:break-word] ds:[word-break:normal]"
|
|
278
|
-
), G =
|
|
280
|
+
), G = p(
|
|
279
281
|
"type-body ds:text-[color:var(--foreground)] ds:m-0 ds:[overflow-wrap:break-word] ds:[word-break:normal]",
|
|
280
282
|
{
|
|
281
283
|
variants: {
|
|
@@ -288,32 +290,32 @@ const F = m(
|
|
|
288
290
|
numeric: !1
|
|
289
291
|
}
|
|
290
292
|
}
|
|
291
|
-
), _ =
|
|
292
|
-
({ className: s, ...a },
|
|
293
|
+
), _ = n(
|
|
294
|
+
({ className: s, ...a }, d) => /* @__PURE__ */ e(
|
|
293
295
|
"dt",
|
|
294
296
|
{
|
|
295
|
-
ref:
|
|
297
|
+
ref: d,
|
|
296
298
|
className: F({ className: s }),
|
|
297
299
|
...a
|
|
298
300
|
}
|
|
299
301
|
)
|
|
300
302
|
);
|
|
301
303
|
_.displayName = "DescriptionList.Term";
|
|
302
|
-
const
|
|
304
|
+
const h = n(({ numeric: s = !1, className: a, ...d }, t) => /* @__PURE__ */ e(
|
|
303
305
|
"dd",
|
|
304
306
|
{
|
|
305
307
|
ref: t,
|
|
306
308
|
className: G({ numeric: s, className: a }),
|
|
307
|
-
...
|
|
309
|
+
...d
|
|
308
310
|
}
|
|
309
311
|
));
|
|
310
|
-
|
|
311
|
-
const Z = Object.assign(
|
|
312
|
-
Row:
|
|
312
|
+
h.displayName = "DescriptionList.Detail";
|
|
313
|
+
const Z = Object.assign(w, {
|
|
314
|
+
Row: N,
|
|
313
315
|
Term: _,
|
|
314
|
-
Detail:
|
|
316
|
+
Detail: h
|
|
315
317
|
});
|
|
316
318
|
export {
|
|
317
319
|
Z as D
|
|
318
320
|
};
|
|
319
|
-
//# sourceMappingURL=description-list-
|
|
321
|
+
//# sourceMappingURL=description-list-DQQ2OA_t.js.map
|
|
@@ -6,7 +6,7 @@ import { u as Ue } from "./registry-DvAUVLHh.js";
|
|
|
6
6
|
import { N as ae } from "./number-input-CVwI1ltI.js";
|
|
7
7
|
import { S as ye } from "./select-4S-eYZUf.js";
|
|
8
8
|
import { T as Je } from "./text-area-COMVJ1yE.js";
|
|
9
|
-
import { D as v } from "./description-list-
|
|
9
|
+
import { D as v } from "./description-list-DQQ2OA_t.js";
|
|
10
10
|
import { a as Qe } from "./format-number-DdzqwMs1.js";
|
|
11
11
|
const be = {
|
|
12
12
|
enum: ["od", "os"],
|
|
@@ -1273,4 +1273,4 @@ export {
|
|
|
1273
1273
|
gt as y,
|
|
1274
1274
|
_e as z
|
|
1275
1275
|
};
|
|
1276
|
-
//# sourceMappingURL=optical-prescription-
|
|
1276
|
+
//# sourceMappingURL=optical-prescription-D5c7FBlT.js.map
|
|
@@ -5,10 +5,10 @@ import { useTranslation as A } from "react-i18next";
|
|
|
5
5
|
import { A as ee } from "./avatar-BPiPL7ND.js";
|
|
6
6
|
import { C as f } from "./card-BA4Ig_kn.js";
|
|
7
7
|
import { C as ie, b as te, a as se } from "./collapsible-DVPM46bq.js";
|
|
8
|
-
import { D as ae } from "./description-list-
|
|
8
|
+
import { D as ae } from "./description-list-DQQ2OA_t.js";
|
|
9
9
|
import { P as de } from "./panel-header-CbtlTe85.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-CAl5ydtX.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-qWOsn1MX.js.map
|
|
@@ -9,7 +9,7 @@ import { P as O } from "./popover-4ZVtH_At.js";
|
|
|
9
9
|
import { S as te } from "./separator-CYU_bGFn.js";
|
|
10
10
|
import { S as ae } from "./settings-d25ju_6L.js";
|
|
11
11
|
import { G as re } from "./grip-vertical-onSb1JXO.js";
|
|
12
|
-
import { D as j } from "./description-list-
|
|
12
|
+
import { D as j } from "./description-list-DQQ2OA_t.js";
|
|
13
13
|
import { B as q } from "./badge-BUk4RjTS.js";
|
|
14
14
|
import { L as se } from "./link-N5_YpLtm.js";
|
|
15
15
|
import { T as ne } from "./transaction-chip-CohY6sTA.js";
|
|
@@ -805,4 +805,4 @@ export {
|
|
|
805
805
|
Dt as r,
|
|
806
806
|
St as u
|
|
807
807
|
};
|
|
808
|
-
//# sourceMappingURL=patient-field-row-
|
|
808
|
+
//# sourceMappingURL=patient-field-row-CAl5ydtX.js.map
|
|
@@ -14,7 +14,7 @@ import { T as Ke } from "./transaction-chip-CohY6sTA.js";
|
|
|
14
14
|
import { T as je } from "./tooltip-uEBdD1-5.js";
|
|
15
15
|
import { H as G } from "./hover-card-CTNhQXWS.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-CAl5ydtX.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";
|
|
@@ -548,4 +548,4 @@ export {
|
|
|
548
548
|
Ca as P,
|
|
549
549
|
ma as p
|
|
550
550
|
};
|
|
551
|
-
//# sourceMappingURL=patient-summary-card-
|
|
551
|
+
//# sourceMappingURL=patient-summary-card-BhuRh9AE.js.map
|
|
@@ -4,7 +4,7 @@ import { c as K } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as M } from "react-i18next";
|
|
5
5
|
import { B as O } from "./badge-BUk4RjTS.js";
|
|
6
6
|
import { C as D } from "./card-BA4Ig_kn.js";
|
|
7
|
-
import { D as d } from "./description-list-
|
|
7
|
+
import { D as d } from "./description-list-DQQ2OA_t.js";
|
|
8
8
|
import { K as Y, a as H } from "./key-value-pair-BscGwZsJ.js";
|
|
9
9
|
import { T as j, A as ae } from "./transaction-chip-CohY6sTA.js";
|
|
10
10
|
import { u as W } from "./registry-DvAUVLHh.js";
|
|
@@ -439,4 +439,4 @@ export {
|
|
|
439
439
|
Ce as b,
|
|
440
440
|
me as p
|
|
441
441
|
};
|
|
442
|
-
//# sourceMappingURL=payment-request-card-
|
|
442
|
+
//# sourceMappingURL=payment-request-card-bysjRZrP.js.map
|
|
@@ -6,7 +6,7 @@ import { u as X } from "./registry-DvAUVLHh.js";
|
|
|
6
6
|
import { R as k } from "./rating-CGYpg5dj.js";
|
|
7
7
|
import { C as A } from "./card-BA4Ig_kn.js";
|
|
8
8
|
import { C as Y, b as Z, a as ee } from "./collapsible-DVPM46bq.js";
|
|
9
|
-
import { D as l } from "./description-list-
|
|
9
|
+
import { D as l } from "./description-list-DQQ2OA_t.js";
|
|
10
10
|
import { E as te } from "./empty-state-pL1qum99.js";
|
|
11
11
|
import { S as T } from "./skeleton-tTWJpvAq.js";
|
|
12
12
|
import { B as se } from "./button-D-MQxsA_.js";
|
|
@@ -578,4 +578,4 @@ export {
|
|
|
578
578
|
me as R,
|
|
579
579
|
ie as r
|
|
580
580
|
};
|
|
581
|
-
//# sourceMappingURL=reviews-panel-
|
|
581
|
+
//# sourceMappingURL=reviews-panel-sbsVmmCA.js.map
|