react-semaphor 0.1.533 → 0.1.535
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 +27 -27
- 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-BptYhyOP.js} +138 -186
- package/dist/chunks/calendar-day-equality-BRjN1S9h.js +383 -0
- package/dist/chunks/{card-config-utils-DqyASiD_.js → card-config-utils-C-QfuqEy.js} +70 -71
- package/dist/chunks/common-types-g7yS12Cg.js +114 -0
- package/dist/chunks/{dashboard-DUCg1mNJ.js → dashboard-B7y_WeF2.js} +1 -1
- package/dist/chunks/dashboard-briefing-launcher-DwSxDtgZ.js +4224 -0
- package/dist/chunks/dashboard-controls-CzTh9J0s.js +2314 -0
- package/dist/chunks/{dashboard-json-BSOgXGwr.js → dashboard-json-o6tOjNhH.js} +3 -3
- package/dist/chunks/{edit-dashboard-visual-CQDyMxM7.js → edit-dashboard-visual-Lp_iKRGH.js} +12567 -12561
- 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-P5aUuGF1.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-DTqcA2_L.js} +22 -22
- package/dist/chunks/{matrix-definition-CiGRzEzt.js → matrix-definition-D9iShKZI.js} +1 -1
- package/dist/chunks/{matrix-formatter-DY1y9odV.js → matrix-formatter-DJCk8Znf.js} +5 -5
- 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-BaUr346O.js +1623 -0
- package/dist/chunks/{report-runtime-context-DceiWMKz.js → report-runtime-context-CG_I0PPW.js} +1 -1
- package/dist/chunks/{layout-grid-CiubineE.js → save-kO6cIaob.js} +20 -2
- 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-yZ0JtL4D.js → semaphor-ready-indicator-B017OW6t.js} +92185 -105744
- package/dist/chunks/slider-CrLoCpsr.js +2383 -0
- package/dist/chunks/{source-entity-resolution-BWmw7a8P.js → source-entity-resolution-C-oNyYMp.js} +1 -1
- package/dist/chunks/{switch-D95vek6N.js → switch-ojmMsFMO.js} +7026 -6038
- 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/upload-CAIpsti1.js +15 -0
- package/dist/chunks/use-create-flow-overlay-state-BbwQ0gpQ.js +1457 -0
- 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 +144 -140
- package/dist/index.js +230 -227
- 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/controls/dashboard-filter-controls-launcher.d.ts +0 -1
- 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/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/hooks/index.d.ts +1 -2
- package/dist/types/lib/hooks/use-dashboard-query.d.ts +2 -2
- package/dist/types/lib/hooks/use-dashboard.d.ts +5 -2
- package/dist/types/lib/query-context/build-card-query-context.d.ts +9 -1
- package/dist/types/lib/stores/dashboard-store.d.ts +77 -12
- package/dist/types/lib/stores/editor-store.d.ts +1 -14
- package/dist/types/lib/table-formatting/table-totals-settings.d.ts +5 -1
- package/dist/types/lib/types/ai-context-types.d.ts +20 -0
- package/dist/types/lib/types/common-types.d.ts +11 -20
- package/dist/types/lib/types/index.d.ts +1 -0
- package/dist/types/lib/types/token-types.d.ts +0 -7
- package/dist/types/lib/utils/filter-default-value-utils.d.ts +11 -4
- package/dist/types/lib/utils.d.ts +1 -2
- 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/index.d.ts +1 -0
- package/package.json +2 -8
- package/dist/chunks/calendar-day-equality-Ddkpfhot.js +0 -466
- package/dist/chunks/common-types-C6cAQgyh.js +0 -9
- package/dist/chunks/dashboard-briefing-launcher-B0PuQUiR.js +0 -3488
- package/dist/chunks/dashboard-controls-Cl3fLg9W.js +0 -2194
- package/dist/chunks/editor-action-buttons-BKVrZnRQ.js +0 -2070
- 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-Bb6b3Ch2.js +0 -640
- package/dist/chunks/report-preferences-dialog-WDM7qWxV.js +0 -1231
- package/dist/chunks/save-DgMfP0j8.js +0 -21
- package/dist/chunks/slider-0mB67Lls.js +0 -876
- package/dist/chunks/zoned-wall-clock-BkxV9jS2.js +0 -46
- package/dist/dashboard-assistant/index.js +0 -11
- 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/dashboard-assistant/index.d.ts +0 -80
- package/dist/types/dashboard-assistant.d.ts +0 -2
- 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 -11
- 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-messages.d.ts +0 -47
- package/dist/types/lib/export-utils.d.ts +0 -47
- package/dist/types/lib/exports/export-status.d.ts +0 -19
- 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 -31
- 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 -78
- 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 -68
- 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/assistant-types.d.ts +0 -127
- 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
|
@@ -0,0 +1,1457 @@
|
|
|
1
|
+
import { c as Z, C as De } from "./x-CXDkqdur.js";
|
|
2
|
+
import { useEffect as K, forwardRef as st, useMemo as H, useState as M, useRef as se, useCallback as F, Fragment as ot } from "react";
|
|
3
|
+
import { a1 as ze, a2 as dt, u as it, n as Me, o as Re, p as je, c as R, q as Be, a3 as $e, B as L, a4 as ct, a5 as ut, a6 as G, a7 as we, a8 as Te, a9 as oe, aa as de, ab as mt, ac as pt, ad as _e, ae as ft, af as ht, ag as J, ah as gt, ai as Ee, aj as Ue, ak as Qe, al as Ye, m as z, r as He, s as ie, t as ce, v as ue, w as me, x as pe, am as Xe, an as bt, ao as xt, ap as Ve, aq as vt, ar as Le, as as yt, at as Ct, au as kt, av as Nt, aw as fe } from "./switch-ojmMsFMO.js";
|
|
4
|
+
import { ar as St, u as Dt, as as wt, at as Tt, au as Ie, av as _t, aw as Et, ax as Ge, ay as Je, az as Vt, aA as Lt, aB as It, aC as Ft, aD as At, aE as qt } from "./semaphor-ready-indicator-B017OW6t.js";
|
|
5
|
+
import { jsx as t, jsxs as o, Fragment as X } from "react/jsx-runtime";
|
|
6
|
+
import "./validators-DMSH81OM.js";
|
|
7
|
+
import "./matrix-operation-contract-BKupLHXL.js";
|
|
8
|
+
import "zod";
|
|
9
|
+
import "../value-format-preferences/index.js";
|
|
10
|
+
import { C as Fe } from "./selection-reducer-CiDEtmAq.js";
|
|
11
|
+
/**
|
|
12
|
+
* @license lucide-react v0.453.0 - ISC
|
|
13
|
+
*
|
|
14
|
+
* This source code is licensed under the ISC license.
|
|
15
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
+
*/
|
|
17
|
+
const Ot = Z("CircleCheck", [
|
|
18
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
19
|
+
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
20
|
+
]);
|
|
21
|
+
/**
|
|
22
|
+
* @license lucide-react v0.453.0 - ISC
|
|
23
|
+
*
|
|
24
|
+
* This source code is licensed under the ISC license.
|
|
25
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
+
*/
|
|
27
|
+
const ea = Z("FilterX", [
|
|
28
|
+
["path", { d: "M13.013 3H2l8 9.46V19l4 2v-8.54l.9-1.055", key: "1fi1da" }],
|
|
29
|
+
["path", { d: "m22 3-5 5", key: "12jva0" }],
|
|
30
|
+
["path", { d: "m17 3 5 5", key: "k36vhe" }]
|
|
31
|
+
]);
|
|
32
|
+
/**
|
|
33
|
+
* @license lucide-react v0.453.0 - ISC
|
|
34
|
+
*
|
|
35
|
+
* This source code is licensed under the ISC license.
|
|
36
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
37
|
+
*/
|
|
38
|
+
const zt = Z("Library", [
|
|
39
|
+
["path", { d: "m16 6 4 14", key: "ji33uf" }],
|
|
40
|
+
["path", { d: "M12 6v14", key: "1n7gus" }],
|
|
41
|
+
["path", { d: "M8 8v12", key: "1gg7y9" }],
|
|
42
|
+
["path", { d: "M4 4v16", key: "6qkkli" }]
|
|
43
|
+
]);
|
|
44
|
+
/**
|
|
45
|
+
* @license lucide-react v0.453.0 - ISC
|
|
46
|
+
*
|
|
47
|
+
* This source code is licensed under the ISC license.
|
|
48
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
49
|
+
*/
|
|
50
|
+
const Mt = Z("Link2", [
|
|
51
|
+
["path", { d: "M9 17H7A5 5 0 0 1 7 7h2", key: "8i5ue5" }],
|
|
52
|
+
["path", { d: "M15 7h2a5 5 0 1 1 0 10h-2", key: "1b9ql8" }],
|
|
53
|
+
["line", { x1: "8", x2: "16", y1: "12", y2: "12", key: "1jonct" }]
|
|
54
|
+
]), he = /* @__PURE__ */ new Set();
|
|
55
|
+
function ta(s) {
|
|
56
|
+
return he.add(s), () => {
|
|
57
|
+
he.delete(s);
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function aa() {
|
|
61
|
+
he.forEach((s) => {
|
|
62
|
+
s();
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
function ra() {
|
|
66
|
+
const s = ze((g) => g.card.dataSource), {
|
|
67
|
+
setSelectedConnectionId: n,
|
|
68
|
+
setSelectedDatabaseName: u,
|
|
69
|
+
setSelectedSchemaName: i,
|
|
70
|
+
setSelectedTableName: k,
|
|
71
|
+
setSelectedDatamodelId: b
|
|
72
|
+
} = dt();
|
|
73
|
+
K(() => {
|
|
74
|
+
var T;
|
|
75
|
+
if (!s) return;
|
|
76
|
+
const { tableName: g, schemaName: v, databaseName: p, connectionId: N } = St(s), x = (T = s.selectedEntities) == null ? void 0 : T[0], S = (x == null ? void 0 : x.type) === "model" && "id" in x ? x.id : "";
|
|
77
|
+
n(N || ""), u(p || ""), i(v || ""), k(g || ""), b(S);
|
|
78
|
+
}, [
|
|
79
|
+
s,
|
|
80
|
+
n,
|
|
81
|
+
u,
|
|
82
|
+
i,
|
|
83
|
+
k,
|
|
84
|
+
b
|
|
85
|
+
]);
|
|
86
|
+
}
|
|
87
|
+
function la({
|
|
88
|
+
type: s,
|
|
89
|
+
isLinked: n,
|
|
90
|
+
className: u,
|
|
91
|
+
showLabel: i = !1,
|
|
92
|
+
showLocal: k = !1
|
|
93
|
+
}) {
|
|
94
|
+
const b = it((I) => I.selectedFrameId), g = Dt((I) => I.selectedVisual), v = ze((I) => I.frame);
|
|
95
|
+
let p;
|
|
96
|
+
if (s)
|
|
97
|
+
p = s;
|
|
98
|
+
else if (n !== void 0)
|
|
99
|
+
p = n ? "linked" : "library";
|
|
100
|
+
else if (!!!(v != null && v.visualId || g != null && g.id) && b)
|
|
101
|
+
p = "local";
|
|
102
|
+
else if (g && !b)
|
|
103
|
+
p = "library";
|
|
104
|
+
else if (v != null && v.visualId && b)
|
|
105
|
+
p = "linked";
|
|
106
|
+
else if (g != null && g.id && b)
|
|
107
|
+
p = "library";
|
|
108
|
+
else
|
|
109
|
+
return null;
|
|
110
|
+
if (p === "local" && !k)
|
|
111
|
+
return null;
|
|
112
|
+
const N = {
|
|
113
|
+
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",
|
|
114
|
+
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",
|
|
115
|
+
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"
|
|
116
|
+
}, x = {
|
|
117
|
+
local: "Local to this dashboard: Changes made here only affect this dashboard copy.",
|
|
118
|
+
linked: "Linked to library: Changes made here update the library visual and all linked instances.",
|
|
119
|
+
library: "Library visual: Share and reuse this visual across multiple dashboards."
|
|
120
|
+
}, f = {
|
|
121
|
+
local: "border-slate-200 bg-slate-50 text-slate-900 dark:border-slate-700 dark:bg-slate-900 dark:text-slate-100",
|
|
122
|
+
linked: "border-purple-200 bg-purple-50 text-purple-900 dark:border-purple-800 dark:bg-purple-950 dark:text-purple-100",
|
|
123
|
+
library: "border-blue-200 bg-blue-50 text-blue-900 dark:border-blue-800 dark:bg-blue-950 dark:text-blue-100"
|
|
124
|
+
}, S = {
|
|
125
|
+
local: "fill-slate-50 dark:fill-slate-900",
|
|
126
|
+
linked: "fill-purple-50 dark:fill-purple-950",
|
|
127
|
+
library: "fill-blue-50 dark:fill-blue-950"
|
|
128
|
+
}, T = {
|
|
129
|
+
local: /* @__PURE__ */ t("span", { className: "h-2 w-2 rounded-full bg-current/70" }),
|
|
130
|
+
linked: /* @__PURE__ */ t(Mt, { className: "h-3.5 w-3.5" }),
|
|
131
|
+
library: /* @__PURE__ */ t(zt, { className: "h-3.5 w-3.5" })
|
|
132
|
+
}, _ = {
|
|
133
|
+
local: "Local",
|
|
134
|
+
linked: "Linked",
|
|
135
|
+
library: "Library"
|
|
136
|
+
};
|
|
137
|
+
return /* @__PURE__ */ t(Me, { children: /* @__PURE__ */ o(Re, { delayDuration: 300, children: [
|
|
138
|
+
/* @__PURE__ */ t(je, { asChild: !0, children: /* @__PURE__ */ o(
|
|
139
|
+
wt,
|
|
140
|
+
{
|
|
141
|
+
variant: "outline",
|
|
142
|
+
className: R(
|
|
143
|
+
"cursor-help select-none transition-all",
|
|
144
|
+
N[p],
|
|
145
|
+
u
|
|
146
|
+
),
|
|
147
|
+
children: [
|
|
148
|
+
T[p],
|
|
149
|
+
i && /* @__PURE__ */ t("span", { className: "ml-1 text-xs font-medium leading-none", children: _[p] })
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
) }),
|
|
153
|
+
/* @__PURE__ */ o(
|
|
154
|
+
Be,
|
|
155
|
+
{
|
|
156
|
+
side: "bottom",
|
|
157
|
+
className: R("max-w-xs", f[p]),
|
|
158
|
+
children: [
|
|
159
|
+
/* @__PURE__ */ t($e, { className: S[p] }),
|
|
160
|
+
/* @__PURE__ */ t("p", { children: x[p] })
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
)
|
|
164
|
+
] }) });
|
|
165
|
+
}
|
|
166
|
+
const Rt = st(
|
|
167
|
+
({
|
|
168
|
+
side: s = "bottom",
|
|
169
|
+
children: n,
|
|
170
|
+
className: u,
|
|
171
|
+
tooltip: i,
|
|
172
|
+
onClick: k,
|
|
173
|
+
openDelay: b = 300,
|
|
174
|
+
buttonProps: g,
|
|
175
|
+
disabled: v,
|
|
176
|
+
...p
|
|
177
|
+
}, N) => /* @__PURE__ */ t(Me, { children: /* @__PURE__ */ o(Re, { delayDuration: b, children: [
|
|
178
|
+
/* @__PURE__ */ t(je, { asChild: !0, children: /* @__PURE__ */ t(
|
|
179
|
+
L,
|
|
180
|
+
{
|
|
181
|
+
disabled: v,
|
|
182
|
+
ref: N,
|
|
183
|
+
size: "sm",
|
|
184
|
+
variant: "ghost",
|
|
185
|
+
onClick: k,
|
|
186
|
+
...p,
|
|
187
|
+
...g,
|
|
188
|
+
className: R(`${ct}`, u),
|
|
189
|
+
children: n
|
|
190
|
+
}
|
|
191
|
+
) }),
|
|
192
|
+
i && /* @__PURE__ */ o(
|
|
193
|
+
Be,
|
|
194
|
+
{
|
|
195
|
+
side: s,
|
|
196
|
+
sideOffset: 10,
|
|
197
|
+
className: R(
|
|
198
|
+
"border-foreground/20 bg-foreground text-background"
|
|
199
|
+
),
|
|
200
|
+
children: [
|
|
201
|
+
i,
|
|
202
|
+
/* @__PURE__ */ t($e, { className: "fill-foreground" })
|
|
203
|
+
]
|
|
204
|
+
}
|
|
205
|
+
)
|
|
206
|
+
] }) })
|
|
207
|
+
);
|
|
208
|
+
Rt.displayName = "IconButton";
|
|
209
|
+
function Ke(s) {
|
|
210
|
+
const { control: n, onChange: u } = s;
|
|
211
|
+
return /* @__PURE__ */ o("div", { className: "flex flex-col gap-1.5", children: [
|
|
212
|
+
/* @__PURE__ */ t(z, { className: "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: "Label" }),
|
|
213
|
+
/* @__PURE__ */ t(
|
|
214
|
+
He,
|
|
215
|
+
{
|
|
216
|
+
size: "xs",
|
|
217
|
+
value: n.label,
|
|
218
|
+
placeholder: "Control label",
|
|
219
|
+
onChange: (i) => u(i.target.value)
|
|
220
|
+
}
|
|
221
|
+
)
|
|
222
|
+
] });
|
|
223
|
+
}
|
|
224
|
+
function jt(s) {
|
|
225
|
+
const { currentStep: n, labels: u } = s;
|
|
226
|
+
return /* @__PURE__ */ t("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__ */ t("div", { className: "flex flex-wrap items-center gap-2 sm:gap-2.5", children: u.map((i, k) => {
|
|
227
|
+
const b = k + 1, g = b === n, v = b < n;
|
|
228
|
+
return /* @__PURE__ */ o(ot, { children: [
|
|
229
|
+
/* @__PURE__ */ o("div", { className: "flex items-center gap-1.5", children: [
|
|
230
|
+
/* @__PURE__ */ t(
|
|
231
|
+
"span",
|
|
232
|
+
{
|
|
233
|
+
className: R(
|
|
234
|
+
"flex h-5 w-5 items-center justify-center rounded-full border text-[10px] font-medium tabular-nums",
|
|
235
|
+
g ? "border-foreground bg-foreground text-background" : v ? "border-foreground/30 bg-foreground/10 text-foreground" : "border-border/60 bg-background text-muted-foreground"
|
|
236
|
+
),
|
|
237
|
+
children: b
|
|
238
|
+
}
|
|
239
|
+
),
|
|
240
|
+
/* @__PURE__ */ t(
|
|
241
|
+
"span",
|
|
242
|
+
{
|
|
243
|
+
className: R(
|
|
244
|
+
"text-[12px]",
|
|
245
|
+
g ? "font-medium text-foreground" : "text-muted-foreground"
|
|
246
|
+
),
|
|
247
|
+
children: i
|
|
248
|
+
}
|
|
249
|
+
)
|
|
250
|
+
] }),
|
|
251
|
+
k < u.length - 1 ? /* @__PURE__ */ t(
|
|
252
|
+
"span",
|
|
253
|
+
{
|
|
254
|
+
className: "h-px w-4 bg-border/60 sm:w-6",
|
|
255
|
+
"aria-hidden": "true"
|
|
256
|
+
}
|
|
257
|
+
) : null
|
|
258
|
+
] }, i);
|
|
259
|
+
}) }) });
|
|
260
|
+
}
|
|
261
|
+
function W(s) {
|
|
262
|
+
const { secondary: n, tertiary: u, primary: i } = s;
|
|
263
|
+
return /* @__PURE__ */ o("div", { className: "sticky bottom-0 z-10 -mx-1 flex justify-end gap-2 border-t bg-background/95 px-1 pb-1 pt-3 backdrop-blur supports-[backdrop-filter]:bg-background/85", children: [
|
|
264
|
+
n,
|
|
265
|
+
u,
|
|
266
|
+
i
|
|
267
|
+
] });
|
|
268
|
+
}
|
|
269
|
+
function Bt(s) {
|
|
270
|
+
const { control: n, scope: u, detail: i } = s;
|
|
271
|
+
return /* @__PURE__ */ o("div", { className: "flex items-start gap-2.5 rounded-control border border-border/60 bg-muted/30 px-3 py-2.5", children: [
|
|
272
|
+
/* @__PURE__ */ t(Ot, { className: "mt-0.5 h-3.5 w-3.5 shrink-0 text-foreground" }),
|
|
273
|
+
/* @__PURE__ */ o("div", { className: "min-w-0 space-y-0.5", children: [
|
|
274
|
+
/* @__PURE__ */ t("div", { className: "text-[13px] font-medium text-foreground", children: n.label }),
|
|
275
|
+
/* @__PURE__ */ o("div", { className: "text-[12px] text-muted-foreground", children: [
|
|
276
|
+
Ue(n.type).label,
|
|
277
|
+
" ·",
|
|
278
|
+
" ",
|
|
279
|
+
Ye(n),
|
|
280
|
+
" ·",
|
|
281
|
+
" ",
|
|
282
|
+
Qe(u, n.placement)
|
|
283
|
+
] }),
|
|
284
|
+
i ? /* @__PURE__ */ t("div", { className: "text-[12px] text-muted-foreground", children: i }) : null
|
|
285
|
+
] })
|
|
286
|
+
] });
|
|
287
|
+
}
|
|
288
|
+
function Ae(s) {
|
|
289
|
+
const {
|
|
290
|
+
control: n,
|
|
291
|
+
defaultValue: u,
|
|
292
|
+
availableFieldChoices: i,
|
|
293
|
+
availableMetricChoices: k,
|
|
294
|
+
previewControlDefinitions: b,
|
|
295
|
+
previewControlValues: g,
|
|
296
|
+
onControlChange: v,
|
|
297
|
+
onLabelChange: p,
|
|
298
|
+
onDefaultValueChange: N,
|
|
299
|
+
onBack: x,
|
|
300
|
+
onNext: f,
|
|
301
|
+
nextDisabled: S
|
|
302
|
+
} = s;
|
|
303
|
+
return /* @__PURE__ */ o("div", { className: "space-y-3", children: [
|
|
304
|
+
/* @__PURE__ */ t(Ke, { control: n, onChange: p }),
|
|
305
|
+
/* @__PURE__ */ t(
|
|
306
|
+
Ge,
|
|
307
|
+
{
|
|
308
|
+
control: n,
|
|
309
|
+
availableFieldChoices: i,
|
|
310
|
+
availableMetricChoices: k,
|
|
311
|
+
previewControlDefinitions: b,
|
|
312
|
+
previewControlValues: g,
|
|
313
|
+
controlLifecycle: "create",
|
|
314
|
+
onChange: v
|
|
315
|
+
}
|
|
316
|
+
),
|
|
317
|
+
/* @__PURE__ */ t(
|
|
318
|
+
Je,
|
|
319
|
+
{
|
|
320
|
+
control: n,
|
|
321
|
+
value: u,
|
|
322
|
+
onChange: N,
|
|
323
|
+
allowNoDefault: !0,
|
|
324
|
+
allowCardDefault: !0,
|
|
325
|
+
hint: "This is the value viewers will see first.",
|
|
326
|
+
previewControlDefinitions: b,
|
|
327
|
+
previewControlValues: g
|
|
328
|
+
}
|
|
329
|
+
),
|
|
330
|
+
/* @__PURE__ */ t(
|
|
331
|
+
W,
|
|
332
|
+
{
|
|
333
|
+
secondary: /* @__PURE__ */ t(L, { type: "button", variant: "outline", size: "xs", onClick: x, children: "Back" }),
|
|
334
|
+
primary: /* @__PURE__ */ t(
|
|
335
|
+
L,
|
|
336
|
+
{
|
|
337
|
+
type: "button",
|
|
338
|
+
size: "xs",
|
|
339
|
+
onClick: f,
|
|
340
|
+
disabled: S,
|
|
341
|
+
children: "Next"
|
|
342
|
+
}
|
|
343
|
+
)
|
|
344
|
+
}
|
|
345
|
+
)
|
|
346
|
+
] });
|
|
347
|
+
}
|
|
348
|
+
const $t = /* @__PURE__ */ new Set([
|
|
349
|
+
"grain_selector",
|
|
350
|
+
"aggregation_selector",
|
|
351
|
+
"field_selector",
|
|
352
|
+
"metric_selector"
|
|
353
|
+
]);
|
|
354
|
+
function qe(s) {
|
|
355
|
+
const { text: n, ariaLabel: u } = s, [i, k] = M(!1);
|
|
356
|
+
return /* @__PURE__ */ o(
|
|
357
|
+
"button",
|
|
358
|
+
{
|
|
359
|
+
type: "button",
|
|
360
|
+
"aria-label": u,
|
|
361
|
+
onClick: async () => {
|
|
362
|
+
try {
|
|
363
|
+
await navigator.clipboard.writeText(n), k(!0), setTimeout(() => k(!1), 1200);
|
|
364
|
+
} catch (b) {
|
|
365
|
+
console.error("Failed to copy", b);
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
className: "group flex w-full items-center justify-between gap-2 rounded-control bg-muted/40 px-2 py-1 text-left transition-colors hover:bg-muted/60 focus-visible:bg-muted/60 focus-visible:outline-none",
|
|
369
|
+
children: [
|
|
370
|
+
/* @__PURE__ */ t("code", { className: "min-w-0 truncate font-mono text-[12px] text-foreground", children: n }),
|
|
371
|
+
/* @__PURE__ */ t("span", { className: "shrink-0 text-[11px] text-muted-foreground opacity-0 transition-opacity group-hover:opacity-100", children: i ? "Copied" : "Click to copy" })
|
|
372
|
+
]
|
|
373
|
+
}
|
|
374
|
+
);
|
|
375
|
+
}
|
|
376
|
+
function Oe(s) {
|
|
377
|
+
const {
|
|
378
|
+
control: n,
|
|
379
|
+
scope: u,
|
|
380
|
+
createdReference: i,
|
|
381
|
+
explorerContent: k,
|
|
382
|
+
sqlDescription: b,
|
|
383
|
+
summaryDetail: g,
|
|
384
|
+
onBack: v,
|
|
385
|
+
onCancel: p,
|
|
386
|
+
onDone: N
|
|
387
|
+
} = s, x = $t.has(n.type), f = i.match(/\[\[param\.(.+?)\]\]/), S = f ? `{{ param('${f[1]}') }}` : "";
|
|
388
|
+
return /* @__PURE__ */ o("div", { className: "space-y-4", children: [
|
|
389
|
+
/* @__PURE__ */ t(
|
|
390
|
+
Bt,
|
|
391
|
+
{
|
|
392
|
+
control: n,
|
|
393
|
+
scope: u,
|
|
394
|
+
detail: g
|
|
395
|
+
}
|
|
396
|
+
),
|
|
397
|
+
/* @__PURE__ */ o("div", { className: "space-y-2", children: [
|
|
398
|
+
/* @__PURE__ */ t("p", { className: "text-[13px] font-medium text-foreground", children: "How cards use this control" }),
|
|
399
|
+
/* @__PURE__ */ o("div", { className: "divide-y divide-border/60 overflow-hidden rounded-control border border-border/60", children: [
|
|
400
|
+
x ? /* @__PURE__ */ o("div", { className: "space-y-1 px-3 py-2.5", children: [
|
|
401
|
+
/* @__PURE__ */ t("p", { className: "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: "Explorer cards" }),
|
|
402
|
+
/* @__PURE__ */ t("div", { className: "text-[12px] text-muted-foreground", children: k })
|
|
403
|
+
] }) : null,
|
|
404
|
+
/* @__PURE__ */ o("div", { className: "space-y-1.5 px-3 py-2.5", children: [
|
|
405
|
+
/* @__PURE__ */ t("p", { className: "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: "SQL cards" }),
|
|
406
|
+
/* @__PURE__ */ t(
|
|
407
|
+
qe,
|
|
408
|
+
{
|
|
409
|
+
text: i,
|
|
410
|
+
ariaLabel: "Copy SQL control reference"
|
|
411
|
+
}
|
|
412
|
+
),
|
|
413
|
+
S ? /* @__PURE__ */ t(
|
|
414
|
+
qe,
|
|
415
|
+
{
|
|
416
|
+
text: S,
|
|
417
|
+
ariaLabel: "Copy Jinja control reference"
|
|
418
|
+
}
|
|
419
|
+
) : null,
|
|
420
|
+
/* @__PURE__ */ o("p", { className: "text-[12px] text-muted-foreground", children: [
|
|
421
|
+
b,
|
|
422
|
+
" ",
|
|
423
|
+
/* @__PURE__ */ t(
|
|
424
|
+
"a",
|
|
425
|
+
{
|
|
426
|
+
href: "https://docs.semaphor.cloud/docs/concepts/template-expressions",
|
|
427
|
+
target: "_blank",
|
|
428
|
+
rel: "noreferrer",
|
|
429
|
+
className: "underline underline-offset-2 hover:text-foreground",
|
|
430
|
+
children: "Template expressions docs"
|
|
431
|
+
}
|
|
432
|
+
),
|
|
433
|
+
"."
|
|
434
|
+
] })
|
|
435
|
+
] })
|
|
436
|
+
] })
|
|
437
|
+
] }),
|
|
438
|
+
/* @__PURE__ */ t(
|
|
439
|
+
W,
|
|
440
|
+
{
|
|
441
|
+
secondary: /* @__PURE__ */ t(L, { type: "button", variant: "outline", size: "xs", onClick: v, children: "Back" }),
|
|
442
|
+
tertiary: /* @__PURE__ */ t(L, { type: "button", variant: "outline", size: "xs", onClick: p, children: "Cancel" }),
|
|
443
|
+
primary: /* @__PURE__ */ t(L, { type: "button", size: "xs", onClick: N, children: "Done" })
|
|
444
|
+
}
|
|
445
|
+
)
|
|
446
|
+
] });
|
|
447
|
+
}
|
|
448
|
+
function Ut(s) {
|
|
449
|
+
const n = G(
|
|
450
|
+
s.scope,
|
|
451
|
+
s.existingControls,
|
|
452
|
+
s.reservedIds
|
|
453
|
+
), u = s.type === n.type ? {
|
|
454
|
+
...n,
|
|
455
|
+
label: fe[s.type]
|
|
456
|
+
} : {
|
|
457
|
+
...Xe({
|
|
458
|
+
controls: [
|
|
459
|
+
{
|
|
460
|
+
...n,
|
|
461
|
+
label: fe[s.type]
|
|
462
|
+
}
|
|
463
|
+
],
|
|
464
|
+
controlId: n.id,
|
|
465
|
+
nextType: s.type
|
|
466
|
+
}).controls[0],
|
|
467
|
+
label: fe[s.type]
|
|
468
|
+
};
|
|
469
|
+
return {
|
|
470
|
+
step: 2,
|
|
471
|
+
control: u,
|
|
472
|
+
defaultValue: J(u, void 0)
|
|
473
|
+
};
|
|
474
|
+
}
|
|
475
|
+
function na({
|
|
476
|
+
scope: s,
|
|
477
|
+
controls: n,
|
|
478
|
+
reservedControlIds: u,
|
|
479
|
+
defaultValues: i,
|
|
480
|
+
onChange: k,
|
|
481
|
+
emptyMessage: b,
|
|
482
|
+
initialCreateFlow: g = !1,
|
|
483
|
+
usageByControlId: v,
|
|
484
|
+
availableFieldChoices: p,
|
|
485
|
+
availableMetricChoices: N,
|
|
486
|
+
structuralParticipants: x,
|
|
487
|
+
structuralParticipantIdsByControlId: f,
|
|
488
|
+
card: S,
|
|
489
|
+
allowedControlTypes: T,
|
|
490
|
+
onCreateFlowActiveChange: _,
|
|
491
|
+
onCreateFlowComplete: I
|
|
492
|
+
}) {
|
|
493
|
+
const A = H(
|
|
494
|
+
() => new Set(u || []),
|
|
495
|
+
[u]
|
|
496
|
+
), We = bt(s), Ze = ut(s), [ge, P] = M(
|
|
497
|
+
null
|
|
498
|
+
), [Pe, U] = M(
|
|
499
|
+
null
|
|
500
|
+
), [a, D] = M(
|
|
501
|
+
() => g ? {
|
|
502
|
+
step: 1,
|
|
503
|
+
control: G(s, n, Array.from(A))
|
|
504
|
+
} : null
|
|
505
|
+
), Q = se({}), j = se(void 0), be = se(g), xe = H(() => {
|
|
506
|
+
const e = we({ scope: s, card: S });
|
|
507
|
+
if (!T)
|
|
508
|
+
return e;
|
|
509
|
+
const l = new Set(T);
|
|
510
|
+
return e.filter((r) => l.has(r.value));
|
|
511
|
+
}, [T, S, s]), et = F(
|
|
512
|
+
(e) => {
|
|
513
|
+
const l = we({
|
|
514
|
+
scope: s,
|
|
515
|
+
card: S,
|
|
516
|
+
includeType: T ? void 0 : e
|
|
517
|
+
});
|
|
518
|
+
if (!T)
|
|
519
|
+
return l;
|
|
520
|
+
const r = new Set(T);
|
|
521
|
+
return l.filter((d) => r.has(d.value));
|
|
522
|
+
},
|
|
523
|
+
[T, S, s]
|
|
524
|
+
), V = F(
|
|
525
|
+
(e) => s === "dashboard" && (e === "field_selector" || e === "metric_selector"),
|
|
526
|
+
[s]
|
|
527
|
+
), ee = H(
|
|
528
|
+
() => a ? Te(
|
|
529
|
+
x || [],
|
|
530
|
+
a.control.type
|
|
531
|
+
) : [],
|
|
532
|
+
[a, x]
|
|
533
|
+
), Y = H(() => {
|
|
534
|
+
if (!a)
|
|
535
|
+
return {
|
|
536
|
+
fields: p || [],
|
|
537
|
+
metrics: N || []
|
|
538
|
+
};
|
|
539
|
+
if (!V(a.control.type))
|
|
540
|
+
return {
|
|
541
|
+
fields: p || [],
|
|
542
|
+
metrics: N || []
|
|
543
|
+
};
|
|
544
|
+
const e = a.selectedCardIds || [], l = oe({
|
|
545
|
+
controlType: a.control.type,
|
|
546
|
+
participants: x || [],
|
|
547
|
+
selectedCardIds: e
|
|
548
|
+
});
|
|
549
|
+
return {
|
|
550
|
+
fields: a.control.type === "field_selector" ? l.choices.map((r) => ({
|
|
551
|
+
option: r,
|
|
552
|
+
target: l.fieldTargetMap[r.value]
|
|
553
|
+
})) : [],
|
|
554
|
+
metrics: a.control.type === "metric_selector" ? l.choices.map((r) => ({
|
|
555
|
+
option: r,
|
|
556
|
+
target: l.metricTargetMap[r.value]
|
|
557
|
+
})) : []
|
|
558
|
+
};
|
|
559
|
+
}, [
|
|
560
|
+
p,
|
|
561
|
+
N,
|
|
562
|
+
a,
|
|
563
|
+
V,
|
|
564
|
+
x
|
|
565
|
+
]);
|
|
566
|
+
K(() => {
|
|
567
|
+
_ == null || _(!!a);
|
|
568
|
+
}, [a, _]), K(() => {
|
|
569
|
+
const e = g && !be.current;
|
|
570
|
+
be.current = g, e && (D({
|
|
571
|
+
step: 1,
|
|
572
|
+
control: G(s, n, Array.from(A))
|
|
573
|
+
}), U(null), P(null));
|
|
574
|
+
}, [n, g, A, s]);
|
|
575
|
+
const tt = (e) => {
|
|
576
|
+
if (!V(e.type))
|
|
577
|
+
return {
|
|
578
|
+
fields: p || [],
|
|
579
|
+
metrics: N || []
|
|
580
|
+
};
|
|
581
|
+
const l = (f == null ? void 0 : f[e.id]) || [];
|
|
582
|
+
if (l.length === 0)
|
|
583
|
+
return {
|
|
584
|
+
fields: p || [],
|
|
585
|
+
metrics: N || []
|
|
586
|
+
};
|
|
587
|
+
const r = oe({
|
|
588
|
+
controlType: e.type,
|
|
589
|
+
participants: x || [],
|
|
590
|
+
selectedCardIds: l
|
|
591
|
+
});
|
|
592
|
+
return {
|
|
593
|
+
fields: e.type === "field_selector" ? r.choices.map((d) => ({
|
|
594
|
+
option: d,
|
|
595
|
+
target: r.fieldTargetMap[d.value]
|
|
596
|
+
})) : [],
|
|
597
|
+
metrics: e.type === "metric_selector" ? r.choices.map((d) => ({
|
|
598
|
+
option: d,
|
|
599
|
+
target: r.metricTargetMap[d.value]
|
|
600
|
+
})) : []
|
|
601
|
+
};
|
|
602
|
+
}, te = (e) => {
|
|
603
|
+
if (!V(e.control.type))
|
|
604
|
+
return {
|
|
605
|
+
nextControl: e.control,
|
|
606
|
+
cardBindingsById: void 0
|
|
607
|
+
};
|
|
608
|
+
const l = (f == null ? void 0 : f[e.control.id]) || [], r = oe({
|
|
609
|
+
controlType: e.control.type,
|
|
610
|
+
participants: x || [],
|
|
611
|
+
selectedCardIds: e.nextSelectedCardIds
|
|
612
|
+
}), d = kt({
|
|
613
|
+
control: e.control,
|
|
614
|
+
choices: r.choices
|
|
615
|
+
}), m = Object.fromEntries(
|
|
616
|
+
l.filter((h) => !e.nextSelectedCardIds.includes(h)).map((h) => [h, void 0])
|
|
617
|
+
);
|
|
618
|
+
return e.nextSelectedCardIds.length > 0 && d.source.kind === "manual" && d.source.options.length > 0 && Object.assign(
|
|
619
|
+
m,
|
|
620
|
+
Le({
|
|
621
|
+
control: d,
|
|
622
|
+
participants: x || [],
|
|
623
|
+
selectedCardIds: e.nextSelectedCardIds,
|
|
624
|
+
matrixTargetIds: e.matrixTargetIds
|
|
625
|
+
})
|
|
626
|
+
), {
|
|
627
|
+
nextControl: d,
|
|
628
|
+
cardBindingsById: m
|
|
629
|
+
};
|
|
630
|
+
}, E = F(
|
|
631
|
+
(e, l = i, r = { type: "update" }) => {
|
|
632
|
+
const d = e.map((m) => (de({
|
|
633
|
+
control: m,
|
|
634
|
+
defaultValues: l
|
|
635
|
+
}), mt(
|
|
636
|
+
m
|
|
637
|
+
)));
|
|
638
|
+
k(d, l, r);
|
|
639
|
+
},
|
|
640
|
+
[i, k]
|
|
641
|
+
), B = (e, l) => {
|
|
642
|
+
const r = n.find(
|
|
643
|
+
(C) => C.id === e
|
|
644
|
+
);
|
|
645
|
+
let d = n.map((C) => C.id !== e ? C : l(C));
|
|
646
|
+
const m = d.find(
|
|
647
|
+
(C) => C.id === e
|
|
648
|
+
);
|
|
649
|
+
let h, c;
|
|
650
|
+
if (m && (!r || yt({ control: r }, { control: m })) && s === "dashboard" && (m.type === "field_selector" || m.type === "metric_selector")) {
|
|
651
|
+
const C = (f == null ? void 0 : f[m.id]) || [], O = te({
|
|
652
|
+
control: m,
|
|
653
|
+
nextSelectedCardIds: C
|
|
654
|
+
});
|
|
655
|
+
d = d.map(
|
|
656
|
+
(q) => q.id === e ? O.nextControl : q
|
|
657
|
+
), h = O.cardBindingsById, c = [m.id];
|
|
658
|
+
} else if (r && (!m || !Ct(m.type)) && s === "dashboard" && (r.type === "field_selector" || r.type === "metric_selector")) {
|
|
659
|
+
const C = (f == null ? void 0 : f[r.id]) || [];
|
|
660
|
+
h = Object.fromEntries(
|
|
661
|
+
C.map((O) => [O, void 0])
|
|
662
|
+
), c = [r.id];
|
|
663
|
+
}
|
|
664
|
+
const y = d.find(
|
|
665
|
+
(C) => C.id === e
|
|
666
|
+
);
|
|
667
|
+
let w = i;
|
|
668
|
+
if (r && y) {
|
|
669
|
+
const C = de({
|
|
670
|
+
control: r,
|
|
671
|
+
defaultValues: i
|
|
672
|
+
});
|
|
673
|
+
r.source.kind === "manual" && y.source.kind === "sql_query" && (Q.current[e] = C);
|
|
674
|
+
const O = C === void 0 && r.source.kind === "sql_query" && y.source.kind === "manual" ? Q.current[e] : C, q = Ve({
|
|
675
|
+
previousControl: r,
|
|
676
|
+
nextControl: y,
|
|
677
|
+
currentDefaultValue: O
|
|
678
|
+
});
|
|
679
|
+
y.source.kind === "manual" && (Q.current[e] = q), i && (w = { ...i }, q === void 0 ? delete w[e] : w[e] = q), d = d.map(
|
|
680
|
+
(Se) => Se.id === e ? { ...y, defaultValue: q } : Se
|
|
681
|
+
);
|
|
682
|
+
}
|
|
683
|
+
E(d, w, {
|
|
684
|
+
type: "update",
|
|
685
|
+
cardBindingsById: h,
|
|
686
|
+
affectedBindingControlIds: c
|
|
687
|
+
});
|
|
688
|
+
}, at = (e, l) => {
|
|
689
|
+
if (!l.trim())
|
|
690
|
+
return;
|
|
691
|
+
const r = Nt(l);
|
|
692
|
+
if (r === e || A.has(r) || n.some(
|
|
693
|
+
(h) => h.id === r && h.id !== e
|
|
694
|
+
))
|
|
695
|
+
return;
|
|
696
|
+
const d = n.map(
|
|
697
|
+
(h) => h.id === e ? { ...h, id: r } : h
|
|
698
|
+
);
|
|
699
|
+
if (!i) {
|
|
700
|
+
E(d, void 0, {
|
|
701
|
+
type: "rename",
|
|
702
|
+
oldId: e,
|
|
703
|
+
newId: r
|
|
704
|
+
});
|
|
705
|
+
return;
|
|
706
|
+
}
|
|
707
|
+
const m = { ...i };
|
|
708
|
+
Object.prototype.hasOwnProperty.call(m, e) && (m[r] = m[e], delete m[e]), E(d, m, {
|
|
709
|
+
type: "rename",
|
|
710
|
+
oldId: e,
|
|
711
|
+
newId: r
|
|
712
|
+
});
|
|
713
|
+
}, rt = (e) => {
|
|
714
|
+
const l = n.filter((d) => d.id !== e);
|
|
715
|
+
if (!i) {
|
|
716
|
+
E(l, void 0, { type: "remove", controlId: e });
|
|
717
|
+
return;
|
|
718
|
+
}
|
|
719
|
+
const r = { ...i };
|
|
720
|
+
delete r[e], E(l, r, { type: "remove", controlId: e });
|
|
721
|
+
}, lt = F(() => {
|
|
722
|
+
j.current = void 0, D({
|
|
723
|
+
step: 1,
|
|
724
|
+
control: G(s, n, Array.from(A))
|
|
725
|
+
}), U(null), P(null);
|
|
726
|
+
}, [n, A, s]), $ = (e) => {
|
|
727
|
+
D(
|
|
728
|
+
(l) => l && (() => {
|
|
729
|
+
const r = e(l.control);
|
|
730
|
+
l.control.source.kind === "manual" && r.source.kind === "sql_query" && (j.current = l.defaultValue);
|
|
731
|
+
const d = l.defaultValue === void 0 && l.control.source.kind === "sql_query" && r.source.kind === "manual" ? j.current : l.defaultValue, m = Ve({
|
|
732
|
+
previousControl: l.control,
|
|
733
|
+
nextControl: r,
|
|
734
|
+
currentDefaultValue: d
|
|
735
|
+
});
|
|
736
|
+
return r.source.kind === "manual" && (j.current = m), {
|
|
737
|
+
...l,
|
|
738
|
+
control: r,
|
|
739
|
+
defaultValue: m
|
|
740
|
+
};
|
|
741
|
+
})()
|
|
742
|
+
);
|
|
743
|
+
}, ve = (e) => {
|
|
744
|
+
D(
|
|
745
|
+
(l) => l && (l.control.source.kind === "manual" && (j.current = e), {
|
|
746
|
+
...l,
|
|
747
|
+
defaultValue: e
|
|
748
|
+
})
|
|
749
|
+
);
|
|
750
|
+
}, ae = (() => {
|
|
751
|
+
if (!a)
|
|
752
|
+
return !1;
|
|
753
|
+
if (a.step === 2 && V(a.control.type))
|
|
754
|
+
return (a.selectedCardIds || []).length > 0 && pt({
|
|
755
|
+
participants: x || [],
|
|
756
|
+
selectedCardIds: a.selectedCardIds || [],
|
|
757
|
+
control: a.control,
|
|
758
|
+
selected: a.matrixTargetIds
|
|
759
|
+
});
|
|
760
|
+
if (a.step !== 2 && a.step !== 3 || !a.control.label.trim())
|
|
761
|
+
return !1;
|
|
762
|
+
const l = a.control.source.kind === "sql_query" ? a.control : _e(a.control);
|
|
763
|
+
if (l.source.kind === "manual" && (ft(l) && l.source.options.length === 0 || l.source.options.some(
|
|
764
|
+
(d) => d.label.trim().length === 0 || d.value.trim().length === 0
|
|
765
|
+
)))
|
|
766
|
+
return !1;
|
|
767
|
+
if (l.source.kind === "sql_query") {
|
|
768
|
+
const { connectionId: r, sql: d, valueColumn: m } = l.source;
|
|
769
|
+
return r.trim().length > 0 && d.trim().length > 0 && m.trim().length > 0;
|
|
770
|
+
}
|
|
771
|
+
return ht(
|
|
772
|
+
J(l, a.defaultValue)
|
|
773
|
+
);
|
|
774
|
+
})(), ye = () => {
|
|
775
|
+
var h;
|
|
776
|
+
if (!a)
|
|
777
|
+
return;
|
|
778
|
+
const e = _e(a.control), l = vt({
|
|
779
|
+
label: e.label,
|
|
780
|
+
fallbackId: e.id,
|
|
781
|
+
existingControls: n,
|
|
782
|
+
reservedIds: Array.from(A)
|
|
783
|
+
}), r = {
|
|
784
|
+
...e,
|
|
785
|
+
id: l
|
|
786
|
+
}, d = s === "dashboard" && (r.type === "field_selector" || r.type === "metric_selector") && ((h = a.selectedCardIds) != null && h.length) ? Le({
|
|
787
|
+
control: r,
|
|
788
|
+
participants: x || [],
|
|
789
|
+
selectedCardIds: a.selectedCardIds,
|
|
790
|
+
matrixTargetIds: a.matrixTargetIds
|
|
791
|
+
}) : void 0, m = J(
|
|
792
|
+
r,
|
|
793
|
+
a.defaultValue
|
|
794
|
+
);
|
|
795
|
+
D({
|
|
796
|
+
step: s === "dashboard" && (r.type === "field_selector" || r.type === "metric_selector") ? 4 : 3,
|
|
797
|
+
control: r,
|
|
798
|
+
defaultValue: m,
|
|
799
|
+
createdControlId: l,
|
|
800
|
+
selectedCardIds: a.selectedCardIds,
|
|
801
|
+
matrixTargetIds: a.matrixTargetIds,
|
|
802
|
+
cardBindingsById: d
|
|
803
|
+
});
|
|
804
|
+
}, re = F(() => {
|
|
805
|
+
D(null);
|
|
806
|
+
}, []), Ce = F(() => {
|
|
807
|
+
if (!(a != null && a.createdControlId)) {
|
|
808
|
+
D(null);
|
|
809
|
+
return;
|
|
810
|
+
}
|
|
811
|
+
const e = a.control, l = a.createdControlId, r = J(
|
|
812
|
+
e,
|
|
813
|
+
a.defaultValue
|
|
814
|
+
);
|
|
815
|
+
if (i) {
|
|
816
|
+
const d = { ...i };
|
|
817
|
+
r === void 0 ? delete d[l] : d[l] = r, E(
|
|
818
|
+
[
|
|
819
|
+
...n,
|
|
820
|
+
{
|
|
821
|
+
...e,
|
|
822
|
+
defaultValue: r
|
|
823
|
+
}
|
|
824
|
+
],
|
|
825
|
+
d,
|
|
826
|
+
{
|
|
827
|
+
type: "add",
|
|
828
|
+
cardBindingsById: a.cardBindingsById
|
|
829
|
+
}
|
|
830
|
+
);
|
|
831
|
+
} else
|
|
832
|
+
E(
|
|
833
|
+
[
|
|
834
|
+
...n,
|
|
835
|
+
{
|
|
836
|
+
...e,
|
|
837
|
+
defaultValue: r
|
|
838
|
+
}
|
|
839
|
+
],
|
|
840
|
+
void 0,
|
|
841
|
+
{
|
|
842
|
+
type: "add",
|
|
843
|
+
cardBindingsById: a.cardBindingsById
|
|
844
|
+
}
|
|
845
|
+
);
|
|
846
|
+
U(l), D(null), I == null || I();
|
|
847
|
+
}, [n, a, i, E, I]), nt = a ? V(a.control.type) ? ["Choose type", "Select cards", "Configure", "Finish"] : ["Choose type", "Configure", "Finish"] : [], ke = a != null && a.createdControlId ? `[[param.${a.createdControlId}]]` : a ? `[[param.${gt(a.control.label) || a.control.id}]]` : "", le = Ee({
|
|
848
|
+
controls: n,
|
|
849
|
+
defaultValues: i
|
|
850
|
+
}), ne = a ? [...n, a.control] : n, Ne = a ? Ee({
|
|
851
|
+
controls: ne,
|
|
852
|
+
defaultValues: i,
|
|
853
|
+
overrides: [
|
|
854
|
+
{
|
|
855
|
+
controlId: a.control.id,
|
|
856
|
+
value: a.defaultValue
|
|
857
|
+
}
|
|
858
|
+
]
|
|
859
|
+
}) : le;
|
|
860
|
+
return /* @__PURE__ */ o("div", { className: "space-y-4", children: [
|
|
861
|
+
a ? /* @__PURE__ */ o("div", { className: "space-y-4 pb-1", children: [
|
|
862
|
+
/* @__PURE__ */ t(
|
|
863
|
+
jt,
|
|
864
|
+
{
|
|
865
|
+
currentStep: a.step,
|
|
866
|
+
labels: nt
|
|
867
|
+
}
|
|
868
|
+
),
|
|
869
|
+
a.step === 1 && (() => {
|
|
870
|
+
const e = /* @__PURE__ */ new Set([
|
|
871
|
+
"grain_selector",
|
|
872
|
+
"aggregation_selector",
|
|
873
|
+
"field_selector",
|
|
874
|
+
"metric_selector"
|
|
875
|
+
]), l = /* @__PURE__ */ new Set([
|
|
876
|
+
// Temporarily hide these from the add-control dialog while
|
|
877
|
+
// keeping the shared definitions for existing controls.
|
|
878
|
+
"date",
|
|
879
|
+
"text"
|
|
880
|
+
]), r = xe.filter(
|
|
881
|
+
(h) => !e.has(h.value) && !l.has(h.value)
|
|
882
|
+
), d = xe.filter(
|
|
883
|
+
(h) => e.has(h.value)
|
|
884
|
+
), m = (h) => /* @__PURE__ */ o(
|
|
885
|
+
"button",
|
|
886
|
+
{
|
|
887
|
+
type: "button",
|
|
888
|
+
className: "rounded-control border border-border/60 bg-background px-3 py-2.5 text-left transition-colors hover:bg-muted/40 focus-visible:bg-muted/40 focus-visible:outline-none",
|
|
889
|
+
onClick: () => D(
|
|
890
|
+
Ut({
|
|
891
|
+
scope: s,
|
|
892
|
+
existingControls: n,
|
|
893
|
+
reservedIds: Array.from(A),
|
|
894
|
+
type: h.value
|
|
895
|
+
})
|
|
896
|
+
),
|
|
897
|
+
children: [
|
|
898
|
+
/* @__PURE__ */ t("div", { className: "text-[13px] font-medium text-foreground", children: h.label }),
|
|
899
|
+
/* @__PURE__ */ t("p", { className: "mt-0.5 text-[12px] text-muted-foreground", children: h.description })
|
|
900
|
+
]
|
|
901
|
+
},
|
|
902
|
+
h.value
|
|
903
|
+
);
|
|
904
|
+
return /* @__PURE__ */ o("div", { className: "space-y-4", children: [
|
|
905
|
+
s === "card" && (S == null ? void 0 : S.sql) == null ? /* @__PURE__ */ t("p", { className: "text-[12px] text-muted-foreground", children: "Explorer cards support displayed metric, group by field, aggregation, and time grain controls here." }) : null,
|
|
906
|
+
r.length > 0 && /* @__PURE__ */ o("div", { className: "space-y-1.5", children: [
|
|
907
|
+
/* @__PURE__ */ t("p", { className: "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: "Input controls" }),
|
|
908
|
+
/* @__PURE__ */ t("div", { className: "grid gap-1.5 sm:grid-cols-2", children: r.map(m) })
|
|
909
|
+
] }),
|
|
910
|
+
d.length > 0 && /* @__PURE__ */ o("div", { className: "space-y-1.5", children: [
|
|
911
|
+
/* @__PURE__ */ t("p", { className: "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: "Data-driven controls" }),
|
|
912
|
+
/* @__PURE__ */ t("div", { className: "grid gap-1.5 sm:grid-cols-2", children: d.map(m) })
|
|
913
|
+
] }),
|
|
914
|
+
/* @__PURE__ */ t(
|
|
915
|
+
W,
|
|
916
|
+
{
|
|
917
|
+
secondary: /* @__PURE__ */ t(
|
|
918
|
+
L,
|
|
919
|
+
{
|
|
920
|
+
type: "button",
|
|
921
|
+
variant: "outline",
|
|
922
|
+
size: "xs",
|
|
923
|
+
onClick: re,
|
|
924
|
+
children: "Back to controls"
|
|
925
|
+
}
|
|
926
|
+
)
|
|
927
|
+
}
|
|
928
|
+
)
|
|
929
|
+
] });
|
|
930
|
+
})(),
|
|
931
|
+
a.step === 2 && V(a.control.type) && /* @__PURE__ */ o("div", { className: "space-y-3", children: [
|
|
932
|
+
/* @__PURE__ */ o("div", { className: "space-y-3", children: [
|
|
933
|
+
/* @__PURE__ */ t(
|
|
934
|
+
Ke,
|
|
935
|
+
{
|
|
936
|
+
control: a.control,
|
|
937
|
+
onChange: (e) => $((l) => ({
|
|
938
|
+
...l,
|
|
939
|
+
label: e
|
|
940
|
+
}))
|
|
941
|
+
}
|
|
942
|
+
),
|
|
943
|
+
/* @__PURE__ */ t("p", { className: "text-[12px] text-muted-foreground", children: "Choose which cards should respond to this shared control." })
|
|
944
|
+
] }),
|
|
945
|
+
ee.length === 0 ? /* @__PURE__ */ t("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__ */ t("div", { className: "space-y-1 rounded-control border border-border/60 bg-background p-2", children: ee.map((e) => {
|
|
946
|
+
const l = (a.selectedCardIds || []).includes(e.cardId);
|
|
947
|
+
return /* @__PURE__ */ o(
|
|
948
|
+
"label",
|
|
949
|
+
{
|
|
950
|
+
className: "flex items-start gap-2 rounded-control px-1.5 py-1 text-[13px] hover:bg-muted/40",
|
|
951
|
+
children: [
|
|
952
|
+
/* @__PURE__ */ t(
|
|
953
|
+
Tt,
|
|
954
|
+
{
|
|
955
|
+
checked: l,
|
|
956
|
+
onCheckedChange: (r) => D(
|
|
957
|
+
(d) => d && {
|
|
958
|
+
...d,
|
|
959
|
+
selectedCardIds: r === !0 ? [
|
|
960
|
+
...d.selectedCardIds || [],
|
|
961
|
+
e.cardId
|
|
962
|
+
] : (d.selectedCardIds || []).filter(
|
|
963
|
+
(m) => m !== e.cardId
|
|
964
|
+
)
|
|
965
|
+
}
|
|
966
|
+
)
|
|
967
|
+
}
|
|
968
|
+
),
|
|
969
|
+
/* @__PURE__ */ o("div", { className: "min-w-0", children: [
|
|
970
|
+
/* @__PURE__ */ t("div", { className: "font-medium text-foreground", children: e.title }),
|
|
971
|
+
/* @__PURE__ */ t("div", { className: "text-[12px] text-muted-foreground", children: a.control.type === "field_selector" ? `${e.fieldChoices.length} compatible group-by fields` : `${e.metricChoices.length} compatible metrics` })
|
|
972
|
+
] })
|
|
973
|
+
]
|
|
974
|
+
},
|
|
975
|
+
e.cardId
|
|
976
|
+
);
|
|
977
|
+
}) }),
|
|
978
|
+
/* @__PURE__ */ t(
|
|
979
|
+
Ie,
|
|
980
|
+
{
|
|
981
|
+
participants: ee,
|
|
982
|
+
selectedCardIds: a.selectedCardIds || [],
|
|
983
|
+
control: a.control,
|
|
984
|
+
selected: a.matrixTargetIds,
|
|
985
|
+
onChange: (e, l) => D((r) => r && { ...r, matrixTargetIds: { ...r.matrixTargetIds, [e]: l } })
|
|
986
|
+
}
|
|
987
|
+
),
|
|
988
|
+
/* @__PURE__ */ t(
|
|
989
|
+
W,
|
|
990
|
+
{
|
|
991
|
+
secondary: /* @__PURE__ */ t(
|
|
992
|
+
L,
|
|
993
|
+
{
|
|
994
|
+
type: "button",
|
|
995
|
+
variant: "outline",
|
|
996
|
+
size: "xs",
|
|
997
|
+
onClick: () => D(
|
|
998
|
+
(e) => e && {
|
|
999
|
+
...e,
|
|
1000
|
+
step: 1,
|
|
1001
|
+
selectedCardIds: []
|
|
1002
|
+
}
|
|
1003
|
+
),
|
|
1004
|
+
children: "Back"
|
|
1005
|
+
}
|
|
1006
|
+
),
|
|
1007
|
+
primary: /* @__PURE__ */ t(
|
|
1008
|
+
L,
|
|
1009
|
+
{
|
|
1010
|
+
type: "button",
|
|
1011
|
+
size: "xs",
|
|
1012
|
+
onClick: () => D(
|
|
1013
|
+
(e) => e && {
|
|
1014
|
+
...e,
|
|
1015
|
+
step: 3
|
|
1016
|
+
}
|
|
1017
|
+
),
|
|
1018
|
+
disabled: !ae,
|
|
1019
|
+
children: "Next"
|
|
1020
|
+
}
|
|
1021
|
+
)
|
|
1022
|
+
}
|
|
1023
|
+
)
|
|
1024
|
+
] }),
|
|
1025
|
+
a.step === 2 && !V(a.control.type) && /* @__PURE__ */ t(
|
|
1026
|
+
Ae,
|
|
1027
|
+
{
|
|
1028
|
+
control: a.control,
|
|
1029
|
+
defaultValue: a.defaultValue,
|
|
1030
|
+
availableFieldChoices: Y.fields,
|
|
1031
|
+
availableMetricChoices: Y.metrics,
|
|
1032
|
+
previewControlDefinitions: ne,
|
|
1033
|
+
previewControlValues: Ne,
|
|
1034
|
+
onControlChange: (e) => $(() => e),
|
|
1035
|
+
onLabelChange: (e) => $((l) => ({
|
|
1036
|
+
...l,
|
|
1037
|
+
label: e
|
|
1038
|
+
})),
|
|
1039
|
+
onDefaultValueChange: ve,
|
|
1040
|
+
onBack: () => D(
|
|
1041
|
+
(e) => e && {
|
|
1042
|
+
...e,
|
|
1043
|
+
step: 1
|
|
1044
|
+
}
|
|
1045
|
+
),
|
|
1046
|
+
onNext: ye,
|
|
1047
|
+
nextDisabled: !ae
|
|
1048
|
+
}
|
|
1049
|
+
),
|
|
1050
|
+
a.step === 3 && V(a.control.type) && /* @__PURE__ */ t(
|
|
1051
|
+
Ae,
|
|
1052
|
+
{
|
|
1053
|
+
control: a.control,
|
|
1054
|
+
defaultValue: a.defaultValue,
|
|
1055
|
+
availableFieldChoices: Y.fields,
|
|
1056
|
+
availableMetricChoices: Y.metrics,
|
|
1057
|
+
previewControlDefinitions: ne,
|
|
1058
|
+
previewControlValues: Ne,
|
|
1059
|
+
onControlChange: (e) => $(() => e),
|
|
1060
|
+
onLabelChange: (e) => $((l) => ({
|
|
1061
|
+
...l,
|
|
1062
|
+
label: e
|
|
1063
|
+
})),
|
|
1064
|
+
onDefaultValueChange: ve,
|
|
1065
|
+
onBack: () => D(
|
|
1066
|
+
(e) => e && {
|
|
1067
|
+
...e,
|
|
1068
|
+
step: 2
|
|
1069
|
+
}
|
|
1070
|
+
),
|
|
1071
|
+
onNext: ye,
|
|
1072
|
+
nextDisabled: !ae
|
|
1073
|
+
}
|
|
1074
|
+
),
|
|
1075
|
+
a.step === 3 && !V(a.control.type) && /* @__PURE__ */ t(
|
|
1076
|
+
Oe,
|
|
1077
|
+
{
|
|
1078
|
+
control: a.control,
|
|
1079
|
+
scope: s,
|
|
1080
|
+
createdReference: ke,
|
|
1081
|
+
explorerContent: /* @__PURE__ */ o(X, { children: [
|
|
1082
|
+
"Open the card and use",
|
|
1083
|
+
" ",
|
|
1084
|
+
/* @__PURE__ */ t("span", { className: "font-medium text-foreground", children: "Settings → Controls" }),
|
|
1085
|
+
" ",
|
|
1086
|
+
"to choose what this control changes."
|
|
1087
|
+
] }),
|
|
1088
|
+
sqlDescription: "Reference this control directly in the SQL editor.",
|
|
1089
|
+
onBack: () => D(
|
|
1090
|
+
(e) => e && {
|
|
1091
|
+
...e,
|
|
1092
|
+
step: 2
|
|
1093
|
+
}
|
|
1094
|
+
),
|
|
1095
|
+
onCancel: re,
|
|
1096
|
+
onDone: Ce
|
|
1097
|
+
}
|
|
1098
|
+
),
|
|
1099
|
+
a.step === 4 && V(a.control.type) && /* @__PURE__ */ t(
|
|
1100
|
+
Oe,
|
|
1101
|
+
{
|
|
1102
|
+
control: a.control,
|
|
1103
|
+
scope: s,
|
|
1104
|
+
createdReference: ke,
|
|
1105
|
+
summaryDetail: /* @__PURE__ */ o(X, { children: [
|
|
1106
|
+
"Used by ",
|
|
1107
|
+
(a.selectedCardIds || []).length,
|
|
1108
|
+
" selected card",
|
|
1109
|
+
(a.selectedCardIds || []).length === 1 ? "" : "s"
|
|
1110
|
+
] }),
|
|
1111
|
+
explorerContent: /* @__PURE__ */ t(X, { children: "Selected cards have been set up to respond to this control automatically." }),
|
|
1112
|
+
sqlDescription: "SQL cards can still reference this control directly in the SQL editor.",
|
|
1113
|
+
onBack: () => D(
|
|
1114
|
+
(e) => e && {
|
|
1115
|
+
...e,
|
|
1116
|
+
step: 3
|
|
1117
|
+
}
|
|
1118
|
+
),
|
|
1119
|
+
onCancel: re,
|
|
1120
|
+
onDone: Ce
|
|
1121
|
+
}
|
|
1122
|
+
)
|
|
1123
|
+
] }) : null,
|
|
1124
|
+
!a && n.length === 0 ? /* @__PURE__ */ t("div", { className: "rounded-md border border-dashed p-3 text-sm text-muted-foreground", children: b }) : null,
|
|
1125
|
+
!a && n.map((e) => {
|
|
1126
|
+
const l = tt(e), r = v == null ? void 0 : v[e.id], d = de({
|
|
1127
|
+
control: e,
|
|
1128
|
+
defaultValues: i
|
|
1129
|
+
}), m = Pe === e.id, h = "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";
|
|
1130
|
+
return /* @__PURE__ */ o(
|
|
1131
|
+
"div",
|
|
1132
|
+
{
|
|
1133
|
+
className: "rounded-control border border-border/60",
|
|
1134
|
+
children: [
|
|
1135
|
+
/* @__PURE__ */ o("div", { className: "flex items-center gap-2 px-3 py-2.5", children: [
|
|
1136
|
+
/* @__PURE__ */ o(
|
|
1137
|
+
"button",
|
|
1138
|
+
{
|
|
1139
|
+
type: "button",
|
|
1140
|
+
className: "flex min-w-0 flex-1 items-start gap-2 rounded-control text-left focus:outline-none focus-visible:bg-muted/40",
|
|
1141
|
+
onClick: () => U(
|
|
1142
|
+
(c) => c === e.id ? null : e.id
|
|
1143
|
+
),
|
|
1144
|
+
children: [
|
|
1145
|
+
m ? /* @__PURE__ */ t(De, { className: "mt-0.5 h-3.5 w-3.5 shrink-0 text-muted-foreground" }) : /* @__PURE__ */ t(Fe, { className: "mt-0.5 h-3.5 w-3.5 shrink-0 text-muted-foreground" }),
|
|
1146
|
+
/* @__PURE__ */ o("div", { className: "min-w-0", children: [
|
|
1147
|
+
/* @__PURE__ */ o("div", { className: "flex flex-wrap items-center gap-1.5", children: [
|
|
1148
|
+
/* @__PURE__ */ t("span", { className: "truncate text-[13px] font-medium text-foreground", children: e.label || "Untitled control" }),
|
|
1149
|
+
/* @__PURE__ */ t("span", { className: h, children: Ue(e.type).label }),
|
|
1150
|
+
/* @__PURE__ */ t("span", { className: h, children: Qe(s, e.placement) })
|
|
1151
|
+
] }),
|
|
1152
|
+
/* @__PURE__ */ o("div", { className: "mt-0.5 text-[12px] text-muted-foreground", children: [
|
|
1153
|
+
Ye(e),
|
|
1154
|
+
r != null && r.status ? ` · ${r.status}` : ""
|
|
1155
|
+
] })
|
|
1156
|
+
] })
|
|
1157
|
+
]
|
|
1158
|
+
}
|
|
1159
|
+
),
|
|
1160
|
+
/* @__PURE__ */ t(
|
|
1161
|
+
L,
|
|
1162
|
+
{
|
|
1163
|
+
type: "button",
|
|
1164
|
+
size: "xs",
|
|
1165
|
+
variant: "ghost",
|
|
1166
|
+
className: "h-7 w-7 shrink-0 p-0 text-muted-foreground",
|
|
1167
|
+
onClick: () => rt(e.id),
|
|
1168
|
+
"aria-label": `Remove ${e.label}`,
|
|
1169
|
+
children: /* @__PURE__ */ t(_t, { className: "h-3.5 w-3.5" })
|
|
1170
|
+
}
|
|
1171
|
+
)
|
|
1172
|
+
] }),
|
|
1173
|
+
m && /* @__PURE__ */ o("div", { className: "space-y-4 border-t border-border/60 px-3 py-3", children: [
|
|
1174
|
+
/* @__PURE__ */ o("div", { className: "grid gap-3 md:grid-cols-3", children: [
|
|
1175
|
+
/* @__PURE__ */ o("div", { className: "flex flex-col gap-1.5", children: [
|
|
1176
|
+
/* @__PURE__ */ t(z, { className: "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: "Label" }),
|
|
1177
|
+
/* @__PURE__ */ t(
|
|
1178
|
+
He,
|
|
1179
|
+
{
|
|
1180
|
+
size: "xs",
|
|
1181
|
+
value: e.label,
|
|
1182
|
+
placeholder: "Control label",
|
|
1183
|
+
onChange: (c) => B(e.id, (y) => ({
|
|
1184
|
+
...y,
|
|
1185
|
+
label: c.target.value
|
|
1186
|
+
}))
|
|
1187
|
+
}
|
|
1188
|
+
)
|
|
1189
|
+
] }),
|
|
1190
|
+
/* @__PURE__ */ o("div", { className: "flex flex-col gap-1.5", children: [
|
|
1191
|
+
/* @__PURE__ */ t(z, { className: "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: "Type" }),
|
|
1192
|
+
/* @__PURE__ */ o(
|
|
1193
|
+
ie,
|
|
1194
|
+
{
|
|
1195
|
+
value: e.type,
|
|
1196
|
+
onValueChange: (c) => {
|
|
1197
|
+
const y = Xe({
|
|
1198
|
+
controls: n,
|
|
1199
|
+
controlId: e.id,
|
|
1200
|
+
nextType: c,
|
|
1201
|
+
defaultValues: i
|
|
1202
|
+
});
|
|
1203
|
+
E(y.controls, y.defaultValues);
|
|
1204
|
+
},
|
|
1205
|
+
children: [
|
|
1206
|
+
/* @__PURE__ */ t(ce, { size: "xs", children: /* @__PURE__ */ t(ue, {}) }),
|
|
1207
|
+
/* @__PURE__ */ t(me, { children: et(e.type).map(
|
|
1208
|
+
(c) => /* @__PURE__ */ t(
|
|
1209
|
+
pe,
|
|
1210
|
+
{
|
|
1211
|
+
value: c.value,
|
|
1212
|
+
children: c.label
|
|
1213
|
+
},
|
|
1214
|
+
c.value
|
|
1215
|
+
)
|
|
1216
|
+
) })
|
|
1217
|
+
]
|
|
1218
|
+
}
|
|
1219
|
+
)
|
|
1220
|
+
] }),
|
|
1221
|
+
/* @__PURE__ */ o("div", { className: "flex flex-col gap-1.5", children: [
|
|
1222
|
+
/* @__PURE__ */ t(z, { className: "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: "Show in" }),
|
|
1223
|
+
/* @__PURE__ */ o(
|
|
1224
|
+
ie,
|
|
1225
|
+
{
|
|
1226
|
+
value: e.placement || Ze,
|
|
1227
|
+
onValueChange: (c) => B(e.id, (y) => ({
|
|
1228
|
+
...y,
|
|
1229
|
+
placement: c
|
|
1230
|
+
})),
|
|
1231
|
+
children: [
|
|
1232
|
+
/* @__PURE__ */ t(ce, { size: "xs", children: /* @__PURE__ */ t(ue, {}) }),
|
|
1233
|
+
/* @__PURE__ */ t(me, { children: We.map((c) => /* @__PURE__ */ t(pe, { value: c.value, children: c.label }, c.value)) })
|
|
1234
|
+
]
|
|
1235
|
+
}
|
|
1236
|
+
)
|
|
1237
|
+
] })
|
|
1238
|
+
] }),
|
|
1239
|
+
V(e.type) ? /* @__PURE__ */ o(X, { children: [
|
|
1240
|
+
/* @__PURE__ */ t(
|
|
1241
|
+
Et,
|
|
1242
|
+
{
|
|
1243
|
+
type: e.type,
|
|
1244
|
+
participants: Te(
|
|
1245
|
+
x || [],
|
|
1246
|
+
e.type
|
|
1247
|
+
).map((c) => ({
|
|
1248
|
+
cardId: c.cardId,
|
|
1249
|
+
title: c.title,
|
|
1250
|
+
choiceCount: e.type === "field_selector" ? c.fieldChoices.length : c.metricChoices.length
|
|
1251
|
+
})),
|
|
1252
|
+
selectedCardIds: (f == null ? void 0 : f[e.id]) || [],
|
|
1253
|
+
onChange: (c) => {
|
|
1254
|
+
const y = te({
|
|
1255
|
+
control: e,
|
|
1256
|
+
nextSelectedCardIds: c
|
|
1257
|
+
}), w = n.map(
|
|
1258
|
+
(C) => C.id === e.id ? y.nextControl : C
|
|
1259
|
+
);
|
|
1260
|
+
E(w, i, {
|
|
1261
|
+
type: "update",
|
|
1262
|
+
cardBindingsById: y.cardBindingsById
|
|
1263
|
+
});
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
),
|
|
1267
|
+
/* @__PURE__ */ t(
|
|
1268
|
+
Ie,
|
|
1269
|
+
{
|
|
1270
|
+
participants: x || [],
|
|
1271
|
+
selectedCardIds: (f == null ? void 0 : f[e.id]) || [],
|
|
1272
|
+
control: e,
|
|
1273
|
+
onChange: (c, y) => {
|
|
1274
|
+
const w = te({
|
|
1275
|
+
control: e,
|
|
1276
|
+
nextSelectedCardIds: (f == null ? void 0 : f[e.id]) || [],
|
|
1277
|
+
matrixTargetIds: { [c]: y }
|
|
1278
|
+
});
|
|
1279
|
+
E(
|
|
1280
|
+
n.map((C) => C.id === e.id ? w.nextControl : C),
|
|
1281
|
+
i,
|
|
1282
|
+
{ type: "update", cardBindingsById: w.cardBindingsById }
|
|
1283
|
+
);
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
)
|
|
1287
|
+
] }) : null,
|
|
1288
|
+
/* @__PURE__ */ t(
|
|
1289
|
+
Ge,
|
|
1290
|
+
{
|
|
1291
|
+
control: e,
|
|
1292
|
+
availableFieldChoices: l.fields,
|
|
1293
|
+
availableMetricChoices: l.metrics,
|
|
1294
|
+
previewControlDefinitions: n,
|
|
1295
|
+
previewControlValues: le,
|
|
1296
|
+
controlLifecycle: "edit",
|
|
1297
|
+
onChange: (c) => B(e.id, () => c)
|
|
1298
|
+
}
|
|
1299
|
+
),
|
|
1300
|
+
e.initialValueStrategy === "saved_default" && /* @__PURE__ */ t(
|
|
1301
|
+
Je,
|
|
1302
|
+
{
|
|
1303
|
+
control: e,
|
|
1304
|
+
value: d,
|
|
1305
|
+
allowNoDefault: !0,
|
|
1306
|
+
allowCardDefault: !0,
|
|
1307
|
+
previewControlDefinitions: n,
|
|
1308
|
+
previewControlValues: le,
|
|
1309
|
+
onChange: (c) => {
|
|
1310
|
+
const y = n.map(
|
|
1311
|
+
(w) => w.id === e.id ? { ...w, defaultValue: c } : w
|
|
1312
|
+
);
|
|
1313
|
+
if (e.source.kind === "manual" && (Q.current[e.id] = c), i) {
|
|
1314
|
+
const w = { ...i };
|
|
1315
|
+
c === void 0 ? delete w[e.id] : w[e.id] = c, E(y, w);
|
|
1316
|
+
return;
|
|
1317
|
+
}
|
|
1318
|
+
E(y, void 0);
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
),
|
|
1322
|
+
/* @__PURE__ */ o(
|
|
1323
|
+
Vt,
|
|
1324
|
+
{
|
|
1325
|
+
open: ge === e.id,
|
|
1326
|
+
onOpenChange: (c) => P(c ? e.id : null),
|
|
1327
|
+
children: [
|
|
1328
|
+
/* @__PURE__ */ t(Lt, { asChild: !0, children: /* @__PURE__ */ o(
|
|
1329
|
+
L,
|
|
1330
|
+
{
|
|
1331
|
+
type: "button",
|
|
1332
|
+
variant: "ghost",
|
|
1333
|
+
size: "xs",
|
|
1334
|
+
className: "-ml-2 gap-1 text-muted-foreground hover:text-foreground",
|
|
1335
|
+
children: [
|
|
1336
|
+
ge === e.id ? /* @__PURE__ */ t(De, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ t(Fe, { className: "h-3.5 w-3.5" }),
|
|
1337
|
+
"Advanced"
|
|
1338
|
+
]
|
|
1339
|
+
}
|
|
1340
|
+
) }),
|
|
1341
|
+
/* @__PURE__ */ o(It, { className: "space-y-3 pt-2", children: [
|
|
1342
|
+
/* @__PURE__ */ o("div", { className: "grid gap-3 md:grid-cols-2", children: [
|
|
1343
|
+
/* @__PURE__ */ o("div", { className: "flex flex-col gap-1.5", children: [
|
|
1344
|
+
/* @__PURE__ */ t(z, { className: "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: "Variable name" }),
|
|
1345
|
+
/* @__PURE__ */ t(
|
|
1346
|
+
Ft,
|
|
1347
|
+
{
|
|
1348
|
+
controlId: e.id,
|
|
1349
|
+
onCommit: (c) => at(e.id, c)
|
|
1350
|
+
},
|
|
1351
|
+
e.id
|
|
1352
|
+
)
|
|
1353
|
+
] }),
|
|
1354
|
+
/* @__PURE__ */ o("div", { className: "flex flex-col gap-1.5", children: [
|
|
1355
|
+
/* @__PURE__ */ t(z, { className: "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground", children: "Initial value" }),
|
|
1356
|
+
/* @__PURE__ */ o(
|
|
1357
|
+
ie,
|
|
1358
|
+
{
|
|
1359
|
+
value: e.initialValueStrategy,
|
|
1360
|
+
onValueChange: (c) => B(e.id, (y) => ({
|
|
1361
|
+
...y,
|
|
1362
|
+
initialValueStrategy: c
|
|
1363
|
+
})),
|
|
1364
|
+
children: [
|
|
1365
|
+
/* @__PURE__ */ t(ce, { size: "xs", children: /* @__PURE__ */ t(ue, {}) }),
|
|
1366
|
+
/* @__PURE__ */ t(me, { children: xt.map((c) => /* @__PURE__ */ t(
|
|
1367
|
+
pe,
|
|
1368
|
+
{
|
|
1369
|
+
value: c.value,
|
|
1370
|
+
children: c.label
|
|
1371
|
+
},
|
|
1372
|
+
c.value
|
|
1373
|
+
)) })
|
|
1374
|
+
]
|
|
1375
|
+
}
|
|
1376
|
+
)
|
|
1377
|
+
] })
|
|
1378
|
+
] }),
|
|
1379
|
+
/* @__PURE__ */ t(
|
|
1380
|
+
At,
|
|
1381
|
+
{
|
|
1382
|
+
control: e,
|
|
1383
|
+
onChange: (c) => B(e.id, () => c)
|
|
1384
|
+
}
|
|
1385
|
+
)
|
|
1386
|
+
] })
|
|
1387
|
+
]
|
|
1388
|
+
}
|
|
1389
|
+
)
|
|
1390
|
+
] })
|
|
1391
|
+
]
|
|
1392
|
+
},
|
|
1393
|
+
e.id
|
|
1394
|
+
);
|
|
1395
|
+
}),
|
|
1396
|
+
!a && /* @__PURE__ */ o(
|
|
1397
|
+
L,
|
|
1398
|
+
{
|
|
1399
|
+
type: "button",
|
|
1400
|
+
variant: "outline",
|
|
1401
|
+
size: "xs",
|
|
1402
|
+
onClick: lt,
|
|
1403
|
+
children: [
|
|
1404
|
+
/* @__PURE__ */ t(qt, { className: "h-3.5 w-3.5" }),
|
|
1405
|
+
"Add control"
|
|
1406
|
+
]
|
|
1407
|
+
}
|
|
1408
|
+
)
|
|
1409
|
+
] });
|
|
1410
|
+
}
|
|
1411
|
+
function sa(s) {
|
|
1412
|
+
const {
|
|
1413
|
+
open: n,
|
|
1414
|
+
onOpenChange: u,
|
|
1415
|
+
initialCreateFlowActive: i = !1,
|
|
1416
|
+
dismissMode: k = "passive"
|
|
1417
|
+
} = s, b = n !== void 0, [g, v] = M(!1), [p, N] = M(
|
|
1418
|
+
i
|
|
1419
|
+
), x = b ? n : g, f = F(
|
|
1420
|
+
(_) => {
|
|
1421
|
+
!_ && p && k === "passive" || (b || v(_), _ || N(!1), u == null || u(_));
|
|
1422
|
+
},
|
|
1423
|
+
[b, p, k, u]
|
|
1424
|
+
), S = F(() => {
|
|
1425
|
+
b || v(!1), N(!1), u == null || u(!1);
|
|
1426
|
+
}, [b, u]);
|
|
1427
|
+
K(() => {
|
|
1428
|
+
x || N(!1);
|
|
1429
|
+
}, [x]);
|
|
1430
|
+
const T = F(
|
|
1431
|
+
(_) => {
|
|
1432
|
+
p && _.preventDefault();
|
|
1433
|
+
},
|
|
1434
|
+
[p]
|
|
1435
|
+
);
|
|
1436
|
+
return {
|
|
1437
|
+
forceClose: S,
|
|
1438
|
+
handleOpenChange: f,
|
|
1439
|
+
isCreateFlowActive: p,
|
|
1440
|
+
preventPassiveDismissDuringCreate: T,
|
|
1441
|
+
resolvedOpen: x,
|
|
1442
|
+
setIsCreateFlowActive: N
|
|
1443
|
+
};
|
|
1444
|
+
}
|
|
1445
|
+
export {
|
|
1446
|
+
na as C,
|
|
1447
|
+
ea as F,
|
|
1448
|
+
Rt as I,
|
|
1449
|
+
zt as L,
|
|
1450
|
+
la as V,
|
|
1451
|
+
Mt as a,
|
|
1452
|
+
ra as b,
|
|
1453
|
+
Ot as c,
|
|
1454
|
+
aa as f,
|
|
1455
|
+
ta as r,
|
|
1456
|
+
sa as u
|
|
1457
|
+
};
|