@primeui/vue-taskboard 0.0.1-alpha.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.
Files changed (79) hide show
  1. package/LICENSE +23 -0
  2. package/dist/TaskBoard.context.d.mts +235 -0
  3. package/dist/TaskBoard.context.d.ts +235 -0
  4. package/dist/TaskBoard.parts.d.mts +20 -0
  5. package/dist/TaskBoard.parts.d.ts +20 -0
  6. package/dist/TaskBoard.vue.d.mts +291 -0
  7. package/dist/TaskBoard.vue.d.ts +291 -0
  8. package/dist/TaskBoardContent.vue.d.mts +27 -0
  9. package/dist/TaskBoardContent.vue.d.ts +27 -0
  10. package/dist/TaskBoardHeader.vue.d.mts +18 -0
  11. package/dist/TaskBoardHeader.vue.d.ts +18 -0
  12. package/dist/TaskBoardLoading.vue.d.mts +13 -0
  13. package/dist/TaskBoardLoading.vue.d.ts +13 -0
  14. package/dist/chunks/useTaskBoardDrag-ByZvmcfw.mjs +590 -0
  15. package/dist/components/card/TaskBoardCard.vue.d.mts +23 -0
  16. package/dist/components/card/TaskBoardCard.vue.d.ts +23 -0
  17. package/dist/components/card/TaskBoardCardAdd.vue.d.mts +15 -0
  18. package/dist/components/card/TaskBoardCardAdd.vue.d.ts +15 -0
  19. package/dist/components/card/TaskBoardCardContent.vue.d.mts +18 -0
  20. package/dist/components/card/TaskBoardCardContent.vue.d.ts +18 -0
  21. package/dist/components/card/TaskBoardCardFooter.vue.d.mts +18 -0
  22. package/dist/components/card/TaskBoardCardFooter.vue.d.ts +18 -0
  23. package/dist/components/card/TaskBoardCardHeader.vue.d.mts +18 -0
  24. package/dist/components/card/TaskBoardCardHeader.vue.d.ts +18 -0
  25. package/dist/components/column/TaskBoardColumn.vue.d.mts +19 -0
  26. package/dist/components/column/TaskBoardColumn.vue.d.ts +19 -0
  27. package/dist/components/column/TaskBoardColumnAdd.vue.d.mts +13 -0
  28. package/dist/components/column/TaskBoardColumnAdd.vue.d.ts +13 -0
  29. package/dist/components/column/TaskBoardColumnContent.vue.d.mts +20 -0
  30. package/dist/components/column/TaskBoardColumnContent.vue.d.ts +20 -0
  31. package/dist/components/column/TaskBoardColumnEmpty.vue.d.mts +13 -0
  32. package/dist/components/column/TaskBoardColumnEmpty.vue.d.ts +13 -0
  33. package/dist/components/column/TaskBoardColumnFooter.vue.d.mts +16 -0
  34. package/dist/components/column/TaskBoardColumnFooter.vue.d.ts +16 -0
  35. package/dist/components/column/TaskBoardColumnHeader.vue.d.mts +19 -0
  36. package/dist/components/column/TaskBoardColumnHeader.vue.d.ts +19 -0
  37. package/dist/components/overlay/TaskBoardDragConfirm.vue.d.mts +20 -0
  38. package/dist/components/overlay/TaskBoardDragConfirm.vue.d.ts +20 -0
  39. package/dist/components/overlay/TaskBoardDragPreview.vue.d.mts +16 -0
  40. package/dist/components/overlay/TaskBoardDragPreview.vue.d.ts +16 -0
  41. package/dist/components/overlay/TaskBoardDropIndicator.d.mts +2 -0
  42. package/dist/components/overlay/TaskBoardDropIndicator.d.ts +2 -0
  43. package/dist/components/swimlane/TaskBoardSwimlaneColumnHeader.vue.d.mts +20 -0
  44. package/dist/components/swimlane/TaskBoardSwimlaneColumnHeader.vue.d.ts +20 -0
  45. package/dist/components/swimlane/TaskBoardSwimlaneHeader.vue.d.mts +22 -0
  46. package/dist/components/swimlane/TaskBoardSwimlaneHeader.vue.d.ts +22 -0
  47. package/dist/composables/index.d.mts +9 -0
  48. package/dist/composables/index.d.ts +9 -0
  49. package/dist/composables/index.mjs +12 -0
  50. package/dist/composables/useCardDrag.d.mts +47 -0
  51. package/dist/composables/useCardDrag.d.ts +47 -0
  52. package/dist/composables/useCardDragGeometry.d.mts +21 -0
  53. package/dist/composables/useCardDragGeometry.d.ts +21 -0
  54. package/dist/composables/useColumnDrag.d.mts +24 -0
  55. package/dist/composables/useColumnDrag.d.ts +24 -0
  56. package/dist/composables/useControllerInit.d.mts +64 -0
  57. package/dist/composables/useControllerInit.d.ts +64 -0
  58. package/dist/composables/useHistory.d.mts +15 -0
  59. package/dist/composables/useHistory.d.ts +15 -0
  60. package/dist/composables/useKeyboardHandling.d.mts +37 -0
  61. package/dist/composables/useKeyboardHandling.d.ts +37 -0
  62. package/dist/composables/useTaskBoardAccess.d.mts +9 -0
  63. package/dist/composables/useTaskBoardAccess.d.ts +9 -0
  64. package/dist/composables/useTaskBoardDrag.d.mts +14 -0
  65. package/dist/composables/useTaskBoardDrag.d.ts +14 -0
  66. package/dist/composables/useTaskBoardHistory.d.mts +6 -0
  67. package/dist/composables/useTaskBoardHistory.d.ts +6 -0
  68. package/dist/composables/useTaskBoardPrintRuntime.d.mts +7 -0
  69. package/dist/composables/useTaskBoardPrintRuntime.d.ts +7 -0
  70. package/dist/composables/useTaskBoardSelection.d.mts +11 -0
  71. package/dist/composables/useTaskBoardSelection.d.ts +11 -0
  72. package/dist/composables/useTaskBoardWorkflow.d.mts +8 -0
  73. package/dist/composables/useTaskBoardWorkflow.d.ts +8 -0
  74. package/dist/index.d.mts +29 -0
  75. package/dist/index.d.ts +29 -0
  76. package/dist/index.mjs +1654 -0
  77. package/dist/release-date.d.mts +11 -0
  78. package/dist/release-date.d.ts +11 -0
  79. package/package.json +57 -0
