@nocobase/plugin-workflow 2.2.0-beta.14 → 2.2.0-beta.15

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 (242) hide show
  1. package/client-v2.d.ts +2 -0
  2. package/client-v2.js +1 -0
  3. package/dist/client/119.e7dbd037d52d1286.js +10 -0
  4. package/dist/client/142.fb4936d78fc80007.js +10 -0
  5. package/dist/client/159.cc9a0f2d92cab2c1.js +10 -0
  6. package/dist/client/276.69fb2aea13bc7c37.js +10 -0
  7. package/dist/client/346.66d060d37843d3d1.js +10 -0
  8. package/dist/client/382.d37fba14a6b91b0b.js +10 -0
  9. package/dist/client/394.a37310b78419ad7a.js +10 -0
  10. package/dist/client/438.6c6409d821d8c353.js +10 -0
  11. package/dist/client/509.88792f5bd054b2af.js +10 -0
  12. package/dist/client/54.d81b710f7b4c1cd5.js +10 -0
  13. package/dist/client/618.1aa6c21d0f2840cb.js +10 -0
  14. package/dist/client/635.ff6085589e23d39b.js +10 -0
  15. package/dist/client/67.56a3d15a55ab7d5c.js +10 -0
  16. package/dist/client/719.f011fde3ad54571e.js +10 -0
  17. package/dist/client/728.711fd4f1ed7d4e6a.js +10 -0
  18. package/dist/client/739.49407722fca8d236.js +10 -0
  19. package/dist/client/759.13aab01e6912ed8d.js +10 -0
  20. package/dist/client/772.1ebaef11a0ac8688.js +10 -0
  21. package/dist/client/782.47792ce10fc0d5fb.js +10 -0
  22. package/dist/client/828.6880ab21513b1968.js +10 -0
  23. package/dist/client/87.083467b89aaf3e53.js +10 -0
  24. package/dist/client/938.26493fc09ba1ccbc.js +10 -0
  25. package/dist/client/964.5ab736effd480a42.js +10 -0
  26. package/dist/client/972.dd7f074d5f12e171.js +10 -0
  27. package/dist/client/AddNodeContext.d.ts +1 -9
  28. package/dist/client/BranchContext.d.ts +2 -10
  29. package/dist/client/FlowContext.d.ts +10 -5
  30. package/dist/client/NodeClipboardContext.d.ts +12 -2
  31. package/dist/client/NodeDragContext.d.ts +14 -2
  32. package/dist/client/RemoveNodeContext.d.ts +16 -2
  33. package/dist/client/index.d.ts +1 -1
  34. package/dist/client/index.js +1 -1
  35. package/dist/client/nodeVariableUtils.d.ts +7 -6
  36. package/dist/client/nodes/calculation.d.ts +3 -75
  37. package/dist/client/nodes/condition.d.ts +7 -111
  38. package/dist/client/nodes/create.d.ts +3 -124
  39. package/dist/client/nodes/destroy.d.ts +2 -57
  40. package/dist/client/nodes/end.d.ts +2 -23
  41. package/dist/client/nodes/index.d.ts +2 -91
  42. package/dist/client/nodes/multi-conditions.d.ts +10 -48
  43. package/dist/client/nodes/output.d.ts +2 -44
  44. package/dist/client/nodes/query.d.ts +3 -255
  45. package/dist/client/nodes/update.d.ts +2 -117
  46. package/dist/client/style.d.ts +7 -27
  47. package/dist/client/triggers/collection.d.ts +3 -181
  48. package/dist/client/triggers/index.d.ts +2 -36
  49. package/dist/client/triggers/schedule/index.d.ts +8 -65
  50. package/dist/client/utils.d.ts +4 -5
  51. package/dist/client/variable.d.ts +7 -53
  52. package/dist/client-v2/119.81195bcd0d451279.js +10 -0
  53. package/dist/client-v2/142.a8c8df2a9abb43c5.js +10 -0
  54. package/dist/client-v2/159.cb221540c286cd32.js +10 -0
  55. package/dist/client-v2/276.7f746d899e221e2f.js +10 -0
  56. package/dist/client-v2/326.bdc99ad8e7590970.js +10 -0
  57. package/dist/client-v2/346.8c038b3c99d4fdc9.js +10 -0
  58. package/dist/client-v2/382.05f5482bb512b179.js +10 -0
  59. package/dist/client-v2/387.5e61d648d16dbf1b.js +10 -0
  60. package/dist/client-v2/394.515ed058e7f72797.js +10 -0
  61. package/dist/client-v2/438.b7df0416b66f8f64.js +10 -0
  62. package/dist/client-v2/513.617697f74783a611.js +10 -0
  63. package/dist/client-v2/54.d3daf06e53092726.js +10 -0
  64. package/dist/client-v2/635.14a6f21cf4f16345.js +10 -0
  65. package/dist/client-v2/677.7382807126d9621a.js +10 -0
  66. package/dist/client-v2/719.05cf070ef89a78f4.js +10 -0
  67. package/dist/client-v2/728.4e8322ff8fce87b9.js +10 -0
  68. package/dist/client-v2/739.5b60845103064f8d.js +10 -0
  69. package/dist/client-v2/759.7b162ad3adf450f1.js +10 -0
  70. package/dist/client-v2/772.8e5148d8c1518449.js +10 -0
  71. package/dist/client-v2/938.717e47af39485b29.js +10 -0
  72. package/dist/client-v2/ExecutionCanvas.d.ts +15 -0
  73. package/dist/client-v2/canvas/AddNodeContext.d.ts +35 -0
  74. package/dist/client-v2/canvas/AddNodeContext.shared.d.ts +33 -0
  75. package/dist/client-v2/canvas/AddNodeSlot.d.ts +20 -0
  76. package/dist/client-v2/canvas/Branch.d.ts +32 -0
  77. package/dist/client-v2/canvas/BranchContext.d.ts +29 -0
  78. package/dist/client-v2/canvas/BranchRenderContext.d.ts +14 -0
  79. package/dist/client-v2/canvas/CanvasContent.d.ts +20 -0
  80. package/dist/client-v2/canvas/DownstreamBranchIndex.d.ts +20 -0
  81. package/dist/client-v2/canvas/Instruction.d.ts +139 -0
  82. package/dist/{client/triggers/schedule/EndsByField.d.ts → client-v2/canvas/JobButton.d.ts} +3 -3
  83. package/dist/client-v2/canvas/Node.d.ts +38 -0
  84. package/dist/client-v2/canvas/NodeClipboardContext.d.ts +64 -0
  85. package/dist/client-v2/canvas/NodeConfigDrawer.d.ts +27 -0
  86. package/dist/client-v2/canvas/NodeDragContext.d.ts +83 -0
  87. package/dist/client-v2/canvas/RemoveNodeContext.d.ts +45 -0
  88. package/dist/client-v2/canvas/WorkflowTypedVariableInput.d.ts +16 -0
  89. package/dist/client-v2/canvas/WorkflowVariableInput.d.ts +40 -0
  90. package/dist/client-v2/canvas/WorkflowVariableJsonTextArea.d.ts +15 -0
  91. package/dist/client-v2/canvas/WorkflowVariableTag.d.ts +22 -0
  92. package/dist/client-v2/canvas/WorkflowVariableTextArea.d.ts +18 -0
  93. package/dist/client-v2/canvas/adaptVariableOptionToMetaTree.d.ts +48 -0
  94. package/dist/client-v2/canvas/addNodeController.d.ts +70 -0
  95. package/dist/client-v2/canvas/collectionFieldOptions.d.ts +57 -0
  96. package/dist/client-v2/canvas/contexts.d.ts +86 -0
  97. package/dist/client-v2/canvas/dropImpact.d.ts +28 -0
  98. package/dist/client-v2/canvas/instructionAvailability.d.ts +26 -0
  99. package/dist/client-v2/canvas/nodeRenderDispatch.d.ts +79 -0
  100. package/dist/client-v2/canvas/nodeTree.d.ts +21 -0
  101. package/dist/client-v2/canvas/nodeVariableUtils.d.ts +14 -0
  102. package/dist/client-v2/canvas/removeNodeUtils.d.ts +31 -0
  103. package/dist/client-v2/canvas/style.d.ts +35 -0
  104. package/dist/client-v2/canvas/textAreaInsertion.d.ts +14 -0
  105. package/dist/client-v2/canvas/useWorkflowInstruction.d.ts +23 -0
  106. package/dist/client-v2/canvas/useWorkflowVariableOptions.d.ts +40 -0
  107. package/dist/client-v2/canvas/workflowVariableConverters.d.ts +13 -0
  108. package/dist/client-v2/components/Calculation.d.ts +18 -0
  109. package/dist/client-v2/components/ExecutionStatusIcon.d.ts +18 -0
  110. package/dist/{client/triggers/schedule/RepeatField.d.ts → client-v2/components/ExecutionStatusTag.d.ts} +3 -4
  111. package/dist/client-v2/components/ExecutionViewHeader.d.ts +29 -0
  112. package/dist/client-v2/components/ExecutionsDropdown.d.ts +25 -0
  113. package/dist/client-v2/components/FilterDynamicComponent.d.ts +28 -0
  114. package/dist/client-v2/components/HideVariableContext.d.ts +11 -0
  115. package/dist/client-v2/components/JobResultModal.d.ts +11 -0
  116. package/dist/client-v2/components/RadioWithTooltip.d.ts +23 -0
  117. package/dist/client-v2/components/SyncModeSelect.d.ts +16 -0
  118. package/dist/{client/triggers/schedule/OnField.d.ts → client-v2/components/SyncModeTag.d.ts} +3 -3
  119. package/dist/client-v2/components/TestRunButton.d.ts +36 -0
  120. package/dist/client-v2/components/TimeoutInput.d.ts +15 -0
  121. package/dist/client-v2/components/WorkflowCanvasHeader.d.ts +17 -0
  122. package/dist/client-v2/components/WorkflowDetailsModal.d.ts +25 -0
  123. package/dist/client-v2/components/WorkflowEnabledSwitch.d.ts +16 -0
  124. package/dist/client-v2/components/WorkflowMenu.d.ts +17 -0
  125. package/dist/client-v2/components/WorkflowRevisionsDropdown.d.ts +15 -0
  126. package/dist/client-v2/components/WorkflowVariableWrapper.d.ts +25 -0
  127. package/dist/client-v2/components/collection/AppendsSelect.d.ts +15 -0
  128. package/dist/client-v2/components/collection/AssignedFieldsEditor.d.ts +24 -0
  129. package/dist/client-v2/components/collection/CollectionCascader.d.ts +15 -0
  130. package/dist/client-v2/components/collection/FieldsSelect.d.ts +16 -0
  131. package/dist/client-v2/components/collection/PaginationFields.d.ts +14 -0
  132. package/dist/client-v2/components/collection/SortFieldsInput.d.ts +19 -0
  133. package/dist/client-v2/components/collection/TriggerCollectionRecordSelect.d.ts +15 -0
  134. package/dist/client-v2/components/collection/index.d.ts +16 -0
  135. package/dist/client-v2/components/collection/utils.d.ts +42 -0
  136. package/dist/client-v2/components/formatResultForDisplay.d.ts +17 -0
  137. package/dist/client-v2/components/jobStatus.d.ts +27 -0
  138. package/dist/client-v2/components/renderEngineReference.d.ts +10 -0
  139. package/dist/client-v2/components/workflowCanvas.d.ts +41 -0
  140. package/dist/client-v2/constants.d.ts +19 -0
  141. package/dist/client-v2/hooks/useWorkflowRuntimePaths.d.ts +16 -0
  142. package/dist/client-v2/index.d.ts +48 -0
  143. package/dist/client-v2/index.js +10 -0
  144. package/dist/client-v2/locale.d.ts +41 -0
  145. package/dist/{client → client-v2}/models/NodeDetailsGridModel.d.ts +1 -1
  146. package/dist/{client → client-v2}/models/NodeDetailsModel.d.ts +1 -1
  147. package/dist/{client → client-v2}/models/NodeValueModel.d.ts +1 -1
  148. package/dist/{client → client-v2}/models/TaskCardCommonItemModel.d.ts +1 -1
  149. package/dist/client-v2/models/WorkflowTasksTopbarActionModel.d.ts +18 -0
  150. package/dist/{client → client-v2}/models/index.d.ts +2 -0
  151. package/dist/client-v2/models/triggerWorkflows.d.ts +43 -0
  152. package/dist/client-v2/nodes/calculation.d.ts +38 -0
  153. package/dist/client-v2/nodes/collectionNode.d.ts +29 -0
  154. package/dist/client-v2/nodes/components/calculation.d.ts +11 -0
  155. package/dist/client-v2/nodes/components/collection.d.ts +15 -0
  156. package/dist/client-v2/nodes/components/condition.d.ts +25 -0
  157. package/dist/client-v2/nodes/components/conditionShared.d.ts +20 -0
  158. package/dist/client-v2/nodes/components/create.d.ts +12 -0
  159. package/dist/client-v2/nodes/components/destroy.d.ts +12 -0
  160. package/dist/{client/triggers/schedule/ScheduleConfig.d.ts → client-v2/nodes/components/end.d.ts} +1 -1
  161. package/dist/client-v2/nodes/components/filter.d.ts +17 -0
  162. package/dist/client-v2/nodes/components/multi-conditions.d.ts +13 -0
  163. package/dist/client-v2/nodes/components/multiConditionsShared.d.ts +20 -0
  164. package/dist/client-v2/nodes/components/output.d.ts +10 -0
  165. package/dist/client-v2/nodes/components/query.d.ts +12 -0
  166. package/dist/client-v2/nodes/components/update.d.ts +12 -0
  167. package/dist/client-v2/nodes/condition.d.ts +46 -0
  168. package/dist/client-v2/nodes/create.d.ts +30 -0
  169. package/dist/client-v2/nodes/destroy.d.ts +24 -0
  170. package/dist/client-v2/nodes/end.d.ts +21 -0
  171. package/dist/client-v2/nodes/multi-conditions.d.ts +34 -0
  172. package/dist/client-v2/nodes/output.d.ts +29 -0
  173. package/dist/client-v2/nodes/query.d.ts +32 -0
  174. package/dist/client-v2/nodes/update.d.ts +25 -0
  175. package/dist/client-v2/pages/ExecutionHistoryDrawer.d.ts +13 -0
  176. package/dist/client-v2/pages/ExecutionViewPage.d.ts +10 -0
  177. package/dist/client-v2/pages/WorkflowCanvasPage.d.ts +10 -0
  178. package/dist/client-v2/pages/WorkflowCategoryTabs.d.ts +25 -0
  179. package/dist/client-v2/pages/WorkflowFormDrawer.d.ts +40 -0
  180. package/dist/client-v2/pages/WorkflowPane.d.ts +10 -0
  181. package/dist/client-v2/pages/WorkflowTasksPage.d.ts +10 -0
  182. package/dist/client-v2/plugin.d.ts +119 -0
  183. package/dist/client-v2/taskCenter.d.ts +105 -0
  184. package/dist/client-v2/triggers/ExecuteWorkflowButton.d.ts +35 -0
  185. package/dist/client-v2/triggers/TriggerConfig.d.ts +22 -0
  186. package/dist/client-v2/triggers/TriggerExecutionButton.d.ts +13 -0
  187. package/dist/client-v2/triggers/collection/CollectionConfig.d.ts +14 -0
  188. package/dist/client-v2/triggers/collection/TriggerCollectionConfig.d.ts +11 -0
  189. package/dist/client-v2/triggers/collection/constants.d.ts +28 -0
  190. package/dist/client-v2/triggers/collection/index.d.ts +40 -0
  191. package/dist/client-v2/triggers/index.d.ts +63 -0
  192. package/dist/client-v2/triggers/schedule/EndsByField.d.ts +17 -0
  193. package/dist/client-v2/triggers/schedule/OnField.d.ts +20 -0
  194. package/dist/client-v2/triggers/schedule/RepeatField.d.ts +23 -0
  195. package/dist/client-v2/triggers/schedule/ScheduleConfig.d.ts +17 -0
  196. package/dist/client-v2/triggers/schedule/ScheduleModes.d.ts +41 -0
  197. package/dist/{client → client-v2}/triggers/schedule/TriggerScheduleConfig.d.ts +1 -0
  198. package/dist/{client → client-v2}/triggers/schedule/constants.d.ts +8 -5
  199. package/dist/client-v2/triggers/schedule/index.d.ts +40 -0
  200. package/dist/client-v2/triggers/schedule/locale/Cron.zh-CN.d.ts +11 -0
  201. package/dist/client-v2/utils/contextSingleton.d.ts +9 -0
  202. package/dist/common/collections/workflows.d.ts +16 -0
  203. package/dist/common/collections/workflows.js +5 -0
  204. package/dist/common/defaultWorkflowFilter.d.ts +21 -0
  205. package/dist/common/defaultWorkflowFilter.js +38 -0
  206. package/dist/common/executionStatus.d.ts +44 -0
  207. package/dist/common/executionStatus.js +133 -0
  208. package/dist/externalVersion.js +16 -13
  209. package/dist/locale/de-DE.json +14 -1
  210. package/dist/locale/en-US.json +25 -1
  211. package/dist/locale/es-ES.json +14 -1
  212. package/dist/locale/fr-FR.json +14 -1
  213. package/dist/locale/hu-HU.json +14 -1
  214. package/dist/locale/id-ID.json +14 -1
  215. package/dist/locale/it-IT.json +14 -1
  216. package/dist/locale/ja-JP.json +14 -1
  217. package/dist/locale/ko-KR.json +14 -1
  218. package/dist/locale/nl-NL.json +14 -1
  219. package/dist/locale/pt-BR.json +14 -1
  220. package/dist/locale/ru-RU.json +14 -1
  221. package/dist/locale/tr-TR.json +14 -1
  222. package/dist/locale/uk-UA.json +14 -1
  223. package/dist/locale/vi-VN.json +14 -1
  224. package/dist/locale/zh-CN.json +24 -1
  225. package/dist/locale/zh-TW.json +20 -1
  226. package/dist/node_modules/cron-parser/package.json +1 -1
  227. package/dist/node_modules/joi/package.json +1 -1
  228. package/dist/node_modules/lru-cache/package.json +1 -1
  229. package/dist/node_modules/nodejs-snowflake/package.json +1 -1
  230. package/dist/server/Dispatcher.js +2 -1
  231. package/dist/server/ExecutionTimeoutManager.js +2 -1
  232. package/dist/server/actions/workflows.d.ts +1 -0
  233. package/dist/server/actions/workflows.js +11 -2
  234. package/dist/server/migrations/20260713000000-remove-workflow-validation.d.ts +13 -0
  235. package/dist/server/migrations/20260713000000-remove-workflow-validation.js +56 -0
  236. package/dist/server/types/Workflow.d.ts +1 -0
  237. package/package.json +4 -2
  238. package/dist/client/618.c91be3f6e4d73501.js +0 -10
  239. package/dist/client/67.6eab22df32aca212.js +0 -10
  240. package/dist/client/964.5e11e1820fece37b.js +0 -10
  241. package/dist/client/triggers/schedule/ScheduleModes.d.ts +0 -170
  242. package/dist/client/triggers/schedule/locale/Cron.zh-CN.d.ts +0 -42
