react-semaphor 0.1.541 → 0.1.543
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 +75 -75
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +3 -3
- package/dist/briefings/index.js +51 -49
- package/dist/chunks/apply-dashboard-operations-CG9S7MGt.js +2260 -0
- package/dist/chunks/{assistant-chat-D1fDZD6O.js → assistant-chat-BFMRUYoB.js} +12 -12
- package/dist/chunks/bookmark-state-CXw7lZ50.js +118 -0
- package/dist/chunks/{calendar-day-equality-Bpl15IBo.js → calendar-day-equality-BmJAWduY.js} +180 -207
- package/dist/chunks/comparison-window-caption-Bv18samq.js +1618 -0
- package/dist/chunks/custom-visual-inputs-DUtpYZOk.js +323 -0
- package/dist/chunks/{dashboard-B6IrON_Q.js → dashboard-B9mKTJoy.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-DwjFpewq.js → dashboard-briefing-launcher-Bdmry_oG.js} +18 -18
- package/dist/chunks/{dashboard-controls-C_BI28ME.js → dashboard-controls-UGpjOM2k.js} +69 -70
- package/dist/chunks/{dashboard-filter-value-compatibility-D95O4nd7.js → dashboard-filter-value-compatibility-CwQ_iSNb.js} +2 -2
- package/dist/chunks/{dashboard-json-DDY15Trn.js → dashboard-json-DG8dz0eX.js} +4 -4
- package/dist/chunks/{document-dashboard-inputs-DP_Op5mu.js → document-dashboard-inputs-OwqCbrVp.js} +2382 -4975
- package/dist/chunks/document-sheet-utils-BTb3VZxV.js +3619 -0
- package/dist/chunks/{edit-dashboard-visual-CH2dzWW-.js → edit-dashboard-visual-CDpA4y5e.js} +728 -728
- package/dist/chunks/{filter-value-text-BhWugPWE.js → filter-value-text-CYsVYPuD.js} +18 -19
- package/dist/chunks/{index-DaQlghLY.js → index-l5LclZvs.js} +824 -1351
- package/dist/chunks/{matrix-analytical-definition-bcprSe4u.js → matrix-analytical-definition-C7Gb0e12.js} +1 -1
- package/dist/chunks/{matrix-card-CJn1hB5V.js → matrix-card-DjwWcCo8.js} +2 -2
- package/dist/chunks/{matrix-formatter-DQ8avoIQ.js → matrix-formatter-BnsTX90d.js} +430 -417
- package/dist/chunks/{matrix-member-presentation-BNPSDKBG.js → matrix-member-presentation-CQGdVks6.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-B8PBF1Gd.js → matrix-operation-contract-8OIO4gob.js} +65 -65
- package/dist/chunks/metric-comparison-DEwi9uc2.js +498 -0
- package/dist/chunks/numeric-presentation-F_-H6VAw.js +5227 -0
- package/dist/chunks/{pivot-header-presentation-MkcKnjn3.js → pivot-header-presentation-DHcx1XGQ.js} +1 -1
- package/dist/chunks/{pivot-result-identity-D6hhcRXi.js → pivot-result-identity-DJhXXcns.js} +1 -1
- package/dist/chunks/pivot-result-lifecycle-DupbRk-R.js +1155 -0
- package/dist/chunks/raw-temporal-presentation-D-azM_98.js +585 -0
- package/dist/chunks/{report-preferences-dialog-DpNkFfQO.js → report-preferences-dialog-CPwRwEJx.js} +75 -75
- package/dist/chunks/{report-runtime-context-B984Nq1E.js → report-runtime-context-Dq8XyODK.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-CJ2WpoMF.js → saved-dashboard-context-BKvMfRfC.js} +233 -206
- package/dist/chunks/{selection-reducer-vKIb_jS6.js → selection-reducer-Dj_8xD69.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-KT598QJq.js → semaphor-ready-indicator-CN2AHm2x.js} +37489 -39476
- package/dist/chunks/{shelf-drop-preview-context-BxV3Fl8h.js → shelf-drop-preview-context-BGl_rxcW.js} +6 -6
- package/dist/chunks/sort-target-MT1WK1vX.js +29 -0
- package/dist/chunks/{source-entity-resolution-CVA1a85c.js → source-entity-resolution-BYn9giz3.js} +1 -1
- package/dist/chunks/{switch-DWEWiv1J.js → switch-C3jLxlG0.js} +2 -2
- package/dist/chunks/table-export-sheet-BDRXLLdq.js +949 -0
- package/dist/chunks/table-settings-CLZocegs.js +501 -0
- package/dist/chunks/temporal-bucket-D7NBrrtL.js +2071 -0
- package/dist/chunks/{token-types-bxUxXDX2.js → token-types-DBbZVQsm.js} +1 -1
- package/dist/chunks/{use-create-flow-overlay-state-DdD12SMY.js → use-create-flow-overlay-state-BnclfB2k.js} +151 -151
- package/dist/chunks/{validators-Ej1DdCXa.js → validators-DMHTpf7a.js} +73 -73
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +462 -457
- 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 +9 -9
- package/dist/format-utils/index.js +346 -241
- package/dist/index.js +174 -175
- package/dist/report-runtime-context/index.js +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/briefings/attachment-outcomes.d.ts +1 -1
- package/dist/types/briefings/attachments.d.ts +17 -1
- package/dist/types/briefings/index.d.ts +5 -3
- package/dist/types/index.js +48 -48
- package/dist/types/lib/api/exports-api.d.ts +11 -65
- package/dist/types/lib/dashboard-inputs/control-contract-overrides.d.ts +17 -0
- package/dist/types/lib/dashboard-viewer/export-table-view.d.ts +2 -0
- package/dist/types/lib/hooks/use-dashboard.d.ts +3 -6
- package/dist/types/lib/matrix-table/matrix-delivery-policy.d.ts +8 -2
- package/dist/types/lib/matrix-table/matrix-delivery.d.ts +8 -6
- package/dist/types/lib/query-context/build-dashboard-card-query-contract.d.ts +50 -0
- package/dist/types/lib/types/explorer-types.d.ts +6 -0
- package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +3 -3
- package/dist/types/shared/assistant-context/index.d.ts +1 -1
- package/dist/types/shared/assistant-context/saved-dashboard-context.d.ts +23 -6
- package/dist/types/shared/dashboard-authoring/card-export-request.d.ts +173 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +4 -3
- package/dist/types/shared/format-utils/exporters/export-cells.d.ts +90 -0
- package/dist/types/shared/format-utils/exporters/export-file-format.d.ts +44 -0
- package/dist/types/shared/format-utils/exporters/index.d.ts +6 -0
- package/dist/types/shared/format-utils/exporters/xlsx-file.d.ts +90 -0
- package/dist/types/shared/format-utils/formatters/date-formatter.d.ts +8 -12
- package/dist/types/shared/format-utils/formatters/index.d.ts +1 -1
- package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +2 -0
- package/dist/types/shared/format-utils/index.d.ts +2 -0
- package/dist/types/shared/format-utils/matrix-continuation.d.ts +55 -9
- package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +21 -1
- package/dist/types/shared/format-utils/matrix-export-xlsx.d.ts +27 -0
- package/dist/types/shared/format-utils/presentation-execution.d.ts +27 -2
- package/dist/types/shared/format-utils/raw-temporal.d.ts +8 -0
- package/dist/types/shared/format-utils/table-export/index.d.ts +8 -0
- package/dist/types/shared/format-utils/table-export/prepare-table-export.d.ts +50 -0
- package/dist/types/shared/format-utils/table-export/table-export-formatting.d.ts +47 -0
- package/dist/types/shared/format-utils/table-export/table-export-raw-temporal.d.ts +40 -0
- package/dist/types/shared/format-utils/table-export/table-export-result.d.ts +31 -0
- package/dist/types/shared/format-utils/table-export/table-export-sheet.d.ts +38 -0
- package/dist/types/shared/format-utils/temporal-bucket.d.ts +9 -0
- package/package.json +2 -1
- package/dist/chunks/aggregate-table-row-presentation-B_vQjYR3.js +0 -996
- package/dist/chunks/apply-dashboard-operations-C-iahGka.js +0 -402
- package/dist/chunks/bookmark-state-k7y5SNGf.js +0 -331
- package/dist/chunks/calculated-field-identity-DcBS2NPP.js +0 -2161
- package/dist/chunks/canonical-result-keys-CEQefvdO.js +0 -33
- package/dist/chunks/common-types-CUf03Htv.js +0 -288
- package/dist/chunks/csv-utils-GUfKyT1J.js +0 -56
- package/dist/chunks/custom-visual-inputs-BrUOIwln.js +0 -3288
- package/dist/chunks/document-sheet-utils-C1eEldxs.js +0 -1076
- package/dist/chunks/matrix-definition-DQDI2okF.js +0 -206
- package/dist/chunks/metric-comparison-CojWeLqx.js +0 -392
- package/dist/chunks/pivot-result-lifecycle-8qCDmpKc.js +0 -804
- package/dist/chunks/raw-temporal-D61lr48Y.js +0 -1464
- package/dist/chunks/temporal-bucket-D8JF7zKz.js +0 -575
- package/dist/chunks/temporal-bucket-contract-DaOajRC7.js +0 -108
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { toSemaphorInputSnapshots as rt, toSemaphorInputBinding as tt, toSemaphorSelectionSnapshots as nt, toSemaphorActiveInputSnapshots as X, toSemaphorMatrixIntent as it, toSemaphorSqlIntent as ot, toSemaphorInputOptionsIntent as st, toSemaphorRecordsIntent as at, toSemaphorAnalysisQueryOptions as lt, toSemaphorAnalysisIntent as dt, toSemaphorMetricIntent as ut, hasSemaphorInputValue as fe, normalizeSemaphorInputOptions as qr, toSemaphorInputSpec as Ar } from "../data-app-sdk-adapters/index.js";
|
|
2
2
|
import { jsxs as p, Fragment as Tr, jsx as l } from "react/jsx-runtime";
|
|
3
3
|
import { createContext as Ae, useContext as Q, useState as _, useRef as T, useEffect as B, useMemo as x, Fragment as ct, useId as kr, useCallback as L, useReducer as ft } from "react";
|
|
4
|
-
import { q as pt, u as gt,
|
|
5
|
-
import { a as Ro,
|
|
6
|
-
import { m as ht, am as bt, al as vt, A as sr, r as ar, H as St } from "../chunks/matrix-operation-contract-
|
|
4
|
+
import { q as pt, u as gt, B as mt, E as xe, s as yt } from "../chunks/validators-DMHTpf7a.js";
|
|
5
|
+
import { a as Ro, av as Lo } from "../chunks/validators-DMHTpf7a.js";
|
|
6
|
+
import { m as ht, am as bt, al as vt, A as sr, r as ar, H as St } from "../chunks/matrix-operation-contract-8OIO4gob.js";
|
|
7
7
|
import "../chunks/analytics-base-schemas-BFAoRlkU.js";
|
|
8
8
|
import "zod";
|
|
9
|
-
import { m as lr } from "../chunks/matrix-formatter-
|
|
10
|
-
import { M as wt, a as It, S as xt, E as qt, C as At, r as dr } from "../chunks/selection-reducer-
|
|
9
|
+
import { m as lr } from "../chunks/matrix-formatter-BnsTX90d.js";
|
|
10
|
+
import { M as wt, a as It, S as xt, E as qt, C as At, r as dr } from "../chunks/selection-reducer-Dj_8xD69.js";
|
|
11
11
|
import { X as Tt, C as kt } from "../chunks/x-4f5U2XwU.js";
|
|
12
12
|
import { j as Ct } from "../chunks/index-CuHybtft.js";
|
|
13
13
|
function he(e, r, t) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as y } from "../chunks/operators-B3zZoskU.js";
|
|
2
|
-
import { m as v, s as m, p as I, a as S } from "../chunks/validators-
|
|
3
|
-
import { a as F, c as b } from "../chunks/matrix-operation-contract-
|
|
2
|
+
import { m as v, s as m, p as I, a as S } from "../chunks/validators-DMHTpf7a.js";
|
|
3
|
+
import { a as F, c as b } from "../chunks/matrix-operation-contract-8OIO4gob.js";
|
|
4
4
|
import "../chunks/analytics-base-schemas-BFAoRlkU.js";
|
|
5
5
|
import "zod";
|
|
6
6
|
function w(i) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { m as Q } from "../chunks/matrix-operation-contract-
|
|
1
|
+
import { z as b, l as N, s as E, A as v, u as O, B as K, E as l } from "../chunks/validators-DMHTpf7a.js";
|
|
2
|
+
import { m as Q } from "../chunks/matrix-operation-contract-8OIO4gob.js";
|
|
3
3
|
import "../chunks/analytics-base-schemas-BFAoRlkU.js";
|
|
4
4
|
import "zod";
|
|
5
|
-
import { p as W } from "../chunks/report-runtime-context-
|
|
6
|
-
import { r as U } from "../chunks/source-entity-resolution-
|
|
7
|
-
import { toSemaphorMetricIntent as
|
|
8
|
-
import { m as Z } from "../chunks/matrix-card-
|
|
5
|
+
import { p as W } from "../chunks/report-runtime-context-Dq8XyODK.js";
|
|
6
|
+
import { r as U } from "../chunks/source-entity-resolution-BYn9giz3.js";
|
|
7
|
+
import { toSemaphorMetricIntent as J, toSemaphorAnalysisIntent as V, toSemaphorRecordsIntent as G, toSemaphorSqlIntent as L, toSemaphorMatrixIntent as X, toSemaphorInputOptionsIntent as Y } from "../data-app-sdk-adapters/index.js";
|
|
8
|
+
import { m as Z } from "../chunks/matrix-card-DjwWcCo8.js";
|
|
9
9
|
function ee({
|
|
10
10
|
intent: e,
|
|
11
11
|
field: r,
|
|
@@ -573,11 +573,11 @@ function ve(e) {
|
|
|
573
573
|
if (!M(e))
|
|
574
574
|
throw new Error("useSemaphorQuery spec must be an object.");
|
|
575
575
|
if (e.queryKind === "metric")
|
|
576
|
-
return G(e);
|
|
577
|
-
if (e.queryKind === "analysis")
|
|
578
576
|
return J(e);
|
|
579
|
-
if (e.queryKind === "
|
|
577
|
+
if (e.queryKind === "analysis")
|
|
580
578
|
return V(e);
|
|
579
|
+
if (e.queryKind === "records")
|
|
580
|
+
return G(e);
|
|
581
581
|
if (e.queryKind === "sql")
|
|
582
582
|
return L(e);
|
|
583
583
|
if (e.queryKind === "matrix")
|