@progress/kendo-react-taskboard 7.2.4-develop.3 → 7.3.0-develop.1
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/TaskBoard.js +8 -0
- package/TaskBoard.mjs +239 -0
- package/TaskBoardAddCard.js +8 -0
- package/TaskBoardAddCard.mjs +43 -0
- package/TaskBoardCardBase.js +8 -0
- package/TaskBoardCardBase.mjs +106 -0
- package/TaskBoardColumnBase.js +8 -0
- package/TaskBoardColumnBase.mjs +129 -0
- package/TaskBoardConfirmDialog.js +8 -0
- package/TaskBoardConfirmDialog.mjs +28 -0
- package/TaskBoardEditCard.js +8 -0
- package/TaskBoardEditCard.mjs +44 -0
- package/TaskBoardTaskEditPane.js +8 -0
- package/TaskBoardTaskEditPane.mjs +69 -0
- package/TaskBoardToolbar.js +8 -0
- package/TaskBoardToolbar.mjs +22 -0
- package/card/Card.js +8 -0
- package/card/Card.mjs +68 -0
- package/card/CardBody.js +8 -0
- package/card/CardBody.mjs +15 -0
- package/card/CardHeader.js +8 -0
- package/card/CardHeader.mjs +38 -0
- package/card/PreviewDialog.js +8 -0
- package/card/PreviewDialog.mjs +16 -0
- package/column/Column.js +8 -0
- package/column/Column.mjs +72 -0
- package/column/ColumnBody.js +8 -0
- package/column/ColumnBody.mjs +14 -0
- package/column/ColumnHeader.js +8 -0
- package/column/ColumnHeader.mjs +56 -0
- package/constants.js +8 -0
- package/constants.mjs +16 -0
- package/dist/cdn/js/kendo-react-taskboard.js +8 -5
- package/hooks/taskEditing.js +8 -0
- package/hooks/taskEditing.mjs +25 -0
- package/index.d.mts +839 -5
- package/index.d.ts +839 -18
- package/index.js +8 -5
- package/index.mjs +35 -829
- package/messages/index.js +8 -0
- package/messages/index.mjs +71 -0
- package/package-metadata.js +8 -0
- package/package-metadata.mjs +19 -0
- package/package.json +12 -12
- package/utils.js +8 -0
- package/utils.mjs +50 -0
- package/TaskBoard.d.ts +0 -149
- package/TaskBoardAddCard.d.ts +0 -32
- package/TaskBoardCardBase.d.ts +0 -63
- package/TaskBoardColumnBase.d.ts +0 -79
- package/TaskBoardConfirmDialog.d.ts +0 -38
- package/TaskBoardEditCard.d.ts +0 -20
- package/TaskBoardTaskEditPane.d.ts +0 -93
- package/TaskBoardToolbar.d.ts +0 -26
- package/card/Card.d.ts +0 -145
- package/card/CardBody.d.ts +0 -23
- package/card/CardHeader.d.ts +0 -57
- package/card/PreviewDialog.d.ts +0 -51
- package/column/Column.d.ts +0 -162
- package/column/ColumnBody.d.ts +0 -18
- package/column/ColumnHeader.d.ts +0 -56
- package/constants.d.ts +0 -24
- package/hooks/taskEditing.d.ts +0 -23
- package/messages/index.d.ts +0 -154
- package/package-metadata.d.ts +0 -9
- package/utils.d.ts +0 -29
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a="taskBoard.toolbarAddColumnButton",t="taskBoard.toolbarSearchField",e="taskBoard.editColumnButton",o="taskBoard.addCardButton",d="taskBoard.deleteColumnButton",r="taskBoard.editCardButton",n="taskBoard.deleteCardButton",s="taskBoard.deleteTaskDialogMessage",l="taskBoard.deleteTaskDialogTitle",B="taskBoard.deleteTaskConfirmButton",i="taskBoard.deleteTaskCancelButton",k="taskBoard.addCardTitle",C="taskBoard.addCardTitleLabel",u="taskBoard.addCardDescriptionLabel",c="taskBoard.addCardPriorityLabel",D="taskBoard.addCardCreateButton",P="taskBoard.deleteColumnDialogMessage",m="taskBoard.deleteColumnDialogTitle",T="taskBoard.deleteColumnConfirmButton",b="taskBoard.deleteColumnCancelButton",g="taskBoard.editCardPaneTitle",E="taskBoard.editCardPaneSaveButton",L="taskBoard.editPaneTitleLabel",A="taskBoard.editPaneDescriptionLabel",y="taskBoard.editPanePriorityLabel",v="taskBoard.editPaneCancelButton",p="taskBoard.previewPanePriorityLabel",w="taskBoard.previewPaneDeleteButton",S="taskBoard.previewPaneEditButton",f={[a]:"Add column",[t]:"Search",[e]:"Edit column",[o]:"Add card",[d]:"Delete column",[r]:"Edit card",[n]:"Delete card",[s]:"Are you sure you want to delete this card?",[l]:"Delete Card",[B]:"Delete",[i]:"Cancel",[P]:"Are you sure you want to delete this column?",[m]:"Delete column?",[T]:"Delete",[b]:"Cancel",[k]:"Create new card",[D]:"Create",[v]:"Cancel",[g]:"Edit",[E]:"Save changes",[L]:"Title:",[A]:"Description:",[y]:"Priority:",[C]:"Title",[u]:"Description",[c]:"Priority",[p]:"Priority:",[w]:"Delete",[S]:"Edit"};exports.messages=f;exports.taskBoardAddCardButton=o;exports.taskBoardAddCardCreateButton=D;exports.taskBoardAddCardDescriptionLabel=u;exports.taskBoardAddCardPaneTitle=k;exports.taskBoardAddCardPriorityLabel=c;exports.taskBoardAddCardTitleLabel=C;exports.taskBoardAddColumnButton=a;exports.taskBoardDelColumnCancelBtn=b;exports.taskBoardDelColumnConfirmBtn=T;exports.taskBoardDelColumnDialogMsg=P;exports.taskBoardDelColumnDialogTitle=m;exports.taskBoardDeleteCardButton=n;exports.taskBoardDeleteColumnButton=d;exports.taskBoardDeleteTaskCancelButton=i;exports.taskBoardDeleteTaskConfirmButton=B;exports.taskBoardDeleteTaskDialogMessage=s;exports.taskBoardDeleteTaskDialogTitle=l;exports.taskBoardEditCardButton=r;exports.taskBoardEditCardPaneSaveBtn=E;exports.taskBoardEditCardPaneTitle=g;exports.taskBoardEditColumnButton=e;exports.taskBoardEditPaneCancelBtn=v;exports.taskBoardEditPaneDescriptionLabel=A;exports.taskBoardEditPanePriorityLabel=y;exports.taskBoardEditPaneTitleLabel=L;exports.taskBoardPreviewPaneDeleteBtn=w;exports.taskBoardPreviewPaneEditBtn=S;exports.taskBoardPreviewPanePriorityLabel=p;exports.taskBoardSearchField=t;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
const t = "taskBoard.toolbarAddColumnButton", a = "taskBoard.toolbarSearchField", e = "taskBoard.editColumnButton", o = "taskBoard.addCardButton", d = "taskBoard.deleteColumnButton", r = "taskBoard.editCardButton", n = "taskBoard.deleteCardButton", s = "taskBoard.deleteTaskDialogMessage", l = "taskBoard.deleteTaskDialogTitle", i = "taskBoard.deleteTaskConfirmButton", B = "taskBoard.deleteTaskCancelButton", k = "taskBoard.addCardTitle", c = "taskBoard.addCardTitleLabel", C = "taskBoard.addCardDescriptionLabel", u = "taskBoard.addCardPriorityLabel", D = "taskBoard.addCardCreateButton", P = "taskBoard.deleteColumnDialogMessage", m = "taskBoard.deleteColumnDialogTitle", T = "taskBoard.deleteColumnConfirmButton", b = "taskBoard.deleteColumnCancelButton", g = "taskBoard.editCardPaneTitle", E = "taskBoard.editCardPaneSaveButton", L = "taskBoard.editPaneTitleLabel", y = "taskBoard.editPaneDescriptionLabel", A = "taskBoard.editPanePriorityLabel", p = "taskBoard.editPaneCancelButton", v = "taskBoard.previewPanePriorityLabel", w = "taskBoard.previewPaneDeleteButton", h = "taskBoard.previewPaneEditButton", S = {
|
|
10
|
+
[t]: "Add column",
|
|
11
|
+
[a]: "Search",
|
|
12
|
+
[e]: "Edit column",
|
|
13
|
+
[o]: "Add card",
|
|
14
|
+
[d]: "Delete column",
|
|
15
|
+
[r]: "Edit card",
|
|
16
|
+
[n]: "Delete card",
|
|
17
|
+
[s]: "Are you sure you want to delete this card?",
|
|
18
|
+
[l]: "Delete Card",
|
|
19
|
+
[i]: "Delete",
|
|
20
|
+
[B]: "Cancel",
|
|
21
|
+
[P]: "Are you sure you want to delete this column?",
|
|
22
|
+
[m]: "Delete column?",
|
|
23
|
+
[T]: "Delete",
|
|
24
|
+
[b]: "Cancel",
|
|
25
|
+
[k]: "Create new card",
|
|
26
|
+
[D]: "Create",
|
|
27
|
+
[p]: "Cancel",
|
|
28
|
+
[g]: "Edit",
|
|
29
|
+
[E]: "Save changes",
|
|
30
|
+
[L]: "Title:",
|
|
31
|
+
[y]: "Description:",
|
|
32
|
+
[A]: "Priority:",
|
|
33
|
+
[c]: "Title",
|
|
34
|
+
[C]: "Description",
|
|
35
|
+
[u]: "Priority",
|
|
36
|
+
[v]: "Priority:",
|
|
37
|
+
[w]: "Delete",
|
|
38
|
+
[h]: "Edit"
|
|
39
|
+
};
|
|
40
|
+
export {
|
|
41
|
+
S as messages,
|
|
42
|
+
o as taskBoardAddCardButton,
|
|
43
|
+
D as taskBoardAddCardCreateButton,
|
|
44
|
+
C as taskBoardAddCardDescriptionLabel,
|
|
45
|
+
k as taskBoardAddCardPaneTitle,
|
|
46
|
+
u as taskBoardAddCardPriorityLabel,
|
|
47
|
+
c as taskBoardAddCardTitleLabel,
|
|
48
|
+
t as taskBoardAddColumnButton,
|
|
49
|
+
b as taskBoardDelColumnCancelBtn,
|
|
50
|
+
T as taskBoardDelColumnConfirmBtn,
|
|
51
|
+
P as taskBoardDelColumnDialogMsg,
|
|
52
|
+
m as taskBoardDelColumnDialogTitle,
|
|
53
|
+
n as taskBoardDeleteCardButton,
|
|
54
|
+
d as taskBoardDeleteColumnButton,
|
|
55
|
+
B as taskBoardDeleteTaskCancelButton,
|
|
56
|
+
i as taskBoardDeleteTaskConfirmButton,
|
|
57
|
+
s as taskBoardDeleteTaskDialogMessage,
|
|
58
|
+
l as taskBoardDeleteTaskDialogTitle,
|
|
59
|
+
r as taskBoardEditCardButton,
|
|
60
|
+
E as taskBoardEditCardPaneSaveBtn,
|
|
61
|
+
g as taskBoardEditCardPaneTitle,
|
|
62
|
+
e as taskBoardEditColumnButton,
|
|
63
|
+
p as taskBoardEditPaneCancelBtn,
|
|
64
|
+
y as taskBoardEditPaneDescriptionLabel,
|
|
65
|
+
A as taskBoardEditPanePriorityLabel,
|
|
66
|
+
L as taskBoardEditPaneTitleLabel,
|
|
67
|
+
w as taskBoardPreviewPaneDeleteBtn,
|
|
68
|
+
h as taskBoardPreviewPaneEditBtn,
|
|
69
|
+
v as taskBoardPreviewPanePriorityLabel,
|
|
70
|
+
a as taskBoardSearchField
|
|
71
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-react-taskboard",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:0,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"};exports.packageMetadata=e;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
const e = {
|
|
10
|
+
name: "@progress/kendo-react-taskboard",
|
|
11
|
+
productName: "KendoReact",
|
|
12
|
+
productCodes: ["KENDOUIREACT", "KENDOUICOMPLETE"],
|
|
13
|
+
publishDate: 1709715768,
|
|
14
|
+
version: "",
|
|
15
|
+
licensingDocsUrl: "https://www.telerik.com/kendo-react-ui/components/my-license/"
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
e as packageMetadata
|
|
19
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-taskboard",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0-develop.1",
|
|
4
4
|
"description": "KendoReact TaskBoard package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"@progress/kendo-data-query": "^1.0.0",
|
|
26
26
|
"@progress/kendo-licensing": "^1.3.4",
|
|
27
|
-
"@progress/kendo-react-buttons": "7.
|
|
28
|
-
"@progress/kendo-react-common": "7.
|
|
29
|
-
"@progress/kendo-react-dialogs": "7.
|
|
30
|
-
"@progress/kendo-react-dropdowns": "7.
|
|
31
|
-
"@progress/kendo-react-form": "7.
|
|
32
|
-
"@progress/kendo-react-indicators": "7.
|
|
33
|
-
"@progress/kendo-react-inputs": "7.
|
|
34
|
-
"@progress/kendo-react-intl": "7.
|
|
35
|
-
"@progress/kendo-react-labels": "7.
|
|
36
|
-
"@progress/kendo-react-layout": "7.
|
|
37
|
-
"@progress/kendo-react-popup": "7.
|
|
27
|
+
"@progress/kendo-react-buttons": "7.3.0-develop.1",
|
|
28
|
+
"@progress/kendo-react-common": "7.3.0-develop.1",
|
|
29
|
+
"@progress/kendo-react-dialogs": "7.3.0-develop.1",
|
|
30
|
+
"@progress/kendo-react-dropdowns": "7.3.0-develop.1",
|
|
31
|
+
"@progress/kendo-react-form": "7.3.0-develop.1",
|
|
32
|
+
"@progress/kendo-react-indicators": "7.3.0-develop.1",
|
|
33
|
+
"@progress/kendo-react-inputs": "7.3.0-develop.1",
|
|
34
|
+
"@progress/kendo-react-intl": "7.3.0-develop.1",
|
|
35
|
+
"@progress/kendo-react-labels": "7.3.0-develop.1",
|
|
36
|
+
"@progress/kendo-react-layout": "7.3.0-develop.1",
|
|
37
|
+
"@progress/kendo-react-popup": "7.3.0-develop.1",
|
|
38
38
|
"@progress/kendo-svg-icons": "^2.1.0",
|
|
39
39
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0",
|
|
40
40
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
|
package/utils.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),u=require("./constants.js");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,l.get?l:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=a(i),d=(e,t,r)=>{let l=-1,o=-1;for(let c=0;c<r.length;c++){const s=String(r[c].id);if(s===e&&(o=c),s===t&&(l=c),l!==-1&&o!==-1)return{dragIndex:o,dropIndex:l}}return null},p=e=>{for(;e;){if(!e.getAttribute)return null;const t=e.getAttribute(u.TASKBOARD_ITEM_ID);if(t)return{id:t,type:e.getAttribute(u.TASKBOARD_ITEM_TYPE)||"",element:e};e=e.parentNode}return null},f=(e,t)=>{const r=t.dataItem.color,l=n.createElement(n.Fragment,null,n.createElement("span",{style:{backgroundColor:r}}," "),e.props.children);return n.cloneElement(e,e.props,l)},m=(e,t)=>{if(!t)return e;const r=n.createElement(n.Fragment,null,n.createElement("span",{style:{backgroundColor:t.color}}," "),n.createElement("span",null," ",e.props.children));return n.cloneElement(e,{...e.props},r)};exports.closestTaskBoardElement=p;exports.findIndexes=d;exports.itemRender=f;exports.valueRender=m;
|
package/utils.mjs
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
"use client";
|
|
9
|
+
import * as r from "react";
|
|
10
|
+
import { TASKBOARD_ITEM_ID as s, TASKBOARD_ITEM_TYPE as u } from "./constants.mjs";
|
|
11
|
+
const p = (e, t, n) => {
|
|
12
|
+
let l = -1, c = -1;
|
|
13
|
+
for (let o = 0; o < n.length; o++) {
|
|
14
|
+
const i = String(n[o].id);
|
|
15
|
+
if (i === e && (c = o), i === t && (l = o), l !== -1 && c !== -1)
|
|
16
|
+
return {
|
|
17
|
+
dragIndex: c,
|
|
18
|
+
dropIndex: l
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
return null;
|
|
22
|
+
}, m = (e) => {
|
|
23
|
+
for (; e; ) {
|
|
24
|
+
if (!e.getAttribute)
|
|
25
|
+
return null;
|
|
26
|
+
const t = e.getAttribute(s);
|
|
27
|
+
if (t)
|
|
28
|
+
return {
|
|
29
|
+
id: t,
|
|
30
|
+
type: e.getAttribute(u) || "",
|
|
31
|
+
element: e
|
|
32
|
+
};
|
|
33
|
+
e = e.parentNode;
|
|
34
|
+
}
|
|
35
|
+
return null;
|
|
36
|
+
}, d = (e, t) => {
|
|
37
|
+
const n = t.dataItem.color, l = /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement("span", { style: { backgroundColor: n } }, " "), e.props.children);
|
|
38
|
+
return r.cloneElement(e, e.props, l);
|
|
39
|
+
}, E = (e, t) => {
|
|
40
|
+
if (!t)
|
|
41
|
+
return e;
|
|
42
|
+
const n = /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement("span", { style: { backgroundColor: t.color } }, " "), /* @__PURE__ */ r.createElement("span", null, " ", e.props.children));
|
|
43
|
+
return r.cloneElement(e, { ...e.props }, n);
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
m as closestTaskBoardElement,
|
|
47
|
+
p as findIndexes,
|
|
48
|
+
d as itemRender,
|
|
49
|
+
E as valueRender
|
|
50
|
+
};
|
package/TaskBoard.d.ts
DELETED
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { TaskBoardCardProps } from './card/Card';
|
|
7
|
-
import { TaskBoardColumnProps } from './column/Column';
|
|
8
|
-
/**
|
|
9
|
-
* Represent the target(props) of the TaskBoardHandle.
|
|
10
|
-
*/
|
|
11
|
-
export interface TaskBoardHandle {
|
|
12
|
-
/**
|
|
13
|
-
* The props values of the TackBoard.
|
|
14
|
-
*/
|
|
15
|
-
props: TaskBoardProps;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Represents the target of the TaskBoardPriority.
|
|
19
|
-
*/
|
|
20
|
-
export interface TaskBoardPriority {
|
|
21
|
-
/**
|
|
22
|
-
* Represents the priority of a TaskBoard.
|
|
23
|
-
*/
|
|
24
|
-
priority: string;
|
|
25
|
-
/**
|
|
26
|
-
* Represents the color of a TaskBoard.
|
|
27
|
-
*/
|
|
28
|
-
color: string;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Represent the item model.
|
|
32
|
-
*/
|
|
33
|
-
interface ItemModel {
|
|
34
|
-
/**
|
|
35
|
-
* Sets the `id` of an ItemModel.
|
|
36
|
-
*/
|
|
37
|
-
id: string | number | undefined;
|
|
38
|
-
/**
|
|
39
|
-
* Determines the title of an ItemModel.
|
|
40
|
-
*/
|
|
41
|
-
title: string;
|
|
42
|
-
/**
|
|
43
|
-
* Determines the status of an ItemModel.
|
|
44
|
-
*/
|
|
45
|
-
status: string;
|
|
46
|
-
/**
|
|
47
|
-
* Determines of an ItemModel is going to edited.
|
|
48
|
-
*/
|
|
49
|
-
edit?: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* @hidden
|
|
52
|
-
*/
|
|
53
|
-
isPlaceholder?: boolean;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Represents the task board column model.
|
|
57
|
-
*/
|
|
58
|
-
export interface TaskBoardColumnModel extends ItemModel {
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Represents the task board task model.
|
|
62
|
-
*/
|
|
63
|
-
export interface TaskBoardTaskModel extends ItemModel {
|
|
64
|
-
/**
|
|
65
|
-
* Determined the description of the TaskBoardTaskModel.
|
|
66
|
-
*/
|
|
67
|
-
description: string;
|
|
68
|
-
/**
|
|
69
|
-
* Determined the priority of the TaskBoardTaskModel.
|
|
70
|
-
*/
|
|
71
|
-
priority: TaskBoardPriority;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Represents the return type of TaskBoardChangeEvent.
|
|
75
|
-
*/
|
|
76
|
-
export interface TaskBoardChangeEvent {
|
|
77
|
-
/**
|
|
78
|
-
* Determines the returned data.
|
|
79
|
-
*/
|
|
80
|
-
data: {}[] | TaskBoardTaskModel[];
|
|
81
|
-
/**
|
|
82
|
-
* Determines the returned type.
|
|
83
|
-
*/
|
|
84
|
-
type: string;
|
|
85
|
-
/**
|
|
86
|
-
* Represents the previous item.
|
|
87
|
-
*/
|
|
88
|
-
previousItem: TaskBoardColumnModel | TaskBoardTaskModel | null;
|
|
89
|
-
/**
|
|
90
|
-
* Represents the current item.
|
|
91
|
-
*/
|
|
92
|
-
item: TaskBoardColumnModel | TaskBoardTaskModel | null;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Represents the props of the TaskBoard component
|
|
96
|
-
*/
|
|
97
|
-
export interface TaskBoardProps {
|
|
98
|
-
/**
|
|
99
|
-
* Specifies the column data from type TaskBoardColumnModel.
|
|
100
|
-
*/
|
|
101
|
-
columnData: TaskBoardColumnModel[];
|
|
102
|
-
/**
|
|
103
|
-
* Represents the task data from type TaskBoardTaskModel.
|
|
104
|
-
*/
|
|
105
|
-
taskData: TaskBoardTaskModel[];
|
|
106
|
-
/**
|
|
107
|
-
* Specifies the priorities of the task board.
|
|
108
|
-
*/
|
|
109
|
-
priorities: TaskBoardPriority[];
|
|
110
|
-
/**
|
|
111
|
-
* Specifies a list of CSS classes that will be added to the TaskBoard element.
|
|
112
|
-
*/
|
|
113
|
-
className?: string | Array<string>;
|
|
114
|
-
/**
|
|
115
|
-
* Specifies the id that will be added to the TaskBoard element.
|
|
116
|
-
*/
|
|
117
|
-
id?: string;
|
|
118
|
-
/**
|
|
119
|
-
* Specifies the `tabIndex` that will be added to the TaskBoard Column and Card elements.
|
|
120
|
-
*/
|
|
121
|
-
tabIndex?: number;
|
|
122
|
-
/**
|
|
123
|
-
* Represents the styles that are applied to the TaskBoard.
|
|
124
|
-
*/
|
|
125
|
-
style?: React.CSSProperties;
|
|
126
|
-
/**
|
|
127
|
-
* The React elements that will be rendered inside the toolbar of the TaskBoard.
|
|
128
|
-
*/
|
|
129
|
-
children?: React.ReactNode;
|
|
130
|
-
/**
|
|
131
|
-
* Represents the `onChange` event. Triggered after tasks changes.
|
|
132
|
-
*/
|
|
133
|
-
onChange: (event: TaskBoardChangeEvent) => void;
|
|
134
|
-
/**
|
|
135
|
-
* Represents the TaskBoardCard component.
|
|
136
|
-
*/
|
|
137
|
-
card?: React.ComponentType<TaskBoardCardProps>;
|
|
138
|
-
/**
|
|
139
|
-
* Represents the TaskBoardColumn component.
|
|
140
|
-
*/
|
|
141
|
-
column?: React.ComponentType<TaskBoardColumnProps>;
|
|
142
|
-
}
|
|
143
|
-
/**
|
|
144
|
-
* Represents the [KendoReact TaskBoard component]({% slug overview_taskboard %}).
|
|
145
|
-
*
|
|
146
|
-
* Accepts properties of type [TaskBoardProps]({% slug api_taskboard_taskboardprops %}).
|
|
147
|
-
*/
|
|
148
|
-
export declare const TaskBoard: React.ForwardRefExoticComponent<TaskBoardProps & React.RefAttributes<TaskBoardHandle | null>>;
|
|
149
|
-
export {};
|
package/TaskBoardAddCard.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { TaskBoardTaskEditPaneProps } from './TaskBoardTaskEditPane';
|
|
7
|
-
import { TaskBoardPriority, TaskBoardTaskModel } from './TaskBoard';
|
|
8
|
-
/**
|
|
9
|
-
* Represents the props of the TaskBoardAddCard component
|
|
10
|
-
*/
|
|
11
|
-
export interface TaskBoardAddCardProps {
|
|
12
|
-
/**
|
|
13
|
-
* Represent the priorities of the task board card.
|
|
14
|
-
*/
|
|
15
|
-
priorities: TaskBoardPriority[];
|
|
16
|
-
/**
|
|
17
|
-
* Triggered on `onClose` event of the TaskBoardAddCard.
|
|
18
|
-
*/
|
|
19
|
-
onClose: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
20
|
-
/**
|
|
21
|
-
* Triggered on `onSave` event of the TaskBoardAddCard.
|
|
22
|
-
*/
|
|
23
|
-
onSave: (task: TaskBoardTaskModel, prevTask: TaskBoardTaskModel) => void;
|
|
24
|
-
/**
|
|
25
|
-
* Specifies the TaskBoardTaskEditPane component.
|
|
26
|
-
*/
|
|
27
|
-
editPane: React.ComponentType<TaskBoardTaskEditPaneProps>;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Represents the TaskBoardAddCard component.
|
|
31
|
-
*/
|
|
32
|
-
export declare const TaskBoardAddCard: React.FunctionComponent<TaskBoardAddCardProps>;
|
package/TaskBoardCardBase.d.ts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { CardHandle } from '@progress/kendo-react-layout';
|
|
7
|
-
import { TaskBoardCardProps } from './card/Card';
|
|
8
|
-
import { TaskBoardTaskModel } from './TaskBoard';
|
|
9
|
-
/**
|
|
10
|
-
* Represents the props of the TaskBoardCardBase component
|
|
11
|
-
*
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export interface TaskBoardCardBaseProps {
|
|
15
|
-
/**
|
|
16
|
-
* The task of the TaskBoardCardBase.
|
|
17
|
-
*/
|
|
18
|
-
task: TaskBoardTaskModel;
|
|
19
|
-
/**
|
|
20
|
-
* The styles for the TaskBoardCardBase.
|
|
21
|
-
*/
|
|
22
|
-
style?: React.CSSProperties;
|
|
23
|
-
/**
|
|
24
|
-
* Determines the disabled mode.
|
|
25
|
-
*/
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Specifies the `tabIndex` that will be added to the TaskBoard Column and Card elements.
|
|
29
|
-
*/
|
|
30
|
-
tabIndex?: number;
|
|
31
|
-
/**
|
|
32
|
-
* Specifies the CardHandle reference.
|
|
33
|
-
*/
|
|
34
|
-
elementRef?: React.RefObject<CardHandle>;
|
|
35
|
-
/**
|
|
36
|
-
* Specifies the width and height of the drag target reference.
|
|
37
|
-
*/
|
|
38
|
-
dragTargetRef?: React.RefObject<{
|
|
39
|
-
width: number;
|
|
40
|
-
height: number;
|
|
41
|
-
}>;
|
|
42
|
-
/**
|
|
43
|
-
* Fires when a task is deleted.
|
|
44
|
-
*/
|
|
45
|
-
onDeleteTask: () => void;
|
|
46
|
-
/**
|
|
47
|
-
* Represents the `showEditPane` event.
|
|
48
|
-
*/
|
|
49
|
-
showEditPane: (task: TaskBoardTaskModel) => void;
|
|
50
|
-
/**
|
|
51
|
-
* Represents the TaskBoardCard component.
|
|
52
|
-
*/
|
|
53
|
-
cardComponent: React.ComponentType<TaskBoardCardProps>;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Represents the TaskBoardCardBase component.
|
|
57
|
-
*
|
|
58
|
-
* @hidden
|
|
59
|
-
*/
|
|
60
|
-
export declare const TaskBoardCardBase: {
|
|
61
|
-
(props: TaskBoardCardBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
62
|
-
displayName: string;
|
|
63
|
-
};
|
package/TaskBoardColumnBase.d.ts
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { TaskBoardCardProps } from './card/Card';
|
|
7
|
-
import { TaskBoardColumnProps } from './column/Column';
|
|
8
|
-
import { TaskBoardColumnModel, TaskBoardPriority, TaskBoardTaskModel } from './TaskBoard';
|
|
9
|
-
/**
|
|
10
|
-
* Represents the props of the TaskBoardColumnBase component
|
|
11
|
-
*
|
|
12
|
-
* @hidden
|
|
13
|
-
*/
|
|
14
|
-
export interface TaskBoardColumnBaseProps {
|
|
15
|
-
/**
|
|
16
|
-
* The rendered column.
|
|
17
|
-
*/
|
|
18
|
-
column: TaskBoardColumnModel;
|
|
19
|
-
/**
|
|
20
|
-
* The rendered tasks.
|
|
21
|
-
*/
|
|
22
|
-
tasks: TaskBoardTaskModel[];
|
|
23
|
-
/**
|
|
24
|
-
* The rendered priorities.
|
|
25
|
-
*/
|
|
26
|
-
priorities: TaskBoardPriority[];
|
|
27
|
-
/**
|
|
28
|
-
* The applied styles.
|
|
29
|
-
*/
|
|
30
|
-
style?: React.CSSProperties;
|
|
31
|
-
/**
|
|
32
|
-
* Specifies the `tabIndex` that will be added to the TaskBoard Column and Card elements.
|
|
33
|
-
*/
|
|
34
|
-
tabIndex?: number;
|
|
35
|
-
/**
|
|
36
|
-
* Specifies the element reference.
|
|
37
|
-
*/
|
|
38
|
-
elementRef?: React.RefObject<HTMLDivElement>;
|
|
39
|
-
/**
|
|
40
|
-
* Specifies the width and height of the drag target reference.
|
|
41
|
-
*/
|
|
42
|
-
dragTargetRef?: React.RefObject<{
|
|
43
|
-
width: number;
|
|
44
|
-
height: number;
|
|
45
|
-
}>;
|
|
46
|
-
/**
|
|
47
|
-
* Fires when a task is created.
|
|
48
|
-
*/
|
|
49
|
-
onTaskCreate: (task: TaskBoardTaskModel) => void;
|
|
50
|
-
/**
|
|
51
|
-
* Fires when a task is edited.
|
|
52
|
-
*/
|
|
53
|
-
onTaskEdit: (task: TaskBoardTaskModel, prevTask: TaskBoardTaskModel) => void;
|
|
54
|
-
/**
|
|
55
|
-
* Fires when a task is deleted.
|
|
56
|
-
*/
|
|
57
|
-
onTaskDelete: (task: TaskBoardTaskModel) => void;
|
|
58
|
-
/**
|
|
59
|
-
* Fires when a column is changed.
|
|
60
|
-
*/
|
|
61
|
-
onColumnChange: (column: TaskBoardColumnModel, prevColumn: TaskBoardColumnModel) => void;
|
|
62
|
-
/**
|
|
63
|
-
* Determines the TaskBoardCard component.
|
|
64
|
-
*/
|
|
65
|
-
cardComponent: React.ComponentType<TaskBoardCardProps>;
|
|
66
|
-
/**
|
|
67
|
-
* Determines the TaskBoardColumn component.
|
|
68
|
-
*/
|
|
69
|
-
columnComponent: React.ComponentType<TaskBoardColumnProps>;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Represents the TaskBoardColumnBase component.
|
|
73
|
-
*
|
|
74
|
-
* @hidden
|
|
75
|
-
*/
|
|
76
|
-
export declare const TaskBoardColumnBase: {
|
|
77
|
-
(props: TaskBoardColumnBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
78
|
-
displayName: string;
|
|
79
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
/**
|
|
7
|
-
* Represents the props of the TaskBoardConfirmDialog component
|
|
8
|
-
*/
|
|
9
|
-
export interface TaskBoardConfirmDialogProps {
|
|
10
|
-
/**
|
|
11
|
-
* The dialog message.
|
|
12
|
-
*/
|
|
13
|
-
dialogMessage: React.ReactNode;
|
|
14
|
-
/**
|
|
15
|
-
* The dialog title.
|
|
16
|
-
*/
|
|
17
|
-
dialogTitle: string;
|
|
18
|
-
/**
|
|
19
|
-
* The dialog confirm button.
|
|
20
|
-
*/
|
|
21
|
-
dialogConfirmButton: React.ReactNode;
|
|
22
|
-
/**
|
|
23
|
-
* The dialog cancel button.
|
|
24
|
-
*/
|
|
25
|
-
dialogCancelButton: React.ReactNode;
|
|
26
|
-
/**
|
|
27
|
-
* The Close Button click event handler of the TaskBoardConfirmDialog component.
|
|
28
|
-
*/
|
|
29
|
-
onClose: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
30
|
-
/**
|
|
31
|
-
* The Confirm Button click event handler of the TaskBoardConfirmDialog component.
|
|
32
|
-
*/
|
|
33
|
-
onConfirm: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Represents the TaskBoardConfirmDialog component.
|
|
37
|
-
*/
|
|
38
|
-
export declare const TaskBoardConfirmDialog: React.FunctionComponent<TaskBoardConfirmDialogProps>;
|
package/TaskBoardEditCard.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as React from 'react';
|
|
6
|
-
import { TaskBoardTaskModel } from './TaskBoard';
|
|
7
|
-
import { TaskBoardAddCardProps } from './TaskBoardAddCard';
|
|
8
|
-
/**
|
|
9
|
-
* Represents the props of the TaskBoardEditCard component
|
|
10
|
-
*/
|
|
11
|
-
export interface TaskBoardEditCardProps extends TaskBoardAddCardProps {
|
|
12
|
-
/**
|
|
13
|
-
* Determines the task of the TaskBoardEditCard component.
|
|
14
|
-
*/
|
|
15
|
-
task: TaskBoardTaskModel;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Represents the TaskBoardEditCard component.
|
|
19
|
-
*/
|
|
20
|
-
export declare const TaskBoardEditCard: React.FunctionComponent<TaskBoardEditCardProps>;
|