@devtable/dashboard 8.41.0 → 8.41.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.
@@ -1,13 +1,13 @@
1
1
  var Cw = Object.defineProperty;
2
2
  var Ew = (e, t, n) => t in e ? Cw(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Ie = (e, t, n) => (Ew(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { Box as xe, Text as K, Button as ie, Checkbox as Lt, Group as F, Tooltip as Xt, MultiSelect as Ma, Select as ve, TextInput as fe, createStyles as Oa, Stack as W, Badge as As, CloseButton as kw, Modal as tn, ActionIcon as Be, Menu as kr, Divider as pe, Switch as An, NumberInput as ht, useMantineTheme as im, ColorInput as ju, ColorSwatch as Hc, Slider as Tw, Overlay as Lo, Tabs as I, Center as bi, CheckIcon as Mw, MANTINE_SIZES as Ow, SimpleGrid as ti, SegmentedControl as Rw, Textarea as Dw, Collapse as Ku, Table as zo, Accordion as xo, Popover as Xl, LoadingOverlay as Ra, Flex as Da, Paper as Wu, Code as Bf, Alert as Aw, Header as $w, ThemeIcon as Ql, HoverCard as Zl, List as jf, UnstyledButton as Pw, Navbar as Pr, JsonInput as am, Radio as Kf, Skeleton as Wf, NavLink as Bc, Anchor as Gf, AppShell as sm } from "@mantine/core";
4
+ import { Box as xe, Text as K, Button as ie, Checkbox as Lt, Group as F, Tooltip as Xt, MultiSelect as Ma, Select as ve, TextInput as fe, createStyles as Oa, Stack as W, Badge as As, CloseButton as kw, Modal as tn, ActionIcon as Be, Menu as Tr, Divider as pe, Switch as An, NumberInput as ht, useMantineTheme as im, ColorInput as ju, ColorSwatch as Hc, Slider as Tw, Overlay as Lo, Tabs as I, Center as bi, CheckIcon as Mw, MANTINE_SIZES as Ow, SimpleGrid as ti, SegmentedControl as Rw, Textarea as Dw, Collapse as Ku, Table as zo, Accordion as xo, Popover as Xl, LoadingOverlay as Ra, Flex as Da, Paper as Wu, Code as Bf, Alert as Aw, Header as $w, ThemeIcon as Ql, HoverCard as Zl, List as jf, UnstyledButton as Pw, Navbar as Nr, JsonInput as am, Radio as Kf, Skeleton as Wf, NavLink as Bc, Anchor as Gf, AppShell as sm } from "@mantine/core";
5
5
  import { useModals as go, ModalsProvider as lm } from "@mantine/modals";
6
6
  import { useCreation as sr, usePrevious as Nw, useBoolean as Vn, useLatest as qf, useRequest as Aa, useAsyncEffect as $a } from "ahooks";
7
7
  import { observer as J } from "mobx-react-lite";
8
8
  import * as C from "react";
9
- import ee, { useEffect as ue, createContext as Vo, useMemo as Y, forwardRef as Ht, createElement as mo, useRef as Ee, useState as ze, useCallback as dt, useImperativeHandle as Iw, useLayoutEffect as Lw, useContext as wn, useDebugValue as zw, memo as Vt } from "react";
10
- import q, { template as Gu, cloneDeepWith as Vw, get as xt, isFunction as Fw, omit as Ao, values as cm, unset as Hw, isObject as um, set as qu, orderBy as Bw, last as dm, defaults as en, minBy as jw, maxBy as Kw, cloneDeep as vn, isEqual as Kt, defaultsDeep as Qt, keyBy as fm, merge as Ww, isEmpty as Uu, isNumber as Gw, findLastIndex as qw, isString as hm, range as Uw, throttle as Yw, pick as pm } from "lodash";
9
+ import ee, { useEffect as ue, createContext as Vo, useMemo as Y, forwardRef as Bt, createElement as mo, useRef as Ee, useState as ze, useCallback as dt, useImperativeHandle as Iw, useLayoutEffect as Lw, useContext as wn, useDebugValue as zw, memo as Vt } from "react";
10
+ import q, { template as Gu, cloneDeepWith as Vw, get as vt, isFunction as Fw, omit as Ao, values as cm, unset as Hw, isObject as um, set as qu, orderBy as Bw, last as dm, defaults as en, minBy as jw, maxBy as Kw, cloneDeep as vn, isEqual as Ht, defaultsDeep as Qt, keyBy as fm, merge as Ww, isEmpty as Uu, isNumber as Gw, findLastIndex as qw, isString as hm, range as Uw, throttle as Yw, pick as pm } from "lodash";
11
11
  import { useForm as cn, useWatch as Xw, Controller as D, useFieldArray as hn } from "react-hook-form";
12
12
  import { Link as gm, RichTextEditor as mt } from "@mantine/tiptap";
13
13
  import { Mark as Pa, mergeAttributes as Na, getMarkAttributes as Qw, Extension as Yu, markInputRule as Zw, markPasteRule as Jw } from "@tiptap/core";
@@ -41,7 +41,7 @@ import * as ro from "d3-regression";
41
41
  import { useVirtual as w_ } from "react-virtual";
42
42
  import Mo from "axios";
43
43
  import Tm from "crypto-js";
44
- import { types as R, getParent as vo, getRoot as Tn, cast as _i, addDisposer as da, addMiddleware as __, getType as S_, flow as Ji, toGenerator as ea, detach as C_, clone as E_, getSnapshot as Nr, applySnapshot as Eo, getParentOfType as Yf, castToSnapshot as Mm } from "mobx-state-tree";
44
+ import { types as R, getParent as vo, getRoot as Tn, cast as _i, addDisposer as da, addMiddleware as __, getType as S_, flow as Ji, toGenerator as ea, detach as C_, clone as E_, getSnapshot as pr, applySnapshot as Eo, getParentOfType as Yf, castToSnapshot as Mm } from "mobx-state-tree";
45
45
  import k_ from "jszip";
46
46
  function Om(e, t) {
47
47
  ue(() => {
@@ -121,7 +121,7 @@ class T_ {
121
121
  this.symbol = Symbol(t);
122
122
  }
123
123
  }
124
- function Tr(e) {
124
+ function Mr(e) {
125
125
  return new T_(e);
126
126
  }
127
127
  class Ju {
@@ -156,7 +156,7 @@ class Ju {
156
156
  }
157
157
  dispose() {
158
158
  this.instanceRegistry.forEach((t) => {
159
- const n = xt(t, "dispose");
159
+ const n = vt(t, "dispose");
160
160
  Fw(n) && n.bind(t)();
161
161
  }), this.instanceRegistry.clear(), this.factoryRegistry.clear();
162
162
  }
@@ -535,8 +535,8 @@ function R_() {
535
535
  ref: !0,
536
536
  __self: !0,
537
537
  __source: !0
538
- }, pt, tt, yt;
539
- yt = {};
538
+ }, pt, tt, bt;
539
+ bt = {};
540
540
  function De(z) {
541
541
  if (Me.call(z, "ref")) {
542
542
  var re = Object.getOwnPropertyDescriptor(z, "ref").get;
@@ -556,10 +556,10 @@ function R_() {
556
556
  function ct(z, re) {
557
557
  if (typeof z.ref == "string" && qe.current && re && qe.current.stateNode !== re) {
558
558
  var ne = V(qe.current.type);
559
- yt[ne] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(qe.current.type), z.ref), yt[ne] = !0);
559
+ bt[ne] || (w('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(qe.current.type), z.ref), bt[ne] = !0);
560
560
  }
561
561
  }
562
- function Bt(z, re) {
562
+ function jt(z, re) {
563
563
  {
564
564
  var ne = function() {
565
565
  pt || (pt = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", re));
@@ -570,7 +570,7 @@ function R_() {
570
570
  });
571
571
  }
572
572
  }
573
- function bt(z, re) {
573
+ function xt(z, re) {
574
574
  {
575
575
  var ne = function() {
576
576
  tt || (tt = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", re));
@@ -620,7 +620,7 @@ function R_() {
620
620
  }
621
621
  if (Ve || Ze) {
622
622
  var ot = typeof z == "function" ? z.displayName || z.name || "Unknown" : z;
623
- Ve && Bt(We, ot), Ze && bt(We, ot);
623
+ Ve && jt(We, ot), Ze && xt(We, ot);
624
624
  }
625
625
  return qt(z, Ve, Ze, Ce, be, qe.current, We);
626
626
  }
@@ -1528,7 +1528,7 @@ function PS() {
1528
1528
  throw new Error("Please use FullScreenPanelContext.Provider");
1529
1529
  return e;
1530
1530
  }
1531
- const Ym = Ht(({
1531
+ const Ym = Bt(({
1532
1532
  label: e,
1533
1533
  description: t,
1534
1534
  ...n
@@ -2072,7 +2072,7 @@ function oC(e, t) {
2072
2072
  function rv(e, t, n) {
2073
2073
  !t && !oh[n] && (e(!1, n), oh[n] = !0);
2074
2074
  }
2075
- function vt(e, t) {
2075
+ function yt(e, t) {
2076
2076
  rv($s, e, t);
2077
2077
  }
2078
2078
  function ih(e, t) {
@@ -2721,7 +2721,7 @@ function wC() {
2721
2721
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2722
2722
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2723
2723
  }
2724
- function Dr(e, t) {
2724
+ function Ar(e, t) {
2725
2725
  return yC(e) || bC(e, t) || xC(e, t) || wC();
2726
2726
  }
2727
2727
  function _C(e, t) {
@@ -3320,7 +3320,7 @@ ln.cancel = function(e) {
3320
3320
  return wv(t), xv(t);
3321
3321
  };
3322
3322
  function r1() {
3323
- var e = ao({}), t = Dr(e, 2), n = t[1], r = Ee([]), o = 0, i = 0;
3323
+ var e = ao({}), t = Ar(e, 2), n = t[1], r = Ee([]), o = 0, i = 0;
3324
3324
  function a(l) {
3325
3325
  var c = o;
3326
3326
  o += 1, r.current.length < c + 1 && (r.current[c] = l);
@@ -3360,14 +3360,14 @@ function c1(e) {
3360
3360
  return "+ ".concat(e.length, " ...");
3361
3361
  }
3362
3362
  function u1(e, t) {
3363
- var n = e.prefixCls, r = n === void 0 ? "rc-overflow" : n, o = e.data, i = o === void 0 ? [] : o, a = e.renderItem, l = e.renderRawItem, c = e.itemKey, u = e.itemWidth, d = u === void 0 ? 10 : u, h = e.ssr, f = e.style, p = e.className, g = e.maxCount, m = e.renderRest, b = e.renderRawRest, y = e.suffix, w = e.component, _ = w === void 0 ? "div" : w, x = e.itemComponent, S = e.onVisibleChange, k = ta(e, l1), O = r1(), L = h === "full", H = O(null), A = Dr(H, 2), T = A[0], P = A[1], V = T || 0, E = O(/* @__PURE__ */ new Map()), N = Dr(E, 2), $ = N[0], M = N[1], B = O(0), j = Dr(B, 2), G = j[0], U = j[1], oe = O(0), ae = Dr(oe, 2), Q = ae[0], te = ae[1], me = O(0), ge = Dr(me, 2), he = ge[0], de = ge[1], Oe = ze(null), Te = Dr(Oe, 2), Z = Te[0], se = Te[1], Re = ze(null), X = Dr(Re, 2), Me = X[0], _e = X[1], $e = C.useMemo(function() {
3363
+ var n = e.prefixCls, r = n === void 0 ? "rc-overflow" : n, o = e.data, i = o === void 0 ? [] : o, a = e.renderItem, l = e.renderRawItem, c = e.itemKey, u = e.itemWidth, d = u === void 0 ? 10 : u, h = e.ssr, f = e.style, p = e.className, g = e.maxCount, m = e.renderRest, b = e.renderRawRest, y = e.suffix, w = e.component, _ = w === void 0 ? "div" : w, x = e.itemComponent, S = e.onVisibleChange, k = ta(e, l1), O = r1(), L = h === "full", H = O(null), A = Ar(H, 2), T = A[0], P = A[1], V = T || 0, E = O(/* @__PURE__ */ new Map()), N = Ar(E, 2), $ = N[0], M = N[1], B = O(0), j = Ar(B, 2), G = j[0], U = j[1], oe = O(0), ae = Ar(oe, 2), Q = ae[0], te = ae[1], me = O(0), ge = Ar(me, 2), he = ge[0], de = ge[1], Oe = ze(null), Te = Ar(Oe, 2), Z = Te[0], se = Te[1], Re = ze(null), X = Ar(Re, 2), Me = X[0], _e = X[1], $e = C.useMemo(function() {
3364
3364
  return Me === null && L ? Number.MAX_SAFE_INTEGER : Me || 0;
3365
- }, [Me, T]), Le = ze(!1), we = Dr(Le, 2), et = we[0], je = we[1], at = "".concat(r, "-item"), Pe = Math.max(G, Q), Xe = g === Sv, Ge = i.length && Xe, qe = g === Cv, wt = Ge || typeof g == "number" && i.length > g, pt = Y(function() {
3365
+ }, [Me, T]), Le = ze(!1), we = Ar(Le, 2), et = we[0], je = we[1], at = "".concat(r, "-item"), Pe = Math.max(G, Q), Xe = g === Sv, Ge = i.length && Xe, qe = g === Cv, wt = Ge || typeof g == "number" && i.length > g, pt = Y(function() {
3366
3366
  var le = i;
3367
3367
  return Ge ? T === null && L ? le = i : le = i.slice(0, Math.min(i.length, V / d)) : typeof g == "number" && (le = i.slice(0, g)), le;
3368
3368
  }, [i, d, T, g, Ge]), tt = Y(function() {
3369
3369
  return Ge ? i.slice($e + 1) : i.slice(pt.length);
3370
- }, [i, pt, Ge, $e]), yt = dt(function(le, ye) {
3370
+ }, [i, pt, Ge, $e]), bt = dt(function(le, ye) {
3371
3371
  var Se;
3372
3372
  return typeof c == "function" ? c(le) : (Se = c && (le == null ? void 0 : le[c])) !== null && Se !== void 0 ? Se : ye;
3373
3373
  }, [c]), De = dt(a || function(le) {
@@ -3379,20 +3379,20 @@ function u1(e, t) {
3379
3379
  function ct(le, ye) {
3380
3380
  P(ye.clientWidth);
3381
3381
  }
3382
- function Bt(le, ye) {
3382
+ function jt(le, ye) {
3383
3383
  M(function(Se) {
3384
3384
  var Fe = new Map(Se);
3385
3385
  return ye === null ? Fe.delete(le) : Fe.set(le, ye), Fe;
3386
3386
  });
3387
3387
  }
3388
- function bt(le, ye) {
3388
+ function xt(le, ye) {
3389
3389
  te(ye), U(Q);
3390
3390
  }
3391
3391
  function qt(le, ye) {
3392
3392
  de(ye);
3393
3393
  }
3394
3394
  function St(le) {
3395
- return $.get(yt(pt[le], le));
3395
+ return $.get(bt(pt[le], le));
3396
3396
  }
3397
3397
  Fr(function() {
3398
3398
  if (V && Pe && pt) {
@@ -3417,7 +3417,7 @@ function u1(e, t) {
3417
3417
  }
3418
3418
  y && St(0) + he > V && se(null);
3419
3419
  }
3420
- }, [V, $, Q, he, yt, pt]);
3420
+ }, [V, $, Q, he, bt, pt]);
3421
3421
  var dn = et && !!tt.length, Ut = {};
3422
3422
  Z !== null && Ge && (Ut = {
3423
3423
  position: "absolute",
@@ -3430,19 +3430,19 @@ function u1(e, t) {
3430
3430
  component: x,
3431
3431
  invalidate: qe
3432
3432
  }, Ft = l ? function(le, ye) {
3433
- var Se = yt(le, ye);
3433
+ var Se = bt(le, ye);
3434
3434
  return /* @__PURE__ */ s(Ls.Provider, {
3435
3435
  value: Xo(Xo({}, Dt), {}, {
3436
3436
  order: ye,
3437
3437
  item: le,
3438
3438
  itemKey: Se,
3439
- registerSize: Bt,
3439
+ registerSize: jt,
3440
3440
  display: ye <= $e
3441
3441
  }),
3442
3442
  children: l(le, ye)
3443
3443
  }, Se);
3444
3444
  } : function(le, ye) {
3445
- var Se = yt(le, ye);
3445
+ var Se = bt(le, ye);
3446
3446
  return /* @__PURE__ */ mo(na, {
3447
3447
  ...Dt,
3448
3448
  order: ye,
@@ -3450,13 +3450,13 @@ function u1(e, t) {
3450
3450
  item: le,
3451
3451
  renderItem: De,
3452
3452
  itemKey: Se,
3453
- registerSize: Bt,
3453
+ registerSize: jt,
3454
3454
  display: ye <= $e
3455
3455
  });
3456
3456
  }, pn, Et = {
3457
3457
  order: dn ? $e : Number.MAX_SAFE_INTEGER,
3458
3458
  className: "".concat(at, "-rest"),
3459
- registerSize: bt,
3459
+ registerSize: xt,
3460
3460
  display: dn
3461
3461
  };
3462
3462
  if (b)
@@ -3941,7 +3941,7 @@ function Gi(e, t, n, r) {
3941
3941
  }
3942
3942
  };
3943
3943
  }
3944
- var T1 = /* @__PURE__ */ Ht(function(e, t) {
3944
+ var T1 = /* @__PURE__ */ Bt(function(e, t) {
3945
3945
  var n = e.didUpdate, r = e.getContainer, o = e.children, i = Ee(), a = Ee();
3946
3946
  Iw(t, function() {
3947
3947
  return {};
@@ -4137,7 +4137,7 @@ function Eh(e, t) {
4137
4137
  }
4138
4138
  return "".concat(e, "-").concat(t);
4139
4139
  }
4140
- var Uo = "none", es = "appear", ts = "enter", ns = "leave", kh = "none", Ar = "prepare", Qo = "start", Zo = "active", dd = "end";
4140
+ var Uo = "none", es = "appear", ts = "enter", ns = "leave", kh = "none", $r = "prepare", Qo = "start", Zo = "active", dd = "end";
4141
4141
  const B1 = function() {
4142
4142
  var e = C.useRef(null);
4143
4143
  function t() {
@@ -4161,14 +4161,14 @@ const B1 = function() {
4161
4161
  };
4162
4162
  }, []), [n, t];
4163
4163
  };
4164
- var Av = Ei() ? Lw : ue, Th = [Ar, Qo, Zo, dd], $v = !1, j1 = !0;
4164
+ var Av = Ei() ? Lw : ue, Th = [$r, Qo, Zo, dd], $v = !1, j1 = !0;
4165
4165
  function Pv(e) {
4166
4166
  return e === Zo || e === dd;
4167
4167
  }
4168
4168
  const K1 = function(e, t) {
4169
4169
  var n = ao(kh), r = eo(n, 2), o = r[0], i = r[1], a = B1(), l = eo(a, 2), c = l[0], u = l[1];
4170
4170
  function d() {
4171
- i(Ar, !0);
4171
+ i($r, !0);
4172
4172
  }
4173
4173
  return Av(function() {
4174
4174
  if (o !== kh && o !== dd) {
@@ -4220,17 +4220,17 @@ function G1(e, t, n, r) {
4220
4220
  var _e, $e, Le;
4221
4221
  switch (N) {
4222
4222
  case es:
4223
- return _e = {}, qn(_e, Ar, f), qn(_e, Qo, m), qn(_e, Zo, w), _e;
4223
+ return _e = {}, qn(_e, $r, f), qn(_e, Qo, m), qn(_e, Zo, w), _e;
4224
4224
  case ts:
4225
- return $e = {}, qn($e, Ar, p), qn($e, Qo, b), qn($e, Zo, _), $e;
4225
+ return $e = {}, qn($e, $r, p), qn($e, Qo, b), qn($e, Zo, _), $e;
4226
4226
  case ns:
4227
- return Le = {}, qn(Le, Ar, g), qn(Le, Qo, y), qn(Le, Zo, x), Le;
4227
+ return Le = {}, qn(Le, $r, g), qn(Le, Qo, y), qn(Le, Zo, x), Le;
4228
4228
  default:
4229
4229
  return {};
4230
4230
  }
4231
4231
  }, [N]), Oe = K1(N, function(_e) {
4232
- if (_e === Ar) {
4233
- var $e = de[Ar];
4232
+ if (_e === $r) {
4233
+ var $e = de[$r];
4234
4234
  return $e ? $e(ae()) : $v;
4235
4235
  }
4236
4236
  if (se in de) {
@@ -4262,7 +4262,7 @@ function G1(e, t, n, r) {
4262
4262
  T && (X.current = !0), T !== void 0 && N === Uo && ((X.current || T) && (L == null || L(T)), X.current = !0);
4263
4263
  }, [T, N]);
4264
4264
  var Me = j;
4265
- return de[Ar] && se === Qo && (Me = hr({
4265
+ return de[$r] && se === Qo && (Me = hr({
4266
4266
  transition: "none"
4267
4267
  }, Me)), [N, se, Me, T != null ? T : t];
4268
4268
  }
@@ -4387,7 +4387,7 @@ function tE(e) {
4387
4387
  }), A) : T = null;
4388
4388
  else {
4389
4389
  var V, E;
4390
- k === Ar ? E = "prepare" : Pv(k) ? E = "active" : k === Qo && (E = "start"), T = h(hr(hr({}, P), {}, {
4390
+ k === $r ? E = "prepare" : Pv(k) ? E = "active" : k === Qo && (E = "start"), T = h(hr(hr({}, P), {}, {
4391
4391
  className: Mt(Eh(f, S), (V = {}, qn(V, Eh(f, "".concat(S, "-").concat(E)), E), qn(V, f, typeof f == "string"), V)),
4392
4392
  style: O
4393
4393
  }), A);
@@ -4757,7 +4757,7 @@ function qi(e, t, n) {
4757
4757
  }
4758
4758
  return r;
4759
4759
  }
4760
- var gr = {
4760
+ var mr = {
4761
4761
  getParent: function(t) {
4762
4762
  var n = t;
4763
4763
  do
@@ -4767,14 +4767,14 @@ var gr = {
4767
4767
  }
4768
4768
  };
4769
4769
  hd(["Width", "Height"], function(e) {
4770
- gr["doc".concat(e)] = function(t) {
4770
+ mr["doc".concat(e)] = function(t) {
4771
4771
  var n = t.document;
4772
4772
  return Math.max(
4773
4773
  n.documentElement["scroll".concat(e)],
4774
4774
  n.body["scroll".concat(e)],
4775
- gr["viewport".concat(e)](n)
4775
+ mr["viewport".concat(e)](n)
4776
4776
  );
4777
- }, gr["viewport".concat(e)] = function(t) {
4777
+ }, mr["viewport".concat(e)] = function(t) {
4778
4778
  var n = "client".concat(e), r = t.document, o = r.body, i = r.documentElement, a = i[n];
4779
4779
  return r.compatMode === "CSS1Compat" && a || o && o[n] || a;
4780
4780
  };
@@ -4782,9 +4782,9 @@ hd(["Width", "Height"], function(e) {
4782
4782
  function Ih(e, t, n) {
4783
4783
  var r = n;
4784
4784
  if (fd(e))
4785
- return t === "width" ? gr.viewportWidth(e) : gr.viewportHeight(e);
4785
+ return t === "width" ? mr.viewportWidth(e) : mr.viewportHeight(e);
4786
4786
  if (e.nodeType === 9)
4787
- return t === "width" ? gr.docWidth(e) : gr.docHeight(e);
4787
+ return t === "width" ? mr.docWidth(e) : mr.docHeight(e);
4788
4788
  var o = t === "width" ? ["Left", "Right"] : ["Top", "Bottom"], i = Math.floor(t === "width" ? e.getBoundingClientRect().width : e.getBoundingClientRect().height), a = Bv(e), l = 0;
4789
4789
  (i == null || i <= 0) && (i = void 0, l = Ba(e, t), (l == null || Number(l) < 0) && (l = e.style[t] || 0), l = Math.floor(parseFloat(l)) || 0), r === void 0 && (r = a ? eu : Jc);
4790
4790
  var c = i !== void 0 || a, u = i || l;
@@ -4805,11 +4805,11 @@ function Lh() {
4805
4805
  }
4806
4806
  hd(["width", "height"], function(e) {
4807
4807
  var t = e.charAt(0).toUpperCase() + e.slice(1);
4808
- gr["outer".concat(t)] = function(r, o) {
4808
+ mr["outer".concat(t)] = function(r, o) {
4809
4809
  return r && Lh(r, e, o ? kE : eu);
4810
4810
  };
4811
4811
  var n = e === "width" ? ["Left", "Right"] : ["Top", "Bottom"];
4812
- gr[e] = function(r, o) {
4812
+ mr[e] = function(r, o) {
4813
4813
  var i = o;
4814
4814
  if (i !== void 0) {
4815
4815
  if (r) {
@@ -4868,7 +4868,7 @@ var Je = {
4868
4868
  viewportWidth: 0,
4869
4869
  viewportHeight: 0
4870
4870
  };
4871
- jv(Je, gr);
4871
+ jv(Je, mr);
4872
4872
  var ic = Je.getParent;
4873
4873
  function tu(e) {
4874
4874
  if (Je.isWindow(e) || e.nodeType === 9)
@@ -6739,7 +6739,7 @@ function cu(e) {
6739
6739
  var t = Jt({}, e);
6740
6740
  return "props" in t || Object.defineProperty(t, "props", {
6741
6741
  get: function() {
6742
- return vt(!1, "Return type is option instead of Option instance. Please read value directly instead of reading from `props`."), t;
6742
+ return yt(!1, "Return type is option instead of Option instance. Please read value directly instead of reading from `props`."), t;
6743
6743
  }
6744
6744
  }), t;
6745
6745
  }
@@ -6776,7 +6776,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6776
6776
  C.useEffect(function() {
6777
6777
  Xe(iv());
6778
6778
  }, []);
6779
- var Ge = C.useRef(null), qe = C.useRef(null), wt = C.useRef(null), pt = C.useRef(null), tt = C.useRef(null), yt = lC(), De = sn(yt, 3), Ke = De[0], ct = De[1], Bt = De[2];
6779
+ var Ge = C.useRef(null), qe = C.useRef(null), wt = C.useRef(null), pt = C.useRef(null), tt = C.useRef(null), bt = lC(), De = sn(bt, 3), Ke = De[0], ct = De[1], jt = De[2];
6780
6780
  C.useImperativeHandle(t, function() {
6781
6781
  var it, Qe;
6782
6782
  return {
@@ -6788,7 +6788,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6788
6788
  }
6789
6789
  };
6790
6790
  });
6791
- var bt = C.useMemo(function() {
6791
+ var xt = C.useMemo(function() {
6792
6792
  var it;
6793
6793
  if (y !== "combobox")
6794
6794
  return P;
@@ -6812,7 +6812,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6812
6812
  var rn = !0, Bn = Qe;
6813
6813
  A == null || A(null);
6814
6814
  var tr = Ln ? null : ED(Qe, $);
6815
- return y !== "combobox" && tr && (Bn = "", N == null || N(tr), le(!1), rn = !1), E && bt !== Bn && E(Bn, {
6815
+ return y !== "combobox" && tr && (Bn = "", N == null || N(tr), le(!1), rn = !1), E && xt !== Bn && E(Bn, {
6816
6816
  source: En ? "typing" : "effect"
6817
6817
  }), rn;
6818
6818
  }, Fe = function(Qe) {
@@ -6827,7 +6827,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6827
6827
  }, [w]);
6828
6828
  var st = cv(), Ct = sn(st, 2), gn = Ct[0], mn = Ct[1], In = function(Qe) {
6829
6829
  var En = gn(), Ln = Qe.which;
6830
- if (Ln === ce.ENTER && (y !== "combobox" && Qe.preventDefault(), Et || le(!0)), mn(!!bt), Ln === ce.BACKSPACE && !En && Le && !bt && h.length) {
6830
+ if (Ln === ce.ENTER && (y !== "combobox" && Qe.preventDefault(), Et || le(!0)), mn(!!xt), Ln === ce.BACKSPACE && !En && Le && !xt && h.length) {
6831
6831
  for (var rn = Un(h), Bn = null, tr = rn.length - 1; tr >= 0; tr -= 1) {
6832
6832
  var Ni = rn[tr];
6833
6833
  if (!Ni.disabled) {
@@ -6868,7 +6868,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6868
6868
  }, be = function() {
6869
6869
  ct(!1, function() {
6870
6870
  re.current = !1, le(!1);
6871
- }), !w && (bt && (y === "tags" ? E(bt, {
6871
+ }), !w && (xt && (y === "tags" ? E(xt, {
6872
6872
  source: "submit"
6873
6873
  }) : y === "multiple" && E("", {
6874
6874
  source: "blur"
@@ -6886,7 +6886,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6886
6886
  if (rn && rn.contains(Ln)) {
6887
6887
  var Bn = setTimeout(function() {
6888
6888
  var Bo = Ce.indexOf(Bn);
6889
- if (Bo !== -1 && Ce.splice(Bo, 1), Bt(), !Pe && !rn.contains(document.activeElement)) {
6889
+ if (Bo !== -1 && Ce.splice(Bo, 1), jt(), !Pe && !rn.contains(document.activeElement)) {
6890
6890
  var Ur;
6891
6891
  (Ur = pt.current) === null || Ur === void 0 || Ur.focus();
6892
6892
  }
@@ -6923,13 +6923,13 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6923
6923
  multiple: Le,
6924
6924
  toggleOpen: le
6925
6925
  });
6926
- }, [e, m, nn, Et, o, we, Le, le]), Er = B !== void 0 ? B : _ || !Le && y !== "combobox", Rn;
6927
- Er && (Rn = /* @__PURE__ */ s(zs, {
6926
+ }, [e, m, nn, Et, o, we, Le, le]), kr = B !== void 0 ? B : _ || !Le && y !== "combobox", Rn;
6927
+ kr && (Rn = /* @__PURE__ */ s(zs, {
6928
6928
  className: Mt("".concat(i, "-arrow"), Zt({}, "".concat(i, "-arrow-loading"), _)),
6929
6929
  customizeIcon: j,
6930
6930
  customizeIconProps: {
6931
6931
  loading: _,
6932
- searchValue: bt,
6932
+ searchValue: xt,
6933
6933
  open: Et,
6934
6934
  focused: Ke,
6935
6935
  showSearch: we
@@ -6942,7 +6942,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6942
6942
  values: h
6943
6943
  }), Se("", !1, !1);
6944
6944
  };
6945
- !w && M && (h.length || bt) && !(y === "combobox" && bt === "") && (Dn = /* @__PURE__ */ s(zs, {
6945
+ !w && M && (h.length || xt) && !(y === "combobox" && xt === "") && (Dn = /* @__PURE__ */ s(zs, {
6946
6946
  className: "".concat(i, "-clear"),
6947
6947
  onMouseDown: ww,
6948
6948
  customizeIcon: G,
@@ -6950,7 +6950,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6950
6950
  }));
6951
6951
  var _w = /* @__PURE__ */ s(U, {
6952
6952
  ref: tt
6953
- }), Sw = Mt(i, a, (r = {}, Zt(r, "".concat(i, "-focused"), Ke), Zt(r, "".concat(i, "-multiple"), Le), Zt(r, "".concat(i, "-single"), !Le), Zt(r, "".concat(i, "-allow-clear"), M), Zt(r, "".concat(i, "-show-arrow"), Er), Zt(r, "".concat(i, "-disabled"), w), Zt(r, "".concat(i, "-loading"), _), Zt(r, "".concat(i, "-open"), Et), Zt(r, "".concat(i, "-customize-input"), qt), Zt(r, "".concat(i, "-show-search"), we), r)), Ff = /* @__PURE__ */ s(ly, {
6953
+ }), Sw = Mt(i, a, (r = {}, Zt(r, "".concat(i, "-focused"), Ke), Zt(r, "".concat(i, "-multiple"), Le), Zt(r, "".concat(i, "-single"), !Le), Zt(r, "".concat(i, "-allow-clear"), M), Zt(r, "".concat(i, "-show-arrow"), kr), Zt(r, "".concat(i, "-disabled"), w), Zt(r, "".concat(i, "-loading"), _), Zt(r, "".concat(i, "-open"), Et), Zt(r, "".concat(i, "-customize-input"), qt), Zt(r, "".concat(i, "-show-search"), we), r)), Ff = /* @__PURE__ */ s(ly, {
6954
6954
  ref: wt,
6955
6955
  disabled: w,
6956
6956
  prefixCls: i,
@@ -6991,7 +6991,7 @@ var xd = /* @__PURE__ */ C.forwardRef(function(e, t) {
6991
6991
  open: Et,
6992
6992
  onToggleOpen: le,
6993
6993
  activeValue: H,
6994
- searchValue: bt,
6994
+ searchValue: xt,
6995
6995
  onSearch: Se,
6996
6996
  onSearchSubmit: Fe,
6997
6997
  onRemove: z,
@@ -7725,8 +7725,8 @@ function uA(e, t) {
7725
7725
  L(function(Ke) {
7726
7726
  var ct;
7727
7727
  typeof De == "function" ? ct = De(Ke) : ct = De;
7728
- var Bt = Le(ct);
7729
- return N.current.scrollTop = Bt, Bt;
7728
+ var jt = Le(ct);
7729
+ return N.current.scrollTop = jt, jt;
7730
7730
  });
7731
7731
  }
7732
7732
  var U = Ee({
@@ -7751,15 +7751,15 @@ function uA(e, t) {
7751
7751
  offset: void 0
7752
7752
  };
7753
7753
  }
7754
- for (var Ke = 0, ct, Bt, bt, qt = E.length, St = 0; St < qt; St += 1) {
7754
+ for (var Ke = 0, ct, jt, xt, qt = E.length, St = 0; St < qt; St += 1) {
7755
7755
  var dn = E[St], Ut = B(dn), Dt = Oe.get(Ut), Ft = Ke + (Dt === void 0 ? a : Dt);
7756
- Ft >= O && ct === void 0 && (ct = St, Bt = Ke), Ft > O + i && bt === void 0 && (bt = St), Ke = Ft;
7756
+ Ft >= O && ct === void 0 && (ct = St, jt = Ke), Ft > O + i && xt === void 0 && (xt = St), Ke = Ft;
7757
7757
  }
7758
- return ct === void 0 && (ct = 0, Bt = 0, bt = Math.ceil(i / a)), bt === void 0 && (bt = E.length - 1), bt = Math.min(bt + 1, E.length), {
7758
+ return ct === void 0 && (ct = 0, jt = 0, xt = Math.ceil(i / a)), xt === void 0 && (xt = E.length - 1), xt = Math.min(xt + 1, E.length), {
7759
7759
  scrollHeight: Ke,
7760
7760
  start: ct,
7761
- end: bt,
7762
- offset: Bt
7761
+ end: xt,
7762
+ offset: jt
7763
7763
  };
7764
7764
  }, [x, _, O, E, Te, i]), se = Z.scrollHeight, Re = Z.start, X = Z.end, Me = Z.offset;
7765
7765
  U.current.start = Re, U.current.end = X;
@@ -7812,8 +7812,8 @@ function uA(e, t) {
7812
7812
  y(De, E);
7813
7813
  }
7814
7814
  }, [Re, X, E]);
7815
- var tt = QD(E, Re, X, he, h, j), yt = null;
7816
- return i && (yt = ra(va({}, c ? "height" : "maxHeight", i), cA), _ && (yt.overflowY = "hidden", T && (yt.pointerEvents = "none"))), /* @__PURE__ */ v("div", {
7815
+ var tt = QD(E, Re, X, he, h, j), bt = null;
7816
+ return i && (bt = ra(va({}, c ? "height" : "maxHeight", i), cA), _ && (bt.overflowY = "hidden", T && (bt.pointerEvents = "none"))), /* @__PURE__ */ v("div", {
7817
7817
  style: ra(ra({}, u), {}, {
7818
7818
  position: "relative"
7819
7819
  }),
@@ -7821,7 +7821,7 @@ function uA(e, t) {
7821
7821
  ...w,
7822
7822
  children: [/* @__PURE__ */ s(m, {
7823
7823
  className: "".concat(r, "-holder"),
7824
- style: yt,
7824
+ style: bt,
7825
7825
  ref: N,
7826
7826
  onScroll: Pe,
7827
7827
  children: /* @__PURE__ */ s(gy, {
@@ -8040,7 +8040,7 @@ var hA = function(t, n) {
8040
8040
  xy.displayName = "OptionList";
8041
8041
  function pA(e) {
8042
8042
  var t = e.mode, n = e.options, r = e.children, o = e.backfill, i = e.allowClear, a = e.placeholder, l = e.getInputElement, c = e.showSearch, u = e.onSearch, d = e.defaultOpen, h = e.autoFocus, f = e.labelInValue, p = e.value, g = e.inputValue, m = e.optionLabelProp, b = Ks(t), y = c !== void 0 ? c : b || t === "combobox", w = n || wd(r);
8043
- if (vt(t !== "tags" || w.every(function(k) {
8043
+ if (yt(t !== "tags" || w.every(function(k) {
8044
8044
  return !k.disabled;
8045
8045
  }), "Please avoid setting option to disabled in tags mode since user can always type text as tag."), t === "tags" || t === "combobox") {
8046
8046
  var _ = w.some(function(k) {
@@ -8048,13 +8048,13 @@ function pA(e) {
8048
8048
  return typeof ("value" in O ? O.value : O.key) == "number";
8049
8049
  }) : typeof ("value" in k ? k.value : k.key) == "number";
8050
8050
  });
8051
- vt(!_, "`value` of Option should not use number type when `mode` is `tags` or `combobox`.");
8051
+ yt(!_, "`value` of Option should not use number type when `mode` is `tags` or `combobox`.");
8052
8052
  }
8053
- if (vt(t !== "combobox" || !m, "`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."), vt(t === "combobox" || !o, "`backfill` only works with `combobox` mode."), vt(t === "combobox" || !l, "`getInputElement` only work with `combobox` mode."), ih(t !== "combobox" || !l || !i || !a, "Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."), u && !y && t !== "combobox" && t !== "tags" && vt(!1, "`onSearch` should work with `showSearch` instead of use alone."), ih(!d || h, "`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."), p != null) {
8053
+ if (yt(t !== "combobox" || !m, "`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."), yt(t === "combobox" || !o, "`backfill` only works with `combobox` mode."), yt(t === "combobox" || !l, "`getInputElement` only work with `combobox` mode."), ih(t !== "combobox" || !l || !i || !a, "Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."), u && !y && t !== "combobox" && t !== "tags" && yt(!1, "`onSearch` should work with `showSearch` instead of use alone."), ih(!d || h, "`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."), p != null) {
8054
8054
  var x = ud(p);
8055
- vt(!f || x.every(function(k) {
8055
+ yt(!f || x.every(function(k) {
8056
8056
  return Vr(k) === "object" && ("key" in k || "value" in k);
8057
- }), "`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"), vt(!b || Array.isArray(p), "`value` should be array when `mode` is `multiple` or `tags`");
8057
+ }), "`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"), yt(!b || Array.isArray(p), "`value` should be array when `mode` is `multiple` or `tags`");
8058
8058
  }
8059
8059
  if (r) {
8060
8060
  var S = null;
@@ -8071,7 +8071,7 @@ function pA(e) {
8071
8071
  return !H;
8072
8072
  }
8073
8073
  return S = L, !0;
8074
- }), S && vt(!1, "`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(S.displayName || S.name || S, "`.")), vt(g === void 0, "`inputValue` is deprecated, please use `searchValue` instead.");
8074
+ }), S && yt(!1, "`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(S.displayName || S.name || S, "`.")), yt(g === void 0, "`inputValue` is deprecated, please use `searchValue` instead.");
8075
8075
  }
8076
8076
  }
8077
8077
  function gA(e, t) {
@@ -8080,7 +8080,7 @@ function gA(e, t) {
8080
8080
  for (var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, a = 0; a < o.length; a++) {
8081
8081
  var l = o[a];
8082
8082
  if (l[t == null ? void 0 : t.value] === null)
8083
- return vt(!1, "`value` in Select options should not be `null`."), !0;
8083
+ return yt(!1, "`value` in Select options should not be `null`."), !0;
8084
8084
  if (!i && Array.isArray(l[t == null ? void 0 : t.options]) && r(l[t == null ? void 0 : t.options], !0))
8085
8085
  break;
8086
8086
  }
@@ -8123,7 +8123,7 @@ var wy = /* @__PURE__ */ C.forwardRef(function(e, t) {
8123
8123
  var z;
8124
8124
  if (st === void 0 && (st = Pt == null ? void 0 : Pt[x || ae.label]), Ct === void 0 && (Ct = (z = Pt == null ? void 0 : Pt.key) !== null && z !== void 0 ? z : Fe), gn = Pt == null ? void 0 : Pt.disabled, mn = Pt == null ? void 0 : Pt.title, process.env.NODE_ENV !== "production" && !x) {
8125
8125
  var re = Pt == null ? void 0 : Pt[ae.label];
8126
- re !== void 0 && re !== st && vt(!1, "`label` of `value` is not same as `label` in Select options.");
8126
+ re !== void 0 && re !== st && yt(!1, "`label` of `value` is not same as `label` in Select options.");
8127
8127
  }
8128
8128
  }
8129
8129
  return {
@@ -8206,7 +8206,7 @@ var wy = /* @__PURE__ */ C.forwardRef(function(e, t) {
8206
8206
  G ? st : st[0]
8207
8207
  );
8208
8208
  }
8209
- }, yt = C.useState(null), De = sn(yt, 2), Ke = De[0], ct = De[1], Bt = C.useState(0), bt = sn(Bt, 2), qt = bt[0], St = bt[1], dn = O !== void 0 ? O : r !== "combobox", Ut = C.useCallback(function(le, ye) {
8209
+ }, bt = C.useState(null), De = sn(bt, 2), Ke = De[0], ct = De[1], jt = C.useState(0), xt = sn(jt, 2), qt = xt[0], St = xt[1], dn = O !== void 0 ? O : r !== "combobox", Ut = C.useCallback(function(le, ye) {
8210
8210
  var Se = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, Fe = Se.source, st = Fe === void 0 ? "keyboard" : Fe;
8211
8211
  St(ye), a && r === "combobox" && le !== null && st === "keyboard" && ct(String(le));
8212
8212
  }, [a, r]), Dt = function(ye, Se, Fe) {
@@ -8394,7 +8394,7 @@ function ri(e, t, n, r) {
8394
8394
  Object.keys(n).forEach(function(d) {
8395
8395
  var h = n[d], f = h.level, p = l.get(f);
8396
8396
  p || (p = /* @__PURE__ */ new Set(), l.set(f, p)), p.add(h), c = Math.max(c, f);
8397
- }), vt(!o.length, "Tree missing follow keys: ".concat(o.slice(0, 100).map(function(d) {
8397
+ }), yt(!o.length, "Tree missing follow keys: ".concat(o.slice(0, 100).map(function(d) {
8398
8398
  return "'".concat(d, "'");
8399
8399
  }).join(", ")));
8400
8400
  var u;
@@ -8433,7 +8433,7 @@ function Cy(e) {
8433
8433
  var t = _A(e, "string");
8434
8434
  return Hr(t) === "symbol" ? t : String(t);
8435
8435
  }
8436
- function jt(e, t, n) {
8436
+ function Kt(e, t, n) {
8437
8437
  return t = Cy(t), t in e ? Object.defineProperty(e, t, {
8438
8438
  value: n,
8439
8439
  enumerable: !0,
@@ -8455,7 +8455,7 @@ function xn(e) {
8455
8455
  for (var t = 1; t < arguments.length; t++) {
8456
8456
  var n = arguments[t] != null ? arguments[t] : {};
8457
8457
  t % 2 ? Rp(Object(n), !0).forEach(function(r) {
8458
- jt(e, r, n[r]);
8458
+ Kt(e, r, n[r]);
8459
8459
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Rp(Object(n)).forEach(function(r) {
8460
8460
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
8461
8461
  });
@@ -8509,7 +8509,7 @@ function Ty(e, t, n) {
8509
8509
  writable: !1
8510
8510
  }), e;
8511
8511
  }
8512
- function $r(e) {
8512
+ function Pr(e) {
8513
8513
  if (e === void 0)
8514
8514
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
8515
8515
  return e;
@@ -8554,7 +8554,7 @@ function TA(e, t) {
8554
8554
  return t;
8555
8555
  if (t !== void 0)
8556
8556
  throw new TypeError("Derived constructors may only return object or undefined");
8557
- return $r(e);
8557
+ return Pr(e);
8558
8558
  }
8559
8559
  function Oy(e) {
8560
8560
  var t = kA();
@@ -8593,7 +8593,7 @@ var OA = function(t) {
8593
8593
  var u;
8594
8594
  l.push(
8595
8595
  /* @__PURE__ */ s("span", {
8596
- className: Mt(a, (u = {}, jt(u, "".concat(a, "-start"), o[c]), jt(u, "".concat(a, "-end"), i[c]), u))
8596
+ className: Mt(a, (u = {}, Kt(u, "".concat(a, "-start"), o[c]), Kt(u, "".concat(a, "-end"), i[c]), u))
8597
8597
  }, c)
8598
8598
  );
8599
8599
  }
@@ -8623,9 +8623,9 @@ function AA(e, t) {
8623
8623
  var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
8624
8624
  (o || []).forEach(function(a) {
8625
8625
  var l = a[t.key], c = a[t.children];
8626
- vt(l != null, "Tree node must have a certain key: [".concat(i).concat(l, "]"));
8626
+ yt(l != null, "Tree node must have a certain key: [".concat(i).concat(l, "]"));
8627
8627
  var u = String(l);
8628
- vt(!n.has(u) || l === null || l === void 0, "Same 'key' exist in the Tree: ".concat(u)), n.set(u, !0), r(c, "".concat(i).concat(u, " > "));
8628
+ yt(!n.has(u) || l === null || l === void 0, "Same 'key' exist in the Tree: ".concat(u)), n.set(u, !0), r(c, "".concat(i).concat(u, " > "));
8629
8629
  });
8630
8630
  }
8631
8631
  r(e);
@@ -8635,7 +8635,7 @@ function $A(e) {
8635
8635
  var r = co(n);
8636
8636
  return r.map(function(o) {
8637
8637
  if (!zA(o))
8638
- return vt(!o, "Tree/TreeNode can only accept TreeNode as children."), null;
8638
+ return yt(!o, "Tree/TreeNode can only accept TreeNode as children."), null;
8639
8639
  var i = o.key, a = o.props, l = a.children, c = Rl(a, DA), u = xn({
8640
8640
  key: i
8641
8641
  }, c), d = t(l);
@@ -8764,7 +8764,7 @@ function on(e) {
8764
8764
  });
8765
8765
  return "props" in g || Object.defineProperty(g, "props", {
8766
8766
  get: function() {
8767
- return vt(!1, "Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."), e;
8767
+ return yt(!1, "Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."), e;
8768
8768
  }
8769
8769
  }), g;
8770
8770
  }
@@ -8811,30 +8811,30 @@ var NA = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "dragO
8811
8811
  var c = r.props.context.onNodeDragStart;
8812
8812
  l.stopPropagation(), r.setState({
8813
8813
  dragNodeHighlight: !0
8814
- }), c(l, $r(r));
8814
+ }), c(l, Pr(r));
8815
8815
  try {
8816
8816
  l.dataTransfer.setData("text/plain", "");
8817
8817
  } catch {
8818
8818
  }
8819
8819
  }, r.onDragEnter = function(l) {
8820
8820
  var c = r.props.context.onNodeDragEnter;
8821
- l.preventDefault(), l.stopPropagation(), c(l, $r(r));
8821
+ l.preventDefault(), l.stopPropagation(), c(l, Pr(r));
8822
8822
  }, r.onDragOver = function(l) {
8823
8823
  var c = r.props.context.onNodeDragOver;
8824
- l.preventDefault(), l.stopPropagation(), c(l, $r(r));
8824
+ l.preventDefault(), l.stopPropagation(), c(l, Pr(r));
8825
8825
  }, r.onDragLeave = function(l) {
8826
8826
  var c = r.props.context.onNodeDragLeave;
8827
- l.stopPropagation(), c(l, $r(r));
8827
+ l.stopPropagation(), c(l, Pr(r));
8828
8828
  }, r.onDragEnd = function(l) {
8829
8829
  var c = r.props.context.onNodeDragEnd;
8830
8830
  l.stopPropagation(), r.setState({
8831
8831
  dragNodeHighlight: !1
8832
- }), c(l, $r(r));
8832
+ }), c(l, Pr(r));
8833
8833
  }, r.onDrop = function(l) {
8834
8834
  var c = r.props.context.onNodeDrop;
8835
8835
  l.preventDefault(), l.stopPropagation(), r.setState({
8836
8836
  dragNodeHighlight: !1
8837
- }), c(l, $r(r));
8837
+ }), c(l, Pr(r));
8838
8838
  }, r.onExpand = function(l) {
8839
8839
  var c = r.props, u = c.loading, d = c.context.onNodeExpand;
8840
8840
  u || d(l, on(r.props));
@@ -8969,7 +8969,7 @@ var NA = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "dragO
8969
8969
  } : void 0;
8970
8970
  return /* @__PURE__ */ v("div", {
8971
8971
  ref: x,
8972
- className: Mt(l, "".concat(A, "-treenode"), (o = {}, jt(o, "".concat(A, "-treenode-disabled"), $), jt(o, "".concat(A, "-treenode-switcher-").concat(m ? "open" : "close"), !f), jt(o, "".concat(A, "-treenode-checkbox-checked"), y), jt(o, "".concat(A, "-treenode-checkbox-indeterminate"), w), jt(o, "".concat(A, "-treenode-selected"), b), jt(o, "".concat(A, "-treenode-loading"), _), jt(o, "".concat(A, "-treenode-active"), S), jt(o, "".concat(A, "-treenode-leaf-last"), G), jt(o, "".concat(A, "-treenode-draggable"), U), jt(o, "dragging", ae), jt(o, "drop-target", E === a), jt(o, "drop-container", V === a), jt(o, "drag-over", !$ && u), jt(o, "drag-over-gap-top", !$ && d), jt(o, "drag-over-gap-bottom", !$ && h), jt(o, "filter-node", T && T(on(this.props))), o)),
8972
+ className: Mt(l, "".concat(A, "-treenode"), (o = {}, Kt(o, "".concat(A, "-treenode-disabled"), $), Kt(o, "".concat(A, "-treenode-switcher-").concat(m ? "open" : "close"), !f), Kt(o, "".concat(A, "-treenode-checkbox-checked"), y), Kt(o, "".concat(A, "-treenode-checkbox-indeterminate"), w), Kt(o, "".concat(A, "-treenode-selected"), b), Kt(o, "".concat(A, "-treenode-loading"), _), Kt(o, "".concat(A, "-treenode-active"), S), Kt(o, "".concat(A, "-treenode-leaf-last"), G), Kt(o, "".concat(A, "-treenode-draggable"), U), Kt(o, "dragging", ae), Kt(o, "drop-target", E === a), Kt(o, "drop-container", V === a), Kt(o, "drag-over", !$ && u), Kt(o, "drag-over-gap-top", !$ && d), Kt(o, "drag-over-gap-bottom", !$ && h), Kt(o, "filter-node", T && T(on(this.props))), o)),
8973
8973
  style: c,
8974
8974
  draggable: oe,
8975
8975
  "aria-grabbed": ae,
@@ -9006,7 +9006,7 @@ pi.defaultProps = {
9006
9006
  title: IA
9007
9007
  };
9008
9008
  pi.isTreeNode = 1;
9009
- function Mr(e, t) {
9009
+ function Or(e, t) {
9010
9010
  if (!e)
9011
9011
  return [];
9012
9012
  var n = e.slice(), r = n.indexOf(t);
@@ -9115,7 +9115,7 @@ function fc(e) {
9115
9115
  halfCheckedKeys: e.halfChecked || void 0
9116
9116
  };
9117
9117
  else
9118
- return vt(!1, "`checkedKeys` is not an array or an object"), null;
9118
+ return yt(!1, "`checkedKeys` is not an array or an object"), null;
9119
9119
  return t;
9120
9120
  }
9121
9121
  function Ip(e, t) {
@@ -9502,7 +9502,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9502
9502
  x: l.clientX,
9503
9503
  y: l.clientY
9504
9504
  };
9505
- var g = Mr(d, p);
9505
+ var g = Or(d, p);
9506
9506
  r.setState({
9507
9507
  draggingNodeKey: p,
9508
9508
  dragChildrenKeys: VA(p, h),
@@ -9512,7 +9512,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9512
9512
  node: on(c.props)
9513
9513
  });
9514
9514
  }, r.onNodeDragEnter = function(l, c) {
9515
- var u = r.state, d = u.expandedKeys, h = u.keyEntities, f = u.dragChildrenKeys, p = u.flattenNodes, g = u.indent, m = r.props, b = m.onDragEnter, y = m.onExpand, w = m.allowDrop, _ = m.direction, x = c.props, S = x.pos, k = x.eventKey, O = $r(r), L = O.dragNode;
9515
+ var u = r.state, d = u.expandedKeys, h = u.keyEntities, f = u.dragChildrenKeys, p = u.flattenNodes, g = u.indent, m = r.props, b = m.onDragEnter, y = m.onExpand, w = m.allowDrop, _ = m.direction, x = c.props, S = x.pos, k = x.eventKey, O = Pr(r), L = O.dragNode;
9516
9516
  if (r.currentMouseOverDroppableNodeKey !== k && (r.currentMouseOverDroppableNodeKey = k), !L) {
9517
9517
  r.resetDragState();
9518
9518
  return;
@@ -9551,7 +9551,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9551
9551
  expandedKeys: d
9552
9552
  });
9553
9553
  }, r.onNodeDragOver = function(l, c) {
9554
- var u = r.state, d = u.dragChildrenKeys, h = u.flattenNodes, f = u.keyEntities, p = u.expandedKeys, g = u.indent, m = r.props, b = m.onDragOver, y = m.allowDrop, w = m.direction, _ = $r(r), x = _.dragNode;
9554
+ var u = r.state, d = u.dragChildrenKeys, h = u.flattenNodes, f = u.keyEntities, p = u.expandedKeys, g = u.indent, m = r.props, b = m.onDragOver, y = m.allowDrop, w = m.direction, _ = Pr(r), x = _.dragNode;
9555
9555
  if (!!x) {
9556
9556
  var S = Pp(l, x, c, g, r.dragStartMousePosition, y, h, f, p, w), k = S.dropPosition, O = S.dropLevelOffset, L = S.dropTargetKey, H = S.dropContainerKey, A = S.dropAllowed, T = S.dropTargetPos, P = S.dragOverNodeKey;
9557
9557
  d.indexOf(L) !== -1 || !A || (x.props.eventKey === L && O === 0 ? r.state.dropPosition === null && r.state.dropLevelOffset === null && r.state.dropTargetKey === null && r.state.dropContainerKey === null && r.state.dropTargetPos === null && r.state.dropAllowed === !1 && r.state.dragOverNodeKey === null || r.resetDragState() : k === r.state.dropPosition && O === r.state.dropLevelOffset && L === r.state.dropTargetKey && H === r.state.dropContainerKey && T === r.state.dropTargetPos && A === r.state.dropAllowed && P === r.state.dragOverNodeKey || r.setState({
@@ -9595,7 +9595,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9595
9595
  active: ((u = r.getActiveItem()) === null || u === void 0 ? void 0 : u.key) === g,
9596
9596
  data: r.state.keyEntities[g].node
9597
9597
  }), _ = f.indexOf(g) !== -1;
9598
- vt(!_, "Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");
9598
+ yt(!_, "Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");
9599
9599
  var x = Cd(m), S = {
9600
9600
  event: l,
9601
9601
  node: on(w),
@@ -9626,7 +9626,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9626
9626
  })[0], b = on(xn(xn({}, oa(p, r.getTreeNodeRequiredProps())), {}, {
9627
9627
  data: m.data
9628
9628
  }));
9629
- r.setExpandedKeys(f ? Mr(d, p) : Yr(d, p)), r.onNodeExpand(l, b);
9629
+ r.setExpandedKeys(f ? Or(d, p) : Yr(d, p)), r.onNodeExpand(l, b);
9630
9630
  }
9631
9631
  }, r.onNodeClick = function(l, c) {
9632
9632
  var u = r.props, d = u.onClick, h = u.expandAction;
@@ -9636,7 +9636,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9636
9636
  h === "doubleClick" && r.triggerExpandActionExpand(l, c), d == null || d(l, c);
9637
9637
  }, r.onNodeSelect = function(l, c) {
9638
9638
  var u = r.state.selectedKeys, d = r.state, h = d.keyEntities, f = d.fieldNames, p = r.props, g = p.onSelect, m = p.multiple, b = c.selected, y = c[f.key], w = !b;
9639
- w ? m ? u = Yr(u, y) : u = [y] : u = Mr(u, y);
9639
+ w ? m ? u = Yr(u, y) : u = [y] : u = Or(u, y);
9640
9640
  var _ = u.map(function(x) {
9641
9641
  var S = h[x];
9642
9642
  return S ? S.node : null;
@@ -9660,7 +9660,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9660
9660
  nativeEvent: l.nativeEvent
9661
9661
  };
9662
9662
  if (m) {
9663
- var x = u ? Yr(f, y) : Mr(f, y), S = Mr(p, y);
9663
+ var x = u ? Yr(f, y) : Or(f, y), S = Or(p, y);
9664
9664
  w = {
9665
9665
  checked: x,
9666
9666
  halfChecked: S
@@ -9716,17 +9716,17 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9716
9716
  loadedKeys: k
9717
9717
  }), r.setState(function(O) {
9718
9718
  return {
9719
- loadingKeys: Mr(O.loadingKeys, c)
9719
+ loadingKeys: Or(O.loadingKeys, c)
9720
9720
  };
9721
9721
  }), d();
9722
9722
  }).catch(function(S) {
9723
9723
  if (r.setState(function(O) {
9724
9724
  return {
9725
- loadingKeys: Mr(O.loadingKeys, c)
9725
+ loadingKeys: Or(O.loadingKeys, c)
9726
9726
  };
9727
9727
  }), r.loadingRetryTimes[c] = (r.loadingRetryTimes[c] || 0) + 1, r.loadingRetryTimes[c] >= ZA) {
9728
9728
  var k = r.state.loadedKeys;
9729
- vt(!1, "Retry for `loadData` many times but still failed. No more retry."), r.setUncontrolledState({
9729
+ yt(!1, "Retry for `loadData` many times but still failed. No more retry."), r.setUncontrolledState({
9730
9730
  loadedKeys: Yr(k, c)
9731
9731
  }), d();
9732
9732
  }
@@ -9795,7 +9795,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9795
9795
  var u = r.state.expandedKeys, d = r.state, h = d.listChanging, f = d.fieldNames, p = r.props, g = p.onExpand, m = p.loadData, b = c.expanded, y = c[f.key];
9796
9796
  if (!h) {
9797
9797
  var w = u.indexOf(y), _ = !b;
9798
- if (vt(b && w !== -1 || !b && w === -1, "Expand state not sync with index check"), _ ? u = Yr(u, y) : u = Mr(u, y), r.setExpandedKeys(u), g == null || g(u, {
9798
+ if (yt(b && w !== -1 || !b && w === -1, "Expand state not sync with index check"), _ ? u = Yr(u, y) : u = Or(u, y), r.setExpandedKeys(u), g == null || g(u, {
9799
9799
  node: c,
9800
9800
  expanded: _,
9801
9801
  nativeEvent: l.nativeEvent
@@ -9807,7 +9807,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9807
9807
  flattenNodes: S
9808
9808
  });
9809
9809
  }).catch(function() {
9810
- var S = r.state.expandedKeys, k = Mr(S, y);
9810
+ var S = r.state.expandedKeys, k = Or(S, y);
9811
9811
  r.setExpandedKeys(k);
9812
9812
  });
9813
9813
  }
@@ -9987,7 +9987,7 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
9987
9987
  },
9988
9988
  children: /* @__PURE__ */ s("div", {
9989
9989
  role: "tree",
9990
- className: Mt(w, _, he, (o = {}, jt(o, "".concat(w, "-show-line"), S), jt(o, "".concat(w, "-focused"), a), jt(o, "".concat(w, "-active-focused"), d !== null), o)),
9990
+ className: Mt(w, _, he, (o = {}, Kt(o, "".concat(w, "-show-line"), S), Kt(o, "".concat(w, "-focused"), a), Kt(o, "".concat(w, "-active-focused"), d !== null), o)),
9991
9991
  style: de,
9992
9992
  children: /* @__PURE__ */ s(Ny, {
9993
9993
  ref: this.listRef,
@@ -10030,12 +10030,12 @@ var ZA = 10, Ed = /* @__PURE__ */ function(e) {
10030
10030
  return !a && k in o || a && a[k] !== o[k];
10031
10031
  }
10032
10032
  var u, d = i.fieldNames;
10033
- if (c("fieldNames") && (d = Us(o.fieldNames), l.fieldNames = d), c("treeData") ? u = o.treeData : c("children") && (vt(!1, "`children` of Tree is deprecated. Please use `treeData` instead."), u = $A(o.children)), u) {
10033
+ if (c("fieldNames") && (d = Us(o.fieldNames), l.fieldNames = d), c("treeData") ? u = o.treeData : c("children") && (yt(!1, "`children` of Tree is deprecated. Please use `treeData` instead."), u = $A(o.children)), u) {
10034
10034
  l.treeData = u;
10035
10035
  var h = Ry(u, {
10036
10036
  fieldNames: d
10037
10037
  });
10038
- l.keyEntities = xn(jt({}, Po, Py), h.keyEntities), process.env.NODE_ENV !== "production" && AA(u, d);
10038
+ l.keyEntities = xn(Kt({}, Po, Py), h.keyEntities), process.env.NODE_ENV !== "production" && AA(u, d);
10039
10039
  }
10040
10040
  var f = l.keyEntities || i.keyEntities;
10041
10041
  if (c("expandedKeys") || a && c("autoExpandParent"))
@@ -10182,12 +10182,12 @@ var t$ = {
10182
10182
  break;
10183
10183
  case ce.ENTER: {
10184
10184
  if (je) {
10185
- var pt = (je == null ? void 0 : je.node) || {}, tt = pt.selectable, yt = pt.value;
10185
+ var pt = (je == null ? void 0 : je.node) || {}, tt = pt.selectable, bt = pt.value;
10186
10186
  tt !== !1 && _e(null, {
10187
10187
  node: {
10188
10188
  key: we
10189
10189
  },
10190
- selected: !S.includes(yt)
10190
+ selected: !S.includes(bt)
10191
10191
  });
10192
10192
  }
10193
10193
  break;
@@ -10287,7 +10287,7 @@ function mu(e) {
10287
10287
  var t = Zn({}, e);
10288
10288
  return "props" in t || Object.defineProperty(t, "props", {
10289
10289
  get: function() {
10290
- return vt(!1, "New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."), t;
10290
+ return yt(!1, "New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."), t;
10291
10291
  }
10292
10292
  }), t;
10293
10293
  }
@@ -10323,11 +10323,11 @@ function i$(e, t, n, r, o, i) {
10323
10323
  }
10324
10324
  Object.defineProperty(e, "triggerNode", {
10325
10325
  get: function() {
10326
- return vt(!1, "`triggerNode` is deprecated. Please consider decoupling data with node."), c(), a;
10326
+ return yt(!1, "`triggerNode` is deprecated. Please consider decoupling data with node."), c(), a;
10327
10327
  }
10328
10328
  }), Object.defineProperty(e, "allCheckedNodes", {
10329
10329
  get: function() {
10330
- return vt(!1, "`allCheckedNodes` is deprecated. Please consider decoupling data with node."), c(), o ? l : l.map(function(d) {
10330
+ return yt(!1, "`allCheckedNodes` is deprecated. Please consider decoupling data with node."), c(), o ? l : l.map(function(d) {
10331
10331
  var h = d.node;
10332
10332
  return h;
10333
10333
  });
@@ -10388,7 +10388,7 @@ const c$ = function(e, t) {
10388
10388
  var a = o.node[t.value];
10389
10389
  if (process.env.NODE_ENV !== "production") {
10390
10390
  var l = o.node.key;
10391
- vt(!gu(a), "TreeNode `value` is invalidate: undefined"), vt(!i.valueEntities.has(a), "Same `value` exist in the tree: ".concat(a)), vt(!l || String(l) === String(a), "`key` or `value` with TreeNode must be the same or you can remove one of them. key: ".concat(l, ", value: ").concat(a, "."));
10391
+ yt(!gu(a), "TreeNode `value` is invalidate: undefined"), yt(!i.valueEntities.has(a), "Same `value` exist in the tree: ".concat(a)), yt(!l || String(l) === String(a), "`key` or `value` with TreeNode must be the same or you can remove one of them. key: ".concat(l, ", value: ").concat(a, "."));
10392
10392
  }
10393
10393
  i.valueEntities.set(a, o);
10394
10394
  }
@@ -10446,9 +10446,9 @@ const c$ = function(e, t) {
10446
10446
  };
10447
10447
  function f$(e) {
10448
10448
  var t = e.searchPlaceholder, n = e.treeCheckStrictly, r = e.treeCheckable, o = e.labelInValue, i = e.value, a = e.multiple;
10449
- vt(!t, "`searchPlaceholder` has been removed."), n && o === !1 && vt(!1, "`treeCheckStrictly` will force set `labelInValue` to `true`."), (o || n) && vt(zy(i).every(function(l) {
10449
+ yt(!t, "`searchPlaceholder` has been removed."), n && o === !1 && yt(!1, "`treeCheckStrictly` will force set `labelInValue` to `true`."), (o || n) && yt(zy(i).every(function(l) {
10450
10450
  return l && $o(l) === "object" && "value" in l;
10451
- }), "Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."), n || a || r ? vt(!i || Array.isArray(i), "`value` should be an array when `TreeSelect` is checkable or multiple.") : vt(!Array.isArray(i), "`value` should not be array when `TreeSelect` is single mode.");
10451
+ }), "Invalid prop `value` supplied to `TreeSelect`. You should use { label: string, value: string | number } or [{ label: string, value: string | number }] instead."), n || a || r ? yt(!i || Array.isArray(i), "`value` should be an array when `TreeSelect` is checkable or multiple.") : yt(!Array.isArray(i), "`value` should not be array when `TreeSelect` is single mode.");
10452
10452
  }
10453
10453
  var h$ = ["id", "prefixCls", "value", "defaultValue", "onChange", "onSelect", "onDeselect", "searchValue", "inputValue", "onSearch", "autoClearSearchValue", "filterTreeNode", "treeNodeFilterProp", "showCheckedStrategy", "treeNodeLabelProp", "multiple", "treeCheckable", "treeCheckStrictly", "labelInValue", "fieldNames", "treeDataSimpleMode", "treeData", "children", "loadData", "treeLoadedKeys", "onTreeLoad", "treeDefaultExpandAll", "treeExpandedKeys", "treeDefaultExpandedKeys", "onTreeExpand", "treeExpandAction", "virtual", "listHeight", "listItemHeight", "onDropdownVisibleChange", "dropdownMatchSelectWidth", "treeLine", "treeIcon", "showTreeIcon", "switcherIcon", "treeMotion"];
10454
10454
  function p$(e) {
@@ -10471,7 +10471,7 @@ var By = /* @__PURE__ */ C.forwardRef(function(e, t) {
10471
10471
  }
10472
10472
  }), Ge = Jr(Xe, 2), qe = Ge[0], wt = Ge[1], pt = function(be) {
10473
10473
  wt(be), f == null || f(be);
10474
- }, tt = s$(T, P, A), yt = c$(tt, Pe), De = yt.keyEntities, Ke = yt.valueEntities, ct = C.useCallback(function(ne) {
10474
+ }, tt = s$(T, P, A), bt = c$(tt, Pe), De = bt.keyEntities, Ke = bt.valueEntities, ct = C.useCallback(function(ne) {
10475
10475
  var be = [], Ce = [];
10476
10476
  return ne.forEach(function(Ne) {
10477
10477
  Ke.has(Ne) ? Ce.push(Ne) : be.push(Ne);
@@ -10479,11 +10479,11 @@ var By = /* @__PURE__ */ C.forwardRef(function(e, t) {
10479
10479
  missingRawValues: be,
10480
10480
  existRawValues: Ce
10481
10481
  };
10482
- }, [Ke]), Bt = d$(tt, qe, {
10482
+ }, [Ke]), jt = d$(tt, qe, {
10483
10483
  fieldNames: Pe,
10484
10484
  treeNodeFilterProp: y,
10485
10485
  filterTreeNode: m
10486
- }), bt = C.useCallback(function(ne) {
10486
+ }), xt = C.useCallback(function(ne) {
10487
10487
  if (ne) {
10488
10488
  if (x)
10489
10489
  return ne[x];
@@ -10506,7 +10506,7 @@ var By = /* @__PURE__ */ C.forwardRef(function(e, t) {
10506
10506
  var Ne = Ce.label, We = Ce.value, Ve = Ce.halfChecked, Ze, Ue = Ke.get(We);
10507
10507
  if (Ue) {
10508
10508
  var ot;
10509
- Ne = (ot = Ne) !== null && ot !== void 0 ? ot : bt(Ue.node), Ze = Ue.node.disabled;
10509
+ Ne = (ot = Ne) !== null && ot !== void 0 ? ot : xt(Ue.node), Ze = Ue.node.disabled;
10510
10510
  } else if (Ne === void 0) {
10511
10511
  var Nt = qt(je).find(function(Cn) {
10512
10512
  return Cn.value === We;
@@ -10520,7 +10520,7 @@ var By = /* @__PURE__ */ C.forwardRef(function(e, t) {
10520
10520
  disabled: Ze
10521
10521
  };
10522
10522
  });
10523
- }, [Ke, bt, qt, je]), dn = C.useMemo(function() {
10523
+ }, [Ke, xt, qt, je]), dn = C.useMemo(function() {
10524
10524
  return qt(je);
10525
10525
  }, [qt, je]), Ut = C.useMemo(function() {
10526
10526
  var ne = [], be = [];
@@ -10576,10 +10576,10 @@ var By = /* @__PURE__ */ C.forwardRef(function(e, t) {
10576
10576
  triggerValue: Ue
10577
10577
  }, fr = !0;
10578
10578
  (O || Ce === "selection" && !ot) && (fr = !1), i$(Yt, Ue, ne, tt, fr, Pe), _e ? Yt.checked = ot : Yt.selected = ot;
10579
- var Er = $e ? Hn : Hn.map(function(Rn) {
10579
+ var kr = $e ? Hn : Hn.map(function(Rn) {
10580
10580
  return Rn.value;
10581
10581
  });
10582
- l(Le ? Er : Er[0], $e ? null : Hn.map(function(Rn) {
10582
+ l(Le ? kr : kr[0], $e ? null : Hn.map(function(Rn) {
10583
10583
  return Rn.label;
10584
10584
  }), Yt);
10585
10585
  }
@@ -10599,8 +10599,8 @@ var By = /* @__PURE__ */ C.forwardRef(function(e, t) {
10599
10599
  return Ke.get(Dn).key;
10600
10600
  }), fr;
10601
10601
  if (Ne) {
10602
- var Er = ri(Yt, !0, De);
10603
- fr = Er.checkedKeys;
10602
+ var kr = ri(Yt, !0, De);
10603
+ fr = kr.checkedKeys;
10604
10604
  } else {
10605
10605
  var Rn = ri(Yt, {
10606
10606
  checked: !1,
@@ -10623,7 +10623,7 @@ var By = /* @__PURE__ */ C.forwardRef(function(e, t) {
10623
10623
  var be = {};
10624
10624
  Object.defineProperty(be, "documentClickClose", {
10625
10625
  get: function() {
10626
- return vt(!1, "Second param of `onDropdownVisibleChange` has been removed."), !1;
10626
+ return yt(!1, "Second param of `onDropdownVisibleChange` has been removed."), !1;
10627
10627
  }
10628
10628
  }), me(ne, be);
10629
10629
  }
@@ -10645,12 +10645,12 @@ var By = /* @__PURE__ */ C.forwardRef(function(e, t) {
10645
10645
  dropdownMatchSelectWidth: he,
10646
10646
  listHeight: ae,
10647
10647
  listItemHeight: te,
10648
- treeData: Bt,
10648
+ treeData: jt,
10649
10649
  fieldNames: Pe,
10650
10650
  onSelect: mn,
10651
10651
  treeExpandAction: G
10652
10652
  };
10653
- }, [U, he, ae, te, Bt, Pe, mn, G]), re = C.useMemo(function() {
10653
+ }, [U, he, ae, te, jt, Pe, mn, G]), re = C.useMemo(function() {
10654
10654
  return {
10655
10655
  checkable: _e,
10656
10656
  loadData: V,
@@ -11347,9 +11347,9 @@ const Wy = J(() => {
11347
11347
  right: 0,
11348
11348
  zIndex: 300
11349
11349
  },
11350
- children: /* @__PURE__ */ v(kr, {
11350
+ children: /* @__PURE__ */ v(Tr, {
11351
11351
  withinPortal: !0,
11352
- children: [/* @__PURE__ */ s(kr.Target, {
11352
+ children: [/* @__PURE__ */ s(Tr.Target, {
11353
11353
  children: /* @__PURE__ */ s(xe, {
11354
11354
  className: "panel-dropdown-target",
11355
11355
  sx: {
@@ -11357,14 +11357,14 @@ const Wy = J(() => {
11357
11357
  height: "25px"
11358
11358
  }
11359
11359
  })
11360
- }), /* @__PURE__ */ v(kr.Dropdown, {
11361
- children: [/* @__PURE__ */ s(kr.Item, {
11360
+ }), /* @__PURE__ */ v(Tr.Dropdown, {
11361
+ children: [/* @__PURE__ */ s(Tr.Item, {
11362
11362
  onClick: l,
11363
11363
  icon: /* @__PURE__ */ s(ym, {
11364
11364
  size: 14
11365
11365
  }),
11366
11366
  children: "Refresh"
11367
- }), /* @__PURE__ */ s(kr.Item, {
11367
+ }), /* @__PURE__ */ s(Tr.Item, {
11368
11368
  onClick: () => {
11369
11369
  var m;
11370
11370
  return t.queries.downloadDataByQueryID((m = i == null ? void 0 : i.id) != null ? m : "");
@@ -11373,7 +11373,7 @@ const Wy = J(() => {
11373
11373
  size: 14
11374
11374
  }),
11375
11375
  children: "Download Data"
11376
- }), g && /* @__PURE__ */ s(kr.Item, {
11376
+ }), g && /* @__PURE__ */ s(Tr.Item, {
11377
11377
  onClick: p,
11378
11378
  icon: /* @__PURE__ */ s(i_, {
11379
11379
  size: 14
@@ -11384,19 +11384,19 @@ const Wy = J(() => {
11384
11384
  children: [/* @__PURE__ */ s(pe, {
11385
11385
  label: "Edit",
11386
11386
  labelPosition: "center"
11387
- }), /* @__PURE__ */ s(kr.Item, {
11387
+ }), /* @__PURE__ */ s(Tr.Item, {
11388
11388
  onClick: h,
11389
11389
  icon: /* @__PURE__ */ s(xm, {
11390
11390
  size: 14
11391
11391
  }),
11392
11392
  children: "Settings"
11393
- }), /* @__PURE__ */ s(kr.Item, {
11393
+ }), /* @__PURE__ */ s(Tr.Item, {
11394
11394
  onClick: d,
11395
11395
  icon: /* @__PURE__ */ s(a_, {
11396
11396
  size: 14
11397
11397
  }),
11398
11398
  children: "Duplicate"
11399
- }), /* @__PURE__ */ s(kr.Item, {
11399
+ }), /* @__PURE__ */ s(Tr.Item, {
11400
11400
  color: "red",
11401
11401
  onClick: f,
11402
11402
  icon: /* @__PURE__ */ s($t, {
@@ -11431,7 +11431,7 @@ const k$ = J(function() {
11431
11431
  children: n
11432
11432
  })
11433
11433
  }) : null;
11434
- }), xr = (e, t) => {
11434
+ }), wr = (e, t) => {
11435
11435
  const [n, r] = ze([]);
11436
11436
  return ue(() => e.watchTriggerSnapshotList(
11437
11437
  (o) => r(o.filter((i) => i.schemaRef === t))
@@ -11448,7 +11448,7 @@ class Jo {
11448
11448
  }
11449
11449
  async getItem(t) {
11450
11450
  const n = await this.root.getItem(this.path);
11451
- return t === null ? n : xt(n, t);
11451
+ return t === null ? n : vt(n, t);
11452
11452
  }
11453
11453
  async setItem(t, n) {
11454
11454
  if (t === null)
@@ -11469,7 +11469,7 @@ class Jo {
11469
11469
  ) : this.root.watchItem(
11470
11470
  this.path,
11471
11471
  (o, i) => {
11472
- const a = xt(o, t), l = xt(i, t);
11472
+ const a = vt(o, t), l = vt(i, t);
11473
11473
  a !== l && n(a, l);
11474
11474
  },
11475
11475
  r
@@ -11515,7 +11515,7 @@ class Gy {
11515
11515
  return Promise.resolve(n);
11516
11516
  }
11517
11517
  getValueFromRoot(t) {
11518
- return t === null ? La(this.rootRef.current) : xt(this.rootRef.current, [t]);
11518
+ return t === null ? La(this.rootRef.current) : vt(this.rootRef.current, [t]);
11519
11519
  }
11520
11520
  setItem(t, n) {
11521
11521
  if (t === null)
@@ -11539,7 +11539,7 @@ class Gy {
11539
11539
  },
11540
11540
  {
11541
11541
  requiresObservable: !0,
11542
- fireImmediately: xt(r, "fireImmediately", !1)
11542
+ fireImmediately: vt(r, "fireImmediately", !1)
11543
11543
  }
11544
11544
  );
11545
11545
  }
@@ -11678,7 +11678,7 @@ const O$ = (e) => {
11678
11678
  getColor: Dl(["#fff7f1", "darkorange", "#b60000"]),
11679
11679
  name: "orange",
11680
11680
  category: "sequential"
11681
- }, Yy = "@devtable/dashboard", Od = "8.41.0", Xy = "Apache-2.0", Qy = {
11681
+ }, Yy = "@devtable/dashboard", Od = "8.41.1", Xy = "Apache-2.0", Qy = {
11682
11682
  access: "public",
11683
11683
  registry: "https://registry.npmjs.org/"
11684
11684
  }, Zy = [
@@ -11946,12 +11946,12 @@ class un extends H$ {
11946
11946
  return super.version(t, (r, o) => ({ version: t, ...n(r, o) }));
11947
11947
  }
11948
11948
  async migrate({ configData: t, panelModel: n }) {
11949
- const r = await t.getItem(null), o = xt(r, "version", 0), i = this.run({ from: o, to: this.VERSION }, r, { panelModel: n });
11949
+ const r = await t.getItem(null), o = vt(r, "version", 0), i = this.run({ from: o, to: this.VERSION }, r, { panelModel: n });
11950
11950
  await t.setItem(null, i);
11951
11951
  }
11952
11952
  async needMigration({ configData: t }) {
11953
11953
  const n = await t.getItem(null);
11954
- return xt(n, "version", 0) < this.VERSION;
11954
+ return vt(n, "version", 0) < this.VERSION;
11955
11955
  }
11956
11956
  }
11957
11957
  const Ye = (e, t) => {
@@ -12007,10 +12007,10 @@ function B$({
12007
12007
  zAxis3D: d
12008
12008
  } = en({}, t, Rd), h = Y(() => {
12009
12009
  const g = jw(n, (m) => m[l]);
12010
- return xt(g, l);
12010
+ return vt(g, l);
12011
12011
  }, [n, l]), f = Y(() => {
12012
12012
  const g = Kw(n, (m) => m[l]);
12013
- return xt(g, l);
12013
+ return vt(g, l);
12014
12014
  }, [n, l]), p = {
12015
12015
  tooltip: {},
12016
12016
  backgroundColor: "#fff",
@@ -12399,7 +12399,7 @@ function q$({
12399
12399
  })]
12400
12400
  });
12401
12401
  }
12402
- const wr = ee.forwardRef(q$), yr = {
12402
+ const _r = ee.forwardRef(q$), br = {
12403
12403
  enabled: !1,
12404
12404
  func_content: ["function label(value, index) {", " // your code goes here", " // return value", "}"].join(`
12405
12405
  `)
@@ -12451,7 +12451,7 @@ const X$ = [{
12451
12451
  }, {
12452
12452
  label: "Break Word",
12453
12453
  value: "breakAll"
12454
- }], Ys = Ht(({
12454
+ }], Ys = Bt(({
12455
12455
  sectionTitle: e,
12456
12456
  value: t,
12457
12457
  onChange: n
@@ -12491,7 +12491,7 @@ const X$ = [{
12491
12491
  })]
12492
12492
  })]
12493
12493
  });
12494
- }), Fo = Ht(({
12494
+ }), Fo = Bt(({
12495
12495
  value: e,
12496
12496
  onChange: t
12497
12497
  }, n) => {
@@ -12562,7 +12562,7 @@ const Dd = {
12562
12562
  data_key: "",
12563
12563
  axisLabel: {
12564
12564
  rotate: 0,
12565
- formatter: { ...yr },
12565
+ formatter: { ...br },
12566
12566
  overflow: Br
12567
12567
  }
12568
12568
  },
@@ -12573,7 +12573,7 @@ const Dd = {
12573
12573
  },
12574
12574
  color: "#228be6",
12575
12575
  reference_lines: []
12576
- }, ya = Ht(function({
12576
+ }, ya = Bt(function({
12577
12577
  value: t,
12578
12578
  onChange: n,
12579
12579
  ...r
@@ -12721,7 +12721,7 @@ function tP({
12721
12721
  }, n) {
12722
12722
  const {
12723
12723
  colorManager: r
12724
- } = wn(_r), o = ee.useMemo(() => r.getStaticColors().map((l) => ({
12724
+ } = wn(Sr), o = ee.useMemo(() => r.getStaticColors().map((l) => ({
12725
12725
  label: l.name,
12726
12726
  group: l.category,
12727
12727
  value: l.value
@@ -12985,7 +12985,7 @@ ee.forwardRef(function({
12985
12985
  my: "xs",
12986
12986
  label: "Format",
12987
12987
  labelPosition: "center"
12988
- }), /* @__PURE__ */ s(wr, {
12988
+ }), /* @__PURE__ */ s(_r, {
12989
12989
  value: t.formatter,
12990
12990
  onChange: (l) => a("formatter", l)
12991
12991
  }), o && /* @__PURE__ */ s(cb, {
@@ -13557,10 +13557,10 @@ function VP({
13557
13557
  } = e, o = e.data, {
13558
13558
  width: i,
13559
13559
  height: a
13560
- } = e.viewport, l = en({}, n, Dd), c = Sr({
13560
+ } = e.viewport, l = en({}, n, Dd), c = Cr({
13561
13561
  vizManager: e.vizManager,
13562
13562
  instance: t
13563
- }), u = xr(c.triggerManager, sb.id), d = Y(() => q.keyBy(o, l.x_axis.data_key), [o, l.x_axis.data_key]), h = dt((g) => {
13563
+ }), u = wr(c.triggerManager, sb.id), d = Y(() => q.keyBy(o, l.x_axis.data_key), [o, l.x_axis.data_key]), h = dt((g) => {
13564
13564
  const m = q.get(d, g.name, {
13565
13565
  error: "rowData is not found"
13566
13566
  });
@@ -13731,7 +13731,7 @@ const BP = ({
13731
13731
  readOnly: e
13732
13732
  }
13733
13733
  })]
13734
- }), Ll = Ht(({
13734
+ }), Ll = Bt(({
13735
13735
  value: e,
13736
13736
  onChange: t
13737
13737
  }, n) => {
@@ -13761,7 +13761,7 @@ const BP = ({
13761
13761
  func_content: p
13762
13762
  }));
13763
13763
  }, f = () => {
13764
- h(yr.func_content);
13764
+ h(br.func_content);
13765
13765
  };
13766
13766
  return /* @__PURE__ */ v(ke, {
13767
13767
  children: [/* @__PURE__ */ s(ie, {
@@ -13947,7 +13947,7 @@ const BP = ({
13947
13947
  control: e,
13948
13948
  render: ({
13949
13949
  field: r
13950
- }) => /* @__PURE__ */ s(wr, {
13950
+ }) => /* @__PURE__ */ s(_r, {
13951
13951
  ...r
13952
13952
  })
13953
13953
  })]
@@ -13973,7 +13973,7 @@ function WP({
13973
13973
  ue(() => {
13974
13974
  d(i);
13975
13975
  }, [i]), c(["x_axis", "y_axis", "reference_lines", "color"]);
13976
- const h = u(), f = Y(() => !Kt(h, t), [h, t]);
13976
+ const h = u(), f = Y(() => !Ht(h, t), [h, t]);
13977
13977
  return /* @__PURE__ */ s(W, {
13978
13978
  spacing: "xs",
13979
13979
  children: /* @__PURE__ */ v("form", {
@@ -14088,7 +14088,7 @@ function UP(e) {
14088
14088
  const t = {
14089
14089
  rotate: 0,
14090
14090
  formatter: {
14091
- ...yr
14091
+ ...br
14092
14092
  }
14093
14093
  }, {
14094
14094
  axisLabel: n = t,
@@ -14250,10 +14250,10 @@ const Pd = {
14250
14250
  context: e,
14251
14251
  instance: t
14252
14252
  }) => {
14253
- const n = Sr({
14253
+ const n = Cr({
14254
14254
  vizManager: e.vizManager,
14255
14255
  instance: t
14256
- }), r = xr(n.triggerManager, Tb.id), o = He(), {
14256
+ }), r = wr(n.triggerManager, Tb.id), o = He(), {
14257
14257
  value: i
14258
14258
  } = Ye(e.instanceData, "config"), a = Y(() => Qt({}, i, Pd), [i]), {
14259
14259
  content: l,
@@ -14382,7 +14382,7 @@ function uN({
14382
14382
  e.data;
14383
14383
  const r = Y(() => Qt({}, t, Pd), [t]), o = r;
14384
14384
  ue(() => {
14385
- !Kt(r, o) && (console.log("config malformed, resetting to defaults", r, o), n(o));
14385
+ !Ht(r, o) && (console.log("config malformed, resetting to defaults", r, o), n(o));
14386
14386
  }, [r, o]);
14387
14387
  const {
14388
14388
  control: i,
@@ -14396,7 +14396,7 @@ function uN({
14396
14396
  ue(() => {
14397
14397
  u(o);
14398
14398
  }, [o]);
14399
- const d = c(), h = Y(() => !Kt(d, r), [d, r]);
14399
+ const d = c(), h = Y(() => !Ht(d, r), [d, r]);
14400
14400
  return l(["content", "variant", "color", "size", "compact", "horizontal_align", "vertical_align"]), /* @__PURE__ */ v("form", {
14401
14401
  onSubmit: a(n),
14402
14402
  children: [/* @__PURE__ */ v(F, {
@@ -14601,7 +14601,7 @@ const Id = {
14601
14601
  x_axis: {
14602
14602
  axisLabel: {
14603
14603
  rotate: 0,
14604
- formatter: { ...yr },
14604
+ formatter: { ...br },
14605
14605
  overflow: Br
14606
14606
  }
14607
14607
  },
@@ -15063,7 +15063,7 @@ function LN({
15063
15063
  interactionManager: o,
15064
15064
  variables: i
15065
15065
  }) {
15066
- const a = Y(() => q.keyBy(t, e.x_axis_data_key), [t, e.x_axis_data_key]), l = xr(o.triggerManager, Nd.id), c = dt((h) => {
15066
+ const a = Y(() => q.keyBy(t, e.x_axis_data_key), [t, e.x_axis_data_key]), l = wr(o.triggerManager, Nd.id), c = dt((h) => {
15067
15067
  const f = q.get(a, h.name, {
15068
15068
  error: "rowData is not found"
15069
15069
  });
@@ -15092,7 +15092,7 @@ function zN({
15092
15092
  context: e,
15093
15093
  instance: t
15094
15094
  }) {
15095
- const n = Sr({
15095
+ const n = Cr({
15096
15096
  vizManager: e.vizManager,
15097
15097
  instance: t
15098
15098
  }), {
@@ -15148,7 +15148,7 @@ function zN({
15148
15148
  })]
15149
15149
  });
15150
15150
  }
15151
- const Vd = Ht(({
15151
+ const Vd = Bt(({
15152
15152
  value: e,
15153
15153
  onChange: t
15154
15154
  }, n) => {
@@ -16200,7 +16200,7 @@ const JN = ({
16200
16200
  }, {
16201
16201
  label: "Dynamic",
16202
16202
  value: "dynamic"
16203
- }], Mb = Ht(({
16203
+ }], Mb = Bt(({
16204
16204
  label: e = "Size",
16205
16205
  value: t,
16206
16206
  onChange: n,
@@ -16963,7 +16963,7 @@ function gI({
16963
16963
  control: e,
16964
16964
  render: ({
16965
16965
  field: r
16966
- }) => /* @__PURE__ */ s(wr, {
16966
+ }) => /* @__PURE__ */ s(_r, {
16967
16967
  ...r
16968
16968
  })
16969
16969
  })]
@@ -17095,7 +17095,7 @@ function vI({
17095
17095
  ue(() => {
17096
17096
  d(i);
17097
17097
  }, [i]);
17098
- const h = u(), f = Y(() => !Kt(h, i), [h, i]);
17098
+ const h = u(), f = Y(() => !Ht(h, i), [h, i]);
17099
17099
  return c(["dataZoom"]), /* @__PURE__ */ s(W, {
17100
17100
  spacing: "xs",
17101
17101
  children: /* @__PURE__ */ v("form", {
@@ -17230,7 +17230,7 @@ function yI(e) {
17230
17230
  function bI(e) {
17231
17231
  const {
17232
17232
  rotate: t,
17233
- formatter: n = yr
17233
+ formatter: n = br
17234
17234
  } = e.x_axis.axisLabel;
17235
17235
  return {
17236
17236
  ...e,
@@ -17457,7 +17457,7 @@ class DI extends un {
17457
17457
  } = n;
17458
17458
  return (o.variables || []).forEach((l) => {
17459
17459
  r.variables.find((c) => c.name === l.name) || r.addVariable(l);
17460
- }), (xt(o, "stats.variables") || []).forEach((l) => {
17460
+ }), (vt(o, "stats.variables") || []).forEach((l) => {
17461
17461
  r.variables.find((c) => c.name === l.name) || r.addVariable(l);
17462
17462
  }), {
17463
17463
  ...n,
@@ -17734,7 +17734,7 @@ const KI = [{
17734
17734
  }, {
17735
17735
  label: "InsideBottomRight",
17736
17736
  value: "insideBottomRight"
17737
- }], Bd = Ht(({
17737
+ }], Bd = Bt(({
17738
17738
  label: e,
17739
17739
  value: t,
17740
17740
  onChange: n,
@@ -18473,7 +18473,7 @@ const Ob = {
18473
18473
  axisLabel: {
18474
18474
  rotate: 0,
18475
18475
  overflow: Br,
18476
- formatter: { ...yr }
18476
+ formatter: { ...br }
18477
18477
  }
18478
18478
  },
18479
18479
  y_axis: {
@@ -18483,7 +18483,7 @@ const Ob = {
18483
18483
  axisLabel: {
18484
18484
  rotate: 0,
18485
18485
  overflow: Br,
18486
- formatter: { ...yr }
18486
+ formatter: { ...br }
18487
18487
  }
18488
18488
  },
18489
18489
  heat_block: {
@@ -18509,7 +18509,7 @@ function gL({
18509
18509
  const a = Y(() => {
18510
18510
  const h = e.x_axis.data_key, f = e.y_axis.data_key;
18511
18511
  return q.keyBy(t, (p) => `${p[h]}---${p[f]}`);
18512
- }, [t, e.x_axis.data_key]), l = xr(o.triggerManager, Ob.id), c = dt((h) => {
18512
+ }, [t, e.x_axis.data_key]), l = wr(o.triggerManager, Ob.id), c = dt((h) => {
18513
18513
  const [f, p] = h.value, g = q.get(a, `${f}---${p}`, {
18514
18514
  error: "rowData is not found"
18515
18515
  });
@@ -18538,7 +18538,7 @@ function mL({
18538
18538
  context: e,
18539
18539
  instance: t
18540
18540
  }) {
18541
- const n = Sr({
18541
+ const n = Cr({
18542
18542
  vizManager: e.vizManager,
18543
18543
  instance: t
18544
18544
  }), {
@@ -18628,7 +18628,7 @@ function vL({
18628
18628
  control: t,
18629
18629
  render: ({
18630
18630
  field: r
18631
- }) => /* @__PURE__ */ s(wr, {
18631
+ }) => /* @__PURE__ */ s(_r, {
18632
18632
  ...r
18633
18633
  })
18634
18634
  })]
@@ -18808,7 +18808,7 @@ const wL = ({
18808
18808
  enabled: !1,
18809
18809
  func_content: ["function label(value, index) {", " // your code goes here", " // return value", "}"].join(`
18810
18810
  `)
18811
- }, Rb = Ht(({
18811
+ }, Rb = Bt(({
18812
18812
  value: e,
18813
18813
  onChange: t
18814
18814
  }, n) => {
@@ -19118,7 +19118,7 @@ function kL({
19118
19118
  set: n
19119
19119
  } = Ye(e.instanceData, "config"), r = e.data, o = Y(() => Qt({}, t, jd), [t]), i = Y(() => q.cloneDeep(o), [o]);
19120
19120
  ue(() => {
19121
- !Kt(o, i) && (console.log("config malformed, resetting to defaults", o, i), n(i));
19121
+ !Ht(o, i) && (console.log("config malformed, resetting to defaults", o, i), n(i));
19122
19122
  }, [o, i]);
19123
19123
  const {
19124
19124
  control: a,
@@ -19132,7 +19132,7 @@ function kL({
19132
19132
  ue(() => {
19133
19133
  d(i);
19134
19134
  }, [i]);
19135
- const h = u(), f = Y(() => !Kt(h, o), [h, o]);
19135
+ const h = u(), f = Y(() => !Ht(h, o), [h, o]);
19136
19136
  return /* @__PURE__ */ s(W, {
19137
19137
  spacing: "xs",
19138
19138
  children: /* @__PURE__ */ v("form", {
@@ -19285,7 +19285,7 @@ const Ab = {
19285
19285
  data_key: "",
19286
19286
  axisLabel: {
19287
19287
  rotate: 0,
19288
- formatter: { ...yr },
19288
+ formatter: { ...br },
19289
19289
  overflow: Br
19290
19290
  }
19291
19291
  },
@@ -19551,10 +19551,10 @@ function HL({
19551
19551
  } = Ye(e.instanceData, "config"), r = e.data, {
19552
19552
  width: o,
19553
19553
  height: i
19554
- } = e.viewport, a = en({}, n, Kd), l = FL(a, r), c = Sr({
19554
+ } = e.viewport, a = en({}, n, Kd), l = FL(a, r), c = Cr({
19555
19555
  vizManager: e.vizManager,
19556
19556
  instance: t
19557
- }), u = xr(c.triggerManager, Db.id), d = Y(() => q.keyBy(r, a.x_axis.data_key), [r, a.x_axis.data_key]), h = dt((p) => {
19557
+ }), u = wr(c.triggerManager, Db.id), d = Y(() => q.keyBy(r, a.x_axis.data_key), [r, a.x_axis.data_key]), h = dt((p) => {
19558
19558
  const g = q.get(d, p.name, {
19559
19559
  error: "rowData is not found"
19560
19560
  });
@@ -19649,7 +19649,7 @@ function jL({
19649
19649
  control: t,
19650
19650
  render: ({
19651
19651
  field: r
19652
- }) => /* @__PURE__ */ s(wr, {
19652
+ }) => /* @__PURE__ */ s(_r, {
19653
19653
  ...r
19654
19654
  })
19655
19655
  })]
@@ -19932,7 +19932,7 @@ function QL({
19932
19932
  ue(() => {
19933
19933
  u(o);
19934
19934
  }, [o]), l(["x_axis", "data_key", "bar", "line", "dataZoom"]);
19935
- const d = c(), h = Y(() => !Kt(d, t), [d, t]);
19935
+ const d = c(), h = Y(() => !Ht(d, t), [d, t]);
19936
19936
  return /* @__PURE__ */ v("form", {
19937
19937
  onSubmit: a(n),
19938
19938
  children: [/* @__PURE__ */ v(F, {
@@ -20062,7 +20062,7 @@ function ez(e) {
20062
20062
  const t = q.defaultsDeep({}, e.x_axis.axisLabel, {
20063
20063
  rotate: 0,
20064
20064
  formatter: {
20065
- ...yr
20065
+ ...br
20066
20066
  }
20067
20067
  });
20068
20068
  return {
@@ -20559,7 +20559,7 @@ function yz({
20559
20559
  interactionManager: o,
20560
20560
  variables: i
20561
20561
  }) {
20562
- const a = Y(() => q.keyBy(t, e.series_name_key), [t, e.series_name_key]), l = xr(o.triggerManager, $b.id), c = dt((h) => {
20562
+ const a = Y(() => q.keyBy(t, e.series_name_key), [t, e.series_name_key]), l = wr(o.triggerManager, $b.id), c = dt((h) => {
20563
20563
  const f = q.get(a, h.name, {
20564
20564
  error: "rowData is not found"
20565
20565
  });
@@ -20588,7 +20588,7 @@ function bz({
20588
20588
  context: e,
20589
20589
  instance: t
20590
20590
  }) {
20591
- const n = Sr({
20591
+ const n = Cr({
20592
20592
  vizManager: e.vizManager,
20593
20593
  instance: t
20594
20594
  }), {
@@ -20680,7 +20680,7 @@ function xz({
20680
20680
  control: e,
20681
20681
  render: ({
20682
20682
  field: o
20683
- }) => /* @__PURE__ */ s(wr, {
20683
+ }) => /* @__PURE__ */ s(_r, {
20684
20684
  ...o
20685
20685
  })
20686
20686
  })]
@@ -20793,7 +20793,7 @@ function _z({
20793
20793
  ue(() => {
20794
20794
  u(o);
20795
20795
  }, [o]), l(["series_name_key", "background", "label"]);
20796
- const d = c(), h = Y(() => !Kt(d, o), [d, o]);
20796
+ const d = c(), h = Y(() => !Ht(d, o), [d, o]);
20797
20797
  return /* @__PURE__ */ s("form", {
20798
20798
  onSubmit: a(n),
20799
20799
  children: /* @__PURE__ */ v(W, {
@@ -21444,7 +21444,7 @@ function Iz({
21444
21444
  ue(() => {
21445
21445
  u(o);
21446
21446
  }, [o]), l(["x_axis", "y_axis", "regression"]);
21447
- const d = c(), h = Y(() => !Kt(d, t), [d, t]);
21447
+ const d = c(), h = Y(() => !Ht(d, t), [d, t]);
21448
21448
  return /* @__PURE__ */ s(W, {
21449
21449
  spacing: "xs",
21450
21450
  children: /* @__PURE__ */ v("form", {
@@ -21588,7 +21588,7 @@ function Vz({
21588
21588
  }
21589
21589
  }) : null;
21590
21590
  }
21591
- const qd = Ht(({
21591
+ const qd = Bt(({
21592
21592
  value: e,
21593
21593
  onChange: t,
21594
21594
  styles: n = {},
@@ -22207,7 +22207,7 @@ function aV({
22207
22207
  interactionManager: o,
22208
22208
  variables: i
22209
22209
  }) {
22210
- const a = Y(() => q.keyBy(t, e.x_axis.data_key), [t, e.x_axis.data_key]), l = xr(o.triggerManager, Nb.id), c = dt((h) => {
22210
+ const a = Y(() => q.keyBy(t, e.x_axis.data_key), [t, e.x_axis.data_key]), l = wr(o.triggerManager, Nb.id), c = dt((h) => {
22211
22211
  const f = h.value[0], p = q.get(a, f, {
22212
22212
  error: "rowData is not found"
22213
22213
  });
@@ -22236,7 +22236,7 @@ function sV({
22236
22236
  context: e,
22237
22237
  instance: t
22238
22238
  }) {
22239
- const n = Sr({
22239
+ const n = Cr({
22240
22240
  vizManager: e.vizManager,
22241
22241
  instance: t
22242
22242
  }), {
@@ -22292,7 +22292,7 @@ function sV({
22292
22292
  })]
22293
22293
  });
22294
22294
  }
22295
- const lV = Ht(({
22295
+ const lV = Bt(({
22296
22296
  value: e,
22297
22297
  onChange: t,
22298
22298
  xAxisOptions: n,
@@ -22931,7 +22931,7 @@ const gV = ({
22931
22931
  }, {
22932
22932
  label: "Dynamic",
22933
22933
  value: "dynamic"
22934
- }], xV = Ht(({
22934
+ }], xV = Bt(({
22935
22935
  label: e = "Color",
22936
22936
  value: t,
22937
22937
  onChange: n,
@@ -22962,7 +22962,7 @@ const gV = ({
22962
22962
  data: r
22963
22963
  })]
22964
22964
  });
22965
- }), wV = Ht(({
22965
+ }), wV = Bt(({
22966
22966
  value: e,
22967
22967
  onChange: t
22968
22968
  }, n) => {
@@ -23143,7 +23143,7 @@ const gV = ({
23143
23143
  }, {
23144
23144
  label: "Dynamic",
23145
23145
  value: "dynamic"
23146
- }], TV = Ht(({
23146
+ }], TV = Bt(({
23147
23147
  label: e = "Size",
23148
23148
  value: t,
23149
23149
  onChange: n,
@@ -23514,7 +23514,7 @@ const PV = ({
23514
23514
  readOnly: e
23515
23515
  }
23516
23516
  })]
23517
- }), NV = Ht(({
23517
+ }), NV = Bt(({
23518
23518
  value: e,
23519
23519
  onChange: t
23520
23520
  }, n) => {
@@ -23780,7 +23780,7 @@ function VV({
23780
23780
  control: e,
23781
23781
  render: ({
23782
23782
  field: r
23783
- }) => /* @__PURE__ */ s(wr, {
23783
+ }) => /* @__PURE__ */ s(_r, {
23784
23784
  ...r
23785
23785
  })
23786
23786
  })]
@@ -23905,7 +23905,7 @@ function jV({
23905
23905
  variables: r
23906
23906
  } = e, o = e.data, i = Y(() => Qt({}, t, Ud), [t]), a = Y(() => BV(i), [i]);
23907
23907
  ue(() => {
23908
- !Kt(i, a) && (console.log("config malformed, resetting to defaults", i, a), n(a));
23908
+ !Ht(i, a) && (console.log("config malformed, resetting to defaults", i, a), n(a));
23909
23909
  }, [i, a]);
23910
23910
  const {
23911
23911
  control: l,
@@ -23919,7 +23919,7 @@ function jV({
23919
23919
  ue(() => {
23920
23920
  h(a);
23921
23921
  }, [a]);
23922
- const f = d(), p = Y(() => !Kt(f, i), [f, i]);
23922
+ const f = d(), p = Y(() => !Ht(f, i), [f, i]);
23923
23923
  return u(["dataZoom"]), /* @__PURE__ */ s(W, {
23924
23924
  spacing: "xs",
23925
23925
  children: /* @__PURE__ */ v("form", {
@@ -24217,7 +24217,7 @@ function QV(e) {
24217
24217
  return Ao(e, ["variables"]);
24218
24218
  }
24219
24219
  function ZV(e) {
24220
- const t = vn(e), n = xt(t, "color.valueRange");
24220
+ const t = vn(e), n = vt(t, "color.valueRange");
24221
24221
  return n !== void 0 && qu(
24222
24222
  t,
24223
24223
  "color.valueRange",
@@ -24927,7 +24927,7 @@ const CF = {
24927
24927
  };
24928
24928
  }
24929
24929
  };
24930
- var pr = /* @__PURE__ */ ((e) => (e.string = "string", e.number = "number", e.eloc = "eloc", e.percentage = "percentage", e.custom = "custom", e))(pr || {});
24930
+ var gr = /* @__PURE__ */ ((e) => (e.string = "string", e.number = "number", e.eloc = "eloc", e.percentage = "percentage", e.custom = "custom", e))(gr || {});
24931
24931
  const Fb = [
24932
24932
  "function text({ value }) {",
24933
24933
  " // your code goes here",
@@ -25598,7 +25598,7 @@ Zd.resolveFilterValue = (e) => {
25598
25598
  return [i, a];
25599
25599
  };
25600
25600
  Zd.autoRemove = (e) => ir(e) || ir(e[0]) && ir(e[1]);
25601
- const Or = {
25601
+ const Rr = {
25602
25602
  includesString: Hb,
25603
25603
  includesStringSensitive: Bb,
25604
25604
  equalsString: jb,
@@ -25635,11 +25635,11 @@ const DF = {
25635
25635
  createColumn: (e, t) => ({
25636
25636
  getAutoFilterFn: () => {
25637
25637
  const n = t.getCoreRowModel().flatRows[0], r = n == null ? void 0 : n.getValue(e.id);
25638
- return typeof r == "string" ? Or.includesString : typeof r == "number" ? Or.inNumberRange : typeof r == "boolean" || r !== null && typeof r == "object" ? Or.equals : Array.isArray(r) ? Or.arrIncludes : Or.weakEquals;
25638
+ return typeof r == "string" ? Rr.includesString : typeof r == "number" ? Rr.inNumberRange : typeof r == "boolean" || r !== null && typeof r == "object" ? Rr.equals : Array.isArray(r) ? Rr.arrIncludes : Rr.weakEquals;
25639
25639
  },
25640
25640
  getFilterFn: () => {
25641
25641
  var n, r;
25642
- return Zs(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (n = (r = t.options.filterFns) == null ? void 0 : r[e.columnDef.filterFn]) != null ? n : Or[e.columnDef.filterFn];
25642
+ return Zs(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : (n = (r = t.options.filterFns) == null ? void 0 : r[e.columnDef.filterFn]) != null ? n : Rr[e.columnDef.filterFn];
25643
25643
  },
25644
25644
  getCanFilter: () => {
25645
25645
  var n, r, o;
@@ -25691,13 +25691,13 @@ const DF = {
25691
25691
  columnFiltersMeta: {}
25692
25692
  }),
25693
25693
  createTable: (e) => ({
25694
- getGlobalAutoFilterFn: () => Or.includesString,
25694
+ getGlobalAutoFilterFn: () => Rr.includesString,
25695
25695
  getGlobalFilterFn: () => {
25696
25696
  var t, n;
25697
25697
  const {
25698
25698
  globalFilterFn: r
25699
25699
  } = e.options;
25700
- return Zs(r) ? r : r === "auto" ? e.getGlobalAutoFilterFn() : (t = (n = e.options.filterFns) == null ? void 0 : n[r]) != null ? t : Or[r];
25700
+ return Zs(r) ? r : r === "auto" ? e.getGlobalAutoFilterFn() : (t = (n = e.options.filterFns) == null ? void 0 : n[r]) != null ? t : Rr[r];
25701
25701
  },
25702
25702
  setColumnFilters: (t) => {
25703
25703
  const n = e.getAllLeafColumns(), r = (o) => {
@@ -27068,7 +27068,7 @@ class y4 {
27068
27068
  }
27069
27069
  getRelatedTrigger() {
27070
27070
  return this.triggers.filter((n) => n.schemaRef === tf.id).filter((n) => {
27071
- const r = this.getColIndex(this.cell), o = xt(this.cell.column.columnDef.meta, "value_field"), i = xt(n.config, "column");
27071
+ const r = this.getColIndex(this.cell), o = vt(this.cell.column.columnDef.meta, "value_field"), i = vt(n.config, "column");
27072
27072
  return i == r || i == o;
27073
27073
  });
27074
27074
  }
@@ -27172,32 +27172,32 @@ function k4(e) {
27172
27172
  }
27173
27173
  function T4(e) {
27174
27174
  switch (e.type) {
27175
- case pr.string:
27175
+ case gr.string:
27176
27176
  return /* @__PURE__ */ s(_4, {
27177
27177
  ...e
27178
27178
  });
27179
- case pr.eloc:
27179
+ case gr.eloc:
27180
27180
  return /* @__PURE__ */ s(S4, {
27181
27181
  ...e
27182
27182
  });
27183
- case pr.number:
27183
+ case gr.number:
27184
27184
  return /* @__PURE__ */ s(C4, {
27185
27185
  ...e
27186
27186
  });
27187
- case pr.percentage:
27187
+ case gr.percentage:
27188
27188
  return /* @__PURE__ */ s(E4, {
27189
27189
  ...e
27190
27190
  });
27191
- case pr.custom:
27191
+ case gr.custom:
27192
27192
  return /* @__PURE__ */ s(k4, {
27193
27193
  ...e
27194
27194
  });
27195
27195
  }
27196
27196
  }
27197
27197
  const M4 = (e) => {
27198
- const t = Sr(e), n = xr(t.triggerManager, tf.id), {
27198
+ const t = Cr(e), n = wr(t.triggerManager, tf.id), {
27199
27199
  colorManager: r
27200
- } = wn(_r);
27200
+ } = wn(Sr);
27201
27201
  return dt((o) => new y4(e.getColIndex, o, n, t, r), [n, t, e.getColIndex]);
27202
27202
  };
27203
27203
  function O4({
@@ -27221,7 +27221,7 @@ function O4({
27221
27221
  id: N,
27222
27222
  label: N,
27223
27223
  value_field: N,
27224
- value_type: pr.string,
27224
+ value_type: gr.string,
27225
27225
  align: "left"
27226
27226
  })) : l, [a, l, n]), f = M4({
27227
27227
  getColIndex: dt((N) => h.indexOf(N.column.columnDef.meta), [h]),
@@ -27586,10 +27586,10 @@ function V4(e, t) {
27586
27586
  interpolation: e.encodeColor(e.getColorInterpolations()[0])
27587
27587
  };
27588
27588
  }
27589
- const F4 = Ht((e, t) => {
27589
+ const F4 = Bt((e, t) => {
27590
27590
  const {
27591
27591
  colorManager: n
27592
- } = wn(_r), [r, o] = ze(n0(e.value)), [i, a] = ze(z4(n, e.value)), l = qf(i), [c, u] = ze(V4(n, e.value)), d = qf(c);
27592
+ } = wn(Sr), [r, o] = ze(n0(e.value)), [i, a] = ze(z4(n, e.value)), l = qf(i), [c, u] = ze(V4(n, e.value)), d = qf(c);
27593
27593
  return /* @__PURE__ */ v(W, {
27594
27594
  align: "stretch",
27595
27595
  children: [/* @__PURE__ */ s(ve, {
@@ -27615,10 +27615,10 @@ const F4 = Ht((e, t) => {
27615
27615
  }
27616
27616
  })]
27617
27617
  });
27618
- }), H4 = Object.values(pr).map((e) => ({
27618
+ }), H4 = Object.values(gr).map((e) => ({
27619
27619
  label: e,
27620
27620
  value: e
27621
- })), B4 = Ht(({
27621
+ })), B4 = Bt(({
27622
27622
  label: e,
27623
27623
  value: t,
27624
27624
  onChange: n,
@@ -27630,7 +27630,7 @@ const F4 = Ht((e, t) => {
27630
27630
  value: t,
27631
27631
  onChange: n,
27632
27632
  sx: r
27633
- })), j4 = Ht(({
27633
+ })), j4 = Bt(({
27634
27634
  value: e,
27635
27635
  onChange: t
27636
27636
  }, n) => {
@@ -27773,7 +27773,7 @@ const F4 = Ht((e, t) => {
27773
27773
  },
27774
27774
  ...l
27775
27775
  })
27776
- }), a === pr.custom && /* @__PURE__ */ s(D, {
27776
+ }), a === gr.custom && /* @__PURE__ */ s(D, {
27777
27777
  name: `columns.${t}.func_content`,
27778
27778
  control: e,
27779
27779
  render: ({
@@ -27870,7 +27870,7 @@ const F4 = Ht((e, t) => {
27870
27870
  id: u,
27871
27871
  label: u,
27872
27872
  value_field: "value",
27873
- value_type: pr.string
27873
+ value_type: gr.string
27874
27874
  });
27875
27875
  };
27876
27876
  t("columns");
@@ -28053,7 +28053,7 @@ function Y4({
28053
28053
  set: n
28054
28054
  } = Ye(e.instanceData, "config"), r = e.data, o = Y(() => Qt({}, t, Qd), [t]), i = Y(() => U4(o), [o]);
28055
28055
  ue(() => {
28056
- !Kt(o, i) && (console.log("config malformed, resetting to defaults", o, i), n(i));
28056
+ !Ht(o, i) && (console.log("config malformed, resetting to defaults", o, i), n(i));
28057
28057
  }, [o, i]);
28058
28058
  const {
28059
28059
  control: a,
@@ -28067,7 +28067,7 @@ function Y4({
28067
28067
  ue(() => {
28068
28068
  d(i);
28069
28069
  }, [i]);
28070
- const h = u(), f = Y(() => !Kt(h, o), [h, o]);
28070
+ const h = u(), f = Y(() => !Ht(h, o), [h, o]);
28071
28071
  return c(["id_field"]), /* @__PURE__ */ v("form", {
28072
28072
  onSubmit: l(n),
28073
28073
  children: [/* @__PURE__ */ v(F, {
@@ -28261,7 +28261,7 @@ const Cu = {
28261
28261
  }
28262
28262
  }
28263
28263
  })
28264
- }), e3 = Ht(({
28264
+ }), e3 = Bt(({
28265
28265
  value: e,
28266
28266
  onChange: t
28267
28267
  }, n) => {
@@ -28353,7 +28353,7 @@ function n3({
28353
28353
  };
28354
28354
  }, [r]);
28355
28355
  ue(() => {
28356
- !Kt(r, o) && (console.log("config malformed, resetting to defaults", r, o), n(o));
28356
+ !Ht(r, o) && (console.log("config malformed, resetting to defaults", r, o), n(o));
28357
28357
  }, [r, o]);
28358
28358
  const {
28359
28359
  control: i,
@@ -28644,7 +28644,7 @@ function u3({
28644
28644
  ue(() => {
28645
28645
  c(r);
28646
28646
  }, [r]), a(["expertSystemURL", "goal", "path", "question"]);
28647
- const u = l(), d = Y(() => !Kt(u, r), [u, r]);
28647
+ const u = l(), d = Y(() => !Ht(u, r), [u, r]);
28648
28648
  return /* @__PURE__ */ s("form", {
28649
28649
  onSubmit: i(n),
28650
28650
  children: /* @__PURE__ */ v(W, {
@@ -28992,7 +28992,7 @@ function O3({
28992
28992
  const a = Y(() => {
28993
28993
  const h = e.calendar.data_key;
28994
28994
  return q.keyBy(t, h);
28995
- }, [t, e.calendar.data_key]), l = xr(o.triggerManager, o0.id), c = dt((h) => {
28995
+ }, [t, e.calendar.data_key]), l = wr(o.triggerManager, o0.id), c = dt((h) => {
28996
28996
  const [f, p] = h.value, g = q.get(a, f, {
28997
28997
  error: "rowData is not found"
28998
28998
  });
@@ -29025,7 +29025,7 @@ function R3({
29025
29025
  context: e,
29026
29026
  instance: t
29027
29027
  }) {
29028
- const n = Sr({
29028
+ const n = Cr({
29029
29029
  vizManager: e.vizManager,
29030
29030
  instance: t
29031
29031
  }), {
@@ -29115,7 +29115,7 @@ function D3({
29115
29115
  control: t,
29116
29116
  render: ({
29117
29117
  field: r
29118
- }) => /* @__PURE__ */ s(wr, {
29118
+ }) => /* @__PURE__ */ s(_r, {
29119
29119
  ...r
29120
29120
  })
29121
29121
  })]
@@ -29319,7 +29319,7 @@ function L3({
29319
29319
  set: n
29320
29320
  } = Ye(e.instanceData, "config"), r = e.data, o = Y(() => Qt({}, t, of), [t]), i = Y(() => q.cloneDeep(o), [o]);
29321
29321
  ue(() => {
29322
- !Kt(o, i) && (console.log("config malformed, resetting to defaults", o, i), n(i));
29322
+ !Ht(o, i) && (console.log("config malformed, resetting to defaults", o, i), n(i));
29323
29323
  }, [o, i]);
29324
29324
  const {
29325
29325
  control: a,
@@ -29333,7 +29333,7 @@ function L3({
29333
29333
  ue(() => {
29334
29334
  d(i);
29335
29335
  }, [i]);
29336
- const h = u(), f = Y(() => !Kt(h, o), [h, o]);
29336
+ const h = u(), f = Y(() => !Ht(h, o), [h, o]);
29337
29337
  return /* @__PURE__ */ s(W, {
29338
29338
  spacing: "xs",
29339
29339
  children: /* @__PURE__ */ v("form", {
@@ -29748,7 +29748,7 @@ const sf = {
29748
29748
  name: "Y Axis",
29749
29749
  data_key: "",
29750
29750
  axisLabel: {
29751
- formatter: { ...yr },
29751
+ formatter: { ...br },
29752
29752
  overflow: Br
29753
29753
  },
29754
29754
  nameAlignment: "center"
@@ -29819,7 +29819,7 @@ function a5({
29819
29819
  interactionManager: o,
29820
29820
  variables: i
29821
29821
  }) {
29822
- const a = Y(() => q.keyBy(t, e.y_axis.data_key), [t, e.y_axis.data_key]), l = xr(o.triggerManager, Nd.id), c = dt((h) => {
29822
+ const a = Y(() => q.keyBy(t, e.y_axis.data_key), [t, e.y_axis.data_key]), l = wr(o.triggerManager, Nd.id), c = dt((h) => {
29823
29823
  const f = q.get(a, h.name, {
29824
29824
  error: "rowData is not found"
29825
29825
  });
@@ -29848,7 +29848,7 @@ function s5({
29848
29848
  context: e,
29849
29849
  instance: t
29850
29850
  }) {
29851
- const n = Sr({
29851
+ const n = Cr({
29852
29852
  vizManager: e.vizManager,
29853
29853
  instance: t
29854
29854
  }), {
@@ -30580,7 +30580,7 @@ function b5({
30580
30580
  control: e,
30581
30581
  render: ({
30582
30582
  field: r
30583
- }) => /* @__PURE__ */ s(wr, {
30583
+ }) => /* @__PURE__ */ s(_r, {
30584
30584
  ...r
30585
30585
  })
30586
30586
  })]
@@ -30938,16 +30938,16 @@ const C5 = {
30938
30938
  color: [...E5, ...k5]
30939
30939
  }
30940
30940
  }), Ui = new F$(), an = {
30941
- pluginManager: Tr("pluginManager"),
30942
- vizManager: Tr("vizManager"),
30943
- colorManager: Tr("colorManager"),
30941
+ pluginManager: Mr("pluginManager"),
30942
+ vizManager: Mr("vizManager"),
30943
+ colorManager: Mr("colorManager"),
30944
30944
  instanceScope: {
30945
- panelModel: Tr("panelModel"),
30946
- vizInstance: Tr("vizInstance"),
30947
- interactionManager: Tr("interactionManager"),
30948
- migrator: Tr("migrator"),
30949
- operationManager: Tr("operationManager"),
30950
- triggerManager: Tr("triggerManager")
30945
+ panelModel: Mr("panelModel"),
30946
+ vizInstance: Mr("vizInstance"),
30947
+ interactionManager: Mr("interactionManager"),
30948
+ migrator: Mr("migrator"),
30949
+ operationManager: Mr("operationManager"),
30950
+ triggerManager: Mr("triggerManager")
30951
30951
  }
30952
30952
  }, lf = () => {
30953
30953
  try {
@@ -30960,7 +30960,7 @@ const C5 = {
30960
30960
  vizManager: e,
30961
30961
  colorManager: t
30962
30962
  };
30963
- }, _r = Vo(lf());
30963
+ }, Sr = Vo(lf());
30964
30964
  try {
30965
30965
  Ui.install(i0());
30966
30966
  } catch {
@@ -31337,9 +31337,9 @@ class U5 {
31337
31337
  (n) => {
31338
31338
  const r = cm(n).map(
31339
31339
  (o) => ({
31340
- id: xt(o, "id"),
31341
- schemaRef: xt(o, "schemaRef"),
31342
- config: La(xt(o, "data.config"))
31340
+ id: vt(o, "id"),
31341
+ schemaRef: vt(o, "schemaRef"),
31342
+ config: La(vt(o, "data.config"))
31343
31343
  })
31344
31344
  );
31345
31345
  t(r);
@@ -31440,7 +31440,7 @@ class cf {
31440
31440
  );
31441
31441
  }
31442
31442
  }
31443
- const Sr = ({
31443
+ const Cr = ({
31444
31444
  vizManager: e,
31445
31445
  instance: t
31446
31446
  }) => sr(
@@ -31777,7 +31777,7 @@ const cH = J(({
31777
31777
  data: t
31778
31778
  } = On(), n = e.viz, {
31779
31779
  vizManager: r
31780
- } = wn(_r), o = e.json, i = sr(() => r.getOrCreateInstance(o), [r, o]), a = sr(() => new cf(i, r.resolveComponent(n.type), Hl), [i, n.type]);
31780
+ } = wn(Sr), o = e.json, i = sr(() => r.getOrCreateInstance(o), [r, o]), a = sr(() => new cf(i, r.resolveComponent(n.type), Hl), [i, n.type]);
31781
31781
  return ue(() => i.instanceData.watchItem(
31782
31782
  null,
31783
31783
  Yw((l) => {
@@ -31913,7 +31913,7 @@ function gH(e) {
31913
31913
  function mH(e, t) {
31914
31914
  const {
31915
31915
  vizManager: n
31916
- } = wn(_r), {
31916
+ } = wn(Sr), {
31917
31917
  panel: {
31918
31918
  viz: r,
31919
31919
  title: o,
@@ -31942,7 +31942,7 @@ function mH(e, t) {
31942
31942
  })
31943
31943
  });
31944
31944
  } catch (h) {
31945
- return console.info(xt(h, "message")), null;
31945
+ return console.info(vt(h, "message")), null;
31946
31946
  }
31947
31947
  }
31948
31948
  const vH = ["richText", "button"], d0 = J(function({
@@ -32651,7 +32651,7 @@ function KH(e, t) {
32651
32651
  let n = jH(e);
32652
32652
  return n += "&key=" + t, Tm.MD5(n).toString().toUpperCase();
32653
32653
  }
32654
- const mr = {
32654
+ const vr = {
32655
32655
  baseURL: "http://localhost:31200",
32656
32656
  app_id: "",
32657
32657
  app_secret: "",
@@ -32692,7 +32692,7 @@ const mr = {
32692
32692
  }
32693
32693
  };
32694
32694
  function h0(e) {
32695
- mr.baseURL !== e.apiBaseURL && (mr.baseURL = e.apiBaseURL), e.app_id && (mr.app_id = e.app_id), e.app_secret && (mr.app_secret = e.app_secret);
32695
+ vr.baseURL !== e.apiBaseURL && (vr.baseURL = e.apiBaseURL), e.app_id && (vr.app_id = e.app_id), e.app_secret && (vr.app_secret = e.app_secret);
32696
32696
  }
32697
32697
  const p0 = R.model("FilterConfigModel_Checkbox", {
32698
32698
  _name: R.literal("checkbox"),
@@ -33495,20 +33495,20 @@ async function pB({ context: e, mock_context: t, sqlSnippets: n, query: r, filte
33495
33495
  if (!r.sql)
33496
33496
  return [];
33497
33497
  const { type: a, key: l, sql: c, pre_process: u, post_process: d } = r, h = pf(e, t, n, o), f = hf(c, h), p = fB({ sql: f, pre_process: u });
33498
- let g = await mr.getRequest("POST", i)("/query", { type: a, key: l, query: p }, {});
33498
+ let g = await vr.getRequest("POST", i)("/query", { type: a, key: l, query: p }, {});
33499
33499
  return g = hB(d, g), g;
33500
33500
  }
33501
33501
  async function gB({ context: e, mock_context: t, query: n, filterValues: r, datasource: o }, i) {
33502
33502
  const { type: a, key: l, name: c, pre_process: u, post_process: d } = n;
33503
33503
  let h = sB(u, e, t, r);
33504
33504
  console.groupCollapsed(`Request config for: ${c}`), console.log(h), console.groupEnd(), h = lB(o, h);
33505
- const f = JSON.stringify(h), p = await mr.getRequest("POST", i)("/query", { type: a, key: l, query: f }, {});
33505
+ const f = JSON.stringify(h), p = await vr.getRequest("POST", i)("/query", { type: a, key: l, query: f }, {});
33506
33506
  let g = cB(o, p);
33507
33507
  return g = uB(d, g), g;
33508
33508
  }
33509
33509
  async function gf() {
33510
33510
  try {
33511
- return (await mr.getRequest("POST")("/datasource/list", {
33511
+ return (await vr.getRequest("POST")("/datasource/list", {
33512
33512
  filter: {},
33513
33513
  sort: [
33514
33514
  {
@@ -33662,8 +33662,8 @@ const mB = R.model("QueryModel", {
33662
33662
  } catch (n) {
33663
33663
  if (!Mo.isCancel(n)) {
33664
33664
  e.data.length = 0;
33665
- const r = xt(n, "message", "unkown error");
33666
- e.error = xt(n, "response.data.detail.message", r), e.state = "error";
33665
+ const r = vt(n, "message", "unkown error");
33666
+ e.error = vt(n, "response.data.detail.message", r), e.state = "error";
33667
33667
  }
33668
33668
  }
33669
33669
  }
@@ -33689,8 +33689,8 @@ const mB = R.model("QueryModel", {
33689
33689
  } catch (n) {
33690
33690
  if (console.error(n), !Mo.isCancel(n)) {
33691
33691
  e.data.length = 0;
33692
- const r = xt(n, "message", "unkown error");
33693
- e.error = xt(n, "response.data.detail.message", r), e.state = "error";
33692
+ const r = vt(n, "message", "unkown error");
33693
+ e.error = vt(n, "response.data.detail.message", r), e.state = "error";
33694
33694
  }
33695
33695
  }
33696
33696
  }
@@ -34006,7 +34006,7 @@ const mB = R.model("QueryModel", {
34006
34006
  (n = e.controllers.tables) == null || n.abort(), e.controllers.tables = new AbortController(), e.tables.state = "loading";
34007
34007
  try {
34008
34008
  const r = yield* ea(
34009
- mr.getRequest("POST", e.controllers.tables.signal)(
34009
+ vr.getRequest("POST", e.controllers.tables.signal)(
34010
34010
  "/query",
34011
34011
  { type: e.type, key: e.key, query: e.tables.sql },
34012
34012
  {}
@@ -34031,7 +34031,7 @@ const mB = R.model("QueryModel", {
34031
34031
  (n = e.controllers.columns) == null || n.abort(), e.controllers.columns = new AbortController(), e.columns.state = "loading";
34032
34032
  try {
34033
34033
  e.columns.data = yield* ea(
34034
- mr.getRequest("POST", e.controllers.columns.signal)(
34034
+ vr.getRequest("POST", e.controllers.columns.signal)(
34035
34035
  "/query",
34036
34036
  { type: e.type, key: e.key, query: e.columns.sql },
34037
34037
  {}
@@ -34052,7 +34052,7 @@ const mB = R.model("QueryModel", {
34052
34052
  (n = e.controllers.indexes) == null || n.abort(), e.controllers.indexes = new AbortController(), e.indexes.state = "loading";
34053
34053
  try {
34054
34054
  e.indexes.data = yield* ea(
34055
- mr.getRequest("POST", e.controllers.indexes.signal)(
34055
+ vr.getRequest("POST", e.controllers.indexes.signal)(
34056
34056
  "/query",
34057
34057
  { type: e.type, key: e.key, query: e.indexes.sql },
34058
34058
  {}
@@ -34337,10 +34337,10 @@ class NB {
34337
34337
  this.origin = t, this.copy = E_(t), za(this, {}, { autoBind: !0, deep: !1 });
34338
34338
  }
34339
34339
  get changed() {
34340
- return !Kt(Nr(this.origin), Nr(this.copy));
34340
+ return !Ht(pr(this.origin), pr(this.copy));
34341
34341
  }
34342
34342
  commit() {
34343
- Eo(this.origin, Nr(this.copy));
34343
+ Eo(this.origin, pr(this.copy));
34344
34344
  }
34345
34345
  update(t) {
34346
34346
  Eo(this.copy, t);
@@ -34855,25 +34855,29 @@ const UB = R.model({
34855
34855
  })).views((e) => ({
34856
34856
  get filtersChanged() {
34857
34857
  const t = "filters.current";
34858
- return !Kt(Nr(xt(e, t)), xt(e.origin, t));
34858
+ return !Ht(pr(vt(e, t)), vt(e.origin, t));
34859
34859
  },
34860
34860
  get queriesChanged() {
34861
- const t = "queries.current", n = Nr(xt(e, t)).map(
34861
+ const t = "queries.current", n = pr(vt(e, t)).map(
34862
34862
  (r) => pm(r, ["id", "name", "key", "type", "sql", "run_by", "pre_process", "post_process"])
34863
34863
  );
34864
- return !Kt(n, xt(e.origin, t));
34864
+ return !Ht(n, vt(e.origin, t));
34865
34865
  },
34866
34866
  get sqlSnippetsChanged() {
34867
34867
  const t = "sqlSnippets.current";
34868
- return !Kt(Nr(xt(e, t)), xt(e.origin, t));
34868
+ return !Ht(pr(vt(e, t)), vt(e.origin, t));
34869
34869
  },
34870
34870
  get viewsChanged() {
34871
34871
  const t = "views.current";
34872
- return !Kt(Nr(xt(e, t)), xt(e.origin, t));
34872
+ return !Ht(pr(vt(e, t)), vt(e.origin, t));
34873
+ },
34874
+ get panelsChanged() {
34875
+ const t = "panels.list";
34876
+ return !Ht(pr(vt(e, t)), vt(e.origin, t));
34873
34877
  },
34874
34878
  get mockContextChanged() {
34875
34879
  const t = "mock_context.current";
34876
- return !Kt(xt(e, t), xt(e.origin, t));
34880
+ return !Ht(vt(e, t), vt(e.origin, t));
34877
34881
  }
34878
34882
  })).views((e) => ({
34879
34883
  get payloadForSQL() {
@@ -34885,7 +34889,7 @@ const UB = R.model({
34885
34889
  };
34886
34890
  },
34887
34891
  get changed() {
34888
- return e.filtersChanged || e.queriesChanged || e.sqlSnippetsChanged || e.viewsChanged || e.mockContextChanged;
34892
+ return e.filtersChanged || e.queriesChanged || e.sqlSnippetsChanged || e.viewsChanged || e.panelsChanged || e.mockContextChanged;
34889
34893
  },
34890
34894
  get data() {
34891
34895
  return e.queries.current.map(({ id: n, data: r }) => ({ id: n, data: r })).reduce((n, r) => (n[r.id] = r.data, n), {});
@@ -36471,7 +36475,7 @@ function J0(e, t) {
36471
36475
  }
36472
36476
  function Qa() {
36473
36477
  }
36474
- var _a = 0.7, nl = 1 / _a, ii = "\\s*([+-]?\\d+)\\s*", Sa = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", vr = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", t8 = /^#([0-9a-f]{3,8})$/, n8 = new RegExp(`^rgb\\(${ii},${ii},${ii}\\)$`), r8 = new RegExp(`^rgb\\(${vr},${vr},${vr}\\)$`), o8 = new RegExp(`^rgba\\(${ii},${ii},${ii},${Sa}\\)$`), i8 = new RegExp(`^rgba\\(${vr},${vr},${vr},${Sa}\\)$`), a8 = new RegExp(`^hsl\\(${Sa},${vr},${vr}\\)$`), s8 = new RegExp(`^hsla\\(${Sa},${vr},${vr},${Sa}\\)$`), mg = {
36478
+ var _a = 0.7, nl = 1 / _a, ii = "\\s*([+-]?\\d+)\\s*", Sa = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", yr = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", t8 = /^#([0-9a-f]{3,8})$/, n8 = new RegExp(`^rgb\\(${ii},${ii},${ii}\\)$`), r8 = new RegExp(`^rgb\\(${yr},${yr},${yr}\\)$`), o8 = new RegExp(`^rgba\\(${ii},${ii},${ii},${Sa}\\)$`), i8 = new RegExp(`^rgba\\(${yr},${yr},${yr},${Sa}\\)$`), a8 = new RegExp(`^hsl\\(${Sa},${yr},${yr}\\)$`), s8 = new RegExp(`^hsla\\(${Sa},${yr},${yr},${Sa}\\)$`), mg = {
36475
36479
  aliceblue: 15792383,
36476
36480
  antiquewhite: 16444375,
36477
36481
  aqua: 65535,
@@ -37008,7 +37012,7 @@ function wf(e, t) {
37008
37012
  throw new Error("too late; already scheduled");
37009
37013
  return n;
37010
37014
  }
37011
- function Cr(e, t) {
37015
+ function Er(e, t) {
37012
37016
  var n = dr(e, t);
37013
37017
  if (n.state > Ms)
37014
37018
  throw new Error("too late; already running");
@@ -37078,7 +37082,7 @@ function P8(e) {
37078
37082
  function N8(e, t) {
37079
37083
  var n, r;
37080
37084
  return function() {
37081
- var o = Cr(this, e), i = o.tween;
37085
+ var o = Er(this, e), i = o.tween;
37082
37086
  if (i !== n) {
37083
37087
  r = n = i;
37084
37088
  for (var a = 0, l = r.length; a < l; ++a)
@@ -37095,7 +37099,7 @@ function I8(e, t, n) {
37095
37099
  if (typeof n != "function")
37096
37100
  throw new Error();
37097
37101
  return function() {
37098
- var i = Cr(this, e), a = i.tween;
37102
+ var i = Er(this, e), a = i.tween;
37099
37103
  if (a !== r) {
37100
37104
  o = (r = a).slice();
37101
37105
  for (var l = { name: t, value: n }, c = 0, u = o.length; c < u; ++c)
@@ -37121,7 +37125,7 @@ function L8(e, t) {
37121
37125
  function _f(e, t, n) {
37122
37126
  var r = e._id;
37123
37127
  return e.each(function() {
37124
- var o = Cr(this, r);
37128
+ var o = Er(this, r);
37125
37129
  (o.value || (o.value = {}))[t] = n.apply(this, arguments);
37126
37130
  }), function(o) {
37127
37131
  return dr(o, r).value[t];
@@ -37226,12 +37230,12 @@ function Z8(e) {
37226
37230
  }
37227
37231
  function J8(e, t) {
37228
37232
  return function() {
37229
- Cr(this, e).duration = +t.apply(this, arguments);
37233
+ Er(this, e).duration = +t.apply(this, arguments);
37230
37234
  };
37231
37235
  }
37232
37236
  function eK(e, t) {
37233
37237
  return t = +t, function() {
37234
- Cr(this, e).duration = t;
37238
+ Er(this, e).duration = t;
37235
37239
  };
37236
37240
  }
37237
37241
  function tK(e) {
@@ -37242,7 +37246,7 @@ function nK(e, t) {
37242
37246
  if (typeof t != "function")
37243
37247
  throw new Error();
37244
37248
  return function() {
37245
- Cr(this, e).ease = t;
37249
+ Er(this, e).ease = t;
37246
37250
  };
37247
37251
  }
37248
37252
  function rK(e) {
@@ -37254,7 +37258,7 @@ function oK(e, t) {
37254
37258
  var n = t.apply(this, arguments);
37255
37259
  if (typeof n != "function")
37256
37260
  throw new Error();
37257
- Cr(this, e).ease = n;
37261
+ Er(this, e).ease = n;
37258
37262
  };
37259
37263
  }
37260
37264
  function iK(e) {
@@ -37286,7 +37290,7 @@ function lK(e) {
37286
37290
  });
37287
37291
  }
37288
37292
  function cK(e, t, n) {
37289
- var r, o, i = lK(t) ? wf : Cr;
37293
+ var r, o, i = lK(t) ? wf : Er;
37290
37294
  return function() {
37291
37295
  var a = i(this, e), l = a.on;
37292
37296
  l !== r && (o = (r = l).copy()).on(t, n), a.on = o;
@@ -37361,7 +37365,7 @@ function bK(e, t, n) {
37361
37365
  function xK(e, t) {
37362
37366
  var n, r, o, i = "style." + t, a = "end." + i, l;
37363
37367
  return function() {
37364
- var c = Cr(this, e), u = c.on, d = c.value[i] == null ? l || (l = ux(t)) : void 0;
37368
+ var c = Er(this, e), u = c.on, d = c.value[i] == null ? l || (l = ux(t)) : void 0;
37365
37369
  (u !== n || o !== d) && (r = (n = u).copy()).on(a, o = d), c.on = r;
37366
37370
  };
37367
37371
  }
@@ -37450,7 +37454,7 @@ function AK() {
37450
37454
  --o === 0 && i();
37451
37455
  } };
37452
37456
  n.each(function() {
37453
- var u = Cr(this, r), d = u.on;
37457
+ var u = Er(this, r), d = u.on;
37454
37458
  d !== e && (t = (e = d).copy(), t._.cancel.push(l), t._.interrupt.push(l), t._.end.push(c)), u.on = t;
37455
37459
  }), o === 0 && i();
37456
37460
  });
@@ -37462,23 +37466,23 @@ function jr(e, t, n, r) {
37462
37466
  function dx() {
37463
37467
  return ++$K;
37464
37468
  }
37465
- var Rr = Xa.prototype;
37469
+ var Dr = Xa.prototype;
37466
37470
  jr.prototype = {
37467
37471
  constructor: jr,
37468
37472
  select: hK,
37469
37473
  selectAll: pK,
37470
- selectChild: Rr.selectChild,
37471
- selectChildren: Rr.selectChildren,
37474
+ selectChild: Dr.selectChild,
37475
+ selectChildren: Dr.selectChildren,
37472
37476
  filter: aK,
37473
37477
  merge: sK,
37474
37478
  selection: mK,
37475
37479
  transition: DK,
37476
- call: Rr.call,
37477
- nodes: Rr.nodes,
37478
- node: Rr.node,
37479
- size: Rr.size,
37480
- empty: Rr.empty,
37481
- each: Rr.each,
37480
+ call: Dr.call,
37481
+ nodes: Dr.nodes,
37482
+ node: Dr.node,
37483
+ size: Dr.size,
37484
+ empty: Dr.empty,
37485
+ each: Dr.each,
37482
37486
  on: uK,
37483
37487
  attr: K8,
37484
37488
  attrTween: Y8,
@@ -37493,7 +37497,7 @@ jr.prototype = {
37493
37497
  ease: rK,
37494
37498
  easeVarying: iK,
37495
37499
  end: AK,
37496
- [Symbol.iterator]: Rr[Symbol.iterator]
37500
+ [Symbol.iterator]: Dr[Symbol.iterator]
37497
37501
  };
37498
37502
  function PK(e) {
37499
37503
  return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
@@ -37809,7 +37813,7 @@ function fx() {
37809
37813
  return arguments.length ? (b = +E, y) : b;
37810
37814
  }, y;
37811
37815
  }
37812
- const ql = Vo(null), KK = ql.Provider, br = {
37816
+ const ql = Vo(null), KK = ql.Provider, xr = {
37813
37817
  "001": () => "[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",
37814
37818
  "002": () => "It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",
37815
37819
  "003": (e) => `Node type "${e}" not found. Using fallback type "default".`,
@@ -37821,7 +37825,7 @@ const ql = Vo(null), KK = ql.Provider, br = {
37821
37825
  "008": (e, t) => `Couldn't create edge for ${e ? "target" : "source"} handle id: "${e ? t.targetHandle : t.sourceHandle}", edge id: ${t.id}.`,
37822
37826
  "010": () => "Handle: No node id found. Make sure to only use a Handle inside a custom Node.",
37823
37827
  "011": (e) => `Edge type "${e}" not found. Using fallback type "default".`
37824
- }, hx = br["001"]();
37828
+ }, hx = xr["001"]();
37825
37829
  function Gt(e, t) {
37826
37830
  const n = wn(ql);
37827
37831
  if (n === null)
@@ -38161,7 +38165,7 @@ const Rf = Vo(null), nW = Rf.Provider;
38161
38165
  Rf.Consumer;
38162
38166
  const rW = () => wn(Rf), oW = (e) => "id" in e && "source" in e && "target" in e, iW = ({ source: e, sourceHandle: t, target: n, targetHandle: r }) => `reactflow__edge-${e}${t || ""}-${n}${r || ""}`, Vu = (e, t) => typeof e > "u" ? "" : typeof e == "string" ? e : `${t ? `${t}__` : ""}${Object.keys(e).sort().map((r) => `${r}=${e[r]}`).join("&")}`, aW = (e, t) => t.some((n) => n.source === e.source && n.target === e.target && (n.sourceHandle === e.sourceHandle || !n.sourceHandle && !e.sourceHandle) && (n.targetHandle === e.targetHandle || !n.targetHandle && !e.targetHandle)), sW = (e, t) => {
38163
38167
  if (!e.source || !e.target)
38164
- return kf("006", br["006"]()), t;
38168
+ return kf("006", xr["006"]()), t;
38165
38169
  let n;
38166
38170
  return oW(e) ? n = { ...e } : n = {
38167
38171
  ...e,
@@ -38346,11 +38350,11 @@ const hW = () => !0, pW = (e) => ({
38346
38350
  connectionStartHandle: e.connectionStartHandle,
38347
38351
  connectOnClick: e.connectOnClick,
38348
38352
  noPanClassName: e.noPanClassName
38349
- }), Dx = Ht(({ type: e = "source", position: t = Ae.Top, isValidConnection: n = hW, isConnectable: r = !0, id: o, onConnect: i, children: a, className: l, onMouseDown: c, onTouchStart: u, ...d }, h) => {
38353
+ }), Dx = Bt(({ type: e = "source", position: t = Ae.Top, isValidConnection: n = hW, isConnectable: r = !0, id: o, onConnect: i, children: a, className: l, onMouseDown: c, onTouchStart: u, ...d }, h) => {
38350
38354
  var k, O;
38351
38355
  const f = yn(), p = rW();
38352
38356
  if (!p)
38353
- return (O = (k = f.getState()).onError) == null || O.call(k, "010", br["010"]()), null;
38357
+ return (O = (k = f.getState()).onError) == null || O.call(k, "010", xr["010"]()), null;
38354
38358
  const { connectionStartHandle: g, connectOnClick: m, noPanClassName: b } = Gt(pW, Mn), y = o || null, w = e === "target", _ = (L) => {
38355
38359
  const { defaultEdgeOptions: H, onConnect: A, hasDefaultEdges: T } = f.getState(), P = {
38356
38360
  ...H,
@@ -38487,13 +38491,13 @@ var Wo = (e) => {
38487
38491
  if (A)
38488
38492
  return null;
38489
38493
  const Me = (tt) => {
38490
- const { edges: yt, addSelectedEdges: De } = se.getState();
38494
+ const { edges: bt, addSelectedEdges: De } = se.getState();
38491
38495
  if (H && (se.setState({ nodesSelectionActive: !1 }), De([n])), a) {
38492
- const Ke = yt.find((ct) => ct.id === n);
38496
+ const Ke = bt.find((ct) => ct.id === n);
38493
38497
  a(tt, Ke);
38494
38498
  }
38495
- }, _e = ji(n, se.getState, l), $e = ji(n, se.getState, V), Le = ji(n, se.getState, E), we = ji(n, se.getState, N), et = ji(n, se.getState, $), je = (tt, yt) => {
38496
- const De = yt ? w : y, Ke = (yt ? P : T) || null, ct = yt ? "target" : "source", Bt = () => !0, bt = yt, qt = se.getState().edges.find((Ut) => Ut.id === n);
38499
+ }, _e = ji(n, se.getState, l), $e = ji(n, se.getState, V), Le = ji(n, se.getState, E), we = ji(n, se.getState, N), et = ji(n, se.getState, $), je = (tt, bt) => {
38500
+ const De = bt ? w : y, Ke = (bt ? P : T) || null, ct = bt ? "target" : "source", jt = () => !0, xt = bt, qt = se.getState().edges.find((Ut) => Ut.id === n);
38497
38501
  Z(!0), j == null || j(tt, qt, ct);
38498
38502
  const St = (Ut) => {
38499
38503
  Z(!1), G == null || G(Ut, qt, ct);
@@ -38503,18 +38507,18 @@ var Wo = (e) => {
38503
38507
  handleId: Ke,
38504
38508
  nodeId: De,
38505
38509
  onConnect: (Ut) => B == null ? void 0 : B(qt, Ut),
38506
- isTarget: bt,
38510
+ isTarget: xt,
38507
38511
  getState: se.getState,
38508
38512
  setState: se.setState,
38509
- isValidConnection: Bt,
38513
+ isValidConnection: jt,
38510
38514
  edgeUpdaterType: ct,
38511
38515
  onEdgeUpdateEnd: St
38512
38516
  });
38513
38517
  }, at = (tt) => je(tt, !0), Pe = (tt) => je(tt, !1), Xe = () => Oe(!0), Ge = () => Oe(!1), qe = !H && !a, wt = typeof B < "u", pt = (tt) => {
38514
- var yt;
38518
+ var bt;
38515
38519
  if (yx.includes(tt.key) && H) {
38516
38520
  const { unselectNodesAndEdges: De, addSelectedEdges: Ke, edges: ct } = se.getState();
38517
- tt.key === "Escape" ? ((yt = he.current) == null || yt.blur(), De({ edges: [ct.find((bt) => bt.id === n)] })) : Ke([n]);
38521
+ tt.key === "Escape" ? ((bt = he.current) == null || bt.blur(), De({ edges: [ct.find((xt) => xt.id === n)] })) : Ke([n]);
38518
38522
  }
38519
38523
  };
38520
38524
  return v("g", { className: Sn([
@@ -38658,7 +38662,7 @@ function Hx(e, t, n, r, o = [0, 0], i) {
38658
38662
  ]
38659
38663
  ] : a;
38660
38664
  } else
38661
- i == null || i("005", br["005"]()), a = r;
38665
+ i == null || i("005", xr["005"]()), a = r;
38662
38666
  else if (e.extent && e.parentNode) {
38663
38667
  const u = n.get(e.parentNode), { x: d, y: h } = Do(u, o).positionAbsolute;
38664
38668
  a = [
@@ -39241,7 +39245,7 @@ function BW(e) {
39241
39245
  if (!e.current)
39242
39246
  return;
39243
39247
  const o = Cf(e.current);
39244
- (o.height === 0 || o.width === 0) && ((a = (i = t.getState()).onError) == null || a.call(i, "004", br["004"]())), t.setState({ width: o.width || 500, height: o.height || 500 });
39248
+ (o.height === 0 || o.width === 0) && ((a = (i = t.getState()).onError) == null || a.call(i, "004", xr["004"]())), t.setState({ width: o.width || 500, height: o.height || 500 });
39245
39249
  };
39246
39250
  return r(), window.addEventListener("resize", r), e.current && (n = new ResizeObserver(() => r()), n.observe(e.current)), () => {
39247
39251
  window.removeEventListener("resize", r), n && e.current && n.unobserve(e.current);
@@ -39581,7 +39585,7 @@ const rG = (e) => ({
39581
39585
  }, []), s("div", { className: "react-flow__nodes", style: Pf, children: l.map((d) => {
39582
39586
  var S, k, O, L, H, A, T;
39583
39587
  let h = d.type || "default";
39584
- e.nodeTypes[h] || (a == null || a("003", br["003"](h)), h = "default");
39588
+ e.nodeTypes[h] || (a == null || a("003", xr["003"](h)), h = "default");
39585
39589
  const f = e.nodeTypes[h] || e.nodeTypes.default, p = !!(d.draggable || t && typeof d.draggable > "u"), g = !!(d.selectable || o && typeof d.selectable > "u"), m = !!(d.connectable || n && typeof d.connectable > "u"), b = !!(d.focusable || r && typeof d.focusable > "u"), y = e.nodeExtent ? Ef(d.positionAbsolute, e.nodeExtent) : d.positionAbsolute, w = (S = y == null ? void 0 : y.x) != null ? S : 0, _ = (k = y == null ? void 0 : y.y) != null ? k : 0, x = PW({
39586
39590
  x: w,
39587
39591
  y: _,
@@ -39637,7 +39641,7 @@ function uG(e) {
39637
39641
  const t = yn();
39638
39642
  return Y(() => {
39639
39643
  var o, i;
39640
- return Object.prototype.hasOwnProperty.call(Qg, e) ? Qg[e] : ((i = (o = t.getState()).onError) == null || i.call(o, "009", br["009"](e)), null);
39644
+ return Object.prototype.hasOwnProperty.call(Qg, e) ? Qg[e] : ((i = (o = t.getState()).onError) == null || i.call(o, "009", xr["009"](e)), null);
39641
39645
  }, [e]);
39642
39646
  }
39643
39647
  const dG = ({ id: e, type: t, color: n, width: r = 12.5, height: o = 12.5, markerUnits: i = "strokeWidth", strokeWidth: a, orient: l = "auto-start-reverse" }) => {
@@ -39677,10 +39681,10 @@ const pG = (e) => ({
39677
39681
  if (!N || !B)
39678
39682
  return null;
39679
39683
  let j = P.type || "default";
39680
- o[j] || (O == null || O("011", br["011"](j)), j = "default");
39684
+ o[j] || (O == null || O("011", xr["011"](j)), j = "default");
39681
39685
  const G = o[j] || o.default, U = S === Io.Strict ? M.target : ((Te = M.target) != null ? Te : []).concat((Z = M.source) != null ? Z : []), oe = jg(E.source, P.sourceHandle), ae = jg(U, P.targetHandle), Q = (oe == null ? void 0 : oe.position) || Ae.Bottom, te = (ae == null ? void 0 : ae.position) || Ae.Top, me = !!(P.focusable || y && typeof P.focusable > "u");
39682
39686
  if (!oe || !ae)
39683
- return O == null || O("008", br["008"](oe, P)), null;
39687
+ return O == null || O("008", xr["008"](oe, P)), null;
39684
39688
  const { sourceX: ge, sourceY: he, targetX: de, targetY: Oe } = OW(V, oe, Q, $, ae, te);
39685
39689
  return s(G, { id: P.id, className: Sn([P.className, i]), type: j, data: P.data, selected: !!P.selected, animated: !!P.animated, hidden: !!P.hidden, label: P.label, labelStyle: P.labelStyle, labelShowBg: P.labelShowBg, labelBgStyle: P.labelBgStyle, labelBgPadding: P.labelBgPadding, labelBgBorderRadius: P.labelBgBorderRadius, style: P.style, source: P.source, target: P.target, sourceHandleId: P.sourceHandle, targetHandleId: P.targetHandle, markerEnd: P.markerEnd, markerStart: P.markerStart, sourceX: ge, sourceY: he, targetX: de, targetY: Oe, sourcePosition: Q, targetPosition: te, elementsSelectable: w, onEdgeUpdate: a, onContextMenu: l, onMouseEnter: c, onMouseMove: u, onMouseLeave: d, onClick: h, edgeUpdaterRadius: f, onEdgeDoubleClick: p, onEdgeUpdateStart: g, onEdgeUpdateEnd: m, rfId: r, ariaLabel: P.ariaLabel, isFocusable: me, pathOptions: "pathOptions" in P ? P.pathOptions : void 0, interactionWidth: P.interactionWidth }, P.id);
39686
39690
  }) })] }, H)), b] }) : null;
@@ -39957,7 +39961,7 @@ function Zg(e, t) {
39957
39961
  return Y(() => {
39958
39962
  if (process.env.NODE_ENV === "development") {
39959
39963
  const o = Object.keys(e);
39960
- Mn(n.current, o) && kf("002", br["002"]()), n.current = o;
39964
+ Mn(n.current, o) && kf("002", xr["002"]()), n.current = o;
39961
39965
  }
39962
39966
  return t(e);
39963
39967
  }, [e]);
@@ -39979,9 +39983,9 @@ const CG = {
39979
39983
  overflow: "hidden",
39980
39984
  position: "relative",
39981
39985
  zIndex: 0
39982
- }, nw = Ht(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, className: o, nodeTypes: i = CG, edgeTypes: a = EG, onNodeClick: l, onEdgeClick: c, onInit: u, onMove: d, onMoveStart: h, onMoveEnd: f, onConnect: p, onConnectStart: g, onConnectEnd: m, onClickConnectStart: b, onClickConnectEnd: y, onNodeMouseEnter: w, onNodeMouseMove: _, onNodeMouseLeave: x, onNodeContextMenu: S, onNodeDoubleClick: k, onNodeDragStart: O, onNodeDrag: L, onNodeDragStop: H, onNodesDelete: A, onEdgesDelete: T, onSelectionChange: P, onSelectionDragStart: V, onSelectionDrag: E, onSelectionDragStop: N, onSelectionContextMenu: $, onSelectionStart: M, onSelectionEnd: B, connectionMode: j = Io.Strict, connectionLineType: G = no.Bezier, connectionLineStyle: U, connectionLineComponent: oe, connectionLineContainerStyle: ae, deleteKeyCode: Q = "Backspace", selectionKeyCode: te = "Shift", selectionOnDrag: me = !1, selectionMode: ge = ka.Full, panActivationKeyCode: he = "Space", multiSelectionKeyCode: de = "Meta", zoomActivationKeyCode: Oe = "Meta", snapToGrid: Te = !1, snapGrid: Z = TG, onlyRenderVisibleElements: se = !1, selectNodesOnDrag: Re = !0, nodesDraggable: X, nodesConnectable: Me, nodesFocusable: _e, nodeOrigin: $e = kG, edgesFocusable: Le, elementsSelectable: we, defaultViewport: et = MG, minZoom: je = 0.5, maxZoom: at = 2, translateExtent: Pe = Bu, preventScrolling: Xe = !0, nodeExtent: Ge, defaultMarkerColor: qe = "#b1b1b7", zoomOnScroll: wt = !0, zoomOnPinch: pt = !0, panOnScroll: tt = !1, panOnScrollSpeed: yt = 0.5, panOnScrollMode: De = ai.Free, zoomOnDoubleClick: Ke = !0, panOnDrag: ct = !0, onPaneClick: Bt, onPaneMouseEnter: bt, onPaneMouseMove: qt, onPaneMouseLeave: St, onPaneScroll: dn, onPaneContextMenu: Ut, children: Dt, onEdgeUpdate: Ft, onEdgeContextMenu: pn, onEdgeDoubleClick: Et, onEdgeMouseEnter: Nn, onEdgeMouseMove: nn, onEdgeMouseLeave: le, onEdgeUpdateStart: ye, onEdgeUpdateEnd: Se, edgeUpdaterRadius: Fe = 10, onNodesChange: st, onEdgesChange: Ct, noDragClassName: gn = "nodrag", noWheelClassName: mn = "nowheel", noPanClassName: In = "nopan", fitView: Pt = !1, fitViewOptions: z, connectOnClick: re = !0, attributionPosition: ne, proOptions: be, defaultEdgeOptions: Ce, elevateNodesOnSelect: Ne = !0, elevateEdgesOnSelect: We = !1, disableKeyboardA11y: Ve = !1, autoPanOnConnect: Ze = !0, autoPanOnNodeDrag: Ue = !0, connectionRadius: ot = 20, onError: Nt, style: Cn, id: Hn, ...Yt }, fr) => {
39983
- const Er = Zg(i, $W), Rn = Zg(a, MW), Dn = Hn || "1";
39984
- return s("div", { ...Yt, style: { ...Cn, ...OG }, ref: fr, className: Sn(["react-flow", o]), "data-testid": "rf__wrapper", id: Hn, children: v(tw, { children: [s(_G, { onInit: u, onMove: d, onMoveStart: h, onMoveEnd: f, onNodeClick: l, onEdgeClick: c, onNodeMouseEnter: w, onNodeMouseMove: _, onNodeMouseLeave: x, onNodeContextMenu: S, onNodeDoubleClick: k, nodeTypes: Er, edgeTypes: Rn, connectionLineType: G, connectionLineStyle: U, connectionLineComponent: oe, connectionLineContainerStyle: ae, selectionKeyCode: te, selectionOnDrag: me, selectionMode: ge, deleteKeyCode: Q, multiSelectionKeyCode: de, panActivationKeyCode: he, zoomActivationKeyCode: Oe, onlyRenderVisibleElements: se, selectNodesOnDrag: Re, defaultViewport: et, translateExtent: Pe, minZoom: je, maxZoom: at, preventScrolling: Xe, zoomOnScroll: wt, zoomOnPinch: pt, zoomOnDoubleClick: Ke, panOnScroll: tt, panOnScrollSpeed: yt, panOnScrollMode: De, panOnDrag: ct, onPaneClick: Bt, onPaneMouseEnter: bt, onPaneMouseMove: qt, onPaneMouseLeave: St, onPaneScroll: dn, onPaneContextMenu: Ut, onSelectionContextMenu: $, onSelectionStart: M, onSelectionEnd: B, onEdgeUpdate: Ft, onEdgeContextMenu: pn, onEdgeDoubleClick: Et, onEdgeMouseEnter: Nn, onEdgeMouseMove: nn, onEdgeMouseLeave: le, onEdgeUpdateStart: ye, onEdgeUpdateEnd: Se, edgeUpdaterRadius: Fe, defaultMarkerColor: qe, noDragClassName: gn, noWheelClassName: mn, noPanClassName: In, elevateEdgesOnSelect: We, rfId: Dn, disableKeyboardA11y: Ve, nodeOrigin: $e, nodeExtent: Ge }), s(xW, { nodes: e, edges: t, defaultNodes: n, defaultEdges: r, onConnect: p, onConnectStart: g, onConnectEnd: m, onClickConnectStart: b, onClickConnectEnd: y, nodesDraggable: X, nodesConnectable: Me, nodesFocusable: _e, edgesFocusable: Le, elementsSelectable: we, elevateNodesOnSelect: Ne, minZoom: je, maxZoom: at, nodeExtent: Ge, onNodesChange: st, onEdgesChange: Ct, snapToGrid: Te, snapGrid: Z, connectionMode: j, translateExtent: Pe, connectOnClick: re, defaultEdgeOptions: Ce, fitView: Pt, fitViewOptions: z, onNodesDelete: A, onEdgesDelete: T, onNodeDragStart: O, onNodeDrag: L, onNodeDragStop: H, onSelectionDrag: E, onSelectionDragStart: V, onSelectionDragStop: N, noPanClassName: In, nodeOrigin: $e, rfId: Dn, autoPanOnConnect: Ze, autoPanOnNodeDrag: Ue, onError: Nt, connectionRadius: ot }), s(yW, { onSelectionChange: P }), Dt, s(GK, { proOptions: be, position: ne }), s(EW, { rfId: Dn, disableKeyboardA11y: Ve })] }) });
39986
+ }, nw = Bt(({ nodes: e, edges: t, defaultNodes: n, defaultEdges: r, className: o, nodeTypes: i = CG, edgeTypes: a = EG, onNodeClick: l, onEdgeClick: c, onInit: u, onMove: d, onMoveStart: h, onMoveEnd: f, onConnect: p, onConnectStart: g, onConnectEnd: m, onClickConnectStart: b, onClickConnectEnd: y, onNodeMouseEnter: w, onNodeMouseMove: _, onNodeMouseLeave: x, onNodeContextMenu: S, onNodeDoubleClick: k, onNodeDragStart: O, onNodeDrag: L, onNodeDragStop: H, onNodesDelete: A, onEdgesDelete: T, onSelectionChange: P, onSelectionDragStart: V, onSelectionDrag: E, onSelectionDragStop: N, onSelectionContextMenu: $, onSelectionStart: M, onSelectionEnd: B, connectionMode: j = Io.Strict, connectionLineType: G = no.Bezier, connectionLineStyle: U, connectionLineComponent: oe, connectionLineContainerStyle: ae, deleteKeyCode: Q = "Backspace", selectionKeyCode: te = "Shift", selectionOnDrag: me = !1, selectionMode: ge = ka.Full, panActivationKeyCode: he = "Space", multiSelectionKeyCode: de = "Meta", zoomActivationKeyCode: Oe = "Meta", snapToGrid: Te = !1, snapGrid: Z = TG, onlyRenderVisibleElements: se = !1, selectNodesOnDrag: Re = !0, nodesDraggable: X, nodesConnectable: Me, nodesFocusable: _e, nodeOrigin: $e = kG, edgesFocusable: Le, elementsSelectable: we, defaultViewport: et = MG, minZoom: je = 0.5, maxZoom: at = 2, translateExtent: Pe = Bu, preventScrolling: Xe = !0, nodeExtent: Ge, defaultMarkerColor: qe = "#b1b1b7", zoomOnScroll: wt = !0, zoomOnPinch: pt = !0, panOnScroll: tt = !1, panOnScrollSpeed: bt = 0.5, panOnScrollMode: De = ai.Free, zoomOnDoubleClick: Ke = !0, panOnDrag: ct = !0, onPaneClick: jt, onPaneMouseEnter: xt, onPaneMouseMove: qt, onPaneMouseLeave: St, onPaneScroll: dn, onPaneContextMenu: Ut, children: Dt, onEdgeUpdate: Ft, onEdgeContextMenu: pn, onEdgeDoubleClick: Et, onEdgeMouseEnter: Nn, onEdgeMouseMove: nn, onEdgeMouseLeave: le, onEdgeUpdateStart: ye, onEdgeUpdateEnd: Se, edgeUpdaterRadius: Fe = 10, onNodesChange: st, onEdgesChange: Ct, noDragClassName: gn = "nodrag", noWheelClassName: mn = "nowheel", noPanClassName: In = "nopan", fitView: Pt = !1, fitViewOptions: z, connectOnClick: re = !0, attributionPosition: ne, proOptions: be, defaultEdgeOptions: Ce, elevateNodesOnSelect: Ne = !0, elevateEdgesOnSelect: We = !1, disableKeyboardA11y: Ve = !1, autoPanOnConnect: Ze = !0, autoPanOnNodeDrag: Ue = !0, connectionRadius: ot = 20, onError: Nt, style: Cn, id: Hn, ...Yt }, fr) => {
39987
+ const kr = Zg(i, $W), Rn = Zg(a, MW), Dn = Hn || "1";
39988
+ return s("div", { ...Yt, style: { ...Cn, ...OG }, ref: fr, className: Sn(["react-flow", o]), "data-testid": "rf__wrapper", id: Hn, children: v(tw, { children: [s(_G, { onInit: u, onMove: d, onMoveStart: h, onMoveEnd: f, onNodeClick: l, onEdgeClick: c, onNodeMouseEnter: w, onNodeMouseMove: _, onNodeMouseLeave: x, onNodeContextMenu: S, onNodeDoubleClick: k, nodeTypes: kr, edgeTypes: Rn, connectionLineType: G, connectionLineStyle: U, connectionLineComponent: oe, connectionLineContainerStyle: ae, selectionKeyCode: te, selectionOnDrag: me, selectionMode: ge, deleteKeyCode: Q, multiSelectionKeyCode: de, panActivationKeyCode: he, zoomActivationKeyCode: Oe, onlyRenderVisibleElements: se, selectNodesOnDrag: Re, defaultViewport: et, translateExtent: Pe, minZoom: je, maxZoom: at, preventScrolling: Xe, zoomOnScroll: wt, zoomOnPinch: pt, zoomOnDoubleClick: Ke, panOnScroll: tt, panOnScrollSpeed: bt, panOnScrollMode: De, panOnDrag: ct, onPaneClick: jt, onPaneMouseEnter: xt, onPaneMouseMove: qt, onPaneMouseLeave: St, onPaneScroll: dn, onPaneContextMenu: Ut, onSelectionContextMenu: $, onSelectionStart: M, onSelectionEnd: B, onEdgeUpdate: Ft, onEdgeContextMenu: pn, onEdgeDoubleClick: Et, onEdgeMouseEnter: Nn, onEdgeMouseMove: nn, onEdgeMouseLeave: le, onEdgeUpdateStart: ye, onEdgeUpdateEnd: Se, edgeUpdaterRadius: Fe, defaultMarkerColor: qe, noDragClassName: gn, noWheelClassName: mn, noPanClassName: In, elevateEdgesOnSelect: We, rfId: Dn, disableKeyboardA11y: Ve, nodeOrigin: $e, nodeExtent: Ge }), s(xW, { nodes: e, edges: t, defaultNodes: n, defaultEdges: r, onConnect: p, onConnectStart: g, onConnectEnd: m, onClickConnectStart: b, onClickConnectEnd: y, nodesDraggable: X, nodesConnectable: Me, nodesFocusable: _e, edgesFocusable: Le, elementsSelectable: we, elevateNodesOnSelect: Ne, minZoom: je, maxZoom: at, nodeExtent: Ge, onNodesChange: st, onEdgesChange: Ct, snapToGrid: Te, snapGrid: Z, connectionMode: j, translateExtent: Pe, connectOnClick: re, defaultEdgeOptions: Ce, fitView: Pt, fitViewOptions: z, onNodesDelete: A, onEdgesDelete: T, onNodeDragStart: O, onNodeDrag: L, onNodeDragStop: H, onSelectionDrag: E, onSelectionDragStart: V, onSelectionDragStop: N, noPanClassName: In, nodeOrigin: $e, rfId: Dn, autoPanOnConnect: Ze, autoPanOnNodeDrag: Ue, onError: Nt, connectionRadius: ot }), s(yW, { onSelectionChange: P }), Dt, s(GK, { proOptions: be, position: ne }), s(EW, { rfId: Dn, disableKeyboardA11y: Ve })] }) });
39985
39989
  });
39986
39990
  nw.displayName = "ReactFlow";
39987
39991
  const rw = ({ id: e, x: t, y: n, width: r, height: o, style: i, color: a, strokeColor: l, strokeWidth: c, className: u, borderRadius: d, shapeRendering: h, onClick: f }) => {
@@ -40602,7 +40606,7 @@ const b9 = J(() => {
40602
40606
  }
40603
40607
  e.editor.open(["_FILTERS_", e.filters.firstID]);
40604
40608
  }, [r, o] = ze(!1), i = () => o(!0), a = () => o(!1);
40605
- return /* @__PURE__ */ v(Pr, {
40609
+ return /* @__PURE__ */ v(Nr, {
40606
40610
  p: 0,
40607
40611
  width: {
40608
40612
  base: 200,
@@ -40612,7 +40616,7 @@ const b9 = J(() => {
40612
40616
  lg: 240,
40613
40617
  xl: 260
40614
40618
  },
40615
- children: [/* @__PURE__ */ v(Pr.Section, {
40619
+ children: [/* @__PURE__ */ v(Nr.Section, {
40616
40620
  children: [/* @__PURE__ */ v(F, {
40617
40621
  grow: !0,
40618
40622
  spacing: 0,
@@ -40665,7 +40669,7 @@ const b9 = J(() => {
40665
40669
  opened: r,
40666
40670
  close: a
40667
40671
  })]
40668
- }), /* @__PURE__ */ s(Pr.Section, {
40672
+ }), /* @__PURE__ */ s(Nr.Section, {
40669
40673
  py: 5,
40670
40674
  sx: {
40671
40675
  borderBottom: "1px solid #eee"
@@ -40678,13 +40682,13 @@ const b9 = J(() => {
40678
40682
  },
40679
40683
  children: "Views"
40680
40684
  })
40681
- }), /* @__PURE__ */ s(Pr.Section, {
40685
+ }), /* @__PURE__ */ s(Nr.Section, {
40682
40686
  grow: !0,
40683
40687
  sx: {
40684
40688
  overflow: "auto"
40685
40689
  },
40686
40690
  children: /* @__PURE__ */ s(b9, {})
40687
- }), /* @__PURE__ */ s(Pr.Section, {
40691
+ }), /* @__PURE__ */ s(Nr.Section, {
40688
40692
  children: /* @__PURE__ */ s(F, {
40689
40693
  grow: !0,
40690
40694
  p: "md",
@@ -41865,7 +41869,7 @@ const Y9 = ee.forwardRef(function({
41865
41869
  my: "xs",
41866
41870
  label: "Format",
41867
41871
  labelPosition: "center"
41868
- }), /* @__PURE__ */ s(wr, {
41872
+ }), /* @__PURE__ */ s(_r, {
41869
41873
  value: t.formatter,
41870
41874
  onChange: (l) => a("formatter", l)
41871
41875
  }), o && /* @__PURE__ */ s(cb, {
@@ -41962,12 +41966,12 @@ const Y9 = ee.forwardRef(function({
41962
41966
  })
41963
41967
  })]
41964
41968
  }), /* @__PURE__ */ s(Y9, {
41965
- value: Nr(t.copy),
41969
+ value: pr(t.copy),
41966
41970
  onChange: t.update,
41967
41971
  data: r
41968
41972
  })]
41969
41973
  }), /* @__PURE__ */ s(J9, {
41970
- variable: Nr(t.copy),
41974
+ variable: pr(t.copy),
41971
41975
  data: r
41972
41976
  })]
41973
41977
  });
@@ -42011,7 +42015,7 @@ const Y9 = ee.forwardRef(function({
42011
42015
  function oq() {
42012
42016
  const {
42013
42017
  vizManager: e
42014
- } = wn(_r);
42018
+ } = wn(Sr);
42015
42019
  return Y(() => {
42016
42020
  const t = e.availableVizList.map((n) => {
42017
42021
  var r, o;
@@ -42072,7 +42076,7 @@ function sq() {
42072
42076
  }
42073
42077
  } = On(), {
42074
42078
  vizManager: d
42075
- } = wn(_r), h = {
42079
+ } = wn(Sr), h = {
42076
42080
  title: r,
42077
42081
  description: i,
42078
42082
  viz: n,
@@ -42096,7 +42100,7 @@ function sq() {
42096
42100
  })
42097
42101
  });
42098
42102
  } catch (g) {
42099
- return console.info(xt(g, "message")), null;
42103
+ return console.info(vt(g, "message")), null;
42100
42104
  }
42101
42105
  }
42102
42106
  const lq = J(() => {
@@ -42107,7 +42111,7 @@ const lq = J(() => {
42107
42111
  }
42108
42112
  } = On(), {
42109
42113
  vizManager: n
42110
- } = wn(_r), r = ee.useCallback((u) => {
42114
+ } = wn(Sr), r = ee.useCallback((u) => {
42111
42115
  if (u === t.type)
42112
42116
  return;
42113
42117
  const d = aq(n, u);
@@ -42880,7 +42884,7 @@ const xq = J(({
42880
42884
  children: "See Table Structure"
42881
42885
  })]
42882
42886
  });
42883
- }), _q = Ht(({
42887
+ }), _q = Bt(({
42884
42888
  label: e,
42885
42889
  type: t,
42886
42890
  ...n
@@ -43124,7 +43128,7 @@ const Mq = ({
43124
43128
  }
43125
43129
  }
43126
43130
  })
43127
- }), dl = Ht(({
43131
+ }), dl = Bt(({
43128
43132
  value: e,
43129
43133
  onChange: t,
43130
43134
  label: n,
@@ -44353,7 +44357,7 @@ const o7 = J(() => /* @__PURE__ */ s(W, {
44353
44357
  });
44354
44358
  }), p7 = J(() => {
44355
44359
  const e = He();
44356
- return /* @__PURE__ */ v(Pr, {
44360
+ return /* @__PURE__ */ v(Nr, {
44357
44361
  p: 0,
44358
44362
  width: {
44359
44363
  base: 200,
@@ -44366,7 +44370,7 @@ const o7 = J(() => /* @__PURE__ */ s(W, {
44366
44370
  sx: {
44367
44371
  height: "100vh - 60px - 60px"
44368
44372
  },
44369
- children: [/* @__PURE__ */ s(Pr.Section, {
44373
+ children: [/* @__PURE__ */ s(Nr.Section, {
44370
44374
  pt: 9,
44371
44375
  pb: 8,
44372
44376
  sx: {
@@ -44380,13 +44384,13 @@ const o7 = J(() => /* @__PURE__ */ s(W, {
44380
44384
  },
44381
44385
  children: "Settings"
44382
44386
  })
44383
- }), /* @__PURE__ */ s(Pr.Section, {
44387
+ }), /* @__PURE__ */ s(Nr.Section, {
44384
44388
  grow: !0,
44385
44389
  sx: {
44386
44390
  overflow: "auto"
44387
44391
  },
44388
44392
  children: /* @__PURE__ */ s(h7, {})
44389
- }), /* @__PURE__ */ s(Pr.Section, {
44393
+ }), /* @__PURE__ */ s(Nr.Section, {
44390
44394
  children: /* @__PURE__ */ s(F, {
44391
44395
  grow: !0,
44392
44396
  p: "md",
@@ -44582,7 +44586,7 @@ const x7 = {
44582
44586
  freezeLayout: c,
44583
44587
  inEditMode: !0
44584
44588
  },
44585
- children: /* @__PURE__ */ s(_r.Provider, {
44589
+ children: /* @__PURE__ */ s(Sr.Provider, {
44586
44590
  value: h,
44587
44591
  children: /* @__PURE__ */ v(yl, {
44588
44592
  configure: f,
@@ -44644,7 +44648,7 @@ const dU = J(({
44644
44648
  },
44645
44649
  children: /* @__PURE__ */ s(xe, {
44646
44650
  className: `${n} dashboard-root`,
44647
- children: /* @__PURE__ */ s(_r.Provider, {
44651
+ children: /* @__PURE__ */ s(Sr.Provider, {
44648
44652
  value: c,
44649
44653
  children: /* @__PURE__ */ s(yl, {
44650
44654
  configure: u,