@finos/legend-application-studio 15.2.0 → 16.0.1
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 +5 -2
- package/lib/application/LegendStudio.js.map +1 -1
- package/lib/application/LegendStudioPluginManager.js +2 -2
- package/lib/application/LegendStudioPluginManager.js.map +1 -1
- package/lib/components/DSLExternalFormat_LegendStudioApplicationPlugin.d.ts +4 -4
- package/lib/components/DSLExternalFormat_LegendStudioApplicationPlugin.d.ts.map +1 -1
- package/lib/components/DSLExternalFormat_LegendStudioApplicationPlugin.js +3 -3
- package/lib/components/DSLExternalFormat_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/EditorComponentTestUtils.d.ts +10 -2
- package/lib/components/EditorComponentTestUtils.d.ts.map +1 -1
- package/lib/components/EditorComponentTestUtils.js +24 -18
- package/lib/components/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/EmbeddedQueryBuilder.d.ts +19 -0
- package/lib/components/EmbeddedQueryBuilder.d.ts.map +1 -0
- package/lib/components/EmbeddedQueryBuilder.js +80 -0
- package/lib/components/EmbeddedQueryBuilder.js.map +1 -0
- package/lib/components/LegendStudioApplication.d.ts +0 -1
- package/lib/components/LegendStudioApplication.d.ts.map +1 -1
- package/lib/components/editor/Editor.d.ts.map +1 -1
- package/lib/components/editor/Editor.js +12 -13
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/StatusBar.d.ts +0 -1
- package/lib/components/editor/StatusBar.d.ts.map +1 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts +0 -1
- package/lib/components/editor/aux-panel/AuxiliaryPanel.d.ts.map +1 -1
- package/lib/components/editor/aux-panel/Console.d.ts +0 -1
- package/lib/components/editor/aux-panel/Console.d.ts.map +1 -1
- package/lib/components/editor/aux-panel/DevTool.d.ts +0 -1
- package/lib/components/editor/aux-panel/DevTool.d.ts.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts +0 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/FileGenerationViewer.d.ts +0 -1
- package/lib/components/editor/edit-panel/FileGenerationViewer.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/FunctionEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/FunctionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/GenerationSpecificationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/GrammarTextEditor.js +15 -3
- package/lib/components/editor/edit-panel/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/ModelImporter.d.ts +0 -1
- package/lib/components/editor/edit-panel/ModelImporter.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/RuntimeEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/UnsupportedElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/connection-editor/ConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts +0 -1
- package/lib/components/editor/edit-panel/connection-editor/DatabaseBuilder.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/connection-editor/FlatDataConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.d.ts +0 -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 +2 -2
- 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 +0 -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.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/data-editor/DataElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/data-editor/RelationalCSVDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts +0 -1
- package/lib/components/editor/edit-panel/diff-editor/EntityDiffView.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementGenerationEditor.d.ts +0 -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/ElementNativeView.d.ts +0 -1
- package/lib/components/editor/edit-panel/element-generation-editor/ElementNativeView.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/BindingElementEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/BindingElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/ExternalFormatConnectionEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/ExternalFormatConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/NewSchemaSetDriver.d.ts +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/NewSchemaSetDriver.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetElementEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetElementEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetModelGenerationEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/external-format-editor/SchemaSetModelGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/ClassMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/EnumerationMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/FlatDataPropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.d.ts +0 -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 +40 -8
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.d.ts +18 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.js +38 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.js.map +1 -0
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.d.ts +0 -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 +40 -8
- package/lib/components/editor/edit-panel/mapping-editor/MappingTestEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/NewMappingElementModal.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/OperationSetImplementationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/PropertyMappingsEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/PurePropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.d.ts +0 -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 +52 -8
- 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 +0 -1
- package/lib/components/editor/edit-panel/service-editor/NewServiceModal.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts +0 -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 +58 -10
- package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/testable/TestAssertionEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/uml-editor/AssociationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.d.ts +19 -0
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.d.ts.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js +80 -0
- package/lib/components/editor/edit-panel/uml-editor/ClassQueryBuilder.js.map +1 -0
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/uml-editor/EnumerationEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/uml-editor/ProfileEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/uml-editor/PropertyEditor.d.ts.map +1 -1
- package/lib/components/editor/edit-panel/uml-editor/UMLEditor.d.ts +0 -1
- package/lib/components/editor/edit-panel/uml-editor/UMLEditor.d.ts.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +0 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts +0 -1
- package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js +15 -8
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts +0 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.d.ts +0 -1
- package/lib/components/editor/side-bar/ProjectOverview.d.ts.map +1 -1
- package/lib/components/editor/side-bar/SideBar.d.ts +0 -1
- package/lib/components/editor/side-bar/SideBar.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts +0 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts +0 -1
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts +0 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts +0 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts +0 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +0 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
- package/lib/components/project-viewer/ProjectViewer.d.ts.map +1 -1
- package/lib/components/project-viewer/ProjectViewer.js +5 -6
- package/lib/components/project-viewer/ProjectViewer.js.map +1 -1
- package/lib/components/shared/DiffView.d.ts +0 -1
- package/lib/components/shared/DiffView.d.ts.map +1 -1
- package/lib/components/shared/StudioLambdaEditor.d.ts +0 -1
- package/lib/components/shared/StudioLambdaEditor.d.ts.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewPanel.d.ts +0 -1
- package/lib/components/workspace-review/WorkspaceReviewPanel.d.ts.map +1 -1
- package/lib/components/workspace-review/WorkspaceReviewSideBar.d.ts +0 -1
- package/lib/components/workspace-review/WorkspaceReviewSideBar.d.ts.map +1 -1
- package/lib/components/workspace-setup/ProjectCreateModal.d.ts +0 -1
- package/lib/components/workspace-setup/ProjectCreateModal.d.ts.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/package.json +5 -5
- package/lib/stores/DSLMapping_LegendStudioApplicationPlugin_Extension.d.ts +0 -18
- package/lib/stores/DSLMapping_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -1
- package/lib/stores/DSLService_LegendStudioApplicationPlugin_Extension.d.ts +0 -10
- package/lib/stores/DSLService_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -1
- package/lib/stores/EditorGraphState.d.ts.map +1 -1
- package/lib/stores/EditorGraphState.js +37 -9
- package/lib/stores/EditorGraphState.js.map +1 -1
- package/lib/stores/EditorStore.d.ts +2 -0
- package/lib/stores/EditorStore.d.ts.map +1 -1
- package/lib/stores/EditorStore.js +3 -0
- package/lib/stores/EditorStore.js.map +1 -1
- package/lib/stores/EmbeddedQueryBuilderState.d.ts +40 -0
- package/lib/stores/EmbeddedQueryBuilderState.d.ts.map +1 -0
- package/lib/stores/EmbeddedQueryBuilderState.js +80 -0
- package/lib/stores/EmbeddedQueryBuilderState.js.map +1 -0
- package/lib/stores/LegendStudioAppEvent.d.ts +2 -1
- package/lib/stores/LegendStudioAppEvent.d.ts.map +1 -1
- package/lib/stores/LegendStudioAppEvent.js +1 -0
- package/lib/stores/LegendStudioAppEvent.js.map +1 -1
- package/lib/stores/LegendStudioApplicationNavigationContext.d.ts +1 -0
- package/lib/stores/LegendStudioApplicationNavigationContext.d.ts.map +1 -1
- package/lib/stores/LegendStudioApplicationNavigationContext.js +1 -0
- package/lib/stores/LegendStudioApplicationNavigationContext.js.map +1 -1
- package/lib/stores/LegendStudioApplicationPlugin.d.ts +7 -7
- package/lib/stores/LegendStudioApplicationPlugin.d.ts.map +1 -1
- package/lib/stores/LegendStudioCodeSnippets.d.ts +2 -0
- package/lib/stores/LegendStudioCodeSnippets.d.ts.map +1 -1
- package/lib/stores/LegendStudioCodeSnippets.js +28 -0
- package/lib/stores/LegendStudioCodeSnippets.js.map +1 -1
- package/lib/stores/StoreRelational_LegendStudioApplicationPlugin_Extension.d.ts +13 -5
- package/lib/stores/StoreRelational_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.d.ts +11 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.d.ts.map +1 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.js +66 -1
- package/lib/stores/editor-state/ProjectConfigurationEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js +9 -9
- package/lib/stores/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -1
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts +29 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.d.ts.map +1 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js +42 -0
- package/lib/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js.map +1 -0
- package/lib/stores/shared/DnDUtil.js +1 -1
- package/lib/stores/shared/PackageTreeUtil.js +6 -6
- package/lib/stores/shared/PackageTreeUtil.js.map +1 -1
- package/package.json +13 -13
- package/src/application/LegendStudio.tsx +8 -2
- package/src/application/LegendStudioPluginManager.ts +2 -2
- package/src/components/DSLExternalFormat_LegendStudioApplicationPlugin.tsx +5 -5
- package/src/components/EditorComponentTestUtils.tsx +29 -23
- package/src/components/EmbeddedQueryBuilder.tsx +165 -0
- package/src/components/editor/Editor.tsx +77 -79
- package/src/components/editor/edit-panel/GrammarTextEditor.tsx +24 -2
- package/src/components/editor/edit-panel/connection-editor/RelationalDatabaseConnectionEditor.tsx +2 -2
- package/src/components/editor/edit-panel/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +1 -0
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionBuilder.tsx +88 -15
- package/src/components/editor/edit-panel/mapping-editor/MappingExecutionQueryBuilder.tsx +93 -0
- package/src/components/editor/edit-panel/mapping-editor/MappingTestEditor.tsx +81 -16
- package/src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx +170 -4
- package/src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx +115 -20
- package/src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx +159 -0
- package/src/components/editor/side-bar/Explorer.tsx +20 -10
- package/src/components/project-viewer/ProjectViewer.tsx +36 -38
- package/src/index.ts +1 -1
- package/src/stores/DSLMapping_LegendStudioApplicationPlugin_Extension.ts +0 -27
- package/src/stores/DSLService_LegendStudioApplicationPlugin_Extension.ts +0 -14
- package/src/stores/EditorGraphState.ts +56 -11
- package/src/stores/EditorStore.ts +3 -0
- package/src/stores/EmbeddedQueryBuilderState.ts +105 -0
- package/src/stores/LegendStudioAppEvent.ts +1 -0
- package/src/stores/LegendStudioApplicationNavigationContext.ts +1 -0
- package/src/stores/LegendStudioApplicationPlugin.ts +7 -7
- package/src/stores/LegendStudioCodeSnippets.ts +34 -0
- package/src/stores/StoreRelational_LegendStudioApplicationPlugin_Extension.ts +19 -5
- package/src/stores/editor-state/ProjectConfigurationEditorState.ts +104 -1
- package/src/stores/editor-state/element-editor-state/connection/ConnectionEditorState.ts +9 -9
- package/src/stores/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.ts +58 -0
- package/src/stores/shared/DnDUtil.ts +1 -1
- package/src/stores/shared/PackageTreeUtil.ts +6 -6
- package/tsconfig.json +5 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectConfigurationEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EACL,QAAQ,EACR,eAAe,EACf,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,+BAA+B,EAC/B,wBAAwB,GACzB,MAAM,oEAAoE,CAAC;AAC5E,OAAO,EAEL,cAAc,EACd,IAAI,EACJ,mBAAmB,EACnB,QAAQ,EACR,SAAS,EACT,eAAe,EACf,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,O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C,uBAGL,IACL,EACN,eAAK,SAAS,EAAC,0DAA0D,aACvE,cAAK,SAAS,EAAC,oCAAoC,YAChD,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CACjB,iBAEE,OAAO,EAAE,SAAS,CAAC,GAAG,CAAC,EACvB,SAAS,EAAE,IAAI,CAAC,mCAAmC,EAAE;oCACnD,2CAA2C,EACzC,GAAG,KAAK,WAAW;iCACtB,CAAC,YAED,eAAe,CAAC,GAAG,CAAC,IAPhB,GAAG,CAQD,CACV,CAAC,GACE,EACN,cAAK,SAAS,EAAC,wBAAwB,YACrC,iBACE,SAAS,EAAC,uBAAuB,EACjC,QAAQ,EAAE,gBAAgB,EAC1B,QAAQ,EAAE,CAAC,CAAC,EACZ,OAAO,EAAE,QAAQ,EACjB,KAAK,EAAE,cAAc,YAErB,KAAC,QAAQ,KAAG,GACL,GACL,IACF,EACN,eAAK,SAAS,EAAC,sDAAsD,aAClE,WAAW,KAAK,wBAAwB,CAAC,iBAAiB,IAAI,CAC7D,KAAC,sBAAsB,IACrB,aAAa,EAAE,2BAA2B,EAC1C,UAAU,EAAE,UAAU,GACtB,CACH,EACA,WAAW,KAAK,wBAAwB,CAAC,oBAAoB,IAAI,CAChE,cAAK,SAAS,EAAC,uBAAuB,YACnC,2BAA2B,CAAC,mBAAmB,CAAC,GAAG,CAClD,CAAC,iBAAiB,EAAE,EAAE,CAAC,CACrB,KAAC,uBAAuB,IAEtB,iBAAiB,EAAE,iBAAiB,EACpC,WAAW,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,EACvD,UAAU,EAAE,UAAU,IAHjB,iBAAiB,CAAC,KAAK,CAI5B,CACH,CACF,GACG,CACP,IACG,IACF,GACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"ProjectConfigurationEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/project-configuration-editor/ProjectConfigurationEditor.tsx"],"names":[],"mappings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C,uBAAuB,IAEtB,iBAAiB,EAAE,iBAAiB,EACpC,WAAW,EAAE,uBAAuB,CAAC,iBAAiB,CAAC,EACvD,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,WAAW,CAAC,QAAQ,IAJzB,iBAAiB,CAAC,KAAK,CAK5B,CACH,CACF,IACG,CACP,EAEA,WAAW,CAAC,cAAc;4BACzB,WAAW,CAAC,uBAAuB,IAAI,CACrC,KAAC,0BAA0B,IACzB,WAAW,EAAE,WAAW,EACxB,IAAI,EAAE,WAAW,CAAC,cAAc,EAChC,IAAI,EAAE,WAAW,CAAC,uBAAuB,GACzC,CACH,IACC,IACF,GACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { type Mapping } from '@finos/legend-graph';
|
|
18
17
|
export declare const NewServiceModal: ((props: {
|
|
19
18
|
mapping: Mapping;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewServiceModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/service-editor/NewServiceModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"NewServiceModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/service-editor/NewServiceModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,OAAO,EACL,KAAK,OAAO,EAIb,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,eAAe;aAEf,OAAO;WACT,MAAM,IAAI;eACN,OAAO;oCAEH,MAAM,eACN,MAAM,KAChB,QAAQ,IAAI,CAAC;iBACL,OAAO;;;CA4EvB,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
export declare const ServiceEditor: (() => JSX.Element) & {
|
|
18
17
|
displayName: string;
|
|
19
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/service-editor/ServiceEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"ServiceEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/service-editor/ServiceEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkZH,eAAO,MAAM,aAAa;;CAoExB,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { ServicePureExecutionState, MultiServicePureExecutionState } from '../../../../stores/editor-state/element-editor-state/service/ServiceExecutionState.js';
|
|
18
17
|
export declare const ChangeExecutionModal: ((props: {
|
|
19
18
|
executionState: ServicePureExecutionState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceExecutionEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"ServiceExecutionEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/service-editor/ServiceExecutionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAKH,OAAO,EAGL,yBAAyB,EACzB,8BAA8B,EAC/B,MAAM,uFAAuF,CAAC;AA6S/F,eAAO,MAAM,oBAAoB,WACvB;IACN,cAAc,EAAE,yBAAyB,CAAC;IAC1C,UAAU,EAAE,OAAO,CAAC;CACrB;;CAmGF,CAAC;AA2GF,eAAO,MAAM,0BAA0B,WAC7B;IACN,cAAc,EAAE,8BAA8B,CAAC;IAC/C,UAAU,EAAE,OAAO,CAAC;CACrB;;CAwDF,CAAC;AAmRF,eAAO,MAAM,sBAAsB;;CAmBjC,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import type { ServicePureExecutionState } from '../../../../stores/editor-state/element-editor-state/service/ServiceExecutionState.js';
|
|
18
17
|
export declare const ServiceExecutionQueryEditor: ((props: {
|
|
19
18
|
executionState: ServicePureExecutionState;
|
package/lib/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceExecutionQueryEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"ServiceExecutionQueryEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAEV,yBAAyB,EAC1B,MAAM,uFAAuF,CAAC;AAyN/F,eAAO,MAAM,2BAA2B,WAC9B;IACN,cAAc,EAAE,yBAAyB,CAAC;IAC1C,UAAU,EAAE,OAAO,CAAC;CACrB;;CAgPF,CAAC"}
|
|
@@ -14,14 +14,16 @@ 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 {
|
|
17
|
+
import { useEffect, useMemo, useRef, useState } from 'react';
|
|
18
18
|
import { observer } from 'mobx-react-lite';
|
|
19
|
-
import { Dialog, BlankPanelContent, ArrowCircleDownIcon, clsx, CustomSelectorInput, PanelLoadingIndicator, PlayIcon, DropdownMenu, MenuContent, CaretDownIcon, MenuContentItem, PauseCircleIcon, } from '@finos/legend-art';
|
|
20
|
-
import { debounce } from '@finos/legend-shared';
|
|
19
|
+
import { Dialog, BlankPanelContent, ArrowCircleDownIcon, clsx, CustomSelectorInput, PanelLoadingIndicator, PlayIcon, DropdownMenu, MenuContent, CaretDownIcon, MenuContentItem, PauseCircleIcon, PencilIcon, } from '@finos/legend-art';
|
|
20
|
+
import { assertErrorThrown, debounce, hashObject } from '@finos/legend-shared';
|
|
21
21
|
import { flowResult } from 'mobx';
|
|
22
22
|
import { useEditorStore } from '../../EditorStoreProvider.js';
|
|
23
23
|
import { EDITOR_LANGUAGE, ExecutionPlanViewer, LambdaParameterValuesEditor, useApplicationStore, } from '@finos/legend-application';
|
|
24
24
|
import { StudioTextInputEditor } from '../../../shared/StudioTextInputEditor.js';
|
|
25
|
+
import { isStubbed_PackageableElement, isStubbed_RawLambda, KeyedExecutionParameter, } from '@finos/legend-graph';
|
|
26
|
+
import { ServiceQueryBuilderState, } from '@finos/legend-query-builder';
|
|
25
27
|
const ServiceExecutionResultViewer = observer((props) => {
|
|
26
28
|
const { executionState } = props;
|
|
27
29
|
// execution
|
|
@@ -82,13 +84,59 @@ const ServiceExecutionQueryImporter = observer((props) => {
|
|
|
82
84
|
});
|
|
83
85
|
export const ServiceExecutionQueryEditor = observer((props) => {
|
|
84
86
|
const { executionState, isReadOnly } = props;
|
|
85
|
-
const queryState = executionState.queryState;
|
|
86
|
-
const editorStore = useEditorStore();
|
|
87
87
|
const applicationStore = useApplicationStore();
|
|
88
|
-
const
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
const editorStore = useEditorStore();
|
|
89
|
+
const queryState = executionState.queryState;
|
|
90
|
+
// actions
|
|
91
|
+
const editWithQueryBuilder = applicationStore.guardUnhandledError(async () => {
|
|
92
|
+
const embeddedQueryBuilderState = editorStore.embeddedQueryBuilderState;
|
|
93
|
+
executionState.setOpeningQueryEditor(true);
|
|
94
|
+
const service = executionState.serviceEditorState.service;
|
|
95
|
+
const selectedExecutionState = executionState.selectedExecutionContextState;
|
|
96
|
+
if (selectedExecutionState) {
|
|
97
|
+
const mapping = selectedExecutionState.executionContext.mapping.value;
|
|
98
|
+
if (!isStubbed_PackageableElement(mapping)) {
|
|
99
|
+
await flowResult(embeddedQueryBuilderState.setEmbeddedQueryBuilderConfiguration({
|
|
100
|
+
setupQueryBuilderState: () => {
|
|
101
|
+
const queryBuilderState = new ServiceQueryBuilderState(embeddedQueryBuilderState.editorStore.applicationStore, embeddedQueryBuilderState.editorStore.graphManagerState, service, selectedExecutionState.executionContext instanceof
|
|
102
|
+
KeyedExecutionParameter
|
|
103
|
+
? selectedExecutionState.executionContext.key
|
|
104
|
+
: undefined);
|
|
105
|
+
queryBuilderState.initializeWithQuery(executionState.execution.func);
|
|
106
|
+
queryBuilderState.changeDetectionState.setQueryHashCode(hashObject(executionState.execution.func));
|
|
107
|
+
queryBuilderState.changeDetectionState.setIsEnabled(true);
|
|
108
|
+
return queryBuilderState;
|
|
109
|
+
},
|
|
110
|
+
actionConfigs: [
|
|
111
|
+
{
|
|
112
|
+
key: 'save-query-btn',
|
|
113
|
+
renderer: (queryBuilderState) => {
|
|
114
|
+
const save = applicationStore.guardUnhandledError(async () => {
|
|
115
|
+
try {
|
|
116
|
+
const rawLambda = queryBuilderState.buildQuery();
|
|
117
|
+
await flowResult(executionState.queryState.updateLamba(rawLambda));
|
|
118
|
+
applicationStore.notifySuccess(`Service query is updated`);
|
|
119
|
+
queryBuilderState.changeDetectionState.setQueryHashCode(hashObject(rawLambda));
|
|
120
|
+
embeddedQueryBuilderState.setEmbeddedQueryBuilderConfiguration(undefined);
|
|
121
|
+
}
|
|
122
|
+
catch (error) {
|
|
123
|
+
assertErrorThrown(error);
|
|
124
|
+
applicationStore.notifyError(`Can't save query: ${error.message}`);
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
return (_jsx("button", { className: "query-builder__dialog__header__custom-action", tabIndex: -1, disabled: isReadOnly, onClick: save, children: "Save Query" }));
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
disableCompile: isStubbed_RawLambda(executionState.queryState.query),
|
|
132
|
+
}));
|
|
133
|
+
executionState.setOpeningQueryEditor(false);
|
|
134
|
+
return;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
applicationStore.notifyWarning('Please specify a mapping and a runtime for the execution context to edit with query builder');
|
|
138
|
+
executionState.setOpeningQueryEditor(false);
|
|
139
|
+
});
|
|
92
140
|
const importQuery = () => {
|
|
93
141
|
queryState.setOpenQueryImporter(true);
|
|
94
142
|
};
|
|
@@ -103,7 +151,7 @@ export const ServiceExecutionQueryEditor = observer((props) => {
|
|
|
103
151
|
useEffect(() => {
|
|
104
152
|
flowResult(queryState.convertLambdaObjectToGrammarString(true)).catch(applicationStore.alertUnhandledError);
|
|
105
153
|
}, [applicationStore, queryState]);
|
|
106
|
-
return (_jsxs("div", { className: "panel service-execution-query-editor", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label service-editor__execution__label--query", children: "query" }) }), _jsxs("div", { className: "panel__header__actions", children: [
|
|
154
|
+
return (_jsxs("div", { className: "panel service-execution-query-editor", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label service-editor__execution__label--query", children: "query" }) }), _jsxs("div", { className: "panel__header__actions", children: [_jsx("button", { className: "panel__header__action", tabIndex: -1, onClick: editWithQueryBuilder, title: "Edit query...", children: _jsx(PencilIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: importQuery, disabled: isReadOnly, tabIndex: -1, title: "Import query", children: _jsx(ArrowCircleDownIcon, {}) }), executionState.isRunningQuery ? (_jsx("button", { className: "service-editor__execution__stop-btn", onClick: cancelQuery, tabIndex: -1, children: _jsxs("div", { className: "btn--dark btn--caution service-editor__execution__stop-btn__label", children: [_jsx(PauseCircleIcon, { className: "service-editor__execution__stop-btn__label__icon" }), _jsx("div", { className: "service-editor__execution__stop-btn__label__title", children: "Stop" })] }) })) : (_jsxs("button", { className: "service-editor__execution__execute-btn", onClick: runQuery, title: "Run Query", disabled: executionState.isRunningQuery, tabIndex: -1, children: [_jsxs("div", { className: "service-editor__execution__execute-btn__label", children: [_jsx(PlayIcon, { className: "service-editor__execution__execute-btn__label__icon" }), _jsx("div", { className: "service-editor__execution__execute-btn__label__title", children: "Run Query" })] }), _jsx(DropdownMenu, { className: "service-editor__execution__execute-btn__dropdown-btn", disabled: executionState.isGeneratingPlan, content: _jsxs(MenuContent, { children: [_jsx(MenuContentItem, { className: "service-editor__execution__execute-btn__option", onClick: generatePlan, children: "Generate Plan" }), _jsx(MenuContentItem, { className: "service-editor__execution__execute-btn__option", onClick: debugPlanGeneration, children: "Debug" })] }), menuProps: {
|
|
107
155
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
|
108
156
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
|
109
157
|
}, children: _jsx(CaretDownIcon, {}) })] }))] })] }), _jsxs("div", { className: "panel__content property-mapping-editor__entry__container", children: [_jsx(PanelLoadingIndicator, { isLoading: executionState.isOpeningQueryEditor ||
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceExecutionQueryEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/service-editor/ServiceExecutionQueryEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"ServiceExecutionQueryEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/service-editor/Service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BAAiB,IAAI,CAC/B,KAAC,6BAA6B,IAAC,UAAU,EAAE,UAAU,GAAI,CAC1D,EACA,cAAc,CAAC,cAAc,CAAC,0BAA0B;yBACtD,SAAS,IAAI,CACd,KAAC,2BAA2B,IAC1B,KAAK,EAAE,cAAc,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,EACzD,qBAAqB,EAAE,cAAc,CAAC,cAAc,GACpD,CACH,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
export declare const ServiceRegistrationEditor: (() => JSX.Element) & {
|
|
18
17
|
displayName: string;
|
|
19
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceRegistrationEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"ServiceRegistrationEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/service-editor/ServiceRegistrationEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmBH,eAAO,MAAM,yBAAyB;;CA+NpC,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import type { ConnectionTestDataState, ServiceTestDataState } from '../../../../../stores/editor-state/element-editor-state/service/testable/ServiceTestDataState.js';
|
|
18
17
|
export declare const ConnectionTestDataEditor: ((props: {
|
|
19
18
|
connectionTestDataState: ConnectionTestDataState;
|
package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceTestDataEditor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"ServiceTestDataEditor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/edit-panel/service-editor/testable/ServiceTestDataEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA0BH,OAAO,KAAK,EACV,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,kGAAkG,CAAC;AAa1G,eAAO,MAAM,wBAAwB,WAC3B;IAAE,uBAAuB,EAAE,uBAAuB,CAAA;CAAE;;CA6E7D,CAAC;AA+EF,eAAO,MAAM,sBAAsB,WACzB;IAAE,aAAa,EAAE,oBAAoB,CAAA;CAAE;;CA8KhD,CAAC;AAEF,eAAO,MAAM,qBAAqB,WACxB;IAAE,aAAa,EAAE,oBAAoB,CAAA;CAAE;;CAsEhD,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import type { ServiceTestableState, ServiceTestSuiteState } from '../../../../../stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js';
|
|
18
17
|
export declare const ServiceTestSuiteEditor: ((props: {
|
|
19
18
|
serviceTestSuiteState: ServiceTestSuiteState;
|
package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceTestableEditor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"ServiceTestableEditor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/edit-panel/service-editor/testable/ServiceTestableEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAoBH,OAAO,KAAK,EACV,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,kGAAkG,CAAC;AAE1G,eAAO,MAAM,sBAAsB,WACzB;IAAE,qBAAqB,EAAE,qBAAqB,CAAA;CAAE;;CAoBzD,CAAC;AAiCF,eAAO,MAAM,WAAW;SAEf,MAAM;gBACC,OAAO;oBACH,MAAM,KAAK,IAAI;eACpB,OAAO;gBACN,MAAM,IAAI;;;CAyCzB,CAAC;AAEF,eAAO,MAAM,qBAAqB,WACxB;IAAE,oBAAoB,EAAE,oBAAoB,CAAA;CAAE;;CAwFvD,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
2
1
|
import type { ServiceTestSuiteState } from '../../../../../stores/editor-state/element-editor-state/service/testable/ServiceTestableState.js';
|
|
3
2
|
import { type ServiceTestSetupState } from '../../../../../stores/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js';
|
|
4
3
|
export declare const NewParameterModal: ((props: {
|
package/lib/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServiceTestsEditor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ServiceTestsEditor.d.ts","sourceRoot":"","sources":["../../../../../../src/components/editor/edit-panel/service-editor/testable/ServiceTestsEditor.tsx"],"names":[],"mappings":"AA8CA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kGAAkG,CAAC;AAC9I,OAAO,EAEL,KAAK,qBAAqB,EAE3B,MAAM,oGAAoG,CAAC;AAoG5G,eAAO,MAAM,iBAAiB,WACpB;IAAE,UAAU,EAAE,qBAAqB,CAAC;IAAC,UAAU,EAAE,OAAO,CAAA;CAAE;;CA8CnE,CAAC;AAsbF,eAAO,MAAM,kBAAkB,WACrB;IAAE,UAAU,EAAE,qBAAqB,CAAA;CAAE;;CA+G9C,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { type TestAssertionEditorState } from '../../../../stores/editor-state/element-editor-state/testable/TestAssertionState.js';
|
|
18
17
|
export declare const TestAssertionEditor: ((props: {
|
|
19
18
|
testAssertionState: TestAssertionEditorState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TestAssertionEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/testable/TestAssertionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"TestAssertionEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/testable/TestAssertionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiBH,OAAO,EAOL,KAAK,wBAAwB,EAE9B,MAAM,qFAAqF,CAAC;AAmP7F,eAAO,MAAM,mBAAmB,WACtB;IAAE,kBAAkB,EAAE,wBAAwB,CAAA;CAAE;;CA6EzD,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { type Association } from '@finos/legend-graph';
|
|
18
17
|
export declare const AssociationEditor: ((props: {
|
|
19
18
|
association: Association;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssociationEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"AssociationEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/uml-editor/AssociationEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA4CH,OAAO,EACL,KAAK,WAAW,EAiBjB,MAAM,qBAAqB,CAAC;AAiP7B,eAAO,MAAM,iBAAiB,WACpB;IAAE,WAAW,EAAE,WAAW,CAAA;CAAE;;CAuQrC,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { ClassEditorState } from '../../../../stores/editor-state/element-editor-state/ClassEditorState.js';
|
|
18
17
|
import { Class } from '@finos/legend-graph';
|
|
19
18
|
export declare const ClassFormEditor: ((props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClassEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/uml-editor/ClassEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"ClassEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/uml-editor/ClassEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA6CH,OAAO,EAAE,gBAAgB,EAAE,MAAM,0EAA0E,CAAC;AAI5G,OAAO,EASL,KAAK,EAsBN,MAAM,qBAAqB,CAAC;AAo6C7B,eAAO,MAAM,eAAe,WAClB;IACN,MAAM,EAAE,KAAK,CAAC;IACd,WAAW,EAAE,gBAAgB,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;;CA0RF,CAAC;AAEF,eAAO,MAAM,WAAW,WAAoB;IAAE,MAAM,EAAE,KAAK,CAAA;CAAE;;CA6B3D,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2020-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 Class } from '@finos/legend-graph';
|
|
17
|
+
import type { EditorStore } from '../../../../stores/EditorStore.js';
|
|
18
|
+
export declare const queryClass: (_class: Class, editorStore: EditorStore) => Promise<void>;
|
|
19
|
+
//# sourceMappingURL=ClassQueryBuilder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClassQueryBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,KAAK,EAIX,MAAM,qBAAqB,CAAC;AAS7B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAiGrE,eAAO,MAAM,UAAU,WACb,KAAK,eACA,WAAW,KACvB,QAAQ,IAAI,CA4Bd,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright (c) 2020-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 { PackageableElementExplicitReference, PureSingleExecution, Service, } from '@finos/legend-graph';
|
|
18
|
+
import { ClassQueryBuilderState, } from '@finos/legend-query-builder';
|
|
19
|
+
import { assertErrorThrown, guaranteeNonNullable } from '@finos/legend-shared';
|
|
20
|
+
import { flowResult } from 'mobx';
|
|
21
|
+
import { observer } from 'mobx-react-lite';
|
|
22
|
+
import { useState } from 'react';
|
|
23
|
+
import { service_initNewService, service_setExecution, } from '../../../../stores/graphModifier/DSLService_GraphModifierHelper.js';
|
|
24
|
+
import { useEditorStore } from '../../EditorStoreProvider.js';
|
|
25
|
+
import { NewServiceModal } from '../service-editor/NewServiceModal.js';
|
|
26
|
+
const promoteQueryToService = async (packagePath, serviceName, embeddedQueryBuilderState, queryBuilderState) => {
|
|
27
|
+
const editorStore = embeddedQueryBuilderState.editorStore;
|
|
28
|
+
const applicationStore = editorStore.applicationStore;
|
|
29
|
+
try {
|
|
30
|
+
const mapping = guaranteeNonNullable(queryBuilderState.mapping, 'Mapping is required to create service execution');
|
|
31
|
+
const runtime = guaranteeNonNullable(queryBuilderState.runtimeValue, 'Runtime is required to create service execution');
|
|
32
|
+
const query = queryBuilderState.buildQuery();
|
|
33
|
+
const service = new Service(serviceName);
|
|
34
|
+
service_initNewService(service);
|
|
35
|
+
service_setExecution(service, new PureSingleExecution(query, service, PackageableElementExplicitReference.create(mapping), runtime), editorStore.changeDetectionState.observerContext);
|
|
36
|
+
await flowResult(editorStore.addElement(service, packagePath, true));
|
|
37
|
+
await flowResult(embeddedQueryBuilderState.setEmbeddedQueryBuilderConfiguration(undefined)).catch(applicationStore.alertUnhandledError);
|
|
38
|
+
applicationStore.notifySuccess(`Service '${service.name}' created`);
|
|
39
|
+
}
|
|
40
|
+
catch (error) {
|
|
41
|
+
assertErrorThrown(error);
|
|
42
|
+
applicationStore.notifyError(error);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
const PromoteToServiceQueryBuilderAction = observer((props) => {
|
|
46
|
+
const { queryBuilderState } = props;
|
|
47
|
+
const editorStore = useEditorStore();
|
|
48
|
+
const queryBuilderExtension = editorStore.embeddedQueryBuilderState;
|
|
49
|
+
const [openNewServiceModal, setOpenNewServiceModal] = useState(false);
|
|
50
|
+
const showNewServiceModal = () => setOpenNewServiceModal(true);
|
|
51
|
+
const closeNewServiceModal = () => setOpenNewServiceModal(false);
|
|
52
|
+
const allowPromoteToService = Boolean(queryBuilderState.mapping && queryBuilderState.runtimeValue);
|
|
53
|
+
const promoteToService = async (packagePath, serviceName) => {
|
|
54
|
+
if (allowPromoteToService) {
|
|
55
|
+
await promoteQueryToService(packagePath, serviceName, queryBuilderExtension, queryBuilderState);
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
return (_jsxs(_Fragment, { children: [_jsx("button", { className: "query-builder__dialog__header__custom-action", tabIndex: -1, onClick: showNewServiceModal, disabled: !allowPromoteToService, children: "Promote to Service" }), queryBuilderState.mapping && (_jsx(NewServiceModal, { mapping: queryBuilderState.mapping, close: closeNewServiceModal, showModal: openNewServiceModal, promoteToService: promoteToService }))] }));
|
|
59
|
+
});
|
|
60
|
+
export const queryClass = async (_class, editorStore) => {
|
|
61
|
+
const embeddedQueryBuilderState = editorStore.embeddedQueryBuilderState;
|
|
62
|
+
await flowResult(embeddedQueryBuilderState.setEmbeddedQueryBuilderConfiguration({
|
|
63
|
+
setupQueryBuilderState: () => {
|
|
64
|
+
const queryBuilderState = new ClassQueryBuilderState(embeddedQueryBuilderState.editorStore.applicationStore, embeddedQueryBuilderState.editorStore.graphManagerState);
|
|
65
|
+
queryBuilderState.changeClass(_class);
|
|
66
|
+
queryBuilderState.propagateClassChange(_class);
|
|
67
|
+
return queryBuilderState;
|
|
68
|
+
},
|
|
69
|
+
// TODO: when we modularize DSL service, we will create an extension
|
|
70
|
+
// mechanism for this action config
|
|
71
|
+
// See https://github.com/finos/legend-studio/issues/65
|
|
72
|
+
actionConfigs: [
|
|
73
|
+
{
|
|
74
|
+
key: 'promote-to-service-btn',
|
|
75
|
+
renderer: (queryBuilderState) => (_jsx(PromoteToServiceQueryBuilderAction, { queryBuilderState: queryBuilderState })),
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
}));
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=ClassQueryBuilder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ClassQueryBuilder.js","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/uml-editor/ClassQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,mCAAmC,EACnC,mBAAmB,EACnB,OAAO,GACR,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,sBAAsB,GACvB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,OAAO,EACL,sBAAsB,EACtB,oBAAoB,GACrB,MAAM,oEAAoE,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC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xE,MAAM,UAAU,CACd,yBAAyB,CAAC,oCAAoC,CAAC;QAC7D,sBAAsB,EAAE,GAAG,EAAE;YAC3B,MAAM,iBAAiB,GAAG,IAAI,sBAAsB,CAClD,yBAAyB,CAAC,WAAW,CAAC,gBAAgB,EACtD,yBAAyB,CAAC,WAAW,CAAC,iBAAiB,CACxD,CAAC;YACF,iBAAiB,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;YACtC,iBAAiB,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC;YAC/C,OAAO,iBAAiB,CAAC;QAC3B,CAAC;QACD,oEAAoE;QACpE,mCAAmC;QACnC,uDAAuD;QACvD,aAAa,EAAE;YACb;gBACE,GAAG,EAAE,wBAAwB;gBAC7B,QAAQ,EAAE,CAAC,iBAAoC,EAAmB,EAAE,CAAC,CACnE,KAAC,kCAAkC,IACjC,iBAAiB,EAAE,iBAAiB,GACpC,CACH;aACF;SACF;KACF,CAAC,CACH,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { type Enumeration } from '@finos/legend-graph';
|
|
18
17
|
export declare const EnumerationEditor: ((props: {
|
|
19
18
|
enumeration: Enumeration;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnumerationEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"EnumerationEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/uml-editor/EnumerationEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA8CH,OAAO,EACL,KAAK,WAAW,EAWjB,MAAM,qBAAqB,CAAC;AAiU7B,eAAO,MAAM,iBAAiB,WACpB;IAAE,WAAW,EAAE,WAAW,CAAA;CAAE;;CA6SrC,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { type Profile } from '@finos/legend-graph';
|
|
18
17
|
export declare const ProfileEditor: ((props: {
|
|
19
18
|
profile: Profile;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/uml-editor/ProfileEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"ProfileEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/uml-editor/ProfileEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAqBH,OAAO,EACL,KAAK,OAAO,EAKb,MAAM,qBAAqB,CAAC;AA8M7B,eAAO,MAAM,aAAa,WAAoB;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE;;CAsIhE,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import { type AbstractProperty } from '@finos/legend-graph';
|
|
18
17
|
export declare const PropertyEditor: ((props: {
|
|
19
18
|
property: AbstractProperty;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertyEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/uml-editor/PropertyEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"PropertyEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/uml-editor/PropertyEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA4BH,OAAO,EACL,KAAK,gBAAgB,EAStB,MAAM,qBAAqB,CAAC;AAQ7B,eAAO,MAAM,cAAc,WACjB;IACN,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,UAAU,EAAE,OAAO,CAAC;CACrB;;CAoMF,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
export declare const UMLEditor: (() => JSX.Element) & {
|
|
18
17
|
displayName: string;
|
|
19
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UMLEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/uml-editor/UMLEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"UMLEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/edit-panel/uml-editor/UMLEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,eAAO,MAAM,SAAS;;CAqBpB,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
import type { EditorStore } from '../../../stores/EditorStore.js';
|
|
18
17
|
export declare const getElementTypeLabel: (editorStore: EditorStore, type: string | undefined) => string | undefined;
|
|
19
18
|
export declare const CreateNewElementModal: (() => JSX.Element | null) & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateNewElementModal.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/CreateNewElementModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"CreateNewElementModal.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/CreateNewElementModal.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAgBH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAuBlE,eAAO,MAAM,mBAAmB,gBACjB,WAAW,QAClB,MAAM,GAAG,SAAS,KACvB,MAAM,GAAG,SA+CX,CAAC;AA2TF,eAAO,MAAM,qBAAqB;;CA2GhC,CAAC"}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
* See the License for the specific language governing permissions and
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
|
17
16
|
export declare const Explorer: (() => JSX.Element) & {
|
|
18
17
|
displayName: string;
|
|
19
18
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Explorer.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/Explorer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"Explorer.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/side-bar/Explorer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAivBH,eAAO,MAAM,QAAQ;;CAqJnB,CAAC"}
|