@devtable/dashboard 10.25.1 → 10.26.0

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,32 +2,32 @@ var th = Object.defineProperty;
2
2
  var nh = (e, t, n) => t in e ? th(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Y = (e, t, n) => (nh(e, typeof t != "symbol" ? t + "" : t, n), n);
4
4
  import R, { useState as Q, useEffect as q, useCallback as nt, useMemo as M, forwardRef as we, createElement as ti, useContext as Ut, useRef as ni, createContext as ul, memo as rh } from "react";
5
- import { Select as F, Stack as S, Text as C, Group as v, TextInput as L, Button as I, Box as N, Switch as Xe, NumberInput as ie, Divider as A, Table as Vt, ActionIcon as K, MultiSelect as dr, Paper as ja, Code as fs, Modal as Te, Tabs as g, LoadingOverlay as kn, Alert as Ga, NativeSelect as hl, useMantineTheme as pl, ColorInput as Ya, ColorSwatch as Ui, Slider as ih, Overlay as Xt, Checkbox as me, Center as Tn, CheckIcon as ah, MANTINE_SIZES as oh, SimpleGrid as ln, Tooltip as Ne, SegmentedControl as sh, HoverCard as at, Anchor as Xi, Textarea as lh, Collapse as Ha, Mark as ch, createStyles as Gn, Popover as Ri, Flex as Yn, Badge as ur, CloseButton as fl, Menu as he, Affix as dh, Header as uh, ThemeIcon as Oi, List as ms, UnstyledButton as hh, Navbar as Ht, JsonInput as ml, Drawer as ph, Radio as gs, Skeleton as bs, NavLink as Ji, Pagination as fh, AppShell as gl } from "@mantine/core";
5
+ import { Select as F, Stack as S, Text as C, Group as v, TextInput as L, Button as I, Box as N, Switch as Xe, NumberInput as ie, Divider as A, Table as Vt, ActionIcon as K, MultiSelect as dr, Paper as Ga, Code as ms, Modal as Te, Tabs as g, LoadingOverlay as kn, Alert as Ya, NativeSelect as hl, useMantineTheme as pl, ColorInput as Ha, ColorSwatch as Ui, Slider as ih, Overlay as Xt, Checkbox as me, Center as Tn, CheckIcon as ah, MANTINE_SIZES as oh, SimpleGrid as ln, Tooltip as Ne, SegmentedControl as sh, HoverCard as at, Anchor as Xi, Textarea as lh, Collapse as Qa, Mark as ch, createStyles as Gn, Popover as Ri, Flex as Yn, Badge as ur, CloseButton as fl, Menu as he, Affix as dh, Header as uh, ThemeIcon as Oi, List as gs, UnstyledButton as hh, Navbar as Ht, JsonInput as ml, Drawer as ph, Radio as bs, Skeleton as ys, NavLink as Ji, Pagination as fh, AppShell as gl } from "@mantine/core";
6
6
  import { useModals as Jt, ModalsProvider as bl } from "@mantine/modals";
7
- import { useBoolean as Je, useCreation as Lt, useAsyncEffect as vr, useRequest as wn, useLatest as ys, usePrevious as mh } from "ahooks";
7
+ import { useBoolean as Je, useCreation as Lt, useAsyncEffect as vr, useRequest as wn, useLatest as xs, usePrevious as mh } from "ahooks";
8
8
  import { observable as yl, runInAction as or, toJS as Zt, reaction as St, makeAutoObservable as wr } from "mobx";
9
9
  import { observer as D } from "mobx-react-lite";
10
10
  import xl from "crypto-js";
11
11
  import ee from "dayjs";
12
- import k, { unset as gh, get as ce, isObject as vl, set as Qa, omit as _n, isFunction as bh, orderBy as yh, last as wl, defaults as Oe, minBy as xh, maxBy as vh, cloneDeep as Ze, values as _l, template as Ka, throttle as wh, isEqual as ke, defaultsDeep as De, keyBy as _h, isEmpty as Cl, isNumber as Ch, findLastIndex as Sh, isString as Sl, range as kh, cloneDeepWith as kl, pick as Tl } from "lodash";
12
+ import k, { unset as gh, get as ce, isObject as vl, set as Ka, omit as _n, isFunction as bh, orderBy as yh, last as wl, defaults as Fe, minBy as xh, maxBy as vh, cloneDeep as Ze, values as _l, template as Ua, throttle as wh, isEqual as ke, defaultsDeep as De, keyBy as _h, isEmpty as Cl, isNumber as Ch, findLastIndex as Sh, isString as Sl, range as kh, cloneDeepWith as kl, pick as Tl } from "lodash";
13
13
  import oe from "numbro";
14
14
  import * as Th from "d3-array";
15
15
  import { quantile as Fr } from "d3-array";
16
16
  import * as Pr from "mathjs";
17
17
  import { faker as Dh } from "@faker-js/faker";
18
18
  import on from "axios";
19
- import xs from "eventemitter2";
19
+ import vs from "eventemitter2";
20
20
  import hr, { random as ri } from "chroma-js";
21
21
  import "echarts-gl";
22
22
  import * as ge from "echarts/core";
23
- import { GridComponent as bt, VisualMapComponent as _r, LegendComponent as yt, TooltipComponent as xt, DataZoomComponent as Nt, MarkLineComponent as ii, MarkAreaComponent as Ua, CalendarComponent as Ih } from "echarts/components";
23
+ import { GridComponent as bt, VisualMapComponent as _r, LegendComponent as yt, TooltipComponent as xt, DataZoomComponent as Nt, MarkLineComponent as ii, MarkAreaComponent as Xa, CalendarComponent as Ih } from "echarts/components";
24
24
  import { CanvasRenderer as st } from "echarts/renderers";
25
25
  import lt from "echarts-for-react/lib/core";
26
26
  import { useForm as Ee, Controller as y, useFieldArray as Le, useWatch as Mh } from "react-hook-form";
27
- import { DeviceFloppy as ve, ArrowRight as Fi, Trash as be, AlertCircle as $h, PlaylistAdd as ai, Recycle as Tt, InfoCircle as dn, Plus as je, Calendar as zh, Refresh as Xa, Download as Ja, ArrowsMaximize as Dl, Settings as Il, Copy as Lh, ArrowLeft as Ah, ArrowsMove as Eh, ChevronDownRight as Rh, ChevronsUpRight as Oh, ArrowBarToRight as Fh } from "tabler-icons-react";
27
+ import { DeviceFloppy as ve, ArrowRight as Fi, Trash as be, AlertCircle as $h, PlaylistAdd as ai, Recycle as Tt, InfoCircle as dn, Plus as je, Calendar as zh, Refresh as Ja, Download as Za, ArrowsMaximize as Dl, Settings as Il, Copy as Lh, ArrowLeft as Ah, ArrowsMove as Eh, ChevronDownRight as Rh, ChevronsUpRight as Oh, ArrowBarToRight as Fh } from "tabler-icons-react";
28
28
  import { BoxplotChart as Ph, BarChart as Hn, LineChart as Qn, ScatterChart as oi, FunnelChart as Vh, HeatmapChart as si, PieChart as Nh, RadarChart as Bh, SunburstChart as qh } from "echarts/charts";
29
- import { IconDeviceFloppy as un, IconTextSize as Za, IconInfoCircle as Dn, IconPlayerSkipBack as Ml, IconRecycle as eo, IconMathFunction as Wh, IconPlus as Bt, IconBorderAll as jh, IconTrash as Bn, IconArrowDown as Gh, IconArrowUp as Yh, IconCamera as li, IconShare3 as Hh, IconDownload as $l, IconCode as zl, IconArrowsLeftRight as Qh, IconVariable as Ll, IconCodeDots as Kh, IconFilter as Al, IconCopy as Uh, IconDatabase as ci, IconBoxMultiple as El, IconMenu2 as Xh, IconCaretDown as Jh, IconAlertTriangle as Rl, IconArrowLeft as Zh, IconPlaylistAdd as ep, IconCircleDashed as tp, IconCircleDot as np, IconCircleOff as rp, IconAdjustments as ip, IconLink as ap, IconSettings as op, IconLine as sp, IconArrowCurveRight as vs, IconX as Ol, IconEye as Fl, IconTable as lp, IconColumns as cp, IconAlertCircle as ws, IconVariablePlus as dp } from "@tabler/icons-react";
30
- import { useClipboard as up, randomId as Cn, useDisclosure as to, useElementSize as pr, useInputState as Pl } from "@mantine/hooks";
29
+ import { IconDeviceFloppy as un, IconTextSize as eo, IconInfoCircle as Dn, IconPlayerSkipBack as Ml, IconRecycle as to, IconMathFunction as Wh, IconPlus as Bt, IconBorderAll as jh, IconTrash as Bn, IconArrowDown as Gh, IconArrowUp as Yh, IconCamera as li, IconShare3 as Hh, IconDownload as $l, IconCode as zl, IconArrowsLeftRight as Qh, IconVariable as Ll, IconCodeDots as Kh, IconFilter as Al, IconCopy as Uh, IconDatabase as ci, IconBoxMultiple as El, IconMenu2 as Xh, IconCaretDown as Jh, IconAlertTriangle as Rl, IconArrowLeft as Zh, IconPlaylistAdd as ep, IconCircleDashed as tp, IconCircleDot as np, IconCircleOff as rp, IconAdjustments as ip, IconLink as ap, IconSettings as op, IconArrowCurveRight as Zi, IconLine as sp, IconX as Ol, IconEye as Fl, IconTable as lp, IconColumns as cp, IconAlertCircle as ws, IconVariablePlus as dp } from "@tabler/icons-react";
30
+ import { useClipboard as up, randomId as Cn, useDisclosure as no, useElementSize as pr, useInputState as Pl } from "@mantine/hooks";
31
31
  import { showNotification as di } from "@mantine/notifications";
32
32
  import { RichTextEditor as se, Link as Vl, useRichTextEditorContext as hp } from "@mantine/tiptap";
33
33
  import { Color as Nl } from "@tiptap/extension-color";
@@ -60,7 +60,7 @@ import rc, { WidthProvider as ic } from "react-grid-layout";
60
60
  import { types as b, cast as cn, getParent as Qe, getRoot as Ie, addDisposer as Ot, isAlive as Cs, flow as Vn, toGenerator as mn, clone as Vp, getSnapshot as Rt, applySnapshot as dt, addMiddleware as Np, getType as Bp, detach as qp, castToSnapshot as ac } from "mobx-state-tree";
61
61
  import { arrayToTree as Wp } from "performant-array-to-tree";
62
62
  import jp from "jszip";
63
- import { saveAs as no } from "file-saver";
63
+ import { saveAs as ro } from "file-saver";
64
64
  import oc from "dom-to-image-more";
65
65
  import { useNavigate as Gp } from "react-router-dom";
66
66
  import Yp, { Position as zt, Handle as Ss, MiniMap as Hp, Controls as Qp, Background as Kp } from "reactflow";
@@ -350,8 +350,8 @@ function Jp() {
350
350
  } finally {
351
351
  fn = !1, Jn.current = Se, Mi(), Error.prepareStackTrace = pe;
352
352
  }
353
- var On = _ ? _.displayName || _.name : "", ps = On ? tn(On) : "";
354
- return typeof _ == "function" && nn.set(_, ps), ps;
353
+ var On = _ ? _.displayName || _.name : "", fs = On ? tn(On) : "";
354
+ return typeof _ == "function" && nn.set(_, fs), fs;
355
355
  }
356
356
  function Zn(_, P, G) {
357
357
  return En(_, !1);
@@ -389,13 +389,13 @@ function Jp() {
389
389
  }
390
390
  return "";
391
391
  }
392
- var tr = Object.prototype.hasOwnProperty, ts = {}, ns = $.ReactDebugCurrentFrame;
392
+ var tr = Object.prototype.hasOwnProperty, ns = {}, rs = $.ReactDebugCurrentFrame;
393
393
  function Mr(_) {
394
394
  if (_) {
395
395
  var P = _._owner, G = rn(_.type, _._source, P ? P.type : null);
396
- ns.setExtraStackFrame(G);
396
+ rs.setExtraStackFrame(G);
397
397
  } else
398
- ns.setExtraStackFrame(null);
398
+ rs.setExtraStackFrame(null);
399
399
  }
