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,22 +1,22 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { useState as W, useEffect as ie, useCallback as
|
|
3
|
-
import { a3 as de, a0 as
|
|
4
|
-
import {
|
|
1
|
+
import { c as Le, C as Re, X as tt } from "./x-CXDkqdur.js";
|
|
2
|
+
import { useState as W, useEffect as ie, useCallback as z, useMemo as P, useRef as Se, Fragment as bt } from "react";
|
|
3
|
+
import { a3 as de, a0 as _e, u as Z, a6 as j, a2 as O, n as gt, o as xt, p as vt, c as fe, q as yt, ak as Ct, al as St, am as me, an as Be, ao as $e, ap as ke, aq as Ne, ar as kt, as as Nt, at as He, au as wt, av as Dt, aw as pe, ax as Et, ay as Pe, B as q, az as at, aA as rt, aB as st, m as oe, r as nt, s as we, t as De, v as Ee, w as Ie, x as Te, aC as ot, aD as It, aE as Tt, aF as We, aG as Ft, aH as Ke, aI as Vt, aJ as Lt, aK as _t, aL as At, aM as Fe, d as qt, L as lt, aN as Mt } from "./switch-BR3Xgbqr.js";
|
|
4
|
+
import { b2 as Ot, b3 as Ut, aD as zt, aR as ce, b4 as jt, b5 as Ae, b6 as Qt, b7 as Rt, b8 as Bt, b9 as $t, ba as Ht, aU as Pt, aQ as Wt, u as Kt, bb as Yt, bc as Gt, bd as Ye, be as Xt, bf as Jt, bg as it, bh as dt, bi as Zt, bj as ea, bk as ta, bl as aa, bm as ra, bn as sa, bo as na, bp as ct, bq as oa } from "./semaphor-ready-indicator-z4SNdxiC.js";
|
|
5
5
|
import { jsx as r, jsxs as f, Fragment as ee } from "react/jsx-runtime";
|
|
6
|
-
import { t as
|
|
7
|
-
import "./matrix-operation-contract-
|
|
6
|
+
import { t as la } from "./validators-DMSH81OM.js";
|
|
7
|
+
import "./matrix-operation-contract-BKupLHXL.js";
|
|
8
8
|
import "zod";
|
|
9
9
|
import "../value-format-preferences/index.js";
|
|
10
|
-
import { C as Ge } from "./selection-reducer-
|
|
11
|
-
import { f as
|
|
12
|
-
import { S as
|
|
10
|
+
import { C as Ge } from "./selection-reducer-CiDEtmAq.js";
|
|
11
|
+
import { f as ut, r as ia, g as da, a as ca, b as ua } from "./index-BQl5rC54.js";
|
|
12
|
+
import { S as mt } from "./save-DgMfP0j8.js";
|
|
13
13
|
/**
|
|
14
14
|
* @license lucide-react v0.453.0 - ISC
|
|
15
15
|
*
|
|
16
16
|
* This source code is licensed under the ISC license.
|
|
17
17
|
* See the LICENSE file in the root directory of this source tree.
|
|
18
18
|
*/
|
|
19
|
-
const
|
|
19
|
+
const Ra = Le("FilterX", [
|
|
20
20
|
["path", { d: "M13.013 3H2l8 9.46V19l4 2v-8.54l.9-1.055", key: "1fi1da" }],
|
|
21
21
|
["path", { d: "m22 3-5 5", key: "12jva0" }],
|
|
22
22
|
["path", { d: "m17 3 5 5", key: "k36vhe" }]
|
|
@@ -27,7 +27,7 @@ const Qa = Ae("FilterX", [
|
|
|
27
27
|
* This source code is licensed under the ISC license.
|
|
28
28
|
* See the LICENSE file in the root directory of this source tree.
|
|
29
29
|
*/
|
|
30
|
-
const
|
|
30
|
+
const ma = Le("Library", [
|
|
31
31
|
["path", { d: "m16 6 4 14", key: "ji33uf" }],
|
|
32
32
|
["path", { d: "M12 6v14", key: "1n7gus" }],
|
|
33
33
|
["path", { d: "M8 8v12", key: "1gg7y9" }],
|
|
@@ -39,13 +39,13 @@ const pa = Ae("Library", [
|
|
|
39
39
|
* This source code is licensed under the ISC license.
|
|
40
40
|
* See the LICENSE file in the root directory of this source tree.
|
|
41
41
|
*/
|
|
42
|
-
const
|
|
42
|
+
const pa = Le("Link2", [
|
|
43
43
|
["path", { d: "M9 17H7A5 5 0 0 1 7 7h2", key: "8i5ue5" }],
|
|
44
44
|
["path", { d: "M15 7h2a5 5 0 1 1 0 10h-2", key: "1b9ql8" }],
|
|
45
45
|
["line", { x1: "8", x2: "16", y1: "12", y2: "12", key: "1jonct" }]
|
|
46
46
|
]);
|
|
47
|
-
function
|
|
48
|
-
const [a, n] = W(null), [s, l] = W(null), d =
|
|
47
|
+
function fa(e) {
|
|
48
|
+
const [a, n] = W(null), [s, l] = W(null), d = Ot();
|
|
49
49
|
return ie(() => {
|
|
50
50
|
if (!e || e.trim() === "") {
|
|
51
51
|
n(null), l(null);
|
|
@@ -76,14 +76,14 @@ function ha(e) {
|
|
|
76
76
|
if (typeof v.useChartStore != "function")
|
|
77
77
|
throw new Error("useChartStore is not a function");
|
|
78
78
|
n(() => v.useChartStore), l(null);
|
|
79
|
-
} catch (
|
|
80
|
-
const u =
|
|
79
|
+
} catch (m) {
|
|
80
|
+
const u = m instanceof Error ? m.message : "Unknown error";
|
|
81
81
|
console.error("Failed to load remote chart store:", u), l(u), n(null);
|
|
82
82
|
}
|
|
83
83
|
})();
|
|
84
84
|
}, [e, d]), a;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function ha(e, a) {
|
|
87
87
|
if (e.length === 0)
|
|
88
88
|
return "";
|
|
89
89
|
const n = e.find(
|
|
@@ -101,23 +101,23 @@ function ba(e, a) {
|
|
|
101
101
|
if (l == "All__Header")
|
|
102
102
|
return e[0].id;
|
|
103
103
|
if (l && l.endsWith("__Header")) {
|
|
104
|
-
const p = l.split("__")[0],
|
|
104
|
+
const p = l.split("__")[0], m = e.find(
|
|
105
105
|
(u) => u.tabTitle === p
|
|
106
106
|
);
|
|
107
|
-
return
|
|
107
|
+
return m ? m.id : e[0].id;
|
|
108
108
|
}
|
|
109
109
|
return a;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
return e[0].id;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function ba(e, a) {
|
|
115
115
|
return a ? {
|
|
116
116
|
...e,
|
|
117
117
|
settings: a
|
|
118
118
|
} : e;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function ga(e, a) {
|
|
121
121
|
const n = a.selectedConnectionId || e.connectionId || "";
|
|
122
122
|
if (!e.dataSource) {
|
|
123
123
|
if (!n)
|
|
@@ -142,55 +142,54 @@ function ya(e, a) {
|
|
|
142
142
|
connectionId: a.selectedConnectionId || e.dataSource.connectionId || e.connectionId || ""
|
|
143
143
|
};
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function xa(e, {
|
|
146
146
|
isDevMode: a,
|
|
147
147
|
cardSql: n,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
stripConfig: b
|
|
148
|
+
selectedSchemaName: s,
|
|
149
|
+
selectedDatamodelId: l,
|
|
150
|
+
selectedDatabaseName: d,
|
|
151
|
+
selectedTableName: p,
|
|
152
|
+
selectedConnectionId: m,
|
|
153
|
+
remoteChartSettings: u,
|
|
154
|
+
stripConfig: v
|
|
156
155
|
}) {
|
|
157
|
-
const
|
|
156
|
+
const h = a || Ut(e);
|
|
158
157
|
return {
|
|
159
158
|
...e,
|
|
160
|
-
dataSource:
|
|
161
|
-
selectedConnectionId:
|
|
162
|
-
selectedDatabaseName:
|
|
163
|
-
selectedSchemaName:
|
|
164
|
-
selectedTableName:
|
|
159
|
+
dataSource: ga(e, {
|
|
160
|
+
selectedConnectionId: m,
|
|
161
|
+
selectedDatabaseName: d,
|
|
162
|
+
selectedSchemaName: s,
|
|
163
|
+
selectedTableName: p
|
|
165
164
|
}),
|
|
166
|
-
lastSelectedSchema:
|
|
167
|
-
lastSelectedDatamodelId:
|
|
168
|
-
lastSelectedDatabase:
|
|
169
|
-
lastSelectedTable:
|
|
170
|
-
connectionId:
|
|
171
|
-
sql:
|
|
172
|
-
python:
|
|
173
|
-
config: a || !e.config ? void 0 :
|
|
174
|
-
customCfg:
|
|
165
|
+
lastSelectedSchema: s,
|
|
166
|
+
lastSelectedDatamodelId: l,
|
|
167
|
+
lastSelectedDatabase: d,
|
|
168
|
+
lastSelectedTable: p,
|
|
169
|
+
connectionId: m || e.connectionId,
|
|
170
|
+
sql: h ? n || e.sql : void 0,
|
|
171
|
+
python: h ? e.python : void 0,
|
|
172
|
+
config: a || !e.config ? void 0 : v(e.config),
|
|
173
|
+
customCfg: e.customCfg,
|
|
175
174
|
preferences: e.preferences,
|
|
176
|
-
customCardPreferences:
|
|
175
|
+
customCardPreferences: ba(
|
|
177
176
|
e.customCardPreferences,
|
|
178
|
-
|
|
177
|
+
u
|
|
179
178
|
)
|
|
180
179
|
};
|
|
181
180
|
}
|
|
182
181
|
const Ve = /* @__PURE__ */ new Set();
|
|
183
|
-
function
|
|
182
|
+
function Ba(e) {
|
|
184
183
|
return Ve.add(e), () => {
|
|
185
184
|
Ve.delete(e);
|
|
186
185
|
};
|
|
187
186
|
}
|
|
188
|
-
function
|
|
187
|
+
function va() {
|
|
189
188
|
Ve.forEach((e) => {
|
|
190
189
|
e();
|
|
191
190
|
});
|
|
192
191
|
}
|
|
193
|
-
const
|
|
192
|
+
const ya = (e) => {
|
|
194
193
|
if (!e || !("detailTableBackup" in e))
|
|
195
194
|
return e;
|
|
196
195
|
const { detailTableBackup: a, ...n } = e;
|
|
@@ -203,7 +202,7 @@ async function Xe(e, a, n, s, l = "Opening library visual...") {
|
|
|
203
202
|
if (p)
|
|
204
203
|
return console.log("Using cached visual data for:", n), { data: p, fromCache: !0 };
|
|
205
204
|
console.log("Fetching visual data from network for:", n);
|
|
206
|
-
const
|
|
205
|
+
const m = j.loading(l, {
|
|
207
206
|
position: "top-center"
|
|
208
207
|
});
|
|
209
208
|
try {
|
|
@@ -218,141 +217,139 @@ async function Xe(e, a, n, s, l = "Opening library visual...") {
|
|
|
218
217
|
if (!u.ok)
|
|
219
218
|
throw new Error("Failed to load visual");
|
|
220
219
|
const v = await u.json();
|
|
221
|
-
return s.setQueryData(d, v), j.dismiss(
|
|
220
|
+
return s.setQueryData(d, v), j.dismiss(m), { data: v, fromCache: !1 };
|
|
222
221
|
} catch (u) {
|
|
223
|
-
throw j.dismiss(
|
|
222
|
+
throw j.dismiss(m), u;
|
|
224
223
|
}
|
|
225
224
|
}
|
|
226
|
-
function
|
|
225
|
+
function pt(e) {
|
|
227
226
|
if (typeof e == "string")
|
|
228
227
|
return JSON.parse(e);
|
|
229
228
|
if (typeof e == "object")
|
|
230
229
|
return e;
|
|
231
230
|
throw new Error("Invalid frame object format");
|
|
232
231
|
}
|
|
233
|
-
function
|
|
232
|
+
function Ca(e, a) {
|
|
234
233
|
var d, p;
|
|
235
234
|
const n = (e == null ? void 0 : e.frameObject) ?? ((d = e == null ? void 0 : e.visual) == null ? void 0 : d.frameObject);
|
|
236
235
|
if (!n)
|
|
237
236
|
return !1;
|
|
238
|
-
const s =
|
|
237
|
+
const s = pt(n);
|
|
239
238
|
if (!(s != null && s.cards) || s.cards.length === 0)
|
|
240
239
|
return !1;
|
|
241
240
|
const l = (p = s.cards) == null ? void 0 : p.find(
|
|
242
|
-
(
|
|
241
|
+
(m) => m.id === s.activeCardId
|
|
243
242
|
);
|
|
244
|
-
return l ? (
|
|
243
|
+
return l ? ($t({
|
|
245
244
|
...a,
|
|
246
245
|
frame: s,
|
|
247
246
|
card: l,
|
|
248
247
|
visualId: (e == null ? void 0 : e.id) || s.visualId
|
|
249
248
|
}), !0) : !1;
|
|
250
249
|
}
|
|
251
|
-
function
|
|
252
|
-
const e =
|
|
250
|
+
function Sa() {
|
|
251
|
+
const e = O(
|
|
253
252
|
(s) => {
|
|
254
253
|
var l;
|
|
255
254
|
return ((l = s.card.customCardPreferences) == null ? void 0 : l.url) || "";
|
|
256
255
|
}
|
|
257
|
-
), a =
|
|
258
|
-
return { getUpdatedFrame:
|
|
259
|
-
var
|
|
260
|
-
|
|
256
|
+
), a = fa(e);
|
|
257
|
+
return { getUpdatedFrame: z(() => {
|
|
258
|
+
var N;
|
|
259
|
+
va();
|
|
261
260
|
const {
|
|
262
261
|
frame: s,
|
|
263
262
|
card: l,
|
|
264
263
|
isDevMode: d,
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
} = M.getState(), x = l.sql, I = (V = a == null ? void 0 : a.getState()) == null ? void 0 : V.settings, S = va(l, {
|
|
264
|
+
selectedSchemaName: p,
|
|
265
|
+
selectedDatamodelId: m,
|
|
266
|
+
selectedDatabaseName: u,
|
|
267
|
+
selectedTableName: v,
|
|
268
|
+
selectedConnectionId: h
|
|
269
|
+
} = O.getState(), b = l.sql, C = (N = a == null ? void 0 : a.getState()) == null ? void 0 : N.settings, I = xa(l, {
|
|
272
270
|
isDevMode: d,
|
|
273
|
-
cardSql:
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
(B) => B.id === l.id ? S : B
|
|
271
|
+
cardSql: b,
|
|
272
|
+
selectedSchemaName: p,
|
|
273
|
+
selectedDatamodelId: m,
|
|
274
|
+
selectedDatabaseName: u,
|
|
275
|
+
selectedTableName: v,
|
|
276
|
+
selectedConnectionId: h,
|
|
277
|
+
remoteChartSettings: C,
|
|
278
|
+
stripConfig: ya
|
|
279
|
+
}), S = s.cards.map(
|
|
280
|
+
(V) => V.id === l.id ? I : V
|
|
284
281
|
);
|
|
285
282
|
return {
|
|
286
283
|
...s,
|
|
287
|
-
cards:
|
|
288
|
-
activeCardId:
|
|
284
|
+
cards: S,
|
|
285
|
+
activeCardId: ha(S, s.activeCardId)
|
|
289
286
|
};
|
|
290
287
|
}, [a]) };
|
|
291
288
|
}
|
|
292
289
|
function qe() {
|
|
293
|
-
const { authToken: e, tokenProps: a } =
|
|
290
|
+
const { authToken: e, tokenProps: a } = zt(), n = ce(), s = jt(), l = Ae(), { selectVisual: d } = Qt(), {
|
|
294
291
|
setFrame: p,
|
|
295
|
-
setCard:
|
|
292
|
+
setCard: m,
|
|
296
293
|
setIsDevMode: u,
|
|
297
294
|
initializeModeDrafts: v,
|
|
298
|
-
setActiveTabCardId:
|
|
299
|
-
updateDataSource:
|
|
300
|
-
setQueryResultColumns:
|
|
295
|
+
setActiveTabCardId: h,
|
|
296
|
+
updateDataSource: b,
|
|
297
|
+
setQueryResultColumns: C,
|
|
301
298
|
setSelectedConnectionId: I,
|
|
302
299
|
setSelectedDatabaseName: S,
|
|
303
300
|
setSelectedSchemaName: N,
|
|
304
301
|
setSelectedTableName: V,
|
|
305
|
-
setSelectedDatamodelId:
|
|
302
|
+
setSelectedDatamodelId: Y,
|
|
306
303
|
setFilterValues: G,
|
|
307
304
|
setInlineFilterValuesMap: Q,
|
|
308
|
-
setApplyFilters:
|
|
305
|
+
setApplyFilters: B,
|
|
309
306
|
clearEditorContext: te
|
|
310
307
|
} = de(), {
|
|
311
308
|
setIsDashboardEditing: T,
|
|
312
309
|
setIsVisualEditing: o,
|
|
313
310
|
setSelectedFrameId: w,
|
|
314
|
-
clearSelectedFrameId:
|
|
315
|
-
} =
|
|
316
|
-
(
|
|
317
|
-
),
|
|
311
|
+
clearSelectedFrameId: $
|
|
312
|
+
} = _e(), U = Z((L) => L.selectedSheetId), X = Z((L) => L.selectedFrameId), J = Z((L) => L.dashboard), ae = Z((L) => L.filterValues), M = Z(
|
|
313
|
+
(L) => L.inlineFilterValuesMap
|
|
314
|
+
), K = Rt((l == null ? void 0 : l.id) || "", {
|
|
318
315
|
enabled: !!(l != null && l.id) && !!(e != null && e.accessToken)
|
|
319
|
-
}), se =
|
|
320
|
-
async (
|
|
316
|
+
}), se = z(
|
|
317
|
+
async (L) => {
|
|
321
318
|
try {
|
|
322
|
-
d(
|
|
323
|
-
const { data: F, fromCache:
|
|
319
|
+
d(L), $(), te();
|
|
320
|
+
const { data: F, fromCache: H } = await Xe(
|
|
324
321
|
a.apiServiceUrl,
|
|
325
322
|
(e == null ? void 0 : e.accessToken) || "",
|
|
326
|
-
|
|
323
|
+
L.id,
|
|
327
324
|
n,
|
|
328
325
|
"Opening library visual..."
|
|
329
326
|
);
|
|
330
|
-
if (!
|
|
327
|
+
if (!Ca(F, {
|
|
331
328
|
setFrame: p,
|
|
332
|
-
setCard:
|
|
329
|
+
setCard: m,
|
|
333
330
|
setIsDevMode: u,
|
|
334
331
|
initializeModeDrafts: v,
|
|
335
|
-
setActiveTabCardId:
|
|
336
|
-
updateDataSource:
|
|
337
|
-
setQueryResultColumns:
|
|
332
|
+
setActiveTabCardId: h,
|
|
333
|
+
updateDataSource: b,
|
|
334
|
+
setQueryResultColumns: C,
|
|
338
335
|
setSelectedConnectionId: I,
|
|
339
336
|
setSelectedDatabaseName: S,
|
|
340
337
|
setSelectedSchemaName: N,
|
|
341
338
|
setSelectedTableName: V,
|
|
342
|
-
setSelectedDatamodelId:
|
|
339
|
+
setSelectedDatamodelId: Y,
|
|
343
340
|
setFilterValues: G,
|
|
344
341
|
setInlineFilterValuesMap: Q,
|
|
345
|
-
setApplyFilters:
|
|
342
|
+
setApplyFilters: B,
|
|
346
343
|
setIsDashboardEditing: T,
|
|
347
344
|
setIsVisualEditing: o,
|
|
348
345
|
dashboard: J,
|
|
349
|
-
selectedSheetId:
|
|
346
|
+
selectedSheetId: U,
|
|
350
347
|
selectedFrameId: X,
|
|
351
348
|
filterValues: ae,
|
|
352
|
-
inlineFilterValuesMap:
|
|
349
|
+
inlineFilterValuesMap: M
|
|
353
350
|
}))
|
|
354
351
|
throw new Error("Failed to setup editor with visual data");
|
|
355
|
-
return { success: !0, fromCache:
|
|
352
|
+
return { success: !0, fromCache: H };
|
|
356
353
|
} catch (F) {
|
|
357
354
|
return console.error("Error editing visual:", F), { success: !1, error: "Failed to load visual for editing" };
|
|
358
355
|
}
|
|
@@ -363,62 +360,62 @@ function qe() {
|
|
|
363
360
|
n,
|
|
364
361
|
d,
|
|
365
362
|
p,
|
|
366
|
-
|
|
363
|
+
m,
|
|
367
364
|
T,
|
|
368
365
|
o,
|
|
369
366
|
u,
|
|
370
367
|
v,
|
|
368
|
+
h,
|
|
371
369
|
b,
|
|
372
|
-
|
|
373
|
-
x,
|
|
370
|
+
C,
|
|
374
371
|
I,
|
|
375
372
|
S,
|
|
376
373
|
N,
|
|
377
374
|
V,
|
|
378
|
-
|
|
375
|
+
Y,
|
|
379
376
|
G,
|
|
380
377
|
Q,
|
|
381
|
-
|
|
378
|
+
B,
|
|
382
379
|
te,
|
|
383
|
-
|
|
380
|
+
$,
|
|
384
381
|
J,
|
|
385
|
-
|
|
382
|
+
U,
|
|
386
383
|
X,
|
|
387
384
|
ae,
|
|
388
|
-
|
|
385
|
+
M
|
|
389
386
|
]
|
|
390
|
-
), be =
|
|
391
|
-
async (
|
|
392
|
-
var
|
|
393
|
-
const F = (
|
|
387
|
+
), be = z(
|
|
388
|
+
async (L) => {
|
|
389
|
+
var H;
|
|
390
|
+
const F = (A) => (j.error(A), { success: !1, error: A });
|
|
394
391
|
try {
|
|
395
|
-
if (d(
|
|
392
|
+
if (d(L), !U)
|
|
396
393
|
return F("No sheet selected. Please select a sheet first.");
|
|
397
|
-
const { data:
|
|
394
|
+
const { data: A, fromCache: ge } = await Xe(
|
|
398
395
|
a.apiServiceUrl,
|
|
399
396
|
(e == null ? void 0 : e.accessToken) || "",
|
|
400
|
-
|
|
397
|
+
L.id,
|
|
401
398
|
n,
|
|
402
399
|
"Adding visual to dashboard..."
|
|
403
|
-
), ue = (
|
|
400
|
+
), ue = (A == null ? void 0 : A.frameObject) ?? ((H = A == null ? void 0 : A.visual) == null ? void 0 : H.frameObject);
|
|
404
401
|
if (!ue)
|
|
405
402
|
return F("Visual has no frame data");
|
|
406
|
-
const R =
|
|
403
|
+
const R = pt(ue);
|
|
407
404
|
if (!(R != null && R.cards) || R.cards.length === 0)
|
|
408
405
|
return F("Visual frame is malformed");
|
|
409
406
|
const le = {
|
|
410
|
-
...
|
|
411
|
-
visualId:
|
|
407
|
+
...Bt(R),
|
|
408
|
+
visualId: L.id
|
|
412
409
|
// Link this frame to the library visual
|
|
413
410
|
};
|
|
414
411
|
return await s(
|
|
415
|
-
|
|
412
|
+
U,
|
|
416
413
|
le,
|
|
417
414
|
"end"
|
|
418
415
|
), T(!0), w(le.id), { success: !0, fromCache: ge };
|
|
419
|
-
} catch (
|
|
420
|
-
return console.error("Error adding visual:",
|
|
421
|
-
|
|
416
|
+
} catch (A) {
|
|
417
|
+
return console.error("Error adding visual:", A), F(
|
|
418
|
+
A instanceof Error ? A.message : "Failed to add visual to dashboard"
|
|
422
419
|
);
|
|
423
420
|
}
|
|
424
421
|
},
|
|
@@ -427,25 +424,25 @@ function qe() {
|
|
|
427
424
|
a.apiServiceUrl,
|
|
428
425
|
n,
|
|
429
426
|
d,
|
|
430
|
-
|
|
427
|
+
U,
|
|
431
428
|
T,
|
|
432
429
|
w,
|
|
433
430
|
s
|
|
434
431
|
]
|
|
435
432
|
);
|
|
436
433
|
return {
|
|
437
|
-
visual:
|
|
438
|
-
isLoading:
|
|
439
|
-
isError:
|
|
440
|
-
error:
|
|
434
|
+
visual: K.data,
|
|
435
|
+
isLoading: K.isLoading,
|
|
436
|
+
isError: K.isError,
|
|
437
|
+
error: K.error,
|
|
441
438
|
handleEditLibraryVisual: se,
|
|
442
439
|
handleAddLibraryVisual: be,
|
|
443
|
-
getUpdatedFrame:
|
|
444
|
-
refetch:
|
|
440
|
+
getUpdatedFrame: Sa().getUpdatedFrame,
|
|
441
|
+
refetch: K.refetch
|
|
445
442
|
};
|
|
446
443
|
}
|
|
447
444
|
function $a() {
|
|
448
|
-
const e =
|
|
445
|
+
const e = O((p) => p.card.dataSource), {
|
|
449
446
|
setSelectedConnectionId: a,
|
|
450
447
|
setSelectedDatabaseName: n,
|
|
451
448
|
setSelectedSchemaName: s,
|
|
@@ -455,8 +452,8 @@ function $a() {
|
|
|
455
452
|
ie(() => {
|
|
456
453
|
var I;
|
|
457
454
|
if (!e) return;
|
|
458
|
-
const { tableName: p, schemaName:
|
|
459
|
-
a(v || ""), n(u || ""), s(
|
|
455
|
+
const { tableName: p, schemaName: m, databaseName: u, connectionId: v } = Ht(e), h = (I = e.selectedEntities) == null ? void 0 : I[0], C = (h == null ? void 0 : h.type) === "model" && "id" in h ? h.id : "";
|
|
456
|
+
a(v || ""), n(u || ""), s(m || ""), l(p || ""), d(C);
|
|
460
457
|
}, [
|
|
461
458
|
e,
|
|
462
459
|
a,
|
|
@@ -466,42 +463,42 @@ function $a() {
|
|
|
466
463
|
d
|
|
467
464
|
]);
|
|
468
465
|
}
|
|
469
|
-
function
|
|
466
|
+
function ka() {
|
|
470
467
|
var u, v;
|
|
471
|
-
const e =
|
|
472
|
-
() =>
|
|
468
|
+
const e = O((h) => h.card), a = O((h) => h.frame), n = P(
|
|
469
|
+
() => ut(a, e),
|
|
473
470
|
[a, e]
|
|
474
|
-
), { manifest: s } =
|
|
471
|
+
), { manifest: s } = Pt(
|
|
475
472
|
((u = n == null ? void 0 : n.customCardPreferences) == null ? void 0 : u.url) || ""
|
|
476
|
-
), l =
|
|
473
|
+
), l = P(
|
|
477
474
|
() => {
|
|
478
|
-
var
|
|
479
|
-
return (
|
|
480
|
-
(
|
|
481
|
-
var
|
|
482
|
-
return
|
|
475
|
+
var h;
|
|
476
|
+
return (h = s == null ? void 0 : s.visuals) == null ? void 0 : h.find(
|
|
477
|
+
(b) => {
|
|
478
|
+
var C;
|
|
479
|
+
return b.name === ((C = n == null ? void 0 : n.customCardPreferences) == null ? void 0 : C.componentName);
|
|
483
480
|
}
|
|
484
481
|
);
|
|
485
482
|
},
|
|
486
483
|
[s, (v = n == null ? void 0 : n.customCardPreferences) == null ? void 0 : v.componentName]
|
|
487
|
-
), d =
|
|
488
|
-
() =>
|
|
484
|
+
), d = ia(n, l), p = P(
|
|
485
|
+
() => da({
|
|
489
486
|
frame: a,
|
|
490
487
|
configCard: n,
|
|
491
488
|
isMultiInputVisual: d === "multiple"
|
|
492
489
|
}),
|
|
493
490
|
[a, n, d]
|
|
494
|
-
),
|
|
495
|
-
const
|
|
496
|
-
(
|
|
491
|
+
), m = P(() => {
|
|
492
|
+
const h = p.findIndex(
|
|
493
|
+
(b) => (b == null ? void 0 : b.id) === e.id
|
|
497
494
|
);
|
|
498
|
-
return
|
|
495
|
+
return h < 0 ? -1 : ca(e, h);
|
|
499
496
|
}, [p, e]);
|
|
500
|
-
return
|
|
497
|
+
return P(() => !n || d !== "multiple" || m < 0 ? e.type : ua(
|
|
501
498
|
e,
|
|
502
|
-
|
|
499
|
+
m,
|
|
503
500
|
l == null ? void 0 : l.slots
|
|
504
|
-
) ?? e.type, [n, d,
|
|
501
|
+
) ?? e.type, [n, d, m, e, l == null ? void 0 : l.slots]);
|
|
505
502
|
}
|
|
506
503
|
function Na(e, a) {
|
|
507
504
|
return {
|
|
@@ -518,33 +515,33 @@ function Na(e, a) {
|
|
|
518
515
|
};
|
|
519
516
|
}
|
|
520
517
|
function wa() {
|
|
521
|
-
const { setTempQueryData: e } = de(), a = ce(), n =
|
|
522
|
-
setCardSql:
|
|
518
|
+
const { setTempQueryData: e } = de(), a = ce(), n = O((Q) => Q.tempQueryData), s = O((Q) => Q.card), l = ka(), d = P(() => l !== s.type ? { ...s, type: l } : s, [s, l]), { queryKey: p } = Wt(d), {
|
|
519
|
+
setCardSql: m,
|
|
523
520
|
setSqlGen: u,
|
|
524
521
|
setCardPython: v,
|
|
525
|
-
setCardCustomCfg:
|
|
526
|
-
setCardPreferences:
|
|
527
|
-
clearQueryConfig:
|
|
522
|
+
setCardCustomCfg: h,
|
|
523
|
+
setCardPreferences: b,
|
|
524
|
+
clearQueryConfig: C,
|
|
528
525
|
setCardConfig: I,
|
|
529
526
|
setCardType: S,
|
|
530
527
|
setFrame: N,
|
|
531
528
|
setCard: V,
|
|
532
|
-
setActiveTabCardId:
|
|
529
|
+
setActiveTabCardId: Y
|
|
533
530
|
} = de();
|
|
534
531
|
function G() {
|
|
535
|
-
var
|
|
532
|
+
var $, U, X, J;
|
|
536
533
|
const Q = a.getQueryData(p);
|
|
537
534
|
n != null && n.queryData || e({
|
|
538
535
|
queryKey: p,
|
|
539
536
|
queryData: Q
|
|
540
|
-
}), a.setQueryData(p, null), a.removeQueries({ queryKey: p, exact: !0 }),
|
|
541
|
-
const
|
|
537
|
+
}), a.setQueryData(p, null), a.removeQueries({ queryKey: p, exact: !0 }), m(""), u({}), C(), I(void 0), v(""), h(""), b({});
|
|
538
|
+
const B = O.getState().frame, te = O.getState().card, T = ut(B, te), o = (($ = T == null ? void 0 : T.customCardPreferences) == null ? void 0 : $.visualType) === "multiple" || !!((U = T == null ? void 0 : T.customCardPreferences) != null && U.dataInputCardIds) || (((X = T == null ? void 0 : T.customCardPreferences) == null ? void 0 : X.minInputs) || 0) > 1 || (((J = T == null ? void 0 : T.customCardPreferences) == null ? void 0 : J.maxInputs) || 0) > 1, w = Na(te, o);
|
|
542
539
|
N({
|
|
543
|
-
...
|
|
544
|
-
cards:
|
|
540
|
+
...B,
|
|
541
|
+
cards: B.cards.map(
|
|
545
542
|
(ae) => ae.id === w.id ? w : ae
|
|
546
543
|
)
|
|
547
|
-
}),
|
|
544
|
+
}), Y(w.id), V(w), o || S("bar");
|
|
548
545
|
}
|
|
549
546
|
return G;
|
|
550
547
|
}
|
|
@@ -555,17 +552,17 @@ function Ha({
|
|
|
555
552
|
showLabel: s = !1,
|
|
556
553
|
showLocal: l = !1
|
|
557
554
|
}) {
|
|
558
|
-
const d = Z((N) => N.selectedFrameId), p =
|
|
555
|
+
const d = Z((N) => N.selectedFrameId), p = Kt((N) => N.selectedVisual), m = O((N) => N.frame);
|
|
559
556
|
let u;
|
|
560
557
|
if (e)
|
|
561
558
|
u = e;
|
|
562
559
|
else if (a !== void 0)
|
|
563
560
|
u = a ? "linked" : "library";
|
|
564
|
-
else if (!!!(
|
|
561
|
+
else if (!!!(m != null && m.visualId || p != null && p.id) && d)
|
|
565
562
|
u = "local";
|
|
566
563
|
else if (p && !d)
|
|
567
564
|
u = "library";
|
|
568
|
-
else if (
|
|
565
|
+
else if (m != null && m.visualId && d)
|
|
569
566
|
u = "linked";
|
|
570
567
|
else if (p != null && p.id && d)
|
|
571
568
|
u = "library";
|
|
@@ -577,30 +574,30 @@ function Ha({
|
|
|
577
574
|
local: "border-slate-200/70 bg-slate-50/80 text-slate-700 shadow-sm hover:bg-slate-100/80 dark:border-slate-700 dark:bg-slate-900/70 dark:text-slate-200 dark:hover:bg-slate-800/80",
|
|
578
575
|
linked: "border-purple-200/70 bg-gradient-to-r from-purple-50/50 to-purple-100/30 text-purple-900 shadow-sm hover:from-purple-100/60 hover:to-purple-100/50 hover:shadow-md dark:border-purple-800/50 dark:from-purple-950/40 dark:to-purple-900/30 dark:text-purple-100 dark:hover:from-purple-950/60 dark:hover:to-purple-900/50",
|
|
579
576
|
library: "border-blue-200/70 bg-gradient-to-r from-blue-50/50 to-blue-100/30 text-blue-900 shadow-sm hover:from-blue-100/60 hover:to-blue-100/50 hover:shadow-md dark:border-blue-800/50 dark:from-blue-950/40 dark:to-blue-900/30 dark:text-blue-100 dark:hover:from-blue-950/60 dark:hover:to-blue-900/50"
|
|
580
|
-
},
|
|
577
|
+
}, h = {
|
|
581
578
|
local: "Local to this dashboard: Changes made here only affect this dashboard copy.",
|
|
582
579
|
linked: "Linked to library: Changes made here update the library visual and all linked instances.",
|
|
583
580
|
library: "Library visual: Share and reuse this visual across multiple dashboards."
|
|
584
|
-
},
|
|
581
|
+
}, b = {
|
|
585
582
|
local: "border-slate-200 bg-slate-50 text-slate-900 dark:border-slate-700 dark:bg-slate-900 dark:text-slate-100",
|
|
586
583
|
linked: "border-purple-200 bg-purple-50 text-purple-900 dark:border-purple-800 dark:bg-purple-950 dark:text-purple-100",
|
|
587
584
|
library: "border-blue-200 bg-blue-50 text-blue-900 dark:border-blue-800 dark:bg-blue-950 dark:text-blue-100"
|
|
588
|
-
},
|
|
585
|
+
}, C = {
|
|
589
586
|
local: "fill-slate-50 dark:fill-slate-900",
|
|
590
587
|
linked: "fill-purple-50 dark:fill-purple-950",
|
|
591
588
|
library: "fill-blue-50 dark:fill-blue-950"
|
|
592
589
|
}, I = {
|
|
593
590
|
local: /* @__PURE__ */ r("span", { className: "h-2 w-2 rounded-full bg-current/70" }),
|
|
594
|
-
linked: /* @__PURE__ */ r(
|
|
595
|
-
library: /* @__PURE__ */ r(
|
|
591
|
+
linked: /* @__PURE__ */ r(pa, { className: "h-3.5 w-3.5" }),
|
|
592
|
+
library: /* @__PURE__ */ r(ma, { className: "h-3.5 w-3.5" })
|
|
596
593
|
}, S = {
|
|
597
594
|
local: "Local",
|
|
598
595
|
linked: "Linked",
|
|
599
596
|
library: "Library"
|
|
600
597
|
};
|
|
601
|
-
return /* @__PURE__ */ r(
|
|
602
|
-
/* @__PURE__ */ r(
|
|
603
|
-
|
|
598
|
+
return /* @__PURE__ */ r(gt, { children: /* @__PURE__ */ f(xt, { delayDuration: 300, children: [
|
|
599
|
+
/* @__PURE__ */ r(vt, { asChild: !0, children: /* @__PURE__ */ f(
|
|
600
|
+
Yt,
|
|
604
601
|
{
|
|
605
602
|
variant: "outline",
|
|
606
603
|
className: fe(
|
|
@@ -615,19 +612,19 @@ function Ha({
|
|
|
615
612
|
}
|
|
616
613
|
) }),
|
|
617
614
|
/* @__PURE__ */ f(
|
|
618
|
-
|
|
615
|
+
yt,
|
|
619
616
|
{
|
|
620
617
|
side: "bottom",
|
|
621
|
-
className: fe("max-w-xs",
|
|
618
|
+
className: fe("max-w-xs", b[u]),
|
|
622
619
|
children: [
|
|
623
|
-
/* @__PURE__ */ r(
|
|
624
|
-
/* @__PURE__ */ r("p", { children:
|
|
620
|
+
/* @__PURE__ */ r(Ct, { className: C[u] }),
|
|
621
|
+
/* @__PURE__ */ r("p", { children: h[u] })
|
|
625
622
|
]
|
|
626
623
|
}
|
|
627
624
|
)
|
|
628
625
|
] }) });
|
|
629
626
|
}
|
|
630
|
-
function
|
|
627
|
+
function ft(e) {
|
|
631
628
|
const { control: a, onChange: n } = e;
|
|
632
629
|
return /* @__PURE__ */ f("div", { className: "flex flex-col gap-1.5", children: [
|
|
633
630
|
/* @__PURE__ */ r(oe, { className: "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: "Label" }),
|
|
@@ -645,15 +642,15 @@ function bt(e) {
|
|
|
645
642
|
function Da(e) {
|
|
646
643
|
const { currentStep: a, labels: n } = e;
|
|
647
644
|
return /* @__PURE__ */ r("div", { className: "sticky top-0 z-10 -mx-1 border-b border-border/60 bg-background/95 px-1 pb-2.5 pt-1 backdrop-blur supports-[backdrop-filter]:bg-background/85", children: /* @__PURE__ */ r("div", { className: "flex flex-wrap items-center gap-2 sm:gap-2.5", children: n.map((s, l) => {
|
|
648
|
-
const d = l + 1, p = d === a,
|
|
649
|
-
return /* @__PURE__ */ f(
|
|
645
|
+
const d = l + 1, p = d === a, m = d < a;
|
|
646
|
+
return /* @__PURE__ */ f(bt, { children: [
|
|
650
647
|
/* @__PURE__ */ f("div", { className: "flex items-center gap-1.5", children: [
|
|
651
648
|
/* @__PURE__ */ r(
|
|
652
649
|
"span",
|
|
653
650
|
{
|
|
654
651
|
className: fe(
|
|
655
652
|
"flex h-5 w-5 items-center justify-center rounded-full border text-[10px] font-medium tabular-nums",
|
|
656
|
-
p ? "border-foreground bg-foreground text-background" :
|
|
653
|
+
p ? "border-foreground bg-foreground text-background" : m ? "border-foreground/30 bg-foreground/10 text-foreground" : "border-border/60 bg-background text-muted-foreground"
|
|
657
654
|
),
|
|
658
655
|
children: d
|
|
659
656
|
}
|
|
@@ -690,7 +687,7 @@ function he(e) {
|
|
|
690
687
|
function Ea(e) {
|
|
691
688
|
const { control: a, scope: n, detail: s } = e;
|
|
692
689
|
return /* @__PURE__ */ f("div", { className: "flex items-start gap-2.5 rounded-control border border-border/60 bg-muted/30 px-3 py-2.5", children: [
|
|
693
|
-
/* @__PURE__ */ r(
|
|
690
|
+
/* @__PURE__ */ r(na, { className: "mt-0.5 h-3.5 w-3.5 shrink-0 text-foreground" }),
|
|
694
691
|
/* @__PURE__ */ f("div", { className: "min-w-0 space-y-0.5", children: [
|
|
695
692
|
/* @__PURE__ */ r("div", { className: "text-[13px] font-medium text-foreground", children: a.label }),
|
|
696
693
|
/* @__PURE__ */ f("div", { className: "text-[12px] text-muted-foreground", children: [
|
|
@@ -714,17 +711,17 @@ function Je(e) {
|
|
|
714
711
|
availableMetricChoices: l,
|
|
715
712
|
previewControlDefinitions: d,
|
|
716
713
|
previewControlValues: p,
|
|
717
|
-
onControlChange:
|
|
714
|
+
onControlChange: m,
|
|
718
715
|
onLabelChange: u,
|
|
719
716
|
onDefaultValueChange: v,
|
|
720
|
-
onBack:
|
|
721
|
-
onNext:
|
|
722
|
-
nextDisabled:
|
|
717
|
+
onBack: h,
|
|
718
|
+
onNext: b,
|
|
719
|
+
nextDisabled: C
|
|
723
720
|
} = e;
|
|
724
721
|
return /* @__PURE__ */ f("div", { className: "space-y-3", children: [
|
|
725
|
-
/* @__PURE__ */ r(
|
|
722
|
+
/* @__PURE__ */ r(ft, { control: a, onChange: u }),
|
|
726
723
|
/* @__PURE__ */ r(
|
|
727
|
-
|
|
724
|
+
it,
|
|
728
725
|
{
|
|
729
726
|
control: a,
|
|
730
727
|
availableFieldChoices: s,
|
|
@@ -732,11 +729,11 @@ function Je(e) {
|
|
|
732
729
|
previewControlDefinitions: d,
|
|
733
730
|
previewControlValues: p,
|
|
734
731
|
controlLifecycle: "create",
|
|
735
|
-
onChange:
|
|
732
|
+
onChange: m
|
|
736
733
|
}
|
|
737
734
|
),
|
|
738
735
|
/* @__PURE__ */ r(
|
|
739
|
-
|
|
736
|
+
dt,
|
|
740
737
|
{
|
|
741
738
|
control: a,
|
|
742
739
|
value: n,
|
|
@@ -751,14 +748,14 @@ function Je(e) {
|
|
|
751
748
|
/* @__PURE__ */ r(
|
|
752
749
|
he,
|
|
753
750
|
{
|
|
754
|
-
secondary: /* @__PURE__ */ r(q, { type: "button", variant: "outline", size: "xs", onClick:
|
|
751
|
+
secondary: /* @__PURE__ */ r(q, { type: "button", variant: "outline", size: "xs", onClick: h, children: "Back" }),
|
|
755
752
|
primary: /* @__PURE__ */ r(
|
|
756
753
|
q,
|
|
757
754
|
{
|
|
758
755
|
type: "button",
|
|
759
756
|
size: "xs",
|
|
760
|
-
onClick:
|
|
761
|
-
disabled:
|
|
757
|
+
onClick: b,
|
|
758
|
+
disabled: C,
|
|
762
759
|
children: "Next"
|
|
763
760
|
}
|
|
764
761
|
)
|
|
@@ -802,10 +799,10 @@ function et(e) {
|
|
|
802
799
|
explorerContent: l,
|
|
803
800
|
sqlDescription: d,
|
|
804
801
|
summaryDetail: p,
|
|
805
|
-
onBack:
|
|
802
|
+
onBack: m,
|
|
806
803
|
onCancel: u,
|
|
807
804
|
onDone: v
|
|
808
|
-
} = e,
|
|
805
|
+
} = e, h = Ia.has(a.type), b = s.match(/\[\[param\.(.+?)\]\]/), C = b ? `{{ param('${b[1]}') }}` : "";
|
|
809
806
|
return /* @__PURE__ */ f("div", { className: "space-y-4", children: [
|
|
810
807
|
/* @__PURE__ */ r(
|
|
811
808
|
Ea,
|
|
@@ -818,7 +815,7 @@ function et(e) {
|
|
|
818
815
|
/* @__PURE__ */ f("div", { className: "space-y-2", children: [
|
|
819
816
|
/* @__PURE__ */ r("p", { className: "text-[13px] font-medium text-foreground", children: "How cards use this control" }),
|
|
820
817
|
/* @__PURE__ */ f("div", { className: "divide-y divide-border/60 overflow-hidden rounded-control border border-border/60", children: [
|
|
821
|
-
|
|
818
|
+
h ? /* @__PURE__ */ f("div", { className: "space-y-1 px-3 py-2.5", children: [
|
|
822
819
|
/* @__PURE__ */ r("p", { className: "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: "Explorer cards" }),
|
|
823
820
|
/* @__PURE__ */ r("div", { className: "text-[12px] text-muted-foreground", children: l })
|
|
824
821
|
] }) : null,
|
|
@@ -831,10 +828,10 @@ function et(e) {
|
|
|
831
828
|
ariaLabel: "Copy SQL control reference"
|
|
832
829
|
}
|
|
833
830
|
),
|
|
834
|
-
|
|
831
|
+
C ? /* @__PURE__ */ r(
|
|
835
832
|
Ze,
|
|
836
833
|
{
|
|
837
|
-
text:
|
|
834
|
+
text: C,
|
|
838
835
|
ariaLabel: "Copy Jinja control reference"
|
|
839
836
|
}
|
|
840
837
|
) : null,
|
|
@@ -859,7 +856,7 @@ function et(e) {
|
|
|
859
856
|
/* @__PURE__ */ r(
|
|
860
857
|
he,
|
|
861
858
|
{
|
|
862
|
-
secondary: /* @__PURE__ */ r(q, { type: "button", variant: "outline", size: "xs", onClick:
|
|
859
|
+
secondary: /* @__PURE__ */ r(q, { type: "button", variant: "outline", size: "xs", onClick: m, children: "Back" }),
|
|
863
860
|
tertiary: /* @__PURE__ */ r(q, { type: "button", variant: "outline", size: "xs", onClick: u, children: "Cancel" }),
|
|
864
861
|
primary: /* @__PURE__ */ r(q, { type: "button", size: "xs", onClick: v, children: "Done" })
|
|
865
862
|
}
|
|
@@ -893,7 +890,7 @@ function Ta(e) {
|
|
|
893
890
|
defaultValue: pe(n, void 0)
|
|
894
891
|
};
|
|
895
892
|
}
|
|
896
|
-
function
|
|
893
|
+
function Pa({
|
|
897
894
|
scope: e,
|
|
898
895
|
controls: a,
|
|
899
896
|
reservedControlIds: n,
|
|
@@ -901,20 +898,20 @@ function Ka({
|
|
|
901
898
|
onChange: l,
|
|
902
899
|
emptyMessage: d,
|
|
903
900
|
initialCreateFlow: p = !1,
|
|
904
|
-
usageByControlId:
|
|
901
|
+
usageByControlId: m,
|
|
905
902
|
availableFieldChoices: u,
|
|
906
903
|
availableMetricChoices: v,
|
|
907
|
-
structuralParticipants:
|
|
908
|
-
structuralParticipantIdsByControlId:
|
|
909
|
-
card:
|
|
904
|
+
structuralParticipants: h,
|
|
905
|
+
structuralParticipantIdsByControlId: b,
|
|
906
|
+
card: C,
|
|
910
907
|
allowedControlTypes: I,
|
|
911
908
|
onCreateFlowActiveChange: S,
|
|
912
909
|
onCreateFlowComplete: N
|
|
913
910
|
}) {
|
|
914
|
-
const V =
|
|
911
|
+
const V = P(
|
|
915
912
|
() => new Set(n || []),
|
|
916
913
|
[n]
|
|
917
|
-
),
|
|
914
|
+
), Y = It(e), G = St(e), [Q, B] = W(
|
|
918
915
|
null
|
|
919
916
|
), [te, T] = W(
|
|
920
917
|
null
|
|
@@ -923,17 +920,17 @@ function Ka({
|
|
|
923
920
|
step: 1,
|
|
924
921
|
control: me(e, a, Array.from(V))
|
|
925
922
|
} : null
|
|
926
|
-
),
|
|
927
|
-
const t =
|
|
923
|
+
), $ = Se({}), U = Se(void 0), X = Se(p), J = P(() => {
|
|
924
|
+
const t = Be({ scope: e, card: C });
|
|
928
925
|
if (!I)
|
|
929
926
|
return t;
|
|
930
927
|
const c = new Set(I);
|
|
931
928
|
return t.filter((i) => c.has(i.value));
|
|
932
|
-
}, [I,
|
|
929
|
+
}, [I, C, e]), ae = z(
|
|
933
930
|
(t) => {
|
|
934
|
-
const c =
|
|
931
|
+
const c = Be({
|
|
935
932
|
scope: e,
|
|
936
|
-
card:
|
|
933
|
+
card: C,
|
|
937
934
|
includeType: I ? void 0 : t
|
|
938
935
|
});
|
|
939
936
|
if (!I)
|
|
@@ -941,30 +938,30 @@ function Ka({
|
|
|
941
938
|
const i = new Set(I);
|
|
942
939
|
return c.filter((g) => i.has(g.value));
|
|
943
940
|
},
|
|
944
|
-
[I,
|
|
945
|
-
),
|
|
941
|
+
[I, C, e]
|
|
942
|
+
), M = z(
|
|
946
943
|
(t) => e === "dashboard" && (t === "field_selector" || t === "metric_selector"),
|
|
947
944
|
[e]
|
|
948
|
-
),
|
|
945
|
+
), K = P(
|
|
949
946
|
() => o ? $e(
|
|
950
|
-
|
|
947
|
+
h || [],
|
|
951
948
|
o.control.type
|
|
952
949
|
) : [],
|
|
953
|
-
[o,
|
|
954
|
-
), se =
|
|
950
|
+
[o, h]
|
|
951
|
+
), se = P(() => {
|
|
955
952
|
if (!o)
|
|
956
953
|
return {
|
|
957
954
|
fields: u || [],
|
|
958
955
|
metrics: v || []
|
|
959
956
|
};
|
|
960
|
-
if (!
|
|
957
|
+
if (!M(o.control.type))
|
|
961
958
|
return {
|
|
962
959
|
fields: u || [],
|
|
963
960
|
metrics: v || []
|
|
964
961
|
};
|
|
965
962
|
const t = o.selectedCardIds || [], c = ke({
|
|
966
963
|
controlType: o.control.type,
|
|
967
|
-
participants:
|
|
964
|
+
participants: h || [],
|
|
968
965
|
selectedCardIds: t
|
|
969
966
|
});
|
|
970
967
|
return {
|
|
@@ -981,8 +978,8 @@ function Ka({
|
|
|
981
978
|
u,
|
|
982
979
|
v,
|
|
983
980
|
o,
|
|
984
|
-
|
|
985
|
-
|
|
981
|
+
M,
|
|
982
|
+
h
|
|
986
983
|
]);
|
|
987
984
|
ie(() => {
|
|
988
985
|
S == null || S(!!o);
|
|
@@ -991,15 +988,15 @@ function Ka({
|
|
|
991
988
|
X.current = p, t && (w({
|
|
992
989
|
step: 1,
|
|
993
990
|
control: me(e, a, Array.from(V))
|
|
994
|
-
}), T(null),
|
|
991
|
+
}), T(null), B(null));
|
|
995
992
|
}, [a, p, V, e]);
|
|
996
993
|
const be = (t) => {
|
|
997
|
-
if (!
|
|
994
|
+
if (!M(t.type))
|
|
998
995
|
return {
|
|
999
996
|
fields: u || [],
|
|
1000
997
|
metrics: v || []
|
|
1001
998
|
};
|
|
1002
|
-
const c = (
|
|
999
|
+
const c = (b == null ? void 0 : b[t.id]) || [];
|
|
1003
1000
|
if (c.length === 0)
|
|
1004
1001
|
return {
|
|
1005
1002
|
fields: u || [],
|
|
@@ -1007,7 +1004,7 @@ function Ka({
|
|
|
1007
1004
|
};
|
|
1008
1005
|
const i = ke({
|
|
1009
1006
|
controlType: t.type,
|
|
1010
|
-
participants:
|
|
1007
|
+
participants: h || [],
|
|
1011
1008
|
selectedCardIds: c
|
|
1012
1009
|
});
|
|
1013
1010
|
return {
|
|
@@ -1020,96 +1017,96 @@ function Ka({
|
|
|
1020
1017
|
target: i.metricTargetMap[g.value]
|
|
1021
1018
|
})) : []
|
|
1022
1019
|
};
|
|
1023
|
-
},
|
|
1024
|
-
if (!
|
|
1020
|
+
}, L = (t) => {
|
|
1021
|
+
if (!M(t.control.type))
|
|
1025
1022
|
return {
|
|
1026
1023
|
nextControl: t.control,
|
|
1027
1024
|
cardBindingsById: void 0
|
|
1028
1025
|
};
|
|
1029
|
-
const c = (
|
|
1026
|
+
const c = (b == null ? void 0 : b[t.control.id]) || [], i = ke({
|
|
1030
1027
|
controlType: t.control.type,
|
|
1031
|
-
participants:
|
|
1028
|
+
participants: h || [],
|
|
1032
1029
|
selectedCardIds: t.nextSelectedCardIds
|
|
1033
|
-
}), g =
|
|
1030
|
+
}), g = _t({
|
|
1034
1031
|
control: t.control,
|
|
1035
1032
|
choices: i.choices
|
|
1036
|
-
}),
|
|
1033
|
+
}), y = Object.fromEntries(
|
|
1037
1034
|
c.filter((k) => !t.nextSelectedCardIds.includes(k)).map((k) => [k, void 0])
|
|
1038
1035
|
);
|
|
1039
1036
|
return t.nextSelectedCardIds.length > 0 && g.source.kind === "manual" && g.source.options.length > 0 && Object.assign(
|
|
1040
|
-
|
|
1041
|
-
|
|
1037
|
+
y,
|
|
1038
|
+
Ke({
|
|
1042
1039
|
control: g,
|
|
1043
|
-
participants:
|
|
1040
|
+
participants: h || [],
|
|
1044
1041
|
selectedCardIds: t.nextSelectedCardIds,
|
|
1045
1042
|
matrixTargetIds: t.matrixTargetIds
|
|
1046
1043
|
})
|
|
1047
1044
|
), {
|
|
1048
1045
|
nextControl: g,
|
|
1049
|
-
cardBindingsById:
|
|
1046
|
+
cardBindingsById: y
|
|
1050
1047
|
};
|
|
1051
|
-
}, F =
|
|
1048
|
+
}, F = z(
|
|
1052
1049
|
(t, c = s, i = { type: "update" }) => {
|
|
1053
|
-
const g = t.map((
|
|
1054
|
-
control:
|
|
1050
|
+
const g = t.map((y) => (Ne({
|
|
1051
|
+
control: y,
|
|
1055
1052
|
defaultValues: c
|
|
1056
|
-
}),
|
|
1057
|
-
|
|
1053
|
+
}), kt(
|
|
1054
|
+
y
|
|
1058
1055
|
)));
|
|
1059
1056
|
l(g, c, i);
|
|
1060
1057
|
},
|
|
1061
1058
|
[s, l]
|
|
1062
|
-
),
|
|
1059
|
+
), H = (t, c) => {
|
|
1063
1060
|
const i = a.find(
|
|
1064
1061
|
(E) => E.id === t
|
|
1065
1062
|
);
|
|
1066
1063
|
let g = a.map((E) => E.id !== t ? E : c(E));
|
|
1067
|
-
const
|
|
1064
|
+
const y = g.find(
|
|
1068
1065
|
(E) => E.id === t
|
|
1069
1066
|
);
|
|
1070
|
-
let k,
|
|
1071
|
-
if (
|
|
1072
|
-
const E = (
|
|
1073
|
-
control:
|
|
1067
|
+
let k, x;
|
|
1068
|
+
if (y && (!i || Vt({ control: i }, { control: y })) && e === "dashboard" && (y.type === "field_selector" || y.type === "metric_selector")) {
|
|
1069
|
+
const E = (b == null ? void 0 : b[y.id]) || [], ne = L({
|
|
1070
|
+
control: y,
|
|
1074
1071
|
nextSelectedCardIds: E
|
|
1075
1072
|
});
|
|
1076
1073
|
g = g.map(
|
|
1077
1074
|
(re) => re.id === t ? ne.nextControl : re
|
|
1078
|
-
), k = ne.cardBindingsById,
|
|
1079
|
-
} else if (i && (!
|
|
1080
|
-
const E = (
|
|
1075
|
+
), k = ne.cardBindingsById, x = [y.id];
|
|
1076
|
+
} else if (i && (!y || !Lt(y.type)) && e === "dashboard" && (i.type === "field_selector" || i.type === "metric_selector")) {
|
|
1077
|
+
const E = (b == null ? void 0 : b[i.id]) || [];
|
|
1081
1078
|
k = Object.fromEntries(
|
|
1082
1079
|
E.map((ne) => [ne, void 0])
|
|
1083
|
-
),
|
|
1080
|
+
), x = [i.id];
|
|
1084
1081
|
}
|
|
1085
1082
|
const D = g.find(
|
|
1086
1083
|
(E) => E.id === t
|
|
1087
1084
|
);
|
|
1088
|
-
let
|
|
1085
|
+
let _ = s;
|
|
1089
1086
|
if (i && D) {
|
|
1090
1087
|
const E = Ne({
|
|
1091
1088
|
control: i,
|
|
1092
1089
|
defaultValues: s
|
|
1093
1090
|
});
|
|
1094
|
-
i.source.kind === "manual" && D.source.kind === "sql_query" && (
|
|
1095
|
-
const ne = E === void 0 && i.source.kind === "sql_query" && D.source.kind === "manual" ?
|
|
1091
|
+
i.source.kind === "manual" && D.source.kind === "sql_query" && ($.current[t] = E);
|
|
1092
|
+
const ne = E === void 0 && i.source.kind === "sql_query" && D.source.kind === "manual" ? $.current[t] : E, re = We({
|
|
1096
1093
|
previousControl: i,
|
|
1097
1094
|
nextControl: D,
|
|
1098
1095
|
currentDefaultValue: ne
|
|
1099
1096
|
});
|
|
1100
|
-
D.source.kind === "manual" && (
|
|
1101
|
-
(
|
|
1097
|
+
D.source.kind === "manual" && ($.current[t] = re), s && (_ = { ...s }, re === void 0 ? delete _[t] : _[t] = re), g = g.map(
|
|
1098
|
+
(Qe) => Qe.id === t ? { ...D, defaultValue: re } : Qe
|
|
1102
1099
|
);
|
|
1103
1100
|
}
|
|
1104
|
-
F(g,
|
|
1101
|
+
F(g, _, {
|
|
1105
1102
|
type: "update",
|
|
1106
1103
|
cardBindingsById: k,
|
|
1107
|
-
affectedBindingControlIds:
|
|
1104
|
+
affectedBindingControlIds: x
|
|
1108
1105
|
});
|
|
1109
|
-
},
|
|
1106
|
+
}, A = (t, c) => {
|
|
1110
1107
|
if (!c.trim())
|
|
1111
1108
|
return;
|
|
1112
|
-
const i =
|
|
1109
|
+
const i = At(c);
|
|
1113
1110
|
if (i === t || V.has(i) || a.some(
|
|
1114
1111
|
(k) => k.id === i && k.id !== t
|
|
1115
1112
|
))
|
|
@@ -1125,8 +1122,8 @@ function Ka({
|
|
|
1125
1122
|
});
|
|
1126
1123
|
return;
|
|
1127
1124
|
}
|
|
1128
|
-
const
|
|
1129
|
-
Object.prototype.hasOwnProperty.call(
|
|
1125
|
+
const y = { ...s };
|
|
1126
|
+
Object.prototype.hasOwnProperty.call(y, t) && (y[i] = y[t], delete y[t]), F(g, y, {
|
|
1130
1127
|
type: "rename",
|
|
1131
1128
|
oldId: t,
|
|
1132
1129
|
newId: i
|
|
@@ -1139,41 +1136,41 @@ function Ka({
|
|
|
1139
1136
|
}
|
|
1140
1137
|
const i = { ...s };
|
|
1141
1138
|
delete i[t], F(c, i, { type: "remove", controlId: t });
|
|
1142
|
-
}, ue =
|
|
1143
|
-
|
|
1139
|
+
}, ue = z(() => {
|
|
1140
|
+
U.current = void 0, w({
|
|
1144
1141
|
step: 1,
|
|
1145
1142
|
control: me(e, a, Array.from(V))
|
|
1146
|
-
}), T(null),
|
|
1143
|
+
}), T(null), B(null);
|
|
1147
1144
|
}, [a, V, e]), R = (t) => {
|
|
1148
1145
|
w(
|
|
1149
1146
|
(c) => c && (() => {
|
|
1150
1147
|
const i = t(c.control);
|
|
1151
|
-
c.control.source.kind === "manual" && i.source.kind === "sql_query" && (
|
|
1152
|
-
const g = c.defaultValue === void 0 && c.control.source.kind === "sql_query" && i.source.kind === "manual" ?
|
|
1148
|
+
c.control.source.kind === "manual" && i.source.kind === "sql_query" && (U.current = c.defaultValue);
|
|
1149
|
+
const g = c.defaultValue === void 0 && c.control.source.kind === "sql_query" && i.source.kind === "manual" ? U.current : c.defaultValue, y = We({
|
|
1153
1150
|
previousControl: c.control,
|
|
1154
1151
|
nextControl: i,
|
|
1155
1152
|
currentDefaultValue: g
|
|
1156
1153
|
});
|
|
1157
|
-
return i.source.kind === "manual" && (
|
|
1154
|
+
return i.source.kind === "manual" && (U.current = y), {
|
|
1158
1155
|
...c,
|
|
1159
1156
|
control: i,
|
|
1160
|
-
defaultValue:
|
|
1157
|
+
defaultValue: y
|
|
1161
1158
|
};
|
|
1162
1159
|
})()
|
|
1163
1160
|
);
|
|
1164
1161
|
}, le = (t) => {
|
|
1165
1162
|
w(
|
|
1166
|
-
(c) => c && (c.control.source.kind === "manual" && (
|
|
1163
|
+
(c) => c && (c.control.source.kind === "manual" && (U.current = t), {
|
|
1167
1164
|
...c,
|
|
1168
1165
|
defaultValue: t
|
|
1169
1166
|
})
|
|
1170
1167
|
);
|
|
1171
|
-
},
|
|
1168
|
+
}, xe = (() => {
|
|
1172
1169
|
if (!o)
|
|
1173
1170
|
return !1;
|
|
1174
|
-
if (o.step === 2 &&
|
|
1175
|
-
return (o.selectedCardIds || []).length > 0 &&
|
|
1176
|
-
participants:
|
|
1171
|
+
if (o.step === 2 && M(o.control.type))
|
|
1172
|
+
return (o.selectedCardIds || []).length > 0 && Nt({
|
|
1173
|
+
participants: h || [],
|
|
1177
1174
|
selectedCardIds: o.selectedCardIds || [],
|
|
1178
1175
|
control: o.control,
|
|
1179
1176
|
selected: o.matrixTargetIds
|
|
@@ -1181,22 +1178,22 @@ function Ka({
|
|
|
1181
1178
|
if (o.step !== 2 && o.step !== 3 || !o.control.label.trim())
|
|
1182
1179
|
return !1;
|
|
1183
1180
|
const c = o.control.source.kind === "sql_query" ? o.control : He(o.control);
|
|
1184
|
-
if (c.source.kind === "manual" && (
|
|
1181
|
+
if (c.source.kind === "manual" && (wt(c) && c.source.options.length === 0 || c.source.options.some(
|
|
1185
1182
|
(g) => g.label.trim().length === 0 || g.value.trim().length === 0
|
|
1186
1183
|
)))
|
|
1187
1184
|
return !1;
|
|
1188
1185
|
if (c.source.kind === "sql_query") {
|
|
1189
|
-
const { connectionId: i, sql: g, valueColumn:
|
|
1190
|
-
return i.trim().length > 0 && g.trim().length > 0 &&
|
|
1186
|
+
const { connectionId: i, sql: g, valueColumn: y } = c.source;
|
|
1187
|
+
return i.trim().length > 0 && g.trim().length > 0 && y.trim().length > 0;
|
|
1191
1188
|
}
|
|
1192
|
-
return
|
|
1189
|
+
return Dt(
|
|
1193
1190
|
pe(c, o.defaultValue)
|
|
1194
1191
|
);
|
|
1195
1192
|
})(), Oe = () => {
|
|
1196
1193
|
var k;
|
|
1197
1194
|
if (!o)
|
|
1198
1195
|
return;
|
|
1199
|
-
const t = He(o.control), c =
|
|
1196
|
+
const t = He(o.control), c = Ft({
|
|
1200
1197
|
label: t.label,
|
|
1201
1198
|
fallbackId: t.id,
|
|
1202
1199
|
existingControls: a,
|
|
@@ -1204,27 +1201,27 @@ function Ka({
|
|
|
1204
1201
|
}), i = {
|
|
1205
1202
|
...t,
|
|
1206
1203
|
id: c
|
|
1207
|
-
}, g = e === "dashboard" && (i.type === "field_selector" || i.type === "metric_selector") && ((k = o.selectedCardIds) != null && k.length) ?
|
|
1204
|
+
}, g = e === "dashboard" && (i.type === "field_selector" || i.type === "metric_selector") && ((k = o.selectedCardIds) != null && k.length) ? Ke({
|
|
1208
1205
|
control: i,
|
|
1209
|
-
participants:
|
|
1206
|
+
participants: h || [],
|
|
1210
1207
|
selectedCardIds: o.selectedCardIds,
|
|
1211
1208
|
matrixTargetIds: o.matrixTargetIds
|
|
1212
|
-
}) : void 0,
|
|
1209
|
+
}) : void 0, y = pe(
|
|
1213
1210
|
i,
|
|
1214
1211
|
o.defaultValue
|
|
1215
1212
|
);
|
|
1216
1213
|
w({
|
|
1217
1214
|
step: e === "dashboard" && (i.type === "field_selector" || i.type === "metric_selector") ? 4 : 3,
|
|
1218
1215
|
control: i,
|
|
1219
|
-
defaultValue:
|
|
1216
|
+
defaultValue: y,
|
|
1220
1217
|
createdControlId: c,
|
|
1221
1218
|
selectedCardIds: o.selectedCardIds,
|
|
1222
1219
|
matrixTargetIds: o.matrixTargetIds,
|
|
1223
1220
|
cardBindingsById: g
|
|
1224
1221
|
});
|
|
1225
|
-
}, ve =
|
|
1222
|
+
}, ve = z(() => {
|
|
1226
1223
|
w(null);
|
|
1227
|
-
}, []),
|
|
1224
|
+
}, []), Ue = z(() => {
|
|
1228
1225
|
if (!(o != null && o.createdControlId)) {
|
|
1229
1226
|
w(null);
|
|
1230
1227
|
return;
|
|
@@ -1265,10 +1262,10 @@ function Ka({
|
|
|
1265
1262
|
}
|
|
1266
1263
|
);
|
|
1267
1264
|
T(c), w(null), N == null || N();
|
|
1268
|
-
}, [a, o, s, F, N]),
|
|
1265
|
+
}, [a, o, s, F, N]), ht = o ? M(o.control.type) ? ["Choose type", "Select cards", "Configure", "Finish"] : ["Choose type", "Configure", "Finish"] : [], ze = o != null && o.createdControlId ? `[[param.${o.createdControlId}]]` : o ? `[[param.${Et(o.control.label) || o.control.id}]]` : "", ye = Pe({
|
|
1269
1266
|
controls: a,
|
|
1270
1267
|
defaultValues: s
|
|
1271
|
-
}), Ce = o ? [...a, o.control] : a, je = o ?
|
|
1268
|
+
}), Ce = o ? [...a, o.control] : a, je = o ? Pe({
|
|
1272
1269
|
controls: Ce,
|
|
1273
1270
|
defaultValues: s,
|
|
1274
1271
|
overrides: [
|
|
@@ -1277,14 +1274,14 @@ function Ka({
|
|
|
1277
1274
|
value: o.defaultValue
|
|
1278
1275
|
}
|
|
1279
1276
|
]
|
|
1280
|
-
}) :
|
|
1277
|
+
}) : ye;
|
|
1281
1278
|
return /* @__PURE__ */ f("div", { className: "space-y-4", children: [
|
|
1282
1279
|
o ? /* @__PURE__ */ f("div", { className: "space-y-4 pb-1", children: [
|
|
1283
1280
|
/* @__PURE__ */ r(
|
|
1284
1281
|
Da,
|
|
1285
1282
|
{
|
|
1286
1283
|
currentStep: o.step,
|
|
1287
|
-
labels:
|
|
1284
|
+
labels: ht
|
|
1288
1285
|
}
|
|
1289
1286
|
),
|
|
1290
1287
|
o.step === 1 && (() => {
|
|
@@ -1302,7 +1299,7 @@ function Ka({
|
|
|
1302
1299
|
(k) => !t.has(k.value) && !c.has(k.value)
|
|
1303
1300
|
), g = J.filter(
|
|
1304
1301
|
(k) => t.has(k.value)
|
|
1305
|
-
),
|
|
1302
|
+
), y = (k) => /* @__PURE__ */ f(
|
|
1306
1303
|
"button",
|
|
1307
1304
|
{
|
|
1308
1305
|
type: "button",
|
|
@@ -1323,14 +1320,14 @@ function Ka({
|
|
|
1323
1320
|
k.value
|
|
1324
1321
|
);
|
|
1325
1322
|
return /* @__PURE__ */ f("div", { className: "space-y-4", children: [
|
|
1326
|
-
e === "card" && (
|
|
1323
|
+
e === "card" && (C == null ? void 0 : C.sql) == null ? /* @__PURE__ */ r("p", { className: "text-[12px] text-muted-foreground", children: "Explorer cards support displayed metric, group by field, aggregation, and time grain controls here." }) : null,
|
|
1327
1324
|
i.length > 0 && /* @__PURE__ */ f("div", { className: "space-y-1.5", children: [
|
|
1328
1325
|
/* @__PURE__ */ r("p", { className: "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: "Input controls" }),
|
|
1329
|
-
/* @__PURE__ */ r("div", { className: "grid gap-1.5 sm:grid-cols-2", children: i.map(
|
|
1326
|
+
/* @__PURE__ */ r("div", { className: "grid gap-1.5 sm:grid-cols-2", children: i.map(y) })
|
|
1330
1327
|
] }),
|
|
1331
1328
|
g.length > 0 && /* @__PURE__ */ f("div", { className: "space-y-1.5", children: [
|
|
1332
1329
|
/* @__PURE__ */ r("p", { className: "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: "Data-driven controls" }),
|
|
1333
|
-
/* @__PURE__ */ r("div", { className: "grid gap-1.5 sm:grid-cols-2", children: g.map(
|
|
1330
|
+
/* @__PURE__ */ r("div", { className: "grid gap-1.5 sm:grid-cols-2", children: g.map(y) })
|
|
1334
1331
|
] }),
|
|
1335
1332
|
/* @__PURE__ */ r(
|
|
1336
1333
|
he,
|
|
@@ -1349,10 +1346,10 @@ function Ka({
|
|
|
1349
1346
|
)
|
|
1350
1347
|
] });
|
|
1351
1348
|
})(),
|
|
1352
|
-
o.step === 2 &&
|
|
1349
|
+
o.step === 2 && M(o.control.type) && /* @__PURE__ */ f("div", { className: "space-y-3", children: [
|
|
1353
1350
|
/* @__PURE__ */ f("div", { className: "space-y-3", children: [
|
|
1354
1351
|
/* @__PURE__ */ r(
|
|
1355
|
-
|
|
1352
|
+
ft,
|
|
1356
1353
|
{
|
|
1357
1354
|
control: o.control,
|
|
1358
1355
|
onChange: (t) => R((c) => ({
|
|
@@ -1363,7 +1360,7 @@ function Ka({
|
|
|
1363
1360
|
),
|
|
1364
1361
|
/* @__PURE__ */ r("p", { className: "text-[12px] text-muted-foreground", children: "Choose which cards should respond to this shared control." })
|
|
1365
1362
|
] }),
|
|
1366
|
-
|
|
1363
|
+
K.length === 0 ? /* @__PURE__ */ r("div", { className: "rounded-control border border-border/60 bg-muted/30 px-3 py-2.5 text-[12px] text-muted-foreground", children: "No eligible cards are available yet. Add compatible metrics or group-by fields to cards first." }) : /* @__PURE__ */ r("div", { className: "space-y-1 rounded-control border border-border/60 bg-background p-2", children: K.map((t) => {
|
|
1367
1364
|
const c = (o.selectedCardIds || []).includes(t.cardId);
|
|
1368
1365
|
return /* @__PURE__ */ f(
|
|
1369
1366
|
"label",
|
|
@@ -1371,7 +1368,7 @@ function Ka({
|
|
|
1371
1368
|
className: "flex items-start gap-2 rounded-control px-1.5 py-1 text-[13px] hover:bg-muted/40",
|
|
1372
1369
|
children: [
|
|
1373
1370
|
/* @__PURE__ */ r(
|
|
1374
|
-
|
|
1371
|
+
Gt,
|
|
1375
1372
|
{
|
|
1376
1373
|
checked: c,
|
|
1377
1374
|
onCheckedChange: (i) => w(
|
|
@@ -1381,7 +1378,7 @@ function Ka({
|
|
|
1381
1378
|
...g.selectedCardIds || [],
|
|
1382
1379
|
t.cardId
|
|
1383
1380
|
] : (g.selectedCardIds || []).filter(
|
|
1384
|
-
(
|
|
1381
|
+
(y) => y !== t.cardId
|
|
1385
1382
|
)
|
|
1386
1383
|
}
|
|
1387
1384
|
)
|
|
@@ -1399,7 +1396,7 @@ function Ka({
|
|
|
1399
1396
|
/* @__PURE__ */ r(
|
|
1400
1397
|
Ye,
|
|
1401
1398
|
{
|
|
1402
|
-
participants:
|
|
1399
|
+
participants: K,
|
|
1403
1400
|
selectedCardIds: o.selectedCardIds || [],
|
|
1404
1401
|
control: o.control,
|
|
1405
1402
|
selected: o.matrixTargetIds,
|
|
@@ -1436,14 +1433,14 @@ function Ka({
|
|
|
1436
1433
|
step: 3
|
|
1437
1434
|
}
|
|
1438
1435
|
),
|
|
1439
|
-
disabled: !
|
|
1436
|
+
disabled: !xe,
|
|
1440
1437
|
children: "Next"
|
|
1441
1438
|
}
|
|
1442
1439
|
)
|
|
1443
1440
|
}
|
|
1444
1441
|
)
|
|
1445
1442
|
] }),
|
|
1446
|
-
o.step === 2 && !
|
|
1443
|
+
o.step === 2 && !M(o.control.type) && /* @__PURE__ */ r(
|
|
1447
1444
|
Je,
|
|
1448
1445
|
{
|
|
1449
1446
|
control: o.control,
|
|
@@ -1465,10 +1462,10 @@ function Ka({
|
|
|
1465
1462
|
}
|
|
1466
1463
|
),
|
|
1467
1464
|
onNext: Oe,
|
|
1468
|
-
nextDisabled: !
|
|
1465
|
+
nextDisabled: !xe
|
|
1469
1466
|
}
|
|
1470
1467
|
),
|
|
1471
|
-
o.step === 3 &&
|
|
1468
|
+
o.step === 3 && M(o.control.type) && /* @__PURE__ */ r(
|
|
1472
1469
|
Je,
|
|
1473
1470
|
{
|
|
1474
1471
|
control: o.control,
|
|
@@ -1490,15 +1487,15 @@ function Ka({
|
|
|
1490
1487
|
}
|
|
1491
1488
|
),
|
|
1492
1489
|
onNext: Oe,
|
|
1493
|
-
nextDisabled: !
|
|
1490
|
+
nextDisabled: !xe
|
|
1494
1491
|
}
|
|
1495
1492
|
),
|
|
1496
|
-
o.step === 3 && !
|
|
1493
|
+
o.step === 3 && !M(o.control.type) && /* @__PURE__ */ r(
|
|
1497
1494
|
et,
|
|
1498
1495
|
{
|
|
1499
1496
|
control: o.control,
|
|
1500
1497
|
scope: e,
|
|
1501
|
-
createdReference:
|
|
1498
|
+
createdReference: ze,
|
|
1502
1499
|
explorerContent: /* @__PURE__ */ f(ee, { children: [
|
|
1503
1500
|
"Open the card and use",
|
|
1504
1501
|
" ",
|
|
@@ -1514,15 +1511,15 @@ function Ka({
|
|
|
1514
1511
|
}
|
|
1515
1512
|
),
|
|
1516
1513
|
onCancel: ve,
|
|
1517
|
-
onDone:
|
|
1514
|
+
onDone: Ue
|
|
1518
1515
|
}
|
|
1519
1516
|
),
|
|
1520
|
-
o.step === 4 &&
|
|
1517
|
+
o.step === 4 && M(o.control.type) && /* @__PURE__ */ r(
|
|
1521
1518
|
et,
|
|
1522
1519
|
{
|
|
1523
1520
|
control: o.control,
|
|
1524
1521
|
scope: e,
|
|
1525
|
-
createdReference:
|
|
1522
|
+
createdReference: ze,
|
|
1526
1523
|
summaryDetail: /* @__PURE__ */ f(ee, { children: [
|
|
1527
1524
|
"Used by ",
|
|
1528
1525
|
(o.selectedCardIds || []).length,
|
|
@@ -1538,16 +1535,16 @@ function Ka({
|
|
|
1538
1535
|
}
|
|
1539
1536
|
),
|
|
1540
1537
|
onCancel: ve,
|
|
1541
|
-
onDone:
|
|
1538
|
+
onDone: Ue
|
|
1542
1539
|
}
|
|
1543
1540
|
)
|
|
1544
1541
|
] }) : null,
|
|
1545
1542
|
!o && a.length === 0 ? /* @__PURE__ */ r("div", { className: "rounded-md border border-dashed p-3 text-sm text-muted-foreground", children: d }) : null,
|
|
1546
1543
|
!o && a.map((t) => {
|
|
1547
|
-
const c = be(t), i =
|
|
1544
|
+
const c = be(t), i = m == null ? void 0 : m[t.id], g = Ne({
|
|
1548
1545
|
control: t,
|
|
1549
1546
|
defaultValues: s
|
|
1550
|
-
}),
|
|
1547
|
+
}), y = te === t.id, k = "inline-flex shrink-0 items-center rounded-[4px] border border-border/60 bg-muted/40 px-1.5 py-0.5 text-[11px] font-medium text-muted-foreground";
|
|
1551
1548
|
return /* @__PURE__ */ f(
|
|
1552
1549
|
"div",
|
|
1553
1550
|
{
|
|
@@ -1560,10 +1557,10 @@ function Ka({
|
|
|
1560
1557
|
type: "button",
|
|
1561
1558
|
className: "flex min-w-0 flex-1 items-start gap-2 rounded-control text-left focus:outline-none focus-visible:bg-muted/40",
|
|
1562
1559
|
onClick: () => T(
|
|
1563
|
-
(
|
|
1560
|
+
(x) => x === t.id ? null : t.id
|
|
1564
1561
|
),
|
|
1565
1562
|
children: [
|
|
1566
|
-
|
|
1563
|
+
y ? /* @__PURE__ */ r(Re, { className: "mt-0.5 h-3.5 w-3.5 shrink-0 text-muted-foreground" }) : /* @__PURE__ */ r(Ge, { className: "mt-0.5 h-3.5 w-3.5 shrink-0 text-muted-foreground" }),
|
|
1567
1564
|
/* @__PURE__ */ f("div", { className: "min-w-0", children: [
|
|
1568
1565
|
/* @__PURE__ */ f("div", { className: "flex flex-wrap items-center gap-1.5", children: [
|
|
1569
1566
|
/* @__PURE__ */ r("span", { className: "truncate text-[13px] font-medium text-foreground", children: t.label || "Untitled control" }),
|
|
@@ -1587,11 +1584,11 @@ function Ka({
|
|
|
1587
1584
|
className: "h-7 w-7 shrink-0 p-0 text-muted-foreground",
|
|
1588
1585
|
onClick: () => ge(t.id),
|
|
1589
1586
|
"aria-label": `Remove ${t.label}`,
|
|
1590
|
-
children: /* @__PURE__ */ r(
|
|
1587
|
+
children: /* @__PURE__ */ r(Xt, { className: "h-3.5 w-3.5" })
|
|
1591
1588
|
}
|
|
1592
1589
|
)
|
|
1593
1590
|
] }),
|
|
1594
|
-
|
|
1591
|
+
y && /* @__PURE__ */ f("div", { className: "space-y-4 border-t border-border/60 px-3 py-3", children: [
|
|
1595
1592
|
/* @__PURE__ */ f("div", { className: "grid gap-3 md:grid-cols-3", children: [
|
|
1596
1593
|
/* @__PURE__ */ f("div", { className: "flex flex-col gap-1.5", children: [
|
|
1597
1594
|
/* @__PURE__ */ r(oe, { className: "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: "Label" }),
|
|
@@ -1601,9 +1598,9 @@ function Ka({
|
|
|
1601
1598
|
size: "xs",
|
|
1602
1599
|
value: t.label,
|
|
1603
1600
|
placeholder: "Control label",
|
|
1604
|
-
onChange: (
|
|
1601
|
+
onChange: (x) => H(t.id, (D) => ({
|
|
1605
1602
|
...D,
|
|
1606
|
-
label:
|
|
1603
|
+
label: x.target.value
|
|
1607
1604
|
}))
|
|
1608
1605
|
}
|
|
1609
1606
|
)
|
|
@@ -1614,11 +1611,11 @@ function Ka({
|
|
|
1614
1611
|
we,
|
|
1615
1612
|
{
|
|
1616
1613
|
value: t.type,
|
|
1617
|
-
onValueChange: (
|
|
1614
|
+
onValueChange: (x) => {
|
|
1618
1615
|
const D = ot({
|
|
1619
1616
|
controls: a,
|
|
1620
1617
|
controlId: t.id,
|
|
1621
|
-
nextType:
|
|
1618
|
+
nextType: x,
|
|
1622
1619
|
defaultValues: s
|
|
1623
1620
|
});
|
|
1624
1621
|
F(D.controls, D.defaultValues);
|
|
@@ -1626,13 +1623,13 @@ function Ka({
|
|
|
1626
1623
|
children: [
|
|
1627
1624
|
/* @__PURE__ */ r(De, { size: "xs", children: /* @__PURE__ */ r(Ee, {}) }),
|
|
1628
1625
|
/* @__PURE__ */ r(Ie, { children: ae(t.type).map(
|
|
1629
|
-
(
|
|
1626
|
+
(x) => /* @__PURE__ */ r(
|
|
1630
1627
|
Te,
|
|
1631
1628
|
{
|
|
1632
|
-
value:
|
|
1633
|
-
children:
|
|
1629
|
+
value: x.value,
|
|
1630
|
+
children: x.label
|
|
1634
1631
|
},
|
|
1635
|
-
|
|
1632
|
+
x.value
|
|
1636
1633
|
)
|
|
1637
1634
|
) })
|
|
1638
1635
|
]
|
|
@@ -1645,40 +1642,40 @@ function Ka({
|
|
|
1645
1642
|
we,
|
|
1646
1643
|
{
|
|
1647
1644
|
value: t.placement || G,
|
|
1648
|
-
onValueChange: (
|
|
1645
|
+
onValueChange: (x) => H(t.id, (D) => ({
|
|
1649
1646
|
...D,
|
|
1650
|
-
placement:
|
|
1647
|
+
placement: x
|
|
1651
1648
|
})),
|
|
1652
1649
|
children: [
|
|
1653
1650
|
/* @__PURE__ */ r(De, { size: "xs", children: /* @__PURE__ */ r(Ee, {}) }),
|
|
1654
|
-
/* @__PURE__ */ r(Ie, { children:
|
|
1651
|
+
/* @__PURE__ */ r(Ie, { children: Y.map((x) => /* @__PURE__ */ r(Te, { value: x.value, children: x.label }, x.value)) })
|
|
1655
1652
|
]
|
|
1656
1653
|
}
|
|
1657
1654
|
)
|
|
1658
1655
|
] })
|
|
1659
1656
|
] }),
|
|
1660
|
-
|
|
1657
|
+
M(t.type) ? /* @__PURE__ */ f(ee, { children: [
|
|
1661
1658
|
/* @__PURE__ */ r(
|
|
1662
|
-
|
|
1659
|
+
Jt,
|
|
1663
1660
|
{
|
|
1664
1661
|
type: t.type,
|
|
1665
1662
|
participants: $e(
|
|
1666
|
-
|
|
1663
|
+
h || [],
|
|
1667
1664
|
t.type
|
|
1668
|
-
).map((
|
|
1669
|
-
cardId:
|
|
1670
|
-
title:
|
|
1671
|
-
choiceCount: t.type === "field_selector" ?
|
|
1665
|
+
).map((x) => ({
|
|
1666
|
+
cardId: x.cardId,
|
|
1667
|
+
title: x.title,
|
|
1668
|
+
choiceCount: t.type === "field_selector" ? x.fieldChoices.length : x.metricChoices.length
|
|
1672
1669
|
})),
|
|
1673
|
-
selectedCardIds: (
|
|
1674
|
-
onChange: (
|
|
1675
|
-
const D =
|
|
1670
|
+
selectedCardIds: (b == null ? void 0 : b[t.id]) || [],
|
|
1671
|
+
onChange: (x) => {
|
|
1672
|
+
const D = L({
|
|
1676
1673
|
control: t,
|
|
1677
|
-
nextSelectedCardIds:
|
|
1678
|
-
}),
|
|
1674
|
+
nextSelectedCardIds: x
|
|
1675
|
+
}), _ = a.map(
|
|
1679
1676
|
(E) => E.id === t.id ? D.nextControl : E
|
|
1680
1677
|
);
|
|
1681
|
-
F(
|
|
1678
|
+
F(_, s, {
|
|
1682
1679
|
type: "update",
|
|
1683
1680
|
cardBindingsById: D.cardBindingsById
|
|
1684
1681
|
});
|
|
@@ -1688,52 +1685,52 @@ function Ka({
|
|
|
1688
1685
|
/* @__PURE__ */ r(
|
|
1689
1686
|
Ye,
|
|
1690
1687
|
{
|
|
1691
|
-
participants:
|
|
1692
|
-
selectedCardIds: (
|
|
1688
|
+
participants: h || [],
|
|
1689
|
+
selectedCardIds: (b == null ? void 0 : b[t.id]) || [],
|
|
1693
1690
|
control: t,
|
|
1694
|
-
onChange: (
|
|
1695
|
-
const
|
|
1691
|
+
onChange: (x, D) => {
|
|
1692
|
+
const _ = L({
|
|
1696
1693
|
control: t,
|
|
1697
|
-
nextSelectedCardIds: (
|
|
1698
|
-
matrixTargetIds: { [
|
|
1694
|
+
nextSelectedCardIds: (b == null ? void 0 : b[t.id]) || [],
|
|
1695
|
+
matrixTargetIds: { [x]: D }
|
|
1699
1696
|
});
|
|
1700
1697
|
F(
|
|
1701
|
-
a.map((E) => E.id === t.id ?
|
|
1698
|
+
a.map((E) => E.id === t.id ? _.nextControl : E),
|
|
1702
1699
|
s,
|
|
1703
|
-
{ type: "update", cardBindingsById:
|
|
1700
|
+
{ type: "update", cardBindingsById: _.cardBindingsById }
|
|
1704
1701
|
);
|
|
1705
1702
|
}
|
|
1706
1703
|
}
|
|
1707
1704
|
)
|
|
1708
1705
|
] }) : null,
|
|
1709
1706
|
/* @__PURE__ */ r(
|
|
1710
|
-
|
|
1707
|
+
it,
|
|
1711
1708
|
{
|
|
1712
1709
|
control: t,
|
|
1713
1710
|
availableFieldChoices: c.fields,
|
|
1714
1711
|
availableMetricChoices: c.metrics,
|
|
1715
1712
|
previewControlDefinitions: a,
|
|
1716
|
-
previewControlValues:
|
|
1713
|
+
previewControlValues: ye,
|
|
1717
1714
|
controlLifecycle: "edit",
|
|
1718
|
-
onChange: (
|
|
1715
|
+
onChange: (x) => H(t.id, () => x)
|
|
1719
1716
|
}
|
|
1720
1717
|
),
|
|
1721
1718
|
t.initialValueStrategy === "saved_default" && /* @__PURE__ */ r(
|
|
1722
|
-
|
|
1719
|
+
dt,
|
|
1723
1720
|
{
|
|
1724
1721
|
control: t,
|
|
1725
1722
|
value: g,
|
|
1726
1723
|
allowNoDefault: !0,
|
|
1727
1724
|
allowCardDefault: !0,
|
|
1728
1725
|
previewControlDefinitions: a,
|
|
1729
|
-
previewControlValues:
|
|
1730
|
-
onChange: (
|
|
1726
|
+
previewControlValues: ye,
|
|
1727
|
+
onChange: (x) => {
|
|
1731
1728
|
const D = a.map(
|
|
1732
|
-
(
|
|
1729
|
+
(_) => _.id === t.id ? { ..._, defaultValue: x } : _
|
|
1733
1730
|
);
|
|
1734
|
-
if (t.source.kind === "manual" && (
|
|
1735
|
-
const
|
|
1736
|
-
|
|
1731
|
+
if (t.source.kind === "manual" && ($.current[t.id] = x), s) {
|
|
1732
|
+
const _ = { ...s };
|
|
1733
|
+
x === void 0 ? delete _[t.id] : _[t.id] = x, F(D, _);
|
|
1737
1734
|
return;
|
|
1738
1735
|
}
|
|
1739
1736
|
F(D, void 0);
|
|
@@ -1741,12 +1738,12 @@ function Ka({
|
|
|
1741
1738
|
}
|
|
1742
1739
|
),
|
|
1743
1740
|
/* @__PURE__ */ f(
|
|
1744
|
-
|
|
1741
|
+
Zt,
|
|
1745
1742
|
{
|
|
1746
1743
|
open: Q === t.id,
|
|
1747
|
-
onOpenChange: (
|
|
1744
|
+
onOpenChange: (x) => B(x ? t.id : null),
|
|
1748
1745
|
children: [
|
|
1749
|
-
/* @__PURE__ */ r(
|
|
1746
|
+
/* @__PURE__ */ r(ea, { asChild: !0, children: /* @__PURE__ */ f(
|
|
1750
1747
|
q,
|
|
1751
1748
|
{
|
|
1752
1749
|
type: "button",
|
|
@@ -1754,20 +1751,20 @@ function Ka({
|
|
|
1754
1751
|
size: "xs",
|
|
1755
1752
|
className: "-ml-2 gap-1 text-muted-foreground hover:text-foreground",
|
|
1756
1753
|
children: [
|
|
1757
|
-
Q === t.id ? /* @__PURE__ */ r(
|
|
1754
|
+
Q === t.id ? /* @__PURE__ */ r(Re, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ r(Ge, { className: "h-3.5 w-3.5" }),
|
|
1758
1755
|
"Advanced"
|
|
1759
1756
|
]
|
|
1760
1757
|
}
|
|
1761
1758
|
) }),
|
|
1762
|
-
/* @__PURE__ */ f(
|
|
1759
|
+
/* @__PURE__ */ f(ta, { className: "space-y-3 pt-2", children: [
|
|
1763
1760
|
/* @__PURE__ */ f("div", { className: "grid gap-3 md:grid-cols-2", children: [
|
|
1764
1761
|
/* @__PURE__ */ f("div", { className: "flex flex-col gap-1.5", children: [
|
|
1765
1762
|
/* @__PURE__ */ r(oe, { className: "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: "Variable name" }),
|
|
1766
1763
|
/* @__PURE__ */ r(
|
|
1767
|
-
|
|
1764
|
+
aa,
|
|
1768
1765
|
{
|
|
1769
1766
|
controlId: t.id,
|
|
1770
|
-
onCommit: (
|
|
1767
|
+
onCommit: (x) => A(t.id, x)
|
|
1771
1768
|
},
|
|
1772
1769
|
t.id
|
|
1773
1770
|
)
|
|
@@ -1778,19 +1775,19 @@ function Ka({
|
|
|
1778
1775
|
we,
|
|
1779
1776
|
{
|
|
1780
1777
|
value: t.initialValueStrategy,
|
|
1781
|
-
onValueChange: (
|
|
1778
|
+
onValueChange: (x) => H(t.id, (D) => ({
|
|
1782
1779
|
...D,
|
|
1783
|
-
initialValueStrategy:
|
|
1780
|
+
initialValueStrategy: x
|
|
1784
1781
|
})),
|
|
1785
1782
|
children: [
|
|
1786
1783
|
/* @__PURE__ */ r(De, { size: "xs", children: /* @__PURE__ */ r(Ee, {}) }),
|
|
1787
|
-
/* @__PURE__ */ r(Ie, { children:
|
|
1784
|
+
/* @__PURE__ */ r(Ie, { children: Tt.map((x) => /* @__PURE__ */ r(
|
|
1788
1785
|
Te,
|
|
1789
1786
|
{
|
|
1790
|
-
value:
|
|
1791
|
-
children:
|
|
1787
|
+
value: x.value,
|
|
1788
|
+
children: x.label
|
|
1792
1789
|
},
|
|
1793
|
-
|
|
1790
|
+
x.value
|
|
1794
1791
|
)) })
|
|
1795
1792
|
]
|
|
1796
1793
|
}
|
|
@@ -1798,10 +1795,10 @@ function Ka({
|
|
|
1798
1795
|
] })
|
|
1799
1796
|
] }),
|
|
1800
1797
|
/* @__PURE__ */ r(
|
|
1801
|
-
|
|
1798
|
+
ra,
|
|
1802
1799
|
{
|
|
1803
1800
|
control: t,
|
|
1804
|
-
onChange: (
|
|
1801
|
+
onChange: (x) => H(t.id, () => x)
|
|
1805
1802
|
}
|
|
1806
1803
|
)
|
|
1807
1804
|
] })
|
|
@@ -1822,59 +1819,59 @@ function Ka({
|
|
|
1822
1819
|
size: "xs",
|
|
1823
1820
|
onClick: ue,
|
|
1824
1821
|
children: [
|
|
1825
|
-
/* @__PURE__ */ r(
|
|
1822
|
+
/* @__PURE__ */ r(sa, { className: "h-3.5 w-3.5" }),
|
|
1826
1823
|
"Add control"
|
|
1827
1824
|
]
|
|
1828
1825
|
}
|
|
1829
1826
|
)
|
|
1830
1827
|
] });
|
|
1831
1828
|
}
|
|
1832
|
-
function
|
|
1829
|
+
function Wa(e) {
|
|
1833
1830
|
const {
|
|
1834
1831
|
open: a,
|
|
1835
1832
|
onOpenChange: n,
|
|
1836
1833
|
initialCreateFlowActive: s = !1,
|
|
1837
1834
|
dismissMode: l = "passive"
|
|
1838
|
-
} = e, d = a !== void 0, [p,
|
|
1835
|
+
} = e, d = a !== void 0, [p, m] = W(!1), [u, v] = W(
|
|
1839
1836
|
s
|
|
1840
|
-
),
|
|
1837
|
+
), h = d ? a : p, b = z(
|
|
1841
1838
|
(S) => {
|
|
1842
|
-
!S && u && l === "passive" || (d ||
|
|
1839
|
+
!S && u && l === "passive" || (d || m(S), S || v(!1), n == null || n(S));
|
|
1843
1840
|
},
|
|
1844
1841
|
[d, u, l, n]
|
|
1845
|
-
),
|
|
1846
|
-
d ||
|
|
1842
|
+
), C = z(() => {
|
|
1843
|
+
d || m(!1), v(!1), n == null || n(!1);
|
|
1847
1844
|
}, [d, n]);
|
|
1848
1845
|
ie(() => {
|
|
1849
|
-
|
|
1850
|
-
}, [
|
|
1851
|
-
const I =
|
|
1846
|
+
h || v(!1);
|
|
1847
|
+
}, [h]);
|
|
1848
|
+
const I = z(
|
|
1852
1849
|
(S) => {
|
|
1853
1850
|
u && S.preventDefault();
|
|
1854
1851
|
},
|
|
1855
1852
|
[u]
|
|
1856
1853
|
);
|
|
1857
1854
|
return {
|
|
1858
|
-
forceClose:
|
|
1859
|
-
handleOpenChange:
|
|
1855
|
+
forceClose: C,
|
|
1856
|
+
handleOpenChange: b,
|
|
1860
1857
|
isCreateFlowActive: u,
|
|
1861
1858
|
preventPassiveDismissDuringCreate: I,
|
|
1862
|
-
resolvedOpen:
|
|
1859
|
+
resolvedOpen: h,
|
|
1863
1860
|
setIsCreateFlowActive: v
|
|
1864
1861
|
};
|
|
1865
1862
|
}
|
|
1866
1863
|
function Me(e) {
|
|
1867
1864
|
var a;
|
|
1868
1865
|
for (const n of e.cards)
|
|
1869
|
-
if (n.type === "matrixTable" && !
|
|
1866
|
+
if (n.type === "matrixTable" && !la.safeParse((a = n.config) == null ? void 0 : a.matrix).success)
|
|
1870
1867
|
return j.error("Matrix requires at least one row field, one metric, and valid settings."), !1;
|
|
1871
1868
|
return !0;
|
|
1872
1869
|
}
|
|
1873
|
-
function
|
|
1870
|
+
function Ka({
|
|
1874
1871
|
className: e,
|
|
1875
1872
|
variant: a = "outline"
|
|
1876
1873
|
}) {
|
|
1877
|
-
const n =
|
|
1874
|
+
const n = O((d) => d.onSave), { getUpdatedFrame: s } = qe();
|
|
1878
1875
|
function l() {
|
|
1879
1876
|
const d = s();
|
|
1880
1877
|
Me(d) && (n == null || n(d));
|
|
@@ -1887,8 +1884,8 @@ function Wa({
|
|
|
1887
1884
|
size: "xs",
|
|
1888
1885
|
variant: a,
|
|
1889
1886
|
children: [
|
|
1890
|
-
/* @__PURE__ */ r(
|
|
1891
|
-
"
|
|
1887
|
+
/* @__PURE__ */ r(qt, { className: "h-3.5 w-3.5" }),
|
|
1888
|
+
"Done"
|
|
1892
1889
|
]
|
|
1893
1890
|
}
|
|
1894
1891
|
);
|
|
@@ -1897,30 +1894,30 @@ function Ya({
|
|
|
1897
1894
|
className: e,
|
|
1898
1895
|
variant: a = "default"
|
|
1899
1896
|
}) {
|
|
1900
|
-
const n = ce(), [s, l] = W(!1), { setIsVisualEditing: d } =
|
|
1897
|
+
const n = ce(), [s, l] = W(!1), { setIsVisualEditing: d } = _e(), { getUpdatedFrame: p } = qe(), m = Ae(), u = O((b) => b.frame), v = ct();
|
|
1901
1898
|
return /* @__PURE__ */ r(
|
|
1902
1899
|
q,
|
|
1903
1900
|
{
|
|
1904
1901
|
onClick: () => {
|
|
1905
|
-
const
|
|
1906
|
-
if (!Me(
|
|
1902
|
+
const b = p();
|
|
1903
|
+
if (!Me(b))
|
|
1907
1904
|
return;
|
|
1908
|
-
const
|
|
1909
|
-
if (!
|
|
1905
|
+
const C = (u == null ? void 0 : u.visualId) || (m == null ? void 0 : m.id);
|
|
1906
|
+
if (!C) {
|
|
1910
1907
|
j.error("No visual to save");
|
|
1911
1908
|
return;
|
|
1912
1909
|
}
|
|
1913
1910
|
l(!0), v.mutate(
|
|
1914
1911
|
{
|
|
1915
|
-
visualId:
|
|
1912
|
+
visualId: C,
|
|
1916
1913
|
data: {
|
|
1917
|
-
frameObject:
|
|
1914
|
+
frameObject: b
|
|
1918
1915
|
}
|
|
1919
1916
|
},
|
|
1920
1917
|
{
|
|
1921
1918
|
onSuccess: () => {
|
|
1922
1919
|
l(!1), j.success("Visual updated successfully"), n.invalidateQueries({
|
|
1923
|
-
queryKey: ["resource-by-id", "visual",
|
|
1920
|
+
queryKey: ["resource-by-id", "visual", C],
|
|
1924
1921
|
exact: !0
|
|
1925
1922
|
});
|
|
1926
1923
|
},
|
|
@@ -1937,7 +1934,7 @@ function Ya({
|
|
|
1937
1934
|
/* @__PURE__ */ r(lt, { className: "h-3.5 w-3.5 animate-spin" }),
|
|
1938
1935
|
"Saving"
|
|
1939
1936
|
] }) : /* @__PURE__ */ f(ee, { children: [
|
|
1940
|
-
/* @__PURE__ */ r(
|
|
1937
|
+
/* @__PURE__ */ r(mt, { className: "h-3.5 w-3.5" }),
|
|
1941
1938
|
"Save to Library"
|
|
1942
1939
|
] })
|
|
1943
1940
|
}
|
|
@@ -1946,7 +1943,7 @@ function Ya({
|
|
|
1946
1943
|
function Ga({
|
|
1947
1944
|
className: e
|
|
1948
1945
|
}) {
|
|
1949
|
-
const a = ce(), [n, s] = W(!1), l =
|
|
1946
|
+
const a = ce(), [n, s] = W(!1), l = Ae(), d = O((S) => S.frame), p = Z((S) => S.selectedSheetId), m = Z((S) => S.dashboard), { updateFrame: u, setIsVisualEditing: v } = _e(), { getUpdatedFrame: h } = qe(), b = ct(), C = oa();
|
|
1950
1947
|
return /* @__PURE__ */ r(
|
|
1951
1948
|
q,
|
|
1952
1949
|
{
|
|
@@ -1962,7 +1959,7 @@ function Ga({
|
|
|
1962
1959
|
}
|
|
1963
1960
|
s(!0);
|
|
1964
1961
|
try {
|
|
1965
|
-
const N =
|
|
1962
|
+
const N = h();
|
|
1966
1963
|
if (!Me(N)) {
|
|
1967
1964
|
s(!1);
|
|
1968
1965
|
return;
|
|
@@ -1971,10 +1968,10 @@ function Ga({
|
|
|
1971
1968
|
...N,
|
|
1972
1969
|
visualId: S
|
|
1973
1970
|
// Keep the link to library visual
|
|
1974
|
-
},
|
|
1975
|
-
previousFrame:
|
|
1971
|
+
}, Y = Mt(m, V.id), G = await C(V, {
|
|
1972
|
+
previousFrame: Y
|
|
1976
1973
|
});
|
|
1977
|
-
await
|
|
1974
|
+
await b.mutateAsync({
|
|
1978
1975
|
visualId: S,
|
|
1979
1976
|
data: {
|
|
1980
1977
|
frameObject: N
|
|
@@ -2000,25 +1997,25 @@ function Ga({
|
|
|
2000
1997
|
/* @__PURE__ */ r(lt, { className: "h-3.5 w-3.5 animate-spin" }),
|
|
2001
1998
|
"Saving..."
|
|
2002
1999
|
] }) : /* @__PURE__ */ f(ee, { children: [
|
|
2003
|
-
/* @__PURE__ */ r(
|
|
2000
|
+
/* @__PURE__ */ r(mt, { className: "h-3.5 w-3.5" }),
|
|
2004
2001
|
"Save & Apply"
|
|
2005
2002
|
] })
|
|
2006
2003
|
}
|
|
2007
2004
|
);
|
|
2008
2005
|
}
|
|
2009
2006
|
function Xa({ className: e }) {
|
|
2010
|
-
const { setTempQueryData: a, setSqlGen: n } = de(), s = ce(), l =
|
|
2011
|
-
function
|
|
2007
|
+
const { setTempQueryData: a, setSqlGen: n } = de(), s = ce(), l = O((m) => m.tempQueryData), d = O((m) => m.onClose);
|
|
2008
|
+
function p() {
|
|
2012
2009
|
if (l) {
|
|
2013
|
-
const { queryKey: m, queryData:
|
|
2014
|
-
m &&
|
|
2010
|
+
const { queryKey: m, queryData: u } = l;
|
|
2011
|
+
m && u && s.setQueryData(m, u);
|
|
2015
2012
|
}
|
|
2016
2013
|
n({}), d == null || d();
|
|
2017
2014
|
}
|
|
2018
2015
|
return /* @__PURE__ */ f(
|
|
2019
2016
|
q,
|
|
2020
2017
|
{
|
|
2021
|
-
onClick:
|
|
2018
|
+
onClick: p,
|
|
2022
2019
|
className: e,
|
|
2023
2020
|
size: "xs",
|
|
2024
2021
|
variant: "outline",
|
|
@@ -2050,21 +2047,21 @@ function Ja({
|
|
|
2050
2047
|
);
|
|
2051
2048
|
}
|
|
2052
2049
|
export {
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2050
|
+
Pa as C,
|
|
2051
|
+
Ka as E,
|
|
2052
|
+
Ra as F,
|
|
2053
|
+
ma as L,
|
|
2057
2054
|
Ha as V,
|
|
2058
2055
|
qe as a,
|
|
2059
2056
|
Xa as b,
|
|
2060
2057
|
Ya as c,
|
|
2061
2058
|
Ga as d,
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2059
|
+
pa as e,
|
|
2060
|
+
va as f,
|
|
2061
|
+
Wa as g,
|
|
2065
2062
|
$a as h,
|
|
2066
2063
|
wa as i,
|
|
2067
2064
|
Ja as j,
|
|
2068
|
-
|
|
2069
|
-
|
|
2065
|
+
Ba as r,
|
|
2066
|
+
ka as u
|
|
2070
2067
|
};
|