react-semaphor 0.1.590 → 0.1.592

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 (87) hide show
  1. package/dist/analytics-protocol/index.js +254 -236
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/brand-studio/index.js +7 -7
  4. package/dist/briefings/index.js +4 -4
  5. package/dist/chunks/{aggregate-measure-field-BrkXsSJp.js → aggregate-measure-field-DHlDj0Pc.js} +2 -2
  6. package/dist/chunks/{assistant-chat-C_6dBLUk.js → assistant-chat-BusR-5uT.js} +13 -13
  7. package/dist/chunks/bookmark-impact-DozXJZDS.js +76 -0
  8. package/dist/chunks/{bookmark-state-Bn7k3ttp.js → bookmark-state-Be2W3s6t.js} +632 -592
  9. package/dist/chunks/{card-filter-builder-6vflbF9O.js → card-filter-builder-DBTJ74yy.js} +916 -897
  10. package/dist/chunks/{comparison-window-caption-fqijZdVd.js → comparison-window-caption-h8w3ySL6.js} +90 -91
  11. package/dist/chunks/{dashboard-DpgRl65K.js → dashboard-CmzJzmph.js} +1 -1
  12. package/dist/chunks/{dashboard-briefing-launcher-BLbhONJz.js → dashboard-briefing-launcher-BOQGpYr2.js} +160 -160
  13. package/dist/chunks/{dashboard-controls-kCTYEEsq.js → dashboard-controls-BxI3e2_o.js} +64 -64
  14. package/dist/chunks/{dashboard-json-CNIFresY.js → dashboard-json-BMqXV2Rx.js} +4 -4
  15. package/dist/chunks/{dates-BoeweqEo.js → dates-DBsscxL_.js} +8 -8
  16. package/dist/chunks/{edit-dashboard-visual-D0eWTlPL.js → edit-dashboard-visual-Dvc_Pkfg.js} +5443 -5417
  17. package/dist/chunks/filter-line-CYT7KIXb.js +133 -0
  18. package/dist/chunks/{filter-reach-copy-eMhDPTYH.js → filter-reach-copy-hEzlpBu7.js} +224 -224
  19. package/dist/chunks/filter-value-text-CHBm4IU7.js +153 -0
  20. package/dist/chunks/{index-D8LFjI8j.js → index-BoYJqc3F.js} +24 -24
  21. package/dist/chunks/{layout-grid-BG__sPkb.js → layout-grid-DoFIfQGd.js} +1 -1
  22. package/dist/chunks/{list-filter-Cb8i7N8f.js → list-filter-BeTQxjNy.js} +1 -1
  23. package/dist/chunks/{matrix-analytical-definition-D9Ll_9R-.js → matrix-analytical-definition-CyWOwLmE.js} +17 -17
  24. package/dist/chunks/{matrix-member-presentation-DVBJR0MA.js → matrix-member-presentation-Bj2YcHAP.js} +1 -1
  25. package/dist/chunks/{matrix-operation-contract-JSmproo9.js → matrix-operation-contract-CAanJeCj.js} +60 -60
  26. package/dist/chunks/{metric-comparison-xE_J6hkg.js → metric-comparison-BeKnUD08.js} +27 -31
  27. package/dist/chunks/{paintbrush-C310xSuR.js → paintbrush-KeaU1L1a.js} +1 -1
  28. package/dist/chunks/{palette-Ci5P91Zb.js → palette-BcFJLeXB.js} +1 -1
  29. package/dist/chunks/{pivot-result-contract-expectations-DbBahmgc.js → pivot-result-contract-expectations-CaS0y823.js} +522 -486
  30. package/dist/chunks/{pivot-result-identity-CUsMt_4r.js → pivot-result-identity-BKUjYO1u.js} +1 -1
  31. package/dist/chunks/raw-temporal-value-BzdgeDa7.js +454 -0
  32. package/dist/chunks/{report-preferences-dialog-dUlVLgEk.js → report-preferences-dialog-Cu_f-8Kw.js} +13 -13
  33. package/dist/chunks/{report-runtime-context-CrOgmuxO.js → report-runtime-context-g4Zp_TU9.js} +1 -1
  34. package/dist/chunks/{resolve-dashboard-input-context-NurwNg4I.js → resolve-dashboard-input-context-CkMk1RW6.js} +7600 -6398
  35. package/dist/chunks/{save-BhhXfp4s.js → save-C9CZAk6V.js} +1 -1
  36. package/dist/chunks/{saved-dashboard-context-CPp--vXU.js → saved-dashboard-context-RgBS_PIj.js} +19 -19
  37. package/dist/chunks/{selection-filter-compiler-CHG-8xnW.js → selection-filter-compiler-BclSpK3P.js} +1 -1
  38. package/dist/chunks/{semaphor-ready-indicator-CXojR95M.js → semaphor-ready-indicator-DXpTZJ7R.js} +31502 -31453
  39. package/dist/chunks/{shelf-drop-preview-context-BDScAUdq.js → shelf-drop-preview-context-qdlJKaH7.js} +5 -5
  40. package/dist/chunks/stored-dashboard-Baw6Bp2A.js +4029 -0
  41. package/dist/chunks/{style-sheet-parts-CmXmKqGw.js → style-sheet-parts-DM_Mw_sm.js} +45 -42
  42. package/dist/chunks/{table-export-sheet-ClSgERQC.js → table-export-sheet-Cd6z7SsG.js} +1 -1
  43. package/dist/chunks/{token-types-DTocOcwt.js → token-types-BB2ImFx6.js} +1 -1
  44. package/dist/chunks/{upload-DDYc1Qjj.js → upload-CMTCg47S.js} +1 -1
  45. package/dist/chunks/{validators-CrYXNnNE.js → validators-BlEWWX9O.js} +576 -562
  46. package/dist/chunks/{variable-draft-Bi3RlULA.js → variable-draft-BxtN6YcG.js} +4 -4
  47. package/dist/dashboard/index.js +2 -2
  48. package/dist/dashboard-authoring/index.js +1672 -1633
  49. package/dist/format-utils/index.js +217 -218
  50. package/dist/index.js +62 -62
  51. package/dist/report-runtime-context/index.js +1 -1
  52. package/dist/style.css +1 -1
  53. package/dist/surfboard/index.js +2 -2
  54. package/dist/types/components/surfboard/filter/types.d.ts +7 -5
  55. package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +3 -3
  56. package/dist/types/components/visual/data-table/types/data-table.d.ts +24 -2
  57. package/dist/types/index.js +30 -29
  58. package/dist/types/lib/dashboard-inputs/dashboard-date-comparison-plan.d.ts +0 -1
  59. package/dist/types/lib/dashboard-viewer/table-view-edit.d.ts +27 -0
  60. package/dist/types/lib/dashboard-viewer/table-view.d.ts +37 -1
  61. package/dist/types/lib/formatters/raw-temporal-presentation.d.ts +0 -2
  62. package/dist/types/shared/analytics-protocol/agent-time-window.d.ts +1 -1
  63. package/dist/types/shared/analytics-protocol/relative-date/index.d.ts +2 -1
  64. package/dist/types/shared/analytics-protocol/relative-date/sentence.d.ts +81 -0
  65. package/dist/types/shared/analytics-protocol/relative-date/traits.d.ts +0 -9
  66. package/dist/types/shared/analytics-protocol/relative-date/window.d.ts +23 -2
  67. package/dist/types/shared/dashboard-authoring/canonical-result-keys.d.ts +20 -0
  68. package/dist/types/shared/dashboard-authoring/card-formats/detail-date-display.d.ts +84 -0
  69. package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +1 -1
  70. package/dist/types/shared/dashboard-authoring/card-settings/column-names.d.ts +2 -0
  71. package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +6 -0
  72. package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +11 -0
  73. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +36 -36
  74. package/dist/types/shared/dashboard-authoring/filter-model/date-filter-default.d.ts +37 -0
  75. package/dist/types/shared/dashboard-authoring/filter-model/index.d.ts +1 -0
  76. package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
  77. package/dist/types/shared/dashboard-viewer/table-column-move.d.ts +56 -0
  78. package/dist/types/shared/dashboard-viewer/table-settings.d.ts +7 -0
  79. package/dist/types/shared/format-utils/filter-line.d.ts +2 -0
  80. package/package.json +1 -1
  81. package/dist/chunks/bookmark-impact-DkZABEd3.js +0 -75
  82. package/dist/chunks/filter-line-Dza3ee4w.js +0 -131
  83. package/dist/chunks/filter-value-text-DQw4v3nC.js +0 -146
  84. package/dist/chunks/pivot-header-presentation-D-DfPAjb.js +0 -42
  85. package/dist/chunks/raw-temporal-value-BnGCWJAL.js +0 -322
  86. package/dist/chunks/stored-dashboard-KkH4zOhq.js +0 -4998
  87. package/dist/types/components/visual/shared/utils/table-column-order.d.ts +0 -53
@@ -0,0 +1,153 @@
1
+ import { j as w, l as I, r as k } from "./validators-BlEWWX9O.js";
2
+ import { r as p } from "./metric-comparison-BeKnUD08.js";
3
+ import { d as T, c as D } from "./raw-temporal-value-BzdgeDa7.js";
4
+ import "../value-format-preferences/index.js";
5
+ import { aj as O, af as L } from "./pivot-result-contract-expectations-CaS0y823.js";
6
+ const f = { kind: "plain" }, y = { kind: "temporal" }, S = {
7
+ "=": "=",
8
+ "!=": "!=",
9
+ ">": ">",
10
+ ">=": ">=",
11
+ "<": "<",
12
+ "<=": "<=",
13
+ in: "in",
14
+ "not in": "not in",
15
+ between: "between",
16
+ "not between": "not between",
17
+ contains: "contains (ignoring case)",
18
+ startsWith: "starts with (ignoring case)",
19
+ endsWith: "ends with (ignoring case)",
20
+ like: "matches the LIKE pattern (ignoring case)",
21
+ "not like": "does not match the LIKE pattern (ignoring case)",
22
+ isNull: "is empty",
23
+ isNotNull: "is not empty"
24
+ }, V = { between: "in", "not between": "not in" };
25
+ function A(t, n = {}) {
26
+ const { operator: e, values: i, reading: r } = t, s = r.kind === "bucket" ? `${t.subject} (${O(r.bucket)})` : t.subject, o = S[e], l = t.shownAs ? ` (shown as ${JSON.stringify(t.shownAs)})` : "", d = (a, c = 0) => ({ text: a, omittedValues: c });
27
+ if (e === "isNull" || e === "isNotNull") return d(`${s} ${o}`);
28
+ if (t.latestValue)
29
+ return d(`${s} ${o} the latest value of this field (resolved at run time)`);
30
+ const h = t.relative ? I(e) : void 0;
31
+ if (t.relative && h) {
32
+ const { definition: a } = w(t.relative), c = i.length === 1 && !p(t.relative).dataAnchored ? `; last resolved here as ${u(i[0], r)}` : "";
33
+ return d(
34
+ `${s} ${o} the ${h} of the relative window ${a} (${JSON.stringify(T(e, t.relative))}; resolved again at run time${c})`
35
+ );
36
+ }
37
+ if (e === "between" || e === "not between") {
38
+ const a = i.length === 2 ? v(i[0], i[1], r, n.timeZone) : void 0;
39
+ if (t.relative)
40
+ return d(`${s} ${V[e]} ${E(t.relative, a)}`);
41
+ if (a) {
42
+ const c = a.wholeDaysIn ? ` (whole days in ${a.wholeDaysIn})` : "";
43
+ return d(`${s} ${o} ${a.from} and ${a.to}${c}${l}`);
44
+ }
45
+ }
46
+ return e === "in" || e === "not in" || i.length !== 1 ? d(
47
+ `${s} ${o} (${N(i, r, n.maxListedValues)})${l}`,
48
+ $(i.length, n.maxListedValues)
49
+ ) : d(`${s} ${o} ${u(i[0], r)}${l}`);
50
+ }
51
+ function W(t, n = {}) {
52
+ return t == null ? { text: "no value", omittedValues: 0 } : Array.isArray(t) ? {
53
+ text: N(t, f, n.maxListedValues),
54
+ omittedValues: $(t.length, n.maxListedValues)
55
+ } : { text: u(t), omittedValues: 0 };
56
+ }
57
+ function u(t, n = f) {
58
+ if (n.kind !== "plain") {
59
+ const e = b(t, n);
60
+ if (e !== void 0) return e;
61
+ }
62
+ return t instanceof Date ? b(t, y) ?? JSON.stringify(String(t)) : t === void 0 ? "null" : typeof t == "number" || typeof t == "boolean" || t === null ? String(t) : JSON.stringify(t) ?? String(t);
63
+ }
64
+ function N(t, n = f, e = Number.POSITIVE_INFINITY) {
65
+ const i = t.slice(0, Number.isFinite(e) ? e : void 0).map((s) => u(s, n)).join(", "), r = $(t.length, e);
66
+ return r > 0 ? `${i}, and ${r} more values` : i;
67
+ }
68
+ function $(t, n = Number.POSITIVE_INFINITY) {
69
+ return Math.max(0, t - n);
70
+ }
71
+ function m(t) {
72
+ if (t instanceof Date)
73
+ return Number.isNaN(t.getTime()) ? void 0 : { kind: "instant", instant: t };
74
+ if (typeof t != "string") return;
75
+ const n = D(t);
76
+ return n === "instant" ? { kind: n, instant: new Date(t) } : n ? { kind: n, text: t } : void 0;
77
+ }
78
+ function b(t, n) {
79
+ if (n.kind === "bucket")
80
+ return typeof t == "string" && L(t, n.bucket).ok ? t : void 0;
81
+ const e = m(t);
82
+ if (e)
83
+ return e.kind === "instant" ? e.instant.toISOString() : e.text;
84
+ }
85
+ function v(t, n, e, i) {
86
+ const r = e.kind === "temporal" ? m(t) : void 0, s = e.kind === "temporal" ? m(n) : void 0;
87
+ if (i && (r == null ? void 0 : r.kind) === "instant" && (s == null ? void 0 : s.kind) === "instant") {
88
+ const o = g(r.instant, i), l = g(s.instant, i);
89
+ if (o && l && o.time === "00:00:00" && r.instant.getUTCMilliseconds() === 0 && l.time === "23:59:59" && [0, 999].includes(s.instant.getUTCMilliseconds()))
90
+ return { from: o.date, to: l.date, wholeDaysIn: i };
91
+ }
92
+ return { from: u(t, e), to: u(n, e) };
93
+ }
94
+ function g(t, n) {
95
+ try {
96
+ const e = Object.fromEntries(
97
+ new Intl.DateTimeFormat("en-CA", {
98
+ timeZone: n,
99
+ year: "numeric",
100
+ month: "2-digit",
101
+ day: "2-digit",
102
+ hour: "2-digit",
103
+ minute: "2-digit",
104
+ second: "2-digit",
105
+ hourCycle: "h23"
106
+ }).formatToParts(t).map((i) => [i.type, i.value])
107
+ );
108
+ return {
109
+ date: `${e.year}-${e.month}-${e.day}`,
110
+ time: `${e.hour}:${e.minute}:${e.second}`
111
+ };
112
+ } catch {
113
+ return;
114
+ }
115
+ }
116
+ function E(t, n) {
117
+ const { label: e, definition: i } = w(t), r = n && !p(t).dataAnchored ? `; last resolved here as ${n.from} to ${n.to}${n.wholeDaysIn ? `, whole days in ${n.wholeDaysIn}` : ""}` : "";
118
+ return `${e ? `${JSON.stringify(e)} ` : ""}(relative window: ${i}; resolved again at run time${r})`;
119
+ }
120
+ const R = {
121
+ "=": "=",
122
+ "!=": "!=",
123
+ ">": ">",
124
+ ">=": ">=",
125
+ "<": "<",
126
+ "<=": "<=",
127
+ in: "in",
128
+ "not in": "not in",
129
+ like: "like",
130
+ "not like": "not like",
131
+ between: "between",
132
+ "not between": "not between",
133
+ "is null": "isNull",
134
+ "is not null": "isNotNull"
135
+ };
136
+ function _(t, n, e = {}) {
137
+ const i = t.valueType === "date";
138
+ return A({
139
+ subject: n,
140
+ operator: R[t.operation],
141
+ values: t.values,
142
+ reading: i ? y : f,
143
+ ...i ? { relative: k(t.relativeMeta) } : {}
144
+ }, e);
145
+ }
146
+ export {
147
+ f as P,
148
+ y as T,
149
+ A as a,
150
+ W as b,
151
+ _ as d,
152
+ $ as o
153
+ };
@@ -1,16 +1,16 @@
1
1
  var De = Object.defineProperty;
