react-semaphor 0.1.556 → 0.1.557
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 +6 -29
- package/dist/analytics-protocol/index.js +19 -20
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +28 -29
- package/dist/briefings/index.js +55 -56
- package/dist/chunks/{assistant-chat-C7Acww1T.js → assistant-chat-WMTpYirZ.js} +78 -80
- package/dist/chunks/{bookmark-state-7iZErWnR.js → bookmark-state-PjQpxbG7.js} +3 -3
- package/dist/chunks/{braces-o9UiRQes.js → braces-BOErQVyi.js} +1 -1
- package/dist/chunks/{comparison-window-caption-BseG5aOZ.js → comparison-window-caption-Dc7BaCMz.js} +186 -189
- package/dist/chunks/{custom-visual-inputs-ChuKjx27.js → custom-visual-inputs-CxYI-gFa.js} +1 -1
- package/dist/chunks/{dashboard-BU6rE5kV.js → dashboard-4D8Vy4pL.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-qrYd2zkN.js → dashboard-briefing-launcher-C4EmOfxs.js} +147 -149
- package/dist/chunks/{dashboard-controls-BsapXI2H.js → dashboard-controls-DBWykmvL.js} +170 -172
- package/dist/chunks/{dashboard-json-CJqPqYnI.js → dashboard-json-DiX-p0F7.js} +20 -21
- package/dist/chunks/{document-dashboard-inputs-BNSprf5_.js → document-dashboard-inputs-DP5hquBR.js} +30 -30
- package/dist/chunks/{edit-dashboard-visual-CjAdV-WG.js → edit-dashboard-visual-n1jLV_7V.js} +4773 -4802
- package/dist/chunks/{filter-reach-copy-BTrqtFkh.js → filter-reach-copy-BB9iakLA.js} +147 -148
- package/dist/chunks/{filter-value-text-CJTJDCym.js → filter-value-text-CUBpotVN.js} +3 -3
- package/dist/chunks/{global-date-filter-utils-CTVf3dG3.js → global-date-filter-utils-Cc5tqkoW.js} +585 -591
- package/dist/chunks/{index-B_vIRa-q.js → index-CgjhzkKM.js} +69 -70
- package/dist/chunks/{layout-grid-Bgzth8vd.js → layout-grid-CcNklCwL.js} +1 -1
- package/dist/chunks/{list-filter-DsaTbM3J.js → list-filter-Ds_4UTpD.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-Cg0ioFGQ.js → matrix-analytical-definition-4GTUDheD.js} +3 -3
- package/dist/chunks/{matrix-card-yYibXSw1.js → matrix-card-fS_4O7zA.js} +2 -2
- package/dist/chunks/{matrix-member-presentation-DEEauKXC.js → matrix-member-presentation-Dj7HaAHC.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-C1G6AJNh.js → matrix-operation-contract-CpgLZ7E5.js} +21 -21
- package/dist/chunks/{metric-comparison-BfcmwxM1.js → metric-comparison-C8LY7GG5.js} +1 -1
- package/dist/chunks/{palette-D10o_yYX.js → palette-DMkIhagj.js} +1 -1
- package/dist/chunks/{matrix-formatter-C2kjsCDf.js → pivot-result-contract-expectations-DMk-mKhG.js} +444 -395
- package/dist/chunks/{pivot-result-identity-CWi5WrrY.js → pivot-result-identity-CrQ54Xbj.js} +1 -1
- package/dist/chunks/{raw-temporal-presentation-DWzLIHc3.js → raw-temporal-presentation-DdEpgPRB.js} +24 -25
- package/dist/chunks/report-preferences-dialog-CFg5VFLk.js +2109 -0
- package/dist/chunks/{report-runtime-context-BgM-iNWB.js → report-runtime-context-CohdtiMg.js} +1 -1
- package/dist/chunks/{resolve-dashboard-input-context-Df8V5QHW.js → resolve-dashboard-input-context-Djl3kCFL.js} +224 -226
- package/dist/chunks/{save-CfJpQQ68.js → save-D1EpMcwT.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-VvXI6r03.js → saved-dashboard-context-umlQFevH.js} +8 -8
- package/dist/chunks/selection-reducer-_d6aKJnj.js +46 -0
- package/dist/chunks/{semaphor-ready-indicator-fejZmdq9.js → semaphor-ready-indicator-4cOp6sla.js} +40458 -43400
- package/dist/chunks/{shelf-drop-preview-context-BuTCXe-S.js → shelf-drop-preview-context-DAtRuvR7.js} +6 -6
- package/dist/chunks/{source-entity-resolution-B46EZIzX.js → source-entity-resolution-DXW1HpKf.js} +1 -1
- package/dist/chunks/{switch-Bq92UGId.js → switch-9CJt5EF_.js} +1430 -1341
- package/dist/chunks/{table-export-sheet-noKl8-en.js → table-export-sheet-CTCTA_bd.js} +1 -1
- package/dist/chunks/{table-settings-PpINOzw8.js → table-settings-DF1gdVQR.js} +2 -2
- package/dist/chunks/temporal-input-presentation-DoSniQj1.js +2939 -0
- package/dist/chunks/{token-types--0bgRCaO.js → token-types-DFyLflLY.js} +1 -1
- package/dist/chunks/{upload-BFX7apKV.js → upload-LSNKpt0w.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-Cz-ve64t.js → use-create-flow-overlay-state-esyMT9vU.js} +124 -126
- package/dist/chunks/{validators-CZo_H4E6.js → validators-hmfNNQz8.js} +5 -5
- package/dist/chunks/zoned-wall-clock-E35Frf9v.js +191 -0
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +130 -131
- package/dist/data-app-sdk/index.js +788 -4153
- 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 +230 -233
- package/dist/index.js +216 -217
- 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/data-app-sdk/contracts.d.ts +0 -146
- package/dist/types/data-app-sdk/index.d.ts +0 -2
- package/dist/types/index.js +6 -6
- package/dist/types/shared/dashboard-authoring/filter-model/filter-definitions.d.ts +1 -7
- package/package.json +1 -3
- package/src/data-app-sdk/README.md +7 -31
- package/dist/chunks/pivot-result-contract-expectations-fKBHFPfz.js +0 -56
- package/dist/chunks/raw-temporal-contract-CjHaUIsE.js +0 -64
- package/dist/chunks/report-preferences-dialog-D_wrbIQt.js +0 -2261
- package/dist/chunks/selection-reducer-By4CSmEF.js +0 -111
- package/dist/chunks/temporal-bucket-DzyadxVY.js +0 -2071
- package/dist/chunks/temporal-input-presentation-CJWS4d0L.js +0 -879
- package/dist/chunks/x-4f5U2XwU.js +0 -100
- package/dist/chunks/zoned-wall-clock-MulfA26h.js +0 -129
- package/dist/types/data-app-sdk/devtools/index.d.ts +0 -49
- package/dist/types/data-app-sdk/devtools.d.ts +0 -1
package/dist/chunks/{global-date-filter-utils-CTVf3dG3.js → global-date-filter-utils-Cc5tqkoW.js}
RENAMED
|
@@ -2,25 +2,24 @@ var Rc = Object.defineProperty;
|
|
|
2
2
|
var Pc = (e, t, n) => t in e ? Rc(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var H = (e, t, n) => Pc(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import { o as Bc, m as qc, j as rn, c as jc, d as Sr, S as Gn } from "./analytics-base-schemas-BUFUoO6G.js";
|
|
5
|
-
import { r as Bt, c as Lc, P as Vc } from "./pivot-result-identity-
|
|
6
|
-
import { ab as se, ad as on, u as Go, a1 as Yc, w as we, a8 as ve, ao as Z, k as zc, q as an, C as _i, v as wr, o as Un, c as Gc, l as Ci, aR as Uc,
|
|
7
|
-
import { C as tl,
|
|
8
|
-
import { g as al, C as sl, i as cl } from "./metric-comparison-
|
|
5
|
+
import { r as Bt, c as Lc, P as Vc } from "./pivot-result-identity-CrQ54Xbj.js";
|
|
6
|
+
import { ab as se, ad as on, u as Go, a1 as Yc, w as we, a8 as ve, ao as Z, k as zc, q as an, C as _i, v as wr, o as Un, c as Gc, l as Ci, aR as Uc, aQ as Kc, Q as Hc, aS as Wc, aT as vi, E as Jc, B as Uo, aU as Qc, d as Ko, aN as Zc, Z as Xc, x as Si, an as el } from "./validators-hmfNNQz8.js";
|
|
7
|
+
import { C as tl, t as nl, ak as rl, N as il, L as ol, u as qt } from "./matrix-operation-contract-CpgLZ7E5.js";
|
|
8
|
+
import { g as al, C as sl, i as cl } from "./metric-comparison-C8LY7GG5.js";
|
|
9
9
|
import { z as f } from "zod";
|
|
10
|
-
import {
|
|
10
|
+
import { X as ll, W as Te, U as dl, a3 as Ho, aa as ul, ac as fl, ag as ml, ad as Tr, ae as kr, ah as pl, aj as gl, Z as hl, Q as yl, a1 as Wo, Y as bl } from "./temporal-input-presentation-DoSniQj1.js";
|
|
11
11
|
import { DEFAULT_RESOLVED_VALUE_FORMAT_PREFERENCES as je } from "../value-format-preferences/index.js";
|
|
12
|
-
import { y as gl, x as Te, u as hl, G as Ho, z as yl, E as Wo, D as bl } from "./temporal-bucket-DzyadxVY.js";
|
|
13
12
|
import { D as Il, T as _l, a as Cl } from "./index-dIV-Gdsb.js";
|
|
14
13
|
import { j as vl } from "./index-CuHybtft.js";
|
|
15
14
|
import { g as Jo } from "./_commonjsHelpers-DimLPMtv.js";
|
|
16
|
-
import { w as sn, c as Sl, r as Fr, h as wl, d as Tl, C as Dr, J as Qo, M as Zo, z as kl, H as Fl, K as Dl } from "./table-settings-
|
|
17
|
-
import { b as El } from "./report-runtime-context-
|
|
18
|
-
import { i as Ft, b as Xo, r as Nl } from "./matrix-card-
|
|
19
|
-
import { b as Al, T as Ml, J as ea, P as Ol, L as xl, D as $l, C as ta, d as Kn, O as Hn, N as Er, I as Rl, g as wi, U as Ti, i as Pl, c as Bl, V as Nr, R as na, r as Ut, t as Wn, f as ql, A as jl, a as Ll, Q as Vl, W as ra, v as Yl, S as zl, o as Gl, B as Ul } from "./matrix-analytical-definition-
|
|
20
|
-
import { r as Kl, e as Hl, o as Wl, m as ia, g as oa, p as aa, a as Jl } from "./source-entity-resolution-
|
|
15
|
+
import { w as sn, c as Sl, r as Fr, h as wl, d as Tl, C as Dr, J as Qo, M as Zo, z as kl, H as Fl, K as Dl } from "./table-settings-DF1gdVQR.js";
|
|
16
|
+
import { b as El } from "./report-runtime-context-CohdtiMg.js";
|
|
17
|
+
import { i as Ft, b as Xo, r as Nl } from "./matrix-card-fS_4O7zA.js";
|
|
18
|
+
import { b as Al, T as Ml, J as ea, P as Ol, L as xl, D as $l, C as ta, d as Kn, O as Hn, N as Er, I as Rl, g as wi, U as Ti, i as Pl, c as Bl, V as Nr, R as na, r as Ut, t as Wn, f as ql, A as jl, a as Ll, Q as Vl, W as ra, v as Yl, S as zl, o as Gl, B as Ul } from "./matrix-analytical-definition-4GTUDheD.js";
|
|
19
|
+
import { r as Kl, e as Hl, o as Wl, m as ia, g as oa, p as aa, a as Jl } from "./source-entity-resolution-DXW1HpKf.js";
|
|
21
20
|
import { S as Ql, a as ki } from "./color-CJvdlFM_.js";
|
|
22
|
-
import { g as Zl } from "./zoned-wall-clock-
|
|
23
|
-
const
|
|
21
|
+
import { g as Zl } from "./zoned-wall-clock-E35Frf9v.js";
|
|
22
|
+
const sy = (e) => Object.keys(e).length === 0;
|
|
24
23
|
function Oe(e) {
|
|
25
24
|
return !!e && typeof e == "object";
|
|
26
25
|
}
|
|
@@ -44,18 +43,18 @@ function wn(e, t, n) {
|
|
|
44
43
|
function Xl(e, t = "Unknown error", n = {}) {
|
|
45
44
|
return sa(e, t, n) || t;
|
|
46
45
|
}
|
|
47
|
-
function
|
|
46
|
+
function cy(e, t, n = {}) {
|
|
48
47
|
const r = Xl(t, "", n);
|
|
49
48
|
return r ? `${e}: ${r}` : e;
|
|
50
49
|
}
|
|
51
|
-
function
|
|
50
|
+
function ly(e) {
|
|
52
51
|
return Oe(e) && typeof e.status == "number" ? e.status : void 0;
|
|
53
52
|
}
|
|
54
|
-
function
|
|
53
|
+
function dy(e) {
|
|
55
54
|
if (!(!Oe(e) || !Oe(e.details)))
|
|
56
55
|
return Array.isArray(e.details.violations) ? e.details.violations : void 0;
|
|
57
56
|
}
|
|
58
|
-
function
|
|
57
|
+
function uy(e) {
|
|
59
58
|
return Oe(e) && typeof e.sql == "string" ? e.sql : void 0;
|
|
60
59
|
}
|
|
61
60
|
async function ed(e) {
|
|
@@ -93,33 +92,33 @@ async function ca(e, t, n = "GET", r, i) {
|
|
|
93
92
|
throw i != null && i.aborted || console.error("Error during fetch:", o), o;
|
|
94
93
|
}
|
|
95
94
|
}
|
|
96
|
-
async function
|
|
95
|
+
async function fy(e, t, n = {}, r) {
|
|
97
96
|
const i = new URLSearchParams(n).toString(), o = i ? `${e}?${i}` : e;
|
|
98
97
|
return ca(o, t, "GET", void 0, r);
|
|
99
98
|
}
|
|
100
|
-
async function
|
|
99
|
+
async function my(e, t, n = {}, r = "POST") {
|
|
101
100
|
return ca(e, t, r, n);
|
|
102
101
|
}
|
|
103
|
-
function
|
|
102
|
+
function py(e) {
|
|
104
103
|
return e ? vl(e).params : void 0;
|
|
105
104
|
}
|
|
106
|
-
function
|
|
105
|
+
function gy(e) {
|
|
107
106
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
108
107
|
}
|
|
109
|
-
function
|
|
108
|
+
function hy(e) {
|
|
110
109
|
return e.replace(
|
|
111
110
|
/\w\S*/g,
|
|
112
111
|
(t) => t.charAt(0).toUpperCase() + t.substring(1).toLowerCase()
|
|
113
112
|
);
|
|
114
113
|
}
|
|
115
|
-
function
|
|
114
|
+
function yy(e) {
|
|
116
115
|
return e.replace(/[_-]+/g, " ").replace(/([a-z])([A-Z])/g, "$1 $2").replace(
|
|
117
116
|
/\w\S*/g,
|
|
118
117
|
(t) => t.charAt(0).toUpperCase() + t.slice(1).toLowerCase()
|
|
119
118
|
);
|
|
120
119
|
}
|
|
121
|
-
const
|
|
122
|
-
async function
|
|
120
|
+
const by = "focus:ring-1 focus:ring-offset-0 focus-visible:ring-1 focus-visible:ring-offset-0", Iy = "focus-visible:ring-0 focus-visible:ring-ring focus-visible:ring-offset-0 focus:ring-0 focus:ring-ring focus:ring-offset-0";
|
|
121
|
+
async function _y(e, t, n = {}) {
|
|
123
122
|
if (!t)
|
|
124
123
|
return null;
|
|
125
124
|
let r = `${e}/v1/dashboard`;
|
|
@@ -144,7 +143,7 @@ async function Cy(e, t, n = {}) {
|
|
|
144
143
|
initialReportContext: c.value
|
|
145
144
|
};
|
|
146
145
|
}
|
|
147
|
-
async function
|
|
146
|
+
async function Cy(e, t) {
|
|
148
147
|
if (!t)
|
|
149
148
|
return null;
|
|
150
149
|
const n = `${e}/v1/plugins`;
|
|
@@ -660,8 +659,8 @@ function ga(e) {
|
|
|
660
659
|
r
|
|
661
660
|
), t && (t.finalized_ = !1), n;
|
|
662
661
|
}
|
|
663
|
-
var ud = new pa(),
|
|
664
|
-
function
|
|
662
|
+
var ud = new pa(), vy = ud.produce;
|
|
663
|
+
function Sy(e) {
|
|
665
664
|
return e;
|
|
666
665
|
}
|
|
667
666
|
function tt(e, t) {
|
|
@@ -722,7 +721,7 @@ function Or(e) {
|
|
|
722
721
|
});
|
|
723
722
|
return Oi.set(e, r), r;
|
|
724
723
|
}
|
|
725
|
-
function
|
|
724
|
+
function wy(e, t) {
|
|
726
725
|
var i, o;
|
|
727
726
|
const n = /* @__PURE__ */ new Set(), r = Or(e);
|
|
728
727
|
for (const a of r.values())
|
|
@@ -747,7 +746,7 @@ function Ty(e, t) {
|
|
|
747
746
|
}) && n.add(`section:${s.id}`);
|
|
748
747
|
return n;
|
|
749
748
|
}
|
|
750
|
-
function
|
|
749
|
+
function Ty(e) {
|
|
751
750
|
return e.kind === "filter" && e.scope.kind === "cards";
|
|
752
751
|
}
|
|
753
752
|
function xr(e, t) {
|
|
@@ -823,7 +822,7 @@ function $i(e, t) {
|
|
|
823
822
|
function pd(e, t) {
|
|
824
823
|
return t.sheetKind !== "document" || !e.compatibility || e.compatibility.source === "documentInput" ? !0 : e.compatibility.source === "cardInlineFilter" || e.compatibility.source === "cardControl" ? !!t.cardId && e.compatibility.cardId === t.cardId : !1;
|
|
825
824
|
}
|
|
826
|
-
function
|
|
825
|
+
function ky(e, t, n) {
|
|
827
826
|
switch (e.kind) {
|
|
828
827
|
case "sheets":
|
|
829
828
|
return e.sheetIds.length > 0 && e.sheetIds.every((r) => r === t);
|
|
@@ -835,22 +834,22 @@ function Fy(e, t, n) {
|
|
|
835
834
|
return !1;
|
|
836
835
|
}
|
|
837
836
|
}
|
|
838
|
-
function
|
|
837
|
+
function Fy(e) {
|
|
839
838
|
return e.kind === "sheets" && e.sheetIds.length === 0 || e.kind === "cards" && e.cardIds.length === 0;
|
|
840
839
|
}
|
|
841
840
|
function gd(e) {
|
|
842
841
|
return e.kind === "allSheets" || e.kind === "sheets" ? e.exceptCardIds ?? [] : [];
|
|
843
842
|
}
|
|
844
|
-
function
|
|
843
|
+
function Dy(e) {
|
|
845
844
|
return e.kind === "allSheets" ? e.exceptSheetIds ?? [] : [];
|
|
846
845
|
}
|
|
847
|
-
function
|
|
846
|
+
function Ey(e, t) {
|
|
848
847
|
var o;
|
|
849
848
|
if (e.kind !== "allSheets" && e.kind !== "sheets" || !((o = e.exceptCardIds) != null && o.includes(t))) return e;
|
|
850
849
|
const n = e.exceptCardIds.filter((a) => a !== t), { exceptCardIds: r, ...i } = e;
|
|
851
850
|
return n.length ? { ...i, exceptCardIds: n } : i;
|
|
852
851
|
}
|
|
853
|
-
function
|
|
852
|
+
function Ny(e, t, n) {
|
|
854
853
|
var s;
|
|
855
854
|
if (t.kind !== "allSheets" && t.kind !== "sheets") return t;
|
|
856
855
|
const r = gd(e), i = e.kind === "sheets" ? e.sheetIds.filter((c) => n.has(c)) : e.kind === "allSheets" && Ri(e) ? [...n].filter((c) => {
|
|
@@ -880,7 +879,7 @@ function Ri(e) {
|
|
|
880
879
|
var t;
|
|
881
880
|
return e.kind === "allSheets" && (!((t = e.sheetKinds) != null && t.length) || e.sheetKinds.includes("document"));
|
|
882
881
|
}
|
|
883
|
-
function
|
|
882
|
+
function Ay(e, t) {
|
|
884
883
|
switch (e.kind) {
|
|
885
884
|
case "allSheets":
|
|
886
885
|
case "sheets": {
|
|
@@ -922,7 +921,7 @@ function yd(e, t) {
|
|
|
922
921
|
} : {}
|
|
923
922
|
};
|
|
924
923
|
}
|
|
925
|
-
function
|
|
924
|
+
function My(e, t) {
|
|
926
925
|
return t ? {
|
|
927
926
|
...e,
|
|
928
927
|
targets: t.targets === void 0 ? e.targets : t.targets ?? $r,
|
|
@@ -930,18 +929,18 @@ function Oy(e, t) {
|
|
|
930
929
|
} : e;
|
|
931
930
|
}
|
|
932
931
|
const Dn = (e, t) => JSON.stringify(e) === JSON.stringify(t);
|
|
933
|
-
function
|
|
932
|
+
function Oy(e, t) {
|
|
934
933
|
const n = {};
|
|
935
934
|
return Dn(e.targets, t.targets) || (n.targets = Dn(e.targets, $r) ? null : e.targets), Dn(e.cardMappings, t.cardMappings) || (n.cardMappings = e.cardMappings.length ? e.cardMappings : null), Object.keys(n).length ? n : void 0;
|
|
936
935
|
}
|
|
937
|
-
function
|
|
936
|
+
function xy(e, t) {
|
|
938
937
|
return {
|
|
939
938
|
...e,
|
|
940
939
|
targets: (t == null ? void 0 : t.targets) ?? $r,
|
|
941
940
|
cardMappings: (t == null ? void 0 : t.cardMappings) ?? []
|
|
942
941
|
};
|
|
943
942
|
}
|
|
944
|
-
function
|
|
943
|
+
function $y(e) {
|
|
945
944
|
const t = Object.values(e.linkedInteractionTargetOverrides ?? {});
|
|
946
945
|
if (!t.length) return;
|
|
947
946
|
const n = {};
|
|
@@ -1023,7 +1022,7 @@ function Sd(e, t) {
|
|
|
1023
1022
|
return o[0];
|
|
1024
1023
|
}
|
|
1025
1024
|
}
|
|
1026
|
-
function
|
|
1025
|
+
function Ry(e, t) {
|
|
1027
1026
|
const n = ne(t.name);
|
|
1028
1027
|
if (!n)
|
|
1029
1028
|
return [];
|
|
@@ -1187,7 +1186,7 @@ function Dd(e, t) {
|
|
|
1187
1186
|
r
|
|
1188
1187
|
) || null;
|
|
1189
1188
|
}
|
|
1190
|
-
function
|
|
1189
|
+
function Py(e, t) {
|
|
1191
1190
|
var n;
|
|
1192
1191
|
if (!e || !t)
|
|
1193
1192
|
return null;
|
|
@@ -1207,7 +1206,7 @@ function Ed(e, t) {
|
|
|
1207
1206
|
const n = new Set(t.map(qi));
|
|
1208
1207
|
return e.every((r) => n.has(qi(r)));
|
|
1209
1208
|
}
|
|
1210
|
-
function
|
|
1209
|
+
function By(e, t) {
|
|
1211
1210
|
return Ed(
|
|
1212
1211
|
Bi(e),
|
|
1213
1212
|
Bi(t)
|
|
@@ -1231,7 +1230,7 @@ function Nd(e, t) {
|
|
|
1231
1230
|
...a ? { source: a } : {}
|
|
1232
1231
|
};
|
|
1233
1232
|
if (!t.granularity) return l;
|
|
1234
|
-
const d =
|
|
1233
|
+
const d = ll(
|
|
1235
1234
|
c,
|
|
1236
1235
|
t.granularity
|
|
1237
1236
|
);
|
|
@@ -1397,7 +1396,7 @@ function nr(e) {
|
|
|
1397
1396
|
function qd(e) {
|
|
1398
1397
|
return nr(e) === "datetime";
|
|
1399
1398
|
}
|
|
1400
|
-
function
|
|
1399
|
+
function qy(e) {
|
|
1401
1400
|
var n;
|
|
1402
1401
|
const t = nr(
|
|
1403
1402
|
(n = e.fieldMeta) == null ? void 0 : n.dataType
|
|
@@ -1407,13 +1406,13 @@ function jy(e) {
|
|
|
1407
1406
|
function jd(e, t) {
|
|
1408
1407
|
return e === "not between" && !Go(t) ? "not between" : "between";
|
|
1409
1408
|
}
|
|
1410
|
-
function
|
|
1409
|
+
function jy(e) {
|
|
1411
1410
|
return !!(e && Rd.has(e));
|
|
1412
1411
|
}
|
|
1413
1412
|
function Ld(e) {
|
|
1414
1413
|
return (e == null ? void 0 : e.mode) === "last" && (e.unit === "minute" || e.unit === "hour");
|
|
1415
1414
|
}
|
|
1416
|
-
function
|
|
1415
|
+
function Ly(e) {
|
|
1417
1416
|
return Ld(e) ? "minute" : void 0;
|
|
1418
1417
|
}
|
|
1419
1418
|
function Fa(e) {
|
|
@@ -1423,14 +1422,14 @@ function Fa(e) {
|
|
|
1423
1422
|
minutes: Number(t[2])
|
|
1424
1423
|
} : null;
|
|
1425
1424
|
}
|
|
1426
|
-
function
|
|
1425
|
+
function Vy(e) {
|
|
1427
1426
|
return Fa(e) !== null;
|
|
1428
1427
|
}
|
|
1429
|
-
function
|
|
1428
|
+
function Yy(e, t) {
|
|
1430
1429
|
const { hour: n, minute: r } = ta(e, t);
|
|
1431
1430
|
return `${String(n).padStart(2, "0")}:${String(r).padStart(2, "0")}`;
|
|
1432
1431
|
}
|
|
1433
|
-
function
|
|
1432
|
+
function zy(e, t, n, r = {}) {
|
|
1434
1433
|
const i = Fa(t);
|
|
1435
1434
|
if (!i) return null;
|
|
1436
1435
|
const o = r.boundary === "end";
|
|
@@ -1445,10 +1444,10 @@ function Gy(e, t, n, r = {}) {
|
|
|
1445
1444
|
n
|
|
1446
1445
|
);
|
|
1447
1446
|
}
|
|
1448
|
-
function
|
|
1447
|
+
function Gy(e, t, n) {
|
|
1449
1448
|
return (t === "=" || t === "!=") && n.temporalPrecision !== "minute" ? xl(e, n.timezone) : e;
|
|
1450
1449
|
}
|
|
1451
|
-
function
|
|
1450
|
+
function Uy(e, t) {
|
|
1452
1451
|
let n = [e == null ? void 0 : e.from, e == null ? void 0 : e.to];
|
|
1453
1452
|
const r = e.from && (e.to === void 0 || e.from.getTime() === e.to.getTime()) ? e.from : void 0;
|
|
1454
1453
|
return t.temporalPrecision !== "minute" && r && (n = [
|
|
@@ -1575,7 +1574,7 @@ function Wd(e) {
|
|
|
1575
1574
|
}
|
|
1576
1575
|
};
|
|
1577
1576
|
}
|
|
1578
|
-
function
|
|
1577
|
+
function Ky(e) {
|
|
1579
1578
|
const { dependencies: t } = e, n = /* @__PURE__ */ new Set([
|
|
1580
1579
|
e.targetInputId,
|
|
1581
1580
|
...t.excludeInputIds || []
|
|
@@ -1584,7 +1583,7 @@ function Hy(e) {
|
|
|
1584
1583
|
(r) => !n.has(r)
|
|
1585
1584
|
) : e.peerInputIds.filter((r) => !n.has(r));
|
|
1586
1585
|
}
|
|
1587
|
-
function
|
|
1586
|
+
function Hy(e, t, n) {
|
|
1588
1587
|
if (t === n) return e;
|
|
1589
1588
|
let r = !1;
|
|
1590
1589
|
const i = (a) => a != null && a.includes(t) ? (r = !0, Array.from(
|
|
@@ -1604,7 +1603,7 @@ function Wy(e, t, n) {
|
|
|
1604
1603
|
});
|
|
1605
1604
|
return r ? o : e;
|
|
1606
1605
|
}
|
|
1607
|
-
function
|
|
1606
|
+
function Wy(e, t) {
|
|
1608
1607
|
const n = Jd(
|
|
1609
1608
|
e.dependencies,
|
|
1610
1609
|
t
|
|
@@ -1643,7 +1642,7 @@ function Aa(e, t) {
|
|
|
1643
1642
|
const n = Vi(t), r = Vi(e.field);
|
|
1644
1643
|
return Na(t.dataType, e.field.dataType) && [...r].some((i) => n.has(i));
|
|
1645
1644
|
}
|
|
1646
|
-
function
|
|
1645
|
+
function Jy(e) {
|
|
1647
1646
|
const t = e.candidates.filter(
|
|
1648
1647
|
(n) => Aa(
|
|
1649
1648
|
n,
|
|
@@ -1652,7 +1651,7 @@ function Qy(e) {
|
|
|
1652
1651
|
);
|
|
1653
1652
|
return t.length === 1 ? { status: "matched", target: t[0] } : t.length > 1 ? { status: "ambiguous" } : { status: "notApplicable" };
|
|
1654
1653
|
}
|
|
1655
|
-
function
|
|
1654
|
+
function Qy(e) {
|
|
1656
1655
|
const t = [];
|
|
1657
1656
|
for (const n of e.acceptedTargets)
|
|
1658
1657
|
!Na(
|
|
@@ -1736,7 +1735,7 @@ function tu(e) {
|
|
|
1736
1735
|
xa(e)
|
|
1737
1736
|
), t;
|
|
1738
1737
|
}
|
|
1739
|
-
function
|
|
1738
|
+
function Zy(e, t) {
|
|
1740
1739
|
const n = [];
|
|
1741
1740
|
return Jt(
|
|
1742
1741
|
n,
|
|
@@ -1746,7 +1745,7 @@ function Xy(e, t) {
|
|
|
1746
1745
|
xa(e, t)
|
|
1747
1746
|
), n;
|
|
1748
1747
|
}
|
|
1749
|
-
function
|
|
1748
|
+
function Xy(e) {
|
|
1750
1749
|
var r, i;
|
|
1751
1750
|
const t = ee((r = e.fieldMeta) == null ? void 0 : r.name) || ee(e.column), n = (i = t == null ? void 0 : t.split(".").pop()) == null ? void 0 : i.split('"').join("").trim();
|
|
1752
1751
|
return n ? { name: n } : void 0;
|
|
@@ -1786,7 +1785,7 @@ function ou(e, t) {
|
|
|
1786
1785
|
(n) => Z(n.source, t.field.source) && Aa({ kind: "field", field: t.field }, n)
|
|
1787
1786
|
);
|
|
1788
1787
|
}
|
|
1789
|
-
function
|
|
1788
|
+
function eb(e, t, n) {
|
|
1790
1789
|
const r = $a(e).find(
|
|
1791
1790
|
(i) => i.source.kind === "semantic" && i.source.domainId === t
|
|
1792
1791
|
);
|
|
@@ -1803,7 +1802,7 @@ function au(e) {
|
|
|
1803
1802
|
const n = e.config;
|
|
1804
1803
|
return !!n && !(n != null && n.joinPlan);
|
|
1805
1804
|
}
|
|
1806
|
-
function
|
|
1805
|
+
function tb(e) {
|
|
1807
1806
|
var i;
|
|
1808
1807
|
const t = (i = e.semanticContext) == null ? void 0 : i.semanticDomainId;
|
|
1809
1808
|
if (typeof t != "string" || !t.trim() || !e.fieldMeta) return;
|
|
@@ -1923,7 +1922,7 @@ function Nn(e, t) {
|
|
|
1923
1922
|
const n = at(e, t);
|
|
1924
1923
|
return n ? { ...t, ...n } : t;
|
|
1925
1924
|
}
|
|
1926
|
-
function
|
|
1925
|
+
function nb(e, t) {
|
|
1927
1926
|
const n = t || [];
|
|
1928
1927
|
return n.length === 0 ? e : {
|
|
1929
1928
|
...e,
|
|
@@ -1935,7 +1934,7 @@ function rb(e, t) {
|
|
|
1935
1934
|
}))
|
|
1936
1935
|
};
|
|
1937
1936
|
}
|
|
1938
|
-
function
|
|
1937
|
+
function rb(e, t) {
|
|
1939
1938
|
if (!(e != null && e.joins.length))
|
|
1940
1939
|
return [];
|
|
1941
1940
|
const n = [
|
|
@@ -2211,7 +2210,7 @@ function Iu(e, t) {
|
|
|
2211
2210
|
(n) => Z(n, t)
|
|
2212
2211
|
);
|
|
2213
2212
|
}
|
|
2214
|
-
function
|
|
2213
|
+
function ib(e, t) {
|
|
2215
2214
|
var n;
|
|
2216
2215
|
return (n = _u(e, t)) == null ? void 0 : n.source;
|
|
2217
2216
|
}
|
|
@@ -2748,12 +2747,12 @@ function fn({
|
|
|
2748
2747
|
);
|
|
2749
2748
|
}), i.length ? { ok: !1, inputs: s, issues: i } : { ok: !0, inputs: s });
|
|
2750
2749
|
}
|
|
2751
|
-
function
|
|
2750
|
+
function ob(e) {
|
|
2752
2751
|
const t = fn(e);
|
|
2753
2752
|
if (!t.ok) throw new Cu(t.issues);
|
|
2754
2753
|
return t.inputs;
|
|
2755
2754
|
}
|
|
2756
|
-
function
|
|
2755
|
+
function ab(e = () => globalThis.crypto.randomUUID()) {
|
|
2757
2756
|
return e();
|
|
2758
2757
|
}
|
|
2759
2758
|
function $u(e) {
|
|
@@ -3348,7 +3347,7 @@ function Ct({
|
|
|
3348
3347
|
)
|
|
3349
3348
|
});
|
|
3350
3349
|
}
|
|
3351
|
-
function
|
|
3350
|
+
function sb({
|
|
3352
3351
|
filterDefinitions: e,
|
|
3353
3352
|
filterValues: t
|
|
3354
3353
|
}) {
|
|
@@ -3372,7 +3371,7 @@ function cb({
|
|
|
3372
3371
|
});
|
|
3373
3372
|
return r ? i : t;
|
|
3374
3373
|
}
|
|
3375
|
-
function
|
|
3374
|
+
function cb(e) {
|
|
3376
3375
|
const t = Qu({
|
|
3377
3376
|
fieldName: e.column,
|
|
3378
3377
|
definition: e
|
|
@@ -3855,7 +3854,7 @@ function Ha(e) {
|
|
|
3855
3854
|
function Zt(e) {
|
|
3856
3855
|
return ["domain", e.role || "field", Ha(e), e.name].join("::");
|
|
3857
3856
|
}
|
|
3858
|
-
function
|
|
3857
|
+
function lb(e) {
|
|
3859
3858
|
var i, o;
|
|
3860
3859
|
if (e.fieldScope !== "domain") return;
|
|
3861
3860
|
const t = e.calculatedFieldOrigin;
|
|
@@ -3864,13 +3863,13 @@ function db(e) {
|
|
|
3864
3863
|
if (!(r !== "metric" && r !== "groupby"))
|
|
3865
3864
|
return Zt({ ...e, role: r });
|
|
3866
3865
|
}
|
|
3867
|
-
const
|
|
3866
|
+
const db = "semaphor_calculated_fields", ub = "calculated_fields", of = [
|
|
3868
3867
|
"table",
|
|
3869
3868
|
"view",
|
|
3870
3869
|
"materialized view"
|
|
3871
|
-
],
|
|
3870
|
+
], fb = ["_forecast"], af = "dm";
|
|
3872
3871
|
[...Il.breakpoints];
|
|
3873
|
-
const
|
|
3872
|
+
const mb = {
|
|
3874
3873
|
// dashboardHeader: ' font-mono border-b-2 border-red-700',
|
|
3875
3874
|
default: {
|
|
3876
3875
|
dashboardPanel: "",
|
|
@@ -4242,11 +4241,11 @@ function Za(e, t, n = 1) {
|
|
|
4242
4241
|
);
|
|
4243
4242
|
return [s, c];
|
|
4244
4243
|
}
|
|
4245
|
-
function
|
|
4244
|
+
function pb(e, t, n = 1, r = /* @__PURE__ */ new Date()) {
|
|
4246
4245
|
const { start: i, end: o } = Hn(e, { tz: t, weekStart: n }, r);
|
|
4247
4246
|
return [i, o];
|
|
4248
4247
|
}
|
|
4249
|
-
const Xa = (e) => ({ tz: e, weekStart: 1 }),
|
|
4248
|
+
const Xa = (e) => ({ tz: e, weekStart: 1 }), gb = (e, t) => Rl(e, "day", Xa(t)), hf = (e, t) => ea(e, "day", Xa(t)), yf = /^\d{4}-\d{2}-\d{2}$/, hb = (e, t, n = "start") => {
|
|
4250
4249
|
if (e == null || e === "") return;
|
|
4251
4250
|
if (e instanceof Date)
|
|
4252
4251
|
return Number.isNaN(e.getTime()) ? void 0 : e;
|
|
@@ -4509,7 +4508,7 @@ function Sf(e) {
|
|
|
4509
4508
|
const r = j(t.tableVisualOptions) ? t.tableVisualOptions : void 0, i = r && j(r.metricComparison) ? r.metricComparison : void 0;
|
|
4510
4509
|
i && delete i.lowerIsBetter;
|
|
4511
4510
|
}
|
|
4512
|
-
function
|
|
4511
|
+
function yb(e) {
|
|
4513
4512
|
const t = Xi(e);
|
|
4514
4513
|
if (!t.length)
|
|
4515
4514
|
return { document: e, changed: !1, changes: [], diagnostics: [] };
|
|
@@ -4713,7 +4712,7 @@ function Df(e, t) {
|
|
|
4713
4712
|
...e.type === "matrixTable" ? { matrixSources: n ?? { ...ns } } : {}
|
|
4714
4713
|
};
|
|
4715
4714
|
}
|
|
4716
|
-
function
|
|
4715
|
+
function bb(e, t) {
|
|
4717
4716
|
var u, m;
|
|
4718
4717
|
if (e.clickToFilter)
|
|
4719
4718
|
return Df(e, e.clickToFilter);
|
|
@@ -4785,7 +4784,7 @@ const rs = f.union([
|
|
|
4785
4784
|
target: f.object({ kind: f.literal("field"), field: tl }).strict()
|
|
4786
4785
|
}).strict(),
|
|
4787
4786
|
f.object({ kind: f.literal("excluded"), cardId: f.string().min(1) }).strict()
|
|
4788
|
-
]),
|
|
4787
|
+
]), Ib = f.object({
|
|
4789
4788
|
enabled: f.boolean(),
|
|
4790
4789
|
fields: f.union([
|
|
4791
4790
|
f.object({ kind: f.literal("wholeRow") }).strict(),
|
|
@@ -4804,7 +4803,7 @@ const rs = f.union([
|
|
|
4804
4803
|
}).strict().optional(),
|
|
4805
4804
|
targets: rs,
|
|
4806
4805
|
cardMappings: f.array(is)
|
|
4807
|
-
}).strict(),
|
|
4806
|
+
}).strict(), _b = f.boolean(), Cb = f.object({
|
|
4808
4807
|
targets: rs.nullable().optional(),
|
|
4809
4808
|
cardMappings: f.array(is).nullable().optional()
|
|
4810
4809
|
}).strict(), Ef = [
|
|
@@ -4967,7 +4966,7 @@ function Of(e, t, n = je) {
|
|
|
4967
4966
|
}
|
|
4968
4967
|
});
|
|
4969
4968
|
}
|
|
4970
|
-
function
|
|
4969
|
+
function vb(e, t, n = je) {
|
|
4971
4970
|
const r = Yr[e], i = (t == null ? void 0 : t.presentation.mode) === "preset" ? t.presentation.preset : void 0, o = i && t && Te(t, e).ok && !r.some(
|
|
4972
4971
|
(s) => {
|
|
4973
4972
|
var c;
|
|
@@ -5020,7 +5019,7 @@ function xf(e, t) {
|
|
|
5020
5019
|
}
|
|
5021
5020
|
return { value: "auto", customPattern: "", format: e };
|
|
5022
5021
|
}
|
|
5023
|
-
function
|
|
5022
|
+
function Sb(e, t, n = "") {
|
|
5024
5023
|
var a;
|
|
5025
5024
|
const r = Yr[e].find(
|
|
5026
5025
|
(s) => s.value === t
|
|
@@ -5030,7 +5029,7 @@ function wb(e, t, n = "") {
|
|
|
5030
5029
|
mode: "pattern",
|
|
5031
5030
|
pattern: n.trim() || (((a = r == null ? void 0 : r.format) == null ? void 0 : a.presentation.mode) === "pattern" ? r.format.presentation.pattern : "")
|
|
5032
5031
|
}
|
|
5033
|
-
} : (r == null ? void 0 : r.format) ?? (i &&
|
|
5032
|
+
} : (r == null ? void 0 : r.format) ?? (i && dl(i) ? {
|
|
5034
5033
|
type: "temporal_bucket",
|
|
5035
5034
|
presentation: {
|
|
5036
5035
|
mode: "preset",
|
|
@@ -5039,7 +5038,7 @@ function wb(e, t, n = "") {
|
|
|
5039
5038
|
} : void 0);
|
|
5040
5039
|
return !o || !Te(o, e).ok ? ue : o;
|
|
5041
5040
|
}
|
|
5042
|
-
function
|
|
5041
|
+
function wb(e, t) {
|
|
5043
5042
|
return Te(e, t).ok ? e : ue;
|
|
5044
5043
|
}
|
|
5045
5044
|
function $f(e) {
|
|
@@ -5075,7 +5074,7 @@ function qf(e) {
|
|
|
5075
5074
|
if (!e || typeof e != "object") return;
|
|
5076
5075
|
const t = e.temporal;
|
|
5077
5076
|
if (t === void 0) return;
|
|
5078
|
-
const n =
|
|
5077
|
+
const n = ul(t);
|
|
5079
5078
|
return n || cs(
|
|
5080
5079
|
`presentation:${JSON.stringify(t)}`,
|
|
5081
5080
|
"A text variable has an invalid date format; it shows automatic dates."
|
|
@@ -5089,7 +5088,7 @@ function jf({
|
|
|
5089
5088
|
context: i
|
|
5090
5089
|
}) {
|
|
5091
5090
|
if (!t) return "";
|
|
5092
|
-
const o =
|
|
5091
|
+
const o = fl({
|
|
5093
5092
|
value: t,
|
|
5094
5093
|
part: Bf(n),
|
|
5095
5094
|
presentation: r,
|
|
@@ -5130,7 +5129,7 @@ function Yf() {
|
|
|
5130
5129
|
function ls(e) {
|
|
5131
5130
|
return Nt(e) ? e.version === 1 && Array.isArray(e.blocks) && e.blocks.every(zf) : !1;
|
|
5132
5131
|
}
|
|
5133
|
-
function
|
|
5132
|
+
function Tb(e, t) {
|
|
5134
5133
|
return !ls(e) || !e.blocks.length ? "" : e.blocks.map((n) => Kf(n, t)).join("");
|
|
5135
5134
|
}
|
|
5136
5135
|
function zf(e) {
|
|
@@ -5223,7 +5222,7 @@ function Zf(e) {
|
|
|
5223
5222
|
function Xf(e, t) {
|
|
5224
5223
|
return e === "matrixTable" ? !t.isDevMode : !0;
|
|
5225
5224
|
}
|
|
5226
|
-
function
|
|
5225
|
+
function kb(e, t) {
|
|
5227
5226
|
return Xf(e, t);
|
|
5228
5227
|
}
|
|
5229
5228
|
function em(e) {
|
|
@@ -5281,7 +5280,7 @@ function zr(e, t) {
|
|
|
5281
5280
|
if ((i = e.config) != null && i.matrix) return e.config.matrix;
|
|
5282
5281
|
const n = ((o = e.dataSource) == null ? void 0 : o.selectedEntities) ?? [], r = t ?? (n.length === 1 ? be(n[0], e.dataSource) : void 0);
|
|
5283
5282
|
if (!r) throw new Error("Select a base dataset before configuring Matrix fields or filters.");
|
|
5284
|
-
return
|
|
5283
|
+
return ml({ source: r, rows: [], columns: [], measures: [], sorts: [], rankings: [] });
|
|
5285
5284
|
}
|
|
5286
5285
|
function nm(e, t) {
|
|
5287
5286
|
const n = [e.baseEntity, ...e.joins.flatMap((a) => [a.source, a.target])], r = (a) => {
|
|
@@ -5315,7 +5314,7 @@ function nm(e, t) {
|
|
|
5315
5314
|
}))
|
|
5316
5315
|
};
|
|
5317
5316
|
}
|
|
5318
|
-
function
|
|
5317
|
+
function Fb(e) {
|
|
5319
5318
|
const { spec: t, window: n, queryContext: r, reportContext: i } = e;
|
|
5320
5319
|
if (!e.cardId) throw new Error("Matrix query requires its card identity.");
|
|
5321
5320
|
return {
|
|
@@ -5347,7 +5346,7 @@ function Gr(e) {
|
|
|
5347
5346
|
return (i = t(n, r)) == null ? void 0 : i.resolvedField;
|
|
5348
5347
|
};
|
|
5349
5348
|
}
|
|
5350
|
-
function
|
|
5349
|
+
function Db(e) {
|
|
5351
5350
|
const t = Gr(e);
|
|
5352
5351
|
return (n, r) => n.derivedField ? void 0 : t(n, r);
|
|
5353
5352
|
}
|
|
@@ -5660,7 +5659,7 @@ function hs(e, t) {
|
|
|
5660
5659
|
baseDataset: u || m || p || d[0]
|
|
5661
5660
|
};
|
|
5662
5661
|
}
|
|
5663
|
-
function
|
|
5662
|
+
function Eb(e) {
|
|
5664
5663
|
switch (e) {
|
|
5665
5664
|
case "setup":
|
|
5666
5665
|
return { tag: "Needs setup", toastTitle: "Join setup required" };
|
|
@@ -5711,7 +5710,7 @@ function um(e, t) {
|
|
|
5711
5710
|
isSelected: c
|
|
5712
5711
|
} : { ...y, isSelected: c };
|
|
5713
5712
|
}
|
|
5714
|
-
function
|
|
5713
|
+
function Nb(e) {
|
|
5715
5714
|
const { joinabilityMap: t, joinPlan: n, hasSemanticDomain: r, dataSourceEntities: i } = e, o = i || [];
|
|
5716
5715
|
if (o.length === 0) return [];
|
|
5717
5716
|
const a = dr(e), s = {};
|
|
@@ -5829,7 +5828,7 @@ function pm(e, t, n) {
|
|
|
5829
5828
|
});
|
|
5830
5829
|
return ps(r.state) ? { isValid: !1, showError: !0, fieldState: r } : { isValid: !0, fieldState: r };
|
|
5831
5830
|
}
|
|
5832
|
-
function
|
|
5831
|
+
function Ab(e, t) {
|
|
5833
5832
|
return t.some((n) => {
|
|
5834
5833
|
if (!(n.name === e.name && n.qualifiedEntityName === e.qualifiedEntityName)) return !1;
|
|
5835
5834
|
if ((e.role === "metric" || !e.role) && n.role === "metric") {
|
|
@@ -5846,7 +5845,7 @@ function Mb(e, t) {
|
|
|
5846
5845
|
return !0;
|
|
5847
5846
|
});
|
|
5848
5847
|
}
|
|
5849
|
-
function
|
|
5848
|
+
function Mb(e) {
|
|
5850
5849
|
if (e.role !== "metric")
|
|
5851
5850
|
return e.label || e.name;
|
|
5852
5851
|
const t = e, n = e.label || e.name;
|
|
@@ -5855,7 +5854,7 @@ function Ob(e) {
|
|
|
5855
5854
|
const r = t.parameters.filters;
|
|
5856
5855
|
return typeof r == "string" ? `${n} (${r})` : typeof r == "object" ? (JSON.stringify(r), `${n} (Filtered)`) : n;
|
|
5857
5856
|
}
|
|
5858
|
-
function
|
|
5857
|
+
function Ob(e, t, n) {
|
|
5859
5858
|
const r = e.label || e.name, i = t.filter(
|
|
5860
5859
|
(o) => o.name === e.name && o.qualifiedEntityName === e.qualifiedEntityName && (o.role === "metric" || n === "metrics")
|
|
5861
5860
|
).length;
|
|
@@ -6142,14 +6141,14 @@ function _m(e, t, n) {
|
|
|
6142
6141
|
(r) => Wr(r, t, n)
|
|
6143
6142
|
);
|
|
6144
6143
|
}
|
|
6145
|
-
function
|
|
6144
|
+
function xb(e) {
|
|
6146
6145
|
const t = /* @__PURE__ */ new Map();
|
|
6147
6146
|
return e.forEach((n) => {
|
|
6148
6147
|
const r = Im(n);
|
|
6149
6148
|
t.has(r) || t.set(r, n);
|
|
6150
6149
|
}), Array.from(t.values());
|
|
6151
6150
|
}
|
|
6152
|
-
function
|
|
6151
|
+
function $b(e, t, n, r) {
|
|
6153
6152
|
var a;
|
|
6154
6153
|
const o = _m(e, n || t, r);
|
|
6155
6154
|
if (o >= 0) {
|
|
@@ -6160,12 +6159,12 @@ function Rb(e, t, n, r) {
|
|
|
6160
6159
|
}
|
|
6161
6160
|
return [...e, t];
|
|
6162
6161
|
}
|
|
6163
|
-
function
|
|
6162
|
+
function Rb(e, t, n) {
|
|
6164
6163
|
return e.filter(
|
|
6165
6164
|
(r) => !Wr(r, t, n)
|
|
6166
6165
|
);
|
|
6167
6166
|
}
|
|
6168
|
-
function
|
|
6167
|
+
function Pb(e) {
|
|
6169
6168
|
return new Set(e.map(Xe));
|
|
6170
6169
|
}
|
|
6171
6170
|
function et(e, t) {
|
|
@@ -6218,14 +6217,14 @@ function xe(e, t, n, r) {
|
|
|
6218
6217
|
);
|
|
6219
6218
|
return Cm(e, i);
|
|
6220
6219
|
}
|
|
6221
|
-
function
|
|
6220
|
+
function Bb(e, t, n, r) {
|
|
6222
6221
|
var s;
|
|
6223
6222
|
const i = xe(e, t, {
|
|
6224
6223
|
kind: "defaults",
|
|
6225
6224
|
defaultView: { rows: n.rows, columns: n.columns }
|
|
6226
6225
|
}, r), o = (s = i.card.config) == null ? void 0 : s.matrix, a = xe(i.card, o, {
|
|
6227
6226
|
kind: "sorts",
|
|
6228
|
-
sorts:
|
|
6227
|
+
sorts: pl(t.spec.sorts, n.sorts)
|
|
6229
6228
|
}, r);
|
|
6230
6229
|
return { card: a.card, notices: [...i.notices, ...a.notices] };
|
|
6231
6230
|
}
|
|
@@ -6242,7 +6241,7 @@ function Cm(e, t) {
|
|
|
6242
6241
|
notices: t.notices
|
|
6243
6242
|
};
|
|
6244
6243
|
}
|
|
6245
|
-
function
|
|
6244
|
+
function qb(e, t, n) {
|
|
6246
6245
|
if (t.from === "source") {
|
|
6247
6246
|
const r = ["groupBy", "pivotBy", "metrics"].flatMap((o) => Yt(e, o, n.matrixCatalog)), i = pm(t.field, r, n.availability);
|
|
6248
6247
|
if (!i.isValid)
|
|
@@ -6318,7 +6317,7 @@ function bs(e, t, n) {
|
|
|
6318
6317
|
t
|
|
6319
6318
|
);
|
|
6320
6319
|
}
|
|
6321
|
-
function
|
|
6320
|
+
function jb(e, t, n, r) {
|
|
6322
6321
|
var a;
|
|
6323
6322
|
const i = (a = e.config) == null ? void 0 : a.matrix;
|
|
6324
6323
|
if (!i) return { card: e, notices: [] };
|
|
@@ -6336,7 +6335,7 @@ function Lb(e, t, n, r) {
|
|
|
6336
6335
|
r
|
|
6337
6336
|
);
|
|
6338
6337
|
}
|
|
6339
|
-
function
|
|
6338
|
+
function Lb(e, t, n, r) {
|
|
6340
6339
|
var y, h;
|
|
6341
6340
|
const i = (y = e.config) == null ? void 0 : y.matrix;
|
|
6342
6341
|
if (e.type !== "matrixTable" || !i || !n) return { card: e, notices: [] };
|
|
@@ -6404,7 +6403,7 @@ function Vb(e, t, n, r) {
|
|
|
6404
6403
|
r ? et(e, [...t, r]) : o
|
|
6405
6404
|
);
|
|
6406
6405
|
}
|
|
6407
|
-
function
|
|
6406
|
+
function Vb(e) {
|
|
6408
6407
|
return Ie({ type: e }).supportsSql;
|
|
6409
6408
|
}
|
|
6410
6409
|
const vm = /* @__PURE__ */ new Set([
|
|
@@ -6413,11 +6412,11 @@ const vm = /* @__PURE__ */ new Set([
|
|
|
6413
6412
|
"matrixTable",
|
|
6414
6413
|
"kpi"
|
|
6415
6414
|
]);
|
|
6416
|
-
function
|
|
6415
|
+
function Yb(e) {
|
|
6417
6416
|
return !vm.has(e);
|
|
6418
6417
|
}
|
|
6419
6418
|
const Sm = /* @__PURE__ */ new Set(["kpi", "matrixTable"]);
|
|
6420
|
-
function
|
|
6419
|
+
function zb(e) {
|
|
6421
6420
|
return !Sm.has(e);
|
|
6422
6421
|
}
|
|
6423
6422
|
const Is = (e, t) => e.type !== t && (e.type === "matrixTable" || t === "matrixTable"), wm = ["pivotTable", "aggregateTable"];
|
|
@@ -6727,7 +6726,7 @@ function po(e, t, n, r) {
|
|
|
6727
6726
|
}
|
|
6728
6727
|
return n.push({ code: "filter_not_accepted", label: "Filters" }), e;
|
|
6729
6728
|
}
|
|
6730
|
-
function
|
|
6729
|
+
function Gb(e, t) {
|
|
6731
6730
|
var i, o;
|
|
6732
6731
|
const n = e.type === "matrixTable" ? (o = (i = e.config) == null ? void 0 : i.matrix) == null ? void 0 : o.spec.source : void 0;
|
|
6733
6732
|
return !n || (t.selectedEntities ?? []).some((a) => {
|
|
@@ -6735,7 +6734,7 @@ function Ub(e, t) {
|
|
|
6735
6734
|
return s && Z(n, s);
|
|
6736
6735
|
}) ? { dataSource: t } : { dataSource: t, config: {}, controlBindings: [] };
|
|
6737
6736
|
}
|
|
6738
|
-
function
|
|
6737
|
+
function Ub(e) {
|
|
6739
6738
|
return Ie(e).joinPlan;
|
|
6740
6739
|
}
|
|
6741
6740
|
function Vm(e, t) {
|
|
@@ -6749,7 +6748,7 @@ function Vm(e, t) {
|
|
|
6749
6748
|
const i = zr(e, r);
|
|
6750
6749
|
return { matrix: { ...i, spec: { ...i.spec, source: r, joinPlan: t } } };
|
|
6751
6750
|
}
|
|
6752
|
-
function
|
|
6751
|
+
function Kb(e) {
|
|
6753
6752
|
return e ? Ie(e).filters : void 0;
|
|
6754
6753
|
}
|
|
6755
6754
|
function Ym(e, t) {
|
|
@@ -6762,7 +6761,7 @@ function Ym(e, t) {
|
|
|
6762
6761
|
function pn(e, t) {
|
|
6763
6762
|
return e ? t ? Ie({ type: t, config: e }).configured : om(e) : !1;
|
|
6764
6763
|
}
|
|
6765
|
-
function
|
|
6764
|
+
function Hb(e, t) {
|
|
6766
6765
|
var a, s, c;
|
|
6767
6766
|
if (t != null && t.skipSetupCheck || e.type === "text")
|
|
6768
6767
|
return !1;
|
|
@@ -6999,13 +6998,13 @@ const Es = [
|
|
|
6999
6998
|
{ value: "MAX", label: "Max" },
|
|
7000
6999
|
{ value: "MEDIAN", label: "Median" }
|
|
7001
7000
|
];
|
|
7002
|
-
function
|
|
7001
|
+
function Wb(e) {
|
|
7003
7002
|
return se(e) === "number" ? Zm : Es;
|
|
7004
7003
|
}
|
|
7005
|
-
function
|
|
7004
|
+
function Jb(e, t) {
|
|
7006
7005
|
return `${e}-${t}`;
|
|
7007
7006
|
}
|
|
7008
|
-
const
|
|
7007
|
+
const Qb = "CONTROL_PLACEHOLDER_QUOTED", Xm = "CONTROL_REFERENCE_MISSING", ep = "CONTROL_VALUE_MISSING", Zb = "CONTROL_VALUE_INVALID", Xb = "CONTROL_CONTEXT_UNSUPPORTED", tp = "CONTROL_DEFINITION_DUPLICATE", np = "CONTROL_DEFINITION_INVALID", Qr = "CONTROL_BINDING_MAPPING_MISSING", eI = "CONTROL_BINDING_TARGET_INVALID", ho = "CONTROL_BINDING_VALUE_INVALID";
|
|
7009
7008
|
class he extends Error {
|
|
7010
7009
|
constructor(n, r) {
|
|
7011
7010
|
super(n);
|
|
@@ -7014,7 +7013,7 @@ class he extends Error {
|
|
|
7014
7013
|
Object.setPrototypeOf(this, he.prototype), this.name = "ControlResolutionError", this.details = r;
|
|
7015
7014
|
}
|
|
7016
7015
|
}
|
|
7017
|
-
function
|
|
7016
|
+
function tI(e, t) {
|
|
7018
7017
|
const n = /* @__PURE__ */ new Map();
|
|
7019
7018
|
for (const r of [...e, ...t]) {
|
|
7020
7019
|
if (!r || typeof r != "object" || typeof r.id != "string" || r.id.trim().length === 0)
|
|
@@ -7125,7 +7124,7 @@ function Zr(e, t) {
|
|
|
7125
7124
|
if (t instanceof Date && !Number.isNaN(t.getTime()))
|
|
7126
7125
|
return t;
|
|
7127
7126
|
if (typeof t == "string" && t.trim().length > 0) {
|
|
7128
|
-
const n = t.trim(), r =
|
|
7127
|
+
const n = t.trim(), r = gl(n);
|
|
7129
7128
|
if (!Number.isNaN(r.getTime()))
|
|
7130
7129
|
return n;
|
|
7131
7130
|
}
|
|
@@ -7137,7 +7136,7 @@ function Zr(e, t) {
|
|
|
7137
7136
|
return t;
|
|
7138
7137
|
}
|
|
7139
7138
|
}
|
|
7140
|
-
function
|
|
7139
|
+
function nI(e) {
|
|
7141
7140
|
var i;
|
|
7142
7141
|
const t = e.definitions.get(e.binding.controlId);
|
|
7143
7142
|
if (!t)
|
|
@@ -7189,7 +7188,7 @@ function rI(e) {
|
|
|
7189
7188
|
}
|
|
7190
7189
|
);
|
|
7191
7190
|
}
|
|
7192
|
-
function
|
|
7191
|
+
function rI(e) {
|
|
7193
7192
|
const t = e.binding.mapping[e.selectedValue];
|
|
7194
7193
|
if (typeof t == "string" && t.trim().length > 0)
|
|
7195
7194
|
return t;
|
|
@@ -7201,7 +7200,7 @@ function iI(e) {
|
|
|
7201
7200
|
}
|
|
7202
7201
|
);
|
|
7203
7202
|
}
|
|
7204
|
-
function
|
|
7203
|
+
function iI(e) {
|
|
7205
7204
|
const t = e.binding.mapping[e.selectedValue];
|
|
7206
7205
|
if (t && typeof t == "object" && "role" in t && t.role === "groupby")
|
|
7207
7206
|
return t;
|
|
@@ -7213,7 +7212,7 @@ function oI(e) {
|
|
|
7213
7212
|
}
|
|
7214
7213
|
);
|
|
7215
7214
|
}
|
|
7216
|
-
function
|
|
7215
|
+
function oI(e) {
|
|
7217
7216
|
const t = e.binding.mapping[e.selectedValue];
|
|
7218
7217
|
if (t && typeof t == "object" && "role" in t && t.role === "metric")
|
|
7219
7218
|
return t;
|
|
@@ -7225,7 +7224,7 @@ function aI(e) {
|
|
|
7225
7224
|
}
|
|
7226
7225
|
);
|
|
7227
7226
|
}
|
|
7228
|
-
function
|
|
7227
|
+
function aI(e) {
|
|
7229
7228
|
return e.target === "presentation_currency";
|
|
7230
7229
|
}
|
|
7231
7230
|
function Ns(e) {
|
|
@@ -7242,7 +7241,7 @@ function Ns(e) {
|
|
|
7242
7241
|
return;
|
|
7243
7242
|
}
|
|
7244
7243
|
}
|
|
7245
|
-
function
|
|
7244
|
+
function sI(e) {
|
|
7246
7245
|
return e.target !== "sql_param" && e.target !== "presentation_currency";
|
|
7247
7246
|
}
|
|
7248
7247
|
const ap = f.unknown().optional(), As = f.object({
|
|
@@ -7302,7 +7301,7 @@ const ap = f.unknown().optional(), As = f.object({
|
|
|
7302
7301
|
message: n.message
|
|
7303
7302
|
});
|
|
7304
7303
|
});
|
|
7305
|
-
function
|
|
7304
|
+
function cI(e) {
|
|
7306
7305
|
return e === void 0 || Ms.safeParse(e).success;
|
|
7307
7306
|
}
|
|
7308
7307
|
const lp = f.object({
|
|
@@ -7486,7 +7485,7 @@ function Rs(e) {
|
|
|
7486
7485
|
function pr(e, t) {
|
|
7487
7486
|
return new gn(`Invalid control contract: ${Xr(e)} ${t}`);
|
|
7488
7487
|
}
|
|
7489
|
-
function
|
|
7488
|
+
function lI(e) {
|
|
7490
7489
|
try {
|
|
7491
7490
|
return e === void 0 ? [] : $s.parse(e);
|
|
7492
7491
|
} catch (t) {
|
|
@@ -7587,7 +7586,7 @@ function _p(e) {
|
|
|
7587
7586
|
}
|
|
7588
7587
|
}
|
|
7589
7588
|
}
|
|
7590
|
-
function
|
|
7589
|
+
function dI(e) {
|
|
7591
7590
|
const t = yp({
|
|
7592
7591
|
controlDefinitions: e.controlDefinitions,
|
|
7593
7592
|
cardControlDefinitions: e.cardControlDefinitions,
|
|
@@ -7637,7 +7636,7 @@ function _o(e, t, n) {
|
|
|
7637
7636
|
message: `${t.split(".").pop()} must be a supported time granularity`
|
|
7638
7637
|
});
|
|
7639
7638
|
}
|
|
7640
|
-
function
|
|
7639
|
+
function uI(e) {
|
|
7641
7640
|
if (e == null)
|
|
7642
7641
|
return { ok: !0 };
|
|
7643
7642
|
if (!vp(e))
|
|
@@ -7721,10 +7720,10 @@ function fI(e) {
|
|
|
7721
7720
|
message: "supportedGranularities must be an array"
|
|
7722
7721
|
})), t.length > 0 ? { ok: !1, issues: t } : { ok: !0 };
|
|
7723
7722
|
}
|
|
7724
|
-
function
|
|
7723
|
+
function fI(e) {
|
|
7725
7724
|
return e.map((t) => `${t.path}: ${t.message}`).join("; ");
|
|
7726
7725
|
}
|
|
7727
|
-
function
|
|
7726
|
+
function mI(e) {
|
|
7728
7727
|
return {
|
|
7729
7728
|
databaseName: (e == null ? void 0 : e.lastSelectedDatabase) || "",
|
|
7730
7729
|
schemaName: (e == null ? void 0 : e.lastSelectedSchema) || "",
|
|
@@ -7898,7 +7897,7 @@ class gt extends Error {
|
|
|
7898
7897
|
function js(e, t) {
|
|
7899
7898
|
return `${t}:${e}`;
|
|
7900
7899
|
}
|
|
7901
|
-
function
|
|
7900
|
+
function pI(e) {
|
|
7902
7901
|
var t, n;
|
|
7903
7902
|
return (n = (t = e.presentation) == null ? void 0 : t.byFieldRole) == null ? void 0 : n.get(
|
|
7904
7903
|
js(e.fieldId, e.role)
|
|
@@ -7916,7 +7915,7 @@ function Np(e) {
|
|
|
7916
7915
|
}
|
|
7917
7916
|
);
|
|
7918
7917
|
}
|
|
7919
|
-
function
|
|
7918
|
+
function gI(e, t) {
|
|
7920
7919
|
return !t || t.byColumnKey.size === 0 ? e.map((n) => ({ ...n })) : e.map((n) => {
|
|
7921
7920
|
const r = { ...n };
|
|
7922
7921
|
return t.byColumnKey.forEach((i, o) => {
|
|
@@ -7927,7 +7926,7 @@ function hI(e, t) {
|
|
|
7927
7926
|
}), r;
|
|
7928
7927
|
});
|
|
7929
7928
|
}
|
|
7930
|
-
function
|
|
7929
|
+
function hI(e) {
|
|
7931
7930
|
var m;
|
|
7932
7931
|
if (!e.result || typeof e.result != "object") return !1;
|
|
7933
7932
|
const t = e.result;
|
|
@@ -8050,7 +8049,7 @@ function Ap(e, t, n = je) {
|
|
|
8050
8049
|
}
|
|
8051
8050
|
});
|
|
8052
8051
|
}
|
|
8053
|
-
function
|
|
8052
|
+
function yI(e, t = bl, n = "en-US") {
|
|
8054
8053
|
var a;
|
|
8055
8054
|
const r = en(e, "card"), i = ((a = e.semanticTemporalPresentation) == null ? void 0 : a.granularity) === e.granularity ? en(e, "semantic") : void 0, o = r && r.presentation.mode !== "auto" ? r : i && i.presentation.mode !== "auto" ? i : {
|
|
8056
8055
|
presentation: { mode: "auto" }
|
|
@@ -8065,7 +8064,7 @@ function bI(e, t = bl, n = "en-US") {
|
|
|
8065
8064
|
presentation: o.presentation
|
|
8066
8065
|
};
|
|
8067
8066
|
}
|
|
8068
|
-
function
|
|
8067
|
+
function bI(e) {
|
|
8069
8068
|
const t = e.activation;
|
|
8070
8069
|
if (!t)
|
|
8071
8070
|
return {
|
|
@@ -8093,7 +8092,7 @@ function II(e) {
|
|
|
8093
8092
|
`Result identity "${u}" declares ${d.granularity} buckets for active ${l.granularity} field "${l.id}".`,
|
|
8094
8093
|
{ cardId: e.card.id, fieldId: l.id, columnKey: u }
|
|
8095
8094
|
);
|
|
8096
|
-
const m = e.executionSnapshot && e.dashboardId ?
|
|
8095
|
+
const m = e.executionSnapshot && e.dashboardId ? yl({
|
|
8097
8096
|
snapshot: e.executionSnapshot,
|
|
8098
8097
|
scope: {
|
|
8099
8098
|
dashboardId: e.dashboardId,
|
|
@@ -8189,7 +8188,7 @@ function Mp(e) {
|
|
|
8189
8188
|
format: e.presentation.resolved.format
|
|
8190
8189
|
});
|
|
8191
8190
|
} catch (t) {
|
|
8192
|
-
throw t instanceof
|
|
8191
|
+
throw t instanceof hl ? new gt(
|
|
8193
8192
|
t.code,
|
|
8194
8193
|
t.message,
|
|
8195
8194
|
{
|
|
@@ -8205,7 +8204,7 @@ const Op = /* @__PURE__ */ new Set([
|
|
|
8205
8204
|
"text",
|
|
8206
8205
|
"custom"
|
|
8207
8206
|
]);
|
|
8208
|
-
function
|
|
8207
|
+
function II(e) {
|
|
8209
8208
|
return typeof e == "string" && !Op.has(e);
|
|
8210
8209
|
}
|
|
8211
8210
|
const xp = [
|
|
@@ -8215,10 +8214,10 @@ const xp = [
|
|
|
8215
8214
|
], $p = new Set(
|
|
8216
8215
|
xp
|
|
8217
8216
|
);
|
|
8218
|
-
function
|
|
8217
|
+
function _I(e) {
|
|
8219
8218
|
return typeof e == "string" && $p.has(e);
|
|
8220
8219
|
}
|
|
8221
|
-
const
|
|
8220
|
+
const CI = [
|
|
8222
8221
|
"bar",
|
|
8223
8222
|
"kpi",
|
|
8224
8223
|
"horizontalBar",
|
|
@@ -8231,11 +8230,11 @@ const vI = [
|
|
|
8231
8230
|
"table",
|
|
8232
8231
|
"bullet",
|
|
8233
8232
|
"custom"
|
|
8234
|
-
],
|
|
8233
|
+
], vI = [
|
|
8235
8234
|
"kpi",
|
|
8236
8235
|
"table",
|
|
8237
8236
|
"bullet"
|
|
8238
|
-
],
|
|
8237
|
+
], SI = [
|
|
8239
8238
|
"bar",
|
|
8240
8239
|
"kpi",
|
|
8241
8240
|
"horizontalBar",
|
|
@@ -8302,7 +8301,7 @@ function ti(e) {
|
|
|
8302
8301
|
})
|
|
8303
8302
|
};
|
|
8304
8303
|
}
|
|
8305
|
-
function
|
|
8304
|
+
function wI(e) {
|
|
8306
8305
|
if (mn(e.card))
|
|
8307
8306
|
return ti({
|
|
8308
8307
|
...e,
|
|
@@ -8310,7 +8309,7 @@ function TI(e) {
|
|
|
8310
8309
|
supportsCardType: (t) => t === "table"
|
|
8311
8310
|
});
|
|
8312
8311
|
}
|
|
8313
|
-
function
|
|
8312
|
+
function TI(e) {
|
|
8314
8313
|
if (mn(e.card))
|
|
8315
8314
|
return ti({
|
|
8316
8315
|
...e,
|
|
@@ -8318,7 +8317,7 @@ function kI(e) {
|
|
|
8318
8317
|
supportsCardType: os
|
|
8319
8318
|
});
|
|
8320
8319
|
}
|
|
8321
|
-
function
|
|
8320
|
+
function kI(e) {
|
|
8322
8321
|
if (mn(e.card))
|
|
8323
8322
|
return ti({
|
|
8324
8323
|
...e,
|
|
@@ -8365,16 +8364,16 @@ const qp = [
|
|
|
8365
8364
|
], Vp = new Set(
|
|
8366
8365
|
Lp
|
|
8367
8366
|
);
|
|
8368
|
-
function
|
|
8367
|
+
function FI(e) {
|
|
8369
8368
|
return typeof e == "string" && Vp.has(e);
|
|
8370
8369
|
}
|
|
8371
|
-
function
|
|
8370
|
+
function DI(e) {
|
|
8372
8371
|
return typeof e == "string" && jp.has(e);
|
|
8373
8372
|
}
|
|
8374
8373
|
function ni(e) {
|
|
8375
8374
|
return (e == null ? void 0 : e.kind) === "document";
|
|
8376
8375
|
}
|
|
8377
|
-
function
|
|
8376
|
+
function EI(e) {
|
|
8378
8377
|
return (e || []).filter((t) => !ni(t));
|
|
8379
8378
|
}
|
|
8380
8379
|
function Yp(e) {
|
|
@@ -8422,7 +8421,7 @@ function Kp(e) {
|
|
|
8422
8421
|
{ value: "advanced", label: "More options" }
|
|
8423
8422
|
];
|
|
8424
8423
|
}
|
|
8425
|
-
const
|
|
8424
|
+
const NI = [
|
|
8426
8425
|
{ value: "saved_default", label: "Use configured default" },
|
|
8427
8426
|
{ value: "embed_required", label: "From embedding app" }
|
|
8428
8427
|
], Ls = [
|
|
@@ -8461,7 +8460,7 @@ function ri(e) {
|
|
|
8461
8460
|
function Hp(e) {
|
|
8462
8461
|
return e === "enum" || e === "multi_enum" || e === "aggregation_selector" || e === "grain_selector";
|
|
8463
8462
|
}
|
|
8464
|
-
function
|
|
8463
|
+
function AI(e, t, n = []) {
|
|
8465
8464
|
let r = t.length + 1, i = `${e}_control_${r}`;
|
|
8466
8465
|
const o = new Set(n);
|
|
8467
8466
|
for (; t.some((a) => a.id === i) || o.has(i); )
|
|
@@ -8484,7 +8483,7 @@ function MI(e, t, n = []) {
|
|
|
8484
8483
|
placement: e === "dashboard" ? "toolbar" : "card_header"
|
|
8485
8484
|
};
|
|
8486
8485
|
}
|
|
8487
|
-
function
|
|
8486
|
+
function MI(e, t) {
|
|
8488
8487
|
const n = /* @__PURE__ */ new Set();
|
|
8489
8488
|
for (const r of e.controls || [])
|
|
8490
8489
|
n.add(r.id);
|
|
@@ -8508,10 +8507,10 @@ function Ys(e) {
|
|
|
8508
8507
|
source: { kind: "manual", options: t }
|
|
8509
8508
|
} : (e.source.kind === "manual", e);
|
|
8510
8509
|
}
|
|
8511
|
-
function
|
|
8510
|
+
function OI(e) {
|
|
8512
8511
|
return Hp(e.type);
|
|
8513
8512
|
}
|
|
8514
|
-
function
|
|
8513
|
+
function xI(e, t) {
|
|
8515
8514
|
const n = t.trim();
|
|
8516
8515
|
if (n.length !== 0)
|
|
8517
8516
|
switch (e.type) {
|
|
@@ -8525,7 +8524,7 @@ function $I(e, t) {
|
|
|
8525
8524
|
return n;
|
|
8526
8525
|
}
|
|
8527
8526
|
}
|
|
8528
|
-
function
|
|
8527
|
+
function $I(e) {
|
|
8529
8528
|
const t = (i, o) => o === "field_selector" || o === "metric_selector" ? {
|
|
8530
8529
|
kind: "manual",
|
|
8531
8530
|
options: []
|
|
@@ -8550,12 +8549,12 @@ function RI(e) {
|
|
|
8550
8549
|
defaultValues: r
|
|
8551
8550
|
};
|
|
8552
8551
|
}
|
|
8553
|
-
function
|
|
8552
|
+
function RI(e, t) {
|
|
8554
8553
|
return [...(t || []).filter(
|
|
8555
8554
|
(r) => r.target === "sql_param"
|
|
8556
8555
|
), ...e];
|
|
8557
8556
|
}
|
|
8558
|
-
function
|
|
8557
|
+
function PI(e, t, n) {
|
|
8559
8558
|
var a, s, c, l;
|
|
8560
8559
|
const r = t ? ye(t, "config_metric_selector").flatMap(
|
|
8561
8560
|
(d) => d.kind === "measure" ? [`${d.id} (${d.measure.field.name}, ${d.measure.aggregate})`] : []
|
|
@@ -8583,7 +8582,7 @@ function Jp(e, t) {
|
|
|
8583
8582
|
function Qp(e, t) {
|
|
8584
8583
|
return Jp(e.type, t);
|
|
8585
8584
|
}
|
|
8586
|
-
function
|
|
8585
|
+
function BI(e) {
|
|
8587
8586
|
const t = zs(e.card, e.matrixSpec, e.resolveDataType);
|
|
8588
8587
|
return e.control ? t.filter(
|
|
8589
8588
|
(n) => Qp(e.control, n.value)
|
|
@@ -8646,7 +8645,7 @@ function Gs(e, t) {
|
|
|
8646
8645
|
} : { value: o, label: a };
|
|
8647
8646
|
};
|
|
8648
8647
|
}
|
|
8649
|
-
function
|
|
8648
|
+
function qI(e, t = !1) {
|
|
8650
8649
|
const n = /* @__PURE__ */ new Map(), r = {}, i = Gs(e.filter(vo), t);
|
|
8651
8650
|
return e.filter(vo).filter((o) => typeof o.id == "string" && o.id.length > 0).forEach((o) => {
|
|
8652
8651
|
const { label: a, value: s } = i(o);
|
|
@@ -8656,7 +8655,7 @@ function jI(e, t = !1) {
|
|
|
8656
8655
|
targetMap: r
|
|
8657
8656
|
};
|
|
8658
8657
|
}
|
|
8659
|
-
function
|
|
8658
|
+
function jI(e, t = "SUM", n = !1) {
|
|
8660
8659
|
const r = /* @__PURE__ */ new Map(), i = {}, o = Gs(e.filter(hr), n);
|
|
8661
8660
|
return e.filter(hr).filter((a) => typeof a.id == "string" && a.id.length > 0).forEach((a) => {
|
|
8662
8661
|
const { label: s, value: c } = o(a);
|
|
@@ -8666,7 +8665,7 @@ function LI(e, t = "SUM", n = !1) {
|
|
|
8666
8665
|
targetMap: i
|
|
8667
8666
|
};
|
|
8668
8667
|
}
|
|
8669
|
-
function
|
|
8668
|
+
function LI(e) {
|
|
8670
8669
|
var n, r;
|
|
8671
8670
|
const t = (n = e == null ? void 0 : e.config) == null ? void 0 : n.matrix;
|
|
8672
8671
|
return t ? ye(t.spec, "config_field_selector").map((i) => ({
|
|
@@ -8681,7 +8680,7 @@ function VI(e) {
|
|
|
8681
8680
|
)
|
|
8682
8681
|
);
|
|
8683
8682
|
}
|
|
8684
|
-
function
|
|
8683
|
+
function VI(e) {
|
|
8685
8684
|
var n, r;
|
|
8686
8685
|
const t = (n = e == null ? void 0 : e.config) == null ? void 0 : n.matrix;
|
|
8687
8686
|
return t ? ye(t.spec, "config_metric_selector").map((i) => ({
|
|
@@ -8725,7 +8724,7 @@ function Us(e, t, n) {
|
|
|
8725
8724
|
const r = oi(e, t.type), i = t.type === "field_selector" ? "config_field_selector" : "config_metric_selector", o = (s = e.controlBindings) == null ? void 0 : s.find((c) => c.controlId === t.id && c.target === i);
|
|
8726
8725
|
return n ?? (o && "matrixTargetId" in o ? o.matrixTargetId : void 0) ?? (r.length === 1 ? r[0].id : void 0);
|
|
8727
8726
|
}
|
|
8728
|
-
function
|
|
8727
|
+
function YI(e) {
|
|
8729
8728
|
return e.participants.every((t) => !t.matrixSpec || !e.selectedCardIds.includes(t.cardId) || oi(t, e.control.type).some((n) => {
|
|
8730
8729
|
var r;
|
|
8731
8730
|
return n.id === Us(t, e.control, (r = e.selected) == null ? void 0 : r[t.cardId]);
|
|
@@ -8765,7 +8764,7 @@ function Hs(e, t) {
|
|
|
8765
8764
|
customFormat: void 0
|
|
8766
8765
|
};
|
|
8767
8766
|
}
|
|
8768
|
-
function
|
|
8767
|
+
function zI(e, t) {
|
|
8769
8768
|
return e.filter(
|
|
8770
8769
|
(n) => n.canBindStructuralControl && (t === "field_selector" ? n.fieldChoices.length > 0 : t === "metric_selector" ? n.metricChoices.length > 0 : !1)
|
|
8771
8770
|
);
|
|
@@ -8781,7 +8780,7 @@ function ng(e) {
|
|
|
8781
8780
|
);
|
|
8782
8781
|
return tg(n);
|
|
8783
8782
|
}
|
|
8784
|
-
function
|
|
8783
|
+
function GI(e) {
|
|
8785
8784
|
var o, a;
|
|
8786
8785
|
const t = e.participants.filter(
|
|
8787
8786
|
(s) => e.selectedCardIds.includes(s.cardId)
|
|
@@ -8820,7 +8819,7 @@ function rg(e) {
|
|
|
8820
8819
|
}
|
|
8821
8820
|
};
|
|
8822
8821
|
}
|
|
8823
|
-
function
|
|
8822
|
+
function UI(e, t) {
|
|
8824
8823
|
const n = (i, o) => {
|
|
8825
8824
|
const a = new Set(i);
|
|
8826
8825
|
return a.size === new Set(o).size && o.every((s) => a.has(s));
|
|
@@ -8836,10 +8835,10 @@ function KI(e, t) {
|
|
|
8836
8835
|
return ((o = e.matrixTargetIds) == null ? void 0 : o[i]) !== ((a = t.matrixTargetIds) == null ? void 0 : a[i]);
|
|
8837
8836
|
}) : !0;
|
|
8838
8837
|
}
|
|
8839
|
-
function
|
|
8838
|
+
function KI(e) {
|
|
8840
8839
|
return !ai(e.control.type) || e.control.source.kind !== "manual" ? e.control : rg(e);
|
|
8841
8840
|
}
|
|
8842
|
-
function
|
|
8841
|
+
function HI(e) {
|
|
8843
8842
|
if (e.control.type !== "field_selector" && e.control.type !== "metric_selector")
|
|
8844
8843
|
return {};
|
|
8845
8844
|
if (e.control.source.kind !== "manual")
|
|
@@ -8874,7 +8873,7 @@ function WI(e) {
|
|
|
8874
8873
|
})
|
|
8875
8874
|
);
|
|
8876
8875
|
}
|
|
8877
|
-
function
|
|
8876
|
+
function WI(e, t) {
|
|
8878
8877
|
if (!e || e.length === 0)
|
|
8879
8878
|
return e;
|
|
8880
8879
|
const n = new Map(t.map((r) => [r.id, r]));
|
|
@@ -8902,7 +8901,7 @@ function ig(e) {
|
|
|
8902
8901
|
function og(e) {
|
|
8903
8902
|
return e === Dr;
|
|
8904
8903
|
}
|
|
8905
|
-
const yr = "__semaphor_ui_option_",
|
|
8904
|
+
const yr = "__semaphor_ui_option_", JI = {
|
|
8906
8905
|
clear: "__semaphor_ui_clear__",
|
|
8907
8906
|
noDefault: "__semaphor_ui_no_default__",
|
|
8908
8907
|
cardDefault: "__semaphor_ui_card_default__"
|
|
@@ -8910,14 +8909,14 @@ const yr = "__semaphor_ui_option_", QI = {
|
|
|
8910
8909
|
function ag(e) {
|
|
8911
8910
|
return `${yr}${e}`;
|
|
8912
8911
|
}
|
|
8913
|
-
function
|
|
8912
|
+
function QI(e, t) {
|
|
8914
8913
|
if (t === void 0)
|
|
8915
8914
|
return;
|
|
8916
8915
|
const n = e.findIndex((r) => r.value === t);
|
|
8917
8916
|
if (n !== -1)
|
|
8918
8917
|
return ag(n);
|
|
8919
8918
|
}
|
|
8920
|
-
function
|
|
8919
|
+
function ZI(e, t) {
|
|
8921
8920
|
if (!t.startsWith(yr))
|
|
8922
8921
|
return;
|
|
8923
8922
|
const n = Number(t.slice(yr.length));
|
|
@@ -8978,7 +8977,7 @@ const ht = [
|
|
|
8978
8977
|
label: "Displayed metric",
|
|
8979
8978
|
description: "Switch which metric the card shows."
|
|
8980
8979
|
}
|
|
8981
|
-
],
|
|
8980
|
+
], XI = {
|
|
8982
8981
|
enum: "Dropdown",
|
|
8983
8982
|
multi_enum: "Multi-select",
|
|
8984
8983
|
boolean: "Toggle",
|
|
@@ -8990,10 +8989,10 @@ const ht = [
|
|
|
8990
8989
|
aggregation_selector: "Aggregation",
|
|
8991
8990
|
grain_selector: "Time Grain"
|
|
8992
8991
|
};
|
|
8993
|
-
function
|
|
8992
|
+
function e0(e) {
|
|
8994
8993
|
return ht.find((t) => t.value === e) || ht[0];
|
|
8995
8994
|
}
|
|
8996
|
-
function
|
|
8995
|
+
function t0(e) {
|
|
8997
8996
|
var a;
|
|
8998
8997
|
const t = e, n = /* @__PURE__ */ new Set([
|
|
8999
8998
|
"grain_selector",
|
|
@@ -9010,14 +9009,14 @@ function n0(e) {
|
|
|
9010
9009
|
);
|
|
9011
9010
|
return o ? [...i, o] : i;
|
|
9012
9011
|
}
|
|
9013
|
-
function
|
|
9012
|
+
function n0(e, t) {
|
|
9014
9013
|
return e === "dashboard" ? t === "advanced" ? "More controls" : "Toolbar" : t === "advanced" ? "More options" : "Header";
|
|
9015
9014
|
}
|
|
9016
|
-
function
|
|
9015
|
+
function r0(e) {
|
|
9017
9016
|
var t;
|
|
9018
9017
|
return ((t = Kp(e)[0]) == null ? void 0 : t.value) || "toolbar";
|
|
9019
9018
|
}
|
|
9020
|
-
function
|
|
9019
|
+
function i0(e) {
|
|
9021
9020
|
const t = Ys(e);
|
|
9022
9021
|
if (t.type === "boolean")
|
|
9023
9022
|
return "True, False";
|
|
@@ -9026,7 +9025,7 @@ function o0(e) {
|
|
|
9026
9025
|
const n = t.source.kind === "manual" ? t.source.options.map((r) => r.label || r.value).filter(Boolean) : [];
|
|
9027
9026
|
return n.length === 0 ? "No choices yet" : n.length <= 3 ? n.join(", ") : `${n.slice(0, 3).join(", ")} +${n.length - 3} more`;
|
|
9028
9027
|
}
|
|
9029
|
-
function
|
|
9028
|
+
function o0(e) {
|
|
9030
9029
|
return Array.isArray(e) ? e.length > 0 : e != null && String(e).trim().length > 0;
|
|
9031
9030
|
}
|
|
9032
9031
|
function cg(e, t) {
|
|
@@ -9064,7 +9063,7 @@ function So(e) {
|
|
|
9064
9063
|
valueColumn: e.valueColumn
|
|
9065
9064
|
});
|
|
9066
9065
|
}
|
|
9067
|
-
function
|
|
9066
|
+
function a0(e) {
|
|
9068
9067
|
const { previousControl: t, nextControl: n, currentDefaultValue: r } = e;
|
|
9069
9068
|
if (!(t.source.kind !== "sql_query" && n.source.kind === "sql_query") && !(t.source.kind === "sql_query" && n.source.kind === "sql_query" && So(t.source) !== So(n.source)))
|
|
9070
9069
|
return cg(n, r);
|
|
@@ -9073,7 +9072,7 @@ function lg(e) {
|
|
|
9073
9072
|
const { control: t, defaultValues: n } = e;
|
|
9074
9073
|
return n && Object.prototype.hasOwnProperty.call(n, t.id) ? n[t.id] : t.defaultValue;
|
|
9075
9074
|
}
|
|
9076
|
-
function
|
|
9075
|
+
function s0(e, t) {
|
|
9077
9076
|
return e.scope !== "dashboard" || e.source.kind !== "sql_query" ? e : e.initialValueStrategy === "embed_required" ? e.requiredAtExecution ? e : {
|
|
9078
9077
|
...e,
|
|
9079
9078
|
requiredAtExecution: !0
|
|
@@ -9107,7 +9106,7 @@ function dg(e) {
|
|
|
9107
9106
|
}
|
|
9108
9107
|
return t;
|
|
9109
9108
|
}
|
|
9110
|
-
function
|
|
9109
|
+
function c0(e) {
|
|
9111
9110
|
const t = new Set(e.reservedIds), n = new Set(e.existingControls.map((a) => a.id)), r = gr(e.label) || e.fallbackId;
|
|
9112
9111
|
if (!n.has(r) && !t.has(r))
|
|
9113
9112
|
return r;
|
|
@@ -9116,7 +9115,7 @@ function l0(e) {
|
|
|
9116
9115
|
i += 1, o = `${r}_${i}`;
|
|
9117
9116
|
return o;
|
|
9118
9117
|
}
|
|
9119
|
-
function
|
|
9118
|
+
function l0(e) {
|
|
9120
9119
|
const t = /(>=|<=|>|<|=)/, n = e.match(t);
|
|
9121
9120
|
if (n) {
|
|
9122
9121
|
const r = n[0], [i, o] = e.split(r);
|
|
@@ -9146,7 +9145,7 @@ function Js(e) {
|
|
|
9146
9145
|
function Qs(e) {
|
|
9147
9146
|
return si(e) && e.defaultValue !== void 0;
|
|
9148
9147
|
}
|
|
9149
|
-
function
|
|
9148
|
+
function d0(e) {
|
|
9150
9149
|
const t = {
|
|
9151
9150
|
...e.dashboardValues || {}
|
|
9152
9151
|
};
|
|
@@ -9173,7 +9172,7 @@ function Zs(e) {
|
|
|
9173
9172
|
}
|
|
9174
9173
|
return t;
|
|
9175
9174
|
}
|
|
9176
|
-
function
|
|
9175
|
+
function u0(e) {
|
|
9177
9176
|
const t = Zs(e);
|
|
9178
9177
|
return (e.controls || []).map((n) => {
|
|
9179
9178
|
if (!Js(n))
|
|
@@ -9199,7 +9198,7 @@ function mg(e) {
|
|
|
9199
9198
|
}
|
|
9200
9199
|
return t;
|
|
9201
9200
|
}
|
|
9202
|
-
function
|
|
9201
|
+
function f0(e, t, n) {
|
|
9203
9202
|
const r = (n == null ? void 0 : n.hasExplicitRuntimeOverrides) === !0, i = r ? {} : fg(e), o = r ? {} : mg(e);
|
|
9204
9203
|
if (t === void 0)
|
|
9205
9204
|
return {
|
|
@@ -9225,7 +9224,7 @@ function m0(e, t, n) {
|
|
|
9225
9224
|
cardControlValuesMap: o
|
|
9226
9225
|
};
|
|
9227
9226
|
}
|
|
9228
|
-
function
|
|
9227
|
+
function m0(e) {
|
|
9229
9228
|
var n, r;
|
|
9230
9229
|
const t = {};
|
|
9231
9230
|
for (const i of e.relevantControlIds) {
|
|
@@ -9237,7 +9236,7 @@ function p0(e) {
|
|
|
9237
9236
|
}
|
|
9238
9237
|
return t;
|
|
9239
9238
|
}
|
|
9240
|
-
function
|
|
9239
|
+
function p0(e) {
|
|
9241
9240
|
const t = {};
|
|
9242
9241
|
for (const n of e.nextControls) {
|
|
9243
9242
|
const r = e.renamed && n.id === e.renamed.newId ? e.renamed.oldId : n.id;
|
|
@@ -9253,7 +9252,7 @@ function g0(e) {
|
|
|
9253
9252
|
}
|
|
9254
9253
|
return t;
|
|
9255
9254
|
}
|
|
9256
|
-
function
|
|
9255
|
+
function g0(e) {
|
|
9257
9256
|
const t = {};
|
|
9258
9257
|
for (const n of e.nextControls) {
|
|
9259
9258
|
const r = e.renamed && n.id === e.renamed.newId ? e.renamed.oldId : n.id;
|
|
@@ -9294,7 +9293,7 @@ function hg(e, t) {
|
|
|
9294
9293
|
selectedEntities: i.length > 0 ? i : n == null ? void 0 : n.selectedEntities
|
|
9295
9294
|
};
|
|
9296
9295
|
}
|
|
9297
|
-
function
|
|
9296
|
+
function h0(e, t) {
|
|
9298
9297
|
const n = Bl(e);
|
|
9299
9298
|
return n.status !== "eligible" || n.kind !== "field_date" ? t : br(
|
|
9300
9299
|
e.filter,
|
|
@@ -9434,7 +9433,7 @@ function Cg(e) {
|
|
|
9434
9433
|
semanticContext: e.semanticContext
|
|
9435
9434
|
};
|
|
9436
9435
|
}
|
|
9437
|
-
function
|
|
9436
|
+
function y0(e) {
|
|
9438
9437
|
const t = e.mappedFilterValue ? Cg(e.mappedFilterValue) : e.filter, n = _g({
|
|
9439
9438
|
...e,
|
|
9440
9439
|
filter: t
|
|
@@ -9472,7 +9471,7 @@ function b0(e) {
|
|
|
9472
9471
|
filterValue: o
|
|
9473
9472
|
} : { status: "ineligible", reason: "finite_range_required" };
|
|
9474
9473
|
}
|
|
9475
|
-
function
|
|
9474
|
+
function b0(e, t) {
|
|
9476
9475
|
switch (e.runtimeScope) {
|
|
9477
9476
|
case "shared":
|
|
9478
9477
|
return !0;
|
|
@@ -9486,7 +9485,7 @@ function I0(e, t) {
|
|
|
9486
9485
|
return !1;
|
|
9487
9486
|
}
|
|
9488
9487
|
}
|
|
9489
|
-
function
|
|
9488
|
+
function I0(e, t, n) {
|
|
9490
9489
|
switch (e.runtimeScope) {
|
|
9491
9490
|
case "shared":
|
|
9492
9491
|
return !0;
|
|
@@ -9531,7 +9530,7 @@ function We(e, t, n, r) {
|
|
|
9531
9530
|
return i;
|
|
9532
9531
|
}
|
|
9533
9532
|
}
|
|
9534
|
-
function
|
|
9533
|
+
function _0(e, t) {
|
|
9535
9534
|
if (e.kind !== "filter" || (t == null ? void 0 : t.status) !== "set" || t.value.kind !== "filter")
|
|
9536
9535
|
return t;
|
|
9537
9536
|
const n = Ct({
|
|
@@ -9565,7 +9564,7 @@ function vg(e, t, n) {
|
|
|
9565
9564
|
}
|
|
9566
9565
|
return qe(r);
|
|
9567
9566
|
}
|
|
9568
|
-
function
|
|
9567
|
+
function C0(e) {
|
|
9569
9568
|
const t = tc({
|
|
9570
9569
|
dashboard: e.dashboard,
|
|
9571
9570
|
input: e.input,
|
|
@@ -9611,7 +9610,7 @@ function tc(e) {
|
|
|
9611
9610
|
...s ? { comparisonSelection: s } : {}
|
|
9612
9611
|
} : s ? { comparisonSelection: s } : void 0;
|
|
9613
9612
|
}
|
|
9614
|
-
function
|
|
9613
|
+
function v0(e) {
|
|
9615
9614
|
var r, i, o, a, s, c;
|
|
9616
9615
|
let t = e.runtimeValues;
|
|
9617
9616
|
if (!Array.isArray(e.dashboard.inputs) || !e.dashboard.inputs.some(
|
|
@@ -9661,7 +9660,7 @@ function S0(e) {
|
|
|
9661
9660
|
function To(e) {
|
|
9662
9661
|
return (e == null ? void 0 : e.status) === "set" || (e == null ? void 0 : e.status) === "cleared";
|
|
9663
9662
|
}
|
|
9664
|
-
function
|
|
9663
|
+
function S0(e, t, n, r) {
|
|
9665
9664
|
const i = St(e, t, n);
|
|
9666
9665
|
return r ? (i == null ? void 0 : i.status) === "set" ? We(e, t, n, {
|
|
9667
9666
|
status: "set",
|
|
@@ -9716,7 +9715,7 @@ function wg(e, t) {
|
|
|
9716
9715
|
}
|
|
9717
9716
|
} : void 0;
|
|
9718
9717
|
}
|
|
9719
|
-
function
|
|
9718
|
+
function w0(e) {
|
|
9720
9719
|
return e ? {
|
|
9721
9720
|
status: "set",
|
|
9722
9721
|
value: {
|
|
@@ -9725,7 +9724,7 @@ function T0(e) {
|
|
|
9725
9724
|
}
|
|
9726
9725
|
} : void 0;
|
|
9727
9726
|
}
|
|
9728
|
-
function
|
|
9727
|
+
function T0(e) {
|
|
9729
9728
|
return e !== void 0 ? {
|
|
9730
9729
|
status: "set",
|
|
9731
9730
|
value: {
|
|
@@ -9769,7 +9768,7 @@ function jn(e) {
|
|
|
9769
9768
|
return Object.keys(t).length > 0 ? t : void 0;
|
|
9770
9769
|
}
|
|
9771
9770
|
const ko = ["bySheetId", "byCardId", "byDocumentSectionId"];
|
|
9772
|
-
function
|
|
9771
|
+
function k0(e, t) {
|
|
9773
9772
|
if (!Object.keys(t.shared ?? {}).length && ko.every((o) => !Object.keys(t[o] ?? {}).length)) return e;
|
|
9774
9773
|
const r = (o, a) => {
|
|
9775
9774
|
const s = { ...o };
|
|
@@ -9798,7 +9797,7 @@ function Tg(e) {
|
|
|
9798
9797
|
var t;
|
|
9799
9798
|
return (t = e.defaultFilterValues) != null && t.length ? Et(e).defaultInputValues : e.defaultInputValues;
|
|
9800
9799
|
}
|
|
9801
|
-
function
|
|
9800
|
+
function F0(e, t) {
|
|
9802
9801
|
var r;
|
|
9803
9802
|
if (!e)
|
|
9804
9803
|
return {};
|
|
@@ -9823,16 +9822,16 @@ function Vn(e, t) {
|
|
|
9823
9822
|
for (const n of Object.values(e))
|
|
9824
9823
|
delete n[t];
|
|
9825
9824
|
}
|
|
9826
|
-
function
|
|
9825
|
+
function D0(e) {
|
|
9827
9826
|
return e ? e.interactions || [] : [];
|
|
9828
9827
|
}
|
|
9829
|
-
function
|
|
9828
|
+
function E0(e) {
|
|
9830
9829
|
return (e || []).map((t, n) => ({
|
|
9831
9830
|
...t,
|
|
9832
9831
|
id: t.id || `legacy_${t.mode || "interaction"}_${n}`
|
|
9833
9832
|
}));
|
|
9834
9833
|
}
|
|
9835
|
-
function
|
|
9834
|
+
function N0() {
|
|
9836
9835
|
return { id: vd() };
|
|
9837
9836
|
}
|
|
9838
9837
|
function kg(e, t) {
|
|
@@ -9877,7 +9876,7 @@ function Dg(e, t, n) {
|
|
|
9877
9876
|
}
|
|
9878
9877
|
} : r);
|
|
9879
9878
|
}
|
|
9880
|
-
function
|
|
9879
|
+
function A0(e, t, n) {
|
|
9881
9880
|
if (t === n) return;
|
|
9882
9881
|
const r = /* @__PURE__ */ new Map([[t, n]]);
|
|
9883
9882
|
for (const { card: i } of Zo(e.dashboard))
|
|
@@ -9930,12 +9929,12 @@ function Ag(e, t) {
|
|
|
9930
9929
|
t
|
|
9931
9930
|
)), Ng(n, t);
|
|
9932
9931
|
}
|
|
9933
|
-
function
|
|
9932
|
+
function M0(e, t) {
|
|
9934
9933
|
var n;
|
|
9935
9934
|
for (const r of t)
|
|
9936
9935
|
(n = e.shared) == null || delete n[qt(r)];
|
|
9937
9936
|
}
|
|
9938
|
-
function
|
|
9937
|
+
function O0(e) {
|
|
9939
9938
|
var r;
|
|
9940
9939
|
const t = /* @__PURE__ */ new Set(), n = (i) => {
|
|
9941
9940
|
i != null && i.id && t.add(i.id);
|
|
@@ -9995,7 +9994,7 @@ function ic(e) {
|
|
|
9995
9994
|
var t, n;
|
|
9996
9995
|
return !e || e.type !== "text" ? !1 : !!((t = e.sql) != null && t.trim() || (n = e.python) != null && n.trim() || pn(e.config));
|
|
9997
9996
|
}
|
|
9998
|
-
function
|
|
9997
|
+
function x0(e) {
|
|
9999
9998
|
var t, n;
|
|
10000
9999
|
return !e || e.type !== "text" ? !1 : ((n = (t = e.preferences) == null ? void 0 : t.textVisualOptions) == null ? void 0 : n.isDynamicText) === !0 ? !0 : ic(e) && !rc(e);
|
|
10001
10000
|
}
|
|
@@ -10085,7 +10084,7 @@ function Eo(e, t, n) {
|
|
|
10085
10084
|
});
|
|
10086
10085
|
return { domainId: i.domainId, datasetId: i.datasetId, connectionId: i.connectionId };
|
|
10087
10086
|
}
|
|
10088
|
-
function
|
|
10087
|
+
function $0(e, t) {
|
|
10089
10088
|
var i;
|
|
10090
10089
|
if ("sql" in e) return [];
|
|
10091
10090
|
const n = [], r = (o, a) => o == null ? void 0 : o.forEach((s, c) => n.push({ ref: s, path: `${a}[${c}]` }));
|
|
@@ -10132,7 +10131,7 @@ function Ao(e) {
|
|
|
10132
10131
|
(t, n) => n && typeof n == "object" && !Array.isArray(n) ? Object.fromEntries(Object.entries(n).sort(([r], [i]) => r < i ? -1 : r > i ? 1 : 0)) : n
|
|
10133
10132
|
);
|
|
10134
10133
|
}
|
|
10135
|
-
const
|
|
10134
|
+
const R0 = {
|
|
10136
10135
|
id: "presentation",
|
|
10137
10136
|
title: "presentation",
|
|
10138
10137
|
tabTitle: "presentation",
|
|
@@ -10168,7 +10167,7 @@ const P0 = {
|
|
|
10168
10167
|
calculatedFields: "presentation",
|
|
10169
10168
|
controls: "presentation",
|
|
10170
10169
|
controlBindings: "presentation"
|
|
10171
|
-
},
|
|
10170
|
+
}, P0 = {
|
|
10172
10171
|
matrix: "query",
|
|
10173
10172
|
groupByColumns: "query",
|
|
10174
10173
|
metricColumns: "query",
|
|
@@ -10248,7 +10247,7 @@ function li(e, t) {
|
|
|
10248
10247
|
function ke(e) {
|
|
10249
10248
|
return li(e.name, ci(e));
|
|
10250
10249
|
}
|
|
10251
|
-
function
|
|
10250
|
+
function B0(e, t, n) {
|
|
10252
10251
|
const r = li(t, n);
|
|
10253
10252
|
return e.find((i) => ke(i) === r) ?? e.find((i) => ze(i.name) === ze(t));
|
|
10254
10253
|
}
|
|
@@ -10311,7 +10310,7 @@ function tn(e, t) {
|
|
|
10311
10310
|
return !!t && on(e == null ? void 0 : e.dataType);
|
|
10312
10311
|
}
|
|
10313
10312
|
const Pt = (e) => e && typeof e == "object" ? e.aggregate : void 0;
|
|
10314
|
-
function
|
|
10313
|
+
function q0(e) {
|
|
10315
10314
|
const t = [], n = (r, i) => {
|
|
10316
10315
|
Ee(r, i, (o) => Be(o, e.datasetName)).forEach((o, a) => {
|
|
10317
10316
|
const s = i[a];
|
|
@@ -10320,10 +10319,10 @@ function j0(e) {
|
|
|
10320
10319
|
};
|
|
10321
10320
|
return "measures" in e ? (n("metric", e.measures), n("group_by", [...e.dimensions ?? [], ...e.timeGrain && e.dateField ? [e.dateField] : []])) : n("detail", e.columns), t;
|
|
10322
10321
|
}
|
|
10323
|
-
function
|
|
10322
|
+
function j0(e, t) {
|
|
10324
10323
|
return e ? e.aspects.includes(t === "metric" ? "measures" : t === "group_by" ? "groupings" : "columns") : !0;
|
|
10325
10324
|
}
|
|
10326
|
-
function
|
|
10325
|
+
function L0(e, t, n, r) {
|
|
10327
10326
|
if ("sql" in e || "sql" in t || xo(e) !== xo(t) || e.domainId !== t.domainId || e.datasetName !== t.datasetName) return;
|
|
10328
10327
|
const i = e.datasetName, o = e, a = t, s = (_, T) => _[T] ?? [], c = (_, T) => _ === void 0 || T === void 0 ? _ === T : Be(_, i) === Be(T, i) && Pt(_) === Pt(T) && Gt(Eo(_, e.domainId, i), Eo(T, t.domainId, i)), l = (_, T) => _.length === T.length && _.every(($, q) => c($, T[q])), d = (_, T) => {
|
|
10329
10328
|
const $ = _, q = T;
|
|
@@ -10735,7 +10734,7 @@ const fc = ["kpi", "bar", "line", "area", "pie", "table", "detail_table", "matri
|
|
|
10735
10734
|
function Xg(e) {
|
|
10736
10735
|
return typeof e == "string" && fc.includes(e);
|
|
10737
10736
|
}
|
|
10738
|
-
function
|
|
10737
|
+
function V0(e) {
|
|
10739
10738
|
return mc[e].chartType;
|
|
10740
10739
|
}
|
|
10741
10740
|
const eh = {
|
|
@@ -10920,14 +10919,14 @@ const mi = [
|
|
|
10920
10919
|
...fi(gi),
|
|
10921
10920
|
...mi,
|
|
10922
10921
|
pi
|
|
10923
|
-
]),
|
|
10922
|
+
]), Y0 = dh.options.map((e) => e.shape.op.value), z0 = f.discriminatedUnion("op", [
|
|
10924
10923
|
...fi(gi),
|
|
10925
10924
|
...mi,
|
|
10926
10925
|
pi,
|
|
10927
10926
|
Cc,
|
|
10928
10927
|
vc
|
|
10929
10928
|
]), uh = 20;
|
|
10930
|
-
function
|
|
10929
|
+
function G0(e) {
|
|
10931
10930
|
const t = e.sql ? gi : ra([Ic, _c], ["metric query", "records query (detail table)"]), n = e.sql ? Cr : Cr.omit({ connectionId: !0, sql: !0 }), r = fi(t).map(
|
|
10932
10931
|
(l) => l.shape.op.value === "card.update" ? l.extend({ query: n.optional() }) : l
|
|
10933
10932
|
), i = [
|
|
@@ -11201,7 +11200,7 @@ const Yo = {
|
|
|
11201
11200
|
description: 4,
|
|
11202
11201
|
detached: 5
|
|
11203
11202
|
};
|
|
11204
|
-
function
|
|
11203
|
+
function U0(e) {
|
|
11205
11204
|
const t = [...e].sort((i, o) => Yo[i.kind] - Yo[o.kind]);
|
|
11206
11205
|
if (!t.length) return "";
|
|
11207
11206
|
const n = [t[0].lead, ...t.slice(1).map((i) => i.follow)], r = n.length === 1 ? n[0] : n.length === 2 ? `${n[0]} and ${n[1]}` : `${n.slice(0, -1).join(", ")}, and ${n[n.length - 1]}`;
|
|
@@ -11365,7 +11364,7 @@ function Mt(e, t) {
|
|
|
11365
11364
|
throw new Me("card_not_found", `No card ${t} on this dashboard.`, "Read the outline again and use its card ids.");
|
|
11366
11365
|
return n;
|
|
11367
11366
|
}
|
|
11368
|
-
function
|
|
11367
|
+
function K0(e, t) {
|
|
11369
11368
|
const n = e.sheets ?? [], r = n.findIndex((c) => c.id === t.sheetId), i = n[r];
|
|
11370
11369
|
if (!i)
|
|
11371
11370
|
throw new Me("sheet_not_found", `No sheet ${t.sheetId} on this dashboard.`);
|
|
@@ -11420,7 +11419,7 @@ function hi(e, t) {
|
|
|
11420
11419
|
...n.layoutsChanged ? { layouts: n.layouts, customizedBreakpoints: n.customizedBreakpoints } : {}
|
|
11421
11420
|
};
|
|
11422
11421
|
}
|
|
11423
|
-
function
|
|
11422
|
+
function H0(e, t) {
|
|
11424
11423
|
const n = Mt(e, t), r = n.frame.cards.length > 1, i = r && !!n.frame.visualId, o = r ? void 0 : hi(n.sheet, { kind: "frame_removed", frameId: n.frame.id });
|
|
11425
11424
|
return {
|
|
11426
11425
|
dashboard: Th.produce(e, (s) => {
|
|
@@ -11435,7 +11434,7 @@ function W0(e, t) {
|
|
|
11435
11434
|
clauses: [ie.removed(n.card.title, Nc(n.sheet)), ...i ? [ie.detachedTile()] : []]
|
|
11436
11435
|
};
|
|
11437
11436
|
}
|
|
11438
|
-
function
|
|
11437
|
+
function W0(e, t, n) {
|
|
11439
11438
|
switch (n.kind) {
|
|
11440
11439
|
case "rename":
|
|
11441
11440
|
return Nh(e, t, n);
|
|
@@ -11588,22 +11587,22 @@ function Oc(e, t) {
|
|
|
11588
11587
|
}
|
|
11589
11588
|
});
|
|
11590
11589
|
}
|
|
11591
|
-
function
|
|
11590
|
+
function J0(e) {
|
|
11592
11591
|
return {
|
|
11593
11592
|
operation: e.operation,
|
|
11594
11593
|
defaultValues: e.defaultValues,
|
|
11595
11594
|
defaultDateFilter: e.defaultDateFilter
|
|
11596
11595
|
};
|
|
11597
11596
|
}
|
|
11598
|
-
function
|
|
11597
|
+
function Q0(e, t) {
|
|
11599
11598
|
return !cr(e == null ? void 0 : e.defaultValues, t.defaultValues) || !cr(e == null ? void 0 : e.defaultDateFilter, t.defaultDateFilter) || (e == null ? void 0 : e.operation) !== t.operation;
|
|
11600
11599
|
}
|
|
11601
|
-
function
|
|
11600
|
+
function Z0(e, t) {
|
|
11602
11601
|
const n = wr(e);
|
|
11603
11602
|
if (!(!n || Go(n)))
|
|
11604
11603
|
return Za(n, Ac(t));
|
|
11605
11604
|
}
|
|
11606
|
-
function
|
|
11605
|
+
function X0(e, t) {
|
|
11607
11606
|
if (e.id !== t.filterId)
|
|
11608
11607
|
return !1;
|
|
11609
11608
|
const n = Mc(e.dataType);
|
|
@@ -11612,7 +11611,7 @@ function e_(e, t) {
|
|
|
11612
11611
|
t.operation
|
|
11613
11612
|
);
|
|
11614
11613
|
}
|
|
11615
|
-
function
|
|
11614
|
+
function e_(e, t) {
|
|
11616
11615
|
const n = [...e];
|
|
11617
11616
|
for (const r of t) {
|
|
11618
11617
|
const i = n.findIndex(
|
|
@@ -11629,11 +11628,11 @@ function Rh(e) {
|
|
|
11629
11628
|
const n = Et(e).inputs.map((r) => r.input.filter);
|
|
11630
11629
|
return zo.set(e, n), n;
|
|
11631
11630
|
}
|
|
11632
|
-
function
|
|
11631
|
+
function t_(e) {
|
|
11633
11632
|
var t;
|
|
11634
11633
|
return (t = Et(e).globalDateInput) == null ? void 0 : t.input.filter;
|
|
11635
11634
|
}
|
|
11636
|
-
function
|
|
11635
|
+
function n_(e, t, n) {
|
|
11637
11636
|
const r = t ? Or(e).get(t) : void 0;
|
|
11638
11637
|
if (!r) return [];
|
|
11639
11638
|
const i = n ? { ...r, sheetKind: n } : r;
|
|
@@ -11641,12 +11640,8 @@ function r_(e, t, n) {
|
|
|
11641
11640
|
({ input: o }) => ha(o, i)
|
|
11642
11641
|
);
|
|
11643
11642
|
}
|
|
11644
|
-
function i_(e) {
|
|
11645
|
-
var t;
|
|
11646
|
-
return e.filter.hide === !0 || ((t = e.presentation) == null ? void 0 : t.placement) === "hidden" && e.filter.location !== "frame";
|
|
11647
|
-
}
|
|
11648
11643
|
const ft = (e) => typeof e == "object" && e !== null && !Array.isArray(e);
|
|
11649
|
-
function
|
|
11644
|
+
function r_(e) {
|
|
11650
11645
|
const t = [];
|
|
11651
11646
|
for (const r of Array.isArray(e.filters) ? e.filters : [])
|
|
11652
11647
|
ft(r) && t.push(r);
|
|
@@ -11663,13 +11658,13 @@ const Ph = "Global Date", Bh = "__global_date__", qh = "__global_date__";
|
|
|
11663
11658
|
function xc(e) {
|
|
11664
11659
|
return (e == null ? void 0 : e.kind) === "global-date";
|
|
11665
11660
|
}
|
|
11666
|
-
function
|
|
11661
|
+
function i_(e) {
|
|
11667
11662
|
return e == null ? void 0 : e.find((t) => xc(t));
|
|
11668
11663
|
}
|
|
11669
11664
|
function jh() {
|
|
11670
11665
|
return typeof globalThis < "u" && globalThis.crypto && typeof globalThis.crypto.randomUUID == "function" ? `global-date-filter:${globalThis.crypto.randomUUID()}` : `global-date-filter:${Date.now().toString(36)}:${Math.random().toString(36).slice(2)}`;
|
|
11671
11666
|
}
|
|
11672
|
-
function
|
|
11667
|
+
function o_() {
|
|
11673
11668
|
return {
|
|
11674
11669
|
kind: "global-date",
|
|
11675
11670
|
id: jh(),
|
|
@@ -11693,7 +11688,7 @@ function Lh(e, t, n) {
|
|
|
11693
11688
|
({ card: o }) => i.has(o.id) && (!n || n.includes(o.id))
|
|
11694
11689
|
);
|
|
11695
11690
|
}
|
|
11696
|
-
function
|
|
11691
|
+
function a_(e, t, n, r, i, o) {
|
|
11697
11692
|
const a = Lh(
|
|
11698
11693
|
e,
|
|
11699
11694
|
n,
|
|
@@ -11733,42 +11728,42 @@ function c_(e, t, n, r, i, o) {
|
|
|
11733
11728
|
}
|
|
11734
11729
|
export {
|
|
11735
11730
|
mh as $,
|
|
11736
|
-
|
|
11737
|
-
|
|
11731
|
+
i0 as A,
|
|
11732
|
+
$I as B,
|
|
11738
11733
|
Kp as C,
|
|
11739
|
-
|
|
11740
|
-
|
|
11741
|
-
|
|
11742
|
-
|
|
11734
|
+
a0 as D,
|
|
11735
|
+
c0 as E,
|
|
11736
|
+
HI as F,
|
|
11737
|
+
UI as G,
|
|
11743
11738
|
ai as H,
|
|
11744
|
-
|
|
11745
|
-
|
|
11739
|
+
NI as I,
|
|
11740
|
+
KI as J,
|
|
11746
11741
|
zd as K,
|
|
11747
|
-
|
|
11748
|
-
|
|
11749
|
-
|
|
11742
|
+
XI as L,
|
|
11743
|
+
Ib as M,
|
|
11744
|
+
_b as N,
|
|
11750
11745
|
Ct as O,
|
|
11751
11746
|
hd as P,
|
|
11752
11747
|
Bu as Q,
|
|
11753
11748
|
xr as R,
|
|
11754
|
-
|
|
11755
|
-
|
|
11756
|
-
|
|
11749
|
+
Fy as S,
|
|
11750
|
+
uI as T,
|
|
11751
|
+
fI as U,
|
|
11757
11752
|
as as V,
|
|
11758
|
-
|
|
11753
|
+
dI as W,
|
|
11759
11754
|
tu as X,
|
|
11760
11755
|
Et as Y,
|
|
11761
11756
|
gd as Z,
|
|
11762
11757
|
Lh as _,
|
|
11763
|
-
|
|
11758
|
+
Ty as a,
|
|
11764
11759
|
bu as a$,
|
|
11765
|
-
|
|
11760
|
+
Dy as a0,
|
|
11766
11761
|
Ri as a1,
|
|
11767
11762
|
Or as a2,
|
|
11768
11763
|
ha as a3,
|
|
11769
11764
|
fh as a4,
|
|
11770
11765
|
Be as a5,
|
|
11771
|
-
|
|
11766
|
+
q0 as a6,
|
|
11772
11767
|
sc as a7,
|
|
11773
11768
|
Gt as a8,
|
|
11774
11769
|
wt as a9,
|
|
@@ -11781,37 +11776,37 @@ export {
|
|
|
11781
11776
|
hn as aG,
|
|
11782
11777
|
Ne as aH,
|
|
11783
11778
|
it as aI,
|
|
11784
|
-
|
|
11779
|
+
eb as aJ,
|
|
11785
11780
|
Hm as aK,
|
|
11786
11781
|
qg as aL,
|
|
11787
11782
|
xe as aM,
|
|
11788
11783
|
bs as aN,
|
|
11789
11784
|
et as aO,
|
|
11790
|
-
|
|
11785
|
+
yb as aP,
|
|
11791
11786
|
Ef as aQ,
|
|
11792
11787
|
os as aR,
|
|
11793
11788
|
Af as aS,
|
|
11794
11789
|
ue as aT,
|
|
11795
11790
|
Of as aU,
|
|
11796
|
-
|
|
11791
|
+
vb as aV,
|
|
11797
11792
|
xf as aW,
|
|
11798
|
-
|
|
11799
|
-
|
|
11793
|
+
Sb as aX,
|
|
11794
|
+
wb as aY,
|
|
11800
11795
|
pu as aZ,
|
|
11801
11796
|
be as a_,
|
|
11802
11797
|
li as aa,
|
|
11803
11798
|
ci as ab,
|
|
11804
11799
|
uh as ac,
|
|
11805
11800
|
dh as ad,
|
|
11806
|
-
|
|
11807
|
-
|
|
11801
|
+
Ny as ae,
|
|
11802
|
+
B0 as af,
|
|
11808
11803
|
kh as ag,
|
|
11809
|
-
|
|
11804
|
+
V0 as ah,
|
|
11810
11805
|
km as ai,
|
|
11811
11806
|
Wm as aj,
|
|
11812
11807
|
yn as ak,
|
|
11813
|
-
|
|
11814
|
-
|
|
11808
|
+
L0 as al,
|
|
11809
|
+
j0 as am,
|
|
11815
11810
|
Hg as an,
|
|
11816
11811
|
Ug as ao,
|
|
11817
11812
|
Gg as ap,
|
|
@@ -11821,57 +11816,57 @@ export {
|
|
|
11821
11816
|
sh as at,
|
|
11822
11817
|
_c as au,
|
|
11823
11818
|
Ic as av,
|
|
11824
|
-
|
|
11819
|
+
$0 as aw,
|
|
11825
11820
|
oc as ax,
|
|
11826
11821
|
Um as ay,
|
|
11827
11822
|
Gm as az,
|
|
11828
11823
|
qa as b,
|
|
11829
|
-
|
|
11824
|
+
sI as b$,
|
|
11830
11825
|
Iu as b0,
|
|
11831
|
-
|
|
11826
|
+
ib as b1,
|
|
11832
11827
|
_u as b2,
|
|
11833
11828
|
wm as b3,
|
|
11834
11829
|
_s as b4,
|
|
11835
11830
|
Aa as b5,
|
|
11836
|
-
|
|
11837
|
-
|
|
11831
|
+
Jy as b6,
|
|
11832
|
+
Qy as b7,
|
|
11838
11833
|
Cu as b8,
|
|
11839
11834
|
wu as b9,
|
|
11840
11835
|
Oy as bA,
|
|
11841
11836
|
xy as bB,
|
|
11842
11837
|
$y as bC,
|
|
11843
|
-
|
|
11844
|
-
|
|
11845
|
-
|
|
11846
|
-
|
|
11838
|
+
ye as bD,
|
|
11839
|
+
fo as bE,
|
|
11840
|
+
hm as bF,
|
|
11841
|
+
Wb as bG,
|
|
11847
11842
|
Jb as bH,
|
|
11848
11843
|
Qb as bI,
|
|
11849
|
-
|
|
11850
|
-
|
|
11851
|
-
|
|
11844
|
+
Xm as bJ,
|
|
11845
|
+
ep as bK,
|
|
11846
|
+
Zb as bL,
|
|
11852
11847
|
Xb as bM,
|
|
11853
|
-
|
|
11854
|
-
|
|
11855
|
-
|
|
11856
|
-
|
|
11857
|
-
|
|
11858
|
-
|
|
11859
|
-
|
|
11860
|
-
|
|
11861
|
-
|
|
11848
|
+
tp as bN,
|
|
11849
|
+
np as bO,
|
|
11850
|
+
Qr as bP,
|
|
11851
|
+
eI as bQ,
|
|
11852
|
+
ho as bR,
|
|
11853
|
+
he as bS,
|
|
11854
|
+
tI as bT,
|
|
11855
|
+
Zr as bU,
|
|
11856
|
+
nI as bV,
|
|
11862
11857
|
rI as bW,
|
|
11863
11858
|
iI as bX,
|
|
11864
11859
|
oI as bY,
|
|
11865
11860
|
aI as bZ,
|
|
11866
|
-
|
|
11861
|
+
Ns as b_,
|
|
11867
11862
|
Tu as ba,
|
|
11868
11863
|
fn as bb,
|
|
11869
|
-
|
|
11870
|
-
|
|
11871
|
-
|
|
11872
|
-
|
|
11873
|
-
|
|
11874
|
-
|
|
11864
|
+
ob as bc,
|
|
11865
|
+
ab as bd,
|
|
11866
|
+
wy as be,
|
|
11867
|
+
ky as bf,
|
|
11868
|
+
Ey as bg,
|
|
11869
|
+
Ay as bh,
|
|
11875
11870
|
$u as bi,
|
|
11876
11871
|
ju as bj,
|
|
11877
11872
|
Lu as bk,
|
|
@@ -11881,332 +11876,331 @@ export {
|
|
|
11881
11876
|
Va as bo,
|
|
11882
11877
|
qu as bp,
|
|
11883
11878
|
Rh as bq,
|
|
11884
|
-
|
|
11885
|
-
|
|
11886
|
-
|
|
11887
|
-
|
|
11888
|
-
|
|
11889
|
-
|
|
11890
|
-
|
|
11891
|
-
|
|
11892
|
-
|
|
11893
|
-
|
|
11894
|
-
|
|
11879
|
+
t_ as br,
|
|
11880
|
+
n_ as bs,
|
|
11881
|
+
r_ as bt,
|
|
11882
|
+
wf as bu,
|
|
11883
|
+
Ff as bv,
|
|
11884
|
+
bb as bw,
|
|
11885
|
+
Cb as bx,
|
|
11886
|
+
yd as by,
|
|
11887
|
+
My as bz,
|
|
11888
|
+
Iy as c,
|
|
11889
|
+
Sg as c$,
|
|
11895
11890
|
cI as c0,
|
|
11896
|
-
|
|
11897
|
-
|
|
11898
|
-
|
|
11899
|
-
|
|
11900
|
-
|
|
11901
|
-
|
|
11902
|
-
|
|
11903
|
-
|
|
11891
|
+
up as c1,
|
|
11892
|
+
gp as c2,
|
|
11893
|
+
gn as c3,
|
|
11894
|
+
lI as c4,
|
|
11895
|
+
yp as c5,
|
|
11896
|
+
Ha as c6,
|
|
11897
|
+
Zt as c7,
|
|
11898
|
+
lb as c8,
|
|
11904
11899
|
db as c9,
|
|
11905
|
-
|
|
11906
|
-
|
|
11907
|
-
|
|
11908
|
-
|
|
11909
|
-
|
|
11910
|
-
|
|
11911
|
-
|
|
11912
|
-
|
|
11913
|
-
|
|
11914
|
-
|
|
11915
|
-
|
|
11916
|
-
|
|
11900
|
+
ah as cA,
|
|
11901
|
+
di as cB,
|
|
11902
|
+
Tt as cC,
|
|
11903
|
+
gc as cD,
|
|
11904
|
+
bc as cE,
|
|
11905
|
+
Cr as cF,
|
|
11906
|
+
Bo as cG,
|
|
11907
|
+
In as cH,
|
|
11908
|
+
Cc as cI,
|
|
11909
|
+
vc as cJ,
|
|
11910
|
+
pi as cK,
|
|
11911
|
+
Y0 as cL,
|
|
11917
11912
|
z0 as cM,
|
|
11918
11913
|
G0 as cN,
|
|
11919
|
-
|
|
11920
|
-
|
|
11921
|
-
|
|
11922
|
-
|
|
11923
|
-
|
|
11924
|
-
|
|
11925
|
-
|
|
11926
|
-
|
|
11927
|
-
|
|
11928
|
-
|
|
11929
|
-
|
|
11930
|
-
|
|
11931
|
-
|
|
11914
|
+
au as cO,
|
|
11915
|
+
tb as cP,
|
|
11916
|
+
Hb as cQ,
|
|
11917
|
+
kI as cR,
|
|
11918
|
+
yI as cS,
|
|
11919
|
+
sy as cT,
|
|
11920
|
+
py as cU,
|
|
11921
|
+
Oc as cV,
|
|
11922
|
+
mn as cW,
|
|
11923
|
+
qe as cX,
|
|
11924
|
+
We as cY,
|
|
11925
|
+
_0 as cZ,
|
|
11926
|
+
w0 as c_,
|
|
11932
11927
|
ub as ca,
|
|
11933
|
-
|
|
11934
|
-
|
|
11935
|
-
|
|
11936
|
-
|
|
11928
|
+
Kd as cb,
|
|
11929
|
+
Hd as cc,
|
|
11930
|
+
Wd as cd,
|
|
11931
|
+
Ky as ce,
|
|
11937
11932
|
Hy as cf,
|
|
11938
11933
|
Wy as cg,
|
|
11939
|
-
|
|
11940
|
-
|
|
11941
|
-
|
|
11942
|
-
|
|
11943
|
-
|
|
11944
|
-
|
|
11945
|
-
|
|
11946
|
-
|
|
11934
|
+
Jd as ch,
|
|
11935
|
+
fc as ci,
|
|
11936
|
+
Xg as cj,
|
|
11937
|
+
th as ck,
|
|
11938
|
+
rh as cl,
|
|
11939
|
+
No as cm,
|
|
11940
|
+
jg as cn,
|
|
11941
|
+
R0 as co,
|
|
11947
11942
|
P0 as cp,
|
|
11948
|
-
|
|
11949
|
-
|
|
11950
|
-
|
|
11951
|
-
|
|
11952
|
-
|
|
11953
|
-
|
|
11954
|
-
|
|
11955
|
-
|
|
11956
|
-
|
|
11957
|
-
|
|
11943
|
+
Yn as cq,
|
|
11944
|
+
Lg as cr,
|
|
11945
|
+
Vg as cs,
|
|
11946
|
+
Ee as ct,
|
|
11947
|
+
zg as cu,
|
|
11948
|
+
tn as cv,
|
|
11949
|
+
bh as cw,
|
|
11950
|
+
Se as cx,
|
|
11951
|
+
oh as cy,
|
|
11952
|
+
bn as cz,
|
|
11958
11953
|
tt as d,
|
|
11959
|
-
|
|
11960
|
-
|
|
11961
|
-
|
|
11962
|
-
|
|
11963
|
-
|
|
11964
|
-
|
|
11965
|
-
|
|
11966
|
-
|
|
11967
|
-
|
|
11968
|
-
|
|
11969
|
-
|
|
11970
|
-
|
|
11971
|
-
|
|
11972
|
-
|
|
11973
|
-
|
|
11974
|
-
|
|
11975
|
-
|
|
11976
|
-
|
|
11977
|
-
|
|
11978
|
-
|
|
11979
|
-
|
|
11980
|
-
|
|
11981
|
-
|
|
11954
|
+
am as d$,
|
|
11955
|
+
b0 as d0,
|
|
11956
|
+
St as d1,
|
|
11957
|
+
pg as d2,
|
|
11958
|
+
f0 as d3,
|
|
11959
|
+
d0 as d4,
|
|
11960
|
+
X0 as d5,
|
|
11961
|
+
cr as d6,
|
|
11962
|
+
k0 as d7,
|
|
11963
|
+
e_ as d8,
|
|
11964
|
+
y0 as d9,
|
|
11965
|
+
ie as dA,
|
|
11966
|
+
xb as dB,
|
|
11967
|
+
Wr as dC,
|
|
11968
|
+
O0 as dD,
|
|
11969
|
+
Th as dE,
|
|
11970
|
+
Sy as dF,
|
|
11971
|
+
Og as dG,
|
|
11972
|
+
Yd as dH,
|
|
11973
|
+
Gd as dI,
|
|
11974
|
+
Pr as dJ,
|
|
11975
|
+
v0 as dK,
|
|
11976
|
+
vg as dL,
|
|
11982
11977
|
S0 as dM,
|
|
11983
|
-
|
|
11984
|
-
|
|
11985
|
-
|
|
11986
|
-
|
|
11987
|
-
|
|
11988
|
-
|
|
11989
|
-
|
|
11990
|
-
|
|
11991
|
-
|
|
11992
|
-
|
|
11993
|
-
|
|
11994
|
-
|
|
11995
|
-
|
|
11996
|
-
|
|
11997
|
-
|
|
11998
|
-
|
|
11999
|
-
|
|
12000
|
-
|
|
12001
|
-
|
|
12002
|
-
|
|
12003
|
-
|
|
12004
|
-
|
|
12005
|
-
|
|
12006
|
-
|
|
12007
|
-
|
|
12008
|
-
|
|
12009
|
-
|
|
12010
|
-
|
|
12011
|
-
|
|
12012
|
-
|
|
12013
|
-
|
|
12014
|
-
|
|
12015
|
-
|
|
12016
|
-
|
|
12017
|
-
|
|
12018
|
-
|
|
12019
|
-
|
|
12020
|
-
|
|
12021
|
-
|
|
12022
|
-
|
|
12023
|
-
|
|
12024
|
-
|
|
12025
|
-
|
|
12026
|
-
|
|
12027
|
-
|
|
12028
|
-
|
|
12029
|
-
|
|
12030
|
-
|
|
12031
|
-
|
|
12032
|
-
|
|
12033
|
-
|
|
12034
|
-
|
|
12035
|
-
|
|
11978
|
+
gf as dN,
|
|
11979
|
+
uf as dO,
|
|
11980
|
+
Ja as dP,
|
|
11981
|
+
Q0 as dQ,
|
|
11982
|
+
J as dR,
|
|
11983
|
+
F0 as dS,
|
|
11984
|
+
W0 as dT,
|
|
11985
|
+
H0 as dU,
|
|
11986
|
+
K0 as dV,
|
|
11987
|
+
U0 as dW,
|
|
11988
|
+
tc as dX,
|
|
11989
|
+
J0 as dY,
|
|
11990
|
+
bf as dZ,
|
|
11991
|
+
hb as d_,
|
|
11992
|
+
Bd as da,
|
|
11993
|
+
i_ as db,
|
|
11994
|
+
a_ as dc,
|
|
11995
|
+
Ld as dd,
|
|
11996
|
+
xd as de,
|
|
11997
|
+
qd as df,
|
|
11998
|
+
Db as dg,
|
|
11999
|
+
Gr as dh,
|
|
12000
|
+
CI as di,
|
|
12001
|
+
vI as dj,
|
|
12002
|
+
Kb as dk,
|
|
12003
|
+
m0 as dl,
|
|
12004
|
+
pn as dm,
|
|
12005
|
+
mI as dn,
|
|
12006
|
+
sb as dp,
|
|
12007
|
+
Da as dq,
|
|
12008
|
+
Xl as dr,
|
|
12009
|
+
ca as ds,
|
|
12010
|
+
my as dt,
|
|
12011
|
+
DI as du,
|
|
12012
|
+
FI as dv,
|
|
12013
|
+
bI as dw,
|
|
12014
|
+
hI as dx,
|
|
12015
|
+
Me as dy,
|
|
12016
|
+
hi as dz,
|
|
12017
|
+
r0 as e,
|
|
12018
|
+
Yb as e$,
|
|
12019
|
+
yy as e0,
|
|
12020
|
+
hy as e1,
|
|
12021
|
+
Py as e2,
|
|
12022
|
+
Vb as e3,
|
|
12023
|
+
MI as e4,
|
|
12024
|
+
o_ as e5,
|
|
12025
|
+
_d as e6,
|
|
12026
|
+
Ge as e7,
|
|
12027
|
+
af as e8,
|
|
12028
|
+
pI as e9,
|
|
12029
|
+
kb as eA,
|
|
12030
|
+
PI as eB,
|
|
12036
12031
|
BI as eC,
|
|
12037
|
-
|
|
12038
|
-
|
|
12032
|
+
fs as eD,
|
|
12033
|
+
LI as eE,
|
|
12039
12034
|
VI as eF,
|
|
12040
|
-
|
|
12041
|
-
|
|
12042
|
-
|
|
12043
|
-
|
|
12044
|
-
|
|
12045
|
-
|
|
12046
|
-
|
|
12047
|
-
|
|
12048
|
-
|
|
12049
|
-
|
|
12050
|
-
|
|
12051
|
-
|
|
12052
|
-
|
|
12053
|
-
|
|
12054
|
-
|
|
12055
|
-
|
|
12056
|
-
|
|
12057
|
-
|
|
12058
|
-
|
|
12059
|
-
|
|
12060
|
-
|
|
12061
|
-
|
|
12062
|
-
|
|
12063
|
-
|
|
12064
|
-
|
|
12065
|
-
|
|
12066
|
-
|
|
12067
|
-
|
|
12068
|
-
|
|
12069
|
-
|
|
12070
|
-
|
|
12071
|
-
|
|
12072
|
-
|
|
12073
|
-
|
|
12074
|
-
|
|
12075
|
-
|
|
12076
|
-
|
|
12077
|
-
|
|
12078
|
-
|
|
12079
|
-
|
|
12080
|
-
|
|
12081
|
-
|
|
12082
|
-
|
|
12083
|
-
|
|
12084
|
-
|
|
12085
|
-
|
|
12086
|
-
|
|
12087
|
-
|
|
12088
|
-
|
|
12089
|
-
|
|
12090
|
-
|
|
12091
|
-
|
|
12092
|
-
|
|
12093
|
-
|
|
12094
|
-
|
|
12095
|
-
|
|
12096
|
-
|
|
12097
|
-
|
|
12098
|
-
|
|
12099
|
-
|
|
12100
|
-
|
|
12101
|
-
|
|
12102
|
-
|
|
12103
|
-
|
|
12104
|
-
|
|
12105
|
-
|
|
12106
|
-
$
|
|
12107
|
-
|
|
12108
|
-
|
|
12109
|
-
|
|
12110
|
-
|
|
12111
|
-
|
|
12112
|
-
|
|
12113
|
-
|
|
12114
|
-
|
|
12115
|
-
|
|
12116
|
-
|
|
12117
|
-
|
|
12118
|
-
|
|
12119
|
-
|
|
12120
|
-
|
|
12121
|
-
|
|
12122
|
-
|
|
12123
|
-
|
|
12124
|
-
|
|
12035
|
+
WI as eG,
|
|
12036
|
+
RI as eH,
|
|
12037
|
+
xg as eI,
|
|
12038
|
+
Yf as eJ,
|
|
12039
|
+
_I as eK,
|
|
12040
|
+
V as eL,
|
|
12041
|
+
im as eM,
|
|
12042
|
+
Cm as eN,
|
|
12043
|
+
SI as eO,
|
|
12044
|
+
gy as eP,
|
|
12045
|
+
fb as eQ,
|
|
12046
|
+
Cg as eR,
|
|
12047
|
+
sf as eS,
|
|
12048
|
+
xn as eT,
|
|
12049
|
+
zp as eU,
|
|
12050
|
+
Mb as eV,
|
|
12051
|
+
Gp as eW,
|
|
12052
|
+
Gy as eX,
|
|
12053
|
+
hf as eY,
|
|
12054
|
+
gb as eZ,
|
|
12055
|
+
zb as e_,
|
|
12056
|
+
Bp as ea,
|
|
12057
|
+
rm as eb,
|
|
12058
|
+
xp as ec,
|
|
12059
|
+
tm as ed,
|
|
12060
|
+
ou as ee,
|
|
12061
|
+
nu as ef,
|
|
12062
|
+
iu as eg,
|
|
12063
|
+
Z0 as eh,
|
|
12064
|
+
cb as ei,
|
|
12065
|
+
$a as ej,
|
|
12066
|
+
Tg as ek,
|
|
12067
|
+
T0 as el,
|
|
12068
|
+
Xs as em,
|
|
12069
|
+
wg as en,
|
|
12070
|
+
h0 as eo,
|
|
12071
|
+
nb as ep,
|
|
12072
|
+
nm as eq,
|
|
12073
|
+
Ub as er,
|
|
12074
|
+
Vm as es,
|
|
12075
|
+
fy as et,
|
|
12076
|
+
Nb as eu,
|
|
12077
|
+
rb as ev,
|
|
12078
|
+
ps as ew,
|
|
12079
|
+
Eb as ex,
|
|
12080
|
+
rf as ey,
|
|
12081
|
+
Xf as ez,
|
|
12082
|
+
AI as f,
|
|
12083
|
+
eu as f$,
|
|
12084
|
+
kg as f0,
|
|
12085
|
+
vy as f1,
|
|
12086
|
+
Ym as f2,
|
|
12087
|
+
Gb as f3,
|
|
12088
|
+
Fg as f4,
|
|
12089
|
+
ur as f5,
|
|
12090
|
+
mb as f6,
|
|
12091
|
+
dd as f7,
|
|
12092
|
+
g0 as f8,
|
|
12093
|
+
mg as f9,
|
|
12094
|
+
D0 as fA,
|
|
12095
|
+
Bb as fB,
|
|
12096
|
+
Lf as fC,
|
|
12097
|
+
qf as fD,
|
|
12098
|
+
Rf as fE,
|
|
12099
|
+
Vf as fF,
|
|
12100
|
+
x0 as fG,
|
|
12101
|
+
$f as fH,
|
|
12102
|
+
ls as fI,
|
|
12103
|
+
Tb as fJ,
|
|
12104
|
+
l0 as fK,
|
|
12105
|
+
jd as fL,
|
|
12106
|
+
jy as fM,
|
|
12107
|
+
Vy as fN,
|
|
12108
|
+
zy as fO,
|
|
12109
|
+
Yy as fP,
|
|
12110
|
+
pf as fQ,
|
|
12111
|
+
qy as fR,
|
|
12112
|
+
Za as fS,
|
|
12113
|
+
I0 as fT,
|
|
12114
|
+
EI as fU,
|
|
12115
|
+
Cy as fV,
|
|
12116
|
+
Qa as fW,
|
|
12117
|
+
Ph as fX,
|
|
12118
|
+
Zd as fY,
|
|
12119
|
+
Zy as fZ,
|
|
12125
12120
|
Xy as f_,
|
|
12126
|
-
|
|
12127
|
-
|
|
12128
|
-
|
|
12129
|
-
|
|
12130
|
-
|
|
12131
|
-
|
|
12132
|
-
|
|
12133
|
-
|
|
12134
|
-
|
|
12135
|
-
|
|
12136
|
-
|
|
12137
|
-
|
|
12138
|
-
|
|
12139
|
-
|
|
12140
|
-
|
|
12141
|
-
|
|
12142
|
-
|
|
12143
|
-
|
|
12144
|
-
|
|
12145
|
-
|
|
12146
|
-
|
|
12147
|
-
|
|
12148
|
-
|
|
12149
|
-
|
|
12150
|
-
|
|
12151
|
-
|
|
12121
|
+
Zs as fa,
|
|
12122
|
+
u0 as fb,
|
|
12123
|
+
p0 as fc,
|
|
12124
|
+
A0 as fd,
|
|
12125
|
+
Mg as fe,
|
|
12126
|
+
M0 as ff,
|
|
12127
|
+
Fb as fg,
|
|
12128
|
+
_y as fh,
|
|
12129
|
+
ly as fi,
|
|
12130
|
+
cy as fj,
|
|
12131
|
+
ka as fk,
|
|
12132
|
+
un as fl,
|
|
12133
|
+
Sd as fm,
|
|
12134
|
+
Ry as fn,
|
|
12135
|
+
uy as fo,
|
|
12136
|
+
Mp as fp,
|
|
12137
|
+
TI as fq,
|
|
12138
|
+
Zi as fr,
|
|
12139
|
+
ms as fs,
|
|
12140
|
+
Ob as ft,
|
|
12141
|
+
gI as fu,
|
|
12142
|
+
by as fv,
|
|
12143
|
+
wI as fw,
|
|
12144
|
+
pb as fx,
|
|
12145
|
+
Uy as fy,
|
|
12146
|
+
Ly as fz,
|
|
12152
12147
|
Ie as g,
|
|
12153
|
-
|
|
12154
|
-
|
|
12155
|
-
|
|
12156
|
-
|
|
12157
|
-
|
|
12158
|
-
|
|
12159
|
-
|
|
12160
|
-
|
|
12161
|
-
|
|
12162
|
-
|
|
12163
|
-
|
|
12148
|
+
Vd as g0,
|
|
12149
|
+
Bi as g1,
|
|
12150
|
+
By as g2,
|
|
12151
|
+
E0 as g3,
|
|
12152
|
+
rc as g4,
|
|
12153
|
+
ic as g5,
|
|
12154
|
+
QI as g6,
|
|
12155
|
+
JI as g7,
|
|
12156
|
+
ag as g8,
|
|
12157
|
+
ZI as g9,
|
|
12158
|
+
$b as gA,
|
|
12164
12159
|
Rb as gB,
|
|
12165
|
-
|
|
12166
|
-
|
|
12167
|
-
|
|
12168
|
-
|
|
12169
|
-
|
|
12170
|
-
|
|
12171
|
-
|
|
12172
|
-
|
|
12173
|
-
|
|
12174
|
-
|
|
12175
|
-
|
|
12176
|
-
|
|
12177
|
-
|
|
12178
|
-
|
|
12179
|
-
|
|
12180
|
-
ig as gn,
|
|
12160
|
+
um as gC,
|
|
12161
|
+
sg as ga,
|
|
12162
|
+
Do as gb,
|
|
12163
|
+
of as gc,
|
|
12164
|
+
II as gd,
|
|
12165
|
+
Pb as ge,
|
|
12166
|
+
Xe as gf,
|
|
12167
|
+
N0 as gg,
|
|
12168
|
+
jf as gh,
|
|
12169
|
+
Pf as gi,
|
|
12170
|
+
ri as gj,
|
|
12171
|
+
xI as gk,
|
|
12172
|
+
Up as gl,
|
|
12173
|
+
ig as gm,
|
|
12174
|
+
qI as gn,
|
|
12181
12175
|
jI as go,
|
|
12182
|
-
|
|
12183
|
-
|
|
12184
|
-
|
|
12185
|
-
|
|
12186
|
-
|
|
12187
|
-
|
|
12188
|
-
|
|
12189
|
-
|
|
12190
|
-
|
|
12191
|
-
|
|
12192
|
-
|
|
12193
|
-
|
|
12176
|
+
oi as gp,
|
|
12177
|
+
Us as gq,
|
|
12178
|
+
C0 as gr,
|
|
12179
|
+
ug as gs,
|
|
12180
|
+
qb as gt,
|
|
12181
|
+
pm as gu,
|
|
12182
|
+
Ab as gv,
|
|
12183
|
+
Lb as gw,
|
|
12184
|
+
Yt as gx,
|
|
12185
|
+
jb as gy,
|
|
12186
|
+
dy as gz,
|
|
12187
|
+
t0 as h,
|
|
12194
12188
|
xc as i,
|
|
12195
|
-
|
|
12196
|
-
|
|
12189
|
+
zI as j,
|
|
12190
|
+
GI as k,
|
|
12197
12191
|
lg as l,
|
|
12198
|
-
|
|
12192
|
+
s0 as m,
|
|
12199
12193
|
Bs as n,
|
|
12200
|
-
|
|
12194
|
+
YI as o,
|
|
12201
12195
|
Ys as p,
|
|
12202
|
-
|
|
12196
|
+
OI as q,
|
|
12203
12197
|
wp as r,
|
|
12204
12198
|
Ze as s,
|
|
12205
|
-
|
|
12199
|
+
o0 as t,
|
|
12206
12200
|
cg as u,
|
|
12207
12201
|
vd as v,
|
|
12208
12202
|
gr as w,
|
|
12209
12203
|
dg as x,
|
|
12210
|
-
|
|
12211
|
-
|
|
12204
|
+
e0 as y,
|
|
12205
|
+
n0 as z
|
|
12212
12206
|
};
|