@finos/legend-application-studio 24.2.0 → 25.0.0

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 (93) hide show
  1. package/lib/components/editor/ActivityBar.d.ts +0 -7
  2. package/lib/components/editor/ActivityBar.d.ts.map +1 -1
  3. package/lib/components/editor/ActivityBar.js +15 -16
  4. package/lib/components/editor/ActivityBar.js.map +1 -1
  5. package/lib/components/editor/__test-utils__/EditorComponentTestUtils.d.ts +2 -2
  6. package/lib/components/editor/__test-utils__/EditorComponentTestUtils.d.ts.map +1 -1
  7. package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js +3 -3
  8. package/lib/components/editor/__test-utils__/EditorComponentTestUtils.js.map +1 -1
  9. package/lib/components/editor/edit-panel/mapping-editor/testable/MappingTestableEditor.js +2 -2
  10. package/lib/components/editor/edit-panel/mapping-editor/testable/MappingTestableEditor.js.map +1 -1
  11. package/lib/components/editor/editor-group/GrammarTextEditor.d.ts.map +1 -1
  12. package/lib/components/editor/editor-group/GrammarTextEditor.js +3 -9
  13. package/lib/components/editor/editor-group/GrammarTextEditor.js.map +1 -1
  14. package/lib/components/editor/editor-group/ModelImporter.d.ts.map +1 -1
  15. package/lib/components/editor/editor-group/ModelImporter.js +1 -1
  16. package/lib/components/editor/editor-group/ModelImporter.js.map +1 -1
  17. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
  18. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +15 -16
  19. package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
  20. package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -1
  21. package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js +3 -9
  22. package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js.map +1 -1
  23. package/lib/components/editor/editor-group/mapping-editor/DEPRECATED__MappingTestEditor.js +1 -1
  24. package/lib/components/editor/editor-group/mapping-editor/DEPRECATED__MappingTestEditor.js.map +1 -1
  25. package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js +1 -1
  26. package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
  27. package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js +4 -2
  28. package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
  29. package/lib/components/editor/editor-group/service-editor/ServiceEditor.js +1 -1
  30. package/lib/components/editor/editor-group/service-editor/ServiceEditor.js.map +1 -1
  31. package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
  32. package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js +2 -2
  33. package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
  34. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js +1 -1
  35. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js.map +1 -1
  36. package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.d.ts +12 -0
  37. package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.d.ts.map +1 -1
  38. package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js +106 -12
  39. package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js.map +1 -1
  40. package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
  41. package/lib/components/editor/side-bar/WorkflowManager.js +1 -1
  42. package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
  43. package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
  44. package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +8 -7
  45. package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
  46. package/lib/components/project-view/ProjectViewer.d.ts.map +1 -1
  47. package/lib/components/project-view/ProjectViewer.js +2 -2
  48. package/lib/components/project-view/ProjectViewer.js.map +1 -1
  49. package/lib/index.css +2 -2
  50. package/lib/index.css.map +1 -1
  51. package/lib/index.d.ts +0 -1
  52. package/lib/index.d.ts.map +1 -1
  53. package/lib/index.js +0 -1
  54. package/lib/index.js.map +1 -1
  55. package/lib/package.json +2 -2
  56. package/lib/stores/LegendStudioApplicationPlugin.d.ts +9 -0
  57. package/lib/stores/LegendStudioApplicationPlugin.d.ts.map +1 -1
  58. package/lib/stores/LegendStudioApplicationPlugin.js.map +1 -1
  59. package/lib/stores/editor/EditorStore.d.ts +3 -3
  60. package/lib/stores/editor/EditorStore.d.ts.map +1 -1
  61. package/lib/stores/editor/EditorStore.js.map +1 -1
  62. package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts +23 -23
  63. package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.d.ts.map +1 -1
  64. package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.js +23 -23
  65. package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -1
  66. package/package.json +12 -12
  67. package/src/components/editor/ActivityBar.tsx +100 -96
  68. package/src/components/editor/__test-utils__/EditorComponentTestUtils.tsx +5 -5
  69. package/src/components/editor/edit-panel/mapping-editor/testable/MappingTestableEditor.tsx +2 -2
  70. package/src/components/editor/editor-group/GrammarTextEditor.tsx +2 -11
  71. package/src/components/editor/editor-group/ModelImporter.tsx +0 -1
  72. package/src/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.tsx +15 -17
  73. package/src/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.tsx +2 -11
  74. package/src/components/editor/editor-group/mapping-editor/DEPRECATED__MappingTestEditor.tsx +1 -1
  75. package/src/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.tsx +1 -1
  76. package/src/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.tsx +6 -6
  77. package/src/components/editor/editor-group/service-editor/ServiceEditor.tsx +1 -1
  78. package/src/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.tsx +0 -2
  79. package/src/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.tsx +1 -1
  80. package/src/components/editor/editor-group/uml-editor/ClassQueryBuilder.tsx +267 -31
  81. package/src/components/editor/side-bar/WorkflowManager.tsx +0 -1
  82. package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +11 -22
  83. package/src/components/project-view/ProjectViewer.tsx +27 -29
  84. package/src/index.ts +0 -1
  85. package/src/stores/LegendStudioApplicationPlugin.ts +15 -0
  86. package/src/stores/editor/EditorStore.ts +2 -2
  87. package/src/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.ts +23 -23
  88. package/tsconfig.json +0 -1
  89. package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts +0 -31
  90. package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts.map +0 -1
  91. package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js +0 -17
  92. package/lib/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js.map +0 -1
  93. package/src/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.ts +0 -40
