kui-vue 6.0.0 → 6.2.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 (265) hide show
  1. package/AI.en-US.md +21 -1
  2. package/AI.md +37 -1
  3. package/ai/behaviors.json +82 -0
  4. package/ai/evals/README.md +59 -0
  5. package/ai/evals/cases.json +91 -24
  6. package/ai/evals/config.json +4 -0
  7. package/ai/evals/evaluate.mjs +267 -0
  8. package/ai/evals/run.mjs +118 -0
  9. package/ai/kui-components.json +7894 -955
  10. package/ai/kui-components.schema.json +67 -0
  11. package/ai/mcp.mjs +210 -166
  12. package/ai/skills/kui-vue/SKILL.md +2 -1
  13. package/ai/skills/kui-vue/references/mcp.md +12 -12
  14. package/ai/templates/form.vue +49 -0
  15. package/ai/templates/index.json +23 -0
  16. package/ai/templates/modal-editor.vue +59 -0
  17. package/ai/templates/table.vue +63 -0
  18. package/ai/validate.mjs +225 -0
  19. package/dist/index.js +2 -2
  20. package/es/index.js +2180 -2179
  21. package/es/locale/de.js +1 -1
  22. package/es/locale/el.js +1 -1
  23. package/es/locale/en.js +1 -1
  24. package/es/locale/fr.js +1 -1
  25. package/es/locale/it.js +1 -1
  26. package/es/locale/ja.js +1 -1
  27. package/es/locale/ko.js +1 -1
  28. package/es/locale/ru.js +1 -1
  29. package/es/locale/th.js +1 -1
  30. package/es/locale/uk.js +1 -1
  31. package/es/locale/vi.js +1 -1
  32. package/es/locale/zh-CN.js +1 -1
  33. package/es/locale/zh-TW.js +1 -1
  34. package/lib/index.cjs +2 -2
  35. package/lib/locale/de.cjs +1 -1
  36. package/lib/locale/el.cjs +1 -1
  37. package/lib/locale/en.cjs +1 -1
  38. package/lib/locale/fr.cjs +1 -1
  39. package/lib/locale/it.cjs +1 -1
  40. package/lib/locale/ja.cjs +1 -1
  41. package/lib/locale/ko.cjs +1 -1
  42. package/lib/locale/ru.cjs +1 -1
  43. package/lib/locale/th.cjs +1 -1
  44. package/lib/locale/uk.cjs +1 -1
  45. package/lib/locale/vi.cjs +1 -1
  46. package/lib/locale/zh-CN.cjs +1 -1
  47. package/lib/locale/zh-TW.cjs +1 -1
  48. package/package.json +37 -31
  49. package/style/base.css +1 -1
  50. package/style/components.css +2 -2
  51. package/style/index.css +2 -2
  52. package/style/motion.css +1 -1
  53. package/style/theme.css +2 -2
  54. package/types/affix/index.d.ts +5 -5
  55. package/types/alert/index.d.ts +9 -7
  56. package/types/anchor/anchor-link.d.ts +4 -4
  57. package/types/anchor/anchor.d.ts +6 -6
  58. package/types/anchor/context.d.ts +1 -1
  59. package/types/anchor/index.d.ts +4 -4
  60. package/types/auto-complete/index.d.ts +7 -11
  61. package/types/avatar/avatar-group.d.ts +5 -5
  62. package/types/avatar/avatar.d.ts +6 -6
  63. package/types/avatar/context.d.ts +1 -1
  64. package/types/avatar/index.d.ts +4 -4
  65. package/types/back-top/index.d.ts +5 -5
  66. package/types/badge/index.d.ts +6 -6
  67. package/types/base/transition.d.ts +1 -1
  68. package/types/breadcrumb/breadcrumb-item.d.ts +6 -6
  69. package/types/breadcrumb/breadcrumb.d.ts +4 -4
  70. package/types/breadcrumb/index.d.ts +4 -4
  71. package/types/button/button-group.d.ts +5 -5
  72. package/types/button/button.d.ts +4 -4
  73. package/types/button/index.d.ts +4 -4
  74. package/types/calendar/index.d.ts +8 -5
  75. package/types/card/card-meta.d.ts +4 -4
  76. package/types/card/index.d.ts +8 -8
  77. package/types/carousel/carousel-item.d.ts +1 -1
  78. package/types/carousel/carousel.d.ts +20 -7
  79. package/types/carousel/index.d.ts +3 -3
  80. package/types/cascader/index.d.ts +41 -32
  81. package/types/cascader/types.d.ts +7 -3
  82. package/types/check-card/check-card-group.d.ts +10 -7
  83. package/types/check-card/check-card.d.ts +21 -8
  84. package/types/check-card/context.d.ts +3 -3
  85. package/types/check-card/index.d.ts +5 -5
  86. package/types/check-card/types.d.ts +2 -2
  87. package/types/checkbox/checkbox-group.d.ts +20 -7
  88. package/types/checkbox/checkbox.d.ts +4 -3
  89. package/types/checkbox/index.d.ts +5 -5
  90. package/types/collapse/collapse-panel.d.ts +6 -6
  91. package/types/collapse/collapse.d.ts +7 -7
  92. package/types/collapse/context.d.ts +1 -1
  93. package/types/collapse/index.d.ts +4 -4
  94. package/types/color-picker/alpha.d.ts +10 -6
  95. package/types/color-picker/hue.d.ts +7 -4
  96. package/types/color-picker/index.d.ts +34 -20
  97. package/types/color-picker/mode.d.ts +9 -9
  98. package/types/color-picker/paint.d.ts +9 -6
  99. package/types/color-picker/presets.d.ts +7 -7
  100. package/types/color-picker/types.d.ts +1 -0
  101. package/types/components.d.ts +166 -161
  102. package/types/config/context.d.ts +2 -2
  103. package/types/config/index.d.ts +7 -7
  104. package/types/config/popup.d.ts +1 -1
  105. package/types/const/types.d.ts +2 -2
  106. package/types/date-picker/index.d.ts +49 -19
  107. package/types/descriptions/descriptions-item.d.ts +5 -5
  108. package/types/descriptions/descriptions.d.ts +5 -5
  109. package/types/descriptions/index.d.ts +4 -2
  110. package/types/directives/outsiteclick.d.ts +1 -1
  111. package/types/directives/resize.d.ts +1 -1
  112. package/types/directives/scroll.d.ts +1 -1
  113. package/types/divider/index.d.ts +5 -5
  114. package/types/drawer/index.d.ts +24 -11
  115. package/types/dropdown/dropdown-button.d.ts +7 -7
  116. package/types/dropdown/dropdown.d.ts +12 -16
  117. package/types/dropdown/index.d.ts +4 -2
  118. package/types/dropdown/trigger.d.ts +6 -6
  119. package/types/empty/index.d.ts +1 -1
  120. package/types/feature-card/index.d.ts +7 -7
  121. package/types/feedback-panel/feedback-panel.d.ts +7 -7
  122. package/types/feedback-panel/index.d.ts +3 -3
  123. package/types/flame-wrap/index.d.ts +9 -9
  124. package/types/flex/index.d.ts +7 -7
  125. package/types/flex/types.d.ts +1 -1
  126. package/types/form/context.d.ts +3 -3
  127. package/types/form/form-item.d.ts +6 -6
  128. package/types/form/form.d.ts +9 -13
  129. package/types/form/index.d.ts +6 -6
  130. package/types/global.d.ts +2 -0
  131. package/types/grid/grid-item.d.ts +2 -2
  132. package/types/grid/grid.d.ts +3 -3
  133. package/types/grid/index.d.ts +5 -5
  134. package/types/grid/useBreakpoint.d.ts +1 -1
  135. package/types/icon/index.d.ts +8 -8
  136. package/types/image/context.d.ts +2 -2
  137. package/types/image/group.d.ts +4 -4
  138. package/types/image/image.d.ts +7 -7
  139. package/types/image/index.d.ts +5 -5
  140. package/types/image/instance.d.ts +11 -4
  141. package/types/image/preview.d.ts +6 -6
  142. package/types/index.d.cts +2 -2
  143. package/types/index.d.ts +2 -2
  144. package/types/input/index.d.ts +6 -6
  145. package/types/input/input-box.d.ts +6 -6
  146. package/types/input/input-group.d.ts +5 -5
  147. package/types/input/input.d.ts +27 -10
  148. package/types/input/textarea.d.ts +17 -8
  149. package/types/input-number/index.d.ts +10 -7
  150. package/types/input-otp/index.d.ts +3 -3
  151. package/types/input-otp/input-otp.d.ts +21 -8
  152. package/types/input-tag/index.d.ts +6 -6
  153. package/types/kanban/index.d.ts +5 -5
  154. package/types/layout/index.d.ts +17 -17
  155. package/types/list-panel/index.d.ts +7 -7
  156. package/types/mentions/index.d.ts +7 -7
  157. package/types/menu/index.d.ts +6 -6
  158. package/types/menu/menu-context.d.ts +4 -2
  159. package/types/menu/menu-divider.d.ts +1 -1
  160. package/types/menu/menu-group.d.ts +4 -4
  161. package/types/menu/menu-item.d.ts +10 -6
  162. package/types/menu/menu.d.ts +24 -17
  163. package/types/menu/recursive-menu.d.ts +5 -5
  164. package/types/menu/sub-menu.d.ts +6 -6
  165. package/types/menu/types.d.ts +2 -2
  166. package/types/message/index.d.ts +3 -3
  167. package/types/modal/index.d.ts +15 -10
  168. package/types/modal/modal.d.ts +25 -97
  169. package/types/modal/toast.d.ts +11 -10
  170. package/types/notice/container.d.ts +3 -3
  171. package/types/notice/content.d.ts +10 -77
  172. package/types/notice/index.d.ts +3 -3
  173. package/types/notice/instance.d.ts +2 -2
  174. package/types/page/index.d.ts +6 -6
  175. package/types/page-header/index.d.ts +4 -4
  176. package/types/popconfirm/index.d.ts +8 -45
  177. package/types/poptip/index.d.ts +9 -47
  178. package/types/popup/index.d.ts +251 -0
  179. package/types/popup/layers.d.ts +9 -0
  180. package/types/popup/types.d.ts +15 -0
  181. package/types/progress/index.d.ts +6 -6
  182. package/types/qrcode/index.d.ts +7 -7
  183. package/types/radio/index.d.ts +8 -7
  184. package/types/radio/radio-button.d.ts +8 -8
  185. package/types/radio/radio-group.d.ts +4 -3
  186. package/types/radio/radio.d.ts +7 -7
  187. package/types/radio/types.d.ts +1 -1
  188. package/types/rate/index.d.ts +7 -7
  189. package/types/rate/star.d.ts +7 -7
  190. package/types/result/index.d.ts +3 -3
  191. package/types/result/result.d.ts +7 -7
  192. package/types/ripple/index.d.ts +6 -6
  193. package/types/row-col/col.d.ts +4 -4
  194. package/types/row-col/index.d.ts +4 -4
  195. package/types/row-col/row.d.ts +4 -4
  196. package/types/segmented/index.d.ts +6 -4
  197. package/types/select/index.d.ts +5 -5
  198. package/types/select/option.d.ts +13 -14
  199. package/types/select/select.d.ts +10 -6
  200. package/types/select/types.d.ts +1 -1
  201. package/types/skeleton/index.d.ts +10 -10
  202. package/types/skeleton/skeleton-avatar.d.ts +13 -13
  203. package/types/skeleton/skeleton-button.d.ts +15 -15
  204. package/types/skeleton/skeleton-image.d.ts +11 -11
  205. package/types/skeleton/skeleton-text.d.ts +11 -11
  206. package/types/skeleton/skeleton.d.ts +15 -15
  207. package/types/skeleton/types.d.ts +2 -2
  208. package/types/skeleton/use-skeleton-loading.d.ts +1 -1
  209. package/types/slider/index.d.ts +8 -3
  210. package/types/slider/thumb.d.ts +7 -7
  211. package/types/space/index.d.ts +4 -4
  212. package/types/spin/index.d.ts +18 -5
  213. package/types/splitter/index.d.ts +2 -2
  214. package/types/splitter/splitter-panel.d.ts +4 -4
  215. package/types/splitter/splitter.d.ts +6 -6
  216. package/types/stat-card/countup.d.ts +4 -4
  217. package/types/stat-card/index.d.ts +5 -5
  218. package/types/stat-card/rollup.d.ts +6 -4
  219. package/types/stat-card/stat-card.d.ts +7 -7
  220. package/types/stat-card/stat-number.d.ts +19 -6
  221. package/types/stat-card/types.d.ts +1 -1
  222. package/types/stat-card/utils/countup.d.ts +1 -1
  223. package/types/stat-card/utils/odometer.d.ts +8 -5
  224. package/types/steps/index.d.ts +8 -8
  225. package/types/switch/index.d.ts +3 -2
  226. package/types/table/column-setting.d.ts +7 -7
  227. package/types/table/index.d.ts +13 -26
  228. package/types/table/types.d.ts +2 -2
  229. package/types/table/utils.d.ts +1 -1
  230. package/types/tabs/index.d.ts +5 -4
  231. package/types/tabs/tab-panel.d.ts +6 -6
  232. package/types/tabs/tabs.d.ts +6 -6
  233. package/types/tabs/types.d.ts +1 -1
  234. package/types/tag/index.d.ts +9 -7
  235. package/types/time-line/index.d.ts +5 -5
  236. package/types/time-line/timeline-item.d.ts +5 -5
  237. package/types/time-line/timeline.d.ts +6 -6
  238. package/types/tooltip/index.d.ts +21 -35
  239. package/types/tour/index.d.ts +34 -23
  240. package/types/transfer/index.d.ts +18 -5
  241. package/types/tree/context.d.ts +1 -1
  242. package/types/tree/index.d.ts +13 -10
  243. package/types/tree/types.d.ts +1 -1
  244. package/types/tree/utils.d.ts +1 -1
  245. package/types/tree-select/index.d.ts +14 -7
  246. package/types/typography/index.d.ts +26 -17
  247. package/types/upload/file-list.d.ts +8 -8
  248. package/types/upload/index.d.ts +9 -22
  249. package/types/upload/picture-sort.d.ts +2 -0
  250. package/types/upload/selector.d.ts +9 -9
  251. package/types/upload/types.d.ts +1 -1
  252. package/types/utils/checked.d.ts +1 -1
  253. package/types/utils/model-value.d.ts +10 -0
  254. package/types/utils/number.d.ts +1 -1
  255. package/types/utils/placement.d.ts +1 -1
  256. package/types/utils/popup.d.ts +11 -0
  257. package/types/utils/selection-tags.d.ts +18 -0
  258. package/types/utils/vnode.d.ts +3 -3
  259. package/types/utils/vue.d.ts +7 -1
  260. package/types/virtual-list/index.d.ts +6 -6
  261. package/types/watermark/index.d.ts +8 -8
  262. package/vetur/attributes.json +1717 -781
  263. package/vetur/tags.json +359 -159
  264. package/vetur/web-types.json +7563 -6197
  265. package/types/directives/transfer.d.ts +0 -2
