@nocobase/plugin-workflow-sql 2.1.0-beta.2 → 2.1.0-beta.21

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.
Files changed (64) hide show
  1. package/LICENSE +201 -661
  2. package/README.md +79 -10
  3. package/dist/client/SQLInstruction.d.ts +76 -2
  4. package/dist/client/index.js +1 -1
  5. package/dist/externalVersion.js +11 -7
  6. package/dist/locale/de-DE.json +9 -2
  7. package/dist/locale/en-US.json +9 -1
  8. package/dist/locale/es-ES.json +9 -2
  9. package/dist/locale/fr-FR.json +9 -2
  10. package/dist/locale/hu-HU.json +9 -2
  11. package/dist/locale/id-ID.json +9 -2
  12. package/dist/locale/it-IT.json +9 -2
  13. package/dist/locale/ja-JP.json +9 -2
  14. package/dist/locale/ko-KR.json +9 -2
  15. package/dist/locale/nl-NL.json +9 -2
  16. package/dist/locale/pt-BR.json +9 -2
  17. package/dist/locale/ru-RU.json +9 -2
  18. package/dist/locale/tr-TR.json +9 -2
  19. package/dist/locale/uk-UA.json +9 -2
  20. package/dist/locale/vi-VN.json +9 -2
  21. package/dist/locale/zh-CN.json +10 -2
  22. package/dist/locale/zh-TW.json +10 -3
  23. package/dist/node_modules/joi/dist/joi-browser.min.js +1 -0
  24. package/dist/node_modules/joi/lib/annotate.js +175 -0
  25. package/dist/node_modules/joi/lib/base.js +1069 -0
  26. package/dist/node_modules/joi/lib/cache.js +143 -0
  27. package/dist/node_modules/joi/lib/common.js +216 -0
  28. package/dist/node_modules/joi/lib/compile.js +283 -0
  29. package/dist/node_modules/joi/lib/errors.js +271 -0
  30. package/dist/node_modules/joi/lib/extend.js +312 -0
  31. package/dist/node_modules/joi/lib/index.d.ts +2365 -0
  32. package/dist/node_modules/joi/lib/index.js +1 -0
  33. package/dist/node_modules/joi/lib/manifest.js +476 -0
  34. package/dist/node_modules/joi/lib/messages.js +178 -0
  35. package/dist/node_modules/joi/lib/modify.js +267 -0
  36. package/dist/node_modules/joi/lib/ref.js +414 -0
  37. package/dist/node_modules/joi/lib/schemas.js +302 -0
  38. package/dist/node_modules/joi/lib/state.js +166 -0
  39. package/dist/node_modules/joi/lib/template.js +463 -0
  40. package/dist/node_modules/joi/lib/trace.js +346 -0
  41. package/dist/node_modules/joi/lib/types/alternatives.js +364 -0
  42. package/dist/node_modules/joi/lib/types/any.js +174 -0
  43. package/dist/node_modules/joi/lib/types/array.js +809 -0
  44. package/dist/node_modules/joi/lib/types/binary.js +100 -0
  45. package/dist/node_modules/joi/lib/types/boolean.js +150 -0
  46. package/dist/node_modules/joi/lib/types/date.js +233 -0
  47. package/dist/node_modules/joi/lib/types/function.js +93 -0
  48. package/dist/node_modules/joi/lib/types/keys.js +1067 -0
  49. package/dist/node_modules/joi/lib/types/link.js +168 -0
  50. package/dist/node_modules/joi/lib/types/number.js +363 -0
  51. package/dist/node_modules/joi/lib/types/object.js +22 -0
  52. package/dist/node_modules/joi/lib/types/string.js +850 -0
  53. package/dist/node_modules/joi/lib/types/symbol.js +102 -0
  54. package/dist/node_modules/joi/lib/validator.js +750 -0
  55. package/dist/node_modules/joi/lib/values.js +263 -0
  56. package/dist/node_modules/joi/node_modules/@hapi/topo/lib/index.d.ts +60 -0
  57. package/dist/node_modules/joi/node_modules/@hapi/topo/lib/index.js +225 -0
  58. package/dist/node_modules/joi/node_modules/@hapi/topo/package.json +30 -0
  59. package/dist/node_modules/joi/package.json +1 -0
  60. package/dist/server/SQLInstruction.d.ts +8 -1
  61. package/dist/server/SQLInstruction.js +62 -5
  62. package/dist/server/migrations/20260327120000-add-unsafe-injection-flag.d.ts +13 -0
  63. package/dist/server/migrations/20260327120000-add-unsafe-injection-flag.js +65 -0
  64. package/package.json +4 -3
package/README.md CHANGED
@@ -1,17 +1,24 @@
1
1
  # NocoBase
2
2
 
3
3
  <video width="100%" controls>
4
- <source src="https://static-docs.nocobase.com/NocoBase0510.mp4" type="video/mp4">
4
+ <source src="https://github.com/user-attachments/assets/4d11a87b-00e2-48f3-9bf7-389d21072d13" type="video/mp4">
5
5
  </video>
6
6
 
7
+ <p align="center">
8
+ <a href="https://trendshift.io/repositories/4112" target="_blank"><img src="https://trendshift.io/api/badge/repositories/4112" alt="nocobase%2Fnocobase | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
9
+ <a href="https://www.producthunt.com/posts/nocobase?embed=true&utm_source=badge-top-post-topic-badge&utm_medium=badge&utm_souce=badge-nocobase" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/top-post-topic-badge.svg?post_id=456520&theme=light&period=weekly&topic_id=267" alt="NocoBase - Scalability&#0045;first&#0044;&#0032;open&#0045;source&#0032;no&#0045;code&#0032;platform | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
10
+ </p>
7
11
 
8
12
  ## What is NocoBase
9
13
 
10
- NocoBase is a scalability-first, open-source no-code development platform.
11
- Instead of investing years of time and millions of dollars in research and development, deploy NocoBase in a few minutes and you'll have a private, controllable, and extremely scalable no-code development platform!
14
+ NocoBase is the most extensible AI-powered no-code platform.
15
+ Total control. Infinite extensibility. AI collaboration.
16
+ Enable your team to adapt quickly and cut costs dramatically.
17
+ No years of development. No millions wasted.
18
+ Deploy NocoBase in minutes — and take control of everything.
12
19
 
13
20
  Homepage:
14
- https://www.nocobase.com/
21
+ https://www.nocobase.com/
15
22
 
16
23
  Online Demo:
17
24
  https://demo.nocobase.com/new
@@ -19,12 +26,74 @@ https://demo.nocobase.com/new
19
26
  Documents:
