react-semaphor 0.1.552 → 0.1.554
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-sWQaBT61.js → assistant-chat-ngs5dTvo.js} +1275 -1296
- package/dist/chunks/{bookmark-state-Cu-a5ie_.js → bookmark-state-BAeGKd3s.js} +3 -3
- package/dist/chunks/{comparison-window-caption-CF90-I0i.js → comparison-window-caption-C2WNTlxK.js} +44 -44
- package/dist/chunks/{custom-visual-inputs-ByQUyWf4.js → custom-visual-inputs-cTHqcqPu.js} +1 -1
- package/dist/chunks/{dashboard-BjoJI7NN.js → dashboard-548YvEW5.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-DUJQv719.js → dashboard-briefing-launcher-ptIRn5FS.js} +62 -62
- package/dist/chunks/{dashboard-controls-BjnvfcQp.js → dashboard-controls-CqyUTN6Q.js} +46 -46
- package/dist/chunks/{dashboard-json-BqcLekhd.js → dashboard-json-CvDFipA0.js} +4 -4
- package/dist/chunks/{document-dashboard-inputs-PoQihHLu.js → document-dashboard-inputs-DrA9m-5H.js} +119 -119
- package/dist/chunks/{edit-dashboard-visual-KNJQr60W.js → edit-dashboard-visual-BHL0AlIj.js} +4087 -3979
- package/dist/chunks/{filter-reach-copy-zdhUFn6t.js → filter-reach-copy-CyftKCZE.js} +48 -48
- package/dist/chunks/{filter-value-text-Ddf55Ku1.js → filter-value-text-DMrpj4h9.js} +2 -2
- package/dist/chunks/{global-date-filter-utils-C1jCNWdV.js → global-date-filter-utils-Or-3DL3k.js} +6033 -5772
- package/dist/chunks/{index-Dp0ta6KB.js → index-ClwmmbUH.js} +9 -9
- package/dist/chunks/{matrix-analytical-definition-B9vW-osb.js → matrix-analytical-definition-DPVGg1mU.js} +12 -12
- package/dist/chunks/{matrix-card-LiMEipvq.js → matrix-card-CVFVtqyo.js} +2 -2
- package/dist/chunks/{matrix-formatter-C_EpDP6o.js → matrix-formatter-K2OVPJQI.js} +30 -30
- package/dist/chunks/{matrix-member-presentation-DqzG-UhQ.js → matrix-member-presentation-DRWcJ8Mi.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-D6vYkZK4.js → matrix-operation-contract--lMaLlpV.js} +64 -61
- package/dist/chunks/{metric-comparison-zpGw4lD6.js → metric-comparison-CYIt2F5X.js} +1 -1
- package/dist/chunks/{pivot-header-presentation-CQnIDtUv.js → pivot-header-presentation-CX4fkRuG.js} +1 -1
- package/dist/chunks/{pivot-result-identity-C-Q1j1Wb.js → pivot-result-identity-BHJGZwIc.js} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-pwq3b7LC.js → pivot-result-lifecycle-BygCpOhk.js} +20 -20
- package/dist/chunks/{raw-temporal-presentation-D3i0mnUe.js → raw-temporal-presentation-gooAp93G.js} +6 -6
- package/dist/chunks/{report-preferences-dialog-C0uGI0v7.js → report-preferences-dialog-2tqY0BMQ.js} +49 -49
- package/dist/chunks/{report-runtime-context-hWiTCzFV.js → report-runtime-context-BaIKSaja.js} +1 -1
- package/dist/chunks/{resolve-dashboard-input-context-Cm0b7s-d.js → resolve-dashboard-input-context-bOKDTHfJ.js} +2062 -1986
- package/dist/chunks/{saved-dashboard-context-DCtGmAWe.js → saved-dashboard-context--Hq1juf9.js} +8 -8
- package/dist/chunks/{selection-reducer-CJzkTZio.js → selection-reducer-yw_JgICP.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-ChyotaWB.js → semaphor-ready-indicator-yM4wo-FH.js} +26 -26
- package/dist/chunks/{shelf-drop-preview-context-D09ATIXv.js → shelf-drop-preview-context-BuLzyT1T.js} +119 -119
- package/dist/chunks/{source-entity-resolution-D195CrYS.js → source-entity-resolution-CGymm5td.js} +1 -1
- package/dist/chunks/{switch-wJP6O7ZT.js → switch-B-UTI6v-.js} +2 -2
- package/dist/chunks/{table-export-sheet-DUS_s8Cj.js → table-export-sheet-CgO6gaSM.js} +1 -1
- package/dist/chunks/{table-settings-WysCBj62.js → table-settings-DOT_Bv1m.js} +224 -201
- package/dist/chunks/{temporal-bucket-CQOSbv9-.js → temporal-bucket-C4rqmwaQ.js} +24 -24
- package/dist/chunks/{token-types-BMqRmT-C.js → token-types-DYECHYGH.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-t7JLE_LV.js → use-create-flow-overlay-state-DSXC-LD7.js} +6 -6
- package/dist/chunks/{validators-C-aOQlTB.js → validators-ClKLGDGZ.js} +1077 -1054
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +273 -264
- 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/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/index.js +6 -6
- package/dist/types/lib/dashboard-inputs/prepare-loaded-dashboard.d.ts +3 -0
- 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 +61 -0
- package/dist/types/lib/utils/card-definition.d.ts +2 -1
- package/dist/types/lib/utils/card-type-change.d.ts +5 -1
- package/dist/types/shared/analytics-protocol/explorer-input-schemas.d.ts +2 -0
- 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/document-section-cards.d.ts +6 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/legacy-table-routing.d.ts +62 -0
- package/dist/types/shared/dashboard-authoring/matrix-authoring.d.ts +4 -1
- 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 +2 -2
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "./matrix-operation-contract
|
|
4
|
-
import { r as ki, C as Bi } from "./metric-comparison-
|
|
1
|
+
import { al as li, am as ci, an as ui, ao as mt, ap as di, aq as K, ar as pt, as as fi, at as mi, au as we, av as pi, aw as ht, ax as hi, ay as yi, az as gi, aA as bi, aB as vi, aC as Fi, aD as yt, aE as Ci, aF as Ii, aG as xi, aH as ve, aI as Si, aJ as Mi, aK as Di, b as Ti, aL as wi, v as Pi, z as Oi, aM as Ai, aN as Ni } from "./resolve-dashboard-input-context-bOKDTHfJ.js";
|
|
2
|
+
import { ac as gt, f as _i, e as Ei, a9 as bt, an as Ri, v as Vi } from "./validators-ClKLGDGZ.js";
|
|
3
|
+
import "./matrix-operation-contract--lMaLlpV.js";
|
|
4
|
+
import { r as ki, C as Bi } from "./metric-comparison-CYIt2F5X.js";
|
|
5
5
|
import "./analytics-base-schemas-BKs3flFS.js";
|
|
6
6
|
import "zod";
|
|
7
|
-
import { q as Ki } from "./pivot-result-lifecycle-
|
|
8
|
-
import { f as
|
|
9
|
-
import { b as vt, m as Li, h as qi, d as xe, e as $i, i as k, u as _, R as zi, v as ji, r as Ui, z as
|
|
7
|
+
import { q as Ki } from "./pivot-result-lifecycle-BygCpOhk.js";
|
|
8
|
+
import { f as G } from "./matrix-formatter-K2OVPJQI.js";
|
|
9
|
+
import { b as vt, m as Li, h as qi, d as xe, e as $i, i as k, u as _, R as zi, v as ji, r as Ui, z as Hi } from "./temporal-bucket-C4rqmwaQ.js";
|
|
10
10
|
import "../value-format-preferences/index.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { r as Mn } from "./pivot-result-identity-
|
|
11
|
+
import { L as Gi, w as pe } from "./table-settings-DOT_Bv1m.js";
|
|
12
|
+
import { dp as Ft, dw as Ct, dx as Wi, dy as Qi, cS as Pe, dz as Yi, cT as Ge, dA as N, as as Ji, dB as It, dC as Oe, dD as Xi, dE as Zi, dF as We, dG as en, dH as Qe, dI as tn, dJ as nn, Q as xt, dK as St, dL as Mt, v as Dt, dM as Ye, Y as q, dN as Ae, d1 as Je, d3 as Ne, c_ as Xe, dO as Ze, ds as rn, bb as _e, dP as an, dQ as on, dR as sn, cX as H, be as et, dS as ln, a2 as Tt, a3 as wt, d as cn, dT as $, bg as un, dU as dn, bh as fn, aA as Pt, dV as mn, dW as pn, dX as hn, dY as yn, b as Ot, dr as gn, cW as bn, dZ as vn, d8 as Se, d_ as Fn, d$ as Fe, c8 as At, e0 as tt, e1 as Cn, bI as In, cb as it, ca as xn, e2 as Sn } from "./global-date-filter-utils-Or-3DL3k.js";
|
|
13
|
+
import { r as Mn } from "./pivot-result-identity-BHJGZwIc.js";
|
|
14
14
|
import { g as Dn } from "./_commonjsHelpers-DimLPMtv.js";
|
|
15
|
-
import { e as Tn, d as wn } from "./raw-temporal-presentation-
|
|
15
|
+
import { e as Tn, d as wn } from "./raw-temporal-presentation-gooAp93G.js";
|
|
16
16
|
import "./index-CtoK1Lgu.js";
|
|
17
17
|
import "./index-CuHybtft.js";
|
|
18
|
-
import { i as Pn } from "./source-entity-resolution-
|
|
19
|
-
import { R as On } from "./matrix-analytical-definition-
|
|
18
|
+
import { i as Pn } from "./source-entity-resolution-CGymm5td.js";
|
|
19
|
+
import { R as On } from "./matrix-analytical-definition-DPVGg1mU.js";
|
|
20
20
|
import { r as Nt } from "./applied-constraints-DU-wndZ7.js";
|
|
21
|
-
const
|
|
21
|
+
const Ga = 15, An = /\{\{-?\s*filters\s*\|\s*where\s*-?\}\}/i, Nn = /\{\{-?\s*filters\s*\|\s*and\s*-?\}\}/i, _n = /\bwhere\b/i;
|
|
22
22
|
function En(e) {
|
|
23
23
|
return e != null && e.trim() ? An.test(e) || Nn.test(e) : !1;
|
|
24
24
|
}
|
|
@@ -75,7 +75,7 @@ function Kn(e, t) {
|
|
|
75
75
|
return Bn(e)[t];
|
|
76
76
|
}
|
|
77
77
|
function Za(e, t, i) {
|
|
78
|
-
if (!(i.isEditorPreview || e.isDashboardEditing) &&
|
|
78
|
+
if (!(i.isEditorPreview || e.isDashboardEditing) && Gi(e.dashboard, t))
|
|
79
79
|
return { settings: Kn(e, t) };
|
|
80
80
|
}
|
|
81
81
|
function Ln(e) {
|
|
@@ -160,7 +160,7 @@ const io = (e) => !e || e === "auto" ? "local time" : {
|
|
|
160
160
|
UTC: "UTC"
|
|
161
161
|
}[e] || e;
|
|
162
162
|
function $n(e) {
|
|
163
|
-
const t =
|
|
163
|
+
const t = G(e == null ? void 0 : e.format);
|
|
164
164
|
return !!(t && vt(t));
|
|
165
165
|
}
|
|
166
166
|
function Me(e, t) {
|
|
@@ -310,9 +310,9 @@ function Rt(e, t = "auto", i = {}) {
|
|
|
310
310
|
case "date":
|
|
311
311
|
return Un(e, i);
|
|
312
312
|
case "scientific":
|
|
313
|
-
return Gn(e, i);
|
|
314
|
-
case "duration":
|
|
315
313
|
return Hn(e, i);
|
|
314
|
+
case "duration":
|
|
315
|
+
return Gn(e, i);
|
|
316
316
|
default:
|
|
317
317
|
return String(e);
|
|
318
318
|
}
|
|
@@ -366,13 +366,13 @@ function Un(e, t = {}) {
|
|
|
366
366
|
return String(e);
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function Hn(e, t = {}) {
|
|
370
370
|
return qi(
|
|
371
371
|
e,
|
|
372
372
|
de(t, { min: 2, max: 2 })
|
|
373
373
|
);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function Gn(e, t = {}) {
|
|
376
376
|
return Li(e, {
|
|
377
377
|
inputUnit: t.durationInputUnit,
|
|
378
378
|
outputStyle: t.durationDisplayStyle,
|
|
@@ -905,7 +905,7 @@ function pr(e) {
|
|
|
905
905
|
});
|
|
906
906
|
}
|
|
907
907
|
function hr(e) {
|
|
908
|
-
const t =
|
|
908
|
+
const t = G(e == null ? void 0 : e.format);
|
|
909
909
|
return K(t);
|
|
910
910
|
}
|
|
911
911
|
function rt(e, t) {
|
|
@@ -1227,7 +1227,7 @@ function Cr(e) {
|
|
|
1227
1227
|
};
|
|
1228
1228
|
}
|
|
1229
1229
|
function Ir(e, t, i = !1) {
|
|
1230
|
-
const n = i ? { preserveOmittedProperties: !0 } : void 0, r =
|
|
1230
|
+
const n = i ? { preserveOmittedProperties: !0 } : void 0, r = G(e == null ? void 0 : e.format, n), a = ht(
|
|
1231
1231
|
r,
|
|
1232
1232
|
n
|
|
1233
1233
|
);
|
|
@@ -1256,7 +1256,7 @@ function Ir(e, t, i = !1) {
|
|
|
1256
1256
|
}
|
|
1257
1257
|
};
|
|
1258
1258
|
}
|
|
1259
|
-
function
|
|
1259
|
+
function Ht(e) {
|
|
1260
1260
|
var g, I, R, O;
|
|
1261
1261
|
const {
|
|
1262
1262
|
card: t,
|
|
@@ -1339,7 +1339,7 @@ function ot(e, t, i, n) {
|
|
|
1339
1339
|
function me(e) {
|
|
1340
1340
|
if (!e.valueFormatPreferences)
|
|
1341
1341
|
return;
|
|
1342
|
-
const t =
|
|
1342
|
+
const t = Ht(e);
|
|
1343
1343
|
if (!t || t.type !== "number")
|
|
1344
1344
|
return;
|
|
1345
1345
|
const i = we(t.numberFormat, {
|
|
@@ -1473,7 +1473,7 @@ function yo(e) {
|
|
|
1473
1473
|
var i, n, r, a, o, s;
|
|
1474
1474
|
const t = e.persistedSettings ?? ((a = (r = (n = (i = e.card) == null ? void 0 : i.preferences) == null ? void 0 : n.tablePrefs) == null ? void 0 : r.columnSettingsMap) == null ? void 0 : a[e.columnId]);
|
|
1475
1475
|
if (!t && !e.resolvedSettings || (t == null ? void 0 : t.inheritMetricFormat) === !0 || ((o = e.resolvedSettings) == null ? void 0 : o.inheritMetricFormat) === !0) {
|
|
1476
|
-
const l =
|
|
1476
|
+
const l = G(
|
|
1477
1477
|
(s = oe(e.card, {
|
|
1478
1478
|
columnId: e.columnId,
|
|
1479
1479
|
metricId: e.metricId,
|
|
@@ -1488,7 +1488,7 @@ function yo(e) {
|
|
|
1488
1488
|
});
|
|
1489
1489
|
}
|
|
1490
1490
|
return Cr(
|
|
1491
|
-
|
|
1491
|
+
Ht({
|
|
1492
1492
|
...e,
|
|
1493
1493
|
persistedSettings: t
|
|
1494
1494
|
})
|
|
@@ -1686,7 +1686,7 @@ function Pr(e) {
|
|
|
1686
1686
|
), Q = u(R), V = (Z = (X = (J = t.preferences) == null ? void 0 : J.tablePrefs) == null ? void 0 : X.columnSettingsMap) == null ? void 0 : Z[p], U = {
|
|
1687
1687
|
dashboardId: e.dashboardId,
|
|
1688
1688
|
cardId: t.id
|
|
1689
|
-
}, B = { kind: "column", columnKey: p }, T = I && (!V || V.inheritMetricFormat === !0) ?
|
|
1689
|
+
}, B = { kind: "column", columnKey: p }, T = I && (!V || V.inheritMetricFormat === !0) ? G(I.format, {
|
|
1690
1690
|
preserveOmittedProperties: !0
|
|
1691
1691
|
}) : void 0;
|
|
1692
1692
|
if ((T == null ? void 0 : T.type) === "date")
|
|
@@ -1760,7 +1760,7 @@ function Pr(e) {
|
|
|
1760
1760
|
cardId: e.card.id
|
|
1761
1761
|
},
|
|
1762
1762
|
target: { kind: "column", columnKey: p.columnKey },
|
|
1763
|
-
format:
|
|
1763
|
+
format: Ge(
|
|
1764
1764
|
g,
|
|
1765
1765
|
{
|
|
1766
1766
|
dateStyle: e.reportContext.valueFormat.dateStyle,
|
|
@@ -1783,7 +1783,7 @@ function Pr(e) {
|
|
|
1783
1783
|
fieldId: p.id,
|
|
1784
1784
|
role: p.role
|
|
1785
1785
|
},
|
|
1786
|
-
format:
|
|
1786
|
+
format: Ge(
|
|
1787
1787
|
p,
|
|
1788
1788
|
{
|
|
1789
1789
|
dateStyle: e.reportContext.valueFormat.dateStyle,
|
|
@@ -1985,7 +1985,7 @@ function W(e, t) {
|
|
|
1985
1985
|
function Ke(e) {
|
|
1986
1986
|
return ((e == null ? void 0 : e.calculatedFields) || []).filter((t) => t.fieldScope === "sheet").map((t) => W(t, "sheet"));
|
|
1987
1987
|
}
|
|
1988
|
-
function
|
|
1988
|
+
function Gt(e) {
|
|
1989
1989
|
return ((e == null ? void 0 : e.calculatedFields) || []).filter((t) => !t.fieldScope).map((t) => W(t, "sheet"));
|
|
1990
1990
|
}
|
|
1991
1991
|
function kr(e) {
|
|
@@ -2010,7 +2010,7 @@ function Io(e) {
|
|
|
2010
2010
|
...r,
|
|
2011
2011
|
calculatedFields: z(
|
|
2012
2012
|
Ke(r),
|
|
2013
|
-
|
|
2013
|
+
Gt(r)
|
|
2014
2014
|
),
|
|
2015
2015
|
frames: (a = r.frames) == null ? void 0 : a.map(
|
|
2016
2016
|
(o) => o.calculatedFields === void 0 ? o : { ...o, calculatedFields: void 0 }
|
|
@@ -2048,7 +2048,7 @@ function xo(e, t) {
|
|
|
2048
2048
|
function So(e, t) {
|
|
2049
2049
|
if (!e)
|
|
2050
2050
|
return [];
|
|
2051
|
-
const i = Ke(e), n =
|
|
2051
|
+
const i = Ke(e), n = Gt(e), r = z(
|
|
2052
2052
|
i,
|
|
2053
2053
|
n
|
|
2054
2054
|
);
|
|
@@ -2110,7 +2110,7 @@ function qr(e, t, i) {
|
|
|
2110
2110
|
var a;
|
|
2111
2111
|
if (!e || !t || t.customFilterPreferences) return;
|
|
2112
2112
|
const n = t.defaultDateFilter;
|
|
2113
|
-
return (t.dateSelectionMode === "day" ? an(n) : t.dateSelectionMode === "months" && (on(n) || sn(n) && n.unit === "month" && (n.mode === "previous" || n.mode === "this" && !n.toDate && !n.boundary))) && ((a =
|
|
2113
|
+
return (t.dateSelectionMode === "day" ? an(n) : t.dateSelectionMode === "months" && (on(n) || sn(n) && n.unit === "month" && (n.mode === "previous" || n.mode === "this" && !n.toDate && !n.boundary))) && ((a = H(t, i)) == null ? void 0 : a.valueType) === "date" ? !0 : void 0;
|
|
2114
2114
|
}
|
|
2115
2115
|
function Do(e) {
|
|
2116
2116
|
const t = e.createId ?? Dt, i = t(), n = wi({
|
|
@@ -2193,13 +2193,13 @@ function zr(e, t, i, n = { calendar: null }) {
|
|
|
2193
2193
|
...h,
|
|
2194
2194
|
...r.inputs.filter((M) => M.input.id !== s.id).map((M) => M.input)
|
|
2195
2195
|
]) : s.variableName, b = f && (l.title || l.column) !== (c.title || c.column), m = i.label ?? (b ? c.title || c.column || c.id : void 0), y = f && l.hide !== c.hide, C = f && l.toolbarWidth !== c.toolbarWidth, D = (M) => {
|
|
2196
|
-
var Ue,
|
|
2196
|
+
var Ue, He;
|
|
2197
2197
|
const x = { ...M };
|
|
2198
2198
|
if (m !== void 0 && (x.label = m), i.variableName !== void 0 && (x.variableName = v), i.scope && (x.scope = i.scope), y || C) {
|
|
2199
2199
|
const be = Mt(c);
|
|
2200
2200
|
x.presentation = { ...M.presentation }, y && (x.presentation.placement = be.placement), C && (be.widthPx === void 0 ? delete x.presentation.widthPx : x.presentation.widthPx = be.widthPx);
|
|
2201
2201
|
}
|
|
2202
|
-
return (i.forceSelection !== void 0 || f) && (d ? x.forceSelection = d : delete x.forceSelection), i.requiredAtExecution !== void 0 && (i.requiredAtExecution ? x.requiredAtExecution = !0 : delete x.requiredAtExecution), Ie(x, "optionSource", i.optionSource), Ie(x, "optionDependencies", i.optionDependencies), Ie(x, "optionPopulation", i.optionPopulation), ((Ue = i.mapping) == null ? void 0 : Ue.kind) === "save" && i.mapping.draft.acceptance.ok ? x.application = i.mapping.draft.acceptance.application : ((
|
|
2202
|
+
return (i.forceSelection !== void 0 || f) && (d ? x.forceSelection = d : delete x.forceSelection), i.requiredAtExecution !== void 0 && (i.requiredAtExecution ? x.requiredAtExecution = !0 : delete x.requiredAtExecution), Ie(x, "optionSource", i.optionSource), Ie(x, "optionDependencies", i.optionDependencies), Ie(x, "optionPopulation", i.optionPopulation), ((Ue = i.mapping) == null ? void 0 : Ue.kind) === "save" && i.mapping.draft.acceptance.ok ? x.application = i.mapping.draft.acceptance.application : ((He = i.mapping) == null ? void 0 : He.kind) === "remove" && delete x.application, x;
|
|
2203
2203
|
}, w = i.label !== void 0 && i.label !== s.label && i.label !== c.title ? i.label : void 0, F = f || i.variableName !== void 0 || w !== void 0, S = (M) => ({
|
|
2204
2204
|
...M,
|
|
2205
2205
|
...i.variableName !== void 0 ? { variableName: v } : {},
|
|
@@ -2278,7 +2278,7 @@ function zr(e, t, i, n = { calendar: null }) {
|
|
|
2278
2278
|
});
|
|
2279
2279
|
}
|
|
2280
2280
|
if (i.scope && V.input.runtimeScope !== "shared") {
|
|
2281
|
-
const M =
|
|
2281
|
+
const M = Hr(
|
|
2282
2282
|
O,
|
|
2283
2283
|
s,
|
|
2284
2284
|
V.input,
|
|
@@ -2295,7 +2295,7 @@ function zr(e, t, i, n = { calendar: null }) {
|
|
|
2295
2295
|
}))
|
|
2296
2296
|
);
|
|
2297
2297
|
}
|
|
2298
|
-
return O =
|
|
2298
|
+
return O = Gr(O, A), {
|
|
2299
2299
|
ok: !0,
|
|
2300
2300
|
dashboard: O,
|
|
2301
2301
|
inputId: V.input.id,
|
|
@@ -2373,7 +2373,7 @@ function Ur(e, t) {
|
|
|
2373
2373
|
)
|
|
2374
2374
|
) ? t.variableName : void 0;
|
|
2375
2375
|
}
|
|
2376
|
-
function
|
|
2376
|
+
function Hr(e, t, i, n) {
|
|
2377
2377
|
var u, f;
|
|
2378
2378
|
const r = [], a = Tt(e), o = (d) => lt(t, d, a), s = (d) => lt(i, d, a), l = [];
|
|
2379
2379
|
if (i.runtimeScope === "perSheet")
|
|
@@ -2412,7 +2412,7 @@ function lt(e, t, i) {
|
|
|
2412
2412
|
}
|
|
2413
2413
|
return cn(e, t);
|
|
2414
2414
|
}
|
|
2415
|
-
function
|
|
2415
|
+
function Gr(e, t) {
|
|
2416
2416
|
const i = { ...e };
|
|
2417
2417
|
return t.defaultInputValues && Object.keys(t.defaultInputValues).length ? i.defaultInputValues = t.defaultInputValues : e.defaultInputValues !== void 0 && delete i.defaultInputValues, i;
|
|
2418
2418
|
}
|
|
@@ -2422,7 +2422,7 @@ function Wr(e, t, i, n, r) {
|
|
|
2422
2422
|
...i,
|
|
2423
2423
|
target: (i == null ? void 0 : i.target) ?? n,
|
|
2424
2424
|
defaultValueChanged: a,
|
|
2425
|
-
defaultFilterValue: a ?
|
|
2425
|
+
defaultFilterValue: a ? H(t, r) : void 0
|
|
2426
2426
|
};
|
|
2427
2427
|
}
|
|
2428
2428
|
function Wt(e) {
|
|
@@ -2997,10 +2997,10 @@ function ri(e, t, i) {
|
|
|
2997
2997
|
return r ? gn({
|
|
2998
2998
|
filterDefinitions: [t.filter],
|
|
2999
2999
|
filterValues: [r]
|
|
3000
|
-
})[0] :
|
|
3000
|
+
})[0] : H(t.filter, i);
|
|
3001
3001
|
}
|
|
3002
3002
|
case "definition":
|
|
3003
|
-
return
|
|
3003
|
+
return H(t.filter, i);
|
|
3004
3004
|
}
|
|
3005
3005
|
}
|
|
3006
3006
|
function ai(e) {
|
|
@@ -3021,7 +3021,7 @@ function Vo(e) {
|
|
|
3021
3021
|
defaultDateFilter: void 0
|
|
3022
3022
|
};
|
|
3023
3023
|
const s = ri(t, i, n);
|
|
3024
|
-
if (!s || ha(s,
|
|
3024
|
+
if (!s || ha(s, H(r, n)))
|
|
3025
3025
|
return a;
|
|
3026
3026
|
if (s.valueType === "date") {
|
|
3027
3027
|
const l = Vi(
|
|
@@ -3087,7 +3087,7 @@ function ya(e, t, i) {
|
|
|
3087
3087
|
}
|
|
3088
3088
|
);
|
|
3089
3089
|
return l.find((u) => {
|
|
3090
|
-
const f =
|
|
3090
|
+
const f = H(
|
|
3091
3091
|
{ ...e, defaultDateFilter: u },
|
|
3092
3092
|
i
|
|
3093
3093
|
);
|
|
@@ -3103,10 +3103,10 @@ function ya(e, t, i) {
|
|
|
3103
3103
|
});
|
|
3104
3104
|
}
|
|
3105
3105
|
function ga(e) {
|
|
3106
|
-
const t =
|
|
3106
|
+
const t = G(e.format);
|
|
3107
3107
|
if ((t == null ? void 0 : t.type) === "temporal_bucket") {
|
|
3108
3108
|
if (!e.granularity) return {};
|
|
3109
|
-
const i =
|
|
3109
|
+
const i = Hi(
|
|
3110
3110
|
t,
|
|
3111
3111
|
e.granularity
|
|
3112
3112
|
);
|
|
@@ -3367,7 +3367,7 @@ export {
|
|
|
3367
3367
|
qe as A,
|
|
3368
3368
|
Sr as B,
|
|
3369
3369
|
br as C,
|
|
3370
|
-
|
|
3370
|
+
Ga as D,
|
|
3371
3371
|
Mo as E,
|
|
3372
3372
|
xo as F,
|
|
3373
3373
|
z as G,
|
|
@@ -3382,7 +3382,7 @@ export {
|
|
|
3382
3382
|
kn as P,
|
|
3383
3383
|
Bn as Q,
|
|
3384
3384
|
zo as R,
|
|
3385
|
-
|
|
3385
|
+
Ht as S,
|
|
3386
3386
|
zn as T,
|
|
3387
3387
|
$n as U,
|
|
3388
3388
|
Ee as V,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { u as y, v as N } from "./validators-
|
|
1
|
+
import { u as y, v as N } from "./validators-ClKLGDGZ.js";
|
|
2
2
|
import { g as k } from "./zoned-wall-clock-MulfA26h.js";
|
|
3
|
-
import { C as D, B as T, I as L } from "./temporal-bucket-
|
|
3
|
+
import { C as D, B as T, I as L } from "./temporal-bucket-C4rqmwaQ.js";
|
|
4
4
|
const d = { kind: "plain" }, g = { kind: "temporal" }, O = {
|
|
5
5
|
"=": "=",
|
|
6
6
|
"!=": "!=",
|