@devtable/dashboard 13.27.14 → 13.27.15

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,7 +2,7 @@ var bg = Object.defineProperty;
2
2
  var yg = (e, t, n) => t in e ? bg(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var U = (e, t, n) => (yg(e, typeof t != "symbol" ? t + "" : t, n), n);
4
4
  import $, { forwardRef as pe, useRef as sr, useEffect as Q, useState as Z, useCallback as Ge, useMemo as T, createElement as ca, useContext as Hn, useLayoutEffect as _g, createContext as Lu, memo as vg } from "react";
5
- import { TextInput as E, Stack as k, Group as y, Button as M, Text as S, Box as R, Overlay as Rr, Modal as He, Tooltip as we, ActionIcon as ae, NativeSelect as Au, useMantineTheme as Jo, Popover as Kt, ColorSwatch as $s, ColorInput as lr, SimpleGrid as Cr, ColorPicker as rd, HoverCard as Ke, Select as q, Checkbox as ue, Divider as O, NumberInput as he, Switch as dt, Table as it, MultiSelect as ii, Paper as jg, Code as id, Tabs as v, LoadingOverlay as $r, Alert as Bi, createStyles as Wi, CloseButton as zr, Center as cr, Collapse as Gi, CheckIcon as wg, MANTINE_SIZES as Sg, SegmentedControl as Ru, Anchor as Ps, Menu as le, UnstyledButton as $u, Flex as en, Badge as ar, Textarea as Pu, Mark as Ou, Slider as kg, Affix as Cg, Header as Ig, List as qt, FileInput as Tg, ThemeIcon as Ha, Navbar as On, JsonInput as Vu, Pagination as Fu, Drawer as zg, Accordion as fs, Radio as sd, Skeleton as ad, NavLink as xo, AppShell as Nu } from "@mantine/core";
5
+ import { TextInput as L, Stack as k, Group as y, Button as M, Text as S, Box as R, Overlay as Rr, Modal as He, Tooltip as we, ActionIcon as ae, NativeSelect as Au, useMantineTheme as Jo, Popover as Kt, ColorSwatch as $s, ColorInput as lr, SimpleGrid as Cr, ColorPicker as rd, HoverCard as Ke, Select as q, Checkbox as ue, Divider as O, NumberInput as he, Switch as dt, Table as it, MultiSelect as ii, Paper as jg, Code as id, Tabs as v, LoadingOverlay as $r, Alert as Bi, createStyles as Wi, CloseButton as zr, Center as cr, Collapse as Gi, CheckIcon as wg, MANTINE_SIZES as Sg, SegmentedControl as Ru, Anchor as Ps, Menu as le, UnstyledButton as $u, Flex as en, Badge as ar, Textarea as Pu, Mark as Ou, Slider as kg, Affix as Cg, Header as Ig, List as qt, FileInput as Tg, ThemeIcon as Ha, Navbar as On, JsonInput as Vu, Pagination as Fu, Drawer as zg, Accordion as fs, Radio as sd, Skeleton as ad, NavLink as xo, AppShell as Nu } from "@mantine/core";
6
6
  import { useModals as Mn, ModalsProvider as qu } from "@mantine/modals";
7
7
  import { useBoolean as mt, useCreation as un, useAsyncEffect as Hi, useRequest as Dr, useLatest as od, usePrevious as Dg, useWhyDidYouUpdate as Bu } from "ahooks";
8
8
  import { toJS as Qn, observable as Wu, runInAction as Ei, reaction as Lt, makeAutoObservable as Qi } from "mobx";
@@ -162,10 +162,10 @@ function D_() {
162
162
  {
163
163
  for (var V = arguments.length, H = new Array(V > 1 ? V - 1 : 0), se = 1; se < V; se++)
164
164
  H[se - 1] = arguments[se];
165
- L("error", j, H);
165
+ E("error", j, H);
166
166
  }
167
167
  }
168
- function L(j, V, H) {
168
+ function E(j, V, H) {
169
169
  {
170
170
  var se = w.ReactDebugCurrentFrame, ke = se.getStackAddendum();
171
171
  ke !== "" && (V += "%s", H = H.concat([ke]));
@@ -175,10 +175,10 @@ function D_() {
175
175
  $e.unshift("Warning: " + V), Function.prototype.apply.call(console[j], console, $e);
176
176
  }
177
177
  }
178
- var A = !1, P = !1, X = !1, re = !1, Me = !1, Te;
178
+ var A = !1, P = !1, J = !1, re = !1, Me = !1, Te;
179
179
  Te = Symbol.for("react.module.reference");
180
180
  function B(j) {
181
- return !!(typeof j == "string" || typeof j == "function" || j === i || j === a || Me || j === s || j === d || j === u || re || j === m || A || P || X || typeof j == "object" && j !== null && (j.$$typeof === p || j.$$typeof === h || j.$$typeof === o || j.$$typeof === l || j.$$typeof === c || // This needs to include all possible module reference object
181
+ return !!(typeof j == "string" || typeof j == "function" || j === i || j === a || Me || j === s || j === d || j === u || re || j === m || A || P || J || typeof j == "object" && j !== null && (j.$$typeof === p || j.$$typeof === h || j.$$typeof === o || j.$$typeof === l || j.$$typeof === c || // This needs to include all possible module reference object
182
182
  // types supported by any Flight configuration anywhere since
183
183
  // we don't know which Flight build this will end up being used
184
184
  // with.
@@ -1000,7 +1000,7 @@ const N_ = new F_(Qr), Vn = N_, Fs = pe(function({
1000
1000
  onChange: n,
1001
1001
  ...i
1002
1002
  }, s) {
1003
- return /* @__PURE__ */ r.jsx(E, { ref: s, value: t, onChange: n, ...i });
1003
+ return /* @__PURE__ */ r.jsx(L, { ref: s, value: t, onChange: n, ...i });
1004
1004
  });
1005
1005
  function W(e) {
1006
1006
  const [t, n] = e.split(".");
@@ -3876,8 +3876,8 @@ function oj(e, t, n = {}) {
3876
3876
  e.doc.nodesBetween(m, f, (b, I) => {
3877
3877
  if (!b.isText && !b.marks.length)
3878
3878
  return;
3879
- const w = Math.max(m, I), z = Math.min(f, I + b.nodeSize), L = z - w;
3880
- o += L, l.push(...b.marks.map((A) => ({
3879
+ const w = Math.max(m, I), z = Math.min(f, I + b.nodeSize), E = z - w;
3880
+ o += E, l.push(...b.marks.map((A) => ({
3881
3881
  mark: A,
3882
3882
  from: w,
3883
3883
  to: z
@@ -4015,16 +4015,16 @@ const fj = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edit
4015
4015
  const w = l.index(-1) ? 1 : l.index(-2) ? 2 : 3;
4016
4016
  for (let re = l.depth - w; re >= l.depth - 3; re -= 1)
4017
4017
  I = Ce.from(l.node(re).copy(I));
4018
- const z = l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3, L = Ms(h, l.node().type.name, l.node().attrs), A = ((a = o.contentMatch.defaultType) === null || a === void 0 ? void 0 : a.createAndFill(L)) || void 0;
4018
+ const z = l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3, E = Ms(h, l.node().type.name, l.node().attrs), A = ((a = o.contentMatch.defaultType) === null || a === void 0 ? void 0 : a.createAndFill(E)) || void 0;
4019
4019
  I = I.append(Ce.from(o.createAndFill(null, A) || void 0));
4020
4020
  const P = l.before(l.depth - (w - 1));
4021
4021
  t.replace(P, l.after(-z), new Ae(I, 4 - w, 0));
4022
- let X = -1;
4022
+ let J = -1;
4023
4023
  t.doc.nodesBetween(P, t.doc.content.size, (re, Me) => {
4024
- if (X > -1)
4024
+ if (J > -1)
4025
4025
  return !1;
4026
- re.isTextblock && re.content.size === 0 && (X = Me + 1);
4027
- }), X > -1 && t.setSelection(rt.near(t.doc.resolve(X))), t.scrollIntoView();
4026
+ re.isTextblock && re.content.size === 0 && (J = Me + 1);
4027
+ }), J > -1 && t.setSelection(rt.near(t.doc.resolve(J))), t.scrollIntoView();
4028
4028
  }
4029
4029
  return !0;
4030
4030
  }
@@ -4037,10 +4037,10 @@ const fj = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edit
4037
4037
  if (!Ds(t.doc, l.pos, 2))
4038
4038
  return !1;
4039
4039
  if (i) {
4040
- const { selection: I, storedMarks: w } = n, { splittableMarks: z } = s.extensionManager, L = w || I.$to.parentOffset && I.$from.marks();
4041
- if (t.split(l.pos, 2, b).scrollIntoView(), !L || !i)
4040
+ const { selection: I, storedMarks: w } = n, { splittableMarks: z } = s.extensionManager, E = w || I.$to.parentOffset && I.$from.marks();
4041
+ if (t.split(l.pos, 2, b).scrollIntoView(), !E || !i)
4042
4042
  return !0;
4043
- const A = L.filter((P) => z.includes(P.type.name));
4043
+ const A = E.filter((P) => z.includes(P.type.name));
4044
4044
  t.ensureMarks(A);
4045
4045
  }
4046
4046
  return !0;
@@ -4063,19 +4063,19 @@ const fj = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: i, edit
4063
4063
  const s = e.doc.nodeAt(i);
4064
4064
  return n.node.type === (s == null ? void 0 : s.type) && Gh(e.doc, i) && e.join(i), !0;
4065
4065
  }, gj = (e, t, n, i = {}) => ({ editor: s, tr: a, state: o, dispatch: l, chain: c, commands: d, can: u }) => {
4066
- const { extensions: h, splittableMarks: p } = s.extensionManager, m = jt(e, o.schema), f = jt(t, o.schema), { selection: b, storedMarks: I } = o, { $from: w, $to: z } = b, L = w.blockRange(z), A = I || b.$to.parentOffset && b.$from.marks();
4067
- if (!L)
4066
+ const { extensions: h, splittableMarks: p } = s.extensionManager, m = jt(e, o.schema), f = jt(t, o.schema), { selection: b, storedMarks: I } = o, { $from: w, $to: z } = b, E = w.blockRange(z), A = I || b.$to.parentOffset && b.$from.marks();
4067
+ if (!E)
4068
4068
  return !1;
4069
- const P = fl((X) => Id(X.type.name, h))(b);
4070
- if (L.depth >= 1 && P && L.depth - P.depth <= 1) {
4069
+ const P = fl((J) => Id(J.type.name, h))(b);
4070
+ if (E.depth >= 1 && P && E.depth - P.depth <= 1) {
4071
4071
  if (P.node.type === m)
4072
4072
  return d.liftListItem(f);
4073
4073
  if (Id(P.node.type.name, h) && m.validContent(P.node.content) && l)
4074
4074
  return c().command(() => (a.setNodeMarkup(P.pos, m), !0)).command(() => Za(a, m)).command(() => eo(a, m)).run();
4075
4075
  }
4076
4076
  return !n || !A || !l ? c().command(() => u().wrapInList(m, i) ? !0 : d.clearNodes()).wrapInList(m, i).command(() => Za(a, m)).command(() => eo(a, m)).run() : c().command(() => {
4077
- const X = u().wrapInList(m, i), re = A.filter((Me) => p.includes(Me.type.name));
4078
- return a.ensureMarks(re), X ? !0 : d.clearNodes();
4077
+ const J = u().wrapInList(m, i), re = A.filter((Me) => p.includes(Me.type.name));
4078
+ return a.ensureMarks(re), J ? !0 : d.clearNodes();
4079
4079
  }).wrapInList(m, i).command(() => Za(a, m)).command(() => eo(a, m)).run();
4080
4080
  }, bj = (e, t = {}, n = {}) => ({ state: i, commands: s }) => {
4081
4081
  const { extendEmptyMarkRange: a = !1 } = n, o = ur(e, i.schema);
@@ -4669,7 +4669,7 @@ const Si = "data-value", Aj = Si, rp = "dynamicColor", ip = Gs.create({
4669
4669
  const ne = N[K];
4670
4670
  if (ne) {
4671
4671
  const ie = B[K];
4672
- if (X(ne, ie))
4672
+ if (J(ne, ie))
4673
4673
  throw new Error("Multiline change is not allowed for " + K);
4674
4674
  const de = to(ne.range);
4675
4675
  if (de.endLine = de.startLine + ie.split(`
@@ -4754,7 +4754,7 @@ const Si = "data-value", Aj = Si, rp = "dynamicColor", ip = Gs.create({
4754
4754
  return B.text === "" ? N.isDeletion = !0 : K.startLineNumber === K.endLineNumber && K.startColumn === K.endColumn ? N.isAddition = !0 : N.isReplacement = !0, N.startLineOfRange = K.startLineNumber === G.startLineNumber, N.startColumnOfRange = K.startColumn === G.startColumn, N.endLineOfRange = K.endLineNumber === G.endLineNumber, N.endColumnOfRange = K.endColumn === G.endColumn, N.middleLineOfRange = !N.startLineOfRange && !N.endLineOfRange, G.startLineNumber === G.endLineNumber ? N.rangeIsSingleLine = !0 : N.rangeIsMultiLine = !0, N;
4755
4755
  }, z = function(B) {
4756
4756
  o = to(B).sort(s), l(o);
4757
- }, L = function() {
4757
+ }, E = function() {
4758
4758
  if (e._hasHighlight)
4759
4759
  e.deltaDecorations(e._oldDecorations, []), delete e._oldDecorations, delete e._oldDecorationsSource, e._hasHighlight = !1;
4760
4760
  else {
@@ -4778,7 +4778,7 @@ const Si = "data-value", Aj = Si, rp = "dynamicColor", ip = Gs.create({
4778
4778
  const N = B[G];
4779
4779
  N.range = N.prevRange;
4780
4780
  }
4781
- }, X = function(B, G) {
4781
+ }, J = function(B, G) {
4782
4782
  return !B.allowMultiline && G.includes(`
4783
4783
  `);
4784
4784
  }, re = function(B, G, N) {
@@ -4802,7 +4802,7 @@ const Si = "data-value", Aj = Si, rp = "dynamicColor", ip = Gs.create({
4802
4802
  for (let _e = 0; _e < ne; _e++) {
4803
4803
  const ve = o[_e];
4804
4804
  if (ve.range.containsRange(oe))
4805
- return X(ve, de.text) ? !1 : (K[Se] = ve, !0);
4805
+ return J(ve, de.text) ? !1 : (K[Se] = ve, !0);
4806
4806
  }
4807
4807
  return !1;
4808
4808
  })) {
@@ -4837,7 +4837,7 @@ const Si = "data-value", Aj = Si, rp = "dynamicColor", ip = Gs.create({
4837
4837
  onDidChangeContentInEditableRange: m,
4838
4838
  updateRestrictions: z,
4839
4839
  updateValueInEditableRanges: u,
4840
- toggleHighlightOfEditableAreas: L
4840
+ toggleHighlightOfEditableAreas: E
4841
4841
  };
4842
4842
  for (let B in Me)
4843
4843
  Object.defineProperty(e, B, {
@@ -4938,11 +4938,11 @@ function Oj(e) {
4938
4938
  contextMenuGroupId: "navigation",
4939
4939
  contextMenuOrder: 1.5,
4940
4940
  run: function(f) {
4941
- const I = f.getSelections().reduce(function(w, { startLineNumber: z, endLineNumber: L, startColumn: A, endColumn: P }) {
4941
+ const I = f.getSelections().reduce(function(w, { startLineNumber: z, endLineNumber: E, startColumn: A, endColumn: P }) {
4942
4942
  return w.push("range : " + JSON.stringify([
4943
4943
  z,
4944
4944
  A,
4945
- L,
4945
+ E,
4946
4946
  P
4947
4947
  ])), w;
4948
4948
  }, []).join(`
@@ -5005,10 +5005,10 @@ const ai = pe(({
5005
5005
  const w = Oj(I), z = b.getModel();
5006
5006
  if (w.initializeIn(b), w.addRestrictionsTo(z, s), !!z && !z._hasHighlight) {
5007
5007
  w.toggleDevMode(), z.toggleHighlightOfEditableAreas();
5008
- const L = z.getCurrentEditableRanges(), A = z.getValueInEditableRanges();
5008
+ const E = z.getCurrentEditableRanges(), A = z.getValueInEditableRanges();
5009
5009
  console.debug({
5010
5010
  model: z,
5011
- currentRanges: L,
5011
+ currentRanges: E,
5012
5012
  currentValue: A
5013
5013
  });
5014
5014
  }
@@ -6126,7 +6126,7 @@ class vl {
6126
6126
  }), this.instanceRegistry.clear(), this.factoryRegistry.clear();
6127
6127
  }
6128
6128
  }
6129
- const gp = "13.27.14", Iw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6129
+ const gp = "13.27.15", Iw = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6130
6130
  __proto__: null,
6131
6131
  version: gp
6132
6132
  }, Symbol.toStringTag, { value: "Module" }));
@@ -6323,10 +6323,10 @@ function Mw({
6323
6323
  min: b,
6324
6324
  max: I
6325
6325
  } = T(() => {
6326
- const z = Og(h, (A) => A[f.columnKey]), L = Vg(h, (A) => A[f.columnKey]);
6326
+ const z = Og(h, (A) => A[f.columnKey]), E = Vg(h, (A) => A[f.columnKey]);
6327
6327
  return {
6328
6328
  min: xe(z, f.columnKey),
6329
- max: xe(L, f.columnKey)
6329
+ max: xe(E, f.columnKey)
6330
6330
  };
6331
6331
  }, [h, f]), w = {
6332
6332
  tooltip: {},
@@ -6447,7 +6447,7 @@ const ee = D(pe(({
6447
6447
  if (h.length === 0) {
6448
6448
  const p = u.explainDataKey(i);
6449
6449
  return /* @__PURE__ */ r.jsxs(Ke, { shadow: "md", position: "bottom-start", withinPortal: !0, zIndex: 320, children: [
6450
- /* @__PURE__ */ r.jsx(Ke.Target, { children: /* @__PURE__ */ r.jsx(R, { children: /* @__PURE__ */ r.jsx(E, { label: e, required: t, defaultValue: p.columnKey, readOnly: !0, disabled: !0 }) }) }),
6450
+ /* @__PURE__ */ r.jsx(Ke.Target, { children: /* @__PURE__ */ r.jsx(R, { children: /* @__PURE__ */ r.jsx(L, { label: e, required: t, defaultValue: p.columnKey, readOnly: !0, disabled: !0 }) }) }),
6451
6451
  /* @__PURE__ */ r.jsx(Ke.Dropdown, { children: /* @__PURE__ */ r.jsxs(y, { position: "left", spacing: 0, children: [
6452
6452
  /* @__PURE__ */ r.jsx(S, { size: "xs", color: p.queryName ? "black" : "red", sx: {
6453
6453
  fontFamily: "monospace"
@@ -6489,7 +6489,7 @@ function Ow({
6489
6489
  }) => /* @__PURE__ */ r.jsx(ee, { label: "Data Field", required: !0, ...l }) }),
6490
6490
  /* @__PURE__ */ r.jsx(g, { name: "xAxis3D.name", control: s, render: ({
6491
6491
  field: l
6492
- }) => /* @__PURE__ */ r.jsx(E, { sx: {
6492
+ }) => /* @__PURE__ */ r.jsx(L, { sx: {
6493
6493
  flexGrow: 1
6494
6494
  }, size: "md", label: "Name", ...l }) })
6495
6495
  ] }),
@@ -6503,7 +6503,7 @@ function Ow({
6503
6503
  }) => /* @__PURE__ */ r.jsx(ee, { label: "Data Field", required: !0, ...l }) }),
6504
6504
  /* @__PURE__ */ r.jsx(g, { name: "yAxis3D.name", control: s, render: ({
6505
6505
  field: l
6506
- }) => /* @__PURE__ */ r.jsx(E, { sx: {
6506
+ }) => /* @__PURE__ */ r.jsx(L, { sx: {
6507
6507
  flexGrow: 1
6508
6508
  }, size: "md", label: "Name", ...l }) })
6509
6509
  ] }),
@@ -6517,7 +6517,7 @@ function Ow({
6517
6517
  }) => /* @__PURE__ */ r.jsx(ee, { label: "Data Field", required: !0, ...l }) }),
6518
6518
  /* @__PURE__ */ r.jsx(g, { name: "zAxis3D.name", control: s, render: ({
6519
6519
  field: l
6520
- }) => /* @__PURE__ */ r.jsx(E, { sx: {
6520
+ }) => /* @__PURE__ */ r.jsx(L, { sx: {
6521
6521
  flexGrow: 1
6522
6522
  }, size: "md", label: "Name", ...l }) })
6523
6523
  ] }),
@@ -6803,7 +6803,7 @@ const Us = pe(({
6803
6803
  /* @__PURE__ */ r.jsx(he, { label: s("chart.axis.overflow.max_width"), hideControls: !0, value: t.width, onChange: o("width") }),
6804
6804
  /* @__PURE__ */ r.jsx(q, { label: s("chart.axis.overflow.label"), data: l, value: t.overflow, onChange: o("overflow") }),
6805
6805
  /* @__PURE__ */ r.jsx(
6806
- E,
6806
+ L,
6807
6807
  {
6808
6808
  label: s("chart.axis.overflow.ellipsis"),
6809
6809
  value: t.ellipsis,
@@ -7021,7 +7021,7 @@ function Zw(e) {
7021
7021
  urlTemplate: c.currentTarget.value
7022
7022
  });
7023
7023
  return /* @__PURE__ */ r.jsxs(k, { children: [
7024
- /* @__PURE__ */ r.jsx(E, { label: t("interactions.operation.open_link.url"), value: n.urlTemplate, onChange: l, onBlur: a }),
7024
+ /* @__PURE__ */ r.jsx(L, { label: t("interactions.operation.open_link.url"), value: n.urlTemplate, onChange: l, onBlur: a }),
7025
7025
  /* @__PURE__ */ r.jsx(dt, { label: t("interactions.operation.open_link.open_in_new_tab"), checked: n.openInNewTab, onChange: (c) => o(c.currentTarget.checked) })
7026
7026
  ] });
7027
7027
  }
@@ -7074,7 +7074,7 @@ function i0(e) {
7074
7074
  const {
7075
7075
  t
7076
7076
  } = _(), [n, i] = r0(e.operation);
7077
- return /* @__PURE__ */ r.jsx(E, { defaultValue: n, onBlur: (s) => i(s.currentTarget.value), label: t("interactions.operation.console_log.log_content") });
7077
+ return /* @__PURE__ */ r.jsx(L, { defaultValue: n, onBlur: (s) => i(s.currentTarget.value), label: t("interactions.operation.console_log.log_content") });
7078
7078
  }
7079
7079
  async function s0(e, t) {
7080
7080
  const n = await t.operationData.getItem("config"), i = el(n.template || "");
@@ -7133,7 +7133,7 @@ const c0 = {
7133
7133
  const s = () => {
7134
7134
  t(n);
7135
7135
  };
7136
- return /* @__PURE__ */ r.jsx(E, { size: "xs", label: "", value: n, onChange: (a) => i(a.currentTarget.value), sx: {
7136
+ return /* @__PURE__ */ r.jsx(L, { size: "xs", label: "", value: n, onChange: (a) => i(a.currentTarget.value), sx: {
7137
7137
  flexGrow: 1
7138
7138
  }, rightSection: /* @__PURE__ */ r.jsx(ae, { color: "green", size: "xs", onClick: s, disabled: n === e, children: /* @__PURE__ */ r.jsx(at, {}) }) });
7139
7139
  }, h0 = {
@@ -7980,10 +7980,10 @@ function X0(e, t, n) {
7980
7980
  stroke: s,
7981
7981
  lineWidth: a
7982
7982
  };
7983
- return w.forEach((L) => {
7983
+ return w.forEach((E) => {
7984
7984
  I.children.push({
7985
7985
  type: "line",
7986
- shape: L,
7986
+ shape: E,
7987
7987
  style: z
7988
7988
  });
7989
7989
  }), I.children.push({
@@ -8359,7 +8359,7 @@ function mS({
8359
8359
  })), [s]), o = $.useMemo(() => a.some((l) => l.value === e), [e, a]);
8360
8360
  return /* @__PURE__ */ r.jsxs(y, { position: "apart", spacing: 4, ref: n, children: [
8361
8361
  /* @__PURE__ */ r.jsx(
8362
- E,
8362
+ L,
8363
8363
  {
8364
8364
  placeholder: i("chart.color.set_any_color"),
8365
8365
  value: o ? "" : e,
@@ -8538,7 +8538,7 @@ function gS(e) {
8538
8538
  h(), n == null || n(Number(l));
8539
8539
  }, z = () => {
8540
8540
  h(), n == null || n(null);
8541
- }, L = ge(a ?? null, {
8541
+ }, E = ge(a ?? null, {
8542
8542
  output: "number",
8543
8543
  mantissa: 10,
8544
8544
  trimMantissa: !0,
@@ -8548,7 +8548,7 @@ function gS(e) {
8548
8548
  return /* @__PURE__ */ r.jsxs("div", { "data-testid": `palette-item-${s}`, className: o.paletteItem, children: [
8549
8549
  /* @__PURE__ */ r.jsx(S, { title: b, style: {
8550
8550
  opacity: m ? 1 : 0
8551
- }, color: "dimmed", size: "sm", className: "palette-value--up palette-value", children: L }),
8551
+ }, color: "dimmed", size: "sm", className: "palette-value--up palette-value", children: E }),
8552
8552
  /* @__PURE__ */ r.jsxs(Kt, { width: 240, trapFocus: !0, opened: d, onClose: h, zIndex: 340, withinPortal: !0, children: [
8553
8553
  /* @__PURE__ */ r.jsx(Kt.Target, { children: /* @__PURE__ */ r.jsx("div", { "data-testid": "palette-item-target", className: "palette-item", onClick: u, style: {
8554
8554
  "--shadow-color": si(i).alpha(0.5).hex(),
@@ -8561,9 +8561,9 @@ function gS(e) {
8561
8561
  right: "0.8em"
8562
8562
  } }) }),
8563
8563
  /* @__PURE__ */ r.jsxs(k, { children: [
8564
- /* @__PURE__ */ r.jsx(E, { size: "xs", label: t("style.color.interpolation.palette.mapping.value_input_label"), value: l, onChange: (P) => {
8565
- const X = P.currentTarget.value;
8566
- c(X);
8564
+ /* @__PURE__ */ r.jsx(L, { size: "xs", label: t("style.color.interpolation.palette.mapping.value_input_label"), value: l, onChange: (P) => {
8565
+ const J = P.currentTarget.value;
8566
+ c(J);
8567
8567
  }, error: l && A }),
8568
8568
  /* @__PURE__ */ r.jsxs(y, { position: "apart", children: [
8569
8569
  /* @__PURE__ */ r.jsx(M, { variant: "light", color: "red", size: "xs", onClick: z, leftIcon: /* @__PURE__ */ r.jsx(Tn, { size: 16 }), children: t("common.actions.delete") }),
@@ -8574,7 +8574,7 @@ function gS(e) {
8574
8574
  ] }),
8575
8575
  /* @__PURE__ */ r.jsx(S, { title: b, style: {
8576
8576
  opacity: f ? 1 : 0
8577
- }, color: "dimmed", size: "sm", className: "palette-value--bottom palette-value", children: L })
8577
+ }, color: "dimmed", size: "sm", className: "palette-value--bottom palette-value", children: E })
8578
8578
  ] });
8579
8579
  }
8580
8580
  const bS = D(({
@@ -8606,8 +8606,8 @@ const bS = D(({
8606
8606
  group: t(`style.color.interpolation.palette.category.${z.category}`)
8607
8607
  })), [n.language]);
8608
8608
  function f(z) {
8609
- z && c((L) => ({
8610
- ...L,
8609
+ z && c((E) => ({
8610
+ ...E,
8611
8611
  interpolation: z
8612
8612
  }));
8613
8613
  }
@@ -8615,8 +8615,8 @@ const bS = D(({
8615
8615
  p(), s == null || s(Qn(l));
8616
8616
  };
8617
8617
  function I(z) {
8618
- c((L) => ({
8619
- ...L,
8618
+ c((E) => ({
8619
+ ...E,
8620
8620
  steps: z
8621
8621
  }));
8622
8622
  }
@@ -9039,8 +9039,8 @@ var IS = Object.create, Ml = Object.defineProperty, TS = Object.getOwnPropertyDe
9039
9039
  return Od(this, a, A);
9040
9040
  } }, n));
9041
9041
  h ? m && h < 4 && $d(a, (h > 2 ? "set " : h > 1 ? "get " : "") + n) : $d(s, n);
9042
- for (var L = i.length - 1; L >= 0; L--)
9043
- d = LS(h, n, c = {}, e[3], w), h && (d.static = p, d.private = m, u = d.access = { has: m ? (A) => AS(s, A) : (A) => n in A }, h ^ 3 && (u.get = m ? (A) => (h ^ 1 ? Pd : RS)(A, s, h ^ 4 ? a : z.get) : (A) => A[n]), h > 2 && (u.set = m ? (A, P) => Od(A, s, P, h ^ 4 ? a : z.set) : (A, P) => A[n] = P)), l = (0, i[L])(h ? h < 4 ? m ? a : z[b] : h > 4 ? void 0 : { get: z.get, set: z.set } : s, d), c._ = 1, h ^ 4 || l === void 0 ? ki(l) && (h > 4 ? I.unshift(l) : h ? m ? a = l : z[b] = l : s = l) : typeof l != "object" || l === null ? ui("Object expected") : (ki(o = l.get) && (z.get = o), ki(o = l.set) && (z.set = o), ki(o = l.init) && I.unshift(o));
9042
+ for (var E = i.length - 1; E >= 0; E--)
9043
+ d = LS(h, n, c = {}, e[3], w), h && (d.static = p, d.private = m, u = d.access = { has: m ? (A) => AS(s, A) : (A) => n in A }, h ^ 3 && (u.get = m ? (A) => (h ^ 1 ? Pd : RS)(A, s, h ^ 4 ? a : z.get) : (A) => A[n]), h > 2 && (u.set = m ? (A, P) => Od(A, s, P, h ^ 4 ? a : z.set) : (A, P) => A[n] = P)), l = (0, i[E])(h ? h < 4 ? m ? a : z[b] : h > 4 ? void 0 : { get: z.get, set: z.set } : s, d), c._ = 1, h ^ 4 || l === void 0 ? ki(l) && (h > 4 ? I.unshift(l) : h ? m ? a = l : z[b] = l : s = l) : typeof l != "object" || l === null ? ui("Object expected") : (ki(o = l.get) && (z.get = o), ki(o = l.set) && (z.set = o), ki(o = l.init) && I.unshift(o));
9044
9044
  return h || Qp(e, s), z && Ml(s, n, z), m ? h ^ 4 ? a : z : s;
9045
9045
  }, El = (e, t, n) => t.has(e) || ui("Cannot " + n), AS = (e, t) => Object(t) !== t ? ui('Cannot use the "in" operator on this value') : e.has(t), Pd = (e, t, n) => (El(e, t, "read from private field"), n ? n.call(e) : t.get(e)), ro = (e, t, n) => t.has(e) ? ui("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), Od = (e, t, n, i) => (El(e, t, "write to private field"), i ? i.call(e, n) : t.set(e, n), n), RS = (e, t, n) => (El(e, t, "access private method"), n), Fn = class Eo {
9046
9046
  /**
@@ -9212,8 +9212,8 @@ var Zp = /* @__PURE__ */ ((e) => (e.Horizontal = "x", e.Vertical = "y", e))(Zp |
9212
9212
  return Lo(this, a, A);
9213
9213
  } }, n));
9214
9214
  h ? m && h < 4 && Nd(a, (h > 2 ? "set " : h > 1 ? "get " : "") + n) : Nd(s, n);
9215
- for (var L = i.length - 1; L >= 0; L--)
9216
- d = BS(h, n, c = {}, e[3], w), h && (d.static = p, d.private = m, u = d.access = { has: m ? (A) => WS(s, A) : (A) => n in A }, h ^ 3 && (u.get = m ? (A) => (h ^ 1 ? Js : GS)(A, s, h ^ 4 ? a : z.get) : (A) => A[n]), h > 2 && (u.set = m ? (A, P) => Lo(A, s, P, h ^ 4 ? a : z.set) : (A, P) => A[n] = P)), l = (0, i[L])(h ? h < 4 ? m ? a : z[b] : h > 4 ? void 0 : { get: z.get, set: z.set } : s, d), c._ = 1, h ^ 4 || l === void 0 ? Ci(l) && (h > 4 ? I.unshift(l) : h ? m ? a = l : z[b] = l : s = l) : typeof l != "object" || l === null ? pi("Object expected") : (Ci(o = l.get) && (z.get = o), Ci(o = l.set) && (z.set = o), Ci(o = l.init) && I.unshift(o));
9215
+ for (var E = i.length - 1; E >= 0; E--)
9216
+ d = BS(h, n, c = {}, e[3], w), h && (d.static = p, d.private = m, u = d.access = { has: m ? (A) => WS(s, A) : (A) => n in A }, h ^ 3 && (u.get = m ? (A) => (h ^ 1 ? Js : GS)(A, s, h ^ 4 ? a : z.get) : (A) => A[n]), h > 2 && (u.set = m ? (A, P) => Lo(A, s, P, h ^ 4 ? a : z.set) : (A, P) => A[n] = P)), l = (0, i[E])(h ? h < 4 ? m ? a : z[b] : h > 4 ? void 0 : { get: z.get, set: z.set } : s, d), c._ = 1, h ^ 4 || l === void 0 ? Ci(l) && (h > 4 ? I.unshift(l) : h ? m ? a = l : z[b] = l : s = l) : typeof l != "object" || l === null ? pi("Object expected") : (Ci(o = l.get) && (z.get = o), Ci(o = l.set) && (z.set = o), Ci(o = l.init) && I.unshift(o));
9217
9217
  return h || is(e, s), z && $l(s, n, z), m ? h ^ 4 ? a : z : s;
9218
9218
  }, Pl = (e, t, n) => t.has(e) || pi("Cannot " + n), WS = (e, t) => Object(t) !== t ? pi('Cannot use the "in" operator on this value') : e.has(t), Js = (e, t, n) => (Pl(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Nt = (e, t, n) => t.has(e) ? pi("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), Lo = (e, t, n, i) => (Pl(e, t, "write to private field"), i ? i.call(e, n) : t.set(e, n), n), GS = (e, t, n) => (Pl(e, t, "access private method"), n);
9219
9219
  function im(e, t) {
@@ -9935,8 +9935,8 @@ var g1 = Object.create, Em = Object.defineProperty, b1 = Object.defineProperties
9935
9935
  return In(this, a);
9936
9936
  }, set [n](A) {
9937
9937
  return ni(this, a, A);
9938
- } }, n)), L = i.length - 1; L >= 0; L--)
9939
- d = j1(h, n, c = {}, e[3], w), d.static = p, d.private = m, u = d.access = { has: (A) => n in A }, u.get = (A) => A[n], u.set = (A, P) => A[n] = P, l = (0, i[L])({ get: z.get, set: z.set }, d), c._ = 1, l === void 0 ? Ti(l) && (z[b] = l) : typeof l != "object" || l === null ? ls("Object expected") : (Ti(o = l.get) && (z.get = o), Ti(o = l.set) && (z.set = o), Ti(o = l.init) && I.unshift(o));
9938
+ } }, n)), E = i.length - 1; E >= 0; E--)
9939
+ d = j1(h, n, c = {}, e[3], w), d.static = p, d.private = m, u = d.access = { has: (A) => n in A }, u.get = (A) => A[n], u.set = (A, P) => A[n] = P, l = (0, i[E])({ get: z.get, set: z.set }, d), c._ = 1, l === void 0 ? Ti(l) && (z[b] = l) : typeof l != "object" || l === null ? ls("Object expected") : (Ti(o = l.get) && (z.get = o), Ti(o = l.set) && (z.set = o), Ti(o = l.init) && I.unshift(o));
9940
9940
  return z && Em(s, n, z), s;
9941
9941
  }, Vm = (e, t, n) => t.has(e) || ls("Cannot " + n), In = (e, t, n) => (Vm(e, t, "read from private field"), t.get(e)), Jt = (e, t, n) => t.has(e) ? ls("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), ni = (e, t, n, i) => (Vm(e, t, "write to private field"), t.set(e, n), n), Wd = {
9942
9942
  role: "button",
@@ -10048,7 +10048,7 @@ var D1 = class extends nn {
10048
10048
  const { element: f, feedback: b } = p;
10049
10049
  if (!f || b === "none")
10050
10050
  return;
10051
- const I = new jn(f, !0), { width: w, height: z, top: L, left: A } = I, P = new Tm(f), { background: X, border: re, transition: Me, translate: Te } = pr(f), B = e.registry.droppables.get(p.id), G = b === "clone", N = b !== "move" ? e1(f, G, {
10051
+ const I = new jn(f, !0), { width: w, height: z, top: E, left: A } = I, P = new Tm(f), { background: J, border: re, transition: Me, translate: Te } = pr(f), B = e.registry.droppables.get(p.id), G = b === "clone", N = b !== "move" ? e1(f, G, {
10052
10052
  [Nm]: ""
10053
10053
  }) : null, K = Zr(
10054
10054
  () => na(e.dragOperation.activatorEvent)
@@ -10059,19 +10059,19 @@ var D1 = class extends nn {
10059
10059
  }
10060
10060
  if (n || (n = {
10061
10061
  x: A,
10062
- y: L
10062
+ y: E
10063
10063
  }), !a) {
10064
10064
  const Y = Zr(() => h.current);
10065
10065
  a = {
10066
10066
  x: (Y.x - A) / w,
10067
- y: (Y.y - L) / z
10067
+ y: (Y.y - E) / z
10068
10068
  };
10069
10069
  }
10070
10070
  const ne = {
10071
10071
  x: n.x - A,
10072
- y: n.y - L
10072
+ y: n.y - E
10073
10073
  }, ie = {
10074
- top: L + ne.y,
10074
+ top: E + ne.y,
10075
10075
  left: A + ne.x
10076
10076
  };
10077
10077
  f.setAttribute(Zn, "true"), P.set(
@@ -10080,7 +10080,7 @@ var D1 = class extends nn {
10080
10080
  height: z,
10081
10081
  top: ie.top,
10082
10082
  left: ie.left,
10083
- background: X,
10083
+ background: J,
10084
10084
  border: re,
10085
10085
  translate: s ? `${s.x}px ${s.y}px 0` : ""
10086
10086
  },
@@ -10105,7 +10105,7 @@ var D1 = class extends nn {
10105
10105
  {
10106
10106
  width: Y.width,
10107
10107
  height: Y.height,
10108
- top: L + We + oe.top,
10108
+ top: E + We + oe.top,
10109
10109
  left: A + je + oe.left
10110
10110
  },
10111
10111
  bt
@@ -10326,15 +10326,15 @@ var Hm, Oo, qi, Zl, Jn, Vo, Ta = class extends (Oo = QS, Hm = [Fe], Oo) {
10326
10326
  for (const w of em)
10327
10327
  p[w].isLocked(I[w]) && (b[w] = 0, I[w] = 0);
10328
10328
  if (I.x || I.y) {
10329
- const { x: w, y: z } = u ?? I, L = w * b.x, A = z * b.y;
10330
- if (L || A) {
10329
+ const { x: w, y: z } = u ?? I, E = w * b.x, A = z * b.y;
10330
+ if (E || A) {
10331
10331
  const P = (o = In(this, Jn)) == null ? void 0 : o.by;
10332
- if (this.autoScrolling && P && (P.x && !L || P.y && !A))
10332
+ if (this.autoScrolling && P && (P.x && !E || P.y && !A))
10333
10333
  continue;
10334
10334
  return ni(this, Jn, {
10335
10335
  element: m,
10336
10336
  by: {
10337
- x: L,
10337
+ x: E,
10338
10338
  y: A
10339
10339
  }
10340
10340
  }), ti.schedule(In(this, Vo)), !0;
@@ -10763,8 +10763,8 @@ var Xm, Jm, qo, nr, rc, ic, za = class extends (qo = hr, Jm = [Fe], Xm = [Fe], q
10763
10763
  if (c && u.status.initialized) {
10764
10764
  const h = a1(c), p = os(c), m = h === p.scrollingElement ? p : h, f = new IntersectionObserver(
10765
10765
  (w) => {
10766
- const [z] = w.slice(-1), { width: L, height: A } = z.boundingClientRect;
10767
- !L && !A || (this.visible = z.isIntersecting);
10766
+ const [z] = w.slice(-1), { width: E, height: A } = z.boundingClientRect;
10767
+ !E && !A || (this.visible = z.isIntersecting);
10768
10768
  },
10769
10769
  {
10770
10770
  root: m ?? p,
@@ -10859,8 +10859,8 @@ var G1 = Object.create, Zm = Object.defineProperty, H1 = Object.defineProperties
10859
10859
  return nk(this, a);
10860
10860
  }, set [n](A) {
10861
10861
  return rk(this, a, A);
10862
- } }, n)), L = i.length - 1; L >= 0; L--)
10863
- d = ek(h, n, c = {}, e[3], w), d.static = p, d.private = m, u = d.access = { has: (A) => n in A }, u.get = (A) => A[n], u.set = (A, P) => A[n] = P, l = (0, i[L])({ get: z.get, set: z.set }, d), c._ = 1, l === void 0 ? Di(l) && (z[b] = l) : typeof l != "object" || l === null ? ds("Object expected") : (Di(o = l.get) && (z.get = o), Di(o = l.set) && (z.set = o), Di(o = l.init) && I.unshift(o));
10862
+ } }, n)), E = i.length - 1; E >= 0; E--)
10863
+ d = ek(h, n, c = {}, e[3], w), d.static = p, d.private = m, u = d.access = { has: (A) => n in A }, u.get = (A) => A[n], u.set = (A, P) => A[n] = P, l = (0, i[E])({ get: z.get, set: z.set }, d), c._ = 1, l === void 0 ? Di(l) && (z[b] = l) : typeof l != "object" || l === null ? ds("Object expected") : (Di(o = l.get) && (z.get = o), Di(o = l.set) && (z.set = o), Di(o = l.init) && I.unshift(o));
10864
10864
  return z && Zm(s, n, z), s;
10865
10865
  }, sf = (e, t, n) => t.has(e) || ds("Cannot " + n), nk = (e, t, n) => (sf(e, t, "read from private field"), t.get(e)), Jd = (e, t, n) => t.has(e) ? ds("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), rk = (e, t, n, i) => (sf(e, t, "write to private field"), t.set(e, n), n);
10866
10866
  function ri(e) {
@@ -10890,8 +10890,8 @@ var js = 10, ik = class extends nn {
10890
10890
  return;
10891
10891
  const u = sk(d), { source: h } = a, { center: p } = a.shape.current, m = [];
10892
10892
  for (const w of c.droppables) {
10893
- const { shape: z, id: L } = w;
10894
- if (!(!z || L === (h == null ? void 0 : h.id) && ri(w) || (h == null ? void 0 : h.type) != null && !w.accepts(h)))
10893
+ const { shape: z, id: E } = w;
10894
+ if (!(!z || E === (h == null ? void 0 : h.id) && ri(w) || (h == null ? void 0 : h.type) != null && !w.accepts(h)))
10895
10895
  switch (u) {
10896
10896
  case "down":
10897
10897
  p.y + js < z.center.y && m.push(w);
@@ -10922,8 +10922,8 @@ var js = 10, ik = class extends nn {
10922
10922
  const z = c.droppables.get(w.id);
10923
10923
  if (!(z != null && z.element))
10924
10924
  return;
10925
- const { element: L } = z;
10926
- Im(L), ti.schedule(() => {
10925
+ const { element: E } = z;
10926
+ Im(E), ti.schedule(() => {
10927
10927
  const A = z.refreshShape();
10928
10928
  A && (o.move({
10929
10929
  to: {
@@ -11334,7 +11334,7 @@ function hf(e) {
11334
11334
  feedback: d
11335
11335
  }),
11336
11336
  P
11337
- )), z = lo(() => w.isDropTarget), L = lo(() => w.isDragSource), A = lo(() => w.status);
11337
+ )), z = lo(() => w.isDropTarget), E = lo(() => w.isDragSource), A = lo(() => w.status);
11338
11338
  return xt(s, () => w.id = s), xt(o, () => w.index = o, uf), xt(p, () => w.type = p), xt(l, () => w.group = l), xt(
11339
11339
  t,
11340
11340
  () => w.accept = t,
@@ -11354,7 +11354,7 @@ function hf(e) {
11354
11354
  () => w.collisionPriority = i
11355
11355
  ), xt(d, () => w.feedback = d ?? "default"), xt(h, () => w.transition = h), {
11356
11356
  get isDragSource() {
11357
- return L.value;
11357
+ return E.value;
11358
11358
  },
11359
11359
  get isDropTarget() {
11360
11360
  return z.value;
@@ -11449,33 +11449,33 @@ const yk = ({
11449
11449
  fields: u,
11450
11450
  append: h,
11451
11451
  remove: p
11452
- } = d, m = t(n), f = u.map((P, X) => ({
11452
+ } = d, m = t(n), f = u.map((P, J) => ({
11453
11453
  ...P,
11454
- ...m[X]
11454
+ ...m[J]
11455
11455
  })), b = ((A = C.last(f)) == null ? void 0 : A.id) ?? null, [I, w] = Z(b), z = (P) => {
11456
11456
  P !== "add" && w(P);
11457
11457
  };
11458
11458
  Q(() => {
11459
11459
  w((P) => b === P ? P : b);
11460
11460
  }, [b]);
11461
- const L = () => {
11461
+ const E = () => {
11462
11462
  const P = i();
11463
11463
  d.append(P), w(P.id);
11464
11464
  };
11465
11465
  return /* @__PURE__ */ r.jsxs(v, { value: I, onTabChange: z, styles: vk, children: [
11466
- /* @__PURE__ */ r.jsx(_k, { fieldArray: d, add: L, addButtonText: a, renderTabName: l, controlledFields: f }),
11467
- f.map((P, X) => /* @__PURE__ */ r.jsx(v.Panel, { value: P.id, children: /* @__PURE__ */ r.jsxs(k, { children: [
11466
+ /* @__PURE__ */ r.jsx(_k, { fieldArray: d, add: E, addButtonText: a, renderTabName: l, controlledFields: f }),
11467
+ f.map((P, J) => /* @__PURE__ */ r.jsx(v.Panel, { value: P.id, children: /* @__PURE__ */ r.jsxs(k, { children: [
11468
11468
  s({
11469
11469
  field: P,
11470
- index: X
11470
+ index: J
11471
11471
  }),
11472
11472
  /* @__PURE__ */ r.jsx(O, { mb: -10, mt: 10, variant: "dashed" }),
11473
- /* @__PURE__ */ r.jsx(M, { leftIcon: /* @__PURE__ */ r.jsx(Tn, { size: 16 }), color: "red", variant: "light", onClick: () => p(X), sx: {
11473
+ /* @__PURE__ */ r.jsx(M, { leftIcon: /* @__PURE__ */ r.jsx(Tn, { size: 16 }), color: "red", variant: "light", onClick: () => p(J), sx: {
11474
11474
  top: 15,
11475
11475
  right: 5
11476
11476
  }, disabled: c == null ? void 0 : c({
11477
11477
  field: P,
11478
- index: X,
11478
+ index: J,
11479
11479
  fields: f
11480
11480
  }), children: o })
11481
11481
  ] }) }, P.id))
@@ -11573,7 +11573,7 @@ function wk({
11573
11573
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
11574
11574
  /* @__PURE__ */ r.jsx(g, { name: `reference_lines.${t}.name`, control: e, render: ({
11575
11575
  field: s
11576
- }) => /* @__PURE__ */ r.jsx(E, { label: i("common.name"), placeholder: i("chart.reference_line.name_placeholder"), required: !0, sx: {
11576
+ }) => /* @__PURE__ */ r.jsx(L, { label: i("common.name"), placeholder: i("chart.reference_line.name_placeholder"), required: !0, sx: {
11577
11577
  flex: 1
11578
11578
  }, ...s }) }),
11579
11579
  /* @__PURE__ */ r.jsx(g, { name: `reference_lines.${t}.variable_key`, control: e, render: ({
@@ -11587,7 +11587,7 @@ function wk({
11587
11587
  ] }),
11588
11588
  /* @__PURE__ */ r.jsx(g, { name: `reference_lines.${t}.template`, control: e, render: ({
11589
11589
  field: s
11590
- }) => /* @__PURE__ */ r.jsx(E, { label: i("chart.content_template.label"), placeholder: i("chart.content_template.placeholder"), required: !0, sx: {
11590
+ }) => /* @__PURE__ */ r.jsx(L, { label: i("chart.content_template.label"), placeholder: i("chart.content_template.placeholder"), required: !0, sx: {
11591
11591
  flex: 1
11592
11592
  }, ...s }) })
11593
11593
  ] });
@@ -11625,7 +11625,7 @@ const kk = ({
11625
11625
  return /* @__PURE__ */ r.jsx(k, { children: /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
11626
11626
  /* @__PURE__ */ r.jsx(g, { name: `tooltip.metrics.${t}.name`, control: e, render: ({
11627
11627
  field: i
11628
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), required: !0, sx: {
11628
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), required: !0, sx: {
11629
11629
  flex: 1
11630
11630
  }, ...i }) }),
11631
11631
  /* @__PURE__ */ r.jsx(g, { name: `tooltip.metrics.${t}.data_key`, control: e, render: ({
@@ -11695,7 +11695,7 @@ const Xn = pe(({
11695
11695
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
11696
11696
  /* @__PURE__ */ r.jsx(g, { name: "x_axis.name", control: e, render: ({
11697
11697
  field: i
11698
- }) => /* @__PURE__ */ r.jsx(E, { label: n("chart.x_axis.x_axis_name"), sx: {
11698
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("chart.x_axis.x_axis_name"), sx: {
11699
11699
  flex: 1
11700
11700
  }, ...i }) }),
11701
11701
  /* @__PURE__ */ r.jsx(g, { name: "x_axis.data_key", control: e, render: ({
@@ -11835,7 +11835,7 @@ const rn = $.forwardRef(Mk), Ek = ({
11835
11835
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
11836
11836
  /* @__PURE__ */ r.jsx(g, { name: "y_axis.name", control: e, render: ({
11837
11837
  field: i
11838
- }) => /* @__PURE__ */ r.jsx(E, { label: n("chart.y_axis.y_axis_name"), sx: {
11838
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("chart.y_axis.y_axis_name"), sx: {
11839
11839
  flex: 1
11840
11840
  }, ...i }) }),
11841
11841
  /* @__PURE__ */ r.jsx(g, { name: "y_axis.data_key", control: e, render: ({
@@ -12304,7 +12304,7 @@ function Jk({
12304
12304
  /* @__PURE__ */ r.jsxs(k, { children: [
12305
12305
  /* @__PURE__ */ r.jsx(g, { control: a, name: "content", render: ({
12306
12306
  field: p
12307
- }) => /* @__PURE__ */ r.jsx(E, { label: "Content Template", description: "Filter values & context entries are supported", ...p, required: !0 }) }),
12307
+ }) => /* @__PURE__ */ r.jsx(L, { label: "Content Template", description: "Filter values & context entries are supported", ...p, required: !0 }) }),
12308
12308
  /* @__PURE__ */ r.jsx(O, { mt: "xs", mb: 0, label: "Styles", labelPosition: "center", variant: "dashed" }),
12309
12309
  /* @__PURE__ */ r.jsxs(Cr, { cols: 2, children: [
12310
12310
  /* @__PURE__ */ r.jsx(
@@ -12750,7 +12750,7 @@ function _C({
12750
12750
  hide_in_legend: p,
12751
12751
  ...m
12752
12752
  }, f, b, I, w) {
12753
- const z = t.type !== "category", L = {
12753
+ const z = t.type !== "category", E = {
12754
12754
  label: {
12755
12755
  show: !!s,
12756
12756
  position: s,
@@ -12768,35 +12768,35 @@ function _C({
12768
12768
  },
12769
12769
  ...m
12770
12770
  };
12771
- if (m.type === "line" && (L.lineStyle = {
12771
+ if (m.type === "line" && (E.lineStyle = {
12772
12772
  width: m.lineStyle.width,
12773
12773
  shadowColor: "rgba(255,255,255,1)",
12774
12774
  shadowBlur: 0,
12775
12775
  shadowOffsetX: 0,
12776
12776
  shadowOffsetY: C.clamp(m.lineStyle.width, 1, 3)
12777
- }), u && (L.endLabel = {
12777
+ }), u && (E.endLabel = {
12778
12778
  show: !0,
12779
12779
  formatter: a,
12780
12780
  offset: [-12, 12],
12781
12781
  align: "right"
12782
12782
  }), !o || o === e)
12783
- return L.data = gC({
12783
+ return E.data = gC({
12784
12784
  dataTemplate: f,
12785
12785
  data: b,
12786
12786
  aggregation_on_value: l,
12787
12787
  x_axis_data_key: e,
12788
12788
  y_axis_data_key: n,
12789
12789
  valueTypedXAxis: z
12790
- }), L;
12790
+ }), E;
12791
12791
  const A = bC({
12792
12792
  group_by_key: o,
12793
12793
  data: b,
12794
12794
  x_axis_data_key: e,
12795
12795
  y_axis_data_key: n
12796
12796
  });
12797
- return Object.entries(A).map(([P, X]) => {
12798
- const re = ht(L);
12799
- return re.name = P, re.color = void 0, re.data = X, re;
12797
+ return Object.entries(A).map(([P, J]) => {
12798
+ const re = ht(E);
12799
+ return re.name = P, re.color = void 0, re.data = J, re;
12800
12800
  });
12801
12801
  }
12802
12802
  function vC(e, t, n, i, s, a) {
@@ -13109,12 +13109,12 @@ function AC({
13109
13109
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
13110
13110
  /* @__PURE__ */ r.jsx(g, { name: `reference_areas.${t}.name`, control: e, render: ({
13111
13111
  field: l
13112
- }) => /* @__PURE__ */ r.jsx(E, { label: i("chart.reference_area.label"), required: !0, sx: {
13112
+ }) => /* @__PURE__ */ r.jsx(L, { label: i("chart.reference_area.label"), required: !0, sx: {
13113
13113
  flex: 1
13114
13114
  }, ...l }) }),
13115
13115
  /* @__PURE__ */ r.jsx(g, { name: `reference_areas.${t}.color`, control: e, render: ({
13116
13116
  field: l
13117
- }) => /* @__PURE__ */ r.jsx(E, { label: i("chart.color.label"), required: !0, sx: {
13117
+ }) => /* @__PURE__ */ r.jsx(L, { label: i("chart.color.label"), required: !0, sx: {
13118
13118
  flex: 1
13119
13119
  }, ...l }) })
13120
13120
  ] }),
@@ -13222,7 +13222,7 @@ function $C({
13222
13222
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
13223
13223
  /* @__PURE__ */ r.jsx(g, { name: `reference_lines.${t}.name`, control: e, render: ({
13224
13224
  field: l
13225
- }) => /* @__PURE__ */ r.jsx(E, { label: a("common.name"), placeholder: a("chart.reference_line.name_placeholder"), required: !0, sx: {
13225
+ }) => /* @__PURE__ */ r.jsx(L, { label: a("common.name"), placeholder: a("chart.reference_line.name_placeholder"), required: !0, sx: {
13226
13226
  flex: 1
13227
13227
  }, ...l }) }),
13228
13228
  /* @__PURE__ */ r.jsx(g, { name: `reference_lines.${t}.variable_key`, control: e, render: ({
@@ -13236,7 +13236,7 @@ function $C({
13236
13236
  ] }),
13237
13237
  /* @__PURE__ */ r.jsx(g, { name: `reference_lines.${t}.template`, control: e, render: ({
13238
13238
  field: l
13239
- }) => /* @__PURE__ */ r.jsx(E, { label: a("chart.content_template.label"), placeholder: a("chart.content_template.hint"), sx: {
13239
+ }) => /* @__PURE__ */ r.jsx(L, { label: a("chart.content_template.label"), placeholder: a("chart.content_template.hint"), sx: {
13240
13240
  flex: 1
13241
13241
  }, ...l }) }),
13242
13242
  /* @__PURE__ */ r.jsxs(y, { grow: !0, children: [
@@ -13356,7 +13356,7 @@ function OC({
13356
13356
  /* @__PURE__ */ r.jsxs(y, { grow: !0, children: [
13357
13357
  /* @__PURE__ */ r.jsx(g, { name: `regressions.${n}.name`, control: e, render: ({
13358
13358
  field: c
13359
- }) => /* @__PURE__ */ r.jsx(E, { label: s("common.name"), required: !0, sx: {
13359
+ }) => /* @__PURE__ */ r.jsx(L, { label: s("common.name"), required: !0, sx: {
13360
13360
  flex: 1
13361
13361
  }, ...c }) }),
13362
13362
  /* @__PURE__ */ r.jsx(g, { name: `regressions.${n}.group_by_key`, control: e, render: ({
@@ -13718,7 +13718,7 @@ function WC({
13718
13718
  color: "grape"
13719
13719
  } })
13720
13720
  ] }),
13721
- s && /* @__PURE__ */ r.jsx(E, { label: o("panel.variable.aggregation.fallback_value"), description: o("panel.variable.aggregation.fallback_value_description"), value: t.fallback, onChange: p })
13721
+ s && /* @__PURE__ */ r.jsx(L, { label: o("panel.variable.aggregation.fallback_value"), description: o("panel.variable.aggregation.fallback_value_description"), value: t.fallback, onChange: p })
13722
13722
  ] });
13723
13723
  }
13724
13724
  const fc = $.forwardRef(WC), xi = pe(({
@@ -13803,7 +13803,7 @@ function GC({
13803
13803
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
13804
13804
  /* @__PURE__ */ r.jsx(g, { name: `series.${t}.stack`, control: e, render: ({
13805
13805
  field: l
13806
- }) => /* @__PURE__ */ r.jsx(E, { label: i("chart.series.bar.stack"), placeholder: i("chart.series.bar.stack_hint"), sx: {
13806
+ }) => /* @__PURE__ */ r.jsx(L, { label: i("chart.series.bar.stack"), placeholder: i("chart.series.bar.stack_hint"), sx: {
13807
13807
  flexGrow: 1
13808
13808
  }, ...l }) }),
13809
13809
  /* @__PURE__ */ r.jsx(g, { name: `series.${t}.barGap`, control: e, render: ({
@@ -13818,17 +13818,17 @@ function GC({
13818
13818
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
13819
13819
  /* @__PURE__ */ r.jsx(g, { name: `series.${t}.barMinWidth`, control: e, render: ({
13820
13820
  field: l
13821
- }) => /* @__PURE__ */ r.jsx(E, { label: i("chart.series.bar.bar_width.min"), disabled: a, sx: {
13821
+ }) => /* @__PURE__ */ r.jsx(L, { label: i("chart.series.bar.bar_width.min"), disabled: a, sx: {
13822
13822
  flexGrow: 1
13823
13823
  }, ...l }) }),
13824
13824
  /* @__PURE__ */ r.jsx(g, { name: `series.${t}.barWidth`, control: e, render: ({
13825
13825
  field: l
13826
- }) => /* @__PURE__ */ r.jsx(E, { label: i("chart.series.bar.bar_width.exact"), sx: {
13826
+ }) => /* @__PURE__ */ r.jsx(L, { label: i("chart.series.bar.bar_width.exact"), sx: {
13827
13827
  flexGrow: 1
13828
13828
  }, ...l }) }),
13829
13829
  /* @__PURE__ */ r.jsx(g, { name: `series.${t}.barMaxWidth`, control: e, render: ({
13830
13830
  field: l
13831
- }) => /* @__PURE__ */ r.jsx(E, { label: i("chart.series.bar.bar_width.max"), disabled: a, sx: {
13831
+ }) => /* @__PURE__ */ r.jsx(L, { label: i("chart.series.bar.bar_width.max"), disabled: a, sx: {
13832
13832
  flexGrow: 1
13833
13833
  }, ...l }) })
13834
13834
  ] })
@@ -13945,7 +13945,7 @@ function UC({
13945
13945
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
13946
13946
  /* @__PURE__ */ r.jsx(g, { name: `series.${t}.name`, control: e, render: ({
13947
13947
  field: o
13948
- }) => /* @__PURE__ */ r.jsx(E, { label: s("chart.series.name"), required: !0, sx: {
13948
+ }) => /* @__PURE__ */ r.jsx(L, { label: s("chart.series.name"), required: !0, sx: {
13949
13949
  flex: 1
13950
13950
  }, ...o }) }),
13951
13951
  /* @__PURE__ */ r.jsx(g, { name: `series.${t}.yAxisIndex`, control: e, render: ({
@@ -14071,7 +14071,7 @@ const XC = ({
14071
14071
  return /* @__PURE__ */ r.jsx(k, { children: /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
14072
14072
  /* @__PURE__ */ r.jsx(g, { name: `tooltip.metrics.${t}.name`, control: e, render: ({
14073
14073
  field: i
14074
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), required: !0, sx: {
14074
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), required: !0, sx: {
14075
14075
  flex: 1
14076
14076
  }, ...i }) }),
14077
14077
  /* @__PURE__ */ r.jsx(g, { name: `tooltip.metrics.${t}.data_key`, control: e, render: ({
@@ -14159,7 +14159,7 @@ function tI({
14159
14159
  return /* @__PURE__ */ r.jsxs(k, { children: [
14160
14160
  /* @__PURE__ */ r.jsx(g, { name: "x_axis_name", control: e, render: ({
14161
14161
  field: a
14162
- }) => /* @__PURE__ */ r.jsx(E, { label: n("chart.x_axis.x_axis_name"), sx: {
14162
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("chart.x_axis.x_axis_name"), sx: {
14163
14163
  flex: 1
14164
14164
  }, ...a }) }),
14165
14165
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
@@ -14246,7 +14246,7 @@ function nI({
14246
14246
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
14247
14247
  /* @__PURE__ */ r.jsx(g, { name: `y_axes.${t}.name`, control: e, render: ({
14248
14248
  field: i
14249
- }) => /* @__PURE__ */ r.jsx(E, { label: n("chart.y_axis.y_axis_name"), required: !0, sx: {
14249
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("chart.y_axis.y_axis_name"), required: !0, sx: {
14250
14250
  flex: 1
14251
14251
  }, ...i }) }),
14252
14252
  /* @__PURE__ */ r.jsx(g, { name: `y_axes.${t}.nameAlignment`, control: e, render: ({
@@ -14272,10 +14272,10 @@ function nI({
14272
14272
  /* @__PURE__ */ r.jsxs(y, { grow: !0, children: [
14273
14273
  /* @__PURE__ */ r.jsx(g, { name: `y_axes.${t}.min`, control: e, render: ({
14274
14274
  field: i
14275
- }) => /* @__PURE__ */ r.jsx(E, { label: n("chart.y_axis.value_min"), ...i }) }),
14275
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("chart.y_axis.value_min"), ...i }) }),
14276
14276
  /* @__PURE__ */ r.jsx(g, { name: `y_axes.${t}.max`, control: e, render: ({
14277
14277
  field: i
14278
- }) => /* @__PURE__ */ r.jsx(E, { label: n("chart.y_axis.value_max"), ...i }) })
14278
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("chart.y_axis.value_max"), ...i }) })
14279
14279
  ] })
14280
14280
  ] }),
14281
14281
  /* @__PURE__ */ r.jsx(O, { mb: -10, mt: 10, variant: "dashed", label: n("chart.y_axis.behavior"), labelPosition: "center" }),
@@ -15065,7 +15065,7 @@ const VI = ({
15065
15065
  return /* @__PURE__ */ r.jsxs(k, { children: [
15066
15066
  /* @__PURE__ */ r.jsx(y, { grow: !0, noWrap: !0, children: /* @__PURE__ */ r.jsx(g, { name: `series.${n}.name`, control: t, render: ({
15067
15067
  field: h
15068
- }) => /* @__PURE__ */ r.jsx(E, { label: s("viz.funnel_chart.series_name"), ...h }) }) }),
15068
+ }) => /* @__PURE__ */ r.jsx(L, { label: s("viz.funnel_chart.series_name"), ...h }) }) }),
15069
15069
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
15070
15070
  /* @__PURE__ */ r.jsx(g, { name: `series.${n}.level_name_data_key`, control: t, render: ({
15071
15071
  field: h
@@ -15093,7 +15093,7 @@ const VI = ({
15093
15093
  ) }),
15094
15094
  /* @__PURE__ */ r.jsx(g, { name: `series.${n}.min.size`, control: t, render: ({
15095
15095
  field: h
15096
- }) => /* @__PURE__ */ r.jsx(E, { placeholder: "0%", label: s("viz.funnel_chart.min_size"), ...h }) })
15096
+ }) => /* @__PURE__ */ r.jsx(L, { placeholder: "0%", label: s("viz.funnel_chart.min_size"), ...h }) })
15097
15097
  ] }),
15098
15098
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
15099
15099
  /* @__PURE__ */ r.jsx(g, { name: `series.${n}.max.value`, control: t, render: ({
@@ -15113,7 +15113,7 @@ const VI = ({
15113
15113
  ) }),
15114
15114
  /* @__PURE__ */ r.jsx(g, { name: `series.${n}.max.size`, control: t, render: ({
15115
15115
  field: h
15116
- }) => /* @__PURE__ */ r.jsx(E, { placeholder: "100%", label: s("viz.funnel_chart.max_size"), ...h }) })
15116
+ }) => /* @__PURE__ */ r.jsx(L, { placeholder: "100%", label: s("viz.funnel_chart.max_size"), ...h }) })
15117
15117
  ] }),
15118
15118
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
15119
15119
  /* @__PURE__ */ r.jsx(g, { name: `series.${n}.orient`, control: t, render: ({
@@ -15547,23 +15547,22 @@ function nT(e, t, n, i) {
15547
15547
  z: 3
15548
15548
  });
15549
15549
  }
15550
- function rT(e, t, n, i) {
15550
+ function rT(e, t, n) {
15551
15551
  const {
15552
- nameAlignment: s,
15553
- data_key: a,
15554
- ...o
15552
+ nameAlignment: i,
15553
+ data_key: s,
15554
+ ...a
15555
15555
  } = e.y_axis, {
15556
- overflow: l,
15557
- rotate: c
15558
- } = e.y_axis.axisLabel, d = tn(l.on_axis);
15556
+ overflow: o,
15557
+ rotate: l
15558
+ } = e.y_axis.axisLabel, c = tn(o.on_axis);
15559
15559
  return De.getYAxis({
15560
- ...o,
15560
+ ...a,
15561
15561
  type: "category",
15562
- data: t,
15563
15562
  axisLabel: {
15564
- rotate: c,
15565
- ...d,
15566
- formatter: n
15563
+ rotate: l,
15564
+ ...c,
15565
+ formatter: t
15567
15566
  },
15568
15567
  axisTick: {
15569
15568
  show: !0,
@@ -15582,7 +15581,7 @@ function rT(e, t, n, i) {
15582
15581
  }
15583
15582
  },
15584
15583
  splitLine: {
15585
- show: i > 0,
15584
+ show: n > 0,
15586
15585
  interval: 0,
15587
15586
  lineStyle: {
15588
15587
  type: "solid",
@@ -15591,7 +15590,7 @@ function rT(e, t, n, i) {
15591
15590
  },
15592
15591
  nameTextStyle: {
15593
15592
  fontWeight: "bold",
15594
- align: s
15593
+ align: i
15595
15594
  },
15596
15595
  nameLocation: "end",
15597
15596
  nameGap: 15,
@@ -16043,10 +16042,10 @@ const uT = dT(), hT = ({
16043
16042
  /* @__PURE__ */ r.jsxs(y, { grow: !0, children: [
16044
16043
  /* @__PURE__ */ r.jsx(g, { name: "visualMap.text.1", control: i, render: ({
16045
16044
  field: d
16046
- }) => /* @__PURE__ */ r.jsx(E, { label: t("chart.visual_map.min_text"), ...d }) }),
16045
+ }) => /* @__PURE__ */ r.jsx(L, { label: t("chart.visual_map.min_text"), ...d }) }),
16047
16046
  /* @__PURE__ */ r.jsx(g, { name: "visualMap.text.0", control: i, render: ({
16048
16047
  field: d
16049
- }) => /* @__PURE__ */ r.jsx(E, { label: t("chart.visual_map.max_text"), ...d }) })
16048
+ }) => /* @__PURE__ */ r.jsx(L, { label: t("chart.visual_map.max_text"), ...d }) })
16050
16049
  ] }),
16051
16050
  /* @__PURE__ */ r.jsxs(y, { grow: !0, children: [
16052
16051
  /* @__PURE__ */ r.jsx(g, { name: "visualMap.orient", control: i, render: ({
@@ -16136,7 +16135,7 @@ const uT = dT(), hT = ({
16136
16135
  /* @__PURE__ */ r.jsx(Kt.Dropdown, { children: /* @__PURE__ */ r.jsxs(y, { noWrap: !0, spacing: 8, children: [
16137
16136
  /* @__PURE__ */ r.jsx(g, { name: `visualMap.pieces.${t}.lower.value`, control: i, render: ({
16138
16137
  field: h
16139
- }) => /* @__PURE__ */ r.jsx(E, { ...h, placeholder: n("chart.visual_map.min_value"), size: "xs", onChange: (p) => h.onChange(p.currentTarget.value), error: h.value !== "" && Number.isNaN(Number(h.value)) }) }),
16138
+ }) => /* @__PURE__ */ r.jsx(L, { ...h, placeholder: n("chart.visual_map.min_value"), size: "xs", onChange: (p) => h.onChange(p.currentTarget.value), error: h.value !== "" && Number.isNaN(Number(h.value)) }) }),
16140
16139
  /* @__PURE__ */ r.jsx(g, { name: `visualMap.pieces.${t}.lower.symbol`, control: i, render: ({
16141
16140
  field: h
16142
16141
  }) => /* @__PURE__ */ r.jsx(q, { size: "xs", data: au.lower, ...h, onChange: (p) => h.onChange(p) }) }),
@@ -16149,7 +16148,7 @@ const uT = dT(), hT = ({
16149
16148
  }) => /* @__PURE__ */ r.jsx(q, { size: "xs", data: au.upper, ...h, onChange: (p) => h.onChange(p) }) }),
16150
16149
  /* @__PURE__ */ r.jsx(g, { name: `visualMap.pieces.${t}.upper.value`, control: i, render: ({
16151
16150
  field: h
16152
- }) => /* @__PURE__ */ r.jsx(E, { ...h, size: "xs", placeholder: n("chart.visual_map.max_value"), onChange: (p) => h.onChange(p.currentTarget.value), error: h.value !== "" && Number.isNaN(Number(h.value)) }) })
16151
+ }) => /* @__PURE__ */ r.jsx(L, { ...h, size: "xs", placeholder: n("chart.visual_map.max_value"), onChange: (p) => h.onChange(p.currentTarget.value), error: h.value !== "" && Number.isNaN(Number(h.value)) }) })
16153
16152
  ] }) })
16154
16153
  ] }) });
16155
16154
  }, bT = ({
@@ -16167,7 +16166,7 @@ const uT = dT(), hT = ({
16167
16166
  /* @__PURE__ */ r.jsx("td", { children: /* @__PURE__ */ r.jsx(gT, { form: e, index: t }) }),
16168
16167
  /* @__PURE__ */ r.jsx("td", { children: /* @__PURE__ */ r.jsx(g, { name: `visualMap.pieces.${t}.label`, control: i, render: ({
16169
16168
  field: a
16170
- }) => /* @__PURE__ */ r.jsx(E, { size: "xs", placeholder: "", ...a, onChange: (o) => a.onChange(o.currentTarget.value) }) }) }),
16169
+ }) => /* @__PURE__ */ r.jsx(L, { size: "xs", placeholder: "", ...a, onChange: (o) => a.onChange(o.currentTarget.value) }) }) }),
16171
16170
  /* @__PURE__ */ r.jsx("td", { children: /* @__PURE__ */ r.jsx(g, { name: `visualMap.pieces.${t}.color`, control: i, render: ({
16172
16171
  field: a
16173
16172
  }) => /* @__PURE__ */ r.jsx(lr, { label: s(""), placeholder: s("chart.color.label"), size: "xs", withinPortal: !0, dropdownZIndex: 340, rightSection: a.value ? /* @__PURE__ */ r.jsx(zr, { onClick: () => {
@@ -16303,26 +16302,26 @@ function vT(e, t, n, i) {
16303
16302
  function jT(e, t, n, i, s) {
16304
16303
  if (!e.x_axis.data_key || !e.y_axis.data_key || !e.heat_block.data_key)
16305
16304
  return {};
16306
- const a = n.reduce((L, A) => {
16305
+ const a = n.reduce((E, A) => {
16307
16306
  const P = Ln(A, t);
16308
- return L[A.name] = Wt(A, P), L;
16307
+ return E[A.name] = Wt(A, P), E;
16309
16308
  }, {}), o = La(e.visualMap, a), {
16310
16309
  min: l,
16311
16310
  max: c
16312
- } = o, d = YI(e), u = KI(e), h = W(e.x_axis.data_key), p = W(e.y_axis.data_key), m = W(e.heat_block.data_key), f = C.uniq(t[h.queryID].map((L) => L[h.columnKey])), b = C.uniq(t[h.queryID].map((L) => L[p.columnKey])), I = t[h.queryID].map((L) => {
16313
- const A = C.get(L, h.columnKey), P = C.get(L, p.columnKey), X = C.get(L, m.columnKey), re = {
16314
- value: [A, P, X]
16311
+ } = o, d = YI(e), u = KI(e), h = W(e.x_axis.data_key), p = W(e.y_axis.data_key), m = W(e.heat_block.data_key), f = C.uniq(t[h.queryID].map((E) => E[h.columnKey])), b = C.uniq(t[h.queryID].map((E) => E[p.columnKey])), I = t[h.queryID].map((E) => {
16312
+ const A = C.get(E, h.columnKey), P = C.get(E, p.columnKey), J = C.get(E, m.columnKey), re = {
16313
+ value: [A, P, J]
16315
16314
  }, {
16316
16315
  followVisualMap: Me,
16317
16316
  color: Te
16318
- } = gc(X, l, c, e.visualMap);
16317
+ } = gc(J, l, c, e.visualMap);
16319
16318
  return Me || (re.visualMap = !1, re.itemStyle = {
16320
16319
  color: Te
16321
16320
  }), re;
16322
16321
  }), w = vT(f.length, b.length, i, s);
16323
16322
  return {
16324
16323
  xAxis: nT(e, f, d.x_axis, w),
16325
- yAxis: rT(e, b, d.y_axis, w),
16324
+ yAxis: rT(e, d.y_axis, w),
16326
16325
  series: JI(e, I, w),
16327
16326
  tooltip: tT(e, t, d, u),
16328
16327
  grid: XI(e),
@@ -16466,7 +16465,7 @@ function IT({
16466
16465
  }, ...s }) }),
16467
16466
  /* @__PURE__ */ r.jsx(g, { name: "heat_block.name", control: e, render: ({
16468
16467
  field: s
16469
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), sx: {
16468
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), sx: {
16470
16469
  flex: 1
16471
16470
  }, ...s }) })
16472
16471
  ] }),
@@ -16500,7 +16499,7 @@ const TT = ({
16500
16499
  return /* @__PURE__ */ r.jsx(k, { children: /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
16501
16500
  /* @__PURE__ */ r.jsx(g, { name: `tooltip.metrics.${t}.name`, control: e, render: ({
16502
16501
  field: i
16503
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), required: !0, sx: {
16502
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), required: !0, sx: {
16504
16503
  flex: 1
16505
16504
  }, ...i }) }),
16506
16505
  /* @__PURE__ */ r.jsx(g, { name: `tooltip.metrics.${t}.data_key`, control: e, render: ({
@@ -16560,7 +16559,7 @@ function MT({
16560
16559
  }, ...i }) }),
16561
16560
  /* @__PURE__ */ r.jsx(g, { name: "x_axis.name", control: e, render: ({
16562
16561
  field: i
16563
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), sx: {
16562
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), sx: {
16564
16563
  flex: 1
16565
16564
  }, ...i }) })
16566
16565
  ] }),
@@ -16598,7 +16597,7 @@ function ET({
16598
16597
  }, ...i }) }),
16599
16598
  /* @__PURE__ */ r.jsx(g, { name: "y_axis.name", control: e, render: ({
16600
16599
  field: i
16601
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), sx: {
16600
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), sx: {
16602
16601
  flex: 1
16603
16602
  }, ...i }) })
16604
16603
  ] }),
@@ -17265,7 +17264,7 @@ function oz({
17265
17264
  /* @__PURE__ */ r.jsxs(y, { grow: !0, children: [
17266
17265
  /* @__PURE__ */ r.jsx(g, { name: "bar.name", control: e, render: ({
17267
17266
  field: i
17268
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), sx: {
17267
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), sx: {
17269
17268
  flex: 1
17270
17269
  }, ...i }) }),
17271
17270
  /* @__PURE__ */ r.jsx(g, { name: "bar.nameAlignment", control: e, render: ({
@@ -17299,7 +17298,7 @@ function lz({
17299
17298
  /* @__PURE__ */ r.jsxs(y, { grow: !0, children: [
17300
17299
  /* @__PURE__ */ r.jsx(g, { name: "line.name", control: e, render: ({
17301
17300
  field: i
17302
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), sx: {
17301
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), sx: {
17303
17302
  flex: 1
17304
17303
  }, ...i }) }),
17305
17304
  /* @__PURE__ */ r.jsx(g, { name: "line.nameAlignment", control: e, render: ({
@@ -17384,7 +17383,7 @@ function hz({
17384
17383
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
17385
17384
  /* @__PURE__ */ r.jsx(g, { name: "x_axis.name", control: e, render: ({
17386
17385
  field: i
17387
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), sx: {
17386
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), sx: {
17388
17387
  flex: 1
17389
17388
  }, ...i }) }),
17390
17389
  /* @__PURE__ */ r.jsx(g, { name: "x_axis.data_key", control: e, render: ({
@@ -17438,7 +17437,7 @@ function mz({
17438
17437
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
17439
17438
  /* @__PURE__ */ r.jsx(g, { name: `reference_lines.${t}.name`, control: e, render: ({
17440
17439
  field: l
17441
- }) => /* @__PURE__ */ r.jsx(E, { label: a("common.name"), placeholder: a("chart.reference_line.name_placeholder"), required: !0, sx: {
17440
+ }) => /* @__PURE__ */ r.jsx(L, { label: a("common.name"), placeholder: a("chart.reference_line.name_placeholder"), required: !0, sx: {
17442
17441
  flex: 1
17443
17442
  }, ...l }) }),
17444
17443
  /* @__PURE__ */ r.jsx(g, { name: `reference_lines.${t}.variable_key`, control: e, render: ({
@@ -17452,7 +17451,7 @@ function mz({
17452
17451
  ] }),
17453
17452
  /* @__PURE__ */ r.jsx(g, { name: `reference_lines.${t}.template`, control: e, render: ({
17454
17453
  field: l
17455
- }) => /* @__PURE__ */ r.jsx(E, { label: a("chart.content_template.label"), placeholder: a("chart.content_template.hint"), sx: {
17454
+ }) => /* @__PURE__ */ r.jsx(L, { label: a("chart.content_template.label"), placeholder: a("chart.content_template.hint"), sx: {
17456
17455
  flex: 1
17457
17456
  }, ...l }) }),
17458
17457
  /* @__PURE__ */ r.jsxs(y, { grow: !0, children: [
@@ -18396,7 +18395,7 @@ function tD({
18396
18395
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, align: "top", children: [
18397
18396
  /* @__PURE__ */ r.jsx(g, { name: `dimensions.${t}.name`, control: e, render: ({
18398
18397
  field: i
18399
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), required: !0, sx: {
18398
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), required: !0, sx: {
18400
18399
  flex: 1
18401
18400
  }, ...i }) }),
18402
18401
  /* @__PURE__ */ r.jsx(g, { name: `dimensions.${t}.data_key`, control: e, render: ({
@@ -18414,7 +18413,7 @@ function tD({
18414
18413
  fieldState: s
18415
18414
  }) => {
18416
18415
  var a;
18417
- return /* @__PURE__ */ r.jsx(E, { label: n("common.max"), required: !0, sx: {
18416
+ return /* @__PURE__ */ r.jsx(L, { label: n("common.max"), required: !0, sx: {
18418
18417
  flex: 1
18419
18418
  }, ...i, error: (a = s.error) == null ? void 0 : a.message });
18420
18419
  } })
@@ -19216,7 +19215,7 @@ function AD({
19216
19215
  return /* @__PURE__ */ r.jsxs(k, { children: [
19217
19216
  /* @__PURE__ */ r.jsx(y, { grow: !0, noWrap: !0, children: /* @__PURE__ */ r.jsx(g, { name: "regression.name", control: e, render: ({
19218
19217
  field: l
19219
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), sx: {
19218
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), sx: {
19220
19219
  flex: 1
19221
19220
  }, ...l }) }) }),
19222
19221
  /* @__PURE__ */ r.jsx(g, { name: "regression.group_by_key", control: e, render: ({
@@ -19258,7 +19257,7 @@ function RD({
19258
19257
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
19259
19258
  /* @__PURE__ */ r.jsx(g, { name: "x_axis.name", control: e, render: ({
19260
19259
  field: n
19261
- }) => /* @__PURE__ */ r.jsx(E, { label: "X轴名称", sx: {
19260
+ }) => /* @__PURE__ */ r.jsx(L, { label: "X轴名称", sx: {
19262
19261
  flex: 1
19263
19262
  }, ...n }) }),
19264
19263
  /* @__PURE__ */ r.jsx(g, { name: "x_axis.data_key", control: e, render: ({
@@ -19303,7 +19302,7 @@ function $D({
19303
19302
  return t(["y_axis", "regression.y_axis_data_key"]), /* @__PURE__ */ r.jsx(k, { children: /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
19304
19303
  /* @__PURE__ */ r.jsx(g, { name: "y_axis.name", control: e, render: ({
19305
19304
  field: n
19306
- }) => /* @__PURE__ */ r.jsx(E, { label: "Y轴名称", sx: {
19305
+ }) => /* @__PURE__ */ r.jsx(L, { label: "Y轴名称", sx: {
19307
19306
  flex: 1
19308
19307
  }, ...n }) }),
19309
19308
  /* @__PURE__ */ r.jsx(g, { name: "regression.y_axis_data_key", control: e, render: ({
@@ -20127,7 +20126,7 @@ const bM = pe(({
20127
20126
  return /* @__PURE__ */ r.jsxs(k, { children: [
20128
20127
  /* @__PURE__ */ r.jsx(O, { mb: -15, variant: "dashed", label: o("chart.reference_area.content.label"), labelPosition: "right" }),
20129
20128
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
20130
- /* @__PURE__ */ r.jsx(E, { label: o("chart.reference_area.content.content_text"), value: e.content.text, onChange: (d) => c("content.text", d.currentTarget.value) }),
20129
+ /* @__PURE__ */ r.jsx(L, { label: o("chart.reference_area.content.content_text"), value: e.content.text, onChange: (d) => c("content.text", d.currentTarget.value) }),
20131
20130
  /* @__PURE__ */ r.jsx(xi, { label: o("chart.reference_area.content.text_position"), value: e.label.position, onChange: (d) => c("label.position", d) })
20132
20131
  ] }),
20133
20132
  /* @__PURE__ */ r.jsx(O, { mb: -15, variant: "dashed", label: o("chart.reference_area.endpoint.labels"), labelPosition: "right" }),
@@ -20225,7 +20224,7 @@ function vM({
20225
20224
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
20226
20225
  /* @__PURE__ */ r.jsx(g, { name: `reference_lines.${t}.name`, control: e, render: ({
20227
20226
  field: l
20228
- }) => /* @__PURE__ */ r.jsx(E, { label: a("common.name"), placeholder: a("chart.reference_line.name_placeholder"), required: !0, sx: {
20227
+ }) => /* @__PURE__ */ r.jsx(L, { label: a("common.name"), placeholder: a("chart.reference_line.name_placeholder"), required: !0, sx: {
20229
20228
  flex: 1
20230
20229
  }, ...l }) }),
20231
20230
  /* @__PURE__ */ r.jsx(g, { name: `reference_lines.${t}.variable_key`, control: e, render: ({
@@ -20239,7 +20238,7 @@ function vM({
20239
20238
  ] }),
20240
20239
  /* @__PURE__ */ r.jsx(g, { name: `reference_lines.${t}.template`, control: e, render: ({
20241
20240
  field: l
20242
- }) => /* @__PURE__ */ r.jsx(E, { label: a("chart.content_template.label"), placeholder: a("chart.content_template.hint"), sx: {
20241
+ }) => /* @__PURE__ */ r.jsx(L, { label: a("chart.content_template.label"), placeholder: a("chart.content_template.hint"), sx: {
20243
20242
  flex: 1
20244
20243
  }, ...l }) }),
20245
20244
  /* @__PURE__ */ r.jsxs(y, { grow: !0, children: [
@@ -20517,7 +20516,7 @@ const MM = ({
20517
20516
  return /* @__PURE__ */ r.jsx(k, { children: /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
20518
20517
  /* @__PURE__ */ r.jsx(g, { name: `tooltip.metrics.${t}.name`, control: e, render: ({
20519
20518
  field: i
20520
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), required: !0, sx: {
20519
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), required: !0, sx: {
20521
20520
  flex: 1
20522
20521
  }, ...i }) }),
20523
20522
  /* @__PURE__ */ r.jsx(g, { name: `tooltip.metrics.${t}.data_key`, control: e, render: ({
@@ -20599,7 +20598,7 @@ function AM({
20599
20598
  }, ...i }) }),
20600
20599
  /* @__PURE__ */ r.jsx(g, { name: "x_axis.name", control: e, render: ({
20601
20600
  field: i
20602
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), sx: {
20601
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), sx: {
20603
20602
  flex: 1
20604
20603
  }, ...i }) })
20605
20604
  ] }),
@@ -20633,7 +20632,7 @@ function RM({
20633
20632
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
20634
20633
  /* @__PURE__ */ r.jsx(g, { name: `y_axes.${t}.name`, control: e, render: ({
20635
20634
  field: i
20636
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), required: !0, sx: {
20635
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), required: !0, sx: {
20637
20636
  flex: 1
20638
20637
  }, ...i }) }),
20639
20638
  /* @__PURE__ */ r.jsx(g, { name: `y_axes.${t}.nameAlignment`, control: e, render: ({
@@ -20659,10 +20658,10 @@ function RM({
20659
20658
  /* @__PURE__ */ r.jsxs(y, { grow: !0, children: [
20660
20659
  /* @__PURE__ */ r.jsx(g, { name: `y_axes.${t}.min`, control: e, render: ({
20661
20660
  field: i
20662
- }) => /* @__PURE__ */ r.jsx(E, { label: n("chart.y_axis.value_min"), ...i }) }),
20661
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("chart.y_axis.value_min"), ...i }) }),
20663
20662
  /* @__PURE__ */ r.jsx(g, { name: `y_axes.${t}.max`, control: e, render: ({
20664
20663
  field: i
20665
- }) => /* @__PURE__ */ r.jsx(E, { label: n("chart.y_axis.value_max"), ...i }) })
20664
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("chart.y_axis.value_max"), ...i }) })
20666
20665
  ] })
20667
20666
  ] })
20668
20667
  ] });
@@ -21524,10 +21523,10 @@ const TE = ({
21524
21523
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
21525
21524
  /* @__PURE__ */ r.jsx(g, { name: `levels.${t}.r0`, control: e, render: ({
21526
21525
  field: a
21527
- }) => /* @__PURE__ */ r.jsx(E, { label: n("viz.sunburst_chart.level.inside_radius"), placeholder: "0%", ...a }) }),
21526
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("viz.sunburst_chart.level.inside_radius"), placeholder: "0%", ...a }) }),
21528
21527
  /* @__PURE__ */ r.jsx(g, { name: `levels.${t}.r`, control: e, render: ({
21529
21528
  field: a
21530
- }) => /* @__PURE__ */ r.jsx(E, { label: n("viz.sunburst_chart.level.outside_radius"), placeholder: "50%", ...a }) })
21529
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("viz.sunburst_chart.level.outside_radius"), placeholder: "50%", ...a }) })
21531
21530
  ] }),
21532
21531
  /* @__PURE__ */ r.jsx(O, { mb: -10, mt: 10, variant: "dashed", label: n("chart.label.label_full"), labelPosition: "center" }),
21533
21532
  /* @__PURE__ */ r.jsx(g, { name: `levels.${t}.label.show_label_tolerance`, control: e, render: ({
@@ -22116,7 +22115,7 @@ function eL(e) {
22116
22115
  /* @__PURE__ */ r.jsx(Ou, { children: "Use original data columns" }),
22117
22116
  " is enabled, you have to address trigger column by its data field"
22118
22117
  ] }) }),
22119
- /* @__PURE__ */ r.jsx(E, { label: t("viz.table.click_cell.column_data_field"), value: c.toString(), onChange: (u) => d(u.currentTarget.value) })
22118
+ /* @__PURE__ */ r.jsx(L, { label: t("viz.table.click_cell.column_data_field"), value: c.toString(), onChange: (u) => d(u.currentTarget.value) })
22120
22119
  ] }) : /* @__PURE__ */ r.jsx(q, { clearable: !1, data: a, label: t("viz.table.click_cell.choose_a_column"), value: c.toString(), onChange: d });
22121
22120
  }
22122
22121
  function tL(e, t, n) {
@@ -22274,8 +22273,8 @@ function fu({
22274
22273
  getCoreRowModel: Ih(),
22275
22274
  getSortedRowModel: Ly()
22276
22275
  }), {
22277
- rows: L
22278
- } = z.getRowModel(), A = $.useRef(null), P = L.length, X = P > 0, re = X ? n - 22 : n, Me = X ? 22 : 0;
22276
+ rows: E
22277
+ } = z.getRowModel(), A = $.useRef(null), P = E.length, J = P > 0, re = J ? n - 22 : n, Me = J ? 22 : 0;
22279
22278
  return /* @__PURE__ */ r.jsxs("div", { ref: A, style: {
22280
22279
  height: n,
22281
22280
  width: t,
@@ -22300,7 +22299,7 @@ function fu({
22300
22299
  /* @__PURE__ */ r.jsx(FE, { header: B, cx: p }),
22301
22300
  /* @__PURE__ */ r.jsx(ae, { onMouseDown: B.getResizeHandler(), onTouchStart: B.getResizeHandler(), className: `resizer ${B.column.getIsResizing() ? "isResizing" : ""}`, children: /* @__PURE__ */ r.jsx(rb, {}) })
22302
22301
  ] }, B.id)) }, Te.id)) }),
22303
- /* @__PURE__ */ r.jsx(JE, { tableContainerRef: A, rows: L })
22302
+ /* @__PURE__ */ r.jsx(JE, { tableContainerRef: A, rows: E })
22304
22303
  ] })
22305
22304
  ] });
22306
22305
  }
@@ -22362,7 +22361,7 @@ const lL = D(pe(({
22362
22361
  const {
22363
22362
  panel: d
22364
22363
  } = Ot(), u = $.useMemo(() => d.queryOptions(i, a), [i, a]);
22365
- return u.length === 0 ? /* @__PURE__ */ r.jsx(R, { children: /* @__PURE__ */ r.jsx(E, { label: e, required: t, defaultValue: i, readOnly: !0, disabled: !0 }) }) : /* @__PURE__ */ r.jsx(q, { ref: c, label: e, description: n, data: u, value: i, onChange: s, required: t, sx: o, maxDropdownHeight: 500, ...l });
22364
+ return u.length === 0 ? /* @__PURE__ */ r.jsx(R, { children: /* @__PURE__ */ r.jsx(L, { label: e, required: t, defaultValue: i, readOnly: !0, disabled: !0 }) }) : /* @__PURE__ */ r.jsx(q, { ref: c, label: e, description: n, data: u, value: i, onChange: s, required: t, sx: o, maxDropdownHeight: 500, ...l });
22366
22365
  })), cL = [{
22367
22366
  from: 0,
22368
22367
  to: 0
@@ -22470,7 +22469,7 @@ const hL = pe((e, t) => {
22470
22469
  /* @__PURE__ */ r.jsxs(y, { grow: !0, children: [
22471
22470
  /* @__PURE__ */ r.jsx(g, { name: `columns.${t}.label`, control: e, render: ({
22472
22471
  field: o
22473
- }) => /* @__PURE__ */ r.jsx(E, { label: i("chart.label.label"), required: !0, id: `col-label-${t}`, sx: {
22472
+ }) => /* @__PURE__ */ r.jsx(L, { label: i("chart.label.label"), required: !0, id: `col-label-${t}`, sx: {
22474
22473
  flex: 1
22475
22474
  }, ...o }) }),
22476
22475
  /* @__PURE__ */ r.jsx(g, { name: `columns.${t}.value_field`, control: e, render: ({
@@ -22567,7 +22566,7 @@ function gL({
22567
22566
  }
22568
22567
  }, children: /* @__PURE__ */ r.jsx(g, { name: "fontSize", control: e, render: ({
22569
22568
  field: i
22570
- }) => /* @__PURE__ */ r.jsx(E, { label: n("style.font_size.label"), placeholder: n("style.font_size.placeholder"), required: !0, sx: {
22569
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("style.font_size.label"), placeholder: n("style.font_size.placeholder"), required: !0, sx: {
22571
22570
  flex: 1
22572
22571
  }, ...i }) }) }),
22573
22572
  /* @__PURE__ */ r.jsxs(y, { position: "apart", grow: !0, children: [
@@ -23039,7 +23038,7 @@ function LL({
23039
23038
  }) => /* @__PURE__ */ r.jsx(Tl, { ...m }) }),
23040
23039
  /* @__PURE__ */ r.jsx(g, { name: "font_size", control: o, render: ({
23041
23040
  field: m
23042
- }) => /* @__PURE__ */ r.jsx(E, { label: t("style.font_size.label"), placeholder: t("style.font_size.placeholder"), sx: {
23041
+ }) => /* @__PURE__ */ r.jsx(L, { label: t("style.font_size.label"), placeholder: t("style.font_size.placeholder"), sx: {
23043
23042
  flex: 1
23044
23043
  }, ...m }) }),
23045
23044
  /* @__PURE__ */ r.jsx(y, { position: "apart", grow: !0, sx: {
@@ -23234,18 +23233,18 @@ function WL({
23234
23233
  /* @__PURE__ */ r.jsxs(y, { grow: !0, children: [
23235
23234
  /* @__PURE__ */ r.jsx(g, { name: "expertSystemURL", control: s, render: ({
23236
23235
  field: h
23237
- }) => /* @__PURE__ */ r.jsx(E, { label: "Expert System URL", ...h }) }),
23236
+ }) => /* @__PURE__ */ r.jsx(L, { label: "Expert System URL", ...h }) }),
23238
23237
  /* @__PURE__ */ r.jsx(g, { name: "path", control: s, render: ({
23239
23238
  field: h
23240
- }) => /* @__PURE__ */ r.jsx(E, { label: "Path", required: !0, ...h }) })
23239
+ }) => /* @__PURE__ */ r.jsx(L, { label: "Path", required: !0, ...h }) })
23241
23240
  ] }),
23242
23241
  /* @__PURE__ */ r.jsxs(y, { grow: !0, children: [
23243
23242
  /* @__PURE__ */ r.jsx(g, { name: "goal", control: s, render: ({
23244
23243
  field: h
23245
- }) => /* @__PURE__ */ r.jsx(E, { label: "Goal", required: !0, ...h }) }),
23244
+ }) => /* @__PURE__ */ r.jsx(L, { label: "Goal", required: !0, ...h }) }),
23246
23245
  /* @__PURE__ */ r.jsx(g, { name: "question", control: s, render: ({
23247
23246
  field: h
23248
- }) => /* @__PURE__ */ r.jsx(E, { label: "Question", required: !0, ...h }) })
23247
+ }) => /* @__PURE__ */ r.jsx(L, { label: "Question", required: !0, ...h }) })
23249
23248
  ] }),
23250
23249
  /* @__PURE__ */ r.jsx(O, { variant: "dashed", mt: 16, mb: 8 }),
23251
23250
  /* @__PURE__ */ r.jsx(M, { type: "submit", variant: "filled", color: "blue", leftIcon: /* @__PURE__ */ r.jsx(Wn, { size: 20 }), disabled: !u, sx: {
@@ -23621,19 +23620,19 @@ function pA(e) {
23621
23620
  }
23622
23621
  function mA(e, t, n) {
23623
23622
  const i = n.reduce((w, z) => {
23624
- const L = Ln(z, t);
23625
- return w[z.name] = Wt(z, L), w;
23623
+ const E = Ln(z, t);
23624
+ return w[z.name] = Wt(z, E), w;
23626
23625
  }, {}), s = La(e.visualMap, i), {
23627
23626
  min: a,
23628
23627
  max: o
23629
23628
  } = s, l = aA(e), c = W(e.calendar.data_key), d = W(e.heat_block.data_key), u = t[c.queryID].map((w) => {
23630
- const z = C.get(w, c.columnKey), L = C.get(w, d.columnKey), A = hA(w[c.columnKey]), P = {
23631
- value: [z, L, A]
23629
+ const z = C.get(w, c.columnKey), E = C.get(w, d.columnKey), A = hA(w[c.columnKey]), P = {
23630
+ value: [z, E, A]
23632
23631
  }, {
23633
- followVisualMap: X,
23632
+ followVisualMap: J,
23634
23633
  color: re
23635
- } = gc(L, a, o, e.visualMap);
23636
- return X || (P.visualMap = !1, P.itemStyle = {
23634
+ } = gc(E, a, o, e.visualMap);
23635
+ return J || (P.visualMap = !1, P.itemStyle = {
23637
23636
  color: re
23638
23637
  }), P;
23639
23638
  }), {
@@ -23758,7 +23757,7 @@ function _A({
23758
23757
  }, ...i }) }),
23759
23758
  /* @__PURE__ */ r.jsx(g, { name: "heat_block.name", control: e, render: ({
23760
23759
  field: i
23761
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), sx: {
23760
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), sx: {
23762
23761
  flex: 1
23763
23762
  }, ...i }) })
23764
23763
  ] }),
@@ -23778,7 +23777,7 @@ const vA = ({
23778
23777
  return /* @__PURE__ */ r.jsx(k, { children: /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
23779
23778
  /* @__PURE__ */ r.jsx(g, { name: `tooltip.metrics.${t}.name`, control: e, render: ({
23780
23779
  field: i
23781
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), required: !0, sx: {
23780
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), required: !0, sx: {
23782
23781
  flex: 1
23783
23782
  }, ...i }) }),
23784
23783
  /* @__PURE__ */ r.jsx(g, { name: `tooltip.metrics.${t}.data_key`, control: e, render: ({
@@ -24151,15 +24150,15 @@ function OA({
24151
24150
  value_data_key: t,
24152
24151
  valueTypedXAxis: f
24153
24152
  }), z;
24154
- const L = PA({
24153
+ const E = PA({
24155
24154
  group_by_key: a,
24156
24155
  data: b,
24157
24156
  name_data_key: e.data_key,
24158
24157
  value_data_key: t
24159
24158
  });
24160
- return Object.entries(L).map(([A, P]) => {
24161
- const X = ht(z);
24162
- return X.name = A, X.color = void 0, X.data = P, X;
24159
+ return Object.entries(E).map(([A, P]) => {
24160
+ const J = ht(z);
24161
+ return J.name = A, J.color = void 0, J.data = P, J;
24163
24162
  });
24164
24163
  }
24165
24164
  function VA(e, t, n, i, s, a, o) {
@@ -24366,7 +24365,7 @@ function YA({
24366
24365
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
24367
24366
  /* @__PURE__ */ r.jsx(g, { name: `reference_lines.${t}.name`, control: e, render: ({
24368
24367
  field: l
24369
- }) => /* @__PURE__ */ r.jsx(E, { label: a("common.name"), placeholder: a("chart.reference_line.name_placeholder"), required: !0, sx: {
24368
+ }) => /* @__PURE__ */ r.jsx(L, { label: a("common.name"), placeholder: a("chart.reference_line.name_placeholder"), required: !0, sx: {
24370
24369
  flex: 1
24371
24370
  }, ...l }) }),
24372
24371
  /* @__PURE__ */ r.jsx(g, { name: `reference_lines.${t}.variable_key`, control: e, render: ({
@@ -24380,7 +24379,7 @@ function YA({
24380
24379
  ] }),
24381
24380
  /* @__PURE__ */ r.jsx(g, { name: `reference_lines.${t}.template`, control: e, render: ({
24382
24381
  field: l
24383
- }) => /* @__PURE__ */ r.jsx(E, { label: a("chart.content_template.label"), placeholder: a("chart.content_template.hint"), sx: {
24382
+ }) => /* @__PURE__ */ r.jsx(L, { label: a("chart.content_template.label"), placeholder: a("chart.content_template.hint"), sx: {
24384
24383
  flex: 1
24385
24384
  }, ...l }) }),
24386
24385
  /* @__PURE__ */ r.jsxs(y, { grow: !0, children: [
@@ -24472,7 +24471,7 @@ function XA({
24472
24471
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
24473
24472
  /* @__PURE__ */ r.jsx(g, { name: `series.${t}.stack`, control: e, render: ({
24474
24473
  field: l
24475
- }) => /* @__PURE__ */ r.jsx(E, { label: i("chart.series.bar.stack"), placeholder: i("chart.series.bar.stack_hint"), sx: {
24474
+ }) => /* @__PURE__ */ r.jsx(L, { label: i("chart.series.bar.stack"), placeholder: i("chart.series.bar.stack_hint"), sx: {
24476
24475
  flexGrow: 1
24477
24476
  }, ...l }) }),
24478
24477
  /* @__PURE__ */ r.jsx(g, { name: `series.${t}.barGap`, control: e, render: ({
@@ -24487,17 +24486,17 @@ function XA({
24487
24486
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
24488
24487
  /* @__PURE__ */ r.jsx(g, { name: `series.${t}.barMinWidth`, control: e, render: ({
24489
24488
  field: l
24490
- }) => /* @__PURE__ */ r.jsx(E, { label: i("chart.series.bar.bar_width.min"), disabled: a, sx: {
24489
+ }) => /* @__PURE__ */ r.jsx(L, { label: i("chart.series.bar.bar_width.min"), disabled: a, sx: {
24491
24490
  flexGrow: 1
24492
24491
  }, ...l }) }),
24493
24492
  /* @__PURE__ */ r.jsx(g, { name: `series.${t}.barWidth`, control: e, render: ({
24494
24493
  field: l
24495
- }) => /* @__PURE__ */ r.jsx(E, { label: i("chart.series.bar.bar_width.exact"), sx: {
24494
+ }) => /* @__PURE__ */ r.jsx(L, { label: i("chart.series.bar.bar_width.exact"), sx: {
24496
24495
  flexGrow: 1
24497
24496
  }, ...l }) }),
24498
24497
  /* @__PURE__ */ r.jsx(g, { name: `series.${t}.barMaxWidth`, control: e, render: ({
24499
24498
  field: l
24500
- }) => /* @__PURE__ */ r.jsx(E, { label: i("chart.series.bar.bar_width.max"), disabled: a, sx: {
24499
+ }) => /* @__PURE__ */ r.jsx(L, { label: i("chart.series.bar.bar_width.max"), disabled: a, sx: {
24501
24500
  flexGrow: 1
24502
24501
  }, ...l }) })
24503
24502
  ] })
@@ -24518,7 +24517,7 @@ function JA({
24518
24517
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
24519
24518
  /* @__PURE__ */ r.jsx(g, { name: `series.${t}.name`, control: e, render: ({
24520
24519
  field: a
24521
- }) => /* @__PURE__ */ r.jsx(E, { label: s("common.name"), required: !0, sx: {
24520
+ }) => /* @__PURE__ */ r.jsx(L, { label: s("common.name"), required: !0, sx: {
24522
24521
  flex: 1
24523
24522
  }, ...a }) }),
24524
24523
  /* @__PURE__ */ r.jsx(g, { name: `series.${t}.xAxisIndex`, control: e, render: ({
@@ -24618,7 +24617,7 @@ function tR({
24618
24617
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
24619
24618
  /* @__PURE__ */ r.jsx(g, { name: `x_axes.${t}.name`, control: e, render: ({
24620
24619
  field: i
24621
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), required: !0, sx: {
24620
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), required: !0, sx: {
24622
24621
  flex: 1
24623
24622
  }, ...i }) }),
24624
24623
  /* @__PURE__ */ r.jsx(g, { name: `x_axes.${t}.position`, control: e, render: ({
@@ -24638,10 +24637,10 @@ function tR({
24638
24637
  /* @__PURE__ */ r.jsxs(y, { grow: !0, children: [
24639
24638
  /* @__PURE__ */ r.jsx(g, { name: `x_axes.${t}.min`, control: e, render: ({
24640
24639
  field: i
24641
- }) => /* @__PURE__ */ r.jsx(E, { label: n("chart.x_axis.value_min"), ...i }) }),
24640
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("chart.x_axis.value_min"), ...i }) }),
24642
24641
  /* @__PURE__ */ r.jsx(g, { name: `x_axes.${t}.max`, control: e, render: ({
24643
24642
  field: i
24644
- }) => /* @__PURE__ */ r.jsx(E, { label: n("chart.x_axis.value_max"), ...i }) })
24643
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("chart.x_axis.value_max"), ...i }) })
24645
24644
  ] })
24646
24645
  ] }),
24647
24646
  /* @__PURE__ */ r.jsx(O, { mb: -10, mt: 10, variant: "dashed", label: n("chart.x_axis.behavior"), labelPosition: "center" }),
@@ -24676,7 +24675,7 @@ function rR({
24676
24675
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
24677
24676
  /* @__PURE__ */ r.jsx(g, { name: "y_axis.name", control: e, render: ({
24678
24677
  field: i
24679
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), sx: {
24678
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), sx: {
24680
24679
  flex: 1
24681
24680
  }, ...i }) }),
24682
24681
  /* @__PURE__ */ r.jsx(g, { name: "y_axis.data_key", control: e, render: ({
@@ -25534,7 +25533,7 @@ function RR({
25534
25533
  return t(["deviation"]), /* @__PURE__ */ r.jsxs(k, { children: [
25535
25534
  /* @__PURE__ */ r.jsx(y, { grow: !0, noWrap: !0, children: /* @__PURE__ */ r.jsx(g, { name: "deviation.name", control: e, render: ({
25536
25535
  field: n
25537
- }) => /* @__PURE__ */ r.jsx(E, { label: "指标名称", sx: {
25536
+ }) => /* @__PURE__ */ r.jsx(L, { label: "指标名称", sx: {
25538
25537
  flex: 1
25539
25538
  }, ...n }) }) }),
25540
25539
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
@@ -25561,7 +25560,7 @@ const $R = ({
25561
25560
  return /* @__PURE__ */ r.jsx(k, { children: /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
25562
25561
  /* @__PURE__ */ r.jsx(g, { name: `metrics.${t}.name`, control: e, render: ({
25563
25562
  field: i
25564
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), required: !0, sx: {
25563
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), required: !0, sx: {
25565
25564
  flex: 1
25566
25565
  }, ...i }) }),
25567
25566
  /* @__PURE__ */ r.jsx(g, { name: `metrics.${t}.data_key`, control: e, render: ({
@@ -25612,7 +25611,7 @@ function OR({
25612
25611
  }, ...n }) }),
25613
25612
  /* @__PURE__ */ r.jsx(g, { name: "x_axis.name", control: e, render: ({
25614
25613
  field: n
25615
- }) => /* @__PURE__ */ r.jsx(E, { label: "X轴名称", sx: {
25614
+ }) => /* @__PURE__ */ r.jsx(L, { label: "X轴名称", sx: {
25616
25615
  flex: 1
25617
25616
  }, ...n }) })
25618
25617
  ] }),
@@ -25867,7 +25866,7 @@ const vu = ({
25867
25866
  }], [s.language]);
25868
25867
  return /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
25869
25868
  /* @__PURE__ */ r.jsx(q, { label: i("viz.merico_stats.metric.postfix_type.label"), data: d, value: e.type, onChange: l }),
25870
- e.type === "text" && /* @__PURE__ */ r.jsx(E, { label: i("viz.merico_stats.metric.postfix_content"), value: e.value, onChange: (u) => {
25869
+ e.type === "text" && /* @__PURE__ */ r.jsx(L, { label: i("viz.merico_stats.metric.postfix_content"), value: e.value, onChange: (u) => {
25871
25870
  c(u.currentTarget.value);
25872
25871
  } }),
25873
25872
  e.type === "filter-option-label" && /* @__PURE__ */ r.jsx(q, { label: i("viz.merico_stats.metric.postfix_filter"), value: e.value, onChange: c, data: o })
@@ -25889,7 +25888,7 @@ function KR({
25889
25888
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
25890
25889
  /* @__PURE__ */ r.jsx(g, { name: `metrics.${t}.names.value`, control: e, render: ({
25891
25890
  field: a
25892
- }) => /* @__PURE__ */ r.jsx(E, { label: s("viz.merico_stats.metric.metric_name"), required: !0, sx: {
25891
+ }) => /* @__PURE__ */ r.jsx(L, { label: s("viz.merico_stats.metric.metric_name"), required: !0, sx: {
25893
25892
  flex: 1
25894
25893
  }, ...a }) }),
25895
25894
  /* @__PURE__ */ r.jsx(g, { name: `metrics.${t}.data_keys.value`, control: e, render: ({
@@ -25904,7 +25903,7 @@ function KR({
25904
25903
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
25905
25904
  /* @__PURE__ */ r.jsx(g, { name: `metrics.${t}.names.basis`, control: e, render: ({
25906
25905
  field: a
25907
- }) => /* @__PURE__ */ r.jsx(E, { label: s("viz.merico_stats.metric.basis_name"), required: !0, sx: {
25906
+ }) => /* @__PURE__ */ r.jsx(L, { label: s("viz.merico_stats.metric.basis_name"), required: !0, sx: {
25908
25907
  flex: 1
25909
25908
  }, ...a }) }),
25910
25909
  /* @__PURE__ */ r.jsx(g, { name: `metrics.${t}.data_keys.basis`, control: e, render: ({
@@ -26150,7 +26149,7 @@ function a$({
26150
26149
  }, ...s }) }),
26151
26150
  /* @__PURE__ */ r.jsx(g, { name: "heat_block.name", control: e, render: ({
26152
26151
  field: s
26153
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), sx: {
26152
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), sx: {
26154
26153
  flex: 1
26155
26154
  }, ...s }) })
26156
26155
  ] }),
@@ -26184,7 +26183,7 @@ const o$ = ({
26184
26183
  return /* @__PURE__ */ r.jsx(k, { children: /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
26185
26184
  /* @__PURE__ */ r.jsx(g, { name: `tooltip.metrics.${t}.name`, control: e, render: ({
26186
26185
  field: i
26187
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), required: !0, sx: {
26186
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), required: !0, sx: {
26188
26187
  flex: 1
26189
26188
  }, ...i }) }),
26190
26189
  /* @__PURE__ */ r.jsx(g, { name: `tooltip.metrics.${t}.data_key`, control: e, render: ({
@@ -26244,7 +26243,7 @@ function d$({
26244
26243
  }, ...i }) }),
26245
26244
  /* @__PURE__ */ r.jsx(g, { name: "x_axis.name", control: e, render: ({
26246
26245
  field: i
26247
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), sx: {
26246
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), sx: {
26248
26247
  flex: 1
26249
26248
  }, ...i }) })
26250
26249
  ] }),
@@ -26282,7 +26281,7 @@ function u$({
26282
26281
  }, ...i }) }),
26283
26282
  /* @__PURE__ */ r.jsx(g, { name: "y_axis.name", control: e, render: ({
26284
26283
  field: i
26285
- }) => /* @__PURE__ */ r.jsx(E, { label: n("common.name"), required: !0, sx: {
26284
+ }) => /* @__PURE__ */ r.jsx(L, { label: n("common.name"), required: !0, sx: {
26286
26285
  flex: 1
26287
26286
  }, ...i }) })
26288
26287
  ] }),
@@ -26591,23 +26590,22 @@ function j$(e, t, n) {
26591
26590
  z: 3
26592
26591
  });
26593
26592
  }
26594
- function w$(e, t, n) {
26593
+ function w$(e, t) {
26595
26594
  const {
26596
- nameAlignment: i,
26597
- data_key: s,
26598
- ...a
26595
+ nameAlignment: n,
26596
+ data_key: i,
26597
+ ...s
26599
26598
  } = e.y_axis, {
26600
- overflow: o,
26601
- rotate: l
26602
- } = e.y_axis.axisLabel, c = tn(o.on_axis);
26599
+ overflow: a,
26600
+ rotate: o
26601
+ } = e.y_axis.axisLabel, l = tn(a.on_axis);
26603
26602
  return De.getYAxis({
26604
- ...a,
26603
+ ...s,
26605
26604
  type: "category",
26606
- data: t,
26607
26605
  axisLabel: {
26608
- rotate: l,
26609
- ...c,
26610
- formatter: n
26606
+ rotate: o,
26607
+ ...l,
26608
+ formatter: t
26611
26609
  },
26612
26610
  axisLine: {
26613
26611
  show: !0,
@@ -26630,7 +26628,7 @@ function w$(e, t, n) {
26630
26628
  },
26631
26629
  nameTextStyle: {
26632
26630
  fontWeight: "bold",
26633
- align: i
26631
+ align: n
26634
26632
  },
26635
26633
  nameLocation: "end",
26636
26634
  nameGap: 15,
@@ -26640,27 +26638,27 @@ function w$(e, t, n) {
26640
26638
  function S$(e, t, n) {
26641
26639
  if (!e.x_axis.data_key || !e.y_axis.data_key || !e.heat_block.data_key)
26642
26640
  return {};
26643
- const i = n.reduce((I, w) => {
26644
- const z = Ln(w, t);
26645
- return I[w.name] = Wt(w, z), I;
26641
+ const i = n.reduce((b, I) => {
26642
+ const w = Ln(I, t);
26643
+ return b[I.name] = Wt(I, w), b;
26646
26644
  }, {}), s = f$(e), a = x$(e), o = La(e.visualMap, i), {
26647
26645
  min: l,
26648
26646
  max: c
26649
- } = o, d = W(e.x_axis.data_key), u = W(e.y_axis.data_key), h = W(e.heat_block.data_key), p = C.uniq(t[d.queryID].map((I) => I[d.columnKey])), m = C.uniq(t[d.queryID].map((I) => I[u.columnKey])), f = t[d.queryID].map((I) => {
26650
- const w = C.get(I, d.columnKey), z = C.get(I, u.columnKey), L = C.get(I, h.columnKey), A = {
26651
- value: [w, z, L]
26647
+ } = o, d = W(e.x_axis.data_key), u = W(e.y_axis.data_key), h = W(e.heat_block.data_key), p = C.uniq(t[d.queryID].map((b) => b[d.columnKey])), m = t[d.queryID].map((b) => {
26648
+ const I = C.get(b, d.columnKey), w = C.get(b, u.columnKey), z = C.get(b, h.columnKey), E = {
26649
+ value: [I, w, z]
26652
26650
  }, {
26653
- followVisualMap: P,
26654
- color: X
26655
- } = gc(L, l, c, e.visualMap);
26656
- return P || (A.visualMap = !1, A.itemStyle = {
26657
- color: X
26658
- }), A;
26651
+ followVisualMap: A,
26652
+ color: P
26653
+ } = gc(z, l, c, e.visualMap);
26654
+ return A || (E.visualMap = !1, E.itemStyle = {
26655
+ color: P
26656
+ }), E;
26659
26657
  });
26660
26658
  return {
26661
26659
  xAxis: j$(e, p, s.x_axis),
26662
- yAxis: w$(e, m, s.y_axis),
26663
- series: b$(e, f),
26660
+ yAxis: w$(e, s.y_axis),
26661
+ series: b$(e, m),
26664
26662
  tooltip: v$(e, t, s, a),
26665
26663
  grid: g$(e),
26666
26664
  visualMap: o
@@ -27182,7 +27180,7 @@ const F$ = ({
27182
27180
  /* @__PURE__ */ r.jsxs(y, { position: "left", grow: !0, noWrap: !0, spacing: 0, w: "288px", sx: {
27183
27181
  marginTop: "3px"
27184
27182
  }, children: [
27185
- /* @__PURE__ */ r.jsx(Kt.Target, { children: /* @__PURE__ */ r.jsx(E, { label: e, labelProps: {
27183
+ /* @__PURE__ */ r.jsx(Kt.Target, { children: /* @__PURE__ */ r.jsx(L, { label: e, labelProps: {
27186
27184
  title: e
27187
27185
  }, required: t, icon: /* @__PURE__ */ r.jsx(ib, { size: 16 }), placeholder: l("filter.widget.date_range.start_date"), readOnly: !0, value: m, onFocus: d, styles: ju(c), sx: {
27188
27186
  ".mantine-TextInput-label": {
@@ -27199,7 +27197,7 @@ const F$ = ({
27199
27197
  borderBottomRightRadius: 0
27200
27198
  }
27201
27199
  } }) }),
27202
- /* @__PURE__ */ r.jsx(E, { label: /* @__PURE__ */ r.jsx(y, { position: "right", children: /* @__PURE__ */ r.jsx(O$, { begin: h, end: p }) }), icon: /* @__PURE__ */ r.jsx(sb, { size: 16 }), placeholder: l("filter.widget.date_range.end_date"), readOnly: !0, disabled: !h, value: f, onFocus: d, styles: ju(c), sx: {
27200
+ /* @__PURE__ */ r.jsx(L, { label: /* @__PURE__ */ r.jsx(y, { position: "right", children: /* @__PURE__ */ r.jsx(O$, { begin: h, end: p }) }), icon: /* @__PURE__ */ r.jsx(sb, { size: 16 }), placeholder: l("filter.widget.date_range.end_date"), readOnly: !0, disabled: !h, value: f, onFocus: d, styles: ju(c), sx: {
27203
27201
  ".mantine-Input-icon": {
27204
27202
  transform: "translateX(-22px)"
27205
27203
  },
@@ -27450,17 +27448,17 @@ const F$ = ({
27450
27448
  classNames: t,
27451
27449
  styles: n,
27452
27450
  unstyled: i
27453
- }), [b, I] = Z(!1), w = (X) => {
27454
- I(X);
27455
- }, z = b && (l == null ? void 0 : l.length) > 0, [L, A] = Z(""), P = T(() => {
27456
- if (!L)
27451
+ }), [b, I] = Z(!1), w = (J) => {
27452
+ I(J);
27453
+ }, z = b && (l == null ? void 0 : l.length) > 0, [E, A] = Z(""), P = T(() => {
27454
+ if (!E)
27457
27455
  return d;
27458
- const X = L.toLowerCase(), re = (Me) => {
27456
+ const J = E.toLowerCase(), re = (Me) => {
27459
27457
  var Te;
27460
- return ((Te = Me.description) == null ? void 0 : Te.toLowerCase().includes(X)) || Me.label.toLowerCase().includes(X);
27458
+ return ((Te = Me.description) == null ? void 0 : Te.toLowerCase().includes(J)) || Me.label.toLowerCase().includes(J);
27461
27459
  };
27462
27460
  return d.filter(re);
27463
- }, [L, d]);
27461
+ }, [E, d]);
27464
27462
  return /* @__PURE__ */ r.jsxs(k, { spacing: 3, children: [
27465
27463
  /* @__PURE__ */ r.jsxs(y, { position: "apart", children: [
27466
27464
  /* @__PURE__ */ r.jsxs(S, { className: m.label, children: [
@@ -27471,12 +27469,12 @@ const F$ = ({
27471
27469
  count: l.length
27472
27470
  }), children: /* @__PURE__ */ r.jsx(ar, { children: l.length }) })
27473
27471
  ] }),
27474
- /* @__PURE__ */ r.jsx(Ry, { disabled: e, allowClear: !0, className: f(m.root, "check-select"), dropdownClassName: f(m.dropdown, ""), onDropdownVisibleChange: w, transitionName: "rc-select-dropdown-slide-up", choiceTransitionName: "rc-select-selection__choice-zoom", style: a, clearIcon: () => /* @__PURE__ */ r.jsx(zr, {}), value: l, onChange: c, onSelect: console.log, mode: "multiple", maxTagCount: 0, notFoundContent: /* @__PURE__ */ r.jsx(Rc, { errorMessage: u }), maxTagTextLength: 10, maxTagPlaceholder: (X) => p("filter.widget.common.x_selected", {
27475
- count: X.length
27476
- }), searchValue: L, onSearch: A, filterOption: !1, children: P.map((X) => /* @__PURE__ */ r.jsxs($y, { title: X.label, children: [
27477
- /* @__PURE__ */ r.jsx(S, { size: "sm", "data-role": "label", children: X.label }),
27478
- X.description && /* @__PURE__ */ r.jsx(S, { size: "xs", color: "dimmed", "data-role": "description", children: X.description })
27479
- ] }, X.value)) })
27472
+ /* @__PURE__ */ r.jsx(Ry, { disabled: e, allowClear: !0, className: f(m.root, "check-select"), dropdownClassName: f(m.dropdown, ""), onDropdownVisibleChange: w, transitionName: "rc-select-dropdown-slide-up", choiceTransitionName: "rc-select-selection__choice-zoom", style: a, clearIcon: () => /* @__PURE__ */ r.jsx(zr, {}), value: l, onChange: c, onSelect: console.log, mode: "multiple", maxTagCount: 0, notFoundContent: /* @__PURE__ */ r.jsx(Rc, { errorMessage: u }), maxTagTextLength: 10, maxTagPlaceholder: (J) => p("filter.widget.common.x_selected", {
27473
+ count: J.length
27474
+ }), searchValue: E, onSearch: A, filterOption: !1, children: P.map((J) => /* @__PURE__ */ r.jsxs($y, { title: J.label, children: [
27475
+ /* @__PURE__ */ r.jsx(S, { size: "sm", "data-role": "label", children: J.label }),
27476
+ J.description && /* @__PURE__ */ r.jsx(S, { size: "xs", color: "dimmed", "data-role": "description", children: J.description })
27477
+ ] }, J.value)) })
27480
27478
  ] });
27481
27479
  }, W$ = D(({
27482
27480
  label: e,
@@ -27551,7 +27549,7 @@ function Q$({
27551
27549
  value: n,
27552
27550
  onChange: i
27553
27551
  }) {
27554
- return /* @__PURE__ */ r.jsx(E, { label: e, value: n || "", onChange: (s) => i(s.currentTarget.value), ...t, styles: {
27552
+ return /* @__PURE__ */ r.jsx(L, { label: e, value: n || "", onChange: (s) => i(s.currentTarget.value), ...t, styles: {
27555
27553
  input: {
27556
27554
  borderColor: "#e9ecef"
27557
27555
  }
@@ -27854,14 +27852,14 @@ const U$ = ({
27854
27852
  unstyled: i
27855
27853
  }), [I, w] = Z(!1), z = (A) => {
27856
27854
  w(A);
27857
- }, L = I && (l == null ? void 0 : l.length) > 0;
27855
+ }, E = I && (l == null ? void 0 : l.length) > 0;
27858
27856
  return /* @__PURE__ */ r.jsxs(k, { spacing: 3, children: [
27859
27857
  /* @__PURE__ */ r.jsxs(y, { position: "apart", children: [
27860
27858
  /* @__PURE__ */ r.jsxs(S, { className: f.label, children: [
27861
27859
  o,
27862
27860
  h && /* @__PURE__ */ r.jsx("span", { className: f.required, "aria-hidden": "true", children: "*" })
27863
27861
  ] }),
27864
- L && /* @__PURE__ */ r.jsx(we, { label: m("filter.widget.common.x_selected", {
27862
+ E && /* @__PURE__ */ r.jsx(we, { label: m("filter.widget.common.x_selected", {
27865
27863
  count: l.length
27866
27864
  }), children: /* @__PURE__ */ r.jsx(ar, { children: l.length }) })
27867
27865
  ] }),
@@ -29124,9 +29122,9 @@ const ix = x.compose("FilterTreeSelectConfigMeta", x.model({
29124
29122
  e.default_value_func = t;
29125
29123
  }
29126
29124
  }));
29127
- var J = /* @__PURE__ */ ((e) => (e.Division = "div", e.Modal = "modal", e.Tabs = "tabs", e))(J || {});
29125
+ var X = /* @__PURE__ */ ((e) => (e.Division = "div", e.Modal = "modal", e.Tabs = "tabs", e))(X || {});
29128
29126
  const ax = x.model("ViewDivisionConfig", {
29129
- _name: x.literal(J.Division)
29127
+ _name: x.literal(X.Division)
29130
29128
  }).views((e) => ({
29131
29129
  get json() {
29132
29130
  const {
@@ -29137,7 +29135,7 @@ const ax = x.model("ViewDivisionConfig", {
29137
29135
  };
29138
29136
  }
29139
29137
  })), CP = () => ax.create({
29140
- _name: J.Division
29138
+ _name: X.Division
29141
29139
  }), IP = x.model("CustomModalTitleModel", {
29142
29140
  enabled: x.optional(x.boolean, !1),
29143
29141
  func_content: x.optional(x.string, "")
@@ -29187,7 +29185,7 @@ const ax = x.model("ViewDivisionConfig", {
29187
29185
  func_content: ["function text({ filters, context}) {", " // your code goes here", ' return "text"', "}"].join(`
29188
29186
  `)
29189
29187
  }, ox = x.model("ViewModalConfig", {
29190
- _name: x.literal(J.Modal),
29188
+ _name: x.literal(X.Modal),
29191
29189
  width: x.string,
29192
29190
  height: x.string,
29193
29191
  custom_modal_title: x.optional(IP, Ko)
@@ -29214,7 +29212,7 @@ const ax = x.model("ViewDivisionConfig", {
29214
29212
  e.height = t;
29215
29213
  }
29216
29214
  })), TP = () => ox.create({
29217
- _name: J.Modal,
29215
+ _name: X.Modal,
29218
29216
  width: "90vw",
29219
29217
  height: "90vh"
29220
29218
  }), zP = x.model("ViewTabsTabModel", {
@@ -29254,7 +29252,7 @@ const ax = x.model("ViewDivisionConfig", {
29254
29252
  e.order = t;
29255
29253
  }
29256
29254
  })), lx = x.model("ViewTabsConfig", {
29257
- _name: x.literal(J.Modal),
29255
+ _name: x.literal(X.Modal),
29258
29256
  tabs: x.optional(x.array(zP), []),
29259
29257
  variant: x.optional(x.enumeration("variant", ["default", "outline", "pills"]), "default"),
29260
29258
  orientation: x.optional(x.enumeration("orientation", ["horizontal", "vertical"]), "horizontal"),
@@ -29304,12 +29302,12 @@ const ax = x.model("ViewDivisionConfig", {
29304
29302
  e.tabs.splice(t, 1);
29305
29303
  }
29306
29304
  })), DP = () => lx.create({
29307
- _name: J.Modal,
29305
+ _name: X.Modal,
29308
29306
  tabs: []
29309
29307
  }), MP = x.model({
29310
29308
  id: x.identifier,
29311
29309
  name: x.string,
29312
- type: x.enumeration("EViewComponentType", [J.Division, J.Modal, J.Tabs]),
29310
+ type: x.enumeration("EViewComponentType", [X.Division, X.Modal, X.Tabs]),
29313
29311
  config: x.union(ax, ox, lx),
29314
29312
  panelIDs: x.optional(x.array(x.string), [])
29315
29313
  }).views((e) => ({
@@ -29335,13 +29333,13 @@ const ax = x.model("ViewDivisionConfig", {
29335
29333
  setType(t) {
29336
29334
  if (e.type !== t) {
29337
29335
  switch (t) {
29338
- case J.Division:
29336
+ case X.Division:
29339
29337
  e.config = CP();
29340
29338
  break;
29341
- case J.Modal:
29339
+ case X.Modal:
29342
29340
  e.config = TP();
29343
29341
  break;
29344
- case J.Tabs:
29342
+ case X.Tabs:
29345
29343
  e.config = DP();
29346
29344
  break;
29347
29345
  }
@@ -29367,7 +29365,7 @@ const ax = x.model("ViewDivisionConfig", {
29367
29365
  views: [{
29368
29366
  id: "Main",
29369
29367
  name: "Main",
29370
- type: J.Division,
29368
+ type: X.Division,
29371
29369
  config: {},
29372
29370
  panelIDs: []
29373
29371
  }],
@@ -29466,7 +29464,7 @@ const hx = x.compose("ViewRenderModel", MP, x.model({
29466
29464
  } : null;
29467
29465
  },
29468
29466
  get tabView() {
29469
- return e.type !== J.Tabs ? null : this.tabs.find((t) => t.id === e.tab);
29467
+ return e.type !== X.Tabs ? null : this.tabs.find((t) => t.id === e.tab);
29470
29468
  },
29471
29469
  get tabViewID() {
29472
29470
  return this.tabView ? this.tabView.view_id ?? "" : "";
@@ -29475,14 +29473,14 @@ const hx = x.compose("ViewRenderModel", MP, x.model({
29475
29473
  return vt(e, 3);
29476
29474
  },
29477
29475
  get panels() {
29478
- if (e.type !== J.Tabs)
29476
+ if (e.type !== X.Tabs)
29479
29477
  return this.contentModel.panels.panelsByIDs(e.panelIDs);
29480
29478
  const t = this.tabViewID, n = this.contentModel.views.findByID(t);
29481
29479
  return (n == null ? void 0 : n.panels) ?? [];
29482
29480
  },
29483
29481
  get renderViewIDs() {
29484
29482
  const t = [e.id];
29485
- return e.type === J.Tabs && t.push(this.tabViewID), t;
29483
+ return e.type === X.Tabs && t.push(this.tabViewID), t;
29486
29484
  },
29487
29485
  async downloadScreenshot(t) {
29488
29486
  const n = t.offsetWidth * 2 + 10, i = t.offsetHeight * 2 + 10, s = new Eh(), a = (/* @__PURE__ */ new Date()).getTime(), o = await Mh.toBlob(t, {
@@ -29542,7 +29540,7 @@ const hx = x.compose("ViewRenderModel", MP, x.model({
29542
29540
  }) => t.has(n));
29543
29541
  },
29544
29542
  get firstVisibleTabsView() {
29545
- return this.visibleViews.find((t) => t.type === J.Tabs);
29543
+ return this.visibleViews.find((t) => t.type === X.Tabs);
29546
29544
  },
29547
29545
  get firstVisibleTabsViewActiveTab() {
29548
29546
  const t = this.firstVisibleTabsView;
@@ -29576,7 +29574,7 @@ function AP(e, t) {
29576
29574
  },
29577
29575
  panelIDs: s.panelIDs
29578
29576
  };
29579
- if (s.type === J.Tabs) {
29577
+ if (s.type === X.Tabs) {
29580
29578
  const l = C.minBy(s.config.tabs, (c) => c.order);
29581
29579
  o.tab = (l == null ? void 0 : l.id) ?? "";
29582
29580
  }
@@ -30514,7 +30512,7 @@ const WP = (e) => new BP(e), GP = D(() => {
30514
30512
  zIndex: 320
30515
30513
  }), f = $.useCallback(() => {
30516
30514
  d(c);
30517
- }, [c, d]), b = !u && e.type !== J.Modal;
30515
+ }, [c, d]), b = !u && e.type !== X.Modal;
30518
30516
  return /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsx(R, { sx: {
30519
30517
  position: "absolute",
30520
30518
  top: 0,
@@ -30835,7 +30833,7 @@ const oO = D(({
30835
30833
  inFullScreen: l
30836
30834
  } = $.useContext(Va), c = $.useCallback(() => {
30837
30835
  o(a);
30838
- }, [a, o]), d = !l && e.type !== J.Modal;
30836
+ }, [a, o]), d = !l && e.type !== X.Modal;
30839
30837
  return aO(i.viz.type) ? /* @__PURE__ */ r.jsx(R, { sx: {
30840
30838
  position: "absolute",
30841
30839
  top: 0,
@@ -31087,11 +31085,11 @@ const bO = D(({
31087
31085
  children: t
31088
31086
  }) => {
31089
31087
  switch (e.type) {
31090
- case J.Modal:
31088
+ case X.Modal:
31091
31089
  return /* @__PURE__ */ r.jsx(yO, { view: e, children: t });
31092
- case J.Tabs:
31090
+ case X.Tabs:
31093
31091
  return /* @__PURE__ */ r.jsx(vO, { view: e });
31094
- case J.Division:
31092
+ case X.Division:
31095
31093
  default:
31096
31094
  return /* @__PURE__ */ r.jsx(Ax, { view: e, children: t });
31097
31095
  }
@@ -31220,7 +31218,7 @@ const SO = D(({
31220
31218
  }) => {
31221
31219
  const {
31222
31220
  t
31223
- } = _(), n = Mn(), i = be(), s = T(() => i.views.options.filter((c) => c.type === J.Division), [e.id, i.views.options]), a = e.config, o = (c) => n.openConfirmModal({
31221
+ } = _(), n = Mn(), i = be(), s = T(() => i.views.options.filter((c) => c.type === X.Division), [e.id, i.views.options]), a = e.config, o = (c) => n.openConfirmModal({
31224
31222
  title: `${t("view.component.tabs.tab.delete")}?`,
31225
31223
  labels: {
31226
31224
  confirm: t("common.actions.confirm"),
@@ -31259,7 +31257,7 @@ const SO = D(({
31259
31257
  position: "relative",
31260
31258
  zIndex: 200
31261
31259
  }, children: [
31262
- /* @__PURE__ */ r.jsx(E, { label: t("view.component.tabs.tab.name"), required: !0, value: c.name, onChange: (h) => c.setName(h.currentTarget.value) }),
31260
+ /* @__PURE__ */ r.jsx(L, { label: t("view.component.tabs.tab.name"), required: !0, value: c.name, onChange: (h) => c.setName(h.currentTarget.value) }),
31263
31261
  /* @__PURE__ */ r.jsx(q, { label: "View", value: c.view_id, onChange: c.setViewID, data: s }),
31264
31262
  /* @__PURE__ */ r.jsx(he, { label: t("view.component.tabs.tab.order"), required: !0, value: c.order, onChange: (h) => c.setOrder(h || 0), min: 0, max: 1e3, step: 1 }),
31265
31263
  /* @__PURE__ */ r.jsx(lr, { label: t("view.component.tabs.tab.color"), value: c.color, onChange: c.setColor, disabled: a.variant !== "default" }),
@@ -31281,11 +31279,11 @@ const SO = D(({
31281
31279
  children: t
31282
31280
  }) => {
31283
31281
  switch (e.type) {
31284
- case J.Modal:
31282
+ case X.Modal:
31285
31283
  return /* @__PURE__ */ r.jsx(SO, { view: e, children: t });
31286
- case J.Tabs:
31284
+ case X.Tabs:
31287
31285
  return /* @__PURE__ */ r.jsx(IO, { view: e });
31288
- case J.Division:
31286
+ case X.Division:
31289
31287
  default:
31290
31288
  return /* @__PURE__ */ r.jsx(wO, { view: e, children: t });
31291
31289
  }
@@ -31323,7 +31321,7 @@ const SO = D(({
31323
31321
  viewPanelInFullScreen: s,
31324
31322
  inFullScreen: o
31325
31323
  }, children: /* @__PURE__ */ r.jsxs(R, { className: "dashboard-view", "data-enable-scrollbar": !0, sx: {
31326
- height: t.type === J.Modal ? "0 !important" : "100%"
31324
+ height: t.type === X.Modal ? "0 !important" : "100%"
31327
31325
  }, children: [
31328
31326
  o && /* @__PURE__ */ r.jsx(dO, { view: t, panel: l, exitFullScreen: a }),
31329
31327
  /* @__PURE__ */ r.jsx(jO, { view: t, children: /* @__PURE__ */ r.jsxs(R, { sx: {
@@ -31339,17 +31337,17 @@ const SO = D(({
31339
31337
  });
31340
31338
  var DO = /* @__PURE__ */ ((e) => (e.Use = "use", e.Edit = "edit", e))(DO || {});
31341
31339
  const S3 = {
31342
- [J.Division]: "Division",
31343
- [J.Tabs]: "Tabs",
31344
- [J.Modal]: "Modal"
31340
+ [X.Division]: "Division",
31341
+ [X.Tabs]: "Tabs",
31342
+ [X.Modal]: "Modal"
31345
31343
  }, MO = {
31346
- [J.Division]: "rgba(255, 0, 0, 0.2)",
31347
- [J.Modal]: "rgba(0, 0, 0, 0.2)",
31348
- [J.Tabs]: "rgba(255, 200, 100, 0.4)"
31344
+ [X.Division]: "rgba(255, 0, 0, 0.2)",
31345
+ [X.Modal]: "rgba(0, 0, 0, 0.2)",
31346
+ [X.Tabs]: "rgba(255, 200, 100, 0.4)"
31349
31347
  }, k3 = {
31350
- [J.Division]: "#ff4000",
31351
- [J.Modal]: "#000",
31352
- [J.Tabs]: "#ffad18"
31348
+ [X.Division]: "#ff4000",
31349
+ [X.Modal]: "#000",
31350
+ [X.Tabs]: "#ffad18"
31353
31351
  };
31354
31352
  function EO(e, t, n) {
31355
31353
  Xt(e, Fy(e, (i, s) => {
@@ -32181,7 +32179,7 @@ const WO = x.model("EditorModel", {
32181
32179
  };
32182
32180
  },
32183
32181
  downloadSchema() {
32184
- if (e.type === J.Tabs) {
32182
+ if (e.type === X.Tabs) {
32185
32183
  console.error(new Error("Please choose a tab first"));
32186
32184
  return;
32187
32185
  }
@@ -32254,8 +32252,8 @@ const WO = x.model("EditorModel", {
32254
32252
  },
32255
32253
  addARandomNewView() {
32256
32254
  const t = (/* @__PURE__ */ new Date()).getTime().toString();
32257
- this.addANewView(t, J.Division, J.Division, {
32258
- _name: J.Division
32255
+ this.addANewView(t, X.Division, X.Division, {
32256
+ _name: X.Division
32259
32257
  }), this.setIDOfVIE(t);
32260
32258
  },
32261
32259
  removeVIE() {
@@ -34813,7 +34811,7 @@ const n2 = D(({
34813
34811
  var s;
34814
34812
  const {
34815
34813
  t: e
34816
- } = _(), t = be(), n = ((s = t.views.VIE) == null ? void 0 : s.type) === J.Tabs, i = () => t.addANewPanel(t.views.idOfVIE);
34814
+ } = _(), t = be(), n = ((s = t.views.VIE) == null ? void 0 : s.type) === X.Tabs, i = () => t.addANewPanel(t.views.idOfVIE);
34817
34815
  return n ? /* @__PURE__ */ r.jsx(we, { label: e("common.choose_a_tab_first"), children: /* @__PURE__ */ r.jsx(M, { variant: "outline", color: "gray", radius: 0, size: "xs", leftIcon: /* @__PURE__ */ r.jsx(go, { size: 20 }), sx: {
34818
34816
  ...Cu,
34819
34817
  transform: "none !important"
@@ -34824,7 +34822,7 @@ const n2 = D(({
34824
34822
  }), s2 = D(({
34825
34823
  done: e
34826
34824
  }) => {
34827
- var P, X;
34825
+ var P, J;
34828
34826
  const {
34829
34827
  t
34830
34828
  } = _(), i = be().layouts, s = T(() => ({
@@ -34867,12 +34865,12 @@ const n2 = D(({
34867
34865
  }) => {
34868
34866
  const Me = re.filter((Te) => Number.isFinite(Te.breakpoint));
34869
34867
  i.updateLayoutSetsInfo(Me), e();
34870
- }, z = c(), L = T(() => {
34868
+ }, z = c(), E = T(() => {
34871
34869
  const re = {
34872
34870
  list: z.list.filter((Me) => !!Me.name && Number.isFinite(Me.breakpoint))
34873
34871
  };
34874
34872
  return !Le(re, s);
34875
- }, [z, s]), A = (X = (P = u.errors.list) == null ? void 0 : P.root) == null ? void 0 : X.message;
34873
+ }, [z, s]), A = (J = (P = u.errors.list) == null ? void 0 : P.root) == null ? void 0 : J.message;
34876
34874
  return /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("form", { onSubmit: o(w), children: [
34877
34875
  /* @__PURE__ */ r.jsxs(it, { fontSize: "sm", highlightOnHover: !0, withBorder: !0, sx: {
34878
34876
  tableLayout: "fixed"
@@ -34890,7 +34888,7 @@ const n2 = D(({
34890
34888
  b.map((re, Me) => /* @__PURE__ */ r.jsxs("tr", { children: [
34891
34889
  /* @__PURE__ */ r.jsx("th", { children: re.id === "basis" ? re.name : /* @__PURE__ */ r.jsx(g, { name: `list.${Me}.name`, control: a, render: ({
34892
34890
  field: Te
34893
- }) => /* @__PURE__ */ r.jsx(E, { size: "xs", label: "", required: !0, sx: {
34891
+ }) => /* @__PURE__ */ r.jsx(L, { size: "xs", label: "", required: !0, sx: {
34894
34892
  flex: 1
34895
34893
  }, ...Te }) }) }),
34896
34894
  /* @__PURE__ */ r.jsx("td", { children: re.id === "basis" ? /* @__PURE__ */ r.jsxs(S, { ff: "monospace", children: [
@@ -34923,8 +34921,8 @@ const n2 = D(({
34923
34921
  ] }),
34924
34922
  /* @__PURE__ */ r.jsx(S, { mt: 6, ta: "right", size: "xs", color: "red", children: A ?? " " }),
34925
34923
  /* @__PURE__ */ r.jsxs(y, { mt: 6, position: "apart", children: [
34926
- /* @__PURE__ */ r.jsx(M, { color: "orange", size: "xs", onClick: () => d(), leftIcon: /* @__PURE__ */ r.jsx(Ui, { size: 18 }), disabled: !L, children: t("common.actions.revert") }),
34927
- /* @__PURE__ */ r.jsx(M, { color: "green", size: "xs", type: "submit", leftIcon: /* @__PURE__ */ r.jsx(at, { size: 18 }), disabled: !L, children: t("common.actions.save_changes") })
34924
+ /* @__PURE__ */ r.jsx(M, { color: "orange", size: "xs", onClick: () => d(), leftIcon: /* @__PURE__ */ r.jsx(Ui, { size: 18 }), disabled: !E, children: t("common.actions.revert") }),
34925
+ /* @__PURE__ */ r.jsx(M, { color: "green", size: "xs", type: "submit", leftIcon: /* @__PURE__ */ r.jsx(at, { size: 18 }), disabled: !E, children: t("common.actions.save_changes") })
34928
34926
  ] })
34929
34927
  ] }) });
34930
34928
  }), a2 = D(() => {
@@ -34977,7 +34975,7 @@ const n2 = D(({
34977
34975
  var s;
34978
34976
  const {
34979
34977
  t: e
34980
- } = _(), t = be(), n = ((s = t.views.VIE) == null ? void 0 : s.type) === J.Tabs, i = () => {
34978
+ } = _(), t = be(), n = ((s = t.views.VIE) == null ? void 0 : s.type) === X.Tabs, i = () => {
34981
34979
  var a;
34982
34980
  return (a = t.views.VIE) == null ? void 0 : a.downloadSchema();
34983
34981
  };
@@ -35152,12 +35150,12 @@ const x2 = D(({
35152
35150
  content: null
35153
35151
  }
35154
35152
  }), h = ({
35155
- content: L
35153
+ content: E
35156
35154
  }) => {
35157
35155
  try {
35158
- if (!L)
35156
+ if (!E)
35159
35157
  throw new Error("please use a valid json file");
35160
- s.applyJSONSchema(L), Ar({
35158
+ s.applyJSONSchema(E), Ar({
35161
35159
  title: "Successful",
35162
35160
  message: "",
35163
35161
  color: "green"
@@ -35173,8 +35171,8 @@ const x2 = D(({
35173
35171
  Q(() => {
35174
35172
  if (!p)
35175
35173
  return;
35176
- const L = new FileReader();
35177
- L.readAsText(p, "UTF-8"), L.onload = (A) => {
35174
+ const E = new FileReader();
35175
+ E.readAsText(p, "UTF-8"), E.onload = (A) => {
35178
35176
  try {
35179
35177
  const P = f2(A);
35180
35178
  l("content", P), u("content");
@@ -35184,10 +35182,10 @@ const x2 = D(({
35184
35182
  message: P.message
35185
35183
  });
35186
35184
  }
35187
- }, L.onabort = () => console.log("🟨 abort"), L.onerror = () => {
35188
- L.error && (console.error(L.error), d("content", {
35185
+ }, E.onabort = () => console.log("🟨 abort"), E.onerror = () => {
35186
+ E.error && (console.error(E.error), d("content", {
35189
35187
  type: "custom",
35190
- message: L.error.message
35188
+ message: E.error.message
35191
35189
  }));
35192
35190
  };
35193
35191
  }, [p]);
@@ -35232,7 +35230,7 @@ const x2 = D(({
35232
35230
  }] = dr(!1), [s, {
35233
35231
  setTrue: a,
35234
35232
  setFalse: o
35235
- }] = mt(!1), c = ((d = Ie().content.views.VIE) == null ? void 0 : d.type) === J.Tabs;
35233
+ }] = mt(!1), c = ((d = Ie().content.views.VIE) == null ? void 0 : d.type) === X.Tabs;
35236
35234
  return c ? /* @__PURE__ */ r.jsx(we, { label: e("common.choose_a_tab_first"), children: /* @__PURE__ */ r.jsx(M, { variant: "outline", color: "gray", radius: 0, size: "xs", leftIcon: /* @__PURE__ */ r.jsx(ld, { size: 16 }), sx: {
35237
35235
  ...Tu,
35238
35236
  transform: "none !important"
@@ -35400,15 +35398,15 @@ function I2(e, t) {
35400
35398
  }), i;
35401
35399
  }
35402
35400
  const T2 = {
35403
- [J.Division]: "Div",
35404
- [J.Modal]: "Modal",
35405
- [J.Tabs]: "Tabs"
35401
+ [X.Division]: "Div",
35402
+ [X.Modal]: "Modal",
35403
+ [X.Tabs]: "Tabs"
35406
35404
  }, z2 = MO;
35407
35405
  function D2(e) {
35408
35406
  return e.current.map((n, i) => {
35409
35407
  const s = w2(n.panelIDs.length, Rs, Wx) + Fc + qx;
35410
35408
  let a = [];
35411
- return n.type === J.Tabs && (a = n.config.tabsInOrder.map((l) => l.view_id)), {
35409
+ return n.type === X.Tabs && (a = n.config.tabsInOrder.map((l) => l.view_id)), {
35412
35410
  id: n.id,
35413
35411
  _node_type: "view-root",
35414
35412
  _view_type: n.type,
@@ -35436,7 +35434,7 @@ function D2(e) {
35436
35434
  function M2(e) {
35437
35435
  const t = C.keyBy(e, (n) => n.id);
35438
35436
  e.forEach((n) => {
35439
- n._node_type !== "view-root" || n._view_type !== J.Tabs || n._tab_view_ids.forEach((i) => {
35437
+ n._node_type !== "view-root" || n._view_type !== X.Tabs || n._tab_view_ids.forEach((i) => {
35440
35438
  t[i].parentNode = n.id;
35441
35439
  });
35442
35440
  });
@@ -35453,7 +35451,7 @@ function L2({
35453
35451
  edges: n
35454
35452
  }) {
35455
35453
  t.forEach((i) => {
35456
- i._node_type !== "view-root" || i._view_type !== J.Tabs || (i.sourcePosition = dn.Bottom, i.style.width = Nc + la * 2, i.style.height = qx + i._tab_view_ids.reduce((s, a) => {
35454
+ i._node_type !== "view-root" || i._view_type !== X.Tabs || (i.sourcePosition = dn.Bottom, i.style.width = Nc + la * 2, i.style.height = qx + i._tab_view_ids.reduce((s, a) => {
35457
35455
  const o = e[a];
35458
35456
  o.position.y = s, o.position.x = la;
35459
35457
  const l = o.style.height;
@@ -35929,7 +35927,7 @@ const H2 = D(() => {
35929
35927
  /* @__PURE__ */ r.jsx(ue, { checked: i.required, onChange: (l) => i.setRequired(l.currentTarget.checked), label: n("filter.widget.select.required") }),
35930
35928
  /* @__PURE__ */ r.jsx(bi, { filter: t })
35931
35929
  ] }),
35932
- /* @__PURE__ */ r.jsx(E, { label: n("filter.widget.select.width"), description: n("filter.widget.multi_select.width_description"), value: i.min_width, onChange: (l) => i.setMinWidth(l.currentTarget.value), placeholder: "200px" }),
35930
+ /* @__PURE__ */ r.jsx(L, { label: n("filter.widget.select.width"), description: n("filter.widget.multi_select.width_description"), value: i.min_width, onChange: (l) => i.setMinWidth(l.currentTarget.value), placeholder: "200px" }),
35933
35931
  /* @__PURE__ */ r.jsx(O, { label: n("filter.widget.select.configure_options"), labelPosition: "center" }),
35934
35932
  /* @__PURE__ */ r.jsxs(k, { spacing: 10, sx: {
35935
35933
  position: "relative",
@@ -35955,12 +35953,12 @@ const H2 = D(() => {
35955
35953
  a.map((l, c) => /* @__PURE__ */ r.jsxs(en, { gap: 10, sx: {
35956
35954
  position: "relative"
35957
35955
  }, pr: "40px", children: [
35958
- /* @__PURE__ */ r.jsx(E, { label: n("common.label"), required: !0, value: i.static_options[c].label, onChange: (d) => {
35956
+ /* @__PURE__ */ r.jsx(L, { label: n("common.label"), required: !0, value: i.static_options[c].label, onChange: (d) => {
35959
35957
  i.static_options[c].setLabel(d.currentTarget.value);
35960
35958
  }, sx: {
35961
35959
  flexGrow: 1
35962
35960
  } }),
35963
- /* @__PURE__ */ r.jsx(E, { label: n("common.value"), required: !0, value: i.static_options[c].value, onChange: (d) => {
35961
+ /* @__PURE__ */ r.jsx(L, { label: n("common.value"), required: !0, value: i.static_options[c].value, onChange: (d) => {
35964
35962
  i.static_options[c].setValue(d.currentTarget.value);
35965
35963
  }, sx: {
35966
35964
  flexGrow: 1
@@ -36001,7 +35999,7 @@ const H2 = D(() => {
36001
35999
  /* @__PURE__ */ r.jsx(ue, { checked: s.clearable, onChange: (c) => s.setClearable(c.currentTarget.checked), label: n("filter.widget.select.clearable") }),
36002
36000
  /* @__PURE__ */ r.jsx(bi, { filter: t })
36003
36001
  ] }),
36004
- /* @__PURE__ */ r.jsx(E, { label: n("filter.widget.select.width"), value: s.width, onChange: (c) => s.setWidth(c.currentTarget.value), placeholder: "200px" }),
36002
+ /* @__PURE__ */ r.jsx(L, { label: n("filter.widget.select.width"), value: s.width, onChange: (c) => s.setWidth(c.currentTarget.value), placeholder: "200px" }),
36005
36003
  /* @__PURE__ */ r.jsx(O, { label: n("filter.widget.select.configure_options"), labelPosition: "center" }),
36006
36004
  /* @__PURE__ */ r.jsxs(k, { spacing: 10, sx: {
36007
36005
  position: "relative",
@@ -36027,12 +36025,12 @@ const H2 = D(() => {
36027
36025
  o.map((c, d) => /* @__PURE__ */ r.jsxs(en, { gap: 10, sx: {
36028
36026
  position: "relative"
36029
36027
  }, pr: "40px", children: [
36030
- /* @__PURE__ */ r.jsx(E, { label: n("common.label"), required: !0, value: s.static_options[d].label, onChange: (u) => {
36028
+ /* @__PURE__ */ r.jsx(L, { label: n("common.label"), required: !0, value: s.static_options[d].label, onChange: (u) => {
36031
36029
  s.static_options[d].setLabel(u.currentTarget.value);
36032
36030
  }, sx: {
36033
36031
  flexGrow: 1
36034
36032
  } }),
36035
- /* @__PURE__ */ r.jsx(E, { label: n("common.value"), required: !0, value: s.static_options[d].value, onChange: (u) => {
36033
+ /* @__PURE__ */ r.jsx(L, { label: n("common.value"), required: !0, value: s.static_options[d].value, onChange: (u) => {
36036
36034
  s.static_options[d].setValue(u.currentTarget.value);
36037
36035
  }, sx: {
36038
36036
  flexGrow: 1
@@ -36060,7 +36058,7 @@ const H2 = D(() => {
36060
36058
  } = _(), i = t.config;
36061
36059
  return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
36062
36060
  /* @__PURE__ */ r.jsxs(y, { children: [
36063
- /* @__PURE__ */ r.jsx(E, { label: n("filter.widget.text_input.default_value"), value: i.default_value, onChange: (s) => {
36061
+ /* @__PURE__ */ r.jsx(L, { label: n("filter.widget.text_input.default_value"), value: i.default_value, onChange: (s) => {
36064
36062
  i.setDefaultValue(s.currentTarget.value);
36065
36063
  }, sx: {
36066
36064
  flexGrow: 1
@@ -36096,7 +36094,7 @@ const H2 = D(() => {
36096
36094
  /* @__PURE__ */ r.jsx(ue, { checked: i.required, onChange: (s) => i.setRequired(s.currentTarget.checked), label: n("filter.widget.select.required") }),
36097
36095
  /* @__PURE__ */ r.jsx(bi, { filter: t })
36098
36096
  ] }),
36099
- /* @__PURE__ */ r.jsx(E, { label: n("filter.widget.common.min_width"), value: i.min_width, onChange: (s) => i.setMinWidth(s.currentTarget.value), placeholder: "200px" }),
36097
+ /* @__PURE__ */ r.jsx(L, { label: n("filter.widget.common.min_width"), value: i.min_width, onChange: (s) => i.setMinWidth(s.currentTarget.value), placeholder: "200px" }),
36100
36098
  /* @__PURE__ */ r.jsx(O, { label: n("filter.widget.common.fetch_options_from_datasource"), labelPosition: "center" }),
36101
36099
  /* @__PURE__ */ r.jsx(ue, { checked: i.treeCheckStrictly, onChange: (s) => i.setTreeCheckStrictly(s.currentTarget.checked), label: n("filter.widget.tree_select.strictly") }),
36102
36100
  /* @__PURE__ */ r.jsx(he, { value: i.default_selection_count, onChange: i.setDefaultSelectionCount, label: n("filter.widget.common.default_selection_count") }),
@@ -36177,10 +36175,10 @@ const H2 = D(() => {
36177
36175
  t.auto_submit_supported && /* @__PURE__ */ r.jsx(ue, { label: n("filter.field.auto_submit"), checked: t.auto_submit, onChange: (l) => t.setAutoSubmit(l.currentTarget.checked), mt: 22 })
36178
36176
  ] }),
36179
36177
  /* @__PURE__ */ r.jsx(ii, { label: n("filter.field.visible_in"), data: s.views.options, value: [...t.visibleInViewsIDs], onChange: t.setVisibleInViewsIDs }),
36180
- /* @__PURE__ */ r.jsx(E, { label: n("common.key"), placeholder: n("filter.field.key_placeholder"), required: !0, value: t.key, onChange: (l) => {
36178
+ /* @__PURE__ */ r.jsx(L, { label: n("common.key"), placeholder: n("filter.field.key_placeholder"), required: !0, value: t.key, onChange: (l) => {
36181
36179
  t.setKey(l.currentTarget.value);
36182
36180
  } }),
36183
- /* @__PURE__ */ r.jsx(E, { label: n("common.label"), placeholder: n("filter.field.label_placeholder"), required: !0, value: t.label, onChange: (l) => {
36181
+ /* @__PURE__ */ r.jsx(L, { label: n("common.label"), placeholder: n("filter.field.label_placeholder"), required: !0, value: t.label, onChange: (l) => {
36184
36182
  t.setLabel(l.currentTarget.value);
36185
36183
  } }),
36186
36184
  /* @__PURE__ */ r.jsx(q, { label: n("filter.field.widget"), data: o, required: !0, value: t.type, onChange: t.setType, maxDropdownHeight: 500 }),
@@ -36430,7 +36428,7 @@ const H2 = D(() => {
36430
36428
  ] }),
36431
36429
  /* @__PURE__ */ r.jsx(ae, { variant: "subtle", color: "blue", disabled: !a || l, onClick: o, children: /* @__PURE__ */ r.jsx(at, { size: 18 }) })
36432
36430
  ] }),
36433
- /* @__PURE__ */ r.jsx(E, { value: i, onChange: s, required: !0 })
36431
+ /* @__PURE__ */ r.jsx(L, { value: i, onChange: s, required: !0 })
36434
36432
  ] });
36435
36433
  }), xV = D(() => {
36436
36434
  const {
@@ -36834,7 +36832,7 @@ function DV({
36834
36832
  /* @__PURE__ */ r.jsx(ae, { mr: 5, variant: "filled", color: "blue", disabled: !d, onClick: u, children: /* @__PURE__ */ r.jsx(Wn, { size: 20 }) })
36835
36833
  ] }),
36836
36834
  /* @__PURE__ */ r.jsxs(y, { children: [
36837
- a.map((h, p) => /* @__PURE__ */ r.jsx(E, { type: i, value: h, onChange: (m) => {
36835
+ a.map((h, p) => /* @__PURE__ */ r.jsx(L, { type: i, value: h, onChange: (m) => {
36838
36836
  const f = m.currentTarget.value;
36839
36837
  o((b) => (b.splice(p, 1, f), [...b]));
36840
36838
  }, rightSection: /* @__PURE__ */ r.jsx(ae, { onClick: () => c(p), color: "red", children: /* @__PURE__ */ r.jsx(Yn, { size: 14 }) }), sx: {
@@ -36874,7 +36872,7 @@ const MV = $.forwardRef(DV), EV = $.forwardRef(function({
36874
36872
  });
36875
36873
  };
36876
36874
  return /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
36877
- /* @__PURE__ */ r.jsx(k, { children: /* @__PURE__ */ r.jsx(E, { label: s("style.font_size.label"), placeholder: s("styles.font_size.placeholder"), sx: {
36875
+ /* @__PURE__ */ r.jsx(k, { children: /* @__PURE__ */ r.jsx(L, { label: s("style.font_size.label"), placeholder: s("styles.font_size.placeholder"), sx: {
36878
36876
  flex: 1
36879
36877
  }, value: t.size, onChange: (c) => o("size", c.currentTarget.value) }) }),
36880
36878
  /* @__PURE__ */ r.jsx(y, { position: "apart", grow: !0, sx: {
@@ -36916,7 +36914,7 @@ const MV = $.forwardRef(DV), EV = $.forwardRef(function({
36916
36914
  border: "1px solid #e9ecef"
36917
36915
  }, children: [
36918
36916
  /* @__PURE__ */ r.jsxs(y, { grow: !0, noWrap: !0, children: [
36919
- /* @__PURE__ */ r.jsx(E, { label: o("common.name"), required: !0, value: t.name, onChange: (c) => l("name", c.currentTarget.value) }),
36917
+ /* @__PURE__ */ r.jsx(L, { label: o("common.name"), required: !0, value: t.name, onChange: (c) => l("name", c.currentTarget.value) }),
36920
36918
  /* @__PURE__ */ r.jsx(ee, { label: o("common.data_field"), required: !0, value: t.data_field, onChange: (c) => l("data_field", c) })
36921
36919
  ] }),
36922
36920
  /* @__PURE__ */ r.jsx(fc, { label: o("panel.variable.aggregation.label"), pt: 0, value: t.aggregation, onChange: (c) => l("aggregation", c), withFallback: !0 }),
@@ -37863,7 +37861,7 @@ const iF = D(({
37863
37861
  width: "100%"
37864
37862
  }, children: [
37865
37863
  /* @__PURE__ */ r.jsx(O, { mb: -10, variant: "dashed", label: t("query.basics"), labelPosition: "center" }),
37866
- /* @__PURE__ */ r.jsx(E, { placeholder: t("query.name_description"), label: t("query.name"), required: !0, sx: {
37864
+ /* @__PURE__ */ r.jsx(L, { placeholder: t("query.name_description"), label: t("query.name"), required: !0, sx: {
37867
37865
  flex: 1
37868
37866
  }, value: n, onChange: (s) => {
37869
37867
  i(s.currentTarget.value);
@@ -38262,7 +38260,7 @@ WHERE
38262
38260
  alignItems: "end"
38263
38261
  }, spacing: 40, children: [
38264
38262
  /* @__PURE__ */ r.jsx(
38265
- E,
38263
+ L,
38266
38264
  {
38267
38265
  label: i(u ? "sql_snippet.key_occupied" : "sql_snippet.key"),
38268
38266
  value: o,
@@ -38419,7 +38417,7 @@ WHERE
38419
38417
  ] });
38420
38418
  }), RF = D(({
38421
38419
  view: e
38422
- }) => !e || e.type !== J.Division ? null : /* @__PURE__ */ r.jsx(k, {})), $F = D(({
38420
+ }) => !e || e.type !== X.Division ? null : /* @__PURE__ */ r.jsx(k, {})), $F = D(({
38423
38421
  view: e
38424
38422
  }) => {
38425
38423
  const {
@@ -38441,7 +38439,7 @@ WHERE
38441
38439
  value: "vertical",
38442
38440
  label: t("common.tabs.orientation.vertical")
38443
38441
  }], [n.language]);
38444
- if (!e || e.type !== J.Tabs)
38442
+ if (!e || e.type !== X.Tabs)
38445
38443
  return null;
38446
38444
  const a = e.config;
38447
38445
  return /* @__PURE__ */ r.jsxs(k, { children: [
@@ -38525,20 +38523,20 @@ WHERE
38525
38523
  const {
38526
38524
  t
38527
38525
  } = _();
38528
- if (!e || e.type !== J.Modal)
38526
+ if (!e || e.type !== X.Modal)
38529
38527
  return null;
38530
38528
  const n = e.config, i = n.custom_modal_title.value;
38531
38529
  return /* @__PURE__ */ r.jsxs(k, { children: [
38532
38530
  /* @__PURE__ */ r.jsx(O, { mt: 8, label: t("view.component.modal.modal_settings"), labelPosition: "center" }),
38533
38531
  /* @__PURE__ */ r.jsxs(en, { gap: 10, children: [
38534
- /* @__PURE__ */ r.jsx(E, { label: t("view.component.modal.title"), value: i, onChange: C.noop, disabled: !0, sx: {
38532
+ /* @__PURE__ */ r.jsx(L, { label: t("view.component.modal.title"), value: i, onChange: C.noop, disabled: !0, sx: {
38535
38533
  flexGrow: 1
38536
38534
  } }),
38537
38535
  /* @__PURE__ */ r.jsx(OF, { value: n.custom_modal_title, onChange: n.custom_modal_title.replace })
38538
38536
  ] }),
38539
38537
  /* @__PURE__ */ r.jsxs(y, { grow: !0, children: [
38540
- /* @__PURE__ */ r.jsx(E, { label: t("view.component.modal.width"), value: n.width, onChange: (s) => n.setWidth(s.currentTarget.value), placeholder: "600px / 50vw" }),
38541
- /* @__PURE__ */ r.jsx(E, { label: t("view.component.modal.height"), value: n.height, onChange: (s) => n.setHeight(s.currentTarget.value), placeholder: "600px / 50vw" })
38538
+ /* @__PURE__ */ r.jsx(L, { label: t("view.component.modal.width"), value: n.width, onChange: (s) => n.setWidth(s.currentTarget.value), placeholder: "600px / 50vw" }),
38539
+ /* @__PURE__ */ r.jsx(L, { label: t("view.component.modal.height"), value: n.height, onChange: (s) => n.setHeight(s.currentTarget.value), placeholder: "600px / 50vw" })
38542
38540
  ] })
38543
38541
  ] });
38544
38542
  }), FF = D(({
@@ -38555,18 +38553,18 @@ WHERE
38555
38553
  i18n: n
38556
38554
  } = _(), i = T(() => [{
38557
38555
  label: t("view.component.div.label"),
38558
- value: J.Division
38556
+ value: X.Division
38559
38557
  }, {
38560
38558
  label: t("view.component.modal.label"),
38561
- value: J.Modal
38559
+ value: X.Modal
38562
38560
  }, {
38563
38561
  label: t("view.component.tabs.label"),
38564
- value: J.Tabs
38562
+ value: X.Tabs
38565
38563
  }], [n.language]);
38566
38564
  return e ? /* @__PURE__ */ r.jsxs(k, { sx: {
38567
38565
  position: "relative"
38568
38566
  }, children: [
38569
- /* @__PURE__ */ r.jsx(E, { label: t("common.name"), value: e.name, onChange: (s) => {
38567
+ /* @__PURE__ */ r.jsx(L, { label: t("common.name"), value: e.name, onChange: (s) => {
38570
38568
  e.setName(s.currentTarget.value);
38571
38569
  } }),
38572
38570
  /* @__PURE__ */ r.jsx(q, { label: t("common.type"), withinPortal: !0, zIndex: 320, value: e.type, onChange: e.setType, data: i }),
@@ -38683,7 +38681,7 @@ const ZF = D(() => /* @__PURE__ */ r.jsx(k, { sx: {
38683
38681
  if (!e)
38684
38682
  return null;
38685
38683
  const i = n.views.findByID(e);
38686
- return !i || i.type === J.Tabs ? null : /* @__PURE__ */ r.jsx(M, { variant: "subtle", leftIcon: /* @__PURE__ */ r.jsx(pn, { size: 14 }), size: "sm", px: "xs", mb: 10, color: "blue", onClick: () => n.addANewPanel(i.id), sx: {
38684
+ return !i || i.type === X.Tabs ? null : /* @__PURE__ */ r.jsx(M, { variant: "subtle", leftIcon: /* @__PURE__ */ r.jsx(pn, { size: 14 }), size: "sm", px: "xs", mb: 10, color: "blue", onClick: () => n.addANewPanel(i.id), sx: {
38687
38685
  width: "100%",
38688
38686
  borderRadius: 0
38689
38687
  }, styles: {
@@ -38928,8 +38926,8 @@ const gN = {
38928
38926
  d == null || d(b.content.filters.values);
38929
38927
  }, [d, b.content.filters.values]), $.useEffect(() => {
38930
38928
  c && b.content.filters.patchValues(c);
38931
- }, [c, b.content.filters.patchValues]), $.useEffect(() => Lt(() => Qn(b.json), (L) => {
38932
- o == null || o(L);
38929
+ }, [c, b.content.filters.patchValues]), $.useEffect(() => Lt(() => Qn(b.json), (E) => {
38930
+ o == null || o(E);
38933
38931
  }), [b]);
38934
38932
  const I = async () => {
38935
38933
  await i(b.json, b.content.json);
@@ -38954,7 +38952,7 @@ const gN = {
38954
38952
  }, children: /* @__PURE__ */ r.jsx(Rn.Provider, { value: w, children: /* @__PURE__ */ r.jsxs(Oa, { configure: z, children: [
38955
38953
  /* @__PURE__ */ r.jsx(Nu, { padding: 0, header: /* @__PURE__ */ r.jsx(_2, { onExit: u, saveDashboardChanges: I, headerSlot: l }), navbar: /* @__PURE__ */ r.jsx(Q2, {}), styles: gN, children: /* @__PURE__ */ r.jsx(R, { className: `${s} dashboard-root`, sx: {
38956
38954
  position: "relative"
38957
- }, children: b.content.views.visibleViews.map((L) => /* @__PURE__ */ r.jsx(zO, { view: L }, L.id)) }) }),
38955
+ }, children: b.content.views.visibleViews.map((E) => /* @__PURE__ */ r.jsx(zO, { view: E }, E.id)) }) }),
38958
38956
  /* @__PURE__ */ r.jsx(mN, {})
38959
38957
  ] }) }) }) }) }) }) }) }) });
38960
38958
  }, I3 = D(pe(bN));
@@ -39261,7 +39259,7 @@ export {
39261
39259
  O_ as DefaultApiClient,
39262
39260
  Cx as DescriptionPopover,
39263
39261
  BP as DraftModel,
39264
- J as EViewComponentType,
39262
+ X as EViewComponentType,
39265
39263
  b3 as FacadeApiClient,
39266
39264
  Xf as FilterCheckboxConfigMeta,
39267
39265
  Zf as FilterDateRangeConfigMeta,