pukaad-ui-lib 1.92.0 → 1.93.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/module.mjs +9 -4
- package/dist/runtime/components/avatar.d.vue.ts +4 -0
- package/dist/runtime/components/avatar.vue +10 -1
- package/dist/runtime/components/avatar.vue.d.ts +4 -0
- package/dist/runtime/components/button.d.vue.ts +1 -1
- package/dist/runtime/components/button.vue.d.ts +1 -1
- package/dist/runtime/components/dialog/dialog-phone-OTP.d.vue.ts +1 -1
- package/dist/runtime/components/dialog/dialog-phone-OTP.vue.d.ts +1 -1
- package/dist/runtime/components/divider.d.vue.ts +1 -1
- package/dist/runtime/components/divider.vue.d.ts +1 -1
- package/dist/runtime/components/input/input-file.d.vue.ts +2 -2
- package/dist/runtime/components/input/input-file.vue.d.ts +2 -2
- 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 +2 -2
- package/dist/runtime/components/input/input-slider.vue.d.ts +2 -2
- 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-phone-OTP.d.vue.ts +1 -1
- package/dist/runtime/components/modal/modal-phone-OTP.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/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/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -118,12 +118,17 @@ const module$1 = defineNuxtModule({
|
|
|
118
118
|
const generateImportDayJs = () => {
|
|
119
119
|
return `
|
|
120
120
|
import dayjs from "dayjs";
|
|
121
|
-
import
|
|
122
|
-
import
|
|
123
|
-
import
|
|
124
|
-
import
|
|
121
|
+
import * as buddhistEraPkg from "dayjs/plugin/buddhistEra";
|
|
122
|
+
import * as minMaxPkg from "dayjs/plugin/minMax";
|
|
123
|
+
import * as updateLocalePkg from "dayjs/plugin/updateLocale";
|
|
124
|
+
import * as durationPkg from "dayjs/plugin/duration";
|
|
125
125
|
import "dayjs/locale/th";
|
|
126
126
|
|
|
127
|
+
const buddhistEra = buddhistEraPkg.default || buddhistEraPkg;
|
|
128
|
+
const minMax = minMaxPkg.default || minMaxPkg;
|
|
129
|
+
const updateLocale = updateLocalePkg.default || updateLocalePkg;
|
|
130
|
+
const duration = durationPkg.default || durationPkg;
|
|
131
|
+
|
|
127
132
|
dayjs.extend(updateLocale);
|
|
128
133
|
dayjs.extend(buddhistEra);
|
|
129
134
|
dayjs.extend(minMax);
|
|
@@ -4,6 +4,8 @@ interface Props {
|
|
|
4
4
|
src?: string;
|
|
5
5
|
alt?: string;
|
|
6
6
|
class?: HTMLAttributes["class"];
|
|
7
|
+
showStatus?: boolean;
|
|
8
|
+
online?: boolean;
|
|
7
9
|
}
|
|
8
10
|
declare var __VLS_19: {};
|
|
9
11
|
type __VLS_Slots = {} & {
|
|
@@ -11,6 +13,8 @@ type __VLS_Slots = {} & {
|
|
|
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;
|
|
@@ -42,5 +44,12 @@ const sizeStyle = computed(() => {
|
|
|
42
44
|
>
|
|
43
45
|
<slot name="fallback"> </slot>
|
|
44
46
|
</ShadAvatarFallback>
|
|
47
|
+
|
|
48
|
+
<!-- Online Status Dot -->
|
|
49
|
+
<span
|
|
50
|
+
v-if="showStatus"
|
|
51
|
+
class="absolute bottom-0 right-0 w-[12px] h-[12px] rounded-full border-2 border-white"
|
|
52
|
+
:class="online ? 'bg-green-500' : 'bg-gray-300'"
|
|
53
|
+
/>
|
|
45
54
|
</ShadAvatar>
|
|
46
55
|
</template>
|
|
@@ -4,6 +4,8 @@ interface Props {
|
|
|
4
4
|
src?: string;
|
|
5
5
|
alt?: string;
|
|
6
6
|
class?: HTMLAttributes["class"];
|
|
7
|
+
showStatus?: boolean;
|
|
8
|
+
online?: boolean;
|
|
7
9
|
}
|
|
8
10
|
declare var __VLS_19: {};
|
|
9
11
|
type __VLS_Slots = {} & {
|
|
@@ -11,6 +13,8 @@ type __VLS_Slots = {} & {
|
|
|
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;
|
|
@@ -14,8 +14,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
14
14
|
onComplete?: ((value: string) => any) | undefined;
|
|
15
15
|
onClose?: (() => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
phone: string;
|
|
18
17
|
confirmedText: string;
|
|
18
|
+
phone: string;
|
|
19
19
|
phoneLabel: string;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
@@ -14,8 +14,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
14
14
|
onComplete?: ((value: string) => any) | undefined;
|
|
15
15
|
onClose?: (() => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
phone: string;
|
|
18
17
|
confirmedText: string;
|
|
18
|
+
phone: string;
|
|
19
19
|
phoneLabel: string;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
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
|
+
style: import("@/types/components/divider").DividerStyle;
|
|
4
5
|
color: DividerColor;
|
|
5
6
|
height: number | string;
|
|
6
|
-
style: import("@/types/components/divider").DividerStyle;
|
|
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
|
+
style: import("@/types/components/divider").DividerStyle;
|
|
4
5
|
color: DividerColor;
|
|
5
6
|
height: number | string;
|
|
6
|
-
style: import("@/types/components/divider").DividerStyle;
|
|
7
7
|
alignment: import("@/types/components/divider").DividerAlignment;
|
|
8
8
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
declare const _default: typeof __VLS_export;
|
|
@@ -20,15 +20,15 @@ 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
|
-
disabledErrorMessage: boolean;
|
|
31
30
|
accept: string;
|
|
31
|
+
disabledErrorMessage: boolean;
|
|
32
32
|
labelIcon: string;
|
|
33
33
|
disabledDrop: boolean;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -20,15 +20,15 @@ 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
|
-
disabledErrorMessage: boolean;
|
|
31
30
|
accept: string;
|
|
31
|
+
disabledErrorMessage: boolean;
|
|
32
32
|
labelIcon: string;
|
|
33
33
|
disabledDrop: boolean;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -18,8 +18,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
18
18
|
}>, {
|
|
19
19
|
id: string;
|
|
20
20
|
name: string;
|
|
21
|
-
new: boolean;
|
|
22
21
|
disabledForgotPassword: boolean;
|
|
22
|
+
new: boolean;
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
25
25
|
export default _default;
|
|
@@ -18,8 +18,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
18
18
|
}>, {
|
|
19
19
|
id: string;
|
|
20
20
|
name: string;
|
|
21
|
-
new: boolean;
|
|
22
21
|
disabledForgotPassword: boolean;
|
|
22
|
+
new: boolean;
|
|
23
23
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
24
24
|
declare const _default: typeof __VLS_export;
|
|
25
25
|
export default _default;
|
|
@@ -9,12 +9,12 @@ 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
|
-
|
|
15
|
+
step: number;
|
|
15
16
|
max: number;
|
|
16
17
|
min: number;
|
|
17
|
-
step: number;
|
|
18
18
|
lineHeight: number | string;
|
|
19
19
|
appearance: boolean;
|
|
20
20
|
thumbSize: number | string;
|
|
@@ -9,12 +9,12 @@ 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
|
-
|
|
15
|
+
step: number;
|
|
15
16
|
max: number;
|
|
16
17
|
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
|
-
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
|
onClose?: (() => 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;
|
|
@@ -14,8 +14,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
14
14
|
onComplete?: ((value: string) => any) | undefined;
|
|
15
15
|
onClose?: (() => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
phone: string;
|
|
18
17
|
confirmedText: string;
|
|
18
|
+
phone: string;
|
|
19
19
|
phoneLabel: string;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
@@ -14,8 +14,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
14
14
|
onComplete?: ((value: string) => any) | undefined;
|
|
15
15
|
onClose?: (() => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
phone: string;
|
|
18
17
|
confirmedText: string;
|
|
18
|
+
phone: string;
|
|
19
19
|
phoneLabel: string;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
@@ -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" | "default" | "
|
|
4
|
+
variant?: "link" | "default" | "text" | "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" | "default" | "
|
|
13
|
+
variant: "link" | "default" | "text" | "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" | "default" | "
|
|
13
|
+
variant: "link" | "default" | "text" | "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" | "default" | "
|
|
13
|
+
variant: "link" | "default" | "text" | "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" | "default" | "
|
|
13
|
+
variant: "link" | "default" | "text" | "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" | "default" | "
|
|
8
|
+
variant: "link" | "default" | "text" | "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" | "default" | "
|
|
8
|
+
variant: "link" | "default" | "text" | "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;
|
|
@@ -59,7 +59,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
59
59
|
'aria-colindex'?: (string | number) | undefined;
|
|
60
60
|
'aria-colspan'?: (string | number) | undefined;
|
|
61
61
|
'aria-controls'?: string | undefined | undefined;
|
|
62
|
-
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "
|
|
62
|
+
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "date" | "step" | "location" | undefined;
|
|
63
63
|
'aria-describedby'?: string | undefined | undefined;
|
|
64
64
|
'aria-details'?: string | undefined | undefined;
|
|
65
65
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -253,7 +253,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
253
253
|
'aria-colindex'?: (string | number) | undefined;
|
|
254
254
|
'aria-colspan'?: (string | number) | undefined;
|
|
255
255
|
'aria-controls'?: string | undefined | undefined;
|
|
256
|
-
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "
|
|
256
|
+
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "date" | "step" | "location" | undefined;
|
|
257
257
|
'aria-describedby'?: string | undefined | undefined;
|
|
258
258
|
'aria-details'?: string | undefined | undefined;
|
|
259
259
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -59,7 +59,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
59
59
|
'aria-colindex'?: (string | number) | undefined;
|
|
60
60
|
'aria-colspan'?: (string | number) | undefined;
|
|
61
61
|
'aria-controls'?: string | undefined | undefined;
|
|
62
|
-
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "
|
|
62
|
+
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "date" | "step" | "location" | undefined;
|
|
63
63
|
'aria-describedby'?: string | undefined | undefined;
|
|
64
64
|
'aria-details'?: string | undefined | undefined;
|
|
65
65
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -253,7 +253,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
253
253
|
'aria-colindex'?: (string | number) | undefined;
|
|
254
254
|
'aria-colspan'?: (string | number) | undefined;
|
|
255
255
|
'aria-controls'?: string | undefined | undefined;
|
|
256
|
-
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "
|
|
256
|
+
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "date" | "step" | "location" | undefined;
|
|
257
257
|
'aria-describedby'?: string | undefined | undefined;
|
|
258
258
|
'aria-details'?: string | undefined | undefined;
|
|
259
259
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -61,7 +61,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
61
61
|
'aria-colindex'?: (string | number) | undefined;
|
|
62
62
|
'aria-colspan'?: (string | number) | undefined;
|
|
63
63
|
'aria-controls'?: string | undefined | undefined;
|
|
64
|
-
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "
|
|
64
|
+
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "date" | "step" | "location" | undefined;
|
|
65
65
|
'aria-describedby'?: string | undefined | undefined;
|
|
66
66
|
'aria-details'?: string | undefined | undefined;
|
|
67
67
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -257,7 +257,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
257
257
|
'aria-colindex'?: (string | number) | undefined;
|
|
258
258
|
'aria-colspan'?: (string | number) | undefined;
|
|
259
259
|
'aria-controls'?: string | undefined | undefined;
|
|
260
|
-
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "
|
|
260
|
+
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "date" | "step" | "location" | undefined;
|
|
261
261
|
'aria-describedby'?: string | undefined | undefined;
|
|
262
262
|
'aria-details'?: string | undefined | undefined;
|
|
263
263
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -61,7 +61,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
61
61
|
'aria-colindex'?: (string | number) | undefined;
|
|
62
62
|
'aria-colspan'?: (string | number) | undefined;
|
|
63
63
|
'aria-controls'?: string | undefined | undefined;
|
|
64
|
-
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "
|
|
64
|
+
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "date" | "step" | "location" | undefined;
|
|
65
65
|
'aria-describedby'?: string | undefined | undefined;
|
|
66
66
|
'aria-details'?: string | undefined | undefined;
|
|
67
67
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|
|
@@ -257,7 +257,7 @@ declare const __VLS_base: import("vue").DefineComponent<{
|
|
|
257
257
|
'aria-colindex'?: (string | number) | undefined;
|
|
258
258
|
'aria-colspan'?: (string | number) | undefined;
|
|
259
259
|
'aria-controls'?: string | undefined | undefined;
|
|
260
|
-
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "
|
|
260
|
+
'aria-current'?: "time" | "page" | (boolean | "true" | "false") | "date" | "step" | "location" | undefined;
|
|
261
261
|
'aria-describedby'?: string | undefined | undefined;
|
|
262
262
|
'aria-details'?: string | undefined | undefined;
|
|
263
263
|
'aria-disabled'?: (boolean | "true" | "false") | undefined;
|