pukaad-ui-lib 1.441.0 → 1.443.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-profile/card-profile-header.d.vue.ts +1 -1
- package/dist/runtime/components/card/card-profile/card-profile-header.vue.d.ts +1 -1
- package/dist/runtime/components/card/card-reaction.d.vue.ts +1 -1
- package/dist/runtime/components/card/card-reaction.vue.d.ts +1 -1
- package/dist/runtime/components/card/card-review.d.vue.ts +5 -5
- package/dist/runtime/components/card/card-review.vue.d.ts +5 -5
- package/dist/runtime/components/chat/chat-conversation-item.d.vue.ts +3 -3
- package/dist/runtime/components/chat/chat-conversation-item.vue.d.ts +3 -3
- package/dist/runtime/components/display/display-image-place.d.vue.ts +1 -1
- package/dist/runtime/components/display/display-image-place.vue.d.ts +1 -1
- package/dist/runtime/components/drawer/drawer-profile-network.d.vue.ts +1 -1
- package/dist/runtime/components/drawer/drawer-profile-network.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-address.d.vue.ts +2 -2
- package/dist/runtime/components/input/input-address.vue +39 -27
- package/dist/runtime/components/input/input-address.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-file.d.vue.ts +5 -5
- package/dist/runtime/components/input/input-file.vue +12 -0
- package/dist/runtime/components/input/input-file.vue.d.ts +5 -5
- package/dist/runtime/components/input/input-localized-name.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-localized-name.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-typed-field.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-typed-field.vue.d.ts +1 -1
- package/dist/runtime/components/modal/modal-media-view.d.vue.ts +1 -1
- package/dist/runtime/components/modal/modal-media-view.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
|
@@ -7,8 +7,8 @@ declare const __VLS_export: import("vue").DefineComponent<CardProfileAboutProps,
|
|
|
7
7
|
onChat?: (() => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
9
|
type: "article" | "media" | "sale-info";
|
|
10
|
-
disabledPadding: boolean;
|
|
11
10
|
preview: boolean;
|
|
11
|
+
disabledPadding: boolean;
|
|
12
12
|
optionMenuButtonType: "solid" | "text";
|
|
13
13
|
actionsHidden: boolean;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -7,8 +7,8 @@ declare const __VLS_export: import("vue").DefineComponent<CardProfileAboutProps,
|
|
|
7
7
|
onChat?: (() => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
9
|
type: "article" | "media" | "sale-info";
|
|
10
|
-
disabledPadding: boolean;
|
|
11
10
|
preview: boolean;
|
|
11
|
+
disabledPadding: boolean;
|
|
12
12
|
optionMenuButtonType: "solid" | "text";
|
|
13
13
|
actionsHidden: boolean;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -25,6 +25,7 @@ type __VLS_Props = {
|
|
|
25
25
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
id: string;
|
|
28
|
+
state: string;
|
|
28
29
|
itemCount: Count;
|
|
29
30
|
itemActive: Reacted;
|
|
30
31
|
padding: string | number;
|
|
@@ -32,7 +33,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
32
33
|
disabledDividerTop: boolean;
|
|
33
34
|
disabledDividerBottom: boolean;
|
|
34
35
|
iconSize: number | string;
|
|
35
|
-
state: string;
|
|
36
36
|
loginPath: string;
|
|
37
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const _default: typeof __VLS_export;
|
|
@@ -25,6 +25,7 @@ type __VLS_Props = {
|
|
|
25
25
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
id: string;
|
|
28
|
+
state: string;
|
|
28
29
|
itemCount: Count;
|
|
29
30
|
itemActive: Reacted;
|
|
30
31
|
padding: string | number;
|
|
@@ -32,7 +33,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
32
33
|
disabledDividerTop: boolean;
|
|
33
34
|
disabledDividerBottom: boolean;
|
|
34
35
|
iconSize: number | string;
|
|
35
|
-
state: string;
|
|
36
36
|
loginPath: string;
|
|
37
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const _default: typeof __VLS_export;
|
|
@@ -36,17 +36,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
36
36
|
"onReply-delete"?: ((item: CardReviewProps) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
38
|
item: CardReviewProps;
|
|
39
|
-
disabledMenu: boolean;
|
|
40
|
-
isProfile: boolean;
|
|
41
|
-
disabledLike: boolean;
|
|
42
|
-
allowReply: boolean;
|
|
43
|
-
replyAvatar: string;
|
|
44
39
|
place: {
|
|
45
40
|
id: string | number;
|
|
46
41
|
name?: string;
|
|
47
42
|
address?: string;
|
|
48
43
|
cover?: string;
|
|
49
44
|
};
|
|
45
|
+
disabledMenu: boolean;
|
|
46
|
+
isProfile: boolean;
|
|
47
|
+
disabledLike: boolean;
|
|
48
|
+
allowReply: boolean;
|
|
49
|
+
replyAvatar: string;
|
|
50
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
51
|
declare const _default: typeof __VLS_export;
|
|
52
52
|
export default _default;
|
|
@@ -36,17 +36,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
36
36
|
"onReply-delete"?: ((item: CardReviewProps) => any) | undefined;
|
|
37
37
|
}>, {
|
|
38
38
|
item: CardReviewProps;
|
|
39
|
-
disabledMenu: boolean;
|
|
40
|
-
isProfile: boolean;
|
|
41
|
-
disabledLike: boolean;
|
|
42
|
-
allowReply: boolean;
|
|
43
|
-
replyAvatar: string;
|
|
44
39
|
place: {
|
|
45
40
|
id: string | number;
|
|
46
41
|
name?: string;
|
|
47
42
|
address?: string;
|
|
48
43
|
cover?: string;
|
|
49
44
|
};
|
|
45
|
+
disabledMenu: boolean;
|
|
46
|
+
isProfile: boolean;
|
|
47
|
+
disabledLike: boolean;
|
|
48
|
+
allowReply: boolean;
|
|
49
|
+
replyAvatar: string;
|
|
50
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
51
|
declare const _default: typeof __VLS_export;
|
|
52
52
|
export default _default;
|
|
@@ -26,13 +26,13 @@ declare const __VLS_export: import("vue").DefineComponent<ChatConversationItemPr
|
|
|
26
26
|
name: string;
|
|
27
27
|
avatar: string | null;
|
|
28
28
|
muted: boolean;
|
|
29
|
-
|
|
29
|
+
unreadCount: number;
|
|
30
|
+
pinned: boolean;
|
|
30
31
|
preview: string;
|
|
31
32
|
to: string;
|
|
33
|
+
disabledMenu: boolean;
|
|
32
34
|
active: boolean;
|
|
33
35
|
typing: boolean;
|
|
34
|
-
unreadCount: number;
|
|
35
|
-
pinned: boolean;
|
|
36
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
37
|
declare const _default: typeof __VLS_export;
|
|
38
38
|
export default _default;
|
|
@@ -26,13 +26,13 @@ declare const __VLS_export: import("vue").DefineComponent<ChatConversationItemPr
|
|
|
26
26
|
name: string;
|
|
27
27
|
avatar: string | null;
|
|
28
28
|
muted: boolean;
|
|
29
|
-
|
|
29
|
+
unreadCount: number;
|
|
30
|
+
pinned: boolean;
|
|
30
31
|
preview: string;
|
|
31
32
|
to: string;
|
|
33
|
+
disabledMenu: boolean;
|
|
32
34
|
active: boolean;
|
|
33
35
|
typing: boolean;
|
|
34
|
-
unreadCount: number;
|
|
35
|
-
pinned: boolean;
|
|
36
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
37
|
declare const _default: typeof __VLS_export;
|
|
38
38
|
export default _default;
|
|
@@ -15,9 +15,9 @@ type __VLS_Props = {
|
|
|
15
15
|
};
|
|
16
16
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
17
|
title: string;
|
|
18
|
-
state: "personal" | "office" | "business";
|
|
19
18
|
photos: MediaItem[];
|
|
20
19
|
videos: MediaItem[];
|
|
20
|
+
state: "personal" | "office" | "business";
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
23
23
|
export default _default;
|
|
@@ -15,9 +15,9 @@ type __VLS_Props = {
|
|
|
15
15
|
};
|
|
16
16
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
17
|
title: string;
|
|
18
|
-
state: "personal" | "office" | "business";
|
|
19
18
|
photos: MediaItem[];
|
|
20
19
|
videos: MediaItem[];
|
|
20
|
+
state: "personal" | "office" | "business";
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
23
23
|
export default _default;
|
|
@@ -30,9 +30,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
30
30
|
"onExplore-places"?: (() => any) | undefined;
|
|
31
31
|
"onRequire-auth"?: (() => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
|
-
isMyProfile: boolean;
|
|
34
33
|
profileId: string;
|
|
35
34
|
defaultTab: "followers" | "following" | "favorites";
|
|
35
|
+
isMyProfile: boolean;
|
|
36
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
37
|
declare const _default: typeof __VLS_export;
|
|
38
38
|
export default _default;
|
|
@@ -30,9 +30,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
30
30
|
"onExplore-places"?: (() => any) | undefined;
|
|
31
31
|
"onRequire-auth"?: (() => any) | undefined;
|
|
32
32
|
}>, {
|
|
33
|
-
isMyProfile: boolean;
|
|
34
33
|
profileId: string;
|
|
35
34
|
defaultTab: "followers" | "following" | "favorites";
|
|
35
|
+
isMyProfile: boolean;
|
|
36
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
37
|
declare const _default: typeof __VLS_export;
|
|
38
38
|
export default _default;
|
|
@@ -17,7 +17,7 @@ export interface InputAddressProps {
|
|
|
17
17
|
requiredDetail?: boolean;
|
|
18
18
|
rules?: object | string | Function;
|
|
19
19
|
layout?: "vertical" | "horizontal";
|
|
20
|
-
gap?: string;
|
|
20
|
+
gap?: number | string;
|
|
21
21
|
fixedProvinceId?: number;
|
|
22
22
|
}
|
|
23
23
|
type __VLS_Props = InputAddressProps;
|
|
@@ -52,10 +52,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
52
52
|
required: boolean;
|
|
53
53
|
placeholder: string;
|
|
54
54
|
layout: "vertical" | "horizontal";
|
|
55
|
+
gap: number | string;
|
|
55
56
|
labelDetail: string;
|
|
56
57
|
placeholderDetail: string;
|
|
57
58
|
requiredDetail: boolean;
|
|
58
|
-
gap: string;
|
|
59
59
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
60
60
|
declare const _default: typeof __VLS_export;
|
|
61
61
|
export default _default;
|
|
@@ -1,24 +1,26 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
3
|
:class="[
|
|
4
|
-
'flex',
|
|
4
|
+
'flex w-full',
|
|
5
5
|
props.layout === 'horizontal' ? 'flex-row' : 'flex-col',
|
|
6
|
-
|
|
6
|
+
gapClass
|
|
7
7
|
]"
|
|
8
|
+
:style="{ gap: gapStyle }"
|
|
8
9
|
>
|
|
9
10
|
<!-- Address Selector (Province, District, Sub-district, Zip code) -->
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<
|
|
11
|
+
<div class="min-w-0 flex-1">
|
|
12
|
+
<InputCombobox
|
|
13
|
+
ref="comboboxRef"
|
|
14
|
+
:name="props.name"
|
|
15
|
+
:label="props.label"
|
|
16
|
+
:placeholder="props.placeholder"
|
|
17
|
+
:required="props.required"
|
|
18
|
+
:rules="props.rules || defaultRules"
|
|
19
|
+
v-model="internalValue"
|
|
20
|
+
@clear="handleClear"
|
|
21
|
+
>
|
|
22
|
+
<template #popover-content="{ close }">
|
|
23
|
+
<ShadCommand class="p-2">
|
|
22
24
|
<ShadTabs v-model="currentTab" class="w-full">
|
|
23
25
|
<ShadTabsList class="w-full grid grid-cols-4">
|
|
24
26
|
<ShadTabsTrigger value="province" :disabled="!!props.fixedProvinceId"> จังหวัด </ShadTabsTrigger>
|
|
@@ -137,20 +139,23 @@
|
|
|
137
139
|
</ShadCommandList>
|
|
138
140
|
</ShadTabsContent>
|
|
139
141
|
</ShadTabs>
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
142
|
+
</ShadCommand>
|
|
143
|
+
</template>
|
|
144
|
+
</InputCombobox>
|
|
145
|
+
</div>
|
|
143
146
|
|
|
144
147
|
<!-- Address Detail (House number, Soi, Moo, Road) -->
|
|
145
|
-
<
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
148
|
+
<div class="min-w-0 flex-1">
|
|
149
|
+
<InputTextField
|
|
150
|
+
ref="detailFieldRef"
|
|
151
|
+
:name="`${props.name}-detail`"
|
|
152
|
+
:label="props.labelDetail"
|
|
153
|
+
:placeholder="props.placeholderDetail"
|
|
154
|
+
:disabled="!addressValue"
|
|
155
|
+
:required="props.requiredDetail"
|
|
156
|
+
v-model="addressDetailValue"
|
|
157
|
+
/>
|
|
158
|
+
</div>
|
|
154
159
|
</div>
|
|
155
160
|
</template>
|
|
156
161
|
|
|
@@ -176,9 +181,16 @@ const props = defineProps({
|
|
|
176
181
|
requiredDetail: { type: Boolean, required: false, default: false },
|
|
177
182
|
rules: { type: [Object, String, Function], required: false },
|
|
178
183
|
layout: { type: String, required: false, default: "vertical" },
|
|
179
|
-
gap: { type: String, required: false, default:
|
|
184
|
+
gap: { type: [Number, String], required: false, default: 16 },
|
|
180
185
|
fixedProvinceId: { type: Number, required: false }
|
|
181
186
|
});
|
|
187
|
+
const gapClass = computed(
|
|
188
|
+
() => typeof props.gap === "string" && props.gap.startsWith("gap-") ? props.gap : void 0
|
|
189
|
+
);
|
|
190
|
+
const gapStyle = computed(() => {
|
|
191
|
+
if (gapClass.value) return void 0;
|
|
192
|
+
return typeof props.gap === "number" || /^\d+(\.\d+)?$/.test(props.gap) ? `${props.gap}px` : props.gap;
|
|
193
|
+
});
|
|
182
194
|
const emits = defineEmits(["selectProvince", "selectDistrict", "selectSubDistrict", "selectZipCode", "change"]);
|
|
183
195
|
const modelValue = defineModel({ type: Object, ...{
|
|
184
196
|
default: () => ({})
|
|
@@ -17,7 +17,7 @@ export interface InputAddressProps {
|
|
|
17
17
|
requiredDetail?: boolean;
|
|
18
18
|
rules?: object | string | Function;
|
|
19
19
|
layout?: "vertical" | "horizontal";
|
|
20
|
-
gap?: string;
|
|
20
|
+
gap?: number | string;
|
|
21
21
|
fixedProvinceId?: number;
|
|
22
22
|
}
|
|
23
23
|
type __VLS_Props = InputAddressProps;
|
|
@@ -52,10 +52,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
52
52
|
required: boolean;
|
|
53
53
|
placeholder: string;
|
|
54
54
|
layout: "vertical" | "horizontal";
|
|
55
|
+
gap: number | string;
|
|
55
56
|
labelDetail: string;
|
|
56
57
|
placeholderDetail: string;
|
|
57
58
|
requiredDetail: boolean;
|
|
58
|
-
gap: string;
|
|
59
59
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
60
60
|
declare const _default: typeof __VLS_export;
|
|
61
61
|
export default _default;
|
|
@@ -71,8 +71,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
71
71
|
description: string;
|
|
72
72
|
labelKey: string;
|
|
73
73
|
placeholder: string;
|
|
74
|
-
options: AutocompleteOption[] | string[] | number[];
|
|
75
74
|
limit: number;
|
|
75
|
+
options: AutocompleteOption[] | string[] | number[];
|
|
76
76
|
disabledErrorMessage: boolean;
|
|
77
77
|
disabledBorder: boolean;
|
|
78
78
|
showCounter: boolean;
|
|
@@ -71,8 +71,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
71
71
|
description: string;
|
|
72
72
|
labelKey: string;
|
|
73
73
|
placeholder: string;
|
|
74
|
-
options: AutocompleteOption[] | string[] | number[];
|
|
75
74
|
limit: number;
|
|
75
|
+
options: AutocompleteOption[] | string[] | number[];
|
|
76
76
|
disabledErrorMessage: boolean;
|
|
77
77
|
disabledBorder: boolean;
|
|
78
78
|
showCounter: boolean;
|
|
@@ -12,13 +12,13 @@ type __VLS_ModelProps = {
|
|
|
12
12
|
modelValue?: IFileItem[];
|
|
13
13
|
};
|
|
14
14
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
15
|
-
declare var
|
|
15
|
+
declare var __VLS_33: {
|
|
16
16
|
label: string;
|
|
17
|
-
},
|
|
17
|
+
}, __VLS_40: {};
|
|
18
18
|
type __VLS_Slots = {} & {
|
|
19
|
-
default?: (props: typeof
|
|
19
|
+
default?: (props: typeof __VLS_33) => any;
|
|
20
20
|
} & {
|
|
21
|
-
error?: (props: typeof
|
|
21
|
+
error?: (props: typeof __VLS_40) => any;
|
|
22
22
|
};
|
|
23
23
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
24
24
|
addFiles: (files: File[]) => Promise<void>;
|
|
@@ -37,8 +37,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
37
37
|
fullHeight: boolean;
|
|
38
38
|
fullWidth: boolean;
|
|
39
39
|
limit: number;
|
|
40
|
-
disabledErrorMessage: boolean;
|
|
41
40
|
accept: string;
|
|
41
|
+
disabledErrorMessage: boolean;
|
|
42
42
|
labelIcon: string;
|
|
43
43
|
disabledDrop: boolean;
|
|
44
44
|
column: boolean;
|
|
@@ -48,6 +48,18 @@
|
|
|
48
48
|
</div>
|
|
49
49
|
</div>
|
|
50
50
|
</div>
|
|
51
|
+
<div
|
|
52
|
+
v-else-if="
|
|
53
|
+
item.file?.type === 'application/pdf' || item.file?.name.toLowerCase().endsWith('.pdf')
|
|
54
|
+
"
|
|
55
|
+
:style="previewSizeStyle"
|
|
56
|
+
>
|
|
57
|
+
<CardFile
|
|
58
|
+
:file-name="item.file.name"
|
|
59
|
+
layout="vertical"
|
|
60
|
+
class="size-full"
|
|
61
|
+
/>
|
|
62
|
+
</div>
|
|
51
63
|
<div
|
|
52
64
|
v-else-if="!item.file || item.file?.type?.startsWith('image')"
|
|
53
65
|
>
|
|
@@ -12,13 +12,13 @@ type __VLS_ModelProps = {
|
|
|
12
12
|
modelValue?: IFileItem[];
|
|
13
13
|
};
|
|
14
14
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
15
|
-
declare var
|
|
15
|
+
declare var __VLS_33: {
|
|
16
16
|
label: string;
|
|
17
|
-
},
|
|
17
|
+
}, __VLS_40: {};
|
|
18
18
|
type __VLS_Slots = {} & {
|
|
19
|
-
default?: (props: typeof
|
|
19
|
+
default?: (props: typeof __VLS_33) => any;
|
|
20
20
|
} & {
|
|
21
|
-
error?: (props: typeof
|
|
21
|
+
error?: (props: typeof __VLS_40) => any;
|
|
22
22
|
};
|
|
23
23
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
24
24
|
addFiles: (files: File[]) => Promise<void>;
|
|
@@ -37,8 +37,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
37
37
|
fullHeight: boolean;
|
|
38
38
|
fullWidth: boolean;
|
|
39
39
|
limit: number;
|
|
40
|
-
disabledErrorMessage: boolean;
|
|
41
40
|
accept: string;
|
|
41
|
+
disabledErrorMessage: boolean;
|
|
42
42
|
labelIcon: string;
|
|
43
43
|
disabledDrop: boolean;
|
|
44
44
|
column: boolean;
|
|
@@ -12,8 +12,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
12
12
|
name: string;
|
|
13
13
|
modelValue: LocalizedNameItem[];
|
|
14
14
|
placeholder: string;
|
|
15
|
-
options: InputSelectItem[];
|
|
16
15
|
limit: number;
|
|
16
|
+
options: InputSelectItem[];
|
|
17
17
|
showCounter: boolean;
|
|
18
18
|
addLabel: string;
|
|
19
19
|
removable: boolean;
|
|
@@ -12,8 +12,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
12
12
|
name: string;
|
|
13
13
|
modelValue: LocalizedNameItem[];
|
|
14
14
|
placeholder: string;
|
|
15
|
-
options: InputSelectItem[];
|
|
16
15
|
limit: number;
|
|
16
|
+
options: InputSelectItem[];
|
|
17
17
|
showCounter: boolean;
|
|
18
18
|
addLabel: string;
|
|
19
19
|
removable: 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
|
-
new: boolean;
|
|
26
25
|
disabledForgotPassword: boolean;
|
|
26
|
+
new: 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
|
-
new: boolean;
|
|
26
25
|
disabledForgotPassword: boolean;
|
|
26
|
+
new: boolean;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const _default: typeof __VLS_export;
|
|
29
29
|
export default _default;
|
|
@@ -21,8 +21,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
21
21
|
}>, {
|
|
22
22
|
name: string;
|
|
23
23
|
required: boolean;
|
|
24
|
-
options: import("../../../types/components/input/input-select.js").InputSelectItem[];
|
|
25
24
|
limit: number;
|
|
25
|
+
options: import("../../../types/components/input/input-select.js").InputSelectItem[];
|
|
26
26
|
showCounter: boolean;
|
|
27
27
|
removable: boolean;
|
|
28
28
|
selectClass: import("vue").HTMLAttributes["class"];
|
|
@@ -21,8 +21,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
21
21
|
}>, {
|
|
22
22
|
name: string;
|
|
23
23
|
required: boolean;
|
|
24
|
-
options: import("../../../types/components/input/input-select.js").InputSelectItem[];
|
|
25
24
|
limit: number;
|
|
25
|
+
options: import("../../../types/components/input/input-select.js").InputSelectItem[];
|
|
26
26
|
showCounter: boolean;
|
|
27
27
|
removable: boolean;
|
|
28
28
|
selectClass: import("vue").HTMLAttributes["class"];
|
|
@@ -23,8 +23,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
23
23
|
}>, {
|
|
24
24
|
title: string;
|
|
25
25
|
items: CarouselItem[];
|
|
26
|
-
startIndex: number;
|
|
27
26
|
uploaderLabel: string;
|
|
27
|
+
startIndex: number;
|
|
28
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
29
|
declare const _default: typeof __VLS_export;
|
|
30
30
|
export default _default;
|
|
@@ -23,8 +23,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
23
23
|
}>, {
|
|
24
24
|
title: string;
|
|
25
25
|
items: CarouselItem[];
|
|
26
|
-
startIndex: number;
|
|
27
26
|
uploaderLabel: string;
|
|
27
|
+
startIndex: number;
|
|
28
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
29
|
declare const _default: typeof __VLS_export;
|
|
30
30
|
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
|
-
disabledForgotPassword: boolean;
|
|
28
27
|
confirmText: string;
|
|
28
|
+
disabledForgotPassword: boolean;
|
|
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
|
-
disabledForgotPassword: boolean;
|
|
28
27
|
confirmText: string;
|
|
28
|
+
disabledForgotPassword: boolean;
|
|
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
|
-
disabledForgotPassword: boolean;
|
|
36
35
|
confirmText: string;
|
|
36
|
+
disabledForgotPassword: boolean;
|
|
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
|
-
disabledForgotPassword: boolean;
|
|
36
35
|
confirmText: string;
|
|
36
|
+
disabledForgotPassword: boolean;
|
|
37
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const _default: typeof __VLS_export;
|
|
39
39
|
export default _default;
|