react-semaphor 0.1.558 → 0.1.560

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 (139) hide show
  1. package/dist/analytics-protocol/index.js +368 -358
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/assistant-protocol/index.js +5 -5
  4. package/dist/brand-studio/index.js +9 -9
  5. package/dist/briefings/index.js +5 -5
  6. package/dist/chunks/analytics-base-schemas-CHLxsPfX.js +630 -0
  7. package/dist/chunks/{assistant-chat-BCWoP6Rf.js → assistant-chat-Bu2fFm_I.js} +206 -207
  8. package/dist/chunks/{bookmark-state-PjQpxbG7.js → bookmark-state-BFY9oNmr.js} +3 -3
  9. package/dist/chunks/{braces-D5Ucy7q1.js → braces-Da41xfUd.js} +1 -1
  10. package/dist/chunks/{comparison-window-caption-Dc7BaCMz.js → comparison-window-caption-4FNkMrzE.js} +213 -213
  11. package/dist/chunks/{context-DVy4HOU0.js → context-BgPDzLHZ.js} +1 -1
  12. package/dist/chunks/{custom-visual-inputs-B-DLRGrV.js → custom-visual-inputs-Dz-enUNR.js} +1 -1
  13. package/dist/chunks/{dashboard-wK6Bai4V.js → dashboard-_MeBuy67.js} +1 -1
  14. package/dist/chunks/{dashboard-briefing-launcher-Coqghdn6.js → dashboard-briefing-launcher-CEi4Pr_v.js} +1152 -1166
  15. package/dist/chunks/{dashboard-controls-BYWSM2RM.js → dashboard-controls-Bi7fyG-4.js} +98 -98
  16. package/dist/chunks/{dashboard-json-pPTB5gj0.js → dashboard-json-B1mU_OMa.js} +5 -5
  17. package/dist/chunks/{document-dashboard-inputs-PY_7Xm55.js → document-dashboard-inputs-CkWfDB8c.js} +64 -64
  18. package/dist/chunks/{edit-dashboard-visual-BODxuUeq.js → edit-dashboard-visual-0CJN31Y3.js} +8274 -8514
  19. package/dist/chunks/filter-reach-copy-BF4w4kI2.js +3738 -0
  20. package/dist/chunks/{filter-value-text-CUBpotVN.js → filter-value-text-CRC-K_l_.js} +3 -3
  21. package/dist/chunks/{global-date-filter-utils-BsFqnnbA.js → global-date-filter-utils-D8365uPH.js} +4088 -3416
  22. package/dist/chunks/{index-DP_wQl0v.js → index-DtHidOPV.js} +579 -604
  23. package/dist/chunks/{layout-grid-CkoXmv0L.js → layout-grid-BvsH4RY2.js} +1 -1
  24. package/dist/chunks/{list-filter-B4i25kuc.js → list-filter-Dg0otx5E.js} +1 -1
  25. package/dist/chunks/{matrix-analytical-definition-4GTUDheD.js → matrix-analytical-definition-CM18W8w6.js} +41 -41
  26. package/dist/chunks/{matrix-card-fS_4O7zA.js → matrix-card-HPskLaPy.js} +3 -3
  27. package/dist/chunks/{matrix-member-presentation-Dj7HaAHC.js → matrix-member-presentation-Bbrfrke4.js} +1 -1
  28. package/dist/chunks/{matrix-operation-contract-CpgLZ7E5.js → matrix-operation-contract-WPv4R-H_.js} +130 -130
  29. package/dist/chunks/{metric-comparison-C8LY7GG5.js → metric-comparison-ljMKYZKa.js} +2 -2
  30. package/dist/chunks/{model-change-CJEj3ZD6.js → model-change-Ccn1zaxl.js} +1 -1
  31. package/dist/chunks/{palette-stlpjVk4.js → palette-Bsh376zO.js} +1 -1
  32. package/dist/chunks/{pivot-result-contract-expectations-DMk-mKhG.js → pivot-result-contract-expectations-Bl5suy4-.js} +602 -696
  33. package/dist/chunks/{pivot-result-identity-CrQ54Xbj.js → pivot-result-identity-vS9TSh4f.js} +1 -1
  34. package/dist/chunks/{raw-temporal-presentation-BI2z2LlB.js → raw-temporal-presentation-BHm7s-hz.js} +230 -274
  35. package/dist/chunks/{report-preferences-dialog-Dc-YyVwf.js → report-preferences-dialog-BV8L0SeS.js} +55 -55
  36. package/dist/chunks/{report-runtime-context-CohdtiMg.js → report-runtime-context-BZQh9ywy.js} +2 -2
  37. package/dist/chunks/{resolve-dashboard-input-context-BZYI1hB0.js → resolve-dashboard-input-context-CAMiWvyR.js} +2021 -2239
  38. package/dist/chunks/{save-C1dgxgAu.js → save-B5EAsgQF.js} +1 -1
  39. package/dist/chunks/{saved-dashboard-context-CIBoMq46.js → saved-dashboard-context-n2Wn11cV.js} +57 -57
  40. package/dist/chunks/{selection-reducer-_d6aKJnj.js → selection-reducer-D0YnaAD9.js} +1 -1
  41. package/dist/chunks/{semaphor-ready-indicator-ERTLU7B4.js → semaphor-ready-indicator-XLBLOJ2V.js} +38446 -39176
  42. package/dist/chunks/{shelf-drop-preview-context-fEnx6iL_.js → shelf-drop-preview-context-DHMa54a-.js} +570 -570
  43. package/dist/chunks/source-entity-resolution-dUG5VWRm.js +607 -0
  44. package/dist/chunks/{switch-BqUan2mN.js → switch-ByxH4M7t.js} +3 -3
  45. package/dist/chunks/{table-export-sheet-CTCTA_bd.js → table-export-sheet-C_GdeTYU.js} +1 -1
  46. package/dist/chunks/{table-settings-DF1gdVQR.js → table-settings-Imz0FgWi.js} +8 -8
  47. package/dist/chunks/{temporal-input-presentation-DoSniQj1.js → temporal-input-presentation-uvNK_tM0.js} +1109 -820
  48. package/dist/chunks/{token-types-DFyLflLY.js → token-types-CQtXUVMy.js} +1 -1
  49. package/dist/chunks/{upload-DcoyjkRV.js → upload-wbR-NVzq.js} +1 -1
  50. package/dist/chunks/{use-create-flow-overlay-state-xhb9YFg-.js → use-create-flow-overlay-state-CEBaLOKC.js} +6 -6
  51. package/dist/chunks/validators-CXTneCA4.js +3453 -0
  52. package/dist/chunks/{zoned-wall-clock-E35Frf9v.js → zoned-wall-clock-B1n_WjW3.js} +1 -1
  53. package/dist/dashboard/index.js +2 -2
  54. package/dist/dashboard-authoring/index.js +2207 -1496
  55. package/dist/data-app-sdk/index.js +20 -20
  56. package/dist/data-app-sdk-adapters/index.js +3 -3
  57. package/dist/data-app-sdk-validation/index.js +6 -6
  58. package/dist/format-utils/index.js +181 -176
  59. package/dist/index.js +22 -22
  60. package/dist/report-runtime-context/index.js +2 -2
  61. package/dist/style.css +1 -1
  62. package/dist/surfboard/index.js +2 -2
  63. package/dist/types/components/editor/editor-aside/utils.d.ts +1 -1
  64. package/dist/types/components/visual/data-table/types/data-table.d.ts +5 -20
  65. package/dist/types/index.js +6 -6
  66. package/dist/types/lib/formatters/canonical-format-adapter.d.ts +2 -29
  67. package/dist/types/lib/formatters/raw-temporal-presentation.d.ts +0 -2
  68. package/dist/types/lib/formatters/table-column-settings.d.ts +47 -0
  69. package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +10 -188
  70. package/dist/types/lib/matrix-table/matrix-delivery-policy.d.ts +1 -1
  71. package/dist/types/lib/matrix-table/matrix-delivery.d.ts +16 -372
  72. package/dist/types/lib/stores/dashboard-store.d.ts +0 -1
  73. package/dist/types/lib/stores/editor-store.d.ts +39 -9
  74. package/dist/types/lib/stores/table-actions.d.ts +9 -3
  75. package/dist/types/lib/table-formatting/index.d.ts +0 -2
  76. package/dist/types/lib/table-formatting/table-conditional-formatting-range-source.d.ts +3 -2
  77. package/dist/types/lib/table-formatting/table-conditional-formatting-range.d.ts +3 -2
  78. package/dist/types/lib/table-formatting/table-formatting-normalize.d.ts +1 -2
  79. package/dist/types/lib/table-formatting/table-formatting-render-model.d.ts +9 -0
  80. package/dist/types/lib/table-formatting/table-formatting-types.d.ts +5 -95
  81. package/dist/types/lib/table-formatting/table-presentation-fields.d.ts +35 -0
  82. package/dist/types/lib/types/common-types.d.ts +40 -47
  83. package/dist/types/lib/types/explorer-types.d.ts +13 -44
  84. package/dist/types/lib/utils/card-config-utils.d.ts +9 -1
  85. package/dist/types/lib/utils/card-definition.d.ts +9 -187
  86. package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +159 -513
  87. package/dist/types/shared/analytics-protocol/contracts.d.ts +32 -9
  88. package/dist/types/shared/analytics-protocol/execution-input-schemas.d.ts +108 -980
  89. package/dist/types/shared/analytics-protocol/field-validation.d.ts +1 -0
  90. package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +281 -4624
  91. package/dist/types/shared/analytics-protocol/matrix-operation-contract.d.ts +20 -20
  92. package/dist/types/shared/analytics-protocol/matrix-operation-request.d.ts +18 -18
  93. package/dist/types/shared/analytics-protocol/matrix-path-contract.d.ts +40 -40
  94. package/dist/types/shared/analytics-protocol/matrix-window-contract.d.ts +3 -203
  95. package/dist/types/shared/analytics-protocol/scalar-value.d.ts +8 -8
  96. package/dist/types/shared/analytics-protocol/source-capabilities.d.ts +21 -0
  97. package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +8 -0
  98. package/dist/types/shared/assistant-protocol/context.d.ts +69 -69
  99. package/dist/types/shared/dashboard-authoring/canonical-result-keys.d.ts +13 -0
  100. package/dist/types/shared/dashboard-authoring/card-export-request.d.ts +4 -1
  101. package/dist/types/shared/dashboard-authoring/card-formats/sql-date-pattern.d.ts +10 -0
  102. package/dist/types/shared/dashboard-authoring/card-formats/upgrade-card-formats.d.ts +57 -0
  103. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +24 -24
  104. package/dist/types/shared/dashboard-authoring/conditional-formatting/editable.d.ts +14 -0
  105. package/dist/types/shared/dashboard-authoring/conditional-formatting/evaluate.d.ts +16 -0
  106. package/dist/types/shared/dashboard-authoring/conditional-formatting/index.d.ts +9 -0
  107. package/dist/types/shared/dashboard-authoring/conditional-formatting/kpi.d.ts +14 -0
  108. package/dist/types/shared/dashboard-authoring/conditional-formatting/resolve-card-column-ref.d.ts +17 -0
  109. package/dist/types/shared/dashboard-authoring/conditional-formatting/retain.d.ts +14 -0
  110. package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +4499 -0
  111. package/dist/types/shared/dashboard-authoring/conditional-formatting/store.d.ts +12 -0
  112. package/dist/types/shared/dashboard-authoring/conditional-formatting/types.d.ts +151 -0
  113. package/dist/types/shared/dashboard-authoring/conditional-formatting/upgrade.d.ts +35 -0
  114. package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +62 -62
  115. package/dist/types/shared/dashboard-authoring/dashboard-card-source-index.d.ts +2 -0
  116. package/dist/types/shared/dashboard-authoring/index.d.ts +5 -0
  117. package/dist/types/shared/dashboard-authoring/legacy-table-routing.d.ts +4 -2
  118. package/dist/types/shared/dashboard-authoring/matrix-authoring.d.ts +4 -5
  119. package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +24 -736
  120. package/dist/types/shared/dashboard-authoring/retired-presentation-fields.d.ts +31 -0
  121. package/dist/types/shared/dashboard-authoring/upgrade-card-presentation.d.ts +14 -0
  122. package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +5 -1
  123. package/dist/types/shared/format-utils/formatters/number-formatter.d.ts +16 -0
  124. package/dist/types/shared/format-utils/index.d.ts +2 -0
  125. package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +10 -366
  126. package/dist/types/shared/format-utils/raw-temporal.d.ts +15 -1
  127. package/dist/types/shared/format-utils/resolve-column-format.d.ts +43 -0
  128. package/dist/types/shared/format-utils/retired-format-adapters.d.ts +68 -0
  129. package/dist/types/shared/format-utils/semantic-format.d.ts +5 -1
  130. package/dist/types/shared/format-utils/stored-value-format.d.ts +16 -0
  131. package/dist/types/shared/format-utils/types/format-types.d.ts +10 -12
  132. package/package.json +1 -1
  133. package/dist/chunks/analytics-base-schemas-BUFUoO6G.js +0 -472
  134. package/dist/chunks/editor-draft-sync-BN5qYHPF.js +0 -15
  135. package/dist/chunks/filter-reach-copy-BvJH9JO-.js +0 -3411
  136. package/dist/chunks/source-entity-resolution-DXW1HpKf.js +0 -816
  137. package/dist/chunks/validators-hmfNNQz8.js +0 -3595
  138. package/dist/types/lib/table-formatting/table-conditional-formatting-evaluator.d.ts +0 -9
  139. package/dist/types/lib/table-formatting/table-formatting-validation.d.ts +0 -12
