@finos/legend-application-studio 28.18.69 → 28.18.70

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.
Files changed (173) hide show
  1. package/lib/__lib__/LegendStudioDocumentation.d.ts +0 -1
  2. package/lib/__lib__/LegendStudioDocumentation.d.ts.map +1 -1
  3. package/lib/__lib__/LegendStudioDocumentation.js +0 -2
  4. package/lib/__lib__/LegendStudioDocumentation.js.map +1 -1
  5. package/lib/components/editor/editor-group/EditorGroup.d.ts.map +1 -1
  6. package/lib/components/editor/editor-group/EditorGroup.js +2 -5
  7. package/lib/components/editor/editor-group/EditorGroup.js.map +1 -1
  8. package/lib/components/editor/editor-group/GenerationSpecificationEditor.js +4 -4
  9. package/lib/components/editor/editor-group/GenerationSpecificationEditor.js.map +1 -1
  10. package/lib/components/editor/editor-group/GrammarTextEditor.js +5 -5
  11. package/lib/components/editor/editor-group/GrammarTextEditor.js.map +1 -1
  12. package/lib/components/editor/editor-group/RuntimeEditor.js +6 -6
  13. package/lib/components/editor/editor-group/RuntimeEditor.js.map +1 -1
  14. package/lib/components/editor/editor-group/data-editor/DataElementEditor.js +3 -3
  15. package/lib/components/editor/editor-group/data-editor/DataElementEditor.js.map +1 -1
  16. package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -1
  17. package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js +1 -1
  18. package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js.map +1 -1
  19. package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js +2 -2
  20. package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js.map +1 -1
  21. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +2 -2
  22. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
  23. package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts.map +1 -1
  24. package/lib/components/editor/editor-group/function-activator/FunctionEditor.js +14 -7
  25. package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
  26. package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.d.ts.map +1 -1
  27. package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js +10 -5
  28. package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js.map +1 -1
  29. package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.d.ts.map +1 -1
  30. package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js +6 -4
  31. package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js.map +1 -1
  32. package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.d.ts.map +1 -1
  33. package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js +12 -8
  34. package/lib/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.js.map +1 -1
  35. package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.d.ts.map +1 -1
  36. package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js +6 -5
  37. package/lib/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.js.map +1 -1
  38. package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js +2 -2
  39. package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
  40. package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
  41. package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js +4 -4
  42. package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
  43. package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.d.ts.map +1 -1
  44. package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js +12 -8
  45. package/lib/components/editor/editor-group/mapping-editor/MappingExplorer.js.map +1 -1
  46. package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js +2 -2
  47. package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js.map +1 -1
  48. package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js +2 -2
  49. package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
  50. package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.d.ts.map +1 -1
  51. package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js +17 -11
  52. package/lib/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.js.map +1 -1
  53. package/lib/components/editor/editor-group/mapping-editor/TypeTree.d.ts.map +1 -1
  54. package/lib/components/editor/editor-group/mapping-editor/TypeTree.js +5 -3
  55. package/lib/components/editor/editor-group/mapping-editor/TypeTree.js.map +1 -1
  56. package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js +2 -2
  57. package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js.map +1 -1
  58. package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.d.ts.map +1 -1
  59. package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js +17 -11
  60. package/lib/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.js.map +1 -1
  61. package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.d.ts.map +1 -1
  62. package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js +5 -3
  63. package/lib/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.js.map +1 -1
  64. package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.d.ts.map +1 -1
  65. package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js +1 -2
  66. package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
  67. package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js +2 -2
  68. package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js.map +1 -1
  69. package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
  70. package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js +0 -1
  71. package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
  72. package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js +3 -3
  73. package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js.map +1 -1
  74. package/lib/components/editor/editor-group/uml-editor/ClassEditor.js +10 -10
  75. package/lib/components/editor/editor-group/uml-editor/ClassEditor.js.map +1 -1
  76. package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js +6 -6
  77. package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js.map +1 -1
  78. package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js +3 -3
  79. package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js.map +1 -1
  80. package/lib/components/editor/panel-group/SQLPlaygroundPanel.d.ts.map +1 -1
  81. package/lib/components/editor/panel-group/SQLPlaygroundPanel.js +4 -2
  82. package/lib/components/editor/panel-group/SQLPlaygroundPanel.js.map +1 -1
  83. package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
  84. package/lib/components/editor/side-bar/CreateNewElementModal.js +2 -4
  85. package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
  86. package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
  87. package/lib/components/editor/side-bar/Explorer.js +4 -2
  88. package/lib/components/editor/side-bar/Explorer.js.map +1 -1
  89. package/lib/components/editor/side-bar/LocalChanges.d.ts.map +1 -1
  90. package/lib/components/editor/side-bar/LocalChanges.js +3 -8
  91. package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
  92. package/lib/components/editor/side-bar/WorkspaceReview.d.ts.map +1 -1
  93. package/lib/components/editor/side-bar/WorkspaceReview.js +1 -4
  94. package/lib/components/editor/side-bar/WorkspaceReview.js.map +1 -1
  95. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts.map +1 -1
  96. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +3 -8
  97. package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
  98. package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.d.ts.map +1 -1
  99. package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js +3 -8
  100. package/lib/components/editor/side-bar/WorkspaceUpdateConflictResolver.js.map +1 -1
  101. package/lib/components/editor/side-bar/WorkspaceUpdater.d.ts.map +1 -1
  102. package/lib/components/editor/side-bar/WorkspaceUpdater.js +2 -4
  103. package/lib/components/editor/side-bar/WorkspaceUpdater.js.map +1 -1
  104. package/lib/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.js.map +1 -1
  105. package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +1 -1
  106. package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
  107. package/lib/components/project-reviewer/ProjectReviewSideBar.d.ts.map +1 -1
  108. package/lib/components/project-reviewer/ProjectReviewSideBar.js +1 -4
  109. package/lib/components/project-reviewer/ProjectReviewSideBar.js.map +1 -1
  110. package/lib/index.css +1 -1
  111. package/lib/package.json +12 -12
  112. package/lib/stores/editor/editor-state/GraphGenerationState.d.ts.map +1 -1
  113. package/lib/stores/editor/editor-state/GraphGenerationState.js +1 -2
  114. package/lib/stores/editor/editor-state/GraphGenerationState.js.map +1 -1
  115. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.d.ts.map +1 -1
  116. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js +3 -6
  117. package/lib/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.js.map +1 -1
  118. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js +1 -3
  119. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +1 -1
  120. package/lib/stores/editor/sidebar-state/WorkflowManagerState.d.ts.map +1 -1
  121. package/lib/stores/editor/sidebar-state/WorkflowManagerState.js +1 -3
  122. package/lib/stores/editor/sidebar-state/WorkflowManagerState.js.map +1 -1
  123. package/lib/stores/editor/utils/FileSystemTreeUtils.d.ts.map +1 -1
  124. package/lib/stores/editor/utils/FileSystemTreeUtils.js +1 -2
  125. package/lib/stores/editor/utils/FileSystemTreeUtils.js.map +1 -1
  126. package/package.json +24 -24
  127. package/src/__lib__/LegendStudioDocumentation.ts +0 -3
  128. package/src/components/editor/editor-group/EditorGroup.tsx +4 -5
  129. package/src/components/editor/editor-group/GenerationSpecificationEditor.tsx +4 -4
  130. package/src/components/editor/editor-group/GrammarTextEditor.tsx +5 -5
  131. package/src/components/editor/editor-group/RuntimeEditor.tsx +6 -6
  132. package/src/components/editor/editor-group/data-editor/DataElementEditor.tsx +4 -4
  133. package/src/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.tsx +2 -1
  134. package/src/components/editor/editor-group/element-generation-editor/FileGenerationEditor.tsx +2 -2
  135. package/src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.tsx +2 -2
  136. package/src/components/editor/editor-group/function-activator/FunctionEditor.tsx +16 -7
  137. package/src/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.tsx +12 -5
  138. package/src/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.tsx +6 -4
  139. package/src/components/editor/editor-group/mapping-editor/FlatDataPropertyMappingEditor.tsx +21 -11
  140. package/src/components/editor/editor-group/mapping-editor/FlatDataRecordTypeTree.tsx +6 -5
  141. package/src/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.tsx +2 -2
  142. package/src/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.tsx +7 -4
  143. package/src/components/editor/editor-group/mapping-editor/MappingExplorer.tsx +14 -8
  144. package/src/components/editor/editor-group/mapping-editor/MappingTestsExplorer.tsx +2 -2
  145. package/src/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.tsx +2 -2
  146. package/src/components/editor/editor-group/mapping-editor/PurePropertyMappingEditor.tsx +23 -15
  147. package/src/components/editor/editor-group/mapping-editor/TypeTree.tsx +6 -3
  148. package/src/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.tsx +2 -2
  149. package/src/components/editor/editor-group/mapping-editor/relational/RelationalPropertyMappingEditor.tsx +21 -14
  150. package/src/components/editor/editor-group/mapping-editor/relational/TableOrViewSourceTree.tsx +6 -3
  151. package/src/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.tsx +1 -2
  152. package/src/components/editor/editor-group/service-editor/ServiceExecutionEditor.tsx +2 -2
  153. package/src/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.tsx +0 -1
  154. package/src/components/editor/editor-group/uml-editor/AssociationEditor.tsx +4 -4
  155. package/src/components/editor/editor-group/uml-editor/ClassEditor.tsx +10 -10
  156. package/src/components/editor/editor-group/uml-editor/EnumerationEditor.tsx +8 -8
  157. package/src/components/editor/editor-group/uml-editor/PropertyEditor.tsx +4 -4
  158. package/src/components/editor/panel-group/SQLPlaygroundPanel.tsx +7 -8
  159. package/src/components/editor/side-bar/CreateNewElementModal.tsx +2 -4
  160. package/src/components/editor/side-bar/Explorer.tsx +5 -2
  161. package/src/components/editor/side-bar/LocalChanges.tsx +10 -15
  162. package/src/components/editor/side-bar/WorkspaceReview.tsx +8 -11
  163. package/src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx +10 -15
  164. package/src/components/editor/side-bar/WorkspaceUpdateConflictResolver.tsx +10 -15
  165. package/src/components/editor/side-bar/WorkspaceUpdater.tsx +2 -4
  166. package/src/components/editor/side-bar/end-to-end-workflow/EndToEndWorkflows.tsx +1 -1
  167. package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +1 -1
  168. package/src/components/project-reviewer/ProjectReviewSideBar.tsx +8 -11
  169. package/src/stores/editor/editor-state/GraphGenerationState.ts +1 -2
  170. package/src/stores/editor/editor-state/element-editor-state/connection/DatabaseBuilderState.ts +5 -6
  171. package/src/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.ts +3 -3
  172. package/src/stores/editor/sidebar-state/WorkflowManagerState.ts +3 -5
  173. package/src/stores/editor/utils/FileSystemTreeUtils.ts +1 -2
