react-semaphor 0.1.551 → 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 (73) hide show
  1. package/dist/analytics-protocol/index.js +8 -8
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/assistant-protocol/index.js +64 -57
  4. package/dist/brand-studio/index.js +3 -3
  5. package/dist/briefings/index.js +5 -5
  6. package/dist/chunks/{assistant-chat-B8kslmny.js → assistant-chat-DaIdRbbd.js} +3152 -2817
  7. package/dist/chunks/{bookmark-state-Cu-a5ie_.js → bookmark-state-aGO7_ryE.js} +3 -3
  8. package/dist/chunks/{comparison-window-caption-C2xF-eWw.js → comparison-window-caption-BugAu7zS.js} +7 -7
  9. package/dist/chunks/{custom-visual-inputs-CwAcigQS.js → custom-visual-inputs-D7ez5sab.js} +1 -1
  10. package/dist/chunks/{dashboard-briefing-launcher-DnnvLeAs.js → dashboard-briefing-launcher-DBJ0xrfF.js} +62 -62
  11. package/dist/chunks/{dashboard-controls-BYDt0QZL.js → dashboard-controls-CDX74NTl.js} +46 -46
  12. package/dist/chunks/{dashboard-json-BligXqcU.js → dashboard-json-Cf5dpYTr.js} +4 -4
  13. package/dist/chunks/{dashboard-BcAQSgm-.js → dashboard-z3GYw7xR.js} +1 -1
  14. package/dist/chunks/{document-dashboard-inputs-DPQ_wUGD.js → document-dashboard-inputs-LMMWPOwU.js} +119 -119
  15. package/dist/chunks/{edit-dashboard-visual-8-Fd4EcE.js → edit-dashboard-visual-hCGiyxgm.js} +18 -18
  16. package/dist/chunks/{filter-reach-copy-8vnDYToV.js → filter-reach-copy-BG5qVZKS.js} +48 -48
  17. package/dist/chunks/{filter-value-text-Ddf55Ku1.js → filter-value-text-DwP5dN9m.js} +2 -2
  18. package/dist/chunks/{global-date-filter-utils-CnumW4j2.js → global-date-filter-utils-Ce6Ydv2W.js} +5934 -5723
  19. package/dist/chunks/{index-DzsdV1o4.js → index-C_UIqop8.js} +9 -9
  20. package/dist/chunks/{matrix-analytical-definition-B9vW-osb.js → matrix-analytical-definition-cvzKdxPE.js} +2 -2
  21. package/dist/chunks/{matrix-card-LiMEipvq.js → matrix-card-VFE-yDlr.js} +2 -2
  22. package/dist/chunks/{matrix-formatter-DWEeC0_c.js → matrix-formatter-B27bz08Y.js} +3 -3
  23. package/dist/chunks/{matrix-member-presentation-DqzG-UhQ.js → matrix-member-presentation-DyC-e9pD.js} +1 -1
  24. package/dist/chunks/{matrix-operation-contract-D6vYkZK4.js → matrix-operation-contract-L_SiObB7.js} +1 -1
  25. package/dist/chunks/{metric-comparison-zpGw4lD6.js → metric-comparison-B5gyyW9k.js} +1 -1
  26. package/dist/chunks/model-change-B0rAK-5w.js +230 -0
  27. package/dist/chunks/{pivot-header-presentation-CQnIDtUv.js → pivot-header-presentation-BQFfowp1.js} +1 -1
  28. package/dist/chunks/{pivot-result-identity-C-Q1j1Wb.js → pivot-result-identity-dZIYsMrY.js} +1 -1
  29. package/dist/chunks/{pivot-result-lifecycle-pwq3b7LC.js → pivot-result-lifecycle-D0kSz5QX.js} +6 -6
  30. package/dist/chunks/{raw-temporal-presentation-CBKeEPYA.js → raw-temporal-presentation-BWRH754b.js} +6 -6
  31. package/dist/chunks/{report-preferences-dialog-DAQEooIW.js → report-preferences-dialog-DvabpYcC.js} +49 -49
  32. package/dist/chunks/{report-runtime-context-hWiTCzFV.js → report-runtime-context-CKiIubIu.js} +1 -1
  33. package/dist/chunks/{resolve-dashboard-input-context-DVWF7p5C.js → resolve-dashboard-input-context-Ctq1YCDV.js} +2049 -1975
  34. package/dist/chunks/{saved-dashboard-context-BMqMzNAo.js → saved-dashboard-context-Bt1E9d1l.js} +8 -8
  35. package/dist/chunks/{selection-reducer-CJzkTZio.js → selection-reducer-DdPwKDDQ.js} +1 -1
  36. package/dist/chunks/{semaphor-ready-indicator-Dq1ElALH.js → semaphor-ready-indicator-Cc1TG_gw.js} +10388 -10390
  37. package/dist/chunks/{shelf-drop-preview-context-CHm8lqfo.js → shelf-drop-preview-context-Ch9XqytU.js} +119 -119
  38. package/dist/chunks/{source-entity-resolution-D195CrYS.js → source-entity-resolution-DkW3Iek5.js} +1 -1
  39. package/dist/chunks/{switch-wJP6O7ZT.js → switch-gm7RW-PW.js} +2 -2
  40. package/dist/chunks/{table-export-sheet-4X9mAG3V.js → table-export-sheet-C7bDdC8r.js} +1 -1
  41. package/dist/chunks/{table-settings-WysCBj62.js → table-settings-CBm7G0yx.js} +224 -201
  42. package/dist/chunks/{temporal-bucket-CQOSbv9-.js → temporal-bucket-BikY3FFR.js} +1 -1
  43. package/dist/chunks/{token-types-BMqRmT-C.js → token-types-B1p9F_wS.js} +1 -1
  44. package/dist/chunks/{use-create-flow-overlay-state-b_fGSj_5.js → use-create-flow-overlay-state-CZdDRUpc.js} +6 -6
  45. package/dist/chunks/{validators-C-aOQlTB.js → validators-BdBzm_EV.js} +17 -16
  46. package/dist/dashboard/index.js +2 -2
  47. package/dist/dashboard-authoring/index.js +273 -264
  48. package/dist/data-app-sdk/index.js +5 -5
  49. package/dist/data-app-sdk-adapters/index.js +2 -2
  50. package/dist/data-app-sdk-validation/index.js +5 -5
  51. package/dist/format-utils/index.js +15 -15
  52. package/dist/index.js +21 -21
  53. package/dist/report-runtime-context/index.js +1 -1
  54. package/dist/style.css +1 -1
  55. package/dist/surfboard/index.js +2 -2
  56. package/dist/types/index.js +6 -6
  57. package/dist/types/lib/dashboard-inputs/prepare-loaded-dashboard.d.ts +3 -0
  58. package/dist/types/lib/utils/card-config-utils.d.ts +61 -0
  59. package/dist/types/lib/utils/card-type-change.d.ts +5 -1
  60. package/dist/types/shared/analytics-protocol/explorer-input-schemas.d.ts +2 -0
  61. package/dist/types/shared/assistant-protocol/answer-text.d.ts +23 -0
  62. package/dist/types/shared/assistant-protocol/conversation-text.d.ts +29 -0
  63. package/dist/types/shared/assistant-protocol/conversation.d.ts +24 -3
  64. package/dist/types/shared/assistant-protocol/index.d.ts +2 -0
  65. package/dist/types/shared/assistant-protocol/model-change.d.ts +19 -0
  66. package/dist/types/shared/assistant-protocol/parts.d.ts +45 -1
  67. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +8 -3
  68. package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +7 -1
  69. package/dist/types/shared/dashboard-authoring/document-section-cards.d.ts +6 -0
  70. package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
  71. package/dist/types/shared/dashboard-authoring/legacy-table-routing.d.ts +64 -0
  72. package/package.json +2 -2
  73. package/dist/chunks/add-to-dashboard-BQRAAnc3.js +0 -102
@@ -1,26 +1,26 @@
1
1
  var Ot = Object.defineProperty;
2
2
  var Nt = (e, t, a) => t in e ? Ot(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
3
3
  var ke = (e, t, a) => Nt(e, typeof t != "symbol" ? t + "" : t, a);
4
- import { D as it, r as It, b as qt, c as Pt, a as nt, d as Mt } from "../chunks/filter-reach-copy-8vnDYToV.js";
5
- import { N as yi, R as _i, f as Ci, j as Si, l as vi, k as wi, u as xi, q as Di, e as Ti, i as ki, y as $i, z as Fi, s as Ai, v as Ri, t as Ei, m as Oi, n as Ni, p as qi, g as Pi, o as Mi, h as Li, x as Bi, w as Vi } from "../chunks/filter-reach-copy-8vnDYToV.js";
6
- import { M as Lt, N as Bt, O as $e, P as Vt, Q as Gt, R as Ut, S as jt, T as zt, U as Qt, V as Kt, W as Ht, X as Wt, Y as de, Z as Yt, _ as Xt, $ as fe, a0 as Jt, a1 as Zt, a2 as Me, a3 as yt, a4 as oe, a5 as ne, a6 as Ee, a7 as ea, a8 as Le, a9 as ta, aa, ab as sa, ac as ot, ad as ia, ae as na, af as _t, ag as ie, ah as rt, ai as oa, aj as ra, ak as Oe, al as da, am as dt, an as la, ao as lt, ap as ca, aq as ce, ar as ua, as as ct, b as ha, at as fa, au as pa, av as ma, aw as ga, ax as ut, ay as ba, az as Ia, aA as ya, aB as _a, aC as Ca, aD as Sa, aE as va, aF as wa, aG as xa, aH as Fe, aI as Da } from "../chunks/global-date-filter-utils-CnumW4j2.js";
7
- import { cx as Ui, aT as ji, c8 as zi, c9 as Qi, co as Ki, cn as Hi, ch as Wi, cp as Yi, cq as Xi, bO as Ji, bP as Zi, bQ as en, bL as tn, bM as an, bN as sn, bH as nn, bI as on, bK as rn, bJ as dn, bR as ln, cK as cn, ca as un, b7 as hn, b6 as fn, c2 as pn, cz as mn, bh as gn, cD as bn, cl as In, cm as yn, aQ as _n, cC as Cn, bk as Sn, cA as vn, by as wn, cg as xn, bS as Dn, bz as Tn, cM as kn, aL as $n, cE as Fn, ck as An, aM as Rn, c1 as En, c0 as On, bb as Nn, a$ as qn, b3 as Pn, cI as Mn, bt as Ln, d as Bn, a as Vn, bl as Gn, aN as Un, cw as jn, cO as zn, b0 as Qn, b1 as Kn, b2 as Hn, bg as Wn, bi as Yn, c5 as Xn, g as Jn, bG as Zn, bp as eo, bF as to, bC as ao, c6 as so, aV as io, aW as no, cG as oo, bm as ro, b8 as lo, ci as co, bd as uo, cu as ho, br as fo, bY as po, cN as mo, aR as go, b_ as bo, b$ as Io, cJ as yo, bw as _o, bo as Co, bq as So, bc as vo, bs as wo, cr as xo, cF as Do, aO as To, cy as ko, bv as $o, b9 as Fo, bB as Ao, cs as Ro, c3 as Eo, c4 as Oo, aU as No, cL as qo, c7 as Po, ce as Mo, bE as Lo, aY as Bo, ct as Vo, cH as Go, aJ as Uo, cv as jo, bx as zo, ba as Qo, bU as Ko, a_ as Ho, b4 as Wo, b5 as Yo, cb as Xo, cc as Jo, aZ as Zo, bW as er, bX as tr, bV as ar, aX as sr, bD as ir, cd as nr, bu as or, cj as rr, aK as dr, bA as lr, bZ as cr, aS as ur, cB as hr, bj as fr, bn as pr, aP as mr, bT as gr, bf as br, be as Ir, cf as yr } from "../chunks/global-date-filter-utils-CnumW4j2.js";
8
- import { x as Ta, ao as Be, ap as ka, a3 as Ct, ab as $a, a6 as Fa, ad as St, aD as Aa, aB as vt, aC as Ra } from "../chunks/validators-C-aOQlTB.js";
9
- import "../chunks/matrix-operation-contract-D6vYkZK4.js";
4
+ import { D as it, r as It, b as qt, c as Pt, a as nt, d as Mt } from "../chunks/filter-reach-copy-BG5qVZKS.js";
5
+ import { N as yi, R as _i, f as Ci, j as Si, l as vi, k as wi, u as xi, q as Ti, e as Di, i as ki, y as $i, z as Fi, s as Ai, v as Ri, t as Ei, m as Oi, n as Ni, p as qi, g as Pi, o as Mi, h as Li, x as Bi, w as Vi } from "../chunks/filter-reach-copy-BG5qVZKS.js";
6
+ import { M as Lt, N as Bt, O as $e, P as Vt, Q as Gt, R as Ut, S as jt, T as zt, U as Qt, V as Kt, W as Ht, X as Wt, Y as de, Z as Yt, _ as Xt, $ as fe, a0 as Jt, a1 as Zt, a2 as Me, a3 as yt, a4 as oe, a5 as ne, a6 as Ee, a7 as ea, a8 as Le, a9 as ta, aa, ab as sa, ac as ot, ad as ia, ae as na, af as _t, ag as ie, ah as rt, ai as oa, aj as ra, ak as Oe, al as da, am as dt, an as la, ao as lt, ap as ca, aq as ce, ar as ua, as as ct, b as ha, at as fa, au as pa, av as ma, aw as ga, ax as ut, ay as ba, az as Ia, aA as ya, aB as _a, aC as Ca, aD as Sa, aE as va, aF as wa, aG as xa, aH as Fe, aI as Ta } from "../chunks/global-date-filter-utils-Ce6Ydv2W.js";
7
+ import { cz as Ui, aT as ji, ca as zi, cb as Qi, cq as Ki, cp as Hi, cj as Wi, cr as Yi, cs as Xi, bQ as Ji, bR as Zi, bS as en, bN as tn, bO as an, bP as sn, bJ as nn, bK as on, bM as rn, bL as dn, bT as ln, cM as cn, cc as un, b9 as hn, b8 as fn, c4 as pn, cB as mn, bj as gn, b3 as bn, cF as In, cn as yn, co as _n, aQ as Cn, cE as Sn, bm as vn, cC as wn, bA as xn, ci as Tn, bU as Dn, bB as kn, cO as $n, aL as Fn, cG as An, cm as Rn, aM as En, c3 as On, c2 as Nn, bd as qn, a$ as Pn, b5 as Mn, cK as Ln, bv as Bn, d as Vn, a as Gn, bn as Un, aN as jn, cy as zn, cQ as Qn, b0 as Kn, b1 as Hn, b2 as Wn, bi as Yn, bk as Xn, c7 as Jn, g as Zn, bI as eo, br as to, bH as ao, bE as so, c8 as io, aV as no, aW as oo, cI as ro, bo as lo, ba as co, ck as uo, bf as ho, cw as fo, bt as po, b4 as mo, b_ as go, cP as bo, aR as Io, c0 as yo, c1 as _o, cL as Co, by as So, bq as vo, bs as wo, be as xo, bu as To, ct as Do, cH as ko, aO as $o, cA as Fo, bx as Ao, bb as Ro, bD as Eo, cu as Oo, c5 as No, c6 as qo, aU as Po, cN as Mo, c9 as Lo, cg as Bo, bG as Vo, aY as Go, cv as Uo, cJ as jo, aJ as zo, cx as Qo, bz as Ko, bc as Ho, bW as Wo, a_ as Yo, b6 as Xo, b7 as Jo, cd as Zo, ce as er, aZ as tr, bY as ar, bZ as sr, bX as ir, aX as nr, bF as or, cf as rr, bw as dr, cl as lr, aK as cr, bC as ur, b$ as hr, aS as fr, cD as pr, bl as mr, bp as gr, aP as br, bV as Ir, bh as yr, bg as _r, ch as Cr } from "../chunks/global-date-filter-utils-Ce6Ydv2W.js";
8
+ import { x as Da, ao as Be, ap as ka, a3 as Ct, ab as $a, a6 as Fa, ad as St, aD as Aa, aB as vt, aC as Ra } from "../chunks/validators-BdBzm_EV.js";
9
+ import "../chunks/matrix-operation-contract-L_SiObB7.js";
10
10
  import "../chunks/analytics-base-schemas-BKs3flFS.js";
11
11
  import "zod";
12
12
  import { a as Ea, r as Oa } from "../chunks/index-CtoK1Lgu.js";
13
13
  import { n as Na } from "../chunks/operators-B3zZoskU.js";
14
- import { a as Cr, b as Sr, r as vr } from "../chunks/raw-temporal-presentation-CBKeEPYA.js";
15
- import { w as re } from "../chunks/table-settings-WysCBj62.js";
16
- import { D as xr, x as Dr, y as Tr, F as kr, B as $r, z as Fr, G as Ar, A as Rr, v as Er } from "../chunks/table-settings-WysCBj62.js";
17
- import { v as ve, w as qa } from "../chunks/resolve-dashboard-input-context-DVWF7p5C.js";
18
- import { J as Nr, P as qr, K as Pr, b as Mr, N as Lr, I as Br, z as Vr, Q as Gr, R as Ur, M as jr, C as zr, D as Qr, G as Kr, H as Hr, F as Wr, x as Yr, y as Xr, p as Jr, O as Zr, E as ed, A as td, L as ad, B as sd } from "../chunks/resolve-dashboard-input-context-DVWF7p5C.js";
19
- import { G as nd, F as od, D as rd, E as dd, H as ld, I as cd } from "../chunks/pivot-result-lifecycle-pwq3b7LC.js";
20
- import { e as Pa, w as Ma } from "../chunks/metric-comparison-zpGw4lD6.js";
21
- import { p as La } from "../chunks/report-runtime-context-hWiTCzFV.js";
22
- import { m as hd, a as fd, r as pd } from "../chunks/matrix-card-LiMEipvq.js";
23
- import { n as ht, t as Ba } from "../chunks/matrix-analytical-definition-B9vW-osb.js";
14
+ import { a as vr, b as wr, r as xr } from "../chunks/raw-temporal-presentation-BWRH754b.js";
15
+ import { w as re } from "../chunks/table-settings-CBm7G0yx.js";
16
+ import { D as Dr, x as kr, y as $r, G as Fr, F as Ar, z as Rr, H as Er, B as Or, A as Nr, v as qr } from "../chunks/table-settings-CBm7G0yx.js";
17
+ import { v as ve, w as qa } from "../chunks/resolve-dashboard-input-context-Ctq1YCDV.js";
18
+ import { L as Mr, P as Lr, V as Br, Q as Vr, b as Gr, T as Ur, O as jr, z as zr, W as Qr, X as Kr, S as Hr, H as Wr, I as Yr, M as Xr, A as Jr, B as Zr, N as ed, K as td, x as ad, y as sd, p as id, U as nd, J as od, F as rd, R as dd, C as ld, E as cd, D as ud, G as hd } from "../chunks/resolve-dashboard-input-context-Ctq1YCDV.js";
19
+ import { G as pd, F as md, D as gd, E as bd, H as Id, I as yd } from "../chunks/pivot-result-lifecycle-D0kSz5QX.js";
20
+ import { e as Pa, w as Ma } from "../chunks/metric-comparison-B5gyyW9k.js";
21
+ import { p as La } from "../chunks/report-runtime-context-CKiIubIu.js";
22
+ import { m as Cd, a as Sd, r as vd } from "../chunks/matrix-card-VFE-yDlr.js";
23
+ import { n as ht, t as Ba } from "../chunks/matrix-analytical-definition-cvzKdxPE.js";
24
24
  import "../chunks/index-CuHybtft.js";
25
25
  import "../value-format-preferences/index.js";
26
26
  import "../chunks/_commonjsHelpers-DimLPMtv.js";
@@ -38,7 +38,7 @@ function me(e) {
38
38
  return Va(e) ? e.kind === "semantic" ? !!(e.domainId && e.datasetName) : e.kind === "physical" ? !!(e.connectionId && e.tableName) : !1 : !1;
39
39
  }
40
40
  function ni(e) {
41
- return Ta(e);
41
+ return Da(e);
42
42
  }
43
43
  function wt(e, t) {
44
44
  return Be(e, t);
@@ -456,7 +456,7 @@ function cs(e) {
456
456
  (t) => t instanceof Date || typeof t == "string"
457
457
  );
458
458
  }
459
- function Dt(e, t) {
459
+ function Tt(e, t) {
460
460
  if (t === void 0)
461
461
  return;
462
462
  const a = os(e.dataType), s = e.operation || "in";
@@ -504,7 +504,7 @@ function Dt(e, t) {
504
504
  }
505
505
  });
506
506
  }
507
- function Tt(e, t, a) {
507
+ function Dt(e, t, a) {
508
508
  return a ? { code: e, message: t, cardId: a } : { code: e, message: t };
509
509
  }
510
510
  function us(e, t, a) {
@@ -547,12 +547,12 @@ function ps(e, t) {
547
547
  const d = fs(n.scope, t);
548
548
  if (d === null)
549
549
  return s.push(
550
- Tt(
550
+ Dt(
551
551
  "filter_input_scope_empty",
552
552
  `Filter input "${n.label}" was skipped because all scoped cards or tabs were skipped during query validation.`
553
553
  )
554
554
  ), [];
555
- const u = Dt(
555
+ const u = Tt(
556
556
  n.filter,
557
557
  n.defaultValue
558
558
  );
@@ -604,7 +604,7 @@ function li(e) {
604
604
  for (const c of a.cards) {
605
605
  const m = n.get(c.id);
606
606
  if (!m) {
607
- const k = Tt(
607
+ const k = Dt(
608
608
  "missing_card_artifact",
609
609
  `Card "${c.title}" was skipped because no generated artifact was supplied.`,
610
610
  c.id
@@ -838,7 +838,7 @@ function xs(e) {
838
838
  if (!(!e || e.kind !== "physical"))
839
839
  return [e.databaseName, e.schemaName, e.tableName].filter(Boolean).join(".");
840
840
  }
841
- function Ds(e, t, a, s, r, n) {
841
+ function Ts(e, t, a, s, r, n) {
842
842
  if (e.kind !== "filter")
843
843
  return n.push(
844
844
  H(
@@ -912,7 +912,7 @@ function Ds(e, t, a, s, r, n) {
912
912
  variableName: e.id,
913
913
  scope: s,
914
914
  filter: y,
915
- defaultValue: Dt(
915
+ defaultValue: Tt(
916
916
  y,
917
917
  e.defaultValue
918
918
  )
@@ -931,7 +931,7 @@ function Re(e) {
931
931
  )
932
932
  ), Array.from(new Set(t));
933
933
  }
934
- function Ts(e) {
934
+ function Ds(e) {
935
935
  var s, r;
936
936
  if (!e.protocolScope) {
937
937
  const n = Array.from(new Set(e.boundCardIds));
@@ -1002,22 +1002,22 @@ function ci(e) {
1002
1002
  for (const [A, c] of s.sections.entries()) {
1003
1003
  const m = typeof c.title == "string" ? c.title : `Section ${A + 1}`, F = c.id || he(m, `section-${A + 1}`);
1004
1004
  i.set(F, []);
1005
- for (const [k, D] of Ue(c).entries()) {
1006
- const N = Cs(D), R = he(
1007
- D.id || `${m}-${D.title || `View ${k + 1}`}`,
1005
+ for (const [k, T] of Ue(c).entries()) {
1006
+ const N = Cs(T), R = he(
1007
+ T.id || `${m}-${T.title || `View ${k + 1}`}`,
1008
1008
  `card-${A + 1}-${k + 1}`
1009
1009
  );
1010
1010
  if (!N) {
1011
1011
  t.push(
1012
1012
  H(
1013
1013
  "unsupported_presentation",
1014
- `Dashboard presentation "${(($ = D.presentation) == null ? void 0 : $.kind) || "unknown"}" is not supported by the dashboard authoring adapter.`,
1014
+ `Dashboard presentation "${(($ = T.presentation) == null ? void 0 : $.kind) || "unknown"}" is not supported by the dashboard authoring adapter.`,
1015
1015
  `card-${R}`
1016
1016
  )
1017
1017
  );
1018
1018
  continue;
1019
1019
  }
1020
- if (((_ = D.analytics) == null ? void 0 : _.kind) === "sql") {
1020
+ if (((_ = T.analytics) == null ? void 0 : _.kind) === "sql") {
1021
1021
  t.push(
1022
1022
  H(
1023
1023
  "sql_intent_deferred",
@@ -1028,8 +1028,8 @@ function ci(e) {
1028
1028
  continue;
1029
1029
  }
1030
1030
  const O = kt(R, u), E = `card-${O}`;
1031
- D.id && n.set(D.id, E), (g = i.get(F)) == null || g.push(E);
1032
- const V = D.analytics && "inputs" in D.analytics ? D.analytics.inputs : void 0;
1031
+ T.id && n.set(T.id, E), (g = i.get(F)) == null || g.push(E);
1032
+ const V = T.analytics && "inputs" in T.analytics ? T.analytics.inputs : void 0;
1033
1033
  for (const K of V || []) {
1034
1034
  const L = d.get(K.inputId) || [];
1035
1035
  L.push(E), d.set(K.inputId, L);
@@ -1037,19 +1037,19 @@ function ci(e) {
1037
1037
  r.push({
1038
1038
  id: E,
1039
1039
  frameId: `frame-${O}`,
1040
- title: D.title,
1041
- description: D.description,
1040
+ title: T.title,
1041
+ description: T.description,
1042
1042
  type: N,
1043
- role: Ss(D),
1043
+ role: Ss(T),
1044
1044
  priority: y,
1045
1045
  section: m,
1046
- analyticsIntent: _s(D.analytics),
1047
- text: D.text
1046
+ analyticsIntent: _s(T.analytics),
1047
+ text: T.text
1048
1048
  }), y += 1;
1049
1049
  }
1050
1050
  }
1051
1051
  const C = s.inputs.map((A) => {
1052
- const c = Ts({
1052
+ const c = Ds({
1053
1053
  protocolScope: A.scope,
1054
1054
  inputLabel: A.label,
1055
1055
  allCardIds: r.map((m) => m.id),
@@ -1058,7 +1058,7 @@ function ci(e) {
1058
1058
  sectionIdToCardIds: i,
1059
1059
  warnings: t
1060
1060
  });
1061
- return c === null ? null : Ds(
1061
+ return c === null ? null : Ts(
1062
1062
  A,
1063
1063
  s.defaultSource,
1064
1064
  s.sources,
@@ -1363,7 +1363,7 @@ function pe(e, t, a, s) {
1363
1363
  return r ? At(e, r, a, s) : void 0;
1364
1364
  }
1365
1365
  function Rs(e, t, a, s, r) {
1366
- var c, m, F, k, D, N;
1366
+ var c, m, F, k, T, N;
1367
1367
  const n = oe(e, { sql: !0 });
1368
1368
  if (!n.editable) return [n.message];
1369
1369
  const i = n.query, d = t;
@@ -1400,7 +1400,7 @@ function Rs(e, t, a, s, r) {
1400
1400
  const R = d.filters ?? [];
1401
1401
  let O = i.filters ?? [];
1402
1402
  const E = d.timeWindow, V = i.timeWindow, K = (L, q) => {
1403
- const j = (De) => JSON.stringify((De ?? []).map(String));
1403
+ const j = (Te) => JSON.stringify((Te ?? []).map(String));
1404
1404
  return p(L.field) === p(q.field) && L.operator === q.operator && (L.scope ?? "row") === (q.scope ?? "row") && (typeof L.field == "object" ? L.field.aggregate : void 0) === (typeof q.field == "object" ? q.field.aggregate : void 0) && (L.values === void 0 || j(L.values) === j(q.values));
1405
1405
  };
1406
1406
  if (E && !V) {
@@ -1412,7 +1412,7 @@ function Rs(e, t, a, s, r) {
1412
1412
  (R.length !== O.length || R.some((L, q) => !K(L, O[q]))) && C.push("filters");
1413
1413
  }
1414
1414
  if (d.orderBy !== void 0) {
1415
- const R = d.orderBy, O = (D = (k = e.config) == null ? void 0 : k.sortByColumns) == null ? void 0 : D[0], E = O && ta(e.config ?? {}, O), V = R.field && typeof R.field == "object" ? R.field.aggregate : void 0;
1415
+ const R = d.orderBy, O = (T = (k = e.config) == null ? void 0 : k.sortByColumns) == null ? void 0 : T[0], E = O && ta(e.config ?? {}, O), V = R.field && typeof R.field == "object" ? R.field.aggregate : void 0;
1416
1416
  (!O || !E || O.direction !== R.direction || p(R.field) !== aa(E.name, sa(E)) || V !== void 0 && ht(E) !== V) && C.push("orderBy");
1417
1417
  }
1418
1418
  return d.limit !== void 0 && ((N = e.config) == null ? void 0 : N.rowLimit) !== d.limit && C.push("limit"), C;
@@ -1502,11 +1502,11 @@ async function mi(e, t, a) {
1502
1502
  path: o,
1503
1503
  fix: "Read the outline again and use its filter ids."
1504
1504
  }), f;
1505
- }, k = () => (p.sheets ?? []).filter((f) => !ct(f)), D = () => k().map((f) => ({ sheetId: f.id, title: f.title ?? "" })), N = (f, o) => {
1505
+ }, k = () => (p.sheets ?? []).filter((f) => !ct(f)), T = () => k().map((f) => ({ sheetId: f.id, title: f.title ?? "" })), N = (f, o) => {
1506
1506
  const l = (p.sheets ?? []).find((h) => h.id === f);
1507
- return l || g({ code: "sheet_not_found", message: `There's no sheet ${f} on this dashboard.`, path: o, fix: "Read the outline again and use its sheet ids.", details: { sheets: D() } }), ct(l) && g({ code: "sheet_not_a_grid", message: `"${l.title}" is a Document sheet.`, path: o, fix: "Add the card to a grid sheet; Document sheets are changed in the editor.", details: { sheets: D() } }), l;
1507
+ return l || g({ code: "sheet_not_found", message: `There's no sheet ${f} on this dashboard.`, path: o, fix: "Read the outline again and use its sheet ids.", details: { sheets: T() } }), ct(l) && g({ code: "sheet_not_a_grid", message: `"${l.title}" is a Document sheet.`, path: o, fix: "Add the card to a grid sheet; Document sheets are changed in the editor.", details: { sheets: T() } }), l;
1508
1508
  }, R = (f, o, l, h) => {
1509
- var T;
1509
+ var D;
1510
1510
  for (const w of ga(o, l)) g({ ...w, path: `${h}.${w.path}` });
1511
1511
  const I = ce[f], v = xe(o), S = o.dateField;
1512
1512
  if (S && typeof S != "string" && S.label && !o.timeGrain && g({
@@ -1530,7 +1530,7 @@ async function mi(e, t, a) {
1530
1530
  message: `A ${f.replace(/_/g, " ")} card shows exactly ${I.measures.max} measure.`,
1531
1531
  path: `${h}.query.measures`,
1532
1532
  fix: "Send one measure, or use a table or chart for several."
1533
- }), !I.dimensions && ((T = w.dimensions) != null && T.length) && g({
1533
+ }), !I.dimensions && ((D = w.dimensions) != null && D.length) && g({
1534
1534
  code: "type_not_supported",
1535
1535
  message: `A ${f.replace(/_/g, " ")} card shows one number, so it has no dimensions.`,
1536
1536
  path: `${h}.query.dimensions`,
@@ -1572,13 +1572,13 @@ async function mi(e, t, a) {
1572
1572
  fix: f.code === "query_not_kept" ? "Tell the user to make this change in the editor." : "Read the outline again and propose again.",
1573
1573
  details: { reason: "not_expressible", ..."parts" in f ? { parts: f.parts } : {} }
1574
1574
  }), E = (f, o, l, h, I, v, S) => {
1575
- const T = Rs(f, o, l, v, S);
1576
- T.length && g({
1575
+ const D = Rs(f, o, l, v, S);
1576
+ D.length && g({
1577
1577
  code: "card_not_editable",
1578
1578
  message: `As changed, "${I}" wouldn't run the query asked for, so make this change in the editor.`,
1579
1579
  path: `${h}.query`,
1580
1580
  fix: "Tell the user to make this change in the editor.",
1581
- details: { reason: "not_expressible", detail: `doesn't hold: ${T.join(", ")}` }
1581
+ details: { reason: "not_expressible", detail: `doesn't hold: ${D.join(", ")}` }
1582
1582
  });
1583
1583
  }, V = async (f, o, l, h) => {
1584
1584
  const I = rt(f);
@@ -1588,21 +1588,21 @@ async function mi(e, t, a) {
1588
1588
  if (!S.ok)
1589
1589
  throw s.push(...S.problems.map((x) => ({ ...x, path: x.path ? `${h}.query.${x.path}` : `${h}.query` }))), new ue();
1590
1590
  r.push(...S.warnings.map((x) => ({ ...x, path: x.path ?? `${h}.query` })));
1591
- let T = { ...S.part, type: I };
1592
- const w = T.config ?? {};
1591
+ let D = { ...S.part, type: I };
1592
+ const w = D.config ?? {};
1593
1593
  if (I === "detailTable") {
1594
1594
  const x = ba(Ia("table", "detailTable", w)) ?? {};
1595
- T = { ...T, config: Os(x) };
1595
+ D = { ...D, config: Os(x) };
1596
1596
  }
1597
- return I === "matrixTable" && (T = await K(T, w, o, l, h)), Ns(T, Ee(o));
1597
+ return I === "matrixTable" && (D = await K(D, w, o, l, h)), Ns(D, Ee(o));
1598
1598
  }, K = async (f, o, l, h, I) => {
1599
1599
  var Q;
1600
1600
  const v = await a.loadCardSource({ domainId: l.domainId, datasetName: l.datasetName });
1601
1601
  if (v || g({ code: "field_not_found", message: `The dataset "${l.datasetName}" isn't available.`, path: `${I}.query.datasetName`, fix: "Find datasets with semaphor_list_datasets." }), f.source.kind !== "semantic") throw new ue();
1602
- const S = { id: "scratch", title: "", type: "table", dataSource: f.source.dataSource, config: o }, T = Ca(S, "matrixTable", { catalog: v.fields, createId: a.newId }), w = T.status === "changed" ? (Q = T.card.config) == null ? void 0 : Q.matrix : void 0;
1603
- (T.status !== "changed" || T.leftOut.length || !w) && g({
1602
+ const S = { id: "scratch", title: "", type: "table", dataSource: f.source.dataSource, config: o }, D = Ca(S, "matrixTable", { catalog: v.fields, createId: a.newId }), w = D.status === "changed" ? (Q = D.card.config) == null ? void 0 : Q.matrix : void 0;
1603
+ (D.status !== "changed" || D.leftOut.length || !w) && g({
1604
1604
  code: "type_not_supported",
1605
- message: T.status === "changed" && T.leftOut.length ? `These fields can't run in a Matrix: ${T.leftOut.join(", ")}.` : "This query can't be shown as a Matrix.",
1605
+ message: D.status === "changed" && D.leftOut.length ? `These fields can't run in a Matrix: ${D.leftOut.join(", ")}.` : "This query can't be shown as a Matrix.",
1606
1606
  path: `${I}.query`,
1607
1607
  fix: "Use plain dataset fields for a Matrix, or use a table."
1608
1608
  });
@@ -1643,16 +1643,16 @@ async function mi(e, t, a) {
1643
1643
  message: B.length ? "This dashboard has several grid sheets; say which one gets the card." : "This dashboard has no grid sheet to add a card to.",
1644
1644
  path: `${l}.sheetId`,
1645
1645
  fix: B.length ? "Send sheetId: one of details.sheets." : "Add a grid sheet in the editor first.",
1646
- details: { sheets: D() }
1646
+ details: { sheets: T() }
1647
1647
  }), B[0];
1648
1648
  })();
1649
1649
  R(o.type, o.query, o.matrix, l);
1650
1650
  const v = await V(o.type, o.query, o.matrix, l), S = {
1651
1651
  ...Pt({ id: a.newId(), title: o.title, ...o.description ? { description: o.description } : {} }),
1652
1652
  type: v.type
1653
- }, T = lt(S, v);
1654
- T.ok || g({ code: "invalid_change", message: T.message, path: l });
1655
- const w = T.ok ? T.card : S;
1653
+ }, D = lt(S, v);
1654
+ D.ok || g({ code: "invalid_change", message: D.message, path: l });
1655
+ const w = D.ok ? D.card : S;
1656
1656
  E(w, o.query, o.matrix, l, o.title, v);
1657
1657
  const x = { id: a.newId(), cards: [w], activeCardId: w.id }, G = h ? { after: h.frameId } : typeof o.position == "string" ? o.position : void 0, Q = G || o.width ? { ...G ? { position: G } : {}, ...o.width ? { width: o.width } : {} } : void 0;
1658
1658
  c({ op: "card.add", sheetId: I.id, frame: x, ...Q ? { placement: Q } : {}, changeIndex: f }, l);
@@ -1676,7 +1676,7 @@ async function mi(e, t, a) {
1676
1676
  path: l,
1677
1677
  details: { cardIds: [h] }
1678
1678
  });
1679
- let T = !1;
1679
+ let D = !1;
1680
1680
  const w = o.type ? rt(o.type) : void 0;
1681
1681
  if (w && w !== v.type) {
1682
1682
  const x = S.editable ? S.source : void 0, G = oa(v, w), Q = G && x && x.kind === "semantic" ? (Ke = await a.loadCardSource({ domainId: x.domainId, datasetName: x.datasetName })) == null ? void 0 : Ke.fields : void 0, P = [], B = ra(v, w, {
@@ -1697,7 +1697,7 @@ async function mi(e, t, a) {
1697
1697
  }), c(
1698
1698
  { op: "card.update", cardId: h, update: { kind: "retype", type: w, ...Q ? { catalog: Q } : {}, newIds: P }, changeIndex: f },
1699
1699
  `${l}.type`
1700
- ), T = !0;
1700
+ ), D = !0;
1701
1701
  }
1702
1702
  }
1703
1703
  if (o.query || o.matrix) {
@@ -1705,14 +1705,14 @@ async function mi(e, t, a) {
1705
1705
  R(B, P, U, l);
1706
1706
  const z = G.editable ? da(G.query, P, G.matrix, U) : void 0, tt = !z || z.aspects.length > 0, le = z && !("sql" in P) ? Ee(P).filter((X) => !dt(z, X.key.role)) : [], at = la(x, z, le.map((X) => X.key.role));
1707
1707
  at && O(at, l);
1708
- let Te = P;
1708
+ let De = P;
1709
1709
  if (z && !("sql" in P) && P.orderBy && !z.aspects.includes("order") && ["metric", "group_by", "detail"].some((X) => dt(z, X))) {
1710
1710
  const { orderBy: X, ...be } = P;
1711
- Te = be;
1711
+ De = be;
1712
1712
  }
1713
1713
  let st;
1714
1714
  if (tt) {
1715
- const X = await V(B, Te, U, l);
1715
+ const X = await V(B, De, U, l);
1716
1716
  st = X;
1717
1717
  const be = z ? { ...X, change: z } : X, ee = lt(x, be);
1718
1718
  if (ee.ok || O(ee, l), ee.ok && ee.droppedBindings.length && r.push({
@@ -1730,9 +1730,9 @@ async function mi(e, t, a) {
1730
1730
  fix: "State a new label on the field ref if the old one no longer fits.",
1731
1731
  details: { columns: [{ label: Ie.label, field: Ie.field }] }
1732
1732
  });
1733
- c({ op: "card.update", cardId: h, update: { kind: "requery", query: be }, changeIndex: f }, `${l}.query`), T = !0;
1733
+ c({ op: "card.update", cardId: h, update: { kind: "requery", query: be }, changeIndex: f }, `${l}.query`), D = !0;
1734
1734
  }
1735
- le.length && ca(ie(p, h).card, le).changed.length && c({ op: "card.update", cardId: h, update: { kind: "relabel", labels: le }, changeIndex: f }, `${l}.query`), (tt || le.length) && E(ie(p, h).card, Te, U, l, x.title ?? "", st, z);
1735
+ le.length && ca(ie(p, h).card, le).changed.length && c({ op: "card.update", cardId: h, update: { kind: "relabel", labels: le }, changeIndex: f }, `${l}.query`), (tt || le.length) && E(ie(p, h).card, De, U, l, x.title ?? "", st, z);
1736
1736
  }
1737
1737
  (o.title !== void 0 || o.description !== void 0) && c(
1738
1738
  {
@@ -1746,14 +1746,14 @@ async function mi(e, t, a) {
1746
1746
  changeIndex: f
1747
1747
  },
1748
1748
  l
1749
- ), T && !u.includes(h) && u.push(h), i.push({ ref: o.cardId, kind: "card", id: h, title: v.title ?? "", changeIndex: f });
1749
+ ), D && !u.includes(h) && u.push(h), i.push({ ref: o.cardId, kind: "card", id: h, title: v.title ?? "", changeIndex: f });
1750
1750
  break;
1751
1751
  }
1752
1752
  case "card.remove": {
1753
1753
  const h = m(o.cardId, `${l}.cardId`), I = ie(p, h);
1754
1754
  I || g({ code: "card_not_editable", message: "Cards in Document sections are removed in the editor.", path: `${l}.cardId`, fix: "Tell the user to remove it in the editor.", details: { reason: "document_section" } }), I.frame.cards.some((S) => {
1755
- var T, w;
1756
- return ((T = S.customCardPreferences) == null ? void 0 : T.visualType) === "multiple" || !!((w = S.customCardPreferences) != null && w.dataInputCardIds);
1755
+ var D, w;
1756
+ return ((D = S.customCardPreferences) == null ? void 0 : D.visualType) === "multiple" || !!((w = S.customCardPreferences) != null && w.dataInputCardIds);
1757
1757
  }) && I.frame.cards.length > 1 && g({ code: "card_not_editable", message: "This card is an input of a custom visual; remove it in the editor.", path: `${l}.cardId`, fix: "Tell the user to remove it in the editor.", details: { reason: "custom" } }), I.frame.visualId && I.frame.cards.length > 1 && r.push({
1758
1758
  code: "detaches_linked_visual",
1759
1759
  message: `Removing "${I.card.title}" makes the rest of its tile local to this dashboard; it stops following its library visual.`,
@@ -1782,8 +1782,8 @@ async function mi(e, t, a) {
1782
1782
  existingInputs: Array.isArray(p.inputs) ? p.inputs : [],
1783
1783
  createId: a.newId,
1784
1784
  label: o.label
1785
- }), T = { ...S.filter };
1786
- T.dateSelectionMode || (T.type = o.selection ?? "multiple"), o.defaultValues && (T.defaultValues = o.defaultValues), o.defaultPeriod && (T.defaultDateFilter = bt(o.defaultPeriod, I, `${l}.defaultPeriod`, g)), c({ op: "filter.add", input: { ...S, filter: T }, changeIndex: f }, l), L.set(S.id, { sheetIds: o.sheetIds ?? "all", changeIndex: f }), (o.defaultValues !== void 0 || o.defaultPeriod !== void 0) && q.set(S.id, { values: o.defaultValues, period: o.defaultPeriod, changeIndex: f });
1785
+ }), D = { ...S.filter };
1786
+ D.dateSelectionMode || (D.type = o.selection ?? "multiple"), o.defaultValues && (D.defaultValues = o.defaultValues), o.defaultPeriod && (D.defaultDateFilter = bt(o.defaultPeriod, I, `${l}.defaultPeriod`, g)), c({ op: "filter.add", input: { ...S, filter: D }, changeIndex: f }, l), L.set(S.id, { sheetIds: o.sheetIds ?? "all", changeIndex: f }), (o.defaultValues !== void 0 || o.defaultPeriod !== void 0) && q.set(S.id, { values: o.defaultValues, period: o.defaultPeriod, changeIndex: f });
1787
1787
  const w = o.handle;
1788
1788
  w && (b.has(w) && g({ code: "invalid_change", message: `The handle ${w} is defined twice.`, path: `${l}.handle`, fix: "Give each new card or filter its own handle." }), b.set(w, { kind: "filter", id: S.id, title: o.label })), i.push({ ref: w ?? S.id, kind: "filter", id: S.id, title: o.label, changeIndex: f });
1789
1789
  break;
@@ -1799,8 +1799,8 @@ async function mi(e, t, a) {
1799
1799
  const v = (p.inputs ?? []).find((x) => x.id === h);
1800
1800
  if ((v == null ? void 0 : v.kind) !== "filter" || !v.filter) throw new ue();
1801
1801
  const S = { ...v.filter };
1802
- let T = !1;
1803
- o.selection && (S.type = o.selection), o.defaultValues !== void 0 && (T = !0, o.defaultValues === null ? delete S.defaultValues : S.defaultValues = o.defaultValues), o.defaultPeriod !== void 0 && (T = !0, o.defaultPeriod === null ? delete S.defaultDateFilter : S.defaultDateFilter = bt(
1802
+ let D = !1;
1803
+ o.selection && (S.type = o.selection), o.defaultValues !== void 0 && (D = !0, o.defaultValues === null ? delete S.defaultValues : S.defaultValues = o.defaultValues), o.defaultPeriod !== void 0 && (D = !0, o.defaultPeriod === null ? delete S.defaultDateFilter : S.defaultDateFilter = bt(
1804
1804
  o.defaultPeriod,
1805
1805
  { dataType: S.dataType },
1806
1806
  `${l}.defaultPeriod`,
@@ -1808,7 +1808,7 @@ async function mi(e, t, a) {
1808
1808
  ));
1809
1809
  const w = {
1810
1810
  ...o.label !== void 0 ? { label: o.label } : {},
1811
- ...o.selection !== void 0 || T ? { definition: S } : {},
1811
+ ...o.selection !== void 0 || D ? { definition: S } : {},
1812
1812
  // A change of sheets states the sheets; what else the scope says (the cards it leaves out,
1813
1813
  // whether it covers Document sheets) stays.
1814
1814
  ...o.sheetIds !== void 0 ? { scope: na(
@@ -1816,9 +1816,9 @@ async function mi(e, t, a) {
1816
1816
  gt(o.sheetIds ?? void 0, l, N),
1817
1817
  new Set([...Me(p).values()].filter((x) => x.sheetKind === "document").map((x) => x.sheetId))
1818
1818
  ) } : {},
1819
- ...T ? { values: { defaultChanged: !0, target: {} } } : {}
1819
+ ...D ? { values: { defaultChanged: !0, target: {} } } : {}
1820
1820
  };
1821
- c({ op: "filter.update", filterId: h, settings: w, changeIndex: f }, l), o.sheetIds !== void 0 && L.set(h, { sheetIds: o.sheetIds ?? "all", changeIndex: f }), T && q.set(h, { values: o.defaultValues, period: o.defaultPeriod, changeIndex: f }), i.push({ ref: o.filterId, kind: "filter", id: h, title: v.label, changeIndex: f });
1821
+ c({ op: "filter.update", filterId: h, settings: w, changeIndex: f }, l), o.sheetIds !== void 0 && L.set(h, { sheetIds: o.sheetIds ?? "all", changeIndex: f }), D && q.set(h, { values: o.defaultValues, period: o.defaultPeriod, changeIndex: f }), i.push({ ref: o.filterId, kind: "filter", id: h, title: v.label, changeIndex: f });
1822
1822
  break;
1823
1823
  }
1824
1824
  case "filter.remove": {
@@ -1834,8 +1834,8 @@ async function mi(e, t, a) {
1834
1834
  path: `${l}.filterId`,
1835
1835
  fix: "Tell the user to change it in the editor; removing or excluding it works."
1836
1836
  });
1837
- const v = m(o.cardId, `${l}.cardId`), S = re(p).find((w) => w.cardId === v).card, T = await Ls(S, o.field, a, `${l}.field`, g);
1838
- c({ op: "filter.bind", filterId: h, cardId: v, binding: { kind: "bound", cardId: v, bindingId: a.newId(), target: T }, changeIndex: f }, l), i.push({ ref: o.filterId, kind: "filter", id: h, title: I.label, changeIndex: f });
1837
+ const v = m(o.cardId, `${l}.cardId`), S = re(p).find((w) => w.cardId === v).card, D = await Ls(S, o.field, a, `${l}.field`, g);
1838
+ c({ op: "filter.bind", filterId: h, cardId: v, binding: { kind: "bound", cardId: v, bindingId: a.newId(), target: D }, changeIndex: f }, l), i.push({ ref: o.filterId, kind: "filter", id: h, title: I.label, changeIndex: f });
1839
1839
  break;
1840
1840
  }
1841
1841
  case "layout.arrange": {
@@ -1846,7 +1846,7 @@ async function mi(e, t, a) {
1846
1846
  message: I.length ? "This dashboard has several grid sheets; say which one to arrange." : "This dashboard has no grid sheet to arrange.",
1847
1847
  path: `${l}.sheetId`,
1848
1848
  fix: I.length ? "Send sheetId: one of details.sheets." : "Add a grid sheet in the editor first.",
1849
- details: { sheets: D() }
1849
+ details: { sheets: T() }
1850
1850
  }), I[0];
1851
1851
  })();
1852
1852
  c({ op: "layout.arrange", sheetId: h.id, ...o.keepOrder ? { keepOrder: !0 } : {}, changeIndex: f }, l);
@@ -1894,14 +1894,14 @@ async function mi(e, t, a) {
1894
1894
  if (!(l != null && l.editable)) continue;
1895
1895
  const h = async (v) => {
1896
1896
  const S = [];
1897
- for (const T of v) {
1898
- const w = T.datasetName ? await a.findRelationshipFields({
1897
+ for (const D of v) {
1898
+ const w = D.datasetName ? await a.findRelationshipFields({
1899
1899
  domainId: l.domainId,
1900
1900
  fromDataset: l.datasetName,
1901
1901
  field: l.field,
1902
- toDataset: T.datasetName
1902
+ toDataset: D.datasetName
1903
1903
  }) : [];
1904
- S.push({ ...T, suggestedFields: w });
1904
+ S.push({ ...D, suggestedFields: w });
1905
1905
  }
1906
1906
  return S;
1907
1907
  }, I = (v) => v.map((S) => `"${S.title}"`).join(", ");
@@ -1926,14 +1926,14 @@ async function mi(e, t, a) {
1926
1926
  });
1927
1927
  }
1928
1928
  }
1929
- const De = Es(j.dashboard, n, j.descriptions, C);
1929
+ const Te = Es(j.dashboard, n, j.descriptions, C);
1930
1930
  return {
1931
1931
  ok: !0,
1932
1932
  operations: n,
1933
1933
  context: y,
1934
1934
  dashboard: j.dashboard,
1935
1935
  refs: i,
1936
- descriptions: De,
1936
+ descriptions: Te,
1937
1937
  changedCardIds: u,
1938
1938
  requires: [...d],
1939
1939
  warnings: r
@@ -1997,7 +1997,7 @@ function Ns(e, t) {
1997
1997
  }
1998
1998
  const r = { metric: "metricColumns", group_by: "groupByColumns", detail: "detailColumns" };
1999
1999
  for (const { key: n, label: i } of t) {
2000
- const d = [...a[r[n.role]] ?? []], u = Da(n.role, d).findIndex((b) => Fe(b, n));
2000
+ const d = [...a[r[n.role]] ?? []], u = Ta(n.role, d).findIndex((b) => Fe(b, n));
2001
2001
  u < 0 || (d[u] = Ba(d[u], i), a[r[n.role]] = d, s.push(n));
2002
2002
  }
2003
2003
  return { ...e, config: a, statedLabels: s };
@@ -2011,49 +2011,49 @@ function qs(e, t, a, s, r) {
2011
2011
  var F;
2012
2012
  return ((F = [...a].reverse().find((k) => ze(k) === m || "filterId" in k && k.filterId === c)) == null ? void 0 : F.changeIndex) ?? 0;
2013
2013
  }, C = (c, m) => {
2014
- const F = u.findFilterInput({ inputId: c }).input, k = i.get(m), D = `"${k.card.title ?? ""}"`, N = `"${F.label}"`;
2014
+ const F = u.findFilterInput({ inputId: c }).input, k = i.get(m), T = `"${k.card.title ?? ""}"`, N = `"${F.label}"`;
2015
2015
  if (k.kind === "documentSectionCard")
2016
2016
  return {
2017
2017
  reason: "document_section",
2018
- message: `${D} is in a Document section, which takes only the filters its Document sheet shows.`,
2018
+ message: `${T} is in a Document section, which takes only the filters its Document sheet shows.`,
2019
2019
  fix: "Tell the user to change where the filter shows in the editor."
2020
2020
  };
2021
2021
  const R = d.get(k.sheetId);
2022
2022
  if (R && !yt(F, R))
2023
2023
  return {
2024
2024
  reason: "outside_sheets",
2025
- message: `${N} isn't shown on "${b(k.sheetId)}", so it can't filter ${D}.`,
2025
+ message: `${N} isn't shown on "${b(k.sheetId)}", so it can't filter ${T}.`,
2026
2026
  fix: "Show it on that sheet first with filter.update sheetIds (null for every sheet), in the same proposal."
2027
2027
  };
2028
2028
  const O = qa(F, k.card);
2029
2029
  switch (O.status) {
2030
2030
  case "incompatible":
2031
- return { reason: "incompatible_field", message: `${D} can't take ${N}'s values on that field: their types differ.`, fix: "Bind a field of the same type (filter.bind)." };
2031
+ return { reason: "incompatible_field", message: `${T} can't take ${N}'s values on that field: their types differ.`, fix: "Bind a field of the same type (filter.bind)." };
2032
2032
  case "stale":
2033
2033
  return {
2034
2034
  reason: "field_not_on_card",
2035
- message: `${D} doesn't have the field ${N} is bound to.`,
2035
+ message: `${T} doesn't have the field ${N} is bound to.`,
2036
2036
  fix: "Bind a field the card has (filter.bind), or exclude the card (filter.exclude), in the same proposal."
2037
2037
  };
2038
2038
  case "ambiguous":
2039
2039
  return {
2040
2040
  reason: "ambiguous_field",
2041
- message: `${D} has more than one field ${N} could filter.`,
2041
+ message: `${T} has more than one field ${N} could filter.`,
2042
2042
  fix: "Bind the field it should use (filter.bind), or exclude the card (filter.exclude), in the same proposal."
2043
2043
  };
2044
2044
  case "relationship": {
2045
2045
  const E = ve(F, k.card, r);
2046
2046
  return E.reach === "blocked" ? {
2047
2047
  reason: "relationship_route_changed",
2048
- message: `The relationships ${D} used for ${N} changed in the domain.`,
2048
+ message: `The relationships ${T} used for ${N} changed in the domain.`,
2049
2049
  fix: "Tell the user to choose the relationship again in the filter's Cards tab."
2050
2050
  } : E.reason === "relationship_ambiguous" ? {
2051
2051
  reason: "relationship_ambiguous",
2052
- message: `${N} connects to ${D} through more than one path.`,
2052
+ message: `${N} connects to ${T} through more than one path.`,
2053
2053
  fix: "Tell the user to choose a path in the filter's Cards tab, or bind a field the card has (filter.bind)."
2054
2054
  } : {
2055
2055
  reason: "relationship_pending",
2056
- message: `${N} may reach ${D} through the domain's relationships; whether it applies is decided when the card runs.`,
2056
+ message: `${N} may reach ${T} through the domain's relationships; whether it applies is decided when the card runs.`,
2057
2057
  fix: "Bind a field the card has (filter.bind) to make it certain, or leave it to the relationships."
2058
2058
  };
2059
2059
  }
@@ -2064,7 +2064,7 @@ function qs(e, t, a, s, r) {
2064
2064
  case "automatic":
2065
2065
  case "passthrough":
2066
2066
  case "notApplicable":
2067
- return { reason: "filter_settings_override", message: `${N} still wouldn't filter ${D}: its settings leave that card out.`, fix: "Tell the user to change the filter's settings in the editor." };
2067
+ return { reason: "filter_settings_override", message: `${N} still wouldn't filter ${T}: its settings leave that card out.`, fix: "Tell the user to change the filter's settings in the editor." };
2068
2068
  default: {
2069
2069
  const E = O;
2070
2070
  throw new Error(`Unhandled filter card target ${String(E.status)}`);
@@ -2079,13 +2079,13 @@ function qs(e, t, a, s, r) {
2079
2079
  const k = m.reaches.includes(c.cardId);
2080
2080
  if (c.op === "filter.bind" ? k : !k) continue;
2081
2081
  p.add(`${c.filterId}|${c.cardId}`);
2082
- const D = c.op === "filter.bind" ? C(c.filterId, c.cardId) : { reason: "filter_settings_override", message: `"${m.label}" would still filter "${F.card.title ?? ""}".`, fix: "Tell the user to change the filter's settings in the editor." };
2082
+ const T = c.op === "filter.bind" ? C(c.filterId, c.cardId) : { reason: "filter_settings_override", message: `"${m.label}" would still filter "${F.card.title ?? ""}".`, fix: "Tell the user to change the filter's settings in the editor." };
2083
2083
  n.push({
2084
2084
  code: "filter_not_editable",
2085
- message: D.message,
2085
+ message: T.message,
2086
2086
  path: `changes[${c.changeIndex ?? 0}]`,
2087
- fix: D.fix,
2088
- details: { reason: D.reason, cardId: c.cardId }
2087
+ fix: T.fix,
2088
+ details: { reason: T.reason, cardId: c.cardId }
2089
2089
  });
2090
2090
  }
2091
2091
  for (const [c, m] of s) {
@@ -2094,13 +2094,13 @@ function qs(e, t, a, s, r) {
2094
2094
  const k = F.editable && ((A = F.exceptSheetIds) == null ? void 0 : A.some((R) => {
2095
2095
  var O;
2096
2096
  return ((O = d.get(R)) == null ? void 0 : O.sheetKind) === "dashboard";
2097
- })), D = F.editable && !k ? F.sheetIds : void 0, N = m.sheetIds === "all" ? "all" : [...m.sheetIds].sort();
2098
- Le(D === "all" || !D ? D : [...D].sort(), N) || n.push({
2097
+ })), T = F.editable && !k ? F.sheetIds : void 0, N = m.sheetIds === "all" ? "all" : [...m.sheetIds].sort();
2098
+ Le(T === "all" || !T ? T : [...T].sort(), N) || n.push({
2099
2099
  code: "filter_not_editable",
2100
2100
  message: `"${F.label}" wouldn't show on the sheets asked for. Change where it shows in the editor.`,
2101
2101
  path: `changes[${m.changeIndex}].sheetIds`,
2102
2102
  fix: "Tell the user to change the filter's sheets in the editor.",
2103
- details: { reason: "filter_settings_override", ...D ? { sheetIds: D } : {} }
2103
+ details: { reason: "filter_settings_override", ...T ? { sheetIds: T } : {} }
2104
2104
  });
2105
2105
  }
2106
2106
  const _ = de(e), g = (c) => c === "blocked" || c === "ambiguous";
@@ -2108,8 +2108,8 @@ function qs(e, t, a, s, r) {
2108
2108
  const m = c.input.id;
2109
2109
  for (const F of u.reachedCards({ inputId: m })) {
2110
2110
  if (p.has(`${m}|${F.cardId}`) || !g(ve(c.input, F.card, r).reach)) continue;
2111
- const k = _.findFilterInput({ inputId: m }), D = k && _.reachedCards({ inputId: m }).find((R) => R.cardId === F.cardId);
2112
- if (k && D && g(ve(k.input, D.card, r).reach)) continue;
2111
+ const k = _.findFilterInput({ inputId: m }), T = k && _.reachedCards({ inputId: m }).find((R) => R.cardId === F.cardId);
2112
+ if (k && T && g(ve(k.input, T.card, r).reach)) continue;
2113
2113
  const N = C(m, F.cardId);
2114
2114
  n.push({
2115
2115
  code: "invalid_change",
@@ -2233,8 +2233,8 @@ function gi(e, t) {
2233
2233
  kind: _.kind === "document" ? "document" : "dashboard",
2234
2234
  ..._.kind === "document" ? {} : { layout: Vs(_) },
2235
2235
  cards: n.filter((g) => g.sheetId === _.id).map((g) => {
2236
- var D;
2237
- const A = g.card, c = g.kind === "frameCard" ? (D = d.get(g.frameId)) == null ? void 0 : D.visualId : void 0, m = c ? { linkedVisualId: c } : {}, F = { cardId: g.cardId, title: A.title ?? "" };
2236
+ var T;
2237
+ const A = g.card, c = g.kind === "frameCard" ? (T = d.get(g.frameId)) == null ? void 0 : T.visualId : void 0, m = c ? { linkedVisualId: c } : {}, F = { cardId: g.cardId, title: A.title ?? "" };
2238
2238
  if (g.kind !== "frameCard") {
2239
2239
  const N = fe(A);
2240
2240
  return b(N), {
@@ -2321,174 +2321,180 @@ export {
2321
2321
  it as DASHBOARD_AUTHORING_MAX_GENERATED_CARDS,
2322
2322
  cn as DASHBOARD_CHANGE_OPS,
2323
2323
  un as DASHBOARD_DEFAULT_OPTION_DEPENDENCIES,
2324
- xr as DASHBOARD_FILTER_OPERATIONS,
2324
+ Dr as DASHBOARD_FILTER_OPERATIONS,
2325
2325
  hn as DASHBOARD_INPUT_RUNTIME_SCOPE_KINDS,
2326
- Dr as DOCUMENT_KPI_SECTION_MAX_CARDS,
2327
- Tr as DOCUMENT_KPI_SECTION_MAX_TILES,
2326
+ kr as DOCUMENT_KPI_SECTION_MAX_CARDS,
2327
+ $r as DOCUMENT_KPI_SECTION_MAX_TILES,
2328
2328
  fn as DashboardFilterMappingContractError,
2329
2329
  pn as ExecutionControlContractError,
2330
2330
  mn as FILTER_OPERATORS,
2331
2331
  gn as FilterModelError,
2332
+ bn as LEGACY_TABLE_CARD_TYPES,
2333
+ Mr as LEGACY_TABLE_ROUTING_ID_NAMESPACE,
2332
2334
  ot as MAX_PROPOSED_CHANGES,
2333
- bn as MAX_QUERY_LIMIT,
2335
+ In as MAX_QUERY_LIMIT,
2334
2336
  yi as NEW_CARD_TYPE,
2335
- In as QUERY_ASPECTS,
2336
- yn as QUERY_CONFIG_KEY_ASPECTS,
2337
+ yn as QUERY_ASPECTS,
2338
+ _n as QUERY_CONFIG_KEY_ASPECTS,
2337
2339
  _i as RELATIONSHIP_ROUTE_CHANGED_MESSAGE,
2338
- _n as SEMAPHOR_CARTESIAN_CHART_TYPES,
2339
- Cn as TIME_GRAINS,
2340
- Sn as TOOLBAR_FILTER_REACH_FIELDS,
2341
- vn as analyticsFilterSchema,
2342
- Nr as applyCardReferenceRemapping,
2340
+ Cn as SEMAPHOR_CARTESIAN_CHART_TYPES,
2341
+ Sn as TIME_GRAINS,
2342
+ vn as TOOLBAR_FILTER_REACH_FIELDS,
2343
+ wn as analyticsFilterSchema,
2344
+ Lr as applyCardReferenceRemapping,
2343
2345
  nt as applyDashboardOperations,
2344
- qr as applyFilterApplicability,
2346
+ Br as applyFilterApplicability,
2345
2347
  Ci as applyFilterSettingsChange,
2346
- Pr as applyGroupByOverride,
2347
- wn as applyLinkedClickToFilterOverrides,
2348
- xn as applyOptionDependencyOverride,
2348
+ Vr as applyGroupByOverride,
2349
+ xn as applyLinkedClickToFilterOverrides,
2350
+ Tn as applyOptionDependencyOverride,
2349
2351
  Si as buildCardExportFormatOptions,
2350
- Mr as buildCardExportQueryContext,
2352
+ Gr as buildCardExportQueryContext,
2351
2353
  vi as buildCardExportRequest,
2352
2354
  wi as buildCardExportRequestFromOptions,
2353
2355
  xi as buildColumnCatalog,
2354
2356
  Dn as buildControlDefinitionIndex,
2355
2357
  ha as buildDashboardCardSourceIndex,
2356
- Di as buildEntityColumnGroup,
2357
- Ti as buildFilterInputFromDefinition,
2358
+ Ti as buildEntityColumnGroup,
2359
+ Di as buildFilterInputFromDefinition,
2358
2360
  qt as buildFilterInputFromField,
2359
- Tn as buildLinkedClickToFilterOverrides,
2360
- kn as buildProposeChangeInputSchema,
2361
- $n as buildSavedEditorCard,
2361
+ kn as buildLinkedClickToFilterOverrides,
2362
+ $n as buildProposeChangeInputSchema,
2363
+ Fn as buildSavedEditorCard,
2362
2364
  ki as buildTableExportFormatOptions,
2363
- Fn as cardQueryPatchSchema,
2364
- An as cardTypeSentenceName,
2365
+ An as cardQueryPatchSchema,
2366
+ Rn as cardTypeSentenceName,
2365
2367
  Ca as changeCardType,
2366
- Rn as changeMatrixEditor,
2368
+ En as changeMatrixEditor,
2367
2369
  Lt as clickToFilterSettingsSchema,
2368
- Lr as collectJoinPlanIdentifiers,
2370
+ Ur as collectJoinPlanIdentifiers,
2369
2371
  sa as columnDataset,
2370
2372
  Sa as columnFieldKey,
2371
- Da as columnKeys,
2373
+ Ta as columnKeys,
2372
2374
  li as compileDashboardFromPlan,
2373
- Br as composeCardReferenceRemapping,
2374
- En as controlBindingExecutionSchema,
2375
- On as controlDefinitionExecutionSchema,
2375
+ jr as composeCardReferenceRemapping,
2376
+ On as controlBindingExecutionSchema,
2377
+ Nn as controlDefinitionExecutionSchema,
2376
2378
  la as controlRefusal,
2377
- Nn as createDashboardFilterBindingId,
2378
- nd as createMatrixAuthoringDraft,
2379
- od as createMatrixConfig,
2379
+ qn as createDashboardFilterBindingId,
2380
+ pd as createMatrixAuthoringDraft,
2381
+ md as createMatrixConfig,
2380
2382
  Pt as createNewCard,
2381
2383
  Ve as dashboardAuthoringDatasetMatchesSource,
2382
2384
  ri as dashboardAuthoringFieldsReferToSameTarget,
2383
2385
  J as dashboardAuthoringSourceFromField,
2384
2386
  ni as dashboardAuthoringSourceKey,
2385
2387
  wt as dashboardAuthoringSourcesReferToSameDataset,
2386
- qn as dashboardCardFilterSourceInventoryContains,
2388
+ Pn as dashboardCardFilterSourceInventoryContains,
2387
2389
  ia as dashboardChangeSchema,
2388
- Pn as dashboardFilterTargetMatchesLogicalValue,
2389
- kr as dashboardFilterValueTypeForDataType,
2390
- Mn as dashboardGenerateSchema,
2390
+ Mn as dashboardFilterTargetMatchesLogicalValue,
2391
+ Fr as dashboardFilterValueTypeForDataType,
2392
+ Ln as dashboardGenerateSchema,
2391
2393
  Zt as dashboardInputScopeIncludesDocumentSheets,
2392
2394
  ci as dashboardPlanFromSemaphorDashboardIntent,
2393
- Ln as defaultClickToFilterSettings,
2394
- Vr as describeDashboardFilterCardReach,
2395
+ Bn as defaultClickToFilterSettings,
2396
+ zr as describeDashboardFilterCardReach,
2395
2397
  ve as describeDashboardFilterCardReachDetail,
2396
2398
  da as describeQueryChange,
2397
2399
  $i as describeRelationshipRoute,
2398
2400
  Fi as describeRelationshipSkip,
2399
- Bn as doesDashboardInputApplyToTarget,
2400
- Vn as doesDashboardInputSurviveCarriedContext,
2401
- Gn as doesToolbarFilterReachTab,
2401
+ Vn as doesDashboardInputApplyToTarget,
2402
+ Gn as doesDashboardInputSurviveCarriedContext,
2403
+ Un as doesToolbarFilterReachTab,
2402
2404
  Ai as domainCalculatedFields,
2403
- Un as dropMatrixEditorField,
2405
+ jn as dropMatrixEditorField,
2404
2406
  aa as fieldIdentityKey,
2405
- jn as fieldRefSchema,
2406
- Gr as filterApplicabilityContextForCard,
2407
+ zn as fieldRefSchema,
2408
+ Qr as filterApplicabilityContextForCard,
2407
2409
  Ri as filterReachPreviewAnswers,
2408
- Ur as filterValueReachForCard,
2409
- zn as filterValueSemanticDataset,
2410
+ Kr as filterValueReachForCard,
2411
+ Qn as filterValueSemanticDataset,
2410
2412
  _t as findCatalogField,
2411
2413
  di as findDashboardAuthoringDatasetForSource,
2412
- Qn as findDashboardCardExecutableSource,
2413
- Kn as findDashboardCardPinnedCatalogSource,
2414
- Hn as findDashboardSqlPinnedCatalogSource,
2414
+ Kn as findDashboardCardExecutableSource,
2415
+ Hn as findDashboardCardPinnedCatalogSource,
2416
+ Wn as findDashboardSqlPinnedCatalogSource,
2415
2417
  ta as findSortedColumn,
2416
2418
  Ei as flattenEntityColumns,
2417
- Wn as foldPrototypeDocumentInputs,
2418
- Yn as formatFilterModelIssues,
2419
+ Yn as foldPrototypeDocumentInputs,
2420
+ Xn as formatFilterModelIssues,
2419
2421
  Qt as formatResolvedPrimaryDateFieldIssues,
2420
- jr as formatSkippedFilterWarnings,
2422
+ Hr as formatSkippedFilterWarnings,
2421
2423
  Oi as getCalculatedFieldAggregateOverrides,
2422
- Xn as getCalculatedFieldNamespace,
2424
+ Jn as getCalculatedFieldNamespace,
2423
2425
  Ni as getCalculatedFieldParameters,
2424
2426
  qi as getCalculatedFieldShelfOverrides,
2425
- Jn as getCardDefinition,
2426
- Zn as getColumnCatalogFieldId,
2427
+ Zn as getCardDefinition,
2428
+ eo as getColumnCatalogFieldId,
2427
2429
  Ya as getDashboardAuthoringCardSource,
2428
2430
  Pi as getDashboardFilterSubscriptionHint,
2429
- eo as getDashboardGlobalDateFilter,
2430
- $r as getDocumentKpiSectionShapeIssues,
2431
- Fr as getDocumentSectionCards,
2431
+ to as getDashboardGlobalDateFilter,
2432
+ Ar as getDocumentKpiSectionShapeIssues,
2433
+ Rr as getDocumentSectionCards,
2432
2434
  Mi as getDomainCalculatedSelectionOverrides,
2433
- to as getFieldAggregationOptions,
2434
- ao as getMatrixBindingTargets,
2435
- rd as getMatrixLevelLabel,
2436
- dd as getMatrixMeasureLabel,
2437
- so as getStableDomainCalculatedFieldId,
2438
- io as getTemporalBucketAuthoringOptions,
2439
- no as getTemporalBucketAuthoringSelection,
2440
- oo as handleSchema,
2435
+ ao as getFieldAggregationOptions,
2436
+ so as getMatrixBindingTargets,
2437
+ gd as getMatrixLevelLabel,
2438
+ bd as getMatrixMeasureLabel,
2439
+ io as getStableDomainCalculatedFieldId,
2440
+ no as getTemporalBucketAuthoringOptions,
2441
+ oo as getTemporalBucketAuthoringSelection,
2442
+ ro as handleSchema,
2441
2443
  Li as hasDashboardFilterSubscription,
2442
- ro as hasToolbarFilterReachField,
2443
- zr as hostFilterValueFor,
2444
- Qr as hostFilterValuesToSlots,
2445
- Kr as isAdHocFilterValueOnTab,
2446
- lo as isAllowedDashboardInputScopeCombination,
2447
- co as isCardType,
2448
- Ar as isDashboardFilterOperationCompatible,
2444
+ lo as hasToolbarFilterReachField,
2445
+ Wr as hostFilterValueFor,
2446
+ Yr as hostFilterValuesToSlots,
2447
+ Xr as isAdHocFilterValueOnTab,
2448
+ co as isAllowedDashboardInputScopeCombination,
2449
+ uo as isCardType,
2450
+ Er as isDashboardFilterOperationCompatible,
2449
2451
  yt as isDashboardInputOnTab,
2450
- uo as isDashboardInputOwnedBySheet,
2452
+ ho as isDashboardInputOwnedBySheet,
2451
2453
  jt as isDashboardInputScopeEmpty,
2452
- ho as isGroupedDate,
2453
- fo as isHiddenFilterInput,
2454
+ fo as isGroupedDate,
2455
+ po as isHiddenFilterInput,
2456
+ mo as isLegacyTableCard,
2454
2457
  me as isMaterializableDashboardAuthoringSource,
2455
- po as isPresentationCurrencyBinding,
2456
- mo as isSemanticAutoJoinCard,
2457
- go as isSemaphorCartesianChartType,
2458
+ go as isPresentationCurrencyBinding,
2459
+ bo as isSemanticAutoJoinCard,
2460
+ Io as isSemaphorCartesianChartType,
2458
2461
  Va as isSemaphorSourceRef,
2459
- bo as isStructuralControlBinding,
2460
- Io as isValidControlOptionPresentation,
2462
+ yo as isStructuralControlBinding,
2463
+ _o as isValidControlOptionPresentation,
2461
2464
  ea as labelAt,
2462
- yo as layoutArrangeSchema,
2463
- _o as linkedClickToFilterOverridesSchema,
2464
- Hr as listAdHocFilterValuesOnTab,
2465
+ Co as layoutArrangeSchema,
2466
+ Jr as legacyTableRoutingIds,
2467
+ Zr as legacyTableRoutingTarget,
2468
+ So as linkedClickToFilterOverridesSchema,
2469
+ ed as listAdHocFilterValuesOnTab,
2465
2470
  re as listDashboardCardLocations,
2466
- Co as listDashboardFilterDefinitions,
2467
- So as listDashboardFilterInputsOnTab,
2468
- vo as listDashboardInputReachKeys,
2471
+ vo as listDashboardFilterDefinitions,
2472
+ wo as listDashboardFilterInputsOnTab,
2473
+ xo as listDashboardInputReachKeys,
2469
2474
  Yt as listDashboardInputScopeExceptedCardIds,
2470
2475
  Jt as listDashboardInputScopeExceptedSheetIds,
2471
2476
  Me as listDashboardTabTargets,
2472
- Wr as listFilterInputValueTargets,
2473
- wo as listStoredFilterDefinitions,
2474
- Rr as mapDocumentSectionCards,
2475
- xo as matchColumns,
2476
- Yr as matrixCatalogSources,
2477
+ td as listFilterInputValueTargets,
2478
+ To as listStoredFilterDefinitions,
2479
+ Or as mapDashboardCards,
2480
+ Nr as mapDocumentSectionCards,
2481
+ Do as matchColumns,
2482
+ ad as matrixCatalogSources,
2477
2483
  xa as matrixColumnKeys,
2478
- Do as matrixColumnsSchema,
2479
- hd as matrixDefinitionFields,
2480
- fd as matrixDefinitionSources,
2481
- To as matrixEditorCatalogFromFields,
2482
- Xr as matrixExecutionSources,
2483
- ko as measureRefSchema,
2484
+ ko as matrixColumnsSchema,
2485
+ Cd as matrixDefinitionFields,
2486
+ Sd as matrixDefinitionSources,
2487
+ $o as matrixEditorCatalogFromFields,
2488
+ sd as matrixExecutionSources,
2489
+ Fo as measureRefSchema,
2484
2490
  we as mergeDashboardAuthoringSources,
2485
- ld as mergeMatrixSorts,
2491
+ Id as mergeMatrixSorts,
2486
2492
  ma as metricCardQuerySchema,
2487
2493
  wa as moveMatrixLevel,
2488
- $o as normalizeClickToFilterSettings,
2489
- Fo as normalizeDashboardInputs,
2490
- Ao as normalizeLegacyLinkedTargetOverrides,
2491
- Ro as occurrenceKeys,
2494
+ Ao as normalizeClickToFilterSettings,
2495
+ Ro as normalizeDashboardInputs,
2496
+ Eo as normalizeLegacyLinkedTargetOverrides,
2497
+ Oo as occurrenceKeys,
2492
2498
  Ft as outlineCalendar,
2493
2499
  gi as outlineDashboard,
2494
2500
  pe as outlineFilter,
@@ -2496,91 +2502,94 @@ export {
2496
2502
  pi as parseCardQueryRequest,
2497
2503
  ks as parseCardQueryRequestContext,
2498
2504
  fi as parseCardQueryRequestExtras,
2499
- Eo as parseExecutionControlBindingsShallow,
2505
+ No as parseExecutionControlBindingsShallow,
2500
2506
  Ht as parseExecutionControlContext,
2501
- Oo as parseExecutionControlContract,
2507
+ qo as parseExecutionControlContract,
2502
2508
  ca as planCardLabels,
2503
2509
  lt as planCardRequery,
2504
2510
  Bi as pluralDatasetLabel,
2505
2511
  Ga as preferDashboardAuthoringSourceMetadata,
2506
2512
  oi as preferredDashboardAuthoringSource,
2507
- Jr as prepareLoadedDashboard,
2508
- No as previewTemporalBucketAuthoringFormat,
2509
- qo as proposedChangeSchema,
2510
- Zr as pruneUnrelatedCalculatedFilters,
2513
+ id as prepareLoadedDashboard,
2514
+ Po as previewTemporalBucketAuthoringFormat,
2515
+ Mo as proposedChangeSchema,
2516
+ nd as pruneUnrelatedCalculatedFilters,
2511
2517
  ua as queryForm,
2512
2518
  oe as readCardQuery,
2513
2519
  fe as readCardSource,
2514
2520
  de as readDashboardFilterModel,
2515
- Po as readExactDomainCalculatedFieldReference,
2521
+ Lo as readExactDomainCalculatedFieldReference,
2516
2522
  Vi as readFilterReachResponse,
2517
- ed as readFilterValueList,
2518
- pd as readMatrixCardConfig,
2519
- Mo as rebindDashboardOptionDependencyInputId,
2523
+ od as readFilterValueList,
2524
+ vd as readMatrixCardConfig,
2525
+ Bo as rebindDashboardOptionDependencyInputId,
2520
2526
  dt as rebuildsRole,
2521
- Lo as reconcileMatrixSpecStructure,
2522
- Bo as reconcileTemporalBucketAuthoringFormat,
2527
+ Vo as reconcileMatrixSpecStructure,
2528
+ Go as reconcileTemporalBucketAuthoringFormat,
2523
2529
  pa as recordsCardQuerySchema,
2524
- Vo as refDataset,
2530
+ Uo as refDataset,
2525
2531
  ne as refKey,
2526
2532
  ut as refName,
2527
- Go as relationshipAddSchema,
2528
- Uo as relationshipRouteTarget,
2529
- jo as relativeToTimeWindow,
2533
+ jo as relationshipAddSchema,
2534
+ zo as relationshipRouteTarget,
2535
+ Qo as relativeToTimeWindow,
2530
2536
  Vt as remapClickToFilterReferences,
2531
- zo as remapLinkedClickToFilterOverrides,
2532
- Qo as requireNormalizedDashboardInputs,
2533
- Ko as resolveBindingControlValue,
2534
- Cr as resolveCanonicalDetailResultRawKey,
2535
- Sr as resolveCanonicalResultOutputKey,
2536
- vr as resolveCanonicalResultRawKey,
2537
+ Ko as remapLinkedClickToFilterOverrides,
2538
+ Ho as requireNormalizedDashboardInputs,
2539
+ Wo as resolveBindingControlValue,
2540
+ vr as resolveCanonicalDetailResultRawKey,
2541
+ wr as resolveCanonicalResultOutputKey,
2542
+ xr as resolveCanonicalResultRawKey,
2537
2543
  Ua as resolveDashboardAuthoringSource,
2538
2544
  mi as resolveDashboardChanges,
2539
- Ho as resolveDashboardEntitySource,
2540
- Wo as resolveDashboardFilterAutomaticTarget,
2541
- Yo as resolveDashboardFilterInheritedTarget,
2542
- Xo as resolveDashboardOptionDependencies,
2543
- Jo as resolveDashboardOptionPopulation,
2544
- td as resolveDashboardSqlFilterTarget,
2545
- Zo as resolveFieldSelectedSource,
2546
- er as resolveGroupByFieldTarget,
2547
- ad as resolveMatrixControlBindings,
2548
- cd as resolveMatrixDefinition,
2549
- tr as resolveMetricFieldTarget,
2550
- ar as resolveScalarMappedValue,
2551
- sr as resolveTemporalBucketAuthoringFormat,
2545
+ Yo as resolveDashboardEntitySource,
2546
+ Xo as resolveDashboardFilterAutomaticTarget,
2547
+ Jo as resolveDashboardFilterInheritedTarget,
2548
+ Zo as resolveDashboardOptionDependencies,
2549
+ er as resolveDashboardOptionPopulation,
2550
+ rd as resolveDashboardSqlFilterTarget,
2551
+ tr as resolveFieldSelectedSource,
2552
+ ar as resolveGroupByFieldTarget,
2553
+ dd as resolveMatrixControlBindings,
2554
+ yd as resolveMatrixDefinition,
2555
+ sr as resolveMetricFieldTarget,
2556
+ ir as resolveScalarMappedValue,
2557
+ nr as resolveTemporalBucketAuthoringFormat,
2552
2558
  Kt as resolveTemporalResultOwner,
2553
2559
  Bt as respondsToSelectionsSchema,
2554
- ir as retainMatrixConditionalFormatting,
2560
+ or as retainMatrixConditionalFormatting,
2555
2561
  Ut as rewriteDashboardInputScopeIds,
2562
+ ld as routeLegacyTableCard,
2563
+ cd as routeLegacyTableCards,
2564
+ ud as routeLegacyTableFrame,
2556
2565
  Fe as sameColumnKey,
2557
2566
  Le as sameValue,
2558
- nr as selectDashboardOptionDependencyInputIds,
2559
- or as selectionFieldFromExplorerField,
2560
- rr as settableCardType,
2561
- dr as sharedCardPreferences,
2567
+ rr as selectDashboardOptionDependencyInputIds,
2568
+ dr as selectionFieldFromExplorerField,
2569
+ lr as settableCardType,
2570
+ cr as sharedCardPreferences,
2562
2571
  fa as sqlCardQuerySchema,
2563
2572
  Ee as statedLabelsOf,
2564
- lr as stripInstanceTargetsForLibrarySave,
2565
- cr as structuralControlOverride,
2573
+ ur as stripInstanceTargetsForLibrarySave,
2574
+ hr as structuralControlOverride,
2566
2575
  At as summarizeFilter,
2567
- ur as supportsCanonicalDashboardTemporalResult,
2568
- hr as timeWindowSchema,
2576
+ fr as supportsCanonicalDashboardTemporalResult,
2577
+ pr as timeWindowSchema,
2569
2578
  rt as toChartType,
2570
2579
  Oe as toPublicCardType,
2571
- fr as toolbarFilterInputFields,
2572
- pr as toolbarFilterScope,
2573
- mr as transformComparisonDocument,
2580
+ mr as toolbarFilterInputFields,
2581
+ gr as toolbarFilterScope,
2582
+ br as transformComparisonDocument,
2574
2583
  va as updateMatrixConfig,
2575
- sd as upgradeToStoredDashboard,
2576
- gr as validateControlValue,
2584
+ hd as upgradeToStoredDashboard,
2585
+ Ir as validateControlValue,
2577
2586
  Xa as validateDashboardAuthoringDatasetScope,
2578
- Er as validateDashboardFilterValues,
2587
+ qr as validateDashboardFilterValues,
2579
2588
  ns as validateDashboardPlan,
2580
2589
  zt as validateResolvedPrimaryDateFieldShape,
2581
- br as withCardExcludedFromScope,
2582
- Ir as withCardIncludedInScope,
2583
- yr as withDashboardOptionDependencyOverride,
2590
+ yr as withCardExcludedFromScope,
2591
+ _r as withCardIncludedInScope,
2592
+ Cr as withDashboardOptionDependencyOverride,
2584
2593
  na as withUnstatedScopeParts,
2585
2594
  Gt as withoutToolbarFilterReachFields
2586
2595
  };