react-semaphor 0.1.559 → 0.1.561

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 (168) hide show
  1. package/dist/analytics-protocol/index.js +389 -378
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/assistant-protocol/index.js +5 -5
  4. package/dist/brand-studio/index.js +9 -9
  5. package/dist/briefings/index.js +5 -5
  6. package/dist/chunks/analytics-base-schemas-CB3oFAXk.js +658 -0
  7. package/dist/chunks/{assistant-chat-B_4bVE6I.js → assistant-chat-DiVHY3Hw.js} +209 -211
  8. package/dist/chunks/bookmark-impact-CR09dpkn.js +75 -0
  9. package/dist/chunks/bookmark-state-BusLpkb7.js +743 -0
  10. package/dist/chunks/{braces-Rdxa3H-s.js → braces-u8VorWJc.js} +1 -1
  11. package/dist/chunks/{comparison-window-caption-CKzQ5LcF.js → comparison-window-caption-DDsIWJYT.js} +201 -201
  12. package/dist/chunks/{context-DVy4HOU0.js → context-TUjw9eqr.js} +1 -1
  13. package/dist/chunks/{custom-visual-inputs-zVa9wX_o.js → custom-visual-inputs-DfolidZ9.js} +1 -1
  14. package/dist/chunks/{dashboard-BziwOVpZ.js → dashboard-BRdZBPqr.js} +1 -1
  15. package/dist/chunks/{dashboard-briefing-launcher-CbeNR-YI.js → dashboard-briefing-launcher-CgvTLndW.js} +1163 -1178
  16. package/dist/chunks/{dashboard-controls-RD6UJs1r.js → dashboard-controls-B4vfSzTF.js} +877 -941
  17. package/dist/chunks/{dashboard-json-DGpv17vL.js → dashboard-json-Y3MF59g7.js} +5 -5
  18. package/dist/chunks/document-dashboard-inputs-CvBbFTUA.js +1718 -0
  19. package/dist/chunks/{edit-dashboard-visual-AQ2pQkFp.js → edit-dashboard-visual-DwjZcxj-.js} +9080 -9354
  20. package/dist/chunks/filter-reach-copy-bijwf_-b.js +3596 -0
  21. package/dist/chunks/{filter-value-text-B4l-xqJT.js → filter-value-text-DFnhwuEW.js} +3 -3
  22. package/dist/chunks/global-date-filter-utils-BXgCpvQM.js +15142 -0
  23. package/dist/chunks/{index-B1Xr7W24.js → index-ClwbY3BL.js} +648 -674
  24. package/dist/chunks/{layout-grid-Bbz3zKif.js → layout-grid-CtvCBfOm.js} +1 -1
  25. package/dist/chunks/{list-filter-3sbH0Uy1.js → list-filter-BklYgciR.js} +1 -1
  26. package/dist/chunks/{matrix-analytical-definition-CEe3PGEo.js → matrix-analytical-definition-pU51-JmY.js} +4 -4
  27. package/dist/chunks/{matrix-card-BRNGb1C4.js → matrix-card-CUorIB7Q.js} +3 -3
  28. package/dist/chunks/{matrix-member-presentation-CEegvTqg.js → matrix-member-presentation-Df5UgCGN.js} +1 -1
  29. package/dist/chunks/{matrix-operation-contract-COxrfQTS.js → matrix-operation-contract-BSiGEXVC.js} +221 -214
  30. package/dist/chunks/{metric-comparison-DQx-uX__.js → metric-comparison-95aC0uEO.js} +6 -6
  31. package/dist/chunks/{model-change-CJEj3ZD6.js → model-change-B5wQhg5G.js} +1 -1
  32. package/dist/chunks/{palette-DMJtp3Vn.js → palette-DTnMhipt.js} +1 -1
  33. package/dist/chunks/pivot-result-contract-expectations-Bo-86vwS.js +56 -0
  34. package/dist/chunks/{pivot-result-identity-CAj8SiRL.js → pivot-result-identity-olvXJoB9.js} +1 -1
  35. package/dist/chunks/{report-preferences-dialog-0sc8B1lh.js → report-preferences-dialog-C2YUIwKG.js} +55 -55
  36. package/dist/chunks/{report-runtime-context-bYoExeWr.js → report-runtime-context-DoIUr3MP.js} +2 -2
  37. package/dist/chunks/resolve-dashboard-input-context-q_iiNXE1.js +6503 -0
  38. package/dist/chunks/{save-DSb1jTtG.js → save-DH4RyrnG.js} +1 -1
  39. package/dist/chunks/{saved-dashboard-context-BQWM3ldX.js → saved-dashboard-context-8jqfI7hI.js} +59 -59
  40. package/dist/chunks/{selection-reducer-DSzMWb4x.js → selection-reducer-CV7K4FI6.js} +1 -1
  41. package/dist/chunks/{semaphor-ready-indicator-Bz14Oma5.js → semaphor-ready-indicator-E2XWyibu.js} +40105 -41658
  42. package/dist/chunks/{shelf-drop-preview-context-DBHAkgch.js → shelf-drop-preview-context-C29EUzDp.js} +570 -570
  43. package/dist/chunks/{source-entity-resolution-BOrmNCEM.js → source-entity-resolution-BXI3nQ5Z.js} +1 -1
  44. package/dist/chunks/{switch-Dq8XPFpT.js → switch-balDSHc7.js} +3 -3
  45. package/dist/chunks/{table-export-sheet-C_RvEUyO.js → table-export-sheet-CK8tvh4d.js} +1 -1
  46. package/dist/chunks/temporal-input-presentation-B77JsAzU.js +5002 -0
  47. package/dist/chunks/{token-types-LCYMJ3pa.js → token-types-DhYH5YKb.js} +1 -1
  48. package/dist/chunks/{upload-Dr_WAxHQ.js → upload-Ufj8vjyn.js} +1 -1
  49. package/dist/chunks/{use-create-flow-overlay-state-BK3YFkfc.js → use-create-flow-overlay-state-9WsnzEO5.js} +6 -6
  50. package/dist/chunks/{validators-C87JPd-_.js → validators-BtaCFIEB.js} +1206 -1579
  51. package/dist/chunks/{zoned-wall-clock-E35Frf9v.js → zoned-wall-clock-CGLVI40Q.js} +1 -1
  52. package/dist/dashboard/index.js +2 -2
  53. package/dist/dashboard-authoring/index.js +2713 -1459
  54. package/dist/data-app-sdk/index.js +20 -20
  55. package/dist/data-app-sdk-adapters/index.js +3 -3
  56. package/dist/data-app-sdk-validation/index.js +10 -10
  57. package/dist/format-utils/index.js +262 -256
  58. package/dist/index.js +214 -215
  59. package/dist/report-runtime-context/index.js +2 -2
  60. package/dist/style.css +1 -1
  61. package/dist/surfboard/index.js +2 -2
  62. package/dist/types/components/dashboard/summary-number-formatter.d.ts +6 -0
  63. package/dist/types/components/editor/editor-aside/utils.d.ts +1 -1
  64. package/dist/types/components/visual/data-table/types/data-table.d.ts +5 -20
  65. package/dist/types/index.js +50 -51
  66. package/dist/types/lib/formatters/canonical-format-adapter.d.ts +2 -29
  67. package/dist/types/lib/formatters/kpi-number-formatter.d.ts +41 -0
  68. package/dist/types/lib/formatters/raw-temporal-presentation.d.ts +0 -2
  69. package/dist/types/lib/formatters/table-column-settings.d.ts +47 -0
  70. package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +10 -188
  71. package/dist/types/lib/matrix-table/matrix-delivery-policy.d.ts +1 -1
  72. package/dist/types/lib/matrix-table/matrix-delivery.d.ts +16 -372
  73. package/dist/types/lib/stores/dashboard-store.d.ts +0 -1
  74. package/dist/types/lib/stores/editor-store.d.ts +48 -10
  75. package/dist/types/lib/stores/table-actions.d.ts +9 -5
  76. package/dist/types/lib/table-formatting/index.d.ts +0 -2
  77. package/dist/types/lib/table-formatting/table-conditional-formatting-range-source.d.ts +3 -2
  78. package/dist/types/lib/table-formatting/table-conditional-formatting-range.d.ts +3 -2
  79. package/dist/types/lib/table-formatting/table-formatting-normalize.d.ts +1 -2
  80. package/dist/types/lib/table-formatting/table-formatting-render-model.d.ts +9 -0
  81. package/dist/types/lib/table-formatting/table-formatting-types.d.ts +5 -95
  82. package/dist/types/lib/table-formatting/table-presentation-fields.d.ts +35 -0
  83. package/dist/types/lib/types/common-types.d.ts +40 -47
  84. package/dist/types/lib/types/explorer-types.d.ts +11 -43
  85. package/dist/types/lib/utils/card-config-utils.d.ts +8 -0
  86. package/dist/types/lib/utils/card-definition.d.ts +9 -187
  87. package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +169 -513
  88. package/dist/types/shared/analytics-protocol/contracts.d.ts +32 -9
  89. package/dist/types/shared/analytics-protocol/execution-input-schemas.d.ts +108 -980
  90. package/dist/types/shared/analytics-protocol/field-validation.d.ts +1 -0
  91. package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +281 -4624
  92. package/dist/types/shared/analytics-protocol/matrix-operation-contract.d.ts +20 -20
  93. package/dist/types/shared/analytics-protocol/matrix-operation-request.d.ts +18 -18
  94. package/dist/types/shared/analytics-protocol/matrix-path-contract.d.ts +40 -40
  95. package/dist/types/shared/analytics-protocol/matrix-window-contract.d.ts +3 -203
  96. package/dist/types/shared/analytics-protocol/measure-aggregation-profile.d.ts +12 -0
  97. package/dist/types/shared/analytics-protocol/scalar-value.d.ts +8 -8
  98. package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +8 -0
  99. package/dist/types/shared/assistant-protocol/context.d.ts +69 -69
  100. package/dist/types/shared/dashboard-authoring/canonical-result-keys.d.ts +13 -0
  101. package/dist/types/shared/dashboard-authoring/card-export-request.d.ts +4 -1
  102. package/dist/types/shared/dashboard-authoring/card-formats/sql-date-pattern.d.ts +10 -0
  103. package/dist/types/shared/dashboard-authoring/card-formats/upgrade-card-formats.d.ts +57 -0
  104. package/dist/types/shared/dashboard-authoring/card-settings/apply-card-settings.d.ts +11 -0
  105. package/dist/types/shared/dashboard-authoring/card-settings/card-display-write.d.ts +52 -0
  106. package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +14 -0
  107. package/dist/types/shared/dashboard-authoring/card-settings/carry-column-settings.d.ts +3 -0
  108. package/dist/types/shared/dashboard-authoring/card-settings/column-format-write.d.ts +8 -0
  109. package/dist/types/shared/dashboard-authoring/card-settings/column-names.d.ts +51 -0
  110. package/dist/types/shared/dashboard-authoring/card-settings/column-sources.d.ts +14 -0
  111. package/dist/types/shared/dashboard-authoring/card-settings/confirm-class.d.ts +9 -0
  112. package/dist/types/shared/dashboard-authoring/card-settings/highlight-inputs.d.ts +19 -0
  113. package/dist/types/shared/dashboard-authoring/card-settings/index.d.ts +15 -0
  114. package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +102 -0
  115. package/dist/types/shared/dashboard-authoring/card-settings/read-card-settings.d.ts +10 -0
  116. package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-highlights.d.ts +14 -0
  117. package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-settings.d.ts +59 -0
  118. package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +40 -0
  119. package/dist/types/shared/dashboard-authoring/card-settings/views.d.ts +28 -0
  120. package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +6 -0
  121. package/dist/types/shared/dashboard-authoring/changes/card-types.d.ts +32 -0
  122. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +555 -38
  123. package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +27 -8
  124. package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +25 -1
  125. package/dist/types/shared/dashboard-authoring/conditional-formatting/editable.d.ts +14 -0
  126. package/dist/types/shared/dashboard-authoring/conditional-formatting/evaluate.d.ts +16 -0
  127. package/dist/types/shared/dashboard-authoring/conditional-formatting/index.d.ts +9 -0
  128. package/dist/types/shared/dashboard-authoring/conditional-formatting/kpi.d.ts +7 -0
  129. package/dist/types/shared/dashboard-authoring/conditional-formatting/resolve-card-column-ref.d.ts +17 -0
  130. package/dist/types/shared/dashboard-authoring/conditional-formatting/retain.d.ts +14 -0
  131. package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +4499 -0
  132. package/dist/types/shared/dashboard-authoring/conditional-formatting/store.d.ts +12 -0
  133. package/dist/types/shared/dashboard-authoring/conditional-formatting/types.d.ts +151 -0
  134. package/dist/types/shared/dashboard-authoring/conditional-formatting/upgrade.d.ts +35 -0
  135. package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +62 -62
  136. package/dist/types/shared/dashboard-authoring/index.d.ts +8 -0
  137. package/dist/types/shared/dashboard-authoring/kpi-figure.d.ts +123 -0
  138. package/dist/types/shared/dashboard-authoring/matrix-authoring.d.ts +4 -5
  139. package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +24 -736
  140. package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +21 -1
  141. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +10 -4
  142. package/dist/types/shared/dashboard-authoring/retired-presentation-fields.d.ts +31 -0
  143. package/dist/types/shared/dashboard-authoring/upgrade-card-presentation.d.ts +14 -0
  144. package/dist/types/shared/dashboard-viewer/bookmark-impact.d.ts +33 -0
  145. package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +13 -2
  146. package/dist/types/shared/format-utils/formatters/number-formatter.d.ts +16 -0
  147. package/dist/types/shared/format-utils/index.d.ts +2 -0
  148. package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +10 -366
  149. package/dist/types/shared/format-utils/raw-temporal.d.ts +31 -1
  150. package/dist/types/shared/format-utils/resolve-column-format.d.ts +43 -0
  151. package/dist/types/shared/format-utils/retired-format-adapters.d.ts +68 -0
  152. package/dist/types/shared/format-utils/semantic-format.d.ts +5 -1
  153. package/dist/types/shared/format-utils/stored-value-format.d.ts +16 -0
  154. package/dist/types/shared/format-utils/types/format-types.d.ts +10 -12
  155. package/package.json +2 -2
  156. package/dist/chunks/analytics-base-schemas-BUFUoO6G.js +0 -472
  157. package/dist/chunks/bookmark-state-ssqrs5oP.js +0 -111
  158. package/dist/chunks/document-dashboard-inputs-ChVkcBuu.js +0 -3010
  159. package/dist/chunks/editor-draft-sync-BN5qYHPF.js +0 -15
  160. package/dist/chunks/filter-reach-copy-B5Y7FHzg.js +0 -3411
  161. package/dist/chunks/global-date-filter-utils-DBzEOX9M.js +0 -12222
  162. package/dist/chunks/pivot-result-contract-expectations-DOYhqeZb.js +0 -1926
  163. package/dist/chunks/raw-temporal-presentation-BmT7z6NH.js +0 -584
  164. package/dist/chunks/resolve-dashboard-input-context-B_C_VAJH.js +0 -5520
  165. package/dist/chunks/table-settings-DXj_zXwS.js +0 -637
  166. package/dist/chunks/temporal-input-presentation-AhLSkGPf.js +0 -2939
  167. package/dist/types/lib/table-formatting/table-conditional-formatting-evaluator.d.ts +0 -9
  168. package/dist/types/lib/table-formatting/table-formatting-validation.d.ts +0 -12
@@ -1,5 +1,5 @@
1
- import { T as m, t as g, a as C } from "./analytics-base-schemas-BUFUoO6G.js";
2
- import { r as k } from "./validators-C87JPd-_.js";
1
+ import { T as m, a as g, b as C } from "./analytics-base-schemas-CB3oFAXk.js";
2
+ import { r as k } from "./validators-BtaCFIEB.js";
3
3
  function w(e) {
4
4
  const r = C.safeParse(e);
5
5
  return r.success ? { ok: !0, value: r.data } : {
@@ -482,10 +482,10 @@ function B(e) {
482
482
  export {
483
483
  A as C,
484
484
  h as D,
485
- T as a,
486
- N as b,
487
- _ as c,
488
- E as d,
485
+ N as a,
486
+ _ as b,
487
+ E as c,
488
+ T as d,
489
489
  O as e,
490
490
  L as f,
491
491
  P as g,
@@ -1,4 +1,4 @@
1
- import { A as c, h as k, m as f } from "./context-DVy4HOU0.js";
1
+ import { A as c, h as k, m as f } from "./context-TUjw9eqr.js";
2
2
  function g(e, t) {
3
3
  return e.role === t.role && e.name === t.name && e.aggregate === t.aggregate && e.granularity === t.granularity;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { c } from "./switch-Dq8XPFpT.js";
1
+ import { c } from "./switch-balDSHc7.js";
2
2
  /**
3
3
  * @license lucide-react v0.453.0 - ISC
4
4
  *
@@ -0,0 +1,56 @@
1
+ var c = Object.defineProperty;
2
+ var d = (r, e, t) => e in r ? c(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
+ var l = (r, e, t) => d(r, typeof e != "symbol" ? e + "" : e, t);
4
+ import { ac as u } from "./temporal-input-presentation-B77JsAzU.js";
5
+ import "./validators-BtaCFIEB.js";
6
+ import "./matrix-operation-contract-BSiGEXVC.js";
7
+ import { r as v } from "./metric-comparison-95aC0uEO.js";
8
+ import "./analytics-base-schemas-CB3oFAXk.js";
9
+ import "zod";
10
+ class m extends Error {
11
+ constructor(t, a) {
12
+ super(`${t}: ${a}`);
13
+ l(this, "deliveryBlocking", !0);
14
+ this.code = t, this.name = "PivotHeaderPresentationError";
15
+ }
16
+ }
17
+ function k(r) {
18
+ var i;
19
+ const e = r.mode ?? "formatted", t = r.members.map((o) => {
20
+ var n;
21
+ if (e === "canonical" || !o.temporalBucket)
22
+ return o.value === null ? "" : String(o.value);
23
+ const s = (n = r.resolveTemporalFormat) == null ? void 0 : n.call(r, o.fieldId);
24
+ if (!s)
25
+ throw new m(
26
+ "missing_resolved_temporal_format",
27
+ `Missing resolved temporal presentation for pivot field "${o.fieldId}"`
28
+ );
29
+ return u({
30
+ value: o.value,
31
+ metadata: o.temporalBucket,
32
+ format: s
33
+ });
34
+ }), a = ((i = r.metricLabel) == null ? void 0 : i.trim()) || void 0;
35
+ return {
36
+ memberLabels: t,
37
+ ...a ? { metricLabel: a } : {},
38
+ flattenedLabel: [
39
+ ...t,
40
+ ...a ? [a] : []
41
+ ].join(" / ")
42
+ };
43
+ }
44
+ function B(r) {
45
+ const e = /* @__PURE__ */ new Map();
46
+ return r.forEach((t) => {
47
+ t.id && e.set(t.id, (e.get(t.id) ?? 0) + 1);
48
+ }), r.flatMap(
49
+ (t) => t.id && (e.get(t.id) ?? 0) > 1 ? [v(t)] : []
50
+ );
51
+ }
52
+ export {
53
+ m as P,
54
+ B as d,
55
+ k as p
56
+ };
@@ -1,7 +1,7 @@
1
1
  var y = Object.defineProperty;
2
2
  var c = (i, t, e) => t in i ? y(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
3
  var a = (i, t, e) => c(i, typeof t != "symbol" ? t + "" : t, e);
4
- import { v as u } from "./metric-comparison-DQx-uX__.js";
4
+ import { v as u } from "./metric-comparison-95aC0uEO.js";
5
5
  class l extends Error {
6
6
  constructor(e) {
7
7
  super(`missing_pivot_member_identity: ${e}`);
@@ -1,21 +1,21 @@
1
1
  import { jsx as o, Fragment as te, jsxs as h } from "react/jsx-runtime";
2
2
  import * as p from "react";
3
- import jt, { useMemo as ee, useState as L, useEffect as J, createContext as $t, useRef as j, useCallback as K, useContext as qe, lazy as Ee, Suspense as Se, useLayoutEffect as Ce, Activity as Vt, useId as de } from "react";
4
- import { b as Wt, b6 as He, bi as Kt, bj as qt, u as M, bk as gt, x as Ht, bl as Gt, bm as Jt, bn as Xt, bo as Yt, bp as ge, bq as yt, br as tt, bs as Zt, Z as ye, Y as Qt, bt as ea, bu as ta, _ as at, $ as aa, bv as ra, E as na, F as sa, S as la, B as oa, a as ia, U as da, bw as ca, D as ua, A as fa, C as ma, bx as ha, by as pa, bz as va, bA as ba, bB as ga, bC as ya, bD as rt, bE as ke, bF as wa, bG as Ge, bH as G, bI as Sa, bJ as xa, bK as Ca, bL as Ia, bM as Ea } from "./semaphor-ready-indicator-Bz14Oma5.js";
3
+ import $t, { useMemo as ee, useState as L, useEffect as J, createContext as jt, useRef as $, useCallback as K, useContext as qe, lazy as Ee, Suspense as Se, useLayoutEffect as Ce, Activity as Vt, useId as de } from "react";
4
+ import { b as Wt, b8 as He, bk as Kt, bl as qt, u as M, bm as gt, x as Ht, bn as Gt, bo as Jt, bp as Xt, bq as Yt, br as ge, bs as yt, bt as tt, bu as Zt, Z as ye, Y as Qt, bv as ea, bw as ta, _ as at, $ as aa, bx as ra, E as na, F as sa, S as la, B as oa, a as ia, U as da, by as ca, D as ua, A as fa, C as ma, bz as ha, bA as pa, bB as va, bC as ba, bD as ga, bE as ya, bF as rt, bG as ke, bH as wa, bI as Ge, bJ as G, bK as Sa, bL as xa, bM as Ca, bN as Ia, bO as Ea } from "./semaphor-ready-indicator-E2XWyibu.js";
5
5
  import { j as Na } from "./index-CuHybtft.js";
6
- import { I as Ta } from "./table-settings-DXj_zXwS.js";
6
+ import { N as Ta } from "./bookmark-state-BusLpkb7.js";
7
7
  import { r as ka, a as wt } from "./availability-Bp5Gfu1I.js";
8
- import { s as Aa } from "./global-date-filter-utils-DBzEOX9M.js";
9
- import { B as q, Q as Ra, U as Da, V as _a, W as Pa, Y as Oa, Z as La, _ as oe, D as Q, $ as he, m as pe, P as za, a as Fa, b as Ma, d as nt, L as St, s as ze, t as Fe, u as Me, v as Ue, w as Y, T as Ua, e as Ba, f as st, h as lt } from "./switch-Dq8XPFpT.js";
10
- import "./validators-C87JPd-_.js";
11
- import "./matrix-operation-contract-COxrfQTS.js";
12
- import "./analytics-base-schemas-BUFUoO6G.js";
8
+ import { s as Aa } from "./global-date-filter-utils-BXgCpvQM.js";
9
+ import { B as q, Q as Ra, U as Da, V as _a, W as Pa, Y as Oa, Z as La, _ as oe, D as Q, $ as he, m as pe, P as za, a as Fa, b as Ma, d as nt, L as St, s as ze, t as Fe, u as Me, v as Ue, w as Y, T as Ua, e as Ba, f as st, h as lt } from "./switch-balDSHc7.js";
10
+ import "./validators-BtaCFIEB.js";
11
+ import "./matrix-operation-contract-BSiGEXVC.js";
12
+ import "./analytics-base-schemas-CB3oFAXk.js";
13
13
  import "zod";
14
- import { parseValueFormatPreferencesResponse as ja, canonicalizeSupportedLocale as xt, getSupportedCurrencyCodes as $a, canonicalizeSupportedCurrencyCode as Va } from "../value-format-preferences/index.js";
14
+ import { parseValueFormatPreferencesResponse as $a, canonicalizeSupportedLocale as xt, getSupportedCurrencyCodes as ja, canonicalizeSupportedCurrencyCode as Va } from "../value-format-preferences/index.js";
15
15
  import { c as B } from "./_commonjsHelpers-DimLPMtv.js";
16
- import { a as Wa } from "./filter-reach-copy-B5Y7FHzg.js";
17
- import { a as Ka } from "./report-runtime-context-bYoExeWr.js";
18
- import { r as we, a9 as ce } from "./temporal-input-presentation-AhLSkGPf.js";
16
+ import { a as Wa } from "./filter-reach-copy-bijwf_-b.js";
17
+ import { a as Ka } from "./report-runtime-context-DoIUr3MP.js";
18
+ import { ag as we, ao as ce } from "./temporal-input-presentation-B77JsAzU.js";
19
19
  function qa() {
20
20
  return /* @__PURE__ */ o(
21
21
  "div",
@@ -115,9 +115,9 @@ const sr = {
115
115
  anchorSlot: null,
116
116
  setAnchorSlot: () => {
117
117
  }
118
- }, Je = $t(sr);
118
+ }, Je = jt(sr);
119
119
  function kn() {
120
- const [e, a] = L("lg"), t = j(null);
120
+ const [e, a] = L("lg"), t = $(null);
121
121
  return { measure: K((r) => {
122
122
  var s;
123
123
  if ((s = t.current) == null || s.disconnect(), t.current = null, !r || typeof ResizeObserver > "u") return;
@@ -134,11 +134,11 @@ function An() {
134
134
  return qe(Je).overflowItems;
135
135
  }
136
136
  function Rn(e, a, t) {
137
- const n = qe(Je), r = n.hasOverflowMenu && !nr(a, n.width), { register: l, setOpenOverflowId: s } = n, i = t == null ? void 0 : t.label, m = t == null ? void 0 : t.hint, u = t == null ? void 0 : t.checked, y = (t == null ? void 0 : t.order) ?? 0, c = j(t == null ? void 0 : t.icon);
137
+ const n = qe(Je), r = n.hasOverflowMenu && !nr(a, n.width), { register: l, setOpenOverflowId: s } = n, i = t == null ? void 0 : t.label, m = t == null ? void 0 : t.hint, u = t == null ? void 0 : t.checked, y = (t == null ? void 0 : t.order) ?? 0, c = $(t == null ? void 0 : t.icon);
138
138
  c.current = t == null ? void 0 : t.icon;
139
- const v = j(t == null ? void 0 : t.onSelect);
139
+ const v = $(t == null ? void 0 : t.onSelect);
140
140
  v.current = t == null ? void 0 : t.onSelect;
141
- const f = j(t == null ? void 0 : t.onOpen);
141
+ const f = $(t == null ? void 0 : t.onOpen);
142
142
  return f.current = t == null ? void 0 : t.onOpen, J(() => {
143
143
  if (!(!r || i === void 0))
144
144
  return l({
@@ -163,7 +163,7 @@ function Rn(e, a, t) {
163
163
  anchorSlot: n.anchorSlot
164
164
  };
165
165
  }
166
- const or = Ee(() => import("./assistant-chat-B_4bVE6I.js"));
166
+ const or = Ee(() => import("./assistant-chat-DiVHY3Hw.js"));
167
167
  function Dn() {
168
168
  const e = Ht(), a = lr();
169
169
  if (!e.available) return null;
@@ -256,7 +256,7 @@ function fr(e, a, t) {
256
256
  }
257
257
  function mr(e, a) {
258
258
  var w;
259
- const [t, n] = L(void 0), [r, l] = L(void 0), s = j(a);
259
+ const [t, n] = L(void 0), [r, l] = L(void 0), s = $(a);
260
260
  Ce(() => {
261
261
  s.current = a;
262
262
  });
@@ -316,7 +316,7 @@ function pr({
316
316
  size: a,
317
317
  side: t
318
318
  }) {
319
- const n = j(void 0), r = t === "left" ? -1 : 1, l = (s) => {
319
+ const n = $(void 0), r = t === "left" ? -1 : 1, l = (s) => {
320
320
  const i = n.current;
321
321
  return {
322
322
  width: i.start.width + r * (s.clientX - i.x),
@@ -362,7 +362,7 @@ function pr({
362
362
  }
363
363
  const le = 16, Ct = 0.6;
364
364
  function vr({ instance: e, side: a, width: t }) {
365
- const n = j(void 0), r = (c) => {
365
+ const n = $(void 0), r = (c) => {
366
366
  var f, w;
367
367
  const v = (w = (f = c.closest("aside")) == null ? void 0 : f.parentElement) == null ? void 0 : w.clientWidth;
368
368
  return v ? v * Ct : ge.max;
@@ -440,7 +440,7 @@ function gr(e, a) {
440
440
  return (a.sheets ?? []).flatMap((n) => (n.frames ?? []).filter((r) => !t.has(r)));
441
441
  }
442
442
  function yr(e) {
443
- const { canEditDashboard: a, isInspectionMode: t } = ea(), n = ta(), r = M(at), l = e && n && a === !0 && !t, s = j(l);
443
+ const { canEditDashboard: a, isInspectionMode: t } = ea(), n = ta(), r = M(at), l = e && n && a === !0 && !t, s = $(l);
444
444
  Ce(() => {
445
445
  s.current = l;
446
446
  });
@@ -468,7 +468,7 @@ function wr({
468
468
  const { canChange: t, canChangeNow: n } = yr(!0), r = M((f) => {
469
469
  var w;
470
470
  return (w = f.dashboard) == null ? void 0 : w.id;
471
- }), l = br(n), [s, i] = L(null), m = j(/* @__PURE__ */ new Map()), u = j(/* @__PURE__ */ new Map()), y = j(Promise.resolve()), c = j({ apply: l, onLifecycleEvent: a });
471
+ }), l = br(n), [s, i] = L(null), m = $(/* @__PURE__ */ new Map()), u = $(/* @__PURE__ */ new Map()), y = $(Promise.resolve()), c = $({ apply: l, onLifecycleEvent: a });
472
472
  Ce(() => {
473
473
  c.current = { apply: l, onLifecycleEvent: a };
474
474
  }), J(() => {
@@ -609,9 +609,9 @@ function xe(e) {
609
609
  function Cr() {
610
610
  return globalThis.crypto.randomUUID();
611
611
  }
612
- const Ir = Ee(() => import("./dashboard-controls-RD6UJs1r.js")), Er = Ee(
613
- () => import("./edit-dashboard-visual-AQ2pQkFp.js")
614
- ), Nr = Ee(() => import("./dashboard-json-DGpv17vL.js"));
612
+ const Ir = Ee(() => import("./dashboard-controls-B4vfSzTF.js")), Er = Ee(
613
+ () => import("./edit-dashboard-visual-DwjZcxj-.js")
614
+ ), Nr = Ee(() => import("./dashboard-json-Y3MF59g7.js"));
615
615
  function _n({
616
616
  showControls: e = !1,
617
617
  showFooter: a = !0,
@@ -670,7 +670,7 @@ function ut(e) {
670
670
  function Lr(e, a, t) {
671
671
  return e = t && t.length > 0 ? `${e + " " + t.join(" ")}` : e, Be(e, a, ut(e), ut(a), 0, 0, {});
672
672
  }
673
- var fe = '[cmdk-group=""]', De = '[cmdk-group-items=""]', zr = '[cmdk-group-heading=""]', Nt = '[cmdk-item=""]', ft = `${Nt}:not([aria-disabled="true"])`, je = "cmdk-item-select", ne = "data-value", Fr = (e, a, t) => Lr(e, a, t), Tt = p.createContext(void 0), ve = () => p.useContext(Tt), kt = p.createContext(void 0), Xe = () => p.useContext(kt), At = p.createContext(void 0), Rt = p.forwardRef((e, a) => {
673
+ var fe = '[cmdk-group=""]', De = '[cmdk-group-items=""]', zr = '[cmdk-group-heading=""]', Nt = '[cmdk-item=""]', ft = `${Nt}:not([aria-disabled="true"])`, $e = "cmdk-item-select", ne = "data-value", Fr = (e, a, t) => Lr(e, a, t), Tt = p.createContext(void 0), ve = () => p.useContext(Tt), kt = p.createContext(void 0), Xe = () => p.useContext(kt), At = p.createContext(void 0), Rt = p.forwardRef((e, a) => {
674
674
  let t = se(() => {
675
675
  var d, T;
676
676
  return { search: "", value: (T = (d = e.value) != null ? d : e.defaultValue) != null ? T : "", selectedItemId: void 0, filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() } };
@@ -839,7 +839,7 @@ var fe = '[cmdk-group=""]', De = '[cmdk-group-items=""]', zr = '[cmdk-group-head
839
839
  d.preventDefault();
840
840
  let x = X();
841
841
  if (x) {
842
- let D = new Event(je);
842
+ let D = new Event($e);
843
843
  x.dispatchEvent(D);
844
844
  }
845
845
  }
@@ -854,7 +854,7 @@ var fe = '[cmdk-group=""]', De = '[cmdk-group-items=""]', zr = '[cmdk-group-head
854
854
  let y = _t(r, l, [e.value, e.children, l], e.keywords), c = Xe(), v = Z((N) => N.value && N.value === y.current), f = Z((N) => u || i.filter() === !1 ? !0 : N.search ? N.filtered.items.get(r) > 0 : !0);
855
855
  p.useEffect(() => {
856
856
  let N = l.current;
857
- if (!(!N || e.disabled)) return N.addEventListener(je, w), () => N.removeEventListener(je, w);
857
+ if (!(!N || e.disabled)) return N.addEventListener($e, w), () => N.removeEventListener($e, w);
858
858
  }, [f, e.onSelect, e.disabled]);
859
859
  function w() {
860
860
  var N, g;
@@ -874,14 +874,14 @@ var fe = '[cmdk-group=""]', De = '[cmdk-group-items=""]', zr = '[cmdk-group-head
874
874
  }), Br = p.forwardRef((e, a) => {
875
875
  let { alwaysRender: t, ...n } = e, r = p.useRef(null), l = Z((s) => !s.search);
876
876
  return !t && !l ? null : p.createElement(Q.div, { ref: he(r, a), ...n, "cmdk-separator": "", role: "separator" });
877
- }), jr = p.forwardRef((e, a) => {
877
+ }), $r = p.forwardRef((e, a) => {
878
878
  let { onValueChange: t, ...n } = e, r = e.value != null, l = Xe(), s = Z((u) => u.search), i = Z((u) => u.selectedItemId), m = ve();
879
879
  return p.useEffect(() => {
880
880
  e.value != null && l.setState("search", e.value);
881
881
  }, [e.value]), p.createElement(Q.input, { ref: a, ...n, "cmdk-input": "", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "aria-autocomplete": "list", role: "combobox", "aria-expanded": !0, "aria-controls": m.listId, "aria-labelledby": m.labelId, "aria-activedescendant": i, id: m.inputId, type: "text", value: r ? e.value : s, onChange: (u) => {
882
882
  r || l.setState("search", u.target.value), t == null || t(u.target.value);
883
883
  } });
884
- }), $r = p.forwardRef((e, a) => {
884
+ }), jr = p.forwardRef((e, a) => {
885
885
  let { children: t, label: n = "Suggestions", ...r } = e, l = p.useRef(null), s = p.useRef(null), i = Z((u) => u.selectedItemId), m = ve();
886
886
  return p.useEffect(() => {
887
887
  if (s.current && l.current) {
@@ -902,7 +902,7 @@ var fe = '[cmdk-group=""]', De = '[cmdk-group-items=""]', zr = '[cmdk-group-head
902
902
  }), Wr = p.forwardRef((e, a) => Z((t) => t.filtered.count === 0) ? p.createElement(Q.div, { ref: a, ...e, "cmdk-empty": "", role: "presentation" }) : null), Kr = p.forwardRef((e, a) => {
903
903
  let { progress: t, children: n, label: r = "Loading...", ...l } = e;
904
904
  return p.createElement(Q.div, { ref: a, ...l, "cmdk-loading": "", role: "progressbar", "aria-valuenow": t, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": r }, Ne(e, (s) => p.createElement("div", { "aria-hidden": !0 }, s)));
905
- }), $ = Object.assign(Rt, { List: $r, Item: Mr, Input: jr, Group: Ur, Separator: Br, Dialog: Vr, Empty: Wr, Loading: Kr });
905
+ }), j = Object.assign(Rt, { List: jr, Item: Mr, Input: $r, Group: Ur, Separator: Br, Dialog: Vr, Empty: Wr, Loading: Kr });
906
906
  function qr(e, a) {
907
907
  let t = e.nextElementSibling;
908
908
  for (; t; ) {
@@ -963,7 +963,7 @@ function Ne({ asChild: e, children: a }, t) {
963
963
  }
964
964
  var Xr = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
965
965
  const Pt = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
966
- $,
966
+ j,
967
967
  {
968
968
  ref: t,
969
969
  className: B(
@@ -973,11 +973,11 @@ const Pt = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
973
973
  ...a
974
974
  }
975
975
  ));
976
- Pt.displayName = $.displayName;
976
+ Pt.displayName = j.displayName;
977
977
  const Ot = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ h("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
978
978
  /* @__PURE__ */ o(ga, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
979
979
  /* @__PURE__ */ o(
980
- $.Input,
980
+ j.Input,
981
981
  {
982
982
  ref: t,
983
983
  className: B(
@@ -988,27 +988,27 @@ const Ot = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ h("div",
988
988
  }
989
989
  )
990
990
  ] }));
991
- Ot.displayName = $.Input.displayName;
991
+ Ot.displayName = j.Input.displayName;
992
992
  const Lt = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
993
- $.List,
993
+ j.List,
994
994
  {
995
995
  ref: t,
996
996
  className: B("max-h-[300px] overflow-y-auto overflow-x-hidden", e),
997
997
  ...a
998
998
  }
999
999
  ));
1000
- Lt.displayName = $.List.displayName;
1000
+ Lt.displayName = j.List.displayName;
1001
1001
  const zt = p.forwardRef((e, a) => /* @__PURE__ */ o(
1002
- $.Empty,
1002
+ j.Empty,
1003
1003
  {
1004
1004
  ref: a,
1005
1005
  className: "py-6 text-center text-sm",
1006
1006
  ...e
1007
1007
  }
1008
1008
  ));
1009
- zt.displayName = $.Empty.displayName;
1010
- const $e = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
1011
- $.Group,
1009
+ zt.displayName = j.Empty.displayName;
1010
+ const je = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
1011
+ j.Group,
1012
1012
  {
1013
1013
  ref: t,
1014
1014
  className: B(
@@ -1018,18 +1018,18 @@ const $e = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
1018
1018
  ...a
1019
1019
  }
1020
1020
  ));
1021
- $e.displayName = $.Group.displayName;
1021
+ je.displayName = j.Group.displayName;
1022
1022
  const Ft = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
1023
- $.Separator,
1023
+ j.Separator,
1024
1024
  {
1025
1025
  ref: t,
1026
1026
  className: B("-mx-1 h-px bg-border", e),
1027
1027
  ...a
1028
1028
  }
1029
1029
  ));
1030
- Ft.displayName = $.Separator.displayName;
1030
+ Ft.displayName = j.Separator.displayName;
1031
1031
  const Ve = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
1032
- $.Item,
1032
+ j.Item,
1033
1033
  {
1034
1034
  ref: t,
1035
1035
  className: B(
@@ -1039,11 +1039,11 @@ const Ve = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
1039
1039
  ...a
1040
1040
  }
1041
1041
  ));
1042
- Ve.displayName = $.Item.displayName;
1042
+ Ve.displayName = j.Item.displayName;
1043
1043
  function Yr(e = {}) {
1044
1044
  const { authToken: a, tokenProps: t } = He(), n = M(
1045
1045
  (N) => N.actions.applyResolvedCalendarPreferences
1046
- ), r = e.enabled ?? !0, l = (a == null ? void 0 : a.accessToken) ?? null, s = (t == null ? void 0 : t.apiServiceUrl) ?? null, [i, m] = L(!1), [u, y] = L(!1), [c, v] = L(!1), [f, w] = L(null), [b, S] = L(null), C = j(l);
1046
+ ), r = e.enabled ?? !0, l = (a == null ? void 0 : a.accessToken) ?? null, s = (t == null ? void 0 : t.apiServiceUrl) ?? null, [i, m] = L(!1), [u, y] = L(!1), [c, v] = L(!1), [f, w] = L(null), [b, S] = L(null), C = $(l);
1047
1047
  C.current = l, J(() => {
1048
1048
  S(null), w(null), m(!1), y(!1), v(!1);
1049
1049
  }, [l]);
@@ -1232,7 +1232,7 @@ function tn({
1232
1232
  ), g = ee(() => ht(b), [b]), E = t != null && t.inherited ? ht(t.inherited.tz) : "UTC", R = t != null && t.inherited ? en(t.inherited.weekStart) : "Monday", I = Qr(
1233
1233
  t == null ? void 0 : t.inheritedSources
1234
1234
  );
1235
- jt.useEffect(() => {
1235
+ $t.useEffect(() => {
1236
1236
  if (!e) {
1237
1237
  w(!1);
1238
1238
  return;
@@ -1371,7 +1371,7 @@ function tn({
1371
1371
  /* @__PURE__ */ o(Ot, { placeholder: "Search timezones…" }),
1372
1372
  /* @__PURE__ */ h(Lt, { children: [
1373
1373
  /* @__PURE__ */ o(zt, { children: "No timezone found." }),
1374
- /* @__PURE__ */ o($e, { heading: "Common", children: Ie.map((k) => /* @__PURE__ */ h(
1374
+ /* @__PURE__ */ o(je, { heading: "Common", children: Ie.map((k) => /* @__PURE__ */ h(
1375
1375
  Ve,
1376
1376
  {
1377
1377
  value: `${k.value} ${k.label}`,
@@ -1395,7 +1395,7 @@ function tn({
1395
1395
  k.value
1396
1396
  )) }),
1397
1397
  /* @__PURE__ */ o(Ft, {}),
1398
- /* @__PURE__ */ o($e, { heading: "All timezones", children: N.map((k) => /* @__PURE__ */ h(
1398
+ /* @__PURE__ */ o(je, { heading: "All timezones", children: N.map((k) => /* @__PURE__ */ h(
1399
1399
  Ve,
1400
1400
  {
1401
1401
  value: k,
@@ -1486,14 +1486,14 @@ function tn({
1486
1486
  function an(e = {}) {
1487
1487
  const { authToken: a, tokenProps: t } = He(), n = M(
1488
1488
  (g) => g.actions.applyResolvedValueFormatPreferences
1489
- ), r = e.enabled ?? !0, l = (a == null ? void 0 : a.accessToken) ?? null, s = (t == null ? void 0 : t.apiServiceUrl) ?? null, i = j(l);
1489
+ ), r = e.enabled ?? !0, l = (a == null ? void 0 : a.accessToken) ?? null, s = (t == null ? void 0 : t.apiServiceUrl) ?? null, i = $(l);
1490
1490
  i.current = l;
1491
1491
  const [m, u] = L(null), [y, c] = L(!1), [v, f] = L(!1), [w, b] = L(!1), [S, C] = L(null);
1492
1492
  J(() => {
1493
1493
  u(null), C(null), c(!1), f(!1), b(!1);
1494
1494
  }, [l]);
1495
1495
  const _ = K(async (g) => {
1496
- const E = ja(await g.json());
1496
+ const E = $a(await g.json());
1497
1497
  if (!E.ok)
1498
1498
  throw new Error("Value format preferences response is invalid");
1499
1499
  return E.value;
@@ -1596,7 +1596,7 @@ const We = [
1596
1596
  "INR",
1597
1597
  "BRL",
1598
1598
  "KWD"
1599
- ]), rn = $a(), nn = rn.filter(
1599
+ ]), rn = ja(), nn = rn.filter(
1600
1600
  (e) => !Ut.has(e)
1601
1601
  ), Bt = [
1602
1602
  { value: "short", label: "Short" },
@@ -2092,7 +2092,7 @@ export {
2092
2092
  Ot as b,
2093
2093
  Lt as c,
2094
2094
  zt as d,
2095
- $e as e,
2095
+ je as e,
2096
2096
  Ve as f,
2097
2097
  ur as g,
2098
2098
  Dn as h,
@@ -1,6 +1,6 @@
1
1
  import { parseValueFormatPreferences as _, isReportPreferenceSource as C } from "../value-format-preferences/index.js";
2
- import { r as g } from "./validators-C87JPd-_.js";
3
- import { i as k } from "./analytics-base-schemas-BUFUoO6G.js";
2
+ import { r as g } from "./validators-BtaCFIEB.js";
3
+ import { i as k } from "./analytics-base-schemas-CB3oFAXk.js";
4
4
  const D = {
5
5
  tz: "UTC",
6
6
  weekStart: 1,