pukaad-ui-lib 1.202.0 → 1.204.0
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/module.json +1 -1
- package/dist/runtime/components/comment.d.vue.ts +34 -4
- package/dist/runtime/components/comment.vue +425 -86
- package/dist/runtime/components/comment.vue.d.ts +34 -4
- package/dist/runtime/components/dialog/dialog-email-OTP.d.vue.ts +2 -2
- package/dist/runtime/components/dialog/dialog-email-OTP.vue.d.ts +2 -2
- package/dist/runtime/components/dialog/dialog-phone-OTP.d.vue.ts +2 -2
- package/dist/runtime/components/dialog/dialog-phone-OTP.vue.d.ts +2 -2
- package/dist/runtime/components/drawer/drawer.d.vue.ts +1 -1
- package/dist/runtime/components/drawer/drawer.vue.d.ts +1 -1
- package/dist/runtime/components/image/image-cropper.d.vue.ts +2 -2
- package/dist/runtime/components/image/image-cropper.vue.d.ts +2 -2
- package/dist/runtime/components/input/input-autocomplete.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-autocomplete.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-combobox.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-combobox.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-file.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-file.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-password.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-password.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-slider.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-slider.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-text-field.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-text-field.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-textarea.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-textarea.vue.d.ts +1 -1
- package/dist/runtime/components/modal/modal-account-disabled-alert.d.vue.ts +2 -2
- package/dist/runtime/components/modal/modal-account-disabled-alert.vue.d.ts +2 -2
- package/dist/runtime/components/modal/modal-account-disabled-confirmed.d.vue.ts +2 -2
- package/dist/runtime/components/modal/modal-account-disabled-confirmed.vue.d.ts +2 -2
- package/dist/runtime/components/modal/modal-account-disabled-reason.d.vue.ts +2 -2
- package/dist/runtime/components/modal/modal-account-disabled-reason.vue.d.ts +2 -2
- package/dist/runtime/components/modal/modal-password-confirmed.d.vue.ts +3 -3
- package/dist/runtime/components/modal/modal-password-confirmed.vue.d.ts +3 -3
- package/dist/runtime/components/modal/modal-password-new.d.vue.ts +2 -2
- package/dist/runtime/components/modal/modal-password-new.vue.d.ts +2 -2
- package/dist/runtime/components/modal/modal-password-verify.d.vue.ts +3 -3
- package/dist/runtime/components/modal/modal-password-verify.vue.d.ts +3 -3
- package/dist/runtime/components/modal/modal-phone-OTP.d.vue.ts +2 -2
- package/dist/runtime/components/modal/modal-phone-OTP.vue.d.ts +2 -2
- package/dist/runtime/components/modal/modal-report.d.vue.ts +22 -1
- package/dist/runtime/components/modal/modal-report.vue +86 -26
- package/dist/runtime/components/modal/modal-report.vue.d.ts +22 -1
- package/dist/runtime/components/modal/modal.d.vue.ts +1 -1
- package/dist/runtime/components/modal/modal.vue.d.ts +1 -1
- package/dist/runtime/components/picker/picker-option-menu/picker-option-menu-user.vue +2 -1
- package/dist/runtime/components/picker/picker-option-menu/picker-option-menu.d.vue.ts +11 -2
- package/dist/runtime/components/picker/picker-option-menu/picker-option-menu.vue +8 -4
- package/dist/runtime/components/picker/picker-option-menu/picker-option-menu.vue.d.ts +11 -2
- package/dist/runtime/components/ui/button/index.d.ts +1 -1
- package/dist/runtime/components/ui/button/index.js +1 -0
- package/dist/runtime/components/ui/carousel/CarouselNext.d.vue.ts +1 -1
- package/dist/runtime/components/ui/carousel/CarouselNext.vue.d.ts +1 -1
- package/dist/runtime/components/ui/carousel/CarouselPrevious.d.vue.ts +1 -1
- package/dist/runtime/components/ui/carousel/CarouselPrevious.vue.d.ts +1 -1
- package/dist/runtime/components/ui/input-group/InputGroupButton.d.vue.ts +1 -1
- package/dist/runtime/components/ui/input-group/InputGroupButton.vue.d.ts +1 -1
- package/dist/runtime/components/ui/input-group/index.d.ts +1 -1
- package/dist/runtime/components/ui/native-select/NativeSelectOptGroup.d.vue.ts +2 -2
- package/dist/runtime/components/ui/native-select/NativeSelectOptGroup.vue.d.ts +2 -2
- package/dist/runtime/components/ui/native-select/NativeSelectOption.d.vue.ts +2 -2
- package/dist/runtime/components/ui/native-select/NativeSelectOption.vue.d.ts +2 -2
- package/dist/runtime/components/ui/pagination/PaginationFirst.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationFirst.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationItem.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationItem.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationLast.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationLast.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationNext.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationNext.vue.d.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationPrevious.d.vue.ts +1 -1
- package/dist/runtime/components/ui/pagination/PaginationPrevious.vue.d.ts +1 -1
- package/dist/runtime/components/ui/select/Select.d.vue.ts +2 -2
- package/dist/runtime/components/ui/select/Select.vue.d.ts +2 -2
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -22,21 +22,51 @@ export interface CommentItem {
|
|
|
22
22
|
reply_count: number;
|
|
23
23
|
reply: Reply[];
|
|
24
24
|
}
|
|
25
|
+
export interface CommentFetchResult {
|
|
26
|
+
data: CommentItem[];
|
|
27
|
+
totalComments: number;
|
|
28
|
+
meta: {
|
|
29
|
+
total_pages: number;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
25
32
|
type __VLS_Props = {
|
|
26
|
-
comments
|
|
27
|
-
commentCount
|
|
33
|
+
comments?: CommentItem[];
|
|
34
|
+
commentCount?: number;
|
|
28
35
|
currentUser: User;
|
|
36
|
+
fetchFn?: (page: number, pageSize: number) => Promise<CommentFetchResult>;
|
|
37
|
+
pageSize?: number;
|
|
29
38
|
};
|
|
30
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
39
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
40
|
+
addComment: (comment: CommentItem) => void;
|
|
41
|
+
addReply: (commentId: string, reply: Reply) => void;
|
|
42
|
+
removeComment: (commentId: string) => void;
|
|
43
|
+
removeReply: (replyId: string) => void;
|
|
44
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
31
45
|
submit: (content: string) => any;
|
|
32
46
|
reply: (commentId: string, replyToUserId: string | undefined, content: string) => any;
|
|
33
47
|
"like-comment": (comment: CommentItem) => any;
|
|
34
48
|
"like-reply": (reply: Reply) => any;
|
|
49
|
+
"edit-comment": (comment: CommentItem, content: string) => any;
|
|
50
|
+
"edit-reply": (reply: Reply, content: string) => any;
|
|
51
|
+
"delete-comment": (comment: CommentItem) => any;
|
|
52
|
+
"delete-reply": (reply: Reply) => any;
|
|
53
|
+
"report-comment": (comment: CommentItem) => any;
|
|
54
|
+
"report-reply": (reply: Reply) => any;
|
|
35
55
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
36
56
|
onSubmit?: ((content: string) => any) | undefined;
|
|
37
57
|
onReply?: ((commentId: string, replyToUserId: string | undefined, content: string) => any) | undefined;
|
|
38
58
|
"onLike-comment"?: ((comment: CommentItem) => any) | undefined;
|
|
39
59
|
"onLike-reply"?: ((reply: Reply) => any) | undefined;
|
|
40
|
-
|
|
60
|
+
"onEdit-comment"?: ((comment: CommentItem, content: string) => any) | undefined;
|
|
61
|
+
"onEdit-reply"?: ((reply: Reply, content: string) => any) | undefined;
|
|
62
|
+
"onDelete-comment"?: ((comment: CommentItem) => any) | undefined;
|
|
63
|
+
"onDelete-reply"?: ((reply: Reply) => any) | undefined;
|
|
64
|
+
"onReport-comment"?: ((comment: CommentItem) => any) | undefined;
|
|
65
|
+
"onReport-reply"?: ((reply: Reply) => any) | undefined;
|
|
66
|
+
}>, {
|
|
67
|
+
comments: CommentItem[];
|
|
68
|
+
commentCount: number;
|
|
69
|
+
pageSize: number;
|
|
70
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
71
|
declare const _default: typeof __VLS_export;
|
|
42
72
|
export default _default;
|