@halo-dev/components 2.15.0 → 2.17.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.
Files changed (82) hide show
  1. package/dist/components/alert/Alert.stories.d.ts +11 -0
  2. package/dist/components/alert/Alert.vue.d.ts +59 -52
  3. package/dist/components/alert/index.d.ts +1 -1
  4. package/dist/components/avatar/Avatar.stories.d.ts +9 -0
  5. package/dist/components/avatar/Avatar.vue.d.ts +29 -72
  6. package/dist/components/avatar/AvatarGroup.stories.d.ts +8 -0
  7. package/dist/components/avatar/AvatarGroup.vue.d.ts +37 -0
  8. package/dist/components/avatar/index.d.ts +2 -1
  9. package/dist/components/avatar/interface.d.ts +12 -0
  10. package/dist/components/button/Button.stories.d.ts +10 -0
  11. package/dist/components/button/Button.vue.d.ts +72 -85
  12. package/dist/components/button/index.d.ts +1 -1
  13. package/dist/components/card/Card.stories.d.ts +7 -0
  14. package/dist/components/card/Card.vue.d.ts +25 -19
  15. package/dist/components/card/index.d.ts +1 -1
  16. package/dist/components/description/Description.vue.d.ts +8 -1
  17. package/dist/components/description/DescriptionItem.vue.d.ts +40 -33
  18. package/dist/components/description/index.d.ts +2 -2
  19. package/dist/components/dialog/Dialog.stories.d.ts +9 -0
  20. package/dist/components/dialog/Dialog.vue.d.ts +81 -119
  21. package/dist/components/dialog/dialog-manager.d.ts +2 -1
  22. package/dist/components/dialog/index.d.ts +2 -2
  23. package/dist/components/dialog/interface.d.ts +1 -1
  24. package/dist/components/dropdown/Draopdown.stories.d.ts +7 -0
  25. package/dist/components/dropdown/Dropdown.vue.d.ts +54 -40
  26. package/dist/components/dropdown/DropdownDivider.vue.d.ts +1 -1
  27. package/dist/components/dropdown/DropdownItem.vue.d.ts +49 -38
  28. package/dist/components/dropdown/index.d.ts +5 -5
  29. package/dist/components/dropdown/symbols.d.ts +2 -1
  30. package/dist/components/empty/Empty.stories.d.ts +7 -0
  31. package/dist/components/empty/Empty.vue.d.ts +26 -27
  32. package/dist/components/empty/index.d.ts +1 -1
  33. package/dist/components/entity/Entity.vue.d.ts +39 -15
  34. package/dist/components/entity/EntityField.vue.d.ts +58 -52
  35. package/dist/components/entity/index.d.ts +2 -2
  36. package/dist/components/header/PageHeader.vue.d.ts +21 -11
  37. package/dist/components/header/index.d.ts +1 -1
  38. package/dist/components/loading/Loading.stories.d.ts +7 -0
  39. package/dist/components/loading/Loading.vue.d.ts +1 -1
  40. package/dist/components/loading/index.d.ts +1 -1
  41. package/dist/components/menu/Menu.stories.d.ts +7 -0
  42. package/dist/components/menu/Menu.vue.d.ts +20 -11
  43. package/dist/components/menu/MenuItem.vue.d.ts +49 -39
  44. package/dist/components/menu/MenuLabel.vue.d.ts +8 -1
  45. package/dist/components/menu/index.d.ts +3 -3
  46. package/dist/components/modal/Modal.stories.d.ts +7 -0
  47. package/dist/components/modal/Modal.vue.d.ts +88 -107
  48. package/dist/components/modal/index.d.ts +1 -1
  49. package/dist/components/pagination/Pagination.stories.d.ts +7 -0
  50. package/dist/components/pagination/Pagination.vue.d.ts +76 -96
  51. package/dist/components/pagination/index.d.ts +1 -1
  52. package/dist/components/space/Space.stories.d.ts +7 -0
  53. package/dist/components/space/Space.vue.d.ts +46 -38
  54. package/dist/components/space/index.d.ts +1 -1
  55. package/dist/components/status/StatusDot.stories.d.ts +10 -0
  56. package/dist/components/status/StatusDot.vue.d.ts +46 -38
  57. package/dist/components/status/index.d.ts +1 -1
  58. package/dist/components/switch/Switch.stories.d.ts +7 -0
  59. package/dist/components/switch/Switch.vue.d.ts +50 -40
  60. package/dist/components/switch/index.d.ts +1 -1
  61. package/dist/components/tabs/TabItem.vue.d.ts +22 -19
  62. package/dist/components/tabs/Tabbar.stories.d.ts +9 -0
  63. package/dist/components/tabs/Tabbar.vue.d.ts +60 -74
  64. package/dist/components/tabs/Tabs.stories.d.ts +9 -0
  65. package/dist/components/tabs/Tabs.vue.d.ts +62 -63
  66. package/dist/components/tabs/index.d.ts +3 -3
  67. package/dist/components/tag/Tag.stories.d.ts +11 -0
  68. package/dist/components/tag/Tag.vue.d.ts +49 -39
  69. package/dist/components/tag/index.d.ts +1 -1
  70. package/dist/components/toast/Toast.vue.d.ts +72 -84
  71. package/dist/components/toast/index.d.ts +1 -1
  72. package/dist/components/toast/toast-manager.d.ts +3 -2
  73. package/dist/components/tooltip/index.d.ts +1 -1
  74. package/dist/components.d.ts +21 -21
  75. package/dist/halo-components.es.js +4543 -4306
  76. package/dist/halo-components.es.js.map +1 -1
  77. package/dist/halo-components.iife.js +2 -2
  78. package/dist/halo-components.iife.js.map +1 -1
  79. package/dist/icons/icons.d.ts +78 -76
  80. package/dist/index.d.ts +3 -2
  81. package/dist/style.css +2 -2
  82. package/package.json +5 -5