20
27
  https://docs.nocobase.com/
21
28
 
22
- Commericial license & plugins:
23
- https://www.nocobase.com/en/commercial
29
+ Forum:
30
+ https://forum.nocobase.com/
24
31
 
25
- License agreement:
26
- https://www.nocobase.com/en/agreement
32
+ Use Cases:
33
+ https://www.nocobase.com/en/blog/tags/customer-stories
27
34
 
35
+ ## Release Notes
28
36
 
29
- ## Contact Us:
30
- hello@nocobase.com
37
+ Our [blog](https://www.nocobase.com/en/blog/timeline) is regularly updated with release notes and provides a weekly summary.
38
+
39
+ ## Distinctive features
40
+
41
+ ### 1. Data model-driven, not form/table–driven
42
+
43
+ Instead of being constrained by forms or tables, NocoBase adopts a data model–driven approach, separating data structure from user interface to unlock unlimited possibilities.
44
+
45
+ - UI and data structure are fully decoupled
46
+ - Multiple blocks and actions can be created for the same table or record in any quantity or form
47
+ - Supports the main database, external databases, and third-party APIs as data sources
48
+
49
+ ![model](https://static-docs.nocobase.com/model.png)
50
+
51
+ ### 2. AI employees, integrated into your business systems
52
+ Unlike standalone AI demos, NocoBase allows you to embed AI capabilities seamlessly into your interfaces, workflows, and data context, making AI truly useful in real business scenarios.
53
+
54
+ - Define AI employees for roles such as translator, analyst, researcher, or assistant
55
+ - Seamless AI–human collaboration in interfaces and workflows
56
+ - Ensure AI usage is secure, transparent, and customizable for your business needs
57
+
58
+ ![AI-employee](https://static-docs.nocobase.com/ai-employee-home.png)
59
+
60
+ ### 3. What you see is what you get, incredibly easy to use
61
+
62
+ While enabling the development of complex business systems, NocoBase keeps the experience simple and intuitive.
63
+
64
+ - One-click switch between usage mode and configuration mode
65
+ - Pages serve as a canvas to arrange blocks and actions, similar to Notion
66
+ - Configuration mode is designed for ordinary users, not just programmers
67
+
68
+ ![wysiwyg](https://static-docs.nocobase.com/wysiwyg.gif)
69
+
70
+ ### 4. Everything is a plugin, designed for extension
71
+ Adding more no-code features will never cover every business case. NocoBase is built for extension through its plugin-based microkernel architecture.
72
+
73
+ - All functionalities are plugins, similar to WordPress
74
+ - Plugins are ready to use upon installation
75
+ - Pages, blocks, actions, APIs, and data sources can all be extended through custom plugins
76
+
77
+ ![plugins](https://static-docs.nocobase.com/plugins.png)
78
+
79
+ ## Installation
80
+
81
+ NocoBase supports three installation methods:
82
+
83
+ - <a target="_blank" href="https://docs.nocobase.com/welcome/getting-started/installation/docker-compose">Installing With Docker (👍Recommended)</a>
84
+
85
+ Suitable for no-code scenarios, no code to write. When upgrading, just download the latest image and reboot.
86
+
87
+ - <a target="_blank" href="https://docs.nocobase.com/welcome/getting-started/installation/create-nocobase-app">Installing from create-nocobase-app CLI</a>
88
+
89
+ The business code of the project is completely independent and supports low-code development.
90
+
91
+ - <a target="_blank" href="https://docs.nocobase.com/welcome/getting-started/installation/git-clone">Installing from Git source code</a>
92
+
93
+ If you want to experience the latest unreleased version, or want to participate in the contribution, you need to make changes and debug on the source code, it is recommended to choose this installation method, which requires a high level of development skills, and if the code has been updated, you can git pull the latest code.
94
+
95
+ ## How NocoBase works
96
+
97
+ <video width="100%" controls>
98
+ <source src="https://github.com/user-attachments/assets/8d183b44-9bb5-4792-b08f-bc08fe8dfaaf" type="video/mp4">
99
+ </video>
@@ -6,8 +6,10 @@
6
6
  * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
- import { Instruction, WorkflowVariableRawTextArea } from '@nocobase/plugin-workflow/client';
9
+ import { Instruction, WorkflowVariableInput } from '@nocobase/plugin-workflow/client';
10
10
  import React from 'react';
11
+ declare function SQLTextArea(props: any): React.JSX.Element;
12
+ declare function UnsafeInjectionWarning(): React.JSX.Element;
11
13
  export default class extends Instruction {
12
14
  title: string;
13
15
  type: string;
@@ -28,6 +30,10 @@ export default class extends Instruction {
28
30
  };
29
31
  default: string;
30
32
  };
33
+ unsafeInjection: {
34
+ type: string;
35
+ 'x-component': string;
36
+ };
31
37
  sql: {
32
38
  type: string;
33
39
  required: boolean;
@@ -40,6 +46,63 @@ export default class extends Instruction {
40
46
  className: string;
41
47
  };
42
48
  };
49
+ variables: {
50
+ type: string;
51
+ title: string;
52
+ description: string;
53
+ 'x-decorator': string;
54
+ 'x-component': string;
55
+ 'x-reactions': {
56
+ dependencies: string[];
57
+ fulfill: {
58
+ state: {
59
+ visible: string;
60
+ };
61
+ };
62
+ }[];
63
+ items: {
64
+ type: string;
65
+ properties: {
66
+ space1: {
67
+ type: string;
68
+ 'x-component': string;
69
+ properties: {
70
+ name: {
71
+ type: string;
72
+ 'x-decorator': string;
73
+ 'x-component': string;
74
+ 'x-component-props': {
75
+ placeholder: string;
76
+ };
77
+ required: boolean;
78
+ };
79
+ value: {
80
+ type: string;
81
+ 'x-decorator': string;
82
+ 'x-component': string;
83
+ 'x-component-props': {
84
+ rows: number;
85
+ placeholder: string;
86
+ };
87
+ required: boolean;
88
+ };
89
+ remove: {
90
+ type: string;
91
+ 'x-decorator': string;
92
+ 'x-component': string;
93
+ };
94
+ };
95
+ };
96
+ };
97
+ };
98
+ properties: {
99
+ add: {
100
+ type: string;
101
+ 'x-component': string;
102
+ title: string;
103
+ };
104
+ };
105
+ };
43
106
  withMeta: {
44
107
  type: string;
45
108
  'x-decorator': string;
@@ -51,7 +114,17 @@ export default class extends Instruction {
51
114
  sqlDescription(): React.JSX.Element;
52
115
  };
53
116
  components: {
54
- WorkflowVariableRawTextArea: typeof WorkflowVariableRawTextArea;
117
+ SQLTextArea: typeof SQLTextArea;
118
+ UnsafeInjectionWarning: typeof UnsafeInjectionWarning;
119
+ WorkflowVariableInput: typeof WorkflowVariableInput;
120
+ ArrayItems: import("@formily/react").ReactFC<React.HTMLAttributes<HTMLDivElement>> & import("@formily/antd-v5").ArrayBaseMixins & {
121
+ Item: import("@formily/react").ReactFC<React.HTMLAttributes<HTMLDivElement> & {
122
+ type?: "card" | "divide";
123
+ }>;
124
+ };
125
+ Space: React.ForwardRefExoticComponent<import("antd").SpaceProps & React.RefAttributes<HTMLDivElement>> & {
126
+ Compact: React.FC<import("antd/es/space/Compact").SpaceCompactProps>;
127
+ };
55
128
  };
56
129
  useVariables({ key, title }: {
57
130
  key: any;
@@ -69,3 +142,4 @@ export default class extends Instruction {
69
142
  };
70
143
  testable: boolean;
71
144
  }
145
+ export {};
@@ -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"),require("@nocobase/client"),require("@ant-design/icons"),require("@nocobase/plugin-workflow/client"),require("react-i18next")):"function"==typeof define&&define.amd?define("@nocobase/plugin-workflow-sql",["react","@nocobase/client","@ant-design/icons","@nocobase/plugin-workflow/client","react-i18next"],t):"object"==typeof exports?exports["@nocobase/plugin-workflow-sql"]=t(require("react"),require("@nocobase/client"),require("@ant-design/icons"),require("@nocobase/plugin-workflow/client"),require("react-i18next")):e["@nocobase/plugin-workflow-sql"]=t(e.react,e["@nocobase/client"],e["@ant-design/icons"],e["@nocobase/plugin-workflow/client"],e["react-i18next"])}(self,function(e,t,n,r,o){return function(){"use strict";var i={482:function(e){e.exports=n},772:function(e){e.exports=t},433:function(e){e.exports=r},156:function(t){t.exports=e},238:function(e){e.exports=o}},u={};function c(e){var t=u[e];if(void 0!==t)return t.exports;var n=u[e]={exports:{}};return i[e](n,n.exports,c),n.exports}c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},c.d=function(e,t){for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return!function(){c.r(a),c.d(a,{default:function(){return k}});var e=c(772),t=c(433),n=c(156),r=c.n(n),o=c(482),i=c(238),u="@nocobase/plugin-workflow-sql";function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}function b(){var e,t,n=(e=["\n font-size: 80%;\n font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;\n "],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return b=function(){return n},n}var y=function(n){var c;if("function"!=typeof n&&null!==n)throw TypeError("Super expression must either be null or a function");function a(){var n,c,s;if(!(this instanceof a))throw TypeError("Cannot call a class as a function");return c=a,s=arguments,c=f(c),l(n=function(e,t){var n;if(t&&("object"==((n=t)&&"undefined"!=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,p()?Reflect.construct(c,s||[],f(this).constructor):c.apply(this,s)),"title",'{{t("SQL action", { ns: "'.concat(u,'" })}}')),l(n,"type","sql"),l(n,"group","collection"),l(n,"description",'{{t("Execute a SQL statement in database.", { ns: "'.concat(u,'" })}}')),l(n,"icon",r().createElement(o.ConsoleSqlOutlined,{style:{}})),l(n,"fieldset",{dataSource:{type:"string",required:!0,title:'{{t("Data source")}}',description:'{{t("Select a data source to execute SQL.", { ns: "'.concat(u,'" })}}'),"x-decorator":"FormItem","x-component":"DataSourceSelect","x-component-props":{className:"auto-width",filter:function(t){return t.options.isDBInstance||t.key===e.DEFAULT_DATA_SOURCE_KEY}},default:"main"},sql:{type:"string",required:!0,title:"SQL",description:"{{sqlDescription()}}","x-decorator":"FormItem","x-component":"WorkflowVariableRawTextArea","x-component-props":{rows:20,className:(0,e.css)(b())}},withMeta:{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox","x-content":'{{t("Include meta information of this query in result", { ns: "'.concat(u,'" })}}')}}),l(n,"scope",{sqlDescription:function(){return r().createElement(i.Trans,{ns:u},"SQL query result could be used through ",r().createElement("a",{href:"https://docs-cn.nocobase.com/handbook/workflow-json-query",target:"_blank",rel:"noreferrer"},"JSON query node")," (Commercial plugin).")}}),l(n,"components",{WorkflowVariableRawTextArea:t.WorkflowVariableRawTextArea}),l(n,"testable",!0),n}return a.prototype=Object.create(n&&n.prototype,{constructor:{value:a,writable:!0,configurable:!0}}),n&&s(a,n),c=[{key:"useVariables",value:function(e,n){var r,o=e.key,i=e.title,u=(n.types,n.fieldNames),c=void 0===u?t.defaultFieldNames:u;return l(r={},c.value,o),l(r,c.label,i),r}}],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)}}(a.prototype,c),a}(t.Instruction);function d(e,t,n,r,o,i,u){try{var c=e[i](u),a=c.value}catch(e){n(e);return}c.done?t(a):Promise.resolve(a).then(r,o)}function v(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(e){d(i,r,o,u,c,"next",e)}function c(e){d(i,r,o,u,c,"throw",e)}u(void 0)})}}function h(e,t,n){return(h=x()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&w(o,n.prototype),o}).apply(null,arguments)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t="function"==typeof Map?new Map:void 0;return(g=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 h(e,arguments,m(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),w(n,e)})(e)}function x(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(x=function(){return!!e})()}function O(e,t){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){var a=[i,c];if(n)throw TypeError("Generator is already executing.");for(;u;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,r=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===a[0]||2===a[0])){u=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(6===a[0]&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=t.call(e,u)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}}var k=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=m(e),function(e,t){var n;if(t&&("object"==((n=t)&&"undefined"!=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,x()?Reflect.construct(e,t||[],m(this).constructor):e.apply(this,t))}return n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&w(n,e),t=[{key:"afterAdd",value:function(){return v(function(){return O(this,function(e){return[2]})})()}},{key:"beforeLoad",value:function(){return v(function(){return O(this,function(e){return[2]})})()}},{key:"load",value:function(){var e=this;return v(function(){return O(this,function(t){return e.app.pm.get("workflow").registerInstruction("sql",y),[2]})})()}}],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}(g(e.Plugin))}(),a}()});
10
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react-i18next"),require("@formily/antd-v5"),require("react"),require("antd"),require("@nocobase/client"),require("@formily/react"),require("@ant-design/icons"),require("@nocobase/plugin-workflow/client"),require("@nocobase/utils/client"),require("lodash")):"function"==typeof define&&define.amd?define("@nocobase/plugin-workflow-sql",["react-i18next","@formily/antd-v5","react","antd","@nocobase/client","@formily/react","@ant-design/icons","@nocobase/plugin-workflow/client","@nocobase/utils/client","lodash"],t):"object"==typeof exports?exports["@nocobase/plugin-workflow-sql"]=t(require("react-i18next"),require("@formily/antd-v5"),require("react"),require("antd"),require("@nocobase/client"),require("@formily/react"),require("@ant-design/icons"),require("@nocobase/plugin-workflow/client"),require("@nocobase/utils/client"),require("lodash")):e["@nocobase/plugin-workflow-sql"]=t(e["react-i18next"],e["@formily/antd-v5"],e.react,e.antd,e["@nocobase/client"],e["@formily/react"],e["@ant-design/icons"],e["@nocobase/plugin-workflow/client"],e["@nocobase/utils/client"],e.lodash)}(self,function(e,t,r,n,o,i,a,c,u,l){return function(){"use strict";var s={375:function(e){e.exports=a},418:function(e){e.exports=t},230:function(e){e.exports=i},342:function(e){e.exports=o},990:function(e){e.exports=c},768:function(e){e.exports=u},59:function(e){e.exports=n},773:function(e){e.exports=l},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 r=f[e]={exports:{}};return s[e](r,r.exports,p),r.exports}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 r in t)p.o(t,r)&&!p.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},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)},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&&(y=p.g.location+"");var y,b=p.g.document;if(!y&&b&&(b.currentScript&&"SCRIPT"===b.currentScript.tagName.toUpperCase()&&(y=b.currentScript.src),!y)){var d=b.getElementsByTagName("script");if(d.length)for(var m=d.length-1;m>-1&&(!y||!/^http(s?):/.test(y));)y=d[m--].src}if(!y)throw Error("Automatic publicPath is not supported in this browser");p.p=y.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/");var v={};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 r=window.__webpack_public_path__||"";r&&("/"!==r.charAt(r.length-1)&&(r+="/"),e=r+"static/plugins/@nocobase/plugin-workflow-sql/dist/client/")}if(!e){if(!(e=window.__nocobase_public_path__||"")&&window.location&&window.location.pathname){var n=window.location.pathname||"/",o=n.indexOf("/v2/");e=o>=0?n.slice(0,o+1):"/"}e&&(e=e.replace(/\/v2\/?$/,"/")),e||(e="/"),"/"!==e.charAt(e.length-1)&&(e+="/"),e+="static/plugins/@nocobase/plugin-workflow-sql/dist/client/"}p.p=e}(),!function(){p.r(v),p.d(v,{default:function(){return P}});var e=p(342),t=p(418),r=p(230),n=p(59),o=p(768),i=p(773),a=p(990),c=p(155),u=p.n(c),l=p(375),s=p(953),f="@nocobase/plugin-workflow-sql";function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h=function(){return!!e})()}function w(){var e,t,r=(e=["\n font-size: 80%;\n font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;\n "],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return w=function(){return r},r}function g(e){return(0,r.useForm)().values.unsafeInjection?u().createElement(a.WorkflowVariableRawTextArea,e):u().createElement(n.Input.TextArea,e)}function x(){var e=(0,s.useTranslation)(f).t,t=(0,r.useForm)(),a=t.values;return!a.unsafeInjection||t.disabled?null:u().createElement(n.Alert,{type:"error",showIcon:!0,message:e("Current node is using unsafe injection mode (legacy), which has SQL injection risks."),action:u().createElement(n.Button,{size:"small",type:"primary",onClick:function(){var e,r=a.sql||"",n=(0,o.parse)(r),c=function(e){if(Array.isArray(e))return y(e)}(e=new Set((n.parameters||[]).map(function(e){return e.key}).filter(function(e){return e&&"string"==typeof e})))||function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return y(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return y(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),u={};c.forEach(function(e,t){(0,i.set)(u,e,":var".concat(t))});var l=c.map(function(e,t){return{name:"var".concat(t),value:"{{".concat(e,"}}")}}),s=n(u);t.setValues({sql:s,variables:l,unsafeInjection:!1})}},e("Migrate to safe mode")),style:{marginBottom:16}})}var S=function(r){var o;if("function"!=typeof r&&null!==r)throw TypeError("Super expression must either be null or a function");function i(){var r,o,c;if(!(this instanceof i))throw TypeError("Cannot call a class as a function");return o=i,c=arguments,o=d(o),b(r=function(e,t){var r;if(t&&("object"==((r=t)&&"u">typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)||"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(o,c||[],d(this).constructor):o.apply(this,c)),"title",'{{t("SQL action", { ns: "'.concat(f,'" })}}')),b(r,"type","sql"),b(r,"group","collection"),b(r,"description",'{{t("Execute a SQL statement in database.", { ns: "'.concat(f,'" })}}')),b(r,"icon",u().createElement(l.ConsoleSqlOutlined,{style:{}})),b(r,"fieldset",{dataSource:{type:"string",required:!0,title:'{{t("Data source")}}',description:'{{t("Select a data source to execute SQL.", { ns: "'.concat(f,'" })}}'),"x-decorator":"FormItem","x-component":"DataSourceSelect","x-component-props":{className:"auto-width",filter:function(t){return t.options.isDBInstance||t.key===e.DEFAULT_DATA_SOURCE_KEY}},default:"main"},unsafeInjection:{type:"void","x-component":"UnsafeInjectionWarning"},sql:{type:"string",required:!0,title:"SQL",description:"{{sqlDescription()}}","x-decorator":"FormItem","x-component":"SQLTextArea","x-component-props":{rows:20,className:(0,e.css)(w())}},variables:{type:"array",title:'{{t("Parameters", { ns: "'.concat(f,'" })}}'),description:'{{t("SQL parameters. Use :name as placeholders in SQL and provide values here.", { ns: "'.concat(f,'" })}}'),"x-decorator":"FormItem","x-component":"ArrayItems","x-reactions":[{dependencies:["unsafeInjection"],fulfill:{state:{visible:"{{!$deps[0]}}"}}}],items:{type:"object",properties:{space1:{type:"void","x-component":"Space",properties:{name:{type:"string","x-decorator":"FormItem","x-component":"Input","x-component-props":{placeholder:'{{t("Name", { ns: "'.concat(f,'" })}}')},required:!0},value:{type:"string","x-decorator":"FormItem","x-component":"WorkflowVariableInput","x-component-props":{rows:1,placeholder:'{{t("Value", { ns: "'.concat(f,'" })}}')},required:!0},remove:{type:"void","x-decorator":"FormItem","x-component":"ArrayItems.Remove"}}}}},properties:{add:{type:"void","x-component":"ArrayItems.Addition",title:'{{t("Add parameter", { ns: "'.concat(f,'" })}}')}}},withMeta:{type:"boolean","x-decorator":"FormItem","x-component":"Checkbox","x-content":'{{t("Include meta information of this query in result", { ns: "'.concat(f,'" })}}')}}),b(r,"scope",{sqlDescription:function(){return u().createElement(s.Trans,{ns:f},"SQL query result could be used through ",u().createElement("a",{href:"https://docs-cn.nocobase.com/handbook/workflow-json-query",target:"_blank",rel:"noreferrer"},"JSON query node"),".")}}),b(r,"components",{SQLTextArea:g,UnsafeInjectionWarning:x,WorkflowVariableInput:a.WorkflowVariableInput,ArrayItems:t.ArrayItems,Space:n.Space}),b(r,"testable",!0),r}return i.prototype=Object.create(r&&r.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),r&&m(i,r),o=[{key:"useVariables",value:function(e,t){var r,n=e.key,o=e.title,i=(t.types,t.fieldNames),c=void 0===i?a.defaultFieldNames:i;return b(r={},c.value,n),b(r,c.label,o),r}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(i.prototype,o),i}(a.Instruction);function j(e,t,r,n,o,i,a){try{var c=e[i](a),u=c.value}catch(e){r(e);return}c.done?t(u):Promise.resolve(u).then(n,o)}function q(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){j(i,n,o,a,c,"next",e)}function c(e){j(i,n,o,a,c,"throw",e)}a(void 0)})}}function O(e,t,r){return(O=A()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&k(o,r.prototype),o}).apply(null,arguments)}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function I(e){var t="function"==typeof Map?new Map:void 0;return(I=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,r)}function r(){return O(e,arguments,_(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),k(r,e)})(e)}function A(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(A=function(){return!!e})()}function E(e,t){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),c=Object.defineProperty;return c(a,"next",{value:u(0)}),c(a,"throw",{value:u(1)}),c(a,"return",{value:u(2)}),"function"==typeof Symbol&&c(a,Symbol.iterator,{value:function(){return this}}),a;function u(c){return function(u){var l=[c,u];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&l[0]?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=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++,n=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],n=0}finally{r=o=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}}var P=function(e){var t;if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");function r(){var e,t;if(!(this instanceof r))throw TypeError("Cannot call a class as a function");return e=r,t=arguments,e=_(e),function(e,t){var r;if(t&&("object"==((r=t)&&"u">typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)||"function"==typeof t))return t;if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this,A()?Reflect.construct(e,t||[],_(this).constructor):e.apply(this,t))}return r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),e&&k(r,e),t=[{key:"afterAdd",value:function(){return q(function(){return E(this,function(e){return[2]})})()}},{key:"beforeLoad",value:function(){return q(function(){return E(this,function(e){return[2]})})()}},{key:"load",value:function(){return q(function(){return E(this,function(e){return this.app.pm.get("workflow").registerInstruction("sql",S),[2]})}).call(this)}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(r.prototype,t),r}(I(e.Plugin))}(),v}()});
@@ -8,14 +8,18 @@
8
8
  */
9
9
 
10
10
  module.exports = {
11
- "@nocobase/client": "2.1.0-beta.2",
12
- "@nocobase/plugin-workflow": "2.1.0-beta.2",
11
+ "@nocobase/client": "2.1.0-beta.21",
12
+ "@formily/antd-v5": "1.2.3",
13
+ "@formily/react": "2.3.7",
14
+ "antd": "5.24.2",
15
+ "@nocobase/utils": "2.1.0-beta.21",
16
+ "lodash": "4.18.1",
17
+ "@nocobase/plugin-workflow": "2.1.0-beta.21",
13
18
  "react": "18.2.0",
14
19
  "@ant-design/icons": "5.6.1",
15
20
  "react-i18next": "11.18.6",
16
- "@nocobase/server": "2.1.0-beta.2",
17
- "@nocobase/data-source-manager": "2.1.0-beta.2",
18
- "@nocobase/plugin-workflow-test": "2.1.0-beta.2",
19
- "@nocobase/test": "2.1.0-beta.2",
20
- "@nocobase/utils": "2.1.0-beta.2"
21
+ "@nocobase/server": "2.1.0-beta.21",
22
+ "@nocobase/data-source-manager": "2.1.0-beta.21",
23
+ "@nocobase/plugin-workflow-test": "2.1.0-beta.21",
24
+ "@nocobase/test": "2.1.0-beta.21"
21
25
  };
@@ -3,7 +3,14 @@
3
3
  "Execute a SQL statement in database.": "Führt eine SQL-Anweisung in der Datenbank aus.",
4
4
  "Include meta information of this query in result": "Metainformationen dieser Abfrage im Ergebnis einschließen",
5
5
  "SQL action": "SQL-Aktion",
6
- "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).": "SQL-Abfrageergebnisse können über <1>JSON-Abfrageknoten</1> verwendet werden (kommerzielles Plugin).",
6
+ "SQL query result could be used through <1>JSON query node</1>.": "SQL-Abfrageergebnisse können über <1>JSON-Abfrageknoten</1> verwendet werden.",
7
7
  "Select a data source to execute SQL.": "Wählen Sie eine Datenquelle zur Ausführung von SQL aus",
8
- "Usage of SQL query result is not supported yet.": "Die Verwendung von SQL-Abfrageergebnissen wird noch nicht unterstützt."
8
+ "Usage of SQL query result is not supported yet.": "Die Verwendung von SQL-Abfrageergebnissen wird noch nicht unterstützt.",
9
+ "Current node is using unsafe injection mode (legacy), which has SQL injection risks.": "Der aktuelle Knoten verwendet den unsicheren Injektionsmodus (Legacy), der SQL-Injection-Risiken birgt.",
10
+ "Migrate to safe mode": "In sicheren Modus migrieren",
11
+ "Parameters": "Parameter",
12
+ "SQL parameters. Use :name as placeholders in SQL and provide values here.": "SQL-Parameter. Verwenden Sie :name als Platzhalter in SQL und geben Sie hier die Werte an.",
13
+ "Name": "Name",
14
+ "Value": "Wert",
15
+ "Add parameter": "Parameter hinzufügen"
9
16
  }
@@ -3,7 +3,15 @@
3
3
  "Execute a SQL statement in database.": "Execute a SQL statement in database.",
4
4
  "Include meta information of this query in result": "Include meta information of this query in result",
5
5
  "SQL action": "SQL action",
6
- "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).": "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).",
6
+ "Parameters": "Parameters",
7
+ "SQL parameters. Use $1, $2, etc. as placeholders in SQL and provide values here in order.": "SQL parameters. Use $1, $2, etc. as placeholders in SQL and provide values here in order.",
8
+ "Current node is using unsafe injection mode (legacy), which has SQL injection risks.": "Current node is using unsafe injection mode (legacy), which has SQL injection risks.",
9
+ "Migrate to safe mode": "Migrate to safe mode",
10
+ "SQL parameters. Use :name as placeholders in SQL and provide values here.": "SQL parameters. Use :name as placeholders in SQL and provide values here.",
11
+ "Name": "Name",
12
+ "Value": "Value",
13
+ "Add parameter": "Add parameter",
14
+ "SQL query result could be used through <1>JSON query node</1>.": "SQL query result could be used through <1>JSON query node</1>.",
7
15
  "Select a data source to execute SQL.": "Select a data source to execute SQL.",
8
16
  "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet."
9
17
  }
@@ -3,7 +3,14 @@
3
3
  "Execute a SQL statement in database.": "Execute a SQL statement in database.",
4
4
  "Include meta information of this query in result": "Include meta information of this query in result",
5
5
  "SQL action": "SQL action",
6
- "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).": "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).",
6
+ "SQL query result could be used through <1>JSON query node</1>.": "SQL query result could be used through <1>JSON query node</1>.",
7
7
  "Select a data source to execute SQL.": "Select a data source to execute SQL.",
8
- "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet."
8
+ "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet.",
9
+ "Current node is using unsafe injection mode (legacy), which has SQL injection risks.": "Current node is using unsafe injection mode (legacy), which has SQL injection risks.",
10
+ "Migrate to safe mode": "Migrate to safe mode",
11
+ "Parameters": "Parameters",
12
+ "SQL parameters. Use :name as placeholders in SQL and provide values here.": "SQL parameters. Use :name as placeholders in SQL and provide values here.",
13
+ "Name": "Name",
14
+ "Value": "Value",
15
+ "Add parameter": "Add parameter"
9
16
  }
@@ -3,7 +3,14 @@
3
3
  "Execute a SQL statement in database.": "Execute a SQL statement in database.",
4
4
  "Include meta information of this query in result": "Include meta information of this query in result",
5
5
  "SQL action": "SQL action",
6
- "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).": "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).",
6
+ "SQL query result could be used through <1>JSON query node</1>.": "SQL query result could be used through <1>JSON query node</1>.",
7
7
  "Select a data source to execute SQL.": "Select a data source to execute SQL.",
8
- "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet."
8
+ "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet.",
9
+ "Current node is using unsafe injection mode (legacy), which has SQL injection risks.": "Current node is using unsafe injection mode (legacy), which has SQL injection risks.",
10
+ "Migrate to safe mode": "Migrate to safe mode",
11
+ "Parameters": "Parameters",
12
+ "SQL parameters. Use :name as placeholders in SQL and provide values here.": "SQL parameters. Use :name as placeholders in SQL and provide values here.",
13
+ "Name": "Name",
14
+ "Value": "Value",
15
+ "Add parameter": "Add parameter"
9
16
  }
@@ -3,7 +3,14 @@
3
3
  "Execute a SQL statement in database.": "SQL utasítás végrehajtása az adatbázisban.",
4
4
  "Include meta information of this query in result": "A lekérdezés metainformációinak belefoglalása az eredménybe",
5
5
  "SQL action": "SQL művelet",
6
- "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).": "Az SQL lekérdezés eredménye a <1>JSON lekérdezési csomóponton</1> keresztül használható (Kereskedelmi bővítmény).",
6
+ "SQL query result could be used through <1>JSON query node</1>.": "Az SQL lekérdezés eredménye a <1>JSON lekérdezési csomóponton</1> keresztül használható.",
7
7
  "Select a data source to execute SQL.": "Válasszon adatforrást az SQL végrehajtásához.",
8
- "Usage of SQL query result is not supported yet.": "Az SQL lekérdezési eredmény használata még nem támogatott."
8
+ "Usage of SQL query result is not supported yet.": "Az SQL lekérdezési eredmény használata még nem támogatott.",
9
+ "Current node is using unsafe injection mode (legacy), which has SQL injection risks.": "A jelenlegi csomópont nem biztonságos injektálási módot (örökölt) használ, amely SQL injektálási kockázatot jelent.",
10
+ "Migrate to safe mode": "Migrálás biztonságos módba",
11
+ "Parameters": "Paraméterek",
12
+ "SQL parameters. Use :name as placeholders in SQL and provide values here.": "SQL paraméterek. Használja a :name-t helyőrzőként az SQL-ben, és adja meg itt az értékeket.",
13
+ "Name": "Név",
14
+ "Value": "Érték",
15
+ "Add parameter": "Paraméter hozzáadása"
9
16
  }
@@ -3,7 +3,14 @@
3
3
  "Execute a SQL statement in database.": "Jalankan pernyataan SQL dalam database.",
4
4
  "Include meta information of this query in result": "Sertakan informasi meta kueri ini dalam hasil",
5
5
  "SQL action": "Tindakan SQL",
6
- "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).": "Hasil kueri SQL dapat digunakan melalui <1>node kueri JSON</1> (Plugin Komersial).",
6
+ "SQL query result could be used through <1>JSON query node</1>.": "Hasil kueri SQL dapat digunakan melalui <1>node kueri JSON</1>.",
7
7
  "Select a data source to execute SQL.": "Pilih sumber data untuk menjalankan SQL.",
8
- "Usage of SQL query result is not supported yet.": "Penggunaan hasil kueri SQL belum didukung."
8
+ "Usage of SQL query result is not supported yet.": "Penggunaan hasil kueri SQL belum didukung.",
9
+ "Current node is using unsafe injection mode (legacy), which has SQL injection risks.": "Node saat ini menggunakan mode injeksi tidak aman (legacy), yang memiliki risiko injeksi SQL.",
10
+ "Migrate to safe mode": "Migrasi ke mode aman",
11
+ "Parameters": "Parameter",
12
+ "SQL parameters. Use :name as placeholders in SQL and provide values here.": "Parameter SQL. Gunakan :name sebagai placeholder di SQL dan berikan nilainya di sini.",
13
+ "Name": "Nama",
14
+ "Value": "Nilai",
15
+ "Add parameter": "Tambah parameter"
9
16
  }
@@ -3,7 +3,14 @@
3
3
  "Execute a SQL statement in database.": "Esegui un'istruzione SQL nel database.",
4
4
  "Include meta information of this query in result": "Includi meta informazioni di questa query nel risultato",
5
5
  "SQL action": "Azione SQL",
6
- "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).": "Il risultato della query SQL potrebbe essere utilizzato tramite il <1>nodo JSON query</1>(plugin commerciale).",
6
+ "SQL query result could be used through <1>JSON query node</1>.": "Il risultato della query SQL potrebbe essere utilizzato tramite il <1>nodo JSON query</1>.",
7
7
  "Select a data source to execute SQL.": "Seleziona un origine dati per eseguire SQL.",
8
- "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet."
8
+ "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet.",
9
+ "Current node is using unsafe injection mode (legacy), which has SQL injection risks.": "Il nodo corrente utilizza la modalità di iniezione non sicura (legacy), che comporta rischi di SQL injection.",
10
+ "Migrate to safe mode": "Migra alla modalità sicura",
11
+ "Parameters": "Parametri",
12
+ "SQL parameters. Use :name as placeholders in SQL and provide values here.": "Parametri SQL. Usa :name come segnaposto in SQL e fornisci i valori qui.",
13
+ "Name": "Nome",
14
+ "Value": "Valore",
15
+ "Add parameter": "Aggiungi parametro"
9
16
  }
@@ -3,7 +3,14 @@
3
3
  "Execute a SQL statement in database.": "データベース内でSQL文を実行します。",
4
4
  "Include meta information of this query in result": "結果にこのクエリのメタ情報を含める",
5
5
  "SQL action": "SQL操作",
6
- "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).": "SQLクエリ結果は<1>JSONクエリノード</1>を介して使用できます(商用プラグイン)。",
6
+ "SQL query result could be used through <1>JSON query node</1>.": "SQLクエリ結果は<1>JSONクエリノード</1>を介して使用できます。",
7
7
  "Select a data source to execute SQL.": "SQLを実行するためのデータソースを選択します。",
8
- "Usage of SQL query result is not supported yet.": "SQLクエリ結果はまだサポートされていません"
8
+ "Usage of SQL query result is not supported yet.": "SQLクエリ結果はまだサポートされていません",
9
+ "Current node is using unsafe injection mode (legacy), which has SQL injection risks.": "現在のノードは安全でないインジェクションモード(レガシー)を使用しており、SQLインジェクションのリスクがあります。",
10
+ "Migrate to safe mode": "安全モードに移行",
11
+ "Parameters": "パラメータ",
12
+ "SQL parameters. Use :name as placeholders in SQL and provide values here.": "SQLパラメータ。SQLで :name をプレースホルダとして使用し、ここで値を指定します。",
13
+ "Name": "名前",
14
+ "Value": "値",
15
+ "Add parameter": "パラメータを追加"
9
16
  }
