@devtable/dashboard 8.6.3 → 8.6.4

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.
@@ -1,7 +1,7 @@
1
1
  var Bw = Object.defineProperty;
2
2
  var jw = (e, t, n) => t in e ? Bw(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Ve = (e, t, n) => (jw(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { Box as ke, Text as W, Button as fe, Checkbox as Mn, Group as j, MultiSelect as da, Select as Oe, TextInput as xe, createStyles as fa, Stack as q, Tooltip as wn, Badge as Kw, CloseButton as Ww, Modal as gn, ActionIcon as We, Menu as mr, Divider as Ie, Switch as kn, NumberInput as Rt, useMantineTheme as Dg, ColorInput as xu, ColorSwatch as vc, Slider as Gw, Overlay as oi, Tabs as B, Center as pa, CheckIcon as qw, MANTINE_SIZES as Uw, SimpleGrid as Bo, SegmentedControl as Yw, Textarea as Xw, Collapse as Su, Table as _u, Accordion as oo, Popover as Tl, LoadingOverlay as ha, Flex as Bs, Paper as Cu, Code as yf, Alert as Qw, Header as Zw, ThemeIcon as kl, HoverCard as Ml, List as bf, UnstyledButton as Jw, Navbar as Cr, JsonInput as Pg, NavLink as ex, AppShell as Ag } from "@mantine/core";
4
+ import { Box as Me, Text as W, Button as fe, Checkbox as Mn, Group as j, MultiSelect as da, Select as Oe, TextInput as xe, createStyles as fa, Stack as q, Tooltip as wn, Badge as Kw, CloseButton as Ww, Modal as gn, ActionIcon as We, Menu as mr, Divider as Ie, Switch as kn, NumberInput as Rt, useMantineTheme as Dg, ColorInput as xu, ColorSwatch as vc, Slider as Gw, Overlay as oi, Tabs as B, Center as pa, CheckIcon as qw, MANTINE_SIZES as Uw, SimpleGrid as Bo, SegmentedControl as Yw, Textarea as Xw, Collapse as Su, Table as _u, Accordion as oo, Popover as Tl, LoadingOverlay as ha, Flex as Bs, Paper as Cu, Code as yf, Alert as Qw, Header as Zw, ThemeIcon as kl, HoverCard as Ml, List as bf, UnstyledButton as Jw, Navbar as Cr, JsonInput as Pg, NavLink as ex, AppShell as Ag } from "@mantine/core";
5
5
  import { useModals as ii, ModalsProvider as Ng } from "@mantine/modals";
6
6
  import { useCreation as Jn, usePrevious as tx, useBoolean as Ln, useLatest as wf, useRequest as ga, useAsyncEffect as ma } from "ahooks";
7
7
  import { observer as ne } from "mobx-react-lite";
@@ -536,7 +536,7 @@ function Ux() {
536
536
  __source: !0
537
537
  }, dt, et, gt;
538
538
  gt = {};
539
- function Me(I) {
539
+ function ke(I) {
540
540
  if (Ce.call(I, "ref")) {
541
541
  var J = Object.getOwnPropertyDescriptor(I, "ref").get;
542
542
  if (J && J.isReactWarning)
@@ -609,7 +609,7 @@ function Ux() {
609
609
  function wt(I, J, Z, he, we) {
610
610
  {
611
611
  var Pe, je = {}, Le = null, Qe = null;
612
- Z !== void 0 && (Ke(Z), Le = "" + Z), Be(J) && (Ke(J.key), Le = "" + J.key), Me(J) && (Qe = J.ref, st(J, we));
612
+ Z !== void 0 && (Ke(Z), Le = "" + Z), Be(J) && (Ke(J.key), Le = "" + J.key), ke(J) && (Qe = J.ref, st(J, we));
613
613
  for (Pe in J)
614
614
  Ce.call(J, Pe) && !bt.hasOwnProperty(Pe) && (je[Pe] = J[Pe]);
615
615
  if (I && I.defaultProps) {
@@ -823,7 +823,7 @@ class yo extends ee.Component {
823
823
  error: null
824
824
  });
825
825
  };
826
- return /* @__PURE__ */ y(ke, {
826
+ return /* @__PURE__ */ y(Me, {
827
827
  children: [/* @__PURE__ */ l(W, {
828
828
  size: "xs",
829
829
  children: (t = this.state.error) == null ? void 0 : t.message
@@ -852,7 +852,7 @@ function Xx({
852
852
  value: r,
853
853
  onChange: o
854
854
  }) {
855
- return /* @__PURE__ */ y(ke, {
855
+ return /* @__PURE__ */ y(Me, {
856
856
  children: [/* @__PURE__ */ l(W, {
857
857
  children: "\xA0"
858
858
  }), /* @__PURE__ */ l(Mn, {
@@ -2774,7 +2774,7 @@ function O_(e, t) {
2774
2774
  }, [i, dt, Ke, Re]), gt = vt(function(ie, pe) {
2775
2775
  var be;
2776
2776
  return typeof c == "function" ? c(ie) : (be = c && (ie == null ? void 0 : ie[c])) !== null && be !== void 0 ? be : pe;
2777
- }, [c]), Me = vt(a || function(ie) {
2777
+ }, [c]), ke = vt(a || function(ie) {
2778
2778
  return ie;
2779
2779
  }, [a]);
2780
2780
  function Be(ie, pe, be) {
@@ -2852,7 +2852,7 @@ function O_(e, t) {
2852
2852
  order: pe,
2853
2853
  key: be,
2854
2854
  item: ie,
2855
- renderItem: Me,
2855
+ renderItem: ke,
2856
2856
  itemKey: be,
2857
2857
  registerSize: $t,
2858
2858
  display: pe <= Re
@@ -6180,7 +6180,7 @@ var ed = /* @__PURE__ */ C.forwardRef(function(e, t) {
6180
6180
  C.useEffect(function() {
6181
6181
  Ye(bm());
6182
6182
  }, []);
6183
- var Ke = C.useRef(null), qe = C.useRef(null), bt = C.useRef(null), dt = C.useRef(null), et = C.useRef(null), gt = kS(), Me = Zt(gt, 3), Be = Me[0], st = Me[1], $t = Me[2];
6183
+ var Ke = C.useRef(null), qe = C.useRef(null), bt = C.useRef(null), dt = C.useRef(null), et = C.useRef(null), gt = kS(), ke = Zt(gt, 3), Be = ke[0], st = ke[1], $t = ke[2];
6184
6184
  C.useImperativeHandle(t, function() {
6185
6185
  var rt, Xe;
6186
6186
  return {
@@ -7120,15 +7120,15 @@ var T2 = ["prefixCls", "className", "height", "itemHeight", "fullHeight", "style
7120
7120
  overflowAnchor: "none"
7121
7121
  };
7122
7122
  function O2(e, t) {
7123
- var n = e.prefixCls, r = n === void 0 ? "rc-virtual-list" : n, o = e.className, i = e.height, a = e.itemHeight, s = e.fullHeight, c = s === void 0 ? !0 : s, u = e.style, d = e.data, p = e.children, f = e.itemKey, h = e.virtual, g = e.component, m = g === void 0 ? "div" : g, b = e.onScroll, v = e.onVisibleChange, x = s2(e, T2), S = !!(h !== !1 && i && a), w = S && d && a * d.length > i, _ = Fe(0), T = Wr(_, 2), O = T[0], N = T[1], L = Fe(!1), R = Wr(L, 2), k = R[0], P = R[1], $ = Et(r, o), E = d || k2, A = Se(), D = Se(), M = Se(), z = C.useCallback(function(Me) {
7124
- return typeof f == "function" ? f(Me) : Me == null ? void 0 : Me[f];
7123
+ var n = e.prefixCls, r = n === void 0 ? "rc-virtual-list" : n, o = e.className, i = e.height, a = e.itemHeight, s = e.fullHeight, c = s === void 0 ? !0 : s, u = e.style, d = e.data, p = e.children, f = e.itemKey, h = e.virtual, g = e.component, m = g === void 0 ? "div" : g, b = e.onScroll, v = e.onVisibleChange, x = s2(e, T2), S = !!(h !== !1 && i && a), w = S && d && a * d.length > i, _ = Fe(0), T = Wr(_, 2), O = T[0], N = T[1], L = Fe(!1), R = Wr(L, 2), k = R[0], P = R[1], $ = Et(r, o), E = d || k2, A = Se(), D = Se(), M = Se(), z = C.useCallback(function(ke) {
7124
+ return typeof f == "function" ? f(ke) : ke == null ? void 0 : ke[f];
7125
7125
  }, [f]), F = {
7126
7126
  getKey: z
7127
7127
  };
7128
- function K(Me) {
7128
+ function K(ke) {
7129
7129
  N(function(Be) {
7130
7130
  var st;
7131
- typeof Me == "function" ? st = Me(Be) : st = Me;
7131
+ typeof ke == "function" ? st = ke(Be) : st = ke;
7132
7132
  var $t = Ae(st);
7133
7133
  return A.current.scrollTop = $t, $t;
7134
7134
  });
@@ -7147,9 +7147,9 @@ function O2(e, t) {
7147
7147
  offset: void 0
7148
7148
  };
7149
7149
  if (!w) {
7150
- var Me;
7150
+ var ke;
7151
7151
  return {
7152
- scrollHeight: ((Me = D.current) === null || Me === void 0 ? void 0 : Me.offsetHeight) || 0,
7152
+ scrollHeight: ((ke = D.current) === null || ke === void 0 ? void 0 : ke.offsetHeight) || 0,
7153
7153
  start: 0,
7154
7154
  end: E.length - 1,
7155
7155
  offset: void 0
@@ -7169,42 +7169,42 @@ function O2(e, t) {
7169
7169
  G.current.start = Te, G.current.end = U;
7170
7170
  var ye = oe - i, Re = Se(ye);
7171
7171
  Re.current = ye;
7172
- function Ae(Me) {
7173
- var Be = Me;
7172
+ function Ae(ke) {
7173
+ var Be = ke;
7174
7174
  return Number.isNaN(Re.current) || (Be = Math.min(Be, Re.current)), Be = Math.max(Be, 0), Be;
7175
7175
  }
7176
7176
  var me = O <= 0, Je = O >= ye, He = Pv(me, Je);
7177
- function ot(Me) {
7178
- var Be = Me;
7177
+ function ot(ke) {
7178
+ var Be = ke;
7179
7179
  K(Be);
7180
7180
  }
7181
- function De(Me) {
7182
- var Be = Me.currentTarget.scrollTop;
7183
- Be !== O && K(Be), b == null || b(Me);
7181
+ function De(ke) {
7182
+ var Be = ke.currentTarget.scrollTop;
7183
+ Be !== O && K(Be), b == null || b(ke);
7184
7184
  }
7185
- var Ye = _2(S, me, Je, function(Me) {
7185
+ var Ye = _2(S, me, Je, function(ke) {
7186
7186
  K(function(Be) {
7187
- var st = Be + Me;
7187
+ var st = Be + ke;
7188
7188
  return st;
7189
7189
  });
7190
7190
  }), Ke = Wr(Ye, 2), qe = Ke[0], bt = Ke[1];
7191
- E2(S, A, function(Me, Be) {
7192
- return He(Me, Be) ? !1 : (qe({
7191
+ E2(S, A, function(ke, Be) {
7192
+ return He(ke, Be) ? !1 : (qe({
7193
7193
  preventDefault: function() {
7194
7194
  },
7195
- deltaY: Me
7195
+ deltaY: ke
7196
7196
  }), !0);
7197
7197
  }), Rr(function() {
7198
- function Me(Be) {
7198
+ function ke(Be) {
7199
7199
  S && Be.preventDefault();
7200
7200
  }
7201
- return A.current.addEventListener("wheel", qe), A.current.addEventListener("DOMMouseScroll", bt), A.current.addEventListener("MozMousePixelScroll", Me), function() {
7202
- A.current && (A.current.removeEventListener("wheel", qe), A.current.removeEventListener("DOMMouseScroll", bt), A.current.removeEventListener("MozMousePixelScroll", Me));
7201
+ return A.current.addEventListener("wheel", qe), A.current.addEventListener("DOMMouseScroll", bt), A.current.addEventListener("MozMousePixelScroll", ke), function() {
7202
+ A.current && (A.current.removeEventListener("wheel", qe), A.current.removeEventListener("DOMMouseScroll", bt), A.current.removeEventListener("MozMousePixelScroll", ke));
7203
7203
  };
7204
7204
  }, [S]);
7205
7205
  var dt = b2(A, E, Ee, a, z, se, K, function() {
7206
- var Me;
7207
- (Me = M.current) === null || Me === void 0 || Me.delayHidden();
7206
+ var ke;
7207
+ (ke = M.current) === null || ke === void 0 || ke.delayHidden();
7208
7208
  });
7209
7209
  C.useImperativeHandle(t, function() {
7210
7210
  return {
@@ -7212,8 +7212,8 @@ function O2(e, t) {
7212
7212
  };
7213
7213
  }), Rr(function() {
7214
7214
  if (v) {
7215
- var Me = E.slice(Te, U + 1);
7216
- v(Me, E);
7215
+ var ke = E.slice(Te, U + 1);
7216
+ v(ke, E);
7217
7217
  }
7218
7218
  }, [Te, U, E]);
7219
7219
  var et = m2(E, Te, U, ce, p, F), gt = null;
@@ -7610,7 +7610,7 @@ var Iv = /* @__PURE__ */ C.forwardRef(function(e, t) {
7610
7610
  K ? it : it[0]
7611
7611
  );
7612
7612
  }
7613
- }, gt = C.useState(null), Me = Zt(gt, 2), Be = Me[0], st = Me[1], $t = C.useState(0), mt = Zt($t, 2), Ft = mt[0], wt = mt[1], en = O !== void 0 ? O : r !== "combobox", Ht = C.useCallback(function(ie, pe) {
7613
+ }, gt = C.useState(null), ke = Zt(gt, 2), Be = ke[0], st = ke[1], $t = C.useState(0), mt = Zt($t, 2), Ft = mt[0], wt = mt[1], en = O !== void 0 ? O : r !== "combobox", Ht = C.useCallback(function(ie, pe) {
7614
7614
  var be = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, ze = be.source, it = ze === void 0 ? "keyboard" : ze;
7615
7615
  wt(pe), a && r === "combobox" && ie !== null && it === "keyboard" && st(String(ie));
7616
7616
  }, [a, r]), kt = function(pe, be, ze) {
@@ -9875,7 +9875,7 @@ var ny = /* @__PURE__ */ C.forwardRef(function(e, t) {
9875
9875
  }
9876
9876
  }), Ke = jr(Ye, 2), qe = Ke[0], bt = Ke[1], dt = function(he) {
9877
9877
  bt(he), f == null || f(he);
9878
- }, et = TD(k, P, R), gt = MD(et, De), Me = gt.keyEntities, Be = gt.valueEntities, st = C.useCallback(function(Z) {
9878
+ }, et = TD(k, P, R), gt = MD(et, De), ke = gt.keyEntities, Be = gt.valueEntities, st = C.useCallback(function(Z) {
9879
9879
  var he = [], we = [];
9880
9880
  return Z.forEach(function(Pe) {
9881
9881
  Be.has(Pe) ? we.push(Pe) : he.push(Pe);
@@ -9935,10 +9935,10 @@ var ny = /* @__PURE__ */ C.forwardRef(function(e, t) {
9935
9935
  return It.map(function(Z) {
9936
9936
  return Z.value;
9937
9937
  });
9938
- }, [It]), On = OD(It, on, Ce, Me), Ut = jr(On, 2), ie = Ut[0], pe = Ut[1], be = C.useMemo(function() {
9939
- var Z = vh(ie, S, Me, De), he = Z.map(function(Le) {
9938
+ }, [It]), On = OD(It, on, Ce, ke), Ut = jr(On, 2), ie = Ut[0], pe = Ut[1], be = C.useMemo(function() {
9939
+ var Z = vh(ie, S, ke, De), he = Z.map(function(Le) {
9940
9940
  var Qe, Ue, nt;
9941
- return (Qe = (Ue = Me[Le]) === null || Ue === void 0 || (nt = Ue.node) === null || nt === void 0 ? void 0 : nt[De.value]) !== null && Qe !== void 0 ? Qe : Le;
9941
+ return (Qe = (Ue = ke[Le]) === null || Ue === void 0 || (nt = Ue.node) === null || nt === void 0 ? void 0 : nt[De.value]) !== null && Qe !== void 0 ? Qe : Le;
9942
9942
  }), we = he.map(function(Le) {
9943
9943
  var Qe = It.find(function(Ue) {
9944
9944
  return Ue.value === Le;
@@ -9954,12 +9954,12 @@ var ny = /* @__PURE__ */ C.forwardRef(function(e, t) {
9954
9954
  label: (Qe = Le.label) !== null && Qe !== void 0 ? Qe : Le.value
9955
9955
  });
9956
9956
  });
9957
- }, [De, Ae, ie, It, wt, S, Me]), ze = kD(be), it = jr(ze, 1), xt = it[0], an = yh(function(Z, he, we) {
9957
+ }, [De, Ae, ie, It, wt, S, ke]), ze = kD(be), it = jr(ze, 1), xt = it[0], an = yh(function(Z, he, we) {
9958
9958
  var Pe = wt(Z);
9959
9959
  if (ot(Pe), g && bt(""), s) {
9960
9960
  var je = Z;
9961
9961
  if (Ce) {
9962
- var Le = vh(Z, S, Me, De);
9962
+ var Le = vh(Z, S, ke, De);
9963
9963
  je = Le.map(function(En) {
9964
9964
  var Tn = Be.get(En);
9965
9965
  return Tn ? Tn.node[De.value] : En;
@@ -9988,7 +9988,7 @@ var ny = /* @__PURE__ */ C.forwardRef(function(e, t) {
9988
9988
  }), Bt);
9989
9989
  }
9990
9990
  }), sn = C.useCallback(function(Z, he) {
9991
- var we, Pe = he.selected, je = he.source, Le = Me[Z], Qe = Le == null ? void 0 : Le.node, Ue = (we = Qe == null ? void 0 : Qe[De.value]) !== null && we !== void 0 ? we : Z;
9991
+ var we, Pe = he.selected, je = he.source, Le = ke[Z], Qe = Le == null ? void 0 : Le.node, Ue = (we = Qe == null ? void 0 : Qe[De.value]) !== null && we !== void 0 ? we : Z;
9992
9992
  if (!Ae)
9993
9993
  an([Ue], {
9994
9994
  selected: !0,
@@ -10003,17 +10003,17 @@ var ny = /* @__PURE__ */ C.forwardRef(function(e, t) {
10003
10003
  return Be.get(Tn).key;
10004
10004
  }), ir;
10005
10005
  if (Pe) {
10006
- var gr = Ko(Bt, !0, Me);
10006
+ var gr = Ko(Bt, !0, ke);
10007
10007
  ir = gr.checkedKeys;
10008
10008
  } else {
10009
10009
  var En = Ko(Bt, {
10010
10010
  checked: !1,
10011
10011
  halfCheckedKeys: pe
10012
- }, Me);
10012
+ }, ke);
10013
10013
  ir = En.checkedKeys;
10014
10014
  }
10015
10015
  nt = [].concat(Br(vn), Br(ir.map(function(Tn) {
10016
- return Me[Tn].node[De.value];
10016
+ return ke[Tn].node[De.value];
10017
10017
  })));
10018
10018
  }
10019
10019
  an(nt, {
@@ -10022,7 +10022,7 @@ var ny = /* @__PURE__ */ C.forwardRef(function(e, t) {
10022
10022
  }, je || "option");
10023
10023
  }
10024
10024
  Pe || !Ae ? c == null || c(Ue, Wc(Qe)) : u == null || u(Ue, Wc(Qe));
10025
- }, [st, Be, Me, De, Ae, St, an, Ce, c, u, ie, pe]), Rn = C.useCallback(function(Z) {
10025
+ }, [st, Be, ke, De, Ae, St, an, Ce, c, u, ie, pe]), Rn = C.useCallback(function(Z) {
10026
10026
  if (de) {
10027
10027
  var he = {};
10028
10028
  Object.defineProperty(he, "documentClickClose", {
@@ -10072,9 +10072,9 @@ var ny = /* @__PURE__ */ C.forwardRef(function(e, t) {
10072
10072
  switcherIcon: X,
10073
10073
  treeLine: se,
10074
10074
  treeNodeFilterProp: v,
10075
- keyEntities: Me
10075
+ keyEntities: ke
10076
10076
  };
10077
- }, [ye, $, E, A, ie, pe, D, M, z, F, Ee, oe, _e, X, se, v, Me]);
10077
+ }, [ye, $, E, A, ie, pe, D, M, z, F, Ee, oe, _e, X, se, v, ke]);
10078
10078
  return /* @__PURE__ */ l(Qv.Provider, {
10079
10079
  value: I,
10080
10080
  children: /* @__PURE__ */ l(Xv.Provider, {
@@ -11118,7 +11118,7 @@ const hy = ne(() => {
11118
11118
  c(o);
11119
11119
  }, [o, c]), g = !u && e.type !== ut.Modal;
11120
11120
  return /* @__PURE__ */ l($e, {
11121
- children: /* @__PURE__ */ l(ke, {
11121
+ children: /* @__PURE__ */ l(Me, {
11122
11122
  sx: {
11123
11123
  position: "absolute",
11124
11124
  top: 0,
@@ -11129,7 +11129,7 @@ const hy = ne(() => {
11129
11129
  children: /* @__PURE__ */ y(mr, {
11130
11130
  withinPortal: !0,
11131
11131
  children: [/* @__PURE__ */ l(mr.Target, {
11132
- children: /* @__PURE__ */ l(ke, {
11132
+ children: /* @__PURE__ */ l(Me, {
11133
11133
  className: "panel-dropdown-target",
11134
11134
  sx: {
11135
11135
  width: "100%",
@@ -11457,7 +11457,7 @@ const XD = (e) => {
11457
11457
  getColor: al(["#fff7f1", "darkorange", "#b60000"]),
11458
11458
  name: "orange",
11459
11459
  category: "sequential"
11460
- }, yy = "@devtable/dashboard", ud = "8.6.3", by = "Apache-2.0", wy = {
11460
+ }, yy = "@devtable/dashboard", ud = "8.6.4", by = "Apache-2.0", wy = {
11461
11461
  access: "public",
11462
11462
  registry: "https://registry.npmjs.org/"
11463
11463
  }, xy = [
@@ -12621,7 +12621,7 @@ ee.forwardRef(function({
12621
12621
  const u = ve.cloneDeep(t);
12622
12622
  ve.set(u, s, c), n(u);
12623
12623
  };
12624
- return /* @__PURE__ */ y(ke, {
12624
+ return /* @__PURE__ */ y(Me, {
12625
12625
  px: "sm",
12626
12626
  py: "md",
12627
12627
  ref: i,
@@ -13401,7 +13401,7 @@ const lA = ({
13401
13401
  disabled: e,
13402
13402
  value: t,
13403
13403
  onChange: n
13404
- }) => /* @__PURE__ */ y(ke, {
13404
+ }) => /* @__PURE__ */ y(Me, {
13405
13405
  sx: {
13406
13406
  position: "relative"
13407
13407
  },
@@ -14802,7 +14802,7 @@ function tN({
14802
14802
  bottom: na(m.bottom, o, a)
14803
14803
  };
14804
14804
  }, [i, a]), g = Math.max(0, c - d - f);
14805
- return /* @__PURE__ */ y(ke, {
14805
+ return /* @__PURE__ */ y(Me, {
14806
14806
  children: [/* @__PURE__ */ l(W, {
14807
14807
  ref: u,
14808
14808
  align: "left",
@@ -14847,7 +14847,7 @@ const _d = rn(({
14847
14847
  label: "Scroll to Zoom",
14848
14848
  labelPosition: "center"
14849
14849
  }), /* @__PURE__ */ y(j, {
14850
- children: [/* @__PURE__ */ l(ke, {
14850
+ children: [/* @__PURE__ */ l(Me, {
14851
14851
  sx: {
14852
14852
  flexGrow: 1
14853
14853
  },
@@ -14856,7 +14856,7 @@ const _d = rn(({
14856
14856
  checked: e.x_axis_scroll,
14857
14857
  onChange: (o) => r("x_axis_scroll")(o.currentTarget.checked)
14858
14858
  })
14859
- }), /* @__PURE__ */ l(ke, {
14859
+ }), /* @__PURE__ */ l(Me, {
14860
14860
  sx: {
14861
14861
  flexGrow: 1
14862
14862
  },
@@ -14871,7 +14871,7 @@ const _d = rn(({
14871
14871
  label: "Slider for Zooming",
14872
14872
  labelPosition: "center"
14873
14873
  }), /* @__PURE__ */ y(j, {
14874
- children: [/* @__PURE__ */ l(ke, {
14874
+ children: [/* @__PURE__ */ l(Me, {
14875
14875
  sx: {
14876
14876
  flexGrow: 1
14877
14877
  },
@@ -14882,7 +14882,7 @@ const _d = rn(({
14882
14882
  })
14883
14883
  }), /* @__PURE__ */ l(wn, {
14884
14884
  label: "Not available for now, will overlap y-axis's label",
14885
- children: /* @__PURE__ */ l(ke, {
14885
+ children: /* @__PURE__ */ l(Me, {
14886
14886
  sx: {
14887
14887
  flexGrow: 1
14888
14888
  },
@@ -15717,7 +15717,7 @@ function gN({
15717
15717
  const mN = ({
15718
15718
  value: e,
15719
15719
  onChange: t
15720
- }) => /* @__PURE__ */ l(ke, {
15720
+ }) => /* @__PURE__ */ l(Me, {
15721
15721
  children: /* @__PURE__ */ l(nr, {
15722
15722
  height: "500px",
15723
15723
  defaultLanguage: "javascript",
@@ -15761,7 +15761,7 @@ const mN = ({
15761
15761
  d(ra.dynamic.func_content);
15762
15762
  };
15763
15763
  return /* @__PURE__ */ y($e, {
15764
- children: [/* @__PURE__ */ l(ke, {
15764
+ children: [/* @__PURE__ */ l(Me, {
15765
15765
  sx: {
15766
15766
  width: "50%"
15767
15767
  },
@@ -15976,7 +15976,7 @@ function _N({
15976
15976
  control: e,
15977
15977
  render: ({
15978
15978
  field: i
15979
- }) => /* @__PURE__ */ l(ke, {
15979
+ }) => /* @__PURE__ */ l(Me, {
15980
15980
  sx: {
15981
15981
  flexGrow: 1
15982
15982
  },
@@ -15993,7 +15993,7 @@ function _N({
15993
15993
  field: i
15994
15994
  }) => {
15995
15995
  var a;
15996
- return /* @__PURE__ */ l(ke, {
15996
+ return /* @__PURE__ */ l(Me, {
15997
15997
  sx: {
15998
15998
  flexGrow: 1
15999
15999
  },
@@ -16012,7 +16012,7 @@ function _N({
16012
16012
  control: e,
16013
16013
  render: ({
16014
16014
  field: i
16015
- }) => /* @__PURE__ */ l(ke, {
16015
+ }) => /* @__PURE__ */ l(Me, {
16016
16016
  mt: 10,
16017
16017
  mb: -10,
16018
16018
  sx: {
@@ -18331,7 +18331,7 @@ function NI({
18331
18331
  width: n,
18332
18332
  height: r
18333
18333
  } = e.viewport, o = e.data, i = le(() => AI(un({}, t, Td), o), [t, o]);
18334
- return !n || !r || !t || ku(t == null ? void 0 : t.dimensions) ? null : /* @__PURE__ */ l(ke, {
18334
+ return !n || !r || !t || ku(t == null ? void 0 : t.dimensions) ? null : /* @__PURE__ */ l(Me, {
18335
18335
  children: /* @__PURE__ */ l(Ir, {
18336
18336
  echarts: qt,
18337
18337
  option: i,
@@ -18538,7 +18538,7 @@ function VI({
18538
18538
  size: 20
18539
18539
  })
18540
18540
  })]
18541
- }), /* @__PURE__ */ l(ke, {
18541
+ }), /* @__PURE__ */ l(Me, {
18542
18542
  py: "sm",
18543
18543
  children: /* @__PURE__ */ l(H, {
18544
18544
  name: "series_name_key",
@@ -18881,7 +18881,7 @@ function GI({
18881
18881
  if (!n || !r || !t)
18882
18882
  return null;
18883
18883
  let u = r;
18884
- return a && (u -= 20), /* @__PURE__ */ y(ke, {
18884
+ return a && (u -= 20), /* @__PURE__ */ y(Me, {
18885
18885
  children: [a && /* @__PURE__ */ l(W, {
18886
18886
  align: "center",
18887
18887
  size: 12,
@@ -22656,7 +22656,7 @@ function MV({
22656
22656
  className: d(u.root, {
22657
22657
  "table-highlight-on-hover": i.highlightOnHover
22658
22658
  }),
22659
- children: [N > 0 && /* @__PURE__ */ l(ke, {
22659
+ children: [N > 0 && /* @__PURE__ */ l(Me, {
22660
22660
  className: u.info_bar,
22661
22661
  sx: {
22662
22662
  height: 22
@@ -23051,7 +23051,7 @@ const BV = rn(({
23051
23051
  withCloseButton: !1,
23052
23052
  zIndex: 320,
23053
23053
  children: r && /* @__PURE__ */ y(q, {
23054
- children: [/* @__PURE__ */ l(ke, {
23054
+ children: [/* @__PURE__ */ l(Me, {
23055
23055
  sx: {
23056
23056
  position: "relative"
23057
23057
  },
@@ -23612,7 +23612,7 @@ const QV = ({ conf: e, data: t }) => async () => {
23612
23612
  ...ld
23613
23613
  }, Dh = ({
23614
23614
  message: e
23615
- }) => /* @__PURE__ */ l(ke, {
23615
+ }) => /* @__PURE__ */ l(Me, {
23616
23616
  sx: eu,
23617
23617
  children: /* @__PURE__ */ l("div", {
23618
23618
  dangerouslySetInnerHTML: {
@@ -23668,7 +23668,7 @@ function JV({
23668
23668
  }), {
23669
23669
  refreshDeps: [i, n]
23670
23670
  });
23671
- return !r || !o || !n ? null : c ? /* @__PURE__ */ l(ke, {
23671
+ return !r || !o || !n ? null : c ? /* @__PURE__ */ l(Me, {
23672
23672
  sx: {
23673
23673
  position: "relative",
23674
23674
  height: o
@@ -23676,7 +23676,7 @@ function JV({
23676
23676
  children: /* @__PURE__ */ l(ha, {
23677
23677
  visible: !0
23678
23678
  })
23679
- }) : s ? /* @__PURE__ */ l(ke, {
23679
+ }) : s ? /* @__PURE__ */ l(Me, {
23680
23680
  sx: eu,
23681
23681
  "data-enable-scrollbar": !0,
23682
23682
  children: /* @__PURE__ */ l(ZV, {
@@ -23684,7 +23684,7 @@ function JV({
23684
23684
  width: r,
23685
23685
  height: o
23686
23686
  })
23687
- }) : !a || !Array.isArray(a.replies) || a.replies.length === 0 ? null : /* @__PURE__ */ l(ke, {
23687
+ }) : !a || !Array.isArray(a.replies) || a.replies.length === 0 ? null : /* @__PURE__ */ l(Me, {
23688
23688
  sx: eu,
23689
23689
  "data-enable-scrollbar": !0,
23690
23690
  children: a.replies.map((d, p) => /* @__PURE__ */ l("div", {
@@ -24291,7 +24291,7 @@ function xz({
24291
24291
  bottom: na(m.bottom, o, a)
24292
24292
  };
24293
24293
  }, [i, a]), g = Math.max(0, c - d - f);
24294
- return /* @__PURE__ */ y(ke, {
24294
+ return /* @__PURE__ */ y(Me, {
24295
24295
  children: [/* @__PURE__ */ l(W, {
24296
24296
  ref: u,
24297
24297
  align: "left",
@@ -24592,7 +24592,7 @@ function Ez({
24592
24592
  const Tz = ({
24593
24593
  value: e,
24594
24594
  onChange: t
24595
- }) => /* @__PURE__ */ l(ke, {
24595
+ }) => /* @__PURE__ */ l(Me, {
24596
24596
  children: /* @__PURE__ */ l(nr, {
24597
24597
  height: "500px",
24598
24598
  defaultLanguage: "javascript",
@@ -24636,7 +24636,7 @@ const Tz = ({
24636
24636
  d(Oa.dynamic.func_content);
24637
24637
  };
24638
24638
  return /* @__PURE__ */ y($e, {
24639
- children: [/* @__PURE__ */ l(ke, {
24639
+ children: [/* @__PURE__ */ l(Me, {
24640
24640
  sx: {
24641
24641
  width: "50%"
24642
24642
  },
@@ -24785,7 +24785,7 @@ const Tz = ({
24785
24785
  }), Az = ({
24786
24786
  value: e,
24787
24787
  onChange: t
24788
- }) => /* @__PURE__ */ l(ke, {
24788
+ }) => /* @__PURE__ */ l(Me, {
24789
24789
  children: /* @__PURE__ */ l(nr, {
24790
24790
  height: "500px",
24791
24791
  defaultLanguage: "javascript",
@@ -24844,7 +24844,7 @@ const Tz = ({
24844
24844
  d(Tb.dynamic.func_content);
24845
24845
  };
24846
24846
  return /* @__PURE__ */ y($e, {
24847
- children: [/* @__PURE__ */ l(ke, {
24847
+ children: [/* @__PURE__ */ l(Me, {
24848
24848
  sx: {
24849
24849
  width: "50%"
24850
24850
  },
@@ -25282,7 +25282,7 @@ const Wz = ({
25282
25282
  disabled: e,
25283
25283
  value: t,
25284
25284
  onChange: n
25285
- }) => /* @__PURE__ */ y(ke, {
25285
+ }) => /* @__PURE__ */ y(Me, {
25286
25286
  sx: {
25287
25287
  position: "relative"
25288
25288
  },
@@ -25994,7 +25994,7 @@ const aF = {
25994
25994
  }), lF = ({
25995
25995
  value: e,
25996
25996
  onChange: t
25997
- }) => /* @__PURE__ */ l(ke, {
25997
+ }) => /* @__PURE__ */ l(Me, {
25998
25998
  sx: {
25999
25999
  position: "relative"
26000
26000
  },
@@ -27390,14 +27390,14 @@ const Hd = ne(function({
27390
27390
  data: i,
27391
27391
  loading: d
27392
27392
  },
27393
- children: /* @__PURE__ */ y(ke, {
27393
+ children: /* @__PURE__ */ y(Me, {
27394
27394
  className: "panel-root",
27395
27395
  p: 5,
27396
27396
  pt: 0,
27397
27397
  sx: {
27398
27398
  ...f
27399
27399
  },
27400
- children: [/* @__PURE__ */ l(ke, {
27400
+ children: [/* @__PURE__ */ l(Me, {
27401
27401
  sx: {
27402
27402
  position: "absolute",
27403
27403
  left: 0,
@@ -27536,7 +27536,7 @@ const MG = {
27536
27536
  var Ib = /* @__PURE__ */ ((e) => (e.Select = "select", e.TreeSelect = "tree-select", e.MultiSelect = "multi-select", e.TextInput = "text-input", e.Checkbox = "checkbox", e.DateRange = "date-range", e))(Ib || {});
27537
27537
  const y3 = ne(({
27538
27538
  children: e
27539
- }) => /* @__PURE__ */ l(ke, {
27539
+ }) => /* @__PURE__ */ l(Me, {
27540
27540
  pt: 10,
27541
27541
  pb: 100,
27542
27542
  children: e
@@ -27601,7 +27601,7 @@ const y3 = ne(({
27601
27601
  view: t
27602
27602
  }) => {
27603
27603
  const n = Ge(), r = le(() => n.views.options.filter((i) => i.type === ut.Division), [t.id, n.views.options]), o = t.config;
27604
- return /* @__PURE__ */ y(ke, {
27604
+ return /* @__PURE__ */ y(Me, {
27605
27605
  className: "preview-view-tabs",
27606
27606
  children: [/* @__PURE__ */ y(B, {
27607
27607
  variant: o.variant,
@@ -27633,7 +27633,7 @@ const y3 = ne(({
27633
27633
  sx: {
27634
27634
  position: "relative"
27635
27635
  },
27636
- children: [/* @__PURE__ */ y(ke, {
27636
+ children: [/* @__PURE__ */ y(Me, {
27637
27637
  sx: {
27638
27638
  position: "absolute",
27639
27639
  top: 0,
@@ -27719,16 +27719,16 @@ const y3 = ne(({
27719
27719
  viewPanelInFullScreen: ve.noop,
27720
27720
  inFullScreen: !1
27721
27721
  },
27722
- children: /* @__PURE__ */ l(ke, {
27722
+ children: /* @__PURE__ */ l(Me, {
27723
27723
  className: "dashboard-view",
27724
27724
  "data-enable-scrollbar": !0,
27725
27725
  children: /* @__PURE__ */ l(_3, {
27726
27726
  view: t,
27727
- children: /* @__PURE__ */ y(ke, {
27727
+ children: /* @__PURE__ */ y(Me, {
27728
27728
  sx: {
27729
27729
  position: "relative"
27730
27730
  },
27731
- children: [/* @__PURE__ */ l(ke, {
27731
+ children: [/* @__PURE__ */ l(Me, {
27732
27732
  className: "dashboard-sticky-area",
27733
27733
  sx: {
27734
27734
  position: "sticky",
@@ -27800,7 +27800,7 @@ function T3(e, t, n) {
27800
27800
  }
27801
27801
  const k3 = ne(({
27802
27802
  children: e
27803
- }) => /* @__PURE__ */ l(ke, {
27803
+ }) => /* @__PURE__ */ l(Me, {
27804
27804
  children: e
27805
27805
  })), M3 = ne(({
27806
27806
  children: e,
@@ -27840,7 +27840,7 @@ const k3 = ne(({
27840
27840
  view: t
27841
27841
  }) => {
27842
27842
  const n = Ge(), r = t.config;
27843
- return /* @__PURE__ */ y(ke, {
27843
+ return /* @__PURE__ */ y(Me, {
27844
27844
  className: "render-view-tabs",
27845
27845
  children: [/* @__PURE__ */ y(B, {
27846
27846
  variant: r.variant,
@@ -27912,7 +27912,7 @@ const k3 = ne(({
27912
27912
  viewPanelInFullScreen: o,
27913
27913
  inFullScreen: a
27914
27914
  },
27915
- children: /* @__PURE__ */ y(ke, {
27915
+ children: /* @__PURE__ */ y(Me, {
27916
27916
  className: "dashboard-view",
27917
27917
  "data-enable-scrollbar": !0,
27918
27918
  children: [a && /* @__PURE__ */ l(E3, {
@@ -27921,11 +27921,11 @@ const k3 = ne(({
27921
27921
  exitFullScreen: i
27922
27922
  }), /* @__PURE__ */ l(D3, {
27923
27923
  view: t,
27924
- children: /* @__PURE__ */ y(ke, {
27924
+ children: /* @__PURE__ */ y(Me, {
27925
27925
  sx: {
27926
27926
  position: "relative"
27927
27927
  },
27928
- children: [!a && /* @__PURE__ */ l(ke, {
27928
+ children: [!a && /* @__PURE__ */ l(Me, {
27929
27929
  className: "dashboard-sticky-area",
27930
27930
  sx: {
27931
27931
  position: "sticky",
@@ -33296,13 +33296,13 @@ var Po = (e) => {
33296
33296
  if (R)
33297
33297
  return null;
33298
33298
  const Ce = (et) => {
33299
- const { edges: gt, addSelectedEdges: Me } = oe.getState();
33300
- if (L && (oe.setState({ nodesSelectionActive: !1 }), Me([n])), a) {
33299
+ const { edges: gt, addSelectedEdges: ke } = oe.getState();
33300
+ if (L && (oe.setState({ nodesSelectionActive: !1 }), ke([n])), a) {
33301
33301
  const Be = gt.find((st) => st.id === n);
33302
33302
  a(et, Be);
33303
33303
  }
33304
33304
  }, ye = Oi(n, oe.getState, s), Re = Oi(n, oe.getState, $), Ae = Oi(n, oe.getState, E), me = Oi(n, oe.getState, A), Je = Oi(n, oe.getState, D), He = (et, gt) => {
33305
- const Me = gt ? x : v, Be = (gt ? P : k) || null, st = gt ? "target" : "source", $t = () => !0, mt = gt, Ft = oe.getState().edges.find((Ht) => Ht.id === n);
33305
+ const ke = gt ? x : v, Be = (gt ? P : k) || null, st = gt ? "target" : "source", $t = () => !0, mt = gt, Ft = oe.getState().edges.find((Ht) => Ht.id === n);
33306
33306
  X(!0), F == null || F(et, Ft, st);
33307
33307
  const wt = (Ht) => {
33308
33308
  X(!1), K == null || K(Ht, Ft, st);
@@ -33310,7 +33310,7 @@ var Po = (e) => {
33310
33310
  X0({
33311
33311
  event: et,
33312
33312
  handleId: Be,
33313
- nodeId: Me,
33313
+ nodeId: ke,
33314
33314
  onConnect: (Ht) => z == null ? void 0 : z(Ft, Ht),
33315
33315
  isTarget: mt,
33316
33316
  getState: oe.getState,
@@ -33322,8 +33322,8 @@ var Po = (e) => {
33322
33322
  }, ot = (et) => He(et, !0), De = (et) => He(et, !1), Ye = () => Ee(!0), Ke = () => Ee(!1), qe = !L && !a, bt = typeof z < "u", dt = (et) => {
33323
33323
  var gt;
33324
33324
  if (V0.includes(et.key) && L) {
33325
- const { unselectNodesAndEdges: Me, addSelectedEdges: Be, edges: st } = oe.getState();
33326
- et.key === "Escape" ? ((gt = ce.current) == null || gt.blur(), Me({ edges: [st.find((mt) => mt.id === n)] })) : Be([n]);
33325
+ const { unselectNodesAndEdges: ke, addSelectedEdges: Be, edges: st } = oe.getState();
33326
+ et.key === "Escape" ? ((gt = ce.current) == null || gt.blur(), ke({ edges: [st.find((mt) => mt.id === n)] })) : Be([n]);
33327
33327
  }
33328
33328
  };
33329
33329
  return y("g", { className: mn([
@@ -34788,9 +34788,9 @@ const i6 = {
34788
34788
  overflow: "hidden",
34789
34789
  position: "relative",
34790
34790
  zIndex: 0
34791
- }, Sw = rn(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, className: o, nodeTypes: i = i6, edgeTypes: a = a6, onNodeClick: s, onEdgeClick: c, onInit: u, onMove: d, onMoveStart: p, onMoveEnd: f, onConnect: h, onConnectStart: g, onConnectEnd: m, onClickConnectStart: b, onClickConnectEnd: v, onNodeMouseEnter: x, onNodeMouseMove: S, onNodeMouseLeave: w, onNodeContextMenu: _, onNodeDoubleClick: T, onNodeDragStart: O, onNodeDrag: N, onNodeDragStop: L, onNodesDelete: R, onEdgesDelete: k, onSelectionChange: P, onSelectionDragStart: $, onSelectionDrag: E, onSelectionDragStop: A, onSelectionContextMenu: D, onSelectionStart: M, onSelectionEnd: z, connectionMode: F = So.Strict, connectionLineType: K = Gr.Bezier, connectionLineStyle: G, connectionLineComponent: te, connectionLineContainerStyle: re, deleteKeyCode: Y = "Backspace", selectionKeyCode: Q = "Shift", selectionOnDrag: de = !1, selectionMode: ue = ca.Full, panActivationKeyCode: ce = "Space", multiSelectionKeyCode: se = "Meta", zoomActivationKeyCode: Ee = "Meta", snapToGrid: _e = !1, snapGrid: X = l6, onlyRenderVisibleElements: oe = !1, selectNodesOnDrag: Te = !0, nodesDraggable: U, nodesConnectable: Ce, nodesFocusable: ye, nodeOrigin: Re = s6, edgesFocusable: Ae, elementsSelectable: me, defaultViewport: Je = c6, minZoom: He = 0.5, maxZoom: ot = 2, translateExtent: De = yu, preventScrolling: Ye = !0, nodeExtent: Ke, defaultMarkerColor: qe = "#b1b1b7", zoomOnScroll: bt = !0, zoomOnPinch: dt = !0, panOnScroll: et = !1, panOnScrollSpeed: gt = 0.5, panOnScrollMode: Me = qo.Free, zoomOnDoubleClick: Be = !0, panOnDrag: st = !0, onPaneClick: $t, onPaneMouseEnter: mt, onPaneMouseMove: Ft, onPaneMouseLeave: wt, onPaneScroll: en, onPaneContextMenu: Ht, children: kt, onEdgeUpdate: It, onEdgeContextMenu: on, onEdgeDoubleClick: St, onEdgeMouseEnter: On, onEdgeMouseMove: Ut, onEdgeMouseLeave: ie, onEdgeUpdateStart: pe, onEdgeUpdateEnd: be, edgeUpdaterRadius: ze = 10, onNodesChange: it, onEdgesChange: xt, noDragClassName: an = "nodrag", noWheelClassName: sn = "nowheel", noPanClassName: Rn = "nopan", fitView: Ot = !1, fitViewOptions: I, connectOnClick: J = !0, attributionPosition: Z, proOptions: he, defaultEdgeOptions: we, elevateNodesOnSelect: Pe = !0, elevateEdgesOnSelect: je = !1, disableKeyboardA11y: Le = !1, autoPanOnConnect: Qe = !0, autoPanOnNodeDrag: Ue = !0, connectionRadius: nt = 20, onError: Pt, style: vn, id: An, ...Bt }, ir) => {
34791
+ }, Sw = rn(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, className: o, nodeTypes: i = i6, edgeTypes: a = a6, onNodeClick: s, onEdgeClick: c, onInit: u, onMove: d, onMoveStart: p, onMoveEnd: f, onConnect: h, onConnectStart: g, onConnectEnd: m, onClickConnectStart: b, onClickConnectEnd: v, onNodeMouseEnter: x, onNodeMouseMove: S, onNodeMouseLeave: w, onNodeContextMenu: _, onNodeDoubleClick: T, onNodeDragStart: O, onNodeDrag: N, onNodeDragStop: L, onNodesDelete: R, onEdgesDelete: k, onSelectionChange: P, onSelectionDragStart: $, onSelectionDrag: E, onSelectionDragStop: A, onSelectionContextMenu: D, onSelectionStart: M, onSelectionEnd: z, connectionMode: F = So.Strict, connectionLineType: K = Gr.Bezier, connectionLineStyle: G, connectionLineComponent: te, connectionLineContainerStyle: re, deleteKeyCode: Y = "Backspace", selectionKeyCode: Q = "Shift", selectionOnDrag: de = !1, selectionMode: ue = ca.Full, panActivationKeyCode: ce = "Space", multiSelectionKeyCode: se = "Meta", zoomActivationKeyCode: Ee = "Meta", snapToGrid: _e = !1, snapGrid: X = l6, onlyRenderVisibleElements: oe = !1, selectNodesOnDrag: Te = !0, nodesDraggable: U, nodesConnectable: Ce, nodesFocusable: ye, nodeOrigin: Re = s6, edgesFocusable: Ae, elementsSelectable: me, defaultViewport: Je = c6, minZoom: He = 0.5, maxZoom: ot = 2, translateExtent: De = yu, preventScrolling: Ye = !0, nodeExtent: Ke, defaultMarkerColor: qe = "#b1b1b7", zoomOnScroll: bt = !0, zoomOnPinch: dt = !0, panOnScroll: et = !1, panOnScrollSpeed: gt = 0.5, panOnScrollMode: ke = qo.Free, zoomOnDoubleClick: Be = !0, panOnDrag: st = !0, onPaneClick: $t, onPaneMouseEnter: mt, onPaneMouseMove: Ft, onPaneMouseLeave: wt, onPaneScroll: en, onPaneContextMenu: Ht, children: kt, onEdgeUpdate: It, onEdgeContextMenu: on, onEdgeDoubleClick: St, onEdgeMouseEnter: On, onEdgeMouseMove: Ut, onEdgeMouseLeave: ie, onEdgeUpdateStart: pe, onEdgeUpdateEnd: be, edgeUpdaterRadius: ze = 10, onNodesChange: it, onEdgesChange: xt, noDragClassName: an = "nodrag", noWheelClassName: sn = "nowheel", noPanClassName: Rn = "nopan", fitView: Ot = !1, fitViewOptions: I, connectOnClick: J = !0, attributionPosition: Z, proOptions: he, defaultEdgeOptions: we, elevateNodesOnSelect: Pe = !0, elevateEdgesOnSelect: je = !1, disableKeyboardA11y: Le = !1, autoPanOnConnect: Qe = !0, autoPanOnNodeDrag: Ue = !0, connectionRadius: nt = 20, onError: Pt, style: vn, id: An, ...Bt }, ir) => {
34792
34792
  const gr = kg(i, hK), En = kg(a, cK), Tn = An || "1";
34793
- return l("div", { ...Bt, style: { ...vn, ...u6 }, ref: ir, className: mn(["react-flow", o]), "data-testid": "rf__wrapper", id: An, children: y(xw, { children: [l(r6, { onInit: u, onMove: d, onMoveStart: p, onMoveEnd: f, onNodeClick: s, onEdgeClick: c, onNodeMouseEnter: x, onNodeMouseMove: S, onNodeMouseLeave: w, onNodeContextMenu: _, onNodeDoubleClick: T, nodeTypes: gr, edgeTypes: En, connectionLineType: K, connectionLineStyle: G, connectionLineComponent: te, connectionLineContainerStyle: re, selectionKeyCode: Q, selectionOnDrag: de, selectionMode: ue, deleteKeyCode: Y, multiSelectionKeyCode: se, panActivationKeyCode: ce, zoomActivationKeyCode: Ee, onlyRenderVisibleElements: oe, selectNodesOnDrag: Te, defaultViewport: Je, translateExtent: De, minZoom: He, maxZoom: ot, preventScrolling: Ye, zoomOnScroll: bt, zoomOnPinch: dt, zoomOnDoubleClick: Be, panOnScroll: et, panOnScrollSpeed: gt, panOnScrollMode: Me, panOnDrag: st, onPaneClick: $t, onPaneMouseEnter: mt, onPaneMouseMove: Ft, onPaneMouseLeave: wt, onPaneScroll: en, onPaneContextMenu: Ht, onSelectionContextMenu: D, onSelectionStart: M, onSelectionEnd: z, onEdgeUpdate: It, onEdgeContextMenu: on, onEdgeDoubleClick: St, onEdgeMouseEnter: On, onEdgeMouseMove: Ut, onEdgeMouseLeave: ie, onEdgeUpdateStart: pe, onEdgeUpdateEnd: be, edgeUpdaterRadius: ze, defaultMarkerColor: qe, noDragClassName: an, noWheelClassName: sn, noPanClassName: Rn, elevateEdgesOnSelect: je, rfId: Tn, disableKeyboardA11y: Le, nodeOrigin: Re, nodeExtent: Ke }), l(tK, { nodes: e, edges: t, defaultNodes: n, defaultEdges: r, onConnect: h, onConnectStart: g, onConnectEnd: m, onClickConnectStart: b, onClickConnectEnd: v, nodesDraggable: U, nodesConnectable: Ce, nodesFocusable: ye, edgesFocusable: Ae, elementsSelectable: me, elevateNodesOnSelect: Pe, minZoom: He, maxZoom: ot, nodeExtent: Ke, onNodesChange: it, onEdgesChange: xt, snapToGrid: _e, snapGrid: X, connectionMode: F, translateExtent: De, connectOnClick: J, defaultEdgeOptions: we, fitView: Ot, fitViewOptions: I, onNodesDelete: R, onEdgesDelete: k, onNodeDragStart: O, onNodeDrag: N, onNodeDragStop: L, onSelectionDrag: E, onSelectionDragStart: $, onSelectionDragStop: A, noPanClassName: Rn, nodeOrigin: Re, rfId: Tn, autoPanOnConnect: Qe, autoPanOnNodeDrag: Ue, onError: Pt, connectionRadius: nt }), l(Jj, { onSelectionChange: P }), kt, l(kj, { proOptions: he, position: Z }), l(aK, { rfId: Tn, disableKeyboardA11y: Le })] }) });
34793
+ return l("div", { ...Bt, style: { ...vn, ...u6 }, ref: ir, className: mn(["react-flow", o]), "data-testid": "rf__wrapper", id: An, children: y(xw, { children: [l(r6, { onInit: u, onMove: d, onMoveStart: p, onMoveEnd: f, onNodeClick: s, onEdgeClick: c, onNodeMouseEnter: x, onNodeMouseMove: S, onNodeMouseLeave: w, onNodeContextMenu: _, onNodeDoubleClick: T, nodeTypes: gr, edgeTypes: En, connectionLineType: K, connectionLineStyle: G, connectionLineComponent: te, connectionLineContainerStyle: re, selectionKeyCode: Q, selectionOnDrag: de, selectionMode: ue, deleteKeyCode: Y, multiSelectionKeyCode: se, panActivationKeyCode: ce, zoomActivationKeyCode: Ee, onlyRenderVisibleElements: oe, selectNodesOnDrag: Te, defaultViewport: Je, translateExtent: De, minZoom: He, maxZoom: ot, preventScrolling: Ye, zoomOnScroll: bt, zoomOnPinch: dt, zoomOnDoubleClick: Be, panOnScroll: et, panOnScrollSpeed: gt, panOnScrollMode: ke, panOnDrag: st, onPaneClick: $t, onPaneMouseEnter: mt, onPaneMouseMove: Ft, onPaneMouseLeave: wt, onPaneScroll: en, onPaneContextMenu: Ht, onSelectionContextMenu: D, onSelectionStart: M, onSelectionEnd: z, onEdgeUpdate: It, onEdgeContextMenu: on, onEdgeDoubleClick: St, onEdgeMouseEnter: On, onEdgeMouseMove: Ut, onEdgeMouseLeave: ie, onEdgeUpdateStart: pe, onEdgeUpdateEnd: be, edgeUpdaterRadius: ze, defaultMarkerColor: qe, noDragClassName: an, noWheelClassName: sn, noPanClassName: Rn, elevateEdgesOnSelect: je, rfId: Tn, disableKeyboardA11y: Le, nodeOrigin: Re, nodeExtent: Ke }), l(tK, { nodes: e, edges: t, defaultNodes: n, defaultEdges: r, onConnect: h, onConnectStart: g, onConnectEnd: m, onClickConnectStart: b, onClickConnectEnd: v, nodesDraggable: U, nodesConnectable: Ce, nodesFocusable: ye, edgesFocusable: Ae, elementsSelectable: me, elevateNodesOnSelect: Pe, minZoom: He, maxZoom: ot, nodeExtent: Ke, onNodesChange: it, onEdgesChange: xt, snapToGrid: _e, snapGrid: X, connectionMode: F, translateExtent: De, connectOnClick: J, defaultEdgeOptions: we, fitView: Ot, fitViewOptions: I, onNodesDelete: R, onEdgesDelete: k, onNodeDragStart: O, onNodeDrag: N, onNodeDragStop: L, onSelectionDrag: E, onSelectionDragStart: $, onSelectionDragStop: A, noPanClassName: Rn, nodeOrigin: Re, rfId: Tn, autoPanOnConnect: Qe, autoPanOnNodeDrag: Ue, onError: Pt, connectionRadius: nt }), l(Jj, { onSelectionChange: P }), kt, l(kj, { proOptions: he, position: Z }), l(aK, { rfId: Tn, disableKeyboardA11y: Le })] }) });
34794
34794
  });
34795
34795
  Sw.displayName = "ReactFlow";
34796
34796
  const _w = ({ id: e, x: t, y: n, width: r, height: o, style: i, color: a, strokeColor: s, strokeWidth: c, className: u, borderRadius: d, shapeRendering: p, onClick: f }) => {
@@ -35225,7 +35225,7 @@ const Y6 = Nt(({
35225
35225
  type: "target",
35226
35226
  position: r,
35227
35227
  isConnectable: t
35228
- }), /* @__PURE__ */ l(ke, {
35228
+ }), /* @__PURE__ */ l(Me, {
35229
35229
  sx: {
35230
35230
  position: "absolute",
35231
35231
  top: 0,
@@ -35315,7 +35315,7 @@ function J6({
35315
35315
  active: n,
35316
35316
  openSettings: r
35317
35317
  }) {
35318
- return /* @__PURE__ */ y(ke, {
35318
+ return /* @__PURE__ */ y(Me, {
35319
35319
  sx: {
35320
35320
  position: "relative"
35321
35321
  },
@@ -35370,7 +35370,7 @@ const e8 = ne(() => {
35370
35370
  const e = Ge(), t = vt((r) => () => e.views.setIDOfVIE(r), [e]), n = (r) => {
35371
35371
  e.editor.open(["_VIEWS_", r]);
35372
35372
  };
35373
- return /* @__PURE__ */ y(ke, {
35373
+ return /* @__PURE__ */ y(Me, {
35374
35374
  sx: {
35375
35375
  position: "relative"
35376
35376
  },
@@ -35942,7 +35942,7 @@ const e8 = ne(() => {
35942
35942
  const [n, r] = ee.useState(t.plainDefaultValue);
35943
35943
  return ee.useEffect(() => {
35944
35944
  r(t.plainDefaultValue);
35945
- }, [t]), /* @__PURE__ */ y(ke, {
35945
+ }, [t]), /* @__PURE__ */ y(Me, {
35946
35946
  sx: {
35947
35947
  maxWidth: "480px"
35948
35948
  },
@@ -35999,7 +35999,7 @@ const e8 = ne(() => {
35999
35999
  grow: !0,
36000
36000
  spacing: 20,
36001
36001
  align: "top",
36002
- children: [/* @__PURE__ */ y(ke, {
36002
+ children: [/* @__PURE__ */ y(Me, {
36003
36003
  sx: {
36004
36004
  maxWidth: "600px"
36005
36005
  },
@@ -36070,9 +36070,10 @@ const e8 = ne(() => {
36070
36070
  return r ? /* @__PURE__ */ y(q, {
36071
36071
  sx: {
36072
36072
  maxWidth: "1100px",
36073
- height: "100%"
36073
+ height: "100vh"
36074
36074
  },
36075
36075
  spacing: "sm",
36076
+ pb: 30,
36076
36077
  children: [/* @__PURE__ */ l(j, {
36077
36078
  position: "right",
36078
36079
  pt: 10,
@@ -36096,7 +36097,7 @@ const e8 = ne(() => {
36096
36097
  },
36097
36098
  children: "Delete this filter"
36098
36099
  })
36099
- }), /* @__PURE__ */ l(ke, {
36100
+ }), /* @__PURE__ */ l(Me, {
36100
36101
  sx: {
36101
36102
  flexGrow: 1,
36102
36103
  maxHeight: "calc(100% - 52px)",
@@ -36302,7 +36303,7 @@ const S8 = ne(({
36302
36303
  }
36303
36304
  } = _n();
36304
36305
  return /* @__PURE__ */ l(yo, {
36305
- children: /* @__PURE__ */ l(ke, {
36306
+ children: /* @__PURE__ */ l(Me, {
36306
36307
  sx: {
36307
36308
  height: "100%",
36308
36309
  flexGrow: 0,
@@ -36424,7 +36425,7 @@ function T8({
36424
36425
  columnResizeMode: "onChange",
36425
36426
  getCoreRowModel: vb()
36426
36427
  });
36427
- return e.length === 0 ? /* @__PURE__ */ l(ke, {
36428
+ return e.length === 0 ? /* @__PURE__ */ l(Me, {
36428
36429
  sx: {
36429
36430
  height: "5em"
36430
36431
  }
@@ -36506,7 +36507,7 @@ const Aw = ne(function({
36506
36507
  })
36507
36508
  })]
36508
36509
  })]
36509
- }), /* @__PURE__ */ y(ke, {
36510
+ }), /* @__PURE__ */ y(Me, {
36510
36511
  sx: {
36511
36512
  position: "relative",
36512
36513
  overflow: "auto"
@@ -36626,7 +36627,7 @@ const R8 = ee.forwardRef(function({
36626
36627
  const u = ve.cloneDeep(t);
36627
36628
  ve.set(u, s, c), n(u);
36628
36629
  };
36629
- return /* @__PURE__ */ y(ke, {
36630
+ return /* @__PURE__ */ y(Me, {
36630
36631
  px: "sm",
36631
36632
  py: "md",
36632
36633
  ref: i,
@@ -36773,7 +36774,7 @@ const R8 = ee.forwardRef(function({
36773
36774
  className: "var-list-container",
36774
36775
  children: /* @__PURE__ */ y(q, {
36775
36776
  justify: "space-between",
36776
- children: [/* @__PURE__ */ l(ke, {
36777
+ children: [/* @__PURE__ */ l(Me, {
36777
36778
  className: "var-list-actions",
36778
36779
  children: /* @__PURE__ */ l(fe, {
36779
36780
  variant: "light",
@@ -36900,7 +36901,7 @@ const B8 = ne(() => {
36900
36901
  size: 20
36901
36902
  })
36902
36903
  })
36903
- }), /* @__PURE__ */ l(ke, {
36904
+ }), /* @__PURE__ */ l(Me, {
36904
36905
  pb: 50,
36905
36906
  sx: {
36906
36907
  maxHeight: "calc(100% - 80px)",
@@ -36936,7 +36937,7 @@ const B8 = ne(() => {
36936
36937
  width: "100%",
36937
36938
  height: "calc(100% - 36px)"
36938
36939
  },
36939
- children: [/* @__PURE__ */ l(ke, {
36940
+ children: [/* @__PURE__ */ l(Me, {
36940
36941
  sx: {
36941
36942
  maxWidth: "calc(100% - 610px - 10px)",
36942
36943
  height: "100%",
@@ -37196,7 +37197,7 @@ const W8 = ne(({
37196
37197
  })), Z8 = ({
37197
37198
  value: e,
37198
37199
  onChange: t
37199
- }) => /* @__PURE__ */ l(ke, {
37200
+ }) => /* @__PURE__ */ l(Me, {
37200
37201
  sx: {
37201
37202
  position: "relative",
37202
37203
  flexGrow: 1
@@ -37623,7 +37624,7 @@ WHERE
37623
37624
  }) => {
37624
37625
  const t = Ge(), n = t.context.current, r = J3(e, n, t.mock_context.current, t.filters.values);
37625
37626
  return /* @__PURE__ */ l(gf, {
37626
- height: "400px",
37627
+ height: "100%",
37627
37628
  value: r
37628
37629
  });
37629
37630
  }), sW = ne(({
@@ -37641,10 +37642,12 @@ WHERE
37641
37642
  }, [e]);
37642
37643
  const h = d !== e.value, g = ii();
37643
37644
  return /* @__PURE__ */ y(q, {
37644
- my: 0,
37645
- p: 0,
37646
- pt: "md",
37647
- pr: 20,
37645
+ p: 20,
37646
+ sx: {
37647
+ maxWidth: "1100px",
37648
+ height: "100vh"
37649
+ },
37650
+ spacing: "sm",
37648
37651
  children: [/* @__PURE__ */ y(j, {
37649
37652
  sx: {
37650
37653
  alignItems: "end"
@@ -37692,6 +37695,14 @@ WHERE
37692
37695
  }), /* @__PURE__ */ y(B, {
37693
37696
  value: r,
37694
37697
  onTabChange: o,
37698
+ sx: {
37699
+ flexGrow: 1
37700
+ },
37701
+ styles: {
37702
+ panel: {
37703
+ height: "calc(100% - 50px)"
37704
+ }
37705
+ },
37695
37706
  children: [/* @__PURE__ */ y(B.List, {
37696
37707
  sx: {
37697
37708
  position: "relative"
@@ -37720,7 +37731,7 @@ WHERE
37720
37731
  value: "SQL",
37721
37732
  pt: "sm",
37722
37733
  children: /* @__PURE__ */ l(gf, {
37723
- height: "400px",
37734
+ height: "100%",
37724
37735
  value: d,
37725
37736
  onChange: p
37726
37737
  })
@@ -37737,17 +37748,10 @@ WHERE
37737
37748
  id: e
37738
37749
  }) => {
37739
37750
  const t = Ge(), n = le(() => t.sqlSnippets.findByKey(e), [e]);
37740
- return n ? /* @__PURE__ */ l(q, {
37741
- sx: {
37742
- maxWidth: "1100px",
37743
- height: "100%"
37744
- },
37745
- spacing: "sm",
37746
- children: /* @__PURE__ */ l(sW, {
37747
- item: n,
37748
- remove: () => t.sqlSnippets.removeByKey(e),
37749
- onKeyChanged: ve.noop
37750
- })
37751
+ return n ? /* @__PURE__ */ l(sW, {
37752
+ item: n,
37753
+ remove: () => t.sqlSnippets.removeByKey(e),
37754
+ onKeyChanged: ve.noop
37751
37755
  }) : /* @__PURE__ */ y(W, {
37752
37756
  size: 14,
37753
37757
  children: ["SQL Snippet by key[", e, "] is not found"]
@@ -37813,7 +37817,7 @@ WHERE
37813
37817
  disabled: e,
37814
37818
  value: t,
37815
37819
  onChange: n
37816
- }) => /* @__PURE__ */ y(ke, {
37820
+ }) => /* @__PURE__ */ y(Me, {
37817
37821
  sx: {
37818
37822
  position: "relative"
37819
37823
  },
@@ -38037,7 +38041,7 @@ WHERE
38037
38041
  },
38038
38042
  children: "Delete this view"
38039
38043
  })
38040
- }), /* @__PURE__ */ l(ke, {
38044
+ }), /* @__PURE__ */ l(Me, {
38041
38045
  sx: {
38042
38046
  flexGrow: 1,
38043
38047
  maxHeight: "calc(100% - 52px)",
@@ -38081,21 +38085,17 @@ const kW = ne(() => /* @__PURE__ */ l(q, {
38081
38085
  children: /* @__PURE__ */ l(Iw, {})
38082
38086
  })), MW = ne(() => {
38083
38087
  const e = Ge().editor, t = e.path;
38084
- return wW(t) ? /* @__PURE__ */ l(kW, {}) : xW(t) ? /* @__PURE__ */ l(v8, {}) : SW(t) ? /* @__PURE__ */ l(ke, {
38088
+ return wW(t) ? /* @__PURE__ */ l(kW, {}) : xW(t) ? /* @__PURE__ */ l(v8, {}) : SW(t) ? /* @__PURE__ */ l(Me, {
38085
38089
  p: "xs",
38086
38090
  pl: 20,
38087
38091
  children: /* @__PURE__ */ l(m8, {
38088
38092
  id: t[1]
38089
38093
  })
38090
- }) : _W(t) ? /* @__PURE__ */ l(ke, {
38091
- p: "xs",
38092
- pl: 20,
38093
- children: /* @__PURE__ */ l(lW, {
38094
- id: t[1]
38095
- })
38094
+ }) : _W(t) ? /* @__PURE__ */ l(lW, {
38095
+ id: t[1]
38096
38096
  }) : CW(t) ? /* @__PURE__ */ l(iW, {
38097
38097
  id: t[1]
38098
- }) : EW(t) ? /* @__PURE__ */ l(ke, {
38098
+ }) : EW(t) ? /* @__PURE__ */ l(Me, {
38099
38099
  p: "xs",
38100
38100
  pl: 20,
38101
38101
  children: /* @__PURE__ */ l(bW, {
@@ -38104,7 +38104,7 @@ const kW = ne(() => /* @__PURE__ */ l(q, {
38104
38104
  }) : TW(t) ? /* @__PURE__ */ l(G8, {
38105
38105
  viewID: t[1],
38106
38106
  panelID: t[3]
38107
- }) : /* @__PURE__ */ l(ke, {
38107
+ }) : /* @__PURE__ */ l(Me, {
38108
38108
  children: e.path
38109
38109
  });
38110
38110
  }), OW = ne(() => (Ge().editor, /* @__PURE__ */ l(MW, {}))), RW = ne(() => {
@@ -38281,7 +38281,7 @@ const kW = ne(() => /* @__PURE__ */ l(q, {
38281
38281
  }, e.label);
38282
38282
  }), $W = ne(() => {
38283
38283
  const e = Ge();
38284
- return /* @__PURE__ */ l(ke, {
38284
+ return /* @__PURE__ */ l(Me, {
38285
38285
  sx: {
38286
38286
  position: "relative"
38287
38287
  },
@@ -38451,7 +38451,7 @@ const kW = ne(() => /* @__PURE__ */ l(q, {
38451
38451
  }),
38452
38452
  navbar: /* @__PURE__ */ l(t8, {}),
38453
38453
  styles: FW,
38454
- children: /* @__PURE__ */ l(ke, {
38454
+ children: /* @__PURE__ */ l(Me, {
38455
38455
  className: `${o} dashboard-root`,
38456
38456
  sx: {
38457
38457
  position: "relative"
@@ -38499,7 +38499,7 @@ const DG = ne(({
38499
38499
  freezeLayout: ve.noop,
38500
38500
  inEditMode: !1
38501
38501
  },
38502
- children: /* @__PURE__ */ l(ke, {
38502
+ children: /* @__PURE__ */ l(Me, {
38503
38503
  className: `${n} dashboard-root`,
38504
38504
  children: /* @__PURE__ */ l(pr.Provider, {
38505
38505
  value: c,