react-semaphor 0.1.564 → 0.1.565
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DATA_APP_SDK.md +3 -3
- package/README.md +2 -2
- package/dist/analytics-protocol/index.js +8 -8
- package/dist/assistant-context/index.js +3 -2
- package/dist/brand-studio/index.js +28 -29
- package/dist/briefings/index.js +4 -4
- package/dist/chunks/{assistant-chat-D1BEEHUF.js → assistant-chat-DNfb5fbF.js} +204 -204
- package/dist/chunks/{bookmark-impact-XOsVUAqW.js → bookmark-impact-CHr7b1J2.js} +2 -2
- package/dist/chunks/bookmark-state-ByODVqee.js +1613 -0
- package/dist/chunks/card-filter-builder-CcEcfaYz.js +4100 -0
- package/dist/chunks/{switch-BW4yXSYs.js → code-editor-DJNOsgJH.js} +463 -442
- package/dist/chunks/{comparison-window-caption-D1EUXzaR.js → comparison-window-caption-CMLb3mut.js} +451 -419
- package/dist/chunks/{dashboard-DfYsASNd.js → dashboard-CtIfxycc.js} +1 -1
- package/dist/chunks/dashboard-briefing-launcher-D3mc6peE.js +4910 -0
- package/dist/chunks/{dashboard-controls-CJ8Dz50D.js → dashboard-controls-BFv0zdws.js} +692 -682
- package/dist/chunks/{dashboard-json-D3uZxGO-.js → dashboard-json-CXn_3OYb.js} +4 -4
- package/dist/chunks/{dates-EvDtT25n.js → dates-DcRxw17S.js} +12 -12
- package/dist/chunks/{edit-dashboard-visual-CgHJXBQv.js → edit-dashboard-visual-Y6HatqBd.js} +7704 -10337
- package/dist/chunks/filter-reach-copy-DbggA5B7.js +4673 -0
- package/dist/chunks/{filter-value-text-CPwFkrMz.js → filter-value-text-7zhmth1S.js} +2 -2
- package/dist/chunks/{index-CAgf2x4E.js → index-DDa_rklN.js} +68 -63
- package/dist/chunks/{layout-grid-BM65viQh.js → layout-grid-0hIlqEtk.js} +1 -1
- package/dist/chunks/{list-filter-BoeLBfL3.js → list-filter-DkgoCeBm.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-hEucouWM.js → matrix-analytical-definition-C9xB_T84.js} +18 -18
- package/dist/chunks/{matrix-card-CCh9JjP1.js → matrix-card-BSUeSXpD.js} +2 -2
- package/dist/chunks/{matrix-member-presentation-DsAUbuoL.js → matrix-member-presentation-DZNgQpUq.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-DsLdFdSa.js → matrix-operation-contract-Eb6elidS.js} +1 -1
- package/dist/chunks/{metric-comparison-Bnso1cm1.js → metric-comparison-ChXUFaZu.js} +1 -1
- package/dist/chunks/{palette-p1XSJFgB.js → palette-4vf2BEEg.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-B53jqszr.js → pivot-result-contract-expectations-Ddh1rNz5.js} +4 -4
- package/dist/chunks/{pivot-result-identity-Dq5jm-EC.js → pivot-result-identity-BlbLrqaC.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-DMqxSU4X.js → report-preferences-dialog-Db-b04B4.js} +122 -131
- package/dist/chunks/{report-runtime-context-BITkNSDa.js → report-runtime-context-DnA_PiKo.js} +1 -1
- package/dist/chunks/resolve-dashboard-input-context-C18J-YZC.js +21394 -0
- package/dist/chunks/{save-CHV1B1fL.js → save-D6pHmSSP.js} +1 -1
- package/dist/chunks/saved-dashboard-context-DhC_EVus.js +629 -0
- package/dist/chunks/{selection-reducer-Bz5aywT4.js → selection-reducer-OaJ-N5uN.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-CFeCIuaw.js → semaphor-ready-indicator-T6TsiBMT.js} +80634 -80503
- package/dist/chunks/{shelf-drop-preview-context-cEyVkKTF.js → shelf-drop-preview-context-CNWL_b0S.js} +407 -407
- package/dist/chunks/{source-entity-resolution-DdDVXFB8.js → source-entity-resolution-DF6GulDn.js} +1 -1
- package/dist/chunks/stored-dashboard-IdmtrNkA.js +5026 -0
- package/dist/chunks/{table-export-sheet-bSXxGn-v.js → table-export-sheet--DUKWk6o.js} +1 -1
- package/dist/chunks/{temporal-input-presentation-sk9gqLi6.js → temporal-input-presentation--2r9BLr0.js} +392 -377
- package/dist/chunks/{token-types-BUK06hU2.js → token-types-C8JymO8s.js} +1 -1
- package/dist/chunks/{upload-BnmuyPqW.js → upload-Cf3wXZT8.js} +1 -1
- package/dist/chunks/{validators-BIM0FE31.js → validators-wtjw0aw6.js} +7 -7
- package/dist/chunks/variable-draft-3xseULxR.js +241 -0
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +2206 -1705
- package/dist/data-app-sdk/index.js +4 -4
- 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 +174 -167
- package/dist/index.js +189 -187
- package/dist/pdf-export-policy/index.js +80 -28
- package/dist/pdf-table-layout/index.js +65 -65
- package/dist/report-runtime-context/index.js +1 -1
- 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-variables/data-variables-menu.d.ts +8 -0
- package/dist/types/components/dashboard-variables/variable-editor-host.d.ts +1 -0
- package/dist/types/components/index.d.ts +2 -0
- package/dist/types/index.js +5 -5
- package/dist/types/lib/dashboard-inputs/build-normalized-dashboard-inputs.d.ts +62 -0
- package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-authoring.d.ts +33 -2
- package/dist/types/lib/dashboard-inputs/filter-settings.d.ts +7 -2
- package/dist/types/lib/dashboard-inputs/prepare-loaded-dashboard.d.ts +4 -2
- package/dist/types/lib/dashboard-variables/data-text.d.ts +33 -0
- package/dist/types/lib/dashboard-variables/types.d.ts +207 -0
- package/dist/types/lib/document/document-edits.d.ts +16 -1
- package/dist/types/lib/document/document-panel-target.d.ts +1 -1
- package/dist/types/lib/document/document-section-query-options.d.ts +29 -0
- package/dist/types/lib/document/document-table-data-policy.d.ts +0 -1
- package/dist/types/lib/hooks/use-dashboard-frame-query.d.ts +92 -0
- package/dist/types/lib/query-context/build-card-query-context.d.ts +6 -0
- package/dist/types/lib/query-context/describe-card-execution-snapshot.d.ts +1 -0
- package/dist/types/lib/query-context/use-semantic-execution-payload-for-cards.d.ts +24 -0
- package/dist/types/lib/stores/dashboard-store.d.ts +36 -0
- package/dist/types/lib/text-variables/temporal-input-text.d.ts +28 -0
- package/dist/types/lib/text-variables/text-variable-types.d.ts +72 -0
- package/dist/types/lib/types/common-types.d.ts +155 -51
- package/dist/types/lib/utils/card-definition.d.ts +2 -2
- package/dist/types/shared/assistant-context/index.d.ts +1 -1
- package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +51 -1
- package/dist/types/shared/dashboard-authoring/card-query-request.d.ts +7 -1
- package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-highlights.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +1087 -430
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +18 -1
- package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/conditional-formatting/kpi.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +40 -40
- package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +16 -16
- package/dist/types/shared/dashboard-authoring/dashboard-card-source-index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/dashboard-filter-targets.d.ts +29 -0
- package/dist/types/shared/dashboard-authoring/dashboard-input-scope.d.ts +7 -4
- package/dist/types/shared/dashboard-authoring/dashboard-variable-card.d.ts +159 -0
- package/dist/types/shared/dashboard-authoring/dashboard-variable-changes.d.ts +61 -0
- package/dist/types/shared/dashboard-authoring/document-section-cards.d.ts +7 -0
- package/dist/types/shared/dashboard-authoring/filter-model/index.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/filter-model/read-dashboard-filter-model.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +6 -0
- package/dist/types/shared/dashboard-authoring/measure-calculations/comparison.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/operations/operation-sentences.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +50 -3
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +48 -1
- package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +2 -2
- package/dist/types/shared/dashboard-authoring/text-card-words/blocks.d.ts +87 -13
- package/dist/types/shared/dashboard-authoring/text-card-words/chip-colors.d.ts +23 -0
- package/dist/types/shared/dashboard-authoring/text-card-words/index.d.ts +90 -8
- package/dist/types/shared/dashboard-authoring/text-card-words/rich-content.d.ts +31 -3
- package/dist/types/shared/dashboard-authoring/text-card-words/variable-words.d.ts +8 -0
- package/dist/types/shared/dashboard-authoring/variable-draft.d.ts +125 -0
- package/dist/types/shared/dashboard-authoring/variable-editability.d.ts +24 -0
- package/dist/types/shared/dashboard-authoring/variable-references.d.ts +39 -0
- package/dist/types/shared/format-utils/document-print.d.ts +4 -2
- package/dist/types/shared/format-utils/index.d.ts +1 -0
- package/dist/types/shared/format-utils/pdf-capacity-lines.d.ts +17 -0
- package/dist/types/shared/format-utils/pdf-delivery.d.ts +8 -1
- package/dist/types/shared/format-utils/pdf-export-policy.d.ts +74 -6
- package/dist/types/shared/format-utils/presentation-execution.d.ts +9 -0
- package/package.json +2 -2
- package/src/data-app-sdk/README.md +3 -3
- package/dist/chunks/bookmark-state-CWeoGbrx.js +0 -743
- package/dist/chunks/braces-DzgoQC64.js +0 -23
- package/dist/chunks/dashboard-briefing-launcher-lvYfJoUQ.js +0 -3878
- package/dist/chunks/filter-reach-copy-Cmb05jlE.js +0 -3965
- package/dist/chunks/global-date-filter-utils-ruJYwjgZ.js +0 -16733
- package/dist/chunks/resolve-dashboard-input-context-i_jCSYae.js +0 -8214
- package/dist/chunks/saved-dashboard-context-Dg3oDmH_.js +0 -564
- package/dist/chunks/use-create-flow-overlay-state-Dl6DCxh8.js +0 -1436
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as y, v as N } from "./validators-
|
|
1
|
+
import { u as y, v as N } from "./validators-wtjw0aw6.js";
|
|
2
2
|
import { g as k, c as D } from "./raw-temporal-value-Bqz8wc7L.js";
|
|
3
3
|
import "../value-format-preferences/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import { a9 as T, a8 as L } from "./temporal-input-presentation--2r9BLr0.js";
|
|
5
5
|
const d = { kind: "plain" }, g = { kind: "temporal" }, O = {
|
|
6
6
|
"=": "=",
|
|
7
7
|
"!=": "!=",
|
|
@@ -1,17 +1,17 @@
|
|
|
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 { a9 as W, H as Me, o as Be } from "./validators-
|
|
4
|
+
import { at as Oe, W as Fe, ah as re, N as le, j as Ne, V as Re, R as N } from "./temporal-input-presentation--2r9BLr0.js";
|
|
5
|
+
import { a9 as W, H as Me, o as Be } from "./validators-wtjw0aw6.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 { ah as Pe, aj as Ve, X as ze } from "./matrix-operation-contract-
|
|
8
|
+
import { ah as Pe, aj as Ve, X as ze } from "./matrix-operation-contract-Eb6elidS.js";
|
|
9
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 {
|
|
12
|
+
import { J as qe, K as Ke, L as Ge, M as He, n as We, N as Xe, O as Ze, P as Ye, Q as Je, R as Qe, S as et, T as tt } from "./resolve-dashboard-input-context-C18J-YZC.js";
|
|
13
|
+
import { r as nt } from "./matrix-card-BSUeSXpD.js";
|
|
14
|
+
import { G as rt, H as ot } from "./bookmark-state-ByODVqee.js";
|
|
15
15
|
import "./index-CuHybtft.js";
|
|
16
16
|
import "./_commonjsHelpers-DimLPMtv.js";
|
|
17
17
|
import "./index-RNaTnE3m.js";
|
|
@@ -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 = !!nt(e);
|
|
53
53
|
} catch {
|
|
54
54
|
return { formats: [], defaultFormat: null };
|
|
55
55
|
}
|
|
@@ -92,13 +92,13 @@ function lt(e) {
|
|
|
92
92
|
function dt(e) {
|
|
93
93
|
return e.allowDownload === !1 ? ["pdf", "png"] : e.cardType === "matrixTable" || X(e.cardType) ? ["pdf", "png", "csv", "xlsx"] : ["pdf", "png", "csv"];
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function Gn(e) {
|
|
96
96
|
return lt(e).label;
|
|
97
97
|
}
|
|
98
98
|
function st(e) {
|
|
99
99
|
return at.has(e.cardType) && e.allowDownload !== !1 ? "csv" : "pdf";
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function Hn(e) {
|
|
102
102
|
const { config: n } = e, t = Oe({
|
|
103
103
|
spec: n.spec,
|
|
104
104
|
presentation: n.presentation,
|
|
@@ -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 = Je(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 && (Qe(r) === "multiple" || o);
|
|
292
|
+
return !r || !a ? [t] : et(
|
|
293
|
+
tt({
|
|
294
294
|
frame: e,
|
|
295
295
|
configCard: r,
|
|
296
296
|
isMultiInputVisual: !0
|
|
@@ -315,7 +315,7 @@ function Jn(e) {
|
|
|
315
315
|
fieldId: p.id,
|
|
316
316
|
role: p.role
|
|
317
317
|
},
|
|
318
|
-
format:
|
|
318
|
+
format: Ge(
|
|
319
319
|
p,
|
|
320
320
|
{
|
|
321
321
|
dateStyle: e.valueFormatPreferences.dateStyle,
|
|
@@ -323,19 +323,19 @@ function Jn(e) {
|
|
|
323
323
|
},
|
|
324
324
|
e.valueFormatPreferences.locale
|
|
325
325
|
)
|
|
326
|
-
})) : [], c = [], l =
|
|
326
|
+
})) : [], c = [], l = He(n, r), m = We(
|
|
327
327
|
n.python || ""
|
|
328
328
|
);
|
|
329
329
|
if (n.type === "detailTable" && l === "config") {
|
|
330
|
-
const p = (r == null ? void 0 : r.detailColumns) || [], g =
|
|
330
|
+
const p = (r == null ? void 0 : r.detailColumns) || [], g = rt({
|
|
331
331
|
groupByColumns: r == null ? void 0 : r.groupByColumns,
|
|
332
332
|
metricColumns: r == null ? void 0 : r.metricColumns,
|
|
333
333
|
pivotByColumns: r == null ? void 0 : r.pivotByColumns,
|
|
334
334
|
detailColumns: p
|
|
335
335
|
});
|
|
336
336
|
for (const v of p) {
|
|
337
|
-
const
|
|
338
|
-
if (
|
|
337
|
+
const k = Me(v.dataType);
|
|
338
|
+
if (k !== "date" && k !== "datetime") continue;
|
|
339
339
|
const F = g.get(v);
|
|
340
340
|
if (!F) throw new M(a);
|
|
341
341
|
c.push({
|
|
@@ -343,7 +343,7 @@ function Jn(e) {
|
|
|
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:
|
|
346
|
+
format: Xe(v),
|
|
347
347
|
preferences: e.valueFormatPreferences,
|
|
348
348
|
calendar: e.calendar
|
|
349
349
|
})
|
|
@@ -351,10 +351,10 @@ function Jn(e) {
|
|
|
351
351
|
}
|
|
352
352
|
} else if (l === "freeform" && ((f = n.sql) != null && f.trim()) && !m.trim())
|
|
353
353
|
for (const [p, g] of Object.entries(
|
|
354
|
-
|
|
354
|
+
Ze(n)
|
|
355
355
|
)) {
|
|
356
356
|
if (g.type !== "date") continue;
|
|
357
|
-
const v =
|
|
357
|
+
const v = Ye(
|
|
358
358
|
g.dateFormat
|
|
359
359
|
);
|
|
360
360
|
v && c.push({
|
|
@@ -740,7 +740,7 @@ function ye(e) {
|
|
|
740
740
|
const f = i.split(",").map((v) => se.get(v));
|
|
741
741
|
if (f.some((v) => v === void 0)) return C;
|
|
742
742
|
const p = f, g = fe(p);
|
|
743
|
-
return !g || g.some((v,
|
|
743
|
+
return !g || g.some((v, k) => v !== p[k]) ? C : g.length === U.length && g.every((v, k) => v === U[k]) ? {
|
|
744
744
|
ok: !0,
|
|
745
745
|
value: { frequency: "daily", hour: l, minute: c, weekdaysOnly: !0 }
|
|
746
746
|
} : {
|
|
@@ -785,7 +785,7 @@ function St(e, n, t) {
|
|
|
785
785
|
timeZone: "UTC"
|
|
786
786
|
}).format(new Date(Date.UTC(2020, 0, 1, e, n)));
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function At(e, n) {
|
|
789
789
|
var t;
|
|
790
790
|
if (e === "UTC") return "UTC";
|
|
791
791
|
try {
|
|
@@ -800,7 +800,7 @@ function kt(e, n) {
|
|
|
800
800
|
function ie(e) {
|
|
801
801
|
return e.length <= 1 ? e.join("") : e.length === 2 ? `${e[0]} and ${e[1]}` : `${e.slice(0, -1).join(", ")} and ${e[e.length - 1]}`;
|
|
802
802
|
}
|
|
803
|
-
function
|
|
803
|
+
function kt(e) {
|
|
804
804
|
const n = e % 100;
|
|
805
805
|
return n >= 11 && n <= 13 ? `${e}th` : `${e}${["th", "st", "nd", "rd"][e % 10] ?? "th"}`;
|
|
806
806
|
}
|
|
@@ -817,7 +817,7 @@ function tr(e, n, t = "en-US") {
|
|
|
817
817
|
const r = ye(e);
|
|
818
818
|
if (!r.ok) return null;
|
|
819
819
|
try {
|
|
820
|
-
const o = r.value, a =
|
|
820
|
+
const o = r.value, a = At(n, t);
|
|
821
821
|
if (!a) return null;
|
|
822
822
|
const i = `at ${St(o.hour, o.minute, t)} ${a}`, c = (l) => new Intl.DateTimeFormat(t, {
|
|
823
823
|
weekday: "long",
|
|
@@ -833,7 +833,7 @@ function tr(e, n, t = "en-US") {
|
|
|
833
833
|
if (o.on.type === "weekday")
|
|
834
834
|
return `On the ${ue[o.on.ordinal]} ${c(o.on.weekday)} of ${l} ${i}`;
|
|
835
835
|
const m = o.on.days.map(
|
|
836
|
-
(s) => s === "last" ? "last day" :
|
|
836
|
+
(s) => s === "last" ? "last day" : kt(s)
|
|
837
837
|
);
|
|
838
838
|
return `On the ${ie(m)} of ${l} ${i}`;
|
|
839
839
|
}
|
|
@@ -899,6 +899,8 @@ function rr(e, n, t, r) {
|
|
|
899
899
|
const Ft = Object.freeze([
|
|
900
900
|
"PDF_ROW_LIMIT_EXCEEDED",
|
|
901
901
|
"PDF_SIZE_LIMIT_EXCEEDED",
|
|
902
|
+
// More pages than one PDF holds (PDF capacity contract PC-D3).
|
|
903
|
+
"PDF_PAGE_LIMIT_EXCEEDED",
|
|
902
904
|
"TABLE_COMPLETENESS_UNVERIFIED",
|
|
903
905
|
"CARD_QUERY_FAILED",
|
|
904
906
|
"RENDER_NOT_READY",
|
|
@@ -916,7 +918,10 @@ const Ft = Object.freeze([
|
|
|
916
918
|
"DOCUMENT_PAGE_OVERFLOW",
|
|
917
919
|
"DOCUMENT_ROW_LIMIT_EXCEEDED",
|
|
918
920
|
"DOCUMENT_SECTION_SETUP",
|
|
919
|
-
"REPORT_INPUTS_MISSING"
|
|
921
|
+
"REPORT_INPUTS_MISSING",
|
|
922
|
+
// The report's saved presentation can't format what it prints; saving the
|
|
923
|
+
// report again captures it (value formatting Plan 05).
|
|
924
|
+
"REPORT_NEEDS_RESAVE"
|
|
920
925
|
]), Nt = new Set(Ft);
|
|
921
926
|
function Rt(e) {
|
|
922
927
|
return typeof e == "string" && Nt.has(e);
|
|
@@ -965,7 +970,7 @@ function cr(e) {
|
|
|
965
970
|
pluralNoun: t === "report" ? "reports" : "briefings"
|
|
966
971
|
};
|
|
967
972
|
}
|
|
968
|
-
const
|
|
973
|
+
const G = "BRIEFING", Ut = ["markdown", "html"], H = ["markdown"], z = 20, u = {
|
|
969
974
|
name: 500,
|
|
970
975
|
description: 2e3,
|
|
971
976
|
instruction: 5e4,
|
|
@@ -1034,7 +1039,7 @@ const be = ["pdf", "png", "csv", "xlsx"], Ie = new Set(Ut), zt = /* @__PURE__ */
|
|
|
1034
1039
|
]), qt = /* @__PURE__ */ new Set([
|
|
1035
1040
|
"portrait",
|
|
1036
1041
|
"landscape"
|
|
1037
|
-
]), Kt = /* @__PURE__ */ new Set([",", ";", " "]),
|
|
1042
|
+
]), Kt = /* @__PURE__ */ new Set([",", ";", " "]), Gt = new Set(Ue), Ht = /* @__PURE__ */ new Set([
|
|
1038
1043
|
"current",
|
|
1039
1044
|
"all"
|
|
1040
1045
|
]), Wt = /* @__PURE__ */ new Set([
|
|
@@ -1211,9 +1216,9 @@ function $e(e, n) {
|
|
|
1211
1216
|
}
|
|
1212
1217
|
function rn(e, n) {
|
|
1213
1218
|
if (e == null)
|
|
1214
|
-
return [...
|
|
1219
|
+
return [...H];
|
|
1215
1220
|
if (!Array.isArray(e))
|
|
1216
|
-
return d(n, "presentation.artifactFormats", "Expected an array."), [...
|
|
1221
|
+
return d(n, "presentation.artifactFormats", "Expected an array."), [...H];
|
|
1217
1222
|
if (e.length === 0)
|
|
1218
1223
|
return d(
|
|
1219
1224
|
n,
|
|
@@ -1236,7 +1241,7 @@ function rn(e, n) {
|
|
|
1236
1241
|
function Ce(e, n) {
|
|
1237
1242
|
if (e == null)
|
|
1238
1243
|
return {
|
|
1239
|
-
artifactFormats: [...
|
|
1244
|
+
artifactFormats: [...H],
|
|
1240
1245
|
includeEvidence: !0,
|
|
1241
1246
|
includeSql: !0
|
|
1242
1247
|
};
|
|
@@ -1421,13 +1426,13 @@ function ln(e, n, t) {
|
|
|
1421
1426
|
`${i}.label`,
|
|
1422
1427
|
u.contentTitle,
|
|
1423
1428
|
t
|
|
1424
|
-
), s =
|
|
1429
|
+
), s = A(
|
|
1425
1430
|
c.kind,
|
|
1426
1431
|
`${i}.kind`,
|
|
1427
1432
|
Zt,
|
|
1428
1433
|
"text, number, currency, percent, date, or boolean",
|
|
1429
1434
|
t
|
|
1430
|
-
), f =
|
|
1435
|
+
), f = A(
|
|
1431
1436
|
c.align,
|
|
1432
1437
|
`${i}.align`,
|
|
1433
1438
|
Yt,
|
|
@@ -1503,7 +1508,7 @@ function sn(e, n, t) {
|
|
|
1503
1508
|
`${r}.title`,
|
|
1504
1509
|
u.contentTitle,
|
|
1505
1510
|
t
|
|
1506
|
-
), c =
|
|
1511
|
+
), c = A(
|
|
1507
1512
|
o.severity,
|
|
1508
1513
|
`${r}.severity`,
|
|
1509
1514
|
Xt,
|
|
@@ -1635,7 +1640,7 @@ function sn(e, n, t) {
|
|
|
1635
1640
|
`${p}.value`,
|
|
1636
1641
|
"Expected a non-empty string, number, or structured numeric value."
|
|
1637
1642
|
);
|
|
1638
|
-
const
|
|
1643
|
+
const k = g.previousValue === void 0 || g.previousValue === null ? g.previousValue : w(
|
|
1639
1644
|
g.previousValue,
|
|
1640
1645
|
`${p}.previousValue`,
|
|
1641
1646
|
t
|
|
@@ -1665,7 +1670,7 @@ function sn(e, n, t) {
|
|
|
1665
1670
|
t
|
|
1666
1671
|
),
|
|
1667
1672
|
value: v,
|
|
1668
|
-
...
|
|
1673
|
+
...k !== void 0 ? { previousValue: k } : {},
|
|
1669
1674
|
...F !== void 0 ? { delta: F } : {},
|
|
1670
1675
|
...ee !== void 0 ? { percentChange: ee } : {},
|
|
1671
1676
|
...te ? { unit: te } : {},
|
|
@@ -1834,7 +1839,7 @@ function dr(e) {
|
|
|
1834
1839
|
function L(e, n, t, r) {
|
|
1835
1840
|
return typeof e == "string" && t.includes(e) ? e : (d(r, n, `Expected ${t.join(" or ")}.`), t[0]);
|
|
1836
1841
|
}
|
|
1837
|
-
function
|
|
1842
|
+
function A(e, n, t, r, o) {
|
|
1838
1843
|
if (e != null) {
|
|
1839
1844
|
if (typeof e == "string" && t.has(e))
|
|
1840
1845
|
return e;
|
|
@@ -1870,7 +1875,7 @@ function pn(e, n, t) {
|
|
|
1870
1875
|
h(s, `${n}.matrix`, ["config", "content"], t);
|
|
1871
1876
|
const f = Be.safeParse(s.config);
|
|
1872
1877
|
f.success || d(t, `${n}.matrix.config`, "Expected a valid Matrix definition.");
|
|
1873
|
-
const p =
|
|
1878
|
+
const p = A(
|
|
1874
1879
|
s.content,
|
|
1875
1880
|
`${n}.matrix.content`,
|
|
1876
1881
|
/* @__PURE__ */ new Set(["current", "all", "flat"]),
|
|
@@ -1879,34 +1884,34 @@ function pn(e, n, t) {
|
|
|
1879
1884
|
);
|
|
1880
1885
|
p || d(t, `${n}.matrix.content`, "Choose Matrix export content."), f.success && p && (o.matrix = { config: f.data, content: p });
|
|
1881
1886
|
}
|
|
1882
|
-
const a =
|
|
1887
|
+
const a = A(
|
|
1883
1888
|
r.pageSize,
|
|
1884
1889
|
`${n}.pageSize`,
|
|
1885
1890
|
jt,
|
|
1886
1891
|
"letter, legal, a4, a3, or tabloid",
|
|
1887
1892
|
t
|
|
1888
|
-
), i =
|
|
1893
|
+
), i = A(
|
|
1889
1894
|
r.orientation,
|
|
1890
1895
|
`${n}.orientation`,
|
|
1891
1896
|
qt,
|
|
1892
1897
|
"portrait or landscape",
|
|
1893
1898
|
t
|
|
1894
|
-
), c =
|
|
1899
|
+
), c = A(
|
|
1895
1900
|
r.delimiter,
|
|
1896
1901
|
`${n}.delimiter`,
|
|
1897
1902
|
Kt,
|
|
1898
1903
|
"comma, semicolon, or tab",
|
|
1899
1904
|
t
|
|
1900
|
-
), l =
|
|
1905
|
+
), l = A(
|
|
1901
1906
|
r.csvEncoding,
|
|
1902
1907
|
`${n}.csvEncoding`,
|
|
1903
|
-
|
|
1908
|
+
Gt,
|
|
1904
1909
|
"utf-8-bom or utf-8",
|
|
1905
1910
|
t
|
|
1906
|
-
), m =
|
|
1911
|
+
), m = A(
|
|
1907
1912
|
r.sheetSelection,
|
|
1908
1913
|
`${n}.sheetSelection`,
|
|
1909
|
-
|
|
1914
|
+
Ht,
|
|
1910
1915
|
"current or all",
|
|
1911
1916
|
t
|
|
1912
1917
|
);
|
|
@@ -2150,7 +2155,7 @@ function Y(e) {
|
|
|
2150
2155
|
if (e.length > 0)
|
|
2151
2156
|
throw new P(e);
|
|
2152
2157
|
}
|
|
2153
|
-
function
|
|
2158
|
+
function Ae(e, n, t) {
|
|
2154
2159
|
!(e.type === "generated_analysis" || e.type === "custom_message" && !!e.message.trim()) && n.length === 0 && d(
|
|
2155
2160
|
t,
|
|
2156
2161
|
"body",
|
|
@@ -2179,7 +2184,7 @@ function gn(e, n, t) {
|
|
|
2179
2184
|
);
|
|
2180
2185
|
});
|
|
2181
2186
|
}
|
|
2182
|
-
function
|
|
2187
|
+
function ke(e) {
|
|
2183
2188
|
const n = [], t = E(e, "jobConfig", n);
|
|
2184
2189
|
h(
|
|
2185
2190
|
t,
|
|
@@ -2194,7 +2199,7 @@ function Ae(e) {
|
|
|
2194
2199
|
"limits"
|
|
2195
2200
|
],
|
|
2196
2201
|
n
|
|
2197
|
-
), t.kind !==
|
|
2202
|
+
), t.kind !== G && d(n, "kind", "Expected BRIEFING.");
|
|
2198
2203
|
let r;
|
|
2199
2204
|
try {
|
|
2200
2205
|
r = Re(
|
|
@@ -2210,12 +2215,12 @@ function Ae(e) {
|
|
|
2210
2215
|
);
|
|
2211
2216
|
}
|
|
2212
2217
|
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);
|
|
2213
|
-
return
|
|
2218
|
+
return Ae(a, i, n), gn(
|
|
2214
2219
|
r == null ? void 0 : r.resolvedFormats,
|
|
2215
2220
|
i,
|
|
2216
2221
|
"jobConfig.presentationExecutionSnapshot.resolvedFormats"
|
|
2217
2222
|
), Y(n), {
|
|
2218
|
-
kind:
|
|
2223
|
+
kind: G,
|
|
2219
2224
|
presentationExecutionSnapshot: r,
|
|
2220
2225
|
source: o,
|
|
2221
2226
|
body: a,
|
|
@@ -2225,9 +2230,9 @@ function Ae(e) {
|
|
|
2225
2230
|
};
|
|
2226
2231
|
}
|
|
2227
2232
|
function sr(e) {
|
|
2228
|
-
return
|
|
2233
|
+
return ke({
|
|
2229
2234
|
...e,
|
|
2230
|
-
kind:
|
|
2235
|
+
kind: G
|
|
2231
2236
|
});
|
|
2232
2237
|
}
|
|
2233
2238
|
function J(e, n, t, r = "deliveryConfig.recipients") {
|
|
@@ -2454,7 +2459,7 @@ function Tn(e, n, t) {
|
|
|
2454
2459
|
],
|
|
2455
2460
|
t
|
|
2456
2461
|
);
|
|
2457
|
-
const o =
|
|
2462
|
+
const o = A(
|
|
2458
2463
|
r.formatProfile,
|
|
2459
2464
|
`${n}.formatProfile`,
|
|
2460
2465
|
Wt,
|
|
@@ -2519,7 +2524,7 @@ function Sn(e, n) {
|
|
|
2519
2524
|
);
|
|
2520
2525
|
}), Object.keys(r).length > 0 ? r : void 0;
|
|
2521
2526
|
}
|
|
2522
|
-
function
|
|
2527
|
+
function An(e, n) {
|
|
2523
2528
|
var l, m, s;
|
|
2524
2529
|
if (e == null)
|
|
2525
2530
|
return null;
|
|
@@ -2585,8 +2590,8 @@ function Q(e) {
|
|
|
2585
2590
|
"description",
|
|
2586
2591
|
u.description,
|
|
2587
2592
|
n
|
|
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 =
|
|
2589
|
-
return
|
|
2593
|
+
) ?? 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 = An(t.deliveryConfig, n);
|
|
2594
|
+
return Ae(m, s, n), Y(n), {
|
|
2590
2595
|
name: r,
|
|
2591
2596
|
description: o,
|
|
2592
2597
|
status: c,
|
|
@@ -2617,7 +2622,7 @@ function fr(e) {
|
|
|
2617
2622
|
}
|
|
2618
2623
|
function pr(e) {
|
|
2619
2624
|
try {
|
|
2620
|
-
return { valid: !0, value:
|
|
2625
|
+
return { valid: !0, value: ke(e), issues: [] };
|
|
2621
2626
|
} catch (n) {
|
|
2622
2627
|
if (n instanceof P)
|
|
2623
2628
|
return { valid: !1, issues: n.issues };
|
|
@@ -2633,7 +2638,7 @@ function we(e) {
|
|
|
2633
2638
|
export {
|
|
2634
2639
|
X as $,
|
|
2635
2640
|
u as A,
|
|
2636
|
-
|
|
2641
|
+
G as B,
|
|
2637
2642
|
$ as C,
|
|
2638
2643
|
Qn as D,
|
|
2639
2644
|
Pt as E,
|
|
@@ -2643,7 +2648,7 @@ export {
|
|
|
2643
2648
|
P as I,
|
|
2644
2649
|
mn as J,
|
|
2645
2650
|
dr as K,
|
|
2646
|
-
|
|
2651
|
+
ke as L,
|
|
2647
2652
|
z as M,
|
|
2648
2653
|
sr as N,
|
|
2649
2654
|
Q as O,
|
|
@@ -2664,13 +2669,13 @@ export {
|
|
|
2664
2669
|
Rt as a1,
|
|
2665
2670
|
Lt as a2,
|
|
2666
2671
|
dt as b,
|
|
2667
|
-
|
|
2672
|
+
Hn as c,
|
|
2668
2673
|
tr as d,
|
|
2669
2674
|
Xn as e,
|
|
2670
2675
|
Jn as f,
|
|
2671
2676
|
cr as g,
|
|
2672
2677
|
qn as h,
|
|
2673
|
-
|
|
2678
|
+
Gn as i,
|
|
2674
2679
|
Et as j,
|
|
2675
2680
|
er as k,
|
|
2676
2681
|
O as l,
|
|
@@ -2687,5 +2692,5 @@ export {
|
|
|
2687
2692
|
Yn as w,
|
|
2688
2693
|
Zn as x,
|
|
2689
2694
|
Ut as y,
|
|
2690
|
-
|
|
2695
|
+
H as z
|
|
2691
2696
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as G } from "./metric-comparison-
|
|
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-
|
|
1
|
+
import { r as G } from "./metric-comparison-ChXUFaZu.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-wtjw0aw6.js";
|
|
3
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
5
|
import { d as ie } from "./analytics-base-schemas-BaIQrEzX.js";
|
|
@@ -688,27 +688,27 @@ export {
|
|
|
688
688
|
k as U,
|
|
689
689
|
se as V,
|
|
690
690
|
Ae as W,
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
691
|
+
Je as a,
|
|
692
|
+
ae as b,
|
|
693
|
+
de as c,
|
|
694
|
+
me as d,
|
|
695
|
+
we as e,
|
|
696
696
|
Oe as f,
|
|
697
|
-
|
|
698
|
-
|
|
697
|
+
xe as g,
|
|
698
|
+
ke as h,
|
|
699
699
|
Fe as i,
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
700
|
+
We as j,
|
|
701
|
+
$e as k,
|
|
702
|
+
x as l,
|
|
703
|
+
ye as m,
|
|
704
|
+
ge as n,
|
|
705
|
+
Pe as o,
|
|
706
706
|
C as p,
|
|
707
|
-
|
|
707
|
+
Re as q,
|
|
708
708
|
fe as r,
|
|
709
709
|
ve as s,
|
|
710
|
-
|
|
711
|
-
|
|
710
|
+
Le as t,
|
|
711
|
+
Ue as u,
|
|
712
712
|
ze as v,
|
|
713
713
|
je as w,
|
|
714
714
|
z as x,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as s, o as f, q as u } from "./validators-
|
|
2
|
-
import "./matrix-operation-contract-
|
|
1
|
+
import { l as s, o as f, q as u } from "./validators-wtjw0aw6.js";
|
|
2
|
+
import "./matrix-operation-contract-Eb6elidS.js";
|
|
3
3
|
import "./analytics-base-schemas-BaIQrEzX.js";
|
|
4
4
|
import "zod";
|
|
5
5
|
function c(i, r = {}) {
|
package/dist/chunks/{matrix-operation-contract-DsLdFdSa.js → matrix-operation-contract-Eb6elidS.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z as t } from "zod";
|
|
2
2
|
import { y as Le, L as Ue, V as De, W as qe, Z as Me, _ as Ge, s as U, J as Z, n as Be, Q as ze, U as ce, g as Ve, r as We, K as Ke, C as Xe, D as Ze, m as le, b as ue, G as $e } from "./analytics-base-schemas-BaIQrEzX.js";
|
|
3
|
-
import { W as k, Q as de, a1 as B, aZ as ee, t as A, X as He, aT as $, R as Qe, s as Ye, N as me, G as Je, r as et, H as tt, m as nt } from "./validators-
|
|
3
|
+
import { W as k, Q as de, a1 as B, aZ as ee, t as A, X as He, aT as $, R as Qe, s as Ye, N as me, G as Je, r as et, H as tt, m as nt } from "./validators-wtjw0aw6.js";
|
|
4
4
|
const H = {
|
|
5
5
|
answerSummary: "string",
|
|
6
6
|
responseDetail: "responseDetail",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { T as m, a as g, b as C } from "./analytics-base-schemas-BaIQrEzX.js";
|
|
2
|
-
import { r as k } from "./validators-
|
|
2
|
+
import { r as k } from "./validators-wtjw0aw6.js";
|
|
3
3
|
function w(e) {
|
|
4
4
|
const r = C.safeParse(e);
|
|
5
5
|
return r.success ? { ok: !0, value: r.data } : {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var c = Object.defineProperty;
|
|
2
2
|
var d = (r, e, t) => e in r ? c(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
3
|
var l = (r, e, t) => d(r, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import {
|
|
5
|
-
import "./validators-
|
|
6
|
-
import "./matrix-operation-contract-
|
|
7
|
-
import { r as v } from "./metric-comparison-
|
|
4
|
+
import { ad as u } from "./temporal-input-presentation--2r9BLr0.js";
|
|
5
|
+
import "./validators-wtjw0aw6.js";
|
|
6
|
+
import "./matrix-operation-contract-Eb6elidS.js";
|
|
7
|
+
import { r as v } from "./metric-comparison-ChXUFaZu.js";
|
|
8
8
|
import "./analytics-base-schemas-BaIQrEzX.js";
|
|
9
9
|
import "zod";
|
|
10
10
|
class m extends Error {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var y = Object.defineProperty;
|
|
2
2
|
var c = (i, t, e) => t in i ? y(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
3
|
var a = (i, t, e) => c(i, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
-
import { v as u } from "./metric-comparison-
|
|
4
|
+
import { v as u } from "./metric-comparison-ChXUFaZu.js";
|
|
5
5
|
class l extends Error {
|
|
6
6
|
constructor(e) {
|
|
7
7
|
super(`missing_pivot_member_identity: ${e}`);
|