@nocobase/plugin-workflow 0.17.0-alpha.2 → 0.17.0-alpha.4

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 (133) hide show
  1. package/dist/client/WorkflowPane.d.ts +2 -0
  2. package/dist/client/components/index.d.ts +5 -0
  3. package/dist/client/hooks/useTriggerWorkflowActionProps.d.ts +3 -0
  4. package/dist/client/index.d.ts +14 -6
  5. package/dist/client/index.js +136 -186
  6. package/dist/client/nodes/calculation.d.ts +8 -62
  7. package/dist/client/nodes/condition.d.ts +9 -9
  8. package/dist/client/nodes/create.d.ts +3 -5
  9. package/dist/client/nodes/destroy.d.ts +3 -4
  10. package/dist/client/nodes/index.d.ts +2 -6
  11. package/dist/client/nodes/query.d.ts +3 -5
  12. package/dist/client/nodes/update.d.ts +4 -4
  13. package/dist/client/triggers/collection.d.ts +3 -4
  14. package/dist/client/triggers/index.d.ts +2 -11
  15. package/dist/client/triggers/schedule/index.d.ts +3 -4
  16. package/dist/client/utils.d.ts +1 -0
  17. package/dist/externalVersion.js +11 -13
  18. package/dist/locale/{en-US.js → en-US.json} +41 -94
  19. package/dist/locale/es-ES.json +98 -0
  20. package/dist/locale/fr-FR.json +98 -0
  21. package/dist/locale/ja-JP.json +82 -0
  22. package/dist/locale/pt-BR.json +98 -0
  23. package/dist/locale/ru-RU.json +82 -0
  24. package/dist/locale/tr-TR.json +82 -0
  25. package/dist/locale/zh-CN.json +176 -0
  26. package/dist/node_modules/cron-parser/package.json +1 -1
  27. package/dist/node_modules/lru-cache/package.json +1 -1
  28. package/dist/server/Plugin.d.ts +12 -2
  29. package/dist/server/Plugin.js +31 -7
  30. package/dist/server/Processor.d.ts +1 -1
  31. package/dist/server/index.d.ts +1 -1
  32. package/dist/server/index.js +2 -0
  33. package/dist/server/instructions/CalculationInstruction.d.ts +15 -0
  34. package/dist/server/instructions/{calculation.js → CalculationInstruction.js} +13 -6
  35. package/dist/server/instructions/ConditionInstruction.d.ts +19 -0
  36. package/dist/server/instructions/{condition.js → ConditionInstruction.js} +11 -7
  37. package/dist/server/instructions/CreateInstruction.d.ts +10 -0
  38. package/dist/server/instructions/{create.js → CreateInstruction.js} +13 -6
  39. package/dist/server/instructions/DestroyInstruction.d.ts +10 -0
  40. package/dist/server/instructions/{destroy.js → DestroyInstruction.js} +13 -6
  41. package/dist/server/instructions/{update.d.ts → QueryInstruction.d.ts} +5 -4
  42. package/dist/server/instructions/{query.js → QueryInstruction.js} +13 -6
  43. package/dist/server/instructions/{aggregate.d.ts → UpdateInstruction.d.ts} +5 -4
  44. package/dist/server/instructions/{update.js → UpdateInstruction.js} +13 -6
  45. package/dist/server/instructions/index.d.ts +10 -14
  46. package/dist/server/instructions/index.js +9 -39
  47. package/dist/server/migrations/20231122143143-split-to-plugins.d.ts +4 -0
  48. package/dist/server/migrations/20231122143143-split-to-plugins.js +87 -0
  49. package/dist/server/triggers/{collection.d.ts → CollectionTrigger.d.ts} +1 -1
  50. package/dist/server/triggers/{collection.js → CollectionTrigger.js} +15 -5
  51. package/dist/server/triggers/{schedule.d.ts → ScheduleTrigger.d.ts} +2 -1
  52. package/dist/server/triggers/{schedule.js → ScheduleTrigger.js} +5 -5
  53. package/dist/server/triggers/index.d.ts +2 -6
  54. package/dist/server/triggers/index.js +1 -21
  55. package/package.json +3 -2
  56. package/dist/client/WorkflowProvider.d.ts +0 -5
  57. package/dist/client/components/Duration.d.ts +0 -5
  58. package/dist/client/components/DynamicExpression.d.ts +0 -6
  59. package/dist/client/components/NullRender.d.ts +0 -1
  60. package/dist/client/interfaces/expression.d.ts +0 -3
  61. package/dist/client/nodes/aggregate.d.ts +0 -196
  62. package/dist/client/nodes/delay.d.ts +0 -35
  63. package/dist/client/nodes/loop.d.ts +0 -33
  64. package/dist/client/nodes/manual/AssigneesSelect.d.ts +0 -6
  65. package/dist/client/nodes/manual/DetailsBlockProvider.d.ts +0 -2
  66. package/dist/client/nodes/manual/FormBlockInitializer.d.ts +0 -2
  67. package/dist/client/nodes/manual/FormBlockProvider.d.ts +0 -2
  68. package/dist/client/nodes/manual/ModeConfig.d.ts +0 -5
  69. package/dist/client/nodes/manual/SchemaConfig.d.ts +0 -49
  70. package/dist/client/nodes/manual/WorkflowTodo.d.ts +0 -5
  71. package/dist/client/nodes/manual/WorkflowTodoBlockInitializer.d.ts +0 -2
  72. package/dist/client/nodes/manual/forms/create.d.ts +0 -3
  73. package/dist/client/nodes/manual/forms/custom.d.ts +0 -5
  74. package/dist/client/nodes/manual/forms/update.d.ts +0 -3
  75. package/dist/client/nodes/manual/index.d.ts +0 -86
  76. package/dist/client/nodes/manual/utils.d.ts +0 -2
  77. package/dist/client/nodes/parallel.d.ts +0 -32
  78. package/dist/client/nodes/request.d.ts +0 -183
  79. package/dist/client/nodes/sql.d.ts +0 -35
  80. package/dist/client/triggers/form.d.ts +0 -52
  81. package/dist/locale/en-US.d.ts +0 -130
  82. package/dist/locale/es-ES.d.ts +0 -130
  83. package/dist/locale/es-ES.js +0 -151
  84. package/dist/locale/fr-FR.d.ts +0 -130
  85. package/dist/locale/fr-FR.js +0 -151
  86. package/dist/locale/ja-JP.d.ts +0 -88
  87. package/dist/locale/ja-JP.js +0 -109
  88. package/dist/locale/pt-BR.d.ts +0 -130
  89. package/dist/locale/pt-BR.js +0 -151
  90. package/dist/locale/ru-RU.d.ts +0 -88
  91. package/dist/locale/ru-RU.js +0 -109
  92. package/dist/locale/tr-TR.d.ts +0 -88
  93. package/dist/locale/tr-TR.js +0 -109
  94. package/dist/locale/zh-CN.d.ts +0 -249
  95. package/dist/locale/zh-CN.js +0 -270
  96. package/dist/server/fields/expression-field.d.ts +0 -7
  97. package/dist/server/fields/expression-field.js +0 -32
  98. package/dist/server/fields/index.d.ts +0 -1
  99. package/dist/server/fields/index.js +0 -28
  100. package/dist/server/instructions/aggregate.js +0 -54
  101. package/dist/server/instructions/calculation.d.ts +0 -3
  102. package/dist/server/instructions/condition.d.ts +0 -6
  103. package/dist/server/instructions/create.d.ts +0 -8
  104. package/dist/server/instructions/delay.d.ts +0 -15
  105. package/dist/server/instructions/delay.js +0 -104
  106. package/dist/server/instructions/destroy.d.ts +0 -8
  107. package/dist/server/instructions/loop.d.ts +0 -15
  108. package/dist/server/instructions/loop.js +0 -94
  109. package/dist/server/instructions/manual/actions.d.ts +0 -2
  110. package/dist/server/instructions/manual/actions.js +0 -94
  111. package/dist/server/instructions/manual/collecions/jobs.d.ts +0 -19
  112. package/dist/server/instructions/manual/collecions/jobs.js +0 -39
  113. package/dist/server/instructions/manual/collecions/users.d.ts +0 -15
  114. package/dist/server/instructions/manual/collecions/users.js +0 -37
  115. package/dist/server/instructions/manual/collecions/users_jobs.d.ts +0 -3
  116. package/dist/server/instructions/manual/collecions/users_jobs.js +0 -70
  117. package/dist/server/instructions/manual/forms/create.d.ts +0 -5
  118. package/dist/server/instructions/manual/forms/create.js +0 -41
  119. package/dist/server/instructions/manual/forms/index.d.ts +0 -6
  120. package/dist/server/instructions/manual/forms/index.js +0 -38
  121. package/dist/server/instructions/manual/forms/update.d.ts +0 -6
  122. package/dist/server/instructions/manual/forms/update.js +0 -41
  123. package/dist/server/instructions/manual/index.d.ts +0 -29
  124. package/dist/server/instructions/manual/index.js +0 -179
  125. package/dist/server/instructions/parallel.d.ts +0 -12
  126. package/dist/server/instructions/parallel.js +0 -124
  127. package/dist/server/instructions/query.d.ts +0 -9
  128. package/dist/server/instructions/request.d.ts +0 -18
  129. package/dist/server/instructions/request.js +0 -92
  130. package/dist/server/instructions/sql.d.ts +0 -12
  131. package/dist/server/instructions/sql.js +0 -43
  132. package/dist/server/triggers/form.d.ts +0 -11
  133. package/dist/server/triggers/form.js +0 -116