@@ -0,0 +1,23 @@
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 React from 'react';
10
+ import { type Locale } from 'react-js-cron';
11
+ import 'react-js-cron/dist/styles.css';
12
+ declare global {
13
+ interface Window {
14
+ cronLocale?: Locale;
15
+ }
16
+ }
17
+ type RepeatValue = number | string | null;
18
+ export declare function RepeatField({ value, onChange, disabled, }: {
19
+ value?: RepeatValue;
20
+ onChange?: (value: RepeatValue) => void;
21
+ disabled?: boolean;
22
+ }): React.JSX.Element;
23
+ export default RepeatField;
@@ -0,0 +1,17 @@
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 React from 'react';
10
+ export declare function TriggerModeField({ disabled }: {
11
+ disabled?: boolean;
12
+ }): React.JSX.Element;
13
+ export declare function ScheduleConfig({ modeDisabled }: {
14
+ modeDisabled?: boolean;
15
+ }): React.JSX.Element;
16
+ export declare function SchedulePresetConfig(): React.JSX.Element;
17
+ export default ScheduleConfig;
@@ -0,0 +1,41 @@
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 type ScheduleConfigValue = {
10
+ mode?: number;
11
+ collection?: string;
12
+ startsOn?: unknown;
13
+ repeat?: unknown;
14
+ endsOn?: unknown;
15
+ limit?: number;
16
+ appends?: string[];
17
+ };
18
+ type ScheduleFieldMeta = {
19
+ title: string;
20
+ description?: string;
21
+ placeholder?: string;
22
+ min?: number;
23
+ required?: boolean;
24
+ };
25
+ type ScheduleExecuteFieldMeta = {
26
+ title: string;
27
+ description?: string;
28
+ placeholder?: string;
29
+ required?: boolean;
30
+ };
31
+ export declare const ScheduleModeFields: Record<number, Record<string, ScheduleFieldMeta>>;
32
+ export declare const ScheduleModeExecuteFields: Record<number, Record<string, ScheduleExecuteFieldMeta>>;
33
+ export declare const ScheduleModes: {
34
+ 0: {
35
+ validate(config: ScheduleConfigValue): boolean;
36
+ };
37
+ 1: {
38
+ validate(config: ScheduleConfigValue): boolean;
39
+ };
40
+ };
41
+ export {};
@@ -8,3 +8,4 @@
8
8
  */
