@databrainhq/plugin 0.17.9-beta.87 → 0.17.9-beta.88

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.
Files changed (40) hide show
  1. package/dist/{Accordion-BchG2sqH.mjs → Accordion-KS0wm76w.mjs} +1 -1
  2. package/dist/{CardChartSlot-BJI1-6Fi.mjs → CardChartSlot-f36Se2zp.mjs} +1037 -1136
  3. package/dist/{Chart-BPRIOdLy.mjs → Chart-Rc4bVXrP.mjs} +7 -7
  4. package/dist/{ChartTypePanel-C2dzGV9H.mjs → ChartTypePanel-DRtj1nYv.mjs} +8 -8
  5. package/dist/{CreateGlobalFilter-BW71NQ4I.mjs → CreateGlobalFilter-De08sbdM.mjs} +2 -2
  6. package/dist/{CreateMetricV2-zuJNx7dP.mjs → CreateMetricV2-JfzDCkrS.mjs} +114 -114
  7. package/dist/{HorizontalStackTable-KXmRc_vp.mjs → HorizontalStackTable-H35irNPp.mjs} +3 -3
  8. package/dist/{ManageMetricsV2-BFMvfYql.mjs → ManageMetricsV2-CW_ECoXq.mjs} +3 -3
  9. package/dist/{MetricCardV2-D3x8ndnd.mjs → MetricCardV2-Cc4BRMDI.mjs} +9 -9
  10. package/dist/{NoDataFound-CLh9t6Js.mjs → NoDataFound-ChRnPe__.mjs} +1 -1
  11. package/dist/{Panel-Boz3oznI.mjs → Panel-CPSFzQky.mjs} +1 -1
  12. package/dist/{PivotTableV2-Mv7SFrij.mjs → PivotTableV2-Dmju8J9j.mjs} +2 -2
  13. package/dist/{PivotTableV3-CKhiTUTm.mjs → PivotTableV3-BqxRB0lY.mjs} +4 -4
  14. package/dist/{Portal-BMZrD27q.mjs → Portal-CxaQIVhn.mjs} +16 -9
  15. package/dist/{RadioButton-BBuNPcbg.mjs → RadioButton-CEWeXTaM.mjs} +1 -1
  16. package/dist/{ScheduleEmail-BRQ_GGMS.mjs → ScheduleEmail-BUOR5Ndf.mjs} +6 -6
  17. package/dist/{SearchMetricData-Bp7RKjl3.mjs → SearchMetricData-QMT2fQYp.mjs} +13 -13
  18. package/dist/{SortPanel-DtAP__1J.mjs → SortPanel-g3-c65fe.mjs} +8 -8
  19. package/dist/{Table-Crhhoyf_.mjs → Table-Ug97LMpx.mjs} +508 -507
  20. package/dist/{TagInputField-SMeh_vdJ.mjs → TagInputField-dF1i5J37.mjs} +4 -4
  21. package/dist/{TextAreaField-osj4rqjy.mjs → TextAreaField-BGzFYxSp.mjs} +2 -2
  22. package/dist/{TimeSeriesSettings-B1vlydJ7.mjs → TimeSeriesSettings-C_aQh55Q.mjs} +2 -2
  23. package/dist/{clickActions-CYOdHxbd.mjs → clickActions-CXvfV7tl.mjs} +20 -20
  24. package/dist/{conditionalFormatting-9rsy1Jg2.mjs → conditionalFormatting-Di6YiWwV.mjs} +1 -1
  25. package/dist/{createGlobalFilter.module-5pE0s-Qa.mjs → createGlobalFilter.module-D0_y_Apc.mjs} +1 -1
  26. package/dist/{crossPointer-Ct4DXJEx.mjs → crossPointer-C8z2bN7w.mjs} +3 -3
  27. package/dist/data.cjs +1 -1
  28. package/dist/data.mjs +1 -1
  29. package/dist/{metric.mutation-ZNTU8Fds.mjs → metric.mutation-7Ng2k216.mjs} +1 -1
  30. package/dist/{pluginV3Request-B0e7_2OA.mjs → pluginV3Request-CobM2ThT.mjs} +1 -1
  31. package/dist/{renderer-CqawuMjq.mjs → renderer-BCjoR_9v.mjs} +1 -1
  32. package/dist/{timeseries-D7495x32.mjs → timeseries-DI-9AaNe.mjs} +1 -1
  33. package/dist/{useGuesTokenUsageLog-zvPUY22Q.mjs → useGuesTokenUsageLog-D2Uirt1W.mjs} +1 -1
  34. package/dist/{useLoadingDeadline-BZ90HIjy.mjs → useLoadingDeadline-CUtZ9eIH.mjs} +569 -458
  35. package/dist/{usePublishArchivedMetrics-CnxDtwAz.mjs → usePublishArchivedMetrics-DpS4nzrY.mjs} +2 -2
  36. package/dist/{useQuery-BCy3fWon.mjs → useQuery-BEqCyDgw.mjs} +1 -1
  37. package/dist/webcomponents-styles.es.js +1 -1
  38. package/dist/webcomponents.es.js +1592 -1578
  39. package/dist/webcomponents.umd.js +28 -28
  40. package/package.json +1 -1
@@ -2,19 +2,19 @@ import * as e from "react";
2
2
  import "react-dom";
3
3
  import "react-dom/client";
4
4
  import { r as t } from "./cardStates-C6q56mQy.mjs";
5
- import { dn as n, g as r, on as i } from "./pluginV3Request-B0e7_2OA.mjs";
6
- import { K as a } from "./metric.mutation-ZNTU8Fds.mjs";
7
- import { Fr as o, Ga as s, Ji as c, Pi as l, Rr as u, Ua as d, Yt as f, _ as p, _i as m, _r as h, ea as g, g as _, gi as v, h as y, hi as b, io as x, ji as S, la as C, m as w, nn as T, u as E, vi as D, yi as O } from "./Portal-BMZrD27q.mjs";
5
+ import { dn as n, g as r, on as i } from "./pluginV3Request-CobM2ThT.mjs";
6
+ import { K as a } from "./metric.mutation-7Ng2k216.mjs";
7
+ import { Fr as o, Ga as s, Ji as c, Pi as l, Rr as u, Ua as d, Yt as f, _ as p, _i as m, _r as h, ea as g, g as _, gi as v, h as y, hi as b, io as x, ji as S, la as C, m as w, nn as T, u as E, vi as D, yi as O } from "./Portal-CxaQIVhn.mjs";
8
8
  import { n as k } from "./charts-BCsWRROL.mjs";
