@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.
- package/LICENSE +23 -0
- package/dist/TaskBoard.context.d.mts +235 -0
- package/dist/TaskBoard.context.d.ts +235 -0
- package/dist/TaskBoard.parts.d.mts +20 -0
- package/dist/TaskBoard.parts.d.ts +20 -0
- package/dist/TaskBoard.vue.d.mts +291 -0
- package/dist/TaskBoard.vue.d.ts +291 -0
- package/dist/TaskBoardContent.vue.d.mts +27 -0
- package/dist/TaskBoardContent.vue.d.ts +27 -0
- package/dist/TaskBoardHeader.vue.d.mts +18 -0
- package/dist/TaskBoardHeader.vue.d.ts +18 -0
- package/dist/TaskBoardLoading.vue.d.mts +13 -0
- package/dist/TaskBoardLoading.vue.d.ts +13 -0
- package/dist/chunks/useTaskBoardDrag-ByZvmcfw.mjs +590 -0
- package/dist/components/card/TaskBoardCard.vue.d.mts +23 -0
- package/dist/components/card/TaskBoardCard.vue.d.ts +23 -0
- package/dist/components/card/TaskBoardCardAdd.vue.d.mts +15 -0
- package/dist/components/card/TaskBoardCardAdd.vue.d.ts +15 -0
- package/dist/components/card/TaskBoardCardContent.vue.d.mts +18 -0
- package/dist/components/card/TaskBoardCardContent.vue.d.ts +18 -0
- package/dist/components/card/TaskBoardCardFooter.vue.d.mts +18 -0
- package/dist/components/card/TaskBoardCardFooter.vue.d.ts +18 -0
- package/dist/components/card/TaskBoardCardHeader.vue.d.mts +18 -0
- package/dist/components/card/TaskBoardCardHeader.vue.d.ts +18 -0
- package/dist/components/column/TaskBoardColumn.vue.d.mts +19 -0
- package/dist/components/column/TaskBoardColumn.vue.d.ts +19 -0
- package/dist/components/column/TaskBoardColumnAdd.vue.d.mts +13 -0
- package/dist/components/column/TaskBoardColumnAdd.vue.d.ts +13 -0
- package/dist/components/column/TaskBoardColumnContent.vue.d.mts +20 -0
- package/dist/components/column/TaskBoardColumnContent.vue.d.ts +20 -0
- package/dist/components/column/TaskBoardColumnEmpty.vue.d.mts +13 -0
- package/dist/components/column/TaskBoardColumnEmpty.vue.d.ts +13 -0
- package/dist/components/column/TaskBoardColumnFooter.vue.d.mts +16 -0
- package/dist/components/column/TaskBoardColumnFooter.vue.d.ts +16 -0
- package/dist/components/column/TaskBoardColumnHeader.vue.d.mts +19 -0
- package/dist/components/column/TaskBoardColumnHeader.vue.d.ts +19 -0
- package/dist/components/overlay/TaskBoardDragConfirm.vue.d.mts +20 -0
- package/dist/components/overlay/TaskBoardDragConfirm.vue.d.ts +20 -0
- package/dist/components/overlay/TaskBoardDragPreview.vue.d.mts +16 -0
- package/dist/components/overlay/TaskBoardDragPreview.vue.d.ts +16 -0
- package/dist/components/overlay/TaskBoardDropIndicator.d.mts +2 -0
- package/dist/components/overlay/TaskBoardDropIndicator.d.ts +2 -0
- package/dist/components/swimlane/TaskBoardSwimlaneColumnHeader.vue.d.mts +20 -0
- package/dist/components/swimlane/TaskBoardSwimlaneColumnHeader.vue.d.ts +20 -0
- package/dist/components/swimlane/TaskBoardSwimlaneHeader.vue.d.mts +22 -0
- package/dist/components/swimlane/TaskBoardSwimlaneHeader.vue.d.ts +22 -0
- package/dist/composables/index.d.mts +9 -0
- package/dist/composables/index.d.ts +9 -0
- package/dist/composables/index.mjs +12 -0
- package/dist/composables/useCardDrag.d.mts +47 -0
- package/dist/composables/useCardDrag.d.ts +47 -0
- package/dist/composables/useCardDragGeometry.d.mts +21 -0
- package/dist/composables/useCardDragGeometry.d.ts +21 -0
- package/dist/composables/useColumnDrag.d.mts +24 -0
- package/dist/composables/useColumnDrag.d.ts +24 -0
- package/dist/composables/useControllerInit.d.mts +64 -0
- package/dist/composables/useControllerInit.d.ts +64 -0
- package/dist/composables/useHistory.d.mts +15 -0
- package/dist/composables/useHistory.d.ts +15 -0
- package/dist/composables/useKeyboardHandling.d.mts +37 -0
- package/dist/composables/useKeyboardHandling.d.ts +37 -0
- package/dist/composables/useTaskBoardAccess.d.mts +9 -0
- package/dist/composables/useTaskBoardAccess.d.ts +9 -0
- package/dist/composables/useTaskBoardDrag.d.mts +14 -0
- package/dist/composables/useTaskBoardDrag.d.ts +14 -0
- package/dist/composables/useTaskBoardHistory.d.mts +6 -0
- package/dist/composables/useTaskBoardHistory.d.ts +6 -0
- package/dist/composables/useTaskBoardPrintRuntime.d.mts +7 -0
- package/dist/composables/useTaskBoardPrintRuntime.d.ts +7 -0
- package/dist/composables/useTaskBoardSelection.d.mts +11 -0
- package/dist/composables/useTaskBoardSelection.d.ts +11 -0
- package/dist/composables/useTaskBoardWorkflow.d.mts +8 -0
- package/dist/composables/useTaskBoardWorkflow.d.ts +8 -0
- package/dist/index.d.mts +29 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.mjs +1654 -0
- package/dist/release-date.d.mts +11 -0
- package/dist/release-date.d.ts +11 -0
- package/package.json +57 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare var __VLS_1: {
|
|
2
|
+
item: import("packages/components/taskboard/taskboard-types/src").TaskBoardItem;
|
|
3
|
+
isSelected: boolean;
|
|
4
|
+
isDragging: boolean;
|
|
5
|
+
column: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn;
|
|
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
|
+
item: import("packages/components/taskboard/taskboard-types/src").TaskBoardItem;
|
|
3
|
+
isSelected: boolean;
|
|
4
|
+
isDragging: boolean;
|
|
5
|
+
column: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn;
|
|
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
|
+
item: import("packages/components/taskboard/taskboard-types/src").TaskBoardItem;
|
|
3
|
+
isSelected: boolean;
|
|
4
|
+
isDragging: boolean;
|
|
5
|
+
column: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn;
|
|
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
|
+
item: import("packages/components/taskboard/taskboard-types/src").TaskBoardItem;
|
|
3
|
+
isSelected: boolean;
|
|
4
|
+
isDragging: boolean;
|
|
5
|
+
column: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn;
|
|
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
|
+
item: import("packages/components/taskboard/taskboard-types/src").TaskBoardItem;
|
|
3
|
+
isSelected: boolean;
|
|
4
|
+
isDragging: boolean;
|
|
5
|
+
column: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn;
|
|
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
|
+
item: import("packages/components/taskboard/taskboard-types/src").TaskBoardItem;
|
|
3
|
+
isSelected: boolean;
|
|
4
|
+
isDragging: boolean;
|
|
5
|
+
column: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn;
|
|
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,19 @@
|
|
|
1
|
+
import type { TaskBoardColumn } from '@primeui/taskboard-types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string | number;
|
|
5
|
+
column?: TaskBoardColumn;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_1: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { TaskBoardColumn } from '@primeui/taskboard-types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string | number;
|
|
5
|
+
column?: TaskBoardColumn;
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_1: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -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
|
+
};
|
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare var __VLS_11: {
|
|
2
|
+
item: import("@primeui/taskboard-core").TaskBoardItem;
|
|
3
|
+
column: import("@primeui/taskboard-core").TaskBoardColumn;
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
isDragging: boolean | null;
|
|
6
|
+
}, __VLS_18: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_11) => any;
|
|
9
|
+
} & {
|
|
10
|
+
empty?: (props: typeof __VLS_18) => any;
|
|
11
|
+
};
|
|
12
|
+
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>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare var __VLS_11: {
|
|
2
|
+
item: import("@primeui/taskboard-core").TaskBoardItem;
|
|
3
|
+
column: import("@primeui/taskboard-core").TaskBoardColumn;
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
isDragging: boolean | null;
|
|
6
|
+
}, __VLS_18: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_11) => any;
|
|
9
|
+
} & {
|
|
10
|
+
empty?: (props: typeof __VLS_18) => any;
|
|
11
|
+
};
|
|
12
|
+
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>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -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
|
+
};
|
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare var __VLS_1: {
|
|
2
|
+
column: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn;
|
|
3
|
+
itemCount: number;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
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>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare var __VLS_1: {
|
|
2
|
+
column: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn;
|
|
3
|
+
itemCount: number;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
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>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare var __VLS_1: {
|
|
2
|
+
column: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn;
|
|
3
|
+
itemCount: number;
|
|
4
|
+
isCollapsed: boolean;
|
|
5
|
+
toggleCollapse: () => void;
|
|
6
|
+
startDrag: (e: PointerEvent) => void;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
};
|
|
11
|
+
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>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare var __VLS_1: {
|
|
2
|
+
column: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn;
|
|
3
|
+
itemCount: number;
|
|
4
|
+
isCollapsed: boolean;
|
|
5
|
+
toggleCollapse: () => void;
|
|
6
|
+
startDrag: (e: PointerEvent) => void;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_1) => any;
|
|
10
|
+
};
|
|
11
|
+
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>;
|
|
12
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare var __VLS_1: {
|
|
2
|
+
task: import("packages/components/taskboard/taskboard-types/src").TaskBoardItem;
|
|
3
|
+
sourceColumn: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn | undefined;
|
|
4
|
+
targetColumn: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn | undefined;
|
|
5
|
+
confirm: () => void;
|
|
6
|
+
cancel: () => void;
|
|
7
|
+
message: string;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_1) => any;
|
|
11
|
+
};
|
|
12
|
+
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>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare var __VLS_1: {
|
|
2
|
+
task: import("packages/components/taskboard/taskboard-types/src").TaskBoardItem;
|
|
3
|
+
sourceColumn: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn | undefined;
|
|
4
|
+
targetColumn: import("packages/components/taskboard/taskboard-types/src").TaskBoardColumn | undefined;
|
|
5
|
+
confirm: () => void;
|
|
6
|
+
cancel: () => void;
|
|
7
|
+
message: string;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_1) => any;
|
|
11
|
+
};
|
|
12
|
+
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>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare var __VLS_7: {
|
|
2
|
+
item: import("packages/components/taskboard/taskboard-types/src").TaskBoardItem;
|
|
3
|
+
count: number;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_7) => any;
|
|
7
|
+
};
|
|
8
|
+
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>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare var __VLS_7: {
|
|
2
|
+
item: import("packages/components/taskboard/taskboard-types/src").TaskBoardItem;
|
|
3
|
+
count: number;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
default?: (props: typeof __VLS_7) => any;
|
|
7
|
+
};
|
|
8
|
+
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>;
|
|
9
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, () => null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { TaskBoardColumn } from '@primeui/taskboard-types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
column?: TaskBoardColumn;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {
|
|
6
|
+
column: TaskBoardColumn | undefined;
|
|
7
|
+
itemCount: number;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_1) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { TaskBoardColumn } from '@primeui/taskboard-types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
column?: TaskBoardColumn;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {
|
|
6
|
+
column: TaskBoardColumn | undefined;
|
|
7
|
+
itemCount: number;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
default?: (props: typeof __VLS_1) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
|
+
declare const _default: typeof __VLS_export;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { TaskBoardSwimlane } from '@primeui/taskboard-types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
swimlane?: TaskBoardSwimlane;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {
|
|
6
|
+
swimlane: TaskBoardSwimlane | undefined;
|
|
7
|
+
itemCount: number;
|
|
8
|
+
isCollapsed: boolean;
|
|
9
|
+
toggleCollapse: () => void;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_1) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { TaskBoardSwimlane } from '@primeui/taskboard-types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
swimlane?: TaskBoardSwimlane;
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_1: {
|
|
6
|
+
swimlane: TaskBoardSwimlane | undefined;
|
|
7
|
+
itemCount: number;
|
|
8
|
+
isCollapsed: boolean;
|
|
9
|
+
toggleCollapse: () => void;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_Slots = {} & {
|
|
12
|
+
default?: (props: typeof __VLS_1) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { useCardDrag } from './useCardDrag';
|
|
2
|
+
export { useColumnDrag } from './useColumnDrag';
|
|
3
|
+
export { useControllerInit } from './useControllerInit';
|
|
4
|
+
export { useHistory } from './useHistory';
|
|
5
|
+
export { useTaskBoardSelection } from './useTaskBoardSelection';
|
|
6
|
+
export { useTaskBoardHistory } from './useTaskBoardHistory';
|
|
7
|
+
export { useTaskBoardAccess } from './useTaskBoardAccess';
|
|
8
|
+
export { useTaskBoardWorkflow } from './useTaskBoardWorkflow';
|
|
9
|
+
export { useTaskBoardDrag } from './useTaskBoardDrag';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export { useCardDrag } from './useCardDrag';
|
|
2
|
+
export { useColumnDrag } from './useColumnDrag';
|
|
3
|
+
export { useControllerInit } from './useControllerInit';
|
|
4
|
+
export { useHistory } from './useHistory';
|
|
5
|
+
export { useTaskBoardSelection } from './useTaskBoardSelection';
|
|
6
|
+
export { useTaskBoardHistory } from './useTaskBoardHistory';
|
|
7
|
+
export { useTaskBoardAccess } from './useTaskBoardAccess';
|
|
8
|
+
export { useTaskBoardWorkflow } from './useTaskBoardWorkflow';
|
|
9
|
+
export { useTaskBoardDrag } from './useTaskBoardDrag';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { u as r, a as e, b as o, c as u, d, e as k, f as t, g as l, h as B } from "../chunks/useTaskBoardDrag-ByZvmcfw.mjs";
|
|
2
|
+
export {
|
|
3
|
+
r as useCardDrag,
|
|
4
|
+
e as useColumnDrag,
|
|
5
|
+
o as useControllerInit,
|
|
6
|
+
u as useHistory,
|
|
7
|
+
d as useTaskBoardAccess,
|
|
8
|
+
k as useTaskBoardDrag,
|
|
9
|
+
t as useTaskBoardHistory,
|
|
10
|
+
l as useTaskBoardSelection,
|
|
11
|
+
B as useTaskBoardWorkflow
|
|
12
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type Ref } from 'vue';
|
|
2
|
+
import type { ColumnElementInfo, DragController, SelectionController } from '@primeui/taskboard-core';
|
|
3
|
+
import type { TaskBoardColumn, TaskBoardItem } from '@primeui/taskboard-types';
|
|
4
|
+
export interface CardDragConfig {
|
|
5
|
+
getDisabled: () => boolean;
|
|
6
|
+
getReadonly: () => boolean;
|
|
7
|
+
getSelectionMode: () => string;
|
|
8
|
+
getDragMinDistance: () => number | undefined;
|
|
9
|
+
tasks: Ref<TaskBoardItem[]>;
|
|
10
|
+
columnsContainerRef: Ref<HTMLElement | undefined>;
|
|
11
|
+
isDragging: Ref<boolean>;
|
|
12
|
+
draggedCardId: Ref<string | number | null>;
|
|
13
|
+
dragTargetColumnId: Ref<string | number | null>;
|
|
14
|
+
dragTargetIndex: Ref<number | null>;
|
|
15
|
+
dragTargetSwimlaneId: Ref<string | number | null>;
|
|
16
|
+
ghostPosition: Ref<{
|
|
17
|
+
x: number;
|
|
18
|
+
y: number;
|
|
19
|
+
} | null>;
|
|
20
|
+
dragPreviewWidth: Ref<number | null>;
|
|
21
|
+
draggedCardData: Ref<TaskBoardItem | null>;
|
|
22
|
+
selectedCardIds: Ref<(string | number)[]>;
|
|
23
|
+
selectionOrigin: Ref<'pointer' | 'keyboard' | null>;
|
|
24
|
+
hasSwimlanes: Ref<boolean>;
|
|
25
|
+
canDrag: Ref<boolean>;
|
|
26
|
+
getDragController: () => DragController | null;
|
|
27
|
+
getSelectionController: () => SelectionController | null;
|
|
28
|
+
isFeatureEnabled: (feature: string) => boolean;
|
|
29
|
+
canMoveOutOfColumn: (columnId: string | number) => boolean;
|
|
30
|
+
focusCard: (taskId: string | number) => void;
|
|
31
|
+
emit: (event: string, payload: unknown) => void;
|
|
32
|
+
getItemId: (item: TaskBoardItem) => string | number;
|
|
33
|
+
getItemColumnValue: (item: TaskBoardItem) => string | number;
|
|
34
|
+
getItemSwimlaneValue: (item: TaskBoardItem) => string | number | undefined;
|
|
35
|
+
}
|
|
36
|
+
export declare function useCardDrag(config: CardDragConfig): {
|
|
37
|
+
getDragHiddenIds: () => (string | number)[];
|
|
38
|
+
getColumnElements: () => ColumnElementInfo[];
|
|
39
|
+
markDragGeometryDirty: () => void;
|
|
40
|
+
refreshDragGeometry: () => ColumnElementInfo[];
|
|
41
|
+
clearDragGeometry: () => void;
|
|
42
|
+
autoScroll: (clientX: number, clientY: number) => boolean;
|
|
43
|
+
onCardPointerDown: (task: TaskBoardItem, column: TaskBoardColumn, event: PointerEvent) => void;
|
|
44
|
+
onDocumentPointerMove: (event: PointerEvent) => void;
|
|
45
|
+
onDocumentPointerUp: () => void;
|
|
46
|
+
cleanupCardDrag: () => void;
|
|
47
|
+
};
|