react-semaphor 0.1.546 → 0.1.547

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 (57) hide show
  1. package/dist/analytics-protocol/index.js +70 -67
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/briefings/index.js +1 -1
  4. package/dist/chunks/applied-constraints-DU-wndZ7.js +47 -0
  5. package/dist/chunks/{assistant-chat-BPXhulAx.js → assistant-chat-CK84cPAB.js} +106 -106
  6. package/dist/chunks/{bookmark-state-C4vetoa0.js → bookmark-state-Cu-a5ie_.js} +2 -8
  7. package/dist/chunks/{custom-visual-inputs-CkJW9pBS.js → custom-visual-inputs-ChL54gGm.js} +1 -1
  8. package/dist/chunks/{dashboard-C3CoKbGY.js → dashboard-DCk26-6i.js} +1 -1
  9. package/dist/chunks/{dashboard-briefing-launcher-Be4h-7My.js → dashboard-briefing-launcher-CQ1eYsGy.js} +528 -528
  10. package/dist/chunks/{dashboard-controls-bxPrlSyp.js → dashboard-controls-BMeZjF7r.js} +45 -45
  11. package/dist/chunks/{dashboard-json-BrjxIiRt.js → dashboard-json-BZqCoanC.js} +1 -1
  12. package/dist/chunks/{document-dashboard-inputs-CRVHpIHp.js → document-dashboard-inputs-tYd7ao0o.js} +94 -94
  13. package/dist/chunks/{edit-dashboard-visual-DYYYDjY6.js → edit-dashboard-visual-Bv3MHM_G.js} +281 -281
  14. package/dist/chunks/{column-catalog-BYnochWQ.js → filter-reach-copy-CGWsL_ez.js} +978 -861
  15. package/dist/chunks/{global-date-filter-utils-9d6m9-FE.js → global-date-filter-utils-BhAu8zIM.js} +4070 -3792
  16. package/dist/chunks/{index-DkQkMKa1.js → index-DmrLP5Ro.js} +30 -30
  17. package/dist/chunks/{raw-temporal-presentation-CBzrDOjM.js → raw-temporal-presentation-DypB7sMX.js} +1 -1
  18. package/dist/chunks/{report-preferences-dialog-4QEZWe5U.js → report-preferences-dialog-DoVyriYC.js} +59 -59
  19. package/dist/chunks/{resolve-dashboard-input-context-UpK_LBpL.js → resolve-dashboard-input-context-D0JDUa4h.js} +1511 -1612
  20. package/dist/chunks/{saved-dashboard-context-D_I3Lxk0.js → saved-dashboard-context-BfAH5j4L.js} +5 -5
  21. package/dist/chunks/{semaphor-ready-indicator-4zpRHE-X.js → semaphor-ready-indicator-CRm17oIP.js} +37137 -36459
  22. package/dist/chunks/{shelf-drop-preview-context-Cfw7TRAx.js → shelf-drop-preview-context-vy6P9THz.js} +80 -80
  23. package/dist/chunks/{table-settings-CunhoDUi.js → table-settings-WysCBj62.js} +133 -124
  24. package/dist/chunks/{use-create-flow-overlay-state-DZBZiiD-.js → use-create-flow-overlay-state-Csx_Xjsh.js} +2 -2
  25. package/dist/dashboard/index.js +2 -2
  26. package/dist/dashboard-authoring/index.js +1419 -1340
  27. package/dist/index.js +14 -14
  28. package/dist/surfboard/index.js +2 -2
  29. package/dist/types/components/surfboard/filter/types.d.ts +7 -0
  30. package/dist/types/components/surfboard/screen-size-preview-button.d.ts +7 -4
  31. package/dist/types/components/visual/matrix-table/matrix-card-view.d.ts +3 -0
  32. package/dist/types/index.js +2 -2
  33. package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-authoring.d.ts +346 -21
  34. package/dist/types/lib/dashboard-inputs/dashboard-filter-value-identity.d.ts +65 -0
  35. package/dist/types/lib/dashboard-inputs/resolve-selection-input.d.ts +3 -3
  36. package/dist/types/lib/hooks/use-dashboard-card.d.ts +2 -0
  37. package/dist/types/lib/matrix-table/matrix-delivery-policy.d.ts +1 -1
  38. package/dist/types/lib/matrix-table/matrix-runtime-types.d.ts +9 -1
  39. package/dist/types/lib/matrix-table/matrix-runtime.d.ts +5 -1
  40. package/dist/types/lib/query-context/dashboard-filter-mapping-resolution.d.ts +83 -13
  41. package/dist/types/lib/stores/dashboard-store.d.ts +12 -0
  42. package/dist/types/shared/analytics-protocol/applied-constraints.d.ts +57 -1
  43. package/dist/types/shared/assistant-protocol/context.d.ts +8 -8
  44. package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +2 -0
  45. package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +7 -0
  46. package/dist/types/shared/dashboard-authoring/click-to-filter-settings.d.ts +3 -3
  47. package/dist/types/shared/dashboard-authoring/dashboard-filter-automatic-target.d.ts +4 -4
  48. package/dist/types/shared/dashboard-authoring/dashboard-filter-mapping-contract.d.ts +3 -1
  49. package/dist/types/shared/dashboard-authoring/dashboard-filter-mapping-types.d.ts +27 -1
  50. package/dist/types/shared/dashboard-authoring/dashboard-filter-value-compatibility.d.ts +12 -3
  51. package/dist/types/shared/dashboard-authoring/filter-reach-copy.d.ts +18 -0
  52. package/dist/types/shared/dashboard-authoring/filter-reach-preview.d.ts +97 -0
  53. package/dist/types/shared/dashboard-authoring/index.d.ts +5 -1
  54. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +7 -0
  55. package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +26 -4
  56. package/dist/types/shared/dashboard-authoring/semantic-auto-join-card.d.ts +22 -0
  57. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
