@finos/legend-application-studio 28.18.35 → 28.18.36
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/ShowcaseManager.d.ts.map +1 -1
- package/lib/components/ShowcaseManager.js +2 -1
- package/lib/components/ShowcaseManager.js.map +1 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.js +2 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/editor-group/ModelImporter.d.ts.map +1 -1
- package/lib/components/editor/editor-group/ModelImporter.js +2 -1
- package/lib/components/editor/editor-group/ModelImporter.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.d.ts.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js +2 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.d.ts.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js +2 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +2 -1
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js +2 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js +2 -1
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.d.ts.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js +2 -1
- package/lib/components/editor/editor-group/diff-editor/EntityDiffView.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.d.ts.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js +2 -1
- package/lib/components/editor/editor-group/element-generation-editor/ElementNativeView.js.map +1 -1
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js +2 -1
- 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_SchemaSetElementEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +2 -1
- 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.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js +2 -1
- 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.map +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js +2 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.d.ts +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js +2 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js +2 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js +2 -1
- 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.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js +2 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js +2 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.d.ts.map +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js +2 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js.map +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.js +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.js.map +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js +2 -1
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.d.ts.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.js +2 -1
- package/lib/components/editor/side-bar/RegisterService.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +2 -1
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +2 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.d.ts.map +1 -1
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js +2 -1
- package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.d.ts.map +1 -1
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js +1 -1
- package/lib/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +6 -5
- package/lib/stores/LegendStudioApplicationPlugin.d.ts +3 -2
- package/lib/stores/LegendStudioApplicationPlugin.d.ts.map +1 -1
- package/lib/stores/LegendStudioApplicationPlugin.js +1 -1
- package/lib/stores/LegendStudioApplicationPlugin.js.map +1 -1
- package/lib/stores/editor/editor-state/ArtifactGenerationViewerState.d.ts +1 -1
- package/lib/stores/editor/editor-state/ArtifactGenerationViewerState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/ArtifactGenerationViewerState.js +1 -1
- package/lib/stores/editor/editor-state/ArtifactGenerationViewerState.js.map +1 -1
- package/lib/stores/editor/editor-state/GrammarTextEditorState.d.ts +1 -1
- package/lib/stores/editor/editor-state/GrammarTextEditorState.d.ts.map +1 -1
- package/lib/stores/editor/panel-group/SQLPlaygroundPanelState.js +1 -1
- package/lib/stores/editor/panel-group/SQLPlaygroundPanelState.js.map +1 -1
- package/lib/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts +1 -1
- package/lib/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -1
- package/lib/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts +1 -1
- package/lib/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -1
- package/lib/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts +1 -1
- package/lib/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.d.ts.map +1 -1
- package/package.json +17 -16
- package/src/components/ShowcaseManager.tsx +2 -4
- package/src/components/editor/editor-group/GrammarTextEditor.tsx +3 -3
- package/src/components/editor/editor-group/ModelImporter.tsx +2 -4
- package/src/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.tsx +2 -4
- package/src/components/editor/editor-group/connection-editor/DatabaseModelBuilder.tsx +2 -4
- package/src/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.tsx +2 -4
- package/src/components/editor/editor-group/data-editor/RelationalCSVDataEditor.tsx +2 -4
- package/src/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.tsx +3 -1
- package/src/components/editor/editor-group/diff-editor/EntityDiffView.tsx +2 -5
- package/src/components/editor/editor-group/element-generation-editor/ElementNativeView.tsx +2 -4
- package/src/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.tsx +2 -4
- package/src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx +2 -4
- package/src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx +2 -4
- package/src/components/editor/editor-group/function-activator/FunctionEditor.tsx +2 -4
- package/src/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.tsx +2 -4
- package/src/components/editor/editor-group/mapping-editor/MappingTestableEditor.tsx +2 -4
- package/src/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.tsx +2 -5
- package/src/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.tsx +2 -4
- package/src/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.tsx +2 -4
- package/src/components/editor/editor-group/testable/TestableSharedComponents.tsx +2 -5
- package/src/components/editor/panel-group/DevToolPanel.tsx +1 -1
- package/src/components/editor/panel-group/SQLPlaygroundPanel.tsx +1 -1
- package/src/components/editor/side-bar/Explorer.tsx +2 -4
- package/src/components/editor/side-bar/RegisterService.tsx +2 -4
- package/src/components/editor/side-bar/WorkflowManager.tsx +2 -4
- package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +2 -5
- package/src/components/extensions/Core_LegendStudioApplicationPlugin.tsx +2 -4
- package/src/components/extensions/DSL_ExternalFormat_LegendStudioApplicationPlugin.tsx +6 -3
- package/src/stores/LegendStudioApplicationPlugin.ts +3 -5
- package/src/stores/editor/editor-state/ArtifactGenerationViewerState.ts +1 -1
- package/src/stores/editor/editor-state/GrammarTextEditorState.ts +1 -1
- package/src/stores/editor/panel-group/SQLPlaygroundPanelState.ts +1 -1
- package/src/stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.ts +1 -1
- package/src/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts +1 -1
- package/src/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.ts +1 -1
@@ -96,10 +96,8 @@ import {
|
|
96
96
|
ExecutionPlanViewer,
|
97
97
|
type QueryBuilderState,
|
98
98
|
} from '@finos/legend-query-builder';
|
99
|
-
import {
|
100
|
-
|
101
|
-
CodeEditor,
|
102
|
-
} from '@finos/legend-lego/code-editor';
|
99
|
+
import { CODE_EDITOR_LANGUAGE } from '@finos/legend-code-editor';
|
100
|
+
import { CodeEditor } from '@finos/legend-lego/code-editor';
|
103
101
|
|
104
102
|
interface ClassMappingSelectOption {
|
105
103
|
label: string;
|
@@ -92,10 +92,8 @@ import {
|
|
92
92
|
type QueryBuilderState,
|
93
93
|
} from '@finos/legend-query-builder';
|
94
94
|
import { MappingExecutionQueryBuilderState } from '../../../../stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js';
|
95
|
-
import {
|
96
|
-
|
97
|
-
CodeEditor,
|
98
|
-
} from '@finos/legend-lego/code-editor';
|
95
|
+
import { CODE_EDITOR_LANGUAGE } from '@finos/legend-code-editor';
|
96
|
+
import { CodeEditor } from '@finos/legend-lego/code-editor';
|
99
97
|
import { atomicTest_setDoc } from '../../../../stores/graph-modifier/Testable_GraphModifierHelper.js';
|
100
98
|
import {
|
101
99
|
RenameModal,
|
package/src/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.tsx
CHANGED
@@ -93,11 +93,8 @@ import {
|
|
93
93
|
ExecutionPlanViewer,
|
94
94
|
} from '@finos/legend-query-builder';
|
95
95
|
import { MappingExecutionQueryBuilderState } from '../../../../../stores/editor/editor-state/element-editor-state/mapping/MappingExecutionQueryBuilderState.js';
|
96
|
-
import {
|
97
|
-
|
98
|
-
CodeEditor,
|
99
|
-
JSONDiffView,
|
100
|
-
} from '@finos/legend-lego/code-editor';
|
96
|
+
import { CODE_EDITOR_LANGUAGE } from '@finos/legend-code-editor';
|
97
|
+
import { CodeEditor, JSONDiffView } from '@finos/legend-lego/code-editor';
|
101
98
|
|
102
99
|
const MappingTestQueryEditor = observer(
|
103
100
|
(props: { testState: DEPRECATED__MappingTestState; isReadOnly: boolean }) => {
|
package/src/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.tsx
CHANGED
@@ -33,10 +33,8 @@ import {
|
|
33
33
|
MIGRATE_PHASE,
|
34
34
|
type MappingTestMigrationState,
|
35
35
|
} from '../../../../../stores/editor/editor-state/element-editor-state/mapping/legacy/MappingTestMigrationState.js';
|
36
|
-
import {
|
37
|
-
|
38
|
-
CodeDiffView,
|
39
|
-
} from '@finos/legend-lego/code-editor';
|
36
|
+
import { CODE_EDITOR_LANGUAGE } from '@finos/legend-code-editor';
|
37
|
+
import { CodeDiffView } from '@finos/legend-lego/code-editor';
|
40
38
|
|
41
39
|
export const MappingTestMigrationTool = observer(
|
42
40
|
(props: {
|
@@ -63,10 +63,8 @@ import {
|
|
63
63
|
SNAPSHOT_VERSION_ALIAS,
|
64
64
|
} from '@finos/legend-server-depot';
|
65
65
|
import type { ProjectGAVCoordinates } from '@finos/legend-storage';
|
66
|
-
import {
|
67
|
-
|
68
|
-
CodeEditor,
|
69
|
-
} from '@finos/legend-lego/code-editor';
|
66
|
+
import { CODE_EDITOR_LANGUAGE } from '@finos/legend-code-editor';
|
67
|
+
import { CodeEditor } from '@finos/legend-lego/code-editor';
|
70
68
|
import { EXTERNAL_APPLICATION_NAVIGATION__generateServiceQueryCreatorUrl } from '../../../../__lib__/LegendStudioNavigation.js';
|
71
69
|
import type { EditorStore } from '../../../../stores/editor/EditorStore.js';
|
72
70
|
import { pureExecution_setFunction } from '../../../../stores/graph-modifier/DSL_Service_GraphModifierHelper.js';
|
@@ -64,11 +64,8 @@ import {
|
|
64
64
|
import { externalFormatData_setData } from '../../../../stores/graph-modifier/DSL_Data_GraphModifierHelper.js';
|
65
65
|
import { TESTABLE_RESULT } from '../../../../stores/editor/sidebar-state/testable/GlobalTestRunnerState.js';
|
66
66
|
import { UnsupportedEditorPanel } from '../UnsupportedElementEditor.js';
|
67
|
-
import {
|
68
|
-
|
69
|
-
CodeEditor,
|
70
|
-
JSONDiffView,
|
71
|
-
} from '@finos/legend-lego/code-editor';
|
67
|
+
import { CodeEditor, JSONDiffView } from '@finos/legend-lego/code-editor';
|
68
|
+
import { CODE_EDITOR_LANGUAGE } from '@finos/legend-code-editor';
|
72
69
|
import { forwardRef, useState } from 'react';
|
73
70
|
import type { TestableTestEditorState } from '../../../../stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js';
|
74
71
|
import { getTestableResultIcon } from '../../side-bar/testable/GlobalTestRunner.js';
|
@@ -196,7 +196,7 @@ export const DevToolPanel = observer(() => {
|
|
196
196
|
/>
|
197
197
|
<PanelFormBooleanField
|
198
198
|
name="Generate Artifact Generations"
|
199
|
-
prompt="Include generation of
|
199
|
+
prompt="Include generation of artifact extensions during generation action (F10)"
|
200
200
|
value={
|
201
201
|
editorStore.graphState.graphGenerationState.enableArtifactGeneration
|
202
202
|
}
|
@@ -138,10 +138,8 @@ import {
|
|
138
138
|
CLASS_MOCK_DATA_GENERATION_FORMAT,
|
139
139
|
createMockDataForClassWithFormat,
|
140
140
|
} from '../../../stores/editor/utils/MockDataUtils.js';
|
141
|
-
import {
|
142
|
-
|
143
|
-
CodeEditor,
|
144
|
-
} from '@finos/legend-lego/code-editor';
|
141
|
+
import { CODE_EDITOR_LANGUAGE } from '@finos/legend-code-editor';
|
142
|
+
import { CodeEditor } from '@finos/legend-lego/code-editor';
|
145
143
|
import { DatabaseBuilderWizard } from '../editor-group/connection-editor/DatabaseBuilderWizard.js';
|
146
144
|
import { DatabaseModelBuilder } from '../editor-group/connection-editor/DatabaseModelBuilder.js';
|
147
145
|
import { queryService } from '../editor-group/service-editor/ServiceExecutionQueryEditor.js';
|
@@ -54,10 +54,8 @@ import {
|
|
54
54
|
} from '@finos/legend-graph';
|
55
55
|
import { generateServiceManagementUrl } from '../../../stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js';
|
56
56
|
import { useApplicationStore } from '@finos/legend-application';
|
57
|
-
import {
|
58
|
-
|
59
|
-
CODE_EDITOR_LANGUAGE,
|
60
|
-
} from '@finos/legend-lego/code-editor';
|
57
|
+
import { CODE_EDITOR_LANGUAGE } from '@finos/legend-code-editor';
|
58
|
+
import { CodeEditor } from '@finos/legend-lego/code-editor';
|
61
59
|
|
62
60
|
export const getRegistrationStatusIcon = (
|
63
61
|
isSelected: boolean,
|
@@ -62,10 +62,8 @@ import {
|
|
62
62
|
guaranteeType,
|
63
63
|
isNonNullable,
|
64
64
|
} from '@finos/legend-shared';
|
65
|
-
import {
|
66
|
-
|
67
|
-
CodeEditor,
|
68
|
-
} from '@finos/legend-lego/code-editor';
|
65
|
+
import { CODE_EDITOR_LANGUAGE } from '@finos/legend-code-editor';
|
66
|
+
import { CodeEditor } from '@finos/legend-lego/code-editor';
|
69
67
|
|
70
68
|
const getWorkflowStatusIcon = (
|
71
69
|
workflowStatus: WorkflowStatus,
|
@@ -83,11 +83,8 @@ import { LEGEND_STUDIO_TEST_ID } from '../../../../__lib__/LegendStudioTesting.j
|
|
83
83
|
import { getElementTypeIcon } from '../../../ElementIconUtils.js';
|
84
84
|
import { UnsupportedEditorPanel } from '../../editor-group/UnsupportedElementEditor.js';
|
85
85
|
import { useEditorStore } from '../../EditorStoreProvider.js';
|
86
|
-
import {
|
87
|
-
|
88
|
-
CodeEditor,
|
89
|
-
CodeDiffView,
|
90
|
-
} from '@finos/legend-lego/code-editor';
|
86
|
+
import { CODE_EDITOR_LANGUAGE } from '@finos/legend-code-editor';
|
87
|
+
import { CodeEditor, CodeDiffView } from '@finos/legend-lego/code-editor';
|
91
88
|
|
92
89
|
export const getTestableResultIcon = (
|
93
90
|
testableResult: TESTABLE_RESULT,
|
@@ -37,10 +37,8 @@ import {
|
|
37
37
|
} from '../../stores/LegendStudioApplicationPlugin.js';
|
38
38
|
import { LEGEND_STUDIO_COMMAND_CONFIG } from '../../__lib__/LegendStudioCommand.js';
|
39
39
|
import { LEGEND_STUDIO_SETTING_CONFIG } from '../../__lib__/LegendStudioSetting.js';
|
40
|
-
import {
|
41
|
-
|
42
|
-
setupPureLanguageService,
|
43
|
-
} from '@finos/legend-lego/code-editor';
|
40
|
+
import { setupPureLanguageService } from '@finos/legend-code-editor';
|
41
|
+
import { configureCodeEditorComponent } from '@finos/legend-lego/code-editor';
|
44
42
|
import { STO_RELATIONAL_LEGEND_STUDIO_COMMAND_CONFIG } from '../../__lib__/STO_Relational_LegendStudioCommand.js';
|
45
43
|
import { ShowcaseManager } from '../ShowcaseManager.js';
|
46
44
|
import { CabinetIcon } from '@finos/legend-art';
|
@@ -34,7 +34,11 @@ import {
|
|
34
34
|
NewExternalFormatConnectionDriver,
|
35
35
|
} from '../editor/editor-group/external-format-editor/DSL_ExternalFormat_ExternalFormatConnectionEditor.js';
|
36
36
|
import { BindingEditor } from '../editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js';
|
37
|
-
import {
|
37
|
+
import {
|
38
|
+
guaranteeNonNullable,
|
39
|
+
prettyCONSTName,
|
40
|
+
type DocumentationEntry,
|
41
|
+
} from '@finos/legend-shared';
|
38
42
|
import type { ReactNode } from 'react';
|
39
43
|
import {
|
40
44
|
type ElementEditorRenderer,
|
@@ -71,7 +75,6 @@ import {
|
|
71
75
|
externalFormat_Binding_setContentType,
|
72
76
|
externalFormat_urlStream_setUrl,
|
73
77
|
} from '../../stores/graph-modifier/DSL_ExternalFormat_GraphModifierHelper.js';
|
74
|
-
import type { DocumentationEntry } from '@finos/legend-application';
|
75
78
|
import { DSL_EXTERNAL_FORMAT_LEGEND_STUDIO_DOCUMENTATION_KEY } from '../../__lib__/DSL_ExternalFormat_LegendStudioDocumentation.js';
|
76
79
|
import {
|
77
80
|
BASIC_BINDING_SNIPPET,
|
@@ -89,7 +92,7 @@ import type {
|
|
89
92
|
NewElementDriver,
|
90
93
|
NewElementState,
|
91
94
|
} from '../../stores/editor/NewElementState.js';
|
92
|
-
import type { PureGrammarTextSuggestion } from '@finos/legend-
|
95
|
+
import type { PureGrammarTextSuggestion } from '@finos/legend-code-editor';
|
93
96
|
import { PACKAGEABLE_ELEMENT_GROUP_BY_CATEGORY } from '../../stores/editor/utils/ModelClassifierUtils.js';
|
94
97
|
|
95
98
|
const SCHEMA_SET_ELEMENT_TYPE = 'SCHEMASET';
|
@@ -25,16 +25,14 @@ import type {
|
|
25
25
|
NewElementState,
|
26
26
|
} from './editor/NewElementState.js';
|
27
27
|
import type { Class, PackageableElement, Testable } from '@finos/legend-graph';
|
28
|
-
import {
|
29
|
-
type DocumentationEntry,
|
30
|
-
LegendApplicationPlugin,
|
31
|
-
} from '@finos/legend-application';
|
28
|
+
import { LegendApplicationPlugin } from '@finos/legend-application';
|
32
29
|
import type { TestableMetadata } from './editor/sidebar-state/testable/GlobalTestRunnerState.js';
|
33
30
|
import type {
|
34
31
|
ExtensionModelImportRendererState,
|
35
32
|
ModelImporterState,
|
36
33
|
} from './editor/editor-state/ModelImporterState.js';
|
37
|
-
import type { PureGrammarTextSuggestion } from '@finos/legend-
|
34
|
+
import type { PureGrammarTextSuggestion } from '@finos/legend-code-editor';
|
35
|
+
import type { DocumentationEntry } from '@finos/legend-shared';
|
38
36
|
|
39
37
|
export type ExplorerContextMenuItemRendererConfiguration = {
|
40
38
|
key: string;
|
@@ -19,7 +19,7 @@ import { EditorState } from './EditorState.js';
|
|
19
19
|
import { observable, makeObservable, computed } from 'mobx';
|
20
20
|
import { returnUndefOnError } from '@finos/legend-shared';
|
21
21
|
import { DEFAULT_TAB_SIZE } from '@finos/legend-application';
|
22
|
-
import { CODE_EDITOR_LANGUAGE } from '@finos/legend-
|
22
|
+
import { CODE_EDITOR_LANGUAGE } from '@finos/legend-code-editor';
|
23
23
|
import type { FileSystem_File } from '../utils/FileSystemTreeUtils.js';
|
24
24
|
|
25
25
|
export const getTextContent = (
|
@@ -19,7 +19,7 @@ import { action, computed, makeObservable, observable } from 'mobx';
|
|
19
19
|
import { hashValue } from '@finos/legend-shared';
|
20
20
|
import type { SourceInformation } from '@finos/legend-graph';
|
21
21
|
import { LEGEND_STUDIO_SETTING_KEY } from '../../../__lib__/LegendStudioSetting.js';
|
22
|
-
import type { CodeEditorPosition } from '@finos/legend-
|
22
|
+
import type { CodeEditorPosition } from '@finos/legend-code-editor';
|
23
23
|
|
24
24
|
export class GrammarTextEditorState {
|
25
25
|
readonly editorStore: EditorStore;
|
@@ -33,7 +33,7 @@ import type { EditorStore } from '../EditorStore.js';
|
|
33
33
|
import {
|
34
34
|
CODE_EDITOR_LANGUAGE,
|
35
35
|
moveCursorToPosition,
|
36
|
-
} from '@finos/legend-
|
36
|
+
} from '@finos/legend-code-editor';
|
37
37
|
import type { CommandRegistrar } from '@finos/legend-application';
|
38
38
|
import { STO_RELATIONAL_LEGEND_STUDIO_COMMAND_KEY } from '../../../__lib__/STO_Relational_LegendStudioCommand.js';
|
39
39
|
import { PANEL_MODE } from '../EditorConfig.js';
|
@@ -24,7 +24,7 @@ import type { EmbeddedDataTypeOption } from '../editor/editor-state/element-edit
|
|
24
24
|
import type { EmbeddedDataState } from '../editor/editor-state/element-editor-state/data/EmbeddedDataState.js';
|
25
25
|
import type { EditorStore } from '../editor/EditorStore.js';
|
26
26
|
import type { DSL_LegendStudioApplicationPlugin_Extension } from '../LegendStudioApplicationPlugin.js';
|
27
|
-
import type { ElementEmbeddedContentSnippetSuggestion } from '@finos/legend-
|
27
|
+
import type { ElementEmbeddedContentSnippetSuggestion } from '@finos/legend-code-editor';
|
28
28
|
|
29
29
|
export type EmbeddedDataEditorStateBuilder = (
|
30
30
|
editorStore: EditorStore,
|
@@ -33,7 +33,7 @@ import type {
|
|
33
33
|
MappingElementState,
|
34
34
|
PropertyMappingState,
|
35
35
|
} from '../editor/editor-state/element-editor-state/mapping/MappingElementState.js';
|
36
|
-
import type { PureGrammarTextSuggestion } from '@finos/legend-
|
36
|
+
import type { PureGrammarTextSuggestion } from '@finos/legend-code-editor';
|
37
37
|
|
38
38
|
type MappingSourceTypeInfo = {
|
39
39
|
sourceType: string;
|
@@ -23,7 +23,7 @@ import type {
|
|
23
23
|
} from '@finos/legend-graph';
|
24
24
|
import type { RelationalDatabaseConnectionValueState } from '../editor/editor-state/element-editor-state/connection/ConnectionEditorState.js';
|
25
25
|
import type { PostProcessorEditorState } from '../editor/editor-state/element-editor-state/connection/PostProcessorEditorState.js';
|
26
|
-
import type { ElementEmbeddedContentSnippetSuggestion } from '@finos/legend-
|
26
|
+
import type { ElementEmbeddedContentSnippetSuggestion } from '@finos/legend-code-editor';
|
27
27
|
|
28
28
|
/**
|
29
29
|
* NOTE: The tab-stop index of the snippet must start from 6
|