react-semaphor 0.1.600 → 0.1.602
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics-protocol/index.js +9 -9
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +7 -7
- package/dist/briefings/index.js +48 -45
- package/dist/chunks/{assistant-chat-BULOkG9j.js → assistant-chat-BWF3GYip.js} +12 -12
- package/dist/chunks/{bookmark-impact-kdvXke8n.js → bookmark-impact-BF3iRx5a.js} +3 -3
- package/dist/chunks/{bookmark-state-h1OLXVjE.js → bookmark-state-CBSTdW6q.js} +4 -4
- package/dist/chunks/{card-filter-builder-CSCdSQQy.js → card-filter-builder-B8XHwMY6.js} +394 -394
- package/dist/chunks/comparison-window-caption-W83qB4V5.js +741 -0
- package/dist/chunks/{dashboard-y9ON19ge.js → dashboard-DG5EIYYB.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-9YwUclHA.js → dashboard-briefing-launcher-CBSrhyWZ.js} +727 -718
- package/dist/chunks/{dashboard-controls-O6PNXMCp.js → dashboard-controls-D6ECO4N1.js} +15 -15
- package/dist/chunks/{dashboard-json-Bxf91TYq.js → dashboard-json-DrJftBSL.js} +4 -4
- package/dist/chunks/{dates-DPTbpNxK.js → dates-Bz-qM5px.js} +10 -10
- package/dist/chunks/{edit-dashboard-visual-CKwaW8H_.js → edit-dashboard-visual-BDYAJIbb.js} +1569 -1548
- package/dist/chunks/filter-line-BXT6y303.js +703 -0
- package/dist/chunks/{filter-reach-copy-ClzNcNhP.js → filter-reach-copy-BukhZmzm.js} +1688 -1806
- package/dist/chunks/{filter-value-text-CXyuLW9Q.js → filter-value-text-D3-bf3_b.js} +6 -6
- package/dist/chunks/{index-CRo5--Y6.js → index-BW0yozjs.js} +386 -360
- package/dist/chunks/{layout-grid-DSrBSfPM.js → layout-grid-Ds0diMeY.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-i9PQY066.js → matrix-analytical-definition-CgQgVeeI.js} +35 -35
- package/dist/chunks/{matrix-member-presentation-B_2beBc0.js → matrix-member-presentation-DSBIIudt.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-DdK0J_KU.js → matrix-operation-contract--DkNCOzd.js} +517 -514
- package/dist/chunks/{metric-comparison-Bhz0V841.js → metric-comparison-zMylnIkc.js} +3 -3
- package/dist/chunks/{paintbrush-1UiU-uTz.js → paintbrush-CX8pao1j.js} +1 -1
- package/dist/chunks/{palette-DFIFf_-m.js → palette-CuA0HlzF.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-Dk7WFR_u.js → pivot-result-contract-expectations-C8KL7hPx.js} +14 -14
- package/dist/chunks/{pivot-result-identity-CzzrJpEm.js → pivot-result-identity-C1AOH1PS.js} +1 -1
- package/dist/chunks/{raw-temporal-value-BLvdaMng.js → raw-temporal-value-E416F-0L.js} +16 -16
- package/dist/chunks/{report-preferences-dialog-DiDsYpng.js → report-preferences-dialog-CbuVNDGi.js} +13 -13
- package/dist/chunks/{report-runtime-context-CEGluufW.js → report-runtime-context-E7USjN7E.js} +1 -1
- package/dist/chunks/{resolve-dashboard-input-context-BAv33KGg.js → resolve-dashboard-input-context-CULCE_hM.js} +8419 -7054
- package/dist/chunks/{save-CWQ02kHo.js → save-BKHlDONy.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-CvzYqADe.js → saved-dashboard-context-C1WlOx5z.js} +24 -24
- package/dist/chunks/{selection-filter-compiler-SwrBvyyJ.js → selection-filter-compiler-ifT8JCXS.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-1PRI9Yh2.js → semaphor-ready-indicator-CBIRcDWs.js} +33810 -32067
- package/dist/chunks/{shelf-drop-preview-context-BLk5Nc6K.js → shelf-drop-preview-context-xR69SMA8.js} +53 -53
- package/dist/chunks/{stored-dashboard-xhYYKBsO.js → stored-dashboard-BuM8vnWf.js} +679 -657
- package/dist/chunks/{style-sheet-parts-BX7d7-2-.js → style-sheet-parts-Bt9ZNre8.js} +2 -2
- package/dist/chunks/{table-export-sheet-BWSVTclx.js → table-export-sheet-DVljtHkG.js} +1 -1
- package/dist/chunks/{token-types-CnlEiAdS.js → token-types-D_xKgyVS.js} +1 -1
- package/dist/chunks/{upload-DsqUSS8l.js → upload-Dll_M7XQ.js} +1 -1
- package/dist/chunks/{validators-D2Hm57lJ.js → validators-ClWHpYql.js} +80 -80
- package/dist/chunks/{variable-draft-DcKj8T1b.js → variable-draft-CDGGl53R.js} +27 -28
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +3086 -2573
- package/dist/format-utils/index.js +238 -237
- package/dist/index.js +71 -73
- package/dist/report-runtime-context/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/briefings/attachment-outcomes.d.ts +1 -1
- package/dist/types/briefings/attachments.d.ts +45 -4
- package/dist/types/briefings/index.d.ts +1 -1
- package/dist/types/components/dashboard/dashboard-web-component.d.ts +7 -0
- package/dist/types/index.js +5 -5
- package/dist/types/lib/dashboard-inputs/dashboard-input-target-context.d.ts +1 -1
- package/dist/types/lib/export-utils.d.ts +72 -0
- package/dist/types/lib/formatters/dashboard-temporal-presentation.d.ts +10 -0
- package/dist/types/lib/query-context/assemble-card-query.d.ts +6 -1
- package/dist/types/lib/stores/dashboard-store.d.ts +30 -0
- package/dist/types/shared/analytics-protocol/aggregate-expression.d.ts +15 -0
- package/dist/types/shared/dashboard-authoring/calculations/calculated-column.d.ts +52 -0
- package/dist/types/shared/dashboard-authoring/calculations/definition.d.ts +129 -0
- package/dist/types/shared/dashboard-authoring/calculations/resolve-dashboard-field-copies.d.ts +46 -0
- package/dist/types/shared/dashboard-authoring/calculations/tokens.d.ts +36 -0
- package/dist/types/shared/dashboard-authoring/card-data-file.d.ts +31 -0
- package/dist/types/shared/dashboard-authoring/changes/calculation-change.d.ts +399 -0
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +144 -2
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +21 -2
- package/dist/types/shared/dashboard-authoring/changes/domain-change.d.ts +143 -266
- package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +46 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +10 -1
- package/dist/types/shared/dashboard-authoring/operations/calculated-field-operations.d.ts +133 -0
- package/dist/types/shared/dashboard-authoring/operations/card-operations.d.ts +71 -0
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +18 -5
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +21 -0
- package/dist/types/shared/usage-events/details.d.ts +2 -2
- package/dist/types/shared/usage-events/envelope.d.ts +2 -2
- package/package.json +1 -1
- package/dist/chunks/comparison-window-caption-DJDwP9XO.js +0 -1309
- package/dist/chunks/filter-line-Dkg3yuOX.js +0 -134
|
@@ -2,8 +2,8 @@ import { jsx as v, jsxs as re, Fragment as xt } from "react/jsx-runtime";
|
|
|
2
2
|
import * as l from "react";
|
|
3
3
|
import ke, { forwardRef as jn, createElement as In, useLayoutEffect as cs, useState as ro, useRef as vn, useMemo as us, useId as ds, useImperativeHandle as fs } from "react";
|
|
4
4
|
import { b as ps, c as ee, d as me, g as hs } from "./pickers-DkqmtnTL.js";
|
|
5
|
-
import "./validators-
|
|
6
|
-
import "./matrix-operation-contract
|
|
5
|
+
import "./validators-ClWHpYql.js";
|
|
6
|
+
import "./matrix-operation-contract--DkNCOzd.js";
|
|
7
7
|
import "./analytics-base-schemas-DevrgqQb.js";
|
|
8
8
|
import "../value-format-preferences/index.js";
|
|
9
9
|
import * as Gt from "react-dom";
|
|
@@ -2,7 +2,7 @@ var ft = Object.defineProperty;
|
|
|
2
2
|
var ht = (e, t, r) => t in e ? ft(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var ne = (e, t, r) => ht(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
4
|
import { z as S } from "zod";
|
|
5
|
-
import { e as ct } from "./
|
|
5
|
+
import { e as ct } from "./filter-line-BXT6y303.js";
|
|
6
6
|
var E = Uint8Array, I = Uint16Array, pe = Int32Array, xe = new E([
|
|
7
7
|
0,
|
|
8
8
|
0,
|
|
@@ -3554,51 +3554,51 @@ function ts(e) {
|
|
|
3554
3554
|
return { ok: t.length === 0, errors: t, warnings: n };
|
|
3555
3555
|
}
|
|
3556
3556
|
export {
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3557
|
+
ra as $,
|
|
3558
|
+
Zn as A,
|
|
3559
|
+
T as B,
|
|
3560
3560
|
ye as C,
|
|
3561
3561
|
ti as D,
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3562
|
+
$a as E,
|
|
3563
|
+
vi as F,
|
|
3564
|
+
Ft as G,
|
|
3565
|
+
Si as H,
|
|
3566
|
+
wi as I,
|
|
3567
|
+
Et as J,
|
|
3568
|
+
z as K,
|
|
3569
3569
|
Jn as L,
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3570
|
+
ze as M,
|
|
3571
|
+
xi as N,
|
|
3572
|
+
je as O,
|
|
3573
|
+
Qe as P,
|
|
3574
|
+
se as Q,
|
|
3575
|
+
Ti as R,
|
|
3576
|
+
Ua as S,
|
|
3577
|
+
Ci as T,
|
|
3578
|
+
Ha as U,
|
|
3579
|
+
$e as V,
|
|
3580
|
+
Zt as W,
|
|
3581
|
+
Jt as X,
|
|
3582
|
+
ie as Y,
|
|
3583
|
+
ta as Z,
|
|
3584
|
+
Pt as _,
|
|
3585
3585
|
xa as a,
|
|
3586
3586
|
Di as a$,
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3587
|
+
es as a0,
|
|
3588
|
+
ts as a1,
|
|
3589
|
+
Ae as a2,
|
|
3590
|
+
xe as a3,
|
|
3591
|
+
qn as a4,
|
|
3592
|
+
Bn as a5,
|
|
3593
|
+
Fe as a6,
|
|
3594
|
+
zn as a7,
|
|
3595
|
+
ga as a8,
|
|
3596
|
+
Gn as a9,
|
|
3597
|
+
Xa as aA,
|
|
3598
|
+
Ka as aB,
|
|
3599
|
+
Ct as aC,
|
|
3600
|
+
Za as aD,
|
|
3601
|
+
dn as aE,
|
|
3602
3602
|
ua as aF,
|
|
3603
3603
|
dt as aG,
|
|
3604
3604
|
pn as aH,
|
|
@@ -3621,32 +3621,32 @@ export {
|
|
|
3621
3621
|
ka as aY,
|
|
3622
3622
|
U as aZ,
|
|
3623
3623
|
ba as a_,
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3624
|
+
gt as aa,
|
|
3625
|
+
yt as ab,
|
|
3626
|
+
Ue as ac,
|
|
3627
|
+
bt as ad,
|
|
3628
|
+
ya as ae,
|
|
3629
|
+
_a as af,
|
|
3630
|
+
ii as ag,
|
|
3631
|
+
Ra as ah,
|
|
3632
|
+
ja as ai,
|
|
3633
|
+
Ca as aj,
|
|
3634
|
+
wt as ak,
|
|
3635
|
+
Re as al,
|
|
3636
|
+
Oa as am,
|
|
3637
|
+
Ya as an,
|
|
3638
|
+
La as ao,
|
|
3639
|
+
si as ap,
|
|
3640
|
+
Pa as aq,
|
|
3641
|
+
qa as ar,
|
|
3642
|
+
Ba as as,
|
|
3643
|
+
Wa as at,
|
|
3644
|
+
za as au,
|
|
3645
|
+
Ga as av,
|
|
3646
|
+
j as aw,
|
|
3647
|
+
Rt as ax,
|
|
3648
|
+
Ce as ay,
|
|
3649
|
+
jt as az,
|
|
3650
3650
|
ni as b,
|
|
3651
3651
|
ne as b0,
|
|
3652
3652
|
mn as b1,
|
|
@@ -3654,8 +3654,8 @@ export {
|
|
|
3654
3654
|
Ia as b3,
|
|
3655
3655
|
Ai as b4,
|
|
3656
3656
|
Va as b5,
|
|
3657
|
-
|
|
3658
|
-
|
|
3657
|
+
Mn as b6,
|
|
3658
|
+
De as b7,
|
|
3659
3659
|
He as b8,
|
|
3660
3660
|
va as b9,
|
|
3661
3661
|
en as ba,
|
|
@@ -3667,20 +3667,20 @@ export {
|
|
|
3667
3667
|
Na as h,
|
|
3668
3668
|
Da as i,
|
|
3669
3669
|
Be as j,
|
|
3670
|
-
|
|
3671
|
-
|
|
3670
|
+
F as k,
|
|
3671
|
+
Qa as l,
|
|
3672
3672
|
It as m,
|
|
3673
3673
|
Fa as n,
|
|
3674
|
-
|
|
3674
|
+
Pi as o,
|
|
3675
3675
|
Ja as p,
|
|
3676
|
-
|
|
3677
|
-
|
|
3676
|
+
ve as q,
|
|
3677
|
+
ot as r,
|
|
3678
3678
|
Ea as s,
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3679
|
+
$t as t,
|
|
3680
|
+
Aa as u,
|
|
3681
|
+
Te as v,
|
|
3682
|
+
gi as w,
|
|
3683
|
+
Dt as x,
|
|
3684
|
+
be as y,
|
|
3685
|
+
xt as z
|
|
3686
3686
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { c as v, g as M, a as
|
|
2
|
-
import { d as
|
|
3
|
-
import { g as
|
|
4
|
-
import { g as L, m as x } from "./matrix-analytical-definition-i9PQY066.js";
|
|
1
|
+
import { c as v, g as M, a as A, b as q, d as N, e as y, h as D, j as w } from "./resolve-dashboard-input-context-CULCE_hM.js";
|
|
2
|
+
import { d as E } from "./validators-ClWHpYql.js";
|
|
3
|
+
import { g as L, m as x } from "./matrix-analytical-definition-CgQgVeeI.js";
|
|
5
4
|
const O = [
|
|
6
5
|
{
|
|
7
6
|
value: "only",
|
|
@@ -20,15 +19,15 @@ const O = [
|
|
|
20
19
|
DISTINCT: { number: "Count distinct", date: "Count distinct", other: "Count distinct" }
|
|
21
20
|
};
|
|
22
21
|
function h(e) {
|
|
23
|
-
return
|
|
22
|
+
return E(e) === "aggregate";
|
|
24
23
|
}
|
|
25
|
-
function
|
|
24
|
+
function X(e) {
|
|
26
25
|
const t = e == null ? void 0 : e.dataType;
|
|
27
26
|
if (h(e))
|
|
28
27
|
return [
|
|
29
28
|
{ value: "calculation", label: "The calculation’s value", hint: "Shows the calculation over the rows the filters keep; it aggregates itself." }
|
|
30
29
|
];
|
|
31
|
-
const a = y(t), i = a === "number" ? "number" : a === "date" ? "date" : "other", o = [...
|
|
30
|
+
const a = y(t), i = a === "number" ? "number" : a === "date" ? "date" : "other", o = [...D(t)];
|
|
32
31
|
return i === "date" && o.push({ value: "MIN", label: "Min" }, { value: "MAX", label: "Max" }), [
|
|
33
32
|
...O,
|
|
34
33
|
...o.map(({ value: l }) => {
|
|
@@ -41,8 +40,8 @@ function H(e) {
|
|
|
41
40
|
})
|
|
42
41
|
];
|
|
43
42
|
}
|
|
44
|
-
function
|
|
45
|
-
return h(e) ? "calculation" : y(e.dataType) === "number" ?
|
|
43
|
+
function H(e) {
|
|
44
|
+
return h(e) ? "calculation" : y(e.dataType) === "number" ? w(y(e.dataType)) : "only";
|
|
46
45
|
}
|
|
47
46
|
function b(e) {
|
|
48
47
|
return e !== "only" && e !== "first" && e !== "list";
|
|
@@ -57,7 +56,7 @@ function G() {
|
|
|
57
56
|
function V() {
|
|
58
57
|
return `var_${G()}`;
|
|
59
58
|
}
|
|
60
|
-
function
|
|
59
|
+
function z() {
|
|
61
60
|
return { id: V(), name: "", mode: "data", sql: "", get: "only", sortDirection: "asc" };
|
|
62
61
|
}
|
|
63
62
|
const _ = {
|
|
@@ -112,7 +111,7 @@ function T(e) {
|
|
|
112
111
|
Object.entries(e).filter(([t]) => _[t] !== "shelf")
|
|
113
112
|
);
|
|
114
113
|
}
|
|
115
|
-
function
|
|
114
|
+
function K(e) {
|
|
116
115
|
var g, u, m, d, p;
|
|
117
116
|
const { query: t, get: a } = e, i = t.config ?? {}, o = (g = i.metricColumns) == null ? void 0 : g[0], l = (u = i.groupByColumns) == null ? void 0 : u[0], n = (m = i.sortByColumns) == null ? void 0 : m[0], r = n ? T(o && n.id === o.id ? o : n) : void 0, s = (d = t.sql) != null && d.trim() ? t.sql : "";
|
|
118
117
|
return {
|
|
@@ -150,8 +149,8 @@ function P(e, t) {
|
|
|
150
149
|
for (let r = 2; o.has(l); r += 1) l = `${i}_${r}`;
|
|
151
150
|
return l;
|
|
152
151
|
}
|
|
153
|
-
function
|
|
154
|
-
var g, u, m, d, p,
|
|
152
|
+
function Q(e, t) {
|
|
153
|
+
var g, u, m, d, p, f, F, I;
|
|
155
154
|
const a = P(t, e), i = {
|
|
156
155
|
id: e.id,
|
|
157
156
|
name: a,
|
|
@@ -169,7 +168,7 @@ function Y(e, t) {
|
|
|
169
168
|
},
|
|
170
169
|
get: e.get === "first" ? { kind: "first" } : { kind: "only" }
|
|
171
170
|
};
|
|
172
|
-
const o = ((m = e.dataSource) == null ? void 0 : m.connectionId) || ((
|
|
171
|
+
const o = ((m = e.dataSource) == null ? void 0 : m.connectionId) || ((f = (p = (d = e.dataSource) == null ? void 0 : d.selectedEntities) == null ? void 0 : p[0]) == null ? void 0 : f.connectionId), l = {
|
|
173
172
|
...o ? { connectionId: o } : {},
|
|
174
173
|
...e.dataSource ? { dataSource: e.dataSource } : {},
|
|
175
174
|
...(F = e.calculatedFields) != null && F.length ? { calculatedFields: e.calculatedFields } : {},
|
|
@@ -181,34 +180,34 @@ function Y(e, t) {
|
|
|
181
180
|
if (!r)
|
|
182
181
|
s = b(e.get) ? { kind: "aggregate" } : { kind: e.get };
|
|
183
182
|
else if (b(e.get)) {
|
|
184
|
-
const { comparison: S, ...c } =
|
|
183
|
+
const { comparison: S, ...c } = C(r, e.get);
|
|
185
184
|
n.metricColumns = [
|
|
186
185
|
((I = e.comparison) == null ? void 0 : I.mode) === "explicit" && e.comparison.spec.kind !== "target" && B(e) ? { ...c, comparison: e.comparison } : c
|
|
187
186
|
], s = { kind: "aggregate" };
|
|
188
187
|
} else if (h(r))
|
|
189
|
-
n.metricColumns = [
|
|
188
|
+
n.metricColumns = [C(r, "calculation")], s = { kind: "aggregate" };
|
|
190
189
|
else if (n.groupByColumns = [U(r)], e.get === "list" ? s = {
|
|
191
190
|
kind: "list",
|
|
192
191
|
...e.listLimit ? { limit: e.listLimit } : {},
|
|
193
192
|
...e.listSeparator !== void 0 && e.listSeparator !== ", " ? { separator: e.listSeparator } : {}
|
|
194
193
|
} : s = { kind: e.get }, e.get !== "only") {
|
|
195
194
|
const S = e.sortField ?? r;
|
|
196
|
-
if (
|
|
195
|
+
if (j(S, r)) {
|
|
197
196
|
const c = n.groupByColumns[0];
|
|
198
197
|
n.sortByColumns = [{ ...c, role: "sortby", direction: e.sortDirection }];
|
|
199
198
|
} else {
|
|
200
|
-
const c =
|
|
199
|
+
const c = C(S, e.sortDirection === "desc" ? "MAX" : "MIN");
|
|
201
200
|
n.metricColumns = [c], n.sortByColumns = [{ ...c, role: "sortby", direction: e.sortDirection }];
|
|
202
201
|
}
|
|
203
202
|
}
|
|
204
203
|
return { ...i, query: l, get: s };
|
|
205
204
|
}
|
|
206
|
-
function
|
|
205
|
+
function C(e, t) {
|
|
207
206
|
const a = A(e, "metrics", [], q("metrics", e));
|
|
208
207
|
return h(e) || t === "calculation" || !b(t) ? a : {
|
|
209
208
|
...a,
|
|
210
209
|
...x(a, t, "explicit"),
|
|
211
|
-
...L(a,
|
|
210
|
+
...L(a, N(e.name, t))
|
|
212
211
|
};
|
|
213
212
|
}
|
|
214
213
|
function U(e) {
|
|
@@ -217,10 +216,10 @@ function U(e) {
|
|
|
217
216
|
const { granularity: a, ...i } = t;
|
|
218
217
|
return i;
|
|
219
218
|
}
|
|
220
|
-
function
|
|
219
|
+
function j(e, t) {
|
|
221
220
|
return e.name === t.name && (e.qualifiedEntityName ?? e.entityName ?? "") === (t.qualifiedEntityName ?? t.entityName ?? "");
|
|
222
221
|
}
|
|
223
|
-
function
|
|
222
|
+
function Y(e) {
|
|
224
223
|
var t, a;
|
|
225
224
|
if (e.mode === "sql")
|
|
226
225
|
return e.connectionId ? e.sql.trim() ? void 0 : "Write the SQL that returns the value." : "Choose a connection.";
|
|
@@ -229,15 +228,15 @@ function J(e) {
|
|
|
229
228
|
}
|
|
230
229
|
export {
|
|
231
230
|
_ as S,
|
|
232
|
-
|
|
233
|
-
|
|
231
|
+
X as a,
|
|
232
|
+
K as b,
|
|
234
233
|
B as c,
|
|
235
|
-
|
|
236
|
-
|
|
234
|
+
H as d,
|
|
235
|
+
z as e,
|
|
237
236
|
P as f,
|
|
238
|
-
|
|
237
|
+
Y as g,
|
|
239
238
|
b as i,
|
|
240
239
|
V as n,
|
|
241
240
|
h as o,
|
|
242
|
-
|
|
241
|
+
Q as v
|
|
243
242
|
};
|
package/dist/dashboard/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as o } from "../chunks/dashboard-
|
|
2
|
-
import { C as s, E as C } from "../chunks/bookmark-state-
|
|
1
|
+
import { D as o } from "../chunks/dashboard-DG5EIYYB.js";
|
|
2
|
+
import { C as s, E as C } from "../chunks/bookmark-state-CBSTdW6q.js";
|
|
3
3
|
export {
|
|
4
4
|
s as CONTROL_CARD_DEFAULT_VALUE,
|
|
5
5
|
o as Dashboard,
|