react-semaphor 0.1.525 → 0.1.527

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 (196) hide show
  1. package/DATA_APP_SDK.md +5 -1
  2. package/dist/analytics-protocol/index.js +1179 -296
  3. package/dist/brand-studio/index.js +31 -31
  4. package/dist/briefings/index.js +50 -49
  5. package/dist/chunks/{calculated-field-identity-Dy_WpDdo.js → calculated-field-identity-DEhjPSr-.js} +77 -76
  6. package/dist/chunks/{card-config-utils-CAyjC5Tp.js → card-config-utils-BlIbwkuD.js} +62 -59
  7. package/dist/chunks/{constants-DeLIHVAW.js → constants-DNWVy8Y3.js} +4 -4
  8. package/dist/chunks/dashboard-JNHR0_cZ.js +14 -0
  9. package/dist/chunks/{dashboard-briefing-launcher-BilVIEyw.js → dashboard-briefing-launcher-D9pFByPh.js} +274 -267
  10. package/dist/chunks/{dashboard-controls-DyLPcvCK.js → dashboard-controls-CJI5ZWMq.js} +740 -692
  11. package/dist/chunks/dashboard-json-DLdrFry-.js +65 -0
  12. package/dist/chunks/{edit-dashboard-visual-DtmKNNdE.js → edit-dashboard-visual-D5LjWle1.js} +6760 -6728
  13. package/dist/chunks/editor-action-buttons-G91NQKxU.js +2070 -0
  14. package/dist/chunks/{field-aggregations-BQjogiI1.js → field-aggregations-DeVQLIsP.js} +19 -19
  15. package/dist/chunks/{field-dependencies-v-lJNzC7.js → field-dependencies-CGYic38w.js} +1 -1
  16. package/dist/chunks/{index-ON7Gpvcv.js → index-BvJOYbNv.js} +760 -750
  17. package/dist/chunks/{matrix-analytical-definition-BimC4XIV.js → matrix-analytical-definition-BJyH5-99.js} +1 -1
  18. package/dist/chunks/{matrix-card-CIlz0Dnp.js → matrix-card-DY45yiUM.js} +7 -6
  19. package/dist/chunks/{matrix-control-sources-B1K7x0SL.js → matrix-control-sources-BypfLZsK.js} +36 -36
  20. package/dist/chunks/{matrix-definition-E5gXXSTZ.js → matrix-definition-Cdn3LoxW.js} +3 -3
  21. package/dist/chunks/{semantic-format-Baqp8kD_.js → matrix-formatter-BoKU3MzZ.js} +655 -511
  22. package/dist/chunks/{matrix-member-presentation-Bw7-JCrr.js → matrix-member-presentation-BBW0n1iY.js} +1 -1
  23. package/dist/chunks/matrix-operation-contract-BV02rLhu.js +809 -0
  24. package/dist/chunks/{metric-comparison-BphoJ9bq.js → metric-comparison-Crljx_XY.js} +15 -10
  25. package/dist/chunks/{numeric-presentation-VhMUHfrJ.js → numeric-presentation-LvnNY5Ma.js} +68 -68
  26. package/dist/chunks/pivot-header-presentation-D5v8uyjj.js +618 -0
  27. package/dist/chunks/{pivot-result-identity-BzUQiCEV.js → pivot-result-identity-CY__BuwI.js} +1 -1
  28. package/dist/chunks/{pivot-result-lifecycle-BFO354lk.js → pivot-result-lifecycle-BWrPhlGT.js} +259 -204
  29. package/dist/chunks/{raw-temporal-7bFbXd2a.js → raw-temporal-CdnA_OXJ.js} +10 -10
  30. package/dist/chunks/{raw-temporal-contract-BQZIJ1fn.js → raw-temporal-contract-Bc9z83t-.js} +1 -1
  31. package/dist/chunks/relative-date-DAF9J7mt.js +456 -0
  32. package/dist/chunks/report-preferences-dialog-D3hxu4sE.js +1231 -0
  33. package/dist/chunks/{report-runtime-context-CxIoGyNM.js → report-runtime-context-CtaGGlit.js} +1 -1
  34. package/dist/chunks/{selection-reducer-CvCBQbl2.js → selection-reducer-C7Um5XN-.js} +3 -3
  35. package/dist/chunks/semantic-format-BjBMOSoo.js +192 -0
  36. package/dist/chunks/{index-DYOaHuLS.js → semaphor-ready-indicator-D46I_4g7.js} +145070 -146854
  37. package/dist/chunks/slider-B6LELqx6.js +876 -0
  38. package/dist/chunks/{source-entity-resolution-Bzefiive.js → source-entity-resolution-Bde29mqE.js} +25 -25
  39. package/dist/chunks/{switch-CWPcwAZ4.js → switch-_7uBAbYx.js} +7950 -8545
  40. package/dist/chunks/{temporal-bucket-PcLFSYWX.js → temporal-bucket-DlFuhCnT.js} +6 -6
  41. package/dist/chunks/{temporal-bucket-contract-DTLDRzgV.js → temporal-bucket-contract-C6lUGPS3.js} +1 -1
  42. package/dist/chunks/temporal-input-presentation-DyMWCZYh.js +195 -0
  43. package/dist/chunks/{token-types-BC6RcUY8.js → token-types-UjyNz95-.js} +1 -1
  44. package/dist/chunks/{validators-CsdOtZI6.js → validators-CQcG0EPN.js} +852 -731
  45. package/dist/chunks/zoned-wall-clock-BkxV9jS2.js +46 -0
  46. package/dist/dashboard/index.js +1 -1
  47. package/dist/dashboard-authoring/index.js +138 -137
  48. package/dist/data-app-sdk/index.js +30 -29
  49. package/dist/data-app-sdk-adapters/index.js +23 -22
  50. package/dist/data-app-sdk-validation/index.js +27 -26
  51. package/dist/format-utils/index.js +247 -329
  52. package/dist/index.js +435 -246
  53. package/dist/report-runtime-context/index.js +2 -2
  54. package/dist/style.css +1 -1
  55. package/dist/surfboard/index.js +4 -5
  56. package/dist/types/briefings/index.d.ts +3 -0
  57. package/dist/types/components/dashboard/dashboard-container.d.ts +1 -1
  58. package/dist/types/components/dashboard/sheet/layout-change-guard.d.ts +1 -1
  59. package/dist/types/components/dashboard/sheet/sheet-layout.d.ts +1 -1
  60. package/dist/types/components/editor/editor-main/text-card.d.ts +1 -1
  61. package/dist/types/components/editor/editor.d.ts +1 -1
  62. package/dist/types/components/explorer/filters/card-date-filter.d.ts +13 -5
  63. package/dist/types/components/explorer/filters/card-date-selection.d.ts +28 -0
  64. package/dist/types/components/providers/semaphor-context-provider.d.ts +1 -1
  65. package/dist/types/components/providers/theme-provider-context.d.ts +1 -1
  66. package/dist/types/components/providers/theme-provider.d.ts +1 -1
  67. package/dist/types/components/shared/unsaved-changes/use-pristine-snapshot-initializer.d.ts +1 -1
  68. package/dist/types/components/sharing-and-management/dashboard-actions-menu.d.ts +1 -1
  69. package/dist/types/components/sharing-and-management/hooks/use-resource-management.d.ts +0 -1
  70. package/dist/types/components/surfboard/dashboard-plus.d.ts +1 -1
  71. package/dist/types/components/surfboard/download-settings-dialog.d.ts +8 -0
  72. package/dist/types/components/surfboard/filter/types.d.ts +8 -29
  73. package/dist/types/components/surfboard/filter/use-dashboard-filter-mapping-popover.d.ts +5 -1
  74. package/dist/types/components/ui-custom/date-range-picker.d.ts +18 -2
  75. package/dist/types/components/ui-custom/date-range-presets.d.ts +8 -21
  76. package/dist/types/components/ui-custom/report-calendar.d.ts +18 -0
  77. package/dist/types/components/visual/aggregated-table/utils/export-utils.d.ts +3 -5
  78. package/dist/types/components/visual/column-display-utils.d.ts +1 -1
  79. package/dist/types/components/visual/data-table/data-table-toolbar.d.ts +1 -1
  80. package/dist/types/components/visual/kpi-visual/kpi-utils.d.ts +1 -1
  81. package/dist/types/components/visual/pivot-table/utils/pivot-table-export-utils.d.ts +3 -1
  82. package/dist/types/components/visual/settings/color-format.d.ts +1 -1
  83. package/dist/types/components/visual/visual-utils.d.ts +1 -1
  84. package/dist/types/index.js +5 -5
  85. package/dist/types/lib/actions/data-point-click-action.d.ts +2 -1
  86. package/dist/types/lib/api/exports-api.d.ts +3 -0
  87. package/dist/types/lib/csv-download.d.ts +9 -0
  88. package/dist/types/lib/csv-encoding-options.d.ts +6 -0
  89. package/dist/types/lib/dashboard/normalize-dashboard-for-dirty-check.d.ts +1 -1
  90. package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-storage-transition.d.ts +2 -1
  91. package/dist/types/lib/dashboard-navigation/build-carried-click-context.d.ts +0 -1
  92. package/dist/types/lib/document/document-input-runtime.d.ts +2 -1
  93. package/dist/types/lib/export-utils.d.ts +17 -15
  94. package/dist/types/lib/hooks/explorer/use-filter-builder.d.ts +2 -2
  95. package/dist/types/lib/hooks/explorer/use-schemas.d.ts +1 -1
  96. package/dist/types/lib/hooks/use-dashboard.d.ts +2 -2
  97. package/dist/types/lib/hooks/use-relative-date-summarizer.d.ts +7 -0
  98. package/dist/types/lib/interactions/get-click-context-from-chartjs.d.ts +1 -2
  99. package/dist/types/lib/matrix-table/matrix-application-adapter.d.ts +3 -2
  100. package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +1 -1
  101. package/dist/types/lib/matrix-table/matrix-card-draft.d.ts +1 -1
  102. package/dist/types/lib/matrix-table/matrix-dataset-history.d.ts +47 -0
  103. package/dist/types/lib/matrix-table/matrix-delivery.d.ts +7 -3
  104. package/dist/types/lib/matrix-table/matrix-execution-context.d.ts +2 -0
  105. package/dist/types/lib/matrix-table/matrix-query-transport.d.ts +4 -1
  106. package/dist/types/lib/matrix-table/matrix-runtime-types.d.ts +105 -4
  107. package/dist/types/lib/matrix-table/matrix-runtime.d.ts +43 -2
  108. package/dist/types/lib/matrix-table/use-matrix.d.ts +6 -0
  109. package/dist/types/lib/query-context/build-card-query-context.d.ts +5 -1
  110. package/dist/types/lib/query-context/build-dashboard-card-query-contract.d.ts +0 -1
  111. package/dist/types/lib/query-context/build-global-date-comparison-context.d.ts +1 -2
  112. package/dist/types/lib/query-context/compile-dashboard-card-filters.d.ts +1 -2
  113. package/dist/types/lib/query-context/dashboard-card-query-key.d.ts +10 -0
  114. package/dist/types/lib/query-context/query-auth-scope.d.ts +5 -0
  115. package/dist/types/lib/stores/dashboard-store.d.ts +9 -4
  116. package/dist/types/lib/stores/editor-store.d.ts +1 -2
  117. package/dist/types/lib/stores/table-actions.d.ts +2 -1
  118. package/dist/types/lib/temporal-filter/temporal-filter-utils.d.ts +9 -2
  119. package/dist/types/lib/types/common-types.d.ts +5 -0
  120. package/dist/types/lib/types/explorer-types.d.ts +14 -0
  121. package/dist/types/lib/types/token-types.d.ts +0 -13
  122. package/dist/types/lib/utils/card-definition.d.ts +1 -1
  123. package/dist/types/lib/utils/date-timezone-utils.d.ts +4 -46
  124. package/dist/types/lib/utils/filter-default-value-utils.d.ts +8 -2
  125. package/dist/types/lib/utils/inline-filter-utils.d.ts +3 -2
  126. package/dist/types/lib/utils/relative-date-description.d.ts +38 -0
  127. package/dist/types/lib/utils.d.ts +0 -2
  128. package/dist/types/shared/analytics-protocol/contracts.d.ts +10 -7
  129. package/dist/types/shared/analytics-protocol/index.d.ts +12 -1
  130. package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +20 -20
  131. package/dist/types/shared/analytics-protocol/matrix-operation-contract.d.ts +10 -10
  132. package/dist/types/shared/analytics-protocol/matrix-operation-request.d.ts +8 -8
  133. package/dist/types/shared/analytics-protocol/matrix-window-contract.d.ts +51 -5
  134. package/dist/types/shared/analytics-protocol/metric-comparison.d.ts +9 -3
  135. package/dist/types/shared/analytics-protocol/operation-temporal-state.d.ts +64 -0
  136. package/dist/types/shared/analytics-protocol/relative-date-filter.d.ts +61 -0
  137. package/dist/types/shared/analytics-protocol/relative-date-label.d.ts +20 -0
  138. package/dist/types/shared/analytics-protocol/runtime-schemas.d.ts +0 -2
  139. package/dist/types/shared/analytics-protocol/time-window-schema.d.ts +314 -0
  140. package/dist/types/shared/analytics-protocol/time-window.d.ts +13 -0
  141. package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +8 -4
  142. package/dist/types/shared/format-utils/exporters/csv-utils.d.ts +46 -15
  143. package/dist/types/shared/format-utils/exporters/index.d.ts +2 -3
  144. package/dist/types/shared/format-utils/flat-table-export-totals.d.ts +2 -1
  145. package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +2 -2
  146. package/dist/types/shared/format-utils/types/format-types.d.ts +0 -42
  147. package/dist/types/shared/temporal/calendar-periods.d.ts +56 -0
  148. package/dist/types/shared/temporal/index.d.ts +5 -0
  149. package/dist/types/shared/temporal/relative-date.d.ts +21 -0
  150. package/dist/types/shared/temporal/temporal-parity-fixtures.d.ts +73 -0
  151. package/dist/types/shared/temporal/time-window-periods.d.ts +21 -0
  152. package/dist/types/shared/temporal/zoned-wall-clock.d.ts +23 -0
  153. package/package.json +2 -17
  154. package/src/data-app-sdk/README.md +6 -3
  155. package/dist/chunks/dashboard-date-comparison-definition-BqNhECUr.js +0 -183
  156. package/dist/chunks/dashboard-json-QEoU-mx4.js +0 -75
  157. package/dist/chunks/editor-action-buttons-B9VRW3Bh.js +0 -2019
  158. package/dist/chunks/matrix-formatter-WBgtebUT.js +0 -341
  159. package/dist/chunks/matrix-operation-contract-D32U2CSw.js +0 -1802
  160. package/dist/chunks/mouse-pointer-2-BZvGk45-.js +0 -19
  161. package/dist/chunks/pivot-header-presentation-CGtudHo7.js +0 -661
  162. package/dist/chunks/report-preferences-dialog-BLaFmlE2.js +0 -723
  163. package/dist/chunks/temporal-input-presentation-2RJrvmYL.js +0 -222
  164. package/dist/chunks/update-policy-DhAUtiC8.js +0 -913
  165. package/dist/data-app-builder/index.js +0 -3666
  166. package/dist/data-app-builder-browser-runtime/index.js +0 -8
  167. package/dist/data-app-codegen/index.js +0 -22
  168. package/dist/data-app-codegen-node/index.js +0 -1807
  169. package/dist/types/components/data-app-runtime/published-data-app-runtime.d.ts +0 -7
  170. package/dist/types/components/surfboard/json-to-csv.d.ts +0 -7
  171. package/dist/types/components/visual/data-table/utils/export-utils.d.ts +0 -31
  172. package/dist/types/data-app-builder/browser-runtime.d.ts +0 -174
  173. package/dist/types/data-app-builder/constants.d.ts +0 -14
  174. package/dist/types/data-app-builder/data-app-builder.d.ts +0 -14
  175. package/dist/types/data-app-builder/index.d.ts +0 -1
  176. package/dist/types/data-app-builder/lib/api.d.ts +0 -36
  177. package/dist/types/data-app-builder/lib/context-select.d.ts +0 -3
  178. package/dist/types/data-app-builder/lib/diagnostics.d.ts +0 -12
  179. package/dist/types/data-app-builder/lib/file-tree.d.ts +0 -2
  180. package/dist/types/data-app-builder/types.d.ts +0 -558
  181. package/dist/types/data-app-builder-browser-runtime.d.ts +0 -2
  182. package/dist/types/data-app-builder.d.ts +0 -2
  183. package/dist/types/data-app-codegen/generate-contract.d.ts +0 -26
  184. package/dist/types/data-app-codegen/generated-contract-files.d.ts +0 -7
  185. package/dist/types/data-app-codegen/generated-contract-validation.d.ts +0 -13
  186. package/dist/types/data-app-codegen/index.d.ts +0 -6
  187. package/dist/types/data-app-codegen/live-execution.d.ts +0 -42
  188. package/dist/types/data-app-codegen/node.d.ts +0 -2
  189. package/dist/types/data-app-codegen/update-policy.d.ts +0 -25
  190. package/dist/types/data-app-codegen/validation.d.ts +0 -8
  191. package/dist/types/data-app-codegen-node.d.ts +0 -2
  192. package/dist/types/data-app-codegen.d.ts +0 -2
  193. package/dist/types/lib/encrypt-utils.d.ts +0 -9
  194. package/dist/types/shared/analytics-protocol/data-app-codegen-summary.d.ts +0 -418
  195. package/dist/types/shared/format-utils/exporters/pivot-exporter.d.ts +0 -13
  196. package/dist/types/shared/format-utils/exporters/table-exporter.d.ts +0 -10
