pukaad-ui-lib 1.301.0 → 1.303.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/card/card-review.vue +4 -2
- package/dist/runtime/components/drawer/drawer-post-review.vue +14 -5
- package/dist/runtime/components/input/input-address.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-address.vue.d.ts +1 -1
- 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-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-tag.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-tag.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
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
|
|
2
|
+
<div
|
|
3
|
+
class="py-[16px] border-b-[1px] border-mercury last:border-b-0 flex gap-[16px] w-full"
|
|
4
|
+
>
|
|
5
|
+
<div>
|
|
4
6
|
<Avatar
|
|
5
7
|
:src="props.item.user.avatar"
|
|
6
8
|
alt="profile_myProfile"
|
|
@@ -8,10 +8,15 @@
|
|
|
8
8
|
v-model="isOpen"
|
|
9
9
|
>
|
|
10
10
|
<div class="flex flex-col gap-[16px]">
|
|
11
|
-
<div
|
|
12
|
-
|
|
11
|
+
<div
|
|
12
|
+
v-if="form.coverImage || form.placeName || form.address"
|
|
13
|
+
class="flex gap-[16px]"
|
|
14
|
+
>
|
|
15
|
+
<div
|
|
16
|
+
v-if="form.coverImage"
|
|
17
|
+
class="w-[178px] h-[100px] rounded-[8px] overflow-hidden flex-shrink-0"
|
|
18
|
+
>
|
|
13
19
|
<Image
|
|
14
|
-
v-if="form.coverImage"
|
|
15
20
|
:src="form.coverImage"
|
|
16
21
|
width="auto"
|
|
17
22
|
height="auto"
|
|
@@ -57,7 +62,9 @@
|
|
|
57
62
|
|
|
58
63
|
<template #footer>
|
|
59
64
|
<div class="flex justify-end gap-[16px] items-center">
|
|
60
|
-
<Button variant="outline" @click="onClose" :disabled="isSubmitting"
|
|
65
|
+
<Button variant="outline" @click="onClose" :disabled="isSubmitting"
|
|
66
|
+
>ยกเลิก</Button
|
|
67
|
+
>
|
|
61
68
|
<Button
|
|
62
69
|
type="submit"
|
|
63
70
|
color="primary"
|
|
@@ -114,7 +121,9 @@ watch(isOpen, (newVal) => {
|
|
|
114
121
|
}
|
|
115
122
|
});
|
|
116
123
|
const isEdit = computed(() => (props.item?.rating ?? 0) > 0);
|
|
117
|
-
const drawerTitle = computed(
|
|
124
|
+
const drawerTitle = computed(
|
|
125
|
+
() => isEdit.value ? "\u0E41\u0E01\u0E49\u0E44\u0E02\u0E23\u0E35\u0E27\u0E34\u0E27" : "\u0E40\u0E02\u0E35\u0E22\u0E19\u0E23\u0E35\u0E27\u0E34\u0E27"
|
|
126
|
+
);
|
|
118
127
|
const hasChanges = () => {
|
|
119
128
|
const orig = props.item;
|
|
120
129
|
if (form.value.rating !== orig.rating) return true;
|
|
@@ -49,11 +49,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
49
49
|
label: string;
|
|
50
50
|
required: boolean;
|
|
51
51
|
name: string;
|
|
52
|
-
gap: string;
|
|
53
52
|
placeholder: string;
|
|
54
53
|
labelDetail: string;
|
|
55
54
|
placeholderDetail: string;
|
|
56
55
|
requiredDetail: boolean;
|
|
56
|
+
gap: string;
|
|
57
57
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
58
58
|
declare const _default: typeof __VLS_export;
|
|
59
59
|
export default _default;
|
|
@@ -49,11 +49,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
49
49
|
label: string;
|
|
50
50
|
required: boolean;
|
|
51
51
|
name: string;
|
|
52
|
-
gap: string;
|
|
53
52
|
placeholder: string;
|
|
54
53
|
labelDetail: string;
|
|
55
54
|
placeholderDetail: string;
|
|
56
55
|
requiredDetail: boolean;
|
|
56
|
+
gap: string;
|
|
57
57
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
58
58
|
declare const _default: typeof __VLS_export;
|
|
59
59
|
export default _default;
|
|
@@ -50,8 +50,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
50
50
|
name: string;
|
|
51
51
|
options: AutocompleteOption[] | string[] | number[];
|
|
52
52
|
description: string;
|
|
53
|
-
placeholder: string;
|
|
54
53
|
limit: number;
|
|
54
|
+
placeholder: string;
|
|
55
55
|
disabledErrorMessage: boolean;
|
|
56
56
|
disabledBorder: boolean;
|
|
57
57
|
showCounter: boolean;
|
|
@@ -50,8 +50,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
50
50
|
name: string;
|
|
51
51
|
options: AutocompleteOption[] | string[] | number[];
|
|
52
52
|
description: string;
|
|
53
|
-
placeholder: string;
|
|
54
53
|
limit: number;
|
|
54
|
+
placeholder: string;
|
|
55
55
|
disabledErrorMessage: boolean;
|
|
56
56
|
disabledBorder: boolean;
|
|
57
57
|
showCounter: boolean;
|
|
@@ -34,9 +34,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
34
34
|
fullWidth: boolean;
|
|
35
35
|
fullHeight: boolean;
|
|
36
36
|
name: string;
|
|
37
|
-
accept: string;
|
|
38
37
|
limit: number;
|
|
39
38
|
disabledErrorMessage: boolean;
|
|
39
|
+
accept: string;
|
|
40
40
|
labelIcon: string;
|
|
41
41
|
disabledDrop: boolean;
|
|
42
42
|
column: boolean;
|
|
@@ -34,9 +34,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
34
34
|
fullWidth: boolean;
|
|
35
35
|
fullHeight: boolean;
|
|
36
36
|
name: string;
|
|
37
|
-
accept: string;
|
|
38
37
|
limit: number;
|
|
39
38
|
disabledErrorMessage: boolean;
|
|
39
|
+
accept: string;
|
|
40
40
|
labelIcon: string;
|
|
41
41
|
disabledDrop: boolean;
|
|
42
42
|
column: boolean;
|
|
@@ -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;
|
|
@@ -26,8 +26,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
26
26
|
}>, {
|
|
27
27
|
name: string;
|
|
28
28
|
state: "user" | "admin";
|
|
29
|
-
placeholder: string;
|
|
30
29
|
limit: number;
|
|
30
|
+
placeholder: string;
|
|
31
31
|
ignore: string[];
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
|
@@ -26,8 +26,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
26
26
|
}>, {
|
|
27
27
|
name: string;
|
|
28
28
|
state: "user" | "admin";
|
|
29
|
-
placeholder: string;
|
|
30
29
|
limit: number;
|
|
30
|
+
placeholder: string;
|
|
31
31
|
ignore: string[];
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
|
@@ -24,8 +24,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
24
24
|
}) => 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
|
}) => 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;
|
|
@@ -32,8 +32,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
32
32
|
}>, {
|
|
33
33
|
title: string;
|
|
34
34
|
mode: "login" | "secure";
|
|
35
|
-
confirmText: string;
|
|
36
35
|
disabledForgotPassword: boolean;
|
|
36
|
+
confirmText: string;
|
|
37
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const _default: typeof __VLS_export;
|
|
39
39
|
export default _default;
|
|
@@ -32,8 +32,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
32
32
|
}>, {
|
|
33
33
|
title: string;
|
|
34
34
|
mode: "login" | "secure";
|
|
35
|
-
confirmText: string;
|
|
36
35
|
disabledForgotPassword: boolean;
|
|
36
|
+
confirmText: string;
|
|
37
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const _default: typeof __VLS_export;
|
|
39
39
|
export default _default;
|