react-semaphor 0.1.568 → 0.1.569
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/README.md +0 -7
- package/dist/analytics-protocol/index.js +434 -454
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +10 -12
- package/dist/briefings/index.js +4 -4
- package/dist/chunks/{_commonjsHelpers-DimLPMtv.js → _commonjsHelpers-Bid1ZNYj.js} +271 -222
- package/dist/chunks/{assistant-chat-BN5I8KuN.js → assistant-chat-Dzf2Mbph.js} +107 -109
- package/dist/chunks/{bookmark-impact-CJ-65omV.js → bookmark-impact-Czg6FGt5.js} +2 -2
- package/dist/chunks/{bookmark-state-Du3s13_V.js → bookmark-state-CflS88gq.js} +251 -250
- package/dist/chunks/{card-filter-builder-BBuB99GZ.js → card-filter-builder-BS982X7x.js} +986 -985
- package/dist/chunks/{code-editor-DJNOsgJH.js → code-editor-BsxHzm9u.js} +43 -45
- package/dist/chunks/{comparison-window-caption-CMLb3mut.js → comparison-window-caption-lLTgzOkM.js} +252 -253
- package/dist/chunks/{dashboard-YnWZC4dK.js → dashboard-BiYSbxZv.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-BF89TU2h.js → dashboard-briefing-launcher-Bdj7luOr.js} +158 -159
- package/dist/chunks/{dashboard-controls-atHc1EjP.js → dashboard-controls-TViDsnb8.js} +17 -19
- package/dist/chunks/dashboard-json-Dg9dQd9U.js +66 -0
- package/dist/chunks/{dates-CKO05ino.js → dates-BsPrWZIP.js} +8 -8
- package/dist/chunks/{edit-dashboard-visual-DdmTfn-J.js → edit-dashboard-visual-C6hoIeEJ.js} +20 -21
- package/dist/chunks/{filter-reach-copy-jZGzK_IH.js → filter-reach-copy-hcQ4os0u.js} +695 -699
- package/dist/chunks/filter-value-text-CVxEEDVl.js +146 -0
- package/dist/chunks/{index-CPNZW0mu.js → index-G4q89J6O.js} +74 -76
- package/dist/chunks/{layout-grid-0hIlqEtk.js → layout-grid-BIcoFfdS.js} +1 -1
- package/dist/chunks/{list-filter-DkgoCeBm.js → list-filter-C6tYkHyv.js} +1 -1
- package/dist/chunks/matrix-analytical-definition-dkS8szLM.js +1253 -0
- package/dist/chunks/matrix-member-presentation-DRa-9e6Q.js +169 -0
- package/dist/chunks/{matrix-operation-contract-Eb6elidS.js → matrix-operation-contract-DCVinw1o.js} +122 -122
- package/dist/chunks/{metric-comparison-ChXUFaZu.js → metric-comparison-n9NsIa-2.js} +175 -128
- package/dist/chunks/{palette-4vf2BEEg.js → palette-NjHOE_6B.js} +1 -1
- package/dist/chunks/pivot-result-contract-expectations-DkmueDTW.js +55 -0
- package/dist/chunks/{pivot-result-identity-BlbLrqaC.js → pivot-result-identity-B89X5xjb.js} +1 -1
- package/dist/chunks/raw-temporal-value-DdT0s47W.js +159 -0
- package/dist/chunks/{report-preferences-dialog-Mbd-I0wV.js → report-preferences-dialog-Xc8_GFju.js} +26 -28
- package/dist/chunks/{report-runtime-context-DnA_PiKo.js → report-runtime-context-BhPzLTbS.js} +1 -1
- package/dist/chunks/{resolve-dashboard-input-context-Du0fjN3h.js → resolve-dashboard-input-context-KqvcLcTM.js} +4784 -4764
- package/dist/chunks/{save-D6pHmSSP.js → save-C6VmEJTA.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-y8N6RvjS.js → saved-dashboard-context-BeXXyoD4.js} +6 -6
- package/dist/chunks/{semaphor-ready-indicator-BSEdUq40.js → semaphor-ready-indicator-BNkaANsG.js} +28395 -28384
- package/dist/chunks/{shelf-drop-preview-context-D7QqPl36.js → shelf-drop-preview-context-C_issPBA.js} +18 -20
- package/dist/chunks/{stored-dashboard-d3xQYxBD.js → stored-dashboard-B6_StAty.js} +263 -265
- package/dist/chunks/{table-export-sheet--DUKWk6o.js → table-export-sheet-BWP2joD1.js} +1 -1
- package/dist/chunks/{temporal-input-presentation--2r9BLr0.js → temporal-input-presentation-scSWQXAB.js} +4 -4
- package/dist/chunks/{token-types-C8JymO8s.js → token-types-iKMplaBL.js} +1 -1
- package/dist/chunks/{upload-Cf3wXZT8.js → upload-BRW4Mwrd.js} +1 -1
- package/dist/chunks/validators-B8fpdinG.js +3651 -0
- package/dist/chunks/{variable-draft-DOX03R4A.js → variable-draft-BQ3OMjvy.js} +4 -4
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +1527 -1517
- package/dist/format-utils/index.js +230 -231
- package/dist/index.js +236 -237
- 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/components/surfboard/filter/types.d.ts +5 -4
- package/dist/types/components/ui-custom/date-range-presets.d.ts +1 -17
- package/dist/types/index.js +9 -9
- package/dist/types/lib/hooks/use-date-filter.d.ts +3 -3
- package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +1 -1
- package/dist/types/lib/types/explorer-types.d.ts +2 -2
- package/dist/types/lib/types/index.d.ts +1 -1
- package/dist/types/lib/utils/card-definition.d.ts +7 -7
- package/dist/types/shared/analytics-protocol/agent-time-window.d.ts +84 -0
- package/dist/types/shared/analytics-protocol/applied-constraints.d.ts +2 -2
- package/dist/types/shared/analytics-protocol/contracts.d.ts +8 -17
- package/dist/types/shared/analytics-protocol/fixtures.d.ts +3 -2
- package/dist/types/shared/analytics-protocol/index.d.ts +2 -4
- package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +4 -4
- package/dist/types/shared/analytics-protocol/relative-date/describe.d.ts +18 -0
- package/dist/types/shared/analytics-protocol/relative-date/index.d.ts +7 -0
- package/dist/types/shared/analytics-protocol/relative-date/limits.d.ts +3 -0
- package/dist/types/shared/analytics-protocol/relative-date/presets.d.ts +11 -0
- package/dist/types/shared/analytics-protocol/relative-date/resolve.d.ts +49 -0
- package/dist/types/shared/analytics-protocol/relative-date/schemas.d.ts +76 -0
- package/dist/types/shared/analytics-protocol/relative-date/traits.d.ts +51 -0
- package/dist/types/shared/analytics-protocol/relative-date/window.d.ts +111 -0
- package/dist/types/shared/analytics-protocol/selection-contract.d.ts +1 -1
- package/dist/types/shared/assistant-protocol/context.d.ts +12 -12
- package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +0 -2
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +155 -1753
- package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +8 -4
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +74 -74
- package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +20 -20
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +3 -0
- package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +10 -2
- package/dist/types/shared/format-utils/filter-detail.d.ts +2 -8
- package/dist/types/shared/format-utils/filter-line.d.ts +2 -2
- package/dist/types/shared/format-utils/matrix-continuation.d.ts +3 -3
- package/dist/types/shared/temporal/index.d.ts +0 -2
- package/dist/types/shared/temporal/temporal-parity-fixtures.d.ts +2 -2
- package/package.json +2 -24
- package/DATA_APP_SDK.md +0 -339
- package/dist/chunks/dashboard-json-Cxp3inxd.js +0 -68
- package/dist/chunks/filter-value-text-7zhmth1S.js +0 -163
- package/dist/chunks/index-CuHybtft.js +0 -51
- package/dist/chunks/matrix-analytical-definition-C9xB_T84.js +0 -717
- package/dist/chunks/matrix-card-BSUeSXpD.js +0 -42
- package/dist/chunks/matrix-member-presentation-DZNgQpUq.js +0 -105
- package/dist/chunks/operators-B3zZoskU.js +0 -66
- package/dist/chunks/pivot-result-contract-expectations-Ddh1rNz5.js +0 -56
- package/dist/chunks/raw-temporal-value-Bqz8wc7L.js +0 -242
- package/dist/chunks/selection-reducer-OaJ-N5uN.js +0 -46
- package/dist/chunks/source-entity-resolution-DF6GulDn.js +0 -607
- package/dist/chunks/validators-wtjw0aw6.js +0 -3332
- package/dist/data-app-sdk/index.js +0 -1412
- package/dist/data-app-sdk-adapters/index.js +0 -361
- package/dist/data-app-sdk-validation/index.js +0 -1031
- package/dist/types/data-app-sdk/adapters.d.ts +0 -35
- package/dist/types/data-app-sdk/builders.d.ts +0 -62
- package/dist/types/data-app-sdk/contracts.d.ts +0 -419
- package/dist/types/data-app-sdk/executor.d.ts +0 -5
- package/dist/types/data-app-sdk/field-catalog-validation.d.ts +0 -29
- package/dist/types/data-app-sdk/hooks.d.ts +0 -11
- package/dist/types/data-app-sdk/index.d.ts +0 -9
- package/dist/types/data-app-sdk/provider.d.ts +0 -8
- package/dist/types/data-app-sdk/relationship-aware-field-policy.d.ts +0 -21
- package/dist/types/data-app-sdk/selection.d.ts +0 -2
- package/dist/types/data-app-sdk/validation.d.ts +0 -58
- package/dist/types/data-app-sdk-adapters.d.ts +0 -2
- package/dist/types/data-app-sdk-validation.d.ts +0 -2
- package/dist/types/data-app-sdk.d.ts +0 -2
- package/dist/types/shared/analytics-protocol/relative-date-filter.d.ts +0 -68
- package/dist/types/shared/analytics-protocol/relative-date-label.d.ts +0 -20
- package/dist/types/shared/analytics-protocol/time-window-schema.d.ts +0 -314
- package/dist/types/shared/analytics-protocol/time-window.d.ts +0 -52
- package/dist/types/shared/temporal/relative-date.d.ts +0 -21
- package/dist/types/shared/temporal/time-window-periods.d.ts +0 -21
- package/src/data-app-sdk/README.md +0 -402
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var y = Object.defineProperty;
|
|
2
2
|
var c = (i, t, e) => t in i ? y(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
3
|
var a = (i, t, e) => c(i, typeof t != "symbol" ? t + "" : t, e);
|
|
4
|
-
import { v as u } from "./metric-comparison-
|
|
4
|
+
import { v as u } from "./metric-comparison-n9NsIa-2.js";
|
|
5
5
|
class l extends Error {
|
|
6
6
|
constructor(e) {
|
|
7
7
|
super(`missing_pivot_member_identity: ${e}`);
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
var y = Object.defineProperty;
|
|
2
|
+
var h = (t, e, a) => e in t ? y(t, e, { enumerable: !0, configurable: !0, writable: !0, value: a }) : t[e] = a;
|
|
3
|
+
var l = (t, e, a) => h(t, typeof e != "symbol" ? e + "" : e, a);
|
|
4
|
+
import { R } from "./analytics-base-schemas-BaIQrEzX.js";
|
|
5
|
+
const f = /* @__PURE__ */ new Map();
|
|
6
|
+
function _(t, e) {
|
|
7
|
+
let a = f.get(e);
|
|
8
|
+
a || (a = new Intl.DateTimeFormat("en-CA", {
|
|
9
|
+
calendar: "gregory",
|
|
10
|
+
numberingSystem: "latn",
|
|
11
|
+
timeZone: e,
|
|
12
|
+
year: "numeric",
|
|
13
|
+
month: "2-digit",
|
|
14
|
+
day: "2-digit",
|
|
15
|
+
hour: "2-digit",
|
|
16
|
+
minute: "2-digit",
|
|
17
|
+
second: "2-digit",
|
|
18
|
+
hourCycle: "h23"
|
|
19
|
+
}), f.set(e, a));
|
|
20
|
+
const n = a.formatToParts(t), o = (r) => {
|
|
21
|
+
var s;
|
|
22
|
+
return Number((s = n.find((d) => d.type === r)) == null ? void 0 : s.value);
|
|
23
|
+
};
|
|
24
|
+
return {
|
|
25
|
+
year: o("year"),
|
|
26
|
+
month: o("month"),
|
|
27
|
+
day: o("day"),
|
|
28
|
+
hour: o("hour"),
|
|
29
|
+
minute: o("minute"),
|
|
30
|
+
second: o("second")
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function m(t) {
|
|
34
|
+
const e = /* @__PURE__ */ new Date(0);
|
|
35
|
+
return e.setUTCFullYear(t.year, t.month - 1, t.day), e.setUTCHours(t.hour, t.minute, t.second, t.millisecond ?? 0), e.getTime();
|
|
36
|
+
}
|
|
37
|
+
function u(t, e) {
|
|
38
|
+
const a = t - (t % 1e3 + 1e3) % 1e3;
|
|
39
|
+
return m(_(new Date(a), e)) - a;
|
|
40
|
+
}
|
|
41
|
+
const c = 864e5;
|
|
42
|
+
function k(t, e) {
|
|
43
|
+
const a = b(t, e);
|
|
44
|
+
if (a.length) return a[0];
|
|
45
|
+
const n = m(t);
|
|
46
|
+
return new Date(n - u(n - c, e));
|
|
47
|
+
}
|
|
48
|
+
function b(t, e) {
|
|
49
|
+
const a = m(t), n = u(a - c, e), o = u(a + c, e);
|
|
50
|
+
return [.../* @__PURE__ */ new Set([n, o])].map((r) => a - r).filter((r) => u(r, e) === a - r).sort((r, s) => r - s).map((r) => new Date(r));
|
|
51
|
+
}
|
|
52
|
+
class i extends Error {
|
|
53
|
+
constructor(a) {
|
|
54
|
+
super(a);
|
|
55
|
+
l(this, "code");
|
|
56
|
+
this.name = "RawTemporalMetadataContractError", this.code = R.invalidMetadata;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
function g(t) {
|
|
60
|
+
if (t === null || typeof t != "object" || Array.isArray(t))
|
|
61
|
+
return !1;
|
|
62
|
+
const e = Object.getPrototypeOf(t);
|
|
63
|
+
return e === null || e === Object.prototype;
|
|
64
|
+
}
|
|
65
|
+
function N(t) {
|
|
66
|
+
if (!g(t))
|
|
67
|
+
throw new i(
|
|
68
|
+
"Raw temporal metadata must be an object."
|
|
69
|
+
);
|
|
70
|
+
const e = Object.keys(t);
|
|
71
|
+
if (e.length !== 2 || !e.includes("kind") || !e.includes("valueKind"))
|
|
72
|
+
throw new i(
|
|
73
|
+
"Raw temporal metadata must contain only kind and valueKind."
|
|
74
|
+
);
|
|
75
|
+
if (t.kind !== "raw_temporal")
|
|
76
|
+
throw new i(
|
|
77
|
+
"Raw temporal metadata kind must be raw_temporal."
|
|
78
|
+
);
|
|
79
|
+
if (t.valueKind !== "date" && t.valueKind !== "wall_datetime" && t.valueKind !== "instant")
|
|
80
|
+
throw new i(
|
|
81
|
+
"Raw temporal valueKind must be date, wall_datetime, or instant."
|
|
82
|
+
);
|
|
83
|
+
return {
|
|
84
|
+
kind: "raw_temporal",
|
|
85
|
+
valueKind: t.valueKind
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
function K(t, e) {
|
|
89
|
+
if (!t.rawTemporal) {
|
|
90
|
+
if (e.metadataRequired)
|
|
91
|
+
throw new i(
|
|
92
|
+
"Activated raw temporal result is missing metadata."
|
|
93
|
+
);
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
if (t.temporalBucket)
|
|
97
|
+
throw new i(
|
|
98
|
+
"A result column cannot carry both raw and grouped temporal metadata."
|
|
99
|
+
);
|
|
100
|
+
const a = N(t.rawTemporal), n = a.valueKind === "date" ? "date" : "datetime";
|
|
101
|
+
if (t.dataType !== n)
|
|
102
|
+
throw new i(
|
|
103
|
+
`${a.valueKind} raw temporal values require dataType ${n}.`
|
|
104
|
+
);
|
|
105
|
+
return a;
|
|
106
|
+
}
|
|
107
|
+
const p = /^(\d{4})-(\d{2})-(\d{2})$/, w = /^(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{1,9}))?)?$/, T = /^(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2})(?::(\d{2})(?:\.(\d{1,9}))?)?(Z|[+-]\d{2}:\d{2})$/;
|
|
108
|
+
function O(t) {
|
|
109
|
+
if (p.test(t)) return "date";
|
|
110
|
+
if (T.test(t)) return "instant";
|
|
111
|
+
if (w.test(t)) return "wall_datetime";
|
|
112
|
+
}
|
|
113
|
+
function A(t) {
|
|
114
|
+
return t % 4 === 0 && (t % 100 !== 0 || t % 400 === 0);
|
|
115
|
+
}
|
|
116
|
+
function C(t, e) {
|
|
117
|
+
return e === 2 ? A(t) ? 29 : 28 : [4, 6, 9, 11].includes(e) ? 30 : 31;
|
|
118
|
+
}
|
|
119
|
+
function v(t) {
|
|
120
|
+
return t.year >= 1 && t.year <= 9999 && t.month >= 1 && t.month <= 12 && t.day >= 1 && t.day <= C(t.year, t.month) && t.hour >= 0 && t.hour <= 23 && t.minute >= 0 && t.minute <= 59 && t.second >= 0 && t.second <= 59;
|
|
121
|
+
}
|
|
122
|
+
function E(t) {
|
|
123
|
+
return {
|
|
124
|
+
year: Number(t[1]),
|
|
125
|
+
month: Number(t[2]),
|
|
126
|
+
day: Number(t[3]),
|
|
127
|
+
hour: Number(t[4] ?? 0),
|
|
128
|
+
minute: Number(t[5] ?? 0),
|
|
129
|
+
second: Number(t[6] ?? 0),
|
|
130
|
+
fraction: t[7] ?? ""
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
function I(t, e) {
|
|
134
|
+
const a = e === "date" ? t.match(p) : e === "wall_datetime" ? t.match(w) : t.match(T);
|
|
135
|
+
if (!a) return { status: "invalid_shape" };
|
|
136
|
+
const n = E(a);
|
|
137
|
+
if (!v(n)) return { status: "out_of_range" };
|
|
138
|
+
if (e === "instant") {
|
|
139
|
+
const o = a[8];
|
|
140
|
+
if (o && o !== "Z") {
|
|
141
|
+
const [s, d] = o.slice(1).split(":").map(Number);
|
|
142
|
+
if (s > 23 || d > 59) return { status: "out_of_range" };
|
|
143
|
+
}
|
|
144
|
+
const r = new Date(t.replace(" ", "T"));
|
|
145
|
+
return Number.isNaN(r.getTime()) ? { status: "out_of_range" } : { status: "valid", fields: n, instant: r };
|
|
146
|
+
}
|
|
147
|
+
return { status: "valid", fields: n };
|
|
148
|
+
}
|
|
149
|
+
export {
|
|
150
|
+
i as R,
|
|
151
|
+
I as a,
|
|
152
|
+
_ as b,
|
|
153
|
+
O as c,
|
|
154
|
+
k as d,
|
|
155
|
+
N as p,
|
|
156
|
+
K as v,
|
|
157
|
+
m as w,
|
|
158
|
+
b as z
|
|
159
|
+
};
|
package/dist/chunks/{report-preferences-dialog-Mbd-I0wV.js → report-preferences-dialog-Xc8_GFju.js}
RENAMED
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
import { jsx as o, Fragment as te, jsxs as h } from "react/jsx-runtime";
|
|
2
2
|
import * as p from "react";
|
|
3
3
|
import jt, { useMemo as ee, useState as L, useEffect as J, createContext as $t, useRef as j, useCallback as K, useContext as qe, lazy as Ee, Suspense as Se, useLayoutEffect as Ce, Activity as Vt, useId as de } from "react";
|
|
4
|
-
import { b as Wt, aU as He, b4 as Kt, b5 as qt, u as U, b6 as gt, x as Ht, b7 as Gt, b8 as Jt, b9 as Xt, ba as Yt, bb as ge, bc as yt, bd as tt, be as Zt, Z as ye, Y as Qt, bf as ea, bg as ta, _ as at, $ as aa, bh as ra, E as na, F as sa, S as la, B as oa, a as ia, U as da, bi as ca, D as ua, A as fa, C as ma, bj as ha, bk as pa, bl as va, bm as ba, bn as ga, bo as ya, bp as rt, bq as ke, br as wa, bs as Ge, bt as G, bu as Sa, bv as xa, bw as Ca, bx as Ia, by as Ea } from "./semaphor-ready-indicator-
|
|
5
|
-
import { j as Na } from "./
|
|
6
|
-
import { az as Ta } from "./bookmark-state-
|
|
4
|
+
import { b as Wt, aU as He, b4 as Kt, b5 as qt, u as U, b6 as gt, x as Ht, b7 as Gt, b8 as Jt, b9 as Xt, ba as Yt, bb as ge, bc as yt, bd as tt, be as Zt, Z as ye, Y as Qt, bf as ea, bg as ta, _ as at, $ as aa, bh as ra, E as na, F as sa, S as la, B as oa, a as ia, U as da, bi as ca, D as ua, A as fa, C as ma, bj as ha, bk as pa, bl as va, bm as ba, bn as ga, bo as ya, bp as rt, bq as ke, br as wa, bs as Ge, bt as G, bu as Sa, bv as xa, bw as Ca, bx as Ia, by as Ea } from "./semaphor-ready-indicator-BNkaANsG.js";
|
|
5
|
+
import { j as Na, c as B } from "./_commonjsHelpers-Bid1ZNYj.js";
|
|
6
|
+
import { az as Ta } from "./bookmark-state-CflS88gq.js";
|
|
7
7
|
import { r as ka, a as wt } from "./availability-Bp5Gfu1I.js";
|
|
8
|
-
import { s as Aa } from "./resolve-dashboard-input-context-
|
|
9
|
-
import { B as q, Q as Ra, U as Da, V as _a, W as Pa, Y as Oa, Z as La, _ as oe, D as Q, $ as he, n as pe, P as za, a as Fa, d as Ua, e as nt, L as St, t as ze, u as Fe, v as Ue, w as Me, x as Y, T as Ma, f as Ba, g as st, i as lt } from "./code-editor-
|
|
10
|
-
import "./validators-
|
|
11
|
-
import "./matrix-operation-contract-
|
|
8
|
+
import { s as Aa } from "./resolve-dashboard-input-context-KqvcLcTM.js";
|
|
9
|
+
import { B as q, Q as Ra, U as Da, V as _a, W as Pa, Y as Oa, Z as La, _ as oe, D as Q, $ as he, n as pe, P as za, a as Fa, d as Ua, e as nt, L as St, t as ze, u as Fe, v as Ue, w as Me, x as Y, T as Ma, f as Ba, g as st, i as lt } from "./code-editor-BsxHzm9u.js";
|
|
10
|
+
import "./validators-B8fpdinG.js";
|
|
11
|
+
import "./matrix-operation-contract-DCVinw1o.js";
|
|
12
12
|
import "./analytics-base-schemas-BaIQrEzX.js";
|
|
13
|
-
import "zod";
|
|
14
13
|
import { parseValueFormatPreferencesResponse as ja, canonicalizeSupportedLocale as xt, getSupportedCurrencyCodes as $a, canonicalizeSupportedCurrencyCode as Va } from "../value-format-preferences/index.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { ah as we, ao as ce } from "./temporal-input-presentation--2r9BLr0.js";
|
|
14
|
+
import { j as Wa } from "./filter-reach-copy-hcQ4os0u.js";
|
|
15
|
+
import { a as Ka } from "./report-runtime-context-BhPzLTbS.js";
|
|
16
|
+
import { ah as we, ao as ce } from "./temporal-input-presentation-scSWQXAB.js";
|
|
19
17
|
function qa() {
|
|
20
18
|
return /* @__PURE__ */ o(
|
|
21
19
|
"div",
|
|
@@ -116,7 +114,7 @@ const sr = {
|
|
|
116
114
|
setAnchorSlot: () => {
|
|
117
115
|
}
|
|
118
116
|
}, Je = $t(sr);
|
|
119
|
-
function
|
|
117
|
+
function En() {
|
|
120
118
|
const [e, a] = L("lg"), t = j(null);
|
|
121
119
|
return { measure: K((r) => {
|
|
122
120
|
var s;
|
|
@@ -130,10 +128,10 @@ function Tn() {
|
|
|
130
128
|
function lr() {
|
|
131
129
|
return qe(Je).width;
|
|
132
130
|
}
|
|
133
|
-
function
|
|
131
|
+
function Nn() {
|
|
134
132
|
return qe(Je).overflowItems;
|
|
135
133
|
}
|
|
136
|
-
function
|
|
134
|
+
function Tn(e, a, t) {
|
|
137
135
|
const n = qe(Je), r = n.hasOverflowMenu && !nr(a, n.width), { register: l, setOpenOverflowId: s } = n, i = t == null ? void 0 : t.label, m = t == null ? void 0 : t.hint, u = t == null ? void 0 : t.checked, y = (t == null ? void 0 : t.order) ?? 0, c = j(t == null ? void 0 : t.icon);
|
|
138
136
|
c.current = t == null ? void 0 : t.icon;
|
|
139
137
|
const v = j(t == null ? void 0 : t.onSelect);
|
|
@@ -163,8 +161,8 @@ function An(e, a, t) {
|
|
|
163
161
|
anchorSlot: n.anchorSlot
|
|
164
162
|
};
|
|
165
163
|
}
|
|
166
|
-
const or = Ee(() => import("./assistant-chat-
|
|
167
|
-
function
|
|
164
|
+
const or = Ee(() => import("./assistant-chat-Dzf2Mbph.js"));
|
|
165
|
+
function kn() {
|
|
168
166
|
const e = Ht(), a = lr();
|
|
169
167
|
if (!e.available) return null;
|
|
170
168
|
const t = a !== "lg";
|
|
@@ -605,10 +603,10 @@ function xe(e) {
|
|
|
605
603
|
function xr() {
|
|
606
604
|
return globalThis.crypto.randomUUID();
|
|
607
605
|
}
|
|
608
|
-
const Cr = Ee(() => import("./dashboard-controls-
|
|
609
|
-
() => import("./edit-dashboard-visual-
|
|
610
|
-
), Er = Ee(() => import("./dashboard-json-
|
|
611
|
-
function
|
|
606
|
+
const Cr = Ee(() => import("./dashboard-controls-TViDsnb8.js")), Ir = Ee(
|
|
607
|
+
() => import("./edit-dashboard-visual-C6hoIeEJ.js")
|
|
608
|
+
), Er = Ee(() => import("./dashboard-json-Dg9dQd9U.js"));
|
|
609
|
+
function An({
|
|
612
610
|
showControls: e = !1,
|
|
613
611
|
showFooter: a = !0,
|
|
614
612
|
liveScreen: t,
|
|
@@ -2046,7 +2044,7 @@ function dn({
|
|
|
2046
2044
|
] })
|
|
2047
2045
|
] });
|
|
2048
2046
|
}
|
|
2049
|
-
function
|
|
2047
|
+
function Rn({
|
|
2050
2048
|
open: e,
|
|
2051
2049
|
onOpenChange: a
|
|
2052
2050
|
}) {
|
|
@@ -2081,8 +2079,8 @@ function _n({
|
|
|
2081
2079
|
export {
|
|
2082
2080
|
Xa as A,
|
|
2083
2081
|
Pt as C,
|
|
2084
|
-
|
|
2085
|
-
|
|
2082
|
+
An as D,
|
|
2083
|
+
Rn as R,
|
|
2086
2084
|
ar as T,
|
|
2087
2085
|
sn as a,
|
|
2088
2086
|
Ot as b,
|
|
@@ -2091,15 +2089,15 @@ export {
|
|
|
2091
2089
|
$e as e,
|
|
2092
2090
|
Ve as f,
|
|
2093
2091
|
ur as g,
|
|
2094
|
-
|
|
2092
|
+
kn as h,
|
|
2095
2093
|
tr as i,
|
|
2096
2094
|
nr as j,
|
|
2097
|
-
|
|
2098
|
-
|
|
2095
|
+
Tn as k,
|
|
2096
|
+
Nn as l,
|
|
2099
2097
|
lr as m,
|
|
2100
2098
|
Je as n,
|
|
2101
2099
|
gr as o,
|
|
2102
2100
|
br as p,
|
|
2103
2101
|
rr as t,
|
|
2104
|
-
|
|
2102
|
+
En as u
|
|
2105
2103
|
};
|
package/dist/chunks/{report-runtime-context-DnA_PiKo.js → report-runtime-context-BhPzLTbS.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { parseValueFormatPreferences as _, isReportPreferenceSource as C } from "../value-format-preferences/index.js";
|
|
2
|
-
import {
|
|
2
|
+
import { p as g } from "./validators-B8fpdinG.js";
|
|
3
3
|
import { i as k } from "./analytics-base-schemas-BaIQrEzX.js";
|
|
4
4
|
const D = {
|
|
5
5
|
tz: "UTC",
|