@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
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { VAlert } from '.';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof VAlert>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof VAlert>;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const Success: Story;
|
|
9
|
+
export declare const Info: Story;
|
|
10
|
+
export declare const Warning: Story;
|
|
11
|
+
export declare const Error: Story;
|
|
@@ -1,53 +1,60 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
type
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
closable
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
required: false;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
title: {
|
|
31
|
-
type: __PropType<string | undefined>;
|
|
32
|
-
required: false;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
description: {
|
|
36
|
-
type: __PropType<string | undefined>;
|
|
37
|
-
required: false;
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
closable: {
|
|
41
|
-
type: __PropType<boolean | undefined>;
|
|
42
|
-
required: false;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
}>> & {
|
|
46
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
1
|
+
import { Type } from './interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
type?: Type | undefined;
|
|
5
|
+
title?: string | undefined;
|
|
6
|
+
description?: string | undefined;
|
|
7
|
+
closable?: boolean | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
type: string;
|
|
10
|
+
title: string;
|
|
11
|
+
description: string;
|
|
12
|
+
closable: boolean;
|
|
13
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
close: () => void;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
type?: Type | undefined;
|
|
17
|
+
title?: string | undefined;
|
|
18
|
+
description?: string | undefined;
|
|
19
|
+
closable?: boolean | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
type: string;
|
|
22
|
+
title: string;
|
|
23
|
+
description: string;
|
|
24
|
+
closable: boolean;
|
|
25
|
+
}>>> & {
|
|
26
|
+
onClose?: (() => any) | undefined;
|
|
47
27
|
}, {
|
|
48
|
-
type: Type
|
|
49
|
-
title: string
|
|
50
|
-
description: string
|
|
51
|
-
closable: boolean
|
|
52
|
-
}, {}
|
|
53
|
-
|
|
28
|
+
type: Type;
|
|
29
|
+
title: string;
|
|
30
|
+
description: string;
|
|
31
|
+
closable: boolean;
|
|
32
|
+
}, {}>, {
|
|
33
|
+
icon?(_: {}): any;
|
|
34
|
+
title?(_: {}): any;
|
|
35
|
+
description?(_: {}): any;
|
|
36
|
+
actions?(_: {}): any;
|
|
37
|
+
}>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
41
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
+
} : {
|
|
44
|
+
type: import('vue').PropType<T[K]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
type __VLS_WithDefaults<P, D> = {
|
|
49
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
50
|
+
default: D[K];
|
|
51
|
+
}> : P[K];
|
|
52
|
+
};
|
|
53
|
+
type __VLS_Prettify<T> = {
|
|
54
|
+
[K in keyof T]: T[K];
|
|
55
|
+
} & {};
|
|
56
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
57
|
+
new (): {
|
|
58
|
+
$slots: S;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as VAlert } from
|
|
1
|
+
export { default as VAlert } from './Alert.vue';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { VAvatar } from '.';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof VAvatar>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof VAvatar>;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const Circle: Story;
|
|
9
|
+
export declare const Text: Story;
|
|
@@ -1,73 +1,56 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
declare const
|
|
4
|
-
src
|
|
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
|
-
default: undefined;
|
|
39
|
-
};
|
|
40
|
-
alt: {
|
|
41
|
-
type: __PropType<string | undefined>;
|
|
42
|
-
required: false;
|
|
43
|
-
default: undefined;
|
|
44
|
-
};
|
|
45
|
-
size: {
|
|
46
|
-
type: __PropType<Size | undefined>;
|
|
47
|
-
required: false;
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
width: {
|
|
51
|
-
type: __PropType<string | undefined>;
|
|
52
|
-
required: false;
|
|
53
|
-
default: undefined;
|
|
54
|
-
};
|
|
55
|
-
height: {
|
|
56
|
-
type: __PropType<string | undefined>;
|
|
57
|
-
required: false;
|
|
58
|
-
default: undefined;
|
|
59
|
-
};
|
|
60
|
-
circle: {
|
|
61
|
-
type: __PropType<boolean | undefined>;
|
|
62
|
-
required: false;
|
|
63
|
-
default: boolean;
|
|
64
|
-
};
|
|
65
|
-
}>>, {
|
|
66
|
-
size: Size | undefined;
|
|
67
|
-
src: string | undefined;
|
|
68
|
-
alt: string | undefined;
|
|
69
|
-
width: string | undefined;
|
|
70
|
-
height: string | undefined;
|
|
71
|
-
circle: boolean | undefined;
|
|
1
|
+
import { Size } from './interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
src?: string | undefined;
|
|
5
|
+
alt?: string | undefined;
|
|
6
|
+
size?: Size | undefined;
|
|
7
|
+
width?: string | undefined;
|
|
8
|
+
height?: string | undefined;
|
|
9
|
+
circle?: boolean | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
src: undefined;
|
|
12
|
+
alt: undefined;
|
|
13
|
+
size: string;
|
|
14
|
+
width: undefined;
|
|
15
|
+
height: undefined;
|
|
16
|
+
circle: boolean;
|
|
17
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
18
|
+
src?: string | undefined;
|
|
19
|
+
alt?: string | undefined;
|
|
20
|
+
size?: Size | undefined;
|
|
21
|
+
width?: string | undefined;
|
|
22
|
+
height?: string | undefined;
|
|
23
|
+
circle?: boolean | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
src: undefined;
|
|
26
|
+
alt: undefined;
|
|
27
|
+
size: string;
|
|
28
|
+
width: undefined;
|
|
29
|
+
height: undefined;
|
|
30
|
+
circle: boolean;
|
|
31
|
+
}>>>, {
|
|
32
|
+
circle: boolean;
|
|
33
|
+
src: string;
|
|
34
|
+
alt: string;
|
|
35
|
+
size: Size;
|
|
36
|
+
width: string;
|
|
37
|
+
height: string;
|
|
72
38
|
}, {}>;
|
|
73
|
-
export default
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
42
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
+
} : {
|
|
45
|
+
type: import('vue').PropType<T[K]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
type __VLS_WithDefaults<P, D> = {
|
|
50
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
51
|
+
default: D[K];
|
|
52
|
+
}> : P[K];
|
|
53
|
+
};
|
|
54
|
+
type __VLS_Prettify<T> = {
|
|
55
|
+
[K in keyof T]: T[K];
|
|
56
|
+
} & {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as VAvatar } from
|
|
1
|
+
export { default as VAvatar } from './Avatar.vue';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { VButton } from '.';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof VButton>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof VButton>;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const Primary: Story;
|
|
9
|
+
export declare const Secondary: Story;
|
|
10
|
+
export declare const Danger: Story;
|
|
@@ -1,87 +1,74 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
declare const
|
|
5
|
-
type
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
circle:
|
|
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
|
-
type:
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
};
|
|
61
|
-
disabled: {
|
|
62
|
-
type: __PropType<boolean | undefined>;
|
|
63
|
-
required: false;
|
|
64
|
-
default: boolean;
|
|
65
|
-
};
|
|
66
|
-
loading: {
|
|
67
|
-
type: __PropType<boolean | undefined>;
|
|
68
|
-
required: false;
|
|
69
|
-
default: boolean;
|
|
1
|
+
import { RouteLocationRaw } from 'vue-router';
|
|
2
|
+
import { Size, Type } from './interface';
|
|
3
|
+
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
type?: Type | undefined;
|
|
6
|
+
size?: Size | undefined;
|
|
7
|
+
circle?: boolean | undefined;
|
|
8
|
+
block?: boolean | undefined;
|
|
9
|
+
disabled?: boolean | undefined;
|
|
10
|
+
loading?: boolean | undefined;
|
|
11
|
+
route?: RouteLocationRaw | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
type: string;
|
|
14
|
+
size: string;
|
|
15
|
+
circle: boolean;
|
|
16
|
+
block: boolean;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
loading: boolean;
|
|
19
|
+
route: undefined;
|
|
20
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
click: () => void;
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
+
type?: Type | undefined;
|
|
24
|
+
size?: Size | undefined;
|
|
25
|
+
circle?: boolean | undefined;
|
|
26
|
+
block?: boolean | undefined;
|
|
27
|
+
disabled?: boolean | undefined;
|
|
28
|
+
loading?: boolean | undefined;
|
|
29
|
+
route?: RouteLocationRaw | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
type: string;
|
|
32
|
+
size: string;
|
|
33
|
+
circle: boolean;
|
|
34
|
+
block: boolean;
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
loading: boolean;
|
|
37
|
+
route: undefined;
|
|
38
|
+
}>>> & {
|
|
39
|
+
onClick?: (() => any) | undefined;
|
|
40
|
+
}, {
|
|
41
|
+
type: Type;
|
|
42
|
+
circle: boolean;
|
|
43
|
+
size: Size;
|
|
44
|
+
block: boolean;
|
|
45
|
+
disabled: boolean;
|
|
46
|
+
loading: boolean;
|
|
47
|
+
route: RouteLocationRaw;
|
|
48
|
+
}, {}>, {
|
|
49
|
+
icon?(_: {}): any;
|
|
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;
|
|
70
60
|
};
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
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;
|
|
75
73
|
};
|
|
76
|
-
}
|
|
77
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
78
|
-
}, {
|
|
79
|
-
type: Type | undefined;
|
|
80
|
-
size: Size | undefined;
|
|
81
|
-
circle: boolean | undefined;
|
|
82
|
-
block: boolean | undefined;
|
|
83
|
-
disabled: boolean | undefined;
|
|
84
|
-
loading: boolean | undefined;
|
|
85
|
-
route: RouteLocationRaw | undefined;
|
|
86
|
-
}, {}>;
|
|
87
|
-
export default _sfc_main;
|
|
74
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as VButton } from
|
|
1
|
+
export { default as VButton } from './Button.vue';
|
|
@@ -1,21 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
title?: string | undefined;
|
|
3
|
+
bodyClass?: string[] | undefined;
|
|
4
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
title?: string | undefined;
|
|
6
|
+
bodyClass?: string[] | undefined;
|
|
7
|
+
}>>>, {}, {}>, {
|
|
8
|
+
header?(_: {}): any;
|
|
9
|
+
actions?(_: {}): any;
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
footer?(_: {}): any;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
6
21
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
22
|
+
};
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
10
26
|
};
|
|
11
|
-
}
|
|
12
|
-
title: {
|
|
13
|
-
type: __PropType<string | undefined>;
|
|
14
|
-
required: false;
|
|
15
|
-
};
|
|
16
|
-
bodyClass: {
|
|
17
|
-
type: __PropType<string[] | undefined>;
|
|
18
|
-
required: false;
|
|
19
|
-
};
|
|
20
|
-
}>>, {}, {}>;
|
|
21
|
-
export default _sfc_main;
|
|
27
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as VCard } from
|
|
1
|
+
export { default as VCard } from './Card.vue';
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
2
4
|
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -1,36 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
label: string;
|
|
3
|
+
content?: string | undefined;
|
|
4
|
+
verticalCenter?: boolean | undefined;
|
|
5
|
+
}>, {
|
|
6
|
+
content: undefined;
|
|
7
|
+
verticalCenter: boolean;
|
|
8
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
label: string;
|
|
10
|
+
content?: string | undefined;
|
|
11
|
+
verticalCenter?: boolean | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
content: undefined;
|
|
14
|
+
verticalCenter: boolean;
|
|
15
|
+
}>>>, {
|
|
16
|
+
content: string;
|
|
17
|
+
verticalCenter: boolean;
|
|
18
|
+
}, {}>, {
|
|
19
|
+
default?(_: {}): any;
|
|
20
|
+
}>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
+
} : {
|
|
27
|
+
type: import('vue').PropType<T[K]>;
|
|
5
28
|
required: true;
|
|
6
29
|
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
default:
|
|
30
|
+
};
|
|
31
|
+
type __VLS_WithDefaults<P, D> = {
|
|
32
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
+
default: D[K];
|
|
34
|
+
}> : P[K];
|
|
35
|
+
};
|
|
36
|
+
type __VLS_Prettify<T> = {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} & {};
|
|
39
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
11
42
|
};
|
|
12
|
-
|
|
13
|
-
type: __PropType<boolean | undefined>;
|
|
14
|
-
required: false;
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
-
label: {
|
|
19
|
-
type: __PropType<string>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
content: {
|
|
23
|
-
type: __PropType<string | undefined>;
|
|
24
|
-
required: false;
|
|
25
|
-
default: undefined;
|
|
26
|
-
};
|
|
27
|
-
verticalCenter: {
|
|
28
|
-
type: __PropType<boolean | undefined>;
|
|
29
|
-
required: false;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
}>>, {
|
|
33
|
-
content: string | undefined;
|
|
34
|
-
verticalCenter: boolean | undefined;
|
|
35
|
-
}, {}>;
|
|
36
|
-
export default _sfc_main;
|
|
43
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { default as VDescription } from
|
|
2
|
-
export { default as VDescriptionItem } from
|
|
1
|
+
export { default as VDescription } from './Description.vue';
|
|
2
|
+
export { default as VDescriptionItem } from './DescriptionItem.vue';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { VDialog } from '.';
|
|
3
|
+
|
|
4
|
+
declare const meta: Meta<typeof VDialog>;
|
|
5
|
+
export default meta;
|
|
6
|
+
type Story = StoryObj<typeof VDialog>;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const Success: Story;
|
|
9
|
+
export declare const Warning: Story;
|