@@ -1,19 +1,19 @@
1
- import { cV as vt, cW as Se, cX as M, cY as R, cZ as Fe, d as W, c_ as yt, c$ as Dt, d0 as St, d1 as Ft, d2 as Vt, d3 as Ve, d4 as kt, d5 as ne, d6 as Y, d7 as oe, d8 as Mt, Y as se, i as z, d9 as Tt, da as Ot, db as j, dc as ie, dd as $, de as ke, df as xt, dg as Pt, dh as wt, v as Me, di as Et, dj as Rt, dk as Bt, bZ as Te, dl as Oe, V as xe, dm as Pe, n as we, a as Ee, dn as qt, br as At, _ as Nt, as as Re, bq as Be, dp as jt, bc as zt, a3 as qe, a2 as _t, dq as Ae } from "./global-date-filter-utils-BsFqnnbA.js";
2
- import { Q as Gt, r as re, Y as Lt, Z as Ht, _ as Kt, $ as Qt, a0 as $t, l as ae, a1 as Ut, I as Ne, a2 as Wt, R as Yt, x as Zt, a3 as Jt, a4 as Xt, a5 as en, a6 as tn, a7 as nn, a8 as on, a9 as sn, N as rn, aa as an, c as ln, ab as je, ac as dn, ad as cn, y as un, ae as fn, J as pn, af as ze, ag as mn, ah as In } from "./resolve-dashboard-input-context-BZYI1hB0.js";
3
- import { ao as bn } from "./validators-hmfNNQz8.js";
4
- import { d as le } from "./matrix-operation-contract-CpgLZ7E5.js";
5
- import "./analytics-base-schemas-BUFUoO6G.js";
1
+ import { dd as vt, de as Se, df as M, dg as R, dh as Fe, d as W, di as yt, dj as Dt, dk as St, dl as Ft, dm as Vt, dn as Ve, dp as kt, dq as ne, dr as Y, ds as oe, dt as Mt, a0 as se, i as j, du as Tt, dv as Ot, dw as z, dx as ie, dy as $, dz as ke, dA as xt, dB as wt, dC as Pt, v as Me, dD as Et, dE as Rt, dF as Bt, cb as Te, dG as Oe, Z as xe, dH as we, n as Pe, b as Ee, dI as qt, bF as At, a2 as Nt, aw as Re, bE as Be, dJ as zt, bq as jt, a7 as qe, a6 as _t, dK as Ae } from "./global-date-filter-utils-D8365uPH.js";
2
+ import { R as Gt, r as re, Z as Lt, _ as Ht, $ as Kt, a0 as Qt, a1 as $t, l as ae, a2 as Ut, J as Ne, a3 as Wt, S as Yt, y as Zt, a4 as Jt, a5 as Xt, a6 as en, a7 as tn, a8 as nn, a9 as on, aa as sn, O as rn, ab as an, c as ln, ac as ze, ad as dn, ae as cn, z as un, af as fn, K as pn, ag as je, ah as mn, ai as In } from "./resolve-dashboard-input-context-CAMiWvyR.js";
3
+ import { aC as bn } from "./validators-CXTneCA4.js";
4
+ import { d as le } from "./matrix-operation-contract-WPv4R-H_.js";
5
+ import "./analytics-base-schemas-CHLxsPfX.js";
6
6
  import "zod";
