@nocobase/plugin-workflow-mailer 2.2.0-alpha.1 → 2.2.0-alpha.3

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.
@@ -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
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@nocobase/client-v2"),require("@dnd-kit/sortable"),require("react"),require("antd"),require("@nocobase/plugin-workflow/client-v2"),require("@ant-design/icons"),require("@nocobase/flow-engine"),require("@dnd-kit/core")):"function"==typeof define&&define.amd?define("@nocobase/plugin-workflow-mailer/client-v2",["@nocobase/client-v2","@dnd-kit/sortable","react","antd","@nocobase/plugin-workflow/client-v2","@ant-design/icons","@nocobase/flow-engine","@dnd-kit/core"],t):"object"==typeof exports?exports["@nocobase/plugin-workflow-mailer/client-v2"]=t(require("@nocobase/client-v2"),require("@dnd-kit/sortable"),require("react"),require("antd"),require("@nocobase/plugin-workflow/client-v2"),require("@ant-design/icons"),require("@nocobase/flow-engine"),require("@dnd-kit/core")):e["@nocobase/plugin-workflow-mailer/client-v2"]=t(e["@nocobase/client-v2"],e["@dnd-kit/sortable"],e.react,e.antd,e["@nocobase/plugin-workflow/client-v2"],e["@ant-design/icons"],e["@nocobase/flow-engine"],e["@dnd-kit/core"])}(self,function(e,t,n,r,o,i,c,u){return function(){"use strict";var a,l,f,s={488:function(e,t,n){n.d(t,{MZ:function(){return u},kj:function(){return c}});var r=n(694);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}var i="workflow-mailer";function c(){var e=(0,r.useFlowEngine)();return function(t,n){return e.context.t(t,o({ns:[i,"client"],nsMode:"fallback"},n))}}function u(e,t){return(0,r.tExpr)(e,o({ns:[i,"client"],nsMode:"fallback"},t))}},375:function(e){e.exports=i},799:function(e){e.exports=u},428:function(e){e.exports=t},485:function(t){t.exports=e},694:function(e){e.exports=c},197:function(e){e.exports=o},59:function(e){e.exports=r},155:function(e){e.exports=n}},p={};function b(e){var t=p[e];if(void 0!==t)return t.exports;var n=p[e]={exports:{}};return s[e](n,n.exports,b),n.exports}b.m=s,b.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return b.d(t,{a:t}),t},b.d=function(e,t){for(var n in t)b.o(t,n)&&!b.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},b.f={},b.e=function(e){return Promise.all(Object.keys(b.f).reduce(function(t,n){return b.f[n](e,t),t},[]))},b.u=function(e){return""+e+".04726b64ccb8466a.js"},b.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),b.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},d={},b.l=function(e,t,n,r){if(d[e])return void d[e].push(t);if(void 0!==n)for(var o,i,c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var a=c[u];if(a.getAttribute("src")==e||a.getAttribute("data-rspack")=="@nocobase/plugin-workflow-mailer/client-v2:"+n){o=a;break}}o||(i=!0,(o=document.createElement("script")).timeout=120,b.nc&&o.setAttribute("nonce",b.nc),o.setAttribute("data-rspack","@nocobase/plugin-workflow-mailer/client-v2:"+n),o.src=e),d[e]=[t];var l=function(t,n){o.onerror=o.onload=null,clearTimeout(f);var r=d[e];if(delete d[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)},b.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},b.g.importScripts&&(v=b.g.location+"");var d,v,y=b.g.document;if(!v&&y&&(y.currentScript&&"SCRIPT"===y.currentScript.tagName.toUpperCase()&&(v=y.currentScript.src),!v)){var h=y.getElementsByTagName("script");if(h.length)for(var w=h.length-1;w>-1&&(!v||!/^http(s?):/.test(v));)v=h[w--].src}if(!v)throw Error("Automatic publicPath is not supported in this browser");b.p=v.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a={889:0},b.f.j=function(e,t){var n=b.o(a,e)?a[e]:void 0;if(0!==n)if(n)t.push(n[2]);else{var r=new Promise(function(t,r){n=a[e]=[t,r]});t.push(n[2]=r);var o=b.p+b.u(e),i=Error();b.l(o,function(t){if(b.o(a,e)&&(0!==(n=a[e])&&(a[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)}},l=function(e,t){var n,r,o=t[0],i=t[1],c=t[2],u=0;if(o.some(function(e){return 0!==a[e]})){for(n in i)b.o(i,n)&&(b.m[n]=i[n]);c&&c(b)}for(e&&e(t);u<o.length;u++)r=o[u],b.o(a,r)&&a[r]&&a[r][0](),a[r]=0},(f=self.webpackChunk_nocobase_plugin_workflow_mailer_client_v2=self.webpackChunk_nocobase_plugin_workflow_mailer_client_v2||[]).forEach(l.bind(null,0)),f.push=l.bind(null,f.push.bind(f));var g={};return!function(){var e="",t="u">typeof document?document.currentScript:null;if(t&&t.src){var n=t.src.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"");n.indexOf("/static/plugins/@nocobase/plugin-workflow-mailer/dist/client-v2/")>=0&&(e=n.replace(/\/[^\/]+$/,"/"))}if(!e){var r=window.__webpack_public_path__||"";r&&("/"!==r.charAt(r.length-1)&&(r+="/"),e=r+"static/plugins/@nocobase/plugin-workflow-mailer/dist/client-v2/")}if(!e){var o=window.__nocobase_modern_client_prefix__||"v",i="/"+(o=String(o).replace(/^\/+|\/+$/g,"")||"v")+"/";if(!(e=window.__nocobase_public_path__||"")&&window.location&&window.location.pathname){var c=window.location.pathname||"/",u=c.indexOf(i);e=u>=0?c.slice(0,u+1):"/"}e&&(e=e.replace(RegExp("/"+o+"/?$"),"/")),e||(e="/"),"/"!==e.charAt(e.length-1)&&(e+="/"),e+="static/plugins/@nocobase/plugin-workflow-mailer/dist/client-v2/"}b.p=e}(),!function(){b.r(g),b.d(g,{MailerInstruction:function(){return f},default:function(){return w}});var e=b(485),t=b(375),n=b(197),r=b(155),o=b.n(r),i=b(488);function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return(u=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 l(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(l=function(){return!!e})()}var f=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function n(){var e,r,a;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return r=n,a=arguments,r=u(r),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(r,a||[],u(this).constructor):r.apply(this,a)),"type","mailer"),c(e,"title",(0,i.MZ)("Mailer")),c(e,"group","extended"),c(e,"description",(0,i.MZ)("Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.")),c(e,"icon",o().createElement(t.MailOutlined,null)),c(e,"FieldsetLoader",function(){return b.e("610").then(b.bind(b,649)).then(function(e){return{default:e.MailerFieldset}})}),e}return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&a(n,e),n}(n.Instruction);function s(e,t,n,r,o,i,c){try{var u=e[i](c),a=u.value}catch(e){n(e);return}u.done?t(a):Promise.resolve(a).then(r,o)}function p(e,t,n){return(p=h()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&v(o,n.prototype),o}).apply(null,arguments)}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t="function"==typeof Map?new Map:void 0;return(y=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 p(e,arguments,d(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),v(n,e)})(e)}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h=function(){return!!e})()}var w=function(e){var t;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function n(){var e,t;if(!(this instanceof n))throw TypeError("Cannot call a class as a function");return e=n,t=arguments,e=d(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,h()?Reflect.construct(e,t||[],d(this).constructor):e.apply(this,t))}return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&v(n,e),t=[{key:"load",value:function(){var e;return(e=function(){var e,t;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),u=Object.defineProperty;return u(c,"next",{value:a(0)}),u(c,"throw",{value:a(1)}),u(c,"return",{value:a(2)}),"function"==typeof Symbol&&u(c,Symbol.iterator,{value:function(){return this}}),c;function a(u){return function(a){var l=[u,a];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(n){return null==(t=this.app.pm.get("workflow"))||null==(e=t.registerInstruction)||e.call(t,"mailer",f),[2]})},function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function c(e){s(i,r,o,c,u,"next",e)}function u(e){s(i,r,o,c,u,"throw",e)}c(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)}}(n.prototype,t),n}(y(e.Plugin))}(),g}()});
@@ -0,0 +1,11 @@
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
+ export declare const NAMESPACE = "workflow-mailer";
10
+ export declare function useT(): (key: string, options?: Record<string, any>) => string;
11
+ export declare function tExpr(key: string, options?: Record<string, any>): string;
@@ -0,0 +1,13 @@
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
+ import type { Application } from '@nocobase/client-v2';
10
+ import { Plugin } from '@nocobase/client-v2';
11
+ export default class PluginWorkflowMailerClientV2 extends Plugin<Record<string, never>, Application> {
12
+ load(): Promise<void>;
13
+ }
@@ -8,12 +8,17 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
+ "@nocobase/client": "2.2.0-alpha.3",
12
+ "@nocobase/plugin-workflow": "2.2.0-alpha.3",
11
13
  "@ant-design/icons": "5.6.1",
