react-semaphor 0.1.552 → 0.1.553

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/analytics-protocol/index.js +8 -8
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/brand-studio/index.js +3 -3
  4. package/dist/briefings/index.js +5 -5
  5. package/dist/chunks/{assistant-chat-sWQaBT61.js → assistant-chat-DaIdRbbd.js} +1275 -1296
  6. package/dist/chunks/{bookmark-state-Cu-a5ie_.js → bookmark-state-aGO7_ryE.js} +3 -3
  7. package/dist/chunks/{comparison-window-caption-CF90-I0i.js → comparison-window-caption-BugAu7zS.js} +7 -7
  8. package/dist/chunks/{custom-visual-inputs-ByQUyWf4.js → custom-visual-inputs-D7ez5sab.js} +1 -1
  9. package/dist/chunks/{dashboard-briefing-launcher-DUJQv719.js → dashboard-briefing-launcher-DBJ0xrfF.js} +62 -62
  10. package/dist/chunks/{dashboard-controls-BjnvfcQp.js → dashboard-controls-CDX74NTl.js} +46 -46
  11. package/dist/chunks/{dashboard-json-BqcLekhd.js → dashboard-json-Cf5dpYTr.js} +4 -4
  12. package/dist/chunks/{dashboard-BjoJI7NN.js → dashboard-z3GYw7xR.js} +1 -1
  13. package/dist/chunks/{document-dashboard-inputs-PoQihHLu.js → document-dashboard-inputs-LMMWPOwU.js} +119 -119
  14. package/dist/chunks/{edit-dashboard-visual-KNJQr60W.js → edit-dashboard-visual-hCGiyxgm.js} +18 -18
  15. package/dist/chunks/{filter-reach-copy-zdhUFn6t.js → filter-reach-copy-BG5qVZKS.js} +48 -48
  16. package/dist/chunks/{filter-value-text-Ddf55Ku1.js → filter-value-text-DwP5dN9m.js} +2 -2
  17. package/dist/chunks/{global-date-filter-utils-C1jCNWdV.js → global-date-filter-utils-Ce6Ydv2W.js} +5927 -5723
  18. package/dist/chunks/{index-Dp0ta6KB.js → index-C_UIqop8.js} +9 -9
  19. package/dist/chunks/{matrix-analytical-definition-B9vW-osb.js → matrix-analytical-definition-cvzKdxPE.js} +2 -2
  20. package/dist/chunks/{matrix-card-LiMEipvq.js → matrix-card-VFE-yDlr.js} +2 -2
  21. package/dist/chunks/{matrix-formatter-C_EpDP6o.js → matrix-formatter-B27bz08Y.js} +15 -15
  22. package/dist/chunks/{matrix-member-presentation-DqzG-UhQ.js → matrix-member-presentation-DyC-e9pD.js} +1 -1
  23. package/dist/chunks/{matrix-operation-contract-D6vYkZK4.js → matrix-operation-contract-L_SiObB7.js} +1 -1
  24. package/dist/chunks/{metric-comparison-zpGw4lD6.js → metric-comparison-B5gyyW9k.js} +1 -1
  25. package/dist/chunks/{pivot-header-presentation-CQnIDtUv.js → pivot-header-presentation-BQFfowp1.js} +1 -1
  26. package/dist/chunks/{pivot-result-identity-C-Q1j1Wb.js → pivot-result-identity-dZIYsMrY.js} +1 -1
  27. package/dist/chunks/{pivot-result-lifecycle-pwq3b7LC.js → pivot-result-lifecycle-D0kSz5QX.js} +6 -6
  28. package/dist/chunks/{raw-temporal-presentation-D3i0mnUe.js → raw-temporal-presentation-BWRH754b.js} +6 -6
  29. package/dist/chunks/{report-preferences-dialog-C0uGI0v7.js → report-preferences-dialog-DvabpYcC.js} +49 -49
  30. package/dist/chunks/{report-runtime-context-hWiTCzFV.js → report-runtime-context-CKiIubIu.js} +1 -1
  31. package/dist/chunks/{resolve-dashboard-input-context-Cm0b7s-d.js → resolve-dashboard-input-context-Ctq1YCDV.js} +2062 -1988
  32. package/dist/chunks/{saved-dashboard-context-DCtGmAWe.js → saved-dashboard-context-Bt1E9d1l.js} +8 -8
  33. package/dist/chunks/{selection-reducer-CJzkTZio.js → selection-reducer-DdPwKDDQ.js} +1 -1
  34. package/dist/chunks/{semaphor-ready-indicator-ChyotaWB.js → semaphor-ready-indicator-Cc1TG_gw.js} +26 -26
  35. package/dist/chunks/{shelf-drop-preview-context-D09ATIXv.js → shelf-drop-preview-context-Ch9XqytU.js} +119 -119
  36. package/dist/chunks/{source-entity-resolution-D195CrYS.js → source-entity-resolution-DkW3Iek5.js} +1 -1
  37. package/dist/chunks/{switch-wJP6O7ZT.js → switch-gm7RW-PW.js} +2 -2
  38. package/dist/chunks/{table-export-sheet-DUS_s8Cj.js → table-export-sheet-C7bDdC8r.js} +1 -1
  39. package/dist/chunks/{table-settings-WysCBj62.js → table-settings-CBm7G0yx.js} +224 -201
  40. package/dist/chunks/{temporal-bucket-CQOSbv9-.js → temporal-bucket-BikY3FFR.js} +1 -1
  41. package/dist/chunks/{token-types-BMqRmT-C.js → token-types-B1p9F_wS.js} +1 -1
  42. package/dist/chunks/{use-create-flow-overlay-state-t7JLE_LV.js → use-create-flow-overlay-state-CZdDRUpc.js} +6 -6
  43. package/dist/chunks/{validators-C-aOQlTB.js → validators-BdBzm_EV.js} +17 -16
  44. package/dist/dashboard/index.js +2 -2
  45. package/dist/dashboard-authoring/index.js +273 -264
  46. package/dist/data-app-sdk/index.js +5 -5
  47. package/dist/data-app-sdk-adapters/index.js +2 -2
  48. package/dist/data-app-sdk-validation/index.js +5 -5
  49. package/dist/format-utils/index.js +15 -15
  50. package/dist/index.js +21 -21
  51. package/dist/report-runtime-context/index.js +1 -1
  52. package/dist/style.css +1 -1
  53. package/dist/surfboard/index.js +2 -2
  54. package/dist/types/index.js +6 -6
  55. package/dist/types/lib/dashboard-inputs/prepare-loaded-dashboard.d.ts +3 -0
  56. package/dist/types/lib/utils/card-config-utils.d.ts +61 -0
  57. package/dist/types/lib/utils/card-type-change.d.ts +5 -1
  58. package/dist/types/shared/analytics-protocol/explorer-input-schemas.d.ts +2 -0
  59. package/dist/types/shared/dashboard-authoring/document-section-cards.d.ts +6 -0
  60. package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
  61. package/dist/types/shared/dashboard-authoring/legacy-table-routing.d.ts +64 -0
  62. package/package.json +2 -2
