@nocobase/plugin-kanban 2.1.0-beta.33 → 2.1.0-beta.34
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/client-v2.d.ts +2 -0
- package/client-v2.js +1 -0
- package/dist/client/index.js +1 -1
- package/dist/client-v2/index.d.ts +10 -0
- package/dist/client-v2/index.js +10 -0
- package/dist/client-v2/locale.d.ts +10 -0
- package/dist/{client → client-v2}/models/KanbanBlockModel.d.ts +1 -1
- package/dist/{client → client-v2}/models/KanbanCardItemModel.d.ts +1 -1
- package/dist/{client → client-v2}/models/KanbanCollectionActionGroupModel.d.ts +1 -1
- package/dist/{client → client-v2}/models/components/KanbanCreateSortFieldSelect.d.ts +5 -1
- package/dist/{client → client-v2}/models/components/KanbanGroupOptionsTable.d.ts +1 -1
- package/dist/{client → client-v2}/models/components/KanbanGroupingSelector.d.ts +1 -1
- package/dist/client-v2/plugin.d.ts +13 -0
- package/dist/externalVersion.js +6 -7
- package/package.json +4 -2
- /package/dist/{client → client-v2}/models/KanbanQuickCreatePopupTemplateSelect.d.ts +0 -0
- /package/dist/{client → client-v2}/models/actions/KanbanPopupModels.d.ts +0 -0
- /package/dist/{client → client-v2}/models/components/KanbanBlock.d.ts +0 -0
- /package/dist/{client → client-v2}/models/components/kanban-block/CardRenderer.d.ts +0 -0
- /package/dist/{client → client-v2}/models/components/kanban-block/ColumnPanel.d.ts +0 -0
- /package/dist/{client → client-v2}/models/components/kanban-block/shared.d.ts +0 -0
- /package/dist/{client → client-v2}/models/index.d.ts +0 -0
- /package/dist/{client → client-v2}/models/popupSettings.d.ts +0 -0
- /package/dist/{client → client-v2}/models/utils.d.ts +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
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 useT(): (str: string, options?: any) => string;
|
|
10
|
+
export declare function tExpr(key: string, options?: any): string;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
|
-
import { CollectionBlockModel } from '@nocobase/client';
|
|
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';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
|
-
import { DetailsGridModel } from '@nocobase/client';
|
|
9
|
+
import { DetailsGridModel } from '@nocobase/client-v2';
|
|
10
10
|
import { FlowModel } from '@nocobase/flow-engine';
|
|
11
11
|
import React from 'react';
|
|
12
12
|
type KanbanCardItemStructure = {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
|
|
7
7
|
* For more information, please refer to: https://www.nocobase.com/agreement.
|
|
8
8
|
*/
|
|
9
|
-
import { ActionGroupModel } from '@nocobase/client';
|
|
9
|
+
import { ActionGroupModel } from '@nocobase/client-v2';
|
|
10
10
|
import { type FlowModelContext } from '@nocobase/flow-engine';
|
|
11
11
|
export declare class KanbanCollectionActionGroupModel extends ActionGroupModel {
|
|
12
12
|
static defineChildren(ctx: FlowModelContext): Promise<any[]>;
|
|
@@ -30,13 +30,17 @@ type GroupFieldOption = {
|
|
|
30
30
|
};
|
|
31
31
|
export declare const upsertKanbanCollectionFieldOptions: (fields?: Record<string, any>[], fieldData?: Record<string, any>) => Record<string, any>[];
|
|
32
32
|
export declare const upsertKanbanFlowCollectionField: (collection: any, fieldData?: Record<string, any>) => void;
|
|
33
|
-
export declare const KanbanCreateSortFieldSelect: React.MemoExoticComponent<import("@formily/react").ReactFC<Omit<{
|
|
33
|
+
export declare const KanbanCreateSortFieldSelect: React.MemoExoticComponent<import("@formily/reactive-react").ReactFC<Omit<{
|
|
34
34
|
[key: string]: any;
|
|
35
|
+
value?: string | null;
|
|
36
|
+
onChange?: (value: string | null) => void;
|
|
35
37
|
sortFields?: SortFieldOption[];
|
|
36
38
|
collectionFields?: CollectionFieldMetadata[];
|
|
37
39
|
groupField?: GroupFieldOption;
|
|
38
40
|
collectionName?: string;
|
|
39
41
|
dataSource?: string;
|
|
40
42
|
useGroupingFormValues?: boolean;
|
|
43
|
+
allowClear?: boolean;
|
|
44
|
+
disabled?: boolean;
|
|
41
45
|
}, "ref">>>;
|
|
42
46
|
export {};
|
|
@@ -10,7 +10,7 @@ import React from 'react';
|
|
|
10
10
|
import type { KanbanBlockModel } from '../KanbanBlockModel';
|
|
11
11
|
import { type KanbanGroupOption } from '../utils';
|
|
12
12
|
type GroupOptionsValue = KanbanGroupOption[];
|
|
13
|
-
export declare const KanbanGroupOptionsTable: React.MemoExoticComponent<import("@formily/react").ReactFC<{
|
|
13
|
+
export declare const KanbanGroupOptionsTable: React.MemoExoticComponent<import("@formily/reactive-react").ReactFC<{
|
|
14
14
|
value?: GroupOptionsValue;
|
|
15
15
|
onChange?: (value: GroupOptionsValue) => void;
|
|
16
16
|
groupFieldName?: string;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import type { KanbanBlockModel } from '../KanbanBlockModel';
|
|
11
11
|
import { type KanbanGroupOption, type KanbanGroupingValue } from '../utils';
|
|
12
|
-
export declare const KanbanGroupingSelector: React.MemoExoticComponent<import("@formily/react").ReactFC<{
|
|
12
|
+
export declare const KanbanGroupingSelector: React.MemoExoticComponent<import("@formily/reactive-react").ReactFC<{
|
|
13
13
|
value?: KanbanGroupOption[] | KanbanGroupingValue;
|
|
14
14
|
onChange?: (value: KanbanGroupOption[]) => void;
|
|
15
15
|
model?: KanbanBlockModel;
|
|
@@ -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 { Plugin } from '@nocobase/client-v2';
|
|
10
|
+
export declare class PluginKanbanClient extends Plugin {
|
|
11
|
+
load(): Promise<void>;
|
|
12
|
+
}
|
|
13
|
+
export default PluginKanbanClient;
|
package/dist/externalVersion.js
CHANGED
|
@@ -11,21 +11,20 @@ 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.1.0-beta.
|
|
14
|
+
"@nocobase/client": "2.1.0-beta.34",
|
|
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.1.0-beta.
|
|
22
|
-
"@nocobase/flow-engine": "2.1.0-beta.
|
|
21
|
+
"@nocobase/utils": "2.1.0-beta.34",
|
|
22
|
+
"@nocobase/flow-engine": "2.1.0-beta.34",
|
|
23
23
|
"lodash": "4.18.1",
|
|
24
|
-
"@nocobase/
|
|
25
|
-
"@nocobase/
|
|
24
|
+
"@nocobase/client-v2": "2.1.0-beta.34",
|
|
25
|
+
"@nocobase/server": "2.1.0-beta.34",
|
|
26
|
+
"@nocobase/test": "2.1.0-beta.34",
|
|
26
27
|
"antd-style": "3.7.1",
|
|
27
|
-
"@nocobase/plugin-ai": "2.1.0-beta.33",
|
|
28
|
-
"@nocobase/client-v2": "2.1.0-beta.33",
|
|
29
28
|
"@dnd-kit/core": "6.1.0",
|
|
30
29
|
"@dnd-kit/sortable": "7.0.2"
|
|
31
30
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-kanban",
|
|
3
|
-
"version": "2.1.0-beta.
|
|
3
|
+
"version": "2.1.0-beta.34",
|
|
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",
|
|
@@ -19,9 +19,11 @@
|
|
|
19
19
|
"@nocobase/test": "2.x"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
+
"@dnd-kit/core": "^6.0.0",
|
|
23
|
+
"@dnd-kit/sortable": "^7.0.0",
|
|
22
24
|
"react-intersection-observer": "^9.8.1"
|
|
23
25
|
},
|
|
24
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "ca804833299c547f8d49f8d58f73273a4bfcd03c",
|
|
25
27
|
"keywords": [
|
|
26
28
|
"Blocks"
|
|
27
29
|
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|