@halo-dev/components 2.15.0 → 2.16.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.stories.d.ts +11 -0
- package/dist/components/alert/Alert.vue.d.ts +59 -52
- package/dist/components/alert/index.d.ts +1 -1
- package/dist/components/avatar/Avatar.stories.d.ts +9 -0
- package/dist/components/avatar/Avatar.vue.d.ts +55 -72
- package/dist/components/avatar/index.d.ts +1 -1
- package/dist/components/button/Button.stories.d.ts +10 -0
- package/dist/components/button/Button.vue.d.ts +72 -85
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/card/Card.stories.d.ts +7 -0
- package/dist/components/card/Card.vue.d.ts +25 -19
- package/dist/components/card/index.d.ts +1 -1
- package/dist/components/description/Description.vue.d.ts +8 -1
- package/dist/components/description/DescriptionItem.vue.d.ts +40 -33
- package/dist/components/description/index.d.ts +2 -2
- package/dist/components/dialog/Dialog.stories.d.ts +9 -0
- package/dist/components/dialog/Dialog.vue.d.ts +81 -119
- package/dist/components/dialog/dialog-manager.d.ts +2 -1
- package/dist/components/dialog/index.d.ts +2 -2
- package/dist/components/dialog/interface.d.ts +1 -1
- package/dist/components/dropdown/Draopdown.stories.d.ts +7 -0
- package/dist/components/dropdown/Dropdown.vue.d.ts +54 -40
- package/dist/components/dropdown/DropdownDivider.vue.d.ts +1 -1
- package/dist/components/dropdown/DropdownItem.vue.d.ts +49 -38
- package/dist/components/dropdown/index.d.ts +5 -5
- package/dist/components/dropdown/symbols.d.ts +2 -1
- package/dist/components/empty/Empty.stories.d.ts +7 -0
- package/dist/components/empty/Empty.vue.d.ts +26 -27
- package/dist/components/empty/index.d.ts +1 -1
- package/dist/components/entity/Entity.vue.d.ts +39 -15
- package/dist/components/entity/EntityField.vue.d.ts +58 -52
- package/dist/components/entity/index.d.ts +2 -2
- package/dist/components/header/PageHeader.vue.d.ts +21 -11
- package/dist/components/header/index.d.ts +1 -1
- package/dist/components/loading/Loading.stories.d.ts +7 -0
- package/dist/components/loading/Loading.vue.d.ts +1 -1
- package/dist/components/loading/index.d.ts +1 -1
- package/dist/components/menu/Menu.stories.d.ts +7 -0
- package/dist/components/menu/Menu.vue.d.ts +20 -11
- package/dist/components/menu/MenuItem.vue.d.ts +49 -39
- package/dist/components/menu/MenuLabel.vue.d.ts +8 -1
- package/dist/components/menu/index.d.ts +3 -3
- package/dist/components/modal/Modal.stories.d.ts +7 -0
- package/dist/components/modal/Modal.vue.d.ts +88 -107
- package/dist/components/modal/index.d.ts +1 -1
- package/dist/components/pagination/Pagination.stories.d.ts +7 -0
- package/dist/components/pagination/Pagination.vue.d.ts +76 -96
- package/dist/components/pagination/index.d.ts +1 -1
- package/dist/components/space/Space.stories.d.ts +7 -0
- package/dist/components/space/Space.vue.d.ts +46 -38
- package/dist/components/space/index.d.ts +1 -1
- package/dist/components/status/StatusDot.stories.d.ts +10 -0
- package/dist/components/status/StatusDot.vue.d.ts +46 -38
- package/dist/components/status/index.d.ts +1 -1
- package/dist/components/switch/Switch.stories.d.ts +7 -0
- package/dist/components/switch/Switch.vue.d.ts +50 -40
- package/dist/components/switch/index.d.ts +1 -1
- package/dist/components/tabs/TabItem.vue.d.ts +22 -19
- package/dist/components/tabs/Tabbar.stories.d.ts +9 -0
- package/dist/components/tabs/Tabbar.vue.d.ts +60 -74
- package/dist/components/tabs/Tabs.stories.d.ts +9 -0
- package/dist/components/tabs/Tabs.vue.d.ts +62 -63
- package/dist/components/tabs/index.d.ts +3 -3
- package/dist/components/tag/Tag.stories.d.ts +11 -0
- package/dist/components/tag/Tag.vue.d.ts +49 -39
- package/dist/components/tag/index.d.ts +1 -1
- package/dist/components/toast/Toast.vue.d.ts +72 -84
- package/dist/components/toast/index.d.ts +1 -1
- package/dist/components/toast/toast-manager.d.ts +3 -2
- package/dist/components/tooltip/index.d.ts +1 -1
- package/dist/components.d.ts +21 -21
- package/dist/halo-components.es.js +3193 -2972
- package/dist/halo-components.es.js.map +1 -1
- package/dist/halo-components.iife.js +2 -2
- package/dist/halo-components.iife.js.map +1 -1
- package/dist/icons/icons.d.ts +78 -76
- package/dist/index.d.ts +3 -2
- package/dist/style.css +2 -2
- package/package.json +5 -5
|
@@ -1,76 +1,62 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
activeId
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
required: false;
|
|
38
|
-
default: undefined;
|
|
39
|
-
};
|
|
40
|
-
items: {
|
|
41
|
-
type: __PropType<Record<string, string>[] | undefined>;
|
|
42
|
-
required: false;
|
|
43
|
-
default: undefined;
|
|
44
|
-
};
|
|
45
|
-
type: {
|
|
46
|
-
type: __PropType<Type | undefined>;
|
|
47
|
-
required: false;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
direction: {
|
|
51
|
-
type: __PropType<Direction | undefined>;
|
|
52
|
-
required: false;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
idKey: {
|
|
56
|
-
type: __PropType<string | undefined>;
|
|
57
|
-
required: false;
|
|
58
|
-
default: string;
|
|
59
|
-
};
|
|
60
|
-
labelKey: {
|
|
61
|
-
type: __PropType<string | undefined>;
|
|
62
|
-
required: false;
|
|
63
|
-
default: string;
|
|
64
|
-
};
|
|
65
|
-
}>> & {
|
|
66
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
67
|
-
"onUpdate:activeId"?: ((...args: any[]) => any) | undefined;
|
|
1
|
+
import { Direction, Type } from './interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
activeId?: string | number | undefined;
|
|
5
|
+
items?: Record<string, string>[] | undefined;
|
|
6
|
+
type?: Type | undefined;
|
|
7
|
+
direction?: Direction | undefined;
|
|
8
|
+
idKey?: string | undefined;
|
|
9
|
+
labelKey?: string | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
activeId: undefined;
|
|
12
|
+
items: undefined;
|
|
13
|
+
type: string;
|
|
14
|
+
direction: string;
|
|
15
|
+
idKey: string;
|
|
16
|
+
labelKey: string;
|
|
17
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
|
+
"update:activeId": (value: string | number) => void;
|
|
19
|
+
change: (value: string | number) => void;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
21
|
+
activeId?: string | number | undefined;
|
|
22
|
+
items?: Record<string, string>[] | undefined;
|
|
23
|
+
type?: Type | undefined;
|
|
24
|
+
direction?: Direction | undefined;
|
|
25
|
+
idKey?: string | undefined;
|
|
26
|
+
labelKey?: string | undefined;
|
|
27
|
+
}>, {
|
|
28
|
+
activeId: undefined;
|
|
29
|
+
items: undefined;
|
|
30
|
+
type: string;
|
|
31
|
+
direction: string;
|
|
32
|
+
idKey: string;
|
|
33
|
+
labelKey: string;
|
|
34
|
+
}>>> & {
|
|
35
|
+
onChange?: ((value: string | number) => any) | undefined;
|
|
36
|
+
"onUpdate:activeId"?: ((value: string | number) => any) | undefined;
|
|
68
37
|
}, {
|
|
69
|
-
type: Type
|
|
70
|
-
direction: Direction
|
|
71
|
-
activeId:
|
|
72
|
-
items: Record<string, string
|
|
73
|
-
idKey: string
|
|
74
|
-
labelKey: string
|
|
38
|
+
type: Type;
|
|
39
|
+
direction: Direction;
|
|
40
|
+
activeId: number | string;
|
|
41
|
+
items: Array<Record<string, string>>;
|
|
42
|
+
idKey: string;
|
|
43
|
+
labelKey: string;
|
|
75
44
|
}, {}>;
|
|
76
|
-
export default
|
|
45
|
+
export default _default;
|
|
46
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
48
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
+
} : {
|
|
51
|
+
type: import('vue').PropType<T[K]>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
type __VLS_WithDefaults<P, D> = {
|
|
56
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
57
|
+
default: D[K];
|
|
58
|
+
}> : P[K];
|
|
59
|
+
};
|
|
60
|
+
type __VLS_Prettify<T> = {
|
|
61
|
+
[K in keyof T]: T[K];
|
|
62
|
+
} & {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { VTabs } from '.';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof VTabs>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof VTabs>;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const Pills: Story;
|
|
9
|
+
export declare const Outline: Story;
|
|
@@ -1,65 +1,64 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
activeId
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
type:
|
|
47
|
-
|
|
48
|
-
|
|
1
|
+
import { Direction, Type } from './interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
activeId?: string | number | undefined;
|
|
5
|
+
type?: Type | undefined;
|
|
6
|
+
direction?: Direction | undefined;
|
|
7
|
+
idKey?: string | undefined;
|
|
8
|
+
labelKey?: string | undefined;
|
|
9
|
+
}>, {
|
|
10
|
+
activeId: undefined;
|
|
11
|
+
type: string;
|
|
12
|
+
direction: string;
|
|
13
|
+
idKey: string;
|
|
14
|
+
labelKey: string;
|
|
15
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"update:activeId": (value: string | number) => void;
|
|
17
|
+
change: (value: string | number) => void;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
19
|
+
activeId?: string | number | undefined;
|
|
20
|
+
type?: Type | undefined;
|
|
21
|
+
direction?: Direction | undefined;
|
|
22
|
+
idKey?: string | undefined;
|
|
23
|
+
labelKey?: string | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
activeId: undefined;
|
|
26
|
+
type: string;
|
|
27
|
+
direction: string;
|
|
28
|
+
idKey: string;
|
|
29
|
+
labelKey: string;
|
|
30
|
+
}>>> & {
|
|
31
|
+
onChange?: ((value: string | number) => any) | undefined;
|
|
32
|
+
"onUpdate:activeId"?: ((value: string | number) => any) | undefined;
|
|
33
|
+
}, {
|
|
34
|
+
type: Type;
|
|
35
|
+
direction: Direction;
|
|
36
|
+
activeId: string | number;
|
|
37
|
+
idKey: string;
|
|
38
|
+
labelKey: string;
|
|
39
|
+
}, {}>, {
|
|
40
|
+
default?(_: {}): any;
|
|
41
|
+
}>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
45
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
+
} : {
|
|
48
|
+
type: import('vue').PropType<T[K]>;
|
|
49
|
+
required: true;
|
|
49
50
|
};
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
default:
|
|
51
|
+
};
|
|
52
|
+
type __VLS_WithDefaults<P, D> = {
|
|
53
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
54
|
+
default: D[K];
|
|
55
|
+
}> : P[K];
|
|
56
|
+
};
|
|
57
|
+
type __VLS_Prettify<T> = {
|
|
58
|
+
[K in keyof T]: T[K];
|
|
59
|
+
} & {};
|
|
60
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
61
|
+
new (): {
|
|
62
|
+
$slots: S;
|
|
54
63
|
};
|
|
55
|
-
}
|
|
56
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
57
|
-
"onUpdate:activeId"?: ((...args: any[]) => any) | undefined;
|
|
58
|
-
}, {
|
|
59
|
-
type: Type | undefined;
|
|
60
|
-
direction: Direction | undefined;
|
|
61
|
-
activeId: string | number | undefined;
|
|
62
|
-
idKey: string | undefined;
|
|
63
|
-
labelKey: string | undefined;
|
|
64
|
-
}, {}>;
|
|
65
|
-
export default _sfc_main;
|
|
64
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as VTabs } from
|
|
2
|
-
export { default as VTabItem } from
|
|
3
|
-
export { default as VTabbar } from
|
|
1
|
+
export { default as VTabs } from './Tabs.vue';
|
|
2
|
+
export { default as VTabItem } from './TabItem.vue';
|
|
3
|
+
export { default as VTabbar } from './Tabbar.vue';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { VTag } from '.';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof VTag>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof VTag>;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const Primary: Story;
|
|
9
|
+
export declare const Secondary: Story;
|
|
10
|
+
export declare const Danger: Story;
|
|
11
|
+
export declare const Icon: Story;
|
|
@@ -1,41 +1,51 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
declare const
|
|
5
|
-
theme
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
import { Theme } from './interface';
|
|
3
|
+
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
theme?: Theme | undefined;
|
|
6
|
+
rounded?: boolean | undefined;
|
|
7
|
+
styles?: CSSProperties | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
theme: string;
|
|
10
|
+
rounded: boolean;
|
|
11
|
+
styles: () => {};
|
|
12
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
theme?: Theme | undefined;
|
|
14
|
+
rounded?: boolean | undefined;
|
|
15
|
+
styles?: CSSProperties | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
theme: string;
|
|
18
|
+
rounded: boolean;
|
|
19
|
+
styles: () => {};
|
|
20
|
+
}>>>, {
|
|
21
|
+
styles: CSSProperties;
|
|
22
|
+
theme: Theme;
|
|
23
|
+
rounded: boolean;
|
|
24
|
+
}, {}>, {
|
|
25
|
+
leftIcon?(_: {}): any;
|
|
26
|
+
default?(_: {}): any;
|
|
27
|
+
rightIcon?(_: {}): any;
|
|
28
|
+
}>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
+
} : {
|
|
35
|
+
type: import('vue').PropType<T[K]>;
|
|
36
|
+
required: true;
|
|
9
37
|
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
default:
|
|
38
|
+
};
|
|
39
|
+
type __VLS_WithDefaults<P, D> = {
|
|
40
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
+
default: D[K];
|
|
42
|
+
}> : P[K];
|
|
43
|
+
};
|
|
44
|
+
type __VLS_Prettify<T> = {
|
|
45
|
+
[K in keyof T]: T[K];
|
|
46
|
+
} & {};
|
|
47
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
|
+
new (): {
|
|
49
|
+
$slots: S;
|
|
14
50
|
};
|
|
15
|
-
|
|
16
|
-
type: __PropType<CSSProperties | undefined>;
|
|
17
|
-
required: false;
|
|
18
|
-
default: () => {};
|
|
19
|
-
};
|
|
20
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
-
theme: {
|
|
22
|
-
type: __PropType<Theme | undefined>;
|
|
23
|
-
required: false;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
rounded: {
|
|
27
|
-
type: __PropType<boolean | undefined>;
|
|
28
|
-
required: false;
|
|
29
|
-
default: boolean;
|
|
30
|
-
};
|
|
31
|
-
styles: {
|
|
32
|
-
type: __PropType<CSSProperties | undefined>;
|
|
33
|
-
required: false;
|
|
34
|
-
default: () => {};
|
|
35
|
-
};
|
|
36
|
-
}>>, {
|
|
37
|
-
theme: Theme | undefined;
|
|
38
|
-
rounded: boolean | undefined;
|
|
39
|
-
styles: CSSProperties | undefined;
|
|
40
|
-
}, {}>;
|
|
41
|
-
export default _sfc_main;
|
|
51
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as VTag } from
|
|
1
|
+
export { default as VTag } from './Tag.vue';
|
|
@@ -1,86 +1,74 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
type
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
duration:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
count
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
content:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
type:
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
frozenOnHover: {
|
|
61
|
-
type: __PropType<boolean | undefined>;
|
|
62
|
-
required: false;
|
|
63
|
-
default: boolean;
|
|
64
|
-
};
|
|
65
|
-
count: {
|
|
66
|
-
type: __PropType<0 | undefined>;
|
|
67
|
-
required: false;
|
|
68
|
-
default: number;
|
|
1
|
+
import { Type } from './interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
type?: Type | undefined;
|
|
5
|
+
content?: string | undefined;
|
|
6
|
+
duration?: number | undefined;
|
|
7
|
+
closable?: boolean | undefined;
|
|
8
|
+
frozenOnHover?: boolean | undefined;
|
|
9
|
+
count?: 0 | undefined;
|
|
10
|
+
onClose?: (() => void) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
type: string;
|
|
13
|
+
content: string;
|
|
14
|
+
duration: number;
|
|
15
|
+
closable: boolean;
|
|
16
|
+
frozenOnHover: boolean;
|
|
17
|
+
count: number;
|
|
18
|
+
onClose: undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
close: () => void;
|
|
21
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
22
|
+
close: () => void;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
24
|
+
type?: Type | undefined;
|
|
25
|
+
content?: string | undefined;
|
|
26
|
+
duration?: number | undefined;
|
|
27
|
+
closable?: boolean | undefined;
|
|
28
|
+
frozenOnHover?: boolean | undefined;
|
|
29
|
+
count?: 0 | undefined;
|
|
30
|
+
onClose?: (() => void) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
type: string;
|
|
33
|
+
content: string;
|
|
34
|
+
duration: number;
|
|
35
|
+
closable: boolean;
|
|
36
|
+
frozenOnHover: boolean;
|
|
37
|
+
count: number;
|
|
38
|
+
onClose: undefined;
|
|
39
|
+
}>>> & {
|
|
40
|
+
onClose?: (() => any) | undefined;
|
|
41
|
+
}, {
|
|
42
|
+
type: Type;
|
|
43
|
+
closable: boolean;
|
|
44
|
+
onClose: () => void;
|
|
45
|
+
content: string;
|
|
46
|
+
duration: number;
|
|
47
|
+
frozenOnHover: boolean;
|
|
48
|
+
count: 0;
|
|
49
|
+
}, {}>, {
|
|
50
|
+
default?(_: {}): any;
|
|
51
|
+
}>;
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
54
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
55
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
56
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
57
|
+
} : {
|
|
58
|
+
type: import('vue').PropType<T[K]>;
|
|
59
|
+
required: true;
|
|
69
60
|
};
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
default:
|
|
61
|
+
};
|
|
62
|
+
type __VLS_WithDefaults<P, D> = {
|
|
63
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
64
|
+
default: D[K];
|
|
65
|
+
}> : P[K];
|
|
66
|
+
};
|
|
67
|
+
type __VLS_Prettify<T> = {
|
|
68
|
+
[K in keyof T]: T[K];
|
|
69
|
+
} & {};
|
|
70
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
71
|
+
new (): {
|
|
72
|
+
$slots: S;
|
|
74
73
|
};
|
|
75
|
-
}
|
|
76
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
77
|
-
}, {
|
|
78
|
-
type: Type | undefined;
|
|
79
|
-
closable: boolean | undefined;
|
|
80
|
-
onClose: (() => void) | undefined;
|
|
81
|
-
content: string | undefined;
|
|
82
|
-
duration: number | undefined;
|
|
83
|
-
frozenOnHover: boolean | undefined;
|
|
84
|
-
count: 0 | undefined;
|
|
85
|
-
}, {}>;
|
|
86
|
-
export default _sfc_main;
|
|
74
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Toast } from
|
|
1
|
+
export { Toast } from './toast-manager';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
import { ToastProps } from './interface';
|
|
3
|
+
|
|
3
4
|
export type ToastApiProps = Omit<ToastProps, "type" | "content">;
|
|
4
5
|
export interface ToastInstance {
|
|
5
6
|
id: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { VTooltip } from
|
|
1
|
+
export { vTooltip, vTooltip as VTooltip } from 'floating-vue';
|
package/dist/components.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
1
|
+
export * from './components/avatar';
|
|
2
|
+
export * from './components/alert';
|
|
3
|
+
export * from './components/button';
|
|
4
|
+
export * from './components/card';
|
|
5
|
+
export * from './components/header';
|
|
6
|
+
export * from './components/menu';
|
|
7
|
+
export * from './components/modal';
|
|
8
|
+
export * from './components/space';
|
|
9
|
+
export * from './components/tabs';
|
|
10
|
+
export * from './components/tag';
|
|
11
|
+
export * from './components/switch';
|
|
12
|
+
export * from './components/dialog';
|
|
13
|
+
export * from './components/pagination';
|
|
14
|
+
export * from './components/empty';
|
|
15
|
+
export * from './components/status';
|
|
16
|
+
export * from './components/entity';
|
|
17
|
+
export * from './components/toast';
|
|
18
|
+
export * from './components/loading';
|
|
19
|
+
export * from './components/dropdown';
|
|
20
|
+
export * from './components/tooltip';
|
|
21
|
+
export * from './components/description';
|