7
7
  import "./index-CuHybtft.js";
8
8
  import "../value-format-preferences/index.js";
9
9
  import "./_commonjsHelpers-DimLPMtv.js";
10
- import "./temporal-input-presentation-DoSniQj1.js";
11
- import { J as hn, z as de, K as B, I as X, q as gn, j as Cn, o as vn, L as G, A as yn } from "./table-settings-DF1gdVQR.js";
10
+ import "./temporal-input-presentation-uvNK_tM0.js";
11
+ import { J as hn, x as de, K as B, I as X, q as gn, j as Cn, o as vn, L as G, A as yn } from "./table-settings-Imz0FgWi.js";
12
12
  import "./index-CJW5BdWT.js";
13
- import { r as _e, B as ce } from "./bookmark-state-PjQpxbG7.js";
14
- import { q as he } from "./pivot-result-contract-expectations-DMk-mKhG.js";
15
- import { r as Dn, i as Ge } from "./matrix-card-fS_4O7zA.js";
16
- import { D as Sn } from "./report-runtime-context-CohdtiMg.js";
13
+ import { r as _e, B as ce } from "./bookmark-state-BFY9oNmr.js";
14
+ import { s as he } from "./pivot-result-contract-expectations-Bl5suy4-.js";
15
+ import { r as Dn, i as Ge } from "./matrix-card-HPskLaPy.js";
16
+ import { D as Sn } from "./report-runtime-context-BZQh9ywy.js";
17
17
  import { c as Fn } from "./selection-filter-compiler-BKXmyLrS.js";
