@nocobase/plugin-notification-email 2.1.0-beta.42 → 2.1.0-beta.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client-v2/658.b4e6d867cd397b33.js +10 -0
- package/dist/client-v2/index.js +1 -1
- package/dist/client-v2/locale.d.ts +1 -1
- package/dist/externalVersion.js +6 -6
- package/dist/node_modules/nodemailer/package.json +1 -1
- package/package.json +2 -2
- package/dist/client-v2/658.356b2470d58c1cf8.js +0 -10
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
"use strict";(self.webpackChunk_nocobase_plugin_notification_email_client_v2=self.webpackChunk_nocobase_plugin_notification_email_client_v2||[]).push([["658"],{153:function(e,t,a){a.r(t),a.d(t,{ChannelConfigForm:function(){return m}});var r=a(485),l=a(59),n=a(155),s=a.n(n),i=a(488);function m(){var e=(0,i.Yb)().t;return s().createElement(s().Fragment,null,s().createElement(l.Form.Item,{label:e("Transport"),name:["options","transport"],initialValue:"smtp",rules:[{required:!0,message:e("The field value is required")}]},s().createElement(l.Select,{options:[{value:"smtp",label:"SMTP"}]})),s().createElement(l.Row,{gutter:16},s().createElement(l.Col,{span:11},s().createElement(l.Form.Item,{label:e("Host"),name:["options","host"],extra:e("SMTP server host"),rules:[{required:!0,message:e("The field value is required")}]},s().createElement(r.EnvVariableInput,{placeholder:"smtp.example.com"}))),s().createElement(l.Col,{span:5},s().createElement(l.Form.Item,{label:e("Port"),name:["options","port"],initialValue:465,rules:[{required:!0,message:e("The field value is required")}]},s().createElement(r.TypedVariableInput,{types:[["number",{min:1,max:65535,step:1}]],namespaces:["$env"]}))),s().createElement(l.Col,{span:8},s().createElement(l.Form.Item,{label:e("Secure"),name:["options","secure"],initialValue:!0,extra:e("In most cases, if using port 465, set it to true; otherwise, set it to false.")},s().createElement(r.TypedVariableInput,{types:["boolean"],namespaces:["$env"]})))),s().createElement(l.Row,{gutter:16},s().createElement(l.Col,{span:12},s().createElement(l.Form.Item,{label:e("Account"),name:["options","account"],rules:[{required:!0,message:e("The field value is required")}]},s().createElement(r.EnvVariableInput,{placeholder:"example@domain.com"}))),s().createElement(l.Col,{span:12},s().createElement(l.Form.Item,{label:e("Password"),name:["options","password"],rules:[{required:!0,message:e("The field value is required")}]},s().createElement(r.EnvVariableInput,{password:!0})))),s().createElement(l.Form.Item,{label:e("From"),name:["options","from"],extra:e("The email address that will be used as the sender"),rules:[{required:!0,message:e("The field value is required")}]},s().createElement(r.EnvVariableInput,{placeholder:"noreply <example@domain.com>"})))}t.default=m}}]);
|
package/dist/client-v2/index.js
CHANGED
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react-i18next"),require("@nocobase/plugin-notification-manager/client-v2"),require("@nocobase/client-v2"),require("react"),require("antd"),require("@nocobase/flow-engine")):"function"==typeof define&&define.amd?define("@nocobase/plugin-notification-email/client-v2",["react-i18next","@nocobase/plugin-notification-manager/client-v2","@nocobase/client-v2","react","antd","@nocobase/flow-engine"],t):"object"==typeof exports?exports["@nocobase/plugin-notification-email/client-v2"]=t(require("react-i18next"),require("@nocobase/plugin-notification-manager/client-v2"),require("@nocobase/client-v2"),require("react"),require("antd"),require("@nocobase/flow-engine")):e["@nocobase/plugin-notification-email/client-v2"]=t(e["react-i18next"],e["@nocobase/plugin-notification-manager/client-v2"],e["@nocobase/client-v2"],e.react,e.antd,e["@nocobase/flow-engine"])}(self,function(e,t,n,r,o,i){return function(){"use strict";var c,a,u,l={488:function(e,t,n){n.d(t,{CU:function(){return i},MZ:function(){return u},Yb:function(){return a}});var r=n(694),o=n(953),i="notification-email",c="@nocobase/plugin-notification-email";function a(){return(0,o.useTranslation)([i,c,"client"],{nsMode:"fallback"})}function u(e){return(0,r.tExpr)(e,{ns:[i,c,"client"]})}},485:function(e){e.exports=n},694:function(e){e.exports=i},341:function(e){e.exports=t},59:function(e){e.exports=o},155:function(e){e.exports=r},953:function(t){t.exports=e}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return l[e](n,n.exports,p),n.exports}p.m=l,p.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return p.d(t,{a:t}),t},p.d=function(e,t){for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=function(e){return Promise.all(Object.keys(p.f).reduce(function(t,n){return p.f[n](e,t),t},[]))},p.u=function(e){return""+e+".
|
|
10
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react-i18next"),require("@nocobase/plugin-notification-manager/client-v2"),require("@nocobase/client-v2"),require("react"),require("antd"),require("@nocobase/flow-engine")):"function"==typeof define&&define.amd?define("@nocobase/plugin-notification-email/client-v2",["react-i18next","@nocobase/plugin-notification-manager/client-v2","@nocobase/client-v2","react","antd","@nocobase/flow-engine"],t):"object"==typeof exports?exports["@nocobase/plugin-notification-email/client-v2"]=t(require("react-i18next"),require("@nocobase/plugin-notification-manager/client-v2"),require("@nocobase/client-v2"),require("react"),require("antd"),require("@nocobase/flow-engine")):e["@nocobase/plugin-notification-email/client-v2"]=t(e["react-i18next"],e["@nocobase/plugin-notification-manager/client-v2"],e["@nocobase/client-v2"],e.react,e.antd,e["@nocobase/flow-engine"])}(self,function(e,t,n,r,o,i){return function(){"use strict";var c,a,u,l={488:function(e,t,n){n.d(t,{CU:function(){return i},MZ:function(){return u},Yb:function(){return a}});var r=n(694),o=n(953),i="notification-email",c="@nocobase/plugin-notification-email";function a(){return(0,o.useTranslation)([i,c,"client"],{nsMode:"fallback"})}function u(e){return(0,r.tExpr)(e,{ns:[i,c,"client"]})}},485:function(e){e.exports=n},694:function(e){e.exports=i},341:function(e){e.exports=t},59:function(e){e.exports=o},155:function(e){e.exports=r},953:function(t){t.exports=e}},f={};function p(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return l[e](n,n.exports,p),n.exports}p.m=l,p.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return p.d(t,{a:t}),t},p.d=function(e,t){for(var n in t)p.o(t,n)&&!p.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},p.f={},p.e=function(e){return Promise.all(Object.keys(p.f).reduce(function(t,n){return p.f[n](e,t),t},[]))},p.u=function(e){return""+e+".b4e6d867cd397b33.js"},p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s={},p.l=function(e,t,n,r){if(s[e])return void s[e].push(t);if(void 0!==n)for(var o,i,c=document.getElementsByTagName("script"),a=0;a<c.length;a++){var u=c[a];if(u.getAttribute("src")==e||u.getAttribute("data-rspack")=="@nocobase/plugin-notification-email/client-v2:"+n){o=u;break}}o||(i=!0,(o=document.createElement("script")).timeout=120,p.nc&&o.setAttribute("nonce",p.nc),o.setAttribute("data-rspack","@nocobase/plugin-notification-email/client-v2:"+n),o.src=e),s[e]=[t];var l=function(t,n){o.onerror=o.onload=null,clearTimeout(f);var r=s[e];if(delete s[e],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach(function(e){return e(n)}),t)return t(n)},f=setTimeout(l.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=l.bind(null,o.onerror),o.onload=l.bind(null,o.onload),i&&document.head.appendChild(o)},p.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p.g.importScripts&&(b=p.g.location+"");var s,b,d=p.g.document;if(!b&&d&&(d.currentScript&&"SCRIPT"===d.currentScript.tagName.toUpperCase()&&(b=d.currentScript.src),!b)){var v=d.getElementsByTagName("script");if(v.length)for(var h=v.length-1;h>-1&&(!b||!/^http(s?):/.test(b));)b=v[h--].src}if(!b)throw Error("Automatic publicPath is not supported in this browser");p.p=b.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),c={889:0},p.f.j=function(e,t){var n=p.o(c,e)?c[e]:void 0;if(0!==n)if(n)t.push(n[2]);else{var r=new Promise(function(t,r){n=c[e]=[t,r]});t.push(n[2]=r);var o=p.p+p.u(e),i=Error();p.l(o,function(t){if(p.o(c,e)&&(0!==(n=c[e])&&(c[e]=void 0),n)){var r=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+e+" failed.\n("+r+": "+o+")",i.name="ChunkLoadError",i.type=r,i.request=o,n[1](i)}},"chunk-"+e,e)}},a=function(e,t){var n,r,o=t[0],i=t[1],a=t[2],u=0;if(o.some(function(e){return 0!==c[e]})){for(n in i)p.o(i,n)&&(p.m[n]=i[n]);a&&a(p)}for(e&&e(t);u<o.length;u++)r=o[u],p.o(c,r)&&c[r]&&c[r][0](),c[r]=0},(u=self.webpackChunk_nocobase_plugin_notification_email_client_v2=self.webpackChunk_nocobase_plugin_notification_email_client_v2||[]).forEach(a.bind(null,0)),u.push=a.bind(null,u.push.bind(u));var y={};return!function(){var e="",t="u">typeof document?document.currentScript:null;if(t&&t.src&&(e=t.src.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/")),!e){var n=window.__webpack_public_path__||"";n&&("/"!==n.charAt(n.length-1)&&(n+="/"),e=n+"static/plugins/@nocobase/plugin-notification-email/dist/client-v2/")}if(!e){if(!(e=window.__nocobase_public_path__||"")&&window.location&&window.location.pathname){var r=window.location.pathname||"/",o=r.indexOf("/v2/");e=o>=0?r.slice(0,o+1):"/"}e&&(e=e.replace(/\/v2\/?$/,"/")),e||(e="/"),"/"!==e.charAt(e.length-1)&&(e+="/"),e+="static/plugins/@nocobase/plugin-notification-email/dist/client-v2/"}p.p=e}(),!function(){p.r(y),p.d(y,{NAMESPACE:function(){return r.CU},PluginNotificationEmailClientV2:function(){return f},default:function(){return s}});var e=p(485),t=p(341),n=p.n(t),r=p(488);function o(e,t,n,r,o,i,c){try{var a=e[i](c),u=a.value}catch(e){n(e);return}a.done?t(u):Promise.resolve(u).then(r,o)}function i(e,t,n){return(i=l()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&a(o,n.prototype),o}).apply(null,arguments)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t="function"==typeof Map?new Map:void 0;return(u=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return i(e,arguments,c(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),a(n,e)})(e)}function l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}var f=function(e){var t;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function i(){var e,t;if(!(this instanceof i))throw TypeError("Cannot call a class as a function");return e=i,t=arguments,e=c(e),function(e,t){var n;if(t&&("object"==((n=t)&&"u">typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,l()?Reflect.construct(e,t||[],c(this).constructor):e.apply(this,t))}return i.prototype=Object.create(e&&e.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),e&&a(i,e),t=[{key:"beforeLoad",value:function(){var e;return(e=function(){var e;return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},c=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),a=Object.defineProperty;return a(c,"next",{value:u(0)}),a(c,"throw",{value:u(1)}),a(c,"return",{value:u(2)}),"function"==typeof Symbol&&a(c,Symbol.iterator,{value:function(){return this}}),c;function u(a){return function(u){var l=[a,u];if(n)throw TypeError("Generator is already executing.");for(;c&&(c=0,l[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&l[0]?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,r=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===l[0]||2===l[0])){i=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){i.label=l[1];break}if(6===l[0]&&i.label<o[1]){i.label=o[1],o=l;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(l);break}o[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(e){l=[6,e],r=0}finally{n=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}(this,function(t){return(e=this.pm.get(n()))&&e.registerChannelType({type:"email",title:(0,r.MZ)("Email"),components:{ChannelConfigFormLoader:function(){return p.e("658").then(p.bind(p,153))}},meta:{creatable:!0,editable:!0,deletable:!0}}),[2]})},function(){var t=this,n=arguments;return new Promise(function(r,i){var c=e.apply(t,n);function a(e){o(c,r,i,a,u,"next",e)}function u(e){o(c,r,i,a,u,"throw",e)}a(void 0)})}).call(this)}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(i.prototype,t),i}(u(e.Plugin)),s=f}(),y}()});
|
|
@@ -7,6 +7,6 @@
|
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
9
|
export declare const NAMESPACE = "notification-email";
|
|
10
|
-
export declare function useNotificationEmailTranslation(): import("react-i18next").UseTranslationResponse<("@nocobase/plugin-notification-email" | "
|
|
10
|
+
export declare function useNotificationEmailTranslation(): import("react-i18next").UseTranslationResponse<("@nocobase/plugin-notification-email" | "notification-email" | "client")[], undefined>;
|
|
11
11
|
export declare function useT(): (key: string, options?: Record<string, any>) => string;
|
|
12
12
|
export declare function tExpr(key: string): string;
|
package/dist/externalVersion.js
CHANGED
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
module.exports = {
|
|
11
|
-
"@nocobase/client": "2.1.0-beta.
|
|
11
|
+
"@nocobase/client": "2.1.0-beta.44",
|
|
12
12
|
"react": "18.2.0",
|
|
13
|
-
"@nocobase/plugin-notification-manager": "2.1.0-beta.
|
|
14
|
-
"@nocobase/utils": "2.1.0-beta.
|
|
15
|
-
"@nocobase/flow-engine": "2.1.0-beta.
|
|
13
|
+
"@nocobase/plugin-notification-manager": "2.1.0-beta.44",
|
|
14
|
+
"@nocobase/utils": "2.1.0-beta.44",
|
|
15
|
+
"@nocobase/flow-engine": "2.1.0-beta.44",
|
|
16
16
|
"react-i18next": "11.18.6",
|
|
17
|
-
"@nocobase/client-v2": "2.1.0-beta.
|
|
18
|
-
"@nocobase/server": "2.1.0-beta.
|
|
17
|
+
"@nocobase/client-v2": "2.1.0-beta.44",
|
|
18
|
+
"@nocobase/server": "2.1.0-beta.44",
|
|
19
19
|
"antd": "5.24.2"
|
|
20
20
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"nodemailer","version":"6.9.7","description":"Easy as cake e-mail sending from your Node.js applications","main":"lib/nodemailer.js","scripts":{"test":"grunt --trace-warnings","update":"rm -rf node_modules/ package-lock.json && ncu -u && npm install"},"repository":{"type":"git","url":"https://github.com/nodemailer/nodemailer.git"},"keywords":["Nodemailer"],"author":"Andris Reinman","license":"MIT-0","bugs":{"url":"https://github.com/nodemailer/nodemailer/issues"},"homepage":"https://nodemailer.com/","devDependencies":{"@aws-sdk/client-ses":"3.433.0","aws-sdk":"2.1478.0","bunyan":"1.8.15","chai":"4.3.10","eslint-config-nodemailer":"1.2.0","eslint-config-prettier":"9.0.0","grunt":"1.6.1","grunt-cli":"1.4.3","grunt-eslint":"24.3.0","grunt-mocha-test":"0.13.3","libbase64":"1.2.1","libmime":"5.2.1","libqp":"2.0.1","mocha":"10.2.0","nodemailer-ntlm-auth":"1.0.4","proxy":"1.0.2","proxy-test-server":"1.0.0","sinon":"17.0.0","smtp-server":"3.13.0"},"engines":{"node":">=6.0.0"},"_lastModified":"2026-06-
|
|
1
|
+
{"name":"nodemailer","version":"6.9.7","description":"Easy as cake e-mail sending from your Node.js applications","main":"lib/nodemailer.js","scripts":{"test":"grunt --trace-warnings","update":"rm -rf node_modules/ package-lock.json && ncu -u && npm install"},"repository":{"type":"git","url":"https://github.com/nodemailer/nodemailer.git"},"keywords":["Nodemailer"],"author":"Andris Reinman","license":"MIT-0","bugs":{"url":"https://github.com/nodemailer/nodemailer/issues"},"homepage":"https://nodemailer.com/","devDependencies":{"@aws-sdk/client-ses":"3.433.0","aws-sdk":"2.1478.0","bunyan":"1.8.15","chai":"4.3.10","eslint-config-nodemailer":"1.2.0","eslint-config-prettier":"9.0.0","grunt":"1.6.1","grunt-cli":"1.4.3","grunt-eslint":"24.3.0","grunt-mocha-test":"0.13.3","libbase64":"1.2.1","libmime":"5.2.1","libqp":"2.0.1","mocha":"10.2.0","nodemailer-ntlm-auth":"1.0.4","proxy":"1.0.2","proxy-test-server":"1.0.0","sinon":"17.0.0","smtp-server":"3.13.0"},"engines":{"node":">=6.0.0"},"_lastModified":"2026-06-03T13:58:04.174Z"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-notification-email",
|
|
3
|
-
"version": "2.1.0-beta.
|
|
3
|
+
"version": "2.1.0-beta.44",
|
|
4
4
|
"displayName": "Notification: Email",
|
|
5
5
|
"displayName.ru-RU": "Уведомления: Электронная почта (Email)",
|
|
6
6
|
"displayName.zh-CN": "通知:电子邮件",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"Notification"
|
|
27
27
|
],
|
|
28
28
|
"license": "Apache-2.0",
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "540d4897b1696cc24c0754521b0b766978b4933c"
|
|
30
30
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file is part of the NocoBase (R) project.
|
|
3
|
-
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
-
* Authors: NocoBase Team.
|
|
5
|
-
*
|
|
6
|
-
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
-
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
"use strict";(self.webpackChunk_nocobase_plugin_notification_email_client_v2=self.webpackChunk_nocobase_plugin_notification_email_client_v2||[]).push([["658"],{153:function(e,t,a){a.r(t),a.d(t,{ChannelConfigForm:function(){return o}});var l=a(485),r=a(59),n=a(155),s=a.n(n),i=a(488);function o(){var e=(0,i.Yb)().t;return s().createElement(s().Fragment,null,s().createElement(r.Form.Item,{label:e("Transport"),name:["options","transport"],initialValue:"smtp",rules:[{required:!0,message:e("The field value is required")}]},s().createElement(r.Select,{options:[{value:"smtp",label:"SMTP"}]})),s().createElement(r.Row,{gutter:16},s().createElement(r.Col,{span:12},s().createElement(r.Form.Item,{label:e("Host"),name:["options","host"],extra:e("SMTP server host"),rules:[{required:!0,message:e("The field value is required")}]},s().createElement(l.EnvVariableInput,{placeholder:"smtp.example.com"}))),s().createElement(r.Col,{span:4},s().createElement(r.Form.Item,{label:e("Port"),name:["options","port"],initialValue:465,rules:[{required:!0,message:e("The field value is required")}]},s().createElement(r.InputNumber,{min:1,max:65535,step:1,style:{width:"100%"}}))),s().createElement(r.Col,{span:8},s().createElement(r.Form.Item,{label:e("Secure"),name:["options","secure"],initialValue:!0,extra:e("In most cases, if using port 465, set it to true; otherwise, set it to false.")},s().createElement(r.Select,{options:[{value:!0,label:e("Yes")},{value:!1,label:e("No")}]})))),s().createElement(r.Row,{gutter:16},s().createElement(r.Col,{span:12},s().createElement(r.Form.Item,{label:e("Account"),name:["options","account"],rules:[{required:!0,message:e("The field value is required")}]},s().createElement(l.EnvVariableInput,{placeholder:"example@domain.com"}))),s().createElement(r.Col,{span:12},s().createElement(r.Form.Item,{label:e("Password"),name:["options","password"],rules:[{required:!0,message:e("The field value is required")}]},s().createElement(l.EnvVariableInput,{password:!0})))),s().createElement(r.Form.Item,{label:e("From"),name:["options","from"],extra:e("The email address that will be used as the sender"),rules:[{required:!0,message:e("The field value is required")}]},s().createElement(l.EnvVariableInput,{placeholder:"noreply <example@domain.com>"})))}t.default=o}}]);
|