@finos/legend-application-studio 28.16.26 → 28.17.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/editor/editor-group/UnsupportedElementEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/UnsupportedElementEditor.js +3 -3
- package/lib/components/editor/editor-group/UnsupportedElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js +2 -2
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.d.ts.map +1 -1
- package/lib/components/editor/panel-group/DevToolPanel.js +6 -4
- package/lib/components/editor/panel-group/DevToolPanel.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +5 -5
- package/lib/stores/editor/EditorGraphState.js +1 -1
- package/lib/stores/editor/EditorGraphState.js.map +1 -1
- package/lib/stores/editor/GraphEditGrammarModeState.d.ts +1 -0
- package/lib/stores/editor/GraphEditGrammarModeState.d.ts.map +1 -1
- package/lib/stores/editor/GraphEditGrammarModeState.js +21 -5
- package/lib/stores/editor/GraphEditGrammarModeState.js.map +1 -1
- package/lib/stores/editor/editor-state/ModelImporterState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/ModelImporterState.js +3 -3
- package/lib/stores/editor/editor-state/ModelImporterState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js +3 -3
- package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js +1 -2
- package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js.map +1 -1
- package/lib/stores/editor/utils/ModelClassifierUtils.d.ts +1 -1
- package/lib/stores/editor/utils/ModelClassifierUtils.d.ts.map +1 -1
- package/lib/stores/editor/utils/ModelClassifierUtils.js +1 -1
- package/lib/stores/editor/utils/ModelClassifierUtils.js.map +1 -1
- package/package.json +16 -16
- package/src/components/editor/editor-group/UnsupportedElementEditor.tsx +3 -5
- package/src/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.tsx +2 -4
- package/src/components/editor/panel-group/DevToolPanel.tsx +14 -7
- package/src/stores/editor/EditorGraphState.ts +1 -1
- package/src/stores/editor/GraphEditGrammarModeState.ts +30 -3
- package/src/stores/editor/editor-state/ModelImporterState.ts +3 -2
- package/src/stores/editor/editor-state/element-editor-state/ElementEditorState.ts +3 -6
- package/src/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.ts +1 -1
- package/src/stores/editor/utils/ModelClassifierUtils.ts +1 -1
@@ -110,7 +110,7 @@ export class NativeModelImporterEditorState extends ModelImporterEditorState {
|
|
110
110
|
case MODEL_IMPORT_NATIVE_INPUT_TYPE.PURE_PROTOCOL: {
|
111
111
|
const graphEntities = this.editorStore.graphManagerState.graphBuildState
|
112
112
|
.hasSucceeded
|
113
|
-
? this.editorStore.graphManagerState.graph.
|
113
|
+
? this.editorStore.graphManagerState.graph.knownAllOwnElements.map((element) => this.editorStore.graphManagerState.graphManager.elementToEntity(element))
|
114
114
|
: this.editorStore.changeDetectionState
|
115
115
|
.workspaceLocalLatestRevisionState.entities;
|
116
116
|
this.modelText =
|
@@ -120,7 +120,7 @@ export class NativeModelImporterEditorState extends ModelImporterEditorState {
|
|
120
120
|
case MODEL_IMPORT_NATIVE_INPUT_TYPE.ENTITIES: {
|
121
121
|
const graphEntities = this.editorStore.graphManagerState.graphBuildState
|
122
122
|
.hasSucceeded
|
123
|
-
? this.editorStore.graphManagerState.graph.
|
123
|
+
? this.editorStore.graphManagerState.graph.knownAllOwnElements.map((element) => this.editorStore.graphManagerState.graphManager.elementToEntity(element))
|
124
124
|
: this.editorStore.changeDetectionState
|
125
125
|
.workspaceLocalLatestRevisionState.entities;
|
126
126
|
this.modelText = JSON.stringify(graphEntities, undefined, DEFAULT_TAB_SIZE);
|
@@ -128,7 +128,7 @@ export class NativeModelImporterEditorState extends ModelImporterEditorState {
|
|
128
128
|
}
|
129
129
|
case MODEL_IMPORT_NATIVE_INPUT_TYPE.PURE_GRAMMAR: {
|
130
130
|
this.modelText =
|
131
|
-
(yield this.editorStore.graphManagerState.graphManager.graphToPureCode(this.editorStore.graphManagerState.graph));
|
131
|
+
(yield this.editorStore.graphManagerState.graphManager.graphToPureCode(this.editorStore.graphManagerState.graph, { excludeUnknown: true }));
|
132
132
|
break;
|
133
133
|
}
|
134
134
|
default:
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ModelImporterState.js","sourceRoot":"","sources":["../../../../src/stores/editor/editor-state/ModelImporterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,UAAU,EACV,MAAM,EACN,IAAI,EACJ,cAAc,EACd,QAAQ,EACR,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,yBAAyB,EACzB,aAAa,EACb,WAAW,EACX,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAGhF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAK7D,OAAO,EAGL,SAAS,EACT,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kCAAkC,EAClC,mCAAmC,GACpC,MAAM,gEAAgE,CAAC;AACxE,OAAO,EAAE,yBAAyB,EAAE,MAAM,mFAAmF,CAAC;AAE9H,MAAM,CAAN,IAAY,8BAIX;AAJD,WAAY,8BAA8B;IACxC,uDAAqB,CAAA;IACrB,iEAA+B,CAAA;IAC/B,+D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AAC;QACjE,oBAAoB,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;QACvD,IAAI,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,CAAC;QAChD,OAAO,oBAAoB,CAAC;IAC9B,CAAC;IAED,yBAAyB,CACvB,SAA8C;QAE9C,IACE,IAAI,CAAC,sBAAsB;YACzB,iCAAiC;YACnC,IAAI,CAAC,sBAAsB,CAAC,MAAM,KAAK,SAAS,EAChD,CAAC;YACD,OAAO,IAAI,CAAC,sBAAsB,CAAC;QACrC,CAAC;aAAM,CAAC;YACN,MAAM,wBAAwB,GAAG,IAAI,iCAAiC,CACpE,SAAS,EACT,SAAS,CAAC,2CAA2C,CAAC,IAAI,CAAC,EAC3D,IAAI,CACL,CAAC;YACF,IAAI,CAAC,oBAAoB,CAAC,wBAAwB,CAAC,CAAC;YACpD,OAAO,wBAAwB,CAAC;QAClC,CAAC;IACH,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"ModelImporterState.js","sourceRoot":"","sources":["../../../../src/stores/editor/editor-state/ModelImporterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,UAAU,EACV,MAAM,EACN,IAAI,EACJ,cAAc,EACd,QAAQ,EACR,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,yBAAyB,EACzB,aAAa,EACb,WAAW,EACX,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,uCAAuC,CAAC;AAGhF,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAK7D,OAAO,EAGL,SAAS,EACT,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kCAAkC,EAClC,mCAAmC,GACpC,MAAM,gEAAgE,CAAC;AACxE,OAAO,EAAE,yBAAyB,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cAAyC;QAEzC,MAAM,oBAAoB,GACxB,IAAI,CAAC,sBAAsB,YAAY,gCAAgC;YACrE,CAAC,CAAC,IAAI,CAAC,sBAAsB;YAC7B,CAAC,CAAC,IAAI,gCAAgC,CAAC,cAAc,EAAE,IAAI,CAAC,CAAC;QACjE,oBAAoB,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;QACvD,IAAI,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,CAAC;QAChD,OAAO,oBAAoB,CAAC;IAC9B,CAAC;IAED,yBAAyB,CACvB,SAA8C;QAE9C,IACE,IAAI,CAAC,sBAAsB;YACzB,iCAAiC;YACnC,IAAI,CAAC,sBAAsB,CAAC,MAAM,KAAK,SAAS,EAChD,CAAC;YACD,OAAO,IAAI,CAAC,sBAAsB,CAAC;QACrC,CAAC;aAAM,CAAC;YACN,MAAM,wBAAwB,GAAG,IAAI,iCAAiC,CACpE,SAAS,EACT,SAAS,CAAC,2CAA2C,CAAC,IAAI,CAAC,EAC3D,IAAI,CACL,CAAC;YACF,IAAI,CAAC,oBAAoB,CAAC,wBAAwB,CAAC,CAAC;YACpD,OAAO,wBAAwB,CAAC;QAClC,CAAC;IACH,CAAC;CACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ElementEditorState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/ElementEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,EACL,KAAK,WAAW,EAMjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EAIxB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,0BA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B,GAAG,IAAI;IAOjD,sBAAsB,CAAC,KAAK,EAAE,0BAA0B,GAAG,SAAS,GAAG,IAAI;IAI3E,yBAAyB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,uBAAuB,GAAG,IAAI;IA4B5E,uBAAuB,IAAI,IAAI;
|
1
|
+
{"version":3,"file":"ElementEditorState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/ElementEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,EACL,KAAK,WAAW,EAMjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EAIxB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,2CAA2C,CAAC;AAQhG,oBAAY,uBAAuB;IACjC,eAAe,oBAAoB;IACnC,eAAe,oBAAoB;CACpC;AACD,8BAAsB,0BAA0B;IAC9C,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,WAAW,EAAE,WAAW,CAAC;gBAGvB,WAAW,EAAE,WAAW,EACxB,kBAAkB,EAAE,kBAAkB;IAMxC,QAAQ,KAAK,KAAK,IAAI,MAAM,CAAC;CAC9B;AAED,qBAAa,4CAA6C,SAAQ,0BAA0B;IAC1F,eAAe,EAAE,8BAA8B,CAAC;gBAG9C,WAAW,EAAE,WAAW,EACxB,kBAAkB,EAAE,kBAAkB,EACtC,eAAe,EAAE,8BAA8B;IAKjD,IAAI,KAAK,IAAI,MAAM,CAElB;CACF;AAED,qBAAa,2BAA4B,SAAQ,0B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ditorConfig.js';
|
18
18
|
import { EditorState } from '../../editor-state/EditorState.js';
|
19
19
|
import { LogEvent, assertErrorThrown, guaranteeNonNullable, guaranteeType, isType, } from '@finos/legend-shared';
|
20
|
-
import { GRAPH_MANAGER_EVENT, isElementReadOnly,
|
20
|
+
import { GRAPH_MANAGER_EVENT, isElementReadOnly, INTERNAL__UnknownElement, } from '@finos/legend-graph';
|
21
21
|
import { DEFAULT_TAB_SIZE } from '@finos/legend-application';
|
22
22
|
const generateMultiLineCommentForError = (message, error) => `/**\n * ${message}. Error: ${error.message.replace(/\n/gu, '\n * ')}\n */`;
|
23
23
|
export var ELEMENT_GENERATION_MODE;
|
@@ -123,9 +123,9 @@ export class ElementEditorState extends EditorState {
|
|
123
123
|
}
|
124
124
|
catch (error) {
|
125
125
|
assertErrorThrown(error);
|
126
|
-
const isUnknownEntity = isType(this.element,
|
126
|
+
const isUnknownEntity = isType(this.element, INTERNAL__UnknownElement);
|
127
127
|
if (isUnknownEntity) {
|
128
|
-
const unknownEntity = guaranteeType(this.element,
|
128
|
+
const unknownEntity = guaranteeType(this.element, INTERNAL__UnknownElement);
|
129
129
|
this.setTextContent(JSON.stringify(unknownEntity.content, undefined, DEFAULT_TAB_SIZE));
|
130
130
|
}
|
131
131
|
else {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ElementEditorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/ElementEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,MAAM,GACP,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAGL,mBAAmB,EACnB,iBAAiB,EACjB,
|
1
|
+
{"version":3,"file":"ElementEditorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/ElementEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,MAAM,GACP,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAGL,mBAAmB,EACnB,iBAAiB,EACjB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAI7D,MAAM,gCAAgC,GAAG,CACvC,OAAe,EACf,KAAY,EACJ,EAAE,CACV,WAAW,OAAO,YAAY,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC;AAE9E,MAAM,CAAN,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,8DAAmC,CAAA;IACnC,8DAAmC,CAAA;AACrC,CAAC,EAHW,uBAAuB,KAAvB,uBAAuB,QAGlC;AACD,MAAM,OAAgB,0BAA0B;IAC9C,kBAAkB,CAAqB;IACvC,WAAW,CAAc;IAEzB,YACE,WAAwB,EACxB,kBAAsC;QAEtC,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;CAGF;AAED,MAAM,OAAO,4CAA6C,SAAQ,0BAA0B;IAC1F,eAAe,CAAiC;IAEhD,YACE,WAAwB,EACxB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gBAAgB,CAAC,UAAU,CAAC,KAAK,CAChD,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,eAAe,CAAC,EACpD,KAAK,CACN,CAAC;QACJ,CAAC;IACH,CAAC;IAED,CAAC,sBAAsB;QACrB,IAAI,CAAC;YACH,MAAM,OAAO,GACX,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,kBAAkB,CACvE;gBACE,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,eAAe,CAC7D,IAAI,CAAC,OAAO,CACb;aACF,EACD,EAAE,MAAM,EAAE,IAAI,EAAE,CACjB,CAAW,CAAC;YACf,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC;QAC/B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,cAAc,CACjB,gCAAgC,CAC9B,yCAAyC,EACzC,KAAK,CACN,CACF,CAAC;YACF,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CAChD,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,eAAe,CAAC,EACpD,KAAK,CACN,CAAC;QACJ,CAAC;IACH,CAAC;IAED;;;OAGG;IACH,sBAAsB,CAAC,gBAAkC;QACvD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,qBAAqB;QACnB,OAAO;IACT,CAAC;IAEQ,MAAM;QACb,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC5D,CAAC;CAgBF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ServiceRegistrationState.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EACL,KAAK,WAAW,EAGhB,WAAW,
|
1
|
+
{"version":3,"file":"ServiceRegistrationState.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EACL,KAAK,WAAW,EAGhB,WAAW,EAUZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,KAAK,OAAO,EAGZ,oBAAoB,EAMrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oCAAoC,EAAE,MAAM,6DAA6D,CAAC;AAOnH,eAAO,MAAM,uBAAuB,4BAA4B,CAAC;AAEjE,eAAO,MAAM,gCAAgC,QAA2B,CAAC;AAEzE,eAAO,MAAM,4BAA4B,YAC9B,MAAM,qBACI,MAAM,KACxB,MAQC,CAAC;AAiBL,UAAU,oBAAoB;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,kBAAkB;IAC7B,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAClC,QAAQ,CAAC,mBAAmB,EAAE,oCAAoC,EAAE,CAAM;IAC1E,QAAQ,CAAC,iBAAiB,cAAwB;IAElD,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,oBAAoB,CAAC,EAAE,oBAAoB,GAAG,SAAS,CAAC;IACxD,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,yBAAyB,EAAE,OAAO,CAAC;IACnC,wBAAwB,UAAS;IACjC,6BAA6B,UAAQ;IACrC,6BAA6B,UAAS;gBAGpC,WAAW,EAAE,WAAW,EACxB,mBAAmB,EAAE,oCAAoC,EAAE,EAC3D,yBAAyB,EAAE,OAAO;IA8BpC,IAAI,OAAO,IAAI,oCAAoC,EAAE,CAiBpD;IAED,IAAI,cAAc,IAAI,oBAAoB,EAAE,CAI3C;IAED,IAAI,cAAc,IAAI,oBAAoB,EAAE,GAAG,SAAS,CAyCvD;IAED,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAI5C,uBAAuB,CAAC,GAAG,EAAE,oBAAoB,GAAG,SAAS,GAAG,IAAI;IAIpE,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAIhD,mCAAmC,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIvD,qBAAqB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIzC,qBAAqB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIzC,UAAU,IAAI,IAAI;IAMlB,aAAa,IAAI,IAAI;IAWrB,UAAU,CAAC,GAAG,EAAE,oBAAoB,GAAG,SAAS,GAAG,IAAI;IAKvD,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;CAIzC;AAED,qBAAa,wBAAyB,SAAQ,kBAAkB;IAC9D,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,wBAAwB,UAAQ;gBAG9B,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,OAAO,EAChB,mBAAmB,EAAE,oCAAoC,EAAE,EAC3D,yBAAyB,EAAE,OAAO;IAYpC,2BAA2B,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI9C,eAAe,IAAI,WAAW,CAAC,IAAI,CAAC;IA8ErC,8BAA8B,IAAI,IAAI;CA2DvC"}
|
package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js
CHANGED
@@ -15,12 +15,11 @@
|
|
15
15
|
*/
|
16
16
|
import { action, computed, flow, makeObservable, observable } from 'mobx';
|
17
17
|
import { MINIMUM_SERVICE_OWNERS } from '../../../editor-state/element-editor-state/service/ServiceEditorState.js';
|
18
|
-
import { assertErrorThrown, LogEvent, ActionState, prettyCONSTName, assertNonEmptyString, guaranteeNonNullable, UnsupportedOperationError, getNullableFirstEntry, assertTrue, URL_SEPARATOR, filterByType, } from '@finos/legend-shared';
|
18
|
+
import { assertErrorThrown, LogEvent, ActionState, prettyCONSTName, assertNonEmptyString, guaranteeNonNullable, UnsupportedOperationError, getNullableFirstEntry, assertTrue, URL_SEPARATOR, filterByType, compareSemVerVersions, } from '@finos/legend-shared';
|
19
19
|
import { LEGEND_STUDIO_APP_EVENT } from '../../../../../__lib__/LegendStudioEvent.js';
|
20
20
|
import { ServiceExecutionMode, buildLambdaVariableExpressions, VariableExpression, generateMultiplicityString, areMultiplicitiesEqual, Multiplicity, } from '@finos/legend-graph';
|
21
21
|
import { ServiceRegistrationEnvironmentConfig } from '../../../../../application/LegendStudioApplicationConfig.js';
|
22
22
|
import { ActionAlertActionType, ActionAlertType, } from '@finos/legend-application';
|
23
|
-
import { compareSemVerVersions } from '@finos/legend-storage';
|
24
23
|
import { MASTER_SNAPSHOT_ALIAS } from '@finos/legend-server-depot';
|
25
24
|
export const LATEST_PROJECT_REVISION = 'Latest Project Revision';
|
26
25
|
export const PROJECT_SEMANTIC_VERSION_PATTERN = /^[0-9]*.[0-9]*.[0-9]*$/;
|
package/lib/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ServiceRegistrationState.js","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0EAA0E,CAAC;AAElH,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,EACzB,qBAAqB,EACrB,UAAU,EACV,aAAa,EACb,YAAY,
|
1
|
+
{"version":3,"file":"ServiceRegistrationState.js","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0EAA0E,CAAC;AAElH,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,yBAAyB,EACzB,qBAAqB,EACrB,UAAU,EACV,aAAa,EACb,YAAY,EACZ,qBAAqB,GACtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAIL,oBAAoB,EACpB,8BAA8B,EAC9B,kBAAkB,EAClB,0BAA0B,EAC1B,sBAAsB,EACtB,YAAY,GACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oCAAoC,EAAE,MAAM,6DAA6D,CAAC;AACnH,OAAO,EACL,qBAAqB,EACrB,eAAe,GAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,MAAM,CAAC,MAAM,uBAAuB,GAAG,yBAAyB,CAAC;AAEjE,MAAM,CAAC,MAAM,gCAAgC,GAAG,wBAAwB,CAAC;AAEzE,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAC1C,OAAe,EACf,iBAAyB,EACjB,EAAE,CACV,GAAG,OAAO,GACR,aAAa;IACb,kBAAkB,CAChB,iBAAiB,CAAC,CAAC,CAAC,KAAK,aAAa;QACpC,CAAC,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC,CAAC;QAChC,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AAC;IACJ,CAAC;CACF"}
|
@@ -47,7 +47,7 @@ export declare enum PACKAGEABLE_ELEMENT_TYPE {
|
|
47
47
|
SNOWFLAKE_APP = "SNOWFLAKE_APP",
|
48
48
|
HOSTED_SERVICE = "HOSTED_SERVICE",
|
49
49
|
TEMPORARY__LOCAL_CONNECTION = "LOCAL_CONNECTION",
|
50
|
-
|
50
|
+
INTERNAL__UnknownElement = "UNKNOWN"
|
51
51
|
}
|
52
52
|
export declare enum PACKAGEABLE_ELEMENT_GROUP_BY_CATEGORY {
|
53
53
|
MODEL = "Model",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ModelClassifierUtils.d.ts","sourceRoot":"","sources":["../../../../src/stores/editor/utils/ModelClassifierUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,IAAI,EAMV,MAAM,qBAAqB,CAAC;AAG7B,oBAAY,mBAAmB;IAC7B,KAAK,UAAU;IACf,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,SAAS,cAAc;CACxB;AAED,eAAO,MAAM,oBAAoB,SAAU,IAAI,KAAG,mBAajD,CAAC;AAEF,oBAAY,wBAAwB;IAClC,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,KAAK,UAAU;IACf,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,eAAe,oBAAoB;IACnC,QAAQ,aAAa;IACrB,aAAa,kBAAkB;IAC/B,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,qBAAqB,0BAA0B;IAC/C,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,eAAe,oBAAoB;IACnC,wBAAwB,6BAA6B;IACrD,aAAa,kBAAkB;IAC/B,IAAI,SAAS;IACb,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IAEjC,2BAA2B,qBAAqB;IAChD,
|
1
|
+
{"version":3,"file":"ModelClassifierUtils.d.ts","sourceRoot":"","sources":["../../../../src/stores/editor/utils/ModelClassifierUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,IAAI,EAMV,MAAM,qBAAqB,CAAC;AAG7B,oBAAY,mBAAmB;IAC7B,KAAK,UAAU;IACf,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,SAAS,cAAc;CACxB;AAED,eAAO,MAAM,oBAAoB,SAAU,IAAI,KAAG,mBAajD,CAAC;AAEF,oBAAY,wBAAwB;IAClC,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,KAAK,UAAU;IACf,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,eAAe,oBAAoB;IACnC,QAAQ,aAAa;IACrB,aAAa,kBAAkB;IAC/B,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,qBAAqB,0BAA0B;IAC/C,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,eAAe,oBAAoB;IACnC,wBAAwB,6BAA6B;IACrD,aAAa,kBAAkB;IAC/B,IAAI,SAAS;IACb,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IAEjC,2BAA2B,qBAAqB;IAChD,wBAAwB,YAAY;CACrC;AAED,oBAAY,qCAAqC;IAC/C,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;IACf,eAAe,oBAAoB;IACnC,UAAU,eAAe;IACzB,KAAK,UAAU;CAChB"}
|
@@ -67,7 +67,7 @@ export var PACKAGEABLE_ELEMENT_TYPE;
|
|
67
67
|
PACKAGEABLE_ELEMENT_TYPE["SNOWFLAKE_APP"] = "SNOWFLAKE_APP";
|
68
68
|
PACKAGEABLE_ELEMENT_TYPE["HOSTED_SERVICE"] = "HOSTED_SERVICE";
|
69
69
|
PACKAGEABLE_ELEMENT_TYPE["TEMPORARY__LOCAL_CONNECTION"] = "LOCAL_CONNECTION";
|
70
|
-
PACKAGEABLE_ELEMENT_TYPE["
|
70
|
+
PACKAGEABLE_ELEMENT_TYPE["INTERNAL__UnknownElement"] = "UNKNOWN";
|
71
71
|
})(PACKAGEABLE_ELEMENT_TYPE || (PACKAGEABLE_ELEMENT_TYPE = {}));
|
72
72
|
export var PACKAGEABLE_ELEMENT_GROUP_BY_CATEGORY;
|
73
73
|
(function (PACKAGEABLE_ELEMENT_GROUP_BY_CATEGORY) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ModelClassifierUtils.js","sourceRoot":"","sources":["../../../../src/stores/editor/utils/ModelClassifierUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,EACL,WAAW,EACX,OAAO,EACP,aAAa,EACb,IAAI,GACL,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,sCAAe,CAAA;IACf,kDAA2B,CAAA;IAC3B,0CAAmB,CAAA;IACnB,oCAAa,CAAA;IACb,8CAAuB,CAAA;AACzB,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,IAAU,EAAuB,EAAE;IACtE,IAAI,IAAI,YAAY,aAAa,EAAE,CAAC;QAClC,OAAO,mBAAmB,CAAC,SAAS,CAAC;IACvC,CAAC;SAAM,IAAI,IAAI,YAAY,WAAW,EAAE,CAAC;QACvC,OAAO,mBAAmB,CAAC,WAAW,CAAC;IACzC,CAAC;SAAM,IAAI,IAAI,YAAY,KAAK,EAAE,CAAC;QACjC,OAAO,mBAAmB,CAAC,KAAK,CAAC;IACnC,CAAC;SAAM,IAAI,IAAI,YAAY,IAAI,EAAE,CAAC;QAChC,OAAO,mBAAmB,CAAC,IAAI,CAAC;IAClC,CAAC;SAAM,IAAI,IAAI,YAAY,OAAO,EAAE,CAAC;QACnC,OAAO,mBAAmB,CAAC,OAAO,CAAC;IACrC,CAAC;IACD,MAAM,IAAI,yBAAyB,CAAC,+BAA+B,EAAE,IAAI,CAAC,CAAC;AAC7E,CAAC,CAAC;AAEF,MAAM,CAAN,IAAY,wBA2BX;AA3BD,WAAY,wBAAwB;IAClC,mDAAuB,CAAA;IACvB,+CAAmB,CAAA;IACnB,+CAAmB,CAAA;IACnB,uDAA2B,CAAA;IAC3B,2CAAe,CAAA;IACf,uDAA2B,CAAA;IAC3B,iDAAqB,CAAA;IACrB,+CAAmB,CAAA;IACnB,yCAAa,CAAA;IACb,+DAAmC,CAAA;IACnC,iDAAqB,CAAA;IACrB,2DAA+B,CAAA;IAC/B,+CAAmB,CAAA;IACnB,+CAAmB,CAAA;IACnB,2EAA+C,CAAA;IAC/C,qDAAyB,CAAA;IACzB,+CAAmB,CAAA;IACnB,+DAAmC,CAAA;IACnC,iFAAqD,CAAA;IACrD,2DAA+B,CAAA;IAC/B,yCAAa,CAAA;IACb,2DAA+B,CAAA;IAC/B,6DAAiC,CAAA;IAEjC,4EAAgD,CAAA;IAChD,
|
1
|
+
{"version":3,"file":"ModelClassifierUtils.js","sourceRoot":"","sources":["../../../../src/stores/editor/utils/ModelClassifierUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,EACL,WAAW,EACX,OAAO,EACP,aAAa,EACb,IAAI,GACL,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,sCAAe,CAAA;IACf,kDAA2B,CAAA;IAC3B,0CAAmB,CAAA;IACnB,oCAAa,CAAA;IACb,8CAAuB,CAAA;AACzB,CAAC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wBAAwB,KAAxB,wBAAwB,QA2BnC;AAED,MAAM,CAAN,IAAY,qCAOX;AAPD,WAAY,qCAAqC;IAC/C,wDAAe,CAAA;IACf,wDAAe,CAAA;IACf,wDAAe,CAAA;IACf,4EAAmC,CAAA;IACnC,kEAAyB,CAAA;IACzB,wDAAe,CAAA;AACjB,CAAC,EAPW,qCAAqC,KAArC,qCAAqC,QAOhD"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-application-studio",
|
3
|
-
"version": "28.
|
3
|
+
"version": "28.17.1",
|
4
4
|
"description": "Legend Studio application core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -45,24 +45,24 @@
|
|
45
45
|
"test:watch": "jest --watch"
|
46
46
|
},
|
47
47
|
"dependencies": {
|
48
|
-
"@finos/legend-application": "15.1.
|
49
|
-
"@finos/legend-art": "7.1.
|
50
|
-
"@finos/legend-graph": "31.
|
51
|
-
"@finos/legend-lego": "1.2.
|
52
|
-
"@finos/legend-query-builder": "4.14.
|
53
|
-
"@finos/legend-server-depot": "6.0.
|
54
|
-
"@finos/legend-server-sdlc": "5.3.
|
55
|
-
"@finos/legend-server-showcase": "0.2.
|
56
|
-
"@finos/legend-shared": "10.0.
|
57
|
-
"@finos/legend-storage": "3.0.
|
48
|
+
"@finos/legend-application": "15.1.4",
|
49
|
+
"@finos/legend-art": "7.1.33",
|
50
|
+
"@finos/legend-graph": "31.10.1",
|
51
|
+
"@finos/legend-lego": "1.2.34",
|
52
|
+
"@finos/legend-query-builder": "4.14.40",
|
53
|
+
"@finos/legend-server-depot": "6.0.42",
|
54
|
+
"@finos/legend-server-sdlc": "5.3.13",
|
55
|
+
"@finos/legend-server-showcase": "0.2.10",
|
56
|
+
"@finos/legend-shared": "10.0.37",
|
57
|
+
"@finos/legend-storage": "3.0.87",
|
58
58
|
"@testing-library/react": "15.0.7",
|
59
|
-
"@types/react": "18.3.
|
59
|
+
"@types/react": "18.3.3",
|
60
60
|
"@types/react-dom": "18.3.0",
|
61
|
-
"fast-xml-parser": "4.
|
61
|
+
"fast-xml-parser": "4.4.0",
|
62
62
|
"mobx": "6.12.3",
|
63
63
|
"mobx-react-lite": "4.0.7",
|
64
64
|
"mobx-utils": "6.0.8",
|
65
|
-
"monaco-editor": "0.
|
65
|
+
"monaco-editor": "0.49.0",
|
66
66
|
"node-diff3": "3.1.2",
|
67
67
|
"react": "18.3.1",
|
68
68
|
"react-dnd": "16.0.1",
|
@@ -71,14 +71,14 @@
|
|
71
71
|
"yaml": "2.4.2"
|
72
72
|
},
|
73
73
|
"devDependencies": {
|
74
|
-
"@finos/legend-dev-utils": "2.1.
|
74
|
+
"@finos/legend-dev-utils": "2.1.6",
|
75
75
|
"@jest/globals": "29.7.0",
|
76
76
|
"cross-env": "7.0.3",
|
77
77
|
"eslint": "8.57.0",
|
78
78
|
"jest": "29.7.0",
|
79
79
|
"npm-run-all": "4.1.5",
|
80
80
|
"rimraf": "5.0.7",
|
81
|
-
"sass": "1.77.
|
81
|
+
"sass": "1.77.3",
|
82
82
|
"typescript": "5.4.5"
|
83
83
|
},
|
84
84
|
"peerDependencies": {
|
@@ -28,7 +28,7 @@ import { flowResult } from 'mobx';
|
|
28
28
|
import { useEditorStore } from '../EditorStoreProvider.js';
|
29
29
|
import { useApplicationStore } from '@finos/legend-application';
|
30
30
|
import { ELEMENT_NATIVE_VIEW_MODE } from '../../../stores/editor/EditorConfig.js';
|
31
|
-
import {
|
31
|
+
import { INTERNAL__UnknownElement } from '@finos/legend-graph';
|
32
32
|
import { isType } from '@finos/legend-shared';
|
33
33
|
|
34
34
|
export const UnsupportedEditorPanel = observer(
|
@@ -42,10 +42,7 @@ export const UnsupportedEditorPanel = observer(
|
|
42
42
|
const applicationStore = useApplicationStore();
|
43
43
|
|
44
44
|
const isUnknownEntity = unsupportedElementEditorState
|
45
|
-
? isType(
|
46
|
-
unsupportedElementEditorState.element,
|
47
|
-
INTERNAL__UnknownPackageableElement,
|
48
|
-
)
|
45
|
+
? isType(unsupportedElementEditorState.element, INTERNAL__UnknownElement)
|
49
46
|
: false;
|
50
47
|
|
51
48
|
const handleTextModeClick = applicationStore.guardUnhandledError(() =>
|
@@ -66,6 +63,7 @@ export const UnsupportedEditorPanel = observer(
|
|
66
63
|
className="unsupported-element-editor__to-text-mode__btn"
|
67
64
|
onClick={handleTextModeClick}
|
68
65
|
text="Edit in text mode"
|
66
|
+
disabled={isUnknownEntity}
|
69
67
|
/>
|
70
68
|
)}
|
71
69
|
{isUnknownEntity && (
|
package/src/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.tsx
CHANGED
@@ -69,11 +69,9 @@ import {
|
|
69
69
|
isNonNullable,
|
70
70
|
LogEvent,
|
71
71
|
prettyCONSTName,
|
72
|
-
} from '@finos/legend-shared';
|
73
|
-
import {
|
74
72
|
compareSemVerVersions,
|
75
|
-
|
76
|
-
} from '@finos/legend-storage';
|
73
|
+
} from '@finos/legend-shared';
|
74
|
+
import { generateGAVCoordinates } from '@finos/legend-storage';
|
77
75
|
import { flowResult } from 'mobx';
|
78
76
|
import { observer } from 'mobx-react-lite';
|
79
77
|
import { forwardRef, useEffect, useRef, useState } from 'react';
|
@@ -32,7 +32,11 @@ import {
|
|
32
32
|
import { useEditorStore } from '../EditorStoreProvider.js';
|
33
33
|
import { LEGEND_STUDIO_SETTING_KEY } from '../../../__lib__/LegendStudioSetting.js';
|
34
34
|
import { flowResult } from 'mobx';
|
35
|
-
import
|
35
|
+
import {
|
36
|
+
PARSER_SECTION_MARKER,
|
37
|
+
PURE_PARSER,
|
38
|
+
type PureModel,
|
39
|
+
} from '@finos/legend-graph';
|
36
40
|
|
37
41
|
export const DevToolPanel = observer(() => {
|
38
42
|
const editorStore = useEditorStore();
|
@@ -71,8 +75,8 @@ export const DevToolPanel = observer(() => {
|
|
71
75
|
);
|
72
76
|
};
|
73
77
|
|
74
|
-
const downloadDependencyProjectGrammars = async (): Promise<string> => {
|
75
|
-
const
|
78
|
+
const downloadDependencyProjectGrammars = async (): Promise<string[]> => {
|
79
|
+
const grammars = await Promise.all(
|
76
80
|
Array.from(
|
77
81
|
editorStore.graphManagerState.graph.dependencyManager
|
78
82
|
.projectDependencyModelsIndex,
|
@@ -88,7 +92,7 @@ export const DevToolPanel = observer(() => {
|
|
88
92
|
) as string,
|
89
93
|
),
|
90
94
|
);
|
91
|
-
return
|
95
|
+
return grammars;
|
92
96
|
};
|
93
97
|
|
94
98
|
const downloadProjectGrammar = async (
|
@@ -105,14 +109,17 @@ export const DevToolPanel = observer(() => {
|
|
105
109
|
const dependencyGrammars = withDependency
|
106
110
|
? ((await Promise.all([
|
107
111
|
flowResult(downloadDependencyProjectGrammars()),
|
108
|
-
])) as unknown as string)
|
109
|
-
:
|
112
|
+
])) as unknown as string[])
|
113
|
+
: [];
|
114
|
+
const fullGrammar = [graphGrammar, ...dependencyGrammars].join(
|
115
|
+
`\n${PARSER_SECTION_MARKER}${PURE_PARSER.PURE}\n`,
|
116
|
+
);
|
110
117
|
const fileName = `grammar.${getContentTypeFileExtension(
|
111
118
|
ContentType.TEXT_PLAIN,
|
112
119
|
)}`;
|
113
120
|
downloadFileUsingDataURI(
|
114
121
|
fileName,
|
115
|
-
`${
|
122
|
+
`${fullGrammar}`,
|
116
123
|
ContentType.TEXT_PLAIN,
|
117
124
|
);
|
118
125
|
};
|
@@ -27,6 +27,7 @@ import {
|
|
27
27
|
EngineError,
|
28
28
|
GraphBuilderError,
|
29
29
|
reportGraphAnalytics,
|
30
|
+
INTERNAL__UnknownElement,
|
30
31
|
} from '@finos/legend-graph';
|
31
32
|
import {
|
32
33
|
type GeneratorFn,
|
@@ -35,6 +36,7 @@ import {
|
|
35
36
|
ActionState,
|
36
37
|
StopWatch,
|
37
38
|
assertNonNullable,
|
39
|
+
filterByType,
|
38
40
|
} from '@finos/legend-shared';
|
39
41
|
import type { Entity } from '@finos/legend-storage';
|
40
42
|
import { makeObservable, flow, flowResult, observable } from 'mobx';
|
@@ -96,6 +98,11 @@ export class GraphEditGrammarModeState extends GraphEditorMode {
|
|
96
98
|
sourceInformationIndex,
|
97
99
|
);
|
98
100
|
|
101
|
+
//Include the UnknownPackageableElements when sending to compute local changes
|
102
|
+
//Otherwise, they get deleted because they dont exist in the graphGrammarText
|
103
|
+
const unknownEntities = this.getUnknownPackageableElementsAsEntities();
|
104
|
+
entities.push(...unknownEntities);
|
105
|
+
|
99
106
|
yield flowResult(
|
100
107
|
this.editorStore.changeDetectionState.computeLocalChangesInTextMode(
|
101
108
|
entities,
|
@@ -195,6 +202,12 @@ export class GraphEditGrammarModeState extends GraphEditorMode {
|
|
195
202
|
return this.grammarTextEditorState.currentTextGraphHash;
|
196
203
|
}
|
197
204
|
|
205
|
+
getUnknownPackageableElementsAsEntities(): Entity[] {
|
206
|
+
return this.editorStore.graphManagerState.graph.allOwnElements.filter(
|
207
|
+
filterByType(INTERNAL__UnknownElement),
|
208
|
+
);
|
209
|
+
}
|
210
|
+
|
198
211
|
*addElement(
|
199
212
|
element: PackageableElement,
|
200
213
|
packagePath: string | undefined,
|
@@ -354,6 +367,12 @@ export class GraphEditGrammarModeState extends GraphEditorMode {
|
|
354
367
|
)) as TextCompilationResult;
|
355
368
|
|
356
369
|
const entities = compilationResult.entities;
|
370
|
+
|
371
|
+
//Include the UnknownPackageableElements when updating graph and sending to compute local changes
|
372
|
+
//Otherwise, they get deleted because they dont exist in the CompilationResult
|
373
|
+
const unknownEntities = this.getUnknownPackageableElementsAsEntities();
|
374
|
+
entities.push(...unknownEntities);
|
375
|
+
|
357
376
|
this.editorStore.graphState.setMostRecentCompilationGraphHash(
|
358
377
|
currentGraphHash,
|
359
378
|
);
|
@@ -477,8 +496,15 @@ export class GraphEditGrammarModeState extends GraphEditorMode {
|
|
477
496
|
compilationResult.warnings,
|
478
497
|
)
|
479
498
|
: [];
|
480
|
-
|
481
|
-
|
499
|
+
|
500
|
+
const entities = compilationResult.entities;
|
501
|
+
|
502
|
+
//Include the UnknownPackageableElements when updating graph
|
503
|
+
//Otherwise, they get deleted because they dont exist in the CompilationResult
|
504
|
+
const unknownEntities = this.getUnknownPackageableElementsAsEntities();
|
505
|
+
entities.push(...unknownEntities);
|
506
|
+
|
507
|
+
this.editorStore.graphState.compilationResultEntities = entities;
|
482
508
|
this.editorStore.applicationStore.alertService.setBlockingAlert({
|
483
509
|
message: 'Leaving text mode and rebuilding graph...',
|
484
510
|
showLoading: true,
|
@@ -557,10 +583,11 @@ export class GraphEditGrammarModeState extends GraphEditorMode {
|
|
557
583
|
this.grammarTextEditorState.setGraphGrammarText(editorGrammar),
|
558
584
|
);
|
559
585
|
} else {
|
586
|
+
//Exclude UnknownPackageableElements from GrammarText editor mode since they cant be tranformed to PureCode
|
560
587
|
const graphGrammar =
|
561
588
|
(yield this.editorStore.graphManagerState.graphManager.graphToPureCode(
|
562
589
|
this.editorStore.graphManagerState.graph,
|
563
|
-
{ pretty: true },
|
590
|
+
{ pretty: true, excludeUnknown: true },
|
564
591
|
)) as string;
|
565
592
|
yield flowResult(
|
566
593
|
this.grammarTextEditorState.setGraphGrammarText(graphGrammar),
|
@@ -170,7 +170,7 @@ export class NativeModelImporterEditorState extends ModelImporterEditorState {
|
|
170
170
|
case MODEL_IMPORT_NATIVE_INPUT_TYPE.PURE_PROTOCOL: {
|
171
171
|
const graphEntities = this.editorStore.graphManagerState.graphBuildState
|
172
172
|
.hasSucceeded
|
173
|
-
? this.editorStore.graphManagerState.graph.
|
173
|
+
? this.editorStore.graphManagerState.graph.knownAllOwnElements.map(
|
174
174
|
(element) =>
|
175
175
|
this.editorStore.graphManagerState.graphManager.elementToEntity(
|
176
176
|
element,
|
@@ -187,7 +187,7 @@ export class NativeModelImporterEditorState extends ModelImporterEditorState {
|
|
187
187
|
case MODEL_IMPORT_NATIVE_INPUT_TYPE.ENTITIES: {
|
188
188
|
const graphEntities = this.editorStore.graphManagerState.graphBuildState
|
189
189
|
.hasSucceeded
|
190
|
-
? this.editorStore.graphManagerState.graph.
|
190
|
+
? this.editorStore.graphManagerState.graph.knownAllOwnElements.map(
|
191
191
|
(element) =>
|
192
192
|
this.editorStore.graphManagerState.graphManager.elementToEntity(
|
193
193
|
element,
|
@@ -206,6 +206,7 @@ export class NativeModelImporterEditorState extends ModelImporterEditorState {
|
|
206
206
|
this.modelText =
|
207
207
|
(yield this.editorStore.graphManagerState.graphManager.graphToPureCode(
|
208
208
|
this.editorStore.graphManagerState.graph,
|
209
|
+
{ excludeUnknown: true },
|
209
210
|
)) as string;
|
210
211
|
break;
|
211
212
|
}
|
@@ -31,7 +31,7 @@ import {
|
|
31
31
|
type PackageableElement,
|
32
32
|
GRAPH_MANAGER_EVENT,
|
33
33
|
isElementReadOnly,
|
34
|
-
|
34
|
+
INTERNAL__UnknownElement,
|
35
35
|
} from '@finos/legend-graph';
|
36
36
|
import { DEFAULT_TAB_SIZE } from '@finos/legend-application';
|
37
37
|
import type { ElementFileGenerationState } from './ElementFileGenerationState.js';
|
@@ -201,14 +201,11 @@ export abstract class ElementEditorState extends EditorState {
|
|
201
201
|
);
|
202
202
|
} catch (error) {
|
203
203
|
assertErrorThrown(error);
|
204
|
-
const isUnknownEntity = isType(
|
205
|
-
this.element,
|
206
|
-
INTERNAL__UnknownPackageableElement,
|
207
|
-
);
|
204
|
+
const isUnknownEntity = isType(this.element, INTERNAL__UnknownElement);
|
208
205
|
if (isUnknownEntity) {
|
209
206
|
const unknownEntity = guaranteeType(
|
210
207
|
this.element,
|
211
|
-
|
208
|
+
INTERNAL__UnknownElement,
|
212
209
|
);
|
213
210
|
this.setTextContent(
|
214
211
|
JSON.stringify(unknownEntity.content, undefined, DEFAULT_TAB_SIZE),
|
package/src/stores/editor/editor-state/element-editor-state/service/ServiceRegistrationState.ts
CHANGED
@@ -30,6 +30,7 @@ import {
|
|
30
30
|
assertTrue,
|
31
31
|
URL_SEPARATOR,
|
32
32
|
filterByType,
|
33
|
+
compareSemVerVersions,
|
33
34
|
} from '@finos/legend-shared';
|
34
35
|
import { LEGEND_STUDIO_APP_EVENT } from '../../../../../__lib__/LegendStudioEvent.js';
|
35
36
|
import {
|
@@ -48,7 +49,6 @@ import {
|
|
48
49
|
ActionAlertActionType,
|
49
50
|
ActionAlertType,
|
50
51
|
} from '@finos/legend-application';
|
51
|
-
import { compareSemVerVersions } from '@finos/legend-storage';
|
52
52
|
import { MASTER_SNAPSHOT_ALIAS } from '@finos/legend-server-depot';
|
53
53
|
|
54
54
|
export const LATEST_PROJECT_REVISION = 'Latest Project Revision';
|
@@ -73,7 +73,7 @@ export enum PACKAGEABLE_ELEMENT_TYPE {
|
|
73
73
|
HOSTED_SERVICE = 'HOSTED_SERVICE',
|
74
74
|
|
75
75
|
TEMPORARY__LOCAL_CONNECTION = 'LOCAL_CONNECTION',
|
76
|
-
|
76
|
+
INTERNAL__UnknownElement = 'UNKNOWN',
|
77
77
|
}
|
78
78
|
|
79
79
|
export enum PACKAGEABLE_ELEMENT_GROUP_BY_CATEGORY {
|