@@ -1,76 +1,62 @@
1
- import type { PropType as __PropType } from 'vue';
2
- import type { Direction, Type } from "./interface";
3
- declare const _sfc_main: import("vue").DefineComponent<{
4
- activeId: {
5
- type: __PropType<string | number | undefined>;
6
- required: false;
7
- default: undefined;
8
- };
9
- items: {
10
- type: __PropType<Record<string, string>[] | undefined>;
11
- required: false;
12
- default: undefined;
13
- };
14
- type: {
15
- type: __PropType<Type | undefined>;
16
- required: false;
17
- default: string;
18
- };
19
- direction: {
20
- type: __PropType<Direction | undefined>;
21
- required: false;
22
- default: string;
23
- };
24
- idKey: {
25
- type: __PropType<string | undefined>;
26
- required: false;
27
- default: string;
28
- };
29
- labelKey: {
30
- type: __PropType<string | undefined>;
31
- required: false;
32
- default: string;
33
- };
34
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:activeId")[], "change" | "update:activeId", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
35
- activeId: {
36
- type: __PropType<string | number | undefined>;
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 | undefined;
70
- direction: Direction | undefined;
71
- activeId: string | number | undefined;
72
- items: Record<string, string>[] | undefined;
73
- idKey: string | undefined;
74
- labelKey: string | undefined;
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 _sfc_main;
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 type { PropType as __PropType } from 'vue';
2
- import type { Direction, Type } from "./interface";
3
- declare const _sfc_main: import("vue").DefineComponent<{
4
- activeId: {
5
- type: __PropType<string | number | undefined>;
6
- required: false;
7
- default: undefined;
8
- };
9
- type: {
10
- type: __PropType<Type | undefined>;
11
- required: false;
12
- default: string;
13
- };
14
- direction: {
15
- type: __PropType<Direction | undefined>;
16
- required: false;
17
- default: string;
18
- };
19
- idKey: {
20
- type: __PropType<string | undefined>;
21
- required: false;
22
- default: string;
23
- };
24
- labelKey: {
25
- type: __PropType<string | undefined>;
26
- required: false;
27
- default: string;
28
- };
29
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:activeId")[], "change" | "update:activeId", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
- activeId: {
31
- type: __PropType<string | number | undefined>;
32
- required: false;
33
- default: undefined;
34
- };
35
- type: {
36
- type: __PropType<Type | undefined>;
37
- required: false;
38
- default: string;
39
- };
40
- direction: {
41
- type: __PropType<Direction | undefined>;
42
- required: false;
43
- default: string;
44
- };
45
- idKey: {
46
- type: __PropType<string | undefined>;
47
- required: false;
48
- default: string;
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
- labelKey: {
51
- type: __PropType<string | undefined>;
52
- required: false;
53
- default: string;
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 "./Tabs.vue";
2
- export { default as VTabItem } from "./TabItem.vue";
3
- export { default as VTabbar } from "./Tabbar.vue";
1
+ export { default as VTabItem } from './TabItem.vue';
2
+ export { default as VTabbar } from './Tabbar.vue';
3
+ export { default as VTabs } from './Tabs.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 type { PropType as __PropType } from 'vue';
2
- import type { CSSProperties } from "vue";
3
- import type { Theme } from "./interface";
4
- declare const _sfc_main: import("vue").DefineComponent<{
5
- theme: {
6
- type: __PropType<Theme | undefined>;
7
- required: false;
8
- default: string;
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
- rounded: {
11
- type: __PropType<boolean | undefined>;
12
- required: false;
13
- default: boolean;
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
- styles: {
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 "./Tag.vue";
1
+ export { default as VTag } from './Tag.vue';
@@ -1,86 +1,74 @@
1
- import type { PropType as __PropType } from 'vue';
2
- import type { Type } from "./interface";
3
- declare const _sfc_main: import("vue").DefineComponent<{
4
- type: {
5
- type: __PropType<Type | undefined>;
6
- required: false;
7
- default: string;
8
- };
9
- content: {
10
- type: __PropType<string | undefined>;
11
- required: false;
12
- default: string;
13
- };
14
- duration: {
15
- type: __PropType<number | undefined>;
16
- required: false;
17
- default: number;
18
- };
19
- closable: {
20
- type: __PropType<boolean | undefined>;
21
- required: false;
22
- default: boolean;
23
- };
24
- frozenOnHover: {
25
- type: __PropType<boolean | undefined>;
26
- required: false;
27
- default: boolean;
28
- };
29
- count: {
30
- type: __PropType<0 | undefined>;
31
- required: false;
32
- default: number;
33
- };
34
- onClose: {
35
- type: __PropType<(() => void) | undefined>;
36
- required: false;
37
- default: undefined;
38
- };
39
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
40
- type: {
41
- type: __PropType<Type | undefined>;
42
- required: false;
43
- default: string;
44
- };
45
- content: {
46
- type: __PropType<string | undefined>;
47
- required: false;
48
- default: string;
49
- };
50
- duration: {
51
- type: __PropType<number | undefined>;
52
- required: false;
53
- default: number;
54
- };
55
- closable: {
56
- type: __PropType<boolean | undefined>;
57
- required: false;
58
- default: boolean;
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
- onClose: {
71
- type: __PropType<(() => void) | undefined>;
72
- required: false;
73
- default: undefined;
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 "./toast-manager";
1
+ export { Toast } from './toast-manager';
@@ -1,5 +1,6 @@
1
- import { type VNode } from "vue";
2
- import type { ToastProps } from "./interface";
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 "floating-vue";
1
+ export { vTooltip as VTooltip, vTooltip } from 'floating-vue';
@@ -1,21 +1,21 @@
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";
1
+ export * from './components/alert';
2
+ export * from './components/avatar';
3
+ export * from './components/button';
4
+ export * from './components/card';
5
+ export * from './components/description';
6
+ export * from './components/dialog';
7
+ export * from './components/dropdown';
8
+ export * from './components/empty';
9
+ export * from './components/entity';
10
+ export * from './components/header';
11
+ export * from './components/loading';
12
+ export * from './components/menu';
13
+ export * from './components/modal';
14
+ export * from './components/pagination';
15
+ export * from './components/space';
16
+ export * from './components/status';
17
+ export * from './components/switch';
18
+ export * from './components/tabs';
19
+ export * from './components/tag';
20
+ export * from './components/toast';
21
+ export * from './components/tooltip';