@devtable/dashboard 10.37.0 → 10.37.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.
@@ -949,15 +949,19 @@ async function ym({
949
949
  configString: n,
950
950
  name: r
951
951
  }, o) {
952
- return await Jt.query(o)({
953
- type: e,
954
- key: t,
955
- query: n
956
- }, {
957
- params: {
958
- name: r
959
- }
960
- });
952
+ try {
953
+ return await Jt.query(o)({
954
+ type: e,
955
+ key: t,
956
+ query: n
957
+ }, {
958
+ params: {
959
+ name: r
960
+ }
961
+ });
962
+ } catch (a) {
963
+ return a.message;
964
+ }
961
965
  }
962
966
  async function ma() {
963
967
  try {
@@ -1218,7 +1222,7 @@ class fa {
1218
1222
  }), this.instanceRegistry.clear(), this.factoryRegistry.clear();
1219
1223
  }
1220
1224
  }
1221
- const wc = "10.37.0", zm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1225
+ const wc = "10.37.2", zm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1222
1226
  __proto__: null,
1223
1227
  version: wc
1224
1228
  }, Symbol.toStringTag, { value: "Module" }));
@@ -7012,7 +7016,7 @@ function ny({
7012
7016
  top: 15,
7013
7017
  right: 5
7014
7018
  }, children: /* @__PURE__ */ i(ye, { size: 16 }) })
7015
- ] }, t);
7019
+ ] });
7016
7020
  }
7017
7021
  function ry({
7018
7022
  control: e,
@@ -8606,7 +8610,7 @@ function px({
8606
8610
  top: 15,
8607
8611
  right: 5
8608
8612
  }, children: "Delete this Reference Area" })
8609
- ] }, t);
8613
+ ] });
8610
8614
  }
8611
8615
  function mx({
8612
8616
  control: e,
@@ -8646,10 +8650,10 @@ function mx({
8646
8650
  }
8647
8651
  }, children: [
8648
8652
  /* @__PURE__ */ u(g.List, { children: [
8649
- l.map((p, h) => /* @__PURE__ */ i(g.Tab, { value: h.toString(), children: h + 1 }, h)),
8653
+ l.map((p, h) => /* @__PURE__ */ i(g.Tab, { value: h.toString(), children: h + 1 }, p.id)),
8650
8654
  /* @__PURE__ */ i(g.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ i(qe, { size: 18, color: "#228be6" }) })
8651
8655
  ] }),
8652
- l.map((p, h) => /* @__PURE__ */ i(g.Panel, { value: h.toString(), children: /* @__PURE__ */ i(px, { control: e, index: h, remove: a, variableOptions: d }) }, h))
8656
+ l.map((p, h) => /* @__PURE__ */ i(g.Panel, { value: h.toString(), children: /* @__PURE__ */ i(px, { control: e, index: h, remove: a, variableOptions: d }) }, p.id))
8653
8657
  ] });
8654
8658
  }
8655
8659
  const fx = [{
@@ -8773,7 +8777,7 @@ function bx({
8773
8777
  top: 15,
8774
8778
  right: 5
8775
8779
  }, children: "Delete this Reference Line" })
8776
- ] }, t);
8780
+ ] });
8777
8781
  }
8778
8782
  function yx({
8779
8783
  control: e,
@@ -8823,10 +8827,10 @@ function yx({
8823
8827
  }
8824
8828
  }, children: [
8825
8829
  /* @__PURE__ */ u(g.List, { children: [
8826
- l.map((m, f) => /* @__PURE__ */ i(g.Tab, { value: f.toString(), children: f + 1 }, f)),
8830
+ l.map((m, f) => /* @__PURE__ */ i(g.Tab, { value: f.toString(), children: f + 1 }, m.id)),
8827
8831
  /* @__PURE__ */ i(g.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ i(qe, { size: 18, color: "#228be6" }) })
8828
8832
  ] }),
8829
- l.map((m, f) => /* @__PURE__ */ i(g.Panel, { value: f.toString(), children: /* @__PURE__ */ i(bx, { control: e, index: f, remove: a, watch: t, variableOptions: d, yAxisOptions: h }) }, f))
8833
+ l.map((m, f) => /* @__PURE__ */ i(g.Panel, { value: f.toString(), children: /* @__PURE__ */ i(bx, { control: e, index: f, remove: a, watch: t, variableOptions: d, yAxisOptions: h }) }, m.id))
8830
8834
  ] });
