@databrainhq/plugin 0.17.9-beta.47 → 0.17.9-beta.48

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.
@@ -4013,7 +4013,7 @@ var eu = 300, tu = ({ open: e, onOpenChange: t, columns: n, rows: r, onDownload:
4013
4013
  ]
4014
4014
  })
4015
4015
  });
4016
- }, iu = z.lazy(async () => ({ default: (await import("./charts-BzunXCJW.mjs").then((e) => e.t)).DbnChart })), au = z.lazy(async () => ({ default: (await import("./Chart-CnS4idQI.mjs").then((e) => e.n)).Chart })), ou = Object.freeze({
4016
+ }, iu = z.lazy(async () => ({ default: (await import("./charts-BzunXCJW.mjs").then((e) => e.t)).DbnChart })), au = z.lazy(async () => ({ default: (await import("./Chart-2_umaljI.mjs").then((e) => e.n)).Chart })), ou = Object.freeze({
4017
4017
  isLoading: !1,
4018
4018
  error: "",
4019
4019
  data: [],
@@ -2933,8 +2933,14 @@ var Fo = ({ headers: e, data: t, variant: n = "primary", noDataText: r = "No Dat
2933
2933
  lazyUpdate: s
2934
2934
  }), c ? d.showLoading(u) : d.hideLoading(), d;
2935
2935
  }, t.prototype.resize = function() {
2936
- var e = this.getEchartsInstance();
2937
- if (!this.isInitialResize) try {
2936
+ var e = this.getEchartsInstance(), t = !1;
2937
+ if (this.isInitialResize && this.ele) try {
2938
+ var n = this.ele.clientWidth, r = this.ele.clientHeight;
2939
+ t = n > 0 && r > 0 && (n !== e.getWidth() || r !== e.getHeight());
2940
+ } catch {
2941
+ t = !1;
2942
+ }
2943
+ if (!this.isInitialResize || t) try {
2938
2944
  e.resize({
2939
2945
  width: "auto",
2940
2946
  height: "auto"
@@ -3054,7 +3060,7 @@ var Fo = ({ headers: e, data: t, variant: n = "primary", noDataText: r = "No Dat
3054
3060
  rr(e);
3055
3061
  }
3056
3062
  }
3057
- }, ls = sr(async () => (await import("./echarts-ZOgCIR7l.mjs"), { default: cs })), us = or((e, t) => /* @__PURE__ */ q(x, {
3063
+ }, ls = sr(async () => (await import("./echarts-GGpZSeR_.mjs"), { default: cs })), us = or((e, t) => /* @__PURE__ */ q(x, {
3058
3064
  surface: "chart",
3059
3065
  fallback: /* @__PURE__ */ q(tr, {}),
3060
3066
  children: /* @__PURE__ */ q(ls, {
@@ -13,7 +13,7 @@ import { a as ae } from "./RadioButton-BpO_7LIW.mjs";
13
13
  import { a as I, c as L, i as R, l as oe, n as z, o as se, r as ce, t as le } from "./SortPanel-B0doOUAt.mjs";
14
14
  import { n as ue } from "./Accordion-DLMkpjMx.mjs";
15
15
  import { t as B } from "./createLucideIcon-C-N26TaJ.mjs";
16
- import { B as de, C as fe, E as pe, H as me, I as he, L as ge, M as _e, P as ve, R as ye, S as be, T as xe, U as Se, V as Ce, _ as we, b as Te, c as Ee, d as De, f as Oe, g as ke, h as Ae, l as V, m as je, o as Me, p as Ne, r as H, s as Pe, u as U, v as W, w as Fe, x as Ie, y as Le, z as Re } from "./CardChartSlot-Cqx5rc-5.mjs";
16
+ import { B as de, C as fe, E as pe, H as me, I as he, L as ge, M as _e, P as ve, R as ye, S as be, T as xe, U as Se, V as Ce, _ as we, b as Te, c as Ee, d as De, f as Oe, g as ke, h as Ae, l as V, m as je, o as Me, p as Ne, r as H, s as Pe, u as U, v as W, w as Fe, x as Ie, y as Le, z as Re } from "./CardChartSlot-Cyksn0_m.mjs";
17
17
  import { a as ze, c as G, d as Be, f as Ve, g as He, h as Ue, i as We, l as Ge, m as Ke, n as qe, o as Je, p as Ye, r as K, s as Xe, t as q, u as Ze } from "./qaSelectors-CqSLYZ9l.mjs";
18
18
  import { A as Qe, B as $e, E as et, O as tt, T as nt, k as rt, t as it, w as at } from "./dist-DIlFLbj5.mjs";
19
19
  import { n as ot, t as st } from "./x-DDC7VFx5.mjs";
@@ -2754,7 +2754,7 @@ var wa = ({ rows: e, qaEntity: t }) => {
2754
2754
  }) : null
2755
2755
  ]
2756
2756
  });
2757
- }, Ta = Y.lazy(async () => ({ default: (await import("./charts-BzunXCJW.mjs").then((e) => e.t)).DbnChart })), Ea = Y.lazy(async () => ({ default: (await import("./Chart-CnS4idQI.mjs").then((e) => e.n)).Chart })), Da = Object.freeze({
2757
+ }, Ta = Y.lazy(async () => ({ default: (await import("./charts-BzunXCJW.mjs").then((e) => e.t)).DbnChart })), Ea = Y.lazy(async () => ({ default: (await import("./Chart-2_umaljI.mjs").then((e) => e.n)).Chart })), Da = Object.freeze({
2758
2758
  isLoading: !1,
2759
2759
  error: "",
2760
2760
  data: [],
@@ -9,7 +9,7 @@ import { n as d } from "./arrayToCsvString-Bj2E5XgM.mjs";
9
9
  import { C as f, E as p, T as m, _ as h, a as g, d as _, g as ee, h as v, o as y, t as te, w as b, x as ne } from "./permissions-D0tFL379.mjs";
10
10
  import { C as re, E as ie, F as ae, S as oe, a as se, b as ce, i as le, n as ue, o as de, r as fe, s as pe, t as me, w as he, x as ge, y as _e } from "./cardQueryError-CWeSg4L9.mjs";
11
11
  import { t as x } from "./createLucideIcon-C-N26TaJ.mjs";
12
- import { A as ve, B as ye, C as be, D as xe, E as S, F as Se, I as Ce, L as we, M as Te, N as Ee, O as C, P as De, S as Oe, _ as ke, a as w, b as Ae, c as je, d as Me, f as Ne, g as Pe, h as Fe, i as Ie, j as Le, k as Re, m as ze, n as Be, p as Ve, s as He, t as Ue, u as We, v as Ge, w as Ke, x as qe, y as Je } from "./CardChartSlot-Cqx5rc-5.mjs";
12
+ import { A as ve, B as ye, C as be, D as xe, E as S, F as Se, I as Ce, L as we, M as Te, N as Ee, O as C, P as De, S as Oe, _ as ke, a as w, b as Ae, c as je, d as Me, f as Ne, g as Pe, h as Fe, i as Ie, j as Le, k as Re, m as ze, n as Be, p as Ve, s as He, t as Ue, u as We, v as Ge, w as Ke, x as qe, y as Je } from "./CardChartSlot-Cyksn0_m.mjs";
13
13
  import { c as T, d as Ye, f as Xe, h as E, l as Ze, o as Qe, p as $e, s as et, u as tt } from "./qaSelectors-CqSLYZ9l.mjs";
14
14
  import { n as nt, t as rt } from "./x-DDC7VFx5.mjs";
15
15
  import { t as D } from "./dist-C0uxSp1k.mjs";
@@ -8,7 +8,7 @@ import { $ as o, A as s, Aa as l, Ca as u, Cr as d, Ei as f, H as p, Hi as m, Li
8
8
  import { b as qe, r as Je, x as Ye } from "./timeseries-BAn41226.mjs";
9
9
  import { _ as Xe, b as Ze, c as Qe, d as $e, f as et, g as tt, h as nt, i as rt, l as it, m as at, n as ot, o as st, p as ct, r as lt, s as ut, t as dt, u as ft } from "./ChartTypePanel-CeV5M5SQ.mjs";
10
10
  import { C as pt, S as mt, a as ht, b as gt, c as _t, d as vt, h as yt, i as bt, l as xt, m as St, n as Ct, o as wt, r as Tt, s as Et, t as Dt, u as Ot, x as kt } from "./TextAreaField-1klDZ00B.mjs";
11
- import { t as At } from "./Chart-CnS4idQI.mjs";
11
+ import { t as At } from "./Chart-2_umaljI.mjs";
12
12
  import { t as jt } from "./RadioButton-BpO_7LIW.mjs";
13
13
  import { n as Mt } from "./TimeSeriesSettings-KOsSPF2S.mjs";
14
14
  import { t as Nt } from "./Table-yiT9hOaS.mjs";
@@ -10,7 +10,7 @@ import { I as zn, L as Bn, M as Vn, b as Hn, j as Un, l as Wn, n as Gn, t as Kn
10
10
  import { n as qn, t as Jn } from "./Axis-9fJG6_xT.mjs";
11
11
  import { f as Yn, g as Xn, l as Zn, m as Qn, p as $n, t as er, u as tr, v as nr } from "./axisBand-C0nI32pA.mjs";
12
12
  import { r as rr, t as ir } from "./axisNiceTicks-CggqNl9O.mjs";
13
- import "./Chart-CnS4idQI.mjs";
13
+ import "./Chart-2_umaljI.mjs";
14
14
  import { t as Z } from "./extension-CLVYoN7B.mjs";
15
15
  import { a as ar, i as or, l as sr, n as cr, o as lr, r as ur, s as dr, t as fr } from "./install-C_kPiY2Z.mjs";
16
16
  import { a as pr, o as mr } from "./labelLayoutHelper-DmIOoXrY.mjs";
@@ -114,7 +114,7 @@ import { t as Rr } from "./arrayToCsvString-Bj2E5XgM.mjs";
114
114
  import { l as zr, m as Br, p as Vr, r as Hr, s as Ur } from "./text-CtrvkDIo.mjs";
115
115
  import { C as Wr, M as Gr, i as Kr, j as qr, l as Jr, n as Yr, r as Xr, s as Zr, t as Qr, u as $r } from "./permissions-D0tFL379.mjs";
116
116
  import { _ as ei, f as ti, g as ni, i as ri, n as ii, p as ai, r as oi, t as si, v as ci, w as li, y as ui } from "./TextAreaField-1klDZ00B.mjs";
117
- import { r as di, t as fi } from "./Chart-CnS4idQI.mjs";
117
+ import { r as di, t as fi } from "./Chart-2_umaljI.mjs";
118
118
  import { a as pi, t as mi } from "./transformData-ow-ma1SZ.mjs";
119
119
  import { a as hi, c as gi, i as _i, l as vi, n as yi, o as bi } from "./RadioButton-BpO_7LIW.mjs";
120
120
  import { A as xi, D as Si, E as Ci, F as wi, I as Ti, M as Ei, N as Di, O as Oi, P as ki, T as Ai, _ as ji, a as Mi, c as Ni, d as Pi, f as Fi, g as Ii, h as Li, i as Ri, j as zi, k as Bi, l as Vi, m as Hi, n as Ui, o as Wi, p as Gi, s as Ki, t as qi, u as Ji, v as Yi } from "./cardQueryError-CWeSg4L9.mjs";
@@ -13617,7 +13617,7 @@ var lp = "100% 0px", up = "[data-dbn-card-window=\"managed\"]", dp = (e) => {
13617
13617
  className: ha("h-full w-full", r),
13618
13618
  "aria-hidden": "true"
13619
13619
  });
13620
- }, Op = () => import("./MetricCardV2-CxeNPQQP.mjs"), kp = Ea.lazy(Op), Ap = () => {
13620
+ }, Op = () => import("./MetricCardV2-veqXANJF.mjs"), kp = Ea.lazy(Op), Ap = () => {
13621
13621
  Op().catch(() => {});
13622
13622
  }, jp = (e) => {
13623
13623
  let { isSectionActive: t } = Vf();
@@ -18471,7 +18471,7 @@ var Vp = ({ isOpen: e, onClose: t, report: n, isLoading: r, subText: i, zIndex:
18471
18471
  })]
18472
18472
  })
18473
18473
  })] });
18474
- }, qm = ja(() => import("./SearchMetricData-4z1FR3EV.mjs").then((e) => ({ default: e.SearchMetricData }))), Jm = (e) => /* @__PURE__ */ Z(Oa, {
18474
+ }, qm = ja(() => import("./SearchMetricData-BLnahSGI.mjs").then((e) => ({ default: e.SearchMetricData }))), Jm = (e) => /* @__PURE__ */ Z(Oa, {
18475
18475
  fallback: null,
18476
18476
  children: /* @__PURE__ */ Z(qm, { ...e })
18477
18477
  }), Ym = {
@@ -20287,7 +20287,7 @@ var Vp = ({ isOpen: e, onClose: t, report: n, isLoading: r, subText: i, zIndex:
20287
20287
  RETURN_TRUSTED_TYPE: !1
20288
20288
  }), Oh = "localStorageValueSet", kh = "dbn:embed-config", Ah = (e) => {
20289
20289
  document.dispatchEvent(new CustomEvent(Oh, { detail: e })), document.dispatchEvent(new CustomEvent(kh, { detail: e }));
20290
- }, jh = Ea.lazy(() => import("./CreateMetricV2-DPggXSWk.mjs")), Mh = ({ shouldFitFullScreen: e }) => /* @__PURE__ */ Z("div", {
20290
+ }, jh = Ea.lazy(() => import("./CreateMetricV2-BjdBqz9v.mjs")), Mh = ({ shouldFitFullScreen: e }) => /* @__PURE__ */ Z("div", {
20291
20291
  "data-dbn-ui": "v2",
20292
20292
  "data-dbn-embed-v2": "create-metric-loading",
20293
20293
  style: { display: "contents" },