@@ -82,38 +82,38 @@ export abstract class ConnectionValueState {
82
82
  }
83
83
 
84
84
  export enum RELATIONAL_DATABASE_TAB_TYPE {
85
- GENERAL = 'GENERAL',
86
- STORE = 'STORE',
87
- POST_PROCESSORS = 'POST-PROCESSORS',
85
+ GENERAL = 'General',
86
+ STORE = 'Store',
87
+ POST_PROCESSORS = 'Post Processors',
88
88
  }
89
89
 
90
90
  export enum CORE_DATASOURCE_SPEC_TYPE {
91
- STATIC = 'STATIC',
92
- H2_LOCAL = 'H2_LOCAL',
93
- H2_EMBEDDED = 'H2_EMBEDDED',
94
- DATABRICKS = 'DATABRICKS',
95
- SNOWFLAKE = 'SNOWFLAKE',
96
- REDSHIFT = 'REDSHIFT',
97
- BIGQUERY = 'BIGQUERY',
98
- SPANNER = 'SPANNER',
99
- TRINO = 'TRINO',
91
+ STATIC = 'Static',
92
+ H2_LOCAL = 'H2 Local',
93
+ H2_EMBEDDED = 'H2 Embedded',
94
+ DATABRICKS = 'Databricks',
95
+ SNOWFLAKE = 'Snowflake',
96
+ REDSHIFT = 'Redshift',
97
+ BIGQUERY = 'Big Query',
98
+ SPANNER = 'Spanner',
99
+ TRINO = 'Trino',
100
100
  }
101
101
 
102
102
  export enum POST_PROCESSOR_TYPE {
103
- MAPPER = 'MAPPER',
103
+ MAPPER = 'Mapper',
104
104
  }
105
105
 
106
106
  export enum CORE_AUTHENTICATION_STRATEGY_TYPE {
107
- DELEGATED_KERBEROS = 'DELEGATED_KERBEROS',
108
- H2_DEFAULT = 'H2_DEFAULT',
109
- SNOWFLAKE_PUBLIC = 'SNOWFLAKE_PUBLIC',
110
- GCP_APPLICATION_DEFAULT_CREDENTIALS = 'GCP_APPLICATION_DEFAULT_CREDENTIALS',
111
- API_TOKEN = 'API_TOKEN',
112
- OAUTH = 'OAUTH',
113
- USERNAME_PASSWORD = 'USERNAME_PASSWORD',
114
- GCP_WORKLOAD_IDENTITY_FEDERATION = 'GCP_WORKLOAD_IDENTITY_FEDERATION',
115
- MIDDLE_TIER_USERNAME_PASSWORD = 'MIDDLE_TIER_USERNAME_PASSWORD',
116
- TRINO_DELEGATED_KERBEROS = 'TRINO_DELEGATED_KERBEROS',
107
+ DELEGATED_KERBEROS = 'Delegated Kerberos',
108
+ H2_DEFAULT = 'H2 Default',
109
+ SNOWFLAKE_PUBLIC = 'Snowflake Public',
110
+ GCP_APPLICATION_DEFAULT_CREDENTIALS = 'GCP Application Default Credentials',
111
+ API_TOKEN = 'API Token',
112
+ OAUTH = 'OAuth',
113
+ USERNAME_PASSWORD = 'Username Password',
114
+ GCP_WORKLOAD_IDENTITY_FEDERATION = 'GCP Workload Identity Federation',
115
+ MIDDLE_TIER_USERNAME_PASSWORD = 'Middle-tier Username Password',
116
+ TRINO_DELEGATED_KERBEROS = 'Trino Delegated Kerberos',
117
117
  }