8831
8835
  }
8832
8836
  const xx = [{
@@ -8959,7 +8963,7 @@ function wx({
8959
8963
  top: 15,
8960
8964
  right: 5
8961
8965
  }, children: "Delete this Regression Line" })
8962
- ] }, n);
8966
+ ] });
8963
8967
  }
8964
8968
  function _x({
8965
8969
  control: e,
@@ -9013,10 +9017,10 @@ function _x({
9013
9017
  }
9014
9018
  }, children: [
9015
9019
  /* @__PURE__ */ u(g.List, { children: [
9016
- s.map((p, h) => /* @__PURE__ */ i(g.Tab, { value: h.toString(), children: h + 1 }, h)),
9020
+ s.map((p, h) => /* @__PURE__ */ i(g.Tab, { value: h.toString(), children: h + 1 }, p.id)),
9017
9021
  /* @__PURE__ */ i(g.Tab, { onClick: d, value: "add", children: /* @__PURE__ */ i(qe, { size: 18, color: "#228be6" }) })
9018
9022
  ] }),
9019
- s.map((p, h) => /* @__PURE__ */ i(g.Panel, { value: h.toString(), children: /* @__PURE__ */ i(wx, { regressionItem: p, control: e, index: h, remove: o, yAxisOptions: c }, h) }, h))
9023
+ s.map((p, h) => /* @__PURE__ */ i(g.Panel, { value: h.toString(), children: /* @__PURE__ */ i(wx, { regressionItem: p, control: e, index: h, remove: o, yAxisOptions: c }) }, p.id))
9020
9024
  ] });
9021
9025
  }
9022
9026
  const Ea = {
@@ -9408,7 +9412,7 @@ function Rx({
9408
9412
  top: 15,
9409
9413
  right: 5
9410
9414
  }, children: "Delete this Series" })
9411
- ] }, t);
9415
+ ] });
9412
9416
  }
9413
9417
  function Ox({
9414
9418
  control: e,
@@ -9673,10 +9677,10 @@ function jx({
9673
9677
  }
9674
9678
  }, children: [
9675
9679
  /* @__PURE__ */ u(g.List, { children: [
9676
- s.map((c, d) => /* @__PURE__ */ i(g.Tab, { value: d.toString(), children: d + 1 }, d)),
9680
+ s.map((c, d) => /* @__PURE__ */ i(g.Tab, { value: d.toString(), children: d + 1 }, c.id)),
9677
9681
  /* @__PURE__ */ i(g.Tab, { onClick: l, value: "add", children: /* @__PURE__ */ i(qe, { size: 18, color: "#228be6" }) })
9678
9682
  ] }),
9679
- s.map((c, d) => /* @__PURE__ */ i(g.Panel, { value: d.toString(), children: /* @__PURE__ */ i(Wx, { control: e, index: d, remove: o }) }, d))
9683
+ s.map((c, d) => /* @__PURE__ */ i(g.Panel, { value: d.toString(), children: /* @__PURE__ */ i(Wx, { control: e, index: d, remove: o }) }, c.id))
9680
9684
  ] });
9681
9685
  }
9682
9686
  function Gx({
@@ -12927,8 +12931,7 @@ function pw(e, t) {
12927
12931
  }).flat();
12928
12932
  }
12929
12933
  function mw(e, t) {
12930
- const n = [...hw(e, t), ...pw(e, t)];
12931
- return console.log(n), n;
12934
+ return [...hw(e, t), ...pw(e, t)];
12932
12935
  }
