@nocobase/plugin-workflow 2.1.0-alpha.1 → 2.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/478692c1637f2742.js +10 -0
- package/dist/client/AddNodeContext.d.ts +1 -0
- package/dist/client/NodeClipboardContext.d.ts +11 -0
- package/dist/client/NodeDragContext.d.ts +11 -0
- package/dist/client/{80d4cd8911e03c27.js → c1347b9d21f864d9.js} +1 -1
- package/dist/client/f39e94207f92e352.js +10 -0
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.js +1 -1
- package/dist/client/models/NodeDetailsGridModel.d.ts +13 -0
- package/dist/client/models/NodeDetailsModel.d.ts +34 -0
- package/dist/client/models/NodeValueModel.d.ts +15 -0
- package/dist/client/models/TaskCardCommonItemModel.d.ts +14 -0
- package/dist/client/models/index.d.ts +11 -0
- package/dist/client/nodeVariableUtils.d.ts +14 -0
- package/dist/client/nodes/calculation.d.ts +7 -0
- package/dist/client/nodes/create.d.ts +13 -0
- package/dist/client/nodes/index.d.ts +24 -0
- package/dist/client/nodes/output.d.ts +53 -0
- package/dist/client/nodes/query.d.ts +13 -0
- package/dist/client/nodes/update.d.ts +1 -0
- package/dist/client/style.d.ts +4 -0
- package/dist/client/triggers/collection.d.ts +13 -0
- package/dist/client/triggers/index.d.ts +10 -0
- package/dist/client/triggers/schedule/index.d.ts +13 -0
- package/dist/common/collections/jobs.js +4 -0
- package/dist/externalVersion.js +12 -12
- package/dist/locale/de-DE.json +10 -3
- package/dist/locale/en-US.json +22 -3
- package/dist/locale/es-ES.json +10 -3
- package/dist/locale/fr-FR.json +10 -3
- package/dist/locale/hu-HU.json +10 -2
- package/dist/locale/id-ID.json +10 -2
- package/dist/locale/it-IT.json +10 -3
- package/dist/locale/ja-JP.json +10 -5
- package/dist/locale/ko-KR.json +10 -3
- package/dist/locale/nl-NL.json +10 -3
- package/dist/locale/pt-BR.json +10 -3
- package/dist/locale/ru-RU.json +10 -3
- package/dist/locale/tr-TR.json +10 -3
- package/dist/locale/uk-UA.json +10 -3
- package/dist/locale/vi-VN.json +10 -2
- package/dist/locale/zh-CN.json +25 -4
- package/dist/locale/zh-TW.json +10 -3
- package/dist/node_modules/cron-parser/package.json +1 -1
- package/dist/node_modules/lru-cache/package.json +1 -1
- package/dist/node_modules/nodejs-snowflake/package.json +1 -1
- package/dist/server/Dispatcher.js +2 -1
- package/dist/server/Plugin.js +6 -1
- package/dist/server/Processor.d.ts +9 -0
- package/dist/server/Processor.js +6 -1
- package/dist/server/actions/index.js +2 -0
- package/dist/server/actions/nodes.d.ts +2 -0
- package/dist/server/actions/nodes.js +281 -2
- package/dist/server/instructions/ConditionInstruction.js +4 -1
- package/dist/server/instructions/OutputInstruction.d.ts +21 -0
- package/dist/server/instructions/OutputInstruction.js +54 -0
- package/dist/server/repositories/WorkflowRepository.js +2 -1
- package/package.json +2 -2
- package/dist/client/bfc2a351589613e1.js +0 -10
- package/dist/client/e078314a62391f36.js +0 -10
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
import { DetailsGridModel } from '@nocobase/client';
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare class NodeDetailsGridModel extends DetailsGridModel {
|
|
12
|
+
renderAddSubModelButton(): React.JSX.Element;
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { BlockGridModel, CollectionBlockModel, DetailsGridModel } from '@nocobase/client';
|
|
10
|
+
import { SingleRecordResource } from '@nocobase/flow-engine';
|
|
11
|
+
import React from 'react';
|
|
12
|
+
export declare class NodeDetailsModel extends CollectionBlockModel<{
|
|
13
|
+
parent?: BlockGridModel;
|
|
14
|
+
subModels?: {
|
|
15
|
+
grid: DetailsGridModel;
|
|
16
|
+
};
|
|
17
|
+
}> {
|
|
18
|
+
isManualRefresh: boolean;
|
|
19
|
+
_defaultCustomModelClasses: {
|
|
20
|
+
RecordActionGroupModel: string;
|
|
21
|
+
DetailsItemModel: string;
|
|
22
|
+
DetailsAssociationFieldGroupModel: string;
|
|
23
|
+
DetailsCustomItemModel: string;
|
|
24
|
+
};
|
|
25
|
+
customModelClasses: {};
|
|
26
|
+
get dataSourceKey(): any;
|
|
27
|
+
get collectionName(): any;
|
|
28
|
+
get collection(): import("@nocobase/flow-engine").Collection;
|
|
29
|
+
get dataPath(): any;
|
|
30
|
+
createResource(ctx: any, params: any): SingleRecordResource<unknown>;
|
|
31
|
+
onInit(options: any): void;
|
|
32
|
+
getCurrentRecord(): any;
|
|
33
|
+
renderComponent(): React.JSX.Element;
|
|
34
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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 { BlockModel } from '@nocobase/client';
|
|
10
|
+
export declare class NodeValueModel extends BlockModel {
|
|
11
|
+
get execution(): any;
|
|
12
|
+
get dataSource(): any;
|
|
13
|
+
get defaultValue(): any;
|
|
14
|
+
renderComponent(): any;
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { DetailsCustomItemModel } from '@nocobase/client';
|
|
10
|
+
import { FlowModelContext, ModelRenderMode, SubModelItem } from '@nocobase/flow-engine';
|
|
11
|
+
export declare class TaskCardCommonItemModel extends DetailsCustomItemModel {
|
|
12
|
+
static renderMode: ModelRenderMode;
|
|
13
|
+
static defineChildren(ctx: FlowModelContext): Promise<SubModelItem[]> | SubModelItem[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is part of the NocoBase (R) project.
|
|
3
|
+
* Copyright (c) 2020-2024 NocoBase Co., Ltd.
|
|
4
|
+
* Authors: NocoBase Team.
|
|
5
|
+
*
|
|
6
|
+
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
|
+
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
|
+
*/
|
|
9
|
+
export { NodeDetailsModel } from './NodeDetailsModel';
|
|
10
|
+
export { NodeValueModel } from './NodeValueModel';
|
|
11
|
+
export { TaskCardCommonItemModel } from './TaskCardCommonItemModel';
|
|
@@ -0,0 +1,14 @@
|
|
|
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 extractDependencyKeys(config: Record<string, any>): Set<string>;
|
|
10
|
+
export declare function stripVariableReferences(value: any, keysToRemove: Set<string>): {
|
|
11
|
+
value: any;
|
|
12
|
+
changed: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare function collectUpstreams(node: any): Set<number>;
|
|
@@ -11,6 +11,7 @@ import { SchemaInitializerItemType } from '@nocobase/client';
|
|
|
11
11
|
import { RadioWithTooltip } from '../components/RadioWithTooltip';
|
|
12
12
|
import { WorkflowVariableTextArea } from '../variable';
|
|
13
13
|
import { Instruction } from '.';
|
|
14
|
+
import { SubModelItem } from '@nocobase/flow-engine';
|
|
14
15
|
export default class extends Instruction {
|
|
15
16
|
title: string;
|
|
16
17
|
type: string;
|
|
@@ -78,5 +79,11 @@ export default class extends Instruction {
|
|
|
78
79
|
label: any;
|
|
79
80
|
};
|
|
80
81
|
useInitializers(node: any): SchemaInitializerItemType;
|
|
82
|
+
/**
|
|
83
|
+
* 2.0
|
|
84
|
+
*/
|
|
85
|
+
getCreateModelMenuItem({ node }: {
|
|
86
|
+
node: any;
|
|
87
|
+
}): SubModelItem;
|
|
81
88
|
testable: boolean;
|
|
82
89
|
}
|
|
@@ -10,6 +10,7 @@ import React from 'react';
|
|
|
10
10
|
import { SchemaInitializerItemType, useCollectionDataSource } from '@nocobase/client';
|
|
11
11
|
import { AssignedFieldsFormSchemaConfig } from '../components/AssignedFieldsFormSchemaConfig';
|
|
12
12
|
import { Instruction, useNodeSavedConfig } from '.';
|
|
13
|
+
import { SubModelItem } from '@nocobase/flow-engine';
|
|
13
14
|
declare function useVariables({ key: name, title, config }: {
|
|
14
15
|
key: any;
|
|
15
16
|
title: any;
|
|
@@ -107,5 +108,17 @@ export default class extends Instruction {
|
|
|
107
108
|
};
|
|
108
109
|
useVariables: typeof useVariables;
|
|
109
110
|
useInitializers(node: any): SchemaInitializerItemType | null;
|
|
111
|
+
/**
|
|
112
|
+
* 2.0
|
|
113
|
+
*/
|
|
114
|
+
getCreateModelMenuItem({ node }: {
|
|
115
|
+
node: any;
|
|
116
|
+
}): SubModelItem;
|
|
117
|
+
useTempAssociationSource(node: any): {
|
|
118
|
+
collection: any;
|
|
119
|
+
nodeId: any;
|
|
120
|
+
nodeKey: any;
|
|
121
|
+
nodeType: "node";
|
|
122
|
+
};
|
|
110
123
|
}
|
|
111
124
|
export {};
|
|
@@ -11,6 +11,7 @@ import React from 'react';
|
|
|
11
11
|
import { SchemaInitializerItemType } from '@nocobase/client';
|
|
12
12
|
import WorkflowPlugin from '..';
|
|
13
13
|
import { UseVariableOptions, VariableOption } from '../variable';
|
|
14
|
+
import { SubModelItem } from '@nocobase/flow-engine';
|
|
14
15
|
export type NodeAvailableContext = {
|
|
15
16
|
engine: WorkflowPlugin;
|
|
16
17
|
workflow: object;
|
|
@@ -66,7 +67,30 @@ export declare abstract class Instruction {
|
|
|
66
67
|
isAvailable?(ctx: NodeAvailableContext): boolean;
|
|
67
68
|
end?: boolean | ((node: any) => boolean);
|
|
68
69
|
testable?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* 2.0
|
|
72
|
+
*/
|
|
73
|
+
getCreateModelMenuItem?({ node, workflow }: {
|
|
74
|
+
node: any;
|
|
75
|
+
workflow: any;
|
|
76
|
+
}): SubModelItem | null;
|
|
77
|
+
/**
|
|
78
|
+
* @experimental
|
|
79
|
+
*/
|
|
80
|
+
useTempAssociationSource?(node: any): TempAssociationSource | null;
|
|
69
81
|
}
|
|
82
|
+
export type TempAssociationSource = {
|
|
83
|
+
collection: string;
|
|
84
|
+
nodeId: string | number;
|
|
85
|
+
nodeKey: string;
|
|
86
|
+
nodeType: 'workflow' | 'node';
|
|
87
|
+
};
|
|
88
|
+
export declare function updateNodeConfig({ api, nodeId, config, resourceName }: {
|
|
89
|
+
api: any;
|
|
90
|
+
nodeId: any;
|
|
91
|
+
config: any;
|
|
92
|
+
resourceName?: string;
|
|
93
|
+
}): Promise<void>;
|
|
70
94
|
export declare const NodeContext: React.Context<any>;
|
|
71
95
|
export declare function useNodeContext(): any;
|
|
72
96
|
export declare function useNodeSavedConfig(keys?: any[]): boolean;
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { Instruction } from '.';
|
|
11
|
+
import { WorkflowVariableInput } from '../variable';
|
|
12
|
+
export default class extends Instruction {
|
|
13
|
+
title: string;
|
|
14
|
+
type: string;
|
|
15
|
+
group: string;
|
|
16
|
+
description: string;
|
|
17
|
+
icon: React.JSX.Element;
|
|
18
|
+
fieldset: {
|
|
19
|
+
value: {
|
|
20
|
+
type: string;
|
|
21
|
+
'x-decorator': string;
|
|
22
|
+
'x-component': string;
|
|
23
|
+
'x-component-props': {
|
|
24
|
+
changeOnSelect: boolean;
|
|
25
|
+
useTypedConstant: boolean;
|
|
26
|
+
nullable: boolean;
|
|
27
|
+
autoSize: {
|
|
28
|
+
minRows: number;
|
|
29
|
+
};
|
|
30
|
+
placeholder: string;
|
|
31
|
+
};
|
|
32
|
+
title: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
scope: {};
|
|
36
|
+
components: {
|
|
37
|
+
ArrayItems: import("@formily/reactive-react").ReactFC<React.HTMLAttributes<HTMLDivElement>> & import("@formily/antd-v5").ArrayBaseMixins & {
|
|
38
|
+
Item: import("@formily/reactive-react").ReactFC<React.HTMLAttributes<HTMLDivElement> & {
|
|
39
|
+
type?: "divide" | "card";
|
|
40
|
+
}>;
|
|
41
|
+
};
|
|
42
|
+
WorkflowVariableInput: typeof WorkflowVariableInput;
|
|
43
|
+
};
|
|
44
|
+
useVariables({ key, title }: {
|
|
45
|
+
key: any;
|
|
46
|
+
title: any;
|
|
47
|
+
}, { types }: {
|
|
48
|
+
types: any;
|
|
49
|
+
}): {
|
|
50
|
+
value: any;
|
|
51
|
+
label: any;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -12,6 +12,7 @@ import { FilterDynamicComponent } from '../components/FilterDynamicComponent';
|
|
|
12
12
|
import { WorkflowVariableInput } from '../variable';
|
|
13
13
|
import { Instruction, useNodeSavedConfig } from '.';
|
|
14
14
|
import { RadioWithTooltip } from '../components';
|
|
15
|
+
import { SubModelItem } from '@nocobase/flow-engine';
|
|
15
16
|
declare function useVariables({ key: name, title, config }: {
|
|
16
17
|
key: any;
|
|
17
18
|
title: any;
|
|
@@ -232,5 +233,17 @@ export default class extends Instruction {
|
|
|
232
233
|
};
|
|
233
234
|
useVariables: typeof useVariables;
|
|
234
235
|
useInitializers(node: any): SchemaInitializerItemType | null;
|
|
236
|
+
/**
|
|
237
|
+
* 2.0
|
|
238
|
+
*/
|
|
239
|
+
getCreateModelMenuItem({ node }: {
|
|
240
|
+
node: any;
|
|
241
|
+
}): SubModelItem;
|
|
242
|
+
useTempAssociationSource(node: any): {
|
|
243
|
+
collection: any;
|
|
244
|
+
nodeId: any;
|
|
245
|
+
nodeKey: any;
|
|
246
|
+
nodeType: "node";
|
|
247
|
+
};
|
|
235
248
|
}
|
|
236
249
|
export {};
|
package/dist/client/style.d.ts
CHANGED
|
@@ -23,6 +23,10 @@ declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<
|
|
|
23
23
|
nodeSubtreeClass: import("antd-style").SerializedStyles;
|
|
24
24
|
nodeJobResultClass: import("antd-style").SerializedStyles;
|
|
25
25
|
addButtonClass: import("antd-style").SerializedStyles;
|
|
26
|
+
dropZoneClass: import("antd-style").SerializedStyles;
|
|
27
|
+
pasteButtonClass: import("antd-style").SerializedStyles;
|
|
28
|
+
dragPreviewClass: import("antd-style").SerializedStyles;
|
|
29
|
+
clipboardPreviewClass: import("antd-style").SerializedStyles;
|
|
26
30
|
conditionClass: import("antd-style").SerializedStyles;
|
|
27
31
|
loopLineClass: import("antd-style").SerializedStyles;
|
|
28
32
|
terminalClass: import("antd-style").SerializedStyles;
|
|
@@ -11,6 +11,7 @@ import { SchemaInitializerItemType, useCollectionDataSource } from '@nocobase/cl
|
|
|
11
11
|
import { useWorkflowAnyExecuted } from '../hooks';
|
|
12
12
|
import { Trigger } from '.';
|
|
13
13
|
import { TriggerCollectionRecordSelect } from '../components/TriggerCollectionRecordSelect';
|
|
14
|
+
import { SubModelItem } from '@nocobase/flow-engine';
|
|
14
15
|
declare function useVariables(config: any, options: any): import("../variable").VariableOption[];
|
|
15
16
|
export default class extends Trigger {
|
|
16
17
|
title: string;
|
|
@@ -134,5 +135,17 @@ export default class extends Trigger {
|
|
|
134
135
|
validate(values: any): any;
|
|
135
136
|
useVariables: typeof useVariables;
|
|
136
137
|
useInitializers(config: any): SchemaInitializerItemType | null;
|
|
138
|
+
/**
|
|
139
|
+
* 2.0
|
|
140
|
+
*/
|
|
141
|
+
getCreateModelMenuItem({ config }: {
|
|
142
|
+
config: any;
|
|
143
|
+
}): SubModelItem;
|
|
144
|
+
useTempAssociationSource(config: any, workflow: any): {
|
|
145
|
+
collection: any;
|
|
146
|
+
nodeId: any;
|
|
147
|
+
nodeKey: string;
|
|
148
|
+
nodeType: "workflow";
|
|
149
|
+
};
|
|
137
150
|
}
|
|
138
151
|
export {};
|
|
@@ -28,7 +28,17 @@ export declare abstract class Trigger {
|
|
|
28
28
|
useInitializers?(config: any): SchemaInitializerItemType | null;
|
|
29
29
|
initializers?: any;
|
|
30
30
|
isActionTriggerable_deprecated?: boolean | ((config: object, context?: object) => boolean);
|
|
31
|
+
/**
|
|
32
|
+
* @experimental
|
|
33
|
+
*/
|
|
34
|
+
useTempAssociationSource?(config: any, workflow: any): TriggerTempAssociationSource | null;
|
|
31
35
|
}
|
|
36
|
+
export type TriggerTempAssociationSource = {
|
|
37
|
+
collection: string;
|
|
38
|
+
nodeId: string | number;
|
|
39
|
+
nodeKey: string;
|
|
40
|
+
nodeType: 'workflow';
|
|
41
|
+
};
|
|
32
42
|
export declare const TriggerConfig: () => React.JSX.Element;
|
|
33
43
|
/**
|
|
34
44
|
* @experimental
|
|
@@ -12,6 +12,7 @@ import { Trigger } from '..';
|
|
|
12
12
|
import { TriggerScheduleConfig } from './TriggerScheduleConfig';
|
|
13
13
|
import { WorkflowVariableWrapper } from '../../variable';
|
|
14
14
|
import { TriggerCollectionRecordSelect } from '../../components/TriggerCollectionRecordSelect';
|
|
15
|
+
import { SubModelItem } from '@nocobase/flow-engine';
|
|
15
16
|
declare function useVariables(config: any, opts: any): any[];
|
|
16
17
|
export default class extends Trigger {
|
|
17
18
|
sync: boolean;
|
|
@@ -42,5 +43,17 @@ export default class extends Trigger {
|
|
|
42
43
|
};
|
|
43
44
|
useVariables: typeof useVariables;
|
|
44
45
|
useInitializers(config: any): SchemaInitializerItemType | null;
|
|
46
|
+
/**
|
|
47
|
+
* 2.0
|
|
48
|
+
*/
|
|
49
|
+
getCreateModelMenuItem({ config }: {
|
|
50
|
+
config: any;
|
|
51
|
+
}): SubModelItem | null;
|
|
52
|
+
useTempAssociationSource(config: any, workflow: any): {
|
|
53
|
+
collection: any;
|
|
54
|
+
nodeId: any;
|
|
55
|
+
nodeKey: string;
|
|
56
|
+
nodeType: "workflow";
|
|
57
|
+
};
|
|
45
58
|
}
|
|
46
59
|
export {};
|
package/dist/externalVersion.js
CHANGED
|
@@ -11,8 +11,8 @@ 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.1.0-alpha.
|
|
15
|
-
"@nocobase/utils": "2.1.0-alpha.
|
|
14
|
+
"@nocobase/client": "2.1.0-alpha.2",
|
|
15
|
+
"@nocobase/utils": "2.1.0-alpha.2",
|
|
16
16
|
"antd": "5.24.2",
|
|
17
17
|
"@ant-design/icons": "5.6.1",
|
|
18
18
|
"react-router-dom": "6.30.1",
|
|
@@ -20,18 +20,18 @@ module.exports = {
|
|
|
20
20
|
"lodash": "4.17.21",
|
|
21
21
|
"@dnd-kit/core": "6.1.0",
|
|
22
22
|
"@formily/shared": "2.3.7",
|
|
23
|
-
"@nocobase/flow-engine": "2.1.0-alpha.
|
|
24
|
-
"@nocobase/plugin-mobile": "2.1.0-alpha.
|
|
23
|
+
"@nocobase/flow-engine": "2.1.0-alpha.2",
|
|
24
|
+
"@nocobase/plugin-mobile": "2.1.0-alpha.2",
|
|
25
25
|
"sequelize": "6.35.2",
|
|
26
|
-
"@nocobase/server": "2.1.0-alpha.
|
|
27
|
-
"@nocobase/database": "2.1.0-alpha.
|
|
28
|
-
"@nocobase/data-source-manager": "2.1.0-alpha.
|
|
29
|
-
"@nocobase/logger": "2.1.0-alpha.
|
|
30
|
-
"@nocobase/evaluators": "2.1.0-alpha.
|
|
26
|
+
"@nocobase/server": "2.1.0-alpha.2",
|
|
27
|
+
"@nocobase/database": "2.1.0-alpha.2",
|
|
28
|
+
"@nocobase/data-source-manager": "2.1.0-alpha.2",
|
|
29
|
+
"@nocobase/logger": "2.1.0-alpha.2",
|
|
30
|
+
"@nocobase/evaluators": "2.1.0-alpha.2",
|
|
31
31
|
"@formily/antd-v5": "1.2.3",
|
|
32
32
|
"@formily/reactive": "2.3.7",
|
|
33
|
-
"@nocobase/actions": "2.1.0-alpha.
|
|
33
|
+
"@nocobase/actions": "2.1.0-alpha.2",
|
|
34
34
|
"dayjs": "1.11.13",
|
|
35
|
-
"@nocobase/plugin-workflow-test": "2.1.0-alpha.
|
|
36
|
-
"@nocobase/test": "2.1.0-alpha.
|
|
35
|
+
"@nocobase/plugin-workflow-test": "2.1.0-alpha.2",
|
|
36
|
+
"@nocobase/test": "2.1.0-alpha.2"
|
|
37
37
|
};
|
package/dist/locale/de-DE.json
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"Collection event": "Sammlungsereignis",
|
|
55
55
|
"Collection operations": "Sammlungsoperationen",
|
|
56
56
|
"Completed": "Abgeschlossen",
|
|
57
|
-
"
|
|
57
|
+
"Concatenate": "verketten",
|
|
58
58
|
"Condition": "Bedingung",
|
|
59
59
|
"Condition expression": "Bedingungsausdruck",
|
|
60
60
|
"Condition label": "Condition label",
|
|
@@ -247,12 +247,19 @@
|
|
|
247
247
|
"Will be executed in the background as a queued task.": "Wird im Hintergrund als Aufgabe in der Warteschlange ausgeführt.",
|
|
248
248
|
"Workflow": "Workflow",
|
|
249
249
|
"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>",
|
|
250
|
-
"Workflow is not
|
|
250
|
+
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
251
251
|
"Workflow tasks": "Workflow tasks",
|
|
252
252
|
"Workflow todos": "Workflow-Aufgaben",
|
|
253
253
|
"Workflow will be triggered before deleting succeeded (only supports pre-action event in local mode).": "Workflow wird vor erfolgreichem Löschen ausgelöst (unterstützt nur Ereignis vor der Aktion im lokalen Modus).",
|
|
254
254
|
"Workflow will be triggered directly once the button clicked, without data saving. Only supports to be bound with \"Custom action event\".": "Workflow wird direkt ausgelöst, sobald der Button geklickt wird, ohne Datenspeicherung. Unterstützt nur die Bindung an \"Benutzerdefiniertes Aktionsereignis\".",
|
|
255
255
|
"Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "Workflow mit unbekanntem Typ verursacht Fehler. Bitte löschen Sie ihn oder überprüfen Sie das Plugin, das diesen Typ bereitstellt.",
|
|
256
256
|
"Yes": "Yes",
|
|
257
|
-
"
|
|
257
|
+
"Failed to move node": "Knoten konnte nicht verschoben werden",
|
|
258
|
+
"Confirm move": "Verschiebung bestätigen",
|
|
259
|
+
"Moving this node may remove variable references.": "Das Verschieben dieses Knotens kann Variablenreferenzen entfernen.",
|
|
260
|
+
"Impacted current node variables": "Vom aktuellen Knoten referenzierte Variablen",
|
|
261
|
+
"Impacted dependent node variables": "Knoten, die Variablen des aktuellen Knotens referenzieren",
|
|
262
|
+
"Keep variable references": "Variablenreferenzen beibehalten",
|
|
263
|
+
"Keeping variable references requires manual adjustment, otherwise workflow may fail.": "Das Beibehalten von Variablenreferenzen erfordert eine manuelle Anpassung, andernfalls kann der Workflow fehlschlagen.",
|
|
264
|
+
"Failed to update node variables": "Aktualisierung der Knotenvariablen fehlgeschlagen"
|
|
258
265
|
}
|
package/dist/locale/en-US.json
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"Collection event": "Collection event",
|
|
57
57
|
"Collection operations": "Collection operations",
|
|
58
58
|
"Completed": "Completed",
|
|
59
|
-
"
|
|
59
|
+
"Concatenate": "Concatenate",
|
|
60
60
|
"Condition": "Condition",
|
|
61
61
|
"Condition expression": "Condition expression",
|
|
62
62
|
"Condition label": "Condition label",
|
|
@@ -152,6 +152,7 @@
|
|
|
152
152
|
"Node type": "Node type",
|
|
153
153
|
"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.",
|
|
154
154
|
"Null": "Null",
|
|
155
|
+
"Not found": "Not found",
|
|
155
156
|
"Off": "Off",
|
|
156
157
|
"On": "On",
|
|
157
158
|
"On going": "On going",
|
|
@@ -160,6 +161,8 @@
|
|
|
160
161
|
"Operations": "Operations",
|
|
161
162
|
"Operator": "Operator",
|
|
162
163
|
"Otherwise": "Otherwise",
|
|
164
|
+
"Output": "Output",
|
|
165
|
+
"Output value": "Output value",
|
|
163
166
|
"Pending": "Pending",
|
|
164
167
|
"Please add at least one condition": "Please add at least one condition",
|
|
165
168
|
"Please select collection first": "Please select collection first",
|
|
@@ -185,6 +188,7 @@
|
|
|
185
188
|
"Select context": "Select context",
|
|
186
189
|
"Select users": "Select users",
|
|
187
190
|
"Select workflow": "Select workflow",
|
|
191
|
+
"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.",
|
|
188
192
|
"Single record": "Single record",
|
|
189
193
|
"Some node meets error.": "Some node meets error.",
|
|
190
194
|
"Started and executing, maybe waiting for an async callback (manual, delay etc.).": "Started and executing, maybe waiting for an async callback (manual, delay etc.).",
|
|
@@ -250,12 +254,27 @@
|
|
|
250
254
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
251
255
|
"Workflow": "Workflow",
|
|
252
256
|
"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>",
|
|
253
|
-
"Workflow is not
|
|
257
|
+
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
254
258
|
"Workflow tasks": "Workflow tasks",
|
|
255
259
|
"Workflow todos": "Workflow todos",
|
|
256
260
|
"Workflow will be triggered before deleting succeeded (only supports pre-action event in local mode).": "Workflow will be triggered before deleting succeeded (only supports pre-action event in local mode).",
|
|
257
261
|
"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\".",
|
|
258
262
|
"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.",
|
|
259
263
|
"Yes": "Yes",
|
|
260
|
-
"
|
|
264
|
+
"Failed to move node": "Failed to move node",
|
|
265
|
+
"Confirm move": "Confirm move",
|
|
266
|
+
"Moving this node may remove variable references.": "Moving this node may remove variable references.",
|
|
267
|
+
"Impacted current node variables": "Variables referenced by current node",
|
|
268
|
+
"Impacted dependent node variables": "Nodes referencing current node variables",
|
|
269
|
+
"Keep variable references": "Keep variable references, I will fix manually",
|
|
270
|
+
"Keeping variable references requires manual adjustment, otherwise workflow may fail.": "Keeping variable references requires manual adjustment, otherwise workflow may fail.",
|
|
271
|
+
"Failed to update node variables": "Failed to update node variables",
|
|
272
|
+
"Copy": "Copy",
|
|
273
|
+
"Cancel copy": "Cancel copy",
|
|
274
|
+
"Paste": "Paste",
|
|
275
|
+
"Copied node": "Copied node",
|
|
276
|
+
"Click a paste button to place": "Click a paste button to place",
|
|
277
|
+
"Confirm paste": "Confirm paste",
|
|
278
|
+
"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.",
|
|
279
|
+
"Failed to paste node": "Failed to paste node"
|
|
261
280
|
}
|
package/dist/locale/es-ES.json
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"Collection event": "Evento de recogida",
|
|
55
55
|
"Collection operations": "Operaciones de recogida",
|
|
56
56
|
"Completed": "Completed",
|
|
57
|
-
"
|
|
57
|
+
"Concatenate": "Concatenate",
|
|
58
58
|
"Condition": "Condición",
|
|
59
59
|
"Condition expression": "Condition expression",
|
|
60
60
|
"Condition label": "Condition label",
|
|
@@ -247,12 +247,19 @@
|
|
|
247
247
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
248
248
|
"Workflow": "Flujo de trabajo",
|
|
249
249
|
"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>",
|
|
250
|
-
"Workflow is not
|
|
250
|
+
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
251
251
|
"Workflow tasks": "Workflow tasks",
|
|
252
252
|
"Workflow todos": "Workflow todos",
|
|
253
253
|
"Workflow will be triggered before deleting succeeded (only supports pre-action event in local mode).": "Workflow will be triggered before deleting succeeded (only supports pre-action event in local mode).",
|
|
254
254
|
"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\".",
|
|
255
255
|
"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.",
|
|
256
256
|
"Yes": "Yes",
|
|
257
|
-
"
|
|
257
|
+
"Failed to move node": "No se pudo mover el nodo",
|
|
258
|
+
"Confirm move": "Confirmar movimiento",
|
|
259
|
+
"Moving this node may remove variable references.": "Mover este nodo puede eliminar referencias de variables.",
|
|
260
|
+
"Impacted current node variables": "Variables referenciadas por el nodo actual",
|
|
261
|
+
"Impacted dependent node variables": "Nodos que referencian las variables del nodo actual",
|
|
262
|
+
"Keep variable references": "Mantener referencias de variables",
|
|
263
|
+
"Keeping variable references requires manual adjustment, otherwise workflow may fail.": "Mantener las referencias de variables requiere un ajuste manual; de lo contrario, el flujo de trabajo puede fallar.",
|
|
264
|
+
"Failed to update node variables": "No se pudieron actualizar las variables del nodo"
|
|
258
265
|
}
|
package/dist/locale/fr-FR.json
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"Collection event": "Événement de collection",
|
|
55
55
|
"Collection operations": "Opérations sur la collection",
|
|
56
56
|
"Completed": "Completed",
|
|
57
|
-
"
|
|
57
|
+
"Concatenate": "Concatenate",
|
|
58
58
|
"Condition": "Condition",
|
|
59
59
|
"Condition expression": "Condition expression",
|
|
60
60
|
"Condition label": "Condition label",
|
|
@@ -247,12 +247,19 @@
|
|
|
247
247
|
"Will be executed in the background as a queued task.": "Will be executed in the background as a queued task.",
|
|
248
248
|
"Workflow": "Workflow",
|
|
249
249
|
"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>",
|
|
250
|
-
"Workflow is not
|
|
250
|
+
"Workflow of execution is not existed": "Workflow of execution is not existed",
|
|
251
251
|
"Workflow tasks": "Workflow tasks",
|
|
252
252
|
"Workflow todos": "Workflow todos",
|
|
253
253
|
"Workflow will be triggered before deleting succeeded (only supports pre-action event in local mode).": "Workflow will be triggered before deleting succeeded (only supports pre-action event in local mode).",
|
|
254
254
|
"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\".",
|
|
255
255
|
"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.",
|
|
256
256
|
"Yes": "Yes",
|
|
257
|
-
"
|
|
257
|
+
"Failed to move node": "Échec du déplacement du nœud",
|
|
258
|
+
"Confirm move": "Confirmer le déplacement",
|
|
259
|
+
"Moving this node may remove variable references.": "Déplacer ce nœud peut supprimer des références de variables.",
|
|
260
|
+
"Impacted current node variables": "Variables référencées par le nœud actuel",
|
|
261
|
+
"Impacted dependent node variables": "Nœuds qui référencent les variables du nœud actuel",
|
|
262
|
+
"Keep variable references": "Conserver les références de variables",
|
|
263
|
+
"Keeping variable references requires manual adjustment, otherwise workflow may fail.": "Conserver les références de variables nécessite un ajustement manuel, sinon le workflow peut échouer.",
|
|
264
|
+
"Failed to update node variables": "Échec de la mise à jour des variables du nœud"
|
|
258
265
|
}
|
package/dist/locale/hu-HU.json
CHANGED
|
@@ -254,5 +254,13 @@
|
|
|
254
254
|
"Workflow will be triggered directly once the button clicked, without data saving. Only supports to be bound with \"Custom action event\".": "A munkafolyamat közvetlenül aktiválódik a gomb megnyomásakor, adatmentés nélkül. Csak az \"Egyéni művelet esemény\"-hez való kötést támogatja.",
|
|
255
255
|
"Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "Az ismeretlen típusú munkafolyamat hibát okoz. Kérjük, törölje vagy ellenőrizze a bővítményt, amely ezt a típust biztosítja.",
|
|
256
256
|
"Yes": "Yes",
|
|
257
|
-
"concat": "összefűzés"
|
|
258
|
-
|
|
257
|
+
"concat": "összefűzés",
|
|
258
|
+
"Failed to move node": "A csomópont áthelyezése sikertelen",
|
|
259
|
+
"Confirm move": "Áthelyezés megerősítése",
|
|
260
|
+
"Moving this node may remove variable references.": "A csomópont áthelyezése eltávolíthatja a változóhivatkozásokat.",
|
|
261
|
+
"Impacted current node variables": "A jelenlegi csomópont által hivatkozott változók",
|
|
262
|
+
"Impacted dependent node variables": "A jelenlegi csomópont változóira hivatkozó csomópontok",
|
|
263
|
+
"Keep variable references": "Változóhivatkozások megtartása",
|
|
264
|
+
"Keeping variable references requires manual adjustment, otherwise workflow may fail.": "A változóhivatkozások megtartása kézi beállítást igényel, különben a munkafolyamat sikertelen lehet.",
|
|
265
|
+
"Failed to update node variables": "A csomópont változóinak frissítése sikertelen"
|
|
266
|
+
}
|
package/dist/locale/id-ID.json
CHANGED
|
@@ -254,5 +254,13 @@
|
|
|
254
254
|
"Workflow will be triggered directly once the button clicked, without data saving. Only supports to be bound with \"Custom action event\".": "Alur kerja akan dipicu langsung setelah tombol diklik, tanpa menyimpan data. Hanya mendukung untuk diikat dengan \"Peristiwa tindakan kustom\".",
|
|
255
255
|
"Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "Alur kerja dengan tipe tidak dikenal akan menyebabkan kesalahan. Harap hapus atau periksa plugin yang menyediakan tipe ini.",
|
|
256
256
|
"Yes": "Yes",
|
|
257
|
-
"concat": "gabungkan"
|
|
258
|
-
|
|
257
|
+
"concat": "gabungkan",
|
|
258
|
+
"Failed to move node": "Gagal memindahkan node",
|
|
259
|
+
"Confirm move": "Konfirmasi pemindahan",
|
|
260
|
+
"Moving this node may remove variable references.": "Memindahkan node ini dapat menghapus referensi variabel.",
|
|
261
|
+
"Impacted current node variables": "Variabel yang dirujuk oleh node saat ini",
|
|
262
|
+
"Impacted dependent node variables": "Node yang merujuk variabel node saat ini",
|
|
263
|
+
"Keep variable references": "Pertahankan referensi variabel",
|
|
264
|
+
"Keeping variable references requires manual adjustment, otherwise workflow may fail.": "Mempertahankan referensi variabel memerlukan penyesuaian manual, jika tidak alur kerja dapat gagal.",
|
|
265
|
+
"Failed to update node variables": "Gagal memperbarui variabel node"
|
|
266
|
+
}
|