@progress/kendo-react-taskboard 7.2.4-develop.2 → 7.2.4-develop.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.
Files changed (66) hide show
  1. package/TaskBoard.js +8 -0
  2. package/TaskBoard.mjs +239 -0
  3. package/TaskBoardAddCard.js +8 -0
  4. package/TaskBoardAddCard.mjs +43 -0
  5. package/TaskBoardCardBase.js +8 -0
  6. package/TaskBoardCardBase.mjs +106 -0
  7. package/TaskBoardColumnBase.js +8 -0
  8. package/TaskBoardColumnBase.mjs +129 -0
  9. package/TaskBoardConfirmDialog.js +8 -0
  10. package/TaskBoardConfirmDialog.mjs +28 -0
  11. package/TaskBoardEditCard.js +8 -0
  12. package/TaskBoardEditCard.mjs +44 -0
  13. package/TaskBoardTaskEditPane.js +8 -0
  14. package/TaskBoardTaskEditPane.mjs +69 -0
  15. package/TaskBoardToolbar.js +8 -0
  16. package/TaskBoardToolbar.mjs +22 -0
  17. package/card/Card.js +8 -0
  18. package/card/Card.mjs +68 -0
  19. package/card/CardBody.js +8 -0
  20. package/card/CardBody.mjs +15 -0
  21. package/card/CardHeader.js +8 -0
  22. package/card/CardHeader.mjs +38 -0
  23. package/card/PreviewDialog.js +8 -0
  24. package/card/PreviewDialog.mjs +16 -0
  25. package/column/Column.js +8 -0
  26. package/column/Column.mjs +72 -0
  27. package/column/ColumnBody.js +8 -0
  28. package/column/ColumnBody.mjs +14 -0
  29. package/column/ColumnHeader.js +8 -0
  30. package/column/ColumnHeader.mjs +56 -0
  31. package/constants.js +8 -0
  32. package/constants.mjs +16 -0
  33. package/dist/cdn/js/kendo-react-taskboard.js +8 -5
  34. package/hooks/taskEditing.js +8 -0
  35. package/hooks/taskEditing.mjs +25 -0
  36. package/index.d.mts +839 -5
  37. package/index.d.ts +839 -18
  38. package/index.js +8 -5
  39. package/index.mjs +35 -829
  40. package/messages/index.js +8 -0
  41. package/messages/index.mjs +71 -0
  42. package/package-metadata.js +8 -0
  43. package/package-metadata.mjs +19 -0
  44. package/package.json +12 -12
  45. package/utils.js +8 -0
  46. package/utils.mjs +50 -0
  47. package/TaskBoard.d.ts +0 -149
  48. package/TaskBoardAddCard.d.ts +0 -32
  49. package/TaskBoardCardBase.d.ts +0 -63
  50. package/TaskBoardColumnBase.d.ts +0 -79
  51. package/TaskBoardConfirmDialog.d.ts +0 -38
  52. package/TaskBoardEditCard.d.ts +0 -20
  53. package/TaskBoardTaskEditPane.d.ts +0 -93
  54. package/TaskBoardToolbar.d.ts +0 -26
  55. package/card/Card.d.ts +0 -145
  56. package/card/CardBody.d.ts +0 -23
  57. package/card/CardHeader.d.ts +0 -57
  58. package/card/PreviewDialog.d.ts +0 -51
  59. package/column/Column.d.ts +0 -162
  60. package/column/ColumnBody.d.ts +0 -18
  61. package/column/ColumnHeader.d.ts +0 -56
  62. package/constants.d.ts +0 -24
  63. package/hooks/taskEditing.d.ts +0 -23
  64. package/messages/index.d.ts +0 -154
  65. package/package-metadata.d.ts +0 -9
  66. package/utils.d.ts +0 -29