9
- import { T as ee, a as A, k as te, s as ne, t as j } from "./crossPointer-Ct4DXJEx.mjs";
10
- import { E as M, t as N, v as P, y as F } from "./ChartTypePanel-C2dzGV9H.mjs";
11
- import { b as I, f as re, l as ie, r as ae, u as oe } from "./useLoadingDeadline-BZ90HIjy.mjs";
12
- import { a as L } from "./RadioButton-BBuNPcbg.mjs";
9
+ import { T as ee, a as te, k as ne, s as re, t as A } from "./crossPointer-C8z2bN7w.mjs";
10
+ import { E as j, t as M, v as N, y as P } from "./ChartTypePanel-DRtj1nYv.mjs";
11
+ import { C as F, f as ie, h as I, p as ae, r as oe } from "./useLoadingDeadline-CUtZ9eIH.mjs";
12
+ import { a as L } from "./RadioButton-CEWeXTaM.mjs";
13
13
  import { t as se } from "./shadowContainer-CigTOXz8.mjs";
14
- import { a as R, c as z, i as ce, l as B, n as le, o as ue, r as de, t as fe } from "./SortPanel-DtAP__1J.mjs";
15
- import { n as pe } from "./Accordion-BchG2sqH.mjs";
14
+ import { a as R, c as z, i as ce, l as B, n as le, o as ue, r as de, t as fe } from "./SortPanel-g3-c65fe.mjs";
15
+ import { n as pe } from "./Accordion-KS0wm76w.mjs";
16
16
  import { t as V } from "./createLucideIcon-B89xLYvS.mjs";
17
- import { B as me, C as he, F as ge, H as _e, I as ve, N as ye, R as be, S as xe, T as Se, U as Ce, V as H, _ as we, b as Te, c as Ee, d as De, f as Oe, g as ke, h as Ae, j as je, l as Me, m as Ne, o as Pe, p as U, r as Fe, s as W, u as G, v as Ie, w as Le, x as Re, y as ze, z as Be } from "./CardChartSlot-BJI1-6Fi.mjs";
17
+ import { B as me, C as he, F as ge, H as _e, I as ve, N as ye, R as be, S as xe, T as Se, U as Ce, V as H, _ as we, b as Te, c as Ee, d as De, f as Oe, g as ke, h as Ae, j as je, l as Me, m as Ne, o as Pe, p as U, r as Fe, s as W, u as G, v as Ie, w as Le, x as Re, y as ze, z as Be } from "./CardChartSlot-f36Se2zp.mjs";
18
18
  import { _ as Ve, a as He, c as K, d as Ue, f as We, g as Ge, h as Ke, i as qe, m as Je, n as Ye, o as Xe, p as Ze, r as q, s as Qe, t as J, u as $e } from "./qaSelectors-OdHjlXAo.mjs";
19
19
  import { A as et, E as tt, O as nt, T as rt, V as it, k as at, t as ot, w as st } from "./dist-BN9zta-l.mjs";
20
20
  import { n as ct, t as lt } from "./x-aT15zz1n.mjs";
@@ -1094,7 +1094,7 @@ var Yr = Br, Xr = Hr, Zr = Wr, Qr = Kr, $r = () => /* @__PURE__ */ X("h1", {
1094
1094
  config: w,
1095
1095
  metricConfig: T,
1096
1096
  datasetConfig: E,
1097
- dataset: re(E)
1097
+ dataset: I(E)
1098
1098
  };
1099
1099
  }, ti = ({ className: e, orientation: t = "horizontal", ...n }) => /* @__PURE__ */ X(Yr, {
1100
1100
  "data-slot": "tabs",
@@ -1274,7 +1274,7 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
1274
1274
  }),
1275
1275
  /* @__PURE__ */ X(le, { filtersPanelProps: h }),
1276
1276
  /* @__PURE__ */ X(fe, { SortPanelProps: g }),
1277
- /* @__PURE__ */ X(N, { chartTypePanelProps: _ }),
1277
+ /* @__PURE__ */ X(M, { chartTypePanelProps: _ }),
1278
1278
  /* @__PURE__ */ X(de, { ChartAppearancePanelProps: v })
1279
1279
  ] });
1280
1280
  }, vi = qe("create-metric-header", "save", "reason"), yi = "Untitled metric", bi = ({ metricName: t, isSaved: n = !1, statusLabel: r = "Draft", title: i = "Create metric", onBack: a, backAriaPrefix: o = "Back to", onSave: s, saveLabel: c = "Save to dashboard", isLoading: l = !1, chartSettings: u, dimensions: d, metrics: f, isCustomTable: p, rows: m, className: h }) => {
@@ -1422,7 +1422,7 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
1422
1422
  ...n,
1423
1423
  alias: n.dataMartColumnAlias || n.name
1424
1424
  }
