@alfadocs/ui-kit 0.45.0 → 0.47.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-CVIPrdc9.js +1125 -0
- package/dist/_chunks/{audio-recorder-C1rhKhSN.js → audio-recorder-DC-v9YFW.js} +81 -91
- package/dist/_chunks/{chat-input-CQe7nR_v.js → chat-input-CFwc7JxL.js} +2 -1
- package/dist/_chunks/{chat-message-ASgGtj-L.js → chat-message-B5JpFj0F.js} +79 -73
- package/dist/_chunks/code-block-HoddNOKJ.js +106 -0
- package/dist/_chunks/download-CDF1sbL9.js +16 -0
- package/dist/_chunks/{editable-currency-cell-renderer-BEBUQl9P.js → editable-currency-cell-renderer-CLil9B29.js} +283 -293
- package/dist/_chunks/{freemium-paywall-BYist2sJ.js → freemium-paywall-DzpD63WY.js} +2 -2
- package/dist/_chunks/mic-B4Gog3Gi.js +16 -0
- package/dist/_chunks/{payment-form-DqEiEJRO.js → payment-form-BNTx4876.js} +225 -196
- package/dist/_chunks/pencil-CfQX-0Qc.js +21 -0
- package/dist/_chunks/{streaming-text-GH07yIYh.js → streaming-text-CfhDqtIT.js} +49 -45
- package/dist/_chunks/{workflow-map-BFNpzTiw.js → workflow-map-Djn1QMJc.js} +135 -150
- package/dist/agent-catalog.json +1 -1
- package/dist/components/_shared/code-block.d.ts +39 -0
- package/dist/components/audio-recorder/index.js +1 -1
- package/dist/components/chat-input/index.js +1 -1
- package/dist/components/chat-message/chat-message.d.ts +6 -0
- package/dist/components/chat-message/index.js +1 -1
- package/dist/components/data-table/index.js +1 -1
- package/dist/components/freemium-paywall/index.js +1 -1
- package/dist/components/payment-form/index.js +1 -1
- package/dist/components/payment-form/payment-form.d.ts +6 -0
- package/dist/components/streaming-text/index.js +1 -1
- package/dist/components/workflow/index.js +1 -1
- package/dist/i18n/locales/ar.d.ts +15 -0
- package/dist/i18n/locales/ar.js +16 -1
- package/dist/i18n/locales/de.d.ts +15 -0
- package/dist/i18n/locales/de.js +16 -1
- package/dist/i18n/locales/el.d.ts +15 -0
- package/dist/i18n/locales/el.js +16 -1
- package/dist/i18n/locales/en.d.ts +15 -0
- package/dist/i18n/locales/en.js +16 -1
- package/dist/i18n/locales/es.d.ts +15 -0
- package/dist/i18n/locales/es.js +16 -1
- package/dist/i18n/locales/fr.d.ts +15 -0
- package/dist/i18n/locales/fr.js +16 -1
- package/dist/i18n/locales/hi.d.ts +15 -0
- package/dist/i18n/locales/hi.js +16 -1
- package/dist/i18n/locales/it.d.ts +15 -0
- package/dist/i18n/locales/it.js +16 -1
- package/dist/i18n/locales/ja.d.ts +15 -0
- package/dist/i18n/locales/ja.js +16 -1
- package/dist/i18n/locales/nl.d.ts +15 -0
- package/dist/i18n/locales/nl.js +16 -1
- package/dist/i18n/locales/pl.d.ts +15 -0
- package/dist/i18n/locales/pl.js +16 -1
- package/dist/i18n/locales/pt.d.ts +15 -0
- package/dist/i18n/locales/pt.js +16 -1
- package/dist/i18n/locales/ro.d.ts +15 -0
- package/dist/i18n/locales/ro.js +16 -1
- package/dist/i18n/locales/ru.d.ts +15 -0
- package/dist/i18n/locales/ru.js +16 -1
- package/dist/i18n/locales/sq.d.ts +15 -0
- package/dist/i18n/locales/sq.js +16 -1
- package/dist/i18n/locales/sv.d.ts +15 -0
- package/dist/i18n/locales/sv.js +16 -1
- package/dist/i18n/locales/tr.d.ts +15 -0
- package/dist/i18n/locales/tr.js +16 -1
- package/dist/i18n/locales/zh.d.ts +15 -0
- package/dist/i18n/locales/zh.js +16 -1
- package/dist/index.js +9 -9
- package/dist/locales/ar.json +16 -1
- package/dist/locales/de.json +16 -1
- package/dist/locales/el.json +16 -1
- package/dist/locales/en.json +16 -1
- package/dist/locales/es.json +16 -1
- package/dist/locales/fr.json +16 -1
- package/dist/locales/hi.json +16 -1
- package/dist/locales/it.json +16 -1
- package/dist/locales/ja.json +16 -1
- package/dist/locales/nl.json +16 -1
- package/dist/locales/pl.json +16 -1
- package/dist/locales/pt.json +16 -1
- package/dist/locales/ro.json +16 -1
- package/dist/locales/ru.json +16 -1
- package/dist/locales/sq.json +16 -1
- package/dist/locales/sv.json +16 -1
- package/dist/locales/tr.json +16 -1
- package/dist/locales/zh.json +16 -1
- package/dist/patterns/alia-assistant/alia-types.d.ts +61 -0
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/alia-sidebar-Be8FhKYd.js +0 -837
|
@@ -1,79 +1,69 @@
|
|
|
1
1
|
import { jsx as s, jsxs as E } from "react/jsx-runtime";
|
|
2
|
-
import { useMemo as z, forwardRef as _, useState as R, useCallback as M, useEffect as P, useRef as X, createContext as Ne, useContext as Se, isValidElement as we, cloneElement as Fe, useImperativeHandle as
|
|
3
|
-
import { S as
|
|
2
|
+
import { useMemo as z, forwardRef as _, useState as R, useCallback as M, useEffect as P, useRef as X, createContext as Ne, useContext as Se, isValidElement as we, cloneElement as Fe, useImperativeHandle as yt } from "react";
|
|
3
|
+
import { S as Tt } from "./skeleton-CZbwyJAA.js";
|
|
4
4
|
import { E as Ct } from "./empty-state-BLy7tigq.js";
|
|
5
|
-
import { c as
|
|
5
|
+
import { c as xt } from "./index-D2ZczOXr.js";
|
|
6
6
|
import { useTranslation as F } from "react-i18next";
|
|
7
|
-
import { useGridFilter as J, AgGridReact as
|
|
8
|
-
import { ModuleRegistry as
|
|
7
|
+
import { useGridFilter as J, AgGridReact as Nt } from "ag-grid-react";
|
|
8
|
+
import { ModuleRegistry as St, AllCommunityModule as wt } from "ag-grid-community";
|
|
9
9
|
import { B as L } from "./button-DD_0Xdmr.js";
|
|
10
|
-
import { I as
|
|
10
|
+
import { I as V } from "./icon-button-CKEOrN37.js";
|
|
11
11
|
import { P as Z } from "./popover-Devce-tT.js";
|
|
12
12
|
import { C as Re } from "./checkbox-DRcOdmXv.js";
|
|
13
13
|
import { T as fe } from "./text-input-BaClJL8Y.js";
|
|
14
14
|
import { T as ae } from "./tag-CdA0s_VV.js";
|
|
15
15
|
import { D as Y } from "./dropdown-menu-CUEXqKis.js";
|
|
16
16
|
import { X as De } from "./x-CCcI3eJp.js";
|
|
17
|
-
import { R as
|
|
17
|
+
import { R as Ft } from "./refresh-cw-CC8jSKMr.js";
|
|
18
18
|
import { S as pe } from "./search-BonnQsHv.js";
|
|
19
|
-
import { c as
|
|
19
|
+
import { c as Rt } from "./createLucideIcon-CrFbzy84.js";
|
|
20
20
|
import { G as Dt } from "./grip-vertical-Dlg0_k5C.js";
|
|
21
21
|
import { P as kt } from "./printer-CeVEWfQq.js";
|
|
22
|
-
import { F as
|
|
22
|
+
import { F as ke } from "./file-text-DSNuv2B8.js";
|
|
23
|
+
import { D as ne } from "./download-CDF1sbL9.js";
|
|
23
24
|
import { F as Et } from "./file-spreadsheet-zUkY8rJ2.js";
|
|
24
25
|
import It from "i18next";
|
|
25
|
-
import { S as
|
|
26
|
+
import { S as Ee } from "./select-hsCaJSX3.js";
|
|
26
27
|
import { u as zt } from "./use-prefers-reduced-motion-BMwIQRjB.js";
|
|
27
28
|
import { u as At } from "./use-theme-C2dHKUAN.js";
|
|
28
29
|
import { u as Pt } from "./registry-nPAVE19X.js";
|
|
29
|
-
import { D as
|
|
30
|
+
import { D as Ie } from "./date-range-picker-DcXuI9y7.js";
|
|
30
31
|
import { M as Ot } from "./multi-select-DOLO3K_z.js";
|
|
31
|
-
import { A as
|
|
32
|
+
import { A as ze } from "./autocomplete-CDqxB68B.js";
|
|
32
33
|
import { N as ee } from "./number-input-Dj5L3pXK.js";
|
|
33
34
|
import { B as Mt } from "./badge-zsf5i5bH.js";
|
|
34
|
-
import { A as
|
|
35
|
+
import { A as Ae } from "./avatar-BNQNhoyL.js";
|
|
35
36
|
import { T as jt } from "./tooltip-DvmfrNvB.js";
|
|
36
37
|
import { T as he } from "./timestamp-BV2lC-wV.js";
|
|
37
38
|
import { S as Lt } from "./square-check-big-Jr-0202D.js";
|
|
38
39
|
import { S as _t } from "./square-CZoGU14v.js";
|
|
39
|
-
import { u as
|
|
40
|
-
import { c as
|
|
40
|
+
import { u as qt } from "./use-isomorphic-layout-effect-BGfaCOP1.js";
|
|
41
|
+
import { c as Pe, a as Oe, b as Me, d as je } from "./input-surface-xyERuLU_.js";
|
|
41
42
|
/**
|
|
42
43
|
* @license lucide-react v1.8.0 - ISC
|
|
43
44
|
*
|
|
44
45
|
* This source code is licensed under the ISC license.
|
|
45
46
|
* See the LICENSE file in the root directory of this source tree.
|
|
46
47
|
*/
|
|
47
|
-
const
|
|
48
|
+
const $t = [
|
|
48
49
|
["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
|
|
49
50
|
["path", { d: "M12 3v18", key: "108xh3" }]
|
|
50
|
-
], Gt =
|
|
51
|
-
/**
|
|
52
|
-
* @license lucide-react v1.8.0 - ISC
|
|
53
|
-
*
|
|
54
|
-
* This source code is licensed under the ISC license.
|
|
55
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
56
|
-
*/
|
|
57
|
-
const Vt = [
|
|
58
|
-
["path", { d: "M12 15V3", key: "m9g1x1" }],
|
|
59
|
-
["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
|
|
60
|
-
["path", { d: "m7 10 5 5 5-5", key: "brsn70" }]
|
|
61
|
-
], ne = ke("download", Vt);
|
|
51
|
+
], Gt = Rt("columns-2", $t);
|
|
62
52
|
function Bt(t) {
|
|
63
53
|
if (!we(t)) return t;
|
|
64
54
|
const e = t, a = e.props.className ?? "", n = /\bsize-|\bw-|\bh-/.test(a) ? a : `${a} ds:size-4`.trim();
|
|
65
55
|
return Fe(e, { className: n, size: e.props.size ?? 16 });
|
|
66
56
|
}
|
|
67
|
-
const
|
|
68
|
-
function
|
|
69
|
-
const e = Se(
|
|
57
|
+
const Le = Ne(null);
|
|
58
|
+
function q(t) {
|
|
59
|
+
const e = Se(Le);
|
|
70
60
|
if (!e)
|
|
71
61
|
throw new Error(
|
|
72
62
|
`${t} must be rendered inside <DataTable.Toolbar> as a descendant of <DataTable>.`
|
|
73
63
|
);
|
|
74
64
|
return e;
|
|
75
65
|
}
|
|
76
|
-
function
|
|
66
|
+
function Vt({
|
|
77
67
|
getApi: t,
|
|
78
68
|
selectionCount: e,
|
|
79
69
|
onPrint: a,
|
|
@@ -83,9 +73,9 @@ function Ut({
|
|
|
83
73
|
() => ({ getApi: t, selectionCount: e, onPrint: a }),
|
|
84
74
|
[t, e, a]
|
|
85
75
|
);
|
|
86
|
-
return /* @__PURE__ */ s(
|
|
76
|
+
return /* @__PURE__ */ s(Le.Provider, { value: r, children: n });
|
|
87
77
|
}
|
|
88
|
-
const
|
|
78
|
+
const Ut = [
|
|
89
79
|
"data-table-toolbar",
|
|
90
80
|
// Mobile (<sm) keeps `flex-wrap` so a wide QuickSearch can flow above the
|
|
91
81
|
// Actions cluster on narrow screens. From `sm` (≥640px) we switch to
|
|
@@ -104,19 +94,19 @@ const Kt = [
|
|
|
104
94
|
"ds:border ds:border-[color:var(--card-border)]",
|
|
105
95
|
"ds:shadow-[var(--shadow-sm)]",
|
|
106
96
|
"ds:py-[var(--spacing-sm)] ds:px-[var(--spacing-md)]"
|
|
107
|
-
].join(" "),
|
|
97
|
+
].join(" "), _e = _(
|
|
108
98
|
({ className: t, children: e, ...a }, n) => /* @__PURE__ */ s(
|
|
109
99
|
"div",
|
|
110
100
|
{
|
|
111
101
|
ref: n,
|
|
112
102
|
role: "toolbar",
|
|
113
|
-
className: [
|
|
103
|
+
className: [Ut, t ?? ""].join(" ").trim(),
|
|
114
104
|
...a,
|
|
115
105
|
children: e
|
|
116
106
|
}
|
|
117
107
|
)
|
|
118
108
|
);
|
|
119
|
-
|
|
109
|
+
_e.displayName = "DataTable.Toolbar";
|
|
120
110
|
const qe = _(
|
|
121
111
|
({ className: t, children: e, ...a }, n) => /* @__PURE__ */ s(
|
|
122
112
|
"div",
|
|
@@ -137,7 +127,7 @@ const qe = _(
|
|
|
137
127
|
)
|
|
138
128
|
);
|
|
139
129
|
qe.displayName = "DataTable.Toolbar.FilterBar";
|
|
140
|
-
const
|
|
130
|
+
const $e = _(
|
|
141
131
|
({ className: t, children: e, ...a }, n) => /* @__PURE__ */ s(
|
|
142
132
|
"div",
|
|
143
133
|
{
|
|
@@ -152,15 +142,15 @@ const Ge = _(
|
|
|
152
142
|
}
|
|
153
143
|
)
|
|
154
144
|
);
|
|
155
|
-
|
|
156
|
-
const
|
|
145
|
+
$e.displayName = "DataTable.Toolbar.Actions";
|
|
146
|
+
const Ge = _(
|
|
157
147
|
({ label: t, onExport: e, intent: a = "outline", ...n }, r) => {
|
|
158
|
-
const { t: o } = F(), { getApi: l } =
|
|
148
|
+
const { t: o } = F(), { getApi: l } = q("DataTable.Toolbar.ExportCsv"), u = M(() => {
|
|
159
149
|
const d = l();
|
|
160
150
|
d && (e ? e(d) : d.exportDataAsCsv());
|
|
161
151
|
}, [l, e]);
|
|
162
152
|
return /* @__PURE__ */ s(
|
|
163
|
-
|
|
153
|
+
V,
|
|
164
154
|
{
|
|
165
155
|
ref: r,
|
|
166
156
|
type: "button",
|
|
@@ -173,8 +163,8 @@ const Ve = _(
|
|
|
173
163
|
);
|
|
174
164
|
}
|
|
175
165
|
);
|
|
176
|
-
|
|
177
|
-
function
|
|
166
|
+
Ge.displayName = "DataTable.Toolbar.ExportCsv";
|
|
167
|
+
function W(t, e = [30, 30, 30]) {
|
|
178
168
|
if (typeof document > "u") return e;
|
|
179
169
|
const a = document.createElement("span");
|
|
180
170
|
a.style.color = `hsl(var(${t}))`, a.style.position = "absolute", a.style.visibility = "hidden", document.body.appendChild(a);
|
|
@@ -194,16 +184,16 @@ async function Be(t, e) {
|
|
|
194
184
|
t.forEachNodeAfterFilterAndSort((g) => {
|
|
195
185
|
if (!g.data) return;
|
|
196
186
|
const b = o.map((y) => {
|
|
197
|
-
const
|
|
187
|
+
const C = t.getCellValue({
|
|
198
188
|
rowNode: g,
|
|
199
189
|
colKey: y,
|
|
200
190
|
useFormatter: !0
|
|
201
191
|
});
|
|
202
|
-
return
|
|
192
|
+
return C == null ? "" : String(C);
|
|
203
193
|
});
|
|
204
194
|
u.push(b);
|
|
205
195
|
});
|
|
206
|
-
const d =
|
|
196
|
+
const d = W("--muted", [240, 240, 240]), i = W("--foreground", [30, 30, 30]), c = W("--card-foreground", [30, 30, 30]), p = W("--card", [250, 250, 250]), v = new a({ orientation: "landscape" });
|
|
207
197
|
n(v, {
|
|
208
198
|
head: l,
|
|
209
199
|
body: u,
|
|
@@ -217,9 +207,9 @@ async function Be(t, e) {
|
|
|
217
207
|
}
|
|
218
208
|
}), v.save(e.fileName);
|
|
219
209
|
}
|
|
220
|
-
const
|
|
210
|
+
const Ve = _(
|
|
221
211
|
({ label: t, onClick: e, fileName: a, intent: n = "outline", ...r }, o) => {
|
|
222
|
-
const { t: l } = F(), { getApi: u } =
|
|
212
|
+
const { t: l } = F(), { getApi: u } = q("DataTable.Toolbar.ExportPdf"), d = M(() => {
|
|
223
213
|
const i = u();
|
|
224
214
|
if (e) {
|
|
225
215
|
e(i);
|
|
@@ -230,12 +220,12 @@ const Ue = _(
|
|
|
230
220
|
});
|
|
231
221
|
}, [u, e, a]);
|
|
232
222
|
return /* @__PURE__ */ s(
|
|
233
|
-
|
|
223
|
+
V,
|
|
234
224
|
{
|
|
235
225
|
ref: o,
|
|
236
226
|
type: "button",
|
|
237
227
|
intent: n,
|
|
238
|
-
icon: /* @__PURE__ */ s(
|
|
228
|
+
icon: /* @__PURE__ */ s(ke, { "aria-hidden": !0 }),
|
|
239
229
|
tooltip: t ?? l("dataTable.exportPdf"),
|
|
240
230
|
onClick: d,
|
|
241
231
|
...r
|
|
@@ -243,12 +233,12 @@ const Ue = _(
|
|
|
243
233
|
);
|
|
244
234
|
}
|
|
245
235
|
);
|
|
246
|
-
|
|
247
|
-
const
|
|
236
|
+
Ve.displayName = "DataTable.Toolbar.ExportPdf";
|
|
237
|
+
const Ue = _(
|
|
248
238
|
({ label: t, intent: e = "outline", ...a }, n) => {
|
|
249
|
-
const { t: r } = F(), { onPrint: o } =
|
|
239
|
+
const { t: r } = F(), { onPrint: o } = q("DataTable.Toolbar.Print");
|
|
250
240
|
return /* @__PURE__ */ s(
|
|
251
|
-
|
|
241
|
+
V,
|
|
252
242
|
{
|
|
253
243
|
ref: n,
|
|
254
244
|
type: "button",
|
|
@@ -261,9 +251,9 @@ const Ke = _(
|
|
|
261
251
|
);
|
|
262
252
|
}
|
|
263
253
|
);
|
|
264
|
-
|
|
265
|
-
const
|
|
266
|
-
const { t: a } = F(), { getApi: n } =
|
|
254
|
+
Ue.displayName = "DataTable.Toolbar.Print";
|
|
255
|
+
const Ke = ({ placeholder: t, debounceMs: e = 150 }) => {
|
|
256
|
+
const { t: a } = F(), { getApi: n } = q("DataTable.Toolbar.QuickSearch"), [r, o] = R(""), l = X(void 0);
|
|
267
257
|
return P(() => (l.current && window.clearTimeout(l.current), l.current = window.setTimeout(() => {
|
|
268
258
|
const u = n();
|
|
269
259
|
u && u.setGridOption("quickFilterText", r);
|
|
@@ -291,17 +281,17 @@ const He = ({ placeholder: t, debounceMs: e = 150 }) => {
|
|
|
291
281
|
}
|
|
292
282
|
) });
|
|
293
283
|
};
|
|
294
|
-
|
|
284
|
+
Ke.displayName = "DataTable.Toolbar.QuickSearch";
|
|
295
285
|
const We = _(
|
|
296
286
|
({ onRefresh: t, label: e, intent: a = "outline", ...n }, r) => {
|
|
297
287
|
const { t: o } = F();
|
|
298
288
|
return /* @__PURE__ */ s(
|
|
299
|
-
|
|
289
|
+
V,
|
|
300
290
|
{
|
|
301
291
|
ref: r,
|
|
302
292
|
type: "button",
|
|
303
293
|
intent: a,
|
|
304
|
-
icon: /* @__PURE__ */ s(
|
|
294
|
+
icon: /* @__PURE__ */ s(Ft, { "aria-hidden": !0 }),
|
|
305
295
|
tooltip: e ?? o("dataTable.refresh", "Refresh"),
|
|
306
296
|
onClick: t,
|
|
307
297
|
...n
|
|
@@ -310,7 +300,7 @@ const We = _(
|
|
|
310
300
|
}
|
|
311
301
|
);
|
|
312
302
|
We.displayName = "DataTable.Toolbar.Refresh";
|
|
313
|
-
function
|
|
303
|
+
function Kt(t) {
|
|
314
304
|
if (!t || typeof t != "object") return "";
|
|
315
305
|
const e = t;
|
|
316
306
|
if (typeof e.filter == "string" || typeof e.filter == "number") {
|
|
@@ -319,8 +309,8 @@ function Ht(t) {
|
|
|
319
309
|
}
|
|
320
310
|
return typeof e.dateFrom == "string" ? typeof e.dateTo == "string" && e.dateTo ? `${e.dateFrom} – ${e.dateTo}` : String(e.dateFrom) : Array.isArray(e.values) ? e.values.map(String).join(", ") : "";
|
|
321
311
|
}
|
|
322
|
-
const
|
|
323
|
-
const { t } = F(), { getApi: e } =
|
|
312
|
+
const He = () => {
|
|
313
|
+
const { t } = F(), { getApi: e } = q("DataTable.Toolbar.FilterChips"), [a, n] = R([]), [r, o] = R(""), l = M(() => {
|
|
324
314
|
const c = e();
|
|
325
315
|
if (!c) {
|
|
326
316
|
n([]), o("");
|
|
@@ -328,11 +318,11 @@ const Qe = () => {
|
|
|
328
318
|
}
|
|
329
319
|
const p = c.getFilterModel() ?? {}, v = c.getColumns() ?? [], g = [];
|
|
330
320
|
for (const y of Object.keys(p)) {
|
|
331
|
-
const
|
|
321
|
+
const C = v.find((m) => m.getColId() === y), f = c.getDisplayNameForColumn(C, null) ?? y;
|
|
332
322
|
g.push({
|
|
333
323
|
colId: y,
|
|
334
324
|
headerName: f,
|
|
335
|
-
text:
|
|
325
|
+
text: Kt(p[y])
|
|
336
326
|
});
|
|
337
327
|
}
|
|
338
328
|
n(g);
|
|
@@ -399,13 +389,13 @@ const Qe = () => {
|
|
|
399
389
|
}
|
|
400
390
|
);
|
|
401
391
|
};
|
|
402
|
-
|
|
403
|
-
const
|
|
392
|
+
He.displayName = "DataTable.Toolbar.FilterChips";
|
|
393
|
+
const Qe = ({
|
|
404
394
|
field: t,
|
|
405
395
|
options: e,
|
|
406
396
|
label: a
|
|
407
397
|
}) => {
|
|
408
|
-
const { t: n } = F(), { getApi: r } =
|
|
398
|
+
const { t: n } = F(), { getApi: r } = q("DataTable.Toolbar.FacetFilter"), [o, l] = R(null);
|
|
409
399
|
function u(d) {
|
|
410
400
|
l(d);
|
|
411
401
|
const i = r();
|
|
@@ -444,9 +434,9 @@ const Xe = ({
|
|
|
444
434
|
}
|
|
445
435
|
);
|
|
446
436
|
};
|
|
447
|
-
|
|
437
|
+
Qe.displayName = "DataTable.Toolbar.FacetFilter";
|
|
448
438
|
const Wt = ["csv", "xlsx", "pdf"];
|
|
449
|
-
async function
|
|
439
|
+
async function Ht(t, e) {
|
|
450
440
|
if (!t) return;
|
|
451
441
|
const a = await import("./exceljs.min-DUJ-5CGx.js").then((y) => y.e), n = new a.Workbook(), r = n.addWorksheet("Sheet1"), l = (t.getColumns() ?? []).filter((y) => y.isVisible());
|
|
452
442
|
r.addRow(
|
|
@@ -455,17 +445,17 @@ async function Qt(t, e) {
|
|
|
455
445
|
)
|
|
456
446
|
), t.forEachNodeAfterFilterAndSort((y) => {
|
|
457
447
|
y.data && r.addRow(
|
|
458
|
-
l.map((
|
|
448
|
+
l.map((C) => {
|
|
459
449
|
const f = t.getCellValue({
|
|
460
450
|
rowNode: y,
|
|
461
|
-
colKey:
|
|
451
|
+
colKey: C,
|
|
462
452
|
useFormatter: !0
|
|
463
453
|
});
|
|
464
454
|
return f ?? "";
|
|
465
455
|
})
|
|
466
456
|
);
|
|
467
457
|
});
|
|
468
|
-
const u =
|
|
458
|
+
const u = W("--muted", [240, 240, 240]), d = W("--foreground", [30, 30, 30]), i = r.getRow(1), c = ([y, C, f]) => `${y.toString(16).padStart(2, "0")}${C.toString(16).padStart(2, "0")}${f.toString(16).padStart(2, "0")}`.toUpperCase();
|
|
469
459
|
i.eachCell((y) => {
|
|
470
460
|
y.font = { bold: !0, color: { argb: `FF${c(d)}` } }, y.fill = {
|
|
471
461
|
type: "pattern",
|
|
@@ -478,20 +468,20 @@ async function Qt(t, e) {
|
|
|
478
468
|
}), g = URL.createObjectURL(v), b = document.createElement("a");
|
|
479
469
|
b.href = g, b.download = e.fileName, document.body.appendChild(b), b.click(), document.body.removeChild(b), URL.revokeObjectURL(g);
|
|
480
470
|
}
|
|
481
|
-
const
|
|
482
|
-
function
|
|
483
|
-
const t = Se(
|
|
471
|
+
const Xe = Ne(null);
|
|
472
|
+
function Qt() {
|
|
473
|
+
const t = Se(Xe);
|
|
484
474
|
if (!t)
|
|
485
475
|
throw new Error(
|
|
486
476
|
"DataTable.Toolbar.ExportMenu.Item must be rendered inside DataTable.Toolbar.ExportMenu."
|
|
487
477
|
);
|
|
488
478
|
return t;
|
|
489
479
|
}
|
|
490
|
-
const
|
|
491
|
-
const { t: a } = F(), { getApi: n } =
|
|
492
|
-
return /* @__PURE__ */ s(
|
|
480
|
+
const Je = ({ children: t, label: e }) => {
|
|
481
|
+
const { t: a } = F(), { getApi: n } = q("DataTable.Toolbar.ExportMenu"), r = z(() => ({ getApi: n }), [n]), o = t ?? Wt.map((l) => /* @__PURE__ */ s(me, { format: l }, l));
|
|
482
|
+
return /* @__PURE__ */ s(Xe.Provider, { value: r, children: /* @__PURE__ */ E(Y.Root, { children: [
|
|
493
483
|
/* @__PURE__ */ s(Y.Trigger, { asChild: !0, children: /* @__PURE__ */ s(
|
|
494
|
-
|
|
484
|
+
V,
|
|
495
485
|
{
|
|
496
486
|
type: "button",
|
|
497
487
|
intent: "outline",
|
|
@@ -504,12 +494,12 @@ const Ze = ({ children: t, label: e }) => {
|
|
|
504
494
|
/* @__PURE__ */ s(Y.Content, { align: "end", sideOffset: 4, children: o })
|
|
505
495
|
] }) });
|
|
506
496
|
};
|
|
507
|
-
|
|
508
|
-
function
|
|
497
|
+
Je.displayName = "DataTable.Toolbar.ExportMenu";
|
|
498
|
+
function Xt(t, e) {
|
|
509
499
|
return e === "csv" ? t("dataTable.export.csv", "Export CSV") : e === "xlsx" ? t("dataTable.export.xlsx", "Export Excel") : e === "pdf" ? t("dataTable.export.pdf", "Export PDF") : t("dataTable.export.custom", "Export");
|
|
510
500
|
}
|
|
511
|
-
function
|
|
512
|
-
return t === "csv" ? /* @__PURE__ */ s(ne, { "aria-hidden": !0, className: "ds:size-4" }) : t === "xlsx" ? /* @__PURE__ */ s(Et, { "aria-hidden": !0, className: "ds:size-4" }) : t === "pdf" ? /* @__PURE__ */ s(
|
|
501
|
+
function Jt(t) {
|
|
502
|
+
return t === "csv" ? /* @__PURE__ */ s(ne, { "aria-hidden": !0, className: "ds:size-4" }) : t === "xlsx" ? /* @__PURE__ */ s(Et, { "aria-hidden": !0, className: "ds:size-4" }) : t === "pdf" ? /* @__PURE__ */ s(ke, { "aria-hidden": !0, className: "ds:size-4" }) : /* @__PURE__ */ s(ne, { "aria-hidden": !0, className: "ds:size-4" });
|
|
513
503
|
}
|
|
514
504
|
const me = ({
|
|
515
505
|
format: t,
|
|
@@ -517,7 +507,7 @@ const me = ({
|
|
|
517
507
|
onClick: a,
|
|
518
508
|
fileName: n
|
|
519
509
|
}) => {
|
|
520
|
-
const { t: r } = F(), { getApi: o } =
|
|
510
|
+
const { t: r } = F(), { getApi: o } = Qt(), l = M(() => {
|
|
521
511
|
const u = o();
|
|
522
512
|
if (t === "csv") {
|
|
523
513
|
u == null || u.exportDataAsCsv();
|
|
@@ -530,7 +520,7 @@ const me = ({
|
|
|
530
520
|
return;
|
|
531
521
|
}
|
|
532
522
|
if (t === "xlsx") {
|
|
533
|
-
|
|
523
|
+
Ht(u, {
|
|
534
524
|
fileName: n ?? "data-table-export.xlsx"
|
|
535
525
|
});
|
|
536
526
|
return;
|
|
@@ -538,27 +528,27 @@ const me = ({
|
|
|
538
528
|
a == null || a(u);
|
|
539
529
|
}, [t, n, a, o]);
|
|
540
530
|
return /* @__PURE__ */ s(Y.Item, { onSelect: l, children: /* @__PURE__ */ E("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
541
|
-
|
|
542
|
-
/* @__PURE__ */ s("span", { children: e ??
|
|
531
|
+
Jt(t),
|
|
532
|
+
/* @__PURE__ */ s("span", { children: e ?? Xt(r, t) })
|
|
543
533
|
] }) });
|
|
544
534
|
};
|
|
545
535
|
me.displayName = "DataTable.Toolbar.ExportMenu.Item";
|
|
546
|
-
function
|
|
536
|
+
function Zt(t) {
|
|
547
537
|
return t ? (t.getColumns() ?? []).map((a) => a.getColDef().hide === void 0 && a.getColId().startsWith("ag-Grid-") ? null : {
|
|
548
538
|
colId: a.getColId(),
|
|
549
539
|
displayName: t.getDisplayNameForColumn(a, null) || a.getColId(),
|
|
550
540
|
visible: a.isVisible()
|
|
551
541
|
}).filter((a) => a !== null) : [];
|
|
552
542
|
}
|
|
553
|
-
const
|
|
554
|
-
const { t: e } = F(), { getApi: a } =
|
|
543
|
+
const Ze = ({ label: t }) => {
|
|
544
|
+
const { t: e } = F(), { getApi: a } = q("DataTable.Toolbar.ColumnToggle"), [n, r] = R(!1), [o, l] = R([]), [u, d] = R(null), [i, c] = R(null);
|
|
555
545
|
P(() => {
|
|
556
|
-
n && l(
|
|
546
|
+
n && l(Zt(a()));
|
|
557
547
|
}, [n, a]);
|
|
558
548
|
const p = M(
|
|
559
549
|
(b, y) => {
|
|
560
|
-
const
|
|
561
|
-
|
|
550
|
+
const C = a();
|
|
551
|
+
C && (C.setColumnsVisible([b], y), l(
|
|
562
552
|
(f) => f.map(
|
|
563
553
|
(m) => m.colId === b ? { ...m, visible: y } : m
|
|
564
554
|
)
|
|
@@ -568,22 +558,22 @@ const Ye = ({ label: t }) => {
|
|
|
568
558
|
), v = M(
|
|
569
559
|
(b, y) => {
|
|
570
560
|
if (b === y) return;
|
|
571
|
-
const
|
|
572
|
-
if (!
|
|
561
|
+
const C = a();
|
|
562
|
+
if (!C) return;
|
|
573
563
|
l((m) => {
|
|
574
|
-
const h = m.findIndex((D) => D.colId === b),
|
|
575
|
-
if (h < 0 ||
|
|
564
|
+
const h = m.findIndex((D) => D.colId === b), x = m.findIndex((D) => D.colId === y);
|
|
565
|
+
if (h < 0 || x < 0) return m;
|
|
576
566
|
const S = [...m], [I] = S.splice(h, 1);
|
|
577
|
-
return S.splice(
|
|
567
|
+
return S.splice(x, 0, I), S;
|
|
578
568
|
});
|
|
579
569
|
const f = o.findIndex((m) => m.colId === y);
|
|
580
|
-
f >= 0 &&
|
|
570
|
+
f >= 0 && C.moveColumns([b], f);
|
|
581
571
|
},
|
|
582
572
|
[a, o]
|
|
583
573
|
), g = t ?? e("dataTable.columnToggle");
|
|
584
574
|
return /* @__PURE__ */ E(Z.Root, { open: n, onOpenChange: r, children: [
|
|
585
575
|
/* @__PURE__ */ s(Z.Trigger, { asChild: !0, children: /* @__PURE__ */ s(
|
|
586
|
-
|
|
576
|
+
V,
|
|
587
577
|
{
|
|
588
578
|
type: "button",
|
|
589
579
|
intent: "outline",
|
|
@@ -600,7 +590,7 @@ const Ye = ({ label: t }) => {
|
|
|
600
590
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)]",
|
|
601
591
|
"aria-label": g,
|
|
602
592
|
children: o.map((b) => {
|
|
603
|
-
const y = u === b.colId,
|
|
593
|
+
const y = u === b.colId, C = i === b.colId && u !== b.colId;
|
|
604
594
|
return /* @__PURE__ */ E(
|
|
605
595
|
"li",
|
|
606
596
|
{
|
|
@@ -625,7 +615,7 @@ const Ye = ({ label: t }) => {
|
|
|
625
615
|
className: [
|
|
626
616
|
"ds:flex ds:items-center ds:gap-[var(--spacing-xs)] ds:rounded-[var(--radius-sm)] ds:px-[var(--spacing-xs)] ds:py-[var(--spacing-2xs,var(--spacing-xs))] ds:transition-colors",
|
|
627
617
|
y ? "ds:opacity-50" : "",
|
|
628
|
-
|
|
618
|
+
C ? "ds:bg-[color:color-mix(in_srgb,var(--primary)_8%,transparent)]" : ""
|
|
629
619
|
].filter(Boolean).join(" "),
|
|
630
620
|
children: [
|
|
631
621
|
/* @__PURE__ */ s(
|
|
@@ -654,10 +644,10 @@ const Ye = ({ label: t }) => {
|
|
|
654
644
|
] })
|
|
655
645
|
] });
|
|
656
646
|
};
|
|
657
|
-
|
|
658
|
-
const
|
|
647
|
+
Ze.displayName = "DataTable.Toolbar.ColumnToggle";
|
|
648
|
+
const Ye = _(
|
|
659
649
|
({ label: t, icon: e, onClick: a, variant: n = "default", size: r = "sm", ...o }, l) => {
|
|
660
|
-
const { t: u } = F(), { getApi: d, selectionCount: i } =
|
|
650
|
+
const { t: u } = F(), { getApi: d, selectionCount: i } = q(
|
|
661
651
|
"DataTable.Toolbar.BulkAction"
|
|
662
652
|
);
|
|
663
653
|
return i === 0 ? null : /* @__PURE__ */ E(
|
|
@@ -686,32 +676,32 @@ const et = _(
|
|
|
686
676
|
);
|
|
687
677
|
}
|
|
688
678
|
);
|
|
689
|
-
|
|
690
|
-
const
|
|
679
|
+
Ye.displayName = "DataTable.Toolbar.BulkAction";
|
|
680
|
+
const Yt = Object.assign(Je, {
|
|
691
681
|
Item: me
|
|
692
|
-
}), te = Object.assign(
|
|
682
|
+
}), te = Object.assign(_e, {
|
|
693
683
|
FilterBar: qe,
|
|
694
|
-
Actions:
|
|
684
|
+
Actions: $e,
|
|
695
685
|
/** @deprecated Use `Toolbar.ExportMenu` with a `csv` item. */
|
|
696
|
-
ExportCsv:
|
|
686
|
+
ExportCsv: Ge,
|
|
697
687
|
/** @deprecated Use `Toolbar.ExportMenu` with a `pdf` item. */
|
|
698
|
-
ExportPdf:
|
|
699
|
-
Print:
|
|
700
|
-
ColumnToggle:
|
|
701
|
-
BulkAction:
|
|
702
|
-
QuickSearch:
|
|
688
|
+
ExportPdf: Ve,
|
|
689
|
+
Print: Ue,
|
|
690
|
+
ColumnToggle: Ze,
|
|
691
|
+
BulkAction: Ye,
|
|
692
|
+
QuickSearch: Ke,
|
|
703
693
|
Refresh: We,
|
|
704
|
-
FilterChips:
|
|
705
|
-
FacetFilter:
|
|
706
|
-
ExportMenu:
|
|
707
|
-
}),
|
|
694
|
+
FilterChips: He,
|
|
695
|
+
FacetFilter: Qe,
|
|
696
|
+
ExportMenu: Yt
|
|
697
|
+
}), ea = [
|
|
708
698
|
"contains",
|
|
709
699
|
"equals",
|
|
710
700
|
"startsWith",
|
|
711
701
|
"endsWith",
|
|
712
702
|
"notContains"
|
|
713
703
|
];
|
|
714
|
-
function
|
|
704
|
+
function ta(t) {
|
|
715
705
|
const e = new Intl.Collator(t, {
|
|
716
706
|
sensitivity: "base",
|
|
717
707
|
usage: "search"
|
|
@@ -734,20 +724,20 @@ function aa(t) {
|
|
|
734
724
|
) === 0
|
|
735
725
|
};
|
|
736
726
|
}
|
|
737
|
-
function
|
|
727
|
+
function aa(t) {
|
|
738
728
|
return t == null ? null : typeof t == "string" ? t : String(t);
|
|
739
729
|
}
|
|
740
|
-
function
|
|
730
|
+
function na(t) {
|
|
741
731
|
const { model: e, onModelChange: a, getValue: n, placeholder: r, defaultOperator: o } = t, { t: l } = F("ui"), u = (e == null ? void 0 : e.type) ?? o ?? "contains", [d, i] = R(u), [c, p] = R((e == null ? void 0 : e.filter) ?? "");
|
|
742
732
|
P(() => {
|
|
743
733
|
i((e == null ? void 0 : e.type) ?? o ?? "contains"), p((e == null ? void 0 : e.filter) ?? "");
|
|
744
734
|
}, [e, o]);
|
|
745
|
-
const v = z(() =>
|
|
735
|
+
const v = z(() => ta(It.language), []);
|
|
746
736
|
J({
|
|
747
737
|
doesFilterPass: (f) => {
|
|
748
738
|
const m = e;
|
|
749
739
|
if (!m || m.filter === "") return !0;
|
|
750
|
-
const h =
|
|
740
|
+
const h = aa(n(f.node));
|
|
751
741
|
if (h === null) return !1;
|
|
752
742
|
switch (m.type) {
|
|
753
743
|
case "equals":
|
|
@@ -775,12 +765,12 @@ function ra(t) {
|
|
|
775
765
|
function b() {
|
|
776
766
|
p(""), i(o ?? "contains"), a(null);
|
|
777
767
|
}
|
|
778
|
-
const y =
|
|
768
|
+
const y = ea.map(
|
|
779
769
|
(f) => ({
|
|
780
770
|
value: f,
|
|
781
771
|
label: l(`dataTable.textFilter.operators.${f}`)
|
|
782
772
|
})
|
|
783
|
-
),
|
|
773
|
+
), C = r ?? l("dataTable.textFilter.placeholder");
|
|
784
774
|
return /* @__PURE__ */ E(
|
|
785
775
|
"div",
|
|
786
776
|
{
|
|
@@ -788,7 +778,7 @@ function ra(t) {
|
|
|
788
778
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)] ds:min-w-[240px]",
|
|
789
779
|
children: [
|
|
790
780
|
/* @__PURE__ */ s(
|
|
791
|
-
|
|
781
|
+
Ee,
|
|
792
782
|
{
|
|
793
783
|
size: "sm",
|
|
794
784
|
options: y,
|
|
@@ -808,8 +798,8 @@ function ra(t) {
|
|
|
808
798
|
onKeyDown: (f) => {
|
|
809
799
|
f.key === "Enter" && (f.preventDefault(), g());
|
|
810
800
|
},
|
|
811
|
-
placeholder:
|
|
812
|
-
"aria-label":
|
|
801
|
+
placeholder: C,
|
|
802
|
+
"aria-label": C,
|
|
813
803
|
startAdornment: /* @__PURE__ */ s(pe, { "aria-hidden": "true", className: "ds:size-4" })
|
|
814
804
|
}
|
|
815
805
|
),
|
|
@@ -821,7 +811,7 @@ function ra(t) {
|
|
|
821
811
|
}
|
|
822
812
|
);
|
|
823
813
|
}
|
|
824
|
-
function
|
|
814
|
+
function ra(t) {
|
|
825
815
|
var p, v;
|
|
826
816
|
const { model: e, onModelChange: a, column: n } = t, { t: r } = F("ui"), o = ((v = (p = n == null ? void 0 : n.getColDef) == null ? void 0 : p.call(n)) == null ? void 0 : v.filterParams) ?? {}, l = o.defaultOperator ?? "contains", u = o.placeholder ?? r("dataTable.textFilter.placeholder"), [d, i] = R((e == null ? void 0 : e.filter) ?? "");
|
|
827
817
|
P(() => {
|
|
@@ -862,7 +852,7 @@ function sa(t) {
|
|
|
862
852
|
}
|
|
863
853
|
) });
|
|
864
854
|
}
|
|
865
|
-
const
|
|
855
|
+
const sa = {
|
|
866
856
|
id: "data-table",
|
|
867
857
|
capabilities: [
|
|
868
858
|
"select_single",
|
|
@@ -970,8 +960,8 @@ const oa = {
|
|
|
970
960
|
}
|
|
971
961
|
}
|
|
972
962
|
};
|
|
973
|
-
|
|
974
|
-
const
|
|
963
|
+
St.registerModules([wt]);
|
|
964
|
+
const oa = xt("ag-theme-alfadocs ds:w-full", {
|
|
975
965
|
variants: {
|
|
976
966
|
density: {
|
|
977
967
|
default: "",
|
|
@@ -988,7 +978,7 @@ const la = Nt("ag-theme-alfadocs ds:w-full", {
|
|
|
988
978
|
bordered: !0
|
|
989
979
|
}
|
|
990
980
|
});
|
|
991
|
-
function
|
|
981
|
+
function la() {
|
|
992
982
|
const { t } = F();
|
|
993
983
|
return z(
|
|
994
984
|
() => ({
|
|
@@ -1022,7 +1012,7 @@ function ia() {
|
|
|
1022
1012
|
[t]
|
|
1023
1013
|
);
|
|
1024
1014
|
}
|
|
1025
|
-
function
|
|
1015
|
+
function ia() {
|
|
1026
1016
|
return /* @__PURE__ */ s(
|
|
1027
1017
|
"div",
|
|
1028
1018
|
{
|
|
@@ -1030,7 +1020,7 @@ function ca() {
|
|
|
1030
1020
|
"aria-live": "polite",
|
|
1031
1021
|
className: "ds:flex ds:w-full ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-md)]",
|
|
1032
1022
|
children: Array.from({ length: 5 }).map((t, e) => /* @__PURE__ */ s(
|
|
1033
|
-
|
|
1023
|
+
Tt,
|
|
1034
1024
|
{
|
|
1035
1025
|
variant: "rectangular",
|
|
1036
1026
|
className: "ds:h-[var(--min-target-size)] ds:w-full"
|
|
@@ -1040,7 +1030,7 @@ function ca() {
|
|
|
1040
1030
|
}
|
|
1041
1031
|
);
|
|
1042
1032
|
}
|
|
1043
|
-
function
|
|
1033
|
+
function ca() {
|
|
1044
1034
|
const { t } = F();
|
|
1045
1035
|
return /* @__PURE__ */ s(
|
|
1046
1036
|
Ct,
|
|
@@ -1052,7 +1042,7 @@ function da() {
|
|
|
1052
1042
|
}
|
|
1053
1043
|
);
|
|
1054
1044
|
}
|
|
1055
|
-
function
|
|
1045
|
+
function da(t) {
|
|
1056
1046
|
try {
|
|
1057
1047
|
const e = localStorage.getItem(`data-table-col-state:${t}`);
|
|
1058
1048
|
return e ? JSON.parse(e) : null;
|
|
@@ -1060,7 +1050,7 @@ function ua(t) {
|
|
|
1060
1050
|
return null;
|
|
1061
1051
|
}
|
|
1062
1052
|
}
|
|
1063
|
-
function
|
|
1053
|
+
function ua(t, e) {
|
|
1064
1054
|
try {
|
|
1065
1055
|
localStorage.setItem(
|
|
1066
1056
|
`data-table-col-state:${t}`,
|
|
@@ -1069,7 +1059,7 @@ function fa(t, e) {
|
|
|
1069
1059
|
} catch {
|
|
1070
1060
|
}
|
|
1071
1061
|
}
|
|
1072
|
-
function
|
|
1062
|
+
function fa(t, e) {
|
|
1073
1063
|
const {
|
|
1074
1064
|
columnDefs: a,
|
|
1075
1065
|
rowData: n,
|
|
@@ -1085,14 +1075,14 @@ function pa(t, e) {
|
|
|
1085
1075
|
loadingOverlay: g,
|
|
1086
1076
|
gridOptions: b,
|
|
1087
1077
|
density: y,
|
|
1088
|
-
bordered:
|
|
1078
|
+
bordered: C,
|
|
1089
1079
|
heightClass: f = "ds:h-[500px]",
|
|
1090
1080
|
className: m,
|
|
1091
1081
|
getRowClass: h,
|
|
1092
|
-
pinnedBottomRowData:
|
|
1082
|
+
pinnedBottomRowData: x,
|
|
1093
1083
|
printMode: S = !1,
|
|
1094
1084
|
children: I
|
|
1095
|
-
} = t, { t: D, i18n:
|
|
1085
|
+
} = t, { t: D, i18n: $ } = F(), k = X(null), [G, tt] = R(0), [se, oe] = R(""), at = la(), le = z(
|
|
1096
1086
|
() => ({
|
|
1097
1087
|
getSelection: () => {
|
|
1098
1088
|
var w;
|
|
@@ -1122,7 +1112,7 @@ function pa(t, e) {
|
|
|
1122
1112
|
});
|
|
1123
1113
|
const A = O.indexOf(T), j = O.indexOf(N);
|
|
1124
1114
|
if (A < 0 || j < 0) return;
|
|
1125
|
-
const [
|
|
1115
|
+
const [B, ce] = A <= j ? [A, j] : [j, A], de = new Set(O.slice(B, ce + 1));
|
|
1126
1116
|
w.forEachNode((U) => {
|
|
1127
1117
|
U.id != null && U.setSelected(de.has(U.id));
|
|
1128
1118
|
});
|
|
@@ -1149,7 +1139,7 @@ function pa(t, e) {
|
|
|
1149
1139
|
const N = (O = k.current) == null ? void 0 : O.api;
|
|
1150
1140
|
if (!N) return;
|
|
1151
1141
|
const w = N.getColumnState().map((A) => {
|
|
1152
|
-
const j = T.find((
|
|
1142
|
+
const j = T.find((B) => B.colId === A.colId);
|
|
1153
1143
|
return { ...A, sort: j ? j.sort : null };
|
|
1154
1144
|
});
|
|
1155
1145
|
N.applyColumnState({ state: w, defaultState: { sort: null } });
|
|
@@ -1169,39 +1159,39 @@ function pa(t, e) {
|
|
|
1169
1159
|
}),
|
|
1170
1160
|
[]
|
|
1171
1161
|
);
|
|
1172
|
-
|
|
1173
|
-
const
|
|
1162
|
+
yt(e, () => le, [le]), Pt(sa, le, d);
|
|
1163
|
+
const nt = $.dir() === "rtl", rt = n === void 0, st = zt(), { resolvedTheme: ge } = At(), ot = (ge === "light-accessible" || ge === "dark-accessible") && y === "compact" ? "default" : y, lt = z(() => {
|
|
1174
1164
|
if (r)
|
|
1175
1165
|
return r === "single" ? { mode: "singleRow" } : {
|
|
1176
1166
|
mode: "multiRow",
|
|
1177
1167
|
headerCheckbox: !0,
|
|
1178
1168
|
checkboxes: !0
|
|
1179
1169
|
};
|
|
1180
|
-
}, [r]),
|
|
1170
|
+
}, [r]), it = M(() => {
|
|
1181
1171
|
var N;
|
|
1182
1172
|
if (!d || !((N = k.current) != null && N.api)) return;
|
|
1183
|
-
const T =
|
|
1173
|
+
const T = da(d);
|
|
1184
1174
|
T && k.current.api.applyColumnState({
|
|
1185
1175
|
state: T,
|
|
1186
1176
|
applyOrder: !0
|
|
1187
1177
|
});
|
|
1188
1178
|
}, [d]), ie = M(() => {
|
|
1189
1179
|
var T;
|
|
1190
|
-
d && ((T = k.current) != null && T.api) &&
|
|
1191
|
-
}, [d]),
|
|
1180
|
+
d && ((T = k.current) != null && T.api) && ua(d, k.current.api);
|
|
1181
|
+
}, [d]), ct = M(() => {
|
|
1192
1182
|
var w;
|
|
1193
1183
|
const T = (w = k.current) == null ? void 0 : w.api;
|
|
1194
1184
|
if (!T) return;
|
|
1195
1185
|
const N = T.getSelectedRows();
|
|
1196
|
-
|
|
1197
|
-
}, [i]),
|
|
1186
|
+
tt(N.length), i == null || i(N);
|
|
1187
|
+
}, [i]), dt = M(
|
|
1198
1188
|
(T) => {
|
|
1199
1189
|
var w;
|
|
1200
1190
|
const N = (w = k.current) == null ? void 0 : w.api;
|
|
1201
1191
|
if (N) {
|
|
1202
1192
|
const A = N.getColumnState().find((j) => j.sort);
|
|
1203
1193
|
if (A) {
|
|
1204
|
-
const j = A.colId,
|
|
1194
|
+
const j = A.colId, B = N.getColumnDef(j), ce = (B == null ? void 0 : B.headerName) ?? j, de = A.sort === "asc" ? "dataTable.sortAscending" : "dataTable.sortDescending";
|
|
1205
1195
|
oe(
|
|
1206
1196
|
D("dataTable.sortAnnounce", {
|
|
1207
1197
|
column: ce,
|
|
@@ -1214,7 +1204,7 @@ function pa(t, e) {
|
|
|
1214
1204
|
c == null || c(T);
|
|
1215
1205
|
},
|
|
1216
1206
|
[c, D]
|
|
1217
|
-
),
|
|
1207
|
+
), ut = M(
|
|
1218
1208
|
(T) => {
|
|
1219
1209
|
p == null || p(T);
|
|
1220
1210
|
},
|
|
@@ -1225,43 +1215,43 @@ function pa(t, e) {
|
|
|
1225
1215
|
const T = setTimeout(() => oe(""), 3e3);
|
|
1226
1216
|
return () => clearTimeout(T);
|
|
1227
1217
|
}, [se]);
|
|
1228
|
-
const
|
|
1218
|
+
const ft = v ?? ca, pt = g ?? ia, mt = M(
|
|
1229
1219
|
() => {
|
|
1230
1220
|
var T;
|
|
1231
1221
|
return (T = k.current) == null ? void 0 : T.api;
|
|
1232
1222
|
},
|
|
1233
1223
|
[]
|
|
1234
|
-
),
|
|
1224
|
+
), gt = M(() => {
|
|
1235
1225
|
typeof window < "u" && window.print();
|
|
1236
|
-
}, []),
|
|
1237
|
-
density:
|
|
1238
|
-
bordered:
|
|
1226
|
+
}, []), bt = oa({
|
|
1227
|
+
density: ot,
|
|
1228
|
+
bordered: C,
|
|
1239
1229
|
className: m
|
|
1240
|
-
}),
|
|
1230
|
+
}), ht = I ?? /* @__PURE__ */ s(te, { children: /* @__PURE__ */ s(te.Actions, { children: /* @__PURE__ */ s(te.ExportMenu, {}) }) }), vt = S ? !1 : o;
|
|
1241
1231
|
return /* @__PURE__ */ E(
|
|
1242
1232
|
"div",
|
|
1243
1233
|
{
|
|
1244
1234
|
className: "ds:flex ds:w-full ds:flex-col ds:gap-[var(--spacing-sm)]",
|
|
1245
|
-
"aria-busy":
|
|
1235
|
+
"aria-busy": rt ? "true" : void 0,
|
|
1246
1236
|
"data-component": "data-table",
|
|
1247
1237
|
"data-component-id": d,
|
|
1248
1238
|
"data-print-mode": S ? "true" : void 0,
|
|
1249
1239
|
children: [
|
|
1250
1240
|
!S && /* @__PURE__ */ s(
|
|
1251
|
-
|
|
1241
|
+
Vt,
|
|
1252
1242
|
{
|
|
1253
|
-
getApi:
|
|
1243
|
+
getApi: mt,
|
|
1254
1244
|
selectionCount: G,
|
|
1255
|
-
onPrint:
|
|
1256
|
-
children:
|
|
1245
|
+
onPrint: gt,
|
|
1246
|
+
children: ht
|
|
1257
1247
|
}
|
|
1258
1248
|
),
|
|
1259
1249
|
/* @__PURE__ */ s(
|
|
1260
1250
|
"div",
|
|
1261
1251
|
{
|
|
1262
|
-
className: [
|
|
1252
|
+
className: [bt, S ? "" : f].join(" ").trim(),
|
|
1263
1253
|
children: /* @__PURE__ */ s(
|
|
1264
|
-
|
|
1254
|
+
Nt,
|
|
1265
1255
|
{
|
|
1266
1256
|
ref: k,
|
|
1267
1257
|
theme: "legacy",
|
|
@@ -1274,8 +1264,8 @@ function pa(t, e) {
|
|
|
1274
1264
|
// language instead of AG Grid's stock browser-skinned input.
|
|
1275
1265
|
// Number / date / select columns opt into their dedicated
|
|
1276
1266
|
// wrapper per-column.
|
|
1277
|
-
filter:
|
|
1278
|
-
floatingFilterComponent:
|
|
1267
|
+
filter: na,
|
|
1268
|
+
floatingFilterComponent: ra,
|
|
1279
1269
|
resizable: !0,
|
|
1280
1270
|
floatingFilter: !0,
|
|
1281
1271
|
// §13d — faint sort icon advertises which columns are
|
|
@@ -1283,13 +1273,13 @@ function pa(t, e) {
|
|
|
1283
1273
|
unSortIcon: !0,
|
|
1284
1274
|
...b == null ? void 0 : b.defaultColDef
|
|
1285
1275
|
},
|
|
1286
|
-
rowSelection:
|
|
1287
|
-
pagination:
|
|
1276
|
+
rowSelection: lt,
|
|
1277
|
+
pagination: vt,
|
|
1288
1278
|
paginationPageSize: l,
|
|
1289
1279
|
paginationPageSizeSelector: u,
|
|
1290
|
-
paginationNumberFormatter: (T) => new Intl.NumberFormat(
|
|
1291
|
-
animateRows: !
|
|
1292
|
-
enableRtl:
|
|
1280
|
+
paginationNumberFormatter: (T) => new Intl.NumberFormat($.language).format(T.value),
|
|
1281
|
+
animateRows: !st,
|
|
1282
|
+
enableRtl: nt,
|
|
1293
1283
|
ensureDomOrder: !0,
|
|
1294
1284
|
enableCellSpan: !0,
|
|
1295
1285
|
enableCellTextSelection: !0,
|
|
@@ -1307,19 +1297,19 @@ function pa(t, e) {
|
|
|
1307
1297
|
undoRedoCellEditingLimit: 20,
|
|
1308
1298
|
suppressCellFocus: !1,
|
|
1309
1299
|
rowBuffer: 10,
|
|
1310
|
-
localeText:
|
|
1311
|
-
noRowsOverlayComponent:
|
|
1312
|
-
loadingOverlayComponent:
|
|
1300
|
+
localeText: at,
|
|
1301
|
+
noRowsOverlayComponent: ft,
|
|
1302
|
+
loadingOverlayComponent: pt,
|
|
1313
1303
|
getRowClass: h,
|
|
1314
|
-
pinnedBottomRowData:
|
|
1304
|
+
pinnedBottomRowData: x,
|
|
1315
1305
|
domLayout: S ? "autoHeight" : void 0,
|
|
1316
|
-
onGridReady:
|
|
1306
|
+
onGridReady: it,
|
|
1317
1307
|
onColumnMoved: ie,
|
|
1318
1308
|
onColumnResized: ie,
|
|
1319
1309
|
onColumnPinned: ie,
|
|
1320
|
-
onSortChanged:
|
|
1321
|
-
onFilterChanged:
|
|
1322
|
-
onSelectionChanged:
|
|
1310
|
+
onSortChanged: dt,
|
|
1311
|
+
onFilterChanged: ut,
|
|
1312
|
+
onSelectionChanged: ct,
|
|
1323
1313
|
...b
|
|
1324
1314
|
}
|
|
1325
1315
|
)
|
|
@@ -1331,12 +1321,12 @@ function pa(t, e) {
|
|
|
1331
1321
|
}
|
|
1332
1322
|
);
|
|
1333
1323
|
}
|
|
1334
|
-
const
|
|
1335
|
-
|
|
1336
|
-
const Tn = Object.assign(
|
|
1324
|
+
const et = _(fa);
|
|
1325
|
+
et.displayName = "DataTable";
|
|
1326
|
+
const Tn = Object.assign(et, {
|
|
1337
1327
|
Toolbar: te
|
|
1338
1328
|
});
|
|
1339
|
-
function
|
|
1329
|
+
function Cn(t, e, a) {
|
|
1340
1330
|
return z(() => {
|
|
1341
1331
|
const n = {};
|
|
1342
1332
|
for (const r of e) {
|
|
@@ -1358,7 +1348,7 @@ function Q(t) {
|
|
|
1358
1348
|
const e = new Date(t);
|
|
1359
1349
|
return Number.isNaN(e.getTime()) ? void 0 : e;
|
|
1360
1350
|
}
|
|
1361
|
-
function
|
|
1351
|
+
function xn(t) {
|
|
1362
1352
|
const { model: e, onModelChange: a, getValue: n, doesRowPassOtherFilter: r } = t, o = {
|
|
1363
1353
|
from: Q(e == null ? void 0 : e.dateFrom),
|
|
1364
1354
|
to: Q(e == null ? void 0 : e.dateTo)
|
|
@@ -1382,7 +1372,7 @@ function Cn(t) {
|
|
|
1382
1372
|
dateTo: re(i.to)
|
|
1383
1373
|
});
|
|
1384
1374
|
}
|
|
1385
|
-
return /* @__PURE__ */ s("div", { className: "ds:p-[var(--spacing-sm)] ds:min-w-[280px]", children: /* @__PURE__ */ s(
|
|
1375
|
+
return /* @__PURE__ */ s("div", { className: "ds:p-[var(--spacing-sm)] ds:min-w-[280px]", children: /* @__PURE__ */ s(Ie, { value: l, onChange: d, size: "sm" }) });
|
|
1386
1376
|
}
|
|
1387
1377
|
function Nn(t) {
|
|
1388
1378
|
const { model: e, onModelChange: a } = t, [n, r] = R({
|
|
@@ -1400,7 +1390,7 @@ function Nn(t) {
|
|
|
1400
1390
|
dateTo: re(l.to)
|
|
1401
1391
|
});
|
|
1402
1392
|
}
|
|
1403
|
-
return /* @__PURE__ */ s("div", { "data-component": "date-range-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ s(
|
|
1393
|
+
return /* @__PURE__ */ s("div", { "data-component": "date-range-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ s(Ie, { value: n, onChange: o, size: "sm" }) });
|
|
1404
1394
|
}
|
|
1405
1395
|
function K(t) {
|
|
1406
1396
|
return typeof t == "number" ? `n:${t}` : `s:${t}`;
|
|
@@ -1413,8 +1403,8 @@ function Sn(t) {
|
|
|
1413
1403
|
return r.forEachNode((m) => {
|
|
1414
1404
|
const h = n(m);
|
|
1415
1405
|
if (h == null) return;
|
|
1416
|
-
const
|
|
1417
|
-
f.has(S) || f.set(S, { value:
|
|
1406
|
+
const x = typeof h == "string" || typeof h == "number" ? h : String(h), S = K(x);
|
|
1407
|
+
f.has(S) || f.set(S, { value: x, label: String(x) });
|
|
1418
1408
|
}), Array.from(f.values()).sort(
|
|
1419
1409
|
(m, h) => String(m.label).localeCompare(String(h.label))
|
|
1420
1410
|
);
|
|
@@ -1431,7 +1421,7 @@ function Sn(t) {
|
|
|
1431
1421
|
if (!m || m.length === 0) return !0;
|
|
1432
1422
|
const h = n(f.node);
|
|
1433
1423
|
if (h == null) return !1;
|
|
1434
|
-
const
|
|
1424
|
+
const x = typeof h == "string" || typeof h == "number" ? h : String(h), S = K(x);
|
|
1435
1425
|
return m.some((I) => K(I) === S);
|
|
1436
1426
|
}
|
|
1437
1427
|
});
|
|
@@ -1454,7 +1444,7 @@ function Sn(t) {
|
|
|
1454
1444
|
function y() {
|
|
1455
1445
|
v(/* @__PURE__ */ new Set()), a(null);
|
|
1456
1446
|
}
|
|
1457
|
-
const
|
|
1447
|
+
const C = u ?? d("dataTable.selectFilter.all");
|
|
1458
1448
|
return /* @__PURE__ */ E(
|
|
1459
1449
|
"div",
|
|
1460
1450
|
{
|
|
@@ -1465,7 +1455,7 @@ function Sn(t) {
|
|
|
1465
1455
|
"div",
|
|
1466
1456
|
{
|
|
1467
1457
|
role: "group",
|
|
1468
|
-
"aria-label":
|
|
1458
|
+
"aria-label": C,
|
|
1469
1459
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-xs)] ds:max-h-[240px] ds:overflow-y-auto",
|
|
1470
1460
|
children: i.length === 0 ? /* @__PURE__ */ s("p", { className: "ds:text-[length:var(--font-size-sm)] ds:text-[var(--muted-foreground)] ds:py-[var(--spacing-xs)]", children: d("dataTable.agGrid.noRowsToShow") }) : i.map((f) => {
|
|
1471
1461
|
const m = K(f.value);
|
|
@@ -1530,7 +1520,7 @@ function wn(t) {
|
|
|
1530
1520
|
}
|
|
1531
1521
|
) });
|
|
1532
1522
|
}
|
|
1533
|
-
function
|
|
1523
|
+
function H(t) {
|
|
1534
1524
|
return t.trim().toLocaleLowerCase();
|
|
1535
1525
|
}
|
|
1536
1526
|
function Fn(t) {
|
|
@@ -1548,18 +1538,18 @@ function Fn(t) {
|
|
|
1548
1538
|
if (!r || !o) return [];
|
|
1549
1539
|
const m = /* @__PURE__ */ new Map();
|
|
1550
1540
|
return r.forEachNode((h) => {
|
|
1551
|
-
const
|
|
1552
|
-
if (
|
|
1553
|
-
const S = typeof
|
|
1541
|
+
const x = n(h);
|
|
1542
|
+
if (x == null) return;
|
|
1543
|
+
const S = typeof x == "string" ? x : String(x);
|
|
1554
1544
|
m.has(S) || m.set(S, { value: S, label: S });
|
|
1555
1545
|
}), Array.from(m.values()).sort(
|
|
1556
|
-
(h,
|
|
1546
|
+
(h, x) => h.label.localeCompare(x.label)
|
|
1557
1547
|
);
|
|
1558
1548
|
}, [l, r, o, n]), p = z(() => async (m, h) => {
|
|
1559
1549
|
if (u)
|
|
1560
1550
|
return (await u(m, h)).map((D) => ({ value: D.value, label: D.label }));
|
|
1561
|
-
const
|
|
1562
|
-
return (
|
|
1551
|
+
const x = H(m);
|
|
1552
|
+
return (x ? c.filter((I) => H(I.label).includes(x)) : c).slice(0, 50).map((I) => ({ value: I.value, label: I.label }));
|
|
1563
1553
|
}, [u, c]), [v, g] = R((e == null ? void 0 : e.value) ?? "");
|
|
1564
1554
|
P(() => {
|
|
1565
1555
|
g((e == null ? void 0 : e.value) ?? "");
|
|
@@ -1567,10 +1557,10 @@ function Fn(t) {
|
|
|
1567
1557
|
doesFilterPass: (m) => {
|
|
1568
1558
|
const h = e == null ? void 0 : e.value;
|
|
1569
1559
|
if (!h) return !0;
|
|
1570
|
-
const
|
|
1571
|
-
if (
|
|
1572
|
-
const S = typeof
|
|
1573
|
-
return
|
|
1560
|
+
const x = n(m.node);
|
|
1561
|
+
if (x == null) return !1;
|
|
1562
|
+
const S = typeof x == "string" ? x : String(x);
|
|
1563
|
+
return H(S) === H(h);
|
|
1574
1564
|
}
|
|
1575
1565
|
});
|
|
1576
1566
|
function b(m) {
|
|
@@ -1579,7 +1569,7 @@ function Fn(t) {
|
|
|
1579
1569
|
function y(m) {
|
|
1580
1570
|
g(m), m === "" && e && a(null);
|
|
1581
1571
|
}
|
|
1582
|
-
function
|
|
1572
|
+
function C() {
|
|
1583
1573
|
g(""), a(null);
|
|
1584
1574
|
}
|
|
1585
1575
|
const f = d ?? i("dataTable.typeaheadFilter.placeholder");
|
|
@@ -1590,7 +1580,7 @@ function Fn(t) {
|
|
|
1590
1580
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)] ds:min-w-[240px]",
|
|
1591
1581
|
children: [
|
|
1592
1582
|
/* @__PURE__ */ s(
|
|
1593
|
-
|
|
1583
|
+
ze,
|
|
1594
1584
|
{
|
|
1595
1585
|
size: "sm",
|
|
1596
1586
|
value: v,
|
|
@@ -1601,30 +1591,30 @@ function Fn(t) {
|
|
|
1601
1591
|
"aria-label": f
|
|
1602
1592
|
}
|
|
1603
1593
|
),
|
|
1604
|
-
/* @__PURE__ */ s("div", { className: "ds:flex ds:items-center ds:justify-end ds:pt-[var(--spacing-xs)] ds:border-t ds:border-[var(--border)]", children: /* @__PURE__ */ s(L, { intent: "ghost", size: "sm", onClick:
|
|
1594
|
+
/* @__PURE__ */ s("div", { className: "ds:flex ds:items-center ds:justify-end ds:pt-[var(--spacing-xs)] ds:border-t ds:border-[var(--border)]", children: /* @__PURE__ */ s(L, { intent: "ghost", size: "sm", onClick: C, type: "button", children: i("dataTable.typeaheadFilter.clear") }) })
|
|
1605
1595
|
]
|
|
1606
1596
|
}
|
|
1607
1597
|
);
|
|
1608
1598
|
}
|
|
1609
1599
|
function Rn(t) {
|
|
1610
1600
|
var b, y;
|
|
1611
|
-
const { model: e, onModelChange: a, column: n } = t, { t: r } = F("ui"), o = ((y = (b = n == null ? void 0 : n.getColDef) == null ? void 0 : b.call(n)) == null ? void 0 : y.filterParams) ?? {}, l = o.options ?? [], u = o.loadOptions, d = o.placeholder ?? r("dataTable.typeaheadFilter.placeholder"), i = z(() => async (
|
|
1601
|
+
const { model: e, onModelChange: a, column: n } = t, { t: r } = F("ui"), o = ((y = (b = n == null ? void 0 : n.getColDef) == null ? void 0 : b.call(n)) == null ? void 0 : y.filterParams) ?? {}, l = o.options ?? [], u = o.loadOptions, d = o.placeholder ?? r("dataTable.typeaheadFilter.placeholder"), i = z(() => async (C, f) => {
|
|
1612
1602
|
if (u)
|
|
1613
|
-
return (await u(
|
|
1614
|
-
const m =
|
|
1615
|
-
return (m ? l.filter((
|
|
1603
|
+
return (await u(C, f)).map((S) => ({ value: S.value, label: S.label }));
|
|
1604
|
+
const m = H(C);
|
|
1605
|
+
return (m ? l.filter((x) => H(x.label).includes(m)) : l).slice(0, 50).map((x) => ({ value: x.value, label: x.label }));
|
|
1616
1606
|
}, [u, l]), [c, p] = R((e == null ? void 0 : e.value) ?? "");
|
|
1617
1607
|
P(() => {
|
|
1618
1608
|
p((e == null ? void 0 : e.value) ?? "");
|
|
1619
1609
|
}, [e == null ? void 0 : e.value]);
|
|
1620
|
-
function v(
|
|
1621
|
-
p(
|
|
1610
|
+
function v(C) {
|
|
1611
|
+
p(C.label), a({ type: "equals", value: C.value });
|
|
1622
1612
|
}
|
|
1623
|
-
function g(
|
|
1624
|
-
p(
|
|
1613
|
+
function g(C) {
|
|
1614
|
+
p(C), C === "" && e && a(null);
|
|
1625
1615
|
}
|
|
1626
1616
|
return /* @__PURE__ */ s("div", { "data-component": "typeahead-floating-filter", className: "ds:w-full", children: /* @__PURE__ */ s(
|
|
1627
|
-
|
|
1617
|
+
ze,
|
|
1628
1618
|
{
|
|
1629
1619
|
size: "sm",
|
|
1630
1620
|
value: c,
|
|
@@ -1636,7 +1626,7 @@ function Rn(t) {
|
|
|
1636
1626
|
}
|
|
1637
1627
|
) });
|
|
1638
1628
|
}
|
|
1639
|
-
const
|
|
1629
|
+
const pa = [
|
|
1640
1630
|
"equals",
|
|
1641
1631
|
"notEqual",
|
|
1642
1632
|
"greaterThan",
|
|
@@ -1653,7 +1643,7 @@ function ve(t) {
|
|
|
1653
1643
|
function ye(t) {
|
|
1654
1644
|
return t === "inRange";
|
|
1655
1645
|
}
|
|
1656
|
-
function
|
|
1646
|
+
function ma(t, e, a, n) {
|
|
1657
1647
|
if (t === "blank") return e === null;
|
|
1658
1648
|
if (t === "notBlank") return e !== null;
|
|
1659
1649
|
if (e === null) return !1;
|
|
@@ -1680,7 +1670,7 @@ function ga(t, e, a, n) {
|
|
|
1680
1670
|
return !0;
|
|
1681
1671
|
}
|
|
1682
1672
|
}
|
|
1683
|
-
function
|
|
1673
|
+
function ga(t) {
|
|
1684
1674
|
if (t == null || t === "") return null;
|
|
1685
1675
|
const e = typeof t == "number" ? t : Number(t);
|
|
1686
1676
|
return Number.isNaN(e) ? null : e;
|
|
@@ -1695,29 +1685,29 @@ function Dn(t) {
|
|
|
1695
1685
|
max: l,
|
|
1696
1686
|
step: u,
|
|
1697
1687
|
placeholder: d
|
|
1698
|
-
} = t, { t: i } = F("ui"), c = (e == null ? void 0 : e.type) ?? r ?? "equals", [p, v] = R(c), [g, b] = R((e == null ? void 0 : e.filter) ?? null), [y,
|
|
1688
|
+
} = t, { t: i } = F("ui"), c = (e == null ? void 0 : e.type) ?? r ?? "equals", [p, v] = R(c), [g, b] = R((e == null ? void 0 : e.filter) ?? null), [y, C] = R(
|
|
1699
1689
|
(e == null ? void 0 : e.filterTo) ?? null
|
|
1700
1690
|
);
|
|
1701
1691
|
P(() => {
|
|
1702
1692
|
if (e === null) {
|
|
1703
|
-
v(r ?? "equals"), b(null),
|
|
1693
|
+
v(r ?? "equals"), b(null), C(null);
|
|
1704
1694
|
return;
|
|
1705
1695
|
}
|
|
1706
|
-
v(e.type), b(e.filter ?? null),
|
|
1696
|
+
v(e.type), b(e.filter ?? null), C(e.filterTo ?? null);
|
|
1707
1697
|
}, [e, r]), J({
|
|
1708
1698
|
doesFilterPass: (D) => {
|
|
1709
1699
|
if (!e) return !0;
|
|
1710
|
-
const
|
|
1711
|
-
return
|
|
1700
|
+
const $ = ga(n(D.node));
|
|
1701
|
+
return ma(
|
|
1712
1702
|
e.type,
|
|
1713
|
-
|
|
1703
|
+
$,
|
|
1714
1704
|
e.filter ?? null,
|
|
1715
1705
|
e.filterTo ?? null
|
|
1716
1706
|
);
|
|
1717
1707
|
}
|
|
1718
1708
|
});
|
|
1719
1709
|
const f = z(
|
|
1720
|
-
() =>
|
|
1710
|
+
() => pa.map((D) => ({
|
|
1721
1711
|
value: D,
|
|
1722
1712
|
label: i(`dataTable.numberFilter.operators.${D}`)
|
|
1723
1713
|
})),
|
|
@@ -1742,8 +1732,8 @@ function Dn(t) {
|
|
|
1742
1732
|
}
|
|
1743
1733
|
a({ type: p, filter: g });
|
|
1744
1734
|
}
|
|
1745
|
-
function
|
|
1746
|
-
v(r ?? "equals"), b(null),
|
|
1735
|
+
function x() {
|
|
1736
|
+
v(r ?? "equals"), b(null), C(null), a(null);
|
|
1747
1737
|
}
|
|
1748
1738
|
const S = ve(p), I = ye(p);
|
|
1749
1739
|
return /* @__PURE__ */ E(
|
|
@@ -1753,7 +1743,7 @@ function Dn(t) {
|
|
|
1753
1743
|
className: "ds:flex ds:flex-col ds:gap-[var(--spacing-sm)] ds:p-[var(--spacing-sm)] ds:min-w-[240px]",
|
|
1754
1744
|
children: [
|
|
1755
1745
|
/* @__PURE__ */ s(
|
|
1756
|
-
|
|
1746
|
+
Ee,
|
|
1757
1747
|
{
|
|
1758
1748
|
size: "sm",
|
|
1759
1749
|
options: f,
|
|
@@ -1796,7 +1786,7 @@ function Dn(t) {
|
|
|
1796
1786
|
{
|
|
1797
1787
|
size: "sm",
|
|
1798
1788
|
value: y,
|
|
1799
|
-
onChange:
|
|
1789
|
+
onChange: C,
|
|
1800
1790
|
min: o,
|
|
1801
1791
|
max: l,
|
|
1802
1792
|
step: u,
|
|
@@ -1806,7 +1796,7 @@ function Dn(t) {
|
|
|
1806
1796
|
)
|
|
1807
1797
|
] }),
|
|
1808
1798
|
/* @__PURE__ */ E("div", { className: "ds:flex ds:items-center ds:justify-end ds:gap-[var(--spacing-xs)] ds:pt-[var(--spacing-xs)] ds:border-t ds:border-[var(--border)]", children: [
|
|
1809
|
-
/* @__PURE__ */ s(L, { intent: "ghost", size: "sm", onClick:
|
|
1799
|
+
/* @__PURE__ */ s(L, { intent: "ghost", size: "sm", onClick: x, type: "button", children: i("dataTable.numberFilter.clear") }),
|
|
1810
1800
|
/* @__PURE__ */ s(L, { intent: "primary", size: "sm", onClick: h, type: "button", children: i("dataTable.numberFilter.apply") })
|
|
1811
1801
|
] })
|
|
1812
1802
|
]
|
|
@@ -1849,15 +1839,15 @@ function En(t) {
|
|
|
1849
1839
|
function In(t) {
|
|
1850
1840
|
const { value: e } = t;
|
|
1851
1841
|
return e ? /* @__PURE__ */ E("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
1852
|
-
/* @__PURE__ */ s(
|
|
1842
|
+
/* @__PURE__ */ s(Ae, { name: e.name, src: e.src, size: "sm" }),
|
|
1853
1843
|
/* @__PURE__ */ s("span", { children: e.name })
|
|
1854
1844
|
] }) : null;
|
|
1855
1845
|
}
|
|
1856
|
-
const
|
|
1846
|
+
const ba = {
|
|
1857
1847
|
sm: "ds:size-8",
|
|
1858
1848
|
md: "ds:size-10",
|
|
1859
1849
|
lg: "ds:size-12"
|
|
1860
|
-
},
|
|
1850
|
+
}, ha = {
|
|
1861
1851
|
square: "ds:rounded-none",
|
|
1862
1852
|
rounded: "ds:rounded-[var(--radius-md)]",
|
|
1863
1853
|
circle: "ds:rounded-[var(--radius-full)]"
|
|
@@ -1867,12 +1857,12 @@ function ue(t, e) {
|
|
|
1867
1857
|
const a = t[e];
|
|
1868
1858
|
return typeof a == "string" ? a : void 0;
|
|
1869
1859
|
}
|
|
1870
|
-
const
|
|
1871
|
-
function
|
|
1860
|
+
const va = /^(?:https?:|data:image\/)/i;
|
|
1861
|
+
function ya(t) {
|
|
1872
1862
|
if (!t) return;
|
|
1873
1863
|
const e = t.trim();
|
|
1874
1864
|
if (e.length !== 0)
|
|
1875
|
-
return
|
|
1865
|
+
return va.test(e) ? e : void 0;
|
|
1876
1866
|
}
|
|
1877
1867
|
function zn(t) {
|
|
1878
1868
|
const {
|
|
@@ -1884,7 +1874,7 @@ function zn(t) {
|
|
|
1884
1874
|
shape: l = "rounded"
|
|
1885
1875
|
} = t;
|
|
1886
1876
|
if (!e) return null;
|
|
1887
|
-
const u = ue(e, a), d =
|
|
1877
|
+
const u = ue(e, a), d = ya(u), i = n ? ue(e, n) ?? "" : "", c = r ? ue(e, r) : void 0;
|
|
1888
1878
|
return d ? /* @__PURE__ */ s(
|
|
1889
1879
|
"img",
|
|
1890
1880
|
{
|
|
@@ -1892,11 +1882,11 @@ function zn(t) {
|
|
|
1892
1882
|
alt: i,
|
|
1893
1883
|
loading: "lazy",
|
|
1894
1884
|
decoding: "async",
|
|
1895
|
-
className: ["ds:object-cover",
|
|
1885
|
+
className: ["ds:object-cover", ba[o], ha[l]].join(
|
|
1896
1886
|
" "
|
|
1897
1887
|
)
|
|
1898
1888
|
}
|
|
1899
|
-
) : c ? /* @__PURE__ */ s(
|
|
1889
|
+
) : c ? /* @__PURE__ */ s(Ae, { name: c, size: o }) : null;
|
|
1900
1890
|
}
|
|
1901
1891
|
function An(t) {
|
|
1902
1892
|
const { value: e, maxVisible: a = 3 } = t, { t: n } = F();
|
|
@@ -1915,7 +1905,7 @@ function An(t) {
|
|
|
1915
1905
|
) })
|
|
1916
1906
|
] });
|
|
1917
1907
|
}
|
|
1918
|
-
const
|
|
1908
|
+
const Ta = {
|
|
1919
1909
|
date: { year: "numeric", month: "short", day: "numeric" },
|
|
1920
1910
|
time: { hour: "2-digit", minute: "2-digit" },
|
|
1921
1911
|
datetime: {
|
|
@@ -1934,7 +1924,7 @@ function Pn(t) {
|
|
|
1934
1924
|
value: e,
|
|
1935
1925
|
format: "absolute",
|
|
1936
1926
|
shape: "bare",
|
|
1937
|
-
absoluteFormat: n ??
|
|
1927
|
+
absoluteFormat: n ?? Ta[a === "relative" ? "date" : a]
|
|
1938
1928
|
}
|
|
1939
1929
|
);
|
|
1940
1930
|
}
|
|
@@ -1959,7 +1949,7 @@ function On(t) {
|
|
|
1959
1949
|
}).format(u), c = ["ds:tabular-nums"];
|
|
1960
1950
|
return n && u < 0 && c.push("ds:text-[color:var(--destructive)]"), r && c.push("line-through"), /* @__PURE__ */ s("span", { className: c.join(" "), children: i });
|
|
1961
1951
|
}
|
|
1962
|
-
function
|
|
1952
|
+
function xa(t) {
|
|
1963
1953
|
if (!we(t)) return t;
|
|
1964
1954
|
const e = t, a = e.props.className ?? "", n = /\bsize-|\bw-|\bh-/.test(a) ? a : `${a} size-4`.trim();
|
|
1965
1955
|
return Fe(e, { className: n, size: e.props.size ?? 16 });
|
|
@@ -1973,11 +1963,11 @@ function Mn(t) {
|
|
|
1973
1963
|
if (Te(n.hidden, e)) return null;
|
|
1974
1964
|
const o = Te(n.disabled, e), l = o && n.disabledReason ? n.disabledReason : n.label, u = n.variant === "destructive";
|
|
1975
1965
|
return /* @__PURE__ */ s(
|
|
1976
|
-
|
|
1966
|
+
V,
|
|
1977
1967
|
{
|
|
1978
1968
|
size: "sm",
|
|
1979
1969
|
intent: "ghost",
|
|
1980
|
-
icon:
|
|
1970
|
+
icon: xa(n.icon),
|
|
1981
1971
|
tooltip: l,
|
|
1982
1972
|
"aria-label": n.label,
|
|
1983
1973
|
disabled: o,
|
|
@@ -1990,16 +1980,16 @@ function Mn(t) {
|
|
|
1990
1980
|
);
|
|
1991
1981
|
}) }) : null;
|
|
1992
1982
|
}
|
|
1993
|
-
function
|
|
1983
|
+
function Ce(t, e) {
|
|
1994
1984
|
return typeof t == "function" ? t(e) : t;
|
|
1995
1985
|
}
|
|
1996
|
-
function
|
|
1986
|
+
function Na(t) {
|
|
1997
1987
|
return /^(https?:\/\/|\/|#|mailto:|tel:)/i.test(t) ? t : "#";
|
|
1998
1988
|
}
|
|
1999
1989
|
function jn(t) {
|
|
2000
1990
|
const { value: e, data: a, href: n, onClick: r, secondary: o } = t;
|
|
2001
1991
|
if (!a) return null;
|
|
2002
|
-
const l =
|
|
1992
|
+
const l = Ce(n, a), u = Ce(o, a), d = e == null || e === "" ? "" : String(e), i = [
|
|
2003
1993
|
"ds:text-[color:var(--primary)]",
|
|
2004
1994
|
"ds:hover:underline",
|
|
2005
1995
|
"ds:focus-visible:outline-[length:var(--focus-ring-width)]",
|
|
@@ -2014,7 +2004,7 @@ function jn(t) {
|
|
|
2014
2004
|
l ? /* @__PURE__ */ s(
|
|
2015
2005
|
"a",
|
|
2016
2006
|
{
|
|
2017
|
-
href:
|
|
2007
|
+
href: Na(l),
|
|
2018
2008
|
onClick: c,
|
|
2019
2009
|
className: i,
|
|
2020
2010
|
children: d
|
|
@@ -2047,14 +2037,14 @@ function Ln(t) {
|
|
|
2047
2037
|
label: i
|
|
2048
2038
|
} = t, { t: c } = F(), [p, v] = R(!1);
|
|
2049
2039
|
if (!a) return null;
|
|
2050
|
-
const g = !!e, b = g ? o ?? /* @__PURE__ */ s(Lt, { "aria-hidden": !0, className: "ds:size-4" }) : l ?? /* @__PURE__ */ s(_t, { "aria-hidden": !0, className: "ds:size-4" }), y = g ? u : d,
|
|
2040
|
+
const g = !!e, b = g ? o ?? /* @__PURE__ */ s(Lt, { "aria-hidden": !0, className: "ds:size-4" }) : l ?? /* @__PURE__ */ s(_t, { "aria-hidden": !0, className: "ds:size-4" }), y = g ? u : d, C = i ?? c(g ? "inputs.switch.on" : "inputs.switch.off");
|
|
2051
2041
|
async function f(m) {
|
|
2052
2042
|
if (m.stopPropagation(), p || !a) return;
|
|
2053
|
-
const
|
|
2054
|
-
if (
|
|
2043
|
+
const x = n(a, !g);
|
|
2044
|
+
if (x && typeof x.then == "function") {
|
|
2055
2045
|
v(!0);
|
|
2056
2046
|
try {
|
|
2057
|
-
await
|
|
2047
|
+
await x;
|
|
2058
2048
|
} catch (S) {
|
|
2059
2049
|
r == null || r(a, S);
|
|
2060
2050
|
} finally {
|
|
@@ -2069,7 +2059,7 @@ function Ln(t) {
|
|
|
2069
2059
|
role: "switch",
|
|
2070
2060
|
"aria-checked": g,
|
|
2071
2061
|
"aria-busy": p,
|
|
2072
|
-
"aria-label":
|
|
2062
|
+
"aria-label": C,
|
|
2073
2063
|
disabled: p,
|
|
2074
2064
|
onClick: f,
|
|
2075
2065
|
className: [
|
|
@@ -2088,26 +2078,26 @@ function Ln(t) {
|
|
|
2088
2078
|
}
|
|
2089
2079
|
);
|
|
2090
2080
|
}
|
|
2091
|
-
const
|
|
2081
|
+
const Sa = {
|
|
2092
2082
|
sm: "ds:size-[var(--icon-size-sm)]",
|
|
2093
2083
|
md: "ds:size-[var(--icon-size-md)]",
|
|
2094
2084
|
lg: "ds:size-[var(--icon-size-lg)]"
|
|
2095
2085
|
};
|
|
2096
|
-
function
|
|
2086
|
+
function xe(t, e) {
|
|
2097
2087
|
if (!t || typeof t != "object") return;
|
|
2098
2088
|
const a = t[e];
|
|
2099
2089
|
return typeof a == "string" ? a : void 0;
|
|
2100
2090
|
}
|
|
2101
|
-
const
|
|
2102
|
-
function
|
|
2091
|
+
const wa = /^#(?:[0-9a-f]{3,4}|[0-9a-f]{6}|[0-9a-f]{8})$/i, Fa = /^rgba?\(\s*[\d.\s,%/]+\)$/i, Ra = /^hsla?\(\s*[\d.\s,%/]+\)$/i, Da = /^var\(--[a-z0-9-]+(?:,\s*[^)]+)?\)$/i;
|
|
2092
|
+
function ka(t) {
|
|
2103
2093
|
if (!t) return;
|
|
2104
2094
|
const e = t.trim();
|
|
2105
|
-
if (
|
|
2095
|
+
if (wa.test(e) || Fa.test(e) || Ra.test(e) || Da.test(e))
|
|
2106
2096
|
return e;
|
|
2107
2097
|
}
|
|
2108
2098
|
function _n(t) {
|
|
2109
|
-
const { data: e, colorField: a, size: n = "md", labelField: r } = t, o = X(null), l = e ?
|
|
2110
|
-
return
|
|
2099
|
+
const { data: e, colorField: a, size: n = "md", labelField: r } = t, o = X(null), l = e ? xe(e, a) : void 0, u = ka(l), d = e && r ? xe(e, r) : void 0;
|
|
2100
|
+
return qt(() => {
|
|
2111
2101
|
const i = o.current;
|
|
2112
2102
|
i && (u ? i.style.setProperty("--data-table-dot-color", u) : i.style.removeProperty("--data-table-dot-color"));
|
|
2113
2103
|
}, [u]), u ? /* @__PURE__ */ E("span", { className: "ds:inline-flex ds:items-center ds:gap-[var(--spacing-sm)]", children: [
|
|
@@ -2120,23 +2110,23 @@ function _n(t) {
|
|
|
2120
2110
|
"ds:inline-block ds:shrink-0 ds:rounded-[var(--radius-full)]",
|
|
2121
2111
|
"ds:bg-[var(--data-table-dot-color)]",
|
|
2122
2112
|
"ds:border ds:border-[color:var(--border)]",
|
|
2123
|
-
|
|
2113
|
+
Sa[n]
|
|
2124
2114
|
].join(" ")
|
|
2125
2115
|
}
|
|
2126
2116
|
),
|
|
2127
2117
|
d ? /* @__PURE__ */ s("span", { children: d }) : null
|
|
2128
2118
|
] }) : null;
|
|
2129
2119
|
}
|
|
2130
|
-
function
|
|
2120
|
+
function Ea(t, e) {
|
|
2131
2121
|
if (!t || typeof t != "object") return null;
|
|
2132
2122
|
const a = t[e], n = typeof a == "number" ? a : Number(a);
|
|
2133
2123
|
return Number.isFinite(n) ? n : null;
|
|
2134
2124
|
}
|
|
2135
|
-
function
|
|
2125
|
+
function qn(t) {
|
|
2136
2126
|
const { data: e, lines: a, currency: n = "EUR", highlightNegative: r } = t, { i18n: o } = F();
|
|
2137
2127
|
if (!e) return null;
|
|
2138
2128
|
const l = o.language || "en", u = (i) => {
|
|
2139
|
-
const c =
|
|
2129
|
+
const c = Ea(e, i.valueField);
|
|
2140
2130
|
if (c === null) return null;
|
|
2141
2131
|
let p;
|
|
2142
2132
|
switch (i.format ?? "number") {
|
|
@@ -2207,7 +2197,7 @@ function $n(t) {
|
|
|
2207
2197
|
}
|
|
2208
2198
|
);
|
|
2209
2199
|
}
|
|
2210
|
-
function
|
|
2200
|
+
function $n(t) {
|
|
2211
2201
|
var i, c;
|
|
2212
2202
|
const { initialValue: e, onValueChange: a, stopEditing: n, column: r } = t, [o, l] = R(e ?? ""), u = X(null);
|
|
2213
2203
|
P(() => {
|
|
@@ -2232,19 +2222,19 @@ function qn(t) {
|
|
|
2232
2222
|
className: [
|
|
2233
2223
|
"ds:block ds:w-full ds:appearance-none",
|
|
2234
2224
|
// Input surface chrome: rounded border + bg + focus halo.
|
|
2235
|
-
|
|
2225
|
+
Pe,
|
|
2236
2226
|
// Use the `md` height (`--min-target-size`) so the input
|
|
2237
2227
|
// auto-lifts to 48px under `.theme-accessible` to satisfy
|
|
2238
2228
|
// WCAG 2.5.5 target size.
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2229
|
+
Oe.md,
|
|
2230
|
+
Me.sm,
|
|
2231
|
+
je.sm
|
|
2242
2232
|
].join(" ")
|
|
2243
2233
|
}
|
|
2244
2234
|
);
|
|
2245
2235
|
}
|
|
2246
2236
|
function Gn(t) {
|
|
2247
|
-
var y,
|
|
2237
|
+
var y, C;
|
|
2248
2238
|
const {
|
|
2249
2239
|
initialValue: e,
|
|
2250
2240
|
onValueChange: a,
|
|
@@ -2253,15 +2243,15 @@ function Gn(t) {
|
|
|
2253
2243
|
decimals: o = 2,
|
|
2254
2244
|
min: l,
|
|
2255
2245
|
max: u
|
|
2256
|
-
} = t, { i18n: d } = F(), i = X(null), c = ((
|
|
2246
|
+
} = t, { i18n: d } = F(), i = X(null), c = ((C = (y = r == null ? void 0 : r.getColDef) == null ? void 0 : y.call(r)) == null ? void 0 : C.headerName) ?? void 0, [p, v] = R(() => e == null || Number.isNaN(e) ? "" : String(e));
|
|
2257
2247
|
P(() => {
|
|
2258
2248
|
const f = i.current;
|
|
2259
2249
|
f && (f.focus(), f.select());
|
|
2260
2250
|
}, []);
|
|
2261
2251
|
function g(f) {
|
|
2262
|
-
var
|
|
2252
|
+
var $, k;
|
|
2263
2253
|
if (f.trim().length === 0) return null;
|
|
2264
|
-
const m = d.language || "en", h = new Intl.NumberFormat(m).formatToParts(12345.6),
|
|
2254
|
+
const m = d.language || "en", h = new Intl.NumberFormat(m).formatToParts(12345.6), x = (($ = h.find((G) => G.type === "group")) == null ? void 0 : $.value) ?? "", S = ((k = h.find((G) => G.type === "decimal")) == null ? void 0 : k.value) ?? ".", I = f.replace(new RegExp(`\\${x}`, "g"), "").replace(S, ".").replace(/[^\d.-]/g, ""), D = Number(I);
|
|
2265
2255
|
return Number.isFinite(D) ? D : null;
|
|
2266
2256
|
}
|
|
2267
2257
|
function b(f) {
|
|
@@ -2272,8 +2262,8 @@ function Gn(t) {
|
|
|
2272
2262
|
}
|
|
2273
2263
|
let h = m;
|
|
2274
2264
|
typeof l == "number" && (h = Math.max(l, h)), typeof u == "number" && (h = Math.min(u, h));
|
|
2275
|
-
const
|
|
2276
|
-
a(Math.round(h *
|
|
2265
|
+
const x = 10 ** o;
|
|
2266
|
+
a(Math.round(h * x) / x);
|
|
2277
2267
|
}
|
|
2278
2268
|
return /* @__PURE__ */ s(
|
|
2279
2269
|
"input",
|
|
@@ -2292,18 +2282,18 @@ function Gn(t) {
|
|
|
2292
2282
|
},
|
|
2293
2283
|
className: [
|
|
2294
2284
|
"ds:block ds:w-full ds:appearance-none ds:text-end ds:tabular-nums",
|
|
2295
|
-
|
|
2285
|
+
Pe,
|
|
2296
2286
|
// Use `md` height — see editable-text-cell-renderer for rationale.
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2287
|
+
Oe.md,
|
|
2288
|
+
Me.sm,
|
|
2289
|
+
je.sm
|
|
2300
2290
|
].join(" ")
|
|
2301
2291
|
}
|
|
2302
2292
|
);
|
|
2303
2293
|
}
|
|
2304
2294
|
export {
|
|
2305
2295
|
Mn as A,
|
|
2306
|
-
|
|
2296
|
+
qn as B,
|
|
2307
2297
|
_n as C,
|
|
2308
2298
|
Tn as D,
|
|
2309
2299
|
Gn as E,
|
|
@@ -2315,21 +2305,21 @@ export {
|
|
|
2315
2305
|
In as U,
|
|
2316
2306
|
On as a,
|
|
2317
2307
|
Pn as b,
|
|
2318
|
-
|
|
2308
|
+
xn as c,
|
|
2319
2309
|
Nn as d,
|
|
2320
|
-
|
|
2310
|
+
$n as e,
|
|
2321
2311
|
kn as f,
|
|
2322
2312
|
wn as g,
|
|
2323
2313
|
En as h,
|
|
2324
|
-
|
|
2325
|
-
|
|
2314
|
+
na as i,
|
|
2315
|
+
ra as j,
|
|
2326
2316
|
Ln as k,
|
|
2327
2317
|
te as l,
|
|
2328
|
-
|
|
2318
|
+
Vt as m,
|
|
2329
2319
|
Fn as n,
|
|
2330
2320
|
Rn as o,
|
|
2331
|
-
|
|
2321
|
+
sa as p,
|
|
2332
2322
|
Be as q,
|
|
2333
|
-
|
|
2323
|
+
Cn as u
|
|
2334
2324
|
};
|
|
2335
|
-
//# sourceMappingURL=editable-currency-cell-renderer-
|
|
2325
|
+
//# sourceMappingURL=editable-currency-cell-renderer-CLil9B29.js.map
|