@nocobase/plugin-kanban 1.0.0-alpha.2 → 1.0.0-alpha.4
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/CreateAndSelectSort/index.d.ts +8 -0
- package/dist/client/Kanban.Card.Designer.d.ts +8 -0
- package/dist/client/Kanban.Card.d.ts +8 -0
- package/dist/client/Kanban.CardViewer.d.ts +8 -0
- package/dist/client/Kanban.Designer.d.ts +8 -0
- package/dist/client/Kanban.Settings.d.ts +8 -0
- package/dist/client/Kanban.d.ts +8 -0
- package/dist/client/KanbanActionInitializers.d.ts +8 -0
- package/dist/client/KanbanBlockInitializer.d.ts +8 -0
- package/dist/client/KanbanBlockProvider.d.ts +8 -0
- package/dist/client/board/Board.d.ts +8 -0
- package/dist/client/board/Card.d.ts +8 -0
- package/dist/client/board/CardAdder.d.ts +8 -0
- package/dist/client/board/CardForm.d.ts +8 -0
- package/dist/client/board/Column.d.ts +8 -0
- package/dist/client/board/ColumnAdder.d.ts +8 -0
- package/dist/client/board/ColumnForm.d.ts +8 -0
- package/dist/client/board/DefaultCard.d.ts +8 -0
- package/dist/client/board/DefaultColumnHeader.d.ts +8 -0
- package/dist/client/board/Kanban.d.ts +8 -0
- package/dist/client/board/helpers.d.ts +8 -0
- package/dist/client/board/index.d.ts +8 -0
- package/dist/client/board/services.d.ts +8 -0
- package/dist/client/board/style.d.ts +8 -0
- package/dist/client/board/utils.d.ts +8 -0
- package/dist/client/board/withDroppable.d.ts +8 -0
- package/dist/client/context.d.ts +8 -0
- package/dist/client/createKanbanBlockUISchema.d.ts +8 -0
- package/dist/client/index.d.ts +8 -0
- package/dist/client/index.js +9 -0
- package/dist/client/locale/index.d.ts +8 -0
- package/dist/client/style.d.ts +8 -0
- package/dist/externalVersion.js +12 -3
- package/dist/index.d.ts +8 -0
- package/dist/index.js +9 -0
- package/dist/server/index.d.ts +8 -0
- package/dist/server/index.js +9 -0
- package/dist/server/plugin.d.ts +8 -0
- package/dist/server/plugin.js +9 -0
- package/package.json +2 -2
|
@@ -1,2 +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
|
+
*/
|
|
1
9
|
import React from 'react';
|
|
2
10
|
export declare const CreateAndSelectSort: (props: any) => React.JSX.Element;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
import { CompatibleSchemaInitializer } from '@nocobase/client';
|
|
2
10
|
import React from 'react';
|
|
3
11
|
export declare const KanbanCardDesigner: () => React.JSX.Element;
|
|
@@ -1 +1,9 @@
|
|
|
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
|
+
*/
|
|
1
9
|
export declare const KanbanCard: any;
|
|
@@ -1 +1,9 @@
|
|
|
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
|
+
*/
|
|
1
9
|
export declare const KanbanCardViewer: any;
|
|
@@ -1,2 +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
|
+
*/
|
|
1
9
|
import React from 'react';
|
|
2
10
|
export declare const KanbanDesigner: () => React.JSX.Element;
|
|
@@ -1,2 +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
|
+
*/
|
|
1
9
|
import { SchemaSettings } from '@nocobase/client';
|
|
2
10
|
export declare const kanbanSettings: SchemaSettings<{}>;
|
package/dist/client/Kanban.d.ts
CHANGED
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
export declare const toColumns: (groupField: any, dataSource: Array<any>, primaryKey: any) => {
|
|
2
10
|
id: string;
|
|
3
11
|
title: string;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
import { CompatibleSchemaInitializer } from '@nocobase/client';
|
|
2
10
|
/**
|
|
3
11
|
* @deprecated
|
|
@@ -1,2 +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
|
+
*/
|
|
1
9
|
import React from 'react';
|
|
2
10
|
export declare const KanbanBlockInitializer: () => React.JSX.Element;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
import React from 'react';
|
|
2
10
|
export declare const KanbanBlockContext: React.Context<any>;
|
|
3
11
|
export declare const KanbanBlockProvider: (props: any) => React.JSX.Element;
|
|
@@ -1,2 +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
|
+
*/
|
|
1
9
|
declare const Board: any;
|
|
2
10
|
export default Board;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
import React from 'react';
|
|
2
10
|
declare function Card({ children, index, renderCard, disableCardDrag }: {
|
|
3
11
|
children: any;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
import React from 'react';
|
|
2
10
|
declare function CardAdder({ column, onConfirm }: {
|
|
3
11
|
column: any;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
import React from 'react';
|
|
2
10
|
declare function CardForm({ onConfirm, onCancel }: {
|
|
3
11
|
onConfirm: any;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
import React from 'react';
|
|
2
10
|
declare function Column({ children, index: columnIndex, renderCard, renderCardAdder, renderColumnHeader, disableColumnDrag, disableCardDrag, onCardNew, allowAddCard, cardAdderPosition, }: {
|
|
3
11
|
children: any;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
import React from 'react';
|
|
2
10
|
declare function ColumnAdder({ onConfirm }: {
|
|
3
11
|
onConfirm: any;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
import React from 'react';
|
|
2
10
|
declare function ColumnForm({ onConfirm, onCancel }: {
|
|
3
11
|
onConfirm: any;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
import React from 'react';
|
|
2
10
|
declare function DefaultCard({ children: card, dragging, allowRemoveCard, onCardRemove }: {
|
|
3
11
|
children: any;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
import React from 'react';
|
|
2
10
|
declare function DefaultColumnHeader({ children: column, allowRemoveColumn, onColumnRemove, allowRenameColumn, onColumnRename, }: {
|
|
3
11
|
children: any;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
import '@asseinfo/react-kanban/dist/styles.css';
|
|
2
10
|
import React from 'react';
|
|
3
11
|
export declare function Kanban(): React.JSX.Element;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
declare function moveColumn(board: any, { fromPosition }: {
|
|
2
10
|
fromPosition: any;
|
|
3
11
|
}, { toPosition }: {
|
|
@@ -1 +1,9 @@
|
|
|
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
|
+
*/
|
|
1
9
|
export { default as Board } from './Board';
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
declare function getCoordinates(event: any, board: any): {
|
|
2
10
|
source?: undefined;
|
|
3
11
|
destination?: undefined;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
2
10
|
nbBord: import("antd-style").SerializedStyles;
|
|
3
11
|
kanbanBoard: import("antd-style").SerializedStyles;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
declare function partialRight(fn: any, ...args: any[]): (...leftArgs: any[]) => any;
|
|
2
10
|
declare function addInArrayAtPosition(array: any, element: any, position: any): any[];
|
|
3
11
|
declare function removeFromArrayAtPosition(array: any, position: any): any;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
import React from 'react';
|
|
2
10
|
declare function withDroppable(Component: any): {
|
|
3
11
|
({ children, ...droppableProps }: {
|
package/dist/client/context.d.ts
CHANGED
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
/// <reference types="react" />
|
|
2
10
|
export declare const KanbanCardContext: import("react").Context<any>;
|
|
3
11
|
export declare const KanbanColumnContext: import("react").Context<any>;
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
import { ISchema } from '@formily/react';
|
|
2
10
|
export declare const createKanbanBlockUISchema: (options: {
|
|
3
11
|
collectionName: string;
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
import { Plugin } from '@nocobase/client';
|
|
2
10
|
declare class PluginKanbanClient extends Plugin {
|
|
3
11
|
load(): Promise<void>;
|
package/dist/client/index.js
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
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
|
+
|
|
1
10
|
(function(j,x){typeof exports=="object"&&typeof module!="undefined"?x(exports,require("react/jsx-runtime"),require("@nocobase/client"),require("react"),require("@formily/react"),require("antd"),require("lodash"),require("antd-style"),require("@emotion/css"),require("@formily/antd-v5"),require("react-i18next"),require("@ant-design/icons"),require("@formily/shared")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","@nocobase/client","react","@formily/react","antd","lodash","antd-style","@emotion/css","@formily/antd-v5","react-i18next","@ant-design/icons","@formily/shared"],x):(j=typeof globalThis!="undefined"?globalThis:j||self,x(j["@nocobase/plugin-kanban"]={},j.jsxRuntime,j["@nocobase/client"],j.react,j["@formily/react"],j.antd,j.lodash,j["antd-style"],j["@emotion/css"],j["@formily/antd-v5"],j["react-i18next"],j["@ant-design/icons"],j["@formily/shared"]))})(this,function(j,x,I,D,ee,qe,Fa,vt,br,Fr,In,La,ki){"use strict";var hI=Object.defineProperty,yI=Object.defineProperties;var SI=Object.getOwnPropertyDescriptors;var Ma=Object.getOwnPropertySymbols;var im=Object.prototype.hasOwnProperty,om=Object.prototype.propertyIsEnumerable;var tm=(j,x,I)=>x in j?hI(j,x,{enumerable:!0,configurable:!0,writable:!0,value:I}):j[x]=I,L=(j,x)=>{for(var I in x||(x={}))im.call(x,I)&&tm(j,I,x[I]);if(Ma)for(var I of Ma(x))om.call(x,I)&&tm(j,I,x[I]);return j},G=(j,x)=>yI(j,SI(x));var Ba=(j,x)=>{var I={};for(var D in j)im.call(j,D)&&x.indexOf(D)<0&&(I[D]=j[D]);if(j!=null&&Ma)for(var D of Ma(j))x.indexOf(D)<0&&om.call(j,D)&&(I[D]=j[D]);return I};var Br=(j,x,I)=>new Promise((D,ee)=>{var qe=br=>{try{vt(I.next(br))}catch(Fr){ee(Fr)}},Fa=br=>{try{vt(I.throw(br))}catch(Fr){ee(Fr)}},vt=br=>br.done?D(br.value):Promise.resolve(br.value).then(qe,Fa);vt((I=I.apply(j,x)).next())});function am(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const t=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,t.get?t:{enumerable:!0,get:()=>e[n]})}}return r.default=e,Object.freeze(r)}const gt=am(D);var za=new Map,Ni=new WeakMap,nc=0,lm=void 0;function um(e){return e?(Ni.has(e)||(nc+=1,Ni.set(e,nc.toString())),Ni.get(e)):"0"}function sm(e){return Object.keys(e).sort().filter(r=>e[r]!==void 0).map(r=>`${r}_${r==="root"?um(e.root):e[r]}`).toString()}function cm(e){const r=sm(e);let n=za.get(r);if(!n){const t=new Map;let i;const o=new IntersectionObserver(a=>{a.forEach(l=>{var u;const s=l.isIntersecting&&i.some(f=>l.intersectionRatio>=f);e.trackVisibility&&typeof l.isVisible=="undefined"&&(l.isVisible=s),(u=t.get(l.target))==null||u.forEach(f=>{f(s,l)})})},e);i=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:r,observer:o,elements:t},za.set(r,n)}return n}function dm(e,r,n={},t=lm){if(typeof window.IntersectionObserver=="undefined"&&t!==void 0){const u=e.getBoundingClientRect();return r(t,{isIntersecting:t,target:e,intersectionRatio:typeof n.threshold=="number"?n.threshold:0,time:0,boundingClientRect:u,intersectionRect:u,rootBounds:u}),()=>{}}const{id:i,observer:o,elements:a}=cm(n),l=a.get(e)||[];return a.has(e)||a.set(e,l),l.push(r),o.observe(e),function(){l.splice(l.indexOf(r),1),l.length===0&&(a.delete(e),o.unobserve(e)),a.size===0&&(o.disconnect(),za.delete(i))}}function fm({threshold:e,delay:r,trackVisibility:n,rootMargin:t,root:i,triggerOnce:o,skip:a,initialInView:l,fallbackInView:u,onChange:s}={}){var f;const[c,d]=gt.useState(null),p=gt.useRef(),[h,S]=gt.useState({inView:!!l,entry:void 0});p.current=s,gt.useEffect(()=>{if(a||!c)return;let m;return m=dm(c,(y,C)=>{S({inView:y,entry:C}),p.current&&p.current(y,C),C.isIntersecting&&o&&m&&(m(),m=void 0)},{root:i,rootMargin:t,threshold:e,trackVisibility:n,delay:r},u),()=>{m&&m()}},[Array.isArray(e)?e.toString():e,c,i,t,o,a,n,u,r]);const w=(f=h.entry)==null?void 0:f.target,g=gt.useRef();!c&&w&&!o&&!a&&g.current!==w&&(g.current=w,S({inView:!!l,entry:void 0}));const v=[d,h.inView,h.entry];return v.ref=v[0],v.inView=v[1],v.entry=v[2],v}function Ra(e,r){return Ra=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,i){return t.__proto__=i,t},Ra(e,r)}function tc(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,Ra(e,r)}function R(){return R=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},R.apply(this,arguments)}function mt(e){"@babel/helpers - typeof";return mt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},mt(e)}function pm(e,r){if(mt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var t=n.call(e,r||"default");if(mt(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(e)}function vm(e){var r=pm(e,"string");return mt(r)=="symbol"?r:String(r)}function gm(e,r,n){return r=vm(r),r in e?Object.defineProperty(e,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[r]=n,e}function ic(e,r){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,t)}return n}function oc(e){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?ic(Object(n),!0).forEach(function(t){gm(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ic(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Te(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var ac=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),_a=function(){return Math.random().toString(36).substring(7).split("").join(".")},lc={INIT:"@@redux/INIT"+_a(),REPLACE:"@@redux/REPLACE"+_a(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+_a()}};function mm(e){if(typeof e!="object"||e===null)return!1;for(var r=e;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r}function uc(e,r,n){var t;if(typeof r=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(Te(0));if(typeof r=="function"&&typeof n=="undefined"&&(n=r,r=void 0),typeof n!="undefined"){if(typeof n!="function")throw new Error(Te(1));return n(uc)(e,r)}if(typeof e!="function")throw new Error(Te(2));var i=e,o=r,a=[],l=a,u=!1;function s(){l===a&&(l=a.slice())}function f(){if(u)throw new Error(Te(3));return o}function c(S){if(typeof S!="function")throw new Error(Te(4));if(u)throw new Error(Te(5));var w=!0;return s(),l.push(S),function(){if(w){if(u)throw new Error(Te(6));w=!1,s();var v=l.indexOf(S);l.splice(v,1),a=null}}}function d(S){if(!mm(S))throw new Error(Te(7));if(typeof S.type=="undefined")throw new Error(Te(8));if(u)throw new Error(Te(9));try{u=!0,o=i(o,S)}finally{u=!1}for(var w=a=l,g=0;g<w.length;g++){var v=w[g];v()}return S}function p(S){if(typeof S!="function")throw new Error(Te(10));i=S,d({type:lc.REPLACE})}function h(){var S,w=c;return S={subscribe:function(v){if(typeof v!="object"||v===null)throw new Error(Te(11));function m(){v.next&&v.next(f())}m();var y=w(m);return{unsubscribe:y}}},S[ac]=function(){return this},S}return d({type:lc.INIT}),t={dispatch:d,subscribe:c,getState:f,replaceReducer:p},t[ac]=h,t}function sc(e,r){return function(){return r(e.apply(this,arguments))}}function cc(e,r){if(typeof e=="function")return sc(e,r);if(typeof e!="object"||e===null)throw new Error(Te(16));var n={};for(var t in e){var i=e[t];typeof i=="function"&&(n[t]=sc(i,r))}return n}function dc(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return r.length===0?function(t){return t}:r.length===1?r[0]:r.reduce(function(t,i){return function(){return t(i.apply(void 0,arguments))}})}function hm(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(t){return function(){var i=t.apply(void 0,arguments),o=function(){throw new Error(Te(15))},a={getState:i.getState,dispatch:function(){return o.apply(void 0,arguments)}},l=r.map(function(u){return u(a)});return o=dc.apply(void 0,l)(i.dispatch),oc(oc({},i),{},{dispatch:o})}}}var Oi=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function $a(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fc=D.createContext(null);function ym(e){e()}var pc=ym,Sm=function(r){return pc=r},wm=function(){return pc};function Cm(){var e=wm(),r=null,n=null;return{clear:function(){r=null,n=null},notify:function(){e(function(){for(var i=r;i;)i.callback(),i=i.next})},get:function(){for(var i=[],o=r;o;)i.push(o),o=o.next;return i},subscribe:function(i){var o=!0,a=n={callback:i,next:null,prev:n};return a.prev?a.prev.next=a:r=a,function(){!o||r===null||(o=!1,a.next?a.next.prev=a.prev:n=a.prev,a.prev?a.prev.next=a.next:r=a.next)}}}}var vc={notify:function(){},get:function(){return[]}};function gc(e,r){var n,t=vc;function i(c){return u(),t.subscribe(c)}function o(){t.notify()}function a(){f.onStateChange&&f.onStateChange()}function l(){return!!n}function u(){n||(n=r?r.addNestedSub(a):e.subscribe(a),t=Cm())}function s(){n&&(n(),n=void 0,t.clear(),t=vc)}var f={addNestedSub:i,notifyNestedSubs:o,handleChangeWrapper:a,isSubscribed:l,trySubscribe:u,tryUnsubscribe:s,getListeners:function(){return t}};return f}var mc=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined"?D.useLayoutEffect:D.useEffect;function bm(e){var r=e.store,n=e.context,t=e.children,i=D.useMemo(function(){var l=gc(r);return{store:r,subscription:l}},[r]),o=D.useMemo(function(){return r.getState()},[r]);mc(function(){var l=i.subscription;return l.onStateChange=l.notifyNestedSubs,l.trySubscribe(),o!==r.getState()&&l.notifyNestedSubs(),function(){l.tryUnsubscribe(),l.onStateChange=null}},[i,o]);var a=n||fc;return D.createElement(a.Provider,{value:i},t)}function Ai(e,r){if(e==null)return{};var n={},t=Object.keys(e),i,o;for(o=0;o<t.length;o++)i=t[o],!(r.indexOf(i)>=0)&&(n[i]=e[i]);return n}var hc={exports:{}},K={};/** @license React v16.13.1
|
|
2
11
|
* react-is.production.min.js
|
|
3
12
|
*
|
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
export declare const NAMESPACE = "kanban";
|
|
2
10
|
export declare function lang(key: string): string;
|
|
3
11
|
export declare function generateNTemplate(key: string): string;
|
package/dist/client/style.d.ts
CHANGED
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
export declare const useStyles: (props?: unknown) => import("antd-style").ReturnStyles<{
|
|
2
10
|
nbKanban: import("antd-style").SerializedStyles;
|
|
3
11
|
}>;
|
package/dist/externalVersion.js
CHANGED
|
@@ -1,8 +1,17 @@
|
|
|
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
|
+
|
|
1
10
|
module.exports = {
|
|
2
11
|
"@ant-design/icons": "5.2.6",
|
|
3
12
|
"@formily/react": "2.3.0",
|
|
4
13
|
"@formily/shared": "2.3.0",
|
|
5
|
-
"@nocobase/client": "1.0.0-alpha.
|
|
14
|
+
"@nocobase/client": "1.0.0-alpha.4",
|
|
6
15
|
"antd": "5.12.8",
|
|
7
16
|
"react": "18.2.0",
|
|
8
17
|
"react-i18next": "11.18.6",
|
|
@@ -10,7 +19,7 @@ module.exports = {
|
|
|
10
19
|
"@formily/antd-v5": "1.1.9",
|
|
11
20
|
"@formily/core": "2.3.0",
|
|
12
21
|
"lodash": "4.17.21",
|
|
13
|
-
"@nocobase/server": "1.0.0-alpha.
|
|
14
|
-
"@nocobase/test": "1.0.0-alpha.
|
|
22
|
+
"@nocobase/server": "1.0.0-alpha.4",
|
|
23
|
+
"@nocobase/test": "1.0.0-alpha.4",
|
|
15
24
|
"antd-style": "3.4.5"
|
|
16
25
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +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
|
+
*/
|
|
1
9
|
export * from './server';
|
|
2
10
|
export { default } from './server';
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
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
|
+
|
|
1
10
|
var __create = Object.create;
|
|
2
11
|
var __defProp = Object.defineProperty;
|
|
3
12
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
package/dist/server/index.d.ts
CHANGED
|
@@ -1 +1,9 @@
|
|
|
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
|
+
*/
|
|
1
9
|
export { default } from './plugin';
|
package/dist/server/index.js
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
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
|
+
|
|
1
10
|
var __create = Object.create;
|
|
2
11
|
var __defProp = Object.defineProperty;
|
|
3
12
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
package/dist/server/plugin.d.ts
CHANGED
|
@@ -1,3 +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
|
+
*/
|
|
1
9
|
import { InstallOptions, Plugin } from '@nocobase/server';
|
|
2
10
|
export declare class PluginKanbanServer extends Plugin {
|
|
3
11
|
afterAdd(): void;
|
package/dist/server/plugin.js
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
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
|
+
|
|
1
10
|
var __defProp = Object.defineProperty;
|
|
2
11
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
12
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/plugin-kanban",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.4",
|
|
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
|
"dependencies": {
|
|
18
18
|
"react-intersection-observer": "^9.8.1"
|
|
19
19
|
},
|
|
20
|
-
"gitHead": "
|
|
20
|
+
"gitHead": "7a7005ce3bddf33498580a6486c45b5d9ea64ffb",
|
|
21
21
|
"keywords": [
|
|
22
22
|
"Blocks"
|
|
23
23
|
]
|