2
2
  var Oe = (e, n, t) => n in e ? De(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
3
3
  var M = (e, n, t) => Oe(e, typeof n != "symbol" ? n + "" : n, t);
4
- import { aE as Ne, a2 as Fe, ar as oe, V as se, k as Re, a1 as Me, Z as F } from "./pivot-result-contract-expectations-DbBahmgc.js";
5
- import { T as X, a5 as Le, S as Be } from "./validators-CrYXNnNE.js";
4
+ import { aG as Ne, a1 as Fe, ar as oe, U as se, j as Re, a0 as Me, Y as F } from "./pivot-result-contract-expectations-CaS0y823.js";
5
+ import { V as X, a7 as Le, U as Be } from "./validators-BlEWWX9O.js";
6
6
  import { l as Ue, C as Pe } from "./export-file-format-C-tJsxsf.js";
7
7
  import { z as y } from "zod";
8
- import { ai as Ve, ak as ze, X as je } from "./matrix-operation-contract-JSmproo9.js";
8
+ import { ai as Ve, ak as ze, X as je } from "./matrix-operation-contract-CAanJeCj.js";
9
9
  import "./analytics-base-schemas-8wz9vqn_.js";
10
10
  import "../value-format-preferences/index.js";
11
11
  import { r as qe } from "./rendered-file-D8xEuVVx.js";
12
- import { J as Ke, K as Ge, L as He, M as We, N as Xe, n as Ze, O as Ye, P as Je, Q as Qe, R as et, S as tt, T as nt, U as rt } from "./resolve-dashboard-input-context-NurwNg4I.js";
13
- import { H as ot, I as at } from "./bookmark-state-Bn7k3ttp.js";
12
+ import { M as Ke, N as Ge, O as He, P as We, Q as Xe, n as Ye, R as Ze, S as Je, T as Qe, U as et, V as tt, W as nt, X as rt } from "./resolve-dashboard-input-context-CkMk1RW6.js";
13
+ import { I as ot, J as at } from "./bookmark-state-Be2W3s6t.js";
14
14
  import "./pickers-DkqmtnTL.js";
15
15
  import "./schema-C9NPiIru.js";
16
16
  import "./index-CV_Kzou0.js";
@@ -63,7 +63,7 @@ function Xn(e) {
63
63
  })
