react-semaphor 0.1.525 → 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 +31 -31
- package/dist/briefings/index.js +50 -49
- package/dist/chunks/{calculated-field-identity-Dy_WpDdo.js → calculated-field-identity-DEhjPSr-.js} +77 -76
- package/dist/chunks/{card-config-utils-CAyjC5Tp.js → card-config-utils-BlIbwkuD.js} +62 -59
- 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-BilVIEyw.js → dashboard-briefing-launcher-D9pFByPh.js} +274 -267
- package/dist/chunks/{dashboard-controls-DyLPcvCK.js → dashboard-controls-CJI5ZWMq.js} +740 -692
- package/dist/chunks/dashboard-json-DLdrFry-.js +65 -0
- package/dist/chunks/{edit-dashboard-visual-DtmKNNdE.js → edit-dashboard-visual-D5LjWle1.js} +6760 -6728
- package/dist/chunks/editor-action-buttons-G91NQKxU.js +2070 -0
- 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-ON7Gpvcv.js → index-BvJOYbNv.js} +760 -750
- 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-B1K7x0SL.js → matrix-control-sources-BypfLZsK.js} +36 -36
- 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-D3hxu4sE.js +1231 -0
- package/dist/chunks/{report-runtime-context-CxIoGyNM.js → report-runtime-context-CtaGGlit.js} +1 -1
- package/dist/chunks/{selection-reducer-CvCBQbl2.js → selection-reducer-C7Um5XN-.js} +3 -3
- package/dist/chunks/semantic-format-BjBMOSoo.js +192 -0
- package/dist/chunks/{index-DYOaHuLS.js → semaphor-ready-indicator-D46I_4g7.js} +145070 -146854
- package/dist/chunks/slider-B6LELqx6.js +876 -0
- package/dist/chunks/{source-entity-resolution-Bzefiive.js → source-entity-resolution-Bde29mqE.js} +25 -25
- package/dist/chunks/{switch-CWPcwAZ4.js → switch-_7uBAbYx.js} +7950 -8545
- 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 +30 -29
- 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 +435 -246
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +4 -5
- package/dist/types/briefings/index.d.ts +3 -0
- package/dist/types/components/dashboard/dashboard-container.d.ts +1 -1
- package/dist/types/components/dashboard/sheet/layout-change-guard.d.ts +1 -1
- package/dist/types/components/dashboard/sheet/sheet-layout.d.ts +1 -1
- package/dist/types/components/editor/editor-main/text-card.d.ts +1 -1
- package/dist/types/components/editor/editor.d.ts +1 -1
- 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/providers/semaphor-context-provider.d.ts +1 -1
- package/dist/types/components/providers/theme-provider-context.d.ts +1 -1
- package/dist/types/components/providers/theme-provider.d.ts +1 -1
- package/dist/types/components/shared/unsaved-changes/use-pristine-snapshot-initializer.d.ts +1 -1
- 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/dashboard-plus.d.ts +1 -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/column-display-utils.d.ts +1 -1
- package/dist/types/components/visual/data-table/data-table-toolbar.d.ts +1 -1
- package/dist/types/components/visual/kpi-visual/kpi-utils.d.ts +1 -1
- package/dist/types/components/visual/pivot-table/utils/pivot-table-export-utils.d.ts +3 -1
- package/dist/types/components/visual/settings/color-format.d.ts +1 -1
- package/dist/types/components/visual/visual-utils.d.ts +1 -1
- package/dist/types/index.js +5 -5
- package/dist/types/lib/actions/data-point-click-action.d.ts +2 -1
- 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/normalize-dashboard-for-dirty-check.d.ts +1 -1
- 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/explorer/use-schemas.d.ts +1 -1
- package/dist/types/lib/hooks/use-dashboard.d.ts +2 -2
- package/dist/types/lib/hooks/use-relative-date-summarizer.d.ts +7 -0
- package/dist/types/lib/interactions/get-click-context-from-chartjs.d.ts +1 -2
- 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/stores/editor-store.d.ts +1 -2
- package/dist/types/lib/stores/table-actions.d.ts +2 -1
- 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 -13
- 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/lib/utils.d.ts +0 -2
- 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 +2 -17
- package/src/data-app-sdk/README.md +6 -3
- package/dist/chunks/dashboard-date-comparison-definition-BqNhECUr.js +0 -183
- package/dist/chunks/dashboard-json-QEoU-mx4.js +0 -75
- package/dist/chunks/editor-action-buttons-B9VRW3Bh.js +0 -2019
- 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/report-preferences-dialog-BLaFmlE2.js +0 -723
- 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/lib/encrypt-utils.d.ts +0 -9
- 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
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
const u = /* @__PURE__ */ new Map();
|
|
2
|
+
function l(e, t) {
|
|
3
|
+
let n = u.get(t);
|
|
4
|
+
n || (n = new Intl.DateTimeFormat("en-CA", {
|
|
5
|
+
calendar: "gregory",
|
|
6
|
+
numberingSystem: "latn",
|
|
7
|
+
timeZone: t,
|
|
8
|
+
year: "numeric",
|
|
9
|
+
month: "2-digit",
|
|
10
|
+
day: "2-digit",
|
|
11
|
+
hour: "2-digit",
|
|
12
|
+
minute: "2-digit",
|
|
13
|
+
second: "2-digit",
|
|
14
|
+
hourCycle: "h23"
|
|
15
|
+
}), u.set(t, n));
|
|
16
|
+
const c = n.formatToParts(e), r = (s) => {
|
|
17
|
+
var o;
|
|
18
|
+
return Number((o = c.find((i) => i.type === s)) == null ? void 0 : o.value);
|
|
19
|
+
};
|
|
20
|
+
return {
|
|
21
|
+
year: r("year"),
|
|
22
|
+
month: r("month"),
|
|
23
|
+
day: r("day"),
|
|
24
|
+
hour: r("hour"),
|
|
25
|
+
minute: r("minute"),
|
|
26
|
+
second: r("second")
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function m(e) {
|
|
30
|
+
const t = /* @__PURE__ */ new Date(0);
|
|
31
|
+
return t.setUTCFullYear(e.year, e.month - 1, e.day), t.setUTCHours(e.hour, e.minute, e.second, e.millisecond ?? 0), t.getTime();
|
|
32
|
+
}
|
|
33
|
+
function a(e, t) {
|
|
34
|
+
const n = e - (e % 1e3 + 1e3) % 1e3;
|
|
35
|
+
return m(l(new Date(n), t)) - n;
|
|
36
|
+
}
|
|
37
|
+
const d = 864e5;
|
|
38
|
+
function f(e, t) {
|
|
39
|
+
const n = m(e), c = a(n - d, t), r = a(n + d, t), s = [.../* @__PURE__ */ new Set([c, r])].map((o) => n - o).filter((o) => a(o, t) === n - o).sort((o, i) => o - i);
|
|
40
|
+
return new Date(s.length ? s[0] : n - c);
|
|
41
|
+
}
|
|
42
|
+
export {
|
|
43
|
+
f as a,
|
|
44
|
+
m as w,
|
|
45
|
+
l as z
|
|
46
|
+
};
|
package/dist/dashboard/index.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { D as L, a as Ce } from "../chunks/matrix-control-sources-
|
|
2
|
-
import { k as
|
|
3
|
-
import { c as Se, r as ve } from "../chunks/field-aggregations-
|
|
4
|
-
import { A as
|
|
5
|
-
import { q as De,
|
|
6
|
-
import "../chunks/matrix-operation-contract-
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
1
|
+
import { D as L, a as Ce } from "../chunks/matrix-control-sources-BypfLZsK.js";
|
|
2
|
+
import { k as Vt, l as zt, n as qt, h as jt, i as Gt, j as Ht, C as Ut, d as Kt, f as Wt, e as Xt, o as Qt, c as Jt, p as Yt, u as Zt, w as ea, y as ta, g as aa, x as ra, m as na, b as ia, r as oa, s as sa, z as da, t as ca, q as la, v as ua } from "../chunks/matrix-control-sources-BypfLZsK.js";
|
|
3
|
+
import { c as Se, r as ve } from "../chunks/field-aggregations-DeVQLIsP.js";
|
|
4
|
+
import { A as fa, D as ha, n as ma, S as ga, h as ba, j as Ia, w as _a, k as ya, l as Ca, m as Sa, v as va, o as Da, B as Ta, g as Fa, b as ka, i as wa, z as xa, u as Aa, q as Oa, y as Ra, p as Na, e as Ea, f as Ma, d as La, a as Pa, x as Ba, s as $a, t as Va } from "../chunks/field-aggregations-DeVQLIsP.js";
|
|
5
|
+
import { q as De, G as K, b8 as Te, H as se, F as Fe, au as ke } from "../chunks/validators-CQcG0EPN.js";
|
|
6
|
+
import "../chunks/matrix-operation-contract-BV02rLhu.js";
|
|
7
|
+
import "zod";
|
|
8
|
+
import { m as $, r as q } from "../chunks/calculated-field-identity-DEhjPSr-.js";
|
|
9
|
+
import { C as qa, D as ja, l as Ga, p as Ha, J as Ua, q as Ka, k as Wa, f as Xa, d as Qa, i as Ja, z as Ya, g as Za, u as er, A as tr, h as ar, j as rr, v as nr, n as ir, t as or, B as sr, H as dr, x as cr, o as lr, e as ur, a as pr, b as fr, E as hr, F as mr, c as gr, w as br, G as Ir, s as _r, y as yr, I as Cr } from "../chunks/calculated-field-identity-DEhjPSr-.js";
|
|
9
10
|
import { n as we } from "../chunks/operators-B3zZoskU.js";
|
|
10
|
-
import { a as
|
|
11
|
-
import { b as
|
|
12
|
-
import { m as
|
|
11
|
+
import { a as vr, b as Dr, r as Tr } from "../chunks/canonical-result-keys-CEQefvdO.js";
|
|
12
|
+
import { b as kr, c as wr, g as xr, a as Ar, m as Or, r as Rr } from "../chunks/matrix-definition-Cdn3LoxW.js";
|
|
13
|
+
import { m as Er, a as Mr, r as Lr } from "../chunks/matrix-card-DY45yiUM.js";
|
|
13
14
|
function y(e) {
|
|
14
15
|
return e && typeof e == "object" ? e : null;
|
|
15
16
|
}
|
|
@@ -23,7 +24,7 @@ function xe(e) {
|
|
|
23
24
|
function A(e) {
|
|
24
25
|
return xe(e) ? e.kind === "semantic" ? !!(e.domainId && e.datasetName) : e.kind === "physical" ? !!(e.connectionId && e.tableName) : !1 : !1;
|
|
25
26
|
}
|
|
26
|
-
function
|
|
27
|
+
function Ot(e) {
|
|
27
28
|
return De(e);
|
|
28
29
|
}
|
|
29
30
|
function de(e, t) {
|
|
@@ -45,7 +46,7 @@ function P(e) {
|
|
|
45
46
|
}
|
|
46
47
|
return t;
|
|
47
48
|
}
|
|
48
|
-
function
|
|
49
|
+
function Rt(e) {
|
|
49
50
|
return P(e)[0];
|
|
50
51
|
}
|
|
51
52
|
function j(e, t) {
|
|
@@ -87,7 +88,7 @@ function Oe({
|
|
|
87
88
|
if ((t == null ? void 0 : t.source) === void 0)
|
|
88
89
|
return G(a);
|
|
89
90
|
}
|
|
90
|
-
function
|
|
91
|
+
function Nt(e, t) {
|
|
91
92
|
if (!(e != null && e.name) || !(t != null && t.name) || e.name !== t.name)
|
|
92
93
|
return !1;
|
|
93
94
|
const a = v(e), r = v(t);
|
|
@@ -125,11 +126,11 @@ function Pe(e) {
|
|
|
125
126
|
var t;
|
|
126
127
|
return k(e) !== "physical" ? "" : D((t = y(e)) == null ? void 0 : t.schemaName) || "";
|
|
127
128
|
}
|
|
128
|
-
function
|
|
129
|
+
function Be(e) {
|
|
129
130
|
if (e.analyticsIntent && typeof e.analyticsIntent == "object" && "source" in e.analyticsIntent)
|
|
130
131
|
return e.analyticsIntent.source;
|
|
131
132
|
}
|
|
132
|
-
function
|
|
133
|
+
function $e({
|
|
133
134
|
datasets: e,
|
|
134
135
|
requireAtLeastOne: t
|
|
135
136
|
}) {
|
|
@@ -149,7 +150,7 @@ function W(e, t) {
|
|
|
149
150
|
}
|
|
150
151
|
return t.kind === "physical" ? Ee(e) === t.connectionId && Me(e) === t.tableName && Le(e) === (t.databaseName || "") && Pe(e) === (t.schemaName || "") : !1;
|
|
151
152
|
}
|
|
152
|
-
function
|
|
153
|
+
function Et(e, t) {
|
|
153
154
|
return e.find(
|
|
154
155
|
(a) => W(a, t)
|
|
155
156
|
);
|
|
@@ -173,7 +174,7 @@ function le({
|
|
|
173
174
|
}) {
|
|
174
175
|
if (e.type === "text")
|
|
175
176
|
return;
|
|
176
|
-
const r =
|
|
177
|
+
const r = Be(e);
|
|
177
178
|
if (!r) {
|
|
178
179
|
if (t.length <= 1)
|
|
179
180
|
return;
|
|
@@ -279,7 +280,7 @@ function fe({
|
|
|
279
280
|
errors: t,
|
|
280
281
|
requireAtLeastOne: a
|
|
281
282
|
}) {
|
|
282
|
-
const r =
|
|
283
|
+
const r = $e({
|
|
283
284
|
datasets: e,
|
|
284
285
|
requireAtLeastOne: a
|
|
285
286
|
});
|
|
@@ -624,7 +625,7 @@ function Q(e, t) {
|
|
|
624
625
|
return;
|
|
625
626
|
const a = Xe(e.dataType), r = e.operation || "in";
|
|
626
627
|
if (Je(t))
|
|
627
|
-
return
|
|
628
|
+
return $({
|
|
628
629
|
definition: e,
|
|
629
630
|
sourceValue: t,
|
|
630
631
|
value: {
|
|
@@ -638,7 +639,7 @@ function Q(e, t) {
|
|
|
638
639
|
}
|
|
639
640
|
});
|
|
640
641
|
if (r === "is null" || r === "is not null")
|
|
641
|
-
return
|
|
642
|
+
return $({
|
|
642
643
|
definition: e,
|
|
643
644
|
value: {
|
|
644
645
|
filterId: e.id,
|
|
@@ -653,7 +654,7 @@ function Q(e, t) {
|
|
|
653
654
|
});
|
|
654
655
|
const o = Array.isArray(t) ? t : [t], n = a === "date" ? Ze(o) : Ye(o);
|
|
655
656
|
if (n.length !== 0 && !((r === "between" || r === "not between") && n.length < 2))
|
|
656
|
-
return
|
|
657
|
+
return $({
|
|
657
658
|
definition: e,
|
|
658
659
|
value: {
|
|
659
660
|
filterId: e.id,
|
|
@@ -769,7 +770,7 @@ function nt(e, t) {
|
|
|
769
770
|
defaultInputValues: a.shared && Object.keys(a.shared).length > 0 ? a : void 0
|
|
770
771
|
};
|
|
771
772
|
}
|
|
772
|
-
function
|
|
773
|
+
function Mt(e) {
|
|
773
774
|
var b, C;
|
|
774
775
|
const t = ze(e.plan);
|
|
775
776
|
if (!t.ok)
|
|
@@ -935,7 +936,7 @@ function lt(e, t) {
|
|
|
935
936
|
}
|
|
936
937
|
});
|
|
937
938
|
}
|
|
938
|
-
function
|
|
939
|
+
function Lt(e) {
|
|
939
940
|
var u;
|
|
940
941
|
const t = qe(e.changePlan);
|
|
941
942
|
if (!t.ok)
|
|
@@ -1430,7 +1431,7 @@ function vt(e) {
|
|
|
1430
1431
|
cardIds: t.filter((n) => !a.has(n))
|
|
1431
1432
|
};
|
|
1432
1433
|
}
|
|
1433
|
-
function
|
|
1434
|
+
function Pt(e) {
|
|
1434
1435
|
var b, C, c;
|
|
1435
1436
|
const t = [], a = ke(e);
|
|
1436
1437
|
for (const f of a.warnings)
|
|
@@ -1443,7 +1444,7 @@ function Lt(e) {
|
|
|
1443
1444
|
const l = typeof I.title == "string" ? I.title : `Section ${f + 1}`, Z = I.id || x(l, `section-${f + 1}`);
|
|
1444
1445
|
i.set(Z, []);
|
|
1445
1446
|
for (const [ee, g] of Y(I).entries()) {
|
|
1446
|
-
const te = bt(g),
|
|
1447
|
+
const te = bt(g), B = x(
|
|
1447
1448
|
g.id || `${l}-${g.title || `View ${ee + 1}`}`,
|
|
1448
1449
|
`card-${f + 1}-${ee + 1}`
|
|
1449
1450
|
);
|
|
@@ -1452,7 +1453,7 @@ function Lt(e) {
|
|
|
1452
1453
|
_(
|
|
1453
1454
|
"unsupported_presentation",
|
|
1454
1455
|
`Dashboard presentation "${((b = g.presentation) == null ? void 0 : b.kind) || "unknown"}" is not supported by the dashboard authoring adapter.`,
|
|
1455
|
-
`card-${
|
|
1456
|
+
`card-${B}`
|
|
1456
1457
|
)
|
|
1457
1458
|
);
|
|
1458
1459
|
continue;
|
|
@@ -1462,12 +1463,12 @@ function Lt(e) {
|
|
|
1462
1463
|
_(
|
|
1463
1464
|
"sql_intent_deferred",
|
|
1464
1465
|
"SQL analytics intent is valid protocol, but the current dashboard authoring adapter only materializes semantic and physical config-card intents.",
|
|
1465
|
-
`card-${
|
|
1466
|
+
`card-${B}`
|
|
1466
1467
|
)
|
|
1467
1468
|
);
|
|
1468
1469
|
continue;
|
|
1469
1470
|
}
|
|
1470
|
-
const ae = Ie(
|
|
1471
|
+
const ae = Ie(B, u), R = `card-${ae}`;
|
|
1471
1472
|
g.id && n.set(g.id, R), (c = i.get(Z)) == null || c.push(R);
|
|
1472
1473
|
const ye = g.analytics && "inputs" in g.analytics ? g.analytics.inputs : void 0;
|
|
1473
1474
|
for (const re of ye || []) {
|
|
@@ -1528,129 +1529,129 @@ function Lt(e) {
|
|
|
1528
1529
|
}, warnings: t };
|
|
1529
1530
|
}
|
|
1530
1531
|
export {
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1532
|
+
fa as AUTOMATIC_TEMPORAL_BUCKET_FORMAT,
|
|
1533
|
+
Vt as CONTROL_BINDING_MAPPING_MISSING_ERROR_CODE,
|
|
1534
|
+
zt as CONTROL_BINDING_TARGET_INVALID_ERROR_CODE,
|
|
1535
|
+
qt as CONTROL_BINDING_VALUE_INVALID_ERROR_CODE,
|
|
1536
|
+
jt as CONTROL_CONTEXT_UNSUPPORTED_ERROR_CODE,
|
|
1537
|
+
Gt as CONTROL_DEFINITION_DUPLICATE_ERROR_CODE,
|
|
1538
|
+
Ht as CONTROL_DEFINITION_INVALID_ERROR_CODE,
|
|
1539
|
+
Ut as CONTROL_PLACEHOLDER_QUOTED_ERROR_CODE,
|
|
1540
|
+
Kt as CONTROL_REFERENCE_MISSING_ERROR_CODE,
|
|
1541
|
+
Wt as CONTROL_VALUE_INVALID_ERROR_CODE,
|
|
1542
|
+
Xt as CONTROL_VALUE_MISSING_ERROR_CODE,
|
|
1543
|
+
Qt as ControlResolutionError,
|
|
1543
1544
|
Ce as DASHBOARD_AUTHORING_BREAKPOINTS,
|
|
1544
1545
|
L as DASHBOARD_AUTHORING_MAX_GENERATED_CARDS,
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1546
|
+
qa as DASHBOARD_DEFAULT_OPTION_DEPENDENCIES,
|
|
1547
|
+
ha as DOCUMENT_KPI_SECTION_MAX_CARDS,
|
|
1548
|
+
ma as DOCUMENT_KPI_SECTION_MAX_TILES,
|
|
1549
|
+
ja as DashboardFilterMappingContractError,
|
|
1550
|
+
ga as SEMAPHOR_CARTESIAN_CHART_TYPES,
|
|
1551
|
+
Ga as applyCardReferenceRemapping,
|
|
1552
|
+
Lt as applyDashboardChangePlan,
|
|
1553
|
+
Jt as applyGroupByOverride,
|
|
1554
|
+
Ha as applyLinkedClickToFilterOverrides,
|
|
1555
|
+
Ua as applyOptionDependencyOverride,
|
|
1556
|
+
Yt as buildControlDefinitionIndex,
|
|
1557
|
+
ba as buildDashboardCardSourceIndex,
|
|
1558
|
+
Ka as buildLinkedClickToFilterOverrides,
|
|
1558
1559
|
Se as clickToFilterSettingsSchema,
|
|
1559
|
-
|
|
1560
|
+
Mt as compileDashboardFromPlan,
|
|
1560
1561
|
X as compileResponsiveDashboardLayouts,
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1562
|
+
Wa as composeCardReferenceRemapping,
|
|
1563
|
+
Xa as createDashboardFilterBindingId,
|
|
1564
|
+
kr as createMatrixAuthoringDraft,
|
|
1565
|
+
wr as createMatrixConfig,
|
|
1565
1566
|
W as dashboardAuthoringDatasetMatchesSource,
|
|
1566
|
-
|
|
1567
|
+
Nt as dashboardAuthoringFieldsReferToSameTarget,
|
|
1567
1568
|
v as dashboardAuthoringSourceFromField,
|
|
1568
|
-
|
|
1569
|
+
Ot as dashboardAuthoringSourceKey,
|
|
1569
1570
|
de as dashboardAuthoringSourcesReferToSameDataset,
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1571
|
+
Ia as dashboardCardFilterSourceInventoryContains,
|
|
1572
|
+
Qa as dashboardFilterTargetMatchesLogicalValue,
|
|
1573
|
+
Ja as dashboardFilterValueTypeForDataType,
|
|
1574
|
+
Pt as dashboardPlanFromSemaphorDashboardIntent,
|
|
1575
|
+
_a as defaultClickToFilterSettings,
|
|
1576
|
+
Et as findDashboardAuthoringDatasetForSource,
|
|
1577
|
+
ya as findDashboardCardExecutableSource,
|
|
1578
|
+
Ca as findDashboardCardPinnedCatalogSource,
|
|
1579
|
+
Sa as findDashboardSqlPinnedCatalogSource,
|
|
1580
|
+
Zt as getCalculatedFieldAggregateOverrides,
|
|
1581
|
+
Ya as getCalculatedFieldNamespace,
|
|
1582
|
+
ea as getCalculatedFieldParameters,
|
|
1583
|
+
ta as getCalculatedFieldShelfOverrides,
|
|
1584
|
+
aa as getColumnCatalogFieldId,
|
|
1585
|
+
Be as getDashboardAuthoringCardSource,
|
|
1586
|
+
Za as getDashboardFilterSubscriptionHint,
|
|
1587
|
+
va as getDocumentKpiSectionShapeIssues,
|
|
1588
|
+
Da as getDocumentSectionCards,
|
|
1589
|
+
ra as getDomainCalculatedSelectionOverrides,
|
|
1590
|
+
Ta as getFieldAggregationOptions,
|
|
1591
|
+
er as getMatrixBindingTargets,
|
|
1592
|
+
xr as getMatrixLevelLabel,
|
|
1593
|
+
Ar as getMatrixMeasureLabel,
|
|
1594
|
+
tr as getStableDomainCalculatedFieldId,
|
|
1595
|
+
Fa as getTemporalBucketAuthoringOptions,
|
|
1596
|
+
ka as getTemporalBucketAuthoringSelection,
|
|
1597
|
+
ar as hasDashboardFilterSubscription,
|
|
1598
|
+
rr as isDashboardFilterOperationCompatible,
|
|
1598
1599
|
A as isMaterializableDashboardAuthoringSource,
|
|
1599
|
-
|
|
1600
|
+
wa as isSemaphorCartesianChartType,
|
|
1600
1601
|
xe as isSemaphorSourceRef,
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1602
|
+
xa as linkedClickToFilterOverridesSchema,
|
|
1603
|
+
Aa as listDashboardCardLocations,
|
|
1604
|
+
Oa as mapDocumentSectionCards,
|
|
1605
|
+
na as matrixCatalogSources,
|
|
1606
|
+
Er as matrixDefinitionFields,
|
|
1607
|
+
Mr as matrixDefinitionSources,
|
|
1608
|
+
ia as matrixExecutionSources,
|
|
1608
1609
|
P as mergeDashboardAuthoringSources,
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1610
|
+
Or as mergeMatrixSorts,
|
|
1611
|
+
nr as moveMatrixLevel,
|
|
1612
|
+
Ra as normalizeClickToFilterSettings,
|
|
1613
|
+
ir as normalizeDashboardInputs,
|
|
1614
|
+
or as normalizeLegacyLinkedTargetOverrides,
|
|
1614
1615
|
Ae as preferDashboardAuthoringSourceMetadata,
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1616
|
+
Rt as preferredDashboardAuthoringSource,
|
|
1617
|
+
Na as previewTemporalBucketAuthoringFormat,
|
|
1618
|
+
sr as readExactDomainCalculatedFieldReference,
|
|
1619
|
+
Lr as readMatrixCardConfig,
|
|
1620
|
+
dr as rebindDashboardOptionDependencyInputId,
|
|
1621
|
+
cr as reconcileMatrixSpecStructure,
|
|
1622
|
+
Ea as reconcileTemporalBucketAuthoringFormat,
|
|
1622
1623
|
q as remapClickToFilterReferences,
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1624
|
+
lr as remapLinkedClickToFilterOverrides,
|
|
1625
|
+
ur as requireNormalizedDashboardInputs,
|
|
1626
|
+
oa as resolveBindingControlValue,
|
|
1627
|
+
vr as resolveCanonicalDetailResultRawKey,
|
|
1628
|
+
Dr as resolveCanonicalResultOutputKey,
|
|
1629
|
+
Tr as resolveCanonicalResultRawKey,
|
|
1629
1630
|
Oe as resolveDashboardAuthoringSource,
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1631
|
+
Ma as resolveDashboardEntitySource,
|
|
1632
|
+
pr as resolveDashboardFilterAutomaticTarget,
|
|
1633
|
+
fr as resolveDashboardFilterInheritedTarget,
|
|
1634
|
+
hr as resolveDashboardOptionDependencies,
|
|
1635
|
+
mr as resolveDashboardOptionPopulation,
|
|
1636
|
+
gr as resolveDashboardSqlFilterTarget,
|
|
1637
|
+
sa as resolveGroupByFieldTarget,
|
|
1638
|
+
da as resolveMatrixControlBindings,
|
|
1639
|
+
Rr as resolveMatrixDefinition,
|
|
1640
|
+
ca as resolveMetricFieldTarget,
|
|
1641
|
+
la as resolveScalarMappedValue,
|
|
1642
|
+
La as resolveTemporalBucketAuthoringFormat,
|
|
1643
|
+
Pa as resolveTemporalResultOwner,
|
|
1643
1644
|
ve as respondsToSelectionsSchema,
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1645
|
+
br as retainMatrixConditionalFormatting,
|
|
1646
|
+
Ir as selectDashboardOptionDependencyInputIds,
|
|
1647
|
+
Ba as selectionFieldFromExplorerField,
|
|
1648
|
+
_r as stripInstanceTargetsForLibrarySave,
|
|
1648
1649
|
$a as supportsCanonicalDashboardTemporalResult,
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1650
|
+
Va as transformComparisonDocument,
|
|
1651
|
+
yr as updateMatrixConfig,
|
|
1652
|
+
ua as validateControlValue,
|
|
1653
|
+
$e as validateDashboardAuthoringDatasetScope,
|
|
1653
1654
|
qe as validateDashboardChangePlan,
|
|
1654
1655
|
ze as validateDashboardPlan,
|
|
1655
|
-
|
|
1656
|
+
Cr as withDashboardOptionDependencyOverride
|
|
1656
1657
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { toSemaphorInputSnapshots as rt, toSemaphorInputBinding as tt, toSemaphorSelectionSnapshots as nt, toSemaphorActiveInputSnapshots as X, toSemaphorMatrixIntent as it, toSemaphorSqlIntent as ot, toSemaphorInputOptionsIntent as st, toSemaphorRecordsIntent as at, toSemaphorAnalysisQueryOptions as lt, toSemaphorAnalysisIntent as dt, toSemaphorMetricIntent as ut, hasSemaphorInputValue as fe, normalizeSemaphorInputOptions as qr, toSemaphorInputSpec as Ar } from "../data-app-sdk-adapters/index.js";
|
|
2
2
|
import { jsxs as p, Fragment as Tr, jsx as l } from "react/jsx-runtime";
|
|
3
3
|
import { createContext as Ae, useContext as Q, useState as _, useRef as T, useEffect as B, useMemo as x, Fragment as ct, useId as kr, useCallback as L, useReducer as ft } from "react";
|
|
4
|
-
import { q as pt, u as gt,
|
|
5
|
-
import { a as
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
4
|
+
import { q as pt, u as gt, H as mt, I as xe, s as yt } from "../chunks/validators-CQcG0EPN.js";
|
|
5
|
+
import { a as Co, b9 as Eo } from "../chunks/validators-CQcG0EPN.js";
|
|
6
|
+
import { m as ht, ab as bt, aa as vt, z as sr, o as ar, H as St } from "../chunks/matrix-operation-contract-BV02rLhu.js";
|
|
7
|
+
import "zod";
|
|
8
|
+
import { m as lr } from "../chunks/matrix-formatter-BoKU3MzZ.js";
|
|
9
|
+
import { a as wt, M as It, S as xt, E as qt, C as At, r as dr } from "../chunks/selection-reducer-C7Um5XN-.js";
|
|
9
10
|
import { X as Tt, C as kt, j as Ct } from "../chunks/x-CXDkqdur.js";
|
|
10
11
|
function he(e, r, t) {
|
|
11
12
|
return {
|
|
@@ -14,13 +15,13 @@ function he(e, r, t) {
|
|
|
14
15
|
role: r
|
|
15
16
|
};
|
|
16
17
|
}
|
|
17
|
-
function
|
|
18
|
+
function mo(e) {
|
|
18
19
|
return e;
|
|
19
20
|
}
|
|
20
|
-
function
|
|
21
|
+
function yo(e) {
|
|
21
22
|
return e;
|
|
22
23
|
}
|
|
23
|
-
const
|
|
24
|
+
const ho = {
|
|
24
25
|
source: {
|
|
25
26
|
semantic(e) {
|
|
26
27
|
return {
|
|
@@ -1656,7 +1657,7 @@ function Or() {
|
|
|
1656
1657
|
const e = V[V.length - 1];
|
|
1657
1658
|
e ? window.__SEMAPHOR_DEVTOOLS__ = e.bridge : delete window.__SEMAPHOR_DEVTOOLS__;
|
|
1658
1659
|
}
|
|
1659
|
-
function
|
|
1660
|
+
function bo({
|
|
1660
1661
|
id: e,
|
|
1661
1662
|
title: r,
|
|
1662
1663
|
children: t
|
|
@@ -1904,7 +1905,7 @@ function tn({
|
|
|
1904
1905
|
) : null
|
|
1905
1906
|
] });
|
|
1906
1907
|
}
|
|
1907
|
-
function
|
|
1908
|
+
function vo({
|
|
1908
1909
|
queryId: e,
|
|
1909
1910
|
viewId: r,
|
|
1910
1911
|
label: t,
|
|
@@ -4117,7 +4118,7 @@ function Ui() {
|
|
|
4117
4118
|
function Gi() {
|
|
4118
4119
|
return Q(Yr);
|
|
4119
4120
|
}
|
|
4120
|
-
function
|
|
4121
|
+
function So(e) {
|
|
4121
4122
|
const [r, t] = _(e.defaultValue), n = Object.prototype.hasOwnProperty.call(e, "value"), i = n ? e.value : r, o = x(
|
|
4122
4123
|
() => qr(e.options),
|
|
4123
4124
|
[e.options]
|
|
@@ -4158,7 +4159,7 @@ function vo(e) {
|
|
|
4158
4159
|
};
|
|
4159
4160
|
}, [f, o, s, e, i]);
|
|
4160
4161
|
}
|
|
4161
|
-
function
|
|
4162
|
+
function wo(e) {
|
|
4162
4163
|
const [r, t] = _(() => no(e));
|
|
4163
4164
|
return B(() => {
|
|
4164
4165
|
t((n) => {
|
|
@@ -4208,7 +4209,7 @@ function So(e) {
|
|
|
4208
4209
|
[e, r]
|
|
4209
4210
|
);
|
|
4210
4211
|
}
|
|
4211
|
-
function
|
|
4212
|
+
function Io(e, r) {
|
|
4212
4213
|
const t = (r == null ? void 0 : r.status) === "success" ? r.options : void 0, n = x(() => Yi(t), [t]);
|
|
4213
4214
|
B(() => {
|
|
4214
4215
|
Ji(e.value, t) || e.clear();
|
|
@@ -4230,7 +4231,7 @@ function Yi(e) {
|
|
|
4230
4231
|
function wr(e) {
|
|
4231
4232
|
return `${typeof e}:${String(e)}`;
|
|
4232
4233
|
}
|
|
4233
|
-
function
|
|
4234
|
+
function xo(e, r = {}) {
|
|
4234
4235
|
const t = x(
|
|
4235
4236
|
() => r.inputs ? {
|
|
4236
4237
|
...e,
|
|
@@ -4653,7 +4654,7 @@ function no(e) {
|
|
|
4653
4654
|
function Ie(e) {
|
|
4654
4655
|
throw new Error(`Unsupported Semaphor query kind: ${JSON.stringify(e)}`);
|
|
4655
4656
|
}
|
|
4656
|
-
function
|
|
4657
|
+
function qo(e) {
|
|
4657
4658
|
const [r, t] = _(() => xr(e, e.defaultTuples || [])), n = Object.prototype.hasOwnProperty.call(e, "tuples"), i = xr(
|
|
4658
4659
|
e,
|
|
4659
4660
|
n ? e.tuples || [] : r
|
|
@@ -4731,7 +4732,7 @@ function Zr(e, r) {
|
|
|
4731
4732
|
function io(e) {
|
|
4732
4733
|
return !e || typeof e == "boolean" || e.enabled === !1 ? null : e.autoRenderDevtools === !0 ? {} : e.autoRenderDevtools ? e.autoRenderDevtools : null;
|
|
4733
4734
|
}
|
|
4734
|
-
function
|
|
4735
|
+
function Ao({
|
|
4735
4736
|
token: e,
|
|
4736
4737
|
apiBaseUrl: r,
|
|
4737
4738
|
executor: t,
|
|
@@ -4754,21 +4755,21 @@ function qo({
|
|
|
4754
4755
|
] }) });
|
|
4755
4756
|
}
|
|
4756
4757
|
export {
|
|
4757
|
-
|
|
4758
|
+
Ao as SemaphorDataAppProvider,
|
|
4758
4759
|
tn as SemaphorDevtools,
|
|
4759
|
-
|
|
4760
|
-
|
|
4760
|
+
vo as SemaphorDevtoolsInspectButton,
|
|
4761
|
+
bo as SemaphorViewBoundary,
|
|
4761
4762
|
_i as createSemaphorQueryExecutor,
|
|
4762
|
-
|
|
4763
|
-
|
|
4763
|
+
mo as defineSemaphorDataApp,
|
|
4764
|
+
yo as defineSemaphorInput,
|
|
4764
4765
|
Ji as isSemaphorInputValueValidForOptions,
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4766
|
+
ho as semaphor,
|
|
4767
|
+
Co as semaphorMetricAggregate,
|
|
4768
|
+
Eo as semaphorMetricMeasureBindingKey,
|
|
4769
|
+
Io as useClearInvalidSemaphorInputValue,
|
|
4769
4770
|
Dr as useSemaphorDevtools,
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4771
|
+
So as useSemaphorInput,
|
|
4772
|
+
wo as useSemaphorInputs,
|
|
4773
|
+
xo as useSemaphorQuery,
|
|
4774
|
+
qo as useSemaphorSelection
|
|
4774
4775
|
};
|