@finos/legend-application-studio 28.15.5 → 28.15.7
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/editor/editor-group/EditorGroup.d.ts.map +1 -1
- package/lib/components/editor/editor-group/EditorGroup.js +5 -0
- package/lib/components/editor/editor-group/EditorGroup.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js +6 -4
- package/lib/components/editor/editor-group/function-activator/FunctionEditor.js.map +1 -1
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.d.ts +19 -0
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.d.ts.map +1 -0
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js +175 -0
- package/lib/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.js.map +1 -0
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.d.ts.map +1 -1
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js +18 -5
- package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/editor/EditorGraphState.d.ts.map +1 -1
- package/lib/stores/editor/EditorGraphState.js +4 -1
- package/lib/stores/editor/EditorGraphState.js.map +1 -1
- package/lib/stores/editor/EditorTabManagerState.d.ts.map +1 -1
- package/lib/stores/editor/EditorTabManagerState.js +5 -1
- package/lib/stores/editor/EditorTabManagerState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorState.d.ts.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorState.js +17 -2
- package/lib/stores/editor/editor-state/element-editor-state/FunctionActivatorState.js.map +1 -1
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.d.ts +53 -0
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.d.ts.map +1 -0
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.js +150 -0
- package/lib/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.js.map +1 -0
- package/lib/stores/editor/utils/ModelClassifierUtils.d.ts +1 -0
- package/lib/stores/editor/utils/ModelClassifierUtils.d.ts.map +1 -1
- package/lib/stores/editor/utils/ModelClassifierUtils.js +1 -0
- package/lib/stores/editor/utils/ModelClassifierUtils.js.map +1 -1
- package/lib/stores/graph-modifier/DSL_FunctionActivator_GraphModifierHelper.d.ts +28 -0
- package/lib/stores/graph-modifier/DSL_FunctionActivator_GraphModifierHelper.d.ts.map +1 -0
- package/lib/stores/graph-modifier/DSL_FunctionActivator_GraphModifierHelper.js +55 -0
- package/lib/stores/graph-modifier/DSL_FunctionActivator_GraphModifierHelper.js.map +1 -0
- package/package.json +4 -4
- package/src/components/editor/editor-group/EditorGroup.tsx +10 -0
- package/src/components/editor/editor-group/function-activator/FunctionEditor.tsx +10 -6
- package/src/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.tsx +631 -0
- package/src/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.tsx +51 -3
- package/src/stores/editor/EditorGraphState.ts +3 -0
- package/src/stores/editor/EditorTabManagerState.ts +7 -0
- package/src/stores/editor/editor-state/element-editor-state/FunctionActivatorState.ts +17 -1
- package/src/stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.ts +212 -0
- package/src/stores/editor/utils/ModelClassifierUtils.ts +1 -0
- package/src/stores/graph-modifier/DSL_FunctionActivator_GraphModifierHelper.ts +96 -0
- package/tsconfig.json +3 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EditorGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/editor-group/EditorGroup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
1
|
+
{"version":3,"file":"EditorGroup.d.ts","sourceRoot":"","sources":["../../../../src/components/editor/editor-group/EditorGroup.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA6EH,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAkCjD,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAoF3C,CAAC;AAEF,eAAO,MAAM,WAAW;;CA0ZtB,CAAC"}
|
@@ -64,6 +64,8 @@ import { QueryConnectionEndToEndWorkflowEditorState } from '../../../stores/edit
|
|
64
64
|
import { SnowflakeAppFunctionActivatorEdtiorState } from '../../../stores/editor/editor-state/element-editor-state/function-activator/SnowflakeAppFunctionActivatorEditorState.js';
|
65
65
|
import { SnowflakeAppFunctionActivatorEditor } from './function-activator/SnowflakeAppFunctionActivatorEditor.js';
|
66
66
|
import { ShowcaseCard, RuleEngagementCard, DocumentationCard, } from '../../workspace-setup/WorkspaceSetup.js';
|
67
|
+
import { HostedServiceFunctionActivatorEditorState } from '../../../stores/editor/editor-state/element-editor-state/function-activator/HostedServiceFunctionActivatorEditorState.js';
|
68
|
+
import { HostedServiceFunctionActivatorEditor } from './function-activator/HostedServiceFunctionActivatorEditor.js';
|
67
69
|
export const ViewerEditorGroupSplashScreen = () => {
|
68
70
|
const commandListWidth = 300;
|
69
71
|
const commandListHeight = 50;
|
@@ -151,6 +153,9 @@ export const EditorGroup = observer(() => {
|
|
151
153
|
else if (currentTabState instanceof SnowflakeAppFunctionActivatorEdtiorState) {
|
152
154
|
return (_jsx(SnowflakeAppFunctionActivatorEditor, {}, currentTabState.uuid));
|
153
155
|
}
|
156
|
+
else if (currentTabState instanceof HostedServiceFunctionActivatorEditorState) {
|
157
|
+
return (_jsx(HostedServiceFunctionActivatorEditor, {}, currentTabState.uuid));
|
158
|
+
}
|
154
159
|
else if (currentTabState instanceof UnsupportedElementEditorState) {
|
155
160
|
return _jsx(UnsupportedElementEditor, {}, currentTabState.uuid);
|
156
161
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"EditorGroup.js","sourceRoot":"","sources":["../../../../src/components/editor/editor-group/EditorGroup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,eAAe,EACf,QAAQ,EACR,cAAc,EACd,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wFAAwF,CAAC;AAC5H,OAAO,EAAE,cAAc,EAAE,MAAM,4EAA4E,CAAC;AAC5G,OAAO,EACL,kBAAkB,EAClB,uBAAuB,EACvB,4CAA4C,EAC5C,2BAA2B,GAC5B,MAAM,gFAAgF,CAAC;AACxF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EACL,cAAc,EACd,mBAAmB,GACpB,MAAM,qFAAqF,CAAC;AAC7F,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,2DAA2D,CAAC;AAC/F,OAAO,EAAE,mBAAmB,EAAE,MAAM,iFAAiF,CAAC;AACtH,OAAO,EAAE,kBAAkB,EAAE,MAAM,wFAAwF,CAAC;AAC5H,OAAO,EAAE,+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EACzC,KAAK,EAAC,YAAY,EAClB,OAAO,EACL,MAAC,WAAW,mBAER,qBAAqB,CAAC,mCAAmC,EAE3D,SAAS,EAAC,kCAAkC,aAE5C,KAAC,eAAe,IACd,SAAS,EAAC,iCAAiC,EAC3C,OAAO,EAAE,GAAS,EAAE,CAClB,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,OAAO,CAAC,YAGpD,cAAc,CAAC,OAAO,GACP,EAClB,KAAC,eAAe,IACd,SAAS,EAAC,iCAAiC,EAC3C,OAAO,EAAE,GAAS,EAAE,CAClB,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,IAAI,CAAC,YAGjD,cAAc,CAAC,IAAI,GACJ,IACN,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,YAED,cAAK,SAAS,EAAC,sCAAsC,YAClD,eAAe,CAAC,QAAQ,GACrB,GACO,CAChB,IACG,IACF,EACN,cAME,SAAS,EAAC,sCAAsC,iBACnC,qBAAqB,CAAC,oBAAoB,YAEtD,sBAAsB,EAAE,IAJpB,eAAe,CAAC,IAAI,CAKrB,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"EditorGroup.js","sourceRoot":"","sources":["../../../../src/components/editor/editor-group/EditorGroup.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,eAAe,EACf,QAAQ,EACR,cAAc,EACd,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,O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AAO,GACP,EAClB,KAAC,eAAe,IACd,SAAS,EAAC,iCAAiC,EAC3C,OAAO,EAAE,GAAS,EAAE,CAClB,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,IAAI,CAAC,YAGjD,cAAc,CAAC,IAAI,GACJ,IACN,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,YAED,cAAK,SAAS,EAAC,sCAAsC,YAClD,eAAe,CAAC,QAAQ,GACrB,GACO,CAChB,IACG,IACF,EACN,cAME,SAAS,EAAC,sCAAsC,iBACnC,qBAAqB,CAAC,oBAAoB,YAEtD,sBAAsB,EAAE,IAJpB,eAAe,CAAC,IAAI,CAKrB,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
export declare enum FUNCTION_ACTIVATE_TYPE {
|
17
17
|
SNOWFLAKE_NATIVE_APP = "Snowflake Native App",
|
18
|
-
|
18
|
+
HOSTED_SERVICE = "REST Service",
|
19
19
|
SERVICE_JAR = "Service JAR",
|
20
20
|
REFINER = "Refiner",
|
21
21
|
BIG_QUERY_NATIVE_APP = "BigQuery Native App"
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FunctionEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/FunctionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiJH,oBAAY,sBAAsB;IAChC,oBAAoB,yBAAyB;IAC7C,
|
1
|
+
{"version":3,"file":"FunctionEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/FunctionEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAiJH,oBAAY,sBAAsB;IAChC,oBAAoB,yBAAyB;IAC7C,cAAc,iBAAiB;IAC/B,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,oBAAoB,wBAAwB;CAC7C;AA83BD,eAAO,MAAM,cAAc;;CA8bzB,CAAC"}
|
@@ -47,7 +47,7 @@ var FUNCTION_PARAMETER_TYPE;
|
|
47
47
|
export var FUNCTION_ACTIVATE_TYPE;
|
48
48
|
(function (FUNCTION_ACTIVATE_TYPE) {
|
49
49
|
FUNCTION_ACTIVATE_TYPE["SNOWFLAKE_NATIVE_APP"] = "Snowflake Native App";
|
50
|
-
FUNCTION_ACTIVATE_TYPE["
|
50
|
+
FUNCTION_ACTIVATE_TYPE["HOSTED_SERVICE"] = "REST Service";
|
51
51
|
FUNCTION_ACTIVATE_TYPE["SERVICE_JAR"] = "Service JAR";
|
52
52
|
FUNCTION_ACTIVATE_TYPE["REFINER"] = "Refiner";
|
53
53
|
FUNCTION_ACTIVATE_TYPE["BIG_QUERY_NATIVE_APP"] = "BigQuery Native App";
|
@@ -266,9 +266,11 @@ const FunctionPromoteEditor = observer((props) => {
|
|
266
266
|
FUNCTION_ACTIVATE_TYPE.SNOWFLAKE_NATIVE_APP, onClick: () => {
|
267
267
|
activatorPromoteState.setAcitvateType(type);
|
268
268
|
} }, FUNCTION_ACTIVATE_TYPE.SNOWFLAKE_NATIVE_APP));
|
269
|
-
case FUNCTION_ACTIVATE_TYPE.
|
270
|
-
return (_jsx(BaseCard, { cardMedia: _jsx(
|
271
|
-
FUNCTION_ACTIVATE_TYPE.
|
269
|
+
case FUNCTION_ACTIVATE_TYPE.HOSTED_SERVICE:
|
270
|
+
return (_jsx(BaseCard, { cardMedia: _jsx(RocketIcon, { className: "function-promote-editor__type-icon" }), cardName: type, cardContent: "Create a HostedService that will be deployed to a server environment and executed with a pattern", isActive: activatorPromoteState.activateType ===
|
271
|
+
FUNCTION_ACTIVATE_TYPE.HOSTED_SERVICE, onClick: () => {
|
272
|
+
activatorPromoteState.setAcitvateType(type);
|
273
|
+
} }, FUNCTION_ACTIVATE_TYPE.HOSTED_SERVICE));
|
272
274
|
case FUNCTION_ACTIVATE_TYPE.SERVICE_JAR:
|
273
275
|
return (_jsx(BaseCard, { cardMedia: _jsx("div", { className: "coming-soon-label", children: "Coming Soon" }), cardName: type, cardContent: "Deploy the function in the definition of a Store persistence", isDisable: true, isActive: activatorPromoteState.activateType ===
|
274
276
|
FUNCTION_ACTIVATE_TYPE.SERVICE_JAR }, FUNCTION_ACTIVATE_TYPE.SERVICE_JAR));
|
@@ -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,YAAY,EACZ,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,KAAK,EACL,eAAe,EACf,QAAQ,EACR,qBAAqB,EACrB,UAAU,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BAAmB,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,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,m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AAI,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"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
export declare const HostedServiceFunctionActivatorEditor: (() => import("react/jsx-runtime").JSX.Element) & {
|
17
|
+
displayName: string;
|
18
|
+
};
|
19
|
+
//# sourceMappingURL=HostedServiceFunctionActivatorEditor.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"HostedServiceFunctionActivatorEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/HostedServiceFunctionActivatorEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmDH,eAAO,MAAM,oCAAoC;;CAqjB/C,CAAC"}
|
@@ -0,0 +1,175 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } 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 { Panel, PanelHeader, PanelContent, PanelForm, PURE_FunctionIcon, LongArrowRightIcon, PanelLoadingIndicator, PanelFormBooleanField, PanelFormValidatedTextField, TimesIcon, CustomSelectorInput, PencilIcon, ErrorIcon, } from '@finos/legend-art';
|
18
|
+
import { DeploymentOwner, UserList, generateFunctionPrettyName, validate_ServicePattern, } from '@finos/legend-graph';
|
19
|
+
import { observer } from 'mobx-react-lite';
|
20
|
+
import { useApplicationStore } from '@finos/legend-application';
|
21
|
+
import { useEditorStore } from '../../EditorStoreProvider.js';
|
22
|
+
import { HostedServiceFunctionActivatorEditorState, OWNERSHIP_OPTIONS, MINIMUM_HOSTED_SERVICE_OWNERS, } 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 { useEffect, useMemo, useRef, useState } from 'react';
|
25
|
+
import { LEGEND_STUDIO_TEST_ID } from '../../../../__lib__/LegendStudioTesting.js';
|
26
|
+
import { debounce } from '@finos/legend-shared';
|
27
|
+
import { flowResult } from 'mobx';
|
28
|
+
export const HostedServiceFunctionActivatorEditor = observer(() => {
|
29
|
+
const editorStore = useEditorStore();
|
30
|
+
const applicationStore = useApplicationStore();
|
31
|
+
const editorState = editorStore.tabManagerState.getCurrentEditorState(HostedServiceFunctionActivatorEditorState);
|
32
|
+
const isReadOnly = editorState.isReadOnly;
|
33
|
+
const activator = editorState.activator;
|
34
|
+
const ownership = activator.ownership;
|
35
|
+
const visitFunction = () => editorState.editorStore.graphEditorMode.openElement(activator.function.value);
|
36
|
+
const validate = () => {
|
37
|
+
flowResult(editorState.validate()).catch(applicationStore.alertUnhandledError);
|
38
|
+
};
|
39
|
+
const deploy = () => {
|
40
|
+
flowResult(editorState.deployToSandbox()).catch(applicationStore.alertUnhandledError);
|
41
|
+
};
|
42
|
+
const changeDocumentation = (event) => {
|
43
|
+
if (!isReadOnly) {
|
44
|
+
hostedService_setDocumentation(activator, event.target.value);
|
45
|
+
}
|
46
|
+
};
|
47
|
+
const toggleUseStoreModel = () => {
|
48
|
+
hostedService_setStoreModel(activator, !activator.storeModel);
|
49
|
+
};
|
50
|
+
const toggleGenerateLineage = () => {
|
51
|
+
hostedService_setGenerateLineage(activator, !activator.generateLineage);
|
52
|
+
};
|
53
|
+
const toggleAutoActivateUpdates = () => {
|
54
|
+
hostedService_setAutoActivateUpdates(activator, !activator.autoActivateUpdates);
|
55
|
+
};
|
56
|
+
const getValidationMessage = (inputPattern) => {
|
57
|
+
const patternValidationResult = validate_ServicePattern(inputPattern);
|
58
|
+
return patternValidationResult
|
59
|
+
? patternValidationResult.messages[0]
|
60
|
+
: undefined;
|
61
|
+
};
|
62
|
+
//Ownership
|
63
|
+
const [showOwnerEditInput, setShowOwnerEditInput] = useState(false);
|
64
|
+
const [ownerInputValue, setOwnerInputValue] = useState('');
|
65
|
+
const [searchText, setSearchText] = useState('');
|
66
|
+
const [userOptions, setUserOptions] = useState([]);
|
67
|
+
const [isLoadingUsers, setIsLoadingUsers] = useState(false);
|
68
|
+
const [ownerInputs, setOwnerInputs] = useState([]);
|
69
|
+
const showAddOwnerInput = () => setShowOwnerEditInput(true);
|
70
|
+
const onOwnershipChange = (val) => {
|
71
|
+
if (val) {
|
72
|
+
editorState.setSelectedOwnership(val);
|
73
|
+
}
|
74
|
+
};
|
75
|
+
const updateDeploymentIdentifier = (event) => {
|
76
|
+
if (!isReadOnly && ownership instanceof DeploymentOwner) {
|
77
|
+
activator_setDeploymentOwner(ownership, event.target.value);
|
78
|
+
}
|
79
|
+
};
|
80
|
+
const changeUserOwnerInputValue = (event) => setOwnerInputValue(event.target.value);
|
81
|
+
const updateUser = (idx) => () => {
|
82
|
+
if (ownerInputValue &&
|
83
|
+
ownership instanceof UserList &&
|
84
|
+
!ownership.users.includes(ownerInputValue)) {
|
85
|
+
activator_updateUserOwnership(ownership, ownerInputValue, idx);
|
86
|
+
}
|
87
|
+
};
|
88
|
+
const showEditOwnerInput = (value, idx) => () => {
|
89
|
+
setOwnerInputValue(value);
|
90
|
+
setShowOwnerEditInput(idx);
|
91
|
+
};
|
92
|
+
const hideAddOrEditOwnerInput = () => {
|
93
|
+
setShowOwnerEditInput(false);
|
94
|
+
setOwnerInputValue('');
|
95
|
+
};
|
96
|
+
const deleteUser = (idx) => () => {
|
97
|
+
if (!isReadOnly && ownership instanceof UserList) {
|
98
|
+
activator_deleteValueFromUserOwnership(ownership, idx);
|
99
|
+
if (typeof showOwnerEditInput === 'number' &&
|
100
|
+
showOwnerEditInput > idx) {
|
101
|
+
setShowOwnerEditInput(showOwnerEditInput - 1);
|
102
|
+
}
|
103
|
+
}
|
104
|
+
};
|
105
|
+
const debouncedSearchUsers = useMemo(() => debounce((input) => {
|
106
|
+
setIsLoadingUsers(true);
|
107
|
+
flowResult(editorState.searchUsers(input))
|
108
|
+
.then((users) => setUserOptions(users.map((u) => ({
|
109
|
+
value: u.userId,
|
110
|
+
label: u.userId,
|
111
|
+
}))))
|
112
|
+
.then(() => setIsLoadingUsers(false))
|
113
|
+
.catch(editorState.editorStore.applicationStore.alertUnhandledError);
|
114
|
+
}, 500), [editorState]);
|
115
|
+
const onSearchTextChange = (value) => {
|
116
|
+
if (value !== searchText) {
|
117
|
+
setSearchText(value);
|
118
|
+
debouncedSearchUsers.cancel();
|
119
|
+
if (value.length >= 3) {
|
120
|
+
debouncedSearchUsers(value);
|
121
|
+
}
|
122
|
+
else if (value.length === 0) {
|
123
|
+
setUserOptions([]);
|
124
|
+
setIsLoadingUsers(false);
|
125
|
+
}
|
126
|
+
}
|
127
|
+
};
|
128
|
+
const onUserOptionChange = (options) => {
|
129
|
+
setOwnerInputs(options.map((op) => op.label));
|
130
|
+
setUserOptions([]);
|
131
|
+
debouncedSearchUsers.cancel();
|
132
|
+
setIsLoadingUsers(false);
|
133
|
+
};
|
134
|
+
const addUser = () => {
|
135
|
+
ownerInputs.forEach((value) => {
|
136
|
+
if (value &&
|
137
|
+
ownership instanceof UserList &&
|
138
|
+
!ownership.users.includes(value)) {
|
139
|
+
activator_addUserOwner(ownership, value);
|
140
|
+
}
|
141
|
+
});
|
142
|
+
hideAddOrEditOwnerInput();
|
143
|
+
};
|
144
|
+
//Pattern
|
145
|
+
const patternRef = useRef(null);
|
146
|
+
const [pattern, setPattern] = useState(activator.pattern);
|
147
|
+
const updatePattern = (newPattern) => {
|
148
|
+
if (!isReadOnly) {
|
149
|
+
hostedService_setPattern(activator, newPattern);
|
150
|
+
}
|
151
|
+
};
|
152
|
+
const removePatternParameter = (val) => () => {
|
153
|
+
hostedService_removePatternParameter(activator, val);
|
154
|
+
setPattern(activator.pattern);
|
155
|
+
};
|
156
|
+
useEffect(() => {
|
157
|
+
patternRef.current?.focus();
|
158
|
+
}, [editorState]);
|
159
|
+
return (_jsx("div", { className: "hosted-service-function-activator-editor", children: _jsxs(Panel, { children: [_jsx(PanelHeader, { title: "Rest Service Application" }), _jsx(PanelLoadingIndicator, { isLoading: Boolean(editorState.validateState.isInProgress ||
|
160
|
+
editorState.deployState.isInProgress) }), _jsxs(PanelContent, { children: [_jsxs("div", { className: "hosted-service-function-activator-editor__header", children: [_jsx("div", { className: "hosted-service-function-activator-editor__header__label", children: "Rest Service Activator" }), _jsxs("div", { className: "hosted-service-function-activator-editor__header__actions", children: [_jsx("button", { className: "hosted-service-function-activator-editor__header__actions__action hosted-service-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: "hosted-service-function-activator-editor__header__actions__action hosted-service-function-activator-editor__header__actions__action--primary", onClick: deploy, disabled: editorState.deployState.isInProgress, title: "Deploy to sandbox", tabIndex: -1, children: "Deploy to Sandbox" })] })] }), _jsx(PanelForm, { children: _jsx(PanelFormValidatedTextField, { ref: patternRef, name: "URL Pattern", isReadOnly: isReadOnly, className: "service-editor__pattern__input", errorMessageClassName: "service-editor__pattern__input", prompt: _jsxs(_Fragment, { children: ["Specifies the URL pattern of the service (e.g. /myService/", _jsx("span", { className: "service-editor__pattern__example__param", children: `{param}` }), ")"] }), update: (value) => {
|
161
|
+
updatePattern(value ?? '');
|
162
|
+
}, validate: getValidationMessage, value: pattern }) }), _jsx(PanelForm, { children: _jsxs("div", { className: "panel__content__form__section service-editor__parameters", children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Parameters" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "URL parameters (each must be surrounded by curly braces) will be passed as arguments for the execution query. Note that if the service is configured to use multi-execution, one of the URL parameters must be chosen as the execution key." }), _jsxs("div", { className: "service-editor__parameters__list", children: [!activator.patternParameters.length && (_jsx("div", { className: "service-editor__parameters__list__empty", children: "No parameter" })), Boolean(activator.patternParameters.length) &&
|
163
|
+
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, {
|
164
|
+
fullPath: true,
|
165
|
+
spacing: false,
|
166
|
+
}) }), _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: true })] }), 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
|
167
|
+
? 'panel__content__form__section__list__new-item'
|
168
|
+
: '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 ||
|
169
|
+
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...", spellCheck: false, inputValue: searchText, options: userOptions, allowCreating: true, isLoading: isLoadingUsers, disabled: isReadOnly, darkMode: !applicationStore.layoutService
|
170
|
+
.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 ||
|
171
|
+
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 <
|
172
|
+
MINIMUM_HOSTED_SERVICE_OWNERS &&
|
173
|
+
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" }) }))] })] }) }))] }) })] })] }) }));
|
174
|
+
});
|
175
|
+
//# sourceMappingURL=HostedServiceFunctionActivatorEditor.js.map
|
@@ -0,0 +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,GACV,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,eAAe,EACf,QAAQ,EACR,0BA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E,kBAAkB,EAC5B,OAAO,EAAE,IAAI,GACb,EACF,eAAK,SAAS,EAAC,wDAAwD,aACrE,iBACE,SAAS,EAAC,oGAAoG,EAC9G,QAAQ,EACN,UAAU;wFACV,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CACrB,SAAS,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAC5B,EAEH,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,CAAC,CAAC,qBAGL,EACT,iBACE,SAAS,EAAC,uGAAuG,EACjH,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,uBAAuB,EAChC,QAAQ,EAAE,CAAC,CAAC,uBAGL,IACL,IACF,CACP,IACG,EACL,SAAS,CAAC,KAAK,CAAC,MAAM;4DACrB,6BAA6B;4DAC7B,kBAAkB,KAAK,IAAI,IAAI,CAC7B,eACE,SAAS,EAAC,mCAAmC,EAC7C,KAAK,EAAE,GAAG,6BAA6B,kBAAkB,aAEzD,KAAC,SAAS,KAAG,EACb,eAAK,SAAS,EAAC,yCAAyC,0CAC5B,GAAG,EAC5B,6BAA6B,eAC1B,IACF,CACP,EACF,kBAAkB,KAAK,IAAI,IAAI,CAC9B,cAAK,SAAS,EAAC,oDAAoD,YACjE,iBACE,SAAS,EAAC,sEAAsE,EAChF,QAAQ,EAAE,UAAU,EACpB,OAAO,EAAE,iBAAiB,EAC1B,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,WAAW,0BAGV,GACL,CACP,IACG,IACF,GACF,CACP,IACG,GAEE,IACC,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;
|
1
|
+
{"version":3,"file":"SnowflakeAppFunctionActivatorEditor.d.ts","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAmCH,eAAO,MAAM,mCAAmC;;CA2P9C,CAAC"}
|
package/lib/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.js
CHANGED
@@ -15,19 +15,22 @@ 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, } from '@finos/legend-art';
|
18
|
-
import { generateFunctionPrettyName, RelationalDatabaseConnection, DatabaseType, } from '@finos/legend-graph';
|
18
|
+
import { generateFunctionPrettyName, RelationalDatabaseConnection, DatabaseType, DeploymentOwner, } 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 } from 'react';
|
24
|
+
import { useRef, useState } from 'react';
|
25
25
|
import { buildRelationalDatabaseConnectionOption, } from '../connection-editor/RelationalDatabaseConnectionEditor.js';
|
26
|
+
import { activator_setDeploymentOwner } from '../../../../stores/graph-modifier/DSL_FunctionActivator_GraphModifierHelper.js';
|
26
27
|
export const SnowflakeAppFunctionActivatorEditor = observer(() => {
|
27
28
|
const editorStore = useEditorStore();
|
28
29
|
const applicationStore = useApplicationStore();
|
29
30
|
const editorState = editorStore.tabManagerState.getCurrentEditorState(SnowflakeAppFunctionActivatorEdtiorState);
|
31
|
+
const isReadOnly = editorState.isReadOnly;
|
30
32
|
const activator = editorState.activator;
|
33
|
+
const ownership = activator.ownership;
|
31
34
|
const connectionSelectorRef = useRef(null);
|
32
35
|
const connectionFilterOption = createFilter({
|
33
36
|
ignoreCase: true,
|
@@ -53,13 +56,15 @@ export const SnowflakeAppFunctionActivatorEditor = observer(() => {
|
|
53
56
|
.packageableConnection.value
|
54
57
|
: initializeActivationConnection(connectionOptions.at(0)?.value);
|
55
58
|
const changeConnection = (val) => {
|
56
|
-
if (val.value === activationConnection) {
|
59
|
+
if (!isReadOnly && val.value === activationConnection) {
|
57
60
|
return;
|
58
61
|
}
|
59
62
|
editorState.updateConnection(val.value);
|
60
63
|
};
|
61
64
|
const changeDescription = (event) => {
|
62
|
-
|
65
|
+
if (!isReadOnly) {
|
66
|
+
editorState.updateAppDescription(event.target.value);
|
67
|
+
}
|
63
68
|
};
|
64
69
|
const visitFunction = () => editorState.editorStore.graphEditorMode.openElement(activator.function.value);
|
65
70
|
const visitConnection = () => {
|
@@ -73,12 +78,20 @@ export const SnowflakeAppFunctionActivatorEditor = observer(() => {
|
|
73
78
|
const deploy = () => {
|
74
79
|
flowResult(editorState.deployToSandbox()).catch(applicationStore.alertUnhandledError);
|
75
80
|
};
|
81
|
+
//Ownership
|
82
|
+
const [ownerInputValue, setOwner] = useState('');
|
83
|
+
const updateDeploymentIdentifier = (event) => {
|
84
|
+
if (!isReadOnly) {
|
85
|
+
setOwner(event.target.value);
|
86
|
+
activator_setDeploymentOwner(ownership, event.target.value);
|
87
|
+
}
|
88
|
+
};
|
76
89
|
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 ||
|
77
90
|
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, {
|
78
91
|
fullPath: true,
|
79
92
|
spacing: false,
|
80
93
|
}) }), _jsx("button", { className: "btn--dark btn--sm snowflake-app-function-activator-editor__configuration__item__btn", onClick: visitFunction, tabIndex: -1, title: "See Function", children: _jsx(LongArrowRightIcon, {}) })] }) })] }), _jsxs(PanelForm, { children: [_jsx("div", { className: "panel__content__form__section", children: _jsx("div", { className: "panel__content__form__section__header__label", children: "Connection" }) }), _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_ConnectionIcon, {}) }), _jsx(CustomSelectorInput, { ref: connectionSelectorRef, className: "snowflake-app-function-activator-editor__config__connection-selector__input", options: connectionOptions, onChange: changeConnection, value: activationConnection
|
81
94
|
? buildRelationalDatabaseConnectionOption(activationConnection)
|
82
|
-
: undefined, darkMode: true, placeholder: "Choose a connection", filterOption: connectionFilterOption }), _jsx("button", { className: "btn--dark btn--sm snowflake-app-function-activator-editor__configuration__item__btn", onClick: visitConnection, disabled: !activationConnection, tabIndex: -1, title: "See Connection", children: _jsx(LongArrowRightIcon, {}) })] }) })] }), _jsx(PanelForm, { children: _jsx(PanelFormTextField, { value: activator.applicationName, name: "Activator Identifer", placeholder: "Specify the name of the UDTF for this activator...", update: (value) => editorState.updateApplicationName(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, value: activator.description, onChange: changeDescription })] }) })] })] }) }));
|
95
|
+
: undefined, darkMode: true, placeholder: "Choose a connection", filterOption: connectionFilterOption }), _jsx("button", { className: "btn--dark btn--sm snowflake-app-function-activator-editor__configuration__item__btn", onClick: visitConnection, disabled: !activationConnection, tabIndex: -1, title: "See Connection", children: _jsx(LongArrowRightIcon, {}) })] }) })] }), _jsx(PanelForm, { children: _jsx(PanelFormTextField, { value: activator.applicationName, isReadOnly: isReadOnly, name: "Activator Identifer", placeholder: "Specify the name of the UDTF for this activator...", update: (value) => editorState.updateApplicationName(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 })] }) }))] }) })] })] }) }));
|
83
96
|
});
|
84
97
|
//# sourceMappingURL=SnowflakeAppFunctionActivatorEditor.js.map
|