@halo-dev/components 2.18.0 → 2.20.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 (59) hide show
  1. package/dist/components/alert/Alert.stories.d.ts +0 -1
  2. package/dist/components/alert/Alert.vue.d.ts +27 -48
  3. package/dist/components/avatar/Avatar.stories.d.ts +0 -1
  4. package/dist/components/avatar/Avatar.vue.d.ts +2 -26
  5. package/dist/components/avatar/AvatarGroup.stories.d.ts +0 -1
  6. package/dist/components/avatar/AvatarGroup.vue.d.ts +11 -28
  7. package/dist/components/avatar/interface.d.ts +0 -1
  8. package/dist/components/button/Button.stories.d.ts +0 -1
  9. package/dist/components/button/Button.vue.d.ts +29 -56
  10. package/dist/components/card/Card.stories.d.ts +0 -1
  11. package/dist/components/card/Card.vue.d.ts +18 -20
  12. package/dist/components/description/Description.vue.d.ts +10 -3
  13. package/dist/components/description/DescriptionItem.vue.d.ts +17 -33
  14. package/dist/components/dialog/Dialog.stories.d.ts +0 -1
  15. package/dist/components/dialog/Dialog.vue.d.ts +8 -71
  16. package/dist/components/dialog/dialog-manager.d.ts +0 -1
  17. package/dist/components/dialog/interface.d.ts +1 -6
  18. package/dist/components/dropdown/Draopdown.stories.d.ts +0 -1
  19. package/dist/components/dropdown/Dropdown.vue.d.ts +14 -48
  20. package/dist/components/dropdown/DropdownDivider.vue.d.ts +1 -1
  21. package/dist/components/dropdown/DropdownItem.vue.d.ts +24 -42
  22. package/dist/components/dropdown/symbols.d.ts +0 -1
  23. package/dist/components/empty/Empty.stories.d.ts +0 -1
  24. package/dist/components/empty/Empty.vue.d.ts +19 -21
  25. package/dist/components/entity/Entity.vue.d.ts +20 -34
  26. package/dist/components/entity/EntityField.vue.d.ts +26 -47
  27. package/dist/components/header/PageHeader.vue.d.ts +14 -16
  28. package/dist/components/loading/Loading.stories.d.ts +0 -1
  29. package/dist/components/loading/Loading.vue.d.ts +1 -1
  30. package/dist/components/menu/Menu.stories.d.ts +0 -1
  31. package/dist/components/menu/Menu.vue.d.ts +13 -15
  32. package/dist/components/menu/MenuItem.vue.d.ts +23 -41
  33. package/dist/components/menu/MenuLabel.vue.d.ts +10 -3
  34. package/dist/components/modal/Modal.stories.d.ts +0 -1
  35. package/dist/components/modal/Modal.vue.d.ts +43 -70
  36. package/dist/components/pagination/Pagination.stories.d.ts +0 -1
  37. package/dist/components/pagination/Pagination.vue.d.ts +27 -62
  38. package/dist/components/space/Space.stories.d.ts +0 -1
  39. package/dist/components/space/Space.vue.d.ts +20 -39
  40. package/dist/components/status/StatusDot.stories.d.ts +0 -1
  41. package/dist/components/status/StatusDot.vue.d.ts +19 -38
  42. package/dist/components/switch/Switch.stories.d.ts +0 -1
  43. package/dist/components/switch/Switch.vue.d.ts +23 -41
  44. package/dist/components/tabs/TabItem.vue.d.ts +15 -17
  45. package/dist/components/tabs/Tabbar.stories.d.ts +0 -1
  46. package/dist/components/tabs/Tabbar.vue.d.ts +20 -52
  47. package/dist/components/tabs/Tabs.stories.d.ts +0 -1
  48. package/dist/components/tabs/Tabs.vue.d.ts +28 -51
  49. package/dist/components/tag/Tag.stories.d.ts +0 -1
  50. package/dist/components/tag/Tag.vue.d.ts +21 -40
  51. package/dist/components/toast/Toast.vue.d.ts +31 -58
  52. package/dist/components/toast/toast-manager.d.ts +0 -1
  53. package/dist/halo-components.es.js +2948 -2954
  54. package/dist/halo-components.es.js.map +1 -1
  55. package/dist/halo-components.iife.js +2 -2
  56. package/dist/halo-components.iife.js.map +1 -1
  57. package/dist/icons/icons.d.ts +0 -1
  58. package/dist/index.d.ts +0 -1
  59. package/package.json +3 -3
