@devtable/dashboard 12.9.0 → 12.10.0

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.
@@ -12,7 +12,7 @@ import * as xh from "crypto-js";
12
12
  import gh from "crypto-js";
13
13
  import * as fh from "d3-array";
14
14
  import { quantile as qr } from "d3-array";
15
- import P from "dayjs";
15
+ import $ from "dayjs";
16
16
  import S, { cloneDeepWith as ol, unset as bh, get as ne, isObject as ll, set as vi, omit as jn, isFunction as yh, orderBy as _h, last as cl, defaults as Ce, minBy as vh, maxBy as jh, cloneDeep as Ne, values as dl, template as ji, throttle as wh, range as Sh, isEqual as ge, defaultsDeep as we, keyBy as kh, isEmpty as ul, isNumber as Ch, findLastIndex as zh, isString as hl, pick as pl } from "lodash";
17
17
  import * as qn from "mathjs";
18
18
  import Yr from "numbro";
@@ -154,7 +154,7 @@ function ex() {
154
154
  return typeof R == "function" ? R : null;
155
155
  }
156
156
  var E = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
157
- function $(v) {
157
+ function P(v) {
158
158
  {
159
159
  for (var R = arguments.length, q = new Array(R > 1 ? R - 1 : 0), U = 1; U < R; U++)
160
160
  q[U - 1] = arguments[U];
@@ -193,7 +193,7 @@ function ex() {
193
193
  function Ft(v) {
194
194
  if (v == null)
195
195
  return null;
196
- if (typeof v.tag == "number" && $("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof v == "function")
196
+ if (typeof v.tag == "number" && P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof v == "function")
197
197
  return v.displayName || v.name || null;
198
198
  if (typeof v == "string")
199
199
  return v;
@@ -294,7 +294,7 @@ function ex() {
294
294
  })
295
295
  });
296
296
  }
297
- tr < 0 && $("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
297
+ tr < 0 && P("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
298
298
  }
299
299
  }
300
300
  var Ls = E.ReactCurrentDispatcher, As;
@@ -446,7 +446,7 @@ function ex() {
446
446
  } catch (ze) {
447
447
  te = ze;
448
448
  }
449
- te && !(te instanceof Error) && (Er(de), $("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", U || "React class", q, oe, typeof te), Er(null)), te instanceof Error && !(te.message in Pa) && (Pa[te.message] = !0, Er(de), $("Failed %s type: %s", q, te.message), Er(null));
449
+ te && !(te instanceof Error) && (Er(de), P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", U || "React class", q, oe, typeof te), Er(null)), te instanceof Error && !(te.message in Pa) && (Pa[te.message] = !0, Er(de), P("Failed %s type: %s", q, te.message), Er(null));
450
450
  }
451
451
  }
452
452
  }
@@ -472,7 +472,7 @@ function ex() {
472
472
  }
473
473
  function Va(v) {
474
474
  if (Ru(v))
475
- return $("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Eu(v)), Oa(v);
475
+ return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Eu(v)), Oa(v);
476
476
  }
477
477
  var nr = E.ReactCurrentOwner, $u = {
478
478
  key: !0,
@@ -500,13 +500,13 @@ function ex() {
500
500
  function Ou(v, R) {
501
501
  if (typeof v.ref == "string" && nr.current && R && nr.current.stateNode !== R) {
502
502
  var q = Ft(nr.current.type);
503
- $s[q] || ($('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', Ft(nr.current.type), v.ref), $s[q] = !0);
503
+ $s[q] || (P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', Ft(nr.current.type), v.ref), $s[q] = !0);
504
504
  }
505
505
  }
506
506
  function Vu(v, R) {
507
507
  {
508
508
  var q = function() {
509
- qa || (qa = !0, $("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", R));
509
+ qa || (qa = !0, P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", R));
510
510
  };
511
511
  q.isReactWarning = !0, Object.defineProperty(v, "key", {
512
512
  get: q,
@@ -517,7 +517,7 @@ function ex() {
517
517
  function qu(v, R) {
518
518
  {
519
519
  var q = function() {
520
- Na || (Na = !0, $("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", R));
520
+ Na || (Na = !0, P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", R));
521
521
  };
522
522
  q.isReactWarning = !0, Object.defineProperty(v, "ref", {
523
523
  get: q,
@@ -631,7 +631,7 @@ Check the top-level render call using <` + q + ">.");
631
631
  return;
632
632
  Ga[q] = !0;
633
633
  var U = "";
634
- v && v._owner && v._owner !== Ps.current && (U = " It was passed a child from " + Ft(v._owner.type) + "."), An(v), $('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', q, U), An(null);
634
+ v && v._owner && v._owner !== Ps.current && (U = " It was passed a child from " + Ft(v._owner.type) + "."), An(v), P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', q, U), An(null);
635
635
  }
636
636
  }
637
637
  function Ha(v, R) {
@@ -673,9 +673,9 @@ Check the top-level render call using <` + q + ">.");
673
673
  } else if (R.PropTypes !== void 0 && !Fs) {
674
674
  Fs = !0;
675
675
  var de = Ft(R);
676
- $("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", de || "Unknown");
676
+ P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", de || "Unknown");
677
677
  }
678
- typeof R.getDefaultProps == "function" && !R.getDefaultProps.isReactClassApproved && $("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
678
+ typeof R.getDefaultProps == "function" && !R.getDefaultProps.isReactClassApproved && P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
679
679
  }
680
680
  }
681
681
  function Hu(v) {
@@ -683,11 +683,11 @@ Check the top-level render call using <` + q + ">.");
683
683
  for (var R = Object.keys(v.props), q = 0; q < R.length; q++) {
684
684
  var U = R[q];
685
685
  if (U !== "children" && U !== "key") {
686
- An(v), $("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", U), An(null);
686
+ An(v), P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", U), An(null);
687
687
  break;
688
688
  }
689
689
  }
690
- v.ref !== null && (An(v), $("Invalid attribute `ref` supplied to `React.Fragment`."), An(null));
690
+ v.ref !== null && (An(v), P("Invalid attribute `ref` supplied to `React.Fragment`."), An(null));
691
691
  }
692
692
  }
693
693
  function Ua(v, R, q, U, de, be) {
@@ -699,7 +699,7 @@ Check the top-level render call using <` + q + ">.");
699
699
  var Xe = Wu(de);
700
700
  Xe ? te += Xe : te += Wa();
701
701
  var ze;
702
- v === null ? ze = "null" : Rs(v) ? ze = "array" : v !== void 0 && v.$$typeof === e ? (ze = "<" + (Ft(v.type) || "Unknown") + " />", te = " Did you accidentally export a JSX literal instead of a component?") : ze = typeof v, $("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ze, te);
702
+ v === null ? ze = "null" : Rs(v) ? ze = "array" : v !== void 0 && v.$$typeof === e ? (ze = "<" + (Ft(v.type) || "Unknown") + " />", te = " Did you accidentally export a JSX literal instead of a component?") : ze = typeof v, P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ze, te);
703
703
  }
704
704
  var De = Bu(v, R, q, de, be);
705
705
  if (De == null)
@@ -713,7 +713,7 @@ Check the top-level render call using <` + q + ">.");
713
713
  Ha(ht[En], v);
714
714
  Object.freeze && Object.freeze(ht);
715
715
  } else
716
- $("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
716
+ P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
717
717
  else
718
718
  Ha(ht, v);
719
719
  }
@@ -735,7 +735,7 @@ var r = ai.exports;
735
735
  const Jt = {
736
736
  CryptoJS: gh,
737
737
  d3Array: fh,
738
- dayjs: P,
738
+ dayjs: $,
739
739
  lodash: S,
740
740
  numbro: Yr,
741
741
  mathjs: qn,
@@ -1728,7 +1728,7 @@ class Ai {
1728
1728
  }), this.instanceRegistry.clear(), this.factoryRegistry.clear();
1729
1729
  }
1730
1730
  }
1731
- const rc = "12.9.0", Hx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1731
+ const rc = "12.10.0", Hx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1732
1732
  __proto__: null,
1733
1733
  version: rc
1734
1734
  }, Symbol.toStringTag, { value: "Module" }));
@@ -1925,9 +1925,9 @@ function Jx({
1925
1925
  min: j,
1926
1926
  max: T
1927
1927
  } = C(() => {
1928
- const $ = vh(h, (K) => K[b.columnKey]), W = jh(h, (K) => K[b.columnKey]);
1928
+ const P = vh(h, (K) => K[b.columnKey]), W = jh(h, (K) => K[b.columnKey]);
1929
1929
  return {
1930
- min: ne($, b.columnKey),
1930
+ min: ne(P, b.columnKey),
1931
1931
  max: ne(W, b.columnKey)
1932
1932
  };
1933
1933
  }, [h, b]), E = {
@@ -1963,7 +1963,7 @@ function Jx({
1963
1963
  wireframe: {
1964
1964
  // show: false
1965
1965
  },
1966
- data: h.map(($) => [$[p.columnKey], $[m.columnKey], $[b.columnKey]])
1966
+ data: h.map((P) => [P[p.columnKey], P[m.columnKey], P[b.columnKey]])
1967
1967
  }]
1968
1968
  };
1969
1969
  return e ? /* @__PURE__ */ r.jsx(at, { width: s, height: i, children: /* @__PURE__ */ r.jsx(et, { echarts: Je, option: E, style: Sr(s, i), notMerge: !0, theme: "merico-light" }) }) : null;
@@ -2268,11 +2268,11 @@ const zt = se(({
2268
2268
  const {
2269
2269
  enabled: T,
2270
2270
  func_content: E
2271
- } = c, $ = {
2271
+ } = c, P = {
2272
2272
  enabled: T,
2273
2273
  func_content: E
2274
2274
  };
2275
- d($), e($);
2275
+ d(P), e(P);
2276
2276
  }, p = () => {
2277
2277
  l(), d(t);
2278
2278
  }, m = (T) => {
@@ -3393,13 +3393,13 @@ function hf(t, e) {
3393
3393
  const n = [], s = [];
3394
3394
  return {
3395
3395
  boxplotData: Object.entries(t).map(([a, o]) => {
3396
- const l = o.map((E) => E[e]).sort((E, $) => E - $), c = qr(l, 0.25) ?? 0, d = qr(l, 0.5) ?? 0, u = qr(l, 0.75) ?? 0, h = u - c, p = c - 1.5 * h, m = u + 1.5 * h, b = Math.max(l[0], p), j = Math.min(S.last(l) ?? 0, m);
3396
+ const l = o.map((E) => E[e]).sort((E, P) => E - P), c = qr(l, 0.25) ?? 0, d = qr(l, 0.5) ?? 0, u = qr(l, 0.75) ?? 0, h = u - c, p = c - 1.5 * h, m = u + 1.5 * h, b = Math.max(l[0], p), j = Math.min(S.last(l) ?? 0, m);
3397
3397
  return o.filter((E) => {
3398
- const $ = E[e];
3399
- return $ < b || $ > j;
3398
+ const P = E[e];
3399
+ return P < b || P > j;
3400
3400
  }).forEach((E) => n.push([a, E[e], E])), o.filter((E) => {
3401
- const $ = E[e];
3402
- return $ >= b && $ <= j;
3401
+ const P = E[e];
3402
+ return P >= b && P <= j;
3403
3403
  }).forEach((E) => s.push([a, E[e], E])), {
3404
3404
  name: a,
3405
3405
  min: b,
@@ -3571,7 +3571,7 @@ function ff(t, e, n) {
3571
3571
  y1: b.max[1],
3572
3572
  y2: b.q3[1]
3573
3573
  }
3574
- ], $ = {
3574
+ ], P = {
3575
3575
  stroke: i,
3576
3576
  lineWidth: a
3577
3577
  };
@@ -3579,7 +3579,7 @@ function ff(t, e, n) {
3579
3579
  T.children.push({
3580
3580
  type: "line",
3581
3581
  shape: W,
3582
- style: $
3582
+ style: P
3583
3583
  });
3584
3584
  }), T.children.push({
3585
3585
  type: "rect",
@@ -4126,7 +4126,7 @@ function Pf(t) {
4126
4126
  c(a), h();
4127
4127
  }, E = () => {
4128
4128
  h(), n == null || n(l);
4129
- }, $ = re(a ?? null, {
4129
+ }, P = re(a ?? null, {
4130
4130
  output: "number",
4131
4131
  mantissa: 0,
4132
4132
  average: !0,
@@ -4135,7 +4135,7 @@ function Pf(t) {
4135
4135
  return /* @__PURE__ */ r.jsxs("div", { "data-testid": `palette-item-${i}`, className: o.paletteItem, children: [
4136
4136
  /* @__PURE__ */ r.jsx(w, { title: j, style: {
4137
4137
  opacity: m ? 1 : 0
4138
- }, color: "dimmed", size: "sm", className: "palette-value--up palette-value", children: $ }),
4138
+ }, color: "dimmed", size: "sm", className: "palette-value--up palette-value", children: P }),
4139
4139
  /* @__PURE__ */ r.jsxs(Vn, { width: 200, trapFocus: !0, opened: d, onClose: h, zIndex: 340, withinPortal: !0, children: [
4140
4140
  /* @__PURE__ */ r.jsx(Vn.Target, { children: /* @__PURE__ */ r.jsx("div", { "data-testid": "palette-item-target", className: "palette-item", onClick: u, style: {
4141
4141
  "--shadow-color": hr(s).alpha(0.5).hex(),
@@ -4153,7 +4153,7 @@ function Pf(t) {
4153
4153
  ] }),
4154
4154
  /* @__PURE__ */ r.jsx(w, { title: j, style: {
4155
4155
  opacity: b ? 1 : 0
4156
- }, color: "dimmed", size: "sm", className: "palette-value--bottom palette-value", children: $ })
4156
+ }, color: "dimmed", size: "sm", className: "palette-value--bottom palette-value", children: P })
4157
4157
  ] });
4158
4158
  }
4159
4159
  const Ff = z(({
@@ -4179,24 +4179,24 @@ const Ff = z(({
4179
4179
  } = t, o = a.getColorInterpolations(), [l, c] = B(s), d = a.decodeInterpolation(l.interpolation) || o[0], [u, {
4180
4180
  setTrue: h,
4181
4181
  setFalse: p
4182
- }] = it(), m = C(() => o.map(($) => ({
4183
- label: e($.displayName),
4184
- value: a.encodeColor($),
4185
- group: e(`style.color.interpolation.palette.category.${$.category}`)
4182
+ }] = it(), m = C(() => o.map((P) => ({
4183
+ label: e(P.displayName),
4184
+ value: a.encodeColor(P),
4185
+ group: e(`style.color.interpolation.palette.category.${P.category}`)
4186
4186
  })), [n.language]);
4187
- function b($) {
4188
- $ && c((W) => ({
4187
+ function b(P) {
4188
+ P && c((W) => ({
4189
4189
  ...W,
4190
- interpolation: $
4190
+ interpolation: P
4191
4191
  }));
4192
4192
  }
4193
4193
  const j = () => {
4194
4194
  p(), i == null || i(Yt(l));
4195
4195
  };
4196
- function T($) {
4196
+ function T(P) {
4197
4197
  c((W) => ({
4198
4198
  ...W,
4199
- steps: $
4199
+ steps: P
4200
4200
  }));
4201
4201
  }
4202
4202
  const E = () => {
@@ -5599,7 +5599,7 @@ function Nb({
5599
5599
  hide_in_legend: p,
5600
5600
  ...m
5601
5601
  }, b, j, T, E) {
5602
- const $ = e.type !== "category", W = {
5602
+ const P = e.type !== "category", W = {
5603
5603
  label: {
5604
5604
  show: !!i,
5605
5605
  position: i,
@@ -5634,7 +5634,7 @@ function Nb({
5634
5634
  aggregation_on_value: l,
5635
5635
  x_axis_data_key: t,
5636
5636
  y_axis_data_key: n,
5637
- valueTypedXAxis: $
5637
+ valueTypedXAxis: P
5638
5638
  }), W;
5639
5639
  const K = Vb({
5640
5640
  group_by_key: o,
@@ -9254,11 +9254,11 @@ function w_(t, e, n = {}) {
9254
9254
  t.doc.nodesBetween(m, b, (j, T) => {
9255
9255
  if (!j.isText && !j.marks.length)
9256
9256
  return;
9257
- const E = Math.max(m, T), $ = Math.min(b, T + j.nodeSize), W = $ - E;
9257
+ const E = Math.max(m, T), P = Math.min(b, T + j.nodeSize), W = P - E;
9258
9258
  o += W, l.push(...j.marks.map((K) => ({
9259
9259
  mark: K,
9260
9260
  from: E,
9261
- to: $
9261
+ to: P
9262
9262
  })));
9263
9263
  });
9264
9264
  }), o === 0)
@@ -9393,10 +9393,10 @@ const M_ = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: s, edit
9393
9393
  const E = l.index(-1) ? 1 : l.index(-2) ? 2 : 3;
9394
9394
  for (let ee = l.depth - E; ee >= l.depth - 3; ee -= 1)
9395
9395
  T = ue.from(l.node(ee).copy(T));
9396
- const $ = l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3, W = Qr(h, l.node().type.name, l.node().attrs), K = ((a = o.contentMatch.defaultType) === null || a === void 0 ? void 0 : a.createAndFill(W)) || void 0;
9396
+ const P = l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3, W = Qr(h, l.node().type.name, l.node().attrs), K = ((a = o.contentMatch.defaultType) === null || a === void 0 ? void 0 : a.createAndFill(W)) || void 0;
9397
9397
  T = T.append(ue.from(o.createAndFill(null, K) || void 0));
9398
9398
  const he = l.before(l.depth - (E - 1));
9399
- e.replace(he, l.after(-$), new fe(T, 4 - E, 0));
9399
+ e.replace(he, l.after(-P), new fe(T, 4 - E, 0));
9400
9400
  let Z = -1;
9401
9401
  e.doc.nodesBetween(he, e.doc.content.size, (ee, pe) => {
9402
9402
  if (Z > -1)
@@ -9415,10 +9415,10 @@ const M_ = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: s, edit
9415
9415
  if (!Gr(e.doc, l.pos, 2))
9416
9416
  return !1;
9417
9417
  if (s) {
9418
- const { selection: T, storedMarks: E } = n, { splittableMarks: $ } = i.extensionManager, W = E || T.$to.parentOffset && T.$from.marks();
9418
+ const { selection: T, storedMarks: E } = n, { splittableMarks: P } = i.extensionManager, W = E || T.$to.parentOffset && T.$from.marks();
9419
9419
  if (e.split(l.pos, 2, j).scrollIntoView(), !W || !s)
9420
9420
  return !0;
9421
- const K = W.filter((he) => $.includes(he.type.name));
9421
+ const K = W.filter((he) => P.includes(he.type.name));
9422
9422
  e.ensureMarks(K);
9423
9423
  }
9424
9424
  return !0;
@@ -9441,7 +9441,7 @@ const M_ = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: s, edit
9441
9441
  const i = t.doc.nodeAt(s);
9442
9442
  return n.node.type === (i == null ? void 0 : i.type) && Oc(t.doc, s) && t.join(s), !0;
9443
9443
  }, A_ = (t, e, n, s = {}) => ({ editor: i, tr: a, state: o, dispatch: l, chain: c, commands: d, can: u }) => {
9444
- const { extensions: h, splittableMarks: p } = i.extensionManager, m = Ke(t, o.schema), b = Ke(e, o.schema), { selection: j, storedMarks: T } = o, { $from: E, $to: $ } = j, W = E.blockRange($), K = T || j.$to.parentOffset && j.$from.marks();
9444
+ const { extensions: h, splittableMarks: p } = i.extensionManager, m = Ke(t, o.schema), b = Ke(e, o.schema), { selection: j, storedMarks: T } = o, { $from: E, $to: P } = j, W = E.blockRange(P), K = T || j.$to.parentOffset && j.$from.marks();
9445
9445
  if (!W)
9446
9446
  return !1;
9447
9447
  const he = Ji((Z) => Co(Z.type.name, h))(j);
@@ -12116,8 +12116,8 @@ function gj(t, e, n, s, i) {
12116
12116
  if (!t.x_axis.data_key || !t.y_axis.data_key || !t.heat_block.data_key)
12117
12117
  return {};
12118
12118
  const a = n.reduce((T, E) => {
12119
- const $ = Xt(E, e);
12120
- return T[E.name] = gt(E, $), T;
12119
+ const P = Xt(E, e);
12120
+ return T[E.name] = gt(E, P), T;
12121
12121
  }, {}), o = tj(t), l = nj(t), c = F(t.x_axis.data_key), d = F(t.y_axis.data_key), u = F(t.heat_block.data_key), h = S.uniq(e[c.queryID].map((T) => T[c.columnKey])), p = S.uniq(e[c.queryID].map((T) => T[d.columnKey])), m = e[c.queryID].map((T) => [S.get(T, c.columnKey), S.get(T, d.columnKey), S.get(T, u.columnKey)]), b = xj(h.length, p.length, s, i);
12122
12122
  return {
12123
12123
  xAxis: pj(t, h, o.x_axis, b),
@@ -13951,10 +13951,10 @@ function Vw({
13951
13951
  queryID: h,
13952
13952
  columnKey: p
13953
13953
  } = F(t.series_name_key), m = S.keyBy(e[h], p), b = t.additional_series.reduce((j, T) => {
13954
- const E = F(T.name_key), $ = S.keyBy(e[E.queryID], E.columnKey);
13954
+ const E = F(T.name_key), P = S.keyBy(e[E.queryID], E.columnKey);
13955
13955
  return {
13956
13956
  ...j,
13957
- ...$
13957
+ ...P
13958
13958
  };
13959
13959
  }, m);
13960
13960
  return {
@@ -18086,8 +18086,8 @@ function Y1({
18086
18086
  getCoreRowModel: Nl(),
18087
18087
  getSortedRowModel: sm()
18088
18088
  }), {
18089
- rows: $
18090
- } = E.getRowModel(), W = A.useRef(null), K = $.length, he = K > 0, Z = he ? n - 22 : n, ee = he ? 22 : 0;
18089
+ rows: P
18090
+ } = E.getRowModel(), W = A.useRef(null), K = P.length, he = K > 0, Z = he ? n - 22 : n, ee = he ? 22 : 0;
18091
18091
  return il("VizTableComponent", {
18092
18092
  queryData: t,
18093
18093
  width: e,
@@ -18099,7 +18099,7 @@ function Y1({
18099
18099
  getCellContext: m,
18100
18100
  tableColumns: b,
18101
18101
  table: E,
18102
- rows: $,
18102
+ rows: P,
18103
18103
  tableContainerRef: W
18104
18104
  }), /* @__PURE__ */ r.jsxs("div", { ref: W, style: {
18105
18105
  height: n,
@@ -18123,7 +18123,7 @@ function Y1({
18123
18123
  }, children: E.getHeaderGroups().map((pe) => /* @__PURE__ */ r.jsx("tr", { children: pe.headers.map((Qe) => /* @__PURE__ */ r.jsx("th", { style: {
18124
18124
  width: Qe.getSize()
18125
18125
  }, children: /* @__PURE__ */ r.jsx(T1, { header: Qe, cx: h }) }, Qe.id)) }, pe.id)) }),
18126
- /* @__PURE__ */ r.jsx(q1, { tableContainerRef: W, rows: $ })
18126
+ /* @__PURE__ */ r.jsx(q1, { tableContainerRef: W, rows: P })
18127
18127
  ] })
18128
18128
  ] });
18129
18129
  }
@@ -18185,8 +18185,8 @@ const tk = se((t, e) => {
18185
18185
  } = _(), {
18186
18186
  colorManager: s
18187
18187
  } = Ht(Pt), [i, a] = B(pd(t.value)), [o, l] = B(Z1(s, t.value)), c = Za(o), [d, u] = B(ek(s, t.value)), h = Za(d), p = (j) => {
18188
- var T, E, $;
18189
- a(j || "none"), j === "static" ? (T = t.onChange) == null || T.call(t, c.current) : j === "none" || !j ? (E = t.onChange) == null || E.call(t, "none") : ($ = t.onChange) == null || $.call(t, h.current);
18188
+ var T, E, P;
18189
+ a(j || "none"), j === "static" ? (T = t.onChange) == null || T.call(t, c.current) : j === "none" || !j ? (E = t.onChange) == null || E.call(t, "none") : (P = t.onChange) == null || P.call(t, h.current);
18190
18190
  }, m = (j) => {
18191
18191
  var T;
18192
18192
  l(j), (T = t.onChange) == null || T.call(t, j);
@@ -19068,7 +19068,7 @@ function Pk(t, e, n) {
19068
19068
  if (!t)
19069
19069
  return n[0];
19070
19070
  try {
19071
- return [e, P(e).add(1, "year").subtract(1, "day").valueOf()];
19071
+ return [e, $(e).add(1, "year").subtract(1, "day").valueOf()];
19072
19072
  } catch (s) {
19073
19073
  return console.error(s), n[0];
19074
19074
  }
@@ -19232,13 +19232,13 @@ const Qk = {
19232
19232
  grid: {
19233
19233
  containLabel: !0
19234
19234
  }
19235
- }, Hk = (t) => P(t).get("year");
19235
+ }, Hk = (t) => $(t).get("year");
19236
19236
  function Uk(t, e) {
19237
- const n = F(t.calendar.data_key), s = e[n.queryID], i = S.groupBy(s, (d) => Hk(d[n.columnKey])), a = Object.keys(i), o = s.map((d) => P(d[n.columnKey]).valueOf()), l = S.min(o), c = S.max(o);
19237
+ const n = F(t.calendar.data_key), s = e[n.queryID], i = S.groupBy(s, (d) => Hk(d[n.columnKey])), a = Object.keys(i), o = s.map((d) => $(d[n.columnKey]).valueOf()), l = S.min(o), c = S.max(o);
19238
19238
  return {
19239
19239
  minDate: l ?? 0,
19240
19240
  maxDate: c ?? 0,
19241
- dateSpan: P(c).diff(l, "day"),
19241
+ dateSpan: $(c).diff(l, "day"),
19242
19242
  dataByYear: i,
19243
19243
  years: a
19244
19244
  };
@@ -19908,7 +19908,7 @@ function CC({
19908
19908
  id: h,
19909
19909
  ...p
19910
19910
  }, m, b, j, T, E) {
19911
- const $ = {
19911
+ const P = {
19912
19912
  label: {
19913
19913
  show: !!s,
19914
19914
  position: s,
@@ -19929,14 +19929,14 @@ function CC({
19929
19929
  ...p
19930
19930
  };
19931
19931
  if (!a || a === t.data_key)
19932
- return $.data = SC({
19932
+ return P.data = SC({
19933
19933
  dataTemplate: m,
19934
19934
  data: j,
19935
19935
  aggregation_on_value: o,
19936
19936
  name_data_key: t.data_key,
19937
19937
  value_data_key: e,
19938
19938
  valueTypedXAxis: b
19939
- }), $;
19939
+ }), P;
19940
19940
  const W = kC({
19941
19941
  group_by_key: a,
19942
19942
  data: j,
@@ -19944,7 +19944,7 @@ function CC({
19944
19944
  value_data_key: e
19945
19945
  });
19946
19946
  return Object.entries(W).map(([K, he]) => {
19947
- const Z = Ne($);
19947
+ const Z = Ne(P);
19948
19948
  return Z.name = K, Z.color = void 0, Z.data = he, Z;
19949
19949
  });
19950
19950
  }
@@ -22876,7 +22876,7 @@ const ST = ({
22876
22876
  return o;
22877
22877
  }, [o, l]), u = C(() => {
22878
22878
  if (o && !l && s > 0)
22879
- return P(o).add(s - 1, "days").toDate();
22879
+ return $(o).add(s - 1, "days").toDate();
22880
22880
  }, [o, l, s]), h = (p) => {
22881
22881
  const [m, b] = p;
22882
22882
  e(p), m && b && n();
@@ -22888,7 +22888,7 @@ const ST = ({
22888
22888
  }) => {
22889
22889
  const {
22890
22890
  t: n
22891
- } = _(), s = C(() => P(e).diff(P(t), "days") + 1, [t, e]);
22891
+ } = _(), s = C(() => $(e).diff($(t), "days") + 1, [t, e]);
22892
22892
  if (Number.isNaN(s))
22893
22893
  return /* @__PURE__ */ r.jsx("span", { style: {
22894
22894
  userSelect: "none",
@@ -22917,7 +22917,7 @@ const ST = ({
22917
22917
  group: "last",
22918
22918
  getRange: () => {
22919
22919
  const t = Date.now();
22920
- return [P(t).subtract(1, "day").startOf("day").toDate(), P(t).subtract(1, "day").endOf("day").toDate()];
22920
+ return [$(t).subtract(1, "day").startOf("day").toDate(), $(t).subtract(1, "day").endOf("day").toDate()];
22921
22921
  }
22922
22922
  }, {
22923
22923
  key: "w",
@@ -22925,7 +22925,7 @@ const ST = ({
22925
22925
  group: "last",
22926
22926
  getRange: () => {
22927
22927
  const t = Date.now();
22928
- return [P(t).subtract(1, "week").startOf("week").toDate(), P(t).subtract(1, "week").endOf("week").toDate()];
22928
+ return [$(t).subtract(1, "week").startOf("week").toDate(), $(t).subtract(1, "week").endOf("week").toDate()];
22929
22929
  }
22930
22930
  }, {
22931
22931
  key: "m",
@@ -22933,7 +22933,7 @@ const ST = ({
22933
22933
  group: "last",
22934
22934
  getRange: () => {
22935
22935
  const t = Date.now();
22936
- return [P(t).subtract(1, "month").startOf("month").toDate(), P(t).subtract(1, "month").endOf("month").toDate()];
22936
+ return [$(t).subtract(1, "month").startOf("month").toDate(), $(t).subtract(1, "month").endOf("month").toDate()];
22937
22937
  }
22938
22938
  }, {
22939
22939
  key: "m2",
@@ -22941,7 +22941,7 @@ const ST = ({
22941
22941
  group: "last",
22942
22942
  getRange: () => {
22943
22943
  const t = Date.now();
22944
- return [P(t).subtract(2, "month").startOf("month").toDate(), P(t).subtract(1, "month").endOf("month").toDate()];
22944
+ return [$(t).subtract(2, "month").startOf("month").toDate(), $(t).subtract(1, "month").endOf("month").toDate()];
22945
22945
  }
22946
22946
  }, {
22947
22947
  key: "m3",
@@ -22949,7 +22949,7 @@ const ST = ({
22949
22949
  group: "last",
22950
22950
  getRange: () => {
22951
22951
  const t = Date.now();
22952
- return [P(t).subtract(3, "month").startOf("month").toDate(), P(t).subtract(1, "month").endOf("month").toDate()];
22952
+ return [$(t).subtract(3, "month").startOf("month").toDate(), $(t).subtract(1, "month").endOf("month").toDate()];
22953
22953
  }
22954
22954
  }, {
22955
22955
  key: "y",
@@ -22957,7 +22957,7 @@ const ST = ({
22957
22957
  group: "last",
22958
22958
  getRange: () => {
22959
22959
  const t = Date.now();
22960
- return [P(t).subtract(1, "year").startOf("year").toDate(), P(t).subtract(1, "year").endOf("year").toDate()];
22960
+ return [$(t).subtract(1, "year").startOf("year").toDate(), $(t).subtract(1, "year").endOf("year").toDate()];
22961
22961
  }
22962
22962
  }, {
22963
22963
  key: "d7",
@@ -22965,7 +22965,7 @@ const ST = ({
22965
22965
  group: "recent",
22966
22966
  getRange: () => {
22967
22967
  const t = Date.now();
22968
- return [P(t).subtract(7, "day").startOf("day").toDate(), P(t).subtract(1, "day").endOf("day").toDate()];
22968
+ return [$(t).subtract(7, "day").startOf("day").toDate(), $(t).subtract(1, "day").endOf("day").toDate()];
22969
22969
  }
22970
22970
  }, {
22971
22971
  key: "d30",
@@ -22973,7 +22973,7 @@ const ST = ({
22973
22973
  group: "recent",
22974
22974
  getRange: () => {
22975
22975
  const t = Date.now();
22976
- return [P(t).subtract(30, "day").startOf("day").toDate(), P(t).subtract(1, "day").endOf("day").toDate()];
22976
+ return [$(t).subtract(30, "day").startOf("day").toDate(), $(t).subtract(1, "day").endOf("day").toDate()];
22977
22977
  }
22978
22978
  }, {
22979
22979
  key: "d60",
@@ -22981,7 +22981,7 @@ const ST = ({
22981
22981
  group: "recent",
22982
22982
  getRange: () => {
22983
22983
  const t = Date.now();
22984
- return [P(t).subtract(60, "day").startOf("day").toDate(), P(t).subtract(1, "day").endOf("day").toDate()];
22984
+ return [$(t).subtract(60, "day").startOf("day").toDate(), $(t).subtract(1, "day").endOf("day").toDate()];
22985
22985
  }
22986
22986
  }, {
22987
22987
  key: "d90",
@@ -22989,7 +22989,7 @@ const ST = ({
22989
22989
  group: "recent",
22990
22990
  getRange: () => {
22991
22991
  const t = Date.now();
22992
- return [P(t).subtract(90, "day").startOf("day").toDate(), P(t).subtract(1, "day").endOf("day").toDate()];
22992
+ return [$(t).subtract(90, "day").startOf("day").toDate(), $(t).subtract(1, "day").endOf("day").toDate()];
22993
22993
  }
22994
22994
  }, {
22995
22995
  key: "d180",
@@ -22997,7 +22997,7 @@ const ST = ({
22997
22997
  group: "recent",
22998
22998
  getRange: () => {
22999
22999
  const t = Date.now();
23000
- return [P(t).subtract(180, "day").startOf("day").toDate(), P(t).subtract(1, "day").endOf("day").toDate()];
23000
+ return [$(t).subtract(180, "day").startOf("day").toDate(), $(t).subtract(1, "day").endOf("day").toDate()];
23001
23001
  }
23002
23002
  }, {
23003
23003
  key: "d365",
@@ -23005,7 +23005,7 @@ const ST = ({
23005
23005
  group: "recent",
23006
23006
  getRange: () => {
23007
23007
  const t = Date.now();
23008
- return [P(t).subtract(365, "day").startOf("day").toDate(), P(t).subtract(1, "day").endOf("day").toDate()];
23008
+ return [$(t).subtract(365, "day").startOf("day").toDate(), $(t).subtract(1, "day").endOf("day").toDate()];
23009
23009
  }
23010
23010
  }, {
23011
23011
  key: "d",
@@ -23013,7 +23013,7 @@ const ST = ({
23013
23013
  group: "this",
23014
23014
  getRange: () => {
23015
23015
  const t = Date.now();
23016
- return [P(t).startOf("day").toDate(), P(t).endOf("day").toDate()];
23016
+ return [$(t).startOf("day").toDate(), $(t).endOf("day").toDate()];
23017
23017
  }
23018
23018
  }, {
23019
23019
  key: "w",
@@ -23021,7 +23021,7 @@ const ST = ({
23021
23021
  group: "this",
23022
23022
  getRange: () => {
23023
23023
  const t = Date.now();
23024
- return [P(t).startOf("week").toDate(), P(t).endOf("week").toDate()];
23024
+ return [$(t).startOf("week").toDate(), $(t).endOf("week").toDate()];
23025
23025
  }
23026
23026
  }, {
23027
23027
  key: "m",
@@ -23029,7 +23029,7 @@ const ST = ({
23029
23029
  group: "this",
23030
23030
  getRange: () => {
23031
23031
  const t = Date.now();
23032
- return [P(t).startOf("month").toDate(), P(t).endOf("month").toDate()];
23032
+ return [$(t).startOf("month").toDate(), $(t).endOf("month").toDate()];
23033
23033
  }
23034
23034
  }, {
23035
23035
  key: "y",
@@ -23037,7 +23037,31 @@ const ST = ({
23037
23037
  group: "this",
23038
23038
  getRange: () => {
23039
23039
  const t = Date.now();
23040
- return [P(t).startOf("year").toDate(), P(t).endOf("year").toDate()];
23040
+ return [$(t).startOf("year").toDate(), $(t).endOf("year").toDate()];
23041
+ }
23042
+ }, {
23043
+ key: "w",
23044
+ value: "this week so far",
23045
+ group: "this_so_far",
23046
+ getRange: () => {
23047
+ const t = Date.now();
23048
+ return [$(t).startOf("week").toDate(), $(t).toDate()];
23049
+ }
23050
+ }, {
23051
+ key: "m",
23052
+ value: "this month so far",
23053
+ group: "this_so_far",
23054
+ getRange: () => {
23055
+ const t = Date.now();
23056
+ return [$(t).startOf("month").toDate(), $(t).toDate()];
23057
+ }
23058
+ }, {
23059
+ key: "y",
23060
+ value: "this year so far",
23061
+ group: "this_so_far",
23062
+ getRange: () => {
23063
+ const t = Date.now();
23064
+ return [$(t).startOf("year").toDate(), $(t).toDate()];
23041
23065
  }
23042
23066
  }];
23043
23067
  function jd(t) {
@@ -23099,7 +23123,7 @@ const IT = ({
23099
23123
  } = _(), [c, {
23100
23124
  open: d,
23101
23125
  close: u
23102
- }] = sn(!1), [h, p] = n, m = h ? P(h).format(o) : "", b = p ? P(p).format(o) : "";
23126
+ }] = sn(!1), [h, p] = n, m = h ? $(h).format(o) : "", b = p ? $(p).format(o) : "";
23103
23127
  return /* @__PURE__ */ r.jsxs(Vn, { opened: c, onClose: u, position: "bottom-start", shadow: "md", children: [
23104
23128
  /* @__PURE__ */ r.jsxs(y, { position: "left", grow: !0, noWrap: !0, spacing: 0, w: "18em", sx: {
23105
23129
  marginTop: "3px"
@@ -23147,8 +23171,8 @@ const IT = ({
23147
23171
  required: a,
23148
23172
  max_days: o,
23149
23173
  allowSingleDateInRange: l
23150
- } = e, c = Array.isArray(n) ? n.map((u) => u ? P(u).toDate() : null) : [null, null], d = (u) => {
23151
- s(u.map((h) => h && P(h).format(i)));
23174
+ } = e, c = Array.isArray(n) ? n.map((u) => u ? $(u).toDate() : null) : [null, null], d = (u) => {
23175
+ s(u.map((h) => h && $(h).format(i)));
23152
23176
  };
23153
23177
  return /* @__PURE__ */ r.jsx(DT, { label: t, value: c, onChange: d, inputFormat: i, allowSingleDateInRange: l, max_days: o, required: a });
23154
23178
  }), MT = fr((t, {
@@ -23364,7 +23388,7 @@ const IT = ({
23364
23388
  unstyled: s
23365
23389
  }), [j, T] = B(!1), E = (Z) => {
23366
23390
  T(Z);
23367
- }, $ = j && (l == null ? void 0 : l.length) > 0, [W, K] = B(""), he = C(() => {
23391
+ }, P = j && (l == null ? void 0 : l.length) > 0, [W, K] = B(""), he = C(() => {
23368
23392
  if (!W)
23369
23393
  return d;
23370
23394
  const Z = W.toLowerCase(), ee = (pe) => {
@@ -23379,7 +23403,7 @@ const IT = ({
23379
23403
  o,
23380
23404
  h && /* @__PURE__ */ r.jsx("span", { className: m.required, "aria-hidden": "true", children: "*" })
23381
23405
  ] }),
23382
- $ && /* @__PURE__ */ r.jsx(ye, { label: p("filter.widget.common.x_selected", {
23406
+ P && /* @__PURE__ */ r.jsx(ye, { label: p("filter.widget.common.x_selected", {
23383
23407
  count: l.length
23384
23408
  }), children: /* @__PURE__ */ r.jsx(_n, { children: l.length }) })
23385
23409
  ] }),
@@ -23764,7 +23788,7 @@ const PT = ({
23764
23788
  classNames: e,
23765
23789
  styles: n,
23766
23790
  unstyled: s
23767
- }), [T, E] = B(!1), $ = (K) => {
23791
+ }), [T, E] = B(!1), P = (K) => {
23768
23792
  E(K);
23769
23793
  }, W = T && (l == null ? void 0 : l.length) > 0;
23770
23794
  return /* @__PURE__ */ r.jsxs(k, { spacing: 3, children: [
@@ -23786,7 +23810,7 @@ const PT = ({
23786
23810
  labelInValue: !0,
23787
23811
  className: j(b.root, "check-select"),
23788
23812
  dropdownClassName: j(b.dropdown, ""),
23789
- onDropdownVisibleChange: $,
23813
+ onDropdownVisibleChange: P,
23790
23814
  transitionName: "rc-tree-select-dropdown-slide-up",
23791
23815
  choiceTransitionName: "rc-tree-select-selection__choice-zoom",
23792
23816
  style: a,
@@ -24430,7 +24454,7 @@ const zd = x.model("FilterCheckboxConfigMeta", {
24430
24454
  function Td(t, e) {
24431
24455
  return t.map((n) => {
24432
24456
  try {
24433
- return n ? P.tz(n, "UTC").format(e) : null;
24457
+ return n ? $.tz(n, "UTC").format(e) : null;
24434
24458
  } catch {
24435
24459
  return console.log(`[date-range] failed parsing ${n}`), null;
24436
24460
  }
@@ -24499,7 +24523,7 @@ const oI = x.model("FilterDateRangeConfigMeta", {
24499
24523
  return;
24500
24524
  const n = jd(t.default_shortcut);
24501
24525
  if (console.log(n), n) {
24502
- const s = n.map((i) => P(i).format(t.inputFormat));
24526
+ const s = n.map((i) => $(i).format(t.inputFormat));
24503
24527
  t.setFilterValue(s);
24504
24528
  }
24505
24529
  },
@@ -24516,7 +24540,7 @@ const oI = x.model("FilterDateRangeConfigMeta", {
24516
24540
  }) {
24517
24541
  return {
24518
24542
  ...e,
24519
- default_value: t.map((n) => n === null ? null : P.tz(n, "UTC").toISOString())
24543
+ default_value: t.map((n) => n === null ? null : $.tz(n, "UTC").toISOString())
24520
24544
  };
24521
24545
  },
24522
24546
  postProcessor(t) {
@@ -25585,10 +25609,10 @@ function Hd(t) {
25585
25609
  if (e.default_shortcut) {
25586
25610
  const i = jd(e.default_shortcut);
25587
25611
  if (i)
25588
- return i.map((a) => P(a).format(e.inputFormat));
25612
+ return i.map((a) => $(a).format(e.inputFormat));
25589
25613
  }
25590
25614
  const [...s] = n;
25591
- return s.map((i) => i === null ? i : P.tz(i, "UTC").format(e.inputFormat) ?? i);
25615
+ return s.map((i) => i === null ? i : $.tz(i, "UTC").format(e.inputFormat) ?? i);
25592
25616
  } catch (s) {
25593
25617
  return console.error(s), n;
25594
25618
  }
@@ -28699,12 +28723,12 @@ const ND = z(({
28699
28723
  }) => {
28700
28724
  const pe = ee.filter((Qe) => Number.isFinite(Qe.breakpoint));
28701
28725
  s.updateLayoutSetsInfo(pe), t();
28702
- }, $ = c(), W = C(() => {
28726
+ }, P = c(), W = C(() => {
28703
28727
  const ee = {
28704
- list: $.list.filter((pe) => !!pe.name && Number.isFinite(pe.breakpoint))
28728
+ list: P.list.filter((pe) => !!pe.name && Number.isFinite(pe.breakpoint))
28705
28729
  };
28706
28730
  return !ge(ee, i);
28707
- }, [$, i]), K = (Z = (he = u.errors.list) == null ? void 0 : he.root) == null ? void 0 : Z.message;
28731
+ }, [P, i]), K = (Z = (he = u.errors.list) == null ? void 0 : he.root) == null ? void 0 : Z.message;
28708
28732
  return /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("form", { onSubmit: o(E), children: [
28709
28733
  /* @__PURE__ */ r.jsxs(qe, { fontSize: "sm", highlightOnHover: !0, withBorder: !0, sx: {
28710
28734
  tableLayout: "fixed"
@@ -28967,7 +28991,7 @@ const nM = z(({
28967
28991
  stretchModal: e,
28968
28992
  shrinkModal: n
28969
28993
  }) => {
28970
- var E, $;
28994
+ var E, P;
28971
28995
  const {
28972
28996
  t: s
28973
28997
  } = _(), i = ae(), {
@@ -29029,7 +29053,7 @@ const nM = z(({
29029
29053
  }, [b, T]), /* @__PURE__ */ r.jsx(M, { mx: "auto", sx: {
29030
29054
  position: "relative"
29031
29055
  }, children: /* @__PURE__ */ r.jsxs("form", { onSubmit: a(h), children: [
29032
- /* @__PURE__ */ r.jsx(dh, { label: s("import.json_file"), required: !0, value: p, onChange: m, error: ($ = o == null ? void 0 : o.content) == null ? void 0 : $.message, sx: {
29056
+ /* @__PURE__ */ r.jsx(dh, { label: s("import.json_file"), required: !0, value: p, onChange: m, error: (P = o == null ? void 0 : o.content) == null ? void 0 : P.message, sx: {
29033
29057
  maxWidth: 500
29034
29058
  } }),
29035
29059
  T ? /* @__PURE__ */ r.jsx(qe, { fontSize: 12, mt: 10, children: /* @__PURE__ */ r.jsxs("tbody", { children: [
@@ -32795,12 +32819,12 @@ const n2 = {
32795
32819
  }), [T]);
32796
32820
  const E = async () => {
32797
32821
  await s(T.json, T.content.json);
32798
- }, $ = wt(ga, []), W = xu($);
32822
+ }, P = wt(ga, []), W = xu(P);
32799
32823
  return /* @__PURE__ */ r.jsx(sl, { children: /* @__PURE__ */ r.jsx(gc, { children: /* @__PURE__ */ r.jsx(lc, { value: {
32800
32824
  searchButtonProps: a.searchButtonProps
32801
32825
  }, children: /* @__PURE__ */ r.jsx(ic, { value: T, children: /* @__PURE__ */ r.jsx(dc, { value: T.content, children: /* @__PURE__ */ r.jsx(Ri.Provider, { value: {
32802
32826
  inEditMode: !0
32803
- }, children: /* @__PURE__ */ r.jsx(Pt.Provider, { value: $, children: /* @__PURE__ */ r.jsxs(Ts, { configure: W, children: [
32827
+ }, children: /* @__PURE__ */ r.jsx(Pt.Provider, { value: P, children: /* @__PURE__ */ r.jsxs(Ts, { configure: W, children: [
32804
32828
  /* @__PURE__ */ r.jsx(rl, { padding: 0, header: /* @__PURE__ */ r.jsx(aM, { onExit: u, saveDashboardChanges: E, headerSlot: l }), navbar: /* @__PURE__ */ r.jsx(AM, {}), styles: n2, children: /* @__PURE__ */ r.jsx(M, { className: `${i} dashboard-root`, sx: {
32805
32829
  position: "relative"
32806
32830
  }, children: T.content.views.visibleViews.map((K) => /* @__PURE__ */ r.jsx(fD, { view: K }, K.id)) }) }),
@@ -33031,41 +33055,41 @@ const o2 = ({
33031
33055
  inEditMode: !1
33032
33056
  }, children: /* @__PURE__ */ r.jsx(M, { className: `${s} dashboard-root`, children: /* @__PURE__ */ r.jsx(Pt.Provider, { value: b, children: /* @__PURE__ */ r.jsx(Ts, { configure: j, children: m.content.views.visibleViews.map((T) => /* @__PURE__ */ r.jsx(ja, { view: T }, T.id)) }) }) }) }) }) }) }) }) }) });
33033
33057
  }, lR = z(o2);
33034
- P.extend(xm);
33035
- P.extend(gm);
33036
- P.extend(fm);
33037
- P.extend(bm);
33038
- P.extend(ym);
33039
- P.extend(_m);
33040
- P.extend(vm);
33041
- P.extend(jm);
33042
- P.extend(wm);
33043
- P.extend(Sm);
33044
- P.extend(zm);
33045
- P.extend(Tm);
33046
- P.extend(Im);
33047
- P.extend(Dm);
33048
- P.extend(Mm);
33049
- P.extend(km);
33050
- P.extend(Cm);
33051
- P.extend(Lm);
33052
- P.extend(Am);
33053
- P.extend(Em);
33054
- P.extend(Rm);
33055
- P.extend($m);
33056
- P.extend(Pm);
33057
- P.extend(Fm);
33058
- P.extend(Om);
33059
- P.extend(Vm);
33060
- P.extend(qm);
33061
- P.extend(Nm);
33062
- P.extend(Bm);
33063
- P.extend(Wm);
33064
- P.extend(Qm);
33065
- P.extend(Hm);
33066
- P.extend(Gm);
33067
- P.tz.setDefault("UTC");
33068
- P.updateLocale("en", {
33058
+ $.extend(xm);
33059
+ $.extend(gm);
33060
+ $.extend(fm);
33061
+ $.extend(bm);
33062
+ $.extend(ym);
33063
+ $.extend(_m);
33064
+ $.extend(vm);
33065
+ $.extend(jm);
33066
+ $.extend(wm);
33067
+ $.extend(Sm);
33068
+ $.extend(zm);
33069
+ $.extend(Tm);
33070
+ $.extend(Im);
33071
+ $.extend(Dm);
33072
+ $.extend(Mm);
33073
+ $.extend(km);
33074
+ $.extend(Cm);
33075
+ $.extend(Lm);
33076
+ $.extend(Am);
33077
+ $.extend(Em);
33078
+ $.extend(Rm);
33079
+ $.extend($m);
33080
+ $.extend(Pm);
33081
+ $.extend(Fm);
33082
+ $.extend(Om);
33083
+ $.extend(Vm);
33084
+ $.extend(qm);
33085
+ $.extend(Nm);
33086
+ $.extend(Bm);
33087
+ $.extend(Wm);
33088
+ $.extend(Qm);
33089
+ $.extend(Hm);
33090
+ $.extend(Gm);
33091
+ $.tz.setDefault("UTC");
33092
+ $.updateLocale("en", {
33069
33093
  weekStart: 1
33070
33094
  });
33071
33095
  const l2 = {
@@ -33195,6 +33219,17 @@ const l2 = {
33195
33219
  m: "this month",
33196
33220
  y: "this year"
33197
33221
  }
33222
+ },
33223
+ this_so_far: {
33224
+ label: "this...so far",
33225
+ w: "week",
33226
+ m: "month",
33227
+ y: "year",
33228
+ full: {
33229
+ w: "this week so far",
33230
+ m: "this month so far",
33231
+ y: "this year so far"
33232
+ }
33198
33233
  }
33199
33234
  }
33200
33235
  }
@@ -34059,6 +34094,17 @@ const l2 = {
34059
34094
  m: "本月",
34060
34095
  y: "今年"
34061
34096
  }
34097
+ },
34098
+ this_so_far: {
34099
+ label: "至今",
34100
+ w: "周",
34101
+ m: "月",
34102
+ y: "年",
34103
+ full: {
34104
+ w: "本周至今",
34105
+ m: "本月至今",
34106
+ y: "本年至今"
34107
+ }
34062
34108
  }
34063
34109
  }
34064
34110
  }