react-semaphor 0.1.561 → 0.1.562
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 +452 -429
- 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-CB3oFAXk.js → analytics-base-schemas-BaIQrEzX.js} +139 -134
- package/dist/chunks/{assistant-chat-DiVHY3Hw.js → assistant-chat-R_yT8xH4.js} +104 -104
- package/dist/chunks/{bookmark-impact-CR09dpkn.js → bookmark-impact-D4Kl4amw.js} +2 -2
- package/dist/chunks/{bookmark-state-BusLpkb7.js → bookmark-state-CWeoGbrx.js} +25 -25
- package/dist/chunks/{braces-u8VorWJc.js → braces-DzgoQC64.js} +1 -1
- package/dist/chunks/{comparison-window-caption-DDsIWJYT.js → comparison-window-caption-D1EUXzaR.js} +562 -437
- package/dist/chunks/{context-TUjw9eqr.js → context-R31TSL5V.js} +1 -1
- package/dist/chunks/{dashboard-BRdZBPqr.js → dashboard-Bp1y5oun.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-CgvTLndW.js → dashboard-briefing-launcher-S5FB3aUW.js} +155 -154
- package/dist/chunks/{dashboard-controls-B4vfSzTF.js → dashboard-controls-CfC_6Ztn.js} +970 -968
- package/dist/chunks/{dashboard-json-Y3MF59g7.js → dashboard-json-gYZT7ZQY.js} +5 -5
- package/dist/chunks/dates-DFY7Gfss.js +91 -0
- package/dist/chunks/{edit-dashboard-visual-DwjZcxj-.js → edit-dashboard-visual-u7OI_g8Q.js} +4636 -4681
- package/dist/chunks/{filter-reach-copy-bijwf_-b.js → filter-reach-copy-CvV7W5dd.js} +1470 -1101
- package/dist/chunks/{filter-value-text-DFnhwuEW.js → filter-value-text-CPwFkrMz.js} +11 -10
- package/dist/chunks/{global-date-filter-utils-BXgCpvQM.js → global-date-filter-utils-N1kcsOFE.js} +8997 -7417
- package/dist/chunks/{index-ClwbY3BL.js → index-CNGkfUp4.js} +91 -85
- package/dist/chunks/{layout-grid-CtvCBfOm.js → layout-grid-BM65viQh.js} +1 -1
- package/dist/chunks/{list-filter-BklYgciR.js → list-filter-BoeLBfL3.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-pU51-JmY.js → matrix-analytical-definition-hEucouWM.js} +4 -4
- package/dist/chunks/{matrix-card-CUorIB7Q.js → matrix-card-CCh9JjP1.js} +3 -3
- package/dist/chunks/{matrix-member-presentation-Df5UgCGN.js → matrix-member-presentation-DsAUbuoL.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-BSiGEXVC.js → matrix-operation-contract-DsLdFdSa.js} +339 -330
- package/dist/chunks/{metric-comparison-95aC0uEO.js → metric-comparison-Bnso1cm1.js} +2 -2
- package/dist/chunks/{model-change-B5wQhg5G.js → model-change-T1cRkh3m.js} +1 -1
- package/dist/chunks/{palette-DTnMhipt.js → palette-p1XSJFgB.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-Bo-86vwS.js → pivot-result-contract-expectations-B53jqszr.js} +5 -5
- package/dist/chunks/{pivot-result-identity-olvXJoB9.js → pivot-result-identity-Dq5jm-EC.js} +1 -1
- package/dist/chunks/{zoned-wall-clock-CGLVI40Q.js → raw-temporal-value-Bqz8wc7L.js} +97 -46
- package/dist/chunks/{report-preferences-dialog-C2YUIwKG.js → report-preferences-dialog-C4RAR8u5.js} +68 -63
- package/dist/chunks/{report-runtime-context-DoIUr3MP.js → report-runtime-context-BITkNSDa.js} +2 -2
- package/dist/chunks/{resolve-dashboard-input-context-q_iiNXE1.js → resolve-dashboard-input-context-DaDrZGuA.js} +3455 -1744
- package/dist/chunks/{save-DH4RyrnG.js → save-CHV1B1fL.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-8jqfI7hI.js → saved-dashboard-context-DFYBrE6O.js} +94 -95
- package/dist/chunks/{selection-filter-compiler-BKXmyLrS.js → selection-filter-compiler-CUDRnUxc.js} +19 -18
- package/dist/chunks/{selection-reducer-CV7K4FI6.js → selection-reducer-Bz5aywT4.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-E2XWyibu.js → semaphor-ready-indicator-Cfuafnem.js} +37067 -38400
- package/dist/chunks/{shelf-drop-preview-context-C29EUzDp.js → shelf-drop-preview-context-BR2GEYog.js} +81 -82
- package/dist/chunks/{source-entity-resolution-BXI3nQ5Z.js → source-entity-resolution-DdDVXFB8.js} +6 -6
- package/dist/chunks/{switch-balDSHc7.js → switch-BW4yXSYs.js} +3 -3
- package/dist/chunks/{table-export-sheet-CK8tvh4d.js → table-export-sheet-bSXxGn-v.js} +1 -1
- package/dist/chunks/{temporal-input-presentation-B77JsAzU.js → temporal-input-presentation-sk9gqLi6.js} +699 -741
- package/dist/chunks/{token-types-DhYH5YKb.js → token-types-BUK06hU2.js} +1 -1
- package/dist/chunks/{upload-Ufj8vjyn.js → upload-BnmuyPqW.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-9WsnzEO5.js → use-create-flow-overlay-state-DyzhWvRJ.js} +6 -6
- package/dist/chunks/{validators-BtaCFIEB.js → validators-BIM0FE31.js} +764 -885
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +2278 -3030
- package/dist/data-app-sdk/index.js +43 -43
- package/dist/data-app-sdk-adapters/index.js +3 -3
- package/dist/data-app-sdk-validation/index.js +22 -22
- package/dist/format-utils/index.js +215 -209
- package/dist/index.js +225 -224
- 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/briefings/attachment-outcomes.d.ts +1 -1
- package/dist/types/components/dashboard/dashboard-create-dialog.d.ts +23 -0
- package/dist/types/components/index.d.ts +1 -2
- package/dist/types/components/surfboard/filter/types.d.ts +3 -1
- package/dist/types/index.js +5 -5
- package/dist/types/lib/formatters/raw-temporal-presentation.d.ts +59 -2
- package/dist/types/lib/interactions/get-click-context-from-matrix.d.ts +5 -0
- package/dist/types/lib/interactions/get-click-context-from-table.d.ts +45 -0
- package/dist/types/lib/print/print-inputs.d.ts +2 -1
- package/dist/types/lib/query-context/assemble-card-query.d.ts +2 -0
- package/dist/types/lib/query-context/build-dashboard-execution-snapshot.d.ts +5 -0
- package/dist/types/lib/selection/selection-from-click-context.d.ts +41 -0
- package/dist/types/lib/types/common-types.d.ts +6 -0
- package/dist/types/lib/types/explorer-types.d.ts +7 -1
- package/dist/types/lib/types/interaction-types.d.ts +3 -1
- package/dist/types/lib/types/token-types.d.ts +0 -1
- package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +3 -1
- package/dist/types/shared/analytics-protocol/contracts.d.ts +9 -40
- package/dist/types/shared/analytics-protocol/selection-contract.d.ts +12 -2
- package/dist/types/shared/analytics-protocol/validators.d.ts +1 -2
- package/dist/types/shared/assistant-protocol/context.d.ts +8 -8
- package/dist/types/shared/dashboard-authoring/card-formats/sql-date-pattern.d.ts +7 -1
- package/dist/types/shared/dashboard-authoring/card-settings/card-display-write.d.ts +24 -0
- package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/card-settings/column-polarity-write.d.ts +5 -0
- package/dist/types/shared/dashboard-authoring/card-settings/index.d.ts +4 -2
- package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +15 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +12 -1
- package/dist/types/shared/dashboard-authoring/card-settings/views.d.ts +5 -3
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +3230 -4658
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +24 -2
- package/dist/types/shared/dashboard-authoring/changes/field-ref.d.ts +91 -0
- package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +7 -0
- package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +27 -1
- package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-create.d.ts +26 -0
- package/dist/types/shared/dashboard-authoring/click-to-filter-settings.d.ts +2 -1
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +10 -10
- package/dist/types/shared/dashboard-authoring/detail-date-presentation.d.ts +9 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +8 -6
- package/dist/types/shared/dashboard-authoring/measure-calculations/apply.d.ts +8 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/comparison.d.ts +16 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/dates.d.ts +41 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/index.d.ts +17 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/options.d.ts +63 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/read.d.ts +16 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/resolve.d.ts +79 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/schemas.d.ts +934 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/sentences.d.ts +4 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/set.d.ts +11 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/transform.d.ts +63 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/window-transforms.d.ts +60 -0
- package/dist/types/shared/dashboard-authoring/new-card.d.ts +12 -1
- package/dist/types/shared/dashboard-authoring/operations/apply-dashboard-operations.d.ts +2 -1
- package/dist/types/shared/dashboard-authoring/operations/operation-sentences.d.ts +46 -0
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +52 -2
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +13 -1
- package/dist/types/shared/dashboard-authoring/text-card-words/blocks.d.ts +58 -0
- package/dist/types/shared/dashboard-authoring/text-card-words/index.d.ts +55 -0
- package/dist/types/shared/dashboard-authoring/text-card-words/rich-content.d.ts +18 -0
- package/dist/types/shared/format-utils/document-print.d.ts +82 -0
- package/dist/types/shared/format-utils/index.d.ts +1 -0
- package/dist/types/shared/format-utils/raw-temporal.d.ts +2 -7
- package/dist/types/shared/temporal/index.d.ts +1 -0
- package/dist/types/shared/temporal/raw-temporal-equality.d.ts +19 -0
- package/dist/types/shared/temporal/raw-temporal-value.d.ts +29 -0
- package/dist/types/shared/temporal/zoned-wall-clock.d.ts +6 -0
- package/package.json +1 -1
- package/dist/chunks/custom-visual-inputs-DfolidZ9.js +0 -292
- package/dist/chunks/document-dashboard-inputs-CvBbFTUA.js +0 -1718
- package/dist/types/components/dashboard/ai-dashboard-create-dialog.d.ts +0 -38
- package/dist/types/components/dashboard/dashboard-create-template.d.ts +0 -10
- package/dist/types/lib/hooks/use-dashboard-authoring.d.ts +0 -49
- package/dist/types/shared/dashboard-authoring/artifact-compiler.d.ts +0 -6
- package/dist/types/shared/dashboard-authoring/contracts.d.ts +0 -106
- package/dist/types/shared/dashboard-authoring/protocol-adapter.d.ts +0 -7
- package/dist/types/shared/dashboard-authoring/source-matching.d.ts +0 -34
- package/dist/types/shared/dashboard-authoring/validators.d.ts +0 -2
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
var De = Object.defineProperty;
|
|
2
2
|
var _e = (e, n, t) => n in e ? De(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
3
|
var R = (e, n, t) => _e(e, typeof n != "symbol" ? n + "" : n, t);
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { as as Oe, W as Fe, ag as re, N as le, j as Ne, V as Re, R as N } from "./temporal-input-presentation-sk9gqLi6.js";
|
|
5
|
+
import { a9 as W, H as Me, o as Be } from "./validators-BIM0FE31.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 {
|
|
9
|
-
import "./analytics-base-schemas-
|
|
8
|
+
import { ah as Pe, aj as Ve, X as ze } from "./matrix-operation-contract-DsLdFdSa.js";
|
|
9
|
+
import "./analytics-base-schemas-BaIQrEzX.js";
|
|
10
10
|
import "../value-format-preferences/index.js";
|
|
11
11
|
import { r as je } from "./rendered-file-D8xEuVVx.js";
|
|
12
|
-
import {
|
|
13
|
-
import { r as
|
|
14
|
-
import { A as
|
|
15
|
-
import "./index-CJW5BdWT.js";
|
|
12
|
+
import { Q as qe, R as Ke, S as He, T as Ge, n as We, U as Xe, V as Ze, W as Ye, X as Je, Y as Qe, Z as et, _ as tt, $ as nt } from "./global-date-filter-utils-N1kcsOFE.js";
|
|
13
|
+
import { r as rt } from "./matrix-card-CCh9JjP1.js";
|
|
14
|
+
import { A as ot } from "./bookmark-state-CWeoGbrx.js";
|
|
16
15
|
import "./index-CuHybtft.js";
|
|
17
16
|
import "./_commonjsHelpers-DimLPMtv.js";
|
|
18
|
-
import
|
|
17
|
+
import "./index-CJW5BdWT.js";
|
|
18
|
+
import "./context-R31TSL5V.js";
|
|
19
19
|
const at = /* @__PURE__ */ new Set(["table", "detailTable"]), it = /* @__PURE__ */ new Set([
|
|
20
20
|
"bar",
|
|
21
21
|
"horizontalBar",
|
|
@@ -49,7 +49,7 @@ function qn(e) {
|
|
|
49
49
|
const n = it.has(e.type) && (e.type !== "custom" || !!((o = e.customCardPreferences) != null && o.url));
|
|
50
50
|
let t = !1;
|
|
51
51
|
try {
|
|
52
|
-
t = !!
|
|
52
|
+
t = !!rt(e);
|
|
53
53
|
} catch {
|
|
54
54
|
return { formats: [], defaultFormat: null };
|
|
55
55
|
}
|
|
@@ -226,7 +226,7 @@ function Yn(e) {
|
|
|
226
226
|
const n = (e == null ? void 0 : e.frameObject) ?? ((t = e == null ? void 0 : e.visual) == null ? void 0 : t.frameObject);
|
|
227
227
|
return de(ut(n));
|
|
228
228
|
}
|
|
229
|
-
class
|
|
229
|
+
class M extends Error {
|
|
230
230
|
constructor(t) {
|
|
231
231
|
const r = t.cardId ? `card "${t.cardId}"` : t.sheetId ? `sheet "${t.sheetId}"` : `dashboard "${t.dashboardId}"`;
|
|
232
232
|
super(
|
|
@@ -242,16 +242,16 @@ function ft(e, n) {
|
|
|
242
242
|
const t = [], r = /* @__PURE__ */ new Map();
|
|
243
243
|
for (const a of n) {
|
|
244
244
|
if (a.dashboardId !== e.id)
|
|
245
|
-
throw new
|
|
245
|
+
throw new M(a);
|
|
246
246
|
const i = (e.sheets || []).filter(
|
|
247
247
|
(l) => !a.sheetId || a.sheetId === l.id
|
|
248
248
|
);
|
|
249
249
|
if (a.sheetId && i.length === 0)
|
|
250
|
-
throw new
|
|
250
|
+
throw new M(a);
|
|
251
251
|
let c = !a.cardId;
|
|
252
252
|
for (const l of i) {
|
|
253
253
|
const m = (((o = l.document) == null ? void 0 : o.sections) || []).flatMap(
|
|
254
|
-
(p) =>
|
|
254
|
+
(p) => ot(p)
|
|
255
255
|
), s = (l.frames || []).flatMap(
|
|
256
256
|
(p) => pt(p, a.cardId)
|
|
257
257
|
);
|
|
@@ -275,7 +275,7 @@ function ft(e, n) {
|
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
if (!c)
|
|
278
|
-
throw new
|
|
278
|
+
throw new M(a);
|
|
279
279
|
}
|
|
280
280
|
return t;
|
|
281
281
|
}
|
|
@@ -283,14 +283,14 @@ function pt(e, n) {
|
|
|
283
283
|
var i;
|
|
284
284
|
const t = n ? (i = e.cards) == null ? void 0 : i.find((c) => c.id === n) : de(e);
|
|
285
285
|
if (!t) return [];
|
|
286
|
-
const r =
|
|
286
|
+
const r = Qe(e, t), o = (e.cards || []).filter(
|
|
287
287
|
(c) => {
|
|
288
288
|
var l;
|
|
289
289
|
return typeof ((l = c.customCardPreferences) == null ? void 0 : l.slotIndex) == "number";
|
|
290
290
|
}
|
|
291
|
-
).length > 1, a = r != null && (
|
|
292
|
-
return !r || !a ? [t] :
|
|
293
|
-
|
|
291
|
+
).length > 1, a = r != null && (et(r) === "multiple" || o);
|
|
292
|
+
return !r || !a ? [t] : tt(
|
|
293
|
+
nt({
|
|
294
294
|
frame: e,
|
|
295
295
|
configCard: r,
|
|
296
296
|
isMultiInputVisual: !0
|
|
@@ -333,16 +333,17 @@ function Jn(e) {
|
|
|
333
333
|
pivotByColumns: r == null ? void 0 : r.pivotByColumns,
|
|
334
334
|
detailColumns: p
|
|
335
335
|
});
|
|
336
|
-
for (const
|
|
337
|
-
const A =
|
|
336
|
+
for (const v of p) {
|
|
337
|
+
const A = Me(v.dataType);
|
|
338
338
|
if (A !== "date" && A !== "datetime") continue;
|
|
339
|
-
const F = g.get(
|
|
340
|
-
if (!F) throw new
|
|
339
|
+
const F = g.get(v);
|
|
340
|
+
if (!F) throw new M(a);
|
|
341
341
|
c.push({
|
|
342
342
|
scope: a,
|
|
343
343
|
target: { kind: "column", columnKey: F },
|
|
344
344
|
format: re({
|
|
345
|
-
|
|
345
|
+
// What the table draws: the stored format, or Automatic (ledger P7-07).
|
|
346
|
+
format: Ze(v),
|
|
346
347
|
preferences: e.valueFormatPreferences,
|
|
347
348
|
calendar: e.calendar
|
|
348
349
|
})
|
|
@@ -353,14 +354,14 @@ function Jn(e) {
|
|
|
353
354
|
Ye(n)
|
|
354
355
|
)) {
|
|
355
356
|
if (g.type !== "date") continue;
|
|
356
|
-
const
|
|
357
|
+
const v = Je(
|
|
357
358
|
g.dateFormat
|
|
358
359
|
);
|
|
359
|
-
|
|
360
|
+
v && c.push({
|
|
360
361
|
scope: a,
|
|
361
362
|
target: { kind: "column", columnKey: p },
|
|
362
363
|
format: re({
|
|
363
|
-
format:
|
|
364
|
+
format: v,
|
|
364
365
|
preferences: e.valueFormatPreferences,
|
|
365
366
|
calendar: e.calendar
|
|
366
367
|
})
|
|
@@ -595,7 +596,7 @@ function It(e) {
|
|
|
595
596
|
}
|
|
596
597
|
return { value: t, issues: n };
|
|
597
598
|
}
|
|
598
|
-
const
|
|
599
|
+
const B = [
|
|
599
600
|
"SUN",
|
|
600
601
|
"MON",
|
|
601
602
|
"TUE",
|
|
@@ -604,7 +605,7 @@ const M = [
|
|
|
604
605
|
"FRI",
|
|
605
606
|
"SAT"
|
|
606
607
|
], se = new Map(
|
|
607
|
-
|
|
608
|
+
B.map((e, n) => [e, n])
|
|
608
609
|
), U = [1, 2, 3, 4, 5], me = [1, 2, 3, 6, 12], ue = {
|
|
609
610
|
1: "first",
|
|
610
611
|
2: "second",
|
|
@@ -617,7 +618,7 @@ const M = [
|
|
|
617
618
|
minute: 0,
|
|
618
619
|
weekdays: [1]
|
|
619
620
|
}, C = { ok: !1, issue: "Choose a supported schedule." };
|
|
620
|
-
function
|
|
621
|
+
function Et(e) {
|
|
621
622
|
if (typeof e != "string" || e.length === 0 || e !== e.trim() || /^(?:(?:UTC|GMT)[+-]|[+-]\d{2}:\d{2}$)/.test(e))
|
|
622
623
|
return !1;
|
|
623
624
|
try {
|
|
@@ -626,7 +627,7 @@ function vt(e) {
|
|
|
626
627
|
return !1;
|
|
627
628
|
}
|
|
628
629
|
}
|
|
629
|
-
function
|
|
630
|
+
function vt(e) {
|
|
630
631
|
return Number.isInteger(e.minute) && e.minute >= 0 && e.minute <= 59 && Number.isInteger(e.hour) && e.hour >= 0 && e.hour <= 23;
|
|
631
632
|
}
|
|
632
633
|
function fe(e) {
|
|
@@ -658,16 +659,16 @@ function he(e, n) {
|
|
|
658
659
|
return e.every((t) => Dt(t, n));
|
|
659
660
|
}
|
|
660
661
|
function er(e) {
|
|
661
|
-
if (!
|
|
662
|
+
if (!vt(e))
|
|
662
663
|
throw new Error("Choose a valid schedule time.");
|
|
663
664
|
const n = `${e.minute} ${e.hour}`;
|
|
664
665
|
switch (e.frequency) {
|
|
665
666
|
case "daily":
|
|
666
|
-
return e.weekdaysOnly ? `${n} * * ${U.map((t) =>
|
|
667
|
+
return e.weekdaysOnly ? `${n} * * ${U.map((t) => B[t]).join(",")}` : `${n} * * *`;
|
|
667
668
|
case "weekly": {
|
|
668
669
|
const t = fe(e.weekdays);
|
|
669
670
|
if (!t) throw new Error("Choose at least one weekday.");
|
|
670
|
-
return `${n} * * ${t.map((r) =>
|
|
671
|
+
return `${n} * * ${t.map((r) => B[r]).join(",")}`;
|
|
671
672
|
}
|
|
672
673
|
case "monthly": {
|
|
673
674
|
if (!me.includes(e.interval) || !Number.isInteger(e.startMonth) || e.startMonth < 0 || e.startMonth >= e.interval)
|
|
@@ -685,7 +686,7 @@ function er(e) {
|
|
|
685
686
|
const { ordinal: r, weekday: o } = e.on;
|
|
686
687
|
if (!Number.isInteger(o) || o < 0 || o > 6 || !(r in ue))
|
|
687
688
|
throw new Error("Choose a valid weekday.");
|
|
688
|
-
const a =
|
|
689
|
+
const a = B[o];
|
|
689
690
|
return `${n} * ${t} ${r === -1 ? `${a}L` : `${a}#${r}`}`;
|
|
690
691
|
}
|
|
691
692
|
}
|
|
@@ -736,10 +737,10 @@ function ye(e) {
|
|
|
736
737
|
value: { frequency: "daily", hour: l, minute: c, weekdaysOnly: !1 }
|
|
737
738
|
};
|
|
738
739
|
if (a === "*" && o === "*" && !i.includes("#") && !i.endsWith("L")) {
|
|
739
|
-
const f = i.split(",").map((
|
|
740
|
-
if (f.some((
|
|
740
|
+
const f = i.split(",").map((v) => se.get(v));
|
|
741
|
+
if (f.some((v) => v === void 0)) return C;
|
|
741
742
|
const p = f, g = fe(p);
|
|
742
|
-
return !g || g.some((
|
|
743
|
+
return !g || g.some((v, A) => v !== p[A]) ? C : g.length === U.length && g.every((v, A) => v === U[A]) ? {
|
|
743
744
|
ok: !0,
|
|
744
745
|
value: { frequency: "daily", hour: l, minute: c, weekdaysOnly: !0 }
|
|
745
746
|
} : {
|
|
@@ -876,7 +877,7 @@ function Ot(e, n, t, r) {
|
|
|
876
877
|
}
|
|
877
878
|
function rr(e, n, t, r) {
|
|
878
879
|
const o = ye(e);
|
|
879
|
-
if (!o.ok || !
|
|
880
|
+
if (!o.ok || !Et(n)) return [];
|
|
880
881
|
const a = o.value, i = new Intl.DateTimeFormat("en-US", {
|
|
881
882
|
timeZone: n,
|
|
882
883
|
hourCycle: "h23",
|
|
@@ -910,12 +911,17 @@ const Ft = Object.freeze([
|
|
|
910
911
|
"EXPORT_COUNT_UNAVAILABLE",
|
|
911
912
|
"EXPORT_NO_ROWS",
|
|
912
913
|
// A dashboard sheet too tall for one image (PNG exports PN-D7).
|
|
913
|
-
"IMAGE_TOO_LARGE"
|
|
914
|
+
"IMAGE_TOO_LARGE",
|
|
915
|
+
// A Document attachment, always a PDF (Document PDF reliability C2).
|
|
916
|
+
"DOCUMENT_PAGE_OVERFLOW",
|
|
917
|
+
"DOCUMENT_ROW_LIMIT_EXCEEDED",
|
|
918
|
+
"DOCUMENT_SECTION_SETUP",
|
|
919
|
+
"REPORT_INPUTS_MISSING"
|
|
914
920
|
]), Nt = new Set(Ft);
|
|
915
921
|
function Rt(e) {
|
|
916
922
|
return typeof e == "string" && Nt.has(e);
|
|
917
923
|
}
|
|
918
|
-
function
|
|
924
|
+
function Mt(e) {
|
|
919
925
|
if (!e || typeof e != "object" || Array.isArray(e)) return null;
|
|
920
926
|
const n = e;
|
|
921
927
|
return typeof n.index != "number" || !Number.isInteger(n.index) || n.index < 0 || typeof n.title != "string" || !be.includes(n.format) || !Rt(n.code) || typeof n.reason != "string" || typeof n.diagnostic != "string" ? null : {
|
|
@@ -931,7 +937,7 @@ function or(e) {
|
|
|
931
937
|
if (!e || typeof e != "object" || Array.isArray(e)) return [];
|
|
932
938
|
const n = e.omittedAttachments;
|
|
933
939
|
return Array.isArray(n) ? n.flatMap((t) => {
|
|
934
|
-
const r =
|
|
940
|
+
const r = Mt(t);
|
|
935
941
|
return r ? [r] : [];
|
|
936
942
|
}) : [];
|
|
937
943
|
}
|
|
@@ -944,12 +950,12 @@ function ir(e) {
|
|
|
944
950
|
...e.analyticalBriefingsEnabled ? ["analytical_briefing"] : []
|
|
945
951
|
] : [];
|
|
946
952
|
}
|
|
947
|
-
function
|
|
953
|
+
function Bt(e) {
|
|
948
954
|
const n = (e == null ? void 0 : e.channels) ?? [];
|
|
949
955
|
return n.length === 1 && n[0] === "EMAIL";
|
|
950
956
|
}
|
|
951
957
|
function Lt(e) {
|
|
952
|
-
return e.body.type === "generated_analysis" ? "Analytical briefing" : e.body.type === "custom_message" && e.attachments.length > 0 &&
|
|
958
|
+
return e.body.type === "generated_analysis" ? "Analytical briefing" : e.body.type === "custom_message" && e.attachments.length > 0 && Bt(e.deliveryConfig) ? e.scheduleExpr ? "Scheduled report" : "On-demand report" : "Plain briefing";
|
|
953
959
|
}
|
|
954
960
|
function cr(e) {
|
|
955
961
|
const n = Lt(e), t = n === "Scheduled report" || n === "On-demand report" ? "report" : "briefing";
|
|
@@ -1089,14 +1095,14 @@ class P extends Error {
|
|
|
1089
1095
|
this.name = "BriefingContractError", this.issues = t;
|
|
1090
1096
|
}
|
|
1091
1097
|
}
|
|
1092
|
-
function
|
|
1098
|
+
function Ee(e) {
|
|
1093
1099
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
1094
1100
|
}
|
|
1095
1101
|
function d(e, n, t) {
|
|
1096
1102
|
e.push({ field: n, message: t });
|
|
1097
1103
|
}
|
|
1098
|
-
function
|
|
1099
|
-
return
|
|
1104
|
+
function E(e, n, t) {
|
|
1105
|
+
return Ee(e) ? e : (d(t, n, "Expected an object."), {});
|
|
1100
1106
|
}
|
|
1101
1107
|
function h(e, n, t, r) {
|
|
1102
1108
|
const o = new Set(t);
|
|
@@ -1165,10 +1171,10 @@ function tn(e, n) {
|
|
|
1165
1171
|
function nn(e) {
|
|
1166
1172
|
return e.includes("@") && e.includes(".") && !e.includes(" ");
|
|
1167
1173
|
}
|
|
1168
|
-
function
|
|
1174
|
+
function ve(e, n) {
|
|
1169
1175
|
if (e == null)
|
|
1170
1176
|
return { type: "project" };
|
|
1171
|
-
const t =
|
|
1177
|
+
const t = E(e, "source", n), r = t.type;
|
|
1172
1178
|
return r === "project" ? (h(t, "source", ["type"], n), { type: "project" }) : r === "dashboard" ? (h(t, "source", ["type", "dashboardId"], n), {
|
|
1173
1179
|
type: "dashboard",
|
|
1174
1180
|
dashboardId: b(
|
|
@@ -1180,7 +1186,7 @@ function Ee(e, n) {
|
|
|
1180
1186
|
}) : (d(n, "source.type", "Expected project or dashboard."), { type: "project" });
|
|
1181
1187
|
}
|
|
1182
1188
|
function $e(e, n) {
|
|
1183
|
-
const t =
|
|
1189
|
+
const t = E(e, "body", n), r = t.type;
|
|
1184
1190
|
return r === "generated_analysis" ? (h(t, "body", ["type", "instruction"], n), {
|
|
1185
1191
|
type: "generated_analysis",
|
|
1186
1192
|
instruction: b(
|
|
@@ -1234,7 +1240,7 @@ function Ce(e, n) {
|
|
|
1234
1240
|
includeEvidence: !0,
|
|
1235
1241
|
includeSql: !0
|
|
1236
1242
|
};
|
|
1237
|
-
const t =
|
|
1243
|
+
const t = E(e, "presentation", n);
|
|
1238
1244
|
h(
|
|
1239
1245
|
t,
|
|
1240
1246
|
"presentation",
|
|
@@ -1301,7 +1307,7 @@ function on(e, n, t) {
|
|
|
1301
1307
|
).filter(Boolean)) : (d(t, n, "Expected an array."), []);
|
|
1302
1308
|
}
|
|
1303
1309
|
function an(e, n, t) {
|
|
1304
|
-
const r =
|
|
1310
|
+
const r = E(e, n, t);
|
|
1305
1311
|
if (r.kind === "metric")
|
|
1306
1312
|
return h(r, n, ["kind", "metricId"], t), {
|
|
1307
1313
|
kind: "metric",
|
|
@@ -1341,7 +1347,7 @@ function an(e, n, t) {
|
|
|
1341
1347
|
function xe(e, n, t) {
|
|
1342
1348
|
if (e === null || typeof e != "object" || Array.isArray(e))
|
|
1343
1349
|
return;
|
|
1344
|
-
const r =
|
|
1350
|
+
const r = E(e, n, t);
|
|
1345
1351
|
if (!Object.prototype.hasOwnProperty.call(r, "target") && !Object.prototype.hasOwnProperty.call(r, "format"))
|
|
1346
1352
|
return;
|
|
1347
1353
|
h(r, n, ["value", "target", "format"], t), (typeof r.value != "number" || !Number.isFinite(r.value)) && d(t, `${n}.value`, "Expected a finite number.");
|
|
@@ -1401,7 +1407,7 @@ function ln(e, n, t) {
|
|
|
1401
1407
|
);
|
|
1402
1408
|
const r = /* @__PURE__ */ new Set();
|
|
1403
1409
|
return e.slice(0, $.maxTableColumns).map((o, a) => {
|
|
1404
|
-
const i = `${n}.${a}`, c =
|
|
1410
|
+
const i = `${n}.${a}`, c = E(o, i, t);
|
|
1405
1411
|
h(c, i, ["key", "label", "kind", "align"], t);
|
|
1406
1412
|
const l = b(
|
|
1407
1413
|
c.key,
|
|
@@ -1446,7 +1452,7 @@ function dn(e, n, t, r) {
|
|
|
1446
1452
|
);
|
|
1447
1453
|
const o = new Set(t.map((a) => a.key).filter(Boolean));
|
|
1448
1454
|
return e.slice(0, $.maxTableRows).map((a, i) => {
|
|
1449
|
-
const c = `${n}.${i}`, l =
|
|
1455
|
+
const c = `${n}.${i}`, l = E(a, c, r);
|
|
1450
1456
|
return Object.keys(l).forEach((m) => {
|
|
1451
1457
|
o.has(m) || d(r, `${c}.${m}`, `Unexpected table cell "${m}".`);
|
|
1452
1458
|
}), Object.fromEntries(
|
|
@@ -1458,7 +1464,7 @@ function dn(e, n, t, r) {
|
|
|
1458
1464
|
});
|
|
1459
1465
|
}
|
|
1460
1466
|
function sn(e, n, t) {
|
|
1461
|
-
const r = `content.blocks.${n}`, o =
|
|
1467
|
+
const r = `content.blocks.${n}`, o = E(e, r, t), a = o.type;
|
|
1462
1468
|
if (a === "heading") {
|
|
1463
1469
|
h(o, r, ["type", "text", "level", "evidenceIds"], t);
|
|
1464
1470
|
const i = o.level === void 0 || o.level === null ? void 0 : o.level === 2 || o.level === 3 ? o.level : void 0;
|
|
@@ -1604,7 +1610,7 @@ function sn(e, n, t) {
|
|
|
1604
1610
|
`Must have ${$.maxKpiTiles} tiles or fewer.`
|
|
1605
1611
|
);
|
|
1606
1612
|
const l = c.slice(0, $.maxKpiTiles).map((s, f) => {
|
|
1607
|
-
const p = `${r}.tiles.${f}`, g =
|
|
1613
|
+
const p = `${r}.tiles.${f}`, g = E(s, p, t);
|
|
1608
1614
|
h(
|
|
1609
1615
|
g,
|
|
1610
1616
|
p,
|
|
@@ -1619,12 +1625,12 @@ function sn(e, n, t) {
|
|
|
1619
1625
|
],
|
|
1620
1626
|
t
|
|
1621
1627
|
);
|
|
1622
|
-
const
|
|
1628
|
+
const v = w(
|
|
1623
1629
|
g.value,
|
|
1624
1630
|
`${p}.value`,
|
|
1625
1631
|
t
|
|
1626
1632
|
) ?? "";
|
|
1627
|
-
|
|
1633
|
+
v === "" && d(
|
|
1628
1634
|
t,
|
|
1629
1635
|
`${p}.value`,
|
|
1630
1636
|
"Expected a non-empty string, number, or structured numeric value."
|
|
@@ -1658,7 +1664,7 @@ function sn(e, n, t) {
|
|
|
1658
1664
|
u.contentTitle,
|
|
1659
1665
|
t
|
|
1660
1666
|
),
|
|
1661
|
-
value:
|
|
1667
|
+
value: v,
|
|
1662
1668
|
...A !== void 0 ? { previousValue: A } : {},
|
|
1663
1669
|
...F !== void 0 ? { delta: F } : {},
|
|
1664
1670
|
...ee !== void 0 ? { percentChange: ee } : {},
|
|
@@ -1784,7 +1790,7 @@ function sn(e, n, t) {
|
|
|
1784
1790
|
};
|
|
1785
1791
|
}
|
|
1786
1792
|
function mn(e) {
|
|
1787
|
-
const n = [], t =
|
|
1793
|
+
const n = [], t = E(e, "content", n);
|
|
1788
1794
|
h(t, "content", ["version", "title", "summary", "blocks"], n), t.version !== 1 && d(n, "content.version", "Expected version 1.");
|
|
1789
1795
|
const r = I(
|
|
1790
1796
|
t.title,
|
|
@@ -1846,7 +1852,7 @@ function un(e, n, t) {
|
|
|
1846
1852
|
}
|
|
1847
1853
|
function fn(e, n, t) {
|
|
1848
1854
|
if (e != null) {
|
|
1849
|
-
if (!
|
|
1855
|
+
if (!Ee(e)) {
|
|
1850
1856
|
d(t, n, "Expected an object.");
|
|
1851
1857
|
return;
|
|
1852
1858
|
}
|
|
@@ -1856,13 +1862,13 @@ function fn(e, n, t) {
|
|
|
1856
1862
|
function pn(e, n, t) {
|
|
1857
1863
|
if (e == null)
|
|
1858
1864
|
return;
|
|
1859
|
-
const r =
|
|
1865
|
+
const r = E(e, n, t);
|
|
1860
1866
|
h(r, n, Jt, t);
|
|
1861
1867
|
const o = {};
|
|
1862
1868
|
if (r.matrix !== void 0) {
|
|
1863
|
-
const s =
|
|
1869
|
+
const s = E(r.matrix, `${n}.matrix`, t);
|
|
1864
1870
|
h(s, `${n}.matrix`, ["config", "content"], t);
|
|
1865
|
-
const f =
|
|
1871
|
+
const f = Be.safeParse(s.config);
|
|
1866
1872
|
f.success || d(t, `${n}.matrix.config`, "Expected a valid Matrix definition.");
|
|
1867
1873
|
const p = k(
|
|
1868
1874
|
s.content,
|
|
@@ -1974,7 +1980,7 @@ function K(e, n, t, r) {
|
|
|
1974
1980
|
), o && (e.settings = o), e;
|
|
1975
1981
|
}
|
|
1976
1982
|
function hn(e, n, t) {
|
|
1977
|
-
const r = `attachments.${n}`, o =
|
|
1983
|
+
const r = `attachments.${n}`, o = E(e, r, t), a = o.type;
|
|
1978
1984
|
if (a === "dashboard") {
|
|
1979
1985
|
h(
|
|
1980
1986
|
o,
|
|
@@ -2121,7 +2127,7 @@ function Te(e, n) {
|
|
|
2121
2127
|
function Se(e, n) {
|
|
2122
2128
|
if (e == null)
|
|
2123
2129
|
return;
|
|
2124
|
-
const t =
|
|
2130
|
+
const t = E(e, "limits", n);
|
|
2125
2131
|
h(t, "limits", Object.keys(j), n);
|
|
2126
2132
|
const r = {};
|
|
2127
2133
|
return Object.keys(j).forEach((o) => {
|
|
@@ -2174,7 +2180,7 @@ function gn(e, n, t) {
|
|
|
2174
2180
|
});
|
|
2175
2181
|
}
|
|
2176
2182
|
function Ae(e) {
|
|
2177
|
-
const n = [], t =
|
|
2183
|
+
const n = [], t = E(e, "jobConfig", n);
|
|
2178
2184
|
h(
|
|
2179
2185
|
t,
|
|
2180
2186
|
"jobConfig",
|
|
@@ -2203,7 +2209,7 @@ function Ae(e) {
|
|
|
2203
2209
|
m instanceof Error ? m.message : "Invalid presentation snapshot."
|
|
2204
2210
|
);
|
|
2205
2211
|
}
|
|
2206
|
-
const o =
|
|
2212
|
+
const o = ve(t.source, n), a = $e(t.body, n), i = Te(t.attachments, n), c = Ce(t.presentation, n), l = Se(t.limits, n);
|
|
2207
2213
|
return ke(a, i, n), gn(
|
|
2208
2214
|
r == null ? void 0 : r.resolvedFormats,
|
|
2209
2215
|
i,
|
|
@@ -2225,7 +2231,7 @@ function sr(e) {
|
|
|
2225
2231
|
});
|
|
2226
2232
|
}
|
|
2227
2233
|
function J(e, n, t, r = "deliveryConfig.recipients") {
|
|
2228
|
-
const o = `${r}.${n}`, a =
|
|
2234
|
+
const o = `${r}.${n}`, a = E(e, o, t), i = a.type;
|
|
2229
2235
|
if (i === "email") {
|
|
2230
2236
|
h(a, o, ["type", "address", "name"], t);
|
|
2231
2237
|
const c = b(
|
|
@@ -2296,10 +2302,10 @@ function In(e, n) {
|
|
|
2296
2302
|
t.includes(r) || t.push(r);
|
|
2297
2303
|
}), t;
|
|
2298
2304
|
}
|
|
2299
|
-
function
|
|
2305
|
+
function En(e, n, t) {
|
|
2300
2306
|
if (e == null)
|
|
2301
2307
|
return;
|
|
2302
|
-
const r =
|
|
2308
|
+
const r = E(e, n, t), o = {};
|
|
2303
2309
|
return Object.entries(r).forEach(([a, i]) => {
|
|
2304
2310
|
if (typeof i != "string") {
|
|
2305
2311
|
d(t, `${n}.${a}`, "Expected a string.");
|
|
@@ -2308,17 +2314,17 @@ function vn(e, n, t) {
|
|
|
2308
2314
|
o[a] = i.trim();
|
|
2309
2315
|
}), Object.keys(o).length > 0 ? o : void 0;
|
|
2310
2316
|
}
|
|
2311
|
-
function
|
|
2317
|
+
function vn(e, n, t) {
|
|
2312
2318
|
if (e == null)
|
|
2313
2319
|
return;
|
|
2314
|
-
const r =
|
|
2320
|
+
const r = E(e, n, t);
|
|
2315
2321
|
h(
|
|
2316
2322
|
r,
|
|
2317
2323
|
n,
|
|
2318
2324
|
["url", "method", "headers", "secretEncrypted"],
|
|
2319
2325
|
t
|
|
2320
2326
|
);
|
|
2321
|
-
const o = r.method === void 0 || r.method === null ? void 0 : L(r.method, `${n}.method`, ["POST", "PUT"], t), a =
|
|
2327
|
+
const o = r.method === void 0 || r.method === null ? void 0 : L(r.method, `${n}.method`, ["POST", "PUT"], t), a = En(r.headers, `${n}.headers`, t), i = I(
|
|
2322
2328
|
r.secretEncrypted,
|
|
2323
2329
|
`${n}.secretEncrypted`,
|
|
2324
2330
|
2e3,
|
|
@@ -2332,7 +2338,7 @@ function En(e, n, t) {
|
|
|
2332
2338
|
};
|
|
2333
2339
|
}
|
|
2334
2340
|
function $n(e, n, t) {
|
|
2335
|
-
const r =
|
|
2341
|
+
const r = E(e, n, t), o = r.type;
|
|
2336
2342
|
if (o === "channel") {
|
|
2337
2343
|
h(
|
|
2338
2344
|
r,
|
|
@@ -2387,7 +2393,7 @@ function Cn(e, n, t) {
|
|
|
2387
2393
|
function xn(e, n, t) {
|
|
2388
2394
|
if (e == null)
|
|
2389
2395
|
return;
|
|
2390
|
-
const r =
|
|
2396
|
+
const r = E(e, n, t);
|
|
2391
2397
|
h(
|
|
2392
2398
|
r,
|
|
2393
2399
|
n,
|
|
@@ -2433,7 +2439,7 @@ function xn(e, n, t) {
|
|
|
2433
2439
|
};
|
|
2434
2440
|
}
|
|
2435
2441
|
function Tn(e, n, t) {
|
|
2436
|
-
const r =
|
|
2442
|
+
const r = E(e, n, t);
|
|
2437
2443
|
h(
|
|
2438
2444
|
r,
|
|
2439
2445
|
n,
|
|
@@ -2474,7 +2480,7 @@ function Tn(e, n, t) {
|
|
|
2474
2480
|
!0,
|
|
2475
2481
|
`${n}.actionBlockVisible`,
|
|
2476
2482
|
t
|
|
2477
|
-
), m =
|
|
2483
|
+
), m = vn(
|
|
2478
2484
|
r.webhookConfig,
|
|
2479
2485
|
`${n}.webhookConfig`,
|
|
2480
2486
|
t
|
|
@@ -2496,7 +2502,7 @@ function Tn(e, n, t) {
|
|
|
2496
2502
|
function Sn(e, n) {
|
|
2497
2503
|
if (e == null)
|
|
2498
2504
|
return;
|
|
2499
|
-
const t =
|
|
2505
|
+
const t = E(e, "deliveryConfig.channelConfigs", n), r = {};
|
|
2500
2506
|
return Object.entries(t).forEach(([o, a]) => {
|
|
2501
2507
|
if (!we(o)) {
|
|
2502
2508
|
d(
|
|
@@ -2517,7 +2523,7 @@ function kn(e, n) {
|
|
|
2517
2523
|
var l, m, s;
|
|
2518
2524
|
if (e == null)
|
|
2519
2525
|
return null;
|
|
2520
|
-
const t =
|
|
2526
|
+
const t = E(e, "deliveryConfig", n);
|
|
2521
2527
|
h(
|
|
2522
2528
|
t,
|
|
2523
2529
|
"deliveryConfig",
|
|
@@ -2550,7 +2556,7 @@ function kn(e, n) {
|
|
|
2550
2556
|
};
|
|
2551
2557
|
}
|
|
2552
2558
|
function Q(e) {
|
|
2553
|
-
const n = [], t =
|
|
2559
|
+
const n = [], t = E(e, "draft", n);
|
|
2554
2560
|
h(
|
|
2555
2561
|
t,
|
|
2556
2562
|
"draft",
|
|
@@ -2579,7 +2585,7 @@ function Q(e) {
|
|
|
2579
2585
|
"description",
|
|
2580
2586
|
u.description,
|
|
2581
2587
|
n
|
|
2582
|
-
) ?? null, a = I(t.scheduleExpr, "scheduleExpr", 500, n) ?? null, i = I(t.timezone, "timezone", 200, n) ?? "UTC", c = tn(t.status, n), l =
|
|
2588
|
+
) ?? null, a = I(t.scheduleExpr, "scheduleExpr", 500, n) ?? null, i = I(t.timezone, "timezone", 200, n) ?? "UTC", c = tn(t.status, n), l = ve(t.source, n), m = $e(t.body, n), s = Te(t.attachments, n), f = Ce(t.presentation, n), p = Se(t.limits, n), g = kn(t.deliveryConfig, n);
|
|
2583
2589
|
return ke(m, s, n), Y(n), {
|
|
2584
2590
|
name: r,
|
|
2585
2591
|
description: o,
|
|
@@ -2665,7 +2671,7 @@ export {
|
|
|
2665
2671
|
cr as g,
|
|
2666
2672
|
qn as h,
|
|
2667
2673
|
Hn as i,
|
|
2668
|
-
|
|
2674
|
+
Et as j,
|
|
2669
2675
|
er as k,
|
|
2670
2676
|
O as l,
|
|
2671
2677
|
nr as m,
|
|
@@ -2673,7 +2679,7 @@ export {
|
|
|
2673
2679
|
rr as o,
|
|
2674
2680
|
ye as p,
|
|
2675
2681
|
pe as q,
|
|
2676
|
-
|
|
2682
|
+
Bt as r,
|
|
2677
2683
|
or as s,
|
|
2678
2684
|
ar as t,
|
|
2679
2685
|
ut as u,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as G } from "./metric-comparison-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { r as G } from "./metric-comparison-Bnso1cm1.js";
|
|
2
|
+
import { H as E, aJ as Y, aI as V, aK as J, aH as X, aG as ee, ad as $, a0 as j, N as te } from "./validators-BIM0FE31.js";
|
|
3
|
+
import { h as ne, w as h, e as F } from "./raw-temporal-value-Bqz8wc7L.js";
|
|
4
4
|
import { z as u } from "zod";
|
|
5
|
-
import { d as ie } from "./analytics-base-schemas-
|
|
5
|
+
import { d as ie } from "./analytics-base-schemas-BaIQrEzX.js";
|
|
6
6
|
function ae(e, t) {
|
|
7
7
|
return G({ ...e, role: t });
|
|
8
8
|
}
|
|
@@ -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-BIM0FE31.js";
|
|
2
|
+
import "./matrix-operation-contract-DsLdFdSa.js";
|
|
3
|
+
import "./analytics-base-schemas-BaIQrEzX.js";
|
|
4
4
|
import "zod";
|
|
5
5
|
function c(i, r = {}) {
|
|
6
6
|
var o, e;
|