@nocobase/plugin-kanban 2.2.0-alpha.1 → 2.2.0-beta.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.
|
@@ -10,6 +10,9 @@ import { CollectionBlockModel } from '@nocobase/client-v2';
|
|
|
10
10
|
import { MultiRecordResource } from '@nocobase/flow-engine';
|
|
11
11
|
import React from 'react';
|
|
12
12
|
import { type KanbanGroupOption } from './utils';
|
|
13
|
+
type KanbanPopupActionOptions = {
|
|
14
|
+
persist?: boolean;
|
|
15
|
+
};
|
|
13
16
|
declare class KanbanBlockResource extends MultiRecordResource {
|
|
14
17
|
refresh(): Promise<void>;
|
|
15
18
|
}
|
|
@@ -83,8 +86,9 @@ export declare class KanbanBlockModel extends CollectionBlockModel<{
|
|
|
83
86
|
onActive(forceRefresh?: boolean): void;
|
|
84
87
|
renderConfigureActions(): React.JSX.Element;
|
|
85
88
|
renderActions(): React.JSX.Element;
|
|
86
|
-
getPopupActionUid():
|
|
87
|
-
getQuickCreateActionUid():
|
|
89
|
+
getPopupActionUid(): any;
|
|
90
|
+
getQuickCreateActionUid(): any;
|
|
91
|
+
loadPopupAction(actionKey: 'cardViewAction' | 'quickCreateAction'): Promise<import("@nocobase/flow-engine").FlowModel<import("@nocobase/flow-engine").DefaultStructure>>;
|
|
88
92
|
syncPopupAction(action: any, options: {
|
|
89
93
|
mode: string;
|
|
90
94
|
size: string;
|
|
@@ -93,12 +97,12 @@ export declare class KanbanBlockModel extends CollectionBlockModel<{
|
|
|
93
97
|
pageModelClass?: string;
|
|
94
98
|
dataSourceKey?: string;
|
|
95
99
|
collectionName?: string;
|
|
96
|
-
}): Promise<void>;
|
|
97
|
-
syncCardViewAction(action: any): Promise<void>;
|
|
98
|
-
ensureCardViewAction(): Promise<any>;
|
|
100
|
+
}, syncOptions?: KanbanPopupActionOptions): Promise<void>;
|
|
101
|
+
syncCardViewAction(action: any, options?: KanbanPopupActionOptions): Promise<void>;
|
|
102
|
+
ensureCardViewAction(options?: KanbanPopupActionOptions): Promise<any>;
|
|
99
103
|
getQuickCreateAction(): any;
|
|
100
|
-
ensureQuickCreateAction(): Promise<any>;
|
|
101
|
-
syncQuickCreateAction(action: any): Promise<void>;
|
|
104
|
+
ensureQuickCreateAction(options?: KanbanPopupActionOptions): Promise<any>;
|
|
105
|
+
syncQuickCreateAction(action: any, options?: KanbanPopupActionOptions): Promise<void>;
|
|
102
106
|
openEmptyPopupShell(options: {
|
|
103
107
|
mode?: string;
|
|
104
108
|
size?: string;
|
package/dist/externalVersion.js
CHANGED
|
@@ -11,19 +11,19 @@ module.exports = {
|
|
|
11
11
|
"@ant-design/icons": "5.6.1",
|
|
12
12
|
"@formily/react": "2.3.7",
|
|
13
13
|
"@formily/shared": "2.3.7",
|
|
14
|
-
"@nocobase/client": "2.2.0-
|
|
14
|
+
"@nocobase/client": "2.2.0-beta.2",
|
|
15
15
|
"antd": "5.24.2",
|
|
16
16
|
"react": "18.2.0",
|
|
17
17
|
"react-i18next": "11.18.6",
|
|
18
18
|
"@emotion/css": "11.13.0",
|
|
19
19
|
"@formily/antd-v5": "1.2.3",
|
|
20
20
|
"@formily/core": "2.3.7",
|
|
21
|
-
"@nocobase/utils": "2.2.0-
|
|
22
|
-
"@nocobase/flow-engine": "2.2.0-
|
|
21
|
+
"@nocobase/utils": "2.2.0-beta.2",
|
|
22
|
+
"@nocobase/flow-engine": "2.2.0-beta.2",
|
|
23
23
|
"lodash": "4.18.1",
|
|
24
|
-
"@nocobase/client-v2": "2.2.0-
|
|
25
|
-
"@nocobase/server": "2.2.0-
|
|
26
|
-
"@nocobase/test": "2.2.0-
|
|
24
|
+
"@nocobase/client-v2": "2.2.0-beta.2",
|
|
25
|
+
"@nocobase/server": "2.2.0-beta.2",
|
|
26
|
+
"@nocobase/test": "2.2.0-beta.2",
|
|
27
27
|
"antd-style": "3.7.1",
|
|
28
28
|
"@dnd-kit/core": "6.1.0",
|
|
29
29
|
"@dnd-kit/sortable": "7.0.2"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-kanban",
|
|
3
|
-
"version": "2.2.0-
|
|
3
|
+
"version": "2.2.0-beta.2",
|
|
4
4
|
"main": "dist/server/index.js",
|
|
5
5
|
"homepage": "https://docs.nocobase.com/handbook/block-kanban",
|
|
6
6
|
"homepage.zh-CN": "https://docs-cn.nocobase.com/handbook/block-kanban",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@dnd-kit/sortable": "^7.0.0",
|
|
24
24
|
"react-intersection-observer": "^9.8.1"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "2fe3e6a86fc1d0cd039349a68b2e4d1d6945ce45",
|
|
27
27
|
"keywords": [
|
|
28
28
|
"Blocks"
|
|
29
29
|
]
|