react-semaphor 0.1.522 → 0.1.524
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/appearance-runtime/index.js +1 -1
- package/dist/brand-studio/index.js +1 -1
- package/dist/briefings/index.js +1 -1
- package/dist/chunks/{appearance-context-VJdrKi7r.js → appearance-context-DEYtWinQ.js} +0 -1
- package/dist/chunks/{appearance-runtime-provider-CC4HT2Gi.js → appearance-runtime-provider-B-M8gwlZ.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-BIRnsMqX.js → dashboard-briefing-launcher-CTEyh3FQ.js} +790 -800
- package/dist/chunks/dashboard-controls-C3KbYzz-.js +2146 -0
- package/dist/chunks/{dashboard-json-Dq5ibJr2.js → dashboard-json-Kc_M7nLP.js} +5 -5
- package/dist/chunks/edit-dashboard-visual-DqRmfRqN.js +22114 -0
- package/dist/chunks/{editor-action-buttons-DuxlCZYf.js → editor-action-buttons-s-ByVR9x.js} +740 -675
- package/dist/chunks/{index-krDPPQuA.js → index-D7GVxl4a.js} +41775 -42583
- package/dist/chunks/{index-B0KwXM6P.js → index-D9HDUSye.js} +186 -181
- package/dist/chunks/{report-preferences-dialog-BA9YJnPe.js → report-preferences-dialog-RAp0DAuw.js} +2 -2
- package/dist/chunks/{switch-evlnTA4t.js → switch-CWPcwAZ4.js} +4473 -5054
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-assistant/index.js +1 -2
- package/dist/data-app-builder/index.js +2 -2
- package/dist/index.js +9 -9
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/brand-studio/brand-studio-editor.d.ts +2 -1
- package/dist/types/briefings/index.d.ts +5 -0
- package/dist/types/components/ai/assistant-context-entity-controls.d.ts +1 -1
- package/dist/types/components/ai/assistant-message-components.d.ts +6 -6
- package/dist/types/components/ai/assistant-message.d.ts +1 -1
- package/dist/types/components/ai/assistant-virtualized-messages.d.ts +1 -1
- package/dist/types/components/ai/chat-custom-visual.d.ts +1 -1
- package/dist/types/components/ai/chat-visual-query-utils.d.ts +0 -27
- package/dist/types/components/ai/chat-visual.d.ts +1 -1
- package/dist/types/components/ai/clarification-card.d.ts +1 -1
- package/dist/types/components/ai/context-entity-display.d.ts +1 -1
- package/dist/types/components/ai/dashboard-assistant.d.ts +1 -4
- package/dist/types/components/ai/editor-assistant.d.ts +1 -1
- package/dist/types/components/ai/entity-mention-dropdown.d.ts +2 -1
- package/dist/types/components/ai/file-upload/file-preview.d.ts +3 -2
- package/dist/types/components/ai/file-upload/file-upload-button.d.ts +2 -1
- package/dist/types/components/ai/file-upload/file-upload-zone.d.ts +2 -2
- package/dist/types/components/ai/message-feedback-buttons.d.ts +1 -1
- package/dist/types/components/ai/pending-messages-display.d.ts +1 -1
- package/dist/types/components/ai/placeholders.d.ts +1 -1
- package/dist/types/components/ai/pre-block.d.ts +2 -2
- package/dist/types/components/ai/reasoning-effort-slider.d.ts +1 -1
- package/dist/types/components/ai/seed-questions.d.ts +1 -1
- package/dist/types/components/ai/tool-call-error.d.ts +1 -1
- package/dist/types/components/ai/tool-call.d.ts +1 -1
- package/dist/types/components/ai/tool-part-renderer.d.ts +1 -1
- package/dist/types/components/briefings/attachments/briefing-attachment-list.d.ts +1 -1
- package/dist/types/components/briefings/attachments/briefing-attachment-selector.d.ts +1 -1
- package/dist/types/components/briefings/attachments/briefing-attachment-settings-dialog.d.ts +1 -1
- package/dist/types/components/briefings/briefing-author/attachment-section.d.ts +1 -1
- package/dist/types/components/briefings/briefing-author/author-actions.d.ts +1 -1
- package/dist/types/components/briefings/briefing-author/content-composers.d.ts +2 -2
- package/dist/types/components/briefings/briefing-author/delivery-section.d.ts +1 -1
- package/dist/types/components/briefings/briefing-author/form-primitives.d.ts +3 -3
- package/dist/types/components/briefings/briefing-author/run-ui.d.ts +12 -12
- package/dist/types/components/briefings/briefing-author/schedule-section.d.ts +1 -1
- package/dist/types/components/briefings/briefing-author/schedule.d.ts +1 -1
- package/dist/types/components/briefings/briefing-author/scope-picker.d.ts +1 -1
- package/dist/types/components/briefings/briefing-author/slack-channel-picker.d.ts +1 -1
- package/dist/types/components/briefings/briefing-author-dialog.d.ts +1 -1
- package/dist/types/components/briefings/briefing-author.d.ts +1 -1
- package/dist/types/components/briefings/briefing-html-frame.d.ts +1 -1
- package/dist/types/components/briefings/briefing-recipient-field.d.ts +1 -1
- package/dist/types/components/briefings/briefing-ui-capabilities.d.ts +2 -2
- package/dist/types/components/briefings/dashboard-briefing-launcher-list.d.ts +1 -1
- package/dist/types/components/briefings/dashboard-briefing-launcher.d.ts +1 -1
- package/dist/types/components/briefings/dashboard-schedule-report-menu-item.d.ts +2 -2
- package/dist/types/components/briefings/watch-dashboard-button.d.ts +1 -1
- package/dist/types/components/calculated-fields/ai-compose-panel.d.ts +1 -1
- package/dist/types/components/calculated-fields/calculated-field-editor.d.ts +2 -1
- package/dist/types/components/calculated-fields/domain-definition-notice.d.ts +1 -1
- package/dist/types/components/calculated-fields/expression-validator.d.ts +1 -1
- package/dist/types/components/calculated-fields/field-picker-panel.d.ts +1 -1
- package/dist/types/components/calculated-fields/field-type-toggle.d.ts +1 -1
- package/dist/types/components/calculated-fields/insert-field-popover.d.ts +1 -1
- package/dist/types/components/calculated-fields/placeholder-field-picker.d.ts +1 -1
- package/dist/types/components/calculated-fields/summary-ribbon.d.ts +1 -1
- package/dist/types/components/calculated-fields/templates-menu.d.ts +1 -1
- package/dist/types/components/calculated-fields/validation-results.d.ts +1 -1
- package/dist/types/components/chart-selector/chart-icon.d.ts +3 -2
- package/dist/types/components/chart-selector/chart-selector-item.d.ts +7 -8
- package/dist/types/components/chart-selector/chart-selector.d.ts +9 -3
- package/dist/types/components/chart-selector/chart-type-picker.d.ts +1 -1
- package/dist/types/components/chart-selector/index.d.ts +0 -1
- package/dist/types/components/dashboard/ai-dashboard-create-dialog.d.ts +2 -2
- package/dist/types/components/dashboard/card-actions-menu.d.ts +1 -1
- package/dist/types/components/dashboard/card-selection-pill.d.ts +1 -1
- package/dist/types/components/dashboard/card-summary.d.ts +1 -1
- package/dist/types/components/dashboard/comparison-metadata-badge.d.ts +2 -2
- package/dist/types/components/dashboard/dashboard-card.d.ts +1 -1
- package/dist/types/components/dashboard/dashboard-container.d.ts +1 -1
- package/dist/types/components/dashboard/dashboard-error-state.d.ts +1 -1
- package/dist/types/components/dashboard/dashboard-export-dialog.d.ts +1 -1
- package/dist/types/components/dashboard/dashboard-frame-expand-dialog.d.ts +1 -1
- package/dist/types/components/dashboard/dashboard-frame.d.ts +1 -1
- package/dist/types/components/dashboard/dashboard-hub-row.d.ts +1 -1
- package/dist/types/components/dashboard/dashboard-hub.d.ts +1 -1
- package/dist/types/components/dashboard/dashboard-tabs.d.ts +1 -1
- package/dist/types/components/dashboard/dashboard-visual-error-state.d.ts +3 -3
- package/dist/types/components/dashboard/dashboard.d.ts +1 -1
- package/dist/types/components/dashboard/download-pdf.d.ts +1 -1
- package/dist/types/components/dashboard/drill-breadcrumb.d.ts +1 -1
- package/dist/types/components/dashboard/drill-navigation-controls.d.ts +1 -1
- package/dist/types/components/dashboard/inline-filter-bar.d.ts +2 -1
- package/dist/types/components/dashboard/inline-filter-component.d.ts +2 -1
- package/dist/types/components/dashboard/kpi-header.d.ts +1 -1
- package/dist/types/components/dashboard/sheet/delete-sheet-alert.d.ts +1 -1
- package/dist/types/components/dashboard/sheet/sheet-empty-state.d.ts +1 -1
- package/dist/types/components/dashboard/sheet/sheet-layout.d.ts +2 -1
- package/dist/types/components/dashboard/summary-card.d.ts +3 -3
- package/dist/types/components/dashboard/unconfigured-card-state.d.ts +1 -1
- package/dist/types/components/data-app-runtime/published-data-app-runtime.d.ts +1 -1
- package/dist/types/components/document-sheet/document-control-options-resolver.d.ts +1 -1
- package/dist/types/components/document-sheet/document-control-toolbar-actions.d.ts +1 -1
- package/dist/types/components/document-sheet/document-controls-settings.d.ts +1 -1
- package/dist/types/components/document-sheet/document-input-bar.d.ts +1 -1
- package/dist/types/components/document-sheet/document-insert-picker.d.ts +2 -2
- package/dist/types/components/document-sheet/document-inspector-primitives.d.ts +2 -2
- package/dist/types/components/document-sheet/document-kpi-section.d.ts +1 -1
- package/dist/types/components/document-sheet/document-matrix-section.d.ts +1 -1
- package/dist/types/components/document-sheet/document-measure-layer.d.ts +1 -1
- package/dist/types/components/document-sheet/document-outline.d.ts +1 -1
- package/dist/types/components/document-sheet/document-page-navigation.d.ts +2 -2
- package/dist/types/components/document-sheet/document-page.d.ts +3 -3
- package/dist/types/components/document-sheet/document-panel/document-side-panel.d.ts +1 -1
- package/dist/types/components/document-sheet/document-panel/inputs-panel.d.ts +1 -1
- package/dist/types/components/document-sheet/document-panel/page-panel.d.ts +1 -1
- package/dist/types/components/document-sheet/document-panel/panel-controls.d.ts +2 -2
- package/dist/types/components/document-sheet/document-panel/region-panels.d.ts +2 -2
- package/dist/types/components/document-sheet/document-panel/section-panel.d.ts +2 -2
- package/dist/types/components/document-sheet/document-section-print-boundary.d.ts +1 -1
- package/dist/types/components/document-sheet/document-sheet.d.ts +2 -2
- package/dist/types/components/document-sheet/document-table-chrome.d.ts +5 -5
- package/dist/types/components/document-sheet/document-table-section.d.ts +1 -1
- package/dist/types/components/document-sheet/document-text-editor.d.ts +1 -1
- package/dist/types/components/editor/dashboard-json.d.ts +1 -1
- package/dist/types/components/editor/editable.d.ts +1 -1
- package/dist/types/components/editor/editor-main/advanced-mode-toggle.d.ts +1 -1
- package/dist/types/components/editor/editor-main/card-display-options-dropdown.d.ts +1 -1
- package/dist/types/components/editor/editor-main/card-tabs.d.ts +1 -1
- package/dist/types/components/editor/editor-main/chart-configuration-options.d.ts +1 -1
- package/dist/types/components/editor/editor-main/code-editors/expanded-query-editor-dialog.d.ts +1 -1
- package/dist/types/components/editor/editor-main/code-editors/json-editor-readonly.d.ts +1 -1
- package/dist/types/components/editor/editor-main/content-editable-text.d.ts +2 -1
- package/dist/types/components/editor/editor-main/context-hover-card.d.ts +2 -1
- package/dist/types/components/editor/editor-main/customize-visual/customize-visual-dialog.d.ts +1 -1
- package/dist/types/components/editor/editor-main/dashboard-filter-subscription-status.d.ts +1 -1
- package/dist/types/components/editor/editor-main/data-label-settings.d.ts +1 -1
- package/dist/types/components/editor/editor-main/edit-dashboard-visual.d.ts +2 -1
- package/dist/types/components/editor/editor-main/editor-action-buttons.d.ts +7 -7
- package/dist/types/components/editor/editor-main/editor-actions-biz-mode.d.ts +1 -1
- package/dist/types/components/editor/editor-main/editor-card.d.ts +1 -1
- package/dist/types/components/editor/editor-main/editor-main-component.d.ts +1 -1
- package/dist/types/components/editor/editor-main/editor-query-section.d.ts +3 -2
- package/dist/types/components/editor/editor-main/editor-visual-section.d.ts +3 -8
- package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer.d.ts +1 -1
- package/dist/types/components/editor/editor-main/legend-popover.d.ts +1 -1
- package/dist/types/components/editor/editor-main/raw-output-table.d.ts +2 -1
- package/dist/types/components/editor/editor-main/realtime-popover.d.ts +1 -1
- package/dist/types/components/editor/editor-main/table-type-switcher.d.ts +1 -1
- package/dist/types/components/editor/editor-main/text-card-rich-editor.d.ts +2 -1
- package/dist/types/components/editor/editor-main/text-card.d.ts +2 -1
- package/dist/types/components/editor/editor-main/visual-aside.d.ts +1 -1
- package/dist/types/components/editor/editor-main/visual-editing-controls.d.ts +1 -1
- package/dist/types/components/editor/editor-main/visual-save-as-dialog.d.ts +2 -1
- package/dist/types/components/editor/editor-main/visual-settings.d.ts +1 -1
- package/dist/types/components/editor/editor.d.ts +1 -1
- package/dist/types/components/editor/mode-toggle.d.ts +2 -2
- package/dist/types/components/editor/query-feedback/query-card-details.d.ts +2 -2
- package/dist/types/components/editor/query-feedback/query-error.d.ts +2 -2
- package/dist/types/components/editor/query-feedback/query-feedback-layout.d.ts +3 -3
- package/dist/types/components/editor/query-feedback/query-info.d.ts +1 -1
- package/dist/types/components/editor/query-feedback/query-sql-preview.d.ts +1 -1
- package/dist/types/components/editor/query-feedback/visual-query-error-state.d.ts +1 -1
- package/dist/types/components/error-fallbacks/fallback.d.ts +4 -4
- package/dist/types/components/explorer/chart-configuration/area-series-config-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/axis-config-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/bar-series-config-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/bar-style-config-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/bubble-scatter-config-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/bullet-config-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/chart-config-sections.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/chart-configuration-panel.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/chart-fields-configuration.d.ts +2 -2
- package/dist/types/components/explorer/chart-configuration/chart-type-row.d.ts +2 -2
- package/dist/types/components/explorer/chart-configuration/color-config-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/combo-series-config-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/comparison-config-section.d.ts +2 -2
- package/dist/types/components/explorer/chart-configuration/custom-color-picker.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/data-labels-config-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/data-labels-fields.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/funnel-config-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/heatmap-color-config-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/kpi-format-config-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/legend-config-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/line-series-config-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/line-style-config-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/matrix-authoring-controls.d.ts +5 -5
- package/dist/types/components/explorer/chart-configuration/matrix-authoring-panel.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/matrix-editor-settings.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/metric-format-editor.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/number-format-config.d.ts +2 -1
- package/dist/types/components/explorer/chart-configuration/stacked-sort-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/summary-config-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/tooltip-format-config-section.d.ts +1 -1
- package/dist/types/components/explorer/chart-configuration/treemap-color-mode-section.d.ts +1 -1
- package/dist/types/components/explorer/data-source/add-data-picker.d.ts +1 -1
- package/dist/types/components/explorer/data-source/data-source-panel.d.ts +1 -1
- package/dist/types/components/explorer/data-source/dataset-selector-popover.d.ts +1 -1
- package/dist/types/components/explorer/data-source/db-schema-selector.d.ts +1 -1
- package/dist/types/components/explorer/data-source/direct-source-tree.d.ts +1 -1
- package/dist/types/components/explorer/data-source/entity-tooltip.d.ts +2 -2
- package/dist/types/components/explorer/data-source/file-upload-manager.d.ts +1 -1
- package/dist/types/components/explorer/data-source/select-data-dialog.d.ts +1 -1
- package/dist/types/components/explorer/data-source/selected-entities-summary.d.ts +1 -1
- package/dist/types/components/explorer/data-source/semantic-domain-tree.d.ts +2 -2
- package/dist/types/components/explorer/data-source/url-source-manager.d.ts +1 -1
- package/dist/types/components/explorer/drag-and-drop/attribute-filter-dialog.d.ts +1 -1
- package/dist/types/components/explorer/drag-and-drop/data-concept-tooltip.d.ts +1 -1
- package/dist/types/components/explorer/drag-and-drop/drag-overlay.d.ts +1 -1
- package/dist/types/components/explorer/drag-and-drop/draggable-field-shell.d.ts +1 -1
- package/dist/types/components/explorer/drag-and-drop/draggable-field.d.ts +1 -1
- package/dist/types/components/explorer/drag-and-drop/droppable-zone.d.ts +1 -1
- package/dist/types/components/explorer/drag-and-drop/inline-edit-field.d.ts +2 -1
- package/dist/types/components/explorer/drag-and-drop/matrix-draggable-field.d.ts +1 -1
- package/dist/types/components/explorer/drag-and-drop/pivot-alias-template-editor.d.ts +1 -1
- package/dist/types/components/explorer/drag-and-drop/pivot-value-aliases-editor.d.ts +1 -1
- package/dist/types/components/explorer/fields/field-option-list.d.ts +1 -1
- package/dist/types/components/explorer/fields/icon-for-field-type.d.ts +1 -1
- package/dist/types/components/explorer/fields/numeric-popover.d.ts +1 -1
- package/dist/types/components/explorer/fields/source-field.d.ts +3 -3
- package/dist/types/components/explorer/fields/type-glyph.d.ts +1 -1
- package/dist/types/components/explorer/filters/card-date-filter.d.ts +1 -1
- package/dist/types/components/explorer/filters/card-filter-builder.d.ts +2 -1
- package/dist/types/components/explorer/filters/card-filter-manager.d.ts +1 -1
- package/dist/types/components/explorer/filters/field-multi-select.d.ts +2 -1
- package/dist/types/components/explorer/filters/field-single-select.d.ts +2 -1
- package/dist/types/components/explorer/filters/searchable-field-combobox.d.ts +2 -1
- package/dist/types/components/explorer/join-configuration/auto-join-info.d.ts +1 -1
- package/dist/types/components/explorer/join-configuration/join-conditions-builder.d.ts +1 -1
- package/dist/types/components/explorer/join-configuration/join-dialog.d.ts +1 -1
- package/dist/types/components/explorer/join-configuration/join-manager.d.ts +1 -1
- package/dist/types/components/explorer/join-configuration/join-tooltip-content.d.ts +1 -1
- package/dist/types/components/explorer/main/explorer.d.ts +1 -1
- package/dist/types/components/explorer/main/view-tabs.d.ts +1 -1
- package/dist/types/components/explorer/visualization/chart-settings-panel.d.ts +2 -1
- package/dist/types/components/explorer/visualization/chart-split-view.d.ts +1 -3
- package/dist/types/components/explorer/visualization/feedback-dialog.d.ts +2 -1
- package/dist/types/components/explorer/visualization/row-limit-selector.d.ts +1 -1
- package/dist/types/components/explorer/visualization/visualization-panel.d.ts +1 -1
- package/dist/types/components/icons/bullet-chart-icon.d.ts +1 -1
- package/dist/types/components/interactions/applied-filters-display.d.ts +1 -1
- package/dist/types/components/interactions/card-renderer.d.ts +1 -1
- package/dist/types/components/interactions/click-to-filter-review-dialog.d.ts +2 -1
- package/dist/types/components/interactions/dashboard-drill-host.d.ts +1 -1
- package/dist/types/components/interactions/drill-config/hierarchy-steps-display.d.ts +1 -1
- package/dist/types/components/interactions/drill-config/hierarchy-templates.d.ts +1 -1
- package/dist/types/components/interactions/drill-config/sortable-step.d.ts +1 -1
- package/dist/types/components/interactions/drill-config/step-configuration-popup.d.ts +1 -1
- package/dist/types/components/interactions/drill-hierarchy-modal.d.ts +1 -1
- package/dist/types/components/interactions/drill-to-url-modal.d.ts +1 -1
- package/dist/types/components/interactions/filter-badge-tooltip.d.ts +1 -1
- package/dist/types/components/interactions/insight-modal.d.ts +1 -1
- package/dist/types/components/interactions/insight-viewer.d.ts +1 -1
- package/dist/types/components/interactions/interactions-sheet.d.ts +2 -1
- package/dist/types/components/interactions/panels/click-to-filter-panel.d.ts +1 -1
- package/dist/types/components/interactions/panels/drill-down-panel.d.ts +2 -1
- package/dist/types/components/interactions/panels/drill-to-dashboard-panel.d.ts +1 -1
- package/dist/types/components/interactions/panels/drill-to-insight-panel.d.ts +1 -1
- package/dist/types/components/interactions/panels/drill-to-url-panel-v2.d.ts +1 -1
- package/dist/types/components/interactions/panels/dynamic-drill-panel.d.ts +1 -1
- package/dist/types/components/interactions/panels/panel-field.d.ts +1 -1
- package/dist/types/components/interactions/pickers/dashboard-picker.d.ts +1 -1
- package/dist/types/components/interactions/pickers/insight-picker.d.ts +1 -1
- package/dist/types/components/interactions/replaced-card-wrapper.d.ts +1 -1
- package/dist/types/components/interactions/reusable/field-combobox.d.ts +2 -1
- package/dist/types/components/interactions/reusable/field-selector.d.ts +1 -1
- package/dist/types/components/interactions/reusable/inline-field-selector.d.ts +1 -1
- package/dist/types/components/interactions/sheet/action-editor.d.ts +1 -1
- package/dist/types/components/interactions/sheet/action-picker.d.ts +1 -1
- package/dist/types/components/interactions/sheet/click-outcome-preview.d.ts +1 -1
- package/dist/types/components/interactions/sheet/interactions-home.d.ts +1 -1
- package/dist/types/components/interactions/sheet/sheet-parts.d.ts +4 -4
- package/dist/types/components/kpi-visual-v2/country-selector.d.ts +1 -1
- package/dist/types/components/kpi-visual-v2/kpi-card-explorer.d.ts +1 -1
- package/dist/types/components/kpi-visual-v2/kpi-settings.d.ts +1 -1
- package/dist/types/components/kpi-visual-v2/kpi-tooltip-components.d.ts +4 -4
- package/dist/types/components/kpi-visual-v2/kpi-tooltip.d.ts +2 -1
- package/dist/types/components/kpi-visual-v2/metric-comparison-indicator.d.ts +2 -1
- package/dist/types/components/kpi-visual-v2/metric-comparison-kpi.d.ts +1 -1
- package/dist/types/components/notifications/export-notification-item.d.ts +2 -1
- package/dist/types/components/notifications/export-notification-list.d.ts +2 -1
- package/dist/types/components/notifications/notification-bell.d.ts +2 -1
- package/dist/types/components/providers/appearance-runtime-provider.d.ts +2 -2
- package/dist/types/components/providers/dashboard-matrix-execution-provider.d.ts +1 -1
- package/dist/types/components/providers/dashboard-preferences-provider.d.ts +1 -1
- package/dist/types/components/providers/display-preferences-provider.d.ts +1 -1
- package/dist/types/components/providers/semaphor-context-provider.d.ts +1 -1
- package/dist/types/components/providers/semaphor-query-provider.d.ts +1 -1
- package/dist/types/components/providers/theme-provider.d.ts +1 -1
- package/dist/types/components/providers/ux-provider.d.ts +1 -1
- package/dist/types/components/semaphor/code-block.d.ts +1 -1
- package/dist/types/components/shared/unsaved-changes/unsaved-changes-alert.d.ts +1 -1
- package/dist/types/components/sharing-and-management/common-loading-skeleton.d.ts +1 -1
- package/dist/types/components/sharing-and-management/create-dashboard-dialog.d.ts +1 -1
- package/dist/types/components/sharing-and-management/create-visual-dialog.d.ts +1 -1
- package/dist/types/components/sharing-and-management/dashboard-actions-menu.d.ts +1 -1
- package/dist/types/components/sharing-and-management/group-management-dialog.d.ts +1 -1
- package/dist/types/components/sharing-and-management/resource-edit-dialog.d.ts +2 -1
- package/dist/types/components/sharing-and-management/resource-share-dialog/index.d.ts +1 -1
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/access-list.d.ts +1 -1
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/invite-combobox.d.ts +1 -1
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/primitives.d.ts +3 -3
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/share-shape.d.ts +1 -1
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/shell.d.ts +1 -1
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/status-bar.d.ts +1 -1
- package/dist/types/components/sharing-and-management/visuals-library-dialog.d.ts +1 -1
- package/dist/types/components/surfboard/card-controls-toolbar.d.ts +1 -1
- package/dist/types/components/surfboard/controls/card-runtime-controls.d.ts +1 -1
- package/dist/types/components/surfboard/controls/control-binding-list-editor.d.ts +1 -1
- package/dist/types/components/surfboard/controls/control-definition-editor-sections.d.ts +9 -9
- package/dist/types/components/surfboard/controls/control-definition-list-editor.d.ts +1 -1
- package/dist/types/components/surfboard/controls/control-toolbar-item.d.ts +1 -1
- package/dist/types/components/surfboard/controls/control-toolbar-settings-form.d.ts +1 -1
- package/dist/types/components/surfboard/controls/control-toolbar-settings-shell.d.ts +2 -2
- package/dist/types/components/surfboard/controls/dashboard-control-delete-dialog.d.ts +1 -1
- package/dist/types/components/surfboard/controls/dashboard-control-toolbar-popover.d.ts +1 -1
- package/dist/types/components/surfboard/controls/dashboard-controls-settings.d.ts +1 -1
- package/dist/types/components/surfboard/controls/dashboard-filter-controls-button.d.ts +1 -1
- package/dist/types/components/surfboard/controls/dashboard-filter-controls-launcher.d.ts +1 -1
- package/dist/types/components/surfboard/controls/dashboard-runtime-controls.d.ts +1 -1
- package/dist/types/components/surfboard/controls/matrix-structural-targets.d.ts +1 -1
- package/dist/types/components/surfboard/controls/presentation-currency-binding-editor.d.ts +1 -1
- package/dist/types/components/surfboard/controls/runtime-control-input.d.ts +1 -1
- package/dist/types/components/surfboard/controls/runtime-controls-group.d.ts +1 -1
- package/dist/types/components/surfboard/controls/sortable-control-toolbar-item.d.ts +1 -1
- package/dist/types/components/surfboard/dashboard-controls.d.ts +1 -1
- package/dist/types/components/surfboard/dashboard-plus-main.d.ts +1 -1
- package/dist/types/components/surfboard/dashboard-plus.d.ts +1 -1
- package/dist/types/components/surfboard/expanded-card-view.d.ts +2 -1
- package/dist/types/components/surfboard/export-dialog.d.ts +2 -1
- package/dist/types/components/surfboard/filter/apply-filters-check-box.d.ts +1 -1
- package/dist/types/components/surfboard/filter/custom-filter/custom-filter-selector.d.ts +1 -1
- package/dist/types/components/surfboard/filter/custom-filter/dashboard-custom-filter.d.ts +1 -1
- package/dist/types/components/surfboard/filter/custom-filter-popover.d.ts +1 -1
- package/dist/types/components/surfboard/filter/dashboard-filter-info-group.d.ts +1 -1
- package/dist/types/components/surfboard/filter/dashboard-filter-mapping-panel.d.ts +3 -3
- package/dist/types/components/surfboard/filter/date-comparison-controls.d.ts +1 -1
- package/dist/types/components/surfboard/filter/date-range-filter-v2.d.ts +1 -1
- package/dist/types/components/surfboard/filter/date-range-filter.d.ts +1 -1
- package/dist/types/components/surfboard/filter/day-picker.d.ts +2 -1
- package/dist/types/components/surfboard/filter/field-date-filter.d.ts +1 -1
- package/dist/types/components/surfboard/filter/filter-actions-popover-content.d.ts +1 -1
- package/dist/types/components/surfboard/filter/filter-aside.d.ts +1 -1
- package/dist/types/components/surfboard/filter/filter-component.d.ts +2 -1
- package/dist/types/components/surfboard/filter/filter-configuration-panel.d.ts +7 -7
- package/dist/types/components/surfboard/filter/filter-default-values-picker.d.ts +1 -1
- package/dist/types/components/surfboard/filter/filter-error-state.d.ts +1 -1
- package/dist/types/components/surfboard/filter/filter-header.d.ts +1 -1
- package/dist/types/components/surfboard/filter/filter-info.d.ts +1 -1
- package/dist/types/components/surfboard/filter/filter-option-dependencies-settings.d.ts +2 -1
- package/dist/types/components/surfboard/filter/filter-option-list.d.ts +1 -1
- package/dist/types/components/surfboard/filter/filter-option-source-settings.d.ts +2 -1
- package/dist/types/components/surfboard/filter/filter-picker-popover-content.d.ts +1 -1
- package/dist/types/components/surfboard/filter/filter-popover-parts.d.ts +3 -3
- package/dist/types/components/surfboard/filter/filter-scope-config.d.ts +1 -1
- package/dist/types/components/surfboard/filter/filter-settings-popover.d.ts +1 -1
- package/dist/types/components/surfboard/filter/filter-toolbar-item.d.ts +2 -1
- package/dist/types/components/surfboard/filter/filter-toolbar.d.ts +1 -1
- package/dist/types/components/surfboard/filter/global-date-comparison-footer.d.ts +1 -1
- package/dist/types/components/surfboard/filter/global-date-filter.d.ts +1 -1
- package/dist/types/components/surfboard/filter/hidden-filters.d.ts +1 -1
- package/dist/types/components/surfboard/filter/month-picker.d.ts +2 -1
- package/dist/types/components/surfboard/filter/multi-select-filter.d.ts +2 -2
- package/dist/types/components/surfboard/filter/multi-select-inline-content.d.ts +1 -1
- package/dist/types/components/surfboard/filter/numeric-filter-input.d.ts +1 -1
- package/dist/types/components/surfboard/filter/radio-button-filter.d.ts +1 -1
- package/dist/types/components/surfboard/filter/selection-chip.d.ts +1 -1
- package/dist/types/components/surfboard/filter/selection-filter-section.d.ts +1 -1
- package/dist/types/components/surfboard/filter/sortable-filter-toolbar-item.d.ts +1 -1
- package/dist/types/components/surfboard/filter/tabs-filter.d.ts +1 -1
- package/dist/types/components/surfboard/inline-options-error-state.d.ts +1 -1
- package/dist/types/components/surfboard/input-chip-row.d.ts +1 -1
- package/dist/types/components/surfboard/preferences/calendar-preferences-panel.d.ts +2 -1
- package/dist/types/components/surfboard/preferences/display-format-preferences-fields.d.ts +1 -1
- package/dist/types/components/surfboard/preferences/display-format-preferences-panel.d.ts +1 -1
- package/dist/types/components/surfboard/preferences/report-preferences-dialog.d.ts +1 -1
- package/dist/types/components/surfboard/toolbar-item-shell.d.ts +1 -1
- package/dist/types/components/text-variables/variable-chip-plugin.d.ts +2 -2
- package/dist/types/components/text-variables/variable-picker.d.ts +2 -2
- package/dist/types/components/ui/alert-dialog.d.ts +2 -2
- package/dist/types/components/ui/audience-type-badge.d.ts +1 -1
- package/dist/types/components/ui/calendar.d.ts +2 -2
- package/dist/types/components/ui/command.d.ts +2 -2
- package/dist/types/components/ui/context-menu.d.ts +1 -1
- package/dist/types/components/ui/dialog.d.ts +2 -2
- package/dist/types/components/ui/dropdown-menu.d.ts +1 -1
- package/dist/types/components/ui/resizable.d.ts +2 -2
- package/dist/types/components/ui/sheet.d.ts +2 -2
- package/dist/types/components/ui/skeleton.d.ts +1 -1
- package/dist/types/components/ui/sonner.d.ts +1 -1
- package/dist/types/components/ui-custom/color-field.d.ts +2 -1
- package/dist/types/components/ui-custom/column-search.d.ts +2 -1
- package/dist/types/components/ui-custom/combo-box-2.d.ts +1 -1
- package/dist/types/components/ui-custom/combo-box.d.ts +1 -1
- package/dist/types/components/ui-custom/copy-button.d.ts +1 -1
- package/dist/types/components/ui-custom/copy-on-click.d.ts +1 -1
- package/dist/types/components/ui-custom/date-range-picker.d.ts +1 -1
- package/dist/types/components/ui-custom/date-range-popover.d.ts +1 -1
- package/dist/types/components/ui-custom/details.d.ts +1 -1
- package/dist/types/components/ui-custom/editable-text.d.ts +2 -1
- package/dist/types/components/ui-custom/load-on-scroll-status.d.ts +1 -1
- package/dist/types/components/ui-custom/loading-dots.d.ts +1 -1
- package/dist/types/components/ui-custom/local-blur-input.d.ts +1 -1
- package/dist/types/components/ui-custom/option-search-input.d.ts +1 -1
- package/dist/types/components/ui-custom/overflow-div.d.ts +1 -1
- package/dist/types/components/ui-custom/overflow-span.d.ts +1 -1
- package/dist/types/components/ui-custom/pre-tag.d.ts +1 -1
- package/dist/types/components/ui-custom/radio-indicator.d.ts +1 -1
- package/dist/types/components/ui-custom/resizable-handle-custom.d.ts +1 -1
- package/dist/types/components/ui-custom/reusable-select.d.ts +1 -1
- package/dist/types/components/ui-custom/visual-badge.d.ts +1 -1
- package/dist/types/components/visual/aggregated-table/aggregate-table.d.ts +2 -1
- package/dist/types/components/visual/aggregated-table/columns/column-cell-components.d.ts +2 -1
- package/dist/types/components/visual/aggregated-table/columns/column-header-components.d.ts +3 -2
- package/dist/types/components/visual/aggregated-table/components/aggregate-table-body.d.ts +1 -1
- package/dist/types/components/visual/aggregated-table/components/grand-total-footer.d.ts +2 -1
- package/dist/types/components/visual/chartjs-visual.d.ts +1 -1
- package/dist/types/components/visual/custom-visual/component-combo-box.d.ts +2 -1
- package/dist/types/components/visual/custom-visual/custom-visual-settings.d.ts +1 -1
- package/dist/types/components/visual/custom-visual/dashboard-custom-visual.d.ts +1 -1
- package/dist/types/components/visual/custom-visual/editor-custom-visual.d.ts +1 -1
- package/dist/types/components/visual/custom-visual/multi-input-empty-renderer.d.ts +1 -1
- package/dist/types/components/visual/data-table/column-resize-handle.d.ts +1 -1
- package/dist/types/components/visual/data-table/copyable-cell.d.ts +1 -1
- package/dist/types/components/visual/data-table/data-table-column-settings.d.ts +1 -1
- package/dist/types/components/visual/data-table/data-table-conditional-formatting-settings.d.ts +1 -1
- package/dist/types/components/visual/data-table/data-table-pagination.d.ts +1 -1
- package/dist/types/components/visual/data-table/data-table-toolbar.d.ts +1 -1
- package/dist/types/components/visual/data-table/data-table.d.ts +1 -1
- package/dist/types/components/visual/data-table/overflow-cell.d.ts +1 -1
- package/dist/types/components/visual/data-table/table-settings-toolbar-button.d.ts +1 -1
- package/dist/types/components/visual/data-table/table-skeleton.d.ts +1 -1
- package/dist/types/components/visual/data-table/table-visual.d.ts +1 -1
- package/dist/types/components/visual/info-hover.d.ts +2 -1
- package/dist/types/components/visual/kpi-visual/format-number-setting.d.ts +1 -1
- package/dist/types/components/visual/kpi-visual/kpi-card-with-info.d.ts +1 -1
- package/dist/types/components/visual/kpi-visual/kpi-card.d.ts +3 -3
- package/dist/types/components/visual/kpi-visual/kpi-editor-ownership-badge.d.ts +1 -1
- package/dist/types/components/visual/matrix-table/matrix-axis-menu.d.ts +1 -1
- package/dist/types/components/visual/matrix-table/matrix-card-view.d.ts +1 -1
- package/dist/types/components/visual/matrix-table/matrix-interaction-actions.d.ts +2 -2
- package/dist/types/components/visual/matrix-table/matrix-loading-skeleton.d.ts +2 -2
- package/dist/types/components/visual/matrix-table/matrix-window-viewer.d.ts +1 -1
- package/dist/types/components/visual/pivot-table/aggregation-menu.d.ts +1 -1
- package/dist/types/components/visual/pivot-table/components/pivot-table-body.d.ts +1 -1
- package/dist/types/components/visual/pivot-table/components/pivot-table-footer.d.ts +2 -1
- package/dist/types/components/visual/pivot-table/hooks/use-pivot-column-headers.d.ts +1 -1
- package/dist/types/components/visual/pivot-table/pivot-table-tanstack.d.ts +1 -1
- package/dist/types/components/visual/settings/axis-mapping.d.ts +2 -2
- package/dist/types/components/visual/settings/chart-documentation.d.ts +3 -3
- package/dist/types/components/visual/settings/chart-orientation.d.ts +1 -1
- package/dist/types/components/visual/settings/color-format.d.ts +2 -1
- package/dist/types/components/visual/settings/controls-settings.d.ts +2 -1
- package/dist/types/components/visual/settings/dataset-label-popover.d.ts +2 -1
- package/dist/types/components/visual/settings/display-labels.d.ts +2 -1
- package/dist/types/components/visual/settings/filter-on-click-columns.d.ts +1 -1
- package/dist/types/components/visual/settings/frame-filters.d.ts +3 -2
- package/dist/types/components/visual/settings/inline-filters-settings.d.ts +2 -1
- package/dist/types/components/visual/settings/kpi-settings.d.ts +1 -1
- package/dist/types/components/visual/settings/map-chart-settings.d.ts +1 -1
- package/dist/types/components/visual/settings/scale-options.d.ts +1 -1
- package/dist/types/components/visual/settings/table-column-visibility-settings.d.ts +1 -1
- package/dist/types/components/visual/settings/table-presentation-settings.d.ts +4 -4
- package/dist/types/components/visual/settings/table-visual-settings.d.ts +1 -1
- package/dist/types/components/visual/settings/text-settings.d.ts +1 -1
- package/dist/types/components/visual/settings/text-type-radio.d.ts +2 -1
- package/dist/types/components/visual/visual-error-state.d.ts +1 -1
- package/dist/types/components/visual/visual.d.ts +1 -1
- package/dist/types/dashboard-assistant/index.d.ts +4 -25
- package/dist/types/data-app-builder/data-app-builder.d.ts +1 -1
- package/dist/types/data-app-sdk/devtools/index.d.ts +1 -1
- package/dist/types/data-app-sdk/provider.d.ts +1 -1
- package/dist/types/lib/charts/types.d.ts +1 -1
- package/dist/types/lib/contexts/interactions-popover-context.d.ts +1 -1
- package/dist/types/lib/dashboard-inputs/dashboard-input-snapshot.d.ts +26 -6
- package/dist/types/lib/document/document-generated-at.d.ts +13 -0
- package/dist/types/lib/download-pdf.d.ts +3 -0
- package/dist/types/lib/hooks/ai/use-dashboard-assistant.d.ts +1 -5
- package/dist/types/lib/hooks/semaphor-ready-indicator.d.ts +1 -1
- package/dist/types/lib/hooks/use-card-render-context.d.ts +14 -0
- package/dist/types/lib/hooks/use-dashboard-query.d.ts +0 -8
- package/dist/types/lib/hooks/use-dashboard.d.ts +3 -5
- package/dist/types/lib/hooks/use-is-dashboard-ready.d.ts +3 -0
- package/dist/types/lib/matrix-table/matrix-execution-provider.d.ts +1 -1
- package/dist/types/lib/matrix-table/matrix-runtime-types.d.ts +21 -0
- package/dist/types/lib/matrix-table/matrix-runtime.d.ts +8 -1
- package/dist/types/lib/matrix-table/use-matrix.d.ts +1 -0
- package/dist/types/lib/print/print-holds.d.ts +15 -0
- package/dist/types/lib/print/print-inputs.d.ts +104 -0
- package/dist/types/lib/print/print-sheets.d.ts +16 -0
- package/dist/types/lib/query-context/build-dashboard-card-query-contract.d.ts +0 -1
- package/dist/types/lib/query-context/dashboard-card-query-key.d.ts +0 -1
- package/dist/types/lib/stores/dashboard-store.d.ts +9 -5
- package/dist/types/lib/stores/editor-store.d.ts +1 -3
- package/dist/types/lib/types/common-types.d.ts +6 -51
- package/dist/types/lib/types/token-types.d.ts +3 -3
- package/dist/types/lib/utils/build-saved-editor-card.d.ts +15 -0
- package/dist/types/lib/utils/dashboard-controls-visibility.d.ts +1 -2
- package/dist/types/lib/utils/entity-icon-utils.d.ts +1 -1
- package/dist/types/lib/utils/field-icon-utils.d.ts +1 -1
- package/dist/types/lib/utils.d.ts +0 -4
- package/package.json +7 -6
- package/dist/chunks/dashboard-controls-D6Z6ws11.js +0 -2432
- package/dist/chunks/edit-dashboard-visual-CYZLUQlx.js +0 -23585
- package/dist/types/components/ai/dynamic-visual-host.d.ts +0 -23
- package/dist/types/components/ai/persisted-dynamic-visual.d.ts +0 -15
- package/dist/types/components/chart-selector/star-button.d.ts +0 -13
- package/dist/types/components/editor/dynamic-visualization-menu-items.d.ts +0 -3
- package/dist/types/components/editor/editor-main/dynamic-visual-editor.d.ts +0 -13
- package/dist/types/components/explorer/chart-configuration/chart-quick-selector.d.ts +0 -19
- package/dist/types/components/explorer/spreadsheet/column-header.d.ts +0 -11
- package/dist/types/components/explorer/spreadsheet/editor-panel.d.ts +0 -7
- package/dist/types/components/explorer/spreadsheet/formula-bar.d.ts +0 -11
- package/dist/types/components/explorer/spreadsheet/index.d.ts +0 -5
- package/dist/types/components/explorer/spreadsheet/spreadsheet-table.d.ts +0 -10
- package/dist/types/components/explorer/spreadsheet/spreadsheet-view.d.ts +0 -5
- package/dist/types/components/surfboard/lens/add-lens-dialog.d.ts +0 -9
- package/dist/types/components/surfboard/lens/default-lens-checkbox.d.ts +0 -1
- package/dist/types/components/surfboard/lens/lens-dropdown.d.ts +0 -10
- package/dist/types/components/surfboard/lens/lens-utils.d.ts +0 -21
- package/dist/types/lib/ai/dynamic-visual-card-utils.d.ts +0 -70
- package/dist/types/lib/ai/dynamic-visual-theme.d.ts +0 -11
- package/dist/types/lib/hooks/use-dynamic-fallback-render-context.d.ts +0 -12
- package/dist/types/lib/hooks/use-starred-charts.d.ts +0 -1
- package/dist/types/lib/stores/starred-charts-store.d.ts +0 -27
|
@@ -6,7 +6,7 @@ import { al as Ee, a5 as at, a7 as ce, $ as me, t as it } from "./validators-Csd
|
|
|
6
6
|
import "./matrix-continuation-C4sRcjZU.js";
|
|
7
7
|
import { $ as ct, a1 as lt } from "./matrix-operation-contract-D32U2CSw.js";
|
|
8
8
|
import { DEFAULT_RESOLVED_VALUE_FORMAT_PREFERENCES as ue } from "../value-format-preferences/index.js";
|
|
9
|
-
import { k as
|
|
9
|
+
import { k as dt, i as st, g as mt, j as ut, e as ft, M as pt, c as yt, b as ht, P as j } from "./pivot-result-lifecycle-BFO354lk.js";
|
|
10
10
|
import { z as C } from "zod";
|
|
11
11
|
import { r as gt } from "./matrix-definition-E5gXXSTZ.js";
|
|
12
12
|
import { h as Se, i as fe, r as _e, a as Fe, v as vt, b as bt } from "./card-config-utils-CAyjC5Tp.js";
|
|
@@ -129,7 +129,7 @@ const we = /* @__PURE__ */ new WeakMap();
|
|
|
129
129
|
function qt(e) {
|
|
130
130
|
const r = we.get(e);
|
|
131
131
|
if (r) return r;
|
|
132
|
-
const t =
|
|
132
|
+
const t = dt(e);
|
|
133
133
|
return we.set(e, t), t;
|
|
134
134
|
}
|
|
135
135
|
function q(e, r) {
|
|
@@ -137,7 +137,7 @@ function q(e, r) {
|
|
|
137
137
|
return t.length === n.length && t.every((o, a) => o === n[a]);
|
|
138
138
|
}
|
|
139
139
|
function jt(e, r) {
|
|
140
|
-
const t =
|
|
140
|
+
const t = st({
|
|
141
141
|
groupByFields: r.groupByColumns,
|
|
142
142
|
metricFields: r.metricColumns,
|
|
143
143
|
pivotByFields: r.pivotByColumns,
|
|
@@ -234,18 +234,18 @@ function Ln(e) {
|
|
|
234
234
|
const t = e.activation;
|
|
235
235
|
if (!t || t.cardType !== "pivotTable" && t.fields.length === 0)
|
|
236
236
|
return !0;
|
|
237
|
-
const n = Array.isArray(r.records) ? r.records.length : void 0, o = (t.cardConfig.pivotByColumns || []).map((
|
|
237
|
+
const n = Array.isArray(r.records) ? r.records.length : void 0, o = (t.cardConfig.pivotByColumns || []).map((d) => d.id);
|
|
238
238
|
if (t.cardType === "pivotTable")
|
|
239
239
|
try {
|
|
240
|
-
const
|
|
240
|
+
const d = qt(r);
|
|
241
241
|
if (!jt(
|
|
242
|
-
|
|
242
|
+
d.pivotResultContract,
|
|
243
243
|
t.cardConfig
|
|
244
244
|
))
|
|
245
245
|
return !1;
|
|
246
|
-
if (
|
|
247
|
-
const v =
|
|
248
|
-
(w) =>
|
|
246
|
+
if (d.pivotResultState === "loaded_empty") return !0;
|
|
247
|
+
const v = d.columns.filter(
|
|
248
|
+
(w) => d.pivotResultContract.columnKinds[w.key] === "pivot_metric"
|
|
249
249
|
), h = v.filter(
|
|
250
250
|
(w) => {
|
|
251
251
|
var g;
|
|
@@ -256,14 +256,14 @@ function Ln(e) {
|
|
|
256
256
|
var g;
|
|
257
257
|
return ((g = w.pivotIdentity) == null ? void 0 : g.members.length) === 0 && Et({
|
|
258
258
|
expectedPivotFieldIds: o,
|
|
259
|
-
classification:
|
|
259
|
+
classification: d.pivotResultContract.columnClassifications[w.key]
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
262
|
);
|
|
263
263
|
return t.fields.every((w) => {
|
|
264
264
|
var E;
|
|
265
265
|
const g = L(
|
|
266
|
-
|
|
266
|
+
d.columnKeyMap,
|
|
267
267
|
w.id,
|
|
268
268
|
w.role
|
|
269
269
|
);
|
|
@@ -284,14 +284,14 @@ function Ln(e) {
|
|
|
284
284
|
}
|
|
285
285
|
);
|
|
286
286
|
}
|
|
287
|
-
const T =
|
|
287
|
+
const T = d.columns.find(
|
|
288
288
|
(_) => _.key === (g.outputKey || g.rawKey)
|
|
289
289
|
);
|
|
290
290
|
return ((E = T == null ? void 0 : T.temporalBucket) == null ? void 0 : E.granularity) === w.granularity;
|
|
291
291
|
});
|
|
292
|
-
} catch (
|
|
293
|
-
if (
|
|
294
|
-
throw
|
|
292
|
+
} catch (d) {
|
|
293
|
+
if (d instanceof ut) return !1;
|
|
294
|
+
throw d;
|
|
295
295
|
}
|
|
296
296
|
if (n === 0)
|
|
297
297
|
return !0;
|
|
@@ -299,26 +299,26 @@ function Ln(e) {
|
|
|
299
299
|
if (!a || !a.byRole || typeof a.byRole != "object" || Array.isArray(a.byRole))
|
|
300
300
|
return !1;
|
|
301
301
|
const i = [
|
|
302
|
-
...(t.cardConfig.groupByColumns || []).map((
|
|
303
|
-
field:
|
|
302
|
+
...(t.cardConfig.groupByColumns || []).map((d) => ({
|
|
303
|
+
field: d,
|
|
304
304
|
role: "groupby"
|
|
305
305
|
})),
|
|
306
|
-
...(t.cardConfig.metricColumns || []).map((
|
|
307
|
-
field:
|
|
306
|
+
...(t.cardConfig.metricColumns || []).map((d) => ({
|
|
307
|
+
field: d,
|
|
308
308
|
role: "metric"
|
|
309
309
|
})),
|
|
310
|
-
...(t.cardConfig.pivotByColumns || []).map((
|
|
311
|
-
field:
|
|
310
|
+
...(t.cardConfig.pivotByColumns || []).map((d) => ({
|
|
311
|
+
field: d,
|
|
312
312
|
role: "pivotby"
|
|
313
313
|
})),
|
|
314
|
-
...(t.cardConfig.detailColumns || []).map((
|
|
315
|
-
field:
|
|
314
|
+
...(t.cardConfig.detailColumns || []).map((d) => ({
|
|
315
|
+
field: d,
|
|
316
316
|
role: "detail"
|
|
317
317
|
}))
|
|
318
318
|
], l = new Set(
|
|
319
|
-
i.map(({ field:
|
|
319
|
+
i.map(({ field: d, role: v }) => `${v}:${d.id}`)
|
|
320
320
|
), m = new Map(
|
|
321
|
-
(r.columns || []).map((
|
|
321
|
+
(r.columns || []).map((d) => [d.key, d])
|
|
322
322
|
), c = L(
|
|
323
323
|
a,
|
|
324
324
|
ce,
|
|
@@ -333,38 +333,38 @@ function Ln(e) {
|
|
|
333
333
|
return !1;
|
|
334
334
|
l.add(`metric:${ce}`);
|
|
335
335
|
}
|
|
336
|
-
const
|
|
337
|
-
([
|
|
336
|
+
const s = Object.entries(a.byRole).flatMap(
|
|
337
|
+
([d, v]) => Object.keys(v || {}).map((h) => `${d}:${h}`)
|
|
338
338
|
);
|
|
339
|
-
if (
|
|
340
|
-
({ field:
|
|
339
|
+
if (s.length !== l.size || s.some((d) => !l.has(d)) || i.some(
|
|
340
|
+
({ field: d, role: v }) => !L(a, d.id, v)
|
|
341
341
|
))
|
|
342
342
|
return !1;
|
|
343
343
|
try {
|
|
344
344
|
St(
|
|
345
|
-
(r.columns || []).map((
|
|
346
|
-
key:
|
|
347
|
-
pivotIdentity:
|
|
345
|
+
(r.columns || []).map((d) => ({
|
|
346
|
+
key: d.key,
|
|
347
|
+
pivotIdentity: d.pivotIdentity
|
|
348
348
|
})),
|
|
349
349
|
{
|
|
350
350
|
expectedPivotFieldIds: o,
|
|
351
351
|
columnClassifications: r.columnMetadata
|
|
352
352
|
}
|
|
353
353
|
);
|
|
354
|
-
} catch (
|
|
355
|
-
if (
|
|
356
|
-
throw
|
|
354
|
+
} catch (d) {
|
|
355
|
+
if (d instanceof _t) return !1;
|
|
356
|
+
throw d;
|
|
357
357
|
}
|
|
358
|
-
const u = (r.columns || []).filter((
|
|
359
|
-
const v =
|
|
358
|
+
const u = (r.columns || []).filter((d) => {
|
|
359
|
+
const v = d.pivotIdentity;
|
|
360
360
|
return !!(v && v.members.length > 0);
|
|
361
361
|
});
|
|
362
|
-
return n !== 0 && ((p = t.cardConfig.pivotByColumns) != null && p.length) && u.length === 0 ? !1 : t.fields.every((
|
|
362
|
+
return n !== 0 && ((p = t.cardConfig.pivotByColumns) != null && p.length) && u.length === 0 ? !1 : t.fields.every((d) => {
|
|
363
363
|
var b;
|
|
364
364
|
const v = L(
|
|
365
365
|
a,
|
|
366
|
-
|
|
367
|
-
|
|
366
|
+
d.id,
|
|
367
|
+
d.role
|
|
368
368
|
);
|
|
369
369
|
if (!v) return !1;
|
|
370
370
|
if (v.role === "pivotby") {
|
|
@@ -373,16 +373,16 @@ function Ln(e) {
|
|
|
373
373
|
var E;
|
|
374
374
|
return ((E = T.pivotIdentity) == null ? void 0 : E.members) ?? [];
|
|
375
375
|
}
|
|
376
|
-
).filter((T) => T.fieldId ===
|
|
376
|
+
).filter((T) => T.fieldId === d.id);
|
|
377
377
|
return u.length === 0 ? n === 0 : g.length > 0 && g.every(
|
|
378
378
|
(T) => {
|
|
379
379
|
var E;
|
|
380
|
-
return ((E = T.temporalBucket) == null ? void 0 : E.granularity) ===
|
|
380
|
+
return ((E = T.temporalBucket) == null ? void 0 : E.granularity) === d.granularity;
|
|
381
381
|
}
|
|
382
382
|
);
|
|
383
383
|
}
|
|
384
384
|
const h = m.get(v.outputKey || v.rawKey);
|
|
385
|
-
return ((b = h == null ? void 0 : h.temporalBucket) == null ? void 0 : b.granularity) ===
|
|
385
|
+
return ((b = h == null ? void 0 : h.temporalBucket) == null ? void 0 : b.granularity) === d.granularity;
|
|
386
386
|
});
|
|
387
387
|
}
|
|
388
388
|
function Q(e, r) {
|
|
@@ -454,16 +454,16 @@ function Vn(e) {
|
|
|
454
454
|
};
|
|
455
455
|
const t = new Map(
|
|
456
456
|
(e.columns || []).map((c) => [c.key, c])
|
|
457
|
-
), n = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), i = r.fields.reduce((c,
|
|
457
|
+
), n = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), i = r.fields.reduce((c, s) => (c.set(s.id, (c.get(s.id) || 0) + 1), c), /* @__PURE__ */ new Map()), l = (c, s) => {
|
|
458
458
|
a.set(
|
|
459
459
|
Me(c.id, c.role),
|
|
460
|
-
|
|
461
|
-
), i.get(c.id) === 1 && o.set(c.id,
|
|
462
|
-
}, m = (c,
|
|
463
|
-
if (
|
|
460
|
+
s
|
|
461
|
+
), i.get(c.id) === 1 && o.set(c.id, s);
|
|
462
|
+
}, m = (c, s, u) => {
|
|
463
|
+
if (s.granularity !== c.granularity)
|
|
464
464
|
throw new N(
|
|
465
465
|
"invalid_temporal_bucket_metadata",
|
|
466
|
-
`Result identity "${u}" declares ${
|
|
466
|
+
`Result identity "${u}" declares ${s.granularity} buckets for active ${c.granularity} field "${c.id}".`,
|
|
467
467
|
{ cardId: e.card.id, fieldId: c.id, columnKey: u }
|
|
468
468
|
);
|
|
469
469
|
const p = e.executionSnapshot && e.dashboardId ? mt({
|
|
@@ -489,9 +489,9 @@ function Vn(e) {
|
|
|
489
489
|
columnKey: u,
|
|
490
490
|
fieldId: c.id,
|
|
491
491
|
role: c.role,
|
|
492
|
-
metadata:
|
|
492
|
+
metadata: s,
|
|
493
493
|
resolved: p ? Ae({
|
|
494
|
-
metadata:
|
|
494
|
+
metadata: s,
|
|
495
495
|
cardFormat: p,
|
|
496
496
|
locale: p.locale,
|
|
497
497
|
...p.presentation.mode === "auto" ? {
|
|
@@ -499,18 +499,18 @@ function Vn(e) {
|
|
|
499
499
|
} : {}
|
|
500
500
|
}) : Wt(
|
|
501
501
|
c,
|
|
502
|
-
|
|
502
|
+
s,
|
|
503
503
|
e.valueFormatPreferences ?? ue
|
|
504
504
|
)
|
|
505
505
|
};
|
|
506
506
|
};
|
|
507
507
|
for (const c of r.fields) {
|
|
508
|
-
const
|
|
508
|
+
const s = L(
|
|
509
509
|
e.columnKeyMap,
|
|
510
510
|
c.id,
|
|
511
511
|
c.role
|
|
512
512
|
);
|
|
513
|
-
if (!
|
|
513
|
+
if (!s) {
|
|
514
514
|
if (e.columns === void 0 && e.columnKeyMap === void 0 && (e.resultRowCount === void 0 || e.resultRowCount === 0))
|
|
515
515
|
continue;
|
|
516
516
|
throw new N(
|
|
@@ -519,7 +519,7 @@ function Vn(e) {
|
|
|
519
519
|
{ cardId: e.card.id, fieldId: c.id, columnKey: c.name }
|
|
520
520
|
);
|
|
521
521
|
}
|
|
522
|
-
if (
|
|
522
|
+
if (s.role === "pivotby") {
|
|
523
523
|
const h = (e.columns || []).filter(
|
|
524
524
|
(E) => E.pivotIdentity !== void 0
|
|
525
525
|
), b = h.flatMap(
|
|
@@ -534,7 +534,7 @@ function Vn(e) {
|
|
|
534
534
|
throw new te({
|
|
535
535
|
cardId: e.card.id,
|
|
536
536
|
fieldId: c.id,
|
|
537
|
-
columnKey:
|
|
537
|
+
columnKey: s.outputKey || s.rawKey
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
540
|
const w = b[0];
|
|
@@ -572,25 +572,25 @@ function Vn(e) {
|
|
|
572
572
|
l(c, T);
|
|
573
573
|
continue;
|
|
574
574
|
}
|
|
575
|
-
const u =
|
|
575
|
+
const u = s.outputKey || s.rawKey, p = t.get(u);
|
|
576
576
|
if (!(p != null && p.temporalBucket))
|
|
577
577
|
throw new te({
|
|
578
578
|
cardId: e.card.id,
|
|
579
579
|
fieldId: c.id,
|
|
580
580
|
columnKey: u
|
|
581
581
|
});
|
|
582
|
-
const
|
|
582
|
+
const d = Rt(p, {
|
|
583
583
|
metadataRequired: !0
|
|
584
584
|
});
|
|
585
|
-
if (!
|
|
585
|
+
if (!d.ok || !d.value)
|
|
586
586
|
throw new N(
|
|
587
587
|
"invalid_temporal_bucket_metadata",
|
|
588
|
-
|
|
588
|
+
d.ok ? `Result column "${u}" has no validated temporal bucket metadata.` : d.error.message,
|
|
589
589
|
{ cardId: e.card.id, fieldId: c.id, columnKey: u }
|
|
590
590
|
);
|
|
591
591
|
const v = m(
|
|
592
592
|
c,
|
|
593
|
-
|
|
593
|
+
d.value,
|
|
594
594
|
u
|
|
595
595
|
);
|
|
596
596
|
n.set(u, v), l(c, v);
|
|
@@ -851,15 +851,15 @@ function er(e) {
|
|
|
851
851
|
)
|
|
852
852
|
);
|
|
853
853
|
try {
|
|
854
|
-
const a = t.filter((
|
|
854
|
+
const a = t.filter((s) => s.rawTemporal);
|
|
855
855
|
if (a.length === 0) return { kind: "inactive" };
|
|
856
856
|
const i = new Map(
|
|
857
|
-
(((o = e.effectiveCardConfig) == null ? void 0 : o.detailColumns) || []).map((
|
|
858
|
-
|
|
859
|
-
|
|
857
|
+
(((o = e.effectiveCardConfig) == null ? void 0 : o.detailColumns) || []).map((s) => [
|
|
858
|
+
s.id,
|
|
859
|
+
s
|
|
860
860
|
])
|
|
861
861
|
), l = /* @__PURE__ */ new Map(), m = /* @__PURE__ */ new Map();
|
|
862
|
-
for (const
|
|
862
|
+
for (const s of a) {
|
|
863
863
|
const u = Array.from(i).flatMap(
|
|
864
864
|
([T, E]) => {
|
|
865
865
|
const _ = L(
|
|
@@ -867,30 +867,30 @@ function er(e) {
|
|
|
867
867
|
T,
|
|
868
868
|
"detail"
|
|
869
869
|
);
|
|
870
|
-
return _ && _.role === "detail" && (_.outputKey ?? _.rawKey) ===
|
|
870
|
+
return _ && _.role === "detail" && (_.outputKey ?? _.rawKey) === s.key ? [{ field: E, binding: _ }] : [];
|
|
871
871
|
}
|
|
872
872
|
), p = u.length === 1 ? u[0] : null;
|
|
873
873
|
if (!p || typeof p.binding.rawKey != "string" || p.binding.rawKey.trim().length === 0 || p.binding.outputKey !== void 0 && (typeof p.binding.outputKey != "string" || p.binding.outputKey.trim().length === 0))
|
|
874
874
|
throw new S(
|
|
875
875
|
"missing_raw_temporal_column_binding",
|
|
876
|
-
`Raw temporal result column "${
|
|
877
|
-
{ columnKey:
|
|
876
|
+
`Raw temporal result column "${s.key}" does not have one valid exact detail result binding.`,
|
|
877
|
+
{ columnKey: s.key }
|
|
878
878
|
);
|
|
879
|
-
const { field:
|
|
879
|
+
const { field: d, binding: v } = p, h = v.outputKey ?? v.rawKey, b = Pe(s, {
|
|
880
880
|
metadataRequired: !0
|
|
881
881
|
});
|
|
882
882
|
if (!b)
|
|
883
883
|
throw new S(
|
|
884
884
|
"invalid_raw_temporal_metadata",
|
|
885
885
|
`Raw temporal result column "${h}" has no metadata.`,
|
|
886
|
-
{ fieldId:
|
|
886
|
+
{ fieldId: d.id, columnKey: h }
|
|
887
887
|
);
|
|
888
888
|
const w = G({
|
|
889
|
-
format: Oe(
|
|
889
|
+
format: Oe(d),
|
|
890
890
|
preferences: e.preferences,
|
|
891
891
|
calendar: e.calendar
|
|
892
892
|
}), g = {
|
|
893
|
-
fieldId:
|
|
893
|
+
fieldId: d.id,
|
|
894
894
|
columnKey: h,
|
|
895
895
|
metadata: b,
|
|
896
896
|
format: w,
|
|
@@ -901,9 +901,9 @@ function er(e) {
|
|
|
901
901
|
throw new S(
|
|
902
902
|
"missing_raw_temporal_result_contract",
|
|
903
903
|
`Raw temporal result row ${T} is missing column "${h}".`,
|
|
904
|
-
{ fieldId:
|
|
904
|
+
{ fieldId: d.id, columnKey: h }
|
|
905
905
|
);
|
|
906
|
-
l.set(h, g), m.set(
|
|
906
|
+
l.set(h, g), m.set(d.id, g);
|
|
907
907
|
}
|
|
908
908
|
const c = {
|
|
909
909
|
activatedColumnKeys: new Set(l.keys()),
|
|
@@ -1048,9 +1048,9 @@ function rr(e) {
|
|
|
1048
1048
|
const o = /* @__PURE__ */ new Map(), a = new Set(
|
|
1049
1049
|
r.map(([c]) => c)
|
|
1050
1050
|
), i = /* @__PURE__ */ new Map(), l = [...e.columns || []];
|
|
1051
|
-
for (const [c,
|
|
1051
|
+
for (const [c, s] of r) {
|
|
1052
1052
|
const u = ye(
|
|
1053
|
-
|
|
1053
|
+
s.dateFormat
|
|
1054
1054
|
);
|
|
1055
1055
|
if (!u) continue;
|
|
1056
1056
|
const p = xt({
|
|
@@ -1067,16 +1067,16 @@ function rr(e) {
|
|
|
1067
1067
|
})
|
|
1068
1068
|
});
|
|
1069
1069
|
if (i.set(c, p), p.status !== "classified") continue;
|
|
1070
|
-
let
|
|
1070
|
+
let d = l.findIndex(
|
|
1071
1071
|
(b) => b.key === c
|
|
1072
1072
|
);
|
|
1073
|
-
if (e.columns &&
|
|
1073
|
+
if (e.columns && d < 0)
|
|
1074
1074
|
throw new S(
|
|
1075
1075
|
"missing_raw_temporal_result_contract",
|
|
1076
1076
|
`Classified SQL temporal column "${c}" is absent from result columns.`,
|
|
1077
1077
|
{ columnKey: c }
|
|
1078
1078
|
);
|
|
1079
|
-
|
|
1079
|
+
d < 0 && (d = l.length, l.push({
|
|
1080
1080
|
key: c,
|
|
1081
1081
|
name: c,
|
|
1082
1082
|
label: c,
|
|
@@ -1084,14 +1084,14 @@ function rr(e) {
|
|
|
1084
1084
|
dataType: "string"
|
|
1085
1085
|
}));
|
|
1086
1086
|
const v = {
|
|
1087
|
-
...l[
|
|
1087
|
+
...l[d],
|
|
1088
1088
|
role: "date",
|
|
1089
1089
|
dataType: p.metadata.valueKind === "date" ? "date" : "datetime",
|
|
1090
1090
|
rawTemporal: p.metadata
|
|
1091
1091
|
};
|
|
1092
1092
|
Pe(v, {
|
|
1093
1093
|
metadataRequired: !0
|
|
1094
|
-
}), l[
|
|
1094
|
+
}), l[d] = v;
|
|
1095
1095
|
const h = G({
|
|
1096
1096
|
format: u,
|
|
1097
1097
|
preferences: e.preferences,
|
|
@@ -1213,7 +1213,6 @@ const or = [
|
|
|
1213
1213
|
"pivotTable",
|
|
1214
1214
|
"aggregateTable",
|
|
1215
1215
|
"detailTable",
|
|
1216
|
-
"tableBuilder",
|
|
1217
1216
|
"kpi",
|
|
1218
1217
|
"pyramid",
|
|
1219
1218
|
"tornado",
|
|
@@ -1269,40 +1268,40 @@ function ze(e) {
|
|
|
1269
1268
|
function Le(e, r) {
|
|
1270
1269
|
if (!e || e.length === 0) return;
|
|
1271
1270
|
const t = [], n = [], o = [];
|
|
1272
|
-
e.forEach((
|
|
1273
|
-
const u = U(
|
|
1274
|
-
u && (u.kind === "number" ? t.push(
|
|
1271
|
+
e.forEach((s) => {
|
|
1272
|
+
const u = U(s.position);
|
|
1273
|
+
u && (u.kind === "number" ? t.push(s) : u.kind === "range" ? n.push(s) : u.kind === "dynamic" && o.push(s));
|
|
1275
1274
|
});
|
|
1276
|
-
const a = t.find((
|
|
1277
|
-
const u = U(
|
|
1275
|
+
const a = t.find((s) => {
|
|
1276
|
+
const u = U(s.position);
|
|
1278
1277
|
return (u == null ? void 0 : u.kind) === "number" && u.start === r;
|
|
1279
1278
|
});
|
|
1280
1279
|
if (a) return a;
|
|
1281
1280
|
const l = n.sort(
|
|
1282
|
-
(
|
|
1283
|
-
).find((
|
|
1284
|
-
const u = U(
|
|
1281
|
+
(s, u) => H(s) - H(u)
|
|
1282
|
+
).find((s) => {
|
|
1283
|
+
const u = U(s.position);
|
|
1285
1284
|
return (u == null ? void 0 : u.kind) === "range" && r >= u.start && r <= u.end;
|
|
1286
1285
|
});
|
|
1287
1286
|
if (l) return l;
|
|
1288
|
-
const c = o.map((
|
|
1289
|
-
slot:
|
|
1290
|
-
parsed: U(
|
|
1291
|
-
})).filter((
|
|
1287
|
+
const c = o.map((s) => ({
|
|
1288
|
+
slot: s,
|
|
1289
|
+
parsed: U(s.position)
|
|
1290
|
+
})).filter((s) => {
|
|
1292
1291
|
var u;
|
|
1293
|
-
return ((u =
|
|
1292
|
+
return ((u = s.parsed) == null ? void 0 : u.kind) === "dynamic";
|
|
1294
1293
|
}).sort(
|
|
1295
|
-
(
|
|
1296
|
-
var p,
|
|
1297
|
-
return (((p =
|
|
1294
|
+
(s, u) => {
|
|
1295
|
+
var p, d;
|
|
1296
|
+
return (((p = s.parsed) == null ? void 0 : p.start) ?? 0) - (((d = u.parsed) == null ? void 0 : d.start) ?? 0);
|
|
1298
1297
|
}
|
|
1299
|
-
).filter((
|
|
1298
|
+
).filter((s) => {
|
|
1300
1299
|
var u;
|
|
1301
|
-
return r >= (((u =
|
|
1300
|
+
return r >= (((u = s.parsed) == null ? void 0 : u.start) ?? 0);
|
|
1302
1301
|
}).sort(
|
|
1303
|
-
(
|
|
1304
|
-
var p,
|
|
1305
|
-
return (((p = u.parsed) == null ? void 0 : p.start) ?? 0) - (((
|
|
1302
|
+
(s, u) => {
|
|
1303
|
+
var p, d;
|
|
1304
|
+
return (((p = u.parsed) == null ? void 0 : p.start) ?? 0) - (((d = s.parsed) == null ? void 0 : d.start) ?? 0);
|
|
1306
1305
|
}
|
|
1307
1306
|
)[0];
|
|
1308
1307
|
return c == null ? void 0 : c.slot;
|
|
@@ -1387,11 +1386,11 @@ function to(e, r, t) {
|
|
|
1387
1386
|
}, a = r.minInputs || 1, l = e.map((h) => ({ slot: h, parsed: U(h.position) })).filter((h) => h.parsed !== null).reduce((h, b) => {
|
|
1388
1387
|
const w = b.parsed.end;
|
|
1389
1388
|
return Number.isFinite(w) ? Math.max(h, w) : h;
|
|
1390
|
-
}, -1), m = Math.max(a, l + 1), c = ze(e),
|
|
1389
|
+
}, -1), m = Math.max(a, l + 1), c = ze(e), s = c ? H(c) : 0;
|
|
1391
1390
|
let u = !1;
|
|
1392
1391
|
const p = [];
|
|
1393
1392
|
for (let h = 0; h < m; h += 1) {
|
|
1394
|
-
const b = Le(e, h), w = he(b), g = !u && h ===
|
|
1393
|
+
const b = Le(e, h), w = he(b), g = !u && h === s, T = h, E = {
|
|
1395
1394
|
...n,
|
|
1396
1395
|
id: vt(),
|
|
1397
1396
|
title: (g ? c == null ? void 0 : c.label : b == null ? void 0 : b.label) || `Tab ${h + 1}`,
|
|
@@ -1427,19 +1426,19 @@ function to(e, r, t) {
|
|
|
1427
1426
|
}
|
|
1428
1427
|
};
|
|
1429
1428
|
}
|
|
1430
|
-
const
|
|
1429
|
+
const d = p.findIndex(
|
|
1431
1430
|
(h) => {
|
|
1432
1431
|
var b;
|
|
1433
1432
|
return !!((b = h.customCardPreferences) != null && b.url);
|
|
1434
1433
|
}
|
|
1435
1434
|
);
|
|
1436
|
-
if (
|
|
1437
|
-
const [h] = p.splice(
|
|
1435
|
+
if (d > 0) {
|
|
1436
|
+
const [h] = p.splice(d, 1);
|
|
1438
1437
|
p.unshift(h);
|
|
1439
1438
|
}
|
|
1440
1439
|
return p;
|
|
1441
1440
|
}
|
|
1442
|
-
function
|
|
1441
|
+
function dr({
|
|
1443
1442
|
frame: e,
|
|
1444
1443
|
configCard: r,
|
|
1445
1444
|
isMultiInputVisual: t
|
|
@@ -1454,7 +1453,7 @@ function sr({
|
|
|
1454
1453
|
return e.cards.find((m) => m.id === i) || null;
|
|
1455
1454
|
}) : e.cards;
|
|
1456
1455
|
}
|
|
1457
|
-
function
|
|
1456
|
+
function sr(e, r) {
|
|
1458
1457
|
return r && xe(r, e.cards) ? r : e.cards.find((t) => xe(t, e.cards)) || null;
|
|
1459
1458
|
}
|
|
1460
1459
|
function mr(e, r) {
|
|
@@ -1499,12 +1498,12 @@ function ur(e, r) {
|
|
|
1499
1498
|
for (const m of i) {
|
|
1500
1499
|
const c = (((o = m.document) == null ? void 0 : o.sections) || []).flatMap(
|
|
1501
1500
|
(p) => Tt(p)
|
|
1502
|
-
),
|
|
1501
|
+
), s = (m.frames || []).flatMap(
|
|
1503
1502
|
(p) => fr(p, a.cardId)
|
|
1504
1503
|
);
|
|
1505
|
-
|
|
1504
|
+
s.length > 0 && (l = !0);
|
|
1506
1505
|
const u = [
|
|
1507
|
-
...
|
|
1506
|
+
...s,
|
|
1508
1507
|
...(m.cards || []).filter(
|
|
1509
1508
|
(p) => !a.cardId || a.cardId === p.id
|
|
1510
1509
|
),
|
|
@@ -1514,8 +1513,8 @@ function ur(e, r) {
|
|
|
1514
1513
|
];
|
|
1515
1514
|
for (const p of u) {
|
|
1516
1515
|
l = !0;
|
|
1517
|
-
const
|
|
1518
|
-
|
|
1516
|
+
const d = n.get(a.attachmentIndex) ?? /* @__PURE__ */ new Set();
|
|
1517
|
+
d.has(p.id) || (d.add(p.id), n.set(a.attachmentIndex, d), t.push({
|
|
1519
1518
|
card: p,
|
|
1520
1519
|
...a.attachmentIndex !== void 0 ? { attachmentIndex: a.attachmentIndex } : {}
|
|
1521
1520
|
}));
|
|
@@ -1530,14 +1529,14 @@ function fr(e, r) {
|
|
|
1530
1529
|
var i;
|
|
1531
1530
|
const t = r ? (i = e.cards) == null ? void 0 : i.find((l) => l.id === r) : Ne(e);
|
|
1532
1531
|
if (!t) return [];
|
|
1533
|
-
const n =
|
|
1532
|
+
const n = sr(e, t), o = (e.cards || []).filter(
|
|
1534
1533
|
(l) => {
|
|
1535
1534
|
var m;
|
|
1536
1535
|
return typeof ((m = l.customCardPreferences) == null ? void 0 : m.slotIndex) == "number";
|
|
1537
1536
|
}
|
|
1538
1537
|
).length > 1, a = n != null && (mr(n) === "multiple" || o);
|
|
1539
1538
|
return !n || !a ? [t] : lr(
|
|
1540
|
-
|
|
1539
|
+
dr({
|
|
1541
1540
|
frame: e,
|
|
1542
1541
|
configCard: n,
|
|
1543
1542
|
isMultiInputVisual: !0
|
|
@@ -1547,8 +1546,8 @@ function fr(e, r) {
|
|
|
1547
1546
|
function oo(e) {
|
|
1548
1547
|
return ur(e.dashboard, e.selections).flatMap(
|
|
1549
1548
|
({ card: r, attachmentIndex: t }) => {
|
|
1550
|
-
var
|
|
1551
|
-
const n = ((
|
|
1549
|
+
var s, u, p, d;
|
|
1550
|
+
const n = ((s = e.resolveCardConfig) == null ? void 0 : s.call(e, r)) ?? r.config, o = Vt({
|
|
1552
1551
|
card: r,
|
|
1553
1552
|
cardConfig: n
|
|
1554
1553
|
}), a = {
|
|
@@ -1622,7 +1621,7 @@ function oo(e) {
|
|
|
1622
1621
|
}
|
|
1623
1622
|
} else if (m === "freeform" && ((u = r.sql) != null && u.trim()) && !c.trim())
|
|
1624
1623
|
for (const [v, h] of Object.entries(
|
|
1625
|
-
((
|
|
1624
|
+
((d = (p = r.preferences) == null ? void 0 : p.tablePrefs) == null ? void 0 : d.columnSettingsMap) || {}
|
|
1626
1625
|
)) {
|
|
1627
1626
|
if (h.type !== "date") continue;
|
|
1628
1627
|
const b = ye(
|
|
@@ -1893,14 +1892,14 @@ function $e(e, r, t) {
|
|
|
1893
1892
|
];
|
|
1894
1893
|
B(l, `${r}.tokens.color`, m, t);
|
|
1895
1894
|
const c = {};
|
|
1896
|
-
m.forEach((
|
|
1895
|
+
m.forEach((s) => {
|
|
1897
1896
|
const u = K(
|
|
1898
|
-
l[
|
|
1899
|
-
`${r}.tokens.color.${
|
|
1897
|
+
l[s],
|
|
1898
|
+
`${r}.tokens.color.${s}`,
|
|
1900
1899
|
120,
|
|
1901
1900
|
t
|
|
1902
1901
|
);
|
|
1903
|
-
u !== void 0 && (c[
|
|
1902
|
+
u !== void 0 && (c[s] = u);
|
|
1904
1903
|
}), i.color = c;
|
|
1905
1904
|
}
|
|
1906
1905
|
if (a.typography !== void 0) {
|
|
@@ -2112,11 +2111,11 @@ function kr(e) {
|
|
|
2112
2111
|
value: { cadence: "daily", hour: m, minute: l, weekdays: [] }
|
|
2113
2112
|
};
|
|
2114
2113
|
if (o === "*" && i !== "*") {
|
|
2115
|
-
const
|
|
2116
|
-
if (
|
|
2114
|
+
const s = i.split(",").map((d) => xr.get(d));
|
|
2115
|
+
if (s.some((d) => d === void 0))
|
|
2117
2116
|
return { ok: !1, issue: "Choose a supported schedule." };
|
|
2118
|
-
const u =
|
|
2119
|
-
return !p || p.some((
|
|
2117
|
+
const u = s, p = qe(u);
|
|
2118
|
+
return !p || p.some((d, v) => d !== u[v]) ? { ok: !1, issue: "Choose a supported schedule." } : {
|
|
2120
2119
|
ok: !0,
|
|
2121
2120
|
value: { cadence: "weekly", hour: m, minute: l, weekdays: p }
|
|
2122
2121
|
};
|
|
@@ -2199,7 +2198,7 @@ function go(e) {
|
|
|
2199
2198
|
pluralNoun: t === "report" ? "reports" : "briefings"
|
|
2200
2199
|
};
|
|
2201
2200
|
}
|
|
2202
|
-
const
|
|
2201
|
+
const de = "BRIEFING", Rr = ["markdown", "html"], se = ["markdown"], ne = 20, y = {
|
|
2203
2202
|
name: 500,
|
|
2204
2203
|
description: 2e3,
|
|
2205
2204
|
instruction: 5e4,
|
|
@@ -2313,6 +2312,7 @@ const je = new Set(Rr), Mr = /* @__PURE__ */ new Set([
|
|
|
2313
2312
|
"controlBindings",
|
|
2314
2313
|
"tablePreferences",
|
|
2315
2314
|
"dashboardInputExecutionSnapshot",
|
|
2315
|
+
"printInputCapture",
|
|
2316
2316
|
"selectedSheetId",
|
|
2317
2317
|
"cardType",
|
|
2318
2318
|
"allowDownload",
|
|
@@ -2441,9 +2441,9 @@ function He(e, r) {
|
|
|
2441
2441
|
}
|
|
2442
2442
|
function Wr(e, r) {
|
|
2443
2443
|
if (e == null)
|
|
2444
|
-
return [...
|
|
2444
|
+
return [...se];
|
|
2445
2445
|
if (!Array.isArray(e))
|
|
2446
|
-
return f(r, "presentation.artifactFormats", "Expected an array."), [...
|
|
2446
|
+
return f(r, "presentation.artifactFormats", "Expected an array."), [...se];
|
|
2447
2447
|
if (e.length === 0)
|
|
2448
2448
|
return f(
|
|
2449
2449
|
r,
|
|
@@ -2466,7 +2466,7 @@ function Wr(e, r) {
|
|
|
2466
2466
|
function We(e, r) {
|
|
2467
2467
|
if (e == null)
|
|
2468
2468
|
return {
|
|
2469
|
-
artifactFormats: [...
|
|
2469
|
+
artifactFormats: [...se],
|
|
2470
2470
|
includeEvidence: !0,
|
|
2471
2471
|
includeSql: !0
|
|
2472
2472
|
};
|
|
@@ -2651,7 +2651,7 @@ function Jr(e, r, t) {
|
|
|
2651
2651
|
`${i}.label`,
|
|
2652
2652
|
y.contentTitle,
|
|
2653
2653
|
t
|
|
2654
|
-
),
|
|
2654
|
+
), s = D(
|
|
2655
2655
|
l.kind,
|
|
2656
2656
|
`${i}.kind`,
|
|
2657
2657
|
Lr,
|
|
@@ -2667,7 +2667,7 @@ function Jr(e, r, t) {
|
|
|
2667
2667
|
return {
|
|
2668
2668
|
key: m,
|
|
2669
2669
|
label: c,
|
|
2670
|
-
...
|
|
2670
|
+
...s ? { kind: s } : {},
|
|
2671
2671
|
...u ? { align: u } : {}
|
|
2672
2672
|
};
|
|
2673
2673
|
});
|
|
@@ -2804,7 +2804,7 @@ function en(e, r, t) {
|
|
|
2804
2804
|
o.percentChange,
|
|
2805
2805
|
`${n}.percentChange`,
|
|
2806
2806
|
t
|
|
2807
|
-
),
|
|
2807
|
+
), s = $(
|
|
2808
2808
|
o.unit,
|
|
2809
2809
|
`${n}.unit`,
|
|
2810
2810
|
y.contentTitle,
|
|
@@ -2822,7 +2822,7 @@ function en(e, r, t) {
|
|
|
2822
2822
|
...l !== void 0 ? { previousValue: l } : {},
|
|
2823
2823
|
...m !== void 0 ? { delta: m } : {},
|
|
2824
2824
|
...c !== void 0 ? { percentChange: c } : {},
|
|
2825
|
-
...
|
|
2825
|
+
...s ? { unit: s } : {},
|
|
2826
2826
|
...u ? { evidenceIds: u } : {}
|
|
2827
2827
|
};
|
|
2828
2828
|
}
|
|
@@ -2839,10 +2839,10 @@ function en(e, r, t) {
|
|
|
2839
2839
|
`${n}.tiles`,
|
|
2840
2840
|
`Must have ${R.maxKpiTiles} tiles or fewer.`
|
|
2841
2841
|
);
|
|
2842
|
-
const m = l.slice(0, R.maxKpiTiles).map((
|
|
2843
|
-
const p = `${n}.tiles.${u}`,
|
|
2842
|
+
const m = l.slice(0, R.maxKpiTiles).map((s, u) => {
|
|
2843
|
+
const p = `${n}.tiles.${u}`, d = k(s, p, t);
|
|
2844
2844
|
I(
|
|
2845
|
-
|
|
2845
|
+
d,
|
|
2846
2846
|
p,
|
|
2847
2847
|
[
|
|
2848
2848
|
"label",
|
|
@@ -2856,7 +2856,7 @@ function en(e, r, t) {
|
|
|
2856
2856
|
t
|
|
2857
2857
|
);
|
|
2858
2858
|
const v = O(
|
|
2859
|
-
|
|
2859
|
+
d.value,
|
|
2860
2860
|
`${p}.value`,
|
|
2861
2861
|
t
|
|
2862
2862
|
) ?? "";
|
|
@@ -2865,31 +2865,31 @@ function en(e, r, t) {
|
|
|
2865
2865
|
`${p}.value`,
|
|
2866
2866
|
"Expected a non-empty string, number, or structured numeric value."
|
|
2867
2867
|
);
|
|
2868
|
-
const h =
|
|
2869
|
-
|
|
2868
|
+
const h = d.previousValue === void 0 || d.previousValue === null ? d.previousValue : O(
|
|
2869
|
+
d.previousValue,
|
|
2870
2870
|
`${p}.previousValue`,
|
|
2871
2871
|
t
|
|
2872
|
-
), b =
|
|
2873
|
-
|
|
2872
|
+
), b = d.delta === void 0 || d.delta === null ? d.delta : O(
|
|
2873
|
+
d.delta,
|
|
2874
2874
|
`${p}.delta`,
|
|
2875
2875
|
t
|
|
2876
|
-
), w =
|
|
2877
|
-
|
|
2876
|
+
), w = d.percentChange === void 0 || d.percentChange === null ? d.percentChange : O(
|
|
2877
|
+
d.percentChange,
|
|
2878
2878
|
`${p}.percentChange`,
|
|
2879
2879
|
t
|
|
2880
2880
|
), g = $(
|
|
2881
|
-
|
|
2881
|
+
d.unit,
|
|
2882
2882
|
`${p}.unit`,
|
|
2883
2883
|
y.contentTitle,
|
|
2884
2884
|
t
|
|
2885
2885
|
), T = A(
|
|
2886
|
-
|
|
2886
|
+
d.evidenceIds,
|
|
2887
2887
|
`${p}.evidenceIds`,
|
|
2888
2888
|
t
|
|
2889
2889
|
);
|
|
2890
2890
|
return {
|
|
2891
2891
|
label: x(
|
|
2892
|
-
|
|
2892
|
+
d.label,
|
|
2893
2893
|
`${p}.label`,
|
|
2894
2894
|
y.contentTitle,
|
|
2895
2895
|
t
|
|
@@ -2958,7 +2958,7 @@ function en(e, r, t) {
|
|
|
2958
2958
|
`${n}.caption`,
|
|
2959
2959
|
y.contentItem,
|
|
2960
2960
|
t
|
|
2961
|
-
),
|
|
2961
|
+
), s = Ur(
|
|
2962
2962
|
o.totalRows,
|
|
2963
2963
|
`${n}.totalRows`,
|
|
2964
2964
|
t
|
|
@@ -2970,7 +2970,7 @@ function en(e, r, t) {
|
|
|
2970
2970
|
columns: i,
|
|
2971
2971
|
rows: Xr(o.rows, `${n}.rows`, i, t),
|
|
2972
2972
|
...c ? { caption: c } : {},
|
|
2973
|
-
...
|
|
2973
|
+
...s !== void 0 ? { totalRows: s } : {},
|
|
2974
2974
|
...u ? { evidenceIds: u } : {}
|
|
2975
2975
|
};
|
|
2976
2976
|
}
|
|
@@ -3098,8 +3098,8 @@ function on(e, r, t) {
|
|
|
3098
3098
|
if (n.matrix !== void 0) {
|
|
3099
3099
|
const c = k(n.matrix, `${r}.matrix`, t);
|
|
3100
3100
|
I(c, `${r}.matrix`, ["config", "content"], t);
|
|
3101
|
-
const
|
|
3102
|
-
|
|
3101
|
+
const s = it.safeParse(c.config);
|
|
3102
|
+
s.success || f(t, `${r}.matrix.config`, "Expected a valid Matrix definition.");
|
|
3103
3103
|
const u = D(
|
|
3104
3104
|
c.content,
|
|
3105
3105
|
`${r}.matrix.content`,
|
|
@@ -3107,7 +3107,7 @@ function on(e, r, t) {
|
|
|
3107
3107
|
"current, all, or flat",
|
|
3108
3108
|
t
|
|
3109
3109
|
);
|
|
3110
|
-
u || f(t, `${r}.matrix.content`, "Choose Matrix export content."),
|
|
3110
|
+
u || f(t, `${r}.matrix.content`, "Choose Matrix export content."), s.success && u && (o.matrix = { config: s.data, content: u });
|
|
3111
3111
|
}
|
|
3112
3112
|
const a = D(
|
|
3113
3113
|
n.pageSize,
|
|
@@ -3157,13 +3157,13 @@ function on(e, r, t) {
|
|
|
3157
3157
|
"cardType",
|
|
3158
3158
|
"theme"
|
|
3159
3159
|
]) {
|
|
3160
|
-
const
|
|
3160
|
+
const s = $(
|
|
3161
3161
|
n[c],
|
|
3162
3162
|
`${r}.${c}`,
|
|
3163
3163
|
y.id,
|
|
3164
3164
|
t
|
|
3165
3165
|
);
|
|
3166
|
-
|
|
3166
|
+
s && (o[c] = s);
|
|
3167
3167
|
}
|
|
3168
3168
|
for (const c of [
|
|
3169
3169
|
"filterValues",
|
|
@@ -3173,16 +3173,17 @@ function on(e, r, t) {
|
|
|
3173
3173
|
"cardControlDefinitions",
|
|
3174
3174
|
"controlBindings"
|
|
3175
3175
|
]) {
|
|
3176
|
-
const
|
|
3177
|
-
|
|
3176
|
+
const s = rn(n[c], `${r}.${c}`, t);
|
|
3177
|
+
s && (o[c] = s);
|
|
3178
3178
|
}
|
|
3179
3179
|
for (const c of [
|
|
3180
3180
|
"controlValues",
|
|
3181
3181
|
"tablePreferences",
|
|
3182
|
-
"dashboardInputExecutionSnapshot"
|
|
3182
|
+
"dashboardInputExecutionSnapshot",
|
|
3183
|
+
"printInputCapture"
|
|
3183
3184
|
]) {
|
|
3184
|
-
const
|
|
3185
|
-
|
|
3185
|
+
const s = nn(n[c], `${r}.${c}`, t);
|
|
3186
|
+
s && (o[c] = s);
|
|
3186
3187
|
}
|
|
3187
3188
|
return Object.keys(o).length > 0 ? o : void 0;
|
|
3188
3189
|
}
|
|
@@ -3197,7 +3198,11 @@ function ae(e, r, t, n) {
|
|
|
3197
3198
|
}
|
|
3198
3199
|
function ie(e, r, t, n) {
|
|
3199
3200
|
const o = on(r, t, n);
|
|
3200
|
-
return o &&
|
|
3201
|
+
return o != null && o.printInputCapture && e.type !== "dashboard" && f(
|
|
3202
|
+
n,
|
|
3203
|
+
`${t}.printInputCapture`,
|
|
3204
|
+
"Only a full dashboard attachment can carry printInputCapture."
|
|
3205
|
+
), o && (e.settings = o), e;
|
|
3201
3206
|
}
|
|
3202
3207
|
function an(e, r, t) {
|
|
3203
3208
|
const n = `attachments.${r}`, o = k(e, n, t), a = o.type;
|
|
@@ -3395,7 +3400,7 @@ function Xe(e) {
|
|
|
3395
3400
|
"limits"
|
|
3396
3401
|
],
|
|
3397
3402
|
r
|
|
3398
|
-
), t.kind !==
|
|
3403
|
+
), t.kind !== de && f(r, "kind", "Expected BRIEFING.");
|
|
3399
3404
|
let n;
|
|
3400
3405
|
try {
|
|
3401
3406
|
n = ht(
|
|
@@ -3416,7 +3421,7 @@ function Xe(e) {
|
|
|
3416
3421
|
i,
|
|
3417
3422
|
"jobConfig.presentationExecutionSnapshot.resolvedFormats"
|
|
3418
3423
|
), ve(r), {
|
|
3419
|
-
kind:
|
|
3424
|
+
kind: de,
|
|
3420
3425
|
presentationExecutionSnapshot: n,
|
|
3421
3426
|
source: o,
|
|
3422
3427
|
body: a,
|
|
@@ -3428,7 +3433,7 @@ function Xe(e) {
|
|
|
3428
3433
|
function Io(e) {
|
|
3429
3434
|
return Xe({
|
|
3430
3435
|
...e,
|
|
3431
|
-
kind:
|
|
3436
|
+
kind: de
|
|
3432
3437
|
});
|
|
3433
3438
|
}
|
|
3434
3439
|
function be(e, r, t, n = "deliveryConfig.recipients") {
|
|
@@ -3482,12 +3487,12 @@ function be(e, r, t, n = "deliveryConfig.recipients") {
|
|
|
3482
3487
|
"Expected email, user, tenant_user, or group."
|
|
3483
3488
|
), { type: "email", address: "" });
|
|
3484
3489
|
}
|
|
3485
|
-
function
|
|
3490
|
+
function dn(e, r) {
|
|
3486
3491
|
return e == null ? [] : Array.isArray(e) ? e.map(
|
|
3487
3492
|
(t, n) => be(t, n, r)
|
|
3488
3493
|
) : (f(r, "deliveryConfig.recipients", "Expected an array."), []);
|
|
3489
3494
|
}
|
|
3490
|
-
function
|
|
3495
|
+
function sn(e, r) {
|
|
3491
3496
|
if (!Array.isArray(e))
|
|
3492
3497
|
return f(r, "deliveryConfig.channels", "Expected an array."), [];
|
|
3493
3498
|
const t = [];
|
|
@@ -3685,7 +3690,7 @@ function hn(e, r, t) {
|
|
|
3685
3690
|
n.webhookConfig,
|
|
3686
3691
|
`${r}.webhookConfig`,
|
|
3687
3692
|
t
|
|
3688
|
-
),
|
|
3693
|
+
), s = yn(
|
|
3689
3694
|
n.slackConfig,
|
|
3690
3695
|
`${r}.slackConfig`,
|
|
3691
3696
|
t
|
|
@@ -3696,7 +3701,7 @@ function hn(e, r, t) {
|
|
|
3696
3701
|
...i ? { titleOverride: i } : {},
|
|
3697
3702
|
...l ? { summaryOverride: l } : {},
|
|
3698
3703
|
...n.actionBlockVisible !== void 0 ? { actionBlockVisible: m } : {},
|
|
3699
|
-
...
|
|
3704
|
+
...s ? { slackConfig: s } : {},
|
|
3700
3705
|
...c ? { webhookConfig: c } : {}
|
|
3701
3706
|
};
|
|
3702
3707
|
}
|
|
@@ -3721,7 +3726,7 @@ function gn(e, r) {
|
|
|
3721
3726
|
}), Object.keys(n).length > 0 ? n : void 0;
|
|
3722
3727
|
}
|
|
3723
3728
|
function vn(e, r) {
|
|
3724
|
-
var m, c,
|
|
3729
|
+
var m, c, s;
|
|
3725
3730
|
if (e == null)
|
|
3726
3731
|
return null;
|
|
3727
3732
|
const t = k(e, "deliveryConfig", r);
|
|
@@ -3731,7 +3736,7 @@ function vn(e, r) {
|
|
|
3731
3736
|
["recipients", "channels", "channelConfigs"],
|
|
3732
3737
|
r
|
|
3733
3738
|
);
|
|
3734
|
-
const n = gn(t.channelConfigs, r), o =
|
|
3739
|
+
const n = gn(t.channelConfigs, r), o = dn(t.recipients, r), a = sn(t.channels, r), i = ((c = (m = n == null ? void 0 : n.SLACK) == null ? void 0 : m.slackConfig) == null ? void 0 : c.destination.type) === "channel" && !!n.SLACK.slackConfig.destination.channelId.trim();
|
|
3735
3740
|
return a.some(
|
|
3736
3741
|
(u) => u !== "SLACK"
|
|
3737
3742
|
) && o.length === 0 && f(
|
|
@@ -3746,7 +3751,7 @@ function vn(e, r) {
|
|
|
3746
3751
|
r,
|
|
3747
3752
|
"deliveryConfig.channelConfigs.SLACK.slackConfig.destination.channelId",
|
|
3748
3753
|
"Choose a Slack channel destination."
|
|
3749
|
-
), !a.includes("SLACK") && ((
|
|
3754
|
+
), !a.includes("SLACK") && ((s = n == null ? void 0 : n.SLACK) != null && s.slackConfig) && f(
|
|
3750
3755
|
r,
|
|
3751
3756
|
"deliveryConfig.channelConfigs.SLACK",
|
|
3752
3757
|
"Slack config requires SLACK in deliveryConfig.channels."
|
|
@@ -3786,8 +3791,8 @@ function Ie(e) {
|
|
|
3786
3791
|
"description",
|
|
3787
3792
|
y.description,
|
|
3788
3793
|
r
|
|
3789
|
-
) ?? null, a = $(t.scheduleExpr, "scheduleExpr", 500, r) ?? null, i = $(t.timezone, "timezone", 200, r) ?? "UTC", l = Gr(t.status, r), m = Ge(t.source, r), c = He(t.body, r),
|
|
3790
|
-
return Je(c,
|
|
3794
|
+
) ?? null, a = $(t.scheduleExpr, "scheduleExpr", 500, r) ?? null, i = $(t.timezone, "timezone", 200, r) ?? "UTC", l = Gr(t.status, r), m = Ge(t.source, r), c = He(t.body, r), s = Ze(t.attachments, r), u = We(t.presentation, r), p = Qe(t.limits, r), d = vn(t.deliveryConfig, r);
|
|
3795
|
+
return Je(c, s, r), ve(r), {
|
|
3791
3796
|
name: n,
|
|
3792
3797
|
description: o,
|
|
3793
3798
|
status: l,
|
|
@@ -3795,10 +3800,10 @@ function Ie(e) {
|
|
|
3795
3800
|
timezone: i,
|
|
3796
3801
|
source: m,
|
|
3797
3802
|
body: c,
|
|
3798
|
-
attachments:
|
|
3803
|
+
attachments: s,
|
|
3799
3804
|
presentation: u,
|
|
3800
3805
|
...p ? { limits: p } : {},
|
|
3801
|
-
deliveryConfig:
|
|
3806
|
+
deliveryConfig: d
|
|
3802
3807
|
};
|
|
3803
3808
|
}
|
|
3804
3809
|
function wo(e) {
|
|
@@ -3871,9 +3876,9 @@ export {
|
|
|
3871
3876
|
Qn as a7,
|
|
3872
3877
|
so as a8,
|
|
3873
3878
|
Kt as a9,
|
|
3874
|
-
|
|
3879
|
+
de as aa,
|
|
3875
3880
|
Rr as ab,
|
|
3876
|
-
|
|
3881
|
+
se as ac,
|
|
3877
3882
|
ne as ad,
|
|
3878
3883
|
y as ae,
|
|
3879
3884
|
R as af,
|
|
@@ -3896,11 +3901,11 @@ export {
|
|
|
3896
3901
|
vr as aw,
|
|
3897
3902
|
gr as ax,
|
|
3898
3903
|
Fr as ay,
|
|
3899
|
-
|
|
3904
|
+
dr as b,
|
|
3900
3905
|
cr as c,
|
|
3901
3906
|
po as d,
|
|
3902
3907
|
eo as e,
|
|
3903
|
-
|
|
3908
|
+
sr as f,
|
|
3904
3909
|
go as g,
|
|
3905
3910
|
ro as h,
|
|
3906
3911
|
xe as i,
|