@@ -3,7 +3,14 @@
3
3
  "Execute a SQL statement in database.": "데이터베이스에서 SQL 문을 실행합니다.",
4
4
  "Include meta information of this query in result": "결과에 쿼리 메타 정보 포함",
5
5
  "SQL action": "SQL 작업",
6
- "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).": "SQL 쿼리 결과는 <1>JSON 쿼리 노드</1>(상용 플러그인)로 사용할 수 있습니다.",
6
+ "SQL query result could be used through <1>JSON query node</1>.": "SQL 쿼리 결과는 <1>JSON 쿼리 노드</1>를 통해 사용할 수 있습니다.",
7
7
  "Select a data source to execute SQL.": "SQL을 실행할 데이터 소스 선택",
8
- "Usage of SQL query result is not supported yet.": "SQL 쿼리 결과 사용은 아직 지원되지 않습니다."
8
+ "Usage of SQL query result is not supported yet.": "SQL 쿼리 결과 사용은 아직 지원되지 않습니다.",
9
+ "Current node is using unsafe injection mode (legacy), which has SQL injection risks.": "현재 노드는 안전하지 않은 주입 모드(레거시)를 사용하고 있으며 SQL 주입 위험이 있습니다.",
10
+ "Migrate to safe mode": "안전 모드로 마이그레이션",
11
+ "Parameters": "매개변수",
12
+ "SQL parameters. Use :name as placeholders in SQL and provide values here.": "SQL 매개변수. SQL에서 :name을 자리 표시자로 사용하고 여기에 값을 제공하세요.",
13
+ "Name": "이름",
14
+ "Value": "값",
15
+ "Add parameter": "매개변수 추가"
9
16
  }