@@ -1,93 +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 { DropDownListChangeEvent } from '@progress/kendo-react-dropdowns';
7
- import { InputChangeEvent } from '@progress/kendo-react-inputs';
8
- import { TaskBoardPriority, TaskBoardTaskModel } from './TaskBoard';
9
- /**
10
- * Represents the props of the TaskBoardTaskEditPane component
11
- */
12
- export interface TaskBoardTaskEditPaneProps {
13
- /**
14
- * Represents the rendered header of the TaskBoardTaskEditPane.
15
- */
16
- header: string;
17
- /**
18
- * Represents the save button of the TaskBoardTaskEditPane.
19
- */
20
- saveButton: React.ReactNode;
21
- /**
22
- * Represents the cancel button of the TaskBoardTaskEditPane.
23
- */
24
- cancelButton: React.ReactNode;
25
- /**
26
- * Represents the titleInput title of the TaskBoardTaskEditPane.
27
- */
28
- titleInputTitle: string;
29
- /**
30
- * Represents the descriptionInput title of the TaskBoardTaskEditPane.
31
- */
32
- descriptionInputTitle: string;
33
- /**
34
- * Represents the priorityDropDownTitle title of the TaskBoardTaskEditPane.
35
- */
36
- priorityDropDownTitle: string;
37
- /**
38
- * Represents the title label of the TaskBoardTaskEditPane.
39
- */
40
- titleLabel: React.ReactNode;
41
- /**
42
- * Represents the description label of the TaskBoardTaskEditPane.
43
- */
44
- descriptionLabel: React.ReactNode;
45
- /**
46
- * Represents the priority label of the TaskBoardTaskEditPane.
47
- */
48
- priorityLabel: React.ReactNode;
49
- /**
50
- * Represents the rendered task of the TaskBoardTaskEditPane.
51
- */
52
- task?: TaskBoardTaskModel;
53
- /**
54
- * Determines the priority.
55
- */
56
- priority: TaskBoardPriority;
57
- /**
58
- * Determines the rendered priorities.
59
- */
60
- priorities: TaskBoardPriority[];
61
- /**
62
- * Represents the title of the TaskBoardTaskEditPane.
63
- */
64
- title: string;
65
- /**
66
- * The rendered description.
67
- */
68
- description: string;
69
- /**
70
- * Fires when Save button is clicked.
71
- */
72
- onSave: (event: React.MouseEvent<HTMLButtonElement>) => void;
73
- /**
74
- * Fires when Cancel button is clicked.
75
- */
76
- onClose: (event: React.MouseEvent<HTMLButtonElement>) => void;
77
- /**
78
- * Fires when a title is changed.
79
- */
80
- onTitleChange: (event: InputChangeEvent) => void;
81
- /**
82
- * Fires when a description is changed.
83
- */
84
- onDescriptionChange: (event: InputChangeEvent) => void;
85
- /**
86
- * Fires when a priority has been changed.
87
- */
88
- onPriorityChange: (event: DropDownListChangeEvent) => void;
89
- }
90
- /**
91
- * Represents the TaskBoardTaskEditPane component.
92
- */
93
- export declare const TaskBoardTaskEditPane: React.FunctionComponent<TaskBoardTaskEditPaneProps>;
@@ -1,26 +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 TaskBoardToolbar component
8
- */
9
- export interface TaskBoardToolbarProps {
10
- /**
11
- * The React elements that will be rendered inside the toolbar of the TaskBoard.
12
- */
13
- children?: any;
14
- /**
15
- * Specifies a list of CSS classes that will be added to the TaskBoardToolbar element.
16
- */
17
- className?: string | Array<string>;
18
- /**
19
- * Represents the styles that are applied to the TaskBoardToolbar.
20
- */
21
- style?: React.CSSProperties;
22
- }
23
- /**
24
- * Represents the TaskBoardToolbar component.
25
- */
26
- export declare const TaskBoardToolbar: React.FunctionComponent<TaskBoardToolbarProps>;
package/card/Card.d.ts DELETED
@@ -1,145 +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 { CardProps, CardHandle, MenuSelectEvent } from '@progress/kendo-react-layout';
7
- import { TaskBoardConfirmDialogProps } from '../TaskBoardConfirmDialog';
8
- import { TaskBoardCardHeaderProps } from './CardHeader';
9
- import { TaskBoardCardBodyProps } from './CardBody';
10
- import { TaskBoardPreviewDialogProps } from './PreviewDialog';
11
- import { TaskBoardTaskModel } from '../TaskBoard';
12
- import { Popup } from '@progress/kendo-react-popup';
13
- /**
14
- * Represents the props of the TaskBoardCard component.
15
- */
16
- export interface TaskBoardCardProps {
17
- /**
18
- * The rendered task.
19
- */
20
- task: TaskBoardTaskModel;
21
- /**
22
- * The applied styles.
23
- */
24
- style?: React.CSSProperties;
25
- /**
26
- * Specifies the `tabIndex` that will be added to the TaskBoard Card element.
27
- */
28
- tabIndex?: number;
29
- /**
30
- * The disabled state.
31
- */
32
- disabled?: boolean;
33
- /**
34
- * Specifies the CardHandle reference.
35
- */
36
- elementRef?: React.RefObject<CardHandle>;
37
- /**
38
- * Determines the menu visibility.
39
- */
40
- showMenu: boolean;
41
- /**
42
- * Determines the visibility of the task's delete confirmation dialog.
43
- */
44
- showDeleteConfirm: boolean;
45
- /**
46
- * Determines the visibility of the task's preview pane.
47
- */
48
- showTaskPreviewPane: boolean;
49
- /**
50
- * Represents the menu items.
51
- */
52
- menuItems: any[];
53
- /**
54
- * Represents the popup reference.
55
- */
56
- popupRef: React.RefObject<Popup>;
57
- /**
58
- * Represents the content of the TaskBoardConfirmDialog component.
59
- */
60
- confirmDialogMessage: React.ReactNode;
61
- /**
62
- * Represents the title of the TaskBoardConfirmDialog component.
63
- */
64
- confirmDialogTitle: string;
65
- /**
66
- * Represents the content of the confirm button of the TaskBoardConfirmDialog component.
67
- */
68
- confirmDialogConfirmButton: React.ReactNode;
69
- /**
70
- * Represents the content of the cancel button of the TaskBoardConfirmDialog component.
71
- */
72
- confirmDialogCancelButton: React.ReactNode;
73
- /**
74
- * Represents the priority label in the preview dialog.
75
- */
76
- previewDialogPriorityLabel: string;
77
- /**
78
- * Represents the preview dialog delete node.
79
- */
80
- previewDialogDelete: React.ReactNode;
81
- /**
82
- * Represents the preview dialog edit node.
83
- */
84
- previewDialogEdit: React.ReactNode;
85
- /**
86
- * Fires when the preview pane needs to be shown.
87
- */
88
- onShowPreviewPane: (event: React.MouseEvent<HTMLElement>) => void;
89
- /**
90
- * Fires when the preview pane needs to be closed.
91
- */
92
- onClosePreviewPane: (event: React.MouseEvent<HTMLElement>) => void;
93
- /**
94
- * Fires on menu item selection.
95
- */
96
- onMenuItemSelect: (event: MenuSelectEvent) => void;
97
- /**
98
- * Fires when the menu needs to be shown.
99
- */
100
- onShowMenu: (event: React.MouseEvent<HTMLButtonElement>) => void;
101
- /**
102
- * Fires when the menu needs to be hidden.
103
- */
104
- onHideMenu: (event: React.MouseEvent<HTMLButtonElement>) => void;
105
- /**
106
- * Fires on blur of the menu button.
107
- */
108
- onMenuButtonBlur: (event: React.FocusEvent<HTMLButtonElement>) => void;
109
- /**
110
- * Fires when task's delete button is clicked.
111
- */
112
- onTaskDelete: (event: React.MouseEvent<HTMLButtonElement>) => void;
113
- /**
114
- * Fires when task's edit button is clicked.
115
- */
116
- onTaskEdit: (event: React.MouseEvent<HTMLButtonElement>) => void;
117
- /**
118
- * The Close Button click event handler of the TaskBoardConfirmDialog component.
119
- */
120
- onCloseConfirmDialog: (event: React.MouseEvent<HTMLButtonElement>) => void;
121
- /**
122
- * Represents the Card component.
123
- */
124
- card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<CardHandle | null>>;
125
- /**
126
- * Represents the TaskBoardCardHeader component.
127
- */
128
- cardHeader: React.ComponentType<TaskBoardCardHeaderProps>;
129
- /**
130
- * Represents the TaskBoardCardBody component.
131
- */
132
- cardBody: React.ComponentType<TaskBoardCardBodyProps>;
133
- /**
134
- * Represents the TaskBoardConfirmDialog component.
135
- */
136
- confirmDialog: React.ComponentType<TaskBoardConfirmDialogProps>;
137
- /**
138
- * Represents the TaskBoardPreviewDialog component.
139
- */
140
- previewDialog: React.ComponentType<TaskBoardPreviewDialogProps>;
141
- }
142
- /**
143
- * Represents the TaskBoardCard component.
144
- */
145
- export declare const TaskBoardCard: React.FunctionComponent<TaskBoardCardProps>;
@@ -1,23 +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
- /**
8
- * Represents the props of the TaskBoardCardBody component.
9
- */
10
- export interface TaskBoardCardBodyProps {
11
- /**
12
- * Determines the children nodes.
13
- */
14
- children: React.ReactNode;
15
- /**
16
- * Determines the TaskBoardTask.
17
- */
18
- task: TaskBoardTaskModel;
19
- }
20
- /**
21
- * Represents the TaskBoardCardBody component.
22
- */
23
- export declare const TaskBoardCardBody: React.FunctionComponent<TaskBoardCardBodyProps>;
@@ -1,57 +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 { MenuSelectEvent } from '@progress/kendo-react-layout';
7
- import { Popup } from '@progress/kendo-react-popup';
8
- import { TaskBoardTaskModel } from '../TaskBoard';
9
- /**
10
- * Represents the props of the TaskBoardCardHeader component.
11
- */
12
- export interface TaskBoardCardHeaderProps {
13
- /**
14
- * Determines the visibility of the show menu.
15
- */
16
- showMenu: boolean;
17
- /**
18
- * Represents the menu items.
19
- */
20
- menuItems: any[];
21
- /**
22
- * Specifies the popup reference.
23
- */
24
- popupRef: React.RefObject<Popup>;
25
- /**
26
- * The rendered title.
27
- */
28
- title: React.ReactNode;
29
- /**
30
- * The rendered task.
31
- */
32
- task: TaskBoardTaskModel;
33
- /**
34
- * Fires when the preview pane needs to be shown.
35
- */
36
- onShowPreviewPane: (event: React.MouseEvent<HTMLElement>) => void;
37
- /**
38
- * Fires when the menu needs to be shown.
39
- */
40
- onShowMenu: (event: React.MouseEvent<HTMLButtonElement>) => void;
41
- /**
42
- * Fires when the menu needs to be hidden.
43
- */
44
- onHideMenu: (event: React.MouseEvent<HTMLButtonElement>) => void;
45
- /**
46
- * Fires on blur of the menu button.
47
- */
48
- onMenuButtonBlur: (event: React.FocusEvent<HTMLButtonElement>) => void;
49
- /**
50
- * Fires when menu item is selected.
51
- */
52
- onMenuItemSelect: (event: MenuSelectEvent) => void;
53
- }
54
- /**
55
- * Represents the TaskBoardCardHeader component.
56
- */
57
- export declare const TaskBoardCardHeader: React.FunctionComponent<TaskBoardCardHeaderProps>;
@@ -1,51 +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 { TaskBoardPriority } from '../TaskBoard';
7
- /**
8
- * Represents the props of the TaskBoardPreviewDialog component.
9
- */
10
- export interface TaskBoardPreviewDialogProps {
11
- /**
12
- * The rendered title.
13
- */
14
- title: React.ReactNode;
15
- /**
16
- * The rendered description.
17
- */
18
- description: React.ReactNode;
19
- /**
20
- * Represents the priority label of the TaskBoardPreviewDialog.
21
- */
22
- priorityLabel: React.ReactNode;
23
- /**
24
- * Determines the content of the delete button.
25
- */
26
- delete: React.ReactNode;
27
- /**
28
- * Determines the content of the edit button.
29
- */
30
- edit: React.ReactNode;
31
- /**
32
- * Represents the priority of the current task.
33
- */
34
- priority: TaskBoardPriority;
35
- /**
36
- * Fires when the preview pane needs to be shown.
37
- */
38
- onClosePreviewPane: (event: React.MouseEvent<HTMLButtonElement>) => void;
39
- /**
40
- * Fires when task is deleted.
41
- */
42
- onTaskDelete: (event: React.MouseEvent<HTMLButtonElement>) => void;
43
- /**
44
- * Fires when task is edited.
45
- */
46
- onTaskEdit: (event: React.MouseEvent<HTMLButtonElement>) => void;
47
- }
48
- /**
49
- * Represents the TaskBoardPreviewDialog component.
50
- */
51
- export declare const TaskBoardPreviewDialog: React.FunctionComponent<TaskBoardPreviewDialogProps>;
@@ -1,162 +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 { InputChangeEvent } from '@progress/kendo-react-inputs';
7
- import { TaskBoardAddCardProps } from './../TaskBoardAddCard';
8
- import { TaskBoardEditCardProps } from './../TaskBoardEditCard';
9
- import { TaskBoardConfirmDialogProps } from './../TaskBoardConfirmDialog';
10
- import { TaskBoardCardProps } from './../card/Card';
11
- import { TaskBoardColumnHeaderProps } from './ColumnHeader';
12
- import { TaskBoardColumnBodyProps } from './ColumnBody';
13
- import { TaskBoardColumnModel, TaskBoardPriority, TaskBoardTaskModel } from '../TaskBoard';
14
- /**
15
- * Represents the props of the TaskBoardColumn component
16
- */
17
- export interface TaskBoardColumnProps {
18
- /**
19
- * The column of the TaskBoard.
20
- */
21
- column: TaskBoardColumnModel;
22
- /**
23
- * The tasks of the TaskBoard.
24
- */
25
- tasks: TaskBoardTaskModel[];
26
- /**
27
- * The priorities that are set in the TaskBoard.
28
- */
29
- priorities: TaskBoardPriority[];
30
- /**
31
- * The styles for the TaskBoard.
32
- */
33
- style?: React.CSSProperties;
34
- /**
35
- * Specifies the `tabIndex` that will be added to the TaskBoard Column element.
36
- */
37
- tabIndex?: number;
38
- /**
39
- * Represents the reference of the element.
40
- */
41
- elementRef?: React.RefObject<HTMLDivElement>;
42
- /**
43
- * Determines the visibility of the add card.
44
- */
45
- showAddCard: boolean;
46
- /**
47
- * Determines the visibility of the edit card.
48
- */
49
- showEditCard: boolean;
50
- /**
51
- * Determines the visibility of the column confirm/delete.
52
- */
53
- showColumnConfirmDelete: boolean;
54
- /**
55
- * Specifies the edited task.
56
- */
57
- editedTask?: TaskBoardTaskModel;
58
- /**
59
- * Specifies the confirm dialog message
60
- */
61
- confirmDialogMessage: React.ReactNode;
62
- /**
63
- * Specifies the confirm dialog confirm button node.
64
- */
65
- confirmDialogConfirmButton: React.ReactNode;
66
- /**
67
- * Specifies the cancel dialog confirm button node.
68
- */
69
- confirmDialogCancelButton: React.ReactNode;
70
- /**
71
- * Specifies the confirm dialog title.
72
- */
73
- confirmDialogTitle: string;
74
- /**
75
- * Specifies the edit button title.
76
- */
77
- editButtonTitle: string;
78
- /**
79
- * Specifies the add button title.
80
- */
81
- addButtonTitle: string;
82
- /**
83
- * Specifies the close button title.
84
- */
85
- closeButtonTitle: string;
86
- /**
87
- * Determines the children nodes.
88
- */
89
- children: React.ReactNode;
90
- /**
91
- * Fire on task creation.
92
- */
93
- onTaskCreate: (task: TaskBoardTaskModel) => void;
94
- /**
95
- * Fires when task is edited.
96
- */
97
- onTaskEdit: (task: TaskBoardTaskModel, prevTask: TaskBoardTaskModel) => void;
98
- /**
99
- * Fires when task is deleted.
100
- */
101
- onTaskDelete: (task: TaskBoardTaskModel) => void;
102
- /**
103
- * Fires when title is changed.
104
- */
105
- onTitleChange?: (event: InputChangeEvent) => void;
106
- /**
107
- * Fires when column enters edit.
108
- */
109
- onColumnEnterEdit: (event: React.MouseEvent<HTMLButtonElement>) => void;
110
- /**
111
- * Fires when column exits edit.
112
- */
113
- onColumnExitEdit: (event: React.FocusEvent<HTMLInputElement>) => void;
114
- /**
115
- * Fires on confirmation of column deletion.
116
- */
117
- onColumnConfirmDelete: (event: React.MouseEvent<HTMLButtonElement>) => void;
118
- /**
119
- * Fires when the add card dialog is shown.
120
- */
121
- onShowAddCardDialog: (event: React.MouseEvent<HTMLButtonElement>) => void;
122
- /**
123
- * Fires when the edit card pane is shown.
124
- */
125
- onShowEditCardPane: (task: TaskBoardTaskModel) => void;
126
- /**
127
- * Fires on column deletion.
128
- */
129
- onColumnDelete: (event: React.MouseEvent<HTMLButtonElement>) => void;
130
- /**
131
- * The Close Button click event handler of the TaskBoardConfirmDialog component.
132
- */
133
- onCloseDialog: (event: React.MouseEvent<HTMLButtonElement>) => void;
134
- /**
135
- * Represents the TaskBoardCard component.
136
- */
137
- card: React.ComponentType<TaskBoardCardProps>;
138
- /**
139
- * Represents the TaskBoardColumnHeader component.
140
- */
141
- header: React.ComponentType<TaskBoardColumnHeaderProps>;
142
- /**
143
- * Represents the TaskBoardColumnBody component.
144
- */
145
- body: React.ComponentType<TaskBoardColumnBodyProps>;
146
- /**
147
- * Represents the TaskBoardConfirmDialog component.
148
- */
149
- confirmDialog: React.ComponentType<TaskBoardConfirmDialogProps>;
150
- /**
151
- * Represents the TaskBoardEditCard component.
152
- */
153
- editCardDialog: React.ComponentType<TaskBoardEditCardProps>;
154
- /**
155
- * Represents the TaskBoardAddCard component.
156
- */
157
- addCardDialog: React.ComponentType<TaskBoardAddCardProps>;
158
- }
159
- /**
160
- * Represents the TaskBoardColumn component.
161
- */
162
- export declare const TaskBoardColumn: React.FunctionComponent<TaskBoardColumnProps>;
@@ -1,18 +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 TaskBoardColumnBody component
8
- */
9
- export interface TaskBoardColumnBodyProps {
10
- /**
11
- * Determines the children nodes.
12
- */
13
- children: React.ReactNode;
14
- }
15
- /**
16
- * Represents the TaskBoardColumnBody component.
17
- */
18
- export declare const TaskBoardColumnBody: React.FunctionComponent<TaskBoardColumnBodyProps>;
@@ -1,56 +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 { InputChangeEvent } from '@progress/kendo-react-inputs';
7
- import { TaskBoardColumnModel, TaskBoardTaskModel } from '../TaskBoard';
8
- /**
9
- * Represents the props of the TaskBoardColumnHeader component.
10
- */
11
- export interface TaskBoardColumnHeaderProps {
12
- /**
13
- * The rendered column.
14
- */
15
- column: TaskBoardColumnModel;
16
- /**
17
- * The rendered tasks.
18
- */
19
- tasks: TaskBoardTaskModel[];
20
- /**
21
- * The title of the editButton.
22
- */
23
- editButtonTitle: string;
24
- /**
25
- * The title of the addButton.
26
- */
27
- addButtonTitle: string;
28
- /**
29
- * The title of the closeButton.
30
- */
31
- closeButtonTitle: string;
32
- /**
33
- * The event that is fired when the title is changed.
34
- */
35
- onTitleChange?: (event: InputChangeEvent) => void;
36
- /**
37
- * The event that is fired when a column enters edit mode.
38
- */
39
- onColumnEnterEdit: (event: React.MouseEvent<HTMLButtonElement>) => void;
40
- /**
41
- * The event that is fired when a column exits edit mode.
42
- */
43
- onColumnExitEdit: (event: React.FocusEvent<HTMLInputElement>) => void;
44
- /**
45
- * The event that is fired when a add card dialog is shown.
46
- */
47
- onShowAddCardDialog: (event: React.MouseEvent<HTMLButtonElement>) => void;
48
- /**
49
- * The event that is fired when a column is deleted.
50
- */
51
- onColumnDelete: (event: React.MouseEvent<HTMLButtonElement>) => void;
52
- }
53
- /**
54
- * Represents the TaskBoardColumnHeader component.
55
- */
56
- export declare const TaskBoardColumnHeader: React.FunctionComponent<TaskBoardColumnHeaderProps>;
package/constants.d.ts DELETED
@@ -1,24 +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
- /**
6
- * @hidden
7
- */
8
- export declare const TASKBOARD_ITEM_TYPE = "data-taskboard-type";
9
- /**
10
- * @hidden
11
- */
12
- export declare const TASKBOARD_ITEM_ID = "data-taskboard-id";
13
- /**
14
- * @hidden
15
- */
16
- export declare const TASKBOARD_PLACEHOLDER = "data-taskboard-placeholder";
17
- /**
18
- * @hidden
19
- */
20
- export declare const TASKBOARD_COLUMN = "column";
21
- /**
22
- * @hidden
23
- */
24
- export declare const TASKBOARD_TASK = "task";
@@ -1,23 +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 { DropDownListChangeEvent } from '@progress/kendo-react-dropdowns';
7
- import { InputChangeEvent } from '@progress/kendo-react-inputs';
8
- import { TaskBoardPriority, TaskBoardTaskModel } from '../TaskBoard';
9
- export interface TaskEditingResult {
10
- onTitleChange: (event: InputChangeEvent) => void;
11
- title: string;
12
- onDescriptionChange: (event: InputChangeEvent) => void;
13
- description: string;
14
- onPriorityChange: (event: DropDownListChangeEvent) => void;
15
- priority: TaskBoardPriority;
16
- onSave: (event: React.MouseEvent<HTMLButtonElement>) => void;
17
- }
18
- export interface TaskEditingProps {
19
- task?: TaskBoardTaskModel;
20
- priorities: TaskBoardPriority[];
21
- onSave: (task: TaskBoardTaskModel, prevTask: TaskBoardTaskModel) => void;
22
- }
23
- export declare const useTaskEditing: ({ onSave, task, priorities }: TaskEditingProps) => TaskEditingResult;