9
9
  import React from 'react';
10
10
  export declare function TriggerScheduleConfig(): React.JSX.Element;
11
+ export default TriggerScheduleConfig;
@@ -7,10 +7,13 @@
7
7
  * For more information, please refer to: https://www.nocobase.com/agreement.
8
8
  */
9
9
  export declare const SCHEDULE_MODE: {
10
- STATIC: number;
11
- DATE_FIELD: number;
10
+ readonly STATIC: 0;
11
+ readonly DATE_FIELD: 1;
12
12
  };
13
- export declare const scheduleModeOptions: {
14
- value: number;
13
+ export declare const scheduleModeOptions: ({
14
+ value: 0;
15
15
  label: string;
16
- }[];
16
+ } | {
17
+ value: 1;
18
+ label: string;
19
+ })[];
@@ -0,0 +1,40 @@
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 SubModelItem } from '@nocobase/flow-engine';
10
+ import { type UseVariableOptions, type VariableOption } from '../../canvas/collectionFieldOptions';
11
+ import { Trigger, type LoaderOf } from '..';
12
+ import { type ScheduleConfigValue } from './ScheduleModes';
13
+ declare function useVariables(config: ScheduleConfigValue, opts?: UseVariableOptions): VariableOption[];
14
+ export default class ScheduleTrigger extends Trigger {
15
+ sync: boolean;
16
+ title: string;
17
+ description: string;
18
+ PresetFieldsetLoader: LoaderOf;
19
+ FieldsetLoader: LoaderOf<{
20
+ modeDisabled?: boolean;
21
+ }>;
22
+ TriggerFieldsetLoader: LoaderOf;
23
+ createDefaultConfig(): {
24
+ mode: 0;
25
+ };
26
+ validate(config: ScheduleConfigValue): boolean;
27
+ useVariables: typeof useVariables;
28
+ getCreateModelMenuItem({ config }: {
29
+ config: ScheduleConfigValue;
30
+ }): SubModelItem | null;
31
+ useTempAssociationSource(config: ScheduleConfigValue, workflow?: {
32
+ id?: string | number;
33
+ }): {
34
+ collection: string;
35
+ nodeId: string | number;
36
+ nodeKey: string;
37
+ nodeType: "workflow";
38
+ };
39
+ }
40
+ export {};
@@ -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
+ import type { Locale } from 'react-js-cron';
10
+ declare const zhCN: Locale;
11
+ export default zhCN;
@@ -0,0 +1,9 @@
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 function getWorkflowSingleton<T>(name: string, factory: () => T): T;
@@ -188,6 +188,22 @@ declare const _default: {
188
188
  constraints?: undefined;
189
189
  through?: undefined;
190
190
  otherKey?: undefined;
191
+ } | {
192
+ type: string;
193
+ name: string;
194
+ defaultValue: boolean;
195
+ primaryKey?: undefined;
196
+ allowNull?: undefined;
197
+ interface?: undefined;
198
+ uiSchema?: undefined;
199
+ required?: undefined;
200
+ target?: undefined;
201
+ onDelete?: undefined;
202
+ foreignKey?: undefined;
203
+ sourceKey?: undefined;
204
+ constraints?: undefined;
205
+ through?: undefined;
206
+ otherKey?: undefined;
191
207
  } | {
192
208
  type: string;
193
209
  name: string;
@@ -120,6 +120,11 @@ var workflows_default = {
120
120
  required: true,
121
121
  defaultValue: {}
122
122
  },
123
+ {
124
+ type: "boolean",
125
+ name: "invalid",
126
+ defaultValue: false
127
+ },
123
128
  {
124
129
  type: "hasMany",
125
130
  name: "nodes",
@@ -0,0 +1,21 @@
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 defaultWorkflowFilter: {
10
+ $and: ({
11
+ title: {
12
+ $includes: string;
13
+ };
14
+ type?: undefined;
15
+ } | {
16
+ type: {
17
+ $eq: any;
18
+ };
19
+ title?: undefined;
20
+ })[];
21
+ };
@@ -0,0 +1,38 @@
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
+ var __defProp = Object.defineProperty;
11
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12
+ var __getOwnPropNames = Object.getOwnPropertyNames;
13
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
14
+ var __export = (target, all) => {
15
+ for (var name in all)
16
+ __defProp(target, name, { get: all[name], enumerable: true });
17
+ };
18
+ var __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from === "object" || typeof from === "function") {
20
+ for (let key of __getOwnPropNames(from))
21
+ if (!__hasOwnProp.call(to, key) && key !== except)
22
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
+ }
24
+ return to;
25
+ };
26
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
+ var defaultWorkflowFilter_exports = {};
28
+ __export(defaultWorkflowFilter_exports, {
29
+ defaultWorkflowFilter: () => defaultWorkflowFilter
30
+ });
31
+ module.exports = __toCommonJS(defaultWorkflowFilter_exports);
32
+ const defaultWorkflowFilter = {
33
+ $and: [{ title: { $includes: "" } }, { type: { $eq: void 0 } }]
34
+ };
35
+ // Annotate the CommonJS export names for ESM import in node:
36
+ 0 && (module.exports = {
37
+ defaultWorkflowFilter
38
+ });
@@ -0,0 +1,44 @@
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
+ * Framework-neutral execution-status metadata shared between the legacy
11
+ * `src/client/` (v1) and the new `src/client-v2/` lanes. The `label` /
12
+ * `description` strings are i18n templates compiled via `useT()` in v2 and
13
+ * `Schema.compile`/`useCompile` in v1. Colors are antd `Tag` preset color
14
+ * names (not raw hex), so they stay token-driven.
15
+ *
16
+ * The legacy `src/client/constants.tsx` keeps its own richer copy (with React
17
+ * icon nodes) because it is consumed by ~100 v1 files; this module only carries
18
+ * the plain data the v2 lane needs and never imports `@nocobase/client`.
19
+ */
20
+ export declare const EXECUTION_STATUS: {
21
+ readonly QUEUEING: any;
22
+ readonly STARTED: 0;
23
+ readonly RESOLVED: 1;
24
+ readonly FAILED: -1;
25
+ readonly ERROR: -2;
26
+ readonly ABORTED: -3;
27
+ readonly CANCELED: -4;
28
+ readonly REJECTED: -5;
29
+ readonly RETRY_NEEDED: -6;
30
+ };
31
+ export type ExecutionStatusOption = {
32
+ value: number | null;
33
+ label: string;
34
+ color: string;
35
+ description?: string;
36
+ };
37
+ export declare const EXECUTION_STATUS_OPTIONS: ExecutionStatusOption[];
38
+ export declare const EXECUTION_STATUS_OPTIONS_MAP: Record<string, ExecutionStatusOption>;
39
+ export type ExecutionReasonOption = {
40
+ value: string;
41
+ label: string;
42
+ };
43
+ export declare const EXECUTION_REASON_OPTIONS: ExecutionReasonOption[];
44
+ export declare const EXECUTION_REASON_OPTIONS_MAP: Record<string, ExecutionReasonOption>;
@@ -0,0 +1,133 @@
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
+ var __defProp = Object.defineProperty;
11
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12
+ var __getOwnPropNames = Object.getOwnPropertyNames;
13
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
14
+ var __export = (target, all) => {
15
+ for (var name in all)
16
+ __defProp(target, name, { get: all[name], enumerable: true });
17
+ };
18
+ var __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from === "object" || typeof from === "function") {
20
+ for (let key of __getOwnPropNames(from))
21
+ if (!__hasOwnProp.call(to, key) && key !== except)
22
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
+ }
24
+ return to;
25
+ };
26
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
27
+ var executionStatus_exports = {};
28
+ __export(executionStatus_exports, {
29
+ EXECUTION_REASON_OPTIONS: () => EXECUTION_REASON_OPTIONS,
30
+ EXECUTION_REASON_OPTIONS_MAP: () => EXECUTION_REASON_OPTIONS_MAP,
31
+ EXECUTION_STATUS: () => EXECUTION_STATUS,
32
+ EXECUTION_STATUS_OPTIONS: () => EXECUTION_STATUS_OPTIONS,
33
+ EXECUTION_STATUS_OPTIONS_MAP: () => EXECUTION_STATUS_OPTIONS_MAP
34
+ });
35
+ module.exports = __toCommonJS(executionStatus_exports);
36
+ var import_constants = require("./constants");
37
+ const EXECUTION_STATUS = {
38
+ QUEUEING: null,
39
+ STARTED: 0,
40
+ RESOLVED: 1,
41
+ FAILED: -1,
42
+ ERROR: -2,
43
+ ABORTED: -3,
44
+ CANCELED: -4,
45
+ REJECTED: -5,
46
+ RETRY_NEEDED: -6
47
+ };
48
+ const EXECUTION_STATUS_OPTIONS = [
49
+ {
50
+ value: EXECUTION_STATUS.QUEUEING,
51
+ label: `{{t("Queueing", { ns: "${import_constants.NAMESPACE}" })}}`,
52
+ color: "blue",
53
+ description: `{{t("Triggered but still waiting in queue to execute.", { ns: "${import_constants.NAMESPACE}" })}}`
54
+ },
55
+ {
56
+ value: EXECUTION_STATUS.STARTED,
57
+ label: `{{t("On going", { ns: "${import_constants.NAMESPACE}" })}}`,
58
+ color: "gold",
59
+ description: `{{t("Started and executing, maybe waiting for an async callback (manual, delay etc.).", { ns: "${import_constants.NAMESPACE}" })}}`
60
+ },
61
+ {
62
+ value: EXECUTION_STATUS.RESOLVED,
63
+ label: `{{t("Resolved", { ns: "${import_constants.NAMESPACE}" })}}`,
64
+ color: "green",
65
+ description: `{{t("Successfully finished.", { ns: "${import_constants.NAMESPACE}" })}}`
66
+ },
67
+ {
68
+ value: EXECUTION_STATUS.FAILED,
69
+ label: `{{t("Failed", { ns: "${import_constants.NAMESPACE}" })}}`,
70
+ color: "red",
71
+ description: `{{t("Failed to satisfy node configurations.", { ns: "${import_constants.NAMESPACE}" })}}`
72
+ },
73
+ {
74
+ value: EXECUTION_STATUS.ERROR,
75
+ label: `{{t("Error", { ns: "${import_constants.NAMESPACE}" })}}`,
76
+ color: "red",
77
+ description: `{{t("Some node meets error.", { ns: "${import_constants.NAMESPACE}" })}}`
78
+ },
79
+ {
80
+ value: EXECUTION_STATUS.ABORTED,
81
+ label: `{{t("Aborted", { ns: "${import_constants.NAMESPACE}" })}}`,
82
+ color: "red",
83
+ description: `{{t("Running of some node was aborted by program flow.", { ns: "${import_constants.NAMESPACE}" })}}`
84
+ },
85
+ {
86
+ value: EXECUTION_STATUS.CANCELED,
87
+ label: `{{t("Canceled", { ns: "${import_constants.NAMESPACE}" })}}`,
88
+ color: "volcano",
89
+ description: `{{t("Manually canceled whole execution when waiting.", { ns: "${import_constants.NAMESPACE}" })}}`
90
+ },
91
+ {
92
+ value: EXECUTION_STATUS.REJECTED,
93
+ label: `{{t("Rejected", { ns: "${import_constants.NAMESPACE}" })}}`,
94
+ color: "volcano",
95
+ description: `{{t("Rejected from a manual node.", { ns: "${import_constants.NAMESPACE}" })}}`
96
+ },
97
+ {
98
+ value: EXECUTION_STATUS.RETRY_NEEDED,
99
+ label: `{{t("Retry needed", { ns: "${import_constants.NAMESPACE}" })}}`,
100
+ color: "volcano",
101
+ description: `{{t("General failed but should do another try.", { ns: "${import_constants.NAMESPACE}" })}}`
102
+ }
103
+ ];
104
+ const EXECUTION_STATUS_OPTIONS_MAP = EXECUTION_STATUS_OPTIONS.reduce(
105
+ (map, option) => Object.assign(map, { [option.value]: option }),
106
+ {}
107
+ );
108
+ const EXECUTION_REASON_OPTIONS = [
109
+ {
110
+ value: import_constants.EXECUTION_REASON.TIMEOUT,
111
+ label: `{{t("Timed out", { ns: "${import_constants.NAMESPACE}" })}}`
112
+ },
113
+ {
114
+ value: import_constants.EXECUTION_REASON.MANUAL_CANCEL,
115
+ label: `{{t("Canceled manually", { ns: "${import_constants.NAMESPACE}" })}}`
116
+ },
117
+ {
118
+ value: import_constants.EXECUTION_REASON.PARENT_ABORTED,
119
+ label: `{{t("Aborted with parent execution", { ns: "${import_constants.NAMESPACE}" })}}`
120
+ }
121
+ ];
122
+ const EXECUTION_REASON_OPTIONS_MAP = EXECUTION_REASON_OPTIONS.reduce(
123
+ (map, option) => Object.assign(map, { [option.value]: option }),
124
+ {}
125
+ );
126
+ // Annotate the CommonJS export names for ESM import in node:
127
+ 0 && (module.exports = {
128
+ EXECUTION_REASON_OPTIONS,
129
+ EXECUTION_REASON_OPTIONS_MAP,
130
+ EXECUTION_STATUS,
131
+ EXECUTION_STATUS_OPTIONS,
132
+ EXECUTION_STATUS_OPTIONS_MAP
133
+ });
@@ -11,30 +11,33 @@ module.exports = {
11
11
  "react": "18.2.0",
12
12
  "@formily/core": "2.3.7",
13
13
  "@formily/react": "2.3.7",
14
- "@nocobase/client": "2.2.0-beta.14",
15
- "@nocobase/utils": "2.2.0-beta.14",
14
+ "@nocobase/client": "2.2.0-beta.15",
15
+ "@nocobase/utils": "2.2.0-beta.15",
16
16
  "antd": "5.24.2",
17
17
  "@ant-design/icons": "5.6.1",
18
+ "@nocobase/flow-engine": "2.2.0-beta.15",
19
+ "ahooks": "3.7.8",
18
20
  "react-router-dom": "6.30.1",
19
21
  "react-i18next": "11.18.6",
20
22
  "lodash": "4.18.1",
21
23
  "@dnd-kit/core": "6.1.0",
22
24
  "@formily/shared": "2.3.7",
23
- "@nocobase/flow-engine": "2.2.0-beta.14",
24
- "@nocobase/plugin-mobile": "2.2.0-beta.14",
25
+ "@nocobase/plugin-mobile": "2.2.0-beta.15",
26
+ "@nocobase/client-v2": "2.2.0-beta.15",
25
27
  "sequelize": "6.35.2",
26
- "@nocobase/server": "2.2.0-beta.14",
27
- "@nocobase/database": "2.2.0-beta.14",
28
- "@nocobase/data-source-manager": "2.2.0-beta.14",
29
- "@nocobase/logger": "2.2.0-beta.14",
30
- "@nocobase/evaluators": "2.2.0-beta.14",
28
+ "@nocobase/server": "2.2.0-beta.15",
29
+ "@nocobase/database": "2.2.0-beta.15",
30
+ "@nocobase/data-source-manager": "2.2.0-beta.15",
31
+ "@nocobase/logger": "2.2.0-beta.15",
32
+ "@nocobase/evaluators": "2.2.0-beta.15",
31
33
  "@formily/antd-v5": "1.2.3",
32
34
  "@formily/reactive": "2.3.7",
33
35
  "@emotion/css": "11.13.0",
34
36
  "@formily/json-schema": "2.3.7",
35
- "@formily/reactive-react": "2.3.7",
36
- "@nocobase/actions": "2.2.0-beta.14",
37
+ "antd-style": "3.7.1",
37
38
  "dayjs": "1.11.13",
38
- "@nocobase/plugin-workflow-test": "2.2.0-beta.14",
39
- "@nocobase/test": "2.2.0-beta.14"
39
+ "@nocobase/actions": "2.2.0-beta.15",
40
+ "@nocobase/plugin-workflow-test": "2.2.0-beta.15",
41
+ "@nocobase/test": "2.2.0-beta.15",
42
+ "@dnd-kit/sortable": "7.0.2"
40
43
  };