- import { jsxs as Me, jsx as L, Fragment as ft } from "react/jsx-runtime";
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 { aZ as In, a3 as ie, a_ as Pt, a4 as wt, a$ as ot, b0 as Ct, b1 as Rn, b2 as Dn, b3 as An, b4 as Mn, u as Re, b5 as Nn, b6 as Ln, b7 as _n, b8 as kn, b9 as Tn, ba as Hn, bb as Vn, bc as $n, bd as Fn } from "./semaphor-ready-indicator-4zpRHE-X.js";
4
+ import { aZ as In, a3 as ie, a_ as Pt, a4 as wt, a$ as ot, b0 as Ct, b1 as Rn, b2 as Dn, b3 as An, b4 as Nn, u as Re, b5 as Mn, b6 as Ln, b7 as _n, b8 as kn, b9 as Tn, ba as Hn, bb as Vn, bc as $n, bd as Fn } from "./semaphor-ready-indicator-CRm17oIP.js";
5
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-CEBOR4n7.js";
6
6
  import { f as Un, r as At } from "./editor-draft-sync-BN5qYHPF.js";
7
- import { cL as Wn, cM as Xn } from "./global-date-filter-utils-9d6m9-FE.js";
8
- import { f as Yn, r as Mt, g as Nt, a as Je, c as Te, n as jn, b as Qn } from "./custom-visual-inputs-CkJW9pBS.js";
7
+ import { cS as Wn, cT as Xn } from "./global-date-filter-utils-BhAu8zIM.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-ChL54gGm.js";
9
9
  import "./index-CuHybtft.js";
10
10
  import "./validators-C-aOQlTB.js";
11
11
  import "./matrix-operation-contract-D6vYkZK4.js";
