react-semaphor 0.1.556 → 0.1.558
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/DATA_APP_SDK.md +6 -29
- package/dist/analytics-protocol/index.js +19 -20
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +28 -29
- package/dist/briefings/index.js +55 -56
- package/dist/chunks/{assistant-chat-C7Acww1T.js → assistant-chat-BCWoP6Rf.js} +78 -80
- package/dist/chunks/{bookmark-state-7iZErWnR.js → bookmark-state-PjQpxbG7.js} +3 -3
- package/dist/chunks/{braces-o9UiRQes.js → braces-D5Ucy7q1.js} +1 -1
- package/dist/chunks/{comparison-window-caption-BseG5aOZ.js → comparison-window-caption-Dc7BaCMz.js} +186 -189
- package/dist/chunks/{custom-visual-inputs-ChuKjx27.js → custom-visual-inputs-B-DLRGrV.js} +1 -2
- package/dist/chunks/{dashboard-briefing-launcher-qrYd2zkN.js → dashboard-briefing-launcher-Coqghdn6.js} +148 -150
- package/dist/chunks/{dashboard-controls-BsapXI2H.js → dashboard-controls-BYWSM2RM.js} +170 -172
- package/dist/chunks/{dashboard-json-CJqPqYnI.js → dashboard-json-pPTB5gj0.js} +20 -21
- package/dist/chunks/{dashboard-BU6rE5kV.js → dashboard-wK6Bai4V.js} +1 -1
- package/dist/chunks/{document-dashboard-inputs-BNSprf5_.js → document-dashboard-inputs-PY_7Xm55.js} +31 -31
- package/dist/chunks/{edit-dashboard-visual-CjAdV-WG.js → edit-dashboard-visual-BODxuUeq.js} +7505 -7990
- package/dist/chunks/{filter-reach-copy-BTrqtFkh.js → filter-reach-copy-BvJH9JO-.js} +148 -149
- package/dist/chunks/{filter-value-text-CJTJDCym.js → filter-value-text-CUBpotVN.js} +3 -3
- package/dist/chunks/{global-date-filter-utils-CTVf3dG3.js → global-date-filter-utils-BsFqnnbA.js} +1396 -1391
- package/dist/chunks/{index-dIV-Gdsb.js → index-CJW5BdWT.js} +23 -24
- package/dist/chunks/{index-B_vIRa-q.js → index-DP_wQl0v.js} +70 -72
- package/dist/chunks/{layout-grid-Bgzth8vd.js → layout-grid-CkoXmv0L.js} +1 -1
- package/dist/chunks/{list-filter-DsaTbM3J.js → list-filter-B4i25kuc.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-Cg0ioFGQ.js → matrix-analytical-definition-4GTUDheD.js} +3 -3
- package/dist/chunks/{matrix-card-yYibXSw1.js → matrix-card-fS_4O7zA.js} +2 -2
- package/dist/chunks/{matrix-member-presentation-DEEauKXC.js → matrix-member-presentation-Dj7HaAHC.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-C1G6AJNh.js → matrix-operation-contract-CpgLZ7E5.js} +21 -21
- package/dist/chunks/{metric-comparison-BfcmwxM1.js → metric-comparison-C8LY7GG5.js} +1 -1
- package/dist/chunks/{palette-D10o_yYX.js → palette-stlpjVk4.js} +1 -1
- package/dist/chunks/{matrix-formatter-C2kjsCDf.js → pivot-result-contract-expectations-DMk-mKhG.js} +444 -395
- package/dist/chunks/{pivot-result-identity-CWi5WrrY.js → pivot-result-identity-CrQ54Xbj.js} +1 -1
- package/dist/chunks/{raw-temporal-presentation-DWzLIHc3.js → raw-temporal-presentation-BI2z2LlB.js} +24 -25
- package/dist/chunks/report-preferences-dialog-Dc-YyVwf.js +2109 -0
- package/dist/chunks/{report-runtime-context-BgM-iNWB.js → report-runtime-context-CohdtiMg.js} +1 -1
- package/dist/chunks/{resolve-dashboard-input-context-Df8V5QHW.js → resolve-dashboard-input-context-BZYI1hB0.js} +225 -227
- package/dist/chunks/{save-CfJpQQ68.js → save-C1dgxgAu.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-VvXI6r03.js → saved-dashboard-context-CIBoMq46.js} +8 -8
- package/dist/chunks/selection-reducer-_d6aKJnj.js +46 -0
- package/dist/chunks/{semaphor-ready-indicator-fejZmdq9.js → semaphor-ready-indicator-ERTLU7B4.js} +43497 -49629
- package/dist/chunks/{shelf-drop-preview-context-BuTCXe-S.js → shelf-drop-preview-context-fEnx6iL_.js} +6 -6
- package/dist/chunks/{source-entity-resolution-B46EZIzX.js → source-entity-resolution-DXW1HpKf.js} +1 -1
- package/dist/chunks/{switch-Bq92UGId.js → switch-BqUan2mN.js} +1430 -1341
- package/dist/chunks/{table-export-sheet-noKl8-en.js → table-export-sheet-CTCTA_bd.js} +1 -1
- package/dist/chunks/{table-settings-PpINOzw8.js → table-settings-DF1gdVQR.js} +2 -2
- package/dist/chunks/temporal-input-presentation-DoSniQj1.js +2939 -0
- package/dist/chunks/{token-types--0bgRCaO.js → token-types-DFyLflLY.js} +1 -1
- package/dist/chunks/{upload-BFX7apKV.js → upload-DcoyjkRV.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-Cz-ve64t.js → use-create-flow-overlay-state-xhb9YFg-.js} +124 -126
- package/dist/chunks/{validators-CZo_H4E6.js → validators-hmfNNQz8.js} +5 -5
- package/dist/chunks/zoned-wall-clock-E35Frf9v.js +191 -0
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +131 -132
- package/dist/data-app-sdk/index.js +788 -4153
- 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 +230 -233
- package/dist/index.js +217 -218
- package/dist/layouts/index.js +1 -1
- 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/data-app-sdk/contracts.d.ts +0 -146
- package/dist/types/data-app-sdk/index.d.ts +0 -2
- package/dist/types/index.js +6 -6
- package/dist/types/lib/charts/types.d.ts +1 -2
- package/dist/types/lib/types/common-types.d.ts +0 -10
- package/dist/types/shared/dashboard-authoring/filter-model/filter-definitions.d.ts +1 -7
- package/package.json +1 -4
- package/src/data-app-sdk/README.md +7 -31
- package/dist/chunks/pivot-result-contract-expectations-fKBHFPfz.js +0 -56
- package/dist/chunks/raw-temporal-contract-CjHaUIsE.js +0 -64
- package/dist/chunks/report-preferences-dialog-D_wrbIQt.js +0 -2261
- package/dist/chunks/selection-reducer-By4CSmEF.js +0 -111
- package/dist/chunks/temporal-bucket-DzyadxVY.js +0 -2071
- package/dist/chunks/temporal-input-presentation-CJWS4d0L.js +0 -879
- package/dist/chunks/x-4f5U2XwU.js +0 -100
- package/dist/chunks/zoned-wall-clock-MulfA26h.js +0 -129
- package/dist/types/data-app-sdk/devtools/index.d.ts +0 -49
- package/dist/types/data-app-sdk/devtools.d.ts +0 -1
package/dist/chunks/{saved-dashboard-context-VvXI6r03.js → saved-dashboard-context-CIBoMq46.js}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var Z = Object.defineProperty;
|
|
2
2
|
var G = (e, t, r) => t in e ? Z(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var k = (e, t, r) => G(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
|
-
import { c as Q, e as M, r as U, l as H, b as K, p as E, a as W } from "./resolve-dashboard-input-context-
|
|
5
|
-
import { r as X, a as Y, b as L, c as ee, d as te, g as re } from "./document-dashboard-inputs-
|
|
6
|
-
import { w as v } from "./table-settings-
|
|
7
|
-
import { s as ae, n as ne, g as se, d as oe, a as ie, i as de, b as le } from "./global-date-filter-utils-
|
|
4
|
+
import { c as Q, e as M, r as U, l as H, b as K, p as E, a as W } from "./resolve-dashboard-input-context-BZYI1hB0.js";
|
|
5
|
+
import { r as X, a as Y, b as L, c as ee, d as te, g as re } from "./document-dashboard-inputs-PY_7Xm55.js";
|
|
6
|
+
import { w as v } from "./table-settings-DF1gdVQR.js";
|
|
7
|
+
import { s as ae, n as ne, g as se, d as oe, a as ie, i as de, b as le } from "./global-date-filter-utils-BsFqnnbA.js";
|
|
8
8
|
import { f as g, A as P, c as ce, d as ue, e as D } from "./context-DVy4HOU0.js";
|
|
9
|
-
import { a as me, T as fe, P as pe, o as I, d as O, b as _ } from "./filter-value-text-
|
|
10
|
-
import { v as he, ad as ge } from "./validators-
|
|
11
|
-
import { b as be } from "./metric-comparison-
|
|
12
|
-
import { i as Ce } from "./custom-visual-inputs-
|
|
9
|
+
import { a as me, T as fe, P as pe, o as I, d as O, b as _ } from "./filter-value-text-CUBpotVN.js";
|
|
10
|
+
import { v as he, ad as ge } from "./validators-hmfNNQz8.js";
|
|
11
|
+
import { b as be } from "./metric-comparison-C8LY7GG5.js";
|
|
12
|
+
import { i as Ce } from "./custom-visual-inputs-B-DLRGrV.js";
|
|
13
13
|
function Ie(e) {
|
|
14
14
|
const t = e.qualifiedFieldName || e.name;
|
|
15
15
|
return e.label && e.label !== t ? `${e.label} (field ${t})` : t;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { s as p, S as h } from "./matrix-operation-contract-CpgLZ7E5.js";
|
|
2
|
+
function f(e, l, t) {
|
|
3
|
+
return e.length === 1 && t(e[0]) === t(l) ? { tuples: [], outcome: "cleared" } : { tuples: [l], outcome: "selected" };
|
|
4
|
+
}
|
|
5
|
+
function S(e, l) {
|
|
6
|
+
const t = /* @__PURE__ */ new Set();
|
|
7
|
+
return e.filter((n) => {
|
|
8
|
+
const r = l(n);
|
|
9
|
+
return t.has(r) ? !1 : (t.add(r), !0);
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function x(e, l, t, n) {
|
|
13
|
+
const r = n.limit ?? h, o = n.tupleKey ?? p;
|
|
14
|
+
if (t.kind === "clear") return { tuples: [], outcome: "cleared" };
|
|
15
|
+
if (t.kind === "replace" || !n.multipleSelection)
|
|
16
|
+
return f(e, l, o);
|
|
17
|
+
if (t.kind === "toggle") {
|
|
18
|
+
const a = e.findIndex(
|
|
19
|
+
(c) => o(c) === o(l)
|
|
20
|
+
);
|
|
21
|
+
if (a >= 0) {
|
|
22
|
+
const c = e.filter((y, m) => m !== a);
|
|
23
|
+
return { tuples: c, outcome: c.length ? "removed" : "cleared" };
|
|
24
|
+
}
|
|
25
|
+
return e.length >= r ? { tuples: e, outcome: "limitReached" } : { tuples: [...e, l], outcome: "added" };
|
|
26
|
+
}
|
|
27
|
+
const d = (a) => t.ordered.findIndex(
|
|
28
|
+
(c) => o(c) === o(a)
|
|
29
|
+
), i = d(t.anchor), u = d(l);
|
|
30
|
+
if (i < 0 || u < 0) return f(e, l, o);
|
|
31
|
+
const s = S(
|
|
32
|
+
t.ordered.slice(Math.min(i, u), Math.max(i, u) + 1),
|
|
33
|
+
o
|
|
34
|
+
);
|
|
35
|
+
return s.length <= r ? { tuples: s, outcome: "rangeSelected" } : {
|
|
36
|
+
tuples: i <= u ? s.slice(0, r) : s.slice(-r),
|
|
37
|
+
outcome: "limitReached"
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function k(e, l, t) {
|
|
41
|
+
return t.multipleSelection ? e.metaKey || e.ctrlKey ? "toggle" : e.shiftKey ? l === "table" && t.hasAnchor ? "range" : "toggle" : e.pointerType === "touch" && t.checkboxesShown ? "toggle" : "replace" : "replace";
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
k as g,
|
|
45
|
+
x as r
|
|
46
|
+
};
|