18
18
  function ue(e, t) {
19
19
  const n = {};
@@ -97,10 +97,10 @@ function xn(e, t) {
97
97
  temporalBucket: e.temporalBucket
98
98
  };
99
99
  }
100
- function Pn(e, t) {
101
- return Se(e) ? wn(e, t) : e.config ?? {};
102
- }
103
100
  function wn(e, t) {
101
+ return Se(e) ? Pn(e, t) : e.config ?? {};
102
+ }
103
+ function Pn(e, t) {
104
104
  var o;
105
105
  const n = (o = t == null ? void 0 : t.steps[t.steps.length - 1]) == null ? void 0 : o.toField;
106
106
  return n ? Gt(e.config ?? {}, n, {
@@ -499,7 +499,7 @@ function Nn(e, t) {
499
499
  i(c);
500
500
  return o;
501
501
  }
502
- function jn({
502
+ function zn({
503
503
  sectionIds: e,
504
504
  ...t
505
505
  }) {
@@ -508,7 +508,7 @@ function jn({
508
508
  ...t,
509
509
  sectionId: i
510
510
  })
511
- ), s = zn(
511
+ ), s = jn(
512
512
  t.dashboard,
513
513
  t.sheetId,
514
514
  e
@@ -535,7 +535,7 @@ function jn({
535
535
  }
536
536
  };
537
537
  }
538
- function zn(e, t, n) {
538
+ function jn(e, t, n) {
539
539
  var i, r;
540
540
  const o = new Set(n), s = (i = e.sheets) == null ? void 0 : i.find((a) => a.id === t);
541
541
  return (((r = s == null ? void 0 : s.document) == null ? void 0 : r.sections) || []).flatMap(
@@ -696,7 +696,7 @@ function We(e, t, n) {
696
696
  var d;
697
697
  return oe(
698
698
  a,
699
- jn({
699
+ zn({
700
700
  dashboard: e,
701
701
  sheetId: c.id,
702
702
  sheetKind: "document",
@@ -1369,7 +1369,7 @@ function Is(e) {
1369
1369
  };
1370
1370
  }
1371
1371
  function ye(e) {
1372
- const t = z(e.filter);
1372
+ const t = j(e.filter);
1373
1373
  return {
1374
1374
  inputId: e.inputId,
1375
1375
  filterId: e.filterId,
@@ -1390,7 +1390,7 @@ function eo(e) {
1390
1390
  fieldCandidates: [],
1391
1391
  resolution: { status: "none" }
1392
1392
  };
1393
- const t = e.inputs.filter((r) => !z(r.filter)).map((r) => ({
1393
+ const t = e.inputs.filter((r) => !j(r.filter)).map((r) => ({
1394
1394
  input: r,
1395
1395
  resolution: Tt({
1396
1396
  filter: r.filter,
@@ -1404,7 +1404,7 @@ function eo(e) {
1404
1404
  if (!e.temporalBinding)
1405
1405
  return { inputs: e.inputs, fieldCandidates: t, resolution: { status: "none" } };
1406
1406
  const n = e.inputs.find(
1407
- (r) => z(r.filter)
1407
+ (r) => j(r.filter)
1408
1408
  );
1409
1409
  if (n && ((i = n.filterValue) == null ? void 0 : i.filterId) === n.filterId && n.effectiveFilterValue.filterId === n.filterId && Ot(n.effectiveFilterValue))
1410
1410
  return {
@@ -1527,7 +1527,7 @@ function at(e) {
1527
1527
  };
1528
1528
  }
1529
1529
  function io(e) {
1530
- const t = j(e.filters);
1530
+ const t = z(e.filters);
1531
1531
  if (!t)
1532
1532
  return e.filterValues;
1533
1533
  const n = rt(e);
@@ -1583,7 +1583,7 @@ function lt(e) {
1583
1583
  ...u ? { temporalPrecision: u } : {}
1584
1584
  };
1585
1585
  }
1586
- function P(e) {
1586
+ function w(e) {
1587
1587
  return typeof e == "string" ? e.trim() : "";
1588
1588
  }
1589
1589
  function ro(e) {
@@ -1591,17 +1591,17 @@ function ro(e) {
1591
1591
  return (((t = e.semanticContext) == null ? void 0 : t.selectedEntities) || []).filter((n) => typeof n == "object" && n !== null).filter((n) => n.type === "dataset").map((n) => {
1592
1592
  var o;
1593
1593
  return {
1594
- domainId: P(n.domainId) || P((o = e.semanticContext) == null ? void 0 : o.semanticDomainId),
1595
- datasetName: P(n.name),
1596
- selectedEntityId: P(n.id)
1594
+ domainId: w(n.domainId) || w((o = e.semanticContext) == null ? void 0 : o.semanticDomainId),
1595
+ datasetName: w(n.name),
1596
+ selectedEntityId: w(n.id)
1597
1597
  };
1598
1598
  }).filter((n) => n.domainId && n.datasetName);
1599
1599
  }
1600
1600
  function ao(e) {
1601
1601
  var c, d, l, u, f;
1602
- if (z(e) || (c = e.sql) != null && c.trim())
1602
+ if (j(e) || (c = e.sql) != null && c.trim())
1603
1603
  return null;
1604
- const t = ro(e), n = P((d = e.semanticContext) == null ? void 0 : d.semanticDomainId), o = P((l = e.fieldMeta) == null ? void 0 : l.entityId), s = P((u = e.fieldMeta) == null ? void 0 : u.entityName), i = P((f = e.fieldMeta) == null ? void 0 : f.entityType) === "dataset", r = t.find(
1604
+ const t = ro(e), n = w((d = e.semanticContext) == null ? void 0 : d.semanticDomainId), o = w((l = e.fieldMeta) == null ? void 0 : l.entityId), s = w((u = e.fieldMeta) == null ? void 0 : u.entityName), i = w((f = e.fieldMeta) == null ? void 0 : f.entityType) === "dataset", r = t.find(
1605
1605
  (p) => o && p.selectedEntityId === o
1606
1606
  );
1607
1607
  if (r)
@@ -1623,17 +1623,17 @@ function lo(e) {
1623
1623
  return o && ((i = (s = n.domainsById[o.domainId]) == null ? void 0 : s.datasetsByName[o.datasetName]) == null ? void 0 : i.primaryDateField) || null;
1624
1624
  }
1625
1625
  function dt(e) {
1626
- const t = j(e.filters);
1626
+ const t = z(e.filters);
1627
1627
  return t ? e.filterValues.filter(
1628
1628
  (n) => n.filterId !== t.id
1629
1629
  ) : e.filterValues;
1630
1630
  }
1631
1631
  function hs(e) {
1632
- const t = j(e.filters), n = dt({
1632
+ const t = z(e.filters), n = dt({
1633
1633
  filters: e.filters,
1634
1634
  filterValues: e.filterValues
1635
1635
  });
1636
- if (!t || z(e.filter))
1636
+ if (!t || j(e.filter))
1637
1637
  return n;
1638
1638
  const o = e.filterValues.find(
1639
1639
  (r) => r.filterId === t.id
@@ -1652,7 +1652,7 @@ function hs(e) {
1652
1652
  }
1653
1653
  function co(e) {
1654
1654
  var l;
1655
- const t = j(e.filters), n = t ? e.cardFilterValues.find(
1655
+ const t = z(e.filters), n = t ? e.cardFilterValues.find(
1656
1656
  (u) => u.filterId === t.id
1657
1657
  ) : void 0, o = t ? e.cardFilterValues.filter(
1658
1658
  (u) => u.filterId !== t.id
@@ -1694,7 +1694,7 @@ function co(e) {
1694
1694
  };
1695
1695
  }
1696
1696
  function gs(e) {
1697
- const t = j(e.filters), n = rt(e), o = t ? e.filterValues.find(
1697
+ const t = z(e.filters), n = rt(e), o = t ? e.filterValues.find(
1698
1698
  (r) => r.filterId === t.id
1699
1699
  ) : void 0, s = dt(e);
1700
1700
  return !t || !o || !me(o.operation) ? s : [
@@ -1727,7 +1727,7 @@ function fo(e, t, n) {
1727
1727
  ...n,
1728
1728
  spec: o.spec,
1729
1729
  catalog: t.map((l) => ({ ...l, id: l.resolvedField.id }))
1730
- }), i = s ? { ...o, spec: s.spec } : o, r = Pt(t), a = wt(t), c = (l) => {
1730
+ }), i = s ? { ...o, spec: s.spec } : o, r = wt(t), a = Pt(t), c = (l) => {
1731
1731
  const u = a(l, i.spec.source);
1732
1732
  if (!(!u && l.derivedField)) {
1733
1733
  if (!u) throw new uo(`Matrix field metadata is unavailable: ${l.name}`);
@@ -1831,7 +1831,7 @@ function ut(e, t = {}) {
1831
1831
  };
1832
1832
  }
1833
1833
  function bo(e, t, n) {
1834
- const o = Pn(e, t);
1834
+ const o = wn(e, t);
1835
1835
  return Se(e) ? Io(
1836
1836
  { ...o, filters: n },
1837
1837
  e.type
@@ -1932,9 +1932,9 @@ function Co({
1932
1932
  cardType: e.type,
1933
1933
  dataSource: e.dataSource,
1934
1934
  temporalResultOwner: xe({
1935
- hasExecutableConfig: Pe(v, e.type),
1935
+ hasExecutableConfig: we(v, e.type),
1936
1936
  sql: e.sql,
1937
- normalizedPython: we(e.python || "")
1937
+ normalizedPython: Pe(e.python || "")
1938
1938
  })
1939
1939
  }) || v, k = mo(g) || "", H = I ? ft(
1940
1940
  e,
@@ -2141,7 +2141,7 @@ function Vo({
2141
2141
  (b) => b.status === "apply" ? [[b.inputId, b.filterValue]] : []
2142
2142
  )
2143
2143
  )
2144
- }), f = j(c), p = !!(f && u.cardFilterValues.some(
2144
+ }), f = z(c), p = !!(f && u.cardFilterValues.some(
2145
2145
  (b) => b.filterId === f.id
2146
2146
  )), m = u.resolvedPrimaryDateField && !((I = e.sql) != null && I.trim()) ? u.dateComparisonPlan.inputs.length ? vo({
2147
2147
  card: e,
@@ -2195,8 +2195,8 @@ function ko(e, t, n) {
2195
2195
  s.queryContext,
2196
2196
  n.calendarContext,
2197
2197
  { resolvePaginationConfig: n.resolvePaginationConfig }
2198
- ), f = t.queryRelevantConfig, p = we(e.python || ""), m = xe({
2199
- hasExecutableConfig: Pe(f, e.type),
2198
+ ), f = t.queryRelevantConfig, p = Pe(e.python || ""), m = xe({
2199
+ hasExecutableConfig: we(f, e.type),
2200
2200
  sql: e.sql,
2201
2201
  normalizedPython: p
2202
2202
  });
@@ -2248,7 +2248,7 @@ function Oo({
2248
2248
  dashboardRuntimeValues: o,
2249
2249
  calendar: s
2250
2250
  }) {
2251
- const i = je({
2251
+ const i = ze({
2252
2252
  dashboard: t,
2253
2253
  dashboardInputValues: o.dashboardInputValues,
2254
2254
  transientContexts: void 0
@@ -2312,7 +2312,7 @@ function Ds({
2312
2312
  inputContext: o.inputContext
2313
2313
  };
2314
2314
  }
2315
- function Po(e, t, n) {
2315
+ function wo(e, t, n) {
2316
2316
  return {
2317
2317
  calendarContext: n ?? Sn,
2318
2318
  allowGlobalDateMinutePrecision: ie(
@@ -2330,7 +2330,7 @@ function Ss(e, t) {
2330
2330
  t.allowGlobalDateMinutePrecision
2331
2331
  );
2332
2332
  }
2333
- function wo(e, t, n = {}) {
2333
+ function Po(e, t, n = {}) {
2334
2334
  const o = It(e, t);
2335
2335
  return {
2336
2336
  ...ko(e.card, e.context, {
@@ -2377,7 +2377,7 @@ function Eo({
2377
2377
  (D) => D.field.source && H.some(
2378
2378
  (O) => bn(O, D.field.source)
2379
2379
  )
2380
- ), F = fo(y, T, h), { params: w } = k, x = w.dashboardInputContext;
2380
+ ), F = fo(y, T, h), { params: P } = k, x = P.dashboardInputContext;
2381
2381
  F.config = {
2382
2382
  ...F.config,
2383
2383
  presentation: fn(
@@ -2388,12 +2388,12 @@ function Eo({
2388
2388
  ...x.controlDefinitions,
2389
2389
  ...x.cardControlDefinitions
2390
2390
  ] : [
2391
- ...w.dashboardControls ?? r.controls ?? [],
2392
- ...w.card.controls ?? []
2391
+ ...P.dashboardControls ?? r.controls ?? [],
2392
+ ...P.card.controls ?? []
2393
2393
  ],
2394
2394
  values: (x == null ? void 0 : x.controlValues) ?? {
2395
- ...w.dashboardControlValues,
2396
- ...(v = w.cardControlValuesMap) == null ? void 0 : v[y.id]
2395
+ ...P.dashboardControlValues,
2396
+ ...(v = P.cardControlValuesMap) == null ? void 0 : v[y.id]
2397
2397
  }
2398
2398
  },
2399
2399
  T
@@ -2432,7 +2432,7 @@ function Eo({
2432
2432
  missingRequiredLabels: [],
2433
2433
  message: d.message
2434
2434
  };
2435
- const { assembled: l, matrix: u } = d.value, f = Po(
2435
+ const { assembled: l, matrix: u } = d.value, f = wo(
2436
2436
  r,
2437
2437
  o,
2438
2438
  n.calendar
@@ -2457,7 +2457,7 @@ function Eo({
2457
2457
  S.id,
2458
2458
  D.status === "ready" ? D.value.assembled.card : null
2459
2459
  ])
2460
- ), w = new Map(
2460
+ ), P = new Map(
2461
2461
  T.map(({ card: S, value: D }) => {
2462
2462
  var O;
2463
2463
  return [
@@ -2485,7 +2485,7 @@ function Eo({
2485
2485
  o,
2486
2486
  m,
2487
2487
  F,
2488
- w,
2488
+ P,
2489
2489
  x
2490
2490
  );
2491
2491
  if ((b = q.unresolvedCardIds) != null && b.length)
@@ -2509,7 +2509,7 @@ function Eo({
2509
2509
  missingRequiredLabels: v.missingRequiredLabels,
2510
2510
  ...v.reason === "requiredInput" ? { message: yo(v.missingRequiredLabels) } : {}
2511
2511
  };
2512
- const C = i && !u ? wo(l, f) : void 0;
2512
+ const C = i && !u ? Po(l, f) : void 0;
2513
2513
  return {
2514
2514
  ...v,
2515
2515
  ...u ? { matrix: u } : {},
@@ -2577,7 +2577,7 @@ function te(e, t, n, o) {
2577
2577
  }
2578
2578
  function Bo(e, t, n, o, s) {
2579
2579
  var c, d;
2580
- const { dashboard: i, transientContexts: r } = n, a = je({
2580
+ const { dashboard: i, transientContexts: r } = n, a = ze({
2581
2581
  dashboard: i,
2582
2582
  dashboardInputValues: o.dashboardInputValues,
2583
2583
  transientContexts: r
@@ -2667,7 +2667,7 @@ function Fs({
2667
2667
  ) : [];
2668
2668
  for (const g of I)
2669
2669
  Object.assign(m, (a == null ? void 0 : a[g.card.id]) || {});
2670
- const b = jt({
2670
+ const b = zt({
2671
2671
  filterDefinitions: l,
2672
2672
  filterValues: p
2673
2673
  }), y = io({
@@ -2744,7 +2744,7 @@ function Vs({
2744
2744
  };
2745
2745
  }
2746
2746
  function qo(e, t) {
2747
- const n = zt({
2747
+ const n = jt({
2748
2748
  inputs: e.inputs,
2749
2749
  dashboardFilters: [...Be(e)]
2750
2750
  }), o = ht(e, t);
@@ -2808,7 +2808,7 @@ function Ms({
2808
2808
  runtimeScope: "perSheet",
2809
2809
  presentation: { placement: "toolbar" },
2810
2810
  control: i,
2811
- exports: ze(i)
2811
+ exports: je(i)
2812
2812
  };
2813
2813
  }
2814
2814
  function Ts({
@@ -2850,7 +2850,7 @@ function Ts({
2850
2850
  variableName: i,
2851
2851
  requiredAtExecution: r.requiredAtExecution,
2852
2852
  control: r,
2853
- exports: ze(r)
2853
+ exports: je(r)
2854
2854
  };
2855
2855
  }
2856
2856
  function Os(e, t, n) {
@@ -2890,14 +2890,14 @@ function xs(e, t) {
2890
2890
  t
2891
2891
  );
2892
2892
  }
2893
- function Ps(e) {
2893
+ function ws(e) {
2894
2894
  var n;
2895
2895
  const t = {};
2896
2896
  for (const o of e)
2897
2897
  o.kind === "filter" && (t[o.id] = ((n = o.slot) == null ? void 0 : n.status) === "cleared" ? void 0 : o.filterValue);
2898
2898
  return t;
2899
2899
  }
2900
- function ws(e) {
2900
+ function Ps(e) {
2901
2901
  var n;
2902
2902
  const t = {};
2903
2903
  for (const o of e)
@@ -2957,7 +2957,7 @@ export {
2957
2957
  bo as C,
2958
2958
  vs as D,
2959
2959
  Ds as E,
2960
- wo as F,
2960
+ Po as F,
2961
2961
  ys as G,
2962
2962
  gs as H,
2963
2963
  Eo as I,
@@ -2975,8 +2975,8 @@ export {
2975
2975
  Ts as U,
2976
2976
  Os as V,
2977
2977
  Es as W,
2978
- Ps as X,
2979
- ws as Y,
2978
+ ws as X,
2979
+ Ps as Y,
2980
2980
  _ as Z,
2981
2981
  rs as _,
2982
2982
  ms as a,
@@ -2990,7 +2990,7 @@ export {
2990
2990
  qo as g,
2991
2991
  ls as h,
2992
2992
  Ss as i,
2993
- Po as j,
2993
+ wo as j,
2994
2994
  ds as k,
2995
2995
  Jn as l,
2996
2996
  us as m,
@@ -2999,7 +2999,7 @@ export {
2999
2999
  os as p,
3000
3000
  ns as q,
3001
3001
  ho as r,
3002
- jn as s,
3002
+ zn as s,
3003
3003
  An as t,
3004
3004
  ss as u,
3005
3005
  Tn as v,