@@ -1,18 +1,14 @@
1
+ /// <reference types="react" />
1
2
  import { SchemaInitializerItemType } from '@nocobase/client';
2
- import React from 'react';
3
3
  import { RadioWithTooltip } from '../components/RadioWithTooltip';
4
- import { WorkflowVariableInput, WorkflowVariableTextArea } from '../variable';
5
- declare const _default: {
4
+ import { WorkflowVariableTextArea } from '../variable';
5
+ import { Instruction } from '.';
6
+ export default class extends Instruction {
6
7
  title: string;
7
8
  type: string;
8
9
  group: string;
9
10
  description: string;
10
11
  fieldset: {
11
- dynamic: {
12
- type: string;
13
- 'x-component': string;
14
- default: boolean;
15
- };
16
12
  engine: {
17
13
  type: string;
18
14
  title: string;
@@ -23,14 +19,6 @@ declare const _default: {
23
19
  };
24
20
  required: boolean;
25
21
  default: string;
26
- 'x-reactions': {
27
- dependencies: string[];
28
- fulfill: {
29
- state: {
30
- visible: string;
31
- };
32
- };
33
- };
34
22
  };
35
23
  expression: {
36
24
  type: string;
@@ -43,64 +31,23 @@ declare const _default: {
43
31
  "x-validator"(value: any, rules: any, { form }: {
44
32
  form: any;
45
33
  }): string;
46
- 'x-reactions': ({
47
- dependencies: string[];
48
- fulfill: {
49
- state: {
50
- visible: string;
51
- };
52
- schema?: undefined;
53
- };
54
- } | {
34
+ 'x-reactions': {
55
35
  dependencies: string[];
56
36
  fulfill: {
57
37
  schema: {
58
38
  description: string;
59
39
  };
60
- state?: undefined;
61
40
  };
62
- })[];
41
+ }[];
63
42
  required: boolean;
64
43
  };
65
- scope: {
66
- type: string;
67
- title: string;
68
- 'x-decorator': string;
69
- 'x-component': string;
70
- 'x-component-props': {
71
- changeOnSelect: boolean;
72
- variableOptions: {
73
- types: {
74
- type: string;
75
- options: {
76
- collection: string;
77
- entity: boolean;
78
- };
79
- }[];
80
- };
81
- };
82
- 'x-reactions': {
83
- dependencies: string[];
84
- fulfill: {
85
- state: {
86
- visible: string;
87
- };
88
- };
89
- };
90
- };
91
44
  };
92
- view: {};
93
45
  scope: {
94
- renderEngineReference: (key: string) => React.JSX.Element;
46
+ renderEngineReference: (key: string) => import("react").JSX.Element;
95
47
  };
96
48
  components: {
97
- WorkflowVariableInput: typeof WorkflowVariableInput;
98
49
  WorkflowVariableTextArea: typeof WorkflowVariableTextArea;
99
50
  RadioWithTooltip: typeof RadioWithTooltip;
100
- DynamicConfig: ({ value, onChange }: {
101
- value: any;
102
- onChange: any;
103
- }) => React.JSX.Element;
104
51
  ValueBlock: (() => JSX.Element) & {
105
52
  Initializer: () => JSX.Element;
106
53
  Result: (props: any) => JSX.Element;
@@ -116,5 +63,4 @@ declare const _default: {
116
63
  [x: string]: any;
117
64
  };
118
65
  useInitializers(node: any): SchemaInitializerItemType;
119
- };
120
- export default _default;
66
+ }
@@ -1,12 +1,13 @@
1
1
  import React from 'react';
2
+ import { Instruction } from '.';
2
3
  import { RadioWithTooltip } from '../components/RadioWithTooltip';
3
- import { useWorkflowVariableOptions } from '../variable';
4
+ import { useWorkflowVariableOptions, WorkflowVariableTextArea } from '../variable';
4
5
  export declare const calculators: any;
5
6
  declare function CalculationConfig({ value, onChange }: {
6
7
  value: any;
7
8
  onChange: any;
8
9
  }): React.JSX.Element;
9
- declare const _default: {
10
+ export default class extends Instruction {
10
11
  title: string;
11
12
  type: string;
12
13
  group: string;
@@ -73,7 +74,6 @@ declare const _default: {
73
74
  required: boolean;
74
75
  };
75
76
  };
76
- view: {};
77
77
  options: {
78
78
  label: string;
79
79
  key: string;
@@ -81,17 +81,17 @@ declare const _default: {
81
81
  rejectOnFalse: boolean;
82
82
  };
83
83
  }[];
84
- component: ({ data }: {
85
- data: any;
86
- }) => React.JSX.Element;
87
84
  scope: {
88
85
  renderEngineReference: (key: string) => React.JSX.Element;
89
86
  useWorkflowVariableOptions: typeof useWorkflowVariableOptions;
90
87
  };
91
88
  components: {
92
89
  CalculationConfig: typeof CalculationConfig;
93
- CalculationExpression(props: any): React.JSX.Element;
90
+ WorkflowVariableTextArea: typeof WorkflowVariableTextArea;
94
91
  RadioWithTooltip: typeof RadioWithTooltip;
95
92
  };
96
- };
97
- export default _default;
93
+ Component({ data }: {
94
+ data: any;
95
+ }): React.JSX.Element;
96
+ }
97
+ export {};
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { SchemaInitializerItemType, useCollectionDataSource } from '@nocobase/client';
3
- declare const _default: {
3
+ import { Instruction } from '.';
4
+ export default class extends Instruction {
4
5
  title: string;
5
6
  type: string;
6
7
  group: string;
@@ -54,7 +55,6 @@ declare const _default: {
54
55
  };
55
56
  };
56
57
  };
57
- view: {};
58
58
  scope: {
59
59
  useCollectionDataSource: typeof useCollectionDataSource;
60
60
  };
@@ -67,6 +67,4 @@ declare const _default: {
67
67
  config: any;
68
68
  }, options: any): import("../variable").VariableOption;
69
69
  useInitializers(node: any): SchemaInitializerItemType | null;
70
- initializers: {};
71
- };
72
- export default _default;
70
+ }
@@ -1,6 +1,7 @@
1
1
  import { useCollectionDataSource } from '@nocobase/client';
