@halo-dev/components 2.18.0 → 2.19.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 (55) hide show
  1. package/dist/components/alert/Alert.stories.d.ts +0 -1
  2. package/dist/components/alert/Alert.vue.d.ts +28 -26
  3. package/dist/components/avatar/Avatar.stories.d.ts +0 -1
  4. package/dist/components/avatar/Avatar.vue.d.ts +11 -12
  5. package/dist/components/avatar/AvatarGroup.stories.d.ts +0 -1
  6. package/dist/components/avatar/AvatarGroup.vue.d.ts +16 -15
  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 -28
  10. package/dist/components/card/Card.stories.d.ts +0 -1
  11. package/dist/components/card/Card.vue.d.ts +16 -14
  12. package/dist/components/description/Description.vue.d.ts +4 -2
  13. package/dist/components/description/DescriptionItem.vue.d.ts +20 -18
  14. package/dist/components/dialog/Dialog.stories.d.ts +0 -1
  15. package/dist/components/dialog/Dialog.vue.d.ts +31 -32
  16. package/dist/components/dialog/dialog-manager.d.ts +0 -1
  17. package/dist/components/dropdown/Draopdown.stories.d.ts +0 -1
  18. package/dist/components/dropdown/Dropdown.vue.d.ts +23 -22
  19. package/dist/components/dropdown/DropdownItem.vue.d.ts +22 -20
  20. package/dist/components/dropdown/symbols.d.ts +0 -1
  21. package/dist/components/empty/Empty.stories.d.ts +0 -1
  22. package/dist/components/empty/Empty.vue.d.ts +18 -16
  23. package/dist/components/entity/Entity.vue.d.ts +23 -21
  24. package/dist/components/entity/EntityField.vue.d.ts +26 -25
  25. package/dist/components/header/PageHeader.vue.d.ts +14 -12
  26. package/dist/components/loading/Loading.stories.d.ts +0 -1
  27. package/dist/components/menu/Menu.stories.d.ts +0 -1
  28. package/dist/components/menu/Menu.vue.d.ts +14 -12
  29. package/dist/components/menu/MenuItem.vue.d.ts +23 -21
  30. package/dist/components/menu/MenuLabel.vue.d.ts +4 -2
  31. package/dist/components/modal/Modal.stories.d.ts +0 -1
  32. package/dist/components/modal/Modal.vue.d.ts +38 -36
  33. package/dist/components/pagination/Pagination.stories.d.ts +0 -1
  34. package/dist/components/pagination/Pagination.vue.d.ts +27 -27
  35. package/dist/components/space/Space.stories.d.ts +0 -1
  36. package/dist/components/space/Space.vue.d.ts +23 -22
  37. package/dist/components/status/StatusDot.stories.d.ts +0 -1
  38. package/dist/components/status/StatusDot.vue.d.ts +22 -21
  39. package/dist/components/switch/Switch.stories.d.ts +0 -1
  40. package/dist/components/switch/Switch.vue.d.ts +22 -20
  41. package/dist/components/tabs/TabItem.vue.d.ts +16 -14
  42. package/dist/components/tabs/Tabbar.stories.d.ts +0 -1
  43. package/dist/components/tabs/Tabbar.vue.d.ts +23 -24
  44. package/dist/components/tabs/Tabs.stories.d.ts +0 -1
  45. package/dist/components/tabs/Tabs.vue.d.ts +27 -26
  46. package/dist/components/tag/Tag.stories.d.ts +0 -1
  47. package/dist/components/tag/Tag.vue.d.ts +24 -23
  48. package/dist/components/toast/Toast.vue.d.ts +30 -29
  49. package/dist/components/toast/toast-manager.d.ts +0 -1
  50. package/dist/halo-components.es.js +17 -32
  51. package/dist/halo-components.es.js.map +1 -1
  52. package/dist/halo-components.iife.js.map +1 -1
  53. package/dist/icons/icons.d.ts +0 -1
  54. package/dist/index.d.ts +0 -1
  55. package/package.json +2 -2
@@ -1,6 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/vue3';
2
2
  import { VAlert } from '.';