@@ -1,14 +1,14 @@
1
1
  import { jsxs as Ne, jsx as L, Fragment as ft } from "react/jsx-runtime";
2
2
  import * as T from "react";
3
3
  import zn, { forwardRef as Fe, createElement as xe, useContext as rt, createContext as xt, useRef as q, useLayoutEffect as Pn, useImperativeHandle as zt, useEffect as re, useState as ce, useCallback as O, useMemo as G, memo as wn, Suspense as Cn, useSyncExternalStore as En } from "react";
4
- import { b0 as In, a6 as ie, b1 as Pt, a7 as wt, b2 as ot, b3 as Ct, b4 as Rn, b5 as Dn, b6 as An, b7 as Nn, u as Re, b8 as Mn, b9 as Ln, ba as _n, bb as kn, bc as Tn, bd as Hn, be as Vn, bf as $n, bg as Fn } from "./semaphor-ready-indicator-ChyotaWB.js";
5
- import { C as Et, y as It, z as ze, A as pe, D as Rt, E as Kn, F as Bn, G as Pe, H as qn, J as Dt, K as On, M as Gn } from "./switch-wJP6O7ZT.js";
4
+ import { b0 as In, a6 as ie, b1 as Pt, a7 as wt, b2 as ot, b3 as Ct, b4 as Rn, b5 as Dn, b6 as An, b7 as Nn, u as Re, b8 as Mn, b9 as Ln, ba as _n, bb as kn, bc as Tn, bd as Hn, be as Vn, bf as $n, bg as Fn } from "./semaphor-ready-indicator-Cc1TG_gw.js";
5
+ import { C as Et, y as It, z as ze, A as pe, D as Rt, E as Kn, F as Bn, G as Pe, H as qn, J as Dt, K as On, M as Gn } from "./switch-gm7RW-PW.js";
6
6
  import { f as Un, r as At } from "./editor-draft-sync-BN5qYHPF.js";
7
- import { cS as Wn, cT as Xn } from "./global-date-filter-utils-C1jCNWdV.js";
8
- import { f as Yn, r as Nt, g as Mt, a as Je, c as Te, n as jn, b as Qn } from "./custom-visual-inputs-ByQUyWf4.js";
7
+ import { cU as Wn, cV as Xn } from "./global-date-filter-utils-Ce6Ydv2W.js";
8
+ import { f as Yn, r as Nt, g as Mt, a as Je, c as Te, n as jn, b as Qn } from "./custom-visual-inputs-D7ez5sab.js";
9
9
  import "./index-CuHybtft.js";
10
- import "./validators-C-aOQlTB.js";
11
- import "./matrix-operation-contract-D6vYkZK4.js";
10
+ import "./validators-BdBzm_EV.js";
11
+ import "./matrix-operation-contract-L_SiObB7.js";
12
12
  import "./analytics-base-schemas-BKs3flFS.js";
13
13
  import "zod";
