@finos/legend-application-studio 28.18.44 → 28.18.46

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"FunctionEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/FunctionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkJH,oBAAY,sBAAsB;IAChC,oBAAoB,mBAAmB;IACvC,cAAc,iBAAiB;IAC/B,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,oBAAoB,wBAAwB;CAC7C;AA64BD,eAAO,MAAM,cAAc;;CAgczB,CAAC"}
1
+ {"version":3,"file":"FunctionEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/FunctionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAoJH,oBAAY,sBAAsB;IAChC,oBAAoB,mBAAmB;IACvC,cAAc,iBAAiB;IAC/B,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,oBAAoB,wBAAwB;CAC7C;AA64BD,eAAO,MAAM,cAAc;;CAmezB,CAAC"}
@@ -20,7 +20,7 @@ import { FunctionEditorState, FUNCTION_EDITOR_TAB, } from '../../../../stores/ed
20
20
  import { CORE_DND_TYPE, } from '../../../../stores/editor/utils/DnDUtils.js';
21
21
  import { assertErrorThrown, assertTrue, prettyCONSTName, returnUndefOnError, UnsupportedOperationError, } from '@finos/legend-shared';
22
22
  import { useDrag, useDrop } from 'react-dnd';
23
- import { clsx, CustomSelectorInput, createFilter, LockIcon, PlusIcon, TimesIcon, ArrowCircleRightIcon, PanelEntryDragHandle, DragPreviewLayer, useDragPreviewLayer, Panel, PanelContent, PanelDnDEntry, Dialog, ModalBody, ModalFooter, CaretDownIcon, ControlledDropdownMenu, BlankPanelContent, MenuContent, MenuContentItem, Modal, PauseCircleIcon, PlayIcon, PanelLoadingIndicator, PencilIcon, RocketIcon, ModalFooterButton, BaseCard, Snowflake_BrandIcon, InputWithInlineValidation, } from '@finos/legend-art';
23
+ import { clsx, CustomSelectorInput, createFilter, LockIcon, PlusIcon, TimesIcon, ArrowCircleRightIcon, PanelEntryDragHandle, DragPreviewLayer, useDragPreviewLayer, Panel, PanelContent, PanelDnDEntry, Dialog, ModalBody, ModalFooter, CaretDownIcon, ControlledDropdownMenu, BlankPanelContent, MenuContent, MenuContentItem, Modal, PauseCircleIcon, PlayIcon, PanelLoadingIndicator, PencilIcon, RocketIcon, ModalFooterButton, BaseCard, Snowflake_BrandIcon, InputWithInlineValidation, LongArrowRightIcon, } from '@finos/legend-art';
24
24
  import { LEGEND_STUDIO_TEST_ID } from '../../../../__lib__/LegendStudioTesting.js';
25
25
  import { StereotypeDragPreviewLayer, StereotypeSelector, } from '../uml-editor/StereotypeSelector.js';
26
26
  import { TaggedValueDragPreviewLayer, TaggedValueEditor, } from '../uml-editor/TaggedValueEditor.js';
@@ -454,6 +454,7 @@ export const FunctionEditor = observer(() => {
454
454
  applicationStore.notificationService.notifyError(`Unable to edit via query builder: ${error.message}`);
455
455
  }
456
456
  });
457
+ const visitActivator = (activator) => functionEditorState.editorStore.graphEditorMode.openElement(activator);
457
458
  const openFunctionActivateModal = () => {
458
459
  functionEditorState.activatorPromoteState.showFunctionActivateModal();
459
460
  };