3
-
4
3
  declare const meta: Meta<typeof VAlert>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof VAlert>;
@@ -1,10 +1,15 @@
1
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;
2
+ declare function __VLS_template(): {
3
+ icon?(_: {}): any;
4
+ title?(_: {}): any;
5
+ description?(_: {}): any;
6
+ actions?(_: {}): any;
7
+ };
8
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
9
+ type?: Type;
10
+ title?: string;
11
+ description?: string;
12
+ closable?: boolean;
8
13
  }>, {
9
14
  type: string;
10
15
  title: string;
@@ -12,11 +17,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
12
17
  closable: boolean;
13
18
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
19
  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
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
21
+ type?: Type;
22
+ title?: string;
23
+ description?: string;
24
+ closable?: boolean;
20
25
  }>, {
21
26
  type: string;
22
27
  title: string;
@@ -29,22 +34,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
29
34
  title: string;
30
35
  description: string;
31
36
  closable: boolean;
32
- }, {}>, {
33
- icon?(_: {}): any;
34
- title?(_: {}): any;
35
- description?(_: {}): any;
36
- actions?(_: {}): any;
37
- }>;
37
+ }, {}>;
38
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
38
39
  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
- };
40
+
48
41
  type __VLS_WithDefaults<P, D> = {
49
42
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
43
  default: D[K];
@@ -58,3 +51,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
58
51
  $slots: S;
59
52
  };
60
53
  };
54
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
55
+ type __VLS_TypePropsToOption<T> = {
56
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
57
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
58
+ } : {
59
+ type: import('vue').PropType<T[K]>;
60
+ required: true;
61
+ };
62
+ };
@@ -1,6 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/vue3';
2
2
  import { VAvatar } from '.';
3
-
4
3
  declare const meta: Meta<typeof VAvatar>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof VAvatar>;
@@ -1,9 +1,8 @@
1
1
  import { AvatarProps } from './interface';
2
-
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AvatarProps>, {
2
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<AvatarProps>, {
4
3
  size: string;
5
4
  circle: boolean;
6
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AvatarProps>, {
5
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<AvatarProps>, {
7
6
  size: string;
8
7
  circle: boolean;
9
8
  }>>>, {
@@ -11,15 +10,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
11
10
  size: import('./interface').Size;
12
11
  }, {}>;
13
12
  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;
21
- };
22
- };
23
13
  type __VLS_WithDefaults<P, D> = {
24
14
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
25
15
  default: D[K];
@@ -28,3 +18,12 @@ type __VLS_WithDefaults<P, D> = {
28
18
  type __VLS_Prettify<T> = {
29
19
  [K in keyof T]: T[K];
30
20
  } & {};
21
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
22
+ type __VLS_TypePropsToOption<T> = {
23
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
24
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
25
+ } : {
26
+ type: import('vue').PropType<T[K]>;
27
+ required: true;
28
+ };
29
+ };
@@ -1,6 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/vue3';
2
2
  import { VAvatarGroup } from '.';
3
-
4
3
  declare const meta: Meta<typeof VAvatarGroup>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof VAvatarGroup>;
@@ -1,27 +1,19 @@
1
1
  import { AvatarGroupProps } from './interface';
2
-
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AvatarGroupProps>, {
2
+ declare function __VLS_template(): {
3
+ default?(_: {}): any;
4
+ };
5
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<AvatarGroupProps>, {
4
6
  size: string;
5
7
  circle: boolean;
6
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<AvatarGroupProps>, {
8
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<AvatarGroupProps>, {
7
9
  size: string;
8
10
  circle: boolean;
9
11
  }>>>, {
10
12
  circle: boolean;
11
13
  size: import('./interface').Size;
12
- }, {}>, {
13
- default?(_: {}): any;
14
- }>;
14
+ }, {}>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
15
16
  export default _default;
16
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
- type __VLS_TypePropsToRuntimeProps<T> = {
18
- [K in keyof T]-?: {} extends Pick<T, K> ? {
19
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
- } : {
21
- type: import('vue').PropType<T[K]>;
22
- required: true;
23
- };
24
- };
25
17
  type __VLS_WithDefaults<P, D> = {
26
18
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
19
  default: D[K];
@@ -35,3 +27,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
35
27
  $slots: S;
36
28
  };
37
29
  };
30
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
+ type __VLS_TypePropsToOption<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
+ };
@@ -1,5 +1,4 @@
1
1
  import { InjectionKey } from 'vue';
2
-
3
2
  export type Size = "lg" | "md" | "sm" | "xs";
4
3
  export interface AvatarProps {
5
4
  src?: string;
@@ -1,6 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/vue3';
2
2
  import { VButton } from '.';
3
-
4
3
  declare const meta: Meta<typeof VButton>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof VButton>;
@@ -1,13 +1,16 @@
1
1
  import { RouteLocationRaw } from 'vue-router';
2
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;
3
+ declare function __VLS_template(): {
4
+ icon?(_: {}): any;
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
8
+ type?: Type;
9
+ size?: Size;
10
+ circle?: boolean;
11
+ block?: boolean;
12
+ disabled?: boolean;
13
+ loading?: boolean;
11
14
  route?: RouteLocationRaw | undefined;
12
15
  }>, {
13
16
  type: string;
@@ -19,13 +22,13 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
19
22
  route: undefined;
20
23
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
24
  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;
25
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
26
+ type?: Type;
27
+ size?: Size;
28
+ circle?: boolean;
29
+ block?: boolean;
30
+ disabled?: boolean;
31
+ loading?: boolean;
29
32
  route?: RouteLocationRaw | undefined;
30
33
  }>, {
31
34
  type: string;
@@ -45,20 +48,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
45
48
  disabled: boolean;
46
49
  loading: boolean;
47
50
  route: RouteLocationRaw;
48
- }, {}>, {
49
- icon?(_: {}): any;
50
- default?(_: {}): any;
51
- }>;
51
+ }, {}>;
52
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
52
53
  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;
60
- };
61
- };
62
54
  type __VLS_WithDefaults<P, D> = {
63
55
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
64
56
  default: D[K];
@@ -72,3 +64,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
72
64
  $slots: S;
73
65
  };
