@finos/legend-application-studio 18.0.2 → 19.0.0
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/lib/application/LegendStudio.d.ts.map +1 -1
- package/lib/application/LegendStudio.js +3 -9
- package/lib/application/LegendStudio.js.map +1 -1
- package/lib/components/Core_LegendStudioApplicationPlugin.d.ts +2 -1
- package/lib/components/Core_LegendStudioApplicationPlugin.d.ts.map +1 -1
- package/lib/components/Core_LegendStudioApplicationPlugin.js +5 -1
- package/lib/components/Core_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/EditorComponentTestUtils.d.ts.map +1 -1
- package/lib/components/EditorComponentTestUtils.js +3 -3
- package/lib/components/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/LegendStudioApplication.d.ts.map +1 -1
- package/lib/components/LegendStudioApplication.js +11 -8
- package/lib/components/LegendStudioApplication.js.map +1 -1
- package/lib/components/editor/ActivityBar.d.ts.map +1 -1
- package/lib/components/editor/ActivityBar.js +13 -18
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.d.ts.map +1 -1
- package/lib/components/editor/Editor.js +58 -95
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/StatusBar.d.ts.map +1 -1
- package/lib/components/editor/StatusBar.js +4 -6
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js +1 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.js.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/edit-panel/EditPanel.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/EditPanel.js +5 -5
- package/lib/components/editor/edit-panel/EditPanel.js.map +1 -1
- package/lib/components/editor/edit-panel/FileGenerationViewer.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/FileGenerationViewer.js +2 -2
- package/lib/components/editor/edit-panel/FileGenerationViewer.js.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.js +2 -2
- package/lib/components/editor/edit-panel/FunctionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.js +4 -16
- package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.js +6 -32
- package/lib/components/editor/edit-panel/ModelImporter.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js +2 -3
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js +18 -19
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +13 -7
- package/lib/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js +3 -3
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js +3 -4
- package/lib/components/editor/edit-panel/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.js +7 -8
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js +3 -3
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.js +4 -5
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.js +2 -3
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.js.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js +2 -3
- package/lib/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +2 -3
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js +2 -3
- package/lib/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js +3 -3
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js +5 -9
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js +12 -15
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js +9 -12
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js +4 -5
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js +4 -4
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js +65 -54
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/NewServiceModal.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/NewServiceModal.js +4 -5
- package/lib/components/editor/edit-panel/service-editor/NewServiceModal.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js +16 -16
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js +6 -7
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js +9 -9
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js +5 -5
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js +4 -2
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js +2 -3
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js +7 -5
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js +12 -8
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js +7 -5
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.js +4 -5
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js +10 -7
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +3 -5
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.js +5 -32
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +2 -26
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +3 -4
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/project-viewer/ProjectViewer.d.ts.map +1 -1
- package/lib/components/project-viewer/ProjectViewer.js +19 -33
- package/lib/components/project-viewer/ProjectViewer.js.map +1 -1
- package/lib/components/shared/DiffView.d.ts.map +1 -1
- package/lib/components/shared/DiffView.js +4 -19
- package/lib/components/shared/DiffView.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReview.d.ts.map +1 -1
- package/lib/components/workspace-review/WorkspaceReview.js +8 -6
- package/lib/components/workspace-review/WorkspaceReview.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewPanel.d.ts.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewPanel.js +2 -2
- package/lib/components/workspace-review/WorkspaceReviewPanel.js.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewSideBar.js +1 -1
- package/lib/components/workspace-review/WorkspaceReviewSideBar.js.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.d.ts.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js +10 -6
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.js +4 -5
- package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.d.ts.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.js +4 -1
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -1
- package/lib/index.js.map +1 -1
- package/lib/package.json +5 -7
- package/lib/stores/EditorConfig.d.ts +0 -28
- package/lib/stores/EditorConfig.d.ts.map +1 -1
- package/lib/stores/EditorConfig.js +0 -29
- package/lib/stores/EditorConfig.js.map +1 -1
- package/lib/stores/EditorGraphState.d.ts.map +1 -1
- package/lib/stores/EditorGraphState.js +8 -8
- package/lib/stores/EditorGraphState.js.map +1 -1
- package/lib/stores/EditorSDLCState.d.ts.map +1 -1
- package/lib/stores/EditorSDLCState.js +4 -2
- package/lib/stores/EditorSDLCState.js.map +1 -1
- package/lib/stores/EditorStore.d.ts +27 -30
- package/lib/stores/EditorStore.d.ts.map +1 -1
- package/lib/stores/EditorStore.js +183 -146
- package/lib/stores/EditorStore.js.map +1 -1
- package/lib/stores/EmbeddedQueryBuilderState.d.ts +1 -1
- package/lib/stores/EmbeddedQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/EmbeddedQueryBuilderState.js +7 -8
- package/lib/stores/EmbeddedQueryBuilderState.js.map +1 -1
- package/lib/stores/LegendStudioBaseStore.d.ts +1 -1
- package/lib/stores/LegendStudioBaseStore.d.ts.map +1 -1
- package/lib/stores/LegendStudioBaseStore.js +27 -18
- package/lib/stores/LegendStudioBaseStore.js.map +1 -1
- package/lib/stores/LegendStudioCommand.d.ts +32 -0
- package/lib/stores/LegendStudioCommand.d.ts.map +1 -0
- package/lib/stores/LegendStudioCommand.js +81 -0
- package/lib/stores/LegendStudioCommand.js.map +1 -0
- package/lib/stores/LegendStudioRouter.d.ts +15 -15
- package/lib/stores/LegendStudioRouter.d.ts.map +1 -1
- package/lib/stores/LegendStudioRouter.js +37 -24
- package/lib/stores/LegendStudioRouter.js.map +1 -1
- package/lib/stores/editor-state/GraphGenerationState.d.ts.map +1 -1
- package/lib/stores/editor-state/GraphGenerationState.js +2 -3
- package/lib/stores/editor-state/GraphGenerationState.js.map +1 -1
- package/lib/stores/editor-state/ModelImporterState.d.ts.map +1 -1
- package/lib/stores/editor-state/ModelImporterState.js +21 -21
- package/lib/stores/editor-state/ModelImporterState.js.map +1 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.d.ts +2 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.js +10 -4
- package/lib/stores/editor-state/ProjectConfigurationEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js +1 -3
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js +1 -3
- package/lib/stores/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.d.ts.map +1 -1
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js +2 -2
- package/lib/stores/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts +2 -4
- package/lib/stores/project-viewer/ProjectViewerStore.d.ts.map +1 -1
- package/lib/stores/project-viewer/ProjectViewerStore.js +45 -44
- package/lib/stores/project-viewer/ProjectViewerStore.js.map +1 -1
- package/lib/stores/shared/MockDataUtils.d.ts.map +1 -1
- package/lib/stores/shared/MockDataUtils.js +3 -4
- package/lib/stores/shared/MockDataUtils.js.map +1 -1
- package/lib/stores/shared/testable/TestableUtils.d.ts.map +1 -1
- package/lib/stores/shared/testable/TestableUtils.js +6 -6
- package/lib/stores/shared/testable/TestableUtils.js.map +1 -1
- package/lib/stores/sidebar-state/LocalChangesState.d.ts +1 -0
- package/lib/stores/sidebar-state/LocalChangesState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/LocalChangesState.js +28 -10
- package/lib/stores/sidebar-state/LocalChangesState.js.map +1 -1
- package/lib/stores/sidebar-state/ProjectOverviewState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/ProjectOverviewState.js +3 -2
- package/lib/stores/sidebar-state/ProjectOverviewState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceReviewState.js +10 -10
- package/lib/stores/sidebar-state/WorkspaceReviewState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceSyncState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceSyncState.js +6 -8
- package/lib/stores/sidebar-state/WorkspaceSyncState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js +20 -17
- package/lib/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.js.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.d.ts.map +1 -1
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js +8 -7
- package/lib/stores/sidebar-state/WorkspaceUpdaterState.js.map +1 -1
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js +6 -6
- package/lib/stores/workspace-setup/WorkspaceSetupStore.js.map +1 -1
- package/package.json +14 -16
- package/src/application/LegendStudio.tsx +3 -9
- package/src/components/Core_LegendStudioApplicationPlugin.tsx +9 -0
- package/src/components/EditorComponentTestUtils.tsx +8 -2
- package/src/components/LegendStudioApplication.tsx +28 -8
- package/src/components/editor/ActivityBar.tsx +35 -73
- package/src/components/editor/Editor.tsx +135 -172
- package/src/components/editor/StatusBar.tsx +16 -13
- package/src/components/editor/aux-panel/AuxiliaryPanel.tsx +1 -1
- package/src/components/editor/command-center/ProjectSearchCommand.tsx +12 -16
- package/src/components/editor/edit-panel/EditPanel.tsx +14 -22
- package/src/components/editor/edit-panel/FileGenerationViewer.tsx +9 -11
- package/src/components/editor/edit-panel/FunctionEditor.tsx +2 -2
- package/src/components/editor/edit-panel/GrammarTextEditor.tsx +2 -18
- package/src/components/editor/edit-panel/ModelImporter.tsx +10 -38
- package/src/components/editor/edit-panel/connection-editor/DatabaseBuilder.tsx +2 -2
- package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +37 -38
- package/src/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +29 -24
- package/src/components/editor/edit-panel/data-editor/DataElementEditor.tsx +8 -9
- package/src/components/editor/edit-panel/data-editor/EmbeddedDataEditor.tsx +8 -10
- package/src/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.tsx +7 -8
- package/src/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.tsx +2 -2
- package/src/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.tsx +9 -5
- package/src/components/editor/edit-panel/element-generation-editor/ElementNativeView.tsx +2 -2
- package/src/components/editor/edit-panel/element-generation-editor/FileGenerationEditor.tsx +5 -3
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx +2 -3
- package/src/components/editor/edit-panel/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx +2 -3
- package/src/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.tsx +3 -3
- package/src/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.tsx +5 -9
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +23 -27
- package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +20 -24
- package/src/components/editor/edit-panel/mapping-editor/NewMappingElementModal.tsx +4 -5
- package/src/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.tsx +4 -4
- package/src/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.tsx +4 -4
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +273 -121
- package/src/components/editor/edit-panel/service-editor/NewServiceModal.tsx +7 -5
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx +16 -16
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +15 -14
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.tsx +9 -9
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.tsx +5 -5
- package/src/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.tsx +4 -2
- package/src/components/editor/edit-panel/testable/TestAssertionEditor.tsx +2 -3
- package/src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx +12 -5
- package/src/components/editor/edit-panel/uml-editor/ClassEditor.tsx +17 -11
- package/src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx +14 -5
- package/src/components/editor/side-bar/CreateNewElementModal.tsx +4 -5
- package/src/components/editor/side-bar/Explorer.tsx +31 -32
- package/src/components/editor/side-bar/WorkflowManager.tsx +3 -3
- package/src/components/editor/side-bar/WorkspaceReview.tsx +5 -35
- package/src/components/editor/side-bar/WorkspaceUpdater.tsx +2 -31
- package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +3 -4
- package/src/components/project-viewer/ProjectViewer.tsx +65 -78
- package/src/components/shared/DiffView.tsx +3 -22
- package/src/components/workspace-review/WorkspaceReview.tsx +26 -16
- package/src/components/workspace-review/WorkspaceReviewPanel.tsx +5 -9
- package/src/components/workspace-review/WorkspaceReviewSideBar.tsx +1 -1
- package/src/components/workspace-setup/CreateProjectModal.tsx +14 -10
- package/src/components/workspace-setup/CreateWorkspaceModal.tsx +6 -5
- package/src/components/workspace-setup/WorkspaceSetup.tsx +6 -1
- package/src/index.ts +0 -1
- package/src/stores/EditorConfig.ts +0 -30
- package/src/stores/EditorGraphState.ts +9 -8
- package/src/stores/EditorSDLCState.ts +4 -2
- package/src/stores/EditorStore.ts +231 -245
- package/src/stores/EmbeddedQueryBuilderState.ts +14 -9
- package/src/stores/LegendStudioBaseStore.ts +35 -25
- package/src/stores/LegendStudioCommand.ts +83 -0
- package/src/stores/LegendStudioRouter.ts +50 -41
- package/src/stores/editor-state/GraphGenerationState.ts +3 -2
- package/src/stores/editor-state/ModelImporterState.ts +35 -23
- package/src/stores/editor-state/ProjectConfigurationEditorState.ts +16 -2
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionState.ts +1 -3
- package/src/stores/editor-state/element-editor-state/service/ServiceRegistrationState.ts +1 -3
- package/src/stores/editor-state/element-editor-state/testable/TestAssertionState.ts +2 -1
- package/src/stores/project-viewer/ProjectViewerStore.ts +65 -59
- package/src/stores/shared/MockDataUtils.ts +4 -3
- package/src/stores/shared/testable/TestableUtils.ts +6 -5
- package/src/stores/sidebar-state/LocalChangesState.ts +29 -9
- package/src/stores/sidebar-state/ProjectOverviewState.ts +4 -2
- package/src/stores/sidebar-state/WorkspaceReviewState.ts +11 -10
- package/src/stores/sidebar-state/WorkspaceSyncState.ts +6 -8
- package/src/stores/sidebar-state/WorkspaceUpdateConflictResolutionState.ts +20 -17
- package/src/stores/sidebar-state/WorkspaceUpdaterState.ts +8 -7
- package/src/stores/workspace-setup/WorkspaceSetupStore.ts +6 -6
- package/tsconfig.json +1 -2
- package/lib/components/shared/StudioLambdaEditor.d.ts +0 -41
- package/lib/components/shared/StudioLambdaEditor.d.ts.map +0 -1
- package/lib/components/shared/StudioLambdaEditor.js +0 -53
- package/lib/components/shared/StudioLambdaEditor.js.map +0 -1
- package/lib/components/shared/StudioTextInputEditor.d.ts +0 -28
- package/lib/components/shared/StudioTextInputEditor.d.ts.map +0 -1
- package/lib/components/shared/StudioTextInputEditor.js +0 -36
- package/lib/components/shared/StudioTextInputEditor.js.map +0 -1
- package/src/components/shared/StudioLambdaEditor.tsx +0 -146
- package/src/components/shared/StudioTextInputEditor.tsx +0 -83
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendStudio.d.ts","sourceRoot":"","sources":["../../src/application/LegendStudio.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
|
1
|
+
{"version":3,"file":"LegendStudio.d.ts","sourceRoot":"","sources":["../../src/application/LegendStudio.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EACL,KAAK,uBAAuB,EAG5B,iBAAiB,EAGjB,KAAK,mCAAmC,EAEzC,MAAM,2BAA2B,CAAC;AAGnC,OAAO,EACL,KAAK,wCAAwC,EAC7C,6BAA6B,EAC9B,MAAM,oCAAoC,CAAC;AAgB5C,qBAAa,YAAa,SAAQ,iBAAiB;IACzC,MAAM,EAAE,6BAA6B,CAAC;IACtC,aAAa,EAAE,yBAAyB,CAAC;IAEjD,MAAM,CAAC,MAAM,IAAI,YAAY;IAWvB,oBAAoB,CACxB,KAAK,EAAE,mCAAmC,CAAC,wCAAwC,CAAC,GACnF,OAAO,CAAC,uBAAuB,CAAC;IAI7B,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC;CAyBvC"}
|
|
@@ -15,7 +15,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { createRoot } from 'react-dom/client';
|
|
18
|
-
import { configure as configureReactHotkeys } from 'react-hotkeys';
|
|
19
18
|
import { LegendStudioApplication } from '../components/LegendStudioApplication.js';
|
|
20
19
|
import { LegendStudioPluginManager } from './LegendStudioPluginManager.js';
|
|
21
20
|
import { ApplicationStoreProvider, LegendApplication, setupLegendApplicationUILibrary, WebApplicationNavigatorProvider, BrowserRouter, } from '@finos/legend-application';
|
|
@@ -23,25 +22,20 @@ import { Core_PureGraphManagerPlugin } from '@finos/legend-graph';
|
|
|
23
22
|
import { getRootElement } from '@finos/legend-art';
|
|
24
23
|
import { LegendStudioApplicationConfig, } from './LegendStudioApplicationConfig.js';
|
|
25
24
|
import { Core_LegendStudioApplicationPlugin } from '../components/Core_LegendStudioApplicationPlugin.js';
|
|
26
|
-
import { QueryBuilder_GraphManagerPreset, setupQueryBuilderUILibrary, } from '@finos/legend-query-builder';
|
|
25
|
+
import { QueryBuilder_GraphManagerPreset, QueryBuilder_LegendApplicationPlugin, setupQueryBuilderUILibrary, } from '@finos/legend-query-builder';
|
|
27
26
|
const setupLegendStudioUILibrary = async (pluginManager, logger) => {
|
|
28
27
|
await setupLegendApplicationUILibrary(pluginManager, logger);
|
|
29
28
|
await setupQueryBuilderUILibrary();
|
|
30
|
-
configureReactHotkeys({
|
|
31
|
-
// By default, `react-hotkeys` will avoid capturing keys from input tags like <input>, <textarea>, <select>
|
|
32
|
-
// We want to listen to hotkey from every where in the app so we disable that
|
|
33
|
-
// See https://github.com/greena13/react-hotkeys#ignoring-events
|
|
34
|
-
ignoreTags: [],
|
|
35
|
-
});
|
|
36
29
|
};
|
|
37
30
|
export class LegendStudio extends LegendApplication {
|
|
38
31
|
static create() {
|
|
39
32
|
const application = new LegendStudio(LegendStudioPluginManager.create());
|
|
40
|
-
application.withBasePresets([new QueryBuilder_GraphManagerPreset()]);
|
|
41
33
|
application.withBasePlugins([
|
|
42
34
|
new Core_PureGraphManagerPlugin(),
|
|
43
35
|
new Core_LegendStudioApplicationPlugin(),
|
|
36
|
+
new QueryBuilder_LegendApplicationPlugin(),
|
|
44
37
|
]);
|
|
38
|
+
application.withBasePresets([new QueryBuilder_GraphManagerPreset()]);
|
|
45
39
|
return application;
|
|
46
40
|
}
|
|
47
41
|
async configureApplication(input) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendStudio.js","sourceRoot":"","sources":["../../src/application/LegendStudio.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"LegendStudio.js","sourceRoot":"","sources":["../../src/application/LegendStudio.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAGL,wBAAwB,EACxB,iBAAiB,EACjB,+BAA+B,EAC/B,+BAA+B,EAE/B,aAAa,GACd,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAEL,6BAA6B,GAC9B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,kCAAkC,EAAE,MAAM,qDAAqD,CAAC;AACzG,OAAO,EACL,+BAA+B,EAC/B,oCAAoC,EACpC,0BAA0B,GAC3B,MAAM,6BAA6B,CAAC;AAErC,MAAM,0BAA0B,GAAG,KAAK,EACtC,aAAwC,EACxC,MAA+B,EAChB,EAAE;IACjB,MAAM,+BAA+B,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC;IAC7D,MAAM,0BAA0B,EAAE,CAAC;AACrC,CAAC,CAAC;AAEF,MAAM,OAAO,YAAa,SAAQ,iBAAiB;IAIjD,MAAM,CAAC,MAAM;QACX,MAAM,WAAW,GAAG,IAAI,YAAY,CAAC,yBAAyB,CAAC,MAAM,EAAE,CAAC,CAAC;QACzE,WAAW,CAAC,eAAe,CAAC;YAC1B,IAAI,2BAA2B,EAAE;YACjC,IAAI,kCAAkC,EAAE;YACxC,IAAI,oCAAoC,EAAE;SAC3C,CAAC,CAAC;QACH,WAAW,CAAC,eAAe,CAAC,CAAC,IAAI,+BAA+B,EAAE,CAAC,CAAC,CAAC;QACrE,OAAO,WAAW,CAAC;IACrB,CAAC;IAED,KAAK,CAAC,oBAAoB,CACxB,KAAoF;QAEpF,OAAO,IAAI,6BAA6B,CAAC,KAAK,CAAC,CAAC;IAClD,CAAC;IAED,KAAK,CAAC,eAAe;QACnB,oCAAoC;QACpC,MAAM,0BAA0B,CAAC,IAAI,CAAC,aAAa,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC;QAElE,2BAA2B;QAC3B,MAAM,WAAW,GAAG,UAAU,CAAC,cAAc,EAAE,CAAC,CAAC;QACjD,WAAW,CAAC,MAAM;QAChB,oGAAoG;QACpG,yCAAyC;QACzC,iDAAiD;QACjD,KAAC,aAAa,IAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,YACnC,KAAC,+BAA+B,cAC9B,KAAC,wBAAwB,IACvB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,aAAa,EAAE,IAAI,CAAC,aAAa,YAEjC,KAAC,uBAAuB,IACtB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,aAAa,EAAE,IAAI,CAAC,aAAa,GACjC,GACuB,GACK,GACpB,CACjB,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { type ContextualDocumentationEntry } from '@finos/legend-application';
|
|
16
|
+
import { type KeyedCommandConfigEntry, type ContextualDocumentationEntry } from '@finos/legend-application';
|
|
17
17
|
import { LegendStudioApplicationPlugin } from '../stores/LegendStudioApplicationPlugin.js';
|
|
18
18
|
export declare class Core_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin {
|
|
19
19
|
static NAME: string;
|
|
20
20
|
constructor();
|
|
21
|
+
getExtraKeyedCommandConfigEntries(): KeyedCommandConfigEntry[];
|
|
21
22
|
getExtraRequiredDocumentationKeys(): string[];
|
|
22
23
|
getExtraContextualDocumentationEntries(): ContextualDocumentationEntry[];
|
|
23
24
|
getExtraAccessEventLoggingApplicationContextKeys(): string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Core_LegendStudioApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/Core_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"Core_LegendStudioApplicationPlugin.d.ts","sourceRoot":"","sources":["../../src/components/Core_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EAClC,MAAM,2BAA2B,CAAC;AAOnC,OAAO,EAAE,6BAA6B,EAAE,MAAM,4CAA4C,CAAC;AAG3F,qBAAa,kCAAmC,SAAQ,6BAA6B;IACnF,MAAM,CAAC,IAAI,SAAkD;;IAMpD,iCAAiC,IAAI,uBAAuB,EAAE;IAM9D,iCAAiC,IAAI,MAAM,EAAE;IAmC7C,sCAAsC,IAAI,4BAA4B,EAAE;IAMxE,gDAAgD,IAAI,MAAM,EAAE;CAetE"}
|
|
@@ -13,16 +13,20 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
import { collectContextualDocumnetationEntries, } from '@finos/legend-application';
|
|
16
|
+
import { collectContextualDocumnetationEntries, collectKeyedCommandConfigEntriesFromConfig, } from '@finos/legend-application';
|
|
17
17
|
import packageJson from '../../package.json';
|
|
18
18
|
import { LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../stores/LegendStudioApplicationNavigationContext.js';
|
|
19
19
|
import { CORE_CONTEXTUAL_DOCUMENTATION_CONFIG, LEGEND_STUDIO_DOCUMENTATION_KEY, } from '../stores/LegendStudioDocumentation.js';
|
|
20
20
|
import { LegendStudioApplicationPlugin } from '../stores/LegendStudioApplicationPlugin.js';
|
|
21
|
+
import { LEGEND_STUDIO_COMMAND_CONFIG } from '../stores/LegendStudioCommand.js';
|
|
21
22
|
export class Core_LegendStudioApplicationPlugin extends LegendStudioApplicationPlugin {
|
|
22
23
|
static NAME = packageJson.extensions.applicationStudioPlugin;
|
|
23
24
|
constructor() {
|
|
24
25
|
super(Core_LegendStudioApplicationPlugin.NAME, packageJson.version);
|
|
25
26
|
}
|
|
27
|
+
getExtraKeyedCommandConfigEntries() {
|
|
28
|
+
return collectKeyedCommandConfigEntriesFromConfig(LEGEND_STUDIO_COMMAND_CONFIG);
|
|
29
|
+
}
|
|
26
30
|
getExtraRequiredDocumentationKeys() {
|
|
27
31
|
return [
|
|
28
32
|
// grammar parsers
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Core_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/Core_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qCAAqC,
|
|
1
|
+
{"version":3,"file":"Core_LegendStudioApplicationPlugin.js","sourceRoot":"","sources":["../../src/components/Core_LegendStudioApplicationPlugin.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qCAAqC,EACrC,0CAA0C,GAG3C,MAAM,2BAA2B,CAAC;AACnC,OAAO,WAAW,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,gDAAgD,EAAE,MAAM,uDAAuD,CAAC;AACzH,OAAO,EACL,oC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;YACvE,+BAA+B,CAAC,yCAAyC;YACzE,+BAA+B,CAAC,iDAAiD;SAClF,CAAC;IACJ,CAAC;IAEQ,sCAAsC;QAC7C,OAAO,qCAAqC,CAC1C,oCAAoC,CACrC,CAAC;IACJ,CAAC;IAEQ,gDAAgD;QACvD,OAAO;YACL,gDAAgD,CAAC,gBAAgB;YACjE,gDAAgD,CAAC,YAAY;YAC7D,gDAAgD,CAAC,YAAY;YAC7D,gDAAgD,CAAC,cAAc;YAC/D,gDAAgD,CAAC,kBAAkB;YACnE,gDAAgD,CAAC,kBAAkB;YACnE,gDAAgD,CAAC,eAAe;YAChE,gDAAgD,CAAC,cAAc;YAC/D,gDAAgD,CAAC,cAAc;YAC/D,gDAAgD,CAAC,iBAAiB;YAClE,gDAAgD,CAAC,cAAc;SAChE,CAAC;IACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorComponentTestUtils.d.ts","sourceRoot":"","sources":["../../src/components/EditorComponentTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EACL,KAAK,YAAY,EAKlB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"EditorComponentTestUtils.d.ts","sourceRoot":"","sources":["../../src/components/EditorComponentTestUtils.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EACL,KAAK,YAAY,EAKlB,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAMvD,OAAO,KAAK,EAAE,WAAW,EAAuB,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AACxF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,oB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CAAC;CAC5D,KACA,QAAQ,YAAY,CAmBnB,CAAC"}
|
|
@@ -19,13 +19,13 @@ import { render, fireEvent, waitFor, getByText, } from '@testing-library/react';
|
|
|
19
19
|
import { LEGEND_STUDIO_TEST_ID } from './LegendStudioTestID.js';
|
|
20
20
|
import { EditorStore } from '../stores/EditorStore.js';
|
|
21
21
|
import { Editor } from './editor/Editor.js';
|
|
22
|
-
import { generateEditorRoute } from '../stores/LegendStudioRouter.js';
|
|
22
|
+
import { generateEditorRoute, LEGEND_STUDIO_ROUTE_PATTERN, } from '../stores/LegendStudioRouter.js';
|
|
23
23
|
import { LegendStudioPluginManager } from '../application/LegendStudioPluginManager.js';
|
|
24
24
|
import { WorkspaceType, TEST__SDLCServerClientProvider, TEST__getTestSDLCServerClient, SDLCServerFeaturesConfiguration, } from '@finos/legend-server-sdlc';
|
|
25
25
|
import { TEST__GraphManagerStateProvider, TEST__getTestGraphManagerState, ELEMENT_PATH_DELIMITER, } from '@finos/legend-graph';
|
|
26
26
|
import { TEST__DepotServerClientProvider, TEST__getTestDepotServerClient, } from '@finos/legend-server-depot';
|
|
27
27
|
import { LegendStudioBaseStoreProvider } from './LegendStudioBaseStoreProvider.js';
|
|
28
|
-
import { TEST__provideMockedWebApplicationNavigator, TEST__ApplicationStoreProvider, TEST__getTestApplicationStore, LegendApplicationComponentFrameworkProvider, WebApplicationNavigator, Router, createMemoryHistory, } from '@finos/legend-application';
|
|
28
|
+
import { TEST__provideMockedWebApplicationNavigator, TEST__ApplicationStoreProvider, TEST__getTestApplicationStore, LegendApplicationComponentFrameworkProvider, WebApplicationNavigator, Router, createMemoryHistory, Route, } from '@finos/legend-application';
|
|
29
29
|
import { TEST__getLegendStudioApplicationConfig } from '../stores/EditorStoreTestUtils.js';
|
|
30
30
|
export const TEST_DATA__DefaultSDLCInfo = {
|
|
31
31
|
project: {
|
|
@@ -200,7 +200,7 @@ export const TEST__setUpEditor = async (MOCK__editorStore, data) => {
|
|
|
200
200
|
const navigator = new WebApplicationNavigator(history);
|
|
201
201
|
MOCK__editorStore.applicationStore.navigator = navigator;
|
|
202
202
|
TEST__provideMockedWebApplicationNavigator({ mock: navigator });
|
|
203
|
-
const renderResult = render(_jsx(Router, { history: history, children: _jsx(TEST__ApplicationStoreProvider, { config: TEST__getLegendStudioApplicationConfig(), pluginManager: LegendStudioPluginManager.create(), children: _jsx(TEST__SDLCServerClientProvider, { children: _jsx(TEST__DepotServerClientProvider, { children: _jsx(TEST__GraphManagerStateProvider, { children: _jsx(TEST__LegendStudioBaseStoreProvider, { children: _jsx(LegendApplicationComponentFrameworkProvider, { children: _jsx(Editor, {}) }) }) }) }) }) }) }));
|
|
203
|
+
const renderResult = render(_jsx(Router, { history: history, children: _jsx(TEST__ApplicationStoreProvider, { config: TEST__getLegendStudioApplicationConfig(), pluginManager: LegendStudioPluginManager.create(), children: _jsx(TEST__SDLCServerClientProvider, { children: _jsx(TEST__DepotServerClientProvider, { children: _jsx(TEST__GraphManagerStateProvider, { children: _jsx(TEST__LegendStudioBaseStoreProvider, { children: _jsx(LegendApplicationComponentFrameworkProvider, { children: _jsx(Route, { path: [LEGEND_STUDIO_ROUTE_PATTERN.EDIT_WORKSPACE], children: _jsx(Editor, {}) }) }) }) }) }) }) }) }));
|
|
204
204
|
// assert project/workspace have been set
|
|
205
205
|
await waitFor(() => expect(MOCK__editorStore.sdlcState.currentProject).toBeDefined());
|
|
206
206
|
await waitFor(() => expect(MOCK__editorStore.sdlcState.currentWorkspace).toBeDefined());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorComponentTestUtils.js","sourceRoot":"","sources":["../../src/components/EditorComponentTestUtils.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAEL,MAAM,EACN,SAAS,EACT,OAAO,EACP,SAAS,GACV,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,
|
|
1
|
+
{"version":3,"file":"EditorComponentTestUtils.js","sourceRoot":"","sources":["../../src/components/EditorComponentTestUtils.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAEL,MAAM,EACN,SAAS,EACT,OAAO,EACP,SAAS,GACV,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EACL,mBAAmB,EACnB,2BAA2B,GAC5B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAExF,OAAO,EAQL,aAAa,EACb,8BAA8B,EAC9B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAIL,+BAA+B,EAC/B,8BAA8B,EAC9B,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAIL,+BAA+B,EAC/B,8BAA8B,GAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EACL,0CAA0C,EAC1C,8BAA8B,EAC9B,6BAA6B,EAC7B,2CAA2C,EAC3C,uBAAuB,EACvB,MAAM,EACN,mBAAmB,EACnB,KAAK,GACN,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sCAAsC,EAAE,MAAM,mCAAmC,CAAC;AAG3F,MAAM,CAAC,MAAM,0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AAC,wBAAwB;KACvD;IACD,QAAQ,EAAE,EAAE;IACZ,WAAW,EAAE,EAAE;IACf,iBAAiB,EAAE,EAAE;IACrB,qBAAqB,EAAE,2BAA2B,CAAC,cAAc;IACjE,GAAG,SAAS;CACb,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendStudioApplication.d.ts","sourceRoot":"","sources":["../../src/components/LegendStudioApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
|
1
|
+
{"version":3,"file":"LegendStudioApplication.d.ts","sourceRoot":"","sources":["../../src/components/LegendStudioApplication.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAkBH,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6CAA6C,CAAC;AAkB7F,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iDAAiD,CAAC;AA4DrG,eAAO,MAAM,2BAA2B;;CAgGtC,CAAC;AAEH,eAAO,MAAM,uBAAuB,WAC1B;IACN,MAAM,EAAE,6BAA6B,CAAC;IACtC,aAAa,EAAE,yBAAyB,CAAC;CAC1C;;CA+BF,CAAC"}
|
|
@@ -21,7 +21,7 @@ import { WorkspaceReview } from './workspace-review/WorkspaceReview.js';
|
|
|
21
21
|
import { ProjectViewer } from './project-viewer/ProjectViewer.js';
|
|
22
22
|
import { observer } from 'mobx-react-lite';
|
|
23
23
|
import { clsx, GhostIcon, MarkdownTextViewer, PanelLoadingIndicator, } from '@finos/legend-art';
|
|
24
|
-
import { LEGEND_STUDIO_ROUTE_PATTERN } from '../stores/LegendStudioRouter.js';
|
|
24
|
+
import { LEGEND_STUDIO_ROUTE_PATTERN, LEGEND_STUDIO_SDLC_BYPASSED_ROUTE_PATTERN, } from '../stores/LegendStudioRouter.js';
|
|
25
25
|
import { flowResult } from 'mobx';
|
|
26
26
|
import { SDLCServerClientProvider } from '@finos/legend-server-sdlc';
|
|
27
27
|
import { DepotServerClientProvider } from '@finos/legend-server-depot';
|
|
@@ -46,23 +46,26 @@ export const LegendStudioApplicationRoot = observer(() => {
|
|
|
46
46
|
useEffect(() => {
|
|
47
47
|
flowResult(baseStore.initialize()).catch(applicationStore.alertUnhandledError);
|
|
48
48
|
}, [applicationStore, baseStore]);
|
|
49
|
-
return (_jsxs("div", { className: "app", children: [
|
|
49
|
+
return (_jsxs("div", { className: "app", children: [baseStore.isSDLCAuthorized === false && (_jsx("div", { className: "app__page", children: _jsx(PanelLoadingIndicator, { isLoading: true }) })), baseStore.isSDLCAuthorized === undefined && (_jsx(_Fragment, { children: _jsxs(Switch, { children: [_jsx(Route, { exact: true, path: [
|
|
50
|
+
LEGEND_STUDIO_SDLC_BYPASSED_ROUTE_PATTERN.VIEW_BY_GAV,
|
|
51
|
+
LEGEND_STUDIO_SDLC_BYPASSED_ROUTE_PATTERN.VIEW_BY_GAV_ENTITY,
|
|
52
|
+
], component: ProjectViewer }), _jsx(Route, { children: _jsx(LegendStudioNotFoundRouteScreen, {}) })] }) })), baseStore.isSDLCAuthorized && (_jsxs(_Fragment, { children: [_jsx(VirtualAssistant, {}), _jsxs(Switch, { children: [_jsx(Route, { exact: true, path: [
|
|
50
53
|
LEGEND_STUDIO_ROUTE_PATTERN.VIEW,
|
|
51
|
-
LEGEND_STUDIO_ROUTE_PATTERN.VIEW_BY_GAV,
|
|
52
|
-
LEGEND_STUDIO_ROUTE_PATTERN.VIEW_BY_GAV_ENTITY,
|
|
53
54
|
LEGEND_STUDIO_ROUTE_PATTERN.VIEW_BY_ENTITY,
|
|
54
55
|
LEGEND_STUDIO_ROUTE_PATTERN.VIEW_BY_REVISION,
|
|
55
56
|
LEGEND_STUDIO_ROUTE_PATTERN.VIEW_BY_VERSION,
|
|
56
57
|
LEGEND_STUDIO_ROUTE_PATTERN.VIEW_BY_REVISION_ENTITY,
|
|
57
58
|
LEGEND_STUDIO_ROUTE_PATTERN.VIEW_BY_VERSION_ENTITY,
|
|
58
59
|
], component: ProjectViewer }), _jsx(Route, { exact: true, path: LEGEND_STUDIO_ROUTE_PATTERN.REVIEW, component: WorkspaceReview }), _jsx(Route, { exact: true, strict: true, path: [
|
|
59
|
-
LEGEND_STUDIO_ROUTE_PATTERN.
|
|
60
|
-
LEGEND_STUDIO_ROUTE_PATTERN.
|
|
60
|
+
LEGEND_STUDIO_ROUTE_PATTERN.EDIT_GROUP_WORKSPACE,
|
|
61
|
+
LEGEND_STUDIO_ROUTE_PATTERN.EDIT_GROUP_WORKSPACE_ENTITY,
|
|
62
|
+
LEGEND_STUDIO_ROUTE_PATTERN.EDIT_WORKSPACE,
|
|
63
|
+
LEGEND_STUDIO_ROUTE_PATTERN.EDIT_WORKSPACE_ENTITY,
|
|
61
64
|
], component: Editor }), _jsx(Route, { exact: true, path: [
|
|
62
65
|
// root path will lead to setup page (home page)
|
|
63
66
|
'/',
|
|
64
|
-
LEGEND_STUDIO_ROUTE_PATTERN.
|
|
65
|
-
LEGEND_STUDIO_ROUTE_PATTERN.
|
|
67
|
+
LEGEND_STUDIO_ROUTE_PATTERN.SETUP_WORKSPACE,
|
|
68
|
+
LEGEND_STUDIO_ROUTE_PATTERN.SETUP_GROUP_WORKSPACE,
|
|
66
69
|
], component: WorkspaceSetup }), extraApplicationPageEntries.map((entry) => (_jsx(Route, { exact: true, path: entry.urlPatterns.map(generateExtensionUrlPattern), component: entry.renderer }, entry.key))), _jsx(Route, { children: _jsx(LegendStudioNotFoundRouteScreen, {}) })] })] }))] }));
|
|
67
70
|
});
|
|
68
71
|
export const LegendStudioApplication = observer((props) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegendStudioApplication.js","sourceRoot":"","sources":["../../src/components/LegendStudioApplication.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,SAAS,EACT,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,
|
|
1
|
+
{"version":3,"file":"LegendStudioApplication.js","sourceRoot":"","sources":["../../src/components/LegendStudioApplication.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,qCAAqC,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,SAAS,EACT,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,2BAA2B,EAC3B,yCAAyC,GAC1C,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AACvE,OAAO,EACL,6BAA6B,EAC7B,+BAA+B,EAC/B,wBAAwB,GACzB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EACL,2BAA2B,EAC3B,2CAA2C,EAC3C,KAAK,EACL,MAAM,EACN,mBAAm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N,GAAG,EAAE,MAAM,CAAC,GAAG;YACf,SAAS,EAAE,MAAM,CAAC,aAAa;YAC/B,WAAW,EAAE,MAAM,CAAC,qBAAqB;SAC1C,YAED,KAAC,yBAAyB,IACxB,MAAM,EAAE;gBACN,SAAS,EAAE,MAAM,CAAC,cAAc;aACjC,YAED,KAAC,yBAAyB,IACxB,aAAa,EAAE,aAAa,EAC5B,GAAG,EAAE,gBAAgB,CAAC,GAAG,YAEzB,KAAC,6BAA6B,cAC5B,KAAC,2CAA2C,cAC1C,KAAC,2BAA2B,KAAG,GACa,GAChB,GACN,GACF,GACH,CAC5B,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActivityBar.d.ts","sourceRoot":"","sources":["../../../src/components/editor/ActivityBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"ActivityBar.d.ts","sourceRoot":"","sources":["../../../src/components/editor/ActivityBar.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EAAE,aAAa,EAAkB,MAAM,8BAA8B,CAAC;AA8C7E,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC,YAAY,CAAC;CAC1B;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EA6DnC,CAAC;AAEF,eAAO,MAAM,WAAW;;CA8NtB,CAAC"}
|
|
@@ -15,9 +15,9 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
15
15
|
* limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
|
18
|
-
import { ACTIVITY_MODE } from '../../stores/EditorConfig.js';
|
|
18
|
+
import { ACTIVITY_MODE, AUX_PANEL_MODE } from '../../stores/EditorConfig.js';
|
|
19
19
|
import { LEGEND_STUDIO_TEST_ID } from '../LegendStudioTestID.js';
|
|
20
|
-
import {
|
|
20
|
+
import { clsx, DropdownMenu, RepoIcon, MenuContent, MenuContentItem, MenuContentItemLabel, GitPullRequestIcon, GitMergeIcon, CloudDownloadIcon, CogIcon, CodeBranchIcon, EmptyClockIcon, WrenchIcon, FileTrayIcon, MenuIcon, MenuContentDivider, FlaskIcon, } from '@finos/legend-art';
|
|
21
21
|
import { useEditorStore } from './EditorStoreProvider.js';
|
|
22
22
|
import { forwardRef, useState } from 'react';
|
|
23
23
|
import { VIRTUAL_ASSISTANT_TAB } from '@finos/legend-application';
|
|
@@ -26,18 +26,15 @@ import { generateSetupRoute } from '../../stores/LegendStudioRouter.js';
|
|
|
26
26
|
import { useLegendStudioApplicationStore } from '../LegendStudioBaseStoreProvider.js';
|
|
27
27
|
const SettingsMenu = observer(forwardRef(function SettingsMenu(props, ref) {
|
|
28
28
|
const editorStore = useEditorStore();
|
|
29
|
-
const
|
|
30
|
-
editorStore.
|
|
29
|
+
const showDeveloperTool = () => {
|
|
30
|
+
editorStore.auxPanelDisplayState.open();
|
|
31
|
+
editorStore.setActiveAuxPanelMode(AUX_PANEL_MODE.DEV_TOOL);
|
|
31
32
|
};
|
|
32
|
-
return (_jsx(MenuContent, { ref: ref, className: "activity-bar__setting__menu", children:
|
|
33
|
+
return (_jsx(MenuContent, { ref: ref, className: "activity-bar__setting__menu", children: _jsx(MenuContentItem, { onClick: showDeveloperTool, children: _jsx(MenuContentItemLabel, { children: "Show Developer Tool" }) }) }));
|
|
33
34
|
}));
|
|
34
35
|
export const ActivityBarMenu = () => {
|
|
35
36
|
const applicationStore = useLegendStudioApplicationStore();
|
|
36
37
|
const appDocUrl = applicationStore.documentationService.url;
|
|
37
|
-
// menu
|
|
38
|
-
const [openMenuDropdown, setOpenMenuDropdown] = useState(false);
|
|
39
|
-
const showMenuDropdown = () => setOpenMenuDropdown(true);
|
|
40
|
-
const hideMenuDropdown = () => setOpenMenuDropdown(false);
|
|
41
38
|
// about modal
|
|
42
39
|
const [openAppInfo, setOpenAppInfo] = useState(false);
|
|
43
40
|
const showAppInfo = () => setOpenAppInfo(true);
|
|
@@ -56,13 +53,11 @@ export const ActivityBarMenu = () => {
|
|
|
56
53
|
applicationStore.assistantService.setIsOpen(true);
|
|
57
54
|
applicationStore.assistantService.setSelectedTab(VIRTUAL_ASSISTANT_TAB.SEARCH);
|
|
58
55
|
};
|
|
59
|
-
return (_jsxs(_Fragment, { children: [_jsx(
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
elevation: 7,
|
|
65
|
-
}, content: _jsxs(MenuContent, { className: "app__header__menu", children: [_jsx(MenuContentItem, { className: "app__header__menu__item", onClick: showAppInfo, children: "About" }), _jsx(MenuContentItem, { className: "app__header__menu__item", onClick: openHelp, children: "Help..." }), _jsx(MenuContentItem, { className: "app__header__menu__item", disabled: !appDocUrl, onClick: goToDocumentation, children: "See Documentation" }), _jsx(MenuContentDivider, {}), _jsx(MenuContentItem, { className: "app__header__menu__item", onClick: goToWorkspaceSetup, children: "Back to workspace setup" })] }), children: _jsx("div", { className: "activity-bar__menu", children: _jsx("button", { className: "activity-bar__menu-item", tabIndex: -1, onClick: showMenuDropdown, title: "Menu", children: _jsx(MenuIcon, {}) }) }) }), _jsx(LegendStudioAppInfo, { open: openAppInfo, closeModal: hideAppInfo })] }));
|
|
56
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "activity-bar__menu", children: _jsx(DropdownMenu, { className: "activity-bar__menu-item", menuProps: {
|
|
57
|
+
anchorOrigin: { vertical: 'top', horizontal: 'right' },
|
|
58
|
+
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
|
59
|
+
elevation: 7,
|
|
60
|
+
}, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { onClick: showAppInfo, children: "About" }), _jsx(MenuContentItem, { onClick: openHelp, children: "Help..." }), _jsx(MenuContentItem, { disabled: !appDocUrl, onClick: goToDocumentation, children: "See Documentation" }), _jsx(MenuContentDivider, {}), _jsx(MenuContentItem, { onClick: goToWorkspaceSetup, children: "Back to workspace setup" })] }), children: _jsx(MenuIcon, {}) }) }), _jsx(LegendStudioAppInfo, { open: openAppInfo, closeModal: hideAppInfo })] }));
|
|
66
61
|
};
|
|
67
62
|
export const ActivityBar = observer(() => {
|
|
68
63
|
const editorStore = useEditorStore();
|
|
@@ -157,10 +152,10 @@ export const ActivityBar = observer(() => {
|
|
|
157
152
|
return (_jsxs("div", { className: "activity-bar", children: [_jsx(ActivityBarMenu, {}), _jsx("div", { className: "activity-bar__items", children: activities.map((activity) => (_jsx("button", { className: clsx('activity-bar__item', {
|
|
158
153
|
'activity-bar__item--active': editorStore.sideBarDisplayState.isOpen &&
|
|
159
154
|
editorStore.activeActivity === activity.mode,
|
|
160
|
-
}), onClick: changeActivity(activity.mode), tabIndex: -1, title: `${activity.title}${activity.info ? ` - ${activity.info}` : ''}`, children: activity.icon }, activity.mode))) }), _jsx(DropdownMenu, { className: "activity-
|
|
155
|
+
}), onClick: changeActivity(activity.mode), tabIndex: -1, title: `${activity.title}${activity.info ? ` - ${activity.info}` : ''}`, children: activity.icon }, activity.mode))) }), _jsx(DropdownMenu, { className: "activity-bar__item", content: _jsx(SettingsMenu, {}), menuProps: {
|
|
161
156
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
|
162
157
|
transformOrigin: { vertical: 'bottom', horizontal: 'left' },
|
|
163
158
|
elevation: 7,
|
|
164
|
-
}, children: _jsx(
|
|
159
|
+
}, children: _jsx(CogIcon, {}) })] }));
|
|
165
160
|
});
|
|
166
161
|
//# sourceMappingURL=ActivityBar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActivityBar.js","sourceRoot":"","sources":["../../../src/components/editor/ActivityBar.tsx"],"names":[],"mappings":";AAAA;;;;;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,EACF,OAAO,EAAE,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,EACtC,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,GAAG,QAAQ,CAAC,KAAK,GACtB,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,EAC1C,EAAE,YAED,QAAQ,CAAC,IAAI,IAZT,QAAQ,CAAC,IAAI,CAaX,CACV,CAAC,GACE,EACN,KAAC,YAAY,IACX,SAAS,EAAC,oBAAoB,EAC9B,OAAO,EAAE,KAAC,YAAY,KAAG,EACzB,SAAS,EAAE;oBACT,YAAY,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE;oBACzD,eAAe,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE;oBAC3D,SAAS,EAAE,CAAC;iBACb,YAED,KAAC,OAAO,KAAG,GACE,IACX,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../../src/components/editor/Editor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
|
1
|
+
{"version":3,"file":"Editor.d.ts","sourceRoot":"","sources":["../../../src/components/editor/Editor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAqCH,eAAO,MAAM,MAAM,wBAiMlB,CAAC"}
|