@finos/legend-application-studio 26.1.9 → 26.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/editor/StatusBar.d.ts.map +1 -1
- package/lib/components/editor/StatusBar.js +1 -4
- package/lib/components/editor/StatusBar.js.map +1 -1
- package/lib/components/editor/editor-group/{FileGenerationViewer.d.ts → ArtifactGenerationViewer.d.ts} +2 -2
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.d.ts.map +1 -0
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.js +32 -0
- package/lib/components/editor/editor-group/ArtifactGenerationViewer.js.map +1 -0
- package/lib/components/editor/editor-group/EditorGroup.js +6 -6
- package/lib/components/editor/editor-group/EditorGroup.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js +1 -1
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js +1 -1
- 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.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.d.ts.map +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.js +4 -1
- package/lib/components/editor/panel-group/DevToolPanel.js.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.js +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js +1 -1
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +3 -3
- package/lib/stores/editor/EditorGraphState.d.ts.map +1 -1
- package/lib/stores/editor/EditorGraphState.js +7 -6
- package/lib/stores/editor/EditorGraphState.js.map +1 -1
- package/lib/stores/editor/EditorStore.js +2 -2
- package/lib/stores/editor/EditorStore.js.map +1 -1
- package/lib/stores/editor/ExplorerTreeState.d.ts +3 -3
- package/lib/stores/editor/ExplorerTreeState.d.ts.map +1 -1
- package/lib/stores/editor/ExplorerTreeState.js +10 -10
- package/lib/stores/editor/ExplorerTreeState.js.map +1 -1
- package/lib/stores/editor/NewElementState.d.ts +3 -3
- package/lib/stores/editor/NewElementState.d.ts.map +1 -1
- package/lib/stores/editor/NewElementState.js +2 -2
- package/lib/stores/editor/NewElementState.js.map +1 -1
- package/lib/stores/editor/editor-state/{FileGenerationViewerState.d.ts → ArtifactGenerationViewerState.d.ts} +4 -4
- package/lib/stores/editor/editor-state/ArtifactGenerationViewerState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/{FileGenerationViewerState.js → ArtifactGenerationViewerState.js} +10 -9
- package/lib/stores/editor/editor-state/ArtifactGenerationViewerState.js.map +1 -0
- package/lib/stores/editor/editor-state/FileGenerationState.js +1 -1
- package/lib/stores/editor/editor-state/FileGenerationState.js.map +1 -1
- package/lib/stores/editor/editor-state/GraphGenerationState.d.ts +32 -19
- package/lib/stores/editor/editor-state/GraphGenerationState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/GraphGenerationState.js +173 -113
- package/lib/stores/editor/editor-state/GraphGenerationState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js.map +1 -1
- package/lib/stores/project-view/ProjectViewerStore.js +1 -1
- package/lib/stores/project-view/ProjectViewerStore.js.map +1 -1
- package/package.json +13 -13
- package/src/components/editor/StatusBar.tsx +1 -4
- package/src/components/editor/editor-group/{FileGenerationViewer.tsx → ArtifactGenerationViewer.tsx} +28 -25
- package/src/components/editor/editor-group/EditorGroup.tsx +6 -6
- package/src/components/editor/editor-group/data-editor/DataElementEditor.tsx +1 -1
- package/src/components/editor/editor-group/data-editor/EmbeddedDataEditor.tsx +1 -1
- package/src/components/editor/editor-group/element-generation-editor/FileGenerationEditor.tsx +1 -1
- package/src/components/editor/editor-group/element-generation-editor/FileSystemViewer.tsx +4 -4
- package/src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx +1 -1
- package/src/components/editor/panel-group/DevToolPanel.tsx +14 -0
- package/src/components/editor/side-bar/CreateNewElementModal.tsx +3 -5
- package/src/components/editor/side-bar/Explorer.tsx +1 -1
- package/src/stores/editor/EditorGraphState.ts +7 -6
- package/src/stores/editor/EditorStore.ts +2 -2
- package/src/stores/editor/ExplorerTreeState.ts +10 -10
- package/src/stores/editor/NewElementState.ts +5 -5
- package/src/stores/editor/editor-state/{FileGenerationViewerState.ts → ArtifactGenerationViewerState.ts} +12 -9
- package/src/stores/editor/editor-state/FileGenerationState.ts +1 -1
- package/src/stores/editor/editor-state/GraphGenerationState.ts +258 -170
- package/src/stores/editor/editor-state/element-editor-state/ElementEditorState.ts +1 -1
- package/src/stores/project-view/ProjectViewerStore.ts +1 -1
- package/tsconfig.json +2 -2
- package/lib/components/editor/editor-group/FileGenerationViewer.d.ts.map +0 -1
- package/lib/components/editor/editor-group/FileGenerationViewer.js +0 -32
- package/lib/components/editor/editor-group/FileGenerationViewer.js.map +0 -1
- package/lib/stores/editor/editor-state/FileGenerationViewerState.d.ts.map +0 -1
- package/lib/stores/editor/editor-state/FileGenerationViewerState.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ProjectViewerStore.js","sourceRoot":"","sources":["../../../src/stores/project-view/ProjectViewerStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE9E,OAAO,EAGL,iBAAiB,EACjB,cAAc,EACd,QAAQ,EACR,iBAAiB,EACjB,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,6BAA6B,EAC7B,wBAAwB,EACxB,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAIL,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,oBAAoB,EACpB,QAAQ,EACR,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAEL,kCAAkC,EAClC,2BAA2B,GAC5B,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,mBAAmB,EACnB,2BAA2B,EAC3B,6BAA6B,EAC7B,iBAAiB,EACjB,wBAAwB,EACxB,UAAU,GACX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,eAAe,EAAE,MAAM,4CAA4C,CAAC;AAO7E,MAAM,OAAO,kBAAkB;IACpB,WAAW,CAAc;IAClC,eAAe,CAAwB;IACvC,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QAAQ,CAAC,MAAM,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,EAC7D,KAAK,CACN,CAAC;YACF,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YACzE,OAAO,CAAC,KAAK,CAAC,CAAC;SAChB;IACH,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"ProjectViewerStore.js","sourceRoot":"","sources":["../../../src/stores/project-view/ProjectViewerStore.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE9E,OAAO,EAGL,iBAAiB,EACjB,cAAc,EACd,QAAQ,EACR,iBAAiB,EACjB,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,6BAA6B,EAC7B,wBAAwB,EACxB,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAIL,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,oBAAoB,EACpB,QAAQ,EACR,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAC9E,OAAO,EAEL,kCAAkC,EAClC,2BAA2B,GAC5B,MAAM,iDAAiD,CAAC;AACzD,OAAO,EACL,mBAAmB,EACnB,2BAA2B,EAC3B,6BAA6B,EAC7B,iBAAiB,EACjB,wBAAwB,EACxB,UAAU,GACX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,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C;aACH;YAED,OAAO,CAAC,IAAI,CAAC,CAAC;SACf;QAAC,OAAO,KAAK,EAAE;YACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CAChD,QAAQ,CAAC,MAAM,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,EAC7D,KAAK,CACN,CAAC;YACF,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YACzE,OAAO,CAAC,KAAK,CAAC,CAAC;SAChB;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-application-studio",
|
3
|
-
"version": "26.1.
|
3
|
+
"version": "26.1.10",
|
4
4
|
"description": "Legend Studio application core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -45,18 +45,18 @@
|
|
45
45
|
"test:watch": "jest --watch"
|
46
46
|
},
|
47
47
|
"dependencies": {
|
48
|
-
"@finos/legend-application": "15.0.
|
49
|
-
"@finos/legend-art": "7.0.
|
50
|
-
"@finos/legend-graph": "30.0.
|
51
|
-
"@finos/legend-lego": "1.0.
|
52
|
-
"@finos/legend-query-builder": "4.0.
|
53
|
-
"@finos/legend-server-depot": "6.0.
|
54
|
-
"@finos/legend-server-sdlc": "5.0.
|
55
|
-
"@finos/legend-shared": "10.0.
|
56
|
-
"@finos/legend-storage": "3.0.
|
48
|
+
"@finos/legend-application": "15.0.22",
|
49
|
+
"@finos/legend-art": "7.0.22",
|
50
|
+
"@finos/legend-graph": "30.0.7",
|
51
|
+
"@finos/legend-lego": "1.0.20",
|
52
|
+
"@finos/legend-query-builder": "4.0.11",
|
53
|
+
"@finos/legend-server-depot": "6.0.14",
|
54
|
+
"@finos/legend-server-sdlc": "5.0.15",
|
55
|
+
"@finos/legend-shared": "10.0.13",
|
56
|
+
"@finos/legend-storage": "3.0.63",
|
57
57
|
"@testing-library/react": "14.0.0",
|
58
|
-
"@types/react": "18.2.
|
59
|
-
"@types/react-dom": "18.2.
|
58
|
+
"@types/react": "18.2.12",
|
59
|
+
"@types/react-dom": "18.2.5",
|
60
60
|
"fast-xml-parser": "4.2.4",
|
61
61
|
"mobx": "6.9.0",
|
62
62
|
"mobx-react-lite": "3.4.3",
|
@@ -70,7 +70,7 @@
|
|
70
70
|
"yaml": "2.3.1"
|
71
71
|
},
|
72
72
|
"devDependencies": {
|
73
|
-
"@finos/legend-dev-utils": "2.0.
|
73
|
+
"@finos/legend-dev-utils": "2.0.67",
|
74
74
|
"@jest/globals": "29.5.0",
|
75
75
|
"cross-env": "7.0.3",
|
76
76
|
"eslint": "8.42.0",
|
@@ -313,10 +313,7 @@ export const StatusBar = observer((props: { actionsDisabled: boolean }) => {
|
|
313
313
|
},
|
314
314
|
)}
|
315
315
|
disabled={
|
316
|
-
editorStore.graphState.isApplicationUpdateOperationIsRunning
|
317
|
-
actionsDisabled ||
|
318
|
-
!editorStore.graphManagerState.graph.ownGenerationSpecifications
|
319
|
-
.length
|
316
|
+
editorStore.graphState.isApplicationUpdateOperationIsRunning
|
320
317
|
}
|
321
318
|
onClick={generate}
|
322
319
|
tabIndex={-1}
|
package/src/components/editor/editor-group/{FileGenerationViewer.tsx → ArtifactGenerationViewer.tsx}
RENAMED
@@ -15,11 +15,6 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
18
|
-
import {
|
19
|
-
FileGenerationViewerState,
|
20
|
-
getTextContent,
|
21
|
-
getEditorLanguageForFormat,
|
22
|
-
} from '../../../stores/editor/editor-state/FileGenerationViewerState.js';
|
23
18
|
import {
|
24
19
|
LockIcon,
|
25
20
|
FireIcon,
|
@@ -27,22 +22,28 @@ import {
|
|
27
22
|
Panel,
|
28
23
|
PanelContent,
|
29
24
|
} from '@finos/legend-art';
|
30
|
-
import type {
|
25
|
+
import type { PackageableElement } from '@finos/legend-graph';
|
31
26
|
import { useEditorStore } from '../EditorStoreProvider.js';
|
27
|
+
import {
|
28
|
+
ArtifactGenerationViewerState,
|
29
|
+
getEditorLanguageForFormat,
|
30
|
+
getTextContent,
|
31
|
+
} from '../../../stores/editor/editor-state/ArtifactGenerationViewerState.js';
|
32
32
|
import { CodeEditor } from '@finos/legend-lego/code-editor';
|
33
33
|
|
34
|
-
export const
|
34
|
+
export const ArtifactGenerationViewer = observer(() => {
|
35
35
|
const editorStore = useEditorStore();
|
36
|
-
const
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
const
|
41
|
-
|
42
|
-
|
36
|
+
const generatedArtifactState =
|
37
|
+
editorStore.tabManagerState.getCurrentEditorState(
|
38
|
+
ArtifactGenerationViewerState,
|
39
|
+
);
|
40
|
+
const generatedArtifact = generatedArtifactState.artifact;
|
41
|
+
const generator = generatedArtifact.parentId
|
42
|
+
? editorStore.graphManagerState.graph.getNullableElement(
|
43
|
+
generatedArtifact.parentId,
|
43
44
|
)
|
44
45
|
: undefined;
|
45
|
-
const
|
46
|
+
const visitGenerator = (fg: PackageableElement): void =>
|
46
47
|
editorStore.graphEditorMode.openElement(fg);
|
47
48
|
|
48
49
|
return (
|
@@ -55,9 +56,11 @@ export const FileGenerationViewer = observer(() => {
|
|
55
56
|
<LockIcon />
|
56
57
|
</div>
|
57
58
|
}
|
58
|
-
<div className="panel__header__title__label">
|
59
|
+
<div className="panel__header__title__label">
|
60
|
+
generated-artifact
|
61
|
+
</div>
|
59
62
|
<div className="panel__header__title__content">
|
60
|
-
{
|
63
|
+
{generatedArtifact.name}
|
61
64
|
</div>
|
62
65
|
</div>
|
63
66
|
</div>
|
@@ -65,22 +68,22 @@ export const FileGenerationViewer = observer(() => {
|
|
65
68
|
<div className="panel__header">
|
66
69
|
<div className="panel__header__title">
|
67
70
|
<div className="panel__header__title__label">
|
68
|
-
{
|
71
|
+
{generator?.name}
|
69
72
|
</div>
|
70
73
|
</div>
|
71
74
|
<div className="panel__header__actions">
|
72
|
-
{
|
75
|
+
{generator && (
|
73
76
|
<button
|
74
77
|
className="uml-element-editor__header__generation-origin"
|
75
|
-
onClick={(): void =>
|
78
|
+
onClick={(): void => visitGenerator(generator)}
|
76
79
|
tabIndex={-1}
|
77
|
-
title={`Visit generation parent '${
|
80
|
+
title={`Visit generation parent '${generator.path}'`}
|
78
81
|
>
|
79
82
|
<div className="uml-element-editor__header__generation-origin__label">
|
80
83
|
<FireIcon />
|
81
84
|
</div>
|
82
85
|
<div className="uml-element-editor__header__generation-origin__parent-name">
|
83
|
-
{
|
86
|
+
{generator.name}
|
84
87
|
</div>
|
85
88
|
<div className="uml-element-editor__header__generation-origin__visit-btn">
|
86
89
|
<StickArrowCircleRightIcon />
|
@@ -92,11 +95,11 @@ export const FileGenerationViewer = observer(() => {
|
|
92
95
|
<PanelContent>
|
93
96
|
<CodeEditor
|
94
97
|
inputValue={getTextContent(
|
95
|
-
|
96
|
-
|
98
|
+
generatedArtifact.content,
|
99
|
+
generatedArtifact.format,
|
97
100
|
)}
|
98
101
|
isReadOnly={true}
|
99
|
-
language={getEditorLanguageForFormat(
|
102
|
+
language={getEditorLanguageForFormat(generatedArtifact.format)}
|
100
103
|
/>
|
101
104
|
</PanelContent>
|
102
105
|
</div>
|
@@ -66,8 +66,7 @@ import { UnsupportedElementEditor } from './UnsupportedElementEditor.js';
|
|
66
66
|
import { getPrettyLabelForRevision } from '../../../stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js';
|
67
67
|
import { GenerationSpecificationEditorState } from '../../../stores/editor/editor-state/GenerationSpecificationEditorState.js';
|
68
68
|
import { GenerationSpecificationEditor } from './GenerationSpecificationEditor.js';
|
69
|
-
import {
|
70
|
-
import { FileGenerationViewer } from './FileGenerationViewer.js';
|
69
|
+
import { ArtifactGenerationViewer } from './ArtifactGenerationViewer.js';
|
71
70
|
import type { DSL_LegendStudioApplicationPlugin_Extension } from '../../../stores/LegendStudioApplicationPlugin.js';
|
72
71
|
import { useEditorStore } from '../EditorStoreProvider.js';
|
73
72
|
import { PackageableDataEditorState } from '../../../stores/editor/editor-state/element-editor-state/data/DataEditorState.js';
|
@@ -77,6 +76,7 @@ import { TabManager, type TabState } from '@finos/legend-lego/application';
|
|
77
76
|
import { INTERNAL__UnknownFunctionActivatorEdtiorState } from '../../../stores/editor/editor-state/element-editor-state/INTERNAL__UnknownFunctionActivatorEditorState.js';
|
78
77
|
import { INTERNAL__UnknownFunctionActivatorEdtior } from './INTERNAL__UnknownFunctionActivatorEdtior.js';
|
79
78
|
import { getElementIcon } from '../../ElementIconUtils.js';
|
79
|
+
import { ArtifactGenerationViewerState } from '../../../stores/editor/editor-state/ArtifactGenerationViewerState.js';
|
80
80
|
|
81
81
|
export const ViewerEditorGroupSplashScreen: React.FC = () => {
|
82
82
|
const commandListWidth = 300;
|
@@ -194,7 +194,7 @@ export const EditorGroup = observer(() => {
|
|
194
194
|
: [];
|
195
195
|
const generationViewModes = (
|
196
196
|
currentTabState instanceof ElementEditorState
|
197
|
-
? editorStore.graphState.graphGenerationState.fileGenerationConfigurations
|
197
|
+
? editorStore.graphState.graphGenerationState.globalFileGenerationState.fileGenerationConfigurations
|
198
198
|
.slice()
|
199
199
|
.sort((a, b): number => a.label.localeCompare(b.label))
|
200
200
|
: []
|
@@ -309,8 +309,8 @@ export const EditorGroup = observer(() => {
|
|
309
309
|
conflictEditorState={currentTabState}
|
310
310
|
/>
|
311
311
|
);
|
312
|
-
} else if (currentTabState instanceof
|
313
|
-
return <
|
312
|
+
} else if (currentTabState instanceof ArtifactGenerationViewerState) {
|
313
|
+
return <ArtifactGenerationViewer key={currentTabState.uuid} />;
|
314
314
|
} else if (currentTabState instanceof ModelImporterState) {
|
315
315
|
return <ModelImporter />;
|
316
316
|
} else if (currentTabState instanceof ProjectConfigurationEditorState) {
|
@@ -478,7 +478,7 @@ export const EditorGroup = observer(() => {
|
|
478
478
|
key={mode.key}
|
479
479
|
className="editor-group__view-mode__option"
|
480
480
|
disabled={
|
481
|
-
!editorStore.graphState.graphGenerationState.supportedFileGenerationConfigurationsForCurrentElement.includes(
|
481
|
+
!editorStore.graphState.graphGenerationState.globalFileGenerationState.supportedFileGenerationConfigurationsForCurrentElement.includes(
|
482
482
|
mode,
|
483
483
|
)
|
484
484
|
}
|
@@ -69,7 +69,6 @@ import {
|
|
69
69
|
externalFormatData_setContentType,
|
70
70
|
externalFormatData_setData,
|
71
71
|
} from '../../../../stores/graph-modifier/DSL_Data_GraphModifierHelper.js';
|
72
|
-
import { getEditorLanguageForFormat } from '../../../../stores/editor/editor-state/FileGenerationViewerState.js';
|
73
72
|
import type { ExternalFormatDataState } from '../../../../stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.js';
|
74
73
|
import { renderEmbeddedDataEditor } from './EmbeddedDataEditor.js';
|
75
74
|
import {
|
@@ -79,6 +78,7 @@ import {
|
|
79
78
|
import { LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY } from '../../../../__lib__/LegendStudioApplicationNavigationContext.js';
|
80
79
|
import { LEGEND_STUDIO_DOCUMENTATION_KEY } from '../../../../__lib__/LegendStudioDocumentation.js';
|
81
80
|
import { CodeEditor } from '@finos/legend-lego/code-editor';
|
81
|
+
import { getEditorLanguageForFormat } from '../../../../stores/editor/editor-state/ArtifactGenerationViewerState.js';
|
82
82
|
|
83
83
|
export const ExternalFormatDataEditor = observer(
|
84
84
|
(props: {
|
@@ -41,7 +41,6 @@ import {
|
|
41
41
|
modelStoreData_setDataModelModel,
|
42
42
|
} from '../../../../stores/graph-modifier/DSL_Data_GraphModifierHelper.js';
|
43
43
|
import type { DSL_Data_LegendStudioApplicationPlugin_Extension } from '../../../../stores/extensions/DSL_Data_LegendStudioApplicationPlugin_Extension.js';
|
44
|
-
import { getEditorLanguageForFormat } from '../../../../stores/editor/editor-state/FileGenerationViewerState.js';
|
45
44
|
import {
|
46
45
|
type EmbeddedDataState,
|
47
46
|
DataElementReferenceState,
|
@@ -62,6 +61,7 @@ import {
|
|
62
61
|
} from '@finos/legend-lego/graph-editor';
|
63
62
|
import { RelationalCSVDataEditor } from './RelationalCSVDataEditor.js';
|
64
63
|
import { CodeEditor } from '@finos/legend-lego/code-editor';
|
64
|
+
import { getEditorLanguageForFormat } from '../../../../stores/editor/editor-state/ArtifactGenerationViewerState.js';
|
65
65
|
|
66
66
|
export const ExternalFormatDataEditor = observer(
|
67
67
|
(props: {
|
package/src/components/editor/editor-group/element-generation-editor/FileGenerationEditor.tsx
CHANGED
@@ -967,7 +967,7 @@ export const FileGenerationConfigurationEditor = observer(
|
|
967
967
|
const applicationStore = useApplicationStore();
|
968
968
|
const fileGeneration = fileGenerationState.fileGeneration;
|
969
969
|
const fileGenerationConfiguration =
|
970
|
-
editorStore.graphState.graphGenerationState.getFileGenerationConfiguration(
|
970
|
+
editorStore.graphState.graphGenerationState.globalFileGenerationState.getFileGenerationConfiguration(
|
971
971
|
fileGeneration.type,
|
972
972
|
).properties;
|
973
973
|
const debouncedRegenerate = useMemo(
|
@@ -17,10 +17,6 @@
|
|
17
17
|
import { Fragment } from 'react';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
19
|
import { flowResult } from 'mobx';
|
20
|
-
import {
|
21
|
-
getTextContent,
|
22
|
-
getEditorLanguageForFormat,
|
23
|
-
} from '../../../../stores/editor/editor-state/FileGenerationViewerState.js';
|
24
20
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
25
21
|
import {
|
26
22
|
type TreeNodeContainerProps,
|
@@ -56,6 +52,10 @@ import {
|
|
56
52
|
import { useApplicationStore } from '@finos/legend-application';
|
57
53
|
import type { DSL_Generation_LegendStudioApplicationPlugin_Extension } from '../../../../stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.js';
|
58
54
|
import { CodeEditor } from '@finos/legend-lego/code-editor';
|
55
|
+
import {
|
56
|
+
getEditorLanguageForFormat,
|
57
|
+
getTextContent,
|
58
|
+
} from '../../../../stores/editor/editor-state/ArtifactGenerationViewerState.js';
|
59
59
|
|
60
60
|
export const FileSystemTreeNodeContainer: React.FC<
|
61
61
|
TreeNodeContainerProps<
|
@@ -44,7 +44,6 @@ import {
|
|
44
44
|
type InnerSchemaSetEditorState,
|
45
45
|
SCHEMA_SET_TAB_TYPE,
|
46
46
|
} from '../../../../stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js';
|
47
|
-
import { getEditorLanguageForFormat } from '../../../../stores/editor/editor-state/FileGenerationViewerState.js';
|
48
47
|
import { guaranteeNonNullable, prettyCONSTName } from '@finos/legend-shared';
|
49
48
|
import { useEditorStore } from '../../EditorStoreProvider.js';
|
50
49
|
import {
|
@@ -59,6 +58,7 @@ import {
|
|
59
58
|
CODE_EDITOR_LANGUAGE,
|
60
59
|
CodeEditor,
|
61
60
|
} from '@finos/legend-lego/code-editor';
|
61
|
+
import { getEditorLanguageForFormat } from '../../../../stores/editor/editor-state/ArtifactGenerationViewerState.js';
|
62
62
|
|
63
63
|
const SchemaLoader = observer(
|
64
64
|
(props: {
|
@@ -52,6 +52,11 @@ export const DevToolPanel = observer(() => {
|
|
52
52
|
editorStore.graphState.enableStrictMode,
|
53
53
|
);
|
54
54
|
};
|
55
|
+
const toggleArtifactGeneration = (): void => {
|
56
|
+
editorStore.graphState.graphGenerationState.setEnableArtifactGeneration(
|
57
|
+
!editorStore.graphState.graphGenerationState.enableArtifactGeneration,
|
58
|
+
);
|
59
|
+
};
|
55
60
|
|
56
61
|
return (
|
57
62
|
<Panel>
|
@@ -116,6 +121,15 @@ export const DevToolPanel = observer(() => {
|
|
116
121
|
isReadOnly={false}
|
117
122
|
update={toggleStrictMode}
|
118
123
|
/>
|
124
|
+
<PanelFormBooleanField
|
125
|
+
name="Generate Artifact Generations"
|
126
|
+
prompt="Include generation of artifacet extensions during generation action (F10)"
|
127
|
+
value={
|
128
|
+
editorStore.graphState.graphGenerationState.enableArtifactGeneration
|
129
|
+
}
|
130
|
+
isReadOnly={false}
|
131
|
+
update={toggleArtifactGeneration}
|
132
|
+
/>
|
119
133
|
</PanelForm>
|
120
134
|
</Panel>
|
121
135
|
);
|
@@ -38,7 +38,6 @@ import {
|
|
38
38
|
type Class,
|
39
39
|
ELEMENT_PATH_DELIMITER,
|
40
40
|
} from '@finos/legend-graph';
|
41
|
-
import type { FileGenerationTypeOption } from '../../../stores/editor/editor-state/GraphGenerationState.js';
|
42
41
|
import { flowResult } from 'mobx';
|
43
42
|
import { useApplicationStore } from '@finos/legend-application';
|
44
43
|
import {
|
@@ -51,6 +50,7 @@ import type { DSL_Data_LegendStudioApplicationPlugin_Extension } from '../../../
|
|
51
50
|
import { PACKAGEABLE_ELEMENT_TYPE } from '../../../stores/editor/utils/ModelClassifierUtils.js';
|
52
51
|
import { EmbeddedDataType } from '../../../stores/editor/editor-state/ExternalFormatState.js';
|
53
52
|
import type { DSL_Mapping_LegendStudioApplicationPlugin_Extension } from '../../../stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.js';
|
53
|
+
import type { GenerationTypeOption } from '../../../stores/editor/editor-state/GraphGenerationState.js';
|
54
54
|
|
55
55
|
export const getElementTypeLabel = (
|
56
56
|
editorStore: EditorStore,
|
@@ -379,11 +379,9 @@ const NewFileGenerationDriverEditor = observer(() => {
|
|
379
379
|
NewFileGenerationDriver,
|
380
380
|
);
|
381
381
|
const options =
|
382
|
-
editorStore.graphState.graphGenerationState
|
382
|
+
editorStore.graphState.graphGenerationState.globalFileGenerationState
|
383
383
|
.fileGenerationConfigurationOptions;
|
384
|
-
const onTypeSelectionChange = (
|
385
|
-
val: FileGenerationTypeOption | null,
|
386
|
-
): void => {
|
384
|
+
const onTypeSelectionChange = (val: GenerationTypeOption | null): void => {
|
387
385
|
if (!val) {
|
388
386
|
newConnectionDriver.setTypeOption(undefined);
|
389
387
|
} else {
|
@@ -977,7 +977,7 @@ const ExplorerTrees = observer(() => {
|
|
977
977
|
|
978
978
|
// Generated Files Tree
|
979
979
|
const generationFileTreeData =
|
980
|
-
editorStore.explorerTreeState.
|
980
|
+
editorStore.explorerTreeState.getArtifactsGenerationTreeData();
|
981
981
|
const onGenerationFileTreeNodeSelect = (node: FileSystemTreeNodeData): void =>
|
982
982
|
editorStore.graphState.graphGenerationState.onTreeNodeSelect(
|
983
983
|
node,
|
@@ -98,6 +98,7 @@ import { LEGEND_STUDIO_APP_EVENT } from '../../__lib__/LegendStudioEvent.js';
|
|
98
98
|
import { LEGEND_STUDIO_SETTING_KEY } from '../../__lib__/LegendStudioSetting.js';
|
99
99
|
import type { TabState } from '@finos/legend-lego/application';
|
100
100
|
import { LegendStudioTelemetryHelper } from '../../__lib__/LegendStudioTelemetryHelper.js';
|
101
|
+
import { ArtifactGenerationViewerState } from './editor-state/ArtifactGenerationViewerState.js';
|
101
102
|
|
102
103
|
export enum GraphBuilderStatus {
|
103
104
|
SUCCEEDED = 'SUCCEEDED',
|
@@ -583,15 +584,15 @@ export class EditorGraphState {
|
|
583
584
|
openedTabEditorPaths.push(state.elementPath);
|
584
585
|
}
|
585
586
|
});
|
587
|
+
const currentTab = this.editorStore.tabManagerState.currentTab;
|
586
588
|
const currentTabState =
|
587
|
-
|
588
|
-
|
589
|
+
currentTab instanceof ElementEditorState ||
|
590
|
+
currentTab instanceof ArtifactGenerationViewerState
|
589
591
|
? undefined
|
590
|
-
:
|
592
|
+
: currentTab;
|
591
593
|
const currentTabElementPath =
|
592
|
-
|
593
|
-
|
594
|
-
? this.editorStore.tabManagerState.currentTab.elementPath
|
594
|
+
currentTab instanceof ElementEditorState
|
595
|
+
? currentTab.elementPath
|
595
596
|
: undefined;
|
596
597
|
this.editorStore.tabManagerState.closeAllTabs();
|
597
598
|
|
@@ -716,7 +716,7 @@ export class EditorStore implements CommandRegistrar {
|
|
716
716
|
this.workspaceReviewState.fetchCurrentWorkspaceReview(),
|
717
717
|
this.workspaceUpdaterState.fetchLatestCommittedReviews(),
|
718
718
|
this.projectConfigurationEditorState.fetchLatestProjectStructureVersion(),
|
719
|
-
this.graphState.graphGenerationState.fetchAvailableFileGenerationDescriptions(),
|
719
|
+
this.graphState.graphGenerationState.globalFileGenerationState.fetchAvailableFileGenerationDescriptions(),
|
720
720
|
this.graphState.graphGenerationState.externalFormatState.fetchExternalFormatDescriptions(),
|
721
721
|
this.graphState.fetchAvailableFunctionActivatorConfigurations(),
|
722
722
|
this.sdlcState.fetchProjectVersions(),
|
@@ -757,7 +757,7 @@ export class EditorStore implements CommandRegistrar {
|
|
757
757
|
this.conflictResolutionState.initialize(),
|
758
758
|
this.sdlcState.checkIfWorkspaceIsOutdated(),
|
759
759
|
this.projectConfigurationEditorState.fetchLatestProjectStructureVersion(),
|
760
|
-
this.graphState.graphGenerationState.fetchAvailableFileGenerationDescriptions(),
|
760
|
+
this.graphState.graphGenerationState.globalFileGenerationState.fetchAvailableFileGenerationDescriptions(),
|
761
761
|
this.graphState.graphGenerationState.externalFormatState.fetchExternalFormatDescriptions(),
|
762
762
|
this.graphState.fetchAvailableFunctionActivatorConfigurations(),
|
763
763
|
this.sdlcState.fetchProjectVersions(),
|
@@ -71,7 +71,7 @@ export class ExplorerTreeState {
|
|
71
71
|
legalTreeData?: TreeData<PackageTreeNodeData> | undefined;
|
72
72
|
dependencyTreeData?: TreeData<PackageTreeNodeData> | undefined;
|
73
73
|
selectedNode?: PackageTreeNodeData | undefined;
|
74
|
-
|
74
|
+
artifactsGenerationTreeData?: TreeData<FileSystemTreeNodeData> | undefined;
|
75
75
|
|
76
76
|
elementToRename?: PackageableElement | undefined;
|
77
77
|
classToGenerateSampleData?: Class | undefined;
|
@@ -84,7 +84,7 @@ export class ExplorerTreeState {
|
|
84
84
|
systemTreeData: observable.ref,
|
85
85
|
legalTreeData: observable.ref,
|
86
86
|
dependencyTreeData: observable.ref,
|
87
|
-
|
87
|
+
artifactsGenerationTreeData: observable.ref,
|
88
88
|
selectedNode: observable.ref,
|
89
89
|
elementToRename: observable,
|
90
90
|
classToGenerateSampleData: observable,
|
@@ -94,7 +94,7 @@ export class ExplorerTreeState {
|
|
94
94
|
setSystemTreeData: action,
|
95
95
|
setLegalTreeData: action,
|
96
96
|
setDependencyTreeData: action,
|
97
|
-
|
97
|
+
setArtifactsGenerationTreeData: action,
|
98
98
|
setSelectedNode: action,
|
99
99
|
setElementToRename: action,
|
100
100
|
setClassToGenerateSampleData: action,
|
@@ -166,8 +166,8 @@ export class ExplorerTreeState {
|
|
166
166
|
setDependencyTreeData(data: TreeData<PackageTreeNodeData>): void {
|
167
167
|
this.dependencyTreeData = data;
|
168
168
|
}
|
169
|
-
|
170
|
-
this.
|
169
|
+
setArtifactsGenerationTreeData(data: TreeData<FileSystemTreeNodeData>): void {
|
170
|
+
this.artifactsGenerationTreeData = data;
|
171
171
|
}
|
172
172
|
setElementToRename(val: PackageableElement | undefined): void {
|
173
173
|
this.elementToRename = val;
|
@@ -214,7 +214,7 @@ export class ExplorerTreeState {
|
|
214
214
|
this.editorStore.graphManagerState.graph.generationModel.root,
|
215
215
|
ExplorerTreeRootPackageLabel.MODEL_GENERATION,
|
216
216
|
);
|
217
|
-
this.
|
217
|
+
this.artifactsGenerationTreeData = getFileSystemTreeData(
|
218
218
|
this.editorStore.graphState.graphGenerationState.rootFileDirectory,
|
219
219
|
ExplorerTreeRootPackageLabel.FILE_GENERATION,
|
220
220
|
);
|
@@ -248,7 +248,7 @@ export class ExplorerTreeState {
|
|
248
248
|
this.editorStore.graphManagerState.graph.generationModel.root,
|
249
249
|
ExplorerTreeRootPackageLabel.MODEL_GENERATION,
|
250
250
|
);
|
251
|
-
this.
|
251
|
+
this.artifactsGenerationTreeData = getFileSystemTreeData(
|
252
252
|
this.editorStore.graphState.graphGenerationState.rootFileDirectory,
|
253
253
|
ExplorerTreeRootPackageLabel.FILE_GENERATION,
|
254
254
|
);
|
@@ -438,7 +438,7 @@ export class ExplorerTreeState {
|
|
438
438
|
}
|
439
439
|
// File generation tree
|
440
440
|
// TODO: fix this so it does proper reprocessing, right now it just rebuilds
|
441
|
-
this.
|
441
|
+
this.artifactsGenerationTreeData = getFileSystemTreeData(
|
442
442
|
this.editorStore.graphState.graphGenerationState.rootFileDirectory,
|
443
443
|
ExplorerTreeRootPackageLabel.FILE_GENERATION,
|
444
444
|
);
|
@@ -558,9 +558,9 @@ export class ExplorerTreeState {
|
|
558
558
|
}
|
559
559
|
}
|
560
560
|
|
561
|
-
|
561
|
+
getArtifactsGenerationTreeData(): TreeData<FileSystemTreeNodeData> {
|
562
562
|
return guaranteeNonNullable(
|
563
|
-
this.
|
563
|
+
this.artifactsGenerationTreeData,
|
564
564
|
'File generation tree data has not been initialized',
|
565
565
|
);
|
566
566
|
}
|
@@ -34,7 +34,7 @@ import {
|
|
34
34
|
import { decorateRuntimeWithNewMapping } from './editor-state/element-editor-state/RuntimeEditorState.js';
|
35
35
|
import type { DSL_LegendStudioApplicationPlugin_Extension } from '../LegendStudioApplicationPlugin.js';
|
36
36
|
import {
|
37
|
-
type
|
37
|
+
type GenerationTypeOption,
|
38
38
|
DEFAULT_GENERATION_SPECIFICATION_NAME,
|
39
39
|
} from './editor-state/GraphGenerationState.js';
|
40
40
|
import {
|
@@ -523,7 +523,7 @@ export class NewServiceDriver extends NewElementDriver<Service> {
|
|
523
523
|
}
|
524
524
|
|
525
525
|
export class NewFileGenerationDriver extends NewElementDriver<FileGenerationSpecification> {
|
526
|
-
typeOption?:
|
526
|
+
typeOption?: GenerationTypeOption | undefined;
|
527
527
|
|
528
528
|
constructor(editorStore: EditorStore) {
|
529
529
|
super(editorStore);
|
@@ -534,13 +534,13 @@ export class NewFileGenerationDriver extends NewElementDriver<FileGenerationSpec
|
|
534
534
|
});
|
535
535
|
|
536
536
|
this.typeOption = editorStore.graphState.graphGenerationState
|
537
|
-
.fileGenerationConfigurationOptions.length
|
538
|
-
? editorStore.graphState.graphGenerationState
|
537
|
+
.globalFileGenerationState.fileGenerationConfigurationOptions.length
|
538
|
+
? editorStore.graphState.graphGenerationState.globalFileGenerationState
|
539
539
|
.fileGenerationConfigurationOptions[0]
|
540
540
|
: undefined;
|
541
541
|
}
|
542
542
|
|
543
|
-
setTypeOption(typeOption:
|
543
|
+
setTypeOption(typeOption: GenerationTypeOption | undefined): void {
|
544
544
|
this.typeOption = typeOption;
|
545
545
|
}
|
546
546
|
|