react-semaphor 0.1.558 → 0.1.560
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 +368 -358
- 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 +630 -0
- package/dist/chunks/{assistant-chat-BCWoP6Rf.js → assistant-chat-Bu2fFm_I.js} +206 -207
- package/dist/chunks/{bookmark-state-PjQpxbG7.js → bookmark-state-BFY9oNmr.js} +3 -3
- package/dist/chunks/{braces-D5Ucy7q1.js → braces-Da41xfUd.js} +1 -1
- package/dist/chunks/{comparison-window-caption-Dc7BaCMz.js → comparison-window-caption-4FNkMrzE.js} +213 -213
- package/dist/chunks/{context-DVy4HOU0.js → context-BgPDzLHZ.js} +1 -1
- package/dist/chunks/{custom-visual-inputs-B-DLRGrV.js → custom-visual-inputs-Dz-enUNR.js} +1 -1
- package/dist/chunks/{dashboard-wK6Bai4V.js → dashboard-_MeBuy67.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-Coqghdn6.js → dashboard-briefing-launcher-CEi4Pr_v.js} +1152 -1166
- package/dist/chunks/{dashboard-controls-BYWSM2RM.js → dashboard-controls-Bi7fyG-4.js} +98 -98
- package/dist/chunks/{dashboard-json-pPTB5gj0.js → dashboard-json-B1mU_OMa.js} +5 -5
- package/dist/chunks/{document-dashboard-inputs-PY_7Xm55.js → document-dashboard-inputs-CkWfDB8c.js} +64 -64
- package/dist/chunks/{edit-dashboard-visual-BODxuUeq.js → edit-dashboard-visual-0CJN31Y3.js} +8274 -8514
- package/dist/chunks/filter-reach-copy-BF4w4kI2.js +3738 -0
- package/dist/chunks/{filter-value-text-CUBpotVN.js → filter-value-text-CRC-K_l_.js} +3 -3
- package/dist/chunks/{global-date-filter-utils-BsFqnnbA.js → global-date-filter-utils-D8365uPH.js} +4088 -3416
- package/dist/chunks/{index-DP_wQl0v.js → index-DtHidOPV.js} +579 -604
- package/dist/chunks/{layout-grid-CkoXmv0L.js → layout-grid-BvsH4RY2.js} +1 -1
- package/dist/chunks/{list-filter-B4i25kuc.js → list-filter-Dg0otx5E.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-4GTUDheD.js → matrix-analytical-definition-CM18W8w6.js} +41 -41
- package/dist/chunks/{matrix-card-fS_4O7zA.js → matrix-card-HPskLaPy.js} +3 -3
- package/dist/chunks/{matrix-member-presentation-Dj7HaAHC.js → matrix-member-presentation-Bbrfrke4.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-CpgLZ7E5.js → matrix-operation-contract-WPv4R-H_.js} +130 -130
- package/dist/chunks/{metric-comparison-C8LY7GG5.js → metric-comparison-ljMKYZKa.js} +2 -2
- package/dist/chunks/{model-change-CJEj3ZD6.js → model-change-Ccn1zaxl.js} +1 -1
- package/dist/chunks/{palette-stlpjVk4.js → palette-Bsh376zO.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-DMk-mKhG.js → pivot-result-contract-expectations-Bl5suy4-.js} +602 -696
- package/dist/chunks/{pivot-result-identity-CrQ54Xbj.js → pivot-result-identity-vS9TSh4f.js} +1 -1
- package/dist/chunks/{raw-temporal-presentation-BI2z2LlB.js → raw-temporal-presentation-BHm7s-hz.js} +230 -274
- package/dist/chunks/{report-preferences-dialog-Dc-YyVwf.js → report-preferences-dialog-BV8L0SeS.js} +55 -55
- package/dist/chunks/{report-runtime-context-CohdtiMg.js → report-runtime-context-BZQh9ywy.js} +2 -2
- package/dist/chunks/{resolve-dashboard-input-context-BZYI1hB0.js → resolve-dashboard-input-context-CAMiWvyR.js} +2021 -2239
- package/dist/chunks/{save-C1dgxgAu.js → save-B5EAsgQF.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-CIBoMq46.js → saved-dashboard-context-n2Wn11cV.js} +57 -57
- package/dist/chunks/{selection-reducer-_d6aKJnj.js → selection-reducer-D0YnaAD9.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-ERTLU7B4.js → semaphor-ready-indicator-XLBLOJ2V.js} +38446 -39176
- package/dist/chunks/{shelf-drop-preview-context-fEnx6iL_.js → shelf-drop-preview-context-DHMa54a-.js} +570 -570
- package/dist/chunks/source-entity-resolution-dUG5VWRm.js +607 -0
- package/dist/chunks/{switch-BqUan2mN.js → switch-ByxH4M7t.js} +3 -3
- package/dist/chunks/{table-export-sheet-CTCTA_bd.js → table-export-sheet-C_GdeTYU.js} +1 -1
- package/dist/chunks/{table-settings-DF1gdVQR.js → table-settings-Imz0FgWi.js} +8 -8
- package/dist/chunks/{temporal-input-presentation-DoSniQj1.js → temporal-input-presentation-uvNK_tM0.js} +1109 -820
- package/dist/chunks/{token-types-DFyLflLY.js → token-types-CQtXUVMy.js} +1 -1
- package/dist/chunks/{upload-DcoyjkRV.js → upload-wbR-NVzq.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-xhb9YFg-.js → use-create-flow-overlay-state-CEBaLOKC.js} +6 -6
- package/dist/chunks/validators-CXTneCA4.js +3453 -0
- package/dist/chunks/{zoned-wall-clock-E35Frf9v.js → zoned-wall-clock-B1n_WjW3.js} +1 -1
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +2207 -1496
- 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 +6 -6
- package/dist/format-utils/index.js +181 -176
- package/dist/index.js +22 -22
- 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/editor/editor-aside/utils.d.ts +1 -1
- package/dist/types/components/visual/data-table/types/data-table.d.ts +5 -20
- package/dist/types/index.js +6 -6
- package/dist/types/lib/formatters/canonical-format-adapter.d.ts +2 -29
- package/dist/types/lib/formatters/raw-temporal-presentation.d.ts +0 -2
- package/dist/types/lib/formatters/table-column-settings.d.ts +47 -0
- package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +10 -188
- package/dist/types/lib/matrix-table/matrix-delivery-policy.d.ts +1 -1
- package/dist/types/lib/matrix-table/matrix-delivery.d.ts +16 -372
- package/dist/types/lib/stores/dashboard-store.d.ts +0 -1
- package/dist/types/lib/stores/editor-store.d.ts +39 -9
- package/dist/types/lib/stores/table-actions.d.ts +9 -3
- package/dist/types/lib/table-formatting/index.d.ts +0 -2
- package/dist/types/lib/table-formatting/table-conditional-formatting-range-source.d.ts +3 -2
- package/dist/types/lib/table-formatting/table-conditional-formatting-range.d.ts +3 -2
- package/dist/types/lib/table-formatting/table-formatting-normalize.d.ts +1 -2
- package/dist/types/lib/table-formatting/table-formatting-render-model.d.ts +9 -0
- package/dist/types/lib/table-formatting/table-formatting-types.d.ts +5 -95
- package/dist/types/lib/table-formatting/table-presentation-fields.d.ts +35 -0
- package/dist/types/lib/types/common-types.d.ts +40 -47
- package/dist/types/lib/types/explorer-types.d.ts +13 -44
- package/dist/types/lib/utils/card-config-utils.d.ts +9 -1
- package/dist/types/lib/utils/card-definition.d.ts +9 -187
- package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +159 -513
- package/dist/types/shared/analytics-protocol/contracts.d.ts +32 -9
- package/dist/types/shared/analytics-protocol/execution-input-schemas.d.ts +108 -980
- package/dist/types/shared/analytics-protocol/field-validation.d.ts +1 -0
- package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +281 -4624
- package/dist/types/shared/analytics-protocol/matrix-operation-contract.d.ts +20 -20
- package/dist/types/shared/analytics-protocol/matrix-operation-request.d.ts +18 -18
- package/dist/types/shared/analytics-protocol/matrix-path-contract.d.ts +40 -40
- package/dist/types/shared/analytics-protocol/matrix-window-contract.d.ts +3 -203
- package/dist/types/shared/analytics-protocol/scalar-value.d.ts +8 -8
- package/dist/types/shared/analytics-protocol/source-capabilities.d.ts +21 -0
- package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +8 -0
- package/dist/types/shared/assistant-protocol/context.d.ts +69 -69
- package/dist/types/shared/dashboard-authoring/canonical-result-keys.d.ts +13 -0
- package/dist/types/shared/dashboard-authoring/card-export-request.d.ts +4 -1
- package/dist/types/shared/dashboard-authoring/card-formats/sql-date-pattern.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/card-formats/upgrade-card-formats.d.ts +57 -0
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +24 -24
- package/dist/types/shared/dashboard-authoring/conditional-formatting/editable.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/evaluate.d.ts +16 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/index.d.ts +9 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/kpi.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/resolve-card-column-ref.d.ts +17 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/retain.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +4499 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/store.d.ts +12 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/types.d.ts +151 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/upgrade.d.ts +35 -0
- package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +62 -62
- package/dist/types/shared/dashboard-authoring/dashboard-card-source-index.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +5 -0
- package/dist/types/shared/dashboard-authoring/legacy-table-routing.d.ts +4 -2
- package/dist/types/shared/dashboard-authoring/matrix-authoring.d.ts +4 -5
- package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +24 -736
- package/dist/types/shared/dashboard-authoring/retired-presentation-fields.d.ts +31 -0
- package/dist/types/shared/dashboard-authoring/upgrade-card-presentation.d.ts +14 -0
- package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +5 -1
- package/dist/types/shared/format-utils/formatters/number-formatter.d.ts +16 -0
- package/dist/types/shared/format-utils/index.d.ts +2 -0
- package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +10 -366
- package/dist/types/shared/format-utils/raw-temporal.d.ts +15 -1
- package/dist/types/shared/format-utils/resolve-column-format.d.ts +43 -0
- package/dist/types/shared/format-utils/retired-format-adapters.d.ts +68 -0
- package/dist/types/shared/format-utils/semantic-format.d.ts +5 -1
- package/dist/types/shared/format-utils/stored-value-format.d.ts +16 -0
- package/dist/types/shared/format-utils/types/format-types.d.ts +10 -12
- package/package.json +1 -1
- package/dist/chunks/analytics-base-schemas-BUFUoO6G.js +0 -472
- package/dist/chunks/editor-draft-sync-BN5qYHPF.js +0 -15
- package/dist/chunks/filter-reach-copy-BvJH9JO-.js +0 -3411
- package/dist/chunks/source-entity-resolution-DXW1HpKf.js +0 -816
- package/dist/chunks/validators-hmfNNQz8.js +0 -3595
- package/dist/types/lib/table-formatting/table-conditional-formatting-evaluator.d.ts +0 -9
- package/dist/types/lib/table-formatting/table-formatting-validation.d.ts +0 -12
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as G } from "./metric-comparison-
|
|
2
|
-
import {
|
|
3
|
-
import { c as ne, w as h, z as F } from "./zoned-wall-clock-
|
|
1
|
+
import { r as G } from "./metric-comparison-ljMKYZKa.js";
|
|
2
|
+
import { aj as E, aK as Y, aJ as V, aL as J, aI as X, aH as ee, a8 as $, X as j, H as te } from "./validators-CXTneCA4.js";
|
|
3
|
+
import { c as ne, w as h, z as F } from "./zoned-wall-clock-B1n_WjW3.js";
|
|
4
4
|
import { z as u } from "zod";
|
|
5
|
-
import {
|
|
5
|
+
import { d as ie } from "./analytics-base-schemas-CHLxsPfX.js";
|
|
6
6
|
function ae(e, t) {
|
|
7
7
|
return G({ ...e, role: t });
|
|
8
8
|
}
|
|
@@ -27,7 +27,7 @@ function Oe(e, t) {
|
|
|
27
27
|
if (i !== -1) return { group: n, index: i };
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function U(e, t) {
|
|
31
31
|
const n = e.split(".").map((o) => o.trim()), i = t.split(".").map((o) => o.trim());
|
|
32
32
|
if (n.length === 0 || i.length === 0 || n.some((o) => !o) || i.some((o) => !o))
|
|
33
33
|
return !1;
|
|
@@ -36,7 +36,7 @@ function L(e, t) {
|
|
|
36
36
|
}
|
|
37
37
|
function se(e, t) {
|
|
38
38
|
const n = e.split("."), i = t.split("."), a = n.pop(), s = i.pop();
|
|
39
|
-
return !!(a && a === s && n.length > 0 && i.length > 0 &&
|
|
39
|
+
return !!(a && a === s && n.length > 0 && i.length > 0 && U(
|
|
40
40
|
n.join("."),
|
|
41
41
|
i.join(".")
|
|
42
42
|
));
|
|
@@ -45,7 +45,7 @@ function re(e) {
|
|
|
45
45
|
const t = e.map((i) => i.trim()).filter(Boolean);
|
|
46
46
|
if (t.every(
|
|
47
47
|
(i, a) => t.slice(a + 1).every(
|
|
48
|
-
(s) =>
|
|
48
|
+
(s) => U(i, s)
|
|
49
49
|
)
|
|
50
50
|
))
|
|
51
51
|
return [...t].sort(
|
|
@@ -55,7 +55,7 @@ function re(e) {
|
|
|
55
55
|
function y(e) {
|
|
56
56
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function P(e) {
|
|
59
59
|
if (typeof e != "string") return "";
|
|
60
60
|
const t = e.split(".").map((n) => n.trim());
|
|
61
61
|
return t.length > 1 && t.every(Boolean) ? t.join(".") : "";
|
|
@@ -125,9 +125,9 @@ function ce(e, t) {
|
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
127
|
function le(e, t) {
|
|
128
|
-
const n = y(e.fieldMeta) ? e.fieldMeta : void 0, i = typeof (n == null ? void 0 : n.qualifiedFieldName) == "string" ? n.qualifiedFieldName.trim() : "", a =
|
|
128
|
+
const n = y(e.fieldMeta) ? e.fieldMeta : void 0, i = typeof (n == null ? void 0 : n.qualifiedFieldName) == "string" ? n.qualifiedFieldName.trim() : "", a = P(
|
|
129
129
|
n == null ? void 0 : n.qualifiedFieldName
|
|
130
|
-
), s = typeof e.column == "string" ? e.column.trim() : "", r =
|
|
130
|
+
), s = typeof e.column == "string" ? e.column.trim() : "", r = P(s), o = typeof e.qualifiedTableName == "string" ? e.qualifiedTableName.trim() : "", c = N(
|
|
131
131
|
e.qualifiedTableName
|
|
132
132
|
);
|
|
133
133
|
if (i && !a || t && o && !c || s.includes(".") && !r)
|
|
@@ -196,13 +196,13 @@ function We(e, t) {
|
|
|
196
196
|
function $e(e, t) {
|
|
197
197
|
return `compat-card-control:${e}:${t}`;
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function x(e, t) {
|
|
200
200
|
if (e) return e;
|
|
201
201
|
const n = t === void 0 ? "unknown" : E(t);
|
|
202
202
|
return n === "number" || n === "unknown" ? "SUM" : "COUNT";
|
|
203
203
|
}
|
|
204
204
|
function ge(e) {
|
|
205
|
-
const t = e.aggregate ===
|
|
205
|
+
const t = e.aggregate === x(e.semanticAggregate, e.dataType);
|
|
206
206
|
return {
|
|
207
207
|
effectiveAggregate: e.aggregate,
|
|
208
208
|
aggregateSource: t ? e.semanticAggregate ? "semantic_model" : "default_sum" : "caller_override"
|
|
@@ -216,30 +216,30 @@ function ye(e, t, n) {
|
|
|
216
216
|
...i ? ge({ aggregate: t, semanticAggregate: e.semanticAggregate, dataType: e.dataType }) : {}
|
|
217
217
|
};
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function je(e, t, n) {
|
|
220
220
|
return { ...e, ...ye(e, t, n) };
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function Pe(e) {
|
|
223
223
|
return e.aggregate ?? e.effectiveAggregate;
|
|
224
224
|
}
|
|
225
225
|
function Re(e) {
|
|
226
226
|
if (!e.aggregate) return !1;
|
|
227
227
|
if (e.aggregateOrigin === "explicit" || e.aggregateSource === "caller_override") return !0;
|
|
228
228
|
if (e.aggregateSource) {
|
|
229
|
-
const t = e.aggregateSource === "default_sum" ?
|
|
229
|
+
const t = e.aggregateSource === "default_sum" ? x(void 0, e.dataType) : e.semanticAggregate ?? e.effectiveAggregate;
|
|
230
230
|
return t !== void 0 && e.aggregate !== t;
|
|
231
231
|
}
|
|
232
232
|
return e.aggregateOrigin !== "default";
|
|
233
233
|
}
|
|
234
234
|
const qe = ["label", "labelOrigin", "derivedLabel"];
|
|
235
|
-
function
|
|
235
|
+
function Le(e) {
|
|
236
236
|
return { label: e, labelOrigin: "override", derivedLabel: void 0 };
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function Ue(e, t) {
|
|
239
239
|
const { derivedLabel: n, ...i } = e;
|
|
240
240
|
return { ...i, label: t, labelOrigin: "override" };
|
|
241
241
|
}
|
|
242
|
-
function
|
|
242
|
+
function xe(e, t) {
|
|
243
243
|
return e.labelOrigin === "override" ? {} : { label: t, labelOrigin: "semantic" };
|
|
244
244
|
}
|
|
245
245
|
function ze(e) {
|
|
@@ -274,7 +274,7 @@ function pe(e, t) {
|
|
|
274
274
|
function he(e) {
|
|
275
275
|
return z(e) ? e : `%${e}%`;
|
|
276
276
|
}
|
|
277
|
-
function
|
|
277
|
+
function He(e, t) {
|
|
278
278
|
const { pattern: n, negate: i } = pe(e, t), a = n.length > 2 && n.startsWith("%") && n.endsWith("%") ? n.slice(1, -1) : void 0, s = a !== void 0 && !z(a) ? a : n;
|
|
279
279
|
if (he(s) === n)
|
|
280
280
|
return { operator: i ? "not_contains" : "contains", value: s };
|
|
@@ -391,7 +391,7 @@ function C(e, t, n, i = 0) {
|
|
|
391
391
|
function q(e, t, n) {
|
|
392
392
|
return C(e, t, n).start;
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function L(e, t, n) {
|
|
395
395
|
return new Date(C(e, t, n).endExclusive.getTime() - 1);
|
|
396
396
|
}
|
|
397
397
|
function ve(e, t, n, i) {
|
|
@@ -400,7 +400,7 @@ function ve(e, t, n, i) {
|
|
|
400
400
|
i.tz
|
|
401
401
|
);
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function Ze(e, t, n) {
|
|
404
404
|
const i = (a) => {
|
|
405
405
|
const { year: s, month: r, day: o } = F(a, n);
|
|
406
406
|
return h({ year: s, month: r, day: o, hour: 0, minute: 0, second: 0 });
|
|
@@ -412,14 +412,14 @@ function Ke(e, t) {
|
|
|
412
412
|
const { year: n, month: i, day: a } = F(e, t);
|
|
413
413
|
return `${String(n).padStart(4, "0")}-${String(i).padStart(2, "0")}-${String(a).padStart(2, "0")}`;
|
|
414
414
|
}
|
|
415
|
-
function
|
|
415
|
+
function H(e) {
|
|
416
416
|
const t = Ie.exec(e);
|
|
417
417
|
if (!t) return null;
|
|
418
418
|
const n = Number(t[1]), i = Number(t[2]), a = Number(t[3]);
|
|
419
419
|
return i < 1 || i > 12 || a < 1 || a > B(n, i) ? null : { year: n, month: i, day: a };
|
|
420
420
|
}
|
|
421
421
|
function Qe(e, t) {
|
|
422
|
-
const n =
|
|
422
|
+
const n = H(e);
|
|
423
423
|
if (!n) return null;
|
|
424
424
|
const i = { ...n, hour: 0, minute: 0, second: 0, millisecond: 0 };
|
|
425
425
|
return {
|
|
@@ -439,10 +439,10 @@ function Ge(e, t, n) {
|
|
|
439
439
|
} : e.complete ? { start: a(-e.n), end: i(-1) } : { start: ve(n, -e.n, e.unit, t), end: n };
|
|
440
440
|
case "this": {
|
|
441
441
|
if (e.boundary && e.unit === "month") {
|
|
442
|
-
const s = e.boundary === "first_day" ? q(n, "month", t) :
|
|
442
|
+
const s = e.boundary === "first_day" ? q(n, "month", t) : L(n, "month", t);
|
|
443
443
|
return {
|
|
444
444
|
start: q(s, "day", t),
|
|
445
|
-
end:
|
|
445
|
+
end: L(s, "day", t)
|
|
446
446
|
};
|
|
447
447
|
}
|
|
448
448
|
return { start: a(0), end: e.toDate ? n : i(0) };
|
|
@@ -460,7 +460,7 @@ function Ye(e) {
|
|
|
460
460
|
const a = Array.isArray(n) ? n : [n];
|
|
461
461
|
if (a.length !== 1 || typeof a[0] != "string") return null;
|
|
462
462
|
const s = a[0].trim();
|
|
463
|
-
return
|
|
463
|
+
return H(s) ? { operation: t, day: s } : null;
|
|
464
464
|
}
|
|
465
465
|
function Ae(e, t) {
|
|
466
466
|
const n = e.map((i, a) => `${t[a]} ${De(i)}`);
|
|
@@ -552,7 +552,7 @@ function Ve(e = {}) {
|
|
|
552
552
|
timeWindow: Ae([n, i, a], ["relative window", "calendar window", "absolute window"])
|
|
553
553
|
};
|
|
554
554
|
}
|
|
555
|
-
function
|
|
555
|
+
function Z(e) {
|
|
556
556
|
const { label: t, ...n } = e;
|
|
557
557
|
return {
|
|
558
558
|
dataset: te(n),
|
|
@@ -561,7 +561,7 @@ function H(e) {
|
|
|
561
561
|
}
|
|
562
562
|
function K(e) {
|
|
563
563
|
const { label: t, source: n, ...i } = e;
|
|
564
|
-
return { ...i, source: n &&
|
|
564
|
+
return { ...i, source: n && Z(n) };
|
|
565
565
|
}
|
|
566
566
|
function k(e) {
|
|
567
567
|
const {
|
|
@@ -626,7 +626,7 @@ function Q(e) {
|
|
|
626
626
|
function Je(e) {
|
|
627
627
|
return {
|
|
628
628
|
...e,
|
|
629
|
-
source:
|
|
629
|
+
source: Z(e.source),
|
|
630
630
|
rows: e.rows.map((t) => ({
|
|
631
631
|
...t,
|
|
632
632
|
field: S(t.field)
|
|
@@ -659,14 +659,14 @@ function Je(e) {
|
|
|
659
659
|
},
|
|
660
660
|
// Sort scopes are keyed overrides, unlike ordered axes/calculation inputs.
|
|
661
661
|
sorts: [...e.sorts].sort((t, n) => {
|
|
662
|
-
const i =
|
|
662
|
+
const i = j(t), a = j(n);
|
|
663
663
|
return i < a ? -1 : i > a ? 1 : 0;
|
|
664
664
|
})
|
|
665
665
|
};
|
|
666
666
|
}
|
|
667
667
|
export {
|
|
668
668
|
qe as A,
|
|
669
|
-
|
|
669
|
+
He as B,
|
|
670
670
|
O as C,
|
|
671
671
|
b as D,
|
|
672
672
|
w as E,
|
|
@@ -674,15 +674,15 @@ export {
|
|
|
674
674
|
_ as G,
|
|
675
675
|
be as H,
|
|
676
676
|
q as I,
|
|
677
|
-
|
|
678
|
-
|
|
677
|
+
L as J,
|
|
678
|
+
Ze as K,
|
|
679
679
|
Ke as L,
|
|
680
|
-
|
|
680
|
+
H as M,
|
|
681
681
|
Qe as N,
|
|
682
682
|
Ge as O,
|
|
683
683
|
Ye as P,
|
|
684
684
|
Ve as Q,
|
|
685
|
-
|
|
685
|
+
U as R,
|
|
686
686
|
Be as S,
|
|
687
687
|
re as T,
|
|
688
688
|
k as U,
|
|
@@ -698,19 +698,19 @@ export {
|
|
|
698
698
|
We as h,
|
|
699
699
|
Fe as i,
|
|
700
700
|
$e as j,
|
|
701
|
-
|
|
701
|
+
x as k,
|
|
702
702
|
ye as l,
|
|
703
703
|
ge as m,
|
|
704
|
-
|
|
704
|
+
Pe as n,
|
|
705
705
|
Re as o,
|
|
706
706
|
C as p,
|
|
707
|
-
|
|
707
|
+
Le as q,
|
|
708
708
|
fe as r,
|
|
709
709
|
ve as s,
|
|
710
|
-
|
|
711
|
-
|
|
710
|
+
Ue as t,
|
|
711
|
+
xe as u,
|
|
712
712
|
ze as v,
|
|
713
|
-
|
|
713
|
+
je as w,
|
|
714
714
|
z as x,
|
|
715
715
|
pe as y,
|
|
716
716
|
he as z
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { l as s, o as f, q as u } from "./validators-
|
|
2
|
-
import "./matrix-operation-contract-
|
|
3
|
-
import "./analytics-base-schemas-
|
|
1
|
+
import { l as s, o as f, q as u } from "./validators-CXTneCA4.js";
|
|
2
|
+
import "./matrix-operation-contract-WPv4R-H_.js";
|
|
3
|
+
import "./analytics-base-schemas-CHLxsPfX.js";
|
|
4
4
|
import "zod";
|
|
5
5
|
function c(i, r = {}) {
|
|
6
6
|
var o, e;
|