12933
12936
  function fw(e) {
12934
12937
  return ({
@@ -13099,7 +13102,7 @@ function ww({
13099
13102
  flex: 1
13100
13103
  }, ...r }) }) }),
13101
13104
  /* @__PURE__ */ i(I, { mt: 20, leftIcon: /* @__PURE__ */ i(ye, { size: 16 }), color: "red", variant: "light", onClick: () => n(t), children: "Delete" })
13102
- ] }, t);
13105
+ ] });
13103
13106
  }
13104
13107
  function _w({
13105
13108
  control: e,
@@ -13149,7 +13152,7 @@ function _w({
13149
13152
  s.map((m, f) => /* @__PURE__ */ i(g.Tab, { value: m.id, children: f + 1 }, m.id)),
13150
13153
  /* @__PURE__ */ i(g.Tab, { onClick: l, value: "add", children: /* @__PURE__ */ i(Wt, { size: 18, color: "#228be6" }) })
13151
13154
  ] }),
13152
- s.map((m, f) => /* @__PURE__ */ i(g.Panel, { value: m.id, children: /* @__PURE__ */ i(ww, { control: e, index: f, remove: h }) }, f))
13155
+ s.map((m, f) => /* @__PURE__ */ i(g.Panel, { value: m.id, children: /* @__PURE__ */ i(ww, { control: e, index: f, remove: h }) }, m.id))
13153
13156
  ] })
13154
13157
  ] });
13155
13158
  }
@@ -13195,7 +13198,7 @@ function Cw({
13195
13198
  }) => /* @__PURE__ */ i(vt, { ...r }) })
13196
13199
  ] }),
13197
13200
  /* @__PURE__ */ i(I, { mt: 20, leftIcon: /* @__PURE__ */ i(ye, { size: 16 }), color: "red", variant: "light", onClick: () => n(t), disabled: t === 0, children: "Delete this Metric" })
13198
- ] }, t);
13201
+ ] });
13199
13202
  }
13200
13203
  function Sw({
13201
13204
  control: e,
@@ -13239,10 +13242,10 @@ function Sw({
13239
13242
  }
13240
13243
  }, children: [
13241
13244
  /* @__PURE__ */ u(g.List, { children: [
13242
- s.map((m, f) => /* @__PURE__ */ i(g.Tab, { value: m.id, children: m.name ? m.name : f + 1 }, f)),
13245
+ s.map((m, f) => /* @__PURE__ */ i(g.Tab, { value: m.id, children: m.name ? m.name : f + 1 }, m.id)),
13243
13246
  /* @__PURE__ */ i(g.Tab, { onClick: l, value: "add", children: /* @__PURE__ */ i(Wt, { size: 18, color: "#228be6" }) })
13244
13247
  ] }),
13245
- s.map((m, f) => /* @__PURE__ */ i(g.Panel, { value: m.id, children: /* @__PURE__ */ i(Cw, { control: e, index: f, remove: h }) }, f))
13248
+ s.map((m, f) => /* @__PURE__ */ i(g.Panel, { value: m.id, children: /* @__PURE__ */ i(Cw, { control: e, index: f, remove: h }) }, m.id))
13246
13249
  ] }) });
13247
13250
  }
13248
13251
  function kw({
@@ -15174,7 +15177,7 @@ function N_({
15174
15177
  }
15175
15178
  }, children: [
15176
15179
  /* @__PURE__ */ u(g.List, { children: [
15177
- l.map((m, f) => /* @__PURE__ */ i(g.Tab, { value: f.toString(), children: f + 1 }, f)),
15180
+ l.map((m, f) => /* @__PURE__ */ i(g.Tab, { value: f.toString(), children: f + 1 }, m.id)),
15178
15181
  /* @__PURE__ */ i(g.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ i(qe, { size: 18, color: "#228be6" }) })
15179
15182
  ] }),
15180
15183
  l.map((m, f) => /* @__PURE__ */ i(g.Panel, { value: f.toString(), children: /* @__PURE__ */ i(y, { name: `reference_areas.${f}`, control: e, render: ({
@@ -15183,7 +15186,7 @@ function N_({
15183
15186
  /* @__PURE__ */ i(P_, { variableOptions: d, yAxisOptions: h, ...w }),
15184
15187
  /* @__PURE__ */ i(A, { mb: -10, mt: 10, variant: "dashed" }),
15185
15188
  /* @__PURE__ */ i(I, { leftIcon: /* @__PURE__ */ i(mn, { size: 16 }), color: "red", variant: "light", onClick: () => a(f), children: "Delete this Reference Area" })
15186
- ] }) }) }, f))
15189
+ ] }) }) }, m.id))
15187
15190
  ] });
