@finos/legend-application-studio 28.17.15 → 28.17.17
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/editor/ActivityBar.js +3 -3
- package/lib/components/editor/ActivityBar.js.map +1 -1
- package/lib/components/editor/command-center/ProjectSearchCommand.js +2 -2
- package/lib/components/editor/command-center/ProjectSearchCommand.js.map +1 -1
- package/lib/components/editor/editor-group/EditorGroup.js +3 -3
- package/lib/components/editor/editor-group/EditorGroup.js.map +1 -1
- package/lib/components/editor/editor-group/GrammarTextEditor.js +2 -2
- package/lib/components/editor/editor-group/GrammarTextEditor.js.map +1 -1
- package/lib/components/editor/editor-group/ModelImporter.js +2 -2
- package/lib/components/editor/editor-group/ModelImporter.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js +2 -2
- package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js +2 -2
- package/lib/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js +2 -2
- package/lib/components/editor/editor-group/data-editor/DataElementEditor.js.map +1 -1
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js +2 -2
- package/lib/components/editor/editor-group/data-editor/EmbeddedDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js +2 -2
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js +3 -3
- package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js +2 -2
- package/lib/components/editor/editor-group/mapping-editor/MappingTestableEditor.js.map +1 -1
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js +4 -4
- package/lib/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.js.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/editor-group/service-editor/ServiceExecutionQueryEditor.js +4 -4
- package/lib/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.js.map +1 -1
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js +2 -2
- package/lib/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.js.map +1 -1
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js +2 -2
- package/lib/components/editor/editor-group/uml-editor/ClassQueryBuilder.js.map +1 -1
- package/lib/components/editor/side-bar/Explorer.js +3 -3
- package/lib/components/editor/side-bar/Explorer.js.map +1 -1
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +2 -2
- package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
- package/lib/components/project-reviewer/ProjectReviewerPanel.js +2 -2
- package/lib/components/project-reviewer/ProjectReviewerPanel.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/package.json +2 -2
- package/package.json +13 -13
- package/src/components/editor/ActivityBar.tsx +5 -5
- package/src/components/editor/command-center/ProjectSearchCommand.tsx +3 -3
- package/src/components/editor/editor-group/EditorGroup.tsx +5 -5
- package/src/components/editor/editor-group/GrammarTextEditor.tsx +3 -3
- package/src/components/editor/editor-group/ModelImporter.tsx +3 -3
- package/src/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.tsx +3 -3
- package/src/components/editor/editor-group/connection-editor/post-processor-editor/MapperPostProcessorEditor.tsx +3 -3
- package/src/components/editor/editor-group/data-editor/DataElementEditor.tsx +3 -3
- package/src/components/editor/editor-group/data-editor/EmbeddedDataEditor.tsx +3 -3
- package/src/components/editor/editor-group/function-activator/FunctionEditor.tsx +3 -3
- package/src/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.tsx +5 -5
- package/src/components/editor/editor-group/mapping-editor/MappingTestableEditor.tsx +3 -3
- package/src/components/editor/editor-group/mapping-editor/legacy/DEPRECATED__MappingTestEditor.tsx +7 -7
- package/src/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.tsx +3 -3
- package/src/components/editor/editor-group/service-editor/ServiceExecutionQueryEditor.tsx +7 -7
- package/src/components/editor/editor-group/service-editor/testable/ServiceTestDataEditor.tsx +3 -3
- package/src/components/editor/editor-group/uml-editor/ClassQueryBuilder.tsx +3 -3
- package/src/components/editor/side-bar/Explorer.tsx +5 -5
- package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +3 -3
- package/src/components/project-reviewer/ProjectReviewerPanel.tsx +3 -3
@@ -17,7 +17,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
18
18
|
import { ACTIVITY_MODE, EDITOR_MODE, PANEL_MODE, USER_JOURNEYS, } from '../../stores/editor/EditorConfig.js';
|
19
19
|
import { LEGEND_STUDIO_TEST_ID } from '../../__lib__/LegendStudioTesting.js';
|
20
|
-
import { clsx,
|
20
|
+
import { clsx, ControlledDropdownMenu, RepoIcon, MenuContent, MenuContentItem, MenuContentItemLabel, GitPullRequestIcon, GitMergeIcon, CloudDownloadIcon, CogIcon, CodeBranchIcon, EmptyClockIcon, WrenchIcon, FileTrayIcon, MenuIcon, MenuContentDivider, FlaskIcon, RobotIcon, WorkflowIcon, ReadMeIcon, } from '@finos/legend-art';
|
21
21
|
import { useEditorStore } from './EditorStoreProvider.js';
|
22
22
|
import { forwardRef, useState } from 'react';
|
23
23
|
import { VIRTUAL_ASSISTANT_TAB } from '@finos/legend-application';
|
@@ -61,7 +61,7 @@ export const ActivityBarMenu = () => {
|
|
61
61
|
};
|
62
62
|
// showcases
|
63
63
|
const showcaseManagerState = ShowcaseManagerState.retrieveNullableState(applicationStore);
|
64
|
-
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "activity-bar__menu", children: _jsx(
|
64
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "activity-bar__menu", children: _jsx(ControlledDropdownMenu, { className: "activity-bar__menu-item", menuProps: {
|
65
65
|
anchorOrigin: { vertical: 'top', horizontal: 'right' },
|
66
66
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
67
67
|
elevation: 7,
|
@@ -184,7 +184,7 @@ export const ActivityBar = observer(() => {
|
|
184
184
|
}), onClick: changeActivity(activity.mode), tabIndex: -1, title: activity.title, children: activity.icon }, activity.mode))), Boolean(userJourneys.length) && _jsx(MenuContentDivider, {}), userJourneys.map((activity) => (_jsx("button", { className: clsx('activity-bar__item', {
|
185
185
|
'activity-bar__item--active': editorStore.sideBarDisplayState.isOpen &&
|
186
186
|
editorStore.activeActivity === activity.mode,
|
187
|
-
}), onClick: changeActivity(activity.mode), tabIndex: -1, title: activity.title, children: activity.icon }, activity.mode)))] }), _jsx("button", { className: clsx('activity-bar__item'), onClick: () => openShowcaseManager(editorStore.applicationStore), tabIndex: -1, title: 'Open Showcases', children: _jsx(ReadMeIcon, {}) }), _jsx(
|
187
|
+
}), onClick: changeActivity(activity.mode), tabIndex: -1, title: activity.title, children: activity.icon }, activity.mode)))] }), _jsx("button", { className: clsx('activity-bar__item'), onClick: () => openShowcaseManager(editorStore.applicationStore), tabIndex: -1, title: 'Open Showcases', children: _jsx(ReadMeIcon, {}) }), _jsx(ControlledDropdownMenu, { className: "activity-bar__item", title: "Settings", content: _jsx(SettingsMenu, {}), menuProps: {
|
188
188
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
189
189
|
transformOrigin: { vertical: 'bottom', horizontal: 'left' },
|
190
190
|
elevation: 7,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ActivityBar.js","sourceRoot":"","sources":["../../../src/components/editor/ActivityBar.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,aAAa,EACb,WAAW,EACX,UAAU,EACV,aAAa,GACd,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EACL,IAAI,EACJ,
|
1
|
+
{"version":3,"file":"ActivityBar.js","sourceRoot":"","sources":["../../../src/components/editor/ActivityBar.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,aAAa,EACb,WAAW,EACX,UAAU,EACV,aAAa,GACd,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EACL,IAAI,EACJ,sBAAsB,EACtB,QAAQ,EACR,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,YAAY,EACZ,iBAAiB,EACjB,OAAO,EACP,cAAc,EACd,cAAc,EACd,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,kBAAkB,EAClB,SAAS,EACT,SAAS,EACT,YAAY,EACZ,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC7E,OAAO,EAAE,+BAA+B,EAAE,MAAM,qCAAqC,CAAC;AACtF,OAAO,EACL,gCAAgC,GAEjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,oBAAoB,EACpB,mBAAmB,GACpB,MAAM,sCAAsC,CAA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E,CAAC,mBAAmB,CAAC,WAAW,CAAC,gBAAgB,CAAC,EAChE,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAE,gBAAgB,YAEvB,KAAC,UAAU,KAAG,GACP,EACT,KAAC,sBAAsB,IACrB,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAC,UAAU,EAChB,OAAO,EAAE,KAAC,YAAY,KAAG,EACzB,SAAS,EAAE;oBACT,YAAY,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE;oBACzD,eAAe,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,EAAE;oBAC3D,SAAS,EAAE,CAAC;iBACb,YAED,KAAC,OAAO,KAAG,GACY,IACrB,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -16,7 +16,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
16
|
*/
|
17
17
|
import { useState, useRef, useEffect } from 'react';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
|
-
import { compareLabelFn,
|
19
|
+
import { compareLabelFn, ControlledDropdownMenu, NonBlockingDialog, createFilter, CustomSelectorInput, MoreHorizontalIcon, CaretDownIcon, Modal, MenuContent, MenuContentItem, } from '@finos/legend-art';
|
20
20
|
import { getElementTypeIcon } from '../../ElementIconUtils.js';
|
21
21
|
import { useEditorStore } from '../EditorStoreProvider.js';
|
22
22
|
import { buildElementOption, getPackageableElementOptionFormatter, } from '@finos/legend-lego/graph-editor';
|
@@ -62,7 +62,7 @@ export const ProjectSearchCommand = observer(() => {
|
|
62
62
|
}, [elementType]);
|
63
63
|
return (_jsx(NonBlockingDialog, { open: editorStore.showSearchElementCommand, onClose: closeModal, TransitionProps: {
|
64
64
|
onEnter: handleEnter,
|
65
|
-
}, onClickAway: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsx(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "search-modal", children: _jsxs("div", { className: "project-search-command", children: [_jsxs(
|
65
|
+
}, onClickAway: closeModal, classes: { container: 'search-modal__container' }, PaperProps: { classes: { root: 'search-modal__inner-container' } }, children: _jsx(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "search-modal", children: _jsxs("div", { className: "project-search-command", children: [_jsxs(ControlledDropdownMenu, { className: "project-search-command__type", title: "Choose Element Type...", content: _jsxs(MenuContent, { className: "project-search-command__options", children: [_jsx(MenuContentItem, { className: "project-search-command__option", onClick: changeType(undefined), children: _jsx(MoreHorizontalIcon, {}) }), types.map((type) => (_jsx(MenuContentItem, { className: "project-search-command__option", onClick: changeType(type), children: getElementTypeIcon(type, editorStore) }, type)))] }), children: [_jsx("div", { className: "project-search-command__type__label", children: elementType ? (getElementTypeIcon(elementType, editorStore)) : (_jsx(MoreHorizontalIcon, {})) }), _jsx("div", { className: "project-search-command__type__selector", children: _jsx(CaretDownIcon, {}) })] }), _jsx(CustomSelectorInput, { ref: selectorRef, className: "project-search-command__input", options: options, onChange: openElement, filterOption: filterOption, placeholder: `Search ${elementType ? elementType.toLowerCase() : 'elements'} by path`, escapeClearsValue: true, darkMode: !applicationStore.layoutService
|
66
66
|
.TEMPORARY__isLightColorThemeEnabled, formatOptionLabel: getPackageableElementOptionFormatter({
|
67
67
|
darkMode: !applicationStore.layoutService
|
68
68
|
.TEMPORARY__isLightColorThemeEnabled,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ProjectSearchCommand.js","sourceRoot":"","sources":["../../../../src/components/editor/command-center/ProjectSearchCommand.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,cAAc,EACd,
|
1
|
+
{"version":3,"file":"ProjectSearchCommand.js","sourceRoot":"","sources":["../../../../src/components/editor/command-center/ProjectSearchCommand.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,aAAa,EACb,KAAK,EACL,WAAW,EACX,eAAe,GAChB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAE/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AAEzC,MAAM,CAAC,MAAM,oBAAoB,GAAG,QAAQ,CAAC,GAAG,EAAE;IAChD,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,gBAAgB,GAAG,WAAW,CAAC,gBAAgB,CAAC;IACtD,MAAM,WAAW,GAAG,MAAM,CAAkB,IAAI,CAAC,CAAC;IAClD,MAAM,UAAU,GAAG,GAAS,EAAE,CAAC,WAAW,CAAC,2BAA2B,CAAC,KAAK,CAAC,CAAC;IAC9E,MAAM,KAAK,GAAG,WAAW,CAAC,wBAAwB,EAAE,CAAC;IACrD,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,EAAsB,CAAC;IACrE,MAAM,UAAU,GACd,CAAC,IAAwB,EAAgB,EAAE,CAC3C,GAAS,EAAE,CACT,cAAc,CAAC,IAAI,CAAC,CAAC;IACzB,MAAM,OAAO,GAAG;QACd,sDAAsD;QACtD,qEAAqE;QACrE,GAAG,WAAW,CAAC,iBAAiB,CAAC,KAAK,CAAC,iBAA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AU,EACV,iBAAiB,EAAE,IAAI,EACvB,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;6BAC5B,mCAAmC,EAExC,iBAAiB,EAAE,oCAAoC,CAAC;4BACtD,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;iCAC5B,mCAAmC;yBACzC,CAAC,GACF,IACE,GACA,GACU,CACrB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -16,7 +16,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
16
16
|
*/
|
17
17
|
import { useEffect, useState } from 'react';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
|
-
import { clsx,
|
19
|
+
import { clsx, ControlledDropdownMenu, MenuContent, MenuContentItem, PlusIcon, ArrowsAltHIcon, useResizeDetector, GenericTextFileIcon, } from '@finos/legend-art';
|
20
20
|
import { MappingEditor } from './mapping-editor/MappingEditor.js';
|
21
21
|
import { UMLEditor } from './uml-editor/UMLEditor.js';
|
22
22
|
import { MappingEditorState } from '../../../stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.js';
|
@@ -221,11 +221,11 @@ export const EditorGroup = observer(() => {
|
|
221
221
|
if (!currentTabState) {
|
222
222
|
return editorStore.isInViewerMode ? (_jsx(ViewerEditorGroupSplashScreen, {})) : (_jsx(EditorGroupSplashScreen, {}));
|
223
223
|
}
|
224
|
-
return (_jsxs("div", { "data-testid": LEGEND_STUDIO_TEST_ID.EDITOR_GROUP, className: "panel editor-group", children: [_jsxs("div", { className: "panel__header editor-group__header", children: [_jsx("div", { "data-testid": LEGEND_STUDIO_TEST_ID.EDITOR_GROUP__HEADER_TABS, className: "editor-group__header__tabs", children: _jsx(TabManager, { tabManagerState: editorStore.tabManagerState, tabRenderer: renderTab }) }), _jsxs("div", { className: "editor-group__header__actions", children: [currentTabState instanceof ElementEditorState && (_jsx(
|
224
|
+
return (_jsxs("div", { "data-testid": LEGEND_STUDIO_TEST_ID.EDITOR_GROUP, className: "panel editor-group", children: [_jsxs("div", { className: "panel__header editor-group__header", children: [_jsx("div", { "data-testid": LEGEND_STUDIO_TEST_ID.EDITOR_GROUP__HEADER_TABS, className: "editor-group__header__tabs", children: _jsx(TabManager, { tabManagerState: editorStore.tabManagerState, tabRenderer: renderTab }) }), _jsxs("div", { className: "editor-group__header__actions", children: [currentTabState instanceof ElementEditorState && (_jsx(ControlledDropdownMenu, { className: "editor-group__view-mode__type", title: "View as...", content: _jsxs(MenuContent, { "data-testid": LEGEND_STUDIO_TEST_ID.EDITOR_GROUP__ELEMENT_VIEW__OPTIONS, className: "editor-group__view-mode__options editor-group__view-mode__options--with-group", children: [_jsxs("div", { className: "editor-group__view-mode__option__group editor-group__view-mode__option__group--native", children: [_jsx("div", { className: "editor-group__view-mode__option__group__name", children: "native" }), _jsx("div", { className: "editor-group__view-mode__option__group__options", children: nativeViewModes.map((mode) => (_jsx(MenuContentItem, { className: "editor-group__view-mode__option", onClick: () => currentTabState.setEditMode(mode), children: mode }, mode))) })] }), Boolean(externalformatViewModes.length) && (_jsxs(_Fragment, { children: [_jsx("div", { className: "editor-group__view-mode__option__group__separator" }), _jsxs("div", { className: "editor-group__view-mode__option__group editor-group__view-mode__option__group--generation", children: [_jsx("div", { className: "editor-group__view-mode__option__group__name", children: "external format" }), _jsx("div", { className: "editor-group__view-mode__option__group__options", children: externalformatViewModes.map((mode) => (_jsx(MenuContentItem, { className: "editor-group__view-mode__option", onClick: () => currentTabState.changeGenerationModeState(mode.name, ELEMENT_GENERATION_MODE.EXTERNAL_FORMAT), children: mode.name }, mode.name))) })] })] })), Boolean(generationViewModes.length) && (_jsxs(_Fragment, { children: [_jsx("div", { className: "editor-group__view-mode__option__group__separator" }), _jsxs("div", { className: "editor-group__view-mode__option__group editor-group__view-mode__option__group--generation", children: [_jsx("div", { className: "editor-group__view-mode__option__group__name", children: "file" }), _jsx("div", { className: "editor-group__view-mode__option__group__options", children: generationViewModes.map((mode) => (_jsx(MenuContentItem, { className: "editor-group__view-mode__option", disabled: !editorStore.graphState.graphGenerationState.globalFileGenerationState.supportedFileGenerationConfigurationsForCurrentElement.includes(mode), onClick: () => currentTabState.changeGenerationModeState(mode.key, ELEMENT_GENERATION_MODE.FILE_GENERATION), children: mode.label }, mode.key))) })] })] }))] }), menuProps: {
|
225
225
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
226
226
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
227
227
|
}, children: _jsx("div", { className: "editor-group__view-mode__type__label", children: currentTabState.generationModeState?.label ??
|
228
|
-
currentTabState.editMode }) })), currentTabState instanceof EntityDiffViewState && (_jsx(
|
228
|
+
currentTabState.editMode }) })), currentTabState instanceof EntityDiffViewState && (_jsx(ControlledDropdownMenu, { className: "editor-group__view-mode__type", title: "View as...", content: _jsxs(MenuContent, { "data-testid": LEGEND_STUDIO_TEST_ID.EDITOR_GROUP__ELEMENT_VIEW__OPTIONS, className: "editor-group__view-mode__options", children: [_jsx(MenuContentItem, { className: "editor-group__view-mode__option", onClick: () => currentTabState.setDiffMode(DIFF_VIEW_MODE.GRAMMAR), children: DIFF_VIEW_MODE.GRAMMAR }), _jsx(MenuContentItem, { className: "editor-group__view-mode__option", onClick: () => currentTabState.setDiffMode(DIFF_VIEW_MODE.JSON), children: DIFF_VIEW_MODE.JSON })] }), menuProps: {
|
229
229
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
230
230
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
231
231
|
}, children: _jsx("div", { className: "editor-group__view-mode__type__label", children: currentTabState.diffMode }) }))] })] }), _jsx("div", { className: "panel__content editor-group__content", "data-testid": LEGEND_STUDIO_TEST_ID.EDITOR_GROUP_CONTENT, children: renderActiveElementTab() }, currentTabState.uuid)] }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EditorGroup.js","sourceRoot":"","sources":["../../../../src/components/editor/editor-group/EditorGroup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;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sCAAsC,iBACnC,qBAAqB,CAAC,oBAAoB,YAEtD,sBAAsB,EAAE,IAJpB,eAAe,CAAC,IAAI,CAKrB,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -17,7 +17,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
17
|
import { useEffect, useState, useRef, useCallback, forwardRef } from 'react';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
19
|
import { editor as monacoEditorAPI, languages as monacoLanguagesAPI, KeyCode, KeyMod, } from 'monaco-editor';
|
20
|
-
import { ContextMenu, PanelContent, MenuContent, MenuContentItem, PanelLoadingIndicator, CaretDownIcon,
|
20
|
+
import { ContextMenu, PanelContent, MenuContent, MenuContentItem, PanelLoadingIndicator, CaretDownIcon, ControlledDropdownMenu, MenuContentItemIcon, CheckIcon, MenuContentItemLabel, } from '@finos/legend-art';
|
21
21
|
import { DEFAULT_TAB_SIZE, useApplicationStore, useApplicationNavigationContext, } from '@finos/legend-application';
|
22
22
|
import { disposeCodeEditor, getBaseCodeEditorOptions, resetLineNumberGutterWidth, getCodeEditorValue, normalizeLineEnding, setWarningMarkers, clearMarkers, setErrorMarkers, moveCursorToPosition, CODE_EDITOR_THEME, CODE_EDITOR_LANGUAGE, getInlineSnippetSuggestions, getParserKeywordSuggestions, getParserElementSnippetSuggestions, getSectionParserNameFromLineText, } from '@finos/legend-lego/code-editor';
|
23
23
|
import { CORE_DND_TYPE, } from '../../../stores/editor/utils/DnDUtils.js';
|
@@ -824,7 +824,7 @@ export const GrammarTextEditor = observer(() => {
|
|
824
824
|
suggestionProviderDisposer.current?.dispose();
|
825
825
|
}, [editor]);
|
826
826
|
useApplicationNavigationContext(LEGEND_STUDIO_APPLICATION_NAVIGATION_CONTEXT_KEY.TEXT_MODE_EDITOR);
|
827
|
-
return (_jsxs("div", { className: "panel editor-group", children: [_jsxs("div", { className: "panel__header editor-group__header", children: [_jsx("div", { className: "editor-group__header__tabs", children: _jsx(ContextMenu, { className: "editor-group__text-mode__tab editor-group__text-mode__tab--active", content: _jsx(GrammarTextEditorHeaderTabContextMenu, {}), children: _jsx("div", { className: "editor-group__text-mode__tab__label", children: grammarModeState.headerLabel }) }) }), _jsxs("div", { className: "editor-group__header__actions", children: [_jsx("div", { className: "editor-group__text-mode__action", children: _jsx("button", { title: "Compile (F9)", onClick: globalCompile, className: "editor-group__text-mode-btn btn--dark", children: "Compile" }) }), _jsx("div", { className: "editor-group__text-mode__action", children: _jsx("button", { title: "Click to exit text mode and go back to form mode (F8)", onClick: leaveTextMode, className: "editor-group__text-mode-btn btn--dark", children: "Exit Text Mode" }) }), _jsx("div", { className: "query-builder__header__actions", children: _jsxs(
|
827
|
+
return (_jsxs("div", { className: "panel editor-group", children: [_jsxs("div", { className: "panel__header editor-group__header", children: [_jsx("div", { className: "editor-group__header__tabs", children: _jsx(ContextMenu, { className: "editor-group__text-mode__tab editor-group__text-mode__tab--active", content: _jsx(GrammarTextEditorHeaderTabContextMenu, {}), children: _jsx("div", { className: "editor-group__text-mode__tab__label", children: grammarModeState.headerLabel }) }) }), _jsxs("div", { className: "editor-group__header__actions", children: [_jsx("div", { className: "editor-group__text-mode__action", children: _jsx("button", { title: "Compile (F9)", onClick: globalCompile, className: "editor-group__text-mode-btn btn--dark", children: "Compile" }) }), _jsx("div", { className: "editor-group__text-mode__action", children: _jsx("button", { title: "Click to exit text mode and go back to form mode (F8)", onClick: leaveTextMode, className: "editor-group__text-mode-btn btn--dark", children: "Exit Text Mode" }) }), _jsx("div", { className: "query-builder__header__actions", children: _jsxs(ControlledDropdownMenu, { className: "query-builder__header__advanced-dropdown", title: "Show Advanced Menu...", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: toggleWordWrap, children: [_jsx(MenuContentItemIcon, { children: grammarTextEditorState.wrapText ? _jsx(CheckIcon, {}) : null }), _jsx(MenuContentItemLabel, { children: "Wrap Overflowing Words" })] }), _jsxs(MenuContentItem, { onClick: toggleAutoFoldingElements, children: [_jsx(MenuContentItemIcon, { children: elementsFolded ? _jsx(CheckIcon, {}) : null }), _jsx(MenuContentItemLabel, { children: "Auto Fold Elements" })] })] }), menuProps: {
|
828
828
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
829
829
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
830
830
|
elevation: 7,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"GrammarTextEditor.js","sourceRoot":"","sources":["../../../../src/components/editor/editor-group/GrammarTextEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,MAAM,IAAI,eAAe,EACzB,SAAS,IAAI,kBAAkB,EAC/B,OAAO,EACP,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,WAAW,EACX,YAAY,EACZ,WAAW,EACX,eAAe,EACf,qBAAqB,EACrB,aAAa,EACb,YAAY,EACZ,mBAAmB,EACnB,SAAS,EACT,oBAAoB,GACrB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,gBAAgB,EAChB,mBAAmB,EACnB,+BAA+B,GAEhC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,0BAA0B,EAC1B,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,oBAAoB,EACpB,2BAA2B,EAE3B,2BAA2B,EAC3B,kCAAkC,EAClC,gCAAgC,GACjC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAEL,aAAa,GACd,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC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CAAC,IAAI,GACnC,EACtB,KAAC,oBAAoB,yCAEE,IACP,EAClB,MAAC,eAAe,IAAC,OAAO,EAAE,yBAAyB,aACjD,KAAC,mBAAmB,cACjB,cAAc,CAAC,CAAC,CAAC,KAAC,SAAS,KAAG,CAAC,CAAC,CAAC,IAAI,GAClB,EACtB,KAAC,oBAAoB,qCAEE,IACP,IACN,EAEhB,SAAS,EAAE;wCACT,YAAY,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE;wCACzD,eAAe,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE;wCACzD,SAAS,EAAE,CAAC;qCACb,aAED,cAAK,SAAS,EAAC,iDAAiD,yBAE1D,EACN,KAAC,aAAa,IAAC,SAAS,EAAC,gDAAgD,GAAG,IAC/D,GACX,IACF,IACF,EACN,MAAC,YAAY,IAAC,SAAS,EAAC,uBAAuB,aAC7C,KAAC,qBAAqB,IACpB,SAAS,EAAE,WAAW,CAAC,UAAU,CAAC,sBAAsB,GACxD,EACF,cAAK,SAAS,EAAC,wBAAwB,YACrC,cAAK,SAAS,EAAC,mBAAmB,EAAC,GAAG,EAAE,aAAa,GAAI,GACrD,IACO,IACX,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"GrammarTextEditor.js","sourceRoot":"","sources":["../../../../src/components/editor/editor-group/GrammarTextEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,MAAM,IAAI,eAAe,EACzB,SAAS,IAAI,kBAAkB,EAC/B,OAAO,EACP,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,WAAW,EACX,YAA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D,EACF,cAAK,SAAS,EAAC,wBAAwB,YACrC,cAAK,SAAS,EAAC,mBAAmB,EAAC,GAAG,EAAE,aAAa,GAAI,GACrD,IACO,IACX,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -17,7 +17,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
18
18
|
import { ModelImporterState, ExtensionModelImporterEditorState, MODEL_IMPORT_NATIVE_INPUT_TYPE, NativeModelImporterEditorState, ExternalFormatModelImporterState, } from '../../../stores/editor/editor-state/ModelImporterState.js';
|
19
19
|
import { prettyCONSTName } from '@finos/legend-shared';
|
20
|
-
import {
|
20
|
+
import { ControlledDropdownMenu, MenuContent, MenuContentItem, CaretDownIcon, CheckSquareIcon, TruckLoadingIcon, EmptySquareIcon, BlankPanelContent, PanelLoadingIndicator, clsx, Button, Panel, PanelHeader, PanelContent, } from '@finos/legend-art';
|
21
21
|
import { flowResult } from 'mobx';
|
22
22
|
import { useEditorStore } from '../EditorStoreProvider.js';
|
23
23
|
import { useApplicationStore, useApplicationNavigationContext, } from '@finos/legend-application';
|
@@ -97,7 +97,7 @@ export const ModelImporter = observer(() => {
|
|
97
97
|
}
|
98
98
|
return null;
|
99
99
|
};
|
100
|
-
return (_jsxs(Panel, { className: "model-loader", children: [_jsxs(PanelHeader, { className: "model-loader__header", children: [_jsxs("div", { className: "model-loader__header__configs", children: [_jsxs(
|
100
|
+
return (_jsxs(Panel, { className: "model-loader", children: [_jsxs(PanelHeader, { className: "model-loader__header", children: [_jsxs("div", { className: "model-loader__header__configs", children: [_jsxs(ControlledDropdownMenu, { className: "model-loader__header__configs__type", content: _jsxs(MenuContent, { className: "model-loader__header__configs__type__menu", children: [_jsxs("div", { className: "model-loader__header__configs__type-option__group model-loader__header__configs__type-option__group--native", children: [_jsx("div", { className: "model-loader__header__configs__type-option__group__name", children: "native" }), _jsx("div", { className: "model-loader__header__configs__type-option__group__options", children: nativeInputTypes.map((inputType) => (_jsx(MenuContentItem, { className: "model-loader__header__configs__type-option__group__option", onClick: () => modelImporterState.setNativeImportType(inputType), children: prettyCONSTName(inputType) }, inputType))) })] }), Boolean(externalFormatDescriptions.length) && (_jsxs(_Fragment, { children: [_jsx("div", { className: "model-loader__header__configs__type-option__group__separator" }), _jsxs("div", { className: "model-loader__header__configs__type-option__group model-loader__header__configs__type-option__group--external", children: [_jsx("div", { className: "model-loader__header__configs__type-option__group__name", children: "external" }), _jsx("div", { className: "model-loader__header__configs__type-option__group__options", children: externalFormatDescriptions.map((inputType) => (_jsx(MenuContentItem, { className: "model-loader__header__configs__type-option__group__option", onClick: () => modelImporterState.setExternalFormatImportFormat(inputType), children: inputType.name }, inputType.name))) })] })] })), Boolean(extraModelImporterExtensionsConfigs.length > 0) && (_jsxs(_Fragment, { children: [_jsx("div", { className: "model-loader__header__configs__type-option__group__separator" }), _jsxs("div", { className: "model-loader__header__configs__type-option__group model-loader__header__configs__type-option__group--extension", children: [_jsx("div", { className: "model-loader__header__configs__type-option__group__name", children: "extensions" }), _jsx("div", { className: "model-loader__header__configs__type-option__group__options", children: extraModelImporterExtensionsConfigs.map((config) => (_jsx(MenuContentItem, { className: "model-loader__header__configs__type-option__group__option", onClick: () => modelImporterState.setModelImporterExtension(config), children: config.label ?? prettyCONSTName(config.key) }, config.key))) })] })] }))] }), menuProps: {
|
101
101
|
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
102
102
|
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
103
103
|
}, children: [_jsx("div", { className: "model-loader__header__configs__type__label", children: prettyCONSTName(label) }), _jsx("div", { className: "model-loader__header__configs__type__icon", children: _jsx(CaretDownIcon, {}) })] }), modelImportEditorState.allowHardReplace && (_jsxs("div", { className: "model-loader__header__configs__edit-mode", onClick: toggleReplace, children: [_jsx("div", { className: "model-loader__header__configs__edit-mode__icon", children: replace ? _jsx(CheckSquareIcon, {}) : _jsx(EmptySquareIcon, {}) }), _jsx("div", { className: "model-loader__header__configs__edit-mode__label", children: "replace" })] })), renderExtraActions()] }), _jsx("div", { className: "model-loader__header__action", children: _jsx(Button, { className: "model-loader__header__load-btn", onClick: loadModel, disabled: modelImportEditorState.loadModelActionState.isInProgress ||
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ModelImporter.js","sourceRoot":"","sources":["../../../../src/components/editor/editor-group/ModelImporter.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,kBAAkB,EAClB,iCAAiC,EACjC,8BAA8B,EAC9B,8BAA8B,EAC9B,gCAAgC,GACjC,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EACL,
|
1
|
+
{"version":3,"file":"ModelImporter.js","sourceRoot":"","sources":["../../../../src/components/editor/editor-group/ModelImporter.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,kBAAkB,EAClB,iCAAiC,EACjC,8BAA8B,EAC9B,8BAA8B,EAC9B,gCAAgC,GACjC,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EACL,sBAAsB,EACtB,WAAW,EACX,eAAe,EACf,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,iBAAiB,EACjB,qBAAqB,EACrB,IAAI,EACJ,MAAM,EACN,KAAK,EACL,WAAW,EACX,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EACL,mBAAmB,EACnB,+BAA+B,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C,MAAM,CACP,YAGF,MAAM,CAAC,KAAK,IAAI,eAAe,CAAC,MAAM,CAAC,GAAG,CAAC,IARvC,MAAM,CAAC,GAAG,CASC,CACnB,CACF,GACG,IACF,IACL,CACJ,IACW,EAEhB,SAAS,EAAE;oCACT,YAAY,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE;oCACzD,eAAe,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE;iCAC1D,aAED,cAAK,SAAS,EAAC,4CAA4C,YACxD,eAAe,CAAC,KAAK,CAAC,GACnB,EACN,cAAK,SAAS,EAAC,2CAA2C,YACxD,KAAC,aAAa,KAAG,GACb,IACiB,EACxB,sBAAsB,CAAC,gBAAgB,IAAI,CAC1C,eACE,SAAS,EAAC,0CAA0C,EACpD,OAAO,EAAE,aAAa,aAEtB,cAAK,SAAS,EAAC,gDAAgD,YAC5D,OAAO,CAAC,CAAC,CAAC,KAAC,eAAe,KAAG,CAAC,CAAC,CAAC,KAAC,eAAe,KAAG,GAChD,EACN,cAAK,SAAS,EAAC,iDAAiD,wBAE1D,IACF,CACP,EACA,kBAAkB,EAAE,IACjB,EACN,cAAK,SAAS,EAAC,8BAA8B,YAC3C,KAAC,MAAM,IACL,SAAS,EAAC,gCAAgC,EAC1C,OAAO,EAAE,SAAS,EAClB,QAAQ,EACN,sBAAsB,CAAC,oBAAoB,CAAC,YAAY;gCACxD,sBAAsB,CAAC,iBAAiB,EAE1C,KAAK,EAAC,YAAY,EAClB,IAAI,EAAC,MAAM,GACX,GACE,IACM,EAEb,yBAAyB,EAAE,IACtB,CACT,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
package/lib/components/editor/editor-group/connection-editor/RelationalDatabaseConnectionEditor.js
CHANGED
@@ -17,7 +17,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
18
18
|
import { useState } from 'react';
|
19
19
|
import { RELATIONAL_DATABASE_TAB_TYPE, POST_PROCESSOR_TYPE, } from '../../../../stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.js';
|
20
|
-
import { ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, CustomSelectorInput, ErrorIcon, FilledWindowMaximizeIcon, PanelHeader, PlusIcon, PanelFormTextField, ContextMenu, MenuContent, MenuContentItem, PanelListSelectorItem,
|
20
|
+
import { ResizablePanelGroup, ResizablePanel, ResizablePanelSplitter, CustomSelectorInput, ErrorIcon, FilledWindowMaximizeIcon, PanelHeader, PlusIcon, PanelFormTextField, ContextMenu, MenuContent, MenuContentItem, PanelListSelectorItem, ControlledDropdownMenu, PanelTabs, BlankPanelContent, ResizablePanelSplitterLine, PanelContent, Panel, Badge, PanelListSelectorItemLabel, PanelFormBooleanField, PanelHeaderActions, PanelDivider, PanelFormSection, Dialog, Modal, ModalBody, ModalFooter, ModalFooterButton, ModalHeader, Button, } from '@finos/legend-art';
|
21
21
|
import { DatabaseType, DelegatedKerberosAuthenticationStrategy, OAuthAuthenticationStrategy, SnowflakePublicAuthenticationStrategy, ApiTokenAuthenticationStrategy, UsernamePasswordAuthenticationStrategy, GCPWorkloadIdentityFederationAuthenticationStrategy, MiddleTierUsernamePasswordAuthenticationStrategy, TrinoDelegatedKerberosAuthenticationStrategy, EmbeddedH2DatasourceSpecification, LocalH2DatasourceSpecification, SnowflakeDatasourceSpecification, DatabricksDatasourceSpecification, StaticDatasourceSpecification, BigQueryDatasourceSpecification, RedshiftDatasourceSpecification, PackageableElementExplicitReference, MapperPostProcessor, SpannerDatasourceSpecification, TrinoDatasourceSpecification, guaranteeRelationalDatabaseConnection, } from '@finos/legend-graph';
|
22
22
|
import { useEditorStore } from '../../EditorStoreProvider.js';
|
23
23
|
import { CODE_EDITOR_LANGUAGE, CodeEditor, } from '@finos/legend-lego/code-editor';
|
@@ -217,7 +217,7 @@ const PostProcessorRelationalConnectionEditor = observer((props) => {
|
|
217
217
|
}
|
218
218
|
return 'unknown type';
|
219
219
|
};
|
220
|
-
return (_jsx("div", { className: "relational-connection-editor", children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { children: _jsx("div", { className: "relational-connection-editor__content", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 200, minSize: 100, children: _jsxs(Panel, { children: [_jsx(PanelHeader, { title: "post-processor", children: _jsx(PanelHeaderActions, { children: _jsx(
|
220
|
+
return (_jsx("div", { className: "relational-connection-editor", children: _jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { children: _jsx("div", { className: "relational-connection-editor__content", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 200, minSize: 100, children: _jsxs(Panel, { children: [_jsx(PanelHeader, { title: "post-processor", children: _jsx(PanelHeaderActions, { children: _jsx(ControlledDropdownMenu, { title: "Create post-processor", className: "panel__header__action", disabled: isReadOnly, content: postProcessorOptions.map((postProcessorType) => (_jsxs(MenuContentItem, { onClick: addPostProcessor(postProcessorType.value), children: ["New ", postProcessorType.label, " Post-Processor"] }, postProcessorType.value))), menuProps: {
|
221
221
|
anchorOrigin: {
|
222
222
|
vertical: 'bottom',
|
223
223
|
horizontal: 'right',
|