@evixcard/evx-ui-kit 0.1.18
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/README.md +74 -0
- package/dist/App.vue.d.ts +2 -0
- package/dist/ArrowLeftIcon.vue_vue_type_script_setup_true_lang-Cxm89Wdo.cjs +2 -0
- package/dist/ArrowLeftIcon.vue_vue_type_script_setup_true_lang-Cxm89Wdo.cjs.map +1 -0
- package/dist/ArrowLeftIcon.vue_vue_type_script_setup_true_lang-nI7_WQWA.js +183 -0
- package/dist/ArrowLeftIcon.vue_vue_type_script_setup_true_lang-nI7_WQWA.js.map +1 -0
- package/dist/components/AccountInfo/AccountInfo.vue.d.ts +27 -0
- package/dist/components/AccountInfo/index.d.ts +2 -0
- package/dist/components/BadgeFilters/BadgeFilters.vue.d.ts +24 -0
- package/dist/components/BadgeFilters/index.d.ts +2 -0
- package/dist/components/BrandCard/BrandCard.vue.d.ts +29 -0
- package/dist/components/BrandCard/index.d.ts +2 -0
- package/dist/components/CredentialForm/CredentialForm.vue.d.ts +25 -0
- package/dist/components/CredentialForm/index.d.ts +2 -0
- package/dist/components/EvAccordion/EvAccordion.vue.d.ts +25 -0
- package/dist/components/EvAccordion/index.d.ts +1 -0
- package/dist/components/EvBackground/EvBackground.vue.d.ts +17 -0
- package/dist/components/EvBackground/EvBackgroundAnimated.vue.d.ts +10 -0
- package/dist/components/EvBackground/EvBackgroundStatic.vue.d.ts +10 -0
- package/dist/components/EvBackground/index.d.ts +6 -0
- package/dist/components/EvButton/EvButton.vue.d.ts +34 -0
- package/dist/components/EvButton/index.d.ts +2 -0
- package/dist/components/EvButton/variants.d.ts +16 -0
- package/dist/components/EvCheckbox/EvCheckbox.vue.d.ts +9 -0
- package/dist/components/EvCheckbox/index.d.ts +1 -0
- package/dist/components/EvFooter/EvFooter.vue.d.ts +32 -0
- package/dist/components/EvFooter/index.d.ts +2 -0
- package/dist/components/EvHeader/EvHeader.vue.d.ts +31 -0
- package/dist/components/EvHeader/index.d.ts +2 -0
- package/dist/components/EvInput/EvInput.vue.d.ts +59 -0
- package/dist/components/EvInput/index.d.ts +2 -0
- package/dist/components/EvInput/styles.d.ts +6 -0
- package/dist/components/EvInput/types.d.ts +3 -0
- package/dist/components/EvList/EvList.vue.d.ts +17 -0
- package/dist/components/EvList/EvListItem.vue.d.ts +37 -0
- package/dist/components/EvList/index.d.ts +3 -0
- package/dist/components/EvPopup/EvPopup.vue.d.ts +25 -0
- package/dist/components/EvPopup/index.d.ts +2 -0
- package/dist/components/EvRadio/EvRadio.vue.d.ts +21 -0
- package/dist/components/EvRadio/EvRadioGroup.vue.d.ts +26 -0
- package/dist/components/EvRadio/EvRadioLabel.vue.d.ts +22 -0
- package/dist/components/EvRadio/EvRadioOption.vue.d.ts +36 -0
- package/dist/components/EvRadio/index.d.ts +6 -0
- package/dist/components/EvSearch/EvSearch.vue.d.ts +153 -0
- package/dist/components/EvSearch/index.d.ts +2 -0
- package/dist/components/EvTabs/EvTabs.vue.d.ts +27 -0
- package/dist/components/EvTabs/index.d.ts +2 -0
- package/dist/components/EvToggle/EvToggle.vue.d.ts +9 -0
- package/dist/components/EvToggle/index.d.ts +1 -0
- package/dist/components/PageHeader/PageHeader.vue.d.ts +27 -0
- package/dist/components/PageHeader/index.d.ts +2 -0
- package/dist/components/TableInfo/TableInfo.vue.d.ts +10 -0
- package/dist/components/TableInfo/index.d.ts +2 -0
- package/dist/evx-ui-kit.cjs.js +51 -0
- package/dist/evx-ui-kit.cjs.js.map +1 -0
- package/dist/evx-ui-kit.css +1 -0
- package/dist/evx-ui-kit.d.ts +2 -0
- package/dist/evx-ui-kit.es.js +5402 -0
- package/dist/evx-ui-kit.es.js.map +1 -0
- package/dist/favicon.ico +0 -0
- package/dist/histoire/histoire.setup.d.ts +0 -0
- package/dist/icons/ArrowLeftIcon.vue.d.ts +7 -0
- package/dist/icons/CrossIcon.vue.d.ts +7 -0
- package/dist/icons/EvixLogo.vue.d.ts +2 -0
- package/dist/icons/LenseIcon.vue.d.ts +7 -0
- package/dist/icons/LogOutIcon.vue.d.ts +2 -0
- package/dist/icons/MinusIcon.vue.d.ts +2 -0
- package/dist/icons/PlusIcon.vue.d.ts +2 -0
- package/dist/icons/UserIcon.vue.d.ts +2 -0
- package/dist/icons/index.d.ts +9 -0
- package/dist/icons/logos/AmazonLogoIcon.vue.d.ts +2 -0
- package/dist/icons.cjs.js +2 -0
- package/dist/icons.cjs.js.map +1 -0
- package/dist/icons.d.ts +2 -0
- package/dist/icons.es.js +13 -0
- package/dist/icons.es.js.map +1 -0
- package/dist/index.d.ts +20 -0
- package/dist/main.d.ts +0 -0
- package/package.json +85 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Variant, EvButtonSize } from './variants.ts';
|
|
2
|
+
interface Props {
|
|
3
|
+
class?: HTMLButtonElement['className'];
|
|
4
|
+
size: EvButtonSize;
|
|
5
|
+
variant: Variant;
|
|
6
|
+
isLoading: boolean;
|
|
7
|
+
isDisabled: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: HTMLButtonElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<Partial<Props>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
click: (...args: any[]) => void;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<Partial<Props>> & Readonly<{
|
|
21
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
size: EvButtonSize;
|
|
24
|
+
variant: Variant;
|
|
25
|
+
isLoading: boolean;
|
|
26
|
+
isDisabled: boolean;
|
|
27
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const variants: {
|
|
2
|
+
primary: string;
|
|
3
|
+
secondary: string;
|
|
4
|
+
link: string;
|
|
5
|
+
ghost: string;
|
|
6
|
+
black: string;
|
|
7
|
+
icon: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const sizes: {
|
|
10
|
+
xl: string;
|
|
11
|
+
lg: string;
|
|
12
|
+
sm: string;
|
|
13
|
+
icon: string;
|
|
14
|
+
};
|
|
15
|
+
export type Variant = keyof typeof variants;
|
|
16
|
+
export type EvButtonSize = keyof typeof sizes;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type __VLS_PublicProps = {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (value: boolean) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as EvCheckbox } from './EvCheckbox.vue';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface FooterLink {
|
|
2
|
+
label: string;
|
|
3
|
+
href?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface FooterColumn {
|
|
6
|
+
links: FooterLink[];
|
|
7
|
+
}
|
|
8
|
+
export interface EvFooterProps {
|
|
9
|
+
description?: string;
|
|
10
|
+
columns?: FooterColumn[];
|
|
11
|
+
copyright?: string;
|
|
12
|
+
}
|
|
13
|
+
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
15
|
+
slots: {
|
|
16
|
+
logo?(_: {}): any;
|
|
17
|
+
description?(_: {}): any;
|
|
18
|
+
columns?(_: {}): any;
|
|
19
|
+
copyright?(_: {}): any;
|
|
20
|
+
};
|
|
21
|
+
refs: {};
|
|
22
|
+
rootEl: HTMLElement;
|
|
23
|
+
};
|
|
24
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
|
+
declare const __VLS_component: import('vue').DefineComponent<EvFooterProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvFooterProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { Variant, EvButtonSize } from '../EvButton/variants';
|
|
3
|
+
export interface NavItem {
|
|
4
|
+
label?: string;
|
|
5
|
+
href: string;
|
|
6
|
+
variant?: Variant;
|
|
7
|
+
size?: EvButtonSize;
|
|
8
|
+
class?: string;
|
|
9
|
+
icon?: Component;
|
|
10
|
+
}
|
|
11
|
+
type __VLS_Props = {
|
|
12
|
+
items?: NavItem[];
|
|
13
|
+
};
|
|
14
|
+
declare function __VLS_template(): {
|
|
15
|
+
attrs: Partial<{}>;
|
|
16
|
+
slots: {
|
|
17
|
+
logo?(_: {}): any;
|
|
18
|
+
'navigation-buttons'?(_: {}): any;
|
|
19
|
+
};
|
|
20
|
+
refs: {};
|
|
21
|
+
rootEl: HTMLElement;
|
|
22
|
+
};
|
|
23
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { EvInputSize, InputType } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
modelValue?: string | number | null;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
class?: string;
|
|
6
|
+
inputClass?: string;
|
|
7
|
+
type?: InputType;
|
|
8
|
+
id?: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
error?: boolean;
|
|
13
|
+
errorMessage?: string | null;
|
|
14
|
+
helperText?: string | null;
|
|
15
|
+
size?: EvInputSize;
|
|
16
|
+
};
|
|
17
|
+
declare function __VLS_template(): {
|
|
18
|
+
attrs: Partial<{}>;
|
|
19
|
+
slots: {
|
|
20
|
+
prefix?(_: {}): any;
|
|
21
|
+
suffix?(_: {}): any;
|
|
22
|
+
};
|
|
23
|
+
refs: {
|
|
24
|
+
inputRef: HTMLInputElement;
|
|
25
|
+
};
|
|
26
|
+
rootEl: any;
|
|
27
|
+
};
|
|
28
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
29
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
30
|
+
focus: () => void;
|
|
31
|
+
blur: () => void | undefined;
|
|
32
|
+
select: () => void | undefined;
|
|
33
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
34
|
+
input: (value: Event) => any;
|
|
35
|
+
"update:modelValue": (value: string | number | null) => any;
|
|
36
|
+
change: (value: Event) => any;
|
|
37
|
+
focus: (value: FocusEvent) => any;
|
|
38
|
+
blur: (value: FocusEvent) => any;
|
|
39
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
40
|
+
onInput?: ((value: Event) => any) | undefined;
|
|
41
|
+
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
42
|
+
onChange?: ((value: Event) => any) | undefined;
|
|
43
|
+
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
44
|
+
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
45
|
+
}>, {
|
|
46
|
+
size: EvInputSize;
|
|
47
|
+
type: InputType;
|
|
48
|
+
disabled: boolean;
|
|
49
|
+
required: boolean;
|
|
50
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
51
|
+
inputRef: HTMLInputElement;
|
|
52
|
+
}, any>;
|
|
53
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
54
|
+
export default _default;
|
|
55
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
56
|
+
new (): {
|
|
57
|
+
$slots: S;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const variants: {
|
|
2
|
+
md: string;
|
|
3
|
+
sm: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const containerBaseClasses = "\n w-full cursor-text\n flex items-center\n gap-4\n bg-white text-black\n border border-[#F1F1F1]\n outline-none\n transition-colors\n focus-within:border-[#888A8D]\n";
|
|
6
|
+
export declare const inputBaseClasses = "\n flex-1\n bg-transparent\n border-0 outline-none\n placeholder:text-[#8C8C8C]\n !leading-[12px]\n text-[14px]\n disabled:cursor-not-allowed\n";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
export interface EvListItemProps {
|
|
3
|
+
id?: string | number;
|
|
4
|
+
title?: string;
|
|
5
|
+
subtitle?: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
subvalue?: string;
|
|
8
|
+
icon?: Component;
|
|
9
|
+
hoverable?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
icon?(_: {}): any;
|
|
15
|
+
title?(_: {}): any;
|
|
16
|
+
subtitle?(_: {}): any;
|
|
17
|
+
value?(_: {}): any;
|
|
18
|
+
subvalue?(_: {}): any;
|
|
19
|
+
};
|
|
20
|
+
refs: {};
|
|
21
|
+
rootEl: HTMLDivElement;
|
|
22
|
+
};
|
|
23
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
+
declare const __VLS_component: import('vue').DefineComponent<EvListItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
25
|
+
click: (id: string | number | undefined) => any;
|
|
26
|
+
}, string, import('vue').PublicProps, Readonly<EvListItemProps> & Readonly<{
|
|
27
|
+
onClick?: ((id: string | number | undefined) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
hoverable: boolean;
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface EvPopupProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
title?: string;
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<EvPopupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
|
+
close: () => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<EvPopupProps> & Readonly<{
|
|
17
|
+
onClose?: (() => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface RadioOption {
|
|
2
|
+
value: any;
|
|
3
|
+
label?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface EvRadioProps {
|
|
8
|
+
modelValue?: any;
|
|
9
|
+
options?: RadioOption[];
|
|
10
|
+
label?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
name?: string;
|
|
13
|
+
}
|
|
14
|
+
declare const _default: import('vue').DefineComponent<EvRadioProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (...args: any[]) => void;
|
|
16
|
+
change: (...args: any[]) => void;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<EvRadioProps> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
modelValue?: any;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
name?: string;
|
|
5
|
+
}
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: any;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (...args: any[]) => void;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
as?: string | object;
|
|
3
|
+
}
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: any;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
14
|
+
as: string | object;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface EvRadioOptionProps {
|
|
2
|
+
value: any;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
as?: string | object;
|
|
5
|
+
}
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {
|
|
10
|
+
checked: any;
|
|
11
|
+
active: any;
|
|
12
|
+
disabled: any;
|
|
13
|
+
}): any;
|
|
14
|
+
label?(_: {
|
|
15
|
+
checked: any;
|
|
16
|
+
disabled: any;
|
|
17
|
+
}): any;
|
|
18
|
+
description?(_: {
|
|
19
|
+
checked: any;
|
|
20
|
+
disabled: any;
|
|
21
|
+
}): any;
|
|
22
|
+
};
|
|
23
|
+
refs: {};
|
|
24
|
+
rootEl: any;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: import('vue').DefineComponent<EvRadioOptionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvRadioOptionProps> & Readonly<{}>, {
|
|
28
|
+
as: string | object;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
+
export default _default;
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as EvRadioGroup } from './EvRadioGroup.vue';
|
|
2
|
+
export { default as EvRadioOption } from './EvRadioOption.vue';
|
|
3
|
+
export { default as EvRadioLabel } from './EvRadioLabel.vue';
|
|
4
|
+
export { default as EvRadio } from './EvRadio.vue';
|
|
5
|
+
export type { RadioOption, EvRadioProps } from './EvRadio.vue';
|
|
6
|
+
export type { EvRadioOptionProps } from './EvRadioOption.vue';
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { EvInputSize } from '../EvInput/types';
|
|
2
|
+
export interface EvSearchProps {
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
size?: EvInputSize;
|
|
6
|
+
id?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
class?: string;
|
|
9
|
+
inputClass?: string;
|
|
10
|
+
}
|
|
11
|
+
type __VLS_Props = EvSearchProps;
|
|
12
|
+
type __VLS_PublicProps = {
|
|
13
|
+
modelValue?: string;
|
|
14
|
+
} & __VLS_Props;
|
|
15
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: string) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
size: EvInputSize;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
23
|
+
evInputRef: ({
|
|
24
|
+
$: import('vue').ComponentInternalInstance;
|
|
25
|
+
$data: {};
|
|
26
|
+
$props: {
|
|
27
|
+
readonly modelValue?: string | number | null | undefined;
|
|
28
|
+
readonly placeholder?: string | undefined;
|
|
29
|
+
readonly class?: string | undefined;
|
|
30
|
+
readonly inputClass?: string | undefined;
|
|
31
|
+
readonly type?: import('../EvInput').InputType | undefined;
|
|
32
|
+
readonly id?: string | undefined;
|
|
33
|
+
readonly name?: string | undefined;
|
|
34
|
+
readonly disabled?: boolean | undefined;
|
|
35
|
+
readonly required?: boolean | undefined;
|
|
36
|
+
readonly error?: boolean | undefined;
|
|
37
|
+
readonly errorMessage?: string | null | undefined;
|
|
38
|
+
readonly helperText?: string | null | undefined;
|
|
39
|
+
readonly size?: EvInputSize | undefined;
|
|
40
|
+
readonly onInput?: ((value: Event) => any) | undefined;
|
|
41
|
+
readonly "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
42
|
+
readonly onChange?: ((value: Event) => any) | undefined;
|
|
43
|
+
readonly onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
44
|
+
readonly onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
45
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
46
|
+
$attrs: {
|
|
47
|
+
[x: string]: unknown;
|
|
48
|
+
};
|
|
49
|
+
$refs: {
|
|
50
|
+
[x: string]: unknown;
|
|
51
|
+
} & {
|
|
52
|
+
inputRef: HTMLInputElement;
|
|
53
|
+
};
|
|
54
|
+
$slots: Readonly<{
|
|
55
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
56
|
+
}>;
|
|
57
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
58
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
59
|
+
$host: Element | null;
|
|
60
|
+
$emit: ((event: "input", value: Event) => void) & ((event: "update:modelValue", value: string | number | null) => void) & ((event: "change", value: Event) => void) & ((event: "focus", value: FocusEvent) => void) & ((event: "blur", value: FocusEvent) => void);
|
|
61
|
+
$el: any;
|
|
62
|
+
$options: import('vue').ComponentOptionsBase<Readonly<{
|
|
63
|
+
modelValue?: string | number | null;
|
|
64
|
+
placeholder?: string;
|
|
65
|
+
class?: string;
|
|
66
|
+
inputClass?: string;
|
|
67
|
+
type?: import('../EvInput').InputType;
|
|
68
|
+
id?: string;
|
|
69
|
+
name?: string;
|
|
70
|
+
disabled?: boolean;
|
|
71
|
+
required?: boolean;
|
|
72
|
+
error?: boolean;
|
|
73
|
+
errorMessage?: string | null;
|
|
74
|
+
helperText?: string | null;
|
|
75
|
+
size?: EvInputSize;
|
|
76
|
+
}> & Readonly<{
|
|
77
|
+
onInput?: ((value: Event) => any) | undefined;
|
|
78
|
+
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
79
|
+
onChange?: ((value: Event) => any) | undefined;
|
|
80
|
+
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
81
|
+
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
82
|
+
}>, {
|
|
83
|
+
focus: () => void;
|
|
84
|
+
blur: () => void | undefined;
|
|
85
|
+
select: () => void | undefined;
|
|
86
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
87
|
+
input: (value: Event) => any;
|
|
88
|
+
"update:modelValue": (value: string | number | null) => any;
|
|
89
|
+
change: (value: Event) => any;
|
|
90
|
+
focus: (value: FocusEvent) => any;
|
|
91
|
+
blur: (value: FocusEvent) => any;
|
|
92
|
+
}, string, {
|
|
93
|
+
size: EvInputSize;
|
|
94
|
+
type: import('../EvInput').InputType;
|
|
95
|
+
disabled: boolean;
|
|
96
|
+
required: boolean;
|
|
97
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
98
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
99
|
+
created?: (() => void) | (() => void)[];
|
|
100
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
101
|
+
mounted?: (() => void) | (() => void)[];
|
|
102
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
103
|
+
updated?: (() => void) | (() => void)[];
|
|
104
|
+
activated?: (() => void) | (() => void)[];
|
|
105
|
+
deactivated?: (() => void) | (() => void)[];
|
|
106
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
107
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
108
|
+
destroyed?: (() => void) | (() => void)[];
|
|
109
|
+
unmounted?: (() => void) | (() => void)[];
|
|
110
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
111
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
112
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
113
|
+
};
|
|
114
|
+
$forceUpdate: () => void;
|
|
115
|
+
$nextTick: typeof import('vue').nextTick;
|
|
116
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
117
|
+
} & Readonly<{
|
|
118
|
+
size: EvInputSize;
|
|
119
|
+
type: import('../EvInput').InputType;
|
|
120
|
+
disabled: boolean;
|
|
121
|
+
required: boolean;
|
|
122
|
+
}> & Omit<Readonly<{
|
|
123
|
+
modelValue?: string | number | null;
|
|
124
|
+
placeholder?: string;
|
|
125
|
+
class?: string;
|
|
126
|
+
inputClass?: string;
|
|
127
|
+
type?: import('../EvInput').InputType;
|
|
128
|
+
id?: string;
|
|
129
|
+
name?: string;
|
|
130
|
+
disabled?: boolean;
|
|
131
|
+
required?: boolean;
|
|
132
|
+
error?: boolean;
|
|
133
|
+
errorMessage?: string | null;
|
|
134
|
+
helperText?: string | null;
|
|
135
|
+
size?: EvInputSize;
|
|
136
|
+
}> & Readonly<{
|
|
137
|
+
onInput?: ((value: Event) => any) | undefined;
|
|
138
|
+
"onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
|
|
139
|
+
onChange?: ((value: Event) => any) | undefined;
|
|
140
|
+
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
141
|
+
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
142
|
+
}>, "select" | "focus" | "blur" | ("size" | "type" | "disabled" | "required")> & import('vue').ShallowUnwrapRef<{
|
|
143
|
+
focus: () => void;
|
|
144
|
+
blur: () => void | undefined;
|
|
145
|
+
select: () => void | undefined;
|
|
146
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
147
|
+
$slots: {
|
|
148
|
+
prefix?(_: {}): any;
|
|
149
|
+
suffix?(_: {}): any;
|
|
150
|
+
};
|
|
151
|
+
}) | null;
|
|
152
|
+
}, any>;
|
|
153
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface TabItem {
|
|
2
|
+
label: string;
|
|
3
|
+
content?: string;
|
|
4
|
+
}
|
|
5
|
+
export interface EvTabsProps {
|
|
6
|
+
tabs: TabItem[];
|
|
7
|
+
size?: 'sm' | 'md';
|
|
8
|
+
}
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: Partial<Record<`tab-${number}`, (_: {
|
|
12
|
+
tab: TabItem;
|
|
13
|
+
}) => any>>;
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<EvTabsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EvTabsProps> & Readonly<{}>, {
|
|
19
|
+
size: "sm" | "md";
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type __VLS_PublicProps = {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (value: boolean) => any;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
7
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as EvToggle } from './EvToggle.vue';
|