@databrainhq/plugin 0.17.9-beta.30 → 0.17.9-beta.31

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 (42) hide show
  1. package/dist/{Accordion-D3DbH3Cx.mjs → Accordion-BhLebRAm.mjs} +32 -25
  2. package/dist/{Chart-7AGA9h2g.mjs → Chart-BLXiGOie.mjs} +361 -361
  3. package/dist/{CreateGlobalFilter-oHjA0P9O.mjs → CreateGlobalFilter-DJ75cI8r.mjs} +200 -200
  4. package/dist/{CreateMetricV2-BGDt9B3L.mjs → CreateMetricV2-DNSbMIqg.mjs} +20 -20
  5. package/dist/{DraggableItem-7fQUo0x4.mjs → DraggableItem-HJ4Wt8qx.mjs} +11 -11
  6. package/dist/{HorizontalStackTable-CH68bWy3.mjs → HorizontalStackTable-DadBH16u.mjs} +17 -17
  7. package/dist/{ManageMetricsV2-tyQYXoAT.mjs → ManageMetricsV2-DQ0F-Sxo.mjs} +3 -3
  8. package/dist/{MetricCardV2-C2n6LzkA.mjs → MetricCardV2-ndXX9kcc.mjs} +1251 -1170
  9. package/dist/{NoDataFound-N3gF0Pse.mjs → NoDataFound-C6lIIOZF.mjs} +1 -1
  10. package/dist/{NoDataState-C6hX-CHr.mjs → NoDataState-Dx5ksEt-.mjs} +2 -2
  11. package/dist/{Panel-BeWefwKs.mjs → Panel-oW--_1YF.mjs} +1 -1
  12. package/dist/{PivotTableV2-De4TXsMc.mjs → PivotTableV2-BufQEGso.mjs} +2 -2
  13. package/dist/{PivotTableV3-2nzDp4Nc.mjs → PivotTableV3-DwleqfW7.mjs} +4 -4
  14. package/dist/{Portal-C4N01WKg.mjs → Portal-CuJ3yA9x.mjs} +1222 -1200
  15. package/dist/{RadioButton-DvzkXfzO.mjs → RadioButton-BagXnWOk.mjs} +1 -1
  16. package/dist/{ScheduleEmail-PEzbadHC.mjs → ScheduleEmail-C_H0_DNM.mjs} +220 -220
  17. package/dist/{SearchMetricData-CxmDM20t.mjs → SearchMetricData-DPWkvX0c.mjs} +237 -237
  18. package/dist/{SortPanel-DQjM_vyk.mjs → SortPanel-DctP-Eyd.mjs} +110 -110
  19. package/dist/{Table-CvDTChaZ.mjs → Table-BSKvdU4q.mjs} +4 -4
  20. package/dist/{TagInputField-C9M_Ip9e.mjs → TagInputField-B09tGuSM.mjs} +6 -6
  21. package/dist/{TextAreaField-Q78INHKO.mjs → TextAreaField-CLmioFXe.mjs} +113 -113
  22. package/dist/{TimeSeriesSettings-C8lvzgja.mjs → TimeSeriesSettings-BS9LodDk.mjs} +2 -2
  23. package/dist/{cardQueryError-3MGl4pbM.mjs → cardQueryError-Jo2LkSBF.mjs} +810 -790
  24. package/dist/{chevron-down-Dxhk-Tao.mjs → chevron-down-CTH4bR6n.mjs} +107 -106
  25. package/dist/{conditionalFormatting-BuG_4wOq.mjs → conditionalFormatting-BU6BaaPb.mjs} +1 -1
  26. package/dist/{createGlobalFilter.module-DisUwLsO.mjs → createGlobalFilter.module-Cw_A7yeo.mjs} +1 -1
  27. package/dist/data.cjs +1 -1
  28. package/dist/data.mjs +1 -1
  29. package/dist/{echarts-BE7AhqVy.mjs → echarts-Dw5Z2Ho-.mjs} +2 -2
  30. package/dist/{metric.mutation-BRWn1UMi.mjs → metric.mutation-cOoqy5Bi.mjs} +1 -1
  31. package/dist/{permissions-B5UHxn_4.mjs → permissions-CxZW60Bd.mjs} +289 -261
  32. package/dist/{pluginV3Request-Dfy8fkbS.mjs → pluginV3Request-CQzo3G0-.mjs} +1 -1
  33. package/dist/{renderer-qB-6Euan.mjs → renderer-D1fTygev.mjs} +1 -1
  34. package/dist/{timeseries-Clp-TrGQ.mjs → timeseries-D_nzmvUF.mjs} +1347 -1304
  35. package/dist/{toTasteAppearance-cIHX7fPm.mjs → toTasteAppearance-C4jy9fG3.mjs} +1 -1
  36. package/dist/{useGuesTokenUsageLog-BtooXte_.mjs → useGuesTokenUsageLog-BgjAaf3E.mjs} +1 -1
  37. package/dist/{usePublishArchivedMetrics-CM4KQARj.mjs → usePublishArchivedMetrics-CM7fUNzL.mjs} +2 -2
  38. package/dist/{useQuery-D3fpbSfw.mjs → useQuery-DhtsBbBi.mjs} +1 -1
  39. package/dist/webcomponents.css +2 -2
  40. package/dist/webcomponents.es.js +483 -459
  41. package/dist/webcomponents.umd.js +153 -153
  42. package/package.json +1 -1
@@ -1,49 +1,49 @@
1
1
  import "react";
2
2
  import "react-dom";
3
3
  import "react-dom/client";
4
- import { Vi as e, wa as t } from "./Portal-C4N01WKg.mjs";
4
+ import { Vi as e, wa as t } from "./Portal-CuJ3yA9x.mjs";
5
5
  import { E as n, T as r, b as i } from "./option-DX8yNc39.mjs";
6
6
  import { n as a, r as o, t as s } from "./config-Zn0r0gva.mjs";
7
7
  import { n as c, r as l } from "./rendererRegistry-CYIIExVw.mjs";
