@finos/legend-cube-builder 0.0.3 → 0.0.4
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 +52 -19
- package/docs/adding-an-operation.md +102 -13
- package/docs/hosting.md +82 -4
- package/docs/testing.md +114 -9
- package/lib/__lib__/LegendCubeCommand.d.ts +2 -1
- package/lib/__lib__/LegendCubeCommand.d.ts.map +1 -1
- package/lib/__lib__/LegendCubeCommand.js +5 -0
- package/lib/__lib__/LegendCubeCommand.js.map +1 -1
- package/lib/__lib__/LegendCubeDataProductLabels.d.ts +45 -0
- package/lib/__lib__/LegendCubeDataProductLabels.d.ts.map +1 -0
- package/lib/__lib__/LegendCubeDataProductLabels.js +60 -0
- package/lib/__lib__/LegendCubeDataProductLabels.js.map +1 -0
- package/lib/__lib__/LegendCubeDirectConnectionLabels.d.ts +56 -0
- package/lib/__lib__/LegendCubeDirectConnectionLabels.d.ts.map +1 -0
- package/lib/__lib__/LegendCubeDirectConnectionLabels.js +76 -0
- package/lib/__lib__/LegendCubeDirectConnectionLabels.js.map +1 -0
- package/lib/__lib__/LegendCubeHelpText.d.ts.map +1 -1
- package/lib/__lib__/LegendCubeHelpText.js +12 -2
- package/lib/__lib__/LegendCubeHelpText.js.map +1 -1
- package/lib/__lib__/LegendCubeIngestLabels.d.ts +25 -0
- package/lib/__lib__/LegendCubeIngestLabels.d.ts.map +1 -0
- package/lib/__lib__/LegendCubeIngestLabels.js +29 -0
- package/lib/__lib__/LegendCubeIngestLabels.js.map +1 -0
- package/lib/__lib__/LegendCubeLabels.d.ts +76 -3
- package/lib/__lib__/LegendCubeLabels.d.ts.map +1 -1
- package/lib/__lib__/LegendCubeLabels.js +102 -4
- package/lib/__lib__/LegendCubeLabels.js.map +1 -1
- package/lib/__lib__/LegendCubeProjectLabels.d.ts +22 -0
- package/lib/__lib__/LegendCubeProjectLabels.d.ts.map +1 -0
- package/lib/__lib__/LegendCubeProjectLabels.js +23 -0
- package/lib/__lib__/LegendCubeProjectLabels.js.map +1 -0
- package/lib/__lib__/LegendCubeTesting.d.ts +1 -0
- package/lib/__lib__/LegendCubeTesting.d.ts.map +1 -1
- package/lib/__lib__/LegendCubeTesting.js +1 -0
- package/lib/__lib__/LegendCubeTesting.js.map +1 -1
- package/lib/__test-utils__/CubeCanvasTestUtils.d.ts.map +1 -1
- package/lib/__test-utils__/CubeCanvasTestUtils.js +1 -1
- package/lib/__test-utils__/CubeCanvasTestUtils.js.map +1 -1
- package/lib/__test-utils__/CubeConnectionTestSupport.d.ts +22 -0
- package/lib/__test-utils__/CubeConnectionTestSupport.d.ts.map +1 -0
- package/lib/__test-utils__/CubeConnectionTestSupport.js +30 -0
- package/lib/__test-utils__/CubeConnectionTestSupport.js.map +1 -0
- package/lib/__test-utils__/CubeDirectConnectionFixtures.d.ts +31 -0
- package/lib/__test-utils__/CubeDirectConnectionFixtures.d.ts.map +1 -0
- package/lib/__test-utils__/CubeDirectConnectionFixtures.js +63 -0
- package/lib/__test-utils__/CubeDirectConnectionFixtures.js.map +1 -0
- package/lib/__test-utils__/CubeEngineTestSupport.d.ts +12 -0
- package/lib/__test-utils__/CubeEngineTestSupport.d.ts.map +1 -1
- package/lib/__test-utils__/CubeEngineTestSupport.js +21 -0
- package/lib/__test-utils__/CubeEngineTestSupport.js.map +1 -1
- package/lib/__test-utils__/CubeExpressionTestUtils.d.ts +37 -0
- package/lib/__test-utils__/CubeExpressionTestUtils.d.ts.map +1 -0
- package/lib/__test-utils__/CubeExpressionTestUtils.js +83 -0
- package/lib/__test-utils__/CubeExpressionTestUtils.js.map +1 -0
- package/lib/__test-utils__/CubeOperationsTestUtils.d.ts +25 -0
- package/lib/__test-utils__/CubeOperationsTestUtils.d.ts.map +1 -1
- package/lib/__test-utils__/CubeOperationsTestUtils.js +56 -10
- package/lib/__test-utils__/CubeOperationsTestUtils.js.map +1 -1
- package/lib/__test-utils__/CubePageTestUtils.d.ts +12 -0
- package/lib/__test-utils__/CubePageTestUtils.d.ts.map +1 -1
- package/lib/__test-utils__/CubePageTestUtils.js +25 -1
- package/lib/__test-utils__/CubePageTestUtils.js.map +1 -1
- package/lib/__test-utils__/CubeTestApplication.d.ts +5 -1
- package/lib/__test-utils__/CubeTestApplication.d.ts.map +1 -1
- package/lib/__test-utils__/CubeTestApplication.js +9 -1
- package/lib/__test-utils__/CubeTestApplication.js.map +1 -1
- package/lib/__test-utils__/FakeCubeConnectionExplorer.d.ts +33 -0
- package/lib/__test-utils__/FakeCubeConnectionExplorer.d.ts.map +1 -0
- package/lib/__test-utils__/FakeCubeConnectionExplorer.js +67 -0
- package/lib/__test-utils__/FakeCubeConnectionExplorer.js.map +1 -0
- package/lib/__test-utils__/FakeCubeDataProductCatalog.d.ts +45 -0
- package/lib/__test-utils__/FakeCubeDataProductCatalog.d.ts.map +1 -0
- package/lib/__test-utils__/FakeCubeDataProductCatalog.js +137 -0
- package/lib/__test-utils__/FakeCubeDataProductCatalog.js.map +1 -0
- package/lib/__test-utils__/FakeCubeEngine.d.ts +2 -0
- package/lib/__test-utils__/FakeCubeEngine.d.ts.map +1 -1
- package/lib/__test-utils__/FakeCubeEngine.js +14 -1
- package/lib/__test-utils__/FakeCubeEngine.js.map +1 -1
- package/lib/__test-utils__/FakeCubeIngestCatalog.d.ts +35 -0
- package/lib/__test-utils__/FakeCubeIngestCatalog.d.ts.map +1 -0
- package/lib/__test-utils__/FakeCubeIngestCatalog.js +107 -0
- package/lib/__test-utils__/FakeCubeIngestCatalog.js.map +1 -0
- package/lib/__test-utils__/FakeCubeProjectCatalog.d.ts +30 -0
- package/lib/__test-utils__/FakeCubeProjectCatalog.d.ts.map +1 -0
- package/lib/__test-utils__/FakeCubeProjectCatalog.js +64 -0
- package/lib/__test-utils__/FakeCubeProjectCatalog.js.map +1 -0
- package/lib/components/CubeAddItems.d.ts +35 -0
- package/lib/components/CubeAddItems.d.ts.map +1 -0
- package/lib/components/CubeAddItems.js +82 -0
- package/lib/components/CubeAddItems.js.map +1 -0
- package/lib/components/CubeEditor.d.ts +5 -1
- package/lib/components/CubeEditor.d.ts.map +1 -1
- package/lib/components/CubeEditor.js +33 -13
- package/lib/components/CubeEditor.js.map +1 -1
- package/lib/components/CubeEntrySourceBanner.d.ts +23 -0
- package/lib/components/CubeEntrySourceBanner.d.ts.map +1 -0
- package/lib/components/CubeEntrySourceBanner.js +32 -0
- package/lib/components/CubeEntrySourceBanner.js.map +1 -0
- package/lib/components/CubeNodeIcon.d.ts.map +1 -1
- package/lib/components/CubeNodeIcon.js +8 -1
- package/lib/components/CubeNodeIcon.js.map +1 -1
- package/lib/components/CubeSchemaColumnsTable.d.ts +21 -0
- package/lib/components/CubeSchemaColumnsTable.d.ts.map +1 -0
- package/lib/components/CubeSchemaColumnsTable.js +6 -0
- package/lib/components/CubeSchemaColumnsTable.js.map +1 -0
- package/lib/components/canvas/CubeCanvas.d.ts +4 -3
- package/lib/components/canvas/CubeCanvas.d.ts.map +1 -1
- package/lib/components/canvas/CubeCanvas.js +31 -12
- package/lib/components/canvas/CubeCanvas.js.map +1 -1
- package/lib/components/canvas/CubeCanvasContextMenu.d.ts +8 -4
- package/lib/components/canvas/CubeCanvasContextMenu.d.ts.map +1 -1
- package/lib/components/canvas/CubeCanvasContextMenu.js +19 -9
- package/lib/components/canvas/CubeCanvasContextMenu.js.map +1 -1
- package/lib/components/canvas/CubeCanvasDnd.d.ts +7 -5
- package/lib/components/canvas/CubeCanvasDnd.d.ts.map +1 -1
- package/lib/components/canvas/CubeCanvasDnd.js +14 -9
- package/lib/components/canvas/CubeCanvasDnd.js.map +1 -1
- package/lib/components/canvas/CubeCanvasElements.d.ts.map +1 -1
- package/lib/components/canvas/CubeCanvasElements.js +6 -3
- package/lib/components/canvas/CubeCanvasElements.js.map +1 -1
- package/lib/components/canvas/CubeCanvasNode.d.ts.map +1 -1
- package/lib/components/canvas/CubeCanvasNode.js +30 -20
- package/lib/components/canvas/CubeCanvasNode.js.map +1 -1
- package/lib/components/canvas/CubeCanvasNodeFocus.d.ts +22 -0
- package/lib/components/canvas/CubeCanvasNodeFocus.d.ts.map +1 -0
- package/lib/components/canvas/CubeCanvasNodeFocus.js +31 -0
- package/lib/components/canvas/CubeCanvasNodeFocus.js.map +1 -0
- package/lib/components/canvas/CubeNodeEditorAnchor.d.ts +44 -0
- package/lib/components/canvas/CubeNodeEditorAnchor.d.ts.map +1 -0
- package/lib/components/canvas/CubeNodeEditorAnchor.js +51 -0
- package/lib/components/canvas/CubeNodeEditorAnchor.js.map +1 -0
- package/lib/components/editors/CubeAggregationRowEditor.d.ts +48 -0
- package/lib/components/editors/CubeAggregationRowEditor.d.ts.map +1 -0
- package/lib/components/editors/CubeAggregationRowEditor.js +72 -0
- package/lib/components/editors/CubeAggregationRowEditor.js.map +1 -0
- package/lib/components/editors/CubeColumnChecklist.d.ts +42 -0
- package/lib/components/editors/CubeColumnChecklist.d.ts.map +1 -0
- package/lib/components/editors/CubeColumnChecklist.js +41 -0
- package/lib/components/editors/CubeColumnChecklist.js.map +1 -0
- package/lib/components/editors/CubeConcatEditor.d.ts +33 -0
- package/lib/components/editors/CubeConcatEditor.d.ts.map +1 -0
- package/lib/components/editors/CubeConcatEditor.js +147 -0
- package/lib/components/editors/CubeConcatEditor.js.map +1 -0
- package/lib/components/editors/CubeDataProductSourceEditor.d.ts +25 -0
- package/lib/components/editors/CubeDataProductSourceEditor.d.ts.map +1 -0
- package/lib/components/editors/CubeDataProductSourceEditor.js +53 -0
- package/lib/components/editors/CubeDataProductSourceEditor.js.map +1 -0
- package/lib/components/editors/CubeDifferenceEditor.d.ts +25 -0
- package/lib/components/editors/CubeDifferenceEditor.d.ts.map +1 -0
- package/lib/components/editors/CubeDifferenceEditor.js +29 -0
- package/lib/components/editors/CubeDifferenceEditor.js.map +1 -0
- package/lib/components/editors/CubeExtendEditor.d.ts +25 -0
- package/lib/components/editors/CubeExtendEditor.d.ts.map +1 -0
- package/lib/components/editors/CubeExtendEditor.js +86 -0
- package/lib/components/editors/CubeExtendEditor.js.map +1 -0
- package/lib/components/editors/CubeFilterEditor.d.ts.map +1 -1
- package/lib/components/editors/CubeFilterEditor.js +3 -3
- package/lib/components/editors/CubeFilterEditor.js.map +1 -1
- package/lib/components/editors/CubeGroupEditor.d.ts +28 -0
- package/lib/components/editors/CubeGroupEditor.d.ts.map +1 -0
- package/lib/components/editors/CubeGroupEditor.js +70 -0
- package/lib/components/editors/CubeGroupEditor.js.map +1 -0
- package/lib/components/editors/CubeIngestSourceEditor.d.ts +26 -0
- package/lib/components/editors/CubeIngestSourceEditor.d.ts.map +1 -0
- package/lib/components/editors/CubeIngestSourceEditor.js +47 -0
- package/lib/components/editors/CubeIngestSourceEditor.js.map +1 -0
- package/lib/components/editors/CubeJoinEditor.d.ts +2 -4
- package/lib/components/editors/CubeJoinEditor.d.ts.map +1 -1
- package/lib/components/editors/CubeJoinEditor.js +7 -37
- package/lib/components/editors/CubeJoinEditor.js.map +1 -1
- package/lib/components/editors/CubeJoinKeyRows.d.ts +34 -0
- package/lib/components/editors/CubeJoinKeyRows.d.ts.map +1 -0
- package/lib/components/editors/CubeJoinKeyRows.js +65 -0
- package/lib/components/editors/CubeJoinKeyRows.js.map +1 -0
- package/lib/components/editors/CubeNodeEditorPanel.d.ts +7 -5
- package/lib/components/editors/CubeNodeEditorPanel.d.ts.map +1 -1
- package/lib/components/editors/CubeNodeEditorPanel.js +51 -13
- package/lib/components/editors/CubeNodeEditorPanel.js.map +1 -1
- package/lib/components/editors/CubeNodeEditorPopper.d.ts +40 -0
- package/lib/components/editors/CubeNodeEditorPopper.d.ts.map +1 -0
- package/lib/components/editors/CubeNodeEditorPopper.js +125 -0
- package/lib/components/editors/CubeNodeEditorPopper.js.map +1 -0
- package/lib/components/editors/CubeNodeEditorRegistry.d.ts.map +1 -1
- package/lib/components/editors/CubeNodeEditorRegistry.js +15 -1
- package/lib/components/editors/CubeNodeEditorRegistry.js.map +1 -1
- package/lib/components/editors/CubePartitionEditor.d.ts +30 -0
- package/lib/components/editors/CubePartitionEditor.d.ts.map +1 -0
- package/lib/components/editors/CubePartitionEditor.js +93 -0
- package/lib/components/editors/CubePartitionEditor.js.map +1 -0
- package/lib/components/editors/CubeRenameEditor.d.ts.map +1 -1
- package/lib/components/editors/CubeRenameEditor.js +6 -4
- package/lib/components/editors/CubeRenameEditor.js.map +1 -1
- package/lib/components/editors/CubeRestrictEditor.js +1 -1
- package/lib/components/editors/CubeRestrictEditor.js.map +1 -1
- package/lib/components/editors/CubeSortEditor.d.ts.map +1 -1
- package/lib/components/editors/CubeSortEditor.js +10 -37
- package/lib/components/editors/CubeSortEditor.js.map +1 -1
- package/lib/components/editors/CubeSortRowEditor.d.ts +47 -0
- package/lib/components/editors/CubeSortRowEditor.d.ts.map +1 -0
- package/lib/components/editors/CubeSortRowEditor.js +62 -0
- package/lib/components/editors/CubeSortRowEditor.js.map +1 -0
- package/lib/components/editors/CubeSourceEditor.d.ts.map +1 -1
- package/lib/components/editors/CubeSourceEditor.js +18 -5
- package/lib/components/editors/CubeSourceEditor.js.map +1 -1
- package/lib/components/editors/CubeWarehouseControl.d.ts +30 -0
- package/lib/components/editors/CubeWarehouseControl.d.ts.map +1 -0
- package/lib/components/editors/CubeWarehouseControl.js +44 -0
- package/lib/components/editors/CubeWarehouseControl.js.map +1 -0
- package/lib/components/editors/useCubeNodeEditorDismiss.d.ts +31 -0
- package/lib/components/editors/useCubeNodeEditorDismiss.d.ts.map +1 -0
- package/lib/components/editors/useCubeNodeEditorDismiss.js +83 -0
- package/lib/components/editors/useCubeNodeEditorDismiss.js.map +1 -0
- package/lib/components/examples/CubeExamplesDialog.d.ts +26 -0
- package/lib/components/examples/CubeExamplesDialog.d.ts.map +1 -0
- package/lib/components/examples/CubeExamplesDialog.js +68 -0
- package/lib/components/examples/CubeExamplesDialog.js.map +1 -0
- package/lib/components/grid/CubeGridRegion.d.ts.map +1 -1
- package/lib/components/grid/CubeGridRegion.js +19 -8
- package/lib/components/grid/CubeGridRegion.js.map +1 -1
- package/lib/components/grid/CubeGridValues.d.ts +16 -0
- package/lib/components/grid/CubeGridValues.d.ts.map +1 -1
- package/lib/components/grid/CubeGridValues.js +44 -0
- package/lib/components/grid/CubeGridValues.js.map +1 -1
- package/lib/components/grid/CubeResultGrid.d.ts.map +1 -1
- package/lib/components/grid/CubeResultGrid.js +14 -2
- package/lib/components/grid/CubeResultGrid.js.map +1 -1
- package/lib/components/palette/CubePalette.d.ts.map +1 -1
- package/lib/components/palette/CubePalette.js +23 -12
- package/lib/components/palette/CubePalette.js.map +1 -1
- package/lib/components/source-picker/CubeDataProductTab.d.ts +27 -0
- package/lib/components/source-picker/CubeDataProductTab.d.ts.map +1 -0
- package/lib/components/source-picker/CubeDataProductTab.js +102 -0
- package/lib/components/source-picker/CubeDataProductTab.js.map +1 -0
- package/lib/components/source-picker/CubeDirectConnectionTab.d.ts +27 -0
- package/lib/components/source-picker/CubeDirectConnectionTab.d.ts.map +1 -0
- package/lib/components/source-picker/CubeDirectConnectionTab.js +87 -0
- package/lib/components/source-picker/CubeDirectConnectionTab.js.map +1 -0
- package/lib/components/source-picker/CubeIngestTab.d.ts +28 -0
- package/lib/components/source-picker/CubeIngestTab.d.ts.map +1 -0
- package/lib/components/source-picker/CubeIngestTab.js +66 -0
- package/lib/components/source-picker/CubeIngestTab.js.map +1 -0
- package/lib/components/source-picker/CubeInlineModelTab.d.ts +37 -0
- package/lib/components/source-picker/CubeInlineModelTab.d.ts.map +1 -0
- package/lib/components/source-picker/CubeInlineModelTab.js +71 -0
- package/lib/components/source-picker/CubeInlineModelTab.js.map +1 -0
- package/lib/components/source-picker/CubePickerStep.d.ts +27 -0
- package/lib/components/source-picker/CubePickerStep.d.ts.map +1 -0
- package/lib/components/source-picker/CubePickerStep.js +23 -0
- package/lib/components/source-picker/CubePickerStep.js.map +1 -0
- package/lib/components/source-picker/CubeProjectTab.d.ts +27 -0
- package/lib/components/source-picker/CubeProjectTab.d.ts.map +1 -0
- package/lib/components/source-picker/CubeProjectTab.js +50 -0
- package/lib/components/source-picker/CubeProjectTab.js.map +1 -0
- package/lib/components/source-picker/CubeSourcePicker.d.ts +6 -0
- package/lib/components/source-picker/CubeSourcePicker.d.ts.map +1 -1
- package/lib/components/source-picker/CubeSourcePicker.js +20 -58
- package/lib/components/source-picker/CubeSourcePicker.js.map +1 -1
- package/lib/components/spec-transfer/CubeSpecTransferDialog.js +1 -1
- package/lib/components/spec-transfer/CubeSpecTransferDialog.js.map +1 -1
- package/lib/graph-manager/CubeConnectionExplorer.d.ts +90 -0
- package/lib/graph-manager/CubeConnectionExplorer.d.ts.map +1 -0
- package/lib/graph-manager/CubeConnectionExplorer.js +34 -0
- package/lib/graph-manager/CubeConnectionExplorer.js.map +1 -0
- package/lib/graph-manager/CubeDataProduct.d.ts +66 -0
- package/lib/graph-manager/CubeDataProduct.d.ts.map +1 -0
- package/lib/graph-manager/CubeDataProduct.js +102 -0
- package/lib/graph-manager/CubeDataProduct.js.map +1 -0
- package/lib/graph-manager/CubeDataProductCatalog.d.ts +167 -0
- package/lib/graph-manager/CubeDataProductCatalog.d.ts.map +1 -0
- package/lib/graph-manager/CubeDataProductCatalog.js +116 -0
- package/lib/graph-manager/CubeDataProductCatalog.js.map +1 -0
- package/lib/graph-manager/CubeDirectConnection.d.ts +38 -0
- package/lib/graph-manager/CubeDirectConnection.d.ts.map +1 -0
- package/lib/graph-manager/CubeDirectConnection.js +48 -0
- package/lib/graph-manager/CubeDirectConnection.js.map +1 -0
- package/lib/graph-manager/CubeEngine.d.ts +37 -2
- package/lib/graph-manager/CubeEngine.d.ts.map +1 -1
- package/lib/graph-manager/CubeEngine.js +4 -1
- package/lib/graph-manager/CubeEngine.js.map +1 -1
- package/lib/graph-manager/CubeIngest.d.ts +50 -0
- package/lib/graph-manager/CubeIngest.d.ts.map +1 -0
- package/lib/graph-manager/CubeIngest.js +88 -0
- package/lib/graph-manager/CubeIngest.js.map +1 -0
- package/lib/graph-manager/CubeIngestCatalog.d.ts +116 -0
- package/lib/graph-manager/CubeIngestCatalog.d.ts.map +1 -0
- package/lib/graph-manager/CubeIngestCatalog.js +80 -0
- package/lib/graph-manager/CubeIngestCatalog.js.map +1 -0
- package/lib/graph-manager/CubeLakehouseEnvironment.d.ts +26 -0
- package/lib/graph-manager/CubeLakehouseEnvironment.d.ts.map +1 -0
- package/lib/graph-manager/CubeLakehouseEnvironment.js +17 -0
- package/lib/graph-manager/CubeLakehouseEnvironment.js.map +1 -0
- package/lib/graph-manager/CubeProject.d.ts +41 -0
- package/lib/graph-manager/CubeProject.d.ts.map +1 -0
- package/lib/graph-manager/CubeProject.js +84 -0
- package/lib/graph-manager/CubeProject.js.map +1 -0
- package/lib/graph-manager/CubeProjectCatalog.d.ts +35 -0
- package/lib/graph-manager/CubeProjectCatalog.d.ts.map +1 -0
- package/lib/graph-manager/CubeProjectCatalog.js +17 -0
- package/lib/graph-manager/CubeProjectCatalog.js.map +1 -0
- package/lib/graph-manager/protocol/pure/CubeEngineBuilder.d.ts +63 -1
- package/lib/graph-manager/protocol/pure/CubeEngineBuilder.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/CubeEngineBuilder.js +50 -1
- package/lib/graph-manager/protocol/pure/CubeEngineBuilder.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDataProductArtifact.d.ts +44 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDataProductArtifact.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDataProductArtifact.js +192 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDataProductArtifact.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDataProductModel.d.ts +29 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDataProductModel.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDataProductModel.js +84 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDataProductModel.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDirectConnection.d.ts +41 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDirectConnection.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDirectConnection.js +246 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDirectConnection.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDirectModel.d.ts +43 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDirectModel.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDirectModel.js +112 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeDirectModel.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeEngineErrors.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_CubeEngineErrors.js +30 -4
- package/lib/graph-manager/protocol/pure/v1/V1_CubeEngineErrors.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_CubeExpression.d.ts +23 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeExpression.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeExpression.js +68 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeExpression.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeIngestDefinition.d.ts +30 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeIngestDefinition.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeIngestDefinition.js +140 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeIngestDefinition.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeIngestModel.d.ts +62 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeIngestModel.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeIngestModel.js +119 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeIngestModel.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeLakehouseEnvironmentResolver.d.ts +33 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeLakehouseEnvironmentResolver.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeLakehouseEnvironmentResolver.js +94 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeLakehouseEnvironmentResolver.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 +63 -4
- package/lib/graph-manager/protocol/pure/v1/V1_CubeLambdaSerializer.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_CubeSchemaExploration.d.ts +67 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeSchemaExploration.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeSchemaExploration.js +238 -0
- package/lib/graph-manager/protocol/pure/v1/V1_CubeSchemaExploration.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeConnectionExplorer.d.ts +34 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeConnectionExplorer.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeConnectionExplorer.js +64 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeConnectionExplorer.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeDataProductCatalog.d.ts +104 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeDataProductCatalog.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeDataProductCatalog.js +484 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeDataProductCatalog.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeEngine.d.ts +97 -3
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeEngine.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeEngine.js +585 -20
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeEngine.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeIngestCatalog.d.ts +69 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeIngestCatalog.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeIngestCatalog.js +270 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeIngestCatalog.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeProjectCatalog.d.ts +35 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeProjectCatalog.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeProjectCatalog.js +91 -0
- package/lib/graph-manager/protocol/pure/v1/V1_LegendCubeProjectCatalog.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeConnectionExplorerTestUtils.d.ts +25 -0
- package/lib/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeConnectionExplorerTestUtils.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeConnectionExplorerTestUtils.js +47 -0
- package/lib/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeConnectionExplorerTestUtils.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeDataProductFixtures.d.ts +28 -0
- package/lib/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeDataProductFixtures.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeDataProductFixtures.js +310 -0
- package/lib/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeDataProductFixtures.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeDataProductSearchFixtures.d.ts +33 -0
- package/lib/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeDataProductSearchFixtures.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeDataProductSearchFixtures.js +188 -0
- package/lib/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeDataProductSearchFixtures.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeEngineTestUtils.d.ts +1 -1
- 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 +27 -1
- 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 +11 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +10 -1
- package/lib/index.js.map +1 -1
- package/lib/stores/CubeAddPlacement.d.ts +32 -0
- package/lib/stores/CubeAddPlacement.d.ts.map +1 -0
- package/lib/stores/CubeAddPlacement.js +40 -0
- package/lib/stores/CubeAddPlacement.js.map +1 -0
- package/lib/stores/CubeDataProductRecheck.d.ts +27 -0
- package/lib/stores/CubeDataProductRecheck.d.ts.map +1 -0
- package/lib/stores/CubeDataProductRecheck.js +54 -0
- package/lib/stores/CubeDataProductRecheck.js.map +1 -0
- package/lib/stores/CubeDataProductRuntimeState.d.ts +88 -0
- package/lib/stores/CubeDataProductRuntimeState.d.ts.map +1 -0
- package/lib/stores/CubeDataProductRuntimeState.js +190 -0
- package/lib/stores/CubeDataProductRuntimeState.js.map +1 -0
- package/lib/stores/CubeDataProductWarehouse.d.ts +19 -0
- package/lib/stores/CubeDataProductWarehouse.d.ts.map +1 -0
- package/lib/stores/CubeDataProductWarehouse.js +25 -0
- package/lib/stores/CubeDataProductWarehouse.js.map +1 -0
- package/lib/stores/CubeEditorState.d.ts +100 -16
- package/lib/stores/CubeEditorState.d.ts.map +1 -1
- package/lib/stores/CubeEditorState.js +347 -47
- package/lib/stores/CubeEditorState.js.map +1 -1
- package/lib/stores/CubeEntrySource.d.ts +78 -0
- package/lib/stores/CubeEntrySource.d.ts.map +1 -0
- package/lib/stores/CubeEntrySource.js +200 -0
- package/lib/stores/CubeEntrySource.js.map +1 -0
- package/lib/stores/CubeExamples.d.ts +43 -0
- package/lib/stores/CubeExamples.d.ts.map +1 -0
- package/lib/stores/CubeExamples.js +296 -0
- package/lib/stores/CubeExamples.js.map +1 -0
- package/lib/stores/CubeExamplesState.d.ts +45 -0
- package/lib/stores/CubeExamplesState.d.ts.map +1 -0
- package/lib/stores/CubeExamplesState.js +81 -0
- package/lib/stores/CubeExamplesState.js.map +1 -0
- package/lib/stores/CubeExecutionState.d.ts +6 -2
- package/lib/stores/CubeExecutionState.d.ts.map +1 -1
- package/lib/stores/CubeExecutionState.js +15 -5
- package/lib/stores/CubeExecutionState.js.map +1 -1
- package/lib/stores/CubeExtendTyping.d.ts +72 -0
- package/lib/stores/CubeExtendTyping.d.ts.map +1 -0
- package/lib/stores/CubeExtendTyping.js +176 -0
- package/lib/stores/CubeExtendTyping.js.map +1 -0
- package/lib/stores/CubeGridQuickActions.d.ts +14 -6
- package/lib/stores/CubeGridQuickActions.d.ts.map +1 -1
- package/lib/stores/CubeGridQuickActions.js +53 -15
- package/lib/stores/CubeGridQuickActions.js.map +1 -1
- package/lib/stores/CubeHost.d.ts +32 -1
- package/lib/stores/CubeHost.d.ts.map +1 -1
- package/lib/stores/CubeHost.js +21 -1
- package/lib/stores/CubeHost.js.map +1 -1
- package/lib/stores/CubeIngestRecheck.d.ts +26 -0
- package/lib/stores/CubeIngestRecheck.d.ts.map +1 -0
- package/lib/stores/CubeIngestRecheck.js +53 -0
- package/lib/stores/CubeIngestRecheck.js.map +1 -0
- package/lib/stores/CubeNodeEditorState.d.ts +101 -5
- package/lib/stores/CubeNodeEditorState.d.ts.map +1 -1
- package/lib/stores/CubeNodeEditorState.js +221 -10
- package/lib/stores/CubeNodeEditorState.js.map +1 -1
- package/lib/stores/CubeShowPureState.d.ts +5 -2
- package/lib/stores/CubeShowPureState.d.ts.map +1 -1
- package/lib/stores/CubeShowPureState.js +7 -4
- package/lib/stores/CubeShowPureState.js.map +1 -1
- package/lib/stores/CubeSourcePickerState.d.ts +54 -65
- package/lib/stores/CubeSourcePickerState.d.ts.map +1 -1
- package/lib/stores/CubeSourcePickerState.js +155 -276
- package/lib/stores/CubeSourcePickerState.js.map +1 -1
- package/lib/stores/CubeSpecTransferState.d.ts +2 -2
- package/lib/stores/CubeSpecTransferState.js +2 -2
- package/lib/stores/LocalModelCatalog.d.ts +2 -0
- package/lib/stores/LocalModelCatalog.d.ts.map +1 -1
- package/lib/stores/LocalModelCatalog.js +17 -3
- package/lib/stores/LocalModelCatalog.js.map +1 -1
- package/lib/stores/editors/CubeAggregationRows.d.ts +80 -0
- package/lib/stores/editors/CubeAggregationRows.d.ts.map +1 -0
- package/lib/stores/editors/CubeAggregationRows.js +164 -0
- package/lib/stores/editors/CubeAggregationRows.js.map +1 -0
- package/lib/stores/editors/CubeConcatDraft.d.ts +30 -0
- package/lib/stores/editors/CubeConcatDraft.d.ts.map +1 -0
- package/lib/stores/editors/CubeConcatDraft.js +44 -0
- package/lib/stores/editors/CubeConcatDraft.js.map +1 -0
- package/lib/stores/editors/CubeDifferenceDraft.d.ts +49 -0
- package/lib/stores/editors/CubeDifferenceDraft.d.ts.map +1 -0
- package/lib/stores/editors/CubeDifferenceDraft.js +111 -0
- package/lib/stores/editors/CubeDifferenceDraft.js.map +1 -0
- package/lib/stores/editors/CubeExtendDraft.d.ts +110 -0
- package/lib/stores/editors/CubeExtendDraft.d.ts.map +1 -0
- package/lib/stores/editors/CubeExtendDraft.js +359 -0
- package/lib/stores/editors/CubeExtendDraft.js.map +1 -0
- package/lib/stores/editors/CubeGroupDraft.d.ts +61 -0
- package/lib/stores/editors/CubeGroupDraft.d.ts.map +1 -0
- package/lib/stores/editors/CubeGroupDraft.js +106 -0
- package/lib/stores/editors/CubeGroupDraft.js.map +1 -0
- package/lib/stores/editors/CubeJoinDraft.d.ts +9 -10
- package/lib/stores/editors/CubeJoinDraft.d.ts.map +1 -1
- package/lib/stores/editors/CubeJoinDraft.js +92 -21
- package/lib/stores/editors/CubeJoinDraft.js.map +1 -1
- package/lib/stores/editors/CubeJoinKeyPairs.d.ts +38 -0
- package/lib/stores/editors/CubeJoinKeyPairs.d.ts.map +1 -0
- package/lib/stores/editors/CubeJoinKeyPairs.js +33 -0
- package/lib/stores/editors/CubeJoinKeyPairs.js.map +1 -0
- package/lib/stores/editors/CubeNodeDraft.d.ts +20 -6
- package/lib/stores/editors/CubeNodeDraft.d.ts.map +1 -1
- package/lib/stores/editors/CubeNodeDraft.js +23 -5
- package/lib/stores/editors/CubeNodeDraft.js.map +1 -1
- package/lib/stores/editors/CubeNodeDraftRegistry.d.ts.map +1 -1
- package/lib/stores/editors/CubeNodeDraftRegistry.js +20 -1
- package/lib/stores/editors/CubeNodeDraftRegistry.js.map +1 -1
- package/lib/stores/editors/CubePartitionDraft.d.ts +70 -0
- package/lib/stores/editors/CubePartitionDraft.d.ts.map +1 -0
- package/lib/stores/editors/CubePartitionDraft.js +154 -0
- package/lib/stores/editors/CubePartitionDraft.js.map +1 -0
- package/lib/stores/editors/CubeSortDraft.d.ts +2 -10
- package/lib/stores/editors/CubeSortDraft.d.ts.map +1 -1
- package/lib/stores/editors/CubeSortDraft.js +9 -35
- package/lib/stores/editors/CubeSortDraft.js.map +1 -1
- package/lib/stores/editors/CubeSortRows.d.ts +34 -0
- package/lib/stores/editors/CubeSortRows.d.ts.map +1 -0
- package/lib/stores/editors/CubeSortRows.js +50 -0
- package/lib/stores/editors/CubeSortRows.js.map +1 -0
- package/lib/stores/fixtures/CubeNorthwindModel.d.ts +7 -0
- package/lib/stores/fixtures/CubeNorthwindModel.d.ts.map +1 -1
- package/lib/stores/fixtures/CubeNorthwindModel.js +99 -87
- package/lib/stores/fixtures/CubeNorthwindModel.js.map +1 -1
- package/lib/stores/fixtures/CubeSampleSql.d.ts +34 -0
- package/lib/stores/fixtures/CubeSampleSql.d.ts.map +1 -0
- package/lib/stores/fixtures/CubeSampleSql.js +64 -0
- package/lib/stores/fixtures/CubeSampleSql.js.map +1 -0
- package/lib/stores/fixtures/CubeSportsModel.d.ts +27 -0
- package/lib/stores/fixtures/CubeSportsModel.d.ts.map +1 -0
- package/lib/stores/fixtures/CubeSportsModel.js +158 -0
- package/lib/stores/fixtures/CubeSportsModel.js.map +1 -0
- package/lib/stores/fixtures/CubeTradesModel.d.ts +29 -0
- package/lib/stores/fixtures/CubeTradesModel.d.ts.map +1 -0
- package/lib/stores/fixtures/CubeTradesModel.js +197 -0
- package/lib/stores/fixtures/CubeTradesModel.js.map +1 -0
- package/lib/stores/source-picker/CubeCsvSetupSql.d.ts +71 -0
- package/lib/stores/source-picker/CubeCsvSetupSql.d.ts.map +1 -0
- package/lib/stores/source-picker/CubeCsvSetupSql.js +392 -0
- package/lib/stores/source-picker/CubeCsvSetupSql.js.map +1 -0
- package/lib/stores/source-picker/CubeDataProductTabState.d.ts +186 -0
- package/lib/stores/source-picker/CubeDataProductTabState.d.ts.map +1 -0
- package/lib/stores/source-picker/CubeDataProductTabState.js +681 -0
- package/lib/stores/source-picker/CubeDataProductTabState.js.map +1 -0
- package/lib/stores/source-picker/CubeDirectConnectionTabState.d.ts +140 -0
- package/lib/stores/source-picker/CubeDirectConnectionTabState.d.ts.map +1 -0
- package/lib/stores/source-picker/CubeDirectConnectionTabState.js +516 -0
- package/lib/stores/source-picker/CubeDirectConnectionTabState.js.map +1 -0
- package/lib/stores/source-picker/CubeIngestTabState.d.ts +114 -0
- package/lib/stores/source-picker/CubeIngestTabState.d.ts.map +1 -0
- package/lib/stores/source-picker/CubeIngestTabState.js +455 -0
- package/lib/stores/source-picker/CubeIngestTabState.js.map +1 -0
- package/lib/stores/source-picker/CubeInlineModelTabState.d.ts +107 -0
- package/lib/stores/source-picker/CubeInlineModelTabState.d.ts.map +1 -0
- package/lib/stores/source-picker/CubeInlineModelTabState.js +347 -0
- package/lib/stores/source-picker/CubeInlineModelTabState.js.map +1 -0
- package/lib/stores/source-picker/CubeProjectTabState.d.ts +62 -0
- package/lib/stores/source-picker/CubeProjectTabState.d.ts.map +1 -0
- package/lib/stores/source-picker/CubeProjectTabState.js +181 -0
- package/lib/stores/source-picker/CubeProjectTabState.js.map +1 -0
- package/lib/stores/source-picker/CubeSourcePickerTab.d.ts +48 -0
- package/lib/stores/source-picker/CubeSourcePickerTab.d.ts.map +1 -0
- package/lib/stores/source-picker/CubeSourcePickerTab.js +24 -0
- package/lib/stores/source-picker/CubeSourcePickerTab.js.map +1 -0
- package/package.json +10 -6
- package/src/__lib__/LegendCubeCommand.ts +5 -0
- package/src/__lib__/LegendCubeDataProductLabels.ts +91 -0
- package/src/__lib__/LegendCubeDirectConnectionLabels.ts +111 -0
- package/src/__lib__/LegendCubeHelpText.ts +25 -1
- package/src/__lib__/LegendCubeIngestLabels.ts +40 -0
- package/src/__lib__/LegendCubeLabels.ts +162 -4
- package/src/__lib__/LegendCubeProjectLabels.ts +25 -0
- package/src/__lib__/LegendCubeTesting.ts +1 -0
- package/src/__test-utils__/CubeCanvasTestUtils.ts +1 -1
- package/src/__test-utils__/CubeConnectionTestSupport.ts +45 -0
- package/src/__test-utils__/CubeDirectConnectionFixtures.ts +70 -0
- package/src/__test-utils__/CubeEngineTestSupport.ts +38 -0
- package/src/__test-utils__/CubeExpressionTestUtils.ts +119 -0
- package/src/__test-utils__/CubeOperationsTestUtils.ts +93 -18
- package/src/__test-utils__/CubePageTestUtils.tsx +35 -0
- package/src/__test-utils__/CubeTestApplication.ts +21 -2
- package/src/__test-utils__/FakeCubeConnectionExplorer.ts +111 -0
- package/src/__test-utils__/FakeCubeDataProductCatalog.ts +227 -0
- package/src/__test-utils__/FakeCubeEngine.ts +25 -1
- package/src/__test-utils__/FakeCubeIngestCatalog.ts +180 -0
- package/src/__test-utils__/FakeCubeProjectCatalog.ts +89 -0
- package/src/components/CubeAddItems.tsx +179 -0
- package/src/components/CubeEditor.tsx +73 -44
- package/src/components/CubeEntrySourceBanner.tsx +64 -0
- package/src/components/CubeNodeIcon.tsx +13 -0
- package/src/components/CubeSchemaColumnsTable.tsx +49 -0
- package/src/components/canvas/CubeCanvas.tsx +49 -14
- package/src/components/canvas/CubeCanvasContextMenu.tsx +31 -30
- package/src/components/canvas/CubeCanvasDnd.ts +16 -9
- package/src/components/canvas/CubeCanvasElements.ts +8 -2
- package/src/components/canvas/CubeCanvasNode.tsx +61 -43
- package/src/components/canvas/CubeCanvasNodeFocus.ts +37 -0
- package/src/components/canvas/CubeNodeEditorAnchor.ts +82 -0
- package/src/components/editors/CubeAggregationRowEditor.tsx +224 -0
- package/src/components/editors/CubeColumnChecklist.tsx +130 -0
- package/src/components/editors/CubeConcatEditor.tsx +374 -0
- package/src/components/editors/CubeDataProductSourceEditor.tsx +134 -0
- package/src/components/editors/CubeDifferenceEditor.tsx +87 -0
- package/src/components/editors/CubeExtendEditor.tsx +271 -0
- package/src/components/editors/CubeFilterEditor.tsx +7 -0
- package/src/components/editors/CubeGroupEditor.tsx +135 -0
- package/src/components/editors/CubeIngestSourceEditor.tsx +104 -0
- package/src/components/editors/CubeJoinEditor.tsx +12 -132
- package/src/components/editors/CubeJoinKeyRows.tsx +183 -0
- package/src/components/editors/CubeNodeEditorPanel.tsx +91 -28
- package/src/components/editors/CubeNodeEditorPopper.tsx +183 -0
- package/src/components/editors/CubeNodeEditorRegistry.ts +21 -0
- package/src/components/editors/CubePartitionEditor.tsx +208 -0
- package/src/components/editors/CubeRenameEditor.tsx +10 -5
- package/src/components/editors/CubeRestrictEditor.tsx +1 -1
- package/src/components/editors/CubeSortEditor.tsx +20 -142
- package/src/components/editors/CubeSortRowEditor.tsx +176 -0
- package/src/components/editors/CubeSourceEditor.tsx +42 -30
- package/src/components/editors/CubeWarehouseControl.tsx +113 -0
- package/src/components/editors/useCubeNodeEditorDismiss.ts +103 -0
- package/src/components/examples/CubeExamplesDialog.tsx +199 -0
- package/src/components/grid/CubeGridRegion.tsx +48 -10
- package/src/components/grid/CubeGridValues.ts +55 -0
- package/src/components/grid/CubeResultGrid.tsx +24 -8
- package/src/components/palette/CubePalette.tsx +33 -15
- package/src/components/source-picker/CubeDataProductTab.tsx +392 -0
- package/src/components/source-picker/CubeDirectConnectionTab.tsx +340 -0
- package/src/components/source-picker/CubeIngestTab.tsx +232 -0
- package/src/components/source-picker/CubeInlineModelTab.tsx +191 -0
- package/src/components/source-picker/CubePickerStep.tsx +49 -0
- package/src/components/source-picker/CubeProjectTab.tsx +114 -0
- package/src/components/source-picker/CubeSourcePicker.tsx +62 -227
- package/src/components/spec-transfer/CubeSpecTransferDialog.tsx +1 -1
- package/src/graph-manager/CubeConnectionExplorer.ts +106 -0
- package/src/graph-manager/CubeDataProduct.ts +150 -0
- package/src/graph-manager/CubeDataProductCatalog.ts +245 -0
- package/src/graph-manager/CubeDirectConnection.ts +67 -0
- package/src/graph-manager/CubeEngine.ts +43 -1
- package/src/graph-manager/CubeIngest.ts +144 -0
- package/src/graph-manager/CubeIngestCatalog.ts +169 -0
- package/src/graph-manager/CubeLakehouseEnvironment.ts +27 -0
- package/src/graph-manager/CubeProject.ts +117 -0
- package/src/graph-manager/CubeProjectCatalog.ts +40 -0
- package/src/graph-manager/protocol/pure/CubeEngineBuilder.ts +145 -1
- package/src/graph-manager/protocol/pure/v1/V1_CubeDataProductArtifact.ts +251 -0
- package/src/graph-manager/protocol/pure/v1/V1_CubeDataProductModel.ts +101 -0
- package/src/graph-manager/protocol/pure/v1/V1_CubeDirectConnection.ts +339 -0
- package/src/graph-manager/protocol/pure/v1/V1_CubeDirectModel.ts +151 -0
- package/src/graph-manager/protocol/pure/v1/V1_CubeEngineErrors.ts +45 -4
- package/src/graph-manager/protocol/pure/v1/V1_CubeExpression.ts +89 -0
- package/src/graph-manager/protocol/pure/v1/V1_CubeIngestDefinition.ts +201 -0
- package/src/graph-manager/protocol/pure/v1/V1_CubeIngestModel.ts +183 -0
- package/src/graph-manager/protocol/pure/v1/V1_CubeLakehouseEnvironmentResolver.ts +141 -0
- package/src/graph-manager/protocol/pure/v1/V1_CubeLambdaSerializer.ts +84 -4
- package/src/graph-manager/protocol/pure/v1/V1_CubeSchemaExploration.ts +361 -0
- package/src/graph-manager/protocol/pure/v1/V1_LegendCubeConnectionExplorer.ts +116 -0
- package/src/graph-manager/protocol/pure/v1/V1_LegendCubeDataProductCatalog.ts +744 -0
- package/src/graph-manager/protocol/pure/v1/V1_LegendCubeEngine.ts +967 -24
- package/src/graph-manager/protocol/pure/v1/V1_LegendCubeIngestCatalog.ts +459 -0
- package/src/graph-manager/protocol/pure/v1/V1_LegendCubeProjectCatalog.ts +147 -0
- package/src/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeConnectionExplorerTestUtils.ts +61 -0
- package/src/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeDataProductFixtures.ts +337 -0
- package/src/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeDataProductSearchFixtures.ts +206 -0
- package/src/graph-manager/protocol/pure/v1/__test-utils__/V1_CubeEngineTestUtils.ts +42 -1
- package/src/index.ts +20 -0
- package/src/stores/CubeAddPlacement.ts +67 -0
- package/src/stores/CubeDataProductRecheck.ts +93 -0
- package/src/stores/CubeDataProductRuntimeState.ts +256 -0
- package/src/stores/CubeDataProductWarehouse.ts +40 -0
- package/src/stores/CubeEditorState.ts +511 -63
- package/src/stores/CubeEntrySource.ts +278 -0
- package/src/stores/CubeExamples.ts +457 -0
- package/src/stores/CubeExamplesState.ts +108 -0
- package/src/stores/CubeExecutionState.ts +24 -5
- package/src/stores/CubeExtendTyping.ts +291 -0
- package/src/stores/CubeGridQuickActions.ts +69 -14
- package/src/stores/CubeHost.ts +71 -1
- package/src/stores/CubeIngestRecheck.ts +92 -0
- package/src/stores/CubeNodeEditorState.ts +278 -9
- package/src/stores/CubeShowPureState.ts +7 -4
- package/src/stores/CubeSourcePickerState.ts +160 -330
- package/src/stores/CubeSpecTransferState.ts +2 -2
- package/src/stores/LocalModelCatalog.ts +22 -3
- package/src/stores/editors/CubeAggregationRows.ts +299 -0
- package/src/stores/editors/CubeConcatDraft.ts +49 -0
- package/src/stores/editors/CubeDifferenceDraft.ts +147 -0
- package/src/stores/editors/CubeExtendDraft.ts +532 -0
- package/src/stores/editors/CubeGroupDraft.ts +145 -0
- package/src/stores/editors/CubeJoinDraft.ts +130 -41
- package/src/stores/editors/CubeJoinKeyPairs.ts +68 -0
- package/src/stores/editors/CubeNodeDraft.ts +26 -6
- package/src/stores/editors/CubeNodeDraftRegistry.ts +25 -0
- package/src/stores/editors/CubePartitionDraft.ts +214 -0
- package/src/stores/editors/CubeSortDraft.ts +17 -54
- package/src/stores/editors/CubeSortRows.ts +84 -0
- package/src/stores/fixtures/CubeNorthwindModel.ts +103 -88
- package/src/stores/fixtures/CubeSampleSql.ts +85 -0
- package/src/stores/fixtures/CubeSportsModel.ts +182 -0
- package/src/stores/fixtures/CubeTradesModel.ts +241 -0
- package/src/stores/source-picker/CubeCsvSetupSql.ts +444 -0
- package/src/stores/source-picker/CubeDataProductTabState.ts +839 -0
- package/src/stores/source-picker/CubeDirectConnectionTabState.ts +647 -0
- package/src/stores/source-picker/CubeIngestTabState.ts +551 -0
- package/src/stores/source-picker/CubeInlineModelTabState.ts +448 -0
- package/src/stores/source-picker/CubeProjectTabState.ts +218 -0
- package/src/stores/source-picker/CubeSourcePickerTab.ts +50 -0
- package/tsconfig.json +89 -0
|
@@ -23,18 +23,19 @@ import { UNDO_SHORTCUT_LABEL } from '../__lib__/LegendCubeCommand.js';
|
|
|
23
23
|
import { CUBE_PENDING_LABEL, formatDisabledReasons, READ_ONLY_CUBE_TITLE, UNSAVED_CUBE_NAME, } from '../__lib__/LegendCubeLabels.js';
|
|
24
24
|
import { LEGEND_CUBE_TEST_ID } from '../__lib__/LegendCubeTesting.js';
|
|
25
25
|
import { CubeEditorState } from '../stores/CubeEditorState.js';
|
|
26
|
+
import { CubeEntrySourceState, } from '../stores/CubeEntrySource.js';
|
|
27
|
+
import { CubeAddItemsMenu } from './CubeAddItems.js';
|
|
26
28
|
import { CubeButton } from './CubeButton.js';
|
|
27
29
|
import { CubeCanvas } from './canvas/CubeCanvas.js';
|
|
28
|
-
import {
|
|
30
|
+
import { CubeEntrySourceBanner } from './CubeEntrySourceBanner.js';
|
|
29
31
|
import { CubeGridRegion } from './grid/CubeGridRegion.js';
|
|
30
32
|
import { CubePalette } from './palette/CubePalette.js';
|
|
31
33
|
import { CubeShowPureDialog } from './show-pure/CubeShowPureDialog.js';
|
|
34
|
+
import { CubeExamplesDialog } from './examples/CubeExamplesDialog.js';
|
|
32
35
|
import { CubeSourcePicker } from './source-picker/CubeSourcePicker.js';
|
|
33
36
|
import { CubeSpecTransferDialog } from './spec-transfer/CubeSpecTransferDialog.js';
|
|
34
37
|
/** The graph never takes more of the window's height than this, so the results stay in view (spec §17.3) */
|
|
35
38
|
const MAX_GRAPH_SHARE_OF_WINDOW = 0.6;
|
|
36
|
-
/** How wide the node editor opens, in pixels */
|
|
37
|
-
const NODE_EDITOR_WIDTH = 400;
|
|
38
39
|
/** The tallest the graph region may be, following the window's height */
|
|
39
40
|
const useMaxGraphHeight = () => {
|
|
40
41
|
const [windowHeight, setWindowHeight] = useState(() => window.innerHeight);
|
|
@@ -54,37 +55,56 @@ const CubeGraphHeader = observer((props) => {
|
|
|
54
55
|
const { editorState } = props;
|
|
55
56
|
const { readOnly } = editorState;
|
|
56
57
|
const { showGraph } = editorState.document.meta.presentation;
|
|
57
|
-
return (_jsxs("div", { className: "flex shrink-0 flex-col bg-[var(--color-bg-panel)]", "data-testid": LEGEND_CUBE_TEST_ID.GRAPH_REGION, children: [_jsxs("div", { className: "flex min-h-8 shrink-0 flex-wrap items-center gap-2 border-b border-[var(--color-border-default)] bg-[var(--color-bg-panel-header)] px-2 py-1", children: [_jsx("span", { className: "min-w-24 flex-1 truncate text-lg font-medium", children: editorState.document.name ?? UNSAVED_CUBE_NAME }), editorState.isResolvingSources && (_jsx("span", { className: "shrink-0 text-base text-[var(--color-text-secondary)]", children: CUBE_PENDING_LABEL.RESOLVING_SOURCE })), _jsx(
|
|
58
|
+
return (_jsxs("div", { className: "flex shrink-0 flex-col bg-[var(--color-bg-panel)]", "data-testid": LEGEND_CUBE_TEST_ID.GRAPH_REGION, children: [_jsxs("div", { className: "flex min-h-8 shrink-0 flex-wrap items-center gap-2 border-b border-[var(--color-border-default)] bg-[var(--color-bg-panel-header)] px-2 py-1", children: [_jsx("span", { className: "min-w-24 flex-1 truncate text-lg font-medium", children: editorState.document.name ?? UNSAVED_CUBE_NAME }), editorState.isResolvingSources && (_jsx("span", { className: "shrink-0 text-base text-[var(--color-text-secondary)]", children: CUBE_PENDING_LABEL.RESOLVING_SOURCE })), editorState.isTypingExtends && (_jsx("span", { className: "shrink-0 text-base text-[var(--color-text-secondary)]", children: CUBE_PENDING_LABEL.TYPING_COLUMNS })), _jsx(CubeAddItemsMenu, { editorState: editorState }), _jsx(CubeButton, { title: "Open an example cube, or start one on sample data", onClick: () => editorState.examples.open(), children: "Examples" }), _jsx(CubeButton, { title: readOnly
|
|
58
59
|
? READ_ONLY_CUBE_TITLE
|
|
59
|
-
: `Undo the last change (${UNDO_SHORTCUT_LABEL})`, disabled: !editorState.canUndo, onClick: () => editorState.
|
|
60
|
+
: `Undo the last change (${UNDO_SHORTCUT_LABEL})`, disabled: !editorState.canUndo && !editorState.hasEditsToApply, onClick: () => editorState.undoEdited(), children: "Undo" }), _jsx(CubeButton, { title: editorState.execution.canExecute
|
|
60
61
|
? 'Show the Pure query that Execute runs'
|
|
61
62
|
: formatDisabledReasons(editorState.execution.disabledReasons), disabled: !editorState.execution.canExecute, onClick: () => {
|
|
63
|
+
// what it shows includes the node editor's edits, as Execute runs them
|
|
64
|
+
if (!editorState.nodeEditor.finishApplied()) {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
62
67
|
flowResult(editorState.showPure.open()).catch(editorState.host.applicationStore.alertUnhandledError);
|
|
63
68
|
}, children: "Show Pure" }), _jsx(CubeButton, { title: readOnly
|
|
64
69
|
? READ_ONLY_CUBE_TITLE
|
|
65
|
-
: "Show the cube's spec, to copy or download", disabled: readOnly, onClick: () =>
|
|
70
|
+
: "Show the cube's spec, to copy or download", disabled: readOnly, onClick: () => {
|
|
71
|
+
if (editorState.nodeEditor.finishApplied()) {
|
|
72
|
+
editorState.specTransfer.openExport();
|
|
73
|
+
}
|
|
74
|
+
}, children: "Export" }), _jsx(CubeButton, { title: "Open a cube from its spec, in place of this one", onClick: () => editorState.specTransfer.openImport(), children: "Import" }), _jsx(CubeButton, { title: showGraph
|
|
66
75
|
? 'Hide the graph, leaving more room for the results'
|
|
67
|
-
: 'Show the graph', onClick: () =>
|
|
76
|
+
: 'Show the graph', onClick: () => {
|
|
77
|
+
// the floating editor goes with the graph, applying its edits
|
|
78
|
+
if (!showGraph || editorState.nodeEditor.finish()) {
|
|
79
|
+
editorState.setShowGraph(!showGraph);
|
|
80
|
+
}
|
|
81
|
+
}, children: showGraph ? 'Hide graph' : 'Show graph' })] }), _jsx(PanelLoadingIndicator, { isLoading: editorState.isResolvingSources || editorState.isTypingExtends }), readOnly && (_jsxs("div", { className: "shrink-0 border-b border-[var(--color-border-default)] bg-[var(--color-status-warn-bg)] px-2 py-1 text-base text-[var(--color-status-warn)]", role: "status", children: [READ_ONLY_CUBE_TITLE, ". You can view and run it."] })), editorState.nodeEditor.notice && (_jsxs("div", { className: "flex shrink-0 items-center gap-2 border-b border-[var(--color-border-default)] bg-[var(--color-status-warn-bg)] px-2 py-1 text-base text-[var(--color-status-warn)]", role: "status", "data-testid": LEGEND_CUBE_TEST_ID.EDITOR_NOTICE, children: [_jsx("span", { className: "min-w-0 flex-1", children: editorState.nodeEditor.notice }), _jsx(CubeButton, { onClick: () => editorState.nodeEditor.dismissNotice(), children: "Dismiss" })] })), _jsx(CubeSourcePicker, { editorState: editorState }), _jsx(CubeExamplesDialog, { editorState: editorState }), _jsx(CubeSpecTransferDialog, { editorState: editorState }), _jsx(CubeShowPureDialog, { editorState: editorState })] }));
|
|
68
82
|
});
|
|
69
83
|
/**
|
|
70
84
|
* The Legend Cube page: the query above, its results below, both always
|
|
71
|
-
* shown (PLAN §7.1); hiding the graph leaves its header.
|
|
85
|
+
* shown (PLAN §7.1); hiding the graph leaves its header. A node's editor
|
|
86
|
+
* floats below the node (PLAN §11.8). The host gives it
|
|
72
87
|
* the engine, the models and the application store; the page's state lives
|
|
73
88
|
* as long as the page.
|
|
74
89
|
*/
|
|
75
90
|
export const CubeEditor = observer((props) => {
|
|
76
91
|
const [editorState] = useState(() => new CubeEditorState(props.host, props.initialDocument));
|
|
77
92
|
useEffect(() => () => editorState.dispose(), [editorState]);
|
|
93
|
+
const [entry] = useState(() => new CubeEntrySourceState(editorState));
|
|
94
|
+
const { initialSource } = props;
|
|
95
|
+
useEffect(() => {
|
|
96
|
+
if (initialSource) {
|
|
97
|
+
flowResult(entry.open(initialSource)).catch(editorState.host.applicationStore.alertUnhandledError);
|
|
98
|
+
}
|
|
99
|
+
// only as the page opens
|
|
100
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
101
|
+
}, []);
|
|
78
102
|
useCommands(editorState);
|
|
79
103
|
const maxGraphHeight = useMaxGraphHeight();
|
|
80
|
-
const isEditorOpen = editorState.nodeEditor.nodeId !== undefined;
|
|
81
|
-
const editorPanel = getCollapsiblePanelGroupProps(!isEditorOpen, {
|
|
82
|
-
size: NODE_EDITOR_WIDTH,
|
|
83
|
-
});
|
|
84
104
|
const { showGraph } = editorState.document.meta.presentation;
|
|
85
105
|
// hiding the graph collapses its panel: the header and the results stay
|
|
86
106
|
// where they are, so the grid keeps its state
|
|
87
107
|
const graphPanel = getCollapsiblePanelGroupProps(!showGraph);
|
|
88
|
-
return (_jsxs("div", { className: "legend-cube flex bg-[var(--color-bg-app)] text-[var(--color-text-primary)]", "data-testid": LEGEND_CUBE_TEST_ID.EDITOR, children: [_jsx(CubePalette, { editorState: editorState }), _jsxs(
|
|
108
|
+
return (_jsxs("div", { className: "legend-cube flex bg-[var(--color-bg-app)] text-[var(--color-text-primary)]", "data-testid": LEGEND_CUBE_TEST_ID.EDITOR, children: [_jsx(CubePalette, { editorState: editorState }), _jsxs("div", { className: "flex h-full min-w-0 flex-1 flex-col", children: [_jsx(CubeGraphHeader, { editorState: editorState }), _jsx(CubeEntrySourceBanner, { entry: entry }), _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { ...graphPanel.collapsiblePanel, minSize: showGraph ? 96 : 0, maxSize: maxGraphHeight, children: showGraph && _jsx(CubeCanvas, { editorState: editorState }) }), _jsx(ResizablePanelSplitter, { className: showGraph ? '' : 'hidden' }), _jsx(ResizablePanel, { ...graphPanel.remainingPanel, minSize: 96, children: _jsx(CubeGridRegion, { editorState: editorState }) })] })] })] }));
|
|
89
109
|
});
|
|
90
110
|
//# sourceMappingURL=CubeEditor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CubeEditor.js","sourceRoot":"","sources":["../../src/components/CubeEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,6BAA6B,EAC7B,qBAAqB,EACrB,cAAc,EACd,mBAAmB,EACnB,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAExD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,oBAAoB,EACpB,iBAAiB,GAClB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;
|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C,WAAW,EAAE,WAAW,GAAI,EACzC,eAAK,SAAS,EAAC,qCAAqC,aAClD,KAAC,eAAe,IAAC,WAAW,EAAE,WAAW,GAAI,EAC7C,KAAC,qBAAqB,IAAC,KAAK,EAAE,KAAK,GAAI,EACvC,MAAC,mBAAmB,IAAC,WAAW,EAAC,YAAY,aAC3C,KAAC,cAAc,OACT,UAAU,CAAC,gBAAgB,EAC/B,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EAC3B,OAAO,EAAE,cAAc,YAEtB,SAAS,IAAI,KAAC,UAAU,IAAC,WAAW,EAAE,WAAW,GAAI,GACvC,EACjB,KAAC,sBAAsB,IAAC,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,GAAI,EAChE,KAAC,cAAc,OAAK,UAAU,CAAC,cAAc,EAAE,OAAO,EAAE,EAAE,YACxD,KAAC,cAAc,IAAC,WAAW,EAAE,WAAW,GAAI,GAC7B,IACG,IAClB,IACF,CACP,CAAC;AACJ,CAAC,CACF,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
|
+
import { type CubeEntrySourceState } from '../stores/CubeEntrySource.js';
|
|
17
|
+
/** Why the source a link named couldn't be added, in the graph region (spec §17.13, U9(b)) */
|
|
18
|
+
export declare const CubeEntrySourceBanner: ((props: {
|
|
19
|
+
entry: CubeEntrySourceState;
|
|
20
|
+
}) => import("react/jsx-runtime").JSX.Element | null) & {
|
|
21
|
+
displayName: string;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=CubeEntrySourceBanner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CubeEntrySourceBanner.d.ts","sourceRoot":"","sources":["../../src/components/CubeEntrySourceBanner.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAEL,KAAK,oBAAoB,EAC1B,MAAM,8BAA8B,CAAC;AAGtC,8FAA8F;AAC9F,eAAO,MAAM,qBAAqB,WACxB;IAAE,KAAK,EAAE,oBAAoB,CAAA;CAAE;;CAqCxC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) 2026-present, Goldman Sachs
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { observer } from 'mobx-react-lite';
|
|
18
|
+
import { LEGEND_CUBE_TEST_ID } from '../__lib__/LegendCubeTesting.js';
|
|
19
|
+
import { CUBE_ENTRY_SOURCE_ERROR_TITLE, } from '../stores/CubeEntrySource.js';
|
|
20
|
+
import { CubeButton } from './CubeButton.js';
|
|
21
|
+
/** Why the source a link named couldn't be added, in the graph region (spec §17.13, U9(b)) */
|
|
22
|
+
export const CubeEntrySourceBanner = observer((props) => {
|
|
23
|
+
const { entry } = props;
|
|
24
|
+
if (entry.isOpening) {
|
|
25
|
+
return (_jsx("div", { className: "shrink-0 border-b border-[var(--color-border-default)] px-2 py-1 text-base text-[var(--color-text-secondary)]", role: "status", children: "Opening the linked source\u2026" }));
|
|
26
|
+
}
|
|
27
|
+
if (entry.error === undefined) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return (_jsxs("div", { className: "flex shrink-0 items-start gap-2 border-b border-[var(--color-border-default)] bg-[var(--color-status-error-bg)] px-2 py-1 text-base text-[var(--color-status-error)]", role: "alert", "data-testid": LEGEND_CUBE_TEST_ID.ENTRY_SOURCE_ERROR, children: [_jsxs("span", { className: "min-w-0 flex-1 break-words", children: [_jsx("span", { className: "font-medium", children: CUBE_ENTRY_SOURCE_ERROR_TITLE }), ' ', entry.error.message, entry.error.detail !== undefined && (_jsxs("details", { children: [_jsx("summary", { className: "cursor-pointer", children: "Details" }), _jsx("pre", { className: "whitespace-pre-wrap text-sm", children: entry.error.detail })] }))] }), _jsx(CubeButton, { onClick: () => entry.dismissError(), children: "Dismiss" })] }));
|
|
31
|
+
});
|
|
32
|
+
//# sourceMappingURL=CubeEntrySourceBanner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CubeEntrySourceBanner.js","sourceRoot":"","sources":["../../src/components/CubeEntrySourceBanner.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EACL,6BAA6B,GAE9B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,8FAA8F;AAC9F,MAAM,CAAC,MAAM,qBAAqB,GAAG,QAAQ,CAC3C,CAAC,KAAsC,EAAE,EAAE;IACzC,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IACxB,IAAI,KAAK,CAAC,SAAS,EAAE,CAAC;QACpB,OAAO,CACL,cACE,SAAS,EAAC,+GAA+G,EACzH,IAAI,EAAC,QAAQ,gDAGT,CACP,CAAC;IACJ,CAAC;IACD,IAAI,KAAK,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;QAC9B,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,CACL,eACE,SAAS,EAAC,sKAAsK,EAChL,IAAI,EAAC,OAAO,iBACC,mBAAmB,CAAC,kBAAkB,aAEnD,gBAAM,SAAS,EAAC,4BAA4B,aAC1C,eAAM,SAAS,EAAC,aAAa,YAAE,6BAA6B,GAAQ,EAAC,GAAG,EACvE,KAAK,CAAC,KAAK,CAAC,OAAO,EACnB,KAAK,CAAC,KAAK,CAAC,MAAM,KAAK,SAAS,IAAI,CACnC,8BACE,kBAAS,SAAS,EAAC,gBAAgB,wBAAkB,EACrD,cAAK,SAAS,EAAC,6BAA6B,YACzC,KAAK,CAAC,KAAK,CAAC,MAAM,GACf,IACE,CACX,IACI,EACP,KAAC,UAAU,IAAC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,YAAY,EAAE,wBAAsB,IACjE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CubeNodeIcon.d.ts","sourceRoot":"","sources":["../../src/components/CubeNodeIcon.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"CubeNodeIcon.d.ts","sourceRoot":"","sources":["../../src/components/CubeNodeIcon.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA8CH,2FAA2F;AAC3F,eAAO,MAAM,eAAe,GAAI,MAAM,MAAM,KAAG,OACd,CAAC;AAElC,oFAAoF;AACpF,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;IAClC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAQA,CAAC"}
|
|
@@ -14,17 +14,24 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { AlignBottomIcon, AlignMiddleIcon, AlignTopIcon, ArrowsJoinIcon, CompressIcon, DataCubeIcon, clsx, FilterIcon, PencilIcon, QuestionSquareIcon, SortIcon, TableIcon, } from '@finos/legend-art';
|
|
17
|
+
import { AlignBottomIcon, AlignMiddleIcon, AlignTopIcon, ArrowsJoinIcon, CalculatorIcon, CompareIcon, CompressIcon, DataCubeIcon, DatabaseImportIcon, clsx, FilterIcon, LayerGroupIcon, PackageIcon, PencilIcon, QuestionSquareIcon, SigmaIcon, SortIcon, TableIcon, } from '@finos/legend-art';
|
|
18
18
|
/** The icon of each icon name a node definition gives (`NodeDefinition.icon`) */
|
|
19
19
|
const NODE_ICONS = {
|
|
20
20
|
table: TableIcon,
|
|
21
|
+
dataProduct: PackageIcon,
|
|
22
|
+
ingest: DatabaseImportIcon,
|
|
21
23
|
filter: FilterIcon,
|
|
22
24
|
join: ArrowsJoinIcon,
|
|
25
|
+
concat: LayerGroupIcon,
|
|
26
|
+
difference: CompareIcon,
|
|
27
|
+
extend: CalculatorIcon,
|
|
23
28
|
limit: AlignTopIcon,
|
|
24
29
|
drop: AlignBottomIcon,
|
|
25
30
|
slice: AlignMiddleIcon,
|
|
26
31
|
distinct: CompressIcon,
|
|
27
32
|
restrict: DataCubeIcon.TableColumns,
|
|
33
|
+
group: DataCubeIcon.TableGroupBy,
|
|
34
|
+
partition: SigmaIcon,
|
|
28
35
|
rename: PencilIcon,
|
|
29
36
|
sort: SortIcon,
|
|
30
37
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CubeNodeIcon.js","sourceRoot":"","sources":["../../src/components/CubeNodeIcon.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,eAAe,EACf,eAAe,EACf,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,IAAI,EACJ,UAAU,EACV,UAAU,EACV,kBAAkB,EAClB,QAAQ,EACR,SAAS,GACV,MAAM,mBAAmB,CAAC;AAE3B,iFAAiF;AACjF,MAAM,UAAU,GAEZ;IACF,KAAK,EAAE,SAAS;IAChB,MAAM,EAAE,UAAU;IAClB,IAAI,EAAE,cAAc;IACpB,KAAK,EAAE,YAAY;IACnB,IAAI,EAAE,eAAe;IACrB,KAAK,EAAE,eAAe;IACtB,QAAQ,EAAE,YAAY;IACtB,QAAQ,EAAE,YAAY,CAAC,YAAY;IACnC,MAAM,EAAE,UAAU;IAClB,IAAI,EAAE,QAAQ;CACf,CAAC;AAEF,2FAA2F;AAC3F,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,IAAY,EAAW,EAAE,CACvD,MAAM,CAAC,MAAM,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;AAElC,oFAAoF;AACpF,MAAM,CAAC,MAAM,YAAY,GAGpB,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,KAAK,CAAC;IAClC,wEAAwE;IACxE,MAAM,IAAI,GACR,IAAI,KAAK,SAAS,IAAI,eAAe,CAAC,IAAI,CAAC;QACzC,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,kBAAkB,CAAC;QAC1C,CAAC,CAAC,kBAAkB,CAAC;IACzB,OAAO,KAAC,IAAI,IAAC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,GAAI,CAAC;AAC9C,CAA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AC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,kBAAkB,CAAC;QAC1C,CAAC,CAAC,kBAAkB,CAAC;IACzB,OAAO,KAAC,IAAI,IAAC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,GAAI,CAAC;AAC9C,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 type { Schema } from '@finos/legend-cube';
|
|
17
|
+
/** A source's columns, with their precise types and whether they can be empty */
|
|
18
|
+
export declare const CubeSchemaColumnsTable: React.FC<{
|
|
19
|
+
schema: Schema;
|
|
20
|
+
}>;
|
|
21
|
+
//# sourceMappingURL=CubeSchemaColumnsTable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CubeSchemaColumnsTable.d.ts","sourceRoot":"","sources":["../../src/components/CubeSchemaColumnsTable.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAIjD,iFAAiF;AACjF,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CA2B/D,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { getColumnTypeLabel } from '../__lib__/LegendCubeLabels.js';
|
|
3
|
+
import { CubeColumnTypeIcon } from './editors/CubeColumnPicker.js';
|
|
4
|
+
/** A source's columns, with their precise types and whether they can be empty */
|
|
5
|
+
export const CubeSchemaColumnsTable = ({ schema, }) => (_jsxs("table", { className: "w-full text-base", "aria-label": "Columns", children: [_jsx("thead", { children: _jsxs("tr", { className: "text-left text-[var(--color-text-secondary)]", children: [_jsx("th", { className: "font-normal", children: "Column" }), _jsx("th", { className: "font-normal", children: "Type" })] }) }), _jsx("tbody", { children: schema.columns.map((column) => (_jsxs("tr", { children: [_jsx("td", { className: "break-all pr-2", children: column.name }), _jsx("td", { title: column.type.fullName, children: _jsxs("span", { className: "flex items-center gap-1", children: [_jsx(CubeColumnTypeIcon, { type: column.type, className: "text-[var(--color-text-secondary)]" }), getColumnTypeLabel(column)] }) })] }, column.name))) })] }));
|
|
6
|
+
//# sourceMappingURL=CubeSchemaColumnsTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CubeSchemaColumnsTable.js","sourceRoot":"","sources":["../../src/components/CubeSchemaColumnsTable.tsx"],"names":[],"mappings":";AAiBA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,iFAAiF;AACjF,MAAM,CAAC,MAAM,sBAAsB,GAAiC,CAAC,EACnE,MAAM,GACP,EAAE,EAAE,CAAC,CACJ,iBAAO,SAAS,EAAC,kBAAkB,gBAAY,SAAS,aACtD,0BACE,cAAI,SAAS,EAAC,8CAA8C,aAC1D,aAAI,SAAS,EAAC,aAAa,uBAAY,EACvC,aAAI,SAAS,EAAC,aAAa,qBAAU,IAClC,GACC,EACR,0BACG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAC9B,yBACE,aAAI,SAAS,EAAC,gBAAgB,YAAE,MAAM,CAAC,IAAI,GAAM,EACjD,aAAI,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,YAC7B,gBAAM,SAAS,EAAC,yBAAyB,aACvC,KAAC,kBAAkB,IACjB,IAAI,EAAE,MAAM,CAAC,IAAI,EACjB,SAAS,EAAC,oCAAoC,GAC9C,EACD,kBAAkB,CAAC,MAAM,CAAC,IACtB,GACJ,KAVE,MAAM,CAAC,IAAI,CAWf,CACN,CAAC,GACI,IACF,CACT,CAAC"}
|
|
@@ -25,9 +25,10 @@ export declare const isCubeCanvasConnectionValid: (query: Query, connection: Flo
|
|
|
25
25
|
/**
|
|
26
26
|
* The query as a graph, laid out left to right (spec §17.3). Click a node to
|
|
27
27
|
* edit it, Ctrl or Cmd-click it to run the query up to it, drag from a node's
|
|
28
|
-
* output to another node's input to connect them. A
|
|
29
|
-
* around the nodes
|
|
30
|
-
*
|
|
28
|
+
* output to another node's input to connect them. A transform dropped
|
|
29
|
+
* around the nodes goes after the selected node; a source, dropped anywhere,
|
|
30
|
+
* opens the source dialog on its tab (PLAN §11.8). Right-click it, or a
|
|
31
|
+
* node, for the context menu.
|
|
31
32
|
*/
|
|
32
33
|
export declare const CubeCanvas: ((props: {
|
|
33
34
|
editorState: CubeEditorState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CubeCanvas.d.ts","sourceRoot":"","sources":["../../../src/components/canvas/CubeCanvas.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAEL,KAAK,UAAU,IAAI,cAAc,EAEjC,KAAK,IAAI,EAOV,MAAM,eAAe,CAAC;AAGvB,OAAO,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"CubeCanvas.d.ts","sourceRoot":"","sources":["../../../src/components/canvas/CubeCanvas.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAEL,KAAK,UAAU,IAAI,cAAc,EAEjC,KAAK,IAAI,EAOV,MAAM,eAAe,CAAC;AAGvB,OAAO,8BAA8B,CAAC;AAMtC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AA8BvE;;;GAGG;AACH,eAAO,MAAM,2BAA2B,GACtC,OAAO,KAAK,EACZ,YAAY,cAAc,GAAG,IAAI,KAChC,OAOA,CAAC;AAyIJ;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,WACb;IAAE,WAAW,EAAE,eAAe,CAAA;CAAE;;CAmEzC,CAAC"}
|
|
@@ -24,6 +24,7 @@ import { observer } from 'mobx-react-lite';
|
|
|
24
24
|
import { useEffect, useMemo, useRef } from 'react';
|
|
25
25
|
import { useDrop } from 'react-dnd';
|
|
26
26
|
import { LEGEND_CUBE_TEST_ID } from '../../__lib__/LegendCubeTesting.js';
|
|
27
|
+
import { canAddCubeNode } from '../../stores/CubeAddPlacement.js';
|
|
27
28
|
import { buildCubeCanvasEdges, buildCubeCanvasNodes, CUBE_CANVAS_EDGE_TYPE, CUBE_CANVAS_NODE_TYPE, CUBE_OUTPUT_HANDLE_ID, } from './CubeCanvasElements.js';
|
|
28
29
|
import { CubeCanvasContext } from './CubeCanvasContext.js';
|
|
29
30
|
import { CubeCanvasContextMenu } from './CubeCanvasContextMenu.js';
|
|
@@ -31,6 +32,7 @@ import { CUBE_DND_TYPE, dropOnCubeCanvas, } from './CubeCanvasDnd.js';
|
|
|
31
32
|
import { CubeCanvasEdge } from './CubeCanvasEdge.js';
|
|
32
33
|
import { layoutCubeQuery } from './CubeCanvasLayout.js';
|
|
33
34
|
import { CubeCanvasNode } from './CubeCanvasNode.js';
|
|
35
|
+
import { CubeNodeEditorPopper } from '../editors/CubeNodeEditorPopper.js';
|
|
34
36
|
// React Flow re-renders every node when these change identity
|
|
35
37
|
const NODE_TYPES = { [CUBE_CANVAS_NODE_TYPE]: CubeCanvasNode };
|
|
36
38
|
const EDGE_TYPES = { [CUBE_CANVAS_EDGE_TYPE]: CubeCanvasEdge };
|
|
@@ -54,9 +56,8 @@ const CubeCanvasFlow = observer((props) => {
|
|
|
54
56
|
const nodes = useMemo(() => buildCubeCanvasNodes(query, positions), [query, positions]);
|
|
55
57
|
const edges = useMemo(() => buildCubeCanvasEdges(query), [query]);
|
|
56
58
|
// the view fits the graph again whenever the layout moves a node, or the
|
|
57
|
-
// canvas changes size (e.g. the
|
|
58
|
-
//
|
|
59
|
-
// it fits only measured ones
|
|
59
|
+
// canvas changes size (e.g. the splitter above the grid moves), once React
|
|
60
|
+
// Flow has measured every node: it fits only measured ones
|
|
60
61
|
const layoutSignature = useMemo(() => JSON.stringify([...positions]), [positions]);
|
|
61
62
|
const nodesInitialized = useNodesInitialized();
|
|
62
63
|
const canvasWidth = useStore((state) => state.width);
|
|
@@ -79,7 +80,10 @@ const CubeCanvasFlow = observer((props) => {
|
|
|
79
80
|
return;
|
|
80
81
|
}
|
|
81
82
|
if (event.ctrlKey || event.metaKey) {
|
|
82
|
-
|
|
83
|
+
// applies and closes the open editor first, opening none (spec §17.5)
|
|
84
|
+
if (editorState.nodeEditor.finish()) {
|
|
85
|
+
editorState.select(flowNode.id);
|
|
86
|
+
}
|
|
83
87
|
}
|
|
84
88
|
else {
|
|
85
89
|
editorState.nodeEditor.open(flowNode.id);
|
|
@@ -100,38 +104,53 @@ const CubeCanvasFlow = observer((props) => {
|
|
|
100
104
|
}
|
|
101
105
|
event.preventDefault();
|
|
102
106
|
if (event.ctrlKey || event.metaKey) {
|
|
103
|
-
editorState.
|
|
107
|
+
if (editorState.nodeEditor.finish()) {
|
|
108
|
+
editorState.select(nodeId);
|
|
109
|
+
}
|
|
104
110
|
}
|
|
105
111
|
else {
|
|
106
112
|
editorState.nodeEditor.open(nodeId);
|
|
113
|
+
// the keyboard goes on in the editor, once it is shown
|
|
114
|
+
window.setTimeout(() => document
|
|
115
|
+
.querySelector(`[data-testid="${LEGEND_CUBE_TEST_ID.NODE_EDITOR}"]`)
|
|
116
|
+
?.focus());
|
|
107
117
|
}
|
|
108
|
-
}, isValidConnection: (connection) => !readOnly && isCubeCanvasConnectionValid(query, connection),
|
|
118
|
+
}, isValidConnection: (connection) => !readOnly && isCubeCanvasConnectionValid(query, connection),
|
|
119
|
+
// a connection changes the query, so the open editor applies first,
|
|
120
|
+
// whether the handles are dragged or clicked
|
|
121
|
+
onConnectStart: () => editorState.nodeEditor.finish(),
|
|
122
|
+
// a click on the canvas's background closes the floating editor; a
|
|
123
|
+
// press there that pans leaves it open
|
|
124
|
+
onPaneClick: () => editorState.nodeEditor.finish(), onClickConnectStart: () => editorState.nodeEditor.finish(), onConnect: (connection) => {
|
|
109
125
|
if (connection.targetHandle) {
|
|
110
126
|
editorState.connect(connection.source, connection.target, connection.targetHandle);
|
|
111
127
|
}
|
|
112
128
|
}, colorMode: editorState.host.applicationStore.layoutService
|
|
113
129
|
.TEMPORARY__isLightColorThemeEnabled
|
|
114
130
|
? 'light'
|
|
115
|
-
: 'dark', proOptions: PRO_OPTIONS, fitView: true, fitViewOptions: FIT_VIEW_OPTIONS, minZoom: 0.2, maxZoom: 1.5, children: [_jsx(Background, {}), _jsx(Controls, { showInteractive: false }), _jsx(MiniMap, { pannable: true, zoomable: true, style: MINI_MAP_STYLE })] }));
|
|
131
|
+
: 'dark', proOptions: PRO_OPTIONS, fitView: true, fitViewOptions: FIT_VIEW_OPTIONS, minZoom: 0.2, maxZoom: 1.5, children: [_jsx(Background, {}), _jsx(Controls, { showInteractive: false }), _jsx(MiniMap, { pannable: true, zoomable: true, style: MINI_MAP_STYLE }), _jsx(CubeNodeEditorPopper, { editorState: editorState, positions: positions })] }));
|
|
116
132
|
});
|
|
117
133
|
/**
|
|
118
134
|
* The query as a graph, laid out left to right (spec §17.3). Click a node to
|
|
119
135
|
* edit it, Ctrl or Cmd-click it to run the query up to it, drag from a node's
|
|
120
|
-
* output to another node's input to connect them. A
|
|
121
|
-
* around the nodes
|
|
122
|
-
*
|
|
136
|
+
* output to another node's input to connect them. A transform dropped
|
|
137
|
+
* around the nodes goes after the selected node; a source, dropped anywhere,
|
|
138
|
+
* opens the source dialog on its tab (PLAN §11.8). Right-click it, or a
|
|
139
|
+
* node, for the context menu.
|
|
123
140
|
*/
|
|
124
141
|
export const CubeCanvas = observer((props) => {
|
|
125
142
|
const { editorState } = props;
|
|
126
143
|
const ref = useRef(null);
|
|
127
144
|
const [, dropConnector] = useDrop(() => ({
|
|
128
145
|
accept: [CUBE_DND_TYPE.PALETTE_ITEM],
|
|
129
|
-
canDrop: () => !editorState.readOnly,
|
|
146
|
+
canDrop: (item) => !editorState.readOnly && canAddCubeNode(editorState, item.nodeType),
|
|
130
147
|
// a node under the pointer, whether it took the drop or refused it,
|
|
131
148
|
// keeps it from the canvas
|
|
132
149
|
drop: (item, monitor) => dropOnCubeCanvas(editorState, item, monitor.didDrop() || !monitor.isOver({ shallow: true })),
|
|
133
150
|
}), [editorState]);
|
|
134
151
|
dropConnector(ref);
|
|
135
|
-
return (_jsx("div", { ref: ref, className: "relative h-full w-full", "data-testid": LEGEND_CUBE_TEST_ID.CANVAS, children: _jsx(ContextMenu, { className: "h-full w-full",
|
|
152
|
+
return (_jsx("div", { ref: ref, className: "relative h-full w-full", "data-testid": LEGEND_CUBE_TEST_ID.CANVAS, children: _jsx(ContextMenu, { className: "h-full w-full",
|
|
153
|
+
// an empty query has no menu: there is nothing to add after (U3)
|
|
154
|
+
disabled: editorState.document.query.isEmpty, content: _jsx(CubeCanvasContextMenu, { editorState: editorState }), menuProps: { elevation: 7 }, children: editorState.document.query.isEmpty ? (_jsx("div", { className: "flex h-full items-center justify-center p-4 text-base text-[var(--color-text-secondary)]", children: _jsxs("span", { children: [_jsx("button", { className: "text-[var(--color-accent)] underline disabled:text-[var(--color-text-disabled)] disabled:no-underline", title: editorState.sourcePicker.disabledReason, disabled: editorState.sourcePicker.disabledReason !== undefined, onClick: () => editorState.sourcePicker.openToChoose(), children: "Connect to a source" }), ' ', "to start a new one, or", ' ', _jsx("button", { className: "text-[var(--color-accent)] underline", onClick: () => editorState.examples.open(), children: "open an example" }), "."] }) })) : (_jsx(CubeCanvasContext.Provider, { value: editorState, children: _jsx(ReactFlowProvider, { children: _jsx(CubeCanvasFlow, { editorState: editorState }) }) })) }) }));
|
|
136
155
|
});
|
|
137
156
|
//# sourceMappingURL=CubeCanvas.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CubeCanvas.js","sourceRoot":"","sources":["../../../src/components/canvas/CubeCanvas.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EACL,UAAU,EAEV,QAAQ,EAER,OAAO,EACP,SAAS,EACT,iBAAiB,EACjB,mBAAmB,EACnB,YAAY,EACZ,QAAQ,GACT,MAAM,eAAe,CAAC;AACvB,4EAA4E;AAC5E,8EAA8E;AAC9E,OAAO,8BAA8B,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"CubeCanvas.js","sourceRoot":"","sources":["../../../src/components/canvas/CubeCanvas.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,IAAI,EA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0FAA0F,YACvG,2BACE,iBACE,SAAS,EAAC,uGAAuG,EACjH,KAAK,EAAE,WAAW,CAAC,YAAY,CAAC,cAAc,EAC9C,QAAQ,EACN,WAAW,CAAC,YAAY,CAAC,cAAc,KAAK,SAAS,EAEvD,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,YAAY,CAAC,YAAY,EAAE,oCAG/C,EAAC,GAAG,4BACU,GAAG,EAC1B,iBACE,SAAS,EAAC,sCAAsC,EAChD,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,EAAE,gCAGnC,SAEJ,GACH,CACP,CAAC,CAAC,CAAC,CACF,KAAC,iBAAiB,CAAC,QAAQ,IAAC,KAAK,EAAE,WAAW,YAC5C,KAAC,iBAAiB,cAChB,KAAC,cAAc,IAAC,WAAW,EAAE,WAAW,GAAI,GAC1B,GACO,CAC9B,GACW,GACV,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -16,10 +16,14 @@
|
|
|
16
16
|
import type { CubeEditorState } from '../../stores/CubeEditorState.js';
|
|
17
17
|
/**
|
|
18
18
|
* The canvas's context menu (spec §17.4): the palette, then what can be done
|
|
19
|
-
* to the node it was opened on. On a node, a
|
|
20
|
-
* around the nodes,
|
|
21
|
-
*
|
|
22
|
-
*
|
|
19
|
+
* to the node it was opened on. On a node, a transform is added after it;
|
|
20
|
+
* around the nodes, after the selected node; a source opens the source
|
|
21
|
+
* dialog on its tab (PLAN §11.8, U3 and U4). Every item shows, disabled when
|
|
22
|
+
* it can't be done, so Swap Inputs can be found. The node comes through
|
|
23
|
+
* props: a menu opened around the nodes has none. Each item applies the node
|
|
24
|
+
* editor first, so its edits are never dropped; a palette item adds nothing
|
|
25
|
+
* when they had to be. Swap Inputs on the edited node is its editor's own,
|
|
26
|
+
* which applies and follows it.
|
|
23
27
|
*/
|
|
24
28
|
export declare const CubeCanvasContextMenu: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<{
|
|
25
29
|
editorState: CubeEditorState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CubeCanvasContextMenu.d.ts","sourceRoot":"","sources":["../../../src/components/canvas/CubeCanvasContextMenu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"CubeCanvasContextMenu.d.ts","sourceRoot":"","sources":["../../../src/components/canvas/CubeCanvasContextMenu.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAGvE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB;iBAGf,eAAe;aAAW,MAAM,GAAG,SAAS;2GAiD9D,CAAC"}
|
|
@@ -14,22 +14,32 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
14
14
|
* See the License for the specific language governing permissions and
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
|
-
import { MenuContent, MenuContentDivider, MenuContentItem,
|
|
17
|
+
import { MenuContent, MenuContentDivider, MenuContentItem, } from '@finos/legend-art';
|
|
18
18
|
import { observer } from 'mobx-react-lite';
|
|
19
19
|
import { forwardRef } from 'react';
|
|
20
|
-
import {
|
|
20
|
+
import { CubeAddMenuItems } from '../CubeAddItems.js';
|
|
21
21
|
/**
|
|
22
22
|
* The canvas's context menu (spec §17.4): the palette, then what can be done
|
|
23
|
-
* to the node it was opened on. On a node, a
|
|
24
|
-
* around the nodes,
|
|
25
|
-
*
|
|
26
|
-
*
|
|
23
|
+
* to the node it was opened on. On a node, a transform is added after it;
|
|
24
|
+
* around the nodes, after the selected node; a source opens the source
|
|
25
|
+
* dialog on its tab (PLAN §11.8, U3 and U4). Every item shows, disabled when
|
|
26
|
+
* it can't be done, so Swap Inputs can be found. The node comes through
|
|
27
|
+
* props: a menu opened around the nodes has none. Each item applies the node
|
|
28
|
+
* editor first, so its edits are never dropped; a palette item adds nothing
|
|
29
|
+
* when they had to be. Swap Inputs on the edited node is its editor's own,
|
|
30
|
+
* which applies and follows it.
|
|
27
31
|
*/
|
|
28
32
|
export const CubeCanvasContextMenu = observer(forwardRef(function CubeCanvasContextMenu(props, ref) {
|
|
29
33
|
const { editorState, nodeId } = props;
|
|
30
34
|
const { query } = editorState.document;
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
|
|
35
|
+
const finishing = (run) => () => {
|
|
36
|
+
if (editorState.nodeEditor.finish()) {
|
|
37
|
+
run();
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
return (_jsxs(MenuContent, { ref: ref, children: [_jsx(CubeAddMenuItems, { editorState: editorState, nodeId: nodeId }), _jsx(MenuContentDivider, {}), _jsx(MenuContentItem, { title: "Execute runs the query up to this node", disabled: nodeId === undefined || !query.canSelect(nodeId), onClick: finishing(() => nodeId !== undefined && editorState.select(nodeId)), children: "Select" }), _jsx(MenuContentItem, { disabled: nodeId === undefined || !editorState.canRemoveNode(nodeId), onClick: finishing(() => nodeId !== undefined && editorState.removeNode(nodeId)), children: "Remove" }), _jsx(MenuContentItem, { title: "Swap the node's two inputs, e.g. a Join's Left and Right", disabled: nodeId === undefined || !editorState.canSwapInputs(nodeId), onClick: nodeId !== undefined && nodeId === editorState.nodeEditor.nodeId
|
|
41
|
+
? // its own editor applies, swaps and stays open on it
|
|
42
|
+
() => editorState.nodeEditor.swapInputs()
|
|
43
|
+
: finishing(() => nodeId !== undefined && editorState.swapInputs(nodeId)), children: "Swap Inputs" })] }));
|
|
34
44
|
}));
|
|
35
45
|
//# sourceMappingURL=CubeCanvasContextMenu.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CubeCanvasContextMenu.js","sourceRoot":"","sources":["../../../src/components/canvas/CubeCanvasContextMenu.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,eAAe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AE,MAAM,KAAK,SAAS,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,MAAM,CAAC,EACpE,OAAO,EAAE,SAAS,CAChB,GAAG,EAAE,CAAC,MAAM,KAAK,SAAS,IAAI,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,CAC7D,uBAGe,EAClB,KAAC,eAAe,IACd,KAAK,EAAC,0DAA0D,EAChE,QAAQ,EAAE,MAAM,KAAK,SAAS,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,MAAM,CAAC,EACpE,OAAO,EACL,MAAM,KAAK,SAAS,IAAI,MAAM,KAAK,WAAW,CAAC,UAAU,CAAC,MAAM;oBAC9D,CAAC,CAAC,qDAAqD;wBACrD,GAAG,EAAE,CAAC,WAAW,CAAC,UAAU,CAAC,UAAU,EAAE;oBAC3C,CAAC,CAAC,SAAS,CACP,GAAG,EAAE,CAAC,MAAM,KAAK,SAAS,IAAI,WAAW,CAAC,UAAU,CAAC,MAAM,CAAC,CAC7D,4BAIS,IACN,CACf,CAAC;AACJ,CAAC,CAAC,CACH,CAAC"}
|
|
@@ -29,15 +29,17 @@ export interface CubeNodeDragItem {
|
|
|
29
29
|
export type CubeDragItem = CubePaletteDragItem | CubeNodeDragItem;
|
|
30
30
|
/**
|
|
31
31
|
* Whether dropping the item on the node does anything, which also decides
|
|
32
|
-
* whether the node lights up under it: a
|
|
33
|
-
*
|
|
32
|
+
* whether the node lights up under it: a transform is spliced in after the
|
|
33
|
+
* node, another node connects to it or else moves after it. A source is the
|
|
34
|
+
* canvas's, whatever node it is dropped on (PLAN §11.8, U4).
|
|
34
35
|
*/
|
|
35
36
|
export declare const canDropOnCubeNode: (editorState: CubeEditorState, item: CubeDragItem, targetId: string) => boolean;
|
|
36
37
|
export declare const dropOnCubeNode: (editorState: CubeEditorState, item: CubeDragItem, targetId: string) => void;
|
|
37
38
|
/**
|
|
38
|
-
* A palette item dropped on the canvas
|
|
39
|
-
*
|
|
40
|
-
*
|
|
39
|
+
* A palette item dropped on the canvas (PLAN §11.8, U3 and U4): a transform
|
|
40
|
+
* around the nodes goes after the selected node; a source opens the source
|
|
41
|
+
* dialog on its tab, even dropped on a node, which leaves it to the canvas.
|
|
42
|
+
* A transform dropped on a node is the node's, taken or refused.
|
|
41
43
|
*/
|
|
42
44
|
export declare const dropOnCubeCanvas: (editorState: CubeEditorState, item: CubeDragItem, isOverNode: boolean) => void;
|
|
43
45
|
//# sourceMappingURL=CubeCanvasDnd.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CubeCanvasDnd.d.ts","sourceRoot":"","sources":["../../../src/components/canvas/CubeCanvasDnd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"CubeCanvasDnd.d.ts","sourceRoot":"","sources":["../../../src/components/canvas/CubeCanvasDnd.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAMvE,oBAAY,aAAa;IACvB,YAAY,6BAA6B;IACzC,IAAI,qBAAqB;CAC1B;AAED,sDAAsD;AACtD,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;CAC3B;AAED,iCAAiC;AACjC,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG,gBAAgB,CAAC;AAKlE;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,GAC5B,aAAa,eAAe,EAC5B,MAAM,YAAY,EAClB,UAAU,MAAM,KACf,OAIuD,CAAC;AAE3D,eAAO,MAAM,cAAc,GACzB,aAAa,eAAe,EAC5B,MAAM,YAAY,EAClB,UAAU,MAAM,KACf,IAMF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAC3B,aAAa,eAAe,EAC5B,MAAM,YAAY,EAClB,YAAY,OAAO,KAClB,IAOF,CAAC"}
|