@devtable/dashboard 13.17.0 → 13.17.2

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.
@@ -2,10 +2,10 @@ var xh = Object.defineProperty;
2
2
  var gh = (t, e, n) => e in t ? xh(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var N = (t, e, n) => (gh(t, typeof e != "symbol" ? e + "" : e, n), n);
4
4
  import L, { forwardRef as re, useState as H, useEffect as B, useCallback as Ne, useMemo as C, createElement as gs, useContext as Kt, useRef as fs, createContext as ol, memo as fh } from "react";
5
- import { TextInput as D, Text as w, Box as M, Button as T, HoverCard as Te, Group as b, Select as O, Stack as S, Overlay as Zn, Modal as Se, Checkbox as ee, Divider as E, NumberInput as oe, Switch as qe, Table as Pe, ActionIcon as X, MultiSelect as Gn, Paper as bh, Code as so, Tabs as _, LoadingOverlay as In, Alert as vr, ColorSwatch as di, createStyles as jr, Popover as Bn, Tooltip as me, CloseButton as wr, Center as an, Collapse as kr, useMantineTheme as ll, CheckIcon as yh, MANTINE_SIZES as _h, SimpleGrid as vn, NativeSelect as cl, SegmentedControl as vh, Anchor as rs, Menu as J, UnstyledButton as dl, Badge as rn, ColorInput as Qn, Textarea as ul, Mark as hl, Slider as jh, Flex as Jt, Affix as wh, Header as kh, List as ct, FileInput as Sh, ThemeIcon as Ys, Navbar as Gt, JsonInput as ml, Pagination as pl, Drawer as Ch, Accordion as qr, Radio as io, Skeleton as ao, NavLink as ui, AppShell as xl } from "@mantine/core";
5
+ import { TextInput as D, Text as w, Box as M, Button as T, HoverCard as Te, Group as b, Select as O, Stack as S, Overlay as Zn, Modal as Se, Checkbox as ee, Divider as E, NumberInput as oe, Switch as qe, Table as Pe, ActionIcon as X, MultiSelect as Gn, Paper as bh, Code as so, Tabs as _, LoadingOverlay as In, Alert as vr, ColorSwatch as di, createStyles as jr, Popover as Bn, Tooltip as me, CloseButton as wr, Center as an, Collapse as kr, useMantineTheme as ll, CheckIcon as yh, MANTINE_SIZES as _h, SimpleGrid as vn, NativeSelect as cl, SegmentedControl as vh, Anchor as rs, Menu as J, UnstyledButton as dl, Badge as rn, ColorInput as Qn, Textarea as ul, Mark as hl, Slider as jh, Flex as Jt, Affix as wh, Header as kh, List as lt, FileInput as Sh, ThemeIcon as Ys, Navbar as Gt, JsonInput as ml, Pagination as pl, Drawer as Ch, Accordion as qr, Radio as io, Skeleton as ao, NavLink as ui, AppShell as xl } from "@mantine/core";
6
6
  import { useModals as Pt, ModalsProvider as gl } from "@mantine/modals";
7
- import { useBoolean as st, useCreation as kt, useAsyncEffect as Sr, useRequest as kn, useLatest as oo, usePrevious as zh, useWhyDidYouUpdate as fl } from "ahooks";
8
- import { toJS as Xt, observable as bl, runInAction as ur, reaction as tt, makeAutoObservable as Cr } from "mobx";
7
+ import { useBoolean as rt, useCreation as kt, useAsyncEffect as Sr, useRequest as kn, useLatest as oo, usePrevious as zh, useWhyDidYouUpdate as fl } from "ahooks";
8
+ import { toJS as Xt, observable as bl, runInAction as ur, reaction as dt, makeAutoObservable as Cr } from "mobx";
9
9
  import { observer as z } from "mobx-react-lite";
10
10
  import { faker as Ih } from "@faker-js/faker";
11
11
  import * as Th from "crypto-js";
@@ -62,7 +62,7 @@ import { useVirtual as jp } from "react-virtual";
62
62
  import wp, { Option as kp } from "rc-select";
63
63
  import Sp, { SHOW_PARENT as Cp } from "rc-tree-select";
64
64
  import { WidthProvider as nc, Responsive as rc } from "react-grid-layout";
65
- import { types as p, cast as At, getRoot as Ge, getParent as Re, addDisposer as bt, isAlive as mo, flow as qn, toGenerator as gn, clone as zp, getSnapshot as Lt, applySnapshot as Qe, addMiddleware as Ip, getType as Tp, detach as pi, castToSnapshot as sc } from "mobx-state-tree";
65
+ import { types as p, cast as At, getRoot as Ge, getParent as Re, addDisposer as wt, isAlive as mo, flow as qn, toGenerator as gn, clone as zp, getSnapshot as Lt, applySnapshot as Qe, addMiddleware as Ip, getType as Tp, detach as pi, castToSnapshot as sc } from "mobx-state-tree";
66
66
  import { arrayToTree as Dp } from "performant-array-to-tree";
67
67
  import { saveAs as ws } from "file-saver";
68
68
  import ic from "dom-to-image-more";
@@ -104,7 +104,7 @@ import dx from "dayjs/plugin/weekYear";
104
104
  import { createInstance as ux } from "i18next";
105
105
  import hx from "i18next-browser-languagedetector";
106
106
  import "intl-pluralrules";
107
- import mx, { Position as wt, Handle as po, MiniMap as px, Controls as xx, Background as gx } from "reactflow";
107
+ import mx, { Position as jt, Handle as po, MiniMap as px, Controls as xx, Background as gx } from "reactflow";
108
108
  var xi = { exports: {} }, or = {};
109
109
  /**
110
110
  * @license React
@@ -190,7 +190,7 @@ function bx() {
190
190
  function Ar(j) {
191
191
  return j.displayName || "Context";
192
192
  }
193
- function ot(j) {
193
+ function at(j) {
194
194
  if (j == null)
195
195
  return null;
196
196
  if (typeof j.tag == "number" && P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof j == "function")
@@ -223,11 +223,11 @@ function bx() {
223
223
  return Ee(j, j.render, "ForwardRef");
224
224
  case h:
225
225
  var U = j.displayName || null;
226
- return U !== null ? U : ot(j.type) || "Memo";
226
+ return U !== null ? U : at(j.type) || "Memo";
227
227
  case m: {
228
228
  var de = j, fe = de._payload, ce = de._init;
229
229
  try {
230
- return ot(ce(fe));
230
+ return at(ce(fe));
231
231
  } catch {
232
232
  return null;
233
233
  }
@@ -499,8 +499,8 @@ function bx() {
499
499
  }
500
500
  function nh(j, A) {
501
501
  if (typeof j.ref == "string" && ar.current && A && ar.current.stateNode !== A) {
502
- var q = ot(ar.current.type);
503
- Gs[q] || (P('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', ot(ar.current.type), j.ref), Gs[q] = !0);
502
+ var q = at(ar.current.type);
503
+ Gs[q] || (P('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', at(ar.current.type), j.ref), Gs[q] = !0);
504
504
  }
505
505
  }
506
506
  function rh(j, A) {
@@ -588,7 +588,7 @@ function bx() {
588
588
  function Xa() {
589
589
  {
590
590
  if (Qs.current) {
591
- var j = ot(Qs.current.type);
591
+ var j = at(Qs.current.type);
592
592
  if (j)
593
593
  return `
594
594
 
@@ -631,7 +631,7 @@ Check the top-level render call using <` + q + ">.");
631
631
  return;
632
632
  Za[q] = !0;
633
633
  var U = "";
634
- j && j._owner && j._owner !== Qs.current && (U = " It was passed a child from " + ot(j._owner.type) + "."), An(j), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', q, U), An(null);
634
+ j && j._owner && j._owner !== Qs.current && (U = " It was passed a child from " + at(j._owner.type) + "."), An(j), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', q, U), An(null);
635
635
  }
636
636
  }
637
637
  function to(j, A) {
@@ -668,11 +668,11 @@ Check the top-level render call using <` + q + ">.");
668
668
  else
669
669
  return;
670
670
  if (q) {
671
- var U = ot(A);
671
+ var U = at(A);
672
672
  Yu(q, j.props, "prop", U, j);
673
673
  } else if (A.PropTypes !== void 0 && !Hs) {
674
674
  Hs = !0;
675
- var de = ot(A);
675
+ var de = at(A);
676
676
  P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", de || "Unknown");
677
677
  }
678
678
  typeof A.getDefaultProps == "function" && !A.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -699,7 +699,7 @@ Check the top-level render call using <` + q + ">.");
699
699
  var Xe = oh(de);
700
700
  Xe ? se += Xe : se += Xa();
701
701
  var Ie;
702
- j === null ? Ie = "null" : Ws(j) ? Ie = "array" : j !== void 0 && j.$$typeof === e ? (Ie = "<" + (ot(j.type) || "Unknown") + " />", se = " Did you accidentally export a JSX literal instead of a component?") : Ie = typeof j, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ie, se);
702
+ j === null ? Ie = "null" : Ws(j) ? Ie = "array" : j !== void 0 && j.$$typeof === e ? (Ie = "<" + (at(j.type) || "Unknown") + " />", se = " Did you accidentally export a JSX literal instead of a component?") : Ie = typeof j, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ie, se);
703
703
  }
704
704
  var De = ah(j, A, q, de, fe);
705
705
  if (De == null)
@@ -1553,7 +1553,7 @@ class hc {
1553
1553
  return Promise.resolve(this.getItem(e));
1554
1554
  }
1555
1555
  watchItem(e, n, s) {
1556
- return tt(() => this.getValueFromRoot(e), (i, a) => {
1556
+ return dt(() => this.getValueFromRoot(e), (i, a) => {
1557
1557
  n(i, a);
1558
1558
  }, {
1559
1559
  requiresObservable: !0,
@@ -1743,7 +1743,7 @@ class Vi {
1743
1743
  }), this.instanceRegistry.clear(), this.factoryRegistry.clear();
1744
1744
  }
1745
1745
  }
1746
- const xc = "13.17.0", hg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1746
+ const xc = "13.17.2", hg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1747
1747
  __proto__: null,
1748
1748
  version: xc
1749
1749
  }, Symbol.toStringTag, { value: "Module" }));
@@ -1865,7 +1865,7 @@ class ze extends xg {
1865
1865
  const Q = (t, e) => {
1866
1866
  const [n, {
1867
1867
  setFalse: s
1868
- }] = st(!0), [i, a] = H();
1868
+ }] = rt(!0), [i, a] = H();
1869
1869
  B(() => (t.getItem(e).then((l) => {
1870
1870
  a(l), s();
1871
1871
  }), t.watchItem(e, (l) => {
@@ -1887,7 +1887,7 @@ const Q = (t, e) => {
1887
1887
  }, zt = (t) => Math.max(0, t - et.left - et.right), It = (t) => Math.max(0, t - et.top - et.bottom), Mr = (t, e) => ({
1888
1888
  width: zt(t),
1889
1889
  height: It(e)
1890
- }), it = ({
1890
+ }), st = ({
1891
1891
  width: t,
1892
1892
  height: e,
1893
1893
  children: n
@@ -1981,7 +1981,7 @@ function gg({
1981
1981
  data: h.map((P) => [P[m.columnKey], P[x.columnKey], P[f.columnKey]])
1982
1982
  }]
1983
1983
  };
1984
- return e ? /* @__PURE__ */ r.jsx(it, { width: s, height: i, children: /* @__PURE__ */ r.jsx(Ze, { echarts: Je, option: R, style: Mr(s, i), notMerge: !0, theme: "merico-light" }) }) : null;
1984
+ return e ? /* @__PURE__ */ r.jsx(st, { width: s, height: i, children: /* @__PURE__ */ r.jsx(Ze, { echarts: Je, option: R, style: Mr(s, i), notMerge: !0, theme: "merico-light" }) }) : null;
1985
1985
  }
1986
1986
  const gc = L.createContext(null), fc = gc.Provider;
1987
1987
  function bc() {
@@ -2239,7 +2239,7 @@ const Tg = {
2239
2239
  } })
2240
2240
  ] });
2241
2241
  };