@@ -1,13 +1,13 @@
1
1
  import { jsxs as d, jsx as r, Fragment as le } from "react/jsx-runtime";
2
2
  import m from "react";
3
- import { c as K, P as ge, a as be, B as C, b as fe, U as De, C as Ie, R as me, L as se, S as ue, d as je, T as Je, F as Le, G as U, H as $e, I as M, J as _e, K as Ve, M as Ue, N as Me, O as E, Q, V as ee, W as re, X as he, Y as oe, Z as ae, _ as ke, $ as xe, a0 as ye, a1 as ve, a2 as Ce, a3 as Ge } from "../chunks/switch-CWPcwAZ4.js";
3
+ import { c as K, P as ge, a as be, B as C, b as fe, U as De, C as je, R as me, L as se, S as ue, d as Ie, T as Je, e as Le, f as V, g as $e, h as M, i as _e, j as Ue, k as Ve, l as Me, m as E, n as Q, o as ee, p as re, I as he, q as oe, r as ae, s as ke, t as xe, v as ye, w as ve, x as Ce, y as Ge } from "../chunks/switch-_7uBAbYx.js";
4
4
  import { A as We, p as He } from "../chunks/color-CJvdlFM_.js";
5
5
  import { c as ne, X as Xe } from "../chunks/x-CXDkqdur.js";