74
66
  };
67
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
68
+ type __VLS_TypePropsToOption<T> = {
69
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
70
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
71
+ } : {
72
+ type: import('vue').PropType<T[K]>;
73
+ required: true;
74
+ };
75
+ };
@@ -1,6 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/vue3';
2
2
  import { VCard } from '.';
3
-
4
3
  declare const meta: Meta<typeof VCard>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof VCard>;
@@ -1,18 +1,25 @@
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
- }>>>, {}, {}>, {
1
+ declare function __VLS_template(): {
8
2
  header?(_: {}): any;
9
3
  actions?(_: {}): any;
10
4
  default?(_: {}): any;
11
5
  footer?(_: {}): any;
12
- }>;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToOption<{
8
+ title?: string;
9
+ bodyClass?: string[];
10
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
11
+ title?: string;
12
+ bodyClass?: string[];
13
+ }>>>, {}, {}>;
14
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
15
  export default _default;
16
+ type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
14
21
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
- type __VLS_TypePropsToRuntimeProps<T> = {
22
+ type __VLS_TypePropsToOption<T> = {
16
23
  [K in keyof T]-?: {} extends Pick<T, K> ? {
17
24
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
25
  } : {
@@ -20,8 +27,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
20
27
  required: true;
21
28
  };
22
29
  };
23
- type __VLS_WithTemplateSlots<T, S> = T & {
24
- new (): {
25
- $slots: S;
26
- };
27
- };
@@ -1,6 +1,8 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, {
1
+ declare function __VLS_template(): {
2
2
  default?(_: {}): any;
3
- }>;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
5
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
4
6
  export default _default;
5
7
  type __VLS_WithTemplateSlots<T, S> = T & {
6
8
  new (): {
@@ -1,33 +1,26 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
2
5
  label: string;
3
- content?: string | undefined;
4
- verticalCenter?: boolean | undefined;
6
+ content?: string;
7
+ verticalCenter?: boolean;
5
8
  }>, {
6
9
  content: undefined;
7
10
  verticalCenter: boolean;
8
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
11
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
9
12
  label: string;
10
- content?: string | undefined;
11
- verticalCenter?: boolean | undefined;
13
+ content?: string;
14
+ verticalCenter?: boolean;
12
15
  }>, {
13
16
  content: undefined;
14
17
  verticalCenter: boolean;
15
18
  }>>>, {
16
19
  content: string;
17
20
  verticalCenter: boolean;
18
- }, {}>, {
19
- default?(_: {}): any;
20
- }>;
21
+ }, {}>;
22
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
21
23
  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]>;
28
- required: true;
29
- };
30
- };
31
24
  type __VLS_WithDefaults<P, D> = {
32
25
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
26
  default: D[K];
@@ -41,3 +34,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
41
34
  $slots: S;
42
35
  };
