react-semaphor 0.1.545 → 0.1.546

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 (141) hide show
  1. package/dist/analytics-protocol/index.js +405 -442
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/assistant-protocol/index.js +100 -76
  4. package/dist/brand-studio/index.js +4 -4
  5. package/dist/briefings/index.js +6 -6
  6. package/dist/chunks/{add-to-dashboard-BuAqfA2Y.js → add-to-dashboard-BQRAAnc3.js} +55 -33
  7. package/dist/chunks/{analytics-base-schemas-BFAoRlkU.js → analytics-base-schemas-BKs3flFS.js} +2 -2
  8. package/dist/chunks/{assistant-chat-D7sWTypJ.js → assistant-chat-BPXhulAx.js} +2826 -2595
  9. package/dist/chunks/{bookmark-state-CXw7lZ50.js → bookmark-state-C4vetoa0.js} +7 -8
  10. package/dist/chunks/column-catalog-BYnochWQ.js +3363 -0
  11. package/dist/chunks/comparison-window-caption-C2xF-eWw.js +1433 -0
  12. package/dist/chunks/{context-ClREvqCZ.js → context-BerEBuFR.js} +11 -6
  13. package/dist/chunks/custom-visual-inputs-CkJW9pBS.js +295 -0
  14. package/dist/chunks/{dashboard-B1tMju0u.js → dashboard-C3CoKbGY.js} +1 -1
  15. package/dist/chunks/dashboard-briefing-launcher-Be4h-7My.js +3734 -0
  16. package/dist/chunks/dashboard-controls-bxPrlSyp.js +2307 -0
  17. package/dist/chunks/{dashboard-json-CoYRPqxx.js → dashboard-json-BrjxIiRt.js} +5 -5
  18. package/dist/chunks/{document-dashboard-inputs-BesAHZvB.js → document-dashboard-inputs-CRVHpIHp.js} +872 -974
  19. package/dist/chunks/{edit-dashboard-visual-JPtNfJRb.js → edit-dashboard-visual-DYYYDjY6.js} +2361 -2447
  20. package/dist/chunks/{filter-value-text-ff7osJr7.js → filter-value-text-Ddf55Ku1.js} +9 -9
  21. package/dist/chunks/global-date-filter-utils-9d6m9-FE.js +11859 -0
  22. package/dist/chunks/index-CtoK1Lgu.js +586 -0
  23. package/dist/chunks/{index-DRWiuqyd.js → index-DkQkMKa1.js} +80 -79
  24. package/dist/chunks/list-filter-DsaTbM3J.js +15 -0
  25. package/dist/chunks/matrix-analytical-definition-B9vW-osb.js +717 -0
  26. package/dist/chunks/{matrix-card-DjwWcCo8.js → matrix-card-LiMEipvq.js} +3 -3
  27. package/dist/chunks/{matrix-formatter-DnCyRXJE.js → matrix-formatter-DWEeC0_c.js} +44 -44
  28. package/dist/chunks/{matrix-member-presentation-CQGdVks6.js → matrix-member-presentation-DqzG-UhQ.js} +1 -1
  29. package/dist/chunks/{matrix-operation-contract-8OIO4gob.js → matrix-operation-contract-D6vYkZK4.js} +72 -72
  30. package/dist/chunks/{metric-comparison-DEwi9uc2.js → metric-comparison-zpGw4lD6.js} +2 -2
  31. package/dist/chunks/normalize-dashboard-for-dirty-check-XKgH3GFX.js +119 -0
  32. package/dist/chunks/{pivot-header-presentation-DHcx1XGQ.js → pivot-header-presentation-CQnIDtUv.js} +1 -1
  33. package/dist/chunks/{pivot-result-identity-DJhXXcns.js → pivot-result-identity-C-Q1j1Wb.js} +1 -1
  34. package/dist/chunks/{pivot-result-lifecycle-DM4CyGKs.js → pivot-result-lifecycle-pwq3b7LC.js} +571 -380
  35. package/dist/chunks/{raw-temporal-contract-C51YG48G.js → raw-temporal-contract-WuXA8jBP.js} +1 -1
  36. package/dist/chunks/{raw-temporal-presentation-C3mUgnEx.js → raw-temporal-presentation-CBzrDOjM.js} +8 -8
  37. package/dist/chunks/{report-preferences-dialog-DUtuUL_5.js → report-preferences-dialog-4QEZWe5U.js} +111 -112
  38. package/dist/chunks/{report-runtime-context-Dq8XyODK.js → report-runtime-context-hWiTCzFV.js} +2 -2
  39. package/dist/chunks/resolve-dashboard-input-context-UpK_LBpL.js +5677 -0
  40. package/dist/chunks/{saved-dashboard-context-LrF_kW0l.js → saved-dashboard-context-D_I3Lxk0.js} +34 -34
  41. package/dist/chunks/{selection-reducer-Dj_8xD69.js → selection-reducer-CJzkTZio.js} +15 -15
  42. package/dist/chunks/{semaphor-ready-indicator-BxF96Yhv.js → semaphor-ready-indicator-4zpRHE-X.js} +45823 -47304
  43. package/dist/chunks/{shelf-drop-preview-context-CNaM_Gmh.js → shelf-drop-preview-context-Cfw7TRAx.js} +84 -84
  44. package/dist/chunks/{source-entity-resolution-BYn9giz3.js → source-entity-resolution-BIGRvtbG.js} +13 -13
  45. package/dist/chunks/{switch-uDtPgQlQ.js → switch-CEBOR4n7.js} +3 -3
  46. package/dist/chunks/{table-export-sheet-YzMioA7Y.js → table-export-sheet-4X9mAG3V.js} +1 -1
  47. package/dist/chunks/table-settings-CunhoDUi.js +605 -0
  48. package/dist/chunks/{temporal-bucket-D7NBrrtL.js → temporal-bucket-CQOSbv9-.js} +26 -26
  49. package/dist/chunks/{token-types-DBbZVQsm.js → token-types-BMqRmT-C.js} +1 -1
  50. package/dist/chunks/{use-create-flow-overlay-state-CjB7ig1o.js → use-create-flow-overlay-state-DZBZiiD-.js} +101 -101
  51. package/dist/chunks/{validators-DMHTpf7a.js → validators-C-aOQlTB.js} +713 -658
  52. package/dist/chunks/{relative-date-label-Bk2j94pA.js → zoned-wall-clock-MulfA26h.js} +64 -21
  53. package/dist/dashboard/index.js +2 -2
  54. package/dist/dashboard-authoring/index.js +1802 -1149
  55. package/dist/data-app-sdk/index.js +6 -6
  56. package/dist/data-app-sdk-adapters/index.js +3 -3
  57. package/dist/data-app-sdk-validation/index.js +14 -14
  58. package/dist/format-utils/index.js +133 -133
  59. package/dist/index.js +192 -186
  60. package/dist/layouts/index.js +5 -242
  61. package/dist/report-runtime-context/index.js +2 -2
  62. package/dist/shared/index.js +4 -5
  63. package/dist/style.css +1 -1
  64. package/dist/surfboard/index.js +2 -2
  65. package/dist/types/components/index.d.ts +2 -0
  66. package/dist/types/components/surfboard/arrange-layout-button.d.ts +8 -0
  67. package/dist/types/components/surfboard/screen-size-preview-button.d.ts +7 -0
  68. package/dist/types/index.js +6 -6
  69. package/dist/types/lib/charts/table-chart-types.d.ts +4 -0
  70. package/dist/types/lib/charts/types.d.ts +2 -2
  71. package/dist/types/lib/dashboard-inputs/dashboard-input-values.d.ts +6 -0
  72. package/dist/types/lib/dashboard-inputs/filter-settings.d.ts +2 -0
  73. package/dist/types/lib/dashboard-inputs/prepare-loaded-dashboard.d.ts +15 -0
  74. package/dist/types/lib/matrix-table/matrix-editor.d.ts +52 -0
  75. package/dist/types/lib/query-context/dashboard-filter-mapping-resolution.d.ts +69 -0
  76. package/dist/types/lib/stores/dashboard-store.d.ts +125 -6
  77. package/dist/types/lib/types/common-types.d.ts +8 -0
  78. package/dist/types/lib/types/explorer-types.d.ts +10 -0
  79. package/dist/types/lib/types/semantic-types.d.ts +84 -0
  80. package/dist/types/lib/utils/build-saved-editor-card.d.ts +20 -0
  81. package/dist/types/lib/utils/card-type-change.d.ts +16 -0
  82. package/dist/types/lib/utils/field-availability-context.d.ts +25 -0
  83. package/dist/types/lib/utils/field-placement.d.ts +96 -0
  84. package/dist/types/lib/utils/field-state-calculator.d.ts +161 -0
  85. package/dist/types/lib/utils/qualified-entity-name.d.ts +2 -0
  86. package/dist/types/shared/analytics-protocol/field-provenance.d.ts +89 -0
  87. package/dist/types/shared/analytics-protocol/index.d.ts +2 -0
  88. package/dist/types/shared/analytics-protocol/query-policies.d.ts +52 -0
  89. package/dist/types/shared/analytics-protocol/time-window-schema.d.ts +1 -1
  90. package/dist/types/shared/analytics-protocol/time-window.d.ts +40 -1
  91. package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +4 -1
  92. package/dist/types/shared/assistant-protocol/answer-text.d.ts +20 -0
  93. package/dist/types/shared/assistant-protocol/context.d.ts +21 -21
  94. package/dist/types/shared/assistant-protocol/index.d.ts +1 -0
  95. package/dist/types/shared/assistant-protocol/limits.d.ts +6 -1
  96. package/dist/types/shared/assistant-protocol/parts.d.ts +43 -3
  97. package/dist/types/shared/assistant-protocol/request.d.ts +14 -2
  98. package/dist/types/shared/dashboard-authoring/calculated-field-identity.d.ts +3 -0
  99. package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +487 -0
  100. package/dist/types/shared/dashboard-authoring/changes/card-types.d.ts +34 -0
  101. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +7886 -0
  102. package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +43 -0
  103. package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +54 -0
  104. package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +89 -0
  105. package/dist/types/shared/dashboard-authoring/column-catalog.d.ts +32 -0
  106. package/dist/types/shared/dashboard-authoring/contracts.d.ts +0 -55
  107. package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +24 -14
  108. package/dist/types/shared/dashboard-authoring/dashboard-card-source-index.d.ts +9 -1
  109. package/dist/types/shared/dashboard-authoring/dashboard-input-scope.d.ts +26 -0
  110. package/dist/types/shared/dashboard-authoring/filter-applicability.d.ts +75 -0
  111. package/dist/types/shared/dashboard-authoring/index.d.ts +18 -2
  112. package/dist/types/shared/dashboard-authoring/operations/apply-dashboard-operations.d.ts +10 -37
  113. package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +189 -0
  114. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +94 -0
  115. package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +78 -0
  116. package/dist/types/shared/dashboard-authoring/validators.d.ts +1 -2
  117. package/dist/types/shared/layouts/engine/grid.d.ts +25 -0
  118. package/dist/types/shared/layouts/engine/index.d.ts +4 -0
  119. package/dist/types/shared/layouts/engine/sheet-layout.d.ts +7 -0
  120. package/dist/types/shared/layouts/engine/types.d.ts +125 -0
  121. package/dist/types/shared/layouts/index.d.ts +1 -2
  122. package/package.json +2 -2
  123. package/dist/chunks/apply-dashboard-operations-CZEMsx8E.js +0 -2080
  124. package/dist/chunks/calendar-day-equality-dvoQp1xW.js +0 -410
  125. package/dist/chunks/comparison-window-caption-D4E6IHPD.js +0 -1624
  126. package/dist/chunks/custom-visual-inputs-DLCD9Y5V.js +0 -329
  127. package/dist/chunks/dashboard-briefing-launcher-CePgIu0Z.js +0 -3720
  128. package/dist/chunks/dashboard-controls-Cq05n3e0.js +0 -2315
  129. package/dist/chunks/dashboard-filter-value-compatibility-CwQ_iSNb.js +0 -108
  130. package/dist/chunks/matrix-analytical-definition-C7Gb0e12.js +0 -117
  131. package/dist/chunks/normalize-dashboard-for-dirty-check-Bk3VYv_q.js +0 -67
  132. package/dist/chunks/numeric-presentation-7X_IrD58.js +0 -5226
  133. package/dist/chunks/resolve-dashboard-input-context-DJ2tICwz.js +0 -9415
  134. package/dist/chunks/stable-serialize-CfqXeiBP.js +0 -6
  135. package/dist/chunks/table-settings-CLZocegs.js +0 -501
  136. package/dist/chunks/use-debounced-dirty-check-BwAbnX_5.js +0 -59
  137. package/dist/chunks/zoned-wall-clock-BkxV9jS2.js +0 -46
  138. package/dist/types/shared/dashboard-authoring/change-compiler.d.ts +0 -7
  139. package/dist/types/shared/dashboard-authoring/layout-compiler.d.ts +0 -2
  140. package/dist/types/shared/layouts/create-frame-layouts.d.ts +0 -27
  141. package/dist/types/shared/layouts/frame-layouts.d.ts +0 -23