64
64
  };
65
65
  }
66
- function Z(e) {
66
+ function Y(e) {
67
67
  return e === "table" || e === "detailTable";
68
68
  }
69
69
  function lt(e) {
@@ -78,10 +78,10 @@ function lt(e) {
78
78
  return n ? { kind: "matrix_pdf" } : { kind: "rendered", format: "pdf" };
79
79
  case "csv":
80
80
  case "xlsx":
81
- return n || Z((r = e.settings) == null ? void 0 : r.cardType) ? { kind: "export_job", format: e.format } : { kind: "rendered", format: "csv" };
81
+ return n || Y((r = e.settings) == null ? void 0 : r.cardType) ? { kind: "export_job", format: e.format } : { kind: "rendered", format: "csv" };
82
82
  }
83
83
  }
84
- function Zn(e) {
84
+ function Yn(e) {
85
85
  return lt(e).kind === "export_job";
86
86
  }
87
87
  function st(e) {
@@ -89,9 +89,9 @@ function st(e) {
89
89
  return { label: n, extension: t, contentType: r };
90
90
  }
91
91
  function dt(e) {
92
- return e.allowDownload === !1 ? ["pdf", "png"] : e.cardType === "matrixTable" || Z(e.cardType) ? ["pdf", "png", "csv", "xlsx"] : ["pdf", "png", "csv"];
92
+ return e.allowDownload === !1 ? ["pdf", "png"] : e.cardType === "matrixTable" || Y(e.cardType) ? ["pdf", "png", "csv", "xlsx"] : ["pdf", "png", "csv"];
93
93
  }
94
- function Yn(e) {
94
+ function Zn(e) {
95
95
  return st(e).label;
96
96
  }
97
97
  function mt(e) {
@@ -322,7 +322,7 @@ function rr(e) {
322
322
  },
323
323
  e.valueFormatPreferences.locale
324
324
  )
325
- })) : [], c = [], l = Xe(n, r), m = Ze(
325
+ })) : [], c = [], l = Xe(n, r), m = Ye(
326
326
  n.python || ""
327
327
  );