@@ -3,7 +3,14 @@
3
3
  "Execute a SQL statement in database.": "Execute a SQL statement in database.",
4
4
  "Include meta information of this query in result": "Include meta information of this query in result",
5
5
  "SQL action": "SQL action",
6
- "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).": "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).",
6
+ "SQL query result could be used through <1>JSON query node</1>.": "SQL query result could be used through <1>JSON query node</1>.",
7
7
  "Select a data source to execute SQL.": "Select a data source to execute SQL.",
8
- "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet."
8
+ "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet.",
9
+ "Current node is using unsafe injection mode (legacy), which has SQL injection risks.": "Current node is using unsafe injection mode (legacy), which has SQL injection risks.",
10
+ "Migrate to safe mode": "Migrate to safe mode",
11
+ "Parameters": "Parameters",
12
+ "SQL parameters. Use :name as placeholders in SQL and provide values here.": "SQL parameters. Use :name as placeholders in SQL and provide values here.",
13
+ "Name": "Name",
14
+ "Value": "Value",
15
+ "Add parameter": "Add parameter"
9
16
  }
@@ -3,7 +3,14 @@
3
3
  "Execute a SQL statement in database.": "Execute a SQL statement in database.",
4
4
  "Include meta information of this query in result": "Include meta information of this query in result",