@@ -0,0 +1,15 @@
1
+ export type PopupTrigger = "hover" | "click" | "focus" | "contextmenu" | "manual";
2
+ export type PopupOpenReason = "trigger" | "hover" | "focus" | "contextmenu" | "outside" | "escape" | "programmatic" | "host";
3
+ export interface PopupOpenChangeDetail {
4
+ reason: PopupOpenReason;
5
+ event?: Event;
6
+ }
7
+ export interface PopupRef {
8
+ open: () => void;
9
+ close: () => void;
10
+ updatePosition: () => void;
11
+ cancelClose: () => void;
12
+ scheduleClose: () => void;
13
+ getTriggerElement: () => HTMLElement | null;
14
+ getPopupElement: () => HTMLElement | null;
15
+ }
@@ -1,5 +1,5 @@
1
- import { ExtractPropTypes, PropType, VNodeChild } from 'vue';
2
- import { BooleanType, ProgressStatus, ProgressStroke, ProgressType, SizeType } from '../const/types';
1
+ import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
2
+ import type { BooleanType, ProgressStatus, ProgressStroke, ProgressType, SizeType } from "../const/types";
3
3
  declare const progressProps: {
4
4
  percent: {
5
5
  type: NumberConstructor;
@@ -38,7 +38,7 @@ declare const progressProps: {
38
38
  };
39
39
  };
40
40
  export type ProgressProps = ExtractPropTypes<typeof progressProps>;
41
- declare const Progress: import('vue').DefineComponent<ExtractPropTypes<{
41
+ declare const Progress: import("vue").DefineComponent<ExtractPropTypes<{
42
42
  percent: {
43
43
  type: NumberConstructor;
44
44
  default: number;
@@ -74,7 +74,7 @@ declare const Progress: import('vue').DefineComponent<ExtractPropTypes<{
74
74
  type: BooleanType;
75
75
  default: boolean;
76
76
  };
77
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
77
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
78
78
  percent: {
79
79
  type: NumberConstructor;
80
80
  default: number;
@@ -118,6 +118,6 @@ declare const Progress: import('vue').DefineComponent<ExtractPropTypes<{
118
118
  percent: number;
119
119
  gapDegree: number;
120
120
  showInfo: boolean | undefined;
121
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
121
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
122
122
  export default Progress;
123
- export type { ProgressStatus, ProgressStroke, ProgressType } from '../const/types';
123
+ export type { ProgressStatus, ProgressStroke, ProgressType } from "../const/types";
@@ -1,5 +1,5 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType, QRCodeErrorLevel, QRCodeStatus, ShapeType, ThemeType } from '../const/types';
1
+ import { type ExtractPropTypes, type PropType } from "vue";
2
+ import type { BooleanType, QRCodeErrorLevel, QRCodeStatus, ShapeType, ThemeType } from "../const/types";
3
3
  declare const qrCodeProps: {
4
4
  value: {
5
5
  type: StringConstructor;
@@ -61,7 +61,7 @@ export type QRCodeProps = ExtractPropTypes<typeof qrCodeProps>;
61
61
  export interface QRCodeRef {
62
62
  download: (fileName?: string) => Promise<void>;
63
63
  }
64
- declare const QRCode: import('vue').DefineComponent<ExtractPropTypes<{
64
+ declare const QRCode: import("vue").DefineComponent<ExtractPropTypes<{
65
65
  value: {
66
66
  type: StringConstructor;
67
67
  required: boolean;
@@ -117,9 +117,9 @@ declare const QRCode: import('vue').DefineComponent<ExtractPropTypes<{
117
117
  type: PropType<QRCodeErrorLevel>;
118
118
  default: string;
119
119
  };
120
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
120
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
121
121
  refresh: () => true;
122
- }, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
122
+ }, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
123
123
  value: {
124
124
  type: StringConstructor;
125
125
  required: boolean;
@@ -190,6 +190,6 @@ declare const QRCode: import('vue').DefineComponent<ExtractPropTypes<{
190
190
  logoRadius: number;
191
191
  logoBorder: boolean | undefined;
192
192
  errorLevel: QRCodeErrorLevel;
193
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
193
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
194
194
  export default QRCode;
195
- export type { QRCodeErrorLevel, QRCodeStatus } from '../const/types';
195
+ export type { QRCodeErrorLevel, QRCodeStatus } from "../const/types";
@@ -1,8 +1,9 @@
1
- import { default as Radio } from './radio';
2
- import { default as RadioButton } from './radio-button';
3
- import { default as RadioGroup } from './radio-group';
4
- export type { RadioProps } from './radio';
5
- export type { RadioButtonProps } from './radio-button';
6
- export type { RadioGroupProps } from './radio-group';
7
- export type { RadioOption } from './types';
1
+ import Radio from "./radio";
2
+ import RadioButton from "./radio-button";
3
+ import RadioGroup from "./radio-group";
4
+ export type { RadioProps } from "./radio";
5
+ export type { RadioButtonProps } from "./radio-button";
6
+ export type { RadioGroupProps } from "./radio-group";
7
+ export type { RadioOption } from "./types";
8
+ export type { ChangeEvent as RadioChangeEvent } from "./types";
8
9
  export { Radio, RadioButton, RadioGroup };
@@ -1,7 +1,7 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType, ShapeType, SizeType, ThemeType } from '../const/types';
3
- import { IconType } from '../icon';
4
- import { ChangeEvent } from './types';
1
+ import { type ExtractPropTypes, type PropType } from "vue";
2
+ import type { BooleanType, ShapeType, SizeType, ThemeType } from "../const/types";
3
+ import type { IconType } from "../icon";
4
+ import type { ChangeEvent } from "./types";
5
5
  declare const radioButtonProps: {
6
6
  modelValue: {
7
7
  type: BooleanConstructor;
@@ -26,7 +26,7 @@ declare const radioButtonProps: {
26
26
  };
27
27
  };
28
28
  export type RadioButtonProps = ExtractPropTypes<typeof radioButtonProps>;
29
- declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
29
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
30
30
  modelValue: {
31
31
  type: BooleanConstructor;
32
32
  default: undefined;
@@ -48,11 +48,11 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
48
48
  shape: {
49
49
  type: PropType<ShapeType>;
50
50
  };
51
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
51
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
52
52
  change: (event: ChangeEvent) => boolean;
53
53
  "update:modelValue": (value: boolean) => boolean;
54
54
  "update:checked": (value: boolean) => boolean;
55
- }, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
55
+ }, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
56
56
  modelValue: {
57
57
  type: BooleanConstructor;
58
58
  default: undefined;
@@ -80,5 +80,5 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
80
80
  "onUpdate:checked"?: ((value: boolean) => any) | undefined;
81
81
  }>, {
82
82
  modelValue: boolean;
83
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
83
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
84
84
  export default _default;
@@ -1,8 +1,9 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType, DirectionType, RadioType, ShapeType, SizeType, ThemeType } from '../const/types';
3
- import { RadioOption } from './types';
1
+ import { type ExtractPropTypes, type PropType } from "vue";
2
+ import type { BooleanType, DirectionType, RadioType, ShapeType, SizeType, ThemeType } from "../const/types";
3
+ import type { RadioOption } from "./types";
4
4
  declare const radioGroupProps: {
5
5
  modelValue: PropType<string | number>;
6
+ value: PropType<string | number>;
6
7
  disabled: BooleanType;
7
8
  readonly: BooleanType;
8
9
  direction: {
@@ -1,6 +1,6 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType, SizeType, ThemeType } from '../const/types';
3
- import { ChangeEvent } from './types';
1
+ import { type ExtractPropTypes, type PropType } from "vue";
2
+ import type { BooleanType, SizeType, ThemeType } from "../const/types";
3
+ import type { ChangeEvent } from "./types";
4
4
  declare const radioProps: {
5
5
  modelValue: {
6
6
  type: BooleanConstructor;
@@ -25,7 +25,7 @@ declare const radioProps: {
25
25
  };
26
26
  };
27
27
  export type RadioProps = ExtractPropTypes<typeof radioProps>;
28
- declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
28
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
29
29
  modelValue: {
30
30
  type: BooleanConstructor;
31
31
  default: undefined;
@@ -47,11 +47,11 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
47
47
  size: {
48
48
  type: PropType<SizeType>;
49
49
  };
50
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
50
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
51
51
  change: (event: ChangeEvent) => boolean;
52
52
  "update:modelValue": (value: boolean) => boolean;
53
53
  "update:checked": (value: boolean) => boolean;
54
- }, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
54
+ }, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
55
55
  modelValue: {
56
56
  type: BooleanConstructor;
57
57
  default: undefined;
@@ -80,5 +80,5 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
80
80
  }>, {
81
81
  theme: ThemeType;
82
82
  modelValue: boolean;
83
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
83
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
84
84
  export default _default;
@@ -1,4 +1,4 @@
1
- import { IconType } from '../icon';
1
+ import type { IconType } from "../icon";
2
2
  export interface ChangeEvent {
3
3
  value?: string | number;
4
4
  label: string;
@@ -1,6 +1,6 @@
1
- import { ExtractPropTypes, PropType, VNodeChild } from 'vue';
2
- import { BooleanType, SizeType } from '../const/types';
3
- import { IconType } from '../icon';
1
+ import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
2
+ import { type BooleanType, type SizeType } from "../const/types";
3
+ import type { IconType } from "../icon";
4
4
  declare const rateProps: {
5
5
  modelValue: NumberConstructor;
6
6
  value: {
@@ -31,7 +31,7 @@ declare const rateProps: {
31
31
  };
32
32
  };
33
33
  export type RateProps = ExtractPropTypes<typeof rateProps>;
34
- declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
34
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
35
35
  modelValue: NumberConstructor;
36
36
  value: {
37
37
  type: NumberConstructor;
@@ -59,10 +59,10 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
59
59
  type: NumberConstructor;
60
60
  default: number;
61
61
  };
62
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
62
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
63
63
  "update:modelValue": (value: number) => boolean;
64
64
  change: (value: number) => boolean;
65
- }, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
65
+ }, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
66
66
  modelValue: NumberConstructor;
67
67
  value: {
68
68
  type: NumberConstructor;
@@ -98,5 +98,5 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
98
98
  value: number;
99
99
  count: number;
100
100
  allowClear: boolean | undefined;
101
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
101
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
102
102
  export default _default;
@@ -1,6 +1,6 @@
1
- import { ExtractPropTypes, PropType, VNodeChild } from 'vue';
2
- import { BooleanType } from '../const/types';
3
- import { IconType } from '../icon';
1
+ import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
2
+ import type { BooleanType } from "../const/types";
3
+ import { type IconType } from "../icon";
4
4
  declare const starProps: {
5
5
  character: PropType<string | ((index: number) => VNodeChild)>;
6
6
  tooltips: StringConstructor;
@@ -22,7 +22,7 @@ declare const starProps: {
22
22
  };
23
23
  };
24
24
  export type StarProps = ExtractPropTypes<typeof starProps>;
25
- declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
25
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
26
26
  character: PropType<string | ((index: number) => VNodeChild)>;
27
27
  tooltips: StringConstructor;
28
28
  percent: NumberConstructor;
@@ -41,9 +41,9 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
41
41
  type: NumberConstructor;
42
42
  default: number;
43
43
  };
44
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
44
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
45
45
  update: (type: "C" | "M", index: number, percent: number) => boolean;
46
- }, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
46
+ }, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
47
47
  character: PropType<string | ((index: number) => VNodeChild)>;
48
48
  tooltips: StringConstructor;
49
49
  percent: NumberConstructor;
@@ -66,5 +66,5 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
66
66
  onUpdate?: ((type: "C" | "M", index: number, percent: number) => any) | undefined;
67
67
  }>, {
68
68
  strokeWidth: number;
69
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
69
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
70
70
  export default _default;
@@ -1,4 +1,4 @@
1
- import { default as Result } from './result';
2
- export type { ResultStatus } from '../const/types';
3
- export type { ResultProps } from './result';
1
+ import Result from "./result";
2
+ export type { ResultStatus } from "../const/types";
3
+ export type { ResultProps } from "./result";
4
4
  export default Result;
@@ -1,6 +1,6 @@
1
- import { ExtractPropTypes, PropType, VNodeChild } from 'vue';
2
- import { ResultStatus } from '../const/types';
3
- import { IconType } from '../icon';
1
+ import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
2
+ import type { ResultStatus } from "../const/types";
3
+ import { type IconType } from "../icon";
4
4
  declare const resultProps: {
5
5
  status: {
6
6
  type: PropType<ResultStatus>;
@@ -11,7 +11,7 @@ declare const resultProps: {
11
11
  icon: PropType<IconType[]>;
12
12
  };
13
13
  export type ResultProps = ExtractPropTypes<typeof resultProps>;
14
- declare const Result: import('vue').DefineComponent<ExtractPropTypes<{
14
+ declare const Result: import("vue").DefineComponent<ExtractPropTypes<{
15
15
  status: {
16
16
  type: PropType<ResultStatus>;
17
17
  default: string;
@@ -19,7 +19,7 @@ declare const Result: import('vue').DefineComponent<ExtractPropTypes<{
19
19
  title: PropType<VNodeChild>;
20
20
  subTitle: PropType<VNodeChild>;
21
21
  icon: PropType<IconType[]>;
22
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
22
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
23
23
  status: {
24
24
  type: PropType<ResultStatus>;
25
25
  default: string;
@@ -29,6 +29,6 @@ declare const Result: import('vue').DefineComponent<ExtractPropTypes<{
29
29
  icon: PropType<IconType[]>;
30
30
  }>> & Readonly<{}>, {
31
31
  status: ResultStatus;
32
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
32
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
33
33
  export default Result;
34
- export type { ResultStatus } from '../const/types';
34
+ export type { ResultStatus } from "../const/types";
@@ -1,5 +1,5 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { RippleInstance, RippleOptions, RippleTrigger } from './engine';
1
+ import { type ExtractPropTypes, type PropType } from "vue";
2
+ import { type RippleInstance, type RippleOptions, type RippleTrigger } from "./engine";
3
3
  declare const rippleProps: {
4
4
  amplitude: NumberConstructor;
5
5
  speed: NumberConstructor;
@@ -14,7 +14,7 @@ declare const rippleProps: {
14
14
  };
15
15
  export type RippleProps = ExtractPropTypes<typeof rippleProps>;
16
16
  export type { RippleInstance, RippleOptions, RippleTrigger };
17
- declare const Ripple: import('vue').DefineComponent<ExtractPropTypes<{
17
+ declare const Ripple: import("vue").DefineComponent<ExtractPropTypes<{
18
18
  amplitude: NumberConstructor;
19
19
  speed: NumberConstructor;
20
20
  wavelength: NumberConstructor;
@@ -25,9 +25,9 @@ declare const Ripple: import('vue').DefineComponent<ExtractPropTypes<{
25
25
  shine: NumberConstructor;
26
26
  trigger: PropType<RippleTrigger>;
27
27
  interval: NumberConstructor;
28
- }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
28
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
29
29
  [key: string]: any;
30
- }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
30
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
31
31
  amplitude: NumberConstructor;
32
32
  speed: NumberConstructor;
33
33
  wavelength: NumberConstructor;
@@ -38,5 +38,5 @@ declare const Ripple: import('vue').DefineComponent<ExtractPropTypes<{
38
38
  shine: NumberConstructor;
39
39
  trigger: PropType<RippleTrigger>;
40
40
  interval: NumberConstructor;
41
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
41
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42
42
  export default Ripple;
@@ -1,4 +1,4 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
1
+ import type { ExtractPropTypes, PropType } from "vue";
2
2
  export interface ColSize {
3
3
  span?: number;
4
4
  offset?: number;
@@ -22,7 +22,7 @@ declare const colProps: {
22
22
  xxl: PropType<ColResponsiveSize>;
23
23
  };
24
24
  export type ColProps = ExtractPropTypes<typeof colProps>;
25
- declare const Col: import('vue').DefineComponent<ExtractPropTypes<{
25
+ declare const Col: import("vue").DefineComponent<ExtractPropTypes<{
26
26
  span: NumberConstructor;
27
27
  offset: NumberConstructor;
28
28
  order: NumberConstructor;
@@ -35,7 +35,7 @@ declare const Col: import('vue').DefineComponent<ExtractPropTypes<{
35
35
  lg: PropType<ColResponsiveSize>;
36
36
  xl: PropType<ColResponsiveSize>;
37
37
  xxl: PropType<ColResponsiveSize>;
38
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
38
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
39
39
  span: NumberConstructor;
40
40
  offset: NumberConstructor;
41
41
  order: NumberConstructor;
@@ -48,5 +48,5 @@ declare const Col: import('vue').DefineComponent<ExtractPropTypes<{
48
48
  lg: PropType<ColResponsiveSize>;
49
49
  xl: PropType<ColResponsiveSize>;
50
50
  xxl: PropType<ColResponsiveSize>;
51
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
51
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
52
52
  export default Col;
@@ -1,5 +1,5 @@
1
- import { default as Col } from './col';
2
- import { default as Row } from './row';
3
- export type { ColProps, ColResponsiveSize, ColSize } from './col';
4
- export type { RowProps } from './row';
1
+ import Col from "./col";
2
+ import Row from "./row";
3
+ export type { ColProps, ColResponsiveSize, ColSize } from "./col";
4
+ export type { RowProps } from "./row";
5
5
  export { Col, Row };
@@ -1,4 +1,4 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
1
+ import type { ExtractPropTypes, PropType } from "vue";
2
2
  declare const rowProps: {
3
3
  gutter: PropType<number | [number, number]>;
4
4
  justify: {
@@ -11,7 +11,7 @@ declare const rowProps: {
11
11
  };
12
12
  };
13
13
  export type RowProps = ExtractPropTypes<typeof rowProps>;
14
- declare const Row: import('vue').DefineComponent<ExtractPropTypes<{
14
+ declare const Row: import("vue").DefineComponent<ExtractPropTypes<{
15
15
  gutter: PropType<number | [number, number]>;
16
16
  justify: {
17
17
  type: PropType<"start" | "end" | "center" | "space-around" | "space-between">;
@@ -21,7 +21,7 @@ declare const Row: import('vue').DefineComponent<ExtractPropTypes<{
21
21
  type: PropType<"top" | "middle" | "bottom">;
22
22
  default: string;
23
23
  };
24
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
24
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
25
25
  gutter: PropType<number | [number, number]>;
26
26
  justify: {
27
27
  type: PropType<"start" | "end" | "center" | "space-around" | "space-between">;
@@ -34,5 +34,5 @@ declare const Row: import('vue').DefineComponent<ExtractPropTypes<{
34
34
  }>> & Readonly<{}>, {
35
35
  justify: "space-around" | "space-between" | "center" | "end" | "start";
36
36
  align: "bottom" | "top" | "middle";
37
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
37
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
38
  export default Row;
@@ -1,6 +1,6 @@
1
- import { ExtractPropTypes, PropType, VNodeChild } from 'vue';
2
- import { BooleanType, ShapeType, SizeType } from '../const/types';
3
- import { IconType } from '../icon';
1
+ import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
2
+ import type { BooleanType, ShapeType, SizeType } from "../const/types";
3
+ import { type IconType } from "../icon";
4
4
  export type SegmentedValue = string | number;
5
5
  export interface SegmentedOption {
6
6
  label?: VNodeChild;
@@ -11,6 +11,7 @@ export interface SegmentedOption {
11
11
  }
12
12
  declare const segmentedProps: {
13
13
  modelValue: PropType<SegmentedValue>;
14
+ value: PropType<SegmentedValue>;
14
15
  options: {
15
16
  type: PropType<SegmentedOption[]>;
16
17
  default: () => never[];
@@ -32,8 +33,9 @@ declare const segmentedProps: {
32
33
  };
33
34
  };
34
35
  export type SegmentedProps = ExtractPropTypes<typeof segmentedProps>;
35
- type SegmentedPublicProps<T extends SegmentedValue> = Omit<Partial<SegmentedProps>, "modelValue"> & {
36
+ type SegmentedPublicProps<T extends SegmentedValue> = Omit<Partial<SegmentedProps>, "modelValue" | "value"> & {
36
37
  modelValue?: T;
38
+ value?: T;
37
39
  "onUpdate:modelValue"?: (value: T) => void;
38
40
  onChange?: (value: T) => void;
39
41
  };
@@ -1,6 +1,6 @@
1
- import { default as Option } from './option';
2
- import { default as Select } from './select';
3
- export type { OptionProps } from './option';
4
- export type { SelectProps } from './select';
5
- export type { SelectOption } from './types';
1
+ import Option from "./option";
2
+ import Select from "./select";
3
+ export type { OptionProps } from "./option";
4
+ export type { SelectProps } from "./select";
5
+ export type { SelectOption, SelectValue, OptionSelectEvent } from "./types";
6
6
  export { Option, Select };
@@ -1,5 +1,6 @@
1
- import { DefineComponent, ExtractPropTypes, HTMLAttributes, PropType, VNodeChild } from 'vue';
2
- import { BooleanType } from '../const/types';
1
+ import { type DefineComponent, type ExtractPropTypes, type HTMLAttributes, type PropType, type VNodeChild } from "vue";
2
+ import { type BooleanType } from "../const/types";
3
+ import type { OptionSelectEvent } from "./types";
3
4
  declare const optionProps: {
4
5
  value: {
5
6
  type: PropType<string | number>;
@@ -26,12 +27,11 @@ declare const Option: DefineComponent<ExtractPropTypes<{
26
27
  checked: BooleanType;
27
28
  active: BooleanType;
28
29
  multiple: BooleanType;
29
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
30
- select: (option: {
31
- value: string | number;
32
- label: VNodeChild;
33
- }) => boolean;
34
- }, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
30
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
31
+ click: (event: MouseEvent) => boolean;
32
+ mouseenter: (event: MouseEvent) => boolean;
33
+ select: (option: OptionSelectEvent) => boolean;
34
+ }, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
35
35
  value: {
36
36
  type: PropType<string | number>;
37
37
  required: boolean;
@@ -44,11 +44,10 @@ declare const Option: DefineComponent<ExtractPropTypes<{
44
44
  active: BooleanType;
45
45
  multiple: BooleanType;
46
46
  }>> & Readonly<{
47
- onSelect?: ((option: {
48
- value: string | number;
49
- label: VNodeChild;
50
- }) => any) | undefined;
51
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
47
+ onSelect?: ((option: OptionSelectEvent) => any) | undefined;
48
+ onClick?: ((event: MouseEvent) => any) | undefined;
49
+ onMouseenter?: ((event: MouseEvent) => any) | undefined;
50
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
52
51
  declare const _default: typeof Option & DefineComponent<OptionProps>;
53
52
  export default _default;
54
- export type { OptionSelectEvent } from './types';
53
+ export type { OptionSelectEvent } from "./types";
@@ -1,7 +1,7 @@
1
- import { ExtractPropTypes, HTMLAttributes, PropType } from 'vue';
2
- import { IconType } from '../icon';
3
- import { BooleanType, DropPlacementsType, ShapeType, SizeType, ThemeType } from '../const/types';
4
- import { OptionSelectEvent, SelectOption, SelectValue } from './types';
1
+ import { type ExtractPropTypes, type HTMLAttributes, type PropType } from "vue";
2
+ import { type IconType } from "../icon";
3
+ import type { BooleanType, DropPlacementsType, ShapeType, SizeType, ThemeType } from "../const/types";
4
+ import type { OptionSelectEvent, SelectOption, SelectValue } from "./types";
5
5
  declare const selectProps: {
6
6
  placeholder: StringConstructor;
7
7
  size: {
@@ -14,6 +14,7 @@ declare const selectProps: {
14
14
  width: NumberConstructor;
15
15
  maxTagCount: NumberConstructor;
16
16
  modelValue: PropType<SelectValue | SelectValue[]>;
17
+ value: PropType<SelectValue | SelectValue[]>;
17
18
  clearable: {
18
19
  type: BooleanType;
19
20
  default: boolean;
@@ -55,12 +56,15 @@ declare const selectProps: {
55
56
  };
56
57
  export type SelectProps = ExtractPropTypes<typeof selectProps>;
57
58
  type SelectModelValue = SelectValue | SelectValue[];
58
- type SelectPublicProps<T extends SelectModelValue> = Omit<Partial<SelectProps>, "modelValue"> & Omit<HTMLAttributes, "onChange" | "onSelect"> & {
59
+ type SelectPublicProps<T extends SelectModelValue> = Omit<Partial<SelectProps>, "modelValue" | "value"> & Omit<HTMLAttributes, "onChange" | "onSelect"> & {
59
60
  modelValue?: T;
61
+ value?: T;
60
62
  "onUpdate:modelValue"?: (value: T) => void;
61
63
  onChange?: (value: T) => void;
62
64
  onSearch?: (event: InputEvent) => void;
63
65
  onSelect?: (option: OptionSelectEvent) => void;
66
+ onOpenChange?: (open: boolean) => void;
67
+ onClear?: () => void;
64
68
  };
65
69
  type SelectComponent = {
66
70
  new <T extends SelectModelValue = SelectValue>(props: SelectPublicProps<T>): {
@@ -69,4 +73,4 @@ type SelectComponent = {
69
73
  };
70
74
  declare const _default: SelectComponent;
71
75
  export default _default;
72
- export type { SelectOption } from './types';
76
+ export type { SelectOption } from "./types";
@@ -1,4 +1,3 @@
1
- import { VNodeChild } from 'vue';
2
1
  export type SelectValue = string | number;
3
2
  export interface SelectOption {
4
3
  label: SelectValue;
@@ -10,3 +9,4 @@ export interface OptionSelectEvent {
10
9
  label: VNodeChild;
11
10
  selected?: boolean;
12
11
  }
12
+ import type { VNodeChild } from "vue";
@@ -1,11 +1,11 @@
1
- import { default as Skeleton } from './skeleton';
2
- import { default as SkeletonAvatar } from './skeleton-avatar';
3
- import { default as SkeletonButton } from './skeleton-button';
4
- import { default as SkeletonImage } from './skeleton-image';
5
- import { default as SkeletonText } from './skeleton-text';
6
- export type { SkeletonProps } from './skeleton';
7
- export type { SkeletonAvatarProps } from './skeleton-avatar';
8
- export type { SkeletonButtonProps } from './skeleton-button';
9
- export type { SkeletonImageProps } from './skeleton-image';
10
- export type { SkeletonTextProps } from './skeleton-text';
1
+ import Skeleton from "./skeleton";
2
+ import SkeletonAvatar from "./skeleton-avatar";
3
+ import SkeletonButton from "./skeleton-button";
4
+ import SkeletonImage from "./skeleton-image";
5
+ import SkeletonText from "./skeleton-text";
6
+ export type { SkeletonProps } from "./skeleton";
7
+ export type { SkeletonAvatarProps } from "./skeleton-avatar";
8
+ export type { SkeletonButtonProps } from "./skeleton-button";
9
+ export type { SkeletonImageProps } from "./skeleton-image";
10
+ export type { SkeletonTextProps } from "./skeleton-text";
11
11
  export { Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonText };