react-semaphor 0.1.568 → 0.1.569
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/README.md +0 -7
- package/dist/analytics-protocol/index.js +434 -454
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +10 -12
- package/dist/briefings/index.js +4 -4
- package/dist/chunks/{_commonjsHelpers-DimLPMtv.js → _commonjsHelpers-Bid1ZNYj.js} +271 -222
- package/dist/chunks/{assistant-chat-BN5I8KuN.js → assistant-chat-Dzf2Mbph.js} +107 -109
- package/dist/chunks/{bookmark-impact-CJ-65omV.js → bookmark-impact-Czg6FGt5.js} +2 -2
- package/dist/chunks/{bookmark-state-Du3s13_V.js → bookmark-state-CflS88gq.js} +251 -250
- package/dist/chunks/{card-filter-builder-BBuB99GZ.js → card-filter-builder-BS982X7x.js} +986 -985
- package/dist/chunks/{code-editor-DJNOsgJH.js → code-editor-BsxHzm9u.js} +43 -45
- package/dist/chunks/{comparison-window-caption-CMLb3mut.js → comparison-window-caption-lLTgzOkM.js} +252 -253
- package/dist/chunks/{dashboard-YnWZC4dK.js → dashboard-BiYSbxZv.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-BF89TU2h.js → dashboard-briefing-launcher-Bdj7luOr.js} +158 -159
- package/dist/chunks/{dashboard-controls-atHc1EjP.js → dashboard-controls-TViDsnb8.js} +17 -19
- package/dist/chunks/dashboard-json-Dg9dQd9U.js +66 -0
- package/dist/chunks/{dates-CKO05ino.js → dates-BsPrWZIP.js} +8 -8
- package/dist/chunks/{edit-dashboard-visual-DdmTfn-J.js → edit-dashboard-visual-C6hoIeEJ.js} +20 -21
- package/dist/chunks/{filter-reach-copy-jZGzK_IH.js → filter-reach-copy-hcQ4os0u.js} +695 -699
- package/dist/chunks/filter-value-text-CVxEEDVl.js +146 -0
- package/dist/chunks/{index-CPNZW0mu.js → index-G4q89J6O.js} +74 -76
- package/dist/chunks/{layout-grid-0hIlqEtk.js → layout-grid-BIcoFfdS.js} +1 -1
- package/dist/chunks/{list-filter-DkgoCeBm.js → list-filter-C6tYkHyv.js} +1 -1
- package/dist/chunks/matrix-analytical-definition-dkS8szLM.js +1253 -0
- package/dist/chunks/matrix-member-presentation-DRa-9e6Q.js +169 -0
- package/dist/chunks/{matrix-operation-contract-Eb6elidS.js → matrix-operation-contract-DCVinw1o.js} +122 -122
- package/dist/chunks/{metric-comparison-ChXUFaZu.js → metric-comparison-n9NsIa-2.js} +175 -128
- package/dist/chunks/{palette-4vf2BEEg.js → palette-NjHOE_6B.js} +1 -1
- package/dist/chunks/pivot-result-contract-expectations-DkmueDTW.js +55 -0
- package/dist/chunks/{pivot-result-identity-BlbLrqaC.js → pivot-result-identity-B89X5xjb.js} +1 -1
- package/dist/chunks/raw-temporal-value-DdT0s47W.js +159 -0
- package/dist/chunks/{report-preferences-dialog-Mbd-I0wV.js → report-preferences-dialog-Xc8_GFju.js} +26 -28
- package/dist/chunks/{report-runtime-context-DnA_PiKo.js → report-runtime-context-BhPzLTbS.js} +1 -1
- package/dist/chunks/{resolve-dashboard-input-context-Du0fjN3h.js → resolve-dashboard-input-context-KqvcLcTM.js} +4784 -4764
- package/dist/chunks/{save-D6pHmSSP.js → save-C6VmEJTA.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-y8N6RvjS.js → saved-dashboard-context-BeXXyoD4.js} +6 -6
- package/dist/chunks/{semaphor-ready-indicator-BSEdUq40.js → semaphor-ready-indicator-BNkaANsG.js} +28395 -28384
- package/dist/chunks/{shelf-drop-preview-context-D7QqPl36.js → shelf-drop-preview-context-C_issPBA.js} +18 -20
- package/dist/chunks/{stored-dashboard-d3xQYxBD.js → stored-dashboard-B6_StAty.js} +263 -265
- package/dist/chunks/{table-export-sheet--DUKWk6o.js → table-export-sheet-BWP2joD1.js} +1 -1
- package/dist/chunks/{temporal-input-presentation--2r9BLr0.js → temporal-input-presentation-scSWQXAB.js} +4 -4
- package/dist/chunks/{token-types-C8JymO8s.js → token-types-iKMplaBL.js} +1 -1
- package/dist/chunks/{upload-Cf3wXZT8.js → upload-BRW4Mwrd.js} +1 -1
- package/dist/chunks/validators-B8fpdinG.js +3651 -0
- package/dist/chunks/{variable-draft-DOX03R4A.js → variable-draft-BQ3OMjvy.js} +4 -4
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +1527 -1517
- package/dist/format-utils/index.js +230 -231
- package/dist/index.js +236 -237
- 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/surfboard/filter/types.d.ts +5 -4
- package/dist/types/components/ui-custom/date-range-presets.d.ts +1 -17
- package/dist/types/index.js +9 -9
- package/dist/types/lib/hooks/use-date-filter.d.ts +3 -3
- package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +1 -1
- package/dist/types/lib/types/explorer-types.d.ts +2 -2
- package/dist/types/lib/types/index.d.ts +1 -1
- package/dist/types/lib/utils/card-definition.d.ts +7 -7
- package/dist/types/shared/analytics-protocol/agent-time-window.d.ts +84 -0
- package/dist/types/shared/analytics-protocol/applied-constraints.d.ts +2 -2
- package/dist/types/shared/analytics-protocol/contracts.d.ts +8 -17
- package/dist/types/shared/analytics-protocol/fixtures.d.ts +3 -2
- package/dist/types/shared/analytics-protocol/index.d.ts +2 -4
- package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +4 -4
- package/dist/types/shared/analytics-protocol/relative-date/describe.d.ts +18 -0
- package/dist/types/shared/analytics-protocol/relative-date/index.d.ts +7 -0
- package/dist/types/shared/analytics-protocol/relative-date/limits.d.ts +3 -0
- package/dist/types/shared/analytics-protocol/relative-date/presets.d.ts +11 -0
- package/dist/types/shared/analytics-protocol/relative-date/resolve.d.ts +49 -0
- package/dist/types/shared/analytics-protocol/relative-date/schemas.d.ts +76 -0
- package/dist/types/shared/analytics-protocol/relative-date/traits.d.ts +51 -0
- package/dist/types/shared/analytics-protocol/relative-date/window.d.ts +111 -0
- package/dist/types/shared/analytics-protocol/selection-contract.d.ts +1 -1
- package/dist/types/shared/assistant-protocol/context.d.ts +12 -12
- package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +0 -2
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +155 -1753
- package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +8 -4
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +74 -74
- package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +20 -20
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +3 -0
- package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +10 -2
- package/dist/types/shared/format-utils/filter-detail.d.ts +2 -8
- package/dist/types/shared/format-utils/filter-line.d.ts +2 -2
- package/dist/types/shared/format-utils/matrix-continuation.d.ts +3 -3
- package/dist/types/shared/temporal/index.d.ts +0 -2
- package/dist/types/shared/temporal/temporal-parity-fixtures.d.ts +2 -2
- package/package.json +2 -24
- package/DATA_APP_SDK.md +0 -339
- package/dist/chunks/dashboard-json-Cxp3inxd.js +0 -68
- package/dist/chunks/filter-value-text-7zhmth1S.js +0 -163
- package/dist/chunks/index-CuHybtft.js +0 -51
- package/dist/chunks/matrix-analytical-definition-C9xB_T84.js +0 -717
- package/dist/chunks/matrix-card-BSUeSXpD.js +0 -42
- package/dist/chunks/matrix-member-presentation-DZNgQpUq.js +0 -105
- package/dist/chunks/operators-B3zZoskU.js +0 -66
- package/dist/chunks/pivot-result-contract-expectations-Ddh1rNz5.js +0 -56
- package/dist/chunks/raw-temporal-value-Bqz8wc7L.js +0 -242
- package/dist/chunks/selection-reducer-OaJ-N5uN.js +0 -46
- package/dist/chunks/source-entity-resolution-DF6GulDn.js +0 -607
- package/dist/chunks/validators-wtjw0aw6.js +0 -3332
- package/dist/data-app-sdk/index.js +0 -1412
- package/dist/data-app-sdk-adapters/index.js +0 -361
- package/dist/data-app-sdk-validation/index.js +0 -1031
- package/dist/types/data-app-sdk/adapters.d.ts +0 -35
- package/dist/types/data-app-sdk/builders.d.ts +0 -62
- package/dist/types/data-app-sdk/contracts.d.ts +0 -419
- package/dist/types/data-app-sdk/executor.d.ts +0 -5
- package/dist/types/data-app-sdk/field-catalog-validation.d.ts +0 -29
- package/dist/types/data-app-sdk/hooks.d.ts +0 -11
- package/dist/types/data-app-sdk/index.d.ts +0 -9
- package/dist/types/data-app-sdk/provider.d.ts +0 -8
- package/dist/types/data-app-sdk/relationship-aware-field-policy.d.ts +0 -21
- package/dist/types/data-app-sdk/selection.d.ts +0 -2
- package/dist/types/data-app-sdk/validation.d.ts +0 -58
- package/dist/types/data-app-sdk-adapters.d.ts +0 -2
- package/dist/types/data-app-sdk-validation.d.ts +0 -2
- package/dist/types/data-app-sdk.d.ts +0 -2
- package/dist/types/shared/analytics-protocol/relative-date-filter.d.ts +0 -68
- package/dist/types/shared/analytics-protocol/relative-date-label.d.ts +0 -20
- package/dist/types/shared/analytics-protocol/time-window-schema.d.ts +0 -314
- package/dist/types/shared/analytics-protocol/time-window.d.ts +0 -52
- package/dist/types/shared/temporal/relative-date.d.ts +0 -21
- package/dist/types/shared/temporal/time-window-periods.d.ts +0 -21
- package/src/data-app-sdk/README.md +0 -402
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { jsxs as Ne, jsx as N, Fragment as ft } from "react/jsx-runtime";
|
|
2
2
|
import * as T from "react";
|
|
3
3
|
import zn, { forwardRef as Fe, createElement as xe, useContext as rt, createContext as xt, useRef as q, useLayoutEffect as Pn, useImperativeHandle as zt, useEffect as ne, useState as de, useCallback as G, useMemo as W, memo as wn, Suspense as Cn, useSyncExternalStore as En } from "react";
|
|
4
|
-
import { aN as In, a6 as ie, aO as Pt, aP as Rn, a7 as wt, aQ as ot, aR as Ct, aS as Et, aT as Dn, aU as An, aV as Nn, aW as Mn, u as Re, aX as Ln, aY as _n, aZ as kn, a_ as Tn, a$ as Hn, b0 as Vn, b1 as $n, b2 as Fn, b3 as Kn } from "./semaphor-ready-indicator-
|
|
5
|
-
import { C as It, A as Rt, D as ze, E as me, F as Dt, G as Bn, H as On, J as Pe, K as qn, M as At, N as Gn, O as Un } from "./code-editor-
|
|
6
|
-
import {
|
|
7
|
-
import "./
|
|
8
|
-
import "./validators-
|
|
9
|
-
import "./matrix-operation-contract-
|
|
4
|
+
import { aN as In, a6 as ie, aO as Pt, aP as Rn, a7 as wt, aQ as ot, aR as Ct, aS as Et, aT as Dn, aU as An, aV as Nn, aW as Mn, u as Re, aX as Ln, aY as _n, aZ as kn, a_ as Tn, a$ as Hn, b0 as Vn, b1 as $n, b2 as Fn, b3 as Kn } from "./semaphor-ready-indicator-BNkaANsG.js";
|
|
5
|
+
import { C as It, A as Rt, D as ze, E as me, F as Dt, G as Bn, H as On, J as Pe, K as qn, M as At, N as Gn, O as Un } from "./code-editor-BsxHzm9u.js";
|
|
6
|
+
import { R as Wn, S as Nt, U as Mt, V as Je, W as Te, X as Xn, Y as Yn, Z as jn, T as Qn } from "./resolve-dashboard-input-context-KqvcLcTM.js";
|
|
7
|
+
import { c as we } from "./_commonjsHelpers-Bid1ZNYj.js";
|
|
8
|
+
import "./validators-B8fpdinG.js";
|
|
9
|
+
import "./matrix-operation-contract-DCVinw1o.js";
|
|
10
10
|
import "./analytics-base-schemas-BaIQrEzX.js";
|
|
11
|
-
import "zod";
|
|
12
11
|
import "../value-format-preferences/index.js";
|
|
13
|
-
import { c as we } from "./_commonjsHelpers-DimLPMtv.js";
|
|
14
12
|
import { u as Jn } from "./appearance-context-DEYtWinQ.js";
|
|
15
|
-
const
|
|
13
|
+
const bo = zn.memo(function({
|
|
16
14
|
context: t = "editor"
|
|
17
15
|
} = {}) {
|
|
18
16
|
return /* @__PURE__ */ Ne(
|
|
@@ -1648,7 +1646,7 @@ function Ar({ className: e }, t) {
|
|
|
1648
1646
|
}
|
|
1649
1647
|
) });
|
|
1650
1648
|
}
|
|
1651
|
-
const
|
|
1649
|
+
const xo = Fe(Ar), Nr = 300, Mr = `# 'data' holds the SQL result.
|
|
1652
1650
|
# Set 'result' to a list of dicts to replace it, for example:
|
|
1653
1651
|
# import pandas as pd
|
|
1654
1652
|
# result = pd.DataFrame(data).to_dict('records')`;
|
|
@@ -1686,7 +1684,7 @@ function Lr({ className: e }, t) {
|
|
|
1686
1684
|
}
|
|
1687
1685
|
);
|
|
1688
1686
|
}
|
|
1689
|
-
const
|
|
1687
|
+
const zo = Fe(Lr);
|
|
1690
1688
|
function _r({ card: e }) {
|
|
1691
1689
|
var E, z, S, w, k;
|
|
1692
1690
|
const t = Dn(), [n, r] = de({}), { authToken: i } = An(), o = Yn(i == null ? void 0 : i.accessToken), { compiledAppearance: s } = Jn(), a = W(
|
|
@@ -1905,7 +1903,7 @@ function _r({ card: e }) {
|
|
|
1905
1903
|
(k = c.customCardPreferences) == null ? void 0 : k.componentName
|
|
1906
1904
|
) }) : null;
|
|
1907
1905
|
}
|
|
1908
|
-
const
|
|
1906
|
+
const Po = wn(_r);
|
|
1909
1907
|
var en = "Toggle", tn = T.forwardRef((e, t) => {
|
|
1910
1908
|
const { pressed: n, defaultPressed: r, onPressedChange: i, ...o } = e, [s, a] = Rt({
|
|
1911
1909
|
prop: n,
|
|
@@ -2435,12 +2433,12 @@ function Sn(e) {
|
|
|
2435
2433
|
const t = rt(so) ?? ao;
|
|
2436
2434
|
return En(t.subscribe, () => e(t.get()), () => e(null));
|
|
2437
2435
|
}
|
|
2438
|
-
function
|
|
2436
|
+
function wo(e) {
|
|
2439
2437
|
return Sn(
|
|
2440
2438
|
G((t) => (t == null ? void 0 : t.slot.zone) === e ? t.outcome : null, [e])
|
|
2441
2439
|
);
|
|
2442
2440
|
}
|
|
2443
|
-
function
|
|
2441
|
+
function Co(e, t, n) {
|
|
2444
2442
|
return Sn(
|
|
2445
2443
|
G(
|
|
2446
2444
|
(r) => (r == null ? void 0 : r.slot.zone) !== e || r.outcome.kind === "refused" ? null : r.slot.beforeId === t ? "top" : !r.slot.beforeId && n ? "bottom" : null,
|
|
@@ -2450,18 +2448,18 @@ function Io(e, t, n) {
|
|
|
2450
2448
|
}
|
|
2451
2449
|
export {
|
|
2452
2450
|
Vr as A,
|
|
2453
|
-
|
|
2454
|
-
|
|
2451
|
+
Po as E,
|
|
2452
|
+
bo as F,
|
|
2455
2453
|
tr as P,
|
|
2456
|
-
|
|
2454
|
+
xo as S,
|
|
2457
2455
|
Tr as T,
|
|
2458
2456
|
Er as a,
|
|
2459
2457
|
Rr as b,
|
|
2460
|
-
|
|
2458
|
+
zo as c,
|
|
2461
2459
|
Fr as d,
|
|
2462
2460
|
io as e,
|
|
2463
|
-
|
|
2464
|
-
|
|
2461
|
+
wo as f,
|
|
2462
|
+
Co as g,
|
|
2465
2463
|
so as h,
|
|
2466
2464
|
Zt as r,
|
|
2467
2465
|
Qt as u
|