@@ -468,11 +469,13 @@ export const FunctionEditor = observer(() => {
468
469
  vertical: 'top',
469
470
  horizontal: 'right',
470
471
  },
471
- }, children: _jsx(CaretDownIcon, {}) })] })) }), _jsx("div", { className: "btn__dropdown-combo btn__dropdown-combo--primary", children: _jsxs("button", { className: "btn__dropdown-combo__label", onClick: openFunctionActivateModal, title: "Activate function", tabIndex: -1, children: [_jsx(RocketIcon, { className: "btn__dropdown-combo__label__icon" }), _jsx("div", { className: "btn__dropdown-combo__label__title", children: "Activate" })] }) })] })), _jsx("button", { className: "panel__header__action", disabled: isReadOnly || selectedTab === FUNCTION_EDITOR_TAB.DEFINITION, onClick: add, tabIndex: -1, title: addButtonTitle, children: _jsx(PlusIcon, {}) })] })] }), _jsxs(PanelContent, { children: [selectedTab === FUNCTION_EDITOR_TAB.DEFINITION && (_jsx(FunctionDefinitionEditor, { functionEditorState: functionEditorState, isReadOnly: isReadOnly })), selectedTab === FUNCTION_EDITOR_TAB.TAGGED_VALUES && (_jsxs("div", { ref: dropTaggedValueRef, className: clsx('panel__content__lists', {
472
+ }, children: _jsx(CaretDownIcon, {}) })] })) }), _jsx("div", { className: "btn__dropdown-combo btn__dropdown-combo--primary", children: _jsxs("button", { className: "btn__dropdown-combo__label", onClick: openFunctionActivateModal, title: "Activate function", tabIndex: -1, children: [_jsx(RocketIcon, { className: "btn__dropdown-combo__label__icon" }), _jsx("div", { className: "btn__dropdown-combo__label__title", children: "Activate" })] }) })] })), _jsx("button", { className: "panel__header__action", disabled: isReadOnly ||
473
+ selectedTab === FUNCTION_EDITOR_TAB.DEFINITION ||
474
+ selectedTab === FUNCTION_EDITOR_TAB.LAMBDAS, onClick: add, tabIndex: -1, title: addButtonTitle, children: _jsx(PlusIcon, {}) })] })] }), _jsxs(PanelContent, { children: [selectedTab === FUNCTION_EDITOR_TAB.DEFINITION && (_jsx(FunctionDefinitionEditor, { functionEditorState: functionEditorState, isReadOnly: isReadOnly })), selectedTab === FUNCTION_EDITOR_TAB.TAGGED_VALUES && (_jsxs("div", { ref: dropTaggedValueRef, className: clsx('panel__content__lists', {
472
475
  'panel__content__lists--dnd-over': isTaggedValueDragOver && !isReadOnly,
473
476
  }), children: [_jsx(TaggedValueDragPreviewLayer, {}), functionElement.taggedValues.map((taggedValue) => (_jsx(TaggedValueEditor, { annotatedElement: functionElement, taggedValue: taggedValue, deleteValue: _deleteTaggedValue(taggedValue), isReadOnly: isReadOnly, darkTheme: true }, taggedValue._UUID)))] })), selectedTab === FUNCTION_EDITOR_TAB.STEREOTYPES && (_jsxs("div", { ref: dropStereotypeRef, className: clsx('panel__content__lists', {
474
477
  'panel__content__lists--dnd-over': isStereotypeDragOver && !isReadOnly,
475
- }), children: [_jsx(StereotypeDragPreviewLayer, {}), functionElement.stereotypes.map((stereotype) => (_jsx(StereotypeSelector, { annotatedElement: functionElement, stereotype: stereotype, deleteStereotype: _deleteStereotype(stereotype), isReadOnly: isReadOnly, darkTheme: true }, stereotype.value._UUID)))] })), selectedTab === FUNCTION_EDITOR_TAB.TEST_SUITES && (_jsx(FunctionTestableEditor, { functionTestableState: functionEditorState.functionTestableEditorState })), _jsx(ExecutionPlanViewer, { executionPlanState: functionEditorState.executionPlanState }), functionEditorState.parametersState.parameterValuesEditorState
478
+ }), children: [_jsx(StereotypeDragPreviewLayer, {}), functionElement.stereotypes.map((stereotype) => (_jsx(StereotypeSelector, { annotatedElement: functionElement, stereotype: stereotype, deleteStereotype: _deleteStereotype(stereotype), isReadOnly: isReadOnly, darkTheme: true }, stereotype.value._UUID)))] })), selectedTab === FUNCTION_EDITOR_TAB.TEST_SUITES && (_jsx(FunctionTestableEditor, { functionTestableState: functionEditorState.functionTestableEditorState })), selectedTab === FUNCTION_EDITOR_TAB.LAMBDAS && (_jsx("div", { children: _jsx("div", { className: "hosted-service-function-activator-editor__configuration__items", children: functionEditorState.activators.map((activator) => (_jsxs("div", { className: "hosted-service-function-activator-editor__configuration__item", children: [_jsx("div", { className: "btn--sm btn--icon--dark hosted-service-function-activator-editor__configuration__item__label", children: getElementIcon(activator, editorStore) }), _jsx("input", { className: "panel__content__form__section__input", spellCheck: false, disabled: true, value: activator.path }), _jsx("button", { className: "btn--dark btn--sm hosted-service-function-activator-editor__configuration__item__btn", onClick: () => visitActivator(activator), tabIndex: -1, title: "See Lambda", children: _jsx(LongArrowRightIcon, {}) })] }, activator.name))) }) })), _jsx(ExecutionPlanViewer, { executionPlanState: functionEditorState.executionPlanState }), functionEditorState.parametersState.parameterValuesEditorState
476
479
  .showModal && (_jsx(LambdaParameterValuesEditor, { graph: functionEditorState.editorStore.graphManagerState.graph, observerContext: functionEditorState.editorStore.changeDetectionState
477
480
  .observerContext, lambdaParametersState: functionEditorState.parametersState }))] }), functionEditorState.activatorPromoteState.isActivatingFunction && (_jsx(FunctionPromoteEditor, { functionElement: functionElement, activatorPromoteState: functionEditorState.activatorPromoteState }))] }) }));
478
481
  });
