@finos/legend-cube-builder 0.0.4 → 0.0.6
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 +9 -3
- package/docs/adding-an-operation.md +24 -12
- package/docs/demo/DEMO-FAST-NOTES.md +67 -0
- package/docs/demo/README.md +102 -0
- package/docs/demo/specs/duckdb-sales-pivot.cube.json +110 -0
- package/docs/demo/specs/trades-desks-1-joined.cube.json +123 -0
- package/docs/demo/specs/trades-desks-2-grouped.cube.json +140 -0
- package/docs/demo/specs/trades-desks-3-ranked.cube.json +158 -0
- package/docs/demo/specs/trades-desks-4-extended.cube.json +208 -0
- package/docs/demo/specs/trades-desks-5-final.cube.json +248 -0
- package/docs/hosting.md +83 -5
- package/docs/testing.md +32 -0
- package/lib/__lib__/LegendCubeCommand.d.ts +2 -0
- package/lib/__lib__/LegendCubeCommand.d.ts.map +1 -1
- package/lib/__lib__/LegendCubeCommand.js +7 -0
- package/lib/__lib__/LegendCubeCommand.js.map +1 -1
- package/lib/__lib__/LegendCubeFunctionLabels.d.ts +29 -0
- package/lib/__lib__/LegendCubeFunctionLabels.d.ts.map +1 -0
- package/lib/__lib__/LegendCubeFunctionLabels.js +31 -0
- package/lib/__lib__/LegendCubeFunctionLabels.js.map +1 -0
- package/lib/__lib__/LegendCubeHelpText.d.ts +5 -1
- package/lib/__lib__/LegendCubeHelpText.d.ts.map +1 -1
- package/lib/__lib__/LegendCubeHelpText.js +16 -2
- package/lib/__lib__/LegendCubeHelpText.js.map +1 -1
- package/lib/__lib__/LegendCubeLabels.d.ts +130 -9
- package/lib/__lib__/LegendCubeLabels.d.ts.map +1 -1
- package/lib/__lib__/LegendCubeLabels.js +169 -17
- package/lib/__lib__/LegendCubeLabels.js.map +1 -1
- package/lib/__lib__/LegendCubeNavigation.d.ts +23 -0
- package/lib/__lib__/LegendCubeNavigation.d.ts.map +1 -0
- package/lib/__lib__/LegendCubeNavigation.js +33 -0
- package/lib/__lib__/LegendCubeNavigation.js.map +1 -0
- package/lib/__lib__/LegendCubeProjectSourceLabels.d.ts +26 -0
- package/lib/__lib__/LegendCubeProjectSourceLabels.d.ts.map +1 -0
- package/lib/__lib__/LegendCubeProjectSourceLabels.js +26 -0
- package/lib/__lib__/LegendCubeProjectSourceLabels.js.map +1 -0
- package/lib/__lib__/LegendCubeServiceLabels.d.ts +27 -0
- package/lib/__lib__/LegendCubeServiceLabels.d.ts.map +1 -0
- package/lib/__lib__/LegendCubeServiceLabels.js +32 -0
- package/lib/__lib__/LegendCubeServiceLabels.js.map +1 -0
- package/lib/__lib__/LegendCubeTesting.d.ts +10 -1
- package/lib/__lib__/LegendCubeTesting.d.ts.map +1 -1
- package/lib/__lib__/LegendCubeTesting.js +9 -0
- package/lib/__lib__/LegendCubeTesting.js.map +1 -1
- package/lib/__lib__/LegendCubeTour.d.ts +62 -0
- package/lib/__lib__/LegendCubeTour.d.ts.map +1 -0
- package/lib/__lib__/LegendCubeTour.js +149 -0
- package/lib/__lib__/LegendCubeTour.js.map +1 -0
- package/lib/__test-utils__/CubeEngineTestSupport.d.ts +1 -1
- package/lib/__test-utils__/CubeEngineTestSupport.d.ts.map +1 -1
- package/lib/__test-utils__/CubeEngineTestSupport.js +2 -2
- package/lib/__test-utils__/CubeEngineTestSupport.js.map +1 -1
- package/lib/__test-utils__/CubeExampleTestUtils.d.ts +34 -0
- package/lib/__test-utils__/CubeExampleTestUtils.d.ts.map +1 -0
- package/lib/__test-utils__/CubeExampleTestUtils.js +72 -0
- package/lib/__test-utils__/CubeExampleTestUtils.js.map +1 -0
- package/lib/__test-utils__/CubeExpressionTestUtils.d.ts +8 -1
- package/lib/__test-utils__/CubeExpressionTestUtils.d.ts.map +1 -1
- package/lib/__test-utils__/CubeExpressionTestUtils.js +20 -3
- package/lib/__test-utils__/CubeExpressionTestUtils.js.map +1 -1
- package/lib/__test-utils__/CubeFunctionTestOutline.d.ts +26 -0
- package/lib/__test-utils__/CubeFunctionTestOutline.d.ts.map +1 -0
- package/lib/__test-utils__/CubeFunctionTestOutline.js +56 -0
- package/lib/__test-utils__/CubeFunctionTestOutline.js.map +1 -0
- package/lib/__test-utils__/CubeLambdaCorpus.d.ts +36 -0
- package/lib/__test-utils__/CubeLambdaCorpus.d.ts.map +1 -0
- package/lib/__test-utils__/CubeLambdaCorpus.js +83 -0
- package/lib/__test-utils__/CubeLambdaCorpus.js.map +1 -0
- package/lib/__test-utils__/CubePageTestUtils.d.ts +6 -0
- package/lib/__test-utils__/CubePageTestUtils.d.ts.map +1 -1
- package/lib/__test-utils__/CubePageTestUtils.js +21 -0
- package/lib/__test-utils__/CubePageTestUtils.js.map +1 -1
- package/lib/__test-utils__/CubeTestApplication.d.ts +9 -0
- package/lib/__test-utils__/CubeTestApplication.d.ts.map +1 -1
- package/lib/__test-utils__/CubeTestApplication.js +16 -0
- package/lib/__test-utils__/CubeTestApplication.js.map +1 -1
- package/lib/__test-utils__/CubeVariantTestUtils.d.ts +16 -0
- package/lib/__test-utils__/CubeVariantTestUtils.d.ts.map +1 -0
- package/lib/__test-utils__/CubeVariantTestUtils.js +66 -0
- package/lib/__test-utils__/CubeVariantTestUtils.js.map +1 -0
- package/lib/__test-utils__/FakeCubeEngine.d.ts +5 -0
- package/lib/__test-utils__/FakeCubeEngine.d.ts.map +1 -1
- package/lib/__test-utils__/FakeCubeEngine.js +17 -0
- package/lib/__test-utils__/FakeCubeEngine.js.map +1 -1
- package/lib/__test-utils__/FakeCubeIngestCatalog.d.ts +7 -1
- package/lib/__test-utils__/FakeCubeIngestCatalog.d.ts.map +1 -1
- package/lib/__test-utils__/FakeCubeIngestCatalog.js +16 -0
- package/lib/__test-utils__/FakeCubeIngestCatalog.js.map +1 -1
- package/lib/__test-utils__/FakeCubeServiceCatalog.d.ts +26 -0
- package/lib/__test-utils__/FakeCubeServiceCatalog.d.ts.map +1 -0
- package/lib/__test-utils__/FakeCubeServiceCatalog.js +40 -0
- package/lib/__test-utils__/FakeCubeServiceCatalog.js.map +1 -0
- package/lib/components/CubeAddItems.d.ts.map +1 -1
- package/lib/components/CubeAddItems.js +11 -7
- package/lib/components/CubeAddItems.js.map +1 -1
- package/lib/components/CubeDialogTheme.d.ts +25 -0
- package/lib/components/CubeDialogTheme.d.ts.map +1 -0
- package/lib/components/CubeDialogTheme.js +25 -0
- package/lib/components/CubeDialogTheme.js.map +1 -0
- package/lib/components/CubeEditor.d.ts +12 -1
- package/lib/components/CubeEditor.d.ts.map +1 -1
- package/lib/components/CubeEditor.js +22 -14
- package/lib/components/CubeEditor.js.map +1 -1
- package/lib/components/CubeFileMenu.d.ts +28 -0
- package/lib/components/CubeFileMenu.d.ts.map +1 -0
- package/lib/components/CubeFileMenu.js +78 -0
- package/lib/components/CubeFileMenu.js.map +1 -0
- package/lib/components/CubeLambdaImportBanner.d.ts +26 -0
- package/lib/components/CubeLambdaImportBanner.d.ts.map +1 -0
- package/lib/components/CubeLambdaImportBanner.js +47 -0
- package/lib/components/CubeLambdaImportBanner.js.map +1 -0
- package/lib/components/CubeNodeIcon.d.ts.map +1 -1
- package/lib/components/CubeNodeIcon.js +6 -1
- package/lib/components/CubeNodeIcon.js.map +1 -1
- package/lib/components/CubeSchemaColumnsTable.d.ts.map +1 -1
- package/lib/components/CubeSchemaColumnsTable.js +2 -2
- package/lib/components/CubeSchemaColumnsTable.js.map +1 -1
- package/lib/components/canvas/CubeCanvas.d.ts.map +1 -1
- package/lib/components/canvas/CubeCanvas.js +40 -6
- package/lib/components/canvas/CubeCanvas.js.map +1 -1
- package/lib/components/canvas/CubeCanvasContextMenu.d.ts.map +1 -1
- package/lib/components/canvas/CubeCanvasContextMenu.js +2 -1
- package/lib/components/canvas/CubeCanvasContextMenu.js.map +1 -1
- package/lib/components/canvas/CubeCanvasElements.d.ts +18 -1
- package/lib/components/canvas/CubeCanvasElements.d.ts.map +1 -1
- package/lib/components/canvas/CubeCanvasElements.js +58 -3
- package/lib/components/canvas/CubeCanvasElements.js.map +1 -1
- package/lib/components/canvas/CubeCanvasLayout.js +1 -1
- package/lib/components/canvas/CubeCanvasNode.d.ts.map +1 -1
- package/lib/components/canvas/CubeCanvasNode.js +11 -4
- package/lib/components/canvas/CubeCanvasNode.js.map +1 -1
- package/lib/components/dev-settings/CubeDevSettings.d.ts +35 -0
- package/lib/components/dev-settings/CubeDevSettings.d.ts.map +1 -0
- package/lib/components/dev-settings/CubeDevSettings.js +54 -0
- package/lib/components/dev-settings/CubeDevSettings.js.map +1 -0
- package/lib/components/editors/CubeColumnChecklist.d.ts.map +1 -1
- package/lib/components/editors/CubeColumnChecklist.js +2 -2
- package/lib/components/editors/CubeColumnChecklist.js.map +1 -1
- package/lib/components/editors/CubeColumnPicker.d.ts.map +1 -1
- package/lib/components/editors/CubeColumnPicker.js +6 -4
- package/lib/components/editors/CubeColumnPicker.js.map +1 -1
- package/lib/components/editors/CubeConcatEditor.js +2 -2
- package/lib/components/editors/CubeConcatEditor.js.map +1 -1
- package/lib/components/editors/CubeExplodeEditor.d.ts +26 -0
- package/lib/components/editors/CubeExplodeEditor.d.ts.map +1 -0
- package/lib/components/editors/CubeExplodeEditor.js +61 -0
- package/lib/components/editors/CubeExplodeEditor.js.map +1 -0
- package/lib/components/editors/CubeExpressionFilterEditor.d.ts +25 -0
- package/lib/components/editors/CubeExpressionFilterEditor.d.ts.map +1 -0
- package/lib/components/editors/CubeExpressionFilterEditor.js +86 -0
- package/lib/components/editors/CubeExpressionFilterEditor.js.map +1 -0
- package/lib/components/editors/CubeExtendEditor.d.ts.map +1 -1
- package/lib/components/editors/CubeExtendEditor.js +13 -12
- package/lib/components/editors/CubeExtendEditor.js.map +1 -1
- package/lib/components/editors/CubeFilterEditor.d.ts.map +1 -1
- package/lib/components/editors/CubeFilterEditor.js +13 -2
- package/lib/components/editors/CubeFilterEditor.js.map +1 -1
- package/lib/components/editors/CubeFunctionSourceEditor.d.ts +25 -0
- package/lib/components/editors/CubeFunctionSourceEditor.d.ts.map +1 -0
- package/lib/components/editors/CubeFunctionSourceEditor.js +55 -0
- package/lib/components/editors/CubeFunctionSourceEditor.js.map +1 -0
- package/lib/components/editors/CubeJoinEditor.d.ts.map +1 -1
- package/lib/components/editors/CubeJoinEditor.js +16 -4
- package/lib/components/editors/CubeJoinEditor.js.map +1 -1
- package/lib/components/editors/CubeJsonFieldsTree.d.ts +46 -0
- package/lib/components/editors/CubeJsonFieldsTree.d.ts.map +1 -0
- package/lib/components/editors/CubeJsonFieldsTree.js +93 -0
- package/lib/components/editors/CubeJsonFieldsTree.js.map +1 -0
- package/lib/components/editors/CubeNodeEditorPanel.d.ts.map +1 -1
- package/lib/components/editors/CubeNodeEditorPanel.js +18 -8
- package/lib/components/editors/CubeNodeEditorPanel.js.map +1 -1
- package/lib/components/editors/CubeNodeEditorPopper.d.ts +5 -1
- package/lib/components/editors/CubeNodeEditorPopper.d.ts.map +1 -1
- package/lib/components/editors/CubeNodeEditorPopper.js +10 -2
- package/lib/components/editors/CubeNodeEditorPopper.js.map +1 -1
- package/lib/components/editors/CubeNodeEditorRegistry.d.ts.map +1 -1
- package/lib/components/editors/CubeNodeEditorRegistry.js +11 -1
- package/lib/components/editors/CubeNodeEditorRegistry.js.map +1 -1
- package/lib/components/editors/CubePivotEditor.d.ts +26 -0
- package/lib/components/editors/CubePivotEditor.d.ts.map +1 -0
- package/lib/components/editors/CubePivotEditor.js +93 -0
- package/lib/components/editors/CubePivotEditor.js.map +1 -0
- package/lib/components/editors/CubeRestrictEditor.d.ts.map +1 -1
- package/lib/components/editors/CubeRestrictEditor.js +2 -2
- package/lib/components/editors/CubeRestrictEditor.js.map +1 -1
- package/lib/components/editors/CubeServiceSourceEditor.d.ts +25 -0
- package/lib/components/editors/CubeServiceSourceEditor.d.ts.map +1 -0
- package/lib/components/editors/CubeServiceSourceEditor.js +41 -0
- package/lib/components/editors/CubeServiceSourceEditor.js.map +1 -0
- package/lib/components/grid/CubeColumnFormatDialog.d.ts +28 -0
- package/lib/components/grid/CubeColumnFormatDialog.d.ts.map +1 -0
- package/lib/components/grid/CubeColumnFormatDialog.js +94 -0
- package/lib/components/grid/CubeColumnFormatDialog.js.map +1 -0
- package/lib/components/grid/CubeDrilldownBar.d.ts +37 -0
- package/lib/components/grid/CubeDrilldownBar.d.ts.map +1 -0
- package/lib/components/grid/CubeDrilldownBar.js +77 -0
- package/lib/components/grid/CubeDrilldownBar.js.map +1 -0
- package/lib/components/grid/CubeGridRegion.d.ts.map +1 -1
- package/lib/components/grid/CubeGridRegion.js +43 -28
- package/lib/components/grid/CubeGridRegion.js.map +1 -1
- package/lib/components/grid/CubeGridValues.d.ts +36 -4
- package/lib/components/grid/CubeGridValues.d.ts.map +1 -1
- package/lib/components/grid/CubeGridValues.js +116 -4
- package/lib/components/grid/CubeGridValues.js.map +1 -1
- package/lib/components/grid/CubeJsonExplorerDialog.d.ts +27 -0
- package/lib/components/grid/CubeJsonExplorerDialog.d.ts.map +1 -0
- package/lib/components/grid/CubeJsonExplorerDialog.js +102 -0
- package/lib/components/grid/CubeJsonExplorerDialog.js.map +1 -0
- package/lib/components/grid/CubeJsonViewerDialog.d.ts +27 -0
- package/lib/components/grid/CubeJsonViewerDialog.d.ts.map +1 -0
- package/lib/components/grid/CubeJsonViewerDialog.js +68 -0
- package/lib/components/grid/CubeJsonViewerDialog.js.map +1 -0
- package/lib/components/grid/CubeResultGrid.d.ts +81 -6
- package/lib/components/grid/CubeResultGrid.d.ts.map +1 -1
- package/lib/components/grid/CubeResultGrid.js +400 -35
- package/lib/components/grid/CubeResultGrid.js.map +1 -1
- package/lib/components/grid/CubeRunStatsPanel.d.ts +28 -0
- package/lib/components/grid/CubeRunStatsPanel.d.ts.map +1 -0
- package/lib/components/grid/CubeRunStatsPanel.js +61 -0
- package/lib/components/grid/CubeRunStatsPanel.js.map +1 -0
- package/lib/components/grid/CubeServerSideGrid.d.ts +36 -0
- package/lib/components/grid/CubeServerSideGrid.d.ts.map +1 -0
- package/lib/components/grid/CubeServerSideGrid.js +116 -0
- package/lib/components/grid/CubeServerSideGrid.js.map +1 -0
- package/lib/components/grid/CubeSqlDialog.d.ts +24 -0
- package/lib/components/grid/CubeSqlDialog.d.ts.map +1 -0
- package/lib/components/grid/CubeSqlDialog.js +39 -0
- package/lib/components/grid/CubeSqlDialog.js.map +1 -0
- package/lib/components/grid/CubeSqlFormat.d.ts +20 -0
- package/lib/components/grid/CubeSqlFormat.d.ts.map +1 -0
- package/lib/components/grid/CubeSqlFormat.js +32 -0
- package/lib/components/grid/CubeSqlFormat.js.map +1 -0
- package/lib/components/palette/CubePalette.d.ts.map +1 -1
- package/lib/components/palette/CubePalette.js +36 -14
- package/lib/components/palette/CubePalette.js.map +1 -1
- package/lib/components/show-pure/CubeShowPureDialog.d.ts +4 -1
- package/lib/components/show-pure/CubeShowPureDialog.d.ts.map +1 -1
- package/lib/components/show-pure/CubeShowPureDialog.js +8 -4
- package/lib/components/show-pure/CubeShowPureDialog.js.map +1 -1
- package/lib/components/source-picker/CubeDataProductTab.d.ts.map +1 -1
- package/lib/components/source-picker/CubeDataProductTab.js +37 -16
- package/lib/components/source-picker/CubeDataProductTab.js.map +1 -1
- package/lib/components/source-picker/CubeDirectConnectionTab.d.ts.map +1 -1
- package/lib/components/source-picker/CubeDirectConnectionTab.js +6 -4
- package/lib/components/source-picker/CubeDirectConnectionTab.js.map +1 -1
- package/lib/components/source-picker/CubeFunctionSteps.d.ts +36 -0
- package/lib/components/source-picker/CubeFunctionSteps.d.ts.map +1 -0
- package/lib/components/source-picker/CubeFunctionSteps.js +76 -0
- package/lib/components/source-picker/CubeFunctionSteps.js.map +1 -0
- package/lib/components/source-picker/CubeIngestTab.d.ts +2 -2
- package/lib/components/source-picker/CubeIngestTab.d.ts.map +1 -1
- package/lib/components/source-picker/CubeIngestTab.js +49 -20
- package/lib/components/source-picker/CubeIngestTab.js.map +1 -1
- package/lib/components/source-picker/CubeInlineModelTab.d.ts +3 -2
- package/lib/components/source-picker/CubeInlineModelTab.d.ts.map +1 -1
- package/lib/components/source-picker/CubeInlineModelTab.js +23 -13
- package/lib/components/source-picker/CubeInlineModelTab.js.map +1 -1
- package/lib/components/source-picker/CubePickerListItem.d.ts +47 -0
- package/lib/components/source-picker/CubePickerListItem.d.ts.map +1 -0
- package/lib/components/source-picker/CubePickerListItem.js +62 -0
- package/lib/components/source-picker/CubePickerListItem.js.map +1 -0
- package/lib/components/source-picker/CubeProjectTab.d.ts +4 -3
- package/lib/components/source-picker/CubeProjectTab.d.ts.map +1 -1
- package/lib/components/source-picker/CubeProjectTab.js +7 -4
- package/lib/components/source-picker/CubeProjectTab.js.map +1 -1
- package/lib/components/source-picker/CubeServiceTab.d.ts +27 -0
- package/lib/components/source-picker/CubeServiceTab.d.ts.map +1 -0
- package/lib/components/source-picker/CubeServiceTab.js +36 -0
- package/lib/components/source-picker/CubeServiceTab.js.map +1 -0
- package/lib/components/source-picker/CubeSourcePicker.d.ts.map +1 -1
- package/lib/components/source-picker/CubeSourcePicker.js +16 -3
- package/lib/components/source-picker/CubeSourcePicker.js.map +1 -1
- package/lib/components/source-picker/CubeTablePreview.d.ts +29 -0
- package/lib/components/source-picker/CubeTablePreview.d.ts.map +1 -0
- package/lib/components/source-picker/CubeTablePreview.js +10 -0
- package/lib/components/source-picker/CubeTablePreview.js.map +1 -0
- package/lib/components/spec-transfer/CubeImportPureDialog.d.ts +27 -0
- package/lib/components/spec-transfer/CubeImportPureDialog.d.ts.map +1 -0
- package/lib/components/spec-transfer/CubeImportPureDialog.js +38 -0
- package/lib/components/spec-transfer/CubeImportPureDialog.js.map +1 -0
- package/lib/components/spec-transfer/CubeSpecTransferDialog.d.ts.map +1 -1
- package/lib/components/spec-transfer/CubeSpecTransferDialog.js +9 -3
- package/lib/components/spec-transfer/CubeSpecTransferDialog.js.map +1 -1
- package/lib/components/tour/CubeTour.d.ts +36 -0
- package/lib/components/tour/CubeTour.d.ts.map +1 -0
- package/lib/components/tour/CubeTour.js +183 -0
- package/lib/components/tour/CubeTour.js.map +1 -0
- package/lib/graph-manager/CubeDataProductCatalog.d.ts +10 -0
- package/lib/graph-manager/CubeDataProductCatalog.d.ts.map +1 -1
- package/lib/graph-manager/CubeDataProductCatalog.js.map +1 -1
- package/lib/graph-manager/CubeEngine.d.ts +46 -1
- package/lib/graph-manager/CubeEngine.d.ts.map +1 -1
- package/lib/graph-manager/CubeEngine.js.map +1 -1
- package/lib/graph-manager/CubeEngineClientSettings.d.ts +43 -0
- package/lib/graph-manager/CubeEngineClientSettings.d.ts.map +1 -0
- package/lib/graph-manager/CubeEngineClientSettings.js +51 -0
- package/lib/graph-manager/CubeEngineClientSettings.js.map +1 -0
- package/lib/graph-manager/CubeIngest.d.ts +5 -0
- package/lib/graph-manager/CubeIngest.d.ts.map +1 -1
- package/lib/graph-manager/CubeIngest.js +10 -0
- package/lib/graph-manager/CubeIngest.js.map +1 -1
- package/lib/graph-manager/CubeIngestCatalog.d.ts +26 -0
- package/lib/graph-manager/CubeIngestCatalog.d.ts.map +1 -1
- package/lib/graph-manager/CubeIngestCatalog.js +6 -0
- package/lib/graph-manager/CubeIngestCatalog.js.map +1 -1
- package/lib/graph-manager/CubeLakehouseRuntime.d.ts +29 -0
- package/lib/graph-manager/CubeLakehouseRuntime.d.ts.map +1 -0
- package/lib/graph-manager/CubeLakehouseRuntime.js +40 -0
- package/lib/graph-manager/CubeLakehouseRuntime.js.map +1 -0
- package/lib/graph-manager/CubeProjectCatalog.d.ts +3 -3
- package/lib/graph-manager/CubeService.d.ts +20 -0
- package/lib/graph-manager/CubeService.d.ts.map +1 -0
- package/lib/graph-manager/CubeService.js +22 -0
- package/lib/graph-manager/CubeService.js.map +1 -0
- package/lib/graph-manager/CubeServiceCatalog.d.ts +31 -0
- package/lib/graph-manager/CubeServiceCatalog.d.ts.map +1 -0
- package/lib/graph-manager/CubeServiceCatalog.js +17 -0
- package/lib/graph-manager/CubeServiceCatalog.js.map +1 -0
- package/lib/graph-manager/protocol/pure/CubeEngineBuilder.d.ts +52 -5
- package/lib/graph-manager/protocol/pure/CubeEngineBuilder.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/CubeEngineBuilder.js +63 -5
- package/lib/graph-manager/protocol/pure/CubeEngineBuilder.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDataProductModel.d.ts +9 -6
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDataProductModel.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDataProductModel.js +12 -8
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDataProductModel.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_CubeFunctionOutlineBuilder.d.ts +30 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeFunctionOutlineBuilder.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeFunctionOutlineBuilder.js +229 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeFunctionOutlineBuilder.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeIngestDefinition.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_CubeIngestDefinition.js +18 -9
- package/lib/graph-manager/protocol/pure/v1/V1_CubeIngestDefinition.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_CubeIngestModel.d.ts +4 -9
- package/lib/graph-manager/protocol/pure/v1/V1_CubeIngestModel.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_CubeIngestModel.js +2 -1
- package/lib/graph-manager/protocol/pure/v1/V1_CubeIngestModel.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_CubeLambdaReader.d.ts +34 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeLambdaReader.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeLambdaReader.js +332 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeLambdaReader.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeLambdaSerializer.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_CubeLambdaSerializer.js +49 -10
- package/lib/graph-manager/protocol/pure/v1/V1_CubeLambdaSerializer.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_CubeModelOutlineBuilder.d.ts +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_CubeModelOutlineBuilder.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_CubeModelOutlineBuilder.js +3 -1
- package/lib/graph-manager/protocol/pure/v1/V1_CubeModelOutlineBuilder.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeConnectionExplorer.d.ts +2 -1
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeConnectionExplorer.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeConnectionExplorer.js +2 -1
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeConnectionExplorer.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeEngine.d.ts +18 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeEngine.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeEngine.js +74 -6
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeEngine.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeProjectCatalog.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeProjectCatalog.js +7 -4
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeProjectCatalog.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeServiceCatalog.d.ts +31 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeServiceCatalog.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeServiceCatalog.js +69 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeServiceCatalog.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeEngineTestUtils.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeEngineTestUtils.js +6 -2
- package/lib/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeEngineTestUtils.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +13 -3
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +11 -1
- package/lib/index.js.map +1 -1
- package/lib/stores/CubeAddPlacement.d.ts +10 -3
- package/lib/stores/CubeAddPlacement.d.ts.map +1 -1
- package/lib/stores/CubeAddPlacement.js +16 -5
- package/lib/stores/CubeAddPlacement.js.map +1 -1
- package/lib/stores/CubeDevSettingsState.d.ts +47 -0
- package/lib/stores/CubeDevSettingsState.d.ts.map +1 -0
- package/lib/stores/CubeDevSettingsState.js +99 -0
- package/lib/stores/CubeDevSettingsState.js.map +1 -0
- package/lib/stores/CubeEditorState.d.ts +189 -43
- package/lib/stores/CubeEditorState.d.ts.map +1 -1
- package/lib/stores/CubeEditorState.js +532 -117
- package/lib/stores/CubeEditorState.js.map +1 -1
- package/lib/stores/CubeEngineChecks.d.ts +59 -0
- package/lib/stores/CubeEngineChecks.d.ts.map +1 -0
- package/lib/stores/CubeEngineChecks.js +100 -0
- package/lib/stores/CubeEngineChecks.js.map +1 -0
- package/lib/stores/CubeExamples.d.ts.map +1 -1
- package/lib/stores/CubeExamples.js +136 -2
- package/lib/stores/CubeExamples.js.map +1 -1
- package/lib/stores/CubeExamplesState.d.ts +1 -1
- package/lib/stores/CubeExamplesState.d.ts.map +1 -1
- package/lib/stores/CubeExamplesState.js +6 -3
- package/lib/stores/CubeExamplesState.js.map +1 -1
- package/lib/stores/CubeExecutionState.d.ts.map +1 -1
- package/lib/stores/CubeExecutionState.js +24 -33
- package/lib/stores/CubeExecutionState.js.map +1 -1
- package/lib/stores/CubeExportState.d.ts +41 -0
- package/lib/stores/CubeExportState.d.ts.map +1 -0
- package/lib/stores/CubeExportState.js +134 -0
- package/lib/stores/CubeExportState.js.map +1 -0
- package/lib/stores/CubeExpressionFilterCheck.d.ts +51 -0
- package/lib/stores/CubeExpressionFilterCheck.d.ts.map +1 -0
- package/lib/stores/CubeExpressionFilterCheck.js +134 -0
- package/lib/stores/CubeExpressionFilterCheck.js.map +1 -0
- package/lib/stores/CubeExtendTyping.d.ts +6 -14
- package/lib/stores/CubeExtendTyping.d.ts.map +1 -1
- package/lib/stores/CubeExtendTyping.js +6 -33
- package/lib/stores/CubeExtendTyping.js.map +1 -1
- package/lib/stores/CubeFunctionRecheck.d.ts +30 -0
- package/lib/stores/CubeFunctionRecheck.d.ts.map +1 -0
- package/lib/stores/CubeFunctionRecheck.js +67 -0
- package/lib/stores/CubeFunctionRecheck.js.map +1 -0
- package/lib/stores/CubeGridFetcher.d.ts +75 -0
- package/lib/stores/CubeGridFetcher.d.ts.map +1 -0
- package/lib/stores/CubeGridFetcher.js +197 -0
- package/lib/stores/CubeGridFetcher.js.map +1 -0
- package/lib/stores/CubeGridQuickActions.d.ts +25 -6
- package/lib/stores/CubeGridQuickActions.d.ts.map +1 -1
- package/lib/stores/CubeGridQuickActions.js +52 -23
- package/lib/stores/CubeGridQuickActions.js.map +1 -1
- package/lib/stores/CubeGridState.d.ts +136 -0
- package/lib/stores/CubeGridState.d.ts.map +1 -0
- package/lib/stores/CubeGridState.js +317 -0
- package/lib/stores/CubeGridState.js.map +1 -0
- package/lib/stores/CubeHost.d.ts +42 -0
- package/lib/stores/CubeHost.d.ts.map +1 -1
- package/lib/stores/CubeHost.js +4 -0
- package/lib/stores/CubeHost.js.map +1 -1
- package/lib/stores/CubeLambdaImportState.d.ts +118 -0
- package/lib/stores/CubeLambdaImportState.d.ts.map +1 -0
- package/lib/stores/CubeLambdaImportState.js +302 -0
- package/lib/stores/CubeLambdaImportState.js.map +1 -0
- package/lib/stores/CubeLambdaSources.d.ts +45 -0
- package/lib/stores/CubeLambdaSources.d.ts.map +1 -0
- package/lib/stores/CubeLambdaSources.js +261 -0
- package/lib/stores/CubeLambdaSources.js.map +1 -0
- package/lib/stores/CubePureText.d.ts +20 -0
- package/lib/stores/CubePureText.d.ts.map +1 -0
- package/lib/stores/CubePureText.js +24 -0
- package/lib/stores/CubePureText.js.map +1 -0
- package/lib/stores/CubeQueryRun.d.ts +59 -0
- package/lib/stores/CubeQueryRun.d.ts.map +1 -0
- package/lib/stores/CubeQueryRun.js +101 -0
- package/lib/stores/CubeQueryRun.js.map +1 -0
- package/lib/stores/CubeRunStatsState.d.ts +61 -0
- package/lib/stores/CubeRunStatsState.d.ts.map +1 -0
- package/lib/stores/CubeRunStatsState.js +54 -0
- package/lib/stores/CubeRunStatsState.js.map +1 -0
- package/lib/stores/CubeRunningStepLambda.d.ts +25 -0
- package/lib/stores/CubeRunningStepLambda.d.ts.map +1 -0
- package/lib/stores/CubeRunningStepLambda.js +45 -0
- package/lib/stores/CubeRunningStepLambda.js.map +1 -0
- package/lib/stores/CubeServiceRecheck.d.ts +29 -0
- package/lib/stores/CubeServiceRecheck.d.ts.map +1 -0
- package/lib/stores/CubeServiceRecheck.js +33 -0
- package/lib/stores/CubeServiceRecheck.js.map +1 -0
- package/lib/stores/CubeShowPureState.d.ts +14 -1
- package/lib/stores/CubeShowPureState.d.ts.map +1 -1
- package/lib/stores/CubeShowPureState.js +41 -11
- package/lib/stores/CubeShowPureState.js.map +1 -1
- package/lib/stores/CubeSourcePickerState.d.ts +20 -4
- package/lib/stores/CubeSourcePickerState.d.ts.map +1 -1
- package/lib/stores/CubeSourcePickerState.js +75 -14
- package/lib/stores/CubeSourcePickerState.js.map +1 -1
- package/lib/stores/CubeTourState.d.ts +49 -0
- package/lib/stores/CubeTourState.d.ts.map +1 -0
- package/lib/stores/CubeTourState.js +92 -0
- package/lib/stores/CubeTourState.js.map +1 -0
- package/lib/stores/LegendCubeHost.d.ts +88 -0
- package/lib/stores/LegendCubeHost.d.ts.map +1 -0
- package/lib/stores/LegendCubeHost.js +149 -0
- package/lib/stores/LegendCubeHost.js.map +1 -0
- package/lib/stores/LocalModelCatalog.d.ts.map +1 -1
- package/lib/stores/LocalModelCatalog.js +3 -1
- package/lib/stores/LocalModelCatalog.js.map +1 -1
- package/lib/stores/editors/CubeExplodeDraft.d.ts +87 -0
- package/lib/stores/editors/CubeExplodeDraft.d.ts.map +1 -0
- package/lib/stores/editors/CubeExplodeDraft.js +221 -0
- package/lib/stores/editors/CubeExplodeDraft.js.map +1 -0
- package/lib/stores/editors/CubeExpressionFilterDraft.d.ts +94 -0
- package/lib/stores/editors/CubeExpressionFilterDraft.d.ts.map +1 -0
- package/lib/stores/editors/CubeExpressionFilterDraft.js +258 -0
- package/lib/stores/editors/CubeExpressionFilterDraft.js.map +1 -0
- package/lib/stores/editors/CubeExtendDraft.d.ts +9 -0
- package/lib/stores/editors/CubeExtendDraft.d.ts.map +1 -1
- package/lib/stores/editors/CubeExtendDraft.js +26 -0
- package/lib/stores/editors/CubeExtendDraft.js.map +1 -1
- package/lib/stores/editors/CubeFunctionDraft.d.ts +34 -0
- package/lib/stores/editors/CubeFunctionDraft.d.ts.map +1 -0
- package/lib/stores/editors/CubeFunctionDraft.js +69 -0
- package/lib/stores/editors/CubeFunctionDraft.js.map +1 -0
- package/lib/stores/editors/CubeNodeDraftRegistry.d.ts +4 -2
- package/lib/stores/editors/CubeNodeDraftRegistry.d.ts.map +1 -1
- package/lib/stores/editors/CubeNodeDraftRegistry.js +25 -3
- package/lib/stores/editors/CubeNodeDraftRegistry.js.map +1 -1
- package/lib/stores/editors/CubePivotDraft.d.ts +93 -0
- package/lib/stores/editors/CubePivotDraft.d.ts.map +1 -0
- package/lib/stores/editors/CubePivotDraft.js +267 -0
- package/lib/stores/editors/CubePivotDraft.js.map +1 -0
- package/lib/stores/fixtures/CubeSalesDuckDbModel.d.ts +27 -0
- package/lib/stores/fixtures/CubeSalesDuckDbModel.d.ts.map +1 -0
- package/lib/stores/fixtures/CubeSalesDuckDbModel.js +52 -0
- package/lib/stores/fixtures/CubeSalesDuckDbModel.js.map +1 -0
- package/lib/stores/fixtures/CubeTradesModel.d.ts +4 -0
- package/lib/stores/fixtures/CubeTradesModel.d.ts.map +1 -1
- package/lib/stores/fixtures/CubeTradesModel.js +31 -1
- package/lib/stores/fixtures/CubeTradesModel.js.map +1 -1
- package/lib/stores/source-picker/CubeDataProductTabState.d.ts +34 -5
- package/lib/stores/source-picker/CubeDataProductTabState.d.ts.map +1 -1
- package/lib/stores/source-picker/CubeDataProductTabState.js +111 -26
- package/lib/stores/source-picker/CubeDataProductTabState.js.map +1 -1
- package/lib/stores/source-picker/CubeDirectConnectionTabState.d.ts +25 -2
- package/lib/stores/source-picker/CubeDirectConnectionTabState.d.ts.map +1 -1
- package/lib/stores/source-picker/CubeDirectConnectionTabState.js +183 -31
- package/lib/stores/source-picker/CubeDirectConnectionTabState.js.map +1 -1
- package/lib/stores/source-picker/CubeIngestTabState.d.ts +62 -15
- package/lib/stores/source-picker/CubeIngestTabState.d.ts.map +1 -1
- package/lib/stores/source-picker/CubeIngestTabState.js +212 -60
- package/lib/stores/source-picker/CubeIngestTabState.js.map +1 -1
- package/lib/stores/source-picker/CubeInlineModelTabState.d.ts +100 -4
- package/lib/stores/source-picker/CubeInlineModelTabState.d.ts.map +1 -1
- package/lib/stores/source-picker/CubeInlineModelTabState.js +415 -28
- package/lib/stores/source-picker/CubeInlineModelTabState.js.map +1 -1
- package/lib/stores/source-picker/CubeProjectTabState.d.ts +18 -3
- package/lib/stores/source-picker/CubeProjectTabState.d.ts.map +1 -1
- package/lib/stores/source-picker/CubeProjectTabState.js +26 -1
- package/lib/stores/source-picker/CubeProjectTabState.js.map +1 -1
- package/lib/stores/source-picker/CubeServiceTabState.d.ts +74 -0
- package/lib/stores/source-picker/CubeServiceTabState.d.ts.map +1 -0
- package/lib/stores/source-picker/CubeServiceTabState.js +216 -0
- package/lib/stores/source-picker/CubeServiceTabState.js.map +1 -0
- package/lib/stores/source-picker/CubeSourcePickerTab.d.ts +15 -3
- package/lib/stores/source-picker/CubeSourcePickerTab.d.ts.map +1 -1
- package/lib/stores/source-picker/CubeSourcePickerTab.js +21 -0
- package/lib/stores/source-picker/CubeSourcePickerTab.js.map +1 -1
- package/lib/stores/variant/CubeJson.d.ts +48 -0
- package/lib/stores/variant/CubeJson.d.ts.map +1 -0
- package/lib/stores/variant/CubeJson.js +207 -0
- package/lib/stores/variant/CubeJson.js.map +1 -0
- package/lib/stores/variant/CubeJsonExplorerState.d.ts +88 -0
- package/lib/stores/variant/CubeJsonExplorerState.d.ts.map +1 -0
- package/lib/stores/variant/CubeJsonExplorerState.js +297 -0
- package/lib/stores/variant/CubeJsonExplorerState.js.map +1 -0
- package/lib/stores/variant/CubeJsonFieldsState.d.ts +83 -0
- package/lib/stores/variant/CubeJsonFieldsState.d.ts.map +1 -0
- package/lib/stores/variant/CubeJsonFieldsState.js +207 -0
- package/lib/stores/variant/CubeJsonFieldsState.js.map +1 -0
- package/lib/stores/variant/CubeJsonOffers.d.ts +76 -0
- package/lib/stores/variant/CubeJsonOffers.d.ts.map +1 -0
- package/lib/stores/variant/CubeJsonOffers.js +250 -0
- package/lib/stores/variant/CubeJsonOffers.js.map +1 -0
- package/lib/stores/variant/CubeJsonParse.d.ts +28 -0
- package/lib/stores/variant/CubeJsonParse.d.ts.map +1 -0
- package/lib/stores/variant/CubeJsonParse.js +53 -0
- package/lib/stores/variant/CubeJsonParse.js.map +1 -0
- package/lib/stores/variant/CubeJsonSampling.d.ts +41 -0
- package/lib/stores/variant/CubeJsonSampling.d.ts.map +1 -0
- package/lib/stores/variant/CubeJsonSampling.js +59 -0
- package/lib/stores/variant/CubeJsonSampling.js.map +1 -0
- package/lib/stores/variant/CubeJsonShape.d.ts +87 -0
- package/lib/stores/variant/CubeJsonShape.d.ts.map +1 -0
- package/lib/stores/variant/CubeJsonShape.js +209 -0
- package/lib/stores/variant/CubeJsonShape.js.map +1 -0
- package/lib/stores/variant/CubeJsonViewerState.d.ts +33 -0
- package/lib/stores/variant/CubeJsonViewerState.d.ts.map +1 -0
- package/lib/stores/variant/CubeJsonViewerState.js +53 -0
- package/lib/stores/variant/CubeJsonViewerState.js.map +1 -0
- package/package.json +10 -9
- package/src/__lib__/LegendCubeCommand.ts +7 -0
- package/src/__lib__/LegendCubeFunctionLabels.ts +41 -0
- package/src/__lib__/LegendCubeHelpText.ts +27 -1
- package/src/__lib__/LegendCubeLabels.ts +225 -16
- package/src/__lib__/LegendCubeNavigation.ts +48 -0
- package/src/__lib__/LegendCubeProjectSourceLabels.ts +26 -0
- package/src/__lib__/LegendCubeServiceLabels.ts +41 -0
- package/src/__lib__/LegendCubeTesting.ts +9 -0
- package/src/__lib__/LegendCubeTour.ts +173 -0
- package/src/__test-utils__/CubeEngineTestSupport.ts +2 -1
- package/src/__test-utils__/CubeExampleTestUtils.ts +119 -0
- package/src/__test-utils__/CubeExpressionTestUtils.ts +29 -2
- package/src/__test-utils__/CubeFunctionTestOutline.ts +78 -0
- package/src/__test-utils__/CubeLambdaCorpus.ts +137 -0
- package/src/__test-utils__/CubePageTestUtils.tsx +34 -0
- package/src/__test-utils__/CubeTestApplication.ts +25 -0
- package/src/__test-utils__/CubeVariantTestUtils.ts +103 -0
- package/src/__test-utils__/FakeCubeEngine.ts +27 -0
- package/src/__test-utils__/FakeCubeIngestCatalog.ts +18 -0
- package/src/__test-utils__/FakeCubeServiceCatalog.ts +57 -0
- package/src/components/CubeAddItems.tsx +15 -6
- package/src/components/CubeDialogTheme.ts +25 -0
- package/src/components/CubeEditor.tsx +170 -129
- package/src/components/CubeFileMenu.tsx +129 -0
- package/src/components/CubeLambdaImportBanner.tsx +97 -0
- package/src/components/CubeNodeIcon.tsx +9 -0
- package/src/components/CubeSchemaColumnsTable.tsx +7 -2
- package/src/components/canvas/CubeCanvas.tsx +65 -10
- package/src/components/canvas/CubeCanvasContextMenu.tsx +33 -2
- package/src/components/canvas/CubeCanvasElements.ts +76 -3
- package/src/components/canvas/CubeCanvasLayout.ts +1 -1
- package/src/components/canvas/CubeCanvasNode.tsx +37 -3
- package/src/components/dev-settings/CubeDevSettings.tsx +169 -0
- package/src/components/editors/CubeColumnChecklist.tsx +8 -2
- package/src/components/editors/CubeColumnPicker.tsx +9 -3
- package/src/components/editors/CubeConcatEditor.tsx +2 -2
- package/src/components/editors/CubeExplodeEditor.tsx +207 -0
- package/src/components/editors/CubeExpressionFilterEditor.tsx +210 -0
- package/src/components/editors/CubeExtendEditor.tsx +34 -21
- package/src/components/editors/CubeFilterEditor.tsx +13 -1
- package/src/components/editors/CubeFunctionSourceEditor.tsx +140 -0
- package/src/components/editors/CubeJoinEditor.tsx +23 -4
- package/src/components/editors/CubeJsonFieldsTree.tsx +316 -0
- package/src/components/editors/CubeNodeEditorPanel.tsx +22 -10
- package/src/components/editors/CubeNodeEditorPopper.tsx +9 -1
- package/src/components/editors/CubeNodeEditorRegistry.ts +15 -0
- package/src/components/editors/CubePivotEditor.tsx +277 -0
- package/src/components/editors/CubeRestrictEditor.tsx +8 -2
- package/src/components/editors/CubeServiceSourceEditor.tsx +77 -0
- package/src/components/grid/CubeColumnFormatDialog.tsx +289 -0
- package/src/components/grid/CubeDrilldownBar.tsx +219 -0
- package/src/components/grid/CubeGridRegion.tsx +190 -56
- package/src/components/grid/CubeGridValues.ts +154 -4
- package/src/components/grid/CubeJsonExplorerDialog.tsx +304 -0
- package/src/components/grid/CubeJsonViewerDialog.tsx +190 -0
- package/src/components/grid/CubeResultGrid.tsx +586 -42
- package/src/components/grid/CubeRunStatsPanel.tsx +156 -0
- package/src/components/grid/CubeServerSideGrid.tsx +213 -0
- package/src/components/grid/CubeSqlDialog.tsx +90 -0
- package/src/components/grid/CubeSqlFormat.ts +37 -0
- package/src/components/palette/CubePalette.tsx +54 -12
- package/src/components/show-pure/CubeShowPureDialog.tsx +19 -5
- package/src/components/source-picker/CubeDataProductTab.tsx +169 -75
- package/src/components/source-picker/CubeDirectConnectionTab.tsx +42 -30
- package/src/components/source-picker/CubeFunctionSteps.tsx +244 -0
- package/src/components/source-picker/CubeIngestTab.tsx +195 -83
- package/src/components/source-picker/CubeInlineModelTab.tsx +110 -81
- package/src/components/source-picker/CubePickerListItem.tsx +118 -0
- package/src/components/source-picker/CubeProjectTab.tsx +6 -3
- package/src/components/source-picker/CubeServiceTab.tsx +151 -0
- package/src/components/source-picker/CubeSourcePicker.tsx +54 -18
- package/src/components/source-picker/CubeTablePreview.tsx +49 -0
- package/src/components/spec-transfer/CubeImportPureDialog.tsx +122 -0
- package/src/components/spec-transfer/CubeSpecTransferDialog.tsx +21 -8
- package/src/components/tour/CubeTour.tsx +317 -0
- package/src/graph-manager/CubeDataProductCatalog.ts +11 -0
- package/src/graph-manager/CubeEngine.ts +51 -1
- package/src/graph-manager/CubeEngineClientSettings.ts +64 -0
- package/src/graph-manager/CubeIngest.ts +15 -0
- package/src/graph-manager/CubeIngestCatalog.ts +33 -0
- package/src/graph-manager/CubeLakehouseRuntime.ts +43 -0
- package/src/graph-manager/CubeProjectCatalog.ts +3 -3
- package/src/graph-manager/CubeService.ts +29 -0
- package/src/graph-manager/CubeServiceCatalog.ts +35 -0
- package/src/graph-manager/protocol/pure/CubeEngineBuilder.ts +115 -5
- package/src/graph-manager/protocol/pure/v1/V1_CubeDataProductModel.ts +13 -7
- package/src/graph-manager/protocol/pure/v1/V1_CubeFunctionOutlineBuilder.ts +312 -0
- package/src/graph-manager/protocol/pure/v1/V1_CubeIngestDefinition.ts +35 -9
- package/src/graph-manager/protocol/pure/v1/V1_CubeIngestModel.ts +6 -15
- package/src/graph-manager/protocol/pure/v1/V1_CubeLambdaReader.ts +471 -0
- package/src/graph-manager/protocol/pure/v1/V1_CubeLambdaSerializer.ts +70 -15
- package/src/graph-manager/protocol/pure/v1/V1_CubeModelOutlineBuilder.ts +3 -1
- package/src/graph-manager/protocol/pure/v1/V1_LegendCubeConnectionExplorer.ts +7 -1
- package/src/graph-manager/protocol/pure/v1/V1_LegendCubeEngine.ts +122 -7
- package/src/graph-manager/protocol/pure/v1/V1_LegendCubeProjectCatalog.ts +9 -4
- package/src/graph-manager/protocol/pure/v1/V1_LegendCubeServiceCatalog.ts +92 -0
- package/src/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeEngineTestUtils.ts +6 -1
- package/src/index.ts +39 -2
- package/src/stores/CubeAddPlacement.ts +25 -5
- package/src/stores/CubeDevSettingsState.ts +117 -0
- package/src/stores/CubeEditorState.ts +722 -201
- package/src/stores/CubeEngineChecks.ts +240 -0
- package/src/stores/CubeExamples.ts +188 -1
- package/src/stores/CubeExamplesState.ts +13 -3
- package/src/stores/CubeExecutionState.ts +26 -57
- package/src/stores/CubeExportState.ts +196 -0
- package/src/stores/CubeExpressionFilterCheck.ts +218 -0
- package/src/stores/CubeExtendTyping.ts +6 -46
- package/src/stores/CubeFunctionRecheck.ts +97 -0
- package/src/stores/CubeGridFetcher.ts +302 -0
- package/src/stores/CubeGridQuickActions.ts +56 -23
- package/src/stores/CubeGridState.ts +450 -0
- package/src/stores/CubeHost.ts +48 -0
- package/src/stores/CubeLambdaImportState.ts +434 -0
- package/src/stores/CubeLambdaSources.ts +390 -0
- package/src/stores/CubePureText.ts +28 -0
- package/src/stores/CubeQueryRun.ts +169 -0
- package/src/stores/CubeRunStatsState.ts +91 -0
- package/src/stores/CubeRunningStepLambda.ts +62 -0
- package/src/stores/CubeServiceRecheck.ts +53 -0
- package/src/stores/CubeShowPureState.ts +51 -12
- package/src/stores/CubeSourcePickerState.ts +89 -13
- package/src/stores/CubeTourState.ts +116 -0
- package/src/stores/LegendCubeHost.ts +243 -0
- package/src/stores/LocalModelCatalog.ts +6 -1
- package/src/stores/editors/CubeExplodeDraft.ts +272 -0
- package/src/stores/editors/CubeExpressionFilterDraft.ts +389 -0
- package/src/stores/editors/CubeExtendDraft.ts +29 -0
- package/src/stores/editors/CubeFunctionDraft.ts +92 -0
- package/src/stores/editors/CubeNodeDraftRegistry.ts +34 -2
- package/src/stores/editors/CubePivotDraft.ts +355 -0
- package/src/stores/fixtures/CubeSalesDuckDbModel.ts +60 -0
- package/src/stores/fixtures/CubeTradesModel.ts +36 -1
- package/src/stores/source-picker/CubeDataProductTabState.ts +162 -35
- package/src/stores/source-picker/CubeDirectConnectionTabState.ts +246 -47
- package/src/stores/source-picker/CubeIngestTabState.ts +331 -106
- package/src/stores/source-picker/CubeInlineModelTabState.ts +514 -34
- package/src/stores/source-picker/CubeProjectTabState.ts +35 -3
- package/src/stores/source-picker/CubeServiceTabState.ts +288 -0
- package/src/stores/source-picker/CubeSourcePickerTab.ts +31 -2
- package/src/stores/variant/CubeJson.ts +229 -0
- package/src/stores/variant/CubeJsonExplorerState.ts +378 -0
- package/src/stores/variant/CubeJsonFieldsState.ts +252 -0
- package/src/stores/variant/CubeJsonOffers.ts +359 -0
- package/src/stores/variant/CubeJsonParse.ts +75 -0
- package/src/stores/variant/CubeJsonSampling.ts +90 -0
- package/src/stores/variant/CubeJsonShape.ts +279 -0
- package/src/stores/variant/CubeJsonViewerState.ts +59 -0
- package/tsconfig.json +72 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendCubeLabels.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendCubeLabels.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"LegendCubeLabels.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendCubeLabels.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,UAAU,EAEhB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAK/D,uEAAuE;AACvE,eAAO,MAAM,iBAAiB,OAAO,CAAC;AACtC,6FAA6F;AAC7F,eAAO,MAAM,2BAA2B,SAAU,CAAC;AACnD,4CAA4C;AAC5C,eAAO,MAAM,cAAc,MAAM,CAAC;AAElC,oBAAY,yBAAyB;IACnC,SAAS,0BAA0B;IACnC,iBAAiB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GAIG;AACH,eAAO,MAAM,kCAAkC,kEACkB,CAAC;AAElE,+EAA+E;AAC/E,eAAO,MAAM,8BAA8B,60BAOjC,CAAC;AAEX,+FAA+F;AAC/F,eAAO,MAAM,kBAAkB,2EAC2C,CAAC;AAE3E,8GAA8G;AAC9G,eAAO,MAAM,oBAAoB,GAC/B,cAAc,MAAM,GAAG,SAAS,EAChC,QAAQ,MAAM,KACb,MAC0F,CAAC;AAE9F,iFAAiF;AACjF,eAAO,MAAM,sBAAsB,uHACmF,CAAC;AAKvH;;;;GAIG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,MAAM,KAAG,MAK3C,CAAC;AAEJ,uGAAuG;AACvG,eAAO,MAAM,yBAAyB,6BAA6B,CAAC;AAEpE,gFAAgF;AAChF,eAAO,MAAM,sBAAsB,2BAA2B,CAAC;AAE/D;;;GAGG;AACH,eAAO,MAAM,gBAAgB,GAAI,YAAY;IAC3C,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACpC,KAAG,KAAK,GAAG,MAAM,GAAG,SAC0C,CAAC"}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
+
import { TypeFamily, } from '@finos/legend-cube';
|
|
16
17
|
import { CubeTableFlag } from '../graph-manager/CubeEngine.js';
|
|
17
18
|
// The page's own text and settings; validation messages live in the core's
|
|
18
19
|
// CubeMessages (PLAN §4.11)
|
|
@@ -28,6 +29,10 @@ export var LEGEND_CUBE_USER_DATA_KEY;
|
|
|
28
29
|
LEGEND_CUBE_USER_DATA_KEY["PALETTE_COLLAPSED"] = "legend-cube.palette-collapsed";
|
|
29
30
|
/** The warehouse the viewer last picked for a data product cube (PLAN §6.8) */
|
|
30
31
|
LEGEND_CUBE_USER_DATA_KEY["DATA_PRODUCT_WAREHOUSE"] = "legend-cube.data-product-warehouse";
|
|
32
|
+
/** Server-side or local (PLAN §11.10) */
|
|
33
|
+
LEGEND_CUBE_USER_DATA_KEY["GRID_MODE"] = "legend-cube.grid-mode";
|
|
34
|
+
/** Engine requests sent uncompressed, for the browser's Network tab (PLAN §11.16) */
|
|
35
|
+
LEGEND_CUBE_USER_DATA_KEY["UNCOMPRESSED_REQUESTS"] = "legend-cube.uncompressed-requests";
|
|
31
36
|
})(LEGEND_CUBE_USER_DATA_KEY || (LEGEND_CUBE_USER_DATA_KEY = {}));
|
|
32
37
|
export const UNSAVED_CUBE_NAME = 'Unsaved Query';
|
|
33
38
|
/** Why a source is disabled on a cube: it reads database tables or data products, never both (PLAN §6.8) */
|
|
@@ -38,23 +43,40 @@ export const UNSERVED_SOURCE_KIND_TITLE = "This Legend deployment doesn't serve
|
|
|
38
43
|
export const READ_ONLY_CUBE_TITLE = "This cube was saved by a newer version of Legend Cube, so it can't be changed or exported";
|
|
39
44
|
/** How a SQL NULL shows in the grid, distinct from an empty string */
|
|
40
45
|
export const NULL_CELL_TEXT = '(null)';
|
|
46
|
+
/** What the Runs panel calls a run (PLAN §11.10, §11.16); a fetch of the grid's rows is described by its level */
|
|
47
|
+
export const CUBE_RUN_LABEL = {
|
|
48
|
+
EXECUTE: 'Execute',
|
|
49
|
+
EXPORT_CSV: 'Export CSV',
|
|
50
|
+
pivotValues: (column) => `Values of ${column}`,
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Above a run's Pure (PLAN §11.16): unlike Show Pure, it shows the limit a
|
|
54
|
+
* grid run adds, one more than the row limit, to tell whether there are more
|
|
55
|
+
*/
|
|
56
|
+
export const CUBE_RUN_PURE_NOTE = 'As it ran, with any row limit Cube added to it.';
|
|
41
57
|
/** Pending labels: lower-case gerunds, shown as they are (spec §17.13) */
|
|
42
58
|
export var CUBE_PENDING_LABEL;
|
|
43
59
|
(function (CUBE_PENDING_LABEL) {
|
|
44
60
|
CUBE_PENDING_LABEL["LOADING_MODEL"] = "loading model";
|
|
45
61
|
CUBE_PENDING_LABEL["RESOLVING_SOURCE"] = "resolving source";
|
|
46
62
|
CUBE_PENDING_LABEL["EXECUTING_QUERY"] = "executing query";
|
|
63
|
+
CUBE_PENDING_LABEL["FETCHING_ROWS"] = "fetching rows";
|
|
64
|
+
CUBE_PENDING_LABEL["EXPORTING_CSV"] = "exporting CSV";
|
|
47
65
|
CUBE_PENDING_LABEL["RENDERING_QUERY"] = "rendering query";
|
|
48
66
|
CUBE_PENDING_LABEL["REFRESHING_SOURCE"] = "refreshing source";
|
|
49
|
-
CUBE_PENDING_LABEL["
|
|
67
|
+
CUBE_PENDING_LABEL["CHECKING_EXPRESSIONS"] = "checking expressions";
|
|
50
68
|
})(CUBE_PENDING_LABEL || (CUBE_PENDING_LABEL = {}));
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
69
|
+
/**
|
|
70
|
+
* Why a row limit can't be taken: the number its text holds
|
|
71
|
+
* (`parseWholeNumberText`, so `0x10`, `1e3` and `1.0` hold none, PLAN
|
|
72
|
+
* §11.14) isn't a safe whole number of at least 1
|
|
73
|
+
*/
|
|
74
|
+
export const getRowLimitError = (value) => value === undefined || !Number.isSafeInteger(value) || value < 1
|
|
75
|
+
? 'The row limit must be a whole number of at least 1.'
|
|
76
|
+
: undefined;
|
|
57
77
|
export const getTruncationMessage = (rowLimit) => `Showing the first ${rowLimit.toLocaleString('en-US')} rows; the query returned more.`;
|
|
78
|
+
/** In server-side mode, when a drill-down level or a sorted level was cut at the row limit (PLAN §11.10) */
|
|
79
|
+
export const getLevelTruncationMessage = (rowLimit) => `Some levels show only their first ${rowLimit.toLocaleString('en-US')} rows or groups.`;
|
|
58
80
|
/** How the picker shows a table's problem, and why (PLAN §6.2.6) */
|
|
59
81
|
export const CUBE_TABLE_FLAG_LABELS = {
|
|
60
82
|
[CubeTableFlag.UNAVAILABLE]: {
|
|
@@ -70,8 +92,29 @@ export const CUBE_TABLE_FLAG_LABELS = {
|
|
|
70
92
|
description: "A column's type (OTHER or ARRAY) is not known to Cube.",
|
|
71
93
|
},
|
|
72
94
|
};
|
|
73
|
-
/** A column's type
|
|
74
|
-
export const
|
|
95
|
+
/** A column's exact type: its display name, `?` when it takes NULL, e.g. `Varchar(5)?`; for hover and type messages */
|
|
96
|
+
export const getExactColumnTypeLabel = (column) => `${column.type.displayName}${column.nullable ? '?' : ''}`;
|
|
97
|
+
/** The kind of value a type family holds, as the editors name it (the review of the demo, 2026-10-13) */
|
|
98
|
+
const TYPE_FAMILY_LABELS = {
|
|
99
|
+
[TypeFamily.BOOLEAN]: 'True or false',
|
|
100
|
+
[TypeFamily.STRING]: 'Text',
|
|
101
|
+
[TypeFamily.INTEGER]: 'Whole number',
|
|
102
|
+
[TypeFamily.FLOAT]: 'Number',
|
|
103
|
+
[TypeFamily.DECIMAL]: 'Decimal',
|
|
104
|
+
[TypeFamily.NUMBER]: 'Number',
|
|
105
|
+
[TypeFamily.STRICT_DATE]: 'Date',
|
|
106
|
+
[TypeFamily.DATETIME]: 'Date and time',
|
|
107
|
+
[TypeFamily.DATE]: 'Date',
|
|
108
|
+
[TypeFamily.STRICT_TIME]: 'Time',
|
|
109
|
+
[TypeFamily.VARIANT]: 'Variant',
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* A column's type as the editors show it: the kind of value, and whether it
|
|
113
|
+
* is optional (can be empty), e.g. `Text, optional`; an enumeration, or a
|
|
114
|
+
* type Cube doesn't know, by its name. The exact type
|
|
115
|
+
* (`getExactColumnTypeLabel`) is on hover.
|
|
116
|
+
*/
|
|
117
|
+
export const getColumnTypeLabel = (column) => `${TYPE_FAMILY_LABELS[column.type.family] ?? column.type.displayName}${column.nullable ? ', optional' : ''}`;
|
|
75
118
|
const listColumns = (columns) => columns.map((column) => column.name).join(', ');
|
|
76
119
|
/** Why Execute (and Show Pure) can't run, one reason a line, for a tooltip */
|
|
77
120
|
export const formatDisabledReasons = (reasons) => reasons.map((reason) => `• ${reason}`).join('\n');
|
|
@@ -83,7 +126,7 @@ export const getSchemaChangeList = (diff) => {
|
|
|
83
126
|
...(diff.changed.length
|
|
84
127
|
? [
|
|
85
128
|
`changed ${diff.changed
|
|
86
|
-
.map((change) => `${change.after.name} (${
|
|
129
|
+
.map((change) => `${change.after.name} (${getExactColumnTypeLabel(change.before)} to ${getExactColumnTypeLabel(change.after)})`)
|
|
87
130
|
.join(', ')}`,
|
|
88
131
|
]
|
|
89
132
|
: []),
|
|
@@ -99,15 +142,31 @@ export const CUBE_SORT_COLUMN_DISABLED_REASON = {
|
|
|
99
142
|
TAKEN: 'already sorted on',
|
|
100
143
|
};
|
|
101
144
|
/** Why the grid's quick actions (spec §12.4) can't be used */
|
|
145
|
+
/** Why a Variant cell's Open JSON can't be used (PLAN §11.20) */
|
|
146
|
+
export const CUBE_JSON_DISABLED_REASON = {
|
|
147
|
+
NOT_A_ROW: "A group row's cell holds no row's document.",
|
|
148
|
+
EMPTY: 'This cell is empty.',
|
|
149
|
+
};
|
|
102
150
|
export const CUBE_QUICK_ACTION_DISABLED_REASON = {
|
|
103
151
|
STALE_ROWS: 'Execute again: these rows are from an earlier version of the query.',
|
|
104
152
|
RUNNING: 'Wait for the run to finish.',
|
|
105
153
|
EDITING: "Close the node editor first: these rows don't show the changes in it.",
|
|
106
154
|
UNREADABLE_VALUE: "This value can't be used in a filter.",
|
|
155
|
+
/** On a group row's cell that holds its aggregation (PLAN §11.10) */
|
|
156
|
+
AGGREGATE_VALUE: "This cell holds its group's aggregation, not a row's value, so it can't be used in a filter.",
|
|
157
|
+
/** On a group row's cell that shows nothing */
|
|
158
|
+
NO_VALUE: 'This cell has no value to filter by.',
|
|
107
159
|
notSortable: (typeName) => `Values of type ${typeName} can't be sorted.`,
|
|
108
160
|
notGroupable: (typeName) => `Values of type ${typeName} can't be grouped.`,
|
|
109
161
|
notComparable: (typeName) => `Values of type ${typeName} can't be compared.`,
|
|
110
162
|
};
|
|
163
|
+
/** Why 'Format Column' can't be used on a column (spec §13.1) */
|
|
164
|
+
export const CUBE_FORMAT_NOT_A_NUMBER = 'Only number columns can be formatted.';
|
|
165
|
+
/** Why 'Drilldown by' can't be used on a column (PLAN §11.10) */
|
|
166
|
+
export const CUBE_DRILLDOWN_BLOCKER = {
|
|
167
|
+
ALREADY_A_LEVEL: 'The results already drill down by this column.',
|
|
168
|
+
notGroupable: (typeName) => `Values of type ${typeName} can't be grouped.`,
|
|
169
|
+
};
|
|
111
170
|
/** Beside a condition comparing a floating-point column for equality (R133) */
|
|
112
171
|
export const FILTER_FLOAT_COMPARISON_HINT = 'exact comparison on floating-point columns may not match';
|
|
113
172
|
/** The Filter and Join editors' warning on a column that can hold both dates and timestamps (PLAN §11.5) */
|
|
@@ -164,6 +223,65 @@ export const GROUP_EDITOR_NOTES = [
|
|
|
164
223
|
'Distinct Value is the value when the group has exactly one distinct value that is not empty, and empty otherwise.',
|
|
165
224
|
'With no group column, the result is one row, even when there are no rows.',
|
|
166
225
|
];
|
|
226
|
+
/** Why the Pivot editor won't take a column (PLAN §11.12), shown after the column's type */
|
|
227
|
+
export const PIVOT_COLUMN_DISABLED_REASON = {
|
|
228
|
+
/** a row column that can't be compared */
|
|
229
|
+
NOT_GROUPABLE: "can't be grouped",
|
|
230
|
+
/** a pivot column of another type than a String, an integer, a StrictDate or a Boolean */
|
|
231
|
+
NOT_PIVOTABLE: "can't be pivoted",
|
|
232
|
+
/** a column the pivot uses for another part */
|
|
233
|
+
PIVOT_COLUMN: 'the pivot column',
|
|
234
|
+
ROW_COLUMN: 'a row column',
|
|
235
|
+
AGGREGATED: 'the aggregated column',
|
|
236
|
+
};
|
|
237
|
+
/** Why the Pivot editor won't tick a value (PLAN §11.12) */
|
|
238
|
+
export const PIVOT_VALUE_DISABLED_REASON = {
|
|
239
|
+
NOT_A_COLUMN_NAME: "can't name a column",
|
|
240
|
+
/** another value ticked has the same text in another case */
|
|
241
|
+
DIFFERS_ONLY_IN_CASE: 'only its case differs from a ticked value',
|
|
242
|
+
/** as many values are ticked as a Pivot takes */
|
|
243
|
+
TOO_MANY: 'as many values as a Pivot takes are ticked',
|
|
244
|
+
};
|
|
245
|
+
/** What the Pivot editor says (PLAN §11.12) */
|
|
246
|
+
export const PIVOT_EDITOR_NOTES = [
|
|
247
|
+
'Each picked value becomes a column, named by the value, holding the aggregation of its rows; each combination of the row columns with a picked value becomes a row. Values not picked, and combinations holding only them, are left out.',
|
|
248
|
+
"Load values lists the pivot column's values, each once, up to 100. An empty value can't be pivoted, nor one that can't name a column; of two values that differ only in case, one can be ticked, as some databases would mix up their columns.",
|
|
249
|
+
"Pivot runs on Snowflake, Databricks, SingleStore and DuckDB; other databases, such as H2 and Postgres, can't run it.",
|
|
250
|
+
];
|
|
251
|
+
/** Why the Explode Array editor won't pick a column (PLAN §11.20) */
|
|
252
|
+
export const EXPLODE_COLUMN_DISABLED_REASON = {
|
|
253
|
+
/** a column of another type than Variant */
|
|
254
|
+
NOT_JSON: 'not JSON',
|
|
255
|
+
};
|
|
256
|
+
/** Under the Explode Array editor (PLAN §11.20) */
|
|
257
|
+
export const EXPLODE_EDITOR_NOTES = [
|
|
258
|
+
'One row per element of the array, the other columns repeated on each. A row whose array is empty, or that has none, is kept once, with an empty element.',
|
|
259
|
+
"Find arrays reads the column's first values, as Explore JSON does, and lists the arrays they hold. Keys can be typed too: none when the column is the array.",
|
|
260
|
+
'The element is JSON: Explore JSON, in its column menu, makes columns of its fields. Explode Array runs on Snowflake, Databricks, Postgres and DuckDB.',
|
|
261
|
+
];
|
|
262
|
+
/** Explore JSON's one row per element offer, as its tooltip explains it (PLAN §11.20) */
|
|
263
|
+
export const CUBE_JSON_EXPLODE_OFFER_TITLE = 'Adds an Explode Array node: a row for each element, the element as a new JSON column. One array at a time.';
|
|
264
|
+
/** The tooltips of a Variant column's fields in an expression editor (PLAN §11.20, V.9) */
|
|
265
|
+
export const CUBE_JSON_FIELDS_TITLE = {
|
|
266
|
+
OPEN: 'Show its fields, read from its first values just before this step: listed in Runs; a field clicked is written into the expression',
|
|
267
|
+
FORMS: 'Other forms of the field: counts, lists, the first element, totals, as JSON',
|
|
268
|
+
EXPLODE: 'One row per element is a step of its own: add Explode Array from the palette, or from Explore JSON in the grid',
|
|
269
|
+
READ_AGAIN: 'Read the column again',
|
|
270
|
+
EVERY_ROW: 'Read every value of the column, for the shape of the whole column: listed in Runs, and it can be stopped',
|
|
271
|
+
};
|
|
272
|
+
/** What a Variant column's fields were read from, in an expression editor (PLAN §11.20, V.9) */
|
|
273
|
+
export const getCubeJsonFieldsStatus = (sample) => {
|
|
274
|
+
const count = sample.rows.toLocaleString('en-US');
|
|
275
|
+
return sample.complete
|
|
276
|
+
? `All ${count} values read, just before this step`
|
|
277
|
+
: `The first ${count} values read, just before this step`;
|
|
278
|
+
};
|
|
279
|
+
/** Says that Find arrays found none in the values read (PLAN §11.20) */
|
|
280
|
+
export const EXPLODE_NO_ARRAYS_NOTICE = 'No array in the values read: type the keys to one.';
|
|
281
|
+
/** Says that Load values found no value to list (PLAN §11.12) */
|
|
282
|
+
export const PIVOT_NO_VALUES_NOTICE = 'The pivot column has no value to list: its rows are all empty, or there are none.';
|
|
283
|
+
/** Says that the engine has more values than the Pivot editor lists (PLAN §11.12) */
|
|
284
|
+
export const getPivotValuesCutNotice = (shown) => `Only the first ${shown} values are listed.`;
|
|
167
285
|
/** Why the Partition editor won't tick a column that can't be compared (PLAN §11.6) */
|
|
168
286
|
export const CUBE_PARTITION_COLUMN_DISABLED_REASON = "can't be partitioned by";
|
|
169
287
|
/** What a Partition row shows in the column's place for a function that takes none (PLAN §11.6) */
|
|
@@ -174,7 +292,7 @@ export const PARTITION_EDITOR_NOTES = [
|
|
|
174
292
|
"Rank, Dense Rank and Row Number need a sort column. Tied rows share a rank: Rank then skips numbers and Dense Rank doesn't. Row Number numbers every row, and rows tied on this node's sort columns get their numbers in no set order: add a sort column that tells them apart, such as an id, for a stable top N.",
|
|
175
293
|
'NTile, Percent Rank and Cumulative Distribution need a sort column too. NTile splits each partition into buckets of near-equal size, numbered from 1 in the sort order; Percent Rank and Cumulative Distribution give each row its place in its partition, from 0 to 1.',
|
|
176
294
|
"Lag and Lead read a column from the row so many rows before or after in the sort order, and are empty at the partition's edges. First and Last read it from the partition's first and last rows, the same on every row. They need a sort column, and rows tied on it may give any of them.",
|
|
177
|
-
"On ClickHouse, First and Last skip empty values, and Lag and Lead show a column's default, such as 0, at the partition's edges instead of empty, unless the column
|
|
295
|
+
"On ClickHouse, First and Last skip empty values, and Lag and Lead show a column's default, such as 0, at the partition's edges instead of empty, unless the column is optional there.",
|
|
178
296
|
"Their sort columns also make this node's other functions run. For totals over the whole partition, add another Apply Window Functions without sort columns.",
|
|
179
297
|
'Empty sort values come last when ascending and first when descending on H2; other databases may differ.',
|
|
180
298
|
"A Sort before this node doesn't order the window: its sort columns do. The rows keep the order they came in.",
|
|
@@ -197,8 +315,9 @@ export const DIFFERENCE_EDITOR_NOTES = [
|
|
|
197
315
|
/** What the Extend editor says about its expressions (PLAN §11.7) */
|
|
198
316
|
export const EXTEND_EDITOR_NOTES = [
|
|
199
317
|
'Write each expression as a lambda of one row, such as x | $x.PRICE * $x.QTY: $x.PRICE reads the column PRICE. A column can use the new columns above it.',
|
|
200
|
-
'
|
|
318
|
+
'An optional column needs ->toOne() before arithmetic, such as $x.QTY->toOne() * 2; an empty value still gives an empty result. Every new column is optional.',
|
|
201
319
|
"Validate (F10) checks the expressions with the engine, types them, and plans them for this cube's database: some functions type, but not every database runs them.",
|
|
320
|
+
'A JSON (Variant) column’s {} opens its fields, read from its first values just before this step: a field clicked is written into the expression last used, and + column adds it as a new column.',
|
|
202
321
|
];
|
|
203
322
|
/** Why the Extend editor's Apply waits (PLAN §11.7) */
|
|
204
323
|
export const EXTEND_APPLY_DISABLED_REASON = Object.freeze({
|
|
@@ -207,20 +326,53 @@ export const EXTEND_APPLY_DISABLED_REASON = Object.freeze({
|
|
|
207
326
|
});
|
|
208
327
|
/** The warning on an Extend whose saved types the engine couldn't check again, e.g. offline (PLAN §11.7) */
|
|
209
328
|
export const getExtendRetypeWarning = (firstLine) => `Could not check these columns' types again, so they keep their saved ones: ${firstLine}`;
|
|
329
|
+
/** The warning on a Filter by Expression whose condition the engine couldn't check again, e.g. offline (PLAN §11.11) */
|
|
330
|
+
export const getConditionRecheckWarning = (firstLine) => `Could not check this condition again, so it keeps its last check: ${firstLine}`;
|
|
210
331
|
/** The notice of a node editor kept open, since its changes can't be applied yet, e.g. an Extend's expressions not validated */
|
|
211
332
|
export const getEditorKeptOpenNotice = (nodeId, waiting) => `The editor of ${nodeId} stays open, since its changes can't be applied yet: ${waiting}, or Cancel to drop them.`;
|
|
333
|
+
/** Why the Filter by Expression editor's Apply waits (PLAN §11.11) */
|
|
334
|
+
export const EXPRESSION_FILTER_APPLY_DISABLED_REASON = Object.freeze({
|
|
335
|
+
NOT_VALIDATED: 'Validate the condition first (F10)',
|
|
336
|
+
VALIDATING: 'Validating the condition',
|
|
337
|
+
});
|
|
338
|
+
/**
|
|
339
|
+
* The hint after an engine error on `and`, `or` or `not` given something
|
|
340
|
+
* other than a Boolean, which Pure's precedence usually causes: comparisons
|
|
341
|
+
* bind no tighter than `&&`, `||` and `!` (PLAN §11.11)
|
|
342
|
+
*/
|
|
343
|
+
export const EXPRESSION_FILTER_PARENTHESES_HINT = 'Put each comparison in parentheses: ($x.A > 1) && ($x.B > 3).';
|
|
344
|
+
/** What the Filter by Expression editor says about conditions (PLAN §11.11) */
|
|
345
|
+
export const EXPRESSION_FILTER_EDITOR_NOTES = [
|
|
346
|
+
"A condition of one row, written as in Query's text mode: x | $x.SHIPPED_DATE > $x.REQUIRED_DATE. The rows for which it is true are kept, in their order.",
|
|
347
|
+
'Put each comparison in parentheses when you combine them: ($x.A > 1) && ($x.B > 3). In Pure, &&, || and ! bind as tightly as >, <, >= and <=; == binds tighter.',
|
|
348
|
+
'An optional column, compared directly ($x.A > 6), fails the condition when it is empty and passes its negation. After ->toOne(), an empty value fails both.',
|
|
349
|
+
"Validate (F10) checks the condition with the engine and plans it for the cube's database.",
|
|
350
|
+
"startsWith, endsWith and contains can't take a value with a backslash (\\) yet, nor, on DuckDB, one with % or _.",
|
|
351
|
+
'A JSON (Variant) column’s {} opens its fields, read from its first values just before this step: a field clicked is written into the condition.',
|
|
352
|
+
];
|
|
212
353
|
/** The hint after an engine error on a column that can be empty, in arithmetic (PLAN §11.7) */
|
|
213
|
-
export const EXTEND_TO_ONE_HINT = '
|
|
214
|
-
/** The problem a database refusing an Extend's plan gives (PLAN §11.7) */
|
|
354
|
+
export const EXTEND_TO_ONE_HINT = 'An optional column needs ->toOne() first, such as $x.QTY->toOne() + 1.';
|
|
355
|
+
/** The problem a database refusing an Extend's or a Filter by Expression's plan gives (PLAN §11.7, §11.11) */
|
|
215
356
|
export const getExtendPlanProblem = (databaseType, detail) => `${databaseType ? `${databaseType} can't run it` : "The database can't run it"}: ${detail}`;
|
|
216
357
|
/** Under the Rename editor's rows: the rule for new column names (PLAN §11.4) */
|
|
217
358
|
export const COLUMN_NAME_RULES_HINT = 'Names can\'t start or end with a space, or contain " or \\ or control characters, and have at most 128 characters.';
|
|
359
|
+
/** Words a title leaves in lower case, but first */
|
|
360
|
+
const TITLE_SMALL_WORDS = new Set(['a', 'an', 'of']);
|
|
218
361
|
/**
|
|
219
362
|
* A node type's label as the node editor's title shows it, each word
|
|
220
|
-
* capitalised (QUESTIONS.md U1(a)), e.g. 'Take
|
|
221
|
-
* keeps its own wording
|
|
363
|
+
* capitalised but `a`, `an` and `of` (QUESTIONS.md U1(a)), e.g. 'Take a Range
|
|
364
|
+
* of Rows'; the registry keeps its own wording
|
|
222
365
|
*/
|
|
223
|
-
export const toEditorTitle = (label) => label.replace(/(?<=^|\s)[a-z]
|
|
366
|
+
export const toEditorTitle = (label) => label.replace(/(?<=^|\s)[a-z]+/gu, (word, offset) => offset > 0 && TITLE_SMALL_WORDS.has(word)
|
|
367
|
+
? word
|
|
368
|
+
: `${word[0]?.toUpperCase() ?? ''}${word.slice(1)}`);
|
|
224
369
|
/** The source dialog's body until a tab is chosen, opened from the empty canvas (spec §17.8, U4(b)) */
|
|
225
370
|
export const SELECT_SOURCE_TYPE_PROMPT = 'Select source type above';
|
|
371
|
+
/** Why the source dialog's Add is disabled: nothing picked yet, or not ready */
|
|
372
|
+
export const CUBE_PICK_TO_ADD_TITLE = 'Pick what to add first';
|
|
373
|
+
/**
|
|
374
|
+
* The badge a node type shows beside its name: WIP for one that doesn't
|
|
375
|
+
* work yet (a service, PLAN §6.4), else BETA for one in beta, else none
|
|
376
|
+
*/
|
|
377
|
+
export const getCubeNodeBadge = (definition) => definition.wip ? 'WIP' : definition.beta ? 'BETA' : undefined;
|
|
226
378
|
//# sourceMappingURL=LegendCubeLabels.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendCubeLabels.js","sourceRoot":"","sources":["../../src/__lib__/LegendCubeLabels.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,2EAA2E;AAC3E,4BAA4B;AAE5B,uEAAuE;AACvE,MAAM,CAAC,MAAM,iBAAiB,GAAG,IAAI,CAAC;AACtC,6FAA6F;AAC7F,MAAM,CAAC,MAAM,2BAA2B,GAAG,OAAO,CAAC;AACnD,4CAA4C;AAC5C,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAC;AAElC,MAAM,CAAN,IAAY,yBAKX;AALD,WAAY,yBAAyB;IACnC,gEAAmC,CAAA;IACnC,gFAAmD,CAAA;IACnD,+EAA+E;IAC/E,0FAA6D,CAAA;AAC/D,CAAC,EALW,yBAAyB,KAAzB,yBAAyB,QAKpC;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG,eAAe,CAAC;AACjD,4GAA4G;AAC5G,MAAM,CAAC,MAAM,uBAAuB,GAClC,oGAAoG,CAAC;AAEvG,yGAAyG;AACzG,M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,CAAC,IAAI,CAAC;IACvC,CAAC,CAAC,IAAI;IACN,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CACtD,CAAC;AAEJ,uGAAuG;AACvG,MAAM,CAAC,MAAM,yBAAyB,GAAG,0BAA0B,CAAC;AAEpE,gFAAgF;AAChF,MAAM,CAAC,MAAM,sBAAsB,GAAG,wBAAwB,CAAC;AAE/D;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,UAGhC,EAA8B,EAAE,CAC/B,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* A deployed data product's page in Legend Marketplace, at its access point
|
|
18
|
+
* group when one is given, as Legend Query links to it (PLAN §11.18)
|
|
19
|
+
*
|
|
20
|
+
* @external_application_navigation This depends on Legend Marketplace routing and is hardcoded so it's potentially brittle
|
|
21
|
+
*/
|
|
22
|
+
export declare const EXTERNAL_APPLICATION_NAVIGATION__generateCubeMarketplaceDataProductUrl: (marketplaceApplicationUrl: string, dataProductId: string, deploymentId: string, accessPointGroupId?: string | undefined) => string;
|
|
23
|
+
//# sourceMappingURL=LegendCubeNavigation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendCubeNavigation.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendCubeNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgBH;;;;;GAKG;AACH,eAAO,MAAM,sEAAsE,GAE/E,2BAA2B,MAAM,EACjC,eAAe,MAAM,EACrB,cAAc,MAAM,EACpB,qBAAqB,MAAM,GAAG,SAAS,KACtC,MAKC,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* The anchor Legend Marketplace's data product viewer gives an access point
|
|
18
|
+
* group, which it reads from the URL hash on load: as Legend Query writes it
|
|
19
|
+
* (`EXTERNAL_APPLICATION_NAVIGATION__generateMarketplaceDataProductUrl`)
|
|
20
|
+
*
|
|
21
|
+
* @external_application_navigation This depends on Legend Marketplace routing and is hardcoded so it's potentially brittle
|
|
22
|
+
*/
|
|
23
|
+
const EXTERNAL_APPLICATION_NAVIGATION__generateCubeAccessPointGroupAnchor = (accessPointGroupId) => encodeURIComponent(`apg-${accessPointGroupId}`.trim().toLowerCase().replace(/\s+/gu, '-'));
|
|
24
|
+
/**
|
|
25
|
+
* A deployed data product's page in Legend Marketplace, at its access point
|
|
26
|
+
* group when one is given, as Legend Query links to it (PLAN §11.18)
|
|
27
|
+
*
|
|
28
|
+
* @external_application_navigation This depends on Legend Marketplace routing and is hardcoded so it's potentially brittle
|
|
29
|
+
*/
|
|
30
|
+
export const EXTERNAL_APPLICATION_NAVIGATION__generateCubeMarketplaceDataProductUrl = (marketplaceApplicationUrl, dataProductId, deploymentId, accessPointGroupId) => `${marketplaceApplicationUrl}/dataProduct/deployed/${dataProductId}/${deploymentId}${accessPointGroupId
|
|
31
|
+
? `#${EXTERNAL_APPLICATION_NAVIGATION__generateCubeAccessPointGroupAnchor(accessPointGroupId)}`
|
|
32
|
+
: ''}`;
|
|
33
|
+
//# sourceMappingURL=LegendCubeNavigation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendCubeNavigation.js","sourceRoot":"","sources":["../../src/__lib__/LegendCubeNavigation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;;;;GAMG;AACH,MAAM,mEAAmE,GAAG,CAC1E,kBAA0B,EAClB,EAAE,CACV,kBAAkB,CAChB,OAAO,kBAAkB,EAAE,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC,OAAO,CAAC,OAAO,EAAE,GAAG,CAAC,CACvE,CAAC;AAEJ;;;;;GAKG;AACH,MAAM,CAAC,MAAM,sEAAsE,GACjF,CACE,yBAAiC,EACjC,aAAqB,EACrB,YAAoB,EACpB,kBAAuC,EAC/B,EAAE,CACV,GAAG,yBAAyB,yBAAyB,aAAa,IAAI,YAAY,GAChF,kBAAkB;IAChB,CAAC,CAAC,IAAI,mEAAmE,CAAC,kBAAkB,CAAC,EAAE;IAC/F,CAAC,CAAC,EACN,EAAE,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* What the source dialog says on a host that reads one project's own
|
|
18
|
+
* sources (`CubeHost.project`), e.g. Studio
|
|
19
|
+
*/
|
|
20
|
+
export declare const CUBE_PROJECT_SOURCE_LABEL: {
|
|
21
|
+
readonly RUNS_ON: (runtime: string) => string;
|
|
22
|
+
readonly READING_RUNTIME: "reading the project's lakehouse runtime";
|
|
23
|
+
readonly NO_INGEST_DEFINITIONS: "The project has no ingest definitions.";
|
|
24
|
+
readonly NO_DATA_PRODUCTS: "The project has no data products.";
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=LegendCubeProjectSourceLabels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendCubeProjectSourceLabels.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendCubeProjectSourceLabels.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;GAGG;AACH,eAAO,MAAM,yBAAyB;gCACjB,MAAM,KAAG,MAAM;;;;CAI1B,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* What the source dialog says on a host that reads one project's own
|
|
18
|
+
* sources (`CubeHost.project`), e.g. Studio
|
|
19
|
+
*/
|
|
20
|
+
export const CUBE_PROJECT_SOURCE_LABEL = {
|
|
21
|
+
RUNS_ON: (runtime) => `Runs on ${runtime}`,
|
|
22
|
+
READING_RUNTIME: "reading the project's lakehouse runtime",
|
|
23
|
+
NO_INGEST_DEFINITIONS: 'The project has no ingest definitions.',
|
|
24
|
+
NO_DATA_PRODUCTS: 'The project has no data products.',
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=LegendCubeProjectSourceLabels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendCubeProjectSourceLabels.js","sourceRoot":"","sources":["../../src/__lib__/LegendCubeProjectSourceLabels.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,OAAO,EAAE,CAAC,OAAe,EAAU,EAAE,CAAC,WAAW,OAAO,EAAE;IAC1D,eAAe,EAAE,yCAAyC;IAC1D,qBAAqB,EAAE,wCAAwC;IAC/D,gBAAgB,EAAE,mCAAmC;CAC7C,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
export declare const CUBE_SERVICE_MESSAGE: {
|
|
17
|
+
/** Why a service source isn't valid yet: its first line is the node's error */
|
|
18
|
+
readonly NOT_READABLE: "Cube can't read services yet\nPicking a service works; reading its columns and rows is still being built.";
|
|
19
|
+
readonly NO_CATALOG: "This Legend deployment doesn't list services";
|
|
20
|
+
readonly CUBE_CHANGED: "The cube changed while the service was being added; pick it again.";
|
|
21
|
+
readonly NONE: "No services are deployed.";
|
|
22
|
+
readonly NO_MATCH: "No service matches the search.";
|
|
23
|
+
readonly IN_PROGRESS: "Services are in progress: a service can be added to the canvas, but Cube can't read it yet.";
|
|
24
|
+
};
|
|
25
|
+
/** How many of the matching services the tab shows, when it doesn't show them all */
|
|
26
|
+
export declare const getShownServicesLabel: (shown: number, matching: number) => string | undefined;
|
|
27
|
+
//# sourceMappingURL=LegendCubeServiceLabels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendCubeServiceLabels.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendCubeServiceLabels.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,eAAO,MAAM,oBAAoB;IAC/B,+EAA+E;;;;;;;CASvE,CAAC;AAEX,qFAAqF;AACrF,eAAO,MAAM,qBAAqB,GAChC,OAAO,MAAM,EACb,UAAU,MAAM,KACf,MAAM,GAAG,SAGG,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026-present, Goldman Sachs
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { MESSAGE_SERVICE_NOT_READABLE } from '@finos/legend-cube';
|
|
17
|
+
// The text of service sources (PLAN §6.4), in progress: the source dialog's
|
|
18
|
+
// Service tab and a service's panel
|
|
19
|
+
export const CUBE_SERVICE_MESSAGE = {
|
|
20
|
+
/** Why a service source isn't valid yet: its first line is the node's error */
|
|
21
|
+
NOT_READABLE: `${MESSAGE_SERVICE_NOT_READABLE}\nPicking a service works; reading its columns and rows is still being built.`,
|
|
22
|
+
NO_CATALOG: "This Legend deployment doesn't list services",
|
|
23
|
+
CUBE_CHANGED: 'The cube changed while the service was being added; pick it again.',
|
|
24
|
+
NONE: 'No services are deployed.',
|
|
25
|
+
NO_MATCH: 'No service matches the search.',
|
|
26
|
+
IN_PROGRESS: "Services are in progress: a service can be added to the canvas, but Cube can't read it yet.",
|
|
27
|
+
};
|
|
28
|
+
/** How many of the matching services the tab shows, when it doesn't show them all */
|
|
29
|
+
export const getShownServicesLabel = (shown, matching) => shown < matching
|
|
30
|
+
? `Showing ${shown} of ${matching} services: search to narrow the list`
|
|
31
|
+
: undefined;
|
|
32
|
+
//# sourceMappingURL=LegendCubeServiceLabels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LegendCubeServiceLabels.js","sourceRoot":"","sources":["../../src/__lib__/LegendCubeServiceLabels.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAElE,4EAA4E;AAC5E,oCAAoC;AAEpC,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,+EAA+E;IAC/E,YAAY,EAAE,GAAG,4BAA4B,+EAA+E;IAC5H,UAAU,EAAE,8CAA8C;IAC1D,YAAY,EACV,oEAAoE;IACtE,IAAI,EAAE,2BAA2B;IACjC,QAAQ,EAAE,gCAAgC;IAC1C,WAAW,EACT,6FAA6F;CACvF,CAAC;AAEX,qFAAqF;AACrF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,KAAa,EACb,QAAgB,EACI,EAAE,CACtB,KAAK,GAAG,QAAQ;IACd,CAAC,CAAC,WAAW,KAAK,OAAO,QAAQ,sCAAsC;IACvE,CAAC,CAAC,SAAS,CAAC"}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
export declare enum LEGEND_CUBE_TEST_ID {
|
|
17
|
+
RUNNING_NODE_BADGE = "legend-cube__running-node-badge",
|
|
17
18
|
EDITOR = "legend-cube__editor",
|
|
18
19
|
GRAPH_REGION = "legend-cube__graph-region",
|
|
19
20
|
GRID_REGION = "legend-cube__grid-region",
|
|
@@ -25,10 +26,18 @@ export declare enum LEGEND_CUBE_TEST_ID {
|
|
|
25
26
|
NODE_EDITOR = "legend-cube__node-editor",
|
|
26
27
|
EDITOR_NOTICE = "legend-cube__editor-notice",
|
|
27
28
|
ENTRY_SOURCE_ERROR = "legend-cube__entry-source-error",
|
|
29
|
+
LAMBDA_IMPORT = "legend-cube__lambda-import",
|
|
30
|
+
IMPORT_PURE = "legend-cube__import-pure",
|
|
28
31
|
FILTER_CONDITION = "legend-cube__filter-condition",
|
|
29
32
|
RESULT_GRID = "legend-cube__result-grid",
|
|
33
|
+
DRILLDOWN_BAR = "legend-cube__drilldown-bar",
|
|
34
|
+
RUN_STATS = "legend-cube__run-stats",
|
|
35
|
+
COLUMN_FORMAT = "legend-cube__column-format",
|
|
36
|
+
DRILLDOWN_SETTINGS = "legend-cube__drilldown-settings",
|
|
30
37
|
GRID_TOOLBAR = "legend-cube__grid-toolbar",
|
|
31
38
|
EXECUTION_ERROR = "legend-cube__execution-error",
|
|
32
|
-
SQL_PANEL = "legend-cube__sql-panel"
|
|
39
|
+
SQL_PANEL = "legend-cube__sql-panel",
|
|
40
|
+
JSON_VIEWER = "legend-cube__json-viewer",
|
|
41
|
+
JSON_EXPLORER = "legend-cube__json-explorer"
|
|
33
42
|
}
|
|
34
43
|
//# sourceMappingURL=LegendCubeTesting.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendCubeTesting.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendCubeTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,mBAAmB;IAC7B,MAAM,wBAAwB;IAC9B,YAAY,8BAA8B;IAC1C,WAAW,6BAA6B;IACxC,MAAM,wBAAwB;IAC9B,WAAW,6BAA6B;IACxC,iBAAiB,mCAAmC;IACpD,OAAO,yBAAyB;IAChC,YAAY,8BAA8B;IAC1C,WAAW,6BAA6B;IACxC,aAAa,+BAA+B;IAC5C,kBAAkB,oCAAoC;IACtD,gBAAgB,kCAAkC;IAClD,WAAW,6BAA6B;IACxC,YAAY,8BAA8B;IAC1C,eAAe,iCAAiC;IAChD,SAAS,2BAA2B;
|
|
1
|
+
{"version":3,"file":"LegendCubeTesting.d.ts","sourceRoot":"","sources":["../../src/__lib__/LegendCubeTesting.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,mBAAmB;IAC7B,kBAAkB,oCAAoC;IACtD,MAAM,wBAAwB;IAC9B,YAAY,8BAA8B;IAC1C,WAAW,6BAA6B;IACxC,MAAM,wBAAwB;IAC9B,WAAW,6BAA6B;IACxC,iBAAiB,mCAAmC;IACpD,OAAO,yBAAyB;IAChC,YAAY,8BAA8B;IAC1C,WAAW,6BAA6B;IACxC,aAAa,+BAA+B;IAC5C,kBAAkB,oCAAoC;IACtD,aAAa,+BAA+B;IAC5C,WAAW,6BAA6B;IACxC,gBAAgB,kCAAkC;IAClD,WAAW,6BAA6B;IACxC,aAAa,+BAA+B;IAC5C,SAAS,2BAA2B;IACpC,aAAa,+BAA+B;IAC5C,kBAAkB,oCAAoC;IACtD,YAAY,8BAA8B;IAC1C,eAAe,iCAAiC;IAChD,SAAS,2BAA2B;IACpC,WAAW,6BAA6B;IACxC,aAAa,+BAA+B;CAC7C"}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
export var LEGEND_CUBE_TEST_ID;
|
|
17
17
|
(function (LEGEND_CUBE_TEST_ID) {
|
|
18
|
+
LEGEND_CUBE_TEST_ID["RUNNING_NODE_BADGE"] = "legend-cube__running-node-badge";
|
|
18
19
|
LEGEND_CUBE_TEST_ID["EDITOR"] = "legend-cube__editor";
|
|
19
20
|
LEGEND_CUBE_TEST_ID["GRAPH_REGION"] = "legend-cube__graph-region";
|
|
20
21
|
LEGEND_CUBE_TEST_ID["GRID_REGION"] = "legend-cube__grid-region";
|
|
@@ -26,10 +27,18 @@ export var LEGEND_CUBE_TEST_ID;
|
|
|
26
27
|
LEGEND_CUBE_TEST_ID["NODE_EDITOR"] = "legend-cube__node-editor";
|
|
27
28
|
LEGEND_CUBE_TEST_ID["EDITOR_NOTICE"] = "legend-cube__editor-notice";
|
|
28
29
|
LEGEND_CUBE_TEST_ID["ENTRY_SOURCE_ERROR"] = "legend-cube__entry-source-error";
|
|
30
|
+
LEGEND_CUBE_TEST_ID["LAMBDA_IMPORT"] = "legend-cube__lambda-import";
|
|
31
|
+
LEGEND_CUBE_TEST_ID["IMPORT_PURE"] = "legend-cube__import-pure";
|
|
29
32
|
LEGEND_CUBE_TEST_ID["FILTER_CONDITION"] = "legend-cube__filter-condition";
|
|
30
33
|
LEGEND_CUBE_TEST_ID["RESULT_GRID"] = "legend-cube__result-grid";
|
|
34
|
+
LEGEND_CUBE_TEST_ID["DRILLDOWN_BAR"] = "legend-cube__drilldown-bar";
|
|
35
|
+
LEGEND_CUBE_TEST_ID["RUN_STATS"] = "legend-cube__run-stats";
|
|
36
|
+
LEGEND_CUBE_TEST_ID["COLUMN_FORMAT"] = "legend-cube__column-format";
|
|
37
|
+
LEGEND_CUBE_TEST_ID["DRILLDOWN_SETTINGS"] = "legend-cube__drilldown-settings";
|
|
31
38
|
LEGEND_CUBE_TEST_ID["GRID_TOOLBAR"] = "legend-cube__grid-toolbar";
|
|
32
39
|
LEGEND_CUBE_TEST_ID["EXECUTION_ERROR"] = "legend-cube__execution-error";
|
|
33
40
|
LEGEND_CUBE_TEST_ID["SQL_PANEL"] = "legend-cube__sql-panel";
|
|
41
|
+
LEGEND_CUBE_TEST_ID["JSON_VIEWER"] = "legend-cube__json-viewer";
|
|
42
|
+
LEGEND_CUBE_TEST_ID["JSON_EXPLORER"] = "legend-cube__json-explorer";
|
|
34
43
|
})(LEGEND_CUBE_TEST_ID || (LEGEND_CUBE_TEST_ID = {}));
|
|
35
44
|
//# sourceMappingURL=LegendCubeTesting.js.map
|