pukaad-ui-lib 1.103.0 → 1.105.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/avatar-profile.d.vue.ts +34 -0
- package/dist/runtime/components/avatar-profile.vue +46 -0
- package/dist/runtime/components/avatar-profile.vue.d.ts +34 -0
- package/dist/runtime/components/avatar.d.vue.ts +6 -2
- package/dist/runtime/components/avatar.vue +22 -18
- package/dist/runtime/components/avatar.vue.d.ts +6 -2
- package/dist/runtime/components/button.d.vue.ts +1 -1
- package/dist/runtime/components/button.vue.d.ts +1 -1
- package/dist/runtime/components/data-table.vue +14 -1
- package/dist/runtime/components/divider.d.vue.ts +2 -2
- package/dist/runtime/components/divider.vue.d.ts +2 -2
- package/dist/runtime/components/input/input-content.vue +4 -2
- 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-slider.d.vue.ts +1 -1
- package/dist/runtime/components/input/input-slider.vue.d.ts +1 -1
- package/dist/runtime/components/modal/modal-review-detail.d.vue.ts +1 -1
- package/dist/runtime/components/modal/modal-review-detail.vue.d.ts +1 -1
- package/dist/runtime/components/picker/picker-option-menu/picker-option-menu.d.vue.ts +1 -1
- package/dist/runtime/components/picker/picker-option-menu/picker-option-menu.vue.d.ts +1 -1
- package/dist/runtime/components/ui/button/index.d.ts +1 -1
- 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/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "vue";
|
|
2
|
+
interface Props {
|
|
3
|
+
size?: number | string;
|
|
4
|
+
src?: string;
|
|
5
|
+
alt?: string;
|
|
6
|
+
class?: HTMLAttributes["class"];
|
|
7
|
+
showStatus?: boolean;
|
|
8
|
+
online?: boolean;
|
|
9
|
+
profileName?: string;
|
|
10
|
+
profileID?: string;
|
|
11
|
+
}
|
|
12
|
+
declare var __VLS_6: {}, __VLS_8: {}, __VLS_10: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
default?: (props: typeof __VLS_6) => any;
|
|
15
|
+
} & {
|
|
16
|
+
'profile-name'?: (props: typeof __VLS_8) => any;
|
|
17
|
+
} & {
|
|
18
|
+
'profile-id'?: (props: typeof __VLS_10) => any;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
21
|
+
size: number | string;
|
|
22
|
+
showStatus: boolean;
|
|
23
|
+
online: boolean;
|
|
24
|
+
profileName: string;
|
|
25
|
+
profileID: string;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex gap-[8px] items-center">
|
|
3
|
+
<Avatar
|
|
4
|
+
:src="props.src"
|
|
5
|
+
:alt="props.alt"
|
|
6
|
+
:size="props.size"
|
|
7
|
+
:show-status="props.showStatus"
|
|
8
|
+
:online="props.online"
|
|
9
|
+
/>
|
|
10
|
+
<slot name="default">
|
|
11
|
+
<div class="flex flex-col gap-[4px]">
|
|
12
|
+
<slot name="profile-name">
|
|
13
|
+
<div class="font-body-medium">{{ props.profileName }}</div>
|
|
14
|
+
</slot>
|
|
15
|
+
<slot name="profile-id">
|
|
16
|
+
<div class="flex items-center gap-[4px] font-body-medium text-gray">
|
|
17
|
+
<div>ID:</div>
|
|
18
|
+
<div>{{ props.profileID }}</div>
|
|
19
|
+
<Button variant="text" class="text-gray" @click="copyID">
|
|
20
|
+
<Icon name="lucide:copy" size="16" />
|
|
21
|
+
</Button>
|
|
22
|
+
</div>
|
|
23
|
+
</slot>
|
|
24
|
+
</div>
|
|
25
|
+
</slot>
|
|
26
|
+
</div>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<script setup>
|
|
30
|
+
import { useNuxtApp } from "nuxt/app";
|
|
31
|
+
const { $toast } = useNuxtApp();
|
|
32
|
+
const props = defineProps({
|
|
33
|
+
size: { type: [Number, String], required: false, default: 30 },
|
|
34
|
+
src: { type: String, required: false },
|
|
35
|
+
alt: { type: String, required: false },
|
|
36
|
+
class: { type: null, required: false },
|
|
37
|
+
showStatus: { type: Boolean, required: false, default: true },
|
|
38
|
+
online: { type: Boolean, required: false, default: false },
|
|
39
|
+
profileName: { type: String, required: false, default: "" },
|
|
40
|
+
profileID: { type: String, required: false, default: "" }
|
|
41
|
+
});
|
|
42
|
+
const copyID = () => {
|
|
43
|
+
navigator.clipboard.writeText(props.profileID);
|
|
44
|
+
$toast.success("\u0E04\u0E31\u0E14\u0E25\u0E2D\u0E01\u0E25\u0E34\u0E07\u0E04\u0E4C\u0E41\u0E25\u0E49\u0E27");
|
|
45
|
+
};
|
|
46
|
+
</script>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { HTMLAttributes } from "vue";
|
|
2
|
+
interface Props {
|
|
3
|
+
size?: number | string;
|
|
4
|
+
src?: string;
|
|
5
|
+
alt?: string;
|
|
6
|
+
class?: HTMLAttributes["class"];
|
|
7
|
+
showStatus?: boolean;
|
|
8
|
+
online?: boolean;
|
|
9
|
+
profileName?: string;
|
|
10
|
+
profileID?: string;
|
|
11
|
+
}
|
|
12
|
+
declare var __VLS_6: {}, __VLS_8: {}, __VLS_10: {};
|
|
13
|
+
type __VLS_Slots = {} & {
|
|
14
|
+
default?: (props: typeof __VLS_6) => any;
|
|
15
|
+
} & {
|
|
16
|
+
'profile-name'?: (props: typeof __VLS_8) => any;
|
|
17
|
+
} & {
|
|
18
|
+
'profile-id'?: (props: typeof __VLS_10) => any;
|
|
19
|
+
};
|
|
20
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
21
|
+
size: number | string;
|
|
22
|
+
showStatus: boolean;
|
|
23
|
+
online: boolean;
|
|
24
|
+
profileName: string;
|
|
25
|
+
profileID: string;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
|
+
declare const _default: typeof __VLS_export;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -4,13 +4,17 @@ interface Props {
|
|
|
4
4
|
src?: string;
|
|
5
5
|
alt?: string;
|
|
6
6
|
class?: HTMLAttributes["class"];
|
|
7
|
+
showStatus?: boolean;
|
|
8
|
+
online?: boolean;
|
|
7
9
|
}
|
|
8
|
-
declare var
|
|
10
|
+
declare var __VLS_18: {};
|
|
9
11
|
type __VLS_Slots = {} & {
|
|
10
|
-
fallback?: (props: typeof
|
|
12
|
+
fallback?: (props: typeof __VLS_18) => any;
|
|
11
13
|
};
|
|
12
14
|
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
13
15
|
size: number | string;
|
|
16
|
+
showStatus: boolean;
|
|
17
|
+
online: boolean;
|
|
14
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
20
|
declare const _default: typeof __VLS_export;
|
|
@@ -6,7 +6,9 @@ const props = defineProps({
|
|
|
6
6
|
size: { type: [Number, String], required: false, default: 40 },
|
|
7
7
|
src: { type: String, required: false },
|
|
8
8
|
alt: { type: String, required: false },
|
|
9
|
-
class: { type: null, required: false }
|
|
9
|
+
class: { type: null, required: false },
|
|
10
|
+
showStatus: { type: Boolean, required: false, default: false },
|
|
11
|
+
online: { type: Boolean, required: false, default: false }
|
|
10
12
|
});
|
|
11
13
|
const sizeStyle = computed(() => {
|
|
12
14
|
let size;
|
|
@@ -25,22 +27,24 @@ const sizeStyle = computed(() => {
|
|
|
25
27
|
</script>
|
|
26
28
|
|
|
27
29
|
<template>
|
|
28
|
-
<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
30
|
+
<div :class="cn('relative flex shrink-0', props.class)" :style="sizeStyle">
|
|
31
|
+
<ShadAvatar class="size-full overflow-hidden rounded-full">
|
|
32
|
+
<ShadAvatarImage
|
|
33
|
+
v-if="src"
|
|
34
|
+
:src="src"
|
|
35
|
+
:alt="alt || 'Avatar'"
|
|
36
|
+
class="aspect-square size-full object-cover"
|
|
37
|
+
/>
|
|
38
|
+
<ShadAvatarFallback
|
|
39
|
+
class="flex size-full items-center justify-center rounded-full bg-gradient-to-b from-[#E6E8EA]/20 to-[#7D7E80]/90"
|
|
40
|
+
>
|
|
41
|
+
<slot name="fallback"> </slot>
|
|
42
|
+
</ShadAvatarFallback>
|
|
43
|
+
</ShadAvatar>
|
|
44
|
+
<span
|
|
45
|
+
v-if="showStatus"
|
|
46
|
+
class="absolute bottom-0 right-0 w-[12px] h-[12px] rounded-full border-2 border-white"
|
|
47
|
+
:class="online ? 'bg-green-500' : 'bg-gray-300'"
|
|
39
48
|
/>
|
|
40
|
-
|
|
41
|
-
class="flex size-full items-center justify-center rounded-full bg-gradient-to-b from-[#E6E8EA]/20 to-[#7D7E80]/90"
|
|
42
|
-
>
|
|
43
|
-
<slot name="fallback"> </slot>
|
|
44
|
-
</ShadAvatarFallback>
|
|
45
|
-
</ShadAvatar>
|
|
49
|
+
</div>
|
|
46
50
|
</template>
|
|
@@ -4,13 +4,17 @@ interface Props {
|
|
|
4
4
|
src?: string;
|
|
5
5
|
alt?: string;
|
|
6
6
|
class?: HTMLAttributes["class"];
|
|
7
|
+
showStatus?: boolean;
|
|
8
|
+
online?: boolean;
|
|
7
9
|
}
|
|
8
|
-
declare var
|
|
10
|
+
declare var __VLS_18: {};
|
|
9
11
|
type __VLS_Slots = {} & {
|
|
10
|
-
fallback?: (props: typeof
|
|
12
|
+
fallback?: (props: typeof __VLS_18) => any;
|
|
11
13
|
};
|
|
12
14
|
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
13
15
|
size: number | string;
|
|
16
|
+
showStatus: boolean;
|
|
17
|
+
online: boolean;
|
|
14
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
20
|
declare const _default: typeof __VLS_export;
|
|
@@ -14,10 +14,10 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
default?: (props: typeof __VLS_8) => any;
|
|
15
15
|
};
|
|
16
16
|
declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
|
|
17
|
+
circle: boolean;
|
|
17
18
|
type: ButtonType;
|
|
18
19
|
variant: ButtonVariant;
|
|
19
20
|
color: ButtonColor;
|
|
20
|
-
circle: boolean;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
@@ -14,10 +14,10 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
default?: (props: typeof __VLS_8) => any;
|
|
15
15
|
};
|
|
16
16
|
declare const __VLS_base: import("vue").DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
|
|
17
|
+
circle: boolean;
|
|
17
18
|
type: ButtonType;
|
|
18
19
|
variant: ButtonVariant;
|
|
19
20
|
color: ButtonColor;
|
|
20
|
-
circle: boolean;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
@@ -63,6 +63,14 @@ const getAlignmentClass = (alignment = "start") => {
|
|
|
63
63
|
};
|
|
64
64
|
return alignmentClasses[alignment];
|
|
65
65
|
};
|
|
66
|
+
const getJustifyClass = (alignment = "start") => {
|
|
67
|
+
const justifyClasses = {
|
|
68
|
+
start: "justify-start",
|
|
69
|
+
center: "justify-center",
|
|
70
|
+
end: "justify-end"
|
|
71
|
+
};
|
|
72
|
+
return justifyClasses[alignment];
|
|
73
|
+
};
|
|
66
74
|
</script>
|
|
67
75
|
|
|
68
76
|
<template>
|
|
@@ -85,7 +93,12 @@ const getAlignmentClass = (alignment = "start") => {
|
|
|
85
93
|
minWidth: header.minWidth ? typeof header.minWidth === 'number' ? `${header.minWidth}px` : header.minWidth : void 0
|
|
86
94
|
}"
|
|
87
95
|
>
|
|
88
|
-
<div
|
|
96
|
+
<div
|
|
97
|
+
:class="[
|
|
98
|
+
'flex items-center gap-2 text-gray font-body-medium',
|
|
99
|
+
getJustifyClass(header.alinement || props.headerAlinement)
|
|
100
|
+
]"
|
|
101
|
+
>
|
|
89
102
|
<span>{{ header.label }}</span>
|
|
90
103
|
<button
|
|
91
104
|
v-if="header.sort !== false && !props.disabledSort"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { DividerProps, DividerColor } from "@/types/components/divider";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<DividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DividerProps> & Readonly<{}>, {
|
|
3
3
|
size: number | string;
|
|
4
|
-
color: DividerColor;
|
|
5
|
-
height: number | string;
|
|
6
4
|
style: import("@/types/components/divider").DividerStyle;
|
|
5
|
+
height: number | string;
|
|
6
|
+
color: DividerColor;
|
|
7
7
|
alignment: import("@/types/components/divider").DividerAlignment;
|
|
8
8
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { DividerProps, DividerColor } from "@/types/components/divider";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<DividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DividerProps> & Readonly<{}>, {
|
|
3
3
|
size: number | string;
|
|
4
|
-
color: DividerColor;
|
|
5
|
-
height: number | string;
|
|
6
4
|
style: import("@/types/components/divider").DividerStyle;
|
|
5
|
+
height: number | string;
|
|
6
|
+
color: DividerColor;
|
|
7
7
|
alignment: import("@/types/components/divider").DividerAlignment;
|
|
8
8
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
declare const _default: typeof __VLS_export;
|
|
@@ -89,9 +89,11 @@ onMounted(() => {
|
|
|
89
89
|
if (filteredOps.length !== currentDeltaJson.ops.length) {
|
|
90
90
|
quillEditor.setContents({ ops: filteredOps });
|
|
91
91
|
}
|
|
92
|
-
|
|
92
|
+
const text = quillEditor.getText();
|
|
93
|
+
modelValue.value = text.trim().length === 0 ? void 0 : { ops: filteredOps };
|
|
93
94
|
} else {
|
|
94
|
-
|
|
95
|
+
const text = quillEditor.getText();
|
|
96
|
+
modelValue.value = text.trim().length === 0 ? void 0 : currentDeltaJson;
|
|
95
97
|
}
|
|
96
98
|
}
|
|
97
99
|
});
|
|
@@ -20,11 +20,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
20
20
|
onSelect?: ((files: File[]) => any) | undefined;
|
|
21
21
|
"onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
|
+
label: string;
|
|
23
24
|
width: number | string;
|
|
24
25
|
height: number | string;
|
|
25
26
|
fullWidth: boolean;
|
|
26
27
|
fullHeight: boolean;
|
|
27
|
-
label: string;
|
|
28
28
|
name: string;
|
|
29
29
|
limit: number;
|
|
30
30
|
disabledErrorMessage: boolean;
|
|
@@ -20,11 +20,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
20
20
|
onSelect?: ((files: File[]) => any) | undefined;
|
|
21
21
|
"onUpdate:modelValue"?: ((value: File[]) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
|
+
label: string;
|
|
23
24
|
width: number | string;
|
|
24
25
|
height: number | string;
|
|
25
26
|
fullWidth: boolean;
|
|
26
27
|
fullHeight: boolean;
|
|
27
|
-
label: string;
|
|
28
28
|
name: string;
|
|
29
29
|
limit: number;
|
|
30
30
|
disabledErrorMessage: boolean;
|
|
@@ -9,9 +9,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
+
label: string;
|
|
12
13
|
color: InputSliderColor;
|
|
13
14
|
fullWidth: boolean;
|
|
14
|
-
label: string;
|
|
15
15
|
max: number;
|
|
16
16
|
min: number;
|
|
17
17
|
step: number;
|
|
@@ -9,9 +9,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
10
10
|
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
+
label: string;
|
|
12
13
|
color: InputSliderColor;
|
|
13
14
|
fullWidth: boolean;
|
|
14
|
-
label: string;
|
|
15
15
|
max: number;
|
|
16
16
|
min: number;
|
|
17
17
|
step: number;
|
|
@@ -11,9 +11,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
11
11
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
12
12
|
"onToggle-like"?: ((reviewId: string, liked: boolean) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
|
+
title: string;
|
|
14
15
|
items: string[];
|
|
15
16
|
selectIndex: number;
|
|
16
|
-
title: string;
|
|
17
17
|
isProfile: boolean;
|
|
18
18
|
review: import("../../../types/components/card/card-review.js").CardReviewProps;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -11,9 +11,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
11
11
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
12
12
|
"onToggle-like"?: ((reviewId: string, liked: boolean) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
|
+
title: string;
|
|
14
15
|
items: string[];
|
|
15
16
|
selectIndex: number;
|
|
16
|
-
title: string;
|
|
17
17
|
isProfile: boolean;
|
|
18
18
|
review: import("../../../types/components/card/card-review.js").CardReviewProps;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PickerOptionMenuProps, PickerOptionMenuItem } from "@/types/components/picker/picker-option-menu/picker-option-menu";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<PickerOptionMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PickerOptionMenuProps> & Readonly<{}>, {
|
|
3
|
-
variant: ButtonVariant;
|
|
4
3
|
circle: boolean;
|
|
4
|
+
variant: ButtonVariant;
|
|
5
5
|
items: PickerOptionMenuItem[];
|
|
6
6
|
horizontal: boolean;
|
|
7
7
|
disabled: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PickerOptionMenuProps, PickerOptionMenuItem } from "@/types/components/picker/picker-option-menu/picker-option-menu";
|
|
2
2
|
declare const __VLS_export: import("vue").DefineComponent<PickerOptionMenuProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PickerOptionMenuProps> & Readonly<{}>, {
|
|
3
|
-
variant: ButtonVariant;
|
|
4
3
|
circle: boolean;
|
|
4
|
+
variant: ButtonVariant;
|
|
5
5
|
items: PickerOptionMenuItem[];
|
|
6
6
|
horizontal: boolean;
|
|
7
7
|
disabled: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { VariantProps } from "class-variance-authority";
|
|
2
2
|
export { default as Button } from "./Button.vue.js";
|
|
3
3
|
export declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "link" | "
|
|
4
|
+
variant?: "link" | "text" | "default" | "outline" | "ghost" | "icon" | null | undefined;
|
|
5
5
|
color?: "default" | "primary" | "secondary" | "destructive" | null | undefined;
|
|
6
6
|
size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
12
|
size: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null;
|
|
13
|
-
variant: "link" | "
|
|
13
|
+
variant: "link" | "text" | "default" | "outline" | "ghost" | "icon" | null;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
12
|
size: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null;
|
|
13
|
-
variant: "link" | "
|
|
13
|
+
variant: "link" | "text" | "default" | "outline" | "ghost" | "icon" | null;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
12
|
size: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null;
|
|
13
|
-
variant: "link" | "
|
|
13
|
+
variant: "link" | "text" | "default" | "outline" | "ghost" | "icon" | null;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
@@ -10,7 +10,7 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
12
12
|
size: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null;
|
|
13
|
-
variant: "link" | "
|
|
13
|
+
variant: "link" | "text" | "default" | "outline" | "ghost" | "icon" | null;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
@@ -5,7 +5,7 @@ type __VLS_Slots = {} & {
|
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_base: import("vue").DefineComponent<InputGroupButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<InputGroupButtonProps> & Readonly<{}>, {
|
|
7
7
|
size: "sm" | "icon-sm" | "icon-xs" | "xs" | null;
|
|
8
|
-
variant: "link" | "
|
|
8
|
+
variant: "link" | "text" | "default" | "outline" | "ghost" | "icon" | null;
|
|
9
9
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|
|
@@ -5,7 +5,7 @@ type __VLS_Slots = {} & {
|
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_base: import("vue").DefineComponent<InputGroupButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<InputGroupButtonProps> & Readonly<{}>, {
|
|
7
7
|
size: "sm" | "icon-sm" | "icon-xs" | "xs" | null;
|
|
8
|
-
variant: "link" | "
|
|
8
|
+
variant: "link" | "text" | "default" | "outline" | "ghost" | "icon" | null;
|
|
9
9
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
11
|
declare const _default: typeof __VLS_export;
|