react-semaphor 0.1.533 → 0.1.534
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics-protocol/index.js +210 -207
- package/dist/brand-studio/index.js +3 -3
- package/dist/briefings/index.js +21 -21
- package/dist/chunks/bookmark-state-B-I9BDD0.js +331 -0
- package/dist/chunks/{calculated-field-identity-Q1aCudPD.js → calculated-field-identity-Cz1ZU_UL.js} +140 -188
- package/dist/chunks/calendar-day-equality-BRjN1S9h.js +383 -0
- package/dist/chunks/{card-config-utils-DqyASiD_.js → card-config-utils-BlIiFn0O.js} +25 -25
- package/dist/chunks/common-types-g7yS12Cg.js +114 -0
- package/dist/chunks/{dashboard-DUCg1mNJ.js → dashboard-CCK80YKL.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-B0PuQUiR.js → dashboard-briefing-launcher-B9Fq2Rf3.js} +206 -205
- package/dist/chunks/dashboard-controls-CoiTGnEr.js +2325 -0
- package/dist/chunks/{dashboard-json-BSOgXGwr.js → dashboard-json-BRGozO--.js} +3 -3
- package/dist/chunks/{edit-dashboard-visual-CQDyMxM7.js → edit-dashboard-visual-CZFnhGZQ.js} +8316 -8544
- package/dist/chunks/{editor-action-buttons-BKVrZnRQ.js → editor-action-buttons-CVtSO3I3.js} +428 -431
- package/dist/chunks/{field-aggregations-BCDRRYMo.js → field-aggregations-CoLzYHeL.js} +371 -474
- package/dist/chunks/field-dependencies-CpRUwr9J.js +281 -0
- package/dist/chunks/{index-BpAM7UE0.js → index-BQl5rC54.js} +404 -402
- package/dist/chunks/{matrix-analytical-definition-Q4GL16S4.js → matrix-analytical-definition-CgBTD6H8.js} +1 -1
- package/dist/chunks/{matrix-card-CkfMe-h-.js → matrix-card-CAdizkUl.js} +2 -2
- package/dist/chunks/{matrix-control-sources-fD0Ns_9n.js → matrix-control-sources-Tls-h3AN.js} +22 -22
- package/dist/chunks/{matrix-definition-CiGRzEzt.js → matrix-definition-D9iShKZI.js} +1 -1
- package/dist/chunks/{matrix-formatter-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-WDM7qWxV.js → report-preferences-dialog-CWdTlWsr.js} +124 -124
- package/dist/chunks/{report-runtime-context-DceiWMKz.js → report-runtime-context-CG_I0PPW.js} +1 -1
- package/dist/chunks/{selection-reducer-DQok8gsC.js → selection-reducer-CiDEtmAq.js} +14 -14
- package/dist/chunks/{semantic-format-ByNkXJpY.js → semantic-format-DiqYeKwU.js} +3 -3
- package/dist/chunks/{semaphor-ready-indicator-yZ0JtL4D.js → semaphor-ready-indicator-z4SNdxiC.js} +65804 -64789
- package/dist/chunks/slider-DbwmuVB-.js +875 -0
- package/dist/chunks/{source-entity-resolution-BWmw7a8P.js → source-entity-resolution-C-oNyYMp.js} +1 -1
- package/dist/chunks/{switch-D95vek6N.js → switch-BR3Xgbqr.js} +7242 -5830
- package/dist/chunks/{temporal-bucket-contract-CdBtoHX2.js → temporal-bucket-contract-D2OuaVZ7.js} +1 -1
- package/dist/chunks/{temporal-input-presentation-wUO681Zs.js → temporal-input-presentation-BD7YNUzu.js} +9 -9
- package/dist/chunks/{token-types-Brc30mNN.js → token-types-DtSJOUjh.js} +1 -1
- package/dist/chunks/{validators-BS521dum.js → validators-DMSH81OM.js} +654 -639
- package/dist/chunks/zoned-wall-clock-1qlWCE20.js +129 -0
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +116 -112
- package/dist/data-app-sdk/index.js +5 -5
- package/dist/data-app-sdk-adapters/index.js +2 -2
- package/dist/data-app-sdk-validation/index.js +7 -7
- package/dist/format-utils/index.js +144 -140
- package/dist/index.js +167 -165
- 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/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 -0
- package/dist/types/lib/hooks/use-dashboard.d.ts +5 -1
- package/dist/types/lib/query-context/build-card-query-context.d.ts +9 -1
- package/dist/types/lib/stores/dashboard-store.d.ts +76 -1
- package/dist/types/lib/stores/editor-store.d.ts +0 -4
- package/dist/types/lib/table-formatting/table-totals-settings.d.ts +5 -1
- package/dist/types/lib/types/common-types.d.ts +10 -0
- package/dist/types/lib/types/index.d.ts +1 -0
- package/dist/types/lib/utils/filter-default-value-utils.d.ts +11 -4
- package/dist/types/lib/utils.d.ts +1 -0
- package/dist/types/shared/analytics-protocol/index.d.ts +1 -0
- package/dist/types/shared/analytics-protocol/relative-date-filter.d.ts +7 -0
- package/dist/types/shared/analytics-protocol/sort-target.d.ts +40 -0
- package/dist/types/shared/dashboard-authoring/dashboard-filter-value-compatibility.d.ts +9 -0
- package/dist/types/shared/dashboard-viewer/bookmark-state.d.ts +35 -0
- package/dist/types/shared/dashboard-viewer/index.d.ts +3 -0
- package/dist/types/shared/dashboard-viewer/table-settings.d.ts +89 -0
- package/dist/types/shared/dashboard-viewer/viewer-contract.d.ts +95 -0
- package/dist/types/shared/format-utils/filter-line.d.ts +47 -0
- package/dist/types/shared/format-utils/index.d.ts +1 -0
- package/package.json +2 -2
- package/dist/chunks/calendar-day-equality-Ddkpfhot.js +0 -466
- package/dist/chunks/common-types-C6cAQgyh.js +0 -9
- package/dist/chunks/dashboard-controls-Cl3fLg9W.js +0 -2194
- package/dist/chunks/field-dependencies-BWStuMxe.js +0 -178
- package/dist/chunks/matrix-member-presentation-Glhem6xB.js +0 -182
- package/dist/chunks/pivot-header-presentation-Bb6b3Ch2.js +0 -640
- package/dist/chunks/slider-0mB67Lls.js +0 -876
- package/dist/chunks/zoned-wall-clock-BkxV9jS2.js +0 -46
- package/dist/types/components/ai/assistant-context-entity-controls.d.ts +0 -25
- package/dist/types/components/ai/assistant-message-components.d.ts +0 -59
- package/dist/types/components/ai/assistant-message.d.ts +0 -10
- package/dist/types/components/ai/assistant-virtualized-messages.d.ts +0 -21
- package/dist/types/components/ai/chat-custom-visual.d.ts +0 -21
- package/dist/types/components/ai/chat-input-with-context.d.ts +0 -16
- package/dist/types/components/ai/chat-input.d.ts +0 -11
- package/dist/types/components/ai/chat-visual-query-utils.d.ts +0 -68
- package/dist/types/components/ai/chat-visual.d.ts +0 -12
- package/dist/types/components/ai/clarification-card.d.ts +0 -20
- package/dist/types/components/ai/context-entity-display.d.ts +0 -10
- package/dist/types/components/ai/dashboard-assistant.d.ts +0 -27
- package/dist/types/components/ai/debug-message-array.d.ts +0 -1
- package/dist/types/components/ai/editor-assistant.d.ts +0 -7
- package/dist/types/components/ai/entity-mention-dropdown.d.ts +0 -16
- package/dist/types/components/ai/file-upload/file-preview.d.ts +0 -15
- package/dist/types/components/ai/file-upload/file-upload-button.d.ts +0 -10
- package/dist/types/components/ai/file-upload/file-upload-zone.d.ts +0 -11
- package/dist/types/components/ai/file-upload/file-utils.d.ts +0 -63
- package/dist/types/components/ai/highlighted-input.d.ts +0 -22
- package/dist/types/components/ai/message-feedback-buttons.d.ts +0 -9
- package/dist/types/components/ai/pending-messages-display.d.ts +0 -7
- package/dist/types/components/ai/placeholders.d.ts +0 -8
- package/dist/types/components/ai/pre-block.d.ts +0 -30
- package/dist/types/components/ai/quick-replies.d.ts +0 -8
- package/dist/types/components/ai/reasoning-effort-slider.d.ts +0 -7
- package/dist/types/components/ai/seed-questions.d.ts +0 -6
- package/dist/types/components/ai/tool-call-error.d.ts +0 -8
- package/dist/types/components/ai/tool-call.d.ts +0 -12
- package/dist/types/components/ai/tool-output-errors.d.ts +0 -2
- package/dist/types/components/ai/tool-part-renderer.d.ts +0 -32
- package/dist/types/components/appearance/dashboard-appearance-adapter.d.ts +0 -17
- package/dist/types/components/appearance/surface-appearance-adapter.d.ts +0 -21
- package/dist/types/components/briefings/attachments/briefing-attachment-list.d.ts +0 -9
- package/dist/types/components/briefings/attachments/briefing-attachment-selector.d.ts +0 -27
- package/dist/types/components/briefings/attachments/briefing-attachment-settings-dialog.d.ts +0 -16
- package/dist/types/components/briefings/briefing-author/attachment-section.d.ts +0 -20
- package/dist/types/components/briefings/briefing-author/author-actions.d.ts +0 -25
- package/dist/types/components/briefings/briefing-author/content-composers.d.ts +0 -9
- package/dist/types/components/briefings/briefing-author/defaults.d.ts +0 -1
- package/dist/types/components/briefings/briefing-author/delivery-section.d.ts +0 -56
- package/dist/types/components/briefings/briefing-author/form-primitives.d.ts +0 -20
- package/dist/types/components/briefings/briefing-author/output.d.ts +0 -2
- package/dist/types/components/briefings/briefing-author/presentation-vocabulary.d.ts +0 -17
- package/dist/types/components/briefings/briefing-author/schedule-model.d.ts +0 -13
- package/dist/types/components/briefings/briefing-author/schedule-section.d.ts +0 -5
- package/dist/types/components/briefings/briefing-author/schedule.d.ts +0 -8
- package/dist/types/components/briefings/briefing-author/scope-picker.d.ts +0 -14
- package/dist/types/components/briefings/briefing-author/slack-channel-picker.d.ts +0 -22
- package/dist/types/components/briefings/briefing-author/styles.d.ts +0 -4
- package/dist/types/components/briefings/briefing-html-frame.d.ts +0 -5
- package/dist/types/components/briefings/briefing-recipient-field.d.ts +0 -17
- package/dist/types/components/briefings/briefing-tones.d.ts +0 -30
- package/dist/types/components/briefings/dashboard-briefing-launcher-list.d.ts +0 -25
- package/dist/types/components/briefings/dashboard-briefing-launcher-model.d.ts +0 -14
- package/dist/types/components/briefings/dashboard-schedule-report-menu-item.d.ts +0 -11
- package/dist/types/components/calculated-fields/ai-compose-panel.d.ts +0 -19
- package/dist/types/components/calculated-fields/calculated-field-editor-utils.d.ts +0 -44
- package/dist/types/components/calculated-fields/calculated-field-editor.d.ts +0 -27
- package/dist/types/components/calculated-fields/domain-definition-notice.d.ts +0 -4
- package/dist/types/components/calculated-fields/expression-validator.d.ts +0 -8
- package/dist/types/components/calculated-fields/field-picker-panel.d.ts +0 -20
- package/dist/types/components/calculated-fields/field-type-toggle.d.ts +0 -7
- package/dist/types/components/calculated-fields/index.d.ts +0 -10
- package/dist/types/components/calculated-fields/insert-field-popover.d.ts +0 -18
- package/dist/types/components/calculated-fields/placeholder-field-picker.d.ts +0 -30
- package/dist/types/components/calculated-fields/summary-ribbon.d.ts +0 -23
- package/dist/types/components/calculated-fields/templates-menu.d.ts +0 -11
- package/dist/types/components/calculated-fields/validation-results.d.ts +0 -4
- package/dist/types/components/calculated-fields/validation-tooltip-content.d.ts +0 -4
- package/dist/types/components/chart-selector/chart-icon.d.ts +0 -37
- package/dist/types/components/chart-selector/chart-selector-item.d.ts +0 -18
- package/dist/types/components/chart-selector/chart-selector.d.ts +0 -25
- package/dist/types/components/chart-selector/chart-type-picker.d.ts +0 -12
- package/dist/types/components/chart-selector/index.d.ts +0 -4
- package/dist/types/components/chart-selector/use-chart-selector-model.d.ts +0 -18
- package/dist/types/components/dashboard/card-actions-menu.d.ts +0 -10
- package/dist/types/components/dashboard/card-selection-pill.d.ts +0 -5
- package/dist/types/components/dashboard/comparison-badge-state.d.ts +0 -3
- package/dist/types/components/dashboard/comparison-metadata-badge.d.ts +0 -11
- package/dist/types/components/dashboard/dashboard-card.d.ts +0 -17
- package/dist/types/components/dashboard/dashboard-container.d.ts +0 -9
- package/dist/types/components/dashboard/dashboard-error-state.d.ts +0 -9
- package/dist/types/components/dashboard/dashboard-frame-expand-dialog.d.ts +0 -5
- package/dist/types/components/dashboard/dashboard-frame.d.ts +0 -14
- package/dist/types/components/dashboard/dashboard-hub-row.d.ts +0 -18
- package/dist/types/components/dashboard/dashboard-hub-sort.d.ts +0 -8
- package/dist/types/components/dashboard/dashboard-hub.d.ts +0 -5
- package/dist/types/components/dashboard/dashboard-tabs.d.ts +0 -1
- package/dist/types/components/dashboard/dashboard-visual-error-state.d.ts +0 -20
- package/dist/types/components/dashboard/download-pdf.d.ts +0 -10
- package/dist/types/components/dashboard/drill-breadcrumb.d.ts +0 -7
- package/dist/types/components/dashboard/drill-navigation-controls.d.ts +0 -13
- package/dist/types/components/dashboard/inline-filter-bar.d.ts +0 -17
- package/dist/types/components/dashboard/inline-filter-component.d.ts +0 -30
- package/dist/types/components/dashboard/kpi-header.d.ts +0 -2
- package/dist/types/components/dashboard/semaphor-style-wrapper.d.ts +0 -3
- package/dist/types/components/dashboard/sheet/delete-sheet-alert.d.ts +0 -6
- package/dist/types/components/dashboard/sheet/layout-change-guard.d.ts +0 -6
- package/dist/types/components/dashboard/sheet/sheet-empty-state.d.ts +0 -5
- package/dist/types/components/dashboard/sheet/sheet-layout.d.ts +0 -5
- package/dist/types/components/dashboard/sheet/sheet-layout_backup.d.ts +0 -0
- package/dist/types/components/dashboard/summary-warning-utils.d.ts +0 -6
- package/dist/types/components/dashboard/unconfigured-card-state.d.ts +0 -21
- package/dist/types/components/document-sheet/document-control-options-resolver.d.ts +0 -9
- package/dist/types/components/document-sheet/document-control-toolbar-actions.d.ts +0 -12
- package/dist/types/components/document-sheet/document-input-bar.d.ts +0 -30
- package/dist/types/components/document-sheet/document-insert-picker.d.ts +0 -37
- package/dist/types/components/document-sheet/document-inspector-primitives.d.ts +0 -10
- package/dist/types/components/document-sheet/document-kpi-section.d.ts +0 -17
- package/dist/types/components/document-sheet/document-matrix-layout-context.d.ts +0 -10
- package/dist/types/components/document-sheet/document-matrix-section.d.ts +0 -27
- package/dist/types/components/document-sheet/document-measure-layer.d.ts +0 -45
- package/dist/types/components/document-sheet/document-outline.d.ts +0 -21
- package/dist/types/components/document-sheet/document-page-navigation.d.ts +0 -22
- package/dist/types/components/document-sheet/document-page.d.ts +0 -68
- package/dist/types/components/document-sheet/document-panel/document-side-panel.d.ts +0 -36
- package/dist/types/components/document-sheet/document-panel/inputs-panel.d.ts +0 -9
- package/dist/types/components/document-sheet/document-panel/page-panel.d.ts +0 -5
- package/dist/types/components/document-sheet/document-panel/panel-controls.d.ts +0 -14
- package/dist/types/components/document-sheet/document-panel/region-panels.d.ts +0 -11
- package/dist/types/components/document-sheet/document-panel/section-panel.d.ts +0 -25
- package/dist/types/components/document-sheet/document-section-print-boundary.d.ts +0 -9
- package/dist/types/components/document-sheet/document-sheet.d.ts +0 -10
- package/dist/types/components/document-sheet/document-table-chrome.d.ts +0 -22
- package/dist/types/components/document-sheet/document-table-section.d.ts +0 -28
- package/dist/types/components/document-sheet/document-text-editor.d.ts +0 -8
- package/dist/types/components/document-sheet/document-text-preview-context.d.ts +0 -8
- package/dist/types/components/document-sheet/use-first-fitting-variant.d.ts +0 -18
- package/dist/types/components/editor/dashboard-json.d.ts +0 -1
- package/dist/types/components/editor/editable.d.ts +0 -14
- package/dist/types/components/editor/editor-main/card-display-options-dropdown.d.ts +0 -7
- package/dist/types/components/editor/editor-main/card-tabs.d.ts +0 -16
- package/dist/types/components/editor/editor-main/chart-configuration-options.d.ts +0 -1
- package/dist/types/components/editor/editor-main/clear-card-utils.d.ts +0 -2
- package/dist/types/components/editor/editor-main/code-editors/expanded-query-editor-dialog.d.ts +0 -14
- package/dist/types/components/editor/editor-main/code-editors/json-editor-readonly.d.ts +0 -3
- package/dist/types/components/editor/editor-main/code-editors/python-editor.d.ts +0 -2
- package/dist/types/components/editor/editor-main/code-editors/sql-editor.d.ts +0 -6
- package/dist/types/components/editor/editor-main/code-editors/use-query-editor-session-transfer.d.ts +0 -17
- package/dist/types/components/editor/editor-main/content-editable-text.d.ts +0 -11
- package/dist/types/components/editor/editor-main/context-hover-card.d.ts +0 -2
- package/dist/types/components/editor/editor-main/customize-visual/customize-chart-config.d.ts +0 -7
- package/dist/types/components/editor/editor-main/customize-visual/customize-visual-dialog.d.ts +0 -7
- package/dist/types/components/editor/editor-main/dashboard-filter-subscription-status.d.ts +0 -6
- package/dist/types/components/editor/editor-main/dashboard-variable-node.d.ts +0 -39
- package/dist/types/components/editor/editor-main/data-label-settings.d.ts +0 -5
- package/dist/types/components/editor/editor-main/edit-dashboard-visual.d.ts +0 -2
- package/dist/types/components/editor/editor-main/editor-action-buttons.d.ts +0 -28
- package/dist/types/components/editor/editor-main/editor-actions-biz-mode.d.ts +0 -1
- package/dist/types/components/editor/editor-main/editor-card.d.ts +0 -4
- package/dist/types/components/editor/editor-main/editor-chart-config-execution.d.ts +0 -6
- package/dist/types/components/editor/editor-main/editor-main-component.d.ts +0 -1
- package/dist/types/components/editor/editor-main/editor-query-section.d.ts +0 -11
- package/dist/types/components/editor/editor-main/editor-visual-dropdown.d.ts +0 -0
- package/dist/types/components/editor/editor-main/editor-visual-section.d.ts +0 -23
- package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-constants.d.ts +0 -7
- package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-prompts.d.ts +0 -19
- package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-telemetry.d.ts +0 -2
- package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-types.d.ts +0 -48
- package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer-utils.d.ts +0 -11
- package/dist/types/components/editor/editor-main/inline-query-writer/inline-query-writer.d.ts +0 -2
- package/dist/types/components/editor/editor-main/legend-popover.d.ts +0 -1
- package/dist/types/components/editor/editor-main/raw-output-table.d.ts +0 -15
- package/dist/types/components/editor/editor-main/realtime-popover.d.ts +0 -1
- package/dist/types/components/editor/editor-main/table-type-switcher.d.ts +0 -5
- package/dist/types/components/editor/editor-main/text-card-rich-editor.d.ts +0 -25
- package/dist/types/components/editor/editor-main/text-card.d.ts +0 -10
- package/dist/types/components/editor/editor-main/use-editor-clear-action.d.ts +0 -1
- package/dist/types/components/editor/editor-main/visual-aside.d.ts +0 -5
- package/dist/types/components/editor/editor-main/visual-save-as-dialog.d.ts +0 -18
- package/dist/types/components/editor/editor-main/visual-settings.d.ts +0 -9
- package/dist/types/components/editor/mode-toggle.d.ts +0 -13
- package/dist/types/components/editor/query-feedback/query-card-details.d.ts +0 -14
- package/dist/types/components/editor/query-feedback/query-error.d.ts +0 -42
- package/dist/types/components/editor/query-feedback/query-feedback-layout.d.ts +0 -10
- package/dist/types/components/editor/query-feedback/query-info-clipboard.d.ts +0 -3
- package/dist/types/components/editor/query-feedback/query-info.d.ts +0 -21
- package/dist/types/components/editor/query-feedback/query-sql-preview.d.ts +0 -23
- package/dist/types/components/editor/query-feedback/use-query-error-feedback.d.ts +0 -7
- package/dist/types/components/editor/query-feedback/use-query-error.d.ts +0 -16
- package/dist/types/components/editor/query-feedback/visual-query-error-state.d.ts +0 -5
- package/dist/types/components/editor/utils/utils.d.ts +0 -2
- package/dist/types/components/error-fallbacks/delivery-render-error.d.ts +0 -7
- package/dist/types/components/error-fallbacks/fallback.d.ts +0 -31
- package/dist/types/components/error-fallbacks/render-reset-error-boundary.d.ts +0 -33
- package/dist/types/components/explorer/chart-configuration/area-series-config-section.d.ts +0 -5
- package/dist/types/components/explorer/chart-configuration/axis-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/bar-series-config-section.d.ts +0 -5
- package/dist/types/components/explorer/chart-configuration/bar-style-config-section.d.ts +0 -7
- package/dist/types/components/explorer/chart-configuration/bubble-scatter-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/bullet-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/chart-config-sections.d.ts +0 -15
- package/dist/types/components/explorer/chart-configuration/chart-configuration-panel.d.ts +0 -18
- package/dist/types/components/explorer/chart-configuration/chart-fields-configuration.d.ts +0 -22
- package/dist/types/components/explorer/chart-configuration/chart-type-row.d.ts +0 -25
- package/dist/types/components/explorer/chart-configuration/color-config-section.d.ts +0 -18
- package/dist/types/components/explorer/chart-configuration/combo-series-config-section.d.ts +0 -6
- package/dist/types/components/explorer/chart-configuration/comparison-config-section.d.ts +0 -7
- package/dist/types/components/explorer/chart-configuration/custom-color-picker.d.ts +0 -7
- package/dist/types/components/explorer/chart-configuration/data-labels-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/data-labels-fields.d.ts +0 -21
- package/dist/types/components/explorer/chart-configuration/funnel-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/heatmap-color-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/kpi-format-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/legend-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/line-series-config-section.d.ts +0 -5
- package/dist/types/components/explorer/chart-configuration/line-style-config-section.d.ts +0 -7
- package/dist/types/components/explorer/chart-configuration/matrix-authoring-controls.d.ts +0 -41
- package/dist/types/components/explorer/chart-configuration/matrix-authoring-panel.d.ts +0 -21
- package/dist/types/components/explorer/chart-configuration/matrix-editor-settings.d.ts +0 -5
- package/dist/types/components/explorer/chart-configuration/metric-format-editor.d.ts +0 -12
- package/dist/types/components/explorer/chart-configuration/number-format-config.d.ts +0 -18
- package/dist/types/components/explorer/chart-configuration/number-format-config.utils.d.ts +0 -11
- package/dist/types/components/explorer/chart-configuration/stacked-sort-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/summary-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/tooltip-format-config-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/treemap-color-mode-section.d.ts +0 -1
- package/dist/types/components/explorer/chart-configuration/use-effective-card-type.d.ts +0 -1
- package/dist/types/components/explorer/data-source/add-data-picker.d.ts +0 -23
- package/dist/types/components/explorer/data-source/data-source-panel.d.ts +0 -6
- package/dist/types/components/explorer/data-source/dataset-selector-popover.d.ts +0 -11
- package/dist/types/components/explorer/data-source/db-schema-selector.d.ts +0 -8
- package/dist/types/components/explorer/data-source/direct-source-tree.d.ts +0 -10
- package/dist/types/components/explorer/data-source/entity-tooltip.d.ts +0 -14
- package/dist/types/components/explorer/data-source/file-upload-manager.d.ts +0 -1
- package/dist/types/components/explorer/data-source/select-data-dialog.d.ts +0 -6
- package/dist/types/components/explorer/data-source/selected-entities-summary.d.ts +0 -15
- package/dist/types/components/explorer/data-source/semantic-domain-access-utils.d.ts +0 -10
- package/dist/types/components/explorer/data-source/semantic-domain-selection.d.ts +0 -9
- package/dist/types/components/explorer/data-source/semantic-domain-tree.d.ts +0 -22
- package/dist/types/components/explorer/data-source/url-source-manager.d.ts +0 -1
- package/dist/types/components/explorer/data-source/utils.d.ts +0 -11
- package/dist/types/components/explorer/drag-and-drop/attribute-filter-dialog.d.ts +0 -11
- package/dist/types/components/explorer/drag-and-drop/data-concept-tooltip.d.ts +0 -17
- package/dist/types/components/explorer/drag-and-drop/drag-overlay.d.ts +0 -12
- package/dist/types/components/explorer/drag-and-drop/draggable-field-shell.d.ts +0 -15
- package/dist/types/components/explorer/drag-and-drop/draggable-field.d.ts +0 -13
- package/dist/types/components/explorer/drag-and-drop/droppable-zone.d.ts +0 -13
- package/dist/types/components/explorer/drag-and-drop/inline-edit-field.d.ts +0 -10
- package/dist/types/components/explorer/drag-and-drop/matrix-draggable-field.d.ts +0 -5
- package/dist/types/components/explorer/drag-and-drop/pivot-alias-template-editor.d.ts +0 -6
- package/dist/types/components/explorer/drag-and-drop/pivot-member-order-visibility.d.ts +0 -3
- package/dist/types/components/explorer/drag-and-drop/pivot-value-aliases-editor.d.ts +0 -6
- package/dist/types/components/explorer/fields/field-expression-annotation.d.ts +0 -15
- package/dist/types/components/explorer/fields/field-group.d.ts +0 -0
- package/dist/types/components/explorer/fields/field-hover-preview.d.ts +0 -10
- package/dist/types/components/explorer/fields/field-option-list.d.ts +0 -54
- package/dist/types/components/explorer/fields/field-row.d.ts +0 -39
- package/dist/types/components/explorer/fields/fields-list.d.ts +0 -10
- package/dist/types/components/explorer/fields/fields-section.d.ts +0 -6
- package/dist/types/components/explorer/fields/filterable-fields-panel.d.ts +0 -11
- package/dist/types/components/explorer/fields/icon-for-field-type.d.ts +0 -3
- package/dist/types/components/explorer/fields/numeric-popover.d.ts +0 -6
- package/dist/types/components/explorer/fields/source-field.d.ts +0 -28
- package/dist/types/components/explorer/fields/type-glyph.d.ts +0 -14
- package/dist/types/components/explorer/filters/card-date-filter.d.ts +0 -20
- package/dist/types/components/explorer/filters/card-date-selection.d.ts +0 -28
- package/dist/types/components/explorer/filters/card-filter-builder.d.ts +0 -11
- package/dist/types/components/explorer/filters/card-filter-manager.d.ts +0 -12
- package/dist/types/components/explorer/filters/field-multi-select.d.ts +0 -16
- package/dist/types/components/explorer/filters/field-single-select.d.ts +0 -16
- package/dist/types/components/explorer/filters/searchable-field-combobox.d.ts +0 -17
- package/dist/types/components/explorer/filters/utils.d.ts +0 -2
- package/dist/types/components/explorer/join-configuration/auto-join-info.d.ts +0 -16
- package/dist/types/components/explorer/join-configuration/join-conditions-builder.d.ts +0 -10
- package/dist/types/components/explorer/join-configuration/join-dialog.d.ts +0 -14
- package/dist/types/components/explorer/join-configuration/join-manager.d.ts +0 -10
- package/dist/types/components/explorer/join-configuration/join-tooltip-content.d.ts +0 -9
- package/dist/types/components/explorer/main/explorer.d.ts +0 -1
- package/dist/types/components/explorer/main/view-tabs.d.ts +0 -17
- package/dist/types/components/explorer/visualization/chart-settings-panel.d.ts +0 -7
- package/dist/types/components/explorer/visualization/chart-split-view.d.ts +0 -16
- package/dist/types/components/explorer/visualization/feedback-dialog.d.ts +0 -11
- package/dist/types/components/explorer/visualization/row-limit-selector.d.ts +0 -1
- package/dist/types/components/explorer/visualization/visualization-panel.d.ts +0 -18
- package/dist/types/components/icons/bullet-chart-icon.d.ts +0 -2
- package/dist/types/components/interactions/applied-filters-display.d.ts +0 -40
- package/dist/types/components/interactions/card-renderer.d.ts +0 -17
- package/dist/types/components/interactions/click-to-filter-review-dialog.d.ts +0 -22
- package/dist/types/components/interactions/dashboard-drill-host.d.ts +0 -13
- package/dist/types/components/interactions/drill-config/hierarchy-steps-display.d.ts +0 -9
- package/dist/types/components/interactions/drill-config/hierarchy-templates.d.ts +0 -5
- package/dist/types/components/interactions/drill-config/sortable-hierarchy.d.ts +0 -15
- package/dist/types/components/interactions/drill-config/sortable-step.d.ts +0 -14
- package/dist/types/components/interactions/drill-config/step-configuration-popup.d.ts +0 -13
- package/dist/types/components/interactions/drill-hierarchy-modal.d.ts +0 -43
- package/dist/types/components/interactions/drill-to-url-modal.d.ts +0 -26
- package/dist/types/components/interactions/filter-badge-tooltip.d.ts +0 -13
- package/dist/types/components/interactions/hooks/use-drill-hierarchy.d.ts +0 -15
- package/dist/types/components/interactions/hooks/use-hierarchy-templates.d.ts +0 -5
- package/dist/types/components/interactions/hooks/use-step-reordering.d.ts +0 -6
- package/dist/types/components/interactions/insight-modal.d.ts +0 -29
- package/dist/types/components/interactions/insight-viewer.d.ts +0 -16
- package/dist/types/components/interactions/interactions-sheet.d.ts +0 -7
- package/dist/types/components/interactions/panels/click-to-filter-panel.d.ts +0 -20
- package/dist/types/components/interactions/panels/drill-down-panel.d.ts +0 -44
- package/dist/types/components/interactions/panels/drill-to-dashboard-panel.d.ts +0 -24
- package/dist/types/components/interactions/panels/drill-to-insight-panel.d.ts +0 -24
- package/dist/types/components/interactions/panels/drill-to-url-panel-v2.d.ts +0 -9
- package/dist/types/components/interactions/panels/dynamic-drill-panel.d.ts +0 -24
- package/dist/types/components/interactions/panels/panel-field.d.ts +0 -29
- package/dist/types/components/interactions/pickers/dashboard-picker.d.ts +0 -36
- package/dist/types/components/interactions/pickers/insight-picker.d.ts +0 -36
- package/dist/types/components/interactions/replaced-card-wrapper.d.ts +0 -13
- package/dist/types/components/interactions/reusable/field-combobox.d.ts +0 -22
- package/dist/types/components/interactions/reusable/field-selector.d.ts +0 -15
- package/dist/types/components/interactions/reusable/inline-field-selector.d.ts +0 -11
- package/dist/types/components/interactions/reusable/interaction-selection-popover.d.ts +0 -107
- package/dist/types/components/interactions/sheet/action-editor.d.ts +0 -17
- package/dist/types/components/interactions/sheet/action-meta.d.ts +0 -45
- package/dist/types/components/interactions/sheet/action-picker.d.ts +0 -7
- package/dist/types/components/interactions/sheet/click-outcome-preview.d.ts +0 -10
- package/dist/types/components/interactions/sheet/interactions-home.d.ts +0 -28
- package/dist/types/components/interactions/sheet/sheet-parts.d.ts +0 -37
- package/dist/types/components/kpi-visual-v2/country-selector.d.ts +0 -11
- package/dist/types/components/kpi-visual-v2/kpi-card-explorer.d.ts +0 -12
- package/dist/types/components/kpi-visual-v2/kpi-settings.d.ts +0 -1
- package/dist/types/components/kpi-visual-v2/kpi-tooltip-components.d.ts +0 -25
- package/dist/types/components/kpi-visual-v2/kpi-tooltip-utils.d.ts +0 -8
- package/dist/types/components/kpi-visual-v2/kpi-tooltip.d.ts +0 -15
- package/dist/types/components/kpi-visual-v2/metric-comparison-indicator.d.ts +0 -17
- package/dist/types/components/kpi-visual-v2/metric-comparison-kpi.d.ts +0 -11
- package/dist/types/components/providers/appearance-context.d.ts +0 -23
- package/dist/types/components/providers/appearance-provider.d.ts +0 -4
- package/dist/types/components/providers/brand-studio-preview-context.d.ts +0 -5
- package/dist/types/components/providers/dashboard-matrix-execution-provider.d.ts +0 -10
- package/dist/types/components/providers/dashboard-preferences-provider.d.ts +0 -12
- package/dist/types/components/providers/display-preferences-provider.d.ts +0 -10
- package/dist/types/components/providers/theme-provider-context.d.ts +0 -7
- package/dist/types/components/providers/theme-provider.d.ts +0 -8
- package/dist/types/components/providers/ux-provider.d.ts +0 -6
- package/dist/types/components/semaphor/code-block.d.ts +0 -20
- package/dist/types/components/semaphor/code-editor.d.ts +0 -114
- package/dist/types/components/semaphor/code-highlight.d.ts +0 -15
- package/dist/types/components/sharing-and-management/common-loading-skeleton.d.ts +0 -1
- package/dist/types/components/sharing-and-management/create-dashboard-dialog.d.ts +0 -11
- package/dist/types/components/sharing-and-management/create-visual-dialog.d.ts +0 -11
- package/dist/types/components/sharing-and-management/dashboard-actions-menu.d.ts +0 -19
- package/dist/types/components/sharing-and-management/group-management-dialog.d.ts +0 -6
- package/dist/types/components/sharing-and-management/hooks/use-current-user-info.d.ts +0 -41
- package/dist/types/components/sharing-and-management/hooks/use-group-management.d.ts +0 -30
- package/dist/types/components/sharing-and-management/hooks/use-groups.d.ts +0 -30
- package/dist/types/components/sharing-and-management/hooks/use-resource-share-data.d.ts +0 -27
- package/dist/types/components/sharing-and-management/hooks/use-unified-users.d.ts +0 -61
- package/dist/types/components/sharing-and-management/hooks/use-visual-utils.d.ts +0 -33
- package/dist/types/components/sharing-and-management/resource-edit-dialog.d.ts +0 -15
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/access-list.d.ts +0 -14
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/adapter.d.ts +0 -53
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/configs.d.ts +0 -40
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/invite-combobox.d.ts +0 -22
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/primitives.d.ts +0 -33
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/share-shape.d.ts +0 -20
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/shell.d.ts +0 -17
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/status-bar.d.ts +0 -5
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/submission.d.ts +0 -38
- package/dist/types/components/sharing-and-management/resource-share-dialog/unified/types.d.ts +0 -62
- package/dist/types/components/sharing-and-management/utils/resource-query-keys.d.ts +0 -14
- package/dist/types/components/sharing-and-management/utils/shares-types.d.ts +0 -130
- package/dist/types/components/surfboard/card-controls-toolbar.d.ts +0 -17
- package/dist/types/components/surfboard/controls/card-runtime-controls.d.ts +0 -6
- package/dist/types/components/surfboard/controls/control-authoring-utils.d.ts +0 -182
- package/dist/types/components/surfboard/controls/control-binding-list-editor.d.ts +0 -21
- package/dist/types/components/surfboard/controls/control-definition-editor-helpers.d.ts +0 -43
- package/dist/types/components/surfboard/controls/control-definition-editor-sections.d.ts +0 -65
- package/dist/types/components/surfboard/controls/control-definition-list-editor.d.ts +0 -29
- package/dist/types/components/surfboard/controls/control-select-ui-utils.d.ts +0 -13
- package/dist/types/components/surfboard/controls/control-toolbar-item.d.ts +0 -22
- package/dist/types/components/surfboard/controls/control-toolbar-settings-form.d.ts +0 -30
- package/dist/types/components/surfboard/controls/control-toolbar-settings-shell.d.ts +0 -37
- package/dist/types/components/surfboard/controls/control-usage-utils.d.ts +0 -22
- package/dist/types/components/surfboard/controls/control-validation-message-utils.d.ts +0 -5
- package/dist/types/components/surfboard/controls/dashboard-control-delete-dialog.d.ts +0 -7
- package/dist/types/components/surfboard/controls/dashboard-control-toolbar-popover.d.ts +0 -9
- package/dist/types/components/surfboard/controls/dashboard-runtime-controls.d.ts +0 -1
- package/dist/types/components/surfboard/controls/matrix-structural-targets.d.ts +0 -10
- package/dist/types/components/surfboard/controls/presentation-currency-binding-editor.d.ts +0 -15
- package/dist/types/components/surfboard/controls/runtime-control-input.d.ts +0 -16
- package/dist/types/components/surfboard/controls/runtime-control-utils.d.ts +0 -16
- package/dist/types/components/surfboard/controls/runtime-controls-group.d.ts +0 -12
- package/dist/types/components/surfboard/controls/sortable-control-toolbar-item.d.ts +0 -9
- package/dist/types/components/surfboard/controls/use-create-flow-overlay-state.d.ts +0 -32
- package/dist/types/components/surfboard/controls/use-dashboard-structural-participants.d.ts +0 -14
- package/dist/types/components/surfboard/controls/use-resolved-control-toolbar-options.d.ts +0 -26
- package/dist/types/components/surfboard/dashboard-controls.d.ts +0 -1
- package/dist/types/components/surfboard/dashboard-plus-main.d.ts +0 -1
- package/dist/types/components/surfboard/download-settings-dialog.d.ts +0 -8
- package/dist/types/components/surfboard/expanded-card-view.d.ts +0 -11
- package/dist/types/components/surfboard/export-dialog.d.ts +0 -16
- package/dist/types/components/surfboard/filter/apply-filters-check-box.d.ts +0 -7
- package/dist/types/components/surfboard/filter/custom-filter/custom-filter-selector.d.ts +0 -12
- package/dist/types/components/surfboard/filter/custom-filter/custom-filter-types.d.ts +0 -45
- package/dist/types/components/surfboard/filter/custom-filter/dashboard-custom-filter.d.ts +0 -19
- package/dist/types/components/surfboard/filter/custom-filter-popover.d.ts +0 -75
- package/dist/types/components/surfboard/filter/dashboard-filter-info-group.d.ts +0 -21
- package/dist/types/components/surfboard/filter/dashboard-filter-mapping-panel.d.ts +0 -40
- package/dist/types/components/surfboard/filter/date-comparison-controls.d.ts +0 -8
- package/dist/types/components/surfboard/filter/date-comparison-label.d.ts +0 -2
- package/dist/types/components/surfboard/filter/date-range-filter-v2.d.ts +0 -38
- package/dist/types/components/surfboard/filter/date-range-filter.d.ts +0 -7
- package/dist/types/components/surfboard/filter/day-picker.d.ts +0 -30
- package/dist/types/components/surfboard/filter/field-date-comparison-scope-message.d.ts +0 -2
- package/dist/types/components/surfboard/filter/field-date-filter.d.ts +0 -9
- package/dist/types/components/surfboard/filter/filter-actions-popover-content.d.ts +0 -9
- package/dist/types/components/surfboard/filter/filter-aside.d.ts +0 -1
- package/dist/types/components/surfboard/filter/filter-component.d.ts +0 -13
- package/dist/types/components/surfboard/filter/filter-configuration-panel.d.ts +0 -102
- package/dist/types/components/surfboard/filter/filter-default-values-picker.d.ts +0 -29
- package/dist/types/components/surfboard/filter/filter-error-state.d.ts +0 -7
- package/dist/types/components/surfboard/filter/filter-header.d.ts +0 -4
- package/dist/types/components/surfboard/filter/filter-info.d.ts +0 -17
- package/dist/types/components/surfboard/filter/filter-option-dependencies-settings.d.ts +0 -34
- package/dist/types/components/surfboard/filter/filter-option-list.d.ts +0 -39
- package/dist/types/components/surfboard/filter/filter-option-source-settings.d.ts +0 -15
- package/dist/types/components/surfboard/filter/filter-picker-popover-content.d.ts +0 -1
- package/dist/types/components/surfboard/filter/filter-popover-parts.d.ts +0 -37
- package/dist/types/components/surfboard/filter/filter-scope-config.d.ts +0 -8
- package/dist/types/components/surfboard/filter/filter-settings-popover-delete.d.ts +0 -0
- package/dist/types/components/surfboard/filter/filter-settings-popover.d.ts +0 -5
- package/dist/types/components/surfboard/filter/filter-toolbar-item.d.ts +0 -22
- package/dist/types/components/surfboard/filter/filter-toolbar-order-utils.d.ts +0 -3
- package/dist/types/components/surfboard/filter/filter-toolbar.d.ts +0 -7
- package/dist/types/components/surfboard/filter/global-date-comparison-footer.d.ts +0 -14
- package/dist/types/components/surfboard/filter/global-date-filter.d.ts +0 -9
- package/dist/types/components/surfboard/filter/hidden-filters.d.ts +0 -1
- package/dist/types/components/surfboard/filter/month-picker.d.ts +0 -19
- package/dist/types/components/surfboard/filter/multi-select-filter.d.ts +0 -16
- package/dist/types/components/surfboard/filter/multi-select-inline-content.d.ts +0 -39
- package/dist/types/components/surfboard/filter/numeric-filter-input.d.ts +0 -8
- package/dist/types/components/surfboard/filter/radio-button-filter.d.ts +0 -8
- package/dist/types/components/surfboard/filter/selection-chip.d.ts +0 -11
- package/dist/types/components/surfboard/filter/selection-filter-section.d.ts +0 -4
- package/dist/types/components/surfboard/filter/sortable-filter-toolbar-item.d.ts +0 -24
- package/dist/types/components/surfboard/filter/tabs-filter.d.ts +0 -8
- package/dist/types/components/surfboard/filter/use-dashboard-filter-mapping-popover.d.ts +0 -80
- package/dist/types/components/surfboard/filter/use-filter-header-width.d.ts +0 -12
- package/dist/types/components/surfboard/filter/utils.d.ts +0 -4
- package/dist/types/components/surfboard/inline-options-error-state.d.ts +0 -6
- package/dist/types/components/surfboard/input-chip-row.d.ts +0 -21
- package/dist/types/components/surfboard/preferences/calendar-preferences-panel.d.ts +0 -7
- package/dist/types/components/surfboard/preferences/display-format-preferences-panel.d.ts +0 -6
- package/dist/types/components/surfboard/toolbar-item-shell.d.ts +0 -17
- package/dist/types/components/text-variables/variable-chip-plugin.d.ts +0 -23
- package/dist/types/components/text-variables/variable-chip.d.ts +0 -18
- package/dist/types/components/text-variables/variable-picker.d.ts +0 -27
- package/dist/types/components/ui/accordion.d.ts +0 -7
- package/dist/types/components/ui/alert-dialog.d.ts +0 -20
- package/dist/types/components/ui/alert.d.ts +0 -8
- package/dist/types/components/ui/audience-type-badge.d.ts +0 -9
- package/dist/types/components/ui/avatar.d.ts +0 -6
- package/dist/types/components/ui/badge.d.ts +0 -9
- package/dist/types/components/ui/button.d.ts +0 -11
- package/dist/types/components/ui/calendar.d.ts +0 -8
- package/dist/types/components/ui/card.d.ts +0 -8
- package/dist/types/components/ui/checkbox.d.ts +0 -4
- package/dist/types/components/ui/collapsible.d.ts +0 -5
- package/dist/types/components/ui/command.d.ts +0 -82
- package/dist/types/components/ui/context-menu.d.ts +0 -27
- package/dist/types/components/ui/dialog.d.ts +0 -28
- package/dist/types/components/ui/dropdown-menu.d.ts +0 -27
- package/dist/types/components/ui/hover-card.d.ts +0 -6
- package/dist/types/components/ui/input.d.ts +0 -9
- package/dist/types/components/ui/label.d.ts +0 -5
- package/dist/types/components/ui/popover.d.ts +0 -7
- package/dist/types/components/ui/portal-scope.d.ts +0 -6
- package/dist/types/components/ui/progress.d.ts +0 -4
- package/dist/types/components/ui/radio-group.d.ts +0 -5
- package/dist/types/components/ui/resizable.d.ts +0 -23
- package/dist/types/components/ui/scroll-area.d.ts +0 -5
- package/dist/types/components/ui/select.d.ts +0 -16
- package/dist/types/components/ui/separator.d.ts +0 -4
- package/dist/types/components/ui/sheet.d.ts +0 -39
- package/dist/types/components/ui/skeleton.d.ts +0 -2
- package/dist/types/components/ui/slider.d.ts +0 -4
- package/dist/types/components/ui/sonner.d.ts +0 -4
- package/dist/types/components/ui/switch.d.ts +0 -10
- package/dist/types/components/ui/table.d.ts +0 -13
- package/dist/types/components/ui/tabs.d.ts +0 -14
- package/dist/types/components/ui/textarea.d.ts +0 -9
- package/dist/types/components/ui/toggle.d.ts +0 -12
- package/dist/types/components/ui/tooltip.d.ts +0 -8
- package/dist/types/components/ui-custom/color-field.d.ts +0 -31
- package/dist/types/components/ui-custom/column-search.d.ts +0 -42
- package/dist/types/components/ui-custom/combo-box-2.d.ts +0 -40
- package/dist/types/components/ui-custom/command-input-custom.d.ts +0 -9
- package/dist/types/components/ui-custom/copy-button.d.ts +0 -15
- package/dist/types/components/ui-custom/copy-on-click.d.ts +0 -11
- package/dist/types/components/ui-custom/custom-scroll-area.d.ts +0 -6
- package/dist/types/components/ui-custom/date-range-picker.d.ts +0 -85
- package/dist/types/components/ui-custom/date-range-popover.d.ts +0 -14
- package/dist/types/components/ui-custom/details.d.ts +0 -7
- package/dist/types/components/ui-custom/dev-mode-switch.d.ts +0 -8
- package/dist/types/components/ui-custom/editable-text.d.ts +0 -22
- package/dist/types/components/ui-custom/grip-reveal.d.ts +0 -4
- package/dist/types/components/ui-custom/icon-button.d.ts +0 -13
- package/dist/types/components/ui-custom/load-on-scroll-status.d.ts +0 -8
- package/dist/types/components/ui-custom/load-on-scroll-utils.d.ts +0 -1
- package/dist/types/components/ui-custom/loading-dots.d.ts +0 -7
- package/dist/types/components/ui-custom/local-blur-input.d.ts +0 -9
- package/dist/types/components/ui-custom/option-search-input.d.ts +0 -16
- package/dist/types/components/ui-custom/overflow-div.d.ts +0 -5
- package/dist/types/components/ui-custom/overflow-span.d.ts +0 -5
- package/dist/types/components/ui-custom/popover-content-custom.d.ts +0 -4
- package/dist/types/components/ui-custom/pre-tag.d.ts +0 -4
- package/dist/types/components/ui-custom/radio-indicator.d.ts +0 -13
- package/dist/types/components/ui-custom/report-calendar.d.ts +0 -18
- package/dist/types/components/ui-custom/resizable-handle-custom.d.ts +0 -7
- package/dist/types/components/ui-custom/reusable-select.d.ts +0 -16
- package/dist/types/components/ui-custom/visual-badge.d.ts +0 -9
- package/dist/types/components/visual/aggregated-table/aggregate-table.d.ts +0 -3
- package/dist/types/components/visual/aggregated-table/columns/aggregate-columns.d.ts +0 -4
- package/dist/types/components/visual/aggregated-table/columns/column-cell-components.d.ts +0 -17
- package/dist/types/components/visual/aggregated-table/columns/column-definitions.d.ts +0 -29
- package/dist/types/components/visual/aggregated-table/columns/column-header-components.d.ts +0 -32
- package/dist/types/components/visual/aggregated-table/components/aggregate-table-body.d.ts +0 -18
- package/dist/types/components/visual/aggregated-table/components/grand-total-footer.d.ts +0 -23
- package/dist/types/components/visual/aggregated-table/hooks/use-aggregate-table.d.ts +0 -15
- package/dist/types/components/visual/aggregated-table/types/aggregate-table.d.ts +0 -68
- package/dist/types/components/visual/aggregated-table/utils/cell-formatters.d.ts +0 -6
- package/dist/types/components/visual/aggregated-table/utils/data-organizer.d.ts +0 -12
- package/dist/types/components/visual/aggregated-table/utils/export-utils.d.ts +0 -29
- package/dist/types/components/visual/aggregated-table/utils/metric-format-resolver.d.ts +0 -66
- package/dist/types/components/visual/aggregated-table/utils/temporal-presentation.d.ts +0 -17
- package/dist/types/components/visual/chart-utils.d.ts +0 -15
- package/dist/types/components/visual/chartjs-visual.d.ts +0 -9
- package/dist/types/components/visual/column-display-utils.d.ts +0 -2
- package/dist/types/components/visual/custom-visual/build-inline-filter-nodes.d.ts +0 -21
- package/dist/types/components/visual/custom-visual/build-multi-input-props.d.ts +0 -48
- package/dist/types/components/visual/custom-visual/component-combo-box.d.ts +0 -11
- package/dist/types/components/visual/custom-visual/custom-card-theme-adapter.d.ts +0 -3
- package/dist/types/components/visual/custom-visual/custom-visual-settings.d.ts +0 -1
- package/dist/types/components/visual/custom-visual/custom-visual-temporal-presentation.d.ts +0 -35
- package/dist/types/components/visual/custom-visual/custom-visual-types.d.ts +0 -171
- package/dist/types/components/visual/custom-visual/custom-visual-utils.d.ts +0 -57
- package/dist/types/components/visual/custom-visual/dashboard-custom-visual.d.ts +0 -7
- package/dist/types/components/visual/custom-visual/editor-custom-visual.d.ts +0 -6
- package/dist/types/components/visual/custom-visual/hooks/use-ensure-react-globals.d.ts +0 -10
- package/dist/types/components/visual/custom-visual/hooks/use-remote-chart-store.d.ts +0 -9
- package/dist/types/components/visual/custom-visual/multi-input-empty-renderer.d.ts +0 -8
- package/dist/types/components/visual/custom-visual/use-custom-visual.d.ts +0 -16
- package/dist/types/components/visual/data-table/column-def.d.ts +0 -54
- package/dist/types/components/visual/data-table/column-resize-handle.d.ts +0 -8
- package/dist/types/components/visual/data-table/copyable-cell.d.ts +0 -9
- package/dist/types/components/visual/data-table/data-table-column-settings.d.ts +0 -2
- package/dist/types/components/visual/data-table/data-table-conditional-formatting-settings.d.ts +0 -21
- package/dist/types/components/visual/data-table/data-table-pagination.d.ts +0 -2
- package/dist/types/components/visual/data-table/data-table-toolbar.d.ts +0 -2
- package/dist/types/components/visual/data-table/data-table.d.ts +0 -2
- package/dist/types/components/visual/data-table/hooks/use-sql-raw-temporal-format-draft.d.ts +0 -15
- package/dist/types/components/visual/data-table/hooks/use-table-query-state.d.ts +0 -30
- package/dist/types/components/visual/data-table/overflow-cell.d.ts +0 -9
- package/dist/types/components/visual/data-table/table-conditional-formatting-authoring.d.ts +0 -17
- package/dist/types/components/visual/data-table/table-conditional-formatting-rule-model.d.ts +0 -33
- package/dist/types/components/visual/data-table/table-settings-toolbar-button.d.ts +0 -9
- package/dist/types/components/visual/data-table/table-skeleton.d.ts +0 -6
- package/dist/types/components/visual/data-table/table-visual.d.ts +0 -39
- package/dist/types/components/visual/data-table/utils/data-table-utils.d.ts +0 -74
- package/dist/types/components/visual/data-table/utils/sort-conversion.d.ts +0 -5
- package/dist/types/components/visual/data-table/utils/table-behavior.d.ts +0 -33
- package/dist/types/components/visual/data-table/utils/utils.d.ts +0 -4
- package/dist/types/components/visual/info-hover.d.ts +0 -7
- package/dist/types/components/visual/kpi-visual/format-number-setting.d.ts +0 -1
- package/dist/types/components/visual/kpi-visual/kpi-bulb-utils.d.ts +0 -3
- package/dist/types/components/visual/kpi-visual/kpi-card-with-info.d.ts +0 -9
- package/dist/types/components/visual/kpi-visual/kpi-card.d.ts +0 -28
- package/dist/types/components/visual/kpi-visual/kpi-editor-ownership-badge.d.ts +0 -4
- package/dist/types/components/visual/kpi-visual/kpi-utils.d.ts +0 -12
- package/dist/types/components/visual/matrix-table/matrix-axis-menu.d.ts +0 -21
- package/dist/types/components/visual/matrix-table/matrix-loading-skeleton.d.ts +0 -14
- package/dist/types/components/visual/matrix-table/matrix-selection-click.d.ts +0 -6
- package/dist/types/components/visual/matrix-table/matrix-tabular-boundary.d.ts +0 -8
- package/dist/types/components/visual/matrix-table/matrix-viewer-geometry.d.ts +0 -21
- package/dist/types/components/visual/matrix-table/matrix-window-viewer.d.ts +0 -26
- package/dist/types/components/visual/pivot-table/aggregation-menu.d.ts +0 -23
- package/dist/types/components/visual/pivot-table/columns/data-columns.d.ts +0 -26
- package/dist/types/components/visual/pivot-table/columns/row-header-columns.d.ts +0 -20
- package/dist/types/components/visual/pivot-table/columns/row-total-column.d.ts +0 -12
- package/dist/types/components/visual/pivot-table/components/pivot-table-body.d.ts +0 -23
- package/dist/types/components/visual/pivot-table/components/pivot-table-footer.d.ts +0 -30
- package/dist/types/components/visual/pivot-table/hooks/use-pivot-column-headers.d.ts +0 -28
- package/dist/types/components/visual/pivot-table/hooks/use-pivot-pagination.d.ts +0 -29
- package/dist/types/components/visual/pivot-table/hooks/use-pivot-sorting.d.ts +0 -21
- package/dist/types/components/visual/pivot-table/hooks/use-pivot-table-settings.d.ts +0 -15
- package/dist/types/components/visual/pivot-table/pivot-table-tanstack.d.ts +0 -41
- package/dist/types/components/visual/pivot-table/pivot-table.d.ts +0 -100
- package/dist/types/components/visual/pivot-table/utils/cell-value-formatter.d.ts +0 -14
- package/dist/types/components/visual/pivot-table/utils/pivot-field-identity.d.ts +0 -8
- package/dist/types/components/visual/pivot-table/utils/pivot-formatting-utils.d.ts +0 -24
- package/dist/types/components/visual/pivot-table/utils/pivot-metric-formatting.d.ts +0 -18
- package/dist/types/components/visual/pivot-table/utils/pivot-physical-schema.d.ts +0 -14
- package/dist/types/components/visual/pivot-table/utils/pivot-table-aggregation-helpers.d.ts +0 -21
- package/dist/types/components/visual/pivot-table/utils/pivot-table-data-processor.d.ts +0 -35
- package/dist/types/components/visual/pivot-table/utils/pivot-table-export-utils.d.ts +0 -25
- package/dist/types/components/visual/pivot-table/utils/pivot-table-response.d.ts +0 -50
- package/dist/types/components/visual/pivot-table/utils/pivot-table-sorter.d.ts +0 -7
- package/dist/types/components/visual/pivot-table/utils/row-span-calculator.d.ts +0 -14
- package/dist/types/components/visual/settings/axis-mapping.d.ts +0 -9
- package/dist/types/components/visual/settings/chart-documentation.d.ts +0 -28
- package/dist/types/components/visual/settings/chart-orientation.d.ts +0 -1
- package/dist/types/components/visual/settings/color-format.d.ts +0 -8
- package/dist/types/components/visual/settings/controls-settings.d.ts +0 -8
- package/dist/types/components/visual/settings/dataset-label-popover.d.ts +0 -4
- package/dist/types/components/visual/settings/display-labels.d.ts +0 -2
- package/dist/types/components/visual/settings/filter-on-click-columns.d.ts +0 -1
- package/dist/types/components/visual/settings/frame-filters.d.ts +0 -7
- package/dist/types/components/visual/settings/inline-filters-settings.d.ts +0 -12
- package/dist/types/components/visual/settings/kpi-settings.d.ts +0 -1
- package/dist/types/components/visual/settings/map-chart-settings.d.ts +0 -1
- package/dist/types/components/visual/settings/scale-options.d.ts +0 -1
- package/dist/types/components/visual/settings/table-column-visibility-settings.d.ts +0 -16
- package/dist/types/components/visual/settings/table-presentation-settings.d.ts +0 -53
- package/dist/types/components/visual/settings/table-visual-settings.d.ts +0 -8
- package/dist/types/components/visual/settings/text-settings.d.ts +0 -1
- package/dist/types/components/visual/settings/text-type-radio.d.ts +0 -2
- package/dist/types/components/visual/shared/hooks/use-column-resizing.d.ts +0 -15
- package/dist/types/components/visual/shared/utils/column-type-detector.d.ts +0 -25
- package/dist/types/components/visual/shared/utils/table-render-policy.d.ts +0 -20
- package/dist/types/components/visual/table-appearance/table-appearance-adapter.d.ts +0 -41
- package/dist/types/components/visual/table-appearance/table-appearance-primitives.d.ts +0 -32
- package/dist/types/components/visual/visual-error-state.d.ts +0 -13
- package/dist/types/components/visual/visual-utils.d.ts +0 -33
- package/dist/types/data-app-sdk/analysis-payload.d.ts +0 -2
- package/dist/types/data-app-sdk/devtools/issues.d.ts +0 -21
- package/dist/types/data-app-sdk/devtools/labels.d.ts +0 -4
- package/dist/types/data-app-sdk/devtools/result-preview.d.ts +0 -8
- package/dist/types/data-app-sdk/devtools/styles.d.ts +0 -15
- package/dist/types/data-app-sdk/devtools/window-snapshot.d.ts +0 -3
- package/dist/types/data-app-sdk/matrix-filter-validation.d.ts +0 -12
- package/dist/types/data-app-sdk/query-request.d.ts +0 -32
- package/dist/types/data-app-sdk/runtime.d.ts +0 -21
- package/dist/types/lib/actions/data-point-click-action.d.ts +0 -13
- package/dist/types/lib/ai-utils.d.ts +0 -16
- package/dist/types/lib/api/index.d.ts +0 -2
- package/dist/types/lib/appearance/chart-style-adapter.d.ts +0 -4
- package/dist/types/lib/appearance/dom.d.ts +0 -3
- package/dist/types/lib/appearance/fonts.d.ts +0 -9
- package/dist/types/lib/briefings/briefing-attachment-model.d.ts +0 -104
- package/dist/types/lib/charts/area-chart.d.ts +0 -5
- package/dist/types/lib/charts/bar-chart.d.ts +0 -5
- package/dist/types/lib/charts/bubble-scatter-chart.d.ts +0 -28
- package/dist/types/lib/charts/bullet-chart.d.ts +0 -17
- package/dist/types/lib/charts/cartesian-data.d.ts +0 -72
- package/dist/types/lib/charts/cartesian-fields.d.ts +0 -60
- package/dist/types/lib/charts/chart-availability.d.ts +0 -13
- package/dist/types/lib/charts/chart-axis-policy.d.ts +0 -20
- package/dist/types/lib/charts/chart-config.d.ts +0 -9
- package/dist/types/lib/charts/chart-documentation.d.ts +0 -23
- package/dist/types/lib/charts/chart-font.d.ts +0 -10
- package/dist/types/lib/charts/chart-selector.d.ts +0 -2
- package/dist/types/lib/charts/chart-utils.d.ts +0 -258
- package/dist/types/lib/charts/color-utils.d.ts +0 -29
- package/dist/types/lib/charts/combo-chart.d.ts +0 -5
- package/dist/types/lib/charts/configuration/axis-configurator.d.ts +0 -36
- package/dist/types/lib/charts/configuration/combo-config.d.ts +0 -36
- package/dist/types/lib/charts/configuration/data-labels-config.d.ts +0 -36
- package/dist/types/lib/charts/configuration/legend-config.d.ts +0 -18
- package/dist/types/lib/charts/create-chart.d.ts +0 -30
- package/dist/types/lib/charts/custom-config-utils.d.ts +0 -0
- package/dist/types/lib/charts/funnel-chart.d.ts +0 -13
- package/dist/types/lib/charts/heatmap-chart.d.ts +0 -15
- package/dist/types/lib/charts/heatmap-constants.d.ts +0 -7
- package/dist/types/lib/charts/line-chart.d.ts +0 -5
- package/dist/types/lib/charts/range-chart.d.ts +0 -12
- package/dist/types/lib/charts/shared/category-group-axis-plugin.d.ts +0 -23
- package/dist/types/lib/charts/shared/dataset-utils.d.ts +0 -36
- package/dist/types/lib/charts/stacked-line-chart.d.ts +0 -2
- package/dist/types/lib/charts/tornado-chart.d.ts +0 -13
- package/dist/types/lib/charts/treemap-chart.d.ts +0 -15
- package/dist/types/lib/charts/utils.d.ts +0 -12
- package/dist/types/lib/constants/summary.d.ts +0 -2
- package/dist/types/lib/constants/tool-status-messages.d.ts +0 -12
- package/dist/types/lib/constants.d.ts +0 -30
- package/dist/types/lib/contexts/dashboard-preferences-context.d.ts +0 -7
- package/dist/types/lib/contexts/display-preferences-context.d.ts +0 -6
- package/dist/types/lib/contexts/interactions-popover-context.d.ts +0 -14
- package/dist/types/lib/countries.d.ts +0 -8
- package/dist/types/lib/csv-download.d.ts +0 -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/calculated-field-domain-payloads.d.ts +0 -36
- package/dist/types/lib/types/calculated-field-editor-types.d.ts +0 -64
- package/dist/types/lib/types/feedback-types.d.ts +0 -60
- package/dist/types/lib/types/semantic-types.d.ts +0 -120
- package/dist/types/lib/ui/tenancy-ui.d.ts +0 -25
- package/dist/types/lib/utils/aggregate-expression-utils.d.ts +0 -2
- package/dist/types/lib/utils/app-url-utils.d.ts +0 -7
- package/dist/types/lib/utils/assistant-visibility.d.ts +0 -9
- package/dist/types/lib/utils/async-export-visible-columns.d.ts +0 -12
- package/dist/types/lib/utils/authored-card-fields.d.ts +0 -17
- package/dist/types/lib/utils/briefings-visibility.d.ts +0 -9
- package/dist/types/lib/utils/build-card-export-request.d.ts +0 -30
- package/dist/types/lib/utils/build-saved-editor-card.d.ts +0 -15
- package/dist/types/lib/utils/calculate-card-filter-values.d.ts +0 -23
- package/dist/types/lib/utils/calculate-context-aware-filters.d.ts +0 -46
- package/dist/types/lib/utils/calculated-date-dimension-defaults.d.ts +0 -9
- package/dist/types/lib/utils/calculated-dimension-utils.d.ts +0 -2
- package/dist/types/lib/utils/calculated-field-identity-utils.d.ts +0 -20
- package/dist/types/lib/utils/calculated-field-normalization.d.ts +0 -2
- package/dist/types/lib/utils/calculated-field-operations.d.ts +0 -40
- package/dist/types/lib/utils/calculated-field-permissions.d.ts +0 -12
- package/dist/types/lib/utils/calculated-field-row-templates.d.ts +0 -15
- package/dist/types/lib/utils/calculated-field-scope-utils.d.ts +0 -20
- package/dist/types/lib/utils/calculated-field-token-utils.d.ts +0 -34
- package/dist/types/lib/utils/calculated-field-transition-utils.d.ts +0 -113
- package/dist/types/lib/utils/calculated-field-utils.d.ts +0 -37
- package/dist/types/lib/utils/card-calculated-field-utils.d.ts +0 -12
- package/dist/types/lib/utils/card-config-utils.d.ts +0 -24
- package/dist/types/lib/utils/card-loading-state.d.ts +0 -18
- package/dist/types/lib/utils/card-utils.d.ts +0 -70
- package/dist/types/lib/utils/chart-icon-utils.d.ts +0 -26
- package/dist/types/lib/utils/chart-type-field-validation.d.ts +0 -25
- package/dist/types/lib/utils/comparison-export-utils.d.ts +0 -31
- package/dist/types/lib/utils/comparison-output-keys.d.ts +0 -37
- package/dist/types/lib/utils/comparison-period-utils.d.ts +0 -6
- package/dist/types/lib/utils/comparison-validation-utils.d.ts +0 -16
- package/dist/types/lib/utils/comparison-window-caption.d.ts +0 -12
- package/dist/types/lib/utils/connection-capabilities.d.ts +0 -26
- package/dist/types/lib/utils/control-default-value-utils.d.ts +0 -46
- package/dist/types/lib/utils/control-placeholder-utils.d.ts +0 -14
- package/dist/types/lib/utils/control-reference-utils.d.ts +0 -18
- package/dist/types/lib/utils/copy-control-bindings.d.ts +0 -3
- package/dist/types/lib/utils/custom-visual-inputs.d.ts +0 -43
- package/dist/types/lib/utils/dashboard-controls-visibility.d.ts +0 -23
- package/dist/types/lib/utils/dashboard-date-filter-utils.d.ts +0 -16
- package/dist/types/lib/utils/dashboard-interaction-mode.d.ts +0 -12
- package/dist/types/lib/utils/data-source-semantic-domain.d.ts +0 -12
- package/dist/types/lib/utils/data-source-utils.d.ts +0 -22
- package/dist/types/lib/utils/date-filter-column-utils.d.ts +0 -2
- package/dist/types/lib/utils/date-format-utils.d.ts +0 -8
- package/dist/types/lib/utils/date-granularity-utils.d.ts +0 -5
- package/dist/types/lib/utils/date-hierarchy-utils.d.ts +0 -75
- package/dist/types/lib/utils/date-timezone-utils.d.ts +0 -79
- package/dist/types/lib/utils/drag-and-drop-utils.d.ts +0 -8
- package/dist/types/lib/utils/drill-context-utils.d.ts +0 -32
- package/dist/types/lib/utils/entity-consistency-utils.d.ts +0 -48
- package/dist/types/lib/utils/entity-icon-utils.d.ts +0 -17
- package/dist/types/lib/utils/explorer-derived-field.d.ts +0 -4
- package/dist/types/lib/utils/explorer-field-identity.d.ts +0 -15
- package/dist/types/lib/utils/export-result-source.d.ts +0 -20
- package/dist/types/lib/utils/export-utils.d.ts +0 -26
- package/dist/types/lib/utils/expression-field-classification.d.ts +0 -12
- package/dist/types/lib/utils/fetch-export-data.d.ts +0 -14
- package/dist/types/lib/utils/field-availability-context.d.ts +0 -25
- package/dist/types/lib/utils/field-icon-utils.d.ts +0 -10
- package/dist/types/lib/utils/field-state-calculator.d.ts +0 -159
- package/dist/types/lib/utils/filter-formatter.d.ts +0 -24
- package/dist/types/lib/utils/filter-metadata-utils.d.ts +0 -28
- package/dist/types/lib/utils/filter-name-utils.d.ts +0 -27
- package/dist/types/lib/utils/filter-scoping-utils.d.ts +0 -64
- package/dist/types/lib/utils/filter-search-sql.d.ts +0 -17
- package/dist/types/lib/utils/format-config-extractor.d.ts +0 -21
- package/dist/types/lib/utils/frame-utils.d.ts +0 -27
- package/dist/types/lib/utils/inline-expression-utils.d.ts +0 -11
- package/dist/types/lib/utils/inline-filter-utils.d.ts +0 -16
- package/dist/types/lib/utils/interaction-display-utils.d.ts +0 -30
- package/dist/types/lib/utils/interaction-icons.d.ts +0 -10
- package/dist/types/lib/utils/is-safari-browser.d.ts +0 -6
- package/dist/types/lib/utils/join-plan-entity-matching.d.ts +0 -26
- package/dist/types/lib/utils/kpi-comparison-utils.d.ts +0 -12
- package/dist/types/lib/utils/kpi-field-cleanup-utils.d.ts +0 -19
- package/dist/types/lib/utils/kpi-format-migration.d.ts +0 -2
- package/dist/types/lib/utils/metric-comparison-config.d.ts +0 -9
- package/dist/types/lib/utils/physical-source-identity.d.ts +0 -12
- package/dist/types/lib/utils/qualified-entity-name.d.ts +0 -2
- package/dist/types/lib/utils/relative-date-description.d.ts +0 -38
- package/dist/types/lib/utils/resolve-selected-sheet-id.d.ts +0 -11
- package/dist/types/lib/utils/role-display-mappings.d.ts +0 -44
- package/dist/types/lib/utils/semantic-metric-format-defaults.d.ts +0 -3
- package/dist/types/lib/utils/slot-validation.d.ts +0 -12
- package/dist/types/lib/utils/stable-serialize.d.ts +0 -1
- package/dist/types/lib/utils/summary-eligibility.d.ts +0 -7
- package/dist/types/lib/utils/summary-filter-utils.d.ts +0 -2
- package/dist/types/lib/utils/table-comparison-utils.d.ts +0 -9
- package/dist/types/lib/utils/text-card-runtime-utils.d.ts +0 -6
- package/dist/types/lib/utils/url-parameter-utils.d.ts +0 -60
- package/dist/types/lib/utils/window-transform-utils.d.ts +0 -41
- package/dist/types/lib/visuals/frame-object.d.ts +0 -4
- package/dist/types/shared/analytics-protocol/qualified-identity.d.ts +0 -3
- package/dist/types/shared/dashboard-authoring/filter-defaults.d.ts +0 -2
- package/dist/types/shared/filter-native-data-type.d.ts +0 -59
- package/dist/types/shared/format-utils/formatters/exact-number.d.ts +0 -1
- package/dist/types/shared/format-utils/json-record.d.ts +0 -6
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { z as i } from "zod";
|
|
2
|
-
const
|
|
2
|
+
const Gt = [
|
|
3
3
|
"missing_dependency",
|
|
4
4
|
"missing_relationship",
|
|
5
5
|
"population_required",
|
|
6
6
|
"ambiguous_relationship"
|
|
7
7
|
];
|
|
8
|
-
function
|
|
9
|
-
return
|
|
8
|
+
function Ia(e) {
|
|
9
|
+
return Gt.includes(
|
|
10
10
|
e
|
|
11
11
|
);
|
|
12
12
|
}
|
|
13
|
-
const
|
|
13
|
+
const je = 200, z = [
|
|
14
14
|
"second",
|
|
15
15
|
"minute",
|
|
16
16
|
"hour",
|
|
@@ -20,46 +20,46 @@ const Ne = 200, W = [
|
|
|
20
20
|
"quarter",
|
|
21
21
|
"year"
|
|
22
22
|
];
|
|
23
|
-
function
|
|
24
|
-
return typeof e == "string" &&
|
|
23
|
+
function wa(e) {
|
|
24
|
+
return typeof e == "string" && z.includes(e);
|
|
25
25
|
}
|
|
26
|
-
const
|
|
26
|
+
const zt = [
|
|
27
27
|
"week_of_short",
|
|
28
28
|
"week_of_long",
|
|
29
29
|
"quarter_short",
|
|
30
30
|
"quarter_long",
|
|
31
31
|
"fiscal_quarter_short",
|
|
32
32
|
"fiscal_year"
|
|
33
|
-
],
|
|
33
|
+
], ka = {
|
|
34
34
|
invalidMetadata: "invalid_raw_temporal_metadata"
|
|
35
35
|
};
|
|
36
|
-
function
|
|
36
|
+
function Wt(e) {
|
|
37
37
|
return e === "second" || e === "minute" || e === "hour" ? "datetime" : "date";
|
|
38
38
|
}
|
|
39
|
-
const
|
|
39
|
+
const Aa = {
|
|
40
40
|
missingMetadata: "missing_temporal_bucket_metadata",
|
|
41
41
|
invalidMetadata: "invalid_temporal_bucket_metadata",
|
|
42
42
|
invalidValue: "invalid_temporal_bucket_value"
|
|
43
|
-
},
|
|
44
|
-
function
|
|
43
|
+
}, xa = "__auto_count__";
|
|
44
|
+
function Kt(e) {
|
|
45
45
|
return typeof e == "string" || typeof e == "number" && Number.isFinite(e) || typeof e == "boolean";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
return !Array.isArray(e) || e.length === 0 || e.length >
|
|
47
|
+
function Qt(e) {
|
|
48
|
+
return !Array.isArray(e) || e.length === 0 || e.length > je || !e.every(Kt) ? {
|
|
49
49
|
ok: !1,
|
|
50
|
-
error: `matchValues must be 1 to ${
|
|
50
|
+
error: `matchValues must be 1 to ${je} string, number or boolean values.`
|
|
51
51
|
} : { ok: !0, values: e };
|
|
52
52
|
}
|
|
53
|
-
const
|
|
53
|
+
const Xt = [
|
|
54
54
|
"day",
|
|
55
55
|
"week",
|
|
56
56
|
"month",
|
|
57
57
|
"quarter",
|
|
58
58
|
"year"
|
|
59
|
-
],
|
|
59
|
+
], Ra = ["this", "previous"], Zt = ["now", "latest_available"], Jt = [
|
|
60
60
|
"include_partial",
|
|
61
61
|
"complete_periods"
|
|
62
|
-
],
|
|
62
|
+
], Fa = {
|
|
63
63
|
second: 31536e4,
|
|
64
64
|
minute: 5256e3,
|
|
65
65
|
hour: 87600,
|
|
@@ -69,17 +69,17 @@ const Ht = [
|
|
|
69
69
|
quarter: 40,
|
|
70
70
|
year: 10
|
|
71
71
|
};
|
|
72
|
-
function
|
|
72
|
+
function Ta(e) {
|
|
73
73
|
return e.anchor ?? "latest_available";
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function ei(e) {
|
|
76
76
|
try {
|
|
77
77
|
return new Intl.DateTimeFormat("en-US", { timeZone: e }).format(), !0;
|
|
78
78
|
} catch {
|
|
79
79
|
return !1;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
|
-
const
|
|
82
|
+
const ti = i.record(i.string(), i.unknown()), O = i.array(ti), F = i.enum([
|
|
83
83
|
"SUM",
|
|
84
84
|
"COUNT",
|
|
85
85
|
"AVG",
|
|
@@ -87,7 +87,7 @@ const Kt = i.record(i.string(), i.unknown()), O = i.array(Kt), R = i.enum([
|
|
|
87
87
|
"MAX",
|
|
88
88
|
"MEDIAN",
|
|
89
89
|
"DISTINCT"
|
|
90
|
-
]),
|
|
90
|
+
]), W = i.enum([
|
|
91
91
|
"postgres",
|
|
92
92
|
"mysql",
|
|
93
93
|
"mssql",
|
|
@@ -98,13 +98,13 @@ const Kt = i.record(i.string(), i.unknown()), O = i.array(Kt), R = i.enum([
|
|
|
98
98
|
"duckdb",
|
|
99
99
|
"sqlite",
|
|
100
100
|
"unknown"
|
|
101
|
-
]),
|
|
101
|
+
]), U = i.enum(z), K = i.enum([
|
|
102
102
|
"dimension",
|
|
103
103
|
"measure",
|
|
104
104
|
"date",
|
|
105
105
|
"id",
|
|
106
106
|
"unknown"
|
|
107
|
-
]),
|
|
107
|
+
]), Q = i.enum([
|
|
108
108
|
"string",
|
|
109
109
|
"number",
|
|
110
110
|
"boolean",
|
|
@@ -117,21 +117,21 @@ const Kt = i.record(i.string(), i.unknown()), O = i.array(Kt), R = i.enum([
|
|
|
117
117
|
"minute",
|
|
118
118
|
"hour",
|
|
119
119
|
"day"
|
|
120
|
-
]),
|
|
120
|
+
]), ii = i.enum(zt), ni = i.discriminatedUnion("mode", [
|
|
121
121
|
i.object({ mode: i.literal("auto") }).strict(),
|
|
122
122
|
i.object({
|
|
123
123
|
mode: i.literal("preset"),
|
|
124
|
-
preset:
|
|
124
|
+
preset: ii
|
|
125
125
|
}).strict(),
|
|
126
126
|
i.object({
|
|
127
127
|
mode: i.literal("pattern"),
|
|
128
128
|
pattern: i.string().min(1)
|
|
129
129
|
}).strict()
|
|
130
|
-
]),
|
|
130
|
+
]), X = i.object({
|
|
131
131
|
type: i.literal("temporal_bucket"),
|
|
132
|
-
presentation:
|
|
133
|
-
}).strict(),
|
|
134
|
-
tz: i.string().min(1).refine(
|
|
132
|
+
presentation: ni
|
|
133
|
+
}).strict(), ai = i.object({
|
|
134
|
+
tz: i.string().min(1).refine(ei, {
|
|
135
135
|
message: "tz must be a valid IANA timezone"
|
|
136
136
|
}),
|
|
137
137
|
weekStart: i.number().int().min(0).max(6),
|
|
@@ -141,12 +141,12 @@ const Kt = i.record(i.string(), i.unknown()), O = i.array(Kt), R = i.enum([
|
|
|
141
141
|
}).strict().optional()
|
|
142
142
|
}).strict(), le = i.object({
|
|
143
143
|
kind: i.literal("temporal_bucket"),
|
|
144
|
-
granularity:
|
|
145
|
-
calendar:
|
|
146
|
-
}).strict(),
|
|
144
|
+
granularity: U,
|
|
145
|
+
calendar: ai
|
|
146
|
+
}).strict(), oi = i.object({
|
|
147
147
|
kind: i.literal("raw_temporal"),
|
|
148
148
|
valueKind: i.enum(["date", "wall_datetime", "instant"])
|
|
149
|
-
}).strict(),
|
|
149
|
+
}).strict(), be = i.union([
|
|
150
150
|
i.object({
|
|
151
151
|
type: i.enum([
|
|
152
152
|
"number",
|
|
@@ -200,7 +200,7 @@ const Kt = i.record(i.string(), i.unknown()), O = i.array(Kt), R = i.enum([
|
|
|
200
200
|
suffix: i.string().optional()
|
|
201
201
|
}).passthrough()
|
|
202
202
|
]);
|
|
203
|
-
function
|
|
203
|
+
function si(e, t) {
|
|
204
204
|
return i.object(e).passthrough().superRefine((n, o) => {
|
|
205
205
|
for (const a of t)
|
|
206
206
|
Object.prototype.hasOwnProperty.call(n, a) || o.addIssue({
|
|
@@ -210,7 +210,7 @@ function ei(e, t) {
|
|
|
210
210
|
});
|
|
211
211
|
});
|
|
212
212
|
}
|
|
213
|
-
const
|
|
213
|
+
const ye = i.object({
|
|
214
214
|
kind: i.literal("semantic"),
|
|
215
215
|
domainId: i.string(),
|
|
216
216
|
datasetName: i.string(),
|
|
@@ -225,39 +225,39 @@ const be = i.object({
|
|
|
225
225
|
databaseName: i.string().optional(),
|
|
226
226
|
schemaName: i.string().optional(),
|
|
227
227
|
label: i.string().optional(),
|
|
228
|
-
dialect:
|
|
229
|
-
}).passthrough(),
|
|
228
|
+
dialect: W.optional()
|
|
229
|
+
}).passthrough(), ri = i.object({
|
|
230
230
|
kind: i.literal("sql"),
|
|
231
231
|
connectionId: i.string(),
|
|
232
|
-
dialect:
|
|
232
|
+
dialect: W.optional(),
|
|
233
233
|
label: i.string().optional()
|
|
234
234
|
}).passthrough(), et = i.union([
|
|
235
|
-
|
|
235
|
+
ye,
|
|
236
236
|
Je,
|
|
237
|
-
|
|
237
|
+
ri
|
|
238
238
|
]), tt = i.object({
|
|
239
239
|
name: i.string(),
|
|
240
240
|
label: i.string().optional(),
|
|
241
|
-
role:
|
|
242
|
-
dataType:
|
|
241
|
+
role: K.optional(),
|
|
242
|
+
dataType: Q.optional(),
|
|
243
243
|
source: et.optional(),
|
|
244
|
-
aggregate:
|
|
245
|
-
}).passthrough(), it = tt,
|
|
244
|
+
aggregate: F.optional()
|
|
245
|
+
}).passthrough(), it = tt, li = i.object({
|
|
246
246
|
kind: i.literal("field"),
|
|
247
247
|
field: it,
|
|
248
|
-
aggregate:
|
|
248
|
+
aggregate: F.optional()
|
|
249
249
|
}).passthrough(), nt = i.object({
|
|
250
250
|
kind: i.literal("derived_field"),
|
|
251
251
|
name: i.string(),
|
|
252
252
|
label: i.string(),
|
|
253
253
|
description: i.string().optional(),
|
|
254
|
-
resultRole:
|
|
255
|
-
dataType:
|
|
254
|
+
resultRole: K,
|
|
255
|
+
dataType: Q,
|
|
256
256
|
computeStage: i.enum(["row", "aggregate"]),
|
|
257
257
|
expression: i.string(),
|
|
258
258
|
expressionLanguage: i.literal("semaphor_sql_template").optional(),
|
|
259
|
-
inputs: i.record(
|
|
260
|
-
defaultAggregate:
|
|
259
|
+
inputs: i.record(li),
|
|
260
|
+
defaultAggregate: F.optional(),
|
|
261
261
|
aggregationBehavior: i.enum([
|
|
262
262
|
"additive",
|
|
263
263
|
"non_additive",
|
|
@@ -272,13 +272,13 @@ const be = i.object({
|
|
|
272
272
|
"aggregate_then_join",
|
|
273
273
|
"weighted"
|
|
274
274
|
]).optional(),
|
|
275
|
-
format:
|
|
275
|
+
format: be.optional(),
|
|
276
276
|
tags: i.array(i.string()).optional()
|
|
277
|
-
}).passthrough(), at = nt,
|
|
277
|
+
}).passthrough(), at = nt, Da = it.and(
|
|
278
278
|
i.object({
|
|
279
279
|
derivedField: at.optional()
|
|
280
280
|
}).passthrough()
|
|
281
|
-
),
|
|
281
|
+
), di = ye, ui = i.object({
|
|
282
282
|
kind: i.literal("physical"),
|
|
283
283
|
connectionId: i.string().optional(),
|
|
284
284
|
connectionType: i.string().optional(),
|
|
@@ -286,36 +286,36 @@ const be = i.object({
|
|
|
286
286
|
databaseName: i.string().optional(),
|
|
287
287
|
schemaName: i.string().optional(),
|
|
288
288
|
label: i.string().optional(),
|
|
289
|
-
dialect:
|
|
290
|
-
}).passthrough(),
|
|
289
|
+
dialect: W.optional()
|
|
290
|
+
}).passthrough(), ci = i.object({
|
|
291
291
|
kind: i.literal("sql"),
|
|
292
292
|
connectionId: i.string().optional(),
|
|
293
|
-
dialect:
|
|
293
|
+
dialect: W.optional(),
|
|
294
294
|
label: i.string().optional()
|
|
295
|
-
}).passthrough(),
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
]),
|
|
295
|
+
}).passthrough(), pi = i.union([
|
|
296
|
+
di,
|
|
297
|
+
ui,
|
|
298
|
+
ci
|
|
299
|
+
]), Ma = i.object({
|
|
300
300
|
key: i.string().optional(),
|
|
301
301
|
name: i.string(),
|
|
302
302
|
label: i.string().optional(),
|
|
303
|
-
role:
|
|
304
|
-
dataType:
|
|
305
|
-
source:
|
|
306
|
-
aggregate:
|
|
303
|
+
role: K.optional(),
|
|
304
|
+
dataType: Q.optional(),
|
|
305
|
+
source: pi.optional(),
|
|
306
|
+
aggregate: F.optional(),
|
|
307
307
|
derivedField: i.never().optional()
|
|
308
308
|
}).passthrough(), j = i.object({
|
|
309
309
|
key: i.string(),
|
|
310
310
|
name: i.string(),
|
|
311
311
|
label: i.string(),
|
|
312
|
-
role:
|
|
313
|
-
dataType:
|
|
314
|
-
aggregate:
|
|
312
|
+
role: K.optional(),
|
|
313
|
+
dataType: Q.optional(),
|
|
314
|
+
aggregate: F.optional(),
|
|
315
315
|
source: et.optional(),
|
|
316
316
|
derivedField: at.optional(),
|
|
317
317
|
temporalBucket: le.optional(),
|
|
318
|
-
rawTemporal:
|
|
318
|
+
rawTemporal: oi.optional(),
|
|
319
319
|
pivotIdentity: i.object({
|
|
320
320
|
metricId: i.string().min(1),
|
|
321
321
|
metricAlias: i.string().min(1),
|
|
@@ -333,7 +333,7 @@ const be = i.object({
|
|
|
333
333
|
path: ["rawTemporal"],
|
|
334
334
|
message: "A result column cannot carry both temporalBucket and rawTemporal metadata."
|
|
335
335
|
}), e.temporalBucket) {
|
|
336
|
-
const n =
|
|
336
|
+
const n = Wt(
|
|
337
337
|
e.temporalBucket.granularity
|
|
338
338
|
);
|
|
339
339
|
e.dataType !== n && t.addIssue({
|
|
@@ -350,10 +350,10 @@ const be = i.object({
|
|
|
350
350
|
message: `${e.rawTemporal.valueKind} raw temporal values require dataType ${n}.`
|
|
351
351
|
});
|
|
352
352
|
}
|
|
353
|
-
}),
|
|
353
|
+
}), Ea = i.object({
|
|
354
354
|
records: O,
|
|
355
355
|
columns: i.array(j).optional()
|
|
356
|
-
}).passthrough(),
|
|
356
|
+
}).passthrough(), Na = i.object({
|
|
357
357
|
records: O,
|
|
358
358
|
columns: i.array(j)
|
|
359
359
|
}).passthrough(), ot = i.object({
|
|
@@ -365,34 +365,34 @@ const be = i.object({
|
|
|
365
365
|
validDateCandidates: i.array(i.string()).optional(),
|
|
366
366
|
validDimensionCandidates: i.array(i.string()).optional(),
|
|
367
367
|
recommendedNextStep: i.string()
|
|
368
|
-
}).passthrough(),
|
|
368
|
+
}).passthrough(), Ce = i.object({
|
|
369
369
|
code: i.string(),
|
|
370
370
|
message: i.string(),
|
|
371
371
|
path: i.string().optional(),
|
|
372
372
|
fieldRole: i.enum(["measure", "date", "dimension", "input", "source", "sql"]).optional(),
|
|
373
373
|
repairHint: ot.optional()
|
|
374
|
-
}).passthrough(),
|
|
374
|
+
}).passthrough(), ja = i.object({
|
|
375
375
|
ok: i.boolean(),
|
|
376
|
-
errors: i.array(
|
|
377
|
-
warnings: i.array(
|
|
376
|
+
errors: i.array(Ce),
|
|
377
|
+
warnings: i.array(Ce),
|
|
378
378
|
repairHints: i.array(ot)
|
|
379
|
-
}).passthrough(),
|
|
379
|
+
}).passthrough(), mi = i.object({
|
|
380
380
|
page: i.number(),
|
|
381
381
|
pageSize: i.number(),
|
|
382
382
|
pageCount: i.number(),
|
|
383
383
|
totalCount: i.number(),
|
|
384
384
|
hasNextPage: i.boolean(),
|
|
385
385
|
hasPrevPage: i.boolean()
|
|
386
|
-
}).passthrough(),
|
|
386
|
+
}).passthrough(), Z = {
|
|
387
387
|
intentId: i.string().optional(),
|
|
388
388
|
queryPath: i.enum(["query_spec", "sql", "sql_python"]),
|
|
389
389
|
warnings: i.array(i.string()).optional(),
|
|
390
390
|
rowCount: i.number().optional(),
|
|
391
391
|
rowLimitExceeded: i.boolean().optional(),
|
|
392
392
|
limit: i.number().optional(),
|
|
393
|
-
pagination:
|
|
394
|
-
},
|
|
395
|
-
...
|
|
393
|
+
pagination: mi.optional()
|
|
394
|
+
}, Ca = i.object({
|
|
395
|
+
...Z,
|
|
396
396
|
kind: i.literal("metric"),
|
|
397
397
|
primaryValue: ie,
|
|
398
398
|
measures: i.record(ie).optional(),
|
|
@@ -404,8 +404,8 @@ const be = i.object({
|
|
|
404
404
|
deltaPercent: i.union([i.number(), i.null()]).optional()
|
|
405
405
|
}).passthrough().optional(),
|
|
406
406
|
records: O.optional()
|
|
407
|
-
}).passthrough(),
|
|
408
|
-
...
|
|
407
|
+
}).passthrough(), $a = i.object({
|
|
408
|
+
...Z,
|
|
409
409
|
kind: i.literal("records"),
|
|
410
410
|
columns: i.array(j),
|
|
411
411
|
records: O,
|
|
@@ -415,7 +415,7 @@ const be = i.object({
|
|
|
415
415
|
row: i.record(i.string(), i.unknown()),
|
|
416
416
|
columns: i.array(j).optional()
|
|
417
417
|
}).passthrough().optional()
|
|
418
|
-
}).passthrough(),
|
|
418
|
+
}).passthrough(), fi = i.object({
|
|
419
419
|
inputId: i.string().min(1),
|
|
420
420
|
status: i.enum(["applied", "inactive", "skipped", "overridden", "error"]),
|
|
421
421
|
reason: i.enum([
|
|
@@ -428,16 +428,16 @@ const be = i.object({
|
|
|
428
428
|
"unsupported_dependency",
|
|
429
429
|
"override_not_eligible"
|
|
430
430
|
]).optional()
|
|
431
|
-
}),
|
|
431
|
+
}), gi = i.object({
|
|
432
432
|
complete: i.boolean(),
|
|
433
433
|
reason: i.enum(["unsupported", "truncated"]).optional()
|
|
434
|
-
}),
|
|
435
|
-
...
|
|
434
|
+
}), Oa = i.object({
|
|
435
|
+
...Z,
|
|
436
436
|
kind: i.literal("inputOptions"),
|
|
437
|
-
dependencyOutcomes: i.array(
|
|
438
|
-
match:
|
|
437
|
+
dependencyOutcomes: i.array(fi).optional(),
|
|
438
|
+
match: gi.optional(),
|
|
439
439
|
options: i.array(
|
|
440
|
-
|
|
440
|
+
si(
|
|
441
441
|
{
|
|
442
442
|
label: i.string(),
|
|
443
443
|
value: i.unknown(),
|
|
@@ -447,8 +447,8 @@ const be = i.object({
|
|
|
447
447
|
["value"]
|
|
448
448
|
)
|
|
449
449
|
)
|
|
450
|
-
}).passthrough(),
|
|
451
|
-
...
|
|
450
|
+
}).passthrough(), Pa = i.object({
|
|
451
|
+
...Z,
|
|
452
452
|
kind: i.literal("sql"),
|
|
453
453
|
columns: i.array(j),
|
|
454
454
|
records: O,
|
|
@@ -464,16 +464,16 @@ function r(e, t, n) {
|
|
|
464
464
|
function m(e) {
|
|
465
465
|
return typeof e == "string" && e.trim().length > 0;
|
|
466
466
|
}
|
|
467
|
-
function
|
|
467
|
+
function hi(e) {
|
|
468
468
|
const t = /* @__PURE__ */ new Set();
|
|
469
|
-
return
|
|
469
|
+
return _i(e, (n) => (t.add(n), `{${n}}`)), Array.from(t);
|
|
470
470
|
}
|
|
471
|
-
function
|
|
471
|
+
function _i(e, t) {
|
|
472
472
|
let n = "", o = 0, a = 0;
|
|
473
473
|
for (; a < e.length; ) {
|
|
474
474
|
const s = e[a];
|
|
475
475
|
if (s === "'" || s === '"') {
|
|
476
|
-
a =
|
|
476
|
+
a = bi(e, a);
|
|
477
477
|
continue;
|
|
478
478
|
}
|
|
479
479
|
if (s === "{") {
|
|
@@ -490,7 +490,7 @@ function ci(e, t) {
|
|
|
490
490
|
}
|
|
491
491
|
return n + e.slice(o);
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function bi(e, t) {
|
|
494
494
|
const n = e[t];
|
|
495
495
|
let o = t + 1;
|
|
496
496
|
for (; o < e.length; ) {
|
|
@@ -508,7 +508,7 @@ function pi(e, t) {
|
|
|
508
508
|
function f(e) {
|
|
509
509
|
return !!(e && typeof e == "object" && !Array.isArray(e));
|
|
510
510
|
}
|
|
511
|
-
const
|
|
511
|
+
const yi = /* @__PURE__ */ new Set([
|
|
512
512
|
"SUM",
|
|
513
513
|
"COUNT",
|
|
514
514
|
"AVG",
|
|
@@ -517,7 +517,7 @@ const mi = /* @__PURE__ */ new Set([
|
|
|
517
517
|
"MEDIAN",
|
|
518
518
|
"DISTINCT"
|
|
519
519
|
]);
|
|
520
|
-
function
|
|
520
|
+
function ve(e, t, n) {
|
|
521
521
|
if (!e || typeof e != "object") {
|
|
522
522
|
n.push(
|
|
523
523
|
r("missing_source", "Analytics intent needs a source.", t)
|
|
@@ -583,10 +583,10 @@ function y(e, t, n, o = {}) {
|
|
|
583
583
|
"Field reference needs a name.",
|
|
584
584
|
`${t}.name`
|
|
585
585
|
)
|
|
586
|
-
), e.source !== void 0 &&
|
|
586
|
+
), e.source !== void 0 && ve(e.source, `${t}.source`, n), Se(e.aggregate, `${t}.aggregate`, n);
|
|
587
587
|
}
|
|
588
|
-
function
|
|
589
|
-
e !== void 0 && (typeof e != "string" || !
|
|
588
|
+
function Se(e, t, n) {
|
|
589
|
+
e !== void 0 && (typeof e != "string" || !yi.has(e)) && n.push(
|
|
590
590
|
r(
|
|
591
591
|
"invalid_aggregate",
|
|
592
592
|
"Field aggregate must be SUM, COUNT, AVG, MIN, MAX, MEDIAN, or DISTINCT.",
|
|
@@ -594,20 +594,20 @@ function ve(e, t, n) {
|
|
|
594
594
|
)
|
|
595
595
|
);
|
|
596
596
|
}
|
|
597
|
-
const
|
|
597
|
+
const vi = /* @__PURE__ */ new Set([
|
|
598
598
|
"measure",
|
|
599
599
|
"dimension",
|
|
600
600
|
"date",
|
|
601
601
|
"id",
|
|
602
602
|
"unknown"
|
|
603
|
-
]),
|
|
603
|
+
]), Si = /* @__PURE__ */ new Set(["row", "aggregate"]), st = /* @__PURE__ */ new Set([
|
|
604
604
|
"string",
|
|
605
605
|
"number",
|
|
606
606
|
"boolean",
|
|
607
607
|
"date",
|
|
608
608
|
"datetime",
|
|
609
609
|
"unknown"
|
|
610
|
-
]),
|
|
610
|
+
]), Ii = /* @__PURE__ */ new Set([
|
|
611
611
|
"number",
|
|
612
612
|
"currency",
|
|
613
613
|
"percent",
|
|
@@ -618,13 +618,13 @@ const fi = /* @__PURE__ */ new Set([
|
|
|
618
618
|
"duration",
|
|
619
619
|
"string",
|
|
620
620
|
"temporal_bucket"
|
|
621
|
-
]),
|
|
621
|
+
]), wi = /* @__PURE__ */ new Set([
|
|
622
622
|
"millisecond",
|
|
623
623
|
"second",
|
|
624
624
|
"minute",
|
|
625
625
|
"hour",
|
|
626
626
|
"day"
|
|
627
|
-
]),
|
|
627
|
+
]), ki = /* @__PURE__ */ new Set(["compact", "digital", "long"]);
|
|
628
628
|
function rt(e, t, n) {
|
|
629
629
|
if (e === void 0)
|
|
630
630
|
return;
|
|
@@ -639,13 +639,13 @@ function rt(e, t, n) {
|
|
|
639
639
|
return;
|
|
640
640
|
}
|
|
641
641
|
const o = e;
|
|
642
|
-
(typeof o.type != "string" || !
|
|
642
|
+
(typeof o.type != "string" || !Ii.has(o.type)) && n.push(
|
|
643
643
|
r(
|
|
644
644
|
"invalid_value_format_type",
|
|
645
645
|
"Value format type must be number, currency, percent, percentage, scientific, date, datetime, duration, string, or temporal_bucket.",
|
|
646
646
|
`${t}.type`
|
|
647
647
|
)
|
|
648
|
-
), o.type === "temporal_bucket" && !
|
|
648
|
+
), o.type === "temporal_bucket" && !X.safeParse(e).success && n.push(
|
|
649
649
|
r(
|
|
650
650
|
"invalid_temporal_bucket_format",
|
|
651
651
|
"Temporal bucket format must contain a valid auto, preset, or pattern presentation.",
|
|
@@ -686,7 +686,7 @@ function rt(e, t, n) {
|
|
|
686
686
|
);
|
|
687
687
|
for (const a of ["inputUnit", "largestUnit", "smallestUnit"]) {
|
|
688
688
|
const s = e[a];
|
|
689
|
-
s !== void 0 && (typeof s != "string" || !
|
|
689
|
+
s !== void 0 && (typeof s != "string" || !wi.has(s)) && n.push(
|
|
690
690
|
r(
|
|
691
691
|
"invalid_value_format_duration_unit",
|
|
692
692
|
"Duration format units must be millisecond, second, minute, hour, or day.",
|
|
@@ -694,7 +694,7 @@ function rt(e, t, n) {
|
|
|
694
694
|
)
|
|
695
695
|
);
|
|
696
696
|
}
|
|
697
|
-
e.outputStyle !== void 0 && (typeof e.outputStyle != "string" || !
|
|
697
|
+
e.outputStyle !== void 0 && (typeof e.outputStyle != "string" || !ki.has(e.outputStyle)) && n.push(
|
|
698
698
|
r(
|
|
699
699
|
"invalid_value_format_duration_style",
|
|
700
700
|
"Duration format outputStyle must be compact, digital, or long.",
|
|
@@ -711,20 +711,20 @@ function B(e, t, n) {
|
|
|
711
711
|
)
|
|
712
712
|
);
|
|
713
713
|
}
|
|
714
|
-
const
|
|
714
|
+
const Ai = /* @__PURE__ */ new Set([
|
|
715
715
|
"additive",
|
|
716
716
|
"non_additive",
|
|
717
717
|
"ratio_of_sums",
|
|
718
718
|
"weighted",
|
|
719
719
|
"pre_aggregated",
|
|
720
720
|
"snapshot"
|
|
721
|
-
]),
|
|
721
|
+
]), xi = /* @__PURE__ */ new Set([
|
|
722
722
|
"default",
|
|
723
723
|
"symmetric_aggregate",
|
|
724
724
|
"aggregate_then_join",
|
|
725
725
|
"weighted"
|
|
726
726
|
]);
|
|
727
|
-
function
|
|
727
|
+
function Ri(e, t, n) {
|
|
728
728
|
if (!e || !f(e)) {
|
|
729
729
|
n.push(
|
|
730
730
|
r(
|
|
@@ -736,7 +736,7 @@ function Si(e, t, n) {
|
|
|
736
736
|
return;
|
|
737
737
|
}
|
|
738
738
|
if (e.kind === "field") {
|
|
739
|
-
y(e.field, `${t}.field`, n, { required: !0 }),
|
|
739
|
+
y(e.field, `${t}.field`, n, { required: !0 }), Se(e.aggregate, `${t}.aggregate`, n);
|
|
740
740
|
return;
|
|
741
741
|
}
|
|
742
742
|
n.push(
|
|
@@ -747,7 +747,7 @@ function Si(e, t, n) {
|
|
|
747
747
|
)
|
|
748
748
|
);
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function Ie(e) {
|
|
751
751
|
const t = [];
|
|
752
752
|
if (!f(e))
|
|
753
753
|
return t.push(
|
|
@@ -774,7 +774,7 @@ function Se(e) {
|
|
|
774
774
|
"Derived field needs a label.",
|
|
775
775
|
"label"
|
|
776
776
|
)
|
|
777
|
-
),
|
|
777
|
+
), vi.has(e.resultRole) || t.push(
|
|
778
778
|
r(
|
|
779
779
|
"invalid_derived_field_role",
|
|
780
780
|
"Derived field resultRole must be measure, dimension, date, id, or unknown.",
|
|
@@ -786,7 +786,7 @@ function Se(e) {
|
|
|
786
786
|
"Derived field dataType must be string, number, boolean, date, datetime, or unknown.",
|
|
787
787
|
"dataType"
|
|
788
788
|
)
|
|
789
|
-
),
|
|
789
|
+
), Si.has(e.computeStage) || t.push(
|
|
790
790
|
r(
|
|
791
791
|
"invalid_derived_field_compute_stage",
|
|
792
792
|
"Derived field computeStage must be row or aggregate.",
|
|
@@ -810,11 +810,11 @@ function Se(e) {
|
|
|
810
810
|
"Row-stage measure derived fields must declare defaultAggregate so row results have explicit rollup semantics.",
|
|
811
811
|
"defaultAggregate"
|
|
812
812
|
)
|
|
813
|
-
),
|
|
813
|
+
), Se(
|
|
814
814
|
e.defaultAggregate,
|
|
815
815
|
"defaultAggregate",
|
|
816
816
|
t
|
|
817
|
-
), e.aggregationBehavior !== void 0 && !
|
|
817
|
+
), e.aggregationBehavior !== void 0 && !Ai.has(
|
|
818
818
|
e.aggregationBehavior
|
|
819
819
|
) && t.push(
|
|
820
820
|
r(
|
|
@@ -822,7 +822,7 @@ function Se(e) {
|
|
|
822
822
|
"Derived field aggregationBehavior is not supported.",
|
|
823
823
|
"aggregationBehavior"
|
|
824
824
|
)
|
|
825
|
-
), e.aggregationStrategy !== void 0 && !
|
|
825
|
+
), e.aggregationStrategy !== void 0 && !xi.has(
|
|
826
826
|
e.aggregationStrategy
|
|
827
827
|
) && t.push(
|
|
828
828
|
r(
|
|
@@ -859,13 +859,13 @@ function Se(e) {
|
|
|
859
859
|
);
|
|
860
860
|
return;
|
|
861
861
|
}
|
|
862
|
-
|
|
862
|
+
Ri(
|
|
863
863
|
a,
|
|
864
864
|
`inputs.${o}`,
|
|
865
865
|
t
|
|
866
866
|
);
|
|
867
867
|
}), m(e.expression) && f(e.inputs)) {
|
|
868
|
-
const o =
|
|
868
|
+
const o = hi(
|
|
869
869
|
e.expression
|
|
870
870
|
), a = new Set(o), s = Object.keys(e.inputs).filter(
|
|
871
871
|
(l) => m(l)
|
|
@@ -903,55 +903,55 @@ function Se(e) {
|
|
|
903
903
|
)
|
|
904
904
|
), { ok: t.length === 0, errors: t, warnings: [] };
|
|
905
905
|
}
|
|
906
|
-
const D = i.string().min(1).refine((e) => e.trim().length > 0, "Must not be blank."), [
|
|
907
|
-
|
|
906
|
+
const D = i.string().min(1).refine((e) => e.trim().length > 0, "Must not be blank."), [Fi, Ti, Di, Mi] = be.options, lt = i.union([
|
|
907
|
+
Fi.innerType().omit({ locale: !0 }).strict().superRefine((e, t) => {
|
|
908
908
|
const { minimumFractionDigits: n = 0, maximumFractionDigits: o = 2 } = e;
|
|
909
909
|
(![n, o].every((a) => Number.isInteger(a) && a >= 0 && a <= 20) || n > o) && t.addIssue({
|
|
910
910
|
code: "custom",
|
|
911
911
|
message: "Fraction digits must be integers from 0 to 20 with minimum <= maximum."
|
|
912
912
|
}), e.scale !== void 0 && !Number.isFinite(e.scale) && t.addIssue({ code: "custom", message: "Scale must be finite." });
|
|
913
913
|
}),
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
]),
|
|
914
|
+
Ti.strict(),
|
|
915
|
+
Di.strict(),
|
|
916
|
+
Mi.strict()
|
|
917
|
+
]), $e = i.union([
|
|
918
918
|
lt,
|
|
919
|
-
|
|
920
|
-
]),
|
|
921
|
-
|
|
919
|
+
X
|
|
920
|
+
]), we = i.union([
|
|
921
|
+
ye.extend({ domainId: D, datasetName: D }).strict(),
|
|
922
922
|
Je.extend({ connectionId: D, tableName: D }).strict()
|
|
923
923
|
]), dt = tt.extend({
|
|
924
924
|
name: D,
|
|
925
|
-
source:
|
|
926
|
-
}).strict(),
|
|
925
|
+
source: we.optional()
|
|
926
|
+
}).strict(), ke = nt.extend({
|
|
927
927
|
format: lt.optional(),
|
|
928
928
|
inputs: i.record(
|
|
929
929
|
i.object({
|
|
930
930
|
kind: i.literal("field"),
|
|
931
931
|
field: dt,
|
|
932
|
-
aggregate:
|
|
932
|
+
aggregate: F.optional()
|
|
933
933
|
}).strict()
|
|
934
934
|
)
|
|
935
935
|
}).strict().superRefine((e, t) => {
|
|
936
936
|
var n;
|
|
937
|
-
for (const o of
|
|
937
|
+
for (const o of Ie(e).errors)
|
|
938
938
|
t.addIssue({
|
|
939
939
|
code: "custom",
|
|
940
940
|
path: ((n = o.path) == null ? void 0 : n.split(".")) ?? [],
|
|
941
941
|
message: o.message
|
|
942
942
|
});
|
|
943
|
-
}),
|
|
944
|
-
derivedField:
|
|
943
|
+
}), Ei = dt.extend({
|
|
944
|
+
derivedField: ke.optional()
|
|
945
945
|
}).strict();
|
|
946
|
-
function
|
|
946
|
+
function Ae(e) {
|
|
947
947
|
return typeof e == "string" ? e.trim().toLowerCase() : "";
|
|
948
948
|
}
|
|
949
|
-
function
|
|
949
|
+
function Ni(e) {
|
|
950
950
|
return String(
|
|
951
951
|
e.column_name || e.name || e.qualifiedFieldName || ""
|
|
952
952
|
);
|
|
953
953
|
}
|
|
954
|
-
function
|
|
954
|
+
function ji(e) {
|
|
955
955
|
return Array.from(
|
|
956
956
|
new Set(
|
|
957
957
|
[e.column_name, e.name, e.qualifiedFieldName, e.alias].filter(
|
|
@@ -960,9 +960,9 @@ function Ri(e) {
|
|
|
960
960
|
)
|
|
961
961
|
);
|
|
962
962
|
}
|
|
963
|
-
function
|
|
963
|
+
function xe(e) {
|
|
964
964
|
const t = ct(e);
|
|
965
|
-
return t ?
|
|
965
|
+
return t ? Oi(t) ? "number" : t.includes("timestamp") || t.includes("datetime") || t.startsWith("time") ? "datetime" : t.includes("date") ? "date" : t.includes("bool") ? "boolean" : "string" : "unknown";
|
|
966
966
|
}
|
|
967
967
|
const ae = /* @__PURE__ */ new Map([
|
|
968
968
|
// Integer families (PostgreSQL, ClickHouse, DuckDB, MySQL).
|
|
@@ -992,70 +992,70 @@ const ae = /* @__PURE__ */ new Map([
|
|
|
992
992
|
["money", null],
|
|
993
993
|
["currency", null],
|
|
994
994
|
["percent", null]
|
|
995
|
-
]),
|
|
996
|
-
function
|
|
995
|
+
]), Ci = ["int", "uint", "decimal", "float"];
|
|
996
|
+
function $i(e) {
|
|
997
997
|
return e.length > 0 && Array.from(e).every((t) => t >= "0" && t <= "9");
|
|
998
998
|
}
|
|
999
999
|
function ut(e) {
|
|
1000
1000
|
const t = e.split(/[\s(]/, 1)[0] || "";
|
|
1001
1001
|
if (ae.has(t))
|
|
1002
1002
|
return { numeric: !0, kind: ae.get(t) ?? null };
|
|
1003
|
-
const n =
|
|
1004
|
-
(o) => t.startsWith(o) &&
|
|
1003
|
+
const n = Ci.find(
|
|
1004
|
+
(o) => t.startsWith(o) && $i(t.slice(o.length))
|
|
1005
1005
|
);
|
|
1006
1006
|
return n ? { numeric: !0, kind: ae.get(n) ?? null } : { numeric: !1, kind: null };
|
|
1007
1007
|
}
|
|
1008
|
-
function
|
|
1008
|
+
function Oi(e) {
|
|
1009
1009
|
return ut(e).numeric;
|
|
1010
1010
|
}
|
|
1011
|
-
function
|
|
1011
|
+
function Pi(e) {
|
|
1012
1012
|
return ut(ct(e)).kind;
|
|
1013
1013
|
}
|
|
1014
1014
|
function ct(e) {
|
|
1015
|
-
let t =
|
|
1015
|
+
let t = Ae(e), n = "";
|
|
1016
1016
|
for (; t && t !== n; )
|
|
1017
|
-
n = t, t =
|
|
1017
|
+
n = t, t = Oe(t, "nullable"), t = Oe(t, "lowcardinality");
|
|
1018
1018
|
return t;
|
|
1019
1019
|
}
|
|
1020
|
-
function
|
|
1020
|
+
function Oe(e, t) {
|
|
1021
1021
|
const n = `${t}(`;
|
|
1022
1022
|
return !e.startsWith(n) || !e.endsWith(")") ? e : e.slice(n.length, -1).trim();
|
|
1023
1023
|
}
|
|
1024
|
-
function
|
|
1025
|
-
const t =
|
|
1024
|
+
function Yi(e) {
|
|
1025
|
+
const t = xe(e);
|
|
1026
1026
|
return t === "date" || t === "datetime";
|
|
1027
1027
|
}
|
|
1028
1028
|
function pt(e) {
|
|
1029
|
-
return
|
|
1029
|
+
return Yi(e.dataType || e.data_type);
|
|
1030
1030
|
}
|
|
1031
1031
|
function mt(e) {
|
|
1032
1032
|
const t = ft(e);
|
|
1033
1033
|
return t === "id" || t === "row_id";
|
|
1034
1034
|
}
|
|
1035
|
-
function
|
|
1035
|
+
function Pe(e) {
|
|
1036
1036
|
const t = ft(e);
|
|
1037
1037
|
return mt(e) || t.endsWith("_id") || t.endsWith("_key") || t.endsWith("_number");
|
|
1038
1038
|
}
|
|
1039
1039
|
function ft(e) {
|
|
1040
|
-
return
|
|
1041
|
-
|
|
1040
|
+
return Ae(
|
|
1041
|
+
Ni(e) || e.name || e.alias
|
|
1042
1042
|
).replace(/[^a-z0-9]+/g, "_").replace(/^_+|_+$/g, "");
|
|
1043
1043
|
}
|
|
1044
1044
|
function gt(e, t = {}) {
|
|
1045
|
-
const n =
|
|
1046
|
-
return n === "metric" || n === "measure" ? !t.excludeIdentifiers || !
|
|
1045
|
+
const n = Ae(e.role);
|
|
1046
|
+
return n === "metric" || n === "measure" ? !t.excludeIdentifiers || !Pe(e) : n === "groupby" || n === "dimension" || n === "date" || n === "id" ? !1 : xe(
|
|
1047
1047
|
e.dataType || e.data_type
|
|
1048
|
-
) === "number" && (!t.excludeIdentifiers || !
|
|
1048
|
+
) === "number" && (!t.excludeIdentifiers || !Pe(e));
|
|
1049
1049
|
}
|
|
1050
|
-
function
|
|
1050
|
+
function Ya(e) {
|
|
1051
1051
|
return !gt(e) && !pt(e);
|
|
1052
1052
|
}
|
|
1053
|
-
function
|
|
1053
|
+
function Ba(e) {
|
|
1054
1054
|
const t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Set();
|
|
1055
1055
|
for (const a of e) {
|
|
1056
1056
|
if (mt(a))
|
|
1057
1057
|
continue;
|
|
1058
|
-
const s =
|
|
1058
|
+
const s = ji(a);
|
|
1059
1059
|
if (s.length !== 0) {
|
|
1060
1060
|
if (pt(a)) {
|
|
1061
1061
|
s.forEach((l) => n.add(l));
|
|
@@ -1075,7 +1075,7 @@ function Na(e) {
|
|
|
1075
1075
|
};
|
|
1076
1076
|
}
|
|
1077
1077
|
const M = 16 * 1024;
|
|
1078
|
-
function
|
|
1078
|
+
function V(e) {
|
|
1079
1079
|
const t = /^([+-]?)(?:(\d+)(?:\.(\d*))?|\.(\d+))(?:[eE]([+-]?\d+))?$/.exec(e);
|
|
1080
1080
|
return t ? {
|
|
1081
1081
|
sign: t[1],
|
|
@@ -1084,22 +1084,22 @@ function H(e) {
|
|
|
1084
1084
|
exponent: Number(t[5] ?? "0")
|
|
1085
1085
|
} : null;
|
|
1086
1086
|
}
|
|
1087
|
-
function
|
|
1087
|
+
function Ye(e) {
|
|
1088
1088
|
const { sign: t, whole: n, fraction: o = "", exponent: a } = e, s = (n + o).replace(/^0+/, ""), l = s.replace(/0+$/, ""), d = a - o.length + s.length - l.length;
|
|
1089
1089
|
return !Number.isSafeInteger(a) || !Number.isSafeInteger(d) ? null : l ? `${t === "-" ? "-" : ""}${l}e${d}` : "0";
|
|
1090
1090
|
}
|
|
1091
|
-
function
|
|
1092
|
-
const t =
|
|
1091
|
+
function Bi(e) {
|
|
1092
|
+
const t = V(e);
|
|
1093
1093
|
if (!t) return null;
|
|
1094
1094
|
const n = t.sign === "+" ? e.slice(1) : e, o = Number(e);
|
|
1095
1095
|
if (!Number.isFinite(o)) return n;
|
|
1096
|
-
const a =
|
|
1097
|
-
return a !== null && s !== null && a ===
|
|
1096
|
+
const a = Ye(t), s = V(String(o));
|
|
1097
|
+
return a !== null && s !== null && a === Ye(s) ? o : n;
|
|
1098
1098
|
}
|
|
1099
|
-
function
|
|
1099
|
+
function qi(e) {
|
|
1100
1100
|
if (e.length > M)
|
|
1101
1101
|
throw new RangeError("Exact numeric text exceeds 16 KiB.");
|
|
1102
|
-
const t =
|
|
1102
|
+
const t = V(e);
|
|
1103
1103
|
if (!t) throw new TypeError("Expected finite decimal text.");
|
|
1104
1104
|
const { sign: n, whole: o, fraction: a, exponent: s } = t, l = `${n}${o || "0"}${a ? `.${a}` : ""}`;
|
|
1105
1105
|
return x(`${l}e${s}`);
|
|
@@ -1107,7 +1107,7 @@ function Ci(e) {
|
|
|
1107
1107
|
function x(e) {
|
|
1108
1108
|
if (e.length > M)
|
|
1109
1109
|
throw new RangeError("Exact numeric text exceeds 16 KiB.");
|
|
1110
|
-
const t =
|
|
1110
|
+
const t = V(e);
|
|
1111
1111
|
if (!t || t.whole === "" || t.fraction === "")
|
|
1112
1112
|
throw new TypeError("Expected finite decimal text.");
|
|
1113
1113
|
const { sign: n, whole: o, fraction: a = "", exponent: s } = t;
|
|
@@ -1132,7 +1132,7 @@ function ht(e, t) {
|
|
|
1132
1132
|
}
|
|
1133
1133
|
return c === 0 ? 0 : n ? -c : c;
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1135
|
+
function qa(e, t) {
|
|
1136
1136
|
if (typeof t == "number" && !Number.isFinite(t))
|
|
1137
1137
|
throw new TypeError("Numeric scale must be finite.");
|
|
1138
1138
|
const n = [e, x(String(t))].map((s) => {
|
|
@@ -1141,7 +1141,7 @@ function ja(e, t) {
|
|
|
1141
1141
|
}), o = n[0].coefficient * n[1].coefficient, a = n[0].digits + n[1].digits;
|
|
1142
1142
|
return x(`${o}e-${a}`);
|
|
1143
1143
|
}
|
|
1144
|
-
function
|
|
1144
|
+
function Li(e) {
|
|
1145
1145
|
try {
|
|
1146
1146
|
return x(e) === e;
|
|
1147
1147
|
} catch {
|
|
@@ -1151,24 +1151,24 @@ function $i(e) {
|
|
|
1151
1151
|
const _t = i.object({
|
|
1152
1152
|
kind: i.literal("exact_number"),
|
|
1153
1153
|
type: i.enum(["integer", "decimal"]),
|
|
1154
|
-
value: i.string().max(M).refine(
|
|
1154
|
+
value: i.string().max(M).refine(Li, "Expected canonical decimal text.")
|
|
1155
1155
|
}).strict().superRefine((e, t) => {
|
|
1156
1156
|
e.type === "integer" && e.value.includes(".") && t.addIssue({ code: "custom", path: ["value"], message: "An integer cannot have fractional digits." });
|
|
1157
|
-
}),
|
|
1157
|
+
}), L = i.union([
|
|
1158
1158
|
i.null(),
|
|
1159
1159
|
i.string(),
|
|
1160
1160
|
i.boolean(),
|
|
1161
1161
|
i.number().finite(),
|
|
1162
1162
|
_t
|
|
1163
1163
|
]);
|
|
1164
|
-
function
|
|
1164
|
+
function Ui(e, t) {
|
|
1165
1165
|
return _t.parse({ kind: "exact_number", type: t, value: x(e) });
|
|
1166
1166
|
}
|
|
1167
|
-
function
|
|
1167
|
+
function H(e) {
|
|
1168
1168
|
return typeof e == "object" && e !== null && "kind" in e && e.kind === "exact_number" && "type" in e && (e.type === "integer" || e.type === "decimal") && "value" in e && typeof e.value == "string";
|
|
1169
1169
|
}
|
|
1170
|
-
function
|
|
1171
|
-
const t =
|
|
1170
|
+
function La(e) {
|
|
1171
|
+
const t = Pi(e.nativeDataType);
|
|
1172
1172
|
if (!t) throw new TypeError("Numeric result type is not established.");
|
|
1173
1173
|
if (e.value === null) return null;
|
|
1174
1174
|
if (t === "float") {
|
|
@@ -1178,12 +1178,12 @@ function Ca(e) {
|
|
|
1178
1178
|
}
|
|
1179
1179
|
if (e.exactText === void 0)
|
|
1180
1180
|
throw new TypeError("Exact numeric sidecar is required; rounded result values cannot substitute.");
|
|
1181
|
-
return
|
|
1181
|
+
return Ui(e.exactText, t);
|
|
1182
1182
|
}
|
|
1183
|
-
const
|
|
1184
|
-
i.object({ kind: i.literal("value"), value:
|
|
1185
|
-
i.object({ kind: i.literal("others"), rankingId:
|
|
1186
|
-
]),
|
|
1183
|
+
const Re = i.string().uuid(), Fe = i.enum(["rows", "columns"]), Vi = i.enum(["member", "subtotal", "grand_total", "others"]), Hi = i.discriminatedUnion("kind", [
|
|
1184
|
+
i.object({ kind: i.literal("value"), value: L }).strict(),
|
|
1185
|
+
i.object({ kind: i.literal("others"), rankingId: Re }).strict()
|
|
1186
|
+
]), R = i.array(i.object({ levelId: Re, member: Hi }).strict()).readonly().superRefine((e, t) => {
|
|
1187
1187
|
new Set(e.map((n) => n.levelId)).size !== e.length && t.addIssue({
|
|
1188
1188
|
code: "custom",
|
|
1189
1189
|
path: [],
|
|
@@ -1195,10 +1195,10 @@ const xe = i.string().uuid(), Fe = i.enum(["rows", "columns"]), Pi = i.enum(["me
|
|
|
1195
1195
|
path: [],
|
|
1196
1196
|
message: "Others is terminal."
|
|
1197
1197
|
});
|
|
1198
|
-
}),
|
|
1199
|
-
rowPath:
|
|
1200
|
-
columnPath:
|
|
1201
|
-
measureId:
|
|
1198
|
+
}), Ua = i.object({
|
|
1199
|
+
rowPath: R,
|
|
1200
|
+
columnPath: R,
|
|
1201
|
+
measureId: Re
|
|
1202
1202
|
}).strict();
|
|
1203
1203
|
function bt(e) {
|
|
1204
1204
|
return JSON.stringify(
|
|
@@ -1208,11 +1208,11 @@ function bt(e) {
|
|
|
1208
1208
|
])
|
|
1209
1209
|
);
|
|
1210
1210
|
}
|
|
1211
|
-
const de = "SEMAPHOR_CALCULATED_FIELD",
|
|
1212
|
-
function
|
|
1211
|
+
const de = "SEMAPHOR_CALCULATED_FIELD", Gi = "calculated_fields";
|
|
1212
|
+
function zi(e) {
|
|
1213
1213
|
return (e == null ? void 0 : e.sourceField) || (e == null ? void 0 : e.name) || "";
|
|
1214
1214
|
}
|
|
1215
|
-
const
|
|
1215
|
+
const Wi = [
|
|
1216
1216
|
// Day granularity formats
|
|
1217
1217
|
"MM-DD-YYYY",
|
|
1218
1218
|
"YYYY-MM-DD",
|
|
@@ -1247,13 +1247,13 @@ const Li = [
|
|
|
1247
1247
|
// Custom format
|
|
1248
1248
|
"custom"
|
|
1249
1249
|
];
|
|
1250
|
-
function
|
|
1250
|
+
function Va(e) {
|
|
1251
1251
|
return e.role === "metric" && "expression" in e && !!e.expression;
|
|
1252
1252
|
}
|
|
1253
|
-
function
|
|
1253
|
+
function Ha(e) {
|
|
1254
1254
|
return !!e.expression;
|
|
1255
1255
|
}
|
|
1256
|
-
function
|
|
1256
|
+
function Ki(e) {
|
|
1257
1257
|
return !!(e && (e.calculationRepresentation || e.expression || e.derivedField || e.calculatedFieldOrigin || e.calculatedFormula || ue(e)));
|
|
1258
1258
|
}
|
|
1259
1259
|
function yt(e) {
|
|
@@ -1267,11 +1267,11 @@ function yt(e) {
|
|
|
1267
1267
|
legacyManual: !1
|
|
1268
1268
|
};
|
|
1269
1269
|
const t = e.fieldScope === "domain" ? "domain" : "local", n = ((_ = e.derivedField) == null ? void 0 : _.computeStage) || ((b = e.calculatedFormula) == null ? void 0 : b.computeStage), o = !e.calculatedFormula || Array.isArray(e.calculatedFormula.inputFields) && e.calculatedFormula.inputFields.every((h) => {
|
|
1270
|
-
const Y = h &&
|
|
1270
|
+
const Y = h && zi(h);
|
|
1271
1271
|
return typeof Y == "string" && !!Y.trim();
|
|
1272
1272
|
}), a = typeof e.expression == "string" && !!e.expression.trim() && o, s = e.calculationRepresentation;
|
|
1273
1273
|
if (e.derivedField || s === "typed-derived") {
|
|
1274
|
-
const h = e.derivedField !== void 0 &&
|
|
1274
|
+
const h = e.derivedField !== void 0 && Ie(e.derivedField).ok;
|
|
1275
1275
|
return {
|
|
1276
1276
|
representation: "typed-derived",
|
|
1277
1277
|
ownership: t,
|
|
@@ -1281,7 +1281,7 @@ function yt(e) {
|
|
|
1281
1281
|
legacyManual: !1
|
|
1282
1282
|
};
|
|
1283
1283
|
}
|
|
1284
|
-
if (!(!!s ||
|
|
1284
|
+
if (!(!!s || Ki(e)))
|
|
1285
1285
|
return {
|
|
1286
1286
|
representation: "physical",
|
|
1287
1287
|
ownership: t,
|
|
@@ -1299,75 +1299,89 @@ function yt(e) {
|
|
|
1299
1299
|
legacyManual: p === "manual" && t === "local" && !d
|
|
1300
1300
|
};
|
|
1301
1301
|
}
|
|
1302
|
-
function
|
|
1302
|
+
function Ga(e) {
|
|
1303
1303
|
if (e.calculationRepresentation) return e;
|
|
1304
1304
|
const { representation: t } = yt(e);
|
|
1305
1305
|
return t === "physical" ? e : { ...e, calculationRepresentation: t };
|
|
1306
1306
|
}
|
|
1307
|
-
function
|
|
1307
|
+
function za(e) {
|
|
1308
1308
|
return yt(e).computeStage;
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1310
|
+
function Wa(e, t) {
|
|
1311
1311
|
return e === "aggregate" && t === "default";
|
|
1312
1312
|
}
|
|
1313
|
-
function
|
|
1313
|
+
function Ka(e) {
|
|
1314
1314
|
var n, o;
|
|
1315
1315
|
const t = e;
|
|
1316
1316
|
return !!(t != null && t.expression && ((o = (n = t.calculatedFormula) == null ? void 0 : n.inputFields) != null && o.length));
|
|
1317
1317
|
}
|
|
1318
|
-
function
|
|
1318
|
+
function Qa(e) {
|
|
1319
1319
|
return !!(e && (e.entityName === de || e.entityId === de));
|
|
1320
1320
|
}
|
|
1321
1321
|
function ue(e) {
|
|
1322
1322
|
return e ? [e.entityName, e.entityId, e.qualifiedEntityName].some(
|
|
1323
|
-
(t) => t === de || t ===
|
|
1323
|
+
(t) => t === de || t === Gi
|
|
1324
1324
|
) : !1;
|
|
1325
1325
|
}
|
|
1326
|
-
var
|
|
1327
|
-
function
|
|
1326
|
+
var Qi = /* @__PURE__ */ ((e) => (e.SUBTOTAL = "__SUBTOTAL__", e.TOTAL = "__TOTAL__", e.ALL = "__ALL__", e))(Qi || {});
|
|
1327
|
+
function Xa(e) {
|
|
1328
1328
|
return typeof e == "object" && e !== null && e.mode === "last" && e.relativeTo === "latest_data";
|
|
1329
1329
|
}
|
|
1330
|
-
function
|
|
1330
|
+
function Xi(e) {
|
|
1331
1331
|
return e === "between" || e === "not between";
|
|
1332
1332
|
}
|
|
1333
|
-
const
|
|
1334
|
-
i.
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
i.
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1333
|
+
const J = i.enum(["day", "week", "month", "quarter", "year"]), Zi = i.enum(["minute", "hour"]), vt = i.number().int().positive(), Be = i.number().int(), St = i.object({
|
|
1334
|
+
mode: i.literal("last"),
|
|
1335
|
+
n: vt,
|
|
1336
|
+
unit: Zi,
|
|
1337
|
+
complete: i.literal(!1).optional(),
|
|
1338
|
+
relativeTo: i.literal("latest_data").optional()
|
|
1339
|
+
}), It = i.object({
|
|
1340
|
+
mode: i.literal("last"),
|
|
1341
|
+
n: vt,
|
|
1342
|
+
unit: J,
|
|
1343
|
+
complete: i.boolean().optional(),
|
|
1344
|
+
relativeTo: i.literal("latest_data").optional()
|
|
1345
|
+
}), wt = i.object({
|
|
1346
|
+
mode: i.literal("this"),
|
|
1347
|
+
unit: J,
|
|
1348
|
+
toDate: i.boolean().optional(),
|
|
1349
|
+
boundary: i.enum(["first_day", "last_day"]).optional()
|
|
1350
|
+
}), kt = i.object({ mode: i.literal("previous"), unit: J }), At = i.object({
|
|
1351
|
+
mode: i.literal("between"),
|
|
1352
|
+
unit: J,
|
|
1353
|
+
from: Be,
|
|
1354
|
+
to: Be
|
|
1355
|
+
}), ce = {
|
|
1356
|
+
check: (e) => e.boundary === void 0 || e.unit === "month",
|
|
1357
|
+
message: 'A month boundary requires unit "month".'
|
|
1358
|
+
}, Ji = i.union([
|
|
1359
|
+
St.strict(),
|
|
1360
|
+
It.strict(),
|
|
1361
|
+
wt.strict().refine(ce.check, {
|
|
1362
|
+
message: ce.message,
|
|
1355
1363
|
path: ["boundary"]
|
|
1356
1364
|
}),
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1365
|
+
kt.strict(),
|
|
1366
|
+
At.strict()
|
|
1367
|
+
]), en = i.union([
|
|
1368
|
+
St,
|
|
1369
|
+
It,
|
|
1370
|
+
wt.refine(ce.check),
|
|
1371
|
+
kt,
|
|
1372
|
+
At
|
|
1373
|
+
]);
|
|
1374
|
+
function Za(e) {
|
|
1375
|
+
const t = en.safeParse(e);
|
|
1376
|
+
return t.success ? t.data : void 0;
|
|
1377
|
+
}
|
|
1378
|
+
const [tn, nn, an, on] = be.options, sn = i.union([
|
|
1379
|
+
tn.innerType().strict(),
|
|
1380
|
+
nn.extend({ type: i.literal("date") }).strict(),
|
|
1381
|
+
an.strict(),
|
|
1382
|
+
on.strict(),
|
|
1383
|
+
X
|
|
1384
|
+
]), v = i.string().min(1), qe = i.enum(["groupby", "metric", "sortby", "pivotby", "detail"]), xt = i.enum([
|
|
1371
1385
|
"table",
|
|
1372
1386
|
"view",
|
|
1373
1387
|
"materialized view",
|
|
@@ -1392,7 +1406,7 @@ const q = i.enum(["day", "week", "month", "quarter", "year"]), Gi = i.enum(["min
|
|
|
1392
1406
|
"API",
|
|
1393
1407
|
"none"
|
|
1394
1408
|
]),
|
|
1395
|
-
type:
|
|
1409
|
+
type: xt,
|
|
1396
1410
|
name: v,
|
|
1397
1411
|
// Grounded relationship plans retain semantic identity and display metadata.
|
|
1398
1412
|
// SQL stays server-resolved; it is not accepted inside a join entity.
|
|
@@ -1415,7 +1429,7 @@ const q = i.enum(["day", "week", "month", "quarter", "year"]), Gi = i.enum(["min
|
|
|
1415
1429
|
"duckdb",
|
|
1416
1430
|
"mssql"
|
|
1417
1431
|
]).optional()
|
|
1418
|
-
}).strict(),
|
|
1432
|
+
}).strict(), G = i.lazy(
|
|
1419
1433
|
() => i.object({
|
|
1420
1434
|
id: v,
|
|
1421
1435
|
name: v,
|
|
@@ -1426,16 +1440,16 @@ const q = i.enum(["day", "week", "month", "quarter", "year"]), Gi = i.enum(["min
|
|
|
1426
1440
|
dataType: v,
|
|
1427
1441
|
entityId: v,
|
|
1428
1442
|
entityName: v,
|
|
1429
|
-
entityType:
|
|
1443
|
+
entityType: xt,
|
|
1430
1444
|
alias: i.string().optional(),
|
|
1431
1445
|
sourceField: i.string().optional(),
|
|
1432
|
-
source:
|
|
1446
|
+
source: we.optional(),
|
|
1433
1447
|
nativeDataType: i.string().optional(),
|
|
1434
1448
|
description: i.string().optional(),
|
|
1435
1449
|
qualifiedEntityName: i.string().optional(),
|
|
1436
|
-
dateFormat: i.enum(
|
|
1450
|
+
dateFormat: i.enum(Wi).optional(),
|
|
1437
1451
|
customFormat: i.string().optional(),
|
|
1438
|
-
granularity:
|
|
1452
|
+
granularity: U.optional(),
|
|
1439
1453
|
role: qe.optional(),
|
|
1440
1454
|
calculationRepresentation: i.enum(["inline-expression", "manual", "typed-derived"]).optional(),
|
|
1441
1455
|
calculatedFieldOrigin: i.object({ id: v, role: qe.optional() }).strict().optional(),
|
|
@@ -1443,13 +1457,13 @@ const q = i.enum(["day", "week", "month", "quarter", "year"]), Gi = i.enum(["min
|
|
|
1443
1457
|
labelOrigin: i.enum(["semantic", "override"]).optional(),
|
|
1444
1458
|
formatOrigin: i.enum(["semantic", "override"]).optional(),
|
|
1445
1459
|
expression: i.string().optional(),
|
|
1446
|
-
derivedField:
|
|
1447
|
-
format:
|
|
1460
|
+
derivedField: ke.optional(),
|
|
1461
|
+
format: sn.optional(),
|
|
1448
1462
|
semanticTemporalPresentation: i.object({
|
|
1449
|
-
granularity:
|
|
1450
|
-
format:
|
|
1463
|
+
granularity: U,
|
|
1464
|
+
format: X
|
|
1451
1465
|
}).strict().optional(),
|
|
1452
|
-
aggregate:
|
|
1466
|
+
aggregate: F.optional(),
|
|
1453
1467
|
fieldScope: i.enum(["card", "sheet", "dashboard", "domain"]).optional(),
|
|
1454
1468
|
calculatedFormula: i.object({
|
|
1455
1469
|
operation: i.enum([
|
|
@@ -1462,20 +1476,20 @@ const q = i.enum(["day", "week", "month", "quarter", "year"]), Gi = i.enum(["min
|
|
|
1462
1476
|
"scale",
|
|
1463
1477
|
"custom"
|
|
1464
1478
|
]),
|
|
1465
|
-
inputFields: i.array(
|
|
1479
|
+
inputFields: i.array(G),
|
|
1466
1480
|
constant: i.number().finite().optional(),
|
|
1467
1481
|
computeStage: i.enum(["row", "aggregate"]).optional()
|
|
1468
1482
|
}).strict().optional()
|
|
1469
1483
|
}).strict()
|
|
1470
|
-
),
|
|
1484
|
+
), rn = i.union([
|
|
1471
1485
|
i.string(),
|
|
1472
1486
|
i.number().finite(),
|
|
1473
1487
|
i.boolean(),
|
|
1474
1488
|
i.date(),
|
|
1475
1489
|
i.null()
|
|
1476
|
-
]),
|
|
1490
|
+
]), ln = i.object({
|
|
1477
1491
|
id: v,
|
|
1478
|
-
field:
|
|
1492
|
+
field: G,
|
|
1479
1493
|
operator: i.enum([
|
|
1480
1494
|
"=",
|
|
1481
1495
|
"!=",
|
|
@@ -1495,10 +1509,10 @@ const q = i.enum(["day", "week", "month", "quarter", "year"]), Gi = i.enum(["min
|
|
|
1495
1509
|
"isNull",
|
|
1496
1510
|
"isNotNull"
|
|
1497
1511
|
]),
|
|
1498
|
-
value: i.union([
|
|
1512
|
+
value: i.union([rn, i.array(i.string()), i.array(i.number().finite())]),
|
|
1499
1513
|
label: i.string().optional(),
|
|
1500
1514
|
temporalBucket: le.optional(),
|
|
1501
|
-
relativeMeta:
|
|
1515
|
+
relativeMeta: Ji.optional(),
|
|
1502
1516
|
latestValue: i.literal(!0).optional()
|
|
1503
1517
|
}).strict().superRefine((e, t) => {
|
|
1504
1518
|
const { operator: n, value: o } = e;
|
|
@@ -1506,12 +1520,12 @@ const q = i.enum(["day", "week", "month", "quarter", "year"]), Gi = i.enum(["min
|
|
|
1506
1520
|
code: "custom",
|
|
1507
1521
|
path: ["value"],
|
|
1508
1522
|
message: "Between requires two endpoints."
|
|
1509
|
-
}), e.relativeMeta && !
|
|
1523
|
+
}), e.relativeMeta && !Xi(n) && t.addIssue({
|
|
1510
1524
|
code: "custom",
|
|
1511
1525
|
path: ["relativeMeta"],
|
|
1512
1526
|
message: "A relative date requires between or not between."
|
|
1513
1527
|
}), e.latestValue) {
|
|
1514
|
-
const s = [e.field.nativeDataType, e.field.dataType].map((l) =>
|
|
1528
|
+
const s = [e.field.nativeDataType, e.field.dataType].map((l) => xe(l)).some((l) => l === "date" || l === "datetime");
|
|
1515
1529
|
(n !== "=" || !s) && t.addIssue({
|
|
1516
1530
|
code: "custom",
|
|
1517
1531
|
path: ["latestValue"],
|
|
@@ -1523,15 +1537,15 @@ const q = i.enum(["day", "week", "month", "quarter", "year"]), Gi = i.enum(["min
|
|
|
1523
1537
|
path: ["value"],
|
|
1524
1538
|
message: "Membership requires an array."
|
|
1525
1539
|
});
|
|
1526
|
-
}),
|
|
1540
|
+
}), Rt = i.lazy(
|
|
1527
1541
|
() => i.object({
|
|
1528
1542
|
id: v,
|
|
1529
1543
|
logicalOperator: i.enum(["AND", "OR"]),
|
|
1530
1544
|
negate: i.boolean(),
|
|
1531
|
-
conditions: i.array(
|
|
1532
|
-
groups: i.array(
|
|
1545
|
+
conditions: i.array(ln),
|
|
1546
|
+
groups: i.array(Rt)
|
|
1533
1547
|
}).strict()
|
|
1534
|
-
),
|
|
1548
|
+
), dn = i.object({
|
|
1535
1549
|
baseEntity: oe,
|
|
1536
1550
|
joins: i.array(
|
|
1537
1551
|
i.object({
|
|
@@ -1552,8 +1566,8 @@ const q = i.enum(["day", "week", "month", "quarter", "year"]), Gi = i.enum(["min
|
|
|
1552
1566
|
keys: i.array(
|
|
1553
1567
|
i.object({
|
|
1554
1568
|
id: i.string().optional(),
|
|
1555
|
-
source:
|
|
1556
|
-
target:
|
|
1569
|
+
source: G,
|
|
1570
|
+
target: G,
|
|
1557
1571
|
operator: i.enum(["=", "!=", ">", ">=", "<", "<="])
|
|
1558
1572
|
}).strict()
|
|
1559
1573
|
).min(1)
|
|
@@ -1561,14 +1575,14 @@ const q = i.enum(["day", "week", "month", "quarter", "year"]), Gi = i.enum(["min
|
|
|
1561
1575
|
).min(1)
|
|
1562
1576
|
}).strict()
|
|
1563
1577
|
)
|
|
1564
|
-
}).strict(),
|
|
1578
|
+
}).strict(), un = i.object({
|
|
1565
1579
|
axis: Fe,
|
|
1566
1580
|
levelId: i.string().uuid().optional(),
|
|
1567
1581
|
// Persisted table preferences are edited through Immer; runtime paths remain readonly.
|
|
1568
|
-
oppositePath:
|
|
1569
|
-
}).strict(), w = i.string().min(1),
|
|
1582
|
+
oppositePath: R.transform((e) => [...e]).optional()
|
|
1583
|
+
}).strict(), w = i.string().min(1), cn = i.array(
|
|
1570
1584
|
i.enum(["body", "header", "footer", "subtotal", "grandTotal"])
|
|
1571
|
-
),
|
|
1585
|
+
), pn = i.enum(["normal", "medium", "semibold", "bold"]), mn = i.enum(["none", "underline", "line-through"]), Ft = i.object({
|
|
1572
1586
|
version: i.literal(1),
|
|
1573
1587
|
rules: i.array(
|
|
1574
1588
|
i.object({
|
|
@@ -1577,11 +1591,11 @@ const q = i.enum(["day", "week", "month", "quarter", "year"]), Gi = i.enum(["min
|
|
|
1577
1591
|
enabled: i.boolean().optional(),
|
|
1578
1592
|
target: i.object({
|
|
1579
1593
|
level: i.enum(["cell", "row"]),
|
|
1580
|
-
matrix:
|
|
1594
|
+
matrix: un.optional(),
|
|
1581
1595
|
columnIds: i.array(w).optional(),
|
|
1582
1596
|
conditionColumnId: w.optional(),
|
|
1583
1597
|
applyToColumnIds: i.array(w).optional(),
|
|
1584
|
-
tableParts:
|
|
1598
|
+
tableParts: cn.optional(),
|
|
1585
1599
|
rowRoles: i.array(i.string()).optional(),
|
|
1586
1600
|
depth: i.number().int().nonnegative().optional(),
|
|
1587
1601
|
includeTotals: i.boolean().optional(),
|
|
@@ -1592,13 +1606,13 @@ const q = i.enum(["day", "week", "month", "quarter", "year"]), Gi = i.enum(["min
|
|
|
1592
1606
|
kind: i.literal("comparison"),
|
|
1593
1607
|
columnId: w,
|
|
1594
1608
|
operator: i.enum(["eq", "neq", "gt", "gte", "lt", "lte"]),
|
|
1595
|
-
value:
|
|
1609
|
+
value: L
|
|
1596
1610
|
}).strict(),
|
|
1597
1611
|
i.object({
|
|
1598
1612
|
kind: i.literal("between"),
|
|
1599
1613
|
columnId: w,
|
|
1600
|
-
min:
|
|
1601
|
-
max:
|
|
1614
|
+
min: L,
|
|
1615
|
+
max: L,
|
|
1602
1616
|
inclusive: i.boolean().optional()
|
|
1603
1617
|
}).strict(),
|
|
1604
1618
|
i.object({
|
|
@@ -1645,39 +1659,39 @@ const q = i.enum(["day", "week", "month", "quarter", "year"]), Gi = i.enum(["min
|
|
|
1645
1659
|
style: i.object({
|
|
1646
1660
|
backgroundColor: i.string().optional(),
|
|
1647
1661
|
textColor: i.string().optional(),
|
|
1648
|
-
fontWeight:
|
|
1662
|
+
fontWeight: pn.optional(),
|
|
1649
1663
|
italic: i.boolean().optional(),
|
|
1650
|
-
textDecoration:
|
|
1664
|
+
textDecoration: mn.optional(),
|
|
1651
1665
|
icon: i.enum(["arrowUp", "arrowDown", "warning", "check", "x"]).optional(),
|
|
1652
1666
|
dataBar: i.object({ color: i.string(), showValue: i.boolean() }).strict().optional()
|
|
1653
1667
|
}).strict().optional()
|
|
1654
1668
|
}).strict()
|
|
1655
1669
|
)
|
|
1656
1670
|
}).strict();
|
|
1657
|
-
function
|
|
1671
|
+
function Ja(e, t) {
|
|
1658
1672
|
const n = (s) => {
|
|
1659
|
-
if (
|
|
1660
|
-
const l = typeof s == "string" ?
|
|
1673
|
+
if (H(s)) return s.value;
|
|
1674
|
+
const l = typeof s == "string" ? Bi(s.trim()) ?? pe(s) : pe(s);
|
|
1661
1675
|
if (l === null) return null;
|
|
1662
1676
|
try {
|
|
1663
|
-
return
|
|
1677
|
+
return qi(String(l));
|
|
1664
1678
|
} catch {
|
|
1665
1679
|
return null;
|
|
1666
1680
|
}
|
|
1667
1681
|
}, o = n(e), a = n(t);
|
|
1668
1682
|
return o === null || a === null ? null : ht(o, a);
|
|
1669
1683
|
}
|
|
1670
|
-
function
|
|
1671
|
-
const o =
|
|
1684
|
+
function eo(e, t, n) {
|
|
1685
|
+
const o = hn(e);
|
|
1672
1686
|
if (o === null) return null;
|
|
1673
1687
|
if (typeof o == "number" && typeof t == "number" && typeof n == "number") {
|
|
1674
|
-
const h =
|
|
1688
|
+
const h = _n(o, t, n);
|
|
1675
1689
|
return { ratio: h, midpointComparison: Math.sign(h - 0.5) };
|
|
1676
1690
|
}
|
|
1677
1691
|
if ([t, n].some((h) => typeof h == "number" && !Number.isFinite(h))) return null;
|
|
1678
1692
|
const a = [o, t, n].map((h) => {
|
|
1679
|
-
const Y = typeof h == "number" ? x(String(h)) : h.value, [
|
|
1680
|
-
return { coefficient:
|
|
1693
|
+
const Y = typeof h == "number" ? x(String(h)) : h.value, [Ht, Ne = ""] = Y.split(".");
|
|
1694
|
+
return { coefficient: Ht + Ne, scale: Ne.length };
|
|
1681
1695
|
}), s = Math.max(...a.map((h) => h.scale)), [l, d, c] = a.map(
|
|
1682
1696
|
(h) => BigInt(h.coefficient) * 10n ** BigInt(s - h.scale)
|
|
1683
1697
|
), p = c - d, u = l - d;
|
|
@@ -1689,20 +1703,20 @@ function Ga(e, t, n) {
|
|
|
1689
1703
|
const _ = u * 2n - p, b = _ < 0n ? -1 : _ > 0n ? 1 : 0;
|
|
1690
1704
|
return { ratio: u <= 0n ? 0 : u >= p ? 1 : Number(u * 1000000000n / p) / 1e9, midpointComparison: b };
|
|
1691
1705
|
}
|
|
1692
|
-
function
|
|
1706
|
+
function to(e) {
|
|
1693
1707
|
return !!e && typeof e == "object" && !Array.isArray(e);
|
|
1694
1708
|
}
|
|
1695
|
-
function
|
|
1709
|
+
function io(e) {
|
|
1696
1710
|
return e.enabled !== !1;
|
|
1697
1711
|
}
|
|
1698
|
-
function
|
|
1712
|
+
function no(e) {
|
|
1699
1713
|
return e.kind === "topBottom" || e.kind === "colorScale" && e.range === "auto" || e.kind === "dataBar" && e.range === "auto";
|
|
1700
1714
|
}
|
|
1701
|
-
function
|
|
1715
|
+
function fn(e) {
|
|
1702
1716
|
return e.columnId;
|
|
1703
1717
|
}
|
|
1704
|
-
function
|
|
1705
|
-
const t = [
|
|
1718
|
+
function gn(e) {
|
|
1719
|
+
const t = [fn(e.condition)];
|
|
1706
1720
|
return { validationRefs: [.../* @__PURE__ */ new Set([
|
|
1707
1721
|
...t,
|
|
1708
1722
|
...e.target.conditionColumnId === void 0 ? [] : [e.target.conditionColumnId],
|
|
@@ -1710,7 +1724,7 @@ function ln(e) {
|
|
|
1710
1724
|
...e.target.applyToColumnIds ?? []
|
|
1711
1725
|
])], evaluationInputs: t };
|
|
1712
1726
|
}
|
|
1713
|
-
function
|
|
1727
|
+
function pe(e) {
|
|
1714
1728
|
if (typeof e == "number")
|
|
1715
1729
|
return Number.isFinite(e) ? e : null;
|
|
1716
1730
|
if (typeof e == "string" && e.trim() !== "") {
|
|
@@ -1719,30 +1733,30 @@ function ce(e) {
|
|
|
1719
1733
|
}
|
|
1720
1734
|
return null;
|
|
1721
1735
|
}
|
|
1722
|
-
function
|
|
1723
|
-
return
|
|
1736
|
+
function hn(e) {
|
|
1737
|
+
return H(e) ? e : pe(e);
|
|
1724
1738
|
}
|
|
1725
|
-
function
|
|
1739
|
+
function ao(e) {
|
|
1726
1740
|
const t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
|
|
1727
1741
|
for (const o of e)
|
|
1728
|
-
|
|
1742
|
+
H(o) ? n.add(o.value) : t.add(o);
|
|
1729
1743
|
return {
|
|
1730
|
-
has: (o) =>
|
|
1744
|
+
has: (o) => H(o) ? n.has(o.value) : t.has(o)
|
|
1731
1745
|
};
|
|
1732
1746
|
}
|
|
1733
|
-
function
|
|
1747
|
+
function oo(e, t) {
|
|
1734
1748
|
return typeof e == "number" && typeof t == "number" ? Math.sign(e - t) : ht(
|
|
1735
1749
|
typeof e == "number" ? x(String(e)) : e.value,
|
|
1736
1750
|
typeof t == "number" ? x(String(t)) : t.value
|
|
1737
1751
|
);
|
|
1738
1752
|
}
|
|
1739
|
-
function
|
|
1753
|
+
function so(e) {
|
|
1740
1754
|
return e == null || e === "";
|
|
1741
1755
|
}
|
|
1742
|
-
function
|
|
1756
|
+
function _n(e, t, n) {
|
|
1743
1757
|
return !Number.isFinite(e) || !Number.isFinite(t) || !Number.isFinite(n) ? 0 : n === t ? e >= n ? 1 : 0 : Math.max(0, Math.min(1, (e - t) / (n - t)));
|
|
1744
1758
|
}
|
|
1745
|
-
function
|
|
1759
|
+
function bn(e) {
|
|
1746
1760
|
switch (e) {
|
|
1747
1761
|
case "bold":
|
|
1748
1762
|
return 700;
|
|
@@ -1756,86 +1770,86 @@ function cn(e) {
|
|
|
1756
1770
|
return;
|
|
1757
1771
|
}
|
|
1758
1772
|
}
|
|
1759
|
-
function
|
|
1760
|
-
return e ?
|
|
1761
|
-
fontWeight:
|
|
1773
|
+
function ro(e) {
|
|
1774
|
+
return e ? Tt({
|
|
1775
|
+
fontWeight: bn(e.fontWeight),
|
|
1762
1776
|
fontStyle: e.italic ? "italic" : void 0,
|
|
1763
1777
|
color: e.textColor,
|
|
1764
1778
|
backgroundColor: e.backgroundColor,
|
|
1765
1779
|
textDecoration: e.textDecoration
|
|
1766
1780
|
}) : {};
|
|
1767
1781
|
}
|
|
1768
|
-
function
|
|
1782
|
+
function lo(...e) {
|
|
1769
1783
|
return Object.assign(
|
|
1770
1784
|
{},
|
|
1771
|
-
...e.filter((t) => !!t).map(
|
|
1785
|
+
...e.filter((t) => !!t).map(Tt)
|
|
1772
1786
|
);
|
|
1773
1787
|
}
|
|
1774
|
-
function
|
|
1788
|
+
function Tt(e) {
|
|
1775
1789
|
return Object.fromEntries(
|
|
1776
1790
|
Object.entries(e).filter(([, t]) => t !== void 0)
|
|
1777
1791
|
);
|
|
1778
1792
|
}
|
|
1779
|
-
const I = i.string().uuid(),
|
|
1793
|
+
const I = i.string().uuid(), yn = i.string().min(1), vn = i.number().int().positive().max(Number.MAX_SAFE_INTEGER), Sn = i.enum([
|
|
1780
1794
|
"SUM",
|
|
1781
1795
|
"COUNT",
|
|
1782
1796
|
"DISTINCT",
|
|
1783
1797
|
"AVG",
|
|
1784
1798
|
"MIN",
|
|
1785
1799
|
"MAX"
|
|
1786
|
-
]),
|
|
1800
|
+
]), Dt = Ei.omit({
|
|
1787
1801
|
aggregate: !0
|
|
1788
|
-
}),
|
|
1802
|
+
}), In = {
|
|
1789
1803
|
id: I,
|
|
1790
|
-
field:
|
|
1791
|
-
grain:
|
|
1792
|
-
},
|
|
1804
|
+
field: Dt,
|
|
1805
|
+
grain: U.optional()
|
|
1806
|
+
}, me = i.object(In).strict(), wn = i.object({
|
|
1793
1807
|
id: I,
|
|
1794
1808
|
kind: i.literal("aggregate"),
|
|
1795
|
-
field:
|
|
1796
|
-
aggregate:
|
|
1797
|
-
}).strict(),
|
|
1809
|
+
field: Dt,
|
|
1810
|
+
aggregate: Sn
|
|
1811
|
+
}).strict(), kn = i.object({
|
|
1798
1812
|
id: I,
|
|
1799
1813
|
kind: i.literal("calculated"),
|
|
1800
|
-
definition:
|
|
1801
|
-
}).strict(),
|
|
1814
|
+
definition: ke
|
|
1815
|
+
}).strict(), Mt = i.discriminatedUnion("kind", [wn, kn]), An = i.discriminatedUnion("kind", [
|
|
1802
1816
|
i.object({ kind: i.literal("member") }).strict(),
|
|
1803
1817
|
i.object({
|
|
1804
1818
|
kind: i.literal("measure"),
|
|
1805
1819
|
measureId: I,
|
|
1806
|
-
oppositePath:
|
|
1820
|
+
oppositePath: R
|
|
1807
1821
|
}).strict()
|
|
1808
|
-
]),
|
|
1822
|
+
]), xn = {
|
|
1809
1823
|
axis: Fe,
|
|
1810
1824
|
levelId: I,
|
|
1811
1825
|
scope: i.discriminatedUnion("kind", [
|
|
1812
1826
|
i.object({ kind: i.literal("level") }).strict(),
|
|
1813
|
-
i.object({ kind: i.literal("branch"), parent:
|
|
1827
|
+
i.object({ kind: i.literal("branch"), parent: R }).strict()
|
|
1814
1828
|
]),
|
|
1815
|
-
target:
|
|
1829
|
+
target: An,
|
|
1816
1830
|
direction: i.enum(["asc", "desc"]),
|
|
1817
1831
|
nulls: i.enum(["first", "last"])
|
|
1818
|
-
},
|
|
1832
|
+
}, Et = i.object(xn).strict(), Rn = i.object({
|
|
1819
1833
|
id: I,
|
|
1820
1834
|
axis: Fe,
|
|
1821
1835
|
levelId: I,
|
|
1822
1836
|
direction: i.enum(["top", "bottom"]),
|
|
1823
|
-
count:
|
|
1837
|
+
count: vn,
|
|
1824
1838
|
measureId: I,
|
|
1825
|
-
oppositePath:
|
|
1839
|
+
oppositePath: R,
|
|
1826
1840
|
others: i.boolean()
|
|
1827
|
-
}).strict(),
|
|
1828
|
-
source:
|
|
1829
|
-
rows: i.array(
|
|
1830
|
-
columns: i.array(
|
|
1831
|
-
measures: i.array(
|
|
1832
|
-
filters:
|
|
1833
|
-
joinPlan:
|
|
1834
|
-
relationshipHint: i.object({ relationshipIds: i.array(
|
|
1835
|
-
sorts: i.array(
|
|
1836
|
-
rankings: i.array(
|
|
1841
|
+
}).strict(), Nt = i.object({
|
|
1842
|
+
source: we,
|
|
1843
|
+
rows: i.array(me).min(1).readonly(),
|
|
1844
|
+
columns: i.array(me).readonly(),
|
|
1845
|
+
measures: i.array(Mt).min(1).readonly(),
|
|
1846
|
+
filters: Rt.optional(),
|
|
1847
|
+
joinPlan: dn.optional(),
|
|
1848
|
+
relationshipHint: i.object({ relationshipIds: i.array(yn).optional() }).strict().optional(),
|
|
1849
|
+
sorts: i.array(Et).readonly(),
|
|
1850
|
+
rankings: i.array(Rn).readonly()
|
|
1837
1851
|
}).strict();
|
|
1838
|
-
function
|
|
1852
|
+
function jt(e) {
|
|
1839
1853
|
return JSON.stringify([
|
|
1840
1854
|
e.axis,
|
|
1841
1855
|
e.levelId,
|
|
@@ -1864,8 +1878,8 @@ function C(e, t, n, o, a, s = !1) {
|
|
|
1864
1878
|
}
|
|
1865
1879
|
});
|
|
1866
1880
|
}
|
|
1867
|
-
function
|
|
1868
|
-
A(t.map(
|
|
1881
|
+
function Ct(e, t, n, o) {
|
|
1882
|
+
A(t.map(jt), n, o), t.forEach((a, s) => {
|
|
1869
1883
|
const l = [...o, s], d = e[a.axis].findIndex((c) => c.id === a.levelId);
|
|
1870
1884
|
if (d < 0 && g(n, l, "Sort level is not on its axis."), a.scope.kind === "branch" && (C(
|
|
1871
1885
|
e,
|
|
@@ -1891,7 +1905,7 @@ function Tt(e, t, n, o) {
|
|
|
1891
1905
|
}
|
|
1892
1906
|
});
|
|
1893
1907
|
}
|
|
1894
|
-
function
|
|
1908
|
+
function q(e, t, n, o) {
|
|
1895
1909
|
e && (e.kind !== t.kind || e.kind === "semantic" && t.kind === "semantic" && e.domainId !== t.domainId || e.kind === "physical" && t.kind === "physical" && e.connectionId !== t.connectionId) && g(
|
|
1896
1910
|
n,
|
|
1897
1911
|
o,
|
|
@@ -1903,7 +1917,7 @@ function se(e, t, n) {
|
|
|
1903
1917
|
(o) => o.aggregate === "MEDIAN" || o.field.aggregate === "MEDIAN"
|
|
1904
1918
|
)) && g(t, n, "MEDIAN dependencies are not supported at launch."), (e.aggregationBehavior === "snapshot" || e.aggregationBehavior === "weighted" || e.aggregationStrategy === "weighted") && g(t, n, "This measure semantic requires a later capability.");
|
|
1905
1919
|
}
|
|
1906
|
-
function
|
|
1920
|
+
function $t(e, t) {
|
|
1907
1921
|
A(
|
|
1908
1922
|
[...e.rows, ...e.columns, ...e.measures].map((a) => a.id),
|
|
1909
1923
|
t,
|
|
@@ -1927,7 +1941,7 @@ function Dt(e, t) {
|
|
|
1927
1941
|
...e.measures.filter((a) => a.kind === "aggregate")
|
|
1928
1942
|
];
|
|
1929
1943
|
for (const a of n)
|
|
1930
|
-
if (
|
|
1944
|
+
if (q(a.field.source, e.source, t, [
|
|
1931
1945
|
a.id,
|
|
1932
1946
|
"field",
|
|
1933
1947
|
"source"
|
|
@@ -1938,7 +1952,7 @@ function Dt(e, t) {
|
|
|
1938
1952
|
"Aggregate-stage calculations cannot be grouped or wrapped in an aggregate."
|
|
1939
1953
|
), se(a.field.derivedField, t, [a.id]);
|
|
1940
1954
|
for (const s of Object.values(a.field.derivedField.inputs))
|
|
1941
|
-
|
|
1955
|
+
q(s.field.source, e.source, t, [a.id, "inputs"]);
|
|
1942
1956
|
}
|
|
1943
1957
|
for (const a of e.measures)
|
|
1944
1958
|
if (a.kind === "calculated") {
|
|
@@ -1948,7 +1962,7 @@ function Dt(e, t) {
|
|
|
1948
1962
|
"Calculated measures require aggregate stage and measure role."
|
|
1949
1963
|
), se(a.definition, t, [a.id]);
|
|
1950
1964
|
for (const s of Object.values(a.definition.inputs))
|
|
1951
|
-
|
|
1965
|
+
q(s.field.source, e.source, t, [
|
|
1952
1966
|
a.id,
|
|
1953
1967
|
"inputs"
|
|
1954
1968
|
]);
|
|
@@ -1959,7 +1973,7 @@ function Dt(e, t) {
|
|
|
1959
1973
|
if ((l.aggregate || ((c = l.derivedField) == null ? void 0 : c.computeStage) === "aggregate") && g(t, d, "Aggregate/HAVING filters are not supported."), l.derivedField) {
|
|
1960
1974
|
se(l.derivedField, t, d);
|
|
1961
1975
|
for (const u of Object.values(l.derivedField.inputs))
|
|
1962
|
-
|
|
1976
|
+
q(u.field.source, e.source, t, d);
|
|
1963
1977
|
}
|
|
1964
1978
|
for (const u of ((p = l.calculatedFormula) == null ? void 0 : p.inputFields) ?? [])
|
|
1965
1979
|
s(u, d);
|
|
@@ -1979,7 +1993,7 @@ function Dt(e, t) {
|
|
|
1979
1993
|
["joinPlan", "joins"]
|
|
1980
1994
|
);
|
|
1981
1995
|
}
|
|
1982
|
-
|
|
1996
|
+
Ct(e, e.sorts, t, ["sorts"]), e.rankings.forEach((a, s) => {
|
|
1983
1997
|
(!e[a.axis].some((l) => l.id === a.levelId) || !e.measures.some((l) => l.id === a.measureId)) && g(t, ["rankings", s], "Unknown ranking level or measure."), C(
|
|
1984
1998
|
e,
|
|
1985
1999
|
a.axis === "rows" ? "columns" : "rows",
|
|
@@ -1990,13 +2004,13 @@ function Dt(e, t) {
|
|
|
1990
2004
|
);
|
|
1991
2005
|
});
|
|
1992
2006
|
}
|
|
1993
|
-
const P =
|
|
1994
|
-
rows: i.array(
|
|
1995
|
-
measures: i.array(
|
|
1996
|
-
}),
|
|
2007
|
+
const P = Nt.superRefine($t), Fn = Nt.extend({
|
|
2008
|
+
rows: i.array(me).readonly(),
|
|
2009
|
+
measures: i.array(Mt).readonly()
|
|
2010
|
+
}), Tn = Fn.superRefine($t), Dn = P.innerType().extend({ kind: i.literal("matrix") }), Mn = Dn.superRefine(({ kind: e, ...t }, n) => {
|
|
1997
2011
|
const o = P.safeParse(t);
|
|
1998
2012
|
o.success || o.error.issues.forEach((a) => n.addIssue(a));
|
|
1999
|
-
}),
|
|
2013
|
+
}), En = "{member}", Le = i.object({
|
|
2000
2014
|
visible: i.boolean(),
|
|
2001
2015
|
position: i.enum(["before", "after"]),
|
|
2002
2016
|
/** As written; a subtotal's `{member}` becomes its member's name. */
|
|
@@ -2009,10 +2023,10 @@ const P = Ft.superRefine(Dt), Sn = Ft.extend({
|
|
|
2009
2023
|
* exactly one child shows no subtotal. Off when absent.
|
|
2010
2024
|
*/
|
|
2011
2025
|
skipRedundant: i.boolean().optional()
|
|
2012
|
-
}).strict(), Ve =
|
|
2026
|
+
}).strict(), Ve = Ft.shape.rules.element, Nn = Ft.extend({
|
|
2013
2027
|
rules: i.array(Ve.extend({
|
|
2014
2028
|
target: Ve.shape.target.extend({
|
|
2015
|
-
rowRoles: i.array(
|
|
2029
|
+
rowRoles: i.array(Vi).optional()
|
|
2016
2030
|
})
|
|
2017
2031
|
}))
|
|
2018
2032
|
}).superRefine((e, t) => {
|
|
@@ -2039,13 +2053,13 @@ const P = Ft.superRefine(Dt), Sn = Ft.extend({
|
|
|
2039
2053
|
);
|
|
2040
2054
|
}
|
|
2041
2055
|
});
|
|
2042
|
-
function
|
|
2056
|
+
function jn(e, t, n, o, a = []) {
|
|
2043
2057
|
for (const s of e.rules) {
|
|
2044
2058
|
const l = [...a, "rules", s.id], d = s.target.matrix;
|
|
2045
|
-
d && (d.levelId !== void 0 && !t[d.axis].some((c) => c.id === d.levelId) && g(o, [...l, "target", "matrix", "levelId"], "Conditional-format level is not on the selected axis."), d.oppositePath !== void 0 && C(t, d.axis === "rows" ? "columns" : "rows", d.oppositePath, o, [...l, "target", "matrix", "oppositePath"])),
|
|
2059
|
+
d && (d.levelId !== void 0 && !t[d.axis].some((c) => c.id === d.levelId) && g(o, [...l, "target", "matrix", "levelId"], "Conditional-format level is not on the selected axis."), d.oppositePath !== void 0 && C(t, d.axis === "rows" ? "columns" : "rows", d.oppositePath, o, [...l, "target", "matrix", "oppositePath"])), gn(s).validationRefs.some((c) => !n.has(c)) && g(o, l, "Conditional rules must reference displayed measures.");
|
|
2046
2060
|
}
|
|
2047
2061
|
}
|
|
2048
|
-
const
|
|
2062
|
+
const Cn = {
|
|
2049
2063
|
layout: i.discriminatedUnion("kind", [
|
|
2050
2064
|
i.object({ kind: i.literal("compact") }).strict(),
|
|
2051
2065
|
i.object({ kind: i.literal("tabular"), repeatLabels: i.boolean() }).strict()
|
|
@@ -2053,23 +2067,23 @@ const Rn = {
|
|
|
2053
2067
|
absence: i.object({ emptyText: i.string(), nullText: i.string() }).strict(),
|
|
2054
2068
|
levelLabels: i.record(I, i.string()).readonly(),
|
|
2055
2069
|
measureLabels: i.record(I, i.string()).readonly(),
|
|
2056
|
-
levelFormats: i.record(I,
|
|
2057
|
-
measureFormats: i.record(I,
|
|
2070
|
+
levelFormats: i.record(I, $e).readonly(),
|
|
2071
|
+
measureFormats: i.record(I, $e).readonly(),
|
|
2058
2072
|
totals: i.object({ rows: Ue, columns: Ue }).strict(),
|
|
2059
|
-
conditionalFormatting:
|
|
2060
|
-
},
|
|
2073
|
+
conditionalFormatting: Nn.optional()
|
|
2074
|
+
}, Te = i.object(Cn).strict(), $n = i.object({
|
|
2061
2075
|
depth: i.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),
|
|
2062
2076
|
overrides: i.array(
|
|
2063
|
-
i.object({ path:
|
|
2077
|
+
i.object({ path: R, expanded: i.boolean() }).strict()
|
|
2064
2078
|
).readonly()
|
|
2065
|
-
}).strict(), He =
|
|
2079
|
+
}).strict(), He = $n.superRefine(
|
|
2066
2080
|
(e, t) => A(
|
|
2067
2081
|
e.overrides.map((n) => bt(n.path)),
|
|
2068
2082
|
t,
|
|
2069
2083
|
["overrides"]
|
|
2070
2084
|
)
|
|
2071
|
-
),
|
|
2072
|
-
(e, t) => A(e.sorts.map(
|
|
2085
|
+
), On = { rows: He, columns: He }, ee = i.object(On).strict(), Pn = ee.extend({ sorts: i.array(Et).readonly() }).strict(), Yn = Pn.superRefine(
|
|
2086
|
+
(e, t) => A(e.sorts.map(jt), t, ["sorts"])
|
|
2073
2087
|
);
|
|
2074
2088
|
function te(e, t) {
|
|
2075
2089
|
var c, p;
|
|
@@ -2102,7 +2116,7 @@ function te(e, t) {
|
|
|
2102
2116
|
);
|
|
2103
2117
|
for (const u of ["rows", "columns"]) {
|
|
2104
2118
|
(p = o.totals[u].grand.label) != null && p.includes(
|
|
2105
|
-
|
|
2119
|
+
En
|
|
2106
2120
|
) && g(
|
|
2107
2121
|
t,
|
|
2108
2122
|
["presentation", "totals", u, "grand", "label"],
|
|
@@ -2129,7 +2143,7 @@ function te(e, t) {
|
|
|
2129
2143
|
"Use depth to expand/collapse the root."
|
|
2130
2144
|
);
|
|
2131
2145
|
}
|
|
2132
|
-
s &&
|
|
2146
|
+
s && Ct(n, s.sorts, t, ["session", "sorts"]), o.conditionalFormatting && jn(
|
|
2133
2147
|
o.conditionalFormatting,
|
|
2134
2148
|
n,
|
|
2135
2149
|
d,
|
|
@@ -2137,21 +2151,21 @@ function te(e, t) {
|
|
|
2137
2151
|
["presentation", "conditionalFormatting"]
|
|
2138
2152
|
);
|
|
2139
2153
|
}
|
|
2140
|
-
const
|
|
2154
|
+
const Bn = i.object({
|
|
2141
2155
|
spec: P,
|
|
2142
|
-
presentation:
|
|
2156
|
+
presentation: Te,
|
|
2143
2157
|
defaults: ee,
|
|
2144
|
-
session:
|
|
2145
|
-
}).strict(),
|
|
2158
|
+
session: Yn.optional()
|
|
2159
|
+
}).strict(), uo = Bn.superRefine(te), qn = i.object({
|
|
2146
2160
|
version: i.literal(1),
|
|
2147
2161
|
spec: P,
|
|
2148
|
-
presentation:
|
|
2162
|
+
presentation: Te,
|
|
2149
2163
|
defaultView: ee
|
|
2150
|
-
}).strict(),
|
|
2164
|
+
}).strict(), Ln = qn.superRefine(
|
|
2151
2165
|
(e, t) => te({ ...e, defaults: e.defaultView }, t)
|
|
2152
|
-
),
|
|
2153
|
-
spec:
|
|
2154
|
-
}),
|
|
2166
|
+
), Un = Ln.innerType().extend({
|
|
2167
|
+
spec: Tn
|
|
2168
|
+
}), co = Un.superRefine((e, t) => te({ ...e, defaults: e.defaultView }, t)), Ge = i.object({ spec: P, presentation: Te }).strict(), Vn = i.union([
|
|
2155
2169
|
Ge.extend({
|
|
2156
2170
|
mode: i.literal("layout"),
|
|
2157
2171
|
format: i.enum(["csv", "xlsx", "pdf"]),
|
|
@@ -2161,7 +2175,7 @@ const Nn = i.object({
|
|
|
2161
2175
|
])
|
|
2162
2176
|
}).strict(),
|
|
2163
2177
|
Ge.extend({ mode: i.literal("flat"), format: i.literal("csv") }).strict()
|
|
2164
|
-
]),
|
|
2178
|
+
]), po = Vn.superRefine(
|
|
2165
2179
|
(e, t) => te(
|
|
2166
2180
|
{
|
|
2167
2181
|
...e,
|
|
@@ -2173,17 +2187,17 @@ const Nn = i.object({
|
|
|
2173
2187
|
t
|
|
2174
2188
|
)
|
|
2175
2189
|
);
|
|
2176
|
-
function
|
|
2190
|
+
function mo(e) {
|
|
2177
2191
|
return e && "id" in e ? e.id : void 0;
|
|
2178
2192
|
}
|
|
2179
|
-
const
|
|
2193
|
+
const Hn = "SUM";
|
|
2180
2194
|
function k(e) {
|
|
2181
2195
|
return typeof e == "string" && e.trim().length > 0;
|
|
2182
2196
|
}
|
|
2183
2197
|
function E(e) {
|
|
2184
2198
|
return k(e) ? e.trim().toLowerCase() : "";
|
|
2185
2199
|
}
|
|
2186
|
-
function
|
|
2200
|
+
function fo(e) {
|
|
2187
2201
|
const t = k(e.id) ? e.id.trim() : void 0;
|
|
2188
2202
|
if (!t) return;
|
|
2189
2203
|
const n = E(t), o = k(e.table) ? e.table.trim() : void 0;
|
|
@@ -2195,7 +2209,7 @@ function T(e) {
|
|
|
2195
2209
|
if (t)
|
|
2196
2210
|
return E(t) === E(e.datasetName) ? void 0 : t;
|
|
2197
2211
|
}
|
|
2198
|
-
function
|
|
2212
|
+
function Ot(e) {
|
|
2199
2213
|
if (e.kind !== "semantic") return e;
|
|
2200
2214
|
const t = T(e), { datasetId: n, ...o } = e;
|
|
2201
2215
|
return {
|
|
@@ -2203,10 +2217,10 @@ function Mt(e) {
|
|
|
2203
2217
|
...t ? { datasetId: t } : {}
|
|
2204
2218
|
};
|
|
2205
2219
|
}
|
|
2206
|
-
function
|
|
2220
|
+
function go(e) {
|
|
2207
2221
|
return e ? e.kind === "semantic" ? !!(k(e.domainId) && (k(e.datasetId) || k(e.datasetName))) : e.kind === "physical" ? k(e.connectionId) && k(e.tableName) : k(e.connectionId) : !1;
|
|
2208
2222
|
}
|
|
2209
|
-
function
|
|
2223
|
+
function fe(e) {
|
|
2210
2224
|
if (!e)
|
|
2211
2225
|
return "";
|
|
2212
2226
|
if (e.kind === "semantic") {
|
|
@@ -2230,7 +2244,7 @@ function me(e) {
|
|
|
2230
2244
|
e.label || ""
|
|
2231
2245
|
].join(":");
|
|
2232
2246
|
}
|
|
2233
|
-
function
|
|
2247
|
+
function De(e, t) {
|
|
2234
2248
|
if (!e || !t)
|
|
2235
2249
|
return e === t;
|
|
2236
2250
|
if (e.kind !== t.kind)
|
|
@@ -2241,10 +2255,10 @@ function Te(e, t) {
|
|
|
2241
2255
|
const n = T(e), o = T(t);
|
|
2242
2256
|
return n && o ? n === o : e.datasetName === t.datasetName;
|
|
2243
2257
|
}
|
|
2244
|
-
return
|
|
2258
|
+
return fe(e) === fe(t);
|
|
2245
2259
|
}
|
|
2246
|
-
function
|
|
2247
|
-
return e.kind !== "semantic" || t.kind !== "semantic" ? e :
|
|
2260
|
+
function Pt(e, t) {
|
|
2261
|
+
return e.kind !== "semantic" || t.kind !== "semantic" ? e : Ot({
|
|
2248
2262
|
...e,
|
|
2249
2263
|
datasetName: e.datasetName || t.datasetName,
|
|
2250
2264
|
datasetId: T(e) || T(t),
|
|
@@ -2252,75 +2266,75 @@ function Et(e, t) {
|
|
|
2252
2266
|
connectionId: e.connectionId || t.connectionId
|
|
2253
2267
|
});
|
|
2254
2268
|
}
|
|
2255
|
-
function
|
|
2269
|
+
function ho(e) {
|
|
2256
2270
|
const t = [];
|
|
2257
2271
|
for (const n of e) {
|
|
2258
|
-
const o =
|
|
2272
|
+
const o = Ot(
|
|
2259
2273
|
n
|
|
2260
2274
|
), a = t.findIndex(
|
|
2261
|
-
(s) =>
|
|
2275
|
+
(s) => De(s, o)
|
|
2262
2276
|
);
|
|
2263
2277
|
if (a === -1) {
|
|
2264
2278
|
t.push(o);
|
|
2265
2279
|
continue;
|
|
2266
2280
|
}
|
|
2267
|
-
t[a] =
|
|
2281
|
+
t[a] = Pt(
|
|
2268
2282
|
t[a],
|
|
2269
2283
|
o
|
|
2270
2284
|
);
|
|
2271
2285
|
}
|
|
2272
2286
|
return t;
|
|
2273
2287
|
}
|
|
2274
|
-
function
|
|
2275
|
-
return e.name === t.name &&
|
|
2288
|
+
function Gn(e, t) {
|
|
2289
|
+
return e.name === t.name && De(e.source, t.source);
|
|
2276
2290
|
}
|
|
2277
|
-
function
|
|
2291
|
+
function _o(e) {
|
|
2278
2292
|
return [
|
|
2279
|
-
e.source ?
|
|
2280
|
-
|
|
2293
|
+
e.source ? fe(e.source) : "unknown",
|
|
2294
|
+
Yt(e),
|
|
2281
2295
|
e.name
|
|
2282
2296
|
].filter(Boolean).join(":");
|
|
2283
2297
|
}
|
|
2284
|
-
function
|
|
2285
|
-
return
|
|
2286
|
-
e.aggregate ||
|
|
2298
|
+
function Yt(e) {
|
|
2299
|
+
return zn(
|
|
2300
|
+
e.aggregate || Hn
|
|
2287
2301
|
);
|
|
2288
2302
|
}
|
|
2289
|
-
function
|
|
2303
|
+
function zn(e) {
|
|
2290
2304
|
return e.trim().toUpperCase();
|
|
2291
2305
|
}
|
|
2292
|
-
function
|
|
2306
|
+
function bo(e, t) {
|
|
2293
2307
|
return {
|
|
2294
2308
|
...e,
|
|
2295
2309
|
label: e.label || t.label,
|
|
2296
2310
|
role: e.role || t.role,
|
|
2297
2311
|
dataType: e.dataType || t.dataType,
|
|
2298
|
-
source: e.source && t.source ?
|
|
2312
|
+
source: e.source && t.source ? Pt(e.source, t.source) : e.source || t.source
|
|
2299
2313
|
};
|
|
2300
2314
|
}
|
|
2301
|
-
function
|
|
2315
|
+
function Wn(e) {
|
|
2302
2316
|
for (let t = 0; t < e.length; t += 1) {
|
|
2303
2317
|
const n = e[t];
|
|
2304
2318
|
if (e.some(
|
|
2305
|
-
(o, a) => a !== t &&
|
|
2319
|
+
(o, a) => a !== t && qt(o, n)
|
|
2306
2320
|
))
|
|
2307
2321
|
return !1;
|
|
2308
2322
|
}
|
|
2309
2323
|
return !0;
|
|
2310
2324
|
}
|
|
2311
|
-
function
|
|
2312
|
-
return
|
|
2325
|
+
function Bt(e, t) {
|
|
2326
|
+
return Gn(e, t);
|
|
2313
2327
|
}
|
|
2314
|
-
function
|
|
2315
|
-
return
|
|
2328
|
+
function qt(e, t) {
|
|
2329
|
+
return Bt(e, t) && $(e) === $(t);
|
|
2316
2330
|
}
|
|
2317
|
-
function
|
|
2331
|
+
function Kn(e) {
|
|
2318
2332
|
return `Metric intent has duplicate measure "${e.name}" with the same aggregate (${$(e)}). Use different aggregates to request both, or remove one entry.`;
|
|
2319
2333
|
}
|
|
2320
2334
|
function ze(e) {
|
|
2321
2335
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null;
|
|
2322
2336
|
}
|
|
2323
|
-
function
|
|
2337
|
+
function Qn(e, t, n) {
|
|
2324
2338
|
if (e !== void 0) {
|
|
2325
2339
|
if (!e || typeof e != "object" || Array.isArray(e)) {
|
|
2326
2340
|
n.push(
|
|
@@ -2353,49 +2367,49 @@ function Un(e, t, n) {
|
|
|
2353
2367
|
});
|
|
2354
2368
|
}
|
|
2355
2369
|
}
|
|
2356
|
-
function
|
|
2357
|
-
return
|
|
2370
|
+
function Xn(e, t) {
|
|
2371
|
+
return Me(e, t).length === 1;
|
|
2358
2372
|
}
|
|
2359
|
-
function
|
|
2360
|
-
return
|
|
2373
|
+
function Zn(e, t) {
|
|
2374
|
+
return Me(e, t).length === 1;
|
|
2361
2375
|
}
|
|
2362
|
-
function
|
|
2376
|
+
function Me(e, t) {
|
|
2363
2377
|
return t.filter(
|
|
2364
|
-
(o) =>
|
|
2378
|
+
(o) => Jn(e, o)
|
|
2365
2379
|
);
|
|
2366
2380
|
}
|
|
2367
|
-
function
|
|
2368
|
-
return
|
|
2381
|
+
function Jn(e, t) {
|
|
2382
|
+
return ea(e, t) ? e.source ? Bt(t, e) : !0 : !1;
|
|
2369
2383
|
}
|
|
2370
|
-
function
|
|
2371
|
-
return !(t.name !== e.name || e.role !== void 0 && t.role !== void 0 && t.role !== e.role ||
|
|
2384
|
+
function ea(e, t) {
|
|
2385
|
+
return !(t.name !== e.name || e.role !== void 0 && t.role !== void 0 && t.role !== e.role || ta(e, t) && $(t) !== $(e));
|
|
2372
2386
|
}
|
|
2373
|
-
function
|
|
2387
|
+
function ta(e, t) {
|
|
2374
2388
|
return e.role === "measure" || t.role === "measure" || e.aggregate !== void 0 || t.aggregate !== void 0;
|
|
2375
2389
|
}
|
|
2376
2390
|
function $(e) {
|
|
2377
|
-
return
|
|
2391
|
+
return Yt(e);
|
|
2378
2392
|
}
|
|
2379
|
-
const
|
|
2380
|
-
function
|
|
2393
|
+
const ia = /^(\d{4})-(\d{2})-(\d{2})$/, Lt = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d+))?)?(Z|[+-]\d{2}:\d{2})$/;
|
|
2394
|
+
function ge(e) {
|
|
2381
2395
|
if (typeof e != "string")
|
|
2382
2396
|
return null;
|
|
2383
|
-
const t = e.trim(), n =
|
|
2397
|
+
const t = e.trim(), n = ia.exec(t);
|
|
2384
2398
|
if (n) {
|
|
2385
2399
|
const [, b, S, h] = n;
|
|
2386
2400
|
return We(b, S, h) ? new Date(Date.UTC(Number(b), Number(S) - 1, Number(h))) : null;
|
|
2387
2401
|
}
|
|
2388
|
-
const o =
|
|
2402
|
+
const o = Lt.exec(t);
|
|
2389
2403
|
if (!o)
|
|
2390
2404
|
return null;
|
|
2391
2405
|
const [, a, s, l, d, c, p = "00", , u] = o;
|
|
2392
|
-
if (!We(a, s, l) || !N(d, 0, 23) || !N(c, 0, 59) || !N(p, 0, 59) || !
|
|
2406
|
+
if (!We(a, s, l) || !N(d, 0, 23) || !N(c, 0, 59) || !N(p, 0, 59) || !na(u))
|
|
2393
2407
|
return null;
|
|
2394
2408
|
const _ = new Date(t);
|
|
2395
2409
|
return Number.isFinite(_.getTime()) ? _ : null;
|
|
2396
2410
|
}
|
|
2397
|
-
function
|
|
2398
|
-
return typeof e != "string" ||
|
|
2411
|
+
function yo(e) {
|
|
2412
|
+
return typeof e != "string" || !Lt.test(e.trim()) ? null : ge(e);
|
|
2399
2413
|
}
|
|
2400
2414
|
function We(e, t, n) {
|
|
2401
2415
|
const o = Number(e), a = Number(t), s = Number(n);
|
|
@@ -2408,7 +2422,7 @@ function N(e, t, n) {
|
|
|
2408
2422
|
const o = Number(e);
|
|
2409
2423
|
return Number.isInteger(o) && o >= t && o <= n;
|
|
2410
2424
|
}
|
|
2411
|
-
function
|
|
2425
|
+
function na(e) {
|
|
2412
2426
|
if (e === "Z")
|
|
2413
2427
|
return !0;
|
|
2414
2428
|
const t = /^([+-])(\d{2}):(\d{2})$/.exec(e);
|
|
@@ -2450,7 +2464,7 @@ function Qe(e) {
|
|
|
2450
2464
|
}
|
|
2451
2465
|
return null;
|
|
2452
2466
|
}
|
|
2453
|
-
function
|
|
2467
|
+
function aa(e, t, n) {
|
|
2454
2468
|
if (!f(e)) {
|
|
2455
2469
|
n.push(
|
|
2456
2470
|
r(
|
|
@@ -2473,13 +2487,13 @@ function Xn(e, t, n) {
|
|
|
2473
2487
|
"Input binding kind must be filter or control.",
|
|
2474
2488
|
`${t}.kind`
|
|
2475
2489
|
)
|
|
2476
|
-
), e.field !== void 0 && y(e.field, `${t}.field`, n), e.relationshipHint !== void 0 &&
|
|
2490
|
+
), e.field !== void 0 && y(e.field, `${t}.field`, n), e.relationshipHint !== void 0 && Ee(
|
|
2477
2491
|
e.relationshipHint,
|
|
2478
2492
|
`${t}.relationshipHint`,
|
|
2479
2493
|
n
|
|
2480
2494
|
);
|
|
2481
2495
|
}
|
|
2482
|
-
function
|
|
2496
|
+
function Ee(e, t, n) {
|
|
2483
2497
|
if (!f(e)) {
|
|
2484
2498
|
n.push(
|
|
2485
2499
|
r(
|
|
@@ -2498,7 +2512,7 @@ function Me(e, t, n) {
|
|
|
2498
2512
|
)
|
|
2499
2513
|
);
|
|
2500
2514
|
}
|
|
2501
|
-
function
|
|
2515
|
+
function oa(e, t) {
|
|
2502
2516
|
var o, a;
|
|
2503
2517
|
if (((o = e.source) == null ? void 0 : o.kind) !== "semantic" && ((a = e.source) == null ? void 0 : a.kind) !== "physical" && t.push(
|
|
2504
2518
|
r(
|
|
@@ -2519,7 +2533,7 @@ function Zn(e, t) {
|
|
|
2519
2533
|
"search"
|
|
2520
2534
|
)
|
|
2521
2535
|
), e.matchValues !== void 0) {
|
|
2522
|
-
const s =
|
|
2536
|
+
const s = Qt(e.matchValues);
|
|
2523
2537
|
s.ok || t.push(
|
|
2524
2538
|
r("invalid_input_options_match_values", s.error, "matchValues")
|
|
2525
2539
|
), typeof e.search == "string" && e.search.trim() && t.push(
|
|
@@ -2573,7 +2587,7 @@ function Zn(e, t) {
|
|
|
2573
2587
|
path: `disambiguationFields.${l}`
|
|
2574
2588
|
})) : []
|
|
2575
2589
|
].forEach(({ field: s, path: l }) => {
|
|
2576
|
-
s != null && s.source && !
|
|
2590
|
+
s != null && s.source && !De(s.source, e.source) && t.push(
|
|
2577
2591
|
r(
|
|
2578
2592
|
"input_options_field_source_mismatch",
|
|
2579
2593
|
"Input option fields must belong to the declared option source.",
|
|
@@ -2581,10 +2595,10 @@ function Zn(e, t) {
|
|
|
2581
2595
|
)
|
|
2582
2596
|
);
|
|
2583
2597
|
}), e.dependencies !== void 0) {
|
|
2584
|
-
const s =
|
|
2598
|
+
const s = ra(
|
|
2585
2599
|
e.dependencies
|
|
2586
2600
|
);
|
|
2587
|
-
t.push(...s.errors), s.ok &&
|
|
2601
|
+
t.push(...s.errors), s.ok && da(e, t);
|
|
2588
2602
|
}
|
|
2589
2603
|
if (e.population !== void 0) {
|
|
2590
2604
|
const s = e.population;
|
|
@@ -2616,11 +2630,11 @@ function Zn(e, t) {
|
|
|
2616
2630
|
"Input options population relationshipHint is only valid for related_population.",
|
|
2617
2631
|
"population.relationshipHint"
|
|
2618
2632
|
)
|
|
2619
|
-
), l === "related_population" && (
|
|
2633
|
+
), l === "related_population" && (ve(
|
|
2620
2634
|
s.baseSource,
|
|
2621
2635
|
"population.baseSource",
|
|
2622
2636
|
t
|
|
2623
|
-
), s.relationshipHint !== void 0 &&
|
|
2637
|
+
), s.relationshipHint !== void 0 && Ee(
|
|
2624
2638
|
s.relationshipHint,
|
|
2625
2639
|
"population.relationshipHint",
|
|
2626
2640
|
t
|
|
@@ -2628,7 +2642,7 @@ function Zn(e, t) {
|
|
|
2628
2642
|
}
|
|
2629
2643
|
}
|
|
2630
2644
|
}
|
|
2631
|
-
function
|
|
2645
|
+
function sa(e, t) {
|
|
2632
2646
|
if (!(!("inputs" in e) || e.inputs === void 0)) {
|
|
2633
2647
|
if (!Array.isArray(e.inputs)) {
|
|
2634
2648
|
t.push(
|
|
@@ -2641,11 +2655,11 @@ function Jn(e, t) {
|
|
|
2641
2655
|
return;
|
|
2642
2656
|
}
|
|
2643
2657
|
e.inputs.forEach(
|
|
2644
|
-
(n, o) =>
|
|
2658
|
+
(n, o) => aa(n, `inputs.${o}`, t)
|
|
2645
2659
|
);
|
|
2646
2660
|
}
|
|
2647
2661
|
}
|
|
2648
|
-
function
|
|
2662
|
+
function ra(e, t = "protocol") {
|
|
2649
2663
|
const n = [];
|
|
2650
2664
|
if (!f(e))
|
|
2651
2665
|
return n.push(
|
|
@@ -2695,9 +2709,9 @@ function ea(e, t = "protocol") {
|
|
|
2695
2709
|
)
|
|
2696
2710
|
);
|
|
2697
2711
|
}
|
|
2698
|
-
return t === "dashboard" &&
|
|
2712
|
+
return t === "dashboard" && la(o, n), { ok: n.length === 0, errors: n, warnings: [] };
|
|
2699
2713
|
}
|
|
2700
|
-
function
|
|
2714
|
+
function la(e, t) {
|
|
2701
2715
|
const { mode: n, includeInputIds: o, excludeInputIds: a } = e;
|
|
2702
2716
|
n === void 0 && t.push(
|
|
2703
2717
|
r(
|
|
@@ -2731,7 +2745,7 @@ function ta(e, t) {
|
|
|
2731
2745
|
)
|
|
2732
2746
|
);
|
|
2733
2747
|
}
|
|
2734
|
-
function
|
|
2748
|
+
function da(e, t) {
|
|
2735
2749
|
var a, s, l;
|
|
2736
2750
|
const n = new Set(
|
|
2737
2751
|
Array.isArray(e.inputs) ? e.inputs.map((d) => f(d) ? d.inputId : void 0).filter((d) => typeof d == "string") : []
|
|
@@ -2756,8 +2770,8 @@ function ia(e, t) {
|
|
|
2756
2770
|
function re(e, t, n, o) {
|
|
2757
2771
|
e !== void 0 && (!Array.isArray(e) || e.some((a) => !m(a))) && n.push(r("invalid_input_options_dependencies", o, t));
|
|
2758
2772
|
}
|
|
2759
|
-
const
|
|
2760
|
-
function
|
|
2773
|
+
const ua = new Set(z);
|
|
2774
|
+
function ca(e, t, n) {
|
|
2761
2775
|
if (f(e) && e.type === "temporal_bucket") {
|
|
2762
2776
|
n.push(
|
|
2763
2777
|
r(
|
|
@@ -2796,7 +2810,7 @@ function Xe(e, t, n) {
|
|
|
2796
2810
|
required: !0
|
|
2797
2811
|
});
|
|
2798
2812
|
}
|
|
2799
|
-
function
|
|
2813
|
+
function pa(e, t, n) {
|
|
2800
2814
|
if (!f(e)) {
|
|
2801
2815
|
n.push(
|
|
2802
2816
|
r(
|
|
@@ -2819,9 +2833,9 @@ function oa(e, t, n) {
|
|
|
2819
2833
|
"Result calculation output dataType must be string, number, boolean, date, datetime, or unknown.",
|
|
2820
2834
|
`${t}.dataType`
|
|
2821
2835
|
)
|
|
2822
|
-
),
|
|
2836
|
+
), ca(e.format, `${t}.format`, n);
|
|
2823
2837
|
}
|
|
2824
|
-
function
|
|
2838
|
+
function ma(e, t) {
|
|
2825
2839
|
if (e.analysis === void 0)
|
|
2826
2840
|
return;
|
|
2827
2841
|
if (!f(e.analysis)) {
|
|
@@ -2864,17 +2878,17 @@ function sa(e, t) {
|
|
|
2864
2878
|
)
|
|
2865
2879
|
);
|
|
2866
2880
|
const { timeWindow: n } = e.analysis;
|
|
2867
|
-
n !== void 0 &&
|
|
2868
|
-
}
|
|
2869
|
-
const
|
|
2870
|
-
|
|
2871
|
-
),
|
|
2872
|
-
|
|
2873
|
-
),
|
|
2874
|
-
|
|
2881
|
+
n !== void 0 && he(n, "analysis.timeWindow", t);
|
|
2882
|
+
}
|
|
2883
|
+
const fa = new Set(
|
|
2884
|
+
Xt
|
|
2885
|
+
), ga = new Set(
|
|
2886
|
+
Zt
|
|
2887
|
+
), ha = new Set(
|
|
2888
|
+
Jt
|
|
2875
2889
|
);
|
|
2876
|
-
function
|
|
2877
|
-
|
|
2890
|
+
function _a(e, t, n) {
|
|
2891
|
+
fa.has(e.unit) || n.push(
|
|
2878
2892
|
r(
|
|
2879
2893
|
"invalid_time_window",
|
|
2880
2894
|
"Calendar time window unit must be one of: day, week, month, quarter, year.",
|
|
@@ -2900,7 +2914,7 @@ function ua(e, t, n) {
|
|
|
2900
2914
|
)
|
|
2901
2915
|
);
|
|
2902
2916
|
}
|
|
2903
|
-
function
|
|
2917
|
+
function he(e, t, n) {
|
|
2904
2918
|
if (!f(e)) {
|
|
2905
2919
|
n.push(
|
|
2906
2920
|
r(
|
|
@@ -2918,7 +2932,7 @@ function ge(e, t, n) {
|
|
|
2918
2932
|
`${t}.kind`
|
|
2919
2933
|
)
|
|
2920
2934
|
), e.kind === "calendar") {
|
|
2921
|
-
|
|
2935
|
+
_a(e, t, n);
|
|
2922
2936
|
return;
|
|
2923
2937
|
}
|
|
2924
2938
|
if (e.kind === "absolute") {
|
|
@@ -2935,7 +2949,7 @@ function ge(e, t, n) {
|
|
|
2935
2949
|
`${t}.end`
|
|
2936
2950
|
)
|
|
2937
2951
|
), m(e.start) && m(e.end)) {
|
|
2938
|
-
const o =
|
|
2952
|
+
const o = ge(e.start), a = ge(e.end);
|
|
2939
2953
|
o || n.push(
|
|
2940
2954
|
r(
|
|
2941
2955
|
"invalid_time_window",
|
|
@@ -2958,10 +2972,10 @@ function ge(e, t, n) {
|
|
|
2958
2972
|
}
|
|
2959
2973
|
return;
|
|
2960
2974
|
}
|
|
2961
|
-
(typeof e.unit != "string" || !
|
|
2975
|
+
(typeof e.unit != "string" || !ua.has(e.unit)) && n.push(
|
|
2962
2976
|
r(
|
|
2963
2977
|
"invalid_time_window",
|
|
2964
|
-
`Time window unit must be one of: ${
|
|
2978
|
+
`Time window unit must be one of: ${z.join(", ")}.`,
|
|
2965
2979
|
`${t}.unit`
|
|
2966
2980
|
)
|
|
2967
2981
|
), (typeof e.value != "number" || !Number.isFinite(e.value) || e.value <= 0) && n.push(
|
|
@@ -2970,13 +2984,13 @@ function ge(e, t, n) {
|
|
|
2970
2984
|
"Time window value must be a positive number.",
|
|
2971
2985
|
`${t}.value`
|
|
2972
2986
|
)
|
|
2973
|
-
), e.anchor !== void 0 && !
|
|
2987
|
+
), e.anchor !== void 0 && !ga.has(e.anchor) && n.push(
|
|
2974
2988
|
r(
|
|
2975
2989
|
"invalid_time_window",
|
|
2976
2990
|
"Time window anchor must be now or latest_available.",
|
|
2977
2991
|
`${t}.anchor`
|
|
2978
2992
|
)
|
|
2979
|
-
), e.completeness !== void 0 && !
|
|
2993
|
+
), e.completeness !== void 0 && !ha.has(e.completeness) && n.push(
|
|
2980
2994
|
r(
|
|
2981
2995
|
"invalid_time_window",
|
|
2982
2996
|
"Time window completeness must be include_partial or complete_periods.",
|
|
@@ -2984,7 +2998,7 @@ function ge(e, t, n) {
|
|
|
2984
2998
|
)
|
|
2985
2999
|
);
|
|
2986
3000
|
}
|
|
2987
|
-
function
|
|
3001
|
+
function _e(e, t, n) {
|
|
2988
3002
|
if (e !== void 0) {
|
|
2989
3003
|
if (!Array.isArray(e)) {
|
|
2990
3004
|
n.push(
|
|
@@ -3081,7 +3095,7 @@ function he(e, t, n) {
|
|
|
3081
3095
|
});
|
|
3082
3096
|
}
|
|
3083
3097
|
}
|
|
3084
|
-
function
|
|
3098
|
+
function vo(e) {
|
|
3085
3099
|
const t = [];
|
|
3086
3100
|
if (!f(e))
|
|
3087
3101
|
return t.push(
|
|
@@ -3108,11 +3122,11 @@ function po(e) {
|
|
|
3108
3122
|
"Result calculation kind must be percent_of_total, rank, running_total, or previous_row_delta.",
|
|
3109
3123
|
"kind"
|
|
3110
3124
|
)
|
|
3111
|
-
), Xe(e.input, "input", t),
|
|
3125
|
+
), Xe(e.input, "input", t), pa(e.output, "output", t), e.kind === "percent_of_total") {
|
|
3112
3126
|
const n = e.denominator;
|
|
3113
3127
|
n !== void 0 && (f(n) ? n.scope === "population" ? (y(n.metric, "denominator.metric", t, {
|
|
3114
3128
|
required: !0
|
|
3115
|
-
}),
|
|
3129
|
+
}), _e(
|
|
3116
3130
|
n.filters,
|
|
3117
3131
|
"denominator.filters",
|
|
3118
3132
|
t
|
|
@@ -3138,7 +3152,7 @@ function po(e) {
|
|
|
3138
3152
|
)
|
|
3139
3153
|
), (e.kind === "running_total" || e.kind === "previous_row_delta") && e.orderBy !== void 0 && Xe(e.orderBy, "orderBy", t), { ok: t.length === 0, errors: t, warnings: [] };
|
|
3140
3154
|
}
|
|
3141
|
-
function
|
|
3155
|
+
function Ut(e) {
|
|
3142
3156
|
var o;
|
|
3143
3157
|
const t = [], n = [];
|
|
3144
3158
|
if (!e || typeof e != "object")
|
|
@@ -3159,7 +3173,7 @@ function Ot(e) {
|
|
|
3159
3173
|
]
|
|
3160
3174
|
};
|
|
3161
3175
|
if (e.kind === "matrix") {
|
|
3162
|
-
const a =
|
|
3176
|
+
const a = Mn.safeParse(e);
|
|
3163
3177
|
return a.success || t.push(...a.error.issues.map((s) => r("invalid_matrix_intent", s.message, s.path.join(".")))), { ok: t.length === 0, errors: t, warnings: n, repairHints: Ze(t) };
|
|
3164
3178
|
}
|
|
3165
3179
|
if (e.version !== void 0 && e.version !== 1 && t.push(
|
|
@@ -3168,7 +3182,7 @@ function Ot(e) {
|
|
|
3168
3182
|
"Analytics intent version must be 1.",
|
|
3169
3183
|
"version"
|
|
3170
3184
|
)
|
|
3171
|
-
),
|
|
3185
|
+
), ve(e.source, "source", t), ba(e, t), sa(e, t), "relationshipHint" in e && e.relationshipHint !== void 0 && Ee(
|
|
3172
3186
|
e.relationshipHint,
|
|
3173
3187
|
"relationshipHint",
|
|
3174
3188
|
t
|
|
@@ -3194,21 +3208,21 @@ function Ot(e) {
|
|
|
3194
3208
|
y(s, `measures.${l}`, t, {
|
|
3195
3209
|
required: !0
|
|
3196
3210
|
});
|
|
3197
|
-
}), a.length > 0 && !
|
|
3211
|
+
}), a.length > 0 && !Wn(a)) {
|
|
3198
3212
|
const s = a.find(
|
|
3199
3213
|
(l, d) => a.some(
|
|
3200
|
-
(c, p) => p !== d &&
|
|
3214
|
+
(c, p) => p !== d && qt(c, l)
|
|
3201
3215
|
)
|
|
3202
3216
|
);
|
|
3203
3217
|
s && t.push(
|
|
3204
3218
|
r(
|
|
3205
3219
|
"duplicate_measure",
|
|
3206
|
-
|
|
3220
|
+
Kn(s),
|
|
3207
3221
|
"measures"
|
|
3208
3222
|
)
|
|
3209
3223
|
);
|
|
3210
3224
|
}
|
|
3211
|
-
if (f(e.primaryMeasure) && m(e.primaryMeasure.name) &&
|
|
3225
|
+
if (f(e.primaryMeasure) && m(e.primaryMeasure.name) && Me(
|
|
3212
3226
|
e.primaryMeasure,
|
|
3213
3227
|
a
|
|
3214
3228
|
).length > 1 && t.push(
|
|
@@ -3219,7 +3233,7 @@ function Ot(e) {
|
|
|
3219
3233
|
)
|
|
3220
3234
|
), e.primaryMeasure !== void 0 && (y(e.primaryMeasure, "primaryMeasure", t, {
|
|
3221
3235
|
required: !0
|
|
3222
|
-
}), f(e.primaryMeasure) && m(e.primaryMeasure.name) && a.length > 0 && !
|
|
3236
|
+
}), f(e.primaryMeasure) && m(e.primaryMeasure.name) && a.length > 0 && !Xn(
|
|
3223
3237
|
e.primaryMeasure,
|
|
3224
3238
|
a
|
|
3225
3239
|
) && t.push(
|
|
@@ -3242,13 +3256,13 @@ function Ot(e) {
|
|
|
3242
3256
|
"Metric intent dimensions must be an array of field references with names.",
|
|
3243
3257
|
"dimensions"
|
|
3244
3258
|
)
|
|
3245
|
-
), e.dateField !== void 0 && y(e.dateField, "dateField", t), e.timeWindow !== void 0 && (
|
|
3259
|
+
), e.dateField !== void 0 && y(e.dateField, "dateField", t), e.timeWindow !== void 0 && (he(e.timeWindow, "timeWindow", t), e.dateField || t.push(
|
|
3246
3260
|
r(
|
|
3247
3261
|
"missing_time_window_date_field",
|
|
3248
3262
|
"Metric timeWindow needs a dateField.",
|
|
3249
3263
|
"dateField"
|
|
3250
3264
|
)
|
|
3251
|
-
)),
|
|
3265
|
+
)), _e(e.filters, "filters", t), Array.isArray(e.dimensions) && e.dimensions.forEach((s, l) => {
|
|
3252
3266
|
y(s, `dimensions.${l}`, t);
|
|
3253
3267
|
}), e.orderBy !== void 0) {
|
|
3254
3268
|
if (!f(e.orderBy))
|
|
@@ -3275,7 +3289,7 @@ function Ot(e) {
|
|
|
3275
3289
|
(l) => f(l) && m(l.name)
|
|
3276
3290
|
) : []
|
|
3277
3291
|
];
|
|
3278
|
-
s.length > 0 && !
|
|
3292
|
+
s.length > 0 && !Zn(
|
|
3279
3293
|
e.orderBy.field,
|
|
3280
3294
|
s
|
|
3281
3295
|
) && t.push(
|
|
@@ -3287,7 +3301,7 @@ function Ot(e) {
|
|
|
3287
3301
|
);
|
|
3288
3302
|
}
|
|
3289
3303
|
}
|
|
3290
|
-
|
|
3304
|
+
ma(e, t);
|
|
3291
3305
|
} else if (e.kind === "records") {
|
|
3292
3306
|
if (!Array.isArray(e.fields) || e.fields.length === 0 ? t.push(
|
|
3293
3307
|
r(
|
|
@@ -3305,13 +3319,13 @@ function Ot(e) {
|
|
|
3305
3319
|
)
|
|
3306
3320
|
), Array.isArray(e.fields) && e.fields.forEach((a, s) => {
|
|
3307
3321
|
y(a, `fields.${s}`, t);
|
|
3308
|
-
}), e.dateField !== void 0 && y(e.dateField, "dateField", t), Ke(e.pagination, "pagination", t), e.timeWindow !== void 0 && (
|
|
3322
|
+
}), e.dateField !== void 0 && y(e.dateField, "dateField", t), Ke(e.pagination, "pagination", t), e.timeWindow !== void 0 && (he(e.timeWindow, "timeWindow", t), e.dateField || t.push(
|
|
3309
3323
|
r(
|
|
3310
3324
|
"missing_time_window_date_field",
|
|
3311
3325
|
"Records timeWindow needs a dateField.",
|
|
3312
3326
|
"dateField"
|
|
3313
3327
|
)
|
|
3314
|
-
)),
|
|
3328
|
+
)), _e(e.filters, "filters", t), Array.isArray(e.filters) && e.filters.forEach((a, s) => {
|
|
3315
3329
|
f(a) && a.scope === "aggregate" && t.push(
|
|
3316
3330
|
r(
|
|
3317
3331
|
"unsupported_record_filter_scope",
|
|
@@ -3369,7 +3383,7 @@ function Ot(e) {
|
|
|
3369
3383
|
);
|
|
3370
3384
|
});
|
|
3371
3385
|
}
|
|
3372
|
-
} else e.kind === "inputOptions" ?
|
|
3386
|
+
} else e.kind === "inputOptions" ? oa(e, t) : e.kind === "sql" ? (((o = e.source) == null ? void 0 : o.kind) !== "sql" && t.push(
|
|
3373
3387
|
r(
|
|
3374
3388
|
"invalid_sql_source",
|
|
3375
3389
|
"SQL analytics intent must use a SQL execution source.",
|
|
@@ -3377,7 +3391,7 @@ function Ot(e) {
|
|
|
3377
3391
|
)
|
|
3378
3392
|
), m(e.sql) || t.push(
|
|
3379
3393
|
r("missing_sql", "SQL analytics intent needs SQL text.", "sql")
|
|
3380
|
-
),
|
|
3394
|
+
), Qn(
|
|
3381
3395
|
e.defaultParameters,
|
|
3382
3396
|
"defaultParameters",
|
|
3383
3397
|
t
|
|
@@ -3397,7 +3411,7 @@ function Ot(e) {
|
|
|
3397
3411
|
repairHints: Ze(t)
|
|
3398
3412
|
};
|
|
3399
3413
|
}
|
|
3400
|
-
function
|
|
3414
|
+
function ba(e, t) {
|
|
3401
3415
|
if (!(!("derivedFields" in e) || e.derivedFields === void 0)) {
|
|
3402
3416
|
if (!Array.isArray(e.derivedFields)) {
|
|
3403
3417
|
t.push(
|
|
@@ -3410,7 +3424,7 @@ function ca(e, t) {
|
|
|
3410
3424
|
return;
|
|
3411
3425
|
}
|
|
3412
3426
|
e.derivedFields.forEach((n, o) => {
|
|
3413
|
-
|
|
3427
|
+
Ie(
|
|
3414
3428
|
n
|
|
3415
3429
|
).errors.forEach((s) => {
|
|
3416
3430
|
t.push({
|
|
@@ -3421,7 +3435,7 @@ function ca(e, t) {
|
|
|
3421
3435
|
});
|
|
3422
3436
|
}
|
|
3423
3437
|
}
|
|
3424
|
-
function
|
|
3438
|
+
function ya(e) {
|
|
3425
3439
|
const t = [], n = [];
|
|
3426
3440
|
if (!e || typeof e != "object")
|
|
3427
3441
|
return {
|
|
@@ -3476,7 +3490,7 @@ function pa(e) {
|
|
|
3476
3490
|
"instruction"
|
|
3477
3491
|
)
|
|
3478
3492
|
), e.analyticsIntent) {
|
|
3479
|
-
const o =
|
|
3493
|
+
const o = Ut(
|
|
3480
3494
|
e.analyticsIntent
|
|
3481
3495
|
);
|
|
3482
3496
|
t.push(...o.errors), n.push(...o.warnings);
|
|
@@ -3493,10 +3507,10 @@ function pa(e) {
|
|
|
3493
3507
|
ok: t.length === 0,
|
|
3494
3508
|
errors: t,
|
|
3495
3509
|
warnings: n,
|
|
3496
|
-
repairHints:
|
|
3510
|
+
repairHints: Vt(t)
|
|
3497
3511
|
};
|
|
3498
3512
|
}
|
|
3499
|
-
function
|
|
3513
|
+
function So(e) {
|
|
3500
3514
|
const t = [], n = [];
|
|
3501
3515
|
if (!e || typeof e != "object")
|
|
3502
3516
|
return {
|
|
@@ -3524,7 +3538,7 @@ function mo(e) {
|
|
|
3524
3538
|
"kind"
|
|
3525
3539
|
)
|
|
3526
3540
|
);
|
|
3527
|
-
const o =
|
|
3541
|
+
const o = ya(
|
|
3528
3542
|
e.operationIntent
|
|
3529
3543
|
);
|
|
3530
3544
|
return t.push(...o.errors), n.push(...o.warnings), Array.isArray(e.plannedToolCalls) || t.push(
|
|
@@ -3537,10 +3551,10 @@ function mo(e) {
|
|
|
3537
3551
|
ok: t.length === 0,
|
|
3538
3552
|
errors: t,
|
|
3539
3553
|
warnings: n,
|
|
3540
|
-
repairHints:
|
|
3554
|
+
repairHints: Vt(t)
|
|
3541
3555
|
};
|
|
3542
3556
|
}
|
|
3543
|
-
function
|
|
3557
|
+
function Vt(e) {
|
|
3544
3558
|
return e.map((t) => ({
|
|
3545
3559
|
code: t.code,
|
|
3546
3560
|
recommendedNextStep: t.code === "missing_obligations" ? "Normalize the user request into one or more typed analytics obligations before recovery planning." : "Correct the operation/recovery contract shape before planning execution."
|
|
@@ -3634,7 +3648,7 @@ function Ze(e) {
|
|
|
3634
3648
|
}
|
|
3635
3649
|
}).filter((t) => !!t);
|
|
3636
3650
|
}
|
|
3637
|
-
function
|
|
3651
|
+
function va(e, t, n, o) {
|
|
3638
3652
|
if (!e || typeof e != "object") {
|
|
3639
3653
|
n.push(
|
|
3640
3654
|
r("invalid_view", "Dashboard view must be an object.", t)
|
|
@@ -3680,7 +3694,7 @@ function ma(e, t, n, o) {
|
|
|
3680
3694
|
`${t}.analytics.kind`
|
|
3681
3695
|
)
|
|
3682
3696
|
);
|
|
3683
|
-
const a =
|
|
3697
|
+
const a = Ut(e.analytics);
|
|
3684
3698
|
for (const s of a.errors)
|
|
3685
3699
|
n.push(
|
|
3686
3700
|
r(
|
|
@@ -3698,7 +3712,7 @@ function ma(e, t, n, o) {
|
|
|
3698
3712
|
)
|
|
3699
3713
|
);
|
|
3700
3714
|
}
|
|
3701
|
-
function
|
|
3715
|
+
function Io(e) {
|
|
3702
3716
|
const t = [], n = [];
|
|
3703
3717
|
if (!e || typeof e != "object")
|
|
3704
3718
|
return {
|
|
@@ -3791,7 +3805,7 @@ function fo(e) {
|
|
|
3791
3805
|
continue;
|
|
3792
3806
|
}
|
|
3793
3807
|
for (const [_, b] of p.views.entries())
|
|
3794
|
-
|
|
3808
|
+
va(
|
|
3795
3809
|
b,
|
|
3796
3810
|
`${u}.views.${_}`,
|
|
3797
3811
|
t,
|
|
@@ -3802,163 +3816,164 @@ function fo(e) {
|
|
|
3802
3816
|
}
|
|
3803
3817
|
export {
|
|
3804
3818
|
Fe as $,
|
|
3805
|
-
|
|
3806
|
-
|
|
3819
|
+
yo as A,
|
|
3820
|
+
xe as B,
|
|
3807
3821
|
de as C,
|
|
3808
|
-
|
|
3809
|
-
|
|
3822
|
+
Wi as D,
|
|
3823
|
+
bt as E,
|
|
3810
3824
|
Ae as F,
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3825
|
+
De as G,
|
|
3826
|
+
Ut as H,
|
|
3827
|
+
mo as I,
|
|
3828
|
+
fo as J,
|
|
3829
|
+
qa as K,
|
|
3830
|
+
Gi as L,
|
|
3817
3831
|
ht as M,
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3832
|
+
go as N,
|
|
3833
|
+
Jt as O,
|
|
3834
|
+
Qi as P,
|
|
3835
|
+
Zt as Q,
|
|
3836
|
+
ka as R,
|
|
3837
|
+
xa as S,
|
|
3838
|
+
Aa as T,
|
|
3839
|
+
z as U,
|
|
3840
|
+
Fa as V,
|
|
3841
|
+
Ra as W,
|
|
3842
|
+
Xt as X,
|
|
3843
|
+
ge as Y,
|
|
3844
|
+
Rt as Z,
|
|
3845
|
+
Vi as _,
|
|
3846
|
+
Yt as a,
|
|
3847
|
+
ja as a$,
|
|
3848
|
+
Sn as a0,
|
|
3849
|
+
Dt as a1,
|
|
3850
|
+
me as a2,
|
|
3851
|
+
Mt as a3,
|
|
3852
|
+
Hi as a4,
|
|
3853
|
+
R as a5,
|
|
3854
|
+
Ua as a6,
|
|
3855
|
+
An as a7,
|
|
3856
|
+
Et as a8,
|
|
3857
|
+
Rn as a9,
|
|
3844
3858
|
pt as aA,
|
|
3845
3859
|
mt as aB,
|
|
3846
|
-
|
|
3860
|
+
Pe as aC,
|
|
3847
3861
|
gt as aD,
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3862
|
+
Ya as aE,
|
|
3863
|
+
Ba as aF,
|
|
3864
|
+
ti as aG,
|
|
3851
3865
|
O as aH,
|
|
3852
|
-
|
|
3853
|
-
|
|
3866
|
+
F as aI,
|
|
3867
|
+
U as aJ,
|
|
3854
3868
|
ie as aK,
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3869
|
+
oi as aL,
|
|
3870
|
+
be as aM,
|
|
3871
|
+
ye as aN,
|
|
3858
3872
|
Je as aO,
|
|
3859
|
-
|
|
3873
|
+
ri as aP,
|
|
3860
3874
|
et as aQ,
|
|
3861
3875
|
tt as aR,
|
|
3862
3876
|
it as aS,
|
|
3863
3877
|
nt as aT,
|
|
3864
3878
|
at as aU,
|
|
3865
|
-
|
|
3866
|
-
|
|
3879
|
+
Da as aV,
|
|
3880
|
+
Ma as aW,
|
|
3867
3881
|
j as aX,
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3882
|
+
Ea as aY,
|
|
3883
|
+
Na as aZ,
|
|
3884
|
+
Ce as a_,
|
|
3871
3885
|
P as aa,
|
|
3872
3886
|
Le as ab,
|
|
3873
|
-
|
|
3874
|
-
|
|
3887
|
+
En as ac,
|
|
3888
|
+
Te as ad,
|
|
3875
3889
|
He as ae,
|
|
3876
3890
|
ee as af,
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3891
|
+
Yn as ag,
|
|
3892
|
+
po as ah,
|
|
3893
|
+
we as ai,
|
|
3894
|
+
Gt as aj,
|
|
3895
|
+
Ia as ak,
|
|
3896
|
+
je as al,
|
|
3897
|
+
wa as am,
|
|
3898
|
+
zt as an,
|
|
3899
|
+
Kt as ao,
|
|
3900
|
+
Qt as ap,
|
|
3901
|
+
ra as aq,
|
|
3902
|
+
vo as ar,
|
|
3903
|
+
ya as as,
|
|
3904
|
+
So as at,
|
|
3905
|
+
Io as au,
|
|
3906
|
+
Ie as av,
|
|
3907
|
+
Ni as aw,
|
|
3908
|
+
ji as ax,
|
|
3909
|
+
Pi as ay,
|
|
3910
|
+
Yi as az,
|
|
3911
|
+
Va as b,
|
|
3912
|
+
Ca as b0,
|
|
3913
|
+
$a as b1,
|
|
3914
|
+
fi as b2,
|
|
3915
|
+
gi as b3,
|
|
3916
|
+
Oa as b4,
|
|
3917
|
+
Pa as b5,
|
|
3904
3918
|
T as b6,
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3919
|
+
Ot as b7,
|
|
3920
|
+
Pt as b8,
|
|
3921
|
+
_o as b9,
|
|
3922
|
+
so as bA,
|
|
3923
|
+
Ja as bB,
|
|
3924
|
+
pe as bC,
|
|
3925
|
+
eo as bD,
|
|
3926
|
+
jn as bE,
|
|
3927
|
+
ke as bF,
|
|
3928
|
+
_i as bG,
|
|
3929
|
+
Xa as ba,
|
|
3930
|
+
Xi as bb,
|
|
3931
|
+
Ji as bc,
|
|
3932
|
+
Za as bd,
|
|
3933
|
+
Ta as be,
|
|
3934
|
+
_t as bf,
|
|
3935
|
+
L as bg,
|
|
3936
|
+
Ui as bh,
|
|
3937
|
+
H as bi,
|
|
3938
|
+
La as bj,
|
|
3939
|
+
x as bk,
|
|
3940
|
+
Bi as bl,
|
|
3941
|
+
C as bm,
|
|
3942
|
+
$e as bn,
|
|
3943
|
+
gn as bo,
|
|
3944
|
+
Nn as bp,
|
|
3945
|
+
to as bq,
|
|
3946
|
+
un as br,
|
|
3947
|
+
lo as bs,
|
|
3948
|
+
ro as bt,
|
|
3949
|
+
io as bu,
|
|
3950
|
+
no as bv,
|
|
3951
|
+
fn as bw,
|
|
3952
|
+
hn as bx,
|
|
3953
|
+
oo as by,
|
|
3954
|
+
ao as bz,
|
|
3955
|
+
Ha as c,
|
|
3956
|
+
Ki as d,
|
|
3942
3957
|
yt as e,
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3958
|
+
za as f,
|
|
3959
|
+
zi as g,
|
|
3960
|
+
Wa as h,
|
|
3961
|
+
ei as i,
|
|
3962
|
+
Ka as j,
|
|
3963
|
+
Qa as k,
|
|
3949
3964
|
ue as l,
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3965
|
+
Mn as m,
|
|
3966
|
+
Ga as n,
|
|
3967
|
+
jt as o,
|
|
3968
|
+
bo as p,
|
|
3969
|
+
fe as q,
|
|
3970
|
+
co as r,
|
|
3971
|
+
Gn as s,
|
|
3972
|
+
Ln as t,
|
|
3973
|
+
ho as u,
|
|
3974
|
+
X as v,
|
|
3960
3975
|
le as w,
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3976
|
+
Wt as x,
|
|
3977
|
+
Tn as y,
|
|
3978
|
+
uo as z
|
|
3964
3979
|
};
|