@@ -1,16 +1,15 @@
1
1
  var Z = Object.defineProperty;
2
2
  var G = (e, t, r) => t in e ? Z(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var k = (e, t, r) => G(e, typeof t != "symbol" ? t + "" : t, r);
4
- import { c as Q, e as M, r as U, l as H, d as K, a as W, i as X, b as Y, f as ee } from "./resolve-dashboard-input-context-DJ2tICwz.js";
5
- import { r as te, p as E, a as re, b as L, c as ae, d as ne, g as se } from "./document-dashboard-inputs-BesAHZvB.js";
6
- import { v } from "./table-settings-CLZocegs.js";
7
- import { f as g, A as P, c as oe, d as ie, e as D } from "./context-ClREvqCZ.js";
8
- import { a as de, T as le, P as ce, o as I, d as O, b as _ } from "./filter-value-text-ff7osJr7.js";
9
- import { y as ue, al as me } from "./validators-DMHTpf7a.js";
10
- import { b as fe } from "./metric-comparison-DEwi9uc2.js";
11
- import { n as pe, g as he, b as ge } from "./numeric-presentation-7X_IrD58.js";
12
- import { i as be } from "./custom-visual-inputs-DLCD9Y5V.js";
13
- import { s as Ce } from "./stable-serialize-CfqXeiBP.js";
4
+ import { c as Q, e as M, r as U, l as H, b as K, p as E, a as W } from "./resolve-dashboard-input-context-UpK_LBpL.js";
5
+ import { r as X, a as Y, b as L, c as ee, d as te, g as re } from "./document-dashboard-inputs-CRVHpIHp.js";
6
+ import { w as v } from "./table-settings-CunhoDUi.js";
7
+ import { s as ae, n as ne, g as se, d as oe, a as ie, i as de, b as le } from "./global-date-filter-utils-9d6m9-FE.js";
8
+ import { f as g, A as P, c as ce, d as ue, e as D } from "./context-BerEBuFR.js";
9
+ import { a as me, T as fe, P as pe, o as I, d as O, b as _ } from "./filter-value-text-Ddf55Ku1.js";
10
+ import { v as he, ad as ge } from "./validators-C-aOQlTB.js";
11
+ import { b as be } from "./metric-comparison-zpGw4lD6.js";
12
+ import { i as Ce } from "./custom-visual-inputs-CkJW9pBS.js";
14
13
  function Ie(e) {
15
14
  const t = e.qualifiedFieldName || e.name;
16
15
  return e.label && e.label !== t ? `${e.label} (field ${t})` : t;
@@ -38,18 +37,18 @@ function j(e, t) {
38
37
  }
39
38
  function xe(e, t) {
40
39
  const r = Array.isArray(e.value) ? e.value : [e.value];
41
- return de({
40
+ return me({
42
41
  subject: Ie(e.field),
43
42
  operator: e.operator,
44
43
  values: r,
45
44
  reading: Se(e),
46
- relative: ue(e.relativeMeta),
45
+ relative: he(e.relativeMeta),
47
46
  latestValue: e.latestValue,
48
47
  shownAs: e.label
49
48
  }, t);
50
49
  }
51
50
  function Se(e) {
52
- return e.temporalBucket ? { kind: "bucket", bucket: e.temporalBucket } : me(e.field.dataType) ? le : ce;
51
+ return e.temporalBucket ? { kind: "bucket", bucket: e.temporalBucket } : ge(e.field.dataType) ? fe : pe;
53
52
  }
54
53
  function B(e) {
55
54
  if (e.kind === "target") return `a target of ${e.targetValue}`;
@@ -67,7 +66,7 @@ function Ve(e, t) {
67
66
  return `${e} is compared with ${B(t.spec)} (${r})`;
68
67
  }
69
68
  function $(e) {
70
- const t = Ce(e) ?? "undefined";
69
+ const t = ae(e) ?? "undefined";
71
70
  return `${w(t, 2654435769).toString(16)}${w(t, 2246822507).toString(16)}`;
72
71
  }
73
72
  function w(e, t) {
@@ -122,8 +121,8 @@ function $e(e, t, r) {
122
121
  }
123
122
  function _e(e, t) {
124
123
  if (e.type === "matrixTable") return "matrix";
125
- if (e.type === "custom" || be(e)) return "custom_visual";
126
- if (pe(e.python ?? "").trim()) return "python";
124
+ if (e.type === "custom" || Ce(e)) return "custom_visual";
125
+ if (ne(e.python ?? "").trim()) return "python";
127
126
  if (t === "pending") return "snapshot_pending";
128
127
  if ((t == null ? void 0 : t.status) !== "ready") return "snapshot_blocked";
129
128
  }
@@ -142,7 +141,7 @@ const ke = [
142
141
  ["detail", "details"]
143
142
  ];
144
143
  function De(e) {
145
- const { fields: t } = he({
144
+ const { fields: t } = se({
146
145
  type: e.card.type,
147
146
  config: e.queryContext.finalConfig
148
147
  });
@@ -160,7 +159,7 @@ function De(e) {
160
159
  function we(e) {
161
160
  const t = e.queryContext;
162
161
  return (t.finalConfig.metricColumns ?? []).flatMap((r) => {
163
- const a = fe({
162
+ const a = be({
164
163
  metricComparison: r.comparison,
165
164
  globalDateComparison: t.globalDateComparison
166
165
  });
@@ -305,8 +304,8 @@ function Re(e, t, r) {
305
304
  return { ...N(e), ...$e(e, t, { calendar: r }) };
306
305
  }
307
306
  function A(e) {
308
- const t = oe(e);
309
- if (t > C.contextBytes) throw new ie(t);
307
+ const t = ce(e);
308
+ if (t > C.contextBytes) throw new ue(t);
310
309
  return e;
311
310
  }
312
311
  function x(e) {
@@ -323,7 +322,7 @@ function N(e) {
323
322
  }
324
323
  function je(e) {
325
324
  var r;
326
- const t = ge(e);
325
+ const t = le(e);
327
326
  if (t.kind === "config")
328
327
  return t.executableSources.length === 1 ? t.executableSources[0] : void 0;
329
328
  if (t.kind === "sql") {
@@ -332,7 +331,7 @@ function je(e) {
332
331
  }
333
332
  }
334
333
  function Be(e, t, r) {
335
- const { dashboard: a } = e, n = t.kind === "document" ? "document" : "dashboard", s = n === "document" ? void 0 : e.transientContexts, { shouldApplyDashboardFilters: d } = te(s), u = (l, m) => U({
334
+ const { dashboard: a } = e, n = t.kind === "document" ? "document" : "dashboard", s = n === "document" ? void 0 : e.transientContexts, { shouldApplyDashboardFilters: d } = X(s), u = (l, m) => U({
336
335
  dashboard: a,
337
336
  sheetId: t.id,
338
337
  card: l,
@@ -355,7 +354,7 @@ function Be(e, t, r) {
355
354
  for (const l of r) {
356
355
  if (i.length === 0) break;
357
356
  const m = l.kind === "documentSectionCard" ? l.sectionId : void 0, h = { sheetId: t.id, sheetKind: n, cardId: l.cardId, sectionId: m };
358
- if (i.some((b) => K(b, h))) {
357
+ if (i.some((b) => oe(b, h))) {
359
358
  try {
360
359
  f(u(l.card, m));
361
360
  } catch {
@@ -369,7 +368,7 @@ function Be(e, t, r) {
369
368
  }
370
369
  return [...o.values()].flatMap((l) => {
371
370
  if (!l.resolved) return [];
372
- const m = l.input.kind === "filter" && !d && !W(l.input), h = ze(l, e.calendar.tz, m);
371
+ const m = l.input.kind === "filter" && !d && !ie(l.input), h = ze(l, e.calendar.tz, m);
373
372
  return h ? [h] : [];
374
373
  });
375
374
  }
@@ -387,7 +386,7 @@ function ze(e, t, r) {
387
386
  const { input: a, resolved: n } = e, s = x(a.label), d = {
388
387
  inputId: a.id,
389
388
  label: s,
390
- ...a.kind === "filter" && X(a.filter) ? { globalDate: !0 } : {}
389
+ ...a.kind === "filter" && de(a.filter) ? { globalDate: !0 } : {}
391
390
  };
392
391
  if (a.runtimeScope === "perCard" || a.runtimeScope === "perDocumentSection")
393
392
  return { ...d, value: { kind: "varies" } };
@@ -416,11 +415,11 @@ function ze(e, t, r) {
416
415
  }
417
416
  };
418
417
  }
419
- function st(e) {
418
+ function nt(e) {
420
419
  return Je(e).context;
421
420
  }
422
421
  function Je(e) {
423
- const { place: t, calendar: r } = e, a = E(e.dashboard), n = ae({ dashboard: a, host: {}, calendar: r, materializeInputs: !1 }), s = {
422
+ const { place: t, calendar: r } = e, a = E(e.dashboard), n = ee({ dashboard: a, host: {}, calendar: r, materializeInputs: !1 }), s = {
424
423
  ...L({ dashboard: a, capture: {}, calendar: r }).runtimeValues,
425
424
  cardViewState: t.cardViewState ?? {}
426
425
  }, d = t.cardId ? Ge(a, t.cardId) : void 0, u = d ? z({
@@ -443,6 +442,7 @@ function Je(e) {
443
442
  });
444
443
  return {
445
444
  context: o,
445
+ openDashboard: a,
446
446
  ...o.selectedCard && u !== void 0 ? { cardReplay: Ze({ dashboard: a, cardId: o.selectedCard.id, snapshot: u }) } : {}
447
447
  };
448
448
  }
@@ -468,7 +468,7 @@ function Ge(e, t) {
468
468
  }
469
469
  function z(e) {
470
470
  const { dashboard: t, location: r, runtimeValues: a } = e, n = r.kind === "documentSectionCard" ? Qe(t, r) : void 0;
471
- return ne({
471
+ return te({
472
472
  dashboard: t,
473
473
  cardId: r.cardId,
474
474
  cardOverride: r.card,
@@ -502,15 +502,15 @@ function J(e) {
502
502
  if (t.matrix) return { status: "unavailable", reason: "matrix" };
503
503
  if (!t.request) return { status: "unavailable", reason: "no_query" };
504
504
  try {
505
- const { connectionId: a, requestPayloadBase: n } = Y(t.card, t.request);
505
+ const { connectionId: a, requestPayloadBase: n } = K(t.card, t.request);
506
506
  return { status: "ready", request: { cardId: t.card.id, connectionId: a, payload: n } };
507
507
  } catch {
508
508
  return { status: "unavailable", reason: "no_query" };
509
509
  }
510
510
  }
511
- function ot(e) {
511
+ function st(e) {
512
512
  const { calendar: t } = e, r = e.host ?? {}, a = E(
513
- r.controlContract ? re(ee(e.dashboard), {
513
+ r.controlContract ? Y(W(e.dashboard), {
514
514
  controlContractOverrides: r.controlContract,
515
515
  cardId: e.cardId
516
516
  }) : e.dashboard
@@ -541,7 +541,7 @@ function ot(e) {
541
541
  function Qe(e, t) {
542
542
  var a, n, s;
543
543
  const r = (a = e.sheets) == null ? void 0 : a.find((d) => d.id === t.sheetId);
544
- if ((s = (n = r == null ? void 0 : r.document) == null ? void 0 : n.inputs) != null && s.length && se(e, t.sheetId).length === 0)
544
+ if ((s = (n = r == null ? void 0 : r.document) == null ? void 0 : n.inputs) != null && s.length && re(e, t.sheetId).length === 0)
545
545
  throw new S(
546
546
  "document_inputs_not_built",
547
547
  `card ${t.cardId} runs with the document's own inputs on sheet ${t.sheetId}, which only the page builds`
@@ -557,9 +557,9 @@ function Qe(e, t) {
557
557
  export {
558
558
  S as A,
559
559
  Ze as a,
560
- ot as b,
560
+ st as b,
561
561
  J as c,
562
- st as d,
562
+ nt as d,
563
563
  Je as e,
564
564
  Oe as p
565
565
  };
@@ -1,12 +1,12 @@
1
- import { c } from "./x-4f5U2XwU.js";
2
- import { y as h, r as f } from "./matrix-operation-contract-8OIO4gob.js";
1
+ import { c as r } from "./x-4f5U2XwU.js";
2
+ import { x as h, q as f } from "./matrix-operation-contract-D6vYkZK4.js";
3
3
  /**
4
4
  * @license lucide-react v0.453.0 - ISC
5
5
  *
6
6
  * This source code is licensed under the ISC license.
7
7
  * See the LICENSE file in the root directory of this source tree.
8
8
  */
9
- const g = c("ChevronRight", [
9
+ const g = r("ChevronRight", [
10
10
  ["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
11
11
  ]);
12
12
  /**
@@ -15,7 +15,7 @@ const g = c("ChevronRight", [
15
15
  * This source code is licensed under the ISC license.
16
16
  * See the LICENSE file in the root directory of this source tree.
17
17
  */
18
- const z = c("Eye", [
18
+ const z = r("Eye", [
19
19
  [
20
20
  "path",
21
21
  {
@@ -31,7 +31,7 @@ const z = c("Eye", [
31
31
  * This source code is licensed under the ISC license.
32
32
  * See the LICENSE file in the root directory of this source tree.
33
33
  */
34
- const I = c("Maximize2", [
34
+ const I = r("Maximize2", [
35
35
  ["polyline", { points: "15 3 21 3 21 9", key: "mznyad" }],
36
36
  ["polyline", { points: "9 21 3 21 3 15", key: "1avn1i" }],
37
37
  ["line", { x1: "21", x2: "14", y1: "3", y2: "10", key: "ota7mn" }],
@@ -43,7 +43,7 @@ const I = c("Maximize2", [
43
43
  * This source code is licensed under the ISC license.
44
44
  * See the LICENSE file in the root directory of this source tree.
45
45
  */
46
- const E = c("Minimize2", [
46
+ const E = r("Minimize2", [
47
47
  ["polyline", { points: "4 14 10 14 10 20", key: "11kfnr" }],
48
48
  ["polyline", { points: "20 10 14 10 14 4", key: "rlmsce" }],
49
49
  ["line", { x1: "14", x2: "21", y1: "10", y2: "3", key: "o5lafz" }],
@@ -55,7 +55,7 @@ const E = c("Minimize2", [
55
55
  * This source code is licensed under the ISC license.
56
56
  * See the LICENSE file in the root directory of this source tree.
57
57
  */
58
- const K = c("Search", [
58
+ const K = r("Search", [
59
59
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
60
60
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
61
61
  ]);
@@ -64,15 +64,15 @@ function m(e, l, t) {
64
64
  }
65
65
  function k(e, l) {
66
66
  const t = /* @__PURE__ */ new Set();
67
- return e.filter((r) => {
68
- const i = l(r);
67
+ return e.filter((c) => {
68
+ const i = l(c);
69
69
  return t.has(i) ? !1 : (t.add(i), !0);
70
70
  });
71
71
  }
72
- function C(e, l, t, r) {
73
- const i = r.limit ?? f, n = r.tupleKey ?? h;
72
+ function q(e, l, t, c) {
73
+ const i = c.limit ?? f, n = c.tupleKey ?? h;
74
74
  if (t.kind === "clear") return { tuples: [], outcome: "cleared" };
75
- if (t.kind === "replace" || !r.multipleSelection)
75
+ if (t.kind === "replace" || !c.multipleSelection)
76
76
  return m(e, l, n);
77
77
  if (t.kind === "toggle") {
78
78
  const u = e.findIndex(
@@ -97,7 +97,7 @@ function C(e, l, t, r) {
97
97
  outcome: "limitReached"
98
98
  };
99
99
  }
100
- function R(e, l, t) {
100
+ function C(e, l, t) {
101
101
  return t.multipleSelection ? e.metaKey || e.ctrlKey ? "toggle" : e.shiftKey ? l === "table" && t.hasAnchor ? "range" : "toggle" : e.pointerType === "touch" && t.checkboxesShown ? "toggle" : "replace" : "replace";
102
102
  }
103
103
  export {
@@ -106,6 +106,6 @@ export {
106
106
  E as M,
107
107
  K as S,
108
108
  I as a,
109
- R as g,
110
- C as r
109
+ C as g,
110
+ q as r
111
111
  };