kui-vue 5.3.1 → 5.5.1

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 (93) hide show
  1. package/README.md +25 -18
  2. package/README.zh-CN.md +40 -35
  3. package/dist/index.js +2 -2
  4. package/es/index.js +2273 -1111
  5. package/es/locale/de.js +1 -1
  6. package/es/locale/el.js +1 -1
  7. package/es/locale/en.js +1 -1
  8. package/es/locale/fr.js +1 -1
  9. package/es/locale/it.js +1 -1
  10. package/es/locale/ja.js +1 -1
  11. package/es/locale/ko.js +1 -1
  12. package/es/locale/ru.js +1 -1
  13. package/es/locale/th.js +1 -1
  14. package/es/locale/uk.js +1 -1
  15. package/es/locale/vi.js +1 -1
  16. package/es/locale/zh-CN.js +1 -1
  17. package/es/locale/zh-TW.js +1 -1
  18. package/lib/index.js +2 -2
  19. package/lib/locale/de.js +1 -1
  20. package/lib/locale/el.js +1 -1
  21. package/lib/locale/en.js +1 -1
  22. package/lib/locale/fr.js +1 -1
  23. package/lib/locale/it.js +1 -1
  24. package/lib/locale/ja.js +1 -1
  25. package/lib/locale/ko.js +1 -1
  26. package/lib/locale/ru.js +1 -1
  27. package/lib/locale/th.js +1 -1
  28. package/lib/locale/uk.js +1 -1
  29. package/lib/locale/vi.js +1 -1
  30. package/lib/locale/zh-CN.js +1 -1
  31. package/lib/locale/zh-TW.js +1 -1
  32. package/package.json +20 -18
  33. package/style/index.css +2 -2
  34. package/types/affix/index.d.ts +7 -5
  35. package/types/anchor/anchor.d.ts +17 -2
  36. package/types/avatar/avatar-group.d.ts +9 -9
  37. package/types/avatar/avatar.d.ts +15 -9
  38. package/types/avatar/context.d.ts +8 -0
  39. package/types/badge/index.d.ts +3 -0
  40. package/types/card/card-meta.d.ts +17 -0
  41. package/types/card/index.d.ts +7 -1
  42. package/types/cascader/index.d.ts +122 -0
  43. package/types/cascader/types.d.ts +63 -0
  44. package/types/collapse/collapse-panel.d.ts +0 -4
  45. package/types/collapse/context.d.ts +7 -0
  46. package/types/color-picker/index.d.ts +0 -1
  47. package/types/components.d.ts +13 -3
  48. package/types/const/types.d.ts +1 -1
  49. package/types/date-picker/index.d.ts +2 -3
  50. package/types/drawer/index.d.ts +6 -8
  51. package/types/dropdown/dropdown.d.ts +0 -1
  52. package/types/empty/index.d.ts +4 -1
  53. package/types/feature-card/index.d.ts +33 -0
  54. package/types/feedback-panel/feedback-panel.d.ts +37 -0
  55. package/types/feedback-panel/index.d.ts +3 -0
  56. package/types/form/form.d.ts +3 -5
  57. package/types/form/types.d.ts +1 -1
  58. package/types/global.d.ts +12 -0
  59. package/types/image/context.d.ts +9 -0
  60. package/types/image/utils.d.ts +1 -1
  61. package/types/input-otp/index.d.ts +3 -0
  62. package/types/input-otp/input-otp.d.ts +38 -0
  63. package/types/menu/index.d.ts +1 -1
  64. package/types/menu/menu-group.d.ts +4 -13
  65. package/types/menu/menu-item.d.ts +3 -6
  66. package/types/menu/recursive-menu.d.ts +0 -3
  67. package/types/menu/sub-menu.d.ts +4 -9
  68. package/types/modal/modal.d.ts +1 -16
  69. package/types/notice/index.d.ts +1 -0
  70. package/types/popconfirm/index.d.ts +1 -3
  71. package/types/poptip/index.d.ts +1 -3
  72. package/types/result/index.d.ts +3 -0
  73. package/types/result/result.d.ts +33 -0
  74. package/types/select/select.d.ts +2 -3
  75. package/types/skeleton/skeleton-avatar.d.ts +6 -6
  76. package/types/skeleton/skeleton-button.d.ts +6 -6
  77. package/types/skeleton/skeleton-image.d.ts +6 -6
  78. package/types/skeleton/skeleton-text.d.ts +6 -6
  79. package/types/skeleton/skeleton.d.ts +6 -6
  80. package/types/skeleton/types.d.ts +3 -3
  81. package/types/skeleton/use-skeleton-loading.d.ts +2 -0
  82. package/types/slider/thumb.d.ts +2 -2
  83. package/types/stat-card/stat-card.d.ts +3 -1
  84. package/types/table/index.d.ts +19 -18
  85. package/types/tooltip/index.d.ts +1 -3
  86. package/types/tree/context.d.ts +6 -0
  87. package/types/tree/index.d.ts +0 -6
  88. package/types/tree-select/index.d.ts +2 -15
  89. package/types/upload/index.d.ts +3 -3
  90. package/types/utils/theme.d.ts +1 -1
  91. package/vetur/attributes.json +396 -188
  92. package/vetur/tags.json +118 -43
  93. package/vetur/web-types.json +672 -246
