react-semaphor 0.1.559 → 0.1.561
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 +389 -378
- package/dist/assistant-context/index.js +1 -1
- package/dist/assistant-protocol/index.js +5 -5
- package/dist/brand-studio/index.js +9 -9
- package/dist/briefings/index.js +5 -5
- package/dist/chunks/analytics-base-schemas-CB3oFAXk.js +658 -0
- package/dist/chunks/{assistant-chat-B_4bVE6I.js → assistant-chat-DiVHY3Hw.js} +209 -211
- package/dist/chunks/bookmark-impact-CR09dpkn.js +75 -0
- package/dist/chunks/bookmark-state-BusLpkb7.js +743 -0
- package/dist/chunks/{braces-Rdxa3H-s.js → braces-u8VorWJc.js} +1 -1
- package/dist/chunks/{comparison-window-caption-CKzQ5LcF.js → comparison-window-caption-DDsIWJYT.js} +201 -201
- package/dist/chunks/{context-DVy4HOU0.js → context-TUjw9eqr.js} +1 -1
- package/dist/chunks/{custom-visual-inputs-zVa9wX_o.js → custom-visual-inputs-DfolidZ9.js} +1 -1
- package/dist/chunks/{dashboard-BziwOVpZ.js → dashboard-BRdZBPqr.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-CbeNR-YI.js → dashboard-briefing-launcher-CgvTLndW.js} +1163 -1178
- package/dist/chunks/{dashboard-controls-RD6UJs1r.js → dashboard-controls-B4vfSzTF.js} +877 -941
- package/dist/chunks/{dashboard-json-DGpv17vL.js → dashboard-json-Y3MF59g7.js} +5 -5
- package/dist/chunks/document-dashboard-inputs-CvBbFTUA.js +1718 -0
- package/dist/chunks/{edit-dashboard-visual-AQ2pQkFp.js → edit-dashboard-visual-DwjZcxj-.js} +9080 -9354
- package/dist/chunks/filter-reach-copy-bijwf_-b.js +3596 -0
- package/dist/chunks/{filter-value-text-B4l-xqJT.js → filter-value-text-DFnhwuEW.js} +3 -3
- package/dist/chunks/global-date-filter-utils-BXgCpvQM.js +15142 -0
- package/dist/chunks/{index-B1Xr7W24.js → index-ClwbY3BL.js} +648 -674
- package/dist/chunks/{layout-grid-Bbz3zKif.js → layout-grid-CtvCBfOm.js} +1 -1
- package/dist/chunks/{list-filter-3sbH0Uy1.js → list-filter-BklYgciR.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-CEe3PGEo.js → matrix-analytical-definition-pU51-JmY.js} +4 -4
- package/dist/chunks/{matrix-card-BRNGb1C4.js → matrix-card-CUorIB7Q.js} +3 -3
- package/dist/chunks/{matrix-member-presentation-CEegvTqg.js → matrix-member-presentation-Df5UgCGN.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-COxrfQTS.js → matrix-operation-contract-BSiGEXVC.js} +221 -214
- package/dist/chunks/{metric-comparison-DQx-uX__.js → metric-comparison-95aC0uEO.js} +6 -6
- package/dist/chunks/{model-change-CJEj3ZD6.js → model-change-B5wQhg5G.js} +1 -1
- package/dist/chunks/{palette-DMJtp3Vn.js → palette-DTnMhipt.js} +1 -1
- package/dist/chunks/pivot-result-contract-expectations-Bo-86vwS.js +56 -0
- package/dist/chunks/{pivot-result-identity-CAj8SiRL.js → pivot-result-identity-olvXJoB9.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-0sc8B1lh.js → report-preferences-dialog-C2YUIwKG.js} +55 -55
- package/dist/chunks/{report-runtime-context-bYoExeWr.js → report-runtime-context-DoIUr3MP.js} +2 -2
- package/dist/chunks/resolve-dashboard-input-context-q_iiNXE1.js +6503 -0
- package/dist/chunks/{save-DSb1jTtG.js → save-DH4RyrnG.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-BQWM3ldX.js → saved-dashboard-context-8jqfI7hI.js} +59 -59
- package/dist/chunks/{selection-reducer-DSzMWb4x.js → selection-reducer-CV7K4FI6.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-Bz14Oma5.js → semaphor-ready-indicator-E2XWyibu.js} +40105 -41658
- package/dist/chunks/{shelf-drop-preview-context-DBHAkgch.js → shelf-drop-preview-context-C29EUzDp.js} +570 -570
- package/dist/chunks/{source-entity-resolution-BOrmNCEM.js → source-entity-resolution-BXI3nQ5Z.js} +1 -1
- package/dist/chunks/{switch-Dq8XPFpT.js → switch-balDSHc7.js} +3 -3
- package/dist/chunks/{table-export-sheet-C_RvEUyO.js → table-export-sheet-CK8tvh4d.js} +1 -1
- package/dist/chunks/temporal-input-presentation-B77JsAzU.js +5002 -0
- package/dist/chunks/{token-types-LCYMJ3pa.js → token-types-DhYH5YKb.js} +1 -1
- package/dist/chunks/{upload-Dr_WAxHQ.js → upload-Ufj8vjyn.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-BK3YFkfc.js → use-create-flow-overlay-state-9WsnzEO5.js} +6 -6
- package/dist/chunks/{validators-C87JPd-_.js → validators-BtaCFIEB.js} +1206 -1579
- package/dist/chunks/{zoned-wall-clock-E35Frf9v.js → zoned-wall-clock-CGLVI40Q.js} +1 -1
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +2713 -1459
- package/dist/data-app-sdk/index.js +20 -20
- package/dist/data-app-sdk-adapters/index.js +3 -3
- package/dist/data-app-sdk-validation/index.js +10 -10
- package/dist/format-utils/index.js +262 -256
- package/dist/index.js +214 -215
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/components/dashboard/summary-number-formatter.d.ts +6 -0
- package/dist/types/components/editor/editor-aside/utils.d.ts +1 -1
- package/dist/types/components/visual/data-table/types/data-table.d.ts +5 -20
- package/dist/types/index.js +50 -51
- package/dist/types/lib/formatters/canonical-format-adapter.d.ts +2 -29
- package/dist/types/lib/formatters/kpi-number-formatter.d.ts +41 -0
- package/dist/types/lib/formatters/raw-temporal-presentation.d.ts +0 -2
- package/dist/types/lib/formatters/table-column-settings.d.ts +47 -0
- package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +10 -188
- package/dist/types/lib/matrix-table/matrix-delivery-policy.d.ts +1 -1
- package/dist/types/lib/matrix-table/matrix-delivery.d.ts +16 -372
- package/dist/types/lib/stores/dashboard-store.d.ts +0 -1
- package/dist/types/lib/stores/editor-store.d.ts +48 -10
- package/dist/types/lib/stores/table-actions.d.ts +9 -5
- package/dist/types/lib/table-formatting/index.d.ts +0 -2
- package/dist/types/lib/table-formatting/table-conditional-formatting-range-source.d.ts +3 -2
- package/dist/types/lib/table-formatting/table-conditional-formatting-range.d.ts +3 -2
- package/dist/types/lib/table-formatting/table-formatting-normalize.d.ts +1 -2
- package/dist/types/lib/table-formatting/table-formatting-render-model.d.ts +9 -0
- package/dist/types/lib/table-formatting/table-formatting-types.d.ts +5 -95
- package/dist/types/lib/table-formatting/table-presentation-fields.d.ts +35 -0
- package/dist/types/lib/types/common-types.d.ts +40 -47
- package/dist/types/lib/types/explorer-types.d.ts +11 -43
- package/dist/types/lib/utils/card-config-utils.d.ts +8 -0
- package/dist/types/lib/utils/card-definition.d.ts +9 -187
- package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +169 -513
- package/dist/types/shared/analytics-protocol/contracts.d.ts +32 -9
- package/dist/types/shared/analytics-protocol/execution-input-schemas.d.ts +108 -980
- package/dist/types/shared/analytics-protocol/field-validation.d.ts +1 -0
- package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +281 -4624
- package/dist/types/shared/analytics-protocol/matrix-operation-contract.d.ts +20 -20
- package/dist/types/shared/analytics-protocol/matrix-operation-request.d.ts +18 -18
- package/dist/types/shared/analytics-protocol/matrix-path-contract.d.ts +40 -40
- package/dist/types/shared/analytics-protocol/matrix-window-contract.d.ts +3 -203
- package/dist/types/shared/analytics-protocol/measure-aggregation-profile.d.ts +12 -0
- package/dist/types/shared/analytics-protocol/scalar-value.d.ts +8 -8
- package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +8 -0
- package/dist/types/shared/assistant-protocol/context.d.ts +69 -69
- package/dist/types/shared/dashboard-authoring/canonical-result-keys.d.ts +13 -0
- package/dist/types/shared/dashboard-authoring/card-export-request.d.ts +4 -1
- package/dist/types/shared/dashboard-authoring/card-formats/sql-date-pattern.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/card-formats/upgrade-card-formats.d.ts +57 -0
- package/dist/types/shared/dashboard-authoring/card-settings/apply-card-settings.d.ts +11 -0
- package/dist/types/shared/dashboard-authoring/card-settings/card-display-write.d.ts +52 -0
- package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/card-settings/carry-column-settings.d.ts +3 -0
- package/dist/types/shared/dashboard-authoring/card-settings/column-format-write.d.ts +8 -0
- package/dist/types/shared/dashboard-authoring/card-settings/column-names.d.ts +51 -0
- package/dist/types/shared/dashboard-authoring/card-settings/column-sources.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/card-settings/confirm-class.d.ts +9 -0
- package/dist/types/shared/dashboard-authoring/card-settings/highlight-inputs.d.ts +19 -0
- package/dist/types/shared/dashboard-authoring/card-settings/index.d.ts +15 -0
- package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +102 -0
- package/dist/types/shared/dashboard-authoring/card-settings/read-card-settings.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-highlights.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolve-card-settings.d.ts +59 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +40 -0
- package/dist/types/shared/dashboard-authoring/card-settings/views.d.ts +28 -0
- package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +6 -0
- package/dist/types/shared/dashboard-authoring/changes/card-types.d.ts +32 -0
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +555 -38
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +27 -8
- package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +25 -1
- package/dist/types/shared/dashboard-authoring/conditional-formatting/editable.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/evaluate.d.ts +16 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/index.d.ts +9 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/kpi.d.ts +7 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/resolve-card-column-ref.d.ts +17 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/retain.d.ts +14 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +4499 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/store.d.ts +12 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/types.d.ts +151 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/upgrade.d.ts +35 -0
- package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +62 -62
- package/dist/types/shared/dashboard-authoring/index.d.ts +8 -0
- package/dist/types/shared/dashboard-authoring/kpi-figure.d.ts +123 -0
- package/dist/types/shared/dashboard-authoring/matrix-authoring.d.ts +4 -5
- package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +24 -736
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +21 -1
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +10 -4
- package/dist/types/shared/dashboard-authoring/retired-presentation-fields.d.ts +31 -0
- package/dist/types/shared/dashboard-authoring/upgrade-card-presentation.d.ts +14 -0
- package/dist/types/shared/dashboard-viewer/bookmark-impact.d.ts +33 -0
- package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +13 -2
- package/dist/types/shared/format-utils/formatters/number-formatter.d.ts +16 -0
- package/dist/types/shared/format-utils/index.d.ts +2 -0
- package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +10 -366
- package/dist/types/shared/format-utils/raw-temporal.d.ts +31 -1
- package/dist/types/shared/format-utils/resolve-column-format.d.ts +43 -0
- package/dist/types/shared/format-utils/retired-format-adapters.d.ts +68 -0
- package/dist/types/shared/format-utils/semantic-format.d.ts +5 -1
- package/dist/types/shared/format-utils/stored-value-format.d.ts +16 -0
- package/dist/types/shared/format-utils/types/format-types.d.ts +10 -12
- package/package.json +2 -2
- package/dist/chunks/analytics-base-schemas-BUFUoO6G.js +0 -472
- package/dist/chunks/bookmark-state-ssqrs5oP.js +0 -111
- package/dist/chunks/document-dashboard-inputs-ChVkcBuu.js +0 -3010
- package/dist/chunks/editor-draft-sync-BN5qYHPF.js +0 -15
- package/dist/chunks/filter-reach-copy-B5Y7FHzg.js +0 -3411
- package/dist/chunks/global-date-filter-utils-DBzEOX9M.js +0 -12222
- package/dist/chunks/pivot-result-contract-expectations-DOYhqeZb.js +0 -1926
- package/dist/chunks/raw-temporal-presentation-BmT7z6NH.js +0 -584
- package/dist/chunks/resolve-dashboard-input-context-B_C_VAJH.js +0 -5520
- package/dist/chunks/table-settings-DXj_zXwS.js +0 -637
- package/dist/chunks/temporal-input-presentation-AhLSkGPf.js +0 -2939
- package/dist/types/lib/table-formatting/table-conditional-formatting-evaluator.d.ts +0 -9
- package/dist/types/lib/table-formatting/table-formatting-validation.d.ts +0 -12
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as m,
|
|
2
|
-
import { r as k } from "./validators-
|
|
1
|
+
import { T as m, a as g, b as C } from "./analytics-base-schemas-CB3oFAXk.js";
|
|
2
|
+
import { r as k } from "./validators-BtaCFIEB.js";
|
|
3
3
|
function w(e) {
|
|
4
4
|
const r = C.safeParse(e);
|
|
5
5
|
return r.success ? { ok: !0, value: r.data } : {
|
|
@@ -482,10 +482,10 @@ function B(e) {
|
|
|
482
482
|
export {
|
|
483
483
|
A as C,
|
|
484
484
|
h as D,
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
485
|
+
N as a,
|
|
486
|
+
_ as b,
|
|
487
|
+
E as c,
|
|
488
|
+
T as d,
|
|
489
489
|
O as e,
|
|
490
490
|
L as f,
|
|
491
491
|
P as g,
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
var c = Object.defineProperty;
|
|
2
|
+
var d = (r, e, t) => e in r ? c(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
|
+
var l = (r, e, t) => d(r, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
+
import { ac as u } from "./temporal-input-presentation-B77JsAzU.js";
|
|
5
|
+
import "./validators-BtaCFIEB.js";
|
|
6
|
+
import "./matrix-operation-contract-BSiGEXVC.js";
|
|
7
|
+
import { r as v } from "./metric-comparison-95aC0uEO.js";
|
|
8
|
+
import "./analytics-base-schemas-CB3oFAXk.js";
|
|
9
|
+
import "zod";
|
|
10
|
+
class m extends Error {
|
|
11
|
+
constructor(t, a) {
|
|
12
|
+
super(`${t}: ${a}`);
|
|
13
|
+
l(this, "deliveryBlocking", !0);
|
|
14
|
+
this.code = t, this.name = "PivotHeaderPresentationError";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
function k(r) {
|
|
18
|
+
var i;
|
|
19
|
+
const e = r.mode ?? "formatted", t = r.members.map((o) => {
|
|
20
|
+
var n;
|
|
21
|
+
if (e === "canonical" || !o.temporalBucket)
|
|
22
|
+
return o.value === null ? "" : String(o.value);
|
|
23
|
+
const s = (n = r.resolveTemporalFormat) == null ? void 0 : n.call(r, o.fieldId);
|
|
24
|
+
if (!s)
|
|
25
|
+
throw new m(
|
|
26
|
+
"missing_resolved_temporal_format",
|
|
27
|
+
`Missing resolved temporal presentation for pivot field "${o.fieldId}"`
|
|
28
|
+
);
|
|
29
|
+
return u({
|
|
30
|
+
value: o.value,
|
|
31
|
+
metadata: o.temporalBucket,
|
|
32
|
+
format: s
|
|
33
|
+
});
|
|
34
|
+
}), a = ((i = r.metricLabel) == null ? void 0 : i.trim()) || void 0;
|
|
35
|
+
return {
|
|
36
|
+
memberLabels: t,
|
|
37
|
+
...a ? { metricLabel: a } : {},
|
|
38
|
+
flattenedLabel: [
|
|
39
|
+
...t,
|
|
40
|
+
...a ? [a] : []
|
|
41
|
+
].join(" / ")
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function B(r) {
|
|
45
|
+
const e = /* @__PURE__ */ new Map();
|
|
46
|
+
return r.forEach((t) => {
|
|
47
|
+
t.id && e.set(t.id, (e.get(t.id) ?? 0) + 1);
|
|
48
|
+
}), r.flatMap(
|
|
49
|
+
(t) => t.id && (e.get(t.id) ?? 0) > 1 ? [v(t)] : []
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export {
|
|
53
|
+
m as P,
|
|
54
|
+
B as d,
|
|
55
|
+
k as p
|
|
56
|
+
};
|
|
@@ -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-95aC0uEO.js";
|
|
5
5
|
class l extends Error {
|
|
6
6
|
constructor(e) {
|
|
7
7
|
super(`missing_pivot_member_identity: ${e}`);
|
package/dist/chunks/{report-preferences-dialog-0sc8B1lh.js → report-preferences-dialog-C2YUIwKG.js}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as o, Fragment as te, jsxs as h } from "react/jsx-runtime";
|
|
2
2
|
import * as p from "react";
|
|
3
|
-
import
|
|
4
|
-
import { b as Wt,
|
|
3
|
+
import $t, { useMemo as ee, useState as L, useEffect as J, createContext as jt, useRef as $, 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, b8 as He, bk as Kt, bl as qt, u as M, bm as gt, x as Ht, bn as Gt, bo as Jt, bp as Xt, bq as Yt, br as ge, bs as yt, bt as tt, bu as Zt, Z as ye, Y as Qt, bv as ea, bw as ta, _ as at, $ as aa, bx as ra, E as na, F as sa, S as la, B as oa, a as ia, U as da, by as ca, D as ua, A as fa, C as ma, bz as ha, bA as pa, bB as va, bC as ba, bD as ga, bE as ya, bF as rt, bG as ke, bH as wa, bI as Ge, bJ as G, bK as Sa, bL as xa, bM as Ca, bN as Ia, bO as Ea } from "./semaphor-ready-indicator-E2XWyibu.js";
|
|
5
5
|
import { j as Na } from "./index-CuHybtft.js";
|
|
6
|
-
import {
|
|
6
|
+
import { N as Ta } from "./bookmark-state-BusLpkb7.js";
|
|
7
7
|
import { r as ka, a as wt } from "./availability-Bp5Gfu1I.js";
|
|
8
|
-
import { s as Aa } from "./global-date-filter-utils-
|
|
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, m as pe, P as za, a as Fa, b as Ma, d as nt, L as St, s as ze, t as Fe, u as Me, v as Ue, w as Y, T as Ua, e as Ba, f as st, h as lt } from "./switch-
|
|
10
|
-
import "./validators-
|
|
11
|
-
import "./matrix-operation-contract-
|
|
12
|
-
import "./analytics-base-schemas-
|
|
8
|
+
import { s as Aa } from "./global-date-filter-utils-BXgCpvQM.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, m as pe, P as za, a as Fa, b as Ma, d as nt, L as St, s as ze, t as Fe, u as Me, v as Ue, w as Y, T as Ua, e as Ba, f as st, h as lt } from "./switch-balDSHc7.js";
|
|
10
|
+
import "./validators-BtaCFIEB.js";
|
|
11
|
+
import "./matrix-operation-contract-BSiGEXVC.js";
|
|
12
|
+
import "./analytics-base-schemas-CB3oFAXk.js";
|
|
13
13
|
import "zod";
|
|
14
|
-
import { parseValueFormatPreferencesResponse as
|
|
14
|
+
import { parseValueFormatPreferencesResponse as $a, canonicalizeSupportedLocale as xt, getSupportedCurrencyCodes as ja, canonicalizeSupportedCurrencyCode as Va } from "../value-format-preferences/index.js";
|
|
15
15
|
import { c as B } from "./_commonjsHelpers-DimLPMtv.js";
|
|
16
|
-
import { a as Wa } from "./filter-reach-copy-
|
|
17
|
-
import { a as Ka } from "./report-runtime-context-
|
|
18
|
-
import {
|
|
16
|
+
import { a as Wa } from "./filter-reach-copy-bijwf_-b.js";
|
|
17
|
+
import { a as Ka } from "./report-runtime-context-DoIUr3MP.js";
|
|
18
|
+
import { ag as we, ao as ce } from "./temporal-input-presentation-B77JsAzU.js";
|
|
19
19
|
function qa() {
|
|
20
20
|
return /* @__PURE__ */ o(
|
|
21
21
|
"div",
|
|
@@ -115,9 +115,9 @@ const sr = {
|
|
|
115
115
|
anchorSlot: null,
|
|
116
116
|
setAnchorSlot: () => {
|
|
117
117
|
}
|
|
118
|
-
}, Je =
|
|
118
|
+
}, Je = jt(sr);
|
|
119
119
|
function kn() {
|
|
120
|
-
const [e, a] = L("lg"), t =
|
|
120
|
+
const [e, a] = L("lg"), t = $(null);
|
|
121
121
|
return { measure: K((r) => {
|
|
122
122
|
var s;
|
|
123
123
|
if ((s = t.current) == null || s.disconnect(), t.current = null, !r || typeof ResizeObserver > "u") return;
|
|
@@ -134,11 +134,11 @@ function An() {
|
|
|
134
134
|
return qe(Je).overflowItems;
|
|
135
135
|
}
|
|
136
136
|
function Rn(e, a, t) {
|
|
137
|
-
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 =
|
|
137
|
+
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 = $(t == null ? void 0 : t.icon);
|
|
138
138
|
c.current = t == null ? void 0 : t.icon;
|
|
139
|
-
const v =
|
|
139
|
+
const v = $(t == null ? void 0 : t.onSelect);
|
|
140
140
|
v.current = t == null ? void 0 : t.onSelect;
|
|
141
|
-
const f =
|
|
141
|
+
const f = $(t == null ? void 0 : t.onOpen);
|
|
142
142
|
return f.current = t == null ? void 0 : t.onOpen, J(() => {
|
|
143
143
|
if (!(!r || i === void 0))
|
|
144
144
|
return l({
|
|
@@ -163,7 +163,7 @@ function Rn(e, a, t) {
|
|
|
163
163
|
anchorSlot: n.anchorSlot
|
|
164
164
|
};
|
|
165
165
|
}
|
|
166
|
-
const or = Ee(() => import("./assistant-chat-
|
|
166
|
+
const or = Ee(() => import("./assistant-chat-DiVHY3Hw.js"));
|
|
167
167
|
function Dn() {
|
|
168
168
|
const e = Ht(), a = lr();
|
|
169
169
|
if (!e.available) return null;
|
|
@@ -256,7 +256,7 @@ function fr(e, a, t) {
|
|
|
256
256
|
}
|
|
257
257
|
function mr(e, a) {
|
|
258
258
|
var w;
|
|
259
|
-
const [t, n] = L(void 0), [r, l] = L(void 0), s =
|
|
259
|
+
const [t, n] = L(void 0), [r, l] = L(void 0), s = $(a);
|
|
260
260
|
Ce(() => {
|
|
261
261
|
s.current = a;
|
|
262
262
|
});
|
|
@@ -316,7 +316,7 @@ function pr({
|
|
|
316
316
|
size: a,
|
|
317
317
|
side: t
|
|
318
318
|
}) {
|
|
319
|
-
const n =
|
|
319
|
+
const n = $(void 0), r = t === "left" ? -1 : 1, l = (s) => {
|
|
320
320
|
const i = n.current;
|
|
321
321
|
return {
|
|
322
322
|
width: i.start.width + r * (s.clientX - i.x),
|
|
@@ -362,7 +362,7 @@ function pr({
|
|
|
362
362
|
}
|
|
363
363
|
const le = 16, Ct = 0.6;
|
|
364
364
|
function vr({ instance: e, side: a, width: t }) {
|
|
365
|
-
const n =
|
|
365
|
+
const n = $(void 0), r = (c) => {
|
|
366
366
|
var f, w;
|
|
367
367
|
const v = (w = (f = c.closest("aside")) == null ? void 0 : f.parentElement) == null ? void 0 : w.clientWidth;
|
|
368
368
|
return v ? v * Ct : ge.max;
|
|
@@ -440,7 +440,7 @@ function gr(e, a) {
|
|
|
440
440
|
return (a.sheets ?? []).flatMap((n) => (n.frames ?? []).filter((r) => !t.has(r)));
|
|
441
441
|
}
|
|
442
442
|
function yr(e) {
|
|
443
|
-
const { canEditDashboard: a, isInspectionMode: t } = ea(), n = ta(), r = M(at), l = e && n && a === !0 && !t, s =
|
|
443
|
+
const { canEditDashboard: a, isInspectionMode: t } = ea(), n = ta(), r = M(at), l = e && n && a === !0 && !t, s = $(l);
|
|
444
444
|
Ce(() => {
|
|
445
445
|
s.current = l;
|
|
446
446
|
});
|
|
@@ -468,7 +468,7 @@ function wr({
|
|
|
468
468
|
const { canChange: t, canChangeNow: n } = yr(!0), r = M((f) => {
|
|
469
469
|
var w;
|
|
470
470
|
return (w = f.dashboard) == null ? void 0 : w.id;
|
|
471
|
-
}), l = br(n), [s, i] = L(null), m =
|
|
471
|
+
}), l = br(n), [s, i] = L(null), m = $(/* @__PURE__ */ new Map()), u = $(/* @__PURE__ */ new Map()), y = $(Promise.resolve()), c = $({ apply: l, onLifecycleEvent: a });
|
|
472
472
|
Ce(() => {
|
|
473
473
|
c.current = { apply: l, onLifecycleEvent: a };
|
|
474
474
|
}), J(() => {
|
|
@@ -609,9 +609,9 @@ function xe(e) {
|
|
|
609
609
|
function Cr() {
|
|
610
610
|
return globalThis.crypto.randomUUID();
|
|
611
611
|
}
|
|
612
|
-
const Ir = Ee(() => import("./dashboard-controls-
|
|
613
|
-
() => import("./edit-dashboard-visual-
|
|
614
|
-
), Nr = Ee(() => import("./dashboard-json-
|
|
612
|
+
const Ir = Ee(() => import("./dashboard-controls-B4vfSzTF.js")), Er = Ee(
|
|
613
|
+
() => import("./edit-dashboard-visual-DwjZcxj-.js")
|
|
614
|
+
), Nr = Ee(() => import("./dashboard-json-Y3MF59g7.js"));
|
|
615
615
|
function _n({
|
|
616
616
|
showControls: e = !1,
|
|
617
617
|
showFooter: a = !0,
|
|
@@ -670,7 +670,7 @@ function ut(e) {
|
|
|
670
670
|
function Lr(e, a, t) {
|
|
671
671
|
return e = t && t.length > 0 ? `${e + " " + t.join(" ")}` : e, Be(e, a, ut(e), ut(a), 0, 0, {});
|
|
672
672
|
}
|
|
673
|
-
var fe = '[cmdk-group=""]', De = '[cmdk-group-items=""]', zr = '[cmdk-group-heading=""]', Nt = '[cmdk-item=""]', ft = `${Nt}:not([aria-disabled="true"])`,
|
|
673
|
+
var fe = '[cmdk-group=""]', De = '[cmdk-group-items=""]', zr = '[cmdk-group-heading=""]', Nt = '[cmdk-item=""]', ft = `${Nt}:not([aria-disabled="true"])`, $e = "cmdk-item-select", ne = "data-value", Fr = (e, a, t) => Lr(e, a, t), Tt = p.createContext(void 0), ve = () => p.useContext(Tt), kt = p.createContext(void 0), Xe = () => p.useContext(kt), At = p.createContext(void 0), Rt = p.forwardRef((e, a) => {
|
|
674
674
|
let t = se(() => {
|
|
675
675
|
var d, T;
|
|
676
676
|
return { search: "", value: (T = (d = e.value) != null ? d : e.defaultValue) != null ? T : "", selectedItemId: void 0, filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() } };
|
|
@@ -839,7 +839,7 @@ var fe = '[cmdk-group=""]', De = '[cmdk-group-items=""]', zr = '[cmdk-group-head
|
|
|
839
839
|
d.preventDefault();
|
|
840
840
|
let x = X();
|
|
841
841
|
if (x) {
|
|
842
|
-
let D = new Event(
|
|
842
|
+
let D = new Event($e);
|
|
843
843
|
x.dispatchEvent(D);
|
|
844
844
|
}
|
|
845
845
|
}
|
|
@@ -854,7 +854,7 @@ var fe = '[cmdk-group=""]', De = '[cmdk-group-items=""]', zr = '[cmdk-group-head
|
|
|
854
854
|
let y = _t(r, l, [e.value, e.children, l], e.keywords), c = Xe(), v = Z((N) => N.value && N.value === y.current), f = Z((N) => u || i.filter() === !1 ? !0 : N.search ? N.filtered.items.get(r) > 0 : !0);
|
|
855
855
|
p.useEffect(() => {
|
|
856
856
|
let N = l.current;
|
|
857
|
-
if (!(!N || e.disabled)) return N.addEventListener(
|
|
857
|
+
if (!(!N || e.disabled)) return N.addEventListener($e, w), () => N.removeEventListener($e, w);
|
|
858
858
|
}, [f, e.onSelect, e.disabled]);
|
|
859
859
|
function w() {
|
|
860
860
|
var N, g;
|
|
@@ -874,14 +874,14 @@ var fe = '[cmdk-group=""]', De = '[cmdk-group-items=""]', zr = '[cmdk-group-head
|
|
|
874
874
|
}), Br = p.forwardRef((e, a) => {
|
|
875
875
|
let { alwaysRender: t, ...n } = e, r = p.useRef(null), l = Z((s) => !s.search);
|
|
876
876
|
return !t && !l ? null : p.createElement(Q.div, { ref: he(r, a), ...n, "cmdk-separator": "", role: "separator" });
|
|
877
|
-
}),
|
|
877
|
+
}), $r = p.forwardRef((e, a) => {
|
|
878
878
|
let { onValueChange: t, ...n } = e, r = e.value != null, l = Xe(), s = Z((u) => u.search), i = Z((u) => u.selectedItemId), m = ve();
|
|
879
879
|
return p.useEffect(() => {
|
|
880
880
|
e.value != null && l.setState("search", e.value);
|
|
881
881
|
}, [e.value]), p.createElement(Q.input, { ref: a, ...n, "cmdk-input": "", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "aria-autocomplete": "list", role: "combobox", "aria-expanded": !0, "aria-controls": m.listId, "aria-labelledby": m.labelId, "aria-activedescendant": i, id: m.inputId, type: "text", value: r ? e.value : s, onChange: (u) => {
|
|
882
882
|
r || l.setState("search", u.target.value), t == null || t(u.target.value);
|
|
883
883
|
} });
|
|
884
|
-
}),
|
|
884
|
+
}), jr = p.forwardRef((e, a) => {
|
|
885
885
|
let { children: t, label: n = "Suggestions", ...r } = e, l = p.useRef(null), s = p.useRef(null), i = Z((u) => u.selectedItemId), m = ve();
|
|
886
886
|
return p.useEffect(() => {
|
|
887
887
|
if (s.current && l.current) {
|
|
@@ -902,7 +902,7 @@ var fe = '[cmdk-group=""]', De = '[cmdk-group-items=""]', zr = '[cmdk-group-head
|
|
|
902
902
|
}), Wr = p.forwardRef((e, a) => Z((t) => t.filtered.count === 0) ? p.createElement(Q.div, { ref: a, ...e, "cmdk-empty": "", role: "presentation" }) : null), Kr = p.forwardRef((e, a) => {
|
|
903
903
|
let { progress: t, children: n, label: r = "Loading...", ...l } = e;
|
|
904
904
|
return p.createElement(Q.div, { ref: a, ...l, "cmdk-loading": "", role: "progressbar", "aria-valuenow": t, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": r }, Ne(e, (s) => p.createElement("div", { "aria-hidden": !0 }, s)));
|
|
905
|
-
}),
|
|
905
|
+
}), j = Object.assign(Rt, { List: jr, Item: Mr, Input: $r, Group: Ur, Separator: Br, Dialog: Vr, Empty: Wr, Loading: Kr });
|
|
906
906
|
function qr(e, a) {
|
|
907
907
|
let t = e.nextElementSibling;
|
|
908
908
|
for (; t; ) {
|
|
@@ -963,7 +963,7 @@ function Ne({ asChild: e, children: a }, t) {
|
|
|
963
963
|
}
|
|
964
964
|
var Xr = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
|
|
965
965
|
const Pt = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
966
|
-
|
|
966
|
+
j,
|
|
967
967
|
{
|
|
968
968
|
ref: t,
|
|
969
969
|
className: B(
|
|
@@ -973,11 +973,11 @@ const Pt = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
|
973
973
|
...a
|
|
974
974
|
}
|
|
975
975
|
));
|
|
976
|
-
Pt.displayName =
|
|
976
|
+
Pt.displayName = j.displayName;
|
|
977
977
|
const Ot = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ h("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
978
978
|
/* @__PURE__ */ o(ga, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
979
979
|
/* @__PURE__ */ o(
|
|
980
|
-
|
|
980
|
+
j.Input,
|
|
981
981
|
{
|
|
982
982
|
ref: t,
|
|
983
983
|
className: B(
|
|
@@ -988,27 +988,27 @@ const Ot = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ h("div",
|
|
|
988
988
|
}
|
|
989
989
|
)
|
|
990
990
|
] }));
|
|
991
|
-
Ot.displayName =
|
|
991
|
+
Ot.displayName = j.Input.displayName;
|
|
992
992
|
const Lt = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
993
|
-
|
|
993
|
+
j.List,
|
|
994
994
|
{
|
|
995
995
|
ref: t,
|
|
996
996
|
className: B("max-h-[300px] overflow-y-auto overflow-x-hidden", e),
|
|
997
997
|
...a
|
|
998
998
|
}
|
|
999
999
|
));
|
|
1000
|
-
Lt.displayName =
|
|
1000
|
+
Lt.displayName = j.List.displayName;
|
|
1001
1001
|
const zt = p.forwardRef((e, a) => /* @__PURE__ */ o(
|
|
1002
|
-
|
|
1002
|
+
j.Empty,
|
|
1003
1003
|
{
|
|
1004
1004
|
ref: a,
|
|
1005
1005
|
className: "py-6 text-center text-sm",
|
|
1006
1006
|
...e
|
|
1007
1007
|
}
|
|
1008
1008
|
));
|
|
1009
|
-
zt.displayName =
|
|
1010
|
-
const
|
|
1011
|
-
|
|
1009
|
+
zt.displayName = j.Empty.displayName;
|
|
1010
|
+
const je = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
1011
|
+
j.Group,
|
|
1012
1012
|
{
|
|
1013
1013
|
ref: t,
|
|
1014
1014
|
className: B(
|
|
@@ -1018,18 +1018,18 @@ const $e = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
|
1018
1018
|
...a
|
|
1019
1019
|
}
|
|
1020
1020
|
));
|
|
1021
|
-
|
|
1021
|
+
je.displayName = j.Group.displayName;
|
|
1022
1022
|
const Ft = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
1023
|
-
|
|
1023
|
+
j.Separator,
|
|
1024
1024
|
{
|
|
1025
1025
|
ref: t,
|
|
1026
1026
|
className: B("-mx-1 h-px bg-border", e),
|
|
1027
1027
|
...a
|
|
1028
1028
|
}
|
|
1029
1029
|
));
|
|
1030
|
-
Ft.displayName =
|
|
1030
|
+
Ft.displayName = j.Separator.displayName;
|
|
1031
1031
|
const Ve = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
1032
|
-
|
|
1032
|
+
j.Item,
|
|
1033
1033
|
{
|
|
1034
1034
|
ref: t,
|
|
1035
1035
|
className: B(
|
|
@@ -1039,11 +1039,11 @@ const Ve = p.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ o(
|
|
|
1039
1039
|
...a
|
|
1040
1040
|
}
|
|
1041
1041
|
));
|
|
1042
|
-
Ve.displayName =
|
|
1042
|
+
Ve.displayName = j.Item.displayName;
|
|
1043
1043
|
function Yr(e = {}) {
|
|
1044
1044
|
const { authToken: a, tokenProps: t } = He(), n = M(
|
|
1045
1045
|
(N) => N.actions.applyResolvedCalendarPreferences
|
|
1046
|
-
), r = e.enabled ?? !0, l = (a == null ? void 0 : a.accessToken) ?? null, s = (t == null ? void 0 : t.apiServiceUrl) ?? null, [i, m] = L(!1), [u, y] = L(!1), [c, v] = L(!1), [f, w] = L(null), [b, S] = L(null), C =
|
|
1046
|
+
), r = e.enabled ?? !0, l = (a == null ? void 0 : a.accessToken) ?? null, s = (t == null ? void 0 : t.apiServiceUrl) ?? null, [i, m] = L(!1), [u, y] = L(!1), [c, v] = L(!1), [f, w] = L(null), [b, S] = L(null), C = $(l);
|
|
1047
1047
|
C.current = l, J(() => {
|
|
1048
1048
|
S(null), w(null), m(!1), y(!1), v(!1);
|
|
1049
1049
|
}, [l]);
|
|
@@ -1232,7 +1232,7 @@ function tn({
|
|
|
1232
1232
|
), g = ee(() => ht(b), [b]), E = t != null && t.inherited ? ht(t.inherited.tz) : "UTC", R = t != null && t.inherited ? en(t.inherited.weekStart) : "Monday", I = Qr(
|
|
1233
1233
|
t == null ? void 0 : t.inheritedSources
|
|
1234
1234
|
);
|
|
1235
|
-
|
|
1235
|
+
$t.useEffect(() => {
|
|
1236
1236
|
if (!e) {
|
|
1237
1237
|
w(!1);
|
|
1238
1238
|
return;
|
|
@@ -1371,7 +1371,7 @@ function tn({
|
|
|
1371
1371
|
/* @__PURE__ */ o(Ot, { placeholder: "Search timezones…" }),
|
|
1372
1372
|
/* @__PURE__ */ h(Lt, { children: [
|
|
1373
1373
|
/* @__PURE__ */ o(zt, { children: "No timezone found." }),
|
|
1374
|
-
/* @__PURE__ */ o(
|
|
1374
|
+
/* @__PURE__ */ o(je, { heading: "Common", children: Ie.map((k) => /* @__PURE__ */ h(
|
|
1375
1375
|
Ve,
|
|
1376
1376
|
{
|
|
1377
1377
|
value: `${k.value} ${k.label}`,
|
|
@@ -1395,7 +1395,7 @@ function tn({
|
|
|
1395
1395
|
k.value
|
|
1396
1396
|
)) }),
|
|
1397
1397
|
/* @__PURE__ */ o(Ft, {}),
|
|
1398
|
-
/* @__PURE__ */ o(
|
|
1398
|
+
/* @__PURE__ */ o(je, { heading: "All timezones", children: N.map((k) => /* @__PURE__ */ h(
|
|
1399
1399
|
Ve,
|
|
1400
1400
|
{
|
|
1401
1401
|
value: k,
|
|
@@ -1486,14 +1486,14 @@ function tn({
|
|
|
1486
1486
|
function an(e = {}) {
|
|
1487
1487
|
const { authToken: a, tokenProps: t } = He(), n = M(
|
|
1488
1488
|
(g) => g.actions.applyResolvedValueFormatPreferences
|
|
1489
|
-
), r = e.enabled ?? !0, l = (a == null ? void 0 : a.accessToken) ?? null, s = (t == null ? void 0 : t.apiServiceUrl) ?? null, i =
|
|
1489
|
+
), r = e.enabled ?? !0, l = (a == null ? void 0 : a.accessToken) ?? null, s = (t == null ? void 0 : t.apiServiceUrl) ?? null, i = $(l);
|
|
1490
1490
|
i.current = l;
|
|
1491
1491
|
const [m, u] = L(null), [y, c] = L(!1), [v, f] = L(!1), [w, b] = L(!1), [S, C] = L(null);
|
|
1492
1492
|
J(() => {
|
|
1493
1493
|
u(null), C(null), c(!1), f(!1), b(!1);
|
|
1494
1494
|
}, [l]);
|
|
1495
1495
|
const _ = K(async (g) => {
|
|
1496
|
-
const E =
|
|
1496
|
+
const E = $a(await g.json());
|
|
1497
1497
|
if (!E.ok)
|
|
1498
1498
|
throw new Error("Value format preferences response is invalid");
|
|
1499
1499
|
return E.value;
|
|
@@ -1596,7 +1596,7 @@ const We = [
|
|
|
1596
1596
|
"INR",
|
|
1597
1597
|
"BRL",
|
|
1598
1598
|
"KWD"
|
|
1599
|
-
]), rn =
|
|
1599
|
+
]), rn = ja(), nn = rn.filter(
|
|
1600
1600
|
(e) => !Ut.has(e)
|
|
1601
1601
|
), Bt = [
|
|
1602
1602
|
{ value: "short", label: "Short" },
|
|
@@ -2092,7 +2092,7 @@ export {
|
|
|
2092
2092
|
Ot as b,
|
|
2093
2093
|
Lt as c,
|
|
2094
2094
|
zt as d,
|
|
2095
|
-
|
|
2095
|
+
je as e,
|
|
2096
2096
|
Ve as f,
|
|
2097
2097
|
ur as g,
|
|
2098
2098
|
Dn as h,
|
package/dist/chunks/{report-runtime-context-bYoExeWr.js → report-runtime-context-DoIUr3MP.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { parseValueFormatPreferences as _, isReportPreferenceSource as C } from "../value-format-preferences/index.js";
|
|
2
|
-
import { r as g } from "./validators-
|
|
3
|
-
import { i as k } from "./analytics-base-schemas-
|
|
2
|
+
import { r as g } from "./validators-BtaCFIEB.js";
|
|
3
|
+
import { i as k } from "./analytics-base-schemas-CB3oFAXk.js";
|
|
4
4
|
const D = {
|
|
5
5
|
tz: "UTC",
|
|
6
6
|
weekStart: 1,
|