@@ -1 +1 @@
1
- {"version":3,"file":"FileSystemTreeUtils.js","sourceRoot":"","sources":["../../../../src/stores/editor/utils/FileSystemTreeUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,aAAa,EACb,kBAAkB,EAClB,cAAc,GACf,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,wBAAwB,GAEzB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,CAAC,MAAM,yBAAyB,GAAG,sBAAsB,CAAC;AAOhE,MAAM,iBAAiB;IACrB,IAAI,CAAS;IACb,SAAS,CAAoC;IAC7C,QAAQ,CAAsB;IAE9B,YAAY,IAAY,EAAE,oBAA6B;QACrD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,oBAAoB,CAAC;IACvC,CAAC;IAED,IAAI,IAAI;QACN,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;YACpB,OAAO,IAAI,CAAC,IAAI,CAAC;QACnB,CAAC;QACD,MAAM,mBAAmB,GAAG,IAAI,CAAC,SAAS,CAAC,gBAAgB,EAAE,CAAC;QAC9D,OAAO,CAAC,mBAAmB;YACzB,CAAC,CAAC,IAAI,CAAC,IAAI;YACX,CAAC,CAAC,GAAG,mBAAmB,GAAG,wBAAwB,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;IACtE,CAAC;CACF;AAED,MAAM,OAAO,oBAAqB,SAAQ,iBAAiB;IACzD,QAAQ,GAAwB,EAAE,CAAC;IAEnC,YAAY,CAAC,GAAyB;QACpC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uB,EACvB,QAAkB,EACZ,EAAE;IACR,MAAM,eAAe,GAAG,CACtB,WAAmB,EACiB,EAAE;QACtC,MAAM,OAAO,GACX,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC;YAC3B,kBAAkB,CAAC,GAAG,EAAE,CACtB,oBAAoB,CAAC,oBAAoB,CACvC,aAAa,EACb,WAAW,EACX,KAAK,CACN,CACF,CAAC;QACJ,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,QAAQ,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;QAC/C,CAAC;QACD,OAAO,SAAS,CAAC;IACnB,CAAC,CAAC;IACF,aAAa,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;IACvC,IAAI,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,EAAE,CAAC;QAC/C,YAAY,CAAC,aAAa,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAC7C,CAAC;AACH,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-studio",
3
- "version": "28.18.69",
3
+ "version": "28.18.70",
4
4
  "description": "Legend Studio application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -45,46 +45,46 @@
45
45
  "test:watch": "jest --watch"
46
46
  },
47
47
  "dependencies": {
48
- "@finos/legend-application": "16.0.12",
49
- "@finos/legend-art": "7.1.69",
50
- "@finos/legend-code-editor": "2.0.26",
51
- "@finos/legend-graph": "31.10.60",
52
- "@finos/legend-lego": "2.0.28",
53
- "@finos/legend-query-builder": "4.15.29",
54
- "@finos/legend-server-depot": "6.0.71",
55
- "@finos/legend-server-sdlc": "5.3.39",
56
- "@finos/legend-server-showcase": "0.2.35",
57
- "@finos/legend-shared": "10.0.62",
58
- "@finos/legend-storage": "3.0.113",
48
+ "@finos/legend-application": "16.0.13",
49
+ "@finos/legend-art": "7.1.70",
50
+ "@finos/legend-code-editor": "2.0.27",
51
+ "@finos/legend-graph": "31.10.61",
52
+ "@finos/legend-lego": "2.0.29",
53
+ "@finos/legend-query-builder": "4.15.30",
54
+ "@finos/legend-server-depot": "6.0.72",
55
+ "@finos/legend-server-sdlc": "5.3.40",
56
+ "@finos/legend-server-showcase": "0.2.36",
57
+ "@finos/legend-shared": "10.0.63",
58
+ "@finos/legend-storage": "3.0.114",
59
59
  "@testing-library/dom": "10.4.0",
60
- "@testing-library/react": "16.0.1",
61
- "@types/react": "18.3.12",
62
- "@types/react-dom": "18.3.1",
63
- "fast-xml-parser": "4.5.0",
60
+ "@testing-library/react": "16.1.0",
61
+ "@types/react": "19.0.2",
62
+ "@types/react-dom": "19.0.2",
63
+ "fast-xml-parser": "4.5.1",
64
64
  "mobx": "6.13.5",
65
- "mobx-react-lite": "4.0.7",
65
+ "mobx-react-lite": "4.1.0",
66
66
  "mobx-utils": "6.1.0",
67
- "monaco-editor": "0.52.0",
67
+ "monaco-editor": "0.52.2",
68
68
  "node-diff3": "3.1.2",
69
- "react": "18.3.1",
69
+ "react": "19.0.0",
70
70
  "react-dnd": "16.0.1",
71
- "react-dom": "18.3.1",
71
+ "react-dom": "19.0.0",
72
72
  "serializr": "3.0.3",
73
73
  "yaml": "2.6.1"
74
74
  },
75
75
  "devDependencies": {
76
- "@finos/legend-dev-utils": "2.1.31",
76
+ "@finos/legend-dev-utils": "2.1.32",
77
77
  "@jest/globals": "29.7.0",
78
78
  "cross-env": "7.0.3",
79
- "eslint": "9.16.0",
79
+ "eslint": "9.17.0",
80
80
  "jest": "29.7.0",
81
81
  "npm-run-all": "4.1.5",
82
82
  "rimraf": "6.0.1",
83
- "sass": "1.81.0",
83
+ "sass": "1.83.0",
84
84
  "typescript": "5.7.2"
85
85
  },
86
86
  "peerDependencies": {
87
- "react": "^18.0.0"
87
+ "react": "^19.0.0"
88
88
  },
89
89
  "publishConfig": {
90
90
  "directory": "build/publishContent"
@@ -90,7 +90,6 @@ export enum LEGEND_STUDIO_DOCUMENTATION_KEY {
90
90
  CONTEXT_SERVICE_TEST_EDITOR = 'context.service-editor.test',
91
91
  CONTEXT_DATA_ELEMENT_EDITOR = 'context.data-element-editor',
92
92
  CONTEXT_MAPPING_TEST_EDITOR = 'context.mapping-editor.test',
93
- CONTEXT_FUNCTION_TEST_EDITOR = 'context.function-editor.test',
94
93
  // application cards
95
94
  APPLICATION_PRODUCTION = 'application.production',
96
95
  APPLICATION_SANDBOX = 'application.sandbox',
@@ -107,8 +106,6 @@ export const CORE_CONTEXTUAL_DOCUMENTATION_CONFIG: ContextualDocumentationConfig
107
106
  LEGEND_STUDIO_DOCUMENTATION_KEY.QUESTION_HOW_TO_WRITE_A_CONSTRAINT_LAMBDA,
108
107
  [LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.SERVICE_EDITOR_TEST]:
109
108
  LEGEND_STUDIO_DOCUMENTATION_KEY.CONTEXT_SERVICE_TEST_EDITOR,
110
- [LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.FUNCTION_EDITOR_TEST]:
111
- LEGEND_STUDIO_DOCUMENTATION_KEY.CONTEXT_FUNCTION_TEST_EDITOR,
112
109
  [LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.MAPPING_EDITOR_TEST]:
113
110
  LEGEND_STUDIO_DOCUMENTATION_KEY.CONTEXT_MAPPING_TEST_EDITOR,
114
111
  [LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.DATA_ELEMENT_EDITOR]:
@@ -222,14 +222,13 @@ export const EditorGroup = observer(() => {
222
222
  currentTabState instanceof ElementEditorState
223
223
  ? editorStore.graphState.graphGenerationState.externalFormatState.externalFormatDescriptions
224
224
  .filter((f) => f.supportsSchemaGeneration)
225
- .slice()
226
- .sort((a, b): number => a.name.localeCompare(b.name))
225
+ .toSorted((a, b): number => a.name.localeCompare(b.name))
227
226
  : [];
228
227
  const generationViewModes = (
229
228
  currentTabState instanceof ElementEditorState
230
- ? editorStore.graphState.graphGenerationState.globalFileGenerationState.fileGenerationConfigurations
231
- .slice()
232
- .sort((a, b): number => a.label.localeCompare(b.label))
229
+ ? editorStore.graphState.graphGenerationState.globalFileGenerationState.fileGenerationConfigurations.toSorted(
230
+ (a, b): number => a.label.localeCompare(b.label),
231
+ )
233
232
  : []
234
233
  ).filter(
235
234
  (file) =>
@@ -282,7 +282,7 @@ const ModelGenerationSpecifications = observer(
282
282
  ),
283
283
  [specState],
284
284
  );
285
- const [{ isDragOver }, dropTargetConnector] = useDrop<
285
+ const [{ isDragOver }, dropConnector] = useDrop<
286
286
  ElementDragSource,
287
287
  void,
288
288
  { isDragOver: boolean }
@@ -316,7 +316,7 @@ const ModelGenerationSpecifications = observer(
316
316
  <PanelContent>
317
317
  <PanelDropZone
318
318
  isDragOver={isDragOver}
319
- dropTargetConnector={dropTargetConnector}
319
+ dropTargetConnector={dropConnector}
320
320
  >
321
321
  {specNodesStates.length ? (
322
322
  <div className="generation-spec-model-generation-editor__items">
@@ -445,7 +445,7 @@ const FileGenerationSpecifications = observer(
445
445
  },
446
446
  [fileGenerations, generationSpec],
447
447
  );
448
- const [{ isDragOver }, dropTargetConnector] = useDrop<
448
+ const [{ isDragOver }, dropConnector] = useDrop<
449
449
  ElementDragSource,
450
450
  void,
451
451
  { isDragOver: boolean }
@@ -482,7 +482,7 @@ const FileGenerationSpecifications = observer(
482
482
  <PanelContent>
483
483
  <PanelDropZone
484
484
  isDragOver={isDragOver}
485
- dropTargetConnector={dropTargetConnector}
485
+ dropTargetConnector={dropConnector}
486
486
  >
487
487
  {generationSpec.fileGenerations.length ? (
488
488
  <div className="generation-spec-file-generation-editor__items">
@@ -785,7 +785,7 @@ export const GrammarTextEditor = observer(() => {
785
785
  const forcedCursorPosition = grammarTextEditorState.forcedCursorPosition;
786
786
  const wordWrapOtion = grammarTextEditorState.wordWrapOtion;
787
787
  const value = normalizeLineEnding(grammarTextEditorState.graphGrammarText);
788
- const textEditorRef = useRef<HTMLDivElement>(null);
788
+ const ref = useRef<HTMLDivElement>(null);
789
789
  const hoverProviderDisposer = useRef<IDisposable | undefined>(undefined);
790
790
  const suggestionProviderDisposer = useRef<IDisposable | undefined>(undefined);
791
791
 
@@ -806,8 +806,8 @@ export const GrammarTextEditor = observer(() => {
806
806
  };
807
807
 
808
808
  useEffect(() => {
809
- if (!editor && textEditorRef.current) {
810
- const element = textEditorRef.current;
809
+ if (!editor && ref.current) {
810
+ const element = ref.current;
811
811
  const _editor = monacoEditorAPI.create(element, {
812
812
  ...getBaseCodeEditorOptions(),
813
813
  language: CODE_EDITOR_LANGUAGE.PURE,
@@ -889,7 +889,7 @@ export const GrammarTextEditor = observer(() => {
889
889
  }),
890
890
  [extraElementDragTypes, handleDrop],
891
891
  );
892
- dropConnector(textEditorRef);
892
+ dropConnector(ref);
893
893
  if (editor) {
894
894
  // Set the value of the editor
895
895
  const currentValue = getCodeEditorValue(editor);
@@ -1293,7 +1293,7 @@ export const GrammarTextEditor = observer(() => {
1293
1293
  isLoading={editorStore.graphState.isRunningGlobalCompile}
1294
1294
  />
1295
1295
  <div className="code-editor__container">
1296
- <div className="code-editor__body" ref={textEditorRef} />
1296
+ <div className="code-editor__body" ref={ref} />
1297
1297
  </div>
1298
1298
  </PanelContent>
1299
1299
  </div>
@@ -412,7 +412,7 @@ const RuntimeExplorer = observer(
412
412
  },
413
413
  [isReadOnly, runtimeEditorState, runtimeValue],
414
414
  );
415
- const [{ isRuntimeSubElementDragOver }, dropRuntimeSubElementRef] = useDrop<
415
+ const [{ isRuntimeSubElementDragOver }, dropConnector] = useDrop<
416
416
  ElementDragSource,
417
417
  void,
418
418
  { isRuntimeSubElementDragOver: boolean }
@@ -444,7 +444,7 @@ const RuntimeExplorer = observer(
444
444
  </PanelHeader>
445
445
  <PanelContent>
446
446
  <PanelDropZone
447
- dropTargetConnector={dropRuntimeSubElementRef}
447
+ dropTargetConnector={dropConnector}
448
448
  isDragOver={isRuntimeSubElementDragOver}
449
449
  >
450
450
  <div className="panel__content__list">
@@ -660,7 +660,7 @@ const IdentifiedConnectionsPerStoreEditor = observer(
660
660
  },
661
661
  [currentRuntimeEditorTabState, isReadOnly],
662
662
  );
663
- const [{ isConnectionDragOver, dragItem }, dropConnectionRef] = useDrop<
663
+ const [{ isConnectionDragOver, dragItem }, dropConnector] = useDrop<
664
664
  ElementDragSource,
665
665
  void,
666
666
  { isConnectionDragOver: boolean; dragItem: ElementDragSource | null }
@@ -742,7 +742,7 @@ const IdentifiedConnectionsPerStoreEditor = observer(
742
742
  menuProps={{ elevation: 7 }}
743
743
  >
744
744
  <PanelDropZone
745
- dropTargetConnector={dropConnectionRef}
745
+ dropTargetConnector={dropConnector}
746
746
  isDragOver={isConnectionDragOver}
747
747
  >
748
748
  {Boolean(
@@ -915,7 +915,7 @@ const RuntimeGeneralEditor = observer(
915
915
  },
916
916
  [isReadOnly, runtimeEditorState, runtimeValue.mappings],
917
917
  );
918
- const [{ isMappingDragOver }, dropMappingRef] = useDrop<
918
+ const [{ isMappingDragOver }, dropConnector] = useDrop<
919
919
  ElementDragSource,
920
920
  void,
921
921
  { isMappingDragOver: boolean }
@@ -935,7 +935,7 @@ const RuntimeGeneralEditor = observer(
935
935
  <PanelHeader />
936
936
  <PanelContent>
937
937
  <PanelDropZone
938
- dropTargetConnector={dropMappingRef}
938
+ dropTargetConnector={dropConnector}
939
939
  isDragOver={isMappingDragOver && !isReadOnly}
940
940
  >
941
941
  <div className="panel__content__form">
@@ -227,7 +227,7 @@ export const DataElementEditor = observer(() => {
227
227
  },
228
228
  [dataElement, isReadOnly],
229
229
  );
230
- const [{ isTaggedValueDragOver }, dropTaggedValueRef] = useDrop<
230
+ const [{ isTaggedValueDragOver }, taggedValueDropConnector] = useDrop<
231
231
  ElementDragSource,
232
232
  void,
233
233
  { isTaggedValueDragOver: boolean }
@@ -254,7 +254,7 @@ export const DataElementEditor = observer(() => {
254
254
  },
255
255
  [dataElement, isReadOnly],
256
256
  );
257
- const [{ isStereotypeDragOver }, dropStereotypeRef] = useDrop<
257
+ const [{ isStereotypeDragOver }, stereotypeDropConnector] = useDrop<
258
258
  ElementDragSource,
259
259
  void,
260
260
  { isStereotypeDragOver: boolean }
@@ -352,7 +352,7 @@ export const DataElementEditor = observer(() => {
352
352
  <div className="data-editor__content__lists">
353
353
  <PanelDropZone
354
354
  isDragOver={isStereotypeDragOver && !isReadOnly}
355
- dropTargetConnector={dropStereotypeRef}
355
+ dropTargetConnector={stereotypeDropConnector}
356
356
  >
357
357
  <PanelContentLists>
358
358
  <StereotypeDragPreviewLayer />
@@ -401,7 +401,7 @@ export const DataElementEditor = observer(() => {
401
401
  <div className="data-editor__content__lists">
402
402
  <PanelDropZone
403
403
  isDragOver={isTaggedValueDragOver && !isReadOnly}
404
- dropTargetConnector={dropTaggedValueRef}
404
+ dropTargetConnector={taggedValueDropConnector}
405
405
  >
406
406
  <PanelContentLists>
407
407
  <TaggedValueDragPreviewLayer />
@@ -163,7 +163,8 @@ const MergeConflictEditor = observer(
163
163
  ? normalizeLineEnding(conflictEditorState.mergedText)
164
164
  : '';
165
165
  const error = conflictEditorState.mergeEditorParserError;
166
- const decorations = useRef<monacoEditorAPI.IEditorDecorationsCollection>();
166
+ const decorations =
167
+ useRef<monacoEditorAPI.IEditorDecorationsCollection>(null);
167
168
  const mergeConflictResolutionCodeLensDisposer = useRef<
168
169
  IDisposable | undefined
169
170
  >(undefined);
@@ -1023,7 +1023,7 @@ export const FileGenerationConfigurationEditor = observer(
1023
1023
  isReadOnly,
1024
1024
  ],
1025
1025
  );
1026
- const [{ isScopeElementDragOver }, scopeElementDropRef] = useDrop<
1026
+ const [{ isScopeElementDragOver }, dropConnector] = useDrop<
1027
1027
  ElementDragSource,
1028
1028
  void,
1029
1029
  { isScopeElementDragOver: boolean }
@@ -1078,7 +1078,7 @@ export const FileGenerationConfigurationEditor = observer(
1078
1078
  </PanelHeader>
1079
1079
  <PanelContent>
1080
1080
  <PanelDropZone
1081
- dropTargetConnector={scopeElementDropRef}
1081
+ dropTargetConnector={dropConnector}
1082
1082
  isDragOver={
1083
1083
  isScopeElementDragOver && !elementGenerationState && !isReadOnly
1084
1084
  }
@@ -123,7 +123,7 @@ const ModelUnitPackageElementEditor = observer(
123
123
  handleDropElement,
124
124
  isReadOnly,
125
125
  } = props;
126
- const [{ isElementDragOver }, dropElementRef] = useDrop<
126
+ const [{ isElementDragOver }, dropConnector] = useDrop<
127
127
  ElementDragSource,
128
128
  void,
129
129
  { isElementDragOver: boolean }
@@ -149,7 +149,7 @@ const ModelUnitPackageElementEditor = observer(
149
149
  <div className="model-unit-editor">
150
150
  <div className="model-unit-editor__panel__content">
151
151
  <PanelDropZone
152
- dropTargetConnector={dropElementRef}
152
+ dropTargetConnector={dropConnector}
153
153
  isDragOver={isElementDragOver && !isReadOnly}
154
154
  >
155
155
  <div className="model-unit-editor__panel__content__form__section">
@@ -924,7 +924,7 @@ const FunctionDefinitionEditor = observer(
924
924
  },
925
925
  [applicationStore, editorStore, functionElement, isReadOnly],
926
926
  );
927
- const [{ isParameterDragOver }, dropParameterRef] = useDrop<
927
+ const [{ isParameterDragOver }, dropConnector] = useDrop<
928
928
  ElementDragSource,
929
929
  void,
930
930
  { isParameterDragOver: boolean }
@@ -941,6 +941,8 @@ const FunctionDefinitionEditor = observer(
941
941
  }),
942
942
  [handleDropParameter],
943
943
  );
944
+ const ref = useRef<HTMLDivElement>(null);
945
+ dropConnector(ref);
944
946
 
945
947
  const renderFuncResult = (): React.ReactNode => {
946
948
  if (execResult instanceof RawExecutionResult) {
@@ -1004,7 +1006,7 @@ const FunctionDefinitionEditor = observer(
1004
1006
  types={[FUNCTION_PARAMETER_DND_TYPE]}
1005
1007
  />
1006
1008
  <div
1007
- ref={dropParameterRef}
1009
+ ref={ref}
1008
1010
  className={clsx('function-editor__definition__item__content', {
1009
1011
  'panel__content__lists--dnd-over':
1010
1012
  isParameterDragOver && !isReadOnly,
@@ -1095,7 +1097,7 @@ export const FunctionEditor = observer(() => {
1095
1097
  default:
1096
1098
  break;
1097
1099
  }
1098
- // Tagged Values and Stereotype
1100
+ // Tagged Values
1099
1101
  const add = (): void => {
1100
1102
  if (!isReadOnly) {
1101
1103
  if (selectedTab === FUNCTION_EDITOR_TAB.TAGGED_VALUES) {
@@ -1122,7 +1124,7 @@ export const FunctionEditor = observer(() => {
1122
1124
  },
1123
1125
  [functionElement, isReadOnly],
1124
1126
  );
1125
- const [{ isTaggedValueDragOver }, dropTaggedValueRef] = useDrop<
1127
+ const [{ isTaggedValueDragOver }, taggedValueDropConnector] = useDrop<
1126
1128
  ElementDragSource,
1127
1129
  void,
1128
1130
  { isTaggedValueDragOver: boolean }
@@ -1136,6 +1138,10 @@ export const FunctionEditor = observer(() => {
1136
1138
  }),
1137
1139
  [handleDropTaggedValue],
1138
1140
  );
1141
+ const taggedValueRef = useRef<HTMLDivElement>(null);
1142
+ taggedValueDropConnector(taggedValueRef);
1143
+
1144
+ // Stereotype
1139
1145
  const handleDropStereotype = useCallback(
1140
1146
  (item: UMLEditorElementDropTarget): void => {
1141
1147
  if (!isReadOnly && item.data.packageableElement instanceof Profile) {
@@ -1149,7 +1155,7 @@ export const FunctionEditor = observer(() => {
1149
1155
  },
1150
1156
  [functionElement, isReadOnly],
1151
1157
  );
1152
- const [{ isStereotypeDragOver }, dropStereotypeRef] = useDrop<
1158
+ const [{ isStereotypeDragOver }, stereotypeDropConnector] = useDrop<
1153
1159
  ElementDragSource,
1154
1160
  void,
1155
1161
  { isStereotypeDragOver: boolean }
@@ -1163,6 +1169,9 @@ export const FunctionEditor = observer(() => {
1163
1169
  }),
1164
1170
  [handleDropStereotype],
1165
1171
  );
1172
+ const stereotypeRef = useRef<HTMLDivElement>(null);
1173
+ stereotypeDropConnector(stereotypeRef);
1174
+
1166
1175
  const _deleteStereotype =
1167
1176
  (val: StereotypeReference): (() => void) =>
1168
1177
  (): void =>
@@ -1475,7 +1484,7 @@ export const FunctionEditor = observer(() => {
1475
1484
  )}
1476
1485
  {selectedTab === FUNCTION_EDITOR_TAB.TAGGED_VALUES && (
1477
1486
  <div
1478
- ref={dropTaggedValueRef}
1487
+ ref={taggedValueRef}
1479
1488
  className={clsx('panel__content__lists', {
1480
1489
  'panel__content__lists--dnd-over':
1481
1490
  isTaggedValueDragOver && !isReadOnly,
@@ -1496,7 +1505,7 @@ export const FunctionEditor = observer(() => {
1496
1505
  )}
1497
1506
  {selectedTab === FUNCTION_EDITOR_TAB.STEREOTYPES && (
1498
1507
  <div
1499
- ref={dropStereotypeRef}
1508
+ ref={stereotypeRef}
1500
1509
  className={clsx('panel__content__lists', {
1501
1510
  'panel__content__lists--dnd-over':
1502
1511
  isStereotypeDragOver && !isReadOnly,
@@ -100,7 +100,7 @@ export const HostedServiceFunctionActivatorEditor = observer(() => {
100
100
  break;
101
101
  }
102
102
 
103
- // Tagged Values and Stereotype
103
+ // Tagged Values
104
104
  const add = (): void => {
105
105
  if (!isReadOnly) {
106
106
  if (selectedTab === ACTIVATOR_EDITOR_TAB.TAGGED_VALUES) {
@@ -127,7 +127,7 @@ export const HostedServiceFunctionActivatorEditor = observer(() => {
127
127
  },
128
128
  [activatorElement, isReadOnly],
129
129
  );
130
- const [{ isTaggedValueDragOver }, dropTaggedValueRef] = useDrop<
130
+ const [{ isTaggedValueDragOver }, taggedValueDropConnector] = useDrop<
131
131
  ElementDragSource,
132
132
  void,
133
133
  { isTaggedValueDragOver: boolean }
@@ -141,6 +141,10 @@ export const HostedServiceFunctionActivatorEditor = observer(() => {
141
141
  }),
142
142
  [handleDropTaggedValue],
143
143
  );
144
+ const taggedValueRef = useRef<HTMLInputElement>(null);
145
+ taggedValueDropConnector(taggedValueRef);
146
+
147
+ // Stereotype
144
148
  const handleDropStereotype = useCallback(
145
149
  (item: UMLEditorElementDropTarget): void => {
146
150
  if (!isReadOnly && item.data.packageableElement instanceof Profile) {
@@ -154,7 +158,7 @@ export const HostedServiceFunctionActivatorEditor = observer(() => {
154
158
  },
155
159
  [activatorElement, isReadOnly],
156
160
  );
157
- const [{ isStereotypeDragOver }, dropStereotypeRef] = useDrop<
161
+ const [{ isStereotypeDragOver }, stereotypeDropConnector] = useDrop<
158
162
  ElementDragSource,
159
163
  void,
160
164
  { isStereotypeDragOver: boolean }
@@ -168,6 +172,9 @@ export const HostedServiceFunctionActivatorEditor = observer(() => {
168
172
  }),
169
173
  [handleDropStereotype],
170
174
  );
175
+ const stereotypeRef = useRef<HTMLInputElement>(null);
176
+ stereotypeDropConnector(stereotypeRef);
177
+
171
178
  const _deleteStereotype =
172
179
  (val: StereotypeReference): (() => void) =>
173
180
  (): void =>
@@ -451,7 +458,7 @@ export const HostedServiceFunctionActivatorEditor = observer(() => {
451
458
  )}
452
459
  {selectedTab === ACTIVATOR_EDITOR_TAB.TAGGED_VALUES && (
453
460
  <div
454
- ref={dropTaggedValueRef}
461
+ ref={taggedValueRef}
455
462
  className={clsx('panel__content__lists', {
456
463
  'panel__content__lists--dnd-over':
457
464
  isTaggedValueDragOver && !isReadOnly,
@@ -472,7 +479,7 @@ export const HostedServiceFunctionActivatorEditor = observer(() => {
472
479
  )}
473
480
  {selectedTab === ACTIVATOR_EDITOR_TAB.STEREOTYPES && (
474
481
  <div
475
- ref={dropStereotypeRef}
482
+ ref={stereotypeRef}
476
483
  className={clsx('panel__content__lists', {
477
484
  'panel__content__lists--dnd-over':
478
485
  isStereotypeDragOver && !isReadOnly,
@@ -218,7 +218,7 @@ export const SourceValueInput = observer(
218
218
  },
219
219
  [isReadOnly, updateSourceValue, value],
220
220
  );
221
- const [{ canDrop }, dropRef] = useDrop<
221
+ const [{ canDrop }, dropConnector] = useDrop<
222
222
  TypeDragSource,
223
223
  void,
224
224
  { canDrop: boolean }
@@ -232,10 +232,12 @@ export const SourceValueInput = observer(
232
232
  }),
233
233
  [handleDrop],
234
234
  );
235
+ const ref = useRef<HTMLDivElement>(null);
236
+ dropConnector(ref);
235
237
 
236
238
  return (
237
239
  <div
238
- ref={dropRef}
240
+ ref={ref}
239
241
  className={clsx(
240
242
  'enumeration-mapping-editor__enum-value__source-value',
241
243
  {
@@ -384,7 +386,7 @@ export const EnumerationMappingEditor = observer(
384
386
  },
385
387
  [enumerationMapping, isReadOnly],
386
388
  );
387
- const [{ isDragOver, canDrop }, dropRef] = useDrop<
389
+ const [{ isDragOver, canDrop }, dropConnector] = useDrop<
388
390
  ElementDragSource,
389
391
  void,
390
392
  { isDragOver: boolean; canDrop: boolean }
@@ -525,7 +527,7 @@ export const EnumerationMappingEditor = observer(
525
527
  </PanelHeader>
526
528
  <PanelContent>
527
529
  <PanelDropZone
528
- dropTargetConnector={dropRef}
530
+ dropTargetConnector={dropConnector}
529
531
  isDragOver={
530
532
  Boolean(sourceType) && isDragOver && !isReadOnly
531
533
  }