@@ -102,6 +102,9 @@
102
102
  "Executed at": "Ausgeführt am",
103
103
  "Executed workflow cannot be modified. Could be copied to a new version to modify.": "Ausgeführter Workflow kann nicht geändert werden. Kann in eine neue Version kopiert werden, um Änderungen vorzunehmen.",
104
104
  "Execution history": "Ausführungsverlauf",
105
+ "Version ID": "Versions-ID",
106
+ "Parent execution ID": "Übergeordnete Ausführungs-ID",
107
+ "Triggered manually": "Manuell ausgelöst",
105
108
  "Timeout settings": "Zeitlimit-Einstellungen",
106
109
  "0 means unlimited. If you set any other value and the execution is still not completed when the timeout is reached, the execution plan will be terminated and the remaining nodes will not be executed. Time spent in queue is not counted; timing starts only after it first enters a processor.": "0 bedeutet unbegrenzt. Wenn Sie einen anderen Wert festlegen und die Ausführung beim Erreichen des Zeitlimits noch nicht abgeschlossen ist, wird der Ausführungsplan beendet und die verbleibenden Knoten werden nicht mehr ausgeführt. Die Zeit in der Warteschlange wird nicht mitgezählt; die Zeitmessung beginnt erst, nachdem die Ausführung erstmals einen Prozessor erreicht hat.",
