react-semaphor 0.1.596 → 0.1.598
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 +329 -322
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +7 -7
- package/dist/briefings/index.js +4 -4
- package/dist/chunks/{aggregate-measure-field-DHlDj0Pc.js → aggregate-measure-field-DtKcEjG5.js} +2 -2
- package/dist/chunks/{assistant-chat-DodZKMI6.js → assistant-chat-DrI442Ld.js} +13 -13
- package/dist/chunks/{bookmark-impact-Dh-wiTs3.js → bookmark-impact-C6uWtNWF.js} +3 -3
- package/dist/chunks/{bookmark-state-Be2W3s6t.js → bookmark-state-BfeKmj5s.js} +4 -4
- package/dist/chunks/{card-filter-builder-BZIj-ib3.js → card-filter-builder-CSKCSpNo.js} +58 -58
- package/dist/chunks/{comparison-window-caption-DmMFtNP5.js → comparison-window-caption-3bum5j00.js} +5 -5
- package/dist/chunks/{dashboard-BCd8aKDN.js → dashboard-PYd63LbL.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-CE_z5Gh1.js → dashboard-briefing-launcher-C2AuKs10.js} +1157 -1152
- package/dist/chunks/{dashboard-controls-IG2KRX1y.js → dashboard-controls-BSbhyIkY.js} +15 -15
- package/dist/chunks/{dashboard-json-o-XrNqNW.js → dashboard-json-Bd1rxD3y.js} +4 -4
- package/dist/chunks/{dates-B-bKEsiu.js → dates-DHMCf-F7.js} +8 -8
- package/dist/chunks/{edit-dashboard-visual-HPTVtWGk.js → edit-dashboard-visual-D_0ZiWev.js} +498 -496
- package/dist/chunks/{filter-line-BpdPq1D2.js → filter-line-BdLyPYjH.js} +5 -5
- package/dist/chunks/{filter-reach-copy-DoXmRmk-.js → filter-reach-copy-Dxn-mTuG.js} +1301 -1222
- package/dist/chunks/{filter-value-text-CDQCIREQ.js → filter-value-text-C6g-nDUW.js} +4 -4
- package/dist/chunks/{index-C0jX5wlM.js → index-BHSDE54O.js} +5 -5
- package/dist/chunks/{layout-grid-DoFIfQGd.js → layout-grid-CYR-LVpl.js} +1 -1
- package/dist/chunks/{list-filter-BeTQxjNy.js → list-filter-B67GsjTw.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-CyWOwLmE.js → matrix-analytical-definition-C0IGLTZH.js} +21 -21
- package/dist/chunks/matrix-member-presentation-D5BIYuy5.js +258 -0
- package/dist/chunks/{matrix-operation-contract-CAanJeCj.js → matrix-operation-contract-RckfqkQm.js} +15 -15
- package/dist/chunks/{metric-comparison-BeKnUD08.js → metric-comparison-DsE8wdRh.js} +1 -1
- package/dist/chunks/{paintbrush-KeaU1L1a.js → paintbrush-xDDRjIyF.js} +1 -1
- package/dist/chunks/{palette-BcFJLeXB.js → palette-CbOgFCy2.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-Dt0E1Wou.js → pivot-result-contract-expectations-Cnq55Uno.js} +44 -44
- package/dist/chunks/{pivot-result-identity-BKUjYO1u.js → pivot-result-identity-b4-ugQhm.js} +1 -1
- package/dist/chunks/{raw-temporal-value-BzdgeDa7.js → raw-temporal-value-B9W38mi3.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-CgskMwZJ.js → report-preferences-dialog-DTu3a7ce.js} +13 -13
- package/dist/chunks/{report-runtime-context-g4Zp_TU9.js → report-runtime-context-BvJkcbar.js} +1 -1
- package/dist/chunks/{resolve-dashboard-input-context-DfJshnw8.js → resolve-dashboard-input-context-Bw-DesV2.js} +4771 -4712
- package/dist/chunks/{save-C9CZAk6V.js → save-BgvAsp6X.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-DdhPU2Kq.js → saved-dashboard-context-BFh0oOnF.js} +7 -7
- package/dist/chunks/{selection-filter-compiler-BclSpK3P.js → selection-filter-compiler-DHYsq3yM.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-BuasVClR.js → semaphor-ready-indicator-WvgHMnj8.js} +33384 -32853
- package/dist/chunks/{shelf-drop-preview-context-DjOcz0mb.js → shelf-drop-preview-context-D6HgYFJp.js} +5 -5
- package/dist/chunks/{stored-dashboard-D6FtWx_3.js → stored-dashboard-vlG0Knxi.js} +94 -94
- package/dist/chunks/{style-sheet-parts-DM_Mw_sm.js → style-sheet-parts-ClmvtkSC.js} +2 -2
- package/dist/chunks/{table-export-sheet-DBlFMvE8.js → table-export-sheet-Bv6tVuMu.js} +1 -1
- package/dist/chunks/{token-types-BB2ImFx6.js → token-types-eMdcuB6j.js} +1 -1
- package/dist/chunks/{upload-CMTCg47S.js → upload-ClUeK8F0.js} +1 -1
- package/dist/chunks/{validators-BlEWWX9O.js → validators-DwhBEvnh.js} +1074 -1065
- package/dist/chunks/{variable-draft-CxdgKDCx.js → variable-draft-CauoSBN0.js} +4 -4
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +1752 -1684
- package/dist/format-utils/index.js +13 -13
- package/dist/index.js +18 -18
- 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/shared/unsaved-changes/unsaved-changes-alert.d.ts +2 -1
- package/dist/types/components/sharing-and-management/hooks/paged-list.d.ts +22 -0
- package/dist/types/components/sharing-and-management/hooks/use-resource-management.d.ts +17 -2
- package/dist/types/index.js +5 -5
- package/dist/types/lib/hooks/use-dashboard-unsaved-changes-check.d.ts +9 -1
- package/dist/types/lib/utils/filter-default-value-utils.d.ts +1 -1
- package/dist/types/shared/analytics-protocol/catalog-field-grounding.d.ts +7 -0
- package/dist/types/shared/analytics-protocol/index.d.ts +1 -0
- package/dist/types/shared/analytics-protocol/numeric-range-options.d.ts +46 -0
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +45 -0
- package/dist/types/shared/dashboard-authoring/filter-model/index.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/filter-model/number-condition-spec.d.ts +24 -0
- package/dist/types/shared/dashboard-authoring/filter-model/number-range-setting.d.ts +47 -0
- package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +6 -2
- package/package.json +1 -1
- package/dist/chunks/matrix-member-presentation-Bj2YcHAP.js +0 -169
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, a as t, b as r, c as d, d as o, p as i, e as n, f as p } from "../chunks/saved-dashboard-context-
|
|
1
|
+
import { A as e, a as t, b as r, c as d, d as o, p as i, e as n, f as p } from "../chunks/saved-dashboard-context-BFh0oOnF.js";
|
|
2
2
|
export {
|
|
3
3
|
e as AssistantContextSourceError,
|
|
4
4
|
t as assistantCardReplayFields,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { jsxs as d, jsx as r, Fragment as ue } from "react/jsx-runtime";
|
|
2
2
|
import g, { useState as pe } from "react";
|
|
3
|
-
import { c as de, P as be, N as B, S as M, a as Ye, b as We, d as Ce, e as ye, f as Ne, B as S, g as qe, h as Se, C as Ke, R as we, L as fe, X as Xe, i as me, j as Ze, T as Qe, k as er, l as V, m as rr, n as G, o as or, p as ar, q as nr, r as tr, s as E, t as Q, u as ee, v as re, I as Fe, w as oe, x as ae, y as Pe, z as Oe, A as Te, D as Be, E as Re } from "../chunks/style-sheet-parts-
|
|
3
|
+
import { c as de, P as be, N as B, S as M, a as Ye, b as We, d as Ce, e as ye, f as Ne, B as S, g as qe, h as Se, C as Ke, R as we, L as fe, X as Xe, i as me, j as Ze, T as Qe, k as er, l as V, m as rr, n as G, o as or, p as ar, q as nr, r as tr, s as E, t as Q, u as ee, v as re, I as Fe, w as oe, x as ae, y as Pe, z as Oe, A as Te, D as Be, E as Re } from "../chunks/style-sheet-parts-ClmvtkSC.js";
|
|
4
4
|
import { v as dr, A as ne, d as cr, p as sr } from "../chunks/schema-C9NPiIru.js";
|
|
5
5
|
import { S as j, C as lr, a as ge, c as te } from "../chunks/pickers-DkqmtnTL.js";
|
|
6
|
-
import "../chunks/validators-
|
|
7
|
-
import "../chunks/matrix-operation-contract-
|
|
6
|
+
import "../chunks/validators-DwhBEvnh.js";
|
|
7
|
+
import "../chunks/matrix-operation-contract-RckfqkQm.js";
|
|
8
8
|
import "../chunks/analytics-base-schemas-8wz9vqn_.js";
|
|
9
9
|
import "../value-format-preferences/index.js";
|
|
10
10
|
import { e as ir } from "../chunks/brand-BoUV0iHF.js";
|
|
11
11
|
import { b as ur, D as pr } from "../chunks/edit-9df1zOWe.js";
|
|
12
12
|
import { n as Ee } from "../chunks/index-BVKzKl5d.js";
|
|
13
13
|
import { b as br } from "../chunks/resolver-DG_tfEpt.js";
|
|
14
|
-
import { P as H } from "../chunks/palette-
|
|
15
|
-
import { U as fr } from "../chunks/upload-
|
|
16
|
-
import { S as mr } from "../chunks/save-
|
|
17
|
-
import { L as gr } from "../chunks/layout-grid-
|
|
14
|
+
import { P as H } from "../chunks/palette-CbOgFCy2.js";
|
|
15
|
+
import { U as fr } from "../chunks/upload-ClUeK8F0.js";
|
|
16
|
+
import { S as mr } from "../chunks/save-BgvAsp6X.js";
|
|
17
|
+
import { L as gr } from "../chunks/layout-grid-CYR-LVpl.js";
|
|
18
18
|
/**
|
|
19
19
|
* @license lucide-react v0.453.0 - ISC
|
|
20
20
|
*
|
package/dist/briefings/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "../chunks/pivot-result-contract-expectations-
|
|
2
|
-
import "../chunks/validators-
|
|
1
|
+
import "../chunks/pivot-result-contract-expectations-Cnq55Uno.js";
|
|
2
|
+
import "../chunks/validators-DwhBEvnh.js";
|
|
3
3
|
import "../chunks/export-file-format-C-tJsxsf.js";
|
|
4
4
|
import "zod";
|
|
5
|
-
import "../chunks/matrix-operation-contract-
|
|
5
|
+
import "../chunks/matrix-operation-contract-RckfqkQm.js";
|
|
6
6
|
import "../chunks/analytics-base-schemas-8wz9vqn_.js";
|
|
7
7
|
import "../value-format-preferences/index.js";
|
|
8
|
-
import { A as g, J as l, a2 as B, F as m, a4 as E, z as c, B as I, E as T, K as d, C, D as u, M as A, Z as h, i as p, _ as D, $ as _, a5 as b, n as F, l as S, m as R, P as N, k as y, R as M, f as O, e as G, S as v, u as x, q as L, c as U, d as V, I as z, H, h as J, b as P, a as q, a6 as X, g as K, a0 as Q, V as Y, a3 as j, W as k, G as W, a1 as Z, r as $, j as w, X as ee, Y as ie, o as ae, L as re, Q as te, O as se, p as ne, s as oe, t as fe, N as ge, T as le, U as Be } from "../chunks/index-
|
|
8
|
+
import { A as g, J as l, a2 as B, F as m, a4 as E, z as c, B as I, E as T, K as d, C, D as u, M as A, Z as h, i as p, _ as D, $ as _, a5 as b, n as F, l as S, m as R, P as N, k as y, R as M, f as O, e as G, S as v, u as x, q as L, c as U, d as V, I as z, H, h as J, b as P, a as q, a6 as X, g as K, a0 as Q, V as Y, a3 as j, W as k, G as W, a1 as Z, r as $, j as w, X as ee, Y as ie, o as ae, L as re, Q as te, O as se, p as ne, s as oe, t as fe, N as ge, T as le, U as Be } from "../chunks/index-BHSDE54O.js";
|
|
9
9
|
export {
|
|
10
10
|
g as BRIEFING_ARTIFACT_FORMATS,
|
|
11
11
|
l as BRIEFING_ATTACHMENT_FORMATS,
|
package/dist/chunks/{aggregate-measure-field-DHlDj0Pc.js → aggregate-measure-field-DtKcEjG5.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as n } from "./validators-
|
|
2
|
-
import { s as c } from "./matrix-operation-contract-
|
|
1
|
+
import { h as n } from "./validators-DwhBEvnh.js";
|
|
2
|
+
import { s as c } from "./matrix-operation-contract-RckfqkQm.js";
|
|
3
3
|
function i(r) {
|
|
4
4
|
var a;
|
|
5
5
|
if (!r) return !1;
|
|
@@ -5,27 +5,27 @@ var Qt = (e, t, a) => t.has(e) || Yt("Cannot " + a);
|
|
|
5
5
|
var B = (e, t, a) => (Qt(e, t, "read from private field"), a ? a.call(e) : t.get(e)), oe = (e, t, a) => t.has(e) ? Yt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, a), W = (e, t, a, s) => (Qt(e, t, "write to private field"), s ? s.call(e, a) : t.set(e, a), a);
|
|
6
6
|
import { jsx as d, jsxs as b, Fragment as xe } from "react/jsx-runtime";
|
|
7
7
|
import { useCallback as G, useRef as te, useMemo as We, useEffect as ve, useState as $, useLayoutEffect as _e, useId as Xs } from "react";
|
|
8
|
-
import { u as H, dn as er, ba as tr, bu as ar, ac as sr, dp as rr, dq as nr, ad as Xt, b7 as or, dr as ir, c4 as lr, ds as dr, dt as Rt, du as cr, dv as ur, dw as dt, dx as _a, dy as pr, b_ as qe, cm as ea, dz as Oa, af as mr, cg as Ra, bx as fr, c9 as Pt, bY as Pa, dA as Da, dB as Dt, cH as hr, dC as $a, dD as gr, cJ as yr, bZ as br, dE as vr, dF as xr, cj as wr, ck as Nr, dG as Ir, cl as Sr, cr as Ar, dH as Cr, c6 as pt, cq as Er, cv as Tr, c8 as ja, b5 as Fa, b8 as kr, bo as tt, b3 as La, dI as Mr, dJ as _r, dK as Or, dL as Rr, am as Ba, dM as Pr } from "./semaphor-ready-indicator-
|
|
9
|
-
import { c as Re, B as q, X as He, p as Ua, q as Dr, j as Pe, L as we, I as $t, R as $r, e as za, f as qa, h as Va } from "./style-sheet-parts-
|
|
8
|
+
import { u as H, dn as er, ba as tr, bu as ar, ac as sr, dp as rr, dq as nr, ad as Xt, b7 as or, dr as ir, c4 as lr, ds as dr, dt as Rt, du as cr, dv as ur, dw as dt, dx as _a, dy as pr, b_ as qe, cm as ea, dz as Oa, af as mr, cg as Ra, bx as fr, c9 as Pt, bY as Pa, dA as Da, dB as Dt, cH as hr, dC as $a, dD as gr, cJ as yr, bZ as br, dE as vr, dF as xr, cj as wr, ck as Nr, dG as Ir, cl as Sr, cr as Ar, dH as Cr, c6 as pt, cq as Er, cv as Tr, c8 as ja, b5 as Fa, b8 as kr, bo as tt, b3 as La, dI as Mr, dJ as _r, dK as Or, dL as Rr, am as Ba, dM as Pr } from "./semaphor-ready-indicator-WvgHMnj8.js";
|
|
9
|
+
import { c as Re, B as q, X as He, p as Ua, q as Dr, j as Pe, L as we, I as $t, R as $r, e as za, f as qa, h as Va } from "./style-sheet-parts-ClmvtkSC.js";
|
|
10
10
|
import { g as jr, c as F } from "./pickers-DkqmtnTL.js";
|
|
11
|
-
import "./validators-
|
|
12
|
-
import "./matrix-operation-contract-
|
|
11
|
+
import "./validators-DwhBEvnh.js";
|
|
12
|
+
import "./matrix-operation-contract-RckfqkQm.js";
|
|
13
13
|
import "./analytics-base-schemas-8wz9vqn_.js";
|
|
14
14
|
import { DEFAULT_RESOLVED_VALUE_FORMAT_PREFERENCES as Fr } from "../value-format-preferences/index.js";
|
|
15
|
-
import { K as Lr } from "./bookmark-state-
|
|
15
|
+
import { K as Lr } from "./bookmark-state-BfeKmj5s.js";
|
|
16
16
|
import { n as Br, o as Ge, c as It, A as ze, d as Za } from "./context-CVXTFljo.js";
|
|
17
|
-
import { p as ta, a as Ur, A as Ja } from "./saved-dashboard-context-
|
|
18
|
-
import {
|
|
19
|
-
import { u as Ka, d as Vr } from "./report-preferences-dialog-
|
|
20
|
-
import { i as Zr } from "./stored-dashboard-
|
|
21
|
-
import { w as Jr } from "./selection-filter-compiler-
|
|
17
|
+
import { p as ta, a as Ur, A as Ja } from "./saved-dashboard-context-BFh0oOnF.js";
|
|
18
|
+
import { gR as zr, t as qr, gS as aa } from "./resolve-dashboard-input-context-Bw-DesV2.js";
|
|
19
|
+
import { u as Ka, d as Vr } from "./report-preferences-dialog-DTu3a7ce.js";
|
|
20
|
+
import { i as Zr } from "./stored-dashboard-vlG0Knxi.js";
|
|
21
|
+
import { w as Jr } from "./selection-filter-compiler-DHYsq3yM.js";
|
|
22
22
|
import { c as Wa } from "./visual-choice-DDfHfHvY.js";
|
|
23
23
|
import { n as Kr, v as Ha, o as Wr, t as Hr, x as jt, l as ce, d as Gr, b as Yr, m as Ft, M as mt, r as Qr, w as Xr, h as en, j as tn, s as St, f as an, a as sn } from "./add-to-dashboard-C86FsM8D.js";
|
|
24
24
|
import { safeParseAsync as rn, lazy as nn, unknown as on, union as ln, string as dn, record as cn, object as un, number as pn, null as mn, never as fn, looseObject as hn, literal as gn, instanceof as yn, enum as bn, discriminatedUnion as vn, custom as xn, boolean as wn, array as Nn } from "zod/v4";
|
|
25
25
|
import { toJSONSchema as In } from "zod/v4/core";
|
|
26
|
-
import { aV as Sn, aW as An, aX as Cn, aY as at, aZ as En, a_ as sa, a$ as ra, b0 as na, b1 as oa, b2 as ia, b3 as Tn, ao as kn, am as Mn } from "./pivot-result-contract-expectations-
|
|
27
|
-
import { L as _n } from "./list-filter-
|
|
28
|
-
import { L as la } from "./layout-grid-
|
|
26
|
+
import { aV as Sn, aW as An, aX as Cn, aY as at, aZ as En, a_ as sa, a$ as ra, b0 as na, b1 as oa, b2 as ia, b3 as Tn, ao as kn, am as Mn } from "./pivot-result-contract-expectations-Cnq55Uno.js";
|
|
27
|
+
import { L as _n } from "./list-filter-B67GsjTw.js";
|
|
28
|
+
import { L as la } from "./layout-grid-CYR-LVpl.js";
|
|
29
29
|
function On(e, t, a) {
|
|
30
30
|
const s = Sn(), r = (a == null ? void 0 : a.locale) ?? s.locale ?? An, l = Cn(e, t);
|
|
31
31
|
if (isNaN(l))
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { y as g, A as $ } from "./bookmark-state-
|
|
2
|
-
import { l as C, i as F, f as O } from "./resolve-dashboard-input-context-
|
|
3
|
-
import { l as S, h as v, a as T } from "./stored-dashboard-
|
|
1
|
+
import { y as g, A as $ } from "./bookmark-state-BfeKmj5s.js";
|
|
2
|
+
import { l as C, i as F, f as O } from "./resolve-dashboard-input-context-Bw-DesV2.js";
|
|
3
|
+
import { l as S, h as v, a as T } from "./stored-dashboard-vlG0Knxi.js";
|
|
4
4
|
function G(e) {
|
|
5
5
|
var d, c, f;
|
|
6
6
|
const { saved: o, draft: a, usage: l } = e, m = [], j = S(o);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a7 as Y, f as Pe, r as Le, k as qe } from "./validators-
|
|
1
|
+
import { a7 as Y, f as Pe, r as Le, k as qe } from "./validators-DwhBEvnh.js";
|
|
2
2
|
import { z as l } from "zod";
|
|
3
|
-
import { Q as B, F as Be, r as je } from "./matrix-operation-contract-
|
|
4
|
-
import { D as Ue, C as ze, a as j, r as We, e as Qe } from "./metric-comparison-
|
|
3
|
+
import { Q as B, F as Be, r as je } from "./matrix-operation-contract-RckfqkQm.js";
|
|
4
|
+
import { D as Ue, C as ze, a as j, r as We, e as Qe } from "./metric-comparison-DsE8wdRh.js";
|
|
5
5
|
import "./analytics-base-schemas-8wz9vqn_.js";
|
|
6
6
|
import { a as N } from "./applied-constraints-DU-wndZ7.js";
|
|
7
|
-
import { r as Ge } from "./pivot-result-identity-
|
|
7
|
+
import { r as Ge } from "./pivot-result-identity-b4-ugQhm.js";
|
|
8
8
|
const re = 8, se = 6, V = Object.freeze([]);
|
|
9
9
|
function Ye(e) {
|
|
10
10
|
switch (e.type) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { c as nt, B as U, X as ce, x as Ne, q as hn, a6 as gn, t as at, u as rt, v as st, w as ot, a7 as Ot, F as Oe, s as le, y as ge, z as xe, A as be, D as ve, E as re, e as it, f as lt, h as dt, L as xn, d as bn } from "./style-sheet-parts-
|
|
1
|
+
import { c as nt, B as U, X as ce, x as Ne, q as hn, a6 as gn, t as at, u as rt, v as st, w as ot, a7 as Ot, F as Oe, s as le, y as ge, z as xe, A as be, D as ve, E as re, e as it, f as lt, h as dt, L as xn, d as bn } from "./style-sheet-parts-ClmvtkSC.js";
|
|
2
2
|
import { jsx as t, jsxs as l, Fragment as fe } from "react/jsx-runtime";
|
|
3
3
|
import * as _e from "react";
|
|
4
|
-
import bt, { useMemo as
|
|
5
|
-
import { b8 as ct, u as ut, am as se, c8 as _t, cF as X, cG as Nn, c4 as Te, cH as Ge, cI as Vt, cJ as Cn, b_ as Ve, cK as wn, an as Rt, bG as kn, bH as Sn, bJ as Dn, bZ as Tn, cL as In, o as Ln, cM as $n, cN as An, cO as vt, bY as Et, cP as Fn, cQ as zt, cR as Mt, cS as On, cT as _n, cU as Vn, cV as Rn, cW as En, cX as zn, cY as Mn, bz as qn, cZ as yt, c_ as qt, c$ as Nt, bC as jn, d0 as Gn, d1 as Un, d2 as Bn, d3 as ye, d4 as jt, d5 as Wn, d6 as Kn, d7 as Qn, d8 as
|
|
6
|
-
import { D as Jn } from "./token-types-
|
|
7
|
-
import {
|
|
4
|
+
import bt, { useMemo as P, useState as Y, useRef as $e, useCallback as ne, useEffect as de, forwardRef as vn, Fragment as yn } from "react";
|
|
5
|
+
import { b8 as ct, u as ut, am as se, c8 as _t, cF as X, cG as Nn, c4 as Te, cH as Ge, cI as Vt, cJ as Cn, b_ as Ve, cK as wn, an as Rt, bG as kn, bH as Sn, bJ as Dn, bZ as Tn, cL as In, o as Ln, cM as $n, cN as An, cO as vt, bY as Et, cP as Fn, cQ as zt, cR as Mt, cS as On, cT as _n, cU as Vn, cV as Rn, cW as En, cX as zn, cY as Mn, bz as qn, cZ as yt, c_ as qt, c$ as Nt, bC as jn, d0 as Gn, d1 as Un, d2 as Bn, d3 as ye, d4 as jt, d5 as Wn, d6 as Kn, d7 as Qn, d8 as Pn, d9 as Hn, da as Xe, db as he, dc as Ze, dd as et, de as tt, df as Yn, dg as Re, dh as Ee, di as ze, dj as Me, dk as Gt, dl as Ut, dm as Bt } from "./semaphor-ready-indicator-WvgHMnj8.js";
|
|
6
|
+
import { D as Jn } from "./token-types-eMdcuB6j.js";
|
|
7
|
+
import { gf as Wt, cr as Kt, cq as Qt, gg as Xn, gh as Zn, gi as ea, gj as ta, gk as na, gl as Ae, gm as Ct, gn as wt, go as Ke, gp as Qe, gq as aa, gr as ra, gs as kt, gt as sa, gu as oa, gv as Fe, gw as ia, gx as St, gy as Pt, gz as Ht, gA as Yt, gB as Jt, gC as la, gD as da, gE as Dt, gF as ca, gG as Tt, gH as ua, gI as ma, gJ as pa, gK as fa, gL as Pe, a as qe, gM as He, bn as ha, gN as ga, gO as xa, gP as ba, gQ as va } from "./resolve-dashboard-input-context-Bw-DesV2.js";
|
|
8
8
|
import { c as q } from "./pickers-DkqmtnTL.js";
|
|
9
|
-
import { r as Xt, l as ya, k as Zt,
|
|
10
|
-
import "./matrix-operation-contract-
|
|
9
|
+
import { r as Xt, l as ya, k as Zt, aF as en } from "./validators-DwhBEvnh.js";
|
|
10
|
+
import "./matrix-operation-contract-RckfqkQm.js";
|
|
11
11
|
import "./analytics-base-schemas-8wz9vqn_.js";
|
|
12
12
|
import "../value-format-preferences/index.js";
|
|
13
|
-
import { U as Na } from "./upload-
|
|
14
|
-
import { r as tn } from "./metric-comparison-
|
|
15
|
-
import { r as Ca, j as wa } from "./raw-temporal-value-
|
|
16
|
-
import {
|
|
13
|
+
import { U as Na } from "./upload-ClUeK8F0.js";
|
|
14
|
+
import { r as tn } from "./metric-comparison-DsE8wdRh.js";
|
|
15
|
+
import { r as Ca, j as wa } from "./raw-temporal-value-B9W38mi3.js";
|
|
16
|
+
import { ad as nn } from "./filter-reach-copy-Dxn-mTuG.js";
|
|
17
17
|
/**
|
|
18
18
|
* @license lucide-react v0.453.0 - ISC
|
|
19
19
|
*
|
|
@@ -163,7 +163,7 @@ function $a({
|
|
|
163
163
|
selectedEntities: o,
|
|
164
164
|
onSelectionChange: u
|
|
165
165
|
}) {
|
|
166
|
-
const { semanticDomains: d, isSemanticDomainsLoading: c } = an(), i =
|
|
166
|
+
const { semanticDomains: d, isSemanticDomainsLoading: c } = an(), i = P(() => Fa(d, e), [d, e]), s = P(() => a ? i.filter((f) => f.id === a) : i, [i, a]);
|
|
167
167
|
if (c && s.length === 0)
|
|
168
168
|
return /* @__PURE__ */ t("div", { className: "px-3 py-4 text-[11px] text-muted-foreground", children: "Loading semantic domains…" });
|
|
169
169
|
if (s.length === 0)
|
|
@@ -193,17 +193,17 @@ function Aa({
|
|
|
193
193
|
}) {
|
|
194
194
|
const [d, c] = Y(!1), i = d || n.length > 0 || !!a, { datasets: s, isPending: m } = Nn(
|
|
195
195
|
i ? e.id : void 0
|
|
196
|
-
), f =
|
|
196
|
+
), f = P(() => {
|
|
197
197
|
if (!n) return s;
|
|
198
198
|
const C = n.trim().toLowerCase();
|
|
199
199
|
return s.filter(
|
|
200
200
|
(T) => `${T.label ?? ""} ${T.name ?? ""} ${T.description ?? ""}`.toLowerCase().includes(C)
|
|
201
201
|
);
|
|
202
|
-
}, [s, n]), k = n.length > 0 && f.length > 0, y = d || k || !!a, g = s.length, N =
|
|
202
|
+
}, [s, n]), k = n.length > 0 && f.length > 0, y = d || k || !!a, g = s.length, N = P(() => f.filter(
|
|
203
203
|
(C) => o.some(
|
|
204
204
|
(T) => X(T, Le(C))
|
|
205
205
|
)
|
|
206
|
-
).length, [f, o]), S =
|
|
206
|
+
).length, [f, o]), S = P(
|
|
207
207
|
() => f.map(Le),
|
|
208
208
|
[f]
|
|
209
209
|
), V = S.length > 0 && S.every(
|
|
@@ -334,7 +334,7 @@ function Oa({
|
|
|
334
334
|
selectedEntities: a,
|
|
335
335
|
onSelectionChange: o
|
|
336
336
|
}) {
|
|
337
|
-
const { connections: u, isConnectionsLoading: d } = Vt(), c =
|
|
337
|
+
const { connections: u, isConnectionsLoading: d } = Vt(), c = P(() => n ? u.filter((s) => s.id === n) : u, [u, n]);
|
|
338
338
|
if (d && c.length === 0)
|
|
339
339
|
return /* @__PURE__ */ t("div", { className: "px-3 py-4 text-[11px] text-muted-foreground", children: "Loading connections…" });
|
|
340
340
|
if (c.length === 0)
|
|
@@ -363,7 +363,7 @@ function _a({
|
|
|
363
363
|
onSelectionChange: u
|
|
364
364
|
}) {
|
|
365
365
|
var N;
|
|
366
|
-
const [d, c] = Y(!1), i = d || n.length > 0 || !!a, s = ((N = e.capabilities) == null ? void 0 : N.path) ?? [], m = s.includes("database"), f = s.includes("schema"), k = e.type === "upload", y = e.type === "url", g =
|
|
366
|
+
const [d, c] = Y(!1), i = d || n.length > 0 || !!a, s = ((N = e.capabilities) == null ? void 0 : N.path) ?? [], m = s.includes("database"), f = s.includes("schema"), k = e.type === "upload", y = e.type === "url", g = P(
|
|
367
367
|
() => o.filter((S) => S.connectionId === e.id).length,
|
|
368
368
|
[o, e.id]
|
|
369
369
|
);
|
|
@@ -739,7 +739,7 @@ function mt({
|
|
|
739
739
|
schema_name: a || void 0
|
|
740
740
|
},
|
|
741
741
|
["tables", e.id, n, a]
|
|
742
|
-
), i =
|
|
742
|
+
), i = P(() => {
|
|
743
743
|
var S;
|
|
744
744
|
const g = ((S = c.data) == null ? void 0 : S.tables) ?? [];
|
|
745
745
|
if (!o) return g;
|
|
@@ -841,7 +841,7 @@ function za({
|
|
|
841
841
|
const u = Ue("/v1/datamodels", { connection_id: e.id }, [
|
|
842
842
|
"datamodels",
|
|
843
843
|
e.id
|
|
844
|
-
]), d =
|
|
844
|
+
]), d = P(() => {
|
|
845
845
|
var m;
|
|
846
846
|
const i = ((m = u.data) == null ? void 0 : m.datamodels) ?? [];
|
|
847
847
|
if (!n) return i;
|
|
@@ -950,7 +950,7 @@ function on({
|
|
|
950
950
|
] });
|
|
951
951
|
}
|
|
952
952
|
function Ue(e, n, a, o = !0) {
|
|
953
|
-
const { tokenProps: u } = ct(), d = ut((i) => i.authToken), c =
|
|
953
|
+
const { tokenProps: u } = ct(), d = ut((i) => i.authToken), c = P(
|
|
954
954
|
() => Object.fromEntries(
|
|
955
955
|
Object.entries(n).filter(([, i]) => i !== void 0)
|
|
956
956
|
),
|
|
@@ -1111,7 +1111,7 @@ function Ir({
|
|
|
1111
1111
|
);
|
|
1112
1112
|
},
|
|
1113
1113
|
[]
|
|
1114
|
-
),
|
|
1114
|
+
), H = () => {
|
|
1115
1115
|
var ae, r;
|
|
1116
1116
|
const A = Ye(s) ?? N ?? I;
|
|
1117
1117
|
if (A === "semanticDomain") {
|
|
@@ -1146,7 +1146,7 @@ function Ir({
|
|
|
1146
1146
|
});
|
|
1147
1147
|
}
|
|
1148
1148
|
n(!1);
|
|
1149
|
-
}, { semanticDomains: O } = an(), { connections: z } = Vt(), B =
|
|
1149
|
+
}, { semanticDomains: O } = an(), { connections: z } = Vt(), B = P(
|
|
1150
1150
|
() => new Map(
|
|
1151
1151
|
O.map((A) => [
|
|
1152
1152
|
A.id,
|
|
@@ -1299,7 +1299,7 @@ function Ir({
|
|
|
1299
1299
|
"button",
|
|
1300
1300
|
{
|
|
1301
1301
|
type: "button",
|
|
1302
|
-
onClick:
|
|
1302
|
+
onClick: H,
|
|
1303
1303
|
disabled: Ce,
|
|
1304
1304
|
className: q(
|
|
1305
1305
|
"inline-flex h-7 items-center gap-1.5 rounded-control bg-primary px-2.5 text-[12px] font-medium text-primary-foreground transition-colors hover:bg-primary/90",
|
|
@@ -1584,13 +1584,13 @@ function Ka(e) {
|
|
|
1584
1584
|
/* @__PURE__ */ l("div", { className: "min-w-0 space-y-0.5", children: [
|
|
1585
1585
|
/* @__PURE__ */ t("div", { className: "text-[13px] font-medium text-foreground", children: n.label }),
|
|
1586
1586
|
/* @__PURE__ */ l("div", { className: "text-[12px] text-muted-foreground", children: [
|
|
1587
|
-
|
|
1587
|
+
Pt(n.type).label,
|
|
1588
1588
|
" ·",
|
|
1589
1589
|
" ",
|
|
1590
1590
|
Yt(n),
|
|
1591
1591
|
" ·",
|
|
1592
1592
|
" ",
|
|
1593
|
-
|
|
1593
|
+
Ht(a, n.placement)
|
|
1594
1594
|
] }),
|
|
1595
1595
|
o ? /* @__PURE__ */ t("div", { className: "text-[12px] text-muted-foreground", children: o }) : null
|
|
1596
1596
|
] })
|
|
@@ -1756,26 +1756,26 @@ function $t(e) {
|
|
|
1756
1756
|
)
|
|
1757
1757
|
] });
|
|
1758
1758
|
}
|
|
1759
|
-
function
|
|
1759
|
+
function Pa(e) {
|
|
1760
1760
|
const n = Ae(
|
|
1761
1761
|
e.scope,
|
|
1762
1762
|
e.existingControls,
|
|
1763
1763
|
e.reservedIds
|
|
1764
1764
|
), a = e.type === n.type ? {
|
|
1765
1765
|
...n,
|
|
1766
|
-
label:
|
|
1766
|
+
label: Pe[e.type]
|
|
1767
1767
|
} : {
|
|
1768
1768
|
...Jt({
|
|
1769
1769
|
controls: [
|
|
1770
1770
|
{
|
|
1771
1771
|
...n,
|
|
1772
|
-
label:
|
|
1772
|
+
label: Pe[e.type]
|
|
1773
1773
|
}
|
|
1774
1774
|
],
|
|
1775
1775
|
controlId: n.id,
|
|
1776
1776
|
nextType: e.type
|
|
1777
1777
|
}).controls[0],
|
|
1778
|
-
label:
|
|
1778
|
+
label: Pe[e.type]
|
|
1779
1779
|
};
|
|
1780
1780
|
return {
|
|
1781
1781
|
step: 2,
|
|
@@ -1801,7 +1801,7 @@ function Ar({
|
|
|
1801
1801
|
onCreateFlowActiveChange: N,
|
|
1802
1802
|
onCreateFlowComplete: S
|
|
1803
1803
|
}) {
|
|
1804
|
-
const V =
|
|
1804
|
+
const V = P(
|
|
1805
1805
|
() => new Set(a || []),
|
|
1806
1806
|
[a]
|
|
1807
1807
|
), _ = la(e), Q = na(e), [C, T] = Y(
|
|
@@ -1813,7 +1813,7 @@ function Ar({
|
|
|
1813
1813
|
step: 1,
|
|
1814
1814
|
control: Ae(e, n, Array.from(V))
|
|
1815
1815
|
} : null
|
|
1816
|
-
), $ = $e({}), D = $e(void 0), v = $e(c), h =
|
|
1816
|
+
), $ = $e({}), D = $e(void 0), v = $e(c), h = P(() => {
|
|
1817
1817
|
const r = Ct({ scope: e, card: y });
|
|
1818
1818
|
if (!g)
|
|
1819
1819
|
return r;
|
|
@@ -1835,13 +1835,13 @@ function Ar({
|
|
|
1835
1835
|
), w = ne(
|
|
1836
1836
|
(r) => e === "dashboard" && (r === "field_selector" || r === "metric_selector"),
|
|
1837
1837
|
[e]
|
|
1838
|
-
),
|
|
1838
|
+
), H = P(
|
|
1839
1839
|
() => p ? wt(
|
|
1840
1840
|
f || [],
|
|
1841
1841
|
p.control.type
|
|
1842
1842
|
) : [],
|
|
1843
1843
|
[p, f]
|
|
1844
|
-
), O =
|
|
1844
|
+
), O = P(() => {
|
|
1845
1845
|
if (!p)
|
|
1846
1846
|
return {
|
|
1847
1847
|
fields: s || [],
|
|
@@ -2198,7 +2198,7 @@ function Ar({
|
|
|
2198
2198
|
type: "button",
|
|
2199
2199
|
className: "rounded-control border border-border/60 bg-background px-3 py-2.5 text-left transition-colors hover:bg-muted/40 focus-visible:bg-muted/40 focus-visible:outline-none",
|
|
2200
2200
|
onClick: () => I(
|
|
2201
|
-
|
|
2201
|
+
Pa({
|
|
2202
2202
|
scope: e,
|
|
2203
2203
|
existingControls: n,
|
|
2204
2204
|
reservedIds: Array.from(V),
|
|
@@ -2253,7 +2253,7 @@ function Ar({
|
|
|
2253
2253
|
),
|
|
2254
2254
|
/* @__PURE__ */ t("p", { className: "text-[12px] text-muted-foreground", children: "Choose which cards should respond to this shared control." })
|
|
2255
2255
|
] }),
|
|
2256
|
-
|
|
2256
|
+
H.length === 0 ? /* @__PURE__ */ t("div", { className: "rounded-control border border-border/60 bg-muted/30 px-3 py-2.5 text-[12px] text-muted-foreground", children: "No eligible cards are available yet. Add compatible metrics or group-by fields to cards first." }) : /* @__PURE__ */ t("div", { className: "space-y-1 rounded-control border border-border/60 bg-background p-2", children: H.map((r) => {
|
|
2257
2257
|
const x = (p.selectedCardIds || []).includes(r.cardId);
|
|
2258
2258
|
return /* @__PURE__ */ l(
|
|
2259
2259
|
"label",
|
|
@@ -2289,7 +2289,7 @@ function Ar({
|
|
|
2289
2289
|
/* @__PURE__ */ t(
|
|
2290
2290
|
vt,
|
|
2291
2291
|
{
|
|
2292
|
-
participants:
|
|
2292
|
+
participants: H,
|
|
2293
2293
|
selectedCardIds: p.selectedCardIds || [],
|
|
2294
2294
|
control: p.control,
|
|
2295
2295
|
selected: p.matrixTargetIds,
|
|
@@ -2457,8 +2457,8 @@ function Ar({
|
|
|
2457
2457
|
/* @__PURE__ */ l("div", { className: "min-w-0", children: [
|
|
2458
2458
|
/* @__PURE__ */ l("div", { className: "flex flex-wrap items-center gap-1.5", children: [
|
|
2459
2459
|
/* @__PURE__ */ t("span", { className: "truncate text-[13px] font-medium text-foreground", children: r.label || "Untitled control" }),
|
|
2460
|
-
/* @__PURE__ */ t("span", { className: M, children:
|
|
2461
|
-
/* @__PURE__ */ t("span", { className: M, children:
|
|
2460
|
+
/* @__PURE__ */ t("span", { className: M, children: Pt(r.type).label }),
|
|
2461
|
+
/* @__PURE__ */ t("span", { className: M, children: Ht(e, r.placement) })
|
|
2462
2462
|
] }),
|
|
2463
2463
|
/* @__PURE__ */ l("div", { className: "mt-0.5 text-[12px] text-muted-foreground", children: [
|
|
2464
2464
|
Yt(r),
|
|
@@ -2765,7 +2765,7 @@ function pt(e, n) {
|
|
|
2765
2765
|
const a = dn(e);
|
|
2766
2766
|
return n.relativeMeta ? { ...a, value: n.value, relativeMeta: n.relativeMeta } : { ...a, value: n.value };
|
|
2767
2767
|
}
|
|
2768
|
-
function
|
|
2768
|
+
function Ha(e, n) {
|
|
2769
2769
|
const a = n === "in" || n === "not in" || n === "between" || n === "not between" ? [] : n === "isNull" || n === "isNotNull" ? null : "";
|
|
2770
2770
|
return pt({ ...e, operator: n }, { value: a });
|
|
2771
2771
|
}
|
|
@@ -2934,9 +2934,9 @@ function Ja({
|
|
|
2934
2934
|
let w = v.value;
|
|
2935
2935
|
if (v.latestValue && E === "=")
|
|
2936
2936
|
return `${h} = ${qt} /* the latest value each time the card runs */`;
|
|
2937
|
-
const
|
|
2938
|
-
if (
|
|
2939
|
-
const O = Ca(E,
|
|
2937
|
+
const H = Xt(v.relativeMeta);
|
|
2938
|
+
if (H && ya(E) && Zt(E, H)) {
|
|
2939
|
+
const O = Ca(E, H), { label: z, range: B } = Nt(H, {
|
|
2940
2940
|
tz: (_ == null ? void 0 : _.tz) ?? "UTC",
|
|
2941
2941
|
weekStart: (_ == null ? void 0 : _.weekStart) ?? 1,
|
|
2942
2942
|
anchor: (_ == null ? void 0 : _.anchor) ?? "now"
|
|
@@ -2947,13 +2947,13 @@ function Ja({
|
|
|
2947
2947
|
}
|
|
2948
2948
|
return `${h} ${E} ${j} /* the date follows your calendar each time the card runs */`;
|
|
2949
2949
|
}
|
|
2950
|
-
if (
|
|
2951
|
-
const O = E === "between" ? "BETWEEN" : "NOT BETWEEN", { label: z, range: B } = Nt(
|
|
2950
|
+
if (H && (E === "between" || E === "not between")) {
|
|
2951
|
+
const O = E === "between" ? "BETWEEN" : "NOT BETWEEN", { label: z, range: B } = Nt(H, {
|
|
2952
2952
|
tz: (_ == null ? void 0 : _.tz) ?? "UTC",
|
|
2953
2953
|
weekStart: (_ == null ? void 0 : _.weekStart) ?? 1,
|
|
2954
2954
|
anchor: (_ == null ? void 0 : _.anchor) ?? "now"
|
|
2955
2955
|
});
|
|
2956
|
-
return B ? `${h} ${O} '${B.start.toISOString()}' AND '${B.end.toISOString()}' /* ${z}: dates update each time the card runs */` : tn(
|
|
2956
|
+
return B ? `${h} ${O} '${B.start.toISOString()}' AND '${B.end.toISOString()}' /* ${z}: dates update each time the card runs */` : tn(H).dataAnchored ? `${h} ${O} ${z} /* dates count back from the latest data each time the card runs */` : `${h} ${O} ${z} /* dates follow your calendar each time the card runs */`;
|
|
2957
2957
|
}
|
|
2958
2958
|
if (v.field.dataType === "string" && !["in", "not in"].includes(v.operator))
|
|
2959
2959
|
typeof w == "string" ? w = `'${w}'` : Array.isArray(w) && (w = `'${w.join(", ")}'`);
|
|
@@ -2993,7 +2993,7 @@ function Ja({
|
|
|
2993
2993
|
(z) => D(z)
|
|
2994
2994
|
), w = [...h, ...E].filter(Boolean);
|
|
2995
2995
|
if (w.length === 0) return "";
|
|
2996
|
-
const
|
|
2996
|
+
const H = w.join(` ${v.logicalOperator} `), O = w.length > 1 ? `(${H})` : H;
|
|
2997
2997
|
return v.negate ? `NOT ${O}` : O;
|
|
2998
2998
|
};
|
|
2999
2999
|
return D(I);
|
|
@@ -3099,13 +3099,13 @@ function cn(e, n) {
|
|
|
3099
3099
|
(f) => f.card.connectionId
|
|
3100
3100
|
), u = se(
|
|
3101
3101
|
(f) => f.selectedConnectionId
|
|
3102
|
-
), d = n ? n.dataSource : a, c = n ? n.connectionId || ((m = n.dataSource) == null ? void 0 : m.connectionId) : u || (a == null ? void 0 : a.connectionId) || o, i =
|
|
3102
|
+
), d = n ? n.dataSource : a, c = n ? n.connectionId || ((m = n.dataSource) == null ? void 0 : m.connectionId) : u || (a == null ? void 0 : a.connectionId) || o, i = P(
|
|
3103
3103
|
() => ({
|
|
3104
3104
|
id: `card-filter-option:${e.id}`,
|
|
3105
3105
|
...Ba(e, { dataSource: d, connectionId: c })
|
|
3106
3106
|
}),
|
|
3107
3107
|
[c, d, e]
|
|
3108
|
-
), s =
|
|
3108
|
+
), s = P(
|
|
3109
3109
|
() => Un({ filter: i }),
|
|
3110
3110
|
[i]
|
|
3111
3111
|
);
|
|
@@ -3290,32 +3290,32 @@ function nr({
|
|
|
3290
3290
|
onChange: d,
|
|
3291
3291
|
className: c
|
|
3292
3292
|
}) {
|
|
3293
|
-
const i = Wn(), s = Kn(), m = n === "between" || n === "not between", f = Zt(n), k = f ? a : void 0, y =
|
|
3293
|
+
const i = Wn(), s = Kn(), m = n === "between" || n === "not between", f = Zt(n), k = f ? a : void 0, y = P(() => {
|
|
3294
3294
|
if (!m || !a) return;
|
|
3295
3295
|
const C = s(a);
|
|
3296
3296
|
return {
|
|
3297
3297
|
...C,
|
|
3298
|
-
tooltip: C.dates ? void 0 : tn(a).dataAnchored ? Qn :
|
|
3298
|
+
tooltip: C.dates ? void 0 : tn(a).dataAnchored ? Qn : Pn
|
|
3299
3299
|
};
|
|
3300
|
-
}, [m, a, s]), g =
|
|
3300
|
+
}, [m, a, s]), g = P(() => {
|
|
3301
3301
|
if (m) {
|
|
3302
3302
|
if (y) {
|
|
3303
3303
|
const { range: C } = y;
|
|
3304
3304
|
return C ? { from: C.start, to: C.end } : void 0;
|
|
3305
3305
|
}
|
|
3306
3306
|
if (e && Array.isArray(e) && e.length === 2) {
|
|
3307
|
-
const C =
|
|
3307
|
+
const C = He(e[0], i, "start"), T = He(e[1], i, "end");
|
|
3308
3308
|
if (C && T)
|
|
3309
3309
|
return { from: C, to: T };
|
|
3310
3310
|
}
|
|
3311
3311
|
}
|
|
3312
|
-
}, [e, m, y, i]), N =
|
|
3312
|
+
}, [e, m, y, i]), N = P(() => {
|
|
3313
3313
|
if (!e || m || o) return;
|
|
3314
3314
|
const C = Array.isArray(e) ? e[0] : e;
|
|
3315
|
-
return
|
|
3315
|
+
return He(C, i, "start");
|
|
3316
3316
|
}, [e, m, o, i]), S = (C) => n === "<=" || n === ">" ? xa(C, i) : ba(C, i);
|
|
3317
3317
|
return /* @__PURE__ */ t(
|
|
3318
|
-
|
|
3318
|
+
Hn,
|
|
3319
3319
|
{
|
|
3320
3320
|
value: m ? g : void 0,
|
|
3321
3321
|
selectionMode: m ? "range" : "single",
|
|
@@ -3555,7 +3555,7 @@ function pn({
|
|
|
3555
3555
|
onValueChange: (T) => m(
|
|
3556
3556
|
a,
|
|
3557
3557
|
e.id,
|
|
3558
|
-
|
|
3558
|
+
Ha(e, T)
|
|
3559
3559
|
),
|
|
3560
3560
|
children: [
|
|
3561
3561
|
/* @__PURE__ */ t(
|
|
@@ -3917,7 +3917,7 @@ function Or({
|
|
|
3917
3917
|
})
|
|
3918
3918
|
), [I, $] = Y(!1), D = (h, E = 0, w) => {
|
|
3919
3919
|
if (E === 0) {
|
|
3920
|
-
const
|
|
3920
|
+
const H = h.conditions.length === 0 && h.groups.length === 0;
|
|
3921
3921
|
return /* @__PURE__ */ l("div", { children: [
|
|
3922
3922
|
/* @__PURE__ */ t(
|
|
3923
3923
|
Re,
|
|
@@ -3988,7 +3988,7 @@ function Or({
|
|
|
3988
3988
|
)
|
|
3989
3989
|
}
|
|
3990
3990
|
),
|
|
3991
|
-
|
|
3991
|
+
H && !i && /* @__PURE__ */ t("p", { className: "rounded-control border border-dashed border-border/60 px-3 py-2 text-center text-[11.5px] text-muted-foreground", children: "No filters yet. Add a condition to limit the rows this card shows." }),
|
|
3992
3992
|
/* @__PURE__ */ t(
|
|
3993
3993
|
fn,
|
|
3994
3994
|
{
|
package/dist/chunks/{comparison-window-caption-DmMFtNP5.js → comparison-window-caption-3bum5j00.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { aI as Ge, i as Xe, j as U, m as qe, S as $e, aJ as ae, aK as Pe, aL as Ye, aM as Ie, aN as De, am as Le, ao as Me, at as We, ay as Je, au as Ze, f as Qe, a as B, a6 as de, a4 as et, an as tt, o as fe, s as rt, aF as nt, Y as pe, _ as ot, a0 as at, a7 as st, aO as I, aP as K } from "./pivot-result-contract-expectations-
|
|
1
|
+
import { aI as Ge, i as Xe, j as U, m as qe, S as $e, aJ as ae, aK as Pe, aL as Ye, aM as Ie, aN as De, am as Le, ao as Me, at as We, ay as Je, au as Ze, f as Qe, a as B, a6 as de, a4 as et, an as tt, o as fe, s as rt, aF as nt, Y as pe, _ as ot, a0 as at, a7 as st, aO as I, aP as K } from "./pivot-result-contract-expectations-Cnq55Uno.js";
|
|
2
2
|
import { h as Y, e as it, p as lt, k as ct } from "./export-file-format-C-tJsxsf.js";
|
|
3
|
-
import {
|
|
4
|
-
import "./matrix-operation-contract-
|
|
3
|
+
import { aX as j, a7 as ut, m as X, aW as mt, r as dt } from "./validators-DwhBEvnh.js";
|
|
4
|
+
import "./matrix-operation-contract-RckfqkQm.js";
|
|
5
5
|
import "./analytics-base-schemas-8wz9vqn_.js";
|
|
6
6
|
import { readPdfCapacityFacts as ft, PDF_SAFETY_LIMIT_EXCEEDED as se, PDF_CAPACITY as k, PDF_NUMBER_COLUMN_TOO_WIDE as ke, getUtf8ByteLength as pt, FAST_PDF_POLICY as ht, isPdfCapacityRefusalCode as bt } from "../pdf-export-policy/index.js";
|
|
7
|
-
import { w as yt, v as gt } from "./raw-temporal-value-
|
|
8
|
-
import { c as wt, b as he } from "./pivot-result-identity-
|
|
7
|
+
import { w as yt, v as gt } from "./raw-temporal-value-B9W38mi3.js";
|
|
8
|
+
import { c as wt, b as he } from "./pivot-result-identity-b4-ugQhm.js";
|
|
9
9
|
function xt(e, t, r) {
|
|
10
10
|
const n = {
|
|
11
11
|
...t,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as a, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import { E as o, F as i, S as d, B as s, a as c, U as l, D as t, A as h, C as f, b } from "./semaphor-ready-indicator-
|
|
2
|
+
import { E as o, F as i, S as d, B as s, a as c, U as l, D as t, A as h, C as f, b } from "./semaphor-ready-indicator-WvgHMnj8.js";
|
|
3
3
|
function u(e) {
|
|
4
4
|
if (typeof window > "u")
|
|
5
5
|
return null;
|