@databrainhq/plugin 0.17.9-beta.66 → 0.17.9-beta.67

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 (134) hide show
  1. package/dist/{Accordion-ClM-DQNR.mjs → Accordion-HnV7Wa7d.mjs} +1 -1
  2. package/dist/{Axis-so_G8609.mjs → Axis-BoRILjw6.mjs} +25 -25
  3. package/dist/AxisBuilder-CbZA9BA5.mjs +556 -0
  4. package/dist/{AxisView-DbvR7xj2.mjs → AxisView-D1J-Vvd5.mjs} +46 -46
  5. package/dist/{CardChartSlot-WYOoFrPL.mjs → CardChartSlot-xCL70UFF.mjs} +6 -6
  6. package/dist/{Chart-C-M2BAGW.mjs → Chart-C8IUjDZP.mjs} +1249 -1444
  7. package/dist/{ChartTypePanel-CgnH37kj.mjs → ChartTypePanel-D33r24Vx.mjs} +8 -8
  8. package/dist/{CreateGlobalFilter-C9KQALHu.mjs → CreateGlobalFilter-CrZMQyeM.mjs} +2 -2
  9. package/dist/{CreateMetricV2-D669LmPA.mjs → CreateMetricV2-uIc0kSQ_.mjs} +12 -12
  10. package/dist/GridModel-BOILOnLN.mjs +39 -0
  11. package/dist/{HorizontalStackTable-E91Iuyzf.mjs → HorizontalStackTable-B_4q2iBG.mjs} +3 -3
  12. package/dist/{LineDraw-QEq0LGiV.mjs → LineDraw-C5CPD2fu.mjs} +75 -75
  13. package/dist/{ManageMetricsV2-C1d5KU_f.mjs → ManageMetricsV2-iTJys95Q.mjs} +3 -3
  14. package/dist/{MetricCardV2-C2eYo3s-.mjs → MetricCardV2-CBXvGrxI.mjs} +7 -7
  15. package/dist/{NoDataFound-ChW4me5m.mjs → NoDataFound-dLuw3_8M.mjs} +1 -1
  16. package/dist/{Panel-OH_Kxefy.mjs → Panel-DbS03Fa_.mjs} +1 -1
  17. package/dist/{PivotTableV2-D0GqqiiM.mjs → PivotTableV2-BGeyDx2h.mjs} +2 -2
  18. package/dist/{PivotTableV3-BdO_u5WS.mjs → PivotTableV3-q9Gs3DAq.mjs} +4 -4
  19. package/dist/{Portal-CV_NrBJ-.mjs → Portal-DSSDhg1M.mjs} +59 -59
  20. package/dist/{RadioButton-CVv2WrAN.mjs → RadioButton-DY7YeYgN.mjs} +1 -1
  21. package/dist/{RoamController-Dg9XZMbv.mjs → RoamController-kkduqIGv.mjs} +27 -27
  22. package/dist/{ScheduleEmail-BMgGc98g.mjs → ScheduleEmail-CRzbBNyX.mjs} +6 -6
  23. package/dist/{SearchMetricData-IL8DdG5T.mjs → SearchMetricData-Ba-UG9Xi.mjs} +162 -162
  24. package/dist/{SeriesData-BiofVRKp.mjs → SeriesData-t2ZM93xe.mjs} +153 -153
  25. package/dist/{SeriesDataSchema-DsLx8ATY.mjs → SeriesDataSchema-DbWmjBHq.mjs} +3 -3
  26. package/dist/{SortPanel-CsY3Go6z.mjs → SortPanel-CM4XEYFx.mjs} +10 -10
  27. package/dist/{SymbolDraw-B7bsdOGh.mjs → SymbolDraw-aWP4aFcT.mjs} +77 -77
  28. package/dist/{Table-V9qwq_A-.mjs → Table-CDvOpuYe.mjs} +249 -241
  29. package/dist/{TagInputField-BXcyiOOC.mjs → TagInputField-fGfjlIAp.mjs} +4 -4
  30. package/dist/{TextAreaField-Bg-Mn1xZ.mjs → TextAreaField-BdQ1n88e.mjs} +2 -2
  31. package/dist/{TimeSeriesSettings-DEBOcjxj.mjs → TimeSeriesSettings-BbF-feiK.mjs} +2 -2
  32. package/dist/View-HJXsM1pX.mjs +196 -0
  33. package/dist/{VisualMapping-C4H6uMDK.mjs → VisualMapping-BEacOIdS.mjs} +77 -77
  34. package/dist/{arrayToCsvString-D9jRf3H1.mjs → arrayToCsvString-Rjim3CLj.mjs} +1 -1
  35. package/dist/{axisAlignTicks-CA9tHLzi.mjs → axisAlignTicks-BDCH2l76.mjs} +21 -21
  36. package/dist/axisBand-B8HTljY9.mjs +434 -0
  37. package/dist/{axisDefault-nEWLSKin.mjs → axisDefault-BfDTCeDW.mjs} +12 -12
  38. package/dist/{axisHelper-B4ygrEAu.mjs → axisHelper-C92zjGrZ.mjs} +267 -267
  39. package/dist/{axisNiceTicks-ClubN7Tk.mjs → axisNiceTicks-DlIPQ7Bu.mjs} +13 -13
  40. package/dist/{bar-BB2qrFDC.mjs → bar-Dnd6DMeI.mjs} +2 -2
  41. package/dist/{barCommon-BArELGTY.mjs → barCommon--mFXSMxr.mjs} +14 -14
  42. package/dist/{barGrid-_f2rVIut.mjs → barGrid-BnZ3vF37.mjs} +36 -36
  43. package/dist/{base-Dsk4fQ1B.mjs → base-CqKr_o6m.mjs} +3 -3
  44. package/dist/{canvas-B9V5aHe8.mjs → canvas-MlE3EEgP.mjs} +2 -2
  45. package/dist/canvasLetterSpacing-C1X0nr1A.mjs +59 -0
  46. package/dist/canvasTeardown-BZnfPMIf.mjs +261 -0
  47. package/dist/{cardQueryError-DY_ZJaeH.mjs → cardQueryError-BvdXcZWj.mjs} +10 -10
  48. package/dist/{cartesianAxisHelper-DoeSPDFx.mjs → cartesianAxisHelper-Cj6QbGbq.mjs} +3 -3
  49. package/dist/{charts-DLkGIf3C.mjs → charts-TEuh7DBS.mjs} +1580 -1546
  50. package/dist/{conditionalFormatting-C-FdJ4PG.mjs → conditionalFormatting-jiDCWhx5.mjs} +1 -1
  51. package/dist/{createClipPathFromCoordSys-B4vAGE8Z.mjs → createClipPathFromCoordSys-D8WqA4dr.mjs} +13 -13
  52. package/dist/createDimensions-CnmSLhmZ.mjs +104 -0
  53. package/dist/{createGlobalFilter.module-Q1baYqNl.mjs → createGlobalFilter.module-BSLkPq6G.mjs} +1 -1
  54. package/dist/{createGraphFromNodeEdge-7WyfkrBe.mjs → createGraphFromNodeEdge-DCo8LkEe.mjs} +39 -39
  55. package/dist/createSeriesData-QC-rX5h7.mjs +101 -0
  56. package/dist/{createSeriesDataSimply-BxdEaPVX.mjs → createSeriesDataSimply-CKTp_DsX.mjs} +4 -4
  57. package/dist/{custom-DcvwBVj2.mjs → custom-DsYOLaUK.mjs} +2 -2
  58. package/dist/customGraphicKeyframeAnimation-Cfq3Ya3a.mjs +299 -0
  59. package/dist/data.cjs +1 -1
  60. package/dist/data.mjs +1 -1
  61. package/dist/{dataSample-Bp4H9kbC.mjs → dataSample-Cv8KVcHp.mjs} +2 -2
  62. package/dist/{dataStackHelper-8xSjPoGY.mjs → dataStackHelper-plaarSse.mjs} +2 -2
  63. package/dist/{echarts-CAoS6aE4.mjs → echarts-DSP9q-oP.mjs} +1596 -1596
  64. package/dist/{echarts-B6T0U8q9.mjs → extension-CjvfhuOl.mjs} +2460 -2415
  65. package/dist/{option-BVCp3H01.mjs → format-BdG1uTDw.mjs} +493 -463
  66. package/dist/{funnel-BPyzsZSL.mjs → funnel-BqvvHgIV.mjs} +2 -2
  67. package/dist/{gauge-3Wvva_32.mjs → gauge-D5uVlOTf.mjs} +2 -2
  68. package/dist/{graph-CExwwYVH.mjs → graph-D1H_pveT.mjs} +2 -2
  69. package/dist/{install-D5AxiliG.mjs → install-B2u2WICp.mjs} +249 -249
  70. package/dist/install-C94jvAIB.mjs +370 -0
  71. package/dist/{install-B1TqspfL.mjs → install-CD_nJllF.mjs} +151 -151
  72. package/dist/{install-DeQuODXS.mjs → install-CVI7EngB.mjs} +183 -183
  73. package/dist/{install-BWNipZtL.mjs → install-ClLUQImW.mjs} +164 -164
  74. package/dist/{install-BcuG0TzG.mjs → install-CqGJAjtU.mjs} +205 -205
  75. package/dist/{install-COuvnLYq.mjs → install-CqpZdmUs.mjs} +224 -225
  76. package/dist/{install-B35NwG74.mjs → install-CwLVKiaI.mjs} +448 -627
  77. package/dist/{install-fUIPAUHh.mjs → install-CxIyDAbo.mjs} +142 -142
  78. package/dist/install-D-uyYxzt.mjs +442 -0
  79. package/dist/{install-g1WKebGq.mjs → install-DxzoEvqo.mjs} +53 -54
  80. package/dist/{install-BOqmfLSu.mjs → install-UQOuGZ-3.mjs} +156 -156
  81. package/dist/install-YalZg5OB.mjs +208 -0
  82. package/dist/{install-COgFGhU1.mjs → install-gJJR8ost.mjs} +185 -185
  83. package/dist/{installCanvasRenderer-DZQl9WUm.mjs → installCanvasRenderer-CdQICtMz.mjs} +148 -148
  84. package/dist/installSVGRenderer-CM4phOH5.mjs +788 -0
  85. package/dist/installSimple-hwzmQHWx.mjs +562 -0
  86. package/dist/labelGuideHelper-Biiy5GEO.mjs +211 -0
  87. package/dist/{labelHelper-CWf3lqtb.mjs → labelHelper-CK2wFnD2.mjs} +9 -9
  88. package/dist/{labelLayoutHelper-gSQ2wxVR.mjs → labelLayoutHelper-BGT4km6s.mjs} +16 -16
  89. package/dist/{legacyContainLabel-C2O3qS_C.mjs → legacyContainLabel-BPPdU-_P.mjs} +1057 -1058
  90. package/dist/{line-Biu-eHDy.mjs → line-Bz3suzTe.mjs} +2 -2
  91. package/dist/{linkSeriesData-CmdFbU_o.mjs → linkSeriesData-oLBZWXeI.mjs} +15 -15
  92. package/dist/{metric.mutation-GQtohk1S.mjs → metric.mutation-Bp6C-gnS.mjs} +1 -1
  93. package/dist/parseGeoJson-CL1oJAFU.mjs +185 -0
  94. package/dist/{permissions-CH-WGA_H.mjs → permissions-RytJG009.mjs} +5 -5
  95. package/dist/{pie-BSGwMlDv.mjs → pie-8bHZZWij.mjs} +2 -2
  96. package/dist/{pluginV3Request-CCcbgHOL.mjs → pluginV3Request-B6J1iWdo.mjs} +1 -1
  97. package/dist/{points-QJPXYOtn.mjs → points-D4GPTJUM.mjs} +3 -3
  98. package/dist/{polar-DF62ToTw.mjs → polar-CDByVeuT.mjs} +2 -2
  99. package/dist/{radar-DUrDFixH.mjs → radar-Cm_0Z4n_.mjs} +2 -2
  100. package/dist/{renderer-CbYNXUJq.mjs → renderer-BC0h-JPJ.mjs} +2 -2
  101. package/dist/{roamHelper-CcGUDlj6.mjs → roamHelper-CfJQ0V8o.mjs} +15 -15
  102. package/dist/{sankey-DQjq16w_.mjs → sankey-B-88mGB1.mjs} +2 -2
  103. package/dist/{sausage-CnA_7NXH.mjs → sausage-MJyh9DcM.mjs} +1 -1
  104. package/dist/{scatter-Z9iXDwaa.mjs → scatter-CXYREtPk.mjs} +2 -2
  105. package/dist/{sectorHelper-BYk-RZi8.mjs → sectorHelper-BrGpww5p.mjs} +4 -4
  106. package/dist/{svg-BqqDtKe2.mjs → svg-BpzO9oa-.mjs} +2 -2
  107. package/dist/{theme-Cy9b23sj.mjs → theme-BYHowFGG.mjs} +137 -135
  108. package/dist/{timeseries-CDZ2lqd0.mjs → timeseries-D1_Havul.mjs} +1911 -1939
  109. package/dist/{toTasteAppearance-CcICPHaj.mjs → toTasteAppearance-DdC9S4xx.mjs} +13 -13
  110. package/dist/{treemap-C3cV5Iw-.mjs → treemap-BGu5cKFF.mjs} +2 -2
  111. package/dist/{useGuesTokenUsageLog-x2sDutRn.mjs → useGuesTokenUsageLog-BDOlwCKi.mjs} +1 -1
  112. package/dist/{usePublishArchivedMetrics-DJKjX-SL.mjs → usePublishArchivedMetrics-B9KYUf2j.mjs} +2 -2
  113. package/dist/{useQuery-wLcZUjCm.mjs → useQuery-8yPFyxSa.mjs} +1 -1
  114. package/dist/{vendor-Bq_K9DdP.mjs → vendor-BesI8vuE.mjs} +1 -1
  115. package/dist/webcomponents.css +1 -1
  116. package/dist/webcomponents.es.js +1487 -1460
  117. package/dist/webcomponents.umd.js +194 -184
  118. package/package.json +1 -1
  119. package/types/publicTypes.d.ts +4 -3
  120. package/dist/AxisBuilder-CIEw0VKH.mjs +0 -556
  121. package/dist/GridModel-DpfhksE5.mjs +0 -39
  122. package/dist/View-DuNXbS5E.mjs +0 -196
  123. package/dist/axisBand-CqPMsaju.mjs +0 -434
  124. package/dist/canvasTeardown-U1wBiiCe.mjs +0 -65
  125. package/dist/createDimensions-DYZprUlh.mjs +0 -104
  126. package/dist/createSeriesData-SCJKaSQ2.mjs +0 -101
  127. package/dist/customGraphicKeyframeAnimation-C5rfpbhk.mjs +0 -299
  128. package/dist/extension-dPyu9HSg.mjs +0 -52
  129. package/dist/install-DJXWoot7.mjs +0 -208
  130. package/dist/install-YCJIpIX5.mjs +0 -443
  131. package/dist/install-jnjEqKhO.mjs +0 -370
  132. package/dist/installSVGRenderer-DWwkDWs9.mjs +0 -788
  133. package/dist/installSimple-B0ty1uQ7.mjs +0 -562
  134. package/dist/labelGuideHelper-JZN7_bZa.mjs +0 -211
