@finos/legend-application-studio 28.18.1 → 28.18.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
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;;CA8P9C,CAAC"}
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;;CAqT9C,CAAC"}
@@ -14,8 +14,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
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, PanelFormTextField, PURE_FunctionIcon, LongArrowRightIcon, PanelLoadingIndicator, PURE_ConnectionIcon, CustomSelectorInput, createFilter, } from '@finos/legend-art';
18
- import { generateFunctionPrettyName, RelationalDatabaseConnection, DatabaseType, DeploymentOwner, } from '@finos/legend-graph';
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';
19
19
  import { observer } from 'mobx-react-lite';
20
20
  import { useApplicationStore } from '@finos/legend-application';
21
21
  import { useEditorStore } from '../../EditorStoreProvider.js';
@@ -41,6 +41,10 @@ export const SnowflakeAppFunctionActivatorEditor = observer(() => {
41
41
  .filter((connection) => connection.connectionValue instanceof RelationalDatabaseConnection &&
42
42
  connection.connectionValue.type === DatabaseType.Snowflake)
43
43
  .map(buildRelationalDatabaseConnectionOption);
44
+ const permissionSchemeOptions = Object.values(SnowflakePermissionScheme).map((type) => ({
45
+ value: type,
46
+ label: type,
47
+ }));
44
48
  const initializeActivationConnection = (val) => {
45
49
  if (val) {
46
50
  editorState.updateConnection(val);
@@ -61,6 +65,12 @@ export const SnowflakeAppFunctionActivatorEditor = observer(() => {
61
65
  }
62
66
  editorState.updateConnection(val.value);
63
67
  };
68
+ const changePermissionScheme = (val) => {
69
+ if (!isReadOnly && val.value === activator.permissionScheme) {
70
+ return;
71
+ }
72
+ editorState.updatePermissionScopte(val.value);
73
+ };
64
74
  const changeDescription = (event) => {
65
75
  if (!isReadOnly) {
66
76
  editorState.updateAppDescription(event.target.value);
@@ -93,6 +103,10 @@ export const SnowflakeAppFunctionActivatorEditor = observer(() => {
93
103
  }) }), _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
94
104
  ? buildRelationalDatabaseConnectionOption(activationConnection)
95
105
  : undefined, darkMode: !applicationStore.layoutService
96
- .TEMPORARY__isLightColorThemeEnabled, 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 })] }) }))] }) })] })] }) }));
106
+ .TEMPORARY__isLightColorThemeEnabled, 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 ?? '') }) }), _jsxs(PanelForm, { children: [_jsx("div", { className: "panel__content__form__section", children: _jsx("div", { className: "panel__content__form__section__header__label", children: "Permission Scheme" }) }), _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 snowflake-app-function-activator-editor__permission-scope__icon", children: _jsx(DataAccessIcon, {}) }), _jsx(CustomSelectorInput, { className: "snowflake-app-function-activator-editor__config__connection-selector__input", options: permissionSchemeOptions, onChange: changePermissionScheme, value: {
107
+ label: activator.permissionScheme,
108
+ value: activator.permissionScheme,
109
+ }, darkMode: !applicationStore.layoutService
110
+ .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 })] }) }))] }) })] })] }) }));
97
111
  });
98
112
  //# sourceMappingURL=SnowflakeAppFunctionActivatorEditor.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SnowflakeAppFunctionActivatorEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,EACL,WAAW,EACX,YAAY,EACZ,SAAS,EACT,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,YAAY,GAEb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,0BAA0B,EAC1B,4BAA4B,EAC5B,YAAY,EACZ,eAAe,GAChB,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,EAAE,wCAAwC,EAAE,MAAM,4HAA4H,CAAC;AACtL,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EACL,uCAAuC,GAExC,MAAM,4DAA4D,CAAC;AACpE,OAAO,EAAE,4BAA4B,EAAE,MAAM,gFAAgF,CAAC;AAE9H,MAAM,CAAC,MAAM,mCAAmC,GAAG,QAAQ,CAAC,GAAG,EAAE;IAC/D,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAC/C,MAAM,WAAW,GAAG,WAAW,CAAC,eAAe,CAAC,qBAAqB,CACnE,wCAAwC,CACzC,CAAC;IACF,MAAM,UAAU,GAAG,WAAW,CAAC,UAAU,CAAC;IAC1C,MAAM,SAAS,GAAG,WAAW,CAAC,SAAS,CAAC;IACxC,MAAM,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;IACtC,M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AO,EACrH,mBACE,SAAS,EAAC,8EAA8E,EACxF,UAAU,EAAE,KAAK,EACjB,QAAQ,EAAE,UAAU,EACpB,KAAK,EAAE,SAAS,CAAC,WAAW,EAC5B,QAAQ,EAAE,iBAAiB,GAC3B,IACE,GACI,EACZ,KAAC,SAAS,cACR,0BACE,eAAK,SAAS,EAAC,+BAA+B,aAC5C,cAAK,SAAS,EAAC,8CAA8C,0BAEvD,EACN,cAAK,SAAS,EAAC,+CAA+C,mFAGxD,IACF,EACL,SAAS,YAAY,eAAe,IAAI,CACvC,cAAK,SAAS,EAAC,+BAA+B,YAC5C,0BACE,cAAK,SAAS,EAAC,8CAA8C,wCAEvD,EACN,gBACE,SAAS,EAAC,sCAAsC,EAChD,UAAU,EAAE,KAAK,EACjB,QAAQ,EAAE,UAAU,EACpB,KAAK,EAAE,eAAe,EACtB,QAAQ,EAAE,0BAA0B,GACpC,IACE,GACF,CACP,IACG,GACI,IACC,IACT,GACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"SnowflakeAppFunctionActivatorEditor.js","sourceRoot":"","sources":["../../../../../src/components/editor/editor-group/function-activator/SnowflakeAppFunctionActivatorEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,EACL,WAAW,EACX,YAAY,EACZ,SAAS,EACT,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,mBAAmB,EACnB,mBAAmB,EACnB,YAAY,EACZ,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,0BAA0B,EAC1B,4BAA4B,EAC5B,YAAY,EACZ,eAAe,EACf,yBAAyB,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MA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