react-semaphor 0.1.553 → 0.1.555
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 +228 -227
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +3 -3
- package/dist/briefings/index.js +5 -5
- package/dist/chunks/{assistant-chat-DaIdRbbd.js → assistant-chat-8NZP6m-u.js} +12 -12
- package/dist/chunks/{bookmark-state-aGO7_ryE.js → bookmark-state-BAeGKd3s.js} +3 -3
- package/dist/chunks/{comparison-window-caption-BugAu7zS.js → comparison-window-caption-C2WNTlxK.js} +44 -44
- package/dist/chunks/{custom-visual-inputs-D7ez5sab.js → custom-visual-inputs-Gw-Ggg3O.js} +1 -1
- package/dist/chunks/{dashboard-z3GYw7xR.js → dashboard-Ds68ckO3.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-DBJ0xrfF.js → dashboard-briefing-launcher-DlTr-VGc.js} +13 -13
- package/dist/chunks/{dashboard-controls-CDX74NTl.js → dashboard-controls-oNXJZN6x.js} +13 -13
- package/dist/chunks/{dashboard-json-Cf5dpYTr.js → dashboard-json-CW7Q_efH.js} +4 -4
- package/dist/chunks/{document-dashboard-inputs-LMMWPOwU.js → document-dashboard-inputs-C21mL3ib.js} +10 -10
- package/dist/chunks/{edit-dashboard-visual-hCGiyxgm.js → edit-dashboard-visual-BnnT_oKR.js} +4087 -3979
- package/dist/chunks/{filter-reach-copy-BG5qVZKS.js → filter-reach-copy-DlNPHbE-.js} +13 -13
- package/dist/chunks/{filter-value-text-DwP5dN9m.js → filter-value-text-DMrpj4h9.js} +2 -2
- package/dist/chunks/{global-date-filter-utils-Ce6Ydv2W.js → global-date-filter-utils-7OboTgrM.js} +2358 -2301
- package/dist/chunks/{index-C_UIqop8.js → index-B2k6KtUN.js} +9 -9
- package/dist/chunks/{matrix-analytical-definition-cvzKdxPE.js → matrix-analytical-definition-DPVGg1mU.js} +12 -12
- package/dist/chunks/matrix-card-D9bsdAye.js +42 -0
- package/dist/chunks/{matrix-formatter-B27bz08Y.js → matrix-formatter-K2OVPJQI.js} +18 -18
- package/dist/chunks/{matrix-member-presentation-DyC-e9pD.js → matrix-member-presentation-DRWcJ8Mi.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-L_SiObB7.js → matrix-operation-contract--lMaLlpV.js} +64 -61
- package/dist/chunks/{metric-comparison-B5gyyW9k.js → metric-comparison-CYIt2F5X.js} +1 -1
- package/dist/chunks/{pivot-header-presentation-BQFfowp1.js → pivot-header-presentation-CX4fkRuG.js} +1 -1
- package/dist/chunks/{pivot-result-identity-dZIYsMrY.js → pivot-result-identity-BHJGZwIc.js} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-D0kSz5QX.js → pivot-result-lifecycle-BygCpOhk.js} +20 -20
- package/dist/chunks/{raw-temporal-presentation-BWRH754b.js → raw-temporal-presentation-CivONfcO.js} +6 -6
- package/dist/chunks/{report-preferences-dialog-DvabpYcC.js → report-preferences-dialog-D_KyuEFx.js} +15 -15
- package/dist/chunks/{report-runtime-context-CKiIubIu.js → report-runtime-context-BaIKSaja.js} +1 -1
- package/dist/chunks/{resolve-dashboard-input-context-Ctq1YCDV.js → resolve-dashboard-input-context-CIm9A8_j.js} +431 -429
- package/dist/chunks/{saved-dashboard-context-Bt1E9d1l.js → saved-dashboard-context-akb9JfOL.js} +8 -8
- package/dist/chunks/{selection-reducer-DdPwKDDQ.js → selection-reducer-yw_JgICP.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-Cc1TG_gw.js → semaphor-ready-indicator-Ba7dwP5_.js} +26 -26
- package/dist/chunks/{shelf-drop-preview-context-Ch9XqytU.js → shelf-drop-preview-context-5rg3pJHW.js} +6 -6
- package/dist/chunks/{source-entity-resolution-DkW3Iek5.js → source-entity-resolution-CGymm5td.js} +1 -1
- package/dist/chunks/{switch-gm7RW-PW.js → switch-B-UTI6v-.js} +2 -2
- package/dist/chunks/{table-export-sheet-C7bDdC8r.js → table-export-sheet-CgO6gaSM.js} +1 -1
- package/dist/chunks/{table-settings-CBm7G0yx.js → table-settings-DOT_Bv1m.js} +2 -2
- package/dist/chunks/{temporal-bucket-BikY3FFR.js → temporal-bucket-C4rqmwaQ.js} +24 -24
- package/dist/chunks/{token-types-B1p9F_wS.js → token-types-DYECHYGH.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-CZdDRUpc.js → use-create-flow-overlay-state-BHNs0wl7.js} +6 -6
- package/dist/chunks/{validators-BdBzm_EV.js → validators-ClKLGDGZ.js} +1078 -1056
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +21 -19
- package/dist/data-app-sdk/index.js +5 -5
- package/dist/data-app-sdk-adapters/index.js +2 -2
- package/dist/data-app-sdk-validation/index.js +5 -5
- package/dist/format-utils/index.js +15 -15
- package/dist/index.js +21 -21
- package/dist/report-runtime-context/index.js +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/index.js +6 -6
- package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +3 -2
- package/dist/types/lib/matrix-table/matrix-delivery.d.ts +4 -2
- package/dist/types/lib/utils/card-config-utils.d.ts +1 -1
- package/dist/types/lib/utils/card-definition.d.ts +2 -1
- package/dist/types/shared/analytics-protocol/index.d.ts +2 -2
- package/dist/types/shared/analytics-protocol/matrix-analytical-definition.d.ts +1 -0
- package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +59 -21
- package/dist/types/shared/analytics-protocol/matrix-operation-contract.d.ts +12 -7
- package/dist/types/shared/analytics-protocol/matrix-operation-request.d.ts +16 -9
- package/dist/types/shared/dashboard-authoring/index.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/legacy-table-routing.d.ts +14 -16
- package/dist/types/shared/dashboard-authoring/matrix-authoring.d.ts +4 -1
- package/dist/types/shared/dashboard-authoring/matrix-card.d.ts +8 -0
- package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +8 -4
- package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +4 -2
- package/package.json +1 -1
- package/dist/chunks/matrix-card-VFE-yDlr.js +0 -38
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
var Fe = Object.defineProperty;
|
|
2
2
|
var Re = (e, n, t) => n in e ? Fe(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
3
|
var L = (e, n, t) => Re(e, typeof n != "symbol" ? n + "" : n, t);
|
|
4
|
-
import { r as ae, q as se, j as Ne } from "./temporal-bucket-
|
|
5
|
-
import {
|
|
4
|
+
import { r as ae, q as se, j as Ne } from "./temporal-bucket-C4rqmwaQ.js";
|
|
5
|
+
import { Z as J, ac as Be, o as Me } from "./validators-ClKLGDGZ.js";
|
|
6
6
|
import { l as Le, C as Ue } from "./export-file-format-C-tJsxsf.js";
|
|
7
7
|
import { z as y } from "zod";
|
|
8
|
-
import { I as Pe, q as ze, o as Ve, P as B } from "./pivot-result-lifecycle-
|
|
9
|
-
import { af as je, ah as qe, U as Ke } from "./matrix-operation-contract
|
|
8
|
+
import { I as Pe, q as ze, o as Ve, P as B } from "./pivot-result-lifecycle-BygCpOhk.js";
|
|
9
|
+
import { af as je, ah as qe, U as Ke } from "./matrix-operation-contract--lMaLlpV.js";
|
|
10
10
|
import "./analytics-base-schemas-BKs3flFS.js";
|
|
11
11
|
import "../value-format-preferences/index.js";
|
|
12
12
|
import { r as He } from "./rendered-file-D8xEuVVx.js";
|
|
13
|
-
import { cR as Ge, cS as We, cT as Xe, r as Ze, n as Ye } from "./global-date-filter-utils-
|
|
14
|
-
import { r as Je } from "./matrix-card-
|
|
15
|
-
import { z as Qe } from "./table-settings-
|
|
16
|
-
import { r as et, a as tt, b as nt, c as rt, d as ot } from "./raw-temporal-presentation-
|
|
13
|
+
import { cR as Ge, cS as We, cT as Xe, r as Ze, n as Ye } from "./global-date-filter-utils-7OboTgrM.js";
|
|
14
|
+
import { r as Je } from "./matrix-card-D9bsdAye.js";
|
|
15
|
+
import { z as Qe } from "./table-settings-DOT_Bv1m.js";
|
|
16
|
+
import { r as et, a as tt, b as nt, c as rt, d as ot } from "./raw-temporal-presentation-CivONfcO.js";
|
|
17
17
|
import "./index-CtoK1Lgu.js";
|
|
18
18
|
import "./index-CuHybtft.js";
|
|
19
19
|
import "./_commonjsHelpers-DimLPMtv.js";
|
|
20
|
-
import { f as at, r as it, b as ct, g as lt } from "./custom-visual-inputs-
|
|
20
|
+
import { f as at, r as it, b as ct, g as lt } from "./custom-visual-inputs-Gw-Ggg3O.js";
|
|
21
21
|
const dt = /* @__PURE__ */ new Set([
|
|
22
22
|
"table",
|
|
23
23
|
"aggregateTable",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as G } from "./metric-comparison-
|
|
2
|
-
import {
|
|
1
|
+
import { r as G } from "./metric-comparison-CYIt2F5X.js";
|
|
2
|
+
import { ac as E, ax as Y, aw as V, ay as J, av as X, au as ee, a1 as $, Q as j, x as te } from "./validators-ClKLGDGZ.js";
|
|
3
3
|
import { b as ne, w as h, z as F } from "./zoned-wall-clock-MulfA26h.js";
|
|
4
4
|
import { z as u } from "zod";
|
|
5
5
|
import { c as ie } from "./analytics-base-schemas-BKs3flFS.js";
|
|
@@ -408,7 +408,7 @@ function He(e, t, n) {
|
|
|
408
408
|
return Math.round((i(t) - i(e)) / M);
|
|
409
409
|
}
|
|
410
410
|
const Ie = /^(\d{4})-(\d{2})-(\d{2})$/;
|
|
411
|
-
function
|
|
411
|
+
function Qe(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
|
}
|
|
@@ -418,7 +418,7 @@ function Z(e) {
|
|
|
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
|
-
function
|
|
421
|
+
function Ke(e, t) {
|
|
422
422
|
const n = Z(e);
|
|
423
423
|
if (!n) return null;
|
|
424
424
|
const i = { ...n, hour: 0, minute: 0, second: 0, millisecond: 0 };
|
|
@@ -559,7 +559,7 @@ function H(e) {
|
|
|
559
559
|
...e.kind === "physical" ? { dialect: e.dialect, connectionType: e.connectionType } : {}
|
|
560
560
|
};
|
|
561
561
|
}
|
|
562
|
-
function
|
|
562
|
+
function Q(e) {
|
|
563
563
|
const { label: t, source: n, ...i } = e;
|
|
564
564
|
return { ...i, source: n && H(n) };
|
|
565
565
|
}
|
|
@@ -577,7 +577,7 @@ function k(e) {
|
|
|
577
577
|
inputs: Object.fromEntries(
|
|
578
578
|
Object.entries(s).map(([o, c]) => [
|
|
579
579
|
o,
|
|
580
|
-
{ ...c, field:
|
|
580
|
+
{ ...c, field: Q(c.field) }
|
|
581
581
|
])
|
|
582
582
|
)
|
|
583
583
|
};
|
|
@@ -585,7 +585,7 @@ function k(e) {
|
|
|
585
585
|
function S(e) {
|
|
586
586
|
const { derivedField: t, ...n } = e;
|
|
587
587
|
return {
|
|
588
|
-
...
|
|
588
|
+
...Q(n),
|
|
589
589
|
derivedField: t && k(t)
|
|
590
590
|
};
|
|
591
591
|
}
|
|
@@ -611,7 +611,7 @@ function D(e) {
|
|
|
611
611
|
}
|
|
612
612
|
};
|
|
613
613
|
}
|
|
614
|
-
function
|
|
614
|
+
function K(e) {
|
|
615
615
|
return {
|
|
616
616
|
...e,
|
|
617
617
|
conditions: e.conditions.map(
|
|
@@ -620,7 +620,7 @@ function Q(e) {
|
|
|
620
620
|
field: D(n)
|
|
621
621
|
})
|
|
622
622
|
),
|
|
623
|
-
groups: e.groups.map(
|
|
623
|
+
groups: e.groups.map(K)
|
|
624
624
|
};
|
|
625
625
|
}
|
|
626
626
|
function Je(e) {
|
|
@@ -641,7 +641,7 @@ function Je(e) {
|
|
|
641
641
|
definition: k(t.definition)
|
|
642
642
|
}
|
|
643
643
|
),
|
|
644
|
-
filters: e.filters &&
|
|
644
|
+
filters: e.filters && K(e.filters),
|
|
645
645
|
joinPlan: e.joinPlan && {
|
|
646
646
|
...e.joinPlan,
|
|
647
647
|
// relationshipName participates in governed relationship resolution.
|
|
@@ -676,9 +676,9 @@ export {
|
|
|
676
676
|
q as I,
|
|
677
677
|
x as J,
|
|
678
678
|
He as K,
|
|
679
|
-
|
|
679
|
+
Qe as L,
|
|
680
680
|
Z as M,
|
|
681
|
-
|
|
681
|
+
Ke as N,
|
|
682
682
|
Ge as O,
|
|
683
683
|
Ye as P,
|
|
684
684
|
Ve as Q,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { l as s, o as f, q as u } from "./validators-ClKLGDGZ.js";
|
|
2
|
+
import "./matrix-operation-contract--lMaLlpV.js";
|
|
3
|
+
import "./analytics-base-schemas-BKs3flFS.js";
|
|
4
|
+
import "zod";
|
|
5
|
+
function c(i, r = {}) {
|
|
6
|
+
var o, e;
|
|
7
|
+
if (i.type !== "matrixTable" || !i.config || typeof i.config != "object" || !("matrix" in i.config)) return { status: "absent" };
|
|
8
|
+
if ((o = i.sql) != null && o.trim() || (e = i.python) != null && e.trim())
|
|
9
|
+
return { status: "invalid", error: new Error("A Matrix definition requires a config-only Matrix card.") };
|
|
10
|
+
if ("matrixIntent" in i.config && i.config.matrixIntent !== void 0) return { status: "invalid", error: new Error("A Matrix card cannot contain two definitions.") };
|
|
11
|
+
const t = (r.authoringDraft ? s : f).safeParse(i.config.matrix);
|
|
12
|
+
return t.success ? { status: "ready", config: t.data } : { status: "invalid", error: t.error };
|
|
13
|
+
}
|
|
14
|
+
function p(i) {
|
|
15
|
+
const r = c(i);
|
|
16
|
+
if (r.status === "invalid") throw r.error;
|
|
17
|
+
return r.status === "ready" ? r.config : void 0;
|
|
18
|
+
}
|
|
19
|
+
function d(i) {
|
|
20
|
+
const r = [], n = (t, o, e) => {
|
|
21
|
+
r.push({ field: t, place: o, ownerId: e }), t.derivedField && Object.values(t.derivedField.inputs).forEach((a) => n(a.field, "input", e));
|
|
22
|
+
};
|
|
23
|
+
return i.rows.forEach((t) => n(t.field, "row", t.id)), i.columns.forEach((t) => n(t.field, "column", t.id)), i.measures.forEach((t) => {
|
|
24
|
+
t.kind === "aggregate" ? n(t.field, "measure", t.id) : Object.values(t.definition.inputs).forEach((o) => n(o.field, "input", t.id));
|
|
25
|
+
}), r;
|
|
26
|
+
}
|
|
27
|
+
function m(i) {
|
|
28
|
+
return d(i).map((r) => r.field);
|
|
29
|
+
}
|
|
30
|
+
function v(i) {
|
|
31
|
+
return u([
|
|
32
|
+
i.source,
|
|
33
|
+
...m(i).map((r) => r.source ?? i.source)
|
|
34
|
+
]);
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
d as a,
|
|
38
|
+
v as b,
|
|
39
|
+
c as i,
|
|
40
|
+
m,
|
|
41
|
+
p as r
|
|
42
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./matrix-operation-contract
|
|
1
|
+
import { aJ as ge, t as U, ac as ye, T as we } from "./validators-ClKLGDGZ.js";
|
|
2
|
+
import "./matrix-operation-contract--lMaLlpV.js";
|
|
3
3
|
import { j as be } from "./analytics-base-schemas-BKs3flFS.js";
|
|
4
4
|
import "zod";
|
|
5
|
-
import { W as Me, X as se, S as Z, U as F, Y as oe, Z as ue, Q as xe, k as De, i as
|
|
5
|
+
import { W as Me, X as se, S as Z, U as F, Y as oe, Z as ue, Q as xe, k as De, i as I, F as pe, f as Oe, p as Te, r as ve, u as Pe, j as Se, m as ke } from "./temporal-bucket-C4rqmwaQ.js";
|
|
6
6
|
function d(e) {
|
|
7
7
|
const t = Object.prototype.toString.call(e);
|
|
8
8
|
return e instanceof Date || typeof e == "object" && t === "[object Date]" ? new e.constructor(+e) : typeof e == "number" || t === "[object Number]" || typeof e == "string" || t === "[object String]" ? new Date(e) : /* @__PURE__ */ new Date(NaN);
|
|
@@ -89,13 +89,13 @@ function _e(e) {
|
|
|
89
89
|
const t = d(e);
|
|
90
90
|
return t.setHours(23, 59, 59, 999), t;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function qe(e) {
|
|
93
93
|
const t = d(e), n = t.getMonth();
|
|
94
94
|
return t.setFullYear(t.getFullYear(), n + 1, 0), t.setHours(23, 59, 59, 999), t;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function Ie(e) {
|
|
97
97
|
const t = d(e);
|
|
98
|
-
return +_e(t) == +
|
|
98
|
+
return +_e(t) == +qe(t);
|
|
99
99
|
}
|
|
100
100
|
function Re(e, t) {
|
|
101
101
|
const n = d(e), r = d(t), a = N(n, r), i = Math.abs(
|
|
@@ -107,7 +107,7 @@ function Re(e, t) {
|
|
|
107
107
|
else {
|
|
108
108
|
n.getMonth() === 1 && n.getDate() > 27 && n.setDate(30), n.setMonth(n.getMonth() - a * i);
|
|
109
109
|
let o = N(n, r) === -a;
|
|
110
|
-
|
|
110
|
+
Ie(d(e)) && i === 1 && N(e, r) === 1 && (o = !1), s = a * (i - Number(o));
|
|
111
111
|
}
|
|
112
112
|
return s === 0 ? 0 : s;
|
|
113
113
|
}
|
|
@@ -1203,7 +1203,7 @@ function Et(e, t, n) {
|
|
|
1203
1203
|
const r = e[0] === "Y" ? "years" : "days of the month";
|
|
1204
1204
|
return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
|
|
1205
1205
|
}
|
|
1206
|
-
const Lt = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, zt = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Xt = /^'([^]*?)'?$/, _t = /''/g,
|
|
1206
|
+
const Lt = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, zt = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Xt = /^'([^]*?)'?$/, _t = /''/g, qt = /[a-zA-Z]/;
|
|
1207
1207
|
function R(e, t, n) {
|
|
1208
1208
|
var u, g, c, h, y, O, H, j;
|
|
1209
1209
|
const r = P(), a = (n == null ? void 0 : n.locale) ?? r.locale ?? fe, i = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((g = (u = n == null ? void 0 : n.locale) == null ? void 0 : u.options) == null ? void 0 : g.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((h = (c = r.locale) == null ? void 0 : c.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, s = (n == null ? void 0 : n.weekStartsOn) ?? ((O = (y = n == null ? void 0 : n.locale) == null ? void 0 : y.options) == null ? void 0 : O.weekStartsOn) ?? r.weekStartsOn ?? ((j = (H = r.locale) == null ? void 0 : H.options) == null ? void 0 : j.weekStartsOn) ?? 0, o = d(e);
|
|
@@ -1221,10 +1221,10 @@ function R(e, t, n) {
|
|
|
1221
1221
|
return { isToken: !1, value: "'" };
|
|
1222
1222
|
const w = b[0];
|
|
1223
1223
|
if (w === "'")
|
|
1224
|
-
return { isToken: !1, value:
|
|
1224
|
+
return { isToken: !1, value: It(b) };
|
|
1225
1225
|
if (B[w])
|
|
1226
1226
|
return { isToken: !0, value: b };
|
|
1227
|
-
if (w.match(
|
|
1227
|
+
if (w.match(qt))
|
|
1228
1228
|
throw new RangeError(
|
|
1229
1229
|
"Format string contains an unescaped latin alphabet character `" + w + "`"
|
|
1230
1230
|
);
|
|
@@ -1244,7 +1244,7 @@ function R(e, t, n) {
|
|
|
1244
1244
|
return z(o, w, a.localize, l);
|
|
1245
1245
|
}).join("");
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1247
|
+
function It(e) {
|
|
1248
1248
|
const t = e.match(Xt);
|
|
1249
1249
|
return t ? t[1].replace(_t, "'") : e;
|
|
1250
1250
|
}
|
|
@@ -1624,7 +1624,7 @@ function ne(e) {
|
|
|
1624
1624
|
}
|
|
1625
1625
|
function D(e, t, n) {
|
|
1626
1626
|
const r = { ...t, type: e };
|
|
1627
|
-
if ((n == null ? void 0 : n.numericInput) === "canonical" &&
|
|
1627
|
+
if ((n == null ? void 0 : n.numericInput) === "canonical" && I(r))
|
|
1628
1628
|
return ne(r);
|
|
1629
1629
|
const a = on(e, t, n), i = typeof t.prefix == "string" ? t.prefix : void 0, s = {
|
|
1630
1630
|
type: e,
|
|
@@ -1652,17 +1652,17 @@ function re(e) {
|
|
|
1652
1652
|
suffix: e.suffix
|
|
1653
1653
|
};
|
|
1654
1654
|
}
|
|
1655
|
-
function
|
|
1655
|
+
function q(e) {
|
|
1656
1656
|
return e === "millisecond" || e === "second" || e === "minute" || e === "hour" || e === "day";
|
|
1657
1657
|
}
|
|
1658
1658
|
function ae(e) {
|
|
1659
1659
|
const t = C(e.maxUnits);
|
|
1660
1660
|
return {
|
|
1661
1661
|
type: "duration",
|
|
1662
|
-
inputUnit:
|
|
1662
|
+
inputUnit: q(e.inputUnit) ? e.inputUnit : "second",
|
|
1663
1663
|
outputStyle: e.outputStyle === "digital" || e.outputStyle === "long" ? e.outputStyle : "compact",
|
|
1664
|
-
largestUnit:
|
|
1665
|
-
smallestUnit:
|
|
1664
|
+
largestUnit: q(e.largestUnit) ? e.largestUnit : void 0,
|
|
1665
|
+
smallestUnit: q(e.smallestUnit) ? e.smallestUnit : "second",
|
|
1666
1666
|
maxUnits: t,
|
|
1667
1667
|
prefix: e.prefix,
|
|
1668
1668
|
suffix: e.suffix,
|
|
@@ -1709,7 +1709,7 @@ function cn(e, t) {
|
|
|
1709
1709
|
const n = e;
|
|
1710
1710
|
if ((t == null ? void 0 : t.numericInput) === "canonical") {
|
|
1711
1711
|
const r = n.type === "percentage" ? { ...n, type: "percent" } : n;
|
|
1712
|
-
if (
|
|
1712
|
+
if (I(r))
|
|
1713
1713
|
return D(r.type, r, t);
|
|
1714
1714
|
}
|
|
1715
1715
|
if (n.type === "percentage")
|
|
@@ -1820,7 +1820,7 @@ function Pn(e, t, n) {
|
|
|
1820
1820
|
return y.ok ? y.text : g(h);
|
|
1821
1821
|
};
|
|
1822
1822
|
}
|
|
1823
|
-
if (
|
|
1823
|
+
if (I(u)) {
|
|
1824
1824
|
const c = Pe(u, n.valueFormat);
|
|
1825
1825
|
return o === "measures" && a.set(s.id, c), (h) => typeof h == "number" || typeof h == "object" && h !== null ? Se(h, c) : g(h);
|
|
1826
1826
|
}
|
package/dist/chunks/{matrix-operation-contract-L_SiObB7.js → matrix-operation-contract--lMaLlpV.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z as t } from "zod";
|
|
2
2
|
import { z as je, E as Fe, F as Le, I as Ue, J as qe, s as U, x as Z, n as De, C as Me, D as ce, f as Be, r as Ge, y as ze, m as Ve, o as We, t as le, u as Xe } from "./analytics-base-schemas-BKs3flFS.js";
|
|
3
|
-
import { I as w, A as ue,
|
|
4
|
-
const
|
|
3
|
+
import { I as w, A as ue, R as G, aO as ee, t as b, J as Ke, aH as $, aP as Ze, B as $e, s as He, x as de, a9 as Ye, r as Je, m as Qe } from "./validators-ClKLGDGZ.js";
|
|
4
|
+
const H = {
|
|
5
5
|
answerSummary: "string",
|
|
6
6
|
responseDetail: "responseDetail",
|
|
7
7
|
mode: "string",
|
|
@@ -275,7 +275,7 @@ const ut = t.object({
|
|
|
275
275
|
}).strict(), ge = t.object({
|
|
276
276
|
levels: t.array(ne).readonly(),
|
|
277
277
|
measures: t.array(ne).readonly()
|
|
278
|
-
}).strict(),
|
|
278
|
+
}).strict(), Y = t.object({
|
|
279
279
|
code: t.enum(st),
|
|
280
280
|
message: y,
|
|
281
281
|
/** Technical cause for dashboard owners; never shown as the primary copy. */
|
|
@@ -299,7 +299,7 @@ function ye(e) {
|
|
|
299
299
|
capabilities: mt,
|
|
300
300
|
pages: t.array(lt).readonly(),
|
|
301
301
|
blocks: t.array(e).readonly(),
|
|
302
|
-
failures: t.array(
|
|
302
|
+
failures: t.array(Y).readonly()
|
|
303
303
|
}).strict().superRefine((n, a) => {
|
|
304
304
|
const r = new Set(
|
|
305
305
|
n.descriptors.levels.map((i) => i.id)
|
|
@@ -366,7 +366,7 @@ function Ae(e) {
|
|
|
366
366
|
status: t.enum(["success", "partial"]),
|
|
367
367
|
window: e
|
|
368
368
|
}).strict(),
|
|
369
|
-
t.object({ status: t.literal("failed"), failure:
|
|
369
|
+
t.object({ status: t.literal("failed"), failure: Y }).strict()
|
|
370
370
|
]).superRefine((n, a) => {
|
|
371
371
|
const r = n;
|
|
372
372
|
if (r.status === "failed") return;
|
|
@@ -611,25 +611,25 @@ function kt(e) {
|
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
613
|
const wt = Object.fromEntries(
|
|
614
|
-
Object.entries(
|
|
614
|
+
Object.entries(H).map(
|
|
615
615
|
([e, n]) => [e, kt(n)]
|
|
616
616
|
)
|
|
617
617
|
), vt = t.object(wt).strict(), Tt = new Set(
|
|
618
|
-
Object.keys(
|
|
618
|
+
Object.keys(H)
|
|
619
619
|
);
|
|
620
620
|
function fn() {
|
|
621
621
|
return Object.keys(
|
|
622
|
-
|
|
622
|
+
H
|
|
623
623
|
);
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function Et(e) {
|
|
626
626
|
return Tt.has(e);
|
|
627
627
|
}
|
|
628
628
|
function gn(e) {
|
|
629
629
|
if (!e || typeof e != "object" || Array.isArray(e))
|
|
630
630
|
throw new Error("Semaphor analyze result must be an object.");
|
|
631
631
|
const a = Object.keys(e).filter(
|
|
632
|
-
(r) => !
|
|
632
|
+
(r) => !Et(r)
|
|
633
633
|
);
|
|
634
634
|
if (a.length)
|
|
635
635
|
throw new Error(
|
|
@@ -638,23 +638,23 @@ function gn(e) {
|
|
|
638
638
|
return vt.parse(e);
|
|
639
639
|
}
|
|
640
640
|
const Te = 100, F = "selection:";
|
|
641
|
-
function
|
|
641
|
+
function Ee(e) {
|
|
642
642
|
return [
|
|
643
643
|
de(e.source),
|
|
644
|
-
|
|
644
|
+
Ye(e.name),
|
|
645
645
|
e.sourceField ?? ""
|
|
646
646
|
].join("::");
|
|
647
647
|
}
|
|
648
648
|
function yn(e) {
|
|
649
649
|
return `${F}${e}`;
|
|
650
650
|
}
|
|
651
|
-
function
|
|
651
|
+
function Rt(e) {
|
|
652
652
|
return e.startsWith(F) && e.length > F.length;
|
|
653
653
|
}
|
|
654
654
|
function Sn(e) {
|
|
655
|
-
return
|
|
655
|
+
return Rt(e) ? e.slice(F.length) : void 0;
|
|
656
656
|
}
|
|
657
|
-
function
|
|
657
|
+
function Re(e) {
|
|
658
658
|
if (!e) return "";
|
|
659
659
|
const n = e.calendar.fiscalCalendar;
|
|
660
660
|
return JSON.stringify([
|
|
@@ -666,10 +666,10 @@ function Ee(e) {
|
|
|
666
666
|
}
|
|
667
667
|
function Ct(e) {
|
|
668
668
|
return JSON.stringify([
|
|
669
|
-
|
|
669
|
+
Ee(e.field),
|
|
670
670
|
e.operator,
|
|
671
671
|
e.operator === "isNull" ? null : e.value,
|
|
672
|
-
|
|
672
|
+
Re(e.temporalBucket)
|
|
673
673
|
]);
|
|
674
674
|
}
|
|
675
675
|
function se(e) {
|
|
@@ -681,7 +681,7 @@ function z(e) {
|
|
|
681
681
|
e.field.name,
|
|
682
682
|
e.operator,
|
|
683
683
|
e.operator === "isNull" ? null : e.value,
|
|
684
|
-
|
|
684
|
+
Re(e.temporalBucket)
|
|
685
685
|
]);
|
|
686
686
|
}
|
|
687
687
|
function oe(e) {
|
|
@@ -744,7 +744,7 @@ const Ot = t.union([
|
|
|
744
744
|
}), jt = t.object({
|
|
745
745
|
conditions: t.array(Pt).min(1)
|
|
746
746
|
}).strict().superRefine((e, n) => {
|
|
747
|
-
const a = e.conditions.map((r) =>
|
|
747
|
+
const a = e.conditions.map((r) => Ee(r.field));
|
|
748
748
|
new Set(a).size !== a.length && n.addIssue({
|
|
749
749
|
code: t.ZodIssueCode.custom,
|
|
750
750
|
message: "A tuple holds one condition per field.",
|
|
@@ -771,7 +771,7 @@ const Ot = t.union([
|
|
|
771
771
|
for (let a = 0; a < e.conditions.length; a += 1) {
|
|
772
772
|
const r = e.conditions[a];
|
|
773
773
|
e.conditions.findIndex(
|
|
774
|
-
(c, i) => i < a &&
|
|
774
|
+
(c, i) => i < a && He(c.field, r.field)
|
|
775
775
|
) !== -1 && n.addIssue({
|
|
776
776
|
code: t.ZodIssueCode.custom,
|
|
777
777
|
message: "A selection tuple can contain only one condition per field.",
|
|
@@ -782,7 +782,7 @@ const Ot = t.union([
|
|
|
782
782
|
id: t.string().min(1),
|
|
783
783
|
tuples: t.array(Lt).min(1).max(Te)
|
|
784
784
|
}).strict(), Ut = t.object({ key: t.string().min(1), nativeText: t.string().nullable() }).strict(), qt = t.object({
|
|
785
|
-
executionInstant: t.string().refine((e) =>
|
|
785
|
+
executionInstant: t.string().refine((e) => Je(e) !== null, {
|
|
786
786
|
message: "executionInstant must be an ISO instant"
|
|
787
787
|
}),
|
|
788
788
|
dataAnchors: t.array(Ut).default([])
|
|
@@ -830,6 +830,9 @@ const Ce = {
|
|
|
830
830
|
EVERY: "repeat_safe_other",
|
|
831
831
|
ANY_VALUE: "repeat_safe_other",
|
|
832
832
|
MODE: "other",
|
|
833
|
+
// Ordered-set percentiles; PostgreSQL's MEDIAN is PERCENTILE_CONT(0.5).
|
|
834
|
+
PERCENTILE_CONT: "other",
|
|
835
|
+
PERCENTILE_DISC: "other",
|
|
833
836
|
APPROX_QUANTILES: "other",
|
|
834
837
|
APPROX_QUANTILE: "other",
|
|
835
838
|
APPROX_TOP_COUNT: "other",
|
|
@@ -947,10 +950,10 @@ function W(e, n = /* @__PURE__ */ new Set()) {
|
|
|
947
950
|
if (e[p] === "(" && Mt(d)) {
|
|
948
951
|
let g = P(e, p);
|
|
949
952
|
const I = g - 1;
|
|
950
|
-
let
|
|
953
|
+
let R = g;
|
|
951
954
|
const T = e.slice(p + 1, g - 1);
|
|
952
955
|
let x = T.trim() ? 1 : 0;
|
|
953
|
-
for (let h = p + 1; h <
|
|
956
|
+
for (let h = p + 1; h < R - 1; h++)
|
|
954
957
|
e[h] === "'" || e[h] === '"' ? h = V(e, h) - 1 : e[h] === "(" ? h = P(e, h) - 1 : e[h] === "," && x++;
|
|
955
958
|
const C = /^\s*DISTINCT\b/i.test(T);
|
|
956
959
|
W(C ? T.replace(/^\s*DISTINCT\b/i, "") : T).calls.length > 0 && (s = !0);
|
|
@@ -958,16 +961,16 @@ function W(e, n = /* @__PURE__ */ new Set()) {
|
|
|
958
961
|
for (; ; ) {
|
|
959
962
|
const h = j(e, g);
|
|
960
963
|
if (!ie.test(e[h] || "")) break;
|
|
961
|
-
const N = M(e, h),
|
|
962
|
-
if (
|
|
964
|
+
const N = M(e, h), E = e.slice(h, N).toUpperCase(), u = j(e, N);
|
|
965
|
+
if (E === "WITHIN") {
|
|
963
966
|
const S = M(e, u), k = j(e, S);
|
|
964
967
|
if (e.slice(u, S).toUpperCase() === "GROUP" && e[k] === "(") {
|
|
965
|
-
g = P(e, k),
|
|
968
|
+
g = P(e, k), R = g;
|
|
966
969
|
continue;
|
|
967
970
|
}
|
|
968
971
|
}
|
|
969
|
-
if ((
|
|
970
|
-
A = A ||
|
|
972
|
+
if ((E === "FILTER" || E === "OVER") && e[u] === "(") {
|
|
973
|
+
A = A || E === "OVER", _ = _ || E === "FILTER", g = P(e, u);
|
|
971
974
|
continue;
|
|
972
975
|
}
|
|
973
976
|
break;
|
|
@@ -978,7 +981,7 @@ function W(e, n = /* @__PURE__ */ new Set()) {
|
|
|
978
981
|
distinct: C,
|
|
979
982
|
windowed: A,
|
|
980
983
|
tokens: Wt(e.slice(p, g)),
|
|
981
|
-
span: { start: l, end:
|
|
984
|
+
span: { start: l, end: R, argumentStart: p + 1, argumentEnd: I },
|
|
982
985
|
argumentCount: x,
|
|
983
986
|
filtered: _
|
|
984
987
|
}), c += `@${a.length - 1}`, l = g;
|
|
@@ -1168,7 +1171,7 @@ function $t(e) {
|
|
|
1168
1171
|
var n, a;
|
|
1169
1172
|
return ((n = e.derivedField) == null ? void 0 : n.computeStage) || ((a = e.calculatedFormula) == null ? void 0 : a.computeStage);
|
|
1170
1173
|
}
|
|
1171
|
-
const
|
|
1174
|
+
const J = {
|
|
1172
1175
|
stage: "aggregate",
|
|
1173
1176
|
calls: [],
|
|
1174
1177
|
windowed: !1,
|
|
@@ -1177,7 +1180,7 @@ const Q = {
|
|
|
1177
1180
|
outputType: "numeric",
|
|
1178
1181
|
identity: "unresolved",
|
|
1179
1182
|
unresolved: !0
|
|
1180
|
-
}, Pe = { ...
|
|
1183
|
+
}, Pe = { ...J, stage: "row" };
|
|
1181
1184
|
function K(e) {
|
|
1182
1185
|
return {
|
|
1183
1186
|
stage: "row",
|
|
@@ -1196,36 +1199,36 @@ function B(e, n) {
|
|
|
1196
1199
|
const a = (r = n.derivedField) == null ? void 0 : r.aggregationBehavior;
|
|
1197
1200
|
return !a || e.unresolved ? e : a === "additive" ? e.reaggregation.kind === "additive" ? e : { ...e, reaggregation: { kind: "additive" } } : { ...e, reaggregation: { kind: "none", reason: "declared" } };
|
|
1198
1201
|
}
|
|
1199
|
-
function
|
|
1200
|
-
if (!e) return
|
|
1202
|
+
function Ht(e, n) {
|
|
1203
|
+
if (!e) return J;
|
|
1201
1204
|
if (typeof e.expression == "string" && e.expression.trim()) {
|
|
1202
|
-
const r =
|
|
1205
|
+
const r = Q(e, n + 1);
|
|
1203
1206
|
return r === "row_input" ? "raw" : r.unresolved || r.stage === "aggregate" || r.outer ? r : "raw";
|
|
1204
1207
|
}
|
|
1205
1208
|
const a = X(e.aggregate);
|
|
1206
1209
|
return a ? K(a) : "raw";
|
|
1207
1210
|
}
|
|
1208
|
-
const
|
|
1209
|
-
function
|
|
1210
|
-
var
|
|
1211
|
-
if (n >
|
|
1211
|
+
const Yt = 12;
|
|
1212
|
+
function Q(e, n) {
|
|
1213
|
+
var E;
|
|
1214
|
+
if (n > Yt) return J;
|
|
1212
1215
|
const a = typeof e.expression == "string" ? e.expression.trim() : "";
|
|
1213
1216
|
if (!a)
|
|
1214
1217
|
return B(
|
|
1215
1218
|
K(X(e.aggregate) ?? "sum"),
|
|
1216
1219
|
e
|
|
1217
1220
|
);
|
|
1218
|
-
const r = W(a), s = ((
|
|
1221
|
+
const r = W(a), s = ((E = e.calculatedFormula) == null ? void 0 : E.inputFields) || [], c = (u) => {
|
|
1219
1222
|
const S = /^field_(\d+)$/.exec(u);
|
|
1220
1223
|
return S ? s[Number(S[1])] : void 0;
|
|
1221
1224
|
}, i = /* @__PURE__ */ new Map();
|
|
1222
1225
|
for (const u of r.tokensOutsideAggregates)
|
|
1223
|
-
i.has(u) || i.set(u,
|
|
1226
|
+
i.has(u) || i.set(u, Ht(c(u), n));
|
|
1224
1227
|
const l = r.calls.some(
|
|
1225
1228
|
(u) => u.tokens.some((S) => {
|
|
1226
1229
|
const k = c(S);
|
|
1227
1230
|
if (!(k != null && k.expression)) return !1;
|
|
1228
|
-
const L =
|
|
1231
|
+
const L = Q(k, n + 1);
|
|
1229
1232
|
return L !== "row_input" && (L.unresolved || L.stage === "aggregate");
|
|
1230
1233
|
})
|
|
1231
1234
|
), m = Array.from(i.values()).filter(
|
|
@@ -1240,10 +1243,10 @@ function J(e, n) {
|
|
|
1240
1243
|
const u = X(e.aggregate);
|
|
1241
1244
|
return u ? B(K(u), e) : "row_input";
|
|
1242
1245
|
}
|
|
1243
|
-
const I = !g || o || r.nestedAggregate || l || m.some((u) => u.unresolved) || r.calls.length === 0 && m.length === 0,
|
|
1246
|
+
const I = !g || o || r.nestedAggregate || l || m.some((u) => u.unresolved) || r.calls.length === 0 && m.length === 0, R = [
|
|
1244
1247
|
...r.calls.map((u) => ({ kind: u.kind, distinct: u.distinct })),
|
|
1245
1248
|
...m.flatMap((u) => u.calls)
|
|
1246
|
-
], T = r.windowed || m.some((u) => u.windowed), x = !I && !T &&
|
|
1249
|
+
], T = r.windowed || m.some((u) => u.windowed), x = !I && !T && R.every((u) => Oe.has(u.kind)), C = (u) => {
|
|
1247
1250
|
if (u.kind === "call") {
|
|
1248
1251
|
const k = r.calls[u.index];
|
|
1249
1252
|
return k ? xe(k.kind) : { kind: "none", reason: "unresolved" };
|
|
@@ -1268,7 +1271,7 @@ function J(e, n) {
|
|
|
1268
1271
|
return B(
|
|
1269
1272
|
{
|
|
1270
1273
|
stage: "aggregate",
|
|
1271
|
-
calls:
|
|
1274
|
+
calls: R,
|
|
1272
1275
|
windowed: T,
|
|
1273
1276
|
repeatSafe: x,
|
|
1274
1277
|
reaggregation: _,
|
|
@@ -1280,27 +1283,27 @@ function J(e, n) {
|
|
|
1280
1283
|
);
|
|
1281
1284
|
}
|
|
1282
1285
|
function vn(e) {
|
|
1283
|
-
const n =
|
|
1286
|
+
const n = Q(e, 0);
|
|
1284
1287
|
return n === "row_input" ? Pe : n;
|
|
1285
1288
|
}
|
|
1286
|
-
const
|
|
1287
|
-
intent:
|
|
1289
|
+
const Jt = t.object({
|
|
1290
|
+
intent: Qe,
|
|
1288
1291
|
matrixWindowRequest: pe
|
|
1289
|
-
}).strict(),
|
|
1292
|
+
}).strict(), Qt = t.object({
|
|
1290
1293
|
runtimeFilters: G.innerType().shape.filters,
|
|
1291
1294
|
runtimeSorts: G.innerType().shape.sorts.optional()
|
|
1292
1295
|
});
|
|
1293
1296
|
function Tn(e) {
|
|
1294
|
-
return
|
|
1297
|
+
return Qt.parse(e);
|
|
1295
1298
|
}
|
|
1296
1299
|
const en = {
|
|
1297
1300
|
// A window executes a governed statement set, not one compiled query.
|
|
1298
1301
|
compiledQuery: t.never().optional(),
|
|
1299
|
-
intent:
|
|
1302
|
+
intent: Jt.shape.intent,
|
|
1300
1303
|
resultShape: t.literal("matrix"),
|
|
1301
1304
|
result: be.optional(),
|
|
1302
|
-
metadata: t.object({ rowLimitExceeded: t.boolean(), matrixFailure:
|
|
1303
|
-
}, tn = ve.extend(en),
|
|
1305
|
+
metadata: t.object({ rowLimitExceeded: t.boolean(), matrixFailure: Y.optional() }).passthrough()
|
|
1306
|
+
}, tn = ve.extend(en), En = tn.superRefine((e, n) => {
|
|
1304
1307
|
e.status === "failed" == !!e.result && n.addIssue({ code: "custom", message: "Only answered or partial Matrix execution carries a window." }), e.result && e.status === "partial" != e.result.window.failures.length > 0 && n.addIssue({ code: "custom", message: "Matrix execution status must match acquired window failures." });
|
|
1305
1308
|
});
|
|
1306
1309
|
export {
|
|
@@ -1323,7 +1326,7 @@ export {
|
|
|
1323
1326
|
nt as P,
|
|
1324
1327
|
at as Q,
|
|
1325
1328
|
sn as R,
|
|
1326
|
-
|
|
1329
|
+
H as S,
|
|
1327
1330
|
on as T,
|
|
1328
1331
|
st as U,
|
|
1329
1332
|
cn as V,
|
|
@@ -1336,7 +1339,7 @@ export {
|
|
|
1336
1339
|
ut as a0,
|
|
1337
1340
|
dt as a1,
|
|
1338
1341
|
ne as a2,
|
|
1339
|
-
|
|
1342
|
+
Y as a3,
|
|
1340
1343
|
mt as a4,
|
|
1341
1344
|
Se as a5,
|
|
1342
1345
|
pt as a6,
|
|
@@ -1352,10 +1355,10 @@ export {
|
|
|
1352
1355
|
ae as ag,
|
|
1353
1356
|
At as ah,
|
|
1354
1357
|
hn as ai,
|
|
1355
|
-
|
|
1358
|
+
Qt as aj,
|
|
1356
1359
|
Tn as ak,
|
|
1357
|
-
|
|
1358
|
-
|
|
1360
|
+
En as al,
|
|
1361
|
+
Jt as am,
|
|
1359
1362
|
Sn as b,
|
|
1360
1363
|
An as c,
|
|
1361
1364
|
bt as d,
|
|
@@ -1363,7 +1366,7 @@ export {
|
|
|
1363
1366
|
_e as f,
|
|
1364
1367
|
fn as g,
|
|
1365
1368
|
ke as h,
|
|
1366
|
-
|
|
1369
|
+
Et as i,
|
|
1367
1370
|
we as j,
|
|
1368
1371
|
ve as k,
|
|
1369
1372
|
_t as l,
|
|
@@ -1372,11 +1375,11 @@ export {
|
|
|
1372
1375
|
be as o,
|
|
1373
1376
|
gn as p,
|
|
1374
1377
|
Te as q,
|
|
1375
|
-
|
|
1378
|
+
Ee as r,
|
|
1376
1379
|
_n as s,
|
|
1377
1380
|
yn as t,
|
|
1378
|
-
|
|
1379
|
-
|
|
1381
|
+
Rt as u,
|
|
1382
|
+
Re as v,
|
|
1380
1383
|
Ct as w,
|
|
1381
1384
|
se as x,
|
|
1382
1385
|
z as y,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as g, T as m, a as C } from "./analytics-base-schemas-BKs3flFS.js";
|
|
2
|
-
import { r as k } from "./validators-
|
|
2
|
+
import { r as k } from "./validators-ClKLGDGZ.js";
|
|
3
3
|
function w(e) {
|
|
4
4
|
const r = g.safeParse(e);
|
|
5
5
|
return r.success ? { ok: !0, value: r.data } : {
|