12
- "@formily/antd-v5": "1.2.3",
13
14
  "react": "18.2.0",
14
- "@nocobase/client": "2.2.0-alpha.1",
15
- "@nocobase/plugin-workflow": "2.2.0-alpha.1",
15
+ "@nocobase/client-v2": "2.2.0-alpha.3",
16
+ "@nocobase/flow-engine": "2.2.0-alpha.3",
16
17
  "react-i18next": "11.18.6",
18
+ "@nocobase/plugin-file-manager": "2.2.0-alpha.3",
17
19
  "lodash": "4.18.1",
18
- "@nocobase/server": "2.2.0-alpha.1"
20
+ "@nocobase/server": "2.2.0-alpha.3",
21
+ "@dnd-kit/core": "6.1.0",
22
+ "@dnd-kit/sortable": "7.0.2",
23
+ "antd": "5.24.2"
19
24
  };
@@ -1,20 +1,24 @@
1
1
  {
2
+ "Add attachment": "Anhang hinzufügen",
2
3
  "Add email address": "E-Mail-Adresse hinzufügen",
4
+ "Attachments": "Anhänge",
3
5
  "BCC": "BCC",
4
6
  "CC": "CC",
5
7
  "Content": "Inhalt",
6
8
  "Content type": "Inhaltstyp",
9
+ "File record": "Dateidatensatz",
7
10
  "From": "Von",
8
11
  "Ignore failed sending and continue workflow": "Fehlgeschlagenen Versand ignorieren und Workflow fortsetzen",
9
12
  "In most cases, if using port 465, set it to true; otherwise, set it to false.": "In most cases, if using port 465, set it to true; otherwise, set it to false.",
10
13
  "Mailer": "Mailer",
14
+ "Only variables that resolve to file collection records are supported.": "Es werden nur Variablen unterstützt, die zu Dateisammlungsdatensätzen aufgelöst werden.",
11
15
  "Password": "Passwort",
12
16
  "Plain text": "Einfacher Text",
13
17
  "Port": "Port",
14
- "SMTP host": "Service-Host",
15
18
  "Secure": "Sicher",
16
19
  "Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.": "E-Mail senden durch Aufruf des SMTP-Dienstes. Sie können die Variablen in den vorgelagerten Knoten als Empfänger, Betreff und Inhalt der E-Mail verwenden.",
20
+ "SMTP host": "Service-Host",
17
21
  "Subject": "Betreff",
18
22
  "To": "An",
19
23
  "User": "Benutzer"
20
- }
24
+ }
@@ -1,20 +1,25 @@
1
1
  {
2
+ "Add attachment": "Add attachment",
2
3
  "Add email address": "Add email address",
4
+ "Attachments": "Attachments",
3
5
  "BCC": "BCC",
4
6
  "CC": "CC",
5
7
  "Content": "Content",
6
8
  "Content type": "Content type",
9
+ "File record": "File record",
7
10
  "From": "From",
8
11
  "Ignore failed sending and continue workflow": "Ignore failed sending and continue workflow",
9
12
  "In most cases, if using port 465, set it to true; otherwise, set it to false.": "In most cases, if using port 465, set it to true; otherwise, set it to false.",
10
13
  "Mailer": "Mailer",
14
+ "Only variables that resolve to file collection records are supported.": "Only variables that resolve to file collection records are supported.",
11
15
  "Password": "Password",
12
16
  "Plain text": "Plain text",
13
17
  "Port": "Port",
14
- "SMTP host": "Service host",
18
+ "Please enter at least one email address": "Please enter at least one email address",
15
19
  "Secure": "Secure",
16
20
  "Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.": "Send email by calling SMTP service. You can use the variables in the upstream nodes as receivers, subject and content of the email.",
21
+ "SMTP host": "Service host",
17
22
  "Subject": "Subject",
18
23
  "To": "To",
19
24
  "User": "User"
20
- }
25
+ }
@@ -1,20 +1,24 @@
1
1
  {
2
+ "Add attachment": "Add attachment",
2
3
  "Add email address": "Add email address",
4
+ "Attachments": "Attachments",
3
5
  "BCC": "BCC",
4
6
  "CC": "CC",
5
7
  "Content": "Content",
6
8
  "Content type": "Content type",
9
+ "File record": "File record",
7
10
  "From": "From",
8
11
  "Ignore failed sending and continue workflow": "Ignore failed sending and continue workflow",
9
12
  "In most cases, if using port 465, set it to true; otherwise, set it to false.": "In most cases, if using port 465, set it to true; otherwise, set it to false.",
10
13
  "Mailer": "Mailer",
14
+ "Only variables that resolve to file collection records are supported.": "Only variables that resolve to file collection records are supported.",
11
15
  "Password": "Password",
12
16
  "Plain text": "Plain text",
13
17
  "Port": "Port",
14
- "SMTP host": "Service host",
15
18
  "Secure": "Secure",
16
19
  "Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.": "Send email by calling SMTP service. You can use the variables in the upstream nodes as receivers, subject and content of the email.",
20
+ "SMTP host": "Service host",
17
21
  "Subject": "Subject",
18
22
  "To": "To",
19
23
  "User": "User"
20
- }
24
+ }
@@ -1,20 +1,24 @@
1
1
  {
2
+ "Add attachment": "Add attachment",
2
3
  "Add email address": "Add email address",
4
+ "Attachments": "Attachments",
3
5
  "BCC": "BCC",
4
6
  "CC": "CC",
5
7
  "Content": "Content",
6
8
  "Content type": "Content type",
9
+ "File record": "File record",
7
10
  "From": "From",
8
11
  "Ignore failed sending and continue workflow": "Ignore failed sending and continue workflow",
9
12
  "In most cases, if using port 465, set it to true; otherwise, set it to false.": "In most cases, if using port 465, set it to true; otherwise, set it to false.",
10
13
  "Mailer": "Mailer",
14
+ "Only variables that resolve to file collection records are supported.": "Only variables that resolve to file collection records are supported.",
11
15
  "Password": "Password",
12
16
  "Plain text": "Plain text",
13
17
  "Port": "Port",
14
- "SMTP host": "Service host",
15
18
  "Secure": "Secure",
16
19
  "Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.": "Send email by calling SMTP service. You can use the variables in the upstream nodes as receivers, subject and content of the email.",
20
+ "SMTP host": "Service host",
17
21
  "Subject": "Subject",
18
22
  "To": "To",
19
23
  "User": "User"
20
- }
24
+ }
@@ -1,20 +1,24 @@
1
1
  {
2
+ "Add attachment": "Melléklet hozzáadása",
2
3
  "Add email address": "E-mail cím hozzáadása",
4
+ "Attachments": "Mellékletek",
3
5
  "BCC": "Titkos másolat",
4
6
  "CC": "Másolat",
5
7
  "Content": "Tartalom",
6
8
  "Content type": "Tartalom típus",
9
+ "File record": "Fájlrekord",
7
10
  "From": "Feladó",
8
11
  "Ignore failed sending and continue workflow": "Sikertelen küldés figyelmen kívül hagyása és a munkafolyamat folytatása",
9
12
  "In most cases, if using port 465, set it to true; otherwise, set it to false.": "In most cases, if using port 465, set it to true; otherwise, set it to false.",
10
13
  "Mailer": "Levelező",
14
+ "Only variables that resolve to file collection records are supported.": "Csak fájlgyűjtemény rekordokra feloldódó változók támogatottak.",
11
15
  "Password": "Jelszó",
12
16
  "Plain text": "Egyszerű szöveg",
13
17
  "Port": "Port",
14
- "SMTP host": "SMTP kiszolgáló",
15
18
  "Secure": "Biztonságos",
16
19
  "Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.": "E-mail küldése SMTP szolgáltatás hívásával. A felsőbb csomópontokban lévő változókat használhatja a címzettek, tárgy és e-mail tartalom értékeiként.",
20
+ "SMTP host": "SMTP kiszolgáló",
17
21
  "Subject": "Tárgy",
18
22
  "To": "Címzett",
19
23
  "User": "Felhasználó"
20
- }
24
+ }
@@ -1,20 +1,24 @@
1
1
  {
2
+ "Add attachment": "Tambah lampiran",
2
3
  "Add email address": "Tambah alamat email",
4
+ "Attachments": "Lampiran",
3
5
  "BCC": "BCC",
4
6
  "CC": "CC",
5
7
  "Content": "Konten",
6
8
  "Content type": "Tipe konten",
9
+ "File record": "Rekaman file",
7
10
  "From": "Dari",
8
11
  "Ignore failed sending and continue workflow": "Abaikan pengiriman yang gagal dan lanjutkan alur kerja",
9
12
  "In most cases, if using port 465, set it to true; otherwise, set it to false.": "In most cases, if using port 465, set it to true; otherwise, set it to false.",
10
13
  "Mailer": "Mailer",
14
+ "Only variables that resolve to file collection records are supported.": "Hanya variabel yang menghasilkan rekaman koleksi file yang didukung.",
11
15
  "Password": "Kata sandi",
12
16
  "Plain text": "Teks biasa",
13
17
  "Port": "Port",
14
- "SMTP host": "Host Layanan",
15
18
  "Secure": "Aman",
16
19
  "Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.": "Kirim email dengan memanggil layanan SMTP. Anda dapat menggunakan variabel di node hulu sebagai penerima, subjek, dan konten email.",
20
+ "SMTP host": "Host Layanan",
17
21
  "Subject": "Subjek",
18
22
  "To": "Kepada",
19
23
  "User": "Pengguna"
20
- }
24
+ }
@@ -1,20 +1,24 @@
1
1
  {
2
+ "Add attachment": "Aggiungi allegato",
2
3
  "Add email address": "Aggiungi indirizzo email",
4
+ "Attachments": "Allegati",
3
5
  "BCC": "BCC",
4
6
  "CC": "CC",
5
7
  "Content": "Contenuto",
6
8
  "Content type": "Tipo di contenuto",
9
+ "File record": "Record file",
7
10
  "From": "Da",
8
11
  "Ignore failed sending and continue workflow": "Ignora l'invio fallito e continua il workflow",
9
12
  "In most cases, if using port 465, set it to true; otherwise, set it to false.": "In most cases, if using port 465, set it to true; otherwise, set it to false.",
10
13
  "Mailer": "Mailer",
14
+ "Only variables that resolve to file collection records are supported.": "Sono supportate solo le variabili che vengono risolte in record di raccolte file.",
11
15
  "Password": "Password",
12
16
  "Plain text": "Testo semplice",
13
17
  "Port": "Porta",
14
- "SMTP host": "Host servizio",
15
18
  "Secure": "Sicuro",
16
19
  "Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.": "Invia email chiamando il servizio SMTP. Puoi usare le variabili nei nodi upstream come destinatari, oggetto e contenuto dell'email.",
20
+ "SMTP host": "Host servizio",
17
21
  "Subject": "Oggetto",
18
22
  "To": "A",
19
23
  "User": "Utente"
20
- }
24
+ }
@@ -1,20 +1,24 @@
1
1
  {
2
+ "Add attachment": "添付ファイルを追加",
2
3
  "Add email address": "メールアドレスを追加",
4
+ "Attachments": "添付ファイル",
3
5
  "BCC": "BCC",
4
6
  "CC": "CC",
5
7
  "Content": "内容",
6
8
  "Content type": "内容の形式",
9
+ "File record": "ファイルレコード",
7
10
  "From": "送信元",
8
11
  "Ignore failed sending and continue workflow": "送信失敗を無視してワークフローを継続",
9
12
  "In most cases, if using port 465, set it to true; otherwise, set it to false.": "In most cases, if using port 465, set it to true; otherwise, set it to false.",
10
13
  "Mailer": "メール送信",
14
+ "Only variables that resolve to file collection records are supported.": "ファイルコレクションのレコードに解決される変数のみサポートされています。",
11
15
  "Password": "パスワード",
12
16
  "Plain text": "プレーンテキスト",
13
17
  "Port": "ポート",
14
- "SMTP host": "SMTPホスト",
15
18
  "Secure": "セキュア",
16
19
  "Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.": "メールを送信します。上流ノードの変数を受信者、件名、内容として使用可能です。",
20
+ "SMTP host": "SMTPホスト",
17
21
  "Subject": "件名",
18
22
  "To": "宛先",
19
23
  "User": "ユーザー"
20
- }
24
+ }
@@ -1,20 +1,24 @@
1
1
  {
2
+ "Add attachment": "첨부 파일 추가",
2
3
  "Add email address": "이메일 주소 추가",
4
+ "Attachments": "첨부 파일",
3
5
  "BCC": "숨은 참조",
4
6
  "CC": "참조",
5
7
  "Content": "내용",
6
8
  "Content type": "내용 유형",
9
+ "File record": "파일 레코드",
7
10
  "From": "보낸 사람",
8
11
  "Ignore failed sending and continue workflow": "전송 실패 시 무시하고 워크플로 계속",
9
12
  "In most cases, if using port 465, set it to true; otherwise, set it to false.": "In most cases, if using port 465, set it to true; otherwise, set it to false.",
10
13
  "Mailer": "메일러",
14
+ "Only variables that resolve to file collection records are supported.": "파일 컬렉션 레코드로 해석되는 변수만 지원됩니다.",
11
15
  "Password": "비밀번호",
12
16
  "Plain text": "일반 텍스트",
13
17
  "Port": "포트",
14
- "SMTP host": "서비스 호스트",
15
18
  "Secure": "보안",
16
19
  "Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.": "SMTP 서비스를 호출하여 이메일을 보냅니다. 상위 노드의 변수를 수신자, 제목, 내용으로 사용할 수 있습니다.",
20
+ "SMTP host": "서비스 호스트",
17
21
  "Subject": "제목",
18
22
  "To": "받는 사람",
19
23
  "User": "사용자"
20
- }
24
+ }
@@ -1,20 +1,24 @@
1
1
  {
2
+ "Add attachment": "Bijlage toevoegen",
2
3
  "Add email address": "E-mailadres toevoegen",
4
+ "Attachments": "Bijlagen",
3
5
  "BCC": "BCC",
4
6
  "CC": "CC",
5
7
  "Content": "Inhoud",
6
8
  "Content type": "Inhoudstype",
9
+ "File record": "Bestandsrecord",
7
10
  "From": "Van",
8
11
  "Ignore failed sending and continue workflow": "Negeer mislukte verzending en ga door met de workflow",
9
12
  "In most cases, if using port 465, set it to true; otherwise, set it to false.": "In most cases, if using port 465, set it to true; otherwise, set it to false.",
10
13
  "Mailer": "Verzender",
14
+ "Only variables that resolve to file collection records are supported.": "Alleen variabelen die worden opgelost naar records uit bestandscollecties worden ondersteund.",
11
15
  "Password": "Wachtwoord",
12
16
  "Plain text": "Platte tekst",
13
17
  "Port": "Poort",
14
- "SMTP host": "SMTP host",
15
18
  "Secure": "Veilig",
16
19
  "Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.": "Stuur e-mail door de SMTP-service aan te roepen. Je kan de variabelen in de stroomopwaartse nodes gebruiken als ontvangers, onderwerp en inhoud van de e-mail.",
20
+ "SMTP host": "SMTP host",
17
21
  "Subject": "Onderwerp",
18
22
  "To": "Naar",
19
23
  "User": "Gebruiker"
20
- }
24
+ }
@@ -1,20 +1,24 @@
1
1
  {
2
+ "Add attachment": "Add attachment",
2
3
  "Add email address": "Add email address",
4
+ "Attachments": "Attachments",
3
5
  "BCC": "BCC",
4
6
  "CC": "CC",
5
7
  "Content": "Content",
6
8
  "Content type": "Content type",
9
+ "File record": "File record",
7
10
  "From": "From",
8
11
  "Ignore failed sending and continue workflow": "Ignore failed sending and continue workflow",
9
12
  "In most cases, if using port 465, set it to true; otherwise, set it to false.": "In most cases, if using port 465, set it to true; otherwise, set it to false.",
10
13
  "Mailer": "Mailer",
14
+ "Only variables that resolve to file collection records are supported.": "Only variables that resolve to file collection records are supported.",
11
15
  "Password": "Password",
12
16
  "Plain text": "Plain text",
13
17
  "Port": "Port",
14
- "SMTP host": "Service host",
15
18
  "Secure": "Secure",
16
19
  "Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.": "Send email by calling SMTP service. You can use the variables in the upstream nodes as receivers, subject and content of the email.",
20
+ "SMTP host": "Service host",
17
21
  "Subject": "Subject",
18
22
  "To": "To",
19
23
  "User": "User"
20
- }
24
+ }
@@ -1,20 +1,24 @@
1
1
  {
2
+ "Add attachment": "Добавить вложение",
2
3
  "Add email address": "Добавить email-адрес",
4
+ "Attachments": "Вложения",
3
5
  "BCC": "Скрытая копия (BCC)",
4
6
  "CC": "Копия (CC)",
5
7
  "Content": "Содержание",
6
8
  "Content type": "Тип содержания",
9
+ "File record": "Файловая запись",
7
10
  "From": "От",
8
11
  "Ignore failed sending and continue workflow": "Игнорировать неудачную отправку и продолжить рабочий процесс",
9
12
  "In most cases, if using port 465, set it to true; otherwise, set it to false.": "В большинстве случаев, если используется порт 465, установите true; иначе установите false.",
10
13
  "Mailer": "Почтовый сервис",
14
+ "Only variables that resolve to file collection records are supported.": "Поддерживаются только переменные, которые разрешаются в записи файловой коллекции.",
11
15
  "Password": "Пароль",
12
16
  "Plain text": "Простой текст",
13
17
  "Port": "Порт",
14
- "SMTP host": "Хост SMTP-сервиса",
15
18
  "Secure": "Безопасное соединение",
16
19
  "Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.": "Отправить email, вызвав SMTP-сервис. Вы можете использовать переменные из предыдущих узлов в качестве получателей, темы и содержания письма.",
20
+ "SMTP host": "Хост SMTP-сервиса",
17
21
  "Subject": "Тема",
18
22
  "To": "Кому",
19
23
  "User": "Пользователь"
20
- }
24
+ }
@@ -1,20 +1,24 @@
1
1
  {
2
+ "Add attachment": "Add attachment",
2
3
  "Add email address": "Add email address",
4
+ "Attachments": "Attachments",
3
5
  "BCC": "BCC",
4
6
  "CC": "CC",
5
7
  "Content": "Content",
6
8
  "Content type": "Content type",
9
+ "File record": "File record",
7
10
  "From": "From",
8
11
  "Ignore failed sending and continue workflow": "Ignore failed sending and continue workflow",
9
12
  "In most cases, if using port 465, set it to true; otherwise, set it to false.": "In most cases, if using port 465, set it to true; otherwise, set it to false.",
10
13
  "Mailer": "Mailer",
14
+ "Only variables that resolve to file collection records are supported.": "Only variables that resolve to file collection records are supported.",
11
15
  "Password": "Password",
12
16
  "Plain text": "Plain text",
13
17
  "Port": "Port",
14
- "SMTP host": "Service host",
15
18
  "Secure": "Secure",
16
19
  "Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.": "Send email by calling SMTP service. You can use the variables in the upstream nodes as receivers, subject and content of the email.",
20
+ "SMTP host": "Service host",
17
21
  "Subject": "Subject",
18
22
  "To": "To",
19
23
  "User": "User"
20
- }
24
+ }
@@ -1,20 +1,24 @@
1
1
  {
2
+ "Add attachment": "Add attachment",
2
3
  "Add email address": "Add email address",
4
+ "Attachments": "Attachments",
3
5
  "BCC": "BCC",
4
6
  "CC": "CC",
5
7
  "Content": "Content",
6
8
  "Content type": "Content type",
9
+ "File record": "File record",
7
10
  "From": "From",
8
11
  "Ignore failed sending and continue workflow": "Ignore failed sending and continue workflow",
9
12
  "In most cases, if using port 465, set it to true; otherwise, set it to false.": "In most cases, if using port 465, set it to true; otherwise, set it to false.",
10
13
  "Mailer": "Mailer",
14
+ "Only variables that resolve to file collection records are supported.": "Only variables that resolve to file collection records are supported.",
11
15
  "Password": "Password",
12
16
  "Plain text": "Plain text",
13
17
  "Port": "Port",
14
- "SMTP host": "Service host",
15
18
  "Secure": "Secure",
16
19
  "Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.": "Send email by calling SMTP service. You can use the variables in the upstream nodes as receivers, subject and content of the email.",
20
+ "SMTP host": "Service host",
17
21
  "Subject": "Subject",
18
22
  "To": "To",
19
23
  "User": "User"
20
- }
24
+ }
@@ -1,20 +1,24 @@
1
1
  {
2
+ "Add attachment": "Thêm tệp đính kèm",
2
3
  "Add email address": "Add email address",
4
+ "Attachments": "Tệp đính kèm",
3
5
  "BCC": "BCC",
4
6
  "CC": "CC",
5
7
  "Content": "Nội dung",
6
8
  "Content type": "Loại nội dung",
9
+ "File record": "Bản ghi tệp",
7
10
  "From": "Từ",
8
11
  "Ignore failed sending and continue workflow": "Bỏ qua gửi thất bại và tiếp tục quy trình",
9
12
  "In most cases, if using port 465, set it to true; otherwise, set it to false.": "In most cases, if using port 465, set it to true; otherwise, set it to false.",
10
13
  "Mailer": "Người gửi mail",
14
+ "Only variables that resolve to file collection records are supported.": "Chỉ hỗ trợ các biến được phân giải thành bản ghi bộ sưu tập tệp.",
11
15
  "Password": "Mật khẩu",
12
16
  "Plain text": "Văn bản thuần",
13
17
  "Port": "Cổng",
14
- "SMTP host": "Máy chủ dịch vụ",
15
18
  "Secure": "Bảo mật",
16
19
  "Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.": "Gửi email bằng cách gọi dịch vụ SMTP. Bạn có thể sử dụng các biến trong các nút phía trước làm người nhận, chủ đề và nội dung của email.",
20
+ "SMTP host": "Máy chủ dịch vụ",
17
21
  "Subject": "Chủ đề",
18
22
  "To": "Đến",
19
23
  "User": "Người dùng"
20
- }
24
+ }
@@ -1,20 +1,25 @@
1
1
  {
2
+ "Add attachment": "新增附件",
2
3
  "Add email address": "新增邮件地址",
4
+ "Attachments": "附件",
3
5
  "BCC": "暗送",
4
6
  "CC": "抄送",
5
7
  "Content": "内容",
6
8
  "Content type": "内容格式",
9
+ "File record": "文件记录",
7
10
  "From": "发件人",
8
11
  "Ignore failed sending and continue workflow": "忽略失败的发送并继续工作流",
9
12
  "In most cases, if using port 465, set it to true; otherwise, set it to false.": "通常情况下,如果使用端口 465 ,请设置为 true ;否则,请设置为 false 。",
10
13
  "Mailer": "邮件发送",
14
+ "Only variables that resolve to file collection records are supported.": "仅支持解析结果为文件表记录的变量。",
11
15
  "Password": "密码",
12
16
  "Plain text": "纯文本",
13
17
  "Port": "端口",
14
- "SMTP host": "SMTP 服务主机名",
18
+ "Please enter at least one email address": "请至少输入一个邮件地址",
15
19
  "Secure": "安全模式",
16
20
  "Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.": "发送邮件。可以使用上游节点中的变量作为邮件的接收者、主题和内容。",
21
+ "SMTP host": "SMTP 服务主机名",
17
22
  "Subject": "主题",
18
23
  "To": "收件人",
19
24
  "User": "用户名"
20
- }
25
+ }
@@ -1,20 +1,24 @@
1
1
  {
2
+ "Add attachment": "Add attachment",
2
3
  "Add email address": "Add email address",
4
+ "Attachments": "Attachments",
3
5
  "BCC": "BCC",
4
6
  "CC": "CC",
5
7
  "Content": "Content",
6
8
  "Content type": "Content type",
9
+ "File record": "File record",
7
10
  "From": "From",
8
11
  "Ignore failed sending and continue workflow": "Ignore failed sending and continue workflow",
9
12
  "In most cases, if using port 465, set it to true; otherwise, set it to false.": "In most cases, if using port 465, set it to true; otherwise, set it to false.",
10
13
  "Mailer": "Mailer",
14
+ "Only variables that resolve to file collection records are supported.": "Only variables that resolve to file collection records are supported.",
11
15
  "Password": "Password",
12
16
  "Plain text": "Plain text",
13
17
  "Port": "Port",
14
- "SMTP host": "Service host",
15
18
  "Secure": "Secure",
16
19
  "Send email. You can use the variables in the upstream nodes as receivers, subject and content of the email.": "Send email by calling SMTP service. You can use the variables in the upstream nodes as receivers, subject and content of the email.",
20
+ "SMTP host": "Service host",
17
21
  "Subject": "Subject",
18
22
  "To": "To",
19
23
  "User": "User"
20
- }
24
+ }
@@ -1 +1 @@
1
- {"name":"joi","description":"Object schema validation","version":"17.13.3","repository":"git://github.com/hapijs/joi","main":"lib/index.js","types":"lib/index.d.ts","browser":"dist/joi-browser.min.js","files":["lib/**/*","dist/*"],"keywords":["schema","validation"],"dependencies":{"@hapi/hoek":"^9.3.0","@hapi/topo":"^5.1.0","@sideway/address":"^4.1.5","@sideway/formula":"^3.0.1","@sideway/pinpoint":"^2.0.0"},"devDependencies":{"@hapi/bourne":"2.x.x","@hapi/code":"8.x.x","@hapi/joi-legacy-test":"npm:@hapi/joi@15.x.x","@hapi/lab":"^25.1.3","@types/node":"^14.18.63","typescript":"4.3.x"},"scripts":{"prepublishOnly":"cd browser && npm install && npm run build","test":"lab -t 100 -a @hapi/code -L -Y","test-cov-html":"lab -r html -o coverage.html -a @hapi/code"},"license":"BSD-3-Clause","_lastModified":"2026-06-10T18:13:28.744Z"}
1
+ {"name":"joi","description":"Object schema validation","version":"17.13.3","repository":"git://github.com/hapijs/joi","main":"lib/index.js","types":"lib/index.d.ts","browser":"dist/joi-browser.min.js","files":["lib/**/*","dist/*"],"keywords":["schema","validation"],"dependencies":{"@hapi/hoek":"^9.3.0","@hapi/topo":"^5.1.0","@sideway/address":"^4.1.5","@sideway/formula":"^3.0.1","@sideway/pinpoint":"^2.0.0"},"devDependencies":{"@hapi/bourne":"2.x.x","@hapi/code":"8.x.x","@hapi/joi-legacy-test":"npm:@hapi/joi@15.x.x","@hapi/lab":"^25.1.3","@types/node":"^14.18.63","typescript":"4.3.x"},"scripts":{"prepublishOnly":"cd browser && npm install && npm run build","test":"lab -t 100 -a @hapi/code -L -Y","test-cov-html":"lab -r html -o coverage.html -a @hapi/code"},"license":"BSD-3-Clause","_lastModified":"2026-06-27T03:57:26.064Z"}
@@ -1 +1 @@
1
- {"name":"nodemailer","version":"6.9.13","description":"Easy as cake e-mail sending from your Node.js applications","main":"lib/nodemailer.js","scripts":{"test":"node --test --test-concurrency=1 test/**/*.test.js test/**/*-test.js","test:coverage":"c8 node --test --test-concurrency=1 test/**/*.test.js test/**/*-test.js","lint":"eslint .","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.529.1","bunyan":"1.8.15","c8":"9.1.0","eslint":"8.57.0","eslint-config-nodemailer":"1.2.0","eslint-config-prettier":"9.1.0","libbase64":"1.3.0","libmime":"5.3.4","libqp":"2.1.0","nodemailer-ntlm-auth":"1.0.4","proxy":"1.0.2","proxy-test-server":"1.0.0","smtp-server":"3.13.3"},"engines":{"node":">=6.0.0"},"_lastModified":"2026-06-10T18:13:29.425Z"}
1
+ {"name":"nodemailer","version":"6.9.13","description":"Easy as cake e-mail sending from your Node.js applications","main":"lib/nodemailer.js","scripts":{"test":"node --test --test-concurrency=1 test/**/*.test.js test/**/*-test.js","test:coverage":"c8 node --test --test-concurrency=1 test/**/*.test.js test/**/*-test.js","lint":"eslint .","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.529.1","bunyan":"1.8.15","c8":"9.1.0","eslint":"8.57.0","eslint-config-nodemailer":"1.2.0","eslint-config-prettier":"9.1.0","libbase64":"1.3.0","libmime":"5.3.4","libqp":"2.1.0","nodemailer-ntlm-auth":"1.0.4","proxy":"1.0.2","proxy-test-server":"1.0.0","smtp-server":"3.13.3"},"engines":{"node":">=6.0.0"},"_lastModified":"2026-06-27T03:57:26.742Z"}
@@ -10,6 +10,8 @@ import Joi from 'joi';
10
10
  import { FlowNodeModel, Instruction, InstructionResult, JobModel, Processor } from '@nocobase/plugin-workflow';
11
11
  export default class MailerInstruction extends Instruction {
12
12
  configSchema: Joi.ObjectSchema<any>;
13
+ private getAttachments;
14
+ private getPayload;
13
15
  run(node: FlowNodeModel, prevJob: JobModel, processor: Processor, options?: {
14
16
  signal?: AbortSignal;
15
17
  }): Promise<InstructionResult>;