@@ -1,11 +1,11 @@
1
1
  import "react";
2
2
  import "react-dom";
3
3
  import "react-dom/client";
4
- import { Va as e, hr as t, ra as n } from "./Portal-CV_NrBJ-.mjs";
5
- import { E as r, T as i, b as a } from "./option-BVCp3H01.mjs";
4
+ import { Va as e, hr as t, ra as n } from "./Portal-DSSDhg1M.mjs";
5
+ import { D as r, E as i, x as a } from "./format-BdG1uTDw.mjs";
6
6
  import { n as o, r as s, t as c } from "./config-Erpgv7JC.mjs";
7
7
  import { n as l, r as u } from "./rendererRegistry-BApA01Jb.mjs";
8
- import { _ as d, b as f, f as p, h as m, u as h, y as g } from "./timeseries-CDZ2lqd0.mjs";
8
+ import { f as d, g as f, m as p, u as m, v as h, y as g } from "./timeseries-D1_Havul.mjs";
9
9
  // src/charts/isChartsV2Enabled.ts
10
10
  var _ = "dbnCharts", v = "@dbn:chartsV2";
11
11
  function y() {
@@ -56,7 +56,7 @@ var E = /* @__PURE__ */ new Map(), te = (e) => {
56
56
  let t = o(e), n = E.get(e);
57
57
  if (n) return n;
58
58
  if (u(t).kind === "custom") return () => {};
59
- let r = l(t, { load: () => import("./renderer-CbYNXUJq.mjs").then((e) => e.customChartRenderer) }), i = () => {
59
+ let r = l(t, { load: () => import("./renderer-BC0h-JPJ.mjs").then((e) => e.customChartRenderer) }), i = () => {
60
60
  E.get(e) === i && E.delete(e), r();
61
61
  };
62
62
  return E.set(e, i), i;
@@ -341,8 +341,8 @@ function pe(e, t, n = {}) {
341
341
  };
342
342
  }
343
343
  var me = 120, W = (e, t) => {
344
- if (!f(e.chartType)) return t;
345
- let n = g(e);
344
+ if (!g(e.chartType)) return t;
345
+ let n = h(e);
346
346
  return !n || !t.categories.length || n >= t.categories.length ? t : {
347
347
  ...t,
348
348
  categories: t.categories.slice(0, n),
@@ -356,8 +356,8 @@ function he(e, t) {
356
356
  if (!e || !Array.isArray(t) || !t.length) return null;
357
357
  e = U(e, t);
358
358
  let n = N[e.chartType];
359
- if (t = d(t, e), !t.length) return null;
360
- n && P.has(n) && (t = m(t, e));
359
+ if (t = f(t, e), !t.length) return null;
360
+ n && P.has(n) && (t = p(t, e));
361
361
  let i = c(e.chartType);
362
362
  if (i) {
363
363
  let n = L(t);
@@ -515,7 +515,7 @@ function he(e, t) {
515
515
  };
516
516
  }
517
517
  if (e.chartType === "histogram" && !oe(e.customSettings)) return null;
518
- let u = e.customSettings?.bulletOptions ?? [], f = e.customSettings?.lineOptions ?? [];
518
+ let u = e.customSettings?.bulletOptions ?? [], d = e.customSettings?.lineOptions ?? [];
519
519
  if (a === "bullet" && !o) {
520
520
  if (!l.length) return null;
521
521
  let n = t[0] ?? {}, r = l.map((e) => z(n[e]));
@@ -550,7 +550,7 @@ function he(e, t) {
550
550
  } : null;
551
551
  }
552
552
  if (e.isMultiDimension || e.isDynamicSeries) return be(e, t, a, o, l);
553
- let p = t.map((e) => e[o] ?? ""), h = new Set(e.comboBarList ?? []), g = a === "combo" || a === "bullet", _ = a === "stack" || a === "horizontalStack" || a === "stackedArea", v = e.chartType === "bullet", y = (e) => v ? u.includes(e) ? "point" : f.includes(e) ? "line" : "bar" : h.has(e) ? "bar" : "line", b = l.map((e) => ({
553
+ let m = t.map((e) => e[o] ?? ""), h = new Set(e.comboBarList ?? []), g = a === "combo" || a === "bullet", _ = a === "stack" || a === "horizontalStack" || a === "stackedArea", v = e.chartType === "bullet", y = (e) => v ? u.includes(e) ? "point" : d.includes(e) ? "line" : "bar" : h.has(e) ? "bar" : "line", b = l.map((e) => ({
554
554
  name: e,
555
555
  data: t.map((t) => z(t[e])),
556
556
  ...g ? { kind: y(e) } : {},
@@ -561,7 +561,7 @@ function he(e, t) {
561
561
  return {
562
562
  type: a,
563
563
  data: W(e, r({
564
- categories: p,
564
+ categories: m,
565
565
  series: b
566
566
  }, a, e.customSettings?.sort)),
567
567
  ...x ? { colorBy: x } : {}
@@ -650,7 +650,7 @@ function xe(e, t) {
650
650
  return a ? r.length === 1 ? `The measure ${r[0]} holds text, not numbers, so there is nothing to plot. Pick a numeric measure in Configure.` : `The measures ${J(r)} hold text, not numbers, so there is nothing to plot. Pick a numeric measure in Configure.` : null;
651
651
  }
652
652
  // src/charts/toDbnValueFormatter.ts
653
- var Y = (e) => !e || e.toLowerCase() === "original", Se = (e, t) => Y(t) ? a(e) : String(h(e, t)), Ce = (t) => {
653
+ var Y = (e) => !e || e.toLowerCase() === "original", Se = (e, t) => Y(t) ? a(e) : String(m(e, t)), Ce = (t) => {
654
654
  let r = t?.customSettings, i = t?.chartType === e.singleValue, a = {
655
655
  numberFormatter: r?.numberFormatter,
656
656
  labelPrefix: (i ? r?.singleValuePrefix ?? r?.labelPrefix : r?.labelPrefix) || "",
@@ -695,7 +695,7 @@ var Y = (e) => !e || e.toLowerCase() === "original", Se = (e, t) => Y(t) ? a(e)
695
695
  labelSuffix: t?.suffix ?? s.tableSuffix ?? i.labelSuffix
696
696
  };
697
697
  }
698
- return o && !X(i) ? o(e) : p(Se(e, i.numberFormatter), i.labelPrefix, i.labelSuffix);
698
+ return o && !X(i) ? o(e) : d(Se(e, i.numberFormatter), i.labelPrefix, i.labelSuffix);
699
699
  };
700
700
  }, Z = [
701
701
  "chartFieldFormats",
@@ -1,8 +1,8 @@
1
1
  import "react";
2
2
  import "react-dom";
3
3
  import "react-dom/client";
4
- import { t as e } from "./extension-dPyu9HSg.mjs";
5
- import { t } from "./install-D5AxiliG.mjs";
4
+ import { t as e } from "./extension-CjvfhuOl.mjs";
5
+ import { t } from "./install-B2u2WICp.mjs";
6
6
  // ../core/src/charts/families/treemap.ts
7
7
  var n = () => e([t]);
8
8
  export { n as register };
@@ -1,7 +1,7 @@
1
1
  import "react";
2
2
  import "react-dom";
3
3
  import "react-dom/client";
4
- import { n as e } from "./metric.mutation-GQtohk1S.mjs";
4
+ import { n as e } from "./metric.mutation-Bp6C-gnS.mjs";
5
5
  // src/hooks/useGuesTokenUsageLog.ts
6
6
  var t = () => {
7
7
  let { mutateAsync: t } = e();
@@ -1,8 +1,8 @@
1
1
  import { useCallback as e } from "react";
2
2
  import "react-dom";
3
3
  import "react-dom/client";
4
- import { nn as t } from "./pluginV3Request-CCcbgHOL.mjs";
5
- import { u as n } from "./metric.mutation-GQtohk1S.mjs";
4
+ import { nn as t } from "./pluginV3Request-B6J1iWdo.mjs";
5
+ import { u as n } from "./metric.mutation-Bp6C-gnS.mjs";
6
6
  // src/helpers/unpublishedMetric.ts
7
7
  var r = "Unpublished. Only you can see this chart.", i = (e) => !e.createdByIdentifier || e.isPublished === !0 ? !1 : e.isPublished === !1 || !!e.externalDashboardMetrics?.[0]?.externalDashboard?.isAllowPrivateMetricsByDefault, a = (r, i) => {
8
8
  let { mutate: a, isPending: o } = n();
@@ -1,7 +1,7 @@
1
1
  import "react";
2
2
  import "react-dom";
3
3
  import "react-dom/client";
4
- import { oo as e, ro as t } from "./Portal-CV_NrBJ-.mjs";
4
+ import { oo as e, ro as t } from "./Portal-DSSDhg1M.mjs";
5
5
  // ../../../node_modules/.pnpm/@tanstack+react-query@5.103.2_react@19.3.0/node_modules/@tanstack/react-query/build/modern/useQuery.js
6
6
  function n(n, r) {
7
7
  return t(n, e, r);
@@ -1,7 +1,7 @@
1
1
  import "react";
2
2
  import "react-dom";
3
3
  import "react-dom/client";
4
- import { Wa as e } from "./echarts-B6T0U8q9.mjs";
4
+ import { Ua as e } from "./extension-CjvfhuOl.mjs";
5
5
  // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/util/vendor.js
6
6
  var t = typeof Float32Array < "u" ? Float32Array : void 0, n = typeof Float64Array < "u" ? Float64Array : void 0;
7
7
  function r(e) {