react-semaphor 0.1.526 → 0.1.527
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/DATA_APP_SDK.md +5 -1
- package/dist/analytics-protocol/index.js +1179 -296
- package/dist/brand-studio/index.js +15 -15
- package/dist/briefings/index.js +50 -49
- package/dist/chunks/{calculated-field-identity-D1ofR4KJ.js → calculated-field-identity-DEhjPSr-.js} +66 -65
- package/dist/chunks/{card-config-utils-9sv4e-Vb.js → card-config-utils-BlIbwkuD.js} +68 -65
- package/dist/chunks/{constants-DeLIHVAW.js → constants-DNWVy8Y3.js} +4 -4
- package/dist/chunks/dashboard-JNHR0_cZ.js +14 -0
- package/dist/chunks/{dashboard-briefing-launcher-DXz1GhFZ.js → dashboard-briefing-launcher-D9pFByPh.js} +372 -359
- package/dist/chunks/{dashboard-controls-Df8qOSrs.js → dashboard-controls-CJI5ZWMq.js} +739 -686
- package/dist/chunks/{dashboard-json-Xldp0qww.js → dashboard-json-DLdrFry-.js} +10 -10
- package/dist/chunks/{edit-dashboard-visual-COHBqyic.js → edit-dashboard-visual-D5LjWle1.js} +6603 -6572
- package/dist/chunks/{editor-action-buttons-DahlP57T.js → editor-action-buttons-G91NQKxU.js} +266 -267
- package/dist/chunks/{field-aggregations-BQjogiI1.js → field-aggregations-DeVQLIsP.js} +19 -19
- package/dist/chunks/{field-dependencies-v-lJNzC7.js → field-dependencies-CGYic38w.js} +1 -1
- package/dist/chunks/{index-CbjuruKe.js → index-BvJOYbNv.js} +755 -745
- package/dist/chunks/{matrix-analytical-definition-BimC4XIV.js → matrix-analytical-definition-BJyH5-99.js} +1 -1
- package/dist/chunks/{matrix-card-CIlz0Dnp.js → matrix-card-DY45yiUM.js} +7 -6
- package/dist/chunks/{matrix-control-sources-2VAzGlt8.js → matrix-control-sources-BypfLZsK.js} +11 -11
- package/dist/chunks/{matrix-definition-E5gXXSTZ.js → matrix-definition-Cdn3LoxW.js} +3 -3
- package/dist/chunks/{semantic-format-Baqp8kD_.js → matrix-formatter-BoKU3MzZ.js} +655 -511
- package/dist/chunks/{matrix-member-presentation-Bw7-JCrr.js → matrix-member-presentation-BBW0n1iY.js} +1 -1
- package/dist/chunks/matrix-operation-contract-BV02rLhu.js +809 -0
- package/dist/chunks/{metric-comparison-BphoJ9bq.js → metric-comparison-Crljx_XY.js} +15 -10
- package/dist/chunks/{numeric-presentation-VhMUHfrJ.js → numeric-presentation-LvnNY5Ma.js} +68 -68
- package/dist/chunks/pivot-header-presentation-D5v8uyjj.js +618 -0
- package/dist/chunks/{pivot-result-identity-BzUQiCEV.js → pivot-result-identity-CY__BuwI.js} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-BFO354lk.js → pivot-result-lifecycle-BWrPhlGT.js} +259 -204
- package/dist/chunks/{raw-temporal-7bFbXd2a.js → raw-temporal-CdnA_OXJ.js} +10 -10
- package/dist/chunks/{raw-temporal-contract-BQZIJ1fn.js → raw-temporal-contract-Bc9z83t-.js} +1 -1
- package/dist/chunks/relative-date-DAF9J7mt.js +456 -0
- package/dist/chunks/{report-preferences-dialog-BcH-0lR-.js → report-preferences-dialog-D3hxu4sE.js} +131 -132
- package/dist/chunks/{report-runtime-context-CxIoGyNM.js → report-runtime-context-CtaGGlit.js} +1 -1
- package/dist/chunks/{selection-reducer-NF5C07yM.js → selection-reducer-C7Um5XN-.js} +47 -26
- package/dist/chunks/semantic-format-BjBMOSoo.js +192 -0
- package/dist/chunks/{semaphor-ready-indicator-BLRDuLr4.js → semaphor-ready-indicator-D46I_4g7.js} +49895 -46141
- package/dist/chunks/{slider-BYIH4icg.js → slider-B6LELqx6.js} +81 -82
- package/dist/chunks/{source-entity-resolution-Bzefiive.js → source-entity-resolution-Bde29mqE.js} +25 -25
- package/dist/chunks/switch-_7uBAbYx.js +24003 -0
- package/dist/chunks/{temporal-bucket-PcLFSYWX.js → temporal-bucket-DlFuhCnT.js} +6 -6
- package/dist/chunks/{temporal-bucket-contract-DTLDRzgV.js → temporal-bucket-contract-C6lUGPS3.js} +1 -1
- package/dist/chunks/temporal-input-presentation-DyMWCZYh.js +195 -0
- package/dist/chunks/{token-types-BC6RcUY8.js → token-types-UjyNz95-.js} +1 -1
- package/dist/chunks/{validators-CsdOtZI6.js → validators-CQcG0EPN.js} +852 -731
- package/dist/chunks/zoned-wall-clock-BkxV9jS2.js +46 -0
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.js +138 -137
- package/dist/data-app-sdk/index.js +12 -12
- package/dist/data-app-sdk-adapters/index.js +23 -22
- package/dist/data-app-sdk-validation/index.js +27 -26
- package/dist/format-utils/index.js +247 -329
- package/dist/index.js +165 -168
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/briefings/index.d.ts +3 -0
- package/dist/types/components/explorer/filters/card-date-filter.d.ts +13 -5
- package/dist/types/components/explorer/filters/card-date-selection.d.ts +28 -0
- package/dist/types/components/sharing-and-management/dashboard-actions-menu.d.ts +1 -1
- package/dist/types/components/sharing-and-management/hooks/use-resource-management.d.ts +0 -1
- package/dist/types/components/surfboard/download-settings-dialog.d.ts +8 -0
- package/dist/types/components/surfboard/filter/types.d.ts +8 -29
- package/dist/types/components/surfboard/filter/use-dashboard-filter-mapping-popover.d.ts +5 -1
- package/dist/types/components/ui-custom/date-range-picker.d.ts +18 -2
- package/dist/types/components/ui-custom/date-range-presets.d.ts +8 -21
- package/dist/types/components/ui-custom/report-calendar.d.ts +18 -0
- package/dist/types/components/visual/aggregated-table/utils/export-utils.d.ts +3 -5
- package/dist/types/components/visual/data-table/data-table-toolbar.d.ts +1 -1
- package/dist/types/components/visual/pivot-table/utils/pivot-table-export-utils.d.ts +3 -1
- package/dist/types/index.js +5 -5
- package/dist/types/lib/api/exports-api.d.ts +3 -0
- package/dist/types/lib/csv-download.d.ts +9 -0
- package/dist/types/lib/csv-encoding-options.d.ts +6 -0
- package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-storage-transition.d.ts +2 -1
- package/dist/types/lib/dashboard-navigation/build-carried-click-context.d.ts +0 -1
- package/dist/types/lib/document/document-input-runtime.d.ts +2 -1
- package/dist/types/lib/export-utils.d.ts +17 -15
- package/dist/types/lib/hooks/explorer/use-filter-builder.d.ts +2 -2
- package/dist/types/lib/hooks/use-relative-date-summarizer.d.ts +7 -0
- package/dist/types/lib/matrix-table/matrix-application-adapter.d.ts +3 -2
- package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +1 -1
- package/dist/types/lib/matrix-table/matrix-card-draft.d.ts +1 -1
- package/dist/types/lib/matrix-table/matrix-dataset-history.d.ts +47 -0
- package/dist/types/lib/matrix-table/matrix-delivery.d.ts +7 -3
- package/dist/types/lib/matrix-table/matrix-execution-context.d.ts +2 -0
- package/dist/types/lib/matrix-table/matrix-query-transport.d.ts +4 -1
- package/dist/types/lib/matrix-table/matrix-runtime-types.d.ts +105 -4
- package/dist/types/lib/matrix-table/matrix-runtime.d.ts +43 -2
- package/dist/types/lib/matrix-table/use-matrix.d.ts +6 -0
- package/dist/types/lib/query-context/build-card-query-context.d.ts +5 -1
- package/dist/types/lib/query-context/build-dashboard-card-query-contract.d.ts +0 -1
- package/dist/types/lib/query-context/build-global-date-comparison-context.d.ts +1 -2
- package/dist/types/lib/query-context/compile-dashboard-card-filters.d.ts +1 -2
- package/dist/types/lib/query-context/dashboard-card-query-key.d.ts +10 -0
- package/dist/types/lib/query-context/query-auth-scope.d.ts +5 -0
- package/dist/types/lib/stores/dashboard-store.d.ts +9 -4
- package/dist/types/lib/temporal-filter/temporal-filter-utils.d.ts +9 -2
- package/dist/types/lib/types/common-types.d.ts +5 -0
- package/dist/types/lib/types/explorer-types.d.ts +14 -0
- package/dist/types/lib/types/token-types.d.ts +0 -1
- package/dist/types/lib/utils/card-definition.d.ts +1 -1
- package/dist/types/lib/utils/date-timezone-utils.d.ts +4 -46
- package/dist/types/lib/utils/filter-default-value-utils.d.ts +8 -2
- package/dist/types/lib/utils/inline-filter-utils.d.ts +3 -2
- package/dist/types/lib/utils/relative-date-description.d.ts +38 -0
- package/dist/types/shared/analytics-protocol/contracts.d.ts +10 -7
- package/dist/types/shared/analytics-protocol/index.d.ts +12 -1
- package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +20 -20
- package/dist/types/shared/analytics-protocol/matrix-operation-contract.d.ts +10 -10
- package/dist/types/shared/analytics-protocol/matrix-operation-request.d.ts +8 -8
- package/dist/types/shared/analytics-protocol/matrix-window-contract.d.ts +51 -5
- package/dist/types/shared/analytics-protocol/metric-comparison.d.ts +9 -3
- package/dist/types/shared/analytics-protocol/operation-temporal-state.d.ts +64 -0
- package/dist/types/shared/analytics-protocol/relative-date-filter.d.ts +61 -0
- package/dist/types/shared/analytics-protocol/relative-date-label.d.ts +20 -0
- package/dist/types/shared/analytics-protocol/runtime-schemas.d.ts +0 -2
- package/dist/types/shared/analytics-protocol/time-window-schema.d.ts +314 -0
- package/dist/types/shared/analytics-protocol/time-window.d.ts +13 -0
- package/dist/types/shared/dashboard-authoring/matrix-delivery.d.ts +8 -4
- package/dist/types/shared/format-utils/exporters/csv-utils.d.ts +46 -15
- package/dist/types/shared/format-utils/exporters/index.d.ts +2 -3
- package/dist/types/shared/format-utils/flat-table-export-totals.d.ts +2 -1
- package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +2 -2
- package/dist/types/shared/format-utils/types/format-types.d.ts +0 -42
- package/dist/types/shared/temporal/calendar-periods.d.ts +56 -0
- package/dist/types/shared/temporal/index.d.ts +5 -0
- package/dist/types/shared/temporal/relative-date.d.ts +21 -0
- package/dist/types/shared/temporal/temporal-parity-fixtures.d.ts +73 -0
- package/dist/types/shared/temporal/time-window-periods.d.ts +21 -0
- package/dist/types/shared/temporal/zoned-wall-clock.d.ts +23 -0
- package/package.json +1 -17
- package/src/data-app-sdk/README.md +6 -3
- package/dist/chunks/code-highlight-994tgM9v.js +0 -22265
- package/dist/chunks/dashboard-CsHvEtjN.js +0 -15
- package/dist/chunks/dashboard-date-comparison-definition-BqNhECUr.js +0 -183
- package/dist/chunks/matrix-formatter-WBgtebUT.js +0 -341
- package/dist/chunks/matrix-operation-contract-D32U2CSw.js +0 -1802
- package/dist/chunks/mouse-pointer-2-BZvGk45-.js +0 -19
- package/dist/chunks/pivot-header-presentation-CGtudHo7.js +0 -661
- package/dist/chunks/pre-block-Cq1RqhZX.js +0 -3987
- package/dist/chunks/search-CJz-QQ0Q.js +0 -24
- package/dist/chunks/switch-XaAACBrJ.js +0 -2234
- package/dist/chunks/temporal-input-presentation-2RJrvmYL.js +0 -222
- package/dist/chunks/update-policy-DhAUtiC8.js +0 -913
- package/dist/data-app-builder/index.js +0 -3666
- package/dist/data-app-builder-browser-runtime/index.js +0 -8
- package/dist/data-app-codegen/index.js +0 -22
- package/dist/data-app-codegen-node/index.js +0 -1807
- package/dist/types/components/data-app-runtime/published-data-app-runtime.d.ts +0 -7
- package/dist/types/components/surfboard/json-to-csv.d.ts +0 -7
- package/dist/types/components/visual/data-table/utils/export-utils.d.ts +0 -31
- package/dist/types/data-app-builder/browser-runtime.d.ts +0 -174
- package/dist/types/data-app-builder/constants.d.ts +0 -14
- package/dist/types/data-app-builder/data-app-builder.d.ts +0 -14
- package/dist/types/data-app-builder/index.d.ts +0 -1
- package/dist/types/data-app-builder/lib/api.d.ts +0 -36
- package/dist/types/data-app-builder/lib/context-select.d.ts +0 -3
- package/dist/types/data-app-builder/lib/diagnostics.d.ts +0 -12
- package/dist/types/data-app-builder/lib/file-tree.d.ts +0 -2
- package/dist/types/data-app-builder/types.d.ts +0 -558
- package/dist/types/data-app-builder-browser-runtime.d.ts +0 -2
- package/dist/types/data-app-builder.d.ts +0 -2
- package/dist/types/data-app-codegen/generate-contract.d.ts +0 -26
- package/dist/types/data-app-codegen/generated-contract-files.d.ts +0 -7
- package/dist/types/data-app-codegen/generated-contract-validation.d.ts +0 -13
- package/dist/types/data-app-codegen/index.d.ts +0 -6
- package/dist/types/data-app-codegen/live-execution.d.ts +0 -42
- package/dist/types/data-app-codegen/node.d.ts +0 -2
- package/dist/types/data-app-codegen/update-policy.d.ts +0 -25
- package/dist/types/data-app-codegen/validation.d.ts +0 -8
- package/dist/types/data-app-codegen-node.d.ts +0 -2
- package/dist/types/data-app-codegen.d.ts +0 -2
- package/dist/types/shared/analytics-protocol/data-app-codegen-summary.d.ts +0 -418
- package/dist/types/shared/format-utils/exporters/pivot-exporter.d.ts +0 -13
- package/dist/types/shared/format-utils/exporters/table-exporter.d.ts +0 -10
package/dist/index.js
CHANGED
|
@@ -1,56 +1,53 @@
|
|
|
1
|
-
import { D as
|
|
2
|
-
import { C as
|
|
3
|
-
import { a as
|
|
1
|
+
import { D as j } from "./chunks/dashboard-JNHR0_cZ.js";
|
|
2
|
+
import { C as Ze, E as ea } from "./chunks/common-types-C6cAQgyh.js";
|
|
3
|
+
import { a as ta, R as ra, D as sa } from "./chunks/report-preferences-dialog-D3hxu4sE.js";
|
|
4
4
|
import { jsx as n, jsxs as C } from "react/jsx-runtime";
|
|
5
|
-
import { E as _, F as k, S as I,
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import { F as xt, q as St, h as wt, i as Tt, k as Bt, s as Nt, r as _t, w as Ft, x as Pt, p as Rt, j as jt, o as Lt, t as kt, n as It, m as Mt, l as Ot, y as Ut, v as Vt, z as zt, D as qt, A as Ht, E as $t, H as Wt, G as Kt } from "./chunks/code-highlight-994tgM9v.js";
|
|
11
|
-
import * as S from "react";
|
|
5
|
+
import { E as _, F as k, S as I, a as M, U as O, c as U, C as V, V as z, d as $, e as H, f as W, g as q, I as K, R as Q, h as G, i as Y, j as J, k as X } from "./chunks/semaphor-ready-indicator-D46I_4g7.js";
|
|
6
|
+
import { ak as na, al as ia, am as la, B as ca, T as ua, A as da, y as pa, x as fa, at as ha, M as ma, m as ga, p as Ca, p as ya, q as ba, z as Ea, af as Da, ah as va, ai as Aa, ag as xa, a6 as wa, a9 as Sa, as as Ta, Z as Ba, ae as Na, ao as _a, a1 as Fa, aa as Pa, w as Ra, v as La, aw as ja, Y as ka, ab as Ia, ac as Ma, a5 as Oa, a8 as Ua, ar as Va, aq as za, ap as $a, av as Ha, au as Wa, a7 as qa, X as Ka, W as Qa, $ as Ga, ad as Ya, a3 as Ja, a0 as Xa, a2 as Za, a4 as et, _ as at, O as tt, K as rt, an as st, t as ot, H as nt, s as it, l as lt, G as ct, J as ut, n as dt, Q as pt, N as ft, L as ht, P as mt, u as gt, r as Ct, o as yt, aj as bt } from "./chunks/semaphor-ready-indicator-D46I_4g7.js";
|
|
7
|
+
import { u as Z, P as ee, a as ae, B as te, c as B, b as re, d as se } from "./chunks/switch-_7uBAbYx.js";
|
|
8
|
+
import { a1 as Dt, M as vt, z as At, A as xt, E as wt, O as St, N as Tt, W as Bt, X as Nt, K as _t, D as Ft, J as Pt, Q as Rt, H as Lt, G as jt, F as kt, Y as It, V as Mt, Z as Ot, $ as Ut, _ as Vt, a0 as zt, a3 as $t, a2 as Ht } from "./chunks/switch-_7uBAbYx.js";
|
|
9
|
+
import * as w from "react";
|
|
12
10
|
import F, { useMemo as oe, useEffect as P } from "react";
|
|
13
|
-
import { D as
|
|
14
|
-
import { C as
|
|
15
|
-
import { A as
|
|
16
|
-
import { u as
|
|
11
|
+
import { D as qt } from "./chunks/token-types-UjyNz95-.js";
|
|
12
|
+
import { C as Qt, D as Gt, L as Yt, P as Jt, f as Xt, g as Zt, k as er, j as ar, l as tr, e as rr, c as sr, b as or, d as nr, n as ir, h as lr } from "./chunks/validators-CQcG0EPN.js";
|
|
13
|
+
import { A as ur, h as dr, D as pr, f as fr, g as hr, e as mr, b as gr, E as Cr, N as yr, U as br, a as Er, V as Dr, W as vr, u as Ar, c as xr, d as wr } from "./chunks/dashboard-briefing-launcher-D9pFByPh.js";
|
|
14
|
+
import { u as Tr } from "./chunks/use-debounced-dirty-check-BwAbnX_5.js";
|
|
17
15
|
import { createRoot as ne } from "react-dom/client";
|
|
18
|
-
import "./chunks/slider-
|
|
19
|
-
import "./chunks/
|
|
20
|
-
import "
|
|
16
|
+
import "./chunks/slider-B6LELqx6.js";
|
|
17
|
+
import "./chunks/matrix-operation-contract-BV02rLhu.js";
|
|
18
|
+
import "zod";
|
|
21
19
|
import "./chunks/matrix-continuation-C4sRcjZU.js";
|
|
22
20
|
import "./value-format-preferences/index.js";
|
|
23
|
-
import { D as
|
|
24
|
-
import { r as
|
|
25
|
-
import "./chunks/field-aggregations-
|
|
26
|
-
import { K as ie } from "./chunks/calculated-field-identity-
|
|
27
|
-
import "
|
|
28
|
-
import "./chunks/card-config-utils-9sv4e-Vb.js";
|
|
21
|
+
import { D as Nr } from "./chunks/report-runtime-context-CtaGGlit.js";
|
|
22
|
+
import { r as Fr, a as Pr } from "./chunks/pivot-result-identity-CY__BuwI.js";
|
|
23
|
+
import "./chunks/field-aggregations-DeVQLIsP.js";
|
|
24
|
+
import { K as ie } from "./chunks/calculated-field-identity-DEhjPSr-.js";
|
|
25
|
+
import "./chunks/card-config-utils-BlIbwkuD.js";
|
|
29
26
|
import "react-dom";
|
|
30
|
-
import "./chunks/index-
|
|
27
|
+
import "./chunks/index-BvJOYbNv.js";
|
|
31
28
|
import "./chunks/appearance-context-DEYtWinQ.js";
|
|
32
29
|
import "./chunks/color-CJvdlFM_.js";
|
|
33
30
|
import "./chunks/index-CLIro-EG.js";
|
|
34
|
-
import { n as
|
|
31
|
+
import { n as Lr, s as jr } from "./chunks/normalize-dashboard-for-dirty-check-Bk3VYv_q.js";
|
|
35
32
|
import { C as le } from "./chunks/x-CXDkqdur.js";
|
|
36
33
|
import "./chunks/appearance-runtime-provider-B-M8gwlZ.js";
|
|
37
|
-
function
|
|
34
|
+
function qe(e) {
|
|
38
35
|
const { displayPreferences: a, cardId: t, ...r } = e, s = {
|
|
39
36
|
...r,
|
|
40
37
|
id: e.dashboardId
|
|
41
38
|
// override the id to the dashboard id so that the dashboard is not loaded
|
|
42
39
|
};
|
|
43
|
-
return /* @__PURE__ */ n(_, { FallbackComponent: k, children: /* @__PURE__ */ C(
|
|
44
|
-
/* @__PURE__ */ n(
|
|
45
|
-
/* @__PURE__ */ n(
|
|
40
|
+
return /* @__PURE__ */ n(_, { FallbackComponent: k, children: /* @__PURE__ */ C(I, { dashboardProps: s, children: [
|
|
41
|
+
/* @__PURE__ */ n(M, { componentType: "visual", componentId: e.cardId }),
|
|
42
|
+
/* @__PURE__ */ n(O, { appearance: e.appearance, children: /* @__PURE__ */ n(U, { displayPreferences: a, children: /* @__PURE__ */ n(V, { type: "visual", cardId: t, ...s, children: /* @__PURE__ */ n(ce, { cardId: t }) }) }) })
|
|
46
43
|
] }) });
|
|
47
44
|
}
|
|
48
45
|
function ce({ cardId: e }) {
|
|
49
46
|
const a = Z((s) => {
|
|
50
|
-
var
|
|
51
|
-
return (
|
|
47
|
+
var m;
|
|
48
|
+
return (m = s.dashboard) == null ? void 0 : m.sheets;
|
|
52
49
|
}), { card: t, frame: r } = oe(() => {
|
|
53
|
-
const s = a == null ? void 0 : a.flatMap((o) => o.frames),
|
|
50
|
+
const s = a == null ? void 0 : a.flatMap((o) => o.frames), m = s == null ? void 0 : s.flatMap((o) => o == null ? void 0 : o.cards), y = m == null ? void 0 : m.find((o) => (o == null ? void 0 : o.id) === e), D = s == null ? void 0 : s.find(
|
|
54
51
|
(o) => {
|
|
55
52
|
var b;
|
|
56
53
|
return (b = o == null ? void 0 : o.cards) == null ? void 0 : b.find((g) => (g == null ? void 0 : g.id) === e);
|
|
@@ -59,14 +56,14 @@ function ce({ cardId: e }) {
|
|
|
59
56
|
return { card: y, frame: D };
|
|
60
57
|
}, [a, e]);
|
|
61
58
|
return !t || !r ? /* @__PURE__ */ n(
|
|
62
|
-
|
|
59
|
+
z,
|
|
63
60
|
{
|
|
64
61
|
description: `Couldn’t find a visual with ID ${e} on this dashboard.`,
|
|
65
62
|
role: "status"
|
|
66
63
|
}
|
|
67
|
-
) : /* @__PURE__ */ n("main", { className: "flex h-full grow flex-col", children: /* @__PURE__ */ n(_, { FallbackComponent:
|
|
64
|
+
) : /* @__PURE__ */ n("main", { className: "flex h-full grow flex-col", children: /* @__PURE__ */ n(_, { FallbackComponent: $, children: /* @__PURE__ */ n(H, { card: t, frame: r }) }) });
|
|
68
65
|
}
|
|
69
|
-
var ue = Object.defineProperty, de = (e, a, t) => a in e ? ue(e, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[a] = t,
|
|
66
|
+
var ue = Object.defineProperty, de = (e, a, t) => a in e ? ue(e, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[a] = t, S = (e, a, t) => de(e, typeof a != "symbol" ? a + "" : a, t);
|
|
70
67
|
const pe = {
|
|
71
68
|
stringify: (e) => e ? "true" : "false",
|
|
72
69
|
parse: (e) => /^[ty1-9]/i.test(e)
|
|
@@ -81,11 +78,11 @@ const pe = {
|
|
|
81
78
|
})();
|
|
82
79
|
return typeof r == "function" ? r.bind(t) : void 0;
|
|
83
80
|
}
|
|
84
|
-
},
|
|
81
|
+
}, he = {
|
|
85
82
|
stringify: (e) => JSON.stringify(e),
|
|
86
83
|
parse: (e) => JSON.parse(e)
|
|
87
84
|
};
|
|
88
|
-
function
|
|
85
|
+
function me(e) {
|
|
89
86
|
return e.replace(
|
|
90
87
|
/([a-z0-9])([A-Z])/g,
|
|
91
88
|
(a, t, r) => `${t}-${r.toLowerCase()}`
|
|
@@ -116,43 +113,43 @@ const ge = {
|
|
|
116
113
|
boolean: pe,
|
|
117
114
|
function: fe,
|
|
118
115
|
method: ge,
|
|
119
|
-
json:
|
|
120
|
-
}, x = Symbol.for("r2wc.render"), T = Symbol.for("r2wc.connected"), E = Symbol.for("r2wc.context"),
|
|
116
|
+
json: he
|
|
117
|
+
}, x = Symbol.for("r2wc.render"), T = Symbol.for("r2wc.connected"), E = Symbol.for("r2wc.context"), h = Symbol.for("r2wc.props");
|
|
121
118
|
function be(e, a, t) {
|
|
122
|
-
var r, s,
|
|
119
|
+
var r, s, m;
|
|
123
120
|
a.props || (a.props = e.propTypes ? Object.keys(e.propTypes) : []), a.events || (a.events = []);
|
|
124
121
|
const y = Array.isArray(a.props) ? a.props.slice() : Object.keys(a.props), D = Array.isArray(a.events) ? a.events.slice() : Object.keys(a.events), o = {}, b = {}, g = {}, v = {};
|
|
125
122
|
for (const c of y) {
|
|
126
123
|
o[c] = Array.isArray(a.props) ? "string" : a.props[c];
|
|
127
|
-
const l =
|
|
124
|
+
const l = me(c);
|
|
128
125
|
g[c] = l, v[l] = c;
|
|
129
126
|
}
|
|
130
127
|
for (const c of D)
|
|
131
128
|
b[c] = Array.isArray(a.events) ? {} : a.events[c];
|
|
132
129
|
class A extends HTMLElement {
|
|
133
130
|
constructor() {
|
|
134
|
-
super(),
|
|
131
|
+
super(), S(this, m, !0), S(this, s), S(this, r, {}), S(this, "container"), a.shadow ? this.container = this.attachShadow({
|
|
135
132
|
mode: a.shadow
|
|
136
|
-
}) : this.container = this, this[
|
|
133
|
+
}) : this.container = this, this[h].container = this.container;
|
|
137
134
|
for (const l of y) {
|
|
138
135
|
const u = g[l], d = this.getAttribute(u), p = o[l], i = p ? N[p] : null;
|
|
139
136
|
if (p === "method") {
|
|
140
137
|
const f = R(u);
|
|
141
|
-
Object.defineProperty(this[
|
|
138
|
+
Object.defineProperty(this[h].container, f, {
|
|
142
139
|
enumerable: !0,
|
|
143
140
|
configurable: !0,
|
|
144
141
|
get() {
|
|
145
|
-
return this[
|
|
142
|
+
return this[h][f];
|
|
146
143
|
},
|
|
147
|
-
set(
|
|
148
|
-
this[
|
|
144
|
+
set(L) {
|
|
145
|
+
this[h][f] = L, this[x]();
|
|
149
146
|
}
|
|
150
|
-
}), this[
|
|
147
|
+
}), this[h][l] = i.parse(d, u, this);
|
|
151
148
|
}
|
|
152
|
-
i != null && i.parse && d && (this[
|
|
149
|
+
i != null && i.parse && d && (this[h][l] = i.parse(d, u, this));
|
|
153
150
|
}
|
|
154
151
|
for (const l of D)
|
|
155
|
-
this[
|
|
152
|
+
this[h][l] = (u) => {
|
|
156
153
|
const d = l.replace(/^on/, "").toLowerCase();
|
|
157
154
|
this.dispatchEvent(
|
|
158
155
|
new CustomEvent(d, { detail: u, ...b[l] })
|
|
@@ -170,13 +167,13 @@ function be(e, a, t) {
|
|
|
170
167
|
}
|
|
171
168
|
attributeChangedCallback(l, u, d) {
|
|
172
169
|
const p = v[l], i = o[p], f = i ? N[i] : null;
|
|
173
|
-
p in o && f != null && f.parse && d && (this[
|
|
170
|
+
p in o && f != null && f.parse && d && (this[h][p] = f.parse(d, l, this), this[x]());
|
|
174
171
|
}
|
|
175
|
-
[(
|
|
176
|
-
this[T] && (this[E] ? t.update(this[E], this[
|
|
172
|
+
[(m = T, s = E, r = h, x)]() {
|
|
173
|
+
this[T] && (this[E] ? t.update(this[E], this[h]) : this[E] = t.mount(
|
|
177
174
|
this.container,
|
|
178
175
|
e,
|
|
179
|
-
this[
|
|
176
|
+
this[h]
|
|
180
177
|
));
|
|
181
178
|
}
|
|
182
179
|
}
|
|
@@ -186,10 +183,10 @@ function be(e, a, t) {
|
|
|
186
183
|
enumerable: !0,
|
|
187
184
|
configurable: !0,
|
|
188
185
|
get() {
|
|
189
|
-
return this[
|
|
186
|
+
return this[h][c];
|
|
190
187
|
},
|
|
191
188
|
set(d) {
|
|
192
|
-
this[
|
|
189
|
+
this[h][c] = d;
|
|
193
190
|
const p = u ? N[u] : null;
|
|
194
191
|
if (p != null && p.stringify) {
|
|
195
192
|
const i = p.stringify(d, l, this);
|
|
@@ -249,33 +246,33 @@ const xe = {
|
|
|
249
246
|
selectedSheetId: "string",
|
|
250
247
|
eventHandlers: "json",
|
|
251
248
|
preferences: "json"
|
|
252
|
-
},
|
|
249
|
+
}, Ke = Ae(j, {
|
|
253
250
|
props: xe
|
|
254
251
|
});
|
|
255
|
-
function
|
|
252
|
+
function Qe(e, a, t, r) {
|
|
256
253
|
P(() => {
|
|
257
254
|
e && !t && a && r(ie(a));
|
|
258
255
|
}, [e, t, a, r]);
|
|
259
256
|
}
|
|
260
|
-
function
|
|
257
|
+
function Ge({
|
|
261
258
|
name: e,
|
|
262
259
|
items: a,
|
|
263
260
|
value: t,
|
|
264
261
|
onChange: r,
|
|
265
262
|
isLoading: s,
|
|
266
|
-
isError:
|
|
263
|
+
isError: m,
|
|
267
264
|
refetch: y,
|
|
268
265
|
className: D,
|
|
269
266
|
icon: o,
|
|
270
267
|
showNone: b = !1
|
|
271
268
|
}) {
|
|
272
|
-
const g =
|
|
273
|
-
|
|
269
|
+
const g = w.useRef(null), [v, A] = w.useState(!1), [c, l] = w.useState("100%"), u = b ? [...a || [], { id: "none", name: "None" }] : a;
|
|
270
|
+
w.useLayoutEffect(() => {
|
|
274
271
|
g.current && l(g.current.offsetWidth);
|
|
275
272
|
}, []);
|
|
276
273
|
function d() {
|
|
277
274
|
var i;
|
|
278
|
-
return s ? "Loading..." :
|
|
275
|
+
return s ? "Loading..." : m ? "Error" : t ? (i = a == null ? void 0 : a.find((f) => f.id === t)) == null ? void 0 : i.name : `Select ${e}`;
|
|
279
276
|
}
|
|
280
277
|
function p(i, f) {
|
|
281
278
|
r(f), A(!1);
|
|
@@ -303,11 +300,11 @@ function Je({
|
|
|
303
300
|
{
|
|
304
301
|
className: "w-full p-0",
|
|
305
302
|
style: { minWidth: c },
|
|
306
|
-
children: /* @__PURE__ */ C(
|
|
303
|
+
children: /* @__PURE__ */ C(W, { children: [
|
|
307
304
|
/* @__PURE__ */ C("div", { className: "flex h-9 items-center justify-between border-b pr-1", children: [
|
|
308
|
-
/* @__PURE__ */ n(
|
|
309
|
-
/* @__PURE__ */ n(
|
|
310
|
-
|
|
305
|
+
/* @__PURE__ */ n(q, { className: "h-9", placeholder: "Search..." }),
|
|
306
|
+
/* @__PURE__ */ n(K, { className: "h-7", onClick: y, children: /* @__PURE__ */ n(
|
|
307
|
+
Q,
|
|
311
308
|
{
|
|
312
309
|
className: B(
|
|
313
310
|
"size-3.5 opacity-50",
|
|
@@ -316,14 +313,14 @@ function Je({
|
|
|
316
313
|
}
|
|
317
314
|
) })
|
|
318
315
|
] }),
|
|
319
|
-
/* @__PURE__ */ C(
|
|
320
|
-
/* @__PURE__ */ C(
|
|
316
|
+
/* @__PURE__ */ C(G, { children: [
|
|
317
|
+
/* @__PURE__ */ C(Y, { children: [
|
|
321
318
|
"No ",
|
|
322
319
|
e == null ? void 0 : e.toLowerCase(),
|
|
323
320
|
" found."
|
|
324
321
|
] }),
|
|
325
|
-
/* @__PURE__ */ n(
|
|
326
|
-
|
|
322
|
+
/* @__PURE__ */ n(J, { children: u == null ? void 0 : u.map((i) => /* @__PURE__ */ n(
|
|
323
|
+
X,
|
|
327
324
|
{
|
|
328
325
|
className: "overflow-x-auto",
|
|
329
326
|
value: i.name,
|
|
@@ -349,7 +346,7 @@ function Je({
|
|
|
349
346
|
)
|
|
350
347
|
] });
|
|
351
348
|
}
|
|
352
|
-
function
|
|
349
|
+
function Ye(e, a) {
|
|
353
350
|
P(() => (e && a && (window.__SEMAPHOR_PRINT_STATE__ = {
|
|
354
351
|
...a
|
|
355
352
|
}), () => {
|
|
@@ -357,147 +354,147 @@ function Xe(e, a) {
|
|
|
357
354
|
}), [e, a]);
|
|
358
355
|
}
|
|
359
356
|
export {
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
357
|
+
ur as AdvancedModeToggle,
|
|
358
|
+
na as BriefingAuthor,
|
|
359
|
+
ia as BriefingAuthorDialog,
|
|
360
|
+
la as BriefingUiCapabilitiesBoundary,
|
|
361
|
+
ca as BriefingUiCapabilitiesProvider,
|
|
362
|
+
ua as BriefingsApiError,
|
|
363
|
+
Qt as CALCULATED_FIELD_ENTITY_MARKER,
|
|
364
|
+
Ze as CONTROL_CARD_DEFAULT_VALUE,
|
|
365
|
+
da as CardSummary,
|
|
366
|
+
Ge as Combobox,
|
|
367
|
+
Gt as DATE_FORMAT_VALUES,
|
|
368
|
+
Nr as DEFAULT_CALENDAR_CONTEXT,
|
|
369
|
+
qt as DEFAULT_SEMANTIC_DOMAIN_ACCESS,
|
|
370
|
+
j as Dashboard,
|
|
371
|
+
dr as DashboardBriefingLauncher,
|
|
372
|
+
pr as DashboardControlsSettings,
|
|
373
|
+
pa as DashboardCreateDialogBase,
|
|
374
|
+
fa as DashboardExportDialog,
|
|
375
|
+
fr as DashboardFilterControlsButton,
|
|
376
|
+
hr as DashboardFilterControlsLauncher,
|
|
377
|
+
Ke as DashboardWC,
|
|
378
|
+
ta as DisplayFormatPreferencesFields,
|
|
379
|
+
mr as DocumentControlsSettings,
|
|
380
|
+
ea as EMPTY_SELECTION,
|
|
381
|
+
ha as ExportError,
|
|
382
|
+
gr as ExportNotificationItem,
|
|
383
|
+
Cr as ExportNotificationList,
|
|
384
|
+
Yt as LEGACY_CALCULATED_FIELD_ENTITY_MARKER,
|
|
385
|
+
ma as MatrixCardView,
|
|
386
|
+
yr as NotificationBell,
|
|
387
|
+
Jt as PivotMarkerEnum,
|
|
388
|
+
ra as ReportPreferencesDialog,
|
|
389
|
+
ga as ResourceType,
|
|
390
|
+
I as SemaphorContextProvider,
|
|
391
|
+
Ca as SemaphorDataProvider,
|
|
392
|
+
ya as SemaphorQueryClient,
|
|
396
393
|
ba as ShareDialog,
|
|
397
394
|
Ea as SummaryCard,
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
395
|
+
sa as Surfboard,
|
|
396
|
+
br as UnsavedChangesAlert,
|
|
397
|
+
qe as Visual,
|
|
398
|
+
Er as VisualEditingControls,
|
|
399
|
+
Dr as VisualsLibraryDialog,
|
|
400
|
+
vr as WatchDashboardButton,
|
|
404
401
|
Da as applyBriefingFormPatch,
|
|
405
402
|
va as briefingFormDraftToCreateRequest,
|
|
406
403
|
Aa as briefingFormDraftToUpdateRequest,
|
|
407
404
|
xa as briefingToFormDraft,
|
|
408
|
-
|
|
409
|
-
|
|
405
|
+
wa as cancelBriefingPreviewRun,
|
|
406
|
+
Sa as cancelBriefingRun,
|
|
410
407
|
Ta as cancelExport,
|
|
411
408
|
ie as cloneDeep,
|
|
412
409
|
Ba as createBriefing,
|
|
413
410
|
Na as createBriefingFormDraft,
|
|
414
|
-
|
|
411
|
+
Dt as createEmptyKpiConfig,
|
|
415
412
|
_a as createExport,
|
|
416
|
-
|
|
413
|
+
vt as createSqlGenConfig,
|
|
417
414
|
Fa as deleteBriefing,
|
|
418
415
|
Pa as deleteBriefingRun,
|
|
419
416
|
Ra as downloadDocumentPdf,
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
417
|
+
La as downloadPdf,
|
|
418
|
+
At as emitDashboardLoad,
|
|
419
|
+
xt as emitDashboardUnload,
|
|
420
|
+
wt as fmt,
|
|
421
|
+
ja as formatFileSize,
|
|
425
422
|
ka as getBriefing,
|
|
426
423
|
Ia as getBriefingArtifact,
|
|
427
424
|
Ma as getBriefingEvidence,
|
|
428
425
|
Oa as getBriefingPreviewRun,
|
|
429
426
|
Ua as getBriefingRun,
|
|
430
|
-
|
|
431
|
-
|
|
427
|
+
Xt as getCalculatedFieldComputeStage,
|
|
428
|
+
St as getColumnDataType,
|
|
432
429
|
Va as getDownloadUrl,
|
|
433
430
|
za as getExportStatus,
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
431
|
+
$a as getExports,
|
|
432
|
+
Zt as getFieldRuntimeColumnName,
|
|
433
|
+
Tt as getFilterValueType,
|
|
434
|
+
Bt as getFormattedTableNameForQuery,
|
|
435
|
+
Nt as getQualifiedTableName,
|
|
436
|
+
_t as getSql,
|
|
437
|
+
er as hasCalculatedFieldMarker,
|
|
438
|
+
ar as hasCalculatedFormulaInputs,
|
|
439
|
+
tr as hasSyntheticCalculatedFieldOwner,
|
|
440
|
+
rr as inspectCalculatedField,
|
|
441
|
+
Ft as invalidateToken,
|
|
442
|
+
Pt as isBooleanDataType,
|
|
443
|
+
sr as isCalculatedDimension,
|
|
444
|
+
or as isCalculatedMetric,
|
|
445
|
+
Rt as isColumnInSqlGen,
|
|
446
|
+
Lt as isDateDataType,
|
|
447
|
+
nr as isDerivedField,
|
|
451
448
|
Ha as isExportComplete,
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
449
|
+
Wa as isExportInProgress,
|
|
450
|
+
jt as isNumberDataType,
|
|
451
|
+
kt as isTextDataType,
|
|
452
|
+
qa as listBriefingRuns,
|
|
456
453
|
Ka as listBriefingTenantSummaries,
|
|
457
454
|
Qa as listBriefings,
|
|
458
|
-
|
|
459
|
-
|
|
455
|
+
ir as normalizeCalculatedFieldRepresentation,
|
|
456
|
+
Lr as normalizeDashboardForDirtyCheck,
|
|
460
457
|
Ga as pauseBriefing,
|
|
461
458
|
Ya as polishBriefingText,
|
|
462
459
|
Ja as previewBriefingPlan,
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
460
|
+
It as resolveDataType,
|
|
461
|
+
Mt as resolveDatamodelName,
|
|
462
|
+
Fr as resolveQueryColumnKeyMapEntry,
|
|
463
|
+
Pr as resolveUniqueQueryColumnKeyMapEntry,
|
|
467
464
|
Xa as resumeBriefing,
|
|
468
465
|
Za as runBriefingNow,
|
|
469
466
|
et as runBriefingPreview,
|
|
470
|
-
|
|
471
|
-
|
|
467
|
+
jr as serializeDashboardForDirtyCheck,
|
|
468
|
+
lr as shouldDropInheritedCalculationAggregate,
|
|
472
469
|
at as updateBriefing,
|
|
473
470
|
tt as useActiveExports,
|
|
474
471
|
rt as useAddNewFrame,
|
|
475
472
|
st as useBriefingUiCapabilities,
|
|
476
473
|
ot as useCard,
|
|
477
474
|
nt as useCardSummary,
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
475
|
+
Ot as useCurrentActiveCard,
|
|
476
|
+
Ut as useCurrentCardConfig,
|
|
477
|
+
Vt as useCurrentSheetActiveCards,
|
|
478
|
+
zt as useDashboardActions,
|
|
482
479
|
it as useDashboardById,
|
|
483
480
|
lt as useDashboardQuery,
|
|
484
481
|
Z as useDashboardStore,
|
|
485
482
|
ct as useDashboardSummary,
|
|
486
|
-
|
|
483
|
+
Ar as useDashboardUnsavedChangesCheck,
|
|
487
484
|
ut as useDataColumns,
|
|
488
485
|
dt as useDateFilterHook,
|
|
489
|
-
|
|
490
|
-
|
|
486
|
+
Tr as useDebouncedDirtyCheck,
|
|
487
|
+
$t as useEditorActions,
|
|
491
488
|
pt as useEditorAside,
|
|
492
|
-
|
|
489
|
+
Ht as useEditorStore,
|
|
493
490
|
ft as useExportActions,
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
491
|
+
xr as useExportPolling,
|
|
492
|
+
wr as useExportRecovery,
|
|
493
|
+
ht as useExportStore,
|
|
494
|
+
Ye as useExposePrintState,
|
|
495
|
+
mt as useInProgressExportsCount,
|
|
499
496
|
gt as useManagementStore,
|
|
500
|
-
|
|
497
|
+
Qe as usePristineSnapshotInitializer,
|
|
501
498
|
Ct as useResourceManagement,
|
|
502
499
|
yt as useTextFilterHook,
|
|
503
500
|
bt as validateBriefingFormDraft
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i 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 { i as r } from "../chunks/validators-CQcG0EPN.js";
|
|
2
|
+
import { D as n, p as o, a as p, b as t } from "../chunks/report-runtime-context-CtaGGlit.js";
|
|
3
3
|
export {
|
|
4
4
|
n as DEFAULT_CALENDAR_CONTEXT,
|
|
5
5
|
r as isValidIanaTimeZone,
|