328
328
  if (n.type === "detailTable" && l === "config") {
@@ -342,7 +342,7 @@ function rr(e) {
342
342
  target: { kind: "column", columnKey: N },
343
343
  format: oe({
344
344
  // What the table draws: the stored format, or Automatic (ledger P7-07).
345
- format: Ye(v),
345
+ format: Ze(v),
346
346
  preferences: e.valueFormatPreferences,
347
347
  calendar: e.calendar
348
348
  })
@@ -406,7 +406,7 @@ function w(e, n, t, r, o = {}) {
406
406
  }
407
407
  return a;
408
408
  }
409
- function Y(e, n, t) {
409
+ function Z(e, n, t) {
410
410
  const r = w(e, n, 2e3, t);
411
411
  if (r)
412
412
  try {
@@ -558,7 +558,7 @@ function bt(e, n) {
558
558
  `${t}.brandName`,
559
559
  200,
560
560
  n
561
- ), a = Y(r.logoUrl, `${t}.logoUrl`, n), i = w(r.link, `${t}.link`, 120, n);
561
+ ), a = Z(r.logoUrl, `${t}.logoUrl`, n), i = w(r.link, `${t}.link`, 120, n);
562
562
  return {
563
563
  ...o !== void 0 ? { brandName: o } : {},
564
564
  ...a !== void 0 ? { logoUrl: a } : {},
@@ -577,7 +577,7 @@ function Et(e, n) {
577
577
  S(r, t, o, n);
578
578
  const a = {};
579
579
  return o.forEach((i) => {
580
- const c = i === "unsubscribeUrl" ? Y(r[i], `${t}.${i}`, n) : w(
580
+ const c = i === "unsubscribeUrl" ? Z(r[i], `${t}.${i}`, n) : w(
581
581
  r[i],
582
582
  `${t}.${i}`,
583
583
  i === "preHeaderText" ? 200 : 5e3,
@@ -590,7 +590,7 @@ function Et(e, n) {
590
590
  function It(e) {
591
591
  const n = [], t = {};
592
592
  if (e.appearance !== void 0 && (t.appearance = gt(e.appearance, n)), e.brandOverrides !== void 0 && (t.brandOverrides = bt(e.brandOverrides, n)), e.fragments !== void 0 && (t.fragments = Et(e.fragments, n)), e.viewUrl !== void 0) {
593
- const r = Y(e.viewUrl, "presentation.viewUrl", n);
593
+ const r = Z(e.viewUrl, "presentation.viewUrl", n);
594
594
  r !== void 0 && (t.viewUrl = r);
595
595
  }
596
596
  return { value: t, issues: n };
@@ -1105,10 +1105,10 @@ const Ee = ["pdf", "png", "csv", "xlsx"], Ie = new Set(Kt), Wt = /* @__PURE__ */
1105
1105
  "a4",
1106
1106
  "a3",
1107
1107
  "tabloid"
1108
- ]), Zt = /* @__PURE__ */ new Set([
1108
+ ]), Yt = /* @__PURE__ */ new Set([
1109
1109
  "portrait",
1110
1110
  "landscape"
1111
- ]), Yt = /* @__PURE__ */ new Set([",", ";", " "]), Jt = new Set(Pe), Qt = /* @__PURE__ */ new Set([
1111
+ ]), Zt = /* @__PURE__ */ new Set([",", ";", " "]), Jt = new Set(Pe), Qt = /* @__PURE__ */ new Set([
1112
1112
  "current",
1113
1113
  "all"
1114
1114
  ]), en = /* @__PURE__ */ new Set([
@@ -1962,13 +1962,13 @@ function In(e, n, t) {
1962
1962
  ), i = A(
1963
1963
  r.orientation,
1964
1964
  `${n}.orientation`,
1965
- Zt,
1965
+ Yt,
1966
1966
  "portrait or landscape",
1967
1967
  t
1968
1968
  ), c = A(
1969
1969
  r.delimiter,
1970
1970
  `${n}.delimiter`,
1971
- Yt,
1971
+ Zt,
1972
1972
  "comma, semicolon, or tab",
1973
1973
  t
1974
1974
  ), l = A(
@@ -2193,7 +2193,7 @@ function Se(e, n) {
2193
2193
  const t = e.slice(0, j).map((o, a) => vn(o, a, n)), r = /* @__PURE__ */ new Set();
2194
2194
  return t.forEach((o, a) => {
2195
2195
  var c, l, m, d;
2196
- (c = o.settings) != null && c.matrix && (o.type !== "card" || o.settings.cardType !== "matrixTable" || o.settings.matrix.content === "flat" && o.format === "pdf") && s(n, `attachments.${a}.settings.matrix`, "Matrix settings require a matrixTable card attachment; flat content requires CSV or Excel."), o.format === "png" && ((l = o.settings) != null && l.matrix) && o.settings.matrix.content !== "current" && s(n, `attachments.${a}.settings.matrix.content`, "A Matrix PNG image shows the current layout."), o.format === "xlsx" && !((m = o.settings) != null && m.matrix) && !Z((d = o.settings) == null ? void 0 : d.cardType) && s(n, `attachments.${a}.format`, "Excel attachments require a Table, Detail Table or Matrix card.");
2196
+ (c = o.settings) != null && c.matrix && (o.type !== "card" || o.settings.cardType !== "matrixTable" || o.settings.matrix.content === "flat" && o.format === "pdf") && s(n, `attachments.${a}.settings.matrix`, "Matrix settings require a matrixTable card attachment; flat content requires CSV or Excel."), o.format === "png" && ((l = o.settings) != null && l.matrix) && o.settings.matrix.content !== "current" && s(n, `attachments.${a}.settings.matrix.content`, "A Matrix PNG image shows the current layout."), o.format === "xlsx" && !((m = o.settings) != null && m.matrix) && !Y((d = o.settings) == null ? void 0 : d.cardType) && s(n, `attachments.${a}.format`, "Excel attachments require a Table, Detail Table or Matrix card.");
2197
2197
  const i = $n(o);
2198
2198
  r.has(i) && s(n, `attachments.${a}`, "Duplicate attachment."), r.add(i);
2199
2199
  }), t;
@@ -2732,10 +2732,10 @@ export {
2732
2732
  Qn as X,
2733
2733
  ut as Y,
2734
2734
  st as Z,
2735
- Zn as _,
2735
+ Yn as _,
2736
2736
  fr as a,
2737
2737
  mt as a0,
2738
- Z as a1,
2738
+ Y as a1,
2739
2739
  Ft as a2,
2740
2740
  Mt as a3,
2741
2741
  Bt as a4,
@@ -2748,7 +2748,7 @@ export {
2748
2748
  rr as f,
2749
2749
  pr as g,
2750
2750
  Xn as h,
2751
- Yn as i,
2751
+ Zn as i,
2752
2752
  vt as j,
2753
2753
  ar as k,
2754
2754
  O as l,
@@ -1,4 +1,4 @@
1
- import { c as t } from "./style-sheet-parts-CmXmKqGw.js";
1
+ import { c as t } from "./style-sheet-parts-DM_Mw_sm.js";
2
2
  /**
3
3
  * @license lucide-react v0.453.0 - ISC
4
4
  *
@@ -1,4 +1,4 @@
1
- import { c as t } from "./style-sheet-parts-CmXmKqGw.js";
1
+ import { c as t } from "./style-sheet-parts-DM_Mw_sm.js";
2
2
  /**
3
3
  * @license lucide-react v0.453.0 - ISC
4
4
  *
@@ -1,6 +1,6 @@
1
- import { k as $, l as T, E as ge, m as te, j as K, q as he } from "./raw-temporal-value-BnGCWJAL.js";
2
- import { am as C, ao as w, ag as G, ae as p, an as pe, af as M, at as ve, ah as J, a5 as Q, I as X, o as ke } from "./validators-CrYXNnNE.js";
3
- import { a as Ie } from "./metric-comparison-xE_J6hkg.js";
1
+ import { G as $, H as T, E as ge, I as te, F as K, L as he } from "./raw-temporal-value-BzdgeDa7.js";
2
+ import { ao as C, aq as w, ai as G, ag as p, ap as pe, ah as M, av as ve, aj as J, a7 as Q, K as X, t as ke } from "./validators-BlEWWX9O.js";
3
+ import { a as Ie } from "./metric-comparison-BeKnUD08.js";
4
4
  class Y extends Error {
5
5
  constructor(t) {
6
6
  super(t), this.name = "RelativeDateUsageError";
@@ -231,15 +231,15 @@ function Te(e) {
231
231
  evidence: "explicit"
232
232
  };
233
233
  const d = e.entities.map((b) => {
234
- const I = D(b), h = f(I == null ? void 0 : I.connectionType), N = f(I == null ? void 0 : I.dialect), S = h ? C(h) : void 0, E = N ? w(N) : void 0, L = N && N !== "unknown" ? C(N) : void 0;
235
- if (h && !S || N && N !== "unknown" && E === "unknown" || N && N !== "unknown" && !S && !L || S && E && E !== "unknown" && S.dialect !== E)
234
+ const I = D(b), h = f(I == null ? void 0 : I.connectionType), N = f(I == null ? void 0 : I.dialect), S = h ? C(h) : void 0, E = N ? w(N) : void 0, x = N && N !== "unknown" ? C(N) : void 0;
235
+ if (h && !S || N && N !== "unknown" && E === "unknown" || N && N !== "unknown" && !S && !x || S && E && E !== "unknown" && S.dialect !== E)
236
236
  return;
237
- const V = S || L, P = V ? B(V) : Ae(I);
237
+ const V = S || x, P = V ? B(V) : Ae(I);
238
238
  return P ? {
239
239
  capabilities: P,
240
240
  connectionType: h,
241
241
  capabilityIdentity: h ? pe(h) : void 0,
242
- inferred: !S && !L,
242
+ inferred: !S && !x,
243
243
  signature: A(P)
244
244
  } : void 0;
245
245
  });
@@ -406,7 +406,7 @@ function u(e) {
406
406
  function _(e) {
407
407
  return e && typeof e == "object" && !Array.isArray(e) ? e : void 0;
408
408
  }
409
- function xe(e) {
409
+ function Le(e) {
410
410
  const t = _(e);
411
411
  return !!(t && t.type === "dataset" && u(t.name));
412
412
  }
@@ -445,12 +445,12 @@ function R(e, t) {
445
445
  ...s ? { connectionId: s } : {}
446
446
  };
447
447
  }
448
- function Le(e, t = {}) {
448
+ function xe(e, t = {}) {
449
449
  const n = u(e.fieldEntityType);
450
450
  if (n && n !== "dataset")
451
451
  return { kind: "unqualified" };
452
452
  const i = e.entities.filter(
453
- (s) => t.includePhysicalDatasets ? xe(s) : ce(s)
453
+ (s) => t.includePhysicalDatasets ? Le(s) : ce(s)
454
454
  ), a = u(e.entityId);
455
455
  if (a) {
456
456
  const s = H(a), o = i.filter((d) => {
@@ -569,7 +569,7 @@ function nt(e) {
569
569
  oe
570
570
  ), n = e.entities.filter(
571
571
  ce
572
- ), i = t.length > 0 || n.length > 0, a = Le(e), r = e.qualifiedHints || [], s = r.some(
572
+ ), i = t.length > 0 || n.length > 0, a = xe(e), r = e.qualifiedHints || [], s = r.some(
573
573
  (c) => {
574
574
  var l;
575
575
  return (l = u(c)) == null ? void 0 : l.includes(".");
@@ -991,7 +991,7 @@ function z(e) {
991
991
  derivedField: t && U(t)
992
992
  };
993
993
  }
994
- function x(e) {
994
+ function L(e) {
995
995
  const {
996
996
  label: t,
997
997
  format: n,
@@ -1009,7 +1009,7 @@ function x(e) {
1009
1009
  derivedField: r && U(r),
1010
1010
  calculatedFormula: s && {
1011
1011
  ...s,
1012
- inputFields: s.inputFields.map(x)
1012
+ inputFields: s.inputFields.map(L)
1013
1013
  }
1014
1014
  };
1015
1015
  }
@@ -1019,7 +1019,7 @@ function ye(e) {
1019
1019
  conditions: e.conditions.map(
1020
1020
  ({ label: t, field: n, ...i }) => ({
1021
1021
  ...i,
1022
- field: x(n)
1022
+ field: L(n)
1023
1023
  })
1024
1024
  ),
1025
1025
  groups: e.groups.map(ye)
@@ -1053,8 +1053,8 @@ function Nt(e) {
1053
1053
  ...n,
1054
1054
  keys: n.keys.map((i) => ({
1055
1055
  ...i,
1056
- source: x(i.source),
1057
- target: x(i.target)
1056
+ source: L(i.source),
1057
+ target: L(i.target)
1058
1058
  }))
1059
1059
  }))
1060
1060
  }))
@@ -1089,7 +1089,7 @@ export {
1089
1089
  oe as c,
1090
1090
  _e as d,
1091
1091
  ce as e,
1092
- Le as f,
1092
+ xe as f,
1093
1093
  ht as g,
1094
1094
  nt as h,
1095
1095
  at as i,
@@ -1,4 +1,4 @@
1
- import { m as p } from "./validators-CrYXNnNE.js";
1
+ import { m as p } from "./validators-BlEWWX9O.js";
2
2
  function h(e) {
3
3
  const t = b(e);
4
4
  return d(t) ? t : void 0;