@@ -1,54 +1,36 @@
1
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- page?: number | undefined;
3
- size?: number | undefined;
4
- total?: number | undefined;
5
- sizeOptions?: number[] | undefined;
6
- showTotal?: boolean | undefined;
7
- pageLabel?: string | undefined;
8
- sizeLabel?: string | undefined;
9
- totalLabel?: string | undefined;
10
- }>, {
11
- page: number;
12
- size: number;
13
- total: number;
14
- sizeOptions: () => number[];
15
- showTotal: boolean;
16
- pageLabel: string;
17
- sizeLabel: string;
18
- totalLabel: undefined;
19
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
- "update:page": (page: number) => void;
21
- "update:size": (size: number) => void;
1
+ declare const _default: import('vue').DefineComponent<{
2
+ page?: number;
3
+ size?: number;
4
+ total?: number;
5
+ sizeOptions?: number[];
6
+ showTotal?: boolean;
7
+ pageLabel?: string;
8
+ sizeLabel?: string;
9
+ totalLabel?: string;
10
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
+ "update:page": (page: number) => any;
12
+ "update:size": (size: number) => any;
22
13
  change: (value: {
23
14
  page: number;
24
15
  size: number;
25
- }) => void;
26
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
27
- page?: number | undefined;
28
- size?: number | undefined;
29
- total?: number | undefined;
30
- sizeOptions?: number[] | undefined;
31
- showTotal?: boolean | undefined;
32
- pageLabel?: string | undefined;
33
- sizeLabel?: string | undefined;
34
- totalLabel?: string | undefined;
35
- }>, {
36
- page: number;
37
- size: number;
38
- total: number;
39
- sizeOptions: () => number[];
40
- showTotal: boolean;
41
- pageLabel: string;
42
- sizeLabel: string;
43
- totalLabel: undefined;
44
- }>>> & {
16
+ }) => 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<{
27
+ "onUpdate:page"?: ((page: number) => any) | undefined;
28
+ "onUpdate:size"?: ((size: number) => any) | undefined;
45
29
  onChange?: ((value: {
46
30
  page: number;
47
31
  size: number;
48
32
  }) => any) | undefined;
49
- "onUpdate:page"?: ((page: number) => any) | undefined;
50
- "onUpdate:size"?: ((size: number) => any) | undefined;
51
- }, {
33
+ }>, {
52
34
  size: number;
53
35
  page: number;
54
36
  total: number;
@@ -57,22 +39,5 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
57
39
  pageLabel: string;
58
40
  sizeLabel: string;
59
41
  totalLabel: string;
60
- }, {}>;
42
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
61
43
  export default _default;
62
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
63
- type __VLS_TypePropsToRuntimeProps<T> = {
64
- [K in keyof T]-?: {} extends Pick<T, K> ? {
65
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
66
- } : {
67
- type: import('vue').PropType<T[K]>;
68
- required: true;
69
- };
70
- };
71
- type __VLS_WithDefaults<P, D> = {
72
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
73
- default: D[K];
74
- }> : P[K];
75
- };
76
- type __VLS_Prettify<T> = {
77
- [K in keyof T]: T[K];
78
- } & {};
@@ -1,6 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/vue3';
2
2
  import { VSpace } from '.';
3
-
4
3
  declare const meta: Meta<typeof VSpace>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof VSpace>;
@@ -1,46 +1,27 @@
1
1
  import { Align, Direction, Spacing } from './interface';
