@astrato-io/visualizations 0.8.0 → 0.9.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/README.md +1 -1
- package/THIRD_PARTY_NOTICES.md +307 -378
- package/chunks/{Button-BrGKp9Nm.js → Button-5CxPEACP.js} +11 -11
- package/chunks/CircularProgress-DFS-LQb7.js +765 -0
- package/chunks/FieldTypeIcon-pSVQFemC.js +22 -0
- package/chunks/LinearProgress-CjIQfkNA.js +327 -0
- package/chunks/{MenuOption-ByRqhRdX.js → MenuOption-Cb7B7x6z.js} +1384 -1002
- package/chunks/Title-CtFw1bVg.js +1804 -0
- package/chunks/ToggleButton-Br9HCPCv.js +150 -0
- package/chunks/{app-filter-bar.compiler-TwVTeoj5.js → app-filter-bar.compiler-B9775gLJ.js} +3 -3
- package/chunks/{bar.compiler-DuQg8EUb.js → bar.compiler-B7wlH_Ro.js} +4 -4
- package/chunks/{builder-DEDvNq1k.js → builder-Dxo7D7c6.js} +118 -55
- package/chunks/{coloring-CncX_JRX.js → coloring-B-Wa8D5P.js} +3 -3
- package/chunks/contains-BK-sRXcB.js +21 -0
- package/chunks/{definitions-BPJQTx16.js → definitions-DNpzD9tY.js} +26 -26
- package/chunks/{escobar-DRhRMYRE.js → escobar-C4Nm3eJ7.js} +4436 -4802
- package/chunks/{extend-preset-CUFNpmPe.js → extend-preset-BVKFtoe-.js} +46 -46
- package/chunks/{filter.compiler-w27dlv0C.js → filter.compiler-BlS3zoy_.js} +7 -7
- package/chunks/{filtering-cc7WqWpg.js → filtering-CGuLpg7u.js} +494 -270
- package/chunks/{handlers-TOT-7INo.js → handlers-CMbyj5y1.js} +1513 -1454
- package/chunks/{icon-picker-styles-CoJmwTRi.js → icon-picker-styles-DYQgVEKG.js} +8 -8
- package/chunks/{isEqual-B8loyPsC.js → isEqual-DBg_b35N.js} +1 -1
- package/chunks/isFocusVisible-B1_z03UT.js +144 -0
- package/chunks/{line.compiler-Ct1WhN2p.js → line.compiler-Bo9i9qag.js} +7 -7
- package/chunks/{logger-DpQtYQnX.js → logger-3lng-wOw.js} +7 -3
- package/chunks/{metadata-WABZrt7Y.js → metadata-Fmx1swpK.js} +1 -1
- package/chunks/{number.compiler-D8TPly-4.js → number.compiler-CdLd5aGW.js} +7 -7
- package/chunks/{operations-Dh4v1Ovt.js → operations-HSqnCRvv.js} +9156 -9112
- package/chunks/{range-Bi-7zT0k.js → range-CzO4isKK.js} +2 -2
- package/chunks/react-dom-BwZT0N3F.js +368 -0
- package/chunks/{render-wrappers-OEmtaM8g.js → render-wrappers-CAuvgMxi.js} +1 -1
- package/chunks/{requirements-Dvd8jqYF.js → requirements-CYpVh65U.js} +52 -52
- package/chunks/responsive.styles-FItb913l.js +93 -0
- package/chunks/{shared-Bn4N5QcZ.js → shared-DFoJxjVN.js} +401 -401
- package/chunks/{standalone-D__XCp-h.js → standalone-530a5lvf.js} +306 -306
- package/chunks/{standalone-CXNP6-xD.js → standalone-5DnapeHH.js} +112 -112
- package/chunks/{standalone-XTgSsTAa.js → standalone-B4jrf4KE.js} +70 -70
- package/chunks/{standalone-Bes8srx1.js → standalone-B6s_xG2u.js} +14 -14
- package/chunks/{standalone-vBnBS2YC.js → standalone-BDrQMxLi.js} +98 -98
- package/chunks/standalone-BMoJXGYe.js +2 -0
- package/chunks/{standalone-CLmGb7nn2.js → standalone-BfvGggeM2.js} +76 -76
- package/chunks/{standalone-D5Q5ngsD.js → standalone-BvWdpUL3.js} +26 -26
- package/chunks/{standalone-we5D5MIn.js → standalone-C6XDHYAM.js} +31 -31
- package/chunks/standalone-CMJJIi9v.js +2 -0
- package/chunks/{standalone-C8ZAEutO.js → standalone-CNkHsynO.js} +28 -28
- package/chunks/{standalone-BMTCb10X.js → standalone-CPUiiWNP.js} +5 -5
- package/chunks/{standalone-XuGksArp.js → standalone-CXniic5x.js} +9 -9
- package/chunks/standalone-C_Jd4gkj.js +6 -0
- package/chunks/{standalone-DW6NT205.js → standalone-CiaaibTa.js} +142 -142
- package/chunks/standalone-CoQxJ6ov.js +3638 -0
- package/chunks/{standalone-CM5XcAN5.js → standalone-Cu73fzSr.js} +7660 -7534
- package/chunks/standalone-DBeXQrwH.js +468 -0
- package/chunks/{standalone-DMcI1afI.js → standalone-DMCwtebn.js} +81 -81
- package/chunks/{standalone-BlMIwpEe.js → standalone-DWPfdP0A.js} +800 -668
- package/chunks/{standalone-DLlyRIE6.js → standalone-DpSRmAWx.js} +59 -59
- package/chunks/{standalone-BGkmozIb.js → standalone-DuwTOBXH.js} +256 -256
- package/chunks/{standalone-BDhPQtzQ.js → standalone-LFVgLhia.js} +234 -234
- package/chunks/{standalone-B55oyW6c.js → standalone-kzAhwH19.js} +149 -149
- package/chunks/{standalone-DN4S1MjT.js → standalone-mb7LwEiq.js} +885 -885
- package/chunks/{standalone-CJvIXsQE.js → standalone-r4ObFvys.js} +155 -155
- package/chunks/{table.compiler-DMeeHxb6.js → table.compiler-C1qjqXaT.js} +7 -7
- package/chunks/{typeof-CJDtcySz.js → typeof-DCq3QgvY.js} +6 -1
- package/chunks/useFieldName-mWrD_uk_.js +7 -0
- package/chunks/{utils-vdmi_2PK.js → utils-DYYD4Zzf.js} +7593 -12707
- package/chunks/{view-BuwQugKb.js → view-7fH6mGmY.js} +2034 -2070
- package/chunks/{visualization-filters-Cc4KU-l-.js → visualization-filters-mVnsnvLP.js} +3581 -3555
- package/chunks/with-html-element-B0Clt4jY.js +15901 -0
- package/definitions.js +2 -2
- package/docs/operations/astrato-app-filter-bar.md +1 -1
- package/docs/operations/bar.md +1 -1
- package/docs/operations/combo.md +1 -1
- package/docs/operations/date-picker.md +1 -1
- package/docs/operations/distribution-gauge.md +1 -1
- package/docs/operations/dot.md +1 -1
- package/docs/operations/filter.md +1 -1
- package/docs/operations/gauge.md +1 -1
- package/docs/operations/heatMap.md +1 -1
- package/docs/operations/histogram.md +1 -1
- package/docs/operations/iframe.md +1 -1
- package/docs/operations/image.md +1 -1
- package/docs/operations/index.md +2 -2
- package/docs/operations/line.md +1 -1
- package/docs/operations/number.md +1 -1
- package/docs/operations/pie.md +1 -1
- package/docs/operations/radar.md +1 -1
- package/docs/operations/sankey.md +1 -1
- package/docs/operations/scatter.md +1 -1
- package/docs/operations/shape.md +1 -1
- package/docs/operations/simpleTextObject.md +1 -1
- package/docs/operations/slider.md +1 -1
- package/docs/operations/table.md +66 -1
- package/docs/operations/tree.md +1 -1
- package/docs/operations/treemap.md +1 -1
- package/docs/operations/waterfall.md +1 -1
- package/docs/operations/word-cloud.md +1 -1
- package/getters.js +2 -2
- package/index.js +74 -68
- package/metadata.js +2 -2
- package/operations.js +5 -5
- package/package.json +67 -66
- package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +348 -348
- package/src/definitions/model/definitions/schema-registry.d.ts +101 -101
- package/src/definitions/model/definitions/schemas/bar.schema.d.ts +8 -8
- package/src/definitions/model/definitions/schemas/common.schema.d.ts +29 -29
- package/src/definitions/model/definitions/schemas/line.schema.d.ts +10 -10
- package/src/definitions/model/definitions/schemas/number.schema.d.ts +4 -4
- package/src/definitions/model/definitions/schemas/object.schema.d.ts +38 -38
- package/src/definitions/model/definitions/schemas/table.schema.d.ts +61 -61
- package/src/visualization-catalog.d.ts +26 -26
- package/chunks/DefaultPropsProvider-BsfB7QTn.js +0 -257
- package/chunks/FieldTypeIcon-Drs6hSJF.js +0 -22
- package/chunks/LinearProgress-VtfFx2vJ.js +0 -253
- package/chunks/Title-CO5dP1ma.js +0 -1691
- package/chunks/ToggleButton-KOBAimC1.js +0 -112
- package/chunks/colorManipulator-D8Pjy1pf.js +0 -45
- package/chunks/responsive.styles-DSiOGD7u.js +0 -82
- package/chunks/standalone-BXKRE_Se.js +0 -468
- package/chunks/standalone-BjZp0QMe.js +0 -2
- package/chunks/standalone-C8qAelL4.js +0 -2
- package/chunks/standalone-DT0wKji7.js +0 -6
- package/chunks/standalone-DYQIQH4c.js +0 -2095
- package/chunks/useFieldName-Cjn9KCVp.js +0 -7
- package/chunks/useSlotProps-DLbQp4lc.js +0 -166
- package/chunks/with-html-element-D0uY2zjI.js +0 -7328
- /package/chunks/{src-BOS6SqkZ.js → src-BOS6SqkZ2.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { o as e } from "./rolldown-runtime-DleVn1XH.js";
|
|
2
|
-
import { Hi as t, Kr as n, Ui as r, Us as i,
|
|
3
|
-
import {
|
|
4
|
-
import { Oi as ne } from "./handlers-
|
|
5
|
-
import { n as T } from "./isEqual-
|
|
6
|
-
import { s as re } from "./logger-
|
|
7
|
-
import { A as E, C as ie, D as ae, M as oe, N as se, S as ce, T as le, Xt as ue, a as de, b as fe, g as pe, h as me,
|
|
8
|
-
import {
|
|
9
|
-
import { t as xe } from "./ToggleButton-
|
|
10
|
-
import "./coloring-
|
|
2
|
+
import { Hi as t, Kr as n, Ui as r, Us as i, Ut as a, Wi as o, Wo as s, Yo as c, Yr as l, qr as u, ta as d, xs as f, zr as p } from "./visualization-filters-mVnsnvLP.js";
|
|
3
|
+
import { Ht as m, Jt as h, M as g, Ot as _, Yn as v, c as y, d as b, ei as x, fn as S, j as C, jr as ee, o as w, z as te } from "./utils-DYYD4Zzf.js";
|
|
4
|
+
import { Oi as ne } from "./handlers-CMbyj5y1.js";
|
|
5
|
+
import { n as T } from "./isEqual-DBg_b35N.js";
|
|
6
|
+
import { s as re } from "./logger-3lng-wOw.js";
|
|
7
|
+
import { A as E, C as ie, D as ae, M as oe, N as se, S as ce, T as le, Xt as ue, a as de, b as fe, g as pe, h as me, k as he, m as ge, qt as _e, rn as D, v as ve } from "./escobar-C4Nm3eJ7.js";
|
|
8
|
+
import { _ as ye, z as be } from "./MenuOption-Cb7B7x6z.js";
|
|
9
|
+
import { t as xe } from "./ToggleButton-Br9HCPCv.js";
|
|
10
|
+
import "./coloring-B-Wa8D5P.js";
|
|
11
11
|
import { s as Se, t as Ce } from "./src-77e3mC7i.js";
|
|
12
12
|
import { f as we, r as Te, t as Ee, u as De, y as Oe } from "./src-D9XogOrc.js";
|
|
13
|
-
import { t as ke } from "./builder-
|
|
13
|
+
import { t as ke } from "./builder-Dxo7D7c6.js";
|
|
14
14
|
import { a as Ae, i as je, r as Me, t as Ne } from "./accessors-DemrDevR.js";
|
|
15
|
-
import { r as Pe, t as Fe } from "./src-
|
|
16
|
-
var O =
|
|
15
|
+
import { r as Pe, t as Fe } from "./src-BOS6SqkZ2.js";
|
|
16
|
+
var O = ee(), Ie = ({ fillColor: e = t.grey2 }) => /* @__PURE__ */ (0, O.jsx)("svg", {
|
|
17
17
|
width: "16",
|
|
18
18
|
height: "16",
|
|
19
19
|
viewBox: "0 0 24 24",
|
|
@@ -23,16 +23,16 @@ var O = S(), Ie = ({ fillColor: e = t.grey2 }) => /* @__PURE__ */ (0, O.jsx)("sv
|
|
|
23
23
|
d: "M3 17.46V20.5C3 20.78 3.22 21 3.5 21H6.54C6.67 21 6.8 20.95 6.89 20.85L17.81 9.94L14.06 6.19L3.15 17.1C3.05 17.2 3 17.32 3 17.46ZM20.71 7.04C21.1 6.65 21.1 6.02 20.71 5.63L18.37 3.29C17.98 2.9 17.35 2.9 16.96 3.29L15.13 5.12L18.88 8.87L20.71 7.04Z",
|
|
24
24
|
fill: e
|
|
25
25
|
})
|
|
26
|
-
}), k = /* @__PURE__ */ e(
|
|
26
|
+
}), k = /* @__PURE__ */ e(x()), Le = ({ vTheme: e, vSpec: r, id: i, layout: a }) => {
|
|
27
27
|
let o = e?.fonts?.general.fontFamily ?? "Roboto", s = {
|
|
28
28
|
...n,
|
|
29
29
|
...r.treeChartSettings?.nodeLayout?.border
|
|
30
30
|
};
|
|
31
31
|
s.enabled === !1 && (s.borderWidth = 0);
|
|
32
|
-
let
|
|
32
|
+
let c = {
|
|
33
33
|
...u,
|
|
34
34
|
...r.treeChartSettings?.nodeLayout.hoverStyle
|
|
35
|
-
}, d = r.treeChartSettings?.nodeLayout?.backgroundColor ??
|
|
35
|
+
}, d = r.treeChartSettings?.nodeLayout?.backgroundColor ?? l.backgroundColor, f = new ye(d).isLight() ? t.grey1 : t.grey5;
|
|
36
36
|
return `
|
|
37
37
|
#${i} {
|
|
38
38
|
&[data-mode="view"] .tree-toolbar {
|
|
@@ -50,8 +50,8 @@ var O = S(), Ie = ({ fillColor: e = t.grey2 }) => /* @__PURE__ */ (0, O.jsx)("sv
|
|
|
50
50
|
--border-radius: ${s.borderRadius}px;
|
|
51
51
|
--border-color-selected: ${t.grey2};
|
|
52
52
|
|
|
53
|
-
--border-hover-width: ${
|
|
54
|
-
--border-hover-color: ${
|
|
53
|
+
--border-hover-width: ${c.borderWidth}px;
|
|
54
|
+
--border-hover-color: ${c.borderColor || s.borderColor};
|
|
55
55
|
|
|
56
56
|
--node-background: ${d};
|
|
57
57
|
--node-background-highlight: ${t.grey2};
|
|
@@ -359,9 +359,9 @@ var A = "__root__", nt = "__total__", rt = (e) => `__dimension__${JSON.stringify
|
|
|
359
359
|
let s = r?.find((t) => t.parentId === e.dataItem.uniqueSignature && t.role === `tree-${n.key}`);
|
|
360
360
|
if (s) {
|
|
361
361
|
let e = i(s.dataItem);
|
|
362
|
-
s.formatter && (a = s.formatter), e && (o.value = t?.[e], o.label = o.value === null ? "-" :
|
|
362
|
+
s.formatter && (a = s.formatter), e && (o.value = t?.[e], o.label = o.value === null ? "-" : m(a?.format, o.value) ?? "-");
|
|
363
363
|
}
|
|
364
|
-
} else n.source === "variable" && (o.value = n.propertyValue, o.label = o.value === null ? "-" :
|
|
364
|
+
} else n.source === "variable" && (o.value = n.propertyValue, o.label = o.value === null ? "-" : m(a?.format, o.value) ?? "-");
|
|
365
365
|
o.customIndicator = at(o.value, n);
|
|
366
366
|
}
|
|
367
367
|
a[n.key] = { ...o };
|
|
@@ -375,32 +375,32 @@ var A = "__root__", nt = "__total__", rt = (e) => `__dimension__${JSON.stringify
|
|
|
375
375
|
id: A,
|
|
376
376
|
parentId: null,
|
|
377
377
|
disabled: !1
|
|
378
|
-
}],
|
|
378
|
+
}], o = /* @__PURE__ */ new Set();
|
|
379
379
|
e.measures.forEach((e) => {
|
|
380
|
-
|
|
380
|
+
o.add(e.dataItem.uniqueSignature);
|
|
381
381
|
});
|
|
382
|
-
let
|
|
382
|
+
let s = e.measures.filter((e) => p(e));
|
|
383
383
|
e.measures.forEach((e) => {
|
|
384
|
-
let t = e.dataItem.uniqueSignature, n = e.parentId &&
|
|
384
|
+
let t = e.dataItem.uniqueSignature, n = e.parentId && o.has(e.parentId) ? e.parentId : A;
|
|
385
385
|
r.push({
|
|
386
386
|
id: t,
|
|
387
387
|
parentId: n,
|
|
388
388
|
disabled: !p(e)
|
|
389
389
|
});
|
|
390
390
|
});
|
|
391
|
-
let
|
|
392
|
-
|
|
391
|
+
let c = Ue().id((e) => e.id).parentId((e) => e.parentId)(r), l = [];
|
|
392
|
+
c.descendants().forEach((e) => {
|
|
393
393
|
if (e.data.disabled) return;
|
|
394
394
|
let t = e.ancestors().slice(1).find((e) => !e.data.disabled);
|
|
395
|
-
t ?
|
|
395
|
+
t ? l.push({
|
|
396
396
|
id: e.data.id,
|
|
397
397
|
parentId: t.data.id
|
|
398
|
-
}) :
|
|
398
|
+
}) : l.push({
|
|
399
399
|
id: e.data.id,
|
|
400
400
|
parentId: null
|
|
401
401
|
});
|
|
402
402
|
});
|
|
403
|
-
let u =
|
|
403
|
+
let u = l.flatMap((n) => {
|
|
404
404
|
if (n.id === "__root__") return [{
|
|
405
405
|
id: n.id,
|
|
406
406
|
parentId: null,
|
|
@@ -410,15 +410,15 @@ var A = "__root__", nt = "__total__", rt = (e) => `__dimension__${JSON.stringify
|
|
|
410
410
|
value: null
|
|
411
411
|
}
|
|
412
412
|
}];
|
|
413
|
-
let r =
|
|
413
|
+
let r = s.find((e) => e.dataItem.uniqueSignature === n.id);
|
|
414
414
|
if (!r) return [];
|
|
415
|
-
let
|
|
415
|
+
let o = i(r.dataItem), c = t[0].items?.[0], l = r ? ot(r, c, s, e.supportingMeasures) : {}, u = c?.[o], d = r?.slots?.find((e) => e.key === "main");
|
|
416
416
|
return [{
|
|
417
417
|
id: n.id,
|
|
418
418
|
parentId: n.parentId,
|
|
419
|
-
label:
|
|
419
|
+
label: a(r),
|
|
420
420
|
value: {
|
|
421
|
-
label:
|
|
421
|
+
label: m(r.formatter?.format, t[0].items?.[0]?.[o]) ?? "-",
|
|
422
422
|
value: u
|
|
423
423
|
},
|
|
424
424
|
indicator: d?.indicator ?? null,
|
|
@@ -427,9 +427,9 @@ var A = "__root__", nt = "__total__", rt = (e) => `__dimension__${JSON.stringify
|
|
|
427
427
|
key: [ue.sourceKey, ue.field].join("/"),
|
|
428
428
|
value: _e(r)
|
|
429
429
|
},
|
|
430
|
-
...
|
|
430
|
+
...l
|
|
431
431
|
}];
|
|
432
|
-
}), d = Ue().id((e) => e.id).parentId((e) => e.parentId)(u), f =
|
|
432
|
+
}), d = Ue().id((e) => e.id).parentId((e) => e.parentId)(u), f = s.map((e) => e.dataItem.uniqueSignature);
|
|
433
433
|
return d.sort((e, t) => f.indexOf(e.data.id) - f.indexOf(t.data.id)), d.descendants().forEach((e) => {
|
|
434
434
|
let t = !1;
|
|
435
435
|
t = e.data.id in n ? n[e.data.id] === !1 : e.data.expanded?.enabled ? e.data.expanded.value === !1 : !1, t && (e._children = e.children, e.children = void 0);
|
|
@@ -448,7 +448,7 @@ var A = "__root__", nt = "__total__", rt = (e) => `__dimension__${JSON.stringify
|
|
|
448
448
|
label: String(r[c]),
|
|
449
449
|
row: +u,
|
|
450
450
|
value: i && n && l ? {
|
|
451
|
-
label:
|
|
451
|
+
label: m(n.formatter?.format, r[l]) ?? "-",
|
|
452
452
|
value: r[l]
|
|
453
453
|
} : null,
|
|
454
454
|
indicator: f?.indicator ?? null,
|
|
@@ -462,30 +462,30 @@ var A = "__root__", nt = "__total__", rt = (e) => `__dimension__${JSON.stringify
|
|
|
462
462
|
};
|
|
463
463
|
};
|
|
464
464
|
function dt(e, t, n) {
|
|
465
|
-
let r = t[0], a = e.dimensions.filter((e) => p(e)),
|
|
466
|
-
|
|
467
|
-
let n =
|
|
465
|
+
let r = t[0], a = e.dimensions.filter((e) => p(e)), o = {}, c = a.map((t) => [i(t.dataItem), s(e.referencedData, t.dataItem.internalKey) ?? i(t.dataItem)]), l = e.measures.filter((e) => p(e))[0], u = l ? i(l.dataItem) : null, d = e.totals?.enabled ?? !1, f = l?.slots?.find((e) => e.key === "main"), h, g, _ = /* @__PURE__ */ new Set(), v = r.groupings, y = v ? Object.keys(v) : void 0;
|
|
466
|
+
v && y && y.forEach((t) => {
|
|
467
|
+
let n = v[t], i = r.items[+t], a = c.filter(([e]) => n[e] === 0);
|
|
468
468
|
if (!a.length) {
|
|
469
|
-
|
|
469
|
+
h = u ? i[u] : void 0, g = i;
|
|
470
470
|
return;
|
|
471
471
|
}
|
|
472
|
-
let [
|
|
473
|
-
a.length < c.length &&
|
|
472
|
+
let [s, f] = a.length ? a[a.length - 1] : ["", ""], p = rt(a.map((e) => it(i, e[0]))), m = a.slice(0, -1), y = m.length ? rt(m.map((e) => it(i, e[0]))) : d ? nt : A;
|
|
473
|
+
a.length < c.length && _.add(p), o[p] || (o[p] = ut(e, r, l, i, !!l, {
|
|
474
474
|
engineKey: f,
|
|
475
475
|
id: p,
|
|
476
476
|
parentId: y,
|
|
477
477
|
measureProp: u,
|
|
478
|
-
prop:
|
|
478
|
+
prop: s,
|
|
479
479
|
dataItemIdx: +t
|
|
480
480
|
}));
|
|
481
481
|
}), r.items.forEach((t, n) => {
|
|
482
|
-
|
|
482
|
+
y?.includes(String(n)) || c.forEach(([i, a], s, c) => {
|
|
483
483
|
if (t[i] === void 0) {
|
|
484
484
|
console.warn(`Dimension property ${i} is missing in data item at index ${n}, skipping this dimension for this item`);
|
|
485
485
|
return;
|
|
486
486
|
}
|
|
487
|
-
let f = rt(c.slice(0,
|
|
488
|
-
|
|
487
|
+
let f = rt(c.slice(0, s + 1).map((e) => it(t, e[0]))), p = s === 0 ? d ? nt : A : rt(c.slice(0, s).map((e) => it(t, e[0])));
|
|
488
|
+
o[f] || (o[f] = ut(e, r, l, t, s === c.length - 1 && !!l, {
|
|
489
489
|
engineKey: a,
|
|
490
490
|
dataItemIdx: n,
|
|
491
491
|
id: f,
|
|
@@ -495,19 +495,19 @@ function dt(e, t, n) {
|
|
|
495
495
|
}));
|
|
496
496
|
});
|
|
497
497
|
});
|
|
498
|
-
let
|
|
498
|
+
let b = h ?? Object.values(o).reduce((e, t) => e + (_.has(t.id) ? 0 : t.value?.value ?? 0), 0), x = g ?? r.totals, S = Object.values(o);
|
|
499
499
|
d && S.unshift({
|
|
500
500
|
id: nt,
|
|
501
501
|
parentId: A,
|
|
502
502
|
label: "Total",
|
|
503
503
|
row: -1,
|
|
504
504
|
value: l ? {
|
|
505
|
-
label:
|
|
506
|
-
value:
|
|
505
|
+
label: m(l.formatter?.format, b) ?? "-",
|
|
506
|
+
value: b
|
|
507
507
|
} : null,
|
|
508
508
|
indicator: f?.indicator ?? null,
|
|
509
|
-
customIndicator: at(
|
|
510
|
-
...l ? ot(l,
|
|
509
|
+
customIndicator: at(b, f),
|
|
510
|
+
...l ? ot(l, x, [l], e.supportingMeasures) : {}
|
|
511
511
|
}), S.unshift({
|
|
512
512
|
id: A,
|
|
513
513
|
parentId: null,
|
|
@@ -1117,7 +1117,7 @@ function F(e, t) {
|
|
|
1117
1117
|
function ur(e) {
|
|
1118
1118
|
return typeof e == "string" ? new M([document.querySelectorAll(e)], [document.documentElement]) : new M([xt(e)], sr);
|
|
1119
1119
|
}
|
|
1120
|
-
var dr = /* @__PURE__ */ e(
|
|
1120
|
+
var dr = /* @__PURE__ */ e(be()), I = r[d.KPIChange], L = I.slots, fr = "#577f56", pr = "#9e4d53", R = (e) => typeof e == "number" && Number.isFinite(e), mr = (e, t) => {
|
|
1121
1121
|
let n = new dr.default(e);
|
|
1122
1122
|
return (new dr.default(t).isLight() ? n.lighten(.5).alpha(.5) : n.darken(.5).alpha(.5)).rgb().string();
|
|
1123
1123
|
}, hr = (e, t) => {
|
|
@@ -1128,9 +1128,9 @@ var dr = /* @__PURE__ */ e(ye()), I = r[d.KPIChange], L = I.slots, fr = "#577f56
|
|
|
1128
1128
|
else if (e.indicator === "custom") {
|
|
1129
1129
|
r = "";
|
|
1130
1130
|
let n = e.customIndicator?.color ? mr(e.customIndicator.color, t) : "inherit";
|
|
1131
|
-
i = `color: ${e.customIndicator?.color ?? "inherit"}; background-color: ${n};`, e.customIndicator?.icon && (a = `<span class="footer-icon">${
|
|
1131
|
+
i = `color: ${e.customIndicator?.color ?? "inherit"}; background-color: ${n};`, e.customIndicator?.icon && (a = `<span class="footer-icon">${S.sanitize(e.customIndicator.icon)}</span>`);
|
|
1132
1132
|
}
|
|
1133
|
-
return `<div class="footer ${r}" style="${i}"><span class="footer-label">${
|
|
1133
|
+
return `<div class="footer ${r}" style="${i}"><span class="footer-label">${S.sanitize(e.label ?? "-")}</span>${a}</div>`;
|
|
1134
1134
|
}, gr = (e, t) => {
|
|
1135
1135
|
if (!e.enabled) return "";
|
|
1136
1136
|
let n = e.indicator, r = R(e.value) ? e.value : null, i = r === null ? "neutral" : r < 0 ? "negative" : "positive", a = "", o = r === null ? "" : r < 0 ? "arrow_downward" : "arrow_upward";
|
|
@@ -1141,22 +1141,22 @@ var dr = /* @__PURE__ */ e(ye()), I = r[d.KPIChange], L = I.slots, fr = "#577f56
|
|
|
1141
1141
|
let n = e.customIndicator?.color ? mr(e.customIndicator.color, t) : "inherit";
|
|
1142
1142
|
a = `color: ${e.customIndicator?.color ?? "inherit"}; background-color: ${n};`, o = e.customIndicator?.icon;
|
|
1143
1143
|
}
|
|
1144
|
-
let s = o ? `<span class="pill-icon">${
|
|
1145
|
-
return `<div class="pill ${i}" style="${a}"><span class="pill-label">${
|
|
1144
|
+
let s = o ? `<span class="pill-icon">${S.sanitize(o)}</span>` : "";
|
|
1145
|
+
return `<div class="pill ${i}" style="${a}"><span class="pill-label">${S.sanitize(e.label ?? "-")}</span>${s}</div>`;
|
|
1146
1146
|
}, _r = (e, t) => {
|
|
1147
1147
|
let n = e.value ?? {
|
|
1148
1148
|
label: "-",
|
|
1149
1149
|
value: null,
|
|
1150
1150
|
enabled: !1
|
|
1151
1151
|
}, r = "", i = "";
|
|
1152
|
-
return e.indicator === "custom" && (e.customIndicator?.color && (r = `color: ${e.customIndicator.color};`), e.customIndicator?.icon && (i = `<span class="value-icon">${
|
|
1152
|
+
return e.indicator === "custom" && (e.customIndicator?.color && (r = `color: ${e.customIndicator.color};`), e.customIndicator?.icon && (i = `<span class="value-icon">${S.sanitize(e.customIndicator.icon)}</span>`)), `<div class="value ${t ? "value-space" : ""}" style="${r}"><span class="value-label">${S.sanitize(n.label)}</span>${i}</div>`;
|
|
1153
1153
|
}, vr = (e, t) => {
|
|
1154
|
-
let n = e.data.diff ??
|
|
1154
|
+
let n = e.data.diff ?? o.diff.defaults, r = e.data.change ?? o.change.defaults, i = t.config.nodeDefaultBackground ?? "#ffffff", a = _r(e.data, !r.enabled), s = hr(n, i), c = gr(r, i), l = [];
|
|
1155
1155
|
return e.data._upToTheRootHighlighted && l.push("node-highlight"), `
|
|
1156
1156
|
<div class="node-content layout-a ${l.join(" ")}">
|
|
1157
|
-
<div class="label">${
|
|
1157
|
+
<div class="label">${S.sanitize(e.data.label)}</div>
|
|
1158
1158
|
<div class="flex-row">
|
|
1159
|
-
${
|
|
1159
|
+
${a}
|
|
1160
1160
|
${c}
|
|
1161
1161
|
</div>
|
|
1162
1162
|
${s}
|
|
@@ -1178,8 +1178,8 @@ function br(e) {
|
|
|
1178
1178
|
P(this).style("stroke-width", null).style("stroke", null);
|
|
1179
1179
|
return;
|
|
1180
1180
|
}
|
|
1181
|
-
let t = (R(e.data.diff?.value) ? e.data.diff.value : null) ?? (R(
|
|
1182
|
-
c === "inverse" ? s =
|
|
1181
|
+
let t = (R(e.data.diff?.value) ? e.data.diff.value : null) ?? (R(o.diff.defaults.value) ? o.diff.defaults.value : 0), n = e.parent?.children?.flatMap((t) => t.id === e.id || !t.data.diff?.enabled || !R(t.data.diff?.value) ? [] : [Math.abs(t.data.diff.value)]) ?? [], r = n.length ? Math.max(...n) : 0, i = Math.abs(t) > r, a = t < 0, s = a ? pr : fr, c = e.data.diff?.indicator;
|
|
1182
|
+
c === "inverse" ? s = a ? fr : pr : c === "none" ? s = "var(--link-color)" : c === "custom" && (s = e.data.diff?.customIndicator?.color ?? "var(--link-color)");
|
|
1183
1183
|
let l = i ? 2 : 1;
|
|
1184
1184
|
P(this).style("stroke", s).style("stroke-width", l);
|
|
1185
1185
|
}
|
|
@@ -1370,16 +1370,16 @@ var xr = (e, t) => {
|
|
|
1370
1370
|
},
|
|
1371
1371
|
height: (e, t) => {
|
|
1372
1372
|
let n = 20;
|
|
1373
|
-
return n += t?.label ?? 0, n += t?.value ?? 0, (e.data.diff ??
|
|
1373
|
+
return n += t?.label ?? 0, n += t?.value ?? 0, (e.data.diff ?? o.diff.defaults)?.enabled && (n += t?.diff ?? 0), n;
|
|
1374
1374
|
}
|
|
1375
1375
|
}, z = r[d.Basic], Cr = (e) => {
|
|
1376
1376
|
if (e.id === "__root__") return null;
|
|
1377
1377
|
let t = "", n = "";
|
|
1378
|
-
e.data.indicator === "custom" && (e.data.customIndicator?.color && (t = `color: ${e.data.customIndicator.color};`), e.data.customIndicator?.icon && (n = `<span class="value-icon">${
|
|
1379
|
-
let r = e.data.value ? `<div class="value" style="${t}"><span class="value-label">${
|
|
1378
|
+
e.data.indicator === "custom" && (e.data.customIndicator?.color && (t = `color: ${e.data.customIndicator.color};`), e.data.customIndicator?.icon && (n = `<span class="value-icon">${S.sanitize(e.data.customIndicator.icon)}</span>`));
|
|
1379
|
+
let r = e.data.value ? `<div class="value" style="${t}"><span class="value-label">${S.sanitize(e.data.value.label)}</span>${n}</div>` : "", i = [];
|
|
1380
1380
|
return e.data._upToTheRootHighlighted && i.push("node-highlight"), `
|
|
1381
1381
|
<div class="node-content layout-b ${i.join(" ")}">
|
|
1382
|
-
<div class="label">${
|
|
1382
|
+
<div class="label">${S.sanitize(e.data.label)}</div>
|
|
1383
1383
|
${r}
|
|
1384
1384
|
</div>`;
|
|
1385
1385
|
}, wr = (e, t) => {
|
|
@@ -2780,7 +2780,7 @@ var Ma = () => {
|
|
|
2780
2780
|
linkUpdate: i.linkUpdate,
|
|
2781
2781
|
getButtonContent: i.buttonContent,
|
|
2782
2782
|
...Er[a.layoutPreset]
|
|
2783
|
-
}, s = o.sizes ? o.sizes(e) : {},
|
|
2783
|
+
}, s = o.sizes ? o.sizes(e) : {}, c = {
|
|
2784
2784
|
...o.labelStyle,
|
|
2785
2785
|
...e.treeChartSettings?.nodeLayout?.labelStyle,
|
|
2786
2786
|
fontSize: e.treeChartSettings?.nodeLayout?.labelStyle?.fontSize ?? o.labelStyle?.fontSize
|
|
@@ -2793,12 +2793,12 @@ var Ma = () => {
|
|
|
2793
2793
|
...u,
|
|
2794
2794
|
...e.treeChartSettings?.nodeLayout.hoverStyle
|
|
2795
2795
|
}, p = f.enabled ? f.borderWidth : 0;
|
|
2796
|
-
r.nodeWidth((e) => (a.nodeWidth ? a.nodeWidth : typeof o.width == "function" ? o.width(e) : o.width) + (d.borderWidth ?? 0) * 2).nodeHeight((e) => (e.id === "__root__" ? 0 : typeof o.height == "function" ? o.height(e, s) : o.height) + (d.borderWidth ?? 0) * 2).nodeDefaultBackground(e.treeChartSettings?.nodeLayout?.backgroundColor ??
|
|
2796
|
+
r.nodeWidth((e) => (a.nodeWidth ? a.nodeWidth : typeof o.width == "function" ? o.width(e) : o.width) + (d.borderWidth ?? 0) * 2).nodeHeight((e) => (e.id === "__root__" ? 0 : typeof o.height == "function" ? o.height(e, s) : o.height) + (d.borderWidth ?? 0) * 2).nodeDefaultBackground(e.treeChartSettings?.nodeLayout?.backgroundColor ?? l.backgroundColor).compact(a.compact).layout(a.directionOrigin).padding({
|
|
2797
2797
|
top: p,
|
|
2798
2798
|
right: p,
|
|
2799
2799
|
bottom: p,
|
|
2800
2800
|
left: p
|
|
2801
|
-
}).gridEnabled(a.gridLayoutEnabled).gridRows(a.gridLayoutRows).forceAutoFit(a.forceAutoFit).minFitScale(a.keepFitReadable ? Na(D(
|
|
2801
|
+
}).gridEnabled(a.gridLayoutEnabled).gridRows(a.gridLayoutRows).forceAutoFit(a.forceAutoFit).minFitScale(a.keepFitReadable ? Na(D(c.fontSize)) : 0).setActiveNodeCentered(!a.forceAutoFit).duration(a.animate === !1 ? 0 : 400).root(t.root).linkUpdate(o.linkUpdate).buttonContent(o.getButtonContent).container(t.container).nodeContent((e) => o.getNodeContent(e, { config: r.getConfig() })).render({
|
|
2802
2802
|
zoomToFit: t.zoomToFit ?? !1,
|
|
2803
2803
|
transform: t.transform
|
|
2804
2804
|
});
|
|
@@ -3780,7 +3780,7 @@ var Q = {
|
|
|
3780
3780
|
let r = String(n);
|
|
3781
3781
|
return Array.from(e.querySelectorAll(".node[data-brush][data-value]")).find((e) => e.getAttribute("data-brush") === t && e.getAttribute("data-value") === r);
|
|
3782
3782
|
}, Co = (e, t, n) => {
|
|
3783
|
-
let r =
|
|
3783
|
+
let r = h(), i = (0, k.useCallback)((t) => {
|
|
3784
3784
|
t.data.brush && r.daedalus.emitEvent(se.Brush, {
|
|
3785
3785
|
data: {
|
|
3786
3786
|
action: $.BrushEventAction.Hover,
|
|
@@ -3802,7 +3802,7 @@ var Q = {
|
|
|
3802
3802
|
},
|
|
3803
3803
|
emitter: e
|
|
3804
3804
|
});
|
|
3805
|
-
}, [r, e]), o = (0, k.useRef)();
|
|
3805
|
+
}, [r, e]), o = (0, k.useRef)(void 0);
|
|
3806
3806
|
return o.current = (r) => {
|
|
3807
3807
|
if (r.emitter !== e && !(!t || !n.interactive)) switch (r.data.action) {
|
|
3808
3808
|
case $.BrushEventAction.Hover:
|
|
@@ -3823,7 +3823,7 @@ var Q = {
|
|
|
3823
3823
|
t.querySelectorAll(".node.hovered").forEach((e) => e.classList.remove("hovered"));
|
|
3824
3824
|
break;
|
|
3825
3825
|
}
|
|
3826
|
-
},
|
|
3826
|
+
}, C({
|
|
3827
3827
|
action: se.Brush,
|
|
3828
3828
|
handler: ({ payload: e }) => e && o.current?.(e)
|
|
3829
3829
|
}, []), {
|
|
@@ -3831,7 +3831,7 @@ var Q = {
|
|
|
3831
3831
|
onTreeNodeLeave: a
|
|
3832
3832
|
};
|
|
3833
3833
|
}, wo = (e) => {
|
|
3834
|
-
let { variables: t, variablesFetched: n, updateVariable: r } =
|
|
3834
|
+
let { variables: t, variablesFetched: n, updateVariable: r } = w();
|
|
3835
3835
|
return {
|
|
3836
3836
|
variables: (0, k.useMemo)(() => {
|
|
3837
3837
|
let n = {};
|
|
@@ -3857,7 +3857,7 @@ var Q = {
|
|
|
3857
3857
|
variablesFetched: n
|
|
3858
3858
|
};
|
|
3859
3859
|
}, To = (e, t) => {
|
|
3860
|
-
let n = e.dimensions.filter(p), r = n.map((e) => i(e.dataItem)), a = n.length, o = (0, k.useMemo)(() =>
|
|
3860
|
+
let n = e.dimensions.filter(p), r = n.map((e) => i(e.dataItem)), a = n.length, o = (0, k.useMemo)(() => y(n.map((e) => ({
|
|
3861
3861
|
dataItem: e.dataItem,
|
|
3862
3862
|
dateLevel: void 0,
|
|
3863
3863
|
datePart: void 0,
|
|
@@ -3885,17 +3885,17 @@ var Q = {
|
|
|
3885
3885
|
}
|
|
3886
3886
|
});
|
|
3887
3887
|
}, Do = 80, Oo = (e, t, n, r) => {
|
|
3888
|
-
let a = (0, k.useRef)(e.treeChartSettings?.nodeExpandState ?? {}), o = r.forceAutoFit, s =
|
|
3888
|
+
let a = (0, k.useRef)(e.treeChartSettings?.nodeExpandState ?? {}), o = r.forceAutoFit, s = b(), c = wo(s), l = g(), u = te(), d = h(), f = e.dimensions.filter(p), m = f.length, [_] = (0, k.useState)(e.treeChartSettings?.transform ?? null), [v, y] = (0, k.useState)(_ ?? {
|
|
3889
3889
|
k: 1,
|
|
3890
3890
|
x: 0,
|
|
3891
3891
|
y: 0
|
|
3892
|
-
}),
|
|
3892
|
+
}), x = (0, k.useRef)(e.treeChartSettings?.transform), { onTreeNodeHover: S, onTreeNodeLeave: C } = Co(n, t.current, r), { onTreeNodeClick: ee } = To(e, t.current), w = (0, k.useRef)(new xo()), T = (0, k.useRef)(null), re = !e.treeChartSettings.gridLayout?.enabled && e.treeChartSettings?.nodeLayout?.hoverStyle?.enabled, E = (0, k.useCallback)(() => {
|
|
3893
3893
|
T.current &&= (clearTimeout(T.current), null);
|
|
3894
3894
|
}, []);
|
|
3895
3895
|
return w.current.onNodeHover((e) => {
|
|
3896
|
-
r.interactive &&
|
|
3896
|
+
r.interactive && S(e), re && (E(), w.current.highlight(e));
|
|
3897
3897
|
}).onNodeLeave((e) => {
|
|
3898
|
-
r.interactive &&
|
|
3898
|
+
r.interactive && C(e), re && (E(), T.current = setTimeout(() => {
|
|
3899
3899
|
w.current.highlight(null), T.current = null;
|
|
3900
3900
|
}, Do));
|
|
3901
3901
|
}).onNodeClick((e) => {
|
|
@@ -3907,7 +3907,7 @@ var Q = {
|
|
|
3907
3907
|
nodeType: t,
|
|
3908
3908
|
...i == null ? {} : { nodeValue: i },
|
|
3909
3909
|
...n == null ? {} : { measureValue: n }
|
|
3910
|
-
}, { vBackendAPI: d }),
|
|
3910
|
+
}, { vBackendAPI: d }), ee(e);
|
|
3911
3911
|
}).onNodeParentChange((t) => {
|
|
3912
3912
|
if (m > 0) return;
|
|
3913
3913
|
let n = e.measures.find((e) => e.dataItem.uniqueSignature === t.data.id);
|
|
@@ -3918,7 +3918,7 @@ var Q = {
|
|
|
3918
3918
|
e.id && c.updateVariable(e.id, r, io.VariableType.boolean);
|
|
3919
3919
|
});
|
|
3920
3920
|
}).onUserZoom(() => {
|
|
3921
|
-
|
|
3921
|
+
x.current = null;
|
|
3922
3922
|
}).onZoomEnd((e) => {
|
|
3923
3923
|
if (o) return;
|
|
3924
3924
|
let t = {
|
|
@@ -3926,7 +3926,7 @@ var Q = {
|
|
|
3926
3926
|
x: e.transform.x,
|
|
3927
3927
|
y: e.transform.y
|
|
3928
3928
|
};
|
|
3929
|
-
t.k ===
|
|
3929
|
+
t.k === v.k && t.x === v.x && t.y === v.y || (y(t), Eo(l, {
|
|
3930
3930
|
nodeExpandState: a.current,
|
|
3931
3931
|
transform: t
|
|
3932
3932
|
}));
|
|
@@ -3935,7 +3935,7 @@ var Q = {
|
|
|
3935
3935
|
}, [e.treeChartSettings?.nodeExpandState]), (0, k.useEffect)(() => {
|
|
3936
3936
|
s.treeChartSettings?.nodeExpandState || (a.current = {});
|
|
3937
3937
|
}, [s.treeChartSettings?.initialExpandedLevels]), (0, k.useEffect)(() => {
|
|
3938
|
-
|
|
3938
|
+
x.current = e.treeChartSettings?.transform, w.current && w.current.unsetUserTransform(), !(!e.treeChartSettings?.transform || !w.current) && w.current.applyTransform(e.treeChartSettings.transform);
|
|
3939
3939
|
}, [e.treeChartSettings?.transform]), {
|
|
3940
3940
|
chart: w.current,
|
|
3941
3941
|
expandedState: a
|
|
@@ -3944,31 +3944,31 @@ var Q = {
|
|
|
3944
3944
|
width: 0,
|
|
3945
3945
|
height: 0
|
|
3946
3946
|
}, vizProperties: i }) => {
|
|
3947
|
-
let a = i?.isEditMode ?? !1, o = i?.isPrintMode ?? !1,
|
|
3947
|
+
let a = i?.isEditMode ?? !1, o = i?.isPrintMode ?? !1, s = e?.treeChartSettings?.gridLayout?.enabled, l = e.dimensions.filter(p).length, u = e.measures.filter(p), d = (0, k.useRef)("tree-" + c(10)), f = (0, k.useRef)(null), m = e.treeChartSettings?.forceAutoFit === !0, { layout: h, treeSettings: g } = Ra(e, i), { chart: _, expandedState: y } = Oo(e, f, d.current, g), b = Ia(e, f, _), x = ft({
|
|
3948
3948
|
vSpec: e,
|
|
3949
3949
|
data: n,
|
|
3950
|
-
nodeExpandState:
|
|
3951
|
-
}), [
|
|
3950
|
+
nodeExpandState: y
|
|
3951
|
+
}), [S, C] = (0, k.useState)(!1);
|
|
3952
3952
|
(0, k.useLayoutEffect)(() => (f.current && _.container(f.current).init(), () => {
|
|
3953
3953
|
_.destroy();
|
|
3954
3954
|
}), [_]), (0, k.useEffect)(() => {
|
|
3955
|
-
|
|
3956
|
-
}, [
|
|
3957
|
-
!f.current || !_ || !r.width || !r.height ||
|
|
3955
|
+
S ? _.enableDrag() : _.disableDrag();
|
|
3956
|
+
}, [S]), (0, k.useEffect)(() => {
|
|
3957
|
+
!f.current || !_ || !r.width || !r.height || b(x, g);
|
|
3958
3958
|
}, [
|
|
3959
3959
|
r.width,
|
|
3960
3960
|
r.height,
|
|
3961
|
-
|
|
3961
|
+
b
|
|
3962
3962
|
]);
|
|
3963
|
-
let
|
|
3963
|
+
let ee = a && l === 0 && !s;
|
|
3964
3964
|
(0, k.useEffect)(() => {
|
|
3965
|
-
f.current &&
|
|
3965
|
+
f.current && b(x, g);
|
|
3966
3966
|
}, [
|
|
3967
|
-
|
|
3967
|
+
x,
|
|
3968
3968
|
JSON.stringify(g),
|
|
3969
|
-
|
|
3969
|
+
b
|
|
3970
3970
|
]);
|
|
3971
|
-
let
|
|
3971
|
+
let w = Le({
|
|
3972
3972
|
vTheme: t,
|
|
3973
3973
|
vSpec: e,
|
|
3974
3974
|
id: d.current,
|
|
@@ -3992,21 +3992,21 @@ var Q = {
|
|
|
3992
3992
|
top: 0,
|
|
3993
3993
|
gap: 10
|
|
3994
3994
|
},
|
|
3995
|
-
children: [
|
|
3995
|
+
children: [ee && /* @__PURE__ */ (0, O.jsx)(xe, {
|
|
3996
3996
|
size: "small",
|
|
3997
3997
|
value: "organize",
|
|
3998
|
-
selected:
|
|
3999
|
-
onChange: () =>
|
|
3998
|
+
selected: S,
|
|
3999
|
+
onChange: () => C(!S),
|
|
4000
4000
|
disabled: u.length < 2,
|
|
4001
4001
|
children: /* @__PURE__ */ (0, O.jsx)(Ie, {})
|
|
4002
4002
|
}), !m && /* @__PURE__ */ (0, O.jsx)(xe, {
|
|
4003
4003
|
value: "",
|
|
4004
4004
|
size: "small",
|
|
4005
4005
|
onClick: () => _?.fit(),
|
|
4006
|
-
children: /* @__PURE__ */ (0, O.jsx)(
|
|
4006
|
+
children: /* @__PURE__ */ (0, O.jsx)(v, {})
|
|
4007
4007
|
})]
|
|
4008
4008
|
}),
|
|
4009
|
-
/* @__PURE__ */ (0, O.jsx)("style", { children:
|
|
4009
|
+
/* @__PURE__ */ (0, O.jsx)("style", { children: w }),
|
|
4010
4010
|
/* @__PURE__ */ (0, O.jsx)("div", {
|
|
4011
4011
|
style: {
|
|
4012
4012
|
width: "100%",
|