107
110
  "Exit when query result is null": "Beenden, wenn das Abfrageergebnis null ist",
@@ -251,6 +254,7 @@
251
254
  "When no condition matches": "When no condition matches",
252
255
  "Will be executed in the background as a queued task.": "Wird im Hintergrund als Aufgabe in der Warteschlange ausgeführt.",
253
256
  "Workflow": "Workflow",
257
+ "Workflow not executed": "Workflow nicht ausgeführt",
254
258
  "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow ausgeführt, der Ergebnisstatus ist <1>{{statusText}}</1><2>Ausführung anzeigen</2>",
255
259
  "Workflow was not triggered because the current request did not meet the trigger requirements.": "Der Workflow wurde nicht ausgelöst, weil die aktuelle Anfrage die Auslöseanforderungen nicht erfüllt.",
256
260
  "Workflow of execution is not existed": "Workflow of execution is not existed",
@@ -267,5 +271,14 @@
267
271
  "Impacted dependent node variables": "Knoten, die Variablen des aktuellen Knotens referenzieren",
268
272
  "Keep variable references": "Variablenreferenzen beibehalten",
269
273
  "Keeping variable references requires manual adjustment, otherwise workflow may fail.": "Das Beibehalten von Variablenreferenzen erfordert eine manuelle Anpassung, andernfalls kann der Workflow fehlschlagen.",