1425
- }), [t, n]), i = Ei(n), { DragNodeRef: a } = P({
1425
+ }), [t, n]), i = Ei(n), { DragNodeRef: a } = N({
1426
1426
  identifier: {
1427
1427
  id: n.name,
1428
1428
  type: "column"
@@ -1462,7 +1462,7 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
1462
1462
  "data-slot": "data-rail-preview-column",
1463
1463
  ...i,
1464
1464
  className: Y(Pi, "text-(--muted-foreground)"),
1465
- title: [`${r} - select ${I(e)} to use it`, t.description].filter(Boolean).join(": "),
1465
+ title: [`${r} - select ${F(e)} to use it`, t.description].filter(Boolean).join(": "),
1466
1466
  onClick: () => n(e),
1467
1467
  children: [/* @__PURE__ */ X(Ti, { kind: xi(t.dataType) }), /* @__PURE__ */ X("span", {
1468
1468
  className: "truncate",
@@ -1479,7 +1479,7 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
1479
1479
  className: "h-px flex-1 bg-(--border)"
1480
1480
  })]
1481
1481
  }), Ri = ({ node: e, isSelected: t, isExpanded: n, onToggleExpand: r, onSelectTable: i }) => {
1482
- let { table: a, key: o, visibleColumns: s } = e, c = I(a), l = qe("data-rail-table-columns", o), u = ji(a);
1482
+ let { table: a, key: o, visibleColumns: s } = e, c = F(a), l = qe("data-rail-table-columns", o), u = ji(a);
1483
1483
  return /* @__PURE__ */ Z("div", {
1484
1484
  "data-slot": "data-rail-table-node",
1485
1485
  className: "flex shrink-0 flex-col",
@@ -1560,7 +1560,7 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
1560
1560
  let e = !y;
1561
1561
  l === void 0 && v(e), u?.(e);
1562
1562
  }, x = r ? ki(r) : "", S = p.trim().toLowerCase(), C = e.useMemo(() => n.map((e) => {
1563
- let t = Mi(Ai(e)), n = !S || I(e).toLowerCase().includes(S) || e.tableName.toLowerCase().includes(S), r = S ? t.filter((e) => Di(e, S)) : t;
1563
+ let t = Mi(Ai(e)), n = !S || F(e).toLowerCase().includes(S) || e.tableName.toLowerCase().includes(S), r = S ? t.filter((e) => Di(e, S)) : t;
1564
1564
  return {
1565
1565
  table: e,
1566
1566
  key: ki(e),
@@ -1582,7 +1582,7 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
1582
1582
  ...t,
1583
1583
  [e]: !t[e]
1584
1584
  }));
1585
- }, O = n.length, k = n.reduce((e, t) => e + ji(t), 0), ee = C.reduce((e, t) => e + t.visibleColumns.length, 0), A = S ? `${C.length} of ${O} tables, ${ee} of ${k} columns` : `${Oi(O, "table")}, ${Oi(k, "column")}`, te = /* @__PURE__ */ X("button", {
1585
+ }, O = n.length, k = n.reduce((e, t) => e + ji(t), 0), ee = C.reduce((e, t) => e + t.visibleColumns.length, 0), te = S ? `${C.length} of ${O} tables, ${ee} of ${k} columns` : `${Oi(O, "table")}, ${Oi(k, "column")}`, ne = /* @__PURE__ */ X("button", {
1586
1586
  type: "button",
1587
1587
  ...J("data-rail-collapse"),
1588
1588
  "aria-expanded": !y,
@@ -1601,7 +1601,7 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
1601
1601
  ...J("data-rail"),
1602
1602
  className: Y("flex h-full w-11 shrink-0 flex-col items-center gap-2 border-r border-(--border) bg-(--background) py-2", f),
1603
1603
  children: [
1604
- te,
1604
+ ne,
1605
1605
  /* @__PURE__ */ X("span", {
1606
1606
  "aria-hidden": "true",
1607
1607
  className: "h-px w-6 shrink-0 bg-(--border)"
@@ -1612,11 +1612,11 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
1612
1612
  }),
1613
1613
  /* @__PURE__ */ Z("span", {
1614
1614
  ...J("data-rail-count"),
1615
- title: A,
1615
+ title: te,
1616
1616
  className: "mt-auto text-caption tabular-nums text-(--muted-foreground)",
1617
1617
  children: [O, /* @__PURE__ */ Z("span", {
1618
1618
  className: "sr-only",
1619
- children: [" ", A]
1619
+ children: [" ", te]
1620
1620
  })]
1621
1621
  })
1622
1622
  ]
@@ -1631,7 +1631,7 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
1631
1631
  children: [/* @__PURE__ */ X("span", {
1632
1632
  className: "truncate text-xs font-semibold tracking-tight text-(--foreground)",
1633
1633
  children: "Data"
1634
- }), te]
1634
+ }), ne]
1635
1635
  }),
1636
1636
  o ? /* @__PURE__ */ Z("div", {
1637
1637
  ...J("data-rail-datasource"),
@@ -1708,7 +1708,7 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
1708
1708
  children: /* @__PURE__ */ X("span", {
1709
1709
  ...J("data-rail-count"),
1710
1710
  className: "truncate text-caption tabular-nums text-(--muted-foreground)",
1711
- children: A
1711
+ children: te
1712
1712
  })
1713
1713
  })
1714
1714
  ]
@@ -1842,7 +1842,7 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
1842
1842
  ...t.draggableItemData.column,
1843
1843
  alias: t.alias
1844
1844
  }
1845
- }), [t]), { DragNodeRef: E, isDragging: D } = P({
1845
+ }), [t]), { DragNodeRef: E, isDragging: D } = N({
1846
1846
  identifier: {
1847
1847
  id: t.alias,
1848
1848
  type: C
@@ -1850,22 +1850,22 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
1850
1850
  data: w,
1851
1851
  modifiers: { highlightDrop: { onDrag: !0 } },
1852
1852
  CustomDragPreview: /* @__PURE__ */ X(Zi, { label: g })
1853
- }), k = xi(t.datatype), ee = Si[k], [A, te] = e.useState(!1), [ne, j] = e.useState("list"), M = e.useRef(null), [N, F] = e.useState(t.percentileValue ?? .5), [I, re] = e.useState([]), [ie, ae] = e.useState(t.functionConfiguration?.dateFormat ?? ""), oe = (e) => {
1854
- te(e), e || (j("list"), M.current = null);
1853
+ }), k = xi(t.datatype), ee = Si[k], [te, ne] = e.useState(!1), [re, A] = e.useState("list"), j = e.useRef(null), [M, P] = e.useState(t.percentileValue ?? .5), [F, ie] = e.useState([]), [I, ae] = e.useState(t.functionConfiguration?.dateFormat ?? ""), oe = (e) => {
1854
+ ne(e), e || (A("list"), j.current = null);
1855
1855
  }, L = (e, r) => {
1856
- Yi.has(e.value) ? (r.preventDefault(), M.current = e, F(t.percentileValue ?? .5), l && f.length && I.length === 0 && re(d.filter((e) => f.some((t) => t.name === e.dimension?.columnName))), j("percentile")) : n === "DIMENSION" && e.value === "date format" ? (r.preventDefault(), M.current = e, ae(t.functionConfiguration?.dateFormat ?? ""), j("dateFormat")) : o({
1856
+ Yi.has(e.value) ? (r.preventDefault(), j.current = e, P(t.percentileValue ?? .5), l && f.length && F.length === 0 && ie(d.filter((e) => f.some((t) => t.name === e.dimension?.columnName))), A("percentile")) : n === "DIMENSION" && e.value === "date format" ? (r.preventDefault(), j.current = e, ae(t.functionConfiguration?.dateFormat ?? ""), A("dateFormat")) : o({
1857
1857
  column: t,
1858
1858
  helperFunction: e,
1859
1859
  type: n
1860
1860
  });
1861
1861
  }, se = () => {
1862
- let e = M.current;
1862
+ let e = j.current;
1863
1863
  e && (o({
1864
1864
  column: t,
1865
1865
  helperFunction: e,
1866
1866
  type: "METRIC",
1867
- percentileValue: N,
1868
- partitionByColumns: I.map((e) => {
1867
+ percentileValue: M,
1868
+ partitionByColumns: F.map((e) => {
1869
1869
  if (!e.dimension) return;
1870
1870
  let t = f.find((t) => t.name === e.dimension?.columnName);
1871
1871
  return {
@@ -1875,12 +1875,12 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
1875
1875
  }).filter((e) => !!e)
1876
1876
  }), oe(!1));
1877
1877
  }, R = () => {
1878
- let e = M.current;
1878
+ let e = j.current;
1879
1879
  e && (o({
1880
1880
  column: t,
1881
1881
  helperFunction: e,
1882
1882
  type: "DIMENSION",
1883
- functionConfiguration: { dateFormat: ie }
1883
+ functionConfiguration: { dateFormat: I }
1884
1884
  }), oe(!1));
1885
1885
  }, z = !["ARITHMETIC", "CUSTOM"].includes(t.type), [ce, B] = e.useState(!1), [le, ue] = e.useState(t.alias), [de, fe] = e.useState(t.cast ?? u[u.length - 1]), pe = e.useRef(!1), V = e.useId(), me = `${V}-rename-input`, ge = `${V}-partition`, _e = `${V}-percentile-value`, ye = `${V}-date-format-value`, be = (e) => {
1886
1886
  B(e), e && (ue(t.alias), fe(t.cast ?? u[u.length - 1]), pe.current = !1);
@@ -2024,7 +2024,7 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
2024
2024
  })
2025
2025
  }), /* @__PURE__ */ X(De, { children: S.tooltip })] }) }) : null]