@@ -27,7 +27,9 @@ declare const Affix: import('vue').DefineComponent<ExtractPropTypes<{
27
27
  onChange: {
28
28
  type: PropType<(affixed: boolean) => void>;
29
29
  };
30
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
30
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
+ change: (_affixed: boolean) => true;
32
+ }, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
31
33
  offsetTop: {
32
34
  type: NumberConstructor;
33
35
  default: number;
@@ -40,10 +42,10 @@ declare const Affix: import('vue').DefineComponent<ExtractPropTypes<{
40
42
  onChange: {
41
43
  type: PropType<(affixed: boolean) => void>;
42
44
  };
43
- }>> & Readonly<{}>, {
45
+ }>> & Readonly<{
46
+ onChange?: ((_affixed: boolean) => any) | undefined;
47
+ }>, {
44
48
  offsetTop: number;
45
49
  target: () => any;
46
- }, {}, {}, {
47
- resize: import('vue').ObjectDirective<any, any, string, any>;
48
- }, string, import('vue').ComponentProvideOptions, true, {}, any>;
50
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
49
51
  export default Affix;
@@ -23,6 +23,9 @@ declare const anchorProps: {
23
23
  onChange: {
24
24
  type: PropType<(activeLink: string) => void>;
25
25
  };
26
+ onClick: {
27
+ type: PropType<(link: string) => void>;
28
+ };
26
29
  };
27
30
  export type AnchorProps = ExtractPropTypes<typeof anchorProps>;
28
31
  declare const Anchor: import('vue').DefineComponent<ExtractPropTypes<{
@@ -42,7 +45,13 @@ declare const Anchor: import('vue').DefineComponent<ExtractPropTypes<{
42
45
  onChange: {
43
46
  type: PropType<(activeLink: string) => void>;
44
47
  };
45
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
48
+ onClick: {
49
+ type: PropType<(link: string) => void>;
50
+ };
51
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
52
+ change: (_activeLink: string) => true;
53
+ click: (_link: string) => true;
54
+ }, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
46
55
  affix: {
47
56
  type: BooleanType;
48
57
  default: boolean;
@@ -59,7 +68,13 @@ declare const Anchor: import('vue').DefineComponent<ExtractPropTypes<{
59
68
  onChange: {
60
69
  type: PropType<(activeLink: string) => void>;
61
70
  };
62
- }>> & Readonly<{}>, {
71
+ onClick: {
72
+ type: PropType<(link: string) => void>;
73
+ };
74
+ }>> & Readonly<{
75
+ onChange?: ((_activeLink: string) => any) | undefined;
76
+ onClick?: ((_link: string) => any) | undefined;
77
+ }>, {
63
78
  offsetTop: number;
64
79
  affix: boolean | undefined;
65
80
  bounds: number;
@@ -1,13 +1,13 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- import { ShapeType } from '../const/types';
2
+ import { AvatarShape, AvatarSize } from './context';
3
3
  declare const avatarGroupProps: {
4
4
  maxCount: NumberConstructor;
5
5
  shape: {
6
- type: PropType<ShapeType>;
6
+ type: PropType<AvatarShape>;
7
7
  default: string;
8
8
  };
9
9
  size: {
10
- type: PropType<number | "large" | "small" | "default">;
10
+ type: PropType<AvatarSize>;
11
11
  default: string;
12
12
  };
13
13
  };
@@ -15,25 +15,25 @@ export type AvatarGroupProps = ExtractPropTypes<typeof avatarGroupProps>;
15
15
  declare const AvatarGroup: import('vue').DefineComponent<ExtractPropTypes<{
16
16
  maxCount: NumberConstructor;
17
17
  shape: {
18
- type: PropType<ShapeType>;
18
+ type: PropType<AvatarShape>;
19
19
  default: string;
20
20
  };
21
21
  size: {
22
- type: PropType<number | "large" | "small" | "default">;
22
+ type: PropType<AvatarSize>;
23
23
  default: string;
24
24
  };
25
25
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
26
26
  maxCount: NumberConstructor;
27
27
  shape: {
28
- type: PropType<ShapeType>;
28
+ type: PropType<AvatarShape>;
29
29
  default: string;
30
30
  };
31
31
  size: {
32
- type: PropType<number | "large" | "small" | "default">;
32
+ type: PropType<AvatarSize>;
33
33
  default: string;
34
34
  };
35
35
  }>> & Readonly<{}>, {
36
- size: number | "default" | "small" | "large";
37
- shape: ShapeType;
36
+ size: AvatarSize;
37
+ shape: AvatarShape;
38
38
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
39
39
  export default AvatarGroup;
@@ -1,43 +1,49 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- import { ShapeType } from '../const/types';
3
2
  import { IconType } from '../icon';
3
+ import { AvatarShape, AvatarSize } from './context';
4
4
  declare const avatarProps: {
5
5
  icon: PropType<IconType[]>;
6
6
  shape: {
7
- type: PropType<ShapeType>;
7
+ type: PropType<AvatarShape>;
8
8
  default: string;
9
9
  };
10
10
  size: {
11
- type: PropType<number | "large" | "small" | "default">;
11
+ type: PropType<AvatarSize>;
12
12
  default: string;
13
13
  };
14
14
  src: StringConstructor;
15
+ alt: StringConstructor;
16
+ onError: PropType<(event: Event) => boolean | void>;
15
17
  };
16
18
  export type AvatarProps = ExtractPropTypes<typeof avatarProps>;
17
19
  declare const Avatar: import('vue').DefineComponent<ExtractPropTypes<{
18
20
  icon: PropType<IconType[]>;
19
21
  shape: {
20
- type: PropType<ShapeType>;
22
+ type: PropType<AvatarShape>;
21
23
  default: string;
22
24
  };
23
25
  size: {
24
- type: PropType<number | "large" | "small" | "default">;
26
+ type: PropType<AvatarSize>;
25
27
  default: string;
26
28
  };
27
29
  src: StringConstructor;
30
+ alt: StringConstructor;
31
+ onError: PropType<(event: Event) => boolean | void>;
28
32
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
29
33
  icon: PropType<IconType[]>;
30
34
  shape: {
31
- type: PropType<ShapeType>;
35
+ type: PropType<AvatarShape>;
32
36
  default: string;
33
37
  };
34
38
  size: {
35
- type: PropType<number | "large" | "small" | "default">;
39
+ type: PropType<AvatarSize>;
36
40
  default: string;
37
41
  };
38
42
  src: StringConstructor;
43
+ alt: StringConstructor;
44
+ onError: PropType<(event: Event) => boolean | void>;
39
45
  }>> & Readonly<{}>, {
40
- size: number | "default" | "small" | "large";
41
- shape: ShapeType;
46
+ size: AvatarSize;
47
+ shape: AvatarShape;
42
48
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
43
49
  export default Avatar;
@@ -0,0 +1,8 @@
1
+ import { InjectionKey, Ref } from 'vue';
2
+ export type AvatarShape = "circle" | "square";
3
+ export type AvatarSize = number | "large" | "small" | "default";
4
+ export interface AvatarGroupContext {
5
+ shape: Ref<AvatarShape>;
6
+ size: Ref<AvatarSize>;
7
+ }
8
+ export declare const avatarGroupContextKey: InjectionKey<AvatarGroupContext>;
@@ -4,6 +4,7 @@ export type BadgeStatusType = "default" | "success" | "error" | "warning";
4
4
  declare const badgeProps: {
5
5
  count: (NumberConstructor | StringConstructor)[];
6
6
  dot: BooleanType;
7
+ pill: BooleanType;
7
8
  color: StringConstructor;
8
9
  status: {
9
10
  type: PropType<BadgeStatusType>;
@@ -19,6 +20,7 @@ export type BadgeProps = ExtractPropTypes<typeof badgeProps>;
19
20
  declare const Badge: import('vue').DefineComponent<ExtractPropTypes<{
20
21
  count: (NumberConstructor | StringConstructor)[];
21
22
  dot: BooleanType;
23
+ pill: BooleanType;
22
24
  color: StringConstructor;
23
25
  status: {
24
26
  type: PropType<BadgeStatusType>;
@@ -32,6 +34,7 @@ declare const Badge: import('vue').DefineComponent<ExtractPropTypes<{
32
34
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
33
35
  count: (NumberConstructor | StringConstructor)[];
34
36
  dot: BooleanType;
37
+ pill: BooleanType;
35
38
  color: StringConstructor;
36
39
  status: {
37
40
  type: PropType<BadgeStatusType>;
@@ -0,0 +1,17 @@
1
+ import { ExtractPropTypes, PropType, VNodeChild } from 'vue';
2
+ declare const cardMetaProps: {
3
+ avatar: PropType<string | VNodeChild>;
4
+ title: PropType<VNodeChild>;
5
+ description: PropType<VNodeChild>;
6
+ };
7
+ export type CardMetaProps = ExtractPropTypes<typeof cardMetaProps>;
8
+ declare const CardMeta: import('vue').DefineComponent<ExtractPropTypes<{
9
+ avatar: PropType<string | VNodeChild>;
10
+ title: PropType<VNodeChild>;
11
+ description: PropType<VNodeChild>;
12
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
13
+ avatar: PropType<string | VNodeChild>;
14
+ title: PropType<VNodeChild>;
15
+ description: PropType<VNodeChild>;
16
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
+ export default CardMeta;
@@ -1,6 +1,7 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
1
+ import { ExtractPropTypes, PropType, VNodeChild } from 'vue';
2
2
  import { BooleanType } from '../const/types';
3
3
  import { IconType } from '../icon';
4
+ import { default as CardMeta } from './card-meta';
4
5
  declare const cardProps: {
5
6
  bordered: {
6
7
  type: BooleanType;
@@ -8,6 +9,7 @@ declare const cardProps: {
8
9
  };
9
10
  title: StringConstructor;
10
11
  icon: PropType<IconType[]>;
12
+ cover: PropType<string | VNodeChild>;
11
13
  };
12
14
  export type CardProps = ExtractPropTypes<typeof cardProps>;
13
15
  declare const Card: import('vue').DefineComponent<ExtractPropTypes<{
@@ -17,6 +19,7 @@ declare const Card: import('vue').DefineComponent<ExtractPropTypes<{
17
19
  };
18
20
  title: StringConstructor;
19
21
  icon: PropType<IconType[]>;
22
+ cover: PropType<string | VNodeChild>;
20
23
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
21
24
  bordered: {
22
25
  type: BooleanType;
@@ -24,7 +27,10 @@ declare const Card: import('vue').DefineComponent<ExtractPropTypes<{
24
27
  };
25
28
  title: StringConstructor;
26
29
  icon: PropType<IconType[]>;
30
+ cover: PropType<string | VNodeChild>;
27
31
  }>> & Readonly<{}>, {
28
32
  bordered: boolean | undefined;
29
33
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
34
+ export type { CardMetaProps } from './card-meta';
35
+ export { CardMeta };
30
36
  export default Card;
@@ -0,0 +1,122 @@
1
+ import { CascaderOption } from './types.ts';
2
+ declare const Cascader: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ modelValue: {
4
+ type: import('vue').PropType<(string | number)[]>;
5
+ default: () => never[];
6
+ };
7
+ options: {
8
+ type: import('vue').PropType<CascaderOption[]>;
9
+ default: () => never[];
10
+ };
11
+ theme: {
12
+ type: import('vue').PropType<import('../components.ts').ThemeType>;
13
+ default: string;
14
+ };
15
+ bordered: {
16
+ type: import('../components.ts').BooleanType;
17
+ default: boolean;
18
+ };
19
+ shape: import('vue').PropType<import('../components.ts').ShapeType>;
20
+ showArrow: {
21
+ type: import('../components.ts').BooleanType;
22
+ default: boolean;
23
+ };
24
+ placeholder: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ icon: import('vue').PropType<import('../icon').IconType[]>;
29
+ arrowIcon: import('vue').PropType<import('../icon').IconType[]>;
30
+ emptyText: StringConstructor;
31
+ disabled: BooleanConstructor;
32
+ clearable: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ size: import('vue').PropType<import('../components.ts').SizeType>;
37
+ expandTrigger: {
38
+ type: import('vue').PropType<"click" | "hover">;
39
+ default: string;
40
+ };
41
+ showAllLevels: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ separator: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ placement: {
50
+ type: import('vue').PropType<import('../components.ts').DropPlacementsType>;
51
+ default: string;
52
+ };
53
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("change" | "update:modelValue" | "openChange")[], "change" | "update:modelValue" | "openChange", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
54
+ modelValue: {
55
+ type: import('vue').PropType<(string | number)[]>;
56
+ default: () => never[];
57
+ };
58
+ options: {
59
+ type: import('vue').PropType<CascaderOption[]>;
60
+ default: () => never[];
61
+ };
62
+ theme: {
63
+ type: import('vue').PropType<import('../components.ts').ThemeType>;
64
+ default: string;
65
+ };
66
+ bordered: {
67
+ type: import('../components.ts').BooleanType;
68
+ default: boolean;
69
+ };
70
+ shape: import('vue').PropType<import('../components.ts').ShapeType>;
71
+ showArrow: {
72
+ type: import('../components.ts').BooleanType;
73
+ default: boolean;
74
+ };
75
+ placeholder: {
76
+ type: StringConstructor;
77
+ default: string;
78
+ };
79
+ icon: import('vue').PropType<import('../icon').IconType[]>;
80
+ arrowIcon: import('vue').PropType<import('../icon').IconType[]>;
81
+ emptyText: StringConstructor;
82
+ disabled: BooleanConstructor;
83
+ clearable: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ size: import('vue').PropType<import('../components.ts').SizeType>;
88
+ expandTrigger: {
89
+ type: import('vue').PropType<"click" | "hover">;
90
+ default: string;
91
+ };
92
+ showAllLevels: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ separator: {
97
+ type: StringConstructor;
98
+ default: string;
99
+ };
100
+ placement: {
101
+ type: import('vue').PropType<import('../components.ts').DropPlacementsType>;
102
+ default: string;
103
+ };
104
+ }>> & Readonly<{
105
+ onChange?: ((...args: any[]) => any) | undefined;
106
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
107
+ onOpenChange?: ((...args: any[]) => any) | undefined;
108
+ }>, {
109
+ separator: string;
110
+ disabled: boolean;
111
+ bordered: boolean | undefined;
112
+ theme: import('../components.ts').ThemeType;
113
+ placeholder: string;
114
+ modelValue: (string | number)[];
115
+ options: CascaderOption[];
116
+ showArrow: boolean | undefined;
117
+ clearable: boolean;
118
+ expandTrigger: "click" | "hover";
119
+ showAllLevels: boolean;
120
+ placement: import('../components.ts').DropPlacementsType;
121
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
122
+ export default Cascader;
@@ -0,0 +1,63 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+ import { BooleanType, DropPlacementsType, ShapeType, SizeType, ThemeType } from '../const/types';
3
+ import { IconType } from '../icon';
4
+ export interface CascaderOption {
5
+ value: string | number;
6
+ label: string;
7
+ disabled?: boolean;
8
+ children?: CascaderOption[];
9
+ isLeaf?: boolean;
10
+ }
11
+ export declare const cascaderProps: {
12
+ modelValue: {
13
+ type: PropType<(string | number)[]>;
14
+ default: () => never[];
15
+ };
16
+ options: {
17
+ type: PropType<CascaderOption[]>;
18
+ default: () => never[];
19
+ };
20
+ theme: {
21
+ type: PropType<ThemeType>;
22
+ default: string;
23
+ };
24
+ bordered: {
25
+ type: BooleanType;
26
+ default: boolean;
27
+ };
28
+ shape: PropType<ShapeType>;
29
+ showArrow: {
30
+ type: BooleanType;
31
+ default: boolean;
32
+ };
33
+ placeholder: {
34
+ type: StringConstructor;
35
+ default: string;
36
+ };
37
+ icon: PropType<IconType[]>;
38
+ arrowIcon: PropType<IconType[]>;
39
+ emptyText: StringConstructor;
40
+ disabled: BooleanConstructor;
41
+ clearable: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ size: PropType<SizeType>;
46
+ expandTrigger: {
47
+ type: PropType<"click" | "hover">;
48
+ default: string;
49
+ };
50
+ showAllLevels: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ };
54
+ separator: {
55
+ type: StringConstructor;
56
+ default: string;
57
+ };
58
+ placement: {
59
+ type: PropType<DropPlacementsType>;
60
+ default: string;
61
+ };
62
+ };
63
+ export type CascaderProps = ExtractPropTypes<typeof cascaderProps>;
@@ -1,15 +1,11 @@
1
1
  import { ExtractPropTypes } from 'vue';
2
- import { BooleanType } from '../const/types';
3
2
  declare const collapsePanelProps: {
4
3
  title: StringConstructor;
5
- active: BooleanType;
6
4
  };
7
5
  export type CollapsePanelProps = ExtractPropTypes<typeof collapsePanelProps>;
8
6
  declare const CollapsePanel: import('vue').DefineComponent<ExtractPropTypes<{
9
7
  title: StringConstructor;
10
- active: BooleanType;
11
8
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
12
9
  title: StringConstructor;
13
- active: BooleanType;
14
10
  }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
15
11
  export default CollapsePanel;
@@ -0,0 +1,7 @@
1
+ import { InjectionKey, Ref } from 'vue';
2
+ export type CollapseKey = string | number;
3
+ export interface CollapseContext {
4
+ openKeys: Ref<CollapseKey[]>;
5
+ toggle: (key: CollapseKey) => void;
6
+ }
7
+ export declare const collapseContextKey: InjectionKey<CollapseContext>;
@@ -104,7 +104,6 @@ declare const ColorPicker: import('vue').DefineComponent<ExtractPropTypes<{
104
104
  placement: DropPlacementsType;
105
105
  trigger: "click" | "hover";
106
106
  }, {}, {}, {
107
- transfer: import('vue').ObjectDirective<any, any, string, any>;
108
107
  resize: import('vue').ObjectDirective<any, any, string, any>;
109
108
  }, string, import('vue').ComponentProvideOptions, true, {}, any>;
110
109
  export default ColorPicker;
@@ -14,8 +14,12 @@ export { default as Badge } from './badge';
14
14
  export type { BadgeProps, BadgeStatusType } from './badge';
15
15
  export { Button, ButtonGroup } from './button';
16
16
  export type { ButtonGroupProps, ButtonProps } from './button';
17
- export { default as Card } from './card';
18
- export type { CardProps } from './card';
17
+ export { default as Cascader } from './cascader';
18
+ export type { CascaderOption, CascaderProps } from './cascader/types';
19
+ export { default as Card, CardMeta } from './card';
20
+ export type { CardMetaProps, CardProps } from './card';
21
+ export { default as FeatureCard } from './feature-card';
22
+ export type { FeatureCardProps } from './feature-card';
19
23
  export { Carousel, CarouselItem } from './carousel';
20
24
  export type { CarouselProps } from './carousel';
21
25
  export { Checkbox, CheckboxGroup } from './checkbox';
@@ -49,6 +53,8 @@ export { default as Icon } from './icon';
49
53
  export type { IconProps, IconType } from './icon';
50
54
  export { Input, InputGroup, TextArea } from './input';
51
55
  export type { InputGroupProps, InputProps, TextAreaProps } from './input';
56
+ export { default as InputOTP } from './input-otp';
57
+ export type { InputOTPProps, InputOTPValidator } from './input-otp';
52
58
  export { default as InputNumber } from './input-number';
53
59
  export type { InputNumberProps } from './input-number';
54
60
  export { Content, Footer, Header, Layout, Sider } from './layout';
@@ -76,6 +82,10 @@ export { Radio, RadioButton, RadioGroup } from './radio';
76
82
  export type { RadioButtonProps, RadioGroupProps, RadioOption, RadioProps } from './radio';
77
83
  export { default as Rate } from './rate';
78
84
  export type { RateProps } from './rate';
85
+ export { default as Result } from './result';
86
+ export type { ResultProps, ResultStatus } from './result';
87
+ export { default as FeedbackPanel } from './feedback-panel';
88
+ export type { FeedbackPanelKind, FeedbackPanelProps } from './feedback-panel';
79
89
  export { Option, Select } from './select';
80
90
  export type { OptionProps, SelectOption, SelectProps } from './select';
81
91
  export { default as ConfigProvider } from './config';
@@ -94,7 +104,7 @@ export type { SwitchProps } from './switch';
94
104
  export { Splitter, SplitterPanel } from './splitter';
95
105
  export type { SplitterPanelProps, SplitterProps } from './splitter';
96
106
  export { default as Table } from './table';
97
- export type { Column, SortState, TableProps } from './table';
107
+ export type { Column, SortState, TableKey, TableProps } from './table';
98
108
  export { default as Tooltip } from './tooltip';
99
109
  export type { TooltipProps } from './tooltip';
100
110
  export { TabPanel, Tabs } from './tabs';
@@ -8,7 +8,7 @@ export type SizeType = "small" | "medium" | "large";
8
8
  export type ShapeType = "circle" | "square" | "round";
9
9
  export type BooleanType = PropType<boolean | undefined>;
10
10
  export type ButtonType = "primary" | "danger" | "warning" | "default" | "text" | "link";
11
- export type ThemeType = "outline" | "fill" | "default" | "solid" | "dashed" | "card";
11
+ export type ThemeType = "outline" | "fill" | "default" | "solid" | "dashed" | "card" | "underlined";
12
12
  export type RadioType = "radio" | "button";
13
13
  export type DirectionType = "horizontal" | "vertical" | "inline";
14
14
  export type AlignType = "start" | "center" | "end";
@@ -261,9 +261,9 @@ declare const DatePicker: import('vue').DefineComponent<ExtractPropTypes<{
261
261
  theme: ThemeType;
262
262
  placeholder: string | string[];
263
263
  modelValue: string | number | Record<string, any> | Date | unknown[];
264
- valueType: DatePickerValueType;
265
- placement: DropPlacementsType;
266
264
  clearable: boolean | undefined;
265
+ placement: DropPlacementsType;
266
+ valueType: DatePickerValueType;
267
267
  startDate: string | number | Record<string, any> | Date;
268
268
  endDate: string | number | Record<string, any> | Date;
269
269
  editable: boolean | undefined;
@@ -271,7 +271,6 @@ declare const DatePicker: import('vue').DefineComponent<ExtractPropTypes<{
271
271
  disabledDate: (date: Date) => boolean;
272
272
  disabledTime: (date: Date) => boolean;
273
273
  }, {}, {}, {
274
- transfer: import('vue').ObjectDirective<any, any, string, any>;
275
274
  resize: import('vue').ObjectDirective<any, any, string, any>;
276
275
  }, string, import('vue').ComponentProvideOptions, true, {}, any>;
277
276
  export default DatePicker;
@@ -1,4 +1,4 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
1
+ import { ComponentPublicInstance, ExtractPropTypes, PropType } from 'vue';
2
2
  import { DrawerPlacementsType } from '../const/types';
3
3
  declare const drawerProps: {
4
4
  modelValue: BooleanConstructor;
@@ -33,7 +33,7 @@ declare const drawerProps: {
33
33
  default: boolean;
34
34
  };
35
35
  target: {
36
- type: PropType<() => HTMLElement>;
36
+ type: PropType<() => HTMLElement | ComponentPublicInstance | null | undefined>;
37
37
  default: () => HTMLElement;
38
38
  };
39
39
  mask: {
@@ -87,7 +87,7 @@ declare const Drawer: import('vue').DefineComponent<ExtractPropTypes<{
87
87
  default: boolean;
88
88
  };
89
89
  target: {
90
- type: PropType<() => HTMLElement>;
90
+ type: PropType<() => HTMLElement | ComponentPublicInstance | null | undefined>;
91
91
  default: () => HTMLElement;
92
92
  };
93
93
  mask: {
@@ -139,7 +139,7 @@ declare const Drawer: import('vue').DefineComponent<ExtractPropTypes<{
139
139
  default: boolean;
140
140
  };
141
141
  target: {
142
- type: PropType<() => HTMLElement>;
142
+ type: PropType<() => HTMLElement | ComponentPublicInstance | null | undefined>;
143
143
  default: () => HTMLElement;
144
144
  };
145
145
  mask: {
@@ -159,7 +159,7 @@ declare const Drawer: import('vue').DefineComponent<ExtractPropTypes<{
159
159
  onClose: PropType<() => void>;
160
160
  onOpenChange: PropType<(opened: boolean) => void>;
161
161
  }>> & Readonly<{}>, {
162
- target: () => HTMLElement;
162
+ target: () => HTMLElement | ComponentPublicInstance | null | undefined;
163
163
  height: string | number;
164
164
  width: string | number;
165
165
  mask: boolean;
@@ -171,7 +171,5 @@ declare const Drawer: import('vue').DefineComponent<ExtractPropTypes<{
171
171
  placement: DrawerPlacementsType;
172
172
  maskClosable: boolean;
173
173
  escKey: boolean;
174
- }, {}, {}, {
175
- transfer: import('vue').ObjectDirective<any, any, string, any>;
176
- }, string, import('vue').ComponentProvideOptions, true, {}, any>;
174
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
177
175
  export default Drawer;
@@ -66,7 +66,6 @@ declare const Dropdown: import('vue').DefineComponent<ExtractPropTypes<{
66
66
  trigger: TriggerType;
67
67
  arrow: boolean | undefined;
68
68
  }, {}, {}, {
69
- transfer: import('vue').ObjectDirective<any, any, string, any>;
70
69
  resize: import('vue').ObjectDirective<any, any, string, any>;
71
70
  }, string, import('vue').ComponentProvideOptions, true, {}, any>;
72
71
  export default Dropdown;
@@ -1,6 +1,9 @@
1
1
  import { CSSProperties, DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from 'vue';
2
2
  declare const emptyProps: {
3
- description: (BooleanConstructor | StringConstructor)[];
3
+ description: {
4
+ type: (BooleanConstructor | StringConstructor)[];
5
+ default: null;
6
+ };
4
7
  image: StringConstructor;
5
8
  imageStyle: PropType<CSSProperties>;
6
9
  };
@@ -0,0 +1,33 @@
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
+ import { BooleanType } from '../const/types';
3
+ import { IconType } from '../icon';
4
+ declare const featureCardProps: {
5
+ icon: PropType<IconType[]>;
6
+ title: StringConstructor;
7
+ desc: StringConstructor;
8
+ bordered: {
9
+ type: BooleanType;
10
+ default: boolean;
11
+ };
12
+ };
13
+ export type FeatureCardProps = ExtractPropTypes<typeof featureCardProps>;
14
+ declare const FeatureCard: import('vue').DefineComponent<ExtractPropTypes<{
15
+ icon: PropType<IconType[]>;
16
+ title: StringConstructor;
17
+ desc: StringConstructor;
18
+ bordered: {
19
+ type: BooleanType;
20
+ default: boolean;
21
+ };
22
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
23
+ icon: PropType<IconType[]>;
24
+ title: StringConstructor;
25
+ desc: StringConstructor;
26
+ bordered: {
27
+ type: BooleanType;
28
+ default: boolean;
29
+ };
30
+ }>> & Readonly<{}>, {
31
+ bordered: boolean | undefined;
32
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
33
+ export default FeatureCard;