@devtable/dashboard 14.25.0 → 14.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dashboard.es.js +252 -248
- package/dist/dashboard.umd.js +3 -3
- package/dist/stats.html +1 -1
- package/dist/version.json +2 -2
- package/package.json +1 -1
package/dist/dashboard.es.js
CHANGED
|
@@ -16,7 +16,7 @@ import "echarts-gl";
|
|
|
16
16
|
import * as Be from "echarts/core";
|
|
17
17
|
import { use as zu } from "echarts/core";
|
|
18
18
|
import { useBoolean as De, useCreation as Pt, usePrevious as Tu, useAsyncEffect as Ln, useRequest as dn, useLatest as oa, useWhyDidYouUpdate as cl } from "ahooks";
|
|
19
|
-
import { Box as
|
|
19
|
+
import { Box as A, TextInput as V, Group as y, Text as k, Select as q, Button as L, Modal as we, Stack as T, Divider as P, NumberInput as ne, SimpleGrid as ke, Menu as W, UnstyledButton as Ca, Tooltip as re, Flex as tt, ColorInput as Jt, Center as Ot, ActionIcon as te, Badge as jt, CloseButton as xt, Overlay as en, NativeSelect as ka, useMantineTheme as kr, ColorSwatch as dr, Popover as ut, ColorPicker as Gi, HoverCard as _e, Checkbox as J, Paper as Du, Code as Hi, Tabs as S, Switch as Ce, Table as w, MultiSelect as un, LoadingOverlay as tn, Alert as Un, Collapse as Kn, CheckIcon as Iu, SegmentedControl as za, Anchor as Qn, Pagination as zr, Textarea as dl, RangeSlider as Mu, Autocomplete as Lu, Combobox as Nt, Mark as ul, Slider as Vu, List as We, getRadius as Ta, Affix as Au, AppShell as Xe, FileInput as $u, Highlight as Pu, rem as Wi, ThemeIcon as ar, JsonInput as hl, Drawer as Ru, Radio as Ui, Skeleton as Ki, NavLink as la, useCombobox as Eu, Loader as Da, InputBase as Ou, Input as qu } from "@mantine/core";
|
|
20
20
|
import { useHover as Fu, useDisclosure as nn, useClipboard as Nu, randomId as hn, useElementSize as pl, useResizeObserver as Bu, useInputState as ml } from "@mantine/hooks";
|
|
21
21
|
import * as ju from "popmotion";
|
|
22
22
|
import { interpolate as bn } from "popmotion";
|
|
@@ -2425,7 +2425,7 @@ function hm() {
|
|
|
2425
2425
|
} = $.useContext(ts);
|
|
2426
2426
|
return e ? document.getElementById(e) : null;
|
|
2427
2427
|
}
|
|
2428
|
-
const rs = "14.
|
|
2428
|
+
const rs = "14.26.0", pm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2429
2429
|
__proto__: null,
|
|
2430
2430
|
version: rs
|
|
2431
2431
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -2573,7 +2573,7 @@ const X = (e, t) => {
|
|
|
2573
2573
|
width: e,
|
|
2574
2574
|
height: t,
|
|
2575
2575
|
children: n
|
|
2576
|
-
}) => /* @__PURE__ */ r(
|
|
2576
|
+
}) => /* @__PURE__ */ r(A, { pt: Ze.top, pr: Ze.right, pb: Ze.bottom, pl: Ze.left, sx: {
|
|
2577
2577
|
width: e,
|
|
2578
2578
|
height: t,
|
|
2579
2579
|
overflow: "hidden",
|
|
@@ -2584,7 +2584,7 @@ ee(function({
|
|
|
2584
2584
|
onChange: n,
|
|
2585
2585
|
...a
|
|
2586
2586
|
}, i) {
|
|
2587
|
-
return /* @__PURE__ */ r(
|
|
2587
|
+
return /* @__PURE__ */ r(V, { ref: i, value: t, onChange: n, ...a });
|
|
2588
2588
|
});
|
|
2589
2589
|
class bm {
|
|
2590
2590
|
constructor({
|
|
@@ -3169,7 +3169,7 @@ function jm(e) {
|
|
|
3169
3169
|
hovered: s,
|
|
3170
3170
|
ref: c
|
|
3171
3171
|
} = Fu();
|
|
3172
|
-
return /* @__PURE__ */ r(
|
|
3172
|
+
return /* @__PURE__ */ r(A, { ref: c, ...a, children: /* @__PURE__ */ u(y, { wrap: "nowrap", justify: "space-between", children: [
|
|
3173
3173
|
/* @__PURE__ */ r(k, { size: "sm", sx: {
|
|
3174
3174
|
flexGrow: 1
|
|
3175
3175
|
}, children: l }),
|
|
@@ -3197,7 +3197,7 @@ const ve = (e) => (t, n) => {
|
|
|
3197
3197
|
const {
|
|
3198
3198
|
panel: p
|
|
3199
3199
|
} = Ve(), g = $.useMemo(() => p.variableOptions(a, s), [a, s]);
|
|
3200
|
-
return g.length === 0 ? /* @__PURE__ */ r(
|
|
3200
|
+
return g.length === 0 ? /* @__PURE__ */ r(V, { ref: t, label: n, placeholder: a, readOnly: !0, disabled: !0 }) : /* @__PURE__ */ r(q, { ref: t, label: n, description: o, renderOption: jm(d), data: g, value: a, required: l, sx: c, maxDropdownHeight: 500, comboboxProps: {
|
|
3201
3201
|
withinPortal: !0,
|
|
3202
3202
|
zIndex: h
|
|
3203
3203
|
}, onChange: ve(i) });
|
|
@@ -3214,7 +3214,7 @@ const ve = (e) => (t, n) => {
|
|
|
3214
3214
|
}, Qm = ({
|
|
3215
3215
|
value: e,
|
|
3216
3216
|
onChange: t
|
|
3217
|
-
}) => /* @__PURE__ */ r(
|
|
3217
|
+
}) => /* @__PURE__ */ r(A, { children: /* @__PURE__ */ r(qt, { height: "500px", defaultLanguage: "javascript", value: e, onChange: (a) => {
|
|
3218
3218
|
a && t(a);
|
|
3219
3219
|
}, theme: "vs-dark", options: {
|
|
3220
3220
|
minimap: {
|
|
@@ -3250,7 +3250,7 @@ const ve = (e) => (t, n) => {
|
|
|
3250
3250
|
h(xs.dynamic.value);
|
|
3251
3251
|
};
|
|
3252
3252
|
return /* @__PURE__ */ u(F, { children: [
|
|
3253
|
-
/* @__PURE__ */ r(
|
|
3253
|
+
/* @__PURE__ */ r(A, { sx: {
|
|
3254
3254
|
width: "50%"
|
|
3255
3255
|
}, children: /* @__PURE__ */ r(L, { color: "grape", variant: "filled", leftSection: /* @__PURE__ */ r(Wt, { size: 16 }), mt: 24, onClick: i, sx: {
|
|
3256
3256
|
flexGrow: 0
|
|
@@ -3489,7 +3489,7 @@ const Ym = Km(), Xm = ({
|
|
|
3489
3489
|
borderRadius: "0.25rem",
|
|
3490
3490
|
columnGap: 10
|
|
3491
3491
|
}, children: [
|
|
3492
|
-
/* @__PURE__ */ r(
|
|
3492
|
+
/* @__PURE__ */ r(A, { style: {
|
|
3493
3493
|
height: "20px",
|
|
3494
3494
|
flexGrow: 1,
|
|
3495
3495
|
backgroundImage: i,
|
|
@@ -3503,7 +3503,7 @@ const Ym = Km(), Xm = ({
|
|
|
3503
3503
|
/* @__PURE__ */ r(W.Divider, {}),
|
|
3504
3504
|
Object.entries(Ym).map(([o, l]) => /* @__PURE__ */ r(re, { label: a("chart.visual_map.use_palette_x", {
|
|
3505
3505
|
x: o
|
|
3506
|
-
}), children: /* @__PURE__ */ r(W.Item, { children: /* @__PURE__ */ r(
|
|
3506
|
+
}), children: /* @__PURE__ */ r(W.Item, { children: /* @__PURE__ */ r(A, { style: {
|
|
3507
3507
|
height: "20px",
|
|
3508
3508
|
width: "100%",
|
|
3509
3509
|
backgroundImage: `linear-gradient(to right, ${l.join(", ")})`,
|
|
@@ -3622,9 +3622,9 @@ const Ym = Km(), Xm = ({
|
|
|
3622
3622
|
s(e);
|
|
3623
3623
|
}, [e]);
|
|
3624
3624
|
const c = ae(() => s(e), [s, e]);
|
|
3625
|
-
return /* @__PURE__ */ u(
|
|
3625
|
+
return /* @__PURE__ */ u(A, { children: [
|
|
3626
3626
|
/* @__PURE__ */ r(P, { color: "rgb(206, 212, 218)", variant: "dotted", my: "1rem" }),
|
|
3627
|
-
/* @__PURE__ */ u(
|
|
3627
|
+
/* @__PURE__ */ u(A, { px: "1rem", children: [
|
|
3628
3628
|
/* @__PURE__ */ r(f, { control: o, name: "variable", render: ({
|
|
3629
3629
|
field: d
|
|
3630
3630
|
}) => /* @__PURE__ */ r(ea, { label: a("rich_text.color_mapping.choose_value_var"), clearable: !1, preview: "aggregated", zIndex: 340, ...d }) }),
|
|
@@ -3637,7 +3637,7 @@ const Ym = Km(), Xm = ({
|
|
|
3637
3637
|
}, ...d }) }),
|
|
3638
3638
|
/* @__PURE__ */ r(f, { name: "min_val", control: o, render: ({
|
|
3639
3639
|
field: d
|
|
3640
|
-
}) => /* @__PURE__ */ r(
|
|
3640
|
+
}) => /* @__PURE__ */ r(V, { label: a("rich_text.color_mapping.min.val"), ...d, sx: {
|
|
3641
3641
|
maxWidth: "120px",
|
|
3642
3642
|
flexGrow: 0
|
|
3643
3643
|
} }) })
|
|
@@ -3651,7 +3651,7 @@ const Ym = Km(), Xm = ({
|
|
|
3651
3651
|
}, ...d }) }),
|
|
3652
3652
|
/* @__PURE__ */ r(f, { name: "max_val", control: o, render: ({
|
|
3653
3653
|
field: d
|
|
3654
|
-
}) => /* @__PURE__ */ r(
|
|
3654
|
+
}) => /* @__PURE__ */ r(V, { label: a("rich_text.color_mapping.max.val"), ...d, sx: {
|
|
3655
3655
|
maxWidth: "120px",
|
|
3656
3656
|
flexGrow: 0
|
|
3657
3657
|
} }) })
|
|
@@ -3686,7 +3686,7 @@ const tg = () => /* @__PURE__ */ r("div", { style: {
|
|
|
3686
3686
|
background: Cs(90, ...Object.values(At.graphics.depth))
|
|
3687
3687
|
} }), ng = ({
|
|
3688
3688
|
disabled: e
|
|
3689
|
-
}) => /* @__PURE__ */ r(
|
|
3689
|
+
}) => /* @__PURE__ */ r(A, { sx: {
|
|
3690
3690
|
width: "16px",
|
|
3691
3691
|
height: "10px",
|
|
3692
3692
|
borderRadius: "2px",
|
|
@@ -3931,7 +3931,7 @@ const Nn = "data-value", dg = Nn, Is = "dynamicColor", Ms = Bl.create({
|
|
|
3931
3931
|
] })
|
|
3932
3932
|
] }),
|
|
3933
3933
|
/* @__PURE__ */ r(k, { size: "14px", children: n }),
|
|
3934
|
-
/* @__PURE__ */ u(
|
|
3934
|
+
/* @__PURE__ */ u(A, { sx: {
|
|
3935
3935
|
position: "relative",
|
|
3936
3936
|
flexGrow: 1
|
|
3937
3937
|
}, children: [
|
|
@@ -3959,7 +3959,7 @@ const Nn = "data-value", dg = Nn, Is = "dynamicColor", Ms = Bl.create({
|
|
|
3959
3959
|
return /* @__PURE__ */ u(F, { children: [
|
|
3960
3960
|
/* @__PURE__ */ u(we, { opened: g, onClose: b, title: e, withinPortal: !0, zIndex: d, size: "900px", children: [
|
|
3961
3961
|
i,
|
|
3962
|
-
/* @__PURE__ */ r(
|
|
3962
|
+
/* @__PURE__ */ r(A, { h: 600, children: /* @__PURE__ */ r(fn, { value: t, onChange: n, defaultValue: c, label: a, restrictions: h }) })
|
|
3963
3963
|
] }),
|
|
3964
3964
|
s == null ? void 0 : s({
|
|
3965
3965
|
onClick: _
|
|
@@ -4352,7 +4352,7 @@ const Rs = ({
|
|
|
4352
4352
|
const c = s.currentTarget.value;
|
|
4353
4353
|
o(c), Cg(c) && t(c);
|
|
4354
4354
|
}, [t]);
|
|
4355
|
-
return /* @__PURE__ */ r(
|
|
4355
|
+
return /* @__PURE__ */ r(V, { value: i, onChange: l, leftSection: /* @__PURE__ */ r(Rs, { value: i }), size: "xs", placeholder: a("chart.color.not_set"), styles: {
|
|
4356
4356
|
root: {
|
|
4357
4357
|
flexGrow: 1
|
|
4358
4358
|
},
|
|
@@ -4580,7 +4580,7 @@ class ze extends $.Component {
|
|
|
4580
4580
|
error: null
|
|
4581
4581
|
});
|
|
4582
4582
|
};
|
|
4583
|
-
return /* @__PURE__ */ u(
|
|
4583
|
+
return /* @__PURE__ */ u(A, { children: [
|
|
4584
4584
|
/* @__PURE__ */ r(k, { size: "xs", children: (t = this.state.error) == null ? void 0 : t.message }),
|
|
4585
4585
|
/* @__PURE__ */ r(L, { variant: "subtle", mx: "auto", size: "compact-xs", sx: {
|
|
4586
4586
|
display: "block"
|
|
@@ -4827,7 +4827,7 @@ const Y = D(ee(({
|
|
|
4827
4827
|
if (p.length === 0) {
|
|
4828
4828
|
const g = h.explainDataKey(a);
|
|
4829
4829
|
return /* @__PURE__ */ u(_e, { shadow: "md", position: "bottom-start", withinPortal: !0, zIndex: 320, children: [
|
|
4830
|
-
/* @__PURE__ */ r(_e.Target, { children: /* @__PURE__ */ r(
|
|
4830
|
+
/* @__PURE__ */ r(_e.Target, { children: /* @__PURE__ */ r(A, { children: /* @__PURE__ */ r(V, { label: e, required: t, defaultValue: g.columnKey, readOnly: !0, disabled: !0 }) }) }),
|
|
4831
4831
|
/* @__PURE__ */ r(_e.Dropdown, { children: /* @__PURE__ */ u(y, { justify: "flex-start", gap: 0, children: [
|
|
4832
4832
|
/* @__PURE__ */ r(k, { size: "xs", c: g.queryName ? "black" : "red", ff: "monospace", children: g.queryName ?? g.queryID }),
|
|
4833
4833
|
/* @__PURE__ */ r(k, { size: "xs", c: "black", ff: "monospace", children: "." }),
|
|
@@ -4863,7 +4863,7 @@ function qg({
|
|
|
4863
4863
|
}) => /* @__PURE__ */ r(Y, { label: "Data Field", required: !0, ...s }) }),
|
|
4864
4864
|
/* @__PURE__ */ r(f, { name: "xAxis3D.name", control: i, render: ({
|
|
4865
4865
|
field: s
|
|
4866
|
-
}) => /* @__PURE__ */ r(
|
|
4866
|
+
}) => /* @__PURE__ */ r(V, { sx: {
|
|
4867
4867
|
flexGrow: 1
|
|
4868
4868
|
}, size: "md", label: "Name", ...s }) })
|
|
4869
4869
|
] }),
|
|
@@ -4877,7 +4877,7 @@ function qg({
|
|
|
4877
4877
|
}) => /* @__PURE__ */ r(Y, { label: "Data Field", required: !0, ...s }) }),
|
|
4878
4878
|
/* @__PURE__ */ r(f, { name: "yAxis3D.name", control: i, render: ({
|
|
4879
4879
|
field: s
|
|
4880
|
-
}) => /* @__PURE__ */ r(
|
|
4880
|
+
}) => /* @__PURE__ */ r(V, { sx: {
|
|
4881
4881
|
flexGrow: 1
|
|
4882
4882
|
}, size: "md", label: "Name", ...s }) })
|
|
4883
4883
|
] }),
|
|
@@ -4891,7 +4891,7 @@ function qg({
|
|
|
4891
4891
|
}) => /* @__PURE__ */ r(Y, { label: "Data Field", required: !0, ...s }) }),
|
|
4892
4892
|
/* @__PURE__ */ r(f, { name: "zAxis3D.name", control: i, render: ({
|
|
4893
4893
|
field: s
|
|
4894
|
-
}) => /* @__PURE__ */ r(
|
|
4894
|
+
}) => /* @__PURE__ */ r(V, { sx: {
|
|
4895
4895
|
flexGrow: 1
|
|
4896
4896
|
}, size: "md", label: "Name", ...s }) })
|
|
4897
4897
|
] }),
|
|
@@ -4980,7 +4980,7 @@ const Gg = {
|
|
|
4980
4980
|
disabled: e,
|
|
4981
4981
|
value: t,
|
|
4982
4982
|
onChange: n
|
|
4983
|
-
}) => /* @__PURE__ */ u(
|
|
4983
|
+
}) => /* @__PURE__ */ u(A, { sx: {
|
|
4984
4984
|
position: "relative"
|
|
4985
4985
|
}, children: [
|
|
4986
4986
|
e && /* @__PURE__ */ r(en, { backgroundOpacity: 0.6, color: "#fff", zIndex: 5, blur: 2 }),
|
|
@@ -5176,7 +5176,7 @@ const gr = ee(({
|
|
|
5176
5176
|
/* @__PURE__ */ r(ne, { label: i("chart.axis.overflow.max_width"), hideControls: !0, value: t.width, onChange: l("width") }),
|
|
5177
5177
|
/* @__PURE__ */ r(q, { label: i("chart.axis.overflow.label"), data: s, value: t.overflow, onChange: l("overflow") }),
|
|
5178
5178
|
/* @__PURE__ */ r(
|
|
5179
|
-
|
|
5179
|
+
V,
|
|
5180
5180
|
{
|
|
5181
5181
|
label: i("chart.axis.overflow.ellipsis"),
|
|
5182
5182
|
value: t.ellipsis,
|
|
@@ -5600,7 +5600,7 @@ function mf(e) {
|
|
|
5600
5600
|
urlTemplate: c.currentTarget.value
|
|
5601
5601
|
});
|
|
5602
5602
|
return /* @__PURE__ */ u(T, { children: [
|
|
5603
|
-
/* @__PURE__ */ r(
|
|
5603
|
+
/* @__PURE__ */ r(V, { label: t("interactions.operation.open_link.url"), value: n.urlTemplate, onChange: s, onBlur: o }),
|
|
5604
5604
|
/* @__PURE__ */ r(Ce, { label: t("interactions.operation.open_link.open_in_new_tab"), checked: n.openInNewTab, onChange: (c) => l(c.currentTarget.checked) })
|
|
5605
5605
|
] });
|
|
5606
5606
|
}
|
|
@@ -5653,7 +5653,7 @@ function _f(e) {
|
|
|
5653
5653
|
const {
|
|
5654
5654
|
t
|
|
5655
5655
|
} = x(), [n, a] = yf(e.operation);
|
|
5656
|
-
return /* @__PURE__ */ r(
|
|
5656
|
+
return /* @__PURE__ */ r(V, { defaultValue: n, onBlur: (i) => a(i.currentTarget.value), label: t("interactions.operation.console_log.log_content") });
|
|
5657
5657
|
}
|
|
5658
5658
|
async function xf(e, t) {
|
|
5659
5659
|
const n = await t.operationData.getItem("config"), a = Sa(n.template || "");
|
|
@@ -5711,7 +5711,7 @@ const Cf = {
|
|
|
5711
5711
|
const [n, a] = Q(e);
|
|
5712
5712
|
return N(() => {
|
|
5713
5713
|
a(e);
|
|
5714
|
-
}, [e]), /* @__PURE__ */ r(
|
|
5714
|
+
}, [e]), /* @__PURE__ */ r(V, { size: "xs", label: "", value: n, onChange: (o) => a(o.currentTarget.value), sx: {
|
|
5715
5715
|
flexGrow: 1
|
|
5716
5716
|
}, rightSection: /* @__PURE__ */ r(te, { color: "green", variant: "subtle", size: "xs", onClick: () => {
|
|
5717
5717
|
t(n);
|
|
@@ -6897,7 +6897,7 @@ function yb(e) {
|
|
|
6897
6897
|
right: "0.8em"
|
|
6898
6898
|
} }) }),
|
|
6899
6899
|
/* @__PURE__ */ u(T, { children: [
|
|
6900
|
-
/* @__PURE__ */ r(
|
|
6900
|
+
/* @__PURE__ */ r(V, { size: "xs", label: t("style.color.interpolation.palette.mapping.value_input_label"), value: s, onChange: (G) => {
|
|
6901
6901
|
const ue = G.currentTarget.value;
|
|
6902
6902
|
c(ue);
|
|
6903
6903
|
}, error: s && K }),
|
|
@@ -7155,19 +7155,19 @@ const _b = D(({
|
|
|
7155
7155
|
return /* @__PURE__ */ u(T, { children: [
|
|
7156
7156
|
/* @__PURE__ */ r(P, { variant: "dashed", label: a("chart.zooming.scroll.label"), labelPosition: "center" }),
|
|
7157
7157
|
/* @__PURE__ */ u(y, { children: [
|
|
7158
|
-
/* @__PURE__ */ r(
|
|
7158
|
+
/* @__PURE__ */ r(A, { sx: {
|
|
7159
7159
|
flexGrow: 1
|
|
7160
7160
|
}, children: /* @__PURE__ */ r(Ce, { label: a("chart.zooming.scroll.x_axis"), checked: e.x_axis_scroll, onChange: (o) => i("x_axis_scroll")(o.currentTarget.checked) }) }),
|
|
7161
|
-
/* @__PURE__ */ r(
|
|
7161
|
+
/* @__PURE__ */ r(A, { sx: {
|
|
7162
7162
|
flexGrow: 1
|
|
7163
7163
|
}, children: /* @__PURE__ */ r(Ce, { label: a("chart.zooming.scroll.y_axis"), checked: e.y_axis_scroll, onChange: (o) => i("y_axis_scroll")(o.currentTarget.checked) }) })
|
|
7164
7164
|
] }),
|
|
7165
7165
|
/* @__PURE__ */ r(P, { variant: "dashed", label: a("chart.zooming.slider.label"), labelPosition: "center" }),
|
|
7166
7166
|
/* @__PURE__ */ u(y, { children: [
|
|
7167
|
-
/* @__PURE__ */ r(
|
|
7167
|
+
/* @__PURE__ */ r(A, { sx: {
|
|
7168
7168
|
flexGrow: 1
|
|
7169
7169
|
}, children: /* @__PURE__ */ r(Ce, { label: a("chart.zooming.slider.x_axis"), checked: e.x_axis_slider, onChange: (o) => i("x_axis_slider")(o.currentTarget.checked) }) }),
|
|
7170
|
-
/* @__PURE__ */ r(re, { label: a("chart.zooming.slider.y_axis_disabled"), children: /* @__PURE__ */ r(
|
|
7170
|
+
/* @__PURE__ */ r(re, { label: a("chart.zooming.slider.y_axis_disabled"), children: /* @__PURE__ */ r(A, { sx: {
|
|
7171
7171
|
flexGrow: 1
|
|
7172
7172
|
}, children: /* @__PURE__ */ r(Ce, { label: a("chart.zooming.slider.y_axis"), disabled: !e.y_axis_slider, checked: e.y_axis_slider, onChange: (o) => i("y_axis_slider")(o.currentTarget.checked) }) }) })
|
|
7173
7173
|
] })
|
|
@@ -7233,7 +7233,7 @@ function Ib({
|
|
|
7233
7233
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
7234
7234
|
/* @__PURE__ */ r(f, { name: `reference_lines.${t}.name`, control: e, render: ({
|
|
7235
7235
|
field: i
|
|
7236
|
-
}) => /* @__PURE__ */ r(
|
|
7236
|
+
}) => /* @__PURE__ */ r(V, { label: a("common.name"), placeholder: a("chart.reference_line.name_placeholder"), required: !0, sx: {
|
|
7237
7237
|
flex: 1
|
|
7238
7238
|
}, ...i }) }),
|
|
7239
7239
|
/* @__PURE__ */ r(f, { name: `reference_lines.${t}.variable_key`, control: e, render: ({
|
|
@@ -7244,7 +7244,7 @@ function Ib({
|
|
|
7244
7244
|
] }),
|
|
7245
7245
|
/* @__PURE__ */ r(f, { name: `reference_lines.${t}.template`, control: e, render: ({
|
|
7246
7246
|
field: i
|
|
7247
|
-
}) => /* @__PURE__ */ r(
|
|
7247
|
+
}) => /* @__PURE__ */ r(V, { label: a("chart.content_template.label"), placeholder: a("chart.content_template.placeholder"), required: !0, sx: {
|
|
7248
7248
|
flex: 1
|
|
7249
7249
|
}, ...i }) })
|
|
7250
7250
|
] });
|
|
@@ -7282,7 +7282,7 @@ const Lb = ({
|
|
|
7282
7282
|
return /* @__PURE__ */ r(T, { children: /* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
7283
7283
|
/* @__PURE__ */ r(f, { name: `tooltip.metrics.${t}.name`, control: e, render: ({
|
|
7284
7284
|
field: a
|
|
7285
|
-
}) => /* @__PURE__ */ r(
|
|
7285
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), required: !0, sx: {
|
|
7286
7286
|
flex: 1
|
|
7287
7287
|
}, ...a }) }),
|
|
7288
7288
|
/* @__PURE__ */ r(f, { name: `tooltip.metrics.${t}.data_key`, control: e, render: ({
|
|
@@ -7354,7 +7354,7 @@ const Ut = ee(({
|
|
|
7354
7354
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
7355
7355
|
/* @__PURE__ */ r(f, { name: "x_axis.name", control: e, render: ({
|
|
7356
7356
|
field: a
|
|
7357
|
-
}) => /* @__PURE__ */ r(
|
|
7357
|
+
}) => /* @__PURE__ */ r(V, { label: n("chart.x_axis.x_axis_name"), sx: {
|
|
7358
7358
|
flex: 1
|
|
7359
7359
|
}, ...a }) }),
|
|
7360
7360
|
/* @__PURE__ */ r(f, { name: "x_axis.data_key", control: e, render: ({
|
|
@@ -7397,7 +7397,7 @@ function Rb({
|
|
|
7397
7397
|
} = x(), [n, {
|
|
7398
7398
|
toggle: a
|
|
7399
7399
|
}] = nn(!1);
|
|
7400
|
-
return /* @__PURE__ */ u(
|
|
7400
|
+
return /* @__PURE__ */ u(A, { children: [
|
|
7401
7401
|
/* @__PURE__ */ r(L, { variant: "subtle", w: "100%", size: "compact-sm", onClick: a, leftSection: n ? /* @__PURE__ */ r(Ju, { size: 14 }) : /* @__PURE__ */ r(_l, { size: 14 }), children: t(n ? "numbro.format.preview.close" : "numbro.format.preview.open") }),
|
|
7402
7402
|
/* @__PURE__ */ r(Kn, { in: n, children: n && /* @__PURE__ */ u(w, { highlightOnHover: !0, sx: {
|
|
7403
7403
|
tableLayout: "fixed"
|
|
@@ -7480,7 +7480,7 @@ function Eb({
|
|
|
7480
7480
|
/* @__PURE__ */ r(k, { size: "sm", children: a("numbro.format.trim_mantissa") }),
|
|
7481
7481
|
/* @__PURE__ */ r(k, { size: "12px", c: "gray", children: a("numbro.format.trim_mantissa_description") })
|
|
7482
7482
|
] }), checked: e.trimMantissa, onChange: l, disabled: e.mantissa === 0, styles: ta }),
|
|
7483
|
-
/* @__PURE__ */ r(
|
|
7483
|
+
/* @__PURE__ */ r(A, {})
|
|
7484
7484
|
] }),
|
|
7485
7485
|
/* @__PURE__ */ r(Rb, { format: e })
|
|
7486
7486
|
] });
|
|
@@ -7496,7 +7496,7 @@ const bt = $.forwardRef(Eb), Ob = ({
|
|
|
7496
7496
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
7497
7497
|
/* @__PURE__ */ r(f, { name: "y_axis.name", control: e, render: ({
|
|
7498
7498
|
field: a
|
|
7499
|
-
}) => /* @__PURE__ */ r(
|
|
7499
|
+
}) => /* @__PURE__ */ r(V, { label: n("chart.y_axis.y_axis_name"), sx: {
|
|
7500
7500
|
flex: 1
|
|
7501
7501
|
}, ...a }) }),
|
|
7502
7502
|
/* @__PURE__ */ r(f, { name: "y_axis.data_key", control: e, render: ({
|
|
@@ -7959,7 +7959,7 @@ function iy({
|
|
|
7959
7959
|
/* @__PURE__ */ u(T, { children: [
|
|
7960
7960
|
/* @__PURE__ */ r(f, { control: o, name: "content", render: ({
|
|
7961
7961
|
field: h
|
|
7962
|
-
}) => /* @__PURE__ */ r(
|
|
7962
|
+
}) => /* @__PURE__ */ r(V, { label: "Content Template", description: "Filter values & context entries are supported", ...h, required: !0 }) }),
|
|
7963
7963
|
/* @__PURE__ */ r(P, { mt: "xs", mb: 0, label: "Styles", labelPosition: "center", variant: "dashed" }),
|
|
7964
7964
|
/* @__PURE__ */ u(ke, { cols: 2, children: [
|
|
7965
7965
|
/* @__PURE__ */ r(f, { control: o, name: "variant", render: ({
|
|
@@ -8059,7 +8059,7 @@ const dy = {
|
|
|
8059
8059
|
label: n,
|
|
8060
8060
|
description: a
|
|
8061
8061
|
} = e;
|
|
8062
|
-
return /* @__PURE__ */ r(
|
|
8062
|
+
return /* @__PURE__ */ r(A, { ...t, children: /* @__PURE__ */ u(T, { gap: "0", children: [
|
|
8063
8063
|
/* @__PURE__ */ r(k, { size: "sm", children: n }),
|
|
8064
8064
|
/* @__PURE__ */ r(k, { size: "xs", opacity: 0.65, children: a })
|
|
8065
8065
|
] }) });
|
|
@@ -8816,7 +8816,7 @@ const ec = {
|
|
|
8816
8816
|
n(g);
|
|
8817
8817
|
}, [d, a.current]);
|
|
8818
8818
|
const h = z(() => d ? "none" : "block", [d]);
|
|
8819
|
-
return /* @__PURE__ */ r(
|
|
8819
|
+
return /* @__PURE__ */ r(A, { sx: {
|
|
8820
8820
|
display: h
|
|
8821
8821
|
}, children: /* @__PURE__ */ r(Rn, { ref: a, value: c, styles: {
|
|
8822
8822
|
root: {
|
|
@@ -9477,12 +9477,12 @@ function g_({
|
|
|
9477
9477
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
9478
9478
|
/* @__PURE__ */ r(f, { name: `reference_areas.${t}.name`, control: e, render: ({
|
|
9479
9479
|
field: s
|
|
9480
|
-
}) => /* @__PURE__ */ r(
|
|
9480
|
+
}) => /* @__PURE__ */ r(V, { label: a("chart.reference_area.label"), required: !0, sx: {
|
|
9481
9481
|
flex: 1
|
|
9482
9482
|
}, ...s }) }),
|
|
9483
9483
|
/* @__PURE__ */ r(f, { name: `reference_areas.${t}.color`, control: e, render: ({
|
|
9484
9484
|
field: s
|
|
9485
|
-
}) => /* @__PURE__ */ r(
|
|
9485
|
+
}) => /* @__PURE__ */ r(V, { label: a("chart.color.label"), required: !0, sx: {
|
|
9486
9486
|
flex: 1
|
|
9487
9487
|
}, ...s }) })
|
|
9488
9488
|
] }),
|
|
@@ -9578,7 +9578,7 @@ function b_({
|
|
|
9578
9578
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
9579
9579
|
/* @__PURE__ */ r(f, { name: `reference_lines.${t}.name`, control: e, render: ({
|
|
9580
9580
|
field: s
|
|
9581
|
-
}) => /* @__PURE__ */ r(
|
|
9581
|
+
}) => /* @__PURE__ */ r(V, { label: o("common.name"), placeholder: o("chart.reference_line.name_placeholder"), required: !0, sx: {
|
|
9582
9582
|
flex: 1
|
|
9583
9583
|
}, ...s }) }),
|
|
9584
9584
|
/* @__PURE__ */ r(f, { name: `reference_lines.${t}.variable_key`, control: e, render: ({
|
|
@@ -9589,7 +9589,7 @@ function b_({
|
|
|
9589
9589
|
] }),
|
|
9590
9590
|
/* @__PURE__ */ r(f, { name: `reference_lines.${t}.template`, control: e, render: ({
|
|
9591
9591
|
field: s
|
|
9592
|
-
}) => /* @__PURE__ */ r(
|
|
9592
|
+
}) => /* @__PURE__ */ r(V, { label: o("chart.content_template.label"), placeholder: o("chart.content_template.hint"), sx: {
|
|
9593
9593
|
flex: 1
|
|
9594
9594
|
}, ...s }) }),
|
|
9595
9595
|
/* @__PURE__ */ u(y, { grow: !0, children: [
|
|
@@ -9703,7 +9703,7 @@ function __({
|
|
|
9703
9703
|
/* @__PURE__ */ u(y, { grow: !0, children: [
|
|
9704
9704
|
/* @__PURE__ */ r(f, { name: `regressions.${n}.name`, control: e, render: ({
|
|
9705
9705
|
field: c
|
|
9706
|
-
}) => /* @__PURE__ */ r(
|
|
9706
|
+
}) => /* @__PURE__ */ r(V, { label: i("common.name"), required: !0, sx: {
|
|
9707
9707
|
flex: 1
|
|
9708
9708
|
}, ...c }) }),
|
|
9709
9709
|
/* @__PURE__ */ r(f, { name: `regressions.${n}.group_by_key`, control: e, render: ({
|
|
@@ -9808,7 +9808,7 @@ function x_({
|
|
|
9808
9808
|
const v_ = ({
|
|
9809
9809
|
value: e,
|
|
9810
9810
|
onChange: t
|
|
9811
|
-
}) => /* @__PURE__ */ r(
|
|
9811
|
+
}) => /* @__PURE__ */ r(A, { children: /* @__PURE__ */ r(qt, { height: "500px", defaultLanguage: "javascript", value: e, onChange: (a) => {
|
|
9812
9812
|
a && t(a);
|
|
9813
9813
|
}, theme: "vs-dark", options: {
|
|
9814
9814
|
minimap: {
|
|
@@ -9854,7 +9854,7 @@ const v_ = ({
|
|
|
9854
9854
|
h(ui.dynamic.func_content);
|
|
9855
9855
|
};
|
|
9856
9856
|
return /* @__PURE__ */ u(F, { children: [
|
|
9857
|
-
/* @__PURE__ */ r(
|
|
9857
|
+
/* @__PURE__ */ r(A, { sx: {
|
|
9858
9858
|
width: "50%"
|
|
9859
9859
|
}, children: /* @__PURE__ */ r(L, { color: "grape", variant: "filled", mt: 24, onClick: i, sx: {
|
|
9860
9860
|
flexGrow: 0
|
|
@@ -10054,7 +10054,7 @@ function k_({
|
|
|
10054
10054
|
color: "grape"
|
|
10055
10055
|
} })
|
|
10056
10056
|
] }),
|
|
10057
|
-
i && /* @__PURE__ */ r(
|
|
10057
|
+
i && /* @__PURE__ */ r(V, { label: l("panel.variable.aggregation.fallback_value"), description: l("panel.variable.aggregation.fallback_value_description"), value: t.fallback, onChange: g })
|
|
10058
10058
|
] });
|
|
10059
10059
|
}
|
|
10060
10060
|
const pi = $.forwardRef(k_), On = ee(({
|
|
@@ -10139,7 +10139,7 @@ function z_({
|
|
|
10139
10139
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
10140
10140
|
/* @__PURE__ */ r(f, { name: `series.${t}.stack`, control: e, render: ({
|
|
10141
10141
|
field: s
|
|
10142
|
-
}) => /* @__PURE__ */ r(
|
|
10142
|
+
}) => /* @__PURE__ */ r(V, { label: a("chart.series.bar.stack"), placeholder: a("chart.series.bar.stack_hint"), sx: {
|
|
10143
10143
|
flexGrow: 1
|
|
10144
10144
|
}, ...s }) }),
|
|
10145
10145
|
/* @__PURE__ */ r(f, { name: `series.${t}.barGap`, control: e, render: ({
|
|
@@ -10151,17 +10151,17 @@ function z_({
|
|
|
10151
10151
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
10152
10152
|
/* @__PURE__ */ r(f, { name: `series.${t}.barMinWidth`, control: e, render: ({
|
|
10153
10153
|
field: s
|
|
10154
|
-
}) => /* @__PURE__ */ r(
|
|
10154
|
+
}) => /* @__PURE__ */ r(V, { label: a("chart.series.bar.bar_width.min"), disabled: o, sx: {
|
|
10155
10155
|
flexGrow: 1
|
|
10156
10156
|
}, ...s }) }),
|
|
10157
10157
|
/* @__PURE__ */ r(f, { name: `series.${t}.barWidth`, control: e, render: ({
|
|
10158
10158
|
field: s
|
|
10159
|
-
}) => /* @__PURE__ */ r(
|
|
10159
|
+
}) => /* @__PURE__ */ r(V, { label: a("chart.series.bar.bar_width.exact"), sx: {
|
|
10160
10160
|
flexGrow: 1
|
|
10161
10161
|
}, ...s }) }),
|
|
10162
10162
|
/* @__PURE__ */ r(f, { name: `series.${t}.barMaxWidth`, control: e, render: ({
|
|
10163
10163
|
field: s
|
|
10164
|
-
}) => /* @__PURE__ */ r(
|
|
10164
|
+
}) => /* @__PURE__ */ r(V, { label: a("chart.series.bar.bar_width.max"), disabled: o, sx: {
|
|
10165
10165
|
flexGrow: 1
|
|
10166
10166
|
}, ...s }) })
|
|
10167
10167
|
] })
|
|
@@ -10189,6 +10189,11 @@ function T_({
|
|
|
10189
10189
|
value: "end"
|
|
10190
10190
|
}], [i.language]);
|
|
10191
10191
|
return /* @__PURE__ */ u(F, { children: [
|
|
10192
|
+
/* @__PURE__ */ r(f, { name: `series.${t}.stack`, control: e, render: ({
|
|
10193
|
+
field: s
|
|
10194
|
+
}) => /* @__PURE__ */ r(V, { label: a("chart.series.bar.stack"), placeholder: a("chart.series.bar.stack_hint"), sx: {
|
|
10195
|
+
flexGrow: 1
|
|
10196
|
+
}, ...s }) }),
|
|
10192
10197
|
/* @__PURE__ */ r(P, { mb: -15, variant: "dashed", label: a("chart.series.line.line_settings"), labelPosition: "center" }),
|
|
10193
10198
|
/* @__PURE__ */ u(y, { grow: !0, children: [
|
|
10194
10199
|
/* @__PURE__ */ r(f, { name: `series.${t}.lineStyle.type`, control: e, render: ({
|
|
@@ -10215,12 +10220,12 @@ function T_({
|
|
|
10215
10220
|
/* @__PURE__ */ u(T, { children: [
|
|
10216
10221
|
/* @__PURE__ */ r(f, { name: `series.${t}.smooth`, control: e, render: ({
|
|
10217
10222
|
field: s
|
|
10218
|
-
}) => /* @__PURE__ */ r(
|
|
10223
|
+
}) => /* @__PURE__ */ r(A, { sx: {
|
|
10219
10224
|
flexGrow: 1
|
|
10220
10225
|
}, children: /* @__PURE__ */ r(Ce, { label: a("chart.series.line.smooth_line"), checked: s.value, onChange: (c) => s.onChange(c.currentTarget.checked) }) }) }),
|
|
10221
10226
|
/* @__PURE__ */ r(f, { name: `series.${t}.display_name_on_line`, control: e, render: ({
|
|
10222
10227
|
field: s
|
|
10223
|
-
}) => /* @__PURE__ */ r(
|
|
10228
|
+
}) => /* @__PURE__ */ r(A, { sx: {
|
|
10224
10229
|
flexGrow: 1
|
|
10225
10230
|
}, children: /* @__PURE__ */ r(Ce, { label: a("chart.series.line.show_name_on_line"), checked: s.value ?? !1, onChange: (c) => s.onChange(c.currentTarget.checked) }) }) })
|
|
10226
10231
|
] })
|
|
@@ -10228,7 +10233,7 @@ function T_({
|
|
|
10228
10233
|
/* @__PURE__ */ u(T, { children: [
|
|
10229
10234
|
/* @__PURE__ */ r(f, { name: `series.${t}.showSymbol`, control: e, render: ({
|
|
10230
10235
|
field: s
|
|
10231
|
-
}) => /* @__PURE__ */ r(
|
|
10236
|
+
}) => /* @__PURE__ */ r(A, { mt: 10, mb: -10, sx: {
|
|
10232
10237
|
flexGrow: 1
|
|
10233
10238
|
}, children: /* @__PURE__ */ r(Ce, { label: a("chart.series.line.show_symbol_on_line"), checked: s.value, onChange: (c) => s.onChange(c.currentTarget.checked) }) }) }),
|
|
10234
10239
|
o && /* @__PURE__ */ r(f, { name: `series.${t}.symbolSize`, control: e, render: ({
|
|
@@ -10275,7 +10280,7 @@ function I_({
|
|
|
10275
10280
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
10276
10281
|
/* @__PURE__ */ r(f, { name: `series.${t}.name`, control: e, render: ({
|
|
10277
10282
|
field: s
|
|
10278
|
-
}) => /* @__PURE__ */ r(
|
|
10283
|
+
}) => /* @__PURE__ */ r(V, { label: i("chart.series.name"), required: !0, sx: {
|
|
10279
10284
|
flex: 1
|
|
10280
10285
|
}, ...s }) }),
|
|
10281
10286
|
/* @__PURE__ */ r(f, { name: `series.${t}.yAxisIndex`, control: e, render: ({
|
|
@@ -10410,7 +10415,7 @@ const L_ = D(({
|
|
|
10410
10415
|
return /* @__PURE__ */ r(T, { children: /* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
10411
10416
|
/* @__PURE__ */ r(f, { name: `tooltip.metrics.${t}.name`, control: e, render: ({
|
|
10412
10417
|
field: a
|
|
10413
|
-
}) => /* @__PURE__ */ r(
|
|
10418
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), required: !0, sx: {
|
|
10414
10419
|
flex: 1
|
|
10415
10420
|
}, ...a }) }),
|
|
10416
10421
|
/* @__PURE__ */ r(f, { name: `tooltip.metrics.${t}.data_key`, control: e, render: ({
|
|
@@ -10498,7 +10503,7 @@ function R_({
|
|
|
10498
10503
|
return /* @__PURE__ */ u(T, { children: [
|
|
10499
10504
|
/* @__PURE__ */ r(f, { name: "x_axis_name", control: e, render: ({
|
|
10500
10505
|
field: o
|
|
10501
|
-
}) => /* @__PURE__ */ r(
|
|
10506
|
+
}) => /* @__PURE__ */ r(V, { label: n("chart.x_axis.x_axis_name"), sx: {
|
|
10502
10507
|
flex: 1
|
|
10503
10508
|
}, ...o }) }),
|
|
10504
10509
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
@@ -10582,7 +10587,7 @@ function E_({
|
|
|
10582
10587
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
10583
10588
|
/* @__PURE__ */ r(f, { name: `y_axes.${t}.name`, control: e, render: ({
|
|
10584
10589
|
field: a
|
|
10585
|
-
}) => /* @__PURE__ */ r(
|
|
10590
|
+
}) => /* @__PURE__ */ r(V, { label: n("chart.y_axis.y_axis_name"), required: !0, sx: {
|
|
10586
10591
|
flex: 1
|
|
10587
10592
|
}, ...a }) }),
|
|
10588
10593
|
/* @__PURE__ */ r(f, { name: `y_axes.${t}.nameAlignment`, control: e, render: ({
|
|
@@ -10613,10 +10618,10 @@ function E_({
|
|
|
10613
10618
|
/* @__PURE__ */ u(y, { grow: !0, children: [
|
|
10614
10619
|
/* @__PURE__ */ r(f, { name: `y_axes.${t}.min`, control: e, render: ({
|
|
10615
10620
|
field: a
|
|
10616
|
-
}) => /* @__PURE__ */ r(
|
|
10621
|
+
}) => /* @__PURE__ */ r(V, { label: n("chart.y_axis.value_min"), ...a }) }),
|
|
10617
10622
|
/* @__PURE__ */ r(f, { name: `y_axes.${t}.max`, control: e, render: ({
|
|
10618
10623
|
field: a
|
|
10619
|
-
}) => /* @__PURE__ */ r(
|
|
10624
|
+
}) => /* @__PURE__ */ r(V, { label: n("chart.y_axis.value_max"), ...a }) })
|
|
10620
10625
|
] })
|
|
10621
10626
|
] }),
|
|
10622
10627
|
/* @__PURE__ */ r(P, { mb: -10, mt: 10, variant: "dashed", label: n("chart.y_axis.behavior"), labelPosition: "center" }),
|
|
@@ -10968,7 +10973,7 @@ const J_ = ({
|
|
|
10968
10973
|
return /* @__PURE__ */ u(T, { children: [
|
|
10969
10974
|
/* @__PURE__ */ r(y, { grow: !0, wrap: "nowrap", children: /* @__PURE__ */ r(f, { name: `series.${n}.name`, control: t, render: ({
|
|
10970
10975
|
field: p
|
|
10971
|
-
}) => /* @__PURE__ */ r(
|
|
10976
|
+
}) => /* @__PURE__ */ r(V, { label: i("viz.funnel_chart.series_name"), ...p }) }) }),
|
|
10972
10977
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
10973
10978
|
/* @__PURE__ */ r(f, { name: `series.${n}.level_name_data_key`, control: t, render: ({
|
|
10974
10979
|
field: p
|
|
@@ -10987,13 +10992,13 @@ const J_ = ({
|
|
|
10987
10992
|
width: "100%"
|
|
10988
10993
|
}, children: [
|
|
10989
10994
|
/* @__PURE__ */ r(k, { size: "sm", children: i("viz.funnel_chart.min_value") }),
|
|
10990
|
-
/* @__PURE__ */ r(re, { label: i("viz.funnel_chart.min_value_checkbox_tip"), children: /* @__PURE__ */ r(
|
|
10995
|
+
/* @__PURE__ */ r(re, { label: i("viz.funnel_chart.min_value_checkbox_tip"), children: /* @__PURE__ */ r(A, { children: /* @__PURE__ */ r(f, { name: `series.${n}.min.enable_value`, control: t, render: ({
|
|
10991
10996
|
field: g
|
|
10992
10997
|
}) => /* @__PURE__ */ r(J, { size: "xs", checked: g.value, onChange: (_) => g.onChange(_.currentTarget.checked) }) }) }) })
|
|
10993
10998
|
] }), ...p }) }),
|
|
10994
10999
|
/* @__PURE__ */ r(f, { name: `series.${n}.min.size`, control: t, render: ({
|
|
10995
11000
|
field: p
|
|
10996
|
-
}) => /* @__PURE__ */ r(
|
|
11001
|
+
}) => /* @__PURE__ */ r(V, { placeholder: "0%", label: i("viz.funnel_chart.min_size"), ...p }) })
|
|
10997
11002
|
] }),
|
|
10998
11003
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
10999
11004
|
/* @__PURE__ */ r(f, { name: `series.${n}.max.value`, control: t, render: ({
|
|
@@ -11004,13 +11009,13 @@ const J_ = ({
|
|
|
11004
11009
|
width: "100%"
|
|
11005
11010
|
}, children: [
|
|
11006
11011
|
/* @__PURE__ */ r(k, { size: "sm", children: i("viz.funnel_chart.max_value") }),
|
|
11007
|
-
/* @__PURE__ */ r(re, { label: i("viz.funnel_chart.max_value_checkbox_tip"), children: /* @__PURE__ */ r(
|
|
11012
|
+
/* @__PURE__ */ r(re, { label: i("viz.funnel_chart.max_value_checkbox_tip"), children: /* @__PURE__ */ r(A, { children: /* @__PURE__ */ r(f, { name: `series.${n}.max.enable_value`, control: t, render: ({
|
|
11008
11013
|
field: g
|
|
11009
11014
|
}) => /* @__PURE__ */ r(J, { size: "xs", checked: g.value, onChange: (_) => g.onChange(_.currentTarget.checked) }) }) }) })
|
|
11010
11015
|
] }), ...p }) }),
|
|
11011
11016
|
/* @__PURE__ */ r(f, { name: `series.${n}.max.size`, control: t, render: ({
|
|
11012
11017
|
field: p
|
|
11013
|
-
}) => /* @__PURE__ */ r(
|
|
11018
|
+
}) => /* @__PURE__ */ r(V, { placeholder: "100%", label: i("viz.funnel_chart.max_size"), ...p }) })
|
|
11014
11019
|
] }),
|
|
11015
11020
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
11016
11021
|
/* @__PURE__ */ r(f, { name: `series.${n}.orient`, control: t, render: ({
|
|
@@ -11033,7 +11038,7 @@ const J_ = ({
|
|
|
11033
11038
|
/* @__PURE__ */ r(f, { name: `series.${n}.axisLabel.position`, control: t, render: ({
|
|
11034
11039
|
field: p
|
|
11035
11040
|
}) => /* @__PURE__ */ r(On, { label: i("chart.label_position.label"), options: d[c], ...p }) }),
|
|
11036
|
-
/* @__PURE__ */ r(
|
|
11041
|
+
/* @__PURE__ */ r(A, {})
|
|
11037
11042
|
] }),
|
|
11038
11043
|
/* @__PURE__ */ r(y, { grow: !0, wrap: "nowrap", children: /* @__PURE__ */ r(f, { name: `series.${n}.axisLabel.overflow`, control: t, render: ({
|
|
11039
11044
|
field: p
|
|
@@ -11249,7 +11254,7 @@ const sx = {
|
|
|
11249
11254
|
return /* @__PURE__ */ r(ka, { size: "xs", value: e, onChange: (i) => {
|
|
11250
11255
|
t(Number(i.currentTarget.value));
|
|
11251
11256
|
}, data: a });
|
|
11252
|
-
}, ux = (e) => e.totalPages <= 1 ? null : /* @__PURE__ */ r(
|
|
11257
|
+
}, ux = (e) => e.totalPages <= 1 ? null : /* @__PURE__ */ r(A, { sx: {
|
|
11253
11258
|
position: "absolute",
|
|
11254
11259
|
top: "calc(1rem + 5px)",
|
|
11255
11260
|
right: "calc(1rem + 5px)",
|
|
@@ -11547,10 +11552,10 @@ const er = ({
|
|
|
11547
11552
|
/* @__PURE__ */ u(y, { grow: !0, children: [
|
|
11548
11553
|
/* @__PURE__ */ r(f, { name: "visualMap.text.1", control: a, render: ({
|
|
11549
11554
|
field: d
|
|
11550
|
-
}) => /* @__PURE__ */ r(
|
|
11555
|
+
}) => /* @__PURE__ */ r(V, { label: t("chart.visual_map.min_text"), ...d }) }),
|
|
11551
11556
|
/* @__PURE__ */ r(f, { name: "visualMap.text.0", control: a, render: ({
|
|
11552
11557
|
field: d
|
|
11553
|
-
}) => /* @__PURE__ */ r(
|
|
11558
|
+
}) => /* @__PURE__ */ r(V, { label: t("chart.visual_map.max_text"), ...d }) })
|
|
11554
11559
|
] }),
|
|
11555
11560
|
/* @__PURE__ */ u(y, { grow: !0, children: [
|
|
11556
11561
|
/* @__PURE__ */ r(f, { name: "visualMap.orient", control: a, render: ({
|
|
@@ -11637,7 +11642,7 @@ const er = ({
|
|
|
11637
11642
|
/* @__PURE__ */ r(ut.Dropdown, { children: /* @__PURE__ */ u(y, { wrap: "nowrap", gap: 8, children: [
|
|
11638
11643
|
/* @__PURE__ */ r(f, { name: `visualMap.pieces.${t}.lower.value`, control: a, render: ({
|
|
11639
11644
|
field: p
|
|
11640
|
-
}) => /* @__PURE__ */ r(
|
|
11645
|
+
}) => /* @__PURE__ */ r(V, { ...p, placeholder: n("chart.visual_map.min_value"), size: "xs", onChange: (g) => p.onChange(g.currentTarget.value), error: p.value !== "" && Number.isNaN(Number(p.value)) }) }),
|
|
11641
11646
|
/* @__PURE__ */ r(f, { name: `visualMap.pieces.${t}.lower.symbol`, control: a, render: ({
|
|
11642
11647
|
field: p
|
|
11643
11648
|
}) => /* @__PURE__ */ r(q, { size: "xs", data: uo.lower, ...p, onChange: ve((g) => p.onChange(g)) }) }),
|
|
@@ -11650,7 +11655,7 @@ const er = ({
|
|
|
11650
11655
|
}) => /* @__PURE__ */ r(q, { size: "xs", data: uo.upper, ...p, onChange: ve((g) => p.onChange(g)) }) }),
|
|
11651
11656
|
/* @__PURE__ */ r(f, { name: `visualMap.pieces.${t}.upper.value`, control: a, render: ({
|
|
11652
11657
|
field: p
|
|
11653
|
-
}) => /* @__PURE__ */ r(
|
|
11658
|
+
}) => /* @__PURE__ */ r(V, { ...p, size: "xs", placeholder: n("chart.visual_map.max_value"), onChange: (g) => p.onChange(g.currentTarget.value), error: p.value !== "" && Number.isNaN(Number(p.value)) }) })
|
|
11654
11659
|
] }) })
|
|
11655
11660
|
] }) });
|
|
11656
11661
|
}, kx = ({
|
|
@@ -11668,7 +11673,7 @@ const er = ({
|
|
|
11668
11673
|
/* @__PURE__ */ r(w.Td, { children: /* @__PURE__ */ r(Cx, { form: e, index: t }) }),
|
|
11669
11674
|
/* @__PURE__ */ r(w.Td, { children: /* @__PURE__ */ r(f, { name: `visualMap.pieces.${t}.label`, control: a, render: ({
|
|
11670
11675
|
field: o
|
|
11671
|
-
}) => /* @__PURE__ */ r(
|
|
11676
|
+
}) => /* @__PURE__ */ r(V, { size: "xs", placeholder: "", ...o, onChange: (l) => o.onChange(l.currentTarget.value) }) }) }),
|
|
11672
11677
|
/* @__PURE__ */ r(w.Td, { children: /* @__PURE__ */ r(f, { name: `visualMap.pieces.${t}.color`, control: a, render: ({
|
|
11673
11678
|
field: o
|
|
11674
11679
|
}) => /* @__PURE__ */ r(Jt, { label: i(""), placeholder: i("chart.color.label"), size: "xs", popoverProps: {
|
|
@@ -12025,7 +12030,7 @@ function Rx({
|
|
|
12025
12030
|
}, ...i }) }),
|
|
12026
12031
|
/* @__PURE__ */ r(f, { name: "heat_block.name", control: e, render: ({
|
|
12027
12032
|
field: i
|
|
12028
|
-
}) => /* @__PURE__ */ r(
|
|
12033
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), sx: {
|
|
12029
12034
|
flex: 1
|
|
12030
12035
|
}, ...i }) })
|
|
12031
12036
|
] }),
|
|
@@ -12071,7 +12076,7 @@ const Ox = ({
|
|
|
12071
12076
|
return /* @__PURE__ */ r(T, { children: /* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
12072
12077
|
/* @__PURE__ */ r(f, { name: `tooltip.metrics.${t}.name`, control: e, render: ({
|
|
12073
12078
|
field: a
|
|
12074
|
-
}) => /* @__PURE__ */ r(
|
|
12079
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), required: !0, sx: {
|
|
12075
12080
|
flex: 1
|
|
12076
12081
|
}, ...a }) }),
|
|
12077
12082
|
/* @__PURE__ */ r(f, { name: `tooltip.metrics.${t}.data_key`, control: e, render: ({
|
|
@@ -12131,7 +12136,7 @@ function Nx({
|
|
|
12131
12136
|
}, ...a }) }),
|
|
12132
12137
|
/* @__PURE__ */ r(f, { name: "x_axis.name", control: e, render: ({
|
|
12133
12138
|
field: a
|
|
12134
|
-
}) => /* @__PURE__ */ r(
|
|
12139
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), sx: {
|
|
12135
12140
|
flex: 1
|
|
12136
12141
|
}, ...a }) })
|
|
12137
12142
|
] }),
|
|
@@ -12169,7 +12174,7 @@ function Bx({
|
|
|
12169
12174
|
}, ...a }) }),
|
|
12170
12175
|
/* @__PURE__ */ r(f, { name: "y_axis.name", control: e, render: ({
|
|
12171
12176
|
field: a
|
|
12172
|
-
}) => /* @__PURE__ */ r(
|
|
12177
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), sx: {
|
|
12173
12178
|
flex: 1
|
|
12174
12179
|
}, ...a }) })
|
|
12175
12180
|
] }),
|
|
@@ -12886,7 +12891,7 @@ function _v({
|
|
|
12886
12891
|
/* @__PURE__ */ u(y, { grow: !0, children: [
|
|
12887
12892
|
/* @__PURE__ */ r(f, { name: "bar.name", control: e, render: ({
|
|
12888
12893
|
field: a
|
|
12889
|
-
}) => /* @__PURE__ */ r(
|
|
12894
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), sx: {
|
|
12890
12895
|
flex: 1
|
|
12891
12896
|
}, ...a }) }),
|
|
12892
12897
|
/* @__PURE__ */ r(f, { name: "bar.nameAlignment", control: e, render: ({
|
|
@@ -12917,7 +12922,7 @@ function xv({
|
|
|
12917
12922
|
/* @__PURE__ */ u(y, { grow: !0, children: [
|
|
12918
12923
|
/* @__PURE__ */ r(f, { name: "line.name", control: e, render: ({
|
|
12919
12924
|
field: a
|
|
12920
|
-
}) => /* @__PURE__ */ r(
|
|
12925
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), sx: {
|
|
12921
12926
|
flex: 1
|
|
12922
12927
|
}, ...a }) }),
|
|
12923
12928
|
/* @__PURE__ */ r(f, { name: "line.nameAlignment", control: e, render: ({
|
|
@@ -13001,7 +13006,7 @@ function Cv({
|
|
|
13001
13006
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
13002
13007
|
/* @__PURE__ */ r(f, { name: `reference_lines.${t}.name`, control: e, render: ({
|
|
13003
13008
|
field: s
|
|
13004
|
-
}) => /* @__PURE__ */ r(
|
|
13009
|
+
}) => /* @__PURE__ */ r(V, { label: o("common.name"), placeholder: o("chart.reference_line.name_placeholder"), required: !0, sx: {
|
|
13005
13010
|
flex: 1
|
|
13006
13011
|
}, ...s }) }),
|
|
13007
13012
|
/* @__PURE__ */ r(f, { name: `reference_lines.${t}.variable_key`, control: e, render: ({
|
|
@@ -13012,7 +13017,7 @@ function Cv({
|
|
|
13012
13017
|
] }),
|
|
13013
13018
|
/* @__PURE__ */ r(f, { name: `reference_lines.${t}.template`, control: e, render: ({
|
|
13014
13019
|
field: s
|
|
13015
|
-
}) => /* @__PURE__ */ r(
|
|
13020
|
+
}) => /* @__PURE__ */ r(V, { label: o("chart.content_template.label"), placeholder: o("chart.content_template.hint"), sx: {
|
|
13016
13021
|
flex: 1
|
|
13017
13022
|
}, ...s }) }),
|
|
13018
13023
|
/* @__PURE__ */ u(y, { grow: !0, children: [
|
|
@@ -13100,7 +13105,7 @@ function zv({
|
|
|
13100
13105
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
13101
13106
|
/* @__PURE__ */ r(f, { name: "x_axis.name", control: e, render: ({
|
|
13102
13107
|
field: a
|
|
13103
|
-
}) => /* @__PURE__ */ r(
|
|
13108
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), sx: {
|
|
13104
13109
|
flex: 1
|
|
13105
13110
|
}, ...a }) }),
|
|
13106
13111
|
/* @__PURE__ */ r(f, { name: "x_axis.data_key", control: e, render: ({
|
|
@@ -13725,7 +13730,7 @@ const t1 = ({
|
|
|
13725
13730
|
/* @__PURE__ */ u(W.Dropdown, { children: [
|
|
13726
13731
|
/* @__PURE__ */ r(W.Label, { children: n("viz.pie_chart.color.map.click_to_apply_palette") }),
|
|
13727
13732
|
/* @__PURE__ */ r(W.Divider, {}),
|
|
13728
|
-
Jv.map((o) => /* @__PURE__ */ r(W.Item, { onClick: () => i(o.colors), children: /* @__PURE__ */ r(
|
|
13733
|
+
Jv.map((o) => /* @__PURE__ */ r(W.Item, { onClick: () => i(o.colors), children: /* @__PURE__ */ r(A, { h: 28, style: {
|
|
13729
13734
|
backgroundImage: e1(o.colors)
|
|
13730
13735
|
} }) }, o.name))
|
|
13731
13736
|
] })
|
|
@@ -14349,7 +14354,7 @@ function I1({
|
|
|
14349
14354
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", align: "top", children: [
|
|
14350
14355
|
/* @__PURE__ */ r(f, { name: `dimensions.${t}.name`, control: e, render: ({
|
|
14351
14356
|
field: a
|
|
14352
|
-
}) => /* @__PURE__ */ r(
|
|
14357
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), required: !0, sx: {
|
|
14353
14358
|
flex: 1
|
|
14354
14359
|
}, ...a }) }),
|
|
14355
14360
|
/* @__PURE__ */ r(f, { name: `dimensions.${t}.data_key`, control: e, render: ({
|
|
@@ -14367,7 +14372,7 @@ function I1({
|
|
|
14367
14372
|
fieldState: i
|
|
14368
14373
|
}) => {
|
|
14369
14374
|
var o;
|
|
14370
|
-
return /* @__PURE__ */ r(
|
|
14375
|
+
return /* @__PURE__ */ r(V, { label: n("common.max"), required: !0, sx: {
|
|
14371
14376
|
flex: 1
|
|
14372
14377
|
}, ...a, error: (o = i.error) == null ? void 0 : o.message });
|
|
14373
14378
|
} })
|
|
@@ -15172,7 +15177,7 @@ function s0({
|
|
|
15172
15177
|
return /* @__PURE__ */ u(T, { children: [
|
|
15173
15178
|
/* @__PURE__ */ r(y, { grow: !0, wrap: "nowrap", children: /* @__PURE__ */ r(f, { name: "regression.name", control: e, render: ({
|
|
15174
15179
|
field: s
|
|
15175
|
-
}) => /* @__PURE__ */ r(
|
|
15180
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), sx: {
|
|
15176
15181
|
flex: 1
|
|
15177
15182
|
}, ...s }) }) }),
|
|
15178
15183
|
/* @__PURE__ */ r(f, { name: "regression.group_by_key", control: e, render: ({
|
|
@@ -15205,7 +15210,7 @@ function c0({
|
|
|
15205
15210
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
15206
15211
|
/* @__PURE__ */ r(f, { name: "x_axis.name", control: e, render: ({
|
|
15207
15212
|
field: n
|
|
15208
|
-
}) => /* @__PURE__ */ r(
|
|
15213
|
+
}) => /* @__PURE__ */ r(V, { label: "X轴名称", sx: {
|
|
15209
15214
|
flex: 1
|
|
15210
15215
|
}, ...n }) }),
|
|
15211
15216
|
/* @__PURE__ */ r(f, { name: "x_axis.data_key", control: e, render: ({
|
|
@@ -15247,7 +15252,7 @@ function d0({
|
|
|
15247
15252
|
return t(["y_axis", "regression.y_axis_data_key"]), /* @__PURE__ */ r(T, { children: /* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
15248
15253
|
/* @__PURE__ */ r(f, { name: "y_axis.name", control: e, render: ({
|
|
15249
15254
|
field: n
|
|
15250
|
-
}) => /* @__PURE__ */ r(
|
|
15255
|
+
}) => /* @__PURE__ */ r(V, { label: "Y轴名称", sx: {
|
|
15251
15256
|
flex: 1
|
|
15252
15257
|
}, ...n }) }),
|
|
15253
15258
|
/* @__PURE__ */ r(f, { name: "regression.y_axis_data_key", control: e, render: ({
|
|
@@ -16306,7 +16311,7 @@ const aw = ee(({
|
|
|
16306
16311
|
return /* @__PURE__ */ u(T, { children: [
|
|
16307
16312
|
/* @__PURE__ */ r(P, { mb: -15, variant: "dashed", label: l("chart.reference_area.content.label"), labelPosition: "right" }),
|
|
16308
16313
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
16309
|
-
/* @__PURE__ */ r(
|
|
16314
|
+
/* @__PURE__ */ r(V, { label: l("chart.reference_area.content.content_text"), value: e.content.text, onChange: (d) => c("content.text", d.currentTarget.value) }),
|
|
16310
16315
|
/* @__PURE__ */ r(On, { label: l("chart.reference_area.content.text_position"), value: e.label.position, onChange: (d) => c("label.position", d) })
|
|
16311
16316
|
] }),
|
|
16312
16317
|
/* @__PURE__ */ r(P, { mb: -15, variant: "dashed", label: l("chart.reference_area.endpoint.labels"), labelPosition: "right" }),
|
|
@@ -16400,7 +16405,7 @@ function lw({
|
|
|
16400
16405
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
16401
16406
|
/* @__PURE__ */ r(f, { name: `reference_lines.${t}.name`, control: e, render: ({
|
|
16402
16407
|
field: s
|
|
16403
|
-
}) => /* @__PURE__ */ r(
|
|
16408
|
+
}) => /* @__PURE__ */ r(V, { label: o("common.name"), placeholder: o("chart.reference_line.name_placeholder"), required: !0, sx: {
|
|
16404
16409
|
flex: 1
|
|
16405
16410
|
}, ...s }) }),
|
|
16406
16411
|
/* @__PURE__ */ r(f, { name: `reference_lines.${t}.variable_key`, control: e, render: ({
|
|
@@ -16411,7 +16416,7 @@ function lw({
|
|
|
16411
16416
|
] }),
|
|
16412
16417
|
/* @__PURE__ */ r(f, { name: `reference_lines.${t}.template`, control: e, render: ({
|
|
16413
16418
|
field: s
|
|
16414
|
-
}) => /* @__PURE__ */ r(
|
|
16419
|
+
}) => /* @__PURE__ */ r(V, { label: o("chart.content_template.label"), placeholder: o("chart.content_template.hint"), sx: {
|
|
16415
16420
|
flex: 1
|
|
16416
16421
|
}, ...s }) }),
|
|
16417
16422
|
/* @__PURE__ */ u(y, { grow: !0, children: [
|
|
@@ -16496,7 +16501,7 @@ function sw({
|
|
|
16496
16501
|
const cw = ({
|
|
16497
16502
|
value: e,
|
|
16498
16503
|
onChange: t
|
|
16499
|
-
}) => /* @__PURE__ */ r(
|
|
16504
|
+
}) => /* @__PURE__ */ r(A, { children: /* @__PURE__ */ r(qt, { height: "500px", defaultLanguage: "javascript", value: e, onChange: (a) => {
|
|
16500
16505
|
a && t(a);
|
|
16501
16506
|
}, theme: "vs-dark", options: {
|
|
16502
16507
|
minimap: {
|
|
@@ -16532,7 +16537,7 @@ const cw = ({
|
|
|
16532
16537
|
h(Jn.dynamic.func_content);
|
|
16533
16538
|
};
|
|
16534
16539
|
return /* @__PURE__ */ u(F, { children: [
|
|
16535
|
-
/* @__PURE__ */ r(
|
|
16540
|
+
/* @__PURE__ */ r(A, { sx: {
|
|
16536
16541
|
width: "50%"
|
|
16537
16542
|
}, children: /* @__PURE__ */ r(L, { color: "grape", variant: "filled", leftSection: /* @__PURE__ */ r(Wt, { size: 16 }), mt: 24, onClick: i, sx: {
|
|
16538
16543
|
flexGrow: 0
|
|
@@ -16687,7 +16692,7 @@ const fw = D(({
|
|
|
16687
16692
|
return /* @__PURE__ */ r(T, { children: /* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
16688
16693
|
/* @__PURE__ */ r(f, { name: `tooltip.metrics.${t}.name`, control: e, render: ({
|
|
16689
16694
|
field: a
|
|
16690
|
-
}) => /* @__PURE__ */ r(
|
|
16695
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), required: !0, sx: {
|
|
16691
16696
|
flex: 1
|
|
16692
16697
|
}, ...a }) }),
|
|
16693
16698
|
/* @__PURE__ */ r(f, { name: `tooltip.metrics.${t}.data_key`, control: e, render: ({
|
|
@@ -16766,7 +16771,7 @@ function xw({
|
|
|
16766
16771
|
}, ...a }) }),
|
|
16767
16772
|
/* @__PURE__ */ r(f, { name: "x_axis.name", control: e, render: ({
|
|
16768
16773
|
field: a
|
|
16769
|
-
}) => /* @__PURE__ */ r(
|
|
16774
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), sx: {
|
|
16770
16775
|
flex: 1
|
|
16771
16776
|
}, ...a }) })
|
|
16772
16777
|
] }),
|
|
@@ -16800,7 +16805,7 @@ function vw({
|
|
|
16800
16805
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
16801
16806
|
/* @__PURE__ */ r(f, { name: `y_axes.${t}.name`, control: e, render: ({
|
|
16802
16807
|
field: a
|
|
16803
|
-
}) => /* @__PURE__ */ r(
|
|
16808
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), required: !0, sx: {
|
|
16804
16809
|
flex: 1
|
|
16805
16810
|
}, ...a }) }),
|
|
16806
16811
|
/* @__PURE__ */ r(f, { name: `y_axes.${t}.nameAlignment`, control: e, render: ({
|
|
@@ -16826,10 +16831,10 @@ function vw({
|
|
|
16826
16831
|
/* @__PURE__ */ u(y, { grow: !0, children: [
|
|
16827
16832
|
/* @__PURE__ */ r(f, { name: `y_axes.${t}.min`, control: e, render: ({
|
|
16828
16833
|
field: a
|
|
16829
|
-
}) => /* @__PURE__ */ r(
|
|
16834
|
+
}) => /* @__PURE__ */ r(V, { label: n("chart.y_axis.value_min"), ...a }) }),
|
|
16830
16835
|
/* @__PURE__ */ r(f, { name: `y_axes.${t}.max`, control: e, render: ({
|
|
16831
16836
|
field: a
|
|
16832
|
-
}) => /* @__PURE__ */ r(
|
|
16837
|
+
}) => /* @__PURE__ */ r(V, { label: n("chart.y_axis.value_max"), ...a }) })
|
|
16833
16838
|
] })
|
|
16834
16839
|
] })
|
|
16835
16840
|
] });
|
|
@@ -17149,7 +17154,7 @@ const qw = D(({
|
|
|
17149
17154
|
}, [n.current, h, p, g]), /* @__PURE__ */ r(tt, { className: "viz-stats", sx: {
|
|
17150
17155
|
width: h,
|
|
17151
17156
|
height: p
|
|
17152
|
-
}, align: Ew[s.vertical_align], direction: "row", children: /* @__PURE__ */ r(
|
|
17157
|
+
}, align: Ew[s.vertical_align], direction: "row", children: /* @__PURE__ */ r(A, { className: "viz-stats--clickable-wrapper", sx: Ow(i.length), onClick: _, children: /* @__PURE__ */ r(Rn, { ref: n, value: g, styles: {
|
|
17153
17158
|
root: {
|
|
17154
17159
|
border: "none",
|
|
17155
17160
|
maxWidth: h,
|
|
@@ -17471,10 +17476,10 @@ const aS = ({
|
|
|
17471
17476
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
17472
17477
|
/* @__PURE__ */ r(f, { name: `levels.${t}.r0`, control: e, render: ({
|
|
17473
17478
|
field: o
|
|
17474
|
-
}) => /* @__PURE__ */ r(
|
|
17479
|
+
}) => /* @__PURE__ */ r(V, { label: n("viz.sunburst_chart.level.inside_radius"), placeholder: "0%", ...o }) }),
|
|
17475
17480
|
/* @__PURE__ */ r(f, { name: `levels.${t}.r`, control: e, render: ({
|
|
17476
17481
|
field: o
|
|
17477
|
-
}) => /* @__PURE__ */ r(
|
|
17482
|
+
}) => /* @__PURE__ */ r(V, { label: n("viz.sunburst_chart.level.outside_radius"), placeholder: "50%", ...o }) })
|
|
17478
17483
|
] }),
|
|
17479
17484
|
/* @__PURE__ */ r(P, { mb: -10, mt: 10, variant: "dashed", label: n("chart.label.label_full"), labelPosition: "center" }),
|
|
17480
17485
|
/* @__PURE__ */ r(f, { name: `levels.${t}.label.show_label_tolerance`, control: e, render: ({
|
|
@@ -18045,7 +18050,7 @@ function MS(e) {
|
|
|
18045
18050
|
/* @__PURE__ */ r(ul, { children: "Use original data columns" }),
|
|
18046
18051
|
" is enabled, you have to address trigger column by its data field"
|
|
18047
18052
|
] }) }),
|
|
18048
|
-
/* @__PURE__ */ r(
|
|
18053
|
+
/* @__PURE__ */ r(V, { label: t("viz.table.click_cell.column_data_field"), value: c.toString(), onChange: (h) => d(h.currentTarget.value) })
|
|
18049
18054
|
] }) : /* @__PURE__ */ r(q, { clearable: !1, data: o, label: t("viz.table.click_cell.choose_a_column"), value: c.toString(), onChange: d, comboboxProps: {
|
|
18050
18055
|
zIndex: 340
|
|
18051
18056
|
}, maxDropdownHeight: 500 });
|
|
@@ -18222,7 +18227,7 @@ function _o({
|
|
|
18222
18227
|
}, "data-enable-scrollbar": !0, className: g(p.root, {
|
|
18223
18228
|
"table-highlight-on-hover": a.highlightOnHover
|
|
18224
18229
|
}), children: [
|
|
18225
|
-
G > 0 && /* @__PURE__ */ r(
|
|
18230
|
+
G > 0 && /* @__PURE__ */ r(A, { className: p.info_bar, sx: {
|
|
18226
18231
|
height: 22
|
|
18227
18232
|
}, children: /* @__PURE__ */ r(k, { ta: "right", pr: 6, size: "14px", c: "dimmed", fw: "normal", children: l("common.pagination.total_rows", {
|
|
18228
18233
|
total: G
|
|
@@ -18301,7 +18306,7 @@ const OS = D(ee(({
|
|
|
18301
18306
|
const {
|
|
18302
18307
|
panel: d
|
|
18303
18308
|
} = Ve(), h = $.useMemo(() => d.queryOptions(a, o), [a, o]);
|
|
18304
|
-
return h.length === 0 ? /* @__PURE__ */ r(
|
|
18309
|
+
return h.length === 0 ? /* @__PURE__ */ r(A, { children: /* @__PURE__ */ r(V, { label: e, required: t, defaultValue: a, readOnly: !0, disabled: !0 }) }) : /* @__PURE__ */ r(q, { ref: c, label: e, description: n, data: h, value: a, onChange: ve(i), required: t, sx: l, maxDropdownHeight: 500, ...s });
|
|
18305
18310
|
})), qS = [{
|
|
18306
18311
|
from: 0,
|
|
18307
18312
|
to: 0
|
|
@@ -18379,7 +18384,7 @@ const BS = ee((e, t) => {
|
|
|
18379
18384
|
}, children: a("viz.table.column.custom_cell_content") }),
|
|
18380
18385
|
/* @__PURE__ */ r(we, { size: 800, title: a("viz.table.column.custom_cell_content"), opened: i, onClose: l, closeOnClickOutside: !1, withCloseButton: !1, zIndex: 320, children: i && /* @__PURE__ */ u(T, { children: [
|
|
18381
18386
|
/* @__PURE__ */ r(y, { justify: "flex-start", children: /* @__PURE__ */ r(Vs, {}) }),
|
|
18382
|
-
/* @__PURE__ */ r(
|
|
18387
|
+
/* @__PURE__ */ r(A, { sx: {
|
|
18383
18388
|
position: "relative"
|
|
18384
18389
|
}, children: /* @__PURE__ */ r(qt, { height: "500px", defaultLanguage: "javascript", value: s, onChange: (g) => c(g ?? ""), theme: "vs-dark", options: {
|
|
18385
18390
|
minimap: {
|
|
@@ -18409,7 +18414,7 @@ const BS = ee((e, t) => {
|
|
|
18409
18414
|
/* @__PURE__ */ u(y, { grow: !0, children: [
|
|
18410
18415
|
/* @__PURE__ */ r(f, { name: `columns.${t}.label`, control: e, render: ({
|
|
18411
18416
|
field: l
|
|
18412
|
-
}) => /* @__PURE__ */ r(
|
|
18417
|
+
}) => /* @__PURE__ */ r(V, { label: a("chart.label.label"), required: !0, id: `col-label-${t}`, sx: {
|
|
18413
18418
|
flex: 1
|
|
18414
18419
|
}, ...l }) }),
|
|
18415
18420
|
/* @__PURE__ */ r(f, { name: `columns.${t}.value_field`, control: e, render: ({
|
|
@@ -18506,7 +18511,7 @@ function WS({
|
|
|
18506
18511
|
}
|
|
18507
18512
|
}, children: /* @__PURE__ */ r(f, { name: "fontSize", control: e, render: ({
|
|
18508
18513
|
field: a
|
|
18509
|
-
}) => /* @__PURE__ */ r(
|
|
18514
|
+
}) => /* @__PURE__ */ r(V, { label: n("style.font_size.label"), placeholder: n("style.font_size.placeholder"), required: !0, sx: {
|
|
18510
18515
|
flex: 1
|
|
18511
18516
|
}, ...a }) }) }),
|
|
18512
18517
|
/* @__PURE__ */ u(y, { justify: "space-between", grow: !0, children: [
|
|
@@ -18877,13 +18882,13 @@ function oC({
|
|
|
18877
18882
|
s && n(s.label);
|
|
18878
18883
|
}, [i]), /* @__PURE__ */ u(T, { gap: 0, mt: "sm", mb: "lg", children: [
|
|
18879
18884
|
/* @__PURE__ */ r(k, { size: "sm", children: e }),
|
|
18880
|
-
/* @__PURE__ */ r(
|
|
18885
|
+
/* @__PURE__ */ r(A, { px: "1.5em", children: /* @__PURE__ */ r(Vu, { label: null, marks: nr, value: i, onChange: o, step: 25, ref: a }) })
|
|
18881
18886
|
] });
|
|
18882
18887
|
}
|
|
18883
18888
|
const lC = $.forwardRef(oC), sC = ({
|
|
18884
18889
|
value: e,
|
|
18885
18890
|
onChange: t
|
|
18886
|
-
}) => /* @__PURE__ */ r(
|
|
18891
|
+
}) => /* @__PURE__ */ r(A, { sx: {
|
|
18887
18892
|
position: "relative"
|
|
18888
18893
|
}, children: /* @__PURE__ */ r(qt, { height: "500px", defaultLanguage: "javascript", value: e, onChange: (a) => {
|
|
18889
18894
|
a && t(a);
|
|
@@ -18973,7 +18978,7 @@ function dC({
|
|
|
18973
18978
|
}) => /* @__PURE__ */ r(oi, { ...p }) }),
|
|
18974
18979
|
/* @__PURE__ */ r(f, { name: "font_size", control: l, render: ({
|
|
18975
18980
|
field: p
|
|
18976
|
-
}) => /* @__PURE__ */ r(
|
|
18981
|
+
}) => /* @__PURE__ */ r(V, { label: t("style.font_size.label"), placeholder: t("style.font_size.placeholder"), sx: {
|
|
18977
18982
|
flex: 1
|
|
18978
18983
|
}, ...p }) }),
|
|
18979
18984
|
/* @__PURE__ */ r(y, { justify: "space-between", grow: !0, sx: {
|
|
@@ -19097,7 +19102,7 @@ const yC = ({
|
|
|
19097
19102
|
...Ha
|
|
19098
19103
|
}, wo = ({
|
|
19099
19104
|
message: e
|
|
19100
|
-
}) => /* @__PURE__ */ r(
|
|
19105
|
+
}) => /* @__PURE__ */ r(A, { sx: ga, children: /* @__PURE__ */ r("div", { dangerouslySetInnerHTML: {
|
|
19101
19106
|
__html: e
|
|
19102
19107
|
}, style: {
|
|
19103
19108
|
fontSize: "14px",
|
|
@@ -19138,10 +19143,10 @@ function xC({
|
|
|
19138
19143
|
}), {
|
|
19139
19144
|
refreshDeps: [o, n]
|
|
19140
19145
|
});
|
|
19141
|
-
return !a || !i || !n ? null : c ? /* @__PURE__ */ r(
|
|
19146
|
+
return !a || !i || !n ? null : c ? /* @__PURE__ */ r(A, { sx: {
|
|
19142
19147
|
position: "relative",
|
|
19143
19148
|
height: i
|
|
19144
|
-
}, children: /* @__PURE__ */ r(tn, { visible: !0 }) }) : s ? /* @__PURE__ */ r(
|
|
19149
|
+
}, children: /* @__PURE__ */ r(tn, { visible: !0 }) }) : s ? /* @__PURE__ */ r(A, { sx: ga, "data-enable-scrollbar": !0, children: /* @__PURE__ */ r(_C, { error: s, width: a, height: i }) }) : !l || !Array.isArray(l.replies) || l.replies.length === 0 ? null : /* @__PURE__ */ r(A, { sx: ga, "data-enable-scrollbar": !0, children: l.replies.map((d, h) => /* @__PURE__ */ r("div", { dangerouslySetInnerHTML: {
|
|
19145
19150
|
__html: d.interpretation.html
|
|
19146
19151
|
} }, h)) });
|
|
19147
19152
|
}
|
|
@@ -19166,18 +19171,18 @@ function vC({
|
|
|
19166
19171
|
/* @__PURE__ */ u(y, { grow: !0, children: [
|
|
19167
19172
|
/* @__PURE__ */ r(f, { name: "expertSystemURL", control: i, render: ({
|
|
19168
19173
|
field: d
|
|
19169
|
-
}) => /* @__PURE__ */ r(
|
|
19174
|
+
}) => /* @__PURE__ */ r(V, { label: "Expert System URL", ...d }) }),
|
|
19170
19175
|
/* @__PURE__ */ r(f, { name: "path", control: i, render: ({
|
|
19171
19176
|
field: d
|
|
19172
|
-
}) => /* @__PURE__ */ r(
|
|
19177
|
+
}) => /* @__PURE__ */ r(V, { label: "Path", required: !0, ...d }) })
|
|
19173
19178
|
] }),
|
|
19174
19179
|
/* @__PURE__ */ u(y, { grow: !0, children: [
|
|
19175
19180
|
/* @__PURE__ */ r(f, { name: "goal", control: i, render: ({
|
|
19176
19181
|
field: d
|
|
19177
|
-
}) => /* @__PURE__ */ r(
|
|
19182
|
+
}) => /* @__PURE__ */ r(V, { label: "Goal", required: !0, ...d }) }),
|
|
19178
19183
|
/* @__PURE__ */ r(f, { name: "question", control: i, render: ({
|
|
19179
19184
|
field: d
|
|
19180
|
-
}) => /* @__PURE__ */ r(
|
|
19185
|
+
}) => /* @__PURE__ */ r(V, { label: "Question", required: !0, ...d }) })
|
|
19181
19186
|
] }),
|
|
19182
19187
|
/* @__PURE__ */ r(P, { variant: "dashed", mt: 16, mb: 8 }),
|
|
19183
19188
|
/* @__PURE__ */ r(L, { type: "submit", variant: "filled", color: "blue", leftSection: /* @__PURE__ */ r(me, { size: 20 }), disabled: !s.isDirty, sx: {
|
|
@@ -19693,7 +19698,7 @@ function XC({
|
|
|
19693
19698
|
}, ...a }) }),
|
|
19694
19699
|
/* @__PURE__ */ r(f, { name: "heat_block.name", control: e, render: ({
|
|
19695
19700
|
field: a
|
|
19696
|
-
}) => /* @__PURE__ */ r(
|
|
19701
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), sx: {
|
|
19697
19702
|
flex: 1
|
|
19698
19703
|
}, ...a }) })
|
|
19699
19704
|
] }),
|
|
@@ -19713,7 +19718,7 @@ const ZC = ({
|
|
|
19713
19718
|
return /* @__PURE__ */ r(T, { children: /* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
19714
19719
|
/* @__PURE__ */ r(f, { name: `tooltip.metrics.${t}.name`, control: e, render: ({
|
|
19715
19720
|
field: a
|
|
19716
|
-
}) => /* @__PURE__ */ r(
|
|
19721
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), required: !0, sx: {
|
|
19717
19722
|
flex: 1
|
|
19718
19723
|
}, ...a }) }),
|
|
19719
19724
|
/* @__PURE__ */ r(f, { name: `tooltip.metrics.${t}.data_key`, control: e, render: ({
|
|
@@ -20305,7 +20310,7 @@ function z2({
|
|
|
20305
20310
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
20306
20311
|
/* @__PURE__ */ r(f, { name: `reference_lines.${t}.name`, control: e, render: ({
|
|
20307
20312
|
field: s
|
|
20308
|
-
}) => /* @__PURE__ */ r(
|
|
20313
|
+
}) => /* @__PURE__ */ r(V, { label: o("common.name"), placeholder: o("chart.reference_line.name_placeholder"), required: !0, sx: {
|
|
20309
20314
|
flex: 1
|
|
20310
20315
|
}, ...s }) }),
|
|
20311
20316
|
/* @__PURE__ */ r(f, { name: `reference_lines.${t}.variable_key`, control: e, render: ({
|
|
@@ -20316,7 +20321,7 @@ function z2({
|
|
|
20316
20321
|
] }),
|
|
20317
20322
|
/* @__PURE__ */ r(f, { name: `reference_lines.${t}.template`, control: e, render: ({
|
|
20318
20323
|
field: s
|
|
20319
|
-
}) => /* @__PURE__ */ r(
|
|
20324
|
+
}) => /* @__PURE__ */ r(V, { label: o("chart.content_template.label"), placeholder: o("chart.content_template.hint"), sx: {
|
|
20320
20325
|
flex: 1
|
|
20321
20326
|
}, ...s }) }),
|
|
20322
20327
|
/* @__PURE__ */ u(y, { grow: !0, children: [
|
|
@@ -20399,7 +20404,7 @@ function D2({
|
|
|
20399
20404
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
20400
20405
|
/* @__PURE__ */ r(f, { name: `series.${t}.stack`, control: e, render: ({
|
|
20401
20406
|
field: s
|
|
20402
|
-
}) => /* @__PURE__ */ r(
|
|
20407
|
+
}) => /* @__PURE__ */ r(V, { label: a("chart.series.bar.stack"), placeholder: a("chart.series.bar.stack_hint"), sx: {
|
|
20403
20408
|
flexGrow: 1
|
|
20404
20409
|
}, ...s }) }),
|
|
20405
20410
|
/* @__PURE__ */ r(f, { name: `series.${t}.barGap`, control: e, render: ({
|
|
@@ -20411,17 +20416,17 @@ function D2({
|
|
|
20411
20416
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
20412
20417
|
/* @__PURE__ */ r(f, { name: `series.${t}.barMinWidth`, control: e, render: ({
|
|
20413
20418
|
field: s
|
|
20414
|
-
}) => /* @__PURE__ */ r(
|
|
20419
|
+
}) => /* @__PURE__ */ r(V, { label: a("chart.series.bar.bar_width.min"), disabled: o, sx: {
|
|
20415
20420
|
flexGrow: 1
|
|
20416
20421
|
}, ...s }) }),
|
|
20417
20422
|
/* @__PURE__ */ r(f, { name: `series.${t}.barWidth`, control: e, render: ({
|
|
20418
20423
|
field: s
|
|
20419
|
-
}) => /* @__PURE__ */ r(
|
|
20424
|
+
}) => /* @__PURE__ */ r(V, { label: a("chart.series.bar.bar_width.exact"), sx: {
|
|
20420
20425
|
flexGrow: 1
|
|
20421
20426
|
}, ...s }) }),
|
|
20422
20427
|
/* @__PURE__ */ r(f, { name: `series.${t}.barMaxWidth`, control: e, render: ({
|
|
20423
20428
|
field: s
|
|
20424
|
-
}) => /* @__PURE__ */ r(
|
|
20429
|
+
}) => /* @__PURE__ */ r(V, { label: a("chart.series.bar.bar_width.max"), disabled: o, sx: {
|
|
20425
20430
|
flexGrow: 1
|
|
20426
20431
|
}, ...s }) })
|
|
20427
20432
|
] })
|
|
@@ -20442,7 +20447,7 @@ function I2({
|
|
|
20442
20447
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
20443
20448
|
/* @__PURE__ */ r(f, { name: `series.${t}.name`, control: e, render: ({
|
|
20444
20449
|
field: o
|
|
20445
|
-
}) => /* @__PURE__ */ r(
|
|
20450
|
+
}) => /* @__PURE__ */ r(V, { label: i("common.name"), required: !0, sx: {
|
|
20446
20451
|
flex: 1
|
|
20447
20452
|
}, ...o }) }),
|
|
20448
20453
|
/* @__PURE__ */ r(f, { name: `series.${t}.xAxisIndex`, control: e, render: ({
|
|
@@ -20536,7 +20541,7 @@ function V2({
|
|
|
20536
20541
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
20537
20542
|
/* @__PURE__ */ r(f, { name: `x_axes.${t}.name`, control: e, render: ({
|
|
20538
20543
|
field: a
|
|
20539
|
-
}) => /* @__PURE__ */ r(
|
|
20544
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), required: !0, sx: {
|
|
20540
20545
|
flex: 1
|
|
20541
20546
|
}, ...a }) }),
|
|
20542
20547
|
/* @__PURE__ */ r(f, { name: `x_axes.${t}.position`, control: e, render: ({
|
|
@@ -20556,10 +20561,10 @@ function V2({
|
|
|
20556
20561
|
/* @__PURE__ */ u(y, { grow: !0, children: [
|
|
20557
20562
|
/* @__PURE__ */ r(f, { name: `x_axes.${t}.min`, control: e, render: ({
|
|
20558
20563
|
field: a
|
|
20559
|
-
}) => /* @__PURE__ */ r(
|
|
20564
|
+
}) => /* @__PURE__ */ r(V, { label: n("chart.x_axis.value_min"), ...a }) }),
|
|
20560
20565
|
/* @__PURE__ */ r(f, { name: `x_axes.${t}.max`, control: e, render: ({
|
|
20561
20566
|
field: a
|
|
20562
|
-
}) => /* @__PURE__ */ r(
|
|
20567
|
+
}) => /* @__PURE__ */ r(V, { label: n("chart.x_axis.value_max"), ...a }) })
|
|
20563
20568
|
] })
|
|
20564
20569
|
] }),
|
|
20565
20570
|
/* @__PURE__ */ r(P, { mb: -10, mt: 10, variant: "dashed", label: n("chart.x_axis.behavior"), labelPosition: "center" }),
|
|
@@ -20594,7 +20599,7 @@ function $2({
|
|
|
20594
20599
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
20595
20600
|
/* @__PURE__ */ r(f, { name: "y_axis.name", control: e, render: ({
|
|
20596
20601
|
field: a
|
|
20597
|
-
}) => /* @__PURE__ */ r(
|
|
20602
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), sx: {
|
|
20598
20603
|
flex: 1
|
|
20599
20604
|
}, ...a }) }),
|
|
20600
20605
|
/* @__PURE__ */ r(f, { name: "y_axis.data_key", control: e, render: ({
|
|
@@ -21442,7 +21447,7 @@ function uk({
|
|
|
21442
21447
|
}, [h]), !s.data_key || !d || !h || !o || !l)
|
|
21443
21448
|
return null;
|
|
21444
21449
|
const _ = Math.max(St(o), 300), b = Math.max(Ct(l), 370);
|
|
21445
|
-
return /* @__PURE__ */ u(
|
|
21450
|
+
return /* @__PURE__ */ u(A, { pt: Ze.top, pr: Ze.right, pb: Ze.bottom, pl: Ze.left, sx: {
|
|
21446
21451
|
overflow: "hidden",
|
|
21447
21452
|
height: l,
|
|
21448
21453
|
width: o
|
|
@@ -21458,7 +21463,7 @@ function hk({
|
|
|
21458
21463
|
return t(["deviation"]), /* @__PURE__ */ u(T, { children: [
|
|
21459
21464
|
/* @__PURE__ */ r(y, { grow: !0, wrap: "nowrap", children: /* @__PURE__ */ r(f, { name: "deviation.name", control: e, render: ({
|
|
21460
21465
|
field: n
|
|
21461
|
-
}) => /* @__PURE__ */ r(
|
|
21466
|
+
}) => /* @__PURE__ */ r(V, { label: "指标名称", sx: {
|
|
21462
21467
|
flex: 1
|
|
21463
21468
|
}, ...n }) }) }),
|
|
21464
21469
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
@@ -21485,7 +21490,7 @@ const pk = ({
|
|
|
21485
21490
|
return /* @__PURE__ */ r(T, { children: /* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
21486
21491
|
/* @__PURE__ */ r(f, { name: `metrics.${t}.name`, control: e, render: ({
|
|
21487
21492
|
field: a
|
|
21488
|
-
}) => /* @__PURE__ */ r(
|
|
21493
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), required: !0, sx: {
|
|
21489
21494
|
flex: 1
|
|
21490
21495
|
}, ...a }) }),
|
|
21491
21496
|
/* @__PURE__ */ r(f, { name: `metrics.${t}.data_key`, control: e, render: ({
|
|
@@ -21536,7 +21541,7 @@ function gk({
|
|
|
21536
21541
|
}, ...n }) }),
|
|
21537
21542
|
/* @__PURE__ */ r(f, { name: "x_axis.name", control: e, render: ({
|
|
21538
21543
|
field: n
|
|
21539
|
-
}) => /* @__PURE__ */ r(
|
|
21544
|
+
}) => /* @__PURE__ */ r(V, { label: "X轴名称", sx: {
|
|
21540
21545
|
flex: 1
|
|
21541
21546
|
}, ...n }) })
|
|
21542
21547
|
] }),
|
|
@@ -21793,7 +21798,7 @@ const ko = ({
|
|
|
21793
21798
|
}], [i.language]);
|
|
21794
21799
|
return /* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
21795
21800
|
/* @__PURE__ */ r(q, { label: a("viz.merico_stats.metric.postfix_type.label"), data: d, value: e.type, onChange: s }),
|
|
21796
|
-
e.type === "text" && /* @__PURE__ */ r(
|
|
21801
|
+
e.type === "text" && /* @__PURE__ */ r(V, { label: a("viz.merico_stats.metric.postfix_content"), value: e.value, onChange: (h) => {
|
|
21797
21802
|
c(h.currentTarget.value);
|
|
21798
21803
|
} }),
|
|
21799
21804
|
e.type === "filter-option-label" && /* @__PURE__ */ r(q, { label: a("viz.merico_stats.metric.postfix_filter"), value: e.value, onChange: c, data: l })
|
|
@@ -21815,7 +21820,7 @@ function Tk({
|
|
|
21815
21820
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
21816
21821
|
/* @__PURE__ */ r(f, { name: `metrics.${t}.names.value`, control: e, render: ({
|
|
21817
21822
|
field: o
|
|
21818
|
-
}) => /* @__PURE__ */ r(
|
|
21823
|
+
}) => /* @__PURE__ */ r(V, { label: i("viz.merico_stats.metric.metric_name"), required: !0, sx: {
|
|
21819
21824
|
flex: 1
|
|
21820
21825
|
}, ...o }) }),
|
|
21821
21826
|
/* @__PURE__ */ r(f, { name: `metrics.${t}.data_keys.value`, control: e, render: ({
|
|
@@ -21827,7 +21832,7 @@ function Tk({
|
|
|
21827
21832
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
21828
21833
|
/* @__PURE__ */ r(f, { name: `metrics.${t}.names.basis`, control: e, render: ({
|
|
21829
21834
|
field: o
|
|
21830
|
-
}) => /* @__PURE__ */ r(
|
|
21835
|
+
}) => /* @__PURE__ */ r(V, { label: i("viz.merico_stats.metric.basis_name"), required: !0, sx: {
|
|
21831
21836
|
flex: 1
|
|
21832
21837
|
}, ...o }) }),
|
|
21833
21838
|
/* @__PURE__ */ r(f, { name: `metrics.${t}.data_keys.basis`, control: e, render: ({
|
|
@@ -22068,7 +22073,7 @@ function Ek({
|
|
|
22068
22073
|
}, ...i }) }),
|
|
22069
22074
|
/* @__PURE__ */ r(f, { name: "heat_block.name", control: e, render: ({
|
|
22070
22075
|
field: i
|
|
22071
|
-
}) => /* @__PURE__ */ r(
|
|
22076
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), sx: {
|
|
22072
22077
|
flex: 1
|
|
22073
22078
|
}, ...i }) })
|
|
22074
22079
|
] }),
|
|
@@ -22099,7 +22104,7 @@ const Ok = ({
|
|
|
22099
22104
|
return /* @__PURE__ */ r(T, { children: /* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
22100
22105
|
/* @__PURE__ */ r(f, { name: `tooltip.metrics.${t}.name`, control: e, render: ({
|
|
22101
22106
|
field: a
|
|
22102
|
-
}) => /* @__PURE__ */ r(
|
|
22107
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), required: !0, sx: {
|
|
22103
22108
|
flex: 1
|
|
22104
22109
|
}, ...a }) }),
|
|
22105
22110
|
/* @__PURE__ */ r(f, { name: `tooltip.metrics.${t}.data_key`, control: e, render: ({
|
|
@@ -22159,7 +22164,7 @@ function Nk({
|
|
|
22159
22164
|
}, ...a }) }),
|
|
22160
22165
|
/* @__PURE__ */ r(f, { name: "x_axis.name", control: e, render: ({
|
|
22161
22166
|
field: a
|
|
22162
|
-
}) => /* @__PURE__ */ r(
|
|
22167
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), sx: {
|
|
22163
22168
|
flex: 1
|
|
22164
22169
|
}, ...a }) })
|
|
22165
22170
|
] }),
|
|
@@ -22197,7 +22202,7 @@ function Bk({
|
|
|
22197
22202
|
}, ...a }) }),
|
|
22198
22203
|
/* @__PURE__ */ r(f, { name: "y_axis.name", control: e, render: ({
|
|
22199
22204
|
field: a
|
|
22200
|
-
}) => /* @__PURE__ */ r(
|
|
22205
|
+
}) => /* @__PURE__ */ r(V, { label: n("common.name"), required: !0, sx: {
|
|
22201
22206
|
flex: 1
|
|
22202
22207
|
}, ...a }) })
|
|
22203
22208
|
] }),
|
|
@@ -24471,7 +24476,7 @@ const P5 = m.model("FilterDateRangeConfigMeta", {
|
|
|
24471
24476
|
/* @__PURE__ */ r(J, { checked: a.required, onChange: (i) => a.setRequired(i.currentTarget.checked), label: n("filter.widget.select.required") }),
|
|
24472
24477
|
/* @__PURE__ */ r(xn, { filter: t })
|
|
24473
24478
|
] }),
|
|
24474
|
-
/* @__PURE__ */ r(
|
|
24479
|
+
/* @__PURE__ */ r(V, { label: n("filter.widget.common.min_width"), value: a.min_width, onChange: (i) => a.setMinWidth(i.currentTarget.value), placeholder: "200px" }),
|
|
24475
24480
|
/* @__PURE__ */ r(P, { label: n("filter.widget.common.fetch_options_from_datasource"), labelPosition: "center" }),
|
|
24476
24481
|
/* @__PURE__ */ r(J, { checked: a.treeCheckStrictly, onChange: (i) => a.setTreeCheckStrictly(i.currentTarget.checked), label: n("filter.widget.tree_select.strictly") }),
|
|
24477
24482
|
/* @__PURE__ */ r(Kr, { value: a.options_query_id, onChange: a.setOptionsQueryID }),
|
|
@@ -24912,7 +24917,7 @@ const P5 = m.model("FilterDateRangeConfigMeta", {
|
|
|
24912
24917
|
/* @__PURE__ */ r(J, { checked: n.required, onChange: (a) => n.setRequired(a.currentTarget.checked), label: t("filter.widget.select.required") }),
|
|
24913
24918
|
/* @__PURE__ */ r(xn, { filter: e })
|
|
24914
24919
|
] }),
|
|
24915
|
-
/* @__PURE__ */ r(
|
|
24920
|
+
/* @__PURE__ */ r(V, { label: t("filter.widget.common.min_width"), value: n.min_width, onChange: (a) => n.setMinWidth(a.currentTarget.value), placeholder: "200px" }),
|
|
24916
24921
|
/* @__PURE__ */ r(P, { label: t("filter.widget.common.fetch_options_from_datasource"), labelPosition: "center" }),
|
|
24917
24922
|
/* @__PURE__ */ r(Kr, { value: n.options_query_id, onChange: n.setOptionsQueryID }),
|
|
24918
24923
|
/* @__PURE__ */ r(J, { checked: n.default_selection_count === 1, onChange: (a) => n.setDefaultSelectionCount(a.currentTarget.checked ? 1 : 0), label: t("filter.widget.tree_single_select.select_first_option_by_default") }),
|
|
@@ -27301,7 +27306,7 @@ const z3 = (e) => new k3(e), T3 = ({
|
|
|
27301
27306
|
border: "0.0625rem solid rgb(233, 236, 239)",
|
|
27302
27307
|
boxShadow: "rgb(0 0 0 / 5%) 0px 0.0625rem 0.1875rem, rgb(0 0 0 / 5%) 0px 1.25rem 1.5625rem -0.3125rem, rgb(0 0 0 / 4%) 0px 0.625rem 0.625rem -0.3125rem"
|
|
27303
27308
|
}
|
|
27304
|
-
}, withArrow: !0, children: /* @__PURE__ */ r(
|
|
27309
|
+
}, withArrow: !0, children: /* @__PURE__ */ r(A, { sx: {
|
|
27305
27310
|
height: "16px",
|
|
27306
27311
|
alignSelf: "center"
|
|
27307
27312
|
}, children: /* @__PURE__ */ r(Re, { size: 16, color: "gray" }) }) }), D3 = D(({
|
|
@@ -27314,10 +27319,10 @@ const z3 = (e) => new k3(e), T3 = ({
|
|
|
27314
27319
|
},
|
|
27315
27320
|
value: o,
|
|
27316
27321
|
onChange: l
|
|
27317
|
-
}) => /* @__PURE__ */ u(
|
|
27322
|
+
}) => /* @__PURE__ */ u(A, { children: [
|
|
27318
27323
|
/* @__PURE__ */ r(k, { size: "sm", children: " " }),
|
|
27319
27324
|
/* @__PURE__ */ r(J, { label: /* @__PURE__ */ u(y, { wrap: "nowrap", justify: "space-between", align: "middle", gap: 6, children: [
|
|
27320
|
-
/* @__PURE__ */ r(
|
|
27325
|
+
/* @__PURE__ */ r(A, { sx: {
|
|
27321
27326
|
flexGrow: 1
|
|
27322
27327
|
}, children: e }),
|
|
27323
27328
|
/* @__PURE__ */ r(T3, { description: n, isDescriptionEmpty: a })
|
|
@@ -27442,7 +27447,7 @@ const z3 = (e) => new k3(e), T3 = ({
|
|
|
27442
27447
|
/* @__PURE__ */ u(y, { justify: "flex-start", grow: !0, wrap: "nowrap", gap: 0, w: "288px", sx: {
|
|
27443
27448
|
marginTop: "3px"
|
|
27444
27449
|
}, children: [
|
|
27445
|
-
/* @__PURE__ */ r(ut.Target, { children: /* @__PURE__ */ r(
|
|
27450
|
+
/* @__PURE__ */ r(ut.Target, { children: /* @__PURE__ */ r(V, { label: e, labelProps: {
|
|
27446
27451
|
title: e
|
|
27447
27452
|
}, required: t, leftSection: /* @__PURE__ */ r(ih, { size: 16 }), placeholder: c("filter.widget.date_range.start_date"), readOnly: !0, disabled: s, value: b, onFocus: h, styles: Lo(d), sx: {
|
|
27448
27453
|
".mantine-TextInput-label": {
|
|
@@ -27467,7 +27472,7 @@ const z3 = (e) => new k3(e), T3 = ({
|
|
|
27467
27472
|
opacity: 0.6
|
|
27468
27473
|
}
|
|
27469
27474
|
} }) }),
|
|
27470
|
-
/* @__PURE__ */ r(
|
|
27475
|
+
/* @__PURE__ */ r(V, { label: /* @__PURE__ */ r(y, { justify: "flex-end", children: /* @__PURE__ */ r(M3, { begin: g, end: _ }) }), leftSection: /* @__PURE__ */ r(oh, { size: 16 }), placeholder: c("filter.widget.date_range.end_date"), readOnly: !0, disabled: !g || s, value: v, onFocus: h, styles: Lo(d), sx: {
|
|
27471
27476
|
".mantine-Input-section": {
|
|
27472
27477
|
transform: "translateX(-18px)"
|
|
27473
27478
|
},
|
|
@@ -27847,7 +27852,7 @@ function N3({
|
|
|
27847
27852
|
value: n,
|
|
27848
27853
|
onChange: a
|
|
27849
27854
|
}) {
|
|
27850
|
-
return /* @__PURE__ */ r(
|
|
27855
|
+
return /* @__PURE__ */ r(V, { label: e, value: n || "", onChange: (i) => a(i.currentTarget.value), ...t, styles: {
|
|
27851
27856
|
input: {
|
|
27852
27857
|
borderColor: "#e9ecef"
|
|
27853
27858
|
}
|
|
@@ -28072,14 +28077,14 @@ const Y3 = ({
|
|
|
28072
28077
|
}), M = $.useCallback(() => {
|
|
28073
28078
|
d(c);
|
|
28074
28079
|
}, [c, d]), R = !h && e.type !== U.Modal;
|
|
28075
|
-
return /* @__PURE__ */ r(F, { children: /* @__PURE__ */ r(
|
|
28080
|
+
return /* @__PURE__ */ r(F, { children: /* @__PURE__ */ r(A, { sx: {
|
|
28076
28081
|
position: "absolute",
|
|
28077
28082
|
top: 0,
|
|
28078
28083
|
left: 0,
|
|
28079
28084
|
right: 0,
|
|
28080
28085
|
zIndex: 300
|
|
28081
28086
|
}, title: t, children: /* @__PURE__ */ u(W, { withinPortal: !0, children: [
|
|
28082
|
-
/* @__PURE__ */ r(W.Target, { children: /* @__PURE__ */ r(
|
|
28087
|
+
/* @__PURE__ */ r(W.Target, { children: /* @__PURE__ */ r(A, { className: "panel-dropdown-target", sx: {
|
|
28083
28088
|
width: "100%"
|
|
28084
28089
|
} }) }),
|
|
28085
28090
|
/* @__PURE__ */ u(W.Dropdown, { children: [
|
|
@@ -28428,7 +28433,7 @@ const pz = D(function({
|
|
|
28428
28433
|
w: a,
|
|
28429
28434
|
h: i
|
|
28430
28435
|
}), l = a > 0 && i > 0;
|
|
28431
|
-
return /* @__PURE__ */ r("div", { className: "viz-root", ref: n, children: /* @__PURE__ */ r(
|
|
28436
|
+
return /* @__PURE__ */ r("div", { className: "viz-root", ref: n, children: /* @__PURE__ */ r(A, { sx: {
|
|
28432
28437
|
width: a,
|
|
28433
28438
|
height: i,
|
|
28434
28439
|
overflow: "hidden"
|
|
@@ -28479,12 +28484,12 @@ const pz = D(function({
|
|
|
28479
28484
|
loading: e.dataLoading,
|
|
28480
28485
|
errors: e.queryErrors,
|
|
28481
28486
|
downloadPanelScreenshot: i
|
|
28482
|
-
}, children: /* @__PURE__ */ r(
|
|
28487
|
+
}, children: /* @__PURE__ */ r(A, { className: `panel-root ${e.title.show ? "panel-root--show-title" : ""}`, ref: a, p: 0, sx: {
|
|
28483
28488
|
...fz,
|
|
28484
28489
|
...t
|
|
28485
28490
|
}, children: /* @__PURE__ */ u(s, { children: [
|
|
28486
28491
|
l && /* @__PURE__ */ u(F, { children: [
|
|
28487
|
-
/* @__PURE__ */ r(
|
|
28492
|
+
/* @__PURE__ */ r(A, { className: "panel-description-popover-wrapper", children: /* @__PURE__ */ r(Md, {}) }),
|
|
28488
28493
|
n,
|
|
28489
28494
|
/* @__PURE__ */ r(nz, {})
|
|
28490
28495
|
] }),
|
|
@@ -28527,14 +28532,14 @@ const vz = D(({
|
|
|
28527
28532
|
} = $.useContext(Yr), c = $.useCallback(() => {
|
|
28528
28533
|
l(o);
|
|
28529
28534
|
}, [o, l]), d = !s && e.type !== U.Modal;
|
|
28530
|
-
return xz(a.viz.type) ? /* @__PURE__ */ r(
|
|
28535
|
+
return xz(a.viz.type) ? /* @__PURE__ */ r(A, { sx: {
|
|
28531
28536
|
position: "absolute",
|
|
28532
28537
|
top: 0,
|
|
28533
28538
|
left: 0,
|
|
28534
28539
|
right: 0,
|
|
28535
28540
|
zIndex: 300
|
|
28536
28541
|
}, title: t, children: /* @__PURE__ */ u(W, { withinPortal: !0, children: [
|
|
28537
|
-
/* @__PURE__ */ r(W.Target, { children: /* @__PURE__ */ r(
|
|
28542
|
+
/* @__PURE__ */ r(W.Target, { children: /* @__PURE__ */ r(A, { className: "panel-dropdown-target" }) }),
|
|
28538
28543
|
/* @__PURE__ */ u(W.Dropdown, { children: [
|
|
28539
28544
|
/* @__PURE__ */ r(W.Item, { onClick: a.refreshData, leftSection: /* @__PURE__ */ r(Tr, { size: 14 }), children: n("common.actions.refresh") }),
|
|
28540
28545
|
/* @__PURE__ */ r(W.Item, { onClick: a.downloadData, leftSection: /* @__PURE__ */ r(Yn, { size: 14 }), children: n("common.actions.download_data") }),
|
|
@@ -28701,7 +28706,7 @@ const Vz = D(({
|
|
|
28701
28706
|
downloadScreenshot: i
|
|
28702
28707
|
} = Oi(t);
|
|
28703
28708
|
return /* @__PURE__ */ u(F, { children: [
|
|
28704
|
-
/* @__PURE__ */ r(
|
|
28709
|
+
/* @__PURE__ */ r(A, { ref: a, pt: 10, pb: 10, sx: n, children: e }),
|
|
28705
28710
|
/* @__PURE__ */ r(Vz, { downloadScreenshot: i })
|
|
28706
28711
|
] });
|
|
28707
28712
|
}), Fd = D(({
|
|
@@ -28715,7 +28720,7 @@ const Vz = D(({
|
|
|
28715
28720
|
downloadScreenshot: s
|
|
28716
28721
|
} = Oi(t);
|
|
28717
28722
|
return /* @__PURE__ */ r(we, { size: a.width, centered: !0, opened: i, onClose: o, withCloseButton: !1, title: /* @__PURE__ */ u(y, { justify: "space-between", px: "1rem", h: "48px", children: [
|
|
28718
|
-
/* @__PURE__ */ r(
|
|
28723
|
+
/* @__PURE__ */ r(A, { children: a.custom_modal_title.value }),
|
|
28719
28724
|
/* @__PURE__ */ r(Fd, { downloadScreenshot: s })
|
|
28720
28725
|
] }), trapFocus: !0, onDragStart: (c) => {
|
|
28721
28726
|
c.stopPropagation();
|
|
@@ -28751,7 +28756,7 @@ const Vz = D(({
|
|
|
28751
28756
|
}
|
|
28752
28757
|
}, transitionProps: {
|
|
28753
28758
|
duration: 0
|
|
28754
|
-
}, children: /* @__PURE__ */ r(
|
|
28759
|
+
}, children: /* @__PURE__ */ r(A, { ref: l, children: e }) });
|
|
28755
28760
|
}), $z = (e) => e.color ? {
|
|
28756
28761
|
"&[data-active], &[data-active]:hover": {
|
|
28757
28762
|
borderColor: e.color ? e.color : "..."
|
|
@@ -28797,9 +28802,9 @@ const Vz = D(({
|
|
|
28797
28802
|
const a = ce().layouts, [i, o] = Bu();
|
|
28798
28803
|
return N(() => {
|
|
28799
28804
|
a.setCurrentLayoutWrapperWidth(o.width);
|
|
28800
|
-
}, [o.width]), /* @__PURE__ */ r(
|
|
28805
|
+
}, [o.width]), /* @__PURE__ */ r(A, { sx: {
|
|
28801
28806
|
height: "100%"
|
|
28802
|
-
}, ref: i, children: /* @__PURE__ */ r(
|
|
28807
|
+
}, ref: i, children: /* @__PURE__ */ r(A, { sx: {
|
|
28803
28808
|
paddingBottom: "100px",
|
|
28804
28809
|
background: "white",
|
|
28805
28810
|
margin: "0 auto",
|
|
@@ -28834,13 +28839,13 @@ const Oz = D(({
|
|
|
28834
28839
|
ref: o,
|
|
28835
28840
|
downloadScreenshot: l
|
|
28836
28841
|
} = Oi(t);
|
|
28837
|
-
return /* @__PURE__ */ r(
|
|
28842
|
+
return /* @__PURE__ */ r(A, { sx: {
|
|
28838
28843
|
height: "100%",
|
|
28839
28844
|
"> div:not(.mantine-Modal-root)": {
|
|
28840
28845
|
height: "100%"
|
|
28841
28846
|
}
|
|
28842
28847
|
}, children: /* @__PURE__ */ r(we, { size: n.width, opened: !0, onClose: C.noop, withCloseButton: !1, title: /* @__PURE__ */ u(y, { justify: "space-between", px: "1rem", h: "48px", children: [
|
|
28843
|
-
/* @__PURE__ */ r(
|
|
28848
|
+
/* @__PURE__ */ r(A, { children: n.custom_modal_title.value }),
|
|
28844
28849
|
/* @__PURE__ */ r(Fd, { downloadScreenshot: l })
|
|
28845
28850
|
] }), trapFocus: !0, onDragStart: (s) => {
|
|
28846
28851
|
s.stopPropagation();
|
|
@@ -28881,7 +28886,7 @@ const Oz = D(({
|
|
|
28881
28886
|
}
|
|
28882
28887
|
}, withinPortal: !1, transitionProps: {
|
|
28883
28888
|
duration: 0
|
|
28884
|
-
}, children: /* @__PURE__ */ r(
|
|
28889
|
+
}, children: /* @__PURE__ */ r(A, { ref: o, children: e }) }) });
|
|
28885
28890
|
}), qz = ({
|
|
28886
28891
|
variant: e,
|
|
28887
28892
|
orientation: t
|
|
@@ -28940,7 +28945,7 @@ const Oz = D(({
|
|
|
28940
28945
|
return /* @__PURE__ */ u(S.Panel, { value: d.id, sx: {
|
|
28941
28946
|
position: "relative"
|
|
28942
28947
|
}, children: [
|
|
28943
|
-
/* @__PURE__ */ u(
|
|
28948
|
+
/* @__PURE__ */ u(A, { sx: {
|
|
28944
28949
|
position: "absolute",
|
|
28945
28950
|
top: 0,
|
|
28946
28951
|
left: 0,
|
|
@@ -28954,7 +28959,7 @@ const Oz = D(({
|
|
|
28954
28959
|
position: "relative",
|
|
28955
28960
|
zIndex: 200
|
|
28956
28961
|
}, children: [
|
|
28957
|
-
/* @__PURE__ */ r(
|
|
28962
|
+
/* @__PURE__ */ r(V, { label: t("view.component.tabs.tab.name"), required: !0, value: d.name, onChange: (g) => d.setName(g.currentTarget.value) }),
|
|
28958
28963
|
/* @__PURE__ */ r(q, { label: t("view.label"), value: d.view_id, onChange: d.setViewID, data: i }),
|
|
28959
28964
|
/* @__PURE__ */ r(ne, { label: t("view.component.tabs.tab.order"), required: !0, value: d.order, onChange: (g) => d.setOrder(g || 0), min: 0, max: 1e3, step: 1 }),
|
|
28960
28965
|
/* @__PURE__ */ r(Jt, { label: t("view.component.tabs.tab.color"), value: d.color, onChange: d.setColor, disabled: o.variant !== "default" }),
|
|
@@ -28991,12 +28996,12 @@ const Oz = D(({
|
|
|
28991
28996
|
return /* @__PURE__ */ r(Yr.Provider, { value: {
|
|
28992
28997
|
viewPanelInFullScreen: C.noop,
|
|
28993
28998
|
inFullScreen: !1
|
|
28994
|
-
}, children: /* @__PURE__ */ r(
|
|
28999
|
+
}, children: /* @__PURE__ */ r(A, { className: "dashboard-view", "data-enable-scrollbar": !0, sx: {
|
|
28995
29000
|
background: a ? "transparent" : "#efefef"
|
|
28996
|
-
}, children: /* @__PURE__ */ r(Bz, { view: t, children: /* @__PURE__ */ u(
|
|
29001
|
+
}, children: /* @__PURE__ */ r(Bz, { view: t, children: /* @__PURE__ */ u(A, { sx: {
|
|
28997
29002
|
position: "relative"
|
|
28998
29003
|
}, children: [
|
|
28999
|
-
/* @__PURE__ */ r(
|
|
29004
|
+
/* @__PURE__ */ r(A, { className: "dashboard-sticky-area", sx: {
|
|
29000
29005
|
position: "sticky",
|
|
29001
29006
|
top: "0px"
|
|
29002
29007
|
}, children: /* @__PURE__ */ r(Id, { view: t }) }),
|
|
@@ -29017,14 +29022,14 @@ const Oz = D(({
|
|
|
29017
29022
|
return /* @__PURE__ */ r(Yr.Provider, { value: {
|
|
29018
29023
|
viewPanelInFullScreen: i,
|
|
29019
29024
|
inFullScreen: l
|
|
29020
|
-
}, children: /* @__PURE__ */ u(
|
|
29025
|
+
}, children: /* @__PURE__ */ u(A, { className: "dashboard-view", "data-enable-scrollbar": !0, sx: {
|
|
29021
29026
|
height: t.type === U.Modal ? "0 !important" : "100%"
|
|
29022
29027
|
}, children: [
|
|
29023
29028
|
l && /* @__PURE__ */ r(Cz, { view: t, panel: s, exitFullScreen: o }),
|
|
29024
|
-
/* @__PURE__ */ r(Rz, { view: t, children: /* @__PURE__ */ u(
|
|
29029
|
+
/* @__PURE__ */ r(Rz, { view: t, children: /* @__PURE__ */ u(A, { sx: {
|
|
29025
29030
|
position: "relative"
|
|
29026
29031
|
}, children: [
|
|
29027
|
-
!l && /* @__PURE__ */ r(
|
|
29032
|
+
!l && /* @__PURE__ */ r(A, { className: "dashboard-sticky-area", sx: {
|
|
29028
29033
|
position: "sticky",
|
|
29029
29034
|
top: "0px"
|
|
29030
29035
|
}, children: /* @__PURE__ */ r(Id, { view: t }) }),
|
|
@@ -31186,7 +31191,7 @@ const LT = D(({
|
|
|
31186
31191
|
v.map((Z, Oe) => /* @__PURE__ */ u(w.Tr, { children: [
|
|
31187
31192
|
/* @__PURE__ */ r(w.Th, { children: Z.id === "basis" ? Z.name : /* @__PURE__ */ r(f, { name: `list.${Oe}.name`, control: o, render: ({
|
|
31188
31193
|
field: be
|
|
31189
|
-
}) => /* @__PURE__ */ r(
|
|
31194
|
+
}) => /* @__PURE__ */ r(V, { size: "xs", label: "", required: !0, sx: {
|
|
31190
31195
|
flex: 1
|
|
31191
31196
|
}, ...be }) }) }),
|
|
31192
31197
|
/* @__PURE__ */ r(w.Td, { children: Z.id === "basis" ? /* @__PURE__ */ u(k, { size: "sm", ff: "monospace", children: [
|
|
@@ -31298,7 +31303,7 @@ const LT = D(({
|
|
|
31298
31303
|
const {
|
|
31299
31304
|
t
|
|
31300
31305
|
} = x(), n = e.views;
|
|
31301
|
-
return !Array.isArray(n) || n.length === 0 ? null : /* @__PURE__ */ u(
|
|
31306
|
+
return !Array.isArray(n) || n.length === 0 ? null : /* @__PURE__ */ u(A, { children: [
|
|
31302
31307
|
/* @__PURE__ */ r(k, { pl: 10, size: "sm", fw: 500, c: "dimmed", ta: "center", children: t("view.labels") }),
|
|
31303
31308
|
/* @__PURE__ */ r(Xr, { headers: /* @__PURE__ */ u(w.Tr, { children: [
|
|
31304
31309
|
/* @__PURE__ */ r(w.Th, { style: {
|
|
@@ -31318,7 +31323,7 @@ const LT = D(({
|
|
|
31318
31323
|
const {
|
|
31319
31324
|
t
|
|
31320
31325
|
} = x(), n = e.filters;
|
|
31321
|
-
return !Array.isArray(n) || n.length === 0 ? null : /* @__PURE__ */ u(
|
|
31326
|
+
return !Array.isArray(n) || n.length === 0 ? null : /* @__PURE__ */ u(A, { children: [
|
|
31322
31327
|
/* @__PURE__ */ r(k, { pl: 10, size: "sm", fw: 500, c: "dimmed", ta: "center", children: t("filter.labels") }),
|
|
31323
31328
|
/* @__PURE__ */ r(Xr, { headers: /* @__PURE__ */ u(w.Tr, { children: [
|
|
31324
31329
|
/* @__PURE__ */ r(w.Th, { style: {
|
|
@@ -31338,7 +31343,7 @@ const LT = D(({
|
|
|
31338
31343
|
const {
|
|
31339
31344
|
t
|
|
31340
31345
|
} = x(), n = e.panels;
|
|
31341
|
-
return !Array.isArray(n) || n.length === 0 ? null : /* @__PURE__ */ u(
|
|
31346
|
+
return !Array.isArray(n) || n.length === 0 ? null : /* @__PURE__ */ u(A, { children: [
|
|
31342
31347
|
/* @__PURE__ */ r(k, { pl: 10, size: "sm", fw: 500, c: "dimmed", ta: "center", children: t("panel.labels") }),
|
|
31343
31348
|
/* @__PURE__ */ r(Xr, { headers: /* @__PURE__ */ u(w.Tr, { children: [
|
|
31344
31349
|
/* @__PURE__ */ r(w.Th, { style: {
|
|
@@ -31359,7 +31364,7 @@ const LT = D(({
|
|
|
31359
31364
|
const {
|
|
31360
31365
|
t
|
|
31361
31366
|
} = x(), n = (a = e.definition) == null ? void 0 : a.queries;
|
|
31362
|
-
return !Array.isArray(n) || n.length === 0 ? null : /* @__PURE__ */ u(
|
|
31367
|
+
return !Array.isArray(n) || n.length === 0 ? null : /* @__PURE__ */ u(A, { children: [
|
|
31363
31368
|
/* @__PURE__ */ r(k, { pl: 10, size: "sm", fw: 500, c: "dimmed", ta: "center", children: t("query.labels") }),
|
|
31364
31369
|
/* @__PURE__ */ r(Xr, { headers: /* @__PURE__ */ u(w.Tr, { children: [
|
|
31365
31370
|
/* @__PURE__ */ r(w.Th, { style: {
|
|
@@ -31386,7 +31391,7 @@ const LT = D(({
|
|
|
31386
31391
|
const {
|
|
31387
31392
|
t
|
|
31388
31393
|
} = x(), n = (a = e.definition) == null ? void 0 : a.sqlSnippets;
|
|
31389
|
-
return !Array.isArray(n) || n.length === 0 ? null : /* @__PURE__ */ u(
|
|
31394
|
+
return !Array.isArray(n) || n.length === 0 ? null : /* @__PURE__ */ u(A, { children: [
|
|
31390
31395
|
/* @__PURE__ */ r(k, { pl: 10, size: "sm", fw: 500, c: "dimmed", ta: "center", children: t("sql_snippet.labels") }),
|
|
31391
31396
|
/* @__PURE__ */ r(We, { size: "sm", pl: 10, ff: "monospace", icon: /* @__PURE__ */ r(Ir, { size: 10 }), children: n.map((i) => /* @__PURE__ */ r(We.Item, { children: i.key }, i.key)) })
|
|
31392
31397
|
] });
|
|
@@ -31397,13 +31402,13 @@ const LT = D(({
|
|
|
31397
31402
|
const {
|
|
31398
31403
|
t
|
|
31399
31404
|
} = x(), n = Object.keys(((a = e.definition) == null ? void 0 : a.mock_context) ?? {});
|
|
31400
|
-
return n.length === 0 ? null : /* @__PURE__ */ u(
|
|
31405
|
+
return n.length === 0 ? null : /* @__PURE__ */ u(A, { children: [
|
|
31401
31406
|
/* @__PURE__ */ r(k, { pl: 10, size: "sm", fw: 500, c: "dimmed", ta: "center", children: t("mock_context.label") }),
|
|
31402
31407
|
/* @__PURE__ */ r(We, { size: "sm", pl: 10, ff: "monospace", icon: /* @__PURE__ */ r(Ir, { size: 10 }), children: n.map((i) => /* @__PURE__ */ r(We.Item, { children: i }, i)) })
|
|
31403
31408
|
] });
|
|
31404
31409
|
}, jT = ({
|
|
31405
31410
|
content: e
|
|
31406
|
-
}) => e ? /* @__PURE__ */ u(
|
|
31411
|
+
}) => e ? /* @__PURE__ */ u(A, { children: [
|
|
31407
31412
|
/* @__PURE__ */ r(P, { mt: 20, mb: 10, variant: "dashed" }),
|
|
31408
31413
|
/* @__PURE__ */ r(k, { ta: "left", c: "dimmed", size: "sm", children: "Preview" }),
|
|
31409
31414
|
/* @__PURE__ */ u(T, { children: [
|
|
@@ -31489,7 +31494,7 @@ const GT = D(({
|
|
|
31489
31494
|
const [b] = c(["content"]), v = !b, I = (M = l == null ? void 0 : l.content) == null ? void 0 : M.message;
|
|
31490
31495
|
return N(() => {
|
|
31491
31496
|
!b || I ? n() : t();
|
|
31492
|
-
}, [b, I]), /* @__PURE__ */ r(
|
|
31497
|
+
}, [b, I]), /* @__PURE__ */ r(A, { mx: "auto", sx: {
|
|
31493
31498
|
position: "relative"
|
|
31494
31499
|
}, children: /* @__PURE__ */ u("form", { onSubmit: o(p), children: [
|
|
31495
31500
|
/* @__PURE__ */ r($u, { label: a("import.json_file"), required: !0, value: g, onChange: _, error: (R = l == null ? void 0 : l.content) == null ? void 0 : R.message, sx: {
|
|
@@ -31579,7 +31584,7 @@ const GT = D(({
|
|
|
31579
31584
|
const {
|
|
31580
31585
|
t: n
|
|
31581
31586
|
} = x();
|
|
31582
|
-
return /* @__PURE__ */ r(
|
|
31587
|
+
return /* @__PURE__ */ r(A, { className: "spotlight-custom-action-component", children: /* @__PURE__ */ u(y, { wrap: "nowrap", children: [
|
|
31583
31588
|
/* @__PURE__ */ r(WT, { iconKey: e.iconKey, size: 14 }),
|
|
31584
31589
|
/* @__PURE__ */ u("div", { style: {
|
|
31585
31590
|
flex: 1
|
|
@@ -31696,7 +31701,7 @@ const GT = D(({
|
|
|
31696
31701
|
zIndex: 299,
|
|
31697
31702
|
borderBottom: "1px solid #e9ecef",
|
|
31698
31703
|
background: "rgba(233,236,239, 0.15)"
|
|
31699
|
-
}, e6 = D(() => /* @__PURE__ */ r(
|
|
31704
|
+
}, e6 = D(() => /* @__PURE__ */ r(A, { sx: JT, pl: {
|
|
31700
31705
|
base: 200,
|
|
31701
31706
|
xs: 200,
|
|
31702
31707
|
sm: 200,
|
|
@@ -32034,7 +32039,7 @@ const v6 = ku(({
|
|
|
32034
32039
|
const o = z(() => x6(e.interactions), [e.interactions]);
|
|
32035
32040
|
return /* @__PURE__ */ u(F, { children: [
|
|
32036
32041
|
/* @__PURE__ */ r(Zi, { type: "target", position: a, isConnectable: t }),
|
|
32037
|
-
/* @__PURE__ */ r(
|
|
32042
|
+
/* @__PURE__ */ r(A, { sx: {
|
|
32038
32043
|
position: "absolute",
|
|
32039
32044
|
top: 0,
|
|
32040
32045
|
right: 0
|
|
@@ -32116,7 +32121,7 @@ function z6({
|
|
|
32116
32121
|
active: n,
|
|
32117
32122
|
openSettings: a
|
|
32118
32123
|
}) {
|
|
32119
|
-
return /* @__PURE__ */ u(
|
|
32124
|
+
return /* @__PURE__ */ u(A, { sx: {
|
|
32120
32125
|
position: "relative"
|
|
32121
32126
|
}, children: [
|
|
32122
32127
|
/* @__PURE__ */ r(Ca, { sx: (i) => ({
|
|
@@ -32150,7 +32155,7 @@ const T6 = D(() => {
|
|
|
32150
32155
|
} = x(), t = de(), n = ce(), a = ae((o) => () => n.views.setIDOfVIE(o), [n]), i = (o) => {
|
|
32151
32156
|
t.editor.open(["_VIEWS_", o]);
|
|
32152
32157
|
};
|
|
32153
|
-
return /* @__PURE__ */ u(
|
|
32158
|
+
return /* @__PURE__ */ u(A, { sx: {
|
|
32154
32159
|
position: "relative"
|
|
32155
32160
|
}, children: [
|
|
32156
32161
|
n.views.options.map((o) => /* @__PURE__ */ r(z6, { active: n.views.idOfVIE === o.value, name: o.label, onClick: a(o.value), openSettings: () => i(o.value) }, o.value)),
|
|
@@ -32317,7 +32322,7 @@ const T6 = D(() => {
|
|
|
32317
32322
|
/* @__PURE__ */ r(J, { checked: a.required, onChange: (s) => a.setRequired(s.currentTarget.checked), label: n("filter.widget.select.required") }),
|
|
32318
32323
|
/* @__PURE__ */ r(xn, { filter: t })
|
|
32319
32324
|
] }),
|
|
32320
|
-
/* @__PURE__ */ r(
|
|
32325
|
+
/* @__PURE__ */ r(V, { label: n("filter.widget.select.width"), description: n("filter.widget.multi_select.width_description"), value: a.min_width, onChange: (s) => a.setMinWidth(s.currentTarget.value), placeholder: "200px" }),
|
|
32321
32326
|
/* @__PURE__ */ r(P, { label: n("filter.widget.select.configure_options"), labelPosition: "center" }),
|
|
32322
32327
|
/* @__PURE__ */ u(T, { gap: 10, sx: {
|
|
32323
32328
|
position: "relative",
|
|
@@ -32343,12 +32348,12 @@ const T6 = D(() => {
|
|
|
32343
32348
|
o.map((s, c) => /* @__PURE__ */ u(tt, { gap: 10, sx: {
|
|
32344
32349
|
position: "relative"
|
|
32345
32350
|
}, pr: "40px", children: [
|
|
32346
|
-
/* @__PURE__ */ r(
|
|
32351
|
+
/* @__PURE__ */ r(V, { label: n("common.label"), required: !0, value: a.static_options[c].label, onChange: (d) => {
|
|
32347
32352
|
a.static_options[c].setLabel(d.currentTarget.value);
|
|
32348
32353
|
}, sx: {
|
|
32349
32354
|
flexGrow: 1
|
|
32350
32355
|
} }),
|
|
32351
|
-
/* @__PURE__ */ r(
|
|
32356
|
+
/* @__PURE__ */ r(V, { label: n("common.value"), required: !0, value: a.static_options[c].value, onChange: (d) => {
|
|
32352
32357
|
a.static_options[c].setValue(d.currentTarget.value);
|
|
32353
32358
|
}, sx: {
|
|
32354
32359
|
flexGrow: 1
|
|
@@ -32449,12 +32454,12 @@ const T6 = D(() => {
|
|
|
32449
32454
|
a.map((o, l) => /* @__PURE__ */ u(tt, { gap: 10, sx: {
|
|
32450
32455
|
position: "relative"
|
|
32451
32456
|
}, pr: "40px", children: [
|
|
32452
|
-
/* @__PURE__ */ r(
|
|
32457
|
+
/* @__PURE__ */ r(V, { label: t("common.label"), required: !0, value: e.static_options[l].label, onChange: (s) => {
|
|
32453
32458
|
e.static_options[l].setLabel(s.currentTarget.value);
|
|
32454
32459
|
}, sx: {
|
|
32455
32460
|
flexGrow: 1
|
|
32456
32461
|
} }),
|
|
32457
|
-
/* @__PURE__ */ r(
|
|
32462
|
+
/* @__PURE__ */ r(V, { label: t("common.value"), required: !0, value: e.static_options[l].value, onChange: (s) => {
|
|
32458
32463
|
e.static_options[l].setValue(s.currentTarget.value);
|
|
32459
32464
|
}, sx: {
|
|
32460
32465
|
flexGrow: 1
|
|
@@ -32479,7 +32484,7 @@ const T6 = D(() => {
|
|
|
32479
32484
|
/* @__PURE__ */ r(J, { checked: n.clearable, onChange: (a) => n.setClearable(a.currentTarget.checked), label: t("filter.widget.select.clearable") }),
|
|
32480
32485
|
/* @__PURE__ */ r(xn, { filter: e })
|
|
32481
32486
|
] }),
|
|
32482
|
-
/* @__PURE__ */ r(
|
|
32487
|
+
/* @__PURE__ */ r(V, { label: t("filter.widget.select.width"), value: n.width, onChange: (a) => n.setWidth(a.currentTarget.value), placeholder: "200px" }),
|
|
32483
32488
|
/* @__PURE__ */ r(P, { label: t("filter.widget.select.configure_options"), labelPosition: "center" }),
|
|
32484
32489
|
/* @__PURE__ */ u(T, { gap: 10, sx: {
|
|
32485
32490
|
position: "relative",
|
|
@@ -32516,12 +32521,12 @@ const T6 = D(() => {
|
|
|
32516
32521
|
} = x(), a = t.config;
|
|
32517
32522
|
return /* @__PURE__ */ u(F, { children: [
|
|
32518
32523
|
/* @__PURE__ */ u(y, { children: [
|
|
32519
|
-
/* @__PURE__ */ r(
|
|
32524
|
+
/* @__PURE__ */ r(V, { label: n("filter.widget.text_input.default_value"), value: a.default_value, onChange: (i) => {
|
|
32520
32525
|
a.setDefaultValue(i.currentTarget.value);
|
|
32521
32526
|
}, sx: {
|
|
32522
32527
|
flexGrow: 1
|
|
32523
32528
|
} }),
|
|
32524
|
-
/* @__PURE__ */ r(
|
|
32529
|
+
/* @__PURE__ */ r(A, { mt: 22, children: /* @__PURE__ */ r(xn, { filter: t }) })
|
|
32525
32530
|
] }),
|
|
32526
32531
|
/* @__PURE__ */ r(J, { checked: a.required, onChange: (i) => a.setRequired(i.currentTarget.checked), label: n("filter.widget.text_input.required") })
|
|
32527
32532
|
] });
|
|
@@ -32531,7 +32536,7 @@ const T6 = D(() => {
|
|
|
32531
32536
|
const {
|
|
32532
32537
|
t: n
|
|
32533
32538
|
} = x();
|
|
32534
|
-
return /* @__PURE__ */ u(
|
|
32539
|
+
return /* @__PURE__ */ u(A, { sx: {
|
|
32535
32540
|
maxWidth: "480px"
|
|
32536
32541
|
}, children: [
|
|
32537
32542
|
/* @__PURE__ */ r(k, { pt: "0", pb: "md", c: "gray", size: "sm", children: n("common.titles.config") }),
|
|
@@ -32582,7 +32587,7 @@ const T6 = D(() => {
|
|
|
32582
32587
|
value: "date-range"
|
|
32583
32588
|
}], [a.language]);
|
|
32584
32589
|
return /* @__PURE__ */ u(y, { grow: !0, gap: 20, align: "top", children: [
|
|
32585
|
-
/* @__PURE__ */ u(
|
|
32590
|
+
/* @__PURE__ */ u(A, { sx: {
|
|
32586
32591
|
maxWidth: "600px"
|
|
32587
32592
|
}, children: [
|
|
32588
32593
|
/* @__PURE__ */ r(k, { pb: "md", c: "gray", size: "sm", children: n("common.titles.edit") }),
|
|
@@ -32594,10 +32599,10 @@ const T6 = D(() => {
|
|
|
32594
32599
|
t.auto_submit_supported && /* @__PURE__ */ r(J, { label: n("filter.field.auto_submit"), checked: t.auto_submit, onChange: (s) => t.setAutoSubmit(s.currentTarget.checked), mt: 22 })
|
|
32595
32600
|
] }),
|
|
32596
32601
|
/* @__PURE__ */ r(un, { label: n("filter.field.visible_in"), data: i.views.options, value: [...t.visibleInViewsIDs], onChange: t.setVisibleInViewsIDs }),
|
|
32597
|
-
/* @__PURE__ */ r(
|
|
32602
|
+
/* @__PURE__ */ r(V, { label: n("common.key"), placeholder: n("filter.field.key_placeholder"), required: !0, value: t.key, onChange: (s) => {
|
|
32598
32603
|
t.setKey(s.currentTarget.value);
|
|
32599
32604
|
} }),
|
|
32600
|
-
/* @__PURE__ */ r(
|
|
32605
|
+
/* @__PURE__ */ r(V, { label: n("common.label"), placeholder: n("filter.field.label_placeholder"), required: !0, value: t.label, onChange: (s) => {
|
|
32601
32606
|
t.setLabel(s.currentTarget.value);
|
|
32602
32607
|
} }),
|
|
32603
32608
|
/* @__PURE__ */ r(q, { label: n("filter.field.widget"), data: l, required: !0, value: t.type, onChange: t.setType, maxDropdownHeight: 500 }),
|
|
@@ -32646,7 +32651,7 @@ const T6 = D(() => {
|
|
|
32646
32651
|
zIndex: 320
|
|
32647
32652
|
});
|
|
32648
32653
|
}, children: t("filter.delete") }) }),
|
|
32649
|
-
/* @__PURE__ */ r(
|
|
32654
|
+
/* @__PURE__ */ r(A, { sx: {
|
|
32650
32655
|
flexGrow: 1,
|
|
32651
32656
|
maxHeight: "calc(100% - 52px)",
|
|
32652
32657
|
overflow: "auto"
|
|
@@ -32667,7 +32672,7 @@ const T6 = D(() => {
|
|
|
32667
32672
|
return /* @__PURE__ */ u(T, { sx: {
|
|
32668
32673
|
height: "100%"
|
|
32669
32674
|
}, gap: "sm", pb: "59px", children: [
|
|
32670
|
-
/* @__PURE__ */ r(
|
|
32675
|
+
/* @__PURE__ */ r(A, { pt: 9, pb: 8, sx: {
|
|
32671
32676
|
borderBottom: "1px solid #eee"
|
|
32672
32677
|
}, children: /* @__PURE__ */ r(k, { size: "sm", px: "md", ta: "left", sx: {
|
|
32673
32678
|
userSelect: "none",
|
|
@@ -32690,7 +32695,7 @@ const T6 = D(() => {
|
|
|
32690
32695
|
}
|
|
32691
32696
|
)
|
|
32692
32697
|
] }) }),
|
|
32693
|
-
/* @__PURE__ */ r(
|
|
32698
|
+
/* @__PURE__ */ r(A, { sx: {
|
|
32694
32699
|
flexGrow: 1,
|
|
32695
32700
|
overflow: "auto"
|
|
32696
32701
|
}, children: /* @__PURE__ */ r(J.Group, { size: "xs", value: t, onChange: n, children: /* @__PURE__ */ u(w, { fz: "sm", highlightOnHover: !0, sx: {
|
|
@@ -32840,7 +32845,7 @@ const T6 = D(() => {
|
|
|
32840
32845
|
] }),
|
|
32841
32846
|
/* @__PURE__ */ r(te, { variant: "subtle", color: "blue", disabled: !o || s, onClick: l, children: /* @__PURE__ */ r(me, { size: 18 }) })
|
|
32842
32847
|
] }),
|
|
32843
|
-
/* @__PURE__ */ r(
|
|
32848
|
+
/* @__PURE__ */ r(V, { value: a, onChange: i, required: !0 })
|
|
32844
32849
|
] });
|
|
32845
32850
|
}), W6 = D(() => {
|
|
32846
32851
|
const {
|
|
@@ -32922,7 +32927,7 @@ function Xd({
|
|
|
32922
32927
|
columnResizeMode: "onChange",
|
|
32923
32928
|
getCoreRowModel: Na()
|
|
32924
32929
|
});
|
|
32925
|
-
return e.length === 0 ? /* @__PURE__ */ r(
|
|
32930
|
+
return e.length === 0 ? /* @__PURE__ */ r(A, { sx: {
|
|
32926
32931
|
height: "5em"
|
|
32927
32932
|
} }) : /* @__PURE__ */ r(ze, { children: /* @__PURE__ */ u(w, { sx: K6, children: [
|
|
32928
32933
|
/* @__PURE__ */ r(w.Thead, { children: n.getHeaderGroups().map((a) => /* @__PURE__ */ r(w.Tr, { children: a.headers.map((i) => /* @__PURE__ */ u(w.Th, { style: {
|
|
@@ -33004,7 +33009,7 @@ const Y6 = [{
|
|
|
33004
33009
|
}, [e, n, i]);
|
|
33005
33010
|
return /* @__PURE__ */ u(ze, { children: [
|
|
33006
33011
|
/* @__PURE__ */ r(Z6, { data: e, page: n, setPage: a, limit: i, setLimit: o }),
|
|
33007
|
-
/* @__PURE__ */ u(
|
|
33012
|
+
/* @__PURE__ */ u(A, { py: 10, sx: {
|
|
33008
33013
|
width: "100%",
|
|
33009
33014
|
height: "calc(100% - 42px)",
|
|
33010
33015
|
overflow: "auto",
|
|
@@ -33064,7 +33069,7 @@ const Y6 = [{
|
|
|
33064
33069
|
/* @__PURE__ */ r(te, { variant: "subtle", color: "blue", disabled: s || h, onClick: d, children: /* @__PURE__ */ r(Yn, { size: 16 }) })
|
|
33065
33070
|
] })
|
|
33066
33071
|
] }),
|
|
33067
|
-
/* @__PURE__ */ u(
|
|
33072
|
+
/* @__PURE__ */ u(A, { pb: 20, sx: {
|
|
33068
33073
|
position: "relative",
|
|
33069
33074
|
flexGrow: 1,
|
|
33070
33075
|
overflow: "auto"
|
|
@@ -33103,7 +33108,7 @@ const Y6 = [{
|
|
|
33103
33108
|
const {
|
|
33104
33109
|
panel: e
|
|
33105
33110
|
} = rt();
|
|
33106
|
-
return /* @__PURE__ */ r(ze, { children: /* @__PURE__ */ r(
|
|
33111
|
+
return /* @__PURE__ */ r(ze, { children: /* @__PURE__ */ r(A, { className: `panel-root ${e.title.show ? "panel-root--show-title" : ""}`, p: 0, sx: {
|
|
33107
33112
|
border: "1px solid",
|
|
33108
33113
|
borderColor: e.style.border.enabled ? "#e9ecef" : "transparent",
|
|
33109
33114
|
flexGrow: 0,
|
|
@@ -33111,7 +33116,7 @@ const Y6 = [{
|
|
|
33111
33116
|
width: "600px !important",
|
|
33112
33117
|
height: "450px !important"
|
|
33113
33118
|
}, children: /* @__PURE__ */ u(ns, { children: [
|
|
33114
|
-
/* @__PURE__ */ r(
|
|
33119
|
+
/* @__PURE__ */ r(A, { className: "panel-description-popover-wrapper", children: /* @__PURE__ */ r(Md, {}) }),
|
|
33115
33120
|
/* @__PURE__ */ r(n4, {}),
|
|
33116
33121
|
/* @__PURE__ */ r(Ed, { panel: e })
|
|
33117
33122
|
] }) }) });
|
|
@@ -33384,7 +33389,7 @@ const p4 = $.forwardRef(function({
|
|
|
33384
33389
|
border: "1px solid #e9ecef"
|
|
33385
33390
|
}, children: [
|
|
33386
33391
|
/* @__PURE__ */ u(y, { grow: !0, wrap: "nowrap", children: [
|
|
33387
|
-
/* @__PURE__ */ r(
|
|
33392
|
+
/* @__PURE__ */ r(V, { label: o("common.name"), required: !0, value: t.name, onChange: (s) => l("name", s.currentTarget.value) }),
|
|
33388
33393
|
/* @__PURE__ */ r(Y, { label: o("common.data_field"), required: !0, value: t.data_field, onChange: (s) => l("data_field", s) })
|
|
33389
33394
|
] }),
|
|
33390
33395
|
/* @__PURE__ */ r(pi, { label: o("panel.variable.aggregation.label"), pt: 0, value: t.aggregation, onChange: (s) => l("aggregation", s), withFallback: !0 }),
|
|
@@ -33468,7 +33473,7 @@ const g4 = D(({
|
|
|
33468
33473
|
height: "100%",
|
|
33469
33474
|
position: "relative"
|
|
33470
33475
|
}, children: [
|
|
33471
|
-
/* @__PURE__ */ r(
|
|
33476
|
+
/* @__PURE__ */ r(A, { sx: {
|
|
33472
33477
|
maxWidth: "calc(100% - 610px - 10px)",
|
|
33473
33478
|
height: "100%",
|
|
33474
33479
|
overflow: "auto"
|
|
@@ -33480,7 +33485,7 @@ const g4 = D(({
|
|
|
33480
33485
|
flexShrink: 0
|
|
33481
33486
|
}, children: [
|
|
33482
33487
|
/* @__PURE__ */ r(r4, {}),
|
|
33483
|
-
/* @__PURE__ */ r(
|
|
33488
|
+
/* @__PURE__ */ r(A, { sx: {
|
|
33484
33489
|
flexGrow: 1
|
|
33485
33490
|
}, children: /* @__PURE__ */ r(d4, {}) })
|
|
33486
33491
|
] })
|
|
@@ -33600,7 +33605,7 @@ const _4 = D(({
|
|
|
33600
33605
|
return /* @__PURE__ */ u(T, { sx: {
|
|
33601
33606
|
height: "100%"
|
|
33602
33607
|
}, gap: "sm", pb: "59px", children: [
|
|
33603
|
-
/* @__PURE__ */ r(
|
|
33608
|
+
/* @__PURE__ */ r(A, { pt: 9, pb: 8, sx: {
|
|
33604
33609
|
borderBottom: "1px solid #eee"
|
|
33605
33610
|
}, children: /* @__PURE__ */ r(k, { px: "md", ta: "left", sx: {
|
|
33606
33611
|
userSelect: "none",
|
|
@@ -33626,7 +33631,7 @@ const _4 = D(({
|
|
|
33626
33631
|
] }),
|
|
33627
33632
|
/* @__PURE__ */ r(L, { variant: "subtle", size: "xs", color: "red", leftSection: /* @__PURE__ */ r($e, { size: 14 }), disabled: !i.content.hasUnusedQueries, onClick: l, children: e("query.delete_unused") })
|
|
33628
33633
|
] }),
|
|
33629
|
-
/* @__PURE__ */ r(
|
|
33634
|
+
/* @__PURE__ */ r(A, { sx: {
|
|
33630
33635
|
flexGrow: 1,
|
|
33631
33636
|
overflow: "auto"
|
|
33632
33637
|
}, children: /* @__PURE__ */ r(J.Group, { size: "xs", value: t, onChange: n, children: /* @__PURE__ */ u(w, { fz: "sm", highlightOnHover: !0, sx: {
|
|
@@ -33703,7 +33708,7 @@ const _4 = D(({
|
|
|
33703
33708
|
hover: !0,
|
|
33704
33709
|
focus: !1,
|
|
33705
33710
|
touch: !1
|
|
33706
|
-
}, withinPortal: !0, zIndex: 320, position: "top-end", children: /* @__PURE__ */ r(
|
|
33711
|
+
}, withinPortal: !0, zIndex: 320, position: "top-end", children: /* @__PURE__ */ r(A, { sx: {
|
|
33707
33712
|
alignSelf: "flex-end"
|
|
33708
33713
|
}, children: /* @__PURE__ */ r(L, { disabled: !0, size: "xs", leftSection: /* @__PURE__ */ r($e, { size: 16 }), children: t("query.delete") }) }) }) : /* @__PURE__ */ r(L, { color: "red", size: "xs", onClick: c, leftSection: /* @__PURE__ */ r($e, { size: 16 }), sx: {
|
|
33709
33714
|
alignSelf: "flex-end"
|
|
@@ -33917,7 +33922,7 @@ const L4 = D(({
|
|
|
33917
33922
|
const t = e.dbInfo, {
|
|
33918
33923
|
tables: n
|
|
33919
33924
|
} = t;
|
|
33920
|
-
return n.loading ? /* @__PURE__ */ r(Zd, { height: "24px", lastWidth: "50%", count: 15 }) : /* @__PURE__ */ r(
|
|
33925
|
+
return n.loading ? /* @__PURE__ */ r(Zd, { height: "24px", lastWidth: "50%", count: 15 }) : /* @__PURE__ */ r(A, { h: "100%", sx: {
|
|
33921
33926
|
overflow: "auto",
|
|
33922
33927
|
".mantine-NavLink-label": {
|
|
33923
33928
|
fontFamily: "monospace"
|
|
@@ -33927,7 +33932,7 @@ const L4 = D(({
|
|
|
33927
33932
|
}, active: t.table_name === o.table_name }, o.table_name)) }, a)) });
|
|
33928
33933
|
}), V4 = ({
|
|
33929
33934
|
visible: e
|
|
33930
|
-
}) => /* @__PURE__ */ r(
|
|
33935
|
+
}) => /* @__PURE__ */ r(A, { py: 10, sx: {
|
|
33931
33936
|
width: "100%",
|
|
33932
33937
|
height: "100%",
|
|
33933
33938
|
overflow: "hidden",
|
|
@@ -33983,7 +33988,7 @@ const L4 = D(({
|
|
|
33983
33988
|
const t = e.dbInfo.tableData;
|
|
33984
33989
|
return t.maxPage === 0 ? /* @__PURE__ */ r(k, { mt: 20, c: "red", size: "md", ta: "center", ff: "monospace", children: "This table is empty" }) : t.error ? /* @__PURE__ */ r(k, { mt: 20, c: "red", size: "md", ta: "center", ff: "monospace", children: t.error }) : t.page === 1 && t.loading ? /* @__PURE__ */ r(V4, { visible: !0 }) : /* @__PURE__ */ u(ze, { children: [
|
|
33985
33990
|
/* @__PURE__ */ r(P4, { dataSource: e }),
|
|
33986
|
-
/* @__PURE__ */ u(
|
|
33991
|
+
/* @__PURE__ */ u(A, { py: 10, sx: {
|
|
33987
33992
|
width: "100%",
|
|
33988
33993
|
height: "calc(100% - 42px)",
|
|
33989
33994
|
overflow: "auto",
|
|
@@ -34018,7 +34023,7 @@ const L4 = D(({
|
|
|
34018
34023
|
}, [n]), n.tables.error ? /* @__PURE__ */ r(k, { c: "red", size: "md", ta: "center", ff: "monospace", children: n.tables.error }) : /* @__PURE__ */ u(tt, { sx: {
|
|
34019
34024
|
height: "100%"
|
|
34020
34025
|
}, children: [
|
|
34021
|
-
/* @__PURE__ */ r(
|
|
34026
|
+
/* @__PURE__ */ r(A, { w: 300, sx: {
|
|
34022
34027
|
flexGrow: 0,
|
|
34023
34028
|
flexShrink: 0,
|
|
34024
34029
|
position: "relative"
|
|
@@ -34077,7 +34082,7 @@ const L4 = D(({
|
|
|
34077
34082
|
to: "red"
|
|
34078
34083
|
}, children: e.type })
|
|
34079
34084
|
] })
|
|
34080
|
-
] }), zIndex: 320, size: "96vw", styles: q4, children: /* @__PURE__ */ r(
|
|
34085
|
+
] }), zIndex: 320, size: "96vw", styles: q4, children: /* @__PURE__ */ r(A, { sx: {
|
|
34081
34086
|
height: "calc(100vh - 220px)"
|
|
34082
34087
|
}, children: /* @__PURE__ */ r(O4, { dataSource: e }) }) }),
|
|
34083
34088
|
/* @__PURE__ */ r(L, { variant: "subtle", onClick: () => i(!0), px: 16, styles: {
|
|
@@ -34147,7 +34152,7 @@ const L4 = D(({
|
|
|
34147
34152
|
key: e.key
|
|
34148
34153
|
}), [a, e.type, e.key]);
|
|
34149
34154
|
return /* @__PURE__ */ r(q, { size: t, data: l, label: /* @__PURE__ */ u(y, { justify: "space-between", children: [
|
|
34150
|
-
/* @__PURE__ */ r(
|
|
34155
|
+
/* @__PURE__ */ r(A, { children: n("data_source.label") }),
|
|
34151
34156
|
d && /* @__PURE__ */ r(Jd, { dataSource: d, triggerButtonProps: {
|
|
34152
34157
|
size: "compact-xs",
|
|
34153
34158
|
px: 10
|
|
@@ -34188,7 +34193,7 @@ const L4 = D(({
|
|
|
34188
34193
|
width: "100%"
|
|
34189
34194
|
}, children: [
|
|
34190
34195
|
/* @__PURE__ */ r(P, { mb: -10, variant: "dashed", label: t("query.basics"), labelPosition: "center" }),
|
|
34191
|
-
/* @__PURE__ */ r(
|
|
34196
|
+
/* @__PURE__ */ r(V, { placeholder: t("query.name_description"), label: t("query.name"), required: !0, sx: {
|
|
34192
34197
|
flex: 1
|
|
34193
34198
|
}, value: n, onChange: (o) => {
|
|
34194
34199
|
a(o.currentTarget.value);
|
|
@@ -34344,8 +34349,8 @@ WHERE
|
|
|
34344
34349
|
/* @__PURE__ */ r(w.Td, { children: t(l.type_label) }),
|
|
34345
34350
|
/* @__PURE__ */ r(w.Td, { children: /* @__PURE__ */ r(Qn, { size: "sm", component: "button", type: "button", onClick: () => a(l), children: l.label }) }),
|
|
34346
34351
|
/* @__PURE__ */ r(w.Td, { children: /* @__PURE__ */ u(T, { align: "flex-start", justify: "flex-start", gap: 2, children: [
|
|
34347
|
-
l.views.map((s) => /* @__PURE__ */ r(Qn, { size: "sm", component: "button", type: "button", onClick: () => i(s.id), children: /* @__PURE__ */ r(
|
|
34348
|
-
l.views.length === 0 && /* @__PURE__ */ r(
|
|
34352
|
+
l.views.map((s) => /* @__PURE__ */ r(Qn, { size: "sm", component: "button", type: "button", onClick: () => i(s.id), children: /* @__PURE__ */ r(A, { children: s.label }) }, s.id)),
|
|
34353
|
+
l.views.length === 0 && /* @__PURE__ */ r(A, { children: "--" })
|
|
34349
34354
|
] }) })
|
|
34350
34355
|
] }, l.id)) })
|
|
34351
34356
|
] });
|
|
@@ -34364,7 +34369,7 @@ WHERE
|
|
|
34364
34369
|
svg: {
|
|
34365
34370
|
verticalAlign: "middle"
|
|
34366
34371
|
}
|
|
34367
|
-
}, children: l.map((s) => /* @__PURE__ */ r(We.Item, { icon: /* @__PURE__ */ r(
|
|
34372
|
+
}, children: l.map((s) => /* @__PURE__ */ r(We.Item, { icon: /* @__PURE__ */ r(A, { sx: {
|
|
34368
34373
|
path: {
|
|
34369
34374
|
fill: s.valid ? "rgb(18, 184, 134)" : "rgb(250, 82, 82)"
|
|
34370
34375
|
}
|
|
@@ -34484,7 +34489,7 @@ WHERE
|
|
|
34484
34489
|
/* @__PURE__ */ r(k, { size: "sm", children: t("query.transform.guide.pick_queries") }),
|
|
34485
34490
|
/* @__PURE__ */ r(un, { data: n.queries.optionsWithoutTransform, value: [...a.dep_query_ids], onChange: a.setDependantQueryIDs, maxDropdownHeight: 800 }),
|
|
34486
34491
|
/* @__PURE__ */ r(k, { size: "sm", children: t("query.transform.guide.write_function") }),
|
|
34487
|
-
/* @__PURE__ */ r(
|
|
34492
|
+
/* @__PURE__ */ r(A, { sx: {
|
|
34488
34493
|
flexGrow: 1
|
|
34489
34494
|
}, children: /* @__PURE__ */ r(fn, { label: "", value: e.pre_process, onChange: e.setPreProcess, defaultValue: Z4.pre }) })
|
|
34490
34495
|
] });
|
|
@@ -34647,7 +34652,7 @@ function oD({
|
|
|
34647
34652
|
columnResizeMode: "onChange",
|
|
34648
34653
|
getCoreRowModel: Na()
|
|
34649
34654
|
});
|
|
34650
|
-
return e.length === 0 ? /* @__PURE__ */ r(
|
|
34655
|
+
return e.length === 0 ? /* @__PURE__ */ r(A, { sx: {
|
|
34651
34656
|
height: "5em"
|
|
34652
34657
|
} }) : /* @__PURE__ */ r(ze, { children: /* @__PURE__ */ u(w, { sx: iD, stickyHeader: !0, stickyHeaderOffset: 0, children: [
|
|
34653
34658
|
/* @__PURE__ */ r(w.Thead, { style: {
|
|
@@ -34740,7 +34745,7 @@ const lD = [{
|
|
|
34740
34745
|
}
|
|
34741
34746
|
}, children: [
|
|
34742
34747
|
/* @__PURE__ */ r(cD, { data: e, page: n, setPage: a, limit: i, setLimit: o }),
|
|
34743
|
-
/* @__PURE__ */ u(
|
|
34748
|
+
/* @__PURE__ */ u(A, { sx: {
|
|
34744
34749
|
width: "100%",
|
|
34745
34750
|
height: "calc(100% - 42px)",
|
|
34746
34751
|
overflow: "auto",
|
|
@@ -34781,7 +34786,6 @@ const lD = [{
|
|
|
34781
34786
|
}, [i]);
|
|
34782
34787
|
const l = !Array.isArray(t) || t.length === 0;
|
|
34783
34788
|
return /* @__PURE__ */ u(T, { gap: 0, sx: {
|
|
34784
|
-
minHeight: "250px",
|
|
34785
34789
|
maxHeight: "calc(50vh - 48px)",
|
|
34786
34790
|
flexGrow: 1,
|
|
34787
34791
|
flexShrink: 0,
|
|
@@ -34791,7 +34795,7 @@ const lD = [{
|
|
|
34791
34795
|
/* @__PURE__ */ r(k, { size: "sm", fw: 500, children: "查询结果" }),
|
|
34792
34796
|
/* @__PURE__ */ r(L, { size: "xs", variant: "transparent", color: "gray", leftSection: /* @__PURE__ */ r(Yn, { size: 16 }), disabled: a || l, onClick: o, children: "下载查询结果" })
|
|
34793
34797
|
] }),
|
|
34794
|
-
/* @__PURE__ */ u(
|
|
34798
|
+
/* @__PURE__ */ u(A, { sx: {
|
|
34795
34799
|
position: "relative",
|
|
34796
34800
|
flexGrow: 1,
|
|
34797
34801
|
overflow: "hidden"
|
|
@@ -35143,7 +35147,7 @@ const lD = [{
|
|
|
35143
35147
|
t.setTimeQueryEnabled(!0);
|
|
35144
35148
|
return;
|
|
35145
35149
|
}
|
|
35146
|
-
}, [i.requireTrendingReason, l]), i.supportTrending ? i.requireTrendingReason ? /* @__PURE__ */ r(re, { label: i.requireTrendingReason, children: /* @__PURE__ */ r(
|
|
35150
|
+
}, [i.requireTrendingReason, l]), i.supportTrending ? i.requireTrendingReason ? /* @__PURE__ */ r(re, { label: i.requireTrendingReason, children: /* @__PURE__ */ r(A, { children: /* @__PURE__ */ r(Ce, { size: "xs", color: "red", checked: !0, readOnly: !0, styles: {
|
|
35147
35151
|
track: {
|
|
35148
35152
|
cursor: "not-allowed"
|
|
35149
35153
|
}
|
|
@@ -35151,7 +35155,7 @@ const lD = [{
|
|
|
35151
35155
|
track: {
|
|
35152
35156
|
cursor: "pointer"
|
|
35153
35157
|
}
|
|
35154
|
-
} }) : /* @__PURE__ */ r(re, { label: "由于指标未设定时序维度,所以不具备时间序列展示功能。", children: /* @__PURE__ */ r(
|
|
35158
|
+
} }) : /* @__PURE__ */ r(re, { label: "由于指标未设定时序维度,所以不具备时间序列展示功能。", children: /* @__PURE__ */ r(A, { children: /* @__PURE__ */ r(Ce, { size: "xs", color: "red", disabled: !o }) }) });
|
|
35155
35159
|
}), zD = D(({
|
|
35156
35160
|
queryModel: e
|
|
35157
35161
|
}) => {
|
|
@@ -35309,7 +35313,7 @@ const lD = [{
|
|
|
35309
35313
|
}) => {
|
|
35310
35314
|
const t = e.metricQueryPayloadError;
|
|
35311
35315
|
return t.length > 0 ? /* @__PURE__ */ u(_e, { shadow: "md", children: [
|
|
35312
|
-
/* @__PURE__ */ r(_e.Target, { children: /* @__PURE__ */ r(
|
|
35316
|
+
/* @__PURE__ */ r(_e.Target, { children: /* @__PURE__ */ r(A, { children: /* @__PURE__ */ r(L, { size: "xs", leftSection: /* @__PURE__ */ r(Ko, { width: 14, height: 14, color: "rgb(173, 181, 189)" }), variant: "filled", color: "red", disabled: !0, children: "执行查询" }) }) }),
|
|
35313
35317
|
/* @__PURE__ */ r(_e.Dropdown, { children: /* @__PURE__ */ r(We, { size: "xs", children: t.map((n) => /* @__PURE__ */ r(We.Item, { children: n }, n)) }) })
|
|
35314
35318
|
] }) : /* @__PURE__ */ r(L, { size: "xs", leftSection: /* @__PURE__ */ r(Ko, { width: 14, height: 14 }), variant: "filled", color: "red", onClick: () => e.fetchData(!0), children: "执行查询" });
|
|
35315
35319
|
}), RD = ({
|
|
@@ -35389,7 +35393,7 @@ const lD = [{
|
|
|
35389
35393
|
flexGrow: 0,
|
|
35390
35394
|
flexShrink: 0
|
|
35391
35395
|
}
|
|
35392
|
-
}, children: /* @__PURE__ */ r(
|
|
35396
|
+
}, children: /* @__PURE__ */ r(V, { size: "xs", placeholder: t("query.name_description"), label: t("query.name"), value: e.name, onChange: (n) => {
|
|
35393
35397
|
e.setName(n.currentTarget.value);
|
|
35394
35398
|
}, styles: {
|
|
35395
35399
|
root: {
|
|
@@ -35469,7 +35473,7 @@ const lD = [{
|
|
|
35469
35473
|
/* @__PURE__ */ u(y, { sx: {
|
|
35470
35474
|
alignItems: "end"
|
|
35471
35475
|
}, gap: 40, children: [
|
|
35472
|
-
/* @__PURE__ */ r(
|
|
35476
|
+
/* @__PURE__ */ r(V, { label: a(h ? "sql_snippet.key_occupied" : "sql_snippet.key"), value: l, onChange: (M) => {
|
|
35473
35477
|
s(M.currentTarget.value);
|
|
35474
35478
|
}, sx: {
|
|
35475
35479
|
flexGrow: "1 !important"
|
|
@@ -35549,7 +35553,7 @@ const lD = [{
|
|
|
35549
35553
|
return /* @__PURE__ */ u(T, { sx: {
|
|
35550
35554
|
height: "100%"
|
|
35551
35555
|
}, gap: "sm", pb: "59px", children: [
|
|
35552
|
-
/* @__PURE__ */ r(
|
|
35556
|
+
/* @__PURE__ */ r(A, { pt: 9, pb: 8, sx: {
|
|
35553
35557
|
borderBottom: "1px solid #eee"
|
|
35554
35558
|
}, children: /* @__PURE__ */ r(k, { size: "sm", px: "md", ta: "left", sx: {
|
|
35555
35559
|
userSelect: "none",
|
|
@@ -35575,7 +35579,7 @@ const lD = [{
|
|
|
35575
35579
|
] }),
|
|
35576
35580
|
/* @__PURE__ */ r(L, { variant: "subtle", size: "xs", color: "red", leftSection: /* @__PURE__ */ r($e, { size: 14 }), disabled: !i.content.hasUnusedSQLSnippets, onClick: l, children: e("sql_snippet.delete_unused") })
|
|
35577
35581
|
] }),
|
|
35578
|
-
/* @__PURE__ */ r(
|
|
35582
|
+
/* @__PURE__ */ r(A, { sx: {
|
|
35579
35583
|
flexGrow: 1,
|
|
35580
35584
|
overflow: "auto"
|
|
35581
35585
|
}, children: /* @__PURE__ */ r(J.Group, { size: "xs", value: t, onChange: n, children: /* @__PURE__ */ u(w, { fz: "sm", highlightOnHover: !0, sx: {
|
|
@@ -35652,7 +35656,7 @@ const lD = [{
|
|
|
35652
35656
|
disabled: e,
|
|
35653
35657
|
value: t,
|
|
35654
35658
|
onChange: n
|
|
35655
|
-
}) => /* @__PURE__ */ u(
|
|
35659
|
+
}) => /* @__PURE__ */ u(A, { sx: {
|
|
35656
35660
|
position: "relative"
|
|
35657
35661
|
}, children: [
|
|
35658
35662
|
e && /* @__PURE__ */ r(en, { backgroundOpacity: 0.6, color: "#fff", zIndex: 5, blur: 2 }),
|
|
@@ -35726,14 +35730,14 @@ const lD = [{
|
|
|
35726
35730
|
return /* @__PURE__ */ u(T, { children: [
|
|
35727
35731
|
/* @__PURE__ */ r(P, { mt: 8, label: t("view.component.modal.modal_settings"), labelPosition: "center" }),
|
|
35728
35732
|
/* @__PURE__ */ u(tt, { gap: 10, children: [
|
|
35729
|
-
/* @__PURE__ */ r(
|
|
35733
|
+
/* @__PURE__ */ r(V, { label: t("view.component.modal.title"), value: a, onChange: C.noop, disabled: !0, sx: {
|
|
35730
35734
|
flexGrow: 1
|
|
35731
35735
|
} }),
|
|
35732
35736
|
/* @__PURE__ */ r(WD, { value: n.custom_modal_title, onChange: n.custom_modal_title.replace })
|
|
35733
35737
|
] }),
|
|
35734
35738
|
/* @__PURE__ */ u(y, { grow: !0, children: [
|
|
35735
|
-
/* @__PURE__ */ r(
|
|
35736
|
-
/* @__PURE__ */ r(
|
|
35739
|
+
/* @__PURE__ */ r(V, { label: t("view.component.modal.width"), value: n.width, onChange: (i) => n.setWidth(i.currentTarget.value), placeholder: "600px / 50vw" }),
|
|
35740
|
+
/* @__PURE__ */ r(V, { label: t("view.component.modal.height"), value: n.height, onChange: (i) => n.setHeight(i.currentTarget.value), placeholder: "600px / 50vw" })
|
|
35737
35741
|
] })
|
|
35738
35742
|
] });
|
|
35739
35743
|
}), KD = D(({
|
|
@@ -35761,7 +35765,7 @@ const lD = [{
|
|
|
35761
35765
|
return e ? /* @__PURE__ */ u(T, { sx: {
|
|
35762
35766
|
position: "relative"
|
|
35763
35767
|
}, children: [
|
|
35764
|
-
/* @__PURE__ */ r(
|
|
35768
|
+
/* @__PURE__ */ r(V, { label: t("common.name"), value: e.name, onChange: (i) => {
|
|
35765
35769
|
e.setName(i.currentTarget.value);
|
|
35766
35770
|
} }),
|
|
35767
35771
|
/* @__PURE__ */ r(q, { label: t("common.type"), comboboxProps: {
|
|
@@ -35809,7 +35813,7 @@ const lD = [{
|
|
|
35809
35813
|
zIndex: 320
|
|
35810
35814
|
});
|
|
35811
35815
|
}, children: t("view.delete") }) }),
|
|
35812
|
-
/* @__PURE__ */ r(
|
|
35816
|
+
/* @__PURE__ */ r(A, { sx: {
|
|
35813
35817
|
flexGrow: 1,
|
|
35814
35818
|
maxHeight: "calc(100% - 52px)",
|
|
35815
35819
|
overflow: "auto"
|
|
@@ -35819,7 +35823,7 @@ const lD = [{
|
|
|
35819
35823
|
height: "100%"
|
|
35820
35824
|
}, p: "sm", children: /* @__PURE__ */ r(nu, {}) })), JD = D(() => {
|
|
35821
35825
|
const e = de().editor, t = e.path;
|
|
35822
|
-
return uT(t) ? /* @__PURE__ */ r(ZD, {}) : hT(t) ? /* @__PURE__ */ r(B6, {}) : pT(t) ? /* @__PURE__ */ r(N6, {}) : mT(t) ? /* @__PURE__ */ r(
|
|
35826
|
+
return uT(t) ? /* @__PURE__ */ r(ZD, {}) : hT(t) ? /* @__PURE__ */ r(B6, {}) : pT(t) ? /* @__PURE__ */ r(N6, {}) : mT(t) ? /* @__PURE__ */ r(A, { p: "xs", pl: 20, children: /* @__PURE__ */ r(F6, { id: t[1] }) }) : gT(t) ? /* @__PURE__ */ r(jD, {}) : fT(t) ? /* @__PURE__ */ r(BD, { id: t[1] }) : yT(t) ? /* @__PURE__ */ r(v4, {}) : bT(t) ? /* @__PURE__ */ r(qD, { id: t[1] }) : _T(t) ? /* @__PURE__ */ r(A, { p: "xs", pl: 20, children: /* @__PURE__ */ r(XD, { id: t[1] }) }) : _a(t) ? /* @__PURE__ */ r(x4, { viewID: t[1], panelID: t[3] }) : /* @__PURE__ */ r(A, { children: e.path });
|
|
35823
35827
|
}), eI = D(() => /* @__PURE__ */ r(JD, {})), tI = D(() => {
|
|
35824
35828
|
const {
|
|
35825
35829
|
t: e
|
|
@@ -35969,7 +35973,7 @@ const lD = [{
|
|
|
35969
35973
|
}, [s]), /* @__PURE__ */ r(la, { active: i, defaultOpened: s, opened: c, onChange: d, label: t(e.label), onClick: () => l(e), leftSection: e.Icon ? /* @__PURE__ */ r(e.Icon, { size: 18 }) : null, children: (h = e.children) == null ? void 0 : h.map((p) => p._type === "ACTION" ? /* @__PURE__ */ r(cI, { action_type: p._action_type, parentID: p.parentID }, `_ADD_${p.value}_`) : /* @__PURE__ */ r(iu, { option: p }, p.value)) }, e.label);
|
|
35970
35974
|
}), dI = D(() => {
|
|
35971
35975
|
const e = de();
|
|
35972
|
-
return /* @__PURE__ */ r(
|
|
35976
|
+
return /* @__PURE__ */ r(A, { sx: {
|
|
35973
35977
|
position: "relative"
|
|
35974
35978
|
}, children: e.editor.navOptions.map((t) => /* @__PURE__ */ r(iu, { option: t }, t.value)) });
|
|
35975
35979
|
}), uI = D(() => {
|
|
@@ -36162,7 +36166,7 @@ const bI = {
|
|
|
36162
36166
|
}, styles: bI, children: [
|
|
36163
36167
|
/* @__PURE__ */ r(t6, { onExit: h, saveDashboardChanges: I, headerSlot: s }),
|
|
36164
36168
|
/* @__PURE__ */ r(D6, {}),
|
|
36165
|
-
/* @__PURE__ */ r(Xe.Main, { children: /* @__PURE__ */ r(
|
|
36169
|
+
/* @__PURE__ */ r(Xe.Main, { children: /* @__PURE__ */ r(A, { className: `${i} dashboard-root`, sx: {
|
|
36166
36170
|
position: "relative"
|
|
36167
36171
|
}, children: v.content.views.visibleViews.map((O) => /* @__PURE__ */ r(jz, { view: O }, O.id)) }) })
|
|
36168
36172
|
] }),
|
|
@@ -36405,7 +36409,7 @@ const wI = ({
|
|
|
36405
36409
|
setFullScreenPanelID: l
|
|
36406
36410
|
}, children: /* @__PURE__ */ r(Rr.Provider, { value: {
|
|
36407
36411
|
inEditMode: !1
|
|
36408
|
-
}, children: /* @__PURE__ */ r(
|
|
36412
|
+
}, children: /* @__PURE__ */ r(A, { className: `${a} dashboard-root`, children: /* @__PURE__ */ r(Kt.Provider, { value: v, children: /* @__PURE__ */ r(qr, { configure: I, children: b.content.views.visibleViews.map((M) => /* @__PURE__ */ r(qi, { view: M }, M.id)) }) }) }) }) }) }) }) }) }) }) }) });
|
|
36409
36413
|
}, L9 = D(wI), V9 = () => Promise.resolve().then(() => pm).then(({
|
|
36410
36414
|
version: e
|
|
36411
36415
|
}) => (console.log(`[@devtable/dashboard] version: ${e}`), e));
|