@halo-dev/components 2.21.0 → 2.22.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 (87) hide show
  1. package/dist/components/alert/Alert.vue.d.ts +13 -16
  2. package/dist/components/alert/index.d.ts +1 -0
  3. package/dist/components/alert/types.d.ts +1 -0
  4. package/dist/components/avatar/Avatar.vue.d.ts +3 -3
  5. package/dist/components/avatar/AvatarGroup.vue.d.ts +5 -4
  6. package/dist/components/avatar/index.d.ts +1 -0
  7. package/dist/components/avatar/{interface.d.ts → types.d.ts} +2 -2
  8. package/dist/components/button/Button.vue.d.ts +18 -25
  9. package/dist/components/button/index.d.ts +1 -0
  10. package/dist/components/button/types.d.ts +2 -0
  11. package/dist/components/card/Card.vue.d.ts +7 -8
  12. package/dist/components/description/Description.vue.d.ts +3 -2
  13. package/dist/components/description/DescriptionItem.vue.d.ts +9 -11
  14. package/dist/components/dialog/Dialog.vue.d.ts +3 -3
  15. package/dist/components/dialog/dialog-manager.d.ts +1 -1
  16. package/dist/components/dialog/index.d.ts +2 -1
  17. package/dist/components/dialog/{interface.d.ts → types.d.ts} +3 -3
  18. package/dist/components/dropdown/DropdownDivider.vue.d.ts +1 -1
  19. package/dist/components/dropdown/DropdownItem.vue.d.ts +12 -14
  20. package/dist/components/dropdown/index.d.ts +1 -3
  21. package/dist/components/empty/Empty.vue.d.ts +8 -10
  22. package/dist/components/entity/Entity.vue.d.ts +6 -6
  23. package/dist/components/entity/EntityContainer.vue.d.ts +3 -2
  24. package/dist/components/entity/EntityField.vue.d.ts +13 -14
  25. package/dist/components/header/PageHeader.vue.d.ts +6 -6
  26. package/dist/components/loading/Loading.vue.d.ts +1 -1
  27. package/dist/components/menu/Menu.vue.d.ts +6 -6
  28. package/dist/components/menu/MenuItem.vue.d.ts +10 -12
  29. package/dist/components/menu/MenuLabel.vue.d.ts +3 -2
  30. package/dist/components/modal/Modal.vue.d.ts +19 -24
  31. package/dist/components/pagination/Pagination.vue.d.ts +5 -13
  32. package/dist/components/space/Space.vue.d.ts +13 -15
  33. package/dist/components/space/index.d.ts +1 -0
  34. package/dist/components/space/types.d.ts +4 -0
  35. package/dist/components/status/StatusDot.vue.d.ts +11 -13
  36. package/dist/components/status/index.d.ts +1 -0
  37. package/dist/components/status/types.d.ts +1 -0
  38. package/dist/components/switch/Switch.vue.d.ts +10 -12
  39. package/dist/components/tabs/TabItem.vue.d.ts +7 -8
  40. package/dist/components/tabs/Tabbar.vue.d.ts +14 -16
  41. package/dist/components/tabs/Tabs.vue.d.ts +15 -19
  42. package/dist/components/tabs/index.d.ts +2 -1
  43. package/dist/components/tabs/types.d.ts +6 -0
  44. package/dist/components/tag/Tag.vue.d.ts +11 -13
  45. package/dist/components/tag/index.d.ts +1 -0
  46. package/dist/components/tag/types.d.ts +1 -0
  47. package/dist/components/toast/Toast.vue.d.ts +15 -21
  48. package/dist/components/toast/index.d.ts +1 -0
  49. package/dist/components/toast/toast-manager.d.ts +1 -1
  50. package/dist/components/toast/{interface.d.ts → types.d.ts} +2 -2
  51. package/dist/components/tooltip/index.d.ts +1 -1
  52. package/dist/index.es.js +5777 -0
  53. package/dist/index.es.js.map +1 -0
  54. package/dist/index.iife.js +2 -0
  55. package/dist/index.iife.js.map +1 -0
  56. package/dist/style.css +3 -1
  57. package/package.json +38 -46
  58. package/dist/components/alert/Alert.stories.d.ts +0 -10
  59. package/dist/components/alert/interface.d.ts +0 -1
  60. package/dist/components/avatar/Avatar.stories.d.ts +0 -8
  61. package/dist/components/avatar/AvatarGroup.stories.d.ts +0 -7
  62. package/dist/components/button/Button.stories.d.ts +0 -9
  63. package/dist/components/button/interface.d.ts +0 -2
  64. package/dist/components/card/Card.stories.d.ts +0 -6
  65. package/dist/components/dialog/Dialog.stories.d.ts +0 -8
  66. package/dist/components/dropdown/Draopdown.stories.d.ts +0 -6
  67. package/dist/components/dropdown/Dropdown.vue.d.ts +0 -22
  68. package/dist/components/dropdown/symbols.d.ts +0 -4
  69. package/dist/components/empty/Empty.stories.d.ts +0 -6
  70. package/dist/components/loading/Loading.stories.d.ts +0 -6
  71. package/dist/components/menu/Menu.stories.d.ts +0 -6
  72. package/dist/components/modal/Modal.stories.d.ts +0 -6
  73. package/dist/components/pagination/Pagination.stories.d.ts +0 -6
  74. package/dist/components/space/Space.stories.d.ts +0 -6
  75. package/dist/components/space/interface.d.ts +0 -4
  76. package/dist/components/status/StatusDot.stories.d.ts +0 -9
  77. package/dist/components/status/interface.d.ts +0 -1
  78. package/dist/components/switch/Switch.stories.d.ts +0 -6
  79. package/dist/components/tabs/Tabbar.stories.d.ts +0 -8
  80. package/dist/components/tabs/Tabs.stories.d.ts +0 -8
  81. package/dist/components/tabs/interface.d.ts +0 -6
  82. package/dist/components/tag/Tag.stories.d.ts +0 -10
  83. package/dist/components/tag/interface.d.ts +0 -1
  84. package/dist/halo-components.es.js +0 -6434
  85. package/dist/halo-components.es.js.map +0 -1
  86. package/dist/halo-components.iife.js +0 -10
  87. package/dist/halo-components.iife.js.map +0 -1
