@devtable/dashboard 10.62.0 → 10.62.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.
@@ -1099,12 +1099,14 @@ function Z(e, {
1099
1099
  ...n
1100
1100
  }) {
1101
1101
  if (e === null)
1102
- return "";
1102
+ return String(e);
1103
1103
  try {
1104
1104
  let s = si(e).value();
1105
+ if (s === void 0)
1106
+ throw new Error(`[formatNumber]Not a number: ${e}`);
1105
1107
  return t && (s = Math.abs(s)), si(s).format(n);
1106
1108
  } catch (s) {
1107
- return console.error(s), "";
1109
+ return console.debug(s), String(e);
1108
1110
  }
1109
1111
  }
1110
1112
  function om(e) {
@@ -1713,7 +1715,7 @@ class Ei {
1713
1715
  }), this.instanceRegistry.clear(), this.factoryRegistry.clear();
1714
1716
  }
1715
1717
  }
1716
- const sc = "10.62.0", Rm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1718
+ const sc = "10.62.2", Rm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1717
1719
  __proto__: null,
1718
1720
  version: sc
1719
1721
  }, Symbol.toStringTag, { value: "Module" }));
@@ -3502,7 +3504,9 @@ function ng(e, t) {
3502
3504
  tooltip: ci
3503
3505
  }
3504
3506
  }, {
3505
- name: "Placeholder Outlier",
3507
+ // Placeholder Outlier
3508
+ // using same name to be toggled from legend
3509
+ name: "Outlier",
3506
3510
  type: "scatter",
3507
3511
  symbolSize: 7,
3508
3512
  itemStyle: {
@@ -3534,18 +3538,12 @@ const rg = (e, t) => {
3534
3538
  </tbody>
3535
3539
  </table>
3536
3540
  `;
3537
- }, sg = (e) => {
3538
- try {
3539
- return Z(e, {
3540
- output: "number",
3541
- trimMantissa: !0,
3542
- mantissa: 2,
3543
- absolute: !1
3544
- });
3545
- } catch {
3546
- return e;
3547
- }
3548
- };
3541
+ }, sg = (e) => Z(e, {
3542
+ output: "number",
3543
+ trimMantissa: !0,
3544
+ mantissa: 2,
3545
+ absolute: !1
3546
+ });
3549
3547
  function _c(e, t) {
3550
3548
  return e.tooltip.metrics.map((n) => {
3551
3549
  const s = $(n.data_key);
@@ -11149,18 +11147,12 @@ function Ov(e, t, n) {
11149
11147
  }
11150
11148
  };
11151
11149
  }
11152
- const $v = (e) => {
11153
- try {
11154
- return Z(e, {
11155
- output: "number",
11156
- trimMantissa: !0,
11157
- mantissa: 2,
11158
- absolute: !1
11159
- });
11160
- } catch {
11161
- return e;
11162
- }
11163
- };
11150
+ const $v = (e) => Z(e, {
11151
+ output: "number",
11152
+ trimMantissa: !0,
11153
+ mantissa: 2,
11154
+ absolute: !1
11155
+ });
11164
11156
  function Pv({
11165
11157
  conf: e,
11166
11158
  labelFormatters: t,
@@ -15139,18 +15131,12 @@ function k_(e, t) {
15139
15131
  } = i;
15140
15132
  return Ea(o, a, t);
15141
15133
  }
15142
- const T_ = (e) => {
15143
- try {
15144
- return Z(e, {
15145
- output: "number",
15146
- trimMantissa: !0,
15147
- mantissa: 2,
15148
- absolute: !1
15149
- });
15150
- } catch {
15151
- return e;
15152
- }
15153
- };
15134
+ const T_ = (e) => Z(e, {
15135
+ output: "number",
15136
+ trimMantissa: !0,
15137
+ mantissa: 2,
15138
+ absolute: !1
15139
+ });
15154
15140
  function D_(e, t) {
15155
15141
  const {
15156
15142
  scatter: n,
@@ -18809,18 +18795,12 @@ function w1(e, t, n, s) {
18809
18795
  data: d.map((u) => [w.get(u, a.columnKey), w.get(u, l.columnKey)])
18810
18796
  }));
18811
18797
  }
18812
- const _1 = (e) => {
18813
- try {
18814
- return Z(e, {
18815
- output: "number",
18816
- trimMantissa: !0,
18817
- mantissa: 2,
18818
- absolute: !1
18819
- });
18820
- } catch {
18821
- return e;
18822
- }
18823
- };
18798
+ const _1 = (e) => Z(e, {
18799
+ output: "number",
18800
+ trimMantissa: !0,
18801
+ mantissa: 2,
18802
+ absolute: !1
18803
+ });
18824
18804
  function S1({
18825
18805
  conf: e,
18826
18806
  valueFormatters: t,
@@ -22201,18 +22181,12 @@ function VT(e, t) {
22201
22181
  }
22202
22182
  };
22203
22183
  }
22204
- const NT = (e) => {
22205
- try {
22206
- return Z(e, {
22207
- output: "number",
22208
- trimMantissa: !0,
22209
- mantissa: 2,
22210
- absolute: !1
22211
- });
22212
- } catch {
22213
- return e;
22214
- }
22215
- };
22184
+ const NT = (e) => Z(e, {
22185
+ output: "number",
22186
+ trimMantissa: !0,
22187
+ mantissa: 2,
22188
+ absolute: !1
22189
+ });
22216
22190
  function BT({
22217
22191
  conf: e,
22218
22192
  labelFormatters: t,