@finos/legend-application-studio 28.16.3 → 28.16.6
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/LegendStudioAppInfo.d.ts.map +1 -1
- package/lib/components/LegendStudioAppInfo.js +1 -1
- package/lib/components/LegendStudioAppInfo.js.map +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.d.ts.map +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.js +1 -1
- package/lib/components/editor/EmbeddedQueryBuilder.js.map +1 -1
- package/lib/components/editor/QuickInput.d.ts.map +1 -1
- package/lib/components/editor/QuickInput.js +3 -1
- package/lib/components/editor/QuickInput.js.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.d.ts.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js +5 -2
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js +4 -2
- package/lib/components/editor/editor-group/GenerationSpecificationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/RuntimeEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/RuntimeEditor.js +6 -3
- package/lib/components/editor/editor-group/RuntimeEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js +6 -3
- package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.d.ts.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js +7 -2
- package/lib/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.d.ts.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js +1 -1
- package/lib/components/editor/editor-group/connection-editor/DatabaseModelBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +14 -4
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js +8 -3
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js +5 -2
- package/lib/components/editor/editor-group/data-editor/RelationalCSVDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js +2 -1
- package/lib/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.js.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js +2 -1
- package/lib/components/editor/editor-group/element-generation-editor/FileGenerationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js +2 -2
- package/lib/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js +5 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js +3 -2
- package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js +5 -3
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js +2 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js +2 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js +12 -8
- package/lib/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js +3 -1
- package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js +2 -1
- package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js +3 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js +12 -4
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js +5 -2
- package/lib/components/editor/editor-group/mapping-editor/NewMappingElementModal.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.d.ts.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js +2 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.js.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js +5 -4
- package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js +5 -2
- package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js +2 -1
- package/lib/components/editor/editor-group/service-editor/ServiceEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js +7 -2
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js +3 -2
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js +5 -2
- package/lib/components/editor/editor-group/service-editor/ServiceRegistrationEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js +15 -6
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js +8 -3
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.js.map +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.d.ts.map +1 -1
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js +10 -4
- package/lib/components/editor/editor-group/testable/TestableSharedComponents.js.map +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.d.ts.map +1 -1
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js +17 -4
- package/lib/components/editor/panel-group/SQLPlaygroundPanel.js.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.d.ts.map +1 -1
- package/lib/components/editor/side-bar/CreateNewElementModal.js +19 -9
- package/lib/components/editor/side-bar/CreateNewElementModal.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.d.ts.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js +5 -2
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.d.ts.map +1 -1
- package/lib/components/editor/side-bar/LocalChanges.js +3 -2
- package/lib/components/editor/side-bar/LocalChanges.js.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.d.ts.map +1 -1
- package/lib/components/editor/side-bar/ProjectOverview.js +8 -5
- package/lib/components/editor/side-bar/ProjectOverview.js.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.d.ts.map +1 -1
- package/lib/components/editor/side-bar/RegisterService.js +5 -2
- package/lib/components/editor/side-bar/RegisterService.js.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkflowManager.js +2 -1
- package/lib/components/editor/side-bar/WorkflowManager.js.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.d.ts.map +1 -1
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js +3 -3
- package/lib/components/editor/side-bar/WorkspaceSyncConflictResolver.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +3 -2
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.d.ts.map +1 -1
- package/lib/components/workspace-setup/CreateProjectModal.js +2 -1
- package/lib/components/workspace-setup/CreateProjectModal.js.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.d.ts.map +1 -1
- package/lib/components/workspace-setup/CreateWorkspaceModal.js +3 -2
- package/lib/components/workspace-setup/CreateWorkspaceModal.js.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.d.ts.map +1 -1
- package/lib/components/workspace-setup/WorkspaceSetup.js +5 -3
- package/lib/components/workspace-setup/WorkspaceSetup.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.d.ts +4 -4
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.js +11 -7
- package/lib/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.js.map +1 -1
- package/lib/stores/editor/utils/TestableUtils.d.ts.map +1 -1
- package/lib/stores/editor/utils/TestableUtils.js +4 -3
- package/lib/stores/editor/utils/TestableUtils.js.map +1 -1
- package/package.json +11 -11
- package/src/components/LegendStudioAppInfo.tsx +6 -1
- package/src/components/editor/EmbeddedQueryBuilder.tsx +3 -1
- package/src/components/editor/QuickInput.tsx +11 -2
- package/src/components/editor/command-center/ProjectSearchCommand.tsx +14 -3
- package/src/components/editor/editor-group/GenerationSpecificationEditor.tsx +8 -2
- package/src/components/editor/editor-group/RuntimeEditor.tsx +15 -3
- package/src/components/editor/editor-group/connection-editor/ConnectionEditor.tsx +12 -3
- package/src/components/editor/editor-group/connection-editor/DatabaseBuilderWizard.tsx +13 -4
- package/src/components/editor/editor-group/connection-editor/DatabaseModelBuilder.tsx +6 -1
- package/src/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.tsx +36 -7
- package/src/components/editor/editor-group/data-editor/EmbeddedDataEditor.tsx +13 -3
- package/src/components/editor/editor-group/data-editor/RelationalCSVDataEditor.tsx +12 -2
- package/src/components/editor/editor-group/diff-editor/EntityChangeConflictEditor.tsx +4 -1
- package/src/components/editor/editor-group/element-generation-editor/FileGenerationEditor.tsx +4 -1
- package/src/components/editor/editor-group/end-to-end-flow-editor/ConnectionToQueryWorkflowEditor.tsx +6 -2
- package/src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_BindingElementEditor.tsx +13 -3
- package/src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetElementEditor.tsx +12 -6
- package/src/components/editor/editor-group/function-activator/FunctionEditor.tsx +16 -4
- package/src/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.tsx +4 -1
- package/src/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.tsx +4 -1
- package/src/components/editor/editor-group/function-activator/testable/FunctionTestableEditor.tsx +25 -10
- package/src/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.tsx +11 -2
- package/src/components/editor/editor-group/mapping-editor/InstanceSetImplementationSourceSelectorModal.tsx +10 -2
- package/src/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.tsx +5 -1
- package/src/components/editor/editor-group/mapping-editor/MappingTestableEditor.tsx +42 -11
- package/src/components/editor/editor-group/mapping-editor/NewMappingElementModal.tsx +9 -2
- package/src/components/editor/editor-group/mapping-editor/legacy/MappingTestMigrationTool.tsx +4 -1
- package/src/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.tsx +18 -4
- package/src/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.tsx +12 -3
- package/src/components/editor/editor-group/service-editor/ServiceEditor.tsx +4 -1
- package/src/components/editor/editor-group/service-editor/ServiceExecutionEditor.tsx +14 -3
- package/src/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.tsx +13 -6
- package/src/components/editor/editor-group/service-editor/ServiceRegistrationEditor.tsx +12 -3
- package/src/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.tsx +48 -18
- package/src/components/editor/editor-group/service-editor/testable/ServiceTestsEditor.tsx +14 -3
- package/src/components/editor/editor-group/testable/TestableSharedComponents.tsx +35 -8
- package/src/components/editor/panel-group/SQLPlaygroundPanel.tsx +29 -5
- package/src/components/editor/side-bar/CreateNewElementModal.tsx +42 -11
- package/src/components/editor/side-bar/Explorer.tsx +8 -2
- package/src/components/editor/side-bar/LocalChanges.tsx +12 -6
- package/src/components/editor/side-bar/ProjectOverview.tsx +23 -9
- package/src/components/editor/side-bar/RegisterService.tsx +18 -3
- package/src/components/editor/side-bar/WorkflowManager.tsx +12 -2
- package/src/components/editor/side-bar/WorkspaceSyncConflictResolver.tsx +17 -10
- package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +12 -2
- package/src/components/workspace-setup/CreateProjectModal.tsx +7 -1
- package/src/components/workspace-setup/CreateWorkspaceModal.tsx +7 -2
- package/src/components/workspace-setup/WorkspaceSetup.tsx +14 -3
- package/src/stores/editor/editor-state/element-editor-state/data/EmbeddedDataState.ts +15 -12
- package/src/stores/editor/utils/TestableUtils.ts +4 -1
@@ -34,6 +34,7 @@ import {
|
|
34
34
|
Modal,
|
35
35
|
ModalBody,
|
36
36
|
ModalFooter,
|
37
|
+
ModalFooterButton,
|
37
38
|
MenuContentItem,
|
38
39
|
MenuContent,
|
39
40
|
PanelFormBooleanField,
|
@@ -111,7 +112,12 @@ const ShareProjectModal = observer(
|
|
111
112
|
|
112
113
|
return (
|
113
114
|
<Dialog onClose={closeModal} open={open}>
|
114
|
-
<Modal
|
115
|
+
<Modal
|
116
|
+
darkMode={
|
117
|
+
!applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled
|
118
|
+
}
|
119
|
+
className="modal--no-padding"
|
120
|
+
>
|
115
121
|
<PanelLoadingIndicator isLoading={isDispatchingAction} />
|
116
122
|
<ModalBody>
|
117
123
|
<div className="project-overview__share-project__modal__info-entry">
|
@@ -134,7 +140,10 @@ const ShareProjectModal = observer(
|
|
134
140
|
}
|
135
141
|
: null
|
136
142
|
}
|
137
|
-
darkMode={
|
143
|
+
darkMode={
|
144
|
+
!applicationStore.layoutService
|
145
|
+
.TEMPORARY__isLightColorThemeEnabled
|
146
|
+
}
|
138
147
|
/>
|
139
148
|
</div>
|
140
149
|
) : (
|
@@ -154,13 +163,12 @@ const ShareProjectModal = observer(
|
|
154
163
|
</div>
|
155
164
|
</ModalBody>
|
156
165
|
<ModalFooter>
|
157
|
-
<
|
158
|
-
className="btn--wide
|
166
|
+
<ModalFooterButton
|
167
|
+
className="btn--wide"
|
168
|
+
text="Copy Link"
|
159
169
|
disabled={isFetchingProject}
|
160
170
|
onClick={copyProjectElementLink}
|
161
|
-
|
162
|
-
Copy Link
|
163
|
-
</button>
|
171
|
+
/>
|
164
172
|
</ModalFooter>
|
165
173
|
</Modal>
|
166
174
|
</Dialog>
|
@@ -680,7 +688,10 @@ const PatchEditor = observer(() => {
|
|
680
688
|
placeholder={'Select source version'}
|
681
689
|
isClearable={true}
|
682
690
|
escapeClearsValue={true}
|
683
|
-
darkMode={
|
691
|
+
darkMode={
|
692
|
+
!applicationStore.layoutService
|
693
|
+
.TEMPORARY__isLightColorThemeEnabled
|
694
|
+
}
|
684
695
|
/>
|
685
696
|
</div>
|
686
697
|
</div>
|
@@ -747,7 +758,10 @@ const PatchEditor = observer(() => {
|
|
747
758
|
placeholder={'Select patch you want to release'}
|
748
759
|
isClearable={true}
|
749
760
|
escapeClearsValue={true}
|
750
|
-
darkMode={
|
761
|
+
darkMode={
|
762
|
+
!applicationStore.layoutService
|
763
|
+
.TEMPORARY__isLightColorThemeEnabled
|
764
|
+
}
|
751
765
|
/>
|
752
766
|
</div>
|
753
767
|
</div>
|
@@ -162,6 +162,8 @@ const ServiceFailViewer = observer(
|
|
162
162
|
failure: ServiceRegistrationResult | undefined;
|
163
163
|
}) => {
|
164
164
|
const { globalBulkServiceRegistrationState, failure } = props;
|
165
|
+
const applicationStore =
|
166
|
+
globalBulkServiceRegistrationState.editorStore.applicationStore;
|
165
167
|
const closeLogViewer = (): void =>
|
166
168
|
globalBulkServiceRegistrationState.setFailingView(undefined);
|
167
169
|
return (
|
@@ -174,7 +176,12 @@ const ServiceFailViewer = observer(
|
|
174
176
|
paper: 'editor-modal__content',
|
175
177
|
}}
|
176
178
|
>
|
177
|
-
<Modal
|
179
|
+
<Modal
|
180
|
+
darkMode={
|
181
|
+
!applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled
|
182
|
+
}
|
183
|
+
className="editor-modal"
|
184
|
+
>
|
178
185
|
<ModalHeader title={guaranteeNonNullable(failure?.service).path} />
|
179
186
|
<ModalBody>
|
180
187
|
{failure instanceof ServiceRegistrationFail && (
|
@@ -186,7 +193,11 @@ const ServiceFailViewer = observer(
|
|
186
193
|
)}
|
187
194
|
</ModalBody>
|
188
195
|
<ModalFooter>
|
189
|
-
<ModalFooterButton
|
196
|
+
<ModalFooterButton
|
197
|
+
text="Close"
|
198
|
+
onClick={closeLogViewer}
|
199
|
+
type="secondary"
|
200
|
+
/>
|
190
201
|
</ModalFooter>
|
191
202
|
</Modal>
|
192
203
|
</Dialog>
|
@@ -199,6 +210,7 @@ export const RegisterService = observer(
|
|
199
210
|
globalBulkServiceRegistrationState: GlobalBulkServiceRegistrationState;
|
200
211
|
}) => {
|
201
212
|
const editorStore = useEditorStore();
|
213
|
+
const applicationStore = editorStore.applicationStore;
|
202
214
|
const services = editorStore.graphManagerState.graph.ownServices;
|
203
215
|
const toggleSelectAllServices = (): void => {
|
204
216
|
editorStore.globalBulkServiceRegistrationState.selectAllServices
|
@@ -334,7 +346,10 @@ export const RegisterService = observer(
|
|
334
346
|
}
|
335
347
|
>
|
336
348
|
<Modal
|
337
|
-
darkMode={
|
349
|
+
darkMode={
|
350
|
+
!applicationStore.layoutService
|
351
|
+
.TEMPORARY__isLightColorThemeEnabled
|
352
|
+
}
|
338
353
|
className={clsx(
|
339
354
|
'editor-modal bulk-service-registration__service__editor',
|
340
355
|
)}
|
@@ -198,6 +198,7 @@ const WorkflowJobLogsViewer = observer(
|
|
198
198
|
logState: WorkflowLogState;
|
199
199
|
}) => {
|
200
200
|
const { workflowState, logState } = props;
|
201
|
+
const applicationStore = workflowState.editorStore.applicationStore;
|
201
202
|
const job = guaranteeNonNullable(logState.job);
|
202
203
|
const jobIsInProgress = job.status === WorkflowJobStatus.IN_PROGRESS;
|
203
204
|
const closeLogViewer = (): void => {
|
@@ -220,7 +221,12 @@ const WorkflowJobLogsViewer = observer(
|
|
220
221
|
paper: 'editor-modal__content',
|
221
222
|
}}
|
222
223
|
>
|
223
|
-
<Modal
|
224
|
+
<Modal
|
225
|
+
darkMode={
|
226
|
+
!applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled
|
227
|
+
}
|
228
|
+
className="editor-modal"
|
229
|
+
>
|
224
230
|
<PanelLoadingIndicator
|
225
231
|
isLoading={logState.fetchJobLogState.isInProgress}
|
226
232
|
/>
|
@@ -245,7 +251,11 @@ const WorkflowJobLogsViewer = observer(
|
|
245
251
|
/>
|
246
252
|
</ModalBody>
|
247
253
|
<ModalFooter>
|
248
|
-
<ModalFooterButton
|
254
|
+
<ModalFooterButton
|
255
|
+
text="Close"
|
256
|
+
onClick={closeLogViewer}
|
257
|
+
type="secondary"
|
258
|
+
/>
|
249
259
|
</ModalFooter>
|
250
260
|
</Modal>
|
251
261
|
</Dialog>
|
@@ -31,6 +31,7 @@ import {
|
|
31
31
|
ModalBody,
|
32
32
|
ModalFooter,
|
33
33
|
ModalHeader,
|
34
|
+
ModalFooterButton,
|
34
35
|
} from '@finos/legend-art';
|
35
36
|
import type {
|
36
37
|
EntityChangeConflict,
|
@@ -108,7 +109,12 @@ export const WorkspaceSyncConflictResolver = observer(() => {
|
|
108
109
|
classes={{ container: 'search-modal__container' }}
|
109
110
|
PaperProps={{ classes: { root: 'search-modal__inner-container' } }}
|
110
111
|
>
|
111
|
-
<Modal
|
112
|
+
<Modal
|
113
|
+
darkMode={
|
114
|
+
!applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled
|
115
|
+
}
|
116
|
+
className="editor-modal query-builder__dialog"
|
117
|
+
>
|
112
118
|
<ModalHeader title="Resolve Merge Conflicts" />
|
113
119
|
<ModalBody>
|
114
120
|
<ResizablePanelGroup orientation="vertical">
|
@@ -255,17 +261,18 @@ export const WorkspaceSyncConflictResolver = observer(() => {
|
|
255
261
|
</ResizablePanelGroup>
|
256
262
|
</ModalBody>
|
257
263
|
<ModalFooter>
|
258
|
-
<
|
259
|
-
|
260
|
-
disabled={Boolean(conflicts.length)}
|
264
|
+
<ModalFooterButton
|
265
|
+
text="Apply Resolutions"
|
261
266
|
title="Apply Resolutions"
|
267
|
+
disabled={Boolean(conflicts.length)}
|
262
268
|
onClick={applyResolutions}
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
+
/>
|
270
|
+
<ModalFooterButton
|
271
|
+
text="Abort"
|
272
|
+
title="Aborts"
|
273
|
+
onClick={abort}
|
274
|
+
type="secondary"
|
275
|
+
/>
|
269
276
|
</ModalFooter>
|
270
277
|
</Modal>
|
271
278
|
</Dialog>
|
@@ -184,6 +184,7 @@ const TestFailViewer = observer(
|
|
184
184
|
failure: TestError | AssertFail;
|
185
185
|
}) => {
|
186
186
|
const { globalTestRunnerState, failure } = props;
|
187
|
+
const applicationStore = globalTestRunnerState.editorStore.applicationStore;
|
187
188
|
const id =
|
188
189
|
failure instanceof TestError
|
189
190
|
? failure.atomicTest.id
|
@@ -201,7 +202,12 @@ const TestFailViewer = observer(
|
|
201
202
|
paper: 'editor-modal__content',
|
202
203
|
}}
|
203
204
|
>
|
204
|
-
<Modal
|
205
|
+
<Modal
|
206
|
+
darkMode={
|
207
|
+
!applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled
|
208
|
+
}
|
209
|
+
className="editor-modal"
|
210
|
+
>
|
205
211
|
<PanelLoadingIndicator
|
206
212
|
isLoading={globalTestRunnerState.isDispatchingOwnProjectAction}
|
207
213
|
/>
|
@@ -231,7 +237,11 @@ const TestFailViewer = observer(
|
|
231
237
|
)}
|
232
238
|
</ModalBody>
|
233
239
|
<ModalFooter>
|
234
|
-
<ModalFooterButton
|
240
|
+
<ModalFooterButton
|
241
|
+
text="Close"
|
242
|
+
onClick={closeLogViewer}
|
243
|
+
type="secondary"
|
244
|
+
/>
|
235
245
|
</ModalFooter>
|
236
246
|
</Modal>
|
237
247
|
</Dialog>
|
@@ -626,6 +626,7 @@ const ImportProjectTab = observer(() => {
|
|
626
626
|
|
627
627
|
export const CreateProjectModal = observer(() => {
|
628
628
|
const setupStore = useWorkspaceSetupStore();
|
629
|
+
const applicationStore = setupStore.applicationStore;
|
629
630
|
const allowCreatingNewProject =
|
630
631
|
setupStore.sdlcServerClient.features.canCreateProject;
|
631
632
|
const [selectedTab, setSelectedTab] = useState(
|
@@ -654,7 +655,12 @@ export const CreateProjectModal = observer(() => {
|
|
654
655
|
classes={{ container: 'search-modal__container' }}
|
655
656
|
PaperProps={{ classes: { root: 'search-modal__inner-container' } }}
|
656
657
|
>
|
657
|
-
<Modal
|
658
|
+
<Modal
|
659
|
+
darkMode={
|
660
|
+
!applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled
|
661
|
+
}
|
662
|
+
className="workspace-setup__create-project-modal"
|
663
|
+
>
|
658
664
|
<div className="workspace-setup__create-project-modal__header">
|
659
665
|
<div className="workspace-setup__create-project-modal__header__label">
|
660
666
|
Create Project
|
@@ -134,7 +134,9 @@ export const CreateWorkspaceModal = observer(
|
|
134
134
|
PaperProps={{ classes: { root: 'search-modal__inner-container' } }}
|
135
135
|
>
|
136
136
|
<Modal
|
137
|
-
darkMode={
|
137
|
+
darkMode={
|
138
|
+
!applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled
|
139
|
+
}
|
138
140
|
className="workspace-setup__create-workspace-modal"
|
139
141
|
>
|
140
142
|
<div className="modal__title">
|
@@ -187,7 +189,10 @@ export const CreateWorkspaceModal = observer(
|
|
187
189
|
value={selectedPatchOption}
|
188
190
|
isClearable={true}
|
189
191
|
escapeClearsValue={true}
|
190
|
-
darkMode={
|
192
|
+
darkMode={
|
193
|
+
!applicationStore.layoutService
|
194
|
+
.TEMPORARY__isLightColorThemeEnabled
|
195
|
+
}
|
191
196
|
/>
|
192
197
|
</div>
|
193
198
|
<PanelFormBooleanField
|
@@ -315,7 +315,12 @@ const SandboxAccessModal = observer(() => {
|
|
315
315
|
|
316
316
|
return (
|
317
317
|
<Dialog open={true} onClose={closeModal}>
|
318
|
-
<Modal
|
318
|
+
<Modal
|
319
|
+
darkMode={
|
320
|
+
!applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled
|
321
|
+
}
|
322
|
+
className="sandbox-project-modal"
|
323
|
+
>
|
319
324
|
<div className="sandbox-project-modal__header">
|
320
325
|
<div className="sandbox-project-modal__header__label">
|
321
326
|
Create Sandbox Project
|
@@ -511,7 +516,10 @@ export const WorkspaceSetup = withWorkspaceSetupStore(
|
|
511
516
|
placeholder="Search for project..."
|
512
517
|
isClearable={true}
|
513
518
|
escapeClearsValue={true}
|
514
|
-
darkMode={
|
519
|
+
darkMode={
|
520
|
+
!applicationStore.layoutService
|
521
|
+
.TEMPORARY__isLightColorThemeEnabled
|
522
|
+
}
|
515
523
|
formatOptionLabel={getProjectOptionLabelFormatter(
|
516
524
|
applicationStore,
|
517
525
|
setupStore.currentProjectConfigurationStatus,
|
@@ -569,7 +577,10 @@ export const WorkspaceSetup = withWorkspaceSetupStore(
|
|
569
577
|
}
|
570
578
|
isClearable={true}
|
571
579
|
escapeClearsValue={true}
|
572
|
-
darkMode={
|
580
|
+
darkMode={
|
581
|
+
!applicationStore.layoutService
|
582
|
+
.TEMPORARY__isLightColorThemeEnabled
|
583
|
+
}
|
573
584
|
optionCustomization={{
|
574
585
|
rowHeight: window.innerHeight * 0.03,
|
575
586
|
}}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
import {
|
17
17
|
type EmbeddedData,
|
18
18
|
type ModelData,
|
19
|
-
|
19
|
+
DataElement,
|
20
20
|
RelationalCSVData,
|
21
21
|
type Database,
|
22
22
|
type RelationalCSVDataTable,
|
@@ -310,6 +310,11 @@ export class RelationalCSVDataState extends EmbeddedDataState {
|
|
310
310
|
export interface EmbeddedDataStateOption {
|
311
311
|
hideSource?: boolean;
|
312
312
|
}
|
313
|
+
export class UnsupportedDataState extends EmbeddedDataState {
|
314
|
+
label(): string {
|
315
|
+
return 'Unsupported embedded data';
|
316
|
+
}
|
317
|
+
}
|
313
318
|
|
314
319
|
export class DataElementReferenceState extends EmbeddedDataState {
|
315
320
|
override embeddedData: DataElementReference;
|
@@ -341,17 +346,15 @@ export class DataElementReferenceState extends EmbeddedDataState {
|
|
341
346
|
}
|
342
347
|
|
343
348
|
buildValueState(options?: EmbeddedDataStateOption): EmbeddedDataState {
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
label(): string {
|
354
|
-
return 'Unsupported embedded data';
|
349
|
+
const packagableEl = this.embeddedData.dataElement.value;
|
350
|
+
if (packagableEl instanceof DataElement) {
|
351
|
+
return buildEmbeddedDataEditorState(
|
352
|
+
packagableEl.data,
|
353
|
+
this.editorStore,
|
354
|
+
this.options,
|
355
|
+
);
|
356
|
+
}
|
357
|
+
return new UnsupportedDataState(this.editorStore, this.embeddedData);
|
355
358
|
}
|
356
359
|
}
|
357
360
|
|
@@ -58,6 +58,7 @@ import {
|
|
58
58
|
PrimitiveInstanceValue,
|
59
59
|
PrimitiveType,
|
60
60
|
LambdaFunctionInstanceValue,
|
61
|
+
DataElement,
|
61
62
|
} from '@finos/legend-graph';
|
62
63
|
import {
|
63
64
|
assertTrue,
|
@@ -65,6 +66,7 @@ import {
|
|
65
66
|
generateEnumerableNameFromToken,
|
66
67
|
getNullableFirstEntry,
|
67
68
|
guaranteeNonEmptyString,
|
69
|
+
guaranteeType,
|
68
70
|
isNonNullable,
|
69
71
|
LogEvent,
|
70
72
|
returnUndefOnError,
|
@@ -197,7 +199,8 @@ export class EmbeddedDataCreatorFromEmbeddedData
|
|
197
199
|
return val;
|
198
200
|
}
|
199
201
|
visit_DataElementReference(data: DataElementReference): EmbeddedData {
|
200
|
-
|
202
|
+
const datElement = guaranteeType(data.dataElement.value, DataElement);
|
203
|
+
return datElement.data.accept_EmbeddedDataVisitor(
|
201
204
|
new EmbeddedDataCreatorFromEmbeddedData(this.editorStore),
|
202
205
|
);
|
203
206
|
}
|