15188
15191
  }
15189
15192
  const B_ = [{
@@ -15303,7 +15306,7 @@ function W_({
15303
15306
  top: 15,
15304
15307
  right: 5
15305
15308
  }, children: "Delete this Reference Line" })
15306
- ] }, t);
15309
+ ] });
15307
15310
  }
15308
15311
  function j_({
15309
15312
  control: e,
@@ -15354,10 +15357,10 @@ function j_({
15354
15357
  }
15355
15358
  }, children: [
15356
15359
  /* @__PURE__ */ u(g.List, { children: [
15357
- l.map((m, f) => /* @__PURE__ */ i(g.Tab, { value: f.toString(), children: f + 1 }, f)),
15360
+ l.map((m, f) => /* @__PURE__ */ i(g.Tab, { value: f.toString(), children: f + 1 }, m.id)),
15358
15361
  /* @__PURE__ */ i(g.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ i(qe, { size: 18, color: "#228be6" }) })
15359
15362
  ] }),
15360
- l.map((m, f) => /* @__PURE__ */ i(g.Panel, { value: f.toString(), children: /* @__PURE__ */ i(W_, { control: e, index: f, remove: a, watch: t, variableOptions: d, yAxisOptions: h }) }, f))
15363
+ l.map((m, f) => /* @__PURE__ */ i(g.Panel, { value: f.toString(), children: /* @__PURE__ */ i(W_, { control: e, index: f, remove: a, watch: t, variableOptions: d, yAxisOptions: h }) }, m.id))
15361
15364
  ] });
15362
15365
  }
15363
15366
  const G_ = ({
@@ -15981,10 +15984,10 @@ function bC({
15981
15984
  }
15982
15985
  }, children: [
15983
15986
  /* @__PURE__ */ u(g.List, { children: [
15984
- s.map((c, d) => /* @__PURE__ */ i(g.Tab, { value: d.toString(), children: d + 1 }, d)),
15987
+ s.map((c, d) => /* @__PURE__ */ i(g.Tab, { value: d.toString(), children: d + 1 }, c.id)),
15985
15988
  /* @__PURE__ */ i(g.Tab, { onClick: l, value: "add", children: /* @__PURE__ */ i(qe, { size: 18, color: "#228be6" }) })
15986
15989
  ] }),
15987
- s.map((c, d) => /* @__PURE__ */ i(g.Panel, { value: d.toString(), children: /* @__PURE__ */ i(gC, { control: e, index: d, remove: o }) }, d))
15990
+ s.map((c, d) => /* @__PURE__ */ i(g.Panel, { value: d.toString(), children: /* @__PURE__ */ i(gC, { control: e, index: d, remove: o }) }, c.id))
15988
15991
  ] });
15989
15992
  }
15990
15993
  function yC(e) {
@@ -17766,7 +17769,7 @@ const W1 = ve((e, t) => {
17766
17769
  n.map((c, d) => /* @__PURE__ */ i(g.Tab, { value: d.toString(), children: d + 1 }, c.id)),
17767
17770
  /* @__PURE__ */ i(g.Tab, { onClick: s, value: "add", children: /* @__PURE__ */ i(qe, { size: 18, color: "#228be6" }) })
17768
17771
  ] }),
