@sqlrooms/mosaic 0.29.0-rc.5 → 0.29.0-rc.7
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/README.md +90 -57
- package/dist/DataPointLimitError.d.ts +9 -0
- package/dist/DataPointLimitError.d.ts.map +1 -0
- package/dist/DataPointLimitError.js +14 -0
- package/dist/DataPointLimitError.js.map +1 -0
- package/dist/MosaicChart.d.ts +6 -6
- package/dist/MosaicChart.d.ts.map +1 -1
- package/dist/MosaicChart.js +6 -6
- package/dist/MosaicChart.js.map +1 -1
- package/dist/MosaicChartBuilder.d.ts +1 -1
- package/dist/MosaicChartBuilder.d.ts.map +1 -1
- package/dist/MosaicChartBuilder.js +1 -1
- package/dist/MosaicChartBuilder.js.map +1 -1
- package/dist/MosaicColorLegend.d.ts.map +1 -1
- package/dist/MosaicColorLegend.js +0 -1
- package/dist/MosaicColorLegend.js.map +1 -1
- package/dist/MosaicSlice.d.ts.map +1 -1
- package/dist/MosaicSlice.js +3 -3
- package/dist/MosaicSlice.js.map +1 -1
- package/dist/VgPlotChart.d.ts +8 -11
- package/dist/VgPlotChart.d.ts.map +1 -1
- package/dist/VgPlotChart.js +77 -90
- package/dist/VgPlotChart.js.map +1 -1
- package/dist/VgPlotChartError.d.ts +7 -0
- package/dist/VgPlotChartError.d.ts.map +1 -0
- package/dist/VgPlotChartError.js +9 -0
- package/dist/VgPlotChartError.js.map +1 -0
- package/dist/ai/ai.d.ts +103 -0
- package/dist/ai/ai.d.ts.map +1 -0
- package/dist/ai/ai.js +419 -0
- package/dist/ai/ai.js.map +1 -0
- package/dist/ai/data-table-explorer-tool.d.ts +40 -0
- package/dist/ai/data-table-explorer-tool.d.ts.map +1 -0
- package/dist/ai/data-table-explorer-tool.js +75 -0
- package/dist/ai/data-table-explorer-tool.js.map +1 -0
- package/dist/ai/list-panels-tool.d.ts +35 -0
- package/dist/ai/list-panels-tool.d.ts.map +1 -0
- package/dist/ai/list-panels-tool.js +66 -0
- package/dist/ai/list-panels-tool.js.map +1 -0
- package/dist/ai/remove-panel-tool.d.ts +31 -0
- package/dist/ai/remove-panel-tool.d.ts.map +1 -0
- package/dist/ai/remove-panel-tool.js +55 -0
- package/dist/ai/remove-panel-tool.js.map +1 -0
- package/dist/ai/tool-helpers.d.ts +34 -0
- package/dist/ai/tool-helpers.d.ts.map +1 -0
- package/dist/ai/tool-helpers.js +93 -0
- package/dist/ai/tool-helpers.js.map +1 -0
- package/dist/ai/tool-schemas.d.ts +9 -0
- package/dist/ai/tool-schemas.d.ts.map +1 -0
- package/dist/ai/tool-schemas.js +22 -0
- package/dist/ai/tool-schemas.js.map +1 -0
- package/dist/ai/tool-types.d.ts +26 -0
- package/dist/ai/tool-types.d.ts.map +1 -0
- package/dist/ai/tool-types.js.map +1 -0
- package/dist/ai/tool-validation.d.ts +3 -0
- package/dist/ai/tool-validation.d.ts.map +1 -0
- package/dist/ai/tool-validation.js.map +1 -0
- package/dist/ai.d.ts +6 -0
- package/dist/ai.d.ts.map +1 -0
- package/dist/ai.js +6 -0
- package/dist/ai.js.map +1 -0
- package/dist/chart-builders/ChartBuilderActions.js.map +1 -1
- package/dist/chart-builders/ChartBuilderContent.d.ts +2 -2
- package/dist/chart-builders/ChartBuilderContent.d.ts.map +1 -1
- package/dist/chart-builders/ChartBuilderContent.js.map +1 -1
- package/dist/chart-builders/ChartBuilderContext.d.ts +2 -2
- package/dist/chart-builders/ChartBuilderContext.d.ts.map +1 -1
- package/dist/chart-builders/ChartBuilderContext.js.map +1 -1
- package/dist/chart-builders/ChartBuilderDialog.d.ts +2 -2
- package/dist/chart-builders/ChartBuilderDialog.d.ts.map +1 -1
- package/dist/chart-builders/ChartBuilderDialog.js.map +1 -1
- package/dist/chart-builders/ChartBuilderFields.js +2 -2
- package/dist/chart-builders/ChartBuilderFields.js.map +1 -1
- package/dist/chart-builders/ChartBuilderRoot.d.ts +2 -2
- package/dist/chart-builders/ChartBuilderRoot.d.ts.map +1 -1
- package/dist/chart-builders/ChartBuilderRoot.js.map +1 -1
- package/dist/chart-builders/chartSpecTitle.d.ts +1 -1
- package/dist/chart-builders/chartSpecTitle.d.ts.map +1 -1
- package/dist/chart-builders/chartSpecTitle.js.map +1 -1
- package/dist/chart-builders/chartTypeUtils.d.ts +1 -2
- package/dist/chart-builders/chartTypeUtils.d.ts.map +1 -1
- package/dist/chart-builders/chartTypeUtils.js +0 -1
- package/dist/chart-builders/chartTypeUtils.js.map +1 -1
- package/dist/chart-builders/createChartBuilderStore.d.ts +1 -1
- package/dist/chart-builders/createChartBuilderStore.d.ts.map +1 -1
- package/dist/chart-builders/createChartBuilderStore.js.map +1 -1
- package/dist/chart-runtime.d.ts +50 -0
- package/dist/chart-runtime.d.ts.map +1 -0
- package/dist/chart-runtime.js +76 -0
- package/dist/chart-runtime.js.map +1 -0
- package/dist/charts/MosaicChart.d.ts +12 -0
- package/dist/charts/MosaicChart.d.ts.map +1 -0
- package/dist/charts/MosaicChart.js +13 -0
- package/dist/charts/MosaicChart.js.map +1 -0
- package/dist/charts/MosaicChartError.d.ts +8 -0
- package/dist/charts/MosaicChartError.d.ts.map +1 -0
- package/dist/charts/MosaicChartError.js +5 -0
- package/dist/charts/MosaicChartError.js.map +1 -0
- package/dist/charts/MosaicChartRuntimeIssuePanel.d.ts +7 -0
- package/dist/charts/MosaicChartRuntimeIssuePanel.d.ts.map +1 -0
- package/dist/charts/MosaicChartRuntimeIssuePanel.js +10 -0
- package/dist/charts/MosaicChartRuntimeIssuePanel.js.map +1 -0
- package/dist/charts/MosaicChartSettingsPanel.d.ts +11 -0
- package/dist/charts/MosaicChartSettingsPanel.d.ts.map +1 -0
- package/dist/charts/MosaicChartSettingsPanel.js +21 -0
- package/dist/charts/MosaicChartSettingsPanel.js.map +1 -0
- package/dist/charts/MosaicChartView.d.ts +13 -0
- package/dist/charts/MosaicChartView.d.ts.map +1 -0
- package/dist/charts/MosaicChartView.js +56 -0
- package/dist/charts/MosaicChartView.js.map +1 -0
- package/dist/charts/addChartPanelAction.d.ts +3 -0
- package/dist/charts/addChartPanelAction.d.ts.map +1 -0
- package/dist/charts/addChartPanelAction.js +14 -0
- package/dist/charts/addChartPanelAction.js.map +1 -0
- package/dist/charts/chart-settings/MosaicChartSettings.d.ts +43 -0
- package/dist/charts/chart-settings/MosaicChartSettings.d.ts.map +1 -0
- package/dist/charts/chart-settings/MosaicChartSettings.js +74 -0
- package/dist/charts/chart-settings/MosaicChartSettings.js.map +1 -0
- package/dist/charts/chart-settings/MosaicChartSettingsContent.d.ts +13 -0
- package/dist/charts/chart-settings/MosaicChartSettingsContent.d.ts.map +1 -0
- package/dist/charts/chart-settings/MosaicChartSettingsContent.js +18 -0
- package/dist/charts/chart-settings/MosaicChartSettingsContent.js.map +1 -0
- package/dist/charts/chart-settings/MosaicChartSettingsContext.d.ts +24 -0
- package/dist/charts/chart-settings/MosaicChartSettingsContext.d.ts.map +1 -0
- package/dist/charts/chart-settings/MosaicChartSettingsContext.js +34 -0
- package/dist/charts/chart-settings/MosaicChartSettingsContext.js.map +1 -0
- package/dist/charts/chart-settings/MosaicChartSettingsPanel.d.ts +14 -0
- package/dist/charts/chart-settings/MosaicChartSettingsPanel.d.ts.map +1 -0
- package/dist/charts/chart-settings/MosaicChartSettingsPanel.js +17 -0
- package/dist/charts/chart-settings/MosaicChartSettingsPanel.js.map +1 -0
- package/dist/charts/chart-settings/MosaicChartSpecViewerPanel.d.ts +9 -0
- package/dist/charts/chart-settings/MosaicChartSpecViewerPanel.d.ts.map +1 -0
- package/dist/charts/chart-settings/MosaicChartSpecViewerPanel.js +11 -0
- package/dist/charts/chart-settings/MosaicChartSpecViewerPanel.js.map +1 -0
- package/dist/charts/chart-settings/MosaicChartTypeSelector.d.ts +9 -0
- package/dist/charts/chart-settings/MosaicChartTypeSelector.d.ts.map +1 -0
- package/dist/charts/chart-settings/MosaicChartTypeSelector.js +16 -0
- package/dist/charts/chart-settings/MosaicChartTypeSelector.js.map +1 -0
- package/dist/charts/chart-types/base-types.d.ts +168 -0
- package/dist/charts/chart-types/base-types.d.ts.map +1 -0
- package/dist/charts/chart-types/base-types.js.map +1 -0
- package/dist/charts/chart-types/box-plot/BoxPlotSettings.d.ts.map +1 -0
- package/dist/charts/chart-types/box-plot/BoxPlotSettings.js +9 -0
- package/dist/charts/chart-types/box-plot/BoxPlotSettings.js.map +1 -0
- package/dist/charts/chart-types/box-plot/definition.d.ts.map +1 -0
- package/dist/charts/chart-types/box-plot/definition.js +24 -0
- package/dist/charts/chart-types/box-plot/definition.js.map +1 -0
- package/dist/charts/chart-types/box-plot/renderer/BoxPlotClient.d.ts +67 -0
- package/dist/charts/chart-types/box-plot/renderer/BoxPlotClient.d.ts.map +1 -0
- package/dist/charts/chart-types/box-plot/renderer/BoxPlotClient.js +286 -0
- package/dist/charts/chart-types/box-plot/renderer/BoxPlotClient.js.map +1 -0
- package/dist/charts/chart-types/box-plot/renderer/BoxPlotErrorBoundary.d.ts.map +1 -0
- package/dist/charts/chart-types/box-plot/renderer/BoxPlotErrorBoundary.js.map +1 -0
- package/dist/charts/chart-types/box-plot/renderer/BoxPlotPanelRenderer.d.ts.map +1 -0
- package/dist/charts/chart-types/box-plot/renderer/BoxPlotPanelRenderer.js +118 -0
- package/dist/charts/chart-types/box-plot/renderer/BoxPlotPanelRenderer.js.map +1 -0
- package/dist/charts/chart-types/box-plot/renderer/constants.d.ts +24 -0
- package/dist/charts/chart-types/box-plot/renderer/constants.d.ts.map +1 -0
- package/dist/charts/chart-types/box-plot/renderer/constants.js.map +1 -0
- package/dist/charts/chart-types/box-plot/renderer/plot.d.ts +14 -0
- package/dist/charts/chart-types/box-plot/renderer/plot.d.ts.map +1 -0
- package/dist/charts/chart-types/box-plot/renderer/plot.js.map +1 -0
- package/dist/charts/chart-types/box-plot/renderer/useBoxPlotClient.d.ts +18 -0
- package/dist/charts/chart-types/box-plot/renderer/useBoxPlotClient.d.ts.map +1 -0
- package/dist/charts/chart-types/box-plot/renderer/useBoxPlotClient.js +63 -0
- package/dist/charts/chart-types/box-plot/renderer/useBoxPlotClient.js.map +1 -0
- package/dist/charts/chart-types/box-plot/renderer/utils.d.ts +6 -0
- package/dist/charts/chart-types/box-plot/renderer/utils.d.ts.map +1 -0
- package/dist/charts/chart-types/box-plot/renderer/utils.js.map +1 -0
- package/dist/charts/chart-types/box-plot/schema.d.ts +21 -0
- package/dist/charts/chart-types/box-plot/schema.d.ts.map +1 -0
- package/dist/charts/chart-types/box-plot/schema.js +16 -0
- package/dist/charts/chart-types/box-plot/schema.js.map +1 -0
- package/dist/charts/chart-types/box-plot/tool.d.ts +40 -0
- package/dist/charts/chart-types/box-plot/tool.d.ts.map +1 -0
- package/dist/charts/chart-types/box-plot/tool.js +67 -0
- package/dist/charts/chart-types/box-plot/tool.js.map +1 -0
- package/dist/charts/chart-types/bubble-chart/BubbleChartSettings.d.ts.map +1 -0
- package/dist/charts/chart-types/bubble-chart/BubbleChartSettings.js +9 -0
- package/dist/charts/chart-types/bubble-chart/BubbleChartSettings.js.map +1 -0
- package/dist/charts/chart-types/bubble-chart/definition.d.ts.map +1 -0
- package/dist/charts/chart-types/bubble-chart/definition.js +24 -0
- package/dist/charts/chart-types/bubble-chart/definition.js.map +1 -0
- package/dist/charts/chart-types/bubble-chart/schema.d.ts +23 -0
- package/dist/charts/chart-types/bubble-chart/schema.d.ts.map +1 -0
- package/dist/charts/chart-types/bubble-chart/schema.js +17 -0
- package/dist/charts/chart-types/bubble-chart/schema.js.map +1 -0
- package/dist/charts/chart-types/bubble-chart/spec.d.ts.map +1 -0
- package/dist/charts/chart-types/bubble-chart/spec.js +31 -0
- package/dist/charts/chart-types/bubble-chart/spec.js.map +1 -0
- package/dist/charts/chart-types/bubble-chart/tool.d.ts +42 -0
- package/dist/charts/chart-types/bubble-chart/tool.d.ts.map +1 -0
- package/dist/charts/chart-types/bubble-chart/tool.js +66 -0
- package/dist/charts/chart-types/bubble-chart/tool.js.map +1 -0
- package/dist/charts/chart-types/chart-config.d.ts +138 -0
- package/dist/charts/chart-types/chart-config.d.ts.map +1 -0
- package/dist/charts/chart-types/chart-config.js +41 -0
- package/dist/charts/chart-types/chart-config.js.map +1 -0
- package/dist/charts/chart-types/count-plot/CountPlotSettings.d.ts.map +1 -0
- package/dist/charts/chart-types/count-plot/CountPlotSettings.js +9 -0
- package/dist/charts/chart-types/count-plot/CountPlotSettings.js.map +1 -0
- package/dist/charts/chart-types/count-plot/definition.d.ts.map +1 -0
- package/dist/charts/chart-types/count-plot/definition.js +19 -0
- package/dist/charts/chart-types/count-plot/definition.js.map +1 -0
- package/dist/charts/chart-types/count-plot/schema.d.ts +19 -0
- package/dist/charts/chart-types/count-plot/schema.d.ts.map +1 -0
- package/dist/charts/chart-types/count-plot/schema.js +15 -0
- package/dist/charts/chart-types/count-plot/schema.js.map +1 -0
- package/dist/charts/chart-types/count-plot/spec.d.ts.map +1 -0
- package/dist/charts/chart-types/count-plot/spec.js +49 -0
- package/dist/charts/chart-types/count-plot/spec.js.map +1 -0
- package/dist/charts/chart-types/count-plot/tool.d.ts +38 -0
- package/dist/charts/chart-types/count-plot/tool.d.ts.map +1 -0
- package/dist/charts/chart-types/count-plot/tool.js +63 -0
- package/dist/charts/chart-types/count-plot/tool.js.map +1 -0
- package/dist/charts/chart-types/createChartTools.d.ts +17 -0
- package/dist/charts/chart-types/createChartTools.d.ts.map +1 -0
- package/dist/charts/chart-types/createChartTools.js +24 -0
- package/dist/charts/chart-types/createChartTools.js.map +1 -0
- package/dist/charts/chart-types/createDefaultChartTypes.d.ts +12 -0
- package/dist/charts/chart-types/createDefaultChartTypes.d.ts.map +1 -0
- package/dist/charts/chart-types/createDefaultChartTypes.js +30 -0
- package/dist/charts/chart-types/createDefaultChartTypes.js.map +1 -0
- package/dist/charts/chart-types/custom-spec/CustomSpecSettings.d.ts.map +1 -0
- package/dist/charts/chart-types/custom-spec/CustomSpecSettings.js +30 -0
- package/dist/charts/chart-types/custom-spec/CustomSpecSettings.js.map +1 -0
- package/dist/charts/chart-types/custom-spec/definition.d.ts.map +1 -0
- package/dist/charts/chart-types/custom-spec/definition.js +22 -0
- package/dist/charts/chart-types/custom-spec/definition.js.map +1 -0
- package/dist/charts/chart-types/custom-spec/schema.d.ts +19 -0
- package/dist/charts/chart-types/custom-spec/schema.d.ts.map +1 -0
- package/dist/charts/chart-types/custom-spec/schema.js +12 -0
- package/dist/charts/chart-types/custom-spec/schema.js.map +1 -0
- package/dist/charts/chart-types/custom-spec/spec.d.ts.map +1 -0
- package/dist/charts/chart-types/custom-spec/spec.js.map +1 -0
- package/dist/charts/chart-types/data-policy-schema.d.ts +8 -0
- package/dist/charts/chart-types/data-policy-schema.d.ts.map +1 -0
- package/dist/charts/chart-types/data-policy-schema.js +7 -0
- package/dist/charts/chart-types/data-policy-schema.js.map +1 -0
- package/dist/charts/chart-types/errors.d.ts +7 -0
- package/dist/charts/chart-types/errors.d.ts.map +1 -0
- package/dist/charts/chart-types/errors.js +10 -0
- package/dist/charts/chart-types/errors.js.map +1 -0
- package/dist/charts/chart-types/heatmap/HeatmapSettings.d.ts.map +1 -0
- package/dist/charts/chart-types/heatmap/HeatmapSettings.js +9 -0
- package/dist/charts/chart-types/heatmap/HeatmapSettings.js.map +1 -0
- package/dist/charts/chart-types/heatmap/definition.d.ts.map +1 -0
- package/dist/charts/chart-types/heatmap/definition.js +19 -0
- package/dist/charts/chart-types/heatmap/definition.js.map +1 -0
- package/dist/charts/chart-types/heatmap/schema.d.ts +21 -0
- package/dist/charts/chart-types/heatmap/schema.d.ts.map +1 -0
- package/dist/charts/chart-types/heatmap/schema.js +13 -0
- package/dist/charts/chart-types/heatmap/schema.js.map +1 -0
- package/dist/charts/chart-types/heatmap/spec.d.ts.map +1 -0
- package/dist/charts/chart-types/heatmap/spec.js +32 -0
- package/dist/charts/chart-types/heatmap/spec.js.map +1 -0
- package/dist/charts/chart-types/heatmap/tool.d.ts +40 -0
- package/dist/charts/chart-types/heatmap/tool.d.ts.map +1 -0
- package/dist/charts/chart-types/heatmap/tool.js +67 -0
- package/dist/charts/chart-types/heatmap/tool.js.map +1 -0
- package/dist/charts/chart-types/histogram/HistogramSettings.d.ts.map +1 -0
- package/dist/charts/chart-types/histogram/HistogramSettings.js +11 -0
- package/dist/charts/chart-types/histogram/HistogramSettings.js.map +1 -0
- package/dist/charts/chart-types/histogram/definition.d.ts.map +1 -0
- package/dist/charts/chart-types/histogram/definition.js +19 -0
- package/dist/charts/chart-types/histogram/definition.js.map +1 -0
- package/dist/charts/chart-types/histogram/schema.d.ts +24 -0
- package/dist/charts/chart-types/histogram/schema.d.ts.map +1 -0
- package/dist/charts/chart-types/histogram/schema.js +26 -0
- package/dist/charts/chart-types/histogram/schema.js.map +1 -0
- package/dist/charts/chart-types/histogram/spec.d.ts +4 -0
- package/dist/charts/chart-types/histogram/spec.d.ts.map +1 -0
- package/dist/charts/chart-types/histogram/spec.js +37 -0
- package/dist/charts/chart-types/histogram/spec.js.map +1 -0
- package/dist/charts/chart-types/histogram/tool.d.ts +40 -0
- package/dist/charts/chart-types/histogram/tool.d.ts.map +1 -0
- package/dist/charts/chart-types/histogram/tool.js +65 -0
- package/dist/charts/chart-types/histogram/tool.js.map +1 -0
- package/dist/charts/chart-types/index.d.ts +42 -0
- package/dist/charts/chart-types/index.d.ts.map +1 -0
- package/dist/charts/chart-types/index.js +53 -0
- package/dist/charts/chart-types/index.js.map +1 -0
- package/dist/charts/chart-types/line-chart/LineChartSettings.d.ts.map +1 -0
- package/dist/charts/chart-types/line-chart/LineChartSettings.js +24 -0
- package/dist/charts/chart-types/line-chart/LineChartSettings.js.map +1 -0
- package/dist/charts/chart-types/line-chart/definition.d.ts.map +1 -0
- package/dist/charts/chart-types/line-chart/definition.js +26 -0
- package/dist/charts/chart-types/line-chart/definition.js.map +1 -0
- package/dist/charts/chart-types/line-chart/schema.d.ts +70 -0
- package/dist/charts/chart-types/line-chart/schema.d.ts.map +1 -0
- package/dist/charts/chart-types/line-chart/schema.js +29 -0
- package/dist/charts/chart-types/line-chart/schema.js.map +1 -0
- package/dist/charts/chart-types/line-chart/spec.d.ts.map +1 -0
- package/dist/charts/chart-types/line-chart/spec.js +91 -0
- package/dist/charts/chart-types/line-chart/spec.js.map +1 -0
- package/dist/charts/chart-types/line-chart/tool.d.ts +64 -0
- package/dist/charts/chart-types/line-chart/tool.d.ts.map +1 -0
- package/dist/charts/chart-types/line-chart/tool.js +75 -0
- package/dist/charts/chart-types/line-chart/tool.js.map +1 -0
- package/dist/charts/chart-types/mosaicChartTypes.d.ts +101 -0
- package/dist/charts/chart-types/mosaicChartTypes.d.ts.map +1 -0
- package/dist/charts/chart-types/mosaicChartTypes.js +20 -0
- package/dist/charts/chart-types/mosaicChartTypes.js.map +1 -0
- package/dist/charts/dashboard/MosaicDashboardChartHeaderActions.d.ts +4 -0
- package/dist/charts/dashboard/MosaicDashboardChartHeaderActions.d.ts.map +1 -0
- package/dist/charts/dashboard/MosaicDashboardChartHeaderActions.js +16 -0
- package/dist/charts/dashboard/MosaicDashboardChartHeaderActions.js.map +1 -0
- package/dist/charts/dashboard/MosaicDashboardChartRenderer.d.ts +4 -0
- package/dist/charts/dashboard/MosaicDashboardChartRenderer.d.ts.map +1 -0
- package/dist/charts/dashboard/MosaicDashboardChartRenderer.js +23 -0
- package/dist/charts/dashboard/MosaicDashboardChartRenderer.js.map +1 -0
- package/dist/charts/useBrushSelectionParams.d.ts +3 -0
- package/dist/charts/useBrushSelectionParams.d.ts.map +1 -0
- package/dist/charts/useBrushSelectionParams.js +16 -0
- package/dist/charts/useBrushSelectionParams.js.map +1 -0
- package/dist/charts/useChartDataPolicy.d.ts +5 -0
- package/dist/charts/useChartDataPolicy.d.ts.map +1 -0
- package/dist/charts/useChartDataPolicy.js +17 -0
- package/dist/charts/useChartDataPolicy.js.map +1 -0
- package/dist/charts/useChartRetainer.d.ts +4 -0
- package/dist/charts/useChartRetainer.d.ts.map +1 -0
- package/dist/charts/useChartRetainer.js +18 -0
- package/dist/charts/useChartRetainer.js.map +1 -0
- package/dist/charts/useChartTypeDefinition.d.ts +3 -0
- package/dist/charts/useChartTypeDefinition.d.ts.map +1 -0
- package/dist/charts/useChartTypeDefinition.js.map +1 -0
- package/dist/charts/useMosaicChartRenderContext.d.ts +21 -0
- package/dist/charts/useMosaicChartRenderContext.d.ts.map +1 -0
- package/dist/charts/useMosaicChartRenderContext.js +63 -0
- package/dist/charts/useMosaicChartRenderContext.js.map +1 -0
- package/dist/charts/useParseChartConfig.d.ts +12 -0
- package/dist/charts/useParseChartConfig.d.ts.map +1 -0
- package/dist/charts/useParseChartConfig.js +28 -0
- package/dist/charts/useParseChartConfig.js.map +1 -0
- package/dist/charts/useRuntimeIssueReporter.d.ts +7 -0
- package/dist/charts/useRuntimeIssueReporter.d.ts.map +1 -0
- package/dist/charts/useRuntimeIssueReporter.js +19 -0
- package/dist/charts/useRuntimeIssueReporter.js.map +1 -0
- package/dist/charts/worksheet/ChartBlockHeader.d.ts +15 -0
- package/dist/charts/worksheet/ChartBlockHeader.d.ts.map +1 -0
- package/dist/charts/worksheet/ChartBlockHeader.js +9 -0
- package/dist/charts/worksheet/ChartBlockHeader.js.map +1 -0
- package/dist/charts/worksheet/ChartBlockRenderer.d.ts +4 -0
- package/dist/charts/worksheet/ChartBlockRenderer.d.ts.map +1 -0
- package/dist/charts/worksheet/ChartBlockRenderer.js +47 -0
- package/dist/charts/worksheet/ChartBlockRenderer.js.map +1 -0
- package/dist/charts/worksheet/ChartSelectorEmptyState.d.ts +15 -0
- package/dist/charts/worksheet/ChartSelectorEmptyState.d.ts.map +1 -0
- package/dist/charts/worksheet/ChartSelectorEmptyState.js +10 -0
- package/dist/charts/worksheet/ChartSelectorEmptyState.js.map +1 -0
- package/dist/column-types-utils.d.ts +12 -0
- package/dist/column-types-utils.d.ts.map +1 -0
- package/dist/column-types-utils.js +47 -0
- package/dist/column-types-utils.js.map +1 -0
- package/dist/components/AggregationSelector.d.ts +11 -0
- package/dist/components/AggregationSelector.d.ts.map +1 -0
- package/dist/components/AggregationSelector.js.map +1 -0
- package/dist/components/ColumnSelector.d.ts +13 -0
- package/dist/components/ColumnSelector.d.ts.map +1 -0
- package/dist/components/ColumnSelector.js +30 -0
- package/dist/components/ColumnSelector.js.map +1 -0
- package/dist/components/ColumnsContext.d.ts +11 -0
- package/dist/components/ColumnsContext.d.ts.map +1 -0
- package/dist/components/ColumnsContext.js +15 -0
- package/dist/components/ColumnsContext.js.map +1 -0
- package/dist/components/DataTableSelector.d.ts +22 -0
- package/dist/components/DataTableSelector.d.ts.map +1 -0
- package/dist/components/DataTableSelector.js +66 -0
- package/dist/components/DataTableSelector.js.map +1 -0
- package/dist/components/Field.d.ts.map +1 -0
- package/dist/components/Field.js.map +1 -0
- package/dist/components/FieldSelectorInput.d.ts +14 -0
- package/dist/components/FieldSelectorInput.d.ts.map +1 -0
- package/dist/components/FieldSelectorInput.js.map +1 -0
- package/dist/components/MultiFieldSelector.d.ts +14 -0
- package/dist/components/MultiFieldSelector.d.ts.map +1 -0
- package/dist/components/MultiFieldSelector.js +53 -0
- package/dist/components/MultiFieldSelector.js.map +1 -0
- package/dist/components/TableSelector.d.ts +14 -0
- package/dist/components/TableSelector.d.ts.map +1 -0
- package/dist/components/TableSelector.js +23 -0
- package/dist/components/TableSelector.js.map +1 -0
- package/dist/components/TemporalGranularitySelector.d.ts +10 -0
- package/dist/components/TemporalGranularitySelector.d.ts.map +1 -0
- package/dist/components/TemporalGranularitySelector.js +37 -0
- package/dist/components/TemporalGranularitySelector.js.map +1 -0
- package/dist/dashboard/DefaultMosaicDashboardBlock.d.ts +4 -0
- package/dist/dashboard/DefaultMosaicDashboardBlock.d.ts.map +1 -0
- package/dist/dashboard/DefaultMosaicDashboardBlock.js +6 -0
- package/dist/dashboard/DefaultMosaicDashboardBlock.js.map +1 -0
- package/dist/dashboard/MosaicDashboard.d.ts +2 -2
- package/dist/dashboard/MosaicDashboard.d.ts.map +1 -1
- package/dist/dashboard/MosaicDashboard.js +16 -37
- package/dist/dashboard/MosaicDashboard.js.map +1 -1
- package/dist/dashboard/MosaicDashboardSlice.d.ts +210 -177
- package/dist/dashboard/MosaicDashboardSlice.d.ts.map +1 -1
- package/dist/dashboard/MosaicDashboardSlice.js +109 -91
- package/dist/dashboard/MosaicDashboardSlice.js.map +1 -1
- package/dist/dashboard/action-types.d.ts +25 -0
- package/dist/dashboard/action-types.d.ts.map +1 -0
- package/dist/dashboard/action-types.js +5 -0
- package/dist/dashboard/action-types.js.map +1 -0
- package/dist/dashboard/core-types.d.ts +20 -0
- package/dist/dashboard/core-types.d.ts.map +1 -0
- package/dist/dashboard/core-types.js +15 -0
- package/dist/dashboard/core-types.js.map +1 -0
- package/dist/dashboard/createDefaultMosaicDashboardPanelRenderers.d.ts +3 -0
- package/dist/dashboard/createDefaultMosaicDashboardPanelRenderers.d.ts.map +1 -0
- package/dist/dashboard/createDefaultMosaicDashboardPanelRenderers.js +11 -0
- package/dist/dashboard/createDefaultMosaicDashboardPanelRenderers.js.map +1 -0
- package/dist/dashboard/createMosaicDashboardBlockDefinition.d.ts +12 -0
- package/dist/dashboard/createMosaicDashboardBlockDefinition.d.ts.map +1 -0
- package/dist/dashboard/createMosaicDashboardBlockDefinition.js +32 -0
- package/dist/dashboard/createMosaicDashboardBlockDefinition.js.map +1 -0
- package/dist/dashboard/dashboard-types.d.ts +449 -0
- package/dist/dashboard/dashboard-types.d.ts.map +1 -0
- package/dist/dashboard/dashboard-types.js +46 -0
- package/dist/dashboard/dashboard-types.js.map +1 -0
- package/dist/dashboard/defaultPanelActions.d.ts +3 -0
- package/dist/dashboard/defaultPanelActions.d.ts.map +1 -0
- package/dist/dashboard/defaultPanelActions.js +7 -0
- package/dist/dashboard/defaultPanelActions.js.map +1 -0
- package/dist/dashboard/panel/MosaicDashboardPanel.d.ts.map +1 -0
- package/dist/dashboard/panel/MosaicDashboardPanel.js +23 -0
- package/dist/dashboard/panel/MosaicDashboardPanel.js.map +1 -0
- package/dist/dashboard/panel/MosaicDashboardPanelDragOverlay.d.ts.map +1 -0
- package/dist/dashboard/panel/MosaicDashboardPanelDragOverlay.js +17 -0
- package/dist/dashboard/panel/MosaicDashboardPanelDragOverlay.js.map +1 -0
- package/dist/dashboard/panel/MosaicDashboardPanelErrorBoundary.d.ts +17 -0
- package/dist/dashboard/panel/MosaicDashboardPanelErrorBoundary.d.ts.map +1 -0
- package/dist/dashboard/panel/MosaicDashboardPanelErrorBoundary.js +21 -0
- package/dist/dashboard/panel/MosaicDashboardPanelErrorBoundary.js.map +1 -0
- package/dist/dashboard/panel/MosaicDashboardPanelHeader.d.ts +13 -0
- package/dist/dashboard/panel/MosaicDashboardPanelHeader.d.ts.map +1 -0
- package/dist/dashboard/panel/MosaicDashboardPanelHeader.js +30 -0
- package/dist/dashboard/panel/MosaicDashboardPanelHeader.js.map +1 -0
- package/dist/dashboard/panel/MosaicDashboardPanelLayout.d.ts.map +1 -0
- package/dist/dashboard/panel/MosaicDashboardPanelLayout.js.map +1 -0
- package/dist/dashboard/panel/MosaicDashboardPanels.d.ts.map +1 -0
- package/dist/dashboard/panel/MosaicDashboardPanels.js +63 -0
- package/dist/dashboard/panel/MosaicDashboardPanels.js.map +1 -0
- package/dist/dashboard/toolbar/MosaicDashboardAddPanelDropdown.d.ts +7 -0
- package/dist/dashboard/toolbar/MosaicDashboardAddPanelDropdown.d.ts.map +1 -0
- package/dist/dashboard/toolbar/MosaicDashboardAddPanelDropdown.js +12 -0
- package/dist/dashboard/toolbar/MosaicDashboardAddPanelDropdown.js.map +1 -0
- package/dist/dashboard/toolbar/MosaicDashboardResetFiltersButton.d.ts +7 -0
- package/dist/dashboard/toolbar/MosaicDashboardResetFiltersButton.d.ts.map +1 -0
- package/dist/dashboard/toolbar/MosaicDashboardResetFiltersButton.js +36 -0
- package/dist/dashboard/toolbar/MosaicDashboardResetFiltersButton.js.map +1 -0
- package/dist/dashboard/toolbar/MosaicDashboardToolbar.d.ts.map +1 -0
- package/dist/dashboard/toolbar/MosaicDashboardToolbar.js +24 -0
- package/dist/dashboard/toolbar/MosaicDashboardToolbar.js.map +1 -0
- package/dist/dashboard/useAddPanelActions.d.ts +10 -0
- package/dist/dashboard/useAddPanelActions.d.ts.map +1 -0
- package/dist/dashboard/useAddPanelActions.js +26 -0
- package/dist/dashboard/useAddPanelActions.js.map +1 -0
- package/dist/dashboard/useMosaicDashboardAddPanelActionContext.d.ts +3 -0
- package/dist/dashboard/useMosaicDashboardAddPanelActionContext.d.ts.map +1 -0
- package/dist/dashboard/useMosaicDashboardAddPanelActionContext.js +18 -0
- package/dist/dashboard/useMosaicDashboardAddPanelActionContext.js.map +1 -0
- package/dist/dashboard/useSelectedOrFirstTable.d.ts +10 -0
- package/dist/dashboard/useSelectedOrFirstTable.d.ts.map +1 -0
- package/dist/dashboard/useSelectedOrFirstTable.js +25 -0
- package/dist/dashboard/useSelectedOrFirstTable.js.map +1 -0
- package/dist/data-table-explorer/DataTableExplorer.d.ts +37 -0
- package/dist/data-table-explorer/DataTableExplorer.d.ts.map +1 -0
- package/dist/data-table-explorer/DataTableExplorer.js +67 -0
- package/dist/data-table-explorer/DataTableExplorer.js.map +1 -0
- package/dist/data-table-explorer/DataTableExplorerCategoryClient.d.ts +50 -0
- package/dist/data-table-explorer/DataTableExplorerCategoryClient.d.ts.map +1 -0
- package/dist/data-table-explorer/DataTableExplorerCategoryClient.js +121 -0
- package/dist/data-table-explorer/DataTableExplorerCategoryClient.js.map +1 -0
- package/dist/data-table-explorer/DataTableExplorerCountClient.d.ts +28 -0
- package/dist/data-table-explorer/DataTableExplorerCountClient.d.ts.map +1 -0
- package/dist/data-table-explorer/DataTableExplorerCountClient.js +51 -0
- package/dist/data-table-explorer/DataTableExplorerCountClient.js.map +1 -0
- package/dist/data-table-explorer/DataTableExplorerHeader.d.ts +7 -0
- package/dist/data-table-explorer/DataTableExplorerHeader.d.ts.map +1 -0
- package/dist/data-table-explorer/DataTableExplorerHeader.js +195 -0
- package/dist/data-table-explorer/DataTableExplorerHeader.js.map +1 -0
- package/dist/data-table-explorer/DataTableExplorerHistogramClient.d.ts +69 -0
- package/dist/data-table-explorer/DataTableExplorerHistogramClient.d.ts.map +1 -0
- package/dist/data-table-explorer/DataTableExplorerHistogramClient.js +179 -0
- package/dist/data-table-explorer/DataTableExplorerHistogramClient.js.map +1 -0
- package/dist/data-table-explorer/DataTableExplorerPageClient.d.ts +37 -0
- package/dist/data-table-explorer/DataTableExplorerPageClient.d.ts.map +1 -0
- package/dist/data-table-explorer/DataTableExplorerPageClient.js +65 -0
- package/dist/data-table-explorer/DataTableExplorerPageClient.js.map +1 -0
- package/dist/data-table-explorer/DataTableExplorerRows.d.ts +9 -0
- package/dist/data-table-explorer/DataTableExplorerRows.d.ts.map +1 -0
- package/dist/data-table-explorer/DataTableExplorerRows.js +65 -0
- package/dist/data-table-explorer/DataTableExplorerRows.js.map +1 -0
- package/dist/data-table-explorer/DataTableExplorerStatusBar.d.ts +9 -0
- package/dist/data-table-explorer/DataTableExplorerStatusBar.d.ts.map +1 -0
- package/dist/data-table-explorer/DataTableExplorerStatusBar.js +28 -0
- package/dist/data-table-explorer/DataTableExplorerStatusBar.js.map +1 -0
- package/dist/data-table-explorer/DataTableExplorerUnsupportedSummaryClient.d.ts +24 -0
- package/dist/data-table-explorer/DataTableExplorerUnsupportedSummaryClient.d.ts.map +1 -0
- package/dist/data-table-explorer/DataTableExplorerUnsupportedSummaryClient.js +51 -0
- package/dist/data-table-explorer/DataTableExplorerUnsupportedSummaryClient.js.map +1 -0
- package/dist/data-table-explorer/addDataTableExplorerPanelAction.d.ts +3 -0
- package/dist/data-table-explorer/addDataTableExplorerPanelAction.d.ts.map +1 -0
- package/dist/data-table-explorer/addDataTableExplorerPanelAction.js +9 -0
- package/dist/data-table-explorer/addDataTableExplorerPanelAction.js.map +1 -0
- package/dist/data-table-explorer/createDataTableExplorerStore.d.ts +46 -0
- package/dist/data-table-explorer/createDataTableExplorerStore.d.ts.map +1 -0
- package/dist/data-table-explorer/createDataTableExplorerStore.js +126 -0
- package/dist/data-table-explorer/createDataTableExplorerStore.js.map +1 -0
- package/dist/data-table-explorer/dashboard/MosaicDashboardDataTableExplorerPanelRenderer.d.ts +4 -0
- package/dist/data-table-explorer/dashboard/MosaicDashboardDataTableExplorerPanelRenderer.d.ts.map +1 -0
- package/dist/data-table-explorer/dashboard/MosaicDashboardDataTableExplorerPanelRenderer.js +28 -0
- package/dist/data-table-explorer/dashboard/MosaicDashboardDataTableExplorerPanelRenderer.js.map +1 -0
- package/dist/data-table-explorer/dataTableExplorerController.d.ts +64 -0
- package/dist/data-table-explorer/dataTableExplorerController.d.ts.map +1 -0
- package/dist/data-table-explorer/dataTableExplorerController.js +127 -0
- package/dist/data-table-explorer/dataTableExplorerController.js.map +1 -0
- package/dist/data-table-explorer/layout.d.ts +11 -0
- package/dist/data-table-explorer/layout.d.ts.map +1 -0
- package/dist/data-table-explorer/layout.js +23 -0
- package/dist/data-table-explorer/layout.js.map +1 -0
- package/dist/data-table-explorer/types.d.ts +87 -0
- package/dist/data-table-explorer/types.d.ts.map +1 -0
- package/dist/data-table-explorer/types.js.map +1 -0
- package/dist/data-table-explorer/useDataTableExplorer.d.ts +7 -0
- package/dist/data-table-explorer/useDataTableExplorer.d.ts.map +1 -0
- package/dist/data-table-explorer/useDataTableExplorer.js +358 -0
- package/dist/data-table-explorer/useDataTableExplorer.js.map +1 -0
- package/dist/data-table-explorer/utils.d.ts +61 -0
- package/dist/data-table-explorer/utils.d.ts.map +1 -0
- package/dist/data-table-explorer/utils.js +349 -0
- package/dist/data-table-explorer/utils.js.map +1 -0
- package/dist/data-table-explorer/worksheet/DataTableBlockHeader.d.ts +11 -0
- package/dist/data-table-explorer/worksheet/DataTableBlockHeader.d.ts.map +1 -0
- package/dist/data-table-explorer/worksheet/DataTableBlockHeader.js +7 -0
- package/dist/data-table-explorer/worksheet/DataTableBlockHeader.js.map +1 -0
- package/dist/data-table-explorer/worksheet/DataTableBlockRenderer.d.ts +4 -0
- package/dist/data-table-explorer/worksheet/DataTableBlockRenderer.d.ts.map +1 -0
- package/dist/data-table-explorer/worksheet/DataTableBlockRenderer.js +35 -0
- package/dist/data-table-explorer/worksheet/DataTableBlockRenderer.js.map +1 -0
- package/dist/editor/MosaicChartContainer.d.ts +4 -4
- package/dist/editor/MosaicChartContainer.js +4 -4
- package/dist/editor/MosaicChartContainer.js.map +1 -1
- package/dist/hooks/useDataTable.d.ts +3 -0
- package/dist/hooks/useDataTable.d.ts.map +1 -0
- package/dist/hooks/useDataTable.js +28 -0
- package/dist/hooks/useDataTable.js.map +1 -0
- package/dist/hooks/useTablesWithColumns.d.ts +9 -0
- package/dist/hooks/useTablesWithColumns.d.ts.map +1 -0
- package/dist/hooks/useTablesWithColumns.js +13 -0
- package/dist/hooks/useTablesWithColumns.js.map +1 -0
- package/dist/index.d.ts +48 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +42 -12
- package/dist/index.js.map +1 -1
- package/dist/schemas/common.d.ts +20 -0
- package/dist/schemas/common.d.ts.map +1 -0
- package/dist/schemas/common.js +15 -0
- package/dist/schemas/common.js.map +1 -0
- package/dist/schemas/index.d.ts +2 -0
- package/dist/schemas/index.d.ts.map +1 -0
- package/dist/schemas/index.js +2 -0
- package/dist/schemas/index.js.map +1 -0
- package/dist/useMosaicClient.d.ts +4 -0
- package/dist/useMosaicClient.d.ts.map +1 -1
- package/dist/useMosaicClient.js +33 -3
- package/dist/useMosaicClient.js.map +1 -1
- package/dist/useVgPlotChartError.d.ts +13 -0
- package/dist/useVgPlotChartError.d.ts.map +1 -0
- package/dist/useVgPlotChartError.js +18 -0
- package/dist/useVgPlotChartError.js.map +1 -0
- package/dist/useVgPlotChartRender.d.ts +24 -0
- package/dist/useVgPlotChartRender.d.ts.map +1 -0
- package/dist/useVgPlotChartRender.js +162 -0
- package/dist/useVgPlotChartRender.js.map +1 -0
- package/dist/useVgPlotChartRetention.d.ts +21 -0
- package/dist/useVgPlotChartRetention.d.ts.map +1 -0
- package/dist/useVgPlotChartRetention.js +63 -0
- package/dist/useVgPlotChartRetention.js.map +1 -0
- package/dist/wrapCoordinatorWithValidation.d.ts +11 -0
- package/dist/wrapCoordinatorWithValidation.d.ts.map +1 -0
- package/dist/wrapCoordinatorWithValidation.js +23 -0
- package/dist/wrapCoordinatorWithValidation.js.map +1 -0
- package/package.json +32 -13
- package/dist/boxplot/BoxPlotClient.d.ts +0 -58
- package/dist/boxplot/BoxPlotClient.d.ts.map +0 -1
- package/dist/boxplot/BoxPlotClient.js +0 -264
- package/dist/boxplot/BoxPlotClient.js.map +0 -1
- package/dist/chart/MosaicDashboardChart.d.ts +0 -14
- package/dist/chart/MosaicDashboardChart.d.ts.map +0 -1
- package/dist/chart/MosaicDashboardChart.js +0 -21
- package/dist/chart/MosaicDashboardChart.js.map +0 -1
- package/dist/chart/MosaicDashboardChartContent.d.ts +0 -16
- package/dist/chart/MosaicDashboardChartContent.d.ts.map +0 -1
- package/dist/chart/MosaicDashboardChartContent.js +0 -18
- package/dist/chart/MosaicDashboardChartContent.js.map +0 -1
- package/dist/chart/MosaicDashboardChartHeaderActions.d.ts +0 -4
- package/dist/chart/MosaicDashboardChartHeaderActions.d.ts.map +0 -1
- package/dist/chart/MosaicDashboardChartHeaderActions.js +0 -16
- package/dist/chart/MosaicDashboardChartHeaderActions.js.map +0 -1
- package/dist/chart/MosaicDashboardChartRenderer.d.ts +0 -3
- package/dist/chart/MosaicDashboardChartRenderer.d.ts.map +0 -1
- package/dist/chart/MosaicDashboardChartRenderer.js +0 -31
- package/dist/chart/MosaicDashboardChartRenderer.js.map +0 -1
- package/dist/chart/MosaicDashboardComponentChart.d.ts +0 -14
- package/dist/chart/MosaicDashboardComponentChart.d.ts.map +0 -1
- package/dist/chart/MosaicDashboardComponentChart.js +0 -11
- package/dist/chart/MosaicDashboardComponentChart.js.map +0 -1
- package/dist/chart/MosaicDashboardVgPlotChart.d.ts +0 -10
- package/dist/chart/MosaicDashboardVgPlotChart.d.ts.map +0 -1
- package/dist/chart/MosaicDashboardVgPlotChart.js +0 -10
- package/dist/chart/MosaicDashboardVgPlotChart.js.map +0 -1
- package/dist/chart/MosaicDashboardVgPlotError.d.ts +0 -8
- package/dist/chart/MosaicDashboardVgPlotError.d.ts.map +0 -1
- package/dist/chart/MosaicDashboardVgPlotError.js +0 -11
- package/dist/chart/MosaicDashboardVgPlotError.js.map +0 -1
- package/dist/chart/chart-settings/ChartSettings.d.ts +0 -44
- package/dist/chart/chart-settings/ChartSettings.d.ts.map +0 -1
- package/dist/chart/chart-settings/ChartSettings.js +0 -71
- package/dist/chart/chart-settings/ChartSettings.js.map +0 -1
- package/dist/chart/chart-settings/ChartSettingsContent.d.ts +0 -13
- package/dist/chart/chart-settings/ChartSettingsContent.d.ts.map +0 -1
- package/dist/chart/chart-settings/ChartSettingsContent.js +0 -18
- package/dist/chart/chart-settings/ChartSettingsContent.js.map +0 -1
- package/dist/chart/chart-settings/ChartSettingsContext.d.ts +0 -27
- package/dist/chart/chart-settings/ChartSettingsContext.d.ts.map +0 -1
- package/dist/chart/chart-settings/ChartSettingsContext.js +0 -35
- package/dist/chart/chart-settings/ChartSettingsContext.js.map +0 -1
- package/dist/chart/chart-settings/ChartSettingsPanel.d.ts +0 -14
- package/dist/chart/chart-settings/ChartSettingsPanel.d.ts.map +0 -1
- package/dist/chart/chart-settings/ChartSettingsPanel.js +0 -17
- package/dist/chart/chart-settings/ChartSettingsPanel.js.map +0 -1
- package/dist/chart/chart-settings/ChartSpecViewerPanel.d.ts +0 -9
- package/dist/chart/chart-settings/ChartSpecViewerPanel.d.ts.map +0 -1
- package/dist/chart/chart-settings/ChartSpecViewerPanel.js +0 -11
- package/dist/chart/chart-settings/ChartSpecViewerPanel.js.map +0 -1
- package/dist/chart/chart-settings/ChartTypeSelector.d.ts +0 -9
- package/dist/chart/chart-settings/ChartTypeSelector.d.ts.map +0 -1
- package/dist/chart/chart-settings/ChartTypeSelector.js +0 -16
- package/dist/chart/chart-settings/ChartTypeSelector.js.map +0 -1
- package/dist/chart/chart-settings/useTableColumns.d.ts +0 -3
- package/dist/chart/chart-settings/useTableColumns.d.ts.map +0 -1
- package/dist/chart/chart-settings/useTableColumns.js +0 -12
- package/dist/chart/chart-settings/useTableColumns.js.map +0 -1
- package/dist/chart/useBrushSelectionParams.d.ts +0 -3
- package/dist/chart/useBrushSelectionParams.d.ts.map +0 -1
- package/dist/chart/useBrushSelectionParams.js +0 -16
- package/dist/chart/useBrushSelectionParams.js.map +0 -1
- package/dist/chart/useChartRetainer.d.ts +0 -3
- package/dist/chart/useChartRetainer.d.ts.map +0 -1
- package/dist/chart/useChartRetainer.js +0 -11
- package/dist/chart/useChartRetainer.js.map +0 -1
- package/dist/chart/useGenerateSpec.d.ts +0 -13
- package/dist/chart/useGenerateSpec.d.ts.map +0 -1
- package/dist/chart/useGenerateSpec.js +0 -32
- package/dist/chart/useGenerateSpec.js.map +0 -1
- package/dist/chart-builders/AggregationSelector.d.ts +0 -11
- package/dist/chart-builders/AggregationSelector.d.ts.map +0 -1
- package/dist/chart-builders/AggregationSelector.js.map +0 -1
- package/dist/chart-builders/ColumnSelector.d.ts +0 -15
- package/dist/chart-builders/ColumnSelector.d.ts.map +0 -1
- package/dist/chart-builders/ColumnSelector.js +0 -31
- package/dist/chart-builders/ColumnSelector.js.map +0 -1
- package/dist/chart-builders/Field.d.ts.map +0 -1
- package/dist/chart-builders/Field.js.map +0 -1
- package/dist/chart-builders/FieldSelectorInput.d.ts +0 -14
- package/dist/chart-builders/FieldSelectorInput.d.ts.map +0 -1
- package/dist/chart-builders/FieldSelectorInput.js.map +0 -1
- package/dist/chart-builders/MultiFieldSelector.d.ts +0 -14
- package/dist/chart-builders/MultiFieldSelector.d.ts.map +0 -1
- package/dist/chart-builders/MultiFieldSelector.js +0 -53
- package/dist/chart-builders/MultiFieldSelector.js.map +0 -1
- package/dist/chart-builders/TemporalGranularitySelector.d.ts +0 -10
- package/dist/chart-builders/TemporalGranularitySelector.d.ts.map +0 -1
- package/dist/chart-builders/TemporalGranularitySelector.js +0 -37
- package/dist/chart-builders/TemporalGranularitySelector.js.map +0 -1
- package/dist/chart-builders/constants.d.ts +0 -12
- package/dist/chart-builders/constants.d.ts.map +0 -1
- package/dist/chart-builders/constants.js +0 -47
- package/dist/chart-builders/constants.js.map +0 -1
- package/dist/chart-types/base-types.d.ts +0 -148
- package/dist/chart-types/base-types.d.ts.map +0 -1
- package/dist/chart-types/base-types.js.map +0 -1
- package/dist/chart-types/box-plot/BoxPlotSettings.d.ts.map +0 -1
- package/dist/chart-types/box-plot/BoxPlotSettings.js +0 -9
- package/dist/chart-types/box-plot/BoxPlotSettings.js.map +0 -1
- package/dist/chart-types/box-plot/definition.d.ts.map +0 -1
- package/dist/chart-types/box-plot/definition.js +0 -19
- package/dist/chart-types/box-plot/definition.js.map +0 -1
- package/dist/chart-types/box-plot/renderer/BoxPlotErrorBoundary.d.ts.map +0 -1
- package/dist/chart-types/box-plot/renderer/BoxPlotErrorBoundary.js.map +0 -1
- package/dist/chart-types/box-plot/renderer/BoxPlotPanelRenderer.d.ts.map +0 -1
- package/dist/chart-types/box-plot/renderer/BoxPlotPanelRenderer.js +0 -115
- package/dist/chart-types/box-plot/renderer/BoxPlotPanelRenderer.js.map +0 -1
- package/dist/chart-types/box-plot/renderer/constants.d.ts +0 -24
- package/dist/chart-types/box-plot/renderer/constants.d.ts.map +0 -1
- package/dist/chart-types/box-plot/renderer/constants.js.map +0 -1
- package/dist/chart-types/box-plot/renderer/plot.d.ts +0 -14
- package/dist/chart-types/box-plot/renderer/plot.d.ts.map +0 -1
- package/dist/chart-types/box-plot/renderer/plot.js.map +0 -1
- package/dist/chart-types/box-plot/renderer/useBoxPlotClient.d.ts +0 -14
- package/dist/chart-types/box-plot/renderer/useBoxPlotClient.d.ts.map +0 -1
- package/dist/chart-types/box-plot/renderer/useBoxPlotClient.js +0 -45
- package/dist/chart-types/box-plot/renderer/useBoxPlotClient.js.map +0 -1
- package/dist/chart-types/box-plot/renderer/utils.d.ts +0 -6
- package/dist/chart-types/box-plot/renderer/utils.d.ts.map +0 -1
- package/dist/chart-types/box-plot/renderer/utils.js.map +0 -1
- package/dist/chart-types/box-plot/schema.d.ts +0 -16
- package/dist/chart-types/box-plot/schema.d.ts.map +0 -1
- package/dist/chart-types/box-plot/schema.js +0 -11
- package/dist/chart-types/box-plot/schema.js.map +0 -1
- package/dist/chart-types/box-plot/tool.d.ts +0 -44
- package/dist/chart-types/box-plot/tool.d.ts.map +0 -1
- package/dist/chart-types/box-plot/tool.js +0 -59
- package/dist/chart-types/box-plot/tool.js.map +0 -1
- package/dist/chart-types/bubble-chart/BubbleChartSettings.d.ts.map +0 -1
- package/dist/chart-types/bubble-chart/BubbleChartSettings.js +0 -9
- package/dist/chart-types/bubble-chart/BubbleChartSettings.js.map +0 -1
- package/dist/chart-types/bubble-chart/definition.d.ts.map +0 -1
- package/dist/chart-types/bubble-chart/definition.js +0 -19
- package/dist/chart-types/bubble-chart/definition.js.map +0 -1
- package/dist/chart-types/bubble-chart/schema.d.ts +0 -18
- package/dist/chart-types/bubble-chart/schema.d.ts.map +0 -1
- package/dist/chart-types/bubble-chart/schema.js +0 -15
- package/dist/chart-types/bubble-chart/schema.js.map +0 -1
- package/dist/chart-types/bubble-chart/spec.d.ts.map +0 -1
- package/dist/chart-types/bubble-chart/spec.js +0 -31
- package/dist/chart-types/bubble-chart/spec.js.map +0 -1
- package/dist/chart-types/bubble-chart/tool.d.ts +0 -46
- package/dist/chart-types/bubble-chart/tool.d.ts.map +0 -1
- package/dist/chart-types/bubble-chart/tool.js +0 -58
- package/dist/chart-types/bubble-chart/tool.js.map +0 -1
- package/dist/chart-types/chart-config.d.ts +0 -92
- package/dist/chart-types/chart-config.d.ts.map +0 -1
- package/dist/chart-types/chart-config.js +0 -47
- package/dist/chart-types/chart-config.js.map +0 -1
- package/dist/chart-types/count-plot/CountPlotSettings.d.ts.map +0 -1
- package/dist/chart-types/count-plot/CountPlotSettings.js +0 -9
- package/dist/chart-types/count-plot/CountPlotSettings.js.map +0 -1
- package/dist/chart-types/count-plot/definition.d.ts.map +0 -1
- package/dist/chart-types/count-plot/definition.js +0 -19
- package/dist/chart-types/count-plot/definition.js.map +0 -1
- package/dist/chart-types/count-plot/schema.d.ts +0 -14
- package/dist/chart-types/count-plot/schema.d.ts.map +0 -1
- package/dist/chart-types/count-plot/schema.js +0 -13
- package/dist/chart-types/count-plot/schema.js.map +0 -1
- package/dist/chart-types/count-plot/spec.d.ts.map +0 -1
- package/dist/chart-types/count-plot/spec.js +0 -49
- package/dist/chart-types/count-plot/spec.js.map +0 -1
- package/dist/chart-types/count-plot/tool.d.ts +0 -42
- package/dist/chart-types/count-plot/tool.d.ts.map +0 -1
- package/dist/chart-types/count-plot/tool.js +0 -55
- package/dist/chart-types/count-plot/tool.js.map +0 -1
- package/dist/chart-types/custom-spec/CustomSpecSettings.d.ts.map +0 -1
- package/dist/chart-types/custom-spec/CustomSpecSettings.js +0 -30
- package/dist/chart-types/custom-spec/CustomSpecSettings.js.map +0 -1
- package/dist/chart-types/custom-spec/definition.d.ts.map +0 -1
- package/dist/chart-types/custom-spec/definition.js +0 -17
- package/dist/chart-types/custom-spec/definition.js.map +0 -1
- package/dist/chart-types/custom-spec/schema.d.ts +0 -14
- package/dist/chart-types/custom-spec/schema.d.ts.map +0 -1
- package/dist/chart-types/custom-spec/schema.js +0 -10
- package/dist/chart-types/custom-spec/schema.js.map +0 -1
- package/dist/chart-types/custom-spec/spec.d.ts.map +0 -1
- package/dist/chart-types/custom-spec/spec.js.map +0 -1
- package/dist/chart-types/errors.d.ts +0 -23
- package/dist/chart-types/errors.d.ts.map +0 -1
- package/dist/chart-types/errors.js +0 -26
- package/dist/chart-types/errors.js.map +0 -1
- package/dist/chart-types/heatmap/HeatmapSettings.d.ts.map +0 -1
- package/dist/chart-types/heatmap/HeatmapSettings.js +0 -9
- package/dist/chart-types/heatmap/HeatmapSettings.js.map +0 -1
- package/dist/chart-types/heatmap/definition.d.ts.map +0 -1
- package/dist/chart-types/heatmap/definition.js +0 -19
- package/dist/chart-types/heatmap/definition.js.map +0 -1
- package/dist/chart-types/heatmap/schema.d.ts +0 -16
- package/dist/chart-types/heatmap/schema.d.ts.map +0 -1
- package/dist/chart-types/heatmap/schema.js +0 -11
- package/dist/chart-types/heatmap/schema.js.map +0 -1
- package/dist/chart-types/heatmap/spec.d.ts.map +0 -1
- package/dist/chart-types/heatmap/spec.js +0 -32
- package/dist/chart-types/heatmap/spec.js.map +0 -1
- package/dist/chart-types/heatmap/tool.d.ts +0 -44
- package/dist/chart-types/heatmap/tool.d.ts.map +0 -1
- package/dist/chart-types/heatmap/tool.js +0 -59
- package/dist/chart-types/heatmap/tool.js.map +0 -1
- package/dist/chart-types/histogram/HistogramSettings.d.ts.map +0 -1
- package/dist/chart-types/histogram/HistogramSettings.js +0 -9
- package/dist/chart-types/histogram/HistogramSettings.js.map +0 -1
- package/dist/chart-types/histogram/definition.d.ts.map +0 -1
- package/dist/chart-types/histogram/definition.js +0 -19
- package/dist/chart-types/histogram/definition.js.map +0 -1
- package/dist/chart-types/histogram/schema.d.ts +0 -14
- package/dist/chart-types/histogram/schema.d.ts.map +0 -1
- package/dist/chart-types/histogram/schema.js +0 -13
- package/dist/chart-types/histogram/schema.js.map +0 -1
- package/dist/chart-types/histogram/spec.d.ts +0 -4
- package/dist/chart-types/histogram/spec.d.ts.map +0 -1
- package/dist/chart-types/histogram/spec.js +0 -36
- package/dist/chart-types/histogram/spec.js.map +0 -1
- package/dist/chart-types/histogram/tool.d.ts +0 -42
- package/dist/chart-types/histogram/tool.d.ts.map +0 -1
- package/dist/chart-types/histogram/tool.js +0 -55
- package/dist/chart-types/histogram/tool.js.map +0 -1
- package/dist/chart-types/index.d.ts +0 -115
- package/dist/chart-types/index.d.ts.map +0 -1
- package/dist/chart-types/index.js +0 -100
- package/dist/chart-types/index.js.map +0 -1
- package/dist/chart-types/line-chart/LineChartSettings.d.ts.map +0 -1
- package/dist/chart-types/line-chart/LineChartSettings.js +0 -22
- package/dist/chart-types/line-chart/LineChartSettings.js.map +0 -1
- package/dist/chart-types/line-chart/definition.d.ts.map +0 -1
- package/dist/chart-types/line-chart/definition.js +0 -19
- package/dist/chart-types/line-chart/definition.js.map +0 -1
- package/dist/chart-types/line-chart/schema.d.ts +0 -83
- package/dist/chart-types/line-chart/schema.d.ts.map +0 -1
- package/dist/chart-types/line-chart/schema.js +0 -39
- package/dist/chart-types/line-chart/schema.js.map +0 -1
- package/dist/chart-types/line-chart/spec.d.ts.map +0 -1
- package/dist/chart-types/line-chart/spec.js +0 -91
- package/dist/chart-types/line-chart/spec.js.map +0 -1
- package/dist/chart-types/line-chart/tool.d.ts +0 -68
- package/dist/chart-types/line-chart/tool.d.ts.map +0 -1
- package/dist/chart-types/line-chart/tool.js +0 -66
- package/dist/chart-types/line-chart/tool.js.map +0 -1
- package/dist/chart-types/tool-schemas.d.ts +0 -8
- package/dist/chart-types/tool-schemas.d.ts.map +0 -1
- package/dist/chart-types/tool-schemas.js +0 -18
- package/dist/chart-types/tool-schemas.js.map +0 -1
- package/dist/chart-types/tool-types.d.ts +0 -26
- package/dist/chart-types/tool-types.d.ts.map +0 -1
- package/dist/chart-types/tool-types.js.map +0 -1
- package/dist/chart-types/tool-validation.d.ts +0 -3
- package/dist/chart-types/tool-validation.d.ts.map +0 -1
- package/dist/chart-types/tool-validation.js.map +0 -1
- package/dist/chart-types/useChartTypeDefinition.d.ts +0 -3
- package/dist/chart-types/useChartTypeDefinition.d.ts.map +0 -1
- package/dist/chart-types/useChartTypeDefinition.js.map +0 -1
- package/dist/dashboard/DashboardPanelErrorBoundary.d.ts +0 -17
- package/dist/dashboard/DashboardPanelErrorBoundary.d.ts.map +0 -1
- package/dist/dashboard/DashboardPanelErrorBoundary.js +0 -21
- package/dist/dashboard/DashboardPanelErrorBoundary.js.map +0 -1
- package/dist/dashboard/MosaicDashboardEmptyState.d.ts +0 -2
- package/dist/dashboard/MosaicDashboardEmptyState.d.ts.map +0 -1
- package/dist/dashboard/MosaicDashboardEmptyState.js +0 -50
- package/dist/dashboard/MosaicDashboardEmptyState.js.map +0 -1
- package/dist/dashboard/MosaicDashboardPanel.d.ts.map +0 -1
- package/dist/dashboard/MosaicDashboardPanel.js +0 -26
- package/dist/dashboard/MosaicDashboardPanel.js.map +0 -1
- package/dist/dashboard/MosaicDashboardPanelDragOverlay.d.ts.map +0 -1
- package/dist/dashboard/MosaicDashboardPanelDragOverlay.js +0 -17
- package/dist/dashboard/MosaicDashboardPanelDragOverlay.js.map +0 -1
- package/dist/dashboard/MosaicDashboardPanelHeader.d.ts +0 -13
- package/dist/dashboard/MosaicDashboardPanelHeader.d.ts.map +0 -1
- package/dist/dashboard/MosaicDashboardPanelHeader.js +0 -30
- package/dist/dashboard/MosaicDashboardPanelHeader.js.map +0 -1
- package/dist/dashboard/MosaicDashboardPanelLayout.d.ts.map +0 -1
- package/dist/dashboard/MosaicDashboardPanelLayout.js.map +0 -1
- package/dist/dashboard/MosaicDashboardPanels.d.ts.map +0 -1
- package/dist/dashboard/MosaicDashboardPanels.js +0 -53
- package/dist/dashboard/MosaicDashboardPanels.js.map +0 -1
- package/dist/dashboard/MosaicDashboardToolbar.d.ts.map +0 -1
- package/dist/dashboard/MosaicDashboardToolbar.js +0 -86
- package/dist/dashboard/MosaicDashboardToolbar.js.map +0 -1
- package/dist/dashboard/defaultPanelRenderers.d.ts +0 -3
- package/dist/dashboard/defaultPanelRenderers.d.ts.map +0 -1
- package/dist/dashboard/defaultPanelRenderers.js +0 -13
- package/dist/dashboard/defaultPanelRenderers.js.map +0 -1
- package/dist/profiler/MosaicDashboardProfilerPanelRenderer.d.ts +0 -3
- package/dist/profiler/MosaicDashboardProfilerPanelRenderer.d.ts.map +0 -1
- package/dist/profiler/MosaicDashboardProfilerPanelRenderer.js +0 -32
- package/dist/profiler/MosaicDashboardProfilerPanelRenderer.js.map +0 -1
- package/dist/profiler/MosaicProfiler.d.ts +0 -32
- package/dist/profiler/MosaicProfiler.d.ts.map +0 -1
- package/dist/profiler/MosaicProfiler.js +0 -57
- package/dist/profiler/MosaicProfiler.js.map +0 -1
- package/dist/profiler/MosaicProfilerHeader.d.ts +0 -7
- package/dist/profiler/MosaicProfilerHeader.d.ts.map +0 -1
- package/dist/profiler/MosaicProfilerHeader.js +0 -196
- package/dist/profiler/MosaicProfilerHeader.js.map +0 -1
- package/dist/profiler/MosaicProfilerRows.d.ts +0 -9
- package/dist/profiler/MosaicProfilerRows.d.ts.map +0 -1
- package/dist/profiler/MosaicProfilerRows.js +0 -65
- package/dist/profiler/MosaicProfilerRows.js.map +0 -1
- package/dist/profiler/MosaicProfilerStatusBar.d.ts +0 -9
- package/dist/profiler/MosaicProfilerStatusBar.d.ts.map +0 -1
- package/dist/profiler/MosaicProfilerStatusBar.js +0 -28
- package/dist/profiler/MosaicProfilerStatusBar.js.map +0 -1
- package/dist/profiler/ProfilerCategoryClient.d.ts +0 -50
- package/dist/profiler/ProfilerCategoryClient.d.ts.map +0 -1
- package/dist/profiler/ProfilerCategoryClient.js +0 -121
- package/dist/profiler/ProfilerCategoryClient.js.map +0 -1
- package/dist/profiler/ProfilerCountClient.d.ts +0 -28
- package/dist/profiler/ProfilerCountClient.d.ts.map +0 -1
- package/dist/profiler/ProfilerCountClient.js +0 -51
- package/dist/profiler/ProfilerCountClient.js.map +0 -1
- package/dist/profiler/ProfilerHistogramClient.d.ts +0 -69
- package/dist/profiler/ProfilerHistogramClient.d.ts.map +0 -1
- package/dist/profiler/ProfilerHistogramClient.js +0 -179
- package/dist/profiler/ProfilerHistogramClient.js.map +0 -1
- package/dist/profiler/ProfilerPageClient.d.ts +0 -37
- package/dist/profiler/ProfilerPageClient.d.ts.map +0 -1
- package/dist/profiler/ProfilerPageClient.js +0 -65
- package/dist/profiler/ProfilerPageClient.js.map +0 -1
- package/dist/profiler/ProfilerUnsupportedSummaryClient.d.ts +0 -24
- package/dist/profiler/ProfilerUnsupportedSummaryClient.d.ts.map +0 -1
- package/dist/profiler/ProfilerUnsupportedSummaryClient.js +0 -51
- package/dist/profiler/ProfilerUnsupportedSummaryClient.js.map +0 -1
- package/dist/profiler/createProfilerStore.d.ts +0 -45
- package/dist/profiler/createProfilerStore.d.ts.map +0 -1
- package/dist/profiler/createProfilerStore.js +0 -120
- package/dist/profiler/createProfilerStore.js.map +0 -1
- package/dist/profiler/layout.d.ts +0 -7
- package/dist/profiler/layout.d.ts.map +0 -1
- package/dist/profiler/layout.js +0 -13
- package/dist/profiler/layout.js.map +0 -1
- package/dist/profiler/profilerController.d.ts +0 -64
- package/dist/profiler/profilerController.d.ts.map +0 -1
- package/dist/profiler/profilerController.js +0 -123
- package/dist/profiler/profilerController.js.map +0 -1
- package/dist/profiler/types.d.ts +0 -86
- package/dist/profiler/types.d.ts.map +0 -1
- package/dist/profiler/types.js.map +0 -1
- package/dist/profiler/useMosaicProfiler.d.ts +0 -7
- package/dist/profiler/useMosaicProfiler.d.ts.map +0 -1
- package/dist/profiler/useMosaicProfiler.js +0 -339
- package/dist/profiler/useMosaicProfiler.js.map +0 -1
- package/dist/profiler/utils.d.ts +0 -61
- package/dist/profiler/utils.d.ts.map +0 -1
- package/dist/profiler/utils.js +0 -347
- package/dist/profiler/utils.js.map +0 -1
- package/dist/text/MosaicDashboardTextRenderer.d.ts +0 -3
- package/dist/text/MosaicDashboardTextRenderer.d.ts.map +0 -1
- package/dist/text/MosaicDashboardTextRenderer.js +0 -46
- package/dist/text/MosaicDashboardTextRenderer.js.map +0 -1
- /package/dist/{chart-types → ai}/tool-types.js +0 -0
- /package/dist/{chart-types → ai}/tool-validation.js +0 -0
- /package/dist/{chart-types → charts/chart-types}/base-types.js +0 -0
- /package/dist/{chart-types → charts/chart-types}/box-plot/BoxPlotSettings.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/box-plot/definition.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/box-plot/renderer/BoxPlotErrorBoundary.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/box-plot/renderer/BoxPlotErrorBoundary.js +0 -0
- /package/dist/{chart-types → charts/chart-types}/box-plot/renderer/BoxPlotPanelRenderer.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/box-plot/renderer/constants.js +0 -0
- /package/dist/{chart-types → charts/chart-types}/box-plot/renderer/plot.js +0 -0
- /package/dist/{chart-types → charts/chart-types}/box-plot/renderer/utils.js +0 -0
- /package/dist/{chart-types → charts/chart-types}/bubble-chart/BubbleChartSettings.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/bubble-chart/definition.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/bubble-chart/spec.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/count-plot/CountPlotSettings.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/count-plot/definition.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/count-plot/spec.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/custom-spec/CustomSpecSettings.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/custom-spec/definition.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/custom-spec/spec.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/custom-spec/spec.js +0 -0
- /package/dist/{chart-types → charts/chart-types}/heatmap/HeatmapSettings.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/heatmap/definition.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/heatmap/spec.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/histogram/HistogramSettings.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/histogram/definition.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/line-chart/LineChartSettings.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/line-chart/definition.d.ts +0 -0
- /package/dist/{chart-types → charts/chart-types}/line-chart/spec.d.ts +0 -0
- /package/dist/{chart-types → charts}/useChartTypeDefinition.js +0 -0
- /package/dist/{chart-builders → components}/AggregationSelector.js +0 -0
- /package/dist/{chart-builders → components}/Field.d.ts +0 -0
- /package/dist/{chart-builders → components}/Field.js +0 -0
- /package/dist/{chart-builders → components}/FieldSelectorInput.js +0 -0
- /package/dist/dashboard/{MosaicDashboardPanel.d.ts → panel/MosaicDashboardPanel.d.ts} +0 -0
- /package/dist/dashboard/{MosaicDashboardPanelDragOverlay.d.ts → panel/MosaicDashboardPanelDragOverlay.d.ts} +0 -0
- /package/dist/dashboard/{MosaicDashboardPanelLayout.d.ts → panel/MosaicDashboardPanelLayout.d.ts} +0 -0
- /package/dist/dashboard/{MosaicDashboardPanelLayout.js → panel/MosaicDashboardPanelLayout.js} +0 -0
- /package/dist/dashboard/{MosaicDashboardPanels.d.ts → panel/MosaicDashboardPanels.d.ts} +0 -0
- /package/dist/dashboard/{MosaicDashboardToolbar.d.ts → toolbar/MosaicDashboardToolbar.d.ts} +0 -0
- /package/dist/{profiler → data-table-explorer}/types.js +0 -0
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { DbSliceState } from '@sqlrooms/db';
|
|
2
|
-
import { type
|
|
2
|
+
import { type DuckDbSliceState } from '@sqlrooms/duckdb';
|
|
3
3
|
import { type LayoutSliceState } from '@sqlrooms/layout';
|
|
4
|
-
import {
|
|
4
|
+
import { LayoutNode } from '@sqlrooms/layout-config';
|
|
5
5
|
import { BaseRoomStoreState, SliceFunctions } from '@sqlrooms/room-store';
|
|
6
6
|
import type { ComponentType } from 'react';
|
|
7
7
|
import { z } from 'zod';
|
|
8
|
-
import type { ChartTypeDefinition } from '../chart-types/base-types';
|
|
8
|
+
import type { ChartTypeDefinition } from '../charts/chart-types/base-types';
|
|
9
|
+
import { ChartConfig } from '../charts/chart-types/chart-config';
|
|
9
10
|
import { type MosaicSliceState } from '../MosaicSlice';
|
|
10
11
|
import { type RetainedVgPlotChart } from '../VgPlotChart';
|
|
11
|
-
import {
|
|
12
|
+
import type { MosaicDashboardAddPanelAction } from './action-types';
|
|
13
|
+
import type { ChartRuntimeIssue } from '../chart-runtime';
|
|
12
14
|
/**
|
|
13
15
|
* Panel key used for function-form panel definitions registered by
|
|
14
16
|
* `MosaicDashboardPanels`. Individual dashboard panels are represented as
|
|
@@ -17,48 +19,43 @@ import { ChartConfig } from '../chart-types/chart-config';
|
|
|
17
19
|
*/
|
|
18
20
|
export declare const MOSAIC_DASHBOARD_PANEL = "mosaic-dashboard-panel";
|
|
19
21
|
export declare const MOSAIC_DASHBOARD_CHART_PANEL_TYPE = "vgplot";
|
|
20
|
-
export declare const
|
|
21
|
-
export declare const MOSAIC_DASHBOARD_TEXT_PANEL_TYPE = "text";
|
|
22
|
+
export declare const MOSAIC_DASHBOARD_DATA_TABLE_EXPLORER_PANEL_TYPE = "data-table-explorer";
|
|
22
23
|
export declare const MosaicDashboardLayoutType: z.ZodEnum<{
|
|
23
24
|
grid: "grid";
|
|
24
25
|
dock: "dock";
|
|
25
26
|
}>;
|
|
26
27
|
export type MosaicDashboardLayoutType = z.infer<typeof MosaicDashboardLayoutType>;
|
|
27
|
-
export declare const
|
|
28
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
29
|
-
sqlQuery: z.ZodOptional<z.ZodString>;
|
|
30
|
-
}, z.core.$strip>;
|
|
31
|
-
export type MosaicDashboardPanelSource = z.infer<typeof MosaicDashboardPanelSource>;
|
|
32
|
-
export declare const ProfilerPanelConfig: z.ZodObject<{
|
|
28
|
+
export declare const DataTableExplorerPanelConfig: z.ZodObject<{
|
|
33
29
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
34
30
|
}, z.core.$strip>;
|
|
35
|
-
export type
|
|
36
|
-
export declare const TextPanelConfig: z.ZodObject<{
|
|
37
|
-
content: z.ZodDefault<z.ZodString>;
|
|
38
|
-
toolbarOpen: z.ZodDefault<z.ZodBoolean>;
|
|
39
|
-
sourcePanelOpen: z.ZodDefault<z.ZodBoolean>;
|
|
40
|
-
}, z.core.$strip>;
|
|
41
|
-
export type TextPanelConfig = z.infer<typeof TextPanelConfig>;
|
|
31
|
+
export type DataTableExplorerPanelConfig = z.infer<typeof DataTableExplorerPanelConfig>;
|
|
42
32
|
export declare const ChartPanelConfig: z.ZodObject<{
|
|
43
33
|
id: z.ZodString;
|
|
44
34
|
type: z.ZodLiteral<"vgplot">;
|
|
45
35
|
title: z.ZodDefault<z.ZodString>;
|
|
46
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
47
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
48
|
-
sqlQuery: z.ZodOptional<z.ZodString>;
|
|
49
|
-
}, z.core.$strip>>;
|
|
50
36
|
config: z.ZodUnion<[z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
51
37
|
chartType: z.ZodLiteral<"histogram">;
|
|
52
38
|
settings: z.ZodObject<{
|
|
53
39
|
field: z.ZodOptional<z.ZodString>;
|
|
40
|
+
maxBins: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
54
41
|
}, z.core.$strip>;
|
|
55
42
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
43
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
44
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
47
|
+
}, z.core.$strip>>;
|
|
56
48
|
}, z.core.$strip>, z.ZodObject<{
|
|
57
49
|
chartType: z.ZodLiteral<"count-plot">;
|
|
58
50
|
settings: z.ZodObject<{
|
|
59
51
|
field: z.ZodOptional<z.ZodString>;
|
|
60
52
|
}, z.core.$strip>;
|
|
61
53
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
55
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
56
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
57
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
58
|
+
}, z.core.$strip>>;
|
|
62
59
|
}, z.core.$strip>, z.ZodObject<{
|
|
63
60
|
chartType: z.ZodLiteral<"line-chart">;
|
|
64
61
|
settings: z.ZodObject<{
|
|
@@ -85,6 +82,11 @@ export declare const ChartPanelConfig: z.ZodObject<{
|
|
|
85
82
|
}, z.core.$strip>>>;
|
|
86
83
|
}, z.core.$strip>;
|
|
87
84
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
86
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
88
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
89
|
+
}, z.core.$strip>>;
|
|
88
90
|
}, z.core.$strip>, z.ZodObject<{
|
|
89
91
|
chartType: z.ZodLiteral<"bubble-chart">;
|
|
90
92
|
settings: z.ZodObject<{
|
|
@@ -93,6 +95,11 @@ export declare const ChartPanelConfig: z.ZodObject<{
|
|
|
93
95
|
size: z.ZodOptional<z.ZodString>;
|
|
94
96
|
}, z.core.$strip>;
|
|
95
97
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
98
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
99
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
100
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
101
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
102
|
+
}, z.core.$strip>>;
|
|
96
103
|
}, z.core.$strip>, z.ZodObject<{
|
|
97
104
|
chartType: z.ZodLiteral<"heatmap">;
|
|
98
105
|
settings: z.ZodObject<{
|
|
@@ -100,62 +107,59 @@ export declare const ChartPanelConfig: z.ZodObject<{
|
|
|
100
107
|
y: z.ZodOptional<z.ZodString>;
|
|
101
108
|
}, z.core.$strip>;
|
|
102
109
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
110
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
111
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
112
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
113
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
114
|
+
}, z.core.$strip>>;
|
|
103
115
|
}, z.core.$strip>, z.ZodObject<{
|
|
104
116
|
chartType: z.ZodLiteral<"box-plot">;
|
|
105
117
|
settings: z.ZodObject<{
|
|
106
|
-
x: z.ZodString
|
|
107
|
-
y: z.ZodString
|
|
118
|
+
x: z.ZodOptional<z.ZodString>;
|
|
119
|
+
y: z.ZodOptional<z.ZodString>;
|
|
108
120
|
}, z.core.$strip>;
|
|
109
121
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
122
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
123
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
124
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
125
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
126
|
+
}, z.core.$strip>>;
|
|
110
127
|
}, z.core.$strip>, z.ZodObject<{
|
|
111
128
|
chartType: z.ZodLiteral<"custom-spec">;
|
|
112
129
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
113
130
|
settings: z.ZodObject<{
|
|
114
131
|
vgPlotSpec: z.ZodOptional<z.ZodUnknown>;
|
|
115
132
|
}, z.core.$strip>;
|
|
133
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
134
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
135
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
136
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
137
|
+
}, z.core.$strip>>;
|
|
116
138
|
}, z.core.$strip>], "chartType">, z.ZodObject<{
|
|
117
139
|
chartType: z.ZodString;
|
|
118
140
|
settings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
119
141
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
142
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
143
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
145
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
146
|
+
}, z.core.$strip>>;
|
|
120
147
|
}, z.core.$strip>]>;
|
|
121
148
|
}, z.core.$strip>;
|
|
122
149
|
export type ChartPanelConfig = z.infer<typeof ChartPanelConfig>;
|
|
123
|
-
export declare const
|
|
150
|
+
export declare const DataTableExplorerPanel: z.ZodObject<{
|
|
124
151
|
id: z.ZodString;
|
|
125
|
-
type: z.ZodLiteral<"
|
|
152
|
+
type: z.ZodLiteral<"data-table-explorer">;
|
|
126
153
|
title: z.ZodDefault<z.ZodString>;
|
|
127
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
128
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
129
|
-
sqlQuery: z.ZodOptional<z.ZodString>;
|
|
130
|
-
}, z.core.$strip>>;
|
|
131
154
|
config: z.ZodObject<{
|
|
132
155
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
133
156
|
}, z.core.$strip>;
|
|
134
157
|
}, z.core.$strip>;
|
|
135
|
-
export type
|
|
136
|
-
export declare const TextPanel: z.ZodObject<{
|
|
137
|
-
id: z.ZodString;
|
|
138
|
-
type: z.ZodLiteral<"text">;
|
|
139
|
-
title: z.ZodDefault<z.ZodString>;
|
|
140
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
141
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
142
|
-
sqlQuery: z.ZodOptional<z.ZodString>;
|
|
143
|
-
}, z.core.$strip>>;
|
|
144
|
-
config: z.ZodObject<{
|
|
145
|
-
content: z.ZodDefault<z.ZodString>;
|
|
146
|
-
toolbarOpen: z.ZodDefault<z.ZodBoolean>;
|
|
147
|
-
sourcePanelOpen: z.ZodDefault<z.ZodBoolean>;
|
|
148
|
-
}, z.core.$strip>;
|
|
149
|
-
}, z.core.$strip>;
|
|
150
|
-
export type TextPanel = z.infer<typeof TextPanel>;
|
|
158
|
+
export type DataTableExplorerPanel = z.infer<typeof DataTableExplorerPanel>;
|
|
151
159
|
export declare const LegacyPanelConfig: z.ZodObject<{
|
|
152
160
|
id: z.ZodString;
|
|
153
161
|
type: z.ZodString;
|
|
154
162
|
title: z.ZodDefault<z.ZodString>;
|
|
155
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
156
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
157
|
-
sqlQuery: z.ZodOptional<z.ZodString>;
|
|
158
|
-
}, z.core.$strip>>;
|
|
159
163
|
config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
160
164
|
}, z.core.$strip>;
|
|
161
165
|
export type LegacyPanelConfig = z.infer<typeof LegacyPanelConfig>;
|
|
@@ -163,22 +167,29 @@ export declare const MosaicDashboardPanelConfig: z.ZodUnion<[z.ZodDiscriminatedU
|
|
|
163
167
|
id: z.ZodString;
|
|
164
168
|
type: z.ZodLiteral<"vgplot">;
|
|
165
169
|
title: z.ZodDefault<z.ZodString>;
|
|
166
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
167
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
168
|
-
sqlQuery: z.ZodOptional<z.ZodString>;
|
|
169
|
-
}, z.core.$strip>>;
|
|
170
170
|
config: z.ZodUnion<[z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
171
171
|
chartType: z.ZodLiteral<"histogram">;
|
|
172
172
|
settings: z.ZodObject<{
|
|
173
173
|
field: z.ZodOptional<z.ZodString>;
|
|
174
|
+
maxBins: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
174
175
|
}, z.core.$strip>;
|
|
175
176
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
177
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
178
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
179
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
180
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
181
|
+
}, z.core.$strip>>;
|
|
176
182
|
}, z.core.$strip>, z.ZodObject<{
|
|
177
183
|
chartType: z.ZodLiteral<"count-plot">;
|
|
178
184
|
settings: z.ZodObject<{
|
|
179
185
|
field: z.ZodOptional<z.ZodString>;
|
|
180
186
|
}, z.core.$strip>;
|
|
181
187
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
188
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
189
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
190
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
191
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
192
|
+
}, z.core.$strip>>;
|
|
182
193
|
}, z.core.$strip>, z.ZodObject<{
|
|
183
194
|
chartType: z.ZodLiteral<"line-chart">;
|
|
184
195
|
settings: z.ZodObject<{
|
|
@@ -205,6 +216,11 @@ export declare const MosaicDashboardPanelConfig: z.ZodUnion<[z.ZodDiscriminatedU
|
|
|
205
216
|
}, z.core.$strip>>>;
|
|
206
217
|
}, z.core.$strip>;
|
|
207
218
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
219
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
220
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
221
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
222
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
223
|
+
}, z.core.$strip>>;
|
|
208
224
|
}, z.core.$strip>, z.ZodObject<{
|
|
209
225
|
chartType: z.ZodLiteral<"bubble-chart">;
|
|
210
226
|
settings: z.ZodObject<{
|
|
@@ -213,6 +229,11 @@ export declare const MosaicDashboardPanelConfig: z.ZodUnion<[z.ZodDiscriminatedU
|
|
|
213
229
|
size: z.ZodOptional<z.ZodString>;
|
|
214
230
|
}, z.core.$strip>;
|
|
215
231
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
232
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
233
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
234
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
235
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
236
|
+
}, z.core.$strip>>;
|
|
216
237
|
}, z.core.$strip>, z.ZodObject<{
|
|
217
238
|
chartType: z.ZodLiteral<"heatmap">;
|
|
218
239
|
settings: z.ZodObject<{
|
|
@@ -220,56 +241,55 @@ export declare const MosaicDashboardPanelConfig: z.ZodUnion<[z.ZodDiscriminatedU
|
|
|
220
241
|
y: z.ZodOptional<z.ZodString>;
|
|
221
242
|
}, z.core.$strip>;
|
|
222
243
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
244
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
245
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
246
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
247
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
248
|
+
}, z.core.$strip>>;
|
|
223
249
|
}, z.core.$strip>, z.ZodObject<{
|
|
224
250
|
chartType: z.ZodLiteral<"box-plot">;
|
|
225
251
|
settings: z.ZodObject<{
|
|
226
|
-
x: z.ZodString
|
|
227
|
-
y: z.ZodString
|
|
252
|
+
x: z.ZodOptional<z.ZodString>;
|
|
253
|
+
y: z.ZodOptional<z.ZodString>;
|
|
228
254
|
}, z.core.$strip>;
|
|
229
255
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
256
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
257
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
258
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
259
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
260
|
+
}, z.core.$strip>>;
|
|
230
261
|
}, z.core.$strip>, z.ZodObject<{
|
|
231
262
|
chartType: z.ZodLiteral<"custom-spec">;
|
|
232
263
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
233
264
|
settings: z.ZodObject<{
|
|
234
265
|
vgPlotSpec: z.ZodOptional<z.ZodUnknown>;
|
|
235
266
|
}, z.core.$strip>;
|
|
267
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
268
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
269
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
270
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
271
|
+
}, z.core.$strip>>;
|
|
236
272
|
}, z.core.$strip>], "chartType">, z.ZodObject<{
|
|
237
273
|
chartType: z.ZodString;
|
|
238
274
|
settings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
239
275
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
276
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
277
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
278
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
279
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
280
|
+
}, z.core.$strip>>;
|
|
240
281
|
}, z.core.$strip>]>;
|
|
241
282
|
}, z.core.$strip>, z.ZodObject<{
|
|
242
283
|
id: z.ZodString;
|
|
243
|
-
type: z.ZodLiteral<"
|
|
284
|
+
type: z.ZodLiteral<"data-table-explorer">;
|
|
244
285
|
title: z.ZodDefault<z.ZodString>;
|
|
245
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
246
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
247
|
-
sqlQuery: z.ZodOptional<z.ZodString>;
|
|
248
|
-
}, z.core.$strip>>;
|
|
249
286
|
config: z.ZodObject<{
|
|
250
287
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
251
288
|
}, z.core.$strip>;
|
|
252
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
253
|
-
id: z.ZodString;
|
|
254
|
-
type: z.ZodLiteral<"text">;
|
|
255
|
-
title: z.ZodDefault<z.ZodString>;
|
|
256
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
257
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
258
|
-
sqlQuery: z.ZodOptional<z.ZodString>;
|
|
259
|
-
}, z.core.$strip>>;
|
|
260
|
-
config: z.ZodObject<{
|
|
261
|
-
content: z.ZodDefault<z.ZodString>;
|
|
262
|
-
toolbarOpen: z.ZodDefault<z.ZodBoolean>;
|
|
263
|
-
sourcePanelOpen: z.ZodDefault<z.ZodBoolean>;
|
|
264
|
-
}, z.core.$strip>;
|
|
265
289
|
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
266
290
|
id: z.ZodString;
|
|
267
291
|
type: z.ZodString;
|
|
268
292
|
title: z.ZodDefault<z.ZodString>;
|
|
269
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
270
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
271
|
-
sqlQuery: z.ZodOptional<z.ZodString>;
|
|
272
|
-
}, z.core.$strip>>;
|
|
273
293
|
config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
274
294
|
}, z.core.$strip>]>;
|
|
275
295
|
export type MosaicDashboardPanelConfig = z.infer<typeof MosaicDashboardPanelConfig>;
|
|
@@ -278,11 +298,9 @@ export type MosaicDashboardPanelRendererProps<TPanel extends MosaicDashboardPane
|
|
|
278
298
|
dashboard: MosaicDashboardEntry;
|
|
279
299
|
panel: TPanel;
|
|
280
300
|
selectionName: string;
|
|
281
|
-
resolvedSource?: MosaicDashboardPanelSource;
|
|
282
301
|
};
|
|
283
302
|
export type ChartPanelRendererProps = MosaicDashboardPanelRendererProps<ChartPanelConfig>;
|
|
284
|
-
export type
|
|
285
|
-
export type TextPanelRendererProps = MosaicDashboardPanelRendererProps<TextPanel>;
|
|
303
|
+
export type DataTableExplorerPanelRendererProps = MosaicDashboardPanelRendererProps<DataTableExplorerPanel>;
|
|
286
304
|
export type MosaicDashboardPanelRenderer<TPanel extends MosaicDashboardPanelConfig = MosaicDashboardPanelConfig> = {
|
|
287
305
|
component: ComponentType<MosaicDashboardPanelRendererProps<TPanel>>;
|
|
288
306
|
headerActions?: ComponentType<MosaicDashboardPanelRendererProps<TPanel>>;
|
|
@@ -299,42 +317,14 @@ export type AnyPanelRenderer = {
|
|
|
299
317
|
};
|
|
300
318
|
export type PanelTypeMap = {
|
|
301
319
|
[MOSAIC_DASHBOARD_CHART_PANEL_TYPE]: ChartPanelConfig;
|
|
302
|
-
[
|
|
303
|
-
[MOSAIC_DASHBOARD_TEXT_PANEL_TYPE]: TextPanel;
|
|
320
|
+
[MOSAIC_DASHBOARD_DATA_TABLE_EXPLORER_PANEL_TYPE]: DataTableExplorerPanel;
|
|
304
321
|
};
|
|
305
322
|
export type PanelRenderersRecord = Record<string, AnyPanelRenderer>;
|
|
306
|
-
export
|
|
307
|
-
|
|
308
|
-
dashboard: MosaicDashboardEntry | undefined;
|
|
309
|
-
selectedTable: DataTable | undefined;
|
|
310
|
-
tables: DataTable[];
|
|
311
|
-
};
|
|
312
|
-
export type MosaicDashboardAddPanelAction = {
|
|
313
|
-
type: string;
|
|
314
|
-
label: string;
|
|
315
|
-
icon?: ComponentType<{
|
|
316
|
-
className?: string;
|
|
317
|
-
}>;
|
|
318
|
-
isEnabled?: (context: MosaicDashboardAddPanelActionContext) => boolean;
|
|
319
|
-
createPanel: (context: MosaicDashboardAddPanelActionContext) => MosaicDashboardPanelConfig | undefined;
|
|
320
|
-
};
|
|
321
|
-
export declare function createMosaicDashboardPanelConfig(options: {
|
|
322
|
-
type: string;
|
|
323
|
-
title: string;
|
|
324
|
-
source?: MosaicDashboardPanelSource;
|
|
325
|
-
config?: Record<string, unknown>;
|
|
326
|
-
}): MosaicDashboardPanelConfig;
|
|
327
|
-
export declare function createMosaicDashboardChartPanelConfig(title: string, config: ChartConfig, source?: MosaicDashboardPanelSource): ChartPanelConfig;
|
|
328
|
-
export declare function createMosaicDashboardProfilerPanelConfig(options?: {
|
|
329
|
-
title?: string;
|
|
330
|
-
source?: MosaicDashboardPanelSource;
|
|
331
|
-
pageSize?: number;
|
|
332
|
-
}): MosaicDashboardPanelConfig;
|
|
333
|
-
export declare function createMosaicDashboardTextPanelConfig(options?: {
|
|
323
|
+
export declare function createMosaicDashboardChartPanelConfig(title: string, config: ChartConfig): ChartPanelConfig;
|
|
324
|
+
export declare function createMosaicDashboardDataTableExplorerPanelConfig(options?: {
|
|
334
325
|
title?: string;
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
}): MosaicDashboardPanelConfig;
|
|
326
|
+
config?: DataTableExplorerPanelConfig;
|
|
327
|
+
}): DataTableExplorerPanel;
|
|
338
328
|
export declare const MosaicDashboardEntry: z.ZodObject<{
|
|
339
329
|
id: z.ZodString;
|
|
340
330
|
title: z.ZodDefault<z.ZodString>;
|
|
@@ -343,26 +333,34 @@ export declare const MosaicDashboardEntry: z.ZodObject<{
|
|
|
343
333
|
dock: "dock";
|
|
344
334
|
}>>;
|
|
345
335
|
selectedTable: z.ZodOptional<z.ZodString>;
|
|
336
|
+
lastSelectedTable: z.ZodOptional<z.ZodString>;
|
|
346
337
|
panels: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
347
338
|
id: z.ZodString;
|
|
348
339
|
type: z.ZodLiteral<"vgplot">;
|
|
349
340
|
title: z.ZodDefault<z.ZodString>;
|
|
350
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
351
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
352
|
-
sqlQuery: z.ZodOptional<z.ZodString>;
|
|
353
|
-
}, z.core.$strip>>;
|
|
354
341
|
config: z.ZodUnion<[z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
355
342
|
chartType: z.ZodLiteral<"histogram">;
|
|
356
343
|
settings: z.ZodObject<{
|
|
357
344
|
field: z.ZodOptional<z.ZodString>;
|
|
345
|
+
maxBins: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
358
346
|
}, z.core.$strip>;
|
|
359
347
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
348
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
349
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
350
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
351
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
352
|
+
}, z.core.$strip>>;
|
|
360
353
|
}, z.core.$strip>, z.ZodObject<{
|
|
361
354
|
chartType: z.ZodLiteral<"count-plot">;
|
|
362
355
|
settings: z.ZodObject<{
|
|
363
356
|
field: z.ZodOptional<z.ZodString>;
|
|
364
357
|
}, z.core.$strip>;
|
|
365
358
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
359
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
360
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
361
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
362
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
363
|
+
}, z.core.$strip>>;
|
|
366
364
|
}, z.core.$strip>, z.ZodObject<{
|
|
367
365
|
chartType: z.ZodLiteral<"line-chart">;
|
|
368
366
|
settings: z.ZodObject<{
|
|
@@ -389,6 +387,11 @@ export declare const MosaicDashboardEntry: z.ZodObject<{
|
|
|
389
387
|
}, z.core.$strip>>>;
|
|
390
388
|
}, z.core.$strip>;
|
|
391
389
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
390
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
391
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
392
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
393
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
394
|
+
}, z.core.$strip>>;
|
|
392
395
|
}, z.core.$strip>, z.ZodObject<{
|
|
393
396
|
chartType: z.ZodLiteral<"bubble-chart">;
|
|
394
397
|
settings: z.ZodObject<{
|
|
@@ -397,6 +400,11 @@ export declare const MosaicDashboardEntry: z.ZodObject<{
|
|
|
397
400
|
size: z.ZodOptional<z.ZodString>;
|
|
398
401
|
}, z.core.$strip>;
|
|
399
402
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
403
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
404
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
405
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
406
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
407
|
+
}, z.core.$strip>>;
|
|
400
408
|
}, z.core.$strip>, z.ZodObject<{
|
|
401
409
|
chartType: z.ZodLiteral<"heatmap">;
|
|
402
410
|
settings: z.ZodObject<{
|
|
@@ -404,56 +412,55 @@ export declare const MosaicDashboardEntry: z.ZodObject<{
|
|
|
404
412
|
y: z.ZodOptional<z.ZodString>;
|
|
405
413
|
}, z.core.$strip>;
|
|
406
414
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
415
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
416
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
417
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
418
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
419
|
+
}, z.core.$strip>>;
|
|
407
420
|
}, z.core.$strip>, z.ZodObject<{
|
|
408
421
|
chartType: z.ZodLiteral<"box-plot">;
|
|
409
422
|
settings: z.ZodObject<{
|
|
410
|
-
x: z.ZodString
|
|
411
|
-
y: z.ZodString
|
|
423
|
+
x: z.ZodOptional<z.ZodString>;
|
|
424
|
+
y: z.ZodOptional<z.ZodString>;
|
|
412
425
|
}, z.core.$strip>;
|
|
413
426
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
427
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
428
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
429
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
430
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
431
|
+
}, z.core.$strip>>;
|
|
414
432
|
}, z.core.$strip>, z.ZodObject<{
|
|
415
433
|
chartType: z.ZodLiteral<"custom-spec">;
|
|
416
434
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
417
435
|
settings: z.ZodObject<{
|
|
418
436
|
vgPlotSpec: z.ZodOptional<z.ZodUnknown>;
|
|
419
437
|
}, z.core.$strip>;
|
|
438
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
439
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
440
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
441
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
442
|
+
}, z.core.$strip>>;
|
|
420
443
|
}, z.core.$strip>], "chartType">, z.ZodObject<{
|
|
421
444
|
chartType: z.ZodString;
|
|
422
445
|
settings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
423
446
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
447
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
448
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
449
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
450
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
451
|
+
}, z.core.$strip>>;
|
|
424
452
|
}, z.core.$strip>]>;
|
|
425
453
|
}, z.core.$strip>, z.ZodObject<{
|
|
426
454
|
id: z.ZodString;
|
|
427
|
-
type: z.ZodLiteral<"
|
|
455
|
+
type: z.ZodLiteral<"data-table-explorer">;
|
|
428
456
|
title: z.ZodDefault<z.ZodString>;
|
|
429
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
430
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
431
|
-
sqlQuery: z.ZodOptional<z.ZodString>;
|
|
432
|
-
}, z.core.$strip>>;
|
|
433
457
|
config: z.ZodObject<{
|
|
434
458
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
435
459
|
}, z.core.$strip>;
|
|
436
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
437
|
-
id: z.ZodString;
|
|
438
|
-
type: z.ZodLiteral<"text">;
|
|
439
|
-
title: z.ZodDefault<z.ZodString>;
|
|
440
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
441
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
442
|
-
sqlQuery: z.ZodOptional<z.ZodString>;
|
|
443
|
-
}, z.core.$strip>>;
|
|
444
|
-
config: z.ZodObject<{
|
|
445
|
-
content: z.ZodDefault<z.ZodString>;
|
|
446
|
-
toolbarOpen: z.ZodDefault<z.ZodBoolean>;
|
|
447
|
-
sourcePanelOpen: z.ZodDefault<z.ZodBoolean>;
|
|
448
|
-
}, z.core.$strip>;
|
|
449
460
|
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
450
461
|
id: z.ZodString;
|
|
451
462
|
type: z.ZodString;
|
|
452
463
|
title: z.ZodDefault<z.ZodString>;
|
|
453
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
454
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
455
|
-
sqlQuery: z.ZodOptional<z.ZodString>;
|
|
456
|
-
}, z.core.$strip>>;
|
|
457
464
|
config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
458
465
|
}, z.core.$strip>]>>>;
|
|
459
466
|
layout: z.ZodDefault<z.ZodNullable<z.ZodType<LayoutNode, unknown, z.core.$ZodTypeInternals<LayoutNode, unknown>>>>;
|
|
@@ -469,26 +476,34 @@ export declare const MosaicDashboardSliceConfig: z.ZodObject<{
|
|
|
469
476
|
dock: "dock";
|
|
470
477
|
}>>;
|
|
471
478
|
selectedTable: z.ZodOptional<z.ZodString>;
|
|
479
|
+
lastSelectedTable: z.ZodOptional<z.ZodString>;
|
|
472
480
|
panels: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
473
481
|
id: z.ZodString;
|
|
474
482
|
type: z.ZodLiteral<"vgplot">;
|
|
475
483
|
title: z.ZodDefault<z.ZodString>;
|
|
476
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
477
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
478
|
-
sqlQuery: z.ZodOptional<z.ZodString>;
|
|
479
|
-
}, z.core.$strip>>;
|
|
480
484
|
config: z.ZodUnion<[z.ZodDiscriminatedUnion<readonly [z.ZodObject<{
|
|
481
485
|
chartType: z.ZodLiteral<"histogram">;
|
|
482
486
|
settings: z.ZodObject<{
|
|
483
487
|
field: z.ZodOptional<z.ZodString>;
|
|
488
|
+
maxBins: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
484
489
|
}, z.core.$strip>;
|
|
485
490
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
491
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
492
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
493
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
494
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
495
|
+
}, z.core.$strip>>;
|
|
486
496
|
}, z.core.$strip>, z.ZodObject<{
|
|
487
497
|
chartType: z.ZodLiteral<"count-plot">;
|
|
488
498
|
settings: z.ZodObject<{
|
|
489
499
|
field: z.ZodOptional<z.ZodString>;
|
|
490
500
|
}, z.core.$strip>;
|
|
491
501
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
502
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
503
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
504
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
505
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
506
|
+
}, z.core.$strip>>;
|
|
492
507
|
}, z.core.$strip>, z.ZodObject<{
|
|
493
508
|
chartType: z.ZodLiteral<"line-chart">;
|
|
494
509
|
settings: z.ZodObject<{
|
|
@@ -515,6 +530,11 @@ export declare const MosaicDashboardSliceConfig: z.ZodObject<{
|
|
|
515
530
|
}, z.core.$strip>>>;
|
|
516
531
|
}, z.core.$strip>;
|
|
517
532
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
533
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
534
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
535
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
536
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
537
|
+
}, z.core.$strip>>;
|
|
518
538
|
}, z.core.$strip>, z.ZodObject<{
|
|
519
539
|
chartType: z.ZodLiteral<"bubble-chart">;
|
|
520
540
|
settings: z.ZodObject<{
|
|
@@ -523,6 +543,11 @@ export declare const MosaicDashboardSliceConfig: z.ZodObject<{
|
|
|
523
543
|
size: z.ZodOptional<z.ZodString>;
|
|
524
544
|
}, z.core.$strip>;
|
|
525
545
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
546
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
547
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
548
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
549
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
550
|
+
}, z.core.$strip>>;
|
|
526
551
|
}, z.core.$strip>, z.ZodObject<{
|
|
527
552
|
chartType: z.ZodLiteral<"heatmap">;
|
|
528
553
|
settings: z.ZodObject<{
|
|
@@ -530,56 +555,55 @@ export declare const MosaicDashboardSliceConfig: z.ZodObject<{
|
|
|
530
555
|
y: z.ZodOptional<z.ZodString>;
|
|
531
556
|
}, z.core.$strip>;
|
|
532
557
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
558
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
559
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
560
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
561
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
562
|
+
}, z.core.$strip>>;
|
|
533
563
|
}, z.core.$strip>, z.ZodObject<{
|
|
534
564
|
chartType: z.ZodLiteral<"box-plot">;
|
|
535
565
|
settings: z.ZodObject<{
|
|
536
|
-
x: z.ZodString
|
|
537
|
-
y: z.ZodString
|
|
566
|
+
x: z.ZodOptional<z.ZodString>;
|
|
567
|
+
y: z.ZodOptional<z.ZodString>;
|
|
538
568
|
}, z.core.$strip>;
|
|
539
569
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
570
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
571
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
572
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
573
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
574
|
+
}, z.core.$strip>>;
|
|
540
575
|
}, z.core.$strip>, z.ZodObject<{
|
|
541
576
|
chartType: z.ZodLiteral<"custom-spec">;
|
|
542
577
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
543
578
|
settings: z.ZodObject<{
|
|
544
579
|
vgPlotSpec: z.ZodOptional<z.ZodUnknown>;
|
|
545
580
|
}, z.core.$strip>;
|
|
581
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
582
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
583
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
584
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
585
|
+
}, z.core.$strip>>;
|
|
546
586
|
}, z.core.$strip>], "chartType">, z.ZodObject<{
|
|
547
587
|
chartType: z.ZodString;
|
|
548
588
|
settings: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
549
589
|
settingsOpen: z.ZodOptional<z.ZodBoolean>;
|
|
590
|
+
dataPolicy: z.ZodOptional<z.ZodObject<{
|
|
591
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
592
|
+
maxRows: z.ZodOptional<z.ZodNumber>;
|
|
593
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
594
|
+
}, z.core.$strip>>;
|
|
550
595
|
}, z.core.$strip>]>;
|
|
551
596
|
}, z.core.$strip>, z.ZodObject<{
|
|
552
597
|
id: z.ZodString;
|
|
553
|
-
type: z.ZodLiteral<"
|
|
598
|
+
type: z.ZodLiteral<"data-table-explorer">;
|
|
554
599
|
title: z.ZodDefault<z.ZodString>;
|
|
555
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
556
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
557
|
-
sqlQuery: z.ZodOptional<z.ZodString>;
|
|
558
|
-
}, z.core.$strip>>;
|
|
559
600
|
config: z.ZodObject<{
|
|
560
601
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
561
602
|
}, z.core.$strip>;
|
|
562
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
563
|
-
id: z.ZodString;
|
|
564
|
-
type: z.ZodLiteral<"text">;
|
|
565
|
-
title: z.ZodDefault<z.ZodString>;
|
|
566
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
567
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
568
|
-
sqlQuery: z.ZodOptional<z.ZodString>;
|
|
569
|
-
}, z.core.$strip>>;
|
|
570
|
-
config: z.ZodObject<{
|
|
571
|
-
content: z.ZodDefault<z.ZodString>;
|
|
572
|
-
toolbarOpen: z.ZodDefault<z.ZodBoolean>;
|
|
573
|
-
sourcePanelOpen: z.ZodDefault<z.ZodBoolean>;
|
|
574
|
-
}, z.core.$strip>;
|
|
575
603
|
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
576
604
|
id: z.ZodString;
|
|
577
605
|
type: z.ZodString;
|
|
578
606
|
title: z.ZodDefault<z.ZodString>;
|
|
579
|
-
source: z.ZodOptional<z.ZodObject<{
|
|
580
|
-
tableName: z.ZodOptional<z.ZodString>;
|
|
581
|
-
sqlQuery: z.ZodOptional<z.ZodString>;
|
|
582
|
-
}, z.core.$strip>>;
|
|
583
607
|
config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
584
608
|
}, z.core.$strip>]>>>;
|
|
585
609
|
layout: z.ZodDefault<z.ZodNullable<z.ZodType<LayoutNode, unknown, z.core.$ZodTypeInternals<LayoutNode, unknown>>>>;
|
|
@@ -599,6 +623,11 @@ export type MosaicDashboardSliceState = {
|
|
|
599
623
|
* config and must be evicted when their panel/dashboard lifecycle ends.
|
|
600
624
|
*/
|
|
601
625
|
retainedChartsByPanelId: Record<string, RetainedVgPlotChart>;
|
|
626
|
+
/**
|
|
627
|
+
* Runtime-only chart issues keyed by `getMosaicDashboardPanelId`.
|
|
628
|
+
* These are live diagnostics for UI and AI tools, not persisted config.
|
|
629
|
+
*/
|
|
630
|
+
panelIssuesByPanelId: Record<string, ChartRuntimeIssue>;
|
|
602
631
|
};
|
|
603
632
|
chartTypes?: ChartTypeDefinition[];
|
|
604
633
|
addPanelActions: MosaicDashboardAddPanelAction[];
|
|
@@ -607,6 +636,7 @@ export type MosaicDashboardSliceState = {
|
|
|
607
636
|
removeDashboard: (dashboardId: string) => void;
|
|
608
637
|
getDashboard: (dashboardId: string) => MosaicDashboardEntry | undefined;
|
|
609
638
|
setSelectedTable: (dashboardId: string, tableName: string) => void;
|
|
639
|
+
setLastSelectedTable: (dashboardId: string, tableName: string) => void;
|
|
610
640
|
panelRenderers: PanelRenderersRecord;
|
|
611
641
|
registerPanelRenderer: (type: string, renderer: AnyPanelRenderer) => void;
|
|
612
642
|
unregisterPanelRenderer: (type: string) => void;
|
|
@@ -614,8 +644,17 @@ export type MosaicDashboardSliceState = {
|
|
|
614
644
|
updatePanel: (dashboardId: string, panelId: string, patch: Partial<Omit<MosaicDashboardPanelConfig, 'id'>>) => void;
|
|
615
645
|
removePanel: (dashboardId: string, panelId: string) => void;
|
|
616
646
|
getRetainedChart: (dashboardId: string, panelId: string) => RetainedVgPlotChart | undefined;
|
|
647
|
+
getRetainedChartByKey: (runtimeKey: string) => RetainedVgPlotChart | undefined;
|
|
617
648
|
setRetainedChart: (dashboardId: string, panelId: string, chart: RetainedVgPlotChart) => void;
|
|
649
|
+
setRetainedChartByKey: (runtimeKey: string, chart: RetainedVgPlotChart) => void;
|
|
650
|
+
getPanelIssue: (dashboardId: string, panelId: string) => ChartRuntimeIssue | undefined;
|
|
651
|
+
getPanelIssueByKey: (runtimeKey: string) => ChartRuntimeIssue | undefined;
|
|
652
|
+
reportPanelIssue: (dashboardId: string, panelId: string, issue: ChartRuntimeIssue) => void;
|
|
653
|
+
reportPanelIssueByKey: (runtimeKey: string, issue: ChartRuntimeIssue) => void;
|
|
654
|
+
clearPanelIssue: (dashboardId: string, panelId: string) => void;
|
|
655
|
+
clearPanelIssueByKey: (runtimeKey: string) => void;
|
|
618
656
|
evictPanelRuntime: (dashboardId: string, panelId: string) => void;
|
|
657
|
+
evictPanelRuntimeByKey: (runtimeKey: string) => void;
|
|
619
658
|
evictDashboardRuntime: (dashboardId: string, options?: {
|
|
620
659
|
resetSelection?: boolean;
|
|
621
660
|
}) => void;
|
|
@@ -629,12 +668,6 @@ export declare function getMosaicDashboardPanelId(dashboardId: string, panelId:
|
|
|
629
668
|
export declare function getMosaicDashboardDockId(dashboardId: string): string;
|
|
630
669
|
export declare function getMosaicDashboardGridId(dashboardId: string): string;
|
|
631
670
|
export declare function getMosaicDashboardSelectionName(dashboardId: string): string;
|
|
632
|
-
/**
|
|
633
|
-
* Type guard to check if a panel config has a source property.
|
|
634
|
-
* All standard panel types (Chart, Profiler, Text) have optional sources.
|
|
635
|
-
*/
|
|
636
|
-
export declare function panelHasSource(panel: MosaicDashboardPanelConfig): panel is ChartPanelConfig | ProfilerPanel | TextPanel;
|
|
637
|
-
export declare function resolveMosaicDashboardPanelSource(dashboard: MosaicDashboardEntry, panel: MosaicDashboardPanelConfig): MosaicDashboardPanelSource | undefined;
|
|
638
671
|
export declare function createDefaultMosaicDashboardConfig(props?: Partial<MosaicDashboardSliceConfig>): MosaicDashboardSliceConfig;
|
|
639
672
|
type CreateMosaicDashboardSliceProps = {
|
|
640
673
|
config?: Partial<MosaicDashboardSliceConfig>;
|