@tachybase/module-workflow 1.5.1 → 1.6.0
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/WorkflowCategoriesProvider.d.ts +4 -0
- package/dist/client/components/WorkflowCategoryColumn.d.ts +8 -0
- package/dist/client/components/index.d.ts +2 -0
- package/dist/client/hooks/index.d.ts +2 -0
- package/dist/client/hooks/useDumpAction.d.ts +7 -0
- package/dist/client/hooks/useRevisionAction.d.ts +7 -0
- package/dist/client/index.d.ts +2 -0
- package/dist/client/index.js +56 -56
- package/dist/client/schemas/workflows.d.ts +5 -0
- package/dist/client/utils.d.ts +2 -2
- package/dist/externalVersion.js +4 -4
- package/dist/locale/en-US.json +2 -0
- package/dist/locale/es-ES.json +2 -0
- package/dist/locale/fr-FR.json +2 -0
- package/dist/locale/ja-JP.json +2 -0
- package/dist/locale/ko_KR.json +2 -0
- package/dist/locale/pt-BR.json +2 -0
- package/dist/locale/ru-RU.json +2 -0
- package/dist/locale/tr-TR.json +2 -0
- package/dist/locale/zh-CN.json +2 -0
- package/dist/node_modules/@babel/core/package.json +1 -1
- package/dist/node_modules/@babel/preset-env/package.json +1 -1
- package/dist/node_modules/@babel/preset-react/package.json +1 -1
- package/dist/node_modules/@babel/preset-typescript/package.json +1 -1
- package/dist/node_modules/cron-parser/package.json +1 -1
- package/dist/node_modules/form-data/package.json +1 -1
- package/dist/node_modules/jsonata/package.json +1 -1
- package/dist/node_modules/lru-cache/package.json +1 -1
- package/dist/node_modules/mime-types/package.json +1 -1
- package/dist/node_modules/qrcode/package.json +1 -1
- package/dist/server/actions/executions.d.ts +1 -1
- package/dist/server/actions/executions.js +15 -3
- package/dist/server/actions/workflows.d.ts +11 -2
- package/dist/server/actions/workflows.helpers.d.ts +55 -0
- package/dist/server/actions/workflows.helpers.js +167 -0
- package/dist/server/actions/workflows.js +56 -7
- package/dist/server/utils.d.ts +16 -0
- package/dist/server/utils.js +33 -2
- package/package.json +7 -7
- package/dist/client/provider/EventSourceProvider.d.ts +0 -7
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
export declare const WorkflowCategoryContext: import("react").Context<{
|
|
2
|
+
data: any[];
|
|
2
3
|
refresh: () => void;
|
|
3
4
|
activeKey: string;
|
|
4
5
|
setActiveKey: (key: string) => void;
|
|
6
|
+
categoriesLoaded?: boolean;
|
|
5
7
|
}>;
|
|
6
8
|
export declare const useWorkflowCategory: () => {
|
|
9
|
+
data: any[];
|
|
7
10
|
refresh: () => void;
|
|
8
11
|
activeKey: string;
|
|
9
12
|
setActiveKey: (key: string) => void;
|
|
13
|
+
categoriesLoaded?: boolean;
|
|
10
14
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* 工作流分类列组件
|
|
4
|
+
* - 直接展示后端返回的分类数据,不触发额外的 API 请求
|
|
5
|
+
* - 数据由 listExtended action 提供,格式:{ id, name, color? }[]
|
|
6
|
+
* - 与 data-source 模块的 CollectionCategory 组件设计类似
|
|
7
|
+
*/
|
|
8
|
+
export declare const WorkflowCategoryColumn: React.MemoExoticComponent<import("@tachybase/schema").ReactFC<Omit<any, "ref">>>;
|
package/dist/client/index.d.ts
CHANGED
|
@@ -17,3 +17,5 @@ export * from './nodes/default-node';
|
|
|
17
17
|
export * from './nodes/default-node/components/NodeDefaultView';
|
|
18
18
|
export * from './nodes/default-node/interface';
|
|
19
19
|
export { TabTableBlockProvider, WorkflowTabCardItem } from './schemas/workflows';
|
|
20
|
+
export * from './WorkflowPage';
|
|
21
|
+
export * from './ExecutionPage';
|