@halo-dev/components 2.21.0 → 2.23.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/components/alert/Alert.vue.d.ts +13 -16
- package/dist/components/alert/index.d.ts +1 -0
- package/dist/components/alert/types.d.ts +1 -0
- package/dist/components/avatar/Avatar.vue.d.ts +3 -3
- package/dist/components/avatar/AvatarGroup.vue.d.ts +5 -4
- package/dist/components/avatar/index.d.ts +1 -0
- package/dist/components/avatar/{interface.d.ts → types.d.ts} +2 -2
- package/dist/components/button/Button.vue.d.ts +18 -25
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button/types.d.ts +2 -0
- package/dist/components/card/Card.vue.d.ts +7 -8
- package/dist/components/description/Description.vue.d.ts +3 -2
- package/dist/components/description/DescriptionItem.vue.d.ts +9 -11
- package/dist/components/dialog/Dialog.vue.d.ts +3 -3
- package/dist/components/dialog/dialog-manager.d.ts +1 -1
- package/dist/components/dialog/index.d.ts +2 -1
- package/dist/components/dialog/{interface.d.ts → types.d.ts} +3 -3
- package/dist/components/dropdown/DropdownDivider.vue.d.ts +1 -1
- package/dist/components/dropdown/DropdownItem.vue.d.ts +12 -14
- package/dist/components/dropdown/index.d.ts +1 -3
- package/dist/components/empty/Empty.vue.d.ts +8 -10
- package/dist/components/entity/Entity.vue.d.ts +6 -6
- package/dist/components/entity/EntityContainer.vue.d.ts +3 -2
- package/dist/components/entity/EntityField.vue.d.ts +13 -14
- package/dist/components/header/PageHeader.vue.d.ts +6 -6
- package/dist/components/loading/Loading.vue.d.ts +1 -1
- package/dist/components/menu/Menu.vue.d.ts +6 -6
- package/dist/components/menu/MenuItem.vue.d.ts +10 -12
- package/dist/components/menu/MenuLabel.vue.d.ts +3 -2
- package/dist/components/modal/Modal.vue.d.ts +19 -24
- package/dist/components/pagination/Pagination.vue.d.ts +5 -13
- package/dist/components/space/Space.vue.d.ts +13 -15
- package/dist/components/space/index.d.ts +1 -0
- package/dist/components/space/types.d.ts +4 -0
- package/dist/components/status/StatusDot.vue.d.ts +11 -13
- package/dist/components/status/index.d.ts +1 -0
- package/dist/components/status/types.d.ts +1 -0
- package/dist/components/switch/Switch.vue.d.ts +10 -12
- package/dist/components/tabs/TabItem.vue.d.ts +7 -8
- package/dist/components/tabs/Tabbar.vue.d.ts +14 -16
- package/dist/components/tabs/Tabs.vue.d.ts +15 -19
- package/dist/components/tabs/index.d.ts +2 -1
- package/dist/components/tabs/types.d.ts +6 -0
- package/dist/components/tag/Tag.vue.d.ts +11 -13
- package/dist/components/tag/index.d.ts +1 -0
- package/dist/components/tag/types.d.ts +1 -0
- package/dist/components/toast/Toast.vue.d.ts +15 -21
- package/dist/components/toast/index.d.ts +1 -0
- package/dist/components/toast/toast-manager.d.ts +1 -1
- package/dist/components/toast/{interface.d.ts → types.d.ts} +2 -2
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/icons/icons.d.ts +2 -1
- package/dist/index.es.js +5800 -0
- package/dist/index.es.js.map +1 -0
- package/dist/index.iife.js +2 -0
- package/dist/index.iife.js.map +1 -0
- package/dist/style.css +3 -1
- package/package.json +39 -47
- package/dist/components/alert/Alert.stories.d.ts +0 -10
- package/dist/components/alert/interface.d.ts +0 -1
- package/dist/components/avatar/Avatar.stories.d.ts +0 -8
- package/dist/components/avatar/AvatarGroup.stories.d.ts +0 -7
- package/dist/components/button/Button.stories.d.ts +0 -9
- package/dist/components/button/interface.d.ts +0 -2
- package/dist/components/card/Card.stories.d.ts +0 -6
- package/dist/components/dialog/Dialog.stories.d.ts +0 -8
- package/dist/components/dropdown/Draopdown.stories.d.ts +0 -6
- package/dist/components/dropdown/Dropdown.vue.d.ts +0 -22
- package/dist/components/dropdown/symbols.d.ts +0 -4
- package/dist/components/empty/Empty.stories.d.ts +0 -6
- package/dist/components/loading/Loading.stories.d.ts +0 -6
- package/dist/components/menu/Menu.stories.d.ts +0 -6
- package/dist/components/modal/Modal.stories.d.ts +0 -6
- package/dist/components/pagination/Pagination.stories.d.ts +0 -6
- package/dist/components/space/Space.stories.d.ts +0 -6
- package/dist/components/space/interface.d.ts +0 -4
- package/dist/components/status/StatusDot.stories.d.ts +0 -9
- package/dist/components/status/interface.d.ts +0 -1
- package/dist/components/switch/Switch.stories.d.ts +0 -6
- package/dist/components/tabs/Tabbar.stories.d.ts +0 -8
- package/dist/components/tabs/Tabs.stories.d.ts +0 -8
- package/dist/components/tabs/interface.d.ts +0 -6
- package/dist/components/tag/Tag.stories.d.ts +0 -10
- package/dist/components/tag/interface.d.ts +0 -1
- package/dist/halo-components.es.js +0 -6434
- package/dist/halo-components.es.js.map +0 -1
- package/dist/halo-components.iife.js +0 -10
- package/dist/halo-components.iife.js.map +0 -1
|
@@ -1,5 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
visible?: boolean;
|
|
3
|
+
title?: string;
|
|
4
|
+
width?: number;
|
|
5
|
+
height?: string;
|
|
6
|
+
fullscreen?: boolean;
|
|
7
|
+
bodyClass?: string[];
|
|
8
|
+
mountToBody?: boolean;
|
|
9
|
+
centered?: boolean;
|
|
10
|
+
layerClosable?: boolean;
|
|
11
|
+
};
|
|
1
12
|
declare function handleClose(): void;
|
|
2
13
|
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
3
15
|
slots: {
|
|
4
16
|
header?(_: {}): any;
|
|
5
17
|
center?(_: {}): any;
|
|
@@ -11,35 +23,15 @@ declare function __VLS_template(): {
|
|
|
11
23
|
modelWrapper: HTMLDivElement;
|
|
12
24
|
modalBody: HTMLDivElement;
|
|
13
25
|
};
|
|
14
|
-
|
|
26
|
+
rootEl: any;
|
|
15
27
|
};
|
|
16
28
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
18
|
-
visible?: boolean;
|
|
19
|
-
title?: string;
|
|
20
|
-
width?: number;
|
|
21
|
-
height?: string;
|
|
22
|
-
fullscreen?: boolean;
|
|
23
|
-
bodyClass?: string[];
|
|
24
|
-
mountToBody?: boolean;
|
|
25
|
-
centered?: boolean;
|
|
26
|
-
layerClosable?: boolean;
|
|
27
|
-
}, {
|
|
29
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
28
30
|
close: typeof handleClose;
|
|
29
31
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
30
32
|
close: () => any;
|
|
31
33
|
"update:visible": (value: boolean) => any;
|
|
32
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
33
|
-
visible?: boolean;
|
|
34
|
-
title?: string;
|
|
35
|
-
width?: number;
|
|
36
|
-
height?: string;
|
|
37
|
-
fullscreen?: boolean;
|
|
38
|
-
bodyClass?: string[];
|
|
39
|
-
mountToBody?: boolean;
|
|
40
|
-
centered?: boolean;
|
|
41
|
-
layerClosable?: boolean;
|
|
42
|
-
}> & Readonly<{
|
|
34
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
43
35
|
onClose?: (() => any) | undefined;
|
|
44
36
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
45
37
|
}>, {
|
|
@@ -52,7 +44,10 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
52
44
|
mountToBody: boolean;
|
|
53
45
|
centered: boolean;
|
|
54
46
|
layerClosable: boolean;
|
|
55
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
47
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
48
|
+
modelWrapper: HTMLDivElement;
|
|
49
|
+
modalBody: HTMLDivElement;
|
|
50
|
+
}, any>;
|
|
56
51
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
57
52
|
export default _default;
|
|
58
53
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
type __VLS_Props = {
|
|
2
2
|
page?: number;
|
|
3
3
|
size?: number;
|
|
4
4
|
total?: number;
|
|
@@ -7,23 +7,15 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
7
7
|
pageLabel?: string;
|
|
8
8
|
sizeLabel?: string;
|
|
9
9
|
totalLabel?: string;
|
|
10
|
-
}
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
12
|
"update:page": (page: number) => any;
|
|
12
13
|
"update:size": (size: number) => any;
|
|
13
14
|
change: (value: {
|
|
14
15
|
page: number;
|
|
15
16
|
size: number;
|
|
16
17
|
}) => any;
|
|
17
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
18
|
-
page?: number;
|
|
19
|
-
size?: number;
|
|
20
|
-
total?: number;
|
|
21
|
-
sizeOptions?: number[];
|
|
22
|
-
showTotal?: boolean;
|
|
23
|
-
pageLabel?: string;
|
|
24
|
-
sizeLabel?: string;
|
|
25
|
-
totalLabel?: string;
|
|
26
|
-
}> & Readonly<{
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
27
19
|
"onUpdate:page"?: ((page: number) => any) | undefined;
|
|
28
20
|
"onUpdate:size"?: ((size: number) => any) | undefined;
|
|
29
21
|
onChange?: ((value: {
|
|
@@ -39,5 +31,5 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
39
31
|
pageLabel: string;
|
|
40
32
|
sizeLabel: string;
|
|
41
33
|
totalLabel: string;
|
|
42
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
43
35
|
export default _default;
|
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { SpaceAlign, SpaceDirection, SpaceSpacing } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
spacing?: SpaceSpacing;
|
|
4
|
+
direction?: SpaceDirection;
|
|
5
|
+
align?: SpaceAlign;
|
|
6
|
+
};
|
|
2
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
3
9
|
slots: {
|
|
4
10
|
default?(_: {}): any;
|
|
5
11
|
};
|
|
6
12
|
refs: {};
|
|
7
|
-
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
8
14
|
};
|
|
9
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
align
|
|
14
|
-
}, {}, {}, {},
|
|
15
|
-
spacing?: Spacing;
|
|
16
|
-
direction?: Direction;
|
|
17
|
-
align?: Align;
|
|
18
|
-
}> & Readonly<{}>, {
|
|
19
|
-
direction: Direction;
|
|
20
|
-
spacing: Spacing;
|
|
21
|
-
align: Align;
|
|
22
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
17
|
+
direction: SpaceDirection;
|
|
18
|
+
spacing: SpaceSpacing;
|
|
19
|
+
align: SpaceAlign;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
22
|
export default _default;
|
|
25
23
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,25 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StatusDotState } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
state?: StatusDotState;
|
|
4
|
+
animate?: boolean;
|
|
5
|
+
text?: string;
|
|
6
|
+
};
|
|
2
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
3
9
|
slots: {
|
|
4
10
|
text?(_: {}): any;
|
|
5
11
|
};
|
|
6
12
|
refs: {};
|
|
7
|
-
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
8
14
|
};
|
|
9
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
11
|
-
state?: State;
|
|
12
|
-
animate?: boolean;
|
|
13
|
-
text?: string;
|
|
14
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
15
|
-
state?: State;
|
|
16
|
-
animate?: boolean;
|
|
17
|
-
text?: string;
|
|
18
|
-
}> & Readonly<{}>, {
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
17
|
animate: boolean;
|
|
20
18
|
text: string;
|
|
21
|
-
state:
|
|
22
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
19
|
+
state: StatusDotState;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
22
|
export default _default;
|
|
25
23
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type StatusDotState = "default" | "success" | "warning" | "error";
|
|
@@ -1,30 +1,28 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
modelValue?: boolean;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
};
|
|
1
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
2
8
|
slots: {
|
|
3
9
|
icon?(_: {}): any;
|
|
4
10
|
};
|
|
5
11
|
refs: {};
|
|
6
|
-
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
7
13
|
};
|
|
8
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
10
|
-
modelValue?: boolean;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
loading?: boolean;
|
|
13
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
14
16
|
change: (value: boolean) => any;
|
|
15
17
|
"update:modelValue": (value: boolean) => any;
|
|
16
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
17
|
-
modelValue?: boolean;
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
loading?: boolean;
|
|
20
|
-
}> & Readonly<{
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
21
19
|
onChange?: ((value: boolean) => any) | undefined;
|
|
22
20
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
23
21
|
}>, {
|
|
24
22
|
disabled: boolean;
|
|
25
23
|
loading: boolean;
|
|
26
24
|
modelValue: boolean;
|
|
27
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
28
26
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
27
|
export default _default;
|
|
30
28
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id?: string;
|
|
3
|
+
label?: string;
|
|
4
|
+
};
|
|
1
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
2
7
|
slots: {
|
|
3
8
|
default?(_: {}): any;
|
|
4
9
|
};
|
|
5
10
|
refs: {};
|
|
6
|
-
|
|
11
|
+
rootEl: any;
|
|
7
12
|
};
|
|
8
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
10
|
-
id?: string;
|
|
11
|
-
label?: string;
|
|
12
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
13
|
-
id?: string;
|
|
14
|
-
label?: string;
|
|
15
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
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, {}, any>;
|
|
16
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
16
|
export default _default;
|
|
18
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,30 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { TabsDirection, TabsType } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
activeId?: number | string;
|
|
4
4
|
items?: Array<Record<string, string>>;
|
|
5
|
-
type?:
|
|
6
|
-
direction?:
|
|
5
|
+
type?: TabsType;
|
|
6
|
+
direction?: TabsDirection;
|
|
7
7
|
idKey?: string;
|
|
8
8
|
labelKey?: string;
|
|
9
|
-
}
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
10
11
|
change: (value: string | number) => any;
|
|
11
12
|
"update:activeId": (value: string | number) => any;
|
|
12
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
13
|
-
activeId?: number | string;
|
|
14
|
-
items?: Array<Record<string, string>>;
|
|
15
|
-
type?: Type;
|
|
16
|
-
direction?: Direction;
|
|
17
|
-
idKey?: string;
|
|
18
|
-
labelKey?: string;
|
|
19
|
-
}> & Readonly<{
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
14
|
onChange?: ((value: string | number) => any) | undefined;
|
|
21
15
|
"onUpdate:activeId"?: ((value: string | number) => any) | undefined;
|
|
22
16
|
}>, {
|
|
23
|
-
type:
|
|
24
|
-
direction:
|
|
17
|
+
type: TabsType;
|
|
18
|
+
direction: TabsDirection;
|
|
25
19
|
activeId: number | string;
|
|
26
20
|
items: Array<Record<string, string>>;
|
|
27
21
|
idKey: string;
|
|
28
22
|
labelKey: string;
|
|
29
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
24
|
+
indicatorRef: HTMLDivElement;
|
|
25
|
+
tabbarItemsRef: HTMLDivElement;
|
|
26
|
+
tabItemRefs: HTMLDivElement[];
|
|
27
|
+
}, HTMLDivElement>;
|
|
30
28
|
export default _default;
|
|
@@ -1,37 +1,33 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TabsDirection, TabsType } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
activeId?: number | string;
|
|
4
|
+
type?: TabsType;
|
|
5
|
+
direction?: TabsDirection;
|
|
6
|
+
idKey?: string;
|
|
7
|
+
labelKey?: string;
|
|
8
|
+
};
|
|
2
9
|
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
3
11
|
slots: {
|
|
4
12
|
default?(_: {}): any;
|
|
5
13
|
};
|
|
6
14
|
refs: {};
|
|
7
|
-
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
8
16
|
};
|
|
9
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
11
|
-
activeId?: number | string;
|
|
12
|
-
type?: Type;
|
|
13
|
-
direction?: Direction;
|
|
14
|
-
idKey?: string;
|
|
15
|
-
labelKey?: string;
|
|
16
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
17
19
|
change: (value: string | number) => any;
|
|
18
20
|
"update:activeId": (value: string | number) => any;
|
|
19
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
20
|
-
activeId?: number | string;
|
|
21
|
-
type?: Type;
|
|
22
|
-
direction?: Direction;
|
|
23
|
-
idKey?: string;
|
|
24
|
-
labelKey?: string;
|
|
25
|
-
}> & Readonly<{
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
22
|
onChange?: ((value: string | number) => any) | undefined;
|
|
27
23
|
"onUpdate:activeId"?: ((value: string | number) => any) | undefined;
|
|
28
24
|
}>, {
|
|
29
|
-
type:
|
|
30
|
-
direction:
|
|
25
|
+
type: TabsType;
|
|
26
|
+
direction: TabsDirection;
|
|
31
27
|
activeId: number | string;
|
|
32
28
|
idKey: string;
|
|
33
29
|
labelKey: string;
|
|
34
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
35
31
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
32
|
export default _default;
|
|
37
33
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,28 +1,26 @@
|
|
|
1
1
|
import { CSSProperties } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { TagTheme } from './types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
theme?: TagTheme;
|
|
5
|
+
rounded?: boolean;
|
|
6
|
+
styles?: CSSProperties;
|
|
7
|
+
};
|
|
3
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
4
10
|
slots: {
|
|
5
11
|
leftIcon?(_: {}): any;
|
|
6
12
|
default?(_: {}): any;
|
|
7
13
|
rightIcon?(_: {}): any;
|
|
8
14
|
};
|
|
9
15
|
refs: {};
|
|
10
|
-
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
11
17
|
};
|
|
12
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
14
|
-
theme?: Theme;
|
|
15
|
-
rounded?: boolean;
|
|
16
|
-
styles?: CSSProperties;
|
|
17
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
18
|
-
theme?: Theme;
|
|
19
|
-
rounded?: boolean;
|
|
20
|
-
styles?: CSSProperties;
|
|
21
|
-
}> & Readonly<{}>, {
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
22
20
|
styles: CSSProperties;
|
|
23
|
-
theme:
|
|
21
|
+
theme: TagTheme;
|
|
24
22
|
rounded: boolean;
|
|
25
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
26
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
25
|
export default _default;
|
|
28
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TagTheme = "default" | "primary" | "secondary" | "danger";
|
|
@@ -1,36 +1,30 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ToastType } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
type?: ToastType;
|
|
4
|
+
content?: string;
|
|
5
|
+
duration?: number;
|
|
6
|
+
closable?: boolean;
|
|
7
|
+
frozenOnHover?: boolean;
|
|
8
|
+
count?: 0;
|
|
9
|
+
onClose?: () => void;
|
|
10
|
+
};
|
|
2
11
|
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
3
13
|
slots: {
|
|
4
14
|
default?(_: {}): any;
|
|
5
15
|
};
|
|
6
16
|
refs: {};
|
|
7
|
-
|
|
17
|
+
rootEl: any;
|
|
8
18
|
};
|
|
9
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
11
|
-
type?: Type;
|
|
12
|
-
content?: string;
|
|
13
|
-
duration?: number;
|
|
14
|
-
closable?: boolean;
|
|
15
|
-
frozenOnHover?: boolean;
|
|
16
|
-
count?: 0;
|
|
17
|
-
onClose?: () => void;
|
|
18
|
-
}, {
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
19
21
|
close: () => void;
|
|
20
22
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
21
23
|
close: () => any;
|
|
22
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
23
|
-
type?: Type;
|
|
24
|
-
content?: string;
|
|
25
|
-
duration?: number;
|
|
26
|
-
closable?: boolean;
|
|
27
|
-
frozenOnHover?: boolean;
|
|
28
|
-
count?: 0;
|
|
29
|
-
onClose?: () => void;
|
|
30
|
-
}> & Readonly<{
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
31
25
|
onClose?: (() => any) | undefined;
|
|
32
26
|
}>, {
|
|
33
|
-
type:
|
|
27
|
+
type: ToastType;
|
|
34
28
|
closable: boolean;
|
|
35
29
|
onClose: () => void;
|
|
36
30
|
content: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { Tooltip as VTooltipComponent, vTooltip } from 'floating-vue';
|
package/dist/icons/icons.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ import { default as IconStopCircle } from '~icons/ri/stop-circle-line';
|
|
|
64
64
|
import { default as IconTablet } from '~icons/ri/tablet-line';
|
|
65
65
|
import { default as IconTeam } from '~icons/ri/team-fill';
|
|
66
66
|
import { default as IconTerminalBoxLine } from '~icons/ri/terminal-box-line';
|
|
67
|
+
import { default as IconThumbUpLine } from '~icons/ri/thumb-up-line';
|
|
67
68
|
import { default as IconTimerLine } from '~icons/ri/timer-line';
|
|
68
69
|
import { default as IconToolsFill } from '~icons/ri/tools-fill';
|
|
69
70
|
import { default as IconRiUpload2Fill } from '~icons/ri/upload-2-fill';
|
|
@@ -74,4 +75,4 @@ import { default as IconUserSettings } from '~icons/ri/user-settings-line';
|
|
|
74
75
|
import { default as IconWindowLine } from '~icons/ri/window-line';
|
|
75
76
|
import { default as IconZoomInLine } from '~icons/ri/zoom-in-line';
|
|
76
77
|
import { default as IconZoomOutLine } from '~icons/ri/zoom-out-line';
|
|
77
|
-
export { IconAccountCircleLine, IconAddCircle, IconArrowDown, IconArrowDownCircleLine, IconArrowDownLine, IconArrowLeft, IconArrowLeftRightLine, IconArrowRight, IconArrowUpCircleLine, IconArrowUpDownLine, IconArrowUpLine, IconBookRead, IconCalendar, IconCharacterRecognition, IconCheckboxCircle, IconCheckboxFill, IconClipboardLine, IconClose, IconCloseCircle, IconCodeBoxLine, IconComputer, IconDashboard, IconDatabase2Line, IconDeleteBin, IconErrorWarning, IconExchange, IconExternalLinkLine, IconEye, IconEyeOff, IconFolder, IconForbidLine, IconGitBranch, IconGitHub, IconGrid, IconHistoryLine, IconImageAddLine, IconInformation, IconLink, IconList, IconListSettings, IconLockPasswordLine, IconLogoutCircleRLine, IconMagic, IconMessage, IconMore, IconMotionLine, IconNotificationBadgeLine, IconPages, IconPalette, IconPhone, IconPlug, IconRefreshLine, IconReplyLine, IconRiPencilFill, IconRiUpload2Fill, IconRocketLine, IconSave, IconSearch, IconSendPlaneFill, IconServerLine, IconSettings, IconSettings3Line, IconShieldUser, IconStopCircle, IconTablet, IconTeam, IconTerminalBoxLine, IconTimerLine, IconToolsFill, IconUpload, IconUserFollow, IconUserLine, IconUserSettings, IconWindowLine, IconZoomInLine, IconZoomOutLine, };
|
|
78
|
+
export { IconAccountCircleLine, IconAddCircle, IconArrowDown, IconArrowDownCircleLine, IconArrowDownLine, IconArrowLeft, IconArrowLeftRightLine, IconArrowRight, IconArrowUpCircleLine, IconArrowUpDownLine, IconArrowUpLine, IconBookRead, IconCalendar, IconCharacterRecognition, IconCheckboxCircle, IconCheckboxFill, IconClipboardLine, IconClose, IconCloseCircle, IconCodeBoxLine, IconComputer, IconDashboard, IconDatabase2Line, IconDeleteBin, IconErrorWarning, IconExchange, IconExternalLinkLine, IconEye, IconEyeOff, IconFolder, IconForbidLine, IconGitBranch, IconGitHub, IconGrid, IconHistoryLine, IconImageAddLine, IconInformation, IconLink, IconList, IconListSettings, IconLockPasswordLine, IconLogoutCircleRLine, IconMagic, IconMessage, IconMore, IconMotionLine, IconNotificationBadgeLine, IconPages, IconPalette, IconPhone, IconPlug, IconRefreshLine, IconReplyLine, IconRiPencilFill, IconRiUpload2Fill, IconRocketLine, IconSave, IconSearch, IconSendPlaneFill, IconServerLine, IconSettings, IconSettings3Line, IconShieldUser, IconStopCircle, IconTablet, IconTeam, IconTerminalBoxLine, IconThumbUpLine, IconTimerLine, IconToolsFill, IconUpload, IconUserFollow, IconUserLine, IconUserSettings, IconWindowLine, IconZoomInLine, IconZoomOutLine, };
|