@@ -17,7 +17,7 @@ import { u as Jn } from "./appearance-context-DEYtWinQ.js";
17
17
  const wo = zn.memo(function({
18
18
  context: t = "editor"
19
19
  } = {}) {
20
- return /* @__PURE__ */ Me(
20
+ return /* @__PURE__ */ Ne(
21
21
  "div",
22
22
  {
23
23
  "data-content": "fields-section",
@@ -82,7 +82,7 @@ function Lt({
82
82
  registerPanel: X,
83
83
  resizePanel: Q,
84
84
  unregisterPanel: $
85
- } = v, _ = st(s), N = q({
85
+ } = v, _ = st(s), M = q({
86
86
  callbacks: {
87
87
  onCollapse: d,
88
88
  onExpand: f,
@@ -105,39 +105,39 @@ function Lt({
105
105
  const {
106
106
  callbacks: F,
107
107
  constraints: H
108
- } = N.current, V = {
108
+ } = M.current, V = {
109
109
  ...H
110
110
  };
111
- N.current.id = _, N.current.idIsFromProps = s !== void 0, N.current.order = c, F.onCollapse = d, F.onExpand = f, F.onResize = u, H.collapsedSize = n, H.collapsible = r, H.defaultSize = i, H.maxSize = l, H.minSize = a, (V.collapsedSize !== H.collapsedSize || V.collapsible !== H.collapsible || V.maxSize !== H.maxSize || V.minSize !== H.minSize) && w(N.current, V);
111
+ M.current.id = _, M.current.idIsFromProps = s !== void 0, M.current.order = c, F.onCollapse = d, F.onExpand = f, F.onResize = u, H.collapsedSize = n, H.collapsible = r, H.defaultSize = i, H.maxSize = l, H.minSize = a, (V.collapsedSize !== H.collapsedSize || V.collapsible !== H.collapsible || V.maxSize !== H.maxSize || V.minSize !== H.minSize) && w(M.current, V);
112
112
  }), me(() => {
113
- const F = N.current;
113
+ const F = M.current;
114
114
  return X(F), () => {
115
115
  $(F);
116
116
  };
117
117
  }, [c, _, X, $]), zt(o, () => ({
118
118
  collapse: () => {
119
- h(N.current);
119
+ h(M.current);
120
120
  },
121
121
  expand: (F) => {
122
- A(N.current, F);
122
+ A(M.current, F);
123
123
  },
124
124
  getId() {
125
125
  return _;
126
126
  },
127
127
  getSize() {
128
- return x(N.current);
128
+ return x(M.current);
129
129
  },
130
130
  isCollapsed() {
131
- return k(N.current);
131
+ return k(M.current);
132
132
  },
133
133
  isExpanded() {
134
- return !k(N.current);
134
+ return !k(M.current);
135
135
  },
136
136
  resize: (F) => {
137
- Q(N.current, F);
137
+ Q(M.current, F);
138
138
  }
139
139
  }), [h, A, x, k, _, Q]);
140
- const U = R(N.current, i);
140
+ const U = R(M.current, i);
141
141
  return xe(p, {
142
142
  ...g,
143
143
  children: e,
@@ -293,7 +293,7 @@ function Ht(e) {
293
293
  }
294
294
  const Vt = 1, $t = 2, Ft = 4, Kt = 8, ur = or() === "coarse";
295
295
  let se = [], be = !1, fe = /* @__PURE__ */ new Map(), qe = /* @__PURE__ */ new Map();
296
- const Ne = /* @__PURE__ */ new Set();
296
+ const Me = /* @__PURE__ */ new Set();
297
297
  function dr(e, t, n, r, i) {
298
298
  var o;
299
299
  const {
@@ -304,9 +304,9 @@ function dr(e, t, n, r, i) {
304
304
  hitAreaMargins: r,
305
305
  setResizeHandlerState: i
306
306
  }, a = (o = fe.get(s)) !== null && o !== void 0 ? o : 0;
307
- return fe.set(s, a + 1), Ne.add(l), Ve(), function() {
307
+ return fe.set(s, a + 1), Me.add(l), Ve(), function() {
308
308
  var f;
309
- qe.delete(e), Ne.delete(l);
309
+ qe.delete(e), Me.delete(l);
310
310
  const u = (f = fe.get(s)) !== null && f !== void 0 ? f : 1;
311
311
  if (fe.set(s, u - 1), Ve(), u === 1 && fe.delete(s), se.includes(l)) {
312
312
  const c = se.indexOf(l);
@@ -373,7 +373,7 @@ function lt({
373
373
  }) {
374
374
  se.splice(0);
375
375
  let r = null;
376
- (e instanceof HTMLElement || e instanceof SVGElement) && (r = e), Ne.forEach((i) => {
376
+ (e instanceof HTMLElement || e instanceof SVGElement) && (r = e), Me.forEach((i) => {
377
377
  const {
378
378
  element: o,
379
379
  hitAreaMargins: s
@@ -426,7 +426,7 @@ function Ve() {
426
426
  capture: !0,
427
427
  signal: Qe.signal
428
428
  };
429
- Ne.size && (be ? (se.length > 0 && fe.forEach((t, n) => {
429
+ Me.size && (be ? (se.length > 0 && fe.forEach((t, n) => {
430
430
  const {
431
431
  body: r
432
432
  } = n;
@@ -439,7 +439,7 @@ function Ve() {
439
439
  }));
440
440
  }
441
441
  function $e(e, t) {
442
- Ne.forEach((n) => {
442
+ Me.forEach((n) => {
443
443
  const {
444
444
  setResizeHandlerState: r
445
445
  } = n, i = se.includes(n);
@@ -1078,7 +1078,7 @@ function jt({
1078
1078
  const b = z.map((j) => j.constraints), {
1079
1079
  collapsedSize: C = 0,
1080
1080
  panelSize: y,
1081
- pivotIndices: M
1081
+ pivotIndices: N
1082
1082
  } = de(z, S, E);
1083
1083
  if (I(y != null, `Panel size not found for panel "${S.id}"`), !le(y, C)) {
1084
1084
  R.current.set(S.id, y);
@@ -1086,7 +1086,7 @@ function jt({
1086
1086
  delta: J,
1087
1087
  initialLayout: E,
1088
1088
  panelConstraints: b,
1089
- pivotIndices: M,
1089
+ pivotIndices: N,
1090
1090
  prevLayout: E,
1091
1091
  trigger: "imperative-api"
1092
1092
  });
@@ -1103,12 +1103,12 @@ function jt({
1103
1103
  if (S.constraints.collapsible) {
1104
1104
  const C = b.map((oe) => oe.constraints), {
1105
1105
  collapsedSize: y = 0,
1106
- panelSize: M = 0,
1106
+ panelSize: N = 0,
1107
1107
  minSize: j = 0,
1108
1108
  pivotIndices: J
1109
1109
  } = de(b, S, z), K = P ?? j;
1110
- if (le(M, y)) {
1111
- const oe = R.current.get(S.id), Ee = oe != null && oe >= K ? oe : K, Ue = ve(b, S) === b.length - 1 ? M - Ee : Ee - M, Z = De({
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({
1112
1112
  delta: Ue,
1113
1113
  initialLayout: z,
1114
1114
  panelConstraints: C,
@@ -1138,7 +1138,7 @@ function jt({
1138
1138
  panelData: E,
1139
1139
  panelIndex: z
1140
1140
  });
1141
- }, [p, v]), N = O((S) => {
1141
+ }, [p, v]), M = O((S) => {
1142
1142
  const {
1143
1143
  layout: P,
1144
1144
  panelDataArray: E
@@ -1180,15 +1180,15 @@ function jt({
1180
1180
  } = w.current;
1181
1181
  let C = null;
1182
1182
  if (S) {
1183
- const M = Pr(S, b, E);
1184
- M && (R.current = new Map(Object.entries(M.expandToSizes)), C = M.layout);
1183
+ const N = Pr(S, b, E);
1184
+ N && (R.current = new Map(Object.entries(N.expandToSizes)), C = N.layout);
1185
1185
  }
1186
1186
  C == null && (C = br({
1187
1187
  panelDataArray: b
1188
1188
  }));
1189
1189
  const y = St({
1190
1190
  layout: C,
1191
- panelConstraints: b.map((M) => M.constraints)
1191
+ panelConstraints: b.map((N) => N.constraints)
1192
1192
  });
1193
1193
  yt(z, y) || (h(y), w.current.layout = y, P && P(y), ye(b, y, x.current));
1194
1194
  }
@@ -1208,7 +1208,7 @@ function jt({
1208
1208
  return () => null;
1209
1209
  const {
1210
1210
  direction: y,
1211
- dragState: M,
1211
+ dragState: N,
1212
1212
  id: j,
1213
1213
  keyboardResizeBy: J,
1214
1214
  onLayout: K
@@ -1217,8 +1217,8 @@ function jt({
1217
1217
  panelDataArray: Ee
1218
1218
  } = w.current, {
1219
1219
  initialLayout: _e
1220
- } = M ?? {}, Ue = Ot(j, S, C);
1221
- let Z = Sr(b, S, y, M, J, C);
1220
+ } = N ?? {}, Ue = Ot(j, S, C);
1221
+ let Z = Sr(b, S, y, N, J, C);
1222
1222
  const ut = y === "horizontal";
1223
1223
  ut && P && (Z = -Z);
1224
1224
  const bn = Ee.map((xn) => xn.constraints), Ie = De({
@@ -1239,14 +1239,14 @@ function jt({
1239
1239
  panelDataArray: b
1240
1240
  } = w.current, C = b.map((oe) => oe.constraints), {
1241
1241
  panelSize: y,
1242
- pivotIndices: M
1242
+ pivotIndices: N
1243
1243
  } = de(b, S, z);
1244
1244
  I(y != null, `Panel size not found for panel "${S.id}"`);
1245
1245
  const J = ve(b, S) === b.length - 1 ? y - P : P - y, K = De({
1246
1246
  delta: J,
1247
1247
  initialLayout: z,
1248
1248
  panelConstraints: C,
1249
- pivotIndices: M,
1249
+ pivotIndices: N,
1250
1250
  prevLayout: z,
1251
1251
  trigger: "imperative-api"
1252
1252
  });
@@ -1260,13 +1260,13 @@ function jt({
1260
1260
  collapsible: C
1261
1261
  } = P, {
1262
1262
  collapsedSize: y = 0,
1263
- collapsible: M,
1263
+ collapsible: N,
1264
1264
  maxSize: j = 100,
1265
1265
  minSize: J = 0
1266
1266
  } = S.constraints, {
1267
1267
  panelSize: K
1268
1268
  } = de(z, S, E);
1269
- K != null && (C && M && le(K, b) ? le(b, y) || V(S, y) : K < J ? V(S, J) : K > j && V(S, j));
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
1270
  }, [V]), W = O((S, P) => {
1271
1271
  const {
1272
1272
  direction: E
@@ -1299,7 +1299,7 @@ function jt({
1299
1299
  getPanelSize: $,
1300
1300
  getPanelStyle: _,
1301
1301
  groupId: c,
1302
- isPanelCollapsed: N,
1302
+ isPanelCollapsed: M,
1303
1303
  isPanelExpanded: U,
1304
1304
  reevaluatePanelConstraints: Y,
1305
1305
  registerPanel: F,
@@ -1309,7 +1309,7 @@ function jt({
1309
1309
  stopDragging: ee,
1310
1310
  unregisterPanel: he,
1311
1311
  panelGroupElement: m.current
1312
- }), [X, p, r, Q, $, _, c, N, U, Y, F, H, V, W, ee, he]), ue = {
1312
+ }), [X, p, r, Q, $, _, c, M, U, Y, F, H, V, W, ee, he]), ue = {
1313
1313
  display: "flex",
1314
1314
  flexDirection: r === "horizontal" ? "row" : "column",
1315
1315
  height: "100%",
@@ -1429,7 +1429,7 @@ function Rr({
1429
1429
  startDragging: w,
1430
1430
  stopDragging: X,
1431
1431
  panelGroupElement: Q
1432
- } = x, $ = st(i), [_, N] = ce("inactive"), [U, F] = ce(!1), [H, V] = ce(null), Y = q({
1432
+ } = x, $ = st(i), [_, M] = ce("inactive"), [U, F] = ce(!1), [H, V] = ce(null), Y = q({
1433
1433
  state: _
1434
1434
  });
1435
1435
  me(() => {
@@ -1454,12 +1454,12 @@ function Rr({
1454
1454
  fine: ee
1455
1455
  }, (P, E, z) => {
1456
1456
  if (!E) {
1457
- N("inactive");
1457
+ M("inactive");
1458
1458
  return;
1459
1459
  }
1460
1460
  switch (P) {
1461
1461
  case "down": {
1462
- N("drag"), ue = !1, I(z, 'Expected event to be defined for "down" action'), w($, z);
1462
+ M("drag"), ue = !1, I(z, 'Expected event to be defined for "down" action'), w($, z);
1463
1463
  const {
1464
1464
  onDragging: b,
1465
1465
  onPointerDown: C
@@ -1471,11 +1471,11 @@ function Rr({
1471
1471
  const {
1472
1472
  state: b
1473
1473
  } = Y.current;
1474
- ue = !0, b !== "drag" && N("hover"), I(z, 'Expected event to be defined for "move" action'), H(z);
1474
+ ue = !0, b !== "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
- N("hover"), X();
1478
+ M("hover"), X();
1479
1479
  const {
1480
1480
  onClick: b,
1481
1481
  onDragging: C,
@@ -1541,8 +1541,8 @@ function Qt() {
1541
1541
  );
1542
1542
  },
1543
1543
  [r, (d = n == null ? void 0 : n.customCardPreferences) == null ? void 0 : d.componentName]
1544
- ), o = Mt(n, i), s = G(
1545
- () => Nt({
1544
+ ), o = Nt(n, i), s = G(
1545
+ () => Mt({
1546
1546
  frame: t,
1547
1547
  configCard: n,
1548
1548
  isMultiInputVisual: o === "multiple"
@@ -1650,7 +1650,7 @@ function Ar({ className: e }, t) {
1650
1650
  }
1651
1651
  ) });
1652
1652
  }
1653
- const Co = Fe(Ar), Mr = 300, Nr = `# 'data' holds the SQL result.
1653
+ const Co = Fe(Ar), Nr = 300, Mr = `# 'data' holds the SQL result.
1654
1654
  # Set 'result' to a list of dicts to replace it, for example:
1655
1655
  # import pandas as pd
1656
1656
  # result = pd.DataFrame(data).to_dict('records')`;
@@ -1660,7 +1660,7 @@ function Lr({ className: e }, t) {
1660
1660
  const { value: u, onChange: c, flush: m } = Jt({
1661
1661
  storeValue: n,
1662
1662
  onStoreUpdate: o,
1663
- delay: Mr
1663
+ delay: Nr
1664
1664
  });
1665
1665
  return re(() => At(m), [m]), /* @__PURE__ */ L(
1666
1666
  Et,
@@ -1669,7 +1669,7 @@ function Lr({ className: e }, t) {
1669
1669
  value: u ?? "",
1670
1670
  onValueChange: c,
1671
1671
  language: "python",
1672
- placeholder: Nr,
1672
+ placeholder: Mr,
1673
1673
  ariaLabel: "Python code",
1674
1674
  embedded: !0,
1675
1675
  hideLineNumbers: !0,
@@ -1704,11 +1704,11 @@ function _r({ card: e }) {
1704
1704
  ((P = c.customCardPreferences) == null ? void 0 : P.url) || ""
1705
1705
  ), g = (E = p == null ? void 0 : p.visuals) == null ? void 0 : E.find(
1706
1706
  (y) => {
1707
- var M;
1708
- return y.name === ((M = c.customCardPreferences) == null ? void 0 : M.componentName);
1707
+ var N;
1708
+ return y.name === ((N = c.customCardPreferences) == null ? void 0 : N.componentName);
1709
1709
  }
1710
- ), v = Mt(c, g) ?? "single", h = G(
1711
- () => Nt({
1710
+ ), v = Nt(c, g) ?? "single", h = G(
1711
+ () => Mt({
1712
1712
  frame: a,
1713
1713
  configCard: c,
1714
1714
  isMultiInputVisual: v === "multiple"
@@ -1716,7 +1716,7 @@ function _r({ card: e }) {
1716
1716
  [a, c, v]
1717
1717
  ), A = G(() => {
1718
1718
  const y = h.findIndex(
1719
- (M) => (M == null ? void 0 : M.id) === e.id
1719
+ (N) => (N == null ? void 0 : N.id) === e.id
1720
1720
  );
1721
1721
  return y < 0 ? -1 : Je(e, y);
1722
1722
  }, [h, e]), x = G(() => v !== "multiple" || A < 0 ? e.type : Te(
@@ -1731,26 +1731,26 @@ function _r({ card: e }) {
1731
1731
  python: "",
1732
1732
  config: void 0,
1733
1733
  queryConfig: void 0
1734
- } : x !== e.type ? { ...e, type: x } : e, [e, x, v]), { data: D, effectiveCardConfig: k } = ot(R), w = Mn(), X = Re((y) => y.dashboard), Q = Re(
1734
+ } : x !== e.type ? { ...e, type: x } : e, [e, x, v]), { data: D, effectiveCardConfig: k } = ot(R), w = Nn(), X = Re((y) => y.dashboard), Q = Re(
1735
1735
  (y) => y.dashboardInputValues
1736
1736
  ), $ = Re(
1737
1737
  (y) => y.adHocFilterValues
1738
1738
  ), _ = Re(
1739
1739
  (y) => {
1740
- var M;
1741
- return ((M = y.reportContext) == null ? void 0 : M.calendar) ?? null;
1740
+ var N;
1741
+ return ((N = y.reportContext) == null ? void 0 : N.calendar) ?? null;
1742
1742
  }
1743
- ), N = Re((y) => y.selectedSheetId), U = G(
1744
- () => Nn({
1743
+ ), M = Re((y) => y.selectedSheetId), U = G(
1744
+ () => Mn({
1745
1745
  card: e,
1746
- sheetId: N || "",
1746
+ sheetId: M || "",
1747
1747
  inlineFilterValues: d,
1748
1748
  setInlineFilterValue: (y) => f(e.id, y),
1749
1749
  removeInlineFilterValue: (y) => u(e.id, y)
1750
1750
  }),
1751
1751
  [
1752
1752
  e,
1753
- N,
1753
+ M,
1754
1754
  d,
1755
1755
  f,
1756
1756
  u
@@ -1763,7 +1763,7 @@ function _r({ card: e }) {
1763
1763
  () => Ln({
1764
1764
  dashboard: X,
1765
1765
  card: e,
1766
- sheetId: N,
1766
+ sheetId: M,
1767
1767
  dashboardInputValues: Q,
1768
1768
  adHocFilterValues: $,
1769
1769
  transientContexts: w,
@@ -1775,12 +1775,12 @@ function _r({ card: e }) {
1775
1775
  Q,
1776
1776
  _,
1777
1777
  X,
1778
- N,
1778
+ M,
1779
1779
  w
1780
1780
  ]
1781
1781
  ), Y = O(
1782
- (y, M) => {
1783
- const j = jn(M);
1782
+ (y, N) => {
1783
+ const j = jn(N);
1784
1784
  r((J) => ({
1785
1785
  ...J,
1786
1786
  [y]: j
@@ -1795,9 +1795,9 @@ function _r({ card: e }) {
1795
1795
  [h]
1796
1796
  ), ue = G(
1797
1797
  () => ne.map(
1798
- (y, M) => Te(
1798
+ (y, N) => Te(
1799
1799
  y,
1800
- M,
1800
+ N,
1801
1801
  g == null ? void 0 : g.slots
1802
1802
  )
1803
1803
  ),
@@ -1829,7 +1829,7 @@ function _r({ card: e }) {
1829
1829
  t
1830
1830
  ]
1831
1831
  );
1832
- return W ? /* @__PURE__ */ L("div", { className: "semaphor-custom mb-3 flex grow basis-0 flex-col space-y-2 overflow-y-auto", children: /* @__PURE__ */ Me(
1832
+ return W ? /* @__PURE__ */ L("div", { className: "semaphor-custom mb-3 flex grow basis-0 flex-col space-y-2 overflow-y-auto", children: /* @__PURE__ */ Ne(
1833
1833
  Cn,
1834
1834
  {
1835
1835
  fallback: /* @__PURE__ */ L(ft, {}),
@@ -1858,10 +1858,10 @@ function _r({ card: e }) {
1858
1858
  inlineFilters: U
1859
1859
  }
1860
1860
  ),
1861
- ee && v === "multiple" && /* @__PURE__ */ Me(ft, { children: [
1862
- h.map((y, M) => {
1861
+ ee && v === "multiple" && /* @__PURE__ */ Ne(ft, { children: [
1862
+ h.map((y, N) => {
1863
1863
  if (!y) return null;
1864
- const j = Je(y, M), J = Te(
1864
+ const j = Je(y, N), J = Te(
1865
1865
  y,
1866
1866
  j,
1867
1867
  g == null ? void 0 : g.slots
@@ -2035,8 +2035,8 @@ var rn = ["PageUp", "PageDown"], on = ["ArrowUp", "ArrowDown", "ArrowLeft", "Arr
2035
2035
  }
2036
2036
  }), k = T.useRef(R);
2037
2037
  function w(_) {
2038
- const N = jr(R, _);
2039
- $(_, N);
2038
+ const M = jr(R, _);
2039
+ $(_, M);
2040
2040
  }
2041
2041
  function X(_) {
2042
2042
  $(_, h.current);
@@ -2045,10 +2045,10 @@ var rn = ["PageUp", "PageDown"], on = ["ArrowUp", "ArrowDown", "ArrowLeft", "Arr
2045
2045
  const _ = k.current[h.current];
2046
2046
  R[h.current] !== _ && c(R);
2047
2047
  }
2048
- function $(_, N, { commit: U } = { commit: !1 }) {
2048
+ function $(_, M, { commit: U } = { commit: !1 }) {
2049
2049
  const F = eo(o), H = to(Math.round((_ - r) / o) * o + r, F), V = Dt(H, [r, i]);
2050
2050
  D((Y = []) => {
2051
- const W = Xr(Y, V, N);
2051
+ const W = Xr(Y, V, M);
2052
2052
  if (Zr(W, a * o)) {
2053
2053
  h.current = W.indexOf(V);
2054
2054
  const ee = String(W) !== String(Y);
@@ -2088,9 +2088,9 @@ var rn = ["PageUp", "PageDown"], on = ["ArrowUp", "ArrowDown", "ArrowLeft", "Arr
2088
2088
  onSlideEnd: l ? void 0 : Q,
2089
2089
  onHomeKeyDown: () => !l && $(r, 0, { commit: !0 }),
2090
2090
  onEndKeyDown: () => !l && $(i, R.length - 1, { commit: !0 }),
2091
- onStepKeyDown: ({ event: _, direction: N }) => {
2091
+ onStepKeyDown: ({ event: _, direction: M }) => {
2092
2092
  if (!l) {
2093
- const H = rn.includes(_.key) || _.shiftKey && on.includes(_.key) ? 10 : 1, V = h.current, Y = R[V], W = o * H * N;
2093
+ const H = rn.includes(_.key) || _.shiftKey && on.includes(_.key) ? 10 : 1, V = h.current, Y = R[V], W = o * H * M;
2094
2094
  $(Y + W, V, { commit: !0 });
2095
2095
  }
2096
2096
  }
@@ -2303,7 +2303,7 @@ var nt = "SliderThumb", gn = T.forwardRef(
2303
2303
  return s.thumbs.add(a), () => {
2304
2304
  s.thumbs.delete(a);
2305
2305
  };
2306
- }, [a, s.thumbs]), /* @__PURE__ */ Me(
2306
+ }, [a, s.thumbs]), /* @__PURE__ */ Ne(
2307
2307
  "span",
2308
2308
  {
2309
2309
  style: {
@@ -2415,7 +2415,7 @@ function to(e, t) {
2415
2415
  return Math.round(e * n) / n;
2416
2416
  }
2417
2417
  var vn = an, no = pn, ro = mn, oo = gn;
2418
- const io = T.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ Me(
2418
+ const io = T.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ Ne(
2419
2419
  vn,
2420
2420
  {
2421
2421
  ref: n,