14
14
  import "../value-format-preferences/index.js";
@@ -292,7 +292,7 @@ function Ht(e) {
292
292
  return t && t instanceof ShadowRoot ? t.host : t;
293
293
  }
294
294
  const Vt = 1, $t = 2, Ft = 4, Kt = 8, ur = or() === "coarse";
295
- let se = [], be = !1, fe = /* @__PURE__ */ new Map(), qe = /* @__PURE__ */ new Map();
295
+ let se = [], Se = !1, fe = /* @__PURE__ */ new Map(), qe = /* @__PURE__ */ new Map();
296
296
  const Me = /* @__PURE__ */ new Set();
297
297
  function dr(e, t, n, r, i) {
298
298
  var o;
@@ -321,7 +321,7 @@ function fr(e) {
321
321
  x: n,
322
322
  y: r
323
323
  } = Be(e);
324
- be = !0, lt({
324
+ Se = !0, lt({
325
325
  target: t,
326
326
  x: n,
327
327
  y: r
@@ -332,7 +332,7 @@ function Xe(e) {
332
332
  x: t,
333
333
  y: n
334
334
  } = Be(e);
335
- if (be && e.buttons === 0 && (be = !1, $e("up", e)), !be) {
335
+ if (Se && e.buttons === 0 && (Se = !1, $e("up", e)), !Se) {
336
336
  const {
337
337
  target: r
338
338
  } = e;
@@ -351,7 +351,7 @@ function Ye(e) {
351
351
  x: n,
352
352
  y: r
353
353
  } = Be(e);
354
- qe.clear(), be = !1, se.length > 0 && (e.preventDefault(), Bt(t) || e.stopImmediatePropagation()), $e("up", e), lt({
354
+ qe.clear(), Se = !1, se.length > 0 && (e.preventDefault(), Bt(t) || e.stopImmediatePropagation()), $e("up", e), lt({
355
355
  target: t,
356
356
  x: n,
357
357
  y: r
@@ -426,7 +426,7 @@ function Ve() {
426
426
  capture: !0,
427
427
  signal: Qe.signal
428
428
  };
429
- Me.size && (be ? (se.length > 0 && fe.forEach((t, n) => {
429
+ Me.size && (Se ? (se.length > 0 && fe.forEach((t, n) => {
430
430
  const {
431
431
  body: r
432
432
  } = n;
@@ -473,7 +473,7 @@ function mr(e, t, n) {
473
473
  }
474
474
  return !0;
475
475
  }
476
- function Se({
476
+ function be({
477
477
  panelConstraints: e,
478
478
  panelIndex: t,
479
479
  size: n
@@ -547,7 +547,7 @@ function De({
547
547
  for (; ; ) {
548
548
  const g = t[c];
549
549
  I(g != null, `Previous layout not found for panel index ${c}`);
550
- const h = Se({
550
+ const h = be({
551
551
  panelConstraints: n,
552
552
  panelIndex: c,
553
553
  size: 100
@@ -563,7 +563,7 @@ function De({
563
563
  for (; c >= 0 && c < n.length; ) {
564
564
  const m = Math.abs(e) - Math.abs(d), p = t[c];
565
565
  I(p != null, `Previous layout not found for panel index ${c}`);
566
- const g = p - m, v = Se({
566
+ const g = p - m, v = be({
567
567
  panelConstraints: n,
568
568
  panelIndex: c,
569
569
  size: g
@@ -580,7 +580,7 @@ function De({
580
580
  {
581
581
  const u = e < 0 ? a : l, c = t[u];
582
582
  I(c != null, `Previous layout not found for panel index ${u}`);
583
- const m = c + d, p = Se({
583
+ const m = c + d, p = be({
584
584
  panelConstraints: n,
585
585
  panelIndex: u,
586
586
  size: m
@@ -590,7 +590,7 @@ function De({
590
590
  for (; h >= 0 && h < n.length; ) {
591
591
  const A = s[h];
592
592
  I(A != null, `Previous layout not found for panel index ${h}`);
593
- const x = A + g, R = Se({
593
+ const x = A + g, R = be({
594
594
  panelConstraints: n,
595
595
  panelIndex: h,
596
596
  size: x
@@ -774,7 +774,7 @@ function vr(e, t, n, r, i) {
774
774
  const u = f.getBoundingClientRect(), c = o ? u.width : u.height;
775
775
  return (d - a) / c * 100;
776
776
  }
777
- function Sr(e, t, n, r, i, o) {
777
+ function br(e, t, n, r, i, o) {
778
778
  if (_t(e)) {
779
779
  const s = n === "horizontal";
780
780
  let l = 0;
@@ -804,7 +804,7 @@ function Sr(e, t, n, r, i, o) {
804
804
  } else
805
805
  return r == null ? 0 : vr(e, t, n, r, o);
806
806
  }
807
- function br({
807
+ function Sr({
808
808
  panelDataArray: e
809
809
  }) {
810
810
  const t = Array(e.length), n = e.map((o) => o.constraints);
@@ -947,7 +947,7 @@ function wr(e, t, n, r, i) {
947
947
  console.error(d);
948
948
  }
949
949
  }
950
- function St({
950
+ function bt({
951
951
  layout: e,
952
952
  panelConstraints: t
953
953
  }) {
@@ -965,7 +965,7 @@ function St({
965
965
  for (let o = 0; o < t.length; o++) {
966
966
  const s = n[o];
967
967
  I(s != null, `No layout data found for index ${o}`);
968
- const l = Se({
968
+ const l = be({
969
969
  panelConstraints: t,
970
970
  panelIndex: o,
971
971
  size: s
@@ -976,7 +976,7 @@ function St({
976
976
  for (let o = 0; o < t.length; o++) {
977
977
  const s = n[o];
978
978
  I(s != null, `No layout data found for index ${o}`);
979
- const l = s + i, a = Se({
979
+ const l = s + i, a = be({
980
980
  panelConstraints: t,
981
981
  panelIndex: o,
982
982
  size: l
@@ -991,7 +991,7 @@ const Cr = 100, Ae = {
991
991
  setItem: (e, t) => {
992
992
  vt(Ae), Ae.setItem(e, t);
993
993
  }
994
- }, bt = {};
994
+ }, St = {};
995
995
  function jt({
996
996
  autoSaveId: e = null,
997
997
  children: t,
@@ -1027,21 +1027,21 @@ function jt({
1027
1027
  getId: () => k.current.id,
1028
1028
  getLayout: () => {
1029
1029
  const {
1030
- layout: S
1030
+ layout: b
1031
1031
  } = w.current;
1032
- return S;
1032
+ return b;
1033
1033
  },
1034
- setLayout: (S) => {
1034
+ setLayout: (b) => {
1035
1035
  const {
1036
1036
  onLayout: P
1037
1037
  } = k.current, {
1038
1038
  layout: E,
1039
1039
  panelDataArray: z
1040
- } = w.current, b = St({
1041
- layout: S,
1040
+ } = w.current, S = bt({
1041
+ layout: b,
1042
1042
  panelConstraints: z.map((C) => C.constraints)
1043
1043
  });
1044
- yt(E, b) || (h(b), w.current.layout = b, P && P(b), ye(z, b, x.current));
1044
+ yt(E, S) || (h(S), w.current.layout = S, P && P(S), ye(z, S, x.current));
1045
1045
  }
1046
1046
  }), []), me(() => {
1047
1047
  k.current.autoSaveId = e, k.current.direction = r, k.current.dragState = p, k.current.id = c, k.current.onLayout = s, k.current.storage = a;
@@ -1055,37 +1055,37 @@ function jt({
1055
1055
  panelGroupElement: m.current
1056
1056
  }), re(() => {
1057
1057
  const {
1058
- panelDataArray: S
1058
+ panelDataArray: b
1059
1059
  } = w.current;
1060
1060
  if (e) {
1061
- if (v.length === 0 || v.length !== S.length)
1061
+ if (v.length === 0 || v.length !== b.length)
1062
1062
  return;
1063
- let P = bt[e];
1064
- P == null && (P = zr(wr, Cr), bt[e] = P);
1065
- const E = [...S], z = new Map(R.current);
1063
+ let P = St[e];
1064
+ P == null && (P = zr(wr, Cr), St[e] = P);
1065
+ const E = [...b], z = new Map(R.current);
1066
1066
  P(e, E, z, v, a);
1067
1067
  }
1068
1068
  }, [e, v, a]), re(() => {
1069
1069
  });
1070
- const X = O((S) => {
1070
+ const X = O((b) => {
1071
1071
  const {
1072
1072
  onLayout: P
1073
1073
  } = k.current, {
1074
1074
  layout: E,
1075
1075
  panelDataArray: z
1076
1076
  } = w.current;
1077
- if (S.constraints.collapsible) {
1078
- const b = z.map((j) => j.constraints), {
1077
+ if (b.constraints.collapsible) {
1078
+ const S = z.map((j) => j.constraints), {
1079
1079
  collapsedSize: C = 0,
1080
1080
  panelSize: y,
1081
1081
  pivotIndices: N
1082
- } = de(z, S, E);
1083
- if (I(y != null, `Panel size not found for panel "${S.id}"`), !le(y, C)) {
1084
- R.current.set(S.id, y);
1085
- const J = ve(z, S) === z.length - 1 ? y - C : C - y, K = De({
1082
+ } = de(z, b, E);
1083
+ if (I(y != null, `Panel size not found for panel "${b.id}"`), !le(y, C)) {
1084
+ R.current.set(b.id, y);
1085
+ const J = ve(z, b) === z.length - 1 ? y - C : C - y, K = De({
1086
1086
  delta: J,
1087
1087
  initialLayout: E,
1088
- panelConstraints: b,
1088
+ panelConstraints: S,
1089
1089
  pivotIndices: N,
1090
1090
  prevLayout: E,
1091
1091
  trigger: "imperative-api"
@@ -1093,22 +1093,22 @@ function jt({
1093
1093
  ke(E, K) || (h(K), w.current.layout = K, P && P(K), ye(z, K, x.current));
1094
1094
  }
1095
1095
  }
1096
- }, []), Q = O((S, P) => {
1096
+ }, []), Q = O((b, P) => {
1097
1097
  const {
1098
1098
  onLayout: E
1099
1099
  } = k.current, {
1100
1100
  layout: z,
1101
- panelDataArray: b
1101
+ panelDataArray: S
1102
1102
  } = w.current;
1103
- if (S.constraints.collapsible) {
1104
- const C = b.map((oe) => oe.constraints), {
1103
+ if (b.constraints.collapsible) {
1104
+ const C = S.map((oe) => oe.constraints), {
1105
1105
  collapsedSize: y = 0,
1106
1106
  panelSize: N = 0,
1107
1107
  minSize: j = 0,
1108
1108
  pivotIndices: J
1109
- } = de(b, S, z), K = P ?? j;
1109
+ } = de(S, b, z), K = P ?? j;
1110
1110
  if (le(N, y)) {
1111
- const oe = R.current.get(S.id), Ee = oe != null && oe >= K ? oe : K, Ue = ve(b, S) === b.length - 1 ? N - Ee : Ee - N, Z = De({
1111
+ const oe = R.current.get(b.id), Ee = oe != null && oe >= K ? oe : K, Ue = ve(S, b) === S.length - 1 ? N - Ee : Ee - N, Z = De({
1112
1112
  delta: Ue,
1113
1113
  initialLayout: z,
1114
1114
  panelConstraints: C,
@@ -1116,21 +1116,21 @@ function jt({
1116
1116
  prevLayout: z,
1117
1117
  trigger: "imperative-api"
1118
1118
  });
1119
- ke(z, Z) || (h(Z), w.current.layout = Z, E && E(Z), ye(b, Z, x.current));
1119
+ ke(z, Z) || (h(Z), w.current.layout = Z, E && E(Z), ye(S, Z, x.current));
1120
1120
  }
1121
1121
  }
1122
- }, []), $ = O((S) => {
1122
+ }, []), $ = O((b) => {
1123
1123
  const {
1124
1124
  layout: P,
1125
1125
  panelDataArray: E
1126
1126
  } = w.current, {
1127
1127
  panelSize: z
1128
- } = de(E, S, P);
1129
- return I(z != null, `Panel size not found for panel "${S.id}"`), z;
1130
- }, []), _ = O((S, P) => {
1128
+ } = de(E, b, P);
1129
+ return I(z != null, `Panel size not found for panel "${b.id}"`), z;
1130
+ }, []), _ = O((b, P) => {
1131
1131
  const {
1132
1132
  panelDataArray: E
1133
- } = w.current, z = ve(E, S);
1133
+ } = w.current, z = ve(E, b);
1134
1134
  return xr({
1135
1135
  defaultSize: P,
1136
1136
  dragState: p,
@@ -1138,71 +1138,71 @@ function jt({
1138
1138
  panelData: E,
1139
1139
  panelIndex: z
1140
1140
  });
1141
- }, [p, v]), M = O((S) => {
1141
+ }, [p, v]), M = O((b) => {
1142
1142
  const {
1143
1143
  layout: P,
1144
1144
  panelDataArray: E
1145
1145
  } = w.current, {
1146
1146
  collapsedSize: z = 0,
1147
- collapsible: b,
1147
+ collapsible: S,
1148
1148
  panelSize: C
1149
- } = de(E, S, P);
1150
- return I(C != null, `Panel size not found for panel "${S.id}"`), b === !0 && le(C, z);
1151
- }, []), U = O((S) => {
1149
+ } = de(E, b, P);
1150
+ return I(C != null, `Panel size not found for panel "${b.id}"`), S === !0 && le(C, z);
1151
+ }, []), U = O((b) => {
1152
1152
  const {
1153
1153
  layout: P,
1154
1154
  panelDataArray: E
1155
1155
  } = w.current, {
1156
1156
  collapsedSize: z = 0,
1157
- collapsible: b,
1157
+ collapsible: S,
1158
1158
  panelSize: C
1159
- } = de(E, S, P);
1160
- return I(C != null, `Panel size not found for panel "${S.id}"`), !b || ge(C, z) > 0;
1161
- }, []), F = O((S) => {
1159
+ } = de(E, b, P);
1160
+ return I(C != null, `Panel size not found for panel "${b.id}"`), !S || ge(C, z) > 0;
1161
+ }, []), F = O((b) => {
1162
1162
  const {
1163
1163
  panelDataArray: P
1164
1164
  } = w.current;
1165
- P.push(S), P.sort((E, z) => {
1166
- const b = E.order, C = z.order;
1167
- return b == null && C == null ? 0 : b == null ? -1 : C == null ? 1 : b - C;
1165
+ P.push(b), P.sort((E, z) => {
1166
+ const S = E.order, C = z.order;
1167
+ return S == null && C == null ? 0 : S == null ? -1 : C == null ? 1 : S - C;
1168
1168
  }), w.current.panelDataArrayChanged = !0, A();
1169
1169
  }, [A]);
1170
1170
  me(() => {
1171
1171
  if (w.current.panelDataArrayChanged) {
1172
1172
  w.current.panelDataArrayChanged = !1;
1173
1173
  const {
1174
- autoSaveId: S,
1174
+ autoSaveId: b,
1175
1175
  onLayout: P,
1176
1176
  storage: E
1177
1177
  } = k.current, {
1178
1178
  layout: z,
1179
- panelDataArray: b
1179
+ panelDataArray: S
1180
1180
  } = w.current;
1181
1181
  let C = null;
1182
- if (S) {
1183
- const N = Pr(S, b, E);
1182
+ if (b) {
1183
+ const N = Pr(b, S, E);
1184
1184
  N && (R.current = new Map(Object.entries(N.expandToSizes)), C = N.layout);
1185
1185
  }
1186
- C == null && (C = br({
1187
- panelDataArray: b
1186
+ C == null && (C = Sr({
1187
+ panelDataArray: S
1188
1188
  }));
1189
- const y = St({
1189
+ const y = bt({
1190
1190
  layout: C,
1191
- panelConstraints: b.map((N) => N.constraints)
1191
+ panelConstraints: S.map((N) => N.constraints)
1192
1192
  });
1193
- yt(z, y) || (h(y), w.current.layout = y, P && P(y), ye(b, y, x.current));
1193
+ yt(z, y) || (h(y), w.current.layout = y, P && P(y), ye(S, y, x.current));
1194
1194
  }
1195
1195
  }), me(() => {
1196
- const S = w.current;
1196
+ const b = w.current;
1197
1197
  return () => {
1198
- S.layout = [];
1198
+ b.layout = [];
1199
1199
  };
1200
1200
  }, []);
1201
- const H = O((S) => {
1201
+ const H = O((b) => {
1202
1202
  let P = !1;
1203
1203
  const E = m.current;
1204
- return E && window.getComputedStyle(E, null).getPropertyValue("direction") === "rtl" && (P = !0), function(b) {
1205
- b.preventDefault();
1204
+ return E && window.getComputedStyle(E, null).getPropertyValue("direction") === "rtl" && (P = !0), function(S) {
1205
+ S.preventDefault();
1206
1206
  const C = m.current;
1207
1207
  if (!C)
1208
1208
  return () => null;
@@ -1217,32 +1217,32 @@ function jt({
1217
1217
  panelDataArray: Ee
1218
1218
  } = w.current, {
1219
1219
  initialLayout: _e
1220
- } = N ?? {}, Ue = Ot(j, S, C);
1221
- let Z = Sr(b, S, y, N, J, C);
1220
+ } = N ?? {}, Ue = Ot(j, b, C);
1221
+ let Z = br(S, b, y, N, J, C);
1222
1222
  const ut = y === "horizontal";
1223
1223
  ut && P && (Z = -Z);
1224
- const bn = Ee.map((xn) => xn.constraints), Ie = De({
1224
+ const Sn = Ee.map((xn) => xn.constraints), Ie = De({
1225
1225
  delta: Z,
1226
1226
  initialLayout: _e ?? oe,
1227
- panelConstraints: bn,
1227
+ panelConstraints: Sn,
1228
1228
  pivotIndices: Ue,
1229
1229
  prevLayout: oe,
1230
- trigger: _t(b) ? "keyboard" : "mouse-or-touch"
1230
+ trigger: _t(S) ? "keyboard" : "mouse-or-touch"
1231
1231
  }), dt = !ke(oe, Ie);
1232
- (kt(b) || Tt(b)) && D.current != Z && (D.current = Z, !dt && Z !== 0 ? ut ? je(S, Z < 0 ? Vt : $t) : je(S, Z < 0 ? Ft : Kt) : je(S, 0)), dt && (h(Ie), w.current.layout = Ie, K && K(Ie), ye(Ee, Ie, x.current));
1232
+ (kt(S) || Tt(S)) && D.current != Z && (D.current = Z, !dt && Z !== 0 ? ut ? je(b, Z < 0 ? Vt : $t) : je(b, Z < 0 ? Ft : Kt) : je(b, 0)), dt && (h(Ie), w.current.layout = Ie, K && K(Ie), ye(Ee, Ie, x.current));
1233
1233
  };
1234
- }, []), V = O((S, P) => {
1234
+ }, []), V = O((b, P) => {
1235
1235
  const {
1236
1236
  onLayout: E
1237
1237
  } = k.current, {
1238
1238
  layout: z,
1239
- panelDataArray: b
1240
- } = w.current, C = b.map((oe) => oe.constraints), {
1239
+ panelDataArray: S
1240
+ } = w.current, C = S.map((oe) => oe.constraints), {
1241
1241
  panelSize: y,
1242
1242
  pivotIndices: N
1243
- } = de(b, S, z);
1244
- I(y != null, `Panel size not found for panel "${S.id}"`);
1245
- const J = ve(b, S) === b.length - 1 ? y - P : P - y, K = De({
1243
+ } = de(S, b, z);
1244
+ I(y != null, `Panel size not found for panel "${b.id}"`);
1245
+ const J = ve(S, b) === S.length - 1 ? y - P : P - y, K = De({
1246
1246
  delta: J,
1247
1247
  initialLayout: z,
1248
1248
  panelConstraints: C,
@@ -1250,24 +1250,24 @@ function jt({
1250
1250
  prevLayout: z,
1251
1251
  trigger: "imperative-api"
1252
1252
  });
1253
- ke(z, K) || (h(K), w.current.layout = K, E && E(K), ye(b, K, x.current));
1254
- }, []), Y = O((S, P) => {
1253
+ ke(z, K) || (h(K), w.current.layout = K, E && E(K), ye(S, K, x.current));
1254
+ }, []), Y = O((b, P) => {
1255
1255
  const {
1256
1256
  layout: E,
1257
1257
  panelDataArray: z
1258
1258
  } = w.current, {
1259
- collapsedSize: b = 0,
1259
+ collapsedSize: S = 0,
1260
1260
  collapsible: C
1261
1261
  } = P, {
1262
1262
  collapsedSize: y = 0,
1263
1263
  collapsible: N,
1264
1264
  maxSize: j = 100,
1265
1265
  minSize: J = 0
1266
- } = S.constraints, {
1266
+ } = b.constraints, {
1267
1267
  panelSize: K
1268
- } = de(z, S, E);
1269
- K != null && (C && N && le(K, b) ? le(b, y) || V(S, y) : K < J ? V(S, J) : K > j && V(S, j));
1270
- }, [V]), W = O((S, P) => {
1268
+ } = de(z, b, E);
1269
+ K != null && (C && N && le(K, S) ? le(S, y) || V(b, y) : K < J ? V(b, J) : K > j && V(b, j));
1270
+ }, [V]), W = O((b, P) => {
1271
1271
  const {
1272
1272
  direction: E
1273
1273
  } = k.current, {
@@ -1275,22 +1275,22 @@ function jt({
1275
1275
  } = w.current;
1276
1276
  if (!m.current)
1277
1277
  return;
1278
- const b = Oe(S, m.current);
1279
- I(b, `Drag handle element not found for id "${S}"`);
1278
+ const S = Oe(b, m.current);
1279
+ I(S, `Drag handle element not found for id "${b}"`);
1280
1280
  const C = Ut(E, P);
1281
1281
  g({
1282
- dragHandleId: S,
1283
- dragHandleRect: b.getBoundingClientRect(),
1282
+ dragHandleId: b,
1283
+ dragHandleRect: S.getBoundingClientRect(),
1284
1284
  initialCursorPosition: C,
1285
1285
  initialLayout: z
1286
1286
  });
1287
1287
  }, []), ee = O(() => {
1288
1288
  g(null);
1289
- }, []), he = O((S) => {
1289
+ }, []), he = O((b) => {
1290
1290
  const {
1291
1291
  panelDataArray: P
1292
- } = w.current, E = ve(P, S);
1293
- E >= 0 && (P.splice(E, 1), delete x.current[S.id], w.current.panelDataArrayChanged = !0, A());
1292
+ } = w.current, E = ve(P, b);
1293
+ E >= 0 && (P.splice(E, 1), delete x.current[b.id], w.current.panelDataArrayChanged = !0, A());
1294
1294
  }, [A]), ne = G(() => ({
1295
1295
  collapsePanel: X,
1296
1296
  direction: r,
@@ -1461,27 +1461,27 @@ function Rr({
1461
1461
  case "down": {
1462
1462
  M("drag"), ue = !1, I(z, 'Expected event to be defined for "down" action'), w($, z);
1463
1463
  const {
1464
- onDragging: b,
1464
+ onDragging: S,
1465
1465
  onPointerDown: C
1466
1466
  } = A.current;
1467
- b == null || b(!0), C == null || C();
1467
+ S == null || S(!0), C == null || C();
1468
1468
  break;
1469
1469
  }
1470
1470
  case "move": {
1471
1471
  const {
1472
- state: b
1472
+ state: S
1473
1473
  } = Y.current;
1474
- ue = !0, b !== "drag" && M("hover"), I(z, 'Expected event to be defined for "move" action'), H(z);
1474
+ ue = !0, S !== "drag" && M("hover"), I(z, 'Expected event to be defined for "move" action'), H(z);
1475
1475
  break;
1476
1476
  }
1477
1477
  case "up": {
1478
1478
  M("hover"), X();
1479
1479
  const {
1480
- onClick: b,
1480
+ onClick: S,
1481
1481
  onDragging: C,
1482
1482
  onPointerUp: y
1483
1483
  } = A.current;
1484
- C == null || C(!1), y == null || y(), ue || b == null || b();
1484
+ C == null || C(!1), y == null || y(), ue || S == null || S();
1485
1485
  break;
1486
1486
  }
1487
1487
  }
@@ -1690,7 +1690,7 @@ function Lr({ className: e }, t) {
1690
1690
  }
1691
1691
  const Eo = Fe(Lr);
1692
1692
  function _r({ card: e }) {
1693
- var P, E, z, b, C;
1693
+ var P, E, z, S, C;
1694
1694
  const t = Rn(), [n, r] = ce({}), { authToken: i } = Dn(), o = Xn(i == null ? void 0 : i.accessToken), { compiledAppearance: s } = Jn(), l = G(
1695
1695
  () => An(s),
1696
1696
  [s]
@@ -1788,7 +1788,7 @@ function _r({ card: e }) {
1788
1788
  },
1789
1789
  []
1790
1790
  ), W = (z = c.customCardPreferences) == null ? void 0 : z.componentName, ee = W ? m(W) : null, he = _n(
1791
- (b = c.customCardPreferences) == null ? void 0 : b.settings,
1791
+ (S = c.customCardPreferences) == null ? void 0 : S.settings,
1792
1792
  c
1793
1793
  ), ne = G(
1794
1794
  () => Qn(h),
@@ -1802,7 +1802,7 @@ function _r({ card: e }) {
1802
1802
  )
1803
1803
  ),
1804
1804
  [ne, g == null ? void 0 : g.slots]
1805
- ), S = G(
1805
+ ), b = G(
1806
1806
  () => kn(
1807
1807
  v === "multiple" ? Tn({
1808
1808
  slotOrderedCards: ne,
@@ -1848,7 +1848,7 @@ function _r({ card: e }) {
1848
1848
  onDataChange: Y,
1849
1849
  data: (D == null ? void 0 : D.records) || [],
1850
1850
  columns: (D == null ? void 0 : D.columns) || [],
1851
- formatTemporalBucketValue: S,
1851
+ formatTemporalBucketValue: b,
1852
1852
  filterInputs: F,
1853
1853
  filters: H,
1854
1854
  filterValues: [
@@ -1896,7 +1896,7 @@ function _r({ card: e }) {
1896
1896
  ...d || []
1897
1897
  ],
1898
1898
  inlineFilters: U,
1899
- formatTemporalBucketValue: S
1899
+ formatTemporalBucketValue: b
1900
1900
  })
1901
1901
  }
1902
1902
  ) })
@@ -2432,17 +2432,17 @@ const io = T.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ Ne(
2432
2432
  ));
2433
2433
  io.displayName = vn.displayName;
2434
2434
  const so = xt(null), lo = Fn();
2435
- function Sn(e) {
2435
+ function bn(e) {
2436
2436
  const t = rt(so) ?? lo;
2437
2437
  return En(t.subscribe, () => e(t.get()), () => e(null));
2438
2438
  }
2439
2439
  function Ro(e) {
2440
- return Sn(
2440
+ return bn(
2441
2441
  O((t) => (t == null ? void 0 : t.slot.zone) === e ? t.outcome : null, [e])
2442
2442
  );
2443
2443
  }
2444
2444
  function Do(e, t, n) {
2445
- return Sn(
2445
+ return bn(
2446
2446
  O(
2447
2447
  (r) => (r == null ? void 0 : r.slot.zone) !== e || r.outcome.kind === "refused" ? null : r.slot.beforeId === t ? "top" : !r.slot.beforeId && n ? "bottom" : null,
2448
2448
  [e, t, n]
@@ -1,4 +1,4 @@
1
- import { al as K } from "./validators-C-aOQlTB.js";
1
+ import { al as K } from "./validators-BdBzm_EV.js";
2
2
  function h(e) {
3
3
  const i = V(e);
4
4
  return i.length > 0 ? i.join(".") : void 0;
@@ -2,8 +2,8 @@ import { jsx as y, jsxs as de, Fragment as St } from "react/jsx-runtime";
2
2
  import * as l from "react";
3
3
  import De, { useLayoutEffect as Wi, useState as qr, forwardRef as Ui, useRef as gn, useMemo as Hi, useId as Vi, useImperativeHandle as zi } from "react";
4
4
  import "./index-CuHybtft.js";
5
- import "./validators-C-aOQlTB.js";
6
- import "./matrix-operation-contract-D6vYkZK4.js";
5
+ import "./validators-BdBzm_EV.js";
6
+ import "./matrix-operation-contract-L_SiObB7.js";
7
7
  import "./analytics-base-schemas-BKs3flFS.js";
8
8
  import "zod";
9
9
  import "../value-format-preferences/index.js";
@@ -2,7 +2,7 @@ var ft = Object.defineProperty;
2
2
  var ht = (e, t, r) => t in e ? ft(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var ne = (e, t, r) => ht(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import { z as S } from "zod";
5
- import { e as ct } from "./comparison-window-caption-CF90-I0i.js";
5
+ import { e as ct } from "./comparison-window-caption-BugAu7zS.js";
6
6
  var E = Uint8Array, I = Uint16Array, pe = Int32Array, xe = new E([
7
7
  0,
8
8
  0,