pukaad-ui-lib 1.198.0 → 1.199.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 +0 -1
- package/dist/runtime/components/comment.vue +8 -10
- package/dist/runtime/components/comment.vue.d.ts +0 -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/modal/modal-password-confirmed.d.vue.ts +1 -1
- package/dist/runtime/components/modal/modal-password-confirmed.vue.d.ts +1 -1
- package/dist/runtime/components/modal/modal-password-verify.d.vue.ts +1 -1
- package/dist/runtime/components/modal/modal-password-verify.vue.d.ts +1 -1
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
<Avatar
|
|
42
42
|
:size="30"
|
|
43
43
|
class="cursor-pointer"
|
|
44
|
-
@click="onViewProfileComment(cmt.user.
|
|
44
|
+
@click="onViewProfileComment(cmt.user.id)"
|
|
45
45
|
/>
|
|
46
46
|
<div class="flex flex-col gap-[4px] bg-bright p-[8px] rounded-lg">
|
|
47
47
|
<div
|
|
48
48
|
class="font-body-large-prominent cursor-pointer"
|
|
49
|
-
@click="onViewProfileComment(cmt.user.
|
|
49
|
+
@click="onViewProfileComment(cmt.user.id)"
|
|
50
50
|
>
|
|
51
51
|
{{ cmt.user.name }}
|
|
52
52
|
</div>
|
|
@@ -170,12 +170,12 @@
|
|
|
170
170
|
<Avatar
|
|
171
171
|
:size="30"
|
|
172
172
|
class="cursor-pointer"
|
|
173
|
-
@click="onViewProfileComment(reply.user.
|
|
173
|
+
@click="onViewProfileComment(reply.user.id)"
|
|
174
174
|
/>
|
|
175
175
|
<div class="flex flex-col bg-bright p-[8px] rounded-lg gap-[4px]">
|
|
176
176
|
<div
|
|
177
177
|
class="font-body-large-prominent cursor-pointer"
|
|
178
|
-
@click="onViewProfileComment(reply.user.
|
|
178
|
+
@click="onViewProfileComment(reply.user.id)"
|
|
179
179
|
>
|
|
180
180
|
{{ reply.user.name }}
|
|
181
181
|
</div>
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
"
|
|
192
192
|
><span
|
|
193
193
|
v-if="reply.reply_to"
|
|
194
|
-
@click="onViewProfileComment(reply.reply_to.
|
|
194
|
+
@click="onViewProfileComment(reply.reply_to.id)"
|
|
195
195
|
class="text-primary cursor-pointer mr-1"
|
|
196
196
|
>{{ reply.reply_to.name }}</span
|
|
197
197
|
>{{ normalizeContent(reply.content) }}</template
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
<template v-else
|
|
200
200
|
><span
|
|
201
201
|
v-if="reply.reply_to"
|
|
202
|
-
@click="onViewProfileComment(reply.reply_to.
|
|
202
|
+
@click="onViewProfileComment(reply.reply_to.id)"
|
|
203
203
|
class="text-primary cursor-pointer mr-1"
|
|
204
204
|
>{{ reply.reply_to.name }}</span
|
|
205
205
|
>{{ getTruncatedText(`reply-${reply.id}`) }}...<span
|
|
@@ -495,10 +495,8 @@ const onToggleLikeComment = (comment) => {
|
|
|
495
495
|
const onToggleLikeReplyComment = (reply) => {
|
|
496
496
|
emit("like-reply", reply);
|
|
497
497
|
};
|
|
498
|
-
const onViewProfileComment = (
|
|
499
|
-
if (
|
|
500
|
-
router.push(`/${path_name}`);
|
|
501
|
-
}
|
|
498
|
+
const onViewProfileComment = (id) => {
|
|
499
|
+
if (id) router.push(`/@${id}`);
|
|
502
500
|
};
|
|
503
501
|
const getOtherUserRepliesCount = (cmt) => (cmt.reply || []).filter((r) => r.user?.id !== currentUser.value?.id).length;
|
|
504
502
|
const hasOtherUserReplies = (cmt) => getOtherUserRepliesCount(cmt) > 0;
|
|
@@ -31,8 +31,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
31
31
|
fullHeight: boolean;
|
|
32
32
|
name: string;
|
|
33
33
|
limit: number;
|
|
34
|
-
accept: string;
|
|
35
34
|
disabledErrorMessage: boolean;
|
|
35
|
+
accept: string;
|
|
36
36
|
labelIcon: string;
|
|
37
37
|
disabledDrop: boolean;
|
|
38
38
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -31,8 +31,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
31
31
|
fullHeight: boolean;
|
|
32
32
|
name: string;
|
|
33
33
|
limit: number;
|
|
34
|
-
accept: string;
|
|
35
34
|
disabledErrorMessage: boolean;
|
|
35
|
+
accept: string;
|
|
36
36
|
labelIcon: string;
|
|
37
37
|
disabledDrop: boolean;
|
|
38
38
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -22,8 +22,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
22
22
|
}>, {
|
|
23
23
|
id: string;
|
|
24
24
|
name: string;
|
|
25
|
-
disabledForgotPassword: boolean;
|
|
26
25
|
new: boolean;
|
|
26
|
+
disabledForgotPassword: boolean;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const _default: typeof __VLS_export;
|
|
29
29
|
export default _default;
|
|
@@ -22,8 +22,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
22
22
|
}>, {
|
|
23
23
|
id: string;
|
|
24
24
|
name: string;
|
|
25
|
-
disabledForgotPassword: boolean;
|
|
26
25
|
new: boolean;
|
|
26
|
+
disabledForgotPassword: boolean;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const _default: typeof __VLS_export;
|
|
29
29
|
export default _default;
|
|
@@ -12,9 +12,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
12
12
|
label: string;
|
|
13
13
|
color: InputSliderColor;
|
|
14
14
|
fullWidth: boolean;
|
|
15
|
-
step: number;
|
|
16
15
|
max: number;
|
|
17
16
|
min: number;
|
|
17
|
+
step: number;
|
|
18
18
|
lineHeight: number | string;
|
|
19
19
|
appearance: boolean;
|
|
20
20
|
thumbSize: number | string;
|
|
@@ -12,9 +12,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
12
12
|
label: string;
|
|
13
13
|
color: InputSliderColor;
|
|
14
14
|
fullWidth: boolean;
|
|
15
|
-
step: number;
|
|
16
15
|
max: number;
|
|
17
16
|
min: number;
|
|
17
|
+
step: number;
|
|
18
18
|
lineHeight: number | string;
|
|
19
19
|
appearance: boolean;
|
|
20
20
|
thumbSize: number | string;
|
|
@@ -24,8 +24,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
24
24
|
onClose?: (() => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
title: string;
|
|
27
|
-
confirmText: string;
|
|
28
27
|
disabledForgotPassword: boolean;
|
|
28
|
+
confirmText: string;
|
|
29
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
31
31
|
export default _default;
|
|
@@ -24,8 +24,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
24
24
|
onClose?: (() => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
26
|
title: string;
|
|
27
|
-
confirmText: string;
|
|
28
27
|
disabledForgotPassword: boolean;
|
|
28
|
+
confirmText: string;
|
|
29
29
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
31
31
|
export default _default;
|
|
@@ -28,8 +28,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
28
28
|
}>, {
|
|
29
29
|
title: string;
|
|
30
30
|
mode: "login" | "secure";
|
|
31
|
-
confirmText: string;
|
|
32
31
|
disabledForgotPassword: boolean;
|
|
32
|
+
confirmText: string;
|
|
33
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
34
|
declare const _default: typeof __VLS_export;
|
|
35
35
|
export default _default;
|
|
@@ -28,8 +28,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
28
28
|
}>, {
|
|
29
29
|
title: string;
|
|
30
30
|
mode: "login" | "secure";
|
|
31
|
-
confirmText: string;
|
|
32
31
|
disabledForgotPassword: boolean;
|
|
32
|
+
confirmText: string;
|
|
33
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
34
|
declare const _default: typeof __VLS_export;
|
|
35
35
|
export default _default;
|