@primeui/vue-taskboard 0.0.1-alpha.1 → 1.0.0-beta.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/dist/TaskBoard.context.d.ts +21 -21
- package/dist/TaskBoard.parts.d.ts +20 -20
- package/dist/TaskBoard.vue.d.ts +37 -37
- package/dist/TaskBoardContent.vue.d.ts +2 -2
- package/dist/chunks/TaskBoard.context-BCq7uauT.mjs +29 -0
- package/dist/chunks/TaskBoard.vue_vue_type_script_setup_true_lang-Djmr6yoF.mjs +841 -0
- package/dist/chunks/TaskBoardCard.vue_vue_type_script_setup_true_lang-B1Ix7Gjf.mjs +34 -0
- package/dist/chunks/TaskBoardCardAdd.vue_vue_type_script_setup_true_lang-Dy4BuCa9.mjs +14 -0
- package/dist/chunks/TaskBoardCardContent.vue_vue_type_script_setup_true_lang-DNEmpvcn.mjs +19 -0
- package/dist/chunks/TaskBoardCardFooter.vue_vue_type_script_setup_true_lang-8FWnuxSl.mjs +19 -0
- package/dist/chunks/TaskBoardCardHeader.vue_vue_type_script_setup_true_lang-Dr-XJfaE.mjs +19 -0
- package/dist/chunks/TaskBoardColumn.vue_vue_type_script_setup_true_lang-D_AJ5j7c.mjs +42 -0
- package/dist/chunks/TaskBoardColumnAdd-C_JSN3pp.mjs +10 -0
- package/dist/chunks/TaskBoardColumnContent.vue_vue_type_script_setup_true_lang-DNRiWBN_.mjs +180 -0
- package/dist/chunks/TaskBoardColumnEmpty.vue_vue_type_script_setup_true_lang-D23AtNeX.mjs +18 -0
- package/dist/chunks/TaskBoardColumnFooter.vue_vue_type_script_setup_true_lang-BpKRnC6u.mjs +19 -0
- package/dist/chunks/TaskBoardColumnHeader.vue_vue_type_script_setup_true_lang-DMc9zcWV.mjs +51 -0
- package/dist/chunks/TaskBoardContent.vue_vue_type_script_setup_true_lang-lDUg6UrJ.mjs +292 -0
- package/dist/chunks/TaskBoardDragConfirm.vue_vue_type_script_setup_true_lang-B4OdxK5L.mjs +20 -0
- package/dist/chunks/TaskBoardDragPreview.vue_vue_type_script_setup_true_lang-B7F-FPY1.mjs +40 -0
- package/dist/chunks/TaskBoardDropIndicator-BUMSBiQC.mjs +14 -0
- package/dist/chunks/TaskBoardHeader.vue_vue_type_script_setup_true_lang-CwtaadkE.mjs +21 -0
- package/dist/chunks/TaskBoardLoading-CrgtYPP-.mjs +10 -0
- package/dist/chunks/TaskBoardSwimlaneColumnHeader.vue_vue_type_script_setup_true_lang-BVpen7mj.mjs +23 -0
- package/dist/chunks/TaskBoardSwimlaneHeader.vue_vue_type_script_setup_true_lang-D6NdS4hP.mjs +32 -0
- package/dist/chunks/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
- package/dist/chunks/useHistory-C-Ud-WgS.mjs +510 -0
- package/dist/chunks/useTaskBoardDrag-BvBISSNb.mjs +58 -0
- package/dist/components/card/TaskBoardCard.vue.d.ts +3 -3
- package/dist/components/card/TaskBoardCardContent.vue.d.ts +1 -1
- package/dist/components/card/TaskBoardCardFooter.vue.d.ts +1 -1
- package/dist/components/card/TaskBoardCardHeader.vue.d.ts +1 -1
- package/dist/components/column/TaskBoardColumn.vue.d.ts +2 -2
- package/dist/components/column/TaskBoardColumnContent.vue.d.ts +1 -1
- package/dist/components/column/TaskBoardColumnFooter.vue.d.ts +1 -1
- package/dist/components/column/TaskBoardColumnHeader.vue.d.ts +1 -1
- package/dist/components/overlay/TaskBoardDragConfirm.vue.d.ts +2 -2
- package/dist/components/swimlane/TaskBoardSwimlaneColumnHeader.vue.d.ts +3 -3
- package/dist/components.d.ts +20 -0
- package/dist/components.mjs +42 -0
- package/dist/composables/index.mjs +6 -5
- package/dist/composables/useCardDrag.d.ts +2 -2
- package/dist/composables/useColumnDrag.d.ts +5 -5
- package/dist/composables/useControllerInit.d.ts +3 -3
- package/dist/composables/useKeyboardHandling.d.ts +2 -2
- package/dist/index.d.ts +20 -20
- package/dist/index.mjs +77 -1650
- package/dist/parts/card/index.d.ts +1 -0
- package/dist/parts/card/index.mjs +4 -0
- package/dist/parts/cardadd/index.d.ts +1 -0
- package/dist/parts/cardadd/index.mjs +4 -0
- package/dist/parts/cardcontent/index.d.ts +1 -0
- package/dist/parts/cardcontent/index.mjs +4 -0
- package/dist/parts/cardfooter/index.d.ts +1 -0
- package/dist/parts/cardfooter/index.mjs +4 -0
- package/dist/parts/cardheader/index.d.ts +1 -0
- package/dist/parts/cardheader/index.mjs +4 -0
- package/dist/parts/column/index.d.ts +1 -0
- package/dist/parts/column/index.mjs +4 -0
- package/dist/parts/columnadd/index.d.ts +1 -0
- package/dist/parts/columnadd/index.mjs +4 -0
- package/dist/parts/columncontent/index.d.ts +1 -0
- package/dist/parts/columncontent/index.mjs +4 -0
- package/dist/parts/columnempty/index.d.ts +1 -0
- package/dist/parts/columnempty/index.mjs +4 -0
- package/dist/parts/columnfooter/index.d.ts +1 -0
- package/dist/parts/columnfooter/index.mjs +4 -0
- package/dist/parts/columnheader/index.d.ts +1 -0
- package/dist/parts/columnheader/index.mjs +4 -0
- package/dist/parts/content/index.d.ts +1 -0
- package/dist/parts/content/index.mjs +4 -0
- package/dist/parts/dragconfirm/index.d.ts +1 -0
- package/dist/parts/dragconfirm/index.mjs +4 -0
- package/dist/parts/dragpreview/index.d.ts +1 -0
- package/dist/parts/dragpreview/index.mjs +4 -0
- package/dist/parts/dropindicator/index.d.ts +1 -0
- package/dist/parts/dropindicator/index.mjs +4 -0
- package/dist/parts/header/index.d.ts +1 -0
- package/dist/parts/header/index.mjs +4 -0
- package/dist/parts/loading/index.d.ts +1 -0
- package/dist/parts/loading/index.mjs +4 -0
- package/dist/parts/root/index.d.ts +1 -0
- package/dist/parts/root/index.mjs +4 -0
- package/dist/parts/swimlanecolumnheader/index.d.ts +1 -0
- package/dist/parts/swimlanecolumnheader/index.mjs +4 -0
- package/dist/parts/swimlaneheader/index.d.ts +1 -0
- package/dist/parts/swimlaneheader/index.mjs +4 -0
- package/package.json +22 -12
- package/dist/TaskBoard.context.d.mts +0 -235
- package/dist/TaskBoard.parts.d.mts +0 -20
- package/dist/TaskBoard.vue.d.mts +0 -291
- package/dist/TaskBoardContent.vue.d.mts +0 -27
- package/dist/TaskBoardHeader.vue.d.mts +0 -18
- package/dist/TaskBoardLoading.vue.d.mts +0 -13
- package/dist/chunks/useTaskBoardDrag-ByZvmcfw.mjs +0 -590
- package/dist/components/card/TaskBoardCard.vue.d.mts +0 -23
- package/dist/components/card/TaskBoardCardAdd.vue.d.mts +0 -15
- package/dist/components/card/TaskBoardCardContent.vue.d.mts +0 -18
- package/dist/components/card/TaskBoardCardFooter.vue.d.mts +0 -18
- package/dist/components/card/TaskBoardCardHeader.vue.d.mts +0 -18
- package/dist/components/column/TaskBoardColumn.vue.d.mts +0 -19
- package/dist/components/column/TaskBoardColumnAdd.vue.d.mts +0 -13
- package/dist/components/column/TaskBoardColumnContent.vue.d.mts +0 -20
- package/dist/components/column/TaskBoardColumnEmpty.vue.d.mts +0 -13
- package/dist/components/column/TaskBoardColumnFooter.vue.d.mts +0 -16
- package/dist/components/column/TaskBoardColumnHeader.vue.d.mts +0 -19
- package/dist/components/overlay/TaskBoardDragConfirm.vue.d.mts +0 -20
- package/dist/components/overlay/TaskBoardDragPreview.vue.d.mts +0 -16
- package/dist/components/overlay/TaskBoardDropIndicator.d.mts +0 -2
- package/dist/components/swimlane/TaskBoardSwimlaneColumnHeader.vue.d.mts +0 -20
- package/dist/components/swimlane/TaskBoardSwimlaneHeader.vue.d.mts +0 -22
- package/dist/composables/index.d.mts +0 -9
- package/dist/composables/useCardDrag.d.mts +0 -47
- package/dist/composables/useCardDragGeometry.d.mts +0 -21
- package/dist/composables/useColumnDrag.d.mts +0 -24
- package/dist/composables/useControllerInit.d.mts +0 -64
- package/dist/composables/useHistory.d.mts +0 -15
- package/dist/composables/useKeyboardHandling.d.mts +0 -37
- package/dist/composables/useTaskBoardAccess.d.mts +0 -9
- package/dist/composables/useTaskBoardDrag.d.mts +0 -14
- package/dist/composables/useTaskBoardHistory.d.mts +0 -6
- package/dist/composables/useTaskBoardPrintRuntime.d.mts +0 -7
- package/dist/composables/useTaskBoardSelection.d.mts +0 -11
- package/dist/composables/useTaskBoardWorkflow.d.mts +0 -8
- package/dist/index.d.mts +0 -29
- package/dist/release-date.d.mts +0 -11
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
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;
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
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';
|
|
@@ -1,47 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { type ColumnElementInfo } from '@primeui/taskboard-core';
|
|
2
|
-
interface CardDragScrollBody {
|
|
3
|
-
element: HTMLElement;
|
|
4
|
-
rect: DOMRect;
|
|
5
|
-
}
|
|
6
|
-
export interface CardDragGeometrySnapshot {
|
|
7
|
-
columns: ColumnElementInfo[];
|
|
8
|
-
containerRect: DOMRect | null;
|
|
9
|
-
scrollBodies: CardDragScrollBody[];
|
|
10
|
-
}
|
|
11
|
-
interface CardDragGeometryCacheOptions {
|
|
12
|
-
getContainer: () => HTMLElement | undefined;
|
|
13
|
-
hasSwimlanes: () => boolean;
|
|
14
|
-
}
|
|
15
|
-
export declare function createCardDragGeometryCache(options: CardDragGeometryCacheOptions): {
|
|
16
|
-
getSnapshot: () => CardDragGeometrySnapshot;
|
|
17
|
-
refresh: () => CardDragGeometrySnapshot;
|
|
18
|
-
markDirty: () => void;
|
|
19
|
-
clear: () => void;
|
|
20
|
-
};
|
|
21
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { Ref, ComputedRef } from 'vue';
|
|
2
|
-
import type { TaskBoardColumn } from '@primeui/taskboard-types';
|
|
3
|
-
export interface ColumnDragConfig {
|
|
4
|
-
getDisabled: () => boolean;
|
|
5
|
-
getColumnCollapsible: () => boolean;
|
|
6
|
-
columnsContainerRef: Ref<HTMLElement | undefined>;
|
|
7
|
-
isColumnDragging: Ref<boolean>;
|
|
8
|
-
draggedColumnId: Ref<string | number | null>;
|
|
9
|
-
columnDragStartX: Ref<number>;
|
|
10
|
-
columnDragOffsets: Ref<Map<string | number, number>>;
|
|
11
|
-
processedColumns: ComputedRef<TaskBoardColumn[]>;
|
|
12
|
-
canReorderColumns: ComputedRef<boolean>;
|
|
13
|
-
isColumnCollapsed: (columnId: string | number) => boolean;
|
|
14
|
-
onColumnToggle: (column: TaskBoardColumn) => void;
|
|
15
|
-
emit: (event: string, payload: unknown) => void;
|
|
16
|
-
}
|
|
17
|
-
export declare function useColumnDrag(config: ColumnDragConfig): {
|
|
18
|
-
onColumnHeaderPointerDown: (column: TaskBoardColumn, event: PointerEvent) => void;
|
|
19
|
-
onColumnHeaderClick: () => void;
|
|
20
|
-
onColumnDragMove: (event: PointerEvent) => void;
|
|
21
|
-
onColumnDragEnd: () => void;
|
|
22
|
-
getColumnStyle: (column: TaskBoardColumn) => Record<string, string> | undefined;
|
|
23
|
-
cleanupColumnDrag: () => void;
|
|
24
|
-
};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import type { Ref, ComputedRef } from 'vue';
|
|
2
|
-
import { type DragController, type SelectionController, type WorkflowController, type KeyboardController, type HistoryController, type AuditController } from '@primeui/taskboard-core';
|
|
3
|
-
import type { TaskBoardColumn, TaskBoardInstance, TaskBoardSelectionMode, TaskBoardSwimlane, TaskBoardItem } from '@primeui/taskboard-types';
|
|
4
|
-
export interface CardMovePayload {
|
|
5
|
-
card: TaskBoardItem;
|
|
6
|
-
oldColumnId: string | number;
|
|
7
|
-
newColumnId: string | number;
|
|
8
|
-
oldIndex: number;
|
|
9
|
-
newIndex: number;
|
|
10
|
-
oldSwimlaneId?: string | number;
|
|
11
|
-
newSwimlaneId?: string | number;
|
|
12
|
-
}
|
|
13
|
-
export interface ControllerInitConfig {
|
|
14
|
-
rootRef: Ref<HTMLElement | undefined>;
|
|
15
|
-
columnsContainerRef: Ref<HTMLElement | undefined>;
|
|
16
|
-
selectedCardIds: Ref<(string | number)[]>;
|
|
17
|
-
collapsedColumnIds: Ref<(string | number)[]>;
|
|
18
|
-
collapsedSwimlaneIds: Ref<(string | number)[]>;
|
|
19
|
-
focusedCardId: Ref<string | number | null>;
|
|
20
|
-
focusedColumnId: Ref<string | number | null>;
|
|
21
|
-
focusedSwimlaneId: Ref<string | number | null>;
|
|
22
|
-
selectionOrigin: Ref<'pointer' | 'keyboard' | null>;
|
|
23
|
-
pendingConfirmMove: Ref<{
|
|
24
|
-
payload: CardMovePayload;
|
|
25
|
-
task: TaskBoardItem;
|
|
26
|
-
message: string;
|
|
27
|
-
} | null>;
|
|
28
|
-
tasks: ComputedRef<TaskBoardItem[]>;
|
|
29
|
-
allColumns: ComputedRef<TaskBoardColumn[]>;
|
|
30
|
-
visibleColumns: ComputedRef<TaskBoardColumn[]>;
|
|
31
|
-
processedSwimlanes: ComputedRef<TaskBoardSwimlane[]>;
|
|
32
|
-
getCoreProps: () => Record<string, unknown>;
|
|
33
|
-
getColumnTasks: (columnId: string | number) => TaskBoardItem[];
|
|
34
|
-
getVisibleCellTasks: (columnId: string | number, swimlaneId: string | number) => TaskBoardItem[];
|
|
35
|
-
getItemId: (item: TaskBoardItem) => string | number;
|
|
36
|
-
getItemColumnValue: (item: TaskBoardItem) => string | number;
|
|
37
|
-
getItemSwimlaneValue: (item: TaskBoardItem) => string | number | undefined;
|
|
38
|
-
canMoveIntoColumn: (columnId: string | number) => boolean;
|
|
39
|
-
canMoveOutOfColumn: (columnId: string | number) => boolean;
|
|
40
|
-
canKeyboardMove: () => boolean;
|
|
41
|
-
applyCardMoveHandler: (p: CardMovePayload) => void;
|
|
42
|
-
announce: (message: string) => void;
|
|
43
|
-
scrollToColumnImpl: (id: string | number) => void;
|
|
44
|
-
scrollToCardImpl: (id: string | number) => void;
|
|
45
|
-
emit: (event: string, ...args: unknown[]) => void;
|
|
46
|
-
getDisabled: () => boolean;
|
|
47
|
-
getReadonly: () => boolean;
|
|
48
|
-
getSelectionMode: () => TaskBoardSelectionMode;
|
|
49
|
-
dragMinDistance?: number;
|
|
50
|
-
}
|
|
51
|
-
export declare function useControllerInit(config: ControllerInitConfig): {
|
|
52
|
-
initializeCore: () => void;
|
|
53
|
-
cleanupControllers: () => void;
|
|
54
|
-
recordAudit: (action: string, taskId: string | number, description: string, before?: unknown, after?: unknown) => void;
|
|
55
|
-
canUndoState: Ref<boolean, boolean>;
|
|
56
|
-
canRedoState: Ref<boolean, boolean>;
|
|
57
|
-
getCoreInstance: () => TaskBoardInstance | null;
|
|
58
|
-
getDragController: () => DragController | null;
|
|
59
|
-
getSelectionController: () => SelectionController | null;
|
|
60
|
-
getWorkflowController: () => WorkflowController | null;
|
|
61
|
-
getKeyboardController: () => KeyboardController | null;
|
|
62
|
-
getHistoryController: () => HistoryController | null;
|
|
63
|
-
getAuditController: () => AuditController | null;
|
|
64
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Ref } from 'vue';
|
|
2
|
-
import type { HistoryController, MutationFieldConfig } from '@primeui/taskboard-core';
|
|
3
|
-
import type { TaskBoardItem } from '@primeui/taskboard-types';
|
|
4
|
-
export interface HistoryConfig {
|
|
5
|
-
tasks: Ref<TaskBoardItem[]>;
|
|
6
|
-
tasksWritable: Ref<TaskBoardItem[]>;
|
|
7
|
-
syncCoreProps: () => void;
|
|
8
|
-
announce: (message: string) => void;
|
|
9
|
-
getHistoryController: () => HistoryController | null;
|
|
10
|
-
getMutationFields: () => MutationFieldConfig;
|
|
11
|
-
}
|
|
12
|
-
export declare function useHistory(config: HistoryConfig): {
|
|
13
|
-
performUndo: () => void;
|
|
14
|
-
performRedo: () => void;
|
|
15
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type { Ref, ComputedRef } from 'vue';
|
|
2
|
-
import type { DragController, KeyboardController, SelectionController } from '@primeui/taskboard-core';
|
|
3
|
-
import type { TaskBoardColumn, TaskBoardItem } from '@primeui/taskboard-types';
|
|
4
|
-
export interface KeyboardHandlingConfig {
|
|
5
|
-
isDragging: Ref<boolean>;
|
|
6
|
-
draggedCardId: Ref<string | number | null>;
|
|
7
|
-
dragTargetColumnId: Ref<string | number | null>;
|
|
8
|
-
dragTargetIndex: Ref<number | null>;
|
|
9
|
-
dragTargetSwimlaneId: Ref<string | number | null>;
|
|
10
|
-
ghostPosition: Ref<{
|
|
11
|
-
x: number;
|
|
12
|
-
y: number;
|
|
13
|
-
} | null>;
|
|
14
|
-
draggedCardData: Ref<TaskBoardItem | null>;
|
|
15
|
-
selectedCardIds: Ref<(string | number)[]>;
|
|
16
|
-
selectionOrigin: Ref<'pointer' | 'keyboard' | null>;
|
|
17
|
-
focusedCardId: Ref<string | number | null>;
|
|
18
|
-
focusedColumnId: Ref<string | number | null>;
|
|
19
|
-
focusedSwimlaneId: Ref<string | number | null>;
|
|
20
|
-
rootRef: Ref<HTMLElement | undefined>;
|
|
21
|
-
allColumns: ComputedRef<TaskBoardColumn[]>;
|
|
22
|
-
getDragController: () => DragController | null;
|
|
23
|
-
getSelectionController: () => SelectionController | null;
|
|
24
|
-
getKeyboardController: () => KeyboardController | null;
|
|
25
|
-
onDocumentPointerMove: (e: PointerEvent) => void;
|
|
26
|
-
onDocumentPointerUp: (e: PointerEvent) => void;
|
|
27
|
-
performUndo: () => void;
|
|
28
|
-
performRedo: () => void;
|
|
29
|
-
emit: (event: string, ...args: unknown[]) => void;
|
|
30
|
-
}
|
|
31
|
-
export declare function isTaskBoardInteractiveKeyTarget(target: EventTarget | null): boolean;
|
|
32
|
-
export declare function useKeyboardHandling(config: KeyboardHandlingConfig): {
|
|
33
|
-
onKeyDown: (event: KeyboardEvent) => void;
|
|
34
|
-
onDocumentClick: (event: MouseEvent) => void;
|
|
35
|
-
activateKeyboardScope: () => void;
|
|
36
|
-
deactivateKeyboardScope: () => void;
|
|
37
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare function useTaskBoardAccess(): {
|
|
2
|
-
canDrag: import("vue").ComputedRef<boolean>;
|
|
3
|
-
canEdit: import("vue").ComputedRef<boolean>;
|
|
4
|
-
canCreate: import("vue").ComputedRef<boolean>;
|
|
5
|
-
canDelete: import("vue").ComputedRef<boolean>;
|
|
6
|
-
canMoveInto: (columnId: string | number) => boolean;
|
|
7
|
-
canMoveOut: (columnId: string | number) => boolean;
|
|
8
|
-
canView: (columnId: string | number) => boolean;
|
|
9
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare function useTaskBoardDrag(): {
|
|
2
|
-
isDragging: import("vue").Ref<boolean, boolean>;
|
|
3
|
-
draggedItem: import("vue").Ref<import("packages/components/taskboard/taskboard-types/src").TaskBoardItem | null, import("packages/components/taskboard/taskboard-types/src").TaskBoardItem | null>;
|
|
4
|
-
targetColumn: import("vue").Ref<string | number | null, string | number | null>;
|
|
5
|
-
targetIndex: import("vue").Ref<number | null, number | null>;
|
|
6
|
-
ghostPosition: import("vue").Ref<{
|
|
7
|
-
x: number;
|
|
8
|
-
y: number;
|
|
9
|
-
} | null, {
|
|
10
|
-
x: number;
|
|
11
|
-
y: number;
|
|
12
|
-
} | null>;
|
|
13
|
-
hiddenIds: () => (string | number)[];
|
|
14
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare function useTaskBoardSelection(): {
|
|
2
|
-
selectedIds: import("vue").Ref<(string | number)[], (string | number)[]>;
|
|
3
|
-
select: (cardId: string | number, options?: {
|
|
4
|
-
ctrlKey?: boolean;
|
|
5
|
-
shiftKey?: boolean;
|
|
6
|
-
metaKey?: boolean;
|
|
7
|
-
}) => void;
|
|
8
|
-
selectAll: (items: import("packages/components/taskboard/taskboard-types/src").TaskBoardItem[]) => void;
|
|
9
|
-
clear: () => void;
|
|
10
|
-
isSelected: (id: string | number) => boolean;
|
|
11
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare function useTaskBoardWorkflow(): {
|
|
2
|
-
getWipStatus: (columnId: string | number) => "normal" | "warning" | "exceeded" | undefined;
|
|
3
|
-
canMoveCard: (item: import("packages/components/taskboard/taskboard-types/src").TaskBoardItem, fromColumnId: string | number, toColumnId: string | number) => {
|
|
4
|
-
allowed: boolean;
|
|
5
|
-
reason?: string;
|
|
6
|
-
message?: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
package/dist/index.d.mts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export * as TaskBoard from './TaskBoard.parts';
|
|
2
|
-
export type * from '@primeui/taskboard-types';
|
|
3
|
-
export { default as TaskBoardRoot } from './TaskBoard.vue';
|
|
4
|
-
export { default as TaskBoardHeader } from './TaskBoardHeader.vue';
|
|
5
|
-
export { default as TaskBoardContent } from './TaskBoardContent.vue';
|
|
6
|
-
export { default as TaskBoardColumn } from './components/column/TaskBoardColumn.vue';
|
|
7
|
-
export { default as TaskBoardColumnHeader } from './components/column/TaskBoardColumnHeader.vue';
|
|
8
|
-
export { default as TaskBoardColumnContent } from './components/column/TaskBoardColumnContent.vue';
|
|
9
|
-
export { default as TaskBoardColumnFooter } from './components/column/TaskBoardColumnFooter.vue';
|
|
10
|
-
export { default as TaskBoardColumnEmpty } from './components/column/TaskBoardColumnEmpty.vue';
|
|
11
|
-
export { default as TaskBoardColumnAdd } from './components/column/TaskBoardColumnAdd.vue';
|
|
12
|
-
export { default as TaskBoardCard } from './components/card/TaskBoardCard.vue';
|
|
13
|
-
export { default as TaskBoardCardHeader } from './components/card/TaskBoardCardHeader.vue';
|
|
14
|
-
export { default as TaskBoardCardContent } from './components/card/TaskBoardCardContent.vue';
|
|
15
|
-
export { default as TaskBoardCardFooter } from './components/card/TaskBoardCardFooter.vue';
|
|
16
|
-
export { default as TaskBoardCardAdd } from './components/card/TaskBoardCardAdd.vue';
|
|
17
|
-
export { default as TaskBoardDragPreview } from './components/overlay/TaskBoardDragPreview.vue';
|
|
18
|
-
export { default as TaskBoardDragConfirm } from './components/overlay/TaskBoardDragConfirm.vue';
|
|
19
|
-
export { default as TaskBoardDropIndicator } from './components/overlay/TaskBoardDropIndicator';
|
|
20
|
-
export { default as TaskBoardLoading } from './TaskBoardLoading.vue';
|
|
21
|
-
export { default as TaskBoardSwimlaneHeader } from './components/swimlane/TaskBoardSwimlaneHeader.vue';
|
|
22
|
-
export { default as TaskBoardSwimlaneColumnHeader } from './components/swimlane/TaskBoardSwimlaneColumnHeader.vue';
|
|
23
|
-
export { TASKBOARD_KEY, COLUMN_KEY, CARD_KEY, SWIMLANE_KEY, useTaskBoardContext, useTaskBoardColumnContext, useTaskBoardCardContext, useTaskBoardSwimlaneHeaderContext } from './TaskBoard.context';
|
|
24
|
-
export type { TaskBoardContext, ColumnContext, CardContext, SwimlaneContext } from './TaskBoard.context';
|
|
25
|
-
export { useTaskBoardSelection } from './composables/useTaskBoardSelection';
|
|
26
|
-
export { useTaskBoardHistory } from './composables/useTaskBoardHistory';
|
|
27
|
-
export { useTaskBoardAccess } from './composables/useTaskBoardAccess';
|
|
28
|
-
export { useTaskBoardWorkflow } from './composables/useTaskBoardWorkflow';
|
|
29
|
-
export { useTaskBoardDrag } from './composables/useTaskBoardDrag';
|
package/dist/release-date.d.mts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Release date of this specific version of @primeui/vue-taskboard.
|
|
3
|
-
*
|
|
4
|
-
* Passed to the license verifier so perpetual licenses are enforced against
|
|
5
|
-
* version dates: a license with `update_ends_at` earlier than this date does
|
|
6
|
-
* not cover the installed version.
|
|
7
|
-
*
|
|
8
|
-
* Kept as a literal for now. A build script should generate this file from
|
|
9
|
-
* the package's git tag / publish date going forward.
|
|
10
|
-
*/
|
|
11
|
-
export declare const RELEASE_DATE = "2026-04-23";
|