@devtable/dashboard 10.12.0 → 10.12.2

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.
@@ -136,10 +136,10 @@ function Op() {
136
136
  _e.unshift("Warning: " + F), Function.prototype.apply.call(console[_], console, _e);
137
137
  }
138
138
  }
139
- var G = !1, N = !1, O = !1, A = !1, Q = !1, re;
139
+ var j = !1, N = !1, O = !1, A = !1, Q = !1, re;
140
140
  re = Symbol.for("react.module.reference");
141
141
  function te(_) {
142
- return !!(typeof _ == "string" || typeof _ == "function" || _ === r || _ === a || Q || _ === o || _ === d || _ === p || A || _ === m || G || N || O || typeof _ == "object" && _ !== null && (_.$$typeof === f || _.$$typeof === h || _.$$typeof === s || _.$$typeof === l || _.$$typeof === c || // This needs to include all possible module reference object
142
+ return !!(typeof _ == "string" || typeof _ == "function" || _ === r || _ === a || Q || _ === o || _ === d || _ === p || A || _ === m || j || N || O || typeof _ == "object" && _ !== null && (_.$$typeof === f || _.$$typeof === h || _.$$typeof === s || _.$$typeof === l || _.$$typeof === c || // This needs to include all possible module reference object
143
143
  // types supported by any Flight configuration anywhere since
144
144
  // we don't know which Flight build this will end up being used
145
145
  // with.
@@ -1163,7 +1163,7 @@ class ra {
1163
1163
  }), this.instanceRegistry.clear(), this.factoryRegistry.clear();
1164
1164
  }
1165
1165
  }
1166
- const rc = "10.12.0", rf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1166
+ const rc = "10.12.2", rf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1167
1167
  __proto__: null,
1168
1168
  version: rc
1169
1169
  }, Symbol.toStringTag, { value: "Module" }));
@@ -1316,7 +1316,7 @@ const J = (t, e) => {
1316
1316
  name: "Z Axis Name"
1317
1317
  }
1318
1318
  };