118
118
 
119
119
  export class RelationalDatabaseConnectionValueState extends ConnectionValueState {
package/tsconfig.json CHANGED
@@ -144,7 +144,6 @@
144
144
  "./src/stores/extensions/DSL_Generation_LegendStudioApplicationPlugin_Extension.ts",
145
145
  "./src/stores/extensions/DSL_Mapping_LegendStudioApplicationPlugin_Extension.ts",
146
146
  "./src/stores/extensions/DSL_Service_LegendStudioApplicationPlugin_Extension.ts",
147
- "./src/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.ts",
148
147
  "./src/stores/extensions/STO_Relational_LegendStudioApplicationPlugin_Extension.ts",
149
148
  "./src/stores/graph-modifier/DSL_Data_GraphModifierHelper.ts",
150
149
  "./src/stores/graph-modifier/DSL_ExternalFormat_GraphModifierHelper.ts",
@@ -1,31 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- /// <reference types="react" resolution-mode="require"/>
17
- import type { Workspace } from '@finos/legend-server-sdlc';
18
- import type { EditorStore } from '../editor/EditorStore.js';
19
- import type { DSL_LegendStudioApplicationPlugin_Extension } from '../LegendStudioApplicationPlugin.js';
20
- export type TestRunnerTabRenderer = (selectedTab: string, editorStore: EditorStore, currentWorkspace: Workspace | undefined) => React.ReactNode | undefined;
21
- export interface STO_ProjectOverview_LegendStudioApplicationPlugin_Extension extends DSL_LegendStudioApplicationPlugin_Extension {
22
- /**
23
- * Get the list of the supported classifers for test runner tabs.
24
- */
25
- getExtraTestRunnerTabsClassifiers?(): string[];
26
- /**
27
- * Get the list of renderers for the editor for a test runner tab.
28
- */
29
- getExtraTestRunnerTabsEditorRenderers?(): TestRunnerTabRenderer[];
30
- }
31
- //# sourceMappingURL=STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.d.ts","sourceRoot":"","sources":["../../../src/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,KAAK,EAAE,2CAA2C,EAAE,MAAM,qCAAqC,CAAC;AAEvG,MAAM,MAAM,qBAAqB,GAAG,CAClC,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,SAAS,GAAG,SAAS,KACpC,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;AAEjC,MAAM,WAAW,2DACf,SAAQ,2CAA2C;IAGnD;;OAEG;IACH,iCAAiC,CAAC,IAAI,MAAM,EAAE,CAAC;IAE/C;;OAEG;IACH,qCAAqC,CAAC,IAAI,qBAAqB,EAAE,CAAC;CACnE"}
@@ -1,17 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export {};
17
- //# sourceMappingURL=STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.js","sourceRoot":"","sources":["../../../src/stores/extensions/STO_ProjectOverview_LegendStudioApplicationPlugin_Extension.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG"}
@@ -1,40 +0,0 @@
1
- /**
2
- * Copyright (c) 2020-present, Goldman Sachs
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
-
17
- import type { Workspace } from '@finos/legend-server-sdlc';
18
- import type { EditorStore } from '../editor/EditorStore.js';
19
- import type { DSL_LegendStudioApplicationPlugin_Extension } from '../LegendStudioApplicationPlugin.js';
20
-
21
- export type TestRunnerTabRenderer = (
22
- selectedTab: string,
23
- editorStore: EditorStore,
24
- currentWorkspace: Workspace | undefined,
25
- ) => React.ReactNode | undefined;
26
-
27
- export interface STO_ProjectOverview_LegendStudioApplicationPlugin_Extension
28
- extends DSL_LegendStudioApplicationPlugin_Extension {
29
- // --------------------- project overview test runner tabs ------------------
30
-
31
- /**
32
- * Get the list of the supported classifers for test runner tabs.
33
- */
34
- getExtraTestRunnerTabsClassifiers?(): string[];
35
-
36
- /**
37
- * Get the list of renderers for the editor for a test runner tab.
38
- */
39
- getExtraTestRunnerTabsEditorRenderers?(): TestRunnerTabRenderer[];
40
- }