400
400
  function Ru(_, P, G, ne, pe) {
401
401
  {
@@ -412,7 +412,7 @@ function Jp() {
412
412
  } catch (Ve) {
413
413
  le = Ve;
414
414
  }
415
- le && !(le instanceof Error) && (Mr(pe), z("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ne || "React class", G, de, typeof le), Mr(null)), le instanceof Error && !(le.message in ts) && (ts[le.message] = !0, Mr(pe), z("Failed %s type: %s", G, le.message), Mr(null));
415
+ le && !(le instanceof Error) && (Mr(pe), z("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ne || "React class", G, de, typeof le), Mr(null)), le instanceof Error && !(le.message in ns) && (ns[le.message] = !0, Mr(pe), z("Failed %s type: %s", G, le.message), Mr(null));
416
416
  }
417
417
  }
418
418
  }
@@ -428,24 +428,24 @@ function Jp() {
428
428
  }
429
429
  function Pu(_) {
430
430
  try {
431
- return rs(_), !1;
431
+ return is(_), !1;
432
432
  } catch {
433
433
  return !0;
434
434
  }
435
435
  }
436
- function rs(_) {
436
+ function is(_) {
437
437
  return "" + _;
438
438
  }
439
- function is(_) {
439
+ function as(_) {
440
440
  if (Pu(_))
441
- return z("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Fu(_)), rs(_);
441
+ return z("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Fu(_)), is(_);
442
442
  }
443
443
  var nr = $.ReactCurrentOwner, Vu = {
444
444
  key: !0,
445
445
  ref: !0,
446
446
  __self: !0,
447
447
  __source: !0
448
- }, as, os, zi;
448
+ }, os, ss, zi;
449
449
  zi = {};
450
450
  function Nu(_) {
451
451
  if (tr.call(_, "ref")) {
@@ -472,7 +472,7 @@ function Jp() {
472
472
  function Wu(_, P) {
473
473
  {
474
474
  var G = function() {
475
- as || (as = !0, z("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", P));
475
+ os || (os = !0, z("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", P));
476
476
  };
477
477
  G.isReactWarning = !0, Object.defineProperty(_, "key", {
478
478
  get: G,
@@ -483,7 +483,7 @@ function Jp() {
483
483
  function ju(_, P) {
484
484
  {
485
485
  var G = function() {
486
- os || (os = !0, z("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", P));
486
+ ss || (ss = !0, z("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", P));
487
487
  };
488
488
  G.isReactWarning = !0, Object.defineProperty(_, "ref", {
489
489
  get: G,
@@ -523,7 +523,7 @@ function Jp() {
523
523
  function Yu(_, P, G, ne, pe) {
524
524
  {
525
525
  var Se, de = {}, le = null, it = null;
526
- G !== void 0 && (is(G), le = "" + G), Bu(P) && (is(P.key), le = "" + P.key), Nu(P) && (it = P.ref, qu(P, pe));
526
+ G !== void 0 && (as(G), le = "" + G), Bu(P) && (as(P.key), le = "" + P.key), Nu(P) && (it = P.ref, qu(P, pe));
527
527
  for (Se in P)
528
528
  tr.call(P, Se) && !Vu.hasOwnProperty(Se) && (de[Se] = P[Se]);
529
529
  if (_ && _.defaultProps) {
@@ -538,20 +538,20 @@ function Jp() {
538
538
  return Gu(_, le, it, pe, ne, nr.current, de);
539
539
  }
540
540
  }
541
- var Li = $.ReactCurrentOwner, ss = $.ReactDebugCurrentFrame;
541
+ var Li = $.ReactCurrentOwner, ls = $.ReactDebugCurrentFrame;
542
542
  function Rn(_) {
543
543
  if (_) {
544
544
  var P = _._owner, G = rn(_.type, _._source, P ? P.type : null);
545
- ss.setExtraStackFrame(G);
545
+ ls.setExtraStackFrame(G);
546
546
  } else
547
- ss.setExtraStackFrame(null);
547
+ ls.setExtraStackFrame(null);
548
548
  }
549
549
  var Ai;
550
550
  Ai = !1;
551
551
  function Ei(_) {
552
552
  return typeof _ == "object" && _ !== null && _.$$typeof === t;
553
553
  }
554
- function ls() {
554
+ function cs() {
555
555
  {
556
556
  if (Li.current) {
557
557
  var _ = xe(Li.current.type);
@@ -574,10 +574,10 @@ Check your code at ` + P + ":" + G + ".";
574
574
  return "";
575
575
  }
576
576
  }
577
- var cs = {};
577
+ var ds = {};
578
578
  function Qu(_) {
579
579
  {
580
- var P = ls();
580
+ var P = cs();
581
581
  if (!P) {
582
582
  var G = typeof _ == "string" ? _ : _.displayName || _.name;
583
583
  G && (P = `
@@ -587,27 +587,27 @@ Check the top-level render call using <` + G + ">.");
587
587
  return P;
588
588
  }
589
589
  }
590
- function ds(_, P) {
590
+ function us(_, P) {
591
591
  {
592
592
  if (!_._store || _._store.validated || _.key != null)
593
593
  return;
594
594
  _._store.validated = !0;
595
595
  var G = Qu(P);
596
- if (cs[G])
596
+ if (ds[G])
597
597
  return;
598
- cs[G] = !0;
598
+ ds[G] = !0;
599
599
  var ne = "";
600
600
  _ && _._owner && _._owner !== Li.current && (ne = " It was passed a child from " + xe(_._owner.type) + "."), Rn(_), z('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', G, ne), Rn(null);
601
601
  }
602
602
  }
603
- function us(_, P) {
603
+ function hs(_, P) {
604
604
  {
605
605
  if (typeof _ != "object")
606
606
  return;
607
607
  if ($i(_))
608
608
  for (var G = 0; G < _.length; G++) {
609
609
  var ne = _[G];
610
- Ei(ne) && ds(ne, P);
610
+ Ei(ne) && us(ne, P);
611
611
  }
612
612
  else if (Ei(_))
613
613
  _._store && (_._store.validated = !0);
@@ -615,7 +615,7 @@ Check the top-level render call using <` + G + ">.");
615
615
  var pe = T(_);
616
616
  if (typeof pe == "function" && pe !== _.entries)
617
617
  for (var Se = pe.call(_), de; !(de = Se.next()).done; )
618
- Ei(de.value) && ds(de.value, P);
618
+ Ei(de.value) && us(de.value, P);
619
619
  }
620
620
  }
621
621
  }
@@ -656,14 +656,14 @@ Check the top-level render call using <` + G + ">.");
656
656
  _.ref !== null && (Rn(_), z("Invalid attribute `ref` supplied to `React.Fragment`."), Rn(null));
657
657
  }
658
658
  }
659
- function hs(_, P, G, ne, pe, Se) {
659
+ function ps(_, P, G, ne, pe, Se) {
660
660
  {
661
661
  var de = te(_);
662
662
  if (!de) {
663
663
  var le = "";
664
664
  (_ === void 0 || typeof _ == "object" && _ !== null && Object.keys(_).length === 0) && (le += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
665
665
  var it = Hu(pe);
666
- it ? le += it : le += ls();
666
+ it ? le += it : le += cs();
667
667
  var Ve;
668
668
  _ === null ? Ve = "null" : $i(_) ? Ve = "array" : _ !== void 0 && _.$$typeof === t ? (Ve = "<" + (xe(_.type) || "Unknown") + " />", le = " Did you accidentally export a JSX literal instead of a component?") : Ve = typeof _, z("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ve, le);
669
669
  }
@@ -676,21 +676,21 @@ Check the top-level render call using <` + G + ">.");
676
676
  if (ne)
677
677
  if ($i(_t)) {
678
678
  for (var On = 0; On < _t.length; On++)
679
- us(_t[On], _);
679
+ hs(_t[On], _);
680
680
  Object.freeze && Object.freeze(_t);
681
681
  } else
682
682
  z("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
683
683
  else
684
- us(_t, _);
684
+ hs(_t, _);
685
685
  }
686
686
  return _ === r ? Uu(Be) : Ku(Be), Be;
687
687
  }
688
688
  }
689
689
  function Xu(_, P, G) {
690
- return hs(_, P, G, !0);
690
+ return ps(_, P, G, !0);
691
691
  }
692
692
  function Ju(_, P, G) {
693
- return hs(_, P, G, !1);
693
+ return ps(_, P, G, !1);
694
694
  }
695
695
  var Zu = Ju, eh = Xu;
696
696
  ir.Fragment = r, ir.jsx = Zu, ir.jsxs = eh;
@@ -763,7 +763,7 @@ const W = fr.Fragment, i = fr.jsx, u = fr.jsxs, Mn = {
763
763
  </tbody>
764
764
  </table>
765
765
  `;
766
- function ro(e, t) {
766
+ function io(e, t) {
767
767
  const n = Object.keys(t), r = Object.values(t);
768
768
  try {
769
769
  return new Function(...n, `return \`${e}\`;`)(...r);
@@ -771,9 +771,9 @@ function ro(e, t) {
771
771
  throw n.length === 0 && e.includes("$") ? new Error("[formatSQL] insufficient payload") : a;
772
772
  }
773
773
  }
774
- function io(e, t) {
774
+ function ao(e, t) {
775
775
  try {
776
- return ro(e, t);
776
+ return io(e, t);
777
777
  } catch (n) {
778
778
  return console.error(n), n.message;
779
779
  }
@@ -883,7 +883,7 @@ async function sf({
883
883
  sql: o,
884
884
  pre_process: s,
885
885
  post_process: l
886
- } = e, c = ro(o, t), d = nf({
886
+ } = e, c = io(o, t), d = nf({
887
887
  sql: c,
888
888
  pre_process: s
889
889
  });
@@ -905,7 +905,7 @@ async function lf({
905
905
  query: n
906
906
  }, {});
907
907
  }
908
- async function ao() {
908
+ async function oo() {
909
909
  try {
910
910
  return (await ut.getRequest("POST")("/datasource/list", {
911
911
  filter: {},
@@ -968,7 +968,7 @@ class cc {
968
968
  throw new Error("Cannot set root value to non-object");
969
969
  else
970
970
  or(() => {
971
- Qa(this.rootRef.current, [t], n);
971
+ Ka(this.rootRef.current, [t], n);
972
972
  });
973
973
  return Promise.resolve(this.getItem(t));
974
974
  }
@@ -984,13 +984,13 @@ class cc {
984
984
  class cf {
985
985
  constructor() {
986
986
  Y(this, "channels", /* @__PURE__ */ new Map());
987
- Y(this, "globalChannel", new xs());
987
+ Y(this, "globalChannel", new vs());
988
988
  }
989
989
  getChannel(t) {
990
990
  const n = this.channels.get(t);
991
991
  if (n)
992
992
  return n;
993
- const r = new xs();
993
+ const r = new vs();
994
994
  return this.channels.set(t, r), r;
995
995
  }
996
996
  }
@@ -1127,14 +1127,14 @@ class xf {
1127
1127
  function Yt(e) {
1128
1128
  return new xf(e);
1129
1129
  }
1130
- class oo {
1130
+ class so {
1131
1131
  constructor() {
1132
1132
  Y(this, "parent");
1133
1133
  Y(this, "factoryRegistry", /* @__PURE__ */ new Map());
1134
1134
  Y(this, "instanceRegistry", /* @__PURE__ */ new Map());
1135
1135
  }
1136
1136
  createScoped() {
1137
- const t = new oo();
1137
+ const t = new so();
1138
1138
  return t.parent = this, t;
1139
1139
  }
1140
1140
  getRequired(t) {
@@ -1164,7 +1164,7 @@ class oo {
1164
1164
  }), this.instanceRegistry.clear(), this.factoryRegistry.clear();
1165
1165
  }
1166
1166
  }
1167
- const hc = "10.25.1", vf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1167
+ const hc = "10.26.0", vf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1168
1168
  __proto__: null,
1169
1169
  version: hc
1170
1170
  }, Symbol.toStringTag, { value: "Module" }));
@@ -1300,7 +1300,7 @@ const J = (e, t) => {
1300
1300
  value: a,
1301
1301
  set: s
1302
1302
  };
1303
- }, so = {
1303
+ }, lo = {
1304
1304
  x_axis_data_key: "",
1305
1305
  y_axis_data_key: "",
1306
1306
  z_axis_data_key: "",
@@ -1370,7 +1370,7 @@ function Tf({
1370
1370
  xAxis3D: c,
1371
1371
  yAxis3D: d,
1372
1372
  zAxis3D: p
1373
- } = Oe({}, t, so), h = M(() => Cr(n, o), [n, o]), {
1373
+ } = Fe({}, t, lo), h = M(() => Cr(n, o), [n, o]), {
1374
1374
  x: f,
1375
1375
  y: m,
1376
1376
  z: w
@@ -1435,7 +1435,7 @@ function mc() {
1435
1435
  throw new Error("Please use DashboardModelContextProvider");
1436
1436
  return e;
1437
1437
  }
1438
- const Fe = () => mc(), gc = () => mc(), bc = R.createContext(null), yc = bc.Provider;
1438
+ const Oe = () => mc(), gc = () => mc(), bc = R.createContext(null), yc = bc.Provider;
1439
1439
  function xc() {
1440
1440
  const e = R.useContext(bc);
1441
1441
  if (!e)
@@ -1444,7 +1444,7 @@ function xc() {
1444
1444
  }
1445
1445
  const Ce = () => xc(), Ke = () => xc(), Df = {
1446
1446
  inEditMode: !1
1447
- }, lo = R.createContext(Df), vc = R.createContext({
1447
+ }, co = R.createContext(Df), vc = R.createContext({
1448
1448
  panel: null,
1449
1449
  data: {},
1450
1450
  loading: !1,
@@ -1495,7 +1495,7 @@ function $f({
1495
1495
  const {
1496
1496
  value: t,
1497
1497
  set: n
1498
- } = J(e.instanceData, "config"), r = Oe({}, t, so), {
1498
+ } = J(e.instanceData, "config"), r = Fe({}, t, lo), {
1499
1499
  control: a,
1500
1500
  handleSubmit: o,
1501
1501
  reset: s
@@ -1609,7 +1609,7 @@ const Af = {
1609
1609
  createConfig() {
1610
1610
  return {
1611
1611
  version: 2,
1612
- config: Ze(so)
1612
+ config: Ze(lo)
1613
1613
  };
1614
1614
  }
1615
1615
  };
@@ -1875,7 +1875,7 @@ function At(e) {
1875
1875
  ellipsis: e.ellipsis
1876
1876
  };
1877
1877
  }
1878
- const co = {
1878
+ const uo = {
1879
1879
  x_axis: {
1880
1880
  name: "X Axis",
1881
1881
  data_key: "",
@@ -1954,7 +1954,7 @@ class Nn {
1954
1954
  }, r);
1955
1955
  }
1956
1956
  }
1957
- class uo {
1957
+ class ho {
1958
1958
  constructor(t, n, r) {
1959
1959
  Y(this, "attachmentStorage");
1960
1960
  this.instance = t, this.attachmentKey = n, this.constructInstance = r, this.attachmentStorage = new Nn(t.instanceData, n);
@@ -1978,11 +1978,11 @@ function Pf(e, t) {
1978
1978
  const {
1979
1979
  value: n,
1980
1980
  set: r
1981
- } = J(e.operation.operationData, "config"), [a, o] = Q(Oe({}, n, t)), s = async () => {
1981
+ } = J(e.operation.operationData, "config"), [a, o] = Q(Fe({}, n, t)), s = async () => {
1982
1982
  await r(a);
1983
1983
  };
1984
1984
  return q(() => {
1985
- o(Oe({}, n, t));
1985
+ o(Fe({}, n, t));
1986
1986
  }, [n]), {
1987
1987
  config: a,
1988
1988
  setConfig: o,
@@ -2066,7 +2066,7 @@ function jf(e) {
2066
2066
  return /* @__PURE__ */ i(L, { defaultValue: t, onBlur: (r) => n(r.currentTarget.value), label: "console.log" });
2067
2067
  }
2068
2068
  async function Gf(e, t) {
2069
- const n = await t.operationData.getItem("config"), r = Ka(n.template || "");
2069
+ const n = await t.operationData.getItem("config"), r = Ua(n.template || "");
2070
2070
  console.log("run with payload", e), console.log(r(e));
2071
2071
  }
2072
2072
  const Yf = {
@@ -2232,7 +2232,7 @@ class om {
2232
2232
  operationData: new Nn(a, "data")
2233
2233
  };
2234
2234
  };
2235
- this.attachments = new uo(t, "__OPERATIONS", r);
2235
+ this.attachments = new ho(t, "__OPERATIONS", r);
2236
2236
  }
2237
2237
  async runOperation(t, n) {
2238
2238
  const r = await this.attachments.getInstance(t);
@@ -2308,7 +2308,7 @@ class sm {
2308
2308
  triggerData: new Nn(a, "data")
2309
2309
  };
2310
2310
  };
2311
- this.attachments = new uo(t, Ds, r);
2311
+ this.attachments = new ho(t, Ds, r);
2312
2312
  }
2313
2313
  watchTriggerSnapshotList(t) {
2314
2314
  return this.instance.instanceData.watchItem(Ds, (n) => {
@@ -2364,7 +2364,7 @@ class sm {
2364
2364
  await Promise.all(t.map((n) => n()));
2365
2365
  }
2366
2366
  }
2367
- class ho {
2367
+ class po {
2368
2368
  constructor(t, n, r) {
2369
2369
  Y(this, "operationManager");
2370
2370
  Y(this, "triggerManager");
@@ -2382,7 +2382,7 @@ class ho {
2382
2382
  operationRef: c
2383
2383
  };
2384
2384
  };
2385
- this.attachments = new uo(t, "__INTERACTIONS", a);
2385
+ this.attachments = new ho(t, "__INTERACTIONS", a);
2386
2386
  }
2387
2387
  async addInteraction(t, n) {
2388
2388
  const r = t.id, a = n.id, o = `[${r}]:[${a}]`;
@@ -2425,7 +2425,7 @@ class ho {
2425
2425
  const It = ({
2426
2426
  vizManager: e,
2427
2427
  instance: t
2428
- }) => Lt(() => new ho(t, e.resolveComponent(t.type), hi), [t, e]), kc = (e) => {
2428
+ }) => Lt(() => new po(t, e.resolveComponent(t.type), hi), [t, e]), kc = (e) => {
2429
2429
  const {
2430
2430
  title: t = "Variables",
2431
2431
  variables: n
@@ -2435,17 +2435,17 @@ const It = ({
2435
2435
  message: "Copied to clipboard"
2436
2436
  });
2437
2437
  };
2438
- return /* @__PURE__ */ u(ja, { withBorder: !0, p: "sm", children: [
2438
+ return /* @__PURE__ */ u(Ga, { withBorder: !0, p: "sm", children: [
2439
2439
  /* @__PURE__ */ i(C, { size: "xs", color: "dimmed", mb: "sm", children: t }),
2440
2440
  /* @__PURE__ */ i(S, { style: {
2441
2441
  maxHeight: "500px"
2442
2442
  }, children: n.map((o) => /* @__PURE__ */ u(C, { size: "sm", children: [
2443
- /* @__PURE__ */ u(fs, { color: "teal", children: [
2443
+ /* @__PURE__ */ u(ms, { color: "teal", children: [
2444
2444
  "// ",
2445
2445
  o.description
2446
2446
  ] }),
2447
2447
  /* @__PURE__ */ i("br", {}),
2448
- /* @__PURE__ */ u(fs, { onClick: () => a(o.name), style: {
2448
+ /* @__PURE__ */ u(ms, { onClick: () => a(o.name), style: {
2449
2449
  cursor: "pointer"
2450
2450
  }, children: [
2451
2451
  o.name,
@@ -2664,7 +2664,7 @@ const _m = D(({
2664
2664
  });
2665
2665
  return /* @__PURE__ */ u(S, { children: [
2666
2666
  /* @__PURE__ */ i(kn, { visible: h }),
2667
- p === 0 && /* @__PURE__ */ i(Ga, { icon: /* @__PURE__ */ i($h, { size: 16 }), title: "Unavailable", color: "gray", children: "This visualization does not have available interactions to choose from" }),
2667
+ p === 0 && /* @__PURE__ */ i(Ya, { icon: /* @__PURE__ */ i($h, { size: 16 }), title: "Unavailable", color: "gray", children: "This visualization does not have available interactions to choose from" }),
2668
2668
  l.map((f) => /* @__PURE__ */ i(_m, { onRemove: d, instance: a, sampleData: o, variables: s, item: f, manager: e.interactionManager }, f.id)),
2669
2669
  /* @__PURE__ */ i(I, { style: {
2670
2670
  width: "fit-content"
@@ -2676,7 +2676,7 @@ const _m = D(({
2676
2676
  data: t
2677
2677
  } = $n(), n = e.viz, {
2678
2678
  vizManager: r
2679
- } = Ut(jt), a = e.json, o = Lt(() => r.getOrCreateInstance(a), [r, a]), s = Lt(() => new ho(o, r.resolveComponent(n.type), hi), [o, n.type]);
2679
+ } = Ut(jt), a = e.json, o = Lt(() => r.getOrCreateInstance(a), [r, a]), s = Lt(() => new po(o, r.resolveComponent(n.type), hi), [o, n.type]);
2680
2680
  return q(() => o.instanceData.watchItem(
2681
2681
  null,
2682
2682
  // avoid too many updates
@@ -2765,7 +2765,7 @@ function Im({
2765
2765
  }]
2766
2766
  };
2767
2767
  }
2768
- const Zi = ["max", "q3", "median", "q1", "min"];
2768
+ const ea = ["max", "q3", "median", "q1", "min"];
2769
2769
  function Mm(e) {
2770
2770
  const {
2771
2771
  color: t
@@ -2784,10 +2784,10 @@ function Mm(e) {
2784
2784
  boxWidth: [10, 40],
2785
2785
  datasetIndex: 0,
2786
2786
  encode: {
2787
- y: Zi,
2787
+ y: ea,
2788
2788
  x: "name",
2789
2789
  itemName: ["name"],
2790
- tooltip: Zi
2790
+ tooltip: ea
2791
2791
  }
2792
2792
  }, {
2793
2793
  name: "Outlier",
@@ -2821,7 +2821,7 @@ function $m(e) {
2821
2821
  };
2822
2822
  }
2823
2823
  const zm = (e, t) => {
2824
- const n = Zi.map((s) => `
2824
+ const n = ea.map((s) => `
2825
2825
  <tr>
2826
2826
  <th style="text-align: right; padding: 0 1em;">${k.capitalize(s)}</th>
2827
2827
  <td style="text-align: left; padding: 0 1em;">
@@ -2894,7 +2894,7 @@ const mr = we(function({
2894
2894
  ...r
2895
2895
  }, a) {
2896
2896
  return /* @__PURE__ */ i(L, { ref: a, value: t, onChange: n, ...r });
2897
- }), po = {
2897
+ }), fo = {
2898
2898
  fontSize: "14px",
2899
2899
  lineHeight: "32px",
2900
2900
  color: "#3D3E45",
@@ -3277,7 +3277,7 @@ const Vi = { index: 0, offset: 0 };
3277
3277
  function $r(e, t) {
3278
3278
  return Vi.index = e, Vi.offset = t, Vi;
3279
3279
  }
3280
- function ea(e, t) {
3280
+ function ta(e, t) {
3281
3281
  if (e === t)
3282
3282
  return !0;
3283
3283
  if (!(e && typeof e == "object") || !(t && typeof t == "object"))
@@ -3289,11 +3289,11 @@ function ea(e, t) {
3289
3289
  if (e.length != t.length)
3290
3290
  return !1;
3291
3291
  for (let r = 0; r < e.length; r++)
3292
- if (!ea(e[r], t[r]))
3292
+ if (!ta(e[r], t[r]))
3293
3293
  return !1;
3294
3294
  } else {
3295
3295
  for (let r in e)
3296
- if (!(r in t) || !ea(e[r], t[r]))
3296
+ if (!(r in t) || !ta(e[r], t[r]))
3297
3297
  return !1;
3298
3298
  for (let r in t)
3299
3299
  if (!(r in e))
@@ -3355,7 +3355,7 @@ class ft {
3355
3355
  another mark.
3356
3356
  */
3357
3357
  eq(t) {
3358
- return this == t || this.type == t.type && ea(this.attrs, t.attrs);
3358
+ return this == t || this.type == t.type && ta(this.attrs, t.attrs);
3359
3359
  }
3360
3360
  /**
3361
3361
  Convert this mark to a JSON-serializeable representation.
@@ -4252,11 +4252,11 @@ class Ye {
4252
4252
  }
4253
4253
  }
4254
4254
  }
4255
- function fo(e, t, n) {
4255
+ function mo(e, t, n) {
4256
4256
  let r = [];
4257
4257
  for (let a = 0; a < e.childCount; a++) {
4258
4258
  let o = e.child(a);
4259
- o.content.size && (o = o.copy(fo(o.content, t, o))), o.isInline && (o = t(o, n, a)), r.push(o);
4259
+ o.content.size && (o = o.copy(mo(o.content, t, o))), o.isInline && (o = t(o, n, a)), r.push(o);
4260
4260
  }
4261
4261
  return fe.fromArray(r);
4262
4262
  }
@@ -4268,7 +4268,7 @@ class gn extends pt {
4268
4268
  super(), this.from = t, this.to = n, this.mark = r;
4269
4269
  }
4270
4270
  apply(t) {
4271
- let n = t.slice(this.from, this.to), r = t.resolve(this.from), a = r.node(r.sharedDepth(this.to)), o = new _e(fo(n.content, (s, l) => !s.isAtom || !l.type.allowsMarkType(this.mark.type) ? s : s.mark(this.mark.addToSet(s.marks)), a), n.openStart, n.openEnd);
4271
+ let n = t.slice(this.from, this.to), r = t.resolve(this.from), a = r.node(r.sharedDepth(this.to)), o = new _e(mo(n.content, (s, l) => !s.isAtom || !l.type.allowsMarkType(this.mark.type) ? s : s.mark(this.mark.addToSet(s.marks)), a), n.openStart, n.openEnd);
4272
4272
  return Ye.fromReplace(t, this.from, this.to, o);
4273
4273
  }
4274
4274
  invert() {
@@ -4307,7 +4307,7 @@ class bn extends pt {
4307
4307
  super(), this.from = t, this.to = n, this.mark = r;
4308
4308
  }
4309
4309
  apply(t) {
4310
- let n = t.slice(this.from, this.to), r = new _e(fo(n.content, (a) => a.mark(this.mark.removeFromSet(a.marks)), t), n.openStart, n.openEnd);
4310
+ let n = t.slice(this.from, this.to), r = new _e(mo(n.content, (a) => a.mark(this.mark.removeFromSet(a.marks)), t), n.openStart, n.openEnd);
4311
4311
  return Ye.fromReplace(t, this.from, this.to, r);
4312
4312
  }
4313
4313
  invert() {
@@ -4431,7 +4431,7 @@ class Et extends pt {
4431
4431
  super(), this.from = t, this.to = n, this.slice = r, this.structure = a;
4432
4432
  }
4433
4433
  apply(t) {
4434
- return this.structure && ta(t, this.from, this.to) ? Ye.fail("Structure replace would overwrite content") : Ye.fromReplace(t, this.from, this.to, this.slice);
4434
+ return this.structure && na(t, this.from, this.to) ? Ye.fail("Structure replace would overwrite content") : Ye.fromReplace(t, this.from, this.to, this.slice);
4435
4435
  }
4436
4436
  getMap() {
4437
4437
  return new Ct([this.from, this.to - this.from, this.slice.size]);
@@ -4480,7 +4480,7 @@ class vn extends pt {
4480
4480
  super(), this.from = t, this.to = n, this.gapFrom = r, this.gapTo = a, this.slice = o, this.insert = s, this.structure = l;
4481
4481
  }
4482
4482
  apply(t) {
4483
- if (this.structure && (ta(t, this.from, this.gapFrom) || ta(t, this.gapTo, this.to)))
4483
+ if (this.structure && (na(t, this.from, this.gapFrom) || na(t, this.gapTo, this.to)))
4484
4484
  return Ye.fail("Structure gap-replace would overwrite content");
4485
4485
  let n = t.slice(this.gapFrom, this.gapTo);
4486
4486
  if (n.openStart || n.openEnd)
@@ -4527,7 +4527,7 @@ class vn extends pt {
4527
4527
  }
4528
4528
  }
4529
4529
  pt.jsonID("replaceAround", vn);
4530
- function ta(e, t, n) {
4530
+ function na(e, t, n) {
4531
4531
  let r = e.resolve(t), a = n - t, o = r.depth;
4532
4532
  for (; a > 0 && o > 0 && r.indexAfter(o) == r.node(o).childCount; )
4533
4533
  o--, a--;
@@ -4910,7 +4910,7 @@ class mt extends ze {
4910
4910
  return { type: "node", anchor: this.anchor };
4911
4911
  }
4912
4912
  getBookmark() {
4913
- return new mo(this.anchor);
4913
+ return new go(this.anchor);
4914
4914
  }
4915
4915
  /**
4916
4916
  @internal
@@ -4936,13 +4936,13 @@ class mt extends ze {
4936
4936
  }
4937
4937
  mt.prototype.visible = !1;
4938
4938
  ze.jsonID("node", mt);
4939
- class mo {
4939
+ class go {
4940
4940
  constructor(t) {
4941
4941
  this.anchor = t;
4942
4942
  }
4943
4943
  map(t) {
4944
4944
  let { deleted: n, pos: r } = t.mapResult(this.anchor);
4945
- return n ? new pi(r, r) : new mo(r);
4945
+ return n ? new pi(r, r) : new go(r);
4946
4946
  }
4947
4947
  resolve(t) {
4948
4948
  let n = t.resolve(this.anchor), r = n.nodeAfter;
@@ -5361,11 +5361,11 @@ function Ur(e, t, n = { strict: !0 }) {
5361
5361
  const r = Object.keys(t);
5362
5362
  return r.length ? r.every((a) => n.strict ? t[a] === e[a] : Zm(t[a]) ? t[a].test(e[a]) : t[a] === e[a]) : !0;
5363
5363
  }
5364
- function na(e, t, n = {}) {
5364
+ function ra(e, t, n = {}) {
5365
5365
  return e.find((r) => r.type === t && Ur(r.attrs, n));
5366
5366
  }
5367
5367
  function fg(e, t, n = {}) {
5368
- return !!na(e, t, n);
5368
+ return !!ra(e, t, n);
5369
5369
  }
5370
5370
  function qc(e, t, n = {}) {
5371
5371
  if (!e || !t)
@@ -5373,11 +5373,11 @@ function qc(e, t, n = {}) {
5373
5373
  let r = e.parent.childAfter(e.parentOffset);
5374
5374
  if (e.parentOffset === r.offset && r.offset !== 0 && (r = e.parent.childBefore(e.parentOffset)), !r.node)
5375
5375
  return;
5376
- const a = na([...r.node.marks], t, n);
5376
+ const a = ra([...r.node.marks], t, n);
5377
5377
  if (!a)
5378
5378
  return;
5379
5379
  let o = r.index, s = e.start() + r.offset, l = o + 1, c = s + r.node.nodeSize;
5380
- for (na([...r.node.marks], t, n); o > 0 && a.isInSet(e.parent.child(o - 1).marks); )
5380
+ for (ra([...r.node.marks], t, n); o > 0 && a.isInSet(e.parent.child(o - 1).marks); )
5381
5381
  o -= 1, s -= e.parent.child(o).nodeSize;
5382
5382
  for (; l < e.parent.childCount && fg([...e.parent.child(l).marks], t, n); )
5383
5383
  c += e.parent.child(l).nodeSize, l += 1;
@@ -5428,7 +5428,7 @@ function bg(e, t = null) {
5428
5428
  const a = n.from, o = r.to;
5429
5429
  return t === "all" ? He.create(e, xn(0, a, o), xn(e.content.size, a, o)) : He.create(e, xn(t, a, o), xn(t, a, o));
5430
5430
  }
5431
- function go() {
5431
+ function bo() {
5432
5432
  return [
5433
5433
  "iPad Simulator",
5434
5434
  "iPhone Simulator",
@@ -5444,7 +5444,7 @@ const yg = (e = null, t = {}) => ({ editor: n, view: r, tr: a, dispatch: o }) =>
5444
5444
  ...t
5445
5445
  };
5446
5446
  const s = () => {
5447
- go() && r.dom.focus(), requestAnimationFrame(() => {
5447
+ bo() && r.dom.focus(), requestAnimationFrame(() => {
5448
5448
  n.isDestroyed || (r.focus(), t != null && t.scrollIntoView && n.commands.scrollIntoView());
5449
5449
  });
5450
5450
  };
@@ -5534,7 +5534,7 @@ function Ig(e) {
5534
5534
  else if (/^s(hift)?$/i.test(c))
5535
5535
  o = !0;
5536
5536
  else if (/^mod$/i.test(c))
5537
- go() || jc() ? s = !0 : a = !0;
5537
+ bo() || jc() ? s = !0 : a = !0;
5538
5538
  else
5539
5539
  throw new Error(`Unrecognized modifier name: ${c}`);
5540
5540
  }
@@ -5557,7 +5557,7 @@ const Mg = (e) => ({ editor: t, view: n, tr: r, dispatch: a }) => {
5557
5557
  p && a && r.maybeStep(p);
5558
5558
  }), !0;
5559
5559
  };
5560
- function bo(e, t, n = {}) {
5560
+ function yo(e, t, n = {}) {
5561
5561
  const { from: r, to: a, empty: o } = e.selection, s = t ? rt(t, e.schema) : null, l = [];
5562
5562
  e.doc.nodesBetween(r, a, (h, f) => {
5563
5563
  if (h.isText)
@@ -5574,7 +5574,7 @@ function bo(e, t, n = {}) {
5574
5574
  }
5575
5575
  const $g = (e, t = {}) => ({ state: n, dispatch: r }) => {
5576
5576
  const a = rt(e, n.schema);
5577
- return bo(n, a, t) ? vp(n, r) : !1;
5577
+ return yo(n, a, t) ? vp(n, r) : !1;
5578
5578
  }, zg = () => ({ state: e, dispatch: t }) => wp(e, t), Lg = (e) => ({ state: t, dispatch: n }) => {
5579
5579
  const r = rt(e, t.schema);
5580
5580
  return Mp(r)(t, n);
@@ -5627,7 +5627,7 @@ function Gg(e, t) {
5627
5627
  };
5628
5628
  }
5629
5629
  }
5630
- function yo(e) {
5630
+ function xo(e) {
5631
5631
  return (t) => Gg(t.$from, e);
5632
5632
  }
5633
5633
  function Yg(e, t) {
@@ -5824,7 +5824,7 @@ const tb = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, edit
5824
5824
  }
5825
5825
  return !0;
5826
5826
  }, ji = (e, t) => {
5827
- const n = yo((s) => s.type === t)(e.selection);
5827
+ const n = xo((s) => s.type === t)(e.selection);
5828
5828
  if (!n)
5829
5829
  return !0;
5830
5830
  const r = e.doc.resolve(Math.max(0, n.pos - 1)).before(n.depth);
@@ -5833,7 +5833,7 @@ const tb = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, edit
5833
5833
  const a = e.doc.nodeAt(r);
5834
5834
  return n.node.type === (a == null ? void 0 : a.type) && Fc(e.doc, n.pos) && e.join(n.pos), !0;
5835
5835
  }, Gi = (e, t) => {
5836
- const n = yo((s) => s.type === t)(e.selection);
5836
+ const n = xo((s) => s.type === t)(e.selection);
5837
5837
  if (!n)
5838
5838
  return !0;
5839
5839
  const r = e.doc.resolve(n.start).after(n.depth);
@@ -5845,7 +5845,7 @@ const tb = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, edit
5845
5845
  const { extensions: h, splittableMarks: f } = a.extensionManager, m = rt(e, s.schema), w = rt(t, s.schema), { selection: x, storedMarks: T } = s, { $from: $, $to: z } = x, j = $.blockRange(z), U = T || x.$to.parentOffset && x.$from.marks();
5846
5846
  if (!j)
5847
5847
  return !1;
5848
- const V = yo((O) => Vs(O.type.name, h))(x);
5848
+ const V = xo((O) => Vs(O.type.name, h))(x);
5849
5849
  if (j.depth >= 1 && V && j.depth - V.depth <= 1) {
5850
5850
  if (V.node.type === m)
5851
5851
  return d.liftListItem(w);
@@ -5861,10 +5861,10 @@ const tb = ({ keepMarks: e = !0 } = {}) => ({ tr: t, state: n, dispatch: r, edit
5861
5861
  return Hg(r, s, t) ? a.unsetMark(s, { extendEmptyMarkRange: o }) : a.setMark(s, t);
5862
5862
  }, ab = (e, t, n = {}) => ({ state: r, commands: a }) => {
5863
5863
  const o = rt(e, r.schema), s = rt(t, r.schema);
5864
- return bo(r, o, n) ? a.setNode(s) : a.setNode(o, n);
5864
+ return yo(r, o, n) ? a.setNode(s) : a.setNode(o, n);
5865
5865
  }, ob = (e, t = {}) => ({ state: n, commands: r }) => {
5866
5866
  const a = rt(e, n.schema);
5867
- return bo(n, a, t) ? r.lift(a) : r.wrapIn(a, t);
5867
+ return yo(n, a, t) ? r.lift(a) : r.wrapIn(a, t);
5868
5868
  }, sb = () => ({ state: e, dispatch: t }) => {
5869
5869
  const n = e.plugins;
5870
5870
  for (let r = 0; r < n.length; r += 1) {
@@ -6078,7 +6078,7 @@ Pt.create({
6078
6078
  "Ctrl-a": () => this.editor.commands.selectTextblockStart(),
6079
6079
  "Ctrl-e": () => this.editor.commands.selectTextblockEnd()
6080
6080
  };
6081
- return go() || jc() ? o : a;
6081
+ return bo() || jc() ? o : a;
6082
6082
  },
6083
6083
  addProseMirrorPlugins() {
6084
6084
  return [
@@ -6174,7 +6174,7 @@ const Yc = Pt.create({
6174
6174
  editor: e
6175
6175
  }) => {
6176
6176
  const t = e.getAttributes("textStyle").fontSize;
6177
- return /* @__PURE__ */ i(se.ControlsGroup, { children: /* @__PURE__ */ i(hl, { size: "xs", icon: /* @__PURE__ */ i(Za, { stroke: 1.5, size: 16 }), data: mb, styles: gb, value: t || "", onChange: (n) => {
6177
+ return /* @__PURE__ */ i(se.ControlsGroup, { children: /* @__PURE__ */ i(hl, { size: "xs", icon: /* @__PURE__ */ i(eo, { stroke: 1.5, size: 16 }), data: mb, styles: gb, value: t || "", onChange: (n) => {
6178
6178
  const r = n.currentTarget.value;
6179
6179
  r ? e.chain().focus().setFontSize(r).run() : e.chain().focus().unsetFontSize().run();
6180
6180
  } }) });
@@ -6201,7 +6201,7 @@ const Yc = Pt.create({
6201
6201
  n == null || n.commands.setContent(e);
6202
6202
  }, [e, n]);
6203
6203
  const r = M(() => k.defaultsDeep({}, {
6204
- content: po
6204
+ content: fo
6205
6205
  }, t), [t]);
6206
6206
  return /* @__PURE__ */ i(se, { editor: n, styles: r, children: /* @__PURE__ */ i(se.Content, {}) });
6207
6207
  };
@@ -6209,7 +6209,7 @@ function yb() {
6209
6209
  const [e, {
6210
6210
  open: t,
6211
6211
  close: n
6212
- }] = to(!1);
6212
+ }] = no(!1);
6213
6213
  return /* @__PURE__ */ u(W, { children: [
6214
6214
  /* @__PURE__ */ i(Te, { opened: e, onClose: n, title: "About FunctionUtils", zIndex: 330, withinPortal: !0, children: /* @__PURE__ */ i(fi, { value: tf, styles: {
6215
6215
  root: {
@@ -6269,7 +6269,7 @@ const xb = ({
6269
6269
  /* @__PURE__ */ i(v, { position: "left", children: /* @__PURE__ */ i(yb, {}) }),
6270
6270
  /* @__PURE__ */ u(v, { position: "right", children: [
6271
6271
  /* @__PURE__ */ i(I, { onClick: d, size: "xs", variant: "default", leftIcon: /* @__PURE__ */ i(Ml, { size: 16 }), children: "Reset to default" }),
6272
- /* @__PURE__ */ i(I, { onClick: c, color: "red", size: "xs", disabled: !p, leftIcon: /* @__PURE__ */ i(eo, { size: 16 }), children: "Revert Changes" }),
6272
+ /* @__PURE__ */ i(I, { onClick: c, color: "red", size: "xs", disabled: !p, leftIcon: /* @__PURE__ */ i(to, { size: 16 }), children: "Revert Changes" }),
6273
6273
  /* @__PURE__ */ i(I, { size: "xs", onClick: l, disabled: !p, leftIcon: /* @__PURE__ */ i(un, { size: 16 }), children: "Confirm Changes" })
6274
6274
  ] })
6275
6275
  ] }),
@@ -6287,7 +6287,7 @@ const xb = ({
6287
6287
  const [l, {
6288
6288
  open: c,
6289
6289
  close: d
6290
- }] = to(!1);
6290
+ }] = no(!1);
6291
6291
  return /* @__PURE__ */ u(W, { children: [
6292
6292
  /* @__PURE__ */ i(Te, { opened: l, onClose: d, title: "Authentication", withinPortal: !0, zIndex: 320, size: "900px", children: /* @__PURE__ */ i(N, { h: 600, children: /* @__PURE__ */ i(yr, { value: e, onChange: t, defaultValue: o, label: n }) }) }),
6293
6293
  /* @__PURE__ */ i(I, { onClick: c, ...a, children: r })
@@ -6328,7 +6328,7 @@ function Cb(e, t) {
6328
6328
  return e;
6329
6329
  }
6330
6330
  }
6331
- function xo(e, t) {
6331
+ function vo(e, t) {
6332
6332
  const n = e.map(_b);
6333
6333
  return Cb(n, t);
6334
6334
  }
@@ -6344,7 +6344,7 @@ function Sb(e, t, n) {
6344
6344
  }
6345
6345
  function mi(e, t, n) {
6346
6346
  try {
6347
- return n.type === "custom" ? Sb(e, t, n) : xo(Kt(e, t), n);
6347
+ return n.type === "custom" ? Sb(e, t, n) : vo(Kt(e, t), n);
6348
6348
  } catch (r) {
6349
6349
  return console.error(r), null;
6350
6350
  }
@@ -6455,7 +6455,7 @@ function Db({
6455
6455
  /* @__PURE__ */ i(K, { mr: 5, variant: "filled", color: "blue", disabled: !c, onClick: d, children: /* @__PURE__ */ i(ve, { size: 20 }) })
6456
6456
  ] }),
6457
6457
  /* @__PURE__ */ u(v, { children: [
6458
- a.map((f, m) => /* @__PURE__ */ i(Ya, { value: f, onChange: (w) => {
6458
+ a.map((f, m) => /* @__PURE__ */ i(Ha, { value: f, onChange: (w) => {
6459
6459
  o((x) => (x.splice(m, 1, w), [...x]));
6460
6460
  }, swatches: h, rightSection: /* @__PURE__ */ i(K, { onClick: () => l(m), color: "red", children: /* @__PURE__ */ i(be, { size: 14 }) }), sx: {
6461
6461
  width: "45%"
@@ -6878,7 +6878,7 @@ function Wb({
6878
6878
  } = e, a = e.data, {
6879
6879
  width: o,
6880
6880
  height: s
6881
- } = e.viewport, l = Oe({}, n, co), c = It({
6881
+ } = e.viewport, l = Fe({}, n, uo), c = It({
6882
6882
  vizManager: e.vizManager,
6883
6883
  instance: t
6884
6884
  }), d = Dt(c.triggerManager, Sc.id), p = zn(a, l.x_axis.data_key), h = nt((w) => {
@@ -7216,7 +7216,7 @@ function ey({
7216
7216
  set: n
7217
7217
  } = J(e.instanceData, "config"), {
7218
7218
  variables: r
7219
- } = e, a = M(() => Oe({}, t, co), [t]), {
7219
+ } = e, a = M(() => Fe({}, t, uo), [t]), {
7220
7220
  control: o,
7221
7221
  handleSubmit: s,
7222
7222
  watch: l,
@@ -7496,7 +7496,7 @@ const dy = {
7496
7496
  createConfig() {
7497
7497
  return {
7498
7498
  version: 9,
7499
- config: Ze(co)
7499
+ config: Ze(uo)
7500
7500
  };
7501
7501
  },
7502
7502
  triggers: [Sc]
@@ -7513,7 +7513,7 @@ function uy(e) {
7513
7513
  function hy(e) {
7514
7514
  return /* @__PURE__ */ i(C, { children: "Click this button" });
7515
7515
  }
7516
- const vo = {
7516
+ const wo = {
7517
7517
  content: "Button",
7518
7518
  variant: "filled",
7519
7519
  color: "blue",
@@ -7538,7 +7538,7 @@ const vo = {
7538
7538
  instance: t
7539
7539
  }), r = Dt(n.triggerManager, Uc.id), a = Ke(), {
7540
7540
  value: o
7541
- } = J(e.instanceData, "config"), s = M(() => De({}, o, vo), [o]), {
7541
+ } = J(e.instanceData, "config"), s = M(() => De({}, o, wo), [o]), {
7542
7542
  content: l,
7543
7543
  horizontal_align: c,
7544
7544
  vertical_align: d,
@@ -7556,7 +7556,7 @@ const vo = {
7556
7556
  height: f,
7557
7557
  justifyContent: py[c],
7558
7558
  alignItems: fy[d]
7559
- }, children: /* @__PURE__ */ i(I, { ...p, onClick: w, children: Ka(l)(m) }) });
7559
+ }, children: /* @__PURE__ */ i(I, { ...p, onClick: w, children: Ua(l)(m) }) });
7560
7560
  }), gy = ({
7561
7561
  value: e,
7562
7562
  onChange: t,
@@ -7628,7 +7628,7 @@ function _y({
7628
7628
  const {
7629
7629
  value: t,
7630
7630
  set: n
7631
- } = J(e.instanceData, "config"), r = M(() => De({}, t, vo), [t]), a = r;
7631
+ } = J(e.instanceData, "config"), r = M(() => De({}, t, wo), [t]), a = r;
7632
7632
  q(() => {
7633
7633
  !ke(r, a) && (console.log("config malformed, resetting to defaults", r, a), n(a));
7634
7634
  }, [r, a]);
@@ -7743,11 +7743,11 @@ const Sy = {
7743
7743
  createConfig() {
7744
7744
  return {
7745
7745
  version: 2,
7746
- config: Ze(vo)
7746
+ config: Ze(wo)
7747
7747
  };
7748
7748
  },
7749
7749
  triggers: [Uc]
7750
- }, wo = {
7750
+ }, _o = {
7751
7751
  id: "builtin:echarts:click-echart:series",
7752
7752
  displayName: "Click Chart Series",
7753
7753
  nameRender: Ty,
@@ -7789,7 +7789,7 @@ const Xn = {
7789
7789
  y_axis_scroll: !1,
7790
7790
  x_axis_slider: !1,
7791
7791
  y_axis_slider: !1
7792
- }, _o = {
7792
+ }, Co = {
7793
7793
  regressions: [],
7794
7794
  series: [],
7795
7795
  stats: {
@@ -7823,7 +7823,7 @@ const Xn = {
7823
7823
  reference_areas: [],
7824
7824
  dataZoom: Xn
7825
7825
  };
7826
- function Co(e) {
7826
+ function So(e) {
7827
7827
  const t = [];
7828
7828
  return e.x_axis_scroll && t.push({
7829
7829
  type: "inside",
@@ -8039,12 +8039,12 @@ function Ry({
8039
8039
  }
8040
8040
  };
8041
8041
  }
8042
- function So(e, t, n) {
8042
+ function ko(e, t, n) {
8043
8043
  const r = Kt(e, t), a = Kt(e, n);
8044
8044
  return k.zip(r, a);
8045
8045
  }
8046
8046
  function Oy(e, t, n, r) {
8047
- const a = So(t, n, r);
8047
+ const a = ko(t, n, r);
8048
8048
  return k.unionBy(a, e, 0);
8049
8049
  }
8050
8050
  function Fy({
@@ -8072,9 +8072,9 @@ function Py({
8072
8072
  y_axis_data_key: a,
8073
8073
  valueTypedXAxis: o
8074
8074
  });
8075
- const s = So(t, r, a), l = k.groupBy(s, "0");
8075
+ const s = ko(t, r, a), l = k.groupBy(s, "0");
8076
8076
  return e.map(([d]) => {
8077
- const h = l[d].map((m) => m[1]), f = xo(h, n);
8077
+ const h = l[d].map((m) => m[1]), f = vo(h, n);
8078
8078
  return [d, f];
8079
8079
  });
8080
8080
  }
@@ -8089,7 +8089,7 @@ function Vy({
8089
8089
  columnKey: o
8090
8090
  } = B(e), s = k.groupBy(t[a], o);
8091
8091
  return Object.entries(s).forEach(([l, c]) => {
8092
- s[l] = So({
8092
+ s[l] = ko({
8093
8093
  [a]: c
8094
8094
  }, n, r);
8095
8095
  }), s;
@@ -8317,7 +8317,7 @@ function Qy(e, t, n) {
8317
8317
  tooltip: Wy(e, s, a),
8318
8318
  grid: Dy(e),
8319
8319
  legend: $y(s),
8320
- dataZoom: Co(e.dataZoom)
8320
+ dataZoom: So(e.dataZoom)
8321
8321
  };
8322
8322
  return De({}, c, Hy);
8323
8323
  }
@@ -8333,7 +8333,7 @@ function qs(e) {
8333
8333
  series: n
8334
8334
  });
8335
8335
  }
8336
- ge.use([Nt, Hn, Qn, oi, bt, yt, xt, st, ii, Ua]);
8336
+ ge.use([Nt, Hn, Qn, oi, bt, yt, xt, st, ii, Xa]);
8337
8337
  function Ws(e) {
8338
8338
  return e.trim().length > 0;
8339
8339
  }
@@ -8345,7 +8345,7 @@ function Ky({
8345
8345
  interactionManager: a,
8346
8346
  variables: o
8347
8347
  }) {
8348
- const s = zn(t, e.x_axis_data_key), l = Dt(a.triggerManager, wo.id), c = nt((m) => {
8348
+ const s = zn(t, e.x_axis_data_key), l = Dt(a.triggerManager, _o.id), c = nt((m) => {
8349
8349
  const w = k.get(s, m.name, {
8350
8350
  error: "rowData is not found"
8351
8351
  });
@@ -8378,7 +8378,7 @@ function Uy({
8378
8378
  value: r
8379
8379
  } = J(e.instanceData, "config"), {
8380
8380
  variables: a
8381
- } = e, o = M(() => Oe({}, r, _o), [r]), s = e.data, {
8381
+ } = e, o = M(() => Fe({}, r, Co), [r]), s = e.data, {
8382
8382
  width: l,
8383
8383
  height: c
8384
8384
  } = e.viewport, {
@@ -8408,7 +8408,7 @@ function Uy({
8408
8408
  }, children: Object.values(m.bottom).map((x, T) => /* @__PURE__ */ i(R.Fragment, { children: x }, T)) })
8409
8409
  ] });
8410
8410
  }
8411
- const ko = we(({
8411
+ const To = we(({
8412
8412
  value: e,
8413
8413
  onChange: t
8414
8414
  }, n) => {
@@ -8920,7 +8920,7 @@ function lx({
8920
8920
  s.map((p, h) => /* @__PURE__ */ i(g.Panel, { value: h.toString(), children: /* @__PURE__ */ i(sx, { regressionItem: p, control: e, index: h, remove: a, yAxisOptions: c }, h) }, h))
8921
8921
  ] });
8922
8922
  }
8923
- const To = {
8923
+ const Do = {
8924
8924
  static: {
8925
8925
  type: "static",
8926
8926
  size: 10
@@ -9016,7 +9016,7 @@ const ux = ({
9016
9016
  func_content: h
9017
9017
  }));
9018
9018
  }, p = () => {
9019
- d(To.dynamic.func_content);
9019
+ d(Do.dynamic.func_content);
9020
9020
  };
9021
9021
  return /* @__PURE__ */ u(W, { children: [
9022
9022
  /* @__PURE__ */ i(N, { sx: {
@@ -9065,7 +9065,7 @@ const ux = ({
9065
9065
  }, r) => {
9066
9066
  const a = (o) => {
9067
9067
  n({
9068
- ...To[o]
9068
+ ...Do[o]
9069
9069
  });
9070
9070
  };
9071
9071
  return /* @__PURE__ */ u(ln, { cols: 2, children: [
@@ -9330,7 +9330,7 @@ function _x({
9330
9330
  type: "bar",
9331
9331
  name: Cn(),
9332
9332
  showSymbol: !1,
9333
- symbolSize: To.static,
9333
+ symbolSize: Do.static,
9334
9334
  y_axis_data_key: "value",
9335
9335
  yAxisIndex: 0,
9336
9336
  label_position: "top",
@@ -9588,7 +9588,7 @@ function zx({
9588
9588
  set: n
9589
9589
  } = J(e.instanceData, "config"), {
9590
9590
  variables: r
9591
- } = e, a = M(() => De({}, t, _o), [t]), {
9591
+ } = e, a = M(() => De({}, t, Co), [t]), {
9592
9592
  control: o,
9593
9593
  handleSubmit: s,
9594
9594
  watch: l,
@@ -9638,7 +9638,7 @@ function zx({
9638
9638
  /* @__PURE__ */ i(g.Panel, { value: "Reference Areas", children: /* @__PURE__ */ i(ex, { variables: r, control: o, watch: l }) }),
9639
9639
  /* @__PURE__ */ i(g.Panel, { value: "Zooming", children: /* @__PURE__ */ i(y, { name: "dataZoom", control: o, render: ({
9640
9640
  field: f
9641
- }) => /* @__PURE__ */ i(ko, { ...f }) }) })
9641
+ }) => /* @__PURE__ */ i(To, { ...f }) }) })
9642
9642
  ] })
9643
9643
  ] }) });
9644
9644
  }
@@ -10056,10 +10056,10 @@ const Ux = {
10056
10056
  createConfig() {
10057
10057
  return {
10058
10058
  version: 18,
10059
- config: Ze(_o)
10059
+ config: Ze(Co)
10060
10060
  };
10061
10061
  },
10062
- triggers: [wo]
10062
+ triggers: [_o]
10063
10063
  };
10064
10064
  function Xx(e) {
10065
10065
  if (e.enable_value)
@@ -10211,7 +10211,7 @@ function av(e) {
10211
10211
  funnelAlign: "center"
10212
10212
  };
10213
10213
  }
10214
- const Do = {
10214
+ const Io = {
10215
10215
  series: [av("Funnel")]
10216
10216
  };
10217
10217
  ge.use([Vh, Nt, bt, yt, xt, st]);
@@ -10232,7 +10232,7 @@ function sv({
10232
10232
  }) {
10233
10233
  const {
10234
10234
  value: t
10235
- } = J(e.instanceData, "config"), n = M(() => Oe({}, t, Do), [t]), r = e.data, {
10235
+ } = J(e.instanceData, "config"), n = M(() => Fe({}, t, Io), [t]), r = e.data, {
10236
10236
  width: a,
10237
10237
  height: o
10238
10238
  } = e.viewport;
@@ -10280,7 +10280,7 @@ const lv = [{
10280
10280
  }, {
10281
10281
  label: "InsideBottomRight",
10282
10282
  value: "insideBottomRight"
10283
- }], Io = we(({
10283
+ }], Mo = we(({
10284
10284
  label: e,
10285
10285
  value: t,
10286
10286
  onChange: n,
@@ -10442,7 +10442,7 @@ const lv = [{
10442
10442
  /* @__PURE__ */ u(v, { grow: !0, noWrap: !0, children: [
10443
10443
  /* @__PURE__ */ i(y, { name: `series.${n}.axisLabel.position`, control: t, render: ({
10444
10444
  field: l
10445
- }) => /* @__PURE__ */ i(Io, { label: "Position", options: hv[s], ...l }) }),
10445
+ }) => /* @__PURE__ */ i(Mo, { label: "Position", options: hv[s], ...l }) }),
10446
10446
  /* @__PURE__ */ i(N, {})
10447
10447
  ] }),
10448
10448
  /* @__PURE__ */ i(v, { grow: !0, noWrap: !0, children: /* @__PURE__ */ i(y, { name: `series.${n}.axisLabel.overflow`, control: t, render: ({
@@ -10485,7 +10485,7 @@ function mv({
10485
10485
  const {
10486
10486
  value: t,
10487
10487
  set: n
10488
- } = J(e.instanceData, "config"), r = M(() => k.defaultsDeep({}, t, Do), [t]), {
10488
+ } = J(e.instanceData, "config"), r = M(() => k.defaultsDeep({}, t, Io), [t]), {
10489
10489
  control: a,
10490
10490
  handleSubmit: o,
10491
10491
  watch: s,
@@ -10597,7 +10597,7 @@ const xv = {
10597
10597
  configRender: mv,
10598
10598
  createConfig: () => ({
10599
10599
  version: 3,
10600
- config: Do
10600
+ config: Io
10601
10601
  })
10602
10602
  };
10603
10603
  function js({
@@ -11030,7 +11030,7 @@ const ed = {
11030
11030
  description: "Data of the row",
11031
11031
  valueType: "object"
11032
11032
  }]
11033
- }, Mo = {
11033
+ }, $o = {
11034
11034
  x_axis: {
11035
11035
  name: "",
11036
11036
  data_key: "",
@@ -11116,7 +11116,7 @@ function Nv({
11116
11116
  value: r
11117
11117
  } = J(e.instanceData, "config"), {
11118
11118
  variables: a
11119
- } = e, o = M(() => Oe({}, r, Mo), [r]), s = e.data, {
11119
+ } = e, o = M(() => Fe({}, r, $o), [r]), s = e.data, {
11120
11120
  width: l,
11121
11121
  height: c
11122
11122
  } = e.viewport;
@@ -11164,7 +11164,7 @@ function Bv({
11164
11164
  field: r
11165
11165
  }) => (
11166
11166
  // @ts-expect-error type of onChange
11167
- /* @__PURE__ */ i(ie, { size: "xs", icon: /* @__PURE__ */ i(Za, { size: 16 }), disabled: !n, ...r })
11167
+ /* @__PURE__ */ i(ie, { size: "xs", icon: /* @__PURE__ */ i(eo, { size: 16 }), disabled: !n, ...r })
11168
11168
  ) })
11169
11169
  ] })
11170
11170
  ] });
@@ -11428,7 +11428,7 @@ function Uv({
11428
11428
  const {
11429
11429
  value: t,
11430
11430
  set: n
11431
- } = J(e.instanceData, "config"), r = M(() => De({}, t, Mo), [t]), a = M(() => k.cloneDeep(r), [r]);
11431
+ } = J(e.instanceData, "config"), r = M(() => De({}, t, $o), [t]), a = M(() => k.cloneDeep(r), [r]);
11432
11432
  q(() => {
11433
11433
  !ke(r, a) && (console.log("config malformed, resetting to defaults", r, a), n(a));
11434
11434
  }, [r, a]);
@@ -11590,7 +11590,7 @@ const t0 = {
11590
11590
  configRender: Uv,
11591
11591
  createConfig: () => ({
11592
11592
  version: 4,
11593
- config: Mo
11593
+ config: $o
11594
11594
  }),
11595
11595
  triggers: [ed]
11596
11596
  }, nd = {
@@ -11630,7 +11630,7 @@ function r0(e) {
11630
11630
  const rd = {
11631
11631
  label_template: "${percentage.x} of ${x_axis.name} causes ${percentage.y} of ${bar.name}",
11632
11632
  color: "rgba(0,0,0,0.3)"
11633
- }, $o = {
11633
+ }, zo = {
11634
11634
  x_axis: {
11635
11635
  name: "X Axis",
11636
11636
  data_key: "",
@@ -11885,7 +11885,7 @@ function h0(e, t) {
11885
11885
  function p0(e, t, n) {
11886
11886
  const r = a0(e);
11887
11887
  return {
11888
- dataZoom: Co(e.dataZoom),
11888
+ dataZoom: So(e.dataZoom),
11889
11889
  tooltip: d0(e, r),
11890
11890
  xAxis: u0(e),
11891
11891
  yAxis: h0(e, r),
@@ -11909,7 +11909,7 @@ function f0({
11909
11909
  } = J(e.instanceData, "config"), r = e.data, {
11910
11910
  width: a,
11911
11911
  height: o
11912
- } = e.viewport, s = Oe({}, n, $o), l = p0(s, r), c = It({
11912
+ } = e.viewport, s = Fe({}, n, zo), l = p0(s, r), c = It({
11913
11913
  vizManager: e.vizManager,
11914
11914
  instance: t
11915
11915
  }), d = Dt(c.triggerManager, nd.id), p = zn(r, s.x_axis.data_key), h = nt((m) => {
@@ -12039,7 +12039,7 @@ const x0 = `
12039
12039
  const [e, t] = Q(!1);
12040
12040
  return /* @__PURE__ */ u(W, { children: [
12041
12041
  /* @__PURE__ */ i(I, { variant: "subtle", compact: !0, onClick: () => t((n) => !n), children: e ? "Close" : "Click to see params for Label Template" }),
12042
- /* @__PURE__ */ i(Ha, { in: e, children: /* @__PURE__ */ i(Sn, { language: "typescript", noCopy: !0, colorScheme: "dark", children: x0 }) })
12042
+ /* @__PURE__ */ i(Qa, { in: e, children: /* @__PURE__ */ i(Sn, { language: "typescript", noCopy: !0, colorScheme: "dark", children: x0 }) })
12043
12043
  ] });
12044
12044
  };
12045
12045
  function w0({
@@ -12121,7 +12121,7 @@ function S0({
12121
12121
  const {
12122
12122
  value: t,
12123
12123
  set: n
12124
- } = J(e.instanceData, "config"), r = M(() => Oe({}, t, $o), [t]), {
12124
+ } = J(e.instanceData, "config"), r = M(() => Fe({}, t, zo), [t]), {
12125
12125
  control: a,
12126
12126
  handleSubmit: o,
12127
12127
  watch: s,
@@ -12167,7 +12167,7 @@ function S0({
12167
12167
  /* @__PURE__ */ i(g.Panel, { value: "80-20 Line", children: /* @__PURE__ */ i(w0, { control: a, watch: s }) }),
12168
12168
  /* @__PURE__ */ i(g.Panel, { value: "Zooming", children: /* @__PURE__ */ i(y, { name: "dataZoom", control: a, render: ({
12169
12169
  field: h
12170
- }) => /* @__PURE__ */ i(ko, { ...h }) }) })
12170
+ }) => /* @__PURE__ */ i(To, { ...h }) }) })
12171
12171
  ] })
12172
12172
  ] });
12173
12173
  }
@@ -12345,11 +12345,11 @@ const E0 = {
12345
12345
  createConfig() {
12346
12346
  return {
12347
12347
  version: 9,
12348
- config: Ze($o)
12348
+ config: Ze(zo)
12349
12349
  };
12350
12350
  },
12351
12351
  triggers: [nd]
12352
- }, ra = {
12352
+ }, ia = {
12353
12353
  grid: {
12354
12354
  axis: "#97999D",
12355
12355
  scope: "rgba(47,140,192,0.1)",
@@ -12414,9 +12414,9 @@ const E0 = {
12414
12414
  };
12415
12415
  function R0() {
12416
12416
  ge.registerTheme("merico-light", {
12417
- color: Object.values(ra.graphics.multiple),
12417
+ color: Object.values(ia.graphics.multiple),
12418
12418
  visualMap: {
12419
- color: Object.values(ra.graphics.depth).reverse()
12419
+ color: Object.values(ia.graphics.depth).reverse()
12420
12420
  }
12421
12421
  });
12422
12422
  }
@@ -12424,7 +12424,7 @@ function id() {
12424
12424
  R0();
12425
12425
  }
12426
12426
  function* O0(e) {
12427
- const t = ra.graphics[e];
12427
+ const t = ia.graphics[e];
12428
12428
  if (!t)
12429
12429
  throw new Error("Invalid palette key provided");
12430
12430
  const n = Object.values(t);
@@ -12477,7 +12477,7 @@ function F0(e, t, n) {
12477
12477
  },
12478
12478
  labelLayout: function(h) {
12479
12479
  const f = h.labelRect.x < n / 2, m = h.labelLinePoints;
12480
- return Qa(m, [2, 0], f ? h.labelRect.x : h.labelRect.x + h.labelRect.width), {
12480
+ return Ka(m, [2, 0], f ? h.labelRect.x : h.labelRect.x + h.labelRect.width), {
12481
12481
  labelLinePoints: m
12482
12482
  };
12483
12483
  },
@@ -12534,7 +12534,7 @@ function V0(e) {
12534
12534
  function N0(e) {
12535
12535
  return /* @__PURE__ */ i(C, { children: "Click chart's series" });
12536
12536
  }
12537
- const zo = {
12537
+ const Lo = {
12538
12538
  label_field: "",
12539
12539
  value_field: "",
12540
12540
  color_field: ""
@@ -12574,7 +12574,7 @@ function q0({
12574
12574
  instance: t
12575
12575
  }), {
12576
12576
  value: r
12577
- } = J(e.instanceData, "config"), a = M(() => k.defaults({}, r, zo), [r]), o = e.data, {
12577
+ } = J(e.instanceData, "config"), a = M(() => k.defaults({}, r, Lo), [r]), o = e.data, {
12578
12578
  width: s,
12579
12579
  height: l
12580
12580
  } = e.viewport;
@@ -12586,7 +12586,7 @@ function W0({
12586
12586
  const {
12587
12587
  value: t,
12588
12588
  set: n
12589
- } = J(e.instanceData, "config"), r = M(() => De({}, t, zo), [t]), a = M(() => k.clone(r), [r]), {
12589
+ } = J(e.instanceData, "config"), r = M(() => De({}, t, Lo), [t]), a = M(() => k.clone(r), [r]), {
12590
12590
  control: o,
12591
12591
  handleSubmit: s,
12592
12592
  watch: l,
@@ -12684,7 +12684,7 @@ const H0 = {
12684
12684
  createConfig() {
12685
12685
  return {
12686
12686
  version: 3,
12687
- config: Ze(zo)
12687
+ config: Ze(Lo)
12688
12688
  };
12689
12689
  },
12690
12690
  triggers: [ad]
@@ -13035,7 +13035,7 @@ function sw({
13035
13035
  p(m);
13036
13036
  };
13037
13037
  return /* @__PURE__ */ u(W, { children: [
13038
- /* @__PURE__ */ u(Ga, { icon: /* @__PURE__ */ i(Dn, { size: 16 }), title: "Additional Series", children: [
13038
+ /* @__PURE__ */ u(Ya, { icon: /* @__PURE__ */ i(Dn, { size: 16 }), title: "Additional Series", children: [
13039
13039
  "By setting ",
13040
13040
  /* @__PURE__ */ i(ch, { children: "Series Name Key" }),
13041
13041
  ", you may add series from more queries to the chart."
@@ -13762,7 +13762,7 @@ const _i = {
13762
13762
  enabled: !1,
13763
13763
  func_content: ["function label(value, index) {", " // your code goes here", " // return value", "}"].join(`
13764
13764
  `)
13765
- }, Lo = {
13765
+ }, Ao = {
13766
13766
  x_axis: {
13767
13767
  name: "X Axis",
13768
13768
  data_key: "",
@@ -13820,7 +13820,7 @@ function Ow({
13820
13820
  ...w,
13821
13821
  [f.columnKey]: Number(w[f.columnKey])
13822
13822
  });
13823
- }, [e.data, t == null ? void 0 : t.regression.y_axis_data_key]), o = M(() => Tw(De({}, t, Lo), a), [t, a]), s = ni(null), l = (c) => {
13823
+ }, [e.data, t == null ? void 0 : t.regression.y_axis_data_key]), o = M(() => Tw(De({}, t, Ao), a), [t, a]), s = ni(null), l = (c) => {
13824
13824
  s.current = c;
13825
13825
  };
13826
13826
  return !n || !r || !t ? null : /* @__PURE__ */ u(N, { sx: {
@@ -14036,7 +14036,7 @@ function qw({
14036
14036
  const {
14037
14037
  value: t,
14038
14038
  set: n
14039
- } = J(e.instanceData, "config"), r = M(() => Oe({}, t, Lo), [t]), {
14039
+ } = J(e.instanceData, "config"), r = M(() => Fe({}, t, Ao), [t]), {
14040
14040
  control: a,
14041
14041
  handleSubmit: o,
14042
14042
  watch: s,
@@ -14153,7 +14153,7 @@ const Yw = {
14153
14153
  createConfig() {
14154
14154
  return {
14155
14155
  version: 3,
14156
- config: Ze(Lo)
14156
+ config: Ze(Ao)
14157
14157
  };
14158
14158
  }
14159
14159
  }, Ci = {
@@ -14211,7 +14211,7 @@ const Xw = D(({
14211
14211
  variables: r,
14212
14212
  data: a
14213
14213
  } = e, o = M(() => {
14214
- const s = Oe({}, n, Ci);
14214
+ const s = Fe({}, n, Ci);
14215
14215
  return s.content ? Uw(s.content, r, t.payloadForViz, a) : "";
14216
14216
  }, [n, r, t.payloadForViz]);
14217
14217
  return o ? /* @__PURE__ */ i(fi, { value: o, styles: {
@@ -14234,7 +14234,7 @@ function Jw() {
14234
14234
  withHeaderRow: !0
14235
14235
  }), "aria-label": "Insert table", title: "Insert table", children: /* @__PURE__ */ i(jh, { stroke: 1.5, size: 16 }) });
14236
14236
  }
14237
- const Ao = we(({
14237
+ const Eo = we(({
14238
14238
  value: e,
14239
14239
  onChange: t,
14240
14240
  styles: n = {},
@@ -14266,7 +14266,7 @@ const Ao = we(({
14266
14266
  const d = () => {
14267
14267
  t(s), a == null || a();
14268
14268
  }, p = e !== s, h = M(() => k.defaultsDeep({}, {
14269
- content: po
14269
+ content: fo
14270
14270
  }, n), [n]);
14271
14271
  return c ? /* @__PURE__ */ u(S, { spacing: 4, sx: {
14272
14272
  flexGrow: 1,
@@ -14326,7 +14326,7 @@ function Zw({
14326
14326
  const {
14327
14327
  value: t,
14328
14328
  set: n
14329
- } = J(e.instanceData, "config"), r = M(() => Oe({}, t, Ci), [t]), {
14329
+ } = J(e.instanceData, "config"), r = M(() => Fe({}, t, Ci), [t]), {
14330
14330
  control: a,
14331
14331
  handleSubmit: o,
14332
14332
  watch: s,
@@ -14360,7 +14360,7 @@ function Zw({
14360
14360
  field: p
14361
14361
  }) => (
14362
14362
  // @ts-expect-error type of onChange
14363
- /* @__PURE__ */ i(Ao, { ...p, styles: {
14363
+ /* @__PURE__ */ i(Eo, { ...p, styles: {
14364
14364
  root: {
14365
14365
  flexGrow: 1
14366
14366
  }
@@ -14374,7 +14374,7 @@ class e_ extends Re {
14374
14374
  Y(this, "VERSION", 1);
14375
14375
  }
14376
14376
  fixMalformedConfig(n) {
14377
- return Oe({}, n, Ci);
14377
+ return Fe({}, n, Ci);
14378
14378
  }
14379
14379
  configVersions() {
14380
14380
  this.version(1, (n) => ({
@@ -14450,7 +14450,7 @@ const fd = {
14450
14450
  }, md = {
14451
14451
  label: gt.on_axis,
14452
14452
  tooltip: gt.in_tooltip
14453
- }, Eo = {
14453
+ }, Ro = {
14454
14454
  scatter: {
14455
14455
  y_data_key: "",
14456
14456
  name_data_key: "",
@@ -14875,11 +14875,11 @@ function x_(e, t, n) {
14875
14875
  tooltip: m_(e, a),
14876
14876
  grid: a_(e),
14877
14877
  legend: o_(),
14878
- dataZoom: Co(e.dataZoom)
14878
+ dataZoom: So(e.dataZoom)
14879
14879
  };
14880
14880
  return De({}, l, y_);
14881
14881
  }
14882
- ge.use([Nt, Hn, Qn, oi, bt, yt, xt, st, ii, Ua]);
14882
+ ge.use([Nt, Hn, Qn, oi, bt, yt, xt, st, ii, Xa]);
14883
14883
  function Qs(e) {
14884
14884
  return e.trim().length > 0;
14885
14885
  }
@@ -14918,7 +14918,7 @@ function w_({
14918
14918
  value: r
14919
14919
  } = J(e.instanceData, "config"), {
14920
14920
  variables: a
14921
- } = e, o = M(() => Oe({}, r, Eo), [r]), s = e.data, {
14921
+ } = e, o = M(() => Fe({}, r, Ro), [r]), s = e.data, {
14922
14922
  width: l,
14923
14923
  height: c
14924
14924
  } = e.viewport, {
@@ -14963,7 +14963,7 @@ const __ = we(({
14963
14963
  /* @__PURE__ */ i(A, { mb: -15, variant: "dashed", label: "Content", labelPosition: "right" }),
14964
14964
  /* @__PURE__ */ u(v, { grow: !0, noWrap: !0, children: [
14965
14965
  /* @__PURE__ */ i(L, { label: "Content Text", value: e.content.text, onChange: (l) => s("content.text", l.currentTarget.value) }),
14966
- /* @__PURE__ */ i(Io, { label: "Text Position", value: e.label.position, onChange: (l) => s("label.position", l) })
14966
+ /* @__PURE__ */ i(Mo, { label: "Text Position", value: e.label.position, onChange: (l) => s("label.position", l) })
14967
14967
  ] }),
14968
14968
  /* @__PURE__ */ i(A, { mb: -15, variant: "dashed", label: "Endpoints", labelPosition: "right" }),
14969
14969
  /* @__PURE__ */ u(v, { grow: !0, noWrap: !0, children: [
@@ -15313,7 +15313,7 @@ const M_ = ({
15313
15313
  color: r
15314
15314
  });
15315
15315
  };
15316
- return /* @__PURE__ */ i(Ya, { label: " ", format: "rgb", value: e.color, onChange: n });
15316
+ return /* @__PURE__ */ i(Ha, { label: " ", format: "rgb", value: e.color, onChange: n });
15317
15317
  }, A_ = [{
15318
15318
  label: "Static",
15319
15319
  value: "static"
@@ -15898,7 +15898,7 @@ function iC({
15898
15898
  set: n
15899
15899
  } = J(e.instanceData, "config"), {
15900
15900
  variables: r
15901
- } = e, a = M(() => De({}, t, Eo), [t]), o = M(() => rC(a), [a]);
15901
+ } = e, a = M(() => De({}, t, Ro), [t]), o = M(() => rC(a), [a]);
15902
15902
  q(() => {
15903
15903
  !ke(a, o) && (console.log("config malformed, resetting to defaults", a, o), n(o));
15904
15904
  }, [a, o]);
@@ -15952,7 +15952,7 @@ function iC({
15952
15952
  /* @__PURE__ */ i(g.Panel, { value: "Reference Areas", children: /* @__PURE__ */ i(S_, { variables: r, control: s, watch: c }) }),
15953
15953
  /* @__PURE__ */ i(g.Panel, { value: "Zooming", children: /* @__PURE__ */ i(y, { name: "dataZoom", control: s, render: ({
15954
15954
  field: m
15955
- }) => /* @__PURE__ */ i(ko, { ...m }) }) })
15955
+ }) => /* @__PURE__ */ i(To, { ...m }) }) })
15956
15956
  ] })
15957
15957
  ] }) });
15958
15958
  }
@@ -16142,11 +16142,11 @@ const hC = {
16142
16142
  createConfig() {
16143
16143
  return {
16144
16144
  version: 9,
16145
- config: Ze(Eo)
16145
+ config: Ze(Ro)
16146
16146
  };
16147
16147
  },
16148
16148
  triggers: [pd]
16149
- }, Ro = {
16149
+ }, Oo = {
16150
16150
  template: "The variable ${value} is defined in Variables section",
16151
16151
  vertical_align: "center",
16152
16152
  horizontal_align: "left"
@@ -16202,7 +16202,7 @@ function mC(e) {
16202
16202
  }
16203
16203
  function gC(e) {
16204
16204
  const t = Ze(e), n = ce(t, "color.valueRange");
16205
- return n !== void 0 && Qa(t, "color.valueRange", n.map((r) => Number(r))), t;
16205
+ return n !== void 0 && Ka(t, "color.valueRange", n.map((r) => Number(r))), t;
16206
16206
  }
16207
16207
  class bC extends Re {
16208
16208
  constructor() {
@@ -16250,7 +16250,7 @@ const yC = {
16250
16250
  context: e
16251
16251
  }) => {
16252
16252
  const t = Ke(), {
16253
- value: n = Ro
16253
+ value: n = Oo
16254
16254
  } = J(e.instanceData, "config"), {
16255
16255
  variables: r
16256
16256
  } = e, {
@@ -16298,7 +16298,7 @@ function CC({
16298
16298
  const {
16299
16299
  value: t,
16300
16300
  set: n
16301
- } = J(e.instanceData, "config"), r = R.useMemo(() => De({}, t, Ro), [t]), {
16301
+ } = J(e.instanceData, "config"), r = R.useMemo(() => De({}, t, Oo), [t]), {
16302
16302
  control: a,
16303
16303
  handleSubmit: o,
16304
16304
  watch: s,
@@ -16352,7 +16352,7 @@ const SC = {
16352
16352
  createConfig() {
16353
16353
  return {
16354
16354
  version: 3,
16355
- config: Ro
16355
+ config: Oo
16356
16356
  };
16357
16357
  },
16358
16358
  displayName: "Stats",
@@ -16361,7 +16361,7 @@ const SC = {
16361
16361
  name: "stats",
16362
16362
  viewRender: vC,
16363
16363
  configRender: CC
16364
- }, Oo = {
16364
+ }, Fo = {
16365
16365
  label_key: "",
16366
16366
  value_key: "",
16367
16367
  group_key: "",
@@ -16522,7 +16522,7 @@ function EC({
16522
16522
  variables: t
16523
16523
  } = e, {
16524
16524
  value: n
16525
- } = J(e.instanceData, "config"), r = M(() => Oe({}, n, Oo), [n]), a = e.data, {
16525
+ } = J(e.instanceData, "config"), r = M(() => Fe({}, n, Fo), [n]), a = e.data, {
16526
16526
  width: o,
16527
16527
  height: s
16528
16528
  } = e.viewport, l = M(() => AC(r, a, t), [r, a, t]);
@@ -16610,7 +16610,7 @@ const OC = [{
16610
16610
  /* @__PURE__ */ u(v, { grow: !0, noWrap: !0, children: [
16611
16611
  /* @__PURE__ */ i(y, { name: `levels.${t}.label.position`, control: e, render: ({
16612
16612
  field: r
16613
- }) => /* @__PURE__ */ i(Io, { label: "Position", ...r }) }),
16613
+ }) => /* @__PURE__ */ i(Mo, { label: "Position", ...r }) }),
16614
16614
  /* @__PURE__ */ i(
16615
16615
  y,
16616
16616
  {
@@ -16688,7 +16688,7 @@ function NC({
16688
16688
  const {
16689
16689
  value: t,
16690
16690
  set: n
16691
- } = J(e.instanceData, "config"), r = M(() => De({}, t, Oo), [t]), a = M(() => k.clone(r), [r]), {
16691
+ } = J(e.instanceData, "config"), r = M(() => De({}, t, Fo), [t]), a = M(() => k.clone(r), [r]), {
16692
16692
  control: o,
16693
16693
  handleSubmit: s,
16694
16694
  watch: l,
@@ -16823,7 +16823,7 @@ const YC = {
16823
16823
  createConfig() {
16824
16824
  return {
16825
16825
  version: 5,
16826
- config: Ze(Oo)
16826
+ config: Ze(Fo)
16827
16827
  };
16828
16828
  }
16829
16829
  };
@@ -16866,7 +16866,7 @@ const yd = ["function text({ value }) {", " // your code goes here", " ret
16866
16866
  default:
16867
16867
  return null;
16868
16868
  }
16869
- }, Fo = {
16869
+ }, Po = {
16870
16870
  id: "builtin:table:click-cell-content",
16871
16871
  displayName: "Click Cell Content",
16872
16872
  nameRender: JC,
@@ -16917,7 +16917,7 @@ function UC(e) {
16917
16917
  set: o
16918
16918
  } = J(e.trigger.triggerData, "config"), {
16919
16919
  column: s
16920
- } = Oe({}, a, KC), l = (c) => {
16920
+ } = Fe({}, a, KC), l = (c) => {
16921
16921
  isNaN(+c) ? o({
16922
16922
  column: c
16923
16923
  }) : o({
@@ -17035,7 +17035,7 @@ class n1 {
17035
17035
  };
17036
17036
  }
17037
17037
  getRelatedTrigger() {
17038
- return this.triggers.filter((n) => n.schemaRef === Fo.id).filter((n) => {
17038
+ return this.triggers.filter((n) => n.schemaRef === Po.id).filter((n) => {
17039
17039
  const r = this.getColIndex(this.cell), a = ce(this.cell.column.columnDef.meta, "value_field"), o = ce(n.config, "column");
17040
17040
  return o == r || o == a;
17041
17041
  });
@@ -17138,7 +17138,7 @@ function u1(e) {
17138
17138
  }
17139
17139
  }
17140
17140
  const h1 = (e) => {
17141
- const t = It(e), n = Dt(t.triggerManager, Fo.id), {
17141
+ const t = It(e), n = Dt(t.triggerManager, Po.id), {
17142
17142
  colorManager: r
17143
17143
  } = Ut(jt);
17144
17144
  return nt((a) => new n1(e.getColIndex, a, n, t, r), [n, t, e.getColIndex]);
@@ -17446,7 +17446,7 @@ function S1(e, t) {
17446
17446
  const k1 = we((e, t) => {
17447
17447
  const {
17448
17448
  colorManager: n
17449
- } = Ut(jt), [r, a] = Q(Cd(e.value)), [o, s] = Q(C1(n, e.value)), l = ys(o), [c, d] = Q(S1(n, e.value)), p = ys(c);
17449
+ } = Ut(jt), [r, a] = Q(Cd(e.value)), [o, s] = Q(C1(n, e.value)), l = xs(o), [c, d] = Q(S1(n, e.value)), p = xs(c);
17450
17450
  return /* @__PURE__ */ u(S, { align: "stretch", children: [
17451
17451
  /* @__PURE__ */ i(F, { label: "Cell background", value: r || "none", onChange: (w) => {
17452
17452
  var x, T, $;
@@ -17825,7 +17825,7 @@ class V1 extends Re {
17825
17825
  }));
17826
17826
  }
17827
17827
  }
17828
- const ia = {
17828
+ const aa = {
17829
17829
  createConfig() {
17830
17830
  return {
17831
17831
  version: 5,
@@ -17838,9 +17838,9 @@ const ia = {
17838
17838
  name: "table",
17839
17839
  viewRender: f1,
17840
17840
  configRender: R1,
17841
- triggers: [Fo]
17841
+ triggers: [Po]
17842
17842
  }, Sd = ["function text({ data, variables, filters, context}) {", " // your code goes here", ' return "text"', "}"].join(`
17843
- `), Po = {
17843
+ `), Vo = {
17844
17844
  func_content: Sd,
17845
17845
  horizontal_align: "left",
17846
17846
  font_size: "14px",
@@ -17849,7 +17849,7 @@ const ia = {
17849
17849
  context: e
17850
17850
  }) => {
17851
17851
  const t = Ke(), {
17852
- value: n = Po
17852
+ value: n = Vo
17853
17853
  } = J(e.instanceData, "config"), {
17854
17854
  variables: r
17855
17855
  } = e, a = e.data, {
@@ -17927,7 +17927,7 @@ function j1({
17927
17927
  const {
17928
17928
  value: t,
17929
17929
  set: n
17930
- } = J(e.instanceData, "config"), r = M(() => De({}, t, Po), [t]), a = M(() => {
17930
+ } = J(e.instanceData, "config"), r = M(() => De({}, t, Vo), [t]), a = M(() => {
17931
17931
  const {
17932
17932
  func_content: f,
17933
17933
  horizontal_align: m,
@@ -18018,7 +18018,7 @@ const Y1 = {
18018
18018
  createConfig() {
18019
18019
  return {
18020
18020
  version: 1,
18021
- config: Ze(Po)
18021
+ config: Ze(Vo)
18022
18022
  };
18023
18023
  }
18024
18024
  }, H1 = () => /* @__PURE__ */ u("svg", { width: "64", height: "64", viewBox: "0 0 64 64", fill: "none", children: [
@@ -18071,18 +18071,18 @@ const K1 = ({
18071
18071
  } catch (c) {
18072
18072
  throw Us(c, "response.data.detail"), Us(c, "response.data.error"), console.error(c), c;
18073
18073
  }
18074
- }, Vo = {
18074
+ }, No = {
18075
18075
  expertSystemURL: "",
18076
18076
  path: "",
18077
18077
  goal: "",
18078
18078
  question: ""
18079
- }, aa = {
18079
+ }, oa = {
18080
18080
  height: "100%",
18081
18081
  overflowY: "auto",
18082
- ...po
18082
+ ...fo
18083
18083
  }, Xs = ({
18084
18084
  message: e
18085
- }) => /* @__PURE__ */ i(N, { sx: aa, children: /* @__PURE__ */ i("div", { dangerouslySetInnerHTML: {
18085
+ }) => /* @__PURE__ */ i(N, { sx: oa, children: /* @__PURE__ */ i("div", { dangerouslySetInnerHTML: {
18086
18086
  __html: e
18087
18087
  }, style: {
18088
18088
  fontSize: "14px",
@@ -18110,7 +18110,7 @@ function X1({
18110
18110
  }) {
18111
18111
  const {
18112
18112
  value: t
18113
- } = J(e.instanceData, "config"), n = M(() => De({}, t, Vo), [t]), {
18113
+ } = J(e.instanceData, "config"), n = M(() => De({}, t, No), [t]), {
18114
18114
  width: r,
18115
18115
  height: a
18116
18116
  } = e.viewport, o = e.data, {
@@ -18126,7 +18126,7 @@ function X1({
18126
18126
  return !r || !a || !n ? null : c ? /* @__PURE__ */ i(N, { sx: {
18127
18127
  position: "relative",
18128
18128
  height: a
18129
- }, children: /* @__PURE__ */ i(kn, { visible: !0 }) }) : l ? /* @__PURE__ */ i(N, { sx: aa, "data-enable-scrollbar": !0, children: /* @__PURE__ */ i(U1, { error: l, width: r, height: a }) }) : !s || !Array.isArray(s.replies) || s.replies.length === 0 ? null : /* @__PURE__ */ i(N, { sx: aa, "data-enable-scrollbar": !0, children: s.replies.map((d, p) => /* @__PURE__ */ i("div", { dangerouslySetInnerHTML: {
18129
+ }, children: /* @__PURE__ */ i(kn, { visible: !0 }) }) : l ? /* @__PURE__ */ i(N, { sx: oa, "data-enable-scrollbar": !0, children: /* @__PURE__ */ i(U1, { error: l, width: r, height: a }) }) : !s || !Array.isArray(s.replies) || s.replies.length === 0 ? null : /* @__PURE__ */ i(N, { sx: oa, "data-enable-scrollbar": !0, children: s.replies.map((d, p) => /* @__PURE__ */ i("div", { dangerouslySetInnerHTML: {
18130
18130
  __html: d.interpretation.html
18131
18131
  } }, p)) });
18132
18132
  }
@@ -18136,7 +18136,7 @@ function J1({
18136
18136
  const {
18137
18137
  value: t,
18138
18138
  set: n
18139
- } = J(e.instanceData, "config"), r = M(() => De({}, t, Vo), [t]), {
18139
+ } = J(e.instanceData, "config"), r = M(() => De({}, t, No), [t]), {
18140
18140
  control: a,
18141
18141
  handleSubmit: o,
18142
18142
  watch: s,
@@ -18194,7 +18194,7 @@ const eS = {
18194
18194
  createConfig() {
18195
18195
  return {
18196
18196
  version: 1,
18197
- config: Ze(Vo)
18197
+ config: Ze(No)
18198
18198
  };
18199
18199
  }
18200
18200
  };
@@ -18439,7 +18439,7 @@ const kd = {
18439
18439
  description: "Data of the row",
18440
18440
  valueType: "object"
18441
18441
  }]
18442
- }, No = {
18442
+ }, Bo = {
18443
18443
  calendar: {
18444
18444
  data_key: "",
18445
18445
  locale: "EN"
@@ -18510,7 +18510,7 @@ function yS({
18510
18510
  value: r
18511
18511
  } = J(e.instanceData, "config"), {
18512
18512
  variables: a
18513
- } = e, o = M(() => k.defaults({}, r, No), [r]), s = e.data, {
18513
+ } = e, o = M(() => k.defaults({}, r, Bo), [r]), s = e.data, {
18514
18514
  width: l,
18515
18515
  height: c
18516
18516
  } = e.viewport;
@@ -18660,7 +18660,7 @@ function kS({
18660
18660
  const {
18661
18661
  value: t,
18662
18662
  set: n
18663
- } = J(e.instanceData, "config"), r = M(() => De({}, t, No), [t]), a = M(() => k.cloneDeep(r), [r]);
18663
+ } = J(e.instanceData, "config"), r = M(() => De({}, t, Bo), [t]), a = M(() => k.cloneDeep(r), [r]);
18664
18664
  q(() => {
18665
18665
  !ke(r, a) && (console.log("config malformed, resetting to defaults", r, a), n(a));
18666
18666
  }, [r, a]);
@@ -18793,10 +18793,10 @@ const MS = {
18793
18793
  configRender: kS,
18794
18794
  createConfig: () => ({
18795
18795
  version: 3,
18796
- config: No
18796
+ config: Bo
18797
18797
  }),
18798
18798
  triggers: [kd]
18799
- }, Bo = {
18799
+ }, qo = {
18800
18800
  x_axes: [{
18801
18801
  id: "initial-x",
18802
18802
  min: "",
@@ -18975,7 +18975,7 @@ function VS({
18975
18975
  });
18976
18976
  const s = Si(t, r, a), l = k.groupBy(s, "0");
18977
18977
  return e.map(([d]) => {
18978
- const h = l[d].map((m) => m[1]), f = xo(h, n);
18978
+ const h = l[d].map((m) => m[1]), f = vo(h, n);
18979
18979
  return [d, f];
18980
18980
  });
18981
18981
  }
@@ -19213,7 +19213,7 @@ function KS(e, t, n) {
19213
19213
  legend: RS(c)
19214
19214
  };
19215
19215
  }
19216
- ge.use([Nt, Hn, Qn, oi, bt, yt, xt, st, ii, Ua]);
19216
+ ge.use([Nt, Hn, Qn, oi, bt, yt, xt, st, ii, Xa]);
19217
19217
  function US({
19218
19218
  conf: e,
19219
19219
  data: t,
@@ -19222,7 +19222,7 @@ function US({
19222
19222
  interactionManager: a,
19223
19223
  variables: o
19224
19224
  }) {
19225
- const s = zn(t, e.y_axis.data_key), l = Dt(a.triggerManager, wo.id), c = nt((h) => {
19225
+ const s = zn(t, e.y_axis.data_key), l = Dt(a.triggerManager, _o.id), c = nt((h) => {
19226
19226
  const f = k.get(s, h.name, {
19227
19227
  error: "rowData is not found"
19228
19228
  });
@@ -19251,7 +19251,7 @@ function XS({
19251
19251
  value: r
19252
19252
  } = J(e.instanceData, "config"), {
19253
19253
  variables: a
19254
- } = e, o = M(() => Oe({}, r, Bo), [r]), s = e.data, {
19254
+ } = e, o = M(() => Fe({}, r, qo), [r]), s = e.data, {
19255
19255
  width: l,
19256
19256
  height: c
19257
19257
  } = e.viewport;
@@ -19758,7 +19758,7 @@ function hk({
19758
19758
  set: n
19759
19759
  } = J(e.instanceData, "config"), {
19760
19760
  variables: r
19761
- } = e, a = M(() => k.defaultsDeep({}, t, Bo), [t]), {
19761
+ } = e, a = M(() => k.defaultsDeep({}, t, qo), [t]), {
19762
19762
  control: o,
19763
19763
  handleSubmit: s,
19764
19764
  watch: l,
@@ -19865,9 +19865,9 @@ const mk = {
19865
19865
  configRender: hk,
19866
19866
  createConfig: () => ({
19867
19867
  version: 2,
19868
- config: Bo
19868
+ config: qo
19869
19869
  })
19870
- }, qo = {
19870
+ }, Wo = {
19871
19871
  x_axis: {
19872
19872
  name: "",
19873
19873
  data_key: "",
@@ -20373,10 +20373,10 @@ function kk(e) {
20373
20373
  }
20374
20374
  }];
20375
20375
  }
20376
- function oa(e) {
20377
- return e == 1 || e == 2 ? 1 : oa(e - 2) + oa(e - 1);
20376
+ function sa(e) {
20377
+ return e == 1 || e == 2 ? 1 : sa(e - 2) + sa(e - 1);
20378
20378
  }
20379
- const Tk = Array.from(new Array(20), (e, t) => oa(t + 1));
20379
+ const Tk = Array.from(new Array(20), (e, t) => sa(t + 1));
20380
20380
  function Zs(e) {
20381
20381
  return e <= 1 ? e : Tk.findIndex((t) => e <= t) - 1;
20382
20382
  }
@@ -20536,7 +20536,7 @@ function Vk({
20536
20536
  }) {
20537
20537
  const {
20538
20538
  value: t
20539
- } = J(e.instanceData, "config"), n = M(() => Oe({}, t, qo), [t]), r = e.data, {
20539
+ } = J(e.instanceData, "config"), n = M(() => Fe({}, t, Wo), [t]), r = e.data, {
20540
20540
  width: a,
20541
20541
  height: o
20542
20542
  } = e.viewport, {
@@ -20699,7 +20699,7 @@ function jk({
20699
20699
  const {
20700
20700
  value: t,
20701
20701
  set: n
20702
- } = J(e.instanceData, "config"), r = M(() => k.defaultsDeep({}, t, qo), [t]), {
20702
+ } = J(e.instanceData, "config"), r = M(() => k.defaultsDeep({}, t, Wo), [t]), {
20703
20703
  control: a,
20704
20704
  handleSubmit: o,
20705
20705
  watch: s,
@@ -20806,9 +20806,9 @@ const Hk = {
20806
20806
  configRender: jk,
20807
20807
  createConfig: () => ({
20808
20808
  version: 2,
20809
- config: qo
20809
+ config: Wo
20810
20810
  })
20811
- }, Wo = {
20811
+ }, jo = {
20812
20812
  styles: {
20813
20813
  justify: "space-around",
20814
20814
  align: "start"
@@ -20888,7 +20888,7 @@ const el = ({
20888
20888
  value: n
20889
20889
  } = J(e.instanceData, "config"), {
20890
20890
  variables: r
20891
- } = e, a = M(() => k.defaults({}, n, Wo), [n]), o = e.data, s = M(() => Xc(o, r), [r, o]), {
20891
+ } = e, a = M(() => k.defaults({}, n, jo), [n]), o = e.data, s = M(() => Xc(o, r), [r, o]), {
20892
20892
  width: l,
20893
20893
  height: c
20894
20894
  } = e.viewport;
@@ -21100,7 +21100,7 @@ function iT({
21100
21100
  set: n
21101
21101
  } = J(e.instanceData, "config"), {
21102
21102
  variables: r
21103
- } = e, a = M(() => De({}, t, Wo), [t]), {
21103
+ } = e, a = M(() => De({}, t, jo), [t]), {
21104
21104
  control: o,
21105
21105
  handleSubmit: s,
21106
21106
  watch: l,
@@ -21167,7 +21167,7 @@ const sT = {
21167
21167
  configRender: iT,
21168
21168
  createConfig: () => ({
21169
21169
  version: 2,
21170
- config: Wo
21170
+ config: jo
21171
21171
  })
21172
21172
  };
21173
21173
  function lT({
@@ -21212,7 +21212,7 @@ function lT({
21212
21212
  field: r
21213
21213
  }) => (
21214
21214
  // @ts-expect-error type of onChange
21215
- /* @__PURE__ */ i(ie, { size: "xs", icon: /* @__PURE__ */ i(Za, { size: 16 }), disabled: !n, ...r })
21215
+ /* @__PURE__ */ i(ie, { size: "xs", icon: /* @__PURE__ */ i(eo, { size: 16 }), disabled: !n, ...r })
21216
21216
  ) })
21217
21217
  ] })
21218
21218
  ] });
@@ -21470,7 +21470,7 @@ function gT({
21470
21470
  ] })
21471
21471
  ] });
21472
21472
  }
21473
- const jo = {
21473
+ const Go = {
21474
21474
  x_axis: {
21475
21475
  name: "",
21476
21476
  data_key: "",
@@ -21521,7 +21521,7 @@ function bT({
21521
21521
  const {
21522
21522
  value: t,
21523
21523
  set: n
21524
- } = J(e.instanceData, "config"), r = M(() => De({}, t, jo), [t]), a = M(() => k.cloneDeep(r), [r]);
21524
+ } = J(e.instanceData, "config"), r = M(() => De({}, t, Go), [t]), a = M(() => k.cloneDeep(r), [r]);
21525
21525
  q(() => {
21526
21526
  !ke(r, a) && (console.log("config malformed, resetting to defaults", r, a), n(a));
21527
21527
  }, [r, a]);
@@ -21921,7 +21921,7 @@ function AT({
21921
21921
  value: r
21922
21922
  } = J(e.instanceData, "config"), {
21923
21923
  variables: a
21924
- } = e, o = M(() => Oe({}, r, jo), [r]), s = e.data, {
21924
+ } = e, o = M(() => Fe({}, r, Go), [r]), s = e.data, {
21925
21925
  width: l,
21926
21926
  height: c
21927
21927
  } = e.viewport;
@@ -21948,7 +21948,7 @@ const RT = {
21948
21948
  configRender: bT,
21949
21949
  createConfig: () => ({
21950
21950
  version: 1,
21951
- config: jo
21951
+ config: Go
21952
21952
  }),
21953
21953
  triggers: [Id]
21954
21954
  }, OT = [{
@@ -22002,7 +22002,7 @@ const RT = {
22002
22002
  id: "dashboard",
22003
22003
  version: hc,
22004
22004
  manifest: {
22005
- viz: [ia, SC, Y1, t_, YC, H0, mk, Af, dy, xv, t0, MS, E0, Ux, hC, bw, Yw, eS, Hk, RT, sT, Sy],
22005
+ viz: [aa, SC, Y1, t_, YC, H0, mk, Af, dy, xv, t0, MS, E0, Ux, hC, bw, Yw, eS, Hk, RT, sT, Sy],
22006
22006
  color: [...OT, ...FT]
22007
22007
  }
22008
22008
  }), ar = new _f(), qe = {
@@ -22017,7 +22017,7 @@ const RT = {
22017
22017
  operationManager: Yt("operationManager"),
22018
22018
  triggerManager: Yt("triggerManager")
22019
22019
  }
22020
- }, Go = () => {
22020
+ }, Yo = () => {
22021
22021
  try {
22022
22022
  ar.install(Md());
22023
22023
  } catch {
@@ -22028,18 +22028,18 @@ const RT = {
22028
22028
  vizManager: e,
22029
22029
  colorManager: t
22030
22030
  };
22031
- }, jt = ul(Go());
22031
+ }, jt = ul(Yo());
22032
22032
  try {
22033
22033
  ar.install(Md());
22034
22034
  } catch {
22035
22035
  }
22036
- const sa = ul(null);
22036
+ const la = ul(null);
22037
22037
  function ki(e) {
22038
- const t = R.useContext(sa), n = Lt(() => e.configure(t || new oo()), [e.configure]), r = mh(n);
22039
- return r && r !== n && r.dispose(), /* @__PURE__ */ i(sa.Provider, { value: n, children: e.children });
22038
+ const t = R.useContext(la), n = Lt(() => e.configure(t || new so()), [e.configure]), r = mh(n);
22039
+ return r && r !== n && r.dispose(), /* @__PURE__ */ i(la.Provider, { value: n, children: e.children });
22040
22040
  }
22041
22041
  function $d() {
22042
- return R.useContext(sa);
22042
+ return R.useContext(la);
22043
22043
  }
22044
22044
  const PT = {
22045
22045
  viewPanelInFullScreen: k.noop,
@@ -23308,7 +23308,7 @@ const uD = b.model("FilterDateRangeConfigMeta", {
23308
23308
  setValue(t) {
23309
23309
  e.value = t;
23310
23310
  }
23311
- })), Yo = b.model("FilterConfigModel_BaseSelect", {
23311
+ })), Ho = b.model("FilterConfigModel_BaseSelect", {
23312
23312
  static_options: b.optional(b.array(pD), []),
23313
23313
  options_query_id: b.optional(b.string, ""),
23314
23314
  default_selection_count: b.optional(b.number, 0),
@@ -23348,7 +23348,7 @@ const uD = b.model("FilterDateRangeConfigMeta", {
23348
23348
  _name: b.literal("multi-select"),
23349
23349
  min_width: b.optional(b.string, ""),
23350
23350
  default_value: b.optional(b.array(b.string), [])
23351
- }), Yo).views((e) => ({
23351
+ }), Ho).views((e) => ({
23352
23352
  get json() {
23353
23353
  const {
23354
23354
  _name: t,
@@ -23403,7 +23403,7 @@ const uD = b.model("FilterDateRangeConfigMeta", {
23403
23403
  _name: b.literal("select"),
23404
23404
  default_value: b.string,
23405
23405
  width: b.optional(b.string, "")
23406
- }), Yo).views((e) => ({
23406
+ }), Ho).views((e) => ({
23407
23407
  get json() {
23408
23408
  const {
23409
23409
  _name: t,
@@ -23525,7 +23525,7 @@ const jd = b.compose("FilterTreeSelectConfigMeta", b.model({
23525
23525
  _name: b.literal("tree-select"),
23526
23526
  min_width: b.optional(b.string, ""),
23527
23527
  default_value: b.optional(b.array(b.string), [])
23528
- }), Yo).views((e) => ({
23528
+ }), Ho).views((e) => ({
23529
23529
  get json() {
23530
23530
  const {
23531
23531
  _name: t,
@@ -23744,7 +23744,7 @@ const Yd = b.model("ViewDivisionConfig", {
23744
23744
  }) {
23745
23745
  e.enabled = t, e.func_content = n;
23746
23746
  }
23747
- })), la = {
23747
+ })), ca = {
23748
23748
  enabled: !1,
23749
23749
  func_content: ["function text({ filters, context}) {", " // your code goes here", ' return "text"', "}"].join(`
23750
23750
  `)
@@ -23752,7 +23752,7 @@ const Yd = b.model("ViewDivisionConfig", {
23752
23752
  _name: b.literal(Z.Modal),
23753
23753
  width: b.string,
23754
23754
  height: b.string,
23755
- custom_modal_title: b.optional(vD, la)
23755
+ custom_modal_title: b.optional(vD, ca)
23756
23756
  }).views((e) => ({
23757
23757
  get json() {
23758
23758
  const {
@@ -23954,7 +23954,7 @@ const Yd = b.model("ViewDivisionConfig", {
23954
23954
  replace(t) {
23955
23955
  e.list.length = 0, e.list.push(...t);
23956
23956
  }
23957
- })), Ho = b.model("ContextMeta", {
23957
+ })), Qo = b.model("ContextMeta", {
23958
23958
  current: b.optional(b.frozen(), {})
23959
23959
  }).views((e) => ({
23960
23960
  get keys() {
@@ -23975,7 +23975,7 @@ const Yd = b.model("ViewDivisionConfig", {
23975
23975
  }
23976
23976
  }));
23977
23977
  function Xd(e) {
23978
- return Ho.create({
23978
+ return Qo.create({
23979
23979
  current: e
23980
23980
  });
23981
23981
  }
@@ -24089,8 +24089,8 @@ function ID(e) {
24089
24089
  description: "<p></p>",
24090
24090
  queryIDs: [],
24091
24091
  viz: {
24092
- type: ia.name,
24093
- conf: ia.createConfig()
24092
+ type: aa.name,
24093
+ conf: aa.createConfig()
24094
24094
  },
24095
24095
  style: {
24096
24096
  border: {
@@ -24294,7 +24294,7 @@ const OD = b.compose("QueryRenderModel", $D, b.model({
24294
24294
  })).views((e) => ({
24295
24295
  get formattedSQL() {
24296
24296
  const t = Ie(e).content.payloadForSQL;
24297
- return io(e.sql, t);
24297
+ return ao(e.sql, t);
24298
24298
  },
24299
24299
  get typedAsSQL() {
24300
24300
  return [We.Postgresql, We.MySQL].includes(e.type);
@@ -24410,13 +24410,13 @@ function FD(e, t) {
24410
24410
  const n = new Blob([iu + t], {
24411
24411
  type: "text/csv"
24412
24412
  });
24413
- no(n, `${e}.csv`);
24413
+ ro(n, `${e}.csv`);
24414
24414
  }
24415
24415
  function au(e, t) {
24416
24416
  const n = new Blob([t], {
24417
24417
  type: "application/json"
24418
24418
  });
24419
- no(n, `${e}.json`);
24419
+ ro(n, `${e}.json`);
24420
24420
  }
24421
24421
  function nl(e) {
24422
24422
  const t = new jp();
@@ -24428,7 +24428,7 @@ function nl(e) {
24428
24428
  }), t.generateAsync({
24429
24429
  type: "blob"
24430
24430
  }).then((n) => {
24431
- no(n, "dashboard_data.zip");
24431
+ ro(n, "dashboard_data.zip");
24432
24432
  });
24433
24433
  }
24434
24434
  function rl(e) {
@@ -24536,7 +24536,7 @@ function ND(e) {
24536
24536
  function Zr(e, t, n, r) {
24537
24537
  return e.reduce((a, o) => {
24538
24538
  try {
24539
- a[o[t]] = ro(o[n], r);
24539
+ a[o[t]] = io(o[n], r);
24540
24540
  } catch (s) {
24541
24541
  a[o[t]] = s.message;
24542
24542
  }
@@ -24565,7 +24565,7 @@ class BD {
24565
24565
  const qD = (e) => new BD(e), WD = D(({
24566
24566
  view: e
24567
24567
  }) => {
24568
- const t = Fe(), n = Ce(), r = Jt(), {
24568
+ const t = Oe(), n = Ce(), r = Jt(), {
24569
24569
  panel: a,
24570
24570
  downloadPanelScreenshot: o
24571
24571
  } = qt(), {
@@ -24604,8 +24604,8 @@ const qD = (e) => new BD(e), WD = D(({
24604
24604
  height: "25px"
24605
24605
  } }) }),
24606
24606
  /* @__PURE__ */ u(he.Dropdown, { children: [
24607
- /* @__PURE__ */ i(he.Item, { onClick: a.refreshData, icon: /* @__PURE__ */ i(Xa, { size: 14 }), children: "Refresh" }),
24608
- /* @__PURE__ */ i(he.Item, { onClick: a.downloadData, icon: /* @__PURE__ */ i(Ja, { size: 14 }), children: "Download Data" }),
24607
+ /* @__PURE__ */ i(he.Item, { onClick: a.refreshData, icon: /* @__PURE__ */ i(Ja, { size: 14 }), children: "Refresh" }),
24608
+ /* @__PURE__ */ i(he.Item, { onClick: a.downloadData, icon: /* @__PURE__ */ i(Za, { size: 14 }), children: "Download Data" }),
24609
24609
  /* @__PURE__ */ i(he.Item, { onClick: o, icon: /* @__PURE__ */ i(li, { size: 14 }), children: "Screenshot" }),
24610
24610
  m && /* @__PURE__ */ i(he.Item, { onClick: f, icon: /* @__PURE__ */ i(Dl, { size: 14 }), disabled: !0, children: "Full Screen" }),
24611
24611
  /* @__PURE__ */ i(A, { label: "Edit", labelPosition: "center" }),
@@ -24730,7 +24730,7 @@ function uu(e) {
24730
24730
  const r = n.getRequired(qe.vizManager), a = r.resolveComponent(e.viz.type);
24731
24731
  return n.createScoped().provideFactory(qe.instanceScope.vizInstance, () => r.getOrCreateInstance(e)).provideFactory(qe.instanceScope.interactionManager, (o) => {
24732
24732
  const s = o.getRequired(qe.instanceScope.vizInstance);
24733
- return new ho(s, a, hi);
24733
+ return new po(s, a, hi);
24734
24734
  }).provideFactory(qe.instanceScope.operationManager, (o) => o.getRequired(qe.instanceScope.interactionManager).operationManager).provideFactory(qe.instanceScope.triggerManager, (o) => o.getRequired(qe.instanceScope.interactionManager).triggerManager).provideValue(qe.instanceScope.panelModel, t).provideFactory(qe.instanceScope.migrator, (o) => new HD(o));
24735
24735
  }, [e.viz.type, e.viz.conf]);
24736
24736
  }
@@ -24775,7 +24775,7 @@ function KD(e) {
24775
24775
  pu(n, t);
24776
24776
  const {
24777
24777
  inEditMode: r
24778
- } = Ut(lo);
24778
+ } = Ut(co);
24779
24779
  return hu(() => {
24780
24780
  r && di({
24781
24781
  title: `${t.title} - Updated`,
@@ -24921,8 +24921,8 @@ const iI = D(({
24921
24921
  height: "25px"
24922
24922
  } }) }),
24923
24923
  /* @__PURE__ */ u(he.Dropdown, { children: [
24924
- /* @__PURE__ */ i(he.Item, { onClick: t.refreshData, icon: /* @__PURE__ */ i(Xa, { size: 14 }), children: "Refresh" }),
24925
- /* @__PURE__ */ i(he.Item, { onClick: t.downloadData, icon: /* @__PURE__ */ i(Ja, { size: 14 }), children: "Download Data" }),
24924
+ /* @__PURE__ */ i(he.Item, { onClick: t.refreshData, icon: /* @__PURE__ */ i(Ja, { size: 14 }), children: "Refresh" }),
24925
+ /* @__PURE__ */ i(he.Item, { onClick: t.downloadData, icon: /* @__PURE__ */ i(Za, { size: 14 }), children: "Download Data" }),
24926
24926
  /* @__PURE__ */ i(he.Item, { onClick: n, icon: /* @__PURE__ */ i(li, { size: 14 }), children: "Screenshot" }),
24927
24927
  l && /* @__PURE__ */ i(he.Item, { onClick: s, icon: /* @__PURE__ */ i(Dl, { size: 14 }), children: "Full Screen" })
24928
24928
  ] })
@@ -25035,7 +25035,7 @@ const cI = R.forwardRef(({
25035
25035
  ...o.layout
25036
25036
  }, className: "panel-grid-item", children: /* @__PURE__ */ i(gu, { view: t, panel: o }) }, o.id)) });
25037
25037
  });
25038
- function Qo(e) {
25038
+ function Ko(e) {
25039
25039
  const t = ni(null);
25040
25040
  return {
25041
25041
  ref: t,
@@ -25097,7 +25097,7 @@ const mI = D(({
25097
25097
  const {
25098
25098
  ref: r,
25099
25099
  downloadScreenshot: a
25100
- } = Qo(t);
25100
+ } = Ko(t);
25101
25101
  return /* @__PURE__ */ u(W, { children: [
25102
25102
  /* @__PURE__ */ i(N, { ref: r, sx: n, children: e }),
25103
25103
  /* @__PURE__ */ i(mI, { downloadScreenShot: a })
@@ -25111,7 +25111,7 @@ const mI = D(({
25111
25111
  const n = Ke(), r = t.config, a = n.views.visibleViewIDs.includes(t.id), o = () => n.views.rmVisibleViewID(t.id), {
25112
25112
  ref: s,
25113
25113
  downloadScreenshot: l
25114
- } = Qo(t);
25114
+ } = Ko(t);
25115
25115
  return /* @__PURE__ */ i(Te, { size: r.width, centered: !0, opened: a, onClose: o, withCloseButton: !1, title: /* @__PURE__ */ u(v, { position: "apart", px: "1rem", h: "48px", children: [
25116
25116
  /* @__PURE__ */ i(N, { children: r.custom_modal_title.value }),
25117
25117
  /* @__PURE__ */ i(yu, { downloadScreenshot: l })
@@ -25171,7 +25171,7 @@ const mI = D(({
25171
25171
  /* @__PURE__ */ i(g.List, { grow: n.grow, children: n.tabs.map((r) => /* @__PURE__ */ i(g.Tab, { value: r.id, sx: bI(r), disabled: !r.view_id, children: r.name ?? r.id }, r.id)) }),
25172
25172
  n.tabs.map((r) => {
25173
25173
  const a = t.views.findByID(r.view_id);
25174
- return a ? /* @__PURE__ */ i(g.Panel, { value: r.id, children: /* @__PURE__ */ i(Ko, { view: a }) }, r.id) : null;
25174
+ return a ? /* @__PURE__ */ i(g.Panel, { value: r.id, children: /* @__PURE__ */ i(Uo, { view: a }) }, r.id) : null;
25175
25175
  })
25176
25176
  ] });
25177
25177
  }), xI = D(({
@@ -25210,7 +25210,7 @@ const wI = D(({
25210
25210
  }), [n.width, n.height]), {
25211
25211
  ref: o,
25212
25212
  downloadScreenshot: s
25213
- } = Qo(t);
25213
+ } = Ko(t);
25214
25214
  return /* @__PURE__ */ i(N, { sx: {
25215
25215
  height: "100%",
25216
25216
  "> div:not(.mantine-Modal-root)": {
@@ -25328,7 +25328,7 @@ const wI = D(({
25328
25328
  }, children: [
25329
25329
  /* @__PURE__ */ i(L, { label: "Tab Name", value: l.name, onChange: (p) => l.setName(p.currentTarget.value) }),
25330
25330
  /* @__PURE__ */ i(F, { label: "View", value: l.view_id, onChange: l.setViewID, data: r }),
25331
- /* @__PURE__ */ i(Ya, { label: "Color", value: l.color, onChange: l.setColor, disabled: a.variant !== "default" }),
25331
+ /* @__PURE__ */ i(Ha, { label: "Color", value: l.color, onChange: l.setColor, disabled: a.variant !== "default" }),
25332
25332
  d && /* @__PURE__ */ u(I, { mt: 20, variant: "gradient", leftIcon: /* @__PURE__ */ i(Qh, { size: 18 }), gradient: {
25333
25333
  from: "cyan",
25334
25334
  to: "indigo"
@@ -25339,7 +25339,7 @@ const wI = D(({
25339
25339
  /* @__PURE__ */ i(I, { mt: 20, variant: "subtle", color: "red", onClick: () => o(c), disabled: s, leftIcon: /* @__PURE__ */ i(Bn, { size: 14 }), children: "Delete This Tab" })
25340
25340
  ] })
25341
25341
  ] }),
25342
- d && /* @__PURE__ */ i(Ko, { view: d })
25342
+ d && /* @__PURE__ */ i(Uo, { view: d })
25343
25343
  ] }, l.id);
25344
25344
  })
25345
25345
  ] });
@@ -25371,7 +25371,7 @@ const wI = D(({
25371
25371
  }, children: /* @__PURE__ */ i(Ed, { view: t }) }),
25372
25372
  /* @__PURE__ */ i(hI, { view: t })
25373
25373
  ] }) }) }) });
25374
- }), Ko = D(function({
25374
+ }), Uo = D(function({
25375
25375
  view: t
25376
25376
  }) {
25377
25377
  const {
@@ -26358,7 +26358,7 @@ const jI = b.model({
26358
26358
  postProcessor(e) {
26359
26359
  delete e.origin;
26360
26360
  const t = ac(e.queries.current.map((n) => Tl(n, ["id", "key", "type", "sql"])));
26361
- return Oe({}, {
26361
+ return Fe({}, {
26362
26362
  queries: {
26363
26363
  current: t
26364
26364
  }
@@ -26418,7 +26418,7 @@ const YI = b.model({
26418
26418
  content_id: b.string,
26419
26419
  datasources: PI,
26420
26420
  globalSQLSnippets: Ud,
26421
- context: Ho,
26421
+ context: Qo,
26422
26422
  editor: NI
26423
26423
  }).views((e) => ({
26424
26424
  get json() {
@@ -26535,7 +26535,7 @@ function wu(e, t) {
26535
26535
  return encodeURIComponent(m);
26536
26536
  });
26537
26537
  }
26538
- const p = Ka(a || "")(c({
26538
+ const p = Ua(a || "")(c({
26539
26539
  ...l,
26540
26540
  filters: e.payloadForSQL.filters,
26541
26541
  context: e.payloadForSQL.context
@@ -26599,14 +26599,14 @@ const QI = D(() => {
26599
26599
  stroke: "none"
26600
26600
  }
26601
26601
  }, children: /* @__PURE__ */ i(Jh, { size: 18 }) }) }),
26602
- /* @__PURE__ */ i(he.Dropdown, { children: /* @__PURE__ */ i(he.Item, { icon: /* @__PURE__ */ i(eo, { size: 14, color: "red" }), disabled: !a, onClick: r, children: "Revert Changes" }) })
26602
+ /* @__PURE__ */ i(he.Dropdown, { children: /* @__PURE__ */ i(he.Item, { icon: /* @__PURE__ */ i(to, { size: 14, color: "red" }), disabled: !a, onClick: r, children: "Revert Changes" }) })
26603
26603
  ] })
26604
26604
  ] });
26605
26605
  }), UI = D(({
26606
26606
  saveDashboardChanges: e,
26607
26607
  headerSlot: t = null
26608
26608
  }) => {
26609
- const n = Gp(), r = Fe(), a = () => {
26609
+ const n = Gp(), r = Oe(), a = () => {
26610
26610
  n(`/dashboard/${r.id}`);
26611
26611
  }, o = Jt(), s = () => {
26612
26612
  o.openConfirmModal({
@@ -26761,12 +26761,12 @@ function Cu(e, t, n) {
26761
26761
  function nM(e, t, n) {
26762
26762
  return e * t + (e - 1) * n;
26763
26763
  }
26764
- const ei = 25, Uo = 40, Su = 25, Xo = 350, rM = 150, iM = 150, ku = 150, al = 300, jr = 40, Tu = 25, aM = 300;
26764
+ const ei = 25, Xo = 40, Su = 25, Jo = 350, rM = 150, iM = 150, ku = 150, al = 300, jr = 40, Tu = 25, aM = 300;
26765
26765
  function oM(e, t) {
26766
26766
  const n = k.keyBy(t, (a) => a.id), r = [];
26767
26767
  return e.current.forEach((a, o) => {
26768
26768
  a.panelIDs.forEach((s, l) => {
26769
- const c = Cu(l, jr, Tu) + Uo, d = n[s];
26769
+ const c = Cu(l, jr, Tu) + Xo, d = n[s];
26770
26770
  if (!d) {
26771
26771
  r.push({
26772
26772
  id: s,
@@ -26817,7 +26817,7 @@ const sM = {
26817
26817
  }, lM = II;
26818
26818
  function cM(e) {
26819
26819
  return e.current.map((n, r) => {
26820
- const a = nM(n.panelIDs.length, jr, Tu) + Uo + Su;
26820
+ const a = nM(n.panelIDs.length, jr, Tu) + Xo + Su;
26821
26821
  let o = [];
26822
26822
  return n.type === Z.Tabs && (o = n.config.tabs.map((l) => l.view_id)), {
26823
26823
  id: n.id,
@@ -26838,7 +26838,7 @@ function cM(e) {
26838
26838
  className: "light",
26839
26839
  style: {
26840
26840
  backgroundColor: lM[n.type],
26841
- width: Xo,
26841
+ width: Jo,
26842
26842
  height: a
26843
26843
  }
26844
26844
  };
@@ -26864,12 +26864,12 @@ function hM({
26864
26864
  edges: n
26865
26865
  }) {
26866
26866
  t.forEach((r) => {
26867
- r._node_type !== "view-root" || r._view_type !== Z.Tabs || (r.sourcePosition = zt.Bottom, r.style.width = Xo + ei * 2, r.style.height = Su + r._tab_view_ids.reduce((a, o) => {
26867
+ r._node_type !== "view-root" || r._view_type !== Z.Tabs || (r.sourcePosition = zt.Bottom, r.style.width = Jo + ei * 2, r.style.height = Su + r._tab_view_ids.reduce((a, o) => {
26868
26868
  const s = e[o];
26869
26869
  s.position.y = a, s.position.x = ei;
26870
26870
  const l = s.style.height;
26871
26871
  return a + l + 20;
26872
- }, Uo));
26872
+ }, Xo));
26873
26873
  });
26874
26874
  }
26875
26875
  function pM({
@@ -26912,7 +26912,7 @@ function mM({
26912
26912
  n.forEach((s) => {
26913
26913
  r.add(s.source), a.add(s.target);
26914
26914
  }), t.filter((s) => s._node_type !== "view-root" || s.id === "Main" || s.parentNode ? !1 : !r.has(s.id) && !a.has(s.id)).forEach((s, l) => {
26915
- s.position.x = Cu(l, Xo, iM), s.position.y = 0 - rM - ku;
26915
+ s.position.x = Cu(l, Jo, iM), s.position.y = 0 - rM - ku;
26916
26916
  });
26917
26917
  }
26918
26918
  function gM({
@@ -27010,7 +27010,7 @@ const xM = rh(({
27010
27010
  }, children: /* @__PURE__ */ i(Oh, { size: 12 }) }),
27011
27011
  /* @__PURE__ */ u(at, { shadow: "xl", withinPortal: !0, children: [
27012
27012
  /* @__PURE__ */ i(at.Target, { children: /* @__PURE__ */ i(C, { children: e.label }) }),
27013
- /* @__PURE__ */ i(at.Dropdown, { children: /* @__PURE__ */ i(ms, { spacing: "xs", size: "sm", center: !0, children: o.map((s) => /* @__PURE__ */ i(ms.Item, { icon: s.icon, children: s.text }, s.key)) }) })
27013
+ /* @__PURE__ */ i(at.Dropdown, { children: /* @__PURE__ */ i(gs, { spacing: "xs", size: "sm", center: !0, children: o.map((s) => /* @__PURE__ */ i(gs.Item, { icon: s.icon, children: s.text }, s.key)) }) })
27014
27014
  ] }),
27015
27015
  /* @__PURE__ */ i(Ss, { type: "source", position: n, isConnectable: t })
27016
27016
  ] });
@@ -27109,7 +27109,7 @@ function SM({
27109
27109
  ] });
27110
27110
  }
27111
27111
  const kM = D(() => {
27112
- const e = Fe(), t = Ce(), n = nt((a) => () => t.views.setIDOfVIE(a), [t]), r = (a) => {
27112
+ const e = Oe(), t = Ce(), n = nt((a) => () => t.views.setIDOfVIE(a), [t]), r = (a) => {
27113
27113
  e.editor.open(["_VIEWS_", a]);
27114
27114
  };
27115
27115
  return /* @__PURE__ */ u(N, { sx: {
@@ -27127,7 +27127,7 @@ const kM = D(() => {
27127
27127
  }, children: "Add a View" })
27128
27128
  ] });
27129
27129
  }), TM = D(() => {
27130
- const e = Fe(), t = Ce(), n = () => {
27130
+ const e = Oe(), t = Ce(), n = () => {
27131
27131
  if (!t.queries.firstID) {
27132
27132
  e.editor.open(["_QUERIES_", ""]);
27133
27133
  return;
@@ -27187,7 +27187,7 @@ const kM = D(() => {
27187
27187
  }) {
27188
27188
  return /* @__PURE__ */ u(W, { children: [
27189
27189
  /* @__PURE__ */ i(me, { checked: t.default_value, onChange: (n) => t.setDefaultValue(n.currentTarget.checked), label: "Default Checked" }),
27190
- /* @__PURE__ */ i(Ao, { label: "Description", value: t.description, onChange: t.setDescription, styles: {
27190
+ /* @__PURE__ */ i(Eo, { label: "Description", value: t.description, onChange: t.setDescription, styles: {
27191
27191
  root: {
27192
27192
  flexGrow: 1,
27193
27193
  minHeight: "400px"
@@ -27237,14 +27237,23 @@ const kM = D(() => {
27237
27237
  ] })
27238
27238
  ] }), min: 0, value: t.max_days, onChange: t.setMaxDays, hideControls: !0 })
27239
27239
  ] });
27240
- }), Jo = D(({
27240
+ }), Zo = D(({
27241
27241
  value: e,
27242
27242
  onChange: t
27243
27243
  }) => {
27244
- const n = Ce(), r = R.useMemo(() => n.queries.options, [n.queries.current]), a = r.length === 0;
27245
- return /* @__PURE__ */ i(F, { label: "Pick a query", data: r, value: e, onChange: t, allowDeselect: !1, clearable: !0, sx: {
27244
+ const n = Oe(), r = Ce(), a = R.useMemo(() => r.queries.options, [r.queries.current]), o = a.length === 0, s = (l) => {
27245
+ n.editor.setPath(["_QUERIES_", l]);
27246
+ };
27247
+ return /* @__PURE__ */ i(F, { label: /* @__PURE__ */ u(v, { position: "apart", children: [
27248
+ /* @__PURE__ */ i(C, { children: "Use query data as options" }),
27249
+ e && /* @__PURE__ */ i(I, { size: "xs", leftIcon: /* @__PURE__ */ i(Zi, { size: 16 }), variant: "subtle", color: "blue", onClick: () => s(e), children: "Open this query" })
27250
+ ] }), data: a, value: e, onChange: t, allowDeselect: !1, clearable: !0, sx: {
27246
27251
  flexGrow: 1
27247
- }, disabled: a, error: a ? "You need to add a query in Data Settings" : void 0 });
27252
+ }, disabled: o, error: o ? "You need to add a query in Data Settings" : void 0, styles: {
27253
+ label: {
27254
+ display: "block"
27255
+ }
27256
+ } });
27248
27257
  }), $M = `
27249
27258
  // row
27250
27259
  {
@@ -27256,7 +27265,7 @@ const kM = D(() => {
27256
27265
  const [e, t] = Q(!1);
27257
27266
  return /* @__PURE__ */ u(W, { children: [
27258
27267
  /* @__PURE__ */ i(I, { variant: "subtle", compact: !0, onClick: () => t((n) => !n), children: e ? "Close" : "Click to see expected data structure" }),
27259
- /* @__PURE__ */ i(Ha, { in: e, children: /* @__PURE__ */ i(Sn, { language: "typescript", noCopy: !0, colorScheme: "dark", children: $M }) })
27268
+ /* @__PURE__ */ i(Qa, { in: e, children: /* @__PURE__ */ i(Sn, { language: "typescript", noCopy: !0, colorScheme: "dark", children: $M }) })
27260
27269
  ] });
27261
27270
  }, zM = D(function({
27262
27271
  config: t
@@ -27317,7 +27326,7 @@ const kM = D(() => {
27317
27326
  ] }),
27318
27327
  /* @__PURE__ */ i(A, { label: "Or fetch options from database", labelPosition: "center" }),
27319
27328
  /* @__PURE__ */ i(ie, { value: t.default_selection_count, onChange: t.setDefaultSelectionCount, label: "Select first N options by default" }),
27320
- /* @__PURE__ */ i(Jo, { value: t.options_query_id, onChange: t.setOptionsQueryID }),
27329
+ /* @__PURE__ */ i(Zo, { value: t.options_query_id, onChange: t.setOptionsQueryID }),
27321
27330
  /* @__PURE__ */ i(Du, {})
27322
27331
  ] });
27323
27332
  }), LM = D(function({
@@ -27382,7 +27391,7 @@ const kM = D(() => {
27382
27391
  ] }),
27383
27392
  /* @__PURE__ */ i(A, { label: "Or fetch options from database", labelPosition: "center" }),
27384
27393
  /* @__PURE__ */ i(me, { checked: t.default_selection_count === 1, onChange: (o) => t.setDefaultSelectionCount(o.currentTarget.checked ? 1 : 0), label: "Select the first option by default" }),
27385
- /* @__PURE__ */ i(Jo, { value: t.options_query_id, onChange: t.setOptionsQueryID }),
27394
+ /* @__PURE__ */ i(Zo, { value: t.options_query_id, onChange: t.setOptionsQueryID }),
27386
27395
  /* @__PURE__ */ i(Du, {})
27387
27396
  ] });
27388
27397
  }), AM = D(function({
@@ -27406,7 +27415,7 @@ const kM = D(() => {
27406
27415
  const [e, t] = Q(!1);
27407
27416
  return /* @__PURE__ */ u(W, { children: [
27408
27417
  /* @__PURE__ */ i(I, { variant: "subtle", compact: !0, onClick: () => t((n) => !n), children: e ? "Close" : "Click to see expected data structure" }),
27409
- /* @__PURE__ */ i(Ha, { in: e, children: /* @__PURE__ */ i(Sn, { language: "typescript", noCopy: !0, colorScheme: "dark", children: EM }) })
27418
+ /* @__PURE__ */ i(Qa, { in: e, children: /* @__PURE__ */ i(Sn, { language: "typescript", noCopy: !0, colorScheme: "dark", children: EM }) })
27410
27419
  ] });
27411
27420
  }, OM = D(function({
27412
27421
  config: t
@@ -27416,7 +27425,7 @@ const kM = D(() => {
27416
27425
  /* @__PURE__ */ i(L, { label: "Min-width", value: t.min_width, onChange: (n) => t.setMinWidth(n.currentTarget.value), placeholder: "200px" }),
27417
27426
  /* @__PURE__ */ i(A, { label: "Fetch options from database", labelPosition: "center" }),
27418
27427
  /* @__PURE__ */ i(ie, { value: t.default_selection_count, onChange: t.setDefaultSelectionCount, label: "Select first N options by default" }),
27419
- /* @__PURE__ */ i(Jo, { value: t.options_query_id, onChange: t.setOptionsQueryID }),
27428
+ /* @__PURE__ */ i(Zo, { value: t.options_query_id, onChange: t.setOptionsQueryID }),
27420
27429
  /* @__PURE__ */ i(RM, {})
27421
27430
  ] });
27422
27431
  }), FM = D(function({
@@ -27500,7 +27509,7 @@ const kM = D(() => {
27500
27509
  }), BM = D(({
27501
27510
  id: e
27502
27511
  }) => {
27503
- const t = Jt(), n = Fe(), r = Ce();
27512
+ const t = Jt(), n = Oe(), r = Ce();
27504
27513
  if (e === "")
27505
27514
  return null;
27506
27515
  const a = r.filters.findByID(e);
@@ -27595,7 +27604,7 @@ const kM = D(() => {
27595
27604
  const {
27596
27605
  panel: e
27597
27606
  } = qt();
27598
- return /* @__PURE__ */ i(Ao, { label: "Description", value: e.description, onChange: e.setDescription, styles: {
27607
+ return /* @__PURE__ */ i(Eo, { label: "Description", value: e.description, onChange: e.setDescription, styles: {
27599
27608
  root: {
27600
27609
  flexGrow: 1
27601
27610
  }
@@ -27733,7 +27742,7 @@ const QM = ({
27733
27742
  return n === "loading" ? null : r ? /* @__PURE__ */ i(C, { color: "red", size: "md", align: "center", sx: {
27734
27743
  fontFamily: "monospace"
27735
27744
  }, children: r }) : a != null && a.stateMessage ? /* @__PURE__ */ i(C, { color: "gray", align: "center", children: a.stateMessage }) : null;
27736
- }, ca = D(function({
27745
+ }, da = D(function({
27737
27746
  id: t,
27738
27747
  moreActions: n = null
27739
27748
  }) {
@@ -27761,8 +27770,8 @@ const QM = ({
27761
27770
  ] }),
27762
27771
  /* @__PURE__ */ u(v, { pr: 15, children: [
27763
27772
  n,
27764
- /* @__PURE__ */ i(K, { variant: "subtle", color: "blue", disabled: s, onClick: l, children: /* @__PURE__ */ i(Xa, { size: 16 }) }),
27765
- /* @__PURE__ */ i(K, { variant: "subtle", color: "blue", disabled: s || p, onClick: c, children: /* @__PURE__ */ i(Ja, { size: 16 }) })
27773
+ /* @__PURE__ */ i(K, { variant: "subtle", color: "blue", disabled: s, onClick: l, children: /* @__PURE__ */ i(Ja, { size: 16 }) }),
27774
+ /* @__PURE__ */ i(K, { variant: "subtle", color: "blue", disabled: s || p, onClick: c, children: /* @__PURE__ */ i(Za, { size: 16 }) })
27766
27775
  ] })
27767
27776
  ] }),
27768
27777
  /* @__PURE__ */ u(N, { sx: {
@@ -27775,7 +27784,7 @@ const QM = ({
27775
27784
  ] })
27776
27785
  ] });
27777
27786
  }), KM = D(function() {
27778
- const t = Fe(), n = Ce(), {
27787
+ const t = Oe(), n = Ce(), {
27779
27788
  panel: r
27780
27789
  } = qt(), [a, o] = Q(!1), s = (l) => {
27781
27790
  t.editor.setPath(["_QUERIES_", l]);
@@ -27784,10 +27793,10 @@ const QM = ({
27784
27793
  /* @__PURE__ */ i(ph, { opened: a, onClose: () => o(!1), title: "Choose queries", padding: "xl", size: 500, zIndex: 320, children: /* @__PURE__ */ i(me.Group, { value: [...r.queryIDs], onChange: r.setQueryIDs, children: /* @__PURE__ */ i(S, { spacing: "lg", children: n.queries.options.map((l) => /* @__PURE__ */ i(me, { label: l.label, value: l.value }, l.value)) }) }) }),
27785
27794
  /* @__PURE__ */ u(S, { spacing: 6, children: [
27786
27795
  /* @__PURE__ */ i(v, { position: "right", children: /* @__PURE__ */ i(I, { variant: "light", size: "sm", leftIcon: /* @__PURE__ */ i(sp, { size: 16 }), onClick: () => o(!0), children: "Click me to choose queries for this panel" }) }),
27787
- r.queryIDs.length === 1 && /* @__PURE__ */ i(ca, { id: r.queryIDs[0], moreActions: /* @__PURE__ */ i(Ne, { label: "Open this query", children: /* @__PURE__ */ i(K, { variant: "subtle", color: "blue", onClick: () => s(r.queryIDs[0]), children: /* @__PURE__ */ i(vs, { size: 16 }) }) }) }),
27796
+ r.queryIDs.length === 1 && /* @__PURE__ */ i(da, { id: r.queryIDs[0], moreActions: /* @__PURE__ */ i(Ne, { label: "Open this query", children: /* @__PURE__ */ i(K, { variant: "subtle", color: "blue", onClick: () => s(r.queryIDs[0]), children: /* @__PURE__ */ i(Zi, { size: 16 }) }) }) }),
27788
27797
  r.queryIDs.length > 1 && /* @__PURE__ */ u(g, { defaultValue: r.queryIDs[0], children: [
27789
27798
  /* @__PURE__ */ i(g.List, { children: r.queries.map((l) => /* @__PURE__ */ i(g.Tab, { value: l.id, children: l.name }, l.id)) }),
27790
- r.queries.map((l) => /* @__PURE__ */ i(g.Panel, { value: l.id, children: /* @__PURE__ */ i(ca, { id: l.id, moreActions: /* @__PURE__ */ i(Ne, { label: "Open this query", children: /* @__PURE__ */ i(K, { variant: "subtle", color: "blue", onClick: () => s(l.id), children: /* @__PURE__ */ i(vs, { size: 16 }) }) }) }) }, l.id))
27799
+ r.queries.map((l) => /* @__PURE__ */ i(g.Panel, { value: l.id, children: /* @__PURE__ */ i(da, { id: l.id, moreActions: /* @__PURE__ */ i(Ne, { label: "Open this query", children: /* @__PURE__ */ i(K, { variant: "subtle", color: "blue", onClick: () => s(l.id), children: /* @__PURE__ */ i(Zi, { size: 16 }) }) }) }) }, l.id))
27791
27800
  ] })
27792
27801
  ] })
27793
27802
  ] });
@@ -27942,7 +27951,7 @@ const Mu = Gn((e) => ({
27942
27951
  }) => /* @__PURE__ */ i(v, { style: {
27943
27952
  minHeight: 0,
27944
27953
  height: "calc(100% - 68px)"
27945
- }, children: /* @__PURE__ */ i(ja, { withBorder: !0, p: "md", children: Kc(e, t) }) }), r$ = D(n$), i$ = (e) => {
27954
+ }, children: /* @__PURE__ */ i(Ga, { withBorder: !0, p: "md", children: Kc(e, t) }) }), r$ = D(n$), i$ = (e) => {
27946
27955
  const t = Lt(() => qD(e.variable), [e.variable]), {
27947
27956
  classes: n
27948
27957
  } = Mu(), {
@@ -27965,7 +27974,7 @@ const Mu = Gn((e) => ({
27965
27974
  classes: t
27966
27975
  } = Mu();
27967
27976
  return /* @__PURE__ */ u(v, { className: t.root, noWrap: !0, align: "start", children: [
27968
- /* @__PURE__ */ i(ja, { withBorder: !0, p: "md", className: "var-list-container", children: /* @__PURE__ */ u(S, { justify: "space-between", children: [
27977
+ /* @__PURE__ */ i(Ga, { withBorder: !0, p: "md", className: "var-list-container", children: /* @__PURE__ */ u(S, { justify: "space-between", children: [
27969
27978
  /* @__PURE__ */ i(N, { className: "var-list-actions", children: /* @__PURE__ */ i(I, { variant: "light", size: "sm", onClick: e.addNew, fullWidth: !0, children: "Add Variable" }) }),
27970
27979
  /* @__PURE__ */ i(t$, { uiModel: e })
27971
27980
  ] }) }),
@@ -28090,7 +28099,7 @@ const h$ = D(() => {
28090
28099
  const [o, {
28091
28100
  open: s,
28092
28101
  close: l
28093
- }] = to(!1), c = () => {
28102
+ }] = no(!1), c = () => {
28094
28103
  e.moveToView(t, r), l();
28095
28104
  };
28096
28105
  return /* @__PURE__ */ u(W, { children: [
@@ -28099,11 +28108,11 @@ const h$ = D(() => {
28099
28108
  maxHeight: "calc(100vh - 185px)",
28100
28109
  overflow: "hidden"
28101
28110
  }, children: [
28102
- /* @__PURE__ */ i(gs.Group, { value: r, onChange: a, pb: 10, sx: {
28111
+ /* @__PURE__ */ i(bs.Group, { value: r, onChange: a, pb: 10, sx: {
28103
28112
  flexGrow: 1,
28104
28113
  maxHeight: "calc(100vh - 185px - 30px)",
28105
28114
  overflow: "auto"
28106
- }, children: /* @__PURE__ */ i(S, { spacing: "xs", children: n.views.options.map((d) => /* @__PURE__ */ i(gs, { value: d.value, label: d.label }, d.value)) }) }),
28115
+ }, children: /* @__PURE__ */ i(S, { spacing: "xs", children: n.views.options.map((d) => /* @__PURE__ */ i(bs, { value: d.value, label: d.label }, d.value)) }) }),
28107
28116
  /* @__PURE__ */ u(v, { noWrap: !0, position: "apart", sx: {
28108
28117
  flexGrow: 0,
28109
28118
  flexShrink: 0
@@ -28144,7 +28153,7 @@ function m$(e) {
28144
28153
  const g$ = D(({
28145
28154
  panel: e
28146
28155
  }) => {
28147
- const t = Jt(), n = Fe(), r = Ce(), [a, o] = Q("Data"), s = e.queries, c = m$(e.viz.type) && e.dataLoading, d = c || e.queryErrors.length > 0 || e.queryStateMessages !== "" || s.length === 0, p = n.editor.path[1];
28156
+ const t = Jt(), n = Oe(), r = Ce(), [a, o] = Q("Data"), s = e.queries, c = m$(e.viz.type) && e.dataLoading, d = c || e.queryErrors.length > 0 || e.queryStateMessages !== "" || s.length === 0, p = n.editor.path[1];
28148
28157
  q(() => {
28149
28158
  o((m) => d && m === "Visualization" ? "Data" : m);
28150
28159
  }, [e.id, d]);
@@ -28223,7 +28232,7 @@ const g$ = D(({
28223
28232
  }), y$ = (e) => {
28224
28233
  const {
28225
28234
  queryModel: t
28226
- } = e, n = Fe(), r = Ce(), o = r.findQueryUsage(t.id).length > 0, s = Jt(), l = () => {
28235
+ } = e, n = Oe(), r = Ce(), o = r.findQueryUsage(t.id).length > 0, s = Jt(), l = () => {
28227
28236
  s.openConfirmModal({
28228
28237
  title: "Delete this query?",
28229
28238
  labels: {
@@ -28257,8 +28266,8 @@ const g$ = D(({
28257
28266
  spacing: a = 16,
28258
28267
  pl: o = 0
28259
28268
  }) => /* @__PURE__ */ u(S, { spacing: a, mt: 6, pl: o, children: [
28260
- Array.from(new Array(r - 1), (s, l) => /* @__PURE__ */ i(bs, { width: e, height: n, radius: "xs" }, l)),
28261
- /* @__PURE__ */ i(bs, { width: t, height: n, radius: "xs" })
28269
+ Array.from(new Array(r - 1), (s, l) => /* @__PURE__ */ i(ys, { width: e, height: n, radius: "xs" }, l)),
28270
+ /* @__PURE__ */ i(ys, { width: t, height: n, radius: "xs" })
28262
28271
  ] }), cr = ({
28263
28272
  value: e
28264
28273
  }) => e === null || e === "" ? null : /* @__PURE__ */ i(Ne, { label: e, disabled: !e, multiline: !0, children: /* @__PURE__ */ i(K, { children: /* @__PURE__ */ i(Dn, { size: 14 }) }) }), v$ = ({
@@ -28641,10 +28650,10 @@ const D$ = D(({
28641
28650
  value: e,
28642
28651
  onChange: t
28643
28652
  }) => {
28644
- const n = Fe(), {
28653
+ const n = Oe(), {
28645
28654
  data: r = [],
28646
28655
  loading: a
28647
- } = wn(ao, {
28656
+ } = wn(oo, {
28648
28657
  refreshDeps: []
28649
28658
  }, []), o = M(() => r.map((d) => ({
28650
28659
  label: d.key,
@@ -28733,7 +28742,7 @@ function V$({
28733
28742
  ] });
28734
28743
  }
28735
28744
  const N$ = D(() => {
28736
- const t = [...Fe().globalSQLSnippets.list];
28745
+ const t = [...Oe().globalSQLSnippets.list];
28737
28746
  return t.length === 0 ? null : /* @__PURE__ */ u(Vt, { horizontalSpacing: "xs", verticalSpacing: "xs", fontSize: "sm", highlightOnHover: !0, children: [
28738
28747
  /* @__PURE__ */ i("thead", { children: /* @__PURE__ */ u("tr", { children: [
28739
28748
  /* @__PURE__ */ i("th", { children: "Key" }),
@@ -28767,7 +28776,7 @@ WHERE
28767
28776
  showSQLSnippets: t = !0,
28768
28777
  sx: n = {}
28769
28778
  }) {
28770
- const r = Fe(), a = Ce(), o = r.context.current, s = (() => {
28779
+ const r = Oe(), a = Ce(), o = r.context.current, s = (() => {
28771
28780
  const l = {
28772
28781
  context: {
28773
28782
  ...a.mock_context.current,
@@ -28793,11 +28802,11 @@ WHERE
28793
28802
  width: "100%"
28794
28803
  }, noCopy: !0, colorScheme: "dark", children: s }) }),
28795
28804
  /* @__PURE__ */ i(g.Panel, { value: "global_sql_snippets", pt: "xs", children: /* @__PURE__ */ u(S, { spacing: 10, children: [
28796
- /* @__PURE__ */ i(Ga, { icon: /* @__PURE__ */ i(ws, { size: 16 }), title: "Global SQL Snippets", children: "SQL snippets worth sharing between dashboards are managed in System Settings by admins." }),
28805
+ /* @__PURE__ */ i(Ya, { icon: /* @__PURE__ */ i(ws, { size: 16 }), title: "Global SQL Snippets", children: "SQL snippets worth sharing between dashboards are managed in System Settings by admins." }),
28797
28806
  /* @__PURE__ */ i(N$, {})
28798
28807
  ] }) })
28799
28808
  ] }) });
28800
- }), Zo = D(() => {
28809
+ }), es = D(() => {
28801
28810
  const [e, t] = Q(!1);
28802
28811
  return /* @__PURE__ */ u(W, { children: [
28803
28812
  /* @__PURE__ */ i(Te, { opened: e, onClose: () => t(!1), title: "Query Variables", zIndex: 320, size: "800px", children: /* @__PURE__ */ i(Lu, {}) }),
@@ -28820,7 +28829,7 @@ WHERE
28820
28829
  /* @__PURE__ */ u(g.List, { children: [
28821
28830
  /* @__PURE__ */ i(g.Tab, { value: "pre_process", children: "Build Request" }),
28822
28831
  /* @__PURE__ */ i(g.Tab, { value: "post_process", children: "Process Result" }),
28823
- /* @__PURE__ */ i(Zo, {})
28832
+ /* @__PURE__ */ i(es, {})
28824
28833
  ] }),
28825
28834
  /* @__PURE__ */ i(g.Panel, { value: "pre_process", sx: {
28826
28835
  position: "relative"
@@ -28830,7 +28839,7 @@ WHERE
28830
28839
  queryID: e,
28831
28840
  usage: t
28832
28841
  }) => {
28833
- const n = Fe().editor, r = (o) => {
28842
+ const n = Oe().editor, r = (o) => {
28834
28843
  if (o.type === "filter") {
28835
28844
  n.setPath(["_FILTERS_", o.id]);
28836
28845
  return;
@@ -28864,7 +28873,7 @@ WHERE
28864
28873
  ] }) })
28865
28874
  ] }, o.id)) })
28866
28875
  ] }) });
28867
- }), es = ({
28876
+ }), ts = ({
28868
28877
  value: e,
28869
28878
  onChange: t,
28870
28879
  height: n = "200px",
@@ -28911,11 +28920,11 @@ WHERE
28911
28920
  }, children: [
28912
28921
  /* @__PURE__ */ i(v, { position: "left", children: /* @__PURE__ */ i(I, { onClick: l, size: "xs", variant: "default", leftIcon: /* @__PURE__ */ i(Ml, { size: 16 }), children: "Reset to default" }) }),
28913
28922
  /* @__PURE__ */ u(v, { position: "right", children: [
28914
- /* @__PURE__ */ i(I, { onClick: s, color: "red", size: "xs", disabled: !c, leftIcon: /* @__PURE__ */ i(eo, { size: 16 }), children: "Revert Changes" }),
28923
+ /* @__PURE__ */ i(I, { onClick: s, color: "red", size: "xs", disabled: !c, leftIcon: /* @__PURE__ */ i(to, { size: 16 }), children: "Revert Changes" }),
28915
28924
  /* @__PURE__ */ i(I, { size: "xs", onClick: o, disabled: !c, leftIcon: /* @__PURE__ */ i(un, { size: 16 }), children: "Confirm Changes" })
28916
28925
  ] })
28917
28926
  ] }),
28918
- /* @__PURE__ */ i(es, { height: "100%", value: r, onChange: a, theme: "sql-dark", defaultLanguage: "sql" })
28927
+ /* @__PURE__ */ i(ts, { height: "100%", value: r, onChange: a, theme: "sql-dark", defaultLanguage: "sql" })
28919
28928
  ] });
28920
28929
  }, G$ = ({
28921
28930
  value: e,
@@ -28933,7 +28942,7 @@ WHERE
28933
28942
  } }), Y$ = D(({
28934
28943
  value: e
28935
28944
  }) => {
28936
- const n = Ke().payloadForSQL, r = R.useMemo(() => io(e, n), [e, n]);
28945
+ const n = Ke().payloadForSQL, r = R.useMemo(() => ao(e, n), [e, n]);
28937
28946
  return /* @__PURE__ */ i(G$, { height: "100%", value: r });
28938
28947
  }), dl = {
28939
28948
  pre: ["function process_request({ context, filters, sql }, utils) {", " // modify and return sql", " return sql", "}"].join(`
@@ -28956,7 +28965,7 @@ WHERE
28956
28965
  /* @__PURE__ */ i(g.Tab, { value: "Preview", children: "Preview SQL" }),
28957
28966
  /* @__PURE__ */ i(g.Tab, { value: "pre_process", children: "Process Request" }),
28958
28967
  /* @__PURE__ */ i(g.Tab, { value: "post_process", children: "Process Result" }),
28959
- /* @__PURE__ */ i(Zo, {}),
28968
+ /* @__PURE__ */ i(es, {}),
28960
28969
  e.datasource && /* @__PURE__ */ i(zu, { dataSource: e.datasource })
28961
28970
  ] }),
28962
28971
  /* @__PURE__ */ i(g.Panel, { value: "Edit", sx: {
@@ -29001,7 +29010,7 @@ WHERE
29001
29010
  /* @__PURE__ */ i(g.Panel, { value: "Data", sx: {
29002
29011
  ...Or,
29003
29012
  overflow: "hidden"
29004
- }, children: /* @__PURE__ */ i(ca, { id: e.id }) }),
29013
+ }, children: /* @__PURE__ */ i(da, { id: e.id }) }),
29005
29014
  /* @__PURE__ */ i(g.Panel, { value: "Usage", sx: {
29006
29015
  ...Or,
29007
29016
  overflow: "hidden"
@@ -29017,8 +29026,8 @@ WHERE
29017
29026
  }), U$ = D(({
29018
29027
  value: e
29019
29028
  }) => {
29020
- const n = Ke().payloadForSQL, r = M(() => io(e, n), [e, n]);
29021
- return /* @__PURE__ */ i(es, { height: "100%", value: r });
29029
+ const n = Ke().payloadForSQL, r = M(() => ao(e, n), [e, n]);
29030
+ return /* @__PURE__ */ i(ts, { height: "100%", value: r });
29022
29031
  }), X$ = D(({
29023
29032
  item: e,
29024
29033
  remove: t,
@@ -29083,21 +29092,21 @@ WHERE
29083
29092
  }, children: [
29084
29093
  /* @__PURE__ */ i(g.Tab, { value: "SQL", children: "SQL" }),
29085
29094
  /* @__PURE__ */ i(g.Tab, { value: "Preview", children: "Preview" }),
29086
- /* @__PURE__ */ i(Zo, {}),
29095
+ /* @__PURE__ */ i(es, {}),
29087
29096
  /* @__PURE__ */ i(K, { color: "blue", variant: "filled", onClick: f, disabled: !m, sx: {
29088
29097
  position: "absolute",
29089
29098
  top: 0,
29090
29099
  right: 10
29091
29100
  }, children: /* @__PURE__ */ i(ve, { size: 18 }) })
29092
29101
  ] }),
29093
- /* @__PURE__ */ i(g.Panel, { value: "SQL", pt: "sm", children: /* @__PURE__ */ i(es, { height: "100%", value: p, onChange: h, defaultLanguage: "sql", theme: "sql-dark" }) }),
29102
+ /* @__PURE__ */ i(g.Panel, { value: "SQL", pt: "sm", children: /* @__PURE__ */ i(ts, { height: "100%", value: p, onChange: h, defaultLanguage: "sql", theme: "sql-dark" }) }),
29094
29103
  /* @__PURE__ */ i(g.Panel, { value: "Preview", pt: "sm", children: /* @__PURE__ */ i(U$, { value: p }) })
29095
29104
  ] })
29096
29105
  ] });
29097
29106
  }), J$ = D(({
29098
29107
  id: e
29099
29108
  }) => {
29100
- const t = Fe(), n = Ce(), r = M(() => n.sqlSnippets.findByKey(e), [e]);
29109
+ const t = Oe(), n = Ce(), r = M(() => n.sqlSnippets.findByKey(e), [e]);
29101
29110
  if (!e)
29102
29111
  return null;
29103
29112
  if (!r)
@@ -29169,7 +29178,7 @@ WHERE
29169
29178
  const [n, {
29170
29179
  setTrue: r,
29171
29180
  setFalse: a
29172
- }] = Je(), [o, s] = Q(e ?? la), l = (f) => {
29181
+ }] = Je(), [o, s] = Q(e ?? ca), l = (f) => {
29173
29182
  s({
29174
29183
  ...o,
29175
29184
  enabled: f
@@ -29192,7 +29201,7 @@ WHERE
29192
29201
  func_content: f
29193
29202
  }));
29194
29203
  }, h = () => {
29195
- p(la.func_content);
29204
+ p(ca.func_content);
29196
29205
  };
29197
29206
  return /* @__PURE__ */ u(W, { children: [
29198
29207
  /* @__PURE__ */ i(K, { size: "lg", color: "blue", variant: "filled", mt: 26, onClick: r, sx: {
@@ -29257,7 +29266,7 @@ WHERE
29257
29266
  ] }) : null), cz = D(({
29258
29267
  id: e
29259
29268
  }) => {
29260
- const t = Jt(), n = Fe(), r = Ce();
29269
+ const t = Jt(), n = Oe(), r = Ce();
29261
29270
  if (e === "")
29262
29271
  return null;
29263
29272
  const a = r.views.findByID(e);
@@ -29319,10 +29328,10 @@ function gz(e) {
29319
29328
  const bz = D(() => /* @__PURE__ */ i(S, { sx: {
29320
29329
  height: "100%"
29321
29330
  }, p: "sm", children: /* @__PURE__ */ i(Lu, {}) })), yz = D(() => {
29322
- const e = Fe().editor, t = e.path;
29331
+ const e = Oe().editor, t = e.path;
29323
29332
  return dz(t) ? /* @__PURE__ */ i(bz, {}) : uz(t) ? /* @__PURE__ */ i(qM, {}) : hz(t) ? /* @__PURE__ */ i(N, { p: "xs", pl: 20, children: /* @__PURE__ */ i(BM, { id: t[1] }) }) : pz(t) ? /* @__PURE__ */ i(J$, { id: t[1] }) : fz(t) ? /* @__PURE__ */ i(K$, { id: t[1] }) : mz(t) ? /* @__PURE__ */ i(N, { p: "xs", pl: 20, children: /* @__PURE__ */ i(cz, { id: t[1] }) }) : gz(t) ? /* @__PURE__ */ i(b$, { viewID: t[1], panelID: t[3] }) : /* @__PURE__ */ i(N, { children: e.path });
29324
29333
  }), xz = D(() => /* @__PURE__ */ i(yz, {})), vz = D(() => {
29325
- const e = Fe();
29334
+ const e = Oe();
29326
29335
  return /* @__PURE__ */ i(I, { variant: "subtle", leftIcon: /* @__PURE__ */ i(Bt, { size: 14 }), size: "sm", px: "xs", mb: 10, color: "blue", onClick: () => {
29327
29336
  const n = (/* @__PURE__ */ new Date()).getTime().toString(), r = {
29328
29337
  id: n,
@@ -29359,7 +29368,7 @@ const bz = D(() => /* @__PURE__ */ i(S, { sx: {
29359
29368
  }
29360
29369
  }, children: "Add a Panel" });
29361
29370
  }), _z = D(() => {
29362
- const e = Fe();
29371
+ const e = Oe();
29363
29372
  return /* @__PURE__ */ i(I, { variant: "subtle", leftIcon: /* @__PURE__ */ i(Bt, { size: 14 }), size: "sm", px: "xs", mb: 10, color: "blue", onClick: () => {
29364
29373
  const n = (/* @__PURE__ */ new Date()).getTime().toString(), r = {
29365
29374
  id: n,
@@ -29378,7 +29387,7 @@ const bz = D(() => /* @__PURE__ */ i(S, { sx: {
29378
29387
  }
29379
29388
  }, children: "Add a Query" });
29380
29389
  }), Cz = D(() => {
29381
- const e = Fe();
29390
+ const e = Oe();
29382
29391
  return /* @__PURE__ */ i(I, { variant: "subtle", leftIcon: /* @__PURE__ */ i(Bt, { size: 14 }), size: "sm", px: "xs", mb: 10, color: "blue", onClick: () => {
29383
29392
  const n = (/* @__PURE__ */ new Date()).getTime().toString(), r = {
29384
29393
  key: n,
@@ -29410,17 +29419,17 @@ const bz = D(() => /* @__PURE__ */ i(S, { sx: {
29410
29419
  option: e
29411
29420
  }) => {
29412
29421
  var d;
29413
- const t = Fe().editor, n = t.isOptionActive, r = n(t.path, e), a = t.isOptionOpened, o = t.navigate, s = a(e), [l, c] = Q(s);
29422
+ const t = Oe().editor, n = t.isOptionActive, r = n(t.path, e), a = t.isOptionOpened, o = t.navigate, s = a(e), [l, c] = Q(s);
29414
29423
  return q(() => {
29415
29424
  c(s);
29416
29425
  }, [s]), /* @__PURE__ */ i(Ji, { active: r, defaultOpened: s, opened: l, onChange: c, label: e.label, onClick: () => o(e), icon: e.Icon ? /* @__PURE__ */ i(e.Icon, { size: 18 }) : null, children: (d = e.children) == null ? void 0 : d.map((p) => p._type === "ACTION" ? /* @__PURE__ */ i(kz, { action_type: p._action_type, parentID: p.parentID }, `_ADD_${p.value}_`) : /* @__PURE__ */ i(Au, { option: p }, p.value)) }, e.label);
29417
29426
  }), Tz = D(() => {
29418
- const e = Fe();
29427
+ const e = Oe();
29419
29428
  return /* @__PURE__ */ i(N, { sx: {
29420
29429
  position: "relative"
29421
29430
  }, children: e.editor.navOptions.map((t) => /* @__PURE__ */ i(Au, { option: t }, t.value)) });
29422
29431
  }), Dz = D(() => {
29423
- const e = Fe();
29432
+ const e = Oe();
29424
29433
  return /* @__PURE__ */ u(Ht, { p: 0, width: {
29425
29434
  base: 200,
29426
29435
  xs: 200,
@@ -29466,7 +29475,7 @@ const bz = D(() => /* @__PURE__ */ i(S, { sx: {
29466
29475
  height: "100vh"
29467
29476
  }
29468
29477
  }, Mz = D(() => {
29469
- const e = Fe().editor;
29478
+ const e = Oe().editor;
29470
29479
  return /* @__PURE__ */ i(Te, { onClose: () => e.setSettingsOpen(!1), closeOnEscape: !1, closeOnClickOutside: !1, opened: e.settings_open, fullScreen: !0, title: null, transitionProps: {
29471
29480
  duration: 0
29472
29481
  }, withCloseButton: !1, withinPortal: !0, zIndex: 300, styles: {
@@ -29520,7 +29529,7 @@ const Lz = {
29520
29529
  zz(o.monacoPath), sc(o);
29521
29530
  const {
29522
29531
  data: d = []
29523
- } = wn(ao), {
29532
+ } = wn(oo), {
29524
29533
  data: p = []
29525
29534
  } = wn(lc), h = R.useMemo(() => HI(t, n, d, p, e), [t, n]);
29526
29535
  R.useImperativeHandle(c, () => h, [h]), wu(h.content, !0), R.useEffect(() => {
@@ -29534,8 +29543,8 @@ const Lz = {
29534
29543
  }), [h]);
29535
29544
  const f = async () => {
29536
29545
  await r(h.json, h.content.json);
29537
- }, m = Lt(Go, []), w = _u(m);
29538
- return /* @__PURE__ */ i(bl, { children: /* @__PURE__ */ i(fc, { value: h, children: /* @__PURE__ */ i(yc, { value: h.content, children: /* @__PURE__ */ i(lo.Provider, { value: {
29546
+ }, m = Lt(Yo, []), w = _u(m);
29547
+ return /* @__PURE__ */ i(bl, { children: /* @__PURE__ */ i(fc, { value: h, children: /* @__PURE__ */ i(yc, { value: h.content, children: /* @__PURE__ */ i(co.Provider, { value: {
29539
29548
  inEditMode: !0
29540
29549
  }, children: /* @__PURE__ */ i(jt.Provider, { value: m, children: /* @__PURE__ */ u(ki, { configure: w, children: [
29541
29550
  /* @__PURE__ */ i(gl, { padding: 0, header: /* @__PURE__ */ i(ZI, { saveDashboardChanges: f, headerSlot: l }), navbar: /* @__PURE__ */ i(TM, {}), styles: Lz, children: /* @__PURE__ */ i(N, { className: `${a} dashboard-root`, sx: {
@@ -29678,7 +29687,7 @@ const Rz = b.model({
29678
29687
  content_id: b.string,
29679
29688
  datasources: kD,
29680
29689
  globalSQLSnippets: Ud,
29681
- context: Ho
29690
+ context: Qo
29682
29691
  });
29683
29692
  function Oz({
29684
29693
  id: e,
@@ -29714,7 +29723,7 @@ const lE = D(({
29714
29723
  sc(a);
29715
29724
  const {
29716
29725
  data: l = []
29717
- } = wn(ao), {
29726
+ } = wn(oo), {
29718
29727
  data: c = []
29719
29728
  } = wn(lc), d = R.useMemo(() => Oz(t, n, l, c, e), [t, n]);
29720
29729
  wu(d.content, !1), R.useEffect(() => {
@@ -29724,20 +29733,20 @@ const lE = D(({
29724
29733
  }, [l]), R.useEffect(() => {
29725
29734
  d.globalSQLSnippets.replace(c);
29726
29735
  }, [c]);
29727
- const p = Lt(Go, []), h = _u(p);
29736
+ const p = Lt(Yo, []), h = _u(p);
29728
29737
  return /* @__PURE__ */ i(bl, { children: /* @__PURE__ */ i(fc, { value: d, children: /* @__PURE__ */ i(yc, { value: d.content, children: /* @__PURE__ */ i(Cc.Provider, { value: {
29729
29738
  fullScreenPanelID: o,
29730
29739
  setFullScreenPanelID: s
29731
- }, children: /* @__PURE__ */ i(lo.Provider, { value: {
29740
+ }, children: /* @__PURE__ */ i(co.Provider, { value: {
29732
29741
  inEditMode: !1
29733
- }, children: /* @__PURE__ */ i(N, { className: `${r} dashboard-root`, children: /* @__PURE__ */ i(jt.Provider, { value: p, children: /* @__PURE__ */ i(ki, { configure: h, children: d.content.views.visibleViews.map((f) => /* @__PURE__ */ i(Ko, { view: f }, f.id)) }) }) }) }) }) }) }) });
29742
+ }, children: /* @__PURE__ */ i(N, { className: `${r} dashboard-root`, children: /* @__PURE__ */ i(jt.Provider, { value: p, children: /* @__PURE__ */ i(ki, { configure: h, children: d.content.views.visibleViews.map((f) => /* @__PURE__ */ i(Uo, { view: f }, f.id)) }) }) }) }) }) }) }) });
29734
29743
  });
29735
- var da = {}, Fz = {
29744
+ var ua = {}, Fz = {
29736
29745
  get exports() {
29737
- return da;
29746
+ return ua;
29738
29747
  },
29739
29748
  set exports(e) {
29740
- da = e;
29749
+ ua = e;
29741
29750
  }
29742
29751
  };
29743
29752
  (function(e, t) {
@@ -29788,13 +29797,13 @@ var da = {}, Fz = {
29788
29797
  };
29789
29798
  });
29790
29799
  })(Fz);
29791
- const Pz = da;
29792
- var ua = {}, Vz = {
29800
+ const Pz = ua;
29801
+ var ha = {}, Vz = {
29793
29802
  get exports() {
29794
- return ua;
29803
+ return ha;
29795
29804
  },
29796
29805
  set exports(e) {
29797
- ua = e;
29806
+ ha = e;
29798
29807
  }
29799
29808
  };
29800
29809
  (function(e, t) {
@@ -29812,13 +29821,13 @@ var ua = {}, Vz = {
29812
29821
  };
29813
29822
  });
29814
29823
  })(Vz);
29815
- const Nz = ua;
29816
- var ha = {}, Bz = {
29824
+ const Nz = ha;
29825
+ var pa = {}, Bz = {
29817
29826
  get exports() {
29818
- return ha;
29827
+ return pa;
29819
29828
  },
29820
29829
  set exports(e) {
29821
- ha = e;
29830
+ pa = e;
29822
29831
  }
29823
29832
  };
29824
29833
  (function(e, t) {
@@ -29863,13 +29872,13 @@ var ha = {}, Bz = {
29863
29872
  };
29864
29873
  });
29865
29874
  })(Bz);
29866
- const qz = ha;
29867
- var pa = {}, Wz = {
29875
+ const qz = pa;
29876
+ var fa = {}, Wz = {
29868
29877
  get exports() {
29869
- return pa;
29878
+ return fa;
29870
29879
  },
29871
29880
  set exports(e) {
29872
- pa = e;
29881
+ fa = e;
29873
29882
  }
29874
29883
  };
29875
29884
  (function(e, t) {
@@ -29888,13 +29897,13 @@ var pa = {}, Wz = {
29888
29897
  };
29889
29898
  });
29890
29899
  })(Wz);
29891
- const jz = pa;
29892
- var fa = {}, Gz = {
29900
+ const jz = fa;
29901
+ var ma = {}, Gz = {
29893
29902
  get exports() {
29894
- return fa;
29903
+ return ma;
29895
29904
  },
29896
29905
  set exports(e) {
29897
- fa = e;
29906
+ ma = e;
29898
29907
  }
29899
29908
  };
29900
29909
  (function(e, t) {
@@ -29910,13 +29919,13 @@ var fa = {}, Gz = {
29910
29919
  };
29911
29920
  });
29912
29921
  })(Gz);
29913
- const Yz = fa;
29914
- var ma = {}, Hz = {
29922
+ const Yz = ma;
29923
+ var ga = {}, Hz = {
29915
29924
  get exports() {
29916
- return ma;
29925
+ return ga;
29917
29926
  },
29918
29927
  set exports(e) {
29919
- ma = e;
29928
+ ga = e;
29920
29929
  }
29921
29930
  };
29922
29931
  (function(e, t) {
@@ -30048,13 +30057,13 @@ var ma = {}, Hz = {
30048
30057
  };
30049
30058
  });
30050
30059
  })(Hz);
30051
- const Qz = ma;
30052
- var ga = {}, Kz = {
30060
+ const Qz = ga;
30061
+ var ba = {}, Kz = {
30053
30062
  get exports() {
30054
- return ga;
30063
+ return ba;
30055
30064
  },
30056
30065
  set exports(e) {
30057
- ga = e;
30066
+ ba = e;
30058
30067
  }
30059
30068
  };
30060
30069
  (function(e, t) {
@@ -30069,13 +30078,13 @@ var ga = {}, Kz = {
30069
30078
  };
30070
30079
  });
30071
30080
  })(Kz);
30072
- const Uz = ga;
30073
- var ba = {}, Xz = {
30081
+ const Uz = ba;
30082
+ var ya = {}, Xz = {
30074
30083
  get exports() {
30075
- return ba;
30084
+ return ya;
30076
30085
  },
30077
30086
  set exports(e) {
30078
- ba = e;
30087
+ ya = e;
30079
30088
  }
30080
30089
  };
30081
30090
  (function(e, t) {
@@ -30206,13 +30215,13 @@ var ba = {}, Xz = {
30206
30215
  };
30207
30216
  });
30208
30217
  })(Xz);
30209
- const Jz = ba;
30210
- var ya = {}, Zz = {
30218
+ const Jz = ya;
30219
+ var xa = {}, Zz = {
30211
30220
  get exports() {
30212
- return ya;
30221
+ return xa;
30213
30222
  },
30214
30223
  set exports(e) {
30215
- ya = e;
30224
+ xa = e;
30216
30225
  }
30217
30226
  };
30218
30227
  (function(e, t) {
@@ -30227,13 +30236,13 @@ var ya = {}, Zz = {
30227
30236
  };
30228
30237
  });
30229
30238
  })(Zz);
30230
- const eL = ya;
30231
- var xa = {}, tL = {
30239
+ const eL = xa;
30240
+ var va = {}, tL = {
30232
30241
  get exports() {
30233
- return xa;
30242
+ return va;
30234
30243
  },
30235
30244
  set exports(e) {
30236
- xa = e;
30245
+ va = e;
30237
30246
  }
30238
30247
  };
30239
30248
  (function(e, t) {
@@ -30247,13 +30256,13 @@ var xa = {}, tL = {
30247
30256
  };
30248
30257
  });
30249
30258
  })(tL);
30250
- const nL = xa;
30251
- var va = {}, rL = {
30259
+ const nL = va;
30260
+ var wa = {}, rL = {
30252
30261
  get exports() {
30253
- return va;
30262
+ return wa;
30254
30263
  },
30255
30264
  set exports(e) {
30256
- va = e;
30265
+ wa = e;
30257
30266
  }
30258
30267
  };
30259
30268
  (function(e, t) {
@@ -30267,13 +30276,13 @@ var va = {}, rL = {
30267
30276
  };
30268
30277
  });
30269
30278
  })(rL);
30270
- const iL = va;
30271
- var wa = {}, aL = {
30279
+ const iL = wa;
30280
+ var _a = {}, aL = {
30272
30281
  get exports() {
30273
- return wa;
30282
+ return _a;
30274
30283
  },
30275
30284
  set exports(e) {
30276
- wa = e;
30285
+ _a = e;
30277
30286
  }
30278
30287
  };
30279
30288
  (function(e, t) {
@@ -30303,13 +30312,13 @@ var wa = {}, aL = {
30303
30312
  };
30304
30313
  });
30305
30314
  })(aL);
30306
- const oL = wa;
30307
- var _a = {}, sL = {
30315
+ const oL = _a;
30316
+ var Ca = {}, sL = {
30308
30317
  get exports() {
30309
- return _a;
30318
+ return Ca;
30310
30319
  },
30311
30320
  set exports(e) {
30312
- _a = e;
30321
+ Ca = e;
30313
30322
  }
30314
30323
  };
30315
30324
  (function(e, t) {
@@ -30324,13 +30333,13 @@ var _a = {}, sL = {
30324
30333
  };
30325
30334
  });
30326
30335
  })(sL);
30327
- const lL = _a;
30328
- var Ca = {}, cL = {
30336
+ const lL = Ca;
30337
+ var Sa = {}, cL = {
30329
30338
  get exports() {
30330
- return Ca;
30339
+ return Sa;
30331
30340
  },
30332
30341
  set exports(e) {
30333
- Ca = e;
30342
+ Sa = e;
30334
30343
  }
30335
30344
  };
30336
30345
  (function(e, t) {
@@ -30344,13 +30353,13 @@ var Ca = {}, cL = {
30344
30353
  };
30345
30354
  });
30346
30355
  })(cL);
30347
- const dL = Ca;
30348
- var Sa = {}, uL = {
30356
+ const dL = Sa;
30357
+ var ka = {}, uL = {
30349
30358
  get exports() {
30350
- return Sa;
30359
+ return ka;
30351
30360
  },
30352
30361
  set exports(e) {
30353
- Sa = e;
30362
+ ka = e;
30354
30363
  }
30355
30364
  };
30356
30365
  (function(e, t) {
@@ -30364,13 +30373,13 @@ var Sa = {}, uL = {
30364
30373
  };
30365
30374
  });
30366
30375
  })(uL);
30367
- const hL = Sa;
30368
- var ka = {}, pL = {
30376
+ const hL = ka;
30377
+ var Ta = {}, pL = {
30369
30378
  get exports() {
30370
- return ka;
30379
+ return Ta;
30371
30380
  },
30372
30381
  set exports(e) {
30373
- ka = e;
30382
+ Ta = e;
30374
30383
  }
30375
30384
  };
30376
30385
  (function(e, t) {
@@ -30385,13 +30394,13 @@ var ka = {}, pL = {
30385
30394
  };
30386
30395
  });
30387
30396
  })(pL);
30388
- const fL = ka;
30389
- var Ta = {}, mL = {
30397
+ const fL = Ta;
30398
+ var Da = {}, mL = {
30390
30399
  get exports() {
30391
- return Ta;
30400
+ return Da;
30392
30401
  },
30393
30402
  set exports(e) {
30394
- Ta = e;
30403
+ Da = e;
30395
30404
  }
30396
30405
  };
30397
30406
  (function(e, t) {
@@ -30406,13 +30415,13 @@ var Ta = {}, mL = {
30406
30415
  };
30407
30416
  });
30408
30417
  })(mL);
30409
- const gL = Ta;
30410
- var Da = {}, bL = {
30418
+ const gL = Da;
30419
+ var Ia = {}, bL = {
30411
30420
  get exports() {
30412
- return Da;
30421
+ return Ia;
30413
30422
  },
30414
30423
  set exports(e) {
30415
- Da = e;
30424
+ Ia = e;
30416
30425
  }
30417
30426
  };
30418
30427
  (function(e, t) {
@@ -30427,13 +30436,13 @@ var Da = {}, bL = {
30427
30436
  };
30428
30437
  });
30429
30438
  })(bL);
30430
- const yL = Da;
30431
- var Ia = {}, xL = {
30439
+ const yL = Ia;
30440
+ var Ma = {}, xL = {
30432
30441
  get exports() {
30433
- return Ia;
30442
+ return Ma;
30434
30443
  },
30435
30444
  set exports(e) {
30436
- Ia = e;
30445
+ Ma = e;
30437
30446
  }
30438
30447
  };
30439
30448
  (function(e, t) {
@@ -30512,13 +30521,13 @@ var Ia = {}, xL = {
30512
30521
  };
30513
30522
  });
30514
30523
  })(xL);
30515
- const vL = Ia;
30516
- var Ma = {}, wL = {
30524
+ const vL = Ma;
30525
+ var $a = {}, wL = {
30517
30526
  get exports() {
30518
- return Ma;
30527
+ return $a;
30519
30528
  },
30520
30529
  set exports(e) {
30521
- Ma = e;
30530
+ $a = e;
30522
30531
  }
30523
30532
  };
30524
30533
  (function(e, t) {
@@ -30543,13 +30552,13 @@ var Ma = {}, wL = {
30543
30552
  };
30544
30553
  });
30545
30554
  })(wL);
30546
- const _L = Ma;
30547
- var $a = {}, CL = {
30555
+ const _L = $a;
30556
+ var za = {}, CL = {
30548
30557
  get exports() {
30549
- return $a;
30558
+ return za;
30550
30559
  },
30551
30560
  set exports(e) {
30552
- $a = e;
30561
+ za = e;
30553
30562
  }
30554
30563
  };
30555
30564
  (function(e, t) {
@@ -30576,13 +30585,13 @@ var $a = {}, CL = {
30576
30585
  };
30577
30586
  });
30578
30587
  })(CL);
30579
- const SL = $a;
30580
- var za = {}, kL = {
30588
+ const SL = za;
30589
+ var La = {}, kL = {
30581
30590
  get exports() {
30582
- return za;
30591
+ return La;
30583
30592
  },
30584
30593
  set exports(e) {
30585
- za = e;
30594
+ La = e;
30586
30595
  }
30587
30596
  };
30588
30597
  (function(e, t) {
@@ -30627,13 +30636,13 @@ var za = {}, kL = {
30627
30636
  };
30628
30637
  });
30629
30638
  })(kL);
30630
- const TL = za;
30631
- var La = {}, DL = {
30639
+ const TL = La;
30640
+ var Aa = {}, DL = {
30632
30641
  get exports() {
30633
- return La;
30642
+ return Aa;
30634
30643
  },
30635
30644
  set exports(e) {
30636
- La = e;
30645
+ Aa = e;
30637
30646
  }
30638
30647
  };
30639
30648
  (function(e, t) {
@@ -30648,13 +30657,13 @@ var La = {}, DL = {
30648
30657
  };
30649
30658
  });
30650
30659
  })(DL);
30651
- const IL = La;
30652
- var Aa = {}, ML = {
30660
+ const IL = Aa;
30661
+ var Ea = {}, ML = {
30653
30662
  get exports() {
30654
- return Aa;
30663
+ return Ea;
30655
30664
  },
30656
30665
  set exports(e) {
30657
- Aa = e;
30666
+ Ea = e;
30658
30667
  }
30659
30668
  };
30660
30669
  (function(e, t) {
@@ -30685,13 +30694,13 @@ var Aa = {}, ML = {
30685
30694
  };
30686
30695
  });
30687
30696
  })(ML);
30688
- const $L = Aa;
30689
- var Ea = {}, zL = {
30697
+ const $L = Ea;
30698
+ var Ra = {}, zL = {
30690
30699
  get exports() {
30691
- return Ea;
30700
+ return Ra;
30692
30701
  },
30693
30702
  set exports(e) {
30694
- Ea = e;
30703
+ Ra = e;
30695
30704
  }
30696
30705
  };
30697
30706
  (function(e, t) {
@@ -30720,13 +30729,13 @@ var Ea = {}, zL = {
30720
30729
  };
30721
30730
  });
30722
30731
  })(zL);
30723
- const LL = Ea;
30724
- var Ra = {}, AL = {
30732
+ const LL = Ra;
30733
+ var Oa = {}, AL = {
30725
30734
  get exports() {
30726
- return Ra;
30735
+ return Oa;
30727
30736
  },
30728
30737
  set exports(e) {
30729
- Ra = e;
30738
+ Oa = e;
30730
30739
  }
30731
30740
  };
30732
30741
  (function(e, t) {
@@ -30771,13 +30780,13 @@ var Ra = {}, AL = {
30771
30780
  };
30772
30781
  });
30773
30782
  })(AL);
30774
- const EL = Ra;
30775
- var Oa = {}, RL = {
30783
+ const EL = Oa;
30784
+ var Fa = {}, RL = {
30776
30785
  get exports() {
30777
- return Oa;
30786
+ return Fa;
30778
30787
  },
30779
30788
  set exports(e) {
30780
- Oa = e;
30789
+ Fa = e;
30781
30790
  }
30782
30791
  };
30783
30792
  (function(e, t) {
@@ -30842,13 +30851,13 @@ var Oa = {}, RL = {
30842
30851
  };
30843
30852
  });
30844
30853
  })(RL);
30845
- const OL = Oa;
30846
- var Fa = {}, FL = {
30854
+ const OL = Fa;
30855
+ var Pa = {}, FL = {
30847
30856
  get exports() {
30848
- return Fa;
30857
+ return Pa;
30849
30858
  },
30850
30859
  set exports(e) {
30851
- Fa = e;
30860
+ Pa = e;
30852
30861
  }
30853
30862
  };
30854
30863
  (function(e, t) {
@@ -30862,13 +30871,13 @@ var Fa = {}, FL = {
30862
30871
  };
30863
30872
  });
30864
30873
  })(FL);
30865
- const PL = Fa;
30866
- var Pa = {}, VL = {
30874
+ const PL = Pa;
30875
+ var Va = {}, VL = {
30867
30876
  get exports() {
30868
- return Pa;
30877
+ return Va;
30869
30878
  },
30870
30879
  set exports(e) {
30871
- Pa = e;
30880
+ Va = e;
30872
30881
  }
30873
30882
  };
30874
30883
  (function(e, t) {
@@ -30882,13 +30891,13 @@ var Pa = {}, VL = {
30882
30891
  };
30883
30892
  });
30884
30893
  })(VL);
30885
- const NL = Pa;
30886
- var Va = {}, BL = {
30894
+ const NL = Va;
30895
+ var Na = {}, BL = {
30887
30896
  get exports() {
30888
- return Va;
30897
+ return Na;
30889
30898
  },
30890
30899
  set exports(e) {
30891
- Va = e;
30900
+ Na = e;
30892
30901
  }
30893
30902
  };
30894
30903
  (function(e, t) {
@@ -30906,13 +30915,13 @@ var Va = {}, BL = {
30906
30915
  };
30907
30916
  });
30908
30917
  })(BL);
30909
- const qL = Va;
30910
- var Na = {}, WL = {
30918
+ const qL = Na;
30919
+ var Ba = {}, WL = {
30911
30920
  get exports() {
30912
- return Na;
30921
+ return Ba;
30913
30922
  },
30914
30923
  set exports(e) {
30915
- Na = e;
30924
+ Ba = e;
30916
30925
  }
30917
30926
  };
30918
30927
  (function(e, t) {
@@ -30995,13 +31004,13 @@ var Na = {}, WL = {
30995
31004
  };
30996
31005
  });
30997
31006
  })(WL);
30998
- const jL = Na;
30999
- var Ba = {}, GL = {
31007
+ const jL = Ba;
31008
+ var qa = {}, GL = {
31000
31009
  get exports() {
31001
- return Ba;
31010
+ return qa;
31002
31011
  },
31003
31012
  set exports(e) {
31004
- Ba = e;
31013
+ qa = e;
31005
31014
  }
31006
31015
  };
31007
31016
  (function(e, t) {
@@ -31016,13 +31025,13 @@ var Ba = {}, GL = {
31016
31025
  };
31017
31026
  });
31018
31027
  })(GL);
31019
- const YL = Ba;
31020
- var qa = {}, HL = {
31028
+ const YL = qa;
31029
+ var Wa = {}, HL = {
31021
31030
  get exports() {
31022
- return qa;
31031
+ return Wa;
31023
31032
  },
31024
31033
  set exports(e) {
31025
- qa = e;
31034
+ Wa = e;
31026
31035
  }
31027
31036
  };
31028
31037
  (function(e, t) {
@@ -31049,13 +31058,13 @@ var qa = {}, HL = {
31049
31058
  };
31050
31059
  });
31051
31060
  })(HL);
31052
- const QL = qa;
31053
- var Wa = {}, KL = {
31061
+ const QL = Wa;
31062
+ var ja = {}, KL = {
31054
31063
  get exports() {
31055
- return Wa;
31064
+ return ja;
31056
31065
  },
31057
31066
  set exports(e) {
31058
- Wa = e;
31067
+ ja = e;
31059
31068
  }
31060
31069
  };
31061
31070
  (function(e, t) {
@@ -31070,7 +31079,7 @@ var Wa = {}, KL = {
31070
31079
  };
31071
31080
  });
31072
31081
  })(KL);
31073
- const UL = Wa;
31082
+ const UL = ja;
31074
31083
  ee.extend(Pz);
31075
31084
  ee.extend(Nz);
31076
31085
  ee.extend(qz);
@@ -31118,12 +31127,12 @@ export {
31118
31127
  YI as DashboardModel,
31119
31128
  fc as DashboardModelContextProvider,
31120
31129
  TI as DashboardViewEditor,
31121
- Ko as DashboardViewRender,
31130
+ Uo as DashboardViewRender,
31122
31131
  cu as DescriptionPopover,
31123
31132
  $I as FiltersModel,
31124
31133
  sI as FullScreenPanel,
31125
31134
  Cc as FullScreenPanelContext,
31126
- lo as LayoutStateContext,
31135
+ co as LayoutStateContext,
31127
31136
  nI as Panel,
31128
31137
  wc as PanelContextProvider,
31129
31138
  JD as PanelErrorOrStateMessage,
@@ -31147,7 +31156,7 @@ export {
31147
31156
  aE as initialDashboardContent,
31148
31157
  mc as useDashboardContext,
31149
31158
  Ce as useEditContentModelContext,
31150
- Fe as useEditDashboardContext,
31159
+ Oe as useEditDashboardContext,
31151
31160
  qt as useEditPanelContext,
31152
31161
  Mf as useFullScreenPanelContext,
31153
31162
  lI as usePanelFullScreen,