2242
- function nt({
2242
+ function tt({
2243
2243
  enabled: t,
2244
2244
  func_content: e
2245
2245
  }) {
@@ -2270,7 +2270,7 @@ const Tt = re(({
2270
2270
  } = y(), [a, {
2271
2271
  setTrue: o,
2272
2272
  setFalse: l
2273
- }] = st(), [c, d] = H(t);
2273
+ }] = rt(), [c, d] = H(t);
2274
2274
  B(() => {
2275
2275
  d(t);
2276
2276
  }, [t]);
@@ -2451,7 +2451,7 @@ const as = re(({
2451
2451
  /* @__PURE__ */ r.jsx(as, { sectionTitle: s("chart.axis.overflow.section_title.in_tooltip"), value: t.in_tooltip, onChange: a })
2452
2452
  ] });
2453
2453
  });
2454
- function rt() {
2454
+ function nt() {
2455
2455
  return {
2456
2456
  on_axis: {
2457
2457
  width: 80,
@@ -2465,7 +2465,7 @@ function rt() {
2465
2465
  }
2466
2466
  };
2467
2467
  }
2468
- function yt({
2468
+ function bt({
2469
2469
  overflow: t,
2470
2470
  width: e
2471
2471
  }) {
@@ -2486,7 +2486,7 @@ function yt({
2486
2486
  text-overflow: ${i};
2487
2487
  `;
2488
2488
  }
2489
- function _t(t) {
2489
+ function yt(t) {
2490
2490
  return {
2491
2491
  width: t.width,
2492
2492
  overflow: t.overflow,
@@ -2500,7 +2500,7 @@ const Bi = {
2500
2500
  axisLabel: {
2501
2501
  rotate: 0,
2502
2502
  formatter: Ue(),
2503
- overflow: rt()
2503
+ overflow: nt()
2504
2504
  }
2505
2505
  },
2506
2506
  y_axis: {
@@ -3154,7 +3154,7 @@ const df = z(({
3154
3154
  } = y(), [n, {
3155
3155
  setTrue: s,
3156
3156
  setFalse: i
3157
- }] = st(!1), {
3157
+ }] = rt(!1), {
3158
3158
  operationManager: a,
3159
3159
  operationId: o,
3160
3160
  instance: l,
@@ -3246,7 +3246,7 @@ const ff = z(({
3246
3246
  } = y(), [n, {
3247
3247
  setTrue: s,
3248
3248
  setFalse: i
3249
- }] = st(!1), a = t.model;
3249
+ }] = rt(!1), a = t.model;
3250
3250
  return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
3251
3251
  /* @__PURE__ */ r.jsx(Se, { opened: n, onClose: i, title: e("interactions.trigger.setup"), zIndex: 320, children: /* @__PURE__ */ r.jsxs(S, { children: [
3252
3252
  /* @__PURE__ */ r.jsx(bf, { model: a }),
@@ -3747,7 +3747,7 @@ const Wf = (t, e) => {
3747
3747
  </tr>`);
3748
3748
  return `
3749
3749
  <div style="text-align: left; margin-bottom: .5em; padding: 0 1em .5em; font-weight: bold; border-bottom: 1px dashed #ddd;">
3750
- <div style="${yt(t.x_axis.axisLabel.overflow.in_tooltip)}">${e.name}</div>
3750
+ <div style="${bt(t.x_axis.axisLabel.overflow.in_tooltip)}">${e.name}</div>
3751
3751
  </div>
3752
3752
  <table style="width: auto">
3753
3753
  <tbody>
@@ -3772,7 +3772,7 @@ function Ac(t, e) {
3772
3772
  });
3773
3773
  }
3774
3774
  function Qf(t, e) {
3775
- const n = yt(t.x_axis.axisLabel.overflow.in_tooltip), s = [`<tr>
3775
+ const n = bt(t.x_axis.axisLabel.overflow.in_tooltip), s = [`<tr>
3776
3776
  <th style="text-align: right; padding: 0 1em;">${t.y_axis.name}</th>
3777
3777
  <td style="text-align: left; padding: 0 1em;">${e[1]}</td>
3778
3778
  </tr>
@@ -3789,7 +3789,7 @@ function Qf(t, e) {
3789
3789
  `;
3790
3790
  }
3791
3791
  function Hf(t, e) {
3792
- const n = yt(t.x_axis.axisLabel.overflow.in_tooltip), s = [`<tr>
3792
+ const n = bt(t.x_axis.axisLabel.overflow.in_tooltip), s = [`<tr>
3793
3793
  <th style="text-align: right; padding: 0 1em;">${t.y_axis.name}</th>
3794
3794
  <td style="text-align: left; padding: 0 1em;">${e[1]}</td>
3795
3795
  </tr>
@@ -3881,7 +3881,7 @@ function Xf({
3881
3881
  x_axis: i,
3882
3882
  y_axis: a,
3883
3883
  reference_lines: o
3884
- } = t, l = Rf(t, e), c = _t(i.axisLabel.overflow.on_axis), d = Jf(s), u = Bf(t, l).map((h) => ({
3884
+ } = t, l = Rf(t, e), c = yt(i.axisLabel.overflow.on_axis), d = Jf(s), u = Bf(t, l).map((h) => ({
3885
3885
  ...h,
3886
3886
  name: k.get(d, h.name, h.name)
3887
3887
  }));
@@ -3908,7 +3908,7 @@ function Xf({
3908
3908
  axisLabel: {
3909
3909
  ...i.axisLabel,
3910
3910
  ...c,
3911
- formatter: nt(i.axisLabel.formatter)
3911
+ formatter: tt(i.axisLabel.formatter)
3912
3912
  }
3913
3913
  })],
3914
3914
  yAxis: [pe.getYAxis({
@@ -3958,7 +3958,7 @@ function Zf({
3958
3958
  variables: i,
3959
3959
  t: n
3960
3960
  }), [c, a, i, n]);
3961
- return !s || !o || !l ? null : /* @__PURE__ */ r.jsx(it, { width: o, height: l, children: /* @__PURE__ */ r.jsx(Ze, { echarts: Je, option: f, style: Mr(o, l), onEvents: x, notMerge: !0, theme: "merico-light" }) });
3961
+ return !s || !o || !l ? null : /* @__PURE__ */ r.jsx(st, { width: o, height: l, children: /* @__PURE__ */ r.jsx(Ze, { echarts: Je, option: f, style: Mr(o, l), onEvents: x, notMerge: !0, theme: "merico-light" }) });
3962
3962
  }
3963
3963
  function eb({
3964
3964
  value: t,
@@ -4106,7 +4106,7 @@ class nb {
4106
4106
  steps: bl
4107
4107
  }, {
4108
4108
  deep: !1
4109
- }), tt(() => Xt(this.steps), () => {
4109
+ }), dt(() => Xt(this.steps), () => {
4110
4110
  this.notifyStepChange();
4111
4111
  });
4112
4112
  }
@@ -4148,7 +4148,7 @@ function rb(t) {
4148
4148
  } = Pc(), [l, c] = H(_o(a)), [d, {
4149
4149
  setTrue: u,
4150
4150
  setFalse: h
4151
- }] = st(!1), m = i % 2 === 1, x = m && a != null, f = !m && a != null, v = `map ${a} to color ${i}`, I = () => {
4151
+ }] = rt(!1), m = i % 2 === 1, x = m && a != null, f = !m && a != null, v = `map ${a} to color ${i}`, I = () => {
4152
4152
  c(_o(a)), h();
4153
4153
  }, R = () => {
4154
4154
  h(), n == null || n(Number(l));
@@ -4216,7 +4216,7 @@ const sb = z(({
4216
4216
  } = t, o = a.getColorInterpolations(), [l, c] = H(s), d = a.decodeInterpolation(l.interpolation) || o[0], [u, {
4217
4217
  setTrue: h,
4218
4218
  setFalse: m
4219
- }] = st(), x = C(() => o.map((P) => ({
4219
+ }] = rt(), x = C(() => o.map((P) => ({
4220
4220
  label: e(P.displayName),
4221
4221
  value: a.encodeColor(P),
4222
4222
  group: e(`style.color.interpolation.palette.category.${P.category}`)
@@ -4719,7 +4719,7 @@ function _b({
4719
4719
  /* @__PURE__ */ r.jsx(yb, { format: t })
4720
4720
  ] });
4721
4721
  }
4722
- const vt = L.forwardRef(_b), vb = ({
4722
+ const _t = L.forwardRef(_b), vb = ({
4723
4723
  control: t,
4724
4724
  watch: e
4725
4725
  }) => {
@@ -4743,7 +4743,7 @@ const vt = L.forwardRef(_b), vb = ({
4743
4743
  /* @__PURE__ */ r.jsx(E, { mt: 10, mb: -15, variant: "dashed", label: n("chart.axis.section_title.label_format"), labelPosition: "center" }),
4744
4744
  /* @__PURE__ */ r.jsx(g, { name: "y_axis.label_formatter", control: t, render: ({
4745
4745
  field: s
4746
- }) => /* @__PURE__ */ r.jsx(vt, { ...s }) })
4746
+ }) => /* @__PURE__ */ r.jsx(_t, { ...s }) })
4747
4747
  ] })
4748
4748
  ] });
4749
4749
  };
@@ -5352,7 +5352,7 @@ const Yi = {
5352
5352
  axisLabel: {
5353
5353
  rotate: 0,
5354
5354
  formatter: Ue(),
5355
- overflow: rt()
5355
+ overflow: nt()
5356
5356
  }
5357
5357
  },
5358
5358
  tooltip: {
@@ -5705,7 +5705,7 @@ function uy(t, e) {
5705
5705
  axisValue: s,
5706
5706
  axisIndex: i
5707
5707
  } = n;
5708
- return nt(e.x_axis.axisLabel.formatter)(s, i);
5708
+ return tt(e.x_axis.axisLabel.formatter)(s, i);
5709
5709
  }
5710
5710
  const hy = (t) => ae(t, {
5711
5711
  output: "number",
@@ -5752,7 +5752,7 @@ function my(t, e, n, s) {
5752
5752
  </tr>`;
5753
5753
  });
5754
5754
  l.push(...c);
5755
- const d = yt(t.x_axis.axisLabel.overflow.in_tooltip), u = uy(o, t);
5755
+ const d = bt(t.x_axis.axisLabel.overflow.in_tooltip), u = uy(o, t);
5756
5756
  return `
5757
5757
  <div style="text-align: left; margin-bottom: .5em; padding: 0 1em .5em; font-weight: bold; border-bottom: 1px dashed #ddd;">
5758
5758
  <div style="${d}">${u}</div>
@@ -5795,7 +5795,7 @@ function xy(t, e) {
5795
5795
  const {
5796
5796
  overflow: n,
5797
5797
  ...s
5798
- } = t.x_axis.axisLabel, i = _t(n.on_axis), a = e.length === 0;
5798
+ } = t.x_axis.axisLabel, i = yt(n.on_axis), a = e.length === 0;
5799
5799
  return [pe.getXAxis({
5800
5800
  data: e,
5801
5801
  name: t.x_axis_name ?? "",
@@ -5805,7 +5805,7 @@ function xy(t, e) {
5805
5805
  axisLabel: {
5806
5806
  ...s,
5807
5807
  ...i,
5808
- formatter: nt(s.formatter)
5808
+ formatter: tt(s.formatter)
5809
5809
  }
5810
5810
  })];
5811
5811
  }
@@ -5970,7 +5970,7 @@ function jy({
5970
5970
  bottom: br(I.bottom, i, o)
5971
5971
  };
5972
5972
  }, [a, o]), f = Math.max(0, It(c) - u - m), v = zt(l);
5973
- return /* @__PURE__ */ r.jsxs(it, { width: l, height: c, children: [
5973
+ return /* @__PURE__ */ r.jsxs(st, { width: l, height: c, children: [
5974
5974
  /* @__PURE__ */ r.jsx(w, { ref: d, align: "left", size: "xs", pl: "sm", sx: {
5975
5975
  display: jo(a.stats.templates.top) ? "block" : "none"
5976
5976
  }, children: Object.values(x.top).map((I, R) => /* @__PURE__ */ r.jsx(L.Fragment, { children: I }, R)) }),
@@ -6393,7 +6393,7 @@ const Ty = ({
6393
6393
  } = y(), [s, {
6394
6394
  setTrue: i,
6395
6395
  setFalse: a
6396
- }] = st(), [o, l] = H(t), c = () => {
6396
+ }] = rt(), [o, l] = H(t), c = () => {
6397
6397
  a();
6398
6398
  const {
6399
6399
  type: m,
@@ -6880,7 +6880,7 @@ function yi(t, e) {
6880
6880
  }
6881
6881
  return !0;
6882
6882
  }
6883
- class lt {
6883
+ class ot {
6884
6884
  /**
6885
6885
  @internal
6886
6886
  */
@@ -6977,14 +6977,14 @@ class lt {
6977
6977
  */
6978
6978
  static setFrom(e) {
6979
6979
  if (!e || Array.isArray(e) && e.length == 0)
6980
- return lt.none;
6981
- if (e instanceof lt)
6980
+ return ot.none;
6981
+ if (e instanceof ot)
6982
6982
  return [e];
6983
6983
  let n = e.slice();
6984
6984
  return n.sort((s, i) => s.type.rank - i.type.rank), n;
6985
6985
  }
6986
6986
  }
6987
- lt.none = [];
6987
+ ot.none = [];
6988
6988
  class Ry extends Error {
6989
6989
  }
6990
6990
  class ge {
@@ -7240,7 +7240,7 @@ function wo(t, e, n) {
7240
7240
  }
7241
7241
  class Br {
7242
7242
  constructor(e, n, s, i, a, o, l) {
7243
- this.type = e, this.attrs = n, this.marks = s, this.pendingMarks = i, this.solid = a, this.options = l, this.content = [], this.activeMarks = lt.none, this.stashMarks = [], this.match = o || (l & hr ? null : e.contentMatch);
7243
+ this.type = e, this.attrs = n, this.marks = s, this.pendingMarks = i, this.solid = a, this.options = l, this.content = [], this.activeMarks = ot.none, this.stashMarks = [], this.match = o || (l & hr ? null : e.contentMatch);
7244
7244
  }
7245
7245
  findWrapping(e) {
7246
7246
  if (!this.match) {
@@ -7286,7 +7286,7 @@ class ko {
7286
7286
  constructor(e, n, s) {
7287
7287
  this.parser = e, this.options = n, this.isOpen = s, this.open = 0;
7288
7288
  let i = n.topNode, a, o = wo(null, n.preserveWhitespace, 0) | (s ? hr : 0);
7289
- i ? a = new Br(i.type, i.attrs, lt.none, lt.none, !0, n.topMatch || i.type.contentMatch, o) : s ? a = new Br(null, null, lt.none, lt.none, !0, null, o) : a = new Br(e.schema.topNodeType, null, lt.none, lt.none, !0, null, o), this.nodes = [a], this.find = n.findPositions, this.needsBlock = !1;
7289
+ i ? a = new Br(i.type, i.attrs, ot.none, ot.none, !0, n.topMatch || i.type.contentMatch, o) : s ? a = new Br(null, null, ot.none, ot.none, !0, null, o) : a = new Br(e.schema.topNodeType, null, ot.none, ot.none, !0, null, o), this.nodes = [a], this.find = n.findPositions, this.needsBlock = !1;
7290
7290
  }
7291
7291
  get top() {
7292
7292
  return this.nodes[this.open];
@@ -7366,7 +7366,7 @@ class ko {
7366
7366
  // return an array of marks, or null to indicate some of the styles
7367
7367
  // had a rule with `ignore` set.
7368
7368
  readStyles(e) {
7369
- let n = lt.none, s = lt.none;
7369
+ let n = ot.none, s = ot.none;
7370
7370
  for (let i = 0; i < e.length; i += 2)
7371
7371
  for (let a = void 0; ; ) {
7372
7372
  let o = this.parser.matchStyle(e[i], e[i + 1], this, a);
@@ -7756,7 +7756,7 @@ class ft {
7756
7756
  }
7757
7757
  ft.empty = new ft([]);
7758
7758
  const ei = /* @__PURE__ */ Object.create(null);
7759
- class at {
7759
+ class it {
7760
7760
  /**
7761
7761
  Get the step map that represents the changes made by this step,
7762
7762
  and which can be used to transform between positions in the old
@@ -7839,7 +7839,7 @@ function ta(t, e, n) {
7839
7839
  }
7840
7840
  return ue.fromArray(s);
7841
7841
  }
7842
- class fn extends at {
7842
+ class fn extends it {
7843
7843
  /**
7844
7844
  Create a mark step.
7845
7845
  */
@@ -7877,8 +7877,8 @@ class fn extends at {
7877
7877
  return new fn(n.from, n.to, e.markFromJSON(n.mark));
7878
7878
  }
7879
7879
  }
7880
- at.jsonID("addMark", fn);
7881
- class bn extends at {
7880
+ it.jsonID("addMark", fn);
7881
+ class bn extends it {
7882
7882
  /**
7883
7883
  Create a mark-removing step.
7884
7884
  */
@@ -7916,8 +7916,8 @@ class bn extends at {
7916
7916
  return new bn(n.from, n.to, e.markFromJSON(n.mark));
7917
7917
  }
7918
7918
  }
7919
- at.jsonID("removeMark", bn);
7920
- class yn extends at {
7919
+ it.jsonID("removeMark", bn);
7920
+ class yn extends it {
7921
7921
  /**
7922
7922
  Create a node mark step.
7923
7923
  */
@@ -7960,8 +7960,8 @@ class yn extends at {
7960
7960
  return new yn(n.pos, e.markFromJSON(n.mark));
7961
7961
  }
7962
7962
  }
7963
- at.jsonID("addNodeMark", yn);
7964
- class yr extends at {
7963
+ it.jsonID("addNodeMark", yn);
7964
+ class yr extends it {
7965
7965
  /**
7966
7966
  Create a mark-removing step.
7967
7967
  */
@@ -7995,8 +7995,8 @@ class yr extends at {
7995
7995
  return new yr(n.pos, e.markFromJSON(n.mark));
7996
7996
  }
7997
7997
  }
7998
- at.jsonID("removeNodeMark", yr);
7999
- class Mt extends at {
7998
+ it.jsonID("removeNodeMark", yr);
7999
+ class Mt extends it {
8000
8000
  /**
8001
8001
  The given `slice` should fit the 'gap' between `from` and
8002
8002
  `to`—the depths must line up, and the surrounding nodes must be
@@ -8047,8 +8047,8 @@ class Mt extends at {
8047
8047
  return new Mt(n.from, n.to, ge.fromJSON(e, n.slice), !!n.structure);
8048
8048
  }
8049
8049
  }
8050
- at.jsonID("replace", Mt);
8051
- class wn extends at {
8050
+ it.jsonID("replace", Mt);
8051
+ class wn extends it {
8052
8052
  /**
8053
8053
  Create a replace-around step with the given range and gap.
8054
8054
  `insert` should be the point in the slice into which the content
@@ -8105,7 +8105,7 @@ class wn extends at {
8105
8105
  return new wn(n.from, n.to, n.gapFrom, n.gapTo, ge.fromJSON(e, n.slice), n.insert, !!n.structure);
8106
8106
  }
8107
8107
  }
8108
- at.jsonID("replaceAround", wn);
8108
+ it.jsonID("replaceAround", wn);
8109
8109
  function _i(t, e, n) {
8110
8110
  let s = t.resolve(e), i = n - e, a = s.depth;
8111
8111
  for (; i > 0 && a > 0 && s.indexAfter(a) == s.node(a).childCount; )
@@ -8158,7 +8158,7 @@ function Kc(t, e) {
8158
8158
  function Wy(t, e) {
8159
8159
  return !!(t && e && !t.isLeaf && t.canAppend(e));
8160
8160
  }
8161
- class mr extends at {
8161
+ class mr extends it {
8162
8162
  /**
8163
8163
  Construct an attribute step.
8164
8164
  */
@@ -8195,7 +8195,7 @@ class mr extends at {
8195
8195
  return new mr(n.pos, n.attr, n.value);
8196
8196
  }
8197
8197
  }
8198
- at.jsonID("attr", mr);
8198
+ it.jsonID("attr", mr);
8199
8199
  let _r = class extends Error {
8200
8200
  };
8201
8201
  _r = function t(e) {
@@ -8466,7 +8466,7 @@ class Ls {
8466
8466
  return $e.between(e.resolve(this.anchor), e.resolve(this.head));
8467
8467
  }
8468
8468
  }
8469
- class dt extends ve {
8469
+ class ct extends ve {
8470
8470
  /**
8471
8471
  Create a node selection. Does not verify the validity of its
8472
8472
  argument.
@@ -8477,13 +8477,13 @@ class dt extends ve {
8477
8477
  }
8478
8478
  map(e, n) {
8479
8479
  let { deleted: s, pos: i } = n.mapResult(this.anchor), a = e.resolve(i);
8480
- return s ? ve.near(a) : new dt(a);
8480
+ return s ? ve.near(a) : new ct(a);
8481
8481
  }
8482
8482
  content() {
8483
8483
  return new ge(ue.from(this.node), 0, 0);
8484
8484
  }
8485
8485
  eq(e) {
8486
- return e instanceof dt && e.anchor == this.anchor;
8486
+ return e instanceof ct && e.anchor == this.anchor;
8487
8487
  }
8488
8488
  toJSON() {
8489
8489
  return { type: "node", anchor: this.anchor };
@@ -8497,13 +8497,13 @@ class dt extends ve {
8497
8497
  static fromJSON(e, n) {
8498
8498
  if (typeof n.anchor != "number")
8499
8499
  throw new RangeError("Invalid input for NodeSelection.fromJSON");
8500
- return new dt(e.resolve(n.anchor));
8500
+ return new ct(e.resolve(n.anchor));
8501
8501
  }
8502
8502
  /**
8503
8503
  Create a node selection from non-resolved positions.
8504
8504
  */
8505
8505
  static create(e, n) {
8506
- return new dt(e.resolve(n));
8506
+ return new ct(e.resolve(n));
8507
8507
  }
8508
8508
  /**
8509
8509
  Determines whether the given node may be selected as a node
@@ -8513,8 +8513,8 @@ class dt extends ve {
8513
8513
  return !e.isText && e.type.spec.selectable !== !1;
8514
8514
  }
8515
8515
  }
8516
- dt.prototype.visible = !1;
8517
- ve.jsonID("node", dt);
8516
+ ct.prototype.visible = !1;
8517
+ ve.jsonID("node", ct);
8518
8518
  class na {
8519
8519
  constructor(e) {
8520
8520
  this.anchor = e;
@@ -8525,7 +8525,7 @@ class na {
8525
8525
  }
8526
8526
  resolve(e) {
8527
8527
  let n = e.resolve(this.anchor), s = n.nodeAfter;
8528
- return s && dt.isSelectable(s) ? new dt(n) : ve.near(n);
8528
+ return s && ct.isSelectable(s) ? new ct(n) : ve.near(n);
8529
8529
  }
8530
8530
  }
8531
8531
  class Ut extends ve {
@@ -8577,8 +8577,8 @@ function Fn(t, e, n, s, i, a = !1) {
8577
8577
  for (let o = s - (i > 0 ? 0 : 1); i > 0 ? o < e.childCount : o >= 0; o += i) {
8578
8578
  let l = e.child(o);
8579
8579
  if (l.isAtom) {
8580
- if (!a && dt.isSelectable(l))
8581
- return dt.create(t, n - (i < 0 ? l.nodeSize : 0));
8580
+ if (!a && ct.isSelectable(l))
8581
+ return ct.create(t, n - (i < 0 ? l.nodeSize : 0));
8582
8582
  } else {
8583
8583
  let c = Fn(t, l, n + i, i < 0 ? l.childCount : 0, i, a);
8584
8584
  if (c)
@@ -9307,7 +9307,7 @@ const Q_ = (t, e = {}) => ({ tr: n, state: s, dispatch: i }) => {
9307
9307
  return a.isTextblock ? i().command(({ commands: o }) => ho(a, e)(n) ? !0 : o.clearNodes()).command(({ state: o }) => ho(a, e)(o, s)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
9308
9308
  }, Y_ = (t) => ({ tr: e, dispatch: n }) => {
9309
9309
  if (n) {
9310
- const { doc: s } = e, i = _n(t, 0, s.content.size), a = dt.create(s, i);
9310
+ const { doc: s } = e, i = _n(t, 0, s.content.size), a = ct.create(s, i);
9311
9311
  e.setSelection(a);
9312
9312
  }
9313
9313
  return !0;
@@ -9330,7 +9330,7 @@ function Ao(t, e) {
9330
9330
  }
9331
9331
  const X_ = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: s, editor: i }) => {
9332
9332
  const { selection: a, doc: o } = e, { $from: l, $to: c } = a, d = i.extensionManager.attributes, u = es(d, l.node().type.name, l.node().attrs);
9333
- if (a instanceof dt && a.node.isBlock)
9333
+ if (a instanceof ct && a.node.isBlock)
9334
9334
  return !l.parentOffset || !Zr(o, l.pos) ? !1 : (s && (t && Ao(n, i.extensionManager.splittableMarks), e.split(l.pos).scrollIntoView()), !0);
9335
9335
  if (!l.parent.isBlock)
9336
9336
  return !1;
@@ -10572,7 +10572,7 @@ function Iv({
10572
10572
  /* @__PURE__ */ r.jsx(E, { mb: -15, variant: "dashed", label: n("chart.y_axis.label_format"), labelPosition: "center" }),
10573
10573
  /* @__PURE__ */ r.jsx(g, { name: `y_axes.${e}.label_formatter`, control: t, render: ({
10574
10574
  field: s
10575
- }) => /* @__PURE__ */ r.jsx(vt, { ...s }) })
10575
+ }) => /* @__PURE__ */ r.jsx(_t, { ...s }) })
10576
10576
  ] }),
10577
10577
  /* @__PURE__ */ r.jsxs(S, { children: [
10578
10578
  /* @__PURE__ */ r.jsx(E, { mb: -15, variant: "dashed", label: n("chart.y_axis.value_range"), labelPosition: "center" }),
@@ -11179,7 +11179,7 @@ function rj(t, e) {
11179
11179
  const h = F(s), m = F(i), x = e[h.queryID].map((v) => ({
11180
11180
  name: v[h.columnKey],
11181
11181
  value: v[m.columnKey]
11182
- })), f = _t(a.overflow.on_axis);
11182
+ })), f = yt(a.overflow.on_axis);
11183
11183
  return {
11184
11184
  type: "funnel",
11185
11185
  ...nj(n),
@@ -11288,7 +11288,7 @@ function lj(t) {
11288
11288
  axisLabel: {
11289
11289
  show: !0,
11290
11290
  position: "inside",
11291
- overflow: rt()
11291
+ overflow: nt()
11292
11292
  },
11293
11293
  sort: "descending",
11294
11294
  orient: "vertical",
@@ -11319,7 +11319,7 @@ function dj({
11319
11319
  width: i,
11320
11320
  height: a
11321
11321
  } = t.viewport;
11322
- return !i || !a ? null : /* @__PURE__ */ r.jsx(it, { width: i, height: a, children: /* @__PURE__ */ r.jsx(cj, { width: zt(i), height: It(a), data: s, conf: n }) });
11322
+ return !i || !a ? null : /* @__PURE__ */ r.jsx(st, { width: i, height: a, children: /* @__PURE__ */ r.jsx(cj, { width: zt(i), height: It(a), data: s, conf: n }) });
11323
11323
  }
11324
11324
  const uj = ({
11325
11325
  item: t,
@@ -11664,7 +11664,7 @@ const _j = {
11664
11664
  translation: gj
11665
11665
  };
11666
11666
  function vj(t) {
11667
- const e = nt(t.x_axis.axisLabel.formatter), n = nt(t.y_axis.axisLabel.formatter);
11667
+ const e = tt(t.x_axis.axisLabel.formatter), n = tt(t.y_axis.axisLabel.formatter);
11668
11668
  return {
11669
11669
  x_axis: e,
11670
11670
  y_axis: n
@@ -11740,14 +11740,14 @@ function Cj({
11740
11740
  value: e.x_axis(l, o),
11741
11741
  style: {
11742
11742
  label: "",
11743
- value: yt(t.x_axis.axisLabel.overflow.in_tooltip)
11743
+ value: bt(t.x_axis.axisLabel.overflow.in_tooltip)
11744
11744
  }
11745
11745
  }, h = {
11746
11746
  label: t.y_axis.name ? t.y_axis.name : "Y Axis",
11747
11747
  value: e.y_axis(c, o),
11748
11748
  style: {
11749
11749
  label: "",
11750
- value: yt(t.y_axis.axisLabel.overflow.in_tooltip)
11750
+ value: bt(t.y_axis.axisLabel.overflow.in_tooltip)
11751
11751
  }
11752
11752
  }, m = {
11753
11753
  label: t.heat_block.name,
@@ -11815,7 +11815,7 @@ function Ij(t, e, n, s) {
11815
11815
  const {
11816
11816
  overflow: i,
11817
11817
  rotate: a
11818
- } = t.x_axis.axisLabel, o = _t(i.on_axis);
11818
+ } = t.x_axis.axisLabel, o = yt(i.on_axis);
11819
11819
  return pe.getXAxis({
11820
11820
  id: "main-x-axis",
11821
11821
  type: "category",
@@ -11862,7 +11862,7 @@ function Tj(t, e, n, s) {
11862
11862
  } = t.y_axis, {
11863
11863
  overflow: l,
11864
11864
  rotate: c
11865
- } = t.y_axis.axisLabel, d = _t(l.on_axis);
11865
+ } = t.y_axis.axisLabel, d = yt(l.on_axis);
11866
11866
  return pe.getYAxis({
11867
11867
  ...o,
11868
11868
  type: "category",
@@ -11936,7 +11936,7 @@ const Dj = ({
11936
11936
  } = y(), [s, {
11937
11937
  setTrue: i,
11938
11938
  setFalse: a
11939
- }] = st(), [o, l] = H(t), c = () => {
11939
+ }] = rt(), [o, l] = H(t), c = () => {
11940
11940
  a();
11941
11941
  const {
11942
11942
  type: m,
@@ -12384,7 +12384,7 @@ const dd = {
12384
12384
  data_key: "",
12385
12385
  axisLabel: {
12386
12386
  rotate: 0,
12387
- overflow: rt(),
12387
+ overflow: nt(),
12388
12388
  formatter: Ue()
12389
12389
  }
12390
12390
  },
@@ -12394,7 +12394,7 @@ const dd = {
12394
12394
  nameAlignment: "center",
12395
12395
  axisLabel: {
12396
12396
  rotate: 0,
12397
- overflow: rt(),
12397
+ overflow: nt(),
12398
12398
  formatter: Ue()
12399
12399
  }
12400
12400
  },
@@ -12456,7 +12456,7 @@ function Uj({
12456
12456
  width: l,
12457
12457
  height: c
12458
12458
  } = t.viewport;
12459
- return !l || !c ? null : /* @__PURE__ */ r.jsx(it, { width: l, height: c, children: /* @__PURE__ */ r.jsx(Hj, { variables: i, width: zt(l), height: It(c), data: o, conf: a, interactionManager: n }) });
12459
+ return !l || !c ? null : /* @__PURE__ */ r.jsx(st, { width: l, height: c, children: /* @__PURE__ */ r.jsx(Hj, { variables: i, width: zt(l), height: It(c), data: o, conf: a, interactionManager: n }) });
12460
12460
  }
12461
12461
  function Yj({
12462
12462
  control: t,
@@ -12483,7 +12483,7 @@ function Yj({
12483
12483
  /* @__PURE__ */ r.jsx(E, { mb: -15, variant: "dashed", label: n("numbro.format.label"), labelPosition: "center" }),
12484
12484
  /* @__PURE__ */ r.jsx(g, { name: "heat_block.value_formatter", control: t, render: ({
12485
12485
  field: i
12486
- }) => /* @__PURE__ */ r.jsx(vt, { ...i }) }),
12486
+ }) => /* @__PURE__ */ r.jsx(_t, { ...i }) }),
12487
12487
  /* @__PURE__ */ r.jsx(E, { mb: -5, variant: "dashed", label: n("chart.label.label"), labelPosition: "center" }),
12488
12488
  /* @__PURE__ */ r.jsxs(b, { grow: !0, noWrap: !0, children: [
12489
12489
  /* @__PURE__ */ r.jsx(g, { name: "heat_block.label.show", control: t, render: ({
@@ -12933,7 +12933,7 @@ const hd = {
12933
12933
  axisLabel: {
12934
12934
  rotate: 0,
12935
12935
  formatter: Ue(),
12936
- overflow: rt()
12936
+ overflow: nt()
12937
12937
  }
12938
12938
  },
12939
12939
  data_key: "value",
@@ -13114,7 +13114,7 @@ const vw = (t, e) => (n) => {
13114
13114
  <td style="text-align: left; padding: 0 1em;">${m(h)}</td>
13115
13115
  </tr>
13116
13116
  `;
13117
- }), a = yt(t.x_axis.axisLabel.overflow.in_tooltip), o = s[0].name;
13117
+ }), a = bt(t.x_axis.axisLabel.overflow.in_tooltip), o = s[0].name;
13118
13118
  return `
13119
13119
  <div style="text-align: left; margin-bottom: .5em; padding: 0 1em .5em; font-weight: bold; border-bottom: 1px dashed #ddd;">
13120
13120
  <div style="${a}">${o}</div>
@@ -13136,7 +13136,7 @@ function ww(t) {
13136
13136
  const {
13137
13137
  name: e,
13138
13138
  axisLabel: n
13139
- } = t.x_axis, s = _t(n.overflow.on_axis);
13139
+ } = t.x_axis, s = yt(n.overflow.on_axis);
13140
13140
  return [pe.getXAxis({
13141
13141
  type: "category",
13142
13142
  id: "main-x-axis",
@@ -13149,7 +13149,7 @@ function ww(t) {
13149
13149
  axisLabel: {
13150
13150
  ...n,
13151
13151
  ...s,
13152
- formatter: nt(n.formatter)
13152
+ formatter: tt(n.formatter)
13153
13153
  }
13154
13154
  })];
13155
13155
  }
@@ -13262,7 +13262,7 @@ function Iw({
13262
13262
  }, [h, u, d]), x = C(() => ({
13263
13263
  click: m
13264
13264
  }), [m]);
13265
- return !l || !a || !o ? null : /* @__PURE__ */ r.jsx(it, { width: a, height: o, children: /* @__PURE__ */ r.jsx(Ze, { echarts: Je, option: c, style: Mr(a, o), onEvents: x, notMerge: !0, theme: "merico-light" }) });
13265
+ return !l || !a || !o ? null : /* @__PURE__ */ r.jsx(st, { width: a, height: o, children: /* @__PURE__ */ r.jsx(Ze, { echarts: Je, option: c, style: Mr(a, o), onEvents: x, notMerge: !0, theme: "merico-light" }) });
13266
13266
  }
13267
13267
  function Tw({
13268
13268
  control: t,
@@ -13294,7 +13294,7 @@ function Tw({
13294
13294
  /* @__PURE__ */ r.jsx(E, { mb: -15, variant: "dashed", label: n("chart.label.label_format"), labelPosition: "center" }),
13295
13295
  /* @__PURE__ */ r.jsx(g, { name: "bar.label_formatter", control: t, render: ({
13296
13296
  field: s
13297
- }) => /* @__PURE__ */ r.jsx(vt, { ...s }) })
13297
+ }) => /* @__PURE__ */ r.jsx(_t, { ...s }) })
13298
13298
  ] })
13299
13299
  ] });
13300
13300
  }
@@ -13924,7 +13924,7 @@ function e0({
13924
13924
  width: o,
13925
13925
  height: l
13926
13926
  } = t.viewport;
13927
- return !o || !l ? null : /* @__PURE__ */ r.jsx(it, { width: o, height: l, children: /* @__PURE__ */ r.jsx(Zw, { conf: i, width: zt(o), height: It(l), data: a, interactionManager: n }) });
13927
+ return !o || !l ? null : /* @__PURE__ */ r.jsx(st, { width: o, height: l, children: /* @__PURE__ */ r.jsx(Zw, { conf: i, width: zt(o), height: It(l), data: a, interactionManager: n }) });
13928
13928
  }
13929
13929
  function t0({
13930
13930
  context: t
@@ -14344,7 +14344,7 @@ function _0({
14344
14344
  width: l,
14345
14345
  height: c
14346
14346
  } = t.viewport;
14347
- return !l || !c || !a || wl(a == null ? void 0 : a.dimensions) ? null : /* @__PURE__ */ r.jsx(it, { width: l, height: c, children: /* @__PURE__ */ r.jsx(y0, { variables: i, width: zt(l), height: It(c), data: o, conf: a, interactionManager: n }) });
14347
+ return !l || !c || !a || wl(a == null ? void 0 : a.dimensions) ? null : /* @__PURE__ */ r.jsx(st, { width: l, height: c, children: /* @__PURE__ */ r.jsx(y0, { variables: i, width: zt(l), height: It(c), data: o, conf: a, interactionManager: n }) });
14348
14348
  }
14349
14349
  function v0({
14350
14350
  control: t,
@@ -14433,7 +14433,7 @@ function w0({
14433
14433
  /* @__PURE__ */ r.jsx(E, { mb: -15, variant: "dashed", label: n("viz.radar_chart.metric.value_formatter"), labelPosition: "center" }),
14434
14434
  /* @__PURE__ */ r.jsx(g, { name: `dimensions.${e}.formatter`, control: t, render: ({
14435
14435
  field: s
14436
- }) => /* @__PURE__ */ r.jsx(vt, { ...s }) })
14436
+ }) => /* @__PURE__ */ r.jsx(_t, { ...s }) })
14437
14437
  ] })
14438
14438
  ] });
14439
14439
  }
@@ -14866,7 +14866,7 @@ function B0(t) {
14866
14866
  format: n,
14867
14867
  formatter: s,
14868
14868
  ...i
14869
- } = t.x_axis.axisLabel, a = _t(e.on_axis);
14869
+ } = t.x_axis.axisLabel, a = yt(e.on_axis);
14870
14870
  return pe.getXAxis({
14871
14871
  type: "value",
14872
14872
  name: t.x_axis.name ?? "",
@@ -14881,7 +14881,7 @@ function B0(t) {
14881
14881
  c = ae(o, n);
14882
14882
  } catch {
14883
14883
  }
14884
- return nt(s)(c, l);
14884
+ return tt(s)(c, l);
14885
14885
  }
14886
14886
  }
14887
14887
  });
@@ -15145,7 +15145,7 @@ const ua = {
15145
15145
  axisLabel: {
15146
15146
  rotate: 0,
15147
15147
  format: We,
15148
- overflow: rt(),
15148
+ overflow: nt(),
15149
15149
  formatter: Ue()
15150
15150
  }
15151
15151
  },
@@ -15196,7 +15196,7 @@ function tk({
15196
15196
  }, [t.data, e == null ? void 0 : e.regression.y_axis_data_key]), a = C(() => G0(Ce({}, e, ua), i), [e, i]), o = fs(null), l = (c) => {
15197
15197
  o.current = c;
15198
15198
  };
15199
- return !n || !s || !e ? null : /* @__PURE__ */ r.jsxs(it, { width: n, height: s, children: [
15199
+ return !n || !s || !e ? null : /* @__PURE__ */ r.jsxs(st, { width: n, height: s, children: [
15200
15200
  /* @__PURE__ */ r.jsx(ek, { conf: e, queryData: i }),
15201
15201
  /* @__PURE__ */ r.jsx(Ze, { echarts: Je, onChartReady: l, option: a, style: Mr(n, s), notMerge: !0, theme: "merico-light" })
15202
15202
  ] });
@@ -15280,7 +15280,7 @@ function rk({
15280
15280
  /* @__PURE__ */ r.jsx(E, { variant: "dashed", labelPosition: "center", label: "格式化数据" }),
15281
15281
  /* @__PURE__ */ r.jsx(S, { children: /* @__PURE__ */ r.jsx(g, { name: "x_axis.axisLabel.format", control: t, render: ({
15282
15282
  field: n
15283
- }) => /* @__PURE__ */ r.jsx(vt, { ...n }) }) }),
15283
+ }) => /* @__PURE__ */ r.jsx(_t, { ...n }) }) }),
15284
15284
  /* @__PURE__ */ r.jsx(E, { variant: "dashed", labelPosition: "center", label: "标签文案样式" }),
15285
15285
  /* @__PURE__ */ r.jsxs(b, { grow: !0, noWrap: !0, children: [
15286
15286
  /* @__PURE__ */ r.jsx(g, { name: "x_axis.axisLabel.rotate", control: t, render: ({
@@ -15367,7 +15367,7 @@ function ak(t) {
15367
15367
  axisLabel: {
15368
15368
  rotate: 0,
15369
15369
  format: We,
15370
- overflow: rt(),
15370
+ overflow: nt(),
15371
15371
  formatter: Ue()
15372
15372
  }
15373
15373
  },
@@ -15783,7 +15783,7 @@ function _d() {
15783
15783
  const {
15784
15784
  on_axis: t,
15785
15785
  in_tooltip: e
15786
- } = rt();
15786
+ } = nt();
15787
15787
  return {
15788
15788
  label: t,
15789
15789
  tooltip: e
@@ -15813,7 +15813,7 @@ const ma = {
15813
15813
  axisLabel: {
15814
15814
  rotate: 0,
15815
15815
  formatter: Ue(),
15816
- overflow: rt()
15816
+ overflow: nt()
15817
15817
  }
15818
15818
  },
15819
15819
  y_axes: [{
@@ -15987,7 +15987,7 @@ function Ek({
15987
15987
  label: {
15988
15988
  show: !!e.label_position,
15989
15989
  position: e.label_position,
15990
- ..._t(e.label_overflow.label),
15990
+ ...yt(e.label_overflow.label),
15991
15991
  formatter: ({
15992
15992
  value: o
15993
15993
  }) => o[a.columnKey]
@@ -16017,7 +16017,7 @@ function Fo(t, e, n) {
16017
16017
  const {
16018
16018
  x_axis: s
16019
16019
  } = n;
16020
- return s.axisLabel.formatter.enabled ? nt(s.axisLabel.formatter)(t, e) : t;
16020
+ return s.axisLabel.formatter.enabled ? tt(s.axisLabel.formatter)(t, e) : t;
16021
16021
  }
16022
16022
  function $k(t, e) {
16023
16023
  const {
@@ -16054,7 +16054,7 @@ function Ok(t, e) {
16054
16054
  const a = e[0] ?? e.default, o = Array.isArray(i) ? i : [i];
16055
16055
  if (o.length === 0)
16056
16056
  return "";
16057
- const l = $k(o, t), c = yt(t.scatter.label_overflow.tooltip), d = o.map(
16057
+ const l = $k(o, t), c = bt(t.scatter.label_overflow.tooltip), d = o.map(
16058
16058
  // @ts-expect-error type of value
16059
16059
  ({
16060
16060
  value: f
@@ -16065,7 +16065,7 @@ function Ok(t, e) {
16065
16065
  `
16066
16066
  );
16067
16067
  d.unshift("<th></th>");
16068
- const u = yt(t.x_axis.axisLabel.overflow.in_tooltip), h = [`<tr>
16068
+ const u = bt(t.x_axis.axisLabel.overflow.in_tooltip), h = [`<tr>
16069
16069
  <th style="text-align: right;">${t.x_axis.name}</th>
16070
16070
  ${o.map((f) => `<td style="text-align: right; padding: 0 1em;"><div style="${u}">${l}</div></td>`).join("")}
16071
16071
  </tr>`, `<tr>
@@ -16095,7 +16095,7 @@ function Fk(t, e) {
16095
16095
  const n = e.every((l) => !Number.isNaN(Number(l))), {
16096
16096
  overflow: s,
16097
16097
  ...i
16098
- } = t.x_axis.axisLabel, a = _t(s.on_axis), o = e.length === 0;
16098
+ } = t.x_axis.axisLabel, a = yt(s.on_axis), o = e.length === 0;
16099
16099
  return [pe.getXAxis({
16100
16100
  data: e,
16101
16101
  name: t.x_axis.name ?? "",
@@ -16105,7 +16105,7 @@ function Fk(t, e) {
16105
16105
  axisLabel: {
16106
16106
  ...i,
16107
16107
  ...a,
16108
- formatter: nt(i.formatter)
16108
+ formatter: tt(i.formatter)
16109
16109
  }
16110
16110
  })];
16111
16111
  }
@@ -16254,7 +16254,7 @@ function Wk({
16254
16254
  bottom: br(v.bottom, i, o)
16255
16255
  };
16256
16256
  }, [a, o]), f = Math.max(0, It(c) - u - m);
16257
- return !l || !c ? null : /* @__PURE__ */ r.jsxs(it, { width: l, height: c, children: [
16257
+ return !l || !c ? null : /* @__PURE__ */ r.jsxs(st, { width: l, height: c, children: [
16258
16258
  /* @__PURE__ */ r.jsx(w, { ref: d, align: "left", size: "xs", pl: "sm", sx: {
16259
16259
  display: Vo(a.stats.templates.top) ? "block" : "none"
16260
16260
  }, children: Object.values(x.top).map((v) => v) }),
@@ -16502,7 +16502,7 @@ const Kk = ({
16502
16502
  } = y(), [s, {
16503
16503
  setTrue: i,
16504
16504
  setFalse: a
16505
- }] = st(), [o, l] = H(t), c = () => {
16505
+ }] = rt(), [o, l] = H(t), c = () => {
16506
16506
  a();
16507
16507
  const {
16508
16508
  type: m,
@@ -16806,7 +16806,7 @@ function lS({
16806
16806
  /* @__PURE__ */ r.jsx(E, { mb: -15, variant: "dashed", label: n("chart.y_axis.label_format"), labelPosition: "center" }),
16807
16807
  /* @__PURE__ */ r.jsx(g, { name: `y_axes.${e}.label_formatter`, control: t, render: ({
16808
16808
  field: s
16809
- }) => /* @__PURE__ */ r.jsx(vt, { ...s }) })
16809
+ }) => /* @__PURE__ */ r.jsx(_t, { ...s }) })
16810
16810
  ] }),
16811
16811
  /* @__PURE__ */ r.jsxs(S, { children: [
16812
16812
  /* @__PURE__ */ r.jsx(E, { mb: -15, variant: "dashed", label: n("chart.y_axis.value_range"), labelPosition: "center" }),
@@ -17074,7 +17074,7 @@ function jS(t) {
17074
17074
  const e = {
17075
17075
  x_axis: {
17076
17076
  axisLabel: {
17077
- overflow: rt()
17077
+ overflow: nt()
17078
17078
  }
17079
17079
  }
17080
17080
  };
@@ -17583,7 +17583,7 @@ function YS({
17583
17583
  width: a,
17584
17584
  height: o
17585
17585
  } = t.viewport, l = C(() => US(s, i, e), [s, i, e]);
17586
- return !a || !o ? null : /* @__PURE__ */ r.jsx(it, { width: a, height: o, children: /* @__PURE__ */ r.jsx(Ze, { echarts: Je, option: l, style: Mr(a, o), notMerge: !0, theme: "merico-light" }) });
17586
+ return !a || !o ? null : /* @__PURE__ */ r.jsx(st, { width: a, height: o, children: /* @__PURE__ */ r.jsx(Ze, { echarts: Je, option: l, style: Mr(a, o), notMerge: !0, theme: "merico-light" }) });
17587
17587
  }
17588
17588
  function KS({
17589
17589
  control: t,
@@ -17892,7 +17892,7 @@ const l1 = {
17892
17892
  },
17893
17893
  translation: n1
17894
17894
  };
17895
- var jt = /* @__PURE__ */ ((t) => (t.string = "string", t.number = "number", t.eloc = "eloc", t.percentage = "percentage", t.url = "url", t.custom = "custom", t))(jt || {});
17895
+ var vt = /* @__PURE__ */ ((t) => (t.string = "string", t.number = "number", t.eloc = "eloc", t.percentage = "percentage", t.url = "url", t.custom = "custom", t))(vt || {});
17896
17896
  const jd = ["function text({ value, row_data }, utils) {", " return value", "}"].join(`
17897
17897
  `), wd = {
17898
17898
  columns: [],
@@ -18104,17 +18104,17 @@ function y1(t) {
18104
18104
  }
18105
18105
  function _1(t) {
18106
18106
  switch (t.type) {
18107
- case jt.string:
18107
+ case vt.string:
18108
18108
  return /* @__PURE__ */ r.jsx(p1, { ...t });
18109
- case jt.eloc:
18109
+ case vt.eloc:
18110
18110
  return /* @__PURE__ */ r.jsx(g1, { ...t });
18111
- case jt.number:
18111
+ case vt.number:
18112
18112
  return /* @__PURE__ */ r.jsx(f1, { ...t });
18113
- case jt.percentage:
18113
+ case vt.percentage:
18114
18114
  return /* @__PURE__ */ r.jsx(b1, { ...t });
18115
- case jt.url:
18115
+ case vt.url:
18116
18116
  return /* @__PURE__ */ r.jsx(x1, { ...t });
18117
- case jt.custom:
18117
+ case vt.custom:
18118
18118
  return /* @__PURE__ */ r.jsx(y1, { ...t });
18119
18119
  }
18120
18120
  }
@@ -18342,7 +18342,7 @@ function No({
18342
18342
  id: Ee,
18343
18343
  label: Ee,
18344
18344
  value_field: Ee,
18345
- value_type: jt.string,
18345
+ value_type: vt.string,
18346
18346
  align: "left",
18347
18347
  width: "",
18348
18348
  cellBackgroundColor: ""
@@ -18356,7 +18356,7 @@ function No({
18356
18356
  return x.map((Ee) => {
18357
18357
  const Ar = Dx(Ee.value_field);
18358
18358
  return _e.accessor(Ar.columnKey, {
18359
- cell: (ot) => /* @__PURE__ */ r.jsx(_1, { tableCellContext: f(ot.cell), value: ot.getValue(), type: Ee.value_type, row_data: ot.row.original, ...Ee }),
18359
+ cell: (at) => /* @__PURE__ */ r.jsx(_1, { tableCellContext: f(at.cell), value: at.getValue(), type: Ee.value_type, row_data: at.row.original, ...Ee }),
18360
18360
  header: Ee.label,
18361
18361
  enableSorting: !0,
18362
18362
  meta: Ee,
@@ -18512,7 +18512,7 @@ const A1 = re((t, e) => {
18512
18512
  const {
18513
18513
  t: i,
18514
18514
  i18n: a
18515
- } = y(), o = C(() => Object.values(jt).map((l) => ({
18515
+ } = y(), o = C(() => Object.values(vt).map((l) => ({
18516
18516
  label: i(`viz.table.column.value_type.${l}`),
18517
18517
  value: l
18518
18518
  })), [a.language]);
@@ -18526,7 +18526,7 @@ const A1 = re((t, e) => {
18526
18526
  } = y(), [i, {
18527
18527
  setTrue: a,
18528
18528
  setFalse: o
18529
- }] = st(), [l, c] = H(t), d = () => {
18529
+ }] = rt(), [l, c] = H(t), d = () => {
18530
18530
  o(), e(l);
18531
18531
  }, u = () => {
18532
18532
  o(), c(t);
@@ -18586,7 +18586,7 @@ const A1 = re((t, e) => {
18586
18586
  }) => /* @__PURE__ */ r.jsx($1, { sx: {
18587
18587
  flex: 1
18588
18588
  }, ...c }) }),
18589
- o === jt.custom && /* @__PURE__ */ r.jsx(g, { name: `columns.${e}.func_content`, control: t, render: ({
18589
+ o === vt.custom && /* @__PURE__ */ r.jsx(g, { name: `columns.${e}.func_content`, control: t, render: ({
18590
18590
  field: c
18591
18591
  }) => /* @__PURE__ */ r.jsx(P1, { value: c.value ?? jd, onChange: (d) => c.onChange(d ?? "") }) })
18592
18592
  ] }),
@@ -18628,7 +18628,7 @@ const A1 = re((t, e) => {
18628
18628
  label: d,
18629
18629
  align: "center",
18630
18630
  value_field: "",
18631
- value_type: jt.string,
18631
+ value_type: vt.string,
18632
18632
  width: ""
18633
18633
  });
18634
18634
  };
@@ -19084,7 +19084,7 @@ const Md = L.forwardRef(Z1), eC = ({
19084
19084
  } = y(), [i, {
19085
19085
  setTrue: a,
19086
19086
  setFalse: o
19087
- }] = st(), [l, c] = H(t), d = () => {
19087
+ }] = rt(), [l, c] = H(t), d = () => {
19088
19088
  o(), e(l);
19089
19089
  }, u = () => {
19090
19090
  o(), c(t);
@@ -19725,7 +19725,7 @@ function $C({
19725
19725
  width: l,
19726
19726
  height: c
19727
19727
  } = t.viewport;
19728
- return !a.calendar.data_key || !a.heat_block.data_key || !l || !c ? null : /* @__PURE__ */ r.jsx(it, { width: l, height: c, children: /* @__PURE__ */ r.jsx(AC, { variables: i, width: zt(l), height: It(c), data: o, conf: a, interactionManager: n }) });
19728
+ return !a.calendar.data_key || !a.heat_block.data_key || !l || !c ? null : /* @__PURE__ */ r.jsx(st, { width: l, height: c, children: /* @__PURE__ */ r.jsx(AC, { variables: i, width: zt(l), height: It(c), data: o, conf: a, interactionManager: n }) });
19729
19729
  }
19730
19730
  function PC({
19731
19731
  control: t,
@@ -19758,7 +19758,7 @@ function PC({
19758
19758
  /* @__PURE__ */ r.jsx(E, { mb: -15, variant: "dashed", label: n("numbro.format.label"), labelPosition: "center" }),
19759
19759
  /* @__PURE__ */ r.jsx(g, { name: "heat_block.value_formatter", control: t, render: ({
19760
19760
  field: s
19761
- }) => /* @__PURE__ */ r.jsx(vt, { ...s }) })
19761
+ }) => /* @__PURE__ */ r.jsx(_t, { ...s }) })
19762
19762
  ] });
19763
19763
  }
19764
19764
  const OC = ({
@@ -20033,7 +20033,7 @@ const KC = {
20033
20033
  data_key: "",
20034
20034
  axisLabel: {
20035
20035
  formatter: Ue(),
20036
- overflow: rt()
20036
+ overflow: nt()
20037
20037
  },
20038
20038
  nameAlignment: "center"
20039
20039
  },
@@ -20284,7 +20284,7 @@ function dz(t, e) {
20284
20284
  axisValue: a,
20285
20285
  axisIndex: o
20286
20286
  } = n;
20287
- return i === "yAxis.category" ? s : nt(e.y_axis.axisLabel.formatter)(a, o);
20287
+ return i === "yAxis.category" ? s : tt(e.y_axis.axisLabel.formatter)(a, o);
20288
20288
  }
20289
20289
  function uz(t, e, n) {
20290
20290
  const s = e.reduce((i, {
@@ -20317,7 +20317,7 @@ function uz(t, e, n) {
20317
20317
  })}</td>
20318
20318
  </tr>
20319
20319
  `;
20320
- }), l = yt(t.y_axis.axisLabel.overflow.in_tooltip), c = dz(a, t);
20320
+ }), l = bt(t.y_axis.axisLabel.overflow.in_tooltip), c = dz(a, t);
20321
20321
  return `
20322
20322
  <div style="text-align: left; margin-bottom: .5em; padding: 0 1em .5em; font-weight: bold; border-bottom: 1px dashed #ddd;">
20323
20323
  <div style="${l}">${c}</div>
@@ -20383,7 +20383,7 @@ function xz(t, e) {
20383
20383
  const n = e.every((o) => !Number.isNaN(Number(o))), {
20384
20384
  overflow: s,
20385
20385
  ...i
20386
- } = t.y_axis.axisLabel, a = _t(s.on_axis);
20386
+ } = t.y_axis.axisLabel, a = yt(s.on_axis);
20387
20387
  return [pe.getXAxis({
20388
20388
  data: e,
20389
20389
  name: t.y_axis.name ?? "",
@@ -20397,7 +20397,7 @@ function xz(t, e) {
20397
20397
  axisLabel: {
20398
20398
  ...i,
20399
20399
  ...a,
20400
- formatter: nt(i.formatter)
20400
+ formatter: tt(i.formatter)
20401
20401
  },
20402
20402
  z: 5
20403
20403
  })];
@@ -20456,7 +20456,7 @@ function bz({
20456
20456
  width: l,
20457
20457
  height: c
20458
20458
  } = t.viewport;
20459
- return !l || !c ? null : /* @__PURE__ */ r.jsx(it, { width: l, height: c, children: /* @__PURE__ */ r.jsx(fz, { variables: i, width: zt(l), height: It(c), data: o, conf: a, interactionManager: n }) });
20459
+ return !l || !c ? null : /* @__PURE__ */ r.jsx(st, { width: l, height: c, children: /* @__PURE__ */ r.jsx(fz, { variables: i, width: zt(l), height: It(c), data: o, conf: a, interactionManager: n }) });
20460
20460
  }
20461
20461
  function yz({
20462
20462
  control: t,
@@ -20739,7 +20739,7 @@ function Sz({
20739
20739
  /* @__PURE__ */ r.jsx(E, { mb: -15, variant: "dashed", label: n("chart.x_axis.label_format"), labelPosition: "center" }),
20740
20740
  /* @__PURE__ */ r.jsx(g, { name: `x_axes.${e}.label_formatter`, control: t, render: ({
20741
20741
  field: s
20742
- }) => /* @__PURE__ */ r.jsx(vt, { ...s }) })
20742
+ }) => /* @__PURE__ */ r.jsx(_t, { ...s }) })
20743
20743
  ] }),
20744
20744
  /* @__PURE__ */ r.jsxs(S, { children: [
20745
20745
  /* @__PURE__ */ r.jsx(E, { mb: -15, variant: "dashed", label: n("chart.x_axis.value_range"), labelPosition: "center" }),
@@ -21336,7 +21336,7 @@ function Bz(t, e) {
21336
21336
  type: "category",
21337
21337
  axisLabel: {
21338
21338
  ...n,
21339
- formatter: nt(n.formatter)
21339
+ formatter: tt(n.formatter)
21340
21340
  },
21341
21341
  axisLine: {
21342
21342
  show: !1
@@ -22027,7 +22027,7 @@ function _I({
22027
22027
  /* @__PURE__ */ r.jsx(E, { mb: -15, variant: "dashed", label: i("numbro.format.label"), labelPosition: "center" }),
22028
22028
  /* @__PURE__ */ r.jsx(g, { name: `metrics.${e}.formatter`, control: t, render: ({
22029
22029
  field: a
22030
- }) => /* @__PURE__ */ r.jsx(vt, { ...a }) }),
22030
+ }) => /* @__PURE__ */ r.jsx(_t, { ...a }) }),
22031
22031
  /* @__PURE__ */ r.jsx(E, { mb: -15, variant: "dashed", label: i("viz.merico_stats.metric.others"), labelPosition: "center" }),
22032
22032
  /* @__PURE__ */ r.jsx(g, { name: `metrics.${e}.postfix`, control: t, render: ({
22033
22033
  field: a
@@ -22212,7 +22212,7 @@ const TI = {
22212
22212
  data_key: "",
22213
22213
  axisLabel: {
22214
22214
  rotate: 0,
22215
- overflow: rt(),
22215
+ overflow: nt(),
22216
22216
  formatter: Ue()
22217
22217
  }
22218
22218
  },
@@ -22222,7 +22222,7 @@ const TI = {
22222
22222
  nameAlignment: "center",
22223
22223
  axisLabel: {
22224
22224
  rotate: 0,
22225
- overflow: rt(),
22225
+ overflow: nt(),
22226
22226
  formatter: Ue()
22227
22227
  }
22228
22228
  },
@@ -22280,7 +22280,7 @@ function DI({
22280
22280
  /* @__PURE__ */ r.jsx(E, { mb: -15, variant: "dashed", label: n("numbro.format.label"), labelPosition: "center" }),
22281
22281
  /* @__PURE__ */ r.jsx(g, { name: "heat_block.value_formatter", control: t, render: ({
22282
22282
  field: i
22283
- }) => /* @__PURE__ */ r.jsx(vt, { ...i }) }),
22283
+ }) => /* @__PURE__ */ r.jsx(_t, { ...i }) }),
22284
22284
  /* @__PURE__ */ r.jsx(E, { mb: -5, variant: "dashed", label: n("chart.label.label"), labelPosition: "center" }),
22285
22285
  /* @__PURE__ */ r.jsxs(b, { grow: !0, noWrap: !0, children: [
22286
22286
  /* @__PURE__ */ r.jsx(g, { name: "heat_block.label.show", control: t, render: ({
@@ -22529,7 +22529,7 @@ const Ed = {
22529
22529
  }]
22530
22530
  };
22531
22531
  function FI(t) {
22532
- const e = nt(t.x_axis.axisLabel.formatter), n = nt(t.y_axis.axisLabel.formatter);
22532
+ const e = tt(t.x_axis.axisLabel.formatter), n = tt(t.y_axis.axisLabel.formatter);
22533
22533
  return {
22534
22534
  x_axis: e,
22535
22535
  y_axis: n
@@ -22605,14 +22605,14 @@ function WI({
22605
22605
  value: e.x_axis(l, o),
22606
22606
  style: {
22607
22607
  label: "",
22608
- value: yt(t.x_axis.axisLabel.overflow.in_tooltip)
22608
+ value: bt(t.x_axis.axisLabel.overflow.in_tooltip)
22609
22609
  }
22610
22610
  }, h = {
22611
22611
  label: t.y_axis.name ? t.y_axis.name : "Y Axis",
22612
22612
  value: e.y_axis(c, o),
22613
22613
  style: {
22614
22614
  label: "",
22615
- value: yt(t.y_axis.axisLabel.overflow.in_tooltip)
22615
+ value: bt(t.y_axis.axisLabel.overflow.in_tooltip)
22616
22616
  }
22617
22617
  }, m = {
22618
22618
  label: t.heat_block.name,
@@ -22692,7 +22692,7 @@ function HI(t, e, n) {
22692
22692
  const s = F(t.x_axis.data_key), i = k.uniq(e[s.queryID].map((c) => c[s.columnKey])), {
22693
22693
  overflow: a,
22694
22694
  rotate: o
22695
- } = t.x_axis.axisLabel, l = _t(a.on_axis);
22695
+ } = t.x_axis.axisLabel, l = yt(a.on_axis);
22696
22696
  return pe.getXAxis({
22697
22697
  id: "main-x-axis",
22698
22698
  type: "category",
@@ -22734,7 +22734,7 @@ function UI(t, e, n) {
22734
22734
  } = t.y_axis, c = k.uniq(e[s.queryID].map((m) => m[i.columnKey])), {
22735
22735
  overflow: d,
22736
22736
  rotate: u
22737
- } = t.y_axis.axisLabel, h = _t(d.on_axis);
22737
+ } = t.y_axis.axisLabel, h = yt(d.on_axis);
22738
22738
  return pe.getYAxis({
22739
22739
  ...l,
22740
22740
  type: "category",
@@ -22832,7 +22832,7 @@ function JI({
22832
22832
  width: l,
22833
22833
  height: c
22834
22834
  } = t.viewport;
22835
- return !l || !c ? null : /* @__PURE__ */ r.jsx(it, { width: l, height: c, children: /* @__PURE__ */ r.jsx(KI, { variables: i, width: zt(l), height: It(c), data: o, conf: a, interactionManager: n }) });
22835
+ return !l || !c ? null : /* @__PURE__ */ r.jsx(st, { width: l, height: c, children: /* @__PURE__ */ r.jsx(KI, { variables: i, width: zt(l), height: It(c), data: o, conf: a, interactionManager: n }) });
22836
22836
  }
22837
22837
  const XI = {
22838
22838
  merico_heatmap: {
@@ -24822,7 +24822,7 @@ const NT = p.model("FilterDateRangeConfigMeta", {
24822
24822
  }
24823
24823
  })).actions((t) => ({
24824
24824
  afterCreate() {
24825
- bt(t, tt(() => Xt(t.default_selection), t.setDefaultSelection, {
24825
+ wt(t, dt(() => Xt(t.default_selection), t.setDefaultSelection, {
24826
24826
  fireImmediately: !0,
24827
24827
  delay: 0
24828
24828
  }));
@@ -24887,7 +24887,7 @@ const NT = p.model("FilterDateRangeConfigMeta", {
24887
24887
  }
24888
24888
  })).actions((t) => ({
24889
24889
  afterCreate() {
24890
- bt(t, tt(() => Xt(t.default_selection), t.setDefaultSelection, {
24890
+ wt(t, dt(() => Xt(t.default_selection), t.setDefaultSelection, {
24891
24891
  fireImmediately: !1,
24892
24892
  delay: 0
24893
24893
  }));
@@ -25046,7 +25046,7 @@ const Kd = p.compose("FilterTreeSelectConfigMeta", p.model({
25046
25046
  a.length > 0 ? n.setValueByKey(e, a) : n.setValueByKey(e, t.defaultSelection);
25047
25047
  },
25048
25048
  afterCreate() {
25049
- bt(t, tt(() => JSON.stringify(t.defaultSelection), this.applyDefaultSelection, {
25049
+ wt(t, dt(() => JSON.stringify(t.defaultSelection), this.applyDefaultSelection, {
25050
25050
  fireImmediately: !0,
25051
25051
  delay: 0
25052
25052
  }));
@@ -25499,12 +25499,6 @@ const su = p.compose("ViewRenderModel", tD, p.model({
25499
25499
  tab: p.optional(p.string, "")
25500
25500
  // FIXME: manage this state in a better way
25501
25501
  })).views((t) => ({
25502
- get defaultTab() {
25503
- if (t.type !== W.Tabs)
25504
- return "";
25505
- const e = t.config;
25506
- return e.tabs.length > 0 ? k.minBy(e.tabs, (s) => s.order).id : "";
25507
- },
25508
25502
  get tabs() {
25509
25503
  return t.config.tabs;
25510
25504
  },
@@ -25561,14 +25555,7 @@ const su = p.compose("ViewRenderModel", tD, p.model({
25561
25555
  t.tab = e ?? "";
25562
25556
  },
25563
25557
  setTabByTabInfo(e) {
25564
- const n = t.tabs.find((s) => s.id === e.id);
25565
- n && (t.tab = n.id);
25566
- },
25567
- afterCreate() {
25568
- bt(t, tt(() => t.defaultTab, (e) => this.setTab(e), {
25569
- fireImmediately: !0,
25570
- delay: 0
25571
- }));
25558
+ t.tab = e.id ?? "";
25572
25559
  }
25573
25560
  })), iu = p.model("ViewsRenderModel", {
25574
25561
  current: p.optional(p.array(su), []),
@@ -25617,15 +25604,14 @@ const su = p.compose("ViewRenderModel", tD, p.model({
25617
25604
  if (!e)
25618
25605
  return;
25619
25606
  const n = t.firstVisibleTabsView;
25620
- n && n.setTabByTabInfo(e);
25607
+ n == null || n.setTabByTabInfo(e);
25621
25608
  }
25622
25609
  }));
25623
25610
  function sD(t, e) {
25624
25611
  const n = t.length > 0 ? [t[0].id] : [], s = t.map((i) => {
25625
25612
  const {
25626
25613
  _name: a = i.type
25627
- } = i.config;
25628
- return {
25614
+ } = i.config, o = {
25629
25615
  ...i,
25630
25616
  tab: "",
25631
25617
  config: {
@@ -25634,6 +25620,11 @@ function sD(t, e) {
25634
25620
  },
25635
25621
  panelIDs: i.panelIDs
25636
25622
  };
25623
+ if (i.type === W.Tabs) {
25624
+ const l = k.minBy(i.config.tabs, (c) => c.order);
25625
+ o.tab = (l == null ? void 0 : l.id) ?? "";
25626
+ }
25627
+ return o;
25637
25628
  });
25638
25629
  return e && (s[0].tab = e.id), {
25639
25630
  current: s,
@@ -25844,6 +25835,9 @@ const hu = p.model("FiltersRenderModel", {
25844
25835
  get json() {
25845
25836
  return t.current.map((e) => e.json);
25846
25837
  },
25838
+ get valuesString() {
25839
+ return JSON.stringify(t.values);
25840
+ },
25847
25841
  get contentModel() {
25848
25842
  return Ge(t).content;
25849
25843
  },
@@ -26198,7 +26192,7 @@ const cD = PT.views((t) => ({
26198
26192
  }
26199
26193
  })).actions((t) => ({
26200
26194
  afterCreate() {
26201
- bt(t, tt(() => {
26195
+ wt(t, dt(() => {
26202
26196
  var n;
26203
26197
  return t.isTransform ? [t.inUse, t.id, t.key, t.dep_query_ids.toString(), t.pre_process, t.depQueryModelStatesString].join("--") : t.typedAsHTTP ? `${t.inUse}--${t.id}--${t.key}--${t.reQueryKey}--${(n = t.datasource) == null ? void 0 : n.id}` : [t.inUse, t.id, t.key, t.formattedSQL, t.pre_process, t.post_process].join("--");
26204
26198
  }, () => t.fetchData(!1), {
@@ -26414,7 +26408,7 @@ const gu = p.model("LayoutsRenderModel", {
26414
26408
  console.log("🔴 onBreakpointChange:", e), t.currentBreakpoint = e;
26415
26409
  },
26416
26410
  afterCreate() {
26417
- bt(t, tt(() => t.currentBreakpoint, () => {
26411
+ wt(t, dt(() => t.currentBreakpoint, () => {
26418
26412
  setTimeout(() => {
26419
26413
  window.dispatchEvent(new Event("resize"));
26420
26414
  }, 32);
@@ -27002,7 +26996,7 @@ const ND = z(({
27002
26996
  } = y(), [n, {
27003
26997
  setTrue: s,
27004
26998
  setFalse: i
27005
- }] = st(!1), a = fg(), o = Fe(), l = () => {
26999
+ }] = rt(!1), a = fg(), o = Fe(), l = () => {
27006
27000
  const c = JSON.stringify(o.contentJSON, null, 2), d = `${a.name}__${o.name}`;
27007
27001
  rr(d, c);
27008
27002
  };
@@ -27382,7 +27376,7 @@ const q2 = {
27382
27376
  [W.Tabs]: "#ffad18"
27383
27377
  };
27384
27378
  function nM(t, e, n) {
27385
- bt(t, Ip(t, (s, i) => {
27379
+ wt(t, Ip(t, (s, i) => {
27386
27380
  i(s, () => {
27387
27381
  Tp(s.context) === e && s.type === "action" && n(s.name, s.context);
27388
27382
  });
@@ -27638,10 +27632,10 @@ const rM = p.compose("FiltersModel", hu, p.model("FiltersModel", {
27638
27632
  }
27639
27633
  })).actions((t) => ({
27640
27634
  afterCreate() {
27641
- bt(t, tt(() => t.keywordString, t.resetPage, {
27635
+ wt(t, dt(() => t.keywordString, t.resetPage, {
27642
27636
  fireImmediately: !1,
27643
27637
  delay: 0
27644
- })), bt(t, tt(() => t.limit, t.resetPage, {
27638
+ })), wt(t, dt(() => t.limit, t.resetPage, {
27645
27639
  fireImmediately: !1,
27646
27640
  delay: 0
27647
27641
  }));
@@ -27820,17 +27814,17 @@ const rM = p.compose("FiltersModel", hu, p.model("FiltersModel", {
27820
27814
  };
27821
27815
  }).actions((t) => ({
27822
27816
  afterCreate() {
27823
- bt(t, tt(() => t.reloadConditionString, t.loadColumns, {
27817
+ wt(t, dt(() => t.reloadConditionString, t.loadColumns, {
27824
27818
  fireImmediately: !1,
27825
27819
  delay: 500
27826
27820
  }));
27827
27821
  }
27828
27822
  })).actions((t) => ({
27829
27823
  afterCreate() {
27830
- bt(t, tt(() => t.reloadConditionString, t.loadIndexes, {
27824
+ wt(t, dt(() => t.reloadConditionString, t.loadIndexes, {
27831
27825
  fireImmediately: !1,
27832
27826
  delay: 500
27833
- })), bt(t, tt(() => `${t.reloadConditionString};limit:${t.tableData.limit};offset:${t.tableData.offset}`, t.loadTableData, {
27827
+ })), wt(t, dt(() => `${t.reloadConditionString};limit:${t.tableData.limit};offset:${t.tableData.offset}`, t.loadTableData, {
27834
27828
  fireImmediately: !1,
27835
27829
  delay: 0
27836
27830
  }));
@@ -31065,7 +31059,7 @@ const CM = z(({
31065
31059
  } = y(), n = (s = t.definition) == null ? void 0 : s.sqlSnippets;
31066
31060
  return !Array.isArray(n) || n.length === 0 ? null : /* @__PURE__ */ r.jsxs(M, { children: [
31067
31061
  /* @__PURE__ */ r.jsx(w, { pl: 10, size: "sm", fw: 500, c: "dimmed", ta: "center", children: e("sql_snippet.labels") }),
31068
- /* @__PURE__ */ r.jsx(ct, { size: "sm", pl: 10, ff: "monospace", icon: /* @__PURE__ */ r.jsx(Ei, { size: 10 }), children: n.map((i) => /* @__PURE__ */ r.jsx(ct.Item, { children: i.key }, i.key)) })
31062
+ /* @__PURE__ */ r.jsx(lt, { size: "sm", pl: 10, ff: "monospace", icon: /* @__PURE__ */ r.jsx(Ei, { size: 10 }), children: n.map((i) => /* @__PURE__ */ r.jsx(lt.Item, { children: i.key }, i.key)) })
31069
31063
  ] });
31070
31064
  }, PM = ({
31071
31065
  content: t
@@ -31076,7 +31070,7 @@ const CM = z(({
31076
31070
  } = y(), n = Object.keys(((s = t.definition) == null ? void 0 : s.mock_context) ?? {});
31077
31071
  return n.length === 0 ? null : /* @__PURE__ */ r.jsxs(M, { children: [
31078
31072
  /* @__PURE__ */ r.jsx(w, { pl: 10, size: "sm", fw: 500, c: "dimmed", ta: "center", children: e("mock_context.label") }),
31079
- /* @__PURE__ */ r.jsx(ct, { size: "sm", pl: 10, ff: "monospace", icon: /* @__PURE__ */ r.jsx(Ei, { size: 10 }), children: n.map((i) => /* @__PURE__ */ r.jsx(ct.Item, { children: i }, i)) })
31073
+ /* @__PURE__ */ r.jsx(lt, { size: "sm", pl: 10, ff: "monospace", icon: /* @__PURE__ */ r.jsx(Ei, { size: 10 }), children: n.map((i) => /* @__PURE__ */ r.jsx(lt.Item, { children: i }, i)) })
31080
31074
  ] });
31081
31075
  }, OM = ({
31082
31076
  content: t
@@ -31204,7 +31198,7 @@ const VM = z(({
31204
31198
  }] = on(!1), [i, {
31205
31199
  setTrue: a,
31206
31200
  setFalse: o
31207
- }] = st(!1), c = ((d = he().content.views.VIE) == null ? void 0 : d.type) === W.Tabs;
31201
+ }] = rt(!1), c = ((d = he().content.views.VIE) == null ? void 0 : d.type) === W.Tabs;
31208
31202
  return c ? /* @__PURE__ */ r.jsx(me, { label: t("common.choose_a_tab_first"), children: /* @__PURE__ */ r.jsx(T, { variant: "outline", color: "gray", radius: 0, size: "xs", leftIcon: /* @__PURE__ */ r.jsx(uo, { size: 16 }), sx: {
31209
31203
  ...tl,
31210
31204
  transform: "none !important"
@@ -31340,8 +31334,8 @@ function JM(t, e) {
31340
31334
  x: xs,
31341
31335
  y: c
31342
31336
  },
31343
- sourcePosition: wt.Right,
31344
- targetPosition: wt.Left,
31337
+ sourcePosition: jt.Right,
31338
+ targetPosition: jt.Left,
31345
31339
  style: {
31346
31340
  width: nl,
31347
31341
  height: ns
@@ -31361,8 +31355,8 @@ function JM(t, e) {
31361
31355
  x: xs,
31362
31356
  y: c
31363
31357
  },
31364
- sourcePosition: wt.Right,
31365
- targetPosition: wt.Left,
31358
+ sourcePosition: jt.Right,
31359
+ targetPosition: jt.Left,
31366
31360
  style: {
31367
31361
  width: nl,
31368
31362
  height: ns
@@ -31394,8 +31388,8 @@ function eL(t) {
31394
31388
  x: 0,
31395
31389
  y: 0
31396
31390
  },
31397
- sourcePosition: wt.Right,
31398
- targetPosition: wt.Left,
31391
+ sourcePosition: jt.Right,
31392
+ targetPosition: jt.Left,
31399
31393
  className: "light",
31400
31394
  style: {
31401
31395
  backgroundColor: ZM[n.type],
@@ -31425,7 +31419,7 @@ function rL({
31425
31419
  edges: n
31426
31420
  }) {
31427
31421
  e.forEach((s) => {
31428
- s._node_type !== "view-root" || s._view_type !== W.Tabs || (s.sourcePosition = wt.Bottom, s.style.width = La + xs * 2, s.style.height = Eu + s._tab_view_ids.reduce((i, a) => {
31422
+ s._node_type !== "view-root" || s._view_type !== W.Tabs || (s.sourcePosition = jt.Bottom, s.style.width = La + xs * 2, s.style.height = Eu + s._tab_view_ids.reduce((i, a) => {
31429
31423
  const o = t[a];
31430
31424
  o.position.y = i, o.position.x = xs;
31431
31425
  const l = o.style.height;
@@ -31458,7 +31452,7 @@ function iL({
31458
31452
  const a = t[i.source], o = t[i.target];
31459
31453
  if (a && o && a.parentNode) {
31460
31454
  const l = t[a.parentNode], c = l.position.x, d = Number(k.get(o, "style.height", 0)), u = Number(l.style.width);
31461
- o.position.x = c + u + KM, l._view_level === 0 && o._sub_view_ids.length === 0 && (a.sourcePosition = wt.Left, o.targetPosition = wt.Right, o.position.x *= -1);
31455
+ o.position.x = c + u + KM, l._view_level === 0 && o._sub_view_ids.length === 0 && (a.sourcePosition = jt.Left, o.targetPosition = jt.Right, o.position.x *= -1);
31462
31456
  const m = o.position.x, x = k.get(s, m, 0);
31463
31457
  o.position.y = x, s[m] = x + d + Au;
31464
31458
  }
@@ -31557,8 +31551,8 @@ function cL(t) {
31557
31551
  const dL = fh(({
31558
31552
  data: t,
31559
31553
  isConnectable: e,
31560
- sourcePosition: n = wt.Right,
31561
- targetPosition: s = wt.Left,
31554
+ sourcePosition: n = jt.Right,
31555
+ targetPosition: s = jt.Left,
31562
31556
  ...i
31563
31557
  }) => {
31564
31558
  const a = C(() => cL(t.interactions), [t.interactions]);
@@ -31571,7 +31565,7 @@ const dL = fh(({
31571
31565
  }, children: /* @__PURE__ */ r.jsx(jm, { size: 12 }) }),
31572
31566
  /* @__PURE__ */ r.jsxs(Te, { shadow: "xl", withinPortal: !0, children: [
31573
31567
  /* @__PURE__ */ r.jsx(Te.Target, { children: /* @__PURE__ */ r.jsx(w, { children: t.label }) }),
31574
- /* @__PURE__ */ r.jsx(Te.Dropdown, { children: /* @__PURE__ */ r.jsx(ct, { spacing: "xs", size: "sm", center: !0, children: a.map((o) => /* @__PURE__ */ r.jsx(ct.Item, { icon: o.icon, children: o.text }, o.key)) }) })
31568
+ /* @__PURE__ */ r.jsx(Te.Dropdown, { children: /* @__PURE__ */ r.jsx(lt, { spacing: "xs", size: "sm", center: !0, children: a.map((o) => /* @__PURE__ */ r.jsx(lt.Item, { icon: o.icon, children: o.text }, o.key)) }) })
31575
31569
  ] }),
31576
31570
  /* @__PURE__ */ r.jsx(po, { type: "source", position: n, isConnectable: e })
31577
31571
  ] });
@@ -31774,9 +31768,9 @@ const gL = z(() => {
31774
31768
  alignSelf: "flex-start"
31775
31769
  },
31776
31770
  leftIcon: /* @__PURE__ */ r.jsx(ln, { size: 16 })
31777
- }, description: /* @__PURE__ */ r.jsx(vr, { title: e("filter.field.custom_default_value.tips"), color: "gray", mb: 16, children: /* @__PURE__ */ r.jsxs(ct, { size: 13, type: "ordered", children: [
31778
- /* @__PURE__ */ r.jsx(ct.Item, { children: e("filter.field.custom_default_value.tip_1") }),
31779
- /* @__PURE__ */ r.jsx(ct.Item, { children: e("filter.field.custom_default_value.tip_2") })
31771
+ }, description: /* @__PURE__ */ r.jsx(vr, { title: e("filter.field.custom_default_value.tips"), color: "gray", mb: 16, children: /* @__PURE__ */ r.jsxs(lt, { size: 13, type: "ordered", children: [
31772
+ /* @__PURE__ */ r.jsx(lt.Item, { children: e("filter.field.custom_default_value.tip_1") }),
31773
+ /* @__PURE__ */ r.jsx(lt.Item, { children: e("filter.field.custom_default_value.tip_2") })
31780
31774
  ] }) }) });
31781
31775
  }), _L = z(function({
31782
31776
  filter: e
@@ -32894,7 +32888,7 @@ const tR = L.forwardRef(eR), nR = L.forwardRef(function({
32894
32888
  /* @__PURE__ */ r.jsx(aa, { label: o("panel.variable.aggregation.label"), pt: 0, value: e.aggregation, onChange: (c) => l("aggregation", c), withFallback: !0 }),
32895
32889
  e.aggregation.type !== "custom" && /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
32896
32890
  /* @__PURE__ */ r.jsx(E, { mt: "xl", mb: 0, label: o("numbro.format.label"), labelPosition: "center", variant: "dashed" }),
32897
- /* @__PURE__ */ r.jsx(vt, { value: e.formatter, onChange: (c) => l("formatter", c) })
32891
+ /* @__PURE__ */ r.jsx(_t, { value: e.formatter, onChange: (c) => l("formatter", c) })
32898
32892
  ] })
32899
32893
  ] }),
32900
32894
  s && /* @__PURE__ */ r.jsx(qr, { variant: "contained", children: /* @__PURE__ */ r.jsxs(qr.Item, { value: "Styles", children: [
@@ -34049,14 +34043,14 @@ WHERE
34049
34043
  } = y(), n = C(() => k.groupBy(t.dependencies, "type"), [t.dependencies]), s = C(() => t.dependencies.some((a) => !a.valid), [t.dependencies]), i = t.dependencies.length > 0;
34050
34044
  return i ? /* @__PURE__ */ r.jsxs(Te, { withinPortal: !0, zIndex: 340, shadow: "md", disabled: !i, children: [
34051
34045
  /* @__PURE__ */ r.jsx(Te.Target, { children: /* @__PURE__ */ r.jsx(T, { size: "xs", variant: "subtle", color: s ? "red" : "green", disabled: !i, leftIcon: s ? /* @__PURE__ */ r.jsx(El, { size: 16 }) : /* @__PURE__ */ r.jsx(ep, { size: 16 }), children: e("query.dependency.label") }) }),
34052
- /* @__PURE__ */ r.jsx(Te.Dropdown, { children: /* @__PURE__ */ r.jsx(ct, { spacing: "md", size: 14, listStyleType: "none", children: Object.entries(n).map(([a, o]) => /* @__PURE__ */ r.jsxs(ct.Item, { children: [
34046
+ /* @__PURE__ */ r.jsx(Te.Dropdown, { children: /* @__PURE__ */ r.jsx(lt, { spacing: "md", size: 14, listStyleType: "none", children: Object.entries(n).map(([a, o]) => /* @__PURE__ */ r.jsxs(lt.Item, { children: [
34053
34047
  /* @__PURE__ */ r.jsx(w, { fw: "bold", ff: "monospace", children: e(`${a}.label`) }),
34054
- /* @__PURE__ */ r.jsx(ct, { withPadding: !0, size: 14, sx: {
34048
+ /* @__PURE__ */ r.jsx(lt, { withPadding: !0, size: 14, sx: {
34055
34049
  fontFamily: "monospace",
34056
34050
  svg: {
34057
34051
  verticalAlign: "middle"
34058
34052
  }
34059
- }, children: o.map((l) => /* @__PURE__ */ r.jsx(ct.Item, { icon: /* @__PURE__ */ r.jsx(M, { sx: {
34053
+ }, children: o.map((l) => /* @__PURE__ */ r.jsx(lt.Item, { icon: /* @__PURE__ */ r.jsx(M, { sx: {
34060
34054
  path: {
34061
34055
  fill: l.valid ? "rgb(18, 184, 134)" : "rgb(250, 82, 82)"
34062
34056
  }
@@ -34482,7 +34476,7 @@ WHERE
34482
34476
  } = y(), [s, {
34483
34477
  setTrue: i,
34484
34478
  setFalse: a
34485
- }] = st(), [o, l] = H(t ?? zi), c = (x) => {
34479
+ }] = rt(), [o, l] = H(t ?? zi), c = (x) => {
34486
34480
  l({
34487
34481
  ...o,
34488
34482
  enabled: x
@@ -34932,7 +34926,7 @@ const qE = {
34932
34926
  d == null || d(v.content.filters.values);
34933
34927
  }, [d, v.content.filters.values]), L.useEffect(() => {
34934
34928
  c && v.content.filters.patchValues(c);
34935
- }, [c, v.content.filters.patchValues]), L.useEffect(() => tt(() => Xt(v.json), (V) => {
34929
+ }, [c, v.content.filters.patchValues]), L.useEffect(() => dt(() => Xt(v.json), (V) => {
34936
34930
  o == null || o(V);
34937
34931
  }), [v]);
34938
34932
  const I = async () => {
@@ -35169,7 +35163,7 @@ const QE = ({
35169
35163
  f.globalSQLSnippets.replace(x);
35170
35164
  }, [x]), L.useEffect(() => {
35171
35165
  c == null || c(f.content.filters.values);
35172
- }, [c, f.content.filters.values]), L.useEffect(() => {
35166
+ }, [c, f.content.filters.valuesString]), L.useEffect(() => {
35173
35167
  l && f.content.filters.patchValues(l);
35174
35168
  }, [l, f.content.filters.patchValues]), L.useEffect(() => {
35175
35169
  u == null || u(f.content.views.firstVisibleTabsViewActiveTab);