@devtable/dashboard 8.62.2 → 8.63.1
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 +80 -80
- package/dist/dashboard.umd.js +9 -9
- package/package.json +1 -1
package/dist/dashboard.es.js
CHANGED
|
@@ -2,11 +2,11 @@ var _c = Object.defineProperty;
|
|
|
2
2
|
var Cc = (e, t, r) => t in e ? _c(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var W = (e, t, r) => (Cc(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
4
|
import M, { useEffect as q, createContext as _o, useMemo as I, forwardRef as Se, useState as X, useCallback as Ye, useContext as gt, useRef as Sc, createElement as cr, memo as kc } from "react";
|
|
5
|
-
import { Box as E, Text as C, Button as L, Checkbox as ye, Group as y, Tooltip as Ee, MultiSelect as Rn, Select as O, TextInput as $, createStyles as En, Stack as S, Badge as nr, CloseButton as Tc, Modal as ke, ActionIcon as H, Menu as
|
|
5
|
+
import { Box as E, Text as C, Button as L, Checkbox as ye, Group as y, Tooltip as Ee, MultiSelect as Rn, Select as O, TextInput as $, createStyles as En, Stack as S, Badge as nr, CloseButton as Tc, Modal as ke, ActionIcon as H, Menu as Ve, Divider as A, Switch as Ge, NumberInput as ie, useMantineTheme as Co, ColorInput as Mi, ColorSwatch as Wr, Slider as Dc, Overlay as Et, Tabs as v, Center as un, CheckIcon as Ic, MANTINE_SIZES as Lc, SimpleGrid as on, SegmentedControl as $c, Textarea as Mc, Collapse as zi, Table as Ot, Accordion as Wt, Popover as Er, LoadingOverlay as Ht, NativeSelect as zc, HoverCard as sn, Flex as On, Paper as Ai, Code as ja, Alert as Ac, Header as Rc, ThemeIcon as Or, List as Ga, UnstyledButton as Ec, Navbar as St, JsonInput as So, Radio as Ya, Skeleton as Ha, NavLink as jr, Pagination as Oc, Anchor as Qa, AppShell as ko } from "@mantine/core";
|
|
6
6
|
import { useModals as Tt, ModalsProvider as To } from "@mantine/modals";
|
|
7
7
|
import { useCreation as dt, usePrevious as Vc, useBoolean as Qe, useLatest as Ua, useRequest as Vn, useAsyncEffect as Fn } from "ahooks";
|
|
8
8
|
import { observer as D } from "mobx-react-lite";
|
|
9
|
-
import k, { template as Ri, cloneDeepWith as Do, get as se, isFunction as Fc, omit as Gt, values as Io, unset as Pc, isObject as Lo, set as Ei, orderBy as Bc, last as $o, defaults as De, minBy as Nc, maxBy as qc, cloneDeep as
|
|
9
|
+
import k, { template as Ri, cloneDeepWith as Do, get as se, isFunction as Fc, omit as Gt, values as Io, unset as Pc, isObject as Lo, set as Ei, orderBy as Bc, last as $o, defaults as De, minBy as Nc, maxBy as qc, cloneDeep as Fe, isEqual as we, defaultsDeep as Te, keyBy as Mo, merge as Wc, isEmpty as Oi, isNumber as jc, findLastIndex as Gc, isString as zo, range as Yc, throttle as Hc, pick as Ao } from "lodash";
|
|
10
10
|
import { useForm as $e, useWatch as Qc, Controller as b, useFieldArray as Re } from "react-hook-form";
|
|
11
11
|
import { IconInfoCircle as dr, IconPlus as Vt, IconDeviceFloppy as Pn, IconBorderAll as Uc, IconTrash as ln, IconArrowDown as Xc, IconArrowUp as Zc, IconArrowsLeftRight as Kc, IconVariable as Jc, IconCodeDots as ed, IconFilter as Ro, IconCopy as td, IconDatabase as ur, IconBoxMultiple as Eo, IconMenu2 as nd, IconDownload as rd, IconCode as id, IconCaretDown as ad, IconRecycle as Oo, IconAlertTriangle as Vo, IconArrowLeft as od, IconPlaylistAdd as sd, IconCircleDashed as ld, IconCircleDot as cd, IconCircleOff as dd, IconAdjustments as ud, IconLink as hd, IconSettings as pd, IconArrowCurveRight as md, IconX as Fo, IconEye as gd, IconTable as fd, IconColumns as bd, IconPlayerSkipBack as vd } from "@tabler/icons";
|
|
12
12
|
import { Link as Po, RichTextEditor as re, useRichTextEditorContext as xd } from "@mantine/tiptap";
|
|
@@ -26,7 +26,7 @@ import { useEditor as Ko } from "@tiptap/react";
|
|
|
26
26
|
import Jo from "@tiptap/starter-kit";
|
|
27
27
|
import { DateRangePicker as yd } from "@mantine/dates";
|
|
28
28
|
import K from "dayjs";
|
|
29
|
-
import { Calendar as wd, InfoCircle as hn, Refresh as es, Download as ts, ArrowsMaximize as _d, Settings as ns, Copy as Cd, Trash as ve, DeviceFloppy as be, ArrowRight as Vr, PlaylistAdd as hr, Recycle as ft, Plus as
|
|
29
|
+
import { Calendar as wd, InfoCircle as hn, Refresh as es, Download as ts, ArrowsMaximize as _d, Settings as ns, Copy as Cd, Trash as ve, DeviceFloppy as be, ArrowRight as Vr, PlaylistAdd as hr, Recycle as ft, Plus as Pe, AlertCircle as Sd, ArrowsMove as kd, ChevronDownRight as Td, ArrowLeft as Dd, ChevronsUpRight as Id, ArrowBarToRight as Ld } from "tabler-icons-react";
|
|
30
30
|
import { arrayToTree as $d } from "performant-array-to-tree";
|
|
31
31
|
import Md, { SHOW_PARENT as zd } from "rc-tree-select";
|
|
32
32
|
import rs, { WidthProvider as is } from "react-grid-layout";
|
|
@@ -835,7 +835,7 @@ const iu = {
|
|
|
835
835
|
viewPanelInFullScreen: k.noop,
|
|
836
836
|
inFullScreen: !1
|
|
837
837
|
}, Ni = M.createContext(iu), gs = M.createContext(null), fs = gs.Provider;
|
|
838
|
-
function
|
|
838
|
+
function Oe() {
|
|
839
839
|
const e = M.useContext(gs);
|
|
840
840
|
if (!e)
|
|
841
841
|
throw new Error("Please use ModelContextProvider");
|
|
@@ -1624,7 +1624,7 @@ const Ts = D(() => {
|
|
|
1624
1624
|
}), Su = D(({
|
|
1625
1625
|
view: e
|
|
1626
1626
|
}) => {
|
|
1627
|
-
const t =
|
|
1627
|
+
const t = Oe(), r = U(), i = Tt(), {
|
|
1628
1628
|
panel: a
|
|
1629
1629
|
} = We(), {
|
|
1630
1630
|
id: o,
|
|
@@ -1659,20 +1659,20 @@ const Ts = D(() => {
|
|
|
1659
1659
|
left: 0,
|
|
1660
1660
|
right: 0,
|
|
1661
1661
|
zIndex: 300
|
|
1662
|
-
}, children: /* @__PURE__ */ u(
|
|
1663
|
-
/* @__PURE__ */ n(
|
|
1662
|
+
}, children: /* @__PURE__ */ u(Ve, { withinPortal: !0, children: [
|
|
1663
|
+
/* @__PURE__ */ n(Ve.Target, { children: /* @__PURE__ */ n(E, { className: "panel-dropdown-target", sx: {
|
|
1664
1664
|
width: "100%",
|
|
1665
1665
|
height: "25px"
|
|
1666
1666
|
} }) }),
|
|
1667
|
-
/* @__PURE__ */ u(
|
|
1668
|
-
/* @__PURE__ */ n(
|
|
1669
|
-
/* @__PURE__ */ n(
|
|
1670
|
-
x && /* @__PURE__ */ n(
|
|
1667
|
+
/* @__PURE__ */ u(Ve.Dropdown, { children: [
|
|
1668
|
+
/* @__PURE__ */ n(Ve.Item, { onClick: c, icon: /* @__PURE__ */ n(es, { size: 14 }), children: "Refresh" }),
|
|
1669
|
+
/* @__PURE__ */ n(Ve.Item, { onClick: () => r.queries.downloadDataByQueryID((l == null ? void 0 : l.id) ?? ""), icon: /* @__PURE__ */ n(ts, { size: 14 }), children: "Download Data" }),
|
|
1670
|
+
x && /* @__PURE__ */ n(Ve.Item, { onClick: w, icon: /* @__PURE__ */ n(_d, { size: 14 }), disabled: s, children: "Full Screen" }),
|
|
1671
1671
|
s && /* @__PURE__ */ u(j, { children: [
|
|
1672
1672
|
/* @__PURE__ */ n(A, { label: "Edit", labelPosition: "center" }),
|
|
1673
|
-
/* @__PURE__ */ n(
|
|
1674
|
-
/* @__PURE__ */ n(
|
|
1675
|
-
/* @__PURE__ */ n(
|
|
1673
|
+
/* @__PURE__ */ n(Ve.Item, { onClick: h, icon: /* @__PURE__ */ n(ns, { size: 14 }), children: "Settings" }),
|
|
1674
|
+
/* @__PURE__ */ n(Ve.Item, { onClick: m, icon: /* @__PURE__ */ n(Cd, { size: 14 }), children: "Duplicate" }),
|
|
1675
|
+
/* @__PURE__ */ n(Ve.Item, { color: "red", onClick: g, icon: /* @__PURE__ */ n(ve, { size: 14 }), children: "Delete" })
|
|
1676
1676
|
] })
|
|
1677
1677
|
] })
|
|
1678
1678
|
] }) }) });
|
|
@@ -1922,7 +1922,7 @@ const Iu = (e) => {
|
|
|
1922
1922
|
getColor: yr(["#fff7f1", "darkorange", "#b60000"]),
|
|
1923
1923
|
name: "orange",
|
|
1924
1924
|
category: "sequential"
|
|
1925
|
-
}, $s = "@devtable/dashboard", ji = "8.
|
|
1925
|
+
}, $s = "@devtable/dashboard", ji = "8.63.1", Ms = "Apache-2.0", zs = {
|
|
1926
1926
|
access: "public",
|
|
1927
1927
|
registry: "https://registry.npmjs.org/"
|
|
1928
1928
|
}, As = [
|
|
@@ -2436,7 +2436,7 @@ const Gu = {
|
|
|
2436
2436
|
createConfig() {
|
|
2437
2437
|
return {
|
|
2438
2438
|
version: 1,
|
|
2439
|
-
config:
|
|
2439
|
+
config: Fe(Gi)
|
|
2440
2440
|
};
|
|
2441
2441
|
}
|
|
2442
2442
|
}, Je = {
|
|
@@ -3752,7 +3752,7 @@ const Ah = {
|
|
|
3752
3752
|
createConfig() {
|
|
3753
3753
|
return {
|
|
3754
3754
|
version: 6,
|
|
3755
|
-
config:
|
|
3755
|
+
config: Fe(Yi)
|
|
3756
3756
|
};
|
|
3757
3757
|
},
|
|
3758
3758
|
triggers: [qs]
|
|
@@ -3983,7 +3983,7 @@ const Hh = {
|
|
|
3983
3983
|
createConfig() {
|
|
3984
3984
|
return {
|
|
3985
3985
|
version: 2,
|
|
3986
|
-
config:
|
|
3986
|
+
config: Fe(Hi)
|
|
3987
3987
|
};
|
|
3988
3988
|
},
|
|
3989
3989
|
triggers: [Ys]
|
|
@@ -4383,7 +4383,7 @@ function cp({
|
|
|
4383
4383
|
y_axis_data_key: t
|
|
4384
4384
|
});
|
|
4385
4385
|
return Object.entries(Y).map(([Q, N]) => {
|
|
4386
|
-
const P =
|
|
4386
|
+
const P = Fe(F);
|
|
4387
4387
|
return P.name = Q, P.color = void 0, P.data = N, P;
|
|
4388
4388
|
});
|
|
4389
4389
|
}
|
|
@@ -4776,7 +4776,7 @@ function Sp({
|
|
|
4776
4776
|
}, children: [
|
|
4777
4777
|
/* @__PURE__ */ u(v.List, { children: [
|
|
4778
4778
|
s.map((p, m) => /* @__PURE__ */ n(v.Tab, { value: m.toString(), children: m + 1 }, m)),
|
|
4779
|
-
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(
|
|
4779
|
+
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
4780
4780
|
] }),
|
|
4781
4781
|
s.map((p, m) => /* @__PURE__ */ n(v.Panel, { value: m.toString(), children: /* @__PURE__ */ n(Cp, { control: e, index: m, remove: o, variableOptions: d }) }, m))
|
|
4782
4782
|
] });
|
|
@@ -4929,7 +4929,7 @@ function Ip({
|
|
|
4929
4929
|
}, children: [
|
|
4930
4930
|
/* @__PURE__ */ u(v.List, { children: [
|
|
4931
4931
|
s.map((h, g) => /* @__PURE__ */ n(v.Tab, { value: g.toString(), children: g + 1 }, g)),
|
|
4932
|
-
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(
|
|
4932
|
+
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
4933
4933
|
] }),
|
|
4934
4934
|
s.map((h, g) => /* @__PURE__ */ n(v.Panel, { value: g.toString(), children: /* @__PURE__ */ n(Dp, { control: e, index: g, remove: o, watch: t, variableOptions: d, yAxisOptions: m }) }, g))
|
|
4935
4935
|
] });
|
|
@@ -5092,7 +5092,7 @@ function zp({
|
|
|
5092
5092
|
}, children: [
|
|
5093
5093
|
/* @__PURE__ */ u(v.List, { children: [
|
|
5094
5094
|
s.map((m, h) => /* @__PURE__ */ n(v.Tab, { value: h.toString(), children: h + 1 }, h)),
|
|
5095
|
-
/* @__PURE__ */ n(v.Tab, { onClick: p, value: "add", children: /* @__PURE__ */ n(
|
|
5095
|
+
/* @__PURE__ */ n(v.Tab, { onClick: p, value: "add", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
5096
5096
|
] }),
|
|
5097
5097
|
s.map((m, h) => /* @__PURE__ */ n(v.Panel, { value: h.toString(), children: /* @__PURE__ */ n(Mp, { regressionItem: m, control: e, index: h, remove: o, yAxisOptions: d, data: r }, h) }, h))
|
|
5098
5098
|
] });
|
|
@@ -5522,7 +5522,7 @@ function Yp({
|
|
|
5522
5522
|
}, children: [
|
|
5523
5523
|
/* @__PURE__ */ u(v.List, { children: [
|
|
5524
5524
|
s.map((m, h) => /* @__PURE__ */ n(v.Tab, { value: h.toString(), children: h + 1 }, m.id)),
|
|
5525
|
-
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(
|
|
5525
|
+
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
5526
5526
|
] }),
|
|
5527
5527
|
s.map((m, h) => /* @__PURE__ */ n(v.Panel, { value: h.toString(), children: /* @__PURE__ */ n(Gp, { control: e, index: h, remove: o, seriesItem: m, yAxisOptions: p, data: r }, m.id) }, m.id))
|
|
5528
5528
|
] });
|
|
@@ -5680,7 +5680,7 @@ function Kp({
|
|
|
5680
5680
|
}, children: [
|
|
5681
5681
|
/* @__PURE__ */ u(v.List, { children: [
|
|
5682
5682
|
l.map((c, d) => /* @__PURE__ */ n(v.Tab, { value: d.toString(), children: d + 1 }, d)),
|
|
5683
|
-
/* @__PURE__ */ n(v.Tab, { onClick: s, value: "add", children: /* @__PURE__ */ n(
|
|
5683
|
+
/* @__PURE__ */ n(v.Tab, { onClick: s, value: "add", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
5684
5684
|
] }),
|
|
5685
5685
|
l.map((c, d) => /* @__PURE__ */ n(v.Panel, { value: d.toString(), children: /* @__PURE__ */ n(Zp, { control: e, index: d, remove: a }) }, d))
|
|
5686
5686
|
] });
|
|
@@ -5748,7 +5748,7 @@ function Jp({
|
|
|
5748
5748
|
] }) });
|
|
5749
5749
|
}
|
|
5750
5750
|
function em(e) {
|
|
5751
|
-
const t =
|
|
5751
|
+
const t = Fe(Gt(e, "variables"));
|
|
5752
5752
|
return t.stats = Gt(t.stats, "variables"), t;
|
|
5753
5753
|
}
|
|
5754
5754
|
function tm(e) {
|
|
@@ -6071,7 +6071,7 @@ const gm = {
|
|
|
6071
6071
|
createConfig() {
|
|
6072
6072
|
return {
|
|
6073
6073
|
version: 15,
|
|
6074
|
-
config:
|
|
6074
|
+
config: Fe(Ui)
|
|
6075
6075
|
};
|
|
6076
6076
|
},
|
|
6077
6077
|
triggers: [Qi]
|
|
@@ -7022,7 +7022,7 @@ const tg = ({
|
|
|
7022
7022
|
}, children: [
|
|
7023
7023
|
/* @__PURE__ */ u(v.List, { children: [
|
|
7024
7024
|
s.map((h, g) => /* @__PURE__ */ n(v.Tab, { value: h.id, children: h.name ? h.name : g }, h.id)),
|
|
7025
|
-
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(
|
|
7025
|
+
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
7026
7026
|
] }),
|
|
7027
7027
|
s.map((h, g) => /* @__PURE__ */ n(v.Panel, { value: h.id, children: /* @__PURE__ */ n(tg, { control: e, index: g, remove: o, data: r }, h.id) }, h.id))
|
|
7028
7028
|
] })
|
|
@@ -7993,7 +7993,7 @@ const Wg = {
|
|
|
7993
7993
|
createConfig() {
|
|
7994
7994
|
return {
|
|
7995
7995
|
version: 8,
|
|
7996
|
-
config:
|
|
7996
|
+
config: Fe(ra)
|
|
7997
7997
|
};
|
|
7998
7998
|
},
|
|
7999
7999
|
triggers: [Zs]
|
|
@@ -8131,7 +8131,7 @@ const Qg = {
|
|
|
8131
8131
|
createConfig() {
|
|
8132
8132
|
return {
|
|
8133
8133
|
version: 1,
|
|
8134
|
-
config:
|
|
8134
|
+
config: Fe(ia)
|
|
8135
8135
|
};
|
|
8136
8136
|
}
|
|
8137
8137
|
};
|
|
@@ -8981,7 +8981,7 @@ const wf = {
|
|
|
8981
8981
|
createConfig() {
|
|
8982
8982
|
return {
|
|
8983
8983
|
version: 1,
|
|
8984
|
-
config:
|
|
8984
|
+
config: Fe(aa)
|
|
8985
8985
|
};
|
|
8986
8986
|
}
|
|
8987
8987
|
}, kr = {
|
|
@@ -9167,7 +9167,7 @@ const Tf = {
|
|
|
9167
9167
|
createConfig() {
|
|
9168
9168
|
return {
|
|
9169
9169
|
version: 1,
|
|
9170
|
-
config:
|
|
9170
|
+
config: Fe(kr)
|
|
9171
9171
|
};
|
|
9172
9172
|
}
|
|
9173
9173
|
}, Wn = {
|
|
@@ -9815,7 +9815,7 @@ function Qf({
|
|
|
9815
9815
|
}, children: [
|
|
9816
9816
|
/* @__PURE__ */ u(v.List, { children: [
|
|
9817
9817
|
s.map((h, g) => /* @__PURE__ */ n(v.Tab, { value: g.toString(), children: g + 1 }, g)),
|
|
9818
|
-
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(
|
|
9818
|
+
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
9819
9819
|
] }),
|
|
9820
9820
|
s.map((h, g) => /* @__PURE__ */ n(v.Panel, { value: g.toString(), children: /* @__PURE__ */ n(b, { name: `reference_areas.${g}`, control: e, render: ({
|
|
9821
9821
|
field: w
|
|
@@ -9971,7 +9971,7 @@ function Kf({
|
|
|
9971
9971
|
}, children: [
|
|
9972
9972
|
/* @__PURE__ */ u(v.List, { children: [
|
|
9973
9973
|
s.map((h, g) => /* @__PURE__ */ n(v.Tab, { value: g.toString(), children: g + 1 }, g)),
|
|
9974
|
-
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(
|
|
9974
|
+
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
9975
9975
|
] }),
|
|
9976
9976
|
s.map((h, g) => /* @__PURE__ */ n(v.Panel, { value: g.toString(), children: /* @__PURE__ */ n(Zf, { control: e, index: g, remove: o, watch: t, variableOptions: d, yAxisOptions: m }) }, g))
|
|
9977
9977
|
] });
|
|
@@ -10357,7 +10357,7 @@ const gb = ({
|
|
|
10357
10357
|
}, children: [
|
|
10358
10358
|
/* @__PURE__ */ u(v.List, { children: [
|
|
10359
10359
|
s.map((h, g) => /* @__PURE__ */ n(v.Tab, { value: h.id, children: h.name ? h.name : g }, h.id)),
|
|
10360
|
-
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(
|
|
10360
|
+
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
10361
10361
|
] }),
|
|
10362
10362
|
s.map((h, g) => /* @__PURE__ */ n(v.Panel, { value: h.id, children: /* @__PURE__ */ n(gb, { control: e, index: g, remove: o, data: r }, h.id) }, h.id))
|
|
10363
10363
|
] })
|
|
@@ -10568,7 +10568,7 @@ function Sb({
|
|
|
10568
10568
|
}, children: [
|
|
10569
10569
|
/* @__PURE__ */ u(v.List, { children: [
|
|
10570
10570
|
l.map((c, d) => /* @__PURE__ */ n(v.Tab, { value: d.toString(), children: d + 1 }, d)),
|
|
10571
|
-
/* @__PURE__ */ n(v.Tab, { onClick: s, value: "add", children: /* @__PURE__ */ n(
|
|
10571
|
+
/* @__PURE__ */ n(v.Tab, { onClick: s, value: "add", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
10572
10572
|
] }),
|
|
10573
10573
|
l.map((c, d) => /* @__PURE__ */ n(v.Panel, { value: d.toString(), children: /* @__PURE__ */ n(Cb, { control: e, index: d, remove: a }) }, d))
|
|
10574
10574
|
] });
|
|
@@ -10782,7 +10782,7 @@ const Ab = {
|
|
|
10782
10782
|
createConfig() {
|
|
10783
10783
|
return {
|
|
10784
10784
|
version: 7,
|
|
10785
|
-
config:
|
|
10785
|
+
config: Fe(sa)
|
|
10786
10786
|
};
|
|
10787
10787
|
},
|
|
10788
10788
|
triggers: [tl]
|
|
@@ -10829,7 +10829,7 @@ function Eb(e) {
|
|
|
10829
10829
|
return Gt(e, ["variables"]);
|
|
10830
10830
|
}
|
|
10831
10831
|
function Ob(e) {
|
|
10832
|
-
const t =
|
|
10832
|
+
const t = Fe(e), r = se(t, "color.valueRange");
|
|
10833
10833
|
return r !== void 0 && Ei(t, "color.valueRange", r.map((i) => Number(i))), t;
|
|
10834
10834
|
}
|
|
10835
10835
|
class Vb extends Me {
|
|
@@ -11239,7 +11239,7 @@ const Jb = [{
|
|
|
11239
11239
|
}, children: [
|
|
11240
11240
|
/* @__PURE__ */ u(v.List, { children: [
|
|
11241
11241
|
s.map((h, g) => /* @__PURE__ */ n(v.Tab, { value: h.id, children: g }, h.id)),
|
|
11242
|
-
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(
|
|
11242
|
+
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
11243
11243
|
] }),
|
|
11244
11244
|
s.map((h, g) => /* @__PURE__ */ n(v.Panel, { value: h.id, children: /* @__PURE__ */ n(tv, { control: e, index: g, remove: o, data: r }, h.id) }, h.id))
|
|
11245
11245
|
] })
|
|
@@ -11359,7 +11359,7 @@ const lv = {
|
|
|
11359
11359
|
createConfig() {
|
|
11360
11360
|
return {
|
|
11361
11361
|
version: 4,
|
|
11362
|
-
config:
|
|
11362
|
+
config: Fe(ca)
|
|
11363
11363
|
};
|
|
11364
11364
|
}
|
|
11365
11365
|
};
|
|
@@ -12118,7 +12118,7 @@ const Nv = Se((e, t) => {
|
|
|
12118
12118
|
}, children: [
|
|
12119
12119
|
/* @__PURE__ */ u(v.List, { children: [
|
|
12120
12120
|
i.map((d, p) => /* @__PURE__ */ n(v.Tab, { value: p.toString(), children: p + 1 }, d.id)),
|
|
12121
|
-
/* @__PURE__ */ n(v.Tab, { onClick: s, value: "add", children: /* @__PURE__ */ n(
|
|
12121
|
+
/* @__PURE__ */ n(v.Tab, { onClick: s, value: "add", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
12122
12122
|
] }),
|
|
12123
12123
|
i.map((d, p) => /* @__PURE__ */ n(v.Panel, { value: p.toString(), children: /* @__PURE__ */ n(Hv, { control: e, watch: t, index: p, column: d, data: r, remove: o }, p) }, d.id))
|
|
12124
12124
|
] })
|
|
@@ -12287,7 +12287,7 @@ const Hr = {
|
|
|
12287
12287
|
createConfig() {
|
|
12288
12288
|
return {
|
|
12289
12289
|
version: 3,
|
|
12290
|
-
config:
|
|
12290
|
+
config: Fe(da)
|
|
12291
12291
|
};
|
|
12292
12292
|
},
|
|
12293
12293
|
displayName: "Table",
|
|
@@ -12469,7 +12469,7 @@ const ox = {
|
|
|
12469
12469
|
createConfig() {
|
|
12470
12470
|
return {
|
|
12471
12471
|
version: 1,
|
|
12472
|
-
config:
|
|
12472
|
+
config: Fe(ha)
|
|
12473
12473
|
};
|
|
12474
12474
|
}
|
|
12475
12475
|
}, sx = () => /* @__PURE__ */ u("svg", { width: "64", height: "64", viewBox: "0 0 64 64", fill: "none", children: [
|
|
@@ -12642,7 +12642,7 @@ const mx = {
|
|
|
12642
12642
|
createConfig() {
|
|
12643
12643
|
return {
|
|
12644
12644
|
version: 1,
|
|
12645
|
-
config:
|
|
12645
|
+
config: Fe(pa)
|
|
12646
12646
|
};
|
|
12647
12647
|
}
|
|
12648
12648
|
};
|
|
@@ -13054,7 +13054,7 @@ const Rx = ({
|
|
|
13054
13054
|
}, children: [
|
|
13055
13055
|
/* @__PURE__ */ u(v.List, { children: [
|
|
13056
13056
|
s.map((h, g) => /* @__PURE__ */ n(v.Tab, { value: h.id, children: h.name ? h.name : g }, h.id)),
|
|
13057
|
-
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(
|
|
13057
|
+
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
13058
13058
|
] }),
|
|
13059
13059
|
s.map((h, g) => /* @__PURE__ */ n(v.Panel, { value: h.id, children: /* @__PURE__ */ n(Rx, { control: e, index: g, remove: o, data: r }, h.id) }, h.id))
|
|
13060
13060
|
] })
|
|
@@ -13335,7 +13335,7 @@ function Xx({
|
|
|
13335
13335
|
value_data_key: t
|
|
13336
13336
|
});
|
|
13337
13337
|
return Object.entries(Y).map(([Q, N]) => {
|
|
13338
|
-
const P =
|
|
13338
|
+
const P = Fe(F);
|
|
13339
13339
|
return P.name = Q, P.color = void 0, P.data = N, P;
|
|
13340
13340
|
});
|
|
13341
13341
|
}
|
|
@@ -13749,7 +13749,7 @@ function py({
|
|
|
13749
13749
|
}, children: [
|
|
13750
13750
|
/* @__PURE__ */ u(v.List, { children: [
|
|
13751
13751
|
s.map((g, w) => /* @__PURE__ */ n(v.Tab, { value: g.id, children: g.name }, w)),
|
|
13752
|
-
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(
|
|
13752
|
+
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
13753
13753
|
] }),
|
|
13754
13754
|
s.map((g, w) => /* @__PURE__ */ n(v.Panel, { value: g.id, children: /* @__PURE__ */ n(hy, { control: e, index: w, remove: o, watch: t, variableOptions: d, xAxisOptions: m }) }, w))
|
|
13755
13755
|
] });
|
|
@@ -13954,7 +13954,7 @@ function xy({
|
|
|
13954
13954
|
}, children: [
|
|
13955
13955
|
/* @__PURE__ */ u(v.List, { children: [
|
|
13956
13956
|
s.map((w) => /* @__PURE__ */ n(v.Tab, { value: w.id, children: w.name }, w.id)),
|
|
13957
|
-
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(
|
|
13957
|
+
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
13958
13958
|
] }),
|
|
13959
13959
|
s.map((w, x) => /* @__PURE__ */ n(v.Panel, { value: w.id, children: /* @__PURE__ */ n(vy, { control: e, index: x, remove: o, seriesItem: w, xAxisOptions: p, data: r }, w.id) }, w.id))
|
|
13960
13960
|
] });
|
|
@@ -14039,7 +14039,7 @@ function _y({
|
|
|
14039
14039
|
}, children: [
|
|
14040
14040
|
/* @__PURE__ */ u(v.List, { children: [
|
|
14041
14041
|
l.map((d) => /* @__PURE__ */ n(v.Tab, { value: d.id, children: d.name }, d.id)),
|
|
14042
|
-
/* @__PURE__ */ n(v.Tab, { onClick: s, value: "add", children: /* @__PURE__ */ n(
|
|
14042
|
+
/* @__PURE__ */ n(v.Tab, { onClick: s, value: "add", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
14043
14043
|
] }),
|
|
14044
14044
|
l.map((d, p) => /* @__PURE__ */ n(v.Panel, { value: d.id, children: /* @__PURE__ */ n(wy, { control: e, index: p, remove: a }) }, d.id))
|
|
14045
14045
|
] });
|
|
@@ -15054,7 +15054,7 @@ const n0 = ({
|
|
|
15054
15054
|
}, children: [
|
|
15055
15055
|
/* @__PURE__ */ u(v.List, { children: [
|
|
15056
15056
|
s.map((h, g) => /* @__PURE__ */ n(v.Tab, { value: h.id, children: h.name ? h.name : g }, h.id)),
|
|
15057
|
-
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(
|
|
15057
|
+
/* @__PURE__ */ n(v.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
15058
15058
|
] }),
|
|
15059
15059
|
s.map((h, g) => /* @__PURE__ */ n(v.Panel, { value: h.id, children: /* @__PURE__ */ n(n0, { control: e, index: g, remove: o, data: r }, h.id) }, h.id))
|
|
15060
15060
|
] })
|
|
@@ -16291,7 +16291,7 @@ const uw = D(({
|
|
|
16291
16291
|
/* @__PURE__ */ u(v, { variant: o.variant, orientation: o.orientation, defaultValue: o.tabs.length > 0 ? o.tabs[0].id : "0", styles: pw(o), children: [
|
|
16292
16292
|
/* @__PURE__ */ u(v.List, { grow: o.grow, children: [
|
|
16293
16293
|
o.tabs.map((c) => /* @__PURE__ */ n(v.Tab, { value: c.id, sx: mw(c), children: c.name ?? c.id }, c.id)),
|
|
16294
|
-
/* @__PURE__ */ n(v.Tab, { onClick: o.addTab, value: "add", className: "add-a-tab", children: /* @__PURE__ */ n(
|
|
16294
|
+
/* @__PURE__ */ n(v.Tab, { onClick: o.addTab, value: "add", className: "add-a-tab", children: /* @__PURE__ */ n(Pe, { size: 18, color: "#228be6" }) })
|
|
16295
16295
|
] }),
|
|
16296
16296
|
o.tabs.map((c, d) => {
|
|
16297
16297
|
const p = i.views.findByID(c.view_id);
|
|
@@ -19197,15 +19197,15 @@ function ql(e) {
|
|
|
19197
19197
|
const O_ = D(({
|
|
19198
19198
|
headerMenuItems: e = null
|
|
19199
19199
|
}) => {
|
|
19200
|
-
const t =
|
|
19201
|
-
const
|
|
19202
|
-
Pw(
|
|
19200
|
+
const t = Oe(), r = U(), i = () => {
|
|
19201
|
+
const a = JSON.stringify(r.json, null, 2), o = `${t.name}__${r.name}`;
|
|
19202
|
+
Pw(o, a);
|
|
19203
19203
|
};
|
|
19204
|
-
return /* @__PURE__ */ u(
|
|
19205
|
-
/* @__PURE__ */ n(
|
|
19206
|
-
/* @__PURE__ */ u(
|
|
19207
|
-
/* @__PURE__ */ n(
|
|
19208
|
-
/* @__PURE__ */ n(
|
|
19204
|
+
return /* @__PURE__ */ u(Ve, { shadow: "md", width: 200, trigger: "hover", openDelay: 100, closeDelay: 400, withinPortal: !0, zIndex: 310, children: [
|
|
19205
|
+
/* @__PURE__ */ n(Ve.Target, { children: /* @__PURE__ */ n(H, { variant: "light", color: "blue", children: /* @__PURE__ */ n(nd, { size: 14 }) }) }),
|
|
19206
|
+
/* @__PURE__ */ u(Ve.Dropdown, { children: [
|
|
19207
|
+
/* @__PURE__ */ n(Ve.Item, { icon: /* @__PURE__ */ n(rd, { size: 14 }), onClick: r.queries.downloadAllData, children: "Download Data" }),
|
|
19208
|
+
/* @__PURE__ */ n(Ve.Item, { icon: /* @__PURE__ */ n(id, { size: 14 }), onClick: i, children: "Download Schema" }),
|
|
19209
19209
|
e
|
|
19210
19210
|
] })
|
|
19211
19211
|
] });
|
|
@@ -19236,8 +19236,8 @@ const O_ = D(({
|
|
|
19236
19236
|
borderTopRightRadius: 0,
|
|
19237
19237
|
borderBottomRightRadius: 0
|
|
19238
19238
|
}, children: "Save Changes" }),
|
|
19239
|
-
/* @__PURE__ */ u(
|
|
19240
|
-
/* @__PURE__ */ n(
|
|
19239
|
+
/* @__PURE__ */ u(Ve, { width: 200, trigger: "hover", openDelay: 100, closeDelay: 400, withinPortal: !0, zIndex: 320, disabled: !a, children: [
|
|
19240
|
+
/* @__PURE__ */ n(Ve.Target, { children: /* @__PURE__ */ n(H, { variant: "default", disabled: !a, sx: {
|
|
19241
19241
|
height: "30px",
|
|
19242
19242
|
borderTopLeftRadius: 0,
|
|
19243
19243
|
borderBottomLeftRadius: 0,
|
|
@@ -19246,7 +19246,7 @@ const O_ = D(({
|
|
|
19246
19246
|
stroke: "none"
|
|
19247
19247
|
}
|
|
19248
19248
|
}, children: /* @__PURE__ */ n(ad, { size: 18 }) }) }),
|
|
19249
|
-
/* @__PURE__ */ n(
|
|
19249
|
+
/* @__PURE__ */ n(Ve.Dropdown, { children: /* @__PURE__ */ n(Ve.Item, { icon: /* @__PURE__ */ n(Oo, { size: 14, color: "red" }), disabled: !a, onClick: i, children: "Revert Changes" }) })
|
|
19250
19250
|
] })
|
|
19251
19251
|
] });
|
|
19252
19252
|
}), F_ = D(({
|
|
@@ -19254,7 +19254,7 @@ const O_ = D(({
|
|
|
19254
19254
|
headerSlot: t = null,
|
|
19255
19255
|
headerMenuItems: r
|
|
19256
19256
|
}) => {
|
|
19257
|
-
const i = Ud(), a =
|
|
19257
|
+
const i = Ud(), a = Oe(), o = () => {
|
|
19258
19258
|
i(`/dashboard/${a.id}`);
|
|
19259
19259
|
}, l = Tt(), s = () => {
|
|
19260
19260
|
l.openConfirmModal({
|
|
@@ -19764,7 +19764,7 @@ function hC({
|
|
|
19764
19764
|
] });
|
|
19765
19765
|
}
|
|
19766
19766
|
const pC = D(() => {
|
|
19767
|
-
const e =
|
|
19767
|
+
const e = Oe(), t = U(), r = Ye((a) => () => t.views.setIDOfVIE(a), [t]), i = (a) => {
|
|
19768
19768
|
e.editor.open(["_VIEWS_", a]);
|
|
19769
19769
|
};
|
|
19770
19770
|
return /* @__PURE__ */ u(E, { sx: {
|
|
@@ -19782,7 +19782,7 @@ const pC = D(() => {
|
|
|
19782
19782
|
}, children: "Add a View" })
|
|
19783
19783
|
] });
|
|
19784
19784
|
}), mC = D(() => {
|
|
19785
|
-
const e =
|
|
19785
|
+
const e = Oe(), t = U(), r = () => {
|
|
19786
19786
|
if (!t.queries.firstID) {
|
|
19787
19787
|
e.editor.open(["_QUERIES_", ""]);
|
|
19788
19788
|
return;
|
|
@@ -20153,7 +20153,7 @@ const pC = D(() => {
|
|
|
20153
20153
|
}), LC = D(({
|
|
20154
20154
|
id: e
|
|
20155
20155
|
}) => {
|
|
20156
|
-
const t = Tt(), r =
|
|
20156
|
+
const t = Tt(), r = Oe(), i = U();
|
|
20157
20157
|
if (e === "")
|
|
20158
20158
|
return null;
|
|
20159
20159
|
const a = i.filters.findByID(e);
|
|
@@ -20400,7 +20400,7 @@ const Ul = D(function({
|
|
|
20400
20400
|
] })
|
|
20401
20401
|
] });
|
|
20402
20402
|
}), VC = D(function() {
|
|
20403
|
-
const t =
|
|
20403
|
+
const t = Oe(), r = U(), {
|
|
20404
20404
|
panel: {
|
|
20405
20405
|
queryID: i,
|
|
20406
20406
|
setQueryID: a
|
|
@@ -20515,7 +20515,7 @@ class BC {
|
|
|
20515
20515
|
}
|
|
20516
20516
|
addNew() {
|
|
20517
20517
|
const t = this.panel.variables.filter((r) => r.name.startsWith(qr.name)).length;
|
|
20518
|
-
this.panel.addVariable(
|
|
20518
|
+
this.panel.addVariable(Fe({
|
|
20519
20519
|
...qr,
|
|
20520
20520
|
name: `${qr.name}${t || ""}`
|
|
20521
20521
|
})), this.selected = $o(this.panel.variables);
|
|
@@ -20796,7 +20796,7 @@ function i1(e) {
|
|
|
20796
20796
|
const a1 = D(({
|
|
20797
20797
|
panel: e
|
|
20798
20798
|
}) => {
|
|
20799
|
-
const t = Tt(), r =
|
|
20799
|
+
const t = Tt(), r = Oe(), i = U(), [a, o] = X("Data"), {
|
|
20800
20800
|
data: l,
|
|
20801
20801
|
state: s,
|
|
20802
20802
|
error: c
|
|
@@ -21265,7 +21265,7 @@ const m1 = D(({
|
|
|
21265
21265
|
value: e,
|
|
21266
21266
|
onChange: t
|
|
21267
21267
|
}) => {
|
|
21268
|
-
const r =
|
|
21268
|
+
const r = Oe(), {
|
|
21269
21269
|
data: i = [],
|
|
21270
21270
|
loading: a
|
|
21271
21271
|
} = Vn(ka, {
|
|
@@ -21304,7 +21304,7 @@ const m1 = D(({
|
|
|
21304
21304
|
}), k1 = (e) => {
|
|
21305
21305
|
const {
|
|
21306
21306
|
queryModel: t
|
|
21307
|
-
} = e, r =
|
|
21307
|
+
} = e, r = Oe(), i = U(), o = i.findQueryUsage(t.id).length > 0, l = Tt(), s = () => {
|
|
21308
21308
|
l.openConfirmModal({
|
|
21309
21309
|
title: "Delete this query?",
|
|
21310
21310
|
labels: {
|
|
@@ -21438,7 +21438,7 @@ WHERE
|
|
|
21438
21438
|
showSQLSnippets: t = !0,
|
|
21439
21439
|
sx: r = {}
|
|
21440
21440
|
}) {
|
|
21441
|
-
const i =
|
|
21441
|
+
const i = Oe(), a = U(), o = i.context.current, l = (() => {
|
|
21442
21442
|
const s = {
|
|
21443
21443
|
context: {
|
|
21444
21444
|
...a.mock_context.current,
|
|
@@ -21500,7 +21500,7 @@ WHERE
|
|
|
21500
21500
|
queryID: e,
|
|
21501
21501
|
usage: t
|
|
21502
21502
|
}) => {
|
|
21503
|
-
const r =
|
|
21503
|
+
const r = Oe().editor, i = (o) => {
|
|
21504
21504
|
if (o.type === "filter") {
|
|
21505
21505
|
r.setPath(["_FILTERS_", o.id]);
|
|
21506
21506
|
return;
|
|
@@ -21751,7 +21751,7 @@ WHERE
|
|
|
21751
21751
|
}), B1 = D(({
|
|
21752
21752
|
id: e
|
|
21753
21753
|
}) => {
|
|
21754
|
-
const t =
|
|
21754
|
+
const t = Oe(), r = U(), i = I(() => r.sqlSnippets.findByKey(e), [e]);
|
|
21755
21755
|
if (!e)
|
|
21756
21756
|
return null;
|
|
21757
21757
|
if (!i)
|
|
@@ -21911,7 +21911,7 @@ WHERE
|
|
|
21911
21911
|
] }) : null), Z1 = D(({
|
|
21912
21912
|
id: e
|
|
21913
21913
|
}) => {
|
|
21914
|
-
const t = Tt(), r =
|
|
21914
|
+
const t = Tt(), r = Oe(), i = U();
|
|
21915
21915
|
if (e === "")
|
|
21916
21916
|
return null;
|
|
21917
21917
|
const a = i.views.findByID(e);
|
|
@@ -21973,7 +21973,7 @@ function iS(e) {
|
|
|
21973
21973
|
const aS = D(() => /* @__PURE__ */ n(S, { sx: {
|
|
21974
21974
|
height: "100%"
|
|
21975
21975
|
}, p: "sm", children: /* @__PURE__ */ n(Jl, {}) })), oS = D(() => {
|
|
21976
|
-
const e =
|
|
21976
|
+
const e = Oe().editor, t = e.path;
|
|
21977
21977
|
return K1(t) ? /* @__PURE__ */ n(aS, {}) : J1(t) ? /* @__PURE__ */ n($C, {}) : eS(t) ? /* @__PURE__ */ n(E, { p: "xs", pl: 20, children: /* @__PURE__ */ n(LC, { id: t[1] }) }) : tS(t) ? /* @__PURE__ */ n(B1, { id: t[1] }) : nS(t) ? /* @__PURE__ */ n(V1, { id: t[1] }) : rS(t) ? /* @__PURE__ */ n(E, { p: "xs", pl: 20, children: /* @__PURE__ */ n(Z1, { id: t[1] }) }) : iS(t) ? /* @__PURE__ */ n(o1, { viewID: t[1], panelID: t[3] }) : /* @__PURE__ */ n(E, { children: e.path });
|
|
21978
21978
|
}), sS = D(() => /* @__PURE__ */ n(oS, {})), lS = D(() => {
|
|
21979
21979
|
const e = U();
|
|
@@ -22064,17 +22064,17 @@ const aS = D(() => /* @__PURE__ */ n(S, { sx: {
|
|
|
22064
22064
|
option: e
|
|
22065
22065
|
}) => {
|
|
22066
22066
|
var d;
|
|
22067
|
-
const t =
|
|
22067
|
+
const t = Oe().editor, r = t.isOptionActive, i = r(t.path, e), a = t.isOptionOpened, o = t.navigate, l = a(e), [s, c] = X(l);
|
|
22068
22068
|
return q(() => {
|
|
22069
22069
|
c(l);
|
|
22070
22070
|
}, [l]), /* @__PURE__ */ n(jr, { active: i, defaultOpened: l, opened: s, onChange: c, label: e.label, onClick: () => o(e), icon: e.Icon ? /* @__PURE__ */ n(e.Icon, { size: 18 }) : null, children: (d = e.children) == null ? void 0 : d.map((p) => p._type === "ACTION" ? /* @__PURE__ */ n(pS, { action_type: p._action_type, parentID: p.parentID }, `_ADD_${p.value}_`) : /* @__PURE__ */ n(ec, { option: p }, p.value)) }, e.label);
|
|
22071
22071
|
}), mS = D(() => {
|
|
22072
|
-
const e =
|
|
22072
|
+
const e = Oe();
|
|
22073
22073
|
return /* @__PURE__ */ n(E, { sx: {
|
|
22074
22074
|
position: "relative"
|
|
22075
22075
|
}, children: e.editor.navOptions.map((t) => /* @__PURE__ */ n(ec, { option: t }, t.value)) });
|
|
22076
22076
|
}), gS = D(() => {
|
|
22077
|
-
const e =
|
|
22077
|
+
const e = Oe();
|
|
22078
22078
|
return /* @__PURE__ */ u(St, { p: 0, width: {
|
|
22079
22079
|
base: 200,
|
|
22080
22080
|
xs: 200,
|
|
@@ -22120,7 +22120,7 @@ const aS = D(() => /* @__PURE__ */ n(S, { sx: {
|
|
|
22120
22120
|
height: "100vh"
|
|
22121
22121
|
}
|
|
22122
22122
|
}, bS = D(() => {
|
|
22123
|
-
const e =
|
|
22123
|
+
const e = Oe().editor;
|
|
22124
22124
|
return /* @__PURE__ */ n(ke, { onClose: () => e.setSettingsOpen(!1), closeOnEscape: !1, closeOnClickOutside: !1, opened: e.settings_open, fullScreen: !0, title: null, transitionDuration: 0, withCloseButton: !1, withinPortal: !0, zIndex: 300, styles: {
|
|
22125
22125
|
modal: {
|
|
22126
22126
|
padding: "0 !important"
|
|
@@ -23720,7 +23720,7 @@ export {
|
|
|
23720
23720
|
BT as initialDashboardContent,
|
|
23721
23721
|
U as useContentModelContext,
|
|
23722
23722
|
su as useFullScreenPanelContext,
|
|
23723
|
-
|
|
23723
|
+
Oe as useModelContext,
|
|
23724
23724
|
We as usePanelContext,
|
|
23725
23725
|
ql as useTopLevelServices
|
|
23726
23726
|
};
|