@@ -1 +1 @@
1
- {"version":3,"file":"FunctionEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/FunctionEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,oFAAoF,CAAC;AAC5F,OAAO,EACL,aAAa,GAGd,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,eAAe,EACf,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EACL,IAAI,EACJ,mBAAmB,EACnB,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,oBAAoB,EACpB,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,EACnB,KAAK,EACL,YAAY,EACZ,aAAa,EACb,MAAM,EACN,SAAS,EACT,WAAW,EACX,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,KAAK,EACL,eAAe,EACf,QAAQ,EACR,qBAAqB,EACrB,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,QAAQ,EACR,mBAAmB,EACnB,yBAAyB,GAC1B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACnF,OAAO,EACL,0BAA0B,EAC1B,kBAAkB,GACnB,MAAM,qCAAqC,CAAC;AAC7C,O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WAAW,IAAI,CAClD,eACE,GAAG,EAAE,iBAAiB,EACtB,SAAS,EAAE,IAAI,CAAC,uBAAuB,EAAE;gCACvC,iCAAiC,EAC/B,oBAAoB,IAAI,CAAC,UAAU;6BACtC,CAAC,aAEF,KAAC,0BAA0B,KAAG,EAC7B,eAAe,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAC/C,KAAC,kBAAkB,IAEjB,gBAAgB,EAAE,eAAe,EACjC,UAAU,EAAE,UAAU,EACtB,gBAAgB,EAAE,iBAAiB,CAAC,UAAU,CAAC,EAC/C,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,IAAI,IALV,UAAU,CAAC,KAAK,CAAC,KAAK,CAM3B,CACH,CAAC,IACE,CACP,EACA,WAAW,KAAK,mBAAmB,CAAC,WAAW,IAAI,CAClD,KAAC,sBAAsB,IACrB,qBAAqB,EACnB,mBAAmB,CAAC,2BAA2B,GAEjD,CACH,EACD,KAAC,mBAAmB,IAClB,kBAAkB,EAAE,mBAAmB,CAAC,kBAAkB,GAC1D,EACD,mBAAmB,CAAC,eAAe,CAAC,0BAA0B;6BAC5D,SAAS,IAAI,CACd,KAAC,2BAA2B,IAC1B,KAAK,EAAE,mBAAmB,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,EAC9D,eAAe,EACb,mBAAmB,CAAC,WAAW,CAAC,oBAAoB;iCACjD,eAAe,EAEpB,qBAAqB,EAAE,mBAAmB,CAAC,eAAe,GAC1D,CACH,IACY,EACd,mBAAmB,CAAC,qBAAqB,CAAC,oBAAoB,IAAI,CACjE,KAAC,qBAAqB,IACpB,eAAe,EAAE,eAAe,EAChC,qBAAqB,EAAE,mBAAmB,CAAC,qBAAqB,GAChE,CACH,IACK,GACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"FunctionEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/FunctionEditor.tsx"],"names":[],"m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kB,EAAE,mBAAmB,CAAC,kBAAkB,GAC1D,EACD,mBAAmB,CAAC,eAAe,CAAC,0BAA0B;6BAC5D,SAAS,IAAI,CACd,KAAC,2BAA2B,IAC1B,KAAK,EAAE,mBAAmB,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,EAC9D,eAAe,EACb,mBAAmB,CAAC,WAAW,CAAC,oBAAoB;iCACjD,eAAe,EAEpB,qBAAqB,EAAE,mBAAmB,CAAC,eAAe,GAC1D,CACH,IACY,EACd,mBAAmB,CAAC,qBAAqB,CAAC,oBAAoB,IAAI,CACjE,KAAC,qBAAqB,IACpB,eAAe,EAAE,eAAe,EAChC,qBAAqB,EAAE,mBAAmB,CAAC,qBAAqB,GAChE,CACH,IACK,GACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /** @license @finos/legend-application-studio v28.18.44
1
+ /** @license @finos/legend-application-studio v28.18.46
2
2
  * Copyright (c) 2020-present, Goldman Sachs
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-studio",
3
- "version": "28.18.44",
3
+ "version": "28.18.46",
4
4
  "description": "Legend Studio application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -59,9 +59,9 @@
59
59
  "@testing-library/dom": "10.4.0",
60
60
  "@testing-library/react": "16.0.1",
61
61
  "@types/react": "18.3.11",
62
- "@types/react-dom": "18.3.0",
62
+ "@types/react-dom": "18.3.1",
63
63
  "fast-xml-parser": "4.5.0",
64
- "mobx": "6.13.3",
64
+ "mobx": "6.13.5",
65
65
  "mobx-react-lite": "4.0.7",
66
66
  "mobx-utils": "6.1.0",
67
67
  "monaco-editor": "0.52.0",
@@ -69,8 +69,8 @@
69
69
  "react": "18.3.1",
70
70
  "react-dnd": "16.0.1",
71
71
  "react-dom": "18.3.1",
72
- "serializr": "3.0.2",
73
- "yaml": "2.5.1"
72
+ "serializr": "3.0.3",
73
+ "yaml": "2.6.0"
74
74
  },
75
75
  "devDependencies": {
76
76
  "@finos/legend-dev-utils": "workspace:*",
@@ -80,7 +80,7 @@
80
80
  "jest": "29.7.0",
81
81
  "npm-run-all": "4.1.5",
82
82
  "rimraf": "6.0.1",
83
- "sass": "1.79.4",
83
+ "sass": "1.80.2",
84
84
  "typescript": "5.6.3"
85
85
  },
86
86
  "peerDependencies": {
@@ -16,7 +16,7 @@
16
16
  import type { EditorStore } from '../../EditorStore.js';
17
17
  import { type GeneratorFn } from '@finos/legend-shared';
18
18
  import { ElementEditorState } from './ElementEditorState.js';
19
- import { type CompilationError, type PackageableElement, type ExecutionResult, type ExecutionResultWithMetadata, ConcreteFunctionDefinition, RawLambda } from '@finos/legend-graph';
19
+ import { type CompilationError, type PackageableElement, type ExecutionResult, type ExecutionResultWithMetadata, ConcreteFunctionDefinition, RawLambda, type FunctionActivator } from '@finos/legend-graph';
20
20
  import { ExecutionPlanState, LambdaEditorState, LambdaParameterState, LambdaParametersState } from '@finos/legend-query-builder';
21
21
  import { FunctionActivatorState } from './FunctionActivatorState.js';
22
22
  import { FunctionTestableState } from './function-activator/testable/FunctionTestableState.js';
@@ -24,7 +24,8 @@ export declare enum FUNCTION_EDITOR_TAB {
24
24
  DEFINITION = "DEFINITION",
25
25
  TAGGED_VALUES = "TAGGED_VALUES",
26
26
  STEREOTYPES = "STEREOTYPES",
27
- TEST_SUITES = "TEST_SUITES"
27
+ TEST_SUITES = "TEST_SUITES",
28
+ LAMBDAS = "LAMBDAS"
28
29
  }
29
30
  export declare class FunctionDefinitionEditorState extends LambdaEditorState {
30
31
  readonly editorStore: EditorStore;
@@ -59,6 +60,7 @@ export declare class FunctionEditorState extends ElementEditorState {
59
60
  constructor(editorStore: EditorStore, element: PackageableElement);
60
61
  get label(): string;
61
62
  get functionElement(): ConcreteFunctionDefinition;
63
+ get activators(): FunctionActivator[];
62
64
  setSelectedTab(tab: FUNCTION_EDITOR_TAB): void;
63
65
  revealCompilationError(compilationError: CompilationError): boolean;
64
66
  clearCompilationError(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"FunctionEditorState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/FunctionEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EACL,KAAK,WAAW,EAQjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EAEpB,KAAK,2BAA2B,EAIhC,0BAA0B,EAC1B,SAAS,EASV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EAMtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAE/F,oBAAY,mBAAmB;IAC7B,UAAU,eAAe;IACzB,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;CAC5B;AAED,qBAAa,6BAA8B,SAAQ,iBAAiB;IAClE,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAClC,QAAQ,CAAC,eAAe,EAAE,0BAA0B,CAAC;IAErD,gCAAgC,UAAS;gBAGvC,eAAe,EAAE,0BAA0B,EAC3C,WAAW,EAAE,WAAW;IAa1B,IAAI,QAAQ,IAAI,MAAM,CAErB;IAEA,kCAAkC,IAAI,WAAW,CAAC,IAAI,CAAC;IA0BvD,kCAAkC,CAAC,OAAO,CAAC,EAAE;QAC5C,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QA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gB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIpC,kBAAkB,oBAAqB,eAAe,GAAG,SAAS,KAAG,IAAI,CAEvE;IAEF,iBAAiB,YACN,OAAO,CAAC,2BAA2B,CAAC,GAAG,SAAS,KACxD,IAAI,CAEL;IAEF,IAAI,sBAAsB,IAAI,SAAS,CAStC;IAEA,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC;IAqF/C,aAAa,IAAI,WAAW,CAAC,IAAI,CAAC;IAalC,OAAO,IAAI,WAAW,CAAC,IAAI,CAAC;IAqE5B,aAAa,IAAI,WAAW,CAAC,IAAI,CAAC;CAepC"}
1
+ {"version":3,"file":"FunctionEditorState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/FunctionEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAWH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EACL,KAAK,WAAW,EAQjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EAEpB,KAAK,2BAA2B,EAIhC,0BAA0B,EAC1B,SAAS,EAST,KAAK,iBAAiB,EACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EAMtB,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAE/F,oBAAY,mBAAmB;IAC7B,UAAU,eAAe;IACzB,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,OAAO,YAAY;CACpB;AAED,q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yCjE,IAAa,KAAK,IAAI,MAAM,CAK3B;IAED,IAAI,eAAe,IAAI,0BAA0B,CAMhD;IAED,IAAI,UAAU,IAAI,iBAAiB,EAAE,CAOpC;IAED,cAAc,CAAC,GAAG,EAAE,mBAAmB,GAAG,IAAI;IAIrC,sBAAsB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,OAAO;IAqBnE,qBAAqB,IAAI,IAAI;IAIrC,uBAAuB,CAAC,GAAG,EAAE,SAAS,GAAG,WAAW,CAAC,IAAI,CAAC;IA0B3D,SAAS,CACP,UAAU,EAAE,0BAA0B,EACtC,WAAW,EAAE,WAAW,GACvB,mBAAmB;IAStB,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAIpC,kBAAkB,oBAAqB,eAAe,GAAG,SAAS,KAAG,IAAI,CAEvE;IAEF,iBAAiB,YACN,OAAO,CAAC,2BAA2B,CAAC,GAAG,SAAS,KACxD,IAAI,CAEL;IAEF,IAAI,sBAAsB,IAAI,SAAS,CAStC;IAEA,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC;IAqF/C,aAAa,IAAI,WAAW,CAAC,IAAI,CAAC;IAalC,OAAO,IAAI,WAAW,CAAC,IAAI,CAAC;IAqE5B,aAAa,IAAI,WAAW,CAAC,IAAI,CAAC;CAepC"}
@@ -26,6 +26,7 @@ export var FUNCTION_EDITOR_TAB;
26
26
  FUNCTION_EDITOR_TAB["TAGGED_VALUES"] = "TAGGED_VALUES";
27
27
  FUNCTION_EDITOR_TAB["STEREOTYPES"] = "STEREOTYPES";
28
28
  FUNCTION_EDITOR_TAB["TEST_SUITES"] = "TEST_SUITES";
29
+ FUNCTION_EDITOR_TAB["LAMBDAS"] = "LAMBDAS";
29
30
  })(FUNCTION_EDITOR_TAB || (FUNCTION_EDITOR_TAB = {}));
30
31
  export class FunctionDefinitionEditorState extends LambdaEditorState {
31
32
  editorStore;
@@ -190,6 +191,10 @@ export class FunctionEditorState extends ElementEditorState {
190
191
  get functionElement() {
191
192
  return guaranteeType(this.element, ConcreteFunctionDefinition, 'Element inside function editor state must be a function');
192
193
  }
194
+ get activators() {
195
+ const allActivators = this.editorStore.graphManagerState.graph.functionActivators;
196
+ return allActivators.filter((activator) => activator.function.value === this.element);
197
+ }
193
198
  setSelectedTab(tab) {
194
199
  this.selectedTab = tab;
195
200
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FunctionEditorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/FunctionEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,QAAQ,EACR,UAAU,EACV,MAAM,EACN,cAAc,EACd,IAAI,EACJ,UAAU,EACV,QAAQ,GACT,MAAM,MAAM,CAAC;AAEd,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,aAAa,EACb,UAAU,EACV,SAAS,EACT,YAAY,EACZ,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAML,mBAAmB,EACnB,WAAW,EACX,WAAW,EACX,0BAA0B,EAC1B,SAAS,EACT,8BAA8B,EAC9B,4BAA4B,EAC5B,oBAAoB,EACpB,8BAA8B,EAC9B,kBAAkB,EAClB,0BAA0B,EAC1B,0BAA0B,EAC1B,qBAAqB,GACtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,2BAA2B,EAC3B,6BAA6B,EAC7B,8BAA8B,GAC/B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,wDAAwD,CAAC;AAE/F,MAAM,CAAN,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,g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;gBAAS,CAAC;YACT,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC7B,CAAC;IACH,CAAC;IAED,CAAC,aAAa;QACZ,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;QAC7B,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;QAClC,IAAI,CAAC;YACH,MAAM,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,oBAAoB,CACxE,IAAI,CACL,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,8CAA8C;YAC9C,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CAChD,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,EACtD,KAAK,CACN,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
1
+ {"version":3,"file":"FunctionEditorState.js","sourceRoot":"","sources":["../../../../../src/stores/editor/editor-state/element-editor-state/FunctionEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,QAAQ,EACR,UAAU,EACV,MAAM,EACN,cAAc,EACd,IAAI,EACJ,UAAU,EACV,QAAQ,GACT,MAAM,MAAM,CAAC;AAEd,OAAO,EAEL,iBAAiB,EACjB,QAAQ,EACR,aAAa,EACb,UAAU,EACV,SAAS,EACT,YAAY,EACZ,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAML,mBAAmB,EACnB,WAAW,EACX,WAAW,EACX,0BAA0B,EAC1B,SAAS,EACT,8BAA8B,EAC9B,4BAA4B,EAC5B,oBAAoB,EACpB,8BAA8B,EAC9B,kBAAkB,EAClB,0BAA0B,EAC1B,0BAA0B,EAC1B,qBAAqB,GAEtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAClB,iBAAiB,EACjB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AAO,CACf,CAAC;gBACJ,2BAA2B,CAAC,0BAA0B,CACpD,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,gBAAgB,EAClD,MAAM,CACP,CAAC;YACJ,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,wGAAwG;YACxG,6HAA6H;YAC7H,qEAAqE;YACrE,IAAI,IAAI,CAAC,cAAc,KAAK,OAAO,EAAE,CAAC;gBACpC,iBAAiB,CAAC,KAAK,CAAC,CAAC;gBACzB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CAChD,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,EACtD,KAAK,CACN,CAAC;gBACF,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAC/D,KAAK,CACN,CAAC;YACJ,CAAC;QACH,CAAC;gBAAS,CAAC;YACT,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC7B,CAAC;IACH,CAAC;IAED,CAAC,aAAa;QACZ,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;QAC7B,IAAI,CAAC,iBAAiB,CAAC,SAAS,CAAC,CAAC;QAClC,IAAI,CAAC;YACH,MAAM,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,oBAAoB,CACxE,IAAI,CACL,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,8CAA8C;YAC9C,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,UAAU,CAAC,KAAK,CAChD,QAAQ,CAAC,MAAM,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,EACtD,KAAK,CACN,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"HostedServiceFunctionActivatorEditorState.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFun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AAG,SAAS,CAc5D;IAED,oBAAoB,CAAC,CAAC,EAAE,wBAAwB,GAAG,IAAI;IA2BtD,QAAQ,IAAI,WAAW,CAAC,IAAI,CAAC;IAkB7B,eAAe,IAAI,WAAW,CAAC,IAAI,CAAC;IAkBpC,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,CAAC,IAAI,EAAE,CAAC;IAc/C,SAAS,CACP,UAAU,EAAE,aAAa,EACzB,WAAW,EAAE,WAAW,GACvB,yCAAyC;CAM7C"}
1
+ {"version":3,"file":"HostedServiceFunctionActivatorEditorState.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,aAAa,EAId,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,WAAW,EAChB,WAAW,EAIZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,EAAE,IAAI,EAAE,MAAM,2BAA2B,CAAC;AAOjD,oBAAY,0BAA0B;IACpC,oBAAoB,wBAAwB;IAC5C,kBAAkB,sBAAsB;CACzC;AACD,eAAO,MAAM,6BAA6B,IAAI,CAAC;AAC/C,eAAO,MAAM,wBAAwB,eAAe,CAAC;AACrD,eAAO,MAAM,sBAAsB,cAAc,CAAC;AAElD,eAAO,MAAM,iBAAiB;;;GAK7B,CAAC;AAEF,oBAAY,oBAAoB;IAC9B,UAAU,eAAe;IACzB,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;CAC5B;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,qBAAa,yCAA0C,SAAQ,kBAAkB;IAC/E,QAAQ,CAAC,aAAa,cAAwB;IAC9C,QAAQ,CAAC,WAAW,cAAwB;IAE5C,WAAW,EAAE,oBAAoB,CAAC;gBAEtB,WAAW,EAAE,WAAW,EAAE,OAAO,EAAE,aAAa;IAqB5D,cAAc,CAAC,GAAG,EAAE,oBAAoB,GAAG,IAAI;IAI/C,IAAI,SAAS,IAAI,aAAa,CAQ7B;IAED,mBAAmB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAItC,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIhC,UAAU,CAAC,GAAG,EAAE,OAAO,GAAG,IAAI;IAI9B,IAAI,iBAAiB,IAAI,wBAAwB,GAAG,SAAS,CAc5D;IAED,oBAAoB,CAAC,CAAC,EAAE,wBAAwB,GAAG,IAAI;IA2BtD,QAAQ,IAAI,WAAW,CAAC,IAAI,CAAC;IAkB7B,eAAe,IAAI,WAAW,CAAC,IAAI,CAAC;IA6CpC,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,CAAC,IAAI,EAAE,CAAC;IAc/C,SAAS,CACP,UAAU,EAAE,aAAa,EACzB,WAAW,EAAE,WAAW,GACvB,yCAAyC;CAM7C"}
@@ -19,6 +19,7 @@ import { makeObservable, action, flow, computed, observable } from 'mobx';
19
19
  import { ElementEditorState } from '../ElementEditorState.js';
20
20
  import { activator_setOwnership } from '../../../../graph-modifier/DSL_FunctionActivator_GraphModifierHelper.js';
21
21
  import { User } from '@finos/legend-server-sdlc';
22
+ import { ActionAlertActionType, ActionAlertType, } from '@finos/legend-application';
22
23
  //Ownership
23
24
  export var HostedServiceOwnershipType;
24
25
  (function (HostedServiceOwnershipType) {
@@ -127,8 +128,33 @@ export class HostedServiceFunctionActivatorEditorState extends ElementEditorStat
127
128
  *deployToSandbox() {
128
129
  this.deployState.inProgress();
129
130
  try {
130
- yield this.editorStore.graphManagerState.graphManager.publishFunctionActivatorToSandbox(this.activator, new InMemoryGraphData(this.editorStore.graphManagerState.graph));
131
- this.editorStore.applicationStore.notificationService.notifySuccess('Hosted Service Function Activator has been deployed successfully');
131
+ yield this.editorStore.graphManagerState.graphManager
132
+ .publishFunctionActivatorToSandbox(this.activator, new InMemoryGraphData(this.editorStore.graphManagerState.graph))
133
+ .then((response) => this.editorStore.applicationStore.alertService.setActionAlertInfo({
134
+ message: `Hosted Service Function Activator has been deployed successfully`,
135
+ prompt: response.deploymentLocation
136
+ ? 'You can now launch and monitor the operation of your function activator'
137
+ : undefined,
138
+ type: ActionAlertType.STANDARD,
139
+ actions: [
140
+ ...(response.deploymentLocation !== undefined
141
+ ? [
142
+ {
143
+ label: 'Launch Service',
144
+ type: ActionAlertActionType.PROCEED,
145
+ handler: () => {
146
+ this.editorStore.applicationStore.navigationService.navigator.visitAddress(response.deploymentLocation ?? '');
147
+ },
148
+ default: true,
149
+ },
150
+ ]
151
+ : []),
152
+ {
153
+ label: 'Close',
154
+ type: ActionAlertActionType.PROCEED_WITH_CAUTION,
155
+ },
156
+ ],
157
+ }));
132
158
  }
133
159
  catch (error) {
134
160
  assertErrorThrown(error);
@@ -1 +1 @@
1
- {"version":3,"file":"HostedServiceFunctionActivatorEditorState.js","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,qBAAqB,EACrB,eAAe,EACf,QAAQ,GACT,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,WAAW,EACX,iBAAiB,EACjB,aAAa,GAEd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,sBAAsB,EAAE,MAAM,yEAAyE,CAAC;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,CAAC,WAAW,CAAC,iBAAiB,CAAC,YAAY,CAAC,iCAAiC,CACrF,IAAI,CAAC,SAAS,EACd,IAAI,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAChE,CAAC;YACF,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,aAAa,CACjE,kEAAkE,CACnE,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QAC3E,CAAC;gBAAS,CAAC;YACT,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;IAED,CAAC,WAAW,CAAC,IAAY;QACvB,IAAI,CAAC;YACH,OACE,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,QAAQ,CAC/C,IAAI,CACL,CACF,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YACzE,OAAO,EAAE,CAAC;QACZ,CAAC;IACH,CAAC;IAED,SAAS,CACP,UAAyB,EACzB,WAAwB;QAExB,OAAO,IAAI,yCAAyC,CAClD,WAAW,EACX,UAAU,CACX,CAAC;IACJ,CAAC;CACF"}
1
+ {"version":3,"file":"HostedServiceFunctionActivatorEditorState.js","sourceRoot":"","sources":["../../../../../../src/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.ts"],"names":[],"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CAClC,CAAC;gCACJ,CAAC;gCACD,OAAO,EAAE,IAAI;6BACd;yBACF;wBACH,CAAC,CAAC,EAAE,CAAC;oBACP;wBACE,KAAK,EAAE,OAAO;wBACd,IAAI,EAAE,qBAAqB,CAAC,oBAAoB;qBACjD;iBACF;aACF,CAAC,CACH,CAAC;QACN,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QAC3E,CAAC;gBAAS,CAAC;YACT,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC;QAC9B,CAAC;IACH,CAAC;IAED,CAAC,WAAW,CAAC,IAAY;QACvB,IAAI,CAAC;YACH,OACE,CAAC,MAAM,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,QAAQ,CAC/C,IAAI,CACL,CACF,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;QAC/C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,iBAAiB,CAAC,KAAK,CAAC,CAAC;YACzB,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;YACzE,OAAO,EAAE,CAAC;QACZ,CAAC;IACH,CAAC;IAED,SAAS,CACP,UAAyB,EACzB,WAAwB;QAExB,OAAO,IAAI,yCAAyC,CAClD,WAAW,EACX,UAAU,CACX,CAAC;IACJ,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finos/legend-application-studio",
3
- "version": "28.18.44",
3
+ "version": "28.18.46",
4
4
  "description": "Legend Studio application core",
5
5
  "keywords": [
6
6
  "legend",
@@ -45,23 +45,23 @@
45
45
  "test:watch": "jest --watch"
46
46
  },
47
47
  "dependencies": {
48
- "@finos/legend-application": "16.0.3",
49
- "@finos/legend-art": "7.1.62",
50
- "@finos/legend-code-editor": "2.0.5",
51
- "@finos/legend-graph": "31.10.39",
52
- "@finos/legend-lego": "2.0.7",
53
- "@finos/legend-query-builder": "4.15.4",
54
- "@finos/legend-server-depot": "6.0.63",
55
- "@finos/legend-server-sdlc": "5.3.33",
56
- "@finos/legend-server-showcase": "0.2.30",
57
- "@finos/legend-shared": "10.0.57",
58
- "@finos/legend-storage": "3.0.107",
48
+ "@finos/legend-application": "16.0.5",
49
+ "@finos/legend-art": "7.1.64",
50
+ "@finos/legend-code-editor": "2.0.7",
51
+ "@finos/legend-graph": "31.10.41",
52
+ "@finos/legend-lego": "2.0.9",
53
+ "@finos/legend-query-builder": "4.15.6",
54
+ "@finos/legend-server-depot": "6.0.64",
55
+ "@finos/legend-server-sdlc": "5.3.34",
56
+ "@finos/legend-server-showcase": "0.2.31",
57
+ "@finos/legend-shared": "10.0.58",
58
+ "@finos/legend-storage": "3.0.108",
59
59
  "@testing-library/dom": "10.4.0",
60
60
  "@testing-library/react": "16.0.1",
61
61
  "@types/react": "18.3.11",
62
- "@types/react-dom": "18.3.0",
62
+ "@types/react-dom": "18.3.1",
63
63
  "fast-xml-parser": "4.5.0",
64
- "mobx": "6.13.3",
64
+ "mobx": "6.13.5",
65
65
  "mobx-react-lite": "4.0.7",
66
66
  "mobx-utils": "6.1.0",
67
67
  "monaco-editor": "0.52.0",
@@ -69,18 +69,18 @@
69
69
  "react": "18.3.1",
70
70
  "react-dnd": "16.0.1",
71
71
  "react-dom": "18.3.1",
72
- "serializr": "3.0.2",
73
- "yaml": "2.5.1"
72
+ "serializr": "3.0.3",
73
+ "yaml": "2.6.0"
74
74
  },
75
75
  "devDependencies": {
76
- "@finos/legend-dev-utils": "2.1.25",
76
+ "@finos/legend-dev-utils": "2.1.26",
77
77
  "@jest/globals": "29.7.0",
78
78
  "cross-env": "7.0.3",
79
79
  "eslint": "9.12.0",
80
80
  "jest": "29.7.0",
81
81
  "npm-run-all": "4.1.5",
82
82
  "rimraf": "6.0.1",
83
- "sass": "1.79.4",
83
+ "sass": "1.80.2",
84
84
  "typescript": "5.6.3"
85
85
  },
86
86
  "peerDependencies": {
@@ -65,6 +65,7 @@ import {
65
65
  BaseCard,
66
66
  Snowflake_BrandIcon,
67
67
  InputWithInlineValidation,
68
+ LongArrowRightIcon,
68
69
  } from '@finos/legend-art';
69
70
  import { LEGEND_STUDIO_TEST_ID } from '../../../../__lib__/LegendStudioTesting.js';
70
71
  import {
@@ -102,6 +103,7 @@ import {
102
103
  RawLambda,
103
104
  DatabaseType,
104
105
  RelationalDatabaseConnection,
106
+ type FunctionActivator,
105
107
  } from '@finos/legend-graph';
106
108
  import {
107
109
  type ApplicationStore,
@@ -1291,6 +1293,9 @@ export const FunctionEditor = observer(() => {
1291
1293
  }
1292
1294
  });
1293
1295
 
1296
+ const visitActivator = (activator: FunctionActivator): void =>
1297
+ functionEditorState.editorStore.graphEditorMode.openElement(activator);
1298
+
1294
1299
  const openFunctionActivateModal = (): void => {
1295
1300
  functionEditorState.activatorPromoteState.showFunctionActivateModal();
1296
1301
  };
@@ -1431,7 +1436,9 @@ export const FunctionEditor = observer(() => {
1431
1436
  <button
1432
1437
  className="panel__header__action"
1433
1438
  disabled={
1434
- isReadOnly || selectedTab === FUNCTION_EDITOR_TAB.DEFINITION
1439
+ isReadOnly ||
1440
+ selectedTab === FUNCTION_EDITOR_TAB.DEFINITION ||
1441
+ selectedTab === FUNCTION_EDITOR_TAB.LAMBDAS
1435
1442
  }
1436
1443
  onClick={add}
1437
1444
  tabIndex={-1}
@@ -1497,6 +1504,36 @@ export const FunctionEditor = observer(() => {
1497
1504
  }
1498
1505
  />
1499
1506
  )}
1507
+ {selectedTab === FUNCTION_EDITOR_TAB.LAMBDAS && (
1508
+ <div>
1509
+ <div className="hosted-service-function-activator-editor__configuration__items">
1510
+ {functionEditorState.activators.map((activator) => (
1511
+ <div
1512
+ key={activator.name}
1513
+ className="hosted-service-function-activator-editor__configuration__item"
1514
+ >
1515
+ <div className="btn--sm btn--icon--dark hosted-service-function-activator-editor__configuration__item__label">
1516
+ {getElementIcon(activator, editorStore)}
1517
+ </div>
1518
+ <input
1519
+ className="panel__content__form__section__input"
1520
+ spellCheck={false}
1521
+ disabled={true}
1522
+ value={activator.path}
1523
+ />
1524
+ <button
1525
+ className="btn--dark btn--sm hosted-service-function-activator-editor__configuration__item__btn"
1526
+ onClick={() => visitActivator(activator)}
1527
+ tabIndex={-1}
1528
+ title="See Lambda"
1529
+ >
1530
+ <LongArrowRightIcon />
1531
+ </button>
1532
+ </div>
1533
+ ))}
1534
+ </div>
1535
+ </div>
1536
+ )}
1500
1537
  <ExecutionPlanViewer
1501
1538
  executionPlanState={functionEditorState.executionPlanState}
1502
1539
  />
@@ -54,6 +54,7 @@ import {
54
54
  observe_ValueSpecification,
55
55
  generateFunctionPrettyName,
56
56
  RawVariableExpression,
57
+ type FunctionActivator,
57
58
  } from '@finos/legend-graph';
58
59
  import {
59
60
  ExecutionPlanState,
@@ -74,6 +75,7 @@ export enum FUNCTION_EDITOR_TAB {
74
75
  TAGGED_VALUES = 'TAGGED_VALUES',
75
76
  STEREOTYPES = 'STEREOTYPES',
76
77
  TEST_SUITES = 'TEST_SUITES',
78
+ LAMBDAS = 'LAMBDAS',
77
79
  }
78
80
 
79
81
  export class FunctionDefinitionEditorState extends LambdaEditorState {
@@ -314,6 +316,15 @@ export class FunctionEditorState extends ElementEditorState {
314
316
  );
315
317
  }
316
318
 
319
+ get activators(): FunctionActivator[] {
320
+ const allActivators =
321
+ this.editorStore.graphManagerState.graph.functionActivators;
322
+ return allActivators.filter(
323
+ (activator: FunctionActivator) =>
324
+ activator.function.value === this.element,
325
+ );
326
+ }
327
+
317
328
  setSelectedTab(tab: FUNCTION_EDITOR_TAB): void {
318
329
  this.selectedTab = tab;
319
330
  }
@@ -33,6 +33,10 @@ import type { EditorStore } from '../../../EditorStore.js';
33
33
  import { ElementEditorState } from '../ElementEditorState.js';
34
34
  import { activator_setOwnership } from '../../../../graph-modifier/DSL_FunctionActivator_GraphModifierHelper.js';
35
35
  import { User } from '@finos/legend-server-sdlc';
36
+ import {
37
+ ActionAlertActionType,
38
+ ActionAlertType,
39
+ } from '@finos/legend-application';
36
40
 
37
41
  //Ownership
38
42
  export enum HostedServiceOwnershipType {
@@ -178,13 +182,40 @@ export class HostedServiceFunctionActivatorEditorState extends ElementEditorStat
178
182
  *deployToSandbox(): GeneratorFn<void> {
179
183
  this.deployState.inProgress();
180
184
  try {
181
- yield this.editorStore.graphManagerState.graphManager.publishFunctionActivatorToSandbox(
182
- this.activator,
183
- new InMemoryGraphData(this.editorStore.graphManagerState.graph),
184
- );
185
- this.editorStore.applicationStore.notificationService.notifySuccess(
186
- 'Hosted Service Function Activator has been deployed successfully',
187
- );
185
+ yield this.editorStore.graphManagerState.graphManager
186
+ .publishFunctionActivatorToSandbox(
187
+ this.activator,
188
+ new InMemoryGraphData(this.editorStore.graphManagerState.graph),
189
+ )
190
+ .then((response) =>
191
+ this.editorStore.applicationStore.alertService.setActionAlertInfo({
192
+ message: `Hosted Service Function Activator has been deployed successfully`,
193
+ prompt: response.deploymentLocation
194
+ ? 'You can now launch and monitor the operation of your function activator'
195
+ : undefined,
196
+ type: ActionAlertType.STANDARD,
197
+ actions: [
198
+ ...(response.deploymentLocation !== undefined
199
+ ? [
200
+ {
201
+ label: 'Launch Service',
202
+ type: ActionAlertActionType.PROCEED,
203
+ handler: (): void => {
204
+ this.editorStore.applicationStore.navigationService.navigator.visitAddress(
205
+ response.deploymentLocation ?? '',
206
+ );
207
+ },
208
+ default: true,
209
+ },
210
+ ]
211
+ : []),
212
+ {
213
+ label: 'Close',
214
+ type: ActionAlertActionType.PROCEED_WITH_CAUTION,
215
+ },
216
+ ],
217
+ }),
218
+ );
188
219
  } catch (error) {
189
220
  assertErrorThrown(error);
190
221
  this.editorStore.applicationStore.notificationService.notifyError(error);