@@ -0,0 +1,291 @@
1
+ import { type BoardStateSnapshot } from '@primeui/taskboard-core';
2
+ import type { TaskBoardAccess, TaskBoardColumn, TaskBoardColumnGroup, TaskBoardDensity, TaskBoardFeatures, TaskBoardSelectionMode, TaskBoardSwimlane, TaskBoardItem } from '@primeui/taskboard-types';
3
+ import { type CardMovePayload } from './composables/useControllerInit';
4
+ interface Props {
5
+ columns?: TaskBoardColumn[];
6
+ swimlanes?: TaskBoardSwimlane[];
7
+ draggable?: boolean;
8
+ selectionMode?: TaskBoardSelectionMode;
9
+ contextMenu?: boolean;
10
+ density?: TaskBoardDensity;
11
+ features?: TaskBoardFeatures;
12
+ rtl?: boolean;
13
+ disabled?: boolean;
14
+ readonly?: boolean;
15
+ columnWidth?: number | string;
16
+ cardGap?: number;
17
+ scrollable?: boolean;
18
+ dragMinDistance?: number;
19
+ columnCollapsible?: boolean;
20
+ columnReorderable?: boolean;
21
+ columnGroups?: TaskBoardColumnGroup[];
22
+ virtualScroll?: boolean;
23
+ virtualScrollItemHeight?: number;
24
+ virtualScrollBuffer?: number;
25
+ access?: TaskBoardAccess;
26
+ items?: any[];
27
+ dataKey: string;
28
+ columnField: string;
29
+ swimlaneField?: string;
30
+ }
31
+ type __VLS_Props = Props;
32
+ type __VLS_ModelProps = {
33
+ 'tasks'?: TaskBoardItem[];
34
+ };
35
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
36
+ declare var __VLS_1: {}, __VLS_9: {
37
+ item: TaskBoardItem;
38
+ count: number;
39
+ };
40
+ type __VLS_Slots = {} & {
41
+ default?: (props: typeof __VLS_1) => any;
42
+ } & {
43
+ 'drag-preview'?: (props: typeof __VLS_9) => any;
44
+ };
45
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
46
+ getColumns: () => TaskBoardColumn[];
47
+ getColumnById: (id: string | number) => TaskBoardColumn | undefined;
48
+ getTasks: () => TaskBoardItem[];
49
+ getTaskById: (id: string | number) => TaskBoardItem | undefined;
50
+ getTasksByColumn: (columnId: string | number) => TaskBoardItem[];
51
+ getSelectedCardIds: () => (string | number)[];
52
+ getSelectedCards: () => TaskBoardItem[];
53
+ setSelectedCards: (ids: (string | number)[]) => void;
54
+ clearSelection: () => void;
55
+ addTask: (task: TaskBoardItem) => void;
56
+ updateTask: (task: TaskBoardItem) => void;
57
+ removeTask: (id: string | number) => void;
58
+ moveTask: (taskId: string | number, columnId: string | number, index?: number, swimlaneId?: string | number) => void;
59
+ collapseColumn: (id: string | number) => void | undefined;
60
+ expandColumn: (id: string | number) => void | undefined;
61
+ toggleColumn: (id: string | number) => void | undefined;
62
+ collapseSwimlane: (id: string | number) => void | undefined;
63
+ expandSwimlane: (id: string | number) => void | undefined;
64
+ toggleSwimlane: (id: string | number) => void | undefined;
65
+ scrollToColumn: (id: string | number, options?: {
66
+ behavior?: ScrollBehavior;
67
+ }) => void;
68
+ scrollToCard: (id: string | number, options?: {
69
+ behavior?: ScrollBehavior;
70
+ block?: ScrollLogicalPosition;
71
+ }) => void;
72
+ undo: () => void;
73
+ redo: () => void;
74
+ canUndo: () => boolean;
75
+ canRedo: () => boolean;
76
+ clearHistory: () => void | undefined;
77
+ exportToJSON: () => string;
78
+ exportToCSV: (options?: any) => string;
79
+ downloadJSON: () => void;
80
+ downloadCSV: (options?: any) => void;
81
+ print: () => void;
82
+ serializeState: () => BoardStateSnapshot;
83
+ restoreState: (snapshot: Partial<BoardStateSnapshot>) => void;
84
+ licenseValid: () => boolean;
85
+ licenseMessage: () => string | null;
86
+ getAuditLog: () => import("@primeui/taskboard-core").AuditEntry[];
87
+ clearAuditLog: () => void;
88
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
89
+ cardMove: (payload: CardMovePayload) => any;
90
+ cardClick: (payload: {
91
+ card: TaskBoardItem;
92
+ column: TaskBoardColumn;
93
+ jsEvent: MouseEvent;
94
+ }) => any;
95
+ cardDblclick: (payload: {
96
+ card: TaskBoardItem;
97
+ column: TaskBoardColumn;
98
+ jsEvent: MouseEvent;
99
+ }) => any;
100
+ cardActivate: (payload: {
101
+ card: TaskBoardItem;
102
+ column: TaskBoardColumn;
103
+ origin: "keyboard" | "pointer";
104
+ jsEvent?: MouseEvent;
105
+ }) => any;
106
+ cardSelect: (payload: {
107
+ card: TaskBoardItem;
108
+ selected: boolean;
109
+ }) => any;
110
+ selectionChange: (payload: {
111
+ selectedIds: (string | number)[];
112
+ cards: TaskBoardItem[];
113
+ }) => any;
114
+ cardCreate: (payload: {
115
+ card: TaskBoardItem;
116
+ column: TaskBoardColumn;
117
+ }) => any;
118
+ cardUpdate: (payload: {
119
+ card: TaskBoardItem;
120
+ oldCard: TaskBoardItem;
121
+ }) => any;
122
+ cardDelete: (payload: {
123
+ card: TaskBoardItem;
124
+ column: TaskBoardColumn;
125
+ }) => any;
126
+ columnCollapse: (payload: {
127
+ column: TaskBoardColumn;
128
+ collapsed: boolean;
129
+ }) => any;
130
+ columnReorder: (payload: {
131
+ columns: TaskBoardColumn[];
132
+ oldIndex: number;
133
+ newIndex: number;
134
+ }) => any;
135
+ swimlaneCollapse: (payload: {
136
+ swimlane: TaskBoardSwimlane;
137
+ collapsed: boolean;
138
+ }) => any;
139
+ dragStart: (payload: {
140
+ card: TaskBoardItem;
141
+ column: TaskBoardColumn;
142
+ jsEvent: MouseEvent | TouchEvent;
143
+ }) => any;
144
+ dragEnd: (payload: {
145
+ card: TaskBoardItem;
146
+ oldColumn: TaskBoardColumn;
147
+ newColumn: TaskBoardColumn;
148
+ oldIndex: number;
149
+ newIndex: number;
150
+ }) => any;
151
+ cardContextMenu: (payload: {
152
+ card: TaskBoardItem;
153
+ column: TaskBoardColumn;
154
+ position: {
155
+ x: number;
156
+ y: number;
157
+ };
158
+ jsEvent: MouseEvent;
159
+ }) => any;
160
+ cardDropBlocked: (payload: {
161
+ task: TaskBoardItem;
162
+ targetColumn: TaskBoardColumn;
163
+ reason: string;
164
+ message: string;
165
+ failedFields?: string[];
166
+ }) => any;
167
+ dragCancel: (payload: {
168
+ card: TaskBoardItem;
169
+ column: TaskBoardColumn;
170
+ }) => any;
171
+ cardReorder: (payload: {
172
+ card: TaskBoardItem;
173
+ columnValue: string | number;
174
+ oldIndex: number;
175
+ newIndex: number;
176
+ }) => any;
177
+ "update:tasks": (value: TaskBoardItem[]) => any;
178
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
179
+ onCardMove?: ((payload: CardMovePayload) => any) | undefined;
180
+ onCardClick?: ((payload: {
181
+ card: TaskBoardItem;
182
+ column: TaskBoardColumn;
183
+ jsEvent: MouseEvent;
184
+ }) => any) | undefined;
185
+ onCardDblclick?: ((payload: {
186
+ card: TaskBoardItem;
187
+ column: TaskBoardColumn;
188
+ jsEvent: MouseEvent;
189
+ }) => any) | undefined;
190
+ onCardActivate?: ((payload: {
191
+ card: TaskBoardItem;
192
+ column: TaskBoardColumn;
193
+ origin: "keyboard" | "pointer";
194
+ jsEvent?: MouseEvent;
195
+ }) => any) | undefined;
196
+ onCardSelect?: ((payload: {
197
+ card: TaskBoardItem;
198
+ selected: boolean;
199
+ }) => any) | undefined;
200
+ onSelectionChange?: ((payload: {
201
+ selectedIds: (string | number)[];
202
+ cards: TaskBoardItem[];
203
+ }) => any) | undefined;
204
+ onCardCreate?: ((payload: {
205
+ card: TaskBoardItem;
206
+ column: TaskBoardColumn;
207
+ }) => any) | undefined;
208
+ onCardUpdate?: ((payload: {
209
+ card: TaskBoardItem;
210
+ oldCard: TaskBoardItem;
211
+ }) => any) | undefined;
212
+ onCardDelete?: ((payload: {
213
+ card: TaskBoardItem;
214
+ column: TaskBoardColumn;
215
+ }) => any) | undefined;
216
+ onColumnCollapse?: ((payload: {
217
+ column: TaskBoardColumn;
218
+ collapsed: boolean;
219
+ }) => any) | undefined;
220
+ onColumnReorder?: ((payload: {
221
+ columns: TaskBoardColumn[];
222
+ oldIndex: number;
223
+ newIndex: number;
224
+ }) => any) | undefined;
225
+ onSwimlaneCollapse?: ((payload: {
226
+ swimlane: TaskBoardSwimlane;
227
+ collapsed: boolean;
228
+ }) => any) | undefined;
229
+ onDragStart?: ((payload: {
230
+ card: TaskBoardItem;
231
+ column: TaskBoardColumn;
232
+ jsEvent: MouseEvent | TouchEvent;
233
+ }) => any) | undefined;
234
+ onDragEnd?: ((payload: {
235
+ card: TaskBoardItem;
236
+ oldColumn: TaskBoardColumn;
237
+ newColumn: TaskBoardColumn;
238
+ oldIndex: number;
239
+ newIndex: number;
240
+ }) => any) | undefined;
241
+ onCardContextMenu?: ((payload: {
242
+ card: TaskBoardItem;
243
+ column: TaskBoardColumn;
244
+ position: {
245
+ x: number;
246
+ y: number;
247
+ };
248
+ jsEvent: MouseEvent;
249
+ }) => any) | undefined;
250
+ onCardDropBlocked?: ((payload: {
251
+ task: TaskBoardItem;
252
+ targetColumn: TaskBoardColumn;
253
+ reason: string;
254
+ message: string;
255
+ failedFields?: string[];
256
+ }) => any) | undefined;
257
+ onDragCancel?: ((payload: {
258
+ card: TaskBoardItem;
259
+ column: TaskBoardColumn;
260
+ }) => any) | undefined;
261
+ onCardReorder?: ((payload: {
262
+ card: TaskBoardItem;
263
+ columnValue: string | number;
264
+ oldIndex: number;
265
+ newIndex: number;
266
+ }) => any) | undefined;
267
+ "onUpdate:tasks"?: ((value: TaskBoardItem[]) => any) | undefined;
268
+ }>, {
269
+ draggable: boolean;
270
+ columns: TaskBoardColumn[];
271
+ swimlanes: TaskBoardSwimlane[];
272
+ selectionMode: TaskBoardSelectionMode;
273
+ contextMenu: boolean;
274
+ density: TaskBoardDensity;
275
+ disabled: boolean;
276
+ readonly: boolean;
277
+ scrollable: boolean;
278
+ columnCollapsible: boolean;
279
+ columnReorderable: boolean;
280
+ virtualScroll: boolean;
281
+ virtualScrollItemHeight: number;
282
+ virtualScrollBuffer: number;
283
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
284
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
285
+ declare const _default: typeof __VLS_export;
286
+ export default _default;
287
+ type __VLS_WithSlots<T, S> = T & {
288
+ new (): {
289
+ $slots: S;
290
+ };
291
+ };
@@ -0,0 +1,291 @@
1
+ import { type BoardStateSnapshot } from '@primeui/taskboard-core';
2
+ import type { TaskBoardAccess, TaskBoardColumn, TaskBoardColumnGroup, TaskBoardDensity, TaskBoardFeatures, TaskBoardSelectionMode, TaskBoardSwimlane, TaskBoardItem } from '@primeui/taskboard-types';
3
+ import { type CardMovePayload } from './composables/useControllerInit';
4
+ interface Props {
5
+ columns?: TaskBoardColumn[];
6
+ swimlanes?: TaskBoardSwimlane[];
7
+ draggable?: boolean;
8
+ selectionMode?: TaskBoardSelectionMode;
9
+ contextMenu?: boolean;
10
+ density?: TaskBoardDensity;
11
+ features?: TaskBoardFeatures;
12
+ rtl?: boolean;
13
+ disabled?: boolean;
14
+ readonly?: boolean;
15
+ columnWidth?: number | string;
16
+ cardGap?: number;
17
+ scrollable?: boolean;
18
+ dragMinDistance?: number;
19
+ columnCollapsible?: boolean;
20
+ columnReorderable?: boolean;
21
+ columnGroups?: TaskBoardColumnGroup[];
22
+ virtualScroll?: boolean;
23
+ virtualScrollItemHeight?: number;
24
+ virtualScrollBuffer?: number;
25
+ access?: TaskBoardAccess;
26
+ items?: any[];
27
+ dataKey: string;
28
+ columnField: string;
29
+ swimlaneField?: string;
30
+ }
31
+ type __VLS_Props = Props;
32
+ type __VLS_ModelProps = {
33
+ 'tasks'?: TaskBoardItem[];
34
+ };
35
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
36
+ declare var __VLS_1: {}, __VLS_9: {
37
+ item: TaskBoardItem;
38
+ count: number;
39
+ };
40
+ type __VLS_Slots = {} & {
41
+ default?: (props: typeof __VLS_1) => any;
42
+ } & {
43
+ 'drag-preview'?: (props: typeof __VLS_9) => any;
44
+ };
45
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
46
+ getColumns: () => TaskBoardColumn[];
47
+ getColumnById: (id: string | number) => TaskBoardColumn | undefined;
48
+ getTasks: () => TaskBoardItem[];
49
+ getTaskById: (id: string | number) => TaskBoardItem | undefined;
50
+ getTasksByColumn: (columnId: string | number) => TaskBoardItem[];
51
+ getSelectedCardIds: () => (string | number)[];
52
+ getSelectedCards: () => TaskBoardItem[];
53
+ setSelectedCards: (ids: (string | number)[]) => void;
54
+ clearSelection: () => void;
55
+ addTask: (task: TaskBoardItem) => void;
56
+ updateTask: (task: TaskBoardItem) => void;
57
+ removeTask: (id: string | number) => void;
58
+ moveTask: (taskId: string | number, columnId: string | number, index?: number, swimlaneId?: string | number) => void;
59
+ collapseColumn: (id: string | number) => void | undefined;
60
+ expandColumn: (id: string | number) => void | undefined;
61
+ toggleColumn: (id: string | number) => void | undefined;
62
+ collapseSwimlane: (id: string | number) => void | undefined;
63
+ expandSwimlane: (id: string | number) => void | undefined;
64
+ toggleSwimlane: (id: string | number) => void | undefined;
65
+ scrollToColumn: (id: string | number, options?: {
66
+ behavior?: ScrollBehavior;
67
+ }) => void;
68
+ scrollToCard: (id: string | number, options?: {
69
+ behavior?: ScrollBehavior;
70
+ block?: ScrollLogicalPosition;
71
+ }) => void;
72
+ undo: () => void;
73
+ redo: () => void;
74
+ canUndo: () => boolean;
75
+ canRedo: () => boolean;
76
+ clearHistory: () => void | undefined;
77
+ exportToJSON: () => string;
78
+ exportToCSV: (options?: any) => string;
79
+ downloadJSON: () => void;
80
+ downloadCSV: (options?: any) => void;
81
+ print: () => void;
82
+ serializeState: () => BoardStateSnapshot;
83
+ restoreState: (snapshot: Partial<BoardStateSnapshot>) => void;
84
+ licenseValid: () => boolean;
85
+ licenseMessage: () => string | null;
86
+ getAuditLog: () => import("@primeui/taskboard-core").AuditEntry[];
87
+ clearAuditLog: () => void;
88
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
89
+ cardMove: (payload: CardMovePayload) => any;
90
+ cardClick: (payload: {
91
+ card: TaskBoardItem;
92
+ column: TaskBoardColumn;
93
+ jsEvent: MouseEvent;
94
+ }) => any;
95
+ cardDblclick: (payload: {
96
+ card: TaskBoardItem;
97
+ column: TaskBoardColumn;
98
+ jsEvent: MouseEvent;
99
+ }) => any;
100
+ cardActivate: (payload: {
101
+ card: TaskBoardItem;
102
+ column: TaskBoardColumn;
103
+ origin: "keyboard" | "pointer";
104
+ jsEvent?: MouseEvent;
105
+ }) => any;
106
+ cardSelect: (payload: {
107
+ card: TaskBoardItem;
108
+ selected: boolean;
109
+ }) => any;
110
+ selectionChange: (payload: {
111
+ selectedIds: (string | number)[];
112
+ cards: TaskBoardItem[];
113
+ }) => any;
114
+ cardCreate: (payload: {
115
+ card: TaskBoardItem;
116
+ column: TaskBoardColumn;
117
+ }) => any;
118
+ cardUpdate: (payload: {
119
+ card: TaskBoardItem;
120
+ oldCard: TaskBoardItem;
121
+ }) => any;
122
+ cardDelete: (payload: {
123
+ card: TaskBoardItem;
124
+ column: TaskBoardColumn;
125
+ }) => any;
126
+ columnCollapse: (payload: {
127
+ column: TaskBoardColumn;
128
+ collapsed: boolean;
129
+ }) => any;
130
+ columnReorder: (payload: {
131
+ columns: TaskBoardColumn[];
132
+ oldIndex: number;
133
+ newIndex: number;
134
+ }) => any;
135
+ swimlaneCollapse: (payload: {
136
+ swimlane: TaskBoardSwimlane;
137
+ collapsed: boolean;
138
+ }) => any;
139
+ dragStart: (payload: {
140
+ card: TaskBoardItem;
141
+ column: TaskBoardColumn;
142
+ jsEvent: MouseEvent | TouchEvent;
143
+ }) => any;
144
+ dragEnd: (payload: {
145
+ card: TaskBoardItem;
146
+ oldColumn: TaskBoardColumn;
147
+ newColumn: TaskBoardColumn;
148
+ oldIndex: number;
149
+ newIndex: number;
150
+ }) => any;
151
+ cardContextMenu: (payload: {
152
+ card: TaskBoardItem;
153
+ column: TaskBoardColumn;
154
+ position: {
155
+ x: number;
156
+ y: number;
157
+ };
158
+ jsEvent: MouseEvent;
159
+ }) => any;
160
+ cardDropBlocked: (payload: {
161
+ task: TaskBoardItem;
162
+ targetColumn: TaskBoardColumn;
163
+ reason: string;
164
+ message: string;
165
+ failedFields?: string[];
166
+ }) => any;
167
+ dragCancel: (payload: {
168
+ card: TaskBoardItem;
169
+ column: TaskBoardColumn;
170
+ }) => any;
171
+ cardReorder: (payload: {
172
+ card: TaskBoardItem;
173
+ columnValue: string | number;
174
+ oldIndex: number;
175
+ newIndex: number;
176
+ }) => any;
177
+ "update:tasks": (value: TaskBoardItem[]) => any;
178
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
179
+ onCardMove?: ((payload: CardMovePayload) => any) | undefined;
180
+ onCardClick?: ((payload: {
181
+ card: TaskBoardItem;
182
+ column: TaskBoardColumn;
183
+ jsEvent: MouseEvent;
184
+ }) => any) | undefined;
185
+ onCardDblclick?: ((payload: {
186
+ card: TaskBoardItem;
187
+ column: TaskBoardColumn;
188
+ jsEvent: MouseEvent;
189
+ }) => any) | undefined;
190
+ onCardActivate?: ((payload: {
191
+ card: TaskBoardItem;
192
+ column: TaskBoardColumn;
193
+ origin: "keyboard" | "pointer";
194
+ jsEvent?: MouseEvent;
195
+ }) => any) | undefined;
196
+ onCardSelect?: ((payload: {
197
+ card: TaskBoardItem;
198
+ selected: boolean;
199
+ }) => any) | undefined;
200
+ onSelectionChange?: ((payload: {
201
+ selectedIds: (string | number)[];
202
+ cards: TaskBoardItem[];
203
+ }) => any) | undefined;
204
+ onCardCreate?: ((payload: {
205
+ card: TaskBoardItem;
206
+ column: TaskBoardColumn;
207
+ }) => any) | undefined;
208
+ onCardUpdate?: ((payload: {
209
+ card: TaskBoardItem;
210
+ oldCard: TaskBoardItem;
211
+ }) => any) | undefined;
212
+ onCardDelete?: ((payload: {
213
+ card: TaskBoardItem;
214
+ column: TaskBoardColumn;
215
+ }) => any) | undefined;
216
+ onColumnCollapse?: ((payload: {
217
+ column: TaskBoardColumn;
218
+ collapsed: boolean;
219
+ }) => any) | undefined;
220
+ onColumnReorder?: ((payload: {
221
+ columns: TaskBoardColumn[];
222
+ oldIndex: number;
223
+ newIndex: number;
224
+ }) => any) | undefined;
225
+ onSwimlaneCollapse?: ((payload: {
226
+ swimlane: TaskBoardSwimlane;
227
+ collapsed: boolean;
228
+ }) => any) | undefined;
229
+ onDragStart?: ((payload: {
230
+ card: TaskBoardItem;
231
+ column: TaskBoardColumn;
232
+ jsEvent: MouseEvent | TouchEvent;
233
+ }) => any) | undefined;
234
+ onDragEnd?: ((payload: {
235
+ card: TaskBoardItem;
236
+ oldColumn: TaskBoardColumn;
237
+ newColumn: TaskBoardColumn;
238
+ oldIndex: number;
239
+ newIndex: number;
240
+ }) => any) | undefined;
241
+ onCardContextMenu?: ((payload: {
242
+ card: TaskBoardItem;
243
+ column: TaskBoardColumn;
244
+ position: {
245
+ x: number;
246
+ y: number;
247
+ };
248
+ jsEvent: MouseEvent;
249
+ }) => any) | undefined;
250
+ onCardDropBlocked?: ((payload: {
251
+ task: TaskBoardItem;
252
+ targetColumn: TaskBoardColumn;
253
+ reason: string;
254
+ message: string;
255
+ failedFields?: string[];
256
+ }) => any) | undefined;
257
+ onDragCancel?: ((payload: {
258
+ card: TaskBoardItem;
259
+ column: TaskBoardColumn;
260
+ }) => any) | undefined;
261
+ onCardReorder?: ((payload: {
262
+ card: TaskBoardItem;
263
+ columnValue: string | number;
264
+ oldIndex: number;
265
+ newIndex: number;
266
+ }) => any) | undefined;
267
+ "onUpdate:tasks"?: ((value: TaskBoardItem[]) => any) | undefined;
268
+ }>, {
269
+ draggable: boolean;
270
+ columns: TaskBoardColumn[];
271
+ swimlanes: TaskBoardSwimlane[];
272
+ selectionMode: TaskBoardSelectionMode;
273
+ contextMenu: boolean;
274
+ density: TaskBoardDensity;
275
+ disabled: boolean;
276
+ readonly: boolean;
277
+ scrollable: boolean;
278
+ columnCollapsible: boolean;
279
+ columnReorderable: boolean;
280
+ virtualScroll: boolean;
281
+ virtualScrollItemHeight: number;
282
+ virtualScrollBuffer: number;
283
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
284
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
285
+ declare const _default: typeof __VLS_export;
286
+ export default _default;
287
+ type __VLS_WithSlots<T, S> = T & {
288
+ new (): {
289
+ $slots: S;
290
+ };
291
+ };
@@ -0,0 +1,27 @@
1
+ declare var __VLS_1: {
2
+ group: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumnGroup | undefined;
3
+ columns: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn[];
4
+ }, __VLS_3: {
5
+ group: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumnGroup | undefined;
6
+ columns: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn[];
7
+ }, __VLS_5: {}, __VLS_7: {}, __VLS_54: {};
8
+ type __VLS_Slots = {} & {
9
+ 'column-group-header'?: (props: typeof __VLS_1) => any;
10
+ } & {
11
+ 'column-group-header'?: (props: typeof __VLS_3) => any;
12
+ } & {
13
+ default?: (props: typeof __VLS_5) => any;
14
+ } & {
15
+ default?: (props: typeof __VLS_7) => any;
16
+ } & {
17
+ default?: (props: typeof __VLS_54) => any;
18
+ };
19
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
23
+ type __VLS_WithSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,27 @@
1
+ declare var __VLS_1: {
2
+ group: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumnGroup | undefined;
3
+ columns: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn[];
4
+ }, __VLS_3: {
5
+ group: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumnGroup | undefined;
6
+ columns: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn[];
7
+ }, __VLS_5: {}, __VLS_7: {}, __VLS_54: {};
8
+ type __VLS_Slots = {} & {
9
+ 'column-group-header'?: (props: typeof __VLS_1) => any;
10
+ } & {
11
+ 'column-group-header'?: (props: typeof __VLS_3) => any;
12
+ } & {
13
+ default?: (props: typeof __VLS_5) => any;
14
+ } & {
15
+ default?: (props: typeof __VLS_7) => any;
16
+ } & {
17
+ default?: (props: typeof __VLS_54) => any;
18
+ };
19
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
23
+ type __VLS_WithSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,18 @@
1
+ declare var __VLS_1: {
2
+ canUndo: boolean;
3
+ canRedo: boolean;
4
+ undo: () => void;
5
+ redo: () => void;
6
+ };
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_1) => any;
9
+ };
10
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,18 @@
1
+ declare var __VLS_1: {
2
+ canUndo: boolean;
3
+ canRedo: boolean;
4
+ undo: () => void;
5
+ redo: () => void;
6
+ };
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_1) => any;
9
+ };
10
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };