react-semaphor 0.1.560 → 0.1.562

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 +450 -423
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/assistant-protocol/index.js +5 -5
  4. package/dist/brand-studio/index.js +9 -9
  5. package/dist/briefings/index.js +5 -5
  6. package/dist/chunks/{analytics-base-schemas-CHLxsPfX.js → analytics-base-schemas-BaIQrEzX.js} +221 -188
  7. package/dist/chunks/{assistant-chat-Bu2fFm_I.js → assistant-chat-R_yT8xH4.js} +116 -117
  8. package/dist/chunks/bookmark-impact-D4Kl4amw.js +75 -0
  9. package/dist/chunks/bookmark-state-CWeoGbrx.js +743 -0
  10. package/dist/chunks/{braces-Da41xfUd.js → braces-DzgoQC64.js} +1 -1
  11. package/dist/chunks/{comparison-window-caption-4FNkMrzE.js → comparison-window-caption-D1EUXzaR.js} +550 -425
  12. package/dist/chunks/{context-BgPDzLHZ.js → context-R31TSL5V.js} +1 -1
  13. package/dist/chunks/{dashboard-_MeBuy67.js → dashboard-Bp1y5oun.js} +1 -1
  14. package/dist/chunks/{dashboard-briefing-launcher-CEi4Pr_v.js → dashboard-briefing-launcher-S5FB3aUW.js} +236 -236
  15. package/dist/chunks/dashboard-controls-CfC_6Ztn.js +2277 -0
  16. package/dist/chunks/{dashboard-json-B1mU_OMa.js → dashboard-json-gYZT7ZQY.js} +5 -5
  17. package/dist/chunks/dates-DFY7Gfss.js +91 -0
  18. package/dist/chunks/{edit-dashboard-visual-0CJN31Y3.js → edit-dashboard-visual-u7OI_g8Q.js} +7119 -7198
  19. package/dist/chunks/filter-reach-copy-CvV7W5dd.js +3965 -0
  20. package/dist/chunks/{filter-value-text-CRC-K_l_.js → filter-value-text-CPwFkrMz.js} +11 -10
  21. package/dist/chunks/global-date-filter-utils-N1kcsOFE.js +16722 -0
  22. package/dist/chunks/{index-DtHidOPV.js → index-CNGkfUp4.js} +269 -264
  23. package/dist/chunks/{layout-grid-BvsH4RY2.js → layout-grid-BM65viQh.js} +1 -1
  24. package/dist/chunks/{list-filter-Dg0otx5E.js → list-filter-BoeLBfL3.js} +1 -1
  25. package/dist/chunks/{matrix-analytical-definition-CM18W8w6.js → matrix-analytical-definition-hEucouWM.js} +4 -4
  26. package/dist/chunks/{matrix-card-HPskLaPy.js → matrix-card-CCh9JjP1.js} +3 -3
  27. package/dist/chunks/{matrix-member-presentation-Bbrfrke4.js → matrix-member-presentation-DsAUbuoL.js} +1 -1
  28. package/dist/chunks/{matrix-operation-contract-WPv4R-H_.js → matrix-operation-contract-DsLdFdSa.js} +365 -349
  29. package/dist/chunks/{metric-comparison-ljMKYZKa.js → metric-comparison-Bnso1cm1.js} +6 -6
  30. package/dist/chunks/{model-change-Ccn1zaxl.js → model-change-T1cRkh3m.js} +1 -1
  31. package/dist/chunks/{palette-Bsh376zO.js → palette-p1XSJFgB.js} +1 -1
  32. package/dist/chunks/pivot-result-contract-expectations-B53jqszr.js +56 -0
  33. package/dist/chunks/{pivot-result-identity-vS9TSh4f.js → pivot-result-identity-Dq5jm-EC.js} +1 -1
  34. package/dist/chunks/{zoned-wall-clock-B1n_WjW3.js → raw-temporal-value-Bqz8wc7L.js} +97 -46
  35. package/dist/chunks/{report-preferences-dialog-BV8L0SeS.js → report-preferences-dialog-C4RAR8u5.js} +68 -63
  36. package/dist/chunks/{report-runtime-context-BZQh9ywy.js → report-runtime-context-BITkNSDa.js} +2 -2
  37. package/dist/chunks/resolve-dashboard-input-context-DaDrZGuA.js +8214 -0
  38. package/dist/chunks/{save-B5EAsgQF.js → save-CHV1B1fL.js} +1 -1
  39. package/dist/chunks/{saved-dashboard-context-n2Wn11cV.js → saved-dashboard-context-DFYBrE6O.js} +93 -94
  40. package/dist/chunks/{selection-filter-compiler-BKXmyLrS.js → selection-filter-compiler-CUDRnUxc.js} +19 -18
  41. package/dist/chunks/{selection-reducer-D0YnaAD9.js → selection-reducer-Bz5aywT4.js} +1 -1
  42. package/dist/chunks/{semaphor-ready-indicator-XLBLOJ2V.js → semaphor-ready-indicator-Cfuafnem.js} +38188 -40344
  43. package/dist/chunks/{shelf-drop-preview-context-DHMa54a-.js → shelf-drop-preview-context-BR2GEYog.js} +81 -82
  44. package/dist/chunks/{source-entity-resolution-dUG5VWRm.js → source-entity-resolution-DdDVXFB8.js} +6 -6
  45. package/dist/chunks/{switch-ByxH4M7t.js → switch-BW4yXSYs.js} +3 -3
  46. package/dist/chunks/{table-export-sheet-C_GdeTYU.js → table-export-sheet-bSXxGn-v.js} +1 -1
  47. package/dist/chunks/temporal-input-presentation-sk9gqLi6.js +4960 -0
  48. package/dist/chunks/{token-types-CQtXUVMy.js → token-types-BUK06hU2.js} +1 -1
  49. package/dist/chunks/{upload-wbR-NVzq.js → upload-BnmuyPqW.js} +1 -1
  50. package/dist/chunks/{use-create-flow-overlay-state-CEBaLOKC.js → use-create-flow-overlay-state-DyzhWvRJ.js} +6 -6
  51. package/dist/chunks/{validators-CXTneCA4.js → validators-BIM0FE31.js} +774 -895
  52. package/dist/dashboard/index.js +2 -2
  53. package/dist/dashboard-authoring/index.js +2477 -2685
  54. package/dist/data-app-sdk/index.js +30 -30
  55. package/dist/data-app-sdk-adapters/index.js +3 -3
  56. package/dist/data-app-sdk-validation/index.js +25 -25
  57. package/dist/format-utils/index.js +274 -267
  58. package/dist/index.js +59 -59
  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/briefings/attachment-outcomes.d.ts +1 -1
  63. package/dist/types/components/dashboard/dashboard-create-dialog.d.ts +23 -0
  64. package/dist/types/components/dashboard/summary-number-formatter.d.ts +6 -0
  65. package/dist/types/components/index.d.ts +1 -2
  66. package/dist/types/components/surfboard/filter/types.d.ts +3 -1
  67. package/dist/types/index.js +50 -51
  68. package/dist/types/lib/formatters/kpi-number-formatter.d.ts +41 -0
  69. package/dist/types/lib/formatters/raw-temporal-presentation.d.ts +59 -2
  70. package/dist/types/lib/interactions/get-click-context-from-matrix.d.ts +5 -0
  71. package/dist/types/lib/interactions/get-click-context-from-table.d.ts +45 -0
  72. package/dist/types/lib/print/print-inputs.d.ts +2 -1
  73. package/dist/types/lib/query-context/assemble-card-query.d.ts +2 -0
  74. package/dist/types/lib/query-context/build-dashboard-execution-snapshot.d.ts +5 -0
  75. package/dist/types/lib/selection/selection-from-click-context.d.ts +41 -0
  76. package/dist/types/lib/stores/editor-store.d.ts +9 -1
  77. package/dist/types/lib/stores/table-actions.d.ts +0 -2
  78. package/dist/types/lib/types/common-types.d.ts +6 -0
  79. package/dist/types/lib/types/explorer-types.d.ts +7 -1
  80. package/dist/types/lib/types/interaction-types.d.ts +3 -1
  81. package/dist/types/lib/types/token-types.d.ts +0 -1
  82. package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +13 -1
  83. package/dist/types/shared/analytics-protocol/contracts.d.ts +9 -40
  84. package/dist/types/shared/analytics-protocol/measure-aggregation-profile.d.ts +12 -0
  85. package/dist/types/shared/analytics-protocol/selection-contract.d.ts +12 -2
  86. package/dist/types/shared/analytics-protocol/validators.d.ts +1 -2
  87. package/dist/types/shared/assistant-protocol/context.d.ts +8 -8
  88. package/dist/types/shared/dashboard-authoring/card-formats/sql-date-pattern.d.ts +7 -1
  89. package/dist/types/shared/dashboard-authoring/card-settings/apply-card-settings.d.ts +11 -0
  90. package/dist/types/shared/dashboard-authoring/card-settings/card-display-write.d.ts +76 -0
  91. package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +14 -0
  92. package/dist/types/shared/dashboard-authoring/card-settings/carry-column-settings.d.ts +3 -0
  93. package/dist/types/shared/dashboard-authoring/card-settings/column-format-write.d.ts +8 -0
  94. package/dist/types/shared/dashboard-authoring/card-settings/column-names.d.ts +51 -0
  95. package/dist/types/shared/dashboard-authoring/card-settings/column-polarity-write.d.ts +5 -0
  96. package/dist/types/shared/dashboard-authoring/card-settings/column-sources.d.ts +14 -0
  97. package/dist/types/shared/dashboard-authoring/card-settings/confirm-class.d.ts +9 -0
  98. package/dist/types/shared/dashboard-authoring/card-settings/highlight-inputs.d.ts +19 -0
  99. package/dist/types/shared/dashboard-authoring/card-settings/index.d.ts +17 -0
  100. package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +117 -0
  101. package/dist/types/shared/dashboard-authoring/card-settings/read-card-settings.d.ts +10 -0
  102. package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-highlights.d.ts +14 -0
  103. package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-settings.d.ts +59 -0
  104. package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +51 -0
  105. package/dist/types/shared/dashboard-authoring/card-settings/views.d.ts +30 -0
  106. package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +6 -0
  107. package/dist/types/shared/dashboard-authoring/changes/card-types.d.ts +32 -0
  108. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +3402 -4313
  109. package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +49 -8
  110. package/dist/types/shared/dashboard-authoring/changes/field-ref.d.ts +91 -0
  111. package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +7 -0
  112. package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +52 -2
  113. package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-create.d.ts +26 -0
  114. package/dist/types/shared/dashboard-authoring/click-to-filter-settings.d.ts +2 -1
  115. package/dist/types/shared/dashboard-authoring/conditional-formatting/kpi.d.ts +1 -8
  116. package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +20 -20
  117. package/dist/types/shared/dashboard-authoring/detail-date-presentation.d.ts +9 -0
  118. package/dist/types/shared/dashboard-authoring/index.d.ts +11 -6
  119. package/dist/types/shared/dashboard-authoring/kpi-figure.d.ts +123 -0
  120. package/dist/types/shared/dashboard-authoring/measure-calculations/apply.d.ts +8 -0
  121. package/dist/types/shared/dashboard-authoring/measure-calculations/comparison.d.ts +16 -0
  122. package/dist/types/shared/dashboard-authoring/measure-calculations/dates.d.ts +41 -0
  123. package/dist/types/shared/dashboard-authoring/measure-calculations/index.d.ts +17 -0
  124. package/dist/types/shared/dashboard-authoring/measure-calculations/options.d.ts +63 -0
  125. package/dist/types/shared/dashboard-authoring/measure-calculations/read.d.ts +16 -0
  126. package/dist/types/shared/dashboard-authoring/measure-calculations/resolve.d.ts +79 -0
  127. package/dist/types/shared/dashboard-authoring/measure-calculations/schemas.d.ts +934 -0
  128. package/dist/types/shared/dashboard-authoring/measure-calculations/sentences.d.ts +4 -0
  129. package/dist/types/shared/dashboard-authoring/measure-calculations/set.d.ts +11 -0
  130. package/dist/types/shared/dashboard-authoring/measure-calculations/transform.d.ts +63 -0
  131. package/dist/types/shared/dashboard-authoring/measure-calculations/window-transforms.d.ts +60 -0
  132. package/dist/types/shared/dashboard-authoring/new-card.d.ts +12 -1
  133. package/dist/types/shared/dashboard-authoring/operations/apply-dashboard-operations.d.ts +2 -1
  134. package/dist/types/shared/dashboard-authoring/operations/operation-sentences.d.ts +46 -0
  135. package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +73 -3
  136. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +21 -3
  137. package/dist/types/shared/dashboard-authoring/text-card-words/blocks.d.ts +58 -0
  138. package/dist/types/shared/dashboard-authoring/text-card-words/index.d.ts +55 -0
  139. package/dist/types/shared/dashboard-authoring/text-card-words/rich-content.d.ts +18 -0
  140. package/dist/types/shared/dashboard-viewer/bookmark-impact.d.ts +33 -0
  141. package/dist/types/shared/format-utils/document-print.d.ts +82 -0
  142. package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +8 -1
  143. package/dist/types/shared/format-utils/index.d.ts +1 -0
  144. package/dist/types/shared/format-utils/raw-temporal.d.ts +18 -7
  145. package/dist/types/shared/temporal/index.d.ts +1 -0
  146. package/dist/types/shared/temporal/raw-temporal-equality.d.ts +19 -0
  147. package/dist/types/shared/temporal/raw-temporal-value.d.ts +29 -0
  148. package/dist/types/shared/temporal/zoned-wall-clock.d.ts +6 -0
  149. package/package.json +2 -2
  150. package/dist/chunks/bookmark-state-BFY9oNmr.js +0 -111
  151. package/dist/chunks/custom-visual-inputs-Dz-enUNR.js +0 -292
  152. package/dist/chunks/dashboard-controls-Bi7fyG-4.js +0 -2339
  153. package/dist/chunks/document-dashboard-inputs-CkWfDB8c.js +0 -3010
  154. package/dist/chunks/filter-reach-copy-BF4w4kI2.js +0 -3738
  155. package/dist/chunks/global-date-filter-utils-D8365uPH.js +0 -12889
  156. package/dist/chunks/pivot-result-contract-expectations-Bl5suy4-.js +0 -1832
  157. package/dist/chunks/raw-temporal-presentation-BHm7s-hz.js +0 -540
  158. package/dist/chunks/resolve-dashboard-input-context-CAMiWvyR.js +0 -5280
  159. package/dist/chunks/table-settings-Imz0FgWi.js +0 -637
  160. package/dist/chunks/temporal-input-presentation-uvNK_tM0.js +0 -3228
  161. package/dist/types/components/dashboard/ai-dashboard-create-dialog.d.ts +0 -38
  162. package/dist/types/components/dashboard/dashboard-create-template.d.ts +0 -10
  163. package/dist/types/lib/hooks/use-dashboard-authoring.d.ts +0 -49
  164. package/dist/types/shared/dashboard-authoring/artifact-compiler.d.ts +0 -6
  165. package/dist/types/shared/dashboard-authoring/contracts.d.ts +0 -106
  166. package/dist/types/shared/dashboard-authoring/protocol-adapter.d.ts +0 -7
  167. package/dist/types/shared/dashboard-authoring/source-matching.d.ts +0 -34
  168. package/dist/types/shared/dashboard-authoring/validators.d.ts +0 -2
@@ -1,19 +1,18 @@
1
1
  import { jsxs as Ne, jsx as N, Fragment as ft } from "react/jsx-runtime";
2
2
  import * as T from "react";
3
3
  import zn, { forwardRef as Fe, createElement as xe, useContext as rt, createContext as xt, useRef as O, useLayoutEffect as Pn, useImperativeHandle as zt, useEffect as ne, useState as de, useCallback as G, useMemo as W, memo as wn, Suspense as Cn, useSyncExternalStore as En } from "react";
4
- import { b1 as In, a6 as ie, b2 as Pt, b3 as Rn, a7 as wt, b4 as ot, b5 as Ct, b6 as Et, b7 as Dn, b8 as An, b9 as Nn, ba as Mn, u as Re, bb as Ln, bc as _n, bd as kn, be as Tn, bf as Hn, bg as Vn, bh as $n, bi as Fn, bj as Kn } from "./semaphor-ready-indicator-XLBLOJ2V.js";
5
- import { C as It, A as Rt, D as ze, E as me, F as Dt, G as Bn, H as qn, J as Pe, K as On, M as At, N as Gn, O as Un } from "./switch-ByxH4M7t.js";
6
- import { db as Wn, dc as jn } from "./global-date-filter-utils-D8365uPH.js";
7
- import { f as Xn, r as Nt, g as Mt, a as Je, c as Te, n as Yn, b as Qn } from "./custom-visual-inputs-Dz-enUNR.js";
4
+ import { b1 as In, a6 as ie, b2 as Pt, b3 as Rn, a7 as wt, b4 as ot, b5 as Ct, b6 as Et, b7 as Dn, b8 as An, b9 as Nn, ba as Mn, u as Re, bb as Ln, bc as _n, bd as kn, be as Tn, bf as Hn, bg as Vn, bh as $n, bi as Fn, bj as Kn } from "./semaphor-ready-indicator-Cfuafnem.js";
5
+ import { C as It, A as Rt, D as ze, E as me, F as Dt, G as Bn, H as qn, J as Pe, K as On, M as At, N as Gn, O as Un } from "./switch-BW4yXSYs.js";
6
+ import { Y as Wn, Z as Nt, $ as Mt, eG as Je, eH as Te, eI as Yn, eJ as jn, eK as Xn, _ as Qn } from "./global-date-filter-utils-N1kcsOFE.js";
8
7
  import "./index-CuHybtft.js";
9
- import "./validators-CXTneCA4.js";
10
- import "./matrix-operation-contract-WPv4R-H_.js";
11
- import "./analytics-base-schemas-CHLxsPfX.js";
8
+ import "./validators-BIM0FE31.js";
9
+ import "./matrix-operation-contract-DsLdFdSa.js";
10
+ import "./analytics-base-schemas-BaIQrEzX.js";
12
11
  import "zod";
13
12
  import "../value-format-preferences/index.js";
14
13
  import { c as we } from "./_commonjsHelpers-DimLPMtv.js";
15
14
  import { u as Jn } from "./appearance-context-DEYtWinQ.js";
16
- const Po = zn.memo(function({
15
+ const zo = zn.memo(function({
17
16
  context: t = "editor"
18
17
  } = {}) {
19
18
  return /* @__PURE__ */ Ne(
@@ -78,7 +77,7 @@ function Lt({
78
77
  groupId: D,
79
78
  isPanelCollapsed: L,
80
79
  reevaluatePanelConstraints: C,
81
- registerPanel: X,
80
+ registerPanel: j,
82
81
  resizePanel: J,
83
82
  unregisterPanel: K
84
83
  } = y, M = st(s), _ = O({
@@ -110,10 +109,10 @@ function Lt({
110
109
  _.current.id = M, _.current.idIsFromProps = s !== void 0, _.current.order = c, B.onCollapse = d, B.onExpand = f, B.onResize = u, $.collapsedSize = n, $.collapsible = r, $.defaultSize = i, $.maxSize = l, $.minSize = a, (F.collapsedSize !== $.collapsedSize || F.collapsible !== $.collapsible || F.maxSize !== $.maxSize || F.minSize !== $.minSize) && C(_.current, F);
111
110
  }), ge(() => {
112
111
  const B = _.current;
113
- return X(B), () => {
112
+ return j(B), () => {
114
113
  K(B);
115
114
  };
116
- }, [c, M, X, K]), zt(o, () => ({
115
+ }, [c, M, j, K]), zt(o, () => ({
117
116
  collapse: () => {
118
117
  h(_.current);
119
118
  },
@@ -326,7 +325,7 @@ function fr(e) {
326
325
  y: r
327
326
  }), Ve(), se.length > 0 && ($e("down", e), e.preventDefault(), Bt(t) || e.stopImmediatePropagation());
328
327
  }
329
- function je(e) {
328
+ function Ye(e) {
330
329
  const {
331
330
  x: t,
332
331
  y: n
@@ -343,7 +342,7 @@ function je(e) {
343
342
  }
344
343
  $e("move", e), at(), se.length > 0 && e.preventDefault();
345
344
  }
346
- function Xe(e) {
345
+ function je(e) {
347
346
  const {
348
347
  target: t
349
348
  } = e, {
@@ -402,7 +401,7 @@ function lt({
402
401
  }
403
402
  });
404
403
  }
405
- function Ye(e, t) {
404
+ function Xe(e, t) {
406
405
  qe.set(e, t);
407
406
  }
408
407
  function at() {
@@ -429,12 +428,12 @@ function Ve() {
429
428
  const {
430
429
  body: r
431
430
  } = n;
432
- t > 0 && (r.addEventListener("contextmenu", Xe, e), r.addEventListener("pointerleave", je, e), r.addEventListener("pointermove", je, e));
433
- }), window.addEventListener("pointerup", Xe, e), window.addEventListener("pointercancel", Xe, e)) : pe.forEach((t, n) => {
431
+ t > 0 && (r.addEventListener("contextmenu", je, e), r.addEventListener("pointerleave", Ye, e), r.addEventListener("pointermove", Ye, e));
432
+ }), window.addEventListener("pointerup", je, e), window.addEventListener("pointercancel", je, e)) : pe.forEach((t, n) => {
434
433
  const {
435
434
  body: r
436
435
  } = n;
437
- t > 0 && (r.addEventListener("pointerdown", fr, e), r.addEventListener("pointermove", je, e));
436
+ t > 0 && (r.addEventListener("pointerdown", fr, e), r.addEventListener("pointermove", Ye, e));
438
437
  }));
439
438
  }
440
439
  function $e(e, t) {
@@ -721,7 +720,7 @@ function yr({
721
720
  minSize: C = 0
722
721
  } = x.constraints;
723
722
  if (R != null && L) {
724
- const X = De({
723
+ const j = De({
725
724
  delta: ee(R, D) ? C - D : D - R,
726
725
  initialLayout: r,
727
726
  panelConstraints: a.map((J) => J.constraints),
@@ -729,7 +728,7 @@ function yr({
729
728
  prevLayout: r,
730
729
  trigger: "keyboard"
731
730
  });
732
- r !== X && s(X);
731
+ r !== j && s(j);
733
732
  }
734
733
  }
735
734
  break;
@@ -905,7 +904,7 @@ function vt(e) {
905
904
  function Wt(e) {
906
905
  return `react-resizable-panels:${e}`;
907
906
  }
908
- function jt(e) {
907
+ function Yt(e) {
909
908
  return e.map((t) => {
910
909
  const {
911
910
  constraints: n,
@@ -916,7 +915,7 @@ function jt(e) {
916
915
  return i ? r : o ? `${o}:${JSON.stringify(n)}` : JSON.stringify(n);
917
916
  }).sort((t, n) => t.localeCompare(n)).join(",");
918
917
  }
919
- function Xt(e, t) {
918
+ function jt(e, t) {
920
919
  try {
921
920
  const n = Wt(e), r = t.getItem(n);
922
921
  if (r) {
@@ -930,12 +929,12 @@ function Xt(e, t) {
930
929
  }
931
930
  function Pr(e, t, n) {
932
931
  var r, i;
933
- const o = (r = Xt(e, n)) !== null && r !== void 0 ? r : {}, s = jt(t);
932
+ const o = (r = jt(e, n)) !== null && r !== void 0 ? r : {}, s = Yt(t);
934
933
  return (i = o[s]) !== null && i !== void 0 ? i : null;
935
934
  }
936
935
  function wr(e, t, n, r, i) {
937
936
  var o;
938
- const s = Wt(e), l = jt(t), a = (o = Xt(e, i)) !== null && o !== void 0 ? o : {};
937
+ const s = Wt(e), l = Yt(t), a = (o = jt(e, i)) !== null && o !== void 0 ? o : {};
939
938
  a[l] = {
940
939
  expandToSizes: Object.fromEntries(n.entries()),
941
940
  layout: r
@@ -991,7 +990,7 @@ const Cr = 100, Ae = {
991
990
  vt(Ae), Ae.setItem(e, t);
992
991
  }
993
992
  }, St = {};
994
- function Yt({
993
+ function Xt({
995
994
  autoSaveId: e = null,
996
995
  children: t,
997
996
  className: n = "",
@@ -1066,7 +1065,7 @@ function Yt({
1066
1065
  }
1067
1066
  }, [e, y, a]), ne(() => {
1068
1067
  });
1069
- const X = G((v) => {
1068
+ const j = G((v) => {
1070
1069
  const {
1071
1070
  onLayout: P
1072
1071
  } = L.current, {
@@ -1228,7 +1227,7 @@ function Yt({
1228
1227
  prevLayout: oe,
1229
1228
  trigger: _t(b) ? "keyboard" : "mouse-or-touch"
1230
1229
  }), dt = !ke(oe, Ie);
1231
- (kt(b) || Tt(b)) && D.current != Z && (D.current = Z, !dt && Z !== 0 ? ut ? Ye(v, Z < 0 ? Vt : $t) : Ye(v, Z < 0 ? Ft : Kt) : Ye(v, 0)), dt && (h(Ie), C.current.layout = Ie, V && V(Ie), ye(Ee, Ie, x.current));
1230
+ (kt(b) || Tt(b)) && D.current != Z && (D.current = Z, !dt && Z !== 0 ? ut ? Xe(v, Z < 0 ? Vt : $t) : Xe(v, Z < 0 ? Ft : Kt) : Xe(v, 0)), dt && (h(Ie), C.current.layout = Ie, V && V(Ie), ye(Ee, Ie, x.current));
1232
1231
  };
1233
1232
  }, []), F = G((v, P) => {
1234
1233
  const {
@@ -1250,7 +1249,7 @@ function Yt({
1250
1249
  trigger: "imperative-api"
1251
1250
  });
1252
1251
  ke(z, V) || (h(V), C.current.layout = V, E && E(V), ye(b, V, x.current));
1253
- }, []), Y = G((v, P) => {
1252
+ }, []), X = G((v, P) => {
1254
1253
  const {
1255
1254
  layout: E,
1256
1255
  panelDataArray: z
@@ -1266,7 +1265,7 @@ function Yt({
1266
1265
  panelSize: V
1267
1266
  } = fe(z, v, E);
1268
1267
  V != null && (w && S && ae(V, b) ? ae(b, k) || F(v, k) : V < Q ? F(v, Q) : V > H && F(v, H));
1269
- }, [F]), j = G((v, P) => {
1268
+ }, [F]), Y = G((v, P) => {
1270
1269
  const {
1271
1270
  direction: E
1272
1271
  } = L.current, {
@@ -1291,7 +1290,7 @@ function Yt({
1291
1290
  } = C.current, E = ve(P, v);
1292
1291
  E >= 0 && (P.splice(E, 1), delete x.current[v.id], C.current.panelDataArrayChanged = !0, A());
1293
1292
  }, [A]), le = W(() => ({
1294
- collapsePanel: X,
1293
+ collapsePanel: j,
1295
1294
  direction: r,
1296
1295
  dragState: p,
1297
1296
  expandPanel: J,
@@ -1300,15 +1299,15 @@ function Yt({
1300
1299
  groupId: c,
1301
1300
  isPanelCollapsed: _,
1302
1301
  isPanelExpanded: U,
1303
- reevaluatePanelConstraints: Y,
1302
+ reevaluatePanelConstraints: X,
1304
1303
  registerPanel: B,
1305
1304
  registerResizeHandle: $,
1306
1305
  resizePanel: F,
1307
- startDragging: j,
1306
+ startDragging: Y,
1308
1307
  stopDragging: te,
1309
1308
  unregisterPanel: ce,
1310
1309
  panelGroupElement: m.current
1311
- }), [X, p, r, J, K, M, c, _, U, Y, B, $, F, j, te, ce]), re = {
1310
+ }), [j, p, r, J, K, M, c, _, U, X, B, $, F, Y, te, ce]), re = {
1312
1311
  display: "flex",
1313
1312
  flexDirection: r === "horizontal" ? "row" : "column",
1314
1313
  height: "100%",
@@ -1333,11 +1332,11 @@ function Yt({
1333
1332
  [q.groupId]: c
1334
1333
  }));
1335
1334
  }
1336
- const Er = Fe((e, t) => xe(Yt, {
1335
+ const Er = Fe((e, t) => xe(Xt, {
1337
1336
  ...e,
1338
1337
  forwardedRef: t
1339
1338
  }));
1340
- Yt.displayName = "PanelGroup";
1339
+ Xt.displayName = "PanelGroup";
1341
1340
  Er.displayName = "forwardRef(PanelGroup)";
1342
1341
  function ve(e, t) {
1343
1342
  return e.findIndex((n) => n === t || n.id === t.id);
@@ -1426,13 +1425,13 @@ function Rr({
1426
1425
  groupId: D,
1427
1426
  registerResizeHandle: L,
1428
1427
  startDragging: C,
1429
- stopDragging: X,
1428
+ stopDragging: j,
1430
1429
  panelGroupElement: J
1431
- } = x, K = st(i), [M, _] = de("inactive"), [U, B] = de(!1), [$, F] = de(null), Y = O({
1430
+ } = x, K = st(i), [M, _] = de("inactive"), [U, B] = de(!1), [$, F] = de(null), X = O({
1432
1431
  state: M
1433
1432
  });
1434
1433
  ge(() => {
1435
- Y.current.state = M;
1434
+ X.current.state = M;
1436
1435
  }), ne(() => {
1437
1436
  if (n)
1438
1437
  F(null);
@@ -1441,7 +1440,7 @@ function Rr({
1441
1440
  F(() => le);
1442
1441
  }
1443
1442
  }, [n, K, L]);
1444
- const j = (g = r == null ? void 0 : r.coarse) !== null && g !== void 0 ? g : 15, te = (y = r == null ? void 0 : r.fine) !== null && y !== void 0 ? y : 5;
1443
+ const Y = (g = r == null ? void 0 : r.coarse) !== null && g !== void 0 ? g : 15, te = (y = r == null ? void 0 : r.fine) !== null && y !== void 0 ? y : 5;
1445
1444
  return ne(() => {
1446
1445
  if (n || $ == null)
1447
1446
  return;
@@ -1449,7 +1448,7 @@ function Rr({
1449
1448
  I(le, "Element ref not attached");
1450
1449
  let re = !1;
1451
1450
  return dr(K, le, R, {
1452
- coarse: j,
1451
+ coarse: Y,
1453
1452
  fine: te
1454
1453
  }, (P, E, z) => {
1455
1454
  if (!E) {
@@ -1469,12 +1468,12 @@ function Rr({
1469
1468
  case "move": {
1470
1469
  const {
1471
1470
  state: b
1472
- } = Y.current;
1471
+ } = X.current;
1473
1472
  re = !0, b !== "drag" && _("hover"), I(z, 'Expected event to be defined for "move" action'), $(z);
1474
1473
  break;
1475
1474
  }
1476
1475
  case "up": {
1477
- _("hover"), X();
1476
+ _("hover"), j();
1478
1477
  const {
1479
1478
  onClick: b,
1480
1479
  onDragging: w,
@@ -1485,7 +1484,7 @@ function Rr({
1485
1484
  }
1486
1485
  }
1487
1486
  });
1488
- }, [j, R, n, te, L, K, $, C, X]), Ir({
1487
+ }, [Y, R, n, te, L, K, $, C, j]), Ir({
1489
1488
  disabled: n,
1490
1489
  handleId: K,
1491
1490
  resizeHandler: $,
@@ -1525,7 +1524,7 @@ Rr.displayName = "PanelResizeHandle";
1525
1524
  function Qt() {
1526
1525
  var a, d;
1527
1526
  const e = ie((f) => f.card), t = ie((f) => f.frame), n = W(
1528
- () => Xn(t, e),
1527
+ () => Wn(t, e),
1529
1528
  [t, e]
1530
1529
  ), { manifest: r } = Pt(
1531
1530
  ((a = n == null ? void 0 : n.customCardPreferences) == null ? void 0 : a.url) || ""
@@ -1625,7 +1624,7 @@ function Ar({ className: e }, t) {
1625
1624
  });
1626
1625
  ne(() => Et(h), [h]);
1627
1626
  function A(x) {
1628
- y(x), Wn(m.current) || l({});
1627
+ y(x), Yn(m.current) || l({});
1629
1628
  }
1630
1629
  return /* @__PURE__ */ N("div", { className: "relative h-full w-full", children: /* @__PURE__ */ N(
1631
1630
  It,
@@ -1649,7 +1648,7 @@ function Ar({ className: e }, t) {
1649
1648
  }
1650
1649
  ) });
1651
1650
  }
1652
- const wo = Fe(Ar), Nr = 300, Mr = `# 'data' holds the SQL result.
1651
+ const Po = Fe(Ar), Nr = 300, Mr = `# 'data' holds the SQL result.
1653
1652
  # Set 'result' to a list of dicts to replace it, for example:
1654
1653
  # import pandas as pd
1655
1654
  # result = pd.DataFrame(data).to_dict('records')`;
@@ -1687,7 +1686,7 @@ function Lr({ className: e }, t) {
1687
1686
  }
1688
1687
  );
1689
1688
  }
1690
- const Co = Fe(Lr);
1689
+ const wo = Fe(Lr);
1691
1690
  function _r({ card: e }) {
1692
1691
  var E, z, b, w, k;
1693
1692
  const t = Dn(), [n, r] = de({}), { authToken: i } = An(), o = jn(i == null ? void 0 : i.accessToken), { compiledAppearance: s } = Jn(), l = W(
@@ -1730,7 +1729,7 @@ function _r({ card: e }) {
1730
1729
  python: "",
1731
1730
  config: void 0,
1732
1731
  queryConfig: void 0
1733
- } : x !== e.type ? { ...e, type: x } : e, [e, x, y]), { data: D, effectiveCardConfig: L, renderCard: C } = ot(R), X = Mn(), J = Re((S) => S.dashboard), K = Re(
1732
+ } : x !== e.type ? { ...e, type: x } : e, [e, x, y]), { data: D, effectiveCardConfig: L, renderCard: C } = ot(R), j = Mn(), J = Re((S) => S.dashboard), K = Re(
1734
1733
  (S) => S.dashboardInputValues
1735
1734
  ), M = Re(
1736
1735
  (S) => S.adHocFilterValues
@@ -1757,7 +1756,7 @@ function _r({ card: e }) {
1757
1756
  ), {
1758
1757
  filterInputs: $,
1759
1758
  filters: F,
1760
- filterValues: Y
1759
+ filterValues: X
1761
1760
  } = W(
1762
1761
  () => _n({
1763
1762
  dashboard: J,
@@ -1765,7 +1764,7 @@ function _r({ card: e }) {
1765
1764
  sheetId: U,
1766
1765
  dashboardInputValues: K,
1767
1766
  adHocFilterValues: M,
1768
- transientContexts: X,
1767
+ transientContexts: j,
1769
1768
  calendar: _
1770
1769
  }),
1771
1770
  [
@@ -1775,11 +1774,11 @@ function _r({ card: e }) {
1775
1774
  _,
1776
1775
  J,
1777
1776
  U,
1778
- X
1777
+ j
1779
1778
  ]
1780
- ), j = G(
1779
+ ), Y = G(
1781
1780
  (S, H) => {
1782
- const Q = Yn(H);
1781
+ const Q = Xn(H);
1783
1782
  r((V) => ({
1784
1783
  ...V,
1785
1784
  [S]: Q
@@ -1845,14 +1844,14 @@ function _r({ card: e }) {
1845
1844
  card: C,
1846
1845
  dataMetadata: D == null ? void 0 : D.metadata
1847
1846
  }),
1848
- onDataChange: j,
1847
+ onDataChange: Y,
1849
1848
  data: (D == null ? void 0 : D.records) || [],
1850
1849
  columns: (D == null ? void 0 : D.columns) || [],
1851
1850
  formatTemporalBucketValue: P,
1852
1851
  filterInputs: $,
1853
1852
  filters: F,
1854
1853
  filterValues: [
1855
- ...Y || [],
1854
+ ...X || [],
1856
1855
  ...d || []
1857
1856
  ],
1858
1857
  inlineFilters: B
@@ -1869,7 +1868,7 @@ function _r({ card: e }) {
1869
1868
  return /* @__PURE__ */ N(
1870
1869
  $n,
1871
1870
  {
1872
- onDataChange: j,
1871
+ onDataChange: Y,
1873
1872
  card: S,
1874
1873
  effectiveCardType: V
1875
1874
  },
@@ -1880,7 +1879,7 @@ function _r({ card: e }) {
1880
1879
  ce,
1881
1880
  {
1882
1881
  editing: !0,
1883
- onDataChange: j,
1882
+ onDataChange: Y,
1884
1883
  ...Fn({
1885
1884
  configCard: c,
1886
1885
  slotOrderedCards: re,
@@ -1892,7 +1891,7 @@ function _r({ card: e }) {
1892
1891
  filterInputs: $,
1893
1892
  filters: F,
1894
1893
  filterValues: [
1895
- ...Y || [],
1894
+ ...X || [],
1896
1895
  ...d || []
1897
1896
  ],
1898
1897
  inlineFilters: B,
@@ -1906,7 +1905,7 @@ function _r({ card: e }) {
1906
1905
  (k = c.customCardPreferences) == null ? void 0 : k.componentName
1907
1906
  ) }) : null;
1908
1907
  }
1909
- const Eo = wn(_r);
1908
+ const Co = wn(_r);
1910
1909
  var en = "Toggle", tn = T.forwardRef((e, t) => {
1911
1910
  const { pressed: n, defaultPressed: r, onPressedChange: i, ...o } = e, [s, l] = Rt({
1912
1911
  prop: n,
@@ -2035,10 +2034,10 @@ var rn = ["PageUp", "PageDown"], on = ["ArrowUp", "ArrowDown", "ArrowLeft", "Arr
2035
2034
  }
2036
2035
  }), L = T.useRef(R);
2037
2036
  function C(M) {
2038
- const _ = Yr(R, M);
2037
+ const _ = Xr(R, M);
2039
2038
  K(M, _);
2040
2039
  }
2041
- function X(M) {
2040
+ function j(M) {
2042
2041
  K(M, h.current);
2043
2042
  }
2044
2043
  function J() {
@@ -2047,14 +2046,14 @@ var rn = ["PageUp", "PageDown"], on = ["ArrowUp", "ArrowDown", "ArrowLeft", "Arr
2047
2046
  }
2048
2047
  function K(M, _, { commit: U } = { commit: !1 }) {
2049
2048
  const B = eo(o), $ = to(Math.round((M - r) / o) * o + r, B), F = At($, [r, i]);
2050
- D((Y = []) => {
2051
- const j = jr(Y, F, _);
2052
- if (Zr(j, a * o)) {
2053
- h.current = j.indexOf(F);
2054
- const te = String(j) !== String(Y);
2055
- return te && U && c(j), te ? j : Y;
2049
+ D((X = []) => {
2050
+ const Y = Yr(X, F, _);
2051
+ if (Zr(Y, a * o)) {
2052
+ h.current = Y.indexOf(F);
2053
+ const te = String(Y) !== String(X);
2054
+ return te && U && c(Y), te ? Y : X;
2056
2055
  } else
2057
- return Y;
2056
+ return X;
2058
2057
  });
2059
2058
  }
2060
2059
  return /* @__PURE__ */ N(
@@ -2084,14 +2083,14 @@ var rn = ["PageUp", "PageDown"], on = ["ArrowUp", "ArrowDown", "ArrowLeft", "Arr
2084
2083
  max: i,
2085
2084
  inverted: m,
2086
2085
  onSlideStart: l ? void 0 : C,
2087
- onSlideMove: l ? void 0 : X,
2086
+ onSlideMove: l ? void 0 : j,
2088
2087
  onSlideEnd: l ? void 0 : J,
2089
2088
  onHomeKeyDown: () => !l && K(r, 0, { commit: !0 }),
2090
2089
  onEndKeyDown: () => !l && K(i, R.length - 1, { commit: !0 }),
2091
2090
  onStepKeyDown: ({ event: M, direction: _ }) => {
2092
2091
  if (!l) {
2093
- const $ = rn.includes(M.key) || M.shiftKey && on.includes(M.key) ? 10 : 1, F = h.current, Y = R[F], j = o * $ * _;
2094
- K(Y + j, F, { commit: !0 });
2092
+ const $ = rn.includes(M.key) || M.shiftKey && on.includes(M.key) ? 10 : 1, F = h.current, X = R[F], Y = o * $ * _;
2093
+ K(X + Y, F, { commit: !0 });
2095
2094
  }
2096
2095
  }
2097
2096
  }
@@ -2297,7 +2296,7 @@ var nt = "SliderThumb", gn = T.forwardRef(
2297
2296
  }
2298
2297
  ), Ur = T.forwardRef(
2299
2298
  (e, t) => {
2300
- const { __scopeSlider: n, index: r, name: i, ...o } = e, s = Ge(nt, n), l = un(nt, n), [a, d] = T.useState(null), f = Pe(t, (A) => d(A)), u = a ? s.form || !!a.closest("form") : !0, c = Gn(a), m = s.values[r], p = m === void 0 ? 0 : yn(m, s.min, s.max), g = Xr(r, s.values.length), y = c == null ? void 0 : c[l.size], h = y ? Qr(y, p, l.direction) : 0;
2299
+ const { __scopeSlider: n, index: r, name: i, ...o } = e, s = Ge(nt, n), l = un(nt, n), [a, d] = T.useState(null), f = Pe(t, (A) => d(A)), u = a ? s.form || !!a.closest("form") : !0, c = Gn(a), m = s.values[r], p = m === void 0 ? 0 : yn(m, s.min, s.max), g = jr(r, s.values.length), y = c == null ? void 0 : c[l.size], h = y ? Qr(y, p, l.direction) : 0;
2301
2300
  return T.useEffect(() => {
2302
2301
  if (a)
2303
2302
  return s.thumbs.add(a), () => {
@@ -2370,7 +2369,7 @@ var Wr = "RadioBubbleInput", hn = T.forwardRef(
2370
2369
  }
2371
2370
  );
2372
2371
  hn.displayName = Wr;
2373
- function jr(e = [], t, n) {
2372
+ function Yr(e = [], t, n) {
2374
2373
  const r = [...e];
2375
2374
  return r[n] = t, r.sort((i, o) => i - o);
2376
2375
  }
@@ -2378,10 +2377,10 @@ function yn(e, t, n) {
2378
2377
  const o = 100 / (n - t) * (e - t);
2379
2378
  return At(o, [0, 100]);
2380
2379
  }
2381
- function Xr(e, t) {
2380
+ function jr(e, t) {
2382
2381
  return t > 2 ? `Value ${e + 1} of ${t}` : t === 2 ? ["Minimum", "Maximum"][e] : void 0;
2383
2382
  }
2384
- function Yr(e, t) {
2383
+ function Xr(e, t) {
2385
2384
  if (e.length === 1) return 0;
2386
2385
  const n = e.map((i) => Math.abs(i - t)), r = Math.min(...n);
2387
2386
  return n.indexOf(r);
@@ -2436,12 +2435,12 @@ function bn(e) {
2436
2435
  const t = rt(so) ?? lo;
2437
2436
  return En(t.subscribe, () => e(t.get()), () => e(null));
2438
2437
  }
2439
- function Io(e) {
2438
+ function Eo(e) {
2440
2439
  return bn(
2441
2440
  G((t) => (t == null ? void 0 : t.slot.zone) === e ? t.outcome : null, [e])
2442
2441
  );
2443
2442
  }
2444
- function Ro(e, t, n) {
2443
+ function Io(e, t, n) {
2445
2444
  return bn(
2446
2445
  G(
2447
2446
  (r) => (r == null ? void 0 : r.slot.zone) !== e || r.outcome.kind === "refused" ? null : r.slot.beforeId === t ? "top" : !r.slot.beforeId && n ? "bottom" : null,
@@ -2451,18 +2450,18 @@ function Ro(e, t, n) {
2451
2450
  }
2452
2451
  export {
2453
2452
  Vr as A,
2454
- Eo as E,
2455
- Po as F,
2453
+ Co as E,
2454
+ zo as F,
2456
2455
  tr as P,
2457
- wo as S,
2456
+ Po as S,
2458
2457
  Tr as T,
2459
2458
  Er as a,
2460
2459
  Rr as b,
2461
- Co as c,
2460
+ wo as c,
2462
2461
  Fr as d,
2463
2462
  io as e,
2464
- Io as f,
2465
- Ro as g,
2463
+ Eo as f,
2464
+ Io as g,
2466
2465
  so as h,
2467
2466
  Zt as r,
2468
2467
  Qt as u
@@ -1,4 +1,4 @@
1
- import { w as p, x as _, y as z, z as y, A as G, B as Q, E as J, F as K } from "./validators-CXTneCA4.js";
1
+ import { w as p, x as _, y as z, z as y, A as G, B as Q, E as J, F as K } from "./validators-BIM0FE31.js";
2
2
  function R(e) {
3
3
  return e.prefixLevels.length === 1 && e.prefixLevels[0] === "table" ? ["table"] : Array.from(
4
4
  /* @__PURE__ */ new Set([
@@ -597,11 +597,11 @@ function fe(e) {
597
597
  } : { kind: "unqualified" };
598
598
  }
599
599
  export {
600
- U as a,
601
- V as b,
602
- se as c,
603
- fe as d,
600
+ le as a,
601
+ U as b,
602
+ V as c,
603
+ se as d,
604
604
  R as g,
605
605
  M as i,
606
- le as r
606
+ fe as r
607
607
  };
@@ -2,9 +2,9 @@ import { jsx as y, jsxs as de, Fragment as St } from "react/jsx-runtime";
2
2
  import * as l from "react";
3
3
  import ke, { forwardRef as Vn, createElement as Pn, useLayoutEffect as Hi, useState as Qr, useRef as gn, useMemo as Vi, useId as zi, useImperativeHandle as ji } from "react";
4
4
  import "./index-CuHybtft.js";
5
- import "./validators-CXTneCA4.js";
6
- import "./matrix-operation-contract-WPv4R-H_.js";
7
- import "./analytics-base-schemas-CHLxsPfX.js";
5
+ import "./validators-BIM0FE31.js";
6
+ import "./matrix-operation-contract-DsLdFdSa.js";
7
+ import "./analytics-base-schemas-BaIQrEzX.js";
8
8
  import "zod";
9
9
  import "../value-format-preferences/index.js";
10
10
  import { a as Ki, c as te, b as me, g as Gi } from "./_commonjsHelpers-DimLPMtv.js";
@@ -2,7 +2,7 @@ var ft = Object.defineProperty;
2
2
  var ht = (e, t, r) => t in e ? ft(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
3
  var ne = (e, t, r) => ht(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import { z as S } from "zod";
5
- import { e as ct } from "./comparison-window-caption-4FNkMrzE.js";
5
+ import { e as ct } from "./comparison-window-caption-D1EUXzaR.js";
6
6
  var E = Uint8Array, I = Uint16Array, pe = Int32Array, xe = new E([
7
7
  0,
8
8
  0,