2
2
  import { FilterDynamicComponent } from '../components/FilterDynamicComponent';
3
- declare const _default: {
3
+ import { Instruction } from '.';
4
+ export default class extends Instruction {
4
5
  title: string;
5
6
  type: string;
6
7
  group: string;
@@ -37,12 +38,10 @@ declare const _default: {
37
38
  };
38
39
  };
39
40
  };
40
- view: {};
41
41
  scope: {
42
42
  useCollectionDataSource: typeof useCollectionDataSource;
43
43
  };
44
44
  components: {
45
45
  FilterDynamicComponent: typeof FilterDynamicComponent;
46
46
  };
47
- };
48
- export default _default;
47
+ }
@@ -2,7 +2,7 @@ import { ISchema } from '@formily/react';
2
2
  import React from 'react';
3
3
  import { SchemaInitializerItemType } from '@nocobase/client';
4
4
  import { VariableOption, VariableOptions } from '../variable';
5
- export interface Instruction {
5
+ export declare abstract class Instruction {
6
6
  title: string;
7
7
  type: string;
8
8
  group: string;
@@ -22,16 +22,12 @@ export interface Instruction {
22
22
  components?: {
23
23
  [key: string]: any;
24
24
  };
25
- component?(props: any): JSX.Element;
25
+ Component?(props: any): JSX.Element;
26
26
  useVariables?(node: any, options?: any): VariableOption;
27
27
  useScopeVariables?(node: any, options?: any): VariableOptions;
28
28
  useInitializers?(node: any): SchemaInitializerItemType | null;
29
- initializers?: {
30
- [key: string]: any;
31
- };
32
29
  isAvailable?(ctx: object): boolean;
33
30
  }
34
- export declare const instructions: any;
35
31
  export declare const NodeContext: React.Context<any>;
36
32
  export declare function useNodeContext(): any;
37
33
  export declare function useAvailableUpstreams(node: any): any[];
@@ -2,7 +2,8 @@
2
2
  import { SchemaInitializerItemType, useCollectionDataSource } from '@nocobase/client';
3
3
  import { FilterDynamicComponent } from '../components/FilterDynamicComponent';
4
4
  import { WorkflowVariableInput } from '../variable';
5
- declare const _default: {
5
+ import { Instruction } from '.';
6
+ export default class extends Instruction {
6
7
  title: string;
7
8
  type: string;
8
9
  group: string;
@@ -190,7 +191,6 @@ declare const _default: {
190
191
  'x-content': string;
191
192
  };
192
193
  };
193
- view: {};
194
194
  scope: {
195
195
  useCollectionDataSource: typeof useCollectionDataSource;
196
196
  useSortableFields(): {
@@ -214,6 +214,4 @@ declare const _default: {
214
214
  config: any;
215
215
  }, options: any): import("../variable").VariableOption;
216
216
  useInitializers(node: any): SchemaInitializerItemType | null;
217
- initializers: {};
218
- };
219
- export default _default;
217
+ }
@@ -1,11 +1,12 @@
1
1
  import React from 'react';
2
2
  import { useCollectionDataSource } from '@nocobase/client';
3
3
  import { FilterDynamicComponent } from '../components/FilterDynamicComponent';
4
+ import { Instruction } from '.';
4
5
  declare function IndividualHooksRadioWithTooltip({ onChange, ...props }: {
5
6
  [x: string]: any;
6
7
  onChange: any;
7
8
  }): React.JSX.Element;
8
- declare const _default: {
9
+ export default class extends Instruction {
9
10
  title: string;
10
11
  type: string;
11
12
  group: string;
@@ -70,7 +71,6 @@ declare const _default: {
70
71
  };
71
72
  };
72
73
  };
73
- view: {};
74
74
  scope: {
75
75
  useCollectionDataSource: typeof useCollectionDataSource;
76
76
  };
@@ -79,5 +79,5 @@ declare const _default: {
79
79
  CollectionFieldset: React.MemoExoticComponent<import("@formily/react").ReactFC<Omit<any, "ref">>>;
80
80
  IndividualHooksRadioWithTooltip: typeof IndividualHooksRadioWithTooltip;
81
81
  };
82
- };
83
- export default _default;
82
+ }
83
+ export {};
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { SchemaInitializerItemType, useCollectionDataSource } from '@nocobase/client';
3
- declare const _default: {
3
+ import { Trigger } from '.';
4
+ export default class extends Trigger {
4
5
  title: string;
5
6
  type: string;
6
7
  description: string;
@@ -109,6 +110,4 @@ declare const _default: {
109
110
  };
110
111
  useVariables(config: any, options: any): import("../variable").VariableOption[];
111
112
  useInitializers(config: any): SchemaInitializerItemType | null;
112
- initializers: {};
113
- };
114
- export default _default;
113
+ }
@@ -1,8 +1,8 @@
1
+ import React from 'react';
1
2
  import { ISchema } from '@formily/react';