5
5
  "SQL action": "SQL action",
6
- "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).": "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).",
6
+ "SQL query result could be used through <1>JSON query node</1>.": "SQL query result could be used through <1>JSON query node</1>.",
7
7
  "Select a data source to execute SQL.": "Select a data source to execute SQL.",
8
- "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet."
8
+ "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet.",
9
+ "Current node is using unsafe injection mode (legacy), which has SQL injection risks.": "Current node is using unsafe injection mode (legacy), which has SQL injection risks.",
10
+ "Migrate to safe mode": "Migrate to safe mode",
11
+ "Parameters": "Parameters",
12
+ "SQL parameters. Use :name as placeholders in SQL and provide values here.": "SQL parameters. Use :name as placeholders in SQL and provide values here.",
13
+ "Name": "Name",
14
+ "Value": "Value",
15
+ "Add parameter": "Add parameter"
9
16
  }
@@ -3,7 +3,14 @@
3
3
  "Execute a SQL statement in database.": "Выполнить SQL-запрос в базе данных.",
4
4
  "Include meta information of this query in result": "Включить метаинформацию этого запроса в результат",
5
5
  "SQL action": "Действие SQL",
6
- "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).": "Результат SQL-запроса может быть использован через узел <1>JSON-запроса</1> (коммерческий плагин).",
6
+ "SQL query result could be used through <1>JSON query node</1>.": "Результат SQL-запроса может быть использован через узел <1>JSON-запроса</1>.",
7
7
  "Select a data source to execute SQL.": "Выберите источник данных для выполнения SQL.",