43
36
  };
37
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
+ type __VLS_TypePropsToOption<T> = {
39
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
40
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
41
+ } : {
42
+ type: import('vue').PropType<T[K]>;
43
+ required: true;
44
+ };
45
+ };
@@ -1,6 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/vue3';
2
2
  import { VDialog } from '.';
3
-
4
3
  declare const meta: Meta<typeof VDialog>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof VDialog>;
@@ -1,17 +1,16 @@
1
1
  import { Type as ButtonType } from '../button/interface';
2
2
  import { Type } from './interface';
3
-
4
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
- type?: Type | undefined;
6
- title?: string | undefined;
7
- description?: string | undefined;
8
- confirmText?: string | undefined;
9
- confirmType?: ButtonType | undefined;
10
- showCancel?: boolean | undefined;
11
- cancelText?: string | undefined;
12
- visible?: boolean | undefined;
13
- onConfirm?: (() => void) | undefined;
14
- onCancel?: (() => void) | undefined;
3
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
4
+ type?: Type;
5
+ title?: string;
6
+ description?: string;
7
+ confirmText?: string;
8
+ confirmType?: ButtonType;
9
+ showCancel?: boolean;
10
+ cancelText?: string;
11
+ visible?: boolean;
12
+ onConfirm?: () => void;
13
+ onCancel?: () => void;
15
14
  }>, {
16
15
  type: string;
17
16
  title: string;
@@ -26,17 +25,17 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
26
25
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
26
  "update:visible": (visible: boolean) => void;
28
27
  close: () => void;
29
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
30
- type?: Type | undefined;
31
- title?: string | undefined;
32
- description?: string | undefined;
33
- confirmText?: string | undefined;
34
- confirmType?: ButtonType | undefined;
35
- showCancel?: boolean | undefined;
36
- cancelText?: string | undefined;
37
- visible?: boolean | undefined;
38
- onConfirm?: (() => void) | undefined;
39
- onCancel?: (() => void) | undefined;
28
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
29
+ type?: Type;
30
+ title?: string;
31
+ description?: string;
32
+ confirmText?: string;
33
+ confirmType?: ButtonType;
34
+ showCancel?: boolean;
35
+ cancelText?: string;
36
+ visible?: boolean;
37
+ onConfirm?: () => void;
38
+ onCancel?: () => void;
40
39
  }>, {
41
40
  type: string;
42
41
  title: string;
@@ -64,15 +63,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
64
63
  onCancel: () => void;
65
64
  }, {}>;
66
65
  export default _default;