270
- "Failed to update node variables": "Aktualisierung der Knotenvariablen fehlgeschlagen"
274
+ "Failed to update node variables": "Aktualisierung der Knotenvariablen fehlgeschlagen",
275
+ "Unsupported node": "Unsupported node",
276
+ "This node type is not available in the new canvas yet.": "This node type is not available in the new canvas yet.",
277
+ "This node's configuration has not been migrated to the new canvas yet.": "This node's configuration has not been migrated to the new canvas yet.",
278
+ "Node title": "Node title",
279
+ "Failed to add node": "Failed to add node",
280
+ "Failed to delete node": "Failed to delete node",
281
+ "Failed to save node": "Failed to save node",
282
+ "Failed to run": "Failed to run",
283
+ "Copied node": "Copied node"
271
284
  }
@@ -8,6 +8,7 @@
8
8
  "Add": "Add",
9
9
  "Add branch": "Add branch",
10
10
  "Add category": "Add category",
11
+ "Add field": "Add field",
11
12
  "Add new record to a collection. You can use variables from upstream nodes to assign values to fields.": "Add new record to a collection. You can use variables from upstream nodes to assign values to fields.",
12
13
  "Add node": "Add node",
13
14
  "Add workflow": "Add workflow",
@@ -116,6 +117,8 @@
116
117
  "Failed to satisfy node configurations.": "Failed to satisfy node configurations.",