1319
- function j(t) {
1319
+ function G(t) {
1320
1320
  const [e, n] = t.split(".");
1321
1321
  return {
1322
1322
  queryID: e,
@@ -1328,13 +1328,13 @@ function Gt(t, e) {
1328
1328
  const {
1329
1329
  queryID: n,
1330
1330
  columnKey: r
1331
- } = j(e);
1331
+ } = G(e);
1332
1332
  return n ? r ? ((o = t[n]) == null ? void 0 : o.map((a) => a[r])) ?? [] : t[n] : [];
1333
1333
  }
1334
1334
  function li(t, e) {
1335
1335
  const {
1336
1336
  queryID: n
1337
- } = j(e);
1337
+ } = G(e);
1338
1338
  return n ? t[n] : [];
1339
1339
  }
1340
1340
  function lf(t) {
@@ -1344,7 +1344,7 @@ function Er(t, e) {
1344
1344
  const {
1345
1345
  queryID: n,
1346
1346
  columnKey: r
1347
- } = j(e);
1347
+ } = G(e);
1348
1348
  return t[r];
1349
1349
  }
1350
1350
  be.use([xt, ti, vt, wt, dt]);
@@ -1368,14 +1368,14 @@ function cf({
1368
1368
  y: m,
1369
1369
  z: v
1370
1370
  } = z(() => ({
1371
- x: j(a),
1372
- y: j(s),
1373
- z: j(l)
1371
+ x: G(a),
1372
+ y: G(s),
1373
+ z: G(l)
1374
1374
  }), [a, s, l]), {
1375
1375
  min: x,
1376
1376
  max: T
1377
1377
  } = z(() => {
1378
- const L = rh(h, (G) => G[v.columnKey]), B = ih(h, (G) => G[v.columnKey]);
1378
+ const L = rh(h, (j) => j[v.columnKey]), B = ih(h, (j) => j[v.columnKey]);
1379
1379
  return {
1380
1380
  min: ce(L, v.columnKey),
1381
1381
  max: ce(B, v.columnKey)
@@ -1894,7 +1894,7 @@ function zn(t, e) {
1894
1894
  const {
1895
1895
  queryID: n,
1896
1896
  columnKey: r
1897
- } = j(e);
1897
+ } = G(e);
1898
1898
  return k.keyBy(t[n], r);
1899
1899
  }, [t, e]);
1900
1900
  }
@@ -2717,7 +2717,7 @@ function um(t, e) {
2717
2717
  } = t;
2718
2718
  if (!n.data_key || !r.data_key)
2719
2719
  return [];
2720
- const o = j(n.data_key), a = j(r.data_key);
2720
+ const o = G(n.data_key), a = G(r.data_key);
2721
2721
  if (o.queryID !== a.queryID)
2722
2722
  throw new Error("Please use the same query for X & Y axis");
2723
2723
  const s = k.groupBy(e[o.queryID], o.columnKey), l = dm(s, a.columnKey), c = l.map((d) => d.outliers).flat();
@@ -2839,7 +2839,7 @@ function bm(t, e) {
2839
2839
  <td style="text-align: left; padding: 0 1em;">${e[1]}</td>
2840
2840
  </tr>
2841
2841
  `], o = t.tooltip.metrics.map((s) => {
2842
- const l = j(s.data_key);
2842
+ const l = G(s.data_key);
2843
2843
  return `
2844
2844
  <tr>
2845
2845
  <th style="text-align: right; padding: 0 1em;">${s.name}</th>
@@ -4422,7 +4422,7 @@ function Tg({
4422
4422
  }
4423
4423
  const {
4424
4424
  columnKey: c
4425
- } = j(a.y_axis_data_key), d = k.groupBy(li(n, a.y_axis_data_key), l);
4425
+ } = G(a.y_axis_data_key), d = k.groupBy(li(n, a.y_axis_data_key), l);
4426
4426
  Object.entries(d).forEach(([p, h]) => {
4427
4427
  const f = h.map((v, x) => [x, Number(v[c])]);
4428
4428
  o(a, p, p, f);
@@ -4493,7 +4493,7 @@ function Mg({
4493
4493
  } = e, {
4494
4494
  queryID: s,
4495
4495
  columnKey: l
4496
- } = j(r), c = ah(li(n, s), l);
4496
+ } = G(r), c = ah(li(n, s), l);
4497
4497
  return (d, p) => {
4498
4498
  let h;
4499
4499
  p.name ? h = c[p.name] : h = n[p.dataIndex];
@@ -4559,7 +4559,7 @@ function Ag({
4559
4559
  const {
4560
4560
  queryID: o,
4561
4561
  columnKey: a
4562
- } = j(t), s = k.groupBy(e[o], a);
4562
+ } = G(t), s = k.groupBy(e[o], a);
4563
4563
  return Object.entries(s).forEach(([l, c]) => {
4564
4564
  s[l] = fa({
4565
4565
  [o]: c
@@ -4615,13 +4615,13 @@ function Eg({
4615
4615
  y_axis_data_key: n,
4616
4616
  valueTypedXAxis: L
4617
4617
  }), B;
4618
- const G = Ag({
4618
+ const j = Ag({
4619
4619
  group_by_key: s,
4620
4620
  data: x,
4621
4621
  x_axis_data_key: t,
4622
4622
  y_axis_data_key: n
4623
4623
  });
4624
- return Object.entries(G).map(([N, O]) => {
4624
+ return Object.entries(j).map(([N, O]) => {
4625
4625
  const A = Ue(B);
4626
4626
  return A.name = N, A.color = void 0, A.data = O, A;
4627
4627
  });
@@ -6567,7 +6567,7 @@ function Qb(t, e) {
6567
6567
  } = n;
6568
6568
  if (!r || !o)
6569
6569
  return {};
6570
- const h = j(r), f = j(o), m = e[h.queryID].map((x) => ({
6570
+ const h = G(r), f = G(o), m = e[h.queryID].map((x) => ({
6571
6571
  name: x[h.columnKey],
6572
6572
  value: x[f.columnKey]
6573
6573
  })), v = Kt(a.overflow.on_axis);
@@ -6614,7 +6614,7 @@ function Kb({
6614
6614
  }
6615
6615
  function Ub(t, e) {
6616
6616
  var a;
6617
- const n = j(t.series[0].level_name_data_key), r = j(t.series[0].level_value_data_key), o = (a = k.maxBy(e[n.queryID], r.columnKey)) == null ? void 0 : a[r.columnKey];
6617
+ const n = G(t.series[0].level_name_data_key), r = G(t.series[0].level_value_data_key), o = (a = k.maxBy(e[n.queryID], r.columnKey)) == null ? void 0 : a[r.columnKey];
6618
6618
  return (s) => {
6619
6619
  const c = Kb({
6620
6620
  conf: t,
@@ -7124,7 +7124,7 @@ function by(t, e) {
7124
7124
  x_axis: n,
7125
7125
  y_axis: r,
7126
7126
  heat_block: o
7127
- } = t, a = j(n.data_key), s = j(r.data_key), l = j(o.data_key), c = e[a.queryID].map((d) => [k.get(d, a.columnKey), k.get(d, s.columnKey), k.get(d, l.columnKey)]);
7127
+ } = t, a = G(n.data_key), s = G(r.data_key), l = G(o.data_key), c = e[a.queryID].map((d) => [k.get(d, a.columnKey), k.get(d, s.columnKey), k.get(d, l.columnKey)]);
7128
7128
  return {
7129
7129
  type: "heatmap",
7130
7130
  name: o.name,
@@ -7185,7 +7185,7 @@ function xy({
7185
7185
  }
7186
7186
  }, m = [p, h, f], v = r[`${l}---${c}`];
7187
7187
  return v && t.tooltip.metrics.forEach((x) => {
7188
- const T = j(x.data_key);
7188
+ const T = G(x.data_key);
7189
7189
  m.push({
7190
7190
  label: x.name,
7191
7191
  value: yy(k.get(v, T.columnKey, "")),
@@ -7201,8 +7201,8 @@ function vy(t, e, n, r) {
7201
7201
  x_axis: o,
7202
7202
  y_axis: a,
7203
7203
  heat_block: s
7204
- } = t, l = j(o.data_key), c = j(a.data_key);
7205
- j(s.data_key);
7204
+ } = t, l = G(o.data_key), c = G(a.data_key);
7205
+ G(s.data_key);
7206
7206
  const d = k.keyBy(e[l.queryID], (p) => `${p[l.columnKey]}---${p[c.columnKey]}`);
7207
7207
  return {
7208
7208
  confine: !0,
@@ -7379,7 +7379,7 @@ function Ty(t, e) {
7379
7379
  };
7380
7380
  }
7381
7381
  function Dy(t, e, n) {
7382
- const r = j(t.x_axis.data_key), o = k.uniq(e[r.queryID].map((c) => c[r.columnKey])), {
7382
+ const r = G(t.x_axis.data_key), o = k.uniq(e[r.queryID].map((c) => c[r.columnKey])), {
7383
7383
  overflow: a,
7384
7384
  rotate: s
7385
7385
  } = t.x_axis.axisLabel, l = Kt(a.on_axis);
@@ -7411,7 +7411,7 @@ function Dy(t, e, n) {
7411
7411
  };
7412
7412
  }
7413
7413
  function Iy(t, e, n) {
7414
- const r = j(t.x_axis.data_key), o = j(t.y_axis.data_key), {
7414
+ const r = G(t.x_axis.data_key), o = G(t.y_axis.data_key), {
7415
7415
  nameAlignment: a,
7416
7416
  data_key: s,
7417
7417
  ...l
@@ -7560,7 +7560,7 @@ function Ay({
7560
7560
  variables: a
7561
7561
  }) {
7562
7562
  const s = z(() => {
7563
- const h = j(t.x_axis.data_key), f = j(t.y_axis.data_key);
7563
+ const h = G(t.x_axis.data_key), f = G(t.y_axis.data_key);
7564
7564
  return k.keyBy(e[h.queryID], (m) => `${m[h.columnKey]}---${m[f.columnKey]}`);
7565
7565
  }, [e, t.x_axis.data_key, t.y_axis.data_key]), l = Mt(o.triggerManager, Cc.id), c = ot((h) => {
7566
7566
  const [f, m] = h.value, v = k.get(s, `${f}---${m}`, {
@@ -8215,7 +8215,7 @@ function nx(t, e, n) {
8215
8215
  } = t;
8216
8216
  if (!r.data_key || !o)
8217
8217
  return [];
8218
- const a = j(r.data_key), s = j(o);
8218
+ const a = G(r.data_key), s = G(o);
8219
8219
  if (a.queryID !== s.queryID)
8220
8220
  throw new Error("Please use the same query for X & Y axis");
8221
8221
  const l = e[a.queryID].map((h) => [h[a.columnKey], Number(h[s.columnKey])]).sort((h, f) => f[1] - h[1]), c = l.reduce((h, f) => h + f[1], 0), d = l.reduce((h, f, m) => {
@@ -8914,7 +8914,7 @@ function $x(t, e, n) {
8914
8914
  } = t;
8915
8915
  if (!r || !o)
8916
8916
  return {};
8917
- const s = j(r), l = j(o), c = j(a), d = e[s.queryID].map((h) => ({
8917
+ const s = G(r), l = G(o), c = G(a), d = e[s.queryID].map((h) => ({
8918
8918
  name: h[s.columnKey],
8919
8919
  value: Number(h[l.columnKey]),
8920
8920
  color: c.columnKey ? h[c.columnKey] : void 0
@@ -9232,12 +9232,12 @@ function Lc(t, e) {
9232
9232
  return e.map(({
9233
9233
  data_key: n
9234
9234
  }) => {
9235
- const r = j(n);
9235
+ const r = G(n);
9236
9236
  return t[r.columnKey];
9237
9237
  });
9238
9238
  }
9239
9239
  function jx(t, e, n) {
9240
- const r = j(e);
9240
+ const r = G(e);
9241
9241
  return t[r.queryID].map((o) => ({
9242
9242
  value: Lc(o, n),
9243
9243
  name: o[r.columnKey]
@@ -9273,7 +9273,7 @@ function Yx(t, e) {
9273
9273
  dimensions: r
9274
9274
  } = e;
9275
9275
  return n.map((a) => {
9276
- const s = j(a.name_key), l = j(a.color_key);
9276
+ const s = G(a.name_key), l = G(a.color_key);
9277
9277
  return {
9278
9278
  type: "radar",
9279
9279
  colorBy: "data",
@@ -9410,8 +9410,8 @@ function Jx({
9410
9410
  const {
9411
9411
  queryID: h,
9412
9412
  columnKey: f
9413
- } = j(t.series_name_key), m = k.keyBy(e[h], f), v = t.additional_series.reduce((x, T) => {
9414
- const I = j(T.name_key), L = k.keyBy(e[I.queryID], I.columnKey);
9413
+ } = G(t.series_name_key), m = k.keyBy(e[h], f), v = t.additional_series.reduce((x, T) => {
9414
+ const I = G(T.name_key), L = k.keyBy(e[I.queryID], I.columnKey);
9415
9415
  return {
9416
9416
  ...x,
9417
9417
  ...L
@@ -9842,7 +9842,7 @@ function hv(t, e) {
9842
9842
  }));
9843
9843
  }
9844
9844
  function Ac(t, e) {
9845
- const n = j(t.x_axis.data_key), r = j(t.regression.y_axis_data_key);
9845
+ const n = G(t.x_axis.data_key), r = G(t.regression.y_axis_data_key);
9846
9846
  return k.uniqBy(e.map((o) => [o[n.columnKey], o[r.columnKey]]), 0);
9847
9847
  }
9848
9848
  function pv(t, e) {
@@ -9871,7 +9871,7 @@ function fv(t, e) {
9871
9871
  plot: n,
9872
9872
  transform: r,
9873
9873
  group_by_key: o
9874
- } = t.regression, a = j(o), s = k.groupBy(e, a.columnKey);
9874
+ } = t.regression, a = G(o), s = k.groupBy(e, a.columnKey);
9875
9875
  return Object.entries(s).map(([l, c]) => {
9876
9876
  const d = Ac(t, c);
9877
9877
  return {
@@ -10143,7 +10143,7 @@ function ks(t, e, n) {
10143
10143
  const {
10144
10144
  regression: r,
10145
10145
  x_axis: o
10146
- } = n, a = j(o.data_key), s = j(r.y_axis_data_key), l = e.map((c) => [c[a.columnKey], c[s.columnKey]]);
10146
+ } = n, a = G(o.data_key), s = G(r.y_axis_data_key), l = e.map((c) => [c[a.columnKey], c[s.columnKey]]);
10147
10147
  return r.transform.config.method === "linear" ? wv(t, e, l, n) : r.transform.config.method === "exponential" ? _v(t, e, l, n) : r.transform.config.method === "logarithmic" ? Cv(t, e, l, n) : r.transform.config.method === "polynomial" ? Sv(t, e, l, n) : {
10148
10148
  name: t,
10149
10149
  expression: "",
@@ -10161,7 +10161,7 @@ function kv(t, e) {
10161
10161
  }];
10162
10162
  if (!e.regression.group_by_key)
10163
10163
  return [ks("", t, e)];
10164
- const n = j(e.regression.group_by_key), r = k.groupBy(t, n.columnKey);
10164
+ const n = G(e.regression.group_by_key), r = k.groupBy(t, n.columnKey);
10165
10165
  return Object.entries(r).map(([o, a]) => ks(o, a, e));
10166
10166
  }
10167
10167
  const Tv = {
@@ -10289,7 +10289,7 @@ function zv({
10289
10289
  const c = t.data, d = e == null ? void 0 : e.x_axis.data_key, p = (m = e == null ? void 0 : e.regression) == null ? void 0 : m.y_axis_data_key;
10290
10290
  if (!d || !p)
10291
10291
  return [];
10292
- const h = j(d), f = j(p);
10292
+ const h = G(d), f = G(p);
10293
10293
  return c[h.queryID].map((v) => typeof v[f.columnKey] == "number" ? v : {
10294
10294
  ...v,
10295
10295
  [f.columnKey]: Number(v[f.columnKey])
@@ -13394,8 +13394,8 @@ function J0(t, e, n = {}) {
13394
13394
  if (!x.isText && !x.marks.length)
13395
13395
  return;
13396
13396
  const I = Math.max(m, T), L = Math.min(v, T + x.nodeSize), B = L - I;
13397
- s += B, l.push(...x.marks.map((G) => ({
13398
- mark: G,
13397
+ s += B, l.push(...x.marks.map((j) => ({
13398
+ mark: j,
13399
13399
  from: I,
13400
13400
  to: L
13401
13401
  })));
@@ -13532,8 +13532,8 @@ const aw = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit
13532
13532
  const I = l.index(-1) ? 1 : l.index(-2) ? 2 : 3;
13533
13533
  for (let A = l.depth - I; A >= l.depth - 3; A -= 1)
13534
13534
  T = pe.from(l.node(A).copy(T));
13535
- const L = l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3, B = Fr(h, l.node().type.name, l.node().attrs), G = ((a = s.contentMatch.defaultType) === null || a === void 0 ? void 0 : a.createAndFill(B)) || void 0;
13536
- T = T.append(pe.from(s.createAndFill(null, G) || void 0));
13535
+ const L = l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3, B = Fr(h, l.node().type.name, l.node().attrs), j = ((a = s.contentMatch.defaultType) === null || a === void 0 ? void 0 : a.createAndFill(B)) || void 0;
13536
+ T = T.append(pe.from(s.createAndFill(null, j) || void 0));
13537
13537
  const N = l.before(l.depth - (I - 1));
13538
13538
  e.replace(N, l.after(-L), new ye(T, 4 - I, 0));
13539
13539
  let O = -1;
@@ -13557,8 +13557,8 @@ const aw = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit
13557
13557
  const { selection: T, storedMarks: I } = n, { splittableMarks: L } = o.extensionManager, B = I || T.$to.parentOffset && T.$from.marks();
13558
13558
  if (e.split(l.pos, 2, x).scrollIntoView(), !B || !r)
13559
13559
  return !0;
13560
- const G = B.filter((N) => L.includes(N.type.name));
13561
- e.ensureMarks(G);
13560
+ const j = B.filter((N) => L.includes(N.type.name));
13561
+ e.ensureMarks(j);
13562
13562
  }
13563
13563
  return !0;
13564
13564
  }, qi = (t, e) => {
@@ -13580,7 +13580,7 @@ const aw = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit
13580
13580
  const o = t.doc.nodeAt(r);
13581
13581
  return n.node.type === (o == null ? void 0 : o.type) && Hc(t.doc, r) && t.join(r), !0;
13582
13582
  }, lw = (t, e, n, r = {}) => ({ editor: o, tr: a, state: s, dispatch: l, chain: c, commands: d, can: p }) => {
13583
- const { extensions: h, splittableMarks: f } = o.extensionManager, m = tt(t, s.schema), v = tt(e, s.schema), { selection: x, storedMarks: T } = s, { $from: I, $to: L } = x, B = I.blockRange(L), G = T || x.$to.parentOffset && x.$from.marks();
13583
+ const { extensions: h, splittableMarks: f } = o.extensionManager, m = tt(t, s.schema), v = tt(e, s.schema), { selection: x, storedMarks: T } = s, { $from: I, $to: L } = x, B = I.blockRange(L), j = T || x.$to.parentOffset && x.$from.marks();
13584
13584
  if (!B)
13585
13585
  return !1;
13586
13586
  const N = Ia((O) => Ps(O.type.name, h))(x);
@@ -13590,8 +13590,8 @@ const aw = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, edit
13590
13590
  if (Ps(N.node.type.name, h) && m.validContent(N.node.content) && l)
13591
13591
  return c().command(() => (a.setNodeMarkup(N.pos, m), !0)).command(() => qi(a, m)).command(() => Wi(a, m)).run();
13592
13592
  }
13593
- return !n || !G || !l ? c().command(() => p().wrapInList(m, r) ? !0 : d.clearNodes()).wrapInList(m, r).command(() => qi(a, m)).command(() => Wi(a, m)).run() : c().command(() => {
13594
- const O = p().wrapInList(m, r), A = G.filter((Q) => f.includes(Q.type.name));
13593
+ return !n || !j || !l ? c().command(() => p().wrapInList(m, r) ? !0 : d.clearNodes()).wrapInList(m, r).command(() => qi(a, m)).command(() => Wi(a, m)).run() : c().command(() => {
13594
+ const O = p().wrapInList(m, r), A = j.filter((Q) => f.includes(Q.type.name));
13595
13595
  return a.ensureMarks(A), O ? !0 : d.clearNodes();
13596
13596
  }).wrapInList(m, r).command(() => qi(a, m)).command(() => Wi(a, m)).run();
13597
13597
  }, cw = (t, e = {}, n = {}) => ({ state: r, commands: o }) => {
@@ -14282,7 +14282,7 @@ const id = {
14282
14282
  function Ew(t, e) {
14283
14283
  if (!t.x_axis.data_key)
14284
14284
  return [];
14285
- const n = j(t.x_axis.data_key);
14285
+ const n = G(t.x_axis.data_key);
14286
14286
  return [{
14287
14287
  source: e[n.queryID]
14288
14288
  }];
@@ -14428,7 +14428,7 @@ function Bw({
14428
14428
  x_axis: t,
14429
14429
  scatter: e
14430
14430
  }, n) {
14431
- const r = j(t.data_key), o = j(e.y_data_key), a = j(e.name_data_key);
14431
+ const r = G(t.data_key), o = G(e.y_data_key), a = G(e.name_data_key);
14432
14432
  return {
14433
14433
  label: {
14434
14434
  show: !!e.label_position,
@@ -16181,7 +16181,7 @@ function rC(t, e) {
16181
16181
  } = t;
16182
16182
  if (!n || !r)
16183
16183
  return [];
16184
- const a = j(n), s = j(r), l = j(o), c = e[a.queryID].map((d) => ({
16184
+ const a = G(n), s = G(r), l = G(o), c = e[a.queryID].map((d) => ({
16185
16185
  ...d,
16186
16186
  id: d[a.columnKey],
16187
16187
  parent_id: d[l.columnKey],
@@ -16946,7 +16946,7 @@ function WC({
16946
16946
  } = MC(), f = z(() => {
16947
16947
  if (!s)
16948
16948
  return [];
16949
- const ke = j(s);
16949
+ const ke = G(s);
16950
16950
  return t[ke.queryID];
16951
16951
  }, [t, s]), m = R.useMemo(() => l ? !Array.isArray(f) || f.length === 0 ? [] : Object.keys(f[0]).map((ke) => ({
16952
16952
  id: ke,
@@ -16963,7 +16963,7 @@ function WC({
16963
16963
  }), x = z(() => {
16964
16964
  const ke = Yl();
16965
16965
  return m.map((Te) => {
16966
- const Ze = j(Te.value_field);
16966
+ const Ze = G(Te.value_field);
16967
16967
  return ke.accessor(Ze.columnKey, {
16968
16968
  cell: (gt) => /* @__PURE__ */ i(BC, { tableCellContext: v(gt.cell), value: gt.getValue(), type: Te.value_type, ...Te }),
16969
16969
  header: Te.label,
@@ -16984,8 +16984,8 @@ function WC({
16984
16984
  getSortedRowModel: gp()
16985
16985
  }), {
16986
16986
  rows: B
16987
- } = L.getRowModel(), G = R.useRef(null), N = bp({
16988
- parentRef: G,
16987
+ } = L.getRowModel(), j = R.useRef(null), N = bp({
16988
+ parentRef: j,
16989
16989
  size: B.length,
16990
16990
  estimateSize: ot(() => 28, []),
16991
16991
  overscan: 20
@@ -16993,7 +16993,7 @@ function WC({
16993
16993
  virtualItems: O,
16994
16994
  totalSize: A
16995
16995
  } = N, Q = O.length > 0 && (($e = O == null ? void 0 : O[0]) == null ? void 0 : $e.start) || 0, re = O.length > 0 ? A - (((Qe = O == null ? void 0 : O[O.length - 1]) == null ? void 0 : Qe.end) || 0) : 0, te = B.length, ie = te > 0, fe = ie ? n - 22 : n, ge = ie ? 22 : 0;
16996
- return !Array.isArray(f) || f.length === 0 ? /* @__PURE__ */ i(C, { color: "gray", align: "center", children: "Empty Data" }) : /* @__PURE__ */ u("div", { ref: G, style: {
16996
+ return !Array.isArray(f) || f.length === 0 ? /* @__PURE__ */ i(C, { color: "gray", align: "center", children: "Empty Data" }) : /* @__PURE__ */ u("div", { ref: j, style: {
16997
16997
  height: n,
16998
16998
  width: e
16999
16999
  }, "data-enable-scrollbar": !0, className: h(p.root, {
@@ -18043,7 +18043,7 @@ function R1(t, e, n, r) {
18043
18043
  const {
18044
18044
  calendar: o,
18045
18045
  heat_block: a
18046
- } = t, s = j(o.data_key), l = j(a.data_key);
18046
+ } = t, s = G(o.data_key), l = G(a.data_key);
18047
18047
  return e ? {
18048
18048
  type: "heatmap",
18049
18049
  name: "heatmap",
@@ -18085,7 +18085,7 @@ function F1({
18085
18085
  }
18086
18086
  }], d = n[a];
18087
18087
  return d && t.tooltip.metrics.forEach((p) => {
18088
- const h = j(p.data_key);
18088
+ const h = G(p.data_key);
18089
18089
  c.push({
18090
18090
  label: p.name,
18091
18091
  value: O1(k.get(d, h.columnKey, "")),
@@ -18097,7 +18097,7 @@ function F1({
18097
18097
  }), c;
18098
18098
  }
18099
18099
  function P1(t, e, n) {
18100
- const r = j(t.calendar.data_key), o = k.keyBy(e[r.queryID], r.columnKey);
18100
+ const r = G(t.calendar.data_key), o = k.keyBy(e[r.queryID], r.columnKey);
18101
18101
  return {
18102
18102
  confine: !0,
18103
18103
  formatter: function(a) {
@@ -18158,7 +18158,7 @@ const N1 = {
18158
18158
  }
18159
18159
  }, B1 = (t) => ee(t).get("year");
18160
18160
  function q1(t, e) {
18161
- const n = j(t.calendar.data_key), r = e[n.queryID], o = k.groupBy(r, (d) => B1(d[n.columnKey])), a = Object.keys(o), s = r.map((d) => ee(d[n.columnKey]).valueOf()), l = k.min(s), c = k.max(s);
18161
+ const n = G(t.calendar.data_key), r = e[n.queryID], o = k.groupBy(r, (d) => B1(d[n.columnKey])), a = Object.keys(o), s = r.map((d) => ee(d[n.columnKey]).valueOf()), l = k.min(s), c = k.max(s);
18162
18162
  return {
18163
18163
  minDate: l ?? 0,
18164
18164
  maxDate: c ?? 0,
@@ -18770,7 +18770,7 @@ function gS({
18770
18770
  const {
18771
18771
  queryID: o,
18772
18772
  columnKey: a
18773
- } = j(t), s = k.groupBy(e[o], a);
18773
+ } = G(t), s = k.groupBy(e[o], a);
18774
18774
  return Object.entries(s).forEach(([l, c]) => {
18775
18775
  s[l] = wi({
18776
18776
  [o]: c
@@ -18828,9 +18828,9 @@ function bS({
18828
18828
  name_data_key: t.data_key,
18829
18829
  value_data_key: e
18830
18830
  });
18831
- return Object.entries(B).map(([G, N]) => {
18831
+ return Object.entries(B).map(([j, N]) => {
18832
18832
  const O = Ue(L);
18833
- return O.name = G, O.color = void 0, O.data = N, O;
18833
+ return O.name = j, O.color = void 0, O.data = N, O;
18834
18834
  });
18835
18835
  }
18836
18836
  function yS(t, e, n, r, o, a, s) {
@@ -18985,7 +18985,7 @@ function SS(t, e) {
18985
18985
  function kS(t, e, n) {
18986
18986
  if (!t.y_axis.data_key)
18987
18987
  return {};
18988
- const r = _S(e, n), o = wS(t), a = j(t.y_axis.data_key), s = k.uniq(e[a.queryID].map((p) => p[a.columnKey])), l = s.every((p) => !Number.isNaN(Number(p))), c = yS(t, s, l, e, o, n, r);
18988
+ const r = _S(e, n), o = wS(t), a = G(t.y_axis.data_key), s = k.uniq(e[a.queryID].map((p) => p[a.columnKey])), l = s.every((p) => !Number.isNaN(Number(p))), c = yS(t, s, l, e, o, n, r);
18989
18989
  return {
18990
18990
  xAxis: CS(t, o),
18991
18991
  yAxis: SS(t, s),
@@ -19961,7 +19961,7 @@ function XS(t, e, n, r) {
19961
19961
  }));
19962
19962
  }
19963
19963
  function JS(t, e, n, r) {
19964
- const o = j(e.data_key), a = e.name, s = n.map((l) => {
19964
+ const o = G(e.data_key), a = e.name, s = n.map((l) => {
19965
19965
  const c = k.sumBy(r[l], o.columnKey);
19966
19966
  return [l, c];
19967
19967
  });
@@ -20166,7 +20166,7 @@ function rk(t, e) {
20166
20166
  const {
20167
20167
  x_axis: n,
20168
20168
  deviation: r
20169
- } = t, o = j(n.data_key), a = j(r.data_keys.estimated_value), s = j(r.data_keys.actual_value);
20169
+ } = t, o = G(n.data_key), a = G(r.data_keys.estimated_value), s = G(r.data_keys.actual_value);
20170
20170
  return e[o.queryID].map((l) => {
20171
20171
  const c = Ys(l[a.columnKey]), d = Ys(l[s.columnKey]), p = c - d;
20172
20172
  return {
@@ -20222,7 +20222,7 @@ function sk(t, e) {
20222
20222
  };
20223
20223
  }
20224
20224
  function lk(t, e, n) {
20225
- const r = rk(t, n), o = j(t.x_axis.data_key), a = k.uniqBy(n[o.queryID], o.columnKey).map((p) => p[o.columnKey]), s = k.groupBy(r, o.columnKey), l = sk(t, e), c = ZS(t, l, a, s), d = {
20225
+ const r = rk(t, n), o = G(t.x_axis.data_key), a = k.uniqBy(n[o.queryID], o.columnKey).map((p) => p[o.columnKey]), s = k.groupBy(r, o.columnKey), l = sk(t, e), c = ZS(t, l, a, s), d = {
20226
20226
  xAxis: ek(t, a),
20227
20227
  yAxis: tk(l),
20228
20228
  series: c,
@@ -21279,8 +21279,15 @@ const Nk = {
21279
21279
  justifyContent: "center"
21280
21280
  },
21281
21281
  ".rc-select-item-option-content": {
21282
- flexGrow: 1
21282
+ width: "calc(100% - 30px)",
21283
+ overflow: "hidden",
21284
+ 'div[data-role="label"]': {
21285
+ overflowWrap: "break-word"
21286
+ }
21283
21287
  }
21288
+ },
21289
+ ".rc-virtual-list-holder-inner": {
21290
+ alignItems: "flex-start"
21284
21291
  }
21285
21292
  }
21286
21293
  })), vd = ({
@@ -21310,14 +21317,14 @@ const Nk = {
21310
21317
  classNames: e,
21311
21318
  styles: n,
21312
21319
  unstyled: r
21313
- }), [m, v] = K(!1), x = (G) => {
21314
- v(G);
21320
+ }), [m, v] = K(!1), x = (j) => {
21321
+ v(j);
21315
21322
  }, T = m && (l == null ? void 0 : l.length) > 0, [I, L] = K(""), B = z(() => {
21316
21323
  if (!I)
21317
21324
  return d;
21318
- const G = I.toLowerCase(), N = (O) => {
21325
+ const j = I.toLowerCase(), N = (O) => {
21319
21326
  var A;
21320
- return ((A = O.description) == null ? void 0 : A.toLowerCase().includes(G)) || O.label.toLowerCase().includes(G);
21327
+ return ((A = O.description) == null ? void 0 : A.toLowerCase().includes(j)) || O.label.toLowerCase().includes(j);
21321
21328
  };
21322
21329
  return d.filter(N);
21323
21330
  }, [I, d]);
@@ -21326,10 +21333,10 @@ const Nk = {
21326
21333
  /* @__PURE__ */ i(C, { className: h.label, children: s }),
21327
21334
  T && /* @__PURE__ */ i(Ve, { label: `${l.length} selected`, children: /* @__PURE__ */ i(cr, { children: l.length }) })
21328
21335
  ] }),
21329
- /* @__PURE__ */ i(xp, { disabled: t, allowClear: !0, className: f(h.root, "check-select"), dropdownClassName: f(h.dropdown, ""), onDropdownVisibleChange: x, transitionName: "rc-select-dropdown-slide-up", choiceTransitionName: "rc-select-selection__choice-zoom", style: a, clearIcon: () => /* @__PURE__ */ i(al, {}), value: l, onChange: c, onSelect: console.log, mode: "multiple", maxTagCount: 0, notFoundContent: /* @__PURE__ */ i(vd, { errorMessage: p }), maxTagTextLength: 10, maxTagPlaceholder: (G) => `${G.length} selected`, searchValue: I, onSearch: L, filterOption: !1, children: B.map((G) => /* @__PURE__ */ i(vp, { children: /* @__PURE__ */ i(w, { noWrap: !0, children: /* @__PURE__ */ u("div", { children: [
21330
- /* @__PURE__ */ i(C, { size: "sm", "data-role": "label", children: G.label }),
21331
- G.description && /* @__PURE__ */ i(C, { size: "xs", color: "dimmed", "data-role": "description", children: G.description })
21332
- ] }) }) }, G.value)) })
21336
+ /* @__PURE__ */ i(xp, { disabled: t, allowClear: !0, className: f(h.root, "check-select"), dropdownClassName: f(h.dropdown, ""), onDropdownVisibleChange: x, transitionName: "rc-select-dropdown-slide-up", choiceTransitionName: "rc-select-selection__choice-zoom", style: a, clearIcon: () => /* @__PURE__ */ i(al, {}), value: l, onChange: c, onSelect: console.log, mode: "multiple", maxTagCount: 0, notFoundContent: /* @__PURE__ */ i(vd, { errorMessage: p }), maxTagTextLength: 10, maxTagPlaceholder: (j) => `${j.length} selected`, searchValue: I, onSearch: L, filterOption: !1, children: B.map((j) => /* @__PURE__ */ u(vp, { title: j.label, children: [
21337
+ /* @__PURE__ */ i(C, { size: "sm", "data-role": "label", children: j.label }),
21338
+ j.description && /* @__PURE__ */ i(C, { size: "xs", color: "dimmed", "data-role": "description", children: j.description })
21339
+ ] }, j.value)) })
21333
21340
  ] });
21334
21341
  }, Gk = D(({
21335
21342
  label: t,
@@ -23472,7 +23479,14 @@ function WT(t) {
23472
23479
  };
23473
23480
  }
23474
23481
  function Ur(t, e, n, r) {
23475
- return t.reduce((o, a) => (o[a[e]] = ea(a[n], r), o), {});
23482
+ return t.reduce((o, a) => {
23483
+ try {
23484
+ o[a[e]] = ea(a[n], r);
23485
+ } catch (s) {
23486
+ o[a[e]] = s.message;
23487
+ }
23488
+ return o;
23489
+ }, {});
23476
23490
  }
23477
23491
  class jT {
23478
23492
  constructor(e) {
@@ -28791,9 +28805,9 @@ var po = {}, Xz = {
28791
28805
  return te || I[ie] || n[ie] || I[fe].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(ge, $e, Qe) {
28792
28806
  return $e || Qe.slice(1);
28793
28807
  });
28794
- })).match(r), B = L.length, G = 0; G < B; G += 1) {
28795
- var N = L[G], O = m[N], A = O && O[0], Q = O && O[1];
28796
- L[G] = Q ? { regex: A, parser: Q } : N.replace(/^\[|\]$/g, "");
28808
+ })).match(r), B = L.length, j = 0; j < B; j += 1) {
28809
+ var N = L[j], O = m[N], A = O && O[0], Q = O && O[1];
28810
+ L[j] = Q ? { regex: A, parser: Q } : N.replace(/^\[|\]$/g, "");
28797
28811
  }
28798
28812
  return function(re) {
28799
28813
  for (var te = {}, ie = 0, fe = 0; ie < B; ie += 1) {
@@ -28817,8 +28831,8 @@ var po = {}, Xz = {
28817
28831
  return function(x, T, I) {
28818
28832
  I.p.customParseFormat = !0, x && x.parseTwoDigitYear && (c = x.parseTwoDigitYear);
28819
28833
  var L = T.prototype, B = L.parse;
28820
- L.parse = function(G) {
28821
- var N = G.date, O = G.utc, A = G.args;
28834
+ L.parse = function(j) {
28835
+ var N = j.date, O = j.utc, A = j.args;
28822
28836
  this.$u = O;
28823
28837
  var Q = A[1];
28824
28838
  if (typeof Q == "string") {
@@ -28846,7 +28860,7 @@ var po = {}, Xz = {
28846
28860
  $e === ge && (this.$d = /* @__PURE__ */ new Date(""));
28847
28861
  }
28848
28862
  else
28849
- B.call(this, G);
28863
+ B.call(this, j);
28850
28864
  };
28851
28865
  };
28852
28866
  });
@@ -28886,9 +28900,9 @@ var mo = {}, t$ = {
28886
28900
  t.exports = r();
28887
28901
  })(ue, function() {
28888
28902
  var n, r, o = 1e3, a = 6e4, s = 36e5, l = 864e5, c = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, d = 31536e6, p = 2592e6, h = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, f = { years: d, months: p, days: l, hours: s, minutes: a, seconds: o, milliseconds: 1, weeks: 6048e5 }, m = function(N) {
28889
- return N instanceof G;
28903
+ return N instanceof j;
28890
28904
  }, v = function(N, O, A) {
28891
- return new G(N, A, O.$l);
28905
+ return new j(N, A, O.$l);
28892
28906
  }, x = function(N) {
28893
28907
  return r.p(N) + "s";
28894
28908
  }, T = function(N) {
@@ -28899,7 +28913,7 @@ var mo = {}, t$ = {
28899
28913
  return Math.abs(N);
28900
28914
  }, B = function(N, O) {
28901
28915
  return N ? T(N) ? { negative: !0, format: "" + L(N) + O } : { negative: !1, format: "" + N + O } : { negative: !1, format: "" };
28902
- }, G = function() {
28916
+ }, j = function() {
28903
28917
  function N(A, Q, re) {
28904
28918
  var te = this;
28905
28919
  if (this.$d = {}, this.$l = re, A === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), Q)
@@ -29252,9 +29266,9 @@ var To = {}, C$ = {
29252
29266
  });
29253
29267
  if (!x)
29254
29268
  return B;
29255
- var G = T.weekStart;
29269
+ var j = T.weekStart;
29256
29270
  return B.map(function(N, O) {
29257
- return B[(O + (G || 0)) % 7];
29271
+ return B[(O + (j || 0)) % 7];
29258
29272
  });
29259
29273
  }, c = function() {
29260
29274
  return o.Ls[o.locale()];
@@ -29403,8 +29417,8 @@ var Mo = {}, M$ = {
29403
29417
  var te, ie;
29404
29418
  T[te = re, ie = a.$utils().p(te), ie === "date" ? "day" : ie] = v[re];
29405
29419
  });
29406
- var L = T.day || (T.year || T.month >= 0 ? 1 : I.date()), B = T.year || I.year(), G = T.month >= 0 ? T.month : T.year || T.day ? 0 : I.month(), N = T.hour || 0, O = T.minute || 0, A = T.second || 0, Q = T.millisecond || 0;
29407
- return x ? new Date(Date.UTC(B, G, L, N, O, A, Q)) : new Date(B, G, L, N, O, A, Q);
29420
+ var L = T.day || (T.year || T.month >= 0 ? 1 : I.date()), B = T.year || I.year(), j = T.month >= 0 ? T.month : T.year || T.day ? 0 : I.month(), N = T.hour || 0, O = T.minute || 0, A = T.second || 0, Q = T.millisecond || 0;
29421
+ return x ? new Date(Date.UTC(B, j, L, N, O, A, Q)) : new Date(B, j, L, N, O, A, Q);
29408
29422
  }
29409
29423
  return v;
29410
29424
  }, l = a.parse;
@@ -29543,12 +29557,12 @@ var Ao = {}, F$ = {
29543
29557
  return a.fromToBase(d, p, h, f);
29544
29558
  }
29545
29559
  o.en.relativeTime = s, a.fromToBase = function(d, p, h, f, m) {
29546
- for (var v, x, T, I = h.$locale().relativeTime || s, L = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], B = L.length, G = 0; G < B; G += 1) {
29547
- var N = L[G];
29560
+ for (var v, x, T, I = h.$locale().relativeTime || s, L = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], B = L.length, j = 0; j < B; j += 1) {
29561
+ var N = L[j];
29548
29562
  N.d && (v = f ? o(d).diff(h, N.d, !0) : h.diff(d, N.d, !0));
29549
29563
  var O = (n.rounding || Math.round)(Math.abs(v));
29550
29564
  if (T = v > 0, O <= N.r || !N.r) {
29551
- O <= 1 && G > 0 && (N = L[G - 1]);
29565
+ O <= 1 && j > 0 && (N = L[j - 1]);
29552
29566
  var A = I[N.l];
29553
29567
  m && (O = m("" + O)), x = typeof A == "string" ? A.replace("%d", O) : A(O, p, N.l, T);
29554
29568
  break;
@@ -29593,14 +29607,14 @@ var Eo = {}, V$ = {
29593
29607
  v === void 0 && (v = {});
29594
29608
  var x = new Date(f), T = function(I, L) {
29595
29609
  L === void 0 && (L = {});
29596
- var B = L.timeZoneName || "short", G = I + "|" + B, N = r[G];
29597
- return N || (N = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: I, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: B }), r[G] = N), N;
29610
+ var B = L.timeZoneName || "short", j = I + "|" + B, N = r[j];
29611
+ return N || (N = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: I, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: B }), r[j] = N), N;
29598
29612
  }(m, v);
29599
29613
  return T.formatToParts(x);
29600
29614
  }, d = function(f, m) {
29601
29615
  for (var v = c(f, m), x = [], T = 0; T < v.length; T += 1) {
29602
- var I = v[T], L = I.type, B = I.value, G = n[L];
29603
- G >= 0 && (x[G] = parseInt(B, 10));
29616
+ var I = v[T], L = I.type, B = I.value, j = n[L];
29617
+ j >= 0 && (x[j] = parseInt(B, 10));
29604
29618
  }
29605
29619
  var N = x[3], O = N === 24 ? 0 : N, A = x[0] + "-" + x[1] + "-" + x[2] + " " + O + ":" + x[4] + ":" + x[5] + ":000", Q = +f;
29606
29620
  return (s.utc(A).valueOf() - (Q -= Q % 1e3)) / 6e4;
@@ -29635,7 +29649,7 @@ var Eo = {}, V$ = {
29635
29649
  return [re, A];
29636
29650
  var ie = d(re -= 60 * (te - A) * 1e3, Q);
29637
29651
  return te === ie ? [re, te] : [O - 60 * Math.min(te, ie) * 1e3, Math.max(te, ie)];
29638
- }(s.utc(f, x).valueOf(), I, T), B = L[0], G = L[1], N = s(B).utcOffset(G);
29652
+ }(s.utc(f, x).valueOf(), I, T), B = L[0], j = L[1], N = s(B).utcOffset(j);
29639
29653
  return N.$x.$timezone = T, N;
29640
29654
  }, s.tz.guess = function() {
29641
29655
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
@@ -29764,8 +29778,8 @@ var Po = {}, H$ = {
29764
29778
  if (T)
29765
29779
  return B.$offset = L, B.$u = x === 0, B;
29766
29780
  if (x !== 0) {
29767
- var G = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
29768
- (B = this.local().add(L + G, n)).$offset = L, B.$x.$localOffset = G;
29781
+ var j = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
29782
+ (B = this.local().add(L + j, n)).$offset = L, B.$x.$localOffset = j;
29769
29783
  } else
29770
29784
  B = this.utc();
29771
29785
  return B;