67
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
68
- type __VLS_TypePropsToRuntimeProps<T> = {
69
- [K in keyof T]-?: {} extends Pick<T, K> ? {
70
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
71
- } : {
72
- type: import('vue').PropType<T[K]>;
73
- required: true;
74
- };
75
- };
76
66
  type __VLS_WithDefaults<P, D> = {
77
67
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
78
68
  default: D[K];
@@ -81,3 +71,12 @@ type __VLS_WithDefaults<P, D> = {
81
71
  type __VLS_Prettify<T> = {
82
72
  [K in keyof T]: T[K];
83
73
  } & {};
74
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
75
+ type __VLS_TypePropsToOption<T> = {
76
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
77
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
78
+ } : {
79
+ type: import('vue').PropType<T[K]>;
80
+ required: true;
81
+ };
82
+ };
@@ -1,5 +1,4 @@
1
1
  import { DialogProps } from './interface';
2
-
3
2
  export type DialogApiProps = Omit<DialogProps, "type" | "visible">;
4
3
  export type DialogApi = (props?: DialogApiProps) => void;
5
4
  export interface DialogEntry {
@@ -1,6 +1,5 @@
1
1
  import { Meta, StoryObj } from '@storybook/vue3';
2
2
  import { VDropdown } from '.';
3
-
4
3
  declare const meta: Meta<typeof VDropdown>;
5
4
  export default meta;
6
5
  type Story = StoryObj<typeof VDropdown>;
@@ -1,10 +1,13 @@
1
1
  import { Placement, TriggerEvent } from 'floating-vue';
2
-
3
2
  declare function hide(): void;
4
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
5
- placement?: Placement | undefined;
6
- triggers?: TriggerEvent[] | undefined;
7
- classes?: string[] | undefined;
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ popper?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
8
+ placement?: Placement;
9
+ triggers?: TriggerEvent[];
10
+ classes?: string[];
8
11
  }>, {
9
12
  placement: string;
10
13
  triggers: () => string[];
@@ -13,10 +16,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
13
16
  hide: typeof hide;
14
17
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
18
  show: () => void;
16
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
17
- placement?: Placement | undefined;
18
- triggers?: TriggerEvent[] | undefined;
19
- classes?: string[] | undefined;
19
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
20
+ placement?: Placement;
21
+ triggers?: TriggerEvent[];
22
+ classes?: string[];
20
23
  }>, {
21
24
  placement: string;
22
25
  triggers: () => string[];
@@ -27,20 +30,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
27
30
  classes: string[];
28
31
  placement: Placement;
29
32
  triggers: TriggerEvent[];
30
- }, {}>, {
31
- default?(_: {}): any;
32
- popper?(_: {}): any;
33
- }>;
33
+ }, {}>;
34
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
34
35
  export default _default;
35
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
- type __VLS_TypePropsToRuntimeProps<T> = {
37
- [K in keyof T]-?: {} extends Pick<T, K> ? {
38
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
- } : {
40
- type: import('vue').PropType<T[K]>;
41
- required: true;
42
- };
43
- };
44
36
  type __VLS_WithDefaults<P, D> = {
45
37
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
46
38
  default: D[K];
@@ -54,3 +46,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
54
46
  $slots: S;
55
47
  };
56
48
  };
49
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
50
+ type __VLS_TypePropsToOption<T> = {
51
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
52
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
53
+ } : {
54
+ type: import('vue').PropType<T[K]>;
55
+ required: true;
56
+ };
57
+ };
@@ -1,6 +1,11 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- selected?: boolean | undefined;
3
- disabled?: boolean | undefined;
1
+ declare function __VLS_template(): {
2
+ "prefix-icon"?(_: {}): any;
3
+ default?(_: {}): any;
4
+ "suffix-icon"?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
7
+ selected?: boolean;
8
+ disabled?: boolean;
4
9
  type: "default" | "danger";
5
10
  }>, {
6
11
  selected: boolean;
@@ -8,9 +13,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
8
13
  type: string;
9
14
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
15
  click: (e: MouseEvent) => void;
11
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
- selected?: boolean | undefined;
13
- disabled?: boolean | undefined;
16
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
17
+ selected?: boolean;
18
+ disabled?: boolean;
14
19
  type: "default" | "danger";
15
20
  }>, {
16
21
  selected: boolean;
@@ -22,21 +27,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
22
27
  type: "default" | "danger";
23
28
  disabled: boolean;
24
29
  selected: boolean;
25
- }, {}>, {
26
- "prefix-icon"?(_: {}): any;
27
- default?(_: {}): any;
28
- "suffix-icon"?(_: {}): any;
29
- }>;
30
+ }, {}>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
30
32
  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
33
  type __VLS_WithDefaults<P, D> = {
41
34
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
42
35
  default: D[K];
@@ -50,3 +43,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
50
43
  $slots: S;
51
44
  };
52
45
  };
46
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
+ type __VLS_TypePropsToOption<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
+ };