17769
- n.map((c, d) => /* @__PURE__ */ i(g.Panel, { value: d.toString(), children: /* @__PURE__ */ i(U1, { control: e, watch: t, index: d, column: c, remove: o }, d) }, c.id))
17772
+ n.map((c, d) => /* @__PURE__ */ i(g.Panel, { value: d.toString(), children: /* @__PURE__ */ i(U1, { control: e, watch: t, index: d, column: c, remove: o }) }, c.id))
17770
17773
  ] }) })
17771
17774
  ] });
17772
17775
  };
@@ -19522,7 +19525,7 @@ function yk({
19522
19525
  top: 15,
19523
19526
  right: 5
19524
19527
  }, children: "Delete this Reference Line" })
19525
- ] }, t);
19528
+ ] });
19526
19529
  }
19527
19530
  function xk({
19528
19531
  control: e,
@@ -19561,10 +19564,10 @@ function xk({
19561
19564
  }
19562
19565
  }, children: [
19563
19566
  /* @__PURE__ */ u(g.List, { children: [
19564
- l.map((f, w) => /* @__PURE__ */ i(g.Tab, { value: f.id, children: f.name }, w)),
19567
+ l.map((f, w) => /* @__PURE__ */ i(g.Tab, { value: f.id, children: f.name }, f.id)),
19565
19568
  /* @__PURE__ */ i(g.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ i(qe, { size: 18, color: "#228be6" }) })
19566
19569
  ] }),
19567
- l.map((f, w) => /* @__PURE__ */ i(g.Panel, { value: f.id, children: /* @__PURE__ */ i(yk, { control: e, index: w, remove: a, watch: t, variableOptions: d, xAxisOptions: h }) }, w))
19570
+ l.map((f, w) => /* @__PURE__ */ i(g.Panel, { value: f.id, children: /* @__PURE__ */ i(yk, { control: e, index: w, remove: a, watch: t, variableOptions: d, xAxisOptions: h }) }, f.id))
19568
19571
  ] });
19569
19572
  }
19570
19573
  function vk(e) {
@@ -19741,7 +19744,7 @@ function Sk({
19741
19744
  top: 15,
19742
19745
  right: 5
19743
19746
  }, children: "Delete this Series" })
19744
- ] }, t);
19747
+ ] });
19745
19748
  }
19746
19749
  function kk({
19747
19750
  control: e,
@@ -21129,7 +21132,7 @@ function bT({
21129
21132
  top: 15,
21130
21133
  right: 5
21131
21134
  }, disabled: t === 0, children: /* @__PURE__ */ i(ye, { size: 16 }) })
21132
- ] }, t);
21135
+ ] });
21133
21136
  }
21134
21137
  const yT = ({
21135
21138
  control: e,
@@ -21172,10 +21175,10 @@ const yT = ({
21172
21175
  }
21173
21176
  }, children: [
21174
21177
  /* @__PURE__ */ u(g.List, { children: [
21175
- l.map((w, v) => /* @__PURE__ */ i(g.Tab, { value: w.id, children: w.names.value ? w.names.value : v + 1 }, v)),
21178
+ l.map((w, v) => /* @__PURE__ */ i(g.Tab, { value: w.id, children: w.names.value ? w.names.value : v + 1 }, w.id)),
21176
21179
  /* @__PURE__ */ i(g.Tab, { onClick: c, value: "add", children: /* @__PURE__ */ i(Wt, { size: 18, color: "#228be6" }) })
21177
21180
  ] }),
21178
- l.map((w, v) => /* @__PURE__ */ i(g.Panel, { value: w.id, children: /* @__PURE__ */ i(bT, { control: e, index: v, remove: f, variableOptions: d, watch: t }) }, v))
21181
+ l.map((w, v) => /* @__PURE__ */ i(g.Panel, { value: w.id, children: /* @__PURE__ */ i(bT, { control: e, index: v, remove: f, variableOptions: d, watch: t }) }, w.id))
21179
21182
  ] })
21180
21183
  ] });
21181
21184
  }, xT = [