8
- "Usage of SQL query result is not supported yet.": "Использование результата SQL-запроса пока не поддерживается."
8
+ "Usage of SQL query result is not supported yet.": "Использование результата SQL-запроса пока не поддерживается.",
9
+ "Current node is using unsafe injection mode (legacy), which has SQL injection risks.": "Текущий узел использует небезопасный режим инъекции (устаревший), который имеет риски SQL-инъекции.",
10
+ "Migrate to safe mode": "Перейти в безопасный режим",
11
+ "Parameters": "Параметры",
12
+ "SQL parameters. Use :name as placeholders in SQL and provide values here.": "Параметры SQL. Используйте :name в качестве заполнителей в SQL и укажите значения здесь.",
13
+ "Name": "Имя",
14
+ "Value": "Значение",
15
+ "Add parameter": "Добавить параметр"
9
16
  }
@@ -3,7 +3,14 @@
3
3
  "Execute a SQL statement in database.": "Execute a SQL statement in database.",
4
4
  "Include meta information of this query in result": "Include meta information of this query in result",
5
5
  "SQL action": "SQL action",
6
- "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).": "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).",
6
+ "SQL query result could be used through <1>JSON query node</1>.": "SQL query result could be used through <1>JSON query node</1>.",
7
7
  "Select a data source to execute SQL.": "Select a data source to execute SQL.",