2
-
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- spacing?: Spacing | undefined;
5
- direction?: Direction | undefined;
6
- align?: Align | undefined;
7
- }>, {
8
- spacing: string;
9
- direction: string;
10
- align: string;
11
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
- spacing?: Spacing | undefined;
13
- direction?: Direction | undefined;
14
- align?: Align | undefined;
15
- }>, {
16
- spacing: string;
17
- direction: string;
18
- align: string;
19
- }>>>, {
20
- spacing: Spacing;
2
+ declare function __VLS_template(): {
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ attrs: Partial<{}>;
8
+ };
9
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{
11
+ spacing?: Spacing;
12
+ direction?: Direction;
13
+ align?: Align;
14
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
15
+ spacing?: Spacing;
16
+ direction?: Direction;
17
+ align?: Align;
18
+ }> & Readonly<{}>, {
21
19
  direction: Direction;
20
+ spacing: Spacing;
22
21
  align: Align;
23
- }, {}>, {
24
- default?(_: {}): any;
25
- }>;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
24
  export default _default;
27
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
- type __VLS_TypePropsToRuntimeProps<T> = {
29
- [K in keyof T]-?: {} extends Pick<T, K> ? {
30
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
- } : {
32
- type: import('vue').PropType<T[K]>;
33
- required: true;
34
- };
35
- };
36
- type __VLS_WithDefaults<P, D> = {
37
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
38
- default: D[K];
39
- }> : P[K];
40
- };
41
- type __VLS_Prettify<T> = {
42
- [K in keyof T]: T[K];
43
- } & {};
44
25
  type __VLS_WithTemplateSlots<T, S> = T & {
45
26
  new (): {
46
27
  $slots: S;
@@ -1,6 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/vue3';
2
2
  import { VStatusDot } from '.';
3
-
4
3
  declare const meta: Meta<typeof VStatusDot>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof VStatusDot>;
@@ -1,46 +1,27 @@
1
1
  import { State } from './interface';
2
-
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- state?: State | undefined;
5
- animate?: boolean | undefined;
6
- text?: string | undefined;
7
- }>, {
8
- state: string;
9
- animate: boolean;
10
- text: undefined;
11
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
- state?: State | undefined;
13
- animate?: boolean | undefined;
14
- text?: string | undefined;
15
- }>, {
16
- state: string;
17
- animate: boolean;
18
- text: undefined;
19
- }>>>, {
2
+ declare function __VLS_template(): {
3
+ slots: {
4
+ text?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ attrs: Partial<{}>;
8
+ };
9
+ 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<{}>, {
20
19
  animate: boolean;
21
20
  text: string;
22
21
  state: State;
23
- }, {}>, {
24
- text?(_: {}): any;
25
- }>;
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
24
  export default _default;
27
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
- type __VLS_TypePropsToRuntimeProps<T> = {
29
- [K in keyof T]-?: {} extends Pick<T, K> ? {
30
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
- } : {
32
- type: import('vue').PropType<T[K]>;
33
- required: true;
34
- };
35
- };
36
- type __VLS_WithDefaults<P, D> = {
37
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
38
- default: D[K];
39
- }> : P[K];
40
- };
41
- type __VLS_Prettify<T> = {
42
- [K in keyof T]: T[K];
43
- } & {};
44
25
  type __VLS_WithTemplateSlots<T, S> = T & {
45
26
  new (): {
46
27
  $slots: S;
@@ -1,6 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/vue3';
2
2
  import { VSwitch } from '.';
3
-
4
3
  declare const meta: Meta<typeof VSwitch>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof VSwitch>;
@@ -1,50 +1,32 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- modelValue?: boolean | undefined;
3
- disabled?: boolean | undefined;
4
- loading?: boolean | undefined;
5
- }>, {
6
- modelValue: boolean;
7
- disabled: boolean;
8
- loading: boolean;
9
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
- "update:modelValue": (value: boolean) => void;
11
- change: (value: boolean) => void;
12
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
- modelValue?: boolean | undefined;
14
- disabled?: boolean | undefined;
15
- loading?: boolean | undefined;
16
- }>, {
17
- modelValue: boolean;
18
- disabled: boolean;
19
- loading: boolean;
20
- }>>> & {
1
+ declare function __VLS_template(): {
2
+ slots: {
3
+ icon?(_: {}): any;
4
+ };
5
+ refs: {};
6
+ attrs: Partial<{}>;
7
+ };
8
+ 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, {} & {
14
+ change: (value: boolean) => any;
15
+ "update:modelValue": (value: boolean) => any;
16
+ }, string, import('vue').PublicProps, Readonly<{
17
+ modelValue?: boolean;
18
+ disabled?: boolean;
19
+ loading?: boolean;
20
+ }> & Readonly<{
21
21
  onChange?: ((value: boolean) => any) | undefined;
22
22
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
23
- }, {
23
+ }>, {
24
24
  disabled: boolean;
25
25
  loading: boolean;
26
26
  modelValue: boolean;
27
- }, {}>, {
28
- icon?(_: {}): any;
29
- }>;
27
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
30
29
  export default _default;
31
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
- type __VLS_TypePropsToRuntimeProps<T> = {
33
- [K in keyof T]-?: {} extends Pick<T, K> ? {
34
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
35
- } : {
36
- type: import('vue').PropType<T[K]>;
37
- required: true;
38
- };
39
- };
40
- type __VLS_WithDefaults<P, D> = {
41
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
42
- default: D[K];
43
- }> : P[K];
44
- };
45
- type __VLS_Prettify<T> = {
46
- [K in keyof T]: T[K];
47
- } & {};
48
30
  type __VLS_WithTemplateSlots<T, S> = T & {
49
31
  new (): {
50
32
  $slots: S;
@@ -1,22 +1,20 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- id?: string | undefined;
3
- label?: string | undefined;
4
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
- id?: string | undefined;
6
- label?: string | undefined;
7
- }>>>, {}, {}>, {
8
- default?(_: {}): any;
9
- }>;
10
- export default _default;
11
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
- type __VLS_TypePropsToRuntimeProps<T> = {
13
- [K in keyof T]-?: {} extends Pick<T, K> ? {
14
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
15
- } : {
16
- type: import('vue').PropType<T[K]>;
17
- required: true;
1
+ declare function __VLS_template(): {
2
+ slots: {
3
+ default?(_: {}): any;
18
4
  };
5
+ refs: {};
6
+ attrs: Partial<{}>;
19
7
  };
8
+ 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>;
16
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
+ export default _default;
20
18
  type __VLS_WithTemplateSlots<T, S> = T & {
21
19
  new (): {
22
20
  $slots: S;
@@ -1,6 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/vue3';
2
2
  import { VTabbar } from '.';
3
-
4
3
  declare const meta: Meta<typeof VTabbar>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof VTabbar>;
@@ -1,62 +1,30 @@
1
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
- }>>> & {
2
+ declare const _default: import('vue').DefineComponent<{
3
+ activeId?: number | string;
4
+ items?: Array<Record<string, string>>;
5
+ type?: Type;
6
+ direction?: Direction;
7
+ idKey?: string;
8
+ labelKey?: string;
9
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
+ change: (value: string | number) => any;
11
+ "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<{
35
20
  onChange?: ((value: string | number) => any) | undefined;
36
21
  "onUpdate:activeId"?: ((value: string | number) => any) | undefined;
37
- }, {
22
+ }>, {
38
23
  type: Type;
39
24
  direction: Direction;
40
25
  activeId: number | string;
41
26
  items: Array<Record<string, string>>;
42
27
  idKey: string;
43
28
  labelKey: string;
44
- }, {}>;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
45
30
  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
- } & {};
@@ -1,6 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/vue3';
2
2
  import { VTabs } from '.';
3
-
4
3
  declare const meta: Meta<typeof VTabs>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof VTabs>;
@@ -1,62 +1,39 @@
1
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
- }>>> & {
2
+ declare function __VLS_template(): {
3
+ slots: {
4
+ default?(_: {}): any;
5
+ };
6
+ refs: {};
7
+ attrs: Partial<{}>;
8
+ };
9
+ 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, {} & {
17
+ change: (value: string | number) => any;
18
+ "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<{
31
26
  onChange?: ((value: string | number) => any) | undefined;
32
27
  "onUpdate:activeId"?: ((value: string | number) => any) | undefined;
33
- }, {
28
+ }>, {
34
29
  type: Type;
35
30
  direction: Direction;
36
- activeId: string | number;
31
+ activeId: number | string;
37
32
  idKey: string;
38
33
  labelKey: string;
39
- }, {}>, {
40
- default?(_: {}): any;
41
- }>;
34
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
35
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
42
36
  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;
50
- };
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
37
  type __VLS_WithTemplateSlots<T, S> = T & {
61
38
  new (): {
62
39
  $slots: S;
@@ -1,6 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/vue3';
2
2
  import { VTag } from '.';
3
-
4
3
  declare const meta: Meta<typeof VTag>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof VTag>;
@@ -1,49 +1,30 @@
1
1
  import { CSSProperties } from 'vue';
2
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
- }>>>, {
3
+ declare function __VLS_template(): {
4
+ slots: {
5
+ leftIcon?(_: {}): any;
6
+ default?(_: {}): any;
7
+ rightIcon?(_: {}): any;
8
+ };
9
+ refs: {};
10
+ attrs: Partial<{}>;
11
+ };
12
+ 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<{}>, {
21
22
  styles: CSSProperties;
22
23
  theme: Theme;
23
24
  rounded: boolean;
24
- }, {}>, {
25
- leftIcon?(_: {}): any;
26
- default?(_: {}): any;
27
- rightIcon?(_: {}): any;
28
- }>;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
27
  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;
37
- };
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
28
  type __VLS_WithTemplateSlots<T, S> = T & {
48
29
  new (): {
49
30
  $slots: S;