6
- import "../chunks/card-config-utils-CAyjC5Tp.js";
7
- import "../chunks/validators-CsdOtZI6.js";
8
- import "../chunks/matrix-operation-contract-D32U2CSw.js";
6
+ import "../chunks/validators-CQcG0EPN.js";
7
+ import "../chunks/matrix-operation-contract-BV02rLhu.js";
8
+ import "zod";
9
9
  import "../value-format-preferences/index.js";
10
- import { r as Ye, v as Ze, A as qe } from "../chunks/index-CLIro-EG.js";
10
+ import { r as Ye, v as qe, A as Ze } from "../chunks/index-CLIro-EG.js";
11
11
  import { P as G } from "../chunks/palette-Cp1hqZtm.js";
12
12
  import { B as Ke } from "../chunks/braces-8TRlDwDw.js";
13
13
  import { S as Qe } from "../chunks/save-DgMfP0j8.js";
@@ -231,10 +231,10 @@ function nr(e) {
231
231
  }
232
232
  function L(e) {
233
233
  const n = O({
234
- version: qe,
234
+ version: Ze,
235
235
  mode: e.mode,
236
236
  schemes: e.schemes
237
- }), t = Ze(n);
237
+ }), t = qe(n);
238
238
  if (!t.success) {
239
239
  const c = t.issues[0];
240
240
  throw new Error(
@@ -485,9 +485,9 @@ function Br({
485
485
  }) {
486
486
  const [f, b] = m.useState(null), [T, F] = m.useState("light"), [$, z] = m.useState(!1), [we, R] = m.useState(
487
487
  "idle"
488
- ), [te, Se] = m.useState(!1), [D, _] = m.useState(""), [I, h] = m.useState(null), de = m.useRef(null), j = m.useRef(i), A = m.useRef(!1);
488
+ ), [te, Se] = m.useState(!1), [D, _] = m.useState(""), [j, h] = m.useState(null), de = m.useRef(null), I = m.useRef(i), A = m.useRef(!1);
489
489
  m.useEffect(() => {
490
- j.current = i;
490
+ I.current = i;
491
491
  }, [i]), m.useEffect(() => {
492
492
  if (e === void 0) {
493
493
  A.current = !0, b(null);
@@ -504,7 +504,7 @@ function Br({
504
504
  }
505
505
  try {
506
506
  const a = L(f);
507
- (o = j.current) == null || o.call(j, a), h(null);
507
+ (o = I.current) == null || o.call(I, a), h(null);
508
508
  } catch (a) {
509
509
  h(
510
510
  a instanceof Error ? a.message : "Appearance is invalid"
@@ -512,7 +512,7 @@ function Br({
512
512
  }
513
513
  }
514
514
  }, [f]);
515
- const u = f == null ? void 0 : f.schemes[T], V = c || $, Te = m.useMemo(
515
+ const u = f == null ? void 0 : f.schemes[T], U = c || $, Te = m.useMemo(
516
516
  () => u ? pr(u.tokens.radius.control) : void 0,
517
517
  [u]
518
518
  ), Fe = (o) => {
@@ -674,7 +674,7 @@ function Br({
674
674
  ] })
675
675
  ] }),
676
676
  /* @__PURE__ */ r("div", { className: "h-[320px] overflow-hidden rounded-control border border-input", children: /* @__PURE__ */ r(
677
- Ie,
677
+ je,
678
678
  {
679
679
  ariaLabel: "Brand spec",
680
680
  value: D,
@@ -725,7 +725,7 @@ function Br({
725
725
  size: "xs",
726
726
  variant: "ghost",
727
727
  onClick: Oe,
728
- disabled: V,
728
+ disabled: U,
729
729
  children: [
730
730
  /* @__PURE__ */ r(rr, { className: "h-3.5 w-3.5" }),
731
731
  "No config"
@@ -738,9 +738,9 @@ function Br({
738
738
  type: "button",
739
739
  size: "xs",
740
740
  onClick: Pe,
741
- disabled: !f || V || !!I || !v,
741
+ disabled: !f || U || !!j || !v,
742
742
  children: [
743
- V ? /* @__PURE__ */ r(se, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ r(Qe, { className: "h-3.5 w-3.5" }),
743
+ U ? /* @__PURE__ */ r(se, { className: "h-3.5 w-3.5 animate-spin" }) : /* @__PURE__ */ r(Qe, { className: "h-3.5 w-3.5" }),
744
744
  "Save"
745
745
  ]
746
746
  }
@@ -757,11 +757,11 @@ function Br({
757
757
  )
758
758
  ] }),
759
759
  /* @__PURE__ */ d("div", { className: "flex shrink-0 items-center justify-between border-b border-border/60 px-4 py-2", children: [
760
- /* @__PURE__ */ r("div", { className: "flex items-center gap-2 text-[12px] text-muted-foreground", children: I ? /* @__PURE__ */ d(le, { children: [
760
+ /* @__PURE__ */ r("div", { className: "flex items-center gap-2 text-[12px] text-muted-foreground", children: j ? /* @__PURE__ */ d(le, { children: [
761
761
  /* @__PURE__ */ r(ue, { className: "h-3.5 w-3.5 text-destructive" }),
762
762
  "Preview keeps the last valid draft"
763
763
  ] }) : /* @__PURE__ */ d(le, { children: [
764
- /* @__PURE__ */ r(je, { className: "h-3.5 w-3.5 text-emerald-500" }),
764
+ /* @__PURE__ */ r(Ie, { className: "h-3.5 w-3.5 text-emerald-500" }),
765
765
  "Draft is applied to the live dashboard preview"
766
766
  ] }) }),
767
767
  /* @__PURE__ */ r("div", { className: "inline-flex h-7 items-center overflow-hidden rounded-control border border-border/70", children: ["light", "dark"].map((o) => /* @__PURE__ */ r(
@@ -778,12 +778,12 @@ function Br({
778
778
  o
779
779
  )) })
780
780
  ] }),
781
- I && /* @__PURE__ */ r("div", { className: "border-b border-destructive/20 bg-destructive/5 px-4 py-2 text-[12px] text-destructive", children: I }),
781
+ j && /* @__PURE__ */ r("div", { className: "border-b border-destructive/20 bg-destructive/5 px-4 py-2 text-[12px] text-destructive", children: j }),
782
782
  t ? /* @__PURE__ */ r("div", { className: "flex flex-1 items-center justify-center", children: /* @__PURE__ */ r(se, { className: "h-4 w-4 animate-spin text-muted-foreground" }) }) : l ? /* @__PURE__ */ r("div", { className: "p-4 text-[13px] text-muted-foreground", children: l }) : f && u ? /* @__PURE__ */ d(Je, { defaultValue: "style", className: "flex min-h-0 flex-1 flex-col", children: [
783
783
  /* @__PURE__ */ r("div", { className: "shrink-0 px-4 pt-3", children: /* @__PURE__ */ d(Le, { variant: "underline", className: "w-full gap-5", children: [
784
- /* @__PURE__ */ r(U, { value: "style", children: "Style" }),
785
- /* @__PURE__ */ r(U, { value: "surfaces", children: "Surfaces" }),
786
- /* @__PURE__ */ r(U, { value: "data", children: "Data" })
784
+ /* @__PURE__ */ r(V, { value: "style", children: "Style" }),
785
+ /* @__PURE__ */ r(V, { value: "surfaces", children: "Surfaces" }),
786
+ /* @__PURE__ */ r(V, { value: "data", children: "Data" })
787
787
  ] }) }),
788
788
  /* @__PURE__ */ d($e, { className: "min-h-0 flex-1", children: [
789
789
  /* @__PURE__ */ d(M, { value: "style", className: "m-0 p-4", children: [
@@ -878,7 +878,7 @@ function Br({
878
878
  }
879
879
  ),
880
880
  /* @__PURE__ */ r(
881
- Z,
881
+ q,
882
882
  {
883
883
  label: "Density",
884
884
  value: u.tokens.typography.density,
@@ -1049,7 +1049,7 @@ function Br({
1049
1049
  /* @__PURE__ */ d(
1050
1050
  N,
1051
1051
  {
1052
- icon: Ve,
1052
+ icon: Ue,
1053
1053
  title: "Charts",
1054
1054
  description: "Palette and semantic chart text/grid colors.",
1055
1055
  children: [
@@ -1092,13 +1092,13 @@ function Br({
1092
1092
  /* @__PURE__ */ d(
1093
1093
  N,
1094
1094
  {
1095
- icon: Ue,
1095
+ icon: Ve,
1096
1096
  title: "Tables",
1097
1097
  description: "Flat, aggregate, and pivot tables share this V1 table appearance.",
1098
1098
  children: [
1099
1099
  /* @__PURE__ */ d("div", { className: "grid grid-cols-2 gap-2", children: [
1100
1100
  /* @__PURE__ */ r(
1101
- Z,
1101
+ q,
1102
1102
  {
1103
1103
  label: "Density",
1104
1104
  value: u.components.table.density,
@@ -1113,7 +1113,7 @@ function Br({
1113
1113
  }
1114
1114
  ),
1115
1115
  /* @__PURE__ */ r(
1116
- Z,
1116
+ q,
1117
1117
  {
1118
1118
  label: "Cell wrap",
1119
1119
  value: u.components.table.cell.wrap,
@@ -1160,7 +1160,7 @@ function Br({
1160
1160
  )
1161
1161
  ] }),
1162
1162
  /* @__PURE__ */ r(
1163
- q,
1163
+ Z,
1164
1164
  {
1165
1165
  label: "Zebra rows",
1166
1166
  checked: u.components.table.row.zebra,
@@ -1170,7 +1170,7 @@ function Br({
1170
1170
  }
1171
1171
  ),
1172
1172
  /* @__PURE__ */ r(
1173
- q,
1173
+ Z,
1174
1174
  {
1175
1175
  label: "Sticky headers",
1176
1176
  checked: u.components.table.header.sticky,
@@ -1180,7 +1180,7 @@ function Br({
1180
1180
  }
1181
1181
  ),
1182
1182
  /* @__PURE__ */ r(
1183
- q,
1183
+ Z,
1184
1184
  {
1185
1185
  label: "Uppercase headers",
1186
1186
  checked: u.components.table.header.uppercase,
@@ -1435,7 +1435,7 @@ function w({
1435
1435
  )
1436
1436
  ] });
1437
1437
  }
1438
- function Z({
1438
+ function q({
1439
1439
  label: e,
1440
1440
  value: n,
1441
1441
  options: t,
@@ -1449,7 +1449,7 @@ function Z({
1449
1449
  ] })
1450
1450
  ] });
1451
1451
  }
1452
- function q({
1452
+ function Z({
1453
1453
  label: e,
1454
1454
  checked: n,
1455
1455
  onCheckedChange: t
@@ -1,53 +1,54 @@
1
- import "../chunks/numeric-presentation-VhMUHfrJ.js";
2
- import "../chunks/validators-CsdOtZI6.js";
1
+ import "../chunks/numeric-presentation-LvnNY5Ma.js";
2
+ import "../chunks/validators-CQcG0EPN.js";
3
+ import "../chunks/pivot-result-lifecycle-BWrPhlGT.js";
3
4
  import "../chunks/matrix-continuation-C4sRcjZU.js";
4
- import "../chunks/matrix-operation-contract-D32U2CSw.js";
5
+ import "../chunks/matrix-operation-contract-BV02rLhu.js";
6
+ import "zod";
5
7
  import "../value-format-preferences/index.js";
6
- import "../chunks/pivot-result-lifecycle-BFO354lk.js";
7
- import { ag as f, ak as g, af as l, aj as B, ao as m, ah as u, a6 as d, ai as c, a3 as p, a1 as C, a2 as D, as as E, a0 as I, au as h, B as T, E as F, av as S, a8 as b, a5 as A, D as y, d as _, an as R, am as N, Z as M, C as v, a as x, aD as G, g as L, aC as z, ay as O, az as U, al as V, a7 as q, _ as J, aA as H, aB as P, a4 as X, ap as j, at as k, ar as w, $ as K, aq as Q, aw as Z, ax as $ } from "../chunks/index-ON7Gpvcv.js";
8
+ import { ag as g, ak as l, af as B, aj as m, ao as u, ah as d, a7 as c, ai as p, a4 as C, a2 as D, a3 as E, as as I, a1 as h, au as T, B as F, E as S, av as b, a9 as A, a6 as y, D as _, e as R, an as N, am as M, _ as v, C as x, h as G, aD as L, d as z, aC as O, ay as U, az as V, al as q, a8 as J, $ as H, aA as P, aB as X, a5 as j, ap as k, at as w, ar as K, a0 as Q, aq as $, aw as W, ax as Y } from "../chunks/index-BvJOYbNv.js";
8
9
  export {
9
- f as BRIEFING_ARTIFACT_FORMATS,
10
- g as BRIEFING_CONTENT_LIMITS,
11
- l as BRIEFING_KIND,
12
- B as BRIEFING_TEXT_LIMITS,
13
- m as BriefingContractError,
14
- u as DEFAULT_BRIEFING_ARTIFACT_FORMATS,
15
- d as DEFAULT_BRIEFING_SCHEDULE,
16
- c as MAX_BRIEFING_ATTACHMENTS,
17
- p as briefingScheduleDayOccurs,
18
- C as briefingScheduleMonths,
19
- D as briefingScheduleShortMonths,
20
- E as buildBriefingJobConfig,
21
- I as buildBriefingScheduleExpr,
22
- h as buildCreateBriefingRequest,
23
- T as buildDashboardTemporalSnapshotEntries,
24
- F as buildMatrixDeliveryEnvelope,
25
- S as buildUpdateBriefingRequest,
26
- b as canCreateBriefingForUser,
27
- A as canonicalBriefingMonthDays,
28
- y as captureMatrixExport,
29
- _ as describeBriefingSchedule,
30
- R as formatBriefingComparisonValues,
31
- N as formatBriefingDisplayValue,
32
- M as getBriefingCardAttachmentCapability,
33
- v as getBriefingCardAttachmentFormats,
34
- x as getBriefingCreationIntents,
35
- G as getBriefingDisplayTypeLabel,
36
- L as getBriefingPresentation,
37
- z as getDefaultBriefingCardAttachmentFormat,
38
- O as isBriefingArtifactFormat,
39
- U as isBriefingDeliveryChannel,
40
- V as isBriefingNumericValue,
41
- q as isEmailOnlyBriefingDelivery,
42
- J as isValidBriefingTimezone,
43
- H as matrixDeliveryPayloadSchema,
44
- P as matrixDeliveryQuerySchema,
45
- X as nextBriefingScheduleDates,
46
- j as normalizeBriefingContentDocument,
47
- k as normalizeBriefingDraft,
48
- w as normalizeBriefingJobConfig,
49
- K as parseBriefingScheduleExpr,
50
- Q as validateBriefingContentDocument,
51
- Z as validateBriefingDraft,
52
- $ as validateBriefingJobConfig
10
+ g as BRIEFING_ARTIFACT_FORMATS,
11
+ l as BRIEFING_CONTENT_LIMITS,
12
+ B as BRIEFING_KIND,
13
+ m as BRIEFING_TEXT_LIMITS,
14
+ u as BriefingContractError,
15
+ d as DEFAULT_BRIEFING_ARTIFACT_FORMATS,
16
+ c as DEFAULT_BRIEFING_SCHEDULE,
17
+ p as MAX_BRIEFING_ATTACHMENTS,
18
+ C as briefingScheduleDayOccurs,
19
+ D as briefingScheduleMonths,
20
+ E as briefingScheduleShortMonths,
21
+ I as buildBriefingJobConfig,
22
+ h as buildBriefingScheduleExpr,
23
+ T as buildCreateBriefingRequest,
24
+ F as buildDashboardTemporalSnapshotEntries,
25
+ S as buildMatrixDeliveryEnvelope,
26
+ b as buildUpdateBriefingRequest,
27
+ A as canCreateBriefingForUser,
28
+ y as canonicalBriefingMonthDays,
29
+ _ as captureMatrixExport,
30
+ R as describeBriefingSchedule,
31
+ N as formatBriefingComparisonValues,
32
+ M as formatBriefingDisplayValue,
33
+ v as getBriefingCardAttachmentCapability,
34
+ x as getBriefingCardAttachmentFormats,
35
+ G as getBriefingCreationIntents,
36
+ L as getBriefingDisplayTypeLabel,
37
+ z as getBriefingPresentation,
38
+ O as getDefaultBriefingCardAttachmentFormat,
39
+ U as isBriefingArtifactFormat,
40
+ V as isBriefingDeliveryChannel,
41
+ q as isBriefingNumericValue,
42
+ J as isEmailOnlyBriefingDelivery,
43
+ H as isValidBriefingTimezone,
44
+ P as matrixDeliveryPayloadSchema,
45
+ X as matrixDeliveryQuerySchema,
46
+ j as nextBriefingScheduleDates,
47
+ k as normalizeBriefingContentDocument,
48
+ w as normalizeBriefingDraft,
49
+ K as normalizeBriefingJobConfig,
50
+ Q as parseBriefingScheduleExpr,
51
+ $ as validateBriefingContentDocument,
52
+ W as validateBriefingDraft,
53
+ Y as validateBriefingJobConfig
53
54
  };