react-semaphor 0.1.552 → 0.1.553
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 +8 -8
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +3 -3
- package/dist/briefings/index.js +5 -5
- package/dist/chunks/{assistant-chat-sWQaBT61.js → assistant-chat-DaIdRbbd.js} +1275 -1296
- package/dist/chunks/{bookmark-state-Cu-a5ie_.js → bookmark-state-aGO7_ryE.js} +3 -3
- package/dist/chunks/{comparison-window-caption-CF90-I0i.js → comparison-window-caption-BugAu7zS.js} +7 -7
- package/dist/chunks/{custom-visual-inputs-ByQUyWf4.js → custom-visual-inputs-D7ez5sab.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-DUJQv719.js → dashboard-briefing-launcher-DBJ0xrfF.js} +62 -62
- package/dist/chunks/{dashboard-controls-BjnvfcQp.js → dashboard-controls-CDX74NTl.js} +46 -46
- package/dist/chunks/{dashboard-json-BqcLekhd.js → dashboard-json-Cf5dpYTr.js} +4 -4
- package/dist/chunks/{dashboard-BjoJI7NN.js → dashboard-z3GYw7xR.js} +1 -1
- package/dist/chunks/{document-dashboard-inputs-PoQihHLu.js → document-dashboard-inputs-LMMWPOwU.js} +119 -119
- package/dist/chunks/{edit-dashboard-visual-KNJQr60W.js → edit-dashboard-visual-hCGiyxgm.js} +18 -18
- package/dist/chunks/{filter-reach-copy-zdhUFn6t.js → filter-reach-copy-BG5qVZKS.js} +48 -48
- package/dist/chunks/{filter-value-text-Ddf55Ku1.js → filter-value-text-DwP5dN9m.js} +2 -2
- package/dist/chunks/{global-date-filter-utils-C1jCNWdV.js → global-date-filter-utils-Ce6Ydv2W.js} +5927 -5723
- package/dist/chunks/{index-Dp0ta6KB.js → index-C_UIqop8.js} +9 -9
- package/dist/chunks/{matrix-analytical-definition-B9vW-osb.js → matrix-analytical-definition-cvzKdxPE.js} +2 -2
- package/dist/chunks/{matrix-card-LiMEipvq.js → matrix-card-VFE-yDlr.js} +2 -2
- package/dist/chunks/{matrix-formatter-C_EpDP6o.js → matrix-formatter-B27bz08Y.js} +15 -15
- package/dist/chunks/{matrix-member-presentation-DqzG-UhQ.js → matrix-member-presentation-DyC-e9pD.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-D6vYkZK4.js → matrix-operation-contract-L_SiObB7.js} +1 -1
- package/dist/chunks/{metric-comparison-zpGw4lD6.js → metric-comparison-B5gyyW9k.js} +1 -1
- package/dist/chunks/{pivot-header-presentation-CQnIDtUv.js → pivot-header-presentation-BQFfowp1.js} +1 -1
- package/dist/chunks/{pivot-result-identity-C-Q1j1Wb.js → pivot-result-identity-dZIYsMrY.js} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-pwq3b7LC.js → pivot-result-lifecycle-D0kSz5QX.js} +6 -6
- package/dist/chunks/{raw-temporal-presentation-D3i0mnUe.js → raw-temporal-presentation-BWRH754b.js} +6 -6
- package/dist/chunks/{report-preferences-dialog-C0uGI0v7.js → report-preferences-dialog-DvabpYcC.js} +49 -49
- package/dist/chunks/{report-runtime-context-hWiTCzFV.js → report-runtime-context-CKiIubIu.js} +1 -1
- package/dist/chunks/{resolve-dashboard-input-context-Cm0b7s-d.js → resolve-dashboard-input-context-Ctq1YCDV.js} +2062 -1988
- package/dist/chunks/{saved-dashboard-context-DCtGmAWe.js → saved-dashboard-context-Bt1E9d1l.js} +8 -8
- package/dist/chunks/{selection-reducer-CJzkTZio.js → selection-reducer-DdPwKDDQ.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-ChyotaWB.js → semaphor-ready-indicator-Cc1TG_gw.js} +26 -26
- package/dist/chunks/{shelf-drop-preview-context-D09ATIXv.js → shelf-drop-preview-context-Ch9XqytU.js} +119 -119
- package/dist/chunks/{source-entity-resolution-D195CrYS.js → source-entity-resolution-DkW3Iek5.js} +1 -1
- package/dist/chunks/{switch-wJP6O7ZT.js → switch-gm7RW-PW.js} +2 -2
- package/dist/chunks/{table-export-sheet-DUS_s8Cj.js → table-export-sheet-C7bDdC8r.js} +1 -1
- package/dist/chunks/{table-settings-WysCBj62.js → table-settings-CBm7G0yx.js} +224 -201
- package/dist/chunks/{temporal-bucket-CQOSbv9-.js → temporal-bucket-BikY3FFR.js} +1 -1
- package/dist/chunks/{token-types-BMqRmT-C.js → token-types-B1p9F_wS.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-t7JLE_LV.js → use-create-flow-overlay-state-CZdDRUpc.js} +6 -6
- package/dist/chunks/{validators-C-aOQlTB.js → validators-BdBzm_EV.js} +17 -16
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +273 -264
- package/dist/data-app-sdk/index.js +5 -5
- package/dist/data-app-sdk-adapters/index.js +2 -2
- package/dist/data-app-sdk-validation/index.js +5 -5
- package/dist/format-utils/index.js +15 -15
- package/dist/index.js +21 -21
- package/dist/report-runtime-context/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/index.js +6 -6
- package/dist/types/lib/dashboard-inputs/prepare-loaded-dashboard.d.ts +3 -0
- package/dist/types/lib/utils/card-config-utils.d.ts +61 -0
- package/dist/types/lib/utils/card-type-change.d.ts +5 -1
- package/dist/types/shared/analytics-protocol/explorer-input-schemas.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/document-section-cards.d.ts +6 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/legacy-table-routing.d.ts +64 -0
- package/package.json +2 -2
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
var Fe = Object.defineProperty;
|
|
2
2
|
var Re = (e, n, t) => n in e ? Fe(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
3
|
var L = (e, n, t) => Re(e, typeof n != "symbol" ? n + "" : n, t);
|
|
4
|
-
import { r as ae, q as se, j as Ne } from "./temporal-bucket-
|
|
5
|
-
import { Y as J, ab as Be, o as Me } from "./validators-
|
|
4
|
+
import { r as ae, q as se, j as Ne } from "./temporal-bucket-BikY3FFR.js";
|
|
5
|
+
import { Y as J, ab as Be, o as Me } from "./validators-BdBzm_EV.js";
|
|
6
6
|
import { l as Le, C as Ue } from "./export-file-format-C-tJsxsf.js";
|
|
7
7
|
import { z as y } from "zod";
|
|
8
|
-
import { I as Pe, q as ze, o as Ve, P as B } from "./pivot-result-lifecycle-
|
|
9
|
-
import { af as je, ah as qe, U as Ke } from "./matrix-operation-contract-
|
|
8
|
+
import { I as Pe, q as ze, o as Ve, P as B } from "./pivot-result-lifecycle-D0kSz5QX.js";
|
|
9
|
+
import { af as je, ah as qe, U as Ke } from "./matrix-operation-contract-L_SiObB7.js";
|
|
10
10
|
import "./analytics-base-schemas-BKs3flFS.js";
|
|
11
11
|
import "../value-format-preferences/index.js";
|
|
12
12
|
import { r as He } from "./rendered-file-D8xEuVVx.js";
|
|
13
|
-
import {
|
|
14
|
-
import { r as Je } from "./matrix-card-
|
|
15
|
-
import { z as Qe } from "./table-settings-
|
|
16
|
-
import { r as et, a as tt, b as nt, c as rt, d as ot } from "./raw-temporal-presentation-
|
|
13
|
+
import { cR as Ge, cS as We, cT as Xe, r as Ze, n as Ye } from "./global-date-filter-utils-Ce6Ydv2W.js";
|
|
14
|
+
import { r as Je } from "./matrix-card-VFE-yDlr.js";
|
|
15
|
+
import { z as Qe } from "./table-settings-CBm7G0yx.js";
|
|
16
|
+
import { r as et, a as tt, b as nt, c as rt, d as ot } from "./raw-temporal-presentation-BWRH754b.js";
|
|
17
17
|
import "./index-CtoK1Lgu.js";
|
|
18
18
|
import "./index-CuHybtft.js";
|
|
19
19
|
import "./_commonjsHelpers-DimLPMtv.js";
|
|
20
|
-
import { f as at, r as it, b as ct, g as lt } from "./custom-visual-inputs-
|
|
20
|
+
import { f as at, r as it, b as ct, g as lt } from "./custom-visual-inputs-D7ez5sab.js";
|
|
21
21
|
const dt = /* @__PURE__ */ new Set([
|
|
22
22
|
"table",
|
|
23
23
|
"aggregateTable",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as G } from "./metric-comparison-
|
|
2
|
-
import { ab as E, aw as Y, av as V, ax as J, au as X, at as ee, a0 as $, O as j, x as te } from "./validators-
|
|
1
|
+
import { r as G } from "./metric-comparison-B5gyyW9k.js";
|
|
2
|
+
import { ab as E, aw as Y, av as V, ax as J, au as X, at as ee, a0 as $, O as j, x as te } from "./validators-BdBzm_EV.js";
|
|
3
3
|
import { b as ne, w as h, z as F } from "./zoned-wall-clock-MulfA26h.js";
|
|
4
4
|
import { z as u } from "zod";
|
|
5
5
|
import { c as ie } from "./analytics-base-schemas-BKs3flFS.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as a, o as s, q as f } from "./validators-
|
|
2
|
-
import "./matrix-operation-contract-
|
|
1
|
+
import { l as a, o as s, q as f } from "./validators-BdBzm_EV.js";
|
|
2
|
+
import "./matrix-operation-contract-L_SiObB7.js";
|
|
3
3
|
import "./analytics-base-schemas-BKs3flFS.js";
|
|
4
4
|
import "zod";
|
|
5
5
|
function u(i, r = {}) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { aI as ge, t as U, ab as ye, S as we } from "./validators-
|
|
2
|
-
import "./matrix-operation-contract-
|
|
1
|
+
import { aI as ge, t as U, ab as ye, S as we } from "./validators-BdBzm_EV.js";
|
|
2
|
+
import "./matrix-operation-contract-L_SiObB7.js";
|
|
3
3
|
import { j as be } from "./analytics-base-schemas-BKs3flFS.js";
|
|
4
4
|
import "zod";
|
|
5
|
-
import { W as Me, X as se, S as Z, U as F, Y as oe, Z as ue, Q as xe, k as De, i as q, F as pe, f as Oe, p as Te, r as ve, u as Pe, j as Se, m as ke } from "./temporal-bucket-
|
|
5
|
+
import { W as Me, X as se, S as Z, U as F, Y as oe, Z as ue, Q as xe, k as De, i as q, F as pe, f as Oe, p as Te, r as ve, u as Pe, j as Se, m as ke } from "./temporal-bucket-BikY3FFR.js";
|
|
6
6
|
function d(e) {
|
|
7
7
|
const t = Object.prototype.toString.call(e);
|
|
8
8
|
return e instanceof Date || typeof e == "object" && t === "[object Date]" ? new e.constructor(+e) : typeof e == "number" || t === "[object Number]" || typeof e == "string" || t === "[object String]" ? new Date(e) : /* @__PURE__ */ new Date(NaN);
|
|
@@ -1842,11 +1842,11 @@ function Pn(e, t, n) {
|
|
|
1842
1842
|
};
|
|
1843
1843
|
}
|
|
1844
1844
|
export {
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1845
|
+
ae as A,
|
|
1846
|
+
D as B,
|
|
1847
|
+
te as C,
|
|
1848
1848
|
rn as D,
|
|
1849
|
-
|
|
1849
|
+
mn as E,
|
|
1850
1850
|
ln as F,
|
|
1851
1851
|
en as a,
|
|
1852
1852
|
tn as b,
|
|
@@ -1866,12 +1866,12 @@ export {
|
|
|
1866
1866
|
A as p,
|
|
1867
1867
|
Rt as q,
|
|
1868
1868
|
bn as r,
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1869
|
+
P as s,
|
|
1870
|
+
fe as t,
|
|
1871
|
+
N as u,
|
|
1872
|
+
d as v,
|
|
1873
|
+
ze as w,
|
|
1874
|
+
E as x,
|
|
1875
|
+
Ce as y,
|
|
1876
|
+
re as z
|
|
1877
1877
|
};
|
package/dist/chunks/{matrix-operation-contract-D6vYkZK4.js → matrix-operation-contract-L_SiObB7.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z as t } from "zod";
|
|
2
2
|
import { z as je, E as Fe, F as Le, I as Ue, J as qe, s as U, x as Z, n as De, C as Me, D as ce, f as Be, r as Ge, y as ze, m as Ve, o as We, t as le, u as Xe } from "./analytics-base-schemas-BKs3flFS.js";
|
|
3
|
-
import { I as w, A as ue, Q as G, aN as ee, t as b, J as Ke, aG as $, aO as Ze, B as $e, s as Ye, x as de, a8 as He, r as Qe, m as Je } from "./validators-
|
|
3
|
+
import { I as w, A as ue, Q as G, aN as ee, t as b, J as Ke, aG as $, aO as Ze, B as $e, s as Ye, x as de, a8 as He, r as Qe, m as Je } from "./validators-BdBzm_EV.js";
|
|
4
4
|
const Y = {
|
|
5
5
|
answerSummary: "string",
|
|
6
6
|
responseDetail: "responseDetail",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as g, T as m, a as C } from "./analytics-base-schemas-BKs3flFS.js";
|
|
2
|
-
import { r as k } from "./validators-
|
|
2
|
+
import { r as k } from "./validators-BdBzm_EV.js";
|
|
3
3
|
function w(e) {
|
|
4
4
|
const r = g.safeParse(e);
|
|
5
5
|
return r.success ? { ok: !0, value: r.data } : {
|
package/dist/chunks/{pivot-header-presentation-CQnIDtUv.js → pivot-header-presentation-BQFfowp1.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var d = Object.defineProperty;
|
|
2
2
|
var c = (e, r, t) => r in e ? d(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t;
|
|
3
3
|
var i = (e, r, t) => c(e, typeof r != "symbol" ? r + "" : r, t);
|
|
4
|
-
import { f } from "./temporal-bucket-
|
|
4
|
+
import { f } from "./temporal-bucket-BikY3FFR.js";
|
|
5
5
|
class v extends Error {
|
|
6
6
|
constructor(t, a) {
|
|
7
7
|
super(`${t}: ${a}`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var y = Object.defineProperty;
|
|
2
2
|
var c = (t, e, r) => e in t ? y(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var u = (t, e, r) => c(t, typeof e != "symbol" ? e + "" : e, r);
|
|
4
|
-
import { v as d } from "./metric-comparison-
|
|
4
|
+
import { v as d } from "./metric-comparison-B5gyyW9k.js";
|
|
5
5
|
function f(t) {
|
|
6
6
|
return !!(t != null && t.isSubtotal && t.subtotalScope === "pivot-value");
|
|
7
7
|
}
|
package/dist/chunks/{pivot-result-lifecycle-pwq3b7LC.js → pivot-result-lifecycle-D0kSz5QX.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var G = Object.defineProperty;
|
|
2
2
|
var Q = (e, t, o) => t in e ? G(e, t, { enumerable: !0, configurable: !0, writable: !0, value: o }) : e[t] = o;
|
|
3
3
|
var h = (e, t, o) => Q(e, typeof t != "symbol" ? t + "" : t, o);
|
|
4
|
-
import { N as q, O as L, P as y, q as ee, H as te, E as oe, i as re, Q as K, f as ne, F as ae, r as ie, M as se, v as ce } from "./temporal-bucket-
|
|
4
|
+
import { N as q, O as L, P as y, q as ee, H as te, E as oe, i as re, Q as K, f as ne, F as ae, r as ie, M as se, v as ce } from "./temporal-bucket-BikY3FFR.js";
|
|
5
5
|
import { z as d } from "zod";
|
|
6
6
|
import { E as B, l as Y } from "./export-file-format-C-tJsxsf.js";
|
|
7
|
-
import { aM as le, l as de, X as me, O as T, o as ue } from "./validators-
|
|
8
|
-
import { b as fe } from "./report-runtime-context-
|
|
7
|
+
import { aM as le, l as de, X as me, O as T, o as ue } from "./validators-BdBzm_EV.js";
|
|
8
|
+
import { b as fe } from "./report-runtime-context-CKiIubIu.js";
|
|
9
9
|
import { DEFAULT_RESOLVED_VALUE_FORMAT_PREFERENCES as pe } from "../value-format-preferences/index.js";
|
|
10
10
|
import { z as ye } from "./zoned-wall-clock-MulfA26h.js";
|
|
11
11
|
import { S as he } from "./analytics-base-schemas-BKs3flFS.js";
|
|
12
|
-
import "./matrix-operation-contract-
|
|
13
|
-
import { r as we, i as ge } from "./metric-comparison-
|
|
14
|
-
import { d as ve, P as be } from "./pivot-result-identity-
|
|
12
|
+
import "./matrix-operation-contract-L_SiObB7.js";
|
|
13
|
+
import { r as we, i as ge } from "./metric-comparison-B5gyyW9k.js";
|
|
14
|
+
import { d as ve, P as be } from "./pivot-result-identity-dZIYsMrY.js";
|
|
15
15
|
function Ot(e, t) {
|
|
16
16
|
const r = Ie(e);
|
|
17
17
|
let n;
|
package/dist/chunks/{raw-temporal-presentation-D3i0mnUe.js → raw-temporal-presentation-BWRH754b.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./analytics-base-schemas-BKs3flFS.js";
|
|
2
|
-
import { r as P } from "./pivot-result-identity-
|
|
3
|
-
import { r as R, n as M } from "./global-date-filter-utils-
|
|
4
|
-
import "./validators-
|
|
5
|
-
import "./matrix-operation-contract-
|
|
2
|
+
import { r as P } from "./pivot-result-identity-dZIYsMrY.js";
|
|
3
|
+
import { r as R, n as M } from "./global-date-filter-utils-Ce6Ydv2W.js";
|
|
4
|
+
import "./validators-BdBzm_EV.js";
|
|
5
|
+
import "./matrix-operation-contract-L_SiObB7.js";
|
|
6
6
|
import { v as S } from "./raw-temporal-contract-WuXA8jBP.js";
|
|
7
7
|
import "zod";
|
|
8
8
|
import { DEFAULT_RESOLVED_VALUE_FORMAT_PREFERENCES as A } from "../value-format-preferences/index.js";
|
|
9
|
-
import { f as E, M as O } from "./pivot-result-lifecycle-
|
|
10
|
-
import { p as g, r as b, c as q, R as z, v as L } from "./temporal-bucket-
|
|
9
|
+
import { f as E, M as O } from "./pivot-result-lifecycle-D0kSz5QX.js";
|
|
10
|
+
import { p as g, r as b, c as q, R as z, v as L } from "./temporal-bucket-BikY3FFR.js";
|
|
11
11
|
const $ = "SEMAPHOR_CALCULATED_FIELD";
|
|
12
12
|
function j(e, a, t) {
|
|
13
13
|
if (t && (a === "groupby" || a === "pivotby"))
|
package/dist/chunks/{report-preferences-dialog-C0uGI0v7.js → report-preferences-dialog-DvabpYcC.js}
RENAMED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { jsxs as h, jsx as i, Fragment as te } from "react/jsx-runtime";
|
|
2
2
|
import * as v from "react";
|
|
3
|
-
import jt, { useRef as U, useState as z, useCallback as j, useEffect as
|
|
4
|
-
import { u as _, bh as
|
|
5
|
-
import "./validators-
|
|
6
|
-
import "./matrix-operation-contract-
|
|
3
|
+
import jt, { useRef as U, useState as z, useCallback as j, useEffect as H, useMemo as J, createContext as $t, useContext as He, lazy as Ee, Suspense as Se, useLayoutEffect as Ie, Activity as Vt, useId as ce } from "react";
|
|
4
|
+
import { u as _, bh as Kt, bi as Ht, bj as gt, a4 as qt, bk as Gt, bl as Xt, bm as Jt, b as Yt, b5 as qe, bn as Zt, bo as Qt, bp as yt, x as ea, bq as ta, br as aa, bs as ra, bt as na, bu as ge, bv as wt, bw as tt, bx as sa, Z as ye, Y as la, by as ia, bz as oa, _ as at, $ as da, bA as ca, E as ua, F as fa, S as ma, B as ha, a as pa, U as ba, bB as va, D as ga, A as ya, C as wa, bC as Sa, bD as xa, bE as Ia, bF as Ca, bG as rt, bH as ke, bI as Ea, bJ as Ge, bK as X, bL as Na, bM as Ta, bN as ka, bO as Aa, bP as Da } from "./semaphor-ready-indicator-Cc1TG_gw.js";
|
|
5
|
+
import "./validators-BdBzm_EV.js";
|
|
6
|
+
import "./matrix-operation-contract-L_SiObB7.js";
|
|
7
7
|
import "./analytics-base-schemas-BKs3flFS.js";
|
|
8
8
|
import "zod";
|
|
9
|
-
import { Y as Ra,
|
|
9
|
+
import { Y as Ra, cW as _a, bs as Pa, bt as Oa, as as Fa, s as La } from "./global-date-filter-utils-Ce6Ydv2W.js";
|
|
10
10
|
import { j as za } from "./index-CuHybtft.js";
|
|
11
11
|
import { parseValueFormatPreferencesResponse as Ma, canonicalizeSupportedLocale as St, getSupportedCurrencyCodes as Ua, canonicalizeSupportedCurrencyCode as Wa } from "../value-format-preferences/index.js";
|
|
12
12
|
import { c as W } from "./_commonjsHelpers-DimLPMtv.js";
|
|
13
13
|
import "./index-CtoK1Lgu.js";
|
|
14
|
-
import "./pivot-result-lifecycle-
|
|
15
|
-
import {
|
|
16
|
-
import { l as oe, B as q, N as ja, O as $a, Q as Va, U as
|
|
14
|
+
import "./pivot-result-lifecycle-D0kSz5QX.js";
|
|
15
|
+
import { I as Ba } from "./table-settings-CBm7G0yx.js";
|
|
16
|
+
import { l as oe, B as q, N as ja, O as $a, Q as Va, U as Ka, V as Ha, W as qa, X as ie, z as ee, Y as pe, P as Ga, a as Xa, b as Ja, c as nt, L as xt, r as Le, s as ze, t as Me, u as Ue, v as Z, T as Ya, d as Za, e as st, g as lt } from "./switch-gm7RW-PW.js";
|
|
17
17
|
import { X as Qa } from "./x-4f5U2XwU.js";
|
|
18
18
|
import { r as er, a as It } from "./availability-Bp5Gfu1I.js";
|
|
19
|
-
import { a as tr } from "./filter-reach-copy-
|
|
20
|
-
import { S as ar } from "./selection-reducer-
|
|
21
|
-
import { a as rr } from "./report-runtime-context-
|
|
22
|
-
import { r as we, M as ue } from "./temporal-bucket-
|
|
19
|
+
import { a as tr } from "./filter-reach-copy-BG5qVZKS.js";
|
|
20
|
+
import { S as ar } from "./selection-reducer-DdPwKDDQ.js";
|
|
21
|
+
import { a as rr } from "./report-runtime-context-CKiIubIu.js";
|
|
22
|
+
import { r as we, M as ue } from "./temporal-bucket-BikY3FFR.js";
|
|
23
23
|
function nr(e = []) {
|
|
24
24
|
const a = U(null), t = U(null), n = U(null), [r, l] = z(), s = j(() => {
|
|
25
25
|
var u, g, b;
|
|
26
26
|
const o = ((u = a.current) == null ? void 0 : u.clientWidth) ?? 0, m = ((g = n.current) == null ? void 0 : g.offsetWidth) ?? 0, c = ((b = t.current) == null ? void 0 : b.offsetWidth) ?? 0, d = o - m - c - 8, p = Math.max(d, 0);
|
|
27
27
|
l((y) => y === p ? y : p);
|
|
28
28
|
}, []);
|
|
29
|
-
return
|
|
29
|
+
return H(() => {
|
|
30
30
|
const o = a.current;
|
|
31
31
|
if (!o || typeof ResizeObserver > "u") return;
|
|
32
32
|
const m = new ResizeObserver(() => s());
|
|
@@ -43,7 +43,7 @@ function sr({ filter: e }) {
|
|
|
43
43
|
var y;
|
|
44
44
|
const a = _(
|
|
45
45
|
(w) => w.isDashboardEditing
|
|
46
|
-
), { preferences: t } =
|
|
46
|
+
), { preferences: t } = Kt(), n = Ht((y = t == null ? void 0 : t.cardDisplay) == null ? void 0 : y.mode), r = _((w) => w.dashboard), l = _(
|
|
47
47
|
(w) => w.dashboardInputValues
|
|
48
48
|
), s = _((w) => w.selectedSheetId), o = gt(), m = J(() => {
|
|
49
49
|
var O;
|
|
@@ -70,7 +70,7 @@ function sr({ filter: e }) {
|
|
|
70
70
|
m,
|
|
71
71
|
n
|
|
72
72
|
]);
|
|
73
|
-
return
|
|
73
|
+
return H(() => {
|
|
74
74
|
b();
|
|
75
75
|
}, [e.title, b]), /* @__PURE__ */ h(
|
|
76
76
|
"div",
|
|
@@ -233,7 +233,7 @@ function mr(e) {
|
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
function hr(e) {
|
|
236
|
-
|
|
236
|
+
H(() => {
|
|
237
237
|
const a = (n, r) => {
|
|
238
238
|
const l = e.store.getState().focus;
|
|
239
239
|
l && !pr(l, n, r) && e.clearFocus();
|
|
@@ -280,18 +280,18 @@ function qn() {
|
|
|
280
280
|
}, []), width: e };
|
|
281
281
|
}
|
|
282
282
|
function Sr() {
|
|
283
|
-
return
|
|
283
|
+
return He(Xe).width;
|
|
284
284
|
}
|
|
285
285
|
function Gn() {
|
|
286
|
-
return
|
|
286
|
+
return He(Xe).overflowItems;
|
|
287
287
|
}
|
|
288
288
|
function Xn(e, a, t) {
|
|
289
|
-
const n =
|
|
289
|
+
const n = He(Xe), r = n.hasOverflowMenu && !yr(a, n.width), { register: l, setOpenOverflowId: s } = n, o = t == null ? void 0 : t.label, m = t == null ? void 0 : t.hint, c = t == null ? void 0 : t.checked, S = (t == null ? void 0 : t.order) ?? 0, d = U(t == null ? void 0 : t.icon);
|
|
290
290
|
d.current = t == null ? void 0 : t.icon;
|
|
291
291
|
const p = U(t == null ? void 0 : t.onSelect);
|
|
292
292
|
p.current = t == null ? void 0 : t.onSelect;
|
|
293
293
|
const u = U(t == null ? void 0 : t.onOpen);
|
|
294
|
-
return u.current = t == null ? void 0 : t.onOpen,
|
|
294
|
+
return u.current = t == null ? void 0 : t.onOpen, H(() => {
|
|
295
295
|
if (!(!r || o === void 0))
|
|
296
296
|
return l({
|
|
297
297
|
id: e,
|
|
@@ -315,7 +315,7 @@ function Xn(e, a, t) {
|
|
|
315
315
|
anchorSlot: n.anchorSlot
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
|
-
const xr = Ee(() => import("./assistant-chat-
|
|
318
|
+
const xr = Ee(() => import("./assistant-chat-DaIdRbbd.js"));
|
|
319
319
|
function Jn() {
|
|
320
320
|
const e = ea(), a = Sr();
|
|
321
321
|
if (!e.available) return null;
|
|
@@ -418,13 +418,13 @@ function kr(e, a) {
|
|
|
418
418
|
middleware: [
|
|
419
419
|
$a(he),
|
|
420
420
|
Va({ padding: he }),
|
|
421
|
-
|
|
421
|
+
Ka({
|
|
422
422
|
padding: he,
|
|
423
423
|
apply: ({ availableWidth: b, availableHeight: y, elements: w }) => {
|
|
424
424
|
w.floating.style.setProperty("--assistant-beside-max-w", `${Math.max(0, b)}px`), w.floating.style.setProperty("--assistant-beside-max-h", `${Math.max(0, y)}px`);
|
|
425
425
|
}
|
|
426
426
|
}),
|
|
427
|
-
|
|
427
|
+
Ha()
|
|
428
428
|
],
|
|
429
429
|
whileElementsMounted: (b, y, w) => qa(b, y, () => {
|
|
430
430
|
const D = Ar(b, y);
|
|
@@ -623,9 +623,9 @@ function Fr({
|
|
|
623
623
|
}), l = _r(n), [s, o] = z(null), m = U(/* @__PURE__ */ new Map()), c = U(/* @__PURE__ */ new Map()), S = U(Promise.resolve()), d = U({ apply: l, onLifecycleEvent: a });
|
|
624
624
|
Ie(() => {
|
|
625
625
|
d.current = { apply: l, onLifecycleEvent: a };
|
|
626
|
-
}),
|
|
626
|
+
}), H(() => {
|
|
627
627
|
e.setScreenState({ eligible: t, ...r ? { dashboardId: r } : {} });
|
|
628
|
-
}, [e, t, r]),
|
|
628
|
+
}, [e, t, r]), H(
|
|
629
629
|
() => _.subscribe((u, g) => {
|
|
630
630
|
if (u.editSessionEpoch !== g.editSessionEpoch) {
|
|
631
631
|
m.current.clear(), o(null);
|
|
@@ -636,7 +636,7 @@ function Fr({
|
|
|
636
636
|
y !== u.dashboard && m.current.delete(b);
|
|
637
637
|
}),
|
|
638
638
|
[]
|
|
639
|
-
),
|
|
639
|
+
), H(() => {
|
|
640
640
|
const u = (b) => {
|
|
641
641
|
const y = _.getState().dashboard;
|
|
642
642
|
if (!y || y.id !== b.dashboardId) return;
|
|
@@ -761,9 +761,9 @@ function xe(e) {
|
|
|
761
761
|
function Mr() {
|
|
762
762
|
return globalThis.crypto.randomUUID();
|
|
763
763
|
}
|
|
764
|
-
const Ur = Ee(() => import("./dashboard-controls-
|
|
765
|
-
() => import("./edit-dashboard-visual-
|
|
766
|
-
), Br = Ee(() => import("./dashboard-json-
|
|
764
|
+
const Ur = Ee(() => import("./dashboard-controls-CDX74NTl.js")), Wr = Ee(
|
|
765
|
+
() => import("./edit-dashboard-visual-hCGiyxgm.js")
|
|
766
|
+
), Br = Ee(() => import("./dashboard-json-Cf5dpYTr.js"));
|
|
767
767
|
function Yn({
|
|
768
768
|
showControls: e = !1,
|
|
769
769
|
showFooter: a = !0,
|
|
@@ -808,12 +808,12 @@ function Yn({
|
|
|
808
808
|
] })
|
|
809
809
|
] }) }) });
|
|
810
810
|
}
|
|
811
|
-
var ct = 1, jr = 0.9, $r = 0.8, Vr = 0.17, Ae = 0.1, De = 0.999,
|
|
811
|
+
var ct = 1, jr = 0.9, $r = 0.8, Vr = 0.17, Ae = 0.1, De = 0.999, Kr = 0.9999, Hr = 0.99, qr = /[\\\/_+.#"@\[\(\{&]/, Gr = /[\\\/_+.#"@\[\(\{&]/g, Xr = /[\s-]/, Nt = /[\s-]/g;
|
|
812
812
|
function We(e, a, t, n, r, l, s) {
|
|
813
|
-
if (l === a.length) return r === e.length ? ct :
|
|
813
|
+
if (l === a.length) return r === e.length ? ct : Hr;
|
|
814
814
|
var o = `${r},${l}`;
|
|
815
815
|
if (s[o] !== void 0) return s[o];
|
|
816
|
-
for (var m = n.charAt(l), c = t.indexOf(m, r), S = 0, d, p, u, g; c >= 0; ) d = We(e, a, t, n, c + 1, l + 1, s), d > S && (c === r ? d *= ct : qr.test(e.charAt(c - 1)) ? (d *= $r, u = e.slice(r, c - 1).match(Gr), u && r > 0 && (d *= Math.pow(De, u.length))) : Xr.test(e.charAt(c - 1)) ? (d *= jr, g = e.slice(r, c - 1).match(Nt), g && r > 0 && (d *= Math.pow(De, g.length))) : (d *= Vr, r > 0 && (d *= Math.pow(De, c - r))), e.charAt(c) !== a.charAt(l) && (d *=
|
|
816
|
+
for (var m = n.charAt(l), c = t.indexOf(m, r), S = 0, d, p, u, g; c >= 0; ) d = We(e, a, t, n, c + 1, l + 1, s), d > S && (c === r ? d *= ct : qr.test(e.charAt(c - 1)) ? (d *= $r, u = e.slice(r, c - 1).match(Gr), u && r > 0 && (d *= Math.pow(De, u.length))) : Xr.test(e.charAt(c - 1)) ? (d *= jr, g = e.slice(r, c - 1).match(Nt), g && r > 0 && (d *= Math.pow(De, g.length))) : (d *= Vr, r > 0 && (d *= Math.pow(De, c - r))), e.charAt(c) !== a.charAt(l) && (d *= Kr)), (d < Ae && t.charAt(c - 1) === n.charAt(l + 1) || n.charAt(l + 1) === n.charAt(l) && t.charAt(c - 1) !== n.charAt(l)) && (p = We(e, a, t, n, c + 1, l + 2, s), p * Ae > d && (d = p * Ae)), d > S && (S = d), c = t.indexOf(m, c + 1);
|
|
817
817
|
return s[o] = S, S;
|
|
818
818
|
}
|
|
819
819
|
function ut(e) {
|
|
@@ -836,7 +836,7 @@ var me = '[cmdk-group=""]', Re = '[cmdk-group-items=""]', Yr = '[cmdk-group-head
|
|
|
836
836
|
N(6, re);
|
|
837
837
|
}, []);
|
|
838
838
|
let x = v.useMemo(() => ({ subscribe: (f) => (s.current.add(f), () => s.current.delete(f)), snapshot: () => t.current, setState: (f, T, A) => {
|
|
839
|
-
var I, P, L,
|
|
839
|
+
var I, P, L, K;
|
|
840
840
|
if (!Object.is(t.current[f], T)) {
|
|
841
841
|
if (t.current[f] = T, f === "search") V(), C(), N(1, G);
|
|
842
842
|
else if (f === "value") {
|
|
@@ -849,7 +849,7 @@ var me = '[cmdk-group=""]', Re = '[cmdk-group-items=""]', Yr = '[cmdk-group-head
|
|
|
849
849
|
t.current.selectedItemId = (B = Y()) == null ? void 0 : B.id, x.emit();
|
|
850
850
|
}), A || N(5, re), ((P = o.current) == null ? void 0 : P.value) !== void 0) {
|
|
851
851
|
let B = T ?? "";
|
|
852
|
-
(
|
|
852
|
+
(K = (L = o.current).onValueChange) == null || K.call(L, B);
|
|
853
853
|
return;
|
|
854
854
|
}
|
|
855
855
|
}
|
|
@@ -883,16 +883,16 @@ var me = '[cmdk-group=""]', Re = '[cmdk-group-items=""]', Yr = '[cmdk-group-head
|
|
|
883
883
|
let f = t.current.filtered.items, T = [];
|
|
884
884
|
t.current.filtered.groups.forEach((I) => {
|
|
885
885
|
let P = r.current.get(I), L = 0;
|
|
886
|
-
P.forEach((
|
|
887
|
-
let B = f.get(
|
|
886
|
+
P.forEach((K) => {
|
|
887
|
+
let B = f.get(K);
|
|
888
888
|
L = Math.max(B, L);
|
|
889
889
|
}), T.push([I, L]);
|
|
890
890
|
});
|
|
891
891
|
let A = F.current;
|
|
892
892
|
k().sort((I, P) => {
|
|
893
|
-
var L,
|
|
893
|
+
var L, K;
|
|
894
894
|
let B = I.getAttribute("id"), ve = P.getAttribute("id");
|
|
895
|
-
return ((L = f.get(ve)) != null ? L : 0) - ((
|
|
895
|
+
return ((L = f.get(ve)) != null ? L : 0) - ((K = f.get(B)) != null ? K : 0);
|
|
896
896
|
}).forEach((I) => {
|
|
897
897
|
let P = I.closest(Re);
|
|
898
898
|
P ? P.appendChild(I.parentElement === P ? I : I.closest(`${Re} > *`)) : A.appendChild(I.parentElement === A ? I : I.closest(`${Re} > *`));
|
|
@@ -915,10 +915,10 @@ var me = '[cmdk-group=""]', Re = '[cmdk-group-items=""]', Yr = '[cmdk-group-head
|
|
|
915
915
|
t.current.filtered.groups = /* @__PURE__ */ new Set();
|
|
916
916
|
let P = 0;
|
|
917
917
|
for (let L of n.current) {
|
|
918
|
-
let
|
|
918
|
+
let K = (T = (f = l.current.get(L)) == null ? void 0 : f.value) != null ? T : "", B = (I = (A = l.current.get(L)) == null ? void 0 : A.keywords) != null ? I : [], ve = R(K, B);
|
|
919
919
|
t.current.filtered.items.set(L, ve), ve > 0 && P++;
|
|
920
920
|
}
|
|
921
|
-
for (let [L,
|
|
921
|
+
for (let [L, K] of r.current) for (let B of K) if (t.current.filtered.items.get(B) > 0) {
|
|
922
922
|
t.current.filtered.groups.add(L);
|
|
923
923
|
break;
|
|
924
924
|
}
|
|
@@ -943,7 +943,7 @@ var me = '[cmdk-group=""]', Re = '[cmdk-group-items=""]', Yr = '[cmdk-group-head
|
|
|
943
943
|
}
|
|
944
944
|
function Te(f) {
|
|
945
945
|
var T;
|
|
946
|
-
let A = Y(), I = k(), P = I.findIndex((
|
|
946
|
+
let A = Y(), I = k(), P = I.findIndex((K) => K === A), L = I[P + f];
|
|
947
947
|
(T = o.current) != null && T.loop && (L = P + f < 0 ? I[I.length - 1] : P + f === I.length ? I[0] : I[P + f]), L && x.setState("value", L.getAttribute(ne));
|
|
948
948
|
}
|
|
949
949
|
function Ye(f) {
|
|
@@ -1196,7 +1196,7 @@ function mn(e = {}) {
|
|
|
1196
1196
|
const { authToken: a, tokenProps: t } = qe(), n = _(
|
|
1197
1197
|
(N) => N.actions.applyResolvedCalendarPreferences
|
|
1198
1198
|
), r = e.enabled ?? !0, l = (a == null ? void 0 : a.accessToken) ?? null, s = (t == null ? void 0 : t.apiServiceUrl) ?? null, [o, m] = z(!1), [c, S] = z(!1), [d, p] = z(!1), [u, g] = z(null), [b, y] = z(null), w = U(l);
|
|
1199
|
-
w.current = l,
|
|
1199
|
+
w.current = l, H(() => {
|
|
1200
1200
|
y(null), g(null), m(!1), S(!1), p(!1);
|
|
1201
1201
|
}, [l]);
|
|
1202
1202
|
const D = j(async (N) => {
|
|
@@ -1228,7 +1228,7 @@ function mn(e = {}) {
|
|
|
1228
1228
|
w.current === N && m(!1);
|
|
1229
1229
|
}
|
|
1230
1230
|
}, [l, s, r, D]);
|
|
1231
|
-
|
|
1231
|
+
H(() => {
|
|
1232
1232
|
r && O();
|
|
1233
1233
|
}, [r, O]);
|
|
1234
1234
|
const M = j(
|
|
@@ -1641,7 +1641,7 @@ function gn(e = {}) {
|
|
|
1641
1641
|
), r = e.enabled ?? !0, l = (a == null ? void 0 : a.accessToken) ?? null, s = (t == null ? void 0 : t.apiServiceUrl) ?? null, o = U(l);
|
|
1642
1642
|
o.current = l;
|
|
1643
1643
|
const [m, c] = z(null), [S, d] = z(!1), [p, u] = z(!1), [g, b] = z(!1), [y, w] = z(null);
|
|
1644
|
-
|
|
1644
|
+
H(() => {
|
|
1645
1645
|
c(null), w(null), d(!1), u(!1), b(!1);
|
|
1646
1646
|
}, [l]);
|
|
1647
1647
|
const D = j(async (x) => {
|
|
@@ -1684,7 +1684,7 @@ function gn(e = {}) {
|
|
|
1684
1684
|
o.current === x && d(!1);
|
|
1685
1685
|
}
|
|
1686
1686
|
}, [l, s, r, O]);
|
|
1687
|
-
|
|
1687
|
+
H(() => {
|
|
1688
1688
|
r && M();
|
|
1689
1689
|
}, [r, M]);
|
|
1690
1690
|
const F = j(
|
|
@@ -1755,7 +1755,7 @@ const Ve = [
|
|
|
1755
1755
|
{ value: "medium", label: "Medium" },
|
|
1756
1756
|
{ value: "long", label: "Long" }
|
|
1757
1757
|
], pt = "2026-07-31", _e = "2026-07-31T14:30:45";
|
|
1758
|
-
function
|
|
1758
|
+
function Ke(e) {
|
|
1759
1759
|
switch (e) {
|
|
1760
1760
|
case "viewer_user":
|
|
1761
1761
|
return "user";
|
|
@@ -1813,7 +1813,7 @@ function Fe({
|
|
|
1813
1813
|
/* @__PURE__ */ i(Z, { value: "inherit", className: "[&>span:last-child]:w-full", children: /* @__PURE__ */ h("span", { className: "flex w-full min-w-0 items-center justify-between gap-4", children: [
|
|
1814
1814
|
/* @__PURE__ */ h("span", { children: [
|
|
1815
1815
|
"Inherited from ",
|
|
1816
|
-
|
|
1816
|
+
Ke(r),
|
|
1817
1817
|
" ·",
|
|
1818
1818
|
" ",
|
|
1819
1819
|
Pe(n)
|
|
@@ -1935,7 +1935,7 @@ function xn({
|
|
|
1935
1935
|
/* @__PURE__ */ h(Ue, { children: [
|
|
1936
1936
|
/* @__PURE__ */ h(Z, { value: "inherit", children: [
|
|
1937
1937
|
"Inherited from ",
|
|
1938
|
-
|
|
1938
|
+
Ke(t.locale),
|
|
1939
1939
|
" ·",
|
|
1940
1940
|
" ",
|
|
1941
1941
|
a.locale
|
|
@@ -2024,7 +2024,7 @@ function xn({
|
|
|
2024
2024
|
/* @__PURE__ */ h(Ue, { children: [
|
|
2025
2025
|
/* @__PURE__ */ h(Z, { value: "inherit", children: [
|
|
2026
2026
|
"Inherited from ",
|
|
2027
|
-
|
|
2027
|
+
Ke(t.defaultCurrency),
|
|
2028
2028
|
" ·",
|
|
2029
2029
|
" ",
|
|
2030
2030
|
a.defaultCurrency
|
package/dist/chunks/{report-runtime-context-hWiTCzFV.js → report-runtime-context-CKiIubIu.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { parseValueFormatPreferences as _, isReportPreferenceSource as C } from "../value-format-preferences/index.js";
|
|
2
|
-
import { r as g } from "./validators-
|
|
2
|
+
import { r as g } from "./validators-BdBzm_EV.js";
|
|
3
3
|
import { i as k } from "./analytics-base-schemas-BKs3flFS.js";
|
|
4
4
|
const D = {
|
|
5
5
|
tz: "UTC",
|