8
- "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet."
8
+ "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet.",
9
+ "Current node is using unsafe injection mode (legacy), which has SQL injection risks.": "Current node is using unsafe injection mode (legacy), which has SQL injection risks.",
10
+ "Migrate to safe mode": "Migrate to safe mode",
11
+ "Parameters": "Parameters",
12
+ "SQL parameters. Use :name as placeholders in SQL and provide values here.": "SQL parameters. Use :name as placeholders in SQL and provide values here.",
13
+ "Name": "Name",
14
+ "Value": "Value",
15
+ "Add parameter": "Add parameter"
9
16
  }
@@ -3,7 +3,14 @@
3
3
  "Execute a SQL statement in database.": "Execute a SQL statement in database.",
4
4
  "Include meta information of this query in result": "Include meta information of this query in result",
5
5
  "SQL action": "SQL action",
6
- "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).": "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).",
6
+ "SQL query result could be used through <1>JSON query node</1>.": "SQL query result could be used through <1>JSON query node</1>.",
7
7
  "Select a data source to execute SQL.": "Select a data source to execute SQL.",
8
- "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet."
8
+ "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet.",
9
+ "Current node is using unsafe injection mode (legacy), which has SQL injection risks.": "Current node is using unsafe injection mode (legacy), which has SQL injection risks.",
10
+ "Migrate to safe mode": "Migrate to safe mode",
11
+ "Parameters": "Parameters",
12
+ "SQL parameters. Use :name as placeholders in SQL and provide values here.": "SQL parameters. Use :name as placeholders in SQL and provide values here.",
13
+ "Name": "Name",
14
+ "Value": "Value",
15
+ "Add parameter": "Add parameter"
9
16
  }
