@nocobase/plugin-kanban 1.2.13-alpha → 1.3.0-alpha.20240710084543
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/package.json +2 -2
- package/dist/client/CreateAndSelectSort/index.d.ts +0 -10
- package/dist/client/Kanban.Card.Designer.d.ts +0 -17
- package/dist/client/Kanban.Card.d.ts +0 -9
- package/dist/client/Kanban.CardViewer.d.ts +0 -9
- package/dist/client/Kanban.Designer.d.ts +0 -10
- package/dist/client/Kanban.Settings.d.ts +0 -10
- package/dist/client/Kanban.d.ts +0 -15
- package/dist/client/KanbanActionInitializers.d.ts +0 -15
- package/dist/client/KanbanBlockInitializer.d.ts +0 -30
- package/dist/client/KanbanBlockProvider.d.ts +0 -19
- package/dist/client/board/Board.d.ts +0 -10
- package/dist/client/board/Card.d.ts +0 -16
- package/dist/client/board/CardAdder.d.ts +0 -14
- package/dist/client/board/CardForm.d.ts +0 -14
- package/dist/client/board/Column.d.ts +0 -25
- package/dist/client/board/ColumnAdder.d.ts +0 -13
- package/dist/client/board/ColumnForm.d.ts +0 -14
- package/dist/client/board/DefaultCard.d.ts +0 -16
- package/dist/client/board/DefaultColumnHeader.d.ts +0 -17
- package/dist/client/board/Kanban.d.ts +0 -11
- package/dist/client/board/helpers.d.ts +0 -27
- package/dist/client/board/hook.d.ts +0 -9
- package/dist/client/board/index.d.ts +0 -9
- package/dist/client/board/services.d.ts +0 -33
- package/dist/client/board/style.d.ts +0 -12
- package/dist/client/board/utils.d.ts +0 -17
- package/dist/client/board/withDroppable.d.ts +0 -17
- package/dist/client/context.d.ts +0 -11
- package/dist/client/createKanbanBlockUISchema.d.ts +0 -17
- package/dist/client/index.d.ts +0 -13
- package/dist/client/index.js +0 -315
- package/dist/client/locale/index.d.ts +0 -12
- package/dist/client/style.d.ts +0 -11
- package/dist/externalVersion.js +0 -25
- package/dist/index.d.ts +0 -10
- package/dist/index.js +0 -48
- package/dist/locale/zh-CN.json +0 -8
- package/dist/server/index.d.ts +0 -9
- package/dist/server/index.js +0 -42
- package/dist/server/plugin.d.ts +0 -19
- package/dist/server/plugin.js +0 -54
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-kanban",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0-alpha.20240710084543",
|
|
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",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"react-intersection-observer": "^9.8.1"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "07a8b596fc64a9779a194cb9b0dc2ca7570ed9d4",
|
|
21
21
|
"keywords": [
|
|
22
22
|
"Blocks"
|
|
23
23
|
]
|
|
@@ -1,10 +0,0 @@
|
|
|
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 const CreateAndSelectSort: (props: any) => React.JSX.Element;
|
|
@@ -1,17 +0,0 @@
|
|
|
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 { CompatibleSchemaInitializer } from '@nocobase/client';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
export declare const KanbanCardDesigner: () => React.JSX.Element;
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated
|
|
14
|
-
* use `kanbanCardInitializers` instead
|
|
15
|
-
*/
|
|
16
|
-
export declare const kanbanCardInitializers_deprecated: CompatibleSchemaInitializer;
|
|
17
|
-
export declare const kanbanCardInitializers: CompatibleSchemaInitializer;
|
|
@@ -1,9 +0,0 @@
|
|
|
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 KanbanCard: any;
|
|
@@ -1,9 +0,0 @@
|
|
|
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 KanbanCardViewer: any;
|
|
@@ -1,10 +0,0 @@
|
|
|
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 const KanbanDesigner: () => React.JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
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 { SchemaSettings } from '@nocobase/client';
|
|
10
|
-
export declare const kanbanSettings: SchemaSettings<{}>;
|
package/dist/client/Kanban.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
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 toColumns: (groupField: any, dataSource: Array<any>, primaryKey: any) => {
|
|
10
|
-
id: string;
|
|
11
|
-
title: string;
|
|
12
|
-
color: string;
|
|
13
|
-
cards: any[];
|
|
14
|
-
}[];
|
|
15
|
-
export declare const Kanban: any;
|
|
@@ -1,15 +0,0 @@
|
|
|
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 { CompatibleSchemaInitializer } from '@nocobase/client';
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated
|
|
12
|
-
* use `kanbanActionInitializers` instead
|
|
13
|
-
*/
|
|
14
|
-
export declare const kanbanActionInitializers_deprecated: CompatibleSchemaInitializer;
|
|
15
|
-
export declare const kanbanActionInitializers: CompatibleSchemaInitializer;
|
|
@@ -1,30 +0,0 @@
|
|
|
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 { Collection, CollectionFieldOptions } from '@nocobase/client';
|
|
11
|
-
export declare const KanbanBlockInitializer: ({ filterCollections, onlyCurrentDataSource, hideSearch, createBlockSchema, showAssociationFields, }: {
|
|
12
|
-
filterCollections: (options: {
|
|
13
|
-
collection?: Collection;
|
|
14
|
-
associationField?: CollectionFieldOptions;
|
|
15
|
-
}) => boolean;
|
|
16
|
-
onlyCurrentDataSource: boolean;
|
|
17
|
-
hideSearch?: boolean;
|
|
18
|
-
createBlockSchema?: (options: any) => any;
|
|
19
|
-
showAssociationFields?: boolean;
|
|
20
|
-
}) => React.JSX.Element;
|
|
21
|
-
export declare const useCreateKanbanBlock: () => {
|
|
22
|
-
createKanbanBlock: ({ item }: {
|
|
23
|
-
item: any;
|
|
24
|
-
}) => Promise<void>;
|
|
25
|
-
};
|
|
26
|
-
export declare function useCreateAssociationKanbanBlock(): {
|
|
27
|
-
createAssociationKanbanBlock: ({ item }: {
|
|
28
|
-
item: any;
|
|
29
|
-
}) => Promise<void>;
|
|
30
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
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 const KanbanBlockContext: React.Context<any>;
|
|
11
|
-
export declare const KanbanBlockProvider: (props: any) => React.JSX.Element;
|
|
12
|
-
export declare const useKanbanBlockContext: () => any;
|
|
13
|
-
export declare const useKanbanBlockProps: () => {
|
|
14
|
-
setDataSource: React.Dispatch<React.SetStateAction<any[]>>;
|
|
15
|
-
dataSource: any[];
|
|
16
|
-
groupField: any;
|
|
17
|
-
disableCardDrag: boolean;
|
|
18
|
-
onCardDragEnd: ({ columns, groupField }: any, { fromColumnId, fromPosition }: any, { toColumnId, toPosition }: any) => Promise<void>;
|
|
19
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
-
declare const Board: any;
|
|
10
|
-
export default Board;
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
declare function Card({ children, index, renderCard, disableCardDrag }: {
|
|
11
|
-
children: any;
|
|
12
|
-
index: any;
|
|
13
|
-
renderCard: any;
|
|
14
|
-
disableCardDrag: any;
|
|
15
|
-
}): React.JSX.Element;
|
|
16
|
-
export default Card;
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
declare function CardAdder({ column, onConfirm }: {
|
|
11
|
-
column: any;
|
|
12
|
-
onConfirm: any;
|
|
13
|
-
}): React.JSX.Element;
|
|
14
|
-
export default CardAdder;
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
declare function CardForm({ onConfirm, onCancel }: {
|
|
11
|
-
onConfirm: any;
|
|
12
|
-
onCancel: any;
|
|
13
|
-
}): React.JSX.Element;
|
|
14
|
-
export default CardForm;
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
declare function Column({ children, index: columnIndex, renderCard, renderCardAdder, renderColumnHeader, disableColumnDrag, disableCardDrag, onCardNew, allowAddCard, cardAdderPosition, }: {
|
|
11
|
-
children: any;
|
|
12
|
-
index: any;
|
|
13
|
-
renderCard: any;
|
|
14
|
-
renderCardAdder?: ({ column, onConfirm }: {
|
|
15
|
-
column: any;
|
|
16
|
-
onConfirm: any;
|
|
17
|
-
}) => React.JSX.Element;
|
|
18
|
-
renderColumnHeader: any;
|
|
19
|
-
disableColumnDrag: any;
|
|
20
|
-
disableCardDrag: any;
|
|
21
|
-
onCardNew: any;
|
|
22
|
-
allowAddCard: any;
|
|
23
|
-
cardAdderPosition?: string;
|
|
24
|
-
}): React.JSX.Element;
|
|
25
|
-
export default Column;
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
declare function ColumnAdder({ onConfirm }: {
|
|
11
|
-
onConfirm: any;
|
|
12
|
-
}): React.JSX.Element;
|
|
13
|
-
export default ColumnAdder;
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
-
declare function ColumnForm({ onConfirm, onCancel }: {
|
|
11
|
-
onConfirm: any;
|
|
12
|
-
onCancel: any;
|
|
13
|
-
}): React.JSX.Element;
|
|
14
|
-
export default ColumnForm;
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
declare function DefaultCard({ children: card, dragging, allowRemoveCard, onCardRemove }: {
|
|
11
|
-
children: any;
|
|
12
|
-
dragging: any;
|
|
13
|
-
allowRemoveCard: any;
|
|
14
|
-
onCardRemove: any;
|
|
15
|
-
}): React.JSX.Element;
|
|
16
|
-
export default DefaultCard;
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
declare function DefaultColumnHeader({ children: column, allowRemoveColumn, onColumnRemove, allowRenameColumn, onColumnRename, }: {
|
|
11
|
-
children: any;
|
|
12
|
-
allowRemoveColumn: any;
|
|
13
|
-
onColumnRemove: any;
|
|
14
|
-
allowRenameColumn: any;
|
|
15
|
-
onColumnRename: any;
|
|
16
|
-
}): React.JSX.Element;
|
|
17
|
-
export default DefaultColumnHeader;
|
|
@@ -1,11 +0,0 @@
|
|
|
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 '@asseinfo/react-kanban/dist/styles.css';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
export declare function Kanban(): React.JSX.Element;
|
|
@@ -1,27 +0,0 @@
|
|
|
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
|
-
declare function moveColumn(board: any, { fromPosition }: {
|
|
10
|
-
fromPosition: any;
|
|
11
|
-
}, { toPosition }: {
|
|
12
|
-
toPosition: any;
|
|
13
|
-
}): any;
|
|
14
|
-
declare function moveCard(board: any, { fromPosition, fromColumnId }: {
|
|
15
|
-
fromPosition: any;
|
|
16
|
-
fromColumnId: any;
|
|
17
|
-
}, { toPosition, toColumnId }: {
|
|
18
|
-
toPosition: any;
|
|
19
|
-
toColumnId: any;
|
|
20
|
-
}): any;
|
|
21
|
-
declare function addColumn(board: any, column: any): any;
|
|
22
|
-
declare function removeColumn(board: any, column: any): any;
|
|
23
|
-
declare function changeColumn(board: any, column: any, newColumn: any): any;
|
|
24
|
-
declare function addCard(board: any, inColumn: any, card: any, { on }?: any): any;
|
|
25
|
-
declare function removeCard(board: any, fromColumn: any, card: any): any;
|
|
26
|
-
declare function changeCard(board: any, cardId: any, newCard: any): any;
|
|
27
|
-
export { moveColumn, moveCard, addColumn, removeColumn, changeColumn, addCard, removeCard, changeCard };
|
|
@@ -1,9 +0,0 @@
|
|
|
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 useKanbanBlockHeight: () => number;
|
|
@@ -1,9 +0,0 @@
|
|
|
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 { default as Board } from './Board';
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
declare function getCoordinates(event: any, board: any): {
|
|
10
|
-
source?: undefined;
|
|
11
|
-
destination?: undefined;
|
|
12
|
-
} | {
|
|
13
|
-
source: {
|
|
14
|
-
fromPosition: any;
|
|
15
|
-
};
|
|
16
|
-
destination: {
|
|
17
|
-
toPosition: any;
|
|
18
|
-
};
|
|
19
|
-
} | {
|
|
20
|
-
source: {
|
|
21
|
-
fromColumnId: any;
|
|
22
|
-
fromPosition: any;
|
|
23
|
-
};
|
|
24
|
-
destination: {
|
|
25
|
-
toColumnId: any;
|
|
26
|
-
toPosition: any;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
declare function isAColumnMove(type: any): boolean;
|
|
30
|
-
declare function getCard(board: any, sourceCoordinate: any): any;
|
|
31
|
-
declare function isMovingAColumnToAnotherPosition(coordinates: any): boolean;
|
|
32
|
-
declare function isMovingACardToAnotherPosition(coordinates: any): boolean;
|
|
33
|
-
export { getCard, getCoordinates, isAColumnMove, isMovingAColumnToAnotherPosition, isMovingACardToAnotherPosition };
|
|
@@ -1,12 +0,0 @@
|
|
|
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 useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
10
|
-
nbBord: import("antd-style").SerializedStyles;
|
|
11
|
-
kanbanBoard: import("antd-style").SerializedStyles;
|
|
12
|
-
}>;
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
declare function partialRight(fn: any, ...args: any[]): (...leftArgs: any[]) => any;
|
|
10
|
-
declare function addInArrayAtPosition(array: any, element: any, position: any): any[];
|
|
11
|
-
declare function removeFromArrayAtPosition(array: any, position: any): any;
|
|
12
|
-
declare function changeElementOfPositionInArray(array: any, from: any, to: any): any;
|
|
13
|
-
declare function identity(value: any): any;
|
|
14
|
-
declare function when(value: any, predicate?: typeof identity): (callback: any) => any;
|
|
15
|
-
declare function replaceElementOfArray(array: any): (options: any) => any;
|
|
16
|
-
declare function pickPropOut(object: any, prop: any): {};
|
|
17
|
-
export { addInArrayAtPosition, removeFromArrayAtPosition, changeElementOfPositionInArray, when, replaceElementOfArray, partialRight, pickPropOut, };
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
-
declare function withDroppable(Component: any): {
|
|
11
|
-
({ children, ...droppableProps }: {
|
|
12
|
-
[x: string]: any;
|
|
13
|
-
children: any;
|
|
14
|
-
}): React.JSX.Element;
|
|
15
|
-
displayName: string;
|
|
16
|
-
};
|
|
17
|
-
export default withDroppable;
|
package/dist/client/context.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
/// <reference types="react" />
|
|
10
|
-
export declare const KanbanCardContext: import("react").Context<any>;
|
|
11
|
-
export declare const KanbanColumnContext: import("react").Context<any>;
|
|
@@ -1,17 +0,0 @@
|
|
|
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 { ISchema } from '@formily/react';
|
|
10
|
-
export declare const createKanbanBlockUISchema: (options: {
|
|
11
|
-
groupField: string;
|
|
12
|
-
sortField: string;
|
|
13
|
-
dataSource: string;
|
|
14
|
-
params?: Record<string, any>;
|
|
15
|
-
collectionName?: string;
|
|
16
|
-
association?: string;
|
|
17
|
-
}) => ISchema;
|
package/dist/client/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
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';
|
|
10
|
-
declare class PluginKanbanClient extends Plugin {
|
|
11
|
-
load(): Promise<void>;
|
|
12
|
-
}
|
|
13
|
-
export default PluginKanbanClient;
|