2026
2026
  }) : b.length > 0 ? /* @__PURE__ */ Z(xe, {
2027
- open: A,
2027
+ open: te,
2028
2028
  onOpenChange: oe,
2029
2029
  children: [/* @__PURE__ */ X(je, {
2030
2030
  asChild: !0,
@@ -2044,7 +2044,7 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
2044
2044
  })
2045
2045
  }), /* @__PURE__ */ X(he, {
2046
2046
  align: "start",
2047
- children: ne === "list" ? b.map((e) => {
2047
+ children: re === "list" ? b.map((e) => {
2048
2048
  let t = e.value === "distinct" ? e.tooltip : void 0;
2049
2049
  return /* @__PURE__ */ X(Se, {
2050
2050
  ...J(...H, "function", e.value),
@@ -2059,7 +2059,7 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
2059
2059
  }) : null]
2060
2060
  })
2061
2061
  }, e.value);
2062
- }) : ne === "percentile" ? /* @__PURE__ */ Z("div", {
2062
+ }) : re === "percentile" ? /* @__PURE__ */ Z("div", {
2063
2063
  className: "flex w-56 flex-col gap-2 p-1",
2064
2064
  children: [
2065
2065
  l ? /* @__PURE__ */ Z("div", {
@@ -2073,13 +2073,13 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
2073
2073
  className: "px-1 py-1 text-xs text-(--muted-foreground)",
2074
2074
  children: "No dimensions available"
2075
2075
  }) : d.map((e) => {
2076
- let t = I.some((t) => t.value === e.value), n = `${ge}-${e.value}`;
2076
+ let t = F.some((t) => t.value === e.value), n = `${ge}-${e.value}`;
2077
2077
  return /* @__PURE__ */ Z("label", {
2078
2078
  htmlFor: n,
2079
2079
  className: "flex cursor-pointer items-center gap-2 rounded-(--radius-xs) px-1 py-1 text-xs hover:bg-(--accent)",
2080
2080
  children: [/* @__PURE__ */ X(Qe, {
2081
2081
  checked: t,
2082
- onCheckedChange: (t) => re((n) => t ? [...n, e] : n.filter((t) => t.value !== e.value)),
2082
+ onCheckedChange: (t) => ie((n) => t ? [...n, e] : n.filter((t) => t.value !== e.value)),
2083
2083
  ...J(...H, "partition", e.value),
2084
2084
  id: n
2085
2085
  }), /* @__PURE__ */ X("span", {
@@ -2101,10 +2101,10 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
2101
2101
  min: 0,
2102
2102
  max: 1,
2103
2103
  step: .01,
2104
- value: N,
2104
+ value: M,
2105
2105
  onChange: (e) => {
2106
2106
  let t = Number(e.target.value);
2107
- Number.isNaN(t) && (t = 0), t < 0 && (t = 0), t > 1 && (t = 1), F(t);
2107
+ Number.isNaN(t) && (t = 0), t < 0 && (t = 0), t > 1 && (t = 1), P(t);
2108
2108
  },
2109
2109
  ...J(...H, "percentile-value"),
2110
2110
  id: _e,
@@ -2119,14 +2119,14 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
2119
2119
  size: "sm",
2120
2120
  className: "cta-secondary",
2121
2121
  ...J(...H, "percentile-cancel"),
2122
- onClick: () => j("list"),
2122
+ onClick: () => A("list"),
2123
2123
  children: "Cancel"
2124
2124
  }), /* @__PURE__ */ X(K, {
2125
2125
  type: "button",
2126
2126
  variant: "secondary",
2127
2127
  size: "sm",
2128
2128
  className: "cta-primary",
2129
- disabled: l && I.length === 0,
2129
+ disabled: l && F.length === 0,
2130
2130
  ...J(...H, "percentile-save"),
2131
2131
  onClick: se,
2132
2132
  children: "Save"
@@ -2143,7 +2143,7 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
2143
2143
  children: "Date format"
2144
2144
  }), /* @__PURE__ */ X(He, {
2145
2145
  type: "text",
2146
- value: ie,
2146
+ value: I,
2147
2147
  onChange: (e) => ae(e.target.value),
2148
2148
  placeholder: "%Y-%m-%d, yyyy-mm-dd",
2149
2149
  ...J(...H, "date-format-value"),
@@ -2158,7 +2158,7 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
2158
2158
  size: "sm",
2159
2159
  className: "cta-secondary",
2160
2160
  ...J(...H, "date-format-cancel"),
2161
- onClick: () => j("list"),
2161
+ onClick: () => A("list"),
2162
2162
  children: "Cancel"
2163
2163
  }), /* @__PURE__ */ X(K, {
2164
2164
  type: "button",
@@ -2262,29 +2262,29 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
2262
2262
  a,
2263
2263
  r,
2264
2264
  i
2265
- ]), { setDropNodeRef: A, dragStatus: te } = B({
2265
+ ]), { setDropNodeRef: te, dragStatus: ne } = B({
2266
2266
  identifier: ha,
2267
2267
  events: { onDrop: ee("METRIC") },
2268
2268
  modifiers: p
2269
- }), { setDropNodeRef: ne, dragStatus: j } = B({
2269
+ }), { setDropNodeRef: re, dragStatus: A } = B({
2270
2270
  identifier: ma,
2271
2271
  events: { onDrop: ee("DIMENSION") },
2272
2272
  modifiers: f
2273
- }), { dndState: M } = F(), N = !!M.active, P = M.active?.identifier?.type, I = (e, t) => {
2274
- if (!N) return { state: "idle" };
2275
- if (e === "DIMENSION" ? ["dimensions", "aggregate_dimensions"].includes(P || "") : ["metrics", "aggregate_metrics"].includes(P || "")) return { state: t ? "over" : "armed" };
2273
+ }), { dndState: j } = P(), M = !!j.active, N = j.active?.identifier?.type, F = (e, t) => {
2274
+ if (!M) return { state: "idle" };
2275
+ if (e === "DIMENSION" ? ["dimensions", "aggregate_dimensions"].includes(N || "") : ["metrics", "aggregate_metrics"].includes(N || "")) return { state: t ? "over" : "armed" };
2276
2276
  let n = ce({
2277
2277
  chartType: m.chartType,
2278
2278
  target: e,
2279
2279
  selectedDims: r,
2280
2280
  selectedMetrics: i,
2281
- sourceType: P
2281
+ sourceType: N
2282
2282
  });
2283
2283
  return n.canDrop ? { state: t ? "over" : "armed" } : t ? {
2284
2284
  state: "rejected",
2285
2285
  refusal: n.warning
2286
2286
  } : { state: "idle" };
2287
- }, re = I("METRIC", te.isDragOver), ie = I("DIMENSION", j.isDragOver), ae = re.state === "rejected" ? re.refusal : void 0, oe = ie.state === "rejected" ? ie.refusal : void 0, L = ce({
2287
+ }, ie = F("METRIC", ne.isDragOver), I = F("DIMENSION", A.isDragOver), ae = ie.state === "rejected" ? ie.refusal : void 0, oe = I.state === "rejected" ? I.refusal : void 0, L = ce({
2288
2288
  chartType: m.chartType,
2289
2289
  target: "DIMENSION",
2290
2290
  selectedDims: r,
@@ -2330,9 +2330,9 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
2330
2330
  }), "Measures"]
2331
2331
  }),
2332
2332
  /* @__PURE__ */ Z("div", {
2333
- ref: A,
2333
+ ref: te,
2334
2334
  ...q("field-zone", "measures"),
2335
- className: Y(sa, ca[re.state]),
2335
+ className: Y(sa, ca[ie.state]),
2336
2336
  children: [
2337
2337
  ae ? /* @__PURE__ */ Z("span", {
2338
2338
  ...q("field-zone", "measures", "refused"),
@@ -2429,9 +2429,9 @@ var hi = ({ field: e }) => /* @__PURE__ */ Z("span", {
2429
2429
  }), "Dimensions"]
2430
2430
  }),
2431
2431
  /* @__PURE__ */ Z("div", {
2432
- ref: ne,
2432
+ ref: re,
2433
2433
  ...q("field-zone", "dimensions"),
2434
- className: Y(sa, ca[ie.state]),
2434
+ className: Y(sa, ca[I.state]),
2435
2435
  children: [
2436
2436
  oe ? /* @__PURE__ */ Z("span", {
2437
2437
  ...q("field-zone", "dimensions", "refused"),
@@ -2741,7 +2741,7 @@ var Ta = ({ rows: t, qaEntity: n }) => {
2741
2741
  }) : null
2742
2742
  ]
2743
2743
  });
2744
- }, Ea = e.lazy(async () => ({ default: (await import("./charts-BCsWRROL.mjs").then((e) => e.t)).DbnChart })), Da = e.lazy(async () => ({ default: (await import("./Chart-BPRIOdLy.mjs").then((e) => e.n)).Chart })), Oa = Object.freeze({
2744
+ }, Ea = e.lazy(async () => ({ default: (await import("./charts-BCsWRROL.mjs").then((e) => e.t)).DbnChart })), Da = e.lazy(async () => ({ default: (await import("./Chart-Rc4bVXrP.mjs").then((e) => e.n)).Chart })), Oa = Object.freeze({
2745
2745
  isLoading: !1,
2746
2746
  error: "",
2747
2747
  data: [],
@@ -2788,30 +2788,30 @@ var Ma = ({ data: t, isLoading: n, error: r, errorView: i, chartSettings: a, dim
2788
2788
  D,
2789
2789
  n
2790
2790
  ]);
2791
- let k = D ? t : O.current?.rows, M = D ? a : O.current?.settings ?? a, N = !!k && k.length > 0, P = e.useMemo(() => ({
2792
- ...M,
2793
- chartColors: p ?? M?.chartColors
2794
- }), [M, p]), F = e.useMemo(() => !N || ja(a.chartType) ? null : te(P, k), [
2795
- N,
2791
+ let k = D ? t : O.current?.rows, j = D ? a : O.current?.settings ?? a, M = !!k && k.length > 0, N = e.useMemo(() => ({
2792
+ ...j,
2793
+ chartColors: p ?? j?.chartColors
2794
+ }), [j, p]), P = e.useMemo(() => !M || ja(a.chartType) ? null : ne(N, k), [
2795
+ M,
2796
2796
  a.chartType,
2797
- P,
2797
+ N,
2798
2798
  k
2799
- ]), I = e.useMemo(() => A(m, {
2800
- ...ne(P?.customSettings),
2801
- tooltipSettings: P?.tooltipSettings,
2802
- categoryField: F?.type === "gaugeV2" ? null : P?.xAxis,
2803
- chartZoom: P?.customSettings?.chartZoom,
2804
- percentageSize: P?.percentageSize,
2805
- repulsion: P?.customSettings?.repulsion,
2806
- isUseAsDifference: P?.waterfallSettings?.isUseAsDifference,
2807
- axisPointerStyle: P?.customSettings?.axisPointerStyle,
2808
- crossPointer: j(P?.customSettings, P?.chartType),
2809
- axisVisibility: P?.customSettings
2799
+ ]), F = e.useMemo(() => te(m, {
2800
+ ...re(N?.customSettings),
2801
+ tooltipSettings: N?.tooltipSettings,
2802
+ categoryField: P?.type === "gaugeV2" ? null : N?.xAxis,
2803
+ chartZoom: N?.customSettings?.chartZoom,
2804
+ percentageSize: N?.percentageSize,
2805
+ repulsion: N?.customSettings?.repulsion,
2806
+ isUseAsDifference: N?.waterfallSettings?.isUseAsDifference,
2807
+ axisPointerStyle: N?.customSettings?.axisPointerStyle,
2808
+ crossPointer: A(N?.customSettings, N?.chartType),
2809
+ axisVisibility: N?.customSettings
2810
2810
  }), [
2811
2811
  m,
2812
- P,
2813
- F?.type
2814
- ]), re = e.useMemo(() => ja(a.chartType) ? void 0 : ee(P), [a.chartType, P]), [ae, oe] = e.useState(null), L = ie(ae), se = o.map((e) => e.label || e.alias || e.name), R = N && l && se.length > 0 && !Aa.has(a.chartType), z = {
2812
+ N,
2813
+ P?.type
2814
+ ]), I = e.useMemo(() => ja(a.chartType) ? void 0 : ee(N), [a.chartType, N]), [ae, oe] = e.useState(null), L = ie(ae), se = o.map((e) => e.label || e.alias || e.name), R = M && l && se.length > 0 && !Aa.has(a.chartType), z = {
2815
2815
  customMessages: _,
2816
2816
  translationDictionary: v,
2817
2817
  selectedLanguage: y
@@ -2826,7 +2826,7 @@ var Ma = ({ data: t, isLoading: n, error: r, errorView: i, chartSettings: a, dim
2826
2826
  ...z
2827
2827
  })
2828
2828
  }) });
2829
- else if (N) {
2829
+ else if (M) {
2830
2830
  let t = k;
2831
2831
  B = /* @__PURE__ */ Z(mt, { children: [R ? /* @__PURE__ */ X(Na, {
2832
2832
  dimensionLabels: se,
@@ -2839,16 +2839,16 @@ var Ma = ({ data: t, isLoading: n, error: r, errorView: i, chartSettings: a, dim
2839
2839
  children: [ja(a.chartType) ? /* @__PURE__ */ X(Ta, {
2840
2840
  rows: t,
2841
2841
  qaEntity: "preview-pane"
2842
- }) : F ? /* @__PURE__ */ X(e.Suspense, {
2842
+ }) : P ? /* @__PURE__ */ X(e.Suspense, {
2843
2843
  fallback: /* @__PURE__ */ X($, { children: /* @__PURE__ */ X(W, {}) }),
2844
2844
  children: /* @__PURE__ */ X(Ea, {
2845
- type: F.type,
2846
- data: F.data,
2847
- appearance: I,
2845
+ type: P.type,
2846
+ data: P.data,
2847
+ appearance: F,
2848
2848
  applyDensity: h(),
2849
- colorBy: F.colorBy,
2850
- valueFormatter: re,
2851
- chartColors: P.chartColors,
2849
+ colorBy: P.colorBy,
2850
+ valueFormatter: I,
2851
+ chartColors: N.chartColors,
2852
2852
  className: "h-full w-full"
2853
2853
  })
2854
2854
  }) : Fe(a.chartType) ? /* @__PURE__ */ X(e.Suspense, {
@@ -2858,10 +2858,10 @@ var Ma = ({ data: t, isLoading: n, error: r, errorView: i, chartSettings: a, dim
2858
2858
  ...q("preview-pane", "legacy-chart"),
2859
2859
  className: "h-full w-full",
2860
2860
  children: /* @__PURE__ */ X(Da, {
2861
- chartOptions: P,
2861
+ chartOptions: N,
2862
2862
  data: t,
2863
2863
  chartAppearance: m,
2864
- colors: P.chartColors,
2864
+ colors: N.chartColors,
2865
2865
  metricCardColor: "transparent",
2866
2866
  chartFontSettings: L,
2867
2867
  pivotDrillState: Oa,
@@ -2983,9 +2983,9 @@ var Fa = (t) => {
2983
2983
  noDataImg: p,
2984
2984
  ...D
2985
2985
  }), /* @__PURE__ */ X(ba, { qaEntity: "preview-table" })] });
2986
- let ee = E ? Object.keys(T[0] ?? {}).length : 0, A;
2987
- A = i ? "" : r && !E ? "Running query..." : E ? `${T.length.toLocaleString()} rows` : "No results yet";
2988
- let te = E ? `${T.length.toLocaleString()} ${T.length === 1 ? "row" : "rows"} \u00D7 ${ee} ${ee === 1 ? "column" : "columns"}` : "No rows to display", ne = !i && !(S === "table" && E);
2986
+ let ee = E ? Object.keys(T[0] ?? {}).length : 0, te;
2987
+ te = i ? "" : r && !E ? "Running query..." : E ? `${T.length.toLocaleString()} rows` : "No results yet";
2988
+ let ne = E ? `${T.length.toLocaleString()} ${T.length === 1 ? "row" : "rows"} \u00D7 ${ee} ${ee === 1 ? "column" : "columns"}` : "No rows to display", re = !i && !(S === "table" && E);
2989
2989
  return /* @__PURE__ */ Z(ti, {
2990
2990
  value: S,
2991
2991
  onValueChange: (e) => C(e),
@@ -3021,7 +3021,7 @@ var Fa = (t) => {
3021
3021
  ...q("preview-table", "row-count"),
3022
3022
  "aria-live": "polite",
3023
3023
  className: "min-w-0 flex-1 truncate text-center text-caption tabular-nums text-(--muted-foreground)",
3024
- children: A
3024
+ children: te
3025
3025
  }),
3026
3026
  /* @__PURE__ */ Z("div", {
3027
3027
  className: "flex shrink-0 items-center gap-1",
@@ -3074,12 +3074,12 @@ var Fa = (t) => {
3074
3074
  children: k
3075
3075
  })
3076
3076
  }),
3077
- ne ? /* @__PURE__ */ X("div", {
3077
+ re ? /* @__PURE__ */ X("div", {
3078
3078
  ...q("preview-table", "footer"),
3079
3079
  className: "flex h-7 shrink-0 items-center border-t border-(--border) px-3 text-caption tabular-nums text-(--muted-foreground)",
3080
3080
  children: /* @__PURE__ */ X("span", {
3081
3081
  className: "truncate",
3082
- children: te
3082
+ children: ne
3083
3083
  })
3084
3084
  }) : null
3085
3085
  ]
@@ -3187,16 +3187,16 @@ function Va(e, t) {
3187
3187
  return e ? t ? "configure-fields" : "ready-to-save" : "select-table";
3188
3188
  }
3189
3189
  var Ha = (t) => {
3190
- let { clientId: a, companyId: o, isLiveMode: s, externalDashboardId: c, userProvidedDashboardId: l, chartColors: u, colorPalettes: f, setShowMetricCreateModal: p, isShowMetricCreateModal: m, metric: h, metricData: g, workspaceId: _, token: v, clientColumnType: y, tenancyType: b, datasourceId: S, setEditMetric: C, shouldFitFullScreen: w, onServerEvent: T, refetchDashboardData: E, saveDashLayout: D, isIncrementalJoin: O, customChartSettings: k, showAllChartSettings: ee, showChartClickSettings: A, allowedChartTypes: te, filters: ne } = t, j = e.useRef(!1), N = e.useRef(null), P = e.useCallback((e) => {
3191
- if (e === !1 && j.current) {
3192
- let e = N.current == null ? 0 : Math.round(performance.now() - N.current);
3190
+ let { clientId: a, companyId: o, isLiveMode: s, externalDashboardId: c, userProvidedDashboardId: l, chartColors: u, colorPalettes: f, setShowMetricCreateModal: p, isShowMetricCreateModal: m, metric: h, metricData: g, workspaceId: _, token: v, clientColumnType: y, tenancyType: b, datasourceId: S, setEditMetric: C, shouldFitFullScreen: w, onServerEvent: T, refetchDashboardData: E, saveDashLayout: D, isIncrementalJoin: O, customChartSettings: k, showAllChartSettings: ee, showChartClickSettings: te, allowedChartTypes: ne, filters: re } = t, A = e.useRef(!1), M = e.useRef(null), N = e.useCallback((e) => {
3191
+ if (e === !1 && A.current) {
3192
+ let e = M.current == null ? 0 : Math.round(performance.now() - M.current);
3193
3193
  gt(za, ht.CREATE_METRIC_SAVED, {
3194
3194
  success: !0,
3195
3195
  latencyMs: e
3196
- }), j.current = !1, N.current = null;
3196
+ }), A.current = !1, M.current = null;
3197
3197
  }
3198
3198
  p(e);
3199
- }, [p]), { metricConfig: F, dataset: re } = ei({
3199
+ }, [p]), { metricConfig: P, dataset: ie } = ei({
3200
3200
  clientId: a,
3201
3201
  companyId: o,
3202
3202
  isLiveMode: s,
@@ -3205,7 +3205,7 @@ var Ha = (t) => {
3205
3205
  chartColors: u,
3206
3206
  colorPalettes: f,
3207
3207
  isShowMetricCreateModal: m,
3208
- setShowMetricCreateModal: P,
3208
+ setShowMetricCreateModal: N,
3209
3209
  metric: h,
3210
3210
  metricData: g,
3211
3211
  workspaceId: _,
@@ -3221,9 +3221,9 @@ var Ha = (t) => {
3221
3221
  isIncrementalJoin: O,
3222
3222
  customChartSettings: k,
3223
3223
  showAllChartSettings: ee,
3224
- allowedChartTypes: te,
3225
- filters: ne
3226
- }), { isLoading: ie, chartSettings: L, setShowSaveMetricModal: R, data: z, error: ce, setShowChartCustomProperties: B, isShowChartType: le, setShowChartType: ue, isShowSaveMetricModal: de, updateExternalMetric: fe, createExternalMetric: pe, saveError: V, setChartSettings: me, isShowChartCustomProperties: he, setBarRadius: ge, isShowSortPanel: _e, setShowSortPanel: ve, isShowFilters: ye, setShowFilters: be, isCreatingMetric: xe, enabledCharts: Se, setResetPallete: Ce, dbName: H, drillDownSettings: we, limit: Te, setLimit: Ee, clickBehaviourConfigs: De, setClickBehaviourConfigs: Oe } = F, { currentSelectedTable: ke, joinTableOption: Ae, setCurrentSelectedTable: je, configuration: Me, functionOptions: Ne, companySubsetTableList: Pe, selectedMainTable: U, setSelectedMainTable: Fe, selectedDims: W, selectedMetrics: G, onDropColumn: Ie, dimModifiers: Le, metricModifiers: Re, onChangeAlias: ze, onChangeHelperFunction: Be, onRemoveColumn: Ve, selectedTable: He, createdSorts: K, setCreatedSorts: Ue, filterColumnOptions: We, onApplyFilter: Ge, onApplySort: Ke, sortColumnOptions: qe, setCreatedFilters: Je, createdFilters: Ye, editorRef: Xe, getFilterDropDownType: Ze, setChartFields: q, resetCharSettings: Qe, onSelectPivotTable: J, onChangeDrillDown: $e, drillFilters: et, selectedJoinColumnOptions: tt, onChangeLimit: nt, onChangeChartType: rt, arithmeticColumnOptions: it, onSaveArithMetricOption: at, builderError: ot } = re, st = e.useMemo(() => f ? f.some((e) => M(e.colors, u)) ? f : [{
3224
+ allowedChartTypes: ne,
3225
+ filters: re
3226
+ }), { isLoading: I, chartSettings: L, setShowSaveMetricModal: R, data: z, error: ce, setShowChartCustomProperties: B, isShowChartType: le, setShowChartType: ue, isShowSaveMetricModal: de, updateExternalMetric: fe, createExternalMetric: pe, saveError: V, setChartSettings: me, isShowChartCustomProperties: he, setBarRadius: ge, isShowSortPanel: _e, setShowSortPanel: ve, isShowFilters: ye, setShowFilters: be, isCreatingMetric: xe, enabledCharts: Se, setResetPallete: Ce, dbName: H, drillDownSettings: we, limit: Te, setLimit: Ee, clickBehaviourConfigs: De, setClickBehaviourConfigs: Oe } = P, { currentSelectedTable: ke, joinTableOption: Ae, setCurrentSelectedTable: je, configuration: Me, functionOptions: Ne, companySubsetTableList: Pe, selectedMainTable: U, setSelectedMainTable: Fe, selectedDims: W, selectedMetrics: G, onDropColumn: Ie, dimModifiers: Le, metricModifiers: Re, onChangeAlias: ze, onChangeHelperFunction: Be, onRemoveColumn: Ve, selectedTable: He, createdSorts: K, setCreatedSorts: Ue, filterColumnOptions: We, onApplyFilter: Ge, onApplySort: Ke, sortColumnOptions: qe, setCreatedFilters: Je, createdFilters: Ye, editorRef: Xe, getFilterDropDownType: Ze, setChartFields: q, resetCharSettings: Qe, onSelectPivotTable: J, onChangeDrillDown: $e, drillFilters: et, selectedJoinColumnOptions: tt, onChangeLimit: nt, onChangeChartType: rt, arithmeticColumnOptions: it, onSaveArithMetricOption: at, builderError: ot } = ie, st = e.useMemo(() => f ? f.some((e) => j(e.colors, u)) ? f : [{
3227
3227
  name: "Default",
3228
3228
  colors: u ?? []
3229
3229
  }, ...f] : [{
@@ -3279,34 +3279,34 @@ var Ha = (t) => {
3279
3279
  ue,
3280
3280
  T
3281
3281
  ]), dt = e.useCallback((e) => {
3282
- Fe(e), T?.(n, I(e));
3282
+ Fe(e), T?.(n, F(e));
3283
3283
  }, [Fe, T]), ft = e.useCallback(() => {
3284
3284
  T?.(i);
3285
3285
  }, [T]), pt = e.useCallback((e, t) => {
3286
- j.current = !0, N.current = performance.now(), h ? fe(e, t) : pe(e);
3286
+ A.current = !0, M.current = performance.now(), h ? fe(e, t) : pe(e);
3287
3287
  }, [
3288
3288
  h,
3289
3289
  fe,
3290
3290
  pe
3291
3291
  ]);
3292
3292
  e.useEffect(() => {
3293
- if (j.current && V) {
3294
- let e = N.current == null ? 0 : Math.round(performance.now() - N.current);
3293
+ if (A.current && V) {
3294
+ let e = M.current == null ? 0 : Math.round(performance.now() - M.current);
3295
3295
  gt(za, ht.CREATE_METRIC_SAVED, {
3296
3296
  success: !1,
3297
3297
  latencyMs: e
3298
- }), j.current = !1, N.current = null;
3298
+ }), A.current = !1, M.current = null;
3299
3299
  }
3300
3300
  }, [V]);
3301
3301
  let _t = e.useCallback(() => {
3302
3302
  let e = Va(U, lt);
3303
- gt(za, ht.CREATE_METRIC_ABANDONED, { step: e }), P(!1), C?.(void 0);
3303
+ gt(za, ht.CREATE_METRIC_ABANDONED, { step: e }), N(!1), C?.(void 0);
3304
3304
  }, [
3305
3305
  U,
3306
3306
  lt,
3307
- P,
3307
+ N,
3308
3308
  C
3309
- ]), vt = x(), yt = e.useMemo(() => ae(vt.data), [vt.data]), bt = vt.data ? h ? yt.canEditMetric : yt.canCreateMetric : !0;
3309
+ ]), vt = x(), yt = e.useMemo(() => oe(vt.data), [vt.data]), bt = vt.data ? h ? yt.canEditMetric : yt.canCreateMetric : !0;
3310
3310
  if (!m || !bt) return null;
3311
3311
  let xt = !!z, St = !!(W.length || G.length), Ct = L.chartColors?.length ? L.chartColors : u;
3312
3312
  return /* @__PURE__ */ X(mt, { children: /* @__PURE__ */ Z("div", {
@@ -3321,7 +3321,7 @@ var Ha = (t) => {
3321
3321
  title: h ? "Update Metric" : "Create Metric",
3322
3322
  onBack: _t,
3323
3323
  onSave: () => R(!0),
3324
- isLoading: ie,
3324
+ isLoading: I,
3325
3325
  chartSettings: L,
3326
3326
  dimensions: W,
3327
3327
  metrics: G,
@@ -3363,7 +3363,7 @@ var Ha = (t) => {
3363
3363
  chartSettings: L,
3364
3364
  hasData: xt,
3365
3365
  hasSelectedFields: St,
3366
- isLoading: ie,
3366
+ isLoading: I,
3367
3367
  limit: Te,
3368
3368
  setLimit: Ee,
3369
3369
  onChangeLimit: nt,
@@ -3377,7 +3377,7 @@ var Ha = (t) => {
3377
3377
  filtersPanelProps: {
3378
3378
  token: v,
3379
3379
  tenancyType: b,
3380
- globalFilters: ne,
3380
+ globalFilters: re,
3381
3381
  clientColumnType: y,
3382
3382
  clientId: a,
3383
3383
  joinTableOption: Ae,
@@ -3419,7 +3419,7 @@ var Ha = (t) => {
3419
3419
  resultData: z,
3420
3420
  onChartChange: ut,
3421
3421
  selectedChart: L.chartType,
3422
- allowedChartTypes: te
3422
+ allowedChartTypes: ne
3423
3423
  },
3424
3424
  chartAppearancePanelProps: {
3425
3425
  setChartSettings: me,
@@ -3438,7 +3438,7 @@ var Ha = (t) => {
3438
3438
  },
3439
3439
  customChartSettings: k,
3440
3440
  showAllChartSettings: ee,
3441
- showChartClickSettings: A
3441
+ showChartClickSettings: te
3442
3442
  }
3443
3443
  }),
3444
3444
  /* @__PURE__ */ X(Fa, {
@@ -3446,9 +3446,9 @@ var Ha = (t) => {
3446
3446
  onOpenChartType: () => ue(!0),
3447
3447
  isChartTypePanelOpen: le,
3448
3448
  data: z,
3449
- isLoading: ie,
3449
+ isLoading: I,
3450
3450
  error: ce,
3451
- errorView: oe(ce, ot),
3451
+ errorView: ae(ce, ot),
3452
3452
  chartSettings: L,
3453
3453
  dimensions: W,
3454
3454
  metrics: G,
@@ -1,11 +1,11 @@
1
1
  import { memo as e, useEffect as t, useMemo as n, useState as r } from "react";
2
2
  import "react-dom";
3
3
  import "react-dom/client";
4
- import { Ct as i, Di as a, L as o, Q as s, Qr as c, Sr as l, St as u, oo as d, po as f, qi as p } from "./Portal-BMZrD27q.mjs";
5
- import { h as m, p as h } from "./timeseries-D7495x32.mjs";
4
+ import { Ct as i, Di as a, L as o, Q as s, Qr as c, Sr as l, St as u, oo as d, po as f, qi as p } from "./Portal-CxaQIVhn.mjs";
5
+ import { h as m, p as h } from "./timeseries-DI-9AaNe.mjs";
6
6
  import "./No_data-CdjBgHVn.mjs";
7
7
  import { a as ee, i as g, n as _, o as te, r as ne, s as re, t as ie } from "./dist-AOZRb92r.mjs";
8
- import { t as v } from "./conditionalFormatting-9rsy1Jg2.mjs";
8
+ import { t as v } from "./conditionalFormatting-Di6YiWwV.mjs";
9
9
  import { t as ae } from "./tableAriaRowModel-CVEaIc2a.mjs";
10
10
  import { t as oe } from "./Loader-DoUwkcO5.mjs";
11
11
  import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";