@finos/legend-application-studio 28.17.9 → 28.17.10
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/application/LegendStudio.js +3 -2
- package/lib/application/LegendStudio.js.map +1 -1
- package/lib/components/ElementIconUtils.js +24 -23
- package/lib/components/ElementIconUtils.js.map +1 -1
- package/lib/components/LegendStudioAppInfo.js +8 -7
- package/lib/components/LegendStudioAppInfo.js.map +1 -1
- package/lib/components/LegendStudioFrameworkProvider.js +4 -3
- package/lib/components/LegendStudioFrameworkProvider.js.map +1 -1
- package/lib/components/LegendStudioWebApplication.d.ts +2 -2
- package/lib/components/LegendStudioWebApplication.js +14 -13
- package/lib/components/LegendStudioWebApplication.js.map +1 -1
- package/lib/components/ShowcaseManager.d.ts +1 -1
- package/lib/components/ShowcaseManager.js +30 -29
- package/lib/components/ShowcaseManager.js.map +1 -1
- package/lib/components/editor/ActivityBar.d.ts +1 -1
- package/lib/components/editor/ActivityBar.js +28 -27
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/Editor.js +9 -8
- package/lib/components/editor/Editor.js.map +1 -1
- package/lib/components/editor/EditorStoreProvider.js +4 -3
- package/lib/components/editor/EditorStoreProvider.js.map +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.d.ts +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.js +6 -5
- package/lib/components/editor/EmbeddedQueryBuilder.js.map +1 -1
- package/lib/components/editor/QuickInput.d.ts +1 -1
- package/lib/components/editor/QuickInput.js +6 -5
- package/lib/components/editor/QuickInput.js.map +1 -1
- package/lib/components/editor/StatusBar.d.ts +1 -1
- package/lib/components/editor/StatusBar.js +12 -11
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js +3 -2
- package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js +5 -4
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.d.ts +1 -1
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.js +3 -2
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.js.map +1 -1
- package/lib/components/editor/editor-group/EditorGroup.d.ts +1 -1
- package/lib/components/editor/editor-group/EditorGroup.js +40 -39
- package/lib/components/editor/editor-group/EditorGroup.js.map +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js +12 -11
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.js +5 -4
- package/lib/components/editor/editor-group/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/editor-group/ModelImporter.d.ts +1 -1
- package/lib/components/editor/editor-group/ModelImporter.js +15 -14
- package/lib/components/editor/editor-group/ModelImporter.js.map +1 -1
- package/lib/components/editor/editor-group/ProtocolValueBuilder.d.ts +1 -1
- package/lib/components/editor/editor-group/ProtocolValueBuilder.js +15 -14
- package/lib/components/editor/editor-group/ProtocolValueBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/RuntimeEditor.d.ts +4 -4
- package/lib/components/editor/editor-group/RuntimeEditor.js +30 -29
- package/lib/components/editor/editor-group/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/editor-group/UnsupportedElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/UnsupportedElementEditor.js +4 -3
- package/lib/components/editor/editor-group/UnsupportedElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js +10 -9
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js +11 -10
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js +11 -10
- package/lib/components/editor/editor-group/connection-editor/DatabaseEditorHelper.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.d.ts +3 -3
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js +6 -5
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js +14 -13
- package/lib/components/editor/editor-group/connection-editor/DatabaseSchemaExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.js +3 -2
- package/lib/components/editor/editor-group/connection-editor/FlatDataConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +55 -54
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +8 -7
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js +7 -6
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.d.ts +5 -5
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js +18 -17
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js +10 -9
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js +6 -5
- package/lib/components/editor/editor-group/database/IsolatedQueryDatabase.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js +11 -10
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.d.ts +2 -2
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js +6 -5
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.d.ts +1 -1
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js +3 -2
- package/lib/components/editor/editor-group/diff-editor/ProjectConfigDiffView.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.js +6 -5
- package/lib/components/editor/editor-group/element-generation-editor/ElementGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.d.ts +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js +3 -2
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js +7 -6
- package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js +27 -26
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.d.ts +3 -3
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js +13 -12
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js.map +1 -1
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.d.ts +6 -6
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js +17 -16
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +11 -10
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js +3 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js +3 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_NewSchemaSetDriver.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +16 -15
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js +6 -5
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js +39 -38
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js +13 -12
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.js +4 -3
- package/lib/components/editor/editor-group/function-activator/INTERNAL__UnknownFunctionActivatorEdtior.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js +6 -5
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js +33 -32
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js +9 -8
- package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js +11 -10
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js +7 -6
- package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js +8 -7
- package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js +12 -11
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +6 -5
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js +20 -19
- package/lib/components/editor/editor-group/mapping-editor/MappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.d.ts +7 -7
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js +25 -24
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js +5 -4
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionQueryBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js +12 -11
- package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js +30 -29
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.d.ts +2 -2
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js +12 -11
- package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js +9 -8
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js +5 -4
- package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.js +15 -14
- package/lib/components/editor/editor-group/mapping-editor/PropertyMappingsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js +10 -9
- package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/TypeTree.js +9 -8
- package/lib/components/editor/editor-group/mapping-editor/TypeTree.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.d.ts +8 -8
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js +22 -21
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js +5 -4
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js +11 -10
- package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js +9 -8
- package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js +22 -21
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js +27 -26
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js +11 -10
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.js +6 -5
- package/lib/components/editor/editor-group/service-editor/NewServiceModal.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js +25 -24
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.d.ts +3 -3
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js +33 -32
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js +11 -10
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.js +13 -12
- package/lib/components/editor/editor-group/service-editor/ServicePostValidationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js +12 -11
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.d.ts +7 -7
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js +30 -29
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js +6 -5
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js +23 -22
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.d.ts +5 -5
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js +31 -30
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js +8 -7
- package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.d.ts +2 -2
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.js +31 -30
- package/lib/components/editor/editor-group/uml-editor/ClassEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js +11 -10
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js +8 -7
- package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js +8 -7
- package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js +7 -6
- package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.js +7 -6
- package/lib/components/editor/editor-group/uml-editor/StereotypeSelector.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.js +10 -9
- package/lib/components/editor/editor-group/uml-editor/TaggedValueEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.js +3 -2
- package/lib/components/editor/editor-group/uml-editor/UMLEditor.js.map +1 -1
- package/lib/components/editor/panel-group/ConsolePanel.d.ts +1 -1
- package/lib/components/editor/panel-group/ConsolePanel.js +3 -2
- package/lib/components/editor/panel-group/ConsolePanel.js.map +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.js +7 -6
- package/lib/components/editor/panel-group/DevToolPanel.js.map +1 -1
- package/lib/components/editor/panel-group/PanelGroup.d.ts +1 -1
- package/lib/components/editor/panel-group/PanelGroup.js +6 -5
- package/lib/components/editor/panel-group/PanelGroup.js.map +1 -1
- package/lib/components/editor/panel-group/ProblemsPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/ProblemsPanel.js +6 -5
- package/lib/components/editor/panel-group/ProblemsPanel.js.map +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.d.ts +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js +19 -18
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts +2 -2
- package/lib/components/editor/side-bar/CreateNewElementModal.js +27 -26
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts +1 -1
- package/lib/components/editor/side-bar/Explorer.js +37 -36
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js +13 -12
- package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.d.ts +2 -2
- package/lib/components/editor/side-bar/ProjectOverview.js +29 -28
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.d.ts +1 -1
- package/lib/components/editor/side-bar/RegisterService.js +18 -17
- package/lib/components/editor/side-bar/RegisterService.js.map +1 -1
- package/lib/components/editor/side-bar/SideBar.d.ts +1 -1
- package/lib/components/editor/side-bar/SideBar.js +13 -12
- package/lib/components/editor/side-bar/SideBar.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +28 -27
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceReview.d.ts +2 -2
- package/lib/components/editor/side-bar/WorkspaceReview.js +9 -8
- package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +10 -9
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +7 -6
- package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts +1 -1
- package/lib/components/editor/side-bar/WorkspaceUpdater.js +7 -6
- package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.d.ts +1 -1
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js +7 -6
- package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts +2 -2
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +33 -32
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js +4 -3
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +8 -7
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/lazy-text-editor/LazyTextEditor.js +11 -10
- package/lib/components/lazy-text-editor/LazyTextEditor.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewSideBar.d.ts +1 -1
- package/lib/components/project-reviewer/ProjectReviewSideBar.js +8 -7
- package/lib/components/project-reviewer/ProjectReviewSideBar.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewStoreProvider.js +4 -3
- package/lib/components/project-reviewer/ProjectReviewStoreProvider.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewer.js +6 -5
- package/lib/components/project-reviewer/ProjectReviewer.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewerPanel.d.ts +1 -1
- package/lib/components/project-reviewer/ProjectReviewerPanel.js +10 -9
- package/lib/components/project-reviewer/ProjectReviewerPanel.js.map +1 -1
- package/lib/components/project-view/ProjectViewer.js +24 -23
- package/lib/components/project-view/ProjectViewer.js.map +1 -1
- package/lib/components/project-view/ProjectViewerStoreProvider.js +4 -3
- package/lib/components/project-view/ProjectViewerStoreProvider.js.map +1 -1
- package/lib/components/showcase/ShowcaseViewer.js +20 -19
- package/lib/components/showcase/ShowcaseViewer.js.map +1 -1
- package/lib/components/showcase/ShowcaseViewerStoreProvider.js +4 -3
- package/lib/components/showcase/ShowcaseViewerStoreProvider.js.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.d.ts +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js +16 -15
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.js +8 -7
- package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -1
- package/lib/components/workspace-setup/ProjectSelectorUtils.js +7 -6
- package/lib/components/workspace-setup/ProjectSelectorUtils.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js +3 -2
- package/lib/components/workspace-setup/WorkspaceSelectorUtils.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.js +28 -27
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/package.json +5 -5
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/Editor.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -55,7 +56,7 @@ export const Editor = withEditorStore(observer(() => {
|
|
55
56
|
.flatMap((plugin) => plugin.getExtraEditorExtensionComponentRendererConfigurations?.() ??
|
56
57
|
[])
|
57
58
|
.filter(isNonNullable)
|
58
|
-
.map((config) => (
|
59
|
+
.map((config) => (_jsxDEV(Fragment, { children: config.renderer(editorStore) }, config.key, false, { fileName: _jsxFileName, lineNumber: 87, columnNumber: 25 }, this)));
|
59
60
|
// layout
|
60
61
|
const { ref, width, height } = useResizeDetector();
|
61
62
|
// These create snapping effect on panel resizing
|
@@ -124,17 +125,17 @@ export const Editor = withEditorStore(observer(() => {
|
|
124
125
|
useCommands(editorStore);
|
125
126
|
// Cleanup the editor
|
126
127
|
useEffect(() => () => editorStore.cleanUp(), [editorStore]);
|
127
|
-
return (
|
128
|
+
return (_jsxDEV("div", { className: "app__page", children: _jsxDEV("div", { className: "editor", children: [_jsxDEV("div", { className: "editor__body", children: [_jsxDEV(ActivityBar, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 201, columnNumber: 13 }, this), _jsxDEV("div", { ref: ref, className: "editor__content-container", children: _jsxDEV("div", { className: "editor__content", children: _jsxDEV(ResizablePanelGroup, { orientation: "vertical", children: [_jsxDEV(ResizablePanel, { ...collapsibleSideBarGroupProps.collapsiblePanel, direction: 1, children: _jsxDEV(SideBar, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 209, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 205, columnNumber: 19 }, this), _jsxDEV(ResizablePanelSplitter, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 211, columnNumber: 19 }, this), _jsxDEV(ResizablePanel, { ...collapsibleSideBarGroupProps.remainingPanel, minSize: 300, children: _jsxDEV(ResizablePanelGroup, { orientation: "horizontal", children: [_jsxDEV(ResizablePanel, { ...maximizedCollapsiblePanelGroupProps.collapsiblePanel, ...(editorStore.panelGroupDisplayState.size === 0
|
128
129
|
? collapsiblePanelGroupProps.remainingPanel
|
129
130
|
: {}), children: [(isResolvingConflicts || editable) &&
|
130
131
|
editorStore.graphEditorMode.mode ===
|
131
|
-
GRAPH_EDITOR_MODE.FORM &&
|
132
|
+
GRAPH_EDITOR_MODE.FORM && _jsxDEV(EditorGroup, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 225, columnNumber: 54 }, this), editable &&
|
132
133
|
editorStore.graphEditorMode.mode ===
|
133
|
-
GRAPH_EDITOR_MODE.GRAMMAR_TEXT && (
|
134
|
+
GRAPH_EDITOR_MODE.GRAMMAR_TEXT && (_jsxDEV(GrammarTextEditor, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 228, columnNumber: 64 }, this)), !editable && _jsxDEV(EditorGroupSplashScreen, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 231, columnNumber: 38 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 217, columnNumber: 23 }, this), _jsxDEV(ResizablePanelSplitter, { children: _jsxDEV(ResizablePanelSplitterLine, { color: editorStore.panelGroupDisplayState.isMaximized
|
134
135
|
? 'transparent'
|
135
|
-
: 'var(--color-dark-grey-250)' }) }),
|
136
|
+
: 'var(--color-dark-grey-250)' }, void 0, false, { fileName: _jsxFileName, lineNumber: 234, columnNumber: 25 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 233, columnNumber: 23 }, this), _jsxDEV(ResizablePanel, { ...collapsiblePanelGroupProps.collapsiblePanel, ...(editorStore.panelGroupDisplayState.isMaximized
|
136
137
|
? maximizedCollapsiblePanelGroupProps.remainingPanel
|
137
|
-
: {}), direction: -1, children:
|
138
|
-
.workspaceSyncConflictResolutionState.showModal && (
|
138
|
+
: {}), direction: -1, children: _jsxDEV(PanelGroup, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 249, columnNumber: 25 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 242, columnNumber: 23 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 216, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 212, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 204, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 203, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 202, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 200, columnNumber: 11 }, this), _jsxDEV(QuickInput, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 257, columnNumber: 11 }, this), _jsxDEV(StatusBar, { actionsDisabled: !editable }, void 0, false, { fileName: _jsxFileName, lineNumber: 258, columnNumber: 11 }, this), editable && _jsxDEV(ProjectSearchCommand, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 259, columnNumber: 23 }, this), editorStore.localChangesState.workspaceSyncState
|
139
|
+
.workspaceSyncConflictResolutionState.showModal && (_jsxDEV(WorkspaceSyncConflictResolver, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 261, columnNumber: 65 }, this)), _jsxDEV(EmbeddedQueryBuilder, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 264, columnNumber: 11 }, this), extraEditorExtensionComponents] }, void 0, true, { fileName: _jsxFileName, lineNumber: 199, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 197, columnNumber: 13 }, this));
|
139
140
|
}));
|
140
141
|
//# sourceMappingURL=Editor.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Editor.js","sourceRoot":"","sources":["../../../src/components/editor/Editor.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"Editor.js","sourceRoot":"","sources":["../../../src/components/editor/Editor.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,6BAA6B,EAC7B,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACL,WAAW,EACX,uBAAuB,GACxB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,kDAAkD,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC3E,OAAO,EACL,mBAAmB,EACnB,+BAA+B,EAC/B,eA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A0B,CAAC,cAAc;4DAC3C,CAAC,CAAC,EAAE,CAAC,aAEN,CAAC,oBAAoB,IAAI,QAAQ,CAAC;gEACjC,WAAW,CAAC,eAAe,CAAC,IAAI;oEAC9B,iBAAiB,CAAC,IAAI,IAAI,QAAC,WAAW,yFAAG,EAC5C,QAAQ;gEACP,WAAW,CAAC,eAAe,CAAC,IAAI;oEAC9B,iBAAiB,CAAC,YAAY,IAAI,CAClC,QAAC,iBAAiB,yFAAG,CACtB,EACF,CAAC,QAAQ,IAAI,QAAC,uBAAuB,yFAAG,uFAC1B,EACjB,QAAC,sBAAsB,cACrB,QAAC,0BAA0B,IACzB,KAAK,EACH,WAAW,CAAC,sBAAsB,CAAC,WAAW;gEAC5C,CAAC,CAAC,aAAa;gEACf,CAAC,CAAC,4BAA4B,uFAElC,uFACqB,EACzB,QAAC,cAAc,OACT,0BAA0B,CAAC,gBAAgB,KAC3C,CAAC,WAAW,CAAC,sBAAsB,CAAC,WAAW;4DACjD,CAAC,CAAC,mCAAmC,CAAC,cAAc;4DACpD,CAAC,CAAC,EAAE,CAAC,EACP,SAAS,EAAE,CAAC,CAAC,YAEb,QAAC,UAAU,yFAAG,uFACC,uFACG,uFACP,uFACG,uFAClB,uFACF,uFACF,EACN,QAAC,UAAU,yFAAG,EACd,QAAC,SAAS,IAAC,eAAe,EAAE,CAAC,QAAQ,uFAAI,EACxC,QAAQ,IAAI,QAAC,oBAAoB,yFAAG,EACpC,WAAW,CAAC,iBAAiB,CAAC,kBAAkB;qBAC9C,oCAAoC,CAAC,SAAS,IAAI,CACnD,QAAC,6BAA6B,yFAAG,CAClC,EACD,QAAC,oBAAoB,yFAAG,EACvB,8BAA8B,sFAC3B,uFACF,CACP,CAAC;AACJ,CAAC,CAAC,CACH,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/EditorStoreProvider.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -24,10 +25,10 @@ export const EditorStoreProvider = ({ children }) => {
|
|
24
25
|
const applicationStore = useLegendStudioApplicationStore();
|
25
26
|
const baseStore = useLegendStudioBaseStore();
|
26
27
|
const store = useLocalObservable(() => new EditorStore(applicationStore, baseStore.sdlcServerClient, baseStore.depotServerClient));
|
27
|
-
return (
|
28
|
+
return (_jsxDEV(EditorStoreContext.Provider, { value: store, children: children }, void 0, false, { fileName: _jsxFileName, lineNumber: 41, columnNumber: 11 }, this));
|
28
29
|
};
|
29
30
|
export const useEditorStore = () => guaranteeNonNullable(useContext(EditorStoreContext), `Can't find editor store in context`);
|
30
31
|
export const withEditorStore = (WrappedComponent) => function WithEditorStore() {
|
31
|
-
return (
|
32
|
+
return (_jsxDEV(EditorStoreProvider, { children: _jsxDEV(WrappedComponent, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 58, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 56, columnNumber: 13 }, this));
|
32
33
|
};
|
33
34
|
//# sourceMappingURL=EditorStoreProvider.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EditorStoreProvider.js","sourceRoot":"","sources":["../../../src/components/editor/EditorStoreProvider.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"EditorStoreProvider.js","sourceRoot":"","sources":["../../../src/components/editor/EditorStoreProvider.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EACL,+BAA+B,EAC/B,wBAAwB,GACzB,MAAM,qCAAqC,CAAC;AAE7C,MAAM,kBAAkB,GAAG,aAAa,CAA0B,SAAS,CAAC,CAAC;AAE7E,MAAM,CAAC,MAAM,mBAAmB,GAE3B,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE;IACpB,MAAM,gBAAgB,GAAG,+BAA+B,EAAE,CAAC;IAC3D,MAAM,SAAS,GAAG,wBAAwB,EAAE,CAAC;IAC7C,MAAM,KAAK,GAAG,kBAAkB,CAC9B,GAAG,EAAE,CACH,IAAI,WAAW,CACb,gBAAgB,EAChB,SAAS,CAAC,gBAAgB,EAC1B,SAAS,CAAC,iBAAiB,CAC5B,CACJ,CAAC;IACF,OAAO,CACL,QAAC,kBAAkB,CAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,YACtC,QAAQ,sFACmB,CAC/B,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,GAAgB,EAAE,CAC9C,oBAAoB,CAClB,UAAU,CAAC,kBAAkB,CAAC,EAC9B,oCAAoC,CACrC,CAAC;AAEJ,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,gBAA0B,EAAY,EAAE,CACtE,SAAS,eAAe;IACtB,OAAO,CACL,QAAC,mBAAmB,cAClB,QAAC,gBAAgB,uFAAG,sFACA,CACvB,CAAC;AACJ,CAAC,CAAC"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
export declare const EmbeddedQueryBuilder: (() => import("react/jsx-runtime").JSX.Element | null) & {
|
16
|
+
export declare const EmbeddedQueryBuilder: (() => import("react/jsx-dev-runtime").JSX.Element | null) & {
|
17
17
|
displayName: string;
|
18
18
|
};
|
19
19
|
//# sourceMappingURL=EmbeddedQueryBuilder.d.ts.map
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/EmbeddedQueryBuilder.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -38,13 +39,13 @@ const QueryBuilderDialog = observer((props) => {
|
|
38
39
|
});
|
39
40
|
};
|
40
41
|
useApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.EMBEDDED_QUERY_BUILDER);
|
41
|
-
return (
|
42
|
+
return (_jsxDEV(Dialog, { open: Boolean(embeddedQueryBuilderState.queryBuilderState), onClose: noop, classes: {
|
42
43
|
root: 'editor-modal__root-container',
|
43
44
|
container: 'editor-modal__container',
|
44
45
|
paper: 'editor-modal__content query-builder__dialog__container__content',
|
45
|
-
}, children:
|
46
|
+
}, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: clsx('editor-modal query-builder__dialog', {
|
46
47
|
'query-builder__dialog--expanded': isMaximized,
|
47
|
-
}), children: [
|
48
|
+
}), children: [_jsxDEV("div", { className: "query-builder__dialog__header", children: _jsxDEV("div", { className: "query-builder__dialog__header__actions", children: [embeddedQueryBuilderState.actionConfigs.map((config) => (_jsxDEV(Fragment, { children: config.renderer(queryBuilderState) }, config.key, false, { fileName: _jsxFileName, lineNumber: 90, columnNumber: 73 }, this))), _jsxDEV("button", { className: "query-builder__dialog__header__action", tabIndex: -1, onClick: toggleMaximize, title: isMaximized ? 'Minimize' : 'Maximize', children: isMaximized ? (_jsxDEV(EmptyWindowRestoreIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 101, columnNumber: 33 }, this)) : (_jsxDEV(WindowMaximizeIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 103, columnNumber: 22 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 95, columnNumber: 15 }, this), _jsxDEV("button", { className: "query-builder__dialog__header__action", tabIndex: -1, onClick: confirmCloseQueryBuilder, title: "Close", children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 113, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 107, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 89, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 88, columnNumber: 11 }, this), _jsxDEV("div", { className: "query-builder__dialog__content", children: _jsxDEV(QueryBuilder, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 118, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 117, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 80, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 69, columnNumber: 13 }, this));
|
48
49
|
});
|
49
50
|
export const EmbeddedQueryBuilder = observer(() => {
|
50
51
|
const editorStore = useEditorStore();
|
@@ -52,6 +53,6 @@ export const EmbeddedQueryBuilder = observer(() => {
|
|
52
53
|
if (!queryBuilderExtensionState.queryBuilderState) {
|
53
54
|
return null;
|
54
55
|
}
|
55
|
-
return (
|
56
|
+
return (_jsxDEV(QueryBuilderDialog, { embeddedQueryBuilderState: queryBuilderExtensionState, queryBuilderState: queryBuilderExtensionState.queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 133, columnNumber: 11 }, this));
|
56
57
|
});
|
57
58
|
//# sourceMappingURL=EmbeddedQueryBuilder.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EmbeddedQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/editor/EmbeddedQueryBuilder.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"EmbeddedQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/editor/EmbeddedQueryBuilder.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH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AG,EAAE;IAChD,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,0BAA0B,GAAG,WAAW,CAAC,yBAAyB,CAAC;IAEzE,IAAI,CAAC,0BAA0B,CAAC,iBAAiB,EAAE,CAAC;QAClD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,CACL,QAAC,kBAAkB,IACjB,yBAAyB,EAAE,0BAA0B,EACrD,iBAAiB,EAAE,0BAA0B,CAAC,iBAAiB,uFAC/D,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
export declare const QuickInput: (() => import("react/jsx-runtime").JSX.Element | null) & {
|
16
|
+
export declare const QuickInput: (() => import("react/jsx-dev-runtime").JSX.Element | null) & {
|
17
17
|
displayName: string;
|
18
18
|
};
|
19
19
|
//# sourceMappingURL=QuickInput.d.ts.map
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/QuickInput.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -38,18 +39,18 @@ function QuickInputDialog(props) {
|
|
38
39
|
inputRef.current?.focus();
|
39
40
|
};
|
40
41
|
// TODO: include title and properly style it like vscode quick input
|
41
|
-
return (
|
42
|
+
return (_jsxDEV(NonBlockingDialog, { open: true, onClose: close, TransitionProps: {
|
42
43
|
onEnter: handleEnter,
|
43
|
-
}, onClickAway: close, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children:
|
44
|
+
}, onClickAway: close, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "search-modal", children: _jsxDEV("div", { className: "quick-input", children: _jsxDEV(CustomSelectorInput, { ref: inputRef, className: "quick-input__input", options: options, onChange: onChange, filterOption: filterOption, placeholder: placeholder, escapeClearsValue: true, darkMode: !applicationStore.layoutService
|
44
45
|
.TEMPORARY__isLightColorThemeEnabled, menuIsOpen: true, optionCustomization: {
|
45
46
|
rowHeight: customization?.rowHeight,
|
46
|
-
} }) }) }) }));
|
47
|
+
} }, void 0, false, { fileName: _jsxFileName, lineNumber: 75, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 74, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 68, columnNumber: 7 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 57, columnNumber: 11 }, this));
|
47
48
|
}
|
48
49
|
export const QuickInput = observer(() => {
|
49
50
|
const editorStore = useEditorStore();
|
50
51
|
if (!editorStore.quickInputState) {
|
51
52
|
return null;
|
52
53
|
}
|
53
|
-
return
|
54
|
+
return _jsxDEV(QuickInputDialog, { quickInputState: editorStore.quickInputState }, void 0, false, { fileName: _jsxFileName, lineNumber: 103, columnNumber: 9 }, this);
|
54
55
|
});
|
55
56
|
//# sourceMappingURL=QuickInput.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QuickInput.js","sourceRoot":"","sources":["../../../src/components/editor/QuickInput.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"QuickInput.js","sourceRoot":"","sources":["../../../src/components/editor/QuickInput.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,KAAK,GACN,MAAM,mBAAmB,CAAC;AAK3B,O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mC,EAErE,SAAS,EAAC,cAAc,YAExB,iBAAK,SAAS,EAAC,aAAa,YAC1B,QAAC,mBAAmB,IAClB,GAAG,EAAE,QAAQ,EACb,SAAS,EAAC,oBAAoB,EAC9B,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,WAAW,EACxB,iBAAiB,EAAE,IAAI,EACvB,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;yBAC5B,mCAAmC,EAExC,UAAU,EAAE,IAAI,EAChB,mBAAmB,EAAE;wBACnB,SAAS,EAAE,aAAa,EAAE,SAAS;qBACpC,sFACD,qFACE,qFACA,sFACU,CACrB,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC,GAAG,EAAE;IACtC,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,IAAI,CAAC,WAAW,CAAC,eAAe,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,QAAC,gBAAgB,IAAC,eAAe,EAAE,WAAW,CAAC,eAAe,sFAAI,CAAC;AAC5E,CAAC,CAAC,CAAC"}
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
export declare const StatusBar: ((props: {
|
17
17
|
actionsDisabled: boolean;
|
18
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
18
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
19
19
|
displayName: string;
|
20
20
|
};
|
21
21
|
//# sourceMappingURL=StatusBar.d.ts.map
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/StatusBar.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -102,9 +103,9 @@ export const StatusBar = observer((props) => {
|
|
102
103
|
const generate = applicationStore.guardUnhandledError(() => flowResult(editorStore.graphState.graphGenerationState.globalGenerate()));
|
103
104
|
const emptyGenerationEntities = applicationStore.guardUnhandledError(() => flowResult(editorStore.graphState.graphGenerationState.clearGenerations()));
|
104
105
|
const toggleAssistant = () => applicationStore.assistantService.toggleAssistant();
|
105
|
-
return (
|
106
|
+
return (_jsxDEV("div", { "data-testid": LEGEND_STUDIO_TEST_ID.STATUS_BAR, className: clsx('editor__status-bar', {
|
106
107
|
'editor__status-bar--conflict-resolution': isInConflictResolutionMode,
|
107
|
-
}), children: [
|
108
|
+
}), children: [_jsxDEV("div", { className: "editor__status-bar__left", children: _jsxDEV("div", { className: "editor__status-bar__workspace", children: [_jsxDEV("div", { className: "editor__status-bar__workspace__icon", children: _jsxDEV(CodeBranchIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 168, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 167, columnNumber: 11 }, this), _jsxDEV("button", { className: "editor__status-bar__workspace__project", title: "Go back to workspace setup using the specified project", tabIndex: -1, onClick: () => applicationStore.navigationService.navigator.visitAddress(applicationStore.navigationService.navigator.generateAddress(generateSetupRoute(projectId, undefined))), children: currentProject?.name ?? 'unknown' }, void 0, false, { fileName: _jsxFileName, lineNumber: 170, columnNumber: 11 }, this), "/", _jsxDEV("button", { className: "editor__status-bar__workspace__workspace", title: "Go back to workspace setup using the specified workspace", tabIndex: -1, onClick: () => applicationStore.navigationService.navigator.visitAddress(applicationStore.navigationService.navigator.generateAddress(generateSetupRoute(projectId, workspaceId, workspaceType))), children: [patchReleaseVersionId, workspaceId, editorStore.localChangesState.hasUnpushedChanges ? '*' : ''] }, void 0, true, { fileName: _jsxFileName, lineNumber: 185, columnNumber: 11 }, this), workspaceOutOfSync && (_jsxDEV("button", { className: "editor__status-bar__workspace__status__btn", tabIndex: -1, onClick: goToLocalChanges, title: 'Local workspace is out-of-sync. Click to see incoming changes to your workspace.', children: "OUT-OF-SYNC" }, void 0, false, { fileName: _jsxFileName, lineNumber: 201, columnNumber: 35 }, this)), editorStore.sdlcState.isWorkspaceOutdated && !workspaceOutOfSync && (_jsxDEV("button", { className: "editor__status-bar__workspace__status__btn", tabIndex: -1, onClick: goToWorkspaceUpdater, title: 'Workspace is outdated. Click to see latest changes of the project', children: "OUTDATED" }, void 0, false, { fileName: _jsxFileName, lineNumber: 213, columnNumber: 81 }, this)), _jsxDEV("button", { className: "editor__status-bar__problems", tabIndex: -1, onClick: showCompilationWarnings, title: `${error ? 'Error: 1, ' : ''}Warnings: ${warnings.length}`, children: [_jsxDEV("div", { className: "editor__status-bar__problems__icon", children: _jsxDEV(ErrorIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 232, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 231, columnNumber: 13 }, this), _jsxDEV("div", { className: "editor__status-bar__problems__counter", children: error ? 1 : 0 }, void 0, false, { fileName: _jsxFileName, lineNumber: 234, columnNumber: 13 }, this), _jsxDEV("div", { className: "editor__status-bar__problems__icon", children: _jsxDEV(WarningIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 238, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 237, columnNumber: 13 }, this), _jsxDEV("div", { className: "editor__status-bar__problems__counter", children: warnings.length }, void 0, false, { fileName: _jsxFileName, lineNumber: 240, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 225, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 166, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 165, columnNumber: 7 }, this), _jsxDEV("div", { "data-testid": LEGEND_STUDIO_TEST_ID.EDITOR__STATUS_BAR__RIGHT, className: "editor__status-bar__right", children: [isInConflictResolutionMode && (_jsxDEV("div", { className: "editor__status-bar__workspace-sync", children: [_jsxDEV("div", { className: "editor__status-bar__workspace-sync__status", children: conflictResolutionStatusText }, void 0, false, { fileName: _jsxFileName, lineNumber: 252, columnNumber: 13 }, this), _jsxDEV("button", { className: clsx('editor__status-bar__push-changes__btn', {
|
108
109
|
'editor__status-bar__push-changes__btn--loading': editorStore.conflictResolutionState
|
109
110
|
.isAcceptingConflictResolution,
|
110
111
|
}), onClick: acceptConflictResolution, disabled: Boolean(conflicts) ||
|
@@ -117,7 +118,7 @@ export const StatusBar = observer((props) => {
|
|
117
118
|
.isAcceptingConflictResolution ||
|
118
119
|
editorStore.conflictResolutionState
|
119
120
|
.isDiscardingConflictResolutionChanges ||
|
120
|
-
editorStore.conflictResolutionState.isAbortingConflictResolution, tabIndex: -1, title: "Accept conflict resolution", children:
|
121
|
+
editorStore.conflictResolutionState.isAbortingConflictResolution, tabIndex: -1, title: "Accept conflict resolution", children: _jsxDEV(SyncIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 278, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 255, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 250, columnNumber: 41 }, this)), !isInConflictResolutionMode && (_jsxDEV("div", { className: "editor__status-bar__workspace-sync", children: [_jsxDEV("div", { className: "editor__status-bar__workspace-sync__status", children: pushStatusText }, void 0, false, { fileName: _jsxFileName, lineNumber: 284, columnNumber: 13 }, this), _jsxDEV("button", { className: clsx('editor__status-bar__push-changes__btn', {
|
121
122
|
'editor__status-bar__push-changes__btn--loading': editorStore.localChangesState.pushChangesState.isInProgress ||
|
122
123
|
configurationState.updatingConfigurationState.isInProgress,
|
123
124
|
}), onClick: pushLocalChanges, disabled: !changes ||
|
@@ -126,23 +127,23 @@ export const StatusBar = observer((props) => {
|
|
126
127
|
editorStore.changeDetectionState
|
127
128
|
.workspaceLocalLatestRevisionState
|
128
129
|
.isBuildingEntityHashesIndex ||
|
129
|
-
actionsDisabled, tabIndex: -1, title: "Push local changes (Ctrl + S)", children:
|
130
|
+
actionsDisabled, tabIndex: -1, title: "Push local changes (Ctrl + S)", children: _jsxDEV(CloudUploadIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 306, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 287, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 282, columnNumber: 42 }, this)), _jsxDEV("button", { className: clsx('editor__status-bar__action editor__status-bar__generate-btn', {
|
130
131
|
'editor__status-bar__generate-btn--wiggling': editorStore.graphState.graphGenerationState
|
131
132
|
.isRunningGlobalGenerate,
|
132
|
-
}), disabled: editorStore.graphState.isApplicationUpdateOperationIsRunning, onClick: generate, tabIndex: -1, title: "Generate (F10)", children:
|
133
|
+
}), disabled: editorStore.graphState.isApplicationUpdateOperationIsRunning, onClick: generate, tabIndex: -1, title: "Generate (F10)", children: _jsxDEV(FireIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 326, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 310, columnNumber: 9 }, this), _jsxDEV("button", { className: clsx('editor__status-bar__action editor__status-bar__clear__generation-btn ', {
|
133
134
|
'editor__status-bar__action editor__status-bar__clear__generation-btn--wiggling': editorStore.graphState.graphGenerationState
|
134
135
|
.clearingGenerationEntitiesState.isInProgress,
|
135
136
|
}), disabled: editorStore.graphState.isApplicationUpdateOperationIsRunning ||
|
136
|
-
actionsDisabled, onClick: emptyGenerationEntities, tabIndex: -1, title: "Clear generation entities", children:
|
137
|
+
actionsDisabled, onClick: emptyGenerationEntities, tabIndex: -1, title: "Clear generation entities", children: _jsxDEV(TrashIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 345, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 328, columnNumber: 9 }, this), _jsxDEV("button", { className: clsx('editor__status-bar__action editor__status-bar__compile-btn', {
|
137
138
|
'editor__status-bar__compile-btn--wiggling': editorStore.graphState.isRunningGlobalCompile,
|
138
139
|
}), disabled: editorStore.graphState.isApplicationUpdateOperationIsRunning ||
|
139
|
-
actionsDisabled, onClick: compile, tabIndex: -1, title: "Compile (F9)", children:
|
140
|
+
actionsDisabled, onClick: compile, tabIndex: -1, title: "Compile (F9)", children: _jsxDEV(HammerIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 363, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 347, columnNumber: 9 }, this), _jsxDEV("button", { className: clsx('editor__status-bar__action editor__status-bar__action__toggler', {
|
140
141
|
'editor__status-bar__action__toggler--active': editorStore.panelGroupDisplayState.isOpen,
|
141
|
-
}), onClick: togglePanel, tabIndex: -1, title: "Toggle panel (Ctrl + `)", children:
|
142
|
+
}), onClick: togglePanel, tabIndex: -1, title: "Toggle panel (Ctrl + `)", children: _jsxDEV(TerminalIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 377, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 365, columnNumber: 9 }, this), _jsxDEV("button", { className: clsx('editor__status-bar__action editor__status-bar__action__toggler', {
|
142
143
|
'editor__status-bar__action editor__status-bar__action__toggler--active': editorStore.graphEditorMode.mode ===
|
143
144
|
GRAPH_EDITOR_MODE.GRAMMAR_TEXT,
|
144
|
-
}), disabled: actionsDisabled, onClick: handleTextModeClick, tabIndex: -1, title: "Toggle text mode (F8)", children:
|
145
|
+
}), disabled: actionsDisabled, onClick: handleTextModeClick, tabIndex: -1, title: "Toggle text mode (F8)", children: _jsxDEV(HackerIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 393, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 379, columnNumber: 9 }, this), _jsxDEV("button", { className: clsx('editor__status-bar__action editor__status-bar__action__toggler', {
|
145
146
|
'editor__status-bar__action__toggler--active': !applicationStore.assistantService.isHidden,
|
146
|
-
}), onClick: toggleAssistant, tabIndex: -1, title: "Toggle assistant", children:
|
147
|
+
}), onClick: toggleAssistant, tabIndex: -1, title: "Toggle assistant", children: _jsxDEV(AssistantIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 407, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 395, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 246, columnNumber: 7 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 158, columnNumber: 11 }, this));
|
147
148
|
});
|
148
149
|
//# sourceMappingURL=StatusBar.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"StatusBar.js","sourceRoot":"","sources":["../../../src/components/editor/StatusBar.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"StatusBar.js","sourceRoot":"","sources":["../../../src/components/editor/StatusBar.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,cAAc,EACd,YAAY,EACZ,UAAU,EACV,SAAS,EACT,eAAe,EACf,aAAa,EACb,SAAS,EACT,WAAW,GACZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EACL,aAAa,EACb,UAAU,EACV,iBAAiB,GAClB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACL,kBAAkB,GAEnB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC1D,OAAO,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AACtF,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE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AAO,EAAE,mBAAmB,EAC5B,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,uBAAuB,YAE7B,QAAC,UAAU,yFAAG,sFACP,EACT,oBACE,SAAS,EAAE,IAAI,CACb,gEAAgE,EAChE;4BACE,6CAA6C,EAC3C,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,QAAQ;yBAC9C,CACF,EACD,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,kBAAkB,YAExB,QAAC,aAAa,yFAAG,sFACV,sFACL,uFACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/__test-utils__/EditorComponentTestUtils.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -196,7 +197,7 @@ export const TEST__setUpEditor = async (MOCK__editorStore, data, viewerMode) =>
|
|
196
197
|
: generateEditorRoute(workspace.projectId, undefined, workspace.workspaceId, WorkspaceType.USER),
|
197
198
|
],
|
198
199
|
});
|
199
|
-
const renderResult = render(
|
200
|
+
const renderResult = render(_jsxDEV(ApplicationStoreProvider, { store: MOCK__editorStore.applicationStore, children: _jsxDEV(TEST__BrowserEnvironmentProvider, { historyAPI: history, children: _jsxDEV(LegendStudioFrameworkProvider, { children: viewerMode ? (_jsxDEV(Route, { path: [LEGEND_STUDIO_ROUTE_PATTERN.VIEW], children: _jsxDEV(ProjectViewer, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 369, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 367, columnNumber: 26 }, this)) : (_jsxDEV(Route, { path: [LEGEND_STUDIO_ROUTE_PATTERN.EDIT_WORKSPACE], children: _jsxDEV(Editor, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 373, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 371, columnNumber: 16 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 366, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 365, columnNumber: 7 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 363, columnNumber: 31 }, this));
|
200
201
|
// assert project/workspace have been set
|
201
202
|
await waitFor(() => expect(MOCK__editorStore.sdlcState.currentProject).toBeDefined());
|
202
203
|
await waitFor(() => expect(MOCK__editorStore.sdlcState.currentWorkspace).toBeDefined());
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EditorComponentTestUtils.js","sourceRoot":"","sources":["../../../../src/components/editor/__test-utils__/EditorComponentTestUtils.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"EditorComponentTestUtils.js","sourceRoot":"","sources":["../../../../src/components/editor/__test-utils__/EditorComponentTestUtils.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAEL,MAAM,EACN,SAAS,EACT,OAAO,EACP,SAAS,GACV,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,2BAA2B,GAC5B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAoB,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,yBAAyB,EAAE,MAAM,mDAAmD,CAAC;AAE9F,OAAO,EAOL,aAAa,EACb,+BAA+B,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UAAoB,EACG,EAAE,CACzB,iBAAiB,CACf,iBAAiB,EACjB;IACE,OAAO,EAAE,0BAA0B,CAAC,OAAO;IAC3C,SAAS,EAAE,0BAA0B,CAAC,SAAS;IAC/C,cAAc,EAAE,0BAA0B,CAAC,eAAe;IAC1D,eAAe,EAAE,EAAE;IACnB,QAAQ,EAAE,EAAE;IACZ,oBAAoB,EAAE,0BAA0B,CAAC,aAAa;IAC9D,6BAA6B,EAC3B,0BAA0B,CAAC,6BAA6B;IAC1D,+BAA+B,EAAE;QAC/B,GAAG,0BAA0B,CAAC,0BAA0B;QACxD,GAAG,0BAA0B,CAAC,wBAAwB;KACvD;IACD,QAAQ,EAAE,EAAE;IACZ,iBAAiB,EAAE,EAAE;IACrB,yBAAyB,EAAE,EAAE;IAC7B,uBAAuB,EAAE,6BAA6B,CAAC,gBAAgB;IACvE,GAAG,SAAS;CACb,EACD,UAAU,CACX,CAAC"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
export declare const ProjectSearchCommand: (() => import("react/jsx-runtime").JSX.Element) & {
|
16
|
+
export declare const ProjectSearchCommand: (() => import("react/jsx-dev-runtime").JSX.Element) & {
|
17
17
|
displayName: string;
|
18
18
|
};
|
19
19
|
//# sourceMappingURL=ProjectSearchCommand.d.ts.map
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/command-center/ProjectSearchCommand.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -60,12 +61,12 @@ export const ProjectSearchCommand = observer(() => {
|
|
60
61
|
useEffect(() => {
|
61
62
|
selectorRef.current?.focus();
|
62
63
|
}, [elementType]);
|
63
|
-
return (
|
64
|
+
return (_jsxDEV(NonBlockingDialog, { open: editorStore.showSearchElementCommand, onClose: closeModal, TransitionProps: {
|
64
65
|
onEnter: handleEnter,
|
65
|
-
}, onClickAway: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children:
|
66
|
+
}, onClickAway: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "search-modal", children: _jsxDEV("div", { className: "project-search-command", children: [_jsxDEV(DropdownMenu, { className: "project-search-command__type", title: "Choose Element Type...", content: _jsxDEV(MenuContent, { className: "project-search-command__options", children: [_jsxDEV(MenuContentItem, { className: "project-search-command__option", onClick: changeType(undefined), children: _jsxDEV(MoreHorizontalIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 118, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 114, columnNumber: 17 }, this), types.map((type) => (_jsxDEV(MenuContentItem, { className: "project-search-command__option", onClick: changeType(type), children: getElementTypeIcon(type, editorStore) }, type, false, { fileName: _jsxFileName, lineNumber: 120, columnNumber: 39 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 112, columnNumber: 22 }, this), children: [_jsxDEV("div", { className: "project-search-command__type__label", children: elementType ? (getElementTypeIcon(elementType, editorStore)) : (_jsxDEV(MoreHorizontalIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 135, columnNumber: 20 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 132, columnNumber: 13 }, this), _jsxDEV("div", { className: "project-search-command__type__selector", children: _jsxDEV(CaretDownIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 140, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 139, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 109, columnNumber: 11 }, this), _jsxDEV(CustomSelectorInput, { ref: selectorRef, className: "project-search-command__input", options: options, onChange: openElement, filterOption: filterOption, placeholder: `Search ${elementType ? elementType.toLowerCase() : 'elements'} by path`, escapeClearsValue: true, darkMode: !applicationStore.layoutService
|
66
67
|
.TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: getPackageableElementOptionFormatter({
|
67
68
|
darkMode: !applicationStore.layoutService
|
68
69
|
.TEMPORARY__isLightColorThemeEnabled,
|
69
|
-
}) })] }) }) }));
|
70
|
+
}) }, void 0, false, { fileName: _jsxFileName, lineNumber: 143, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 108, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 102, columnNumber: 7 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 91, columnNumber: 11 }, this));
|
70
71
|
});
|
71
72
|
//# sourceMappingURL=ProjectSearchCommand.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ProjectSearchCommand.js","sourceRoot":"","sources":["../../../../src/components/editor/command-center/ProjectSearchCommand.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"ProjectSearchCommand.js","sourceRoot":"","sources":["../../../../src/components/editor/command-center/ProjectSearchCommand.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,aAAa,EACb,KAAK,EACL,WAAW,EACX,eAAe,GAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EACL,kB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G,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CACnB,QAAC,eAAe,IAEd,SAAS,EAAC,gCAAgC,EAC1C,OAAO,EAAE,UAAU,CAAC,IAAI,CAAC,YAExB,kBAAkB,CAAC,IAAI,EAAE,WAAW,CAAC,IAJjC,IAAI,6EAKO,CACnB,CAAC,uFACU,aAGhB,iBAAK,SAAS,EAAC,qCAAqC,YACjD,WAAW,CAAC,CAAC,CAAC,CACb,kBAAkB,CAAC,WAAW,EAAE,WAAW,CAAC,CAC7C,CAAC,CAAC,CAAC,CACF,QAAC,kBAAkB,yFAAG,CACvB,uFACG,EACN,iBAAK,SAAS,EAAC,wCAAwC,YACrD,QAAC,aAAa,yFAAG,uFACb,uFACO,EACf,QAAC,mBAAmB,IAClB,GAAG,EAAE,WAAW,EAChB,SAAS,EAAC,+BAA+B,EACzC,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,WAAW,EACrB,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,UACX,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,UAC5C,UAAU,EACV,iBAAiB,EAAE,IAAI,EACvB,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;6BAC5B,mCAAmC,EAExC,iBAAiB,EAAE,oCAAoC,CAAC;4BACtD,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;iCAC5B,mCAAmC;yBACzC,CAAC,uFACF,sFACE,sFACA,sFACU,CACrB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
export declare const ArtifactGenerationViewer: (() => import("react/jsx-runtime").JSX.Element) & {
|
16
|
+
export declare const ArtifactGenerationViewer: (() => import("react/jsx-dev-runtime").JSX.Element) & {
|
17
17
|
displayName: string;
|
18
18
|
};
|
19
19
|
//# sourceMappingURL=ArtifactGenerationViewer.d.ts.map
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/editor-group/ArtifactGenerationViewer.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -27,6 +28,6 @@ export const ArtifactGenerationViewer = observer(() => {
|
|
27
28
|
? editorStore.graphManagerState.graph.getNullableElement(generatedArtifact.parentId)
|
28
29
|
: undefined;
|
29
30
|
const visitGenerator = (fg) => editorStore.graphEditorMode.openElement(fg);
|
30
|
-
return (
|
31
|
+
return (_jsxDEV("div", { className: "file-generation-viewer", children: _jsxDEV(Panel, { children: [_jsxDEV("div", { className: "panel__header", children: _jsxDEV("div", { className: "panel__header__title", children: [_jsxDEV("div", { className: "uml-element-editor__header__lock", children: _jsxDEV(LockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 56, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 54, columnNumber: 14 }, this), _jsxDEV("div", { className: "panel__header__title__label", children: "generated-artifact" }, void 0, false, { fileName: _jsxFileName, lineNumber: 59, columnNumber: 13 }, this), _jsxDEV("div", { className: "panel__header__title__content", children: generatedArtifact.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 62, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 53, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 52, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel file-generation-viewer__content", children: [_jsxDEV("div", { className: "panel__header", children: [_jsxDEV("div", { className: "panel__header__title", children: _jsxDEV("div", { className: "panel__header__title__label", children: generator?.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 70, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 69, columnNumber: 13 }, this), _jsxDEV("div", { className: "panel__header__actions", children: generator && (_jsxDEV("button", { className: "uml-element-editor__header__generation-origin", onClick: () => visitGenerator(generator), tabIndex: -1, title: `Visit generation parent '${generator.path}'`, children: [_jsxDEV("div", { className: "uml-element-editor__header__generation-origin__label", children: _jsxDEV(FireIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 83, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 82, columnNumber: 19 }, this), _jsxDEV("div", { className: "uml-element-editor__header__generation-origin__parent-name", children: generator.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 85, columnNumber: 19 }, this), _jsxDEV("div", { className: "uml-element-editor__header__generation-origin__visit-btn", children: _jsxDEV(StickArrowCircleRightIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 89, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 88, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 75, columnNumber: 30 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 74, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 68, columnNumber: 11 }, this), _jsxDEV(PanelContent, { children: _jsxDEV(CodeEditor, { inputValue: getTextContent(generatedArtifact.content, generatedArtifact.format), isReadOnly: true, language: getEditorLanguageForFormat(generatedArtifact.format) }, void 0, false, { fileName: _jsxFileName, lineNumber: 96, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 95, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 67, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 51, columnNumber: 7 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 49, columnNumber: 11 }, this));
|
31
32
|
});
|
32
33
|
//# sourceMappingURL=ArtifactGenerationViewer.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ArtifactGenerationViewer.js","sourceRoot":"","sources":["../../../../src/components/editor/editor-group/ArtifactGenerationViewer.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"ArtifactGenerationViewer.js","sourceRoot":"","sources":["../../../../src/components/editor/editor-group/ArtifactGenerationViewer.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,QAAQ,EACR,QAAQ,EACR,yBAAyB,EACzB,KAAK,EACL,YAAY,GACb,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EACL,6BAA6B,EAC7B,0BAA0B,EAC1B,cAAc,GACf,MAAM,sEAAsE,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAE5D,MAAM,CAAC,MAAM,wBAAwB,GAAG,QAAQ,CAAC,GAAG,EAAE;IACpD,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,sBAAsB,GAC1B,WAAW,CAAC,eAAe,CAAC,qBAAqB,CAC/C,6BAA6B,CAC9B,CAAC;IACJ,MAAM,iBAAiB,GAAG,sBAAsB,CAAC,QAAQ,CAAC;IAC1D,MAAM,SAAS,GAAG,iBAAiB,CAAC,QAAQ;QAC1C,CAAC,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,CAAC,kBAAkB,CACpD,iBAAiB,CAAC,QAAQ,CAC3B;QACH,CAAC,CAAC,SAAS,CAAC;IACd,MAAM,cAAc,GAAG,CAAC,EAAsB,EAAQ,EAAE,CACtD,WAAW,CAAC,eAAe,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAE9C,OAAO,CACL,iBAAK,SAAS,EAAC,wBAAwB,YACrC,QAAC,KAAK,eACJ,iBAAK,SAAS,EAAC,eAAe,YAC5B,iBAAK,SAAS,EAAC,sBAAsB,aAEjC,iBAAK,SAAS,EAAC,kCAAkC,YAC/C,QAAC,QAAQ,wFAAG,sFACR,EAER,iBAAK,SAAS,EAAC,6BAA6B,sHAEtC,EACN,iBAAK,SAAS,EAAC,+BAA+B,YAC3C,iBAAiB,CAAC,IAAI,sFACnB,sFACF,qFACF,EACN,iBAAK,SAAS,EAAC,uCAAuC,aACpD,iBAAK,SAAS,EAAC,eAAe,aAC5B,iBAAK,SAAS,EAAC,sBAAsB,YACnC,iBAAK,SAAS,EAAC,6BAA6B,YACzC,SAAS,EAAE,IAAI,sFACZ,sFACF,EACN,iBAAK,SAAS,EAAC,wBAAwB,YACpC,SAAS,IAAI,CACZ,oBACE,SAAS,EAAC,+CAA+C,EACzD,OAAO,EAAE,GAAS,EAAE,CAAC,cAAc,CAAC,SAAS,CAAC,EAC9C,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,4BAA4B,SAAS,CAAC,IAAI,GAAG,aAEpD,iBAAK,SAAS,EAAC,sDAAsD,YACnE,QAAC,QAAQ,wFAAG,sFACR,EACN,iBAAK,SAAS,EAAC,4DAA4D,YACxE,SAAS,CAAC,IAAI,sFACX,EACN,iBAAK,SAAS,EAAC,0DAA0D,YACvE,QAAC,yBAAyB,wFAAG,sFACzB,sFACC,CACV,sFACG,sFACF,EACN,QAAC,YAAY,cACX,QAAC,UAAU,IACT,UAAU,EAAE,cAAc,CACxB,iBAAiB,CAAC,OAAO,EACzB,iBAAiB,CAAC,MAAM,CACzB,EACD,UAAU,EAAE,IAAI,EAChB,QAAQ,EAAE,0BAA0B,CAAC,iBAAiB,CAAC,MAAM,CAAC,sFAC9D,sFACW,qFACX,qFACA,sFACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
/// <reference types="react" resolution-mode="require"/>
|
17
17
|
export declare const ViewerEditorGroupSplashScreen: React.FC;
|
18
18
|
export declare const EditorGroupSplashScreen: React.FC;
|
19
|
-
export declare const EditorGroup: (() => import("react/jsx-runtime").JSX.Element) & {
|
19
|
+
export declare const EditorGroup: (() => import("react/jsx-dev-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=EditorGroup.d.ts.map
|