@finos/legend-application-studio 28.18.43 → 28.18.45

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. package/lib/components/editor/editor-group/function-activator/ActivatorFormComponents.d.ts +23 -0
  2. package/lib/components/editor/editor-group/function-activator/ActivatorFormComponents.d.ts.map +1 -0
  3. package/lib/components/editor/editor-group/function-activator/ActivatorFormComponents.js +34 -0
  4. package/lib/components/editor/editor-group/function-activator/ActivatorFormComponents.js.map +1 -0
  5. package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts.map +1 -1
  6. package/lib/components/editor/editor-group/function-activator/FunctionEditor.js +6 -3
  7. package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
  8. package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.d.ts.map +1 -1
  9. package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js +8 -102
  10. package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js.map +1 -1
  11. package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.d.ts.map +1 -1
  12. package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js +4 -13
  13. package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js.map +1 -1
  14. package/lib/index.css +1 -1
  15. package/lib/package.json +1 -1
  16. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.d.ts +4 -2
  17. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.d.ts.map +1 -1
  18. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js +5 -0
  19. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js.map +1 -1
  20. package/lib/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.d.ts +1 -2
  21. package/lib/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.d.ts.map +1 -1
  22. package/lib/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.js +29 -7
  23. package/lib/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.js.map +1 -1
  24. package/package.json +8 -8
  25. package/src/components/editor/editor-group/function-activator/ActivatorFormComponents.tsx +97 -0
  26. package/src/components/editor/editor-group/function-activator/FunctionEditor.tsx +38 -1
  27. package/src/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.tsx +5 -349
  28. package/src/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.tsx +7 -42
  29. package/src/stores/editor/editor-state/element-editor-state/FunctionEditorState.ts +11 -0
  30. package/src/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.ts +39 -12
  31. package/tsconfig.json +1 -0
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Copyright (c) 2020-present, Goldman Sachs
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { type FunctionActivator } from '@finos/legend-graph';
17
+ export declare const ActivatorOwnershipForm: ((props: {
18
+ activator: FunctionActivator;
19
+ isReadOnly: boolean;
20
+ }) => import("react/jsx-runtime").JSX.Element) & {
21
+ displayName: string;
22
+ };
23
+ //# sourceMappingURL=ActivatorFormComponents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActivatorFormComponents.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/ActivatorFormComponents.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,qBAAqB,CAAC;AAQ7B,eAAO,MAAM,sBAAsB,WACzB;IAAE,SAAS,EAAE,iBAAiB,CAAC;IAAC,UAAU,EAAE,OAAO,CAAA;CAAE;;CAkE9D,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /**
3
+ * Copyright (c) 2020-present, Goldman Sachs
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ import { ExclamationCircleIcon } from '@finos/legend-art';
18
+ import { DeploymentOwner, UserList, } from '@finos/legend-graph';
19
+ import { observer } from 'mobx-react-lite';
20
+ import { activator_setDeploymentOwner, activator_setOwnership, } from '../../../../stores/graph-modifier/DSL_FunctionActivator_GraphModifierHelper.js';
21
+ import { useState } from 'react';
22
+ export const ActivatorOwnershipForm = observer((props) => {
23
+ const { activator, isReadOnly } = props;
24
+ const ownership = activator.ownership;
25
+ const [ownerInputValue, setOwner] = useState(ownership instanceof DeploymentOwner ? ownership.id : '');
26
+ const updateDeploymentIdentifier = (event) => {
27
+ if (!isReadOnly && ownership instanceof DeploymentOwner) {
28
+ setOwner(event.target.value);
29
+ activator_setDeploymentOwner(ownership, event.target.value);
30
+ }
31
+ };
32
+ return (_jsxs("div", { children: [_jsx("div", { className: "panel__content__form__section", children: _jsx("div", { className: "panel__content__form__section__header__label", children: "Ownership" }) }), ownership instanceof DeploymentOwner && (_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__prompt", children: "Provide a deployment identifier that will own the Lambda." }), _jsx("input", { className: "panel__content__form__section__input", spellCheck: false, disabled: isReadOnly, value: ownerInputValue, onChange: updateDeploymentIdentifier })] })), ownership instanceof UserList && (_jsxs("div", { className: "project-configuration-editor__project__structure__version", children: [_jsxs("div", { className: "project-configuration-editor__project__structure__version__label", children: [_jsx("div", { className: "project-configuration-editor__project__structure__version__label__status", children: _jsx(ExclamationCircleIcon, { className: "project-configuration-editor__project__structure__version__label__status--outdated" }) }), _jsx("div", { className: "project-configuration-editor__project__structure__version__label__text", children: `User List Ownership has been deprecated` })] }), _jsx("button", { className: "project-configuration-editor__project__structure__version__update-btn", disabled: isReadOnly, onClick: () => activator_setOwnership(activator, new DeploymentOwner('', activator)), tabIndex: -1, title: `Click to Change to Deployment`, children: "Change to Deployment" })] }))] }));
33
+ });
34
+ //# sourceMappingURL=ActivatorFormComponents.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActivatorFormComponents.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/ActivatorFormComponents.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EACL,eAAe,EACf,QAAQ,GAET,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,4BAA4B,EAC5B,sBAAsB,GACvB,MAAM,gFAAgF,CAAC;AACxF,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,CAAC,MAAM,sBAAsB,GAAG,QAAQ,CAC5C,CAAC,KAA4D,EAAE,EAAE;IAC/D,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IACxC,MAAM,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;IAEtC,MAAM,CAAC,eAAe,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAC1C,SAAS,YAAY,eAAe,C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 @@
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,OAAO,EACL,2BAA2B,EAC3B,iBAAiB,GAClB,MAAM,oCAAoC,CAAC;AAC5C,O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AAC,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":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,EAAE,QAAQ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C,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 +1 @@
1
- {"version":3,"file":"HostedServiceFunctionActivatorEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkFH,eAAO,MAAM,oCAAoC;;CAyuB/C,CAAC"}
1
+ {"version":3,"file":"HostedServiceFunctionActivatorEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmEH,eAAO,MAAM,oCAAoC;;CAga/C,CAAC"}
@@ -14,17 +14,17 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
14
14
  * See the License for the specific language governing permissions and
15
15
  * limitations under the License.
16
16
  */
17
- import { Panel, PanelHeader, PanelContent, PanelForm, PURE_FunctionIcon, LongArrowRightIcon, PanelLoadingIndicator, PanelFormBooleanField, PanelFormValidatedTextField, TimesIcon, CustomSelectorInput, PencilIcon, ErrorIcon, clsx, PlusIcon, } from '@finos/legend-art';
18
- import { DeploymentOwner, Profile, StereotypeExplicitReference, UserList, generateFunctionPrettyName, stub_Profile, stub_Stereotype, stub_Tag, stub_TaggedValue, validate_ServicePattern, } from '@finos/legend-graph';
17
+ import { Panel, PanelHeader, PanelContent, PanelForm, PURE_FunctionIcon, LongArrowRightIcon, PanelLoadingIndicator, PanelFormBooleanField, PanelFormValidatedTextField, TimesIcon, clsx, PlusIcon, } from '@finos/legend-art';
18
+ import { Profile, StereotypeExplicitReference, generateFunctionPrettyName, stub_Profile, stub_Stereotype, stub_Tag, stub_TaggedValue, validate_ServicePattern, } from '@finos/legend-graph';
19
19
  import { observer } from 'mobx-react-lite';
20
20
  import { useApplicationStore } from '@finos/legend-application';
21
21
  import { useEditorStore } from '../../EditorStoreProvider.js';
22
- import { HostedServiceFunctionActivatorEditorState, OWNERSHIP_OPTIONS, MINIMUM_HOSTED_SERVICE_OWNERS, ACTIVATOR_EDITOR_TAB, } from '../../../../stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.js';
23
- import { hostedService_setAutoActivateUpdates, hostedService_setDocumentation, hostedService_setPattern, hostedService_removePatternParameter, hostedService_setStoreModel, hostedService_setGenerateLineage, activator_setDeploymentOwner, activator_updateUserOwnership, activator_deleteValueFromUserOwnership, activator_addUserOwner, } from '../../../../stores/graph-modifier/DSL_FunctionActivator_GraphModifierHelper.js';
24
- import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
25
- import { LEGEND_STUDIO_TEST_ID } from '../../../../__lib__/LegendStudioTesting.js';
26
- import { debounce, prettyCONSTName } from '@finos/legend-shared';
22
+ import { HostedServiceFunctionActivatorEditorState, ACTIVATOR_EDITOR_TAB, } from '../../../../stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.js';
23
+ import { hostedService_setAutoActivateUpdates, hostedService_setDocumentation, hostedService_setPattern, hostedService_removePatternParameter, hostedService_setStoreModel, } from '../../../../stores/graph-modifier/DSL_FunctionActivator_GraphModifierHelper.js';
24
+ import { useCallback, useEffect, useRef, useState } from 'react';
25
+ import { prettyCONSTName } from '@finos/legend-shared';
27
26
  import { flowResult } from 'mobx';
27
+ import { ActivatorOwnershipForm } from './ActivatorFormComponents.js';
28
28
  import { annotatedElement_addStereotype, annotatedElement_addTaggedValue, annotatedElement_deleteStereotype, annotatedElement_deleteTaggedValue, } from '../../../../stores/graph-modifier/DomainGraphModifierHelper.js';
29
29
  import { CORE_DND_TYPE, } from '../../../../stores/editor/utils/DnDUtils.js';
30
30
  import { useDrop } from 'react-dnd';
@@ -87,7 +87,6 @@ export const HostedServiceFunctionActivatorEditor = observer(() => {
87
87
  const _deleteTaggedValue = (val) => () => annotatedElement_deleteTaggedValue(activatorElement, val);
88
88
  const changeTab = (tab) => () => editorState.setSelectedTab(tab);
89
89
  const activator = editorState.activator;
90
- const ownership = activator.ownership;
91
90
  const visitFunction = () => editorState.editorStore.graphEditorMode.openElement(activator.function.value);
92
91
  const validate = () => {
93
92
  flowResult(editorState.validate()).catch(applicationStore.alertUnhandledError);
@@ -103,9 +102,6 @@ export const HostedServiceFunctionActivatorEditor = observer(() => {
103
102
  const toggleUseStoreModel = () => {
104
103
  hostedService_setStoreModel(activator, !activator.storeModel);
105
104
  };
106
- const toggleGenerateLineage = () => {
107
- hostedService_setGenerateLineage(activator, !activator.generateLineage);
108
- };
109
105
  const toggleAutoActivateUpdates = () => {
110
106
  hostedService_setAutoActivateUpdates(activator, !activator.autoActivateUpdates);
111
107
  };
@@ -115,88 +111,6 @@ export const HostedServiceFunctionActivatorEditor = observer(() => {
115
111
  ? patternValidationResult.messages[0]
116
112
  : undefined;
117
113
  };
118
- //Ownership
119
- const [showOwnerEditInput, setShowOwnerEditInput] = useState(false);
120
- const [ownerInputValue, setOwnerInputValue] = useState('');
121
- const [searchText, setSearchText] = useState('');
122
- const [userOptions, setUserOptions] = useState([]);
123
- const [isLoadingUsers, setIsLoadingUsers] = useState(false);
124
- const [ownerInputs, setOwnerInputs] = useState([]);
125
- const showAddOwnerInput = () => setShowOwnerEditInput(true);
126
- const onOwnershipChange = (val) => {
127
- if (val) {
128
- editorState.setSelectedOwnership(val);
129
- }
130
- };
131
- const updateDeploymentIdentifier = (event) => {
132
- if (!isReadOnly && ownership instanceof DeploymentOwner) {
133
- activator_setDeploymentOwner(ownership, event.target.value);
134
- }
135
- };
136
- const changeUserOwnerInputValue = (event) => setOwnerInputValue(event.target.value);
137
- const updateUser = (idx) => () => {
138
- if (ownerInputValue &&
139
- ownership instanceof UserList &&
140
- !ownership.users.includes(ownerInputValue)) {
141
- activator_updateUserOwnership(ownership, ownerInputValue, idx);
142
- }
143
- };
144
- const showEditOwnerInput = (value, idx) => () => {
145
- setOwnerInputValue(value);
146
- setShowOwnerEditInput(idx);
147
- };
148
- const hideAddOrEditOwnerInput = () => {
149
- setShowOwnerEditInput(false);
150
- setOwnerInputValue('');
151
- };
152
- const deleteUser = (idx) => () => {
153
- if (!isReadOnly && ownership instanceof UserList) {
154
- activator_deleteValueFromUserOwnership(ownership, idx);
155
- if (typeof showOwnerEditInput === 'number' &&
156
- showOwnerEditInput > idx) {
157
- setShowOwnerEditInput(showOwnerEditInput - 1);
158
- }
159
- }
160
- };
161
- const debouncedSearchUsers = useMemo(() => debounce((input) => {
162
- setIsLoadingUsers(true);
163
- flowResult(editorState.searchUsers(input))
164
- .then((users) => setUserOptions(users.map((u) => ({
165
- value: u.userId,
166
- label: u.userId,
167
- }))))
168
- .then(() => setIsLoadingUsers(false))
169
- .catch(editorState.editorStore.applicationStore.alertUnhandledError);
170
- }, 500), [editorState]);
171
- const onSearchTextChange = (value) => {
172
- if (value !== searchText) {
173
- setSearchText(value);
174
- debouncedSearchUsers.cancel();
175
- if (value.length >= 3) {
176
- debouncedSearchUsers(value);
177
- }
178
- else if (value.length === 0) {
179
- setUserOptions([]);
180
- setIsLoadingUsers(false);
181
- }
182
- }
183
- };
184
- const onUserOptionChange = (options) => {
185
- setOwnerInputs(options.map((op) => op.label));
186
- setUserOptions([]);
187
- debouncedSearchUsers.cancel();
188
- setIsLoadingUsers(false);
189
- };
190
- const addUser = () => {
191
- ownerInputs.forEach((value) => {
192
- if (value &&
193
- ownership instanceof UserList &&
194
- !ownership.users.includes(value)) {
195
- activator_addUserOwner(ownership, value);
196
- }
197
- });
198
- hideAddOrEditOwnerInput();
199
- };
200
114
  //Pattern
201
115
  const patternRef = useRef(null);
202
116
  const [pattern, setPattern] = useState(activator.pattern);
@@ -221,15 +135,7 @@ export const HostedServiceFunctionActivatorEditor = observer(() => {
221
135
  activator.patternParameters.map((parameter) => (_jsxs("div", { className: "service-editor__parameter", children: [_jsx("div", { className: "service-editor__parameter__text", children: parameter }), _jsx("div", { className: "service-editor__parameter__actions", children: _jsx("button", { className: "service-editor__parameter__action", disabled: isReadOnly, onClick: removePatternParameter(parameter), title: "Remove parameter", tabIndex: -1, children: _jsx(TimesIcon, {}) }) })] }, parameter)))] })] }) }), _jsxs(PanelForm, { children: [_jsx("div", { className: "panel__content__form__section", children: _jsx("div", { className: "panel__content__form__section__header__label", children: "Function" }) }), _jsx("div", { className: "hosted-service-function-activator-editor__configuration__items", children: _jsxs("div", { className: "hosted-service-function-activator-editor__configuration__item", children: [_jsx("div", { className: "btn--sm hosted-service-function-activator-editor__configuration__item__label", children: _jsx(PURE_FunctionIcon, {}) }), _jsx("input", { className: "panel__content__form__section__input", spellCheck: false, disabled: true, value: generateFunctionPrettyName(activator.function.value, {
222
136
  fullPath: true,
223
137
  spacing: false,
224
- }) }), _jsx("button", { className: "btn--dark btn--sm hosted-service-function-activator-editor__configuration__item__btn", onClick: visitFunction, tabIndex: -1, title: "See Function", children: _jsx(LongArrowRightIcon, {}) })] }) })] }), _jsx(PanelForm, { children: _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Documentation" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: `Provide a brief description of the service's functionalities and usage` }), _jsx("textarea", { className: "panel__content__form__section__textarea service-editor__documentation__input", spellCheck: false, disabled: isReadOnly, value: activator.documentation, onChange: changeDocumentation })] }) }), _jsx(PanelForm, { children: _jsx(PanelFormBooleanField, { isReadOnly: isReadOnly, value: activator.autoActivateUpdates, name: "Auto Activate Updates", prompt: "Specifies if the new generation should be automatically activated;\n only valid when latest revision is selected upon service\n registration", update: toggleAutoActivateUpdates }) }), _jsx(PanelForm, { children: _jsx(PanelFormBooleanField, { isReadOnly: isReadOnly, value: activator.storeModel, name: "Store Model", prompt: "Use Store Model (slower)", update: toggleUseStoreModel }) }), _jsx(PanelForm, { children: _jsx(PanelFormBooleanField, { isReadOnly: isReadOnly, value: activator.generateLineage, name: "Generate Lineage", prompt: "Generate Lineage (slower)", update: toggleGenerateLineage }) }), _jsx(PanelForm, { children: _jsxs("div", { children: [_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Ownership" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "The ownership model you want to use to control your service." }), _jsx(CustomSelectorInput, { options: OWNERSHIP_OPTIONS, onChange: onOwnershipChange, value: editorState.selectedOwnership, darkMode: !applicationStore.layoutService
225
- .TEMPORARY__isLightColorThemeEnabled })] }), ownership instanceof DeploymentOwner && (_jsx("div", { className: "panel__content__form__section", children: _jsxs("div", { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Deployment Identifier :" }), _jsx("input", { className: "panel__content__form__section__input", spellCheck: false, disabled: isReadOnly, value: ownership.id, onChange: updateDeploymentIdentifier })] }) })), ownership instanceof UserList && (_jsx("div", { className: "panel__content__form__section", children: _jsxs("div", { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Users :" }), _jsxs("div", { className: "panel__content__form__section__list", children: [_jsxs("div", { className: "panel__content__form__section__list__items", "data-testid": LEGEND_STUDIO_TEST_ID.PANEL_CONTENT_FORM_SECTION_LIST_ITEMS, children: [ownership.users.map((value, idx) => (_jsx("div", { className: showOwnerEditInput === idx
226
- ? 'panel__content__form__section__list__new-item'
227
- : 'panel__content__form__section__list__item', children: showOwnerEditInput === idx ? (_jsxs(_Fragment, { children: [_jsx("input", { className: "panel__content__form__section__input panel__content__form__section__list__new-item__input", spellCheck: false, disabled: isReadOnly, value: ownerInputValue, onChange: changeUserOwnerInputValue }), _jsxs("div", { className: "panel__content__form__section__list__new-item__actions", children: [_jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", disabled: isReadOnly ||
228
- ownership.users.includes(ownerInputValue), onClick: updateUser(idx), tabIndex: -1, children: "Save" }), _jsx("button", { className: "panel__content__form__section__list__new-item__cancel-btn btn btn--dark", disabled: isReadOnly, onClick: hideAddOrEditOwnerInput, tabIndex: -1, children: "Cancel" })] })] })) : (_jsxs(_Fragment, { children: [_jsx("div", { className: "panel__content__form__section__list__item__value", children: value }), _jsxs("div", { className: "panel__content__form__section__list__item__actions", children: [_jsx("button", { className: "panel__content__form__section__list__item__edit-btn", disabled: isReadOnly, onClick: showEditOwnerInput(value, idx), tabIndex: -1, children: _jsx(PencilIcon, {}) }), _jsx("button", { className: "panel__content__form__section__list__item__remove-btn", disabled: isReadOnly, onClick: deleteUser(idx), tabIndex: -1, children: _jsx(TimesIcon, {}) })] })] })) }, value))), showOwnerEditInput === true && (_jsxs("div", { className: "panel__content__form__section__list__new-item", children: [_jsx(CustomSelectorInput, { className: "service-editor__owner__selector", placeholder: "Enter an owner...", inputValue: searchText, options: userOptions, allowCreating: true, isLoading: isLoadingUsers, disabled: isReadOnly, darkMode: !applicationStore.layoutService
229
- .TEMPORARY__isLightColorThemeEnabled, onInputChange: onSearchTextChange, onChange: onUserOptionChange, isMulti: true }), _jsxs("div", { className: "panel__content__form__section__list__new-item__actions", children: [_jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark service-editor__owner__action", disabled: isReadOnly ||
230
- ownerInputs.some((i) => ownership.users.includes(i)), onClick: addUser, tabIndex: -1, children: "Save" }), _jsx("button", { className: "panel__content__form__section__list__new-item__cancel-btn btn btn--dark service-editor__owner__action", disabled: isReadOnly, onClick: hideAddOrEditOwnerInput, tabIndex: -1, children: "Cancel" })] })] }))] }), ownership.users.length <
231
- MINIMUM_HOSTED_SERVICE_OWNERS &&
232
- showOwnerEditInput !== true && (_jsxs("div", { className: "service-editor__owner__validation", title: `${MINIMUM_HOSTED_SERVICE_OWNERS} owners required`, children: [_jsx(ErrorIcon, {}), _jsxs("div", { className: "service-editor__owner__validation-label", children: ["Service requires at least", ' ', MINIMUM_HOSTED_SERVICE_OWNERS, " owners"] })] })), showOwnerEditInput !== true && (_jsx("div", { className: "panel__content__form__section__list__new-item__add", children: _jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", disabled: isReadOnly, onClick: showAddOwnerInput, tabIndex: -1, title: "Add owner", children: "Add Value" }) }))] })] }) }))] }) })] })), selectedTab === ACTIVATOR_EDITOR_TAB.TAGGED_VALUES && (_jsxs("div", { ref: dropTaggedValueRef, className: clsx('panel__content__lists', {
138
+ }) }), _jsx("button", { className: "btn--dark btn--sm hosted-service-function-activator-editor__configuration__item__btn", onClick: visitFunction, tabIndex: -1, title: "See Function", children: _jsx(LongArrowRightIcon, {}) })] }) })] }), _jsx(PanelForm, { children: _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Documentation" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: `Provide a brief description of the service's functionalities and usage` }), _jsx("textarea", { className: "panel__content__form__section__textarea service-editor__documentation__input", spellCheck: false, disabled: isReadOnly, value: activator.documentation, onChange: changeDocumentation })] }) }), _jsx(PanelForm, { children: _jsx(PanelFormBooleanField, { isReadOnly: isReadOnly, value: activator.autoActivateUpdates, name: "Auto Activate Updates", prompt: "Specifies if the new generation should be automatically activated;\n only valid when latest revision is selected upon service\n registration", update: toggleAutoActivateUpdates }) }), _jsx(PanelForm, { children: _jsx(PanelFormBooleanField, { isReadOnly: isReadOnly, value: activator.storeModel, name: "Store Model", prompt: "Use Store Model (slower)", update: toggleUseStoreModel }) }), _jsx(PanelForm, { children: _jsx(ActivatorOwnershipForm, { activator: activator, isReadOnly: isReadOnly }) })] })), selectedTab === ACTIVATOR_EDITOR_TAB.TAGGED_VALUES && (_jsxs("div", { ref: dropTaggedValueRef, className: clsx('panel__content__lists', {
233
139
  'panel__content__lists--dnd-over': isTaggedValueDragOver && !isReadOnly,
234
140
  }), children: [_jsx(TaggedValueDragPreviewLayer, {}), activatorElement.taggedValues.map((taggedValue) => (_jsx(TaggedValueEditor, { annotatedElement: activatorElement, taggedValue: taggedValue, deleteValue: _deleteTaggedValue(taggedValue), isReadOnly: isReadOnly, darkTheme: true }, taggedValue._UUID)))] })), selectedTab === ACTIVATOR_EDITOR_TAB.STEREOTYPES && (_jsxs("div", { ref: dropStereotypeRef, className: clsx('panel__content__lists', {
235
141
  'panel__content__lists--dnd-over': isStereotypeDragOver && !isReadOnly,
@@ -1 +1 @@
1
- {"version":3,"file":"HostedServiceFunctionActivatorEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,EACL,WAAW,EACX,YAAY,EACZ,SAAS,EACT,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,2BAA2B,EAC3B,SAAS,EACT,mBAAmB,EACnB,UAAU,EACV,SAAS,EACT,IAAI,EACJ,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,eAAe,EACf,OAAO,EACP,2BAA2B,EAG3B,QAAQ,EACR,0BAA0B,EAC1B,YAAY,EACZ,eAAe,EACf,QAAQ,EACR,gBAAgB,EAChB,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EACL,yCAAyC,EACzC,iBAAiB,EAEjB,6BAA6B,EAC7B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AE,WAAW,EACxB,WAAW,EAAE,kBAAkB,CAAC,WAAW,CAAC,EAC5C,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,IAAI,IAJV,WAAW,CAAC,KAAK,CAKtB,CACH,CAAC,IACE,CACP,EACA,WAAW,KAAK,oBAAoB,CAAC,WAAW,IAAI,CACnD,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,gBAAgB,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAChD,KAAC,kBAAkB,IAEjB,gBAAgB,EAAE,gBAAgB,EAClC,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,IACY,IACT,GACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"HostedServiceFunctionActivatorEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,EACL,WAAW,EACX,YAAY,EACZ,SAAS,EACT,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,2BAA2B,EAC3B,SAAS,EACT,IAAI,EACJ,QAAQ,GACT,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,OAAO,EACP,2BAA2B,EAG3B,0BAA0B,EAC1B,YAAY,EACZ,eAAe,EACf,QAAQ,EACR,gBAAgB,EAChB,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,Q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AAY,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,CAClD,KAAC,iBAAiB,IAChB,gBAAgB,EAAE,gBAAgB,EAElC,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,kBAAkB,CAAC,WAAW,CAAC,EAC5C,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,IAAI,IAJV,WAAW,CAAC,KAAK,CAKtB,CACH,CAAC,IACE,CACP,EACA,WAAW,KAAK,oBAAoB,CAAC,WAAW,IAAI,CACnD,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,gBAAgB,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE,CAAC,CAChD,KAAC,kBAAkB,IAEjB,gBAAgB,EAAE,gBAAgB,EAClC,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,IACY,IACT,GACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SnowflakeAppFunctionActivatorEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAqCH,eAAO,MAAM,mCAAmC;;CAyT9C,CAAC"}
1
+ {"version":3,"file":"SnowflakeAppFunctionActivatorEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAoCH,eAAO,MAAM,mCAAmC;;CAuR9C,CAAC"}
@@ -15,22 +15,21 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
15
  * limitations under the License.
16
16
  */
17
17
  import { Panel, PanelHeader, PanelContent, PanelForm, PanelFormTextField, PURE_FunctionIcon, LongArrowRightIcon, PanelLoadingIndicator, PURE_ConnectionIcon, CustomSelectorInput, createFilter, DataAccessIcon, } from '@finos/legend-art';
18
- import { generateFunctionPrettyName, RelationalDatabaseConnection, DatabaseType, DeploymentOwner, SnowflakePermissionScheme, } from '@finos/legend-graph';
18
+ import { generateFunctionPrettyName, RelationalDatabaseConnection, DatabaseType, SnowflakePermissionScheme, } from '@finos/legend-graph';
19
19
  import { observer } from 'mobx-react-lite';
20
20
  import { useApplicationStore } from '@finos/legend-application';
21
21
  import { useEditorStore } from '../../EditorStoreProvider.js';
22
22
  import { SnowflakeAppFunctionActivatorEdtiorState } from '../../../../stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.js';
23
23
  import { flowResult } from 'mobx';
24
- import { useRef, useState } from 'react';
24
+ import { useRef } from 'react';
25
25
  import { buildRelationalDatabaseConnectionOption, } from '../connection-editor/RelationalDatabaseConnectionEditor.js';
26
- import { activator_setDeploymentOwner } from '../../../../stores/graph-modifier/DSL_FunctionActivator_GraphModifierHelper.js';
26
+ import { ActivatorOwnershipForm } from './ActivatorFormComponents.js';
27
27
  export const SnowflakeAppFunctionActivatorEditor = observer(() => {
28
28
  const editorStore = useEditorStore();
29
29
  const applicationStore = useApplicationStore();
30
30
  const editorState = editorStore.tabManagerState.getCurrentEditorState(SnowflakeAppFunctionActivatorEdtiorState);
31
31
  const isReadOnly = editorState.isReadOnly;
32
32
  const activator = editorState.activator;
33
- const ownership = activator.ownership;
34
33
  const connectionSelectorRef = useRef(null);
35
34
  const connectionFilterOption = createFilter({
36
35
  ignoreCase: true,
@@ -88,14 +87,6 @@ export const SnowflakeAppFunctionActivatorEditor = observer(() => {
88
87
  const deploy = () => {
89
88
  flowResult(editorState.deployToSandbox()).catch(applicationStore.alertUnhandledError);
90
89
  };
91
- //Ownership
92
- const [ownerInputValue, setOwner] = useState(activator.ownership.id);
93
- const updateDeploymentIdentifier = (event) => {
94
- if (!isReadOnly) {
95
- setOwner(event.target.value);
96
- activator_setDeploymentOwner(ownership, event.target.value);
97
- }
98
- };
99
90
  return (_jsx("div", { className: "snowflake-app-function-activator-editor", children: _jsxs(Panel, { children: [_jsx(PanelHeader, { title: "Snowflake Application" }), _jsx(PanelLoadingIndicator, { isLoading: Boolean(editorState.validateState.isInProgress ||
100
91
  editorState.deployState.isInProgress) }), _jsxs(PanelContent, { children: [_jsxs("div", { className: "snowflake-app-function-activator-editor__header", children: [_jsx("div", { className: "snowflake-app-function-activator-editor__header__label", children: "Snowflake Activator Metadata" }), _jsxs("div", { className: "snowflake-app-function-activator-editor__header__actions", children: [_jsx("button", { className: "snowflake-app-function-activator-editor__header__actions__action snowflake-app-function-activator-editor__header__actions__action--primary", onClick: validate, disabled: editorState.validateState.isInProgress, tabIndex: -1, title: "Click Validate to verify your activator before deployment", children: "Validate" }), _jsx("button", { className: "snowflake-app-function-activator-editor__header__actions__action snowflake-app-function-activator-editor__header__actions__action--primary", onClick: deploy, disabled: editorState.deployState.isInProgress, title: "Deploy to sandbox", tabIndex: -1, children: "Deploy to Sandbox" })] })] }), _jsxs(PanelForm, { children: [_jsx("div", { className: "panel__content__form__section", children: _jsx("div", { className: "panel__content__form__section__header__label", children: "Function" }) }), _jsx("div", { className: "snowflake-app-function-activator-editor__configuration__items", children: _jsxs("div", { className: "snowflake-app-function-activator-editor__configuration__item", children: [_jsx("div", { className: "btn--sm snowflake-app-function-activator-editor__configuration__item__label", children: _jsx(PURE_FunctionIcon, {}) }), _jsx("input", { className: "panel__content__form__section__input", spellCheck: false, disabled: true, value: generateFunctionPrettyName(activator.function.value, {
101
92
  fullPath: true,
@@ -109,6 +100,6 @@ export const SnowflakeAppFunctionActivatorEditor = observer(() => {
109
100
  value: activator.permissionScheme,
110
101
  }
111
102
  : null, darkMode: !applicationStore.layoutService
112
- .TEMPORARY__isLightColorThemeEnabled, placeholder: "Choose a Permission Scheme" })] }) })] }), _jsx(PanelForm, { children: _jsx(PanelFormTextField, { value: activator.usageRole, isReadOnly: isReadOnly, name: "Usage Role", placeholder: "Specify the usage role (optional)", update: (value) => editorState.updateUsageRole(value) }) }), _jsx(PanelForm, { children: _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Description" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: `Provide a brief description of Snowflake App` }), _jsx("textarea", { className: "panel__content__form__section__textarea service-editor__documentation__input", spellCheck: false, disabled: isReadOnly, value: activator.description, onChange: changeDescription })] }) }), _jsx(PanelForm, { children: _jsxs("div", { children: [_jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Ownership" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "The ownership model you want to use to control your snowflake app." })] }), ownership instanceof DeploymentOwner && (_jsx("div", { className: "panel__content__form__section", children: _jsxs("div", { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Deployment Identifier :" }), _jsx("input", { className: "panel__content__form__section__input", spellCheck: false, disabled: isReadOnly, value: ownerInputValue, onChange: updateDeploymentIdentifier })] }) }))] }) })] })] }) }));
103
+ .TEMPORARY__isLightColorThemeEnabled, placeholder: "Choose a Permission Scheme" })] }) })] }), _jsx(PanelForm, { children: _jsx(PanelFormTextField, { value: activator.usageRole, isReadOnly: isReadOnly, name: "Usage Role", placeholder: "Specify the usage role (optional)", update: (value) => editorState.updateUsageRole(value) }) }), _jsx(PanelForm, { children: _jsxs("div", { className: "panel__content__form__section", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Description" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: `Provide a brief description of Snowflake App` }), _jsx("textarea", { className: "panel__content__form__section__textarea service-editor__documentation__input", spellCheck: false, disabled: isReadOnly, value: activator.description, onChange: changeDescription })] }) }), _jsx(PanelForm, { children: _jsx(ActivatorOwnershipForm, { activator: activator, isReadOnly: isReadOnly }) })] })] }) }));
113
104
  });
114
105
  //# sourceMappingURL=SnowflakeAppFunctionActivatorEditor.js.map