react-semaphor 0.1.507 → 0.1.509
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 +56 -0
- package/dist/analytics-protocol/index.cjs +1 -1
- package/dist/analytics-protocol/index.js +194 -172
- package/dist/appearance/index.cjs +1 -1
- package/dist/appearance/index.js +1 -1
- package/dist/appearance-runtime/index.cjs +1 -1
- package/dist/appearance-runtime/index.js +1 -1
- package/dist/brand-studio/index.cjs +2 -2
- package/dist/brand-studio/index.js +279 -250
- package/dist/briefings/index.cjs +1 -1
- package/dist/briefings/index.js +3 -3
- package/dist/chunks/appearance-context-DzqCdhB4.cjs +1 -0
- package/dist/chunks/{appearance-context-XviHOhWJ.js → appearance-context-VJdrKi7r.js} +2 -1
- package/dist/chunks/{appearance-runtime-provider-D0xVQWnH.js → appearance-runtime-provider-CC4HT2Gi.js} +2 -2
- package/dist/chunks/{appearance-runtime-provider-Ca8rxO86.cjs → appearance-runtime-provider-D5pkvgE4.cjs} +1 -1
- package/dist/chunks/calculated-field-identity-BiTGmnST.cjs +1 -0
- package/dist/chunks/calculated-field-identity-CJL54uFx.js +1373 -0
- package/dist/chunks/{constants-NUleP4DY.js → card-config-utils-Bq1enstT.js} +260 -260
- package/dist/chunks/card-config-utils-CMO4_zVs.cjs +1 -0
- package/dist/chunks/{dashboard-briefing-launcher-DXTpU85p.js → dashboard-briefing-launcher-B5AQu-Vb.js} +12 -12
- package/dist/chunks/{dashboard-briefing-launcher-C8nDSDnV.cjs → dashboard-briefing-launcher-BoXFrqq0.cjs} +1 -1
- package/dist/chunks/{dashboard-controls-CyL0yimg.js → dashboard-controls-CKKkSXEX.js} +16 -14
- package/dist/chunks/dashboard-controls-gUVkQm8o.cjs +52 -0
- package/dist/chunks/dashboard-json-B7fSi6_b.cjs +1 -0
- package/dist/chunks/{dashboard-json-5Jr3RudV.js → dashboard-json-CAJJquVx.js} +9 -9
- package/dist/chunks/edit-dashboard-visual-AZetLUv1.cjs +172 -0
- package/dist/chunks/{edit-dashboard-visual-C7X-um9g.js → edit-dashboard-visual-DCnbqRRn.js} +1986 -1990
- package/dist/chunks/{editor-action-buttons-CcDm8nA5.cjs → editor-action-buttons-CBQsVYdt.cjs} +2 -2
- package/dist/chunks/{editor-action-buttons-C5Wja_J4.js → editor-action-buttons-DDA5JGwO.js} +6 -6
- package/dist/chunks/field-aggregations-DUb0NU6c.js +1229 -0
- package/dist/chunks/field-aggregations-jSi77h9Z.cjs +1 -0
- package/dist/chunks/{field-dependencies-DVl2p1Nm.js → field-dependencies-Cl97kkHy.js} +30 -34
- package/dist/chunks/{field-dependencies-r_U0CGQ-.cjs → field-dependencies-DIab72rQ.cjs} +1 -1
- package/dist/chunks/{index-BVr4fcCB.js → index-0pdaQ9e1.js} +5 -5
- package/dist/chunks/{index-De2QNsqV.js → index-CL2lvhwk.js} +47783 -46019
- package/dist/chunks/{index-C9KXfCkC.js → index-CLIro-EG.js} +3 -0
- package/dist/chunks/index-Cx3qmRUB.cjs +1 -0
- package/dist/chunks/{index-BlYf8gNa.cjs → index-DhlVxvyI.cjs} +1 -1
- package/dist/chunks/index-DkEAikW8.cjs +1420 -0
- package/dist/chunks/{matrix-card-DACDwdTq.js → matrix-card-CnKQpnsj.js} +1 -1
- package/dist/chunks/{matrix-card-CRXcmAjp.cjs → matrix-card-U4c72doZ.cjs} +1 -1
- package/dist/chunks/{matrix-control-sources-ClQzIk7E.js → matrix-control-sources-CRRdP03Q.js} +165 -134
- package/dist/chunks/matrix-control-sources-FjxGIbqk.cjs +1 -0
- package/dist/chunks/{matrix-formatter-7GLTcBuy.cjs → matrix-formatter-CveLJo6S.cjs} +1 -1
- package/dist/chunks/{matrix-formatter-xsq7n_e6.js → matrix-formatter-ZVS5QOuq.js} +2 -2
- package/dist/chunks/matrix-member-presentation-CFHjdrxT.cjs +1 -0
- package/dist/chunks/matrix-member-presentation-CzGZJd3a.js +182 -0
- package/dist/chunks/matrix-operation-contract-DoiWTUbT.cjs +1 -0
- package/dist/chunks/matrix-operation-contract-xL8IhFzp.js +1802 -0
- package/dist/chunks/{pivot-header-presentation-3wqWChFd.cjs → pivot-header-presentation-Cxz8-06f.cjs} +1 -1
- package/dist/chunks/{pivot-header-presentation-D44ODZGn.js → pivot-header-presentation-DVylCBHB.js} +2 -2
- package/dist/chunks/{pivot-result-lifecycle-DZ0ZSMoM.cjs → pivot-result-lifecycle-BiERyXnS.cjs} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-BSmqVkVG.js → pivot-result-lifecycle-CmjpW7qG.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-xADifRXs.js → report-preferences-dialog-Bv2VIOKc.js} +4 -4
- package/dist/chunks/report-preferences-dialog-Wg9g9fIj.cjs +1 -0
- package/dist/chunks/{search-BHsQIWBV.js → selection-reducer-B94WgZ9V.js} +55 -11
- package/dist/chunks/selection-reducer-CGKKsaPa.cjs +26 -0
- package/dist/chunks/{semantic-format-BhIL1PXP.cjs → semantic-format-BzH69TRq.cjs} +1 -1
- package/dist/chunks/{semantic-format-C3amkGmY.js → semantic-format-CBlRO8Aw.js} +1 -1
- package/dist/chunks/{switch-DHGiC0aU.js → switch-CD4uGTZI.js} +7450 -7694
- package/dist/chunks/switch-iC1x2dcE.cjs +134 -0
- package/dist/chunks/token-types-Ahh5u4iT.cjs +1 -0
- package/dist/chunks/token-types-CPde8_LG.js +8 -0
- package/dist/chunks/{update-policy-Cc9h57pA.cjs → update-policy-COjFudhl.cjs} +1 -1
- package/dist/chunks/{update-policy-eTcz52jO.js → update-policy-D9q1Tz8k.js} +1 -1
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.cjs +3 -3
- package/dist/dashboard-authoring/index.js +734 -622
- package/dist/data-app-builder/index.cjs +1 -1
- package/dist/data-app-builder/index.js +3 -3
- package/dist/data-app-codegen/index.cjs +1 -1
- package/dist/data-app-codegen/index.js +2 -2
- package/dist/data-app-codegen-node/index.cjs +94 -92
- package/dist/data-app-codegen-node/index.js +337 -333
- package/dist/data-app-sdk/index.cjs +9 -9
- package/dist/data-app-sdk/index.js +1091 -969
- package/dist/data-app-sdk-adapters/index.cjs +1 -1
- package/dist/data-app-sdk-adapters/index.js +104 -96
- package/dist/data-app-sdk-validation/index.cjs +1 -1
- package/dist/data-app-sdk-validation/index.js +2 -2
- package/dist/format-utils/index.cjs +1 -1
- package/dist/format-utils/index.js +8 -8
- package/dist/index.cjs +1 -1
- package/dist/index.js +15 -15
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/brand-studio/brand-studio-draft.d.ts +3 -1
- package/dist/types/components/dashboard/card-selection-pill.d.ts +5 -0
- package/dist/types/components/dashboard/dashboard-container.d.ts +1 -1
- package/dist/types/components/dashboard/drill-breadcrumb.d.ts +1 -0
- package/dist/types/components/dashboard/drill-navigation-controls.d.ts +3 -3
- package/dist/types/components/interactions/applied-filters-display.d.ts +6 -1
- package/dist/types/components/interactions/click-to-filter-review-dialog.d.ts +21 -0
- package/dist/types/components/interactions/dashboard-drill-host.d.ts +13 -0
- package/dist/types/components/interactions/filter-badge-tooltip.d.ts +4 -4
- package/dist/types/components/interactions/insight-modal.d.ts +4 -14
- package/dist/types/components/interactions/insight-viewer.d.ts +7 -19
- package/dist/types/components/interactions/interactions-sheet.d.ts +6 -0
- package/dist/types/components/interactions/panels/click-to-filter-panel.d.ts +20 -0
- package/dist/types/components/interactions/reusable/interaction-selection-popover.d.ts +2 -2
- package/dist/types/components/interactions/sheet/action-editor.d.ts +17 -0
- package/dist/types/components/interactions/sheet/action-meta.d.ts +45 -0
- package/dist/types/components/interactions/sheet/action-picker.d.ts +7 -0
- package/dist/types/components/interactions/sheet/click-outcome-preview.d.ts +10 -0
- package/dist/types/components/interactions/sheet/interactions-home.d.ts +28 -0
- package/dist/types/components/interactions/sheet/sheet-parts.d.ts +37 -0
- package/dist/types/components/surfboard/filter/dashboard-filter-mapping-panel.d.ts +28 -1
- package/dist/types/components/surfboard/filter/selection-chip.d.ts +11 -0
- package/dist/types/components/surfboard/filter/selection-filter-section.d.ts +4 -0
- package/dist/types/components/surfboard/filter/use-dashboard-filter-mapping-popover.d.ts +3 -0
- package/dist/types/components/ui/resizable.d.ts +1 -1
- package/dist/types/components/visual/matrix-table/matrix-interaction-actions.d.ts +24 -3
- package/dist/types/components/visual/matrix-table/matrix-selection-click.d.ts +6 -0
- package/dist/types/components/visual/matrix-table/matrix-window-viewer.d.ts +1 -1
- package/dist/types/data-app-sdk/adapters.d.ts +3 -2
- package/dist/types/data-app-sdk/builders.d.ts +2 -1
- package/dist/types/data-app-sdk/contracts.d.ts +44 -2
- package/dist/types/data-app-sdk/index.d.ts +1 -0
- package/dist/types/data-app-sdk/query-request.d.ts +7 -2
- package/dist/types/data-app-sdk/selection.d.ts +2 -0
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.js +24 -23
- package/dist/types/lib/appearance/types.d.ts +3 -1
- package/dist/types/lib/briefings/briefing-attachment-model.d.ts +0 -2
- package/dist/types/lib/contexts/interactions-popover-context.d.ts +1 -8
- package/dist/types/lib/dashboard/click-to-filter-card-references.d.ts +23 -0
- package/dist/types/lib/dashboard-inputs/build-normalized-dashboard-inputs.d.ts +16 -2
- package/dist/types/lib/dashboard-inputs/build-selection-dashboard-inputs.d.ts +31 -0
- package/dist/types/lib/dashboard-inputs/click-to-filter-emitted-fields.d.ts +17 -0
- package/dist/types/lib/dashboard-inputs/click-to-filter-mapping-draft.d.ts +99 -0
- package/dist/types/lib/dashboard-inputs/click-to-filter-sheet-reach.d.ts +12 -0
- package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-authoring.d.ts +18 -1
- package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-candidate-metadata.d.ts +4 -1
- package/dist/types/lib/dashboard-inputs/dashboard-input-scope.d.ts +10 -0
- package/dist/types/lib/dashboard-inputs/dashboard-input-snapshot.d.ts +8 -1
- package/dist/types/lib/dashboard-inputs/index.d.ts +1 -0
- package/dist/types/lib/dashboard-inputs/resolve-dashboard-input-context.d.ts +18 -7
- package/dist/types/lib/dashboard-inputs/resolve-field-date-comparison-coverage.d.ts +5 -2
- package/dist/types/lib/dashboard-inputs/resolve-selection-input.d.ts +77 -0
- package/dist/types/lib/dashboard-inputs/selection-targets.d.ts +26 -0
- package/dist/types/lib/dashboard-inputs/transient-input-context.d.ts +102 -0
- package/dist/types/lib/dashboard-navigation/build-carried-click-context.d.ts +50 -0
- package/dist/types/lib/dashboard-navigation/describe-carried-context.d.ts +11 -0
- package/dist/types/lib/dashboard-navigation/index.d.ts +1 -0
- package/dist/types/lib/dashboard-navigation/navigation-state.d.ts +120 -0
- package/dist/types/lib/dashboard-navigation/run-one-off-drill.d.ts +11 -0
- package/dist/types/lib/dashboard-navigation/use-transient-contexts.d.ts +17 -0
- package/dist/types/lib/dashboard-view-state/card-view-state.d.ts +48 -0
- package/dist/types/lib/dashboard-view-state/drill-path.d.ts +20 -0
- package/dist/types/lib/dashboard-view-state/index.d.ts +2 -0
- package/dist/types/lib/download-pdf.d.ts +0 -3
- package/dist/types/lib/formatters/metric-formatting.d.ts +1 -1
- package/dist/types/lib/hooks/ai/dashboard-context.d.ts +15 -8
- package/dist/types/lib/hooks/chartjs/use-chart-blur.d.ts +10 -2
- package/dist/types/lib/hooks/interactions/{use-event-engine.d.ts → use-drill-actions.d.ts} +28 -7
- package/dist/types/lib/hooks/selection/use-active-selections.d.ts +15 -0
- package/dist/types/lib/hooks/selection/use-click-to-filter-mapping-draft.d.ts +20 -0
- package/dist/types/lib/hooks/selection/use-selection-click.d.ts +34 -0
- package/dist/types/lib/hooks/selection/use-selection-gestures.d.ts +38 -0
- package/dist/types/lib/hooks/selection/use-table-row-selection.d.ts +46 -0
- package/dist/types/lib/hooks/use-dashboard-card.d.ts +0 -2
- package/dist/types/lib/hooks/use-dashboard-filter-mapping-candidates.d.ts +18 -0
- package/dist/types/lib/hooks/use-dashboard-frame-query.d.ts +0 -1
- package/dist/types/lib/hooks/use-dashboard.d.ts +1 -3
- package/dist/types/lib/hooks/use-interactions-popover.d.ts +1 -8
- package/dist/types/lib/hooks/use-resolved-card-config.d.ts +6 -0
- package/dist/types/lib/interactions/click-outcome.d.ts +25 -0
- package/dist/types/lib/interactions/get-click-context-from-chartjs.d.ts +3 -1
- package/dist/types/lib/interactions/get-click-context-from-matrix.d.ts +1 -1
- package/dist/types/lib/interactions/get-click-context-from-table.d.ts +7 -0
- package/dist/types/lib/interactions/interaction-utils.d.ts +17 -1
- package/dist/types/lib/matrix-table/build-matrix-drill-to-detail.d.ts +15 -0
- package/dist/types/lib/matrix-table/matrix-card-interactions.d.ts +14 -3
- package/dist/types/lib/matrix-table/matrix-runtime-types.d.ts +0 -3
- package/dist/types/lib/matrix-table/matrix-runtime.d.ts +0 -4
- package/dist/types/lib/matrix-table/{use-matrix-selection.d.ts → use-matrix-cell-focus.d.ts} +13 -17
- package/dist/types/lib/matrix-table/use-matrix.d.ts +0 -1
- package/dist/types/lib/query-context/build-card-query-context.d.ts +19 -8
- package/dist/types/lib/query-context/build-dashboard-execution-snapshot.d.ts +5 -3
- package/dist/types/lib/query-context/build-dashboard-frame-base-query-contexts.d.ts +12 -4
- package/dist/types/lib/query-context/compile-selection-filters.d.ts +5 -0
- package/dist/types/lib/query-context/dashboard-filter-mapping-resolution.d.ts +46 -0
- package/dist/types/lib/query-context/filter-group-utils.d.ts +3 -0
- package/dist/types/lib/query-context/resolve-runtime-card-filters.d.ts +29 -0
- package/dist/types/lib/selection/click-to-filter-authoring-support.d.ts +9 -0
- package/dist/types/lib/selection/selection-from-click-context.d.ts +41 -0
- package/dist/types/lib/selection/selection-labels.d.ts +3 -0
- package/dist/types/lib/selection/selection-notices.d.ts +9 -0
- package/dist/types/lib/selection/selection-reducer.d.ts +46 -0
- package/dist/types/lib/stores/dashboard-store.d.ts +62 -17
- package/dist/types/lib/stores/editor-store.d.ts +1 -2
- package/dist/types/lib/stores/index.d.ts +0 -2
- package/dist/types/lib/types/common-types.d.ts +60 -6
- package/dist/types/lib/types/explorer-types.d.ts +1 -22
- package/dist/types/lib/types/interaction-types.d.ts +6 -198
- package/dist/types/lib/utils/calculate-context-aware-filters.d.ts +21 -12
- package/dist/types/lib/utils/card-utils.d.ts +11 -0
- package/dist/types/lib/utils/date-hierarchy-utils.d.ts +3 -1
- package/dist/types/lib/utils/drag-and-drop-utils.d.ts +1 -1
- package/dist/types/lib/utils/interaction-icons.d.ts +1 -1
- package/dist/types/shared/analytics-protocol/execution-input-schemas.d.ts +32 -32
- package/dist/types/shared/analytics-protocol/index.d.ts +2 -0
- package/dist/types/shared/analytics-protocol/selection-contract.d.ts +100 -0
- package/dist/types/shared/analytics-protocol/selection-filter-compiler.d.ts +12 -0
- package/dist/types/shared/dashboard-authoring/apply-group-by-override.d.ts +19 -0
- package/dist/types/shared/dashboard-authoring/click-to-filter-settings.d.ts +88 -0
- package/dist/types/shared/dashboard-authoring/contracts.d.ts +8 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +3 -0
- package/dist/types/shared/dashboard-authoring/linked-click-to-filter-overrides.d.ts +32 -0
- package/dist/types/shared/format-utils/matrix-continuation.d.ts +3 -3
- package/package.json +1 -1
- package/src/data-app-sdk/README.md +58 -1
- package/dist/chunks/appearance-context-tNjvTJj3.cjs +0 -1
- package/dist/chunks/calculated-field-identity-BTpUqfEu.js +0 -1276
- package/dist/chunks/calculated-field-identity-rMuXuzEY.cjs +0 -1
- package/dist/chunks/constants-vtu7_IUo.cjs +0 -1
- package/dist/chunks/dashboard-controls-DlxeddZN.cjs +0 -52
- package/dist/chunks/dashboard-json-DhS4yJfc.cjs +0 -1
- package/dist/chunks/edit-dashboard-visual-X3OCnivL.cjs +0 -172
- package/dist/chunks/field-aggregations-BU_3gHKR.js +0 -957
- package/dist/chunks/field-aggregations-CDCamEsQ.cjs +0 -1
- package/dist/chunks/index-C8XCKzB6.cjs +0 -1
- package/dist/chunks/index-DSa6RSdg.cjs +0 -1417
- package/dist/chunks/matrix-control-sources-CeC5EMyq.cjs +0 -1
- package/dist/chunks/matrix-member-presentation-E2B4k3ws.cjs +0 -1
- package/dist/chunks/matrix-member-presentation-qiHxv67e.js +0 -105
- package/dist/chunks/matrix-operation-contract-Cqy4EW2H.js +0 -1638
- package/dist/chunks/matrix-operation-contract-D9dLX-Wr.cjs +0 -1
- package/dist/chunks/report-preferences-dialog-7Vsc_fsG.cjs +0 -1
- package/dist/chunks/search-BqqhaMx9.cjs +0 -26
- package/dist/chunks/switch-BytP6QY8.cjs +0 -139
- package/dist/types/components/interactions/configuration-popover.d.ts +0 -1
- package/dist/types/components/interactions/interaction-card.d.ts +0 -59
- package/dist/types/components/interactions/interaction-event-handler.d.ts +0 -11
- package/dist/types/components/interactions/interactions-list.d.ts +0 -50
- package/dist/types/components/interactions/panels/cross-filter-panel.d.ts +0 -24
- package/dist/types/components/interactions/panels/inline-drill-panel.d.ts +0 -24
- package/dist/types/components/interactions/selectors/action-selector.d.ts +0 -31
- package/dist/types/components/interactions/selectors/trigger-selector.d.ts +0 -38
- package/dist/types/components/surfboard/filter/click-filter-section.d.ts +0 -5
- package/dist/types/lib/interactions/build-interaction-event.d.ts +0 -25
- package/dist/types/lib/interactions/convert-click-filters-to-filter-group.d.ts +0 -10
- package/dist/types/lib/interactions/execute-interaction-event.d.ts +0 -80
- package/dist/types/lib/interactions/field-utils.d.ts +0 -11
- package/dist/types/lib/interactions/handle-chart-click.d.ts +0 -75
- package/dist/types/lib/interactions/linked-interaction-utils.d.ts +0 -14
- package/dist/types/lib/interactions/source-card-filter-utils.d.ts +0 -9
- package/dist/types/lib/matrix-table/matrix-clipboard.d.ts +0 -45
- package/dist/types/lib/matrix-table/matrix-selection.d.ts +0 -20
- package/dist/types/lib/stores/drill-actions.d.ts +0 -139
- package/dist/types/lib/stores/interaction-store.d.ts +0 -113
- package/dist/types/lib/stores/pointer-interaction-store.d.ts +0 -18
package/DATA_APP_SDK.md
CHANGED
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
useClearInvalidSemaphorInputValue,
|
|
14
14
|
useSemaphorInput,
|
|
15
15
|
useSemaphorInputs,
|
|
16
|
+
useSemaphorSelection,
|
|
16
17
|
useSemaphorQuery,
|
|
17
18
|
} from "react-semaphor/data-app-sdk";
|
|
18
19
|
|
|
@@ -123,6 +124,61 @@ const revenueBySegment = semaphor.records({
|
|
|
123
124
|
const result = useSemaphorQuery(revenueBySegment);
|
|
124
125
|
```
|
|
125
126
|
|
|
127
|
+
## Click Selection
|
|
128
|
+
|
|
129
|
+
Create one selection input per source chart. Keep it separate from scalar filter
|
|
130
|
+
and control inputs, pass its handle through the `selections` query option, and
|
|
131
|
+
render its removable chips in the app.
|
|
132
|
+
|
|
133
|
+
```tsx
|
|
134
|
+
const segmentSelection = semaphor.selection({
|
|
135
|
+
id: "segment-chart-selection",
|
|
136
|
+
label: "Segment chart selection",
|
|
137
|
+
fields: [segment],
|
|
138
|
+
});
|
|
139
|
+
|
|
140
|
+
function SegmentDashboard() {
|
|
141
|
+
const selection = useSemaphorSelection(segmentSelection);
|
|
142
|
+
const chartResult = useSemaphorQuery(revenueBySegment);
|
|
143
|
+
const detailResult = useSemaphorQuery(revenueBySegment, {
|
|
144
|
+
selections: [selection],
|
|
145
|
+
});
|
|
146
|
+
|
|
147
|
+
const enterprise = {
|
|
148
|
+
conditions: [
|
|
149
|
+
{ field: segment, operator: "=" as const, value: "Enterprise" },
|
|
150
|
+
],
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
return (
|
|
154
|
+
<>
|
|
155
|
+
<SegmentChart result={chartResult} selection={selection} />
|
|
156
|
+
<button onClick={() => selection.select(enterprise, { kind: "toggle" })}>
|
|
157
|
+
Enterprise
|
|
158
|
+
</button>
|
|
159
|
+
{selection.tuples.map((tuple) => (
|
|
160
|
+
<button
|
|
161
|
+
key={JSON.stringify(tuple)}
|
|
162
|
+
onClick={() => selection.select(tuple, { kind: "toggle" })}
|
|
163
|
+
>
|
|
164
|
+
{tuple.conditions.map((condition) => String(condition.value)).join(" · ")} ×
|
|
165
|
+
</button>
|
|
166
|
+
))}
|
|
167
|
+
<RecordsTable result={detailResult} />
|
|
168
|
+
</>
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
The source chart query deliberately omits its own selection handle, so selected
|
|
174
|
+
marks stay visible. Pass the handle to every query that should respond.
|
|
175
|
+
|
|
176
|
+
A tuple combines its conditions with AND. Multiple tuples combine with OR, so
|
|
177
|
+
`(region = West AND segment = Enterprise) OR (region = East AND segment = SMB)`
|
|
178
|
+
stays grouped. The shared reducer caps a selection at 100 distinct tuples and
|
|
179
|
+
returns `limitReached`; show that outcome beside the chips. Selection handles
|
|
180
|
+
have no `toAnalyticsInput()` method and never belong in `inputs`.
|
|
181
|
+
|
|
126
182
|
## Row Access
|
|
127
183
|
|
|
128
184
|
Read row values with `columns[].key`; display `columns[].label`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/validators-DVYAnnX0.cjs"),C=require("../chunks/operators-DEfKaU_V.cjs"),p=require("../chunks/matrix-member-presentation-E2B4k3ws.cjs"),a=require("../chunks/matrix-operation-contract-D9dLX-Wr.cjs"),i=require("../chunks/source-entity-resolution-CjbgnwyX.cjs"),s=require("../chunks/metric-comparison-DBQ3EJTz.cjs"),d=require("../chunks/dashboard-date-comparison-definition-C_w-GO_5.cjs"),A=require("../chunks/temporal-bucket-contract-ZctiyXYk.cjs"),y=require("../chunks/raw-temporal-contract-DECbTuzA.cjs"),g=require("../chunks/matrix-analytical-definition-Ct5Tu8np.cjs"),h={kind:"semantic",domainId:"domain_sales",datasetName:"orders",connectionId:"conn_sales",label:"Orders"},E={revenueKpi:{version:1,kind:"metric",id:"revenue-kpi",label:"Revenue",source:h,measures:[{name:"revenue",role:"measure"}],primaryMeasure:{name:"revenue",role:"measure"},comparison:{kind:"previous_period"},limit:1},revenueTrend:{version:1,kind:"records",id:"revenue-trend",label:"Revenue trend",source:h,fields:[{name:"order_date",role:"date",dataType:"date",label:"Order Date"},{name:"revenue",role:"measure",dataType:"number"}],dateField:{name:"order_date",role:"date",dataType:"date"},timeGrain:"month",limit:100},topCustomersRecords:{version:1,kind:"records",id:"top-customers",label:"Top customers",source:h,fields:[{name:"customer_name",role:"dimension",dataType:"string"},{name:"segment",role:"dimension",dataType:"string"},{name:"revenue",role:"measure",dataType:"number"}],orderBy:{field:{name:"revenue",role:"measure"},direction:"desc"},limit:20},regionInputOptions:{version:1,kind:"inputOptions",id:"region-options",label:"Region options",inputId:"region",source:h,labelField:{name:"region",role:"dimension",dataType:"string"},valueField:{name:"region",role:"dimension",dataType:"string"},limit:100},previousPeriodRevenueComparison:{version:1,kind:"metric",id:"revenue-previous-period",label:"Revenue previous period comparison",source:h,measures:[{name:"revenue",role:"measure"}],primaryMeasure:{name:"revenue",role:"measure"},dateField:{name:"order_date",role:"date",dataType:"date"},timeGrain:"week",comparison:{kind:"previous_period"},limit:100},inboundSupplierConcentration:{version:1,kind:"metric",id:"inbound-supplier-concentration",label:"Inbound supplier concentration",source:h,measures:[{name:"net_tons",role:"measure"},{name:"ticket_value",role:"measure"}],primaryMeasure:{name:"net_tons",role:"measure"},dateField:{name:"ticket_date",role:"date",dataType:"date"},timeWindow:{unit:"month",value:6,anchor:"latest_available"},dimensions:[{name:"supplier_id",role:"dimension",dataType:"number"}],filters:[{field:{name:"direction",role:"dimension",dataType:"string"},operator:"=",values:["Inbound"]}],limit:15},boundedSqlRanking:{version:1,kind:"sql",id:"top-customer-ranking-sql",label:"Top customer ranking SQL",source:{kind:"sql",connectionId:"conn_sales",dialect:"postgres"},sql:"SELECT customer_name, SUM(revenue) AS revenue FROM public.orders GROUP BY customer_name ORDER BY revenue DESC LIMIT 20",limit:20,rationale:"Ranking is SQL-natural because it requires ordering grouped aggregate rows.",fields:[{name:"customer_name",role:"dimension",dataType:"string"},{name:"revenue",role:"measure",dataType:"number"}]}},T={visibleAxis:{source:{kind:"semantic",domainId:"commerce",datasetName:"orders"},field:{name:"order_date",label:"Order date",dataType:"timestamp with time zone"},expected:{status:"resolved",bindingSource:"visible_axis",name:"order_date",dataType:"datetime"}},invalidSource:{source:{kind:"semantic",datasetName:"orders"},field:{name:"order_date",label:"Order date",dataType:"date"},expected:{status:"unavailable",reason:"temporal_binding_invalid"}}};function R(t){return!!(t.name.trim()&&e.hasCompleteSemaphorSourceIdentity(t.source)&&(t.role==="date"||t.dataType==="date"||t.dataType==="datetime"))}function u(t){return t.filter((r,n)=>t.findIndex(l=>e.semaphorFieldRefsMatch(r.field,l.field))===n)}function x(t){return new Set(t.map(e.semaphorSourceIdentityKey).filter(Boolean)).size}function v(t){const r=u(t.candidates.filter(o=>o.kind==="visible_axis")),n=u(t.candidates.filter(o=>o.kind==="explicit_hidden"));if([...r,...n].some(o=>!R(o.field)))return"invalid";if(r.length>1||n.length>1)return"ambiguous";const l=r[0],c=n[0];if(l)return c&&!e.semaphorFieldRefsMatch(l.field,c.field)?"invalid":l;if(c)return c;if(x(t.querySources??[])>1)return"ambiguous";const S=u(t.candidates.filter(o=>o.kind==="semantic_primary"));return S.some(o=>!R(o.field))?"invalid":S.length>1?"ambiguous":S[0]??"missing"}function I(t){const r=new Date(t.startInclusive),n=new Date(t.endExclusive);return t.timezone.trim()?Number.isFinite(r.getTime())&&Number.isFinite(n.getTime())&&r.getTime()<n.getTime():!1}function _(t){const r=t.ranges??[];if(t.rawSql)return{status:"unavailable",reason:"unsupported_raw_sql",constraints:r};if((t.querySources??[]).some(m=>!e.hasCompleteSemaphorSourceIdentity(m))||r.some(m=>!R(m.field)))return{status:"unavailable",reason:"temporal_binding_invalid",constraints:r};const n=v(t);if(typeof n=="string")return{status:"unavailable",reason:`temporal_binding_${n}`,constraints:r};const l=r.filter(m=>e.semaphorFieldRefsMatch(m.field,n.field));if(l.some(m=>!I(m.window)))return{status:"unavailable",reason:"temporal_binding_invalid",constraints:r};const c=l.filter(m=>m.source==="global_date"),S=l.filter(m=>m.source==="card");if(c.length>1||c.length===0&&S.length>1)return{status:"unavailable",reason:"temporal_binding_ambiguous",constraints:r};const o=c[0]??S[0];return{status:"resolved",field:n.field,bindingSource:n.kind,...o?{currentWindow:o.window,governingWindowSource:o.source,governingRangeId:o.id}:{},constraints:r.filter(m=>m.id!==(o==null?void 0:o.id))}}exports.MAX_OPTION_MATCH_VALUES=e.MAX_OPTION_MATCH_VALUES;exports.OVERRIDABLE_OPTION_DEPENDENCY_REASONS=e.OVERRIDABLE_OPTION_DEPENDENCY_REASONS;exports.RAW_TEMPORAL_CONTRACT_ERROR_CODES=e.RAW_TEMPORAL_CONTRACT_ERROR_CODES;exports.SEMAPHOR_GENERATED_COUNT_METRIC_ID=e.SEMAPHOR_GENERATED_COUNT_METRIC_ID;exports.SEMAPHOR_TIME_GRAINS=e.SEMAPHOR_TIME_GRAINS;exports.TEMPORAL_BUCKET_CONTRACT_ERROR_CODES=e.TEMPORAL_BUCKET_CONTRACT_ERROR_CODES;exports.TEMPORAL_BUCKET_PRESETS=e.TEMPORAL_BUCKET_PRESETS;exports.buildAnalyticsCatalogFieldSummary=e.buildAnalyticsCatalogFieldSummary;exports.canonicalDashboardRecordsPayloadSchema=e.canonicalDashboardRecordsPayloadSchema;exports.canonicalizeExactNumericText=e.canonicalizeExactNumericText;exports.canonicalizeSemaphorSourceIdentity=e.canonicalizeSemaphorSourceIdentity;exports.configSourceRefSchema=e.configSourceRefSchema;exports.createExactNumericValue=e.createExactNumericValue;exports.dashboardRecordsPayloadSchema=e.dashboardRecordsPayloadSchema;exports.decodeNumericResultValue=e.decodeNumericResultValue;exports.exactNumericValueSchema=e.exactNumericValueSchema;exports.getAnalyticsCatalogFieldCandidates=e.getAnalyticsCatalogFieldCandidates;exports.getAnalyticsCatalogFieldName=e.getAnalyticsCatalogFieldName;exports.getAnalyticsIntentId=e.getAnalyticsIntentId;exports.getAnalyticsNumericStorageKind=e.getAnalyticsNumericStorageKind;exports.getSemaphorDatasetEntityId=e.getSemaphorDatasetEntityId;exports.getSemaphorNonRedundantDatasetId=e.getSemaphorNonRedundantDatasetId;exports.hasCompleteSemaphorSourceIdentity=e.hasCompleteSemaphorSourceIdentity;exports.isAnalyticsCatalogDateField=e.isAnalyticsCatalogDateField;exports.isAnalyticsCatalogDimensionField=e.isAnalyticsCatalogDimensionField;exports.isAnalyticsCatalogMetricField=e.isAnalyticsCatalogMetricField;exports.isAnalyticsDateLikeDataType=e.isAnalyticsDateLikeDataType;exports.isAnalyticsMetricIdentifierField=e.isAnalyticsMetricIdentifierField;exports.isAnalyticsTechnicalIdentifierField=e.isAnalyticsTechnicalIdentifierField;exports.isExactNumericValue=e.isExactNumericValue;exports.isOverridableOptionDependencyReason=e.isOverridableOptionDependencyReason;exports.isSemaphorOptionMatchValue=e.isSemaphorOptionMatchValue;exports.isSemaphorTimeGrain=e.isSemaphorTimeGrain;exports.matrixAggregateSchema=e.matrixAggregateSchema;exports.matrixAnalyticalIntentSchema=e.matrixAnalyticalIntentSchema;exports.matrixAxisSchema=e.matrixAxisSchema;exports.matrixConfigSchema=e.matrixConfigSchema;exports.matrixCoordinateSchema=e.matrixCoordinateSchema;exports.matrixDefaultViewSchema=e.matrixDefaultViewSchema;exports.matrixDefinitionInputSchema=e.matrixDefinitionInputSchema;exports.matrixExpansionSchema=e.matrixExpansionSchema;exports.matrixExportRequestSchema=e.matrixExportRequestSchema;exports.matrixFieldSchema=e.matrixFieldSchema;exports.matrixFormattingRoleSchema=e.matrixFormattingRoleSchema;exports.matrixLevelSchema=e.matrixLevelSchema;exports.matrixMeasureSchema=e.matrixMeasureSchema;exports.matrixMemberSchema=e.matrixMemberSchema;exports.matrixPathKey=e.matrixPathKey;exports.matrixPathSchema=e.matrixPathSchema;exports.matrixPresentationSchema=e.matrixPresentationSchema;exports.matrixRankingSchema=e.matrixRankingSchema;exports.matrixSortKey=e.matrixSortKey;exports.matrixSortSchema=e.matrixSortSchema;exports.matrixSortTargetSchema=e.matrixSortTargetSchema;exports.matrixSpecSchema=e.matrixSpecSchema;exports.matrixTotalPresentationSchema=e.matrixTotalPresentationSchema;exports.matrixViewStateSchema=e.matrixViewStateSchema;exports.mergeSemaphorSourcesByIdentity=e.mergeSemaphorSourcesByIdentity;exports.normalizeAnalyticsCatalogDataType=e.normalizeAnalyticsCatalogDataType;exports.normalizeAnalyticsCatalogName=e.normalizeAnalyticsCatalogName;exports.normalizeNumericLiteral=e.normalizeNumericLiteral;exports.nullableScalarSchema=e.nullableScalarSchema;exports.parseOptionMatchValues=e.parseOptionMatchValues;exports.parseSemaphorIsoInstant=e.parseSemaphorIsoInstant;exports.parseSemaphorIsoTimeWindowBoundary=e.parseSemaphorIsoTimeWindowBoundary;exports.preferSemaphorFieldRefMetadata=e.preferSemaphorFieldRefMetadata;exports.preferSemaphorSourceMetadata=e.preferSemaphorSourceMetadata;exports.rawTemporalValueMetadataSchema=e.rawTemporalValueMetadataSchema;exports.recordArraySchema=e.recordArraySchema;exports.recordSchema=e.recordSchema;exports.semaphorAggregateFunctionSchema=e.semaphorAggregateFunctionSchema;exports.semaphorAnalyticsValidationIssueSchema=e.semaphorAnalyticsValidationIssueSchema;exports.semaphorAnalyticsValidationResultSchema=e.semaphorAnalyticsValidationResultSchema;exports.semaphorCompactFieldRefSchema=e.semaphorCompactFieldRefSchema;exports.semaphorDerivedFieldDefinitionObjectSchema=e.semaphorDerivedFieldDefinitionObjectSchema;exports.semaphorDerivedFieldDefinitionSchema=e.semaphorDerivedFieldDefinitionSchema;exports.semaphorExecutionFieldRefSchema=e.semaphorExecutionFieldRefSchema;exports.semaphorFieldRefObjectSchema=e.semaphorFieldRefObjectSchema;exports.semaphorFieldRefSchema=e.semaphorFieldRefSchema;exports.semaphorFieldRefsMatch=e.semaphorFieldRefsMatch;exports.semaphorInputOptionsResultSchema=e.semaphorInputOptionsResultSchema;exports.semaphorMetricAggregate=e.semaphorMetricAggregate;exports.semaphorMetricMeasureBindingKey=e.semaphorMetricMeasureBindingKey;exports.semaphorMetricResultSchema=e.semaphorMetricResultSchema;exports.semaphorOptionDependencyOutcomeSchema=e.semaphorOptionDependencyOutcomeSchema;exports.semaphorOptionMatchResultSchema=e.semaphorOptionMatchResultSchema;exports.semaphorPhysicalSourceRefSchema=e.semaphorPhysicalSourceRefSchema;exports.semaphorRecordsResultSchema=e.semaphorRecordsResultSchema;exports.semaphorResultColumnSchema=e.semaphorResultColumnSchema;exports.semaphorScalarValueFormatSchema=e.semaphorScalarValueFormatSchema;exports.semaphorScalarValueSchema=e.semaphorScalarValueSchema;exports.semaphorSemanticSourceRefSchema=e.semaphorSemanticSourceRefSchema;exports.semaphorSourceIdentityKey=e.semaphorSourceIdentityKey;exports.semaphorSourceRefSchema=e.semaphorSourceRefSchema;exports.semaphorSourcesReferToSameDataset=e.semaphorSourcesReferToSameDataset;exports.semaphorSqlResultSchema=e.semaphorSqlResultSchema;exports.semaphorSqlSourceRefSchema=e.semaphorSqlSourceRefSchema;exports.semaphorTimeGrainSchema=e.semaphorTimeGrainSchema;exports.temporalBucketDataTypeForGrain=e.temporalBucketDataTypeForGrain;exports.temporalBucketFormatSchema=e.temporalBucketFormatSchema;exports.temporalBucketMetadataSchema=e.temporalBucketMetadataSchema;exports.validateSemaphorAnalyticsIntent=e.validateSemaphorAnalyticsIntent;exports.validateSemaphorAnalyticsRecoveryPlan=e.validateSemaphorAnalyticsRecoveryPlan;exports.validateSemaphorDashboardIntent=e.validateSemaphorDashboardIntent;exports.validateSemaphorDerivedFieldDefinition=e.validateSemaphorDerivedFieldDefinition;exports.validateSemaphorOperationIntent=e.validateSemaphorOperationIntent;exports.validateSemaphorOptionDependencies=e.validateSemaphorOptionDependencies;exports.validateSemaphorResultCalculation=e.validateSemaphorResultCalculation;exports.normalizeSemaphorAnalyticsFilterOperator=C.normalizeSemaphorAnalyticsFilterOperator;exports.normalizeSemaphorInputOperator=C.normalizeSemaphorInputOperator;exports.toSemaphorInputOperatorFromFilterOperation=C.toSemaphorInputOperatorFromFilterOperation;exports.NATIVE_PREDICATE_OPERATIONS=p.NATIVE_PREDICATE_OPERATIONS;exports.isMatrixPathExpanded=p.isMatrixPathExpanded;exports.isNullCheckPredicate=p.isNullCheckPredicate;exports.parseNativePredicateSemantics=p.parseNativePredicateSemantics;exports.projectNativePredicateSemantics=p.projectNativePredicateSemantics;exports.resolveMatrixMemberPresentation=p.resolveMatrixMemberPresentation;exports.toNativePredicateSemantics=p.toNativePredicateSemantics;exports.MATRIX_WINDOW_LIMITS=a.MATRIX_WINDOW_LIMITS;exports.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT=a.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT;exports.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION=a.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION;exports.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_VALIDATOR_VERSION=a.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_VALIDATOR_VERSION;exports.analyticsExecutionEnvelopeSchema=a.analyticsExecutionEnvelopeSchema;exports.getSemaphorAnalyzeResultFieldNames=a.getSemaphorAnalyzeResultFieldNames;exports.isSemaphorAnalyzeResultFieldName=a.isSemaphorAnalyzeResultFieldName;exports.isSemaphorDataAppCodegenSummary=a.isSemaphorDataAppCodegenSummary;exports.matrixAxisPageSchema=a.matrixAxisPageSchema;exports.matrixBlockRequestSchema=a.matrixBlockRequestSchema;exports.matrixCapabilitiesSchema=a.matrixCapabilitiesSchema;exports.matrixCellBlockSchema=a.matrixCellBlockSchema;exports.matrixDescriptorSchema=a.matrixDescriptorSchema;exports.matrixExecutionResultSchema=a.matrixExecutionResultSchema;exports.matrixExportBatchSchema=a.matrixExportBatchSchema;exports.matrixExportColumnSchema=a.matrixExportColumnSchema;exports.matrixExportLayoutSchema=a.matrixExportLayoutSchema;exports.matrixExportRowSchema=a.matrixExportRowSchema;exports.matrixExportValueSchema=a.matrixExportValueSchema;exports.matrixFailureSchema=a.matrixFailureSchema;exports.matrixOperationRequestSchema=a.matrixOperationRequestSchema;exports.matrixPageRequestSchema=a.matrixPageRequestSchema;exports.matrixPathSelectionSchema=a.matrixPathSelectionSchema;exports.matrixResultSchema=a.matrixResultSchema;exports.matrixRuntimeInputsSchema=a.matrixRuntimeInputsSchema;exports.matrixWindowInputSchema=a.matrixWindowInputSchema;exports.matrixWindowOutcomeSchema=a.matrixWindowOutcomeSchema;exports.matrixWindowRequestSchema=a.matrixWindowRequestSchema;exports.matrixWindowSchema=a.matrixWindowSchema;exports.parseMatrixRuntimeInputs=a.parseMatrixRuntimeInputs;exports.parseSemaphorAnalyzeResult=a.parseSemaphorAnalyzeResult;exports.semaphorAnalyticsCoverageSchema=a.semaphorAnalyticsCoverageSchema;exports.semaphorAnalyticsDiagnosticFeedbackSchema=a.semaphorAnalyticsDiagnosticFeedbackSchema;exports.semaphorAnalyticsExecutionResultSchema=a.semaphorAnalyticsExecutionResultSchema;exports.semaphorAnalyticsPopulationSchema=a.semaphorAnalyticsPopulationSchema;exports.semaphorAnalyticsResultSchema=a.semaphorAnalyticsResultSchema;exports.semaphorAnalyzeResultSchema=a.semaphorAnalyzeResultSchema;exports.semaphorAnalyzeResultShape=a.semaphorAnalyzeResultShape;exports.semaphorDataAppCodegenSummarySchema=a.semaphorDataAppCodegenSummarySchema;exports.semaphorMatrixResultSchema=a.matrixResultSchema;exports.semaphorRelationshipDiagnosticsSchema=a.semaphorRelationshipDiagnosticsSchema;exports.validateSemaphorDataAppCodegenSummary=a.validateSemaphorDataAppCodegenSummary;exports.buildSemaphorQualifiedSourcePath=i.buildSemaphorQualifiedSourcePath;exports.canonicalizeSemaphorQualifiedSourcePath=i.canonicalizeSemaphorQualifiedSourcePath;exports.getSemaphorCatalogCoordinateLevels=i.getSemaphorCatalogCoordinateLevels;exports.getSemaphorConnectionCapabilities=i.getSemaphorConnectionCapabilities;exports.isSemaphorPhysicalSourceEntity=i.isSemaphorPhysicalSourceEntity;exports.isSemaphorSemanticSourceEntity=i.isSemaphorSemanticSourceEntity;exports.normalizeSemaphorDialect=i.normalizeSemaphorDialect;exports.parseSemaphorQualifiedSourcePath=i.parseSemaphorQualifiedSourcePath;exports.persistedIdentifierLeafName=i.persistedIdentifierLeafName;exports.resolveSemaphorConnectionCapabilities=i.resolveSemaphorConnectionCapabilities;exports.resolveSemaphorConnectionCapabilityIdentity=i.resolveSemaphorConnectionCapabilityIdentity;exports.resolveSemaphorPhysicalCatalogAddress=i.resolveSemaphorPhysicalCatalogAddress;exports.resolveSemaphorPhysicalSourceEntity=i.resolveSemaphorPhysicalSourceEntity;exports.resolveSemaphorSemanticDatasetEntity=i.resolveSemaphorSemanticDatasetEntity;exports.resolveSemaphorSourceEntity=i.resolveSemaphorSourceEntity;exports.semaphorPhysicalSourceCoordinatesAreCompatible=i.semaphorPhysicalSourceCoordinatesAreCompatible;exports.semaphorPhysicalSourceCoordinatesCover=i.semaphorPhysicalSourceCoordinatesCover;exports.semaphorSourceHasRequiredCoordinates=i.semaphorSourceHasRequiredCoordinates;exports.COMPARISON_PRESENTATION_DEFAULTS=s.COMPARISON_PRESENTATION_DEFAULTS;exports.DEFAULT_METRIC_COMPARISON_POLARITY=s.DEFAULT_METRIC_COMPARISON_POLARITY;exports.evaluateMetricComparison=s.evaluateMetricComparison;exports.resolveMetricComparisonRequest=s.resolveMetricComparisonRequest;exports.resolveMetricResultAlias=s.resolveMetricResultAlias;exports.validateComparisonPresentationSpec=s.validateComparisonPresentationSpec;exports.validateGlobalDateComparisonContext=s.validateGlobalDateComparisonContext;exports.validateGlobalDateComparisonSelection=s.validateGlobalDateComparisonSelection;exports.validateMetricComparisonConfig=s.validateMetricComparisonConfig;exports.validateMetricComparisonPolarity=s.validateMetricComparisonPolarity;exports.validateMetricComparisonSpec=s.validateMetricComparisonSpec;exports.getCardControlCompatInputId=d.getCardControlCompatInputId;exports.getCardInlineFilterCompatInputId=d.getCardInlineFilterCompatInputId;exports.getDashboardControlCompatInputId=d.getDashboardControlCompatInputId;exports.getDashboardFilterCompatInputId=d.getDashboardFilterCompatInputId;exports.isComparisonCapableDashboardDateInputDefinition=d.isComparisonCapableDashboardDateInputDefinition;exports.resolveDashboardDateComparisonFilterDefinition=d.resolveDashboardDateComparisonFilterDefinition;exports.resolveDashboardDateComparisonInputDefinition=d.resolveDashboardDateComparisonInputDefinition;exports.semanticDatasetMatchesFieldCoordinates=d.semanticDatasetMatchesFieldCoordinates;exports.validateActivatedTemporalBucketResultColumns=A.validateActivatedTemporalBucketResultColumns;exports.validateTemporalBucketMetadata=A.validateTemporalBucketMetadata;exports.validateTemporalBucketResultColumn=A.validateTemporalBucketResultColumn;exports.RawTemporalMetadataContractError=y.RawTemporalMetadataContractError;exports.parseRawTemporalValueMetadata=y.parseRawTemporalValueMetadata;exports.validateRawTemporalResultColumn=y.validateRawTemporalResultColumn;exports.getMatrixAnalyticalDefinition=g.getMatrixAnalyticalDefinition;exports.SEMAPHOR_ANALYTICS_INTENT_FIXTURES=E;exports.TEMPORAL_CONTEXT_ADAPTER_PARITY_FIXTURES=T;exports.resolveTemporalContext=_;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/validators-DVYAnnX0.cjs"),C=require("../chunks/operators-DEfKaU_V.cjs"),c=require("../chunks/matrix-member-presentation-CFHjdrxT.cjs"),a=require("../chunks/matrix-operation-contract-DoiWTUbT.cjs"),i=require("../chunks/source-entity-resolution-CjbgnwyX.cjs"),s=require("../chunks/metric-comparison-DBQ3EJTz.cjs"),p=require("../chunks/dashboard-date-comparison-definition-C_w-GO_5.cjs"),y=require("../chunks/temporal-bucket-contract-ZctiyXYk.cjs"),A=require("../chunks/raw-temporal-contract-DECbTuzA.cjs"),T=require("../chunks/matrix-analytical-definition-Ct5Tu8np.cjs"),u={kind:"semantic",domainId:"domain_sales",datasetName:"orders",connectionId:"conn_sales",label:"Orders"},I={revenueKpi:{version:1,kind:"metric",id:"revenue-kpi",label:"Revenue",source:u,measures:[{name:"revenue",role:"measure"}],primaryMeasure:{name:"revenue",role:"measure"},comparison:{kind:"previous_period"},limit:1},revenueTrend:{version:1,kind:"records",id:"revenue-trend",label:"Revenue trend",source:u,fields:[{name:"order_date",role:"date",dataType:"date",label:"Order Date"},{name:"revenue",role:"measure",dataType:"number"}],dateField:{name:"order_date",role:"date",dataType:"date"},timeGrain:"month",limit:100},topCustomersRecords:{version:1,kind:"records",id:"top-customers",label:"Top customers",source:u,fields:[{name:"customer_name",role:"dimension",dataType:"string"},{name:"segment",role:"dimension",dataType:"string"},{name:"revenue",role:"measure",dataType:"number"}],orderBy:{field:{name:"revenue",role:"measure"},direction:"desc"},limit:20},regionInputOptions:{version:1,kind:"inputOptions",id:"region-options",label:"Region options",inputId:"region",source:u,labelField:{name:"region",role:"dimension",dataType:"string"},valueField:{name:"region",role:"dimension",dataType:"string"},limit:100},previousPeriodRevenueComparison:{version:1,kind:"metric",id:"revenue-previous-period",label:"Revenue previous period comparison",source:u,measures:[{name:"revenue",role:"measure"}],primaryMeasure:{name:"revenue",role:"measure"},dateField:{name:"order_date",role:"date",dataType:"date"},timeGrain:"week",comparison:{kind:"previous_period"},limit:100},inboundSupplierConcentration:{version:1,kind:"metric",id:"inbound-supplier-concentration",label:"Inbound supplier concentration",source:u,measures:[{name:"net_tons",role:"measure"},{name:"ticket_value",role:"measure"}],primaryMeasure:{name:"net_tons",role:"measure"},dateField:{name:"ticket_date",role:"date",dataType:"date"},timeWindow:{unit:"month",value:6,anchor:"latest_available"},dimensions:[{name:"supplier_id",role:"dimension",dataType:"number"}],filters:[{field:{name:"direction",role:"dimension",dataType:"string"},operator:"=",values:["Inbound"]}],limit:15},boundedSqlRanking:{version:1,kind:"sql",id:"top-customer-ranking-sql",label:"Top customer ranking SQL",source:{kind:"sql",connectionId:"conn_sales",dialect:"postgres"},sql:"SELECT customer_name, SUM(revenue) AS revenue FROM public.orders GROUP BY customer_name ORDER BY revenue DESC LIMIT 20",limit:20,rationale:"Ranking is SQL-natural because it requires ordering grouped aggregate rows.",fields:[{name:"customer_name",role:"dimension",dataType:"string"},{name:"revenue",role:"measure",dataType:"number"}]}},E={visibleAxis:{source:{kind:"semantic",domainId:"commerce",datasetName:"orders"},field:{name:"order_date",label:"Order date",dataType:"timestamp with time zone"},expected:{status:"resolved",bindingSource:"visible_axis",name:"order_date",dataType:"datetime"}},invalidSource:{source:{kind:"semantic",datasetName:"orders"},field:{name:"order_date",label:"Order date",dataType:"date"},expected:{status:"unavailable",reason:"temporal_binding_invalid"}}};function R(t){return!!(t.name.trim()&&e.hasCompleteSemaphorSourceIdentity(t.source)&&(t.role==="date"||t.dataType==="date"||t.dataType==="datetime"))}function h(t){return t.filter((r,n)=>t.findIndex(l=>e.semaphorFieldRefsMatch(r.field,l.field))===n)}function g(t){return new Set(t.map(e.semaphorSourceIdentityKey).filter(Boolean)).size}function x(t){const r=h(t.candidates.filter(o=>o.kind==="visible_axis")),n=h(t.candidates.filter(o=>o.kind==="explicit_hidden"));if([...r,...n].some(o=>!R(o.field)))return"invalid";if(r.length>1||n.length>1)return"ambiguous";const l=r[0],d=n[0];if(l)return d&&!e.semaphorFieldRefsMatch(l.field,d.field)?"invalid":l;if(d)return d;if(g(t.querySources??[])>1)return"ambiguous";const S=h(t.candidates.filter(o=>o.kind==="semantic_primary"));return S.some(o=>!R(o.field))?"invalid":S.length>1?"ambiguous":S[0]??"missing"}function v(t){const r=new Date(t.startInclusive),n=new Date(t.endExclusive);return t.timezone.trim()?Number.isFinite(r.getTime())&&Number.isFinite(n.getTime())&&r.getTime()<n.getTime():!1}function _(t){const r=t.ranges??[];if(t.rawSql)return{status:"unavailable",reason:"unsupported_raw_sql",constraints:r};if((t.querySources??[]).some(m=>!e.hasCompleteSemaphorSourceIdentity(m))||r.some(m=>!R(m.field)))return{status:"unavailable",reason:"temporal_binding_invalid",constraints:r};const n=x(t);if(typeof n=="string")return{status:"unavailable",reason:`temporal_binding_${n}`,constraints:r};const l=r.filter(m=>e.semaphorFieldRefsMatch(m.field,n.field));if(l.some(m=>!v(m.window)))return{status:"unavailable",reason:"temporal_binding_invalid",constraints:r};const d=l.filter(m=>m.source==="global_date"),S=l.filter(m=>m.source==="card");if(d.length>1||d.length===0&&S.length>1)return{status:"unavailable",reason:"temporal_binding_ambiguous",constraints:r};const o=d[0]??S[0];return{status:"resolved",field:n.field,bindingSource:n.kind,...o?{currentWindow:o.window,governingWindowSource:o.source,governingRangeId:o.id}:{},constraints:r.filter(m=>m.id!==(o==null?void 0:o.id))}}exports.MAX_OPTION_MATCH_VALUES=e.MAX_OPTION_MATCH_VALUES;exports.OVERRIDABLE_OPTION_DEPENDENCY_REASONS=e.OVERRIDABLE_OPTION_DEPENDENCY_REASONS;exports.RAW_TEMPORAL_CONTRACT_ERROR_CODES=e.RAW_TEMPORAL_CONTRACT_ERROR_CODES;exports.SEMAPHOR_GENERATED_COUNT_METRIC_ID=e.SEMAPHOR_GENERATED_COUNT_METRIC_ID;exports.SEMAPHOR_TIME_GRAINS=e.SEMAPHOR_TIME_GRAINS;exports.TEMPORAL_BUCKET_CONTRACT_ERROR_CODES=e.TEMPORAL_BUCKET_CONTRACT_ERROR_CODES;exports.TEMPORAL_BUCKET_PRESETS=e.TEMPORAL_BUCKET_PRESETS;exports.buildAnalyticsCatalogFieldSummary=e.buildAnalyticsCatalogFieldSummary;exports.canonicalDashboardRecordsPayloadSchema=e.canonicalDashboardRecordsPayloadSchema;exports.canonicalizeExactNumericText=e.canonicalizeExactNumericText;exports.canonicalizeSemaphorSourceIdentity=e.canonicalizeSemaphorSourceIdentity;exports.configSourceRefSchema=e.configSourceRefSchema;exports.createExactNumericValue=e.createExactNumericValue;exports.dashboardRecordsPayloadSchema=e.dashboardRecordsPayloadSchema;exports.decodeNumericResultValue=e.decodeNumericResultValue;exports.exactNumericValueSchema=e.exactNumericValueSchema;exports.getAnalyticsCatalogFieldCandidates=e.getAnalyticsCatalogFieldCandidates;exports.getAnalyticsCatalogFieldName=e.getAnalyticsCatalogFieldName;exports.getAnalyticsIntentId=e.getAnalyticsIntentId;exports.getAnalyticsNumericStorageKind=e.getAnalyticsNumericStorageKind;exports.getSemaphorDatasetEntityId=e.getSemaphorDatasetEntityId;exports.getSemaphorNonRedundantDatasetId=e.getSemaphorNonRedundantDatasetId;exports.hasCompleteSemaphorSourceIdentity=e.hasCompleteSemaphorSourceIdentity;exports.isAnalyticsCatalogDateField=e.isAnalyticsCatalogDateField;exports.isAnalyticsCatalogDimensionField=e.isAnalyticsCatalogDimensionField;exports.isAnalyticsCatalogMetricField=e.isAnalyticsCatalogMetricField;exports.isAnalyticsDateLikeDataType=e.isAnalyticsDateLikeDataType;exports.isAnalyticsMetricIdentifierField=e.isAnalyticsMetricIdentifierField;exports.isAnalyticsTechnicalIdentifierField=e.isAnalyticsTechnicalIdentifierField;exports.isExactNumericValue=e.isExactNumericValue;exports.isOverridableOptionDependencyReason=e.isOverridableOptionDependencyReason;exports.isSemaphorOptionMatchValue=e.isSemaphorOptionMatchValue;exports.isSemaphorTimeGrain=e.isSemaphorTimeGrain;exports.matrixAggregateSchema=e.matrixAggregateSchema;exports.matrixAnalyticalIntentSchema=e.matrixAnalyticalIntentSchema;exports.matrixAxisSchema=e.matrixAxisSchema;exports.matrixConfigSchema=e.matrixConfigSchema;exports.matrixCoordinateSchema=e.matrixCoordinateSchema;exports.matrixDefaultViewSchema=e.matrixDefaultViewSchema;exports.matrixDefinitionInputSchema=e.matrixDefinitionInputSchema;exports.matrixExpansionSchema=e.matrixExpansionSchema;exports.matrixExportRequestSchema=e.matrixExportRequestSchema;exports.matrixFieldSchema=e.matrixFieldSchema;exports.matrixFormattingRoleSchema=e.matrixFormattingRoleSchema;exports.matrixLevelSchema=e.matrixLevelSchema;exports.matrixMeasureSchema=e.matrixMeasureSchema;exports.matrixMemberSchema=e.matrixMemberSchema;exports.matrixPathKey=e.matrixPathKey;exports.matrixPathSchema=e.matrixPathSchema;exports.matrixPresentationSchema=e.matrixPresentationSchema;exports.matrixRankingSchema=e.matrixRankingSchema;exports.matrixSortKey=e.matrixSortKey;exports.matrixSortSchema=e.matrixSortSchema;exports.matrixSortTargetSchema=e.matrixSortTargetSchema;exports.matrixSpecSchema=e.matrixSpecSchema;exports.matrixTotalPresentationSchema=e.matrixTotalPresentationSchema;exports.matrixViewStateSchema=e.matrixViewStateSchema;exports.mergeSemaphorSourcesByIdentity=e.mergeSemaphorSourcesByIdentity;exports.normalizeAnalyticsCatalogDataType=e.normalizeAnalyticsCatalogDataType;exports.normalizeAnalyticsCatalogName=e.normalizeAnalyticsCatalogName;exports.normalizeNumericLiteral=e.normalizeNumericLiteral;exports.nullableScalarSchema=e.nullableScalarSchema;exports.parseOptionMatchValues=e.parseOptionMatchValues;exports.parseSemaphorIsoInstant=e.parseSemaphorIsoInstant;exports.parseSemaphorIsoTimeWindowBoundary=e.parseSemaphorIsoTimeWindowBoundary;exports.preferSemaphorFieldRefMetadata=e.preferSemaphorFieldRefMetadata;exports.preferSemaphorSourceMetadata=e.preferSemaphorSourceMetadata;exports.rawTemporalValueMetadataSchema=e.rawTemporalValueMetadataSchema;exports.recordArraySchema=e.recordArraySchema;exports.recordSchema=e.recordSchema;exports.semaphorAggregateFunctionSchema=e.semaphorAggregateFunctionSchema;exports.semaphorAnalyticsValidationIssueSchema=e.semaphorAnalyticsValidationIssueSchema;exports.semaphorAnalyticsValidationResultSchema=e.semaphorAnalyticsValidationResultSchema;exports.semaphorCompactFieldRefSchema=e.semaphorCompactFieldRefSchema;exports.semaphorDerivedFieldDefinitionObjectSchema=e.semaphorDerivedFieldDefinitionObjectSchema;exports.semaphorDerivedFieldDefinitionSchema=e.semaphorDerivedFieldDefinitionSchema;exports.semaphorExecutionFieldRefSchema=e.semaphorExecutionFieldRefSchema;exports.semaphorFieldRefObjectSchema=e.semaphorFieldRefObjectSchema;exports.semaphorFieldRefSchema=e.semaphorFieldRefSchema;exports.semaphorFieldRefsMatch=e.semaphorFieldRefsMatch;exports.semaphorInputOptionsResultSchema=e.semaphorInputOptionsResultSchema;exports.semaphorMetricAggregate=e.semaphorMetricAggregate;exports.semaphorMetricMeasureBindingKey=e.semaphorMetricMeasureBindingKey;exports.semaphorMetricResultSchema=e.semaphorMetricResultSchema;exports.semaphorOptionDependencyOutcomeSchema=e.semaphorOptionDependencyOutcomeSchema;exports.semaphorOptionMatchResultSchema=e.semaphorOptionMatchResultSchema;exports.semaphorPhysicalSourceRefSchema=e.semaphorPhysicalSourceRefSchema;exports.semaphorRecordsResultSchema=e.semaphorRecordsResultSchema;exports.semaphorResultColumnSchema=e.semaphorResultColumnSchema;exports.semaphorScalarValueFormatSchema=e.semaphorScalarValueFormatSchema;exports.semaphorScalarValueSchema=e.semaphorScalarValueSchema;exports.semaphorSemanticSourceRefSchema=e.semaphorSemanticSourceRefSchema;exports.semaphorSourceIdentityKey=e.semaphorSourceIdentityKey;exports.semaphorSourceRefSchema=e.semaphorSourceRefSchema;exports.semaphorSourcesReferToSameDataset=e.semaphorSourcesReferToSameDataset;exports.semaphorSqlResultSchema=e.semaphorSqlResultSchema;exports.semaphorSqlSourceRefSchema=e.semaphorSqlSourceRefSchema;exports.semaphorTimeGrainSchema=e.semaphorTimeGrainSchema;exports.temporalBucketDataTypeForGrain=e.temporalBucketDataTypeForGrain;exports.temporalBucketFormatSchema=e.temporalBucketFormatSchema;exports.temporalBucketMetadataSchema=e.temporalBucketMetadataSchema;exports.validateSemaphorAnalyticsIntent=e.validateSemaphorAnalyticsIntent;exports.validateSemaphorAnalyticsRecoveryPlan=e.validateSemaphorAnalyticsRecoveryPlan;exports.validateSemaphorDashboardIntent=e.validateSemaphorDashboardIntent;exports.validateSemaphorDerivedFieldDefinition=e.validateSemaphorDerivedFieldDefinition;exports.validateSemaphorOperationIntent=e.validateSemaphorOperationIntent;exports.validateSemaphorOptionDependencies=e.validateSemaphorOptionDependencies;exports.validateSemaphorResultCalculation=e.validateSemaphorResultCalculation;exports.normalizeSemaphorAnalyticsFilterOperator=C.normalizeSemaphorAnalyticsFilterOperator;exports.normalizeSemaphorInputOperator=C.normalizeSemaphorInputOperator;exports.toSemaphorInputOperatorFromFilterOperation=C.toSemaphorInputOperatorFromFilterOperation;exports.NATIVE_PREDICATE_OPERATIONS=c.NATIVE_PREDICATE_OPERATIONS;exports.compileSelectionFilterGroup=c.compileSelectionFilterGroup;exports.isMatrixPathExpanded=c.isMatrixPathExpanded;exports.isNullCheckPredicate=c.isNullCheckPredicate;exports.parseNativePredicateSemantics=c.parseNativePredicateSemantics;exports.projectNativePredicateSemantics=c.projectNativePredicateSemantics;exports.resolveMatrixMemberPresentation=c.resolveMatrixMemberPresentation;exports.selectionFilterGroupKey=c.selectionFilterGroupKey;exports.toNativePredicateSemantics=c.toNativePredicateSemantics;exports.MATRIX_WINDOW_LIMITS=a.MATRIX_WINDOW_LIMITS;exports.SELECTION_LIMIT=a.SELECTION_LIMIT;exports.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT=a.SEMAPHOR_ANALYZE_RESULT_FIELD_CONTRACT;exports.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION=a.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_SCHEMA_VERSION;exports.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_VALIDATOR_VERSION=a.SEMAPHOR_DATA_APP_CODEGEN_SUMMARY_VALIDATOR_VERSION;exports.analyticsExecutionEnvelopeSchema=a.analyticsExecutionEnvelopeSchema;exports.analyticsSelectionConditionKey=a.analyticsSelectionConditionKey;exports.analyticsSelectionConditionSchema=a.analyticsSelectionConditionSchema;exports.analyticsSelectionSchema=a.analyticsSelectionSchema;exports.analyticsSelectionTupleKey=a.analyticsSelectionTupleKey;exports.analyticsSelectionTupleSchema=a.analyticsSelectionTupleSchema;exports.canonicalizeAnalyticsSelections=a.canonicalizeAnalyticsSelections;exports.getSemaphorAnalyzeResultFieldNames=a.getSemaphorAnalyzeResultFieldNames;exports.isSelectionInputId=a.isSelectionInputId;exports.isSemaphorAnalyzeResultFieldName=a.isSemaphorAnalyzeResultFieldName;exports.isSemaphorDataAppCodegenSummary=a.isSemaphorDataAppCodegenSummary;exports.matrixAxisPageSchema=a.matrixAxisPageSchema;exports.matrixBlockRequestSchema=a.matrixBlockRequestSchema;exports.matrixCapabilitiesSchema=a.matrixCapabilitiesSchema;exports.matrixCellBlockSchema=a.matrixCellBlockSchema;exports.matrixDescriptorSchema=a.matrixDescriptorSchema;exports.matrixExecutionResultSchema=a.matrixExecutionResultSchema;exports.matrixExportBatchSchema=a.matrixExportBatchSchema;exports.matrixExportColumnSchema=a.matrixExportColumnSchema;exports.matrixExportLayoutSchema=a.matrixExportLayoutSchema;exports.matrixExportRowSchema=a.matrixExportRowSchema;exports.matrixExportValueSchema=a.matrixExportValueSchema;exports.matrixFailureSchema=a.matrixFailureSchema;exports.matrixOperationRequestSchema=a.matrixOperationRequestSchema;exports.matrixPageRequestSchema=a.matrixPageRequestSchema;exports.matrixPathSelectionSchema=a.matrixPathSelectionSchema;exports.matrixResultSchema=a.matrixResultSchema;exports.matrixRuntimeInputsSchema=a.matrixRuntimeInputsSchema;exports.matrixWindowInputSchema=a.matrixWindowInputSchema;exports.matrixWindowOutcomeSchema=a.matrixWindowOutcomeSchema;exports.matrixWindowRequestSchema=a.matrixWindowRequestSchema;exports.matrixWindowSchema=a.matrixWindowSchema;exports.parseMatrixRuntimeInputs=a.parseMatrixRuntimeInputs;exports.parseSemaphorAnalyzeResult=a.parseSemaphorAnalyzeResult;exports.sameSelectionTuple=a.sameSelectionTuple;exports.selectionConditionKey=a.selectionConditionKey;exports.selectionConditionSchema=a.selectionConditionSchema;exports.selectionFieldKey=a.selectionFieldKey;exports.selectionFieldSchema=a.selectionFieldSchema;exports.selectionInputId=a.selectionInputId;exports.selectionInputValueSchema=a.selectionInputValueSchema;exports.selectionTupleKey=a.selectionTupleKey;exports.selectionTupleLabel=a.selectionTupleLabel;exports.selectionTupleSchema=a.selectionTupleSchema;exports.semaphorAnalyticsCoverageSchema=a.semaphorAnalyticsCoverageSchema;exports.semaphorAnalyticsDiagnosticFeedbackSchema=a.semaphorAnalyticsDiagnosticFeedbackSchema;exports.semaphorAnalyticsExecutionResultSchema=a.semaphorAnalyticsExecutionResultSchema;exports.semaphorAnalyticsPopulationSchema=a.semaphorAnalyticsPopulationSchema;exports.semaphorAnalyticsResultSchema=a.semaphorAnalyticsResultSchema;exports.semaphorAnalyzeResultSchema=a.semaphorAnalyzeResultSchema;exports.semaphorAnalyzeResultShape=a.semaphorAnalyzeResultShape;exports.semaphorDataAppCodegenSummarySchema=a.semaphorDataAppCodegenSummarySchema;exports.semaphorMatrixResultSchema=a.matrixResultSchema;exports.semaphorRelationshipDiagnosticsSchema=a.semaphorRelationshipDiagnosticsSchema;exports.sourceCardIdFromSelectionInputId=a.sourceCardIdFromSelectionInputId;exports.temporalBucketIdentityKey=a.temporalBucketIdentityKey;exports.validateSemaphorDataAppCodegenSummary=a.validateSemaphorDataAppCodegenSummary;exports.buildSemaphorQualifiedSourcePath=i.buildSemaphorQualifiedSourcePath;exports.canonicalizeSemaphorQualifiedSourcePath=i.canonicalizeSemaphorQualifiedSourcePath;exports.getSemaphorCatalogCoordinateLevels=i.getSemaphorCatalogCoordinateLevels;exports.getSemaphorConnectionCapabilities=i.getSemaphorConnectionCapabilities;exports.isSemaphorPhysicalSourceEntity=i.isSemaphorPhysicalSourceEntity;exports.isSemaphorSemanticSourceEntity=i.isSemaphorSemanticSourceEntity;exports.normalizeSemaphorDialect=i.normalizeSemaphorDialect;exports.parseSemaphorQualifiedSourcePath=i.parseSemaphorQualifiedSourcePath;exports.persistedIdentifierLeafName=i.persistedIdentifierLeafName;exports.resolveSemaphorConnectionCapabilities=i.resolveSemaphorConnectionCapabilities;exports.resolveSemaphorConnectionCapabilityIdentity=i.resolveSemaphorConnectionCapabilityIdentity;exports.resolveSemaphorPhysicalCatalogAddress=i.resolveSemaphorPhysicalCatalogAddress;exports.resolveSemaphorPhysicalSourceEntity=i.resolveSemaphorPhysicalSourceEntity;exports.resolveSemaphorSemanticDatasetEntity=i.resolveSemaphorSemanticDatasetEntity;exports.resolveSemaphorSourceEntity=i.resolveSemaphorSourceEntity;exports.semaphorPhysicalSourceCoordinatesAreCompatible=i.semaphorPhysicalSourceCoordinatesAreCompatible;exports.semaphorPhysicalSourceCoordinatesCover=i.semaphorPhysicalSourceCoordinatesCover;exports.semaphorSourceHasRequiredCoordinates=i.semaphorSourceHasRequiredCoordinates;exports.COMPARISON_PRESENTATION_DEFAULTS=s.COMPARISON_PRESENTATION_DEFAULTS;exports.DEFAULT_METRIC_COMPARISON_POLARITY=s.DEFAULT_METRIC_COMPARISON_POLARITY;exports.evaluateMetricComparison=s.evaluateMetricComparison;exports.resolveMetricComparisonRequest=s.resolveMetricComparisonRequest;exports.resolveMetricResultAlias=s.resolveMetricResultAlias;exports.validateComparisonPresentationSpec=s.validateComparisonPresentationSpec;exports.validateGlobalDateComparisonContext=s.validateGlobalDateComparisonContext;exports.validateGlobalDateComparisonSelection=s.validateGlobalDateComparisonSelection;exports.validateMetricComparisonConfig=s.validateMetricComparisonConfig;exports.validateMetricComparisonPolarity=s.validateMetricComparisonPolarity;exports.validateMetricComparisonSpec=s.validateMetricComparisonSpec;exports.getCardControlCompatInputId=p.getCardControlCompatInputId;exports.getCardInlineFilterCompatInputId=p.getCardInlineFilterCompatInputId;exports.getDashboardControlCompatInputId=p.getDashboardControlCompatInputId;exports.getDashboardFilterCompatInputId=p.getDashboardFilterCompatInputId;exports.isComparisonCapableDashboardDateInputDefinition=p.isComparisonCapableDashboardDateInputDefinition;exports.resolveDashboardDateComparisonFilterDefinition=p.resolveDashboardDateComparisonFilterDefinition;exports.resolveDashboardDateComparisonInputDefinition=p.resolveDashboardDateComparisonInputDefinition;exports.semanticDatasetMatchesFieldCoordinates=p.semanticDatasetMatchesFieldCoordinates;exports.validateActivatedTemporalBucketResultColumns=y.validateActivatedTemporalBucketResultColumns;exports.validateTemporalBucketMetadata=y.validateTemporalBucketMetadata;exports.validateTemporalBucketResultColumn=y.validateTemporalBucketResultColumn;exports.RawTemporalMetadataContractError=A.RawTemporalMetadataContractError;exports.parseRawTemporalValueMetadata=A.parseRawTemporalValueMetadata;exports.validateRawTemporalResultColumn=A.validateRawTemporalResultColumn;exports.getMatrixAnalyticalDefinition=T.getMatrixAnalyticalDefinition;exports.SEMAPHOR_ANALYTICS_INTENT_FIXTURES=I;exports.TEMPORAL_CONTEXT_ADAPTER_PARITY_FIXTURES=E;exports.resolveTemporalContext=_;
|