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.
- package/DATA_APP_SDK.md +5 -1
- package/dist/analytics-protocol/index.js +1179 -296
- package/dist/brand-studio/index.js +31 -31
- package/dist/briefings/index.js +50 -49
- package/dist/chunks/{calculated-field-identity-Dy_WpDdo.js → calculated-field-identity-DEhjPSr-.js} +77 -76
- package/dist/chunks/{card-config-utils-CAyjC5Tp.js → card-config-utils-BlIbwkuD.js} +62 -59
- package/dist/chunks/{constants-DeLIHVAW.js → constants-DNWVy8Y3.js} +4 -4
- package/dist/chunks/dashboard-JNHR0_cZ.js +14 -0
- package/dist/chunks/{dashboard-briefing-launcher-BilVIEyw.js → dashboard-briefing-launcher-D9pFByPh.js} +274 -267
- package/dist/chunks/{dashboard-controls-DyLPcvCK.js → dashboard-controls-CJI5ZWMq.js} +740 -692
- package/dist/chunks/dashboard-json-DLdrFry-.js +65 -0
- package/dist/chunks/{edit-dashboard-visual-DtmKNNdE.js → edit-dashboard-visual-D5LjWle1.js} +6760 -6728
- package/dist/chunks/editor-action-buttons-G91NQKxU.js +2070 -0
- package/dist/chunks/{field-aggregations-BQjogiI1.js → field-aggregations-DeVQLIsP.js} +19 -19
- package/dist/chunks/{field-dependencies-v-lJNzC7.js → field-dependencies-CGYic38w.js} +1 -1
- package/dist/chunks/{index-ON7Gpvcv.js → index-BvJOYbNv.js} +760 -750
- package/dist/chunks/{matrix-analytical-definition-BimC4XIV.js → matrix-analytical-definition-BJyH5-99.js} +1 -1
- package/dist/chunks/{matrix-card-CIlz0Dnp.js → matrix-card-DY45yiUM.js} +7 -6
- package/dist/chunks/{matrix-control-sources-B1K7x0SL.js → matrix-control-sources-BypfLZsK.js} +36 -36
- package/dist/chunks/{matrix-definition-E5gXXSTZ.js → matrix-definition-Cdn3LoxW.js} +3 -3
- package/dist/chunks/{semantic-format-Baqp8kD_.js → matrix-formatter-BoKU3MzZ.js} +655 -511
- package/dist/chunks/{matrix-member-presentation-Bw7-JCrr.js → matrix-member-presentation-BBW0n1iY.js} +1 -1
- package/dist/chunks/matrix-operation-contract-BV02rLhu.js +809 -0
- package/dist/chunks/{metric-comparison-BphoJ9bq.js → metric-comparison-Crljx_XY.js} +15 -10
- package/dist/chunks/{numeric-presentation-VhMUHfrJ.js → numeric-presentation-LvnNY5Ma.js} +68 -68
- package/dist/chunks/pivot-header-presentation-D5v8uyjj.js +618 -0
- package/dist/chunks/{pivot-result-identity-BzUQiCEV.js → pivot-result-identity-CY__BuwI.js} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-BFO354lk.js → pivot-result-lifecycle-BWrPhlGT.js} +259 -204
- package/dist/chunks/{raw-temporal-7bFbXd2a.js → raw-temporal-CdnA_OXJ.js} +10 -10
- package/dist/chunks/{raw-temporal-contract-BQZIJ1fn.js → raw-temporal-contract-Bc9z83t-.js} +1 -1
- package/dist/chunks/relative-date-DAF9J7mt.js +456 -0
- package/dist/chunks/report-preferences-dialog-D3hxu4sE.js +1231 -0
- package/dist/chunks/{report-runtime-context-CxIoGyNM.js → report-runtime-context-CtaGGlit.js} +1 -1
- package/dist/chunks/{selection-reducer-CvCBQbl2.js → selection-reducer-C7Um5XN-.js} +3 -3
- package/dist/chunks/semantic-format-BjBMOSoo.js +192 -0
- package/dist/chunks/{index-DYOaHuLS.js → semaphor-ready-indicator-D46I_4g7.js} +145070 -146854
- package/dist/chunks/slider-B6LELqx6.js +876 -0
- package/dist/chunks/{source-entity-resolution-Bzefiive.js → source-entity-resolution-Bde29mqE.js} +25 -25
- package/dist/chunks/{switch-CWPcwAZ4.js → switch-_7uBAbYx.js} +7950 -8545
- package/dist/chunks/{temporal-bucket-PcLFSYWX.js → temporal-bucket-DlFuhCnT.js} +6 -6
- package/dist/chunks/{temporal-bucket-contract-DTLDRzgV.js → temporal-bucket-contract-C6lUGPS3.js} +1 -1
- package/dist/chunks/temporal-input-presentation-DyMWCZYh.js +195 -0
- package/dist/chunks/{token-types-BC6RcUY8.js → token-types-UjyNz95-.js} +1 -1
- package/dist/chunks/{validators-CsdOtZI6.js → validators-CQcG0EPN.js} +852 -731
- package/dist/chunks/zoned-wall-clock-BkxV9jS2.js +46 -0
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.js +138 -137
- package/dist/data-app-sdk/index.js +30 -29
- package/dist/data-app-sdk-adapters/index.js +23 -22
- package/dist/data-app-sdk-validation/index.js +27 -26
- package/dist/format-utils/index.js +247 -329
- package/dist/index.js +435 -246
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +4 -5
- package/dist/types/briefings/index.d.ts +3 -0
- package/dist/types/components/dashboard/dashboard-container.d.ts +1 -1
- package/dist/types/components/dashboard/sheet/layout-change-guard.d.ts +1 -1
- package/dist/types/components/dashboard/sheet/sheet-layout.d.ts +1 -1
- package/dist/types/components/editor/editor-main/text-card.d.ts +1 -1
- package/dist/types/components/editor/editor.d.ts +1 -1
- package/dist/types/components/explorer/filters/card-date-filter.d.ts +13 -5
- package/dist/types/components/explorer/filters/card-date-selection.d.ts +28 -0
- package/dist/types/components/providers/semaphor-context-provider.d.ts +1 -1
- package/dist/types/components/providers/theme-provider-context.d.ts +1 -1
- package/dist/types/components/providers/theme-provider.d.ts +1 -1
- package/dist/types/components/shared/unsaved-changes/use-pristine-snapshot-initializer.d.ts +1 -1
- package/dist/types/components/sharing-and-management/dashboard-actions-menu.d.ts +1 -1
- package/dist/types/components/sharing-and-management/hooks/use-resource-management.d.ts +0 -1
- package/dist/types/components/surfboard/dashboard-plus.d.ts +1 -1
- package/dist/types/components/surfboard/download-settings-dialog.d.ts +8 -0
- package/dist/types/components/surfboard/filter/types.d.ts +8 -29
- package/dist/types/components/surfboard/filter/use-dashboard-filter-mapping-popover.d.ts +5 -1
- package/dist/types/components/ui-custom/date-range-picker.d.ts +18 -2
- package/dist/types/components/ui-custom/date-range-presets.d.ts +8 -21
- package/dist/types/components/ui-custom/report-calendar.d.ts +18 -0
- package/dist/types/components/visual/aggregated-table/utils/export-utils.d.ts +3 -5
- package/dist/types/components/visual/column-display-utils.d.ts +1 -1
- package/dist/types/components/visual/data-table/data-table-toolbar.d.ts +1 -1
- package/dist/types/components/visual/kpi-visual/kpi-utils.d.ts +1 -1
- package/dist/types/components/visual/pivot-table/utils/pivot-table-export-utils.d.ts +3 -1
- package/dist/types/components/visual/settings/color-format.d.ts +1 -1
- package/dist/types/components/visual/visual-utils.d.ts +1 -1
- package/dist/types/index.js +5 -5
- package/dist/types/lib/actions/data-point-click-action.d.ts +2 -1
- package/dist/types/lib/api/exports-api.d.ts +3 -0
- package/dist/types/lib/csv-download.d.ts +9 -0
- package/dist/types/lib/csv-encoding-options.d.ts +6 -0
- package/dist/types/lib/dashboard/normalize-dashboard-for-dirty-check.d.ts +1 -1
- package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-storage-transition.d.ts +2 -1
- package/dist/types/lib/dashboard-navigation/build-carried-click-context.d.ts +0 -1
- package/dist/types/lib/document/document-input-runtime.d.ts +2 -1
- package/dist/types/lib/export-utils.d.ts +17 -15
- package/dist/types/lib/hooks/explorer/use-filter-builder.d.ts +2 -2
- package/dist/types/lib/hooks/explorer/use-schemas.d.ts +1 -1
- package/dist/types/lib/hooks/use-dashboard.d.ts +2 -2
- package/dist/types/lib/hooks/use-relative-date-summarizer.d.ts +7 -0
- package/dist/types/lib/interactions/get-click-context-from-chartjs.d.ts +1 -2
- package/dist/types/lib/matrix-table/matrix-application-adapter.d.ts +3 -2
- package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +1 -1
- package/dist/types/lib/matrix-table/matrix-card-draft.d.ts +1 -1
- package/dist/types/lib/matrix-table/matrix-dataset-history.d.ts +47 -0
- package/dist/types/lib/matrix-table/matrix-delivery.d.ts +7 -3
- package/dist/types/lib/matrix-table/matrix-execution-context.d.ts +2 -0
- package/dist/types/lib/matrix-table/matrix-query-transport.d.ts +4 -1
- package/dist/types/lib/matrix-table/matrix-runtime-types.d.ts +105 -4
- package/dist/types/lib/matrix-table/matrix-runtime.d.ts +43 -2
- package/dist/types/lib/matrix-table/use-matrix.d.ts +6 -0
- package/dist/types/lib/query-context/build-card-query-context.d.ts +5 -1
- package/dist/types/lib/query-context/build-dashboard-card-query-contract.d.ts +0 -1
- package/dist/types/lib/query-context/build-global-date-comparison-context.d.ts +1 -2
- package/dist/types/lib/query-context/compile-dashboard-card-filters.d.ts +1 -2
- package/dist/types/lib/query-context/dashboard-card-query-key.d.ts +10 -0
- package/dist/types/lib/query-context/query-auth-scope.d.ts +5 -0
- package/dist/types/lib/stores/dashboard-store.d.ts +9 -4
- package/dist/types/lib/stores/editor-store.d.ts +1 -2
- package/dist/types/lib/stores/table-actions.d.ts +2 -1
- package/dist/types/lib/temporal-filter/temporal-filter-utils.d.ts +9 -2
- package/dist/types/lib/types/common-types.d.ts +5 -0
- package/dist/types/lib/types/explorer-types.d.ts +14 -0
- package/dist/types/lib/types/token-types.d.ts +0 -13
- package/dist/types/lib/utils/card-definition.d.ts +1 -1
- package/dist/types/lib/utils/date-timezone-utils.d.ts +4 -46
- package/dist/types/lib/utils/filter-default-value-utils.d.ts +8 -2
- package/dist/types/lib/utils/inline-filter-utils.d.ts +3 -2
- package/dist/types/lib/utils/relative-date-description.d.ts +38 -0
- package/dist/types/lib/utils.d.ts +0 -2
- package/dist/types/shared/analytics-protocol/contracts.d.ts +10 -7
- package/dist/types/shared/analytics-protocol/index.d.ts +12 -1
- package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +20 -20
- package/dist/types/shared/analytics-protocol/matrix-operation-contract.d.ts +10 -10
- package/dist/types/shared/analytics-protocol/matrix-operation-request.d.ts +8 -8
- package/dist/types/shared/analytics-protocol/matrix-window-contract.d.ts +51 -5
- package/dist/types/shared/analytics-protocol/metric-comparison.d.ts +9 -3
- package/dist/types/shared/analytics-protocol/operation-temporal-state.d.ts +64 -0
- package/dist/types/shared/analytics-protocol/relative-date-filter.d.ts +61 -0
- package/dist/types/shared/analytics-protocol/relative-date-label.d.ts +20 -0
- package/dist/types/shared/analytics-protocol/runtime-schemas.d.ts +0 -2
- package/dist/types/shared/analytics-protocol/time-window-schema.d.ts +314 -0
- package/dist/types/shared/analytics-protocol/time-window.d.ts +13 -0
- package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +8 -4
- package/dist/types/shared/format-utils/exporters/csv-utils.d.ts +46 -15
- package/dist/types/shared/format-utils/exporters/index.d.ts +2 -3
- package/dist/types/shared/format-utils/flat-table-export-totals.d.ts +2 -1
- package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +2 -2
- package/dist/types/shared/format-utils/types/format-types.d.ts +0 -42
- package/dist/types/shared/temporal/calendar-periods.d.ts +56 -0
- package/dist/types/shared/temporal/index.d.ts +5 -0
- package/dist/types/shared/temporal/relative-date.d.ts +21 -0
- package/dist/types/shared/temporal/temporal-parity-fixtures.d.ts +73 -0
- package/dist/types/shared/temporal/time-window-periods.d.ts +21 -0
- package/dist/types/shared/temporal/zoned-wall-clock.d.ts +23 -0
- package/package.json +2 -17
- package/src/data-app-sdk/README.md +6 -3
- package/dist/chunks/dashboard-date-comparison-definition-BqNhECUr.js +0 -183
- package/dist/chunks/dashboard-json-QEoU-mx4.js +0 -75
- package/dist/chunks/editor-action-buttons-B9VRW3Bh.js +0 -2019
- package/dist/chunks/matrix-formatter-WBgtebUT.js +0 -341
- package/dist/chunks/matrix-operation-contract-D32U2CSw.js +0 -1802
- package/dist/chunks/mouse-pointer-2-BZvGk45-.js +0 -19
- package/dist/chunks/pivot-header-presentation-CGtudHo7.js +0 -661
- package/dist/chunks/report-preferences-dialog-BLaFmlE2.js +0 -723
- package/dist/chunks/temporal-input-presentation-2RJrvmYL.js +0 -222
- package/dist/chunks/update-policy-DhAUtiC8.js +0 -913
- package/dist/data-app-builder/index.js +0 -3666
- package/dist/data-app-builder-browser-runtime/index.js +0 -8
- package/dist/data-app-codegen/index.js +0 -22
- package/dist/data-app-codegen-node/index.js +0 -1807
- package/dist/types/components/data-app-runtime/published-data-app-runtime.d.ts +0 -7
- package/dist/types/components/surfboard/json-to-csv.d.ts +0 -7
- package/dist/types/components/visual/data-table/utils/export-utils.d.ts +0 -31
- package/dist/types/data-app-builder/browser-runtime.d.ts +0 -174
- package/dist/types/data-app-builder/constants.d.ts +0 -14
- package/dist/types/data-app-builder/data-app-builder.d.ts +0 -14
- package/dist/types/data-app-builder/index.d.ts +0 -1
- package/dist/types/data-app-builder/lib/api.d.ts +0 -36
- package/dist/types/data-app-builder/lib/context-select.d.ts +0 -3
- package/dist/types/data-app-builder/lib/diagnostics.d.ts +0 -12
- package/dist/types/data-app-builder/lib/file-tree.d.ts +0 -2
- package/dist/types/data-app-builder/types.d.ts +0 -558
- package/dist/types/data-app-builder-browser-runtime.d.ts +0 -2
- package/dist/types/data-app-builder.d.ts +0 -2
- package/dist/types/data-app-codegen/generate-contract.d.ts +0 -26
- package/dist/types/data-app-codegen/generated-contract-files.d.ts +0 -7
- package/dist/types/data-app-codegen/generated-contract-validation.d.ts +0 -13
- package/dist/types/data-app-codegen/index.d.ts +0 -6
- package/dist/types/data-app-codegen/live-execution.d.ts +0 -42
- package/dist/types/data-app-codegen/node.d.ts +0 -2
- package/dist/types/data-app-codegen/update-policy.d.ts +0 -25
- package/dist/types/data-app-codegen/validation.d.ts +0 -8
- package/dist/types/data-app-codegen-node.d.ts +0 -2
- package/dist/types/data-app-codegen.d.ts +0 -2
- package/dist/types/lib/encrypt-utils.d.ts +0 -9
- package/dist/types/shared/analytics-protocol/data-app-codegen-summary.d.ts +0 -418
- package/dist/types/shared/format-utils/exporters/pivot-exporter.d.ts +0 -13
- 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
|
|
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/
|
|
7
|
-
import "../chunks/
|
|
8
|
-
import "
|
|
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
|
|
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:
|
|
234
|
+
version: Ze,
|
|
235
235
|
mode: e.mode,
|
|
236
236
|
schemes: e.schemes
|
|
237
|
-
}), t =
|
|
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(""), [
|
|
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
|
-
|
|
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 =
|
|
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],
|
|
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
|
-
|
|
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:
|
|
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 ||
|
|
741
|
+
disabled: !f || U || !!j || !v,
|
|
742
742
|
children: [
|
|
743
|
-
|
|
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:
|
|
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(
|
|
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
|
-
|
|
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(
|
|
785
|
-
/* @__PURE__ */ r(
|
|
786
|
-
/* @__PURE__ */ r(
|
|
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
|
-
|
|
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:
|
|
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:
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
1452
|
+
function Z({
|
|
1453
1453
|
label: e,
|
|
1454
1454
|
checked: n,
|
|
1455
1455
|
onCheckedChange: t
|
package/dist/briefings/index.js
CHANGED
|
@@ -1,53 +1,54 @@
|
|
|
1
|
-
import "../chunks/numeric-presentation-
|
|
2
|
-
import "../chunks/validators-
|
|
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-
|
|
5
|
+
import "../chunks/matrix-operation-contract-BV02rLhu.js";
|
|
6
|
+
import "zod";
|
|
5
7
|
import "../value-format-preferences/index.js";
|
|
6
|
-
import "../chunks/
|
|
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
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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
|
};
|