@finos/legend-application-studio 28.17.8 → 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-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -43,17 +44,17 @@ const SchemaLoader = observer((props) => {
|
|
43
44
|
importState.importSchemas(importState.files);
|
44
45
|
}
|
45
46
|
};
|
46
|
-
return (
|
47
|
+
return (_jsxDEV(Dialog, { onClose: onClose, open: importState.importSchemaModal, TransitionProps: {
|
47
48
|
appear: false, // disable transition
|
48
|
-
}, children:
|
49
|
+
}, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "modal--scrollable patch-loader", children: [_jsxDEV(ModalHeader, { title: "Schema Content Loader" }, void 0, false, { fileName: _jsxFileName, lineNumber: 99, columnNumber: 11 }, this), _jsxDEV(ModalBody, { children: [_jsxDEV(PanelLoadingIndicator, { isLoading: importState.loadingSchemaContentState.isInProgress }, void 0, false, { fileName: _jsxFileName, lineNumber: 101, columnNumber: 13 }, this), _jsxDEV("div", { children: _jsxDEV("input", { type: "file", name: "myFiles", onChange: onChange, multiple: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 105, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 104, columnNumber: 13 }, this), importState.files && (_jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Schema Files" }, void 0, false, { fileName: _jsxFileName, lineNumber: 114, columnNumber: 17 }, this), _jsxDEV("div", { className: "panel__content__form__section__list", children: _jsxDEV("div", { className: "panel__content__form__section__list__items", children: importState.files.map((value) => (_jsxDEV("div", { className: "panel__content__form__section__list__item", children: [_jsxDEV("div", { className: "panel__content__form__section__list__item__value", children: value.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 124, columnNumber: 25 }, this), _jsxDEV("div", { className: "panel__content__form__section__list__item__actions", children: _jsxDEV("button", { title: "Remove change", className: "panel__content__form__section__list__item__remove-btn", onClick: () => importState.removeFile(value), tabIndex: -1, children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 134, columnNumber: 29 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 128, columnNumber: 27 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 127, columnNumber: 25 }, this)] }, value.name, true, { fileName: _jsxFileName, lineNumber: 119, columnNumber: 56 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 118, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 117, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 112, columnNumber: 36 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 100, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: _jsxDEV(ModalFooterButton, { className: "blocking-alert__action--standard", text: "Import Schemas", onClick: importSchemas, disabled: !importState.files?.length }, void 0, false, { fileName: _jsxFileName, lineNumber: 145, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 144, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 93, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 85, columnNumber: 13 }, this));
|
49
50
|
});
|
50
51
|
const SchemaBasicEditor = observer((props) => {
|
51
52
|
const { schema, isReadOnly, language } = props;
|
52
53
|
const changeId = (event) => externalFormat_schema_setId(schema, event.target.value);
|
53
54
|
const changeLocation = (event) => externalFormat_schema_setLocation(schema, event.target.value);
|
54
|
-
return (
|
55
|
+
return (_jsxDEV("div", { className: "schema-editor", children: [_jsxDEV("input", { className: "schema-editor__id", disabled: isReadOnly, value: schema.id, spellCheck: false, onChange: changeId, placeholder: "Id" }, void 0, false, { fileName: _jsxFileName, lineNumber: 172, columnNumber: 9 }, this), _jsxDEV("input", { className: "schema-editor__location", disabled: isReadOnly, value: schema.location, spellCheck: false, onChange: changeLocation, placeholder: "Location" }, void 0, false, { fileName: _jsxFileName, lineNumber: 180, columnNumber: 9 }, this), _jsxDEV("div", { className: clsx('schema-editor__content'), children: _jsxDEV("div", { className: "schema-editor__content__input", children: _jsxDEV(CodeEditor, { inputValue: schema.content, language: language, updateInput: (val) => {
|
55
56
|
externalFormat_schema_setContent(schema, val);
|
56
|
-
}, hideGutter: true }) }) })] }));
|
57
|
+
}, hideGutter: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 190, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 189, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 188, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 170, columnNumber: 13 }, this));
|
57
58
|
});
|
58
59
|
export const SchemaSetGeneralEditor = observer((props) => {
|
59
60
|
const { schemaSetEditorState, isReadOnly } = props;
|
@@ -94,14 +95,14 @@ export const SchemaSetGeneralEditor = observer((props) => {
|
|
94
95
|
flowResult(schemaSetEditorState.validateSchema(currentSchema)).catch(applicationStore.alertUnhandledError);
|
95
96
|
}
|
96
97
|
};
|
97
|
-
return (
|
98
|
+
return (_jsxDEV(ResizablePanelGroup, { orientation: "vertical", children: [_jsxDEV(ResizablePanel, { minSize: 30, size: 300, children: _jsxDEV("div", { className: "schema-set-panel", children: [_jsxDEV("div", { className: "schema-set-panel__header", children: [_jsxDEV("div", { className: "panel__header__title", children: _jsxDEV("div", { className: "panel__header__title__label", children: `${schemaSet.format} configuration` }, void 0, false, { fileName: _jsxFileName, lineNumber: 272, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 271, columnNumber: 15 }, this), _jsxDEV("div", { className: "schema-set-panel__header__actions", children: [_jsxDEV("button", { className: "schema-set-panel__header__action", onClick: openSchemaLoader, disabled: isReadOnly, tabIndex: -1, title: "Import Schemas", children: _jsxDEV(UploadIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 282, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 275, columnNumber: 17 }, this), _jsxDEV("button", { className: "schema-set-panel__header__action", onClick: addSchema, disabled: isReadOnly, tabIndex: -1, title: "Add Schema", children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 291, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 284, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 274, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 270, columnNumber: 13 }, this), schemaSet.schemas.map((schema, index) => (_jsxDEV(ContextMenu, { className: clsx('schema-set-panel__item', {
|
98
99
|
'schema-set-panel__item--active': currentSchema === schema,
|
99
|
-
}), disabled: isReadOnly, content:
|
100
|
+
}), disabled: isReadOnly, content: _jsxDEV(MenuContent, { children: _jsxDEV(MenuContentItem, { onClick: deleteSchema(schema), children: "Delete" }, void 0, false, { fileName: _jsxFileName, lineNumber: 304, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 302, columnNumber: 26 }, this), menuProps: { elevation: 7 }, children: _jsxDEV("div", { className: "schema-set-panel__item__label", onClick: changeState(schema), children: schema.id ? schema.id : `Schema${index + 1}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 311, columnNumber: 17 }, this) }, schema._UUID, false, { fileName: _jsxFileName, lineNumber: 295, columnNumber: 72 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 269, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 268, columnNumber: 9 }, this), _jsxDEV(ResizablePanelSplitter, { children: _jsxDEV(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 322, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 321, columnNumber: 9 }, this), _jsxDEV(ResizablePanel, { children: _jsxDEV("div", { className: "schema-set-panel", children: [_jsxDEV("div", { className: "schema-set-panel__header", children: [_jsxDEV("div", { className: "schema-set-panel__header__title", children: [isReadOnly && (_jsxDEV("div", { className: "schema-set-panel__header__lock", children: _jsxDEV(LockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 330, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 328, columnNumber: 33 }, this)), _jsxDEV("div", { className: "schema-set-panel__header__title__label", children: "Schema" }, void 0, false, { fileName: _jsxFileName, lineNumber: 333, columnNumber: 17 }, this), _jsxDEV("div", { className: "schema-set-panel__header__title__content", children: currentSchema !== undefined
|
100
101
|
? currentSchema.id
|
101
102
|
? currentSchema.id
|
102
103
|
: `Schema${getIndex(currentSchema) + 1}`
|
103
|
-
: '' })] }),
|
104
|
-
.importSchemaModal && (
|
104
|
+
: '' }, void 0, false, { fileName: _jsxFileName, lineNumber: 336, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 327, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__header__actions", children: schemaSetEditorState instanceof SchemaSetEditorState && (_jsxDEV("button", { className: "btn--dark model-loader__header__load-btn", onClick: validateSchema, disabled: !currentSchema, tabIndex: -1, title: "Validate Schema", children: "Validate" }, void 0, false, { fileName: _jsxFileName, lineNumber: 345, columnNumber: 75 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 344, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 326, columnNumber: 13 }, this), _jsxDEV("div", { className: "schema-set-panel__content", children: _jsxDEV("div", { className: "schema-set-panel__content__lists", children: [schemaSetEditorState.importSchemaContentState
|
105
|
+
.importSchemaModal && (_jsxDEV(SchemaLoader, { schemaSetEditorState: schemaSetEditorState }, void 0, false, { fileName: _jsxFileName, lineNumber: 361, columnNumber: 42 }, this)), currentSchema !== undefined && (_jsxDEV(SchemaBasicEditor, { language: language, schema: currentSchema, isReadOnly: isReadOnly }, currentSchema._UUID, false, { fileName: _jsxFileName, lineNumber: 364, columnNumber: 50 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 359, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 358, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 325, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 324, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 266, columnNumber: 13 }, this));
|
105
106
|
});
|
106
107
|
export const SchemaSetEditor = observer(() => {
|
107
108
|
const editorStore = useEditorStore();
|
@@ -114,19 +115,19 @@ export const SchemaSetEditor = observer(() => {
|
|
114
115
|
const changeTab = (tab) => () => schemaSetEditorState.setSelectedTab(tab);
|
115
116
|
const renderMainEditPanel = () => {
|
116
117
|
if (isFetchingDescriptions) {
|
117
|
-
return (
|
118
|
+
return (_jsxDEV(BlankPanelContent, { children: "Fetching format descriptions" }, void 0, false, { fileName: _jsxFileName, lineNumber: 397, columnNumber: 15 }, this));
|
118
119
|
}
|
119
120
|
if (currentTab === SCHEMA_SET_TAB_TYPE.SCHEMAS) {
|
120
|
-
return (
|
121
|
+
return (_jsxDEV(SchemaSetGeneralEditor, { schemaSetEditorState: schemaSetEditorState, isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 402, columnNumber: 15 }, this));
|
121
122
|
}
|
122
123
|
const supportsModelGeneraiton = schemaSetEditorState.schemaSetModelGenerationState.description
|
123
124
|
?.supportsModelGeneration;
|
124
|
-
return supportsModelGeneraiton ? (
|
125
|
+
return supportsModelGeneraiton ? (_jsxDEV(SchemaSetModelGenerationEditor, { modelGenerationState: schemaSetEditorState.schemaSetModelGenerationState, isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 412, columnNumber: 39 }, this)) : (_jsxDEV(BlankPanelContent, { children: ["Format ", schemaSet.format, " does not support Model Generation"] }, void 0, true, { fileName: _jsxFileName, lineNumber: 419, columnNumber: 10 }, this));
|
125
126
|
};
|
126
127
|
useApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.SCHEMA_SET_EDITOR);
|
127
|
-
return (
|
128
|
+
return (_jsxDEV("div", { className: "panel schema-set-panel", children: [_jsxDEV("div", { className: "schema-set-panel__header", children: _jsxDEV("div", { className: "schema-set-panel__header__title", children: [schemaSetEditorState.isReadOnly && (_jsxDEV("div", { className: "schema-set-panel__header__lock", children: _jsxDEV(LockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 436, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 434, columnNumber: 48 }, this)), _jsxDEV("div", { className: "schema-set-panel__header__title__label", children: "Schema Set" }, void 0, false, { fileName: _jsxFileName, lineNumber: 439, columnNumber: 11 }, this), _jsxDEV("div", { className: "schema-set-panel__header__title__content", children: schemaSetEditorState.schemaSet.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 442, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 433, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 432, columnNumber: 7 }, this), _jsxDEV(PanelContent, { children: [_jsxDEV(PanelLoadingIndicator, { isLoading: isFetchingDescriptions }, void 0, false, { fileName: _jsxFileName, lineNumber: 448, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__header", children: _jsxDEV("div", { className: "uml-element-editor__tabs", children: Object.values(SCHEMA_SET_TAB_TYPE).map((tab) => (_jsxDEV("div", { onClick: changeTab(tab), className: clsx('relational-connection-editor__tab', {
|
128
129
|
'relational-connection-editor__tab--active': tab === currentTab,
|
129
|
-
}), children: prettyCONSTName(tab) }, tab))) }) }),
|
130
|
-
renderMainEditPanel()] })] })] }));
|
130
|
+
}), children: prettyCONSTName(tab) }, tab, false, { fileName: _jsxFileName, lineNumber: 451, columnNumber: 63 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 450, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 449, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__content file-generation-editor__content", children: [currentTab === SCHEMA_SET_TAB_TYPE.SCHEMAS && (_jsxDEV(SchemaSetGeneralEditor, { schemaSetEditorState: schemaSetEditorState, isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 466, columnNumber: 59 }, this)), currentTab === SCHEMA_SET_TAB_TYPE.GENERATE_MODEL &&
|
131
|
+
renderMainEditPanel()] }, void 0, true, { fileName: _jsxFileName, lineNumber: 465, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 447, columnNumber: 7 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 430, columnNumber: 11 }, this));
|
131
132
|
});
|
132
133
|
//# sourceMappingURL=DSL_ExternalFormat_SchemaSetElementEditor.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_ExternalFormat_SchemaSetElementEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"DSL_ExternalFormat_SchemaSetElementEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,WAAW,EACX,cAAc,EACd,mBAAmB,EACnB,sBAAsB,EACtB,0BAA0B,EAC1B,QAAQ,EACR,QAAQ,EACR,qBAAqB,EACrB,UAAU,EACV,MAAM,EACN,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,YAAY,EACZ,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,oBAAoB,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EACL,oBAAoB,EAEpB,mBAAmB,GACpB,MAAM,wHAAwH,CAAC;AAChI,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EACL,kCAAkC,EAClC,qCAAqC,EACrC,gCAAgC,EAChC,2BAA2B,EAC3B,iCAAiC,GAClC,MAAM,6EAA6E,CAAC;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wDAAwD,CAAC;AACxG,OAAO,EACL,oBAAoB,EACpB,UAAU,GACX,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,0BAA0B,EAAE,MAAM,yEAAyE,CAAC;AACrH,OAAO,EAAE,gDAAgD,EAAE,MAAM,iEAAiE,CAAC;AACnI,OAAO,EAAE,+BAA+B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,MAAM,YAAY,GAAG,QAAQ,CAC3B,CAAC,KAEA,EAAE,EAAE;IACH,MAAM,EAAE,oBAAoB,EAAE,GAA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AU,KAAK,mBAAmB,CAAC,OAAO,IAAI,CAC7C,QAAC,sBAAsB,IACrB,oBAAoB,EAAE,oBAAoB,EAC1C,UAAU,EAAE,UAAU,uFACtB,CACH,EACA,UAAU,KAAK,mBAAmB,CAAC,cAAc;gCAChD,mBAAmB,EAAE,sFACnB,sFACO,uFACX,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -17,7 +17,7 @@ import type { SchemaSetModelGenerationState } from '../../../../stores/editor/ed
|
|
17
17
|
export declare const SchemaSetModelGenerationEditor: ((props: {
|
18
18
|
modelGenerationState: SchemaSetModelGenerationState;
|
19
19
|
isReadOnly: boolean;
|
20
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
20
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
21
21
|
displayName: string;
|
22
22
|
};
|
23
23
|
//# sourceMappingURL=DSL_ExternalFormat_SchemaSetModelGenerationEditor.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/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -64,12 +65,12 @@ export const SchemaSetModelGenerationEditor = observer((props) => {
|
|
64
65
|
modelGenerationState.importGeneratedModelsIntoGraph();
|
65
66
|
};
|
66
67
|
useApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.SCHEMA_SET_MODEL_GENERATION);
|
67
|
-
return (
|
68
|
+
return (_jsxDEV(PanelContent, { className: "file-generation-editor__content", children: _jsxDEV(ResizablePanelGroup, { orientation: "vertical", children: [_jsxDEV(ResizablePanel, { size: 250, minSize: 50, children: _jsxDEV(Panel, { className: "file-generation-editor__configuration", children: [_jsxDEV(PanelHeader, { title: `${format} configuration`, children: _jsxDEV(PanelHeaderActions, { children: _jsxDEV(PanelHeaderActionItem, { className: "file-generation-editor__configuration__reset-btn", disabled: isReadOnly || !properties.length, onClick: resetProperties, title: "Reset to default configuration", children: _jsxDEV(RefreshIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 122, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 116, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 115, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 114, columnNumber: 15 }, this), _jsxDEV(PanelContent, { children: _jsxDEV("div", { className: "file-generation-editor__configuration__content", children: [_jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: 'Target Binding Path' }, void 0, false, { fileName: _jsxFileName, lineNumber: 129, columnNumber: 21 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: 'If path is provided, a binding will be generated alongside the models. The binding will ensure the schema and models are compatible through compile time validations.' }, void 0, false, { fileName: _jsxFileName, lineNumber: 132, columnNumber: 21 }, this), _jsxDEV(InputWithInlineValidation, { className: "query-builder__variables__variable__name__input input-group__input", spellCheck: false, value: modelGenerationState.targetBinding, onChange: changeTargetBindingPath, placeholder: "Target binding path", error: targetBindingPathValidationMessage }, void 0, false, { fileName: _jsxFileName, lineNumber: 137, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 128, columnNumber: 19 }, this), modelGenerationState.modelGenerationProperties
|
68
69
|
.filter((property) => !Object.values(HIDDEN_CONFIGURATION_PROPERTIES).includes(property.name))
|
69
|
-
.map((abstractGenerationProperty) => (
|
70
|
+
.map((abstractGenerationProperty) => (_jsxDEV(GenerationPropertyEditor, { update: update, isReadOnly: isReadOnly, getConfigValue: getConfigValue, property: abstractGenerationProperty }, abstractGenerationProperty.name, false, { fileName: _jsxFileName, lineNumber: 156, columnNumber: 59 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 127, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 126, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 113, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 112, columnNumber: 11 }, this), _jsxDEV(ResizablePanelSplitter, { children: _jsxDEV(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 170, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 169, columnNumber: 11 }, this), _jsxDEV(ResizablePanel, { children: _jsxDEV(Panel, { className: "generation-result-viewer__file", children: [_jsxDEV(PanelHeader, { title: "result", children: _jsxDEV(PanelHeaderActions, { children: [_jsxDEV(PanelHeaderActionItem, { className: " generation-result-viewer__generate-btn", onClick: regenerate, disabled: modelGenerationState.generatingModelsState.isInProgress ||
|
70
71
|
modelGenerationState.importGeneratedElementsState
|
71
|
-
.isInProgress, title: "Regenerate", children:
|
72
|
+
.isInProgress, title: "Regenerate", children: _jsxDEV("div", { className: "generation-result-viewer__generate-btn__label", children: [_jsxDEV(RefreshIcon, { className: "generation-result-viewer__generate-btn__label__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 187, columnNumber: 23 }, this), _jsxDEV("div", { className: "generation-result-viewer__generate-btn__label__title", children: "Generate" }, void 0, false, { fileName: _jsxFileName, lineNumber: 188, columnNumber: 23 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 186, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 176, columnNumber: 19 }, this), !modelGenerationState.isolatedGraph && (_jsxDEV("button", { className: "btn--dark model-loader__header__load-btn", onClick: importGeneratedElements, disabled: modelGenerationState.generationValue === '', tabIndex: -1, title: "Import generated elements", children: "Import" }, void 0, false, { fileName: _jsxFileName, lineNumber: 194, columnNumber: 60 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 175, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 174, columnNumber: 15 }, this), _jsxDEV(PanelContent, { children: [_jsxDEV(PanelLoadingIndicator, { isLoading: modelGenerationState.generatingModelsState.isInProgress ||
|
72
73
|
modelGenerationState.importGeneratedElementsState
|
73
|
-
.isInProgress }),
|
74
|
+
.isInProgress }, void 0, false, { fileName: _jsxFileName, lineNumber: 208, columnNumber: 17 }, this), _jsxDEV(CodeEditor, { inputValue: modelGenerationState.generationValue, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.PURE }, void 0, false, { fileName: _jsxFileName, lineNumber: 215, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 207, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 173, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 172, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 111, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 109, columnNumber: 13 }, this));
|
74
75
|
});
|
75
76
|
//# sourceMappingURL=DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DSL_ExternalFormat_SchemaSetModelGenerationEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"DSL_ExternalFormat_SchemaSetModelGenerationEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAA2B,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,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B,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -20,7 +20,7 @@ export declare enum FUNCTION_ACTIVATE_TYPE {
|
|
20
20
|
REFINER = "Refiner",
|
21
21
|
BIG_QUERY_NATIVE_APP = "BigQuery Native App"
|
22
22
|
}
|
23
|
-
export declare const FunctionEditor: (() => import("react/jsx-runtime").JSX.Element) & {
|
23
|
+
export declare const FunctionEditor: (() => import("react/jsx-dev-runtime").JSX.Element) & {
|
24
24
|
displayName: string;
|
25
25
|
};
|
26
26
|
//# sourceMappingURL=FunctionEditor.d.ts.map
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV, Fragment as _Fragment } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-application-studio/src/components/editor/editor-group/function-activator/FunctionEditor.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -157,12 +158,12 @@ const ParameterBasicEditor = observer((props) => {
|
|
157
158
|
dragConnector(handleRef);
|
158
159
|
dropConnector(ref);
|
159
160
|
useDragPreviewLayer(dragPreviewConnector);
|
160
|
-
return (
|
161
|
-
.TEMPORARY__isLightColorThemeEnabled })), !isReadOnly && !isEditingType && (
|
161
|
+
return (_jsxDEV(PanelDnDEntry, { ref: ref, placeholder: _jsxDEV("div", { className: "dnd__placeholder--light" }, void 0, false, { fileName: _jsxFileName, lineNumber: 348, columnNumber: 22 }, this), className: "property-basic-editor__container", showPlaceholder: isBeingDragged, children: [_jsxDEV(PanelEntryDragHandle, { dragSourceConnector: handleRef, isDragging: isBeingDragged }, void 0, false, { fileName: _jsxFileName, lineNumber: 352, columnNumber: 9 }, this), _jsxDEV("div", { className: "property-basic-editor", children: [isReadOnly && (_jsxDEV("div", { className: "property-basic-editor__lock", children: _jsxDEV(LockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 359, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 357, columnNumber: 27 }, this)), _jsxDEV("input", { className: "property-basic-editor__name input--dark", disabled: isReadOnly, value: parameter.name, spellCheck: false, onChange: changeValue, placeholder: "Parameter name" }, void 0, false, { fileName: _jsxFileName, lineNumber: 362, columnNumber: 11 }, this), !isReadOnly && isEditingType && (_jsxDEV(CustomSelectorInput, { className: "property-basic-editor__type", options: typeOptions, onChange: changeType, value: selectedType, placeholder: "Choose a type...", filterOption: filterOption, darkMode: !applicationStore.layoutService
|
162
|
+
.TEMPORARY__isLightColorThemeEnabled }, void 0, false, { fileName: _jsxFileName, lineNumber: 370, columnNumber: 45 }, this)), !isReadOnly && !isEditingType && (_jsxDEV("div", { className: clsx('property-basic-editor__type', 'property-basic-editor__type--show-click-hint', `background--${typeName.toLowerCase()}`, {
|
162
163
|
'property-basic-editor__type--has-visit-btn': typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE,
|
163
|
-
}), children: [typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (
|
164
|
+
}), children: [typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsxDEV("div", { className: "property-basic-editor__type__abbr", children: getElementIcon(paramType, editorStore) }, void 0, false, { fileName: _jsxFileName, lineNumber: 396, columnNumber: 67 }, this)), _jsxDEV("div", { className: "property-basic-editor__type__label", children: paramType.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 401, columnNumber: 15 }, this), _jsxDEV("div", { className: "property-basic-editor__type__label property-basic-editor__type__label--hover", onClick: () => setIsEditingType(true), children: "Click to edit" }, void 0, false, { fileName: _jsxFileName, lineNumber: 404, columnNumber: 15 }, this), typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsxDEV("button", { "data-testid": LEGEND_STUDIO_TEST_ID.TYPE_VISIT, className: "property-basic-editor__type__visit-btn", onClick: openElement, tabIndex: -1, title: "Visit element", children: _jsxDEV(ArrowCircleRightIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 418, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 410, columnNumber: 67 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 384, columnNumber: 46 }, this)), isReadOnly && (_jsxDEV("div", { className: clsx('property-basic-editor__type', `background--${typeName.toLowerCase()}`, {
|
164
165
|
'property-basic-editor__type--has-visit-btn': typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE,
|
165
|
-
}), children: [typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (
|
166
|
+
}), children: [typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsxDEV("div", { className: "property-basic-editor__type__abbr", children: getElementIcon(paramType, editorStore) }, void 0, false, { fileName: _jsxFileName, lineNumber: 434, columnNumber: 67 }, this)), _jsxDEV("div", { className: "property-basic-editor__type__label", children: paramType.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 439, columnNumber: 15 }, this), typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsxDEV("button", { "data-testid": LEGEND_STUDIO_TEST_ID.TYPE_VISIT, className: "property-basic-editor__type__visit-btn", onClick: openElement, tabIndex: -1, title: "Visit element", children: _jsxDEV(ArrowCircleRightIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 450, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 442, columnNumber: 67 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 423, columnNumber: 27 }, this)), _jsxDEV("div", { className: "property-basic-editor__multiplicity", children: [_jsxDEV("input", { className: "property-basic-editor__multiplicity-bound", disabled: isReadOnly, spellCheck: false, value: lowerBound, onChange: changeLowerBound }, void 0, false, { fileName: _jsxFileName, lineNumber: 456, columnNumber: 13 }, this), _jsxDEV("div", { className: "property-basic-editor__multiplicity__range", children: ".." }, void 0, false, { fileName: _jsxFileName, lineNumber: 463, columnNumber: 13 }, this), _jsxDEV("input", { className: "property-basic-editor__multiplicity-bound", disabled: isReadOnly, spellCheck: false, value: upperBound, onChange: changeUpperBound }, void 0, false, { fileName: _jsxFileName, lineNumber: 464, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 455, columnNumber: 11 }, this), !isReadOnly && (_jsxDEV("button", { className: "uml-element-editor__remove-btn btn--dark btn--caution", disabled: isReadOnly, onClick: deleteParameter, tabIndex: -1, title: "Remove", children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 480, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 472, columnNumber: 28 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 356, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 345, columnNumber: 13 }, this));
|
166
167
|
});
|
167
168
|
const ReturnTypeEditor = observer((props) => {
|
168
169
|
const { functionElement, isReadOnly } = props;
|
@@ -214,12 +215,12 @@ const ReturnTypeEditor = observer((props) => {
|
|
214
215
|
setUpperBound(event.target.value);
|
215
216
|
updateMultiplicity(lowerBound, event.target.value);
|
216
217
|
};
|
217
|
-
return (
|
218
|
-
.TEMPORARY__isLightColorThemeEnabled })), !isReadOnly && !isEditingType && (
|
218
|
+
return (_jsxDEV("div", { className: "function-editor__return__type-editor", children: [!isReadOnly && isEditingType && (_jsxDEV(CustomSelectorInput, { className: "property-basic-editor__type", options: typeOptions, onChange: changeType, value: selectedType, placeholder: "Choose a type...", filterOption: filterOption, darkMode: !applicationStore.layoutService
|
219
|
+
.TEMPORARY__isLightColorThemeEnabled }, void 0, false, { fileName: _jsxFileName, lineNumber: 568, columnNumber: 43 }, this)), !isReadOnly && !isEditingType && (_jsxDEV("div", { className: clsx('property-basic-editor__type', 'property-basic-editor__type--show-click-hint', `background--${typeName.toLowerCase()}`, {
|
219
220
|
'property-basic-editor__type--has-visit-btn': typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE,
|
220
|
-
}), children: [typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (
|
221
|
+
}), children: [typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsxDEV("div", { className: "property-basic-editor__type__abbr", children: getElementIcon(returnType.value, editorStore) }, void 0, false, { fileName: _jsxFileName, lineNumber: 594, columnNumber: 65 }, this)), _jsxDEV("div", { className: "property-basic-editor__type__label", children: returnType.value.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 599, columnNumber: 13 }, this), _jsxDEV("div", { className: "property-basic-editor__type__label property-basic-editor__type__label--hover", onClick: () => setIsEditingType(true), children: "Click to edit" }, void 0, false, { fileName: _jsxFileName, lineNumber: 602, columnNumber: 13 }, this), typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsxDEV("button", { "data-testid": LEGEND_STUDIO_TEST_ID.TYPE_VISIT, className: "property-basic-editor__type__visit-btn", onClick: openElement, tabIndex: -1, title: "Visit element", children: _jsxDEV(ArrowCircleRightIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 616, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 608, columnNumber: 65 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 582, columnNumber: 44 }, this)), isReadOnly && (_jsxDEV("div", { className: clsx('property-basic-editor__type', `background--${typeName.toLowerCase()}`, {
|
221
222
|
'property-basic-editor__type--has-visit-btn': typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE,
|
222
|
-
}), children: [typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (
|
223
|
+
}), children: [typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsxDEV("div", { className: "property-basic-editor__type__abbr", children: getElementIcon(returnType.value, editorStore) }, void 0, false, { fileName: _jsxFileName, lineNumber: 632, columnNumber: 65 }, this)), _jsxDEV("div", { className: "property-basic-editor__type__label", children: returnType.value.name }, void 0, false, { fileName: _jsxFileName, lineNumber: 637, columnNumber: 13 }, this), typeName !== FUNCTION_PARAMETER_TYPE.PRIMITIVE && (_jsxDEV("button", { "data-testid": LEGEND_STUDIO_TEST_ID.TYPE_VISIT, className: "property-basic-editor__type__visit-btn", onClick: openElement, tabIndex: -1, title: "Visit element", children: _jsxDEV(ArrowCircleRightIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 648, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 640, columnNumber: 65 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 621, columnNumber: 25 }, this)), _jsxDEV("div", { className: "property-basic-editor__multiplicity", children: [_jsxDEV("input", { className: "property-basic-editor__multiplicity-bound", disabled: isReadOnly, spellCheck: false, value: lowerBound, onChange: changeLowerBound }, void 0, false, { fileName: _jsxFileName, lineNumber: 654, columnNumber: 11 }, this), _jsxDEV("div", { className: "property-basic-editor__multiplicity__range", children: ".." }, void 0, false, { fileName: _jsxFileName, lineNumber: 661, columnNumber: 11 }, this), _jsxDEV("input", { className: "property-basic-editor__multiplicity-bound", disabled: isReadOnly, spellCheck: false, value: upperBound, onChange: changeUpperBound }, void 0, false, { fileName: _jsxFileName, lineNumber: 662, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 653, columnNumber: 9 }, this), _jsxDEV("button", { className: "uml-element-editor__remove-btn btn--dark btn--caution", disabled: true, tabIndex: -1, children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 675, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 670, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 566, columnNumber: 13 }, this));
|
223
224
|
});
|
224
225
|
const FunctionPromoteEditor = observer((props) => {
|
225
226
|
const { functionElement, activatorPromoteState } = props;
|
@@ -266,33 +267,33 @@ const FunctionPromoteEditor = observer((props) => {
|
|
266
267
|
const renderFunctionPromoteTypes = (type) => {
|
267
268
|
switch (type) {
|
268
269
|
case FUNCTION_ACTIVATE_TYPE.SNOWFLAKE_NATIVE_APP:
|
269
|
-
return (
|
270
|
+
return (_jsxDEV(BaseCard, { cardMedia: _jsxDEV(Snowflake_BrandIcon, { className: "function-promote-editor__type-icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 740, columnNumber: 26 }, this), cardName: type, cardContent: "Deploy the function as a UDTF(user-defined table function) in snowflake", isActive: activatorPromoteState.activateType ===
|
270
271
|
FUNCTION_ACTIVATE_TYPE.SNOWFLAKE_NATIVE_APP, onClick: () => {
|
271
272
|
activatorPromoteState.setAcitvateType(type);
|
272
|
-
} }, FUNCTION_ACTIVATE_TYPE.SNOWFLAKE_NATIVE_APP));
|
273
|
+
} }, FUNCTION_ACTIVATE_TYPE.SNOWFLAKE_NATIVE_APP, false, { fileName: _jsxFileName, lineNumber: 737, columnNumber: 19 }, this));
|
273
274
|
case FUNCTION_ACTIVATE_TYPE.HOSTED_SERVICE:
|
274
|
-
return (
|
275
|
+
return (_jsxDEV(BaseCard, { cardMedia: _jsxDEV(RocketIcon, { className: "function-promote-editor__type-icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 758, columnNumber: 26 }, this), cardName: type, cardContent: "Create a HostedService that will be deployed to a server environment and executed with a pattern", isActive: activatorPromoteState.activateType ===
|
275
276
|
FUNCTION_ACTIVATE_TYPE.HOSTED_SERVICE, onClick: () => {
|
276
277
|
activatorPromoteState.setAcitvateType(type);
|
277
|
-
} }, FUNCTION_ACTIVATE_TYPE.HOSTED_SERVICE));
|
278
|
+
} }, FUNCTION_ACTIVATE_TYPE.HOSTED_SERVICE, false, { fileName: _jsxFileName, lineNumber: 755, columnNumber: 19 }, this));
|
278
279
|
case FUNCTION_ACTIVATE_TYPE.SERVICE_JAR:
|
279
|
-
return (
|
280
|
-
FUNCTION_ACTIVATE_TYPE.SERVICE_JAR }, FUNCTION_ACTIVATE_TYPE.SERVICE_JAR));
|
280
|
+
return (_jsxDEV(BaseCard, { cardMedia: _jsxDEV("div", { className: "coming-soon-label", children: "Coming Soon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 776, columnNumber: 26 }, this), cardName: type, cardContent: "Deploy the function in the definition of a Store persistence", isDisable: true, isActive: activatorPromoteState.activateType ===
|
281
|
+
FUNCTION_ACTIVATE_TYPE.SERVICE_JAR }, FUNCTION_ACTIVATE_TYPE.SERVICE_JAR, false, { fileName: _jsxFileName, lineNumber: 773, columnNumber: 19 }, this));
|
281
282
|
case FUNCTION_ACTIVATE_TYPE.REFINER:
|
282
|
-
return (
|
283
|
-
FUNCTION_ACTIVATE_TYPE.REFINER }, FUNCTION_ACTIVATE_TYPE.REFINER));
|
283
|
+
return (_jsxDEV(BaseCard, { cardMedia: _jsxDEV("div", { className: "coming-soon-label", children: "Coming Soon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 790, columnNumber: 26 }, this), cardName: type, cardContent: "Use the service in a refiner context", isDisable: true, isActive: activatorPromoteState.activateType ===
|
284
|
+
FUNCTION_ACTIVATE_TYPE.REFINER }, FUNCTION_ACTIVATE_TYPE.REFINER, false, { fileName: _jsxFileName, lineNumber: 787, columnNumber: 19 }, this));
|
284
285
|
case FUNCTION_ACTIVATE_TYPE.BIG_QUERY_NATIVE_APP:
|
285
|
-
return (
|
286
|
-
FUNCTION_ACTIVATE_TYPE.BIG_QUERY_NATIVE_APP }, FUNCTION_ACTIVATE_TYPE.BIG_QUERY_NATIVE_APP));
|
286
|
+
return (_jsxDEV(BaseCard, { cardMedia: _jsxDEV("div", { className: "coming-soon-label", children: "Coming Soon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 804, columnNumber: 26 }, this), cardName: type, cardContent: "Deploy the function as a UDTF(user-defined table function) in BigQuery", isDisable: true, isActive: activatorPromoteState.activateType ===
|
287
|
+
FUNCTION_ACTIVATE_TYPE.BIG_QUERY_NATIVE_APP }, FUNCTION_ACTIVATE_TYPE.BIG_QUERY_NATIVE_APP, false, { fileName: _jsxFileName, lineNumber: 801, columnNumber: 19 }, this));
|
287
288
|
default:
|
288
|
-
return
|
289
|
+
return _jsxDEV(_Fragment, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 815, columnNumber: 17 }, this);
|
289
290
|
}
|
290
291
|
};
|
291
|
-
return (
|
292
|
+
return (_jsxDEV(Dialog, { open: activatorPromoteState.isActivatingFunction, onClose: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "function-promote-editor", children: [_jsxDEV(ModalBody, { className: "function-promote-editor__content", children: [_jsxDEV("div", { className: "function-promote-editor__content__prompt", children: "Select any one of the following activator types to continue" }, void 0, false, { fileName: _jsxFileName, lineNumber: 833, columnNumber: 13 }, this), _jsxDEV("div", { className: "function-promote-editor__content__activator-types", children: Object.values(FUNCTION_ACTIVATE_TYPE).map((type) => renderFunctionPromoteTypes(type)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 836, columnNumber: 13 }, this), _jsxDEV("div", { className: "function-promote-editor__content__prompt", children: "Target Path" }, void 0, false, { fileName: _jsxFileName, lineNumber: 841, columnNumber: 13 }, this), _jsxDEV(InputWithInlineValidation, { className: "panel__content__form__section__input", spellCheck: false, onChange: onTargetPathChange, value: activatorPromoteState.activatorPath, error: elementAlreadyExistsMessage, showEditableIcon: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 844, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 832, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: [_jsxDEV(ModalFooterButton, { className: "function-promote-editor__action-btn", onClick: closeModal, title: "Close", type: "secondary", children: "Cancel" }, void 0, false, { fileName: _jsxFileName, lineNumber: 854, columnNumber: 13 }, this), _jsxDEV(ModalFooterButton, { className: "function-promote-editor__action-btn function-promote-editor__action-btn--primitive", disabled: !activatorPromoteState.activateType ||
|
292
293
|
!validateFunctionActivator(activatorPromoteState.activateType), title: activatorPromoteState.activateType &&
|
293
294
|
validateFunctionActivator(activatorPromoteState.activateType)
|
294
295
|
? ''
|
295
|
-
: validationMessage, onClick: promoteFunction, children: "Activate" })] })] }) }));
|
296
|
+
: validationMessage, onClick: promoteFunction, children: "Activate" }, void 0, false, { fileName: _jsxFileName, lineNumber: 862, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 853, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 826, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 819, columnNumber: 13 }, this));
|
296
297
|
});
|
297
298
|
const FunctionDefinitionEditor = observer((props) => {
|
298
299
|
const { functionEditorState, isReadOnly } = props;
|
@@ -329,21 +330,21 @@ const FunctionDefinitionEditor = observer((props) => {
|
|
329
330
|
const renderFuncResult = () => {
|
330
331
|
if (execResult instanceof RawExecutionResult) {
|
331
332
|
const val = execResult.value === null ? 'null' : execResult.value.toString();
|
332
|
-
return (
|
333
|
+
return (_jsxDEV(CodeEditor, { language: CODE_EDITOR_LANGUAGE.TEXT, inputValue: val, isReadOnly: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 945, columnNumber: 17 }, this));
|
333
334
|
}
|
334
335
|
else if (execResult !== undefined) {
|
335
336
|
const json = returnUndefOnError(() => JSON.stringify(extractExecutionResultValues(execResult), null, DEFAULT_TAB_SIZE)) ?? JSON.stringify(execResult);
|
336
|
-
return (
|
337
|
+
return (_jsxDEV(CodeEditor, { language: CODE_EDITOR_LANGUAGE.JSON, inputValue: json, isReadOnly: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 961, columnNumber: 17 }, this));
|
337
338
|
}
|
338
|
-
return
|
339
|
+
return _jsxDEV(BlankPanelContent, { children: "Function Did Not Run" }, void 0, false, { fileName: _jsxFileName, lineNumber: 969, columnNumber: 13 }, this);
|
339
340
|
};
|
340
|
-
return (
|
341
|
-
functionEditorState.isRunningFunc }),
|
341
|
+
return (_jsxDEV(_Fragment, { children: [_jsxDEV(PanelLoadingIndicator, { isLoading: functionEditorState.isGeneratingPlan ||
|
342
|
+
functionEditorState.isRunningFunc }, void 0, false, { fileName: _jsxFileName, lineNumber: 974, columnNumber: 9 }, this), _jsxDEV("div", { className: "function-editor__definition", children: [_jsxDEV("div", { className: "function-editor__definition__item", children: [_jsxDEV("div", { className: "function-editor__definition__item__header", children: [_jsxDEV("div", { className: "function-editor__definition__item__header__title", children: "PARAMETERS" }, void 0, false, { fileName: _jsxFileName, lineNumber: 983, columnNumber: 15 }, this), _jsxDEV("button", { className: "function-editor__definition__item__header__add-btn btn--dark", disabled: isReadOnly, onClick: addParameter, tabIndex: -1, title: "Add Parameter", children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 993, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 986, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 982, columnNumber: 13 }, this), _jsxDEV(DragPreviewLayer, { labelGetter: (item) => item.parameter.name === '' ? '(unknown)' : item.parameter.name, types: [FUNCTION_PARAMETER_DND_TYPE] }, void 0, false, { fileName: _jsxFileName, lineNumber: 996, columnNumber: 13 }, this), _jsxDEV("div", { ref: dropParameterRef, className: clsx('function-editor__definition__item__content', {
|
342
343
|
'panel__content__lists--dnd-over': isParameterDragOver && !isReadOnly,
|
343
|
-
}), children: [functionElement.parameters.map((param) => (
|
344
|
+
}), children: [functionElement.parameters.map((param) => (_jsxDEV(ParameterBasicEditor, { parameter: param, _func: functionElement, deleteParameter: deleteParameter(param), isReadOnly: isReadOnly }, param._UUID, false, { fileName: _jsxFileName, lineNumber: 1009, columnNumber: 59 }, this))), functionElement.parameters.length === 0 && (_jsxDEV("div", { className: "function-editor__definition__item__content--empty", children: "No parameters" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1018, columnNumber: 60 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1002, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 981, columnNumber: 11 }, this), _jsxDEV("div", { className: "function-editor__definition__item", children: [_jsxDEV("div", { className: "function-editor__definition__item__header", children: [_jsxDEV("div", { className: "function-editor__definition__item__header__title", children: "LAMBDA" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1027, columnNumber: 15 }, this), _jsxDEV("div", { className: "", children: _jsxDEV(ReturnTypeEditor, { functionElement: functionElement, isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 1031, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1030, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1026, columnNumber: 13 }, this), _jsxDEV("div", { className: clsx('function-editor__definition__item__content', {
|
344
345
|
backdrop__element: Boolean(functionEditorState.functionDefinitionEditorState.parserError),
|
345
|
-
}), children:
|
346
|
-
isReadOnly, lambdaEditorState: lambdaEditorState, forceBackdrop: false, autoFocus: true }) })] }),
|
346
|
+
}), children: _jsxDEV(LambdaEditor, { className: "function-editor__definition__lambda-editor lambda-editor--dark", disabled: lambdaEditorState.isConvertingFunctionBodyToString ||
|
347
|
+
isReadOnly, lambdaEditorState: lambdaEditorState, forceBackdrop: false, autoFocus: true }, void 0, false, { fileName: _jsxFileName, lineNumber: 1044, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1037, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1025, columnNumber: 11 }, this), _jsxDEV("div", { className: "function-editor__definition__item", children: [_jsxDEV("div", { className: "function-editor__definition__item__header", children: _jsxDEV("div", { className: "function-editor__definition__item__header__title", children: ["RESULT", _jsxDEV(PanelGroupItemExperimentalBadge, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1060, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1058, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1057, columnNumber: 13 }, this), _jsxDEV("div", { className: "function-editor__definition__item__content", children: _jsxDEV("div", { className: "function-editor__definition__result-viewer", children: renderFuncResult() }, void 0, false, { fileName: _jsxFileName, lineNumber: 1064, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1063, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1056, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 980, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 972, columnNumber: 13 }, this));
|
347
348
|
});
|
348
349
|
export const FunctionEditor = observer(() => {
|
349
350
|
const editorStore = useEditorStore();
|
@@ -439,7 +440,7 @@ export const FunctionEditor = observer(() => {
|
|
439
440
|
applicationStore.notificationService.notifyError(`Can't save query: ${error.message}`);
|
440
441
|
}
|
441
442
|
});
|
442
|
-
return (
|
443
|
+
return (_jsxDEV("button", { className: "query-builder__dialog__header__custom-action", tabIndex: -1, disabled: isReadOnly, onClick: save, children: "Save Query" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1270, columnNumber: 27 }, this));
|
443
444
|
},
|
444
445
|
},
|
445
446
|
],
|
@@ -453,9 +454,9 @@ export const FunctionEditor = observer(() => {
|
|
453
454
|
const openFunctionActivateModal = () => {
|
454
455
|
functionEditorState.activatorPromoteState.showFunctionActivateModal();
|
455
456
|
};
|
456
|
-
return (
|
457
|
+
return (_jsxDEV("div", { "data-testid": LEGEND_STUDIO_TEST_ID.FUNCTION_EDITOR, className: "function-editor uml-editor uml-editor--dark", children: _jsxDEV(Panel, { children: [_jsxDEV("div", { className: "panel__header", children: _jsxDEV("div", { className: "panel__header__title", children: [isReadOnly && (_jsxDEV("div", { className: "uml-element-editor__header__lock", children: _jsxDEV(LockIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1306, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1304, columnNumber: 29 }, this)), _jsxDEV("div", { className: "panel__header__title__label", children: "function" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1309, columnNumber: 13 }, this), _jsxDEV("div", { className: "panel__header__title__content", children: functionElement.functionName }, void 0, false, { fileName: _jsxFileName, lineNumber: 1310, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1303, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1302, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__header function-editor__tabs__header", children: [_jsxDEV("div", { className: "function-editor__tabs", children: Object.values(FUNCTION_EDITOR_TAB).map((tab) => (_jsxDEV("div", { onClick: changeTab(tab), className: clsx('function-editor__tab', {
|
457
458
|
'function-editor__tab--active': tab === selectedTab,
|
458
|
-
}), children: [prettyCONSTName(tab), tab === FUNCTION_EDITOR_TAB.TEST_SUITES && (
|
459
|
+
}), children: [prettyCONSTName(tab), tab === FUNCTION_EDITOR_TAB.TEST_SUITES && (_jsxDEV(DocumentationLink, { documentationKey: LEGEND_STUDIO_DOCUMENTATION_KEY.QUESTION_HOW_TO_WRITE_A_FUNCTION_TEST }, void 0, false, { fileName: _jsxFileName, lineNumber: 1326, columnNumber: 62 }, this))] }, tab, true, { fileName: _jsxFileName, lineNumber: 1317, columnNumber: 63 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1316, columnNumber: 11 }, this), _jsxDEV("div", { className: "panel__header__actions", children: [selectedTab === FUNCTION_EDITOR_TAB.DEFINITION && (_jsxDEV(_Fragment, { children: [_jsxDEV("div", { className: "btn__dropdown-combo btn__dropdown-combo--primary", children: _jsxDEV("button", { className: "btn__dropdown-combo__label", onClick: editWithQueryBuilder(), title: "Edit Query", tabIndex: -1, children: [_jsxDEV(PencilIcon, { className: "btn__dropdown-combo__label__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1346, columnNumber: 21 }, this), _jsxDEV("div", { className: "btn__dropdown-combo__label__title", children: "Edit" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1347, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1340, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1339, columnNumber: 17 }, this), _jsxDEV("div", { className: "btn__dropdown-combo btn__dropdown-combo--primary", children: functionEditorState.isRunningFunc ? (_jsxDEV("button", { className: "btn__dropdown-combo__canceler", onClick: cancelQuery, tabIndex: -1, children: _jsxDEV("div", { className: "btn--dark btn--caution btn__dropdown-combo__canceler__label", children: [_jsxDEV(PauseCircleIcon, { className: "btn__dropdown-combo__canceler__label__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1360, columnNumber: 25 }, this), _jsxDEV("div", { className: "btn__dropdown-combo__canceler__label__title", children: "Stop" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1361, columnNumber: 25 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1359, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1353, columnNumber: 57 }, this)) : (_jsxDEV(_Fragment, { children: [_jsxDEV("button", { className: "btn__dropdown-combo__label", onClick: runFunc, title: "Run Function", disabled: executionIsRunning, tabIndex: -1, children: [_jsxDEV(PlayIcon, { className: "btn__dropdown-combo__label__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1375, columnNumber: 25 }, this), _jsxDEV("div", { className: "btn__dropdown-combo__label__title", children: "Run" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1376, columnNumber: 25 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1368, columnNumber: 23 }, this), _jsxDEV(DropdownMenu, { className: "btn__dropdown-combo__dropdown-btn", disabled: executionIsRunning, content: _jsxDEV(MenuContent, { children: [_jsxDEV(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: generatePlan, children: "Generate Plan" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1385, columnNumber: 29 }, this), _jsxDEV(MenuContentItem, { className: "btn__dropdown-combo__option", onClick: debugPlanGeneration, children: "Debug" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1391, columnNumber: 29 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1383, columnNumber: 34 }, this), menuProps: {
|
459
460
|
anchorOrigin: {
|
460
461
|
vertical: 'bottom',
|
461
462
|
horizontal: 'right',
|
@@ -464,12 +465,12 @@ export const FunctionEditor = observer(() => {
|
|
464
465
|
vertical: 'top',
|
465
466
|
horizontal: 'right',
|
466
467
|
},
|
467
|
-
}, children:
|
468
|
+
}, children: _jsxDEV(CaretDownIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1410, columnNumber: 25 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1380, columnNumber: 23 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1366, columnNumber: 24 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1352, columnNumber: 17 }, this), _jsxDEV("div", { className: "btn__dropdown-combo btn__dropdown-combo--primary", children: _jsxDEV("button", { className: "btn__dropdown-combo__label", onClick: openFunctionActivateModal, title: "Activate function", tabIndex: -1, children: [_jsxDEV(RocketIcon, { className: "btn__dropdown-combo__label__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1422, columnNumber: 21 }, this), _jsxDEV("div", { className: "btn__dropdown-combo__label__title", children: "Activate" }, void 0, false, { fileName: _jsxFileName, lineNumber: 1423, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1416, columnNumber: 19 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1415, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1337, columnNumber: 65 }, this)), _jsxDEV("button", { className: "panel__header__action", disabled: isReadOnly || selectedTab === FUNCTION_EDITOR_TAB.DEFINITION, onClick: add, tabIndex: -1, title: addButtonTitle, children: _jsxDEV(PlusIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1439, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1430, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1336, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1315, columnNumber: 9 }, this), _jsxDEV(PanelContent, { children: [selectedTab === FUNCTION_EDITOR_TAB.DEFINITION && (_jsxDEV(FunctionDefinitionEditor, { functionEditorState: functionEditorState, isReadOnly: isReadOnly }, void 0, false, { fileName: _jsxFileName, lineNumber: 1444, columnNumber: 63 }, this)), selectedTab === FUNCTION_EDITOR_TAB.TAGGED_VALUES && (_jsxDEV("div", { ref: dropTaggedValueRef, className: clsx('panel__content__lists', {
|
468
469
|
'panel__content__lists--dnd-over': isTaggedValueDragOver && !isReadOnly,
|
469
|
-
}), children: [
|
470
|
+
}), children: [_jsxDEV(TaggedValueDragPreviewLayer, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1458, columnNumber: 15 }, this), functionElement.taggedValues.map((taggedValue) => (_jsxDEV(TaggedValueEditor, { annotatedElement: functionElement, taggedValue: taggedValue, deleteValue: _deleteTaggedValue(taggedValue), isReadOnly: isReadOnly, darkTheme: true }, taggedValue._UUID, false, { fileName: _jsxFileName, lineNumber: 1459, columnNumber: 67 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1450, columnNumber: 66 }, this)), selectedTab === FUNCTION_EDITOR_TAB.STEREOTYPES && (_jsxDEV("div", { ref: dropStereotypeRef, className: clsx('panel__content__lists', {
|
470
471
|
'panel__content__lists--dnd-over': isStereotypeDragOver && !isReadOnly,
|
471
|
-
}), children: [
|
472
|
-
.showModal && (
|
473
|
-
.observerContext, lambdaParametersState: functionEditorState.parametersState }))] }), functionEditorState.activatorPromoteState.isActivatingFunction && (
|
472
|
+
}), children: [_jsxDEV(StereotypeDragPreviewLayer, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 1479, columnNumber: 15 }, this), functionElement.stereotypes.map((stereotype) => (_jsxDEV(StereotypeSelector, { annotatedElement: functionElement, stereotype: stereotype, deleteStereotype: _deleteStereotype(stereotype), isReadOnly: isReadOnly, darkTheme: true }, stereotype.value._UUID, false, { fileName: _jsxFileName, lineNumber: 1480, columnNumber: 65 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1471, columnNumber: 64 }, this)), selectedTab === FUNCTION_EDITOR_TAB.TEST_SUITES && (_jsxDEV(FunctionTestableEditor, { functionTestableState: functionEditorState.functionTestableEditorState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1492, columnNumber: 64 }, this)), _jsxDEV(ExecutionPlanViewer, { executionPlanState: functionEditorState.executionPlanState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1499, columnNumber: 11 }, this), functionEditorState.parametersState.parameterValuesEditorState
|
473
|
+
.showModal && (_jsxDEV(LambdaParameterValuesEditor, { graph: functionEditorState.editorStore.graphManagerState.graph, observerContext: functionEditorState.editorStore.changeDetectionState
|
474
|
+
.observerContext, lambdaParametersState: functionEditorState.parametersState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1503, columnNumber: 28 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1443, columnNumber: 9 }, this), functionEditorState.activatorPromoteState.isActivatingFunction && (_jsxDEV(FunctionPromoteEditor, { functionElement: functionElement, activatorPromoteState: functionEditorState.activatorPromoteState }, void 0, false, { fileName: _jsxFileName, lineNumber: 1514, columnNumber: 77 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 1301, columnNumber: 7 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 1296, columnNumber: 11 }, this));
|
474
475
|
});
|
475
476
|
//# sourceMappingURL=FunctionEditor.js.map
|