8
- import { _ as u, f as d, h as f, u as p, v as m } from "./timeseries-Clp-TrGQ.mjs";
9
- import { t as h } from "./createLucideIcon-C-N26TaJ.mjs";
8
+ import { f as u, g as d, h as f, u as p, v as m, y as h } from "./timeseries-D_nzmvUF.mjs";
9
+ import { t as g } from "./createLucideIcon-C-N26TaJ.mjs";
10
10
  //#region src/customChart/register.ts
11
- var g = /* @__PURE__ */ new Map(), _ = (e) => {
12
- let t = a(e), n = g.get(e);
11
+ var _ = /* @__PURE__ */ new Map(), v = (e) => {
12
+ let t = a(e), n = _.get(e);
13
13
  if (n) return n;
14
14
  if (l(t).kind === "custom") return () => {};
15
- let r = c(t, { load: () => import("./renderer-qB-6Euan.mjs").then((e) => e.customChartRenderer) }), i = () => {
16
- g.get(e) === i && g.delete(e), r();
15
+ let r = c(t, { load: () => import("./renderer-D1fTygev.mjs").then((e) => e.customChartRenderer) }), i = () => {
16
+ _.get(e) === i && _.delete(e), r();
17
17
  };
18
- return g.set(e, i), i;
19
- }, v = (e) => e.trim().toLowerCase().replace(/[\s_]+/g, " "), y = (e, t) => e.some((e) => !!e && Object.hasOwn(e, t)), b = (e) => {
18
+ return _.set(e, i), i;
19
+ }, y = (e) => e.trim().toLowerCase().replace(/[\s_]+/g, " "), b = (e, t) => e.some((e) => !!e && Object.hasOwn(e, t)), x = (e) => {
20
20
  let t = /* @__PURE__ */ new Set();
21
21
  for (let n of e) if (n) for (let e of Object.keys(n)) t.add(e);
22
22
  return [...t];
23
- }, x = (e, t) => {
23
+ }, S = (e, t) => {
24
24
  let n = e?.xAxis || void 0;
25
- if (!Array.isArray(t) || !t.length || n && y(t, n)) return n;
26
- let r = b(t);
25
+ if (!Array.isArray(t) || !t.length || n && b(t, n)) return n;
26
+ let r = x(t);
27
27
  if (n) {
28
- let e = v(n), t = r.filter((t) => v(t) === e);
28
+ let e = y(n), t = r.filter((t) => y(t) === e);
29
29
  if (t.length === 1) return t[0];
30
30
  }
31
31
  let i = new Set([...e?.yAxisList ?? [], e?.seriesField && e.seriesField !== "ungrouped" ? e.seriesField : void 0].filter((e) => !!e)), a = r.filter((e) => !i.has(e));
32
32
  return a.length === 1 ? a[0] : n;
33
- }, S = (e, t) => {
34
- let n = x(e, t);
33
+ }, C = (e, t) => {
34
+ let n = S(e, t);
35
35
  return !n || n === e.xAxis ? e : {
36
36
  ...e,
37
37
  xAxis: n
38
38
  };
39
- }, C = /* @__PURE__ */ new Set([
39
+ }, w = /* @__PURE__ */ new Set([
40
40
  "bar",
41
41
  "row",
42
42
  "histogram",
43
43
  "bullet",
44
44
  "verticalCombo",
45
45
  "vertical combo"
46
- ]), w = (e) => e.customSettings?.coloredBars && C.has(e.chartType) ? "data" : void 0, T = {
46
+ ]), T = (e) => e.customSettings?.coloredBars && w.has(e.chartType) ? "data" : void 0, E = {
47
47
  line: "line",
48
48
  bar: "bar",
49
49
  stack: "stack",
@@ -97,7 +97,7 @@ var g = /* @__PURE__ */ new Map(), _ = (e) => {
97
97
  "linear gauge v2": "linearGaugeV2",
98
98
  pivotV2: "pivotV2",
99
99
  "pivot table 2": "pivotV2"
100
- }, ee = /* @__PURE__ */ new Set([
100
+ }, D = /* @__PURE__ */ new Set([
101
101
  "line",
102
102
  "bar",
103
103
  "stack",
@@ -108,37 +108,37 @@ var g = /* @__PURE__ */ new Map(), _ = (e) => {
108
108
  "stackedArea",
109
109
  "stepped",
110
110
  "waterfall"
111
- ]), E = 200;
112
- function D(e) {
111
+ ]), O = 200;
112
+ function k(e) {
113
113
  return !e || !((e.conditionalFormatting?.length ?? 0) > 0 || (e.badgeColumns?.length ?? 0) > 0 || (e.listColumns?.length ?? 0) > 0 || (e.hiddenColumns?.length ?? 0) > 0 || (e.dropdownFilterCols?.length ?? 0) > 0 || (e.tableNumberFormatter?.length ?? 0) > 0 || (e.hStackTrendOptions?.length ?? 0) > 0 || e.aggregateRow?.isEnable || e.isEnableTranspose || e.isServerSidePagination || e.isAutoPagination || e.enableTableSearch || e.showDownloadBtn || e.showColumnFilter || e.isEnableColumnFilter || e.isEnableDropdownFilter || e.enableFilter || e.enableSorting || e.isEnableAllSort || e.isEnableViewDetails || e.isEnableNumberFormatting || e.isEnableTimezoneFormatting || e.textWrap?.isEnable || e.customHeaderColor?.isEnabled || e.chartAction?.isEnableColumnRedirection || e.chartAction?.isEnableCustomColumnRedirection || e.chartAction?.isEnableCustomRedirection || e.columnSizing && Object.keys(e.columnSizing).length > 0 || e.contentAlignment);
114
114
  }
115
- function O(e) {
115
+ function A(e) {
116
116
  return !e || !((e.conditionalFormatting?.length ?? 0) > 0 || (e.badgeColumns?.length ?? 0) > 0 || (e.hiddenColumns?.length ?? 0) > 0 || e.isEnableTranspose || e.textWrap?.isEnable || e.chartAction?.isEnableCustomRedirection || e.columnSizing && Object.keys(e.columnSizing).length > 0 || e.isSortAlphabetically || e.replaceNullValues || e.replaceNullValuesWithEmpty || e.contentFont || e.contentColor || e.contentWeight !== void 0 || e.contentFontSize !== void 0 || e.lineGap || e.contentAlignment || e.isEnableViewDetails);
117
117
  }
118
- function k(e) {
118
+ function j(e) {
119
119
  return !e || !(e.isEnableLogScale || e.isEnableCustomLimits || e.isEnableDynamicLimits || e.isEnableLabelTooltip);
120
120
  }
121
- function A(e) {
121
+ function M(e) {
122
122
  return !e || !(e.isEnableCustomLimits || (e.YaxislabelFormatters?.length ?? 0) > 0);
123
123
  }
124
- function te(e) {
124
+ function ee(e) {
125
125
  return !e || !(e.isEnableLabelFormatting || (e.YaxislabelFormatters?.length ?? 0) > 0 || e.linearGaugeV2?.isEnableLegend || e.linearGaugeV2?.isShowSplitLines || e.linearGaugeV2?.isEnableLabel || e.linearGaugeV2?.isEnableValue);
126
126
  }
127
- function ne(e) {
127
+ function te(e) {
128
128
  return !e || !(e.singleValuePrefix || e.singleValueSuffix || (e.singleValConditionalFormatter?.length ?? 0) > 0 || e.comparisonValueShow);
129
129
  }
130
- function re(e, t) {
130
+ function ne(e, t) {
131
131
  if (!e) return !1;
132
132
  let n = e.dimensions ?? [], r = e.headers ?? [], i = e.dims ?? [], a = e.measures ?? [];
133
133
  return n.length !== 1 || r.length > 1 || r.length === 1 && a.length !== 1 || i.filter((e) => !r.includes(e)).length > 1 ? !1 : !t || !(t.enableSorting || t.isEnableAllSort || t.isEnableNumberFormatting || (t.tableNumberFormatter?.length ?? 0) > 0 || t.enableStripedRows || t.customHeaderColor?.isEnabled);
134
134
  }
135
- function j(e, t) {
135
+ function re(e, t) {
136
136
  let n = t.dimensions?.[0];
137
137
  if (!n) return null;
138
138
  let r = t.headers?.[0], i = t.measures ?? [];
139
139
  if (!i.length) return null;
140
140
  let a = t.aggregates ?? [], o = (e) => (a.find((t) => t.alias === e)?.method || "SUM").toLowerCase(), s = (e, t) => {
141
- let n = e.map((e) => P(e[t])).filter((e) => e !== null);
141
+ let n = e.map((e) => F(e[t])).filter((e) => e !== null);
142
142
  if (!n.length) return null;
143
143
  switch (o(t)) {
144
144
  case "avg": return n.reduce((e, t) => e + t, 0) / n.length;
@@ -151,7 +151,7 @@ function j(e, t) {
151
151
  let e = String(t[n] ?? "");
152
152
  l.has(e) || (l.add(e), c.push(e));
153
153
  }
154
- if (!c.length || c.length > E) return null;
154
+ if (!c.length || c.length > O) return null;
155
155
  let u = [];
156
156
  if (r) {
157
157
  let t = [], a = /* @__PURE__ */ new Set();
@@ -179,14 +179,14 @@ function j(e, t) {
179
179
  series: u
180
180
  } : null;
181
181
  }
182
- function M(e, t) {
182
+ function N(e, t) {
183
183
  let n = [], r = /* @__PURE__ */ new Set();
184
184
  for (let t of e) if (t && typeof t == "object") for (let e of Object.keys(t)) r.has(e) || (r.add(e), n.push(e));
185
185
  if (!t?.length) return n;
186
186
  let i = [...new Set(t)], a = new Set(i);
187
187
  return [...i, ...n.filter((e) => !a.has(e))];
188
188
  }
189
- function N(e, t) {
189
+ function P(e, t) {
190
190
  let n = !1;
191
191
  for (let r of e) {
192
192
  let e = r[t];
@@ -204,7 +204,7 @@ function N(e, t) {
204
204
  }
205
205
  return n;
206
206
  }
207
- function P(e) {
207
+ function F(e) {
208
208
  if (e == null || e === "") return null;
209
209
  if (typeof e == "number") return Number.isFinite(e) ? e : null;
210
210
  if (typeof e == "string") {
@@ -213,14 +213,14 @@ function P(e) {
213
213
  }
214
214
  return null;
215
215
  }
216
- function F(e, t) {
216
+ function I(e, t) {
217
217
  let n = e.sankeyValues;
218
218
  if (n && n.length >= 3 && n[0] && n[1] && n[2]) return n;
219
- let r = new Set(M(t)), i = [];
219
+ let r = new Set(N(t)), i = [];
220
220
  for (let t of [e.xAxis, ...e.yAxisList ?? []]) t && !i.includes(t) && r.has(t) && i.push(t);
221
221
  let a, o, s;
222
222
  for (let e of i) {
223
- if (N(t, e)) {
223
+ if (P(t, e)) {
224
224
  s ||= e;
225
225
  continue;
226
226
  }
@@ -232,7 +232,7 @@ function F(e, t) {
232
232
  s
233
233
  ];
234
234
  }
235
- function I(e, t, n = {}) {
235
+ function L(e, t, n = {}) {
236
236
  if (!t || t.length < 3) return null;
237
237
  let [r, i, a, o] = t;
238
238
  if (!r || !i || !a) return null;
@@ -244,7 +244,7 @@ function I(e, t, n = {}) {
244
244
  if (m !== h && !(c.has(`${h}${m}`) || c.has(`${m}${h}`)) && (c.add(`${m}${h}`), s.push({
245
245
  source: m,
246
246
  target: h,
247
- value: P(t[a]) ?? 0
247
+ value: F(t[a]) ?? 0
248
248
  }), d.has(m) || (d.add(m), l.push(m)), f.has(h) || (f.add(h), u.push(h)), p.add(m), p.add(h), n.maxNodes !== void 0 && p.size > n.maxNodes)) return null;
249
249
  }
250
250
  if (!s.length) return null;
@@ -267,9 +267,9 @@ function I(e, t, n = {}) {
267
267
  ...m?.length ? { nodeCategories: m } : {}
268
268
  };
269
269
  }
270
- var L = 120, R = (e, t) => {
271
- if (!m(e.chartType)) return t;
272
- let n = u(e);
270
+ var R = 120, z = (e, t) => {
271
+ if (!h(e.chartType)) return t;
272
+ let n = m(e);
273
273
  return !n || !t.categories.length || n >= t.categories.length ? t : {
274
274
  ...t,
275
275
  categories: t.categories.slice(0, n),
@@ -279,15 +279,16 @@ var L = 120, R = (e, t) => {
279
279
  }))
280
280
  };
281
281
  };
282
- function z(e, t) {
282
+ function B(e, t) {
283
283
  if (!e || !Array.isArray(t) || !t.length) return null;
284
- let r = T[e.chartType];
285
- if (r && ee.has(r) && (e = S(e, t)), t = f(t, e), !t.length) return null;
284
+ let r = E[e.chartType];
285
+ if (r && D.has(r) && (e = C(e, t)), t = d(t, e), !t.length) return null;
286
+ r && D.has(r) && (t = f(t, e));
286
287
  let i = s(e.chartType);
287
288
  if (i) {
288
- let n = M(t);
289
+ let n = N(t);
289
290
  if (!n.length) return null;
290
- _(i);
291
+ v(i);
291
292
  let r = o(e) ?? {
292
293
  key: i,
293
294
  bindings: {},
@@ -295,7 +296,7 @@ function z(e, t) {
295
296
  }, a = n.map((e) => ({
296
297
  key: e,
297
298
  label: e,
298
- align: N(t, e) ? "right" : "left"
299
+ align: P(t, e) ? "right" : "left"
299
300
  })), s = t.map((e) => {
300
301
  let t = {};
301
302
  for (let r of n) t[r] = e[r];
@@ -315,18 +316,18 @@ function z(e, t) {
315
316
  }
316
317
  };
317
318
  }
318
- let a = T[e.chartType];
319
+ let a = E[e.chartType];
319
320
  if (!a) return null;
320
321
  let c = e.xAxis, l = (e.yAxisList ?? []).filter(Boolean);
321
322
  if (a === "table") {
322
323
  let n = e.chartType;
323
- if (!(n === "trendAnalyzer" || n === "trend analyzer" ? O(e.tableSettings) : D(e.tableSettings))) return null;
324
- let r = M(t, e.tableSettings?.outputColumnOrder);
325
- if (!r.length || t.length > E) return null;
324
+ if (!(n === "trendAnalyzer" || n === "trend analyzer" ? A(e.tableSettings) : k(e.tableSettings))) return null;
325
+ let r = N(t, e.tableSettings?.outputColumnOrder);
326
+ if (!r.length || t.length > O) return null;
326
327
  let i = r.map((e) => ({
327
328
  key: e,
328
329
  label: e,
329
- align: N(t, e) ? "right" : "left"
330
+ align: P(t, e) ? "right" : "left"
330
331
  }));
331
332
  return {
332
333
  type: a,
@@ -343,9 +344,9 @@ function z(e, t) {
343
344
  };
344
345
  }
345
346
  if (a === "sankey" || a === "network") {
346
- let n = I(t, F(e, t), {
347
+ let n = L(t, I(e, t), {
347
348
  withCategories: a === "network",
348
- ...a === "network" ? { maxNodes: L } : {}
349
+ ...a === "network" ? { maxNodes: R } : {}
349
350
  });
350
351
  return n ? {
351
352
  type: a,
@@ -359,16 +360,16 @@ function z(e, t) {
359
360
  } : null;
360
361
  }
361
362
  if (a === "pivotV2") {
362
- if (!re(e.pivotTableSettings2, e.tableSettings)) return null;
363
- let n = j(t, e.pivotTableSettings2);
363
+ if (!ne(e.pivotTableSettings2, e.tableSettings)) return null;
364
+ let n = re(t, e.pivotTableSettings2);
364
365
  return n ? {
365
366
  type: a,
366
367
  data: n
367
368
  } : null;
368
369
  }
369
370
  if (a === "linearGauge") {
370
- if (!A(e.customSettings)) return null;
371
- let n = e.progressColumn || "", r = n ? P(t[0]?.[n]) : null;
371
+ if (!M(e.customSettings)) return null;
372
+ let n = e.progressColumn || "", r = n ? F(t[0]?.[n]) : null;
372
373
  return {
373
374
  type: a,
374
375
  data: {
@@ -381,8 +382,8 @@ function z(e, t) {
381
382
  };
382
383
  }
383
384
  if (a === "linearGaugeV2") {
384
- if (!te(e.customSettings)) return null;
385
- let n = e.progressColumn || "", r = n ? P(t[0]?.[n]) : null;
385
+ if (!ee(e.customSettings)) return null;
386
+ let n = e.progressColumn || "", r = n ? F(t[0]?.[n]) : null;
386
387
  return {
387
388
  type: a,
388
389
  data: {
@@ -395,10 +396,10 @@ function z(e, t) {
395
396
  };
396
397
  }
397
398
  if (a === "singleValue" || a === "gaugeV2") {
398
- if (a === "singleValue" && !ne(e.customSettings)) return null;
399
+ if (a === "singleValue" && !te(e.customSettings)) return null;
399
400
  let n = typeof e.gaugeSettings?.metric == "string" ? e.gaugeSettings.metric : void 0, r = a === "gaugeV2" ? n ?? e.singleValue ?? l[0] : e.singleValue ?? l[0];
400
401
  if (!r) return null;
401
- let i = P(t[0]?.[r]);
402
+ let i = F(t[0]?.[r]);
402
403
  return {
403
404
  type: a,
404
405
  data: {
@@ -417,7 +418,7 @@ function z(e, t) {
417
418
  if (r) {
418
419
  let e = t.map((e) => e[r] ?? ""), i = [{
419
420
  name: n,
420
- data: t.map((e) => P(e[n]))
421
+ data: t.map((e) => F(e[n]))
421
422
  }];
422
423
  return i.some((e) => e.data.some((e) => typeof e == "number" && Number.isFinite(e))) ? {
423
424
  type: a,
@@ -427,7 +428,7 @@ function z(e, t) {
427
428
  }
428
429
  } : null;
429
430
  }
430
- let i = P(t[0]?.[n]);
431
+ let i = F(t[0]?.[n]);
431
432
  return i === null || !Number.isFinite(i) ? null : {
432
433
  type: a,
433
434
  data: {
@@ -439,11 +440,11 @@ function z(e, t) {
439
440
  }
440
441
  };
441
442
  }
442
- if (e.chartType === "histogram" && !k(e.customSettings)) return null;
443
- let u = e.customSettings?.bulletOptions ?? [], d = e.customSettings?.lineOptions ?? [];
443
+ if (e.chartType === "histogram" && !j(e.customSettings)) return null;
444
+ let u = e.customSettings?.bulletOptions ?? [], p = e.customSettings?.lineOptions ?? [];
444
445
  if (a === "bullet" && !c) {
445
446
  if (!l.length) return null;
446
- let n = t[0] ?? {}, r = l.map((e) => P(n[e]));
447
+ let n = t[0] ?? {}, r = l.map((e) => F(n[e]));
447
448
  return r.some((e) => e !== null) ? {
448
449
  type: a,
449
450
  data: {
@@ -463,7 +464,7 @@ function z(e, t) {
463
464
  let t = e[c];
464
465
  return {
465
466
  name: t == null ? "" : String(t),
466
- data: l.map((t) => P(e[t]))
467
+ data: l.map((t) => F(e[t]))
467
468
  };
468
469
  });
469
470
  return n.some((e) => e.data.some((e) => e !== null)) ? {
@@ -474,32 +475,32 @@ function z(e, t) {
474
475
  }
475
476
  } : null;
476
477
  }
477
- if (e.isMultiDimension || e.isDynamicSeries) return K(e, t, a, c, l);
478
- let p = t.map((e) => e[c] ?? ""), m = new Set(e.comboBarList ?? []), h = a === "combo" || a === "bullet", g = a === "stack" || a === "horizontalStack" || a === "stackedArea", v = e.chartType === "bullet", y = (e) => v ? u.includes(e) ? "point" : d.includes(e) ? "line" : "bar" : m.has(e) ? "bar" : "line", b = l.map((e) => ({
478
+ if (e.isMultiDimension || e.isDynamicSeries) return q(e, t, a, c, l);
479
+ let m = t.map((e) => e[c] ?? ""), h = new Set(e.comboBarList ?? []), g = a === "combo" || a === "bullet", _ = a === "stack" || a === "horizontalStack" || a === "stackedArea", y = e.chartType === "bullet", b = (e) => y ? u.includes(e) ? "point" : p.includes(e) ? "line" : "bar" : h.has(e) ? "bar" : "line", x = l.map((e) => ({
479
480
  name: e,
480
- data: t.map((t) => P(t[e])),
481
- ...h ? { kind: y(e) } : {},
482
- ...g ? { stack: "total" } : {}
481
+ data: t.map((t) => F(t[e])),
482
+ ...g ? { kind: b(e) } : {},
483
+ ..._ ? { stack: "total" } : {}
483
484
  }));
484
- if (!b.some((e) => e.data.some((e) => e !== null))) return null;
485
- let x = w(e);
485
+ if (!x.some((e) => e.data.some((e) => e !== null))) return null;
486
+ let S = T(e);
486
487
  return {
487
488
  type: a,
488
- data: R(e, n({
489
- categories: p,
490
- series: b
489
+ data: z(e, n({
490
+ categories: m,
491
+ series: x
491
492
  }, a, e.customSettings?.sort)),
492
- ...x ? { colorBy: x } : {}
493
+ ...S ? { colorBy: S } : {}
493
494
  };
494
495
  }
495
- var B = /* @__PURE__ */ new Set([
496
+ var V = /* @__PURE__ */ new Set([
496
497
  "line",
497
498
  "bar",
498
499
  "stack",
499
500
  "row",
500
501
  "horizontalStack"
501
- ]), V = /* @__PURE__ */ new Set(["stack", "horizontalStack"]);
502
- function H(e, t) {
502
+ ]), H = /* @__PURE__ */ new Set(["stack", "horizontalStack"]);
503
+ function U(e, t) {
503
504
  return e.reduce((e, n) => {
504
505
  let r = n?.[t];
505
506
  if (r == null || r === "") return e;
@@ -507,33 +508,33 @@ function H(e, t) {
507
508
  return Number.isNaN(i) ? e : (e ?? 0) + i;
508
509
  }, null);
509
510
  }
510
- var U = (e) => e == null ? "\0empty" : String(e), W = "Empty";
511
- function G(e, t) {
511
+ var W = (e) => e == null ? "\0empty" : String(e), G = "Empty";
512
+ function K(e, t) {
512
513
  let n = /* @__PURE__ */ new Set(), r = [];
513
514
  return e.forEach((e) => {
514
- let i = e?.[t], a = U(i);
515
+ let i = e?.[t], a = W(i);
515
516
  n.has(a) || (n.add(a), r.push({
516
517
  key: a,
517
- label: i ?? W
518
+ label: i ?? G
518
519
  }));
519
520
  }), r;
520
521
  }
521
- function K(e, t, r, i, a) {
522
- if (!B.has(r)) return null;
522
+ function q(e, t, r, i, a) {
523
+ if (!V.has(r)) return null;
523
524
  let o = e.seriesField;
524
525
  if (!o || o === "ungrouped") return null;
525
526
  let s = a[0];
526
527
  if (!s) return null;
527
- let c = G(t, i), l = G(t, o);
528
+ let c = K(t, i), l = K(t, o);
528
529
  if (!c.length || !l.length) return null;
529
- let u = V.has(r), d = l.map((e) => ({
530
+ let u = H.has(r), d = l.map((e) => ({
530
531
  name: String(e.label),
531
- data: c.map((n) => H(t.filter((t) => U(t?.[o]) === e.key && U(t?.[i]) === n.key), s)),
532
+ data: c.map((n) => U(t.filter((t) => W(t?.[o]) === e.key && W(t?.[i]) === n.key), s)),
532
533
  ...u ? { stack: "total" } : {}
533
534
  }));
534
535
  return d.some((e) => e.data.some((e) => e !== null)) ? {
535
536
  type: r,
536
- data: R(e, n({
537
+ data: z(e, n({
537
538
  categories: c.map((e) => e.label),
538
539
  series: d
539
540
  }, r, e.customSettings?.sort))
@@ -541,7 +542,7 @@ function K(e, t, r, i, a) {
541
542
  }
542
543
  //#endregion
543
544
  //#region src/charts/toDbnValueFormatter.ts
544
- var q = (e) => !e || e.toLowerCase() === "original", J = (e, t) => q(t) ? i(e) : String(p(e, t)), Y = (n) => {
545
+ var J = (e) => !e || e.toLowerCase() === "original", Y = (e, t) => J(t) ? i(e) : String(p(e, t)), ie = (n) => {
545
546
  let r = n?.customSettings, i = n?.chartType === t.singleValue, a = {
546
547
  numberFormatter: r?.numberFormatter,
547
548
  labelPrefix: (i ? r?.singleValuePrefix ?? r?.labelPrefix : r?.labelPrefix) || "",
@@ -554,7 +555,7 @@ var q = (e) => !e || e.toLowerCase() === "original", J = (e, t) => q(t) ? i(e) :
554
555
  labelPrefix: s?.labelPrefix || "",
555
556
  labelSuffix: s?.labelSuffix || ""
556
557
  };
557
- }, X = (e) => {
558
+ }, ae = (e) => {
558
559
  let t = e?.customSettings, n = /* @__PURE__ */ new Map();
559
560
  return t?.comboAxisSettings?.forEach((e) => {
560
561
  (e?.prefix || e?.suffix || e?.numberFormatter) && e.measures?.forEach((t) => {
@@ -571,10 +572,10 @@ var q = (e) => !e || e.toLowerCase() === "original", J = (e, t) => q(t) ? i(e) :
571
572
  labelSuffix: e.suffix || ""
572
573
  });
573
574
  }), n;
574
- }, Z = (e) => !!e.labelPrefix || !!e.labelSuffix || !q(e.numberFormatter), ie = (e) => {
575
+ }, X = (e) => !!e.labelPrefix || !!e.labelSuffix || !J(e.numberFormatter), oe = (e) => {
575
576
  if (!e) return;
576
- let t = Y(e), n = X(e), a = e.customSettings?.numberFormat, o = a ? r(a) : void 0, s = e.chartType === "table" ? e.tableSettings : void 0, c = s?.isEnableNumberFormatting && (s.tableFormatter || s.tablePrefix || s.tableSuffix || s.tableNumberFormatter?.length);
577
- if (Z(t) || n.size !== 0 || o || c) return (e, r) => {
577
+ let t = ie(e), n = ae(e), a = e.customSettings?.numberFormat, o = a ? r(a) : void 0, s = e.chartType === "table" ? e.tableSettings : void 0, c = s?.isEnableNumberFormatting && (s.tableFormatter || s.tablePrefix || s.tableSuffix || s.tableNumberFormatter?.length);
578
+ if (X(t) || n.size !== 0 || o || c) return (e, r) => {
578
579
  if (e == null || !Number.isFinite(e)) return i(null);
579
580
  let a = (r ? n.get(r) : void 0) ?? t;
580
581
  if (s) {
@@ -586,9 +587,9 @@ var q = (e) => !e || e.toLowerCase() === "original", J = (e, t) => q(t) ? i(e) :
586
587
  labelSuffix: t?.suffix ?? s.tableSuffix ?? a.labelSuffix
587
588
  };
588
589
  }
589
- return o && !Z(a) ? o(e) : d(J(e, a.numberFormatter), a.labelPrefix, a.labelSuffix);
590
+ return o && !X(a) ? o(e) : u(Y(e, a.numberFormatter), a.labelPrefix, a.labelSuffix);
590
591
  };
591
- }, Q = [
592
+ }, Z = [
592
593
  "chartFieldFormats",
593
594
  "chartReferenceLines",
594
595
  "chartLegendLayout",
@@ -600,7 +601,7 @@ var q = (e) => !e || e.toLowerCase() === "original", J = (e, t) => q(t) ? i(e) :
600
601
  "chartInvalid",
601
602
  "chartGrammar",
602
603
  "chartKpi"
603
- ], $ = (e) => Object.fromEntries(Q.filter((t) => e?.[t] != null).map((t) => [t, e?.[t]])), ae = {
604
+ ], Q = (e) => Object.fromEntries(Z.filter((t) => e?.[t] != null).map((t) => [t, e?.[t]])), se = {
604
605
  "top-left": "top-left",
605
606
  "top-center": "top-center",
606
607
  "top-right": "top-right",
@@ -609,16 +610,16 @@ var q = (e) => !e || e.toLowerCase() === "original", J = (e, t) => q(t) ? i(e) :
609
610
  "bottom-right": "bottom-right",
610
611
  "left-center": void 0,
611
612
  "right-center": void 0
612
- }, oe = (e) => {
613
+ }, ce = (e) => {
613
614
  if (e?.isZoomEnabled) return {
614
615
  isZoomEnabled: !0,
615
616
  isShowRightMost: e.isShowRightMost,
616
617
  zoomAxis: e.zoomAxis,
617
618
  zoomOnMouseWheel: e.zoomOnMouseWheel
618
619
  };
619
- }, se = (e, t) => {
620
- let n = t && ("tooltipSettings" in t || "categoryField" in t || "percentageSize" in t || "repulsion" in t || "isUseAsDifference" in t || "hideNullValues" in t || Q.some((e) => e in t) || "chartZoom" in t) ? t : { chartZoom: t }, r = oe(n.chartZoom), i = {
621
- ...$(n),
620
+ }, le = (e, t) => {
621
+ let n = t && ("tooltipSettings" in t || "categoryField" in t || "percentageSize" in t || "repulsion" in t || "isUseAsDifference" in t || "hideNullValues" in t || Z.some((e) => e in t) || "chartZoom" in t) ? t : { chartZoom: t }, r = ce(n.chartZoom), i = {
622
+ ...Q(n),
622
623
  ...n.tooltipSettings || n.hideNullValues === !0 ? { chartTooltip: {
623
624
  ...e?.chartTooltip,
624
625
  ...n.tooltipSettings,
@@ -642,13 +643,13 @@ var q = (e) => !e || e.toLowerCase() === "original", J = (e, t) => q(t) ? i(e) :
642
643
  ...c,
643
644
  chartLegend: {
644
645
  ...d,
645
- fixedPosition: l === void 0 ? void 0 : ae[l],
646
+ fixedPosition: l === void 0 ? void 0 : se[l],
646
647
  legendShape: u
647
648
  }
648
649
  };
649
- }, ce = h("chevron-down", [["path", {
650
+ }, $ = g("chevron-down", [["path", {
650
651
  d: "m6 9 6 6 6-6",
651
652
  key: "qrunsl"
652
653
  }]]);
653
654
  //#endregion
654
- export { T as a, ie as i, se as n, z as o, $ as r, S as s, ce as t };
655
+ export { E as a, oe as i, le as n, B as o, Q as r, C as s, $ as t };
@@ -1,7 +1,7 @@
1
1
  import "react";
2
2
  import "react-dom";
3
3
  import "react-dom/client";
4
- import { u as e } from "./timeseries-Clp-TrGQ.mjs";
4
+ import { u as e } from "./timeseries-D_nzmvUF.mjs";
5
5
  //#region src/helpers/conditionalFormatting.ts
6
6
  var t = ({ rules: t, value: n, formatter: r = "original" }) => {
7
7
  let i = t.find((t) => {
@@ -1,7 +1,7 @@
1
1
  import "react";
2
2
  import "react-dom";
3
3
  import "react-dom/client";
4
- import { Ln as e } from "./Portal-C4N01WKg.mjs";
4
+ import { Ln as e } from "./Portal-CuJ3yA9x.mjs";
5
5
  //#region src/helpers/dashboardFilterAccess.ts
6
6
  var t = (e) => (e || "").trim().toLowerCase(), n = (n) => {
7
7
  let r = t(n), i = t(e(n).name);
package/dist/data.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("react");var t=`0.17.9-beta.30`,n=`X-Dbn-Plugin-Version`,r=`X-Dbn-Plugin-Contract`,i=()=>({[n]:t,[r]:`1`}),a=class extends Error{status;code;constructor(e,t,n){super(e),this.name=`DashboardDataError`,this.status=t,this.code=n}},o=`https://api.usedatabrain.com`,s=({baseUrl:e=o,dashboardId:t,configId:n,isEn:r})=>{let i=new URLSearchParams;t&&i.set(`dashboardId`,t),n&&i.set(`configId`,n),r!==void 0&&i.set(`isEn`,String(r));let a=i.toString();return`${e.replace(/\/+$/,``)}/api/v2/dashboard${a?`?${a}`:``}`},c=async e=>{try{return await e.json()}catch{throw new a(e.ok?`Databrain returned an invalid response.`:`Databrain request failed with status ${e.status}.`,e.status)}},l=async({token:e,signal:t,...n})=>{let r={"Content-Type":`application/json`,"X-Plugin-Token":e,...i()};typeof window<`u`&&window.location?.host&&(r[`X-Plugin-Origin`]=window.location.host);let o=await fetch(s({token:e,signal:t,...n}),{method:`GET`,headers:r,signal:t}),l=await c(o);if(!o.ok||l.error)throw new a(l.error?.message||l.message||`Databrain request failed with status ${o.status}.`,o.status,l.error?.code);if(!l.data||typeof l.data!=`object`)throw new a(`Databrain returned an invalid response.`,o.status);return l.data},u={data:null,error:null,status:`idle`},d=e=>e instanceof a?e:new a(e instanceof Error?e.message:`Databrain request failed.`),f=({token:t,dashboardId:n,configId:r,isEn:i,baseUrl:a,enabled:o=!0})=>{let[s,c]=(0,e.useState)(u),[f,p]=(0,e.useState)(0),m=(0,e.useCallback)(()=>p(e=>e+1),[]);return(0,e.useEffect)(()=>{if(!o||!t){c(u);return}let e=new AbortController;return c(e=>({data:e.data,error:null,status:`loading`})),l({token:t,dashboardId:n,configId:r,isEn:i,baseUrl:a,signal:e.signal}).then(t=>{e.signal.aborted||c({data:t,error:null,status:`success`})},t=>{e.signal.aborted||c({data:null,error:d(t),status:`error`})}),()=>e.abort()},[a,r,n,o,i,f,t]),(0,e.useMemo)(()=>({...s,isLoading:s.status===`loading`,refetch:m}),[m,s])},p=({children:e,...t})=>e(f(t));exports.DEFAULT_DASHBOARD_API_BASE_URL=o,exports.DashboardData=p,exports.DashboardDataError=a,exports.fetchDashboardData=l,exports.useDashboardData=f;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("react");var t=`0.17.9-beta.31`,n=`X-Dbn-Plugin-Version`,r=`X-Dbn-Plugin-Contract`,i=()=>({[n]:t,[r]:`1`}),a=class extends Error{status;code;constructor(e,t,n){super(e),this.name=`DashboardDataError`,this.status=t,this.code=n}},o=`https://api.usedatabrain.com`,s=({baseUrl:e=o,dashboardId:t,configId:n,isEn:r})=>{let i=new URLSearchParams;t&&i.set(`dashboardId`,t),n&&i.set(`configId`,n),r!==void 0&&i.set(`isEn`,String(r));let a=i.toString();return`${e.replace(/\/+$/,``)}/api/v2/dashboard${a?`?${a}`:``}`},c=async e=>{try{return await e.json()}catch{throw new a(e.ok?`Databrain returned an invalid response.`:`Databrain request failed with status ${e.status}.`,e.status)}},l=async({token:e,signal:t,...n})=>{let r={"Content-Type":`application/json`,"X-Plugin-Token":e,...i()};typeof window<`u`&&window.location?.host&&(r[`X-Plugin-Origin`]=window.location.host);let o=await fetch(s({token:e,signal:t,...n}),{method:`GET`,headers:r,signal:t}),l=await c(o);if(!o.ok||l.error)throw new a(l.error?.message||l.message||`Databrain request failed with status ${o.status}.`,o.status,l.error?.code);if(!l.data||typeof l.data!=`object`)throw new a(`Databrain returned an invalid response.`,o.status);return l.data},u={data:null,error:null,status:`idle`},d=e=>e instanceof a?e:new a(e instanceof Error?e.message:`Databrain request failed.`),f=({token:t,dashboardId:n,configId:r,isEn:i,baseUrl:a,enabled:o=!0})=>{let[s,c]=(0,e.useState)(u),[f,p]=(0,e.useState)(0),m=(0,e.useCallback)(()=>p(e=>e+1),[]);return(0,e.useEffect)(()=>{if(!o||!t){c(u);return}let e=new AbortController;return c(e=>({data:e.data,error:null,status:`loading`})),l({token:t,dashboardId:n,configId:r,isEn:i,baseUrl:a,signal:e.signal}).then(t=>{e.signal.aborted||c({data:t,error:null,status:`success`})},t=>{e.signal.aborted||c({data:null,error:d(t),status:`error`})}),()=>e.abort()},[a,r,n,o,i,f,t]),(0,e.useMemo)(()=>({...s,isLoading:s.status===`loading`,refetch:m}),[m,s])},p=({children:e,...t})=>e(f(t));exports.DEFAULT_DASHBOARD_API_BASE_URL=o,exports.DashboardData=p,exports.DashboardDataError=a,exports.fetchDashboardData=l,exports.useDashboardData=f;
package/dist/data.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { useCallback as e, useEffect as t, useMemo as n, useState as r } from "react";
2
2
  //#region src/data/pluginContract.ts
3
- var i = "0.17.9-beta.30", a = "X-Dbn-Plugin-Version", o = "X-Dbn-Plugin-Contract", s = () => ({
3
+ var i = "0.17.9-beta.31", a = "X-Dbn-Plugin-Version", o = "X-Dbn-Plugin-Contract", s = () => ({
4
4
  [a]: i,
5
5
  [o]: "1"
6
6
  }), c = class extends Error {
@@ -1,7 +1,7 @@
1
1
  import "react";
2
2
  import "react-dom";
3
3
  import "react-dom/client";
4
- import "./timeseries-Clp-TrGQ.mjs";
4
+ import "./timeseries-D_nzmvUF.mjs";
5
5
  import { $c as e, $r as t, Aa as n, Ao as r, As as i, Bc as a, Bi as o, Bs as s, Bt as c, Ca as l, Ci as u, Co as d, Cr as f, Cs as p, Da as m, Ea as h, Ec as g, Fa as _, Fc as v, Fr as y, Ft as b, Gc as x, Gi as S, Gr as C, Gt as w, Hc as T, Hi as E, Hn as D, Ht as O, Ia as k, Ii as A, Ir as j, Is as ee, J as te, Ji as ne, Jn as re, Js as ie, Jt as ae, K as oe, Ka as se, Kc as ce, Kn as le, Kr as ue, Kt as de, L as fe, Lr as pe, Ls as me, Mc as he, Mo as ge, Mr as _e, Ms as ve, Mt as ye, Nc as be, Nr as xe, Oc as Se, Oo as M, Or as Ce, Pi as we, Pr as Te, Ps as Ee, Pt as N, Q as De, Qi as Oe, Qs as ke, Qt as Ae, R as je, Rc as P, Rr as Me, Rt as Ne, Sc as Pe, Si as Fe, Sr as Ie, Ta as Le, Ti as Re, Tr as ze, Ua as Be, Ur as Ve, Us as He, Ut as Ue, Vc as We, Vi as Ge, Vr as Ke, Wn as qe, Wr as Je, Wt as Ye, X as Xe, Xn as F, Xr as Ze, Y as Qe, Yc as $e, Yi as et, Yn as tt, Yt as nt, Z as rt, Zi as it, _o as at, ao as ot, bc as I, bi as st, ca as ct, cn as lt, co as L, cr as ut, ct as dt, da as ft, dc as R, ei as pt, en as mt, eo as ht, er as gt, et as _t, fc as z, fi as vt, fr as yt, ga as bt, gc as xt, go as B, gr as St, ha as Ct, hc as V, hi as wt, ho as Tt, ia as Et, ii as Dt, ir as Ot, it as kt, ja as At, k as jt, kc as H, ks as U, kt as Mt, la as Nt, li as Pt, lo as W, lr as Ft, mc as It, mo as Lt, na as Rt, ni as zt, nl as G, no as Bt, nr as Vt, nt as Ht, oa as Ut, oi as Wt, on as Gt, oo as Kt, or as K, os as qt, p as Jt, pc as Yt, q as Xt, qa as Zt, qc as Qt, qi as $t, qs as en, qt as tn, ro as nn, sa as rn, sc as an, sr as q, ti as on, tl as sn, tr as cn, tt as ln, ua as un, uc as dn, ui as fn, un as pn, uo as mn, ur as hn, va as gn, vc as J, vi as _n, vo as vn, vs as yn, wc as bn, ws as xn, xc as Sn, xi as Cn, xo as wn, xr as Tn, xt as En, ya as Dn, yc as On, yi as kn, yr as An, ys as jn, z as Mn, zc as Y, zi as X, zs as Nn } from "./echarts-CrmHGsP0.mjs";
6
6
  import { i as Pn, r as Fn, t as In } from "./SeriesData-Bv5A1N4c.mjs";
7
7
  import { n as Ln } from "./createDimensions-S6mCgFoA.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-7AGA9h2g.mjs";
13
+ import "./Chart-BLXiGOie.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";
@@ -2,7 +2,7 @@ import "react";
2
2
  import "react-dom";
3
3
  import "react-dom/client";
4
4
  import { s as e } from "./cardStates-DiUMQ7_o.mjs";
5
- import { $t as t, Gt as n, Ht as r, Jt as i, Lt as a, Mt as o, Nt as s, Qt as c, Rt as l, Ut as u, Wt as d, Xt as f, Yt as p, _ as ee, a as m, b as h, c as g, d as te, f as ne, i as re, ln as ie, m as ae, o as oe, qt as se, r as ce, s as le, u as ue, un as de, v as fe, y as pe } from "./pluginV3Request-Dfy8fkbS.mjs";
5
+ import { $t as t, Gt as n, Ht as r, Jt as i, Lt as a, Mt as o, Nt as s, Qt as c, Rt as l, Ut as u, Wt as d, Xt as f, Yt as p, _ as ee, a as m, b as h, c as g, d as te, f as ne, i as re, ln as ie, m as ae, o as oe, qt as se, r as ce, s as le, u as ue, un as de, v as fe, y as pe } from "./pluginV3Request-CQzo3G0-.mjs";
6
6
  import * as _ from "react";
7
7
  import { jsx as me } from "react/jsx-runtime";
8
8
  //#region src/helpers/drillDebug.ts