@alfadocs/ui-kit 1.12.6 → 1.14.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/actions-cell-renderer-yy03OgRL.js +137 -0
- package/dist/_chunks/{address-fields-CZP4Wncx.js → address-fields-CZ0pEdEI.js} +4 -4
- package/dist/_chunks/{ai-prompt-input-DnbfEJnr.js → ai-prompt-input-CrHr-5H8.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-BfhxWPO3.js → anamnesis-summary-rows-CRWO8x8g.js} +4 -4
- package/dist/_chunks/{audio-recorder-EWBCNIsd.js → audio-recorder-DXG6LTtO.js} +2 -2
- package/dist/_chunks/{autocomplete-BrONKN8l.js → autocomplete-MpBhz-fG.js} +86 -74
- package/dist/_chunks/{balance-badge-cell-7L6nzB29.js → balance-badge-cell-CgkxYO96.js} +9 -8
- package/dist/_chunks/{bishop-score-Cnu0xs-z.js → bishop-score-CJUVBfAu.js} +2 -2
- package/dist/_chunks/{booking-CBHKdsZl.js → booking-DQbo6mQF.js} +609 -591
- package/dist/_chunks/{calendar-B4Gnyu1C.js → calendar-CHT9Rm3M.js} +2 -2
- package/dist/_chunks/{calendar-event-card-Bjdbik8G.js → calendar-event-card-BjdHZaqz.js} +18 -14
- package/dist/_chunks/calendar-plus-BFrIRE4r.js +19 -0
- package/dist/_chunks/calendar-workspace-DI49_t6t.js +7429 -0
- package/dist/_chunks/{care-plan-card-aDN4oem9.js → care-plan-card-D-FMfDKH.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-BEhANdBE.js → care-plan-entry-card-Bvw_9T-d.js} +2 -2
- package/dist/_chunks/{care-plan-header-CkpPyQqG.js → care-plan-header-B5CBE0zu.js} +2 -2
- package/dist/_chunks/{city-input-towzBenY.js → city-input-DaQc-Hbj.js} +2 -2
- package/dist/_chunks/clipboard-list-rSzfIYZB.js +25 -0
- package/dist/_chunks/{color-picker-oZ6zYks8.js → color-picker-CU303VjY.js} +4 -2
- package/dist/_chunks/{combobox-DiMLItyu.js → combobox-D7_NLE2Z.js} +89 -81
- package/dist/_chunks/{contact-profile-card-BMIBr5s9.js → contact-profile-card-BZqi8Hck.js} +38 -36
- package/dist/_chunks/{country-select-UEF9BEeQ.js → country-select-DzbPFktV.js} +2 -2
- package/dist/_chunks/data-table-DC5rO3Ty.js +1817 -0
- package/dist/_chunks/{document-preview-oyx9RhCo.js → document-preview-CDb-n_W7.js} +2 -2
- package/dist/_chunks/{face-scheme-CZaKm6fG.js → face-scheme-DA2vjqaM.js} +2 -2
- package/dist/_chunks/{field-value-DG8zaZvo.js → field-value-D-vkX9uL.js} +120 -140
- package/dist/_chunks/{file-manager-C0y7HBAN.js → file-manager-DJMeB3V8.js} +138 -153
- package/dist/_chunks/folder-plus-CutOs4DP.js +22 -0
- package/dist/_chunks/{gestational-age-calculator-CxZelpu2.js → gestational-age-calculator-CiOQjzgx.js} +2 -2
- package/dist/_chunks/hourglass-BEAzW1wE.js +26 -0
- package/dist/_chunks/key-value-pair-BIBdZBLg.js +188 -0
- package/dist/_chunks/{link-cell-renderer-CenJx-_7.js → link-cell-renderer-CIASXsVM.js} +4 -4
- package/dist/_chunks/{multi-select-DqL4o0qV.js → multi-select-DYOvx2SJ.js} +56 -48
- package/dist/_chunks/{muscle-scheme-yfzP_xoJ.js → muscle-scheme-BSJsI4-I.js} +2 -2
- package/dist/_chunks/{notes-panel-CymneXtl.js → notes-panel-DYAtlq_i.js} +2 -2
- package/dist/_chunks/{optical-prescription-Dj3Eh5Ok.js → optical-prescription-BvwuqTpl.js} +2 -2
- package/dist/_chunks/{patient-details-xrqe13az.js → patient-details-BfzvFnxQ.js} +75 -94
- package/dist/_chunks/{patient-search-D5ufYoRc.js → patient-search-HeEUB-_X.js} +2 -2
- package/dist/_chunks/{patient-summary-card-CBfuDvJ5.js → patient-summary-card-D5Vfa321.js} +3 -3
- package/dist/_chunks/{payment-request-card-YVCcCZ25.js → payment-request-card-lmKLwsDs.js} +2 -2
- package/dist/_chunks/{periodontal-chart-BatZEFar.js → periodontal-chart-B9fphroR.js} +2 -2
- package/dist/_chunks/{periodontal-chart-card-BBpY_rBc.js → periodontal-chart-card-qEZPXj83.js} +2 -2
- package/dist/_chunks/{practice-results-D7ygCj_W.js → practice-results-DL_ExLYE.js} +159 -172
- package/dist/_chunks/{pregnancy-dating-DtToyMyc.js → pregnancy-dating-D2wchD11.js} +2 -2
- package/dist/_chunks/{province-select-BDywtmL-.js → province-select-BBc7s7vR.js} +2 -2
- package/dist/_chunks/{rich-text-editor-BDfFtK4H.js → rich-text-editor-DtbcA6s1.js} +2 -2
- package/dist/_chunks/{select-BW5ecXlX.js → select-Bi8zril7.js} +165 -136
- package/dist/_chunks/signature-CpFNpsVK.js +21 -0
- package/dist/_chunks/{signature-field-0rFODJlW.js → signature-field-CEiPe-vX.js} +19 -34
- package/dist/_chunks/{signature-request-DVDTKLjM.js → signature-request-CUe903hj.js} +2 -2
- package/dist/_chunks/smartphone-C0rFF2if.js +15 -0
- package/dist/_chunks/{tabs-CBb2AidH.js → tabs-DqKtTIjZ.js} +2 -2
- package/dist/_chunks/{tasks-panel-Do5SFp-j.js → tasks-panel-DPCNaRko.js} +2 -2
- package/dist/_chunks/{toast.agent-D1tdg6DS.js → toast-YZz2sBzB.js} +160 -212
- package/dist/_chunks/toast.agent-DNQ0JYGv.js +56 -0
- package/dist/_chunks/{tooth-scheme-WdyVymQ1.js → tooth-scheme-2IsmbE6w.js} +2 -2
- package/dist/_chunks/{unit-converter-BPumXMA6.js → unit-converter-C6jMjqL9.js} +2 -2
- package/dist/_chunks/{workflow-map-DE_ribRM.js → workflow-map-dNzJjBWG.js} +104 -113
- package/dist/agent-catalog.json +867 -1
- package/dist/agent-i18n/en.json +27 -0
- package/dist/components/_shared/option.d.ts +1 -0
- package/dist/components/address-fields/index.js +1 -1
- package/dist/components/ai-prompt-input/index.js +1 -1
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/bishop-score/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/calendar/index.js +1 -1
- package/dist/components/calendar-event-card/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/care-plan-header/index.js +1 -1
- package/dist/components/city-input/index.js +1 -1
- package/dist/components/color-picker/index.js +1 -1
- package/dist/components/combobox/index.js +1 -1
- package/dist/components/contact-profile-card/index.js +1 -1
- package/dist/components/country-select/index.js +1 -1
- package/dist/components/data-table/index.js +39 -38
- package/dist/components/document-preview/index.js +1 -1
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/key-value-pair/index.js +1 -1
- package/dist/components/key-value-pair/key-value-pair.d.ts +16 -0
- package/dist/components/multi-select/index.js +1 -1
- package/dist/components/muscle-scheme/index.js +1 -1
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/optical-prescription/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-search/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/payment-card/index.js +1 -1
- package/dist/components/periodontal-chart/index.js +1 -1
- package/dist/components/periodontal-chart-card/index.js +1 -1
- package/dist/components/practice-results/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/province-select/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/select.d.ts +24 -0
- package/dist/components/signature-field/index.js +1 -1
- package/dist/components/skeleton-scheme/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/toast/index.js +7 -6
- package/dist/components/tooth-scheme/index.js +1 -1
- package/dist/components/unit-converter/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +680 -0
- package/dist/i18n/locales/ar.js +680 -0
- package/dist/i18n/locales/de.d.ts +680 -0
- package/dist/i18n/locales/de.js +680 -0
- package/dist/i18n/locales/el.d.ts +680 -0
- package/dist/i18n/locales/el.js +680 -0
- package/dist/i18n/locales/en.d.ts +680 -0
- package/dist/i18n/locales/en.js +680 -0
- package/dist/i18n/locales/es.d.ts +680 -0
- package/dist/i18n/locales/es.js +680 -0
- package/dist/i18n/locales/fr.d.ts +680 -0
- package/dist/i18n/locales/fr.js +680 -0
- package/dist/i18n/locales/hi.d.ts +680 -0
- package/dist/i18n/locales/hi.js +680 -0
- package/dist/i18n/locales/it.d.ts +680 -0
- package/dist/i18n/locales/it.js +680 -0
- package/dist/i18n/locales/ja.d.ts +680 -0
- package/dist/i18n/locales/ja.js +680 -0
- package/dist/i18n/locales/nl.d.ts +680 -0
- package/dist/i18n/locales/nl.js +680 -0
- package/dist/i18n/locales/pl.d.ts +680 -0
- package/dist/i18n/locales/pl.js +680 -0
- package/dist/i18n/locales/pt.d.ts +680 -0
- package/dist/i18n/locales/pt.js +680 -0
- package/dist/i18n/locales/ro.d.ts +680 -0
- package/dist/i18n/locales/ro.js +680 -0
- package/dist/i18n/locales/ru.d.ts +680 -0
- package/dist/i18n/locales/ru.js +680 -0
- package/dist/i18n/locales/sq.d.ts +680 -0
- package/dist/i18n/locales/sq.js +680 -0
- package/dist/i18n/locales/sv.d.ts +680 -0
- package/dist/i18n/locales/sv.js +680 -0
- package/dist/i18n/locales/tr.d.ts +680 -0
- package/dist/i18n/locales/tr.js +680 -0
- package/dist/i18n/locales/zh.d.ts +680 -0
- package/dist/i18n/locales/zh.js +680 -0
- package/dist/index.js +830 -812
- package/dist/locales/ar.json +680 -0
- package/dist/locales/de.json +680 -0
- package/dist/locales/el.json +680 -0
- package/dist/locales/en.json +680 -0
- package/dist/locales/es.json +680 -0
- package/dist/locales/fr.json +680 -0
- package/dist/locales/hi.json +680 -0
- package/dist/locales/it.json +680 -0
- package/dist/locales/ja.json +680 -0
- package/dist/locales/nl.json +680 -0
- package/dist/locales/pl.json +680 -0
- package/dist/locales/pt.json +680 -0
- package/dist/locales/ro.json +680 -0
- package/dist/locales/ru.json +680 -0
- package/dist/locales/sq.json +680 -0
- package/dist/locales/sv.json +680 -0
- package/dist/locales/tr.json +680 -0
- package/dist/locales/zh.json +680 -0
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/calendar-workspace.d.ts +62 -0
- package/dist/patterns/calendar/calendar-workspace.model.d.ts +358 -0
- package/dist/patterns/calendar/calendar.data.d.ts +122 -0
- package/dist/patterns/calendar/calendar.host.d.ts +10 -0
- package/dist/patterns/calendar/calendar.journey.d.ts +119 -0
- package/dist/patterns/calendar/calendar.model.d.ts +684 -0
- package/dist/patterns/calendar/calendar.preferences.d.ts +74 -0
- package/dist/patterns/calendar/calendar.sheets.d.ts +398 -0
- package/dist/patterns/calendar/calendar.surface.d.ts +77 -0
- package/dist/patterns/calendar/calendar.types.d.ts +413 -0
- package/dist/patterns/calendar/index.d.ts +13 -0
- package/dist/patterns/calendar/index.js +19 -0
- package/dist/patterns/signature-request/index.js +1 -1
- package/package.json +5 -1
- package/dist/_chunks/actions-cell-renderer-DnSLrgQD.js +0 -1945
- package/dist/_chunks/key-value-pair-BubG4fUa.js +0 -144
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { jsxs as m, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { isValidElement as w, cloneElement as A, forwardRef as B } from "react";
|
|
3
|
+
import { useTranslation as R } from "react-i18next";
|
|
4
|
+
import { I as f } from "./icon-button-DA2CAGHZ.js";
|
|
5
|
+
import { I as S } from "./icon-button-group-VCCod3Hz.js";
|
|
6
|
+
import { D as l } from "./dropdown-menu-DU-Hrf33.js";
|
|
7
|
+
import { E as T } from "./ellipsis-dRo9ouSU.js";
|
|
8
|
+
function h(s) {
|
|
9
|
+
if (!w(s)) return s;
|
|
10
|
+
const e = s, i = e.props.className ?? "", r = /\bsize-|\bw-|\bh-/.test(i) ? i : `${i} size-4`.trim();
|
|
11
|
+
return A(e, { className: r, size: e.props.size ?? 16 });
|
|
12
|
+
}
|
|
13
|
+
function G(s) {
|
|
14
|
+
return Math.max(1, s) * 32 + 28;
|
|
15
|
+
}
|
|
16
|
+
function p(s, e) {
|
|
17
|
+
return typeof s == "function" ? s(e) : !!s;
|
|
18
|
+
}
|
|
19
|
+
const k = "ds:text-[color:var(--destructive)] ds:hover:text-[color:var(--destructive-hover)]";
|
|
20
|
+
function V(s) {
|
|
21
|
+
const {
|
|
22
|
+
data: e,
|
|
23
|
+
actions: i,
|
|
24
|
+
intent: r = "ghost",
|
|
25
|
+
group: v,
|
|
26
|
+
label: a,
|
|
27
|
+
collapsed: c,
|
|
28
|
+
maxInline: n
|
|
29
|
+
} = s, { t: d } = R();
|
|
30
|
+
if (!e) return null;
|
|
31
|
+
const u = i.filter((t) => !p(t.hidden, e)), N = typeof c == "function" ? c() : !!c, z = n === void 0 ? u : u.slice(0, Math.max(0, n)), C = n === void 0 ? [] : u.slice(Math.max(0, n));
|
|
32
|
+
if (N)
|
|
33
|
+
return /* @__PURE__ */ m(l.Root, { children: [
|
|
34
|
+
/* @__PURE__ */ o(l.Trigger, { asChild: !0, children: /* @__PURE__ */ o(
|
|
35
|
+
f,
|
|
36
|
+
{
|
|
37
|
+
size: "sm",
|
|
38
|
+
intent: r,
|
|
39
|
+
icon: /* @__PURE__ */ o(T, { "aria-hidden": !0 }),
|
|
40
|
+
"aria-label": a ?? d("dataTable.actions", "Actions")
|
|
41
|
+
}
|
|
42
|
+
) }),
|
|
43
|
+
/* @__PURE__ */ o(l.Content, { align: "end", children: u.map((t, b) => /* @__PURE__ */ o(
|
|
44
|
+
l.Item,
|
|
45
|
+
{
|
|
46
|
+
startIcon: h(t.icon),
|
|
47
|
+
disabled: p(t.disabled, e),
|
|
48
|
+
onSelect: () => t.onClick(e),
|
|
49
|
+
className: t.variant === "destructive" ? "ds:text-[color:var(--destructive)]" : void 0,
|
|
50
|
+
children: t.label
|
|
51
|
+
},
|
|
52
|
+
b
|
|
53
|
+
)) })
|
|
54
|
+
] });
|
|
55
|
+
const x = z.map((t, b) => {
|
|
56
|
+
const I = p(t.disabled, e), E = I && t.disabledReason ? t.disabledReason : t.label;
|
|
57
|
+
return /* @__PURE__ */ o(
|
|
58
|
+
f,
|
|
59
|
+
{
|
|
60
|
+
size: "sm",
|
|
61
|
+
intent: r,
|
|
62
|
+
icon: h(t.icon),
|
|
63
|
+
tooltip: E,
|
|
64
|
+
"aria-label": t.label,
|
|
65
|
+
disabled: I,
|
|
66
|
+
onClick: (M) => {
|
|
67
|
+
M.stopPropagation(), t.onClick(e);
|
|
68
|
+
},
|
|
69
|
+
className: t.variant === "destructive" ? k : void 0
|
|
70
|
+
},
|
|
71
|
+
b
|
|
72
|
+
);
|
|
73
|
+
}), g = C.length > 0 ? /* @__PURE__ */ o(
|
|
74
|
+
L,
|
|
75
|
+
{
|
|
76
|
+
data: e,
|
|
77
|
+
actions: C,
|
|
78
|
+
intent: r,
|
|
79
|
+
label: a ?? d("dataTable.actions", "Actions")
|
|
80
|
+
},
|
|
81
|
+
"overflow"
|
|
82
|
+
) : null;
|
|
83
|
+
return v ? /* @__PURE__ */ m(
|
|
84
|
+
S,
|
|
85
|
+
{
|
|
86
|
+
"aria-label": a ?? d("dataTable.actions", "Actions"),
|
|
87
|
+
size: "sm",
|
|
88
|
+
children: [
|
|
89
|
+
x,
|
|
90
|
+
g
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
) : /* @__PURE__ */ m("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-xs)]", children: [
|
|
94
|
+
x,
|
|
95
|
+
g
|
|
96
|
+
] });
|
|
97
|
+
}
|
|
98
|
+
const L = B(function({
|
|
99
|
+
data: e,
|
|
100
|
+
actions: i,
|
|
101
|
+
label: r,
|
|
102
|
+
intent: v = "ghost",
|
|
103
|
+
...a
|
|
104
|
+
}, c) {
|
|
105
|
+
return /* @__PURE__ */ m(l.Root, { children: [
|
|
106
|
+
/* @__PURE__ */ o(l.Trigger, { asChild: !0, children: /* @__PURE__ */ o(
|
|
107
|
+
f,
|
|
108
|
+
{
|
|
109
|
+
ref: c,
|
|
110
|
+
type: "button",
|
|
111
|
+
size: "sm",
|
|
112
|
+
intent: v,
|
|
113
|
+
icon: /* @__PURE__ */ o(T, { "aria-hidden": !0 }),
|
|
114
|
+
tooltip: r,
|
|
115
|
+
"aria-label": r,
|
|
116
|
+
onClick: (n) => n.stopPropagation(),
|
|
117
|
+
...a
|
|
118
|
+
}
|
|
119
|
+
) }),
|
|
120
|
+
/* @__PURE__ */ o(l.Content, { align: "end", children: i.map((n, d) => /* @__PURE__ */ o(
|
|
121
|
+
l.Item,
|
|
122
|
+
{
|
|
123
|
+
startIcon: h(n.icon),
|
|
124
|
+
disabled: p(n.disabled, e),
|
|
125
|
+
onSelect: () => n.onClick(e),
|
|
126
|
+
className: n.variant === "destructive" ? "ds:text-[color:var(--destructive)]" : void 0,
|
|
127
|
+
children: n.label
|
|
128
|
+
},
|
|
129
|
+
d
|
|
130
|
+
)) })
|
|
131
|
+
] });
|
|
132
|
+
});
|
|
133
|
+
export {
|
|
134
|
+
V as A,
|
|
135
|
+
G as a
|
|
136
|
+
};
|
|
137
|
+
//# sourceMappingURL=actions-cell-renderer-yy03OgRL.js.map
|
|
@@ -2,10 +2,10 @@ import { jsx as s } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as _, useRef as j, useEffect as k, useCallback as E, useMemo as x } from "react";
|
|
3
3
|
import { c as L } from "./index-D2ZczOXr.js";
|
|
4
4
|
import { useTranslation as N } from "react-i18next";
|
|
5
|
-
import { C as O } from "./country-select-
|
|
6
|
-
import { P as B } from "./province-select-
|
|
5
|
+
import { C as O } from "./country-select-DzbPFktV.js";
|
|
6
|
+
import { P as B } from "./province-select-BBc7s7vR.js";
|
|
7
7
|
import { P as q } from "./postal-code-input-BznBxVxf.js";
|
|
8
|
-
import { C as H } from "./city-input-
|
|
8
|
+
import { C as H } from "./city-input-DaQc-Hbj.js";
|
|
9
9
|
import { T as K } from "./text-input-CUvCb6ST.js";
|
|
10
10
|
import { F as l } from "./form-field-CahJzTxp.js";
|
|
11
11
|
import { A as M } from "./address-autocomplete-Bq-1n1UX.js";
|
|
@@ -243,4 +243,4 @@ export {
|
|
|
243
243
|
Z as A,
|
|
244
244
|
Y as a
|
|
245
245
|
};
|
|
246
|
-
//# sourceMappingURL=address-fields-
|
|
246
|
+
//# sourceMappingURL=address-fields-CZ0pEdEI.js.map
|
|
@@ -8,7 +8,7 @@ import { u as Re } from "./registry-DvAUVLHh.js";
|
|
|
8
8
|
import { _ as g } from "./index-4xgbg-sn.js";
|
|
9
9
|
import { u as De } from "./index-BcMWc8W2.js";
|
|
10
10
|
import { I as te } from "./icon-button-DA2CAGHZ.js";
|
|
11
|
-
import { S as We } from "./select-
|
|
11
|
+
import { S as We } from "./select-Bi8zril7.js";
|
|
12
12
|
import { S as _e } from "./send-C5kDJ-Mz.js";
|
|
13
13
|
import { X as Ae } from "./x-B5YnXwCz.js";
|
|
14
14
|
const Le = {
|
|
@@ -497,4 +497,4 @@ export {
|
|
|
497
497
|
Ze as A,
|
|
498
498
|
Le as a
|
|
499
499
|
};
|
|
500
|
-
//# sourceMappingURL=ai-prompt-input-
|
|
500
|
+
//# sourceMappingURL=ai-prompt-input-CrHr-5H8.js.map
|
package/dist/_chunks/{anamnesis-summary-rows-BfhxWPO3.js → anamnesis-summary-rows-CRWO8x8g.js}
RENAMED
|
@@ -7,12 +7,12 @@ import { C as re } from "./card-DPmk26CL.js";
|
|
|
7
7
|
import { C as Jt, b as Zt, a as ea } from "./collapsible-CTjxzGuF.js";
|
|
8
8
|
import { E as Ze } from "./empty-state-X0sVPfVo.js";
|
|
9
9
|
import { F as $ } from "./form-field-CahJzTxp.js";
|
|
10
|
-
import { M as li } from "./multi-select-
|
|
10
|
+
import { M as li } from "./multi-select-DYOvx2SJ.js";
|
|
11
11
|
import { N as gn } from "./number-input-Cgu2TtA8.js";
|
|
12
12
|
import { R as we } from "./radio-TWf9Q-mp.js";
|
|
13
13
|
import { R as pn } from "./radio-group-rXDJADzW.js";
|
|
14
|
-
import { S as $e } from "./select-
|
|
15
|
-
import { T as Q } from "./tabs-
|
|
14
|
+
import { S as $e } from "./select-Bi8zril7.js";
|
|
15
|
+
import { T as Q } from "./tabs-DqKtTIjZ.js";
|
|
16
16
|
import { T as sn } from "./text-area-Bt3p7Pt0.js";
|
|
17
17
|
import { T as ne } from "./text-input-CUvCb6ST.js";
|
|
18
18
|
import { T as Ye } from "./timestamp-BV2lC-wV.js";
|
|
@@ -9413,4 +9413,4 @@ export {
|
|
|
9413
9413
|
Ba as t,
|
|
9414
9414
|
Bl as u
|
|
9415
9415
|
};
|
|
9416
|
-
//# sourceMappingURL=anamnesis-summary-rows-
|
|
9416
|
+
//# sourceMappingURL=anamnesis-summary-rows-CRWO8x8g.js.map
|
|
@@ -4,7 +4,7 @@ import { c as oe } from "./index-D2ZczOXr.js";
|
|
|
4
4
|
import { useTranslation as ue } from "react-i18next";
|
|
5
5
|
import { B as G } from "./button-nJaPh_HC.js";
|
|
6
6
|
import { I as D } from "./icon-button-DA2CAGHZ.js";
|
|
7
|
-
import { S as pe } from "./select-
|
|
7
|
+
import { S as pe } from "./select-Bi8zril7.js";
|
|
8
8
|
import { A as le } from "./audio-visualiser-l6zPd0AG.js";
|
|
9
9
|
import { A as F } from "./alert-CiJT540z.js";
|
|
10
10
|
import { u as me } from "./registry-DvAUVLHh.js";
|
|
@@ -447,4 +447,4 @@ export {
|
|
|
447
447
|
De as A,
|
|
448
448
|
Re as a
|
|
449
449
|
};
|
|
450
|
-
//# sourceMappingURL=audio-recorder-
|
|
450
|
+
//# sourceMappingURL=audio-recorder-DXG6LTtO.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as s, jsxs as x } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as Ze, useId as et, useState as $, useRef as c, useCallback as A, useEffect as R, useMemo as L } from "react";
|
|
3
3
|
import { _ as f } from "./index-4xgbg-sn.js";
|
|
4
4
|
import * as D from "@radix-ui/react-popover";
|
|
@@ -19,19 +19,19 @@ const lt = {
|
|
|
19
19
|
type: "string | null",
|
|
20
20
|
descriptionKey: "ui.agent.autocomplete.state.value",
|
|
21
21
|
description: "Currently-selected option value, or null when nothing is committed.",
|
|
22
|
-
read: (
|
|
22
|
+
read: (n) => n.getValue()
|
|
23
23
|
},
|
|
24
24
|
query: {
|
|
25
25
|
type: "string",
|
|
26
26
|
descriptionKey: "ui.agent.autocomplete.state.query",
|
|
27
27
|
description: "Current free-text query in the input.",
|
|
28
|
-
read: (
|
|
28
|
+
read: (n) => n.getQuery()
|
|
29
29
|
},
|
|
30
30
|
isOpen: {
|
|
31
31
|
type: "boolean",
|
|
32
32
|
descriptionKey: "ui.agent.autocomplete.state.isOpen",
|
|
33
33
|
description: "True when the suggestion list is visible.",
|
|
34
|
-
read: (
|
|
34
|
+
read: (n) => n.getIsOpen()
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
actions: {
|
|
@@ -46,8 +46,8 @@ const lt = {
|
|
|
46
46
|
idempotent: !0,
|
|
47
47
|
descriptionKey: "ui.agent.autocomplete.actions.setValue",
|
|
48
48
|
description: "Set the committed value programmatically.",
|
|
49
|
-
invoke: (
|
|
50
|
-
|
|
49
|
+
invoke: (n, l) => {
|
|
50
|
+
n.setValue(l.value);
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
apply_filter: {
|
|
@@ -61,8 +61,8 @@ const lt = {
|
|
|
61
61
|
idempotent: !0,
|
|
62
62
|
descriptionKey: "ui.agent.autocomplete.actions.applyFilter",
|
|
63
63
|
description: "Set the input query, which filters the suggestion list.",
|
|
64
|
-
invoke: (
|
|
65
|
-
|
|
64
|
+
invoke: (n, l) => {
|
|
65
|
+
n.setQuery(l.query);
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
clear: {
|
|
@@ -70,8 +70,8 @@ const lt = {
|
|
|
70
70
|
idempotent: !0,
|
|
71
71
|
descriptionKey: "ui.agent.autocomplete.actions.clear",
|
|
72
72
|
description: "Clear the committed value and the query. Discards the typed input.",
|
|
73
|
-
invoke: (
|
|
74
|
-
|
|
73
|
+
invoke: (n) => {
|
|
74
|
+
n.clear();
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
77
|
open: {
|
|
@@ -79,8 +79,8 @@ const lt = {
|
|
|
79
79
|
idempotent: !0,
|
|
80
80
|
descriptionKey: "ui.agent.autocomplete.actions.open",
|
|
81
81
|
description: "Open the suggestion list.",
|
|
82
|
-
invoke: (
|
|
83
|
-
|
|
82
|
+
invoke: (n) => {
|
|
83
|
+
n.open();
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
close: {
|
|
@@ -88,8 +88,8 @@ const lt = {
|
|
|
88
88
|
idempotent: !0,
|
|
89
89
|
descriptionKey: "ui.agent.autocomplete.actions.close",
|
|
90
90
|
description: "Close the suggestion list.",
|
|
91
|
-
invoke: (
|
|
92
|
-
|
|
91
|
+
invoke: (n) => {
|
|
92
|
+
n.close();
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
},
|
|
@@ -160,11 +160,11 @@ const lt = {
|
|
|
160
160
|
"ds:[&_[cmdk-group-heading]]:type-eyebrow",
|
|
161
161
|
"ds:[&_[cmdk-group-heading]]:text-muted-foreground"
|
|
162
162
|
].join(" "), X = "ds:inline-flex ds:items-center ds:shrink-0 ds:text-muted-foreground ds:[&_svg]:size-4";
|
|
163
|
-
function J(
|
|
164
|
-
return `${
|
|
163
|
+
function J(n, l, T) {
|
|
164
|
+
return `${n}-${l}-${T}`;
|
|
165
165
|
}
|
|
166
|
-
function ge(
|
|
167
|
-
return `${
|
|
166
|
+
function ge(n, l) {
|
|
167
|
+
return `${n}:${l}`;
|
|
168
168
|
}
|
|
169
169
|
const mt = Ze(
|
|
170
170
|
function({
|
|
@@ -178,11 +178,11 @@ const mt = Ze(
|
|
|
178
178
|
onRecentSelect: B,
|
|
179
179
|
snapOnBlur: ye = !1,
|
|
180
180
|
size: we = "md",
|
|
181
|
-
tone:
|
|
181
|
+
tone: Ce = "default",
|
|
182
182
|
startAdornment: M,
|
|
183
183
|
endAdornment: q,
|
|
184
184
|
placeholder: W,
|
|
185
|
-
disabled:
|
|
185
|
+
disabled: xe,
|
|
186
186
|
readOnly: b,
|
|
187
187
|
required: ke,
|
|
188
188
|
name: Ne,
|
|
@@ -192,7 +192,7 @@ const mt = Ze(
|
|
|
192
192
|
"aria-invalid": Re,
|
|
193
193
|
"aria-describedby": Ie
|
|
194
194
|
}, k) {
|
|
195
|
-
const { t: y, i18n: _e } = tt(), N = st(), Ee = et(), g = K ?? N.id ?? Ee, Z = `${g}-listbox`, $e = `${g}-live`, h = !!(N.disabled ||
|
|
195
|
+
const { t: y, i18n: _e } = tt(), N = st(), Ee = et(), g = K ?? N.id ?? Ee, Z = `${g}-listbox`, $e = `${g}-live`, h = !!(N.disabled || xe), Ae = !!(N.required || ke), ee = N.invalid || !!Re, De = ee ? "error" : Ce ?? "default", Fe = N.describedBy || Ie || void 0, [Te, te] = nt({
|
|
196
196
|
value: he,
|
|
197
197
|
defaultValue: ve ?? "",
|
|
198
198
|
onChange: be
|
|
@@ -213,22 +213,22 @@ const mt = Ze(
|
|
|
213
213
|
}, [v]);
|
|
214
214
|
const qe = A(
|
|
215
215
|
(e) => {
|
|
216
|
-
var
|
|
216
|
+
var o;
|
|
217
217
|
if (h || b || I.current) return;
|
|
218
|
-
(
|
|
218
|
+
(o = j.current) == null || o.abort();
|
|
219
219
|
const t = new AbortController();
|
|
220
|
-
j.current = t, z.current = e, P(!0), l(e, { signal: t.signal, locale: oe }).then((
|
|
221
|
-
t.signal.aborted || z.current === e && (se(
|
|
222
|
-
}).catch((
|
|
223
|
-
t.signal.aborted ||
|
|
220
|
+
j.current = t, z.current = e, P(!0), l(e, { signal: t.signal, locale: oe }).then((a) => {
|
|
221
|
+
t.signal.aborted || z.current === e && (se(a), P(!1));
|
|
222
|
+
}).catch((a) => {
|
|
223
|
+
t.signal.aborted || a && typeof a == "object" && "name" in a && a.name === "AbortError" || z.current === e && (se([]), P(!1));
|
|
224
224
|
});
|
|
225
225
|
},
|
|
226
226
|
[h, b, l, oe]
|
|
227
|
-
),
|
|
227
|
+
), C = dt(qe, T);
|
|
228
228
|
R(() => () => {
|
|
229
229
|
var e;
|
|
230
|
-
|
|
231
|
-
}, [
|
|
230
|
+
C.cancel(), (e = j.current) == null || e.abort();
|
|
231
|
+
}, [C]);
|
|
232
232
|
const m = A(
|
|
233
233
|
(e) => {
|
|
234
234
|
te(e);
|
|
@@ -236,28 +236,28 @@ const mt = Ze(
|
|
|
236
236
|
[te]
|
|
237
237
|
), re = A(
|
|
238
238
|
(e) => {
|
|
239
|
-
const [t,
|
|
240
|
-
if (!
|
|
241
|
-
const ce = (t === "recent" ? ae.current : ne.current).get(
|
|
239
|
+
const [t, o] = e.split(":");
|
|
240
|
+
if (!o || t !== "recent" && t !== "option") return null;
|
|
241
|
+
const ce = (t === "recent" ? ae.current : ne.current).get(o);
|
|
242
242
|
return ce ? { kind: t, option: ce } : null;
|
|
243
243
|
},
|
|
244
244
|
[]
|
|
245
245
|
), Ke = (e) => {
|
|
246
|
-
m(e), !(h || b) && (i || d(!0), !I.current &&
|
|
246
|
+
m(e), !(h || b) && (i || d(!0), !I.current && C(e));
|
|
247
247
|
}, Pe = (e) => {
|
|
248
248
|
I.current = !0;
|
|
249
249
|
}, je = (e) => {
|
|
250
250
|
I.current = !1;
|
|
251
251
|
const t = e.currentTarget.value;
|
|
252
|
-
|
|
252
|
+
C(t);
|
|
253
253
|
}, ze = (e) => {
|
|
254
|
-
h || b || (d(!0), r &&
|
|
254
|
+
h || b || (d(!0), r && C(r));
|
|
255
255
|
}, Ue = (e) => {
|
|
256
256
|
const t = e.relatedTarget;
|
|
257
257
|
if (!(t && O.current && O.current.contains(t))) {
|
|
258
258
|
if (ye && p) {
|
|
259
|
-
const
|
|
260
|
-
|
|
259
|
+
const o = re(p);
|
|
260
|
+
o && (m(o.option.label), u == null || u(o.option));
|
|
261
261
|
}
|
|
262
262
|
d(!1);
|
|
263
263
|
}
|
|
@@ -268,7 +268,7 @@ const mt = Ze(
|
|
|
268
268
|
return;
|
|
269
269
|
}
|
|
270
270
|
if (e.key === "ArrowDown" && !i) {
|
|
271
|
-
e.preventDefault(), d(!0), r &&
|
|
271
|
+
e.preventDefault(), d(!0), r && C(r);
|
|
272
272
|
return;
|
|
273
273
|
}
|
|
274
274
|
if (e.key === "Tab" && i && p) {
|
|
@@ -277,8 +277,8 @@ const mt = Ze(
|
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
}, ie = (e, t) => {
|
|
280
|
-
var
|
|
281
|
-
m(t.label), e === "recent" ? B == null || B(t) : u == null || u(t), d(!1), (
|
|
280
|
+
var o;
|
|
281
|
+
m(t.label), e === "recent" ? B == null || B(t) : u == null || u(t), d(!1), (o = U.current) == null || o.focus();
|
|
282
282
|
}, S = (e) => {
|
|
283
283
|
e.preventDefault();
|
|
284
284
|
}, _ = !!(v && v.length > 0) && r.length === 0, Se = L(
|
|
@@ -329,7 +329,7 @@ const mt = Ze(
|
|
|
329
329
|
count: We,
|
|
330
330
|
defaultValue: "{{count}} results"
|
|
331
331
|
}) : "";
|
|
332
|
-
return /* @__PURE__ */
|
|
332
|
+
return /* @__PURE__ */ s(
|
|
333
333
|
f,
|
|
334
334
|
{
|
|
335
335
|
shouldFilter: !1,
|
|
@@ -337,12 +337,12 @@ const mt = Ze(
|
|
|
337
337
|
onValueChange: Be,
|
|
338
338
|
label: Y ?? W,
|
|
339
339
|
className: "ds:w-full",
|
|
340
|
-
children: /* @__PURE__ */
|
|
340
|
+
children: /* @__PURE__ */ x(
|
|
341
341
|
D.Root,
|
|
342
342
|
{
|
|
343
343
|
open: i && !h && !b && Xe,
|
|
344
344
|
children: [
|
|
345
|
-
/* @__PURE__ */
|
|
345
|
+
/* @__PURE__ */ s(D.Anchor, { asChild: !0, children: /* @__PURE__ */ x(
|
|
346
346
|
"div",
|
|
347
347
|
{
|
|
348
348
|
className: Qe,
|
|
@@ -350,8 +350,8 @@ const mt = Ze(
|
|
|
350
350
|
"data-component-id": K,
|
|
351
351
|
"data-disabled": h || void 0,
|
|
352
352
|
children: [
|
|
353
|
-
M ? /* @__PURE__ */
|
|
354
|
-
/* @__PURE__ */
|
|
353
|
+
M ? /* @__PURE__ */ s("span", { "aria-hidden": "true", className: `${X} ds:ps-3`, children: M }) : null,
|
|
354
|
+
/* @__PURE__ */ s(
|
|
355
355
|
f.Input,
|
|
356
356
|
{
|
|
357
357
|
ref: Me,
|
|
@@ -380,8 +380,8 @@ const mt = Ze(
|
|
|
380
380
|
className: ct({ hasStart: He, hasEnd: Le })
|
|
381
381
|
}
|
|
382
382
|
),
|
|
383
|
-
V ? /* @__PURE__ */
|
|
384
|
-
/* @__PURE__ */
|
|
383
|
+
V ? /* @__PURE__ */ s("span", { className: `${X} ds:pe-3`, "aria-hidden": "true", children: /* @__PURE__ */ s(pe, { variant: "pulse", size: "sm" }) }) : q ? /* @__PURE__ */ s("span", { "aria-hidden": "true", className: `${X} ds:pe-3`, children: q }) : null,
|
|
384
|
+
/* @__PURE__ */ s(
|
|
385
385
|
"span",
|
|
386
386
|
{
|
|
387
387
|
id: $e,
|
|
@@ -395,7 +395,7 @@ const mt = Ze(
|
|
|
395
395
|
]
|
|
396
396
|
}
|
|
397
397
|
) }),
|
|
398
|
-
/* @__PURE__ */
|
|
398
|
+
/* @__PURE__ */ s(D.Portal, { forceMount: !0, children: /* @__PURE__ */ s(
|
|
399
399
|
D.Content,
|
|
400
400
|
{
|
|
401
401
|
ref: O,
|
|
@@ -407,9 +407,9 @@ const mt = Ze(
|
|
|
407
407
|
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
408
408
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
409
409
|
onPointerDownOutside: (e) => {
|
|
410
|
-
var
|
|
410
|
+
var o;
|
|
411
411
|
const t = e.target;
|
|
412
|
-
if (t && ((
|
|
412
|
+
if (t && ((o = U.current) != null && o.contains(t))) {
|
|
413
413
|
e.preventDefault();
|
|
414
414
|
return;
|
|
415
415
|
}
|
|
@@ -418,18 +418,18 @@ const mt = Ze(
|
|
|
418
418
|
onEscapeKeyDown: () => d(!1),
|
|
419
419
|
onMouseDown: S,
|
|
420
420
|
className: pt(),
|
|
421
|
-
children: /* @__PURE__ */
|
|
421
|
+
children: /* @__PURE__ */ x(
|
|
422
422
|
f.List,
|
|
423
423
|
{
|
|
424
424
|
id: Z,
|
|
425
425
|
className: "ds:max-h-[min(24rem,var(--radix-popover-content-available-height))] ds:overflow-auto ds:p-1",
|
|
426
426
|
children: [
|
|
427
|
-
_ ? /* @__PURE__ */
|
|
427
|
+
_ ? /* @__PURE__ */ s(
|
|
428
428
|
f.Group,
|
|
429
429
|
{
|
|
430
430
|
heading: y("inputs.autocomplete.recent", "Recent"),
|
|
431
431
|
className: fe,
|
|
432
|
-
children: (v ?? []).map((e) => /* @__PURE__ */
|
|
432
|
+
children: (v ?? []).map((e) => /* @__PURE__ */ x(
|
|
433
433
|
f.Item,
|
|
434
434
|
{
|
|
435
435
|
id: J(g, "recent", e.value),
|
|
@@ -440,7 +440,7 @@ const mt = Ze(
|
|
|
440
440
|
onMouseDown: S,
|
|
441
441
|
className: me(),
|
|
442
442
|
children: [
|
|
443
|
-
e.startAdornment ? /* @__PURE__ */
|
|
443
|
+
e.startAdornment ? /* @__PURE__ */ s(
|
|
444
444
|
"span",
|
|
445
445
|
{
|
|
446
446
|
"aria-hidden": "true",
|
|
@@ -448,52 +448,64 @@ const mt = Ze(
|
|
|
448
448
|
children: e.startAdornment
|
|
449
449
|
}
|
|
450
450
|
) : null,
|
|
451
|
-
/* @__PURE__ */
|
|
451
|
+
/* @__PURE__ */ s("span", { className: "ds:flex-1 ds:truncate", children: e.label }),
|
|
452
|
+
e.endContent ? (
|
|
453
|
+
// Deliberately NOT aria-hidden — unlike
|
|
454
|
+
// `startAdornment`, this slot carries meaning
|
|
455
|
+
// and must reach the option's accessible name.
|
|
456
|
+
/* @__PURE__ */ s("span", { className: "ds:inline-flex ds:items-center ds:ms-auto ds:shrink-0", children: e.endContent })
|
|
457
|
+
) : null
|
|
452
458
|
]
|
|
453
459
|
},
|
|
454
460
|
`recent-${e.value}`
|
|
455
461
|
))
|
|
456
462
|
}
|
|
457
463
|
) : null,
|
|
458
|
-
de ? /* @__PURE__ */
|
|
459
|
-
le ? /* @__PURE__ */
|
|
460
|
-
/* @__PURE__ */
|
|
461
|
-
/* @__PURE__ */
|
|
464
|
+
de ? /* @__PURE__ */ s("div", { className: "ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: y("inputs.autocomplete.noResults", "No results") }) : null,
|
|
465
|
+
le ? /* @__PURE__ */ x("div", { className: "ds:flex ds:items-center ds:gap-[var(--spacing-sm)] ds:ps-3 ds:pe-3 ds:py-2 type-body-sm ds:text-muted-foreground", children: [
|
|
466
|
+
/* @__PURE__ */ s(pe, { variant: "pulse", size: "sm" }),
|
|
467
|
+
/* @__PURE__ */ s("span", { children: y("common.loading", "Loading…") })
|
|
462
468
|
] }) : null,
|
|
463
469
|
!_ && E ? Se.map((e, t) => {
|
|
464
|
-
const
|
|
470
|
+
const o = e.items.map((a) => /* @__PURE__ */ x(
|
|
465
471
|
f.Item,
|
|
466
472
|
{
|
|
467
|
-
id: J(g, "option",
|
|
468
|
-
"data-option-id":
|
|
469
|
-
value: ge("option",
|
|
470
|
-
disabled:
|
|
471
|
-
onSelect: () => ie("option",
|
|
473
|
+
id: J(g, "option", a.value),
|
|
474
|
+
"data-option-id": a.value,
|
|
475
|
+
value: ge("option", a.value),
|
|
476
|
+
disabled: a.disabled,
|
|
477
|
+
onSelect: () => ie("option", a),
|
|
472
478
|
onMouseDown: S,
|
|
473
479
|
className: me(),
|
|
474
480
|
children: [
|
|
475
|
-
|
|
481
|
+
a.startAdornment ? /* @__PURE__ */ s(
|
|
476
482
|
"span",
|
|
477
483
|
{
|
|
478
484
|
"aria-hidden": "true",
|
|
479
485
|
className: "ds:inline-flex ds:items-center ds:shrink-0",
|
|
480
|
-
children:
|
|
486
|
+
children: a.startAdornment
|
|
481
487
|
}
|
|
482
488
|
) : null,
|
|
483
|
-
/* @__PURE__ */
|
|
489
|
+
/* @__PURE__ */ s("span", { className: "ds:flex-1 ds:truncate", children: a.label }),
|
|
490
|
+
a.endContent ? (
|
|
491
|
+
// Deliberately NOT aria-hidden — unlike
|
|
492
|
+
// `startAdornment`, this slot carries meaning
|
|
493
|
+
// and must reach the option's accessible name.
|
|
494
|
+
/* @__PURE__ */ s("span", { className: "ds:inline-flex ds:items-center ds:ms-auto ds:shrink-0", children: a.endContent })
|
|
495
|
+
) : null
|
|
484
496
|
]
|
|
485
497
|
},
|
|
486
|
-
`option-${
|
|
498
|
+
`option-${a.value}`
|
|
487
499
|
));
|
|
488
|
-
return e.group ? /* @__PURE__ */
|
|
500
|
+
return e.group ? /* @__PURE__ */ s(
|
|
489
501
|
f.Group,
|
|
490
502
|
{
|
|
491
503
|
heading: e.group,
|
|
492
504
|
className: fe,
|
|
493
|
-
children:
|
|
505
|
+
children: o
|
|
494
506
|
},
|
|
495
507
|
`group-${e.group}`
|
|
496
|
-
) : /* @__PURE__ */
|
|
508
|
+
) : /* @__PURE__ */ s(f.Group, { children: o }, `group-${t}`);
|
|
497
509
|
}) : null
|
|
498
510
|
]
|
|
499
511
|
}
|
|
@@ -513,4 +525,4 @@ export {
|
|
|
513
525
|
lt as a,
|
|
514
526
|
ut as b
|
|
515
527
|
};
|
|
516
|
-
//# sourceMappingURL=autocomplete-
|
|
528
|
+
//# sourceMappingURL=autocomplete-MpBhz-fG.js.map
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { jsx as v, jsxs as M } from "react/jsx-runtime";
|
|
2
2
|
import { createElement as O, useRef as k, useEffect as ne, useCallback as j, forwardRef as pe, useState as ae, useImperativeHandle as be, useMemo as Q } from "react";
|
|
3
3
|
import { useTranslation as K } from "react-i18next";
|
|
4
|
-
import { a as g, T as C,
|
|
5
|
-
import {
|
|
4
|
+
import { a as g, T as C, D as S, d as ge } from "./data-table-DC5rO3Ty.js";
|
|
5
|
+
import { A as Ce, a as ie } from "./actions-cell-renderer-yy03OgRL.js";
|
|
6
|
+
import { S as ve } from "./select-Bi8zril7.js";
|
|
6
7
|
import { u as Te } from "./registry-DvAUVLHh.js";
|
|
7
|
-
import { I as we, L as Ne, b as _, a as z, c as H, N as $, d as R, S as I, T as re, D as q, g as Fe, f as Re, U as Ie, e as ye } from "./link-cell-renderer-
|
|
8
|
+
import { I as we, L as Ne, b as _, a as z, c as H, N as $, d as R, S as I, T as re, D as q, g as Fe, f as Re, U as Ie, e as ye } from "./link-cell-renderer-CIASXsVM.js";
|
|
8
9
|
import { T as Pe } from "./transaction-chip-DJCstquX.js";
|
|
9
10
|
import { B as le } from "./badge-sTusUqZD.js";
|
|
10
11
|
import { c as Se } from "./index-D2ZczOXr.js";
|
|
@@ -830,7 +831,7 @@ function Qe(e, a = {}) {
|
|
|
830
831
|
// other column — no right-aligned header (the actions still sit at the
|
|
831
832
|
// pinned inline-end edge, the group just starts at the cell's leading edge).
|
|
832
833
|
cellClass: "ds:justify-start ag-cell-graphic",
|
|
833
|
-
cellRenderer:
|
|
834
|
+
cellRenderer: Ce,
|
|
834
835
|
cellRendererParams: {
|
|
835
836
|
actions: h,
|
|
836
837
|
intent: "ghost",
|
|
@@ -1093,7 +1094,7 @@ const it = pe(
|
|
|
1093
1094
|
] })
|
|
1094
1095
|
] }), ue = T ?? ce, me = i ? void 0 : a, fe = Q(() => ({ getRowId: nt }), []);
|
|
1095
1096
|
return Te(
|
|
1096
|
-
|
|
1097
|
+
ge,
|
|
1097
1098
|
N,
|
|
1098
1099
|
s
|
|
1099
1100
|
), /* @__PURE__ */ v(
|
|
@@ -1141,7 +1142,7 @@ function ot(e) {
|
|
|
1141
1142
|
const a = typeof e == "number" ? e : Number(e);
|
|
1142
1143
|
return Number.isFinite(a) ? a : null;
|
|
1143
1144
|
}
|
|
1144
|
-
function
|
|
1145
|
+
function Pt(e) {
|
|
1145
1146
|
const { value: a, currency: o = "EUR", options: s } = e, { t: l, i18n: r } = K("ui"), c = ot(a);
|
|
1146
1147
|
if (c === null) return null;
|
|
1147
1148
|
const h = r.language || "en", d = new Intl.NumberFormat(h, {
|
|
@@ -1155,7 +1156,7 @@ function yt(e) {
|
|
|
1155
1156
|
] });
|
|
1156
1157
|
}
|
|
1157
1158
|
export {
|
|
1158
|
-
|
|
1159
|
+
Pt as B,
|
|
1159
1160
|
ke as C,
|
|
1160
1161
|
He as N,
|
|
1161
1162
|
$e as P,
|
|
@@ -1165,4 +1166,4 @@ export {
|
|
|
1165
1166
|
oe as g,
|
|
1166
1167
|
et as u
|
|
1167
1168
|
};
|
|
1168
|
-
//# sourceMappingURL=balance-badge-cell-
|
|
1169
|
+
//# sourceMappingURL=balance-badge-cell-CgkxYO96.js.map
|