@astrato-io/visualizations 0.10.1 → 0.12.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/CHANGELOG.md +30 -1
- package/README.md +148 -5
- package/THIRD_PARTY_NOTICES.md +494 -0
- package/VISUALIZATION_DEFINITIONS.md +9 -146
- package/chunks/{Button-Dn3rJrYf.js → Button-CQdoKSXX.js} +3 -3
- package/chunks/{CircularProgress-BFeu06Yb.js → CircularProgress-DpT1lwWw.js} +20 -20
- package/chunks/FieldTypeIcon-Cg4F9Q5D.js +22 -0
- package/chunks/{LinearProgress-ClO6GUjN.js → LinearProgress-B7S0Q26A.js} +14 -14
- package/chunks/{MenuOption-Czc34u4q.js → MenuOption-DpKFJxmo.js} +167 -167
- package/chunks/{Title-BgYnaVTR.js → Title-m5damhc0.js} +37 -37
- package/chunks/{_createAggregator-BMu9uRax.js → _createAggregator-BA8_iU9q.js} +17 -17
- package/chunks/{app-filter-bar.compiler-CVir0wkl.js → app-filter-bar.compiler--T4Qz3Wu.js} +8 -8
- package/chunks/{bar-layout-C_UgRlVl.js → bar-layout-OFhxn2Go.js} +2 -2
- package/chunks/{bar.compiler-DYuFdi9J.js → bar.compiler-hWZBYYvV.js} +71 -69
- package/chunks/{builder-C-TKA-My.js → builder-7w_bgV_h.js} +106 -55
- package/chunks/{coloring-BtnPiQ_o.js → coloring-Cd6p0GQJ.js} +93 -88
- package/chunks/{createSimplePaletteValueFilter--zrZxRV9.js → createSimplePaletteValueFilter-CiJT8s1s.js} +169 -169
- package/chunks/defaults-CMFqXvaJ.js +3 -0
- package/chunks/{definitions-CT304NDn.js → definitions-DTauTjIX.js} +399 -398
- package/chunks/{escobar-CvEV2ES1.js → escobar-CMvphKSK.js} +4949 -4879
- package/chunks/{extend-preset-D9-JP92b.js → extend-preset-BpXttHFk.js} +449 -450
- package/chunks/{filter.compiler-CXeZznks.js → filter.compiler-DOGFweJz.js} +10 -10
- package/chunks/{filtering-8_bFv-jb.js → filtering-NOnDcGbo.js} +241 -241
- package/chunks/handlers-CyYFSfhM.js +15393 -0
- package/chunks/{icon-picker-styles-BXiJ1SZS.js → icon-picker-styles-DuSERhBU.js} +8 -8
- package/chunks/{isEqual-D8Ay63xR.js → isEqual-4f8yUUtC.js} +1 -1
- package/chunks/{isFocusVisible-Bu8gGZu5.js → isFocusVisible-Czm70MGc.js} +9 -9
- package/chunks/line.compiler-B-4H55_T.js +203 -0
- package/chunks/linear-Bq_r9l5S.js +264 -0
- package/chunks/{logger-DdZpR7xZ.js → logger-Cioob-QV.js} +74 -73
- package/chunks/{lookup-BWllin0q.js → lookup-B3tWH2hX.js} +1 -0
- package/chunks/{map.compiler-Q_Y1Pvat.js → map.compiler-Cv5V6EhF.js} +40 -40
- package/chunks/measure-axis-label-format-COy8U_dd.js +27 -0
- package/chunks/measure-format-default-B_kuGSzi.js +26 -0
- package/chunks/{metadata-BQm_TXI1.js → metadata-dGSe5UWy.js} +5 -5
- package/chunks/number.compiler-D7nMcEMv.js +57 -0
- package/chunks/{operations-DKQWuLL7.js → operations-CgfehCad.js} +11397 -11114
- package/chunks/{range-BdhzvYQ_.js → range-Dmwp9kVB.js} +2 -2
- package/chunks/{react-dom-BGP4tbXV.js → react-dom-CfuL-m78.js} +82 -82
- package/chunks/{render-wrappers-BZpyDnJy.js → render-wrappers--g-zPFBW.js} +1 -1
- package/chunks/{requirements-e8Fe96ag.js → requirements-DHayNJ2C.js} +245 -221
- package/chunks/{shared-C_2F90xq.js → shared-DoEN9nNM.js} +505 -494
- package/chunks/standalone-B3hRGgYi.js +773 -0
- package/chunks/{standalone-BkbiH-o8.js → standalone-BPNXgFft.js} +498 -759
- package/chunks/standalone-BPTT8XEu.js +424 -0
- package/chunks/standalone-BgAeHROc.js +2 -0
- package/chunks/{standalone-BE_ONgiG.js → standalone-BkQxag7M.js} +102 -102
- package/chunks/{standalone-Cc98Pdr6.js → standalone-Bxa3x6dg.js} +872 -872
- package/chunks/standalone-C0If-V6O.js +773 -0
- package/chunks/standalone-C1TOyflX.js +287 -0
- package/chunks/{standalone-CY_kjarf.js → standalone-CE5PwJN0.js} +18 -18
- package/chunks/{standalone-B8ZSqauS.js → standalone-CG7IFN6n.js} +120 -120
- package/chunks/{standalone-wOWRCpdn.js → standalone-CKlgGu80.js} +49 -49
- package/chunks/standalone-CNf-oA2U.js +355 -0
- package/chunks/{standalone-BDrXVxlP.js → standalone-CXPdWFlw.js} +14 -14
- package/chunks/{standalone-z0o52o5t.js → standalone-Cf0_5tbu.js} +5567 -5568
- package/chunks/{standalone-Cl0TSfqC.js → standalone-DMi4-Vp3.js} +122 -122
- package/chunks/{standalone-DNh9NcMa.js → standalone-DTEX67C8.js} +154 -154
- package/chunks/{standalone-DHRalbVO.js → standalone-DU46-kYv.js} +279 -279
- package/chunks/standalone-Dbn3jSH6.js +690 -0
- package/chunks/{standalone-CsoMmE9T.js → standalone-DdcAL_k_.js} +839 -843
- package/chunks/standalone-DwCIA0UG.js +1057 -0
- package/chunks/standalone-Dz13tl3P.js +357 -0
- package/chunks/standalone-H9GFzFk_.js +8377 -0
- package/chunks/{standalone-CaTxAydz.js → standalone-MduR0qre.js} +2227 -1000
- package/chunks/standalone-ejTz66P3.js +2 -0
- package/chunks/{standalone-DflyWtuR.js → standalone-keB-0wK3.js} +216 -216
- package/chunks/{standalone-BTY3w_JA.js → standalone-nnkuQd0K.js} +28 -28
- package/chunks/standalone-vGGR6Vcn.js +6 -0
- package/chunks/{table.compiler-COaHE9VD.js → table.compiler-mS4UvhLT.js} +31 -31
- package/chunks/theme-MYp6Rj1J.js +232 -0
- package/chunks/{useFieldName-CdnCWzhd.js → useFieldName-AdSak4Ch.js} +1 -1
- package/chunks/{utils-DganVptf.js → utils-CUKgR7it.js} +4216 -4070
- package/chunks/{view-Bzlros43.js → view-BeYwpcVD.js} +1561 -1561
- package/chunks/{visualization-filters-D7i6oh1Z.js → visualization-filters-B9qik5_K.js} +2683 -2342
- package/chunks/{with-html-element-CiIhFEa5.js → with-html-element-1GSeLT59.js} +3712 -3682
- package/definitions.js +2 -2
- package/docs/operations/astrato-app-filter-bar.md +1 -1
- package/docs/operations/bar.md +144 -32
- package/docs/operations/combo.md +79 -17
- package/docs/operations/date-picker.md +4 -4
- package/docs/operations/distribution-gauge.md +18 -16
- package/docs/operations/dot.md +107 -24
- package/docs/operations/filter.md +10 -8
- package/docs/operations/gauge.md +20 -18
- package/docs/operations/heatMap.md +73 -21
- package/docs/operations/histogram.md +45 -12
- package/docs/operations/iframe.md +1 -1
- package/docs/operations/image.md +1 -1
- package/docs/operations/index.md +12 -11
- package/docs/operations/line.md +86 -24
- package/docs/operations/map.md +5274 -0
- package/docs/operations/number.md +10 -9
- package/docs/operations/pie.md +23 -21
- package/docs/operations/radar.md +13 -11
- package/docs/operations/sankey.md +19 -17
- package/docs/operations/scatter.md +111 -28
- package/docs/operations/shape.md +5 -5
- package/docs/operations/simpleTextObject.md +4 -4
- package/docs/operations/slider.md +1 -1
- package/docs/operations/table.md +27 -25
- package/docs/operations/tree.md +5 -3
- package/docs/operations/treemap.md +70 -18
- package/docs/operations/waterfall.md +40 -7
- package/docs/operations/word-cloud.md +69 -17
- package/getters.js +3 -3
- package/index.js +585 -612
- package/metadata.js +2 -2
- package/operations.js +25 -18
- package/package.json +74 -70
- package/src/definitions/index.d.ts +1 -7
- package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +3 -48
- package/src/definitions/model/definitions/schema-registry.d.ts +15 -14
- package/src/definitions/model/definitions/schemas/bar.schema.d.ts +3 -3
- package/src/definitions/model/definitions/schemas/broad-chart.schema.d.ts +2 -2
- package/src/definitions/model/definitions/schemas/common.schema.d.ts +19 -6
- package/src/definitions/model/definitions/schemas/index.d.ts +1 -1
- package/src/definitions/model/definitions/schemas/line.schema.d.ts +4 -3
- package/src/definitions/model/definitions/schemas/number.schema.d.ts +1 -1
- package/src/definitions/model/definitions/schemas/table.schema.d.ts +14 -14
- package/src/index.d.ts +1 -1
- package/src/operations/index.d.ts +11 -1
- package/src/types.d.ts +166 -1
- package/src/visualization-catalog.d.ts +3 -0
- package/styles.css +1 -1
- package/chunks/FieldTypeIcon-DrMoGpHJ.js +0 -22
- package/chunks/color-rules-DYJL4fIW.js +0 -15
- package/chunks/color-settings-DJFoFTip.js +0 -5
- package/chunks/defaults-Dtk7fg3C.js +0 -3
- package/chunks/handlers-C6CZ0XJA.js +0 -15399
- package/chunks/line.compiler-DmHpmQCC.js +0 -198
- package/chunks/number.compiler-DQdg6zTy.js +0 -53
- package/chunks/standalone-4MsKiqs0.js +0 -355
- package/chunks/standalone-B794g9pE.js +0 -1012
- package/chunks/standalone-BA2YXyJS.js +0 -422
- package/chunks/standalone-BgumbdaJ2.js +0 -357
- package/chunks/standalone-Blh4qejk.js +0 -689
- package/chunks/standalone-CXY4FpF7.js +0 -773
- package/chunks/standalone-DH0xTEes.js +0 -2
- package/chunks/standalone-DcnHjNnC.js +0 -2
- package/chunks/standalone-DrHdGkY7.js +0 -762
- package/chunks/standalone-c_rROMtx.js +0 -287
- package/chunks/standalone-drcFLeN6.js +0 -6
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { o as e } from "./rolldown-runtime-DleVn1XH.js";
|
|
2
|
-
import {
|
|
3
|
-
import { _ as c, c as l, d as u, i as d, l as f, m as p, o as m, r as h, s as g, t as _, u as v, v as y } from "./react-dom-
|
|
4
|
-
import { a as b, c as x, d as S, l as C, n as w, o as T, r as E, t as D, u as O } from "./isFocusVisible-
|
|
5
|
-
var k = /* @__PURE__ */ e(
|
|
2
|
+
import { K as t, Q as n, Ur as r, at as i, et as a, fi as o, rt as s } from "./utils-CUKgR7it.js";
|
|
3
|
+
import { _ as c, c as l, d as u, i as d, l as f, m as p, o as m, r as h, s as g, t as _, u as v, v as y } from "./react-dom-CfuL-m78.js";
|
|
4
|
+
import { a as b, c as x, d as S, l as C, n as w, o as T, r as E, t as D, u as O } from "./isFocusVisible-Czm70MGc.js";
|
|
5
|
+
var k = /* @__PURE__ */ e(o(), 1), A = r(), j = S;
|
|
6
6
|
function M(e, t) {
|
|
7
7
|
typeof e == "function" ? e(t) : e && (e.current = t);
|
|
8
8
|
}
|
|
9
|
-
var N =
|
|
9
|
+
var N = n, P = x, F = O, I = {};
|
|
10
10
|
function L(e, t) {
|
|
11
11
|
let n = k.useRef(I);
|
|
12
12
|
return n.current === I && (n.current = e(t)), n;
|
|
13
13
|
}
|
|
14
14
|
function ee(e) {
|
|
15
15
|
let t = L(() => R(e)).current;
|
|
16
|
-
return t.next = e,
|
|
16
|
+
return t.next = e, s(t.effect), t;
|
|
17
17
|
}
|
|
18
18
|
function R(e) {
|
|
19
19
|
let t = {
|
|
@@ -50,7 +50,7 @@ function re(e) {
|
|
|
50
50
|
return e.currentStatus === "entering" ? e.isAppearing ? t.appear ?? t.enter ?? null : t.enter ?? null : t.exit ?? null;
|
|
51
51
|
}
|
|
52
52
|
function z(e) {
|
|
53
|
-
let { in: t = !1, appear: n = !1, enter: r = !0, exit: i = !0, mountOnEnter: a = !1, unmountOnExit:
|
|
53
|
+
let { in: t = !1, appear: n = !1, enter: r = !0, exit: i = !0, mountOnEnter: a = !1, unmountOnExit: o = !1, timeout: c, addEndListener: l, reduceMotion: u = !1, getAutoTimeout: d, nodeRef: f, onEnter: p, onEntering: m, onEntered: h, onExit: _, onExiting: v, onExited: y, children: b, ...x } = e, S = k.useContext(te), C = S && !S.isMounting ? r : n, [w, T] = k.useState(() => t ? C ? "exited" : "entered" : a || o ? "unmounted" : "exited"), E = k.useRef(w);
|
|
54
54
|
E.current = w, t && w === "unmounted" && (E.current = "exited", T("exited"));
|
|
55
55
|
let D = k.useRef(t && C), O = k.useRef(!1), j = k.useRef(null), M = k.useRef(w), N = k.useRef(!1), P = k.useRef(u), F = ee({
|
|
56
56
|
timeout: c,
|
|
@@ -66,7 +66,7 @@ function z(e) {
|
|
|
66
66
|
enter: r,
|
|
67
67
|
exit: i,
|
|
68
68
|
mountOnEnter: a,
|
|
69
|
-
unmountOnExit:
|
|
69
|
+
unmountOnExit: o,
|
|
70
70
|
nodeRef: f,
|
|
71
71
|
parentGroup: S
|
|
72
72
|
}), I = k.useCallback(() => {
|
|
@@ -133,18 +133,18 @@ function z(e) {
|
|
|
133
133
|
z,
|
|
134
134
|
F
|
|
135
135
|
]);
|
|
136
|
-
return
|
|
136
|
+
return s(() => (O.current = !0, D.current && (D.current = !1, B(!0, "entering")), () => {
|
|
137
137
|
O.current = !1, I();
|
|
138
|
-
}), [I, B]),
|
|
138
|
+
}), [I, B]), s(() => {
|
|
139
139
|
if (!O.current) return;
|
|
140
140
|
let e = E.current;
|
|
141
|
-
t ? e !== "entering" && e !== "entered" && B(!1, "entering") : e === "entering" || e === "entered" ? B(!1, "exiting") : e === "exited" &&
|
|
141
|
+
t ? e !== "entering" && e !== "entered" && B(!1, "entering") : e === "entering" || e === "entered" ? B(!1, "exiting") : e === "exited" && o && (E.current = "unmounted", T("unmounted"));
|
|
142
142
|
}, [
|
|
143
143
|
t,
|
|
144
144
|
w,
|
|
145
|
-
|
|
145
|
+
o,
|
|
146
146
|
B
|
|
147
|
-
]),
|
|
147
|
+
]), s(() => {
|
|
148
148
|
if (w === "unmounted" || M.current === "unmounted") {
|
|
149
149
|
M.current = w;
|
|
150
150
|
return;
|
|
@@ -168,7 +168,7 @@ function ue(e) {
|
|
|
168
168
|
enabled: e,
|
|
169
169
|
matches: e ? null : !1
|
|
170
170
|
})), r = t.matches;
|
|
171
|
-
return t.enabled !== e && (r = null, e || (r = !1)),
|
|
171
|
+
return t.enabled !== e && (r = null, e || (r = !1)), s(() => {
|
|
172
172
|
let r = (t) => {
|
|
173
173
|
n((n) => n.enabled === e && n.matches === t ? n : {
|
|
174
174
|
enabled: e,
|
|
@@ -1122,10 +1122,10 @@ function an(e) {
|
|
|
1122
1122
|
return typeof e == "function" ? e() : e;
|
|
1123
1123
|
}
|
|
1124
1124
|
var on = /*#__PURE__*/ k.forwardRef(function(e, t) {
|
|
1125
|
-
let { children: n, container: r, disablePortal: i = !1 } = e, [a,
|
|
1126
|
-
if (
|
|
1127
|
-
i ||
|
|
1128
|
-
}, [r, i]),
|
|
1125
|
+
let { children: n, container: r, disablePortal: i = !1 } = e, [a, o] = k.useState(null), c = S(/*#__PURE__*/ k.isValidElement(n) ? nn(n) : null, t);
|
|
1126
|
+
if (s(() => {
|
|
1127
|
+
i || o(an(r) || document.body);
|
|
1128
|
+
}, [r, i]), s(() => {
|
|
1129
1129
|
if (a && !i) return M(t, a), () => {
|
|
1130
1130
|
M(t, null);
|
|
1131
1131
|
};
|
|
@@ -1166,14 +1166,14 @@ var dn = (e) => {
|
|
|
1166
1166
|
let { classes: t } = e;
|
|
1167
1167
|
return p({ root: ["root"] }, sn, t);
|
|
1168
1168
|
}, fn = {}, pn = /*#__PURE__*/ k.forwardRef(function(e, t) {
|
|
1169
|
-
let { anchorEl: n, children: r, direction: i, disablePortal: a, modifiers:
|
|
1170
|
-
|
|
1169
|
+
let { anchorEl: n, children: r, direction: i, disablePortal: a, modifiers: o, open: c, placement: l, popperOptions: u, popperRef: d, slotProps: f = {}, slots: p = {}, TransitionProps: m, ownerState: h, ...g } = e, _ = k.useRef(null), v = S(_, t), y = k.useRef(null), b = S(y, d), x = k.useRef(b);
|
|
1170
|
+
s(() => {
|
|
1171
1171
|
x.current = b;
|
|
1172
1172
|
}, [b]), k.useImperativeHandle(d, () => y.current, []);
|
|
1173
1173
|
let C = cn(l, i), [w, T] = k.useState(C), E = k.useMemo(() => ln(n), [n]);
|
|
1174
1174
|
k.useEffect(() => {
|
|
1175
1175
|
y.current && y.current.forceUpdate();
|
|
1176
|
-
}),
|
|
1176
|
+
}), s(() => {
|
|
1177
1177
|
if (!E || !c) return;
|
|
1178
1178
|
let e = (e) => {
|
|
1179
1179
|
T(e.placement);
|
|
@@ -1195,7 +1195,7 @@ var dn = (e) => {
|
|
|
1195
1195
|
}
|
|
1196
1196
|
}
|
|
1197
1197
|
];
|
|
1198
|
-
|
|
1198
|
+
o != null && (t = t.concat(o)), u && u.modifiers != null && (t = t.concat(u.modifiers));
|
|
1199
1199
|
let n = en(E, _.current, {
|
|
1200
1200
|
placement: C,
|
|
1201
1201
|
...u,
|
|
@@ -1213,7 +1213,7 @@ var dn = (e) => {
|
|
|
1213
1213
|
}, [
|
|
1214
1214
|
E,
|
|
1215
1215
|
a,
|
|
1216
|
-
|
|
1216
|
+
o,
|
|
1217
1217
|
c,
|
|
1218
1218
|
u,
|
|
1219
1219
|
C
|
|
@@ -1283,12 +1283,12 @@ var dn = (e) => {
|
|
|
1283
1283
|
}), {
|
|
1284
1284
|
name: "MuiPopper",
|
|
1285
1285
|
slot: "Root"
|
|
1286
|
-
})({}), hn = /*#__PURE__*/ k.forwardRef(function(e,
|
|
1287
|
-
let
|
|
1286
|
+
})({}), hn = /*#__PURE__*/ k.forwardRef(function(e, t) {
|
|
1287
|
+
let n = a(), { anchorEl: r, component: i, container: o, disablePortal: s, keepMounted: c, modifiers: l, open: u, placement: d, popperOptions: p, popperRef: m, transition: h, slots: g, slotProps: _, ...v } = f({
|
|
1288
1288
|
props: e,
|
|
1289
1289
|
name: "MuiPopper"
|
|
1290
1290
|
}), y = {
|
|
1291
|
-
anchorEl:
|
|
1291
|
+
anchorEl: r,
|
|
1292
1292
|
container: o,
|
|
1293
1293
|
disablePortal: s,
|
|
1294
1294
|
keepMounted: c,
|
|
@@ -1301,12 +1301,12 @@ var dn = (e) => {
|
|
|
1301
1301
|
...v
|
|
1302
1302
|
};
|
|
1303
1303
|
return /*#__PURE__*/ (0, A.jsx)(mn, {
|
|
1304
|
-
as:
|
|
1305
|
-
direction:
|
|
1304
|
+
as: i,
|
|
1305
|
+
direction: n ? "rtl" : "ltr",
|
|
1306
1306
|
slots: g,
|
|
1307
1307
|
slotProps: _,
|
|
1308
1308
|
...y,
|
|
1309
|
-
ref:
|
|
1309
|
+
ref: t
|
|
1310
1310
|
});
|
|
1311
1311
|
});
|
|
1312
1312
|
function gn(e) {
|
|
@@ -1333,8 +1333,8 @@ var _n = {
|
|
|
1333
1333
|
opacity: 0,
|
|
1334
1334
|
transform: gn(.75),
|
|
1335
1335
|
visibility: "hidden"
|
|
1336
|
-
}, yn = /*#__PURE__*/ k.forwardRef(function(e,
|
|
1337
|
-
let { addEndListener: r, appear: i = !0, children: a, disablePrefersReducedMotion: o = !1, easing: s, in: c, onEnter: l, onEntered: u, onEntering: f, onExit: p, onExited: _, onExiting: v, style: y, timeout: b = "auto", ...x } = e, S = k.useRef(null), C =
|
|
1336
|
+
}, yn = /*#__PURE__*/ k.forwardRef(function(e, n) {
|
|
1337
|
+
let { addEndListener: r, appear: i = !0, children: a, disablePrefersReducedMotion: o = !1, easing: s, in: c, onEnter: l, onEntered: u, onEntering: f, onExit: p, onExited: _, onExiting: v, style: y, timeout: b = "auto", ...x } = e, S = k.useRef(null), C = t(), w = U(C.motion.reducedMotion, o), T = k.useRef(null), E = j(T, nn(a), n), D = m(T, f), O = m(T, (e, t) => {
|
|
1338
1338
|
w.shouldReduceMotion || g(e);
|
|
1339
1339
|
let { duration: n, delay: r, easing: i } = d({
|
|
1340
1340
|
style: y,
|
|
@@ -1582,11 +1582,11 @@ function kn(e, t) {
|
|
|
1582
1582
|
t && t(n, ...r), e(n, ...r);
|
|
1583
1583
|
};
|
|
1584
1584
|
}
|
|
1585
|
-
var An = /*#__PURE__*/ k.forwardRef(function(e,
|
|
1585
|
+
var An = /*#__PURE__*/ k.forwardRef(function(e, n) {
|
|
1586
1586
|
let r = f({
|
|
1587
1587
|
props: e,
|
|
1588
1588
|
name: "MuiTooltip"
|
|
1589
|
-
}), { arrow:
|
|
1589
|
+
}), { arrow: a = !1, children: o, classes: s, describeChild: c = !1, disableFocusListener: l = !1, disableHoverListener: u = !1, disableInteractive: d = !1, disableTouchListener: p = !1, enterDelay: m = 100, enterNextDelay: h = 0, enterTouchDelay: g = 700, followCursor: _ = !1, id: v, leaveDelay: y = 0, leaveTouchDelay: b = 1500, onClose: x, onOpen: S, open: C, placement: T = "bottom", slotProps: E = {}, slots: O = {}, title: M, ...I } = r, L = /*#__PURE__*/ k.isValidElement(o) ? o : /*#__PURE__*/ (0, A.jsx)("span", { children: o }), ee = t(), [R, te] = k.useState(), [ne, re] = k.useState(null), z = k.useRef(!1), B = k.useRef(!1), ie = d || _, ae = me(), oe = me(), se = me(), ce = me(), [le, ue] = P({
|
|
1590
1590
|
controlled: C,
|
|
1591
1591
|
default: !1,
|
|
1592
1592
|
name: "Tooltip",
|
|
@@ -1655,7 +1655,7 @@ var An = /*#__PURE__*/ k.forwardRef(function(e, t) {
|
|
|
1655
1655
|
document.removeEventListener("keydown", e);
|
|
1656
1656
|
};
|
|
1657
1657
|
}, [W, V]);
|
|
1658
|
-
let Se = j(nn(L), te,
|
|
1658
|
+
let Se = j(nn(L), te, n);
|
|
1659
1659
|
!M && M !== 0 && (V = !1);
|
|
1660
1660
|
let Ce = k.useRef(), we = (e) => {
|
|
1661
1661
|
let t = L.props;
|
|
@@ -1669,7 +1669,7 @@ var An = /*#__PURE__*/ k.forwardRef(function(e, t) {
|
|
|
1669
1669
|
...J,
|
|
1670
1670
|
...I,
|
|
1671
1671
|
...L.props,
|
|
1672
|
-
className:
|
|
1672
|
+
className: i(I.className, L.props.className),
|
|
1673
1673
|
onTouchStart: ye,
|
|
1674
1674
|
ref: Se,
|
|
1675
1675
|
..._ ? { onMouseMove: we } : {}
|
|
@@ -1677,7 +1677,7 @@ var An = /*#__PURE__*/ k.forwardRef(function(e, t) {
|
|
|
1677
1677
|
p || (X.onTouchStart = be, X.onTouchEnd = xe), u || (X.onMouseOver = kn(K, X.onMouseOver), X.onMouseLeave = kn(he, X.onMouseLeave), ie || (Z.onMouseOver = q, Z.onMouseLeave = he)), l || (X.onFocus = kn(ve, X.onFocus), X.onBlur = kn(_e, X.onBlur), ie || (Z.onFocus = ve, Z.onBlur = _e));
|
|
1678
1678
|
let Te = {
|
|
1679
1679
|
...r,
|
|
1680
|
-
arrow:
|
|
1680
|
+
arrow: a,
|
|
1681
1681
|
disableInteractive: ie,
|
|
1682
1682
|
open: V,
|
|
1683
1683
|
placement: T,
|
|
@@ -1748,7 +1748,7 @@ var An = /*#__PURE__*/ k.forwardRef(function(e, t) {
|
|
|
1748
1748
|
...Me,
|
|
1749
1749
|
children: /*#__PURE__*/ (0, A.jsxs)(Ne, {
|
|
1750
1750
|
...Pe,
|
|
1751
|
-
children: [M,
|
|
1751
|
+
children: [M, a ? /*#__PURE__*/ (0, A.jsx)(Fe, { ...Ie }) : null]
|
|
1752
1752
|
})
|
|
1753
1753
|
})
|
|
1754
1754
|
})] });
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-DleVn1XH.js";
|
|
2
|
-
import {
|
|
3
|
-
var o = /* @__PURE__ */ e(((e,
|
|
4
|
-
var
|
|
2
|
+
import { B as t, Na as n, Oa as r, Rr as i, Tr as a } from "./visualization-filters-B9qik5_K.js";
|
|
3
|
+
var o = /* @__PURE__ */ e(((e, n) => {
|
|
4
|
+
var r = t(), a = i();
|
|
5
5
|
function o(e, t) {
|
|
6
|
-
return e &&
|
|
6
|
+
return e && r(e, t, a);
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
n.exports = o;
|
|
9
9
|
})), s = /* @__PURE__ */ e(((e, t) => {
|
|
10
|
-
var
|
|
11
|
-
function
|
|
12
|
-
return function(
|
|
13
|
-
if (
|
|
14
|
-
if (!n
|
|
15
|
-
for (var a =
|
|
16
|
-
return
|
|
10
|
+
var r = n();
|
|
11
|
+
function i(e, t) {
|
|
12
|
+
return function(n, i) {
|
|
13
|
+
if (n == null) return n;
|
|
14
|
+
if (!r(n)) return e(n, i);
|
|
15
|
+
for (var a = n.length, o = t ? a : -1, s = Object(n); (t ? o-- : ++o < a) && i(s[o], o, s) !== !1;);
|
|
16
|
+
return n;
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
t.exports =
|
|
19
|
+
t.exports = i;
|
|
20
20
|
})), c = /* @__PURE__ */ e(((e, t) => {
|
|
21
21
|
var n = o();
|
|
22
22
|
t.exports = s()(n);
|
|
@@ -38,11 +38,11 @@ var o = /* @__PURE__ */ e(((e, r) => {
|
|
|
38
38
|
}
|
|
39
39
|
t.exports = r;
|
|
40
40
|
})), d = /* @__PURE__ */ e(((e, t) => {
|
|
41
|
-
var n = l(),
|
|
41
|
+
var n = l(), i = u(), o = a(), s = r();
|
|
42
42
|
function c(e, t) {
|
|
43
|
-
return function(r,
|
|
44
|
-
var c = s(r) ? n :
|
|
45
|
-
return c(r, e, o(
|
|
43
|
+
return function(r, a) {
|
|
44
|
+
var c = s(r) ? n : i, l = t ? t() : {};
|
|
45
|
+
return c(r, e, o(a, 2), l);
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
t.exports = c;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { T as e,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { T as e, d as t, g as n, h as r, lt as i, u as a, v as o } from "./shared-DoEN9nNM.js";
|
|
2
|
+
import { Fp as s, ch as c } from "./handlers-CyYFSfhM.js";
|
|
3
|
+
import { y as l } from "./operations-CgfehCad.js";
|
|
4
4
|
var u = async (u) => {
|
|
5
5
|
let d = s(u);
|
|
6
6
|
if (d) return {
|
|
@@ -11,19 +11,19 @@ var u = async (u) => {
|
|
|
11
11
|
}],
|
|
12
12
|
success: !1
|
|
13
13
|
};
|
|
14
|
-
let f =
|
|
14
|
+
let f = i.safeParse(u.definition);
|
|
15
15
|
if (!f.success) return {
|
|
16
16
|
issues: e(f.error, u.definition),
|
|
17
17
|
success: !1
|
|
18
18
|
};
|
|
19
19
|
let p = c.safeParse(u.baseVSpec);
|
|
20
20
|
if (!p.success) return {
|
|
21
|
-
issues: [
|
|
21
|
+
issues: [t("invalid_structure", ["baseVSpec"], "Base app filter bar vSpec is invalid.")],
|
|
22
22
|
success: !1
|
|
23
23
|
};
|
|
24
24
|
let m = p.data;
|
|
25
25
|
if (!o(m, [])) return {
|
|
26
|
-
issues: [
|
|
26
|
+
issues: [t("non_fresh_base_vspec", ["baseVSpec"], "App filter bar definitions require a fresh base vSpec.")],
|
|
27
27
|
success: !1
|
|
28
28
|
};
|
|
29
29
|
let h = f.data.settings ?? {}, g = [
|
|
@@ -55,10 +55,10 @@ var u = async (u) => {
|
|
|
55
55
|
name: l.SET_SELECTABLE_FIELD_KEYS,
|
|
56
56
|
payload: h.selectableFieldKeys
|
|
57
57
|
}]
|
|
58
|
-
], _ = await
|
|
58
|
+
], _ = await r(a(u, m), g, ["settings"]);
|
|
59
59
|
return "issue" in _ ? {
|
|
60
60
|
issues: [_.issue],
|
|
61
61
|
success: !1
|
|
62
|
-
} :
|
|
62
|
+
} : n(_.state, c);
|
|
63
63
|
};
|
|
64
64
|
export { u as compileAppFilterBarVisualizationDefinition };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./shared-
|
|
1
|
+
import { Qs as e } from "./visualization-filters-B9qik5_K.js";
|
|
2
|
+
import "./shared-DoEN9nNM.js";
|
|
3
3
|
var t = (e) => e.presentation?.layout !== void 0 && e.data.dimensions.length === 1 && e.data.measures.length === 1, n = (e) => {
|
|
4
4
|
let { grouped: t, offset: n, pyramid: r, stacked: i } = e.barSettings ?? {};
|
|
5
5
|
return !!(t || i || r || n?.enabled);
|