react-semaphor 0.1.560 → 0.1.561
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics-protocol/index.js +353 -349
- package/dist/assistant-context/index.js +1 -1
- package/dist/assistant-protocol/index.js +5 -5
- package/dist/brand-studio/index.js +9 -9
- package/dist/briefings/index.js +5 -5
- package/dist/chunks/{analytics-base-schemas-CHLxsPfX.js → analytics-base-schemas-CB3oFAXk.js} +199 -171
- package/dist/chunks/{assistant-chat-Bu2fFm_I.js → assistant-chat-DiVHY3Hw.js} +27 -28
- package/dist/chunks/bookmark-impact-CR09dpkn.js +75 -0
- package/dist/chunks/bookmark-state-BusLpkb7.js +743 -0
- package/dist/chunks/{braces-Da41xfUd.js → braces-u8VorWJc.js} +1 -1
- package/dist/chunks/{comparison-window-caption-4FNkMrzE.js → comparison-window-caption-DDsIWJYT.js} +108 -108
- package/dist/chunks/{context-BgPDzLHZ.js → context-TUjw9eqr.js} +1 -1
- package/dist/chunks/{custom-visual-inputs-Dz-enUNR.js → custom-visual-inputs-DfolidZ9.js} +1 -1
- package/dist/chunks/{dashboard-_MeBuy67.js → dashboard-BRdZBPqr.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-CEi4Pr_v.js → dashboard-briefing-launcher-CgvTLndW.js} +161 -162
- package/dist/chunks/{dashboard-controls-Bi7fyG-4.js → dashboard-controls-B4vfSzTF.js} +881 -945
- package/dist/chunks/{dashboard-json-B1mU_OMa.js → dashboard-json-Y3MF59g7.js} +5 -5
- package/dist/chunks/document-dashboard-inputs-CvBbFTUA.js +1718 -0
- package/dist/chunks/{edit-dashboard-visual-0CJN31Y3.js → edit-dashboard-visual-DwjZcxj-.js} +6112 -6146
- package/dist/chunks/{filter-reach-copy-BF4w4kI2.js → filter-reach-copy-bijwf_-b.js} +1250 -1392
- package/dist/chunks/{filter-value-text-CRC-K_l_.js → filter-value-text-DFnhwuEW.js} +3 -3
- package/dist/chunks/global-date-filter-utils-BXgCpvQM.js +15142 -0
- package/dist/chunks/{index-DtHidOPV.js → index-ClwbY3BL.js} +197 -198
- package/dist/chunks/{layout-grid-BvsH4RY2.js → layout-grid-CtvCBfOm.js} +1 -1
- package/dist/chunks/{list-filter-Dg0otx5E.js → list-filter-BklYgciR.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-CM18W8w6.js → matrix-analytical-definition-pU51-JmY.js} +4 -4
- package/dist/chunks/{matrix-card-HPskLaPy.js → matrix-card-CUorIB7Q.js} +3 -3
- package/dist/chunks/{matrix-member-presentation-Bbrfrke4.js → matrix-member-presentation-Df5UgCGN.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-WPv4R-H_.js → matrix-operation-contract-BSiGEXVC.js} +255 -248
- package/dist/chunks/{metric-comparison-ljMKYZKa.js → metric-comparison-95aC0uEO.js} +6 -6
- package/dist/chunks/{model-change-Ccn1zaxl.js → model-change-B5wQhg5G.js} +1 -1
- package/dist/chunks/{palette-Bsh376zO.js → palette-DTnMhipt.js} +1 -1
- package/dist/chunks/pivot-result-contract-expectations-Bo-86vwS.js +56 -0
- package/dist/chunks/{pivot-result-identity-vS9TSh4f.js → pivot-result-identity-olvXJoB9.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-BV8L0SeS.js → report-preferences-dialog-C2YUIwKG.js} +14 -14
- package/dist/chunks/{report-runtime-context-BZQh9ywy.js → report-runtime-context-DoIUr3MP.js} +2 -2
- package/dist/chunks/resolve-dashboard-input-context-q_iiNXE1.js +6503 -0
- package/dist/chunks/{save-B5EAsgQF.js → save-DH4RyrnG.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-n2Wn11cV.js → saved-dashboard-context-8jqfI7hI.js} +12 -12
- package/dist/chunks/{selection-reducer-D0YnaAD9.js → selection-reducer-CV7K4FI6.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-XLBLOJ2V.js → semaphor-ready-indicator-E2XWyibu.js} +30253 -31076
- package/dist/chunks/{shelf-drop-preview-context-DHMa54a-.js → shelf-drop-preview-context-C29EUzDp.js} +7 -7
- package/dist/chunks/{source-entity-resolution-dUG5VWRm.js → source-entity-resolution-BXI3nQ5Z.js} +1 -1
- package/dist/chunks/{switch-ByxH4M7t.js → switch-balDSHc7.js} +3 -3
- package/dist/chunks/{table-export-sheet-C_GdeTYU.js → table-export-sheet-CK8tvh4d.js} +1 -1
- package/dist/chunks/temporal-input-presentation-B77JsAzU.js +5002 -0
- package/dist/chunks/{token-types-CQtXUVMy.js → token-types-DhYH5YKb.js} +1 -1
- package/dist/chunks/{upload-wbR-NVzq.js → upload-Ufj8vjyn.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-CEBaLOKC.js → use-create-flow-overlay-state-9WsnzEO5.js} +6 -6
- package/dist/chunks/{validators-CXTneCA4.js → validators-BtaCFIEB.js} +37 -37
- package/dist/chunks/{zoned-wall-clock-B1n_WjW3.js → zoned-wall-clock-CGLVI40Q.js} +1 -1
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +2400 -1856
- package/dist/data-app-sdk/index.js +20 -20
- package/dist/data-app-sdk-adapters/index.js +3 -3
- package/dist/data-app-sdk-validation/index.js +10 -10
- package/dist/format-utils/index.js +257 -256
- package/dist/index.js +214 -215
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/components/dashboard/summary-number-formatter.d.ts +6 -0
- package/dist/types/index.js +50 -51
- package/dist/types/lib/formatters/kpi-number-formatter.d.ts +41 -0
- package/dist/types/lib/stores/editor-store.d.ts +9 -1
- package/dist/types/lib/stores/table-actions.d.ts +0 -2
- package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +10 -0
- package/dist/types/shared/analytics-protocol/measure-aggregation-profile.d.ts +12 -0
- package/dist/types/shared/dashboard-authoring/card-settings/apply-card-settings.d.ts +11 -0
- package/dist/types/shared/dashboard-authoring/card-settings/card-display-write.d.ts +52 -0
- package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/card-settings/carry-column-settings.d.ts +3 -0
- package/dist/types/shared/dashboard-authoring/card-settings/column-format-write.d.ts +8 -0
- package/dist/types/shared/dashboard-authoring/card-settings/column-names.d.ts +51 -0
- package/dist/types/shared/dashboard-authoring/card-settings/column-sources.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/card-settings/confirm-class.d.ts +9 -0
- package/dist/types/shared/dashboard-authoring/card-settings/highlight-inputs.d.ts +19 -0
- package/dist/types/shared/dashboard-authoring/card-settings/index.d.ts +15 -0
- package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +102 -0
- package/dist/types/shared/dashboard-authoring/card-settings/read-card-settings.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-highlights.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-settings.d.ts +59 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +40 -0
- package/dist/types/shared/dashboard-authoring/card-settings/views.d.ts +28 -0
- package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +6 -0
- package/dist/types/shared/dashboard-authoring/changes/card-types.d.ts +32 -0
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +539 -22
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +27 -8
- package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +25 -1
- package/dist/types/shared/dashboard-authoring/conditional-formatting/kpi.d.ts +1 -8
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +10 -10
- package/dist/types/shared/dashboard-authoring/index.d.ts +3 -0
- package/dist/types/shared/dashboard-authoring/kpi-figure.d.ts +123 -0
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +21 -1
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +10 -4
- package/dist/types/shared/dashboard-viewer/bookmark-impact.d.ts +33 -0
- package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +8 -1
- package/dist/types/shared/format-utils/raw-temporal.d.ts +16 -0
- package/package.json +2 -2
- package/dist/chunks/bookmark-state-BFY9oNmr.js +0 -111
- package/dist/chunks/document-dashboard-inputs-CkWfDB8c.js +0 -3010
- package/dist/chunks/global-date-filter-utils-D8365uPH.js +0 -12889
- package/dist/chunks/pivot-result-contract-expectations-Bl5suy4-.js +0 -1832
- package/dist/chunks/raw-temporal-presentation-BHm7s-hz.js +0 -540
- package/dist/chunks/resolve-dashboard-input-context-CAMiWvyR.js +0 -5280
- package/dist/chunks/table-settings-Imz0FgWi.js +0 -637
- package/dist/chunks/temporal-input-presentation-uvNK_tM0.js +0 -3228
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { c as fe, n as qe, o as ze, p as Me, q as Re, z as je, B as E, y as Se, m as z, r as Be, s as ne, t as se, u as oe, v as de, w as ie } from "./switch-
|
|
1
|
+
import { c as fe, n as qe, o as ze, p as Me, q as Re, z as je, B as E, y as Se, m as z, r as Be, s as ne, t as se, u as oe, v as de, w as ie } from "./switch-balDSHc7.js";
|
|
2
2
|
import { useEffect as K, forwardRef as nt, useMemo as H, useState as M, useRef as ce, useCallback as A, Fragment as st } from "react";
|
|
3
|
-
import { a6 as $e, a7 as ot, aN as dt, u as it, i as ct, aO as ut, aP as pt, aQ as De, aR as we, aS as mt, aT as ft, aU as Ue, aV as Qe, aW as ht, aX as gt, aY as bt, aZ as xt, a_ as vt, a$ as yt, b0 as Ct } from "./semaphor-ready-indicator-
|
|
3
|
+
import { a6 as $e, a7 as ot, aN as dt, u as it, i as ct, aO as ut, aP as pt, aQ as De, aR as we, aS as mt, aT as ft, aU as Ue, aV as Qe, aW as ht, aX as gt, aY as bt, aZ as xt, a_ as vt, a$ as yt, b0 as Ct } from "./semaphor-ready-indicator-E2XWyibu.js";
|
|
4
4
|
import { jsx as t, jsxs as o, Fragment as X } from "react/jsx-runtime";
|
|
5
5
|
import "./index-CuHybtft.js";
|
|
6
|
-
import "./validators-
|
|
7
|
-
import "./matrix-operation-contract-
|
|
8
|
-
import "./analytics-base-schemas-
|
|
6
|
+
import "./validators-BtaCFIEB.js";
|
|
7
|
+
import "./matrix-operation-contract-BSiGEXVC.js";
|
|
8
|
+
import "./analytics-base-schemas-CB3oFAXk.js";
|
|
9
9
|
import "zod";
|
|
10
10
|
import "../value-format-preferences/index.js";
|
|
11
11
|
import { c as R } from "./_commonjsHelpers-DimLPMtv.js";
|
|
12
|
-
import {
|
|
12
|
+
import { r as kt, c as Nt, e as G, f as Te, h as _e, j as ue, k as pe, l as St, m as Dt, o as Ve, p as wt, q as Tt, t as J, u as _t, w as Le, x as Ye, y as He, z as Xe, A as Ge, B as Vt, I as Lt, C as Ee, D as Et, E as Ie, F as It, G as At, H as Ft, J as Ot, K as me } from "./global-date-filter-utils-BXgCpvQM.js";
|
|
13
13
|
/**
|
|
14
14
|
* @license lucide-react v0.453.0 - ISC
|
|
15
15
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as ve, x as O, w as It,
|
|
1
|
+
import { M as ve, x as O, w as It, B as St, C as kt, E as wt, G as At, v as xt, h as je, j as X, k as Ft, b as Dt, d as Ye } from "./analytics-base-schemas-CB3oFAXk.js";
|
|
2
2
|
import { z as a } from "zod";
|
|
3
3
|
function Mt(e) {
|
|
4
4
|
return typeof e == "string" || typeof e == "number" && Number.isFinite(e) || typeof e == "boolean";
|
|
@@ -28,13 +28,13 @@ const Tt = [
|
|
|
28
28
|
quarter: 40,
|
|
29
29
|
year: 10
|
|
30
30
|
};
|
|
31
|
-
function
|
|
31
|
+
function Ct(e) {
|
|
32
32
|
return e.anchor ?? "latest_available";
|
|
33
33
|
}
|
|
34
34
|
function M(e) {
|
|
35
35
|
return !!e && (e.kind === void 0 || e.kind === "relative");
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function $t(e) {
|
|
38
38
|
return (e == null ? void 0 : e.kind) === "calendar";
|
|
39
39
|
}
|
|
40
40
|
function Ta(e) {
|
|
@@ -54,7 +54,7 @@ function Na(e) {
|
|
|
54
54
|
} : t.mode === "this" ? t.boundary ? null : { kind: "calendar", unit: t.unit, period: "this", ...t.toDate ? { toDate: !0 } : {} } : t.mode === "previous" ? { kind: "calendar", unit: t.unit, period: "previous" } : null;
|
|
55
55
|
}
|
|
56
56
|
function Ot(e, t = {}) {
|
|
57
|
-
if (
|
|
57
|
+
if ($t(e))
|
|
58
58
|
return e.period === "previous" ? { mode: "previous", unit: e.unit } : {
|
|
59
59
|
mode: "this",
|
|
60
60
|
unit: e.unit,
|
|
@@ -62,7 +62,7 @@ function Ot(e, t = {}) {
|
|
|
62
62
|
};
|
|
63
63
|
if (!M(e))
|
|
64
64
|
return null;
|
|
65
|
-
const i =
|
|
65
|
+
const i = Ct(e) === "latest_available" ? { relativeTo: "latest_data" } : {}, s = e.value, l = (t.completeness ?? e.completeness) === "complete_periods";
|
|
66
66
|
switch (e.unit) {
|
|
67
67
|
case "second":
|
|
68
68
|
return null;
|
|
@@ -587,7 +587,7 @@ function ze(e, t = {}) {
|
|
|
587
587
|
function Ra(e) {
|
|
588
588
|
return !ze(e) && !He(e);
|
|
589
589
|
}
|
|
590
|
-
function
|
|
590
|
+
function Ca(e) {
|
|
591
591
|
const t = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set();
|
|
592
592
|
for (const l of e) {
|
|
593
593
|
if (Ve(l))
|
|
@@ -625,7 +625,7 @@ function ke(e) {
|
|
|
625
625
|
const { sign: t, whole: i, fraction: s = "", exponent: l } = e, n = (i + s).replace(/^0+/, ""), o = n.replace(/0+$/, ""), d = l - s.length + n.length - o.length;
|
|
626
626
|
return !Number.isSafeInteger(l) || !Number.isSafeInteger(d) ? null : o ? `${t === "-" ? "-" : ""}${o}e${d}` : "0";
|
|
627
627
|
}
|
|
628
|
-
function
|
|
628
|
+
function $a(e) {
|
|
629
629
|
const t = P(e);
|
|
630
630
|
if (!t) return null;
|
|
631
631
|
const i = t.sign === "+" ? e.slice(1) : e, s = Number(e);
|
|
@@ -892,7 +892,7 @@ function Ja(e) {
|
|
|
892
892
|
});
|
|
893
893
|
}
|
|
894
894
|
function Xe(e, t = {}) {
|
|
895
|
-
const i =
|
|
895
|
+
const i = C(e), s = {
|
|
896
896
|
connectionId: t.connectionId,
|
|
897
897
|
connectionType: e,
|
|
898
898
|
path: ["database", "schema", "table"],
|
|
@@ -994,10 +994,10 @@ const pi = {
|
|
|
994
994
|
sqlserver: "MSSQL"
|
|
995
995
|
};
|
|
996
996
|
function en(e) {
|
|
997
|
-
const t =
|
|
997
|
+
const t = C(e);
|
|
998
998
|
if (t)
|
|
999
999
|
return fe.find(
|
|
1000
|
-
(i) =>
|
|
1000
|
+
(i) => C(i) === t
|
|
1001
1001
|
) ?? pi[t];
|
|
1002
1002
|
}
|
|
1003
1003
|
function tn(e, t = {}) {
|
|
@@ -1006,7 +1006,7 @@ function tn(e, t = {}) {
|
|
|
1006
1006
|
) ? Xe(e, t) : void 0;
|
|
1007
1007
|
}
|
|
1008
1008
|
function mi(e) {
|
|
1009
|
-
const t =
|
|
1009
|
+
const t = C(e);
|
|
1010
1010
|
if (t.includes("postgres")) return "postgres";
|
|
1011
1011
|
if (t.includes("mysql")) return "mysql";
|
|
1012
1012
|
if (t.includes("mssql") || t.includes("sqlserver"))
|
|
@@ -1018,7 +1018,7 @@ function mi(e) {
|
|
|
1018
1018
|
return t;
|
|
1019
1019
|
}
|
|
1020
1020
|
function an(e) {
|
|
1021
|
-
const t =
|
|
1021
|
+
const t = C(e);
|
|
1022
1022
|
switch (t) {
|
|
1023
1023
|
case "mysql":
|
|
1024
1024
|
case "bigquery":
|
|
@@ -1078,7 +1078,7 @@ function rn(e) {
|
|
|
1078
1078
|
function _i(e, t) {
|
|
1079
1079
|
return t === "mysql" || t === "bigquery" || t === "clickhouse" || t === "duckdb" ? `\`${e.replace(/`/g, "``")}\`` : t === "mssql" ? `[${e.replace(/]/g, "]]")}]` : `"${e.replace(/"/g, '""')}"`;
|
|
1080
1080
|
}
|
|
1081
|
-
function
|
|
1081
|
+
function C(e) {
|
|
1082
1082
|
if (typeof e != "string")
|
|
1083
1083
|
return "";
|
|
1084
1084
|
const t = [];
|
|
@@ -1363,7 +1363,7 @@ const v = a.string().min(1), Ae = a.enum(["groupby", "metric", "sortby", "pivotb
|
|
|
1363
1363
|
target: Ni,
|
|
1364
1364
|
direction: a.enum(["asc", "desc"]),
|
|
1365
1365
|
nulls: a.enum(["first", "last"])
|
|
1366
|
-
}, lt = a.object(Ri).strict(),
|
|
1366
|
+
}, lt = a.object(Ri).strict(), Ci = a.object({
|
|
1367
1367
|
id: b,
|
|
1368
1368
|
axis: me,
|
|
1369
1369
|
levelId: b,
|
|
@@ -1372,7 +1372,7 @@ const v = a.string().min(1), Ae = a.enum(["groupby", "metric", "sortby", "pivotb
|
|
|
1372
1372
|
measureId: b,
|
|
1373
1373
|
oppositePath: A,
|
|
1374
1374
|
others: a.boolean()
|
|
1375
|
-
}).strict(), G = a.number().finite(),
|
|
1375
|
+
}).strict(), G = a.number().finite(), $i = a.object({
|
|
1376
1376
|
id: b,
|
|
1377
1377
|
axis: me,
|
|
1378
1378
|
levelId: b,
|
|
@@ -1394,8 +1394,8 @@ const v = a.string().min(1), Ae = a.enum(["groupby", "metric", "sortby", "pivotb
|
|
|
1394
1394
|
joinPlan: Ai.optional(),
|
|
1395
1395
|
relationshipHint: a.object({ relationshipIds: a.array(xi).optional() }).strict().optional(),
|
|
1396
1396
|
sorts: a.array(lt).readonly(),
|
|
1397
|
-
rankings: a.array(
|
|
1398
|
-
measureFilters: a.array(
|
|
1397
|
+
rankings: a.array(Ci).readonly(),
|
|
1398
|
+
measureFilters: a.array($i).readonly().optional()
|
|
1399
1399
|
}).strict();
|
|
1400
1400
|
function ut(e) {
|
|
1401
1401
|
return JSON.stringify([
|
|
@@ -1837,10 +1837,10 @@ function ht(e, t) {
|
|
|
1837
1837
|
return Ji(e, t);
|
|
1838
1838
|
}
|
|
1839
1839
|
function _t(e, t) {
|
|
1840
|
-
return ht(e, t) &&
|
|
1840
|
+
return ht(e, t) && $(e) === $(t);
|
|
1841
1841
|
}
|
|
1842
1842
|
function ta(e) {
|
|
1843
|
-
return `Metric intent has duplicate measure "${e.name}" with the same aggregate (${
|
|
1843
|
+
return `Metric intent has duplicate measure "${e.name}" with the same aggregate (${$(e)}). Use different aggregates to request both, or remove one entry.`;
|
|
1844
1844
|
}
|
|
1845
1845
|
function Ee(e) {
|
|
1846
1846
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null;
|
|
@@ -1893,12 +1893,12 @@ function sa(e, t) {
|
|
|
1893
1893
|
return ra(e, t) ? e.source ? ht(t, e) : !0 : !1;
|
|
1894
1894
|
}
|
|
1895
1895
|
function ra(e, t) {
|
|
1896
|
-
return !(t.name !== e.name || e.role !== void 0 && t.role !== void 0 && t.role !== e.role || oa(e, t) &&
|
|
1896
|
+
return !(t.name !== e.name || e.role !== void 0 && t.role !== void 0 && t.role !== e.role || oa(e, t) && $(t) !== $(e));
|
|
1897
1897
|
}
|
|
1898
1898
|
function oa(e, t) {
|
|
1899
1899
|
return e.role === "measure" || t.role === "measure" || e.aggregate !== void 0 || t.aggregate !== void 0;
|
|
1900
1900
|
}
|
|
1901
|
-
function
|
|
1901
|
+
function $(e) {
|
|
1902
1902
|
return gt(e);
|
|
1903
1903
|
}
|
|
1904
1904
|
const la = /^(\d{4})-(\d{2})-(\d{2})$/, yt = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d+))?)?(Z|[+-]\d{2}:\d{2})$/;
|
|
@@ -2295,7 +2295,7 @@ function _a(e, t, i) {
|
|
|
2295
2295
|
}
|
|
2296
2296
|
Pe(e, t, i);
|
|
2297
2297
|
}
|
|
2298
|
-
function
|
|
2298
|
+
function Ce(e, t, i) {
|
|
2299
2299
|
if (!f(e)) {
|
|
2300
2300
|
i.push(
|
|
2301
2301
|
r(
|
|
@@ -2633,7 +2633,7 @@ function bn(e) {
|
|
|
2633
2633
|
"Result calculation kind must be percent_of_total, rank, running_total, or previous_row_delta.",
|
|
2634
2634
|
"kind"
|
|
2635
2635
|
)
|
|
2636
|
-
),
|
|
2636
|
+
), Ce(e.input, "input", t), ya(e.output, "output", t), e.kind === "percent_of_total") {
|
|
2637
2637
|
const i = e.denominator;
|
|
2638
2638
|
i !== void 0 && (f(i) ? i.scope === "population" ? (_(i.metric, "denominator.metric", t, {
|
|
2639
2639
|
required: !0
|
|
@@ -2661,7 +2661,7 @@ function bn(e) {
|
|
|
2661
2661
|
"Rank result calculation order must be asc or desc.",
|
|
2662
2662
|
"order"
|
|
2663
2663
|
)
|
|
2664
|
-
), (e.kind === "running_total" || e.kind === "previous_row_delta") && e.orderBy !== void 0 &&
|
|
2664
|
+
), (e.kind === "running_total" || e.kind === "previous_row_delta") && e.orderBy !== void 0 && Ce(e.orderBy, "orderBy", t), { ok: t.length === 0, errors: t, warnings: [] };
|
|
2665
2665
|
}
|
|
2666
2666
|
function bt(e) {
|
|
2667
2667
|
var s;
|
|
@@ -2685,7 +2685,7 @@ function bt(e) {
|
|
|
2685
2685
|
};
|
|
2686
2686
|
if (e.kind === "matrix") {
|
|
2687
2687
|
const l = Pi.safeParse(e);
|
|
2688
|
-
return l.success || t.push(...l.error.issues.map((n) => r("invalid_matrix_intent", n.message, n.path.join(".")))), { ok: t.length === 0, errors: t, warnings: i, repairHints:
|
|
2688
|
+
return l.success || t.push(...l.error.issues.map((n) => r("invalid_matrix_intent", n.message, n.path.join(".")))), { ok: t.length === 0, errors: t, warnings: i, repairHints: $e(t) };
|
|
2689
2689
|
}
|
|
2690
2690
|
if (e.version !== void 0 && e.version !== 1 && t.push(
|
|
2691
2691
|
r(
|
|
@@ -2919,7 +2919,7 @@ function bt(e) {
|
|
|
2919
2919
|
ok: t.length === 0,
|
|
2920
2920
|
errors: t,
|
|
2921
2921
|
warnings: i,
|
|
2922
|
-
repairHints:
|
|
2922
|
+
repairHints: $e(t)
|
|
2923
2923
|
};
|
|
2924
2924
|
}
|
|
2925
2925
|
function wa(e, t) {
|
|
@@ -3071,7 +3071,7 @@ function vt(e) {
|
|
|
3071
3071
|
recommendedNextStep: t.code === "missing_obligations" ? "Normalize the user request into one or more typed analytics obligations before recovery planning." : "Correct the operation/recovery contract shape before planning execution."
|
|
3072
3072
|
}));
|
|
3073
3073
|
}
|
|
3074
|
-
function
|
|
3074
|
+
function $e(e) {
|
|
3075
3075
|
return e.map((t) => {
|
|
3076
3076
|
switch (t.code) {
|
|
3077
3077
|
case "invalid_matrix_intent":
|
|
@@ -3348,14 +3348,14 @@ export {
|
|
|
3348
3348
|
Ba as S,
|
|
3349
3349
|
Ni as T,
|
|
3350
3350
|
lt as U,
|
|
3351
|
-
|
|
3352
|
-
|
|
3351
|
+
Ci as V,
|
|
3352
|
+
$i as W,
|
|
3353
3353
|
ut as X,
|
|
3354
3354
|
j as Y,
|
|
3355
3355
|
xe as Z,
|
|
3356
3356
|
qi as _,
|
|
3357
3357
|
gt as a,
|
|
3358
|
-
|
|
3358
|
+
Ya as a$,
|
|
3359
3359
|
De as a0,
|
|
3360
3360
|
H as a1,
|
|
3361
3361
|
Ui as a2,
|
|
@@ -3378,9 +3378,9 @@ export {
|
|
|
3378
3378
|
Nt as aJ,
|
|
3379
3379
|
Rt as aK,
|
|
3380
3380
|
Ea as aL,
|
|
3381
|
-
|
|
3381
|
+
Ct as aM,
|
|
3382
3382
|
M as aN,
|
|
3383
|
-
|
|
3383
|
+
$t as aO,
|
|
3384
3384
|
Ta as aP,
|
|
3385
3385
|
Yt as aQ,
|
|
3386
3386
|
Na as aR,
|
|
@@ -3391,7 +3391,7 @@ export {
|
|
|
3391
3391
|
Pa as aW,
|
|
3392
3392
|
qa as aX,
|
|
3393
3393
|
R as aY,
|
|
3394
|
-
|
|
3394
|
+
$a as aZ,
|
|
3395
3395
|
L as a_,
|
|
3396
3396
|
bn as aa,
|
|
3397
3397
|
bt as ab,
|
|
@@ -3410,7 +3410,7 @@ export {
|
|
|
3410
3410
|
Se as ao,
|
|
3411
3411
|
ze as ap,
|
|
3412
3412
|
Ra as aq,
|
|
3413
|
-
|
|
3413
|
+
Ca as ar,
|
|
3414
3414
|
Xe as as,
|
|
3415
3415
|
fe as at,
|
|
3416
3416
|
Wa as au,
|
|
@@ -3420,9 +3420,9 @@ export {
|
|
|
3420
3420
|
rn as ay,
|
|
3421
3421
|
pn as az,
|
|
3422
3422
|
Va as b,
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3423
|
+
ja as b0,
|
|
3424
|
+
Oa as b1,
|
|
3425
|
+
Yi as b2,
|
|
3426
3426
|
de as b3,
|
|
3427
3427
|
qt as b4,
|
|
3428
3428
|
Ae as b5,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var w = Object.defineProperty;
|
|
2
2
|
var L = (t, e, r) => e in t ? w(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var m = (t, e, r) => L(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
|
-
import { R as v } from "./analytics-base-schemas-
|
|
4
|
+
import { R as v } from "./analytics-base-schemas-CB3oFAXk.js";
|
|
5
5
|
class s extends Error {
|
|
6
6
|
constructor(r) {
|
|
7
7
|
super(r);
|
package/dist/dashboard/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as o } from "../chunks/dashboard-
|
|
2
|
-
import { C as s, E as C } from "../chunks/
|
|
1
|
+
import { D as o } from "../chunks/dashboard-BRdZBPqr.js";
|
|
2
|
+
import { C as s, E as C } from "../chunks/bookmark-state-BusLpkb7.js";
|
|
3
3
|
export {
|
|
4
4
|
s as CONTROL_CARD_DEFAULT_VALUE,
|
|
5
5
|
o as Dashboard,
|