@@ -1,5 +1,17 @@
1
+ type __VLS_Props = {
2
+ visible?: boolean;
3
+ title?: string;
4
+ width?: number;
5
+ height?: string;
6
+ fullscreen?: boolean;
7
+ bodyClass?: string[];
8
+ mountToBody?: boolean;
9
+ centered?: boolean;
10
+ layerClosable?: boolean;
11
+ };
1
12
  declare function handleClose(): void;
2
13
  declare function __VLS_template(): {
14
+ attrs: Partial<{}>;
3
15
  slots: {
4
16
  header?(_: {}): any;
5
17
  center?(_: {}): any;
@@ -11,35 +23,15 @@ declare function __VLS_template(): {
11
23
  modelWrapper: HTMLDivElement;
12
24
  modalBody: HTMLDivElement;
13
25
  };
14
- attrs: Partial<{}>;
26
+ rootEl: any;
15
27
  };
16
28
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
- declare const __VLS_component: import('vue').DefineComponent<{
18
- visible?: boolean;
19
- title?: string;
20
- width?: number;
21
- height?: string;
22
- fullscreen?: boolean;
23
- bodyClass?: string[];
24
- mountToBody?: boolean;
25
- centered?: boolean;
26
- layerClosable?: boolean;
27
- }, {
29
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
28
30
  close: typeof handleClose;
29
31
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
30
32
  close: () => any;
31
33
  "update:visible": (value: boolean) => any;
32
- }, string, import('vue').PublicProps, Readonly<{
33
- visible?: boolean;
34
- title?: string;
35
- width?: number;
36
- height?: string;
37
- fullscreen?: boolean;
38
- bodyClass?: string[];
39
- mountToBody?: boolean;
40
- centered?: boolean;
41
- layerClosable?: boolean;
42
- }> & Readonly<{
34
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
43
35
  onClose?: (() => any) | undefined;
44
36
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
45
37
  }>, {
@@ -52,7 +44,10 @@ declare const __VLS_component: import('vue').DefineComponent<{
52
44
  mountToBody: boolean;
53
45
  centered: boolean;
54
46
  layerClosable: boolean;
55
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
47
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
48
+ modelWrapper: HTMLDivElement;
49
+ modalBody: HTMLDivElement;
50
+ }, any>;
56
51
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
57
52
  export default _default;
58
53
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,4 +1,4 @@
1
- declare const _default: import('vue').DefineComponent<{
1
+ type __VLS_Props = {
2
2
  page?: number;
3
3
  size?: number;
4
4
  total?: number;
@@ -7,23 +7,15 @@ declare const _default: import('vue').DefineComponent<{
7
7
  pageLabel?: string;
8
8
  sizeLabel?: string;
9
9
  totalLabel?: string;
10
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
+ };
11
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
11
12
  "update:page": (page: number) => any;
12
13
  "update:size": (size: number) => any;
13
14
  change: (value: {
14
15
  page: number;
15
16
  size: number;
16
17
  }) => 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<{
18
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
27
19
  "onUpdate:page"?: ((page: number) => any) | undefined;
28
20
  "onUpdate:size"?: ((size: number) => any) | undefined;
29
21
  onChange?: ((value: {
@@ -39,5 +31,5 @@ declare const _default: import('vue').DefineComponent<{
39
31
  pageLabel: string;
40
32
  sizeLabel: string;
41
33
  totalLabel: string;
42
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
34
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
43
35
  export default _default;
@@ -1,25 +1,23 @@
1
- import { Align, Direction, Spacing } from './interface';
1
+ import { SpaceAlign, SpaceDirection, SpaceSpacing } from './types';
2
+ type __VLS_Props = {
3
+ spacing?: SpaceSpacing;
4
+ direction?: SpaceDirection;
5
+ align?: SpaceAlign;
6
+ };
2
7
  declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
3
9
  slots: {
4
10
  default?(_: {}): any;
5
11
  };
6
12
  refs: {};
7
- attrs: Partial<{}>;
13
+ rootEl: HTMLDivElement;
8
14
  };
9
15
  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<{}>, {
19
- direction: Direction;
20
- spacing: Spacing;
21
- align: Align;
22
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
17
+ direction: SpaceDirection;
18
+ spacing: SpaceSpacing;
19
+ align: SpaceAlign;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
23
21
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
22
  export default _default;
25
23
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1,2 @@
1
1
  export { default as VSpace } from './Space.vue';
2
+ export * from './types';
@@ -0,0 +1,4 @@
1
+ export type SpaceSpacing = "xs" | "sm" | "md" | "lg";
2
+ export type SpaceDirection = "row" | "column";
3
+ export type SpaceAlign = "start" | "end" | "center" | "stretch";
4
+ export declare const SpaceSpacingSize: Record<string, number>;
@@ -1,25 +1,23 @@
1
- import { State } from './interface';
1
+ import { StatusDotState } from './types';
2
+ type __VLS_Props = {
3
+ state?: StatusDotState;
4
+ animate?: boolean;
5
+ text?: string;
6
+ };
2
7
  declare function __VLS_template(): {
8
+ attrs: Partial<{}>;
3
9
  slots: {
4
10
  text?(_: {}): any;
5
11
  };
6
12
  refs: {};
7
- attrs: Partial<{}>;
13
+ rootEl: HTMLDivElement;
8
14
  };
9
15
  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<{}>, {
16
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
17
  animate: boolean;
20
18
  text: string;
21
- state: State;
22
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ state: StatusDotState;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
23
21
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
22
  export default _default;
25
23
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1,2 @@
1
1
  export { default as VStatusDot } from './StatusDot.vue';
2
+ export * from './types';
@@ -0,0 +1 @@
1
+ export type StatusDotState = "default" | "success" | "warning" | "error";
@@ -1,30 +1,28 @@
1
+ type __VLS_Props = {
2
+ modelValue?: boolean;
3
+ disabled?: boolean;
4
+ loading?: boolean;
5
+ };
1
6
  declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
2
8
  slots: {
3
9
  icon?(_: {}): any;
4
10
  };
5
11
  refs: {};
6
- attrs: Partial<{}>;
12
+ rootEl: HTMLDivElement;
7
13
  };
8
14
  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, {} & {
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
14
16
  change: (value: boolean) => any;
15
17
  "update:modelValue": (value: boolean) => any;
16
- }, string, import('vue').PublicProps, Readonly<{
17
- modelValue?: boolean;
18
- disabled?: boolean;
19
- loading?: boolean;
20
- }> & Readonly<{
18
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
21
19
  onChange?: ((value: boolean) => any) | undefined;
22
20
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
23
21
  }>, {
24
22
  disabled: boolean;
25
23
  loading: boolean;
26
24
  modelValue: boolean;
27
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
28
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
29
27
  export default _default;
30
28
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,18 +1,17 @@
1
+ type __VLS_Props = {
2
+ id?: string;
3
+ label?: string;
4
+ };
1
5
  declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
2
7
  slots: {
3
8
  default?(_: {}): any;
4
9
  };
5
10
  refs: {};
6
- attrs: Partial<{}>;
11
+ rootEl: any;
7
12
  };
8
13
  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>;
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
15
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
17
16
  export default _default;
18
17
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,30 +1,28 @@
1
- import { Direction, Type } from './interface';
2
- declare const _default: import('vue').DefineComponent<{
1
+ import { TabsDirection, TabsType } from './types';
2
+ type __VLS_Props = {
3
3
  activeId?: number | string;
4
4
  items?: Array<Record<string, string>>;
5
- type?: Type;
6
- direction?: Direction;
5
+ type?: TabsType;
6
+ direction?: TabsDirection;
7
7
  idKey?: string;
8
8
  labelKey?: string;
9
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
9
+ };
10
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
11
  change: (value: string | number) => any;
11
12
  "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<{
13
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
14
  onChange?: ((value: string | number) => any) | undefined;
21
15
  "onUpdate:activeId"?: ((value: string | number) => any) | undefined;
22
16
  }>, {
23
- type: Type;
24
- direction: Direction;
17
+ type: TabsType;
18
+ direction: TabsDirection;
25
19
  activeId: number | string;
26
20
  items: Array<Record<string, string>>;
27
21
  idKey: string;
28
22
  labelKey: string;
29
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
24
+ indicatorRef: HTMLDivElement;
25
+ tabbarItemsRef: HTMLDivElement;
26
+ tabItemRefs: HTMLDivElement[];
27
+ }, HTMLDivElement>;
30
28
  export default _default;
@@ -1,37 +1,33 @@
1
- import { Direction, Type } from './interface';
1
+ import { TabsDirection, TabsType } from './types';
2
+ type __VLS_Props = {
3
+ activeId?: number | string;
4
+ type?: TabsType;
5
+ direction?: TabsDirection;
6
+ idKey?: string;
7
+ labelKey?: string;
8
+ };
2
9
  declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
3
11
  slots: {
4
12
  default?(_: {}): any;
5
13
  };
6
14
  refs: {};
7
- attrs: Partial<{}>;
15
+ rootEl: HTMLDivElement;
8
16
  };
9
17
  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, {} & {
18
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
17
19
  change: (value: string | number) => any;
18
20
  "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<{
21
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
26
22
  onChange?: ((value: string | number) => any) | undefined;
27
23
  "onUpdate:activeId"?: ((value: string | number) => any) | undefined;
28
24
  }>, {
29
- type: Type;
30
- direction: Direction;
25
+ type: TabsType;
26
+ direction: TabsDirection;
31
27
  activeId: number | string;
32
28
  idKey: string;
33
29
  labelKey: string;
34
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
35
31
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
36
32
  export default _default;
37
33
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,3 +1,4 @@
1
- export { default as VTabItem } from './TabItem.vue';
2
1
  export { default as VTabbar } from './Tabbar.vue';
2
+ export { default as VTabItem } from './TabItem.vue';
3
3
  export { default as VTabs } from './Tabs.vue';
4
+ export * from './types';
@@ -0,0 +1,6 @@
1
+ export type TabsType = "default" | "pills" | "outline";
2
+ export type TabsDirection = "row" | "column";
3
+ export type TabsArrowShow = {
4
+ left: boolean;
5
+ right: boolean;
6
+ };
@@ -1,28 +1,26 @@
1
1
  import { CSSProperties } from 'vue';
2
- import { Theme } from './interface';
2
+ import { TagTheme } from './types';
3
+ type __VLS_Props = {
4
+ theme?: TagTheme;
5
+ rounded?: boolean;
6
+ styles?: CSSProperties;
7
+ };
3
8
  declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
4
10
  slots: {
5
11
  leftIcon?(_: {}): any;
6
12
  default?(_: {}): any;
7
13
  rightIcon?(_: {}): any;
8
14
  };
9
15
  refs: {};
10
- attrs: Partial<{}>;
16
+ rootEl: HTMLDivElement;
11
17
  };
12
18
  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<{}>, {
19
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
22
20
  styles: CSSProperties;
23
- theme: Theme;
21
+ theme: TagTheme;
24
22
  rounded: boolean;
25
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
26
24
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
27
25
  export default _default;
28
26
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1 +1,2 @@
1
1
  export { default as VTag } from './Tag.vue';
2
+ export * from './types';
@@ -0,0 +1 @@
1
+ export type TagTheme = "default" | "primary" | "secondary" | "danger";
@@ -1,36 +1,30 @@
1
- import { Type } from './interface';
1
+ import { ToastType } from './types';
2
+ type __VLS_Props = {
3
+ type?: ToastType;
4
+ content?: string;
5
+ duration?: number;
6
+ closable?: boolean;
7
+ frozenOnHover?: boolean;
8
+ count?: 0;
9
+ onClose?: () => void;
10
+ };
2
11
  declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
3
13
  slots: {
4
14
  default?(_: {}): any;
5
15
  };
6
16
  refs: {};
7
- attrs: Partial<{}>;
17
+ rootEl: any;
8
18
  };
9
19
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import('vue').DefineComponent<{
11
- type?: Type;
12
- content?: string;
13
- duration?: number;
14
- closable?: boolean;
15
- frozenOnHover?: boolean;
16
- count?: 0;
17
- onClose?: () => void;
18
- }, {
20
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
19
21
  close: () => void;
20
22
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
21
23
  close: () => any;
22
- }, string, import('vue').PublicProps, Readonly<{
23
- type?: Type;
24
- content?: string;
25
- duration?: number;
26
- closable?: boolean;
27
- frozenOnHover?: boolean;
28
- count?: 0;
29
- onClose?: () => void;
30
- }> & Readonly<{
24
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
31
25
  onClose?: (() => any) | undefined;
32
26
  }>, {
33
- type: Type;
27
+ type: ToastType;
34
28
  closable: boolean;
35
29
  onClose: () => void;
36
30
  content: string;
@@ -1 +1,2 @@
1
1
  export { Toast } from './toast-manager';
2
+ export * from './types';
@@ -1,5 +1,5 @@
1
1
  import { VNode } from 'vue';
2
- import { ToastProps } from './interface';
2
+ import { ToastProps } from './types';
3
3
  export type ToastApiProps = Omit<ToastProps, "type" | "content">;
4
4
  export interface ToastInstance {
5
5
  id: string;
@@ -1,6 +1,6 @@
1
- export type Type = "success" | "info" | "warning" | "error";
1
+ export type ToastType = "success" | "info" | "warning" | "error";
2
2
  export interface ToastProps {
3
- type?: Type;
3
+ type?: ToastType;
4
4
  content?: string;
5
5
  duration?: number;
6
6
  closable?: boolean;
@@ -1 +1 @@
1
- export { vTooltip as VTooltip, vTooltip } from 'floating-vue';
1
+ export { Tooltip as VTooltipComponent, vTooltip } from 'floating-vue';