react-semaphor 0.1.582 → 0.1.584
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 +183 -178
- 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-DsFXETpI.js +22 -0
- package/dist/chunks/{assistant-chat-CVtxjVEH.js → assistant-chat-nmycV1Se.js} +12 -12
- package/dist/chunks/{bookmark-impact-BDSeeRy7.js → bookmark-impact-CI3gmxi0.js} +2 -2
- package/dist/chunks/{bookmark-state-BEl_G9vr.js → bookmark-state-D9-RFkDg.js} +22 -22
- package/dist/chunks/{card-filter-builder-CMZ5nwdC.js → card-filter-builder-C7QyPqRy.js} +145 -145
- package/dist/chunks/{comparison-window-caption-sRFtnX1q.js → comparison-window-caption-BAnsTI8y.js} +291 -305
- package/dist/chunks/{dashboard-briefing-launcher-C9wf8KhD.js → dashboard-briefing-launcher-DXs0XA1O.js} +13 -13
- package/dist/chunks/{dashboard-controls-PDb9Gap5.js → dashboard-controls-6Zoo8d8Y.js} +84 -84
- package/dist/chunks/{dashboard-BNn7fpDY.js → dashboard-inJy_V78.js} +1 -1
- package/dist/chunks/{dashboard-json-CvtVy2UH.js → dashboard-json-D5eJhVA9.js} +4 -4
- package/dist/chunks/{dates-B42fboJU.js → dates-B3_GWc_Y.js} +8 -8
- package/dist/chunks/{edit-dashboard-visual-Cat0RWPp.js → edit-dashboard-visual-DR03SYeW.js} +17 -17
- package/dist/chunks/{filter-reach-copy-C-RH1rVx.js → filter-reach-copy-CZwzrxBp.js} +1403 -1240
- package/dist/chunks/{filter-value-text-DXGYypEd.js → filter-value-text-DtOvqcjn.js} +8 -8
- package/dist/chunks/{index-JWLo4R_t.js → index-BgT1L0p5.js} +5 -5
- package/dist/chunks/{layout-grid-8rR-LPTk.js → layout-grid-9nSS2SL-.js} +1 -1
- package/dist/chunks/{list-filter-C1-uTgjR.js → list-filter-CfMPI6v4.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-dkS8szLM.js → matrix-analytical-definition-Cs2v43FM.js} +3 -3
- package/dist/chunks/{matrix-member-presentation-DRa-9e6Q.js → matrix-member-presentation-BKDyxJho.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-DCVinw1o.js → matrix-operation-contract-BM5TveR3.js} +153 -147
- package/dist/chunks/{metric-comparison-n9NsIa-2.js → metric-comparison-Be4uS3Ql.js} +1 -1
- package/dist/chunks/{paintbrush-aR17Z3C9.js → paintbrush-LzAje2ff.js} +1 -1
- package/dist/chunks/{palette-a5FCZKFI.js → palette-DicJG0TC.js} +1 -1
- package/dist/chunks/{pivot-header-presentation-MvvlxtIB.js → pivot-header-presentation-uH06jiZD.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-8tuNjRvG.js → pivot-result-contract-expectations-DvZY4eJM.js} +779 -765
- package/dist/chunks/{pivot-result-identity-B89X5xjb.js → pivot-result-identity-BZexMfmL.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-CwbsD6t6.js → report-preferences-dialog-DWeVe2so.js} +171 -170
- package/dist/chunks/{report-runtime-context-BhPzLTbS.js → report-runtime-context-NlOXwyRB.js} +1 -1
- package/dist/chunks/{resolve-dashboard-input-context-6FP1-7aU.js → resolve-dashboard-input-context-uATCuOP7.js} +5083 -4973
- package/dist/chunks/{save-D985VvYp.js → save-0wu1Z1U7.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-D2G0uLji.js → saved-dashboard-context-DSVV9iqW.js} +6 -6
- package/dist/chunks/selection-filter-compiler-BReJy-uv.js +92 -0
- package/dist/chunks/{semaphor-ready-indicator-UhNS27Gy.js → semaphor-ready-indicator-B9vvRMnJ.js} +46773 -45614
- package/dist/chunks/{shelf-drop-preview-context-DPksW68k.js → shelf-drop-preview-context-BHOnp5Bo.js} +5 -5
- package/dist/chunks/{stored-dashboard-KpTy4umJ.js → stored-dashboard-xc5iidHL.js} +210 -221
- package/dist/chunks/{style-sheet-parts-C7qGZuH1.js → style-sheet-parts-_dGSFzDi.js} +2 -2
- package/dist/chunks/{table-export-sheet-wBkk17aa.js → table-export-sheet-Cv_94obr.js} +1 -1
- package/dist/chunks/{token-types-iKMplaBL.js → token-types-DEe_FP4l.js} +1 -1
- package/dist/chunks/{upload-CiGNKJ_0.js → upload-CtyOkU_B.js} +1 -1
- package/dist/chunks/{validators-B8fpdinG.js → validators-CJ8Jh0E8.js} +2 -2
- package/dist/chunks/{variable-draft-CP5I66_J.js → variable-draft-C3CjhsJQ.js} +4 -4
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +1391 -1364
- package/dist/format-utils/index.js +140 -140
- package/dist/index.js +234 -231
- 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/ui-custom/date-range-presets.d.ts +7 -0
- package/dist/types/components/visual/data-table/types/data-table.d.ts +3 -0
- package/dist/types/components/visual/matrix-table/matrix-interaction-actions.d.ts +24 -3
- package/dist/types/index.js +5 -5
- package/dist/types/lib/hooks/interactions/use-drill-actions.d.ts +1 -1
- package/dist/types/lib/interactions/get-click-context-from-chartjs.d.ts +9 -0
- package/dist/types/lib/matrix-table/matrix-runtime.d.ts +8 -3
- package/dist/types/lib/query-context/compile-selection-filters.d.ts +1 -5
- package/dist/types/lib/see-records/click.d.ts +79 -0
- package/dist/types/lib/see-records/see-records-offer.d.ts +25 -0
- package/dist/types/lib/see-records/use-see-records-offer.d.ts +16 -0
- package/dist/types/lib/types/common-types.d.ts +6 -0
- package/dist/types/shared/analytics-protocol/aggregate-expression.d.ts +7 -0
- package/dist/types/shared/analytics-protocol/aggregate-measure-field.d.ts +13 -0
- package/dist/types/shared/analytics-protocol/index.d.ts +1 -0
- package/dist/types/shared/analytics-protocol/selection-filter-compiler.d.ts +3 -0
- package/dist/types/shared/dashboard-authoring/card-settings/card-display-write.d.ts +6 -0
- package/dist/types/shared/dashboard-authoring/card-settings/card-kinds.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/card-settings/index.d.ts +1 -1
- package/dist/types/shared/dashboard-authoring/card-settings/inputs.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/card-settings/resolved.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +10 -10
- package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/kpi-figure.d.ts +11 -0
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +7 -0
- package/dist/types/shared/dashboard-authoring/see-records/availability.d.ts +30 -0
- package/dist/types/shared/dashboard-authoring/see-records/click.d.ts +37 -0
- package/dist/types/shared/dashboard-authoring/see-records/index.d.ts +12 -0
- package/dist/types/shared/dashboard-authoring/see-records/limits.d.ts +18 -0
- package/dist/types/shared/dashboard-authoring/see-records/measure-kind.d.ts +46 -0
- package/dist/types/shared/dashboard-authoring/see-records/request.d.ts +28 -0
- package/dist/types/shared/dashboard-authoring/see-records/result.d.ts +61 -0
- package/dist/types/shared/usage-events/envelope.d.ts +4 -4
- package/package.json +1 -1
- package/dist/chunks/selection-filter-compiler-CUDRnUxc.js +0 -80
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as p, r as y } from "./validators-
|
|
2
|
-
import { a as I } from "./metric-comparison-
|
|
1
|
+
import { j as p, r as y } from "./validators-CJ8Jh0E8.js";
|
|
2
|
+
import { a as I } from "./metric-comparison-Be4uS3Ql.js";
|
|
3
3
|
import "../value-format-preferences/index.js";
|
|
4
4
|
import { c as N } from "./raw-temporal-value-DdT0s47W.js";
|
|
5
|
-
import {
|
|
5
|
+
import { ah as k, ag as T } from "./pivot-result-contract-expectations-DvZY4eJM.js";
|
|
6
6
|
const d = { kind: "plain" }, g = { kind: "temporal" }, D = {
|
|
7
7
|
"=": "=",
|
|
8
8
|
"!=": "!=",
|
|
@@ -49,10 +49,10 @@ function P(t, n = {}) {
|
|
|
49
49
|
}
|
|
50
50
|
function c(t, n = d) {
|
|
51
51
|
if (n.kind !== "plain") {
|
|
52
|
-
const e =
|
|
52
|
+
const e = h(t, n);
|
|
53
53
|
if (e !== void 0) return e;
|
|
54
54
|
}
|
|
55
|
-
return t instanceof Date ?
|
|
55
|
+
return t instanceof Date ? h(t, g) ?? JSON.stringify(String(t)) : t === void 0 ? "null" : typeof t == "number" || typeof t == "boolean" || t === null ? String(t) : JSON.stringify(t) ?? String(t);
|
|
56
56
|
}
|
|
57
57
|
function w(t, n = d, e = Number.POSITIVE_INFINITY) {
|
|
58
58
|
const i = t.slice(0, Number.isFinite(e) ? e : void 0).map((o) => c(o, n)).join(", "), r = $(t.length, e);
|
|
@@ -68,7 +68,7 @@ function f(t) {
|
|
|
68
68
|
const n = N(t);
|
|
69
69
|
return n === "instant" ? { kind: n, instant: new Date(t) } : n ? { kind: n, text: t } : void 0;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function h(t, n) {
|
|
72
72
|
if (n.kind === "bucket")
|
|
73
73
|
return typeof t == "string" && T(t, n.bucket).ok ? t : void 0;
|
|
74
74
|
const e = f(t);
|
|
@@ -78,13 +78,13 @@ function b(t, n) {
|
|
|
78
78
|
function S(t, n, e, i) {
|
|
79
79
|
const r = e.kind === "temporal" ? f(t) : void 0, o = e.kind === "temporal" ? f(n) : void 0;
|
|
80
80
|
if (i && (r == null ? void 0 : r.kind) === "instant" && (o == null ? void 0 : o.kind) === "instant") {
|
|
81
|
-
const s =
|
|
81
|
+
const s = b(r.instant, i), l = b(o.instant, i);
|
|
82
82
|
if (s && l && s.time === "00:00:00" && r.instant.getUTCMilliseconds() === 0 && l.time === "23:59:59" && [0, 999].includes(o.instant.getUTCMilliseconds()))
|
|
83
83
|
return { from: s.date, to: l.date, wholeDaysIn: i };
|
|
84
84
|
}
|
|
85
85
|
return { from: c(t, e), to: c(n, e) };
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function b(t, n) {
|
|
88
88
|
try {
|
|
89
89
|
const e = Object.fromEntries(
|
|
90
90
|
new Intl.DateTimeFormat("en-CA", {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var De = Object.defineProperty;
|
|
2
2
|
var Oe = (e, n, t) => n in e ? De(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
3
|
var M = (e, n, t) => Oe(e, typeof n != "symbol" ? n + "" : n, t);
|
|
4
|
-
import {
|
|
5
|
-
import { T as X, a5 as Le, S as Be } from "./validators-
|
|
4
|
+
import { aB as Ne, a2 as Fe, ao as oe, V as se, k as Re, a1 as Me, Z as F } from "./pivot-result-contract-expectations-DvZY4eJM.js";
|
|
5
|
+
import { T as X, a5 as Le, S as Be } from "./validators-CJ8Jh0E8.js";
|
|
6
6
|
import { l as Ue, C as Pe } from "./export-file-format-C-tJsxsf.js";
|
|
7
7
|
import { z as y } from "zod";
|
|
8
|
-
import {
|
|
8
|
+
import { ai as Ve, ak as ze, X as je } from "./matrix-operation-contract-BM5TveR3.js";
|
|
9
9
|
import "./analytics-base-schemas-BaIQrEzX.js";
|
|
10
10
|
import "../value-format-preferences/index.js";
|
|
11
11
|
import { r as qe } from "./rendered-file-D8xEuVVx.js";
|
|
12
|
-
import { J as Ke, K as Ge, L as He, M as We, N as Xe, n as Ze, O as Ye, P as Je, Q as Qe, R as et, S as tt, T as nt, U as rt } from "./resolve-dashboard-input-context-
|
|
13
|
-
import { H as ot, I as at } from "./bookmark-state-
|
|
12
|
+
import { J as Ke, K as Ge, L as He, M as We, N as Xe, n as Ze, O as Ye, P as Je, Q as Qe, R as et, S as tt, T as nt, U as rt } from "./resolve-dashboard-input-context-uATCuOP7.js";
|
|
13
|
+
import { H as ot, I as at } from "./bookmark-state-D9-RFkDg.js";
|
|
14
14
|
import "./pickers-DkqmtnTL.js";
|
|
15
15
|
import "./schema-C9NPiIru.js";
|
|
16
16
|
import "./index-CV_Kzou0.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { am as N, ao as Q, ag as X, ae as p, an as _e, af as ie, at as De, ah as Ae, a5 as K, I as ae, o as Ee } from "./validators-
|
|
2
|
-
import { r as qe } from "./metric-comparison-
|
|
3
|
-
import {
|
|
1
|
+
import { am as N, ao as Q, ag as X, ae as p, an as _e, af as ie, at as De, ah as Ae, a5 as K, I as ae, o as Ee } from "./validators-CJ8Jh0E8.js";
|
|
2
|
+
import { r as qe } from "./metric-comparison-Be4uS3Ql.js";
|
|
3
|
+
import { b as Z, d as Be, w as _ } from "./raw-temporal-value-DdT0s47W.js";
|
|
4
4
|
const Y = 864e5, ee = {
|
|
5
5
|
second: 1e3,
|
|
6
6
|
minute: 6e4,
|