react-semaphor 0.1.532 → 0.1.534
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics-protocol/index.js +210 -207
- package/dist/brand-studio/index.js +3 -3
- package/dist/briefings/index.js +21 -21
- package/dist/chunks/bookmark-state-B-I9BDD0.js +331 -0
- package/dist/chunks/{calculated-field-identity-Q1aCudPD.js → calculated-field-identity-Cz1ZU_UL.js} +140 -188
- package/dist/chunks/calendar-day-equality-BRjN1S9h.js +383 -0
- package/dist/chunks/{card-config-utils-DqyASiD_.js → card-config-utils-BlIiFn0O.js} +25 -25
- package/dist/chunks/common-types-g7yS12Cg.js +114 -0
- package/dist/chunks/{dashboard-BoSKlMPx.js → dashboard-CCK80YKL.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-BR5llbxb.js → dashboard-briefing-launcher-B9Fq2Rf3.js} +1382 -1363
- package/dist/chunks/dashboard-controls-CoiTGnEr.js +2325 -0
- package/dist/chunks/{dashboard-json-Ez0I7b2H.js → dashboard-json-BRGozO--.js} +3 -3
- package/dist/chunks/{edit-dashboard-visual-DpGb6dpY.js → edit-dashboard-visual-CZFnhGZQ.js} +8377 -8605
- package/dist/chunks/{editor-action-buttons--SQ3CcBI.js → editor-action-buttons-CVtSO3I3.js} +428 -431
- package/dist/chunks/{field-aggregations-BCDRRYMo.js → field-aggregations-CoLzYHeL.js} +371 -474
- package/dist/chunks/field-dependencies-CpRUwr9J.js +281 -0
- package/dist/chunks/{index-BpAM7UE0.js → index-BQl5rC54.js} +404 -402
- package/dist/chunks/{matrix-analytical-definition-Q4GL16S4.js → matrix-analytical-definition-CgBTD6H8.js} +1 -1
- package/dist/chunks/{matrix-card-CkfMe-h-.js → matrix-card-CAdizkUl.js} +2 -2
- package/dist/chunks/{matrix-control-sources-fD0Ns_9n.js → matrix-control-sources-Tls-h3AN.js} +22 -22
- package/dist/chunks/{matrix-definition-CiGRzEzt.js → matrix-definition-D9iShKZI.js} +1 -1
- package/dist/chunks/{matrix-formatter-DDjECnMd.js → matrix-formatter-DJCk8Znf.js} +7 -6
- package/dist/chunks/matrix-member-presentation-Ct8GuxHt.js +209 -0
- package/dist/chunks/{matrix-operation-contract-BotZ-6zT.js → matrix-operation-contract-BKupLHXL.js} +89 -89
- package/dist/chunks/{metric-comparison-QEkk6hqL.js → metric-comparison-BKHyvnAy.js} +4 -4
- package/dist/chunks/{numeric-presentation-D2I9znLM.js → numeric-presentation-CWu3gunq.js} +1 -1
- package/dist/chunks/pivot-header-presentation-CHs2GFrM.js +753 -0
- package/dist/chunks/{pivot-result-identity-BhAm8MCg.js → pivot-result-identity-Bs4tLtLo.js} +1 -1
- package/dist/chunks/{pivot-result-lifecycle-BxmATSFJ.js → pivot-result-lifecycle-DQz_gjGu.js} +8 -8
- package/dist/chunks/{raw-temporal-contract-BlyUGV3y.js → raw-temporal-contract-mLFS-9wk.js} +1 -1
- package/dist/chunks/{raw-temporal-B0EuwEHr.js → raw-temporal-iMXRK-Qz.js} +2 -2
- package/dist/chunks/{report-preferences-dialog-Cv_2GMlz.js → report-preferences-dialog-CWdTlWsr.js} +115 -115
- package/dist/chunks/{report-runtime-context-DceiWMKz.js → report-runtime-context-CG_I0PPW.js} +1 -1
- package/dist/chunks/{selection-reducer-DQok8gsC.js → selection-reducer-CiDEtmAq.js} +14 -14
- package/dist/chunks/{semantic-format-ByNkXJpY.js → semantic-format-DiqYeKwU.js} +3 -3
- package/dist/chunks/{semaphor-ready-indicator-lALyc-pQ.js → semaphor-ready-indicator-z4SNdxiC.js} +65118 -64011
- package/dist/chunks/slider-DbwmuVB-.js +875 -0
- package/dist/chunks/{source-entity-resolution-BWmw7a8P.js → source-entity-resolution-C-oNyYMp.js} +1 -1
- package/dist/chunks/{switch-CCOKraBb.js → switch-BR3Xgbqr.js} +7237 -5818
- package/dist/chunks/{temporal-bucket-contract-CdBtoHX2.js → temporal-bucket-contract-D2OuaVZ7.js} +1 -1
- package/dist/chunks/{temporal-input-presentation-wUO681Zs.js → temporal-input-presentation-BD7YNUzu.js} +9 -9
- package/dist/chunks/{token-types-Brc30mNN.js → token-types-DtSJOUjh.js} +1 -1
- package/dist/chunks/{validators-BS521dum.js → validators-DMSH81OM.js} +654 -639
- package/dist/chunks/zoned-wall-clock-1qlWCE20.js +129 -0
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +116 -112
- package/dist/data-app-sdk/index.js +5 -5
- package/dist/data-app-sdk-adapters/index.js +2 -2
- package/dist/data-app-sdk-validation/index.js +7 -7
- package/dist/format-utils/index.js +146 -141
- package/dist/index.js +174 -171
- package/dist/report-runtime-context/index.js +2 -2
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/briefings/index.d.ts +0 -1
- package/dist/types/components/surfboard/filter/types.d.ts +9 -0
- package/dist/types/components/ui-custom/date-range-presets.d.ts +5 -1
- package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +8 -0
- package/dist/types/components/visual/data-table/types/data-table.d.ts +11 -0
- package/dist/types/components/visual/shared/utils/table-column-order.d.ts +15 -0
- package/dist/types/index.js +47 -29
- package/dist/types/lib/api/exports-api.d.ts +30 -3
- package/dist/types/lib/dashboard-viewer/export-table-view.d.ts +43 -0
- package/dist/types/lib/dashboard-viewer/table-view-edit.d.ts +14 -0
- package/dist/types/lib/dashboard-viewer/table-view.d.ts +150 -0
- package/dist/types/lib/dashboard-viewer/use-table-view.d.ts +51 -0
- package/dist/types/lib/dashboard-viewer/viewer-state-client.d.ts +72 -0
- package/dist/types/lib/dashboard-viewer/viewer-state.d.ts +212 -0
- package/dist/types/lib/dashboard-viewer/viewer-store-state.d.ts +44 -0
- package/dist/types/lib/download-pdf.d.ts +9 -1
- package/dist/types/lib/exports/bounded-request.d.ts +12 -0
- package/dist/types/lib/hooks/index.d.ts +1 -2
- package/dist/types/lib/hooks/use-dashboard-query.d.ts +2 -0
- package/dist/types/lib/hooks/use-dashboard.d.ts +5 -1
- package/dist/types/lib/hooks/use-date-filter.d.ts +3 -3
- package/dist/types/lib/hooks/use-export-polling.d.ts +9 -1
- package/dist/types/lib/query-context/build-card-query-context.d.ts +9 -1
- package/dist/types/lib/stores/dashboard-store.d.ts +76 -1
- package/dist/types/lib/stores/editor-store.d.ts +0 -4
- package/dist/types/lib/stores/export-store.d.ts +11 -0
- package/dist/types/lib/table-formatting/table-totals-settings.d.ts +5 -1
- package/dist/types/lib/types/common-types.d.ts +10 -0
- package/dist/types/lib/types/index.d.ts +1 -0
- package/dist/types/lib/utils/filter-default-value-utils.d.ts +11 -4
- package/dist/types/lib/utils.d.ts +1 -0
- package/dist/types/shared/analytics-protocol/index.d.ts +1 -0
- package/dist/types/shared/analytics-protocol/relative-date-filter.d.ts +7 -0
- package/dist/types/shared/analytics-protocol/sort-target.d.ts +40 -0
- package/dist/types/shared/dashboard-authoring/dashboard-filter-value-compatibility.d.ts +9 -0
- package/dist/types/shared/dashboard-viewer/bookmark-state.d.ts +35 -0
- package/dist/types/shared/dashboard-viewer/index.d.ts +3 -0
- package/dist/types/shared/dashboard-viewer/table-settings.d.ts +89 -0
- package/dist/types/shared/dashboard-viewer/viewer-contract.d.ts +95 -0
- package/dist/types/shared/format-utils/filter-line.d.ts +47 -0
- package/dist/types/shared/format-utils/formatters/matrix-formatter.d.ts +6 -0
- package/dist/types/shared/format-utils/index.d.ts +1 -0
- package/dist/types/shared/format-utils/matrix-export-presentation.d.ts +28 -4
- package/package.json +2 -2
- package/dist/chunks/calendar-day-equality-Ddkpfhot.js +0 -466
- package/dist/chunks/common-types-C6cAQgyh.js +0 -9
- package/dist/chunks/dashboard-controls-4Thl0eL1.js +0 -2194
- package/dist/chunks/field-dependencies-BWStuMxe.js +0 -178
- package/dist/chunks/matrix-member-presentation-Glhem6xB.js +0 -182
- package/dist/chunks/pivot-header-presentation-BTOXdU6S.js +0 -618
- package/dist/chunks/slider-DlRYiI2m.js +0 -876
- package/dist/chunks/zoned-wall-clock-BkxV9jS2.js +0 -46
- package/dist/types/components/ai/assistant-context-entity-controls.d.ts +0 -25
- package/dist/types/components/ai/assistant-message-components.d.ts +0 -59
- package/dist/types/components/ai/assistant-message.d.ts +0 -10
- package/dist/types/components/ai/assistant-virtualized-messages.d.ts +0 -21
- package/dist/types/components/ai/chat-custom-visual.d.ts +0 -21
- package/dist/types/components/ai/chat-input-with-context.d.ts +0 -16
- package/dist/types/components/ai/chat-input.d.ts +0 -11
- package/dist/types/components/ai/chat-visual-query-utils.d.ts +0 -68
- package/dist/types/components/ai/chat-visual.d.ts +0 -12
- package/dist/types/components/ai/clarification-card.d.ts +0 -20
- package/dist/types/components/ai/context-entity-display.d.ts +0 -10
- package/dist/types/components/ai/dashboard-assistant.d.ts +0 -27
- package/dist/types/components/ai/debug-message-array.d.ts +0 -1
- package/dist/types/components/ai/editor-assistant.d.ts +0 -7
- package/dist/types/components/ai/entity-mention-dropdown.d.ts +0 -16
- package/dist/types/components/ai/file-upload/file-preview.d.ts +0 -15
- package/dist/types/components/ai/file-upload/file-upload-button.d.ts +0 -10
- package/dist/types/components/ai/file-upload/file-upload-zone.d.ts +0 -11
- package/dist/types/components/ai/file-upload/file-utils.d.ts +0 -63
- package/dist/types/components/ai/highlighted-input.d.ts +0 -22
- package/dist/types/components/ai/message-feedback-buttons.d.ts +0 -9
- package/dist/types/components/ai/pending-messages-display.d.ts +0 -7
- package/dist/types/components/ai/placeholders.d.ts +0 -8
- package/dist/types/components/ai/pre-block.d.ts +0 -30
- package/dist/types/components/ai/quick-replies.d.ts +0 -8
- package/dist/types/components/ai/reasoning-effort-slider.d.ts +0 -7
- package/dist/types/components/ai/seed-questions.d.ts +0 -6
- package/dist/types/components/ai/tool-call-error.d.ts +0 -8
- package/dist/types/components/ai/tool-call.d.ts +0 -12
- package/dist/types/components/ai/tool-output-errors.d.ts +0 -2
- package/dist/types/components/ai/tool-part-renderer.d.ts +0 -32
- package/dist/types/components/appearance/dashboard-appearance-adapter.d.ts +0 -17
- package/dist/types/components/appearance/surface-appearance-adapter.d.ts +0 -21
- package/dist/types/components/briefings/attachments/briefing-attachment-list.d.ts +0 -9
- package/dist/types/components/briefings/attachments/briefing-attachment-selector.d.ts +0 -27
- package/dist/types/components/briefings/attachments/briefing-attachment-settings-dialog.d.ts +0 -16
- package/dist/types/components/briefings/briefing-author/attachment-section.d.ts +0 -20
- package/dist/types/components/briefings/briefing-author/author-actions.d.ts +0 -25
- package/dist/types/components/briefings/briefing-author/content-composers.d.ts +0 -9
- package/dist/types/components/briefings/briefing-author/defaults.d.ts +0 -1
- package/dist/types/components/briefings/briefing-author/delivery-section.d.ts +0 -56
- package/dist/types/components/briefings/briefing-author/form-primitives.d.ts +0 -20
- package/dist/types/components/briefings/briefing-author/output.d.ts +0 -2
- package/dist/types/components/briefings/briefing-author/presentation-vocabulary.d.ts +0 -17
- package/dist/types/components/briefings/briefing-author/schedule-model.d.ts +0 -13
- package/dist/types/components/briefings/briefing-author/schedule-section.d.ts +0 -5
- package/dist/types/components/briefings/briefing-author/schedule.d.ts +0 -8
- package/dist/types/components/briefings/briefing-author/scope-picker.d.ts +0 -14
- package/dist/types/components/briefings/briefing-author/slack-channel-picker.d.ts +0 -22
- package/dist/types/components/briefings/briefing-author/styles.d.ts +0 -4
- package/dist/types/components/briefings/briefing-html-frame.d.ts +0 -5
- package/dist/types/components/briefings/briefing-recipient-field.d.ts +0 -17
- package/dist/types/components/briefings/briefing-tones.d.ts +0 -30
- package/dist/types/components/briefings/dashboard-briefing-launcher-list.d.ts +0 -25
- package/dist/types/components/briefings/dashboard-briefing-launcher-model.d.ts +0 -14
- package/dist/types/components/briefings/dashboard-schedule-report-menu-item.d.ts +0 -11
- package/dist/types/components/calculated-fields/ai-compose-panel.d.ts +0 -19
- package/dist/types/components/calculated-fields/calculated-field-editor-utils.d.ts +0 -44
- package/dist/types/components/calculated-fields/calculated-field-editor.d.ts +0 -27
- package/dist/types/components/calculated-fields/domain-definition-notice.d.ts +0 -4
- package/dist/types/components/calculated-fields/expression-validator.d.ts +0 -8
- package/dist/types/components/calculated-fields/field-picker-panel.d.ts +0 -20
- package/dist/types/components/calculated-fields/field-type-toggle.d.ts +0 -7
- package/dist/types/components/calculated-fields/index.d.ts +0 -10
- package/dist/types/components/calculated-fields/insert-field-popover.d.ts +0 -18
- package/dist/types/components/calculated-fields/placeholder-field-picker.d.ts +0 -30
- package/dist/types/components/calculated-fields/summary-ribbon.d.ts +0 -23
- package/dist/types/components/calculated-fields/templates-menu.d.ts +0 -11
- package/dist/types/components/calculated-fields/validation-results.d.ts +0 -4
- package/dist/types/components/calculated-fields/validation-tooltip-content.d.ts +0 -4
- package/dist/types/components/chart-selector/chart-icon.d.ts +0 -37
- package/dist/types/components/chart-selector/chart-selector-item.d.ts +0 -18
- package/dist/types/components/chart-selector/chart-selector.d.ts +0 -25
- package/dist/types/components/chart-selector/chart-type-picker.d.ts +0 -12
- package/dist/types/components/chart-selector/index.d.ts +0 -4
- package/dist/types/components/chart-selector/use-chart-selector-model.d.ts +0 -18
- package/dist/types/components/dashboard/card-actions-menu.d.ts +0 -10
- package/dist/types/components/dashboard/card-selection-pill.d.ts +0 -5
- package/dist/types/components/dashboard/comparison-badge-state.d.ts +0 -3
- package/dist/types/components/dashboard/comparison-metadata-badge.d.ts +0 -11
- package/dist/types/components/dashboard/dashboard-card.d.ts +0 -17
- package/dist/types/components/dashboard/dashboard-container.d.ts +0 -9
- package/dist/types/components/dashboard/dashboard-error-state.d.ts +0 -9
- package/dist/types/components/dashboard/dashboard-frame-expand-dialog.d.ts +0 -5
- package/dist/types/components/dashboard/dashboard-frame.d.ts +0 -14
- package/dist/types/components/dashboard/dashboard-hub-row.d.ts +0 -18
- package/dist/types/components/dashboard/dashboard-hub-sort.d.ts +0 -8
- package/dist/types/components/dashboard/dashboard-hub.d.ts +0 -5
- package/dist/types/components/dashboard/dashboard-tabs.d.ts +0 -1
- package/dist/types/components/dashboard/dashboard-visual-error-state.d.ts +0 -20
- package/dist/types/components/dashboard/download-pdf.d.ts +0 -10
- package/dist/types/components/dashboard/drill-breadcrumb.d.ts +0 -7
- package/dist/types/components/dashboard/drill-navigation-controls.d.ts +0 -13
- package/dist/types/components/dashboard/inline-filter-bar.d.ts +0 -17
- package/dist/types/components/dashboard/inline-filter-component.d.ts +0 -30
- package/dist/types/components/dashboard/kpi-header.d.ts +0 -2
- package/dist/types/components/dashboard/semaphor-style-wrapper.d.ts +0 -3
- package/dist/types/components/dashboard/sheet/delete-sheet-alert.d.ts +0 -6
- package/dist/types/components/dashboard/sheet/layout-change-guard.d.ts +0 -6
- package/dist/types/components/dashboard/sheet/sheet-empty-state.d.ts +0 -5
- package/dist/types/components/dashboard/sheet/sheet-layout.d.ts +0 -5
- package/dist/types/components/dashboard/sheet/sheet-layout_backup.d.ts +0 -0
- package/dist/types/components/dashboard/summary-warning-utils.d.ts +0 -6
- package/dist/types/components/dashboard/unconfigured-card-state.d.ts +0 -21
- package/dist/types/components/document-sheet/document-control-options-resolver.d.ts +0 -9
- package/dist/types/components/document-sheet/document-control-toolbar-actions.d.ts +0 -12
- package/dist/types/components/document-sheet/document-input-bar.d.ts +0 -30
- package/dist/types/components/document-sheet/document-insert-picker.d.ts +0 -37
- package/dist/types/components/document-sheet/document-inspector-primitives.d.ts +0 -10
- package/dist/types/components/document-sheet/document-kpi-section.d.ts +0 -17
- package/dist/types/components/document-sheet/document-matrix-layout-context.d.ts +0 -10
- package/dist/types/components/document-sheet/document-matrix-section.d.ts +0 -27
- package/dist/types/components/document-sheet/document-measure-layer.d.ts +0 -45
- package/dist/types/components/document-sheet/document-outline.d.ts +0 -21
- package/dist/types/components/document-sheet/document-page-navigation.d.ts +0 -22
- package/dist/types/components/document-sheet/document-page.d.ts +0 -68
- package/dist/types/components/document-sheet/document-panel/document-side-panel.d.ts +0 -36
- package/dist/types/components/document-sheet/document-panel/inputs-panel.d.ts +0 -9
- package/dist/types/components/document-sheet/document-panel/page-panel.d.ts +0 -5
- package/dist/types/components/document-sheet/document-panel/panel-controls.d.ts +0 -14
- package/dist/types/components/document-sheet/document-panel/region-panels.d.ts +0 -11
- package/dist/types/components/document-sheet/document-panel/section-panel.d.ts +0 -25
- package/dist/types/components/document-sheet/document-section-print-boundary.d.ts +0 -9
- package/dist/types/components/document-sheet/document-sheet.d.ts +0 -10
- package/dist/types/components/document-sheet/document-table-chrome.d.ts +0 -22
- package/dist/types/components/document-sheet/document-table-section.d.ts +0 -28
- package/dist/types/components/document-sheet/document-text-editor.d.ts +0 -8
- package/dist/types/components/document-sheet/document-text-preview-context.d.ts +0 -8
- package/dist/types/components/document-sheet/use-first-fitting-variant.d.ts +0 -18
- package/dist/types/components/editor/dashboard-json.d.ts +0 -1
- package/dist/types/components/editor/editable.d.ts +0 -14
- package/dist/types/components/editor/editor-main/card-display-options-dropdown.d.ts +0 -7
- package/dist/types/components/editor/editor-main/card-tabs.d.ts +0 -16
- package/dist/types/components/editor/editor-main/chart-configuration-options.d.ts +0 -1
- package/dist/types/components/editor/editor-main/clear-card-utils.d.ts +0 -2
- package/dist/types/components/editor/editor-main/code-editors/expanded-query-editor-dialog.d.ts +0 -14
- package/dist/types/components/editor/editor-main/code-editors/json-editor-readonly.d.ts +0 -3
- package/dist/types/components/editor/editor-main/code-editors/python-editor.d.ts +0 -2
- package/dist/types/components/editor/editor-main/code-editors/sql-editor.d.ts +0 -6
- package/dist/types/components/editor/editor-main/code-editors/use-query-editor-session-transfer.d.ts +0 -17
- package/dist/types/components/editor/editor-main/content-editable-text.d.ts +0 -11
- package/dist/types/components/editor/editor-main/context-hover-card.d.ts +0 -2
- package/dist/types/components/editor/editor-main/customize-visual/customize-chart-config.d.ts +0 -7
- package/dist/types/components/editor/editor-main/customize-visual/customize-visual-dialog.d.ts +0 -7
- package/dist/types/components/editor/editor-main/dashboard-filter-subscription-status.d.ts +0 -6
- package/dist/types/components/editor/editor-main/dashboard-variable-node.d.ts +0 -39
- package/dist/types/components/editor/editor-main/data-label-settings.d.ts +0 -5
- package/dist/types/components/editor/editor-main/edit-dashboard-visual.d.ts +0 -2
- package/dist/types/components/editor/editor-main/editor-action-buttons.d.ts +0 -28
- package/dist/types/components/editor/editor-main/editor-actions-biz-mode.d.ts +0 -1
- package/dist/types/components/editor/editor-main/editor-card.d.ts +0 -4
- package/dist/types/components/editor/editor-main/editor-chart-config-execution.d.ts +0 -6
- package/dist/types/components/editor/editor-main/editor-main-component.d.ts +0 -1
- package/dist/types/components/editor/editor-main/editor-query-section.d.ts +0 -11
- package/dist/types/components/editor/editor-main/editor-visual-dropdown.d.ts +0 -0
- package/dist/types/components/editor/editor-main/editor-visual-section.d.ts +0 -23
- package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-constants.d.ts +0 -7
- package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-prompts.d.ts +0 -19
- package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-telemetry.d.ts +0 -2
- package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-types.d.ts +0 -48
- package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-utils.d.ts +0 -11
- package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer.d.ts +0 -2
- package/dist/types/components/editor/editor-main/legend-popover.d.ts +0 -1
- package/dist/types/components/editor/editor-main/raw-output-table.d.ts +0 -15
- package/dist/types/components/editor/editor-main/realtime-popover.d.ts +0 -1
- package/dist/types/components/editor/editor-main/table-type-switcher.d.ts +0 -5
- package/dist/types/components/editor/editor-main/text-card-rich-editor.d.ts +0 -25
- package/dist/types/components/editor/editor-main/text-card.d.ts +0 -10
- package/dist/types/components/editor/editor-main/use-editor-clear-action.d.ts +0 -1
- package/dist/types/components/editor/editor-main/visual-aside.d.ts +0 -5
- package/dist/types/components/editor/editor-main/visual-save-as-dialog.d.ts +0 -18
- package/dist/types/components/editor/editor-main/visual-settings.d.ts +0 -9
- package/dist/types/components/editor/mode-toggle.d.ts +0 -13
- package/dist/types/components/editor/query-feedback/query-card-details.d.ts +0 -14
- package/dist/types/components/editor/query-feedback/query-error.d.ts +0 -42
- package/dist/types/components/editor/query-feedback/query-feedback-layout.d.ts +0 -10
- package/dist/types/components/editor/query-feedback/query-info-clipboard.d.ts +0 -3
- package/dist/types/components/editor/query-feedback/query-info.d.ts +0 -21
- package/dist/types/components/editor/query-feedback/query-sql-preview.d.ts +0 -23
- package/dist/types/components/editor/query-feedback/use-query-error-feedback.d.ts +0 -7
- package/dist/types/components/editor/query-feedback/use-query-error.d.ts +0 -16
- package/dist/types/components/editor/query-feedback/visual-query-error-state.d.ts +0 -5
- package/dist/types/components/editor/utils/utils.d.ts +0 -2
- package/dist/types/components/error-fallbacks/delivery-render-error.d.ts +0 -7
- package/dist/types/components/error-fallbacks/fallback.d.ts +0 -31
- package/dist/types/components/error-fallbacks/render-reset-error-boundary.d.ts +0 -33
- package/dist/types/components/explorer/chart-configuration/area-series-config-section.d.ts +0 -5
- package/dist/types/components/explorer/chart-configuration/axis-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/bar-series-config-section.d.ts +0 -5
- package/dist/types/components/explorer/chart-configuration/bar-style-config-section.d.ts +0 -7
- package/dist/types/components/explorer/chart-configuration/bubble-scatter-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/bullet-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/chart-config-sections.d.ts +0 -15
- package/dist/types/components/explorer/chart-configuration/chart-configuration-panel.d.ts +0 -18
- package/dist/types/components/explorer/chart-configuration/chart-fields-configuration.d.ts +0 -22
- package/dist/types/components/explorer/chart-configuration/chart-type-row.d.ts +0 -25
- package/dist/types/components/explorer/chart-configuration/color-config-section.d.ts +0 -18
- package/dist/types/components/explorer/chart-configuration/combo-series-config-section.d.ts +0 -6
- package/dist/types/components/explorer/chart-configuration/comparison-config-section.d.ts +0 -7
- package/dist/types/components/explorer/chart-configuration/custom-color-picker.d.ts +0 -7
- package/dist/types/components/explorer/chart-configuration/data-labels-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/data-labels-fields.d.ts +0 -21
- package/dist/types/components/explorer/chart-configuration/funnel-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/heatmap-color-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/kpi-format-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/legend-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/line-series-config-section.d.ts +0 -5
- package/dist/types/components/explorer/chart-configuration/line-style-config-section.d.ts +0 -7
- package/dist/types/components/explorer/chart-configuration/matrix-authoring-controls.d.ts +0 -41
- package/dist/types/components/explorer/chart-configuration/matrix-authoring-panel.d.ts +0 -21
- package/dist/types/components/explorer/chart-configuration/matrix-editor-settings.d.ts +0 -5
- package/dist/types/components/explorer/chart-configuration/metric-format-editor.d.ts +0 -12
- package/dist/types/components/explorer/chart-configuration/number-format-config.d.ts +0 -18
- package/dist/types/components/explorer/chart-configuration/number-format-config.utils.d.ts +0 -11
- package/dist/types/components/explorer/chart-configuration/stacked-sort-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/summary-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/tooltip-format-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/treemap-color-mode-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/use-effective-card-type.d.ts +0 -1
- package/dist/types/components/explorer/data-source/add-data-picker.d.ts +0 -23
- package/dist/types/components/explorer/data-source/data-source-panel.d.ts +0 -6
- package/dist/types/components/explorer/data-source/dataset-selector-popover.d.ts +0 -11
- package/dist/types/components/explorer/data-source/db-schema-selector.d.ts +0 -8
- package/dist/types/components/explorer/data-source/direct-source-tree.d.ts +0 -10
- package/dist/types/components/explorer/data-source/entity-tooltip.d.ts +0 -14
- package/dist/types/components/explorer/data-source/file-upload-manager.d.ts +0 -1
- package/dist/types/components/explorer/data-source/select-data-dialog.d.ts +0 -6
- package/dist/types/components/explorer/data-source/selected-entities-summary.d.ts +0 -15
- package/dist/types/components/explorer/data-source/semantic-domain-access-utils.d.ts +0 -10
- package/dist/types/components/explorer/data-source/semantic-domain-selection.d.ts +0 -9
- package/dist/types/components/explorer/data-source/semantic-domain-tree.d.ts +0 -22
- package/dist/types/components/explorer/data-source/url-source-manager.d.ts +0 -1
- package/dist/types/components/explorer/data-source/utils.d.ts +0 -11
- package/dist/types/components/explorer/drag-and-drop/attribute-filter-dialog.d.ts +0 -11
- package/dist/types/components/explorer/drag-and-drop/data-concept-tooltip.d.ts +0 -17
- package/dist/types/components/explorer/drag-and-drop/drag-overlay.d.ts +0 -12
- package/dist/types/components/explorer/drag-and-drop/draggable-field-shell.d.ts +0 -15
- package/dist/types/components/explorer/drag-and-drop/draggable-field.d.ts +0 -13
- package/dist/types/components/explorer/drag-and-drop/droppable-zone.d.ts +0 -13
- package/dist/types/components/explorer/drag-and-drop/inline-edit-field.d.ts +0 -10
- package/dist/types/components/explorer/drag-and-drop/matrix-draggable-field.d.ts +0 -5
- package/dist/types/components/explorer/drag-and-drop/pivot-alias-template-editor.d.ts +0 -6
- package/dist/types/components/explorer/drag-and-drop/pivot-member-order-visibility.d.ts +0 -3
- package/dist/types/components/explorer/drag-and-drop/pivot-value-aliases-editor.d.ts +0 -6
- package/dist/types/components/explorer/fields/field-expression-annotation.d.ts +0 -15
- package/dist/types/components/explorer/fields/field-group.d.ts +0 -0
- package/dist/types/components/explorer/fields/field-hover-preview.d.ts +0 -10
- package/dist/types/components/explorer/fields/field-option-list.d.ts +0 -54
- package/dist/types/components/explorer/fields/field-row.d.ts +0 -39
- package/dist/types/components/explorer/fields/fields-list.d.ts +0 -10
- package/dist/types/components/explorer/fields/fields-section.d.ts +0 -6
- package/dist/types/components/explorer/fields/filterable-fields-panel.d.ts +0 -11
- package/dist/types/components/explorer/fields/icon-for-field-type.d.ts +0 -3
- package/dist/types/components/explorer/fields/numeric-popover.d.ts +0 -6
- package/dist/types/components/explorer/fields/source-field.d.ts +0 -28
- package/dist/types/components/explorer/fields/type-glyph.d.ts +0 -14
- package/dist/types/components/explorer/filters/card-date-filter.d.ts +0 -20
- package/dist/types/components/explorer/filters/card-date-selection.d.ts +0 -28
- package/dist/types/components/explorer/filters/card-filter-builder.d.ts +0 -11
- package/dist/types/components/explorer/filters/card-filter-manager.d.ts +0 -12
- package/dist/types/components/explorer/filters/field-multi-select.d.ts +0 -16
- package/dist/types/components/explorer/filters/field-single-select.d.ts +0 -16
- package/dist/types/components/explorer/filters/searchable-field-combobox.d.ts +0 -17
- package/dist/types/components/explorer/filters/utils.d.ts +0 -2
- package/dist/types/components/explorer/join-configuration/auto-join-info.d.ts +0 -16
- package/dist/types/components/explorer/join-configuration/join-conditions-builder.d.ts +0 -10
- package/dist/types/components/explorer/join-configuration/join-dialog.d.ts +0 -14
- package/dist/types/components/explorer/join-configuration/join-manager.d.ts +0 -10
- package/dist/types/components/explorer/join-configuration/join-tooltip-content.d.ts +0 -9
- package/dist/types/components/explorer/main/explorer.d.ts +0 -1
- package/dist/types/components/explorer/main/view-tabs.d.ts +0 -17
- package/dist/types/components/explorer/visualization/chart-settings-panel.d.ts +0 -7
- package/dist/types/components/explorer/visualization/chart-split-view.d.ts +0 -16
- package/dist/types/components/explorer/visualization/feedback-dialog.d.ts +0 -11
- package/dist/types/components/explorer/visualization/row-limit-selector.d.ts +0 -1
- package/dist/types/components/explorer/visualization/visualization-panel.d.ts +0 -18
- package/dist/types/components/icons/bullet-chart-icon.d.ts +0 -2
- package/dist/types/components/interactions/applied-filters-display.d.ts +0 -40
- package/dist/types/components/interactions/card-renderer.d.ts +0 -17
- package/dist/types/components/interactions/click-to-filter-review-dialog.d.ts +0 -22
- package/dist/types/components/interactions/dashboard-drill-host.d.ts +0 -13
- package/dist/types/components/interactions/drill-config/hierarchy-steps-display.d.ts +0 -9
- package/dist/types/components/interactions/drill-config/hierarchy-templates.d.ts +0 -5
- package/dist/types/components/interactions/drill-config/sortable-hierarchy.d.ts +0 -15
- package/dist/types/components/interactions/drill-config/sortable-step.d.ts +0 -14
- package/dist/types/components/interactions/drill-config/step-configuration-popup.d.ts +0 -13
- package/dist/types/components/interactions/drill-hierarchy-modal.d.ts +0 -43
- package/dist/types/components/interactions/drill-to-url-modal.d.ts +0 -26
- package/dist/types/components/interactions/filter-badge-tooltip.d.ts +0 -13
- package/dist/types/components/interactions/hooks/use-drill-hierarchy.d.ts +0 -15
- package/dist/types/components/interactions/hooks/use-hierarchy-templates.d.ts +0 -5
- package/dist/types/components/interactions/hooks/use-step-reordering.d.ts +0 -6
- package/dist/types/components/interactions/insight-modal.d.ts +0 -29
- package/dist/types/components/interactions/insight-viewer.d.ts +0 -16
- package/dist/types/components/interactions/interactions-sheet.d.ts +0 -7
- package/dist/types/components/interactions/panels/click-to-filter-panel.d.ts +0 -20
- package/dist/types/components/interactions/panels/drill-down-panel.d.ts +0 -44
- package/dist/types/components/interactions/panels/drill-to-dashboard-panel.d.ts +0 -24
- package/dist/types/components/interactions/panels/drill-to-insight-panel.d.ts +0 -24
- package/dist/types/components/interactions/panels/drill-to-url-panel-v2.d.ts +0 -9
- package/dist/types/components/interactions/panels/dynamic-drill-panel.d.ts +0 -24
- package/dist/types/components/interactions/panels/panel-field.d.ts +0 -29
- package/dist/types/components/interactions/pickers/dashboard-picker.d.ts +0 -36
- package/dist/types/components/interactions/pickers/insight-picker.d.ts +0 -36
- package/dist/types/components/interactions/replaced-card-wrapper.d.ts +0 -13
- package/dist/types/components/interactions/reusable/field-combobox.d.ts +0 -22
- package/dist/types/components/interactions/reusable/field-selector.d.ts +0 -15
- package/dist/types/components/interactions/reusable/inline-field-selector.d.ts +0 -11
- package/dist/types/components/interactions/reusable/interaction-selection-popover.d.ts +0 -107
- package/dist/types/components/interactions/sheet/action-editor.d.ts +0 -17
- package/dist/types/components/interactions/sheet/action-meta.d.ts +0 -45
- package/dist/types/components/interactions/sheet/action-picker.d.ts +0 -7
- package/dist/types/components/interactions/sheet/click-outcome-preview.d.ts +0 -10
- package/dist/types/components/interactions/sheet/interactions-home.d.ts +0 -28
- package/dist/types/components/interactions/sheet/sheet-parts.d.ts +0 -37
- package/dist/types/components/kpi-visual-v2/country-selector.d.ts +0 -11
- package/dist/types/components/kpi-visual-v2/kpi-card-explorer.d.ts +0 -12
- package/dist/types/components/kpi-visual-v2/kpi-settings.d.ts +0 -1
- package/dist/types/components/kpi-visual-v2/kpi-tooltip-components.d.ts +0 -25
- package/dist/types/components/kpi-visual-v2/kpi-tooltip-utils.d.ts +0 -8
- package/dist/types/components/kpi-visual-v2/kpi-tooltip.d.ts +0 -15
- package/dist/types/components/kpi-visual-v2/metric-comparison-indicator.d.ts +0 -17
- package/dist/types/components/kpi-visual-v2/metric-comparison-kpi.d.ts +0 -11
- package/dist/types/components/providers/appearance-context.d.ts +0 -23
- package/dist/types/components/providers/appearance-provider.d.ts +0 -4
- package/dist/types/components/providers/brand-studio-preview-context.d.ts +0 -5
- package/dist/types/components/providers/dashboard-matrix-execution-provider.d.ts +0 -10
- package/dist/types/components/providers/dashboard-preferences-provider.d.ts +0 -12
- package/dist/types/components/providers/display-preferences-provider.d.ts +0 -10
- package/dist/types/components/providers/theme-provider-context.d.ts +0 -7
- package/dist/types/components/providers/theme-provider.d.ts +0 -8
- package/dist/types/components/providers/ux-provider.d.ts +0 -6
- package/dist/types/components/semaphor/code-block.d.ts +0 -20
- package/dist/types/components/semaphor/code-editor.d.ts +0 -114
- package/dist/types/components/semaphor/code-highlight.d.ts +0 -15
- package/dist/types/components/sharing-and-management/common-loading-skeleton.d.ts +0 -1
- package/dist/types/components/sharing-and-management/create-dashboard-dialog.d.ts +0 -11
- package/dist/types/components/sharing-and-management/create-visual-dialog.d.ts +0 -11
- package/dist/types/components/sharing-and-management/dashboard-actions-menu.d.ts +0 -19
- package/dist/types/components/sharing-and-management/group-management-dialog.d.ts +0 -6
- package/dist/types/components/sharing-and-management/hooks/use-current-user-info.d.ts +0 -41
- package/dist/types/components/sharing-and-management/hooks/use-group-management.d.ts +0 -30
- package/dist/types/components/sharing-and-management/hooks/use-groups.d.ts +0 -30
- package/dist/types/components/sharing-and-management/hooks/use-resource-share-data.d.ts +0 -27
- package/dist/types/components/sharing-and-management/hooks/use-unified-users.d.ts +0 -61
- package/dist/types/components/sharing-and-management/hooks/use-visual-utils.d.ts +0 -33
- package/dist/types/components/sharing-and-management/resource-edit-dialog.d.ts +0 -15
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/access-list.d.ts +0 -14
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/adapter.d.ts +0 -53
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/configs.d.ts +0 -40
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/invite-combobox.d.ts +0 -22
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/primitives.d.ts +0 -33
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/share-shape.d.ts +0 -20
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/shell.d.ts +0 -17
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/status-bar.d.ts +0 -5
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/submission.d.ts +0 -38
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/types.d.ts +0 -62
- package/dist/types/components/sharing-and-management/utils/resource-query-keys.d.ts +0 -14
- package/dist/types/components/sharing-and-management/utils/shares-types.d.ts +0 -130
- package/dist/types/components/surfboard/card-controls-toolbar.d.ts +0 -17
- package/dist/types/components/surfboard/controls/card-runtime-controls.d.ts +0 -6
- package/dist/types/components/surfboard/controls/control-authoring-utils.d.ts +0 -182
- package/dist/types/components/surfboard/controls/control-binding-list-editor.d.ts +0 -21
- package/dist/types/components/surfboard/controls/control-definition-editor-helpers.d.ts +0 -43
- package/dist/types/components/surfboard/controls/control-definition-editor-sections.d.ts +0 -65
- package/dist/types/components/surfboard/controls/control-definition-list-editor.d.ts +0 -29
- package/dist/types/components/surfboard/controls/control-select-ui-utils.d.ts +0 -13
- package/dist/types/components/surfboard/controls/control-toolbar-item.d.ts +0 -22
- package/dist/types/components/surfboard/controls/control-toolbar-settings-form.d.ts +0 -30
- package/dist/types/components/surfboard/controls/control-toolbar-settings-shell.d.ts +0 -37
- package/dist/types/components/surfboard/controls/control-usage-utils.d.ts +0 -22
- package/dist/types/components/surfboard/controls/control-validation-message-utils.d.ts +0 -5
- package/dist/types/components/surfboard/controls/dashboard-control-delete-dialog.d.ts +0 -7
- package/dist/types/components/surfboard/controls/dashboard-control-toolbar-popover.d.ts +0 -9
- package/dist/types/components/surfboard/controls/dashboard-runtime-controls.d.ts +0 -1
- package/dist/types/components/surfboard/controls/matrix-structural-targets.d.ts +0 -10
- package/dist/types/components/surfboard/controls/presentation-currency-binding-editor.d.ts +0 -15
- package/dist/types/components/surfboard/controls/runtime-control-input.d.ts +0 -16
- package/dist/types/components/surfboard/controls/runtime-control-utils.d.ts +0 -16
- package/dist/types/components/surfboard/controls/runtime-controls-group.d.ts +0 -12
- package/dist/types/components/surfboard/controls/sortable-control-toolbar-item.d.ts +0 -9
- package/dist/types/components/surfboard/controls/use-create-flow-overlay-state.d.ts +0 -32
- package/dist/types/components/surfboard/controls/use-dashboard-structural-participants.d.ts +0 -14
- package/dist/types/components/surfboard/controls/use-resolved-control-toolbar-options.d.ts +0 -26
- package/dist/types/components/surfboard/dashboard-controls.d.ts +0 -1
- package/dist/types/components/surfboard/dashboard-plus-main.d.ts +0 -1
- package/dist/types/components/surfboard/download-settings-dialog.d.ts +0 -8
- package/dist/types/components/surfboard/expanded-card-view.d.ts +0 -11
- package/dist/types/components/surfboard/export-dialog.d.ts +0 -16
- package/dist/types/components/surfboard/filter/apply-filters-check-box.d.ts +0 -7
- package/dist/types/components/surfboard/filter/custom-filter/custom-filter-selector.d.ts +0 -12
- package/dist/types/components/surfboard/filter/custom-filter/custom-filter-types.d.ts +0 -45
- package/dist/types/components/surfboard/filter/custom-filter/dashboard-custom-filter.d.ts +0 -19
- package/dist/types/components/surfboard/filter/custom-filter-popover.d.ts +0 -75
- package/dist/types/components/surfboard/filter/dashboard-filter-info-group.d.ts +0 -21
- package/dist/types/components/surfboard/filter/dashboard-filter-mapping-panel.d.ts +0 -40
- package/dist/types/components/surfboard/filter/date-comparison-controls.d.ts +0 -8
- package/dist/types/components/surfboard/filter/date-comparison-label.d.ts +0 -2
- package/dist/types/components/surfboard/filter/date-range-filter-v2.d.ts +0 -38
- package/dist/types/components/surfboard/filter/date-range-filter.d.ts +0 -7
- package/dist/types/components/surfboard/filter/day-picker.d.ts +0 -30
- package/dist/types/components/surfboard/filter/field-date-comparison-scope-message.d.ts +0 -2
- package/dist/types/components/surfboard/filter/field-date-filter.d.ts +0 -9
- package/dist/types/components/surfboard/filter/filter-actions-popover-content.d.ts +0 -9
- package/dist/types/components/surfboard/filter/filter-aside.d.ts +0 -1
- package/dist/types/components/surfboard/filter/filter-component.d.ts +0 -13
- package/dist/types/components/surfboard/filter/filter-configuration-panel.d.ts +0 -102
- package/dist/types/components/surfboard/filter/filter-default-values-picker.d.ts +0 -29
- package/dist/types/components/surfboard/filter/filter-error-state.d.ts +0 -7
- package/dist/types/components/surfboard/filter/filter-header.d.ts +0 -4
- package/dist/types/components/surfboard/filter/filter-info.d.ts +0 -17
- package/dist/types/components/surfboard/filter/filter-option-dependencies-settings.d.ts +0 -34
- package/dist/types/components/surfboard/filter/filter-option-list.d.ts +0 -39
- package/dist/types/components/surfboard/filter/filter-option-source-settings.d.ts +0 -15
- package/dist/types/components/surfboard/filter/filter-picker-popover-content.d.ts +0 -1
- package/dist/types/components/surfboard/filter/filter-popover-parts.d.ts +0 -37
- package/dist/types/components/surfboard/filter/filter-scope-config.d.ts +0 -8
- package/dist/types/components/surfboard/filter/filter-settings-popover-delete.d.ts +0 -0
- package/dist/types/components/surfboard/filter/filter-settings-popover.d.ts +0 -5
- package/dist/types/components/surfboard/filter/filter-toolbar-item.d.ts +0 -22
- package/dist/types/components/surfboard/filter/filter-toolbar-order-utils.d.ts +0 -3
- package/dist/types/components/surfboard/filter/filter-toolbar.d.ts +0 -7
- package/dist/types/components/surfboard/filter/global-date-comparison-footer.d.ts +0 -14
- package/dist/types/components/surfboard/filter/global-date-filter.d.ts +0 -9
- package/dist/types/components/surfboard/filter/hidden-filters.d.ts +0 -1
- package/dist/types/components/surfboard/filter/month-picker.d.ts +0 -19
- package/dist/types/components/surfboard/filter/multi-select-filter.d.ts +0 -16
- package/dist/types/components/surfboard/filter/multi-select-inline-content.d.ts +0 -39
- package/dist/types/components/surfboard/filter/numeric-filter-input.d.ts +0 -8
- package/dist/types/components/surfboard/filter/radio-button-filter.d.ts +0 -8
- package/dist/types/components/surfboard/filter/selection-chip.d.ts +0 -11
- package/dist/types/components/surfboard/filter/selection-filter-section.d.ts +0 -4
- package/dist/types/components/surfboard/filter/sortable-filter-toolbar-item.d.ts +0 -24
- package/dist/types/components/surfboard/filter/tabs-filter.d.ts +0 -8
- package/dist/types/components/surfboard/filter/use-dashboard-filter-mapping-popover.d.ts +0 -80
- package/dist/types/components/surfboard/filter/use-filter-header-width.d.ts +0 -12
- package/dist/types/components/surfboard/filter/utils.d.ts +0 -4
- package/dist/types/components/surfboard/inline-options-error-state.d.ts +0 -6
- package/dist/types/components/surfboard/input-chip-row.d.ts +0 -21
- package/dist/types/components/surfboard/preferences/calendar-preferences-panel.d.ts +0 -7
- package/dist/types/components/surfboard/preferences/display-format-preferences-panel.d.ts +0 -6
- package/dist/types/components/surfboard/toolbar-item-shell.d.ts +0 -17
- package/dist/types/components/text-variables/variable-chip-plugin.d.ts +0 -23
- package/dist/types/components/text-variables/variable-chip.d.ts +0 -18
- package/dist/types/components/text-variables/variable-picker.d.ts +0 -27
- package/dist/types/components/ui/accordion.d.ts +0 -7
- package/dist/types/components/ui/alert-dialog.d.ts +0 -20
- package/dist/types/components/ui/alert.d.ts +0 -8
- package/dist/types/components/ui/audience-type-badge.d.ts +0 -9
- package/dist/types/components/ui/avatar.d.ts +0 -6
- package/dist/types/components/ui/badge.d.ts +0 -9
- package/dist/types/components/ui/button.d.ts +0 -11
- package/dist/types/components/ui/calendar.d.ts +0 -8
- package/dist/types/components/ui/card.d.ts +0 -8
- package/dist/types/components/ui/checkbox.d.ts +0 -4
- package/dist/types/components/ui/collapsible.d.ts +0 -5
- package/dist/types/components/ui/command.d.ts +0 -82
- package/dist/types/components/ui/context-menu.d.ts +0 -27
- package/dist/types/components/ui/dialog.d.ts +0 -28
- package/dist/types/components/ui/dropdown-menu.d.ts +0 -27
- package/dist/types/components/ui/hover-card.d.ts +0 -6
- package/dist/types/components/ui/input.d.ts +0 -9
- package/dist/types/components/ui/label.d.ts +0 -5
- package/dist/types/components/ui/popover.d.ts +0 -7
- package/dist/types/components/ui/portal-scope.d.ts +0 -6
- package/dist/types/components/ui/progress.d.ts +0 -4
- package/dist/types/components/ui/radio-group.d.ts +0 -5
- package/dist/types/components/ui/resizable.d.ts +0 -23
- package/dist/types/components/ui/scroll-area.d.ts +0 -5
- package/dist/types/components/ui/select.d.ts +0 -16
- package/dist/types/components/ui/separator.d.ts +0 -4
- package/dist/types/components/ui/sheet.d.ts +0 -39
- package/dist/types/components/ui/skeleton.d.ts +0 -2
- package/dist/types/components/ui/slider.d.ts +0 -4
- package/dist/types/components/ui/sonner.d.ts +0 -4
- package/dist/types/components/ui/switch.d.ts +0 -10
- package/dist/types/components/ui/table.d.ts +0 -13
- package/dist/types/components/ui/tabs.d.ts +0 -14
- package/dist/types/components/ui/textarea.d.ts +0 -9
- package/dist/types/components/ui/toggle.d.ts +0 -12
- package/dist/types/components/ui/tooltip.d.ts +0 -8
- package/dist/types/components/ui-custom/color-field.d.ts +0 -31
- package/dist/types/components/ui-custom/column-search.d.ts +0 -42
- package/dist/types/components/ui-custom/combo-box-2.d.ts +0 -40
- package/dist/types/components/ui-custom/command-input-custom.d.ts +0 -9
- package/dist/types/components/ui-custom/copy-button.d.ts +0 -15
- package/dist/types/components/ui-custom/copy-on-click.d.ts +0 -11
- package/dist/types/components/ui-custom/custom-scroll-area.d.ts +0 -6
- package/dist/types/components/ui-custom/date-range-picker.d.ts +0 -85
- package/dist/types/components/ui-custom/date-range-popover.d.ts +0 -14
- package/dist/types/components/ui-custom/details.d.ts +0 -7
- package/dist/types/components/ui-custom/dev-mode-switch.d.ts +0 -8
- package/dist/types/components/ui-custom/editable-text.d.ts +0 -22
- package/dist/types/components/ui-custom/grip-reveal.d.ts +0 -4
- package/dist/types/components/ui-custom/icon-button.d.ts +0 -13
- package/dist/types/components/ui-custom/load-on-scroll-status.d.ts +0 -8
- package/dist/types/components/ui-custom/load-on-scroll-utils.d.ts +0 -1
- package/dist/types/components/ui-custom/loading-dots.d.ts +0 -7
- package/dist/types/components/ui-custom/local-blur-input.d.ts +0 -9
- package/dist/types/components/ui-custom/option-search-input.d.ts +0 -16
- package/dist/types/components/ui-custom/overflow-div.d.ts +0 -5
- package/dist/types/components/ui-custom/overflow-span.d.ts +0 -5
- package/dist/types/components/ui-custom/popover-content-custom.d.ts +0 -4
- package/dist/types/components/ui-custom/pre-tag.d.ts +0 -4
- package/dist/types/components/ui-custom/radio-indicator.d.ts +0 -13
- package/dist/types/components/ui-custom/report-calendar.d.ts +0 -18
- package/dist/types/components/ui-custom/resizable-handle-custom.d.ts +0 -7
- package/dist/types/components/ui-custom/reusable-select.d.ts +0 -16
- package/dist/types/components/ui-custom/visual-badge.d.ts +0 -9
- package/dist/types/components/visual/aggregated-table/aggregate-table.d.ts +0 -3
- package/dist/types/components/visual/aggregated-table/columns/aggregate-columns.d.ts +0 -4
- package/dist/types/components/visual/aggregated-table/columns/column-cell-components.d.ts +0 -17
- package/dist/types/components/visual/aggregated-table/columns/column-definitions.d.ts +0 -29
- package/dist/types/components/visual/aggregated-table/columns/column-header-components.d.ts +0 -32
- package/dist/types/components/visual/aggregated-table/components/aggregate-table-body.d.ts +0 -18
- package/dist/types/components/visual/aggregated-table/components/grand-total-footer.d.ts +0 -23
- package/dist/types/components/visual/aggregated-table/hooks/use-aggregate-table.d.ts +0 -15
- package/dist/types/components/visual/aggregated-table/types/aggregate-table.d.ts +0 -68
- package/dist/types/components/visual/aggregated-table/utils/cell-formatters.d.ts +0 -6
- package/dist/types/components/visual/aggregated-table/utils/data-organizer.d.ts +0 -12
- package/dist/types/components/visual/aggregated-table/utils/export-utils.d.ts +0 -29
- package/dist/types/components/visual/aggregated-table/utils/metric-format-resolver.d.ts +0 -66
- package/dist/types/components/visual/aggregated-table/utils/temporal-presentation.d.ts +0 -17
- package/dist/types/components/visual/chart-utils.d.ts +0 -15
- package/dist/types/components/visual/chartjs-visual.d.ts +0 -9
- package/dist/types/components/visual/column-display-utils.d.ts +0 -2
- package/dist/types/components/visual/custom-visual/build-inline-filter-nodes.d.ts +0 -21
- package/dist/types/components/visual/custom-visual/build-multi-input-props.d.ts +0 -48
- package/dist/types/components/visual/custom-visual/component-combo-box.d.ts +0 -11
- package/dist/types/components/visual/custom-visual/custom-card-theme-adapter.d.ts +0 -3
- package/dist/types/components/visual/custom-visual/custom-visual-settings.d.ts +0 -1
- package/dist/types/components/visual/custom-visual/custom-visual-temporal-presentation.d.ts +0 -35
- package/dist/types/components/visual/custom-visual/custom-visual-types.d.ts +0 -171
- package/dist/types/components/visual/custom-visual/custom-visual-utils.d.ts +0 -57
- package/dist/types/components/visual/custom-visual/dashboard-custom-visual.d.ts +0 -7
- package/dist/types/components/visual/custom-visual/editor-custom-visual.d.ts +0 -6
- package/dist/types/components/visual/custom-visual/hooks/use-ensure-react-globals.d.ts +0 -10
- package/dist/types/components/visual/custom-visual/hooks/use-remote-chart-store.d.ts +0 -9
- package/dist/types/components/visual/custom-visual/multi-input-empty-renderer.d.ts +0 -8
- package/dist/types/components/visual/custom-visual/use-custom-visual.d.ts +0 -16
- package/dist/types/components/visual/data-table/column-def.d.ts +0 -54
- package/dist/types/components/visual/data-table/column-resize-handle.d.ts +0 -8
- package/dist/types/components/visual/data-table/copyable-cell.d.ts +0 -9
- package/dist/types/components/visual/data-table/data-table-column-settings.d.ts +0 -2
- package/dist/types/components/visual/data-table/data-table-conditional-formatting-settings.d.ts +0 -21
- package/dist/types/components/visual/data-table/data-table-pagination.d.ts +0 -2
- package/dist/types/components/visual/data-table/data-table-toolbar.d.ts +0 -2
- package/dist/types/components/visual/data-table/data-table.d.ts +0 -2
- package/dist/types/components/visual/data-table/hooks/use-sql-raw-temporal-format-draft.d.ts +0 -15
- package/dist/types/components/visual/data-table/hooks/use-table-query-state.d.ts +0 -30
- package/dist/types/components/visual/data-table/overflow-cell.d.ts +0 -9
- package/dist/types/components/visual/data-table/table-conditional-formatting-authoring.d.ts +0 -17
- package/dist/types/components/visual/data-table/table-conditional-formatting-rule-model.d.ts +0 -33
- package/dist/types/components/visual/data-table/table-settings-toolbar-button.d.ts +0 -9
- package/dist/types/components/visual/data-table/table-skeleton.d.ts +0 -6
- package/dist/types/components/visual/data-table/table-visual.d.ts +0 -39
- package/dist/types/components/visual/data-table/utils/data-table-utils.d.ts +0 -74
- package/dist/types/components/visual/data-table/utils/sort-conversion.d.ts +0 -5
- package/dist/types/components/visual/data-table/utils/table-behavior.d.ts +0 -33
- package/dist/types/components/visual/data-table/utils/utils.d.ts +0 -4
- package/dist/types/components/visual/info-hover.d.ts +0 -7
- package/dist/types/components/visual/kpi-visual/format-number-setting.d.ts +0 -1
- package/dist/types/components/visual/kpi-visual/kpi-bulb-utils.d.ts +0 -3
- package/dist/types/components/visual/kpi-visual/kpi-card-with-info.d.ts +0 -9
- package/dist/types/components/visual/kpi-visual/kpi-card.d.ts +0 -28
- package/dist/types/components/visual/kpi-visual/kpi-editor-ownership-badge.d.ts +0 -4
- package/dist/types/components/visual/kpi-visual/kpi-utils.d.ts +0 -12
- package/dist/types/components/visual/matrix-table/matrix-axis-menu.d.ts +0 -21
- package/dist/types/components/visual/matrix-table/matrix-loading-skeleton.d.ts +0 -14
- package/dist/types/components/visual/matrix-table/matrix-selection-click.d.ts +0 -6
- package/dist/types/components/visual/matrix-table/matrix-tabular-boundary.d.ts +0 -8
- package/dist/types/components/visual/matrix-table/matrix-viewer-geometry.d.ts +0 -21
- package/dist/types/components/visual/matrix-table/matrix-window-viewer.d.ts +0 -26
- package/dist/types/components/visual/pivot-table/aggregation-menu.d.ts +0 -23
- package/dist/types/components/visual/pivot-table/columns/data-columns.d.ts +0 -26
- package/dist/types/components/visual/pivot-table/columns/row-header-columns.d.ts +0 -20
- package/dist/types/components/visual/pivot-table/columns/row-total-column.d.ts +0 -12
- package/dist/types/components/visual/pivot-table/components/pivot-table-body.d.ts +0 -23
- package/dist/types/components/visual/pivot-table/components/pivot-table-footer.d.ts +0 -30
- package/dist/types/components/visual/pivot-table/hooks/use-pivot-column-headers.d.ts +0 -28
- package/dist/types/components/visual/pivot-table/hooks/use-pivot-pagination.d.ts +0 -29
- package/dist/types/components/visual/pivot-table/hooks/use-pivot-sorting.d.ts +0 -21
- package/dist/types/components/visual/pivot-table/hooks/use-pivot-table-settings.d.ts +0 -15
- package/dist/types/components/visual/pivot-table/pivot-table-tanstack.d.ts +0 -41
- package/dist/types/components/visual/pivot-table/pivot-table.d.ts +0 -100
- package/dist/types/components/visual/pivot-table/utils/cell-value-formatter.d.ts +0 -14
- package/dist/types/components/visual/pivot-table/utils/pivot-field-identity.d.ts +0 -8
- package/dist/types/components/visual/pivot-table/utils/pivot-formatting-utils.d.ts +0 -24
- package/dist/types/components/visual/pivot-table/utils/pivot-metric-formatting.d.ts +0 -18
- package/dist/types/components/visual/pivot-table/utils/pivot-physical-schema.d.ts +0 -14
- package/dist/types/components/visual/pivot-table/utils/pivot-table-aggregation-helpers.d.ts +0 -21
- package/dist/types/components/visual/pivot-table/utils/pivot-table-data-processor.d.ts +0 -35
- package/dist/types/components/visual/pivot-table/utils/pivot-table-export-utils.d.ts +0 -25
- package/dist/types/components/visual/pivot-table/utils/pivot-table-response.d.ts +0 -50
- package/dist/types/components/visual/pivot-table/utils/pivot-table-sorter.d.ts +0 -7
- package/dist/types/components/visual/pivot-table/utils/row-span-calculator.d.ts +0 -14
- package/dist/types/components/visual/settings/axis-mapping.d.ts +0 -9
- package/dist/types/components/visual/settings/chart-documentation.d.ts +0 -28
- package/dist/types/components/visual/settings/chart-orientation.d.ts +0 -1
- package/dist/types/components/visual/settings/color-format.d.ts +0 -8
- package/dist/types/components/visual/settings/controls-settings.d.ts +0 -8
- package/dist/types/components/visual/settings/dataset-label-popover.d.ts +0 -4
- package/dist/types/components/visual/settings/display-labels.d.ts +0 -2
- package/dist/types/components/visual/settings/filter-on-click-columns.d.ts +0 -1
- package/dist/types/components/visual/settings/frame-filters.d.ts +0 -7
- package/dist/types/components/visual/settings/inline-filters-settings.d.ts +0 -12
- package/dist/types/components/visual/settings/kpi-settings.d.ts +0 -1
- package/dist/types/components/visual/settings/map-chart-settings.d.ts +0 -1
- package/dist/types/components/visual/settings/scale-options.d.ts +0 -1
- package/dist/types/components/visual/settings/table-column-visibility-settings.d.ts +0 -16
- package/dist/types/components/visual/settings/table-presentation-settings.d.ts +0 -53
- package/dist/types/components/visual/settings/table-visual-settings.d.ts +0 -8
- package/dist/types/components/visual/settings/text-settings.d.ts +0 -1
- package/dist/types/components/visual/settings/text-type-radio.d.ts +0 -2
- package/dist/types/components/visual/shared/hooks/use-column-resizing.d.ts +0 -15
- package/dist/types/components/visual/shared/utils/column-type-detector.d.ts +0 -25
- package/dist/types/components/visual/shared/utils/table-render-policy.d.ts +0 -20
- package/dist/types/components/visual/table-appearance/table-appearance-adapter.d.ts +0 -41
- package/dist/types/components/visual/table-appearance/table-appearance-primitives.d.ts +0 -32
- package/dist/types/components/visual/visual-error-state.d.ts +0 -13
- package/dist/types/components/visual/visual-utils.d.ts +0 -33
- package/dist/types/data-app-sdk/analysis-payload.d.ts +0 -2
- package/dist/types/data-app-sdk/devtools/issues.d.ts +0 -21
- package/dist/types/data-app-sdk/devtools/labels.d.ts +0 -4
- package/dist/types/data-app-sdk/devtools/result-preview.d.ts +0 -8
- package/dist/types/data-app-sdk/devtools/styles.d.ts +0 -15
- package/dist/types/data-app-sdk/devtools/window-snapshot.d.ts +0 -3
- package/dist/types/data-app-sdk/matrix-filter-validation.d.ts +0 -12
- package/dist/types/data-app-sdk/query-request.d.ts +0 -32
- package/dist/types/data-app-sdk/runtime.d.ts +0 -21
- package/dist/types/lib/actions/data-point-click-action.d.ts +0 -13
- package/dist/types/lib/ai-utils.d.ts +0 -16
- package/dist/types/lib/api/index.d.ts +0 -2
- package/dist/types/lib/appearance/chart-style-adapter.d.ts +0 -4
- package/dist/types/lib/appearance/dom.d.ts +0 -3
- package/dist/types/lib/appearance/fonts.d.ts +0 -9
- package/dist/types/lib/briefings/briefing-attachment-model.d.ts +0 -104
- package/dist/types/lib/charts/area-chart.d.ts +0 -5
- package/dist/types/lib/charts/bar-chart.d.ts +0 -5
- package/dist/types/lib/charts/bubble-scatter-chart.d.ts +0 -28
- package/dist/types/lib/charts/bullet-chart.d.ts +0 -17
- package/dist/types/lib/charts/cartesian-data.d.ts +0 -72
- package/dist/types/lib/charts/cartesian-fields.d.ts +0 -60
- package/dist/types/lib/charts/chart-availability.d.ts +0 -13
- package/dist/types/lib/charts/chart-axis-policy.d.ts +0 -20
- package/dist/types/lib/charts/chart-config.d.ts +0 -9
- package/dist/types/lib/charts/chart-documentation.d.ts +0 -23
- package/dist/types/lib/charts/chart-font.d.ts +0 -10
- package/dist/types/lib/charts/chart-selector.d.ts +0 -2
- package/dist/types/lib/charts/chart-utils.d.ts +0 -258
- package/dist/types/lib/charts/color-utils.d.ts +0 -29
- package/dist/types/lib/charts/combo-chart.d.ts +0 -5
- package/dist/types/lib/charts/configuration/axis-configurator.d.ts +0 -36
- package/dist/types/lib/charts/configuration/combo-config.d.ts +0 -36
- package/dist/types/lib/charts/configuration/data-labels-config.d.ts +0 -36
- package/dist/types/lib/charts/configuration/legend-config.d.ts +0 -18
- package/dist/types/lib/charts/create-chart.d.ts +0 -30
- package/dist/types/lib/charts/custom-config-utils.d.ts +0 -0
- package/dist/types/lib/charts/funnel-chart.d.ts +0 -13
- package/dist/types/lib/charts/heatmap-chart.d.ts +0 -15
- package/dist/types/lib/charts/heatmap-constants.d.ts +0 -7
- package/dist/types/lib/charts/line-chart.d.ts +0 -5
- package/dist/types/lib/charts/range-chart.d.ts +0 -12
- package/dist/types/lib/charts/shared/category-group-axis-plugin.d.ts +0 -23
- package/dist/types/lib/charts/shared/dataset-utils.d.ts +0 -36
- package/dist/types/lib/charts/stacked-line-chart.d.ts +0 -2
- package/dist/types/lib/charts/tornado-chart.d.ts +0 -13
- package/dist/types/lib/charts/treemap-chart.d.ts +0 -15
- package/dist/types/lib/charts/utils.d.ts +0 -12
- package/dist/types/lib/constants/summary.d.ts +0 -2
- package/dist/types/lib/constants/tool-status-messages.d.ts +0 -12
- package/dist/types/lib/constants.d.ts +0 -30
- package/dist/types/lib/contexts/dashboard-preferences-context.d.ts +0 -7
- package/dist/types/lib/contexts/display-preferences-context.d.ts +0 -6
- package/dist/types/lib/contexts/interactions-popover-context.d.ts +0 -14
- package/dist/types/lib/countries.d.ts +0 -8
- package/dist/types/lib/csv-download.d.ts +0 -9
- package/dist/types/lib/csv-encoding-options.d.ts +0 -6
- package/dist/types/lib/dashboard/click-to-filter-card-references.d.ts +0 -23
- package/dist/types/lib/dashboard/duplicate-sheet.d.ts +0 -11
- package/dist/types/lib/dashboard/global-date-filter-utils.d.ts +0 -22
- package/dist/types/lib/dashboard/open-card-in-visual-editor.d.ts +0 -15
- package/dist/types/lib/dashboard-inputs/build-normalized-dashboard-inputs.d.ts +0 -55
- package/dist/types/lib/dashboard-inputs/build-selection-dashboard-inputs.d.ts +0 -31
- package/dist/types/lib/dashboard-inputs/card-compat-adapter.d.ts +0 -9
- package/dist/types/lib/dashboard-inputs/click-to-filter-emitted-fields.d.ts +0 -17
- package/dist/types/lib/dashboard-inputs/click-to-filter-mapping-draft.d.ts +0 -99
- package/dist/types/lib/dashboard-inputs/click-to-filter-sheet-reach.d.ts +0 -12
- package/dist/types/lib/dashboard-inputs/dashboard-control-compat-adapter.d.ts +0 -7
- package/dist/types/lib/dashboard-inputs/dashboard-filter-authoring-policy.d.ts +0 -21
- package/dist/types/lib/dashboard-inputs/dashboard-filter-compat-adapter.d.ts +0 -10
- package/dist/types/lib/dashboard-inputs/dashboard-filter-mapping-candidate-metadata.d.ts +0 -107
- package/dist/types/lib/dashboard-inputs/dashboard-filter-ownership.d.ts +0 -13
- package/dist/types/lib/dashboard-inputs/dashboard-filter-value-identity.d.ts +0 -36
- package/dist/types/lib/dashboard-inputs/dashboard-input-authoring-aliases.d.ts +0 -13
- package/dist/types/lib/dashboard-inputs/dashboard-input-display.d.ts +0 -11
- package/dist/types/lib/dashboard-inputs/dashboard-input-edit-validation.d.ts +0 -20
- package/dist/types/lib/dashboard-inputs/dashboard-input-helpers.d.ts +0 -15
- package/dist/types/lib/dashboard-inputs/dashboard-input-snapshot.d.ts +0 -85
- package/dist/types/lib/dashboard-inputs/dashboard-input-text.d.ts +0 -12
- package/dist/types/lib/dashboard-inputs/dashboard-option-dependency-context.d.ts +0 -40
- package/dist/types/lib/dashboard-inputs/document-input-prototype-normalizer.d.ts +0 -2
- package/dist/types/lib/dashboard-inputs/filter-authoring-capabilities.d.ts +0 -39
- package/dist/types/lib/dashboard-inputs/find-normalized-dashboard-filter-input.d.ts +0 -4
- package/dist/types/lib/dashboard-inputs/index.d.ts +0 -12
- package/dist/types/lib/dashboard-inputs/resolve-field-date-comparison-coverage.d.ts +0 -20
- package/dist/types/lib/dashboard-inputs/selection-targets.d.ts +0 -26
- package/dist/types/lib/dashboard-inputs/text-card-rich-content.d.ts +0 -6
- package/dist/types/lib/dashboard-inputs/text-variable-options.d.ts +0 -16
- package/dist/types/lib/dashboard-inputs/use-effective-dashboard-filter-storage.d.ts +0 -7
- package/dist/types/lib/dashboard-navigation/build-carried-click-context.d.ts +0 -49
- package/dist/types/lib/dashboard-navigation/describe-carried-context.d.ts +0 -11
- package/dist/types/lib/dashboard-navigation/run-one-off-drill.d.ts +0 -11
- package/dist/types/lib/dashboard-navigation/use-transient-contexts.d.ts +0 -17
- package/dist/types/lib/dnd-utils.d.ts +0 -5
- package/dist/types/lib/document/document-canvas-actions.d.ts +0 -22
- package/dist/types/lib/document/document-dashboard-inputs.d.ts +0 -48
- package/dist/types/lib/document/document-definition.d.ts +0 -14
- package/dist/types/lib/document/document-generated-at.d.ts +0 -13
- package/dist/types/lib/document/document-input-order.d.ts +0 -5
- package/dist/types/lib/document/document-inputs.d.ts +0 -30
- package/dist/types/lib/document/document-kpi-figure.d.ts +0 -27
- package/dist/types/lib/document/document-kpi-layout.d.ts +0 -29
- package/dist/types/lib/document/document-kpi-section-edits.d.ts +0 -15
- package/dist/types/lib/document/document-matrix-bands.d.ts +0 -66
- package/dist/types/lib/document/document-matrix-print.d.ts +0 -11
- package/dist/types/lib/document/document-page-metrics.d.ts +0 -34
- package/dist/types/lib/document/document-pagination.d.ts +0 -110
- package/dist/types/lib/document/document-render-mode.d.ts +0 -8
- package/dist/types/lib/document/document-section-editor.d.ts +0 -9
- package/dist/types/lib/document/document-section-query-options.d.ts +0 -25
- package/dist/types/lib/document/document-section-render-state.d.ts +0 -26
- package/dist/types/lib/document/document-section-utils.d.ts +0 -18
- package/dist/types/lib/document/document-sheet-utils.d.ts +0 -4
- package/dist/types/lib/document/document-table-data-policy.d.ts +0 -15
- package/dist/types/lib/document/document-table-dom.d.ts +0 -29
- package/dist/types/lib/document/document-table-pagination-model.d.ts +0 -62
- package/dist/types/lib/document/document-table-print-model.d.ts +0 -53
- package/dist/types/lib/document/document-table-result-columns.d.ts +0 -10
- package/dist/types/lib/document/document-table-style.d.ts +0 -44
- package/dist/types/lib/document/document-table-surface.d.ts +0 -15
- package/dist/types/lib/document/document-table-totals.d.ts +0 -8
- package/dist/types/lib/document/document-variables.d.ts +0 -97
- package/dist/types/lib/document/document-visual-render-contract.d.ts +0 -8
- package/dist/types/lib/document/use-document-section-data.d.ts +0 -39
- package/dist/types/lib/document/use-document-table-rows.d.ts +0 -21
- package/dist/types/lib/document/use-measured-document-table-layout.d.ts +0 -50
- package/dist/types/lib/drag-and-drop-utils.d.ts +0 -2
- package/dist/types/lib/editor-draft-sync.d.ts +0 -2
- package/dist/types/lib/explorer-utils.d.ts +0 -11
- package/dist/types/lib/export-utils.d.ts +0 -47
- package/dist/types/lib/exports/export-status.d.ts +0 -17
- package/dist/types/lib/fields/field-display.d.ts +0 -35
- package/dist/types/lib/filter-values/build-card-filter-definition.d.ts +0 -18
- package/dist/types/lib/filter-values/build-filter-values-request-payload.d.ts +0 -116
- package/dist/types/lib/filter-values/filter-option-identity.d.ts +0 -10
- package/dist/types/lib/filter-values/filter-record-value.d.ts +0 -9
- package/dist/types/lib/filter-values/merge-additional-filter-values.d.ts +0 -12
- package/dist/types/lib/formatters/active-numeric-presentation.d.ts +0 -25
- package/dist/types/lib/formatters/card-format-context.d.ts +0 -14
- package/dist/types/lib/formatters/currency-presentation-binding.d.ts +0 -72
- package/dist/types/lib/formatters/dashboard-temporal-presentation.d.ts +0 -10
- package/dist/types/lib/formatters/grouped-temporal-authoring.d.ts +0 -33
- package/dist/types/lib/formatters/kpi-number-formatter.d.ts +0 -24
- package/dist/types/lib/formatters/kpi-result-columns.d.ts +0 -3
- package/dist/types/lib/formatters/kpi-result-values.d.ts +0 -20
- package/dist/types/lib/formatters/metric-formatting.d.ts +0 -197
- package/dist/types/lib/formatters/numeric-presentation.d.ts +0 -10
- package/dist/types/lib/formatters/numeric-value-coercion.d.ts +0 -10
- package/dist/types/lib/formatters/pivot-result-lifecycle-config.d.ts +0 -15
- package/dist/types/lib/formatters/raw-temporal-on-demand-delivery.d.ts +0 -63
- package/dist/types/lib/formatters/result-column-identity.d.ts +0 -3
- package/dist/types/lib/formatters/saved-temporal-bucket-format.d.ts +0 -43
- package/dist/types/lib/formatters/semantic-column-presentation.d.ts +0 -9
- package/dist/types/lib/formatters/value-formatter.d.ts +0 -64
- package/dist/types/lib/hooks/ai/assistant-context-entity-utils.d.ts +0 -6
- package/dist/types/lib/hooks/ai/assistant-session.d.ts +0 -3
- package/dist/types/lib/hooks/ai/dashboard-assistant-context.d.ts +0 -35
- package/dist/types/lib/hooks/ai/dashboard-context.d.ts +0 -41
- package/dist/types/lib/hooks/ai/use-active-tool-status.d.ts +0 -10
- package/dist/types/lib/hooks/ai/use-assistant-context-entities.d.ts +0 -19
- package/dist/types/lib/hooks/ai/use-assistant-profile.d.ts +0 -6
- package/dist/types/lib/hooks/ai/use-assistant-scroll.d.ts +0 -8
- package/dist/types/lib/hooks/ai/use-auto-submit-queue.d.ts +0 -13
- package/dist/types/lib/hooks/ai/use-dashboard-assistant.d.ts +0 -32
- package/dist/types/lib/hooks/ai/use-editor-assistant.d.ts +0 -33
- package/dist/types/lib/hooks/ai/use-entity-mentions.d.ts +0 -36
- package/dist/types/lib/hooks/ai/use-local-storage-state.d.ts +0 -1
- package/dist/types/lib/hooks/ai/utils.d.ts +0 -64
- package/dist/types/lib/hooks/calculated-fields/use-ai-expression.d.ts +0 -23
- package/dist/types/lib/hooks/calculated-fields/use-available-fields.d.ts +0 -111
- package/dist/types/lib/hooks/calculated-fields/use-calculated-field-templates.d.ts +0 -9
- package/dist/types/lib/hooks/calculated-fields/use-expression-validation.d.ts +0 -18
- package/dist/types/lib/hooks/calculated-fields/use-formula-placeholders.d.ts +0 -54
- package/dist/types/lib/hooks/calculated-fields/use-promote-to-domain.d.ts +0 -17
- package/dist/types/lib/hooks/chartjs/use-chart-blur.d.ts +0 -14
- package/dist/types/lib/hooks/control-values-query-utils.d.ts +0 -6
- package/dist/types/lib/hooks/explorer/column-catalog.d.ts +0 -4
- package/dist/types/lib/hooks/explorer/column-native-datatype.d.ts +0 -8
- package/dist/types/lib/hooks/explorer/field-management-utils.d.ts +0 -2
- package/dist/types/lib/hooks/explorer/use-card-filter-option-browse.d.ts +0 -10
- package/dist/types/lib/hooks/explorer/use-columns.d.ts +0 -11
- package/dist/types/lib/hooks/explorer/use-data-models.d.ts +0 -8
- package/dist/types/lib/hooks/explorer/use-database-entities.d.ts +0 -15
- package/dist/types/lib/hooks/explorer/use-databases.d.ts +0 -12
- package/dist/types/lib/hooks/explorer/use-datasets.d.ts +0 -53
- package/dist/types/lib/hooks/explorer/use-dev-mode-actions.d.ts +0 -10
- package/dist/types/lib/hooks/explorer/use-domain-calculated-fields.d.ts +0 -6
- package/dist/types/lib/hooks/explorer/use-drag-and-drop.d.ts +0 -22
- package/dist/types/lib/hooks/explorer/use-field-availability-context.d.ts +0 -16
- package/dist/types/lib/hooks/explorer/use-field-management.d.ts +0 -42
- package/dist/types/lib/hooks/explorer/use-files.d.ts +0 -13
- package/dist/types/lib/hooks/explorer/use-filter-builder.d.ts +0 -24
- package/dist/types/lib/hooks/explorer/use-filterable-fields.d.ts +0 -61
- package/dist/types/lib/hooks/explorer/use-join-conditions-builder.d.ts +0 -27
- package/dist/types/lib/hooks/explorer/use-schemas.d.ts +0 -8
- package/dist/types/lib/hooks/explorer/use-scoped-fields.d.ts +0 -53
- package/dist/types/lib/hooks/explorer/use-semantic-domains.d.ts +0 -17
- package/dist/types/lib/hooks/explorer/use-sync-legacy-editor-state.d.ts +0 -20
- package/dist/types/lib/hooks/query-context/use-card-query-context.d.ts +0 -3
- package/dist/types/lib/hooks/query-context/use-dashboard-card-execution-snapshot.d.ts +0 -10
- package/dist/types/lib/hooks/selection/use-active-selections.d.ts +0 -15
- package/dist/types/lib/hooks/selection/use-click-to-filter-mapping-draft.d.ts +0 -20
- package/dist/types/lib/hooks/selection/use-selection-click.d.ts +0 -34
- package/dist/types/lib/hooks/selection/use-selection-gestures.d.ts +0 -38
- package/dist/types/lib/hooks/selection/use-table-row-selection.d.ts +0 -46
- package/dist/types/lib/hooks/semaphor-ready-indicator.d.ts +0 -17
- package/dist/types/lib/hooks/summary/create-summary-action-handler.d.ts +0 -15
- package/dist/types/lib/hooks/use-assign-filter.d.ts +0 -5
- package/dist/types/lib/hooks/use-attribute-values.d.ts +0 -20
- package/dist/types/lib/hooks/use-auth-token.d.ts +0 -1
- package/dist/types/lib/hooks/use-authorization-scope.d.ts +0 -2
- package/dist/types/lib/hooks/use-calendar-preferences.d.ts +0 -16
- package/dist/types/lib/hooks/use-card-filter-values.d.ts +0 -19
- package/dist/types/lib/hooks/use-card-numeric-presentation.d.ts +0 -11
- package/dist/types/lib/hooks/use-card-render-context.d.ts +0 -14
- package/dist/types/lib/hooks/use-chart-numeric-presentation.d.ts +0 -3
- package/dist/types/lib/hooks/use-column-sizing.d.ts +0 -27
- package/dist/types/lib/hooks/use-connection-type.d.ts +0 -0
- package/dist/types/lib/hooks/use-connections.d.ts +0 -27
- package/dist/types/lib/hooks/use-control-values-query.d.ts +0 -48
- package/dist/types/lib/hooks/use-copy-paste-frame.d.ts +0 -2
- package/dist/types/lib/hooks/use-custom-visuals-query.d.ts +0 -30
- package/dist/types/lib/hooks/use-dashboard-card-query.d.ts +0 -4
- package/dist/types/lib/hooks/use-dashboard-creation.d.ts +0 -17
- package/dist/types/lib/hooks/use-dashboard-filter-mapping-candidates.d.ts +0 -40
- package/dist/types/lib/hooks/use-dashboard-filter-option-fields.d.ts +0 -15
- package/dist/types/lib/hooks/use-dashboard-frame-query.d.ts +0 -51
- package/dist/types/lib/hooks/use-dashboard-frame.d.ts +0 -0
- package/dist/types/lib/hooks/use-dashboard-interaction-mode.d.ts +0 -1
- package/dist/types/lib/hooks/use-dashboard-kpi-actions.d.ts +0 -11
- package/dist/types/lib/hooks/use-dashboard-preferences.d.ts +0 -5
- package/dist/types/lib/hooks/use-date-range-for-filter.d.ts +0 -7
- package/dist/types/lib/hooks/use-default-dashboard-mutation.d.ts +0 -9
- package/dist/types/lib/hooks/use-default-sheet-preference.d.ts +0 -9
- package/dist/types/lib/hooks/use-display-preferences.d.ts +0 -4
- package/dist/types/lib/hooks/use-document-section-editor.d.ts +0 -3
- package/dist/types/lib/hooks/use-document-section-session.d.ts +0 -36
- package/dist/types/lib/hooks/use-draggable-button.d.ts +0 -20
- package/dist/types/lib/hooks/use-draggable-corner.d.ts +0 -22
- package/dist/types/lib/hooks/use-dynamic-icon.d.ts +0 -1
- package/dist/types/lib/hooks/use-edit-visual.d.ts +0 -6
- package/dist/types/lib/hooks/use-editor-preview.d.ts +0 -17
- package/dist/types/lib/hooks/use-editor-setup.d.ts +0 -45
- package/dist/types/lib/hooks/use-feedback.d.ts +0 -12
- package/dist/types/lib/hooks/use-filter-aside-setup.d.ts +0 -13
- package/dist/types/lib/hooks/use-filter-option-labels.d.ts +0 -12
- package/dist/types/lib/hooks/use-filter-query.d.ts +0 -79
- package/dist/types/lib/hooks/use-filter-search.d.ts +0 -49
- package/dist/types/lib/hooks/use-frame-semantic-execution-payload.d.ts +0 -15
- package/dist/types/lib/hooks/use-has-dashboard-id.d.ts +0 -6
- package/dist/types/lib/hooks/use-insight-card-info.d.ts +0 -30
- package/dist/types/lib/hooks/use-interactions-popover.d.ts +0 -7
- package/dist/types/lib/hooks/use-is-dashboard-ready.d.ts +0 -14
- package/dist/types/lib/hooks/use-is-editing-card.d.ts +0 -7
- package/dist/types/lib/hooks/use-joinability-map.d.ts +0 -24
- package/dist/types/lib/hooks/use-kpi.d.ts +0 -6
- package/dist/types/lib/hooks/use-metric-keys-visual.d.ts +0 -6
- package/dist/types/lib/hooks/use-plugin-query.d.ts +0 -6
- package/dist/types/lib/hooks/use-previous.d.ts +0 -1
- package/dist/types/lib/hooks/use-query-feedback.d.ts +0 -45
- package/dist/types/lib/hooks/use-query-key.d.ts +0 -8
- package/dist/types/lib/hooks/use-relative-date-summarizer.d.ts +0 -7
- package/dist/types/lib/hooks/use-resolved-card-config.d.ts +0 -6
- package/dist/types/lib/hooks/use-role-aware-display-preferences.d.ts +0 -29
- package/dist/types/lib/hooks/use-selected-column.d.ts +0 -29
- package/dist/types/lib/hooks/use-semaphor-context.d.ts +0 -4
- package/dist/types/lib/hooks/use-split-view-preference.d.ts +0 -1
- package/dist/types/lib/hooks/use-theme.d.ts +0 -1
- package/dist/types/lib/hooks/use-topojson.d.ts +0 -7
- package/dist/types/lib/hooks/use-user-preferences.d.ts +0 -24
- package/dist/types/lib/hooks/use-visual-editing-status.d.ts +0 -6
- package/dist/types/lib/hooks/use-visual-save-as.d.ts +0 -9
- package/dist/types/lib/hooks/visuals/use-pivot-table-config.d.ts +0 -6
- package/dist/types/lib/interactions/click-filter-display.d.ts +0 -13
- package/dist/types/lib/interactions/click-outcome.d.ts +0 -25
- package/dist/types/lib/interactions/get-click-context-from-pivot-table.d.ts +0 -12
- package/dist/types/lib/interactions/get-click-context-from-table.d.ts +0 -42
- package/dist/types/lib/interactions/interaction-utils.d.ts +0 -32
- package/dist/types/lib/interactions/interaction-validation-utils.d.ts +0 -9
- package/dist/types/lib/interactions/interpolate-url-parameters.d.ts +0 -73
- package/dist/types/lib/internal-print-report-context.d.ts +0 -5
- package/dist/types/lib/matrix-table/build-matrix-drill-to-detail.d.ts +0 -15
- package/dist/types/lib/matrix-table/matrix-application-adapter.d.ts +0 -65
- package/dist/types/lib/matrix-table/matrix-card-draft.d.ts +0 -352
- package/dist/types/lib/matrix-table/matrix-card-fields.d.ts +0 -14
- package/dist/types/lib/matrix-table/matrix-card-interactions.d.ts +0 -16
- package/dist/types/lib/matrix-table/matrix-conditional-formatting.d.ts +0 -36
- package/dist/types/lib/matrix-table/matrix-dataset-history.d.ts +0 -47
- package/dist/types/lib/matrix-table/matrix-editor.d.ts +0 -40
- package/dist/types/lib/matrix-table/matrix-execution-context.d.ts +0 -20
- package/dist/types/lib/matrix-table/matrix-execution-provider.d.ts +0 -7
- package/dist/types/lib/matrix-table/matrix-failure-copy.d.ts +0 -16
- package/dist/types/lib/matrix-table/matrix-field-metadata.d.ts +0 -3
- package/dist/types/lib/matrix-table/matrix-label-boundary.d.ts +0 -6
- package/dist/types/lib/matrix-table/matrix-layout-read.d.ts +0 -68
- package/dist/types/lib/matrix-table/matrix-layout.d.ts +0 -18
- package/dist/types/lib/matrix-table/matrix-measure-presentation.d.ts +0 -8
- package/dist/types/lib/matrix-table/matrix-operation-queue.d.ts +0 -8
- package/dist/types/lib/matrix-table/matrix-query-transport.d.ts +0 -6
- package/dist/types/lib/matrix-table/matrix-row-labels.d.ts +0 -13
- package/dist/types/lib/matrix-table/submit-matrix-delivery.d.ts +0 -19
- package/dist/types/lib/matrix-table/use-matrix-card-catalog.d.ts +0 -20
- package/dist/types/lib/matrix-table/use-matrix-cell-focus.d.ts +0 -55
- package/dist/types/lib/matrix-table/use-matrix-delivery-capture.d.ts +0 -6
- package/dist/types/lib/matrix-table/use-matrix-editor-catalog.d.ts +0 -5
- package/dist/types/lib/matrix-table/use-matrix.d.ts +0 -74
- package/dist/types/lib/mock-data.d.ts +0 -0
- package/dist/types/lib/pdf-execution-snapshot.d.ts +0 -12
- package/dist/types/lib/pdf-fast-path/aggregate-metric-semantics.d.ts +0 -1
- package/dist/types/lib/pdf-fast-path/builders.d.ts +0 -46
- package/dist/types/lib/pdf-fast-path/candidate-eligibility.d.ts +0 -17
- package/dist/types/lib/pdf-fast-path/extract-table-structure.d.ts +0 -5
- package/dist/types/lib/pdf-fast-path/index.d.ts +0 -27
- package/dist/types/lib/pdf-fast-path/pivot-fast-path-utils.d.ts +0 -12
- package/dist/types/lib/pdf-fast-path/prepare-server-table-pdf-export.d.ts +0 -37
- package/dist/types/lib/print/print-holds.d.ts +0 -15
- package/dist/types/lib/print-state/capture-expanded-state.d.ts +0 -38
- package/dist/types/lib/python/default-code.d.ts +0 -1
- package/dist/types/lib/query-context/build-card-control-context.d.ts +0 -16
- package/dist/types/lib/query-context/build-dashboard-card-query-contract.d.ts +0 -68
- package/dist/types/lib/query-context/build-dashboard-execution-snapshot.d.ts +0 -63
- package/dist/types/lib/query-context/build-dashboard-frame-base-query-contexts.d.ts +0 -60
- package/dist/types/lib/query-context/build-global-date-comparison-context.d.ts +0 -8
- package/dist/types/lib/query-context/build-query-relevant-card-config.d.ts +0 -15
- package/dist/types/lib/query-context/card-execution.d.ts +0 -30
- package/dist/types/lib/query-context/control-contract-serialization.d.ts +0 -11
- package/dist/types/lib/query-context/dashboard-card-query-key.d.ts +0 -49
- package/dist/types/lib/query-context/dashboard-query-result-context.d.ts +0 -17
- package/dist/types/lib/query-context/document-section-card-query.d.ts +0 -37
- package/dist/types/lib/query-context/filter-group-utils.d.ts +0 -3
- package/dist/types/lib/query-context/normalize-dashboard-card-execution.d.ts +0 -7
- package/dist/types/lib/query-context/query-auth-scope.d.ts +0 -5
- package/dist/types/lib/query-context/resolve-render-card-config.d.ts +0 -16
- package/dist/types/lib/query-context/temporal-context-preview.d.ts +0 -14
- package/dist/types/lib/query-context/use-semantic-execution-payload-for-cards.d.ts +0 -24
- package/dist/types/lib/resize-observer-utils.d.ts +0 -10
- package/dist/types/lib/selection/click-to-filter-authoring-support.d.ts +0 -9
- package/dist/types/lib/selection/selection-from-click-context.d.ts +0 -41
- package/dist/types/lib/selection/selection-labels.d.ts +0 -3
- package/dist/types/lib/selection/selection-notices.d.ts +0 -9
- package/dist/types/lib/selection/selection-reducer.d.ts +0 -46
- package/dist/types/lib/stores/ai-interaction-store.d.ts +0 -97
- package/dist/types/lib/stores/assistant-layout-store.d.ts +0 -17
- package/dist/types/lib/stores/chartjs-store.d.ts +0 -36
- package/dist/types/lib/stores/explorer-empty-states.d.ts +0 -8
- package/dist/types/lib/stores/index.d.ts +0 -8
- package/dist/types/lib/stores/mount-store-devtool.d.ts +0 -2
- package/dist/types/lib/stores/utils.d.ts +0 -40
- package/dist/types/lib/table-formatting/table-column-visibility.d.ts +0 -5
- package/dist/types/lib/table-formatting/table-conditional-formatting-columns.d.ts +0 -14
- package/dist/types/lib/table-formatting/table-formatting-schemas.d.ts +0 -1101
- package/dist/types/lib/table-formatting/table-formatting-utils.d.ts +0 -30
- package/dist/types/lib/table-formatting/table-presentation-fields.d.ts +0 -22
- package/dist/types/lib/table-formatting/table-presentation-style.d.ts +0 -45
- package/dist/types/lib/table-formatting/table-result-bindings.d.ts +0 -12
- package/dist/types/lib/temporal-filter/temporal-filter-utils.d.ts +0 -59
- package/dist/types/lib/text-variables/temporal-input-text.d.ts +0 -28
- package/dist/types/lib/text-variables/text-variable-types.d.ts +0 -55
- package/dist/types/lib/types/calculated-field-domain-payloads.d.ts +0 -36
- package/dist/types/lib/types/calculated-field-editor-types.d.ts +0 -64
- package/dist/types/lib/types/feedback-types.d.ts +0 -60
- package/dist/types/lib/types/semantic-types.d.ts +0 -120
- package/dist/types/lib/ui/tenancy-ui.d.ts +0 -25
- package/dist/types/lib/utils/aggregate-expression-utils.d.ts +0 -2
- package/dist/types/lib/utils/app-url-utils.d.ts +0 -7
- package/dist/types/lib/utils/assistant-visibility.d.ts +0 -9
- package/dist/types/lib/utils/async-export-visible-columns.d.ts +0 -12
- package/dist/types/lib/utils/authored-card-fields.d.ts +0 -17
- package/dist/types/lib/utils/briefings-visibility.d.ts +0 -9
- package/dist/types/lib/utils/build-card-export-request.d.ts +0 -30
- package/dist/types/lib/utils/build-saved-editor-card.d.ts +0 -15
- package/dist/types/lib/utils/calculate-card-filter-values.d.ts +0 -23
- package/dist/types/lib/utils/calculate-context-aware-filters.d.ts +0 -46
- package/dist/types/lib/utils/calculated-date-dimension-defaults.d.ts +0 -9
- package/dist/types/lib/utils/calculated-dimension-utils.d.ts +0 -2
- package/dist/types/lib/utils/calculated-field-identity-utils.d.ts +0 -20
- package/dist/types/lib/utils/calculated-field-normalization.d.ts +0 -2
- package/dist/types/lib/utils/calculated-field-operations.d.ts +0 -40
- package/dist/types/lib/utils/calculated-field-permissions.d.ts +0 -12
- package/dist/types/lib/utils/calculated-field-row-templates.d.ts +0 -15
- package/dist/types/lib/utils/calculated-field-scope-utils.d.ts +0 -20
- package/dist/types/lib/utils/calculated-field-token-utils.d.ts +0 -34
- package/dist/types/lib/utils/calculated-field-transition-utils.d.ts +0 -113
- package/dist/types/lib/utils/calculated-field-utils.d.ts +0 -37
- package/dist/types/lib/utils/card-calculated-field-utils.d.ts +0 -12
- package/dist/types/lib/utils/card-config-utils.d.ts +0 -24
- package/dist/types/lib/utils/card-loading-state.d.ts +0 -18
- package/dist/types/lib/utils/card-utils.d.ts +0 -70
- package/dist/types/lib/utils/chart-icon-utils.d.ts +0 -26
- package/dist/types/lib/utils/chart-type-field-validation.d.ts +0 -25
- package/dist/types/lib/utils/comparison-export-utils.d.ts +0 -31
- package/dist/types/lib/utils/comparison-output-keys.d.ts +0 -37
- package/dist/types/lib/utils/comparison-period-utils.d.ts +0 -6
- package/dist/types/lib/utils/comparison-validation-utils.d.ts +0 -16
- package/dist/types/lib/utils/comparison-window-caption.d.ts +0 -12
- package/dist/types/lib/utils/connection-capabilities.d.ts +0 -26
- package/dist/types/lib/utils/control-default-value-utils.d.ts +0 -46
- package/dist/types/lib/utils/control-placeholder-utils.d.ts +0 -14
- package/dist/types/lib/utils/control-reference-utils.d.ts +0 -18
- package/dist/types/lib/utils/copy-control-bindings.d.ts +0 -3
- package/dist/types/lib/utils/custom-visual-inputs.d.ts +0 -43
- package/dist/types/lib/utils/dashboard-controls-visibility.d.ts +0 -23
- package/dist/types/lib/utils/dashboard-date-filter-utils.d.ts +0 -16
- package/dist/types/lib/utils/dashboard-interaction-mode.d.ts +0 -12
- package/dist/types/lib/utils/data-source-semantic-domain.d.ts +0 -12
- package/dist/types/lib/utils/data-source-utils.d.ts +0 -22
- package/dist/types/lib/utils/date-filter-column-utils.d.ts +0 -2
- package/dist/types/lib/utils/date-format-utils.d.ts +0 -8
- package/dist/types/lib/utils/date-granularity-utils.d.ts +0 -5
- package/dist/types/lib/utils/date-hierarchy-utils.d.ts +0 -75
- package/dist/types/lib/utils/date-timezone-utils.d.ts +0 -79
- package/dist/types/lib/utils/drag-and-drop-utils.d.ts +0 -8
- package/dist/types/lib/utils/drill-context-utils.d.ts +0 -32
- package/dist/types/lib/utils/entity-consistency-utils.d.ts +0 -48
- package/dist/types/lib/utils/entity-icon-utils.d.ts +0 -17
- package/dist/types/lib/utils/explorer-derived-field.d.ts +0 -4
- package/dist/types/lib/utils/explorer-field-identity.d.ts +0 -15
- package/dist/types/lib/utils/export-result-source.d.ts +0 -20
- package/dist/types/lib/utils/export-utils.d.ts +0 -26
- package/dist/types/lib/utils/expression-field-classification.d.ts +0 -12
- package/dist/types/lib/utils/fetch-export-data.d.ts +0 -14
- package/dist/types/lib/utils/field-availability-context.d.ts +0 -25
- package/dist/types/lib/utils/field-icon-utils.d.ts +0 -10
- package/dist/types/lib/utils/field-state-calculator.d.ts +0 -159
- package/dist/types/lib/utils/filter-formatter.d.ts +0 -24
- package/dist/types/lib/utils/filter-metadata-utils.d.ts +0 -28
- package/dist/types/lib/utils/filter-name-utils.d.ts +0 -27
- package/dist/types/lib/utils/filter-scoping-utils.d.ts +0 -64
- package/dist/types/lib/utils/filter-search-sql.d.ts +0 -17
- package/dist/types/lib/utils/format-config-extractor.d.ts +0 -21
- package/dist/types/lib/utils/frame-utils.d.ts +0 -27
- package/dist/types/lib/utils/inline-expression-utils.d.ts +0 -11
- package/dist/types/lib/utils/inline-filter-utils.d.ts +0 -16
- package/dist/types/lib/utils/interaction-display-utils.d.ts +0 -30
- package/dist/types/lib/utils/interaction-icons.d.ts +0 -10
- package/dist/types/lib/utils/is-safari-browser.d.ts +0 -6
- package/dist/types/lib/utils/join-plan-entity-matching.d.ts +0 -26
- package/dist/types/lib/utils/kpi-comparison-utils.d.ts +0 -12
- package/dist/types/lib/utils/kpi-field-cleanup-utils.d.ts +0 -19
- package/dist/types/lib/utils/kpi-format-migration.d.ts +0 -2
- package/dist/types/lib/utils/metric-comparison-config.d.ts +0 -9
- package/dist/types/lib/utils/physical-source-identity.d.ts +0 -12
- package/dist/types/lib/utils/qualified-entity-name.d.ts +0 -2
- package/dist/types/lib/utils/relative-date-description.d.ts +0 -38
- package/dist/types/lib/utils/resolve-selected-sheet-id.d.ts +0 -11
- package/dist/types/lib/utils/role-display-mappings.d.ts +0 -44
- package/dist/types/lib/utils/semantic-metric-format-defaults.d.ts +0 -3
- package/dist/types/lib/utils/slot-validation.d.ts +0 -12
- package/dist/types/lib/utils/stable-serialize.d.ts +0 -1
- package/dist/types/lib/utils/summary-eligibility.d.ts +0 -7
- package/dist/types/lib/utils/summary-filter-utils.d.ts +0 -2
- package/dist/types/lib/utils/table-comparison-utils.d.ts +0 -9
- package/dist/types/lib/utils/text-card-runtime-utils.d.ts +0 -6
- package/dist/types/lib/utils/url-parameter-utils.d.ts +0 -60
- package/dist/types/lib/utils/window-transform-utils.d.ts +0 -41
- package/dist/types/lib/visuals/frame-object.d.ts +0 -4
- package/dist/types/shared/analytics-protocol/qualified-identity.d.ts +0 -3
- package/dist/types/shared/dashboard-authoring/filter-defaults.d.ts +0 -2
- package/dist/types/shared/filter-native-data-type.d.ts +0 -59
- package/dist/types/shared/format-utils/formatters/exact-number.d.ts +0 -1
- package/dist/types/shared/format-utils/json-record.d.ts +0 -6
|
@@ -1,119 +1,22 @@
|
|
|
1
|
-
import { N as
|
|
2
|
-
import {
|
|
3
|
-
import { f as
|
|
1
|
+
import { N as me, G as D, u as O, l as ue, B as Z, F as ee } from "./validators-DMSH81OM.js";
|
|
2
|
+
import { D as fe, t as de } from "./matrix-operation-contract-BKupLHXL.js";
|
|
3
|
+
import { f as he, C as be } from "./metric-comparison-BKHyvnAy.js";
|
|
4
4
|
import { z as u } from "zod";
|
|
5
|
-
import { o as
|
|
6
|
-
import { r as
|
|
7
|
-
import { i as
|
|
8
|
-
import { v as $, i as
|
|
9
|
-
import { DEFAULT_RESOLVED_VALUE_FORMAT_PREFERENCES as
|
|
10
|
-
const J = 8, z = 6, F = Object.freeze([]);
|
|
11
|
-
function Te(e) {
|
|
12
|
-
switch (e.type) {
|
|
13
|
-
case "table":
|
|
14
|
-
case "chart":
|
|
15
|
-
return e.card ? [e.card] : F;
|
|
16
|
-
case "kpi":
|
|
17
|
-
return Array.isArray(e.cards) ? e.cards : F;
|
|
18
|
-
default:
|
|
19
|
-
return F;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
function ut(e, t) {
|
|
23
|
-
switch (e.type) {
|
|
24
|
-
case "table":
|
|
25
|
-
case "chart": {
|
|
26
|
-
if (!e.card) return e;
|
|
27
|
-
const n = t(e.card);
|
|
28
|
-
return n === e.card ? e : { ...e, card: n };
|
|
29
|
-
}
|
|
30
|
-
case "kpi": {
|
|
31
|
-
if (!Array.isArray(e.cards)) return e;
|
|
32
|
-
const n = e.cards.map(t);
|
|
33
|
-
return n.every((o, i) => o === e.cards[i]) ? e : { ...e, cards: n };
|
|
34
|
-
}
|
|
35
|
-
default:
|
|
36
|
-
return e;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
function dt(e) {
|
|
40
|
-
var n;
|
|
41
|
-
const t = [];
|
|
42
|
-
for (const o of e.sheets || []) {
|
|
43
|
-
const i = o.id;
|
|
44
|
-
for (const r of o.cards || [])
|
|
45
|
-
t.push({ kind: "sheetCard", sheetId: i, cardId: r.id, card: r });
|
|
46
|
-
for (const r of o.frames || [])
|
|
47
|
-
for (const s of r.cards || [])
|
|
48
|
-
t.push({
|
|
49
|
-
kind: "frameCard",
|
|
50
|
-
sheetId: i,
|
|
51
|
-
frameId: r.id,
|
|
52
|
-
cardId: s.id,
|
|
53
|
-
card: s
|
|
54
|
-
});
|
|
55
|
-
for (const r of ((n = o.document) == null ? void 0 : n.sections) || [])
|
|
56
|
-
for (const s of Te(r))
|
|
57
|
-
t.push({
|
|
58
|
-
kind: "documentSectionCard",
|
|
59
|
-
sheetId: i,
|
|
60
|
-
sectionId: r.id,
|
|
61
|
-
cardId: s.id,
|
|
62
|
-
card: s
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
return t;
|
|
66
|
-
}
|
|
67
|
-
function B(e) {
|
|
68
|
-
return !!e && typeof e == "object" && !Array.isArray(e);
|
|
69
|
-
}
|
|
70
|
-
function ft(e) {
|
|
71
|
-
if (!B(e))
|
|
72
|
-
return [{ path: "", message: "must be an object." }];
|
|
73
|
-
const t = [];
|
|
74
|
-
e.title !== void 0 && typeof e.title != "string" && t.push({ path: "title", message: "must be a string." });
|
|
75
|
-
const n = e.cards;
|
|
76
|
-
if (!Array.isArray(n))
|
|
77
|
-
t.push({ path: "cards", message: "must be an array of KPI cards." });
|
|
78
|
-
else {
|
|
79
|
-
(n.length < 1 || n.length > J) && t.push({
|
|
80
|
-
path: "cards",
|
|
81
|
-
message: `must hold 1 to ${J} KPI cards.`
|
|
82
|
-
});
|
|
83
|
-
const i = /* @__PURE__ */ new Set();
|
|
84
|
-
n.forEach((r, s) => {
|
|
85
|
-
if (!B(r)) {
|
|
86
|
-
t.push({ path: `cards[${s}]`, message: "must be a card." });
|
|
87
|
-
return;
|
|
88
|
-
}
|
|
89
|
-
typeof r.id != "string" || !r.id ? t.push({
|
|
90
|
-
path: `cards[${s}].id`,
|
|
91
|
-
message: "must be a non-empty string."
|
|
92
|
-
}) : i.has(r.id) ? t.push({
|
|
93
|
-
path: `cards[${s}].id`,
|
|
94
|
-
message: `duplicates card id '${r.id}'.`
|
|
95
|
-
}) : i.add(r.id), r.type !== "kpi" && t.push({ path: `cards[${s}].type`, message: "must be 'kpi'." });
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
const o = e.kpi;
|
|
99
|
-
return B(o) ? (o.layout !== "tiles" && o.layout !== "lines" ? t.push({
|
|
100
|
-
path: "kpi.layout",
|
|
101
|
-
message: "must be 'tiles' or 'lines'."
|
|
102
|
-
}) : o.layout === "tiles" && Array.isArray(n) && n.length > z && t.push({
|
|
103
|
-
path: "kpi.layout",
|
|
104
|
-
message: `must be 'lines' for more than ${z} KPI cards.`
|
|
105
|
-
}), o.columns !== void 0 && o.columns !== 1 && o.columns !== 2 && t.push({ path: "kpi.columns", message: "must be 1 or 2." })) : t.push({ path: "kpi", message: "must be an object." }), t;
|
|
106
|
-
}
|
|
5
|
+
import { o as ge } from "./source-entity-resolution-C-oNyYMp.js";
|
|
6
|
+
import { r as ye } from "./field-dependencies-CpRUwr9J.js";
|
|
7
|
+
import { i as Ce, a as ve } from "./matrix-card-CAdizkUl.js";
|
|
8
|
+
import { v as $, i as Ye, f as _e } from "./temporal-bucket-DlFuhCnT.js";
|
|
9
|
+
import { DEFAULT_RESOLVED_VALUE_FORMAT_PREFERENCES as te } from "../value-format-preferences/index.js";
|
|
107
10
|
const N = /* @__PURE__ */ new Set([
|
|
108
11
|
"previous_period",
|
|
109
12
|
"same_period_last_year",
|
|
110
13
|
"start_vs_end",
|
|
111
14
|
"target"
|
|
112
|
-
]),
|
|
15
|
+
]), Me = /* @__PURE__ */ new Set([...N, "none", ""]);
|
|
113
16
|
function h(e) {
|
|
114
17
|
return !!e && typeof e == "object" && !Array.isArray(e);
|
|
115
18
|
}
|
|
116
|
-
function
|
|
19
|
+
function ne(e) {
|
|
117
20
|
const t = h(e.preferences) ? e.preferences : void 0, n = t && h(t.kpiVisualOptions) ? t.kpiVisualOptions : void 0, o = t && h(t.tableVisualOptions) ? t.tableVisualOptions : void 0;
|
|
118
21
|
return {
|
|
119
22
|
preferences: t,
|
|
@@ -125,42 +28,42 @@ function re(e) {
|
|
|
125
28
|
tableComparisonPresent: !!o && "metricComparison" in o
|
|
126
29
|
};
|
|
127
30
|
}
|
|
128
|
-
function
|
|
31
|
+
function J(e) {
|
|
129
32
|
const t = [], n = (o, i) => {
|
|
130
33
|
if (Array.isArray(o)) {
|
|
131
|
-
o.forEach((s,
|
|
34
|
+
o.forEach((s, r) => n(s, `${i}[${r}]`));
|
|
132
35
|
return;
|
|
133
36
|
}
|
|
134
37
|
if (!h(o)) return;
|
|
135
|
-
const
|
|
136
|
-
if (h(
|
|
137
|
-
const s =
|
|
38
|
+
const a = o.config;
|
|
39
|
+
if (h(a)) {
|
|
40
|
+
const s = ne(o), r = !!(s.kpiComparisonPresent || s.tableComparisonPresent), m = a.metricColumns, p = Array.isArray(m) ? m.flatMap(
|
|
138
41
|
(l, c) => h(l) ? [{ index: c, metric: l }] : []
|
|
139
42
|
) : [];
|
|
140
|
-
if ((p.some(({ metric: l }) => "comparisonType" in l) ||
|
|
43
|
+
if ((p.some(({ metric: l }) => "comparisonType" in l) || r) && t.push({
|
|
141
44
|
path: i,
|
|
142
45
|
card: o,
|
|
143
46
|
metrics: p,
|
|
144
47
|
malformedMetricIndexes: Array.isArray(m) ? m.flatMap(
|
|
145
48
|
(l, c) => h(l) ? [] : [c]
|
|
146
49
|
) : [],
|
|
147
|
-
malformedMetricColumns: "metricColumns" in
|
|
148
|
-
hasLegacyPresentation:
|
|
149
|
-
}), "metricColumns" in
|
|
50
|
+
malformedMetricColumns: "metricColumns" in a && !Array.isArray(m),
|
|
51
|
+
hasLegacyPresentation: r
|
|
52
|
+
}), "metricColumns" in a || r) return;
|
|
150
53
|
}
|
|
151
54
|
Object.entries(o).forEach(
|
|
152
|
-
([s,
|
|
55
|
+
([s, r]) => n(r, i ? `${i}.${s}` : s)
|
|
153
56
|
);
|
|
154
57
|
};
|
|
155
58
|
return n(e, "$"), t;
|
|
156
59
|
}
|
|
157
|
-
const
|
|
60
|
+
const oe = {
|
|
158
61
|
difference: "difference",
|
|
159
62
|
change: "percent_change",
|
|
160
63
|
change_difference: "both",
|
|
161
64
|
ratio: "ratio"
|
|
162
65
|
};
|
|
163
|
-
function
|
|
66
|
+
function U(e, t) {
|
|
164
67
|
if (!e) return;
|
|
165
68
|
const n = Object.fromEntries(
|
|
166
69
|
t.flatMap(
|
|
@@ -169,7 +72,7 @@ function Q(e, t) {
|
|
|
169
72
|
);
|
|
170
73
|
return Object.keys(n).length ? n : void 0;
|
|
171
74
|
}
|
|
172
|
-
function
|
|
75
|
+
function ke(e, t, n) {
|
|
173
76
|
if (e !== void 0) {
|
|
174
77
|
if (!h(e)) {
|
|
175
78
|
n.push({
|
|
@@ -199,36 +102,36 @@ function De(e, t, n) {
|
|
|
199
102
|
});
|
|
200
103
|
}
|
|
201
104
|
}
|
|
202
|
-
function
|
|
203
|
-
const n = t === "kpi" ? e.calculationType : e.calculatedAs, o = t === "table" && n === void 0 ? "both" :
|
|
105
|
+
function L(e, t) {
|
|
106
|
+
const n = t === "kpi" ? e.calculationType : e.calculatedAs, o = t === "table" && n === void 0 ? "both" : oe[String(n)], i = h(e.formatOptions) ? e.formatOptions : void 0, a = h(e.conditionalLabels) ? e.conditionalLabels : void 0, s = h(
|
|
204
107
|
t === "kpi" ? e.colorConfig : e.colors
|
|
205
|
-
) ? t === "kpi" ? e.colorConfig : e.colors : void 0,
|
|
206
|
-
if (o && (
|
|
108
|
+
) ? t === "kpi" ? e.colorConfig : e.colors : void 0, r = {};
|
|
109
|
+
if (o && (r.displayMode = o), typeof (i == null ? void 0 : i.decimalPlaces) == "number" && (r.precision = i.decimalPlaces), t === "kpi") {
|
|
207
110
|
const l = e.showArrow !== !1, c = e.showColor !== !1;
|
|
208
|
-
|
|
209
|
-
} else (e.indicatorStyle === "arrow_badge" || e.indicatorStyle === "arrow" || e.indicatorStyle === "badge" || e.indicatorStyle === "none") && (
|
|
210
|
-
const m =
|
|
211
|
-
...
|
|
212
|
-
...typeof
|
|
111
|
+
r.indicatorStyle = l ? c ? "arrow_badge" : "arrow" : c ? "badge" : "none", r.showColor = c, (e.position === "left" || e.position === "right" || e.position === "top") && (r.position = e.position), typeof e.conditionalLabel == "boolean" && (r.conditionalLabel = e.conditionalLabel), typeof e.labelName == "string" && (r.labelName = e.labelName);
|
|
112
|
+
} else (e.indicatorStyle === "arrow_badge" || e.indicatorStyle === "arrow" || e.indicatorStyle === "badge" || e.indicatorStyle === "none") && (r.indicatorStyle = e.indicatorStyle);
|
|
113
|
+
const m = a ? {
|
|
114
|
+
...U(a, ["increase", "decrease"]),
|
|
115
|
+
...typeof a.noChange == "string" ? { neutral: a.noChange } : typeof a.neutral == "string" ? { neutral: a.neutral } : {}
|
|
213
116
|
} : void 0;
|
|
214
|
-
m && Object.keys(m).length && (
|
|
117
|
+
m && Object.keys(m).length && (r.conditionalLabels = m);
|
|
215
118
|
const p = s ? {
|
|
216
|
-
...
|
|
119
|
+
...U(s, ["increase", "decrease"]),
|
|
217
120
|
...typeof s.noChange == "string" ? { neutral: s.noChange } : typeof s.neutral == "string" ? { neutral: s.neutral } : {}
|
|
218
121
|
} : void 0;
|
|
219
|
-
return p && Object.keys(p).length && (
|
|
122
|
+
return p && Object.keys(p).length && (r.colors = p), r;
|
|
220
123
|
}
|
|
221
|
-
function
|
|
222
|
-
return { ...
|
|
124
|
+
function G(e) {
|
|
125
|
+
return { ...be, ...e };
|
|
223
126
|
}
|
|
224
|
-
function
|
|
127
|
+
function z(e) {
|
|
225
128
|
return e.some(({ metric: t }) => t.comparisonType === "previous_period" || t.comparisonType === "same_period_last_year" || t.comparisonType === "target" ? !0 : h(t.comparison) && t.comparison.mode === "explicit");
|
|
226
129
|
}
|
|
227
|
-
function
|
|
130
|
+
function F(e) {
|
|
228
131
|
const t = e.card.config;
|
|
229
132
|
return e.metrics.length === 2 && (t.groupByColumns === void 0 || Array.isArray(t.groupByColumns) && t.groupByColumns.length === 0);
|
|
230
133
|
}
|
|
231
|
-
function
|
|
134
|
+
function K(e, t, n, o) {
|
|
232
135
|
const i = t === "kpi" ? [
|
|
233
136
|
"enabled",
|
|
234
137
|
"calculationType",
|
|
@@ -256,12 +159,12 @@ function Z(e, t, n, o) {
|
|
|
256
159
|
message: `Unknown legacy comparison presentation field "${l}" cannot be dropped automatically.`
|
|
257
160
|
});
|
|
258
161
|
});
|
|
259
|
-
const
|
|
260
|
-
e[
|
|
162
|
+
const a = t === "kpi" ? "calculationType" : "calculatedAs";
|
|
163
|
+
e[a] !== void 0 && !oe[String(e[a])] && o.push({
|
|
261
164
|
severity: "error",
|
|
262
165
|
code: "invalid_legacy_comparison_presentation",
|
|
263
|
-
path: `${n}.${
|
|
264
|
-
message: `Legacy comparison ${
|
|
166
|
+
path: `${n}.${a}`,
|
|
167
|
+
message: `Legacy comparison ${a} is unsupported.`
|
|
265
168
|
}), t === "kpi" && e.position !== void 0 && !["left", "right", "top"].includes(String(e.position)) && o.push({
|
|
266
169
|
severity: "error",
|
|
267
170
|
code: "invalid_legacy_comparison_presentation",
|
|
@@ -286,8 +189,8 @@ function Z(e, t, n, o) {
|
|
|
286
189
|
});
|
|
287
190
|
return;
|
|
288
191
|
}
|
|
289
|
-
Object.entries(e[l]).forEach(([b,
|
|
290
|
-
c.includes(b) ? typeof
|
|
192
|
+
Object.entries(e[l]).forEach(([b, f]) => {
|
|
193
|
+
c.includes(b) ? typeof f != "string" && o.push({
|
|
291
194
|
severity: "error",
|
|
292
195
|
code: "invalid_legacy_comparison_presentation",
|
|
293
196
|
path: `${n}.${l}.${b}`,
|
|
@@ -314,9 +217,9 @@ function Z(e, t, n, o) {
|
|
|
314
217
|
code: "invalid_legacy_comparison_presentation",
|
|
315
218
|
path: `${n}.indicatorStyle`,
|
|
316
219
|
message: "Legacy comparison indicatorStyle is unsupported."
|
|
317
|
-
}),
|
|
318
|
-
const m =
|
|
319
|
-
|
|
220
|
+
}), ke(e.formatOptions, `${n}.formatOptions`, o);
|
|
221
|
+
const m = L(e, t);
|
|
222
|
+
he(m, n).errors.forEach((l) => {
|
|
320
223
|
o.push({
|
|
321
224
|
severity: "error",
|
|
322
225
|
code: "invalid_legacy_comparison_presentation",
|
|
@@ -325,15 +228,15 @@ function Z(e, t, n, o) {
|
|
|
325
228
|
});
|
|
326
229
|
});
|
|
327
230
|
}
|
|
328
|
-
function
|
|
329
|
-
const t =
|
|
231
|
+
function Q(e) {
|
|
232
|
+
const t = ne(e.card), n = t.kpiComparison ? L(t.kpiComparison, "kpi") : void 0, o = t.tableComparison ? L(t.tableComparison, "table") : void 0;
|
|
330
233
|
return { namespaces: t, kpi: n, table: o, presentation: n || o };
|
|
331
234
|
}
|
|
332
|
-
function
|
|
333
|
-
const t = h(e.preferences) ? e.preferences : {}, n = h(t.kpiVisualOptions) ? t.kpiVisualOptions : {}, o = h(n.metricComparison) ? n.metricComparison : {}, i = h(t.tableVisualOptions) ? t.tableVisualOptions : {},
|
|
334
|
-
return n.lowerIsBetter === !0 || o.lowerIsBetter === !0 ||
|
|
235
|
+
function Ee(e) {
|
|
236
|
+
const t = h(e.preferences) ? e.preferences : {}, n = h(t.kpiVisualOptions) ? t.kpiVisualOptions : {}, o = h(n.metricComparison) ? n.metricComparison : {}, i = h(t.tableVisualOptions) ? t.tableVisualOptions : {}, a = h(i.metricComparison) ? i.metricComparison : {};
|
|
237
|
+
return n.lowerIsBetter === !0 || o.lowerIsBetter === !0 || a.lowerIsBetter === !0 ? "lower_is_better" : "higher_is_better";
|
|
335
238
|
}
|
|
336
|
-
function
|
|
239
|
+
function Ie(e) {
|
|
337
240
|
switch (e.comparisonType) {
|
|
338
241
|
case "previous_period":
|
|
339
242
|
return { mode: "explicit", spec: { kind: "previous_period" } };
|
|
@@ -348,7 +251,7 @@ function Oe(e) {
|
|
|
348
251
|
return;
|
|
349
252
|
}
|
|
350
253
|
}
|
|
351
|
-
function
|
|
254
|
+
function Te(e) {
|
|
352
255
|
const t = h(e.preferences) ? e.preferences : void 0;
|
|
353
256
|
if (!t) return;
|
|
354
257
|
const n = h(t.kpiVisualOptions) ? t.kpiVisualOptions : void 0;
|
|
@@ -356,13 +259,13 @@ function we(e) {
|
|
|
356
259
|
const o = h(t.tableVisualOptions) ? t.tableVisualOptions : void 0, i = o && h(o.metricComparison) ? o.metricComparison : void 0;
|
|
357
260
|
i && delete i.lowerIsBetter;
|
|
358
261
|
}
|
|
359
|
-
function
|
|
360
|
-
const t =
|
|
262
|
+
function at(e) {
|
|
263
|
+
const t = J(e);
|
|
361
264
|
if (!t.length)
|
|
362
265
|
return { document: e, changed: !1, changes: [], diagnostics: [] };
|
|
363
266
|
const n = [];
|
|
364
267
|
if (t.forEach((s) => {
|
|
365
|
-
var
|
|
268
|
+
var r, m, p, l;
|
|
366
269
|
if (s.malformedMetricColumns && n.push({
|
|
367
270
|
severity: "error",
|
|
368
271
|
code: "malformed_metric_columns",
|
|
@@ -377,43 +280,43 @@ function ht(e) {
|
|
|
377
280
|
});
|
|
378
281
|
}), s.metrics.forEach(({ metric: c, index: b }) => {
|
|
379
282
|
if (!("comparisonType" in c)) return;
|
|
380
|
-
const
|
|
283
|
+
const f = `${s.path}.config.metricColumns[${b}]`, y = String(c.comparisonType || "");
|
|
381
284
|
"comparison" in c && n.push({
|
|
382
285
|
severity: "error",
|
|
383
286
|
code: "conflicting_comparison_contracts",
|
|
384
|
-
path:
|
|
287
|
+
path: f,
|
|
385
288
|
message: "Metric contains both legacy and canonical comparison configuration; resolve the conflict before migration."
|
|
386
289
|
});
|
|
387
|
-
const C = h(c.parameters) ? c.parameters : void 0,
|
|
388
|
-
N.has(y) && (
|
|
290
|
+
const C = h(c.parameters) ? c.parameters : void 0, Y = C && h(C.windowTransform) ? C.windowTransform : void 0;
|
|
291
|
+
N.has(y) && (Y == null ? void 0 : Y.function) === "previous_period_delta" && n.push({
|
|
389
292
|
severity: "error",
|
|
390
293
|
code: "conflicting_comparison_window_transform",
|
|
391
|
-
path:
|
|
294
|
+
path: f,
|
|
392
295
|
message: "A metric cannot combine baseline comparison with previous_period_delta; resolve the authoring intent before migration."
|
|
393
|
-
}),
|
|
296
|
+
}), Me.has(y) || n.push({
|
|
394
297
|
severity: "error",
|
|
395
298
|
code: "unsupported_comparison_type",
|
|
396
|
-
path: `${
|
|
299
|
+
path: `${f}.comparisonType`,
|
|
397
300
|
message: `Unsupported legacy metric comparison type "${y}".`
|
|
398
301
|
}), c.comparisonType === "target" && (typeof c.targetValue != "number" || !Number.isFinite(c.targetValue)) && n.push({
|
|
399
302
|
severity: "error",
|
|
400
303
|
code: "invalid_target_value",
|
|
401
|
-
path: `${
|
|
304
|
+
path: `${f}.targetValue`,
|
|
402
305
|
message: "Legacy target comparison requires a finite metric targetValue."
|
|
403
306
|
}), c.comparisonType === "start_vs_end" && n.push({
|
|
404
307
|
severity: "error",
|
|
405
308
|
code: "unsupported_start_vs_end",
|
|
406
|
-
path: `${
|
|
309
|
+
path: `${f}.comparisonType`,
|
|
407
310
|
message: "start_vs_end is retired and cannot be migrated automatically."
|
|
408
311
|
}), c.targetValue !== void 0 && c.comparisonType !== "target" && n.push({
|
|
409
312
|
severity: "warning",
|
|
410
313
|
code: "stray_target_value",
|
|
411
|
-
path: `${
|
|
314
|
+
path: `${f}.targetValue`,
|
|
412
315
|
message: "Dead non-target targetValue will be removed without changing the baseline."
|
|
413
316
|
});
|
|
414
317
|
}), s.hasLegacyPresentation) {
|
|
415
|
-
const { namespaces: c, kpi: b, table:
|
|
416
|
-
(
|
|
318
|
+
const { namespaces: c, kpi: b, table: f } = Q(s), y = [
|
|
319
|
+
(r = c.kpiOptions) == null ? void 0 : r.lowerIsBetter,
|
|
417
320
|
(m = c.kpiComparison) == null ? void 0 : m.lowerIsBetter,
|
|
418
321
|
(p = c.tableComparison) == null ? void 0 : p.lowerIsBetter
|
|
419
322
|
].filter((C) => typeof C == "boolean");
|
|
@@ -442,22 +345,22 @@ function ht(e) {
|
|
|
442
345
|
code: "conflicting_comparison_presentation_contracts",
|
|
443
346
|
path: `${s.path}.preferences.comparisonPresentation`,
|
|
444
347
|
message: "Card contains both legacy and canonical comparison presentation; resolve the conflict before migration."
|
|
445
|
-
}), c.kpiComparison && typeof c.kpiComparison.enabled == "boolean" && "metricPairComparisonEnabled" in (c.preferences || {}) &&
|
|
348
|
+
}), c.kpiComparison && typeof c.kpiComparison.enabled == "boolean" && "metricPairComparisonEnabled" in (c.preferences || {}) && F(s) && n.push({
|
|
446
349
|
severity: "error",
|
|
447
350
|
code: "conflicting_comparison_presentation_contracts",
|
|
448
351
|
path: `${s.path}.preferences.metricPairComparisonEnabled`,
|
|
449
352
|
message: "Card contains both legacy and canonical metric-pair enablement; resolve the conflict before migration."
|
|
450
|
-
}), c.kpiComparison &&
|
|
353
|
+
}), c.kpiComparison && K(
|
|
451
354
|
c.kpiComparison,
|
|
452
355
|
"kpi",
|
|
453
356
|
`${s.path}.preferences.kpiVisualOptions.metricComparison`,
|
|
454
357
|
n
|
|
455
|
-
), c.tableComparison &&
|
|
358
|
+
), c.tableComparison && K(
|
|
456
359
|
c.tableComparison,
|
|
457
360
|
"table",
|
|
458
361
|
`${s.path}.preferences.tableVisualOptions.metricComparison`,
|
|
459
362
|
n
|
|
460
|
-
), b &&
|
|
363
|
+
), b && f && JSON.stringify(G(b)) !== JSON.stringify(G(f)) && n.push({
|
|
461
364
|
severity: "error",
|
|
462
365
|
code: "conflicting_legacy_presentation_namespaces",
|
|
463
366
|
path: `${s.path}.preferences`,
|
|
@@ -466,36 +369,36 @@ function ht(e) {
|
|
|
466
369
|
}
|
|
467
370
|
}), n.some((s) => s.severity === "error"))
|
|
468
371
|
return { document: e, changed: !1, changes: [], diagnostics: n };
|
|
469
|
-
const o = JSON.parse(JSON.stringify(e)), i =
|
|
372
|
+
const o = JSON.parse(JSON.stringify(e)), i = J(o), a = [];
|
|
470
373
|
return i.forEach((s) => {
|
|
471
374
|
var m;
|
|
472
|
-
const
|
|
375
|
+
const r = Ee(s.card);
|
|
473
376
|
if (s.metrics.forEach(({ metric: p, index: l }) => {
|
|
474
377
|
if (!("comparisonType" in p)) return;
|
|
475
|
-
const c = String(p.comparisonType || ""), b = `${s.path}.config.metricColumns[${l}]`,
|
|
476
|
-
delete p.comparisonType, "targetValue" in p && (delete p.targetValue, y.push("targetValue")), "comparisonDisplay" in p && (delete p.comparisonDisplay, y.push("comparisonDisplay")),
|
|
378
|
+
const c = String(p.comparisonType || ""), b = `${s.path}.config.metricColumns[${l}]`, f = Ie(p), y = ["comparisonType"];
|
|
379
|
+
delete p.comparisonType, "targetValue" in p && (delete p.targetValue, y.push("targetValue")), "comparisonDisplay" in p && (delete p.comparisonDisplay, y.push("comparisonDisplay")), f ? p.comparison = f : delete p.comparison, N.has(c) && (p.comparisonPolarity = r), a.push({
|
|
477
380
|
kind: "metric",
|
|
478
381
|
path: b,
|
|
479
382
|
metricId: typeof p.id == "string" ? p.id : void 0,
|
|
480
383
|
legacyType: c,
|
|
481
|
-
comparison:
|
|
482
|
-
comparisonPolarity: N.has(c) ?
|
|
384
|
+
comparison: f,
|
|
385
|
+
comparisonPolarity: N.has(c) ? r : void 0,
|
|
483
386
|
removedFields: y
|
|
484
387
|
});
|
|
485
|
-
}),
|
|
486
|
-
const { namespaces: p, presentation: l } =
|
|
388
|
+
}), Te(s.card), s.hasLegacyPresentation) {
|
|
389
|
+
const { namespaces: p, presentation: l } = Q(s), c = (m = p.kpiComparison) == null ? void 0 : m.enabled, b = {
|
|
487
390
|
...l
|
|
488
391
|
};
|
|
489
|
-
typeof c == "boolean" &&
|
|
490
|
-
const
|
|
491
|
-
s.metrics.forEach(({ metric:
|
|
492
|
-
"comparisonPolarity" in
|
|
493
|
-
}), Object.keys(b).length && (C.comparisonPresentation = b),
|
|
392
|
+
typeof c == "boolean" && z(s.metrics) && (b.showComparison = c);
|
|
393
|
+
const f = typeof c == "boolean" && F(s) ? c : void 0, y = typeof c == "boolean" && !z(s.metrics) && !F(s) ? ["kpiVisualOptions.metricComparison.enabled"] : void 0, C = p.preferences, Y = [];
|
|
394
|
+
s.metrics.forEach(({ metric: A }) => {
|
|
395
|
+
"comparisonPolarity" in A || (A.comparisonPolarity = r, typeof A.id == "string" && Y.push(A.id));
|
|
396
|
+
}), Object.keys(b).length && (C.comparisonPresentation = b), f !== void 0 && (C.metricPairComparisonEnabled = f), p.kpiOptions && delete p.kpiOptions.metricComparison, p.tableOptions && delete p.tableOptions.metricComparison, a.push({
|
|
494
397
|
kind: "presentation",
|
|
495
398
|
path: `${s.path}.preferences`,
|
|
496
399
|
comparisonPresentation: Object.keys(b).length ? b : void 0,
|
|
497
|
-
metricPairComparisonEnabled:
|
|
498
|
-
comparisonPolarityMetricIds:
|
|
400
|
+
metricPairComparisonEnabled: f,
|
|
401
|
+
comparisonPolarityMetricIds: Y,
|
|
499
402
|
intentionallyDiscardedFields: y,
|
|
500
403
|
removedFields: [
|
|
501
404
|
...p.kpiComparison ? ["kpiVisualOptions.metricComparison"] : [],
|
|
@@ -503,132 +406,132 @@ function ht(e) {
|
|
|
503
406
|
]
|
|
504
407
|
});
|
|
505
408
|
}
|
|
506
|
-
}), { document: o, changed: !0, changes:
|
|
409
|
+
}), { document: o, changed: !0, changes: a, diagnostics: n };
|
|
507
410
|
}
|
|
508
|
-
function
|
|
411
|
+
function d(e) {
|
|
509
412
|
return typeof e == "string" && e.trim().length > 0 ? e.trim() : null;
|
|
510
413
|
}
|
|
511
|
-
function
|
|
414
|
+
function ie(e) {
|
|
512
415
|
return Array.from(new Set(e.filter((t) => !!t)));
|
|
513
416
|
}
|
|
514
|
-
function
|
|
515
|
-
const t =
|
|
516
|
-
return t ?
|
|
417
|
+
function De(e) {
|
|
418
|
+
const t = d(e.table), n = d(e.schema), o = d(e.catalog) || d(e.database);
|
|
419
|
+
return t ? ie([
|
|
517
420
|
t,
|
|
518
421
|
n ? `${n}.${t}` : null,
|
|
519
422
|
o ? `${o}.${t}` : null,
|
|
520
423
|
o && n ? `${o}.${n}.${t}` : null
|
|
521
424
|
]) : [];
|
|
522
425
|
}
|
|
523
|
-
function
|
|
524
|
-
const t =
|
|
525
|
-
return
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
426
|
+
function W(e) {
|
|
427
|
+
const t = d(e.table) || d(e.tableName);
|
|
428
|
+
return ie([
|
|
429
|
+
d(e.name),
|
|
430
|
+
d(e.alias),
|
|
431
|
+
...De({
|
|
529
432
|
table: t,
|
|
530
|
-
schema:
|
|
531
|
-
catalog:
|
|
532
|
-
database:
|
|
433
|
+
schema: d(e.schema) || d(e.schemaName),
|
|
434
|
+
catalog: d(e.catalog),
|
|
435
|
+
database: d(e.database) || d(e.databaseName)
|
|
533
436
|
})
|
|
534
437
|
]);
|
|
535
438
|
}
|
|
536
|
-
function
|
|
537
|
-
const n =
|
|
439
|
+
function Ae(e, t) {
|
|
440
|
+
const n = d(e.domainId), o = d(t.domainId);
|
|
538
441
|
if (n && o && n !== o)
|
|
539
442
|
return !0;
|
|
540
443
|
if (e.type === "dataset")
|
|
541
444
|
return !1;
|
|
542
|
-
const i =
|
|
543
|
-
if (i &&
|
|
445
|
+
const i = d(e.id), a = d(t.id);
|
|
446
|
+
if (i && a && i !== a)
|
|
544
447
|
return !0;
|
|
545
|
-
const s =
|
|
546
|
-
return !!(s &&
|
|
448
|
+
const s = d(e.connectionId), r = d(t.connectionId);
|
|
449
|
+
return !!(s && r && s !== r);
|
|
547
450
|
}
|
|
548
|
-
function
|
|
549
|
-
return
|
|
451
|
+
function x(e, t = !1) {
|
|
452
|
+
return d(e.table) || d(e.tableName) || (e.type !== "dataset" || t ? d(e.name) : null);
|
|
550
453
|
}
|
|
551
454
|
function V(e) {
|
|
552
|
-
return
|
|
455
|
+
return d(e.catalog) || d(e.database) || d(e.databaseName);
|
|
553
456
|
}
|
|
554
|
-
function
|
|
555
|
-
return
|
|
457
|
+
function R(e) {
|
|
458
|
+
return d(e.schema) || d(e.schemaName);
|
|
556
459
|
}
|
|
557
|
-
function
|
|
460
|
+
function w(e) {
|
|
558
461
|
return e.length === 1 ? e[0] : void 0;
|
|
559
462
|
}
|
|
560
|
-
function
|
|
561
|
-
const n =
|
|
463
|
+
function Ne(e, t) {
|
|
464
|
+
const n = x(t, !0), o = V(t), i = R(t);
|
|
562
465
|
if (!(!n || !o && !i))
|
|
563
|
-
return
|
|
564
|
-
e.filter((
|
|
565
|
-
const s =
|
|
566
|
-
return !(
|
|
466
|
+
return w(
|
|
467
|
+
e.filter((a) => {
|
|
468
|
+
const s = a;
|
|
469
|
+
return !(x(s) !== n || o && V(s) !== o || i && R(s) !== i);
|
|
567
470
|
})
|
|
568
471
|
);
|
|
569
472
|
}
|
|
570
|
-
function
|
|
473
|
+
function E(e, t) {
|
|
571
474
|
if (!t || !(e != null && e.length))
|
|
572
475
|
return;
|
|
573
476
|
const n = e.filter(
|
|
574
|
-
(
|
|
477
|
+
(r) => !Ae(r, t)
|
|
575
478
|
);
|
|
576
479
|
if (t.type === "dataset") {
|
|
577
|
-
const
|
|
578
|
-
if (
|
|
579
|
-
return
|
|
480
|
+
const r = d(t.id);
|
|
481
|
+
if (r)
|
|
482
|
+
return w(
|
|
580
483
|
n.filter(
|
|
581
|
-
(p) => p.type === "dataset" &&
|
|
484
|
+
(p) => p.type === "dataset" && d(p.id) === r
|
|
582
485
|
)
|
|
583
486
|
);
|
|
584
|
-
if (
|
|
585
|
-
const p =
|
|
586
|
-
return
|
|
487
|
+
if (d(t.domainId)) {
|
|
488
|
+
const p = d(t.name);
|
|
489
|
+
return w(
|
|
587
490
|
n.filter(
|
|
588
|
-
(l) => l.type === "dataset" &&
|
|
491
|
+
(l) => l.type === "dataset" && d(l.name) === p
|
|
589
492
|
)
|
|
590
493
|
);
|
|
591
494
|
}
|
|
592
495
|
}
|
|
593
496
|
let o = [];
|
|
594
497
|
if (t.type === "dataset") {
|
|
595
|
-
const
|
|
498
|
+
const r = d(t.name);
|
|
596
499
|
if (o = n.filter(
|
|
597
|
-
(m) => m.type === "dataset" &&
|
|
500
|
+
(m) => m.type === "dataset" && d(m.name) === r
|
|
598
501
|
), o.length === 1)
|
|
599
502
|
return o[0];
|
|
600
503
|
}
|
|
601
|
-
if (!!(
|
|
602
|
-
return
|
|
504
|
+
if (!!(x(t, !0) && (V(t) || R(t))))
|
|
505
|
+
return Ne(n, t);
|
|
603
506
|
if (o.length > 1)
|
|
604
507
|
return;
|
|
605
|
-
const
|
|
606
|
-
if (
|
|
508
|
+
const a = W(t);
|
|
509
|
+
if (a.length === 0)
|
|
607
510
|
return;
|
|
608
|
-
const s = n.filter((
|
|
609
|
-
|
|
511
|
+
const s = n.filter((r) => W(
|
|
512
|
+
r
|
|
610
513
|
).some(
|
|
611
|
-
(p) =>
|
|
514
|
+
(p) => a.includes(p)
|
|
612
515
|
));
|
|
613
|
-
return
|
|
516
|
+
return w(s);
|
|
614
517
|
}
|
|
615
|
-
function
|
|
616
|
-
const n =
|
|
518
|
+
function B(e, t) {
|
|
519
|
+
const n = E(e, t);
|
|
617
520
|
return n ? { ...t, ...n } : t;
|
|
618
521
|
}
|
|
619
|
-
function
|
|
522
|
+
function ct(e, t) {
|
|
620
523
|
const n = t || [];
|
|
621
524
|
return n.length === 0 ? e : {
|
|
622
525
|
...e,
|
|
623
|
-
baseEntity:
|
|
526
|
+
baseEntity: B(n, e.baseEntity),
|
|
624
527
|
joins: e.joins.map((o) => ({
|
|
625
528
|
...o,
|
|
626
|
-
source:
|
|
627
|
-
target:
|
|
529
|
+
source: B(n, o.source),
|
|
530
|
+
target: B(n, o.target)
|
|
628
531
|
}))
|
|
629
532
|
};
|
|
630
533
|
}
|
|
631
|
-
function
|
|
534
|
+
function lt(e, t) {
|
|
632
535
|
if (!(e != null && e.joins.length))
|
|
633
536
|
return [];
|
|
634
537
|
const n = [
|
|
@@ -636,7 +539,7 @@ function gt(e, t) {
|
|
|
636
539
|
...e.joins.flatMap((i) => [i.source, i.target])
|
|
637
540
|
], o = [];
|
|
638
541
|
return n.forEach((i) => {
|
|
639
|
-
!
|
|
542
|
+
!E(t, i) && !E(o, i) && o.push(i);
|
|
640
543
|
}), o;
|
|
641
544
|
}
|
|
642
545
|
function M(e) {
|
|
@@ -645,14 +548,14 @@ function M(e) {
|
|
|
645
548
|
function k(e) {
|
|
646
549
|
return M(e) && typeof e.name == "string";
|
|
647
550
|
}
|
|
648
|
-
function
|
|
551
|
+
function H(e) {
|
|
649
552
|
return !M(e) || e.kind !== "semantic" && e.kind !== "physical" || (e.kind === "semantic" ? [e.datasetId, e.datasetName, e.connectionId] : [e.databaseName, e.schemaName]).some(
|
|
650
553
|
(n) => n !== void 0 && typeof n != "string"
|
|
651
|
-
) ? !1 :
|
|
554
|
+
) ? !1 : me(
|
|
652
555
|
e
|
|
653
556
|
);
|
|
654
557
|
}
|
|
655
|
-
function
|
|
558
|
+
function we(e) {
|
|
656
559
|
return [
|
|
657
560
|
...e.groupByColumns ?? [],
|
|
658
561
|
...e.metricColumns ?? [],
|
|
@@ -661,38 +564,38 @@ function Be(e) {
|
|
|
661
564
|
...e.sortByColumns ?? []
|
|
662
565
|
];
|
|
663
566
|
}
|
|
664
|
-
function
|
|
567
|
+
function S(e) {
|
|
665
568
|
return e ? [
|
|
666
569
|
...(e.conditions ?? []).flatMap(
|
|
667
570
|
(t) => t.field ? [t.field] : []
|
|
668
571
|
),
|
|
669
|
-
...(e.groups ?? []).flatMap(
|
|
572
|
+
...(e.groups ?? []).flatMap(S)
|
|
670
573
|
] : [];
|
|
671
574
|
}
|
|
672
|
-
function
|
|
575
|
+
function se(e) {
|
|
673
576
|
var o, i;
|
|
674
|
-
const t = "parameters" in e ?
|
|
577
|
+
const t = "parameters" in e ? S((o = e.parameters) == null ? void 0 : o.filters) : [], n = ((i = e.calculatedFormula) == null ? void 0 : i.inputFields) ?? [];
|
|
675
578
|
return [
|
|
676
579
|
...t,
|
|
677
|
-
...n.flatMap((
|
|
580
|
+
...n.flatMap((a) => se(a))
|
|
678
581
|
];
|
|
679
582
|
}
|
|
680
|
-
function
|
|
583
|
+
function re(e) {
|
|
681
584
|
const t = Array.isArray(e == null ? void 0 : e.selectedEntities) ? e.selectedEntities.filter(k) : [];
|
|
682
|
-
return
|
|
585
|
+
return O(
|
|
683
586
|
t.flatMap((n) => {
|
|
684
|
-
const o =
|
|
587
|
+
const o = I(n, e);
|
|
685
588
|
return o ? [o] : [];
|
|
686
589
|
})
|
|
687
590
|
);
|
|
688
591
|
}
|
|
689
|
-
function
|
|
592
|
+
function j(e, t) {
|
|
690
593
|
const n = t.filter(
|
|
691
|
-
(o) =>
|
|
594
|
+
(o) => D(o, e)
|
|
692
595
|
);
|
|
693
596
|
return n.length === 1 ? n[0] : void 0;
|
|
694
597
|
}
|
|
695
|
-
function
|
|
598
|
+
function Oe(e, t) {
|
|
696
599
|
if (t.kind === "semantic")
|
|
697
600
|
return !!(e.entityId && e.entityId === t.datasetId || e.entityName && e.entityName === t.datasetName);
|
|
698
601
|
const n = [
|
|
@@ -702,68 +605,68 @@ function Le(e, t) {
|
|
|
702
605
|
].filter((o) => !!o).join(".");
|
|
703
606
|
return !!(e.entityName === t.tableName || e.qualifiedEntityName && e.qualifiedEntityName === n);
|
|
704
607
|
}
|
|
705
|
-
function
|
|
608
|
+
function $e(e, t) {
|
|
706
609
|
const n = Array.isArray(t == null ? void 0 : t.selectedEntities) ? t.selectedEntities.filter(k) : [], o = e.entityName || e.qualifiedEntityName;
|
|
707
610
|
if (!o) return;
|
|
708
|
-
const i = e.entityId ?
|
|
611
|
+
const i = e.entityId ? E(n, {
|
|
709
612
|
type: "dataset",
|
|
710
613
|
id: e.entityId,
|
|
711
614
|
name: o
|
|
712
615
|
}) : void 0;
|
|
713
616
|
if (i)
|
|
714
|
-
return
|
|
715
|
-
const
|
|
617
|
+
return I(i, t);
|
|
618
|
+
const a = E(n, {
|
|
716
619
|
type: (t == null ? void 0 : t.mode) === "semanticDomain" ? "dataset" : "table",
|
|
717
620
|
name: (t == null ? void 0 : t.mode) === "semanticDomain" ? o : e.qualifiedEntityName || o
|
|
718
621
|
});
|
|
719
|
-
if (
|
|
622
|
+
if (a && !((t == null ? void 0 : t.mode) === "semanticDomain" && e.entityId && ![
|
|
720
623
|
e.entityName,
|
|
721
624
|
e.qualifiedEntityName,
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
].filter((
|
|
725
|
-
return
|
|
726
|
-
}
|
|
727
|
-
function
|
|
728
|
-
var
|
|
729
|
-
const o = !!(
|
|
625
|
+
a.name,
|
|
626
|
+
a.type === "dataset" && "table" in a ? a.table : void 0
|
|
627
|
+
].filter((r) => !!r).includes(e.entityId)))
|
|
628
|
+
return I(a, t);
|
|
629
|
+
}
|
|
630
|
+
function Pe(e, t, n) {
|
|
631
|
+
var a, s, r;
|
|
632
|
+
const o = !!(ue(e) || (s = (a = e.calculatedFormula) == null ? void 0 : a.inputFields) != null && s.length || (r = e.derivedField) != null && r.inputs && Object.keys(e.derivedField.inputs).length > 0);
|
|
730
633
|
if (e.source && !o) {
|
|
731
|
-
const m =
|
|
634
|
+
const m = j(
|
|
732
635
|
e.source,
|
|
733
636
|
n
|
|
734
637
|
);
|
|
735
638
|
return m ? [m] : [];
|
|
736
639
|
}
|
|
737
|
-
const i =
|
|
738
|
-
return
|
|
640
|
+
const i = ye(e).datasets;
|
|
641
|
+
return O(
|
|
739
642
|
i.flatMap((m) => {
|
|
740
|
-
const l = e.source &&
|
|
643
|
+
const l = e.source && Oe(m, e.source) && j(e.source, n) || $e(m, t);
|
|
741
644
|
return l ? [l] : [];
|
|
742
645
|
})
|
|
743
646
|
);
|
|
744
647
|
}
|
|
745
|
-
function
|
|
746
|
-
const n =
|
|
648
|
+
function Fe(e, t) {
|
|
649
|
+
const n = re(t), o = we(e), i = S(e.filters), a = [
|
|
747
650
|
...i,
|
|
748
|
-
...[...o, ...i].flatMap(
|
|
651
|
+
...[...o, ...i].flatMap(se)
|
|
749
652
|
];
|
|
750
|
-
return
|
|
751
|
-
[...o, ...
|
|
752
|
-
(s) =>
|
|
653
|
+
return O(
|
|
654
|
+
[...o, ...a].flatMap(
|
|
655
|
+
(s) => Pe(s, t, n)
|
|
753
656
|
)
|
|
754
657
|
);
|
|
755
658
|
}
|
|
756
|
-
function
|
|
659
|
+
function Be(e, t, n) {
|
|
757
660
|
var i;
|
|
758
|
-
return
|
|
661
|
+
return H(e) ? !!!((i = t == null ? void 0 : t.selectedEntities) != null && i.length) || !n ? e : j(e, re(t)) : void 0;
|
|
759
662
|
}
|
|
760
|
-
function
|
|
663
|
+
function I(e, t) {
|
|
761
664
|
var p, l;
|
|
762
|
-
const n = Array.isArray(t == null ? void 0 : t.selectedEntities) ? t.selectedEntities.filter(k) : void 0, o =
|
|
763
|
-
if ((t == null ? void 0 : t.mode) === "semanticDomain" && !
|
|
665
|
+
const n = Array.isArray(t == null ? void 0 : t.selectedEntities) ? t.selectedEntities.filter(k) : void 0, o = E(n, e), i = o ? { ...e, ...o } : e, a = "domainId" in i && typeof i.domainId == "string" && !!i.domainId.trim();
|
|
666
|
+
if ((t == null ? void 0 : t.mode) === "semanticDomain" && !a)
|
|
764
667
|
return;
|
|
765
668
|
if ((t == null ? void 0 : t.mode) !== "database" && i.type === "dataset") {
|
|
766
|
-
const c =
|
|
669
|
+
const c = ge(
|
|
767
670
|
{
|
|
768
671
|
entities: [i],
|
|
769
672
|
semanticDomainId: t == null ? void 0 : t.semanticDomainId,
|
|
@@ -782,67 +685,67 @@ function E(e, t) {
|
|
|
782
685
|
}
|
|
783
686
|
if ((t == null ? void 0 : t.mode) === "semanticDomain")
|
|
784
687
|
return;
|
|
785
|
-
const s = i.connectionId || (t == null ? void 0 : t.connectionId),
|
|
786
|
-
if (!s || !
|
|
688
|
+
const s = i.connectionId || (t == null ? void 0 : t.connectionId), r = i.type === "dataset" && "table" in i && i.table ? i.table : i.name;
|
|
689
|
+
if (!s || !r)
|
|
787
690
|
return;
|
|
788
691
|
const m = {
|
|
789
692
|
kind: "physical",
|
|
790
693
|
connectionId: s,
|
|
791
694
|
connectionType: i.connectionType || (t == null ? void 0 : t.connectionType),
|
|
792
|
-
tableName:
|
|
695
|
+
tableName: r,
|
|
793
696
|
databaseName: i.database || ((p = t == null ? void 0 : t.dbSelection) == null ? void 0 : p.database),
|
|
794
697
|
schemaName: i.schema || ((l = t == null ? void 0 : t.dbSelection) == null ? void 0 : l.schema),
|
|
795
698
|
dialect: i.dialect
|
|
796
699
|
};
|
|
797
|
-
return
|
|
700
|
+
return H(m) ? m : void 0;
|
|
798
701
|
}
|
|
799
|
-
function
|
|
800
|
-
var
|
|
801
|
-
const n =
|
|
702
|
+
function Le(e, t) {
|
|
703
|
+
var r, m;
|
|
704
|
+
const n = I(e, t);
|
|
802
705
|
if (!n) return;
|
|
803
|
-
const o = e.type === "dataset" && "table" in e && typeof e.table == "string" ? e.table.trim() : void 0, i = n.kind === "physical" ? n.tableName : o,
|
|
804
|
-
connectionId:
|
|
805
|
-
databaseName: e.database || ((
|
|
706
|
+
const o = e.type === "dataset" && "table" in e && typeof e.table == "string" ? e.table.trim() : void 0, i = n.kind === "physical" ? n.tableName : o, a = e.connectionId || (t == null ? void 0 : t.connectionId), s = i && a ? {
|
|
707
|
+
connectionId: a,
|
|
708
|
+
databaseName: e.database || ((r = t == null ? void 0 : t.dbSelection) == null ? void 0 : r.database),
|
|
806
709
|
schemaName: e.schema || ((m = t == null ? void 0 : t.dbSelection) == null ? void 0 : m.schema),
|
|
807
710
|
tableName: i
|
|
808
711
|
} : void 0;
|
|
809
712
|
return { source: n, ...s ? { executionTable: s } : {} };
|
|
810
713
|
}
|
|
811
|
-
function
|
|
714
|
+
function xe(e) {
|
|
812
715
|
const t = M(e.dataSource) ? e.dataSource : void 0;
|
|
813
716
|
if (typeof e.sql == "string" && e.sql.trim()) {
|
|
814
|
-
const
|
|
717
|
+
const r = [], m = Array.isArray(t == null ? void 0 : t.selectedEntities) ? t.selectedEntities : [];
|
|
815
718
|
for (const p of m) {
|
|
816
719
|
if (!k(p)) continue;
|
|
817
|
-
const l =
|
|
818
|
-
l && !
|
|
819
|
-
(c) =>
|
|
720
|
+
const l = Le(p, t);
|
|
721
|
+
l && !r.some(
|
|
722
|
+
(c) => D(
|
|
820
723
|
c.source,
|
|
821
724
|
l.source
|
|
822
725
|
)
|
|
823
|
-
) &&
|
|
726
|
+
) && r.push(l);
|
|
824
727
|
}
|
|
825
728
|
return {
|
|
826
729
|
cardId: e.id,
|
|
827
730
|
kind: "sql",
|
|
828
|
-
pinnedCatalogSources:
|
|
731
|
+
pinnedCatalogSources: r
|
|
829
732
|
};
|
|
830
733
|
}
|
|
831
734
|
if (!M(e.config))
|
|
832
735
|
return { cardId: e.id, kind: "unconfigured" };
|
|
833
|
-
const n = e.config, o = [], i =
|
|
736
|
+
const n = e.config, o = [], i = Ce(e);
|
|
834
737
|
if (i.status === "invalid")
|
|
835
738
|
return { cardId: e.id, kind: "unconfigured" };
|
|
836
|
-
const
|
|
837
|
-
if (e.type === "matrixTable" && !
|
|
739
|
+
const a = i.status === "ready" ? i.config : void 0;
|
|
740
|
+
if (e.type === "matrixTable" && !a)
|
|
838
741
|
return { cardId: e.id, kind: "unconfigured" };
|
|
839
|
-
|
|
840
|
-
...
|
|
742
|
+
a && o.push(
|
|
743
|
+
...ve(a.spec).filter(H)
|
|
841
744
|
);
|
|
842
|
-
const s = (
|
|
745
|
+
const s = (a == null ? void 0 : a.spec.joinPlan) ?? (M(n.joinPlan) ? n.joinPlan : void 0);
|
|
843
746
|
if (s) {
|
|
844
|
-
const
|
|
845
|
-
for (const l of
|
|
747
|
+
const r = Array.isArray(s.joins) ? s.joins : [], m = [s.baseEntity];
|
|
748
|
+
for (const l of r)
|
|
846
749
|
M(l) && m.push(l.source, l.target);
|
|
847
750
|
let p = !1;
|
|
848
751
|
for (const l of m) {
|
|
@@ -850,21 +753,21 @@ function He(e) {
|
|
|
850
753
|
p = !0;
|
|
851
754
|
continue;
|
|
852
755
|
}
|
|
853
|
-
const c =
|
|
756
|
+
const c = I(l, t);
|
|
854
757
|
c ? o.push(c) : p = !0;
|
|
855
758
|
}
|
|
856
759
|
p && (o.length = 0);
|
|
857
760
|
} else if (e.type !== "matrixTable") {
|
|
858
|
-
const
|
|
859
|
-
if (
|
|
860
|
-
const p =
|
|
861
|
-
|
|
761
|
+
const r = Array.isArray(t == null ? void 0 : t.selectedEntities) ? t.selectedEntities : [];
|
|
762
|
+
if (r.length === 1 && k(r[0])) {
|
|
763
|
+
const p = I(
|
|
764
|
+
r[0],
|
|
862
765
|
t
|
|
863
766
|
);
|
|
864
767
|
p && o.push(p);
|
|
865
768
|
}
|
|
866
|
-
o.push(...
|
|
867
|
-
const m =
|
|
769
|
+
o.push(...Fe(n, t));
|
|
770
|
+
const m = Be(
|
|
868
771
|
n.queryBaseSource,
|
|
869
772
|
t,
|
|
870
773
|
o.length > 0
|
|
@@ -874,65 +777,65 @@ function He(e) {
|
|
|
874
777
|
return {
|
|
875
778
|
cardId: e.id,
|
|
876
779
|
kind: "config",
|
|
877
|
-
executableSources:
|
|
780
|
+
executableSources: O(o)
|
|
878
781
|
};
|
|
879
782
|
}
|
|
880
|
-
function
|
|
783
|
+
function pt(e, t) {
|
|
881
784
|
return (e.kind === "config" ? e.executableSources : e.kind === "sql" ? e.pinnedCatalogSources.map((o) => o.source) : []).some(
|
|
882
|
-
(o) =>
|
|
785
|
+
(o) => D(o, t)
|
|
883
786
|
);
|
|
884
787
|
}
|
|
885
|
-
function
|
|
788
|
+
function Ve(e, t) {
|
|
886
789
|
if (e.kind === "config")
|
|
887
790
|
return e.executableSources.find(
|
|
888
|
-
(n) =>
|
|
791
|
+
(n) => D(n, t)
|
|
889
792
|
);
|
|
890
793
|
}
|
|
891
|
-
function
|
|
794
|
+
function mt(e, t) {
|
|
892
795
|
var n;
|
|
893
|
-
return (n =
|
|
796
|
+
return (n = Re(e, t)) == null ? void 0 : n.source;
|
|
894
797
|
}
|
|
895
|
-
function
|
|
798
|
+
function Re(e, t) {
|
|
896
799
|
if (e.kind === "sql")
|
|
897
800
|
return e.pinnedCatalogSources.find(
|
|
898
|
-
(n) =>
|
|
801
|
+
(n) => D(n.source, t)
|
|
899
802
|
);
|
|
900
803
|
}
|
|
901
|
-
const
|
|
804
|
+
const ae = {
|
|
902
805
|
rowMembers: !0,
|
|
903
806
|
columnMembers: !0,
|
|
904
807
|
cells: !0
|
|
905
808
|
};
|
|
906
|
-
function
|
|
809
|
+
function je(e, t) {
|
|
907
810
|
return {
|
|
908
811
|
enabled: t === "on",
|
|
909
812
|
fields: e.type === "detailTable" ? { kind: "clickedCell" } : { kind: "wholeRow" },
|
|
910
813
|
multipleSelection: !0,
|
|
911
814
|
selectionCheckboxes: "auto",
|
|
912
|
-
...e.type === "matrixTable" ? { matrixSources: { ...
|
|
815
|
+
...e.type === "matrixTable" ? { matrixSources: { ...ae } } : {},
|
|
913
816
|
targets: { kind: "allSheets" },
|
|
914
817
|
cardMappings: []
|
|
915
818
|
};
|
|
916
819
|
}
|
|
917
|
-
const
|
|
918
|
-
function
|
|
820
|
+
const He = ["string", "number", "boolean", "date", "datetime"];
|
|
821
|
+
function Se(e) {
|
|
919
822
|
return (e.kind === "semantic" ? [e.datasetId, e.datasetName] : [
|
|
920
823
|
e.tableName,
|
|
921
824
|
[e.databaseName, e.schemaName, e.tableName].filter(Boolean).join(".")
|
|
922
|
-
]).filter((t) => !!t).map((t) =>
|
|
825
|
+
]).filter((t) => !!t).map((t) => ee(t));
|
|
923
826
|
}
|
|
924
|
-
function
|
|
827
|
+
function qe(e, t) {
|
|
925
828
|
if (t.kind !== "config" || e.expression || e.calculatedFormula) return;
|
|
926
|
-
const n =
|
|
927
|
-
if (!
|
|
829
|
+
const n = Z(e.dataType);
|
|
830
|
+
if (!He.includes(n)) return;
|
|
928
831
|
let o;
|
|
929
832
|
if (e.source)
|
|
930
|
-
o =
|
|
833
|
+
o = Ve(t, e.source);
|
|
931
834
|
else {
|
|
932
|
-
const i = [e.entityId, e.entityName, e.qualifiedEntityName].filter((s) => !!s).map((s) =>
|
|
933
|
-
(s) =>
|
|
835
|
+
const i = [e.entityId, e.entityName, e.qualifiedEntityName].filter((s) => !!s).map((s) => ee(s)), a = t.executableSources.filter(
|
|
836
|
+
(s) => Se(s).some((r) => i.includes(r))
|
|
934
837
|
);
|
|
935
|
-
|
|
838
|
+
a.length === 1 ? o = a[0] : !a.length && t.executableSources.length === 1 && (o = t.executableSources[0]);
|
|
936
839
|
}
|
|
937
840
|
if (!(!o || !e.name))
|
|
938
841
|
return {
|
|
@@ -942,7 +845,7 @@ function Ge(e, t) {
|
|
|
942
845
|
...e.sourceField && e.sourceField !== e.name ? { sourceField: e.sourceField } : {}
|
|
943
846
|
};
|
|
944
847
|
}
|
|
945
|
-
function
|
|
848
|
+
function Je(e, t) {
|
|
946
849
|
const { matrixSources: n, ...o } = t, i = t.fields.kind === "chosenColumns" ? {
|
|
947
850
|
kind: "chosenColumns",
|
|
948
851
|
clickedFieldKeys: [...new Set(t.fields.clickedFieldKeys)]
|
|
@@ -950,62 +853,62 @@ function Qe(e, t) {
|
|
|
950
853
|
return {
|
|
951
854
|
...o,
|
|
952
855
|
fields: i,
|
|
953
|
-
...e.type === "matrixTable" ? { matrixSources: n ?? { ...
|
|
856
|
+
...e.type === "matrixTable" ? { matrixSources: n ?? { ...ae } } : {}
|
|
954
857
|
};
|
|
955
858
|
}
|
|
956
|
-
function
|
|
859
|
+
function ut(e, t) {
|
|
957
860
|
var c, b;
|
|
958
861
|
if (e.clickToFilter)
|
|
959
|
-
return
|
|
960
|
-
const n =
|
|
961
|
-
(
|
|
862
|
+
return Je(e, e.clickToFilter);
|
|
863
|
+
const n = je(e, t), o = (((c = e.interactionConfig) == null ? void 0 : c.interactions) ?? []).filter(
|
|
864
|
+
(f) => f.mode === "clickFilter"
|
|
962
865
|
);
|
|
963
866
|
if (!o.length) return n;
|
|
964
|
-
const i =
|
|
965
|
-
let
|
|
867
|
+
const i = xe(e);
|
|
868
|
+
let a = !1;
|
|
966
869
|
const s = [];
|
|
967
|
-
for (const
|
|
968
|
-
if (((b =
|
|
969
|
-
|
|
870
|
+
for (const f of o) {
|
|
871
|
+
if (((b = f.trigger) == null ? void 0 : b.type) !== "attribute") {
|
|
872
|
+
a = !0;
|
|
970
873
|
continue;
|
|
971
874
|
}
|
|
972
|
-
const y =
|
|
973
|
-
|
|
875
|
+
const y = qe(
|
|
876
|
+
f.trigger.field,
|
|
974
877
|
i
|
|
975
878
|
);
|
|
976
879
|
if (!y) {
|
|
977
|
-
|
|
880
|
+
a = !0;
|
|
978
881
|
continue;
|
|
979
882
|
}
|
|
980
|
-
const C =
|
|
883
|
+
const C = de(y);
|
|
981
884
|
s.includes(C) || s.push(C);
|
|
982
885
|
}
|
|
983
|
-
const
|
|
984
|
-
(
|
|
886
|
+
const r = o.every(
|
|
887
|
+
(f) => f.applyToCardIds !== void 0
|
|
985
888
|
), m = [
|
|
986
|
-
...new Set(o.flatMap((
|
|
889
|
+
...new Set(o.flatMap((f) => f.applyToCardIds ?? []))
|
|
987
890
|
], p = o.filter(
|
|
988
|
-
(
|
|
989
|
-
), l =
|
|
990
|
-
...new Set(p.flatMap((
|
|
891
|
+
(f) => f.applyToCardIds === void 0
|
|
892
|
+
), l = r ? [] : [
|
|
893
|
+
...new Set(p.flatMap((f) => f.excludeCardIds ?? []))
|
|
991
894
|
].filter(
|
|
992
|
-
(
|
|
895
|
+
(f) => p.every((y) => {
|
|
993
896
|
var C;
|
|
994
|
-
return (C = y.excludeCardIds) == null ? void 0 : C.includes(
|
|
897
|
+
return (C = y.excludeCardIds) == null ? void 0 : C.includes(f);
|
|
995
898
|
})
|
|
996
899
|
);
|
|
997
900
|
return {
|
|
998
901
|
...n,
|
|
999
902
|
enabled: !0,
|
|
1000
|
-
fields:
|
|
1001
|
-
targets:
|
|
1002
|
-
cardMappings: l.map((
|
|
903
|
+
fields: a || !s.length ? { kind: "wholeRow" } : { kind: "chosenColumns", clickedFieldKeys: s },
|
|
904
|
+
targets: r ? { kind: "cards", cardIds: m } : { kind: "allSheets" },
|
|
905
|
+
cardMappings: l.map((f) => ({
|
|
1003
906
|
kind: "excluded",
|
|
1004
|
-
cardId:
|
|
907
|
+
cardId: f
|
|
1005
908
|
}))
|
|
1006
909
|
};
|
|
1007
910
|
}
|
|
1008
|
-
const
|
|
911
|
+
const ce = u.union([
|
|
1009
912
|
u.object({
|
|
1010
913
|
kind: u.literal("allSheets"),
|
|
1011
914
|
sheetKinds: u.array(u.enum(["dashboard", "document"])).optional()
|
|
@@ -1017,15 +920,15 @@ const ue = u.union([
|
|
|
1017
920
|
sheetId: u.string(),
|
|
1018
921
|
sectionIds: u.array(u.string())
|
|
1019
922
|
}).strict()
|
|
1020
|
-
]),
|
|
923
|
+
]), le = u.union([
|
|
1021
924
|
u.object({
|
|
1022
925
|
kind: u.literal("bound"),
|
|
1023
926
|
cardId: u.string().min(1),
|
|
1024
927
|
clickedFieldKey: u.string().min(1),
|
|
1025
|
-
target: u.object({ kind: u.literal("field"), field:
|
|
928
|
+
target: u.object({ kind: u.literal("field"), field: fe }).strict()
|
|
1026
929
|
}).strict(),
|
|
1027
930
|
u.object({ kind: u.literal("excluded"), cardId: u.string().min(1) }).strict()
|
|
1028
|
-
]),
|
|
931
|
+
]), ft = u.object({
|
|
1029
932
|
enabled: u.boolean(),
|
|
1030
933
|
fields: u.union([
|
|
1031
934
|
u.object({ kind: u.literal("wholeRow") }).strict(),
|
|
@@ -1042,12 +945,12 @@ const ue = u.union([
|
|
|
1042
945
|
columnMembers: u.boolean(),
|
|
1043
946
|
cells: u.boolean()
|
|
1044
947
|
}).strict().optional(),
|
|
1045
|
-
targets:
|
|
1046
|
-
cardMappings: u.array(
|
|
1047
|
-
}).strict(),
|
|
1048
|
-
targets:
|
|
1049
|
-
cardMappings: u.array(
|
|
1050
|
-
}).strict(),
|
|
948
|
+
targets: ce,
|
|
949
|
+
cardMappings: u.array(le)
|
|
950
|
+
}).strict(), dt = u.boolean(), ht = u.object({
|
|
951
|
+
targets: ce.nullable().optional(),
|
|
952
|
+
cardMappings: u.array(le).nullable().optional()
|
|
953
|
+
}).strict(), Ue = [
|
|
1051
954
|
"bar",
|
|
1052
955
|
"horizontalBar",
|
|
1053
956
|
"line",
|
|
@@ -1056,25 +959,25 @@ const ue = u.union([
|
|
|
1056
959
|
"combo",
|
|
1057
960
|
"stackedBar",
|
|
1058
961
|
"stackedLine"
|
|
1059
|
-
],
|
|
1060
|
-
|
|
962
|
+
], Ge = new Set(
|
|
963
|
+
Ue
|
|
1061
964
|
);
|
|
1062
|
-
function
|
|
1063
|
-
return typeof e == "string" &&
|
|
965
|
+
function ze(e) {
|
|
966
|
+
return typeof e == "string" && Ge.has(e);
|
|
1064
967
|
}
|
|
1065
|
-
function
|
|
1066
|
-
return e === "detailTable" || e === "table" || e === "aggregateTable" || e === "pivotTable" || e === "custom" ||
|
|
968
|
+
function bt(e) {
|
|
969
|
+
return e === "detailTable" || e === "table" || e === "aggregateTable" || e === "pivotTable" || e === "custom" || ze(e);
|
|
1067
970
|
}
|
|
1068
|
-
function
|
|
971
|
+
function X(e) {
|
|
1069
972
|
return !!(e != null && e.trim());
|
|
1070
973
|
}
|
|
1071
|
-
function
|
|
1072
|
-
return
|
|
974
|
+
function gt(e) {
|
|
975
|
+
return X(e.sql) || X(e.normalizedPython) ? "freeform" : e.hasExecutableConfig ? "config" : "none";
|
|
1073
976
|
}
|
|
1074
977
|
const P = {
|
|
1075
978
|
type: "temporal_bucket",
|
|
1076
979
|
presentation: { mode: "auto" }
|
|
1077
|
-
},
|
|
980
|
+
}, v = {
|
|
1078
981
|
value: "auto",
|
|
1079
982
|
label: "Automatic",
|
|
1080
983
|
format: P
|
|
@@ -1099,71 +1002,71 @@ function T(e, t) {
|
|
|
1099
1002
|
}
|
|
1100
1003
|
};
|
|
1101
1004
|
}
|
|
1102
|
-
function
|
|
1005
|
+
function _(e) {
|
|
1103
1006
|
return {
|
|
1104
1007
|
...g(e, "Custom format…"),
|
|
1105
1008
|
value: "custom",
|
|
1106
1009
|
custom: !0
|
|
1107
1010
|
};
|
|
1108
1011
|
}
|
|
1109
|
-
const
|
|
1012
|
+
const q = {
|
|
1110
1013
|
second: [
|
|
1111
|
-
|
|
1014
|
+
v,
|
|
1112
1015
|
g("HH:mm:ss", "14:30:45 (HH:mm:ss)"),
|
|
1113
1016
|
g(
|
|
1114
1017
|
"YYYY-MM-DD HH:mm:ss",
|
|
1115
1018
|
"2024-01-15 14:30:45 (YYYY-MM-DD HH:mm:ss)"
|
|
1116
1019
|
),
|
|
1117
|
-
|
|
1020
|
+
_("DD/MM/YYYY HH:mm:ss")
|
|
1118
1021
|
],
|
|
1119
1022
|
minute: [
|
|
1120
|
-
|
|
1023
|
+
v,
|
|
1121
1024
|
g("HH:mm", "14:30 (HH:mm)"),
|
|
1122
1025
|
g("YYYY-MM-DD HH:mm", "2024-01-15 14:30 (YYYY-MM-DD HH:mm)"),
|
|
1123
|
-
|
|
1026
|
+
_("DD/MM/YYYY HH:mm")
|
|
1124
1027
|
],
|
|
1125
1028
|
hour: [
|
|
1126
|
-
|
|
1029
|
+
v,
|
|
1127
1030
|
g("HH", "14 (HH)"),
|
|
1128
1031
|
g("YYYY-MM-DD HH", "2024-01-15 14 (YYYY-MM-DD HH)"),
|
|
1129
|
-
|
|
1032
|
+
_("DD/MM/YYYY HH")
|
|
1130
1033
|
],
|
|
1131
1034
|
day: [
|
|
1132
|
-
|
|
1035
|
+
v,
|
|
1133
1036
|
g("YYYY-MM-DD", "2024-01-15 (YYYY-MM-DD)"),
|
|
1134
1037
|
g("MM/DD/YYYY", "01/15/2024 (MM/DD/YYYY)"),
|
|
1135
1038
|
g("DD/MM/YYYY", "15/01/2024 (DD/MM/YYYY)"),
|
|
1136
1039
|
g("MMM DD, YYYY", "Jan 15, 2024 (MMM DD, YYYY)"),
|
|
1137
1040
|
g("MMMM DD, YYYY", "January 15, 2024 (MMMM DD, YYYY)"),
|
|
1138
|
-
|
|
1041
|
+
_("YYYY/MM/DD")
|
|
1139
1042
|
],
|
|
1140
1043
|
week: [
|
|
1141
|
-
|
|
1044
|
+
v,
|
|
1142
1045
|
T("week_of_short", "Week of Jan 15, 2024"),
|
|
1143
1046
|
T("week_of_long", "Week of January 15, 2024"),
|
|
1144
1047
|
g("YYYY-MM-DD", "2024-01-15 (YYYY-MM-DD)"),
|
|
1145
|
-
|
|
1048
|
+
_("YYYY/MM/DD")
|
|
1146
1049
|
],
|
|
1147
1050
|
month: [
|
|
1148
|
-
|
|
1051
|
+
v,
|
|
1149
1052
|
g("MMM YYYY", "Jan 2024 (MMM YYYY)"),
|
|
1150
1053
|
g("MMMM YYYY", "January 2024 (MMMM YYYY)"),
|
|
1151
1054
|
g("YYYY-MM", "2024-01 (YYYY-MM)"),
|
|
1152
1055
|
g("MM/YYYY", "01/2024 (MM/YYYY)"),
|
|
1153
1056
|
g("YYYY MMM", "2024 Jan (YYYY MMM)"),
|
|
1154
|
-
|
|
1057
|
+
_("YYYY/MM")
|
|
1155
1058
|
],
|
|
1156
1059
|
quarter: [
|
|
1157
|
-
|
|
1060
|
+
v,
|
|
1158
1061
|
T("quarter_short", "Q1 2024"),
|
|
1159
1062
|
T("quarter_long", "1st Quarter 2024")
|
|
1160
1063
|
],
|
|
1161
1064
|
year: [
|
|
1162
|
-
|
|
1065
|
+
v,
|
|
1163
1066
|
g("YYYY", "2024 (YYYY)"),
|
|
1164
1067
|
g("YY", "24 (YY)")
|
|
1165
1068
|
]
|
|
1166
|
-
},
|
|
1069
|
+
}, Ke = {
|
|
1167
1070
|
second: "2026-07-31T14:05:09",
|
|
1168
1071
|
minute: "2026-07-31T14:05:00",
|
|
1169
1072
|
hour: "2026-07-31T14:00:00",
|
|
@@ -1173,9 +1076,9 @@ const K = {
|
|
|
1173
1076
|
quarter: "2026-07-01",
|
|
1174
1077
|
year: "2026-01-01"
|
|
1175
1078
|
};
|
|
1176
|
-
function
|
|
1177
|
-
return
|
|
1178
|
-
value:
|
|
1079
|
+
function Qe(e, t, n = te) {
|
|
1080
|
+
return _e({
|
|
1081
|
+
value: Ke[t],
|
|
1179
1082
|
metadata: {
|
|
1180
1083
|
kind: "temporal_bucket",
|
|
1181
1084
|
granularity: t,
|
|
@@ -1207,33 +1110,33 @@ function tt(e, t, n = se) {
|
|
|
1207
1110
|
}
|
|
1208
1111
|
});
|
|
1209
1112
|
}
|
|
1210
|
-
function
|
|
1211
|
-
const o =
|
|
1212
|
-
(
|
|
1113
|
+
function yt(e, t, n = te) {
|
|
1114
|
+
const o = q[e], i = (t == null ? void 0 : t.presentation.mode) === "preset" ? t.presentation.preset : void 0, a = i && t && $(t, e).ok && !o.some(
|
|
1115
|
+
(r) => {
|
|
1213
1116
|
var m;
|
|
1214
|
-
return ((m =
|
|
1117
|
+
return ((m = r.format) == null ? void 0 : m.presentation.mode) === "preset" && r.format.presentation.preset === i;
|
|
1215
1118
|
}
|
|
1216
1119
|
) ? T(i, i) : void 0;
|
|
1217
|
-
return (
|
|
1218
|
-
if (!
|
|
1219
|
-
const m =
|
|
1220
|
-
|
|
1120
|
+
return (a ? [...o, a] : o).map((r) => {
|
|
1121
|
+
if (!r.format || r.custom) return r;
|
|
1122
|
+
const m = Qe(
|
|
1123
|
+
r.format,
|
|
1221
1124
|
e,
|
|
1222
1125
|
n
|
|
1223
1126
|
);
|
|
1224
|
-
return
|
|
1225
|
-
...
|
|
1226
|
-
label: `${m} (${
|
|
1227
|
-
} :
|
|
1127
|
+
return r.format.presentation.mode === "pattern" ? {
|
|
1128
|
+
...r,
|
|
1129
|
+
label: `${m} (${r.format.presentation.pattern})`
|
|
1130
|
+
} : r.format.presentation.mode === "auto" ? { ...r, label: `Automatic (${m})` } : { ...r, label: m };
|
|
1228
1131
|
});
|
|
1229
1132
|
}
|
|
1230
|
-
function
|
|
1231
|
-
const n =
|
|
1133
|
+
function Ct(e, t) {
|
|
1134
|
+
const n = q[t];
|
|
1232
1135
|
if (e.presentation.mode === "pattern") {
|
|
1233
1136
|
const o = e.presentation.pattern, i = n.find(
|
|
1234
|
-
(
|
|
1137
|
+
(a) => {
|
|
1235
1138
|
var s;
|
|
1236
|
-
return ((s =
|
|
1139
|
+
return ((s = a.format) == null ? void 0 : s.presentation.mode) === "pattern" && a.format.presentation.pattern === o;
|
|
1237
1140
|
}
|
|
1238
1141
|
);
|
|
1239
1142
|
return {
|
|
@@ -1245,14 +1148,14 @@ function Tt(e, t) {
|
|
|
1245
1148
|
if (e.presentation.mode === "preset") {
|
|
1246
1149
|
const o = e.presentation.preset, i = n.find(
|
|
1247
1150
|
(s) => {
|
|
1248
|
-
var
|
|
1249
|
-
return ((
|
|
1151
|
+
var r;
|
|
1152
|
+
return ((r = s.format) == null ? void 0 : r.presentation.mode) === "preset" && s.format.presentation.preset === o;
|
|
1250
1153
|
}
|
|
1251
|
-
),
|
|
1154
|
+
), a = $(
|
|
1252
1155
|
e,
|
|
1253
1156
|
t
|
|
1254
1157
|
).ok;
|
|
1255
|
-
return i ? { value: i.value, customPattern: "", format: e } :
|
|
1158
|
+
return i ? { value: i.value, customPattern: "", format: e } : a ? {
|
|
1256
1159
|
value: `preset:${o}`,
|
|
1257
1160
|
customPattern: "",
|
|
1258
1161
|
format: e
|
|
@@ -1260,73 +1163,67 @@ function Tt(e, t) {
|
|
|
1260
1163
|
}
|
|
1261
1164
|
return { value: "auto", customPattern: "", format: e };
|
|
1262
1165
|
}
|
|
1263
|
-
function
|
|
1166
|
+
function vt(e, t, n = "") {
|
|
1264
1167
|
var s;
|
|
1265
|
-
const o =
|
|
1266
|
-
(
|
|
1267
|
-
), i = t.startsWith("preset:") ? t.slice(7) : void 0,
|
|
1168
|
+
const o = q[e].find(
|
|
1169
|
+
(r) => r.value === t
|
|
1170
|
+
), i = t.startsWith("preset:") ? t.slice(7) : void 0, a = t === "custom" ? {
|
|
1268
1171
|
type: "temporal_bucket",
|
|
1269
1172
|
presentation: {
|
|
1270
1173
|
mode: "pattern",
|
|
1271
1174
|
pattern: n.trim() || (((s = o == null ? void 0 : o.format) == null ? void 0 : s.presentation.mode) === "pattern" ? o.format.presentation.pattern : "")
|
|
1272
1175
|
}
|
|
1273
|
-
} : (o == null ? void 0 : o.format) ?? (i &&
|
|
1176
|
+
} : (o == null ? void 0 : o.format) ?? (i && Ye(i) ? {
|
|
1274
1177
|
type: "temporal_bucket",
|
|
1275
1178
|
presentation: {
|
|
1276
1179
|
mode: "preset",
|
|
1277
1180
|
preset: i
|
|
1278
1181
|
}
|
|
1279
1182
|
} : void 0);
|
|
1280
|
-
return !
|
|
1183
|
+
return !a || !$(a, e).ok ? P : a;
|
|
1281
1184
|
}
|
|
1282
|
-
function
|
|
1185
|
+
function Yt(e, t) {
|
|
1283
1186
|
return $(e, t).ok ? e : P;
|
|
1284
1187
|
}
|
|
1285
|
-
const
|
|
1188
|
+
const pe = [
|
|
1286
1189
|
{ value: "COUNT", label: "Count" },
|
|
1287
1190
|
{ value: "DISTINCT", label: "Count Distinct" }
|
|
1288
|
-
],
|
|
1289
|
-
...
|
|
1191
|
+
], We = [
|
|
1192
|
+
...pe,
|
|
1290
1193
|
{ value: "SUM", label: "Sum" },
|
|
1291
1194
|
{ value: "AVG", label: "Average" },
|
|
1292
1195
|
{ value: "MIN", label: "Min" },
|
|
1293
1196
|
{ value: "MAX", label: "Max" },
|
|
1294
1197
|
{ value: "MEDIAN", label: "Median" }
|
|
1295
1198
|
];
|
|
1296
|
-
function
|
|
1297
|
-
return
|
|
1199
|
+
function _t(e) {
|
|
1200
|
+
return Z(e) === "number" ? We : pe;
|
|
1298
1201
|
}
|
|
1299
1202
|
export {
|
|
1300
1203
|
P as A,
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
qe as
|
|
1317
|
-
|
|
1318
|
-
Ue as m,
|
|
1319
|
-
z as n,
|
|
1320
|
-
Te as o,
|
|
1321
|
-
tt as p,
|
|
1204
|
+
Ue as S,
|
|
1205
|
+
gt as a,
|
|
1206
|
+
Ct as b,
|
|
1207
|
+
ft as c,
|
|
1208
|
+
vt as d,
|
|
1209
|
+
Yt as e,
|
|
1210
|
+
I as f,
|
|
1211
|
+
yt as g,
|
|
1212
|
+
xe as h,
|
|
1213
|
+
ze as i,
|
|
1214
|
+
pt as j,
|
|
1215
|
+
Ve as k,
|
|
1216
|
+
mt as l,
|
|
1217
|
+
Re as m,
|
|
1218
|
+
je as n,
|
|
1219
|
+
qe as o,
|
|
1220
|
+
Qe as p,
|
|
1322
1221
|
ut as q,
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
_t as y,
|
|
1331
|
-
Mt as z
|
|
1222
|
+
dt as r,
|
|
1223
|
+
bt as s,
|
|
1224
|
+
at as t,
|
|
1225
|
+
ht as u,
|
|
1226
|
+
_t as v,
|
|
1227
|
+
ct as w,
|
|
1228
|
+
lt as x
|
|
1332
1229
|
};
|