@alfadocs/ui-kit 1.21.0 → 1.22.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/{balance-badge-cell-Bh2QbxsZ.js → balance-badge-cell-CX6b0ML4.js} +2 -2
- package/dist/_chunks/{calendar-workspace-CB6KLoF6.js → calendar-workspace-ax7xmSAp.js} +2 -2
- package/dist/_chunks/{data-table-Bw3i0753.js → data-table-DB5BiVQ0.js} +158 -156
- package/dist/_chunks/{file-manager-BdXjZNIc.js → file-manager-Cd8V9IcZ.js} +2 -2
- package/dist/agent-catalog.json +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/index.js +4 -4
- package/dist/patterns/calendar/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as C, jsxs as M } from "react/jsx-runtime";
|
|
2
2
|
import { createElement as G, useRef as k, useEffect as ae, useCallback as K, forwardRef as be, useState as ie, useImperativeHandle as ge, useMemo as X } from "react";
|
|
3
3
|
import { useTranslation as Y } from "react-i18next";
|
|
4
|
-
import { a as b, T as g, D as S, d as Ce } from "./data-table-
|
|
4
|
+
import { a as b, T as g, D as S, d as Ce } from "./data-table-DB5BiVQ0.js";
|
|
5
5
|
import { A as ve, a as re } from "./actions-cell-renderer-yy03OgRL.js";
|
|
6
6
|
import { S as Te } from "./select-Bi8zril7.js";
|
|
7
7
|
import { u as we } from "./registry-DvAUVLHh.js";
|
|
@@ -1179,4 +1179,4 @@ export {
|
|
|
1179
1179
|
se as g,
|
|
1180
1180
|
nt as u
|
|
1181
1181
|
};
|
|
1182
|
-
//# sourceMappingURL=balance-badge-cell-
|
|
1182
|
+
//# sourceMappingURL=balance-badge-cell-CX6b0ML4.js.map
|
|
@@ -29,7 +29,7 @@ import { T as qi } from "./time-picker-D0RS391l.js";
|
|
|
29
29
|
import { a as Yi, W as Qi } from "./whatsapp-button-CuFIHJzG.js";
|
|
30
30
|
import { A as Xi } from "./appointment-card-Dzr3GeVz.js";
|
|
31
31
|
import { B as mn } from "./badge-sTusUqZD.js";
|
|
32
|
-
import { D as Ji } from "./data-table-
|
|
32
|
+
import { D as Ji } from "./data-table-DB5BiVQ0.js";
|
|
33
33
|
import { C as je } from "./checkbox-BuZ1u__2.js";
|
|
34
34
|
import { T as Ca } from "./tag-3wgkwwDB.js";
|
|
35
35
|
import { D as me } from "./dropdown-menu-DU-Hrf33.js";
|
|
@@ -7471,4 +7471,4 @@ export {
|
|
|
7471
7471
|
Al as r,
|
|
7472
7472
|
Cn as u
|
|
7473
7473
|
};
|
|
7474
|
-
//# sourceMappingURL=calendar-workspace-
|
|
7474
|
+
//# sourceMappingURL=calendar-workspace-ax7xmSAp.js.map
|
|
@@ -50,8 +50,8 @@ const er = [
|
|
|
50
50
|
], tr = Kt("columns-3-cog", er);
|
|
51
51
|
function rr(e) {
|
|
52
52
|
if (!At(e)) return e;
|
|
53
|
-
const t = e,
|
|
54
|
-
return Pt(t, { className:
|
|
53
|
+
const t = e, n = t.props.className ?? "", a = /\bsize-|\bw-|\bh-/.test(n) ? n : `${n} ds:size-4`.trim();
|
|
54
|
+
return Pt(t, { className: a, size: t.props.size ?? 16 });
|
|
55
55
|
}
|
|
56
56
|
const He = Ce(null);
|
|
57
57
|
function V(e) {
|
|
@@ -62,20 +62,20 @@ function V(e) {
|
|
|
62
62
|
);
|
|
63
63
|
return t;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function ar({
|
|
66
66
|
getApi: e,
|
|
67
67
|
selectionCount: t,
|
|
68
|
-
onPrint:
|
|
69
|
-
markColumnsUserTouched:
|
|
68
|
+
onPrint: n,
|
|
69
|
+
markColumnsUserTouched: a,
|
|
70
70
|
children: i
|
|
71
71
|
}) {
|
|
72
72
|
const d = j(
|
|
73
|
-
() => ({ getApi: e, selectionCount: t, onPrint:
|
|
74
|
-
[e, t,
|
|
73
|
+
() => ({ getApi: e, selectionCount: t, onPrint: n, markColumnsUserTouched: a }),
|
|
74
|
+
[e, t, n, a]
|
|
75
75
|
);
|
|
76
76
|
return /* @__PURE__ */ s(He.Provider, { value: d, children: i });
|
|
77
77
|
}
|
|
78
|
-
const
|
|
78
|
+
const nr = [
|
|
79
79
|
"data-table-toolbar",
|
|
80
80
|
// Mobile (<sm) keeps `flex-wrap` so a wide QuickSearch can flow above the
|
|
81
81
|
// Actions cluster on narrow screens. From `sm` (≥640px) we switch to
|
|
@@ -88,23 +88,23 @@ const ar = [
|
|
|
88
88
|
// matching the header-tools layout the Patients / Care Plan List
|
|
89
89
|
// patterns established (the old bg-card + border + shadow bar is gone).
|
|
90
90
|
].join(" "), Ve = $(
|
|
91
|
-
({ className: e, children: t, ...
|
|
91
|
+
({ className: e, children: t, ...n }, a) => /* @__PURE__ */ s(
|
|
92
92
|
"div",
|
|
93
93
|
{
|
|
94
|
-
ref:
|
|
94
|
+
ref: a,
|
|
95
95
|
role: "toolbar",
|
|
96
|
-
className: [
|
|
97
|
-
...
|
|
96
|
+
className: [nr, e ?? ""].join(" ").trim(),
|
|
97
|
+
...n,
|
|
98
98
|
children: t
|
|
99
99
|
}
|
|
100
100
|
)
|
|
101
101
|
);
|
|
102
102
|
Ve.displayName = "DataTable.Toolbar";
|
|
103
103
|
const Ue = $(
|
|
104
|
-
({ className: e, children: t, ...
|
|
104
|
+
({ className: e, children: t, ...n }, a) => /* @__PURE__ */ s(
|
|
105
105
|
"div",
|
|
106
106
|
{
|
|
107
|
-
ref:
|
|
107
|
+
ref: a,
|
|
108
108
|
className: [
|
|
109
109
|
"ds:flex ds:flex-wrap ds:items-center ds:gap-[var(--spacing-sm)]",
|
|
110
110
|
// `grow` lets FilterBar absorb the free space; `min-w-0` lets the
|
|
@@ -114,30 +114,30 @@ const Ue = $(
|
|
|
114
114
|
"ds:grow ds:min-w-0",
|
|
115
115
|
e ?? ""
|
|
116
116
|
].join(" ").trim(),
|
|
117
|
-
...
|
|
117
|
+
...n,
|
|
118
118
|
children: t
|
|
119
119
|
}
|
|
120
120
|
)
|
|
121
121
|
);
|
|
122
122
|
Ue.displayName = "DataTable.Toolbar.FilterBar";
|
|
123
123
|
const Xe = $(
|
|
124
|
-
({ className: e, children: t, ...
|
|
124
|
+
({ className: e, children: t, ...n }, a) => /* @__PURE__ */ s(
|
|
125
125
|
"div",
|
|
126
126
|
{
|
|
127
|
-
ref:
|
|
127
|
+
ref: a,
|
|
128
128
|
className: [
|
|
129
129
|
"ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
130
130
|
"ds:ms-auto",
|
|
131
131
|
e ?? ""
|
|
132
132
|
].join(" ").trim(),
|
|
133
|
-
...
|
|
133
|
+
...n,
|
|
134
134
|
children: t
|
|
135
135
|
}
|
|
136
136
|
)
|
|
137
137
|
);
|
|
138
138
|
Xe.displayName = "DataTable.Toolbar.Actions";
|
|
139
139
|
const Ee = $(
|
|
140
|
-
({ label: e, onExport: t, intent:
|
|
140
|
+
({ label: e, onExport: t, intent: n = "outline", ...a }, i) => {
|
|
141
141
|
const { t: d } = A(), { getApi: g } = V("DataTable.Toolbar.ExportCsv"), h = D(() => {
|
|
142
142
|
const p = g();
|
|
143
143
|
p && (t ? t(p) : p.exportDataAsCsv());
|
|
@@ -147,28 +147,28 @@ const Ee = $(
|
|
|
147
147
|
{
|
|
148
148
|
ref: i,
|
|
149
149
|
type: "button",
|
|
150
|
-
intent:
|
|
150
|
+
intent: n,
|
|
151
151
|
icon: /* @__PURE__ */ s(ye, { "aria-hidden": !0 }),
|
|
152
152
|
tooltip: e ?? d("dataTable.exportCsv"),
|
|
153
153
|
onClick: h,
|
|
154
|
-
...
|
|
154
|
+
...a
|
|
155
155
|
}
|
|
156
156
|
);
|
|
157
157
|
}
|
|
158
158
|
);
|
|
159
159
|
Ee.displayName = "DataTable.Toolbar.ExportCsv";
|
|
160
|
-
function
|
|
160
|
+
function ae(e, t = [30, 30, 30]) {
|
|
161
161
|
if (typeof document > "u") return t;
|
|
162
|
-
const
|
|
163
|
-
|
|
164
|
-
const
|
|
165
|
-
document.body.removeChild(
|
|
166
|
-
const i =
|
|
162
|
+
const n = document.createElement("span");
|
|
163
|
+
n.style.color = `hsl(var(${e}))`, n.style.position = "absolute", n.style.visibility = "hidden", document.body.appendChild(n);
|
|
164
|
+
const a = getComputedStyle(n).color;
|
|
165
|
+
document.body.removeChild(n);
|
|
166
|
+
const i = a.match(/rgba?\(\s*(\d+)[,\s]+(\d+)[,\s]+(\d+)/i);
|
|
167
167
|
return i ? [Number(i[1]), Number(i[2]), Number(i[3])] : t;
|
|
168
168
|
}
|
|
169
169
|
async function Qe(e, t) {
|
|
170
170
|
if (!e) return;
|
|
171
|
-
const [{ jsPDF:
|
|
171
|
+
const [{ jsPDF: n }, { default: a }] = await Promise.all([
|
|
172
172
|
import("./jspdf.es.min-DaapWjR1.js").then((C) => C.j),
|
|
173
173
|
import("./jspdf.plugin.autotable-CSiDNyPn.js")
|
|
174
174
|
]), d = (e.getColumns() ?? []).filter((C) => C.isVisible()), g = [
|
|
@@ -186,8 +186,8 @@ async function Qe(e, t) {
|
|
|
186
186
|
});
|
|
187
187
|
h.push(c);
|
|
188
188
|
});
|
|
189
|
-
const p =
|
|
190
|
-
|
|
189
|
+
const p = ae("--muted", [240, 240, 240]), m = ae("--foreground", [30, 30, 30]), u = ae("--card-foreground", [30, 30, 30]), b = ae("--card", [250, 250, 250]), S = new n({ orientation: "landscape" });
|
|
190
|
+
a(S, {
|
|
191
191
|
head: g,
|
|
192
192
|
body: h,
|
|
193
193
|
headStyles: { fillColor: p, textColor: m },
|
|
@@ -201,7 +201,7 @@ async function Qe(e, t) {
|
|
|
201
201
|
}), S.save(t.fileName);
|
|
202
202
|
}
|
|
203
203
|
const De = $(
|
|
204
|
-
({ label: e, onClick: t, fileName:
|
|
204
|
+
({ label: e, onClick: t, fileName: n, intent: a = "outline", ...i }, d) => {
|
|
205
205
|
const { t: g } = A(), { getApi: h } = V("DataTable.Toolbar.ExportPdf"), p = D(() => {
|
|
206
206
|
const m = h();
|
|
207
207
|
if (t) {
|
|
@@ -209,15 +209,15 @@ const De = $(
|
|
|
209
209
|
return;
|
|
210
210
|
}
|
|
211
211
|
Qe(m, {
|
|
212
|
-
fileName:
|
|
212
|
+
fileName: n ?? "data-table-export.pdf"
|
|
213
213
|
});
|
|
214
|
-
}, [h, t,
|
|
214
|
+
}, [h, t, n]);
|
|
215
215
|
return /* @__PURE__ */ s(
|
|
216
216
|
oe,
|
|
217
217
|
{
|
|
218
218
|
ref: d,
|
|
219
219
|
type: "button",
|
|
220
|
-
intent:
|
|
220
|
+
intent: a,
|
|
221
221
|
icon: /* @__PURE__ */ s(Ke, { "aria-hidden": !0 }),
|
|
222
222
|
tooltip: e ?? g("dataTable.exportPdf"),
|
|
223
223
|
onClick: p,
|
|
@@ -228,31 +228,31 @@ const De = $(
|
|
|
228
228
|
);
|
|
229
229
|
De.displayName = "DataTable.Toolbar.ExportPdf";
|
|
230
230
|
const Ne = $(
|
|
231
|
-
({ label: e, intent: t = "outline", ...
|
|
231
|
+
({ label: e, intent: t = "outline", ...n }, a) => {
|
|
232
232
|
const { t: i } = A(), { onPrint: d } = V("DataTable.Toolbar.Print");
|
|
233
233
|
return /* @__PURE__ */ s(
|
|
234
234
|
oe,
|
|
235
235
|
{
|
|
236
|
-
ref:
|
|
236
|
+
ref: a,
|
|
237
237
|
type: "button",
|
|
238
238
|
intent: t,
|
|
239
239
|
icon: /* @__PURE__ */ s(Vt, { "aria-hidden": !0 }),
|
|
240
240
|
tooltip: e ?? i("dataTable.print"),
|
|
241
241
|
onClick: d,
|
|
242
|
-
...
|
|
242
|
+
...n
|
|
243
243
|
}
|
|
244
244
|
);
|
|
245
245
|
}
|
|
246
246
|
);
|
|
247
247
|
Ne.displayName = "DataTable.Toolbar.Print";
|
|
248
248
|
const Je = ({ placeholder: e, debounceMs: t = 150 }) => {
|
|
249
|
-
const { t:
|
|
249
|
+
const { t: n } = A(), { getApi: a } = V("DataTable.Toolbar.QuickSearch"), [i, d] = G(""), g = B(void 0);
|
|
250
250
|
return K(() => (g.current && window.clearTimeout(g.current), g.current = window.setTimeout(() => {
|
|
251
|
-
const h =
|
|
251
|
+
const h = a();
|
|
252
252
|
h && h.setGridOption("quickFilterText", i);
|
|
253
253
|
}, t), () => {
|
|
254
254
|
g.current && window.clearTimeout(g.current);
|
|
255
|
-
}), [i, t,
|
|
255
|
+
}), [i, t, a]), // Slot wrapper caps the search at a sensible legible width on desktop —
|
|
256
256
|
// without this, TextInput's `w-full` lets the QuickSearch absorb the
|
|
257
257
|
// entire FilterBar row and push trailing Actions onto a second line at
|
|
258
258
|
// 1024 / 1280 / 1440. `min-w-0` lets the slot shrink below `24rem` when
|
|
@@ -266,28 +266,28 @@ const Je = ({ placeholder: e, debounceMs: t = 150 }) => {
|
|
|
266
266
|
size: "sm",
|
|
267
267
|
value: i,
|
|
268
268
|
onChange: (h) => d(h.target.value),
|
|
269
|
-
placeholder: e ??
|
|
269
|
+
placeholder: e ?? n("dataTable.quickSearch.placeholder", "Search…"),
|
|
270
270
|
startAdornment: /* @__PURE__ */ s(Ie, { "aria-hidden": !0, className: "ds:size-4" }),
|
|
271
271
|
clearable: !0,
|
|
272
272
|
onClear: () => d(""),
|
|
273
|
-
"aria-label":
|
|
273
|
+
"aria-label": n("dataTable.quickSearch.label", "Quick search")
|
|
274
274
|
}
|
|
275
275
|
) });
|
|
276
276
|
};
|
|
277
277
|
Je.displayName = "DataTable.Toolbar.QuickSearch";
|
|
278
278
|
const Fe = $(
|
|
279
|
-
({ onRefresh: e, label: t, intent:
|
|
279
|
+
({ onRefresh: e, label: t, intent: n = "outline", ...a }, i) => {
|
|
280
280
|
const { t: d } = A();
|
|
281
281
|
return /* @__PURE__ */ s(
|
|
282
282
|
oe,
|
|
283
283
|
{
|
|
284
284
|
ref: i,
|
|
285
285
|
type: "button",
|
|
286
|
-
intent:
|
|
286
|
+
intent: n,
|
|
287
287
|
icon: /* @__PURE__ */ s($t, { "aria-hidden": !0 }),
|
|
288
288
|
tooltip: t ?? d("dataTable.refresh", "Refresh"),
|
|
289
289
|
onClick: e,
|
|
290
|
-
...
|
|
290
|
+
...a
|
|
291
291
|
}
|
|
292
292
|
);
|
|
293
293
|
}
|
|
@@ -295,18 +295,18 @@ const Fe = $(
|
|
|
295
295
|
Fe.displayName = "DataTable.Toolbar.Refresh";
|
|
296
296
|
function or(e, t) {
|
|
297
297
|
if (!e || typeof e != "object") return "";
|
|
298
|
-
const
|
|
299
|
-
if (typeof
|
|
300
|
-
const
|
|
301
|
-
return
|
|
298
|
+
const n = e;
|
|
299
|
+
if (typeof n.filter == "string" || typeof n.filter == "number") {
|
|
300
|
+
const a = typeof n.type == "string" ? n.type : "", i = typeof n.filterTo == "string" || typeof n.filterTo == "number" ? String(n.filterTo) : "";
|
|
301
|
+
return a === "inRange" && i ? `${n.filter} – ${i}` : a ? `${t(`dataTable.agGrid.${a}`, a)} ${n.filter}` : String(n.filter);
|
|
302
302
|
}
|
|
303
|
-
return typeof
|
|
303
|
+
return typeof n.dateFrom == "string" ? typeof n.dateTo == "string" && n.dateTo ? `${n.dateFrom} – ${n.dateTo}` : String(n.dateFrom) : Array.isArray(n.values) ? n.values.map(String).join(", ") : "";
|
|
304
304
|
}
|
|
305
305
|
const Ze = () => {
|
|
306
|
-
const { t: e } = A(), { getApi: t } = V("DataTable.Toolbar.FilterChips"), [
|
|
306
|
+
const { t: e } = A(), { getApi: t } = V("DataTable.Toolbar.FilterChips"), [n, a] = G([]), [i, d] = G(""), g = D(() => {
|
|
307
307
|
const u = t();
|
|
308
308
|
if (!u) {
|
|
309
|
-
|
|
309
|
+
a([]), d("");
|
|
310
310
|
return;
|
|
311
311
|
}
|
|
312
312
|
const b = u.getFilterModel() ?? {}, S = u.getColumns() ?? [], C = [];
|
|
@@ -318,7 +318,7 @@ const Ze = () => {
|
|
|
318
318
|
text: or(b[f], e)
|
|
319
319
|
});
|
|
320
320
|
}
|
|
321
|
-
|
|
321
|
+
a(C);
|
|
322
322
|
const c = u.getGridOption("quickFilterText");
|
|
323
323
|
d(typeof c == "string" ? c : "");
|
|
324
324
|
}, [t, e]);
|
|
@@ -337,7 +337,7 @@ const Ze = () => {
|
|
|
337
337
|
u = () => window.clearInterval(c);
|
|
338
338
|
}
|
|
339
339
|
return () => u == null ? void 0 : u();
|
|
340
|
-
}, [t, g]),
|
|
340
|
+
}, [t, g]), n.length + (i ? 1 : 0) === 0) return null;
|
|
341
341
|
function p(u) {
|
|
342
342
|
const b = t();
|
|
343
343
|
b && (b.setColumnFilterModel(u, null), b.onFilterChanged());
|
|
@@ -358,19 +358,21 @@ const Ze = () => {
|
|
|
358
358
|
{
|
|
359
359
|
label: `${e("dataTable.quickSearch.label", "Quick search")}: ${i}`,
|
|
360
360
|
size: "sm",
|
|
361
|
-
|
|
361
|
+
variant: "brand",
|
|
362
|
+
fill: "solid",
|
|
362
363
|
onRemove: () => {
|
|
363
364
|
const u = t();
|
|
364
365
|
u == null || u.setGridOption("quickFilterText", ""), d("");
|
|
365
366
|
}
|
|
366
367
|
}
|
|
367
368
|
),
|
|
368
|
-
|
|
369
|
+
n.map((u) => /* @__PURE__ */ s(
|
|
369
370
|
We,
|
|
370
371
|
{
|
|
371
372
|
label: u.text ? `${u.headerName}: ${u.text}` : u.headerName,
|
|
372
373
|
size: "sm",
|
|
373
|
-
|
|
374
|
+
variant: "brand",
|
|
375
|
+
fill: "solid",
|
|
374
376
|
onRemove: () => p(u.colId)
|
|
375
377
|
},
|
|
376
378
|
u.colId
|
|
@@ -394,9 +396,9 @@ Ze.displayName = "DataTable.Toolbar.FilterChips";
|
|
|
394
396
|
const Ye = ({
|
|
395
397
|
field: e,
|
|
396
398
|
options: t,
|
|
397
|
-
label:
|
|
399
|
+
label: n
|
|
398
400
|
}) => {
|
|
399
|
-
const { t:
|
|
401
|
+
const { t: a } = A(), { getApi: i } = V("DataTable.Toolbar.FacetFilter"), [d, g] = G(null);
|
|
400
402
|
function h(p) {
|
|
401
403
|
g(p);
|
|
402
404
|
const m = i();
|
|
@@ -415,7 +417,7 @@ const Ye = ({
|
|
|
415
417
|
"div",
|
|
416
418
|
{
|
|
417
419
|
role: "group",
|
|
418
|
-
"aria-label":
|
|
420
|
+
"aria-label": n ?? a("dataTable.facetFilter.label", "Filter"),
|
|
419
421
|
className: "ds:flex ds:items-center ds:gap-[var(--spacing-xs)]",
|
|
420
422
|
children: t.map((p) => {
|
|
421
423
|
const m = d === p.value;
|
|
@@ -439,7 +441,7 @@ Ye.displayName = "DataTable.Toolbar.FacetFilter";
|
|
|
439
441
|
const ir = ["csv", "xlsx", "pdf"];
|
|
440
442
|
async function sr(e, t) {
|
|
441
443
|
if (!e) return;
|
|
442
|
-
const
|
|
444
|
+
const n = await import("./exceljs.min-D2MHbJsF.js").then((f) => f.e), a = new n.Workbook(), i = a.addWorksheet("Sheet1"), g = (e.getColumns() ?? []).filter((f) => f.isVisible());
|
|
443
445
|
i.addRow(
|
|
444
446
|
g.map(
|
|
445
447
|
(f) => e.getDisplayNameForColumn(f, null) ?? f.getColId()
|
|
@@ -456,7 +458,7 @@ async function sr(e, t) {
|
|
|
456
458
|
})
|
|
457
459
|
);
|
|
458
460
|
});
|
|
459
|
-
const h =
|
|
461
|
+
const h = ae("--muted", [240, 240, 240]), p = ae("--foreground", [30, 30, 30]), m = i.getRow(1), u = ([f, w, T]) => `${f.toString(16).padStart(2, "0")}${w.toString(16).padStart(2, "0")}${T.toString(16).padStart(2, "0")}`.toUpperCase();
|
|
460
462
|
m.eachCell((f) => {
|
|
461
463
|
f.font = { bold: !0, color: { argb: `FF${u(p)}` } }, f.fill = {
|
|
462
464
|
type: "pattern",
|
|
@@ -464,7 +466,7 @@ async function sr(e, t) {
|
|
|
464
466
|
fgColor: { argb: `FF${u(h)}` }
|
|
465
467
|
};
|
|
466
468
|
});
|
|
467
|
-
const b = await
|
|
469
|
+
const b = await a.xlsx.writeBuffer(), S = new Blob([b], {
|
|
468
470
|
type: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
|
|
469
471
|
}), C = URL.createObjectURL(S), c = document.createElement("a");
|
|
470
472
|
c.href = C, c.download = t.fileName, document.body.appendChild(c), c.click(), document.body.removeChild(c), URL.revokeObjectURL(C);
|
|
@@ -479,7 +481,7 @@ function lr() {
|
|
|
479
481
|
return e;
|
|
480
482
|
}
|
|
481
483
|
const ke = $(
|
|
482
|
-
({ children: e, label: t, intent:
|
|
484
|
+
({ children: e, label: t, intent: n = "outline", ...a }, i) => {
|
|
483
485
|
const { t: d } = A(), { getApi: g } = V("DataTable.Toolbar.ExportMenu"), h = j(() => ({ getApi: g }), [g]), p = e ?? ir.map((m) => /* @__PURE__ */ s(Ae, { format: m }, m));
|
|
484
486
|
return /* @__PURE__ */ s(et.Provider, { value: h, children: /* @__PURE__ */ L(he.Root, { children: [
|
|
485
487
|
/* @__PURE__ */ s(he.Trigger, { asChild: !0, children: /* @__PURE__ */ s(
|
|
@@ -487,12 +489,12 @@ const ke = $(
|
|
|
487
489
|
{
|
|
488
490
|
ref: i,
|
|
489
491
|
type: "button",
|
|
490
|
-
intent:
|
|
492
|
+
intent: n,
|
|
491
493
|
icon: /* @__PURE__ */ s(ye, { "aria-hidden": !0 }),
|
|
492
494
|
tooltip: t ?? d("dataTable.export.menu", "Export"),
|
|
493
495
|
"aria-label": t ?? d("dataTable.export.menu", "Export"),
|
|
494
496
|
"aria-haspopup": "menu",
|
|
495
|
-
...
|
|
497
|
+
...a
|
|
496
498
|
}
|
|
497
499
|
) }),
|
|
498
500
|
/* @__PURE__ */ s(he.Content, { align: "end", sideOffset: 4, children: p })
|
|
@@ -509,8 +511,8 @@ function cr(e) {
|
|
|
509
511
|
const Ae = ({
|
|
510
512
|
format: e,
|
|
511
513
|
label: t,
|
|
512
|
-
onClick:
|
|
513
|
-
fileName:
|
|
514
|
+
onClick: n,
|
|
515
|
+
fileName: a
|
|
514
516
|
}) => {
|
|
515
517
|
const { t: i } = A(), { getApi: d } = lr(), g = D(() => {
|
|
516
518
|
const h = d();
|
|
@@ -520,18 +522,18 @@ const Ae = ({
|
|
|
520
522
|
}
|
|
521
523
|
if (e === "pdf") {
|
|
522
524
|
Qe(h, {
|
|
523
|
-
fileName:
|
|
525
|
+
fileName: a ?? "data-table-export.pdf"
|
|
524
526
|
});
|
|
525
527
|
return;
|
|
526
528
|
}
|
|
527
529
|
if (e === "xlsx") {
|
|
528
530
|
sr(h, {
|
|
529
|
-
fileName:
|
|
531
|
+
fileName: a ?? "data-table-export.xlsx"
|
|
530
532
|
});
|
|
531
533
|
return;
|
|
532
534
|
}
|
|
533
|
-
|
|
534
|
-
}, [e,
|
|
535
|
+
n == null || n(h);
|
|
536
|
+
}, [e, a, n, d]);
|
|
535
537
|
return /* @__PURE__ */ s(he.Item, { onSelect: g, children: /* @__PURE__ */ L("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
536
538
|
cr(e),
|
|
537
539
|
/* @__PURE__ */ s("span", { children: t ?? dr(i, e) })
|
|
@@ -540,17 +542,17 @@ const Ae = ({
|
|
|
540
542
|
Ae.displayName = "DataTable.Toolbar.ExportMenu.Item";
|
|
541
543
|
function ur(e) {
|
|
542
544
|
if (!e) return [];
|
|
543
|
-
const t = (
|
|
545
|
+
const t = (a) => a.getPinned() === "left" ? 0 : a.getPinned() === "right" ? 2 : 1;
|
|
544
546
|
return [...e.getAllGridColumns() ?? []].sort(
|
|
545
|
-
(
|
|
546
|
-
).map((
|
|
547
|
-
colId:
|
|
548
|
-
displayName: e.getDisplayNameForColumn(
|
|
549
|
-
visible:
|
|
550
|
-
}).filter((
|
|
547
|
+
(a, i) => t(a) - t(i)
|
|
548
|
+
).map((a) => a.getColDef().hide === void 0 && a.getColId().startsWith("ag-Grid-") ? null : {
|
|
549
|
+
colId: a.getColId(),
|
|
550
|
+
displayName: e.getDisplayNameForColumn(a, null) || a.getColId(),
|
|
551
|
+
visible: a.isVisible()
|
|
552
|
+
}).filter((a) => a !== null);
|
|
551
553
|
}
|
|
552
554
|
const Pe = $(
|
|
553
|
-
function({ label: t, icon:
|
|
555
|
+
function({ label: t, icon: n, footer: a, header: i, intent: d = "outline", ...g }, h) {
|
|
554
556
|
const { t: p } = A(), { getApi: m, markColumnsUserTouched: u } = V(
|
|
555
557
|
"DataTable.Toolbar.ColumnToggle"
|
|
556
558
|
), [b, S] = G(!1), [C, c] = G([]), [f, w] = G(null), [T, R] = G(null);
|
|
@@ -593,7 +595,7 @@ const Pe = $(
|
|
|
593
595
|
ref: h,
|
|
594
596
|
type: "button",
|
|
595
597
|
intent: d,
|
|
596
|
-
icon:
|
|
598
|
+
icon: n ?? /* @__PURE__ */ s(tr, { "aria-hidden": !0 }),
|
|
597
599
|
tooltip: _,
|
|
598
600
|
"aria-label": _,
|
|
599
601
|
"aria-haspopup": "dialog",
|
|
@@ -668,7 +670,7 @@ const Pe = $(
|
|
|
668
670
|
})
|
|
669
671
|
}
|
|
670
672
|
),
|
|
671
|
-
|
|
673
|
+
a ? /* @__PURE__ */ s("div", { className: "ds:mt-[var(--spacing-xs)] ds:border-t ds:border-[color:var(--border)] ds:pt-[var(--spacing-sm)]", children: a }) : null
|
|
672
674
|
]
|
|
673
675
|
}
|
|
674
676
|
)
|
|
@@ -677,7 +679,7 @@ const Pe = $(
|
|
|
677
679
|
);
|
|
678
680
|
Pe.displayName = "DataTable.Toolbar.ColumnToggle";
|
|
679
681
|
const tt = $(
|
|
680
|
-
({ label: e, icon: t, onClick:
|
|
682
|
+
({ label: e, icon: t, onClick: n, variant: a = "default", size: i = "sm", ...d }, g) => {
|
|
681
683
|
const { t: h } = A(), { getApi: p, selectionCount: m } = V(
|
|
682
684
|
"DataTable.Toolbar.BulkAction"
|
|
683
685
|
);
|
|
@@ -686,10 +688,10 @@ const tt = $(
|
|
|
686
688
|
{
|
|
687
689
|
ref: g,
|
|
688
690
|
type: "button",
|
|
689
|
-
intent:
|
|
691
|
+
intent: a === "destructive" ? "destructive" : "secondary",
|
|
690
692
|
size: i,
|
|
691
693
|
startIcon: rr(t),
|
|
692
|
-
onClick: () =>
|
|
694
|
+
onClick: () => n(p()),
|
|
693
695
|
"aria-label": `${e} (${h("dataTable.bulkAction", { count: m })})`,
|
|
694
696
|
...d,
|
|
695
697
|
children: [
|
|
@@ -746,20 +748,20 @@ function mr(e) {
|
|
|
746
748
|
sensitivity: "base",
|
|
747
749
|
usage: "search"
|
|
748
750
|
});
|
|
749
|
-
function a
|
|
751
|
+
function n(a, i) {
|
|
750
752
|
if (i.length === 0) return 0;
|
|
751
|
-
if (i.length >
|
|
752
|
-
for (let d = 0; d <=
|
|
753
|
-
if (t.compare(
|
|
753
|
+
if (i.length > a.length) return -1;
|
|
754
|
+
for (let d = 0; d <= a.length - i.length; d += 1)
|
|
755
|
+
if (t.compare(a.slice(d, d + i.length), i) === 0)
|
|
754
756
|
return d;
|
|
755
757
|
return -1;
|
|
756
758
|
}
|
|
757
759
|
return {
|
|
758
|
-
equals: (
|
|
759
|
-
contains: (
|
|
760
|
-
startsWith: (
|
|
761
|
-
endsWith: (
|
|
762
|
-
|
|
760
|
+
equals: (a, i) => t.compare(a, i) === 0,
|
|
761
|
+
contains: (a, i) => n(a, i) !== -1,
|
|
762
|
+
startsWith: (a, i) => i.length <= a.length && t.compare(a.slice(0, i.length), i) === 0,
|
|
763
|
+
endsWith: (a, i) => i.length <= a.length && t.compare(
|
|
764
|
+
a.slice(a.length - i.length),
|
|
763
765
|
i
|
|
764
766
|
) === 0
|
|
765
767
|
};
|
|
@@ -768,7 +770,7 @@ function gr(e) {
|
|
|
768
770
|
return e == null ? null : typeof e == "string" ? e : String(e);
|
|
769
771
|
}
|
|
770
772
|
function hr(e) {
|
|
771
|
-
const { model: t, onModelChange:
|
|
773
|
+
const { model: t, onModelChange: n, getValue: a, placeholder: i, defaultOperator: d } = e, { t: g } = A("ui"), h = (t == null ? void 0 : t.type) ?? d ?? "contains", [p, m] = G(h), [u, b] = G((t == null ? void 0 : t.filter) ?? "");
|
|
772
774
|
K(() => {
|
|
773
775
|
m((t == null ? void 0 : t.type) ?? d ?? "contains"), b((t == null ? void 0 : t.filter) ?? "");
|
|
774
776
|
}, [t, d]);
|
|
@@ -777,7 +779,7 @@ function hr(e) {
|
|
|
777
779
|
doesFilterPass: (T) => {
|
|
778
780
|
const R = t;
|
|
779
781
|
if (!R || R.filter === "") return !0;
|
|
780
|
-
const I = gr(
|
|
782
|
+
const I = gr(a(T.node));
|
|
781
783
|
if (I === null) return !1;
|
|
782
784
|
switch (R.type) {
|
|
783
785
|
case "equals":
|
|
@@ -797,13 +799,13 @@ function hr(e) {
|
|
|
797
799
|
});
|
|
798
800
|
function C() {
|
|
799
801
|
if (u.trim() === "") {
|
|
800
|
-
|
|
802
|
+
n(null);
|
|
801
803
|
return;
|
|
802
804
|
}
|
|
803
|
-
|
|
805
|
+
n({ type: p, filter: u });
|
|
804
806
|
}
|
|
805
807
|
function c() {
|
|
806
|
-
b(""), m(d ?? "contains"),
|
|
808
|
+
b(""), m(d ?? "contains"), n(null);
|
|
807
809
|
}
|
|
808
810
|
const f = fr.map(
|
|
809
811
|
(T) => ({
|
|
@@ -853,22 +855,22 @@ function hr(e) {
|
|
|
853
855
|
}
|
|
854
856
|
function br(e) {
|
|
855
857
|
var b, S;
|
|
856
|
-
const { model: t, onModelChange:
|
|
858
|
+
const { model: t, onModelChange: n, column: a } = e, { t: i } = A("ui"), d = ((S = (b = a == null ? void 0 : a.getColDef) == null ? void 0 : b.call(a)) == null ? void 0 : S.filterParams) ?? {}, g = d.defaultOperator ?? "contains", h = d.placeholder ?? i("dataTable.textFilter.placeholder"), [p, m] = G((t == null ? void 0 : t.filter) ?? "");
|
|
857
859
|
K(() => {
|
|
858
860
|
m((t == null ? void 0 : t.filter) ?? "");
|
|
859
861
|
}, [t == null ? void 0 : t.filter]), K(() => {
|
|
860
862
|
if (p === ((t == null ? void 0 : t.filter) ?? "")) return;
|
|
861
863
|
const C = setTimeout(() => {
|
|
862
864
|
if (p === "") {
|
|
863
|
-
t &&
|
|
865
|
+
t && n(null);
|
|
864
866
|
return;
|
|
865
867
|
}
|
|
866
|
-
|
|
868
|
+
n({ type: g, filter: p });
|
|
867
869
|
}, 200);
|
|
868
870
|
return () => clearTimeout(C);
|
|
869
|
-
}, [p, g, t,
|
|
871
|
+
}, [p, g, t, n]);
|
|
870
872
|
function u() {
|
|
871
|
-
m(""), t &&
|
|
873
|
+
m(""), t && n(null);
|
|
872
874
|
}
|
|
873
875
|
return /* @__PURE__ */ s("div", { "data-component": "text-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ s(
|
|
874
876
|
Se,
|
|
@@ -899,10 +901,10 @@ function ge(e) {
|
|
|
899
901
|
}
|
|
900
902
|
function xr(e, t = !0) {
|
|
901
903
|
K(() => {
|
|
902
|
-
const
|
|
903
|
-
if (!t || !
|
|
904
|
+
const n = e.current;
|
|
905
|
+
if (!t || !n || typeof MutationObserver > "u") return;
|
|
904
906
|
(() => {
|
|
905
|
-
for (const d of
|
|
907
|
+
for (const d of n.querySelectorAll(Be)) ge(d);
|
|
906
908
|
})();
|
|
907
909
|
const i = new MutationObserver((d) => {
|
|
908
910
|
for (const g of d)
|
|
@@ -916,7 +918,7 @@ function xr(e, t = !0) {
|
|
|
916
918
|
ge(p);
|
|
917
919
|
}
|
|
918
920
|
});
|
|
919
|
-
return i.observe(
|
|
921
|
+
return i.observe(n, {
|
|
920
922
|
subtree: !0,
|
|
921
923
|
childList: !0,
|
|
922
924
|
attributes: !0,
|
|
@@ -924,29 +926,29 @@ function xr(e, t = !0) {
|
|
|
924
926
|
}), () => i.disconnect();
|
|
925
927
|
}, [e, t]);
|
|
926
928
|
}
|
|
927
|
-
const
|
|
929
|
+
const ne = "__dsDetailOf", wr = "ds-data-table-expanded-row", rt = "::detail", Tr = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])';
|
|
928
930
|
function W(e) {
|
|
929
|
-
return typeof e == "object" && e !== null && typeof e[
|
|
931
|
+
return typeof e == "object" && e !== null && typeof e[ne] == "string";
|
|
930
932
|
}
|
|
931
933
|
function vr(e) {
|
|
932
934
|
return `${e}${rt}`;
|
|
933
935
|
}
|
|
934
|
-
function
|
|
936
|
+
function fa(e) {
|
|
935
937
|
return e.endsWith(rt);
|
|
936
938
|
}
|
|
937
939
|
function Cr(e, t) {
|
|
938
|
-
return { ...e, [
|
|
940
|
+
return { ...e, [ne]: t };
|
|
939
941
|
}
|
|
940
|
-
const
|
|
942
|
+
const at = Ce(
|
|
941
943
|
null
|
|
942
944
|
);
|
|
943
945
|
function Rr(e) {
|
|
944
946
|
var c;
|
|
945
947
|
const t = Re(
|
|
946
|
-
|
|
947
|
-
), { t:
|
|
948
|
+
at
|
|
949
|
+
), { t: n } = A(), a = B(null), { data: i, node: d, api: g } = e, h = W(i), p = t == null ? void 0 : t.heights, m = d.id, u = B(t);
|
|
948
950
|
if (u.current = t, K(() => {
|
|
949
|
-
const f =
|
|
951
|
+
const f = a.current;
|
|
950
952
|
if (!f || !h || !p || m == null) return;
|
|
951
953
|
let w = p.get(m) ?? 0;
|
|
952
954
|
const T = () => {
|
|
@@ -957,7 +959,7 @@ function Rr(e) {
|
|
|
957
959
|
const R = new ResizeObserver(T);
|
|
958
960
|
return R.observe(f), () => R.disconnect();
|
|
959
961
|
}, [g, m, p, h, d]), K(() => {
|
|
960
|
-
const f =
|
|
962
|
+
const f = a.current, w = f == null ? void 0 : f.parentElement;
|
|
961
963
|
if (!f || !w || !h) return;
|
|
962
964
|
const T = (R) => {
|
|
963
965
|
var I, ee;
|
|
@@ -968,18 +970,18 @@ function Rr(e) {
|
|
|
968
970
|
const f = t == null ? void 0 : t.fallbackRenderer;
|
|
969
971
|
return f ? /* @__PURE__ */ s(f, { ...e }) : null;
|
|
970
972
|
}
|
|
971
|
-
const b = i[
|
|
973
|
+
const b = i[ne];
|
|
972
974
|
let S;
|
|
973
975
|
if (t != null && t.expanded && t.expanded.id === b)
|
|
974
976
|
S = t.expanded.row;
|
|
975
977
|
else {
|
|
976
|
-
const { [
|
|
978
|
+
const { [ne]: f, ...w } = i;
|
|
977
979
|
S = w;
|
|
978
980
|
}
|
|
979
981
|
return /* @__PURE__ */ L(
|
|
980
982
|
"div",
|
|
981
983
|
{
|
|
982
|
-
ref:
|
|
984
|
+
ref: a,
|
|
983
985
|
role: "gridcell",
|
|
984
986
|
tabIndex: -1,
|
|
985
987
|
"data-component": "data-table-expanded-row",
|
|
@@ -990,7 +992,7 @@ function Rr(e) {
|
|
|
990
992
|
f.key !== "Escape" || f.defaultPrevented || (f.stopPropagation(), (w = t == null ? void 0 : t.onExpandedRowChange) == null || w.call(t, null));
|
|
991
993
|
},
|
|
992
994
|
children: [
|
|
993
|
-
/* @__PURE__ */ s("span", { className: "ds:sr-only", children:
|
|
995
|
+
/* @__PURE__ */ s("span", { className: "ds:sr-only", children: n("dataTable.expandedRow") }),
|
|
994
996
|
(c = t == null ? void 0 : t.renderExpandedRow) == null ? void 0 : c.call(t, S)
|
|
995
997
|
]
|
|
996
998
|
}
|
|
@@ -1277,23 +1279,23 @@ function Nr() {
|
|
|
1277
1279
|
);
|
|
1278
1280
|
}
|
|
1279
1281
|
function Fr(e) {
|
|
1280
|
-
return e.map(({ pinned: t, ...
|
|
1282
|
+
return e.map(({ pinned: t, ...n }) => n);
|
|
1281
1283
|
}
|
|
1282
1284
|
function kr(e) {
|
|
1283
|
-
return e.map(({ hide: t, pinned:
|
|
1285
|
+
return e.map(({ hide: t, pinned: n, ...a }) => a);
|
|
1284
1286
|
}
|
|
1285
1287
|
function Ar(e, t) {
|
|
1286
1288
|
try {
|
|
1287
|
-
const
|
|
1288
|
-
if (!
|
|
1289
|
-
const
|
|
1290
|
-
if (Array.isArray(
|
|
1289
|
+
const n = localStorage.getItem(`data-table-col-state:${e}`);
|
|
1290
|
+
if (!n) return null;
|
|
1291
|
+
const a = JSON.parse(n);
|
|
1292
|
+
if (Array.isArray(a))
|
|
1291
1293
|
return {
|
|
1292
|
-
state: kr(
|
|
1294
|
+
state: kr(a),
|
|
1293
1295
|
touched: []
|
|
1294
1296
|
};
|
|
1295
|
-
if (typeof
|
|
1296
|
-
const i =
|
|
1297
|
+
if (typeof a != "object" || a === null) return null;
|
|
1298
|
+
const i = a;
|
|
1297
1299
|
return i.v !== 2 || !Array.isArray(i.state) ? null : {
|
|
1298
1300
|
state: i.dir === t ? i.state : Fr(i.state),
|
|
1299
1301
|
touched: Array.isArray(i.touched) ? i.touched.filter((d) => typeof d == "string") : []
|
|
@@ -1302,13 +1304,13 @@ function Ar(e, t) {
|
|
|
1302
1304
|
return null;
|
|
1303
1305
|
}
|
|
1304
1306
|
}
|
|
1305
|
-
function Pr(e, t,
|
|
1307
|
+
function Pr(e, t, n, a) {
|
|
1306
1308
|
try {
|
|
1307
1309
|
const i = {
|
|
1308
1310
|
v: 2,
|
|
1309
|
-
dir:
|
|
1311
|
+
dir: n,
|
|
1310
1312
|
state: t.getColumnState(),
|
|
1311
|
-
touched: [...
|
|
1313
|
+
touched: [...a]
|
|
1312
1314
|
};
|
|
1313
1315
|
localStorage.setItem(
|
|
1314
1316
|
`data-table-col-state:${e}`,
|
|
@@ -1327,8 +1329,8 @@ const Or = /* @__PURE__ */ new Set([
|
|
|
1327
1329
|
]);
|
|
1328
1330
|
function Mr(e, t) {
|
|
1329
1331
|
const {
|
|
1330
|
-
columnDefs:
|
|
1331
|
-
rowData:
|
|
1332
|
+
columnDefs: n,
|
|
1333
|
+
rowData: a,
|
|
1332
1334
|
rowSelection: i,
|
|
1333
1335
|
pagination: d = !1,
|
|
1334
1336
|
paginationPageSize: g = 25,
|
|
@@ -1444,7 +1446,7 @@ function Mr(e, t) {
|
|
|
1444
1446
|
}
|
|
1445
1447
|
);
|
|
1446
1448
|
Ot(t, () => Te, [Te]), Jt(Sr, Te, p);
|
|
1447
|
-
const ze = z.dir() === "rtl", it =
|
|
1449
|
+
const ze = z.dir() === "rtl", it = a === void 0, st = Zt(), { resolvedTheme: Ge } = Yt(), lt = (Ge === "light-accessible" || Ge === "dark-accessible") && f === "compact" ? "default" : f, dt = j(() => {
|
|
1448
1450
|
if (!i) return;
|
|
1449
1451
|
const r = (o) => !W(o.data);
|
|
1450
1452
|
return i === "single" ? {
|
|
@@ -1548,19 +1550,19 @@ function Mr(e, t) {
|
|
|
1548
1550
|
},
|
|
1549
1551
|
[q, c == null ? void 0 : c.context]
|
|
1550
1552
|
), J = j(() => {
|
|
1551
|
-
if (!N || v == null || !
|
|
1552
|
-
const r =
|
|
1553
|
+
if (!N || v == null || !a) return null;
|
|
1554
|
+
const r = a.find((o) => Le(o) === v);
|
|
1553
1555
|
return r === void 0 ? null : { id: v, row: r };
|
|
1554
|
-
}, [N, v, Le,
|
|
1555
|
-
if (!J || !
|
|
1556
|
-
const r =
|
|
1556
|
+
}, [N, v, Le, a]), ft = j(() => {
|
|
1557
|
+
if (!J || !a) return a;
|
|
1558
|
+
const r = a.indexOf(J.row), o = Cr(J.row, J.id);
|
|
1557
1559
|
return [
|
|
1558
|
-
...
|
|
1560
|
+
...a.slice(0, r + 1),
|
|
1559
1561
|
o,
|
|
1560
|
-
...
|
|
1562
|
+
...a.slice(r + 1)
|
|
1561
1563
|
];
|
|
1562
|
-
}, [J,
|
|
1563
|
-
(r) => W(r.data) ? vr(r.data[
|
|
1564
|
+
}, [J, a]), mt = D(
|
|
1565
|
+
(r) => W(r.data) ? vr(r.data[ne]) : q(r),
|
|
1564
1566
|
[q]
|
|
1565
1567
|
), gt = D(
|
|
1566
1568
|
(r) => {
|
|
@@ -1580,7 +1582,7 @@ function Mr(e, t) {
|
|
|
1580
1582
|
(re = (P = le.current) == null ? void 0 : P.postSortRows) == null || re.call(P, r);
|
|
1581
1583
|
const { nodes: o } = r, l = o.findIndex((Z) => W(Z.data));
|
|
1582
1584
|
if (l < 0) return;
|
|
1583
|
-
const [y] = o.splice(l, 1), x = y.data[
|
|
1585
|
+
const [y] = o.splice(l, 1), x = y.data[ne], k = o.findIndex((Z) => Z.id === x);
|
|
1584
1586
|
o.splice(k < 0 ? o.length : k + 1, 0, y);
|
|
1585
1587
|
},
|
|
1586
1588
|
[]
|
|
@@ -1699,7 +1701,7 @@ function Mr(e, t) {
|
|
|
1699
1701
|
"data-print-mode": _ ? "true" : void 0,
|
|
1700
1702
|
children: [
|
|
1701
1703
|
!_ && /* @__PURE__ */ s(
|
|
1702
|
-
|
|
1704
|
+
ar,
|
|
1703
1705
|
{
|
|
1704
1706
|
getApi: Et,
|
|
1705
1707
|
selectionCount: X,
|
|
@@ -1714,7 +1716,7 @@ function Mr(e, t) {
|
|
|
1714
1716
|
ref: ie,
|
|
1715
1717
|
className: [Nt, _ ? "" : T].join(" ").trim(),
|
|
1716
1718
|
children: /* @__PURE__ */ s(
|
|
1717
|
-
|
|
1719
|
+
at.Provider,
|
|
1718
1720
|
{
|
|
1719
1721
|
value: Tt,
|
|
1720
1722
|
children: /* @__PURE__ */ s(
|
|
@@ -1722,7 +1724,7 @@ function Mr(e, t) {
|
|
|
1722
1724
|
{
|
|
1723
1725
|
ref: E,
|
|
1724
1726
|
theme: "legacy",
|
|
1725
|
-
columnDefs:
|
|
1727
|
+
columnDefs: n,
|
|
1726
1728
|
rowData: ft,
|
|
1727
1729
|
defaultColDef: {
|
|
1728
1730
|
sortable: !0,
|
|
@@ -1800,22 +1802,22 @@ function Mr(e, t) {
|
|
|
1800
1802
|
}
|
|
1801
1803
|
);
|
|
1802
1804
|
}
|
|
1803
|
-
const
|
|
1804
|
-
|
|
1805
|
-
const
|
|
1805
|
+
const nt = $(Mr);
|
|
1806
|
+
nt.displayName = "DataTable";
|
|
1807
|
+
const ma = Object.assign(nt, {
|
|
1806
1808
|
Toolbar: be
|
|
1807
1809
|
});
|
|
1808
1810
|
export {
|
|
1809
|
-
|
|
1811
|
+
ma as D,
|
|
1810
1812
|
wr as E,
|
|
1811
1813
|
hr as T,
|
|
1812
1814
|
br as a,
|
|
1813
1815
|
be as b,
|
|
1814
|
-
|
|
1816
|
+
ar as c,
|
|
1815
1817
|
Sr as d,
|
|
1816
1818
|
Qe as e,
|
|
1817
1819
|
vr as f,
|
|
1818
|
-
|
|
1820
|
+
fa as g,
|
|
1819
1821
|
W as i
|
|
1820
1822
|
};
|
|
1821
|
-
//# sourceMappingURL=data-table-
|
|
1823
|
+
//# sourceMappingURL=data-table-DB5BiVQ0.js.map
|
|
@@ -16,7 +16,7 @@ import { F as Nt, a as Tt } from "./file-Cwe9VC1A.js";
|
|
|
16
16
|
import { F as Ft } from "./file-text-5yv6r2ls.js";
|
|
17
17
|
import { F as At } from "./file-spreadsheet-DmwyfV4O.js";
|
|
18
18
|
import { C as Dt } from "./chevron-right-I9AeSxH2.js";
|
|
19
|
-
import { D as Te } from "./data-table-
|
|
19
|
+
import { D as Te } from "./data-table-DB5BiVQ0.js";
|
|
20
20
|
import { A as Rt, a as It } from "./actions-cell-renderer-yy03OgRL.js";
|
|
21
21
|
import { B as $e } from "./badge-sTusUqZD.js";
|
|
22
22
|
import { D as Ge } from "./download-CfYKJO_j.js";
|
|
@@ -1757,4 +1757,4 @@ export {
|
|
|
1757
1757
|
yn as F,
|
|
1758
1758
|
Gt as f
|
|
1759
1759
|
};
|
|
1760
|
-
//# sourceMappingURL=file-manager-
|
|
1760
|
+
//# sourceMappingURL=file-manager-Cd8V9IcZ.js.map
|
package/dist/agent-catalog.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as r, E as l, T as t, a as s, b as d, c as o, d as n, e as i, f as R, i as C, g as T } from "../../_chunks/data-table-
|
|
1
|
+
import { D as r, E as l, T as t, a as s, b as d, c as o, d as n, e as i, f as R, i as C, g as T } from "../../_chunks/data-table-DB5BiVQ0.js";
|
|
2
2
|
import { B as g, C as D, a as b, E as x, b as c, R as p, T as u, c as m, r as E, u as f } from "../../_chunks/editable-currency-cell-renderer-B7TVZ5ZJ.js";
|
|
3
3
|
import { D as h, a as A, b as w, I as y, L as I, N as L, c as N, S as P, d as W, e as B, T as U, f as _, g as k, U as v } from "../../_chunks/link-cell-renderer-tWEOv3Sc.js";
|
|
4
4
|
import { A as X, a as j } from "../../_chunks/actions-cell-renderer-yy03OgRL.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-
|
|
1
|
+
import { B as s, C as l, N as n, P as t, a as C, T as i, b as o, g as T, u as p } from "../../_chunks/balance-badge-cell-CX6b0ML4.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BalanceBadgeCell,
|
|
4
4
|
l as CarePlanStatusCell,
|
package/dist/index.js
CHANGED
|
@@ -75,7 +75,7 @@ import { C as Hr, c as vr } from "./_chunks/carousel.agent-CLxdHEBP.js";
|
|
|
75
75
|
import { C as Ur, c as Vr } from "./_chunks/connection-status-DRZIcMqM.js";
|
|
76
76
|
import { C as Kr } from "./_chunks/contact-card-0hnFJwrz.js";
|
|
77
77
|
import { C as Xr } from "./_chunks/counter-dRlTNC_y.js";
|
|
78
|
-
import { D as zr, E as jr, T as Qr, a as Jr, b as Zr, c as $r, d as ao, e as eo, f as so, i as ro, g as oo } from "./_chunks/data-table-
|
|
78
|
+
import { D as zr, E as jr, T as Qr, a as Jr, b as Zr, c as $r, d as ao, e as eo, f as so, i as ro, g as oo } from "./_chunks/data-table-DB5BiVQ0.js";
|
|
79
79
|
import { B as no, C as io, a as po, E as mo, b as lo, R as Ao, T as co, c as fo, r as go, u as So } from "./_chunks/editable-currency-cell-renderer-B7TVZ5ZJ.js";
|
|
80
80
|
import { D as To, a as xo, b as uo, I as Po, L as Io, N as Eo, c as Ro, S as _o, d as bo, e as No, T as Do, f as ho, g as Oo, U as Fo } from "./_chunks/link-cell-renderer-tWEOv3Sc.js";
|
|
81
81
|
import { A as Mo, a as yo } from "./_chunks/actions-cell-renderer-yy03OgRL.js";
|
|
@@ -83,7 +83,7 @@ import { D as Bo, d as Go, a as Ho, b as vo } from "./_chunks/data-table-tabs-DV
|
|
|
83
83
|
import { C as Uo, c as Vo } from "./_chunks/clinical-note-card-BBgFd2nB.js";
|
|
84
84
|
import { D as Ko } from "./_chunks/description-list-CjJqR8WK.js";
|
|
85
85
|
import { E as Xo } from "./_chunks/empty-state-X0sVPfVo.js";
|
|
86
|
-
import { F as zo, f as jo } from "./_chunks/file-manager-
|
|
86
|
+
import { F as zo, f as jo } from "./_chunks/file-manager-Cd8V9IcZ.js";
|
|
87
87
|
import { F as Jo, a as Zo, h as $o } from "./_chunks/flag-DVBE6DnB.js";
|
|
88
88
|
import { K as et, k as st } from "./_chunks/kbd-D855ZXIW.js";
|
|
89
89
|
import { K as ot, a as tt } from "./_chunks/key-value-pair-BIBdZBLg.js";
|
|
@@ -195,7 +195,7 @@ import { P as YA, p as XA } from "./_chunks/patient-details-DYAmq76G.js";
|
|
|
195
195
|
import { P as zA, p as jA } from "./_chunks/patient-search-HeEUB-_X.js";
|
|
196
196
|
import { P as JA, p as ZA } from "./_chunks/patient-summary-card-C9WBwct-.js";
|
|
197
197
|
import { A as ac, a as ec } from "./_chunks/anamnesis-summary-card-DGVKBQoq.js";
|
|
198
|
-
import { B as rc, C as oc, N as tc, P as nc, a as ic, T as pc, b as mc, g as lc, u as dc } from "./_chunks/balance-badge-cell-
|
|
198
|
+
import { B as rc, C as oc, N as tc, P as nc, a as ic, T as pc, b as mc, g as lc, u as dc } from "./_chunks/balance-badge-cell-CX6b0ML4.js";
|
|
199
199
|
import { B as cc, M as fc, P as gc, a as Sc, b as Cc, c as Tc, d as xc, S as uc, e as Pc, f as Ic, g as Ec, h as Rc, p as _c, i as bc, j as Nc, k as Dc, s as hc, t as Oc, l as Fc } from "./_chunks/periodontal-chart-B9fphroR.js";
|
|
200
200
|
import { P as Mc, a as yc, p as kc } from "./_chunks/periodontal-chart-card-qEZPXj83.js";
|
|
201
201
|
import { D as Gc, P as Hc, a as vc, b as wc, c as Uc, S as Vc, e as Wc, i as Kc, p as Yc } from "./_chunks/periodontal-diagnosis-HrFsVi-C.js";
|
|
@@ -222,7 +222,7 @@ import { W as yS, a as kS } from "./_chunks/whatsapp-button-CuFIHJzG.js";
|
|
|
222
222
|
import { C as GS, W as HS, a as vS, b as wS, c as US, i as VS, l as WS, m as KS, r as YS, w as XS, d as qS, e as zS, f as jS } from "./_chunks/workflow-map-dNzJjBWG.js";
|
|
223
223
|
import { A as JS, a as ZS, b as $S, c as aC } from "./_chunks/alia-sidebar-BWcWZivN.js";
|
|
224
224
|
import { A as sC, a as rC, L as oC, P as tC, S as nC, T as iC, b as pC, c as mC, d as lC, e as dC, f as AC, g as cC, h as fC, i as gC, j as SC, k as CC, l as TC, m as xC, n as uC, o as PC, p as IC, r as EC, q as RC, s as _C, t as bC, u as NC } from "./_chunks/anamnesis-summary-rows-DwjqZgR5.js";
|
|
225
|
-
import { C as hC, a as OC, b as FC, D as LC, c as MC, S as yC, V as kC, W as BC, d as GC, i as HC, m as vC, r as wC, u as UC, e as VC, f as WC } from "./_chunks/calendar-workspace-
|
|
225
|
+
import { C as hC, a as OC, b as FC, D as LC, c as MC, S as yC, V as kC, W as BC, d as GC, i as HC, m as vC, r as wC, u as UC, e as VC, f as WC } from "./_chunks/calendar-workspace-ax7xmSAp.js";
|
|
226
226
|
import { C as YC, M as XC, P as qC } from "./_chunks/marketplace-app-shell-C4AjQmvz.js";
|
|
227
227
|
import { P as jC } from "./_chunks/payment-automation-upsell-DwQW2fRp.js";
|
|
228
228
|
import { S as JC } from "./_chunks/signature-request-CwlAmVLw.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as s, a as r, b as E, D as P, c as t, S, V as A, W as C, d, i as o, m as D, r as i, u as n, e as W, f as _ } from "../../_chunks/calendar-workspace-
|
|
1
|
+
import { C as s, a as r, b as E, D as P, c as t, S, V as A, W as C, d, i as o, m as D, r as i, u as n, e as W, f as _ } from "../../_chunks/calendar-workspace-ax7xmSAp.js";
|
|
2
2
|
export {
|
|
3
3
|
s as CALENDAR_PREFERENCE_KEYS,
|
|
4
4
|
r as CalendarDataProvider,
|
package/package.json
CHANGED