2
3
  import { SchemaInitializerItemType } from '@nocobase/client';
3
- import React from 'react';
4
4
  import { VariableOptions } from '../variable';
5
- export interface Trigger {
5
+ export declare abstract class Trigger {
6
6
  title: string;
7
7
  type: string;
8
8
  description?: string;
@@ -21,14 +21,5 @@ export interface Trigger {
21
21
  initializers?: any;
22
22
  useActionTriggerable?: boolean | (() => boolean);
23
23
  }
24
- export declare const triggers: any;
25
24
  export declare const TriggerConfig: () => React.JSX.Element;
26
25
  export declare function useTrigger(): any;
27
- export declare function getTriggersOptions(): {
28
- value: any;
29
- label: any;
30
- color: string;
31
- options: {
32
- [x: string]: any;
33
- };
34
- }[];
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { SchemaInitializerItemType, useCollectionDataSource } from '@nocobase/client';
3
- declare const _default: {
3
+ import { Trigger } from '..';
4
+ export default class extends Trigger {
4
5
  title: string;
5
6
  type: string;
6
7
  description: string;
@@ -19,6 +20,4 @@ declare const _default: {
19
20
  };
20
21
  useVariables(config: any, opts: any): any[];
21
22
  useInitializers(config: any): SchemaInitializerItemType | null;
22
- initializers: {};
23
- };
24
- export default _default;
23
+ }
@@ -1,2 +1,3 @@
1
1
  export declare function linkNodes(nodes: any): void;
2
2
  export declare function isValidFilter(condition: any): any;
3
+ export declare function traverseSchema(schema: any, fn: any): void;
@@ -1,23 +1,21 @@
1
1
  module.exports = {
2
- "@ant-design/icons": "5.1.4",
3
- "@nocobase/client": "0.17.0-alpha.2",
4
- "antd": "5.8.6",
5
2
  "react": "18.2.0",
6
- "@nocobase/utils": "0.17.0-alpha.2",
3
+ "antd": "5.8.6",
4
+ "@ant-design/icons": "5.1.4",
5
+ "@nocobase/client": "0.17.0-alpha.4",
7
6
  "react-router-dom": "6.14.1",
7
+ "@nocobase/utils": "0.17.0-alpha.4",
8
8
  "react-i18next": "11.18.6",
9
9
  "winston": "3.9.0",
10
- "@nocobase/database": "0.17.0-alpha.2",
11
- "@nocobase/server": "0.17.0-alpha.2",
12
- "@nocobase/logger": "0.17.0-alpha.2",
13
- "@nocobase/evaluators": "0.17.0-alpha.2",
10
+ "@nocobase/database": "0.17.0-alpha.4",
11
+ "@nocobase/server": "0.17.0-alpha.4",
12
+ "@nocobase/logger": "0.17.0-alpha.4",
13
+ "@nocobase/evaluators": "0.17.0-alpha.4",
14
14
  "@formily/react": "2.2.27",
15
15
  "@formily/core": "2.2.27",
16
- "@formily/antd-v5": "1.1.7",
17
16
  "lodash": "4.17.21",
18
- "@nocobase/actions": "0.17.0-alpha.2",
19
- "axios": "0.26.1",
17
+ "@formily/antd-v5": "1.1.7",
18
+ "@nocobase/actions": "0.17.0-alpha.4",
20
19
  "sequelize": "6.32.1",
21
- "dayjs": "1.11.9",
22
- "@nocobase/resourcer": "0.17.0-alpha.2"
20
+ "dayjs": "1.11.9"
23
21
  };
@@ -1,39 +1,17 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var en_US_exports = {};
19
- __export(en_US_exports, {
20
- default: () => en_US_default
21
- });
22
- module.exports = __toCommonJS(en_US_exports);
23
- var en_US_default = {
24
- Workflow: "Workflow",
1
+ {
2
+ "Workflow": "Workflow",
25
3
  "Execution history": "Execution history",
26
- Executed: "Executed",
4
+ "Executed": "Executed",
27
5
  "Trigger type": "Trigger type",
28
- Status: "Status",
29
- On: "On",
30
- Off: "Off",
31
- Version: "Version",
6
+ "Status": "Status",
7
+ "On": "On",
8
+ "Off": "Off",
9
+ "Version": "Version",
32
10
  "Copy to new version": "Copy to new version",
33
- Duplicate: "Duplicate",
34
- Loading: "Loading",
11
+ "Duplicate": "Duplicate",
12
+ "Loading": "Loading",
35
13
  "Load failed": "Load failed",
36
- Trigger: "Trigger",
14
+ "Trigger": "Trigger",
37
15
  "Trigger variables": "Trigger variables",
38
16
  "Trigger data": "Trigger data",
39
17
  "Trigger time": "Trigger time",
@@ -58,14 +36,14 @@ var en_US_default = {
58
36
  "Repeat mode": "Repeat mode",
59
37
  "Repeat limit": "Repeat limit",
60
38
  "No limit": "No limit",
61
- Seconds: "Seconds",
62
- Minutes: "Minutes",
63
- Hours: "Hours",
64
- Days: "Days",
65
- Weeks: "Weeks",
66
- Months: "Months",
39
+ "Seconds": "Seconds",
40
+ "Minutes": "Minutes",
41
+ "Hours": "Hours",
42
+ "Days": "Days",
43
+ "Weeks": "Weeks",
44
+ "Months": "Months",
67
45
  "No repeat": "No repeat",
68
- Every: "Every",
46
+ "Every": "Every",
69
47
  "By minute": "By minute",
70
48
  "By hour": "By hour",
71
49
  "By day": "By day",
@@ -73,53 +51,39 @@ var en_US_default = {
73
51
  "By month": "By month",
74
52
  "By field": "By field",
75
53
  "By custom date": "By custom date",
76
- Advanced: "Advanced",
77
- End: "End",
54
+ "Advanced": "Advanced",
55
+ "End": "End",
78
56
  "Node result": "Node result",
79
- Constant: "Constant",
80
- Null: "Null",
81
- Boolean: "Boolean",
82
- String: "String",
83
- Calculator: "Calculator",
57
+ "Constant": "Constant",
58
+ "Null": "Null",
59
+ "Boolean": "Boolean",
60
+ "String": "String",
61
+ "Calculator": "Calculator",
84
62
  "Arithmetic calculation": "Arithmetic calculation",
85
63
  "String operation": "String operation",
86
64
  "Executed at": "Executed at",
87
- Queueing: "Queueing",
65
+ "Queueing": "Queueing",
88
66
  "On going": "On going",
89
- Succeeded: "Succeeded",
90
- Failed: "Failed",
91
- Pending: "Pending",
92
- Canceled: "Canceled",
67
+ "Succeeded": "Succeeded",
68
+ "Failed": "Failed",
69
+ "Pending": "Pending",
70
+ "Canceled": "Canceled",
93
71
  "This node contains branches, deleting will also be preformed to them, are you sure?": "This node contains branches, deleting will also be preformed to them, are you sure?",
94
- Control: "Control",
72
+ "Control": "Control",
95
73
  "Collection operations": "Collection operations",
96
74
  "Extended types": "Extended types",
97
75
  "Node type": "Node type",
98
- Calculation: "Calculation",
76
+ "Calculation": "Calculation",
99
77
  "Configure calculation": "Configure calculation",
100
78
  "Calculation result": "Calculation result",
101
- True: "True",
102
- False: "False",
103
- concat: "concat",
104
- Condition: "Condition",
105
- Mode: "Mode",
106
- 'Continue when "Yes"': 'Continue when "Yes"',
107
- 'Branch into "Yes" and "No"': 'Branch into "Yes" and "No"',
108
- Conditions: "Conditions",
109
- "Parallel branch": "Parallel branch",
110
- "Add branch": "Add branch",
111
- "All succeeded": "All succeeded",
112
- "Any succeeded": "Any succeeded",
113
- "Any succeeded or failed": "Any succeeded or failed",
114
- "Continue after all branches succeeded": "Continue after all branches succeeded",
115
- "Continue after any branch succeeded": "Continue after any branch succeeded",
116
- "Continue after any branch succeeded, or exit after any branch failed": "Continue after any branch succeeded, or exit after any branch failed",
117
- Delay: "Delay",
118
- Duration: "Duration",
119
- "End Status": "End Status",
120
- "Select status": "Select status",
121
- "Succeed and continue": "Succeed and continue",
122
- "Fail and exit": "Fail and exit",
79
+ "True": "True",
80
+ "False": "False",
81
+ "concat": "concat",
82
+ "Condition": "Condition",
83
+ "Mode": "Mode",
84
+ "Continue when \"Yes\"": "Continue when \"Yes\"",
85
+ "Branch into \"Yes\" and \"No\"": "Branch into \"Yes\" and \"No\"",
86
+ "Conditions": "Conditions",
123
87
  "Create record": "Create record",
124
88
  "Update record": "Update record",
125
89
  "Query record": "Query record",
@@ -130,22 +94,5 @@ var en_US_default = {
130
94
  "Trigger in executed workflow cannot be modified": "Trigger in executed workflow cannot be modified",
131
95
  "Node in executed workflow cannot be modified": "Node in executed workflow cannot be modified",
132
96
  "Can not delete": "Can not delete",
133
- "The result of this node has been referenced by other nodes ({{nodes}}), please remove the usage before deleting.": "The result of this node has been referenced by other nodes ({{nodes}}), please remove the usage before deleting.",
134
- "HTTP request": "HTTP request",
135
- "HTTP method": "HTTP method",
136
- URL: "URL",
137
- Headers: "Headers",
138
- "Add request header": "Add request header",
139
- Parameters: "Parameters",
140
- "Add parameter": "Add parameter",
141
- Body: "Body",
142
- "Use variable": "Use variable",
143
- Format: "Format",
144
- Insert: "Insert",
145
- "Timeout config": "Timeout config",
146
- ms: "ms",
147
- "Input request data": "Input request data",
148
- "Only support standard JSON data": "Only support standard JSON data",
149
- '"Content-Type" only support "application/json", and no need to specify': '"Content-Type" only support "application/json", and no need to specify',
150
- "Ignore fail request and continue workflow": "Ignore fail request and continue workflow"
151
- };
97
+ "The result of this node has been referenced by other nodes ({{nodes}}), please remove the usage before deleting.": "The result of this node has been referenced by other nodes ({{nodes}}), please remove the usage before deleting."
98
+ }
@@ -0,0 +1,98 @@
1
+ {
2
+ "Workflow": "Flujo de trabajo",
3
+ "Execution history": "Historial de ejecución",
4
+ "Executed": "Ejecutado",
5
+ "Trigger type": "Tipo de activador",
6
+ "Status": "Estado",
7
+ "On": "Activado",
8
+ "Off": "Apagado",
9
+ "Version": "Versión",
10
+ "Copy to new version": "Copiar a nueva versión",
11
+ "Duplicate": "Duplicar",
12
+ "Loading": "Cargando",
13
+ "Load failed": "Carga fallida",
14
+ "Trigger": "Disparador",
15
+ "Trigger variables": "Variables de activación",
16
+ "Trigger data": "Datos de activación",
17
+ "Trigger time": "Tiempo de activación",
18
+ "Triggered at": "Disparado a las",
19
+ "Collection event": "Evento de recogida",
20
+ "Trigger on": "Activado en",
21
+ "After record added": "Después de añadir el registro",
22
+ "After record updated": "Después de actualizar el registro",
23
+ "After record added or updated": "Después de añadir o actualizar el registro",
24
+ "After record deleted": "Después de eliminar el registro",
25
+ "Changed fields": "Campos modificados",
26
+ "Triggered only if one of the selected fields changes. If unselected, it means that it will be triggered when any field changes. When record is added or deleted, any field is considered to have been changed.": "Se activa sólo si cambia uno de los campos seleccionados. Si no se selecciona, significa que se activará cuando cambie cualquier campo. Cuando se añade o elimina un registro, se considera que se ha modificado cualquier campo.",
27
+ "Only triggers when match conditions": "Sólo se dispara cuando coinciden las condiciones",
28
+ "Schedule event": "Programar evento",
29
+ "Trigger mode": "Modo de activación",
30
+ "Based on certain date": "Basado en fecha determinada",
31
+ "Based on date field of collection": "Basado en el campo de fecha de la colección",
32
+ "Starts on": "Comienza el",
33
+ "Ends on": "Finaliza el",
34
+ "No end": "Sin fin",
35
+ "Exactly at": "Exactamente en",
36
+ "Repeat mode": "Modo repetición",
37
+ "Repeat limit": "Límite de repetición",
38
+ "No limit": "Sin límite",
39
+ "Seconds": "Segundos",
40
+ "Minutes": "Minutos",
41
+ "Hours": "Horas",
42
+ "Days": "Días",
43
+ "Weeks": "Semanas",
44
+ "Months": "Meses",
45
+ "No repeat": "No repetir",
46
+ "Every": "Cada",
47
+ "By minute": "Por minuto",
48
+ "By hour": "Por hora",
49
+ "By day": "Por día",
50
+ "By week": "Por semana",
51
+ "By month": "Por mes",
52
+ "By field": "Por campo",
53
+ "By custom date": "Por fecha personalizada",
54
+ "Advanced": "Avanzada",
55
+ "End": "Fin",
56
+ "Node result": "Resultado nodo",
57
+ "Constant": "Constante",
58
+ "Null": "Null",
59
+ "Boolean": "Booleano",
60
+ "String": "Cadena",
61
+ "Calculator": "Calculadora",
62
+ "Arithmetic calculation": "Cálculo aritmético",
63
+ "String operation": "Operación de Cadena",
64
+ "Executed at": "Ejecutado en",
65
+ "Queueing": "Puesta en cola",
66
+ "On going": "En curso",
67
+ "Succeeded": "Logrado",
68
+ "Failed": "Fallido",
69
+ "Pending": "Pendiente",
70
+ "Canceled": "Cancelado",
71
+ "This node contains branches, deleting will also be preformed to them, are you sure?": "Este nodo contiene ramas, el borrado también se preformará a ellas, ¿estás seguro?",
72
+ "Control": "Control",
73
+ "Collection operations": "Operaciones de recogida",
74
+ "Extended types": "Tipos ampliados",
75
+ "Node type": "Tipo de nodo",
76
+ "Calculation": "Cálculo",
77
+ "Configure calculation": "Configurar cálculo",
78
+ "Calculation result": "Resultado del cálculo",
79
+ "True": "Verdadero",
80
+ "False": "Falso",
81
+ "concat": "concat",
82
+ "Condition": "Condición",
83
+ "Mode": "Modo",
84
+ "Continue when \"Yes\"": "Continuar cuando \"Sí\"",
85
+ "Branch into \"Yes\" and \"No\"": "Ramificarse en \"Sí\" y \"No\"",
86
+ "Conditions": "Condiciones",
87
+ "Create record": "Crear registro",
88
+ "Update record": "Actualizar registro",
89
+ "Query record": "Consultar registro",
90
+ "Multiple records": "Múltiples registros",
91
+ "Please select collection first": "Por favor, seleccione primero la colección",
92
+ "Only update records matching conditions": "Actualizar sólo los registros que cumplan las condiciones",
93
+ "Fields that are not assigned a value will be set to the default value, and those that do not have a default value are set to null.": "Los campos a los que no se les asigne un valor se establecerán en el valor predeterminado, y los que no tengan un valor predeterminado se establecerán en nulo.",
94
+ "Trigger in executed workflow cannot be modified": "No se puede modificar el desencadenante en el flujo de trabajo ejecutado",
95
+ "Node in executed workflow cannot be modified": "Nodo en flujo de trabajo ejecutado no puede ser modificado",
96
+ "Can not delete": "No se puede eliminar",
97
+ "The result of this node has been referenced by other nodes ({{nodes}}), please remove the usage before deleting.": "El resultado de este nodo ha sido referenciado por otros nodos ({{nodes}}"
98
+ }