react-semaphor 0.1.467 → 0.1.468
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.cjs +1 -1
- package/dist/analytics-protocol/index.js +152 -282
- package/dist/brand-studio/index.cjs +1 -1
- package/dist/brand-studio/index.js +4 -4
- package/dist/briefings/index.js +4 -4
- package/dist/chunks/{analyze-result-contract-CMZDRRwo.js → analyze-result-contract-kaCNxjA7.js} +1 -1
- package/dist/chunks/{common-types-Co766x6t.js → common-types-BgI-ymBp.js} +30 -23
- package/dist/chunks/common-types-tRK8fhXV.cjs +1 -0
- package/dist/chunks/{dashboard-briefing-launcher-FbEIrobt.cjs → dashboard-briefing-launcher-Bo4GmnB7.cjs} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-Ctu63_Di.js → dashboard-briefing-launcher-DjBmkS6v.js} +9 -9
- package/dist/chunks/{dashboard-controls-BKm3JIEo.cjs → dashboard-controls-CstKugeB.cjs} +1 -1
- package/dist/chunks/{dashboard-controls-DeDCphnd.js → dashboard-controls-CvrCyVPZ.js} +9 -9
- package/dist/chunks/{dashboard-filter-value-compatibility-B8ynE_O1.js → dashboard-filter-value-compatibility-o-kufPZB.js} +7 -7
- package/dist/chunks/{dashboard-input-contract-Px64VWBL.js → dashboard-input-contract-Ciboc347.js} +6 -6
- package/dist/chunks/{dashboard-json-BygDylH8.js → dashboard-json-D9r_xere.js} +7 -7
- package/dist/chunks/{dashboard-json-BV6wbV2p.cjs → dashboard-json-ZGqzmExU.cjs} +1 -1
- package/dist/chunks/{edit-dashboard-visual-DWN052a9.cjs → edit-dashboard-visual-BzVDWVyZ.cjs} +11 -11
- package/dist/chunks/{edit-dashboard-visual-CYOtYa4w.js → edit-dashboard-visual-D64tmqA4.js} +1720 -1720
- package/dist/chunks/{editor-action-buttons-CRRjegRd.cjs → editor-action-buttons-BXJlZl7z.cjs} +1 -1
- package/dist/chunks/{editor-action-buttons-Baks5RYd.js → editor-action-buttons-C2msc_en.js} +6 -6
- package/dist/chunks/{index-B31RKKGb.js → index-B6cfDHwn.js} +21217 -21108
- package/dist/chunks/{index-BlCnNcaB.js → index-DO4BESNy.js} +9 -9
- package/dist/chunks/{index-yJRh4x9j.cjs → index-DZdmd5AL.cjs} +221 -221
- package/dist/chunks/matrix-result-contract-C3cGHj_y.js +598 -0
- package/dist/chunks/matrix-result-contract-CkRVx693.cjs +1 -0
- package/dist/chunks/{pivot-header-presentation-CSf6CyOt.js → pivot-header-presentation-OpY8xzdT.js} +2 -2
- package/dist/chunks/{pivot-result-identity-BvT51Nog.js → pivot-result-identity-CCMpd8ZA.js} +1 -1
- package/dist/chunks/{pivot-result-lifecycle--NNNPUtG.js → pivot-result-lifecycle-B38AZx4a.js} +19 -19
- package/dist/chunks/{raw-temporal-contract-BqVMduCs.js → raw-temporal-contract-r_EMdR85.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-CRNoMzNj.cjs → report-preferences-dialog-B89ypIJ-.cjs} +1 -1
- package/dist/chunks/{report-preferences-dialog-CZPqG-em.js → report-preferences-dialog-Dvy818KV.js} +6 -6
- package/dist/chunks/{report-runtime-context-CrTzKt0C.js → report-runtime-context-CcXUjpb-.js} +7 -7
- package/dist/chunks/{saved-temporal-bucket-format-DfqnCGCz.js → saved-temporal-bucket-format-hylaofsQ.js} +29 -29
- package/dist/chunks/{switch-B6rFVSdw.js → switch-8PklEEN1.js} +9 -9
- package/dist/chunks/{switch-BghC7eOM.cjs → switch-DykyqM66.cjs} +1 -1
- package/dist/chunks/{temporal-bucket-DFYIkexB.js → temporal-bucket-Cc9fmx8s.js} +12 -12
- package/dist/chunks/{temporal-bucket-authoring-ZxFzhTmL.js → temporal-bucket-authoring-DjPFtRSF.js} +3 -3
- package/dist/chunks/{temporal-bucket-contract-COPPwwbi.js → temporal-bucket-contract-DT4kU0VY.js} +1 -1
- package/dist/chunks/{token-types-p1M3SA2G.js → token-types-Z889rD6g.js} +1 -1
- package/dist/chunks/{update-policy-BKOA5S76.js → update-policy-Bu5Tw43R.js} +1 -1
- package/dist/chunks/{validators-CCpBY1e0.js → validators-DhTaCK1O.js} +50 -50
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +4 -4
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +2 -2
- package/dist/data-app-codegen/index.js +2 -2
- package/dist/data-app-codegen-node/index.js +3 -3
- package/dist/data-app-sdk/index.js +3 -3
- 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 +10 -10
- package/dist/index.cjs +1 -1
- package/dist/index.js +117 -115
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +3 -3
- package/dist/types/analytics-protocol.d.ts +18 -0
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.js +18 -16
- package/dist/types/main.d.ts +9 -0
- package/dist/types/types.d.ts +9 -0
- package/package.json +1 -1
- package/dist/chunks/common-types-o3LJcrpg.cjs +0 -1
- package/dist/chunks/matrix-result-contract-DQ9_UadF.js +0 -421
- package/dist/chunks/matrix-result-contract-DiHDIyQk.cjs +0 -1
package/dist/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { E as
|
|
2
|
-
import { al as Ea, am as
|
|
3
|
-
import { a as
|
|
4
|
-
import { R as
|
|
1
|
+
import { E as x, F as N, S, c as _, U as P, d as w, C as F, e as y, f as R, g as L, h as M, i as I, I as U, R as k, j as O, k as V, l as q, m as z } from "./chunks/index-B6cfDHwn.js";
|
|
2
|
+
import { al as Ea, am as ya, an as xa, ao as ba, W as Ta, H as va, D as Aa, B as Ba, A as Na, x as Sa, b as _a, av as Pa, M as wa, o as Fa, r as Ra, r as La, s as Ma, G as Ia, a as Ua, ag as ka, ai as Oa, aj as Va, ah as qa, a7 as za, aa as Wa, au as ja, _ as Qa, af as Ha, aq as Ka, a2 as Ga, ab as Ya, z as Xa, y as $a, ay as Ja, Z as Za, ac as ae, ad as ee, a6 as se, a9 as re, at as oe, as as ie, ar as te, ax as ne, aw as le, a8 as ue, Y as de, X as ce, a0 as fe, ae as pe, a4 as me, a1 as he, a3 as ge, a5 as Ce, $ as De, Q as Ee, N as ye, ap as xe, w as be, K as Te, v as ve, n as Ae, J as Be, L as Ne, p as Se, V as _e, P as Pe, O as we, T as Fe, u as Re, t as Le, q as Me, ak as Ie } from "./chunks/index-B6cfDHwn.js";
|
|
3
|
+
import { a as ke, C as Oe, D as Ve, E as qe, L as ze, P as We, g as je, d as Qe, h as He, e as Ke, b as Ge, c as Ye, i as Xe } from "./chunks/common-types-BgI-ymBp.js";
|
|
4
|
+
import { R as Je } from "./chunks/report-preferences-dialog-Dvy818KV.js";
|
|
5
5
|
import { jsx as a, jsxs as u } from "react/jsx-runtime";
|
|
6
|
-
import { u as W, P as j, a as Q, B as H, c as C, b as K, d as G } from "./chunks/switch-
|
|
7
|
-
import { A as
|
|
6
|
+
import { u as W, P as j, a as Q, B as H, c as C, b as K, d as G } from "./chunks/switch-8PklEEN1.js";
|
|
7
|
+
import { A as as, n as es, e as ss, f as rs, g as os, p as is, o as ts, s as ns, t as ls, m as us, i as ds, l as cs, q as fs, k as ps, j as ms, h as hs, v as gs, r as Cs, w as Ds, y as Es, x as ys, z as xs, E as bs, D as Ts } from "./chunks/switch-8PklEEN1.js";
|
|
8
8
|
import * as p from "react";
|
|
9
|
-
import { useMemo as
|
|
10
|
-
import { D as
|
|
11
|
-
import { A as
|
|
12
|
-
import { u as
|
|
9
|
+
import { useMemo as Y, useEffect as b } from "react";
|
|
10
|
+
import { D as As } from "./chunks/token-types-Z889rD6g.js";
|
|
11
|
+
import { A as Ns, g as Ss, D as _s, e as Ps, f as ws, d as Fs, b as Rs, E as Ls, N as Ms, U as Is, a as Us, V as ks, W as Os, u as Vs, c as qs } from "./chunks/dashboard-briefing-launcher-DjBmkS6v.js";
|
|
12
|
+
import { u as Ws } from "./chunks/use-debounced-dirty-check-BwAbnX_5.js";
|
|
13
13
|
import "./value-format-preferences/index.js";
|
|
14
|
-
import "./chunks/validators-
|
|
15
|
-
import { D as
|
|
16
|
-
import { r as
|
|
17
|
-
import "./chunks/analyze-result-contract-
|
|
18
|
-
import "./chunks/temporal-bucket-authoring-
|
|
19
|
-
import "./chunks/saved-temporal-bucket-format-
|
|
14
|
+
import "./chunks/validators-DhTaCK1O.js";
|
|
15
|
+
import { D as Qs } from "./chunks/report-runtime-context-CcXUjpb-.js";
|
|
16
|
+
import { r as Ks, a as Gs } from "./chunks/pivot-result-identity-CCMpd8ZA.js";
|
|
17
|
+
import "./chunks/analyze-result-contract-kaCNxjA7.js";
|
|
18
|
+
import "./chunks/temporal-bucket-authoring-DjPFtRSF.js";
|
|
19
|
+
import "./chunks/saved-temporal-bucket-format-hylaofsQ.js";
|
|
20
20
|
import "react-dom";
|
|
21
21
|
import "./chunks/appearance-context-DVXt8qjW.js";
|
|
22
22
|
import "./chunks/color-CJvdlFM_.js";
|
|
23
23
|
import "./chunks/index-DSKR3nKn.js";
|
|
24
|
-
import { n as
|
|
25
|
-
import { C as
|
|
24
|
+
import { n as Xs, s as $s } from "./chunks/normalize-dashboard-for-dirty-check-5KpZN8xr.js";
|
|
25
|
+
import { C as X } from "./chunks/x-CXDkqdur.js";
|
|
26
26
|
import "./chunks/appearance-runtime-provider-CjmE4gBY.js";
|
|
27
27
|
function pa(e) {
|
|
28
28
|
const { displayPreferences: s, cardId: i, ...l } = e, r = {
|
|
@@ -30,16 +30,16 @@ function pa(e) {
|
|
|
30
30
|
id: e.dashboardId
|
|
31
31
|
// override the id to the dashboard id so that the dashboard is not loaded
|
|
32
32
|
};
|
|
33
|
-
return /* @__PURE__ */ a(
|
|
34
|
-
/* @__PURE__ */ a(
|
|
35
|
-
/* @__PURE__ */ a(
|
|
33
|
+
return /* @__PURE__ */ a(x, { FallbackComponent: N, children: /* @__PURE__ */ u(S, { dashboardProps: r, children: [
|
|
34
|
+
/* @__PURE__ */ a(_, { componentType: "visual", componentId: e.cardId }),
|
|
35
|
+
/* @__PURE__ */ a(P, { appearance: e.appearance, children: /* @__PURE__ */ a(w, { displayPreferences: s, children: /* @__PURE__ */ a(F, { type: "visual", cardId: i, ...r, children: /* @__PURE__ */ a($, { cardId: i }) }) }) })
|
|
36
36
|
] }) });
|
|
37
37
|
}
|
|
38
38
|
function $({ cardId: e }) {
|
|
39
39
|
const s = W((r) => {
|
|
40
40
|
var t;
|
|
41
41
|
return (t = r.dashboard) == null ? void 0 : t.sheets;
|
|
42
|
-
}), { card: i, frame: l } =
|
|
42
|
+
}), { card: i, frame: l } = Y(() => {
|
|
43
43
|
const r = s == null ? void 0 : s.flatMap((o) => o.frames), t = r == null ? void 0 : r.flatMap((o) => o == null ? void 0 : o.cards), m = t == null ? void 0 : t.find((o) => (o == null ? void 0 : o.id) === e), h = r == null ? void 0 : r.find(
|
|
44
44
|
(o) => {
|
|
45
45
|
var f;
|
|
@@ -49,7 +49,7 @@ function $({ cardId: e }) {
|
|
|
49
49
|
return { card: m, frame: h };
|
|
50
50
|
}, [s, e]);
|
|
51
51
|
return !i || !l ? /* @__PURE__ */ a(
|
|
52
|
-
|
|
52
|
+
y,
|
|
53
53
|
{
|
|
54
54
|
error: new Error("Card not found"),
|
|
55
55
|
resetErrorBoundary: () => {
|
|
@@ -57,13 +57,13 @@ function $({ cardId: e }) {
|
|
|
57
57
|
customerFacingMessage: `Card not found with ID: ${e}`
|
|
58
58
|
}
|
|
59
59
|
) : /* @__PURE__ */ a("main", { className: "flex h-full grow flex-col", children: /* @__PURE__ */ a(
|
|
60
|
-
|
|
60
|
+
x,
|
|
61
61
|
{
|
|
62
62
|
FallbackComponent: ({
|
|
63
63
|
error: r,
|
|
64
64
|
resetErrorBoundary: t
|
|
65
65
|
}) => /* @__PURE__ */ a(
|
|
66
|
-
|
|
66
|
+
y,
|
|
67
67
|
{
|
|
68
68
|
error: r,
|
|
69
69
|
resetErrorBoundary: t,
|
|
@@ -76,7 +76,7 @@ function $({ cardId: e }) {
|
|
|
76
76
|
}
|
|
77
77
|
function ma(e, s, i, l) {
|
|
78
78
|
b(() => {
|
|
79
|
-
e && !i && s && l(
|
|
79
|
+
e && !i && s && l(L(s));
|
|
80
80
|
}, [e, i, s, l]);
|
|
81
81
|
}
|
|
82
82
|
function ha({
|
|
@@ -95,11 +95,11 @@ function ha({
|
|
|
95
95
|
p.useLayoutEffect(() => {
|
|
96
96
|
d.current && v(d.current.offsetWidth);
|
|
97
97
|
}, []);
|
|
98
|
-
function
|
|
98
|
+
function A() {
|
|
99
99
|
var n;
|
|
100
100
|
return r ? "Loading..." : t ? "Error" : i ? (n = s == null ? void 0 : s.find((c) => c.id === i)) == null ? void 0 : n.name : `Select ${e}`;
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function B(n, c) {
|
|
103
103
|
l(c), E(!1);
|
|
104
104
|
}
|
|
105
105
|
return /* @__PURE__ */ u(j, { open: D, onOpenChange: E, children: [
|
|
@@ -114,9 +114,9 @@ function ha({
|
|
|
114
114
|
children: [
|
|
115
115
|
/* @__PURE__ */ u("div", { className: "flex items-center gap-2", children: [
|
|
116
116
|
o && /* @__PURE__ */ a("div", { className: "mr-2", children: o }),
|
|
117
|
-
/* @__PURE__ */ a("span", { className: "max-w-[150px] overflow-hidden truncate text-ellipsis whitespace-nowrap", children:
|
|
117
|
+
/* @__PURE__ */ a("span", { className: "max-w-[150px] overflow-hidden truncate text-ellipsis whitespace-nowrap", children: A() })
|
|
118
118
|
] }),
|
|
119
|
-
/* @__PURE__ */ a(
|
|
119
|
+
/* @__PURE__ */ a(X, { className: "size-4 opacity-50" })
|
|
120
120
|
]
|
|
121
121
|
}
|
|
122
122
|
) }),
|
|
@@ -125,11 +125,11 @@ function ha({
|
|
|
125
125
|
{
|
|
126
126
|
className: "w-full p-0",
|
|
127
127
|
style: { minWidth: T },
|
|
128
|
-
children: /* @__PURE__ */ u(
|
|
128
|
+
children: /* @__PURE__ */ u(M, { children: [
|
|
129
129
|
/* @__PURE__ */ u("div", { className: "flex h-9 items-center justify-between border-b pr-1", children: [
|
|
130
|
-
/* @__PURE__ */ a(
|
|
131
|
-
/* @__PURE__ */ a(
|
|
132
|
-
|
|
130
|
+
/* @__PURE__ */ a(I, { className: "h-9", placeholder: "Search..." }),
|
|
131
|
+
/* @__PURE__ */ a(U, { className: "h-7", onClick: m, children: /* @__PURE__ */ a(
|
|
132
|
+
k,
|
|
133
133
|
{
|
|
134
134
|
className: C(
|
|
135
135
|
"size-3.5 opacity-50",
|
|
@@ -149,7 +149,7 @@ function ha({
|
|
|
149
149
|
{
|
|
150
150
|
className: "overflow-x-auto",
|
|
151
151
|
value: n.name,
|
|
152
|
-
onSelect: (c) =>
|
|
152
|
+
onSelect: (c) => B(c, n.id),
|
|
153
153
|
children: /* @__PURE__ */ u("div", { className: "flex items-center gap-2", children: [
|
|
154
154
|
/* @__PURE__ */ a(
|
|
155
155
|
G,
|
|
@@ -179,141 +179,143 @@ function ga(e, s) {
|
|
|
179
179
|
}), [e, s]);
|
|
180
180
|
}
|
|
181
181
|
export {
|
|
182
|
-
|
|
182
|
+
Ns as AdvancedModeToggle,
|
|
183
183
|
Ea as BriefingAuthor,
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
ya as BriefingAuthorDialog,
|
|
185
|
+
xa as BriefingUiCapabilitiesBoundary,
|
|
186
186
|
ba as BriefingUiCapabilitiesProvider,
|
|
187
187
|
Ta as BriefingsApiError,
|
|
188
|
-
|
|
188
|
+
ke as CALCULATED_FIELD_ENTITY_MARKER,
|
|
189
189
|
Oe as CONTROL_CARD_DEFAULT_VALUE,
|
|
190
190
|
va as CardSummary,
|
|
191
191
|
ha as Combobox,
|
|
192
192
|
Ve as DATE_FORMAT_VALUES,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
193
|
+
Qs as DEFAULT_CALENDAR_CONTEXT,
|
|
194
|
+
As as DEFAULT_SEMANTIC_DOMAIN_ACCESS,
|
|
195
|
+
Aa as Dashboard,
|
|
196
|
+
Ss as DashboardBriefingLauncher,
|
|
197
|
+
_s as DashboardControlsSettings,
|
|
198
|
+
Ba as DashboardCreateDialogBase,
|
|
199
199
|
Na as DashboardExportDialog,
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
Ps as DashboardFilterControlsButton,
|
|
201
|
+
ws as DashboardFilterControlsLauncher,
|
|
202
202
|
Sa as DashboardWC,
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
_a as DisplayFormatPreferencesFields,
|
|
204
|
+
Fs as DocumentControlsSettings,
|
|
205
205
|
qe as EMPTY_SELECTION,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
206
|
+
Pa as ExportError,
|
|
207
|
+
Rs as ExportNotificationItem,
|
|
208
|
+
Ls as ExportNotificationList,
|
|
209
|
+
ze as LEGACY_CALCULATED_FIELD_ENTITY_MARKER,
|
|
210
|
+
wa as MatrixTableVisual,
|
|
211
|
+
Ms as NotificationBell,
|
|
212
|
+
We as PivotMarkerEnum,
|
|
213
|
+
Je as ReportPreferencesDialog,
|
|
213
214
|
Fa as ResourceType,
|
|
214
215
|
S as SemaphorContextProvider,
|
|
215
216
|
Ra as SemaphorDataProvider,
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
217
|
+
La as SemaphorQueryClient,
|
|
218
|
+
Ma as ShareDialog,
|
|
219
|
+
Ia as SummaryCard,
|
|
220
|
+
Ua as Surfboard,
|
|
221
|
+
Is as UnsavedChangesAlert,
|
|
221
222
|
pa as Visual,
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
223
|
+
Us as VisualEditingControls,
|
|
224
|
+
ks as VisualsLibraryDialog,
|
|
225
|
+
Os as WatchDashboardButton,
|
|
226
|
+
ka as applyBriefingFormPatch,
|
|
226
227
|
Oa as briefingFormDraftToCreateRequest,
|
|
227
228
|
Va as briefingFormDraftToUpdateRequest,
|
|
228
229
|
qa as briefingToFormDraft,
|
|
229
230
|
za as cancelBriefingPreviewRun,
|
|
230
231
|
Wa as cancelBriefingRun,
|
|
231
232
|
ja as cancelExport,
|
|
232
|
-
|
|
233
|
+
L as cloneDeep,
|
|
233
234
|
Qa as createBriefing,
|
|
234
235
|
Ha as createBriefingFormDraft,
|
|
235
|
-
|
|
236
|
+
as as createEmptyKpiConfig,
|
|
236
237
|
Ka as createExport,
|
|
237
|
-
|
|
238
|
+
es as createSqlGenConfig,
|
|
238
239
|
Ga as deleteBriefing,
|
|
239
|
-
|
|
240
|
-
|
|
240
|
+
Ya as deleteBriefingRun,
|
|
241
|
+
Xa as downloadDocumentPdf,
|
|
241
242
|
$a as downloadPdf,
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
243
|
+
ss as emitDashboardLoad,
|
|
244
|
+
rs as emitDashboardUnload,
|
|
245
|
+
os as fmt,
|
|
245
246
|
Ja as formatFileSize,
|
|
246
247
|
Za as getBriefing,
|
|
247
248
|
ae as getBriefingArtifact,
|
|
248
249
|
ee as getBriefingEvidence,
|
|
249
250
|
se as getBriefingPreviewRun,
|
|
250
251
|
re as getBriefingRun,
|
|
251
|
-
|
|
252
|
+
is as getColumnDataType,
|
|
252
253
|
oe as getDownloadUrl,
|
|
253
254
|
ie as getExportStatus,
|
|
254
255
|
te as getExports,
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
256
|
+
je as getFieldRuntimeColumnName,
|
|
257
|
+
ts as getFilterValueType,
|
|
258
|
+
ns as getFormattedTableNameForQuery,
|
|
259
|
+
ls as getQualifiedTableName,
|
|
260
|
+
us as getSql,
|
|
261
|
+
Qe as hasCalculatedFieldMarker,
|
|
262
|
+
He as hasCalculatedFormulaInputs,
|
|
263
|
+
Ke as hasSyntheticCalculatedFieldOwner,
|
|
264
|
+
ds as invalidateToken,
|
|
265
|
+
cs as isBooleanDataType,
|
|
266
|
+
Ge as isCalculatedDimension,
|
|
267
|
+
Ye as isCalculatedField,
|
|
268
|
+
Xe as isCalculatedMetric,
|
|
269
|
+
fs as isColumnInSqlGen,
|
|
270
|
+
ps as isDateDataType,
|
|
269
271
|
ne as isExportComplete,
|
|
270
272
|
le as isExportInProgress,
|
|
271
|
-
|
|
272
|
-
|
|
273
|
+
ms as isNumberDataType,
|
|
274
|
+
hs as isTextDataType,
|
|
273
275
|
ue as listBriefingRuns,
|
|
274
276
|
de as listBriefingTenantSummaries,
|
|
275
277
|
ce as listBriefings,
|
|
276
|
-
|
|
278
|
+
Xs as normalizeDashboardForDirtyCheck,
|
|
277
279
|
fe as pauseBriefing,
|
|
278
280
|
pe as polishBriefingText,
|
|
279
281
|
me as previewBriefingPlan,
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
282
|
+
gs as resolveDataType,
|
|
283
|
+
Cs as resolveDatamodelName,
|
|
284
|
+
Ks as resolveQueryColumnKeyMapEntry,
|
|
285
|
+
Gs as resolveUniqueQueryColumnKeyMapEntry,
|
|
284
286
|
he as resumeBriefing,
|
|
285
287
|
ge as runBriefingNow,
|
|
286
288
|
Ce as runBriefingPreview,
|
|
287
|
-
|
|
289
|
+
$s as serializeDashboardForDirtyCheck,
|
|
288
290
|
De as updateBriefing,
|
|
289
291
|
Ee as useActiveExports,
|
|
290
|
-
|
|
291
|
-
|
|
292
|
+
ye as useAddNewFrame,
|
|
293
|
+
xe as useBriefingUiCapabilities,
|
|
292
294
|
be as useCard,
|
|
293
295
|
Te as useCardSummary,
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
296
|
+
Ds as useCurrentActiveCard,
|
|
297
|
+
Es as useCurrentCardConfig,
|
|
298
|
+
ys as useCurrentSheetActiveCards,
|
|
299
|
+
xs as useDashboardActions,
|
|
298
300
|
ve as useDashboardById,
|
|
299
|
-
|
|
301
|
+
Ae as useDashboardQuery,
|
|
300
302
|
W as useDashboardStore,
|
|
301
|
-
|
|
303
|
+
Be as useDashboardSummary,
|
|
302
304
|
Ne as useDataColumns,
|
|
303
305
|
Se as useDateFilterHook,
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
306
|
+
Ws as useDebouncedDirtyCheck,
|
|
307
|
+
bs as useEditorActions,
|
|
308
|
+
_e as useEditorAside,
|
|
309
|
+
Ts as useEditorStore,
|
|
310
|
+
Pe as useExportActions,
|
|
311
|
+
Vs as useExportPolling,
|
|
312
|
+
qs as useExportRecovery,
|
|
313
|
+
we as useExportStore,
|
|
312
314
|
ga as useExposePrintState,
|
|
313
315
|
Fe as useInProgressExportsCount,
|
|
314
316
|
Re as useManagementStore,
|
|
315
317
|
ma as usePristineSnapshotInitializer,
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
318
|
+
Le as useResourceManagement,
|
|
319
|
+
Me as useTextFilterHook,
|
|
320
|
+
Ie as validateBriefingFormDraft
|
|
319
321
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as r } from "../chunks/validators-
|
|
2
|
-
import { D as n, p as o, a as p, b as t } from "../chunks/report-runtime-context-
|
|
1
|
+
import { b as r } from "../chunks/validators-DhTaCK1O.js";
|
|
2
|
+
import { D as n, p as o, a as p, b as t } from "../chunks/report-runtime-context-CcXUjpb-.js";
|
|
3
3
|
export {
|
|
4
4
|
n as DEFAULT_CALENDAR_CONTEXT,
|
|
5
5
|
r as isValidIanaTimeZone,
|
package/dist/surfboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/index-DZdmd5AL.cjs"),r=require("../chunks/common-types-tRK8fhXV.cjs"),o=require("../chunks/report-preferences-dialog-B89ypIJ-.cjs");exports.DisplayFormatPreferencesFields=e.DisplayFormatPreferencesFields;exports.Surfboard=e.DashboardPlus;exports.CONTROL_CARD_DEFAULT_VALUE=r.CONTROL_CARD_DEFAULT_VALUE;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;exports.ReportPreferencesDialog=o.ReportPreferencesDialog;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as a, a as o } from "../chunks/index-
|
|
2
|
-
import { C as f, E } from "../chunks/common-types-
|
|
3
|
-
import { R as t } from "../chunks/report-preferences-dialog-
|
|
1
|
+
import { b as a, a as o } from "../chunks/index-B6cfDHwn.js";
|
|
2
|
+
import { C as f, E } from "../chunks/common-types-BgI-ymBp.js";
|
|
3
|
+
import { R as t } from "../chunks/report-preferences-dialog-Dvy818KV.js";
|
|
4
4
|
export {
|
|
5
5
|
f as CONTROL_CARD_DEFAULT_VALUE,
|
|
6
6
|
a as DisplayFormatPreferencesFields,
|
|
@@ -71,6 +71,13 @@ export declare type CanonicalDashboardRecordsPayload = DashboardRecordsPayload &
|
|
|
71
71
|
|
|
72
72
|
export declare const canonicalDashboardRecordsPayloadSchema: z.ZodType<CanonicalDashboardRecordsPayload>;
|
|
73
73
|
|
|
74
|
+
/**
|
|
75
|
+
* Canonicalizes a persisted metadata path. This does not parse authored SQL;
|
|
76
|
+
* it only unwraps the segment-level double quotes produced by dashboard filter
|
|
77
|
+
* persistence while preserving identifier case.
|
|
78
|
+
*/
|
|
79
|
+
export declare function canonicalizeSemaphorQualifiedSourcePath(value: string | undefined): string | undefined;
|
|
80
|
+
|
|
74
81
|
export declare function canonicalizeSemaphorSourceIdentity(source: SemaphorSemanticSourceRef_2): SemaphorSemanticSourceRef_2;
|
|
75
82
|
|
|
76
83
|
export declare function canonicalizeSemaphorSourceIdentity(source: SemaphorSourceRef): SemaphorSourceRef;
|
|
@@ -715,6 +722,11 @@ export declare function parseSemaphorIsoInstant(value: unknown): Date | null;
|
|
|
715
722
|
|
|
716
723
|
export declare function parseSemaphorIsoTimeWindowBoundary(value: unknown): Date | null;
|
|
717
724
|
|
|
725
|
+
export declare function parseSemaphorQualifiedSourcePath(input: {
|
|
726
|
+
qualifiedName: string | undefined;
|
|
727
|
+
capabilities: Pick<SemaphorConnectionCapabilities, 'prefixLevels'>;
|
|
728
|
+
}): SemaphorSourceCoordinateInput;
|
|
729
|
+
|
|
718
730
|
export declare function preferSemaphorFieldRefMetadata(current: SemaphorFieldRef, next: SemaphorFieldRef): SemaphorFieldRef;
|
|
719
731
|
|
|
720
732
|
export declare function preferSemaphorSourceMetadata(current: SemaphorSourceRef, next: SemaphorSourceRef): SemaphorSourceRef;
|
|
@@ -3707,6 +3719,12 @@ export declare type SemaphorPaginationRequest = {
|
|
|
3707
3719
|
pageSize: number;
|
|
3708
3720
|
};
|
|
3709
3721
|
|
|
3722
|
+
export declare function semaphorPhysicalSourceCoordinatesAreCompatible(input: {
|
|
3723
|
+
left: SemaphorSourceCoordinateInput;
|
|
3724
|
+
right: SemaphorSourceCoordinateInput;
|
|
3725
|
+
capabilities: Pick<SemaphorConnectionCapabilities, 'prefixLevels'>;
|
|
3726
|
+
}): boolean;
|
|
3727
|
+
|
|
3710
3728
|
export declare const semaphorPhysicalSourceRefSchema: z.ZodObject<{
|
|
3711
3729
|
kind: z.ZodLiteral<"physical">;
|
|
3712
3730
|
connectionId: z.ZodString;
|
package/dist/types/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/common-types-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/common-types-tRK8fhXV.cjs"),t=require("../chunks/token-types-DALtlgbG.cjs"),E=require("../chunks/pivot-result-identity-gsOwOjHi.cjs"),l=require("../chunks/report-runtime-context-CLtzrZdC.cjs");exports.CALCULATED_FIELD_ENTITY_MARKER=e.CALCULATED_FIELD_ENTITY_MARKER;exports.CONTROL_CARD_DEFAULT_VALUE=e.CONTROL_CARD_DEFAULT_VALUE;exports.DATE_FORMAT_VALUES=e.DATE_FORMAT_VALUES;exports.EMPTY_SELECTION=e.EMPTY_SELECTION;exports.LEGACY_CALCULATED_FIELD_ENTITY_MARKER=e.LEGACY_CALCULATED_FIELD_ENTITY_MARKER;exports.PivotMarkerEnum=e.PivotMarkerEnum;exports.getFieldRuntimeColumnName=e.getFieldRuntimeColumnName;exports.hasCalculatedFieldMarker=e.hasCalculatedFieldMarker;exports.hasCalculatedFormulaInputs=e.hasCalculatedFormulaInputs;exports.hasSyntheticCalculatedFieldOwner=e.hasSyntheticCalculatedFieldOwner;exports.isCalculatedDimension=e.isCalculatedDimension;exports.isCalculatedField=e.isCalculatedField;exports.isCalculatedMetric=e.isCalculatedMetric;exports.DEFAULT_SEMANTIC_DOMAIN_ACCESS=t.DEFAULT_SEMANTIC_DOMAIN_ACCESS;exports.resolveQueryColumnKeyMapEntry=E.resolveQueryColumnKeyMapEntry;exports.resolveUniqueQueryColumnKeyMapEntry=E.resolveUniqueQueryColumnKeyMapEntry;exports.DEFAULT_CALENDAR_CONTEXT=l.DEFAULT_CALENDAR_CONTEXT;
|
package/dist/types/index.js
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import { a as s, C as
|
|
2
|
-
import { D } from "../chunks/token-types-
|
|
3
|
-
import { r as
|
|
4
|
-
import { D as
|
|
1
|
+
import { a as s, C as E, D as C, E as l, L as r, P as A, g as t, d as _, h as T, e as o, b as u, c as L, i } from "../chunks/common-types-BgI-ymBp.js";
|
|
2
|
+
import { D as n } from "../chunks/token-types-Z889rD6g.js";
|
|
3
|
+
import { r as d, a as F } from "../chunks/pivot-result-identity-CCMpd8ZA.js";
|
|
4
|
+
import { D as c } from "../chunks/report-runtime-context-CcXUjpb-.js";
|
|
5
5
|
export {
|
|
6
6
|
s as CALCULATED_FIELD_ENTITY_MARKER,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
E as CONTROL_CARD_DEFAULT_VALUE,
|
|
8
|
+
C as DATE_FORMAT_VALUES,
|
|
9
|
+
c as DEFAULT_CALENDAR_CONTEXT,
|
|
10
|
+
n as DEFAULT_SEMANTIC_DOMAIN_ACCESS,
|
|
11
11
|
l as EMPTY_SELECTION,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
t as
|
|
15
|
-
|
|
12
|
+
r as LEGACY_CALCULATED_FIELD_ENTITY_MARKER,
|
|
13
|
+
A as PivotMarkerEnum,
|
|
14
|
+
t as getFieldRuntimeColumnName,
|
|
15
|
+
_ as hasCalculatedFieldMarker,
|
|
16
|
+
T as hasCalculatedFormulaInputs,
|
|
17
|
+
o as hasSyntheticCalculatedFieldOwner,
|
|
16
18
|
u as isCalculatedDimension,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
L as isCalculatedField,
|
|
20
|
+
i as isCalculatedMetric,
|
|
21
|
+
d as resolveQueryColumnKeyMapEntry,
|
|
22
|
+
F as resolveUniqueQueryColumnKeyMapEntry
|
|
21
23
|
};
|
package/dist/types/main.d.ts
CHANGED
|
@@ -4059,6 +4059,13 @@ export declare function hasCalculatedFieldMarker(field: Pick<Field, 'entityName'
|
|
|
4059
4059
|
|
|
4060
4060
|
export declare function hasCalculatedFormulaInputs(field: Field | null | undefined): boolean;
|
|
4061
4061
|
|
|
4062
|
+
/**
|
|
4063
|
+
* Identifies the synthetic owner used by calculated fields. New fields use
|
|
4064
|
+
* CALCULATED_FIELD_ENTITY_MARKER, while persisted dashboards may still carry
|
|
4065
|
+
* the historical `calculated_fields` namespace.
|
|
4066
|
+
*/
|
|
4067
|
+
export declare function hasSyntheticCalculatedFieldOwner(field: Partial<Pick<Field, 'entityName' | 'entityId' | 'qualifiedEntityName'>> | null | undefined): boolean;
|
|
4068
|
+
|
|
4062
4069
|
export declare type HtmlOptions = {
|
|
4063
4070
|
html: string;
|
|
4064
4071
|
};
|
|
@@ -4300,6 +4307,8 @@ export declare type KPICardProps = {
|
|
|
4300
4307
|
renderFilterInfo?: () => JSX_2.Element | null;
|
|
4301
4308
|
};
|
|
4302
4309
|
|
|
4310
|
+
export declare const LEGACY_CALCULATED_FIELD_ENTITY_MARKER: "calculated_fields";
|
|
4311
|
+
|
|
4303
4312
|
export declare type LensInputValuesSnapshot = {
|
|
4304
4313
|
generatedAt: string;
|
|
4305
4314
|
dashboardInputValues: DashboardInputValues;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -2457,6 +2457,13 @@ export declare function hasCalculatedFieldMarker(field: Pick<Field, 'entityName'
|
|
|
2457
2457
|
|
|
2458
2458
|
export declare function hasCalculatedFormulaInputs(field: Field | null | undefined): boolean;
|
|
2459
2459
|
|
|
2460
|
+
/**
|
|
2461
|
+
* Identifies the synthetic owner used by calculated fields. New fields use
|
|
2462
|
+
* CALCULATED_FIELD_ENTITY_MARKER, while persisted dashboards may still carry
|
|
2463
|
+
* the historical `calculated_fields` namespace.
|
|
2464
|
+
*/
|
|
2465
|
+
export declare function hasSyntheticCalculatedFieldOwner(field: Partial<Pick<Field, 'entityName' | 'entityId' | 'qualifiedEntityName'>> | null | undefined): boolean;
|
|
2466
|
+
|
|
2460
2467
|
export declare type HtmlOptions = {
|
|
2461
2468
|
html: string;
|
|
2462
2469
|
};
|
|
@@ -2676,6 +2683,8 @@ export declare type KPICardProps = {
|
|
|
2676
2683
|
renderFilterInfo?: () => JSX.Element | null;
|
|
2677
2684
|
};
|
|
2678
2685
|
|
|
2686
|
+
export declare const LEGACY_CALCULATED_FIELD_ENTITY_MARKER: "calculated_fields";
|
|
2687
|
+
|
|
2679
2688
|
export declare type LensInputValuesSnapshot = {
|
|
2680
2689
|
generatedAt: string;
|
|
2681
2690
|
dashboardInputValues: DashboardInputValues;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";require("./validators-DO-YuzgO.cjs");const e="SEMAPHOR_CALCULATED_FIELD";function u(Y){return(Y==null?void 0:Y.sourceField)||(Y==null?void 0:Y.name)||""}const s=["MM-DD-YYYY","YYYY-MM-DD","MM/DD/YYYY","DD/MM/YYYY","MMMM DD, YYYY","MMM DD, YYYY","DD MMM YYYY","YYYY-MM-DD HH:mm","YYYY-MM-DD HH:mm:ss","YYYY-MM-DD HH:mm Z","YYYY-MM-DD HH:mm:ss Z","Week of MMM DD, YYYY","Week of MMMM DD, YYYY","YYYY-WW","MMM YYYY","MMMM YYYY","YYYY-MM","MM/YYYY","YYYY MMM","Q1 YYYY","YYYY Q1","1st Quarter YYYY","YYYY-Q1","Quarter 1, YYYY","YYYY","YY","custom"];function D(Y){return Y.role==="metric"&&"expression"in Y&&!!Y.expression}function r(Y){return!!Y.expression}function _(Y){return!!Y.expression}function l(Y){var t,n;const M=Y;return!!(M!=null&&M.expression&&((n=(t=M.calculatedFormula)==null?void 0:t.inputFields)!=null&&n.length))}function o(Y){return!!(Y&&(Y.entityName===e||Y.entityId===e))}var a=(Y=>(Y.SUBTOTAL="__SUBTOTAL__",Y.TOTAL="__TOTAL__",Y.ALL="__ALL__",Y))(a||{});const c={database:null,schema:null,table:null},A="__card_default__";exports.CALCULATED_FIELD_ENTITY_MARKER=e;exports.CONTROL_CARD_DEFAULT_VALUE=A;exports.DATE_FORMAT_VALUES=s;exports.EMPTY_SELECTION=c;exports.PivotMarkerEnum=a;exports.getFieldRuntimeColumnName=u;exports.hasCalculatedFieldMarker=o;exports.hasCalculatedFormulaInputs=l;exports.isCalculatedDimension=r;exports.isCalculatedField=_;exports.isCalculatedMetric=D;
|