117
118
  "False": "False",
118
119
  "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.": "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.",
120
+ "Fields values": "Fields values",
121
+ "Failed to save trigger": "Failed to save trigger",
119
122
  "First condition": "First condition",
120
123
  "For user actions that require immediate feedback. Can not use asynchronous nodes in such mode, and it is not recommended to perform time-consuming operations under synchronous mode.": "For user actions that require immediate feedback. Can not use asynchronous nodes in such mode, and it is not recommended to perform time-consuming operations under synchronous mode.",
121
124
  "From left to right, attempt each branch sequentially based on the configured conditions. Only branches that meet the conditions will be executed. Otherwise, the next branch will be attempted. If none of the branches meet the conditions, it can either exit the process or continue to the next node based on configuration.": "From left to right, attempt each branch sequentially based on the configured conditions. Only branches that meet the conditions will be executed. Otherwise, the next branch will be attempted. If none of the branches meet the conditions, it can either exit the process or continue to the next node based on configuration.",
@@ -155,6 +158,7 @@
155
158
  "No workflow tasks available. Please contact the administrator.": "No workflow tasks available. Please contact the administrator.",
156
159
  "Node in executed workflow cannot be modified": "Node in executed workflow cannot be modified",
157
160
  "Node result": "Node result",
161
+ "Node title": "Node title",
158
162
  "Node type": "Node type",
159
163
  "Node with unknown type will cause error. Please delete it or check plugin which provide this type.": "Node with unknown type will cause error. Please delete it or check plugin which provide this type.",
160
164
  "Null": "Null",
@@ -169,6 +173,7 @@
169
173
  "Otherwise": "Otherwise",
170
174
  "Output": "Output",
171
175
  "Output value": "Output value",
176
+ "Parent execution ID": "Parent execution ID",
172
177
  "Pending": "Pending",
173
178
  "Please add at least one condition": "Please add at least one condition",