@@ -3,7 +3,14 @@
3
3
  "Execute a SQL statement in database.": "Execute a SQL statement in database.",
4
4
  "Include meta information of this query in result": "Include meta information of this query in result",
5
5
  "SQL action": "SQL action",
6
- "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).": "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).",
6
+ "SQL query result could be used through <1>JSON query node</1>.": "SQL query result could be used through <1>JSON query node</1>.",
7
7
  "Select a data source to execute SQL.": "Select a data source to execute SQL.",
8
- "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet."
8
+ "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet.",
9
+ "Current node is using unsafe injection mode (legacy), which has SQL injection risks.": "Current node is using unsafe injection mode (legacy), which has SQL injection risks.",
10
+ "Migrate to safe mode": "Migrate to safe mode",
11
+ "Parameters": "Parameters",
12
+ "SQL parameters. Use :name as placeholders in SQL and provide values here.": "SQL parameters. Use :name as placeholders in SQL and provide values here.",
13
+ "Name": "Name",
14
+ "Value": "Value",
15
+ "Add parameter": "Add parameter"
9
16
  }
@@ -3,7 +3,15 @@
3
3
  "Execute a SQL statement in database.": "在数据库中执行一个 SQL 语句",
4
4
  "Include meta information of this query in result": "在结果中包含此查询的元信息",
5
5
  "SQL action": "SQL 操作",
6
- "SQL query result could be used through <1>JSON query node</1> (Commercial plugin).": "SQL 执行的结果可在 <1>JSON 解析节点</1> 中使用(商业插件)。",
6
+ "Parameters": "参数",
7
+ "SQL parameters. Use $1, $2, etc. as placeholders in SQL and provide values here in order.": "SQL 参数。在 SQL 中使用 $1, $2 等作为占位符,并按顺序在此提供对应的值。",
8
+ "Current node is using unsafe injection mode (legacy), which has SQL injection risks.": "当前节点使用了不安全注入模式(遗留),存在 SQL 注入风险。",
9
+ "Migrate to safe mode": "迁移至安全模式",
10
+ "SQL parameters. Use :name as placeholders in SQL and provide values here.": "SQL 参数。在 SQL 中使用 :name 作为占位符,并在此提供对应的值。",
11
+ "Name": "名称",
12
+ "Value": "值",
13
+ "Add parameter": "添加参数",
14
+ "SQL query result could be used through <1>JSON query node</1>.": "SQL 执行的结果可在 <1>JSON 解析节点</1> 中使用。",
7
15
  "Select a data source to execute SQL.": "选择一个数据源来执行 SQL",
8
16
  "Usage of SQL query result is not supported yet.": "Usage of SQL query result is not supported yet."
9
- }
17
+ }