@astrato-io/visualizations 0.8.0 → 0.10.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 +9 -5
- package/THIRD_PARTY_NOTICES.md +403 -325
- package/VISUALIZATION_DEFINITIONS.md +319 -32
- package/chunks/{Button-BrGKp9Nm.js → Button-CCF851ea.js} +10 -10
- package/chunks/CircularProgress-yupH6YWs.js +765 -0
- package/chunks/FieldTypeIcon-D_MzsdfY.js +22 -0
- package/chunks/LinearProgress-CyFjN4px.js +327 -0
- package/chunks/{MenuOption-ByRqhRdX.js → MenuOption-CQpT79AP.js} +1391 -1008
- package/chunks/Title-C-p4ZarD.js +1804 -0
- package/chunks/_createAggregator-BF4qG9XK.js +50 -0
- package/chunks/{app-filter-bar.compiler-TwVTeoj5.js → app-filter-bar.compiler-8fxCo2q7.js} +10 -10
- package/chunks/bar-layout-DStC-GNV.js +9 -0
- package/chunks/{bar.compiler-DuQg8EUb.js → bar.compiler-CQAu8KL8.js} +102 -84
- package/chunks/{builder-DEDvNq1k.js → builder-CScg1TOS.js} +156 -60
- package/chunks/color-rules-DYJL4fIW.js +15 -0
- package/chunks/color-settings-DJFoFTip.js +5 -0
- package/chunks/{coloring-CncX_JRX.js → coloring-9jU3s_-p.js} +41 -41
- package/chunks/contains-BK-sRXcB.js +21 -0
- package/chunks/createSimplePaletteValueFilter-C4hZpCdn.js +2005 -0
- package/chunks/defaults-cyNhn37t.js +3 -0
- package/chunks/{definitions-BPJQTx16.js → definitions-C4grxhye.js} +612 -400
- package/chunks/{escobar-DRhRMYRE.js → escobar-CjirINHP.js} +5354 -5473
- package/chunks/{extend-preset-CUFNpmPe.js → extend-preset-D-l9u_we.js} +974 -909
- package/chunks/{filter.compiler-w27dlv0C.js → filter.compiler-lji2Acgn.js} +7 -7
- package/chunks/{filtering-cc7WqWpg.js → filtering-C1zakrrX.js} +570 -390
- package/chunks/handlers-ZviIUC-j.js +15387 -0
- package/chunks/{icon-picker-styles-CoJmwTRi.js → icon-picker-styles-Bj80ZUBK.js} +11 -11
- package/chunks/isEqual-Ch9OEye3.js +16 -0
- package/chunks/isFocusVisible-CgMP0qkR.js +144 -0
- package/chunks/label-format-type-C46pzgx7.js +17 -0
- package/chunks/{line.compiler-Ct1WhN2p.js → line.compiler-De5fiKuR.js} +6 -6
- package/chunks/{logger-DpQtYQnX.js → logger-CKRjhSHQ.js} +77 -66
- package/chunks/map.compiler-CKzorLgK.js +345 -0
- package/chunks/{metadata-WABZrt7Y.js → metadata-Bb9pTXrq.js} +1 -1
- package/chunks/{number.compiler-D8TPly-4.js → number.compiler-CaTmJkmi.js} +4 -4
- package/chunks/operations-DZoY50VX.js +31297 -0
- package/chunks/{range-Bi-7zT0k.js → range-D1BTmFMp.js} +2 -2
- package/chunks/react-dom-Dgv2azN2.js +368 -0
- package/chunks/{render-wrappers-OEmtaM8g.js → render-wrappers-_P3xwu5A.js} +1 -1
- package/chunks/{requirements-Dvd8jqYF.js → requirements-NHNrR8Ie.js} +55 -53
- package/chunks/responsive.styles-FItb913l.js +93 -0
- package/chunks/shared-UitWpq1J.js +1331 -0
- package/chunks/standalone-B0U6c3su.js +3638 -0
- package/chunks/{standalone-we5D5MIn.js → standalone-BBu90BhK.js} +113 -113
- package/chunks/standalone-BEekPuA12.js +357 -0
- package/chunks/{standalone-BMTCb10X.js → standalone-BOzHA_d4.js} +41 -41
- package/chunks/standalone-BR2JuRIC.js +422 -0
- package/chunks/{standalone-BGkmozIb.js → standalone-BapqaniK.js} +619 -619
- package/chunks/standalone-Bnnr87pc.js +2009 -0
- package/chunks/standalone-BwJqDj2Z.js +396 -0
- package/chunks/{standalone-BDhPQtzQ.js → standalone-ByKKqT5L.js} +308 -300
- package/chunks/{standalone-vBnBS2YC.js → standalone-CRdDZYeM.js} +1788 -1004
- package/chunks/standalone-CRfDOO1x.js +287 -0
- package/chunks/{standalone-D5Q5ngsD.js → standalone-CVknVdUC.js} +30 -27
- package/chunks/standalone-CbPk8bKn.js +580 -0
- package/chunks/{standalone-CJvIXsQE.js → standalone-Ck63MZzj.js} +234 -232
- package/chunks/{standalone-CM5XcAN5.js → standalone-DCFY1MAV.js} +8075 -7729
- package/chunks/{standalone-DW6NT205.js → standalone-DZDGX3aa.js} +168 -168
- package/chunks/standalone-DhfgeJIk.js +1012 -0
- package/chunks/{standalone-DT0wKji7.js → standalone-DibjA73M.js} +2 -2
- package/chunks/{standalone-XuGksArp.js → standalone-DtBk_iUz.js} +9 -8
- package/chunks/standalone-DxBAyqAu.js +772 -0
- package/chunks/standalone-KMQPsNsq.js +2 -0
- package/chunks/standalone-MBLSvsrY.js +2 -0
- package/chunks/standalone-U0WJwFlG.js +354 -0
- package/chunks/{standalone-C8ZAEutO.js → standalone-swGs70tD.js} +49 -51
- package/chunks/standalone-wgFAVnnm.js +355 -0
- package/chunks/standalone-xGV0dqPV.js +689 -0
- package/chunks/{table.compiler-DMeeHxb6.js → table.compiler-OWSx5MOq.js} +7 -7
- package/chunks/{typeof-CJDtcySz.js → typeof-DCq3QgvY.js} +6 -1
- package/chunks/useFieldName-B8iCYyw1.js +7 -0
- package/chunks/{utils-vdmi_2PK.js → utils-3Igg6xmO.js} +7668 -12779
- package/chunks/{view-BuwQugKb.js → view-DdMLZySj.js} +2430 -2110
- package/chunks/{visualization-filters-Cc4KU-l-.js → visualization-filters-CzvFHE6M.js} +5205 -4438
- package/chunks/with-html-element-DOfkR3C1.js +16094 -0
- package/definitions.js +2 -2
- package/docs/operations/astrato-app-filter-bar.md +1 -1
- package/docs/operations/bar.md +303 -2
- package/docs/operations/combo.md +262 -1
- package/docs/operations/date-picker.md +1 -1
- package/docs/operations/distribution-gauge.md +1 -1
- package/docs/operations/dot.md +148 -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 +262 -1
- package/docs/operations/iframe.md +1 -1
- package/docs/operations/image.md +1 -1
- package/docs/operations/index.md +8 -8
- package/docs/operations/line.md +262 -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 +148 -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 +439 -157
- 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 +523 -469
- package/metadata.js +2 -2
- package/operations.js +5 -5
- package/package.json +74 -68
- package/src/definitions/index.d.ts +1 -1
- package/src/definitions/model/definitions/available-fields.d.ts +2 -2
- package/src/definitions/model/definitions/compilers/compile.d.ts +1 -0
- package/src/definitions/model/definitions/data-item-resolution.d.ts +3 -3
- package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +535 -349
- package/src/definitions/model/definitions/index.d.ts +2 -1
- package/src/definitions/model/definitions/schema-registry.d.ts +406 -101
- package/src/definitions/model/definitions/schemas/bar.schema.d.ts +10 -8
- package/src/definitions/model/definitions/schemas/common.schema.d.ts +33 -32
- package/src/definitions/model/definitions/schemas/index.d.ts +1 -0
- package/src/definitions/model/definitions/schemas/line.schema.d.ts +10 -10
- package/src/definitions/model/definitions/schemas/map.schema.d.ts +590 -0
- 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/definitions/model/definitions/types/compilation.types.d.ts +7 -2
- package/src/definitions/model/definitions/types/definition.types.d.ts +2 -2
- package/src/definitions/model/definitions/types/index.d.ts +1 -1
- package/src/index.d.ts +1 -1
- package/src/operations/index.d.ts +1 -1
- package/src/types.d.ts +45 -41
- 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/color-rules-CN7TcGrC.js +0 -6
- package/chunks/color-settings-3VRlf_Vw.js +0 -6
- package/chunks/colorManipulator-D8Pjy1pf.js +0 -45
- package/chunks/handlers-TOT-7INo.js +0 -12871
- package/chunks/isEqual-B8loyPsC.js +0 -12
- package/chunks/label-format-type-weq1XfcX.js +0 -8
- package/chunks/operations-Dh4v1Ovt.js +0 -26280
- package/chunks/responsive.styles-DSiOGD7u.js +0 -82
- package/chunks/shared-Bn4N5QcZ.js +0 -1218
- package/chunks/standalone-B55oyW6c.js +0 -689
- package/chunks/standalone-BXKRE_Se.js +0 -468
- package/chunks/standalone-Bes8srx1.js +0 -354
- package/chunks/standalone-BjZp0QMe.js +0 -2
- package/chunks/standalone-BlMIwpEe.js +0 -1877
- package/chunks/standalone-C8qAelL4.js +0 -2
- package/chunks/standalone-CLmGb7nn2.js +0 -355
- package/chunks/standalone-CXNP6-xD.js +0 -420
- package/chunks/standalone-DLlyRIE6.js +0 -287
- package/chunks/standalone-DMcI1afI.js +0 -396
- package/chunks/standalone-DN4S1MjT.js +0 -3874
- package/chunks/standalone-DYQIQH4c.js +0 -2095
- package/chunks/standalone-D__XCp-h.js +0 -1003
- package/chunks/standalone-XTgSsTAa.js +0 -354
- package/chunks/useFieldName-Cjn9KCVp.js +0 -7
- package/chunks/useSlotProps-DLbQp4lc.js +0 -166
- package/chunks/with-html-element-D0uY2zjI.js +0 -7328
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as e } from "./rolldown-runtime-DleVn1XH.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
var o = /* @__PURE__ */ e(
|
|
2
|
+
import { Da as t } from "./visualization-filters-CzvFHE6M.js";
|
|
3
|
+
import { W as n, ci as r, oi as i, si as a } from "./utils-3Igg6xmO.js";
|
|
4
|
+
var o = /* @__PURE__ */ e(r());
|
|
5
5
|
o.forwardRef(function(e, t) {
|
|
6
6
|
return o.createElement("img", {
|
|
7
7
|
...e,
|
|
@@ -2099,7 +2099,7 @@ var s = "data:image/svg+xml,%3Csvg%20width%3D%2232%22%20height%3D%2224%22%20view
|
|
|
2099
2099
|
zoom_out: "e900",
|
|
2100
2100
|
zoom_out_map: "e56b"
|
|
2101
2101
|
};
|
|
2102
|
-
|
|
2102
|
+
n({ wrapper: {
|
|
2103
2103
|
border: `1px solid ${t.grey3}`,
|
|
2104
2104
|
borderRadius: "4px",
|
|
2105
2105
|
width: "32px",
|
|
@@ -2109,7 +2109,7 @@ i({ wrapper: {
|
|
|
2109
2109
|
boxShadow: "box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.1)",
|
|
2110
2110
|
margin: "1px",
|
|
2111
2111
|
position: "relative"
|
|
2112
|
-
} }),
|
|
2112
|
+
} }), n({
|
|
2113
2113
|
contentWrapper: {
|
|
2114
2114
|
height: 588,
|
|
2115
2115
|
width: "calc(100% - 2px)"
|
|
@@ -2127,13 +2127,13 @@ i({ wrapper: {
|
|
|
2127
2127
|
flexGrow: 1
|
|
2128
2128
|
},
|
|
2129
2129
|
scrollableIconList: {
|
|
2130
|
-
...
|
|
2130
|
+
...i.propertiesPanel,
|
|
2131
2131
|
paddingBottom: 24,
|
|
2132
2132
|
maxHeight: 552
|
|
2133
2133
|
},
|
|
2134
2134
|
categorySection: { margin: "0 15px" },
|
|
2135
2135
|
categoryLabel: {
|
|
2136
|
-
...
|
|
2136
|
+
...a.normal13,
|
|
2137
2137
|
textTransform: "capitalize",
|
|
2138
2138
|
padding: "16px 0 8px"
|
|
2139
2139
|
},
|
|
@@ -2187,12 +2187,12 @@ i({ wrapper: {
|
|
|
2187
2187
|
textAlign: "center"
|
|
2188
2188
|
},
|
|
2189
2189
|
noIconsParagraph: {
|
|
2190
|
-
...
|
|
2190
|
+
...a.normal13,
|
|
2191
2191
|
color: t.grey1,
|
|
2192
2192
|
wordWrap: "break-word"
|
|
2193
2193
|
},
|
|
2194
2194
|
noIconsQuery: {
|
|
2195
|
-
...
|
|
2195
|
+
...a.normal13,
|
|
2196
2196
|
color: t.mainDarkNavy
|
|
2197
2197
|
},
|
|
2198
2198
|
emptyIcon: {
|
|
@@ -2203,7 +2203,7 @@ i({ wrapper: {
|
|
|
2203
2203
|
height: "inherit"
|
|
2204
2204
|
}
|
|
2205
2205
|
});
|
|
2206
|
-
var l =
|
|
2206
|
+
var l = n({
|
|
2207
2207
|
nullIconWrapper: {
|
|
2208
2208
|
position: "relative",
|
|
2209
2209
|
width: "100%",
|
|
@@ -2224,7 +2224,7 @@ var l = i({
|
|
|
2224
2224
|
zIndex: 999,
|
|
2225
2225
|
width: "max-content",
|
|
2226
2226
|
padding: "8px",
|
|
2227
|
-
...
|
|
2227
|
+
...a.normal12,
|
|
2228
2228
|
color: t.grey1,
|
|
2229
2229
|
borderRadius: 4,
|
|
2230
2230
|
backgroundColor: t.white,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { t as e } from "./rolldown-runtime-DleVn1XH.js";
|
|
2
|
+
import { Sr as t } from "./visualization-filters-CzvFHE6M.js";
|
|
3
|
+
var n = {
|
|
4
|
+
SaveLocalVSpec: "VSPEC/SAVE_LOCAL_VSPEC",
|
|
5
|
+
UpdateVSpec: "VSPEC/UPDATE",
|
|
6
|
+
UpdateVSpecPartial: "VSPEC/UPDATE_PARTIAL",
|
|
7
|
+
ColumnVisibility: "VSPEC/COLUMN_VISIBILITY",
|
|
8
|
+
ColumnEnabled: "VSPEC/COLUMN_ENABLED"
|
|
9
|
+
}, r = /* @__PURE__ */ e(((e, n) => {
|
|
10
|
+
var r = t();
|
|
11
|
+
function i(e, t) {
|
|
12
|
+
return r(e, t);
|
|
13
|
+
}
|
|
14
|
+
n.exports = i;
|
|
15
|
+
}));
|
|
16
|
+
export { n, r as t };
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { o as e } from "./rolldown-runtime-DleVn1XH.js";
|
|
2
|
+
import { ci as t, it as n, nt as r } from "./utils-3Igg6xmO.js";
|
|
3
|
+
function i(e) {
|
|
4
|
+
return typeof e == "string";
|
|
5
|
+
}
|
|
6
|
+
var a = /* @__PURE__ */ e(t(), 1);
|
|
7
|
+
function o(...e) {
|
|
8
|
+
let t = a.useRef(void 0), n = a.useCallback((t) => {
|
|
9
|
+
let n = e.map((e) => {
|
|
10
|
+
if (e == null) return null;
|
|
11
|
+
if (typeof e == "function") {
|
|
12
|
+
let n = e, r = n(t);
|
|
13
|
+
return typeof r == "function" ? r : () => {
|
|
14
|
+
n(null);
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
return e.current = t, () => {
|
|
18
|
+
e.current = null;
|
|
19
|
+
};
|
|
20
|
+
});
|
|
21
|
+
return () => {
|
|
22
|
+
n.forEach((e) => e?.());
|
|
23
|
+
};
|
|
24
|
+
}, e);
|
|
25
|
+
return a.useMemo(() => e.every((e) => e == null) ? null : (e) => {
|
|
26
|
+
t.current &&= (t.current(), void 0), e != null && (t.current = n(e));
|
|
27
|
+
}, e);
|
|
28
|
+
}
|
|
29
|
+
function s(e) {
|
|
30
|
+
let t = a.useRef(e);
|
|
31
|
+
return r(() => {
|
|
32
|
+
t.current = e;
|
|
33
|
+
}), a.useRef((...e) => (0, t.current)(...e)).current;
|
|
34
|
+
}
|
|
35
|
+
function c(e) {
|
|
36
|
+
return e && e.ownerDocument || document;
|
|
37
|
+
}
|
|
38
|
+
function l(e) {
|
|
39
|
+
let { controlled: t, default: n, name: r, state: i = "value" } = e, { current: o } = a.useRef(t !== void 0), [s, c] = a.useState(n);
|
|
40
|
+
return [o ? t : s, a.useCallback((e) => {
|
|
41
|
+
o || c(e);
|
|
42
|
+
}, [])];
|
|
43
|
+
}
|
|
44
|
+
function u(e, t) {
|
|
45
|
+
let n = e.charCodeAt(2);
|
|
46
|
+
return e[0] === "o" && e[1] === "n" && n >= 65 && n <= 90 && typeof t == "function";
|
|
47
|
+
}
|
|
48
|
+
function d(e, t, n) {
|
|
49
|
+
return e === void 0 || i(e) ? t : {
|
|
50
|
+
...t,
|
|
51
|
+
ownerState: {
|
|
52
|
+
...t.ownerState,
|
|
53
|
+
...n
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function f(e, t, n) {
|
|
58
|
+
return typeof e == "function" ? e(t, n) : e;
|
|
59
|
+
}
|
|
60
|
+
function p(e) {
|
|
61
|
+
if (e === void 0) return {};
|
|
62
|
+
let t = {}, n = Object.keys(e);
|
|
63
|
+
for (let r = 0; r < n.length; r += 1) {
|
|
64
|
+
let i = n[r];
|
|
65
|
+
u(i, e[i]) && (t[i] = e[i]);
|
|
66
|
+
}
|
|
67
|
+
return t;
|
|
68
|
+
}
|
|
69
|
+
function m(e) {
|
|
70
|
+
if (e === void 0) return {};
|
|
71
|
+
let t = {}, n = Object.keys(e);
|
|
72
|
+
for (let r = 0; r < n.length; r += 1) {
|
|
73
|
+
let i = n[r];
|
|
74
|
+
u(i, e[i]) || (t[i] = e[i]);
|
|
75
|
+
}
|
|
76
|
+
return t;
|
|
77
|
+
}
|
|
78
|
+
function h(e) {
|
|
79
|
+
let { getSlotProps: t, additionalProps: r, externalSlotProps: i, externalForwardedProps: a, className: o } = e;
|
|
80
|
+
if (!t) {
|
|
81
|
+
let e = n(r?.className, o, a?.className, i?.className), t = {
|
|
82
|
+
...r,
|
|
83
|
+
...a,
|
|
84
|
+
...i
|
|
85
|
+
};
|
|
86
|
+
if (e.length > 0 && (t.className = e), r?.style || a?.style || i?.style) {
|
|
87
|
+
let e = {
|
|
88
|
+
...r?.style,
|
|
89
|
+
...a?.style,
|
|
90
|
+
...i?.style
|
|
91
|
+
};
|
|
92
|
+
Object.keys(e).length > 0 && (t.style = e);
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
props: t,
|
|
96
|
+
internalRef: void 0
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
let s = p({
|
|
100
|
+
...a,
|
|
101
|
+
...i
|
|
102
|
+
}), c = m(i), l = m(a), u = t(s), d = n(u?.className, r?.className, o, a?.className, i?.className), f = {
|
|
103
|
+
...u,
|
|
104
|
+
...r,
|
|
105
|
+
...l,
|
|
106
|
+
...c
|
|
107
|
+
};
|
|
108
|
+
if (d.length > 0 && (f.className = d), u?.style || r?.style || a?.style || i?.style) {
|
|
109
|
+
let e = {
|
|
110
|
+
...u?.style,
|
|
111
|
+
...r?.style,
|
|
112
|
+
...a?.style,
|
|
113
|
+
...i?.style
|
|
114
|
+
};
|
|
115
|
+
Object.keys(e).length > 0 && (f.style = e);
|
|
116
|
+
}
|
|
117
|
+
return {
|
|
118
|
+
props: f,
|
|
119
|
+
internalRef: u.ref
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
function g(e, t) {
|
|
123
|
+
let { className: n, elementType: r, ownerState: i, externalForwardedProps: a, internalForwardedProps: s, shouldForwardComponentProp: c = !1, ...l } = t, { component: u, slots: p = { [e]: void 0 }, slotProps: m = { [e]: void 0 }, ...g } = a, _ = p[e] || r, v = f(m[e], i), { props: { component: y, ...b }, internalRef: x } = h({
|
|
124
|
+
className: n,
|
|
125
|
+
...l,
|
|
126
|
+
externalForwardedProps: e === "root" ? g : void 0,
|
|
127
|
+
externalSlotProps: v
|
|
128
|
+
}), S = o(x, v?.ref, t.ref), C = e === "root" ? y || u : y;
|
|
129
|
+
return [_, d(_, {
|
|
130
|
+
...e === "root" && !u && !p[e] && s,
|
|
131
|
+
...e !== "root" && !p[e] && s,
|
|
132
|
+
...b,
|
|
133
|
+
...C && !c && { as: C },
|
|
134
|
+
...C && c && { component: C },
|
|
135
|
+
ref: S
|
|
136
|
+
}, i)];
|
|
137
|
+
}
|
|
138
|
+
function _(e) {
|
|
139
|
+
try {
|
|
140
|
+
return e.matches(":focus-visible");
|
|
141
|
+
} catch {}
|
|
142
|
+
return !1;
|
|
143
|
+
}
|
|
144
|
+
export { f as a, l as c, o as d, i as f, p as i, c as l, g as n, d as o, h as r, u as s, _ as t, s as u };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var e = {
|
|
2
|
+
None: "none",
|
|
3
|
+
Diverging: "diverging",
|
|
4
|
+
Silhouette: "silhouette",
|
|
5
|
+
Expand: "expand",
|
|
6
|
+
Wiggle: "wiggle"
|
|
7
|
+
}, t = {
|
|
8
|
+
Auto: "auto",
|
|
9
|
+
Manual: "manual",
|
|
10
|
+
Data: "data",
|
|
11
|
+
PerMeasure: "perMeasure"
|
|
12
|
+
}, n = {
|
|
13
|
+
Measure: "measure",
|
|
14
|
+
Dimension: "dimension",
|
|
15
|
+
DimensionAndMeasure: "dimensionAndMeasure"
|
|
16
|
+
};
|
|
17
|
+
export { t as n, e as r, n as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as e } from "./visualization-filters-
|
|
2
|
-
import { A as t, C as n, E as r, S as i, T as a,
|
|
3
|
-
import {
|
|
4
|
-
import { b as D, g as O, v as k, w as A } from "./operations-
|
|
1
|
+
import { r as e } from "./visualization-filters-CzvFHE6M.js";
|
|
2
|
+
import { A as t, C as n, E as r, S as i, T as a, W as o, _ as s, a as c, c as l, d as u, f as d, g as f, h as p, i as m, k as h, n as g, o as _, r as v, s as y, t as b, u as x, v as S, x as C, y as w } from "./shared-UitWpq1J.js";
|
|
3
|
+
import { Ap as T, bm as E } from "./handlers-ZviIUC-j.js";
|
|
4
|
+
import { b as D, g as O, v as k, w as A } from "./operations-DZoY50VX.js";
|
|
5
5
|
e();
|
|
6
6
|
var j = async (e) => {
|
|
7
7
|
let j = T(e);
|
|
@@ -145,7 +145,7 @@ var j = async (e) => {
|
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
147
|
Object.entries(U?.axes ?? {}).forEach(([e, t]) => {
|
|
148
|
-
t.titleVisible !== void 0 && H.push({
|
|
148
|
+
t && (t.titleVisible !== void 0 && H.push({
|
|
149
149
|
name: O.SET_SHOW_AXIS_TITLE,
|
|
150
150
|
payload: {
|
|
151
151
|
axisName: e,
|
|
@@ -181,7 +181,7 @@ var j = async (e) => {
|
|
|
181
181
|
axisName: e,
|
|
182
182
|
scale: t.scale
|
|
183
183
|
}
|
|
184
|
-
});
|
|
184
|
+
}));
|
|
185
185
|
});
|
|
186
186
|
let G = U?.axes?.primaryMeasure?.bands;
|
|
187
187
|
return G && H.push({
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-DleVn1XH.js";
|
|
2
|
-
import {
|
|
3
|
-
var re =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
import { Da as t, Fr as n, Ja as r, Na as i, Rr as a, b as o, dl as s, fl as c, pl as l, r as u, t as ee, ul as te, x as ne } from "./visualization-filters-CzvFHE6M.js";
|
|
3
|
+
var re = {
|
|
4
|
+
MANUAL_DATA_UPDATED: "MANUAL_DATA_UPDATED",
|
|
5
|
+
VISUALIZATION_READY_EVENT: "visualization-ready-event",
|
|
6
|
+
VISUALIZATION_STATE: "visualization-state",
|
|
7
|
+
SET_PROPERTY_PANEL_TAB: "set-property-panel-tab",
|
|
8
|
+
SET_PROPERTY_PANEL_OBJECT_TAB: "set-property-panel-object-tab",
|
|
9
|
+
HOST_BRUSH: "host-brush"
|
|
10
|
+
}, ie = {
|
|
11
|
+
RENDERING: "rendering",
|
|
12
|
+
RENDERED: "rendered",
|
|
13
|
+
ERROR: "error"
|
|
14
|
+
};
|
|
15
|
+
i.None, i.Fill, i.Contain, i.Cover;
|
|
9
16
|
var ae = /* @__PURE__ */ e(((e) => {
|
|
10
17
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
11
18
|
})), d = /* @__PURE__ */ e(((e) => {
|
|
@@ -95,7 +102,7 @@ var ae = /* @__PURE__ */ e(((e) => {
|
|
|
95
102
|
})), n = e && e.__exportStar || function(e, n) {
|
|
96
103
|
for (var r in e) r !== "default" && !Object.prototype.hasOwnProperty.call(n, r) && t(n, e, r);
|
|
97
104
|
};
|
|
98
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), n(
|
|
105
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), n(l(), e);
|
|
99
106
|
})), O = /* @__PURE__ */ e(((e) => {
|
|
100
107
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
101
108
|
})), k = /* @__PURE__ */ e(((e) => {
|
|
@@ -382,7 +389,7 @@ var ae = /* @__PURE__ */ e(((e) => {
|
|
|
382
389
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.FeatureFlags = void 0;
|
|
383
390
|
var t;
|
|
384
391
|
(function(e) {
|
|
385
|
-
e.
|
|
392
|
+
e.ASTRATO_AI_INSIGHTS = "global.insights.astrato-ai", e.EDITOR_AGGREGATE_OBJECT_INIT = "ui.editor-aggregate-object-init", e.EDITOR_OPTIMISTIC_ITEM_PATCH_MODE = "ui.editor-optimistic-item-patch-mode", e.WORKBOOK_QUERY_INSIGHTS_DETAILS = "ui.workbook.query-insights-details", e.ACTIONS_REPORTING_EXCEL = "ui.actions.reporting-excel", e.ACTIONS_REPORTING_POWERPOINT = "ui.actions.reporting-powerpoint", e.EVENT_PARAMETERS_ACTION = "ui.actions.event-parameters", e.WRITEBACK_UPDATE_ACTION = "ui.actions.writeback-update", e.FILTER_BAR_HISTORY = "ui.filter-bar-history", e.OBJECT_REGISTRY = "daedalus.object-registry", e.DEBUG_MODE = "global.debug-mode", e.NOTIFICATIONS = "ui.notifications", e.TWO_FACTOR_AUTHENTICATION = "global.auth.two-factor-authentication", e.LINKED_OBJECTS = "ui.linked-objects", e.PUBLISH_OVERRIDE_WORKBOOK = "global.publish-override-workbook", e.VISUALIZATIONS_CUSTOM_REPORT_AI = "ui.visualizations.custom-report.ai", e.NOTIFICATION_INTEGRATION = "global.notification-integrations", e.MEASURE_AI_GENERATION_ADVANCED = "ui.dve.measure-ai-generation-advanced", e.DVE_CHANGE_OAUTH_USER_BTN_FOR_GOOLGE_BIG_QUERY = "ui.dve.change-oauth-user-btn-for-goolge-big-query", e.DVE_AI_COMPOSER = "ui.dve.ai-composer", e.DVE_ITEMS_SUGGESTIONS = "ui.dve.items-suggestions", e.DVE_GLOBAL_DATA_REDUCTION = "ui.dve.global-data-reduction", e.DVE_AI_QUERY_BAR = "ui.dve.ai-query-bar", e.NEW_PROPERTY_PANEL = "ui.new-property-panel", e.AI_COMPOSER = "global.ai-composer", e.WORKBOOK_DATA_SETS = "global.workbook-data-sets", e.VSPEC_ACTIONS = "ui.actions.vspec", e.SUPABASE_DATASOURCE = "ui.datasources.supabase", e.SNOWFLAKE_CORTEX_API = "global.ai-providers.snowflake-cortex-api", e.FIREWORKS_AI = "global.ai-providers.fireworks-ai", e.WORKBOOK_PP_RESIZE = "ui.workbook.pp-resize", e.WORKBOOK_TRANSFER_VERSION_SLE_OPTIONS = "ui.workbook.transfer-version-sle-options", e.ADMINISTRATION_EXPORTS_SCHEDULE = "ui.administration.exports.schedule", e.VISUALIZATIONS_UDF_NESTED_CALCULATION = "ui.visualizations.udf-nested-calculation", e.NOTIFICATION_INTEGRATION_TEAMS_APP = "global.notification-integrations.teams-app", e.EXIT_NODE = "global.exit-node", e.PRINTING_EXIT_NODE = "global.printing-exit-node", e.LEGACY_ENGINE_ROUTING = "global.legacy-engine-routing", e.DATA_ACCESS_TOKEN_AUTH = "global.auth.data-access-token", e.ACL_EXPLICIT_OWNERSHIP_ENGINE = "global.acl-explicit-ownership-engine", e.SLE_LOBBY = "global.sle.lobby", e.SLE_FORCE_NEW_LOBBY = "global.sle.force-new-lobby", e.DVE_SLE2 = "ui.dve.sle2", e.DVE_FORCE_NEW_SEMANTIC_LAYER = "ui.dve.force-new-semantic-layer", e.WORKBOOK_SLE_ENTITY_EDITOR = "ui.workbook.sle-entity-editor", e.STATIC_PUBLISHED_APPLICATIONS = "global.static-published-applications";
|
|
386
393
|
})(t || (e.FeatureFlags = t = {}));
|
|
387
394
|
})), Oe = /* @__PURE__ */ e(((e) => {
|
|
388
395
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.WorkbookSortingNames = void 0;
|
|
@@ -583,7 +590,7 @@ var ae = /* @__PURE__ */ e(((e) => {
|
|
|
583
590
|
var a;
|
|
584
591
|
(function(e) {
|
|
585
592
|
e.SYSTEM = "system", e.USER = "user", e.ASSISTANT = "assistant", e.TOOL = "tool";
|
|
586
|
-
})(a || (e.ChatRole = a = {})), n(
|
|
593
|
+
})(a || (e.ChatRole = a = {})), n(te(), e);
|
|
587
594
|
})), et = /* @__PURE__ */ e(((e) => {
|
|
588
595
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.ActionType = void 0;
|
|
589
596
|
var t;
|
|
@@ -732,11 +739,15 @@ var ae = /* @__PURE__ */ e(((e) => {
|
|
|
732
739
|
e.NONE = "NONE", e.ALL = "ALL", e.GROUPS = "GROUPS";
|
|
733
740
|
})(t || (e.WhoCanShareWithEnum = t = {}));
|
|
734
741
|
})), mt = /* @__PURE__ */ e(((e) => {
|
|
735
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.AIProviderType = void 0;
|
|
742
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.AIProviderExecutionProfile = e.AIProviderType = void 0;
|
|
736
743
|
var t;
|
|
737
744
|
(function(e) {
|
|
738
745
|
e.OpenAI = "openai", e.AzureOpenAI = "azureopenai", e.SnowflakeCortex = "snowflakecortex", e.SnowflakeCortexAPI = "snowflakecortexapi", e.GoogleGemini = "googlegemini", e.AnthropicClaude = "anthropicclaude", e.FireworksAI = "fireworksai", e.AstratoDefault = "astrato-default";
|
|
739
746
|
})(t || (e.AIProviderType = t = {}));
|
|
747
|
+
var n;
|
|
748
|
+
(function(e) {
|
|
749
|
+
e.ResponsesToolCalling = "responses-tool-calling", e.TextGeneration = "text-generation";
|
|
750
|
+
})(n || (e.AIProviderExecutionProfile = n = {}));
|
|
740
751
|
})), ht = /* @__PURE__ */ e(((e) => {
|
|
741
752
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.IntegrationOption = e.EMessageAppIntegration = void 0;
|
|
742
753
|
var t;
|
|
@@ -998,7 +1009,7 @@ var ae = /* @__PURE__ */ e(((e) => {
|
|
|
998
1009
|
})), n = e && e.__exportStar || function(e, n) {
|
|
999
1010
|
for (var r in e) r !== "default" && !Object.prototype.hasOwnProperty.call(n, r) && t(n, e, r);
|
|
1000
1011
|
};
|
|
1001
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), n(
|
|
1012
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), n(c(), e);
|
|
1002
1013
|
})), an = /* @__PURE__ */ e(((e) => {
|
|
1003
1014
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
1004
1015
|
})), on = /* @__PURE__ */ e(((e) => {
|
|
@@ -1071,64 +1082,64 @@ var ae = /* @__PURE__ */ e(((e) => {
|
|
|
1071
1082
|
})), n = e && e.__exportStar || function(e, n) {
|
|
1072
1083
|
for (var r in e) r !== "default" && !Object.prototype.hasOwnProperty.call(n, r) && t(n, e, r);
|
|
1073
1084
|
};
|
|
1074
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), n(ae(), e), n(d(), e), n(f(), e), n(p(), e), n(m(), e), n(h(), e), n(g(), e), n(_(), e), n(v(), e), n(y(), e), n(b(), e), n(x(), e), n(S(), e), n(C(), e), n(w(), e), n(T(), e), n(E(), e), n(D(), e), n(O(), e), n(k(), e), n(A(), e), n(j(), e), n(M(), e), n(N(), e), n(P(), e), n(F(), e), n(I(), e), n(L(), e), n(R(), e), n(z(), e), n(B(), e), n(V(), e), n(H(), e), n(U(), e), n(W(), e), n(vt(), e), n(yt(), e), n(bt(), e), n(xt(), e), n(St(), e), n(Ct(), e), n(wt(), e), n(Tt(), e), n(Et(), e), n(Dt(), e), n(Ot(), e), n(kt(), e), n(At(), e), n(jt(), e), n(Mt(), e), n(Nt(), e), n(Pt(), e), n(Ft(), e), n(It(), e), n(Lt(), e), n(Rt(), e), n(zt(), e), n(Bt(), e), n(Vt(), e), n(Ht(), e), n(Ut(), e), n(Wt(), e), n(Gt(), e), n(Kt(), e), n(qt(), e), n(Jt(), e), n(Yt(), e), n(Xt(), e), n(Zt(), e), n(Qt(), e), n($t(), e), n(en(), e), n(tn(), e), n(nn(), e), n(rn(), e), n(an(), e), n(X(), e), n(on(), e), n(sn(), e), n(
|
|
1085
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), n(ae(), e), n(d(), e), n(f(), e), n(p(), e), n(m(), e), n(h(), e), n(g(), e), n(_(), e), n(v(), e), n(y(), e), n(b(), e), n(x(), e), n(S(), e), n(C(), e), n(w(), e), n(T(), e), n(E(), e), n(D(), e), n(O(), e), n(k(), e), n(A(), e), n(j(), e), n(M(), e), n(N(), e), n(P(), e), n(F(), e), n(I(), e), n(L(), e), n(R(), e), n(z(), e), n(B(), e), n(V(), e), n(H(), e), n(U(), e), n(W(), e), n(vt(), e), n(yt(), e), n(bt(), e), n(xt(), e), n(St(), e), n(Ct(), e), n(wt(), e), n(Tt(), e), n(Et(), e), n(Dt(), e), n(Ot(), e), n(kt(), e), n(At(), e), n(jt(), e), n(Mt(), e), n(Nt(), e), n(Pt(), e), n(Ft(), e), n(It(), e), n(Lt(), e), n(Rt(), e), n(zt(), e), n(Bt(), e), n(Vt(), e), n(Ht(), e), n(Ut(), e), n(Wt(), e), n(Gt(), e), n(Kt(), e), n(qt(), e), n(Jt(), e), n(Yt(), e), n(Xt(), e), n(Zt(), e), n(Qt(), e), n($t(), e), n(en(), e), n(tn(), e), n(nn(), e), n(rn(), e), n(an(), e), n(X(), e), n(on(), e), n(sn(), e), n(ee(), e), n(u(), e), n(cn(), e), n(ln(), e), n(un(), e), n(Z(), e), n(dn(), e), n(fn(), e), n(pn(), e), n(mn(), e), n(hn(), e), n(gn(), e), n(_n(), e), n(vn(), e), n(yn(), e);
|
|
1075
1086
|
})), $ = Q(), bn = {
|
|
1076
|
-
[
|
|
1077
|
-
[
|
|
1078
|
-
[
|
|
1079
|
-
[
|
|
1080
|
-
[
|
|
1081
|
-
[
|
|
1082
|
-
[
|
|
1083
|
-
[
|
|
1084
|
-
[
|
|
1085
|
-
[
|
|
1086
|
-
[
|
|
1087
|
-
[
|
|
1087
|
+
[r.EQUALS]: "Equals",
|
|
1088
|
+
[r.DOES_NOT_EQUAL]: "Does not equal",
|
|
1089
|
+
[r.IS_NULL]: "Is null/empty",
|
|
1090
|
+
[r.NOT_NULL]: "Not null/empty",
|
|
1091
|
+
[r.CONTAINS]: "Contains",
|
|
1092
|
+
[r.EXCLUDES]: "Excludes",
|
|
1093
|
+
[r.LIKE]: "Like",
|
|
1094
|
+
[r.NOT_LIKE]: "Not like",
|
|
1095
|
+
[r.STARTS_WITH]: "Starts with",
|
|
1096
|
+
[r.ENDS_WITH]: "Ends with",
|
|
1097
|
+
[r.IN_LIST]: "In list",
|
|
1098
|
+
[r.EXCLUDED_FROM_LIST]: "Excluded from list"
|
|
1088
1099
|
}, xn = {
|
|
1089
|
-
[
|
|
1090
|
-
[
|
|
1091
|
-
[
|
|
1092
|
-
[
|
|
1093
|
-
[
|
|
1094
|
-
[
|
|
1095
|
-
[
|
|
1096
|
-
[
|
|
1097
|
-
[
|
|
1098
|
-
[
|
|
1099
|
-
[
|
|
1100
|
-
[
|
|
1101
|
-
[
|
|
1102
|
-
[
|
|
1100
|
+
[r.PREDEFINED_DATE_RANGE]: "Date range",
|
|
1101
|
+
[r.DIVIDER]: "divider",
|
|
1102
|
+
[r.EQUALS]: "Equals",
|
|
1103
|
+
[r.DOES_NOT_EQUAL]: "Does not equal",
|
|
1104
|
+
[r.GREATER_THAN]: "Greater than",
|
|
1105
|
+
[r.LESS_THAN]: "Less than",
|
|
1106
|
+
[r.GREATER_THAN_OR_EQUAL]: "Greater than/equal to",
|
|
1107
|
+
[r.LESS_THAN_OR_EQUAL]: "Less than/equal to",
|
|
1108
|
+
[r.IS_BETWEEN]: "Is between",
|
|
1109
|
+
[r.IS_NOT_BETWEEN]: "Is not between",
|
|
1110
|
+
[r.IS_NULL]: "Is null/empty",
|
|
1111
|
+
[r.NOT_NULL]: "Not null/empty",
|
|
1112
|
+
[r.IN_LIST]: "In list",
|
|
1113
|
+
[r.EXCLUDED_FROM_LIST]: "Excluded from list"
|
|
1103
1114
|
}, Sn = {
|
|
1104
|
-
[
|
|
1105
|
-
[
|
|
1106
|
-
[
|
|
1107
|
-
[
|
|
1108
|
-
[
|
|
1109
|
-
[
|
|
1110
|
-
[
|
|
1111
|
-
[
|
|
1112
|
-
[
|
|
1113
|
-
[
|
|
1115
|
+
[r.EQUALS]: "Equals",
|
|
1116
|
+
[r.DOES_NOT_EQUAL]: "Does not equal",
|
|
1117
|
+
[r.GREATER_THAN]: "Greater than",
|
|
1118
|
+
[r.LESS_THAN]: "Less than",
|
|
1119
|
+
[r.GREATER_THAN_OR_EQUAL]: "Greater than/equal to",
|
|
1120
|
+
[r.LESS_THAN_OR_EQUAL]: "Less than/equal to",
|
|
1121
|
+
[r.IS_BETWEEN]: "Is between",
|
|
1122
|
+
[r.IS_NOT_BETWEEN]: "Is not between",
|
|
1123
|
+
[r.IS_NULL]: "Is null/empty",
|
|
1124
|
+
[r.NOT_NULL]: "Not null/empty"
|
|
1114
1125
|
}, Cn = {
|
|
1115
|
-
[
|
|
1116
|
-
[
|
|
1117
|
-
[
|
|
1118
|
-
[
|
|
1119
|
-
[
|
|
1120
|
-
[
|
|
1121
|
-
[
|
|
1122
|
-
[
|
|
1126
|
+
[r.EQUALS]: "Equals",
|
|
1127
|
+
[r.DOES_NOT_EQUAL]: "Does not equal",
|
|
1128
|
+
[r.IS_BETWEEN]: "Is between",
|
|
1129
|
+
[r.IS_NOT_BETWEEN]: "Is not between",
|
|
1130
|
+
[r.PREVIOUS]: "Previous",
|
|
1131
|
+
[r.CURRENT]: "Current",
|
|
1132
|
+
[r.BEFORE]: "Before",
|
|
1133
|
+
[r.AFTER]: "After"
|
|
1123
1134
|
}, wn = {
|
|
1124
|
-
[
|
|
1125
|
-
[
|
|
1126
|
-
[
|
|
1127
|
-
[
|
|
1135
|
+
[r.EQUALS]: "Equals",
|
|
1136
|
+
[r.DOES_NOT_EQUAL]: "Does not equal",
|
|
1137
|
+
[r.IS_NULL]: "Is null/empty",
|
|
1138
|
+
[r.NOT_NULL]: "Not null/empty"
|
|
1128
1139
|
};
|
|
1129
1140
|
$.DynamicDateCalcRangeType.MinDate, $.DynamicDateCalcRangeType.MaxDate, t.grey4;
|
|
1130
1141
|
var Tn = /* @__PURE__ */ e(((e, t) => {
|
|
1131
|
-
var n =
|
|
1142
|
+
var n = ne();
|
|
1132
1143
|
t.exports = o()(function(e, t, r) {
|
|
1133
1144
|
n(e, t, r);
|
|
1134
1145
|
});
|
|
@@ -1142,16 +1153,16 @@ var Tn = /* @__PURE__ */ e(((e, t) => {
|
|
|
1142
1153
|
a((e, ...t) => {
|
|
1143
1154
|
try {
|
|
1144
1155
|
if (En) switch (e) {
|
|
1145
|
-
case
|
|
1156
|
+
case n.ERROR:
|
|
1146
1157
|
console.error(...t);
|
|
1147
1158
|
break;
|
|
1148
|
-
case
|
|
1159
|
+
case n.WARN:
|
|
1149
1160
|
console.warn(...t);
|
|
1150
1161
|
break;
|
|
1151
|
-
case
|
|
1162
|
+
case n.INFO:
|
|
1152
1163
|
console.info(...t);
|
|
1153
1164
|
break;
|
|
1154
|
-
case
|
|
1165
|
+
case n.DEBUG:
|
|
1155
1166
|
console.debug(...t);
|
|
1156
1167
|
break;
|
|
1157
1168
|
default:
|