react-semaphor 0.1.508 → 0.1.510
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/brand-studio/index.cjs +2 -2
- package/dist/brand-studio/index.js +181 -172
- package/dist/chunks/{dashboard-briefing-launcher-C4zsM3Hd.cjs → dashboard-briefing-launcher-CAHFThZ6.cjs} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-B9l0ZAbv.js → dashboard-briefing-launcher-CLZFm7_M.js} +3 -3
- package/dist/chunks/{dashboard-controls-BCQv4xWM.js → dashboard-controls-Cq0yJp7k.js} +4 -4
- package/dist/chunks/{dashboard-controls-CWwllVOe.cjs → dashboard-controls-Yxsu_3w-.cjs} +1 -1
- package/dist/chunks/{dashboard-json-BtU_q_0A.js → dashboard-json-B2v70qeb.js} +2 -2
- package/dist/chunks/{dashboard-json-DVj2xLsH.cjs → dashboard-json-Czr84uhZ.cjs} +1 -1
- package/dist/chunks/{edit-dashboard-visual-RgFUx-py.js → edit-dashboard-visual-BLWXCutZ.js} +725 -725
- package/dist/chunks/{edit-dashboard-visual-CO2IVBOq.cjs → edit-dashboard-visual-C8ni6cKY.cjs} +2 -2
- package/dist/chunks/{editor-action-buttons-D-MaqTIs.js → editor-action-buttons-BiUk_CQn.js} +2 -2
- package/dist/chunks/{editor-action-buttons-BE8Fby6n.cjs → editor-action-buttons-DwMSyAJY.cjs} +1 -1
- package/dist/chunks/index-BriWG9wG.cjs +1420 -0
- package/dist/chunks/{index-ByiS9sB4.js → index-CTFwTeBb.js} +38761 -38564
- package/dist/chunks/{report-preferences-dialog-C9rpWgQZ.cjs → report-preferences-dialog-C1LOgCAH.cjs} +1 -1
- package/dist/chunks/{report-preferences-dialog-BbkXcnnn.js → report-preferences-dialog-CEja_Mat.js} +2 -2
- package/dist/chunks/{switch-iC1x2dcE.cjs → switch-BUW-Ky0G.cjs} +1 -1
- package/dist/chunks/{switch-CD4uGTZI.js → switch-MB0NuLq-.js} +25 -17
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +6 -6
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/components/visual/matrix-table/matrix-interaction-actions.d.ts +12 -3
- package/dist/types/components/visual/matrix-table/matrix-window-viewer.d.ts +1 -1
- package/dist/types/lib/dashboard-pagination/dashboard-card-pagination.d.ts +17 -0
- package/dist/types/lib/hooks/use-dashboard-card.d.ts +4 -0
- package/dist/types/lib/hooks/use-dashboard-frame-query.d.ts +3 -1
- package/dist/types/lib/matrix-table/matrix-runtime-types.d.ts +0 -3
- package/dist/types/lib/matrix-table/matrix-runtime.d.ts +0 -4
- package/dist/types/lib/matrix-table/{use-matrix-selection.d.ts → use-matrix-cell-focus.d.ts} +13 -17
- package/dist/types/lib/matrix-table/use-matrix.d.ts +0 -1
- package/dist/types/lib/query-context/build-dashboard-card-query-contract.d.ts +4 -1
- package/dist/types/lib/query-context/dashboard-card-query-key.d.ts +14 -2
- package/dist/types/lib/stores/dashboard-store.d.ts +4 -0
- package/dist/types/lib/utils/card-loading-state.d.ts +1 -0
- package/package.json +1 -1
- package/dist/chunks/index-BaIrLSBb.cjs +0 -1422
- package/dist/types/lib/matrix-table/matrix-clipboard.d.ts +0 -45
- package/dist/types/lib/matrix-table/matrix-selection.d.ts +0 -20
|
@@ -10976,23 +10976,23 @@ function sc(e, n, t) {
|
|
|
10976
10976
|
e.dashboard.defaultInputValues,
|
|
10977
10977
|
n,
|
|
10978
10978
|
t
|
|
10979
|
-
), zS(e, n, t), e.cardViewState[n] && (e.cardViewState[t] = e.cardViewState[n], delete e.cardViewState[n]), delete e.insightRenderRequests[n];
|
|
10979
|
+
), zS(e, n, t), e.cardViewState[n] && (e.cardViewState[t] = e.cardViewState[n], delete e.cardViewState[n]), e.dashboardCardPagination[n] && (e.dashboardCardPagination[t] = e.dashboardCardPagination[n], delete e.dashboardCardPagination[n]), delete e.insightRenderRequests[n];
|
|
10980
10980
|
}
|
|
10981
10981
|
function lc(e, n, t) {
|
|
10982
10982
|
var r;
|
|
10983
10983
|
(r = e == null ? void 0 : e.byCardId) != null && r[n] && (e.byCardId[t] = e.byCardId[n], delete e.byCardId[n]);
|
|
10984
10984
|
}
|
|
10985
10985
|
function co(e, n) {
|
|
10986
|
-
var t, r, o, i, a;
|
|
10986
|
+
var t, r, o, i, a, s;
|
|
10987
10987
|
if (n.size) {
|
|
10988
10988
|
HS(e, n);
|
|
10989
|
-
for (const
|
|
10990
|
-
(t = e.cardViewState) == null || delete t[
|
|
10989
|
+
for (const l of n)
|
|
10990
|
+
(t = e.cardViewState) == null || delete t[l], (r = e.dashboardCardPagination) == null || delete r[l], (o = e.insightRenderRequests) == null || delete o[l];
|
|
10991
10991
|
e.dashboard.inputs && (e.dashboard.inputs = e.dashboard.inputs.map(
|
|
10992
|
-
(
|
|
10992
|
+
(l) => ao(l, n)
|
|
10993
10993
|
));
|
|
10994
|
-
for (const
|
|
10995
|
-
(
|
|
10994
|
+
for (const l of n)
|
|
10995
|
+
(i = e.dashboardInputValues.byCardId) == null || delete i[l], (s = (a = e.dashboard.defaultInputValues) == null ? void 0 : a.byCardId) == null || delete s[l];
|
|
10996
10996
|
e.dashboardInputValues = Ee(
|
|
10997
10997
|
e.dashboardInputValues
|
|
10998
10998
|
), e.dashboard.defaultInputValues && (e.dashboard.defaultInputValues = Ee(
|
|
@@ -11286,6 +11286,7 @@ const yt = gs()(
|
|
|
11286
11286
|
cardControlValuesMap: {},
|
|
11287
11287
|
dashboardInputValues: {},
|
|
11288
11288
|
cardViewState: {},
|
|
11289
|
+
dashboardCardPagination: {},
|
|
11289
11290
|
dashboardInputReferenceTime: void 0,
|
|
11290
11291
|
semanticExecutionPayload: Qr(),
|
|
11291
11292
|
reportContext: null,
|
|
@@ -11321,7 +11322,7 @@ const yt = gs()(
|
|
|
11321
11322
|
a.relaodToken = 0, a.isSessionExpired = !1, a.authToken = void 0, a.currentBreakpoint = "lg", a.dashboard = {
|
|
11322
11323
|
id: "",
|
|
11323
11324
|
style: Zs
|
|
11324
|
-
}, a.dashboardAssistantDraftScopeKey = uc(), a.showContext = !1, a.selectedSheetId = null, a.selectedCardId = null, a.selectedFrameId = null, a.selectedCard = null, a.selectedDocumentSectionIdsBySheetId = {}, a.documentInspectorTabsBySheetId = {}, a.documentInputRuntimeBySheetId = {}, a.visualEditPendingFrameRewrites = {}, a.visualEditPendingFilterRewrites = {}, a.visualEditPendingDashboardCalculatedFields = void 0, a.showFilters = !1, a.isDashboardEditing = !1, a.isVisualEditing = !1, a.showDashboardJSON = !1, a.filteringCards = [], a.selectedLensId = void 0, a.filterValues = void 0, a.inlineFilterValuesMap = {}, a.controlValues = {}, a.cardControlValuesMap = {}, a.dashboardInputValues = {}, a.cardViewState = {}, a.insightRenderRequests = {}, a.restoredTransientContextScope = null, a.outgoingTransientContextScope = null, a.pendingDrillThrough = null, a.dashboardInputReferenceTime = void 0, a.semanticExecutionPayload = Qr(), a.reportContext = null, a.reportContextSessionAccessToken = null;
|
|
11325
|
+
}, a.dashboardAssistantDraftScopeKey = uc(), a.showContext = !1, a.selectedSheetId = null, a.selectedCardId = null, a.selectedFrameId = null, a.selectedCard = null, a.selectedDocumentSectionIdsBySheetId = {}, a.documentInspectorTabsBySheetId = {}, a.documentInputRuntimeBySheetId = {}, a.visualEditPendingFrameRewrites = {}, a.visualEditPendingFilterRewrites = {}, a.visualEditPendingDashboardCalculatedFields = void 0, a.showFilters = !1, a.isDashboardEditing = !1, a.isVisualEditing = !1, a.showDashboardJSON = !1, a.filteringCards = [], a.selectedLensId = void 0, a.filterValues = void 0, a.inlineFilterValuesMap = {}, a.controlValues = {}, a.cardControlValuesMap = {}, a.dashboardInputValues = {}, a.cardViewState = {}, a.dashboardCardPagination = {}, a.insightRenderRequests = {}, a.restoredTransientContextScope = null, a.outgoingTransientContextScope = null, a.pendingDrillThrough = null, a.dashboardInputReferenceTime = void 0, a.semanticExecutionPayload = Qr(), a.reportContext = null, a.reportContextSessionAccessToken = null;
|
|
11325
11326
|
});
|
|
11326
11327
|
},
|
|
11327
11328
|
triggerReload: () => {
|
|
@@ -11938,6 +11939,12 @@ const yt = gs()(
|
|
|
11938
11939
|
t.cardViewState = {};
|
|
11939
11940
|
});
|
|
11940
11941
|
},
|
|
11942
|
+
setDashboardCardPagination: (t, r) => {
|
|
11943
|
+
e((o) => {
|
|
11944
|
+
const i = o.dashboardCardPagination[t];
|
|
11945
|
+
(i == null ? void 0 : i.page) === r.page && i.pageSize === r.pageSize && i.queryInputIdentity === r.queryInputIdentity || (o.dashboardCardPagination[t] = r);
|
|
11946
|
+
});
|
|
11947
|
+
},
|
|
11941
11948
|
setDashboardControlsModel: (t, r, o) => {
|
|
11942
11949
|
e((i) => {
|
|
11943
11950
|
const a = o != null && o.renamed ? {
|
|
@@ -12261,7 +12268,7 @@ const yt = gs()(
|
|
|
12261
12268
|
});
|
|
12262
12269
|
},
|
|
12263
12270
|
setDashboard: (t, r) => {
|
|
12264
|
-
var c, d, u, p, f, g, h, I, C, y, v, S, x, w, b, E;
|
|
12271
|
+
var c, d, u, p, f, g, h, I, C, y, v, S, x, w, b, E, F;
|
|
12265
12272
|
fc(t);
|
|
12266
12273
|
const o = Gl(t), i = n(), a = ((c = r == null ? void 0 : r.reportContext) == null ? void 0 : c.calendar.tz) ?? ((d = i.reportContext) == null ? void 0 : d.calendar.tz), s = Nl(
|
|
12267
12274
|
o,
|
|
@@ -12279,7 +12286,7 @@ const yt = gs()(
|
|
|
12279
12286
|
e({
|
|
12280
12287
|
dashboard: o,
|
|
12281
12288
|
selectedSheetId: (f = o.sheets) != null && f.some(
|
|
12282
|
-
(
|
|
12289
|
+
(D) => D.id === i.selectedSheetId
|
|
12283
12290
|
) ? i.selectedSheetId : ((h = (g = o.sheets) == null ? void 0 : g[0]) == null ? void 0 : h.id) ?? null,
|
|
12284
12291
|
selectedDocumentSectionIdsBySheetId: {},
|
|
12285
12292
|
documentInspectorTabsBySheetId: {},
|
|
@@ -12291,17 +12298,18 @@ const yt = gs()(
|
|
|
12291
12298
|
cardControlValuesMap: l.cardControlValuesMap,
|
|
12292
12299
|
dashboardInputValues: (r == null ? void 0 : r.dashboardInputValues) ?? (((I = i.dashboard) == null ? void 0 : I.id) === o.id ? i.dashboardInputValues : {}),
|
|
12293
12300
|
cardViewState: ((C = i.dashboard) == null ? void 0 : C.id) === o.id ? i.cardViewState : {},
|
|
12294
|
-
|
|
12295
|
-
|
|
12296
|
-
|
|
12301
|
+
dashboardCardPagination: ((y = i.dashboard) == null ? void 0 : y.id) === o.id ? i.dashboardCardPagination : {},
|
|
12302
|
+
restoredTransientContextScope: ((v = i.dashboard) == null ? void 0 : v.id) === o.id ? i.restoredTransientContextScope : null,
|
|
12303
|
+
outgoingTransientContextScope: ((S = i.dashboard) == null ? void 0 : S.id) === o.id ? i.outgoingTransientContextScope : null,
|
|
12304
|
+
dashboardInputReferenceTime: (r == null ? void 0 : r.dashboardInputReferenceTime) ?? (((x = i.dashboard) == null ? void 0 : x.id) === o.id ? i.dashboardInputReferenceTime : void 0),
|
|
12297
12305
|
semanticExecutionPayload: (r == null ? void 0 : r.semanticExecutionPayload) ?? // Same-dashboard local replacements (JSON editor, discard/undo, etc.)
|
|
12298
12306
|
// preserve the existing runtime registry unless a fresh authoritative
|
|
12299
12307
|
// snapshot is supplied explicitly. Raw JSON-editor semantic-ref
|
|
12300
12308
|
// changes are intentionally out of scope for v1 and do not trigger
|
|
12301
12309
|
// semantic payload regeneration here.
|
|
12302
|
-
(((
|
|
12303
|
-
reportContext: (r == null ? void 0 : r.reportContext) ?? (((
|
|
12304
|
-
reportContextSessionAccessToken: r != null && r.reportContext ? ((
|
|
12310
|
+
(((w = i.dashboard) == null ? void 0 : w.id) === o.id ? i.semanticExecutionPayload : Qr()),
|
|
12311
|
+
reportContext: (r == null ? void 0 : r.reportContext) ?? (((b = i.dashboard) == null ? void 0 : b.id) === o.id ? i.reportContext : null),
|
|
12312
|
+
reportContextSessionAccessToken: r != null && r.reportContext ? ((E = i.authToken) == null ? void 0 : E.accessToken) ?? null : ((F = i.dashboard) == null ? void 0 : F.id) === o.id ? i.reportContextSessionAccessToken : null
|
|
12305
12313
|
});
|
|
12306
12314
|
},
|
|
12307
12315
|
setDashboardWithFilterValues: (t, r, o, i) => {
|
|
@@ -12319,7 +12327,7 @@ const yt = gs()(
|
|
|
12319
12327
|
i,
|
|
12320
12328
|
"dashboardInputValues"
|
|
12321
12329
|
);
|
|
12322
|
-
l.dashboard = a, l.filterValues = r, l.controlValues = s.dashboardControlValues, l.cardControlValuesMap = s.cardControlValuesMap, d ? (l.dashboardInputValues = (i == null ? void 0 : i.dashboardInputValues) || {}, l.dashboardInputReferenceTime = i == null ? void 0 : i.dashboardInputReferenceTime) : c || (l.dashboardInputValues = {}, l.dashboardInputReferenceTime = void 0), i != null && i.cardViewState ? l.cardViewState = i.cardViewState : c || (l.cardViewState = {}), i != null && i.transientContexts ? l.restoredTransientContextScope = {
|
|
12330
|
+
l.dashboard = a, l.filterValues = r, l.controlValues = s.dashboardControlValues, l.cardControlValuesMap = s.cardControlValuesMap, d ? (l.dashboardInputValues = (i == null ? void 0 : i.dashboardInputValues) || {}, l.dashboardInputReferenceTime = i == null ? void 0 : i.dashboardInputReferenceTime) : c || (l.dashboardInputValues = {}, l.dashboardInputReferenceTime = void 0), i != null && i.cardViewState ? l.cardViewState = i.cardViewState : c || (l.cardViewState = {}), c || (l.dashboardCardPagination = {}), i != null && i.transientContexts ? l.restoredTransientContextScope = {
|
|
12323
12331
|
dashboardId: a.id,
|
|
12324
12332
|
contexts: i.transientContexts
|
|
12325
12333
|
} : c || (l.restoredTransientContextScope = null), c || (l.outgoingTransientContextScope = null), l.semanticExecutionPayload = (i == null ? void 0 : i.semanticExecutionPayload) ?? Qr(), l.reportContext = (i == null ? void 0 : i.reportContext) ?? (c ? l.reportContext : null), l.reportContextSessionAccessToken = i != null && i.reportContext ? ((p = i.authToken) == null ? void 0 : p.accessToken) ?? ((f = l.authToken) == null ? void 0 : f.accessToken) ?? null : c ? l.reportContextSessionAccessToken : null, l.authToken = (i == null ? void 0 : i.authToken) ?? l.authToken, l.dashboardInputValues = Ft({
|
package/dist/dashboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../chunks/index-BriWG9wG.cjs"),e=require("../chunks/common-types-nBuCd3u2.cjs");exports.Dashboard=o.Dashboard;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;
|
package/dist/dashboard/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),p=require("react"),An=require("react-dom/client"),k=require("../chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),p=require("react"),An=require("react-dom/client"),k=require("../chunks/index-BriWG9wG.cjs"),w=require("../chunks/switch-BUW-Ky0G.cjs"),Ze=require("../data-app-builder-browser-runtime/index.cjs"),te=require("../chunks/x-B6ghREd2.cjs"),Cn=require("../chunks/save-3dYRmehL.cjs"),Rn=require("../chunks/mouse-pointer-2-DX4A_XZw.cjs"),tt=require("../chunks/selection-reducer-CGKKsaPa.cjs");function Tr(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const d=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(s,a,d.get?d:{enumerable:!0,get:()=>t[a]})}}return s.default=t,Object.freeze(s)}const Bn=Tr(p),Dn=Tr(An);/**
|
|
2
2
|
* @license lucide-react v0.453.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -2,8 +2,8 @@ import { jsx as r, jsxs as c, Fragment as re } from "react/jsx-runtime";
|
|
|
2
2
|
import * as Zn from "react";
|
|
3
3
|
import { useContext as qn, useState as x, useRef as oe, useMemo as je, useEffect as W, useCallback as Ot } from "react";
|
|
4
4
|
import * as Xn from "react-dom/client";
|
|
5
|
-
import { aK as ea, aL as ta, aM as Ir, aN as jr, aO as zr, aP as ra, aQ as Wr, aR as Hr, aS as Jr, aT as Vr, aU as _r, aV as Ur, aW as Kr, aX as na, aY as aa, aZ as oa, a_ as Ht, a$ as on, R as Gr, b0 as sa, b1 as Vt, b2 as sn, b3 as ia, b4 as la } from "../chunks/index-
|
|
6
|
-
import { B as H, P as it, a as lt, b as dt, _ as da, $ as ca, a0 as ua, a1 as pa, a2 as ha, L as me, R as ma, d as _t } from "../chunks/switch-
|
|
5
|
+
import { aK as ea, aL as ta, aM as Ir, aN as jr, aO as zr, aP as ra, aQ as Wr, aR as Hr, aS as Jr, aT as Vr, aU as _r, aV as Ur, aW as Kr, aX as na, aY as aa, aZ as oa, a_ as Ht, a$ as on, R as Gr, b0 as sa, b1 as Vt, b2 as sn, b3 as ia, b4 as la } from "../chunks/index-CTFwTeBb.js";
|
|
6
|
+
import { B as H, P as it, a as lt, b as dt, _ as da, $ as ca, a0 as ua, a1 as pa, a2 as ha, L as me, R as ma, d as _t } from "../chunks/switch-MB0NuLq-.js";
|
|
7
7
|
import { loadSemaphorBrowserRuntime as ot } from "../data-app-builder-browser-runtime/index.js";
|
|
8
8
|
import { c as Ve, X as He } from "../chunks/x-CXDkqdur.js";
|
|
9
9
|
import { S as fa } from "../chunks/save-DgMfP0j8.js";
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-BaIrLSBb.cjs"),T=require("./chunks/common-types-nBuCd3u2.cjs"),R=require("./chunks/report-preferences-dialog-C9rpWgQZ.cjs"),i=require("react/jsx-runtime"),r=require("./chunks/switch-iC1x2dcE.cjs"),h=require("react"),N=require("./chunks/token-types-Ahh5u4iT.cjs"),u=require("./chunks/validators-DVYAnnX0.cjs"),l=require("./chunks/dashboard-briefing-launcher-C4zsM3Hd.cjs"),w=require("./chunks/use-debounced-dirty-check-XHSwAefL.cjs");require("./chunks/matrix-operation-contract-DoiWTUbT.cjs");require("./chunks/matrix-continuation-6nhDy-lF.cjs");require("./value-format-preferences/index.cjs");const L=require("./chunks/report-runtime-context-DzvHBPxl.cjs"),B=require("./chunks/pivot-result-identity-uTiylUNr.cjs");require("./chunks/field-aggregations-jSi77h9Z.cjs");const A=require("./chunks/calculated-field-identity-BiTGmnST.cjs");require("zod");require("./chunks/card-config-utils-CMO4_zVs.cjs");require("react-dom");require("./chunks/index-DhlVxvyI.cjs");require("./chunks/appearance-context-DzqCdhB4.cjs");require("./chunks/color-CyB5o13F.cjs");require("./chunks/index-Cx3qmRUB.cjs");const S=require("./chunks/normalize-dashboard-for-dirty-check-BYtBA708.cjs"),M=require("./chunks/x-B6ghREd2.cjs");require("./chunks/appearance-runtime-provider-D5pkvgE4.cjs");function j(a){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const o in a)if(o!=="default"){const d=Object.getOwnPropertyDescriptor(a,o);Object.defineProperty(t,o,d.get?d:{enumerable:!0,get:()=>a[o]})}}return t.default=a,Object.freeze(t)}const m=j(h);function I(a){const{displayPreferences:t,cardId:o,...d}=a,n={...d,id:a.dashboardId};return i.jsx(e.ErrorBoundary,{FallbackComponent:e.Fallback,children:i.jsxs(e.SemaphorContextProvider,{dashboardProps:n,children:[i.jsx(e.SemaphorReadyIndicator,{componentType:"visual",componentId:a.cardId}),i.jsx(e.UXProvider,{appearance:a.appearance,children:i.jsx(e.DisplayPreferencesProvider,{displayPreferences:t,children:i.jsx(e.Container,{type:"visual",cardId:o,...n,children:i.jsx(q,{cardId:o})})})})]})})}function q({cardId:a}){const t=r.useDashboardStore(n=>{var c;return(c=n.dashboard)==null?void 0:c.sheets}),{card:o,frame:d}=h.useMemo(()=>{const n=t==null?void 0:t.flatMap(s=>s.frames),c=n==null?void 0:n.flatMap(s=>s==null?void 0:s.cards),D=c==null?void 0:c.find(s=>(s==null?void 0:s.id)===a),E=n==null?void 0:n.find(s=>{var C;return(C=s==null?void 0:s.cards)==null?void 0:C.find(f=>(f==null?void 0:f.id)===a)});return{card:D,frame:E}},[t,a]);return!o||!d?i.jsx(e.FallbackVisual,{error:new Error("Card not found"),resetErrorBoundary:()=>{},customerFacingMessage:`Card not found with ID: ${a}`}):i.jsx("main",{className:"flex h-full grow flex-col",children:i.jsx(e.ErrorBoundary,{FallbackComponent:({error:n,resetErrorBoundary:c})=>i.jsx(e.FallbackVisual,{error:n,resetErrorBoundary:c,customerFacingMessage:"Error creating visual. Please try again."}),children:i.jsx(e.DashboardCard,{card:o,frame:d})})})}function U(a,t,o,d){h.useEffect(()=>{a&&!o&&t&&d(A.cloneDeep(t))},[a,o,t,d])}function k({name:a,items:t,value:o,onChange:d,isLoading:n,isError:c,refetch:D,className:E,icon:s,showNone:C=!1}){const f=m.useRef(null),[y,b]=m.useState(!1),[F,v]=m.useState("100%"),x=C?[...t||[],{id:"none",name:"None"}]:t;m.useLayoutEffect(()=>{f.current&&v(f.current.offsetWidth)},[]);function _(){var g;return n?"Loading...":c?"Error":o?(g=t==null?void 0:t.find(p=>p.id===o))==null?void 0:g.name:`Select ${a}`}function P(g,p){d(p),b(!1)}return i.jsxs(r.Popover,{open:y,onOpenChange:b,children:[i.jsx(r.PopoverTrigger,{asChild:!0,children:i.jsxs(r.Button,{ref:f,variant:"outline",role:"combobox","aria-expanded":y,className:r.cn("flex h-9 w-full justify-between",E),children:[i.jsxs("div",{className:"flex items-center gap-2",children:[s&&i.jsx("div",{className:"mr-2",children:s}),i.jsx("span",{className:"max-w-[150px] overflow-hidden truncate text-ellipsis whitespace-nowrap",children:_()})]}),i.jsx(M.ChevronDown,{className:"size-4 opacity-50"})]})}),i.jsx(r.PopoverContent,{className:"w-full p-0",style:{minWidth:F},children:i.jsxs(e.Command,{children:[i.jsxs("div",{className:"flex h-9 items-center justify-between border-b pr-1",children:[i.jsx(e.CommandInput,{className:"h-9",placeholder:"Search..."}),i.jsx(e.IconButton,{className:"h-7",onClick:D,children:i.jsx(e.RefreshCw,{className:r.cn("size-3.5 opacity-50",n&&"animate-spin")})})]}),i.jsxs(e.CommandList,{children:[i.jsxs(e.CommandEmpty,{children:["No ",a==null?void 0:a.toLowerCase()," found."]}),i.jsx(e.CommandGroup,{children:x==null?void 0:x.map(g=>i.jsx(e.CommandItem,{className:"overflow-x-auto",value:g.name,onSelect:p=>P(p,g.id),children:i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(r.Check,{className:r.cn("size-4",o===g.id?"opacity-100":"opacity-0")}),i.jsx("div",{title:g.name,children:g.name})]})},g.id))})]})]})})]})}function O(a,t){h.useEffect(()=>(a&&t&&(window.__SEMAPHOR_PRINT_STATE__={...t}),()=>{a&&window.__SEMAPHOR_PRINT_STATE__&&delete window.__SEMAPHOR_PRINT_STATE__}),[a,t])}exports.BriefingAuthor=e.BriefingAuthor;exports.BriefingAuthorDialog=e.BriefingAuthorDialog;exports.BriefingUiCapabilitiesBoundary=e.BriefingUiCapabilitiesBoundary;exports.BriefingUiCapabilitiesProvider=e.BriefingUiCapabilitiesProvider;exports.BriefingsApiError=e.BriefingsApiError;exports.CardSummary=e.CardSummary;exports.Dashboard=e.Dashboard;exports.DashboardCreateDialogBase=e.DashboardCreateDialogBase;exports.DashboardExportDialog=e.DashboardExportDialog;exports.DashboardWC=e.DashboardWC;exports.DisplayFormatPreferencesFields=e.DisplayFormatPreferencesFields;exports.ExportError=e.ExportError;exports.MatrixCardView=e.MatrixCardView;exports.ResourceType=e.ResourceType;exports.SemaphorContextProvider=e.SemaphorContextProvider;exports.SemaphorDataProvider=e.SemaphorQueryClient;exports.SemaphorQueryClient=e.SemaphorQueryClient;exports.ShareDialog=e.ShareDialog;exports.SummaryCard=e.SummaryCard;exports.Surfboard=e.DashboardPlus;exports.applyBriefingFormPatch=e.applyBriefingFormPatch;exports.briefingFormDraftToCreateRequest=e.briefingFormDraftToCreateRequest;exports.briefingFormDraftToUpdateRequest=e.briefingFormDraftToUpdateRequest;exports.briefingToFormDraft=e.briefingToFormDraft;exports.cancelBriefingPreviewRun=e.cancelBriefingPreviewRun;exports.cancelBriefingRun=e.cancelBriefingRun;exports.cancelExport=e.cancelExport;exports.createBriefing=e.createBriefing;exports.createBriefingFormDraft=e.createBriefingFormDraft;exports.createExport=e.createExport;exports.deleteBriefing=e.deleteBriefing;exports.deleteBriefingRun=e.deleteBriefingRun;exports.downloadDocumentPdf=e.downloadDocumentPdf;exports.downloadPdf=e.downloadPdf;exports.formatFileSize=e.formatFileSize;exports.getBriefing=e.getBriefing;exports.getBriefingArtifact=e.getBriefingArtifact;exports.getBriefingEvidence=e.getBriefingEvidence;exports.getBriefingPreviewRun=e.getBriefingPreviewRun;exports.getBriefingRun=e.getBriefingRun;exports.getDownloadUrl=e.getDownloadUrl;exports.getExportStatus=e.getExportStatus;exports.getExports=e.getExports;exports.isExportComplete=e.isExportComplete;exports.isExportInProgress=e.isExportInProgress;exports.listBriefingRuns=e.listBriefingRuns;exports.listBriefingTenantSummaries=e.listBriefingTenantSummaries;exports.listBriefings=e.listBriefings;exports.pauseBriefing=e.pauseBriefing;exports.polishBriefingText=e.polishBriefingText;exports.previewBriefingPlan=e.previewBriefingPlan;exports.resumeBriefing=e.resumeBriefing;exports.runBriefingNow=e.runBriefingNow;exports.runBriefingPreview=e.runBriefingPreview;exports.updateBriefing=e.updateBriefing;exports.useActiveExports=e.useActiveExports;exports.useAddNewFrame=e.useAddNewFrame;exports.useBriefingUiCapabilities=e.useBriefingUiCapabilities;exports.useCard=e.useCard;exports.useCardSummary=e.useCardSummary;exports.useDashboardById=e.useDashboardById;exports.useDashboardQuery=e.useDashboardQuery;exports.useDashboardSummary=e.useDashboardSummary;exports.useDataColumns=e.useDataColumns;exports.useDateFilterHook=e.useDateFilterHook;exports.useEditorAside=e.useEditorAside;exports.useExportActions=e.useExportActions;exports.useExportStore=e.useExportStore;exports.useInProgressExportsCount=e.useInProgressExportsCount;exports.useManagementStore=e.useManagementStore;exports.useResourceManagement=e.useResourceManagement;exports.useTextFilterHook=e.useTextFilterHook;exports.validateBriefingFormDraft=e.validateBriefingFormDraft;exports.CONTROL_CARD_DEFAULT_VALUE=T.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=T.EMPTY_SELECTION;exports.ReportPreferencesDialog=R.ReportPreferencesDialog;exports.createEmptyKpiConfig=r.createEmptyKpiConfig;exports.createSqlGenConfig=r.createSqlGenConfig;exports.emitDashboardLoad=r.emitDashboardLoad;exports.emitDashboardUnload=r.emitDashboardUnload;exports.fmt=r.fmt;exports.getColumnDataType=r.getColumnDataType;exports.getFilterValueType=r.getFilterValueType;exports.getFormattedTableNameForQuery=r.getFormattedTableNameForQuery;exports.getQualifiedTableName=r.getQualifiedTableName;exports.getSql=r.getSql;exports.invalidateToken=r.invalidateToken;exports.isBooleanDataType=r.isBooleanDataType;exports.isColumnInSqlGen=r.isColumnInSqlGen;exports.isDateDataType=r.isDateDataType;exports.isNumberDataType=r.isNumberDataType;exports.isTextDataType=r.isTextDataType;exports.resolveDataType=r.resolveDataType;exports.resolveDatamodelName=r.resolveDatamodelName;exports.useCurrentActiveCard=r.useCurrentActiveCard;exports.useCurrentCardConfig=r.useCurrentCardConfig;exports.useCurrentSheetActiveCards=r.useCurrentSheetActiveCards;exports.useDashboardActions=r.useDashboardActions;exports.useDashboardStore=r.useDashboardStore;exports.useEditorActions=r.useEditorActions;exports.useEditorStore=r.useEditorStore;exports.DEFAULT_SEMANTIC_DOMAIN_ACCESS=N.DEFAULT_SEMANTIC_DOMAIN_ACCESS;exports.CALCULATED_FIELD_ENTITY_MARKER=u.CALCULATED_FIELD_ENTITY_MARKER;exports.DATE_FORMAT_VALUES=u.DATE_FORMAT_VALUES;exports.LEGACY_CALCULATED_FIELD_ENTITY_MARKER=u.LEGACY_CALCULATED_FIELD_ENTITY_MARKER;exports.PivotMarkerEnum=u.PivotMarkerEnum;exports.getCalculatedFieldComputeStage=u.getCalculatedFieldComputeStage;exports.getFieldRuntimeColumnName=u.getFieldRuntimeColumnName;exports.hasCalculatedFieldMarker=u.hasCalculatedFieldMarker;exports.hasCalculatedFormulaInputs=u.hasCalculatedFormulaInputs;exports.hasSyntheticCalculatedFieldOwner=u.hasSyntheticCalculatedFieldOwner;exports.inspectCalculatedField=u.inspectCalculatedField;exports.isCalculatedDimension=u.isCalculatedDimension;exports.isCalculatedMetric=u.isCalculatedMetric;exports.isDerivedField=u.isDerivedField;exports.normalizeCalculatedFieldRepresentation=u.normalizeCalculatedFieldRepresentation;exports.shouldDropInheritedCalculationAggregate=u.shouldDropInheritedCalculationAggregate;exports.AdvancedModeToggle=l.AdvancedModeToggle;exports.DashboardBriefingLauncher=l.DashboardBriefingLauncher;exports.DashboardControlsSettings=l.DashboardControlsSettings;exports.DashboardFilterControlsButton=l.DashboardFilterControlsButton;exports.DashboardFilterControlsLauncher=l.DashboardFilterControlsLauncher;exports.DocumentControlsSettings=l.DocumentControlsSettings;exports.ExportNotificationItem=l.ExportNotificationItem;exports.ExportNotificationList=l.ExportNotificationList;exports.NotificationBell=l.NotificationBell;exports.UnsavedChangesAlert=l.UnsavedChangesAlert;exports.VisualEditingControls=l.VisualEditingControls;exports.VisualsLibraryDialog=l.VisualsLibraryDialog;exports.WatchDashboardButton=l.WatchDashboardButton;exports.useDashboardUnsavedChangesCheck=l.useDashboardUnsavedChangesCheck;exports.useExportPolling=l.useExportPolling;exports.useExportRecovery=l.useExportRecovery;exports.useDebouncedDirtyCheck=w.useDebouncedDirtyCheck;exports.DEFAULT_CALENDAR_CONTEXT=L.DEFAULT_CALENDAR_CONTEXT;exports.resolveQueryColumnKeyMapEntry=B.resolveQueryColumnKeyMapEntry;exports.resolveUniqueQueryColumnKeyMapEntry=B.resolveUniqueQueryColumnKeyMapEntry;exports.cloneDeep=A.cloneDeep;exports.normalizeDashboardForDirtyCheck=S.normalizeDashboardForDirtyCheck;exports.serializeDashboardForDirtyCheck=S.serializeDashboardForDirtyCheck;exports.Combobox=k;exports.Visual=I;exports.useExposePrintState=O;exports.usePristineSnapshotInitializer=U;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./chunks/index-BriWG9wG.cjs"),T=require("./chunks/common-types-nBuCd3u2.cjs"),R=require("./chunks/report-preferences-dialog-C1LOgCAH.cjs"),i=require("react/jsx-runtime"),r=require("./chunks/switch-BUW-Ky0G.cjs"),h=require("react"),N=require("./chunks/token-types-Ahh5u4iT.cjs"),u=require("./chunks/validators-DVYAnnX0.cjs"),l=require("./chunks/dashboard-briefing-launcher-CAHFThZ6.cjs"),w=require("./chunks/use-debounced-dirty-check-XHSwAefL.cjs");require("./chunks/matrix-operation-contract-DoiWTUbT.cjs");require("./chunks/matrix-continuation-6nhDy-lF.cjs");require("./value-format-preferences/index.cjs");const L=require("./chunks/report-runtime-context-DzvHBPxl.cjs"),B=require("./chunks/pivot-result-identity-uTiylUNr.cjs");require("./chunks/field-aggregations-jSi77h9Z.cjs");const A=require("./chunks/calculated-field-identity-BiTGmnST.cjs");require("zod");require("./chunks/card-config-utils-CMO4_zVs.cjs");require("react-dom");require("./chunks/index-DhlVxvyI.cjs");require("./chunks/appearance-context-DzqCdhB4.cjs");require("./chunks/color-CyB5o13F.cjs");require("./chunks/index-Cx3qmRUB.cjs");const S=require("./chunks/normalize-dashboard-for-dirty-check-BYtBA708.cjs"),M=require("./chunks/x-B6ghREd2.cjs");require("./chunks/appearance-runtime-provider-D5pkvgE4.cjs");function j(a){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const o in a)if(o!=="default"){const d=Object.getOwnPropertyDescriptor(a,o);Object.defineProperty(t,o,d.get?d:{enumerable:!0,get:()=>a[o]})}}return t.default=a,Object.freeze(t)}const m=j(h);function I(a){const{displayPreferences:t,cardId:o,...d}=a,n={...d,id:a.dashboardId};return i.jsx(e.ErrorBoundary,{FallbackComponent:e.Fallback,children:i.jsxs(e.SemaphorContextProvider,{dashboardProps:n,children:[i.jsx(e.SemaphorReadyIndicator,{componentType:"visual",componentId:a.cardId}),i.jsx(e.UXProvider,{appearance:a.appearance,children:i.jsx(e.DisplayPreferencesProvider,{displayPreferences:t,children:i.jsx(e.Container,{type:"visual",cardId:o,...n,children:i.jsx(q,{cardId:o})})})})]})})}function q({cardId:a}){const t=r.useDashboardStore(n=>{var c;return(c=n.dashboard)==null?void 0:c.sheets}),{card:o,frame:d}=h.useMemo(()=>{const n=t==null?void 0:t.flatMap(s=>s.frames),c=n==null?void 0:n.flatMap(s=>s==null?void 0:s.cards),D=c==null?void 0:c.find(s=>(s==null?void 0:s.id)===a),E=n==null?void 0:n.find(s=>{var C;return(C=s==null?void 0:s.cards)==null?void 0:C.find(f=>(f==null?void 0:f.id)===a)});return{card:D,frame:E}},[t,a]);return!o||!d?i.jsx(e.FallbackVisual,{error:new Error("Card not found"),resetErrorBoundary:()=>{},customerFacingMessage:`Card not found with ID: ${a}`}):i.jsx("main",{className:"flex h-full grow flex-col",children:i.jsx(e.ErrorBoundary,{FallbackComponent:({error:n,resetErrorBoundary:c})=>i.jsx(e.FallbackVisual,{error:n,resetErrorBoundary:c,customerFacingMessage:"Error creating visual. Please try again."}),children:i.jsx(e.DashboardCard,{card:o,frame:d})})})}function U(a,t,o,d){h.useEffect(()=>{a&&!o&&t&&d(A.cloneDeep(t))},[a,o,t,d])}function k({name:a,items:t,value:o,onChange:d,isLoading:n,isError:c,refetch:D,className:E,icon:s,showNone:C=!1}){const f=m.useRef(null),[y,b]=m.useState(!1),[F,v]=m.useState("100%"),x=C?[...t||[],{id:"none",name:"None"}]:t;m.useLayoutEffect(()=>{f.current&&v(f.current.offsetWidth)},[]);function _(){var g;return n?"Loading...":c?"Error":o?(g=t==null?void 0:t.find(p=>p.id===o))==null?void 0:g.name:`Select ${a}`}function P(g,p){d(p),b(!1)}return i.jsxs(r.Popover,{open:y,onOpenChange:b,children:[i.jsx(r.PopoverTrigger,{asChild:!0,children:i.jsxs(r.Button,{ref:f,variant:"outline",role:"combobox","aria-expanded":y,className:r.cn("flex h-9 w-full justify-between",E),children:[i.jsxs("div",{className:"flex items-center gap-2",children:[s&&i.jsx("div",{className:"mr-2",children:s}),i.jsx("span",{className:"max-w-[150px] overflow-hidden truncate text-ellipsis whitespace-nowrap",children:_()})]}),i.jsx(M.ChevronDown,{className:"size-4 opacity-50"})]})}),i.jsx(r.PopoverContent,{className:"w-full p-0",style:{minWidth:F},children:i.jsxs(e.Command,{children:[i.jsxs("div",{className:"flex h-9 items-center justify-between border-b pr-1",children:[i.jsx(e.CommandInput,{className:"h-9",placeholder:"Search..."}),i.jsx(e.IconButton,{className:"h-7",onClick:D,children:i.jsx(e.RefreshCw,{className:r.cn("size-3.5 opacity-50",n&&"animate-spin")})})]}),i.jsxs(e.CommandList,{children:[i.jsxs(e.CommandEmpty,{children:["No ",a==null?void 0:a.toLowerCase()," found."]}),i.jsx(e.CommandGroup,{children:x==null?void 0:x.map(g=>i.jsx(e.CommandItem,{className:"overflow-x-auto",value:g.name,onSelect:p=>P(p,g.id),children:i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(r.Check,{className:r.cn("size-4",o===g.id?"opacity-100":"opacity-0")}),i.jsx("div",{title:g.name,children:g.name})]})},g.id))})]})]})})]})}function O(a,t){h.useEffect(()=>(a&&t&&(window.__SEMAPHOR_PRINT_STATE__={...t}),()=>{a&&window.__SEMAPHOR_PRINT_STATE__&&delete window.__SEMAPHOR_PRINT_STATE__}),[a,t])}exports.BriefingAuthor=e.BriefingAuthor;exports.BriefingAuthorDialog=e.BriefingAuthorDialog;exports.BriefingUiCapabilitiesBoundary=e.BriefingUiCapabilitiesBoundary;exports.BriefingUiCapabilitiesProvider=e.BriefingUiCapabilitiesProvider;exports.BriefingsApiError=e.BriefingsApiError;exports.CardSummary=e.CardSummary;exports.Dashboard=e.Dashboard;exports.DashboardCreateDialogBase=e.DashboardCreateDialogBase;exports.DashboardExportDialog=e.DashboardExportDialog;exports.DashboardWC=e.DashboardWC;exports.DisplayFormatPreferencesFields=e.DisplayFormatPreferencesFields;exports.ExportError=e.ExportError;exports.MatrixCardView=e.MatrixCardView;exports.ResourceType=e.ResourceType;exports.SemaphorContextProvider=e.SemaphorContextProvider;exports.SemaphorDataProvider=e.SemaphorQueryClient;exports.SemaphorQueryClient=e.SemaphorQueryClient;exports.ShareDialog=e.ShareDialog;exports.SummaryCard=e.SummaryCard;exports.Surfboard=e.DashboardPlus;exports.applyBriefingFormPatch=e.applyBriefingFormPatch;exports.briefingFormDraftToCreateRequest=e.briefingFormDraftToCreateRequest;exports.briefingFormDraftToUpdateRequest=e.briefingFormDraftToUpdateRequest;exports.briefingToFormDraft=e.briefingToFormDraft;exports.cancelBriefingPreviewRun=e.cancelBriefingPreviewRun;exports.cancelBriefingRun=e.cancelBriefingRun;exports.cancelExport=e.cancelExport;exports.createBriefing=e.createBriefing;exports.createBriefingFormDraft=e.createBriefingFormDraft;exports.createExport=e.createExport;exports.deleteBriefing=e.deleteBriefing;exports.deleteBriefingRun=e.deleteBriefingRun;exports.downloadDocumentPdf=e.downloadDocumentPdf;exports.downloadPdf=e.downloadPdf;exports.formatFileSize=e.formatFileSize;exports.getBriefing=e.getBriefing;exports.getBriefingArtifact=e.getBriefingArtifact;exports.getBriefingEvidence=e.getBriefingEvidence;exports.getBriefingPreviewRun=e.getBriefingPreviewRun;exports.getBriefingRun=e.getBriefingRun;exports.getDownloadUrl=e.getDownloadUrl;exports.getExportStatus=e.getExportStatus;exports.getExports=e.getExports;exports.isExportComplete=e.isExportComplete;exports.isExportInProgress=e.isExportInProgress;exports.listBriefingRuns=e.listBriefingRuns;exports.listBriefingTenantSummaries=e.listBriefingTenantSummaries;exports.listBriefings=e.listBriefings;exports.pauseBriefing=e.pauseBriefing;exports.polishBriefingText=e.polishBriefingText;exports.previewBriefingPlan=e.previewBriefingPlan;exports.resumeBriefing=e.resumeBriefing;exports.runBriefingNow=e.runBriefingNow;exports.runBriefingPreview=e.runBriefingPreview;exports.updateBriefing=e.updateBriefing;exports.useActiveExports=e.useActiveExports;exports.useAddNewFrame=e.useAddNewFrame;exports.useBriefingUiCapabilities=e.useBriefingUiCapabilities;exports.useCard=e.useCard;exports.useCardSummary=e.useCardSummary;exports.useDashboardById=e.useDashboardById;exports.useDashboardQuery=e.useDashboardQuery;exports.useDashboardSummary=e.useDashboardSummary;exports.useDataColumns=e.useDataColumns;exports.useDateFilterHook=e.useDateFilterHook;exports.useEditorAside=e.useEditorAside;exports.useExportActions=e.useExportActions;exports.useExportStore=e.useExportStore;exports.useInProgressExportsCount=e.useInProgressExportsCount;exports.useManagementStore=e.useManagementStore;exports.useResourceManagement=e.useResourceManagement;exports.useTextFilterHook=e.useTextFilterHook;exports.validateBriefingFormDraft=e.validateBriefingFormDraft;exports.CONTROL_CARD_DEFAULT_VALUE=T.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=T.EMPTY_SELECTION;exports.ReportPreferencesDialog=R.ReportPreferencesDialog;exports.createEmptyKpiConfig=r.createEmptyKpiConfig;exports.createSqlGenConfig=r.createSqlGenConfig;exports.emitDashboardLoad=r.emitDashboardLoad;exports.emitDashboardUnload=r.emitDashboardUnload;exports.fmt=r.fmt;exports.getColumnDataType=r.getColumnDataType;exports.getFilterValueType=r.getFilterValueType;exports.getFormattedTableNameForQuery=r.getFormattedTableNameForQuery;exports.getQualifiedTableName=r.getQualifiedTableName;exports.getSql=r.getSql;exports.invalidateToken=r.invalidateToken;exports.isBooleanDataType=r.isBooleanDataType;exports.isColumnInSqlGen=r.isColumnInSqlGen;exports.isDateDataType=r.isDateDataType;exports.isNumberDataType=r.isNumberDataType;exports.isTextDataType=r.isTextDataType;exports.resolveDataType=r.resolveDataType;exports.resolveDatamodelName=r.resolveDatamodelName;exports.useCurrentActiveCard=r.useCurrentActiveCard;exports.useCurrentCardConfig=r.useCurrentCardConfig;exports.useCurrentSheetActiveCards=r.useCurrentSheetActiveCards;exports.useDashboardActions=r.useDashboardActions;exports.useDashboardStore=r.useDashboardStore;exports.useEditorActions=r.useEditorActions;exports.useEditorStore=r.useEditorStore;exports.DEFAULT_SEMANTIC_DOMAIN_ACCESS=N.DEFAULT_SEMANTIC_DOMAIN_ACCESS;exports.CALCULATED_FIELD_ENTITY_MARKER=u.CALCULATED_FIELD_ENTITY_MARKER;exports.DATE_FORMAT_VALUES=u.DATE_FORMAT_VALUES;exports.LEGACY_CALCULATED_FIELD_ENTITY_MARKER=u.LEGACY_CALCULATED_FIELD_ENTITY_MARKER;exports.PivotMarkerEnum=u.PivotMarkerEnum;exports.getCalculatedFieldComputeStage=u.getCalculatedFieldComputeStage;exports.getFieldRuntimeColumnName=u.getFieldRuntimeColumnName;exports.hasCalculatedFieldMarker=u.hasCalculatedFieldMarker;exports.hasCalculatedFormulaInputs=u.hasCalculatedFormulaInputs;exports.hasSyntheticCalculatedFieldOwner=u.hasSyntheticCalculatedFieldOwner;exports.inspectCalculatedField=u.inspectCalculatedField;exports.isCalculatedDimension=u.isCalculatedDimension;exports.isCalculatedMetric=u.isCalculatedMetric;exports.isDerivedField=u.isDerivedField;exports.normalizeCalculatedFieldRepresentation=u.normalizeCalculatedFieldRepresentation;exports.shouldDropInheritedCalculationAggregate=u.shouldDropInheritedCalculationAggregate;exports.AdvancedModeToggle=l.AdvancedModeToggle;exports.DashboardBriefingLauncher=l.DashboardBriefingLauncher;exports.DashboardControlsSettings=l.DashboardControlsSettings;exports.DashboardFilterControlsButton=l.DashboardFilterControlsButton;exports.DashboardFilterControlsLauncher=l.DashboardFilterControlsLauncher;exports.DocumentControlsSettings=l.DocumentControlsSettings;exports.ExportNotificationItem=l.ExportNotificationItem;exports.ExportNotificationList=l.ExportNotificationList;exports.NotificationBell=l.NotificationBell;exports.UnsavedChangesAlert=l.UnsavedChangesAlert;exports.VisualEditingControls=l.VisualEditingControls;exports.VisualsLibraryDialog=l.VisualsLibraryDialog;exports.WatchDashboardButton=l.WatchDashboardButton;exports.useDashboardUnsavedChangesCheck=l.useDashboardUnsavedChangesCheck;exports.useExportPolling=l.useExportPolling;exports.useExportRecovery=l.useExportRecovery;exports.useDebouncedDirtyCheck=w.useDebouncedDirtyCheck;exports.DEFAULT_CALENDAR_CONTEXT=L.DEFAULT_CALENDAR_CONTEXT;exports.resolveQueryColumnKeyMapEntry=B.resolveQueryColumnKeyMapEntry;exports.resolveUniqueQueryColumnKeyMapEntry=B.resolveUniqueQueryColumnKeyMapEntry;exports.cloneDeep=A.cloneDeep;exports.normalizeDashboardForDirtyCheck=S.normalizeDashboardForDirtyCheck;exports.serializeDashboardForDirtyCheck=S.serializeDashboardForDirtyCheck;exports.Combobox=k;exports.Visual=I;exports.useExposePrintState=O;exports.usePristineSnapshotInitializer=U;
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { E as y, F as S, S as N, c as _, U as F, d as P, C as w, e as x, f as R, g as L, h as M, I, R as U, i as k, j as O, k as V, l as q } from "./chunks/index-
|
|
2
|
-
import { ak as ba, al as Ta, am as va, an as Aa, V as Ba, G as Sa, D as Na, A as _a, z as Fa, w as Pa, b as wa, au as Ra, M as La, n as Ma, q as Ia, q as Ua, r as ka, B as Oa, a as Va, af as qa, ah as za, ai as Wa, ag as ja, a6 as Qa, a9 as Ha, at as Ka, Z as Ga, ae as Ya, ap as Xa, a1 as $a, aa as Ja, y as Za, x as ae, ax as ee, Y as se, ab as re, ac as oe, a5 as ie, a8 as te, as as ne, ar as le, aq as de, aw as ue, av as ce, a7 as pe, X as fe, W as me, $ as he, ad as ge, a3 as Ce, a0 as De, a2 as Ee, a4 as xe, _ as ye, P as be, L as Te, ao as ve, v as Ae, J as Be, t as Se, m as Ne, H as _e, K as Fe, o as Pe, T as we, O as Re, N as Le, Q as Me, u as Ie, s as Ue, p as ke, aj as Oe } from "./chunks/index-
|
|
1
|
+
import { E as y, F as S, S as N, c as _, U as F, d as P, C as w, e as x, f as R, g as L, h as M, I, R as U, i as k, j as O, k as V, l as q } from "./chunks/index-CTFwTeBb.js";
|
|
2
|
+
import { ak as ba, al as Ta, am as va, an as Aa, V as Ba, G as Sa, D as Na, A as _a, z as Fa, w as Pa, b as wa, au as Ra, M as La, n as Ma, q as Ia, q as Ua, r as ka, B as Oa, a as Va, af as qa, ah as za, ai as Wa, ag as ja, a6 as Qa, a9 as Ha, at as Ka, Z as Ga, ae as Ya, ap as Xa, a1 as $a, aa as Ja, y as Za, x as ae, ax as ee, Y as se, ab as re, ac as oe, a5 as ie, a8 as te, as as ne, ar as le, aq as de, aw as ue, av as ce, a7 as pe, X as fe, W as me, $ as he, ad as ge, a3 as Ce, a0 as De, a2 as Ee, a4 as xe, _ as ye, P as be, L as Te, ao as ve, v as Ae, J as Be, t as Se, m as Ne, H as _e, K as Fe, o as Pe, T as we, O as Re, N as Le, Q as Me, u as Ie, s as Ue, p as ke, aj as Oe } from "./chunks/index-CTFwTeBb.js";
|
|
3
3
|
import { C as qe, E as ze } from "./chunks/common-types-C6cAQgyh.js";
|
|
4
|
-
import { R as je } from "./chunks/report-preferences-dialog-
|
|
4
|
+
import { R as je } from "./chunks/report-preferences-dialog-CEja_Mat.js";
|
|
5
5
|
import { jsx as a, jsxs as d } from "react/jsx-runtime";
|
|
6
|
-
import { u as z, P as W, a as j, B as Q, c as C, b as H, d as K } from "./chunks/switch-
|
|
7
|
-
import { A as He, n as Ke, e as Ge, f as Ye, g as Xe, p as $e, o as Je, s as Ze, t as as, m as es, i as ss, l as rs, q as os, k as is, j as ts, h as ns, v as ls, r as ds, w as us, y as cs, x as ps, z as fs, E as ms, D as hs } from "./chunks/switch-
|
|
6
|
+
import { u as z, P as W, a as j, B as Q, c as C, b as H, d as K } from "./chunks/switch-MB0NuLq-.js";
|
|
7
|
+
import { A as He, n as Ke, e as Ge, f as Ye, g as Xe, p as $e, o as Je, s as Ze, t as as, m as es, i as ss, l as rs, q as os, k as is, j as ts, h as ns, v as ls, r as ds, w as us, y as cs, x as ps, z as fs, E as ms, D as hs } from "./chunks/switch-MB0NuLq-.js";
|
|
8
8
|
import * as f from "react";
|
|
9
9
|
import { useMemo as G, useEffect as b } from "react";
|
|
10
10
|
import { D as Cs } from "./chunks/token-types-CPde8_LG.js";
|
|
11
11
|
import { C as Es, D as xs, L as ys, P as bs, d as Ts, g as vs, e as As, h as Bs, f as Ss, c as Ns, a as _s, i as Fs, b as Ps, n as ws, s as Rs } from "./chunks/validators-BDYzZFgs.js";
|
|
12
|
-
import { A as Ms, h as Is, D as Us, f as ks, g as Os, e as Vs, b as qs, E as zs, N as Ws, U as js, a as Qs, V as Hs, W as Ks, u as Gs, c as Ys, d as Xs } from "./chunks/dashboard-briefing-launcher-
|
|
12
|
+
import { A as Ms, h as Is, D as Us, f as ks, g as Os, e as Vs, b as qs, E as zs, N as Ws, U as js, a as Qs, V as Hs, W as Ks, u as Gs, c as Ys, d as Xs } from "./chunks/dashboard-briefing-launcher-CLZFm7_M.js";
|
|
13
13
|
import { u as Js } from "./chunks/use-debounced-dirty-check-BwAbnX_5.js";
|
|
14
14
|
import "./chunks/matrix-operation-contract-xL8IhFzp.js";
|
|
15
15
|
import "./chunks/matrix-continuation-C4sRcjZU.js";
|