174
179
  "Please select collection first": "Please select collection first",
@@ -192,6 +197,7 @@
192
197
  "Scope variables": "Scope variables",
193
198
  "Seconds": "Seconds",
194
199
  "Select context": "Select context",
200
+ "Select field": "Select field",
195
201
  "Select users": "Select users",
196
202
  "Select workflow": "Select workflow",
197
203
  "Set output data of this workflow. When this one is executed as a subflow, the output could be used as variables in downstream nodes of super workflow. You can also use this node in an AI employee workflow, to define what to output. If this node is added multiple times, the value of the last executed node prevails.": "Set output data of this workflow. When this one is executed as a subflow, the output could be used as variables in downstream nodes of super workflow. You can also use this node in an AI employee workflow, to define what to output. If this node is added multiple times, the value of the last executed node prevails.",
@@ -228,14 +234,20 @@
228
234
  "The workflow tasks page has already been created.": "The workflow tasks page has already been created.",
229
235
  "This is a main version, delete it will cause the whole workflow to be deleted (including all other revisions).": "This is a main version, delete it will cause the whole workflow to be deleted (including all other revisions).",
230
236
  "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?",
237
+ "This node type is not available in the new canvas yet.": "This node type is not available in the new canvas yet.",
238
+ "This node's configuration has not been migrated to the new canvas yet.": "This node's configuration has not been migrated to the new canvas yet.",
239
+ "This trigger type is not available in the new canvas yet.": "This trigger type is not available in the new canvas yet.",
240
+ "This trigger's configuration has not been migrated to the new canvas yet.": "This trigger's configuration has not been migrated to the new canvas yet.",
231
241
  "This type of trigger has not been supported to be executed manually.": "This type of trigger has not been supported to be executed manually.",
232
242
  "This will perform all the actions configured in the workflow. Are you sure you want to continue?": "This will perform all the actions configured in the workflow. Are you sure you want to continue?",
233
243
  "Trigger": "Trigger",
244
+ "Trigger configuration": "Trigger configuration",
234
245
  "Trigger data": "Trigger data",
235
246
  "Trigger data context": "Trigger data context",
236
247
  "Trigger in executed workflow cannot be modified": "Trigger in executed workflow cannot be modified",
237
248
  "Trigger mode": "Trigger mode",
238
249
  "Trigger on": "Trigger on",
250
+ "Trigger title": "Trigger title",
239
251
  "Trigger time": "Trigger time",
240
252
  "Trigger type": "Trigger type",
241
253
  "Trigger variables": "Trigger variables",
@@ -243,6 +255,7 @@
243
255
  "Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.": "Triggered according to preset time conditions. Suitable for one-time or periodic tasks, such as sending notifications and cleaning data on a schedule.",
244
256
  "Triggered at": "Triggered at",
245
257
  "Triggered but still waiting in queue to execute.": "Triggered but still waiting in queue to execute.",
258
+ "Triggered manually": "Triggered manually",
246
259
  "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, any field is considered to have been changed.": "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, any field is considered to have been changed.",
247
260
  "Triggered when data changes in the collection, such as after adding, updating, or deleting a record. Unlike \"Post-action event\", Collection event listens for data changes rather than HTTP requests. Unless you understand the exact meaning, it is recommended to use \"Post-action event\".": "Triggered when data changes in the collection, such as after adding, updating, or deleting a record. Unlike \"Post-action event\", Collection event listens for data changes rather than HTTP requests. Unless you understand the exact meaning, it is recommended to use \"Post-action event\".",
248
261
  "True": "True",
@@ -254,16 +267,22 @@
254
267
  "Update in a batch": "Update in a batch",
255
268
  "Update mode": "Update mode",
256
269
  "Update one by one": "Update one by one",
270
+ "Unsupported node": "Unsupported node",
257
271
  "Update record": "Update record",
258
272
  "Update records of a collection. You can use variables from upstream nodes as query conditions and field values.": "Update records of a collection. You can use variables from upstream nodes as query conditions and field values.",
259
273
  "Use transaction": "Use transaction",
260
274
  "Variable key of node": "Variable key of node",
261
275
  "Version": "Version",
276
+ "Version ID": "Version ID",
262
277
  "View result": "View result",
263
278
  "Weeks": "Weeks",
264
279
  "When no condition matches": "When no condition matches",
265
280
  "Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
266
281
  "Workflow": "Workflow",
282
+ "This workflow has configuration issues and may not work properly.": "This workflow has configuration issues and may not work properly.",
283
+ "Workflow title": "Workflow title",
284
+ "Workflow canvas editor is being migrated to the new UI.": "Workflow canvas editor is being migrated to the new UI.",
285
+ "Workflow not executed": "Workflow not executed",
267
286
  "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>": "Workflow executed, the result status is <1>{{statusText}}</1><2>View the execution</2>",
268
287
  "Workflow was not triggered because the current request did not meet the trigger requirements.": "Workflow was not triggered because the current request did not meet the trigger requirements.",
269
288
  "Workflow of execution is not existed": "Workflow of execution is not existed",
@@ -273,7 +292,11 @@
273
292
  "Workflow will be triggered directly once the button clicked, without data saving. Only supports to be bound with \"Custom action event\".": "Workflow will be triggered directly once the button clicked, without data saving. Only supports to be bound with \"Custom action event\".",
274
293
  "Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.",
275
294
  "Yes": "Yes",
295
+ "Failed to add node": "Failed to add node",
296
+ "Failed to delete node": "Failed to delete node",
276
297
  "Failed to move node": "Failed to move node",
298
+ "Failed to run": "Failed to run",
299
+ "Failed to save node": "Failed to save node",
277
300
  "Confirm move": "Confirm move",
278
301
  "Moving this node may remove variable references.": "Moving this node may remove variable references.",
279
302
  "Impacted current node variables": "Variables referenced by current node",
@@ -288,5 +311,6 @@
288
311
  "Click a paste button to place": "Click a paste button to place",
289
312
  "Confirm paste": "Confirm paste",
290
313
  "This action will remove invalid variable references, otherwise the workflow cannot run correctly.": "This action will remove invalid variable references, otherwise the workflow cannot run correctly.",
291
- "Failed to paste node": "Failed to paste node"
314
+ "Failed to paste node": "Failed to paste node",
315
+ "Available in the classic UI for now": "Available in the classic UI for now"
292
316
  }