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
@@ -1,4 +1,6 @@
1
- import { DescriptionsColumn, DescriptionsProps, default as Descriptions } from './descriptions';
2
- import { DescriptionsItemProps, default as DescriptionsItem } from './descriptions-item';
1
+ import type { DescriptionsColumn, DescriptionsProps } from "./descriptions";
2
+ import Descriptions from "./descriptions";
3
+ import type { DescriptionsItemProps } from "./descriptions-item";
4
+ import DescriptionsItem from "./descriptions-item";
3
5
  export { Descriptions, DescriptionsItem };
4
6
  export type { DescriptionsColumn, DescriptionsItemProps, DescriptionsProps };
@@ -1,2 +1,2 @@
1
- import { ObjectDirective } from 'vue';
1
+ import type { ObjectDirective } from "vue";
2
2
  export declare const clickOutside: ObjectDirective;
@@ -1,3 +1,3 @@
1
- import { ObjectDirective } from 'vue';
1
+ import type { ObjectDirective } from "vue";
2
2
  declare const resize: ObjectDirective;
3
3
  export default resize;
@@ -1,2 +1,2 @@
1
- import { ObjectDirective } from 'vue';
1
+ import type { ObjectDirective } from "vue";
2
2
  export declare const scroll: ObjectDirective;
@@ -1,5 +1,5 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType, DirectionType } from '../const/types';
1
+ import { type ExtractPropTypes, type PropType } from "vue";
2
+ import type { BooleanType, DirectionType } from "../const/types";
3
3
  declare const dividerProps: {
4
4
  type: {
5
5
  type: PropType<DirectionType>;
@@ -13,7 +13,7 @@ declare const dividerProps: {
13
13
  };
14
14
  };
15
15
  export type DividerProps = ExtractPropTypes<typeof dividerProps>;
16
- declare const Divider: import('vue').DefineComponent<ExtractPropTypes<{
16
+ declare const Divider: import("vue").DefineComponent<ExtractPropTypes<{
17
17
  type: {
18
18
  type: PropType<DirectionType>;
19
19
  default: string;
@@ -24,7 +24,7 @@ declare const Divider: import('vue').DefineComponent<ExtractPropTypes<{
24
24
  type: PropType<"left" | "right" | "center">;
25
25
  default: string;
26
26
  };
27
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
27
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
28
28
  type: {
29
29
  type: PropType<DirectionType>;
30
30
  default: string;
@@ -38,5 +38,5 @@ declare const Divider: import('vue').DefineComponent<ExtractPropTypes<{
38
38
  }>> & Readonly<{}>, {
39
39
  type: DirectionType;
40
40
  orientation: "left" | "right" | "center";
41
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
41
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42
42
  export default Divider;
@@ -1,7 +1,11 @@
1
- import { ComponentPublicInstance, ExtractPropTypes, PropType } from 'vue';
2
- import { DrawerPlacementsType } from '../const/types';
1
+ import { type ComponentPublicInstance, type ExtractPropTypes, type PropType } from "vue";
2
+ import type { DrawerPlacementsType } from "../const/types";
3
3
  declare const drawerProps: {
4
- modelValue: BooleanConstructor;
4
+ modelValue: {
5
+ type: BooleanConstructor;
6
+ default: undefined;
7
+ };
8
+ value: BooleanConstructor;
5
9
  title: {
6
10
  type: StringConstructor;
7
11
  default: string;
@@ -49,8 +53,12 @@ declare const drawerProps: {
49
53
  };
50
54
  };
51
55
  export type DrawerProps = ExtractPropTypes<typeof drawerProps>;
52
- declare const Drawer: import('vue').DefineComponent<ExtractPropTypes<{
53
- modelValue: BooleanConstructor;
56
+ declare const Drawer: import("vue").DefineComponent<ExtractPropTypes<{
57
+ modelValue: {
58
+ type: BooleanConstructor;
59
+ default: undefined;
60
+ };
61
+ value: BooleanConstructor;
54
62
  title: {
55
63
  type: StringConstructor;
56
64
  default: string;
@@ -96,14 +104,18 @@ declare const Drawer: import('vue').DefineComponent<ExtractPropTypes<{
96
104
  type: BooleanConstructor;
97
105
  default: boolean;
98
106
  };
99
- }>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
107
+ }>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
100
108
  "update:modelValue": (visible: boolean) => boolean;
101
109
  openChange: (visible: boolean) => boolean;
102
110
  ok: () => true;
103
111
  cancel: () => true;
104
112
  close: () => true;
105
- }, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
106
- modelValue: BooleanConstructor;
113
+ }, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
114
+ modelValue: {
115
+ type: BooleanConstructor;
116
+ default: undefined;
117
+ };
118
+ value: BooleanConstructor;
107
119
  title: {
108
120
  type: StringConstructor;
109
121
  default: string;
@@ -152,8 +164,8 @@ declare const Drawer: import('vue').DefineComponent<ExtractPropTypes<{
152
164
  }>> & Readonly<{
153
165
  onCancel?: (() => any) | undefined;
154
166
  onClose?: (() => any) | undefined;
155
- "onUpdate:modelValue"?: ((visible: boolean) => any) | undefined;
156
167
  onOpenChange?: ((visible: boolean) => any) | undefined;
168
+ "onUpdate:modelValue"?: ((visible: boolean) => any) | undefined;
157
169
  onOk?: (() => any) | undefined;
158
170
  }>, {
159
171
  height: string | number;
@@ -162,10 +174,11 @@ declare const Drawer: import('vue').DefineComponent<ExtractPropTypes<{
162
174
  footer: boolean;
163
175
  title: string;
164
176
  loading: boolean;
165
- closable: boolean;
166
177
  placement: DrawerPlacementsType;
178
+ value: boolean;
179
+ closable: boolean;
167
180
  modelValue: boolean;
168
181
  maskClosable: boolean;
169
182
  escKey: boolean;
170
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
183
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
171
184
  export default Drawer;
@@ -1,6 +1,6 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType, DropPlacementsType, ShapeType, SizeType, ThemeType } from '../const/types';
3
- import { IconType } from '../icon';
1
+ import { type ExtractPropTypes, type PropType } from "vue";
2
+ import { type BooleanType, type DropPlacementsType, type ShapeType, type SizeType, type ThemeType } from "../const/types";
3
+ import { type IconType } from "../icon";
4
4
  declare const dropdownButtonProps: {
5
5
  size: PropType<SizeType>;
6
6
  shape: PropType<ShapeType>;
@@ -14,7 +14,7 @@ declare const dropdownButtonProps: {
14
14
  };
15
15
  };
16
16
  export type DropdownButtonProps = ExtractPropTypes<typeof dropdownButtonProps>;
17
- declare const DropdownButton: import('vue').DefineComponent<ExtractPropTypes<{
17
+ declare const DropdownButton: import("vue").DefineComponent<ExtractPropTypes<{
18
18
  size: PropType<SizeType>;
19
19
  shape: PropType<ShapeType>;
20
20
  disabled: BooleanType;
@@ -25,9 +25,9 @@ declare const DropdownButton: import('vue').DefineComponent<ExtractPropTypes<{
25
25
  type: PropType<DropPlacementsType>;
26
26
  default: string;
27
27
  };
28
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
28
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
29
  click: (event: MouseEvent) => boolean;
30
- }, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
30
+ }, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
31
31
  size: PropType<SizeType>;
32
32
  shape: PropType<ShapeType>;
33
33
  disabled: BooleanType;
@@ -42,5 +42,5 @@ declare const DropdownButton: import('vue').DefineComponent<ExtractPropTypes<{
42
42
  onClick?: ((event: MouseEvent) => any) | undefined;
43
43
  }>, {
44
44
  placement: DropPlacementsType;
45
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
45
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
46
46
  export default DropdownButton;
@@ -1,5 +1,5 @@
1
- import { ComponentPublicInstance, ExtractPropTypes, PropType, Ref } from 'vue';
2
- import { BooleanType, DropPlacementsType, TriggerType } from '../const/types';
1
+ import { type ComponentPublicInstance, type ExtractPropTypes, type PropType, type Ref } from "vue";
2
+ import type { BooleanType, DropPlacementsType, TriggerType } from "../const/types";
3
3
  declare const dropdownProps: {
4
4
  trigger: {
5
5
  type: PropType<TriggerType>;
@@ -18,7 +18,7 @@ declare const dropdownProps: {
18
18
  target: PropType<Ref<HTMLElement | ComponentPublicInstance | null>>;
19
19
  };
20
20
  export type DropdownProps = ExtractPropTypes<typeof dropdownProps>;
21
- declare const Dropdown: import('vue').DefineComponent<ExtractPropTypes<{
21
+ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
22
22
  trigger: {
23
23
  type: PropType<TriggerType>;
24
24
  default: string;
@@ -34,12 +34,10 @@ declare const Dropdown: import('vue').DefineComponent<ExtractPropTypes<{
34
34
  default: string;
35
35
  };
36
36
  target: PropType<Ref<HTMLElement | ComponentPublicInstance | null>>;
37
- }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
38
- [key: string]: any;
39
- }>[], {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
40
- "update:show": null;
41
- openChange: null;
42
- }, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
37
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
38
+ "update:show": (show: boolean) => boolean;
39
+ openChange: (open: boolean) => boolean;
40
+ }, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
43
41
  trigger: {
44
42
  type: PropType<TriggerType>;
45
43
  default: string;
@@ -56,13 +54,11 @@ declare const Dropdown: import('vue').DefineComponent<ExtractPropTypes<{
56
54
  };
57
55
  target: PropType<Ref<HTMLElement | ComponentPublicInstance | null>>;
58
56
  }>> & Readonly<{
59
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
60
- onOpenChange?: ((...args: any[]) => any) | undefined;
57
+ onOpenChange?: ((open: boolean) => any) | undefined;
58
+ "onUpdate:show"?: ((show: boolean) => any) | undefined;
61
59
  }>, {
62
- placement: DropPlacementsType;
63
60
  trigger: TriggerType;
61
+ placement: DropPlacementsType;
64
62
  arrow: boolean | undefined;
65
- }, {}, {}, {
66
- resize: import('vue').ObjectDirective<any, any, string, any>;
67
- }, string, import('vue').ComponentProvideOptions, true, {}, any>;
68
- export default Dropdown;
63
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
64
+ export default _default;
@@ -1,4 +1,6 @@
1
- import { DropdownProps, default as Dropdown } from './dropdown';
2
- import { DropdownButtonProps, default as DropdownButton } from './dropdown-button';
1
+ import type { DropdownProps } from "./dropdown";
2
+ import Dropdown from "./dropdown";
3
+ import type { DropdownButtonProps } from "./dropdown-button";
4
+ import DropdownButton from "./dropdown-button";
3
5
  export { Dropdown, DropdownButton };
4
6
  export type { DropdownButtonProps, DropdownProps };
@@ -1,13 +1,13 @@
1
- import { PropType } from 'vue';
2
- import { BooleanType, ThemeType } from '../const/types';
3
- import { IconType } from '../icon';
4
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
1
+ import { type PropType } from "vue";
2
+ import type { BooleanType, ThemeType } from "../const/types";
3
+ import { type IconType } from "../icon";
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
5
  icon: PropType<IconType[]>;
6
6
  disabled: BooleanType;
7
7
  theme: PropType<ThemeType>;
8
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
8
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
9
  icon: PropType<IconType[]>;
10
10
  disabled: BooleanType;
11
11
  theme: PropType<ThemeType>;
12
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
13
  export default _default;
@@ -1,4 +1,4 @@
1
- import { CSSProperties, DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from 'vue';
1
+ import { type CSSProperties, type DefineComponent, type ExtractPropTypes, type HTMLAttributes, type PropType } from "vue";
2
2
  declare const emptyProps: {
3
3
  description: {
4
4
  type: (BooleanConstructor | StringConstructor)[];
@@ -1,6 +1,6 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType, SizeType, SurfaceShapeType, ThemeType } from '../const/types';
3
- import { IconType } from '../icon';
1
+ import { type ExtractPropTypes, type PropType } from "vue";
2
+ import type { BooleanType, SizeType, SurfaceShapeType, ThemeType } from "../const/types";
3
+ import { type IconType } from "../icon";
4
4
  declare const featureCardProps: {
5
5
  icon: PropType<IconType[]>;
6
6
  title: StringConstructor;
@@ -31,7 +31,7 @@ declare const featureCardProps: {
31
31
  iconBackground: StringConstructor;
32
32
  };
33
33
  export type FeatureCardProps = ExtractPropTypes<typeof featureCardProps>;
34
- declare const FeatureCard: import('vue').DefineComponent<ExtractPropTypes<{
34
+ declare const FeatureCard: import("vue").DefineComponent<ExtractPropTypes<{
35
35
  icon: PropType<IconType[]>;
36
36
  title: StringConstructor;
37
37
  desc: StringConstructor;
@@ -59,9 +59,9 @@ declare const FeatureCard: import('vue').DefineComponent<ExtractPropTypes<{
59
59
  disabled: BooleanType;
60
60
  color: StringConstructor;
61
61
  iconBackground: StringConstructor;
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
  click: (event: MouseEvent) => boolean;
64
- }, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
64
+ }, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
65
65
  icon: PropType<IconType[]>;
66
66
  title: StringConstructor;
67
67
  desc: StringConstructor;
@@ -97,5 +97,5 @@ declare const FeatureCard: import('vue').DefineComponent<ExtractPropTypes<{
97
97
  theme: ThemeType;
98
98
  shape: SurfaceShapeType;
99
99
  bordered: boolean | undefined;
100
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
100
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
101
101
  export default FeatureCard;
@@ -1,6 +1,6 @@
1
- import { ExtractPropTypes, PropType, VNodeChild } from 'vue';
2
- import { FeedbackPanelKind, SurfaceShapeType, ThemeType } from '../const/types';
3
- import { IconType } from '../icon';
1
+ import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
2
+ import type { FeedbackPanelKind, SurfaceShapeType, ThemeType } from "../const/types";
3
+ import { type IconType } from "../icon";
4
4
  declare const feedbackPanelProps: {
5
5
  kind: {
6
6
  type: PropType<FeedbackPanelKind>;
@@ -20,7 +20,7 @@ declare const feedbackPanelProps: {
20
20
  };
21
21
  };
22
22
  export type FeedbackPanelProps = ExtractPropTypes<typeof feedbackPanelProps>;
23
- declare const FeedbackPanel: import('vue').DefineComponent<ExtractPropTypes<{
23
+ declare const FeedbackPanel: import("vue").DefineComponent<ExtractPropTypes<{
24
24
  kind: {
25
25
  type: PropType<FeedbackPanelKind>;
26
26
  default: string;
@@ -37,7 +37,7 @@ declare const FeedbackPanel: import('vue').DefineComponent<ExtractPropTypes<{
37
37
  type: PropType<SurfaceShapeType>;
38
38
  default: string;
39
39
  };
40
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
40
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
41
41
  kind: {
42
42
  type: PropType<FeedbackPanelKind>;
43
43
  default: string;
@@ -59,6 +59,6 @@ declare const FeedbackPanel: import('vue').DefineComponent<ExtractPropTypes<{
59
59
  theme: ThemeType;
60
60
  shape: SurfaceShapeType;
61
61
  kind: FeedbackPanelKind;
62
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
62
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
63
63
  export default FeedbackPanel;
64
- export type { FeedbackPanelKind } from '../const/types';
64
+ export type { FeedbackPanelKind } from "../const/types";
@@ -1,4 +1,4 @@
1
- import { default as FeedbackPanel } from './feedback-panel';
2
- export type { FeedbackPanelKind } from '../const/types';
3
- export type { FeedbackPanelProps } from './feedback-panel';
1
+ import FeedbackPanel from "./feedback-panel";
2
+ export type { FeedbackPanelKind } from "../const/types";
3
+ export type { FeedbackPanelProps } from "./feedback-panel";
4
4
  export default FeedbackPanel;
@@ -1,8 +1,8 @@
1
- import { ExtractPropTypes } from 'vue';
2
- import { FlameWrapInstance, FlameWrapOptions } from './engine';
1
+ import { type ExtractPropTypes } from "vue";
2
+ import { type FlameWrapInstance, type FlameWrapOptions } from "./engine";
3
3
  declare const flameWrapProps: {
4
4
  color: {
5
- type: import('vue').PropType<[number, number, number]>;
5
+ type: import("vue").PropType<[number, number, number]>;
6
6
  validator: (value: unknown[]) => boolean;
7
7
  };
8
8
  intensity: NumberConstructor;
@@ -27,9 +27,9 @@ declare const flameWrapProps: {
27
27
  };
28
28
  export type FlameWrapProps = ExtractPropTypes<typeof flameWrapProps>;
29
29
  export type { FlameWrapInstance, FlameWrapOptions };
30
- declare const FlameWrap: import('vue').DefineComponent<ExtractPropTypes<{
30
+ declare const FlameWrap: import("vue").DefineComponent<ExtractPropTypes<{
31
31
  color: {
32
- type: import('vue').PropType<[number, number, number]>;
32
+ type: import("vue").PropType<[number, number, number]>;
33
33
  validator: (value: unknown[]) => boolean;
34
34
  };
35
35
  intensity: NumberConstructor;
@@ -51,11 +51,11 @@ declare const FlameWrap: import('vue').DefineComponent<ExtractPropTypes<{
51
51
  smoke: NumberConstructor;
52
52
  ember: NumberConstructor;
53
53
  scorch: NumberConstructor;
54
- }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
54
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
55
55
  [key: string]: any;
56
- }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
56
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
57
57
  color: {
58
- type: import('vue').PropType<[number, number, number]>;
58
+ type: import("vue").PropType<[number, number, number]>;
59
59
  validator: (value: unknown[]) => boolean;
60
60
  };
61
61
  intensity: NumberConstructor;
@@ -77,5 +77,5 @@ declare const FlameWrap: import('vue').DefineComponent<ExtractPropTypes<{
77
77
  smoke: NumberConstructor;
78
78
  ember: NumberConstructor;
79
79
  scorch: NumberConstructor;
80
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
80
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
81
81
  export default FlameWrap;
@@ -1,6 +1,6 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType } from '../const/types';
3
- import { FlexAlignType, FlexJustifyType, FlexSizeType } from './types';
1
+ import type { ExtractPropTypes, PropType } from "vue";
2
+ import type { BooleanType } from "../const/types";
3
+ import type { FlexAlignType, FlexJustifyType, FlexSizeType } from "./types";
4
4
  declare const flexProps: {
5
5
  align: {
6
6
  type: PropType<FlexAlignType>;
@@ -15,7 +15,7 @@ declare const flexProps: {
15
15
  };
16
16
  };
17
17
  export type FlexProps = ExtractPropTypes<typeof flexProps>;
18
- declare const Flex: import('vue').DefineComponent<ExtractPropTypes<{
18
+ declare const Flex: import("vue").DefineComponent<ExtractPropTypes<{
19
19
  align: {
20
20
  type: PropType<FlexAlignType>;
21
21
  };
@@ -27,7 +27,7 @@ declare const Flex: import('vue').DefineComponent<ExtractPropTypes<{
27
27
  size: {
28
28
  type: PropType<FlexSizeType>;
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, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
31
31
  align: {
32
32
  type: PropType<FlexAlignType>;
33
33
  };
@@ -39,6 +39,6 @@ declare const Flex: import('vue').DefineComponent<ExtractPropTypes<{
39
39
  size: {
40
40
  type: PropType<FlexSizeType>;
41
41
  };
42
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
42
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
43
43
  export default Flex;
44
- export type { FlexAlignType, FlexJustifyType, FlexSizeType } from './types';
44
+ export type { FlexAlignType, FlexJustifyType, FlexSizeType } from "./types";
@@ -1,4 +1,4 @@
1
- import { SizeType } from '../const/types';
1
+ import type { SizeType } from "../const/types";
2
2
  export type FlexSizeType = SizeType | number | (string | number)[];
3
3
  export type FlexAlignType = "start" | "flex-start" | "end" | "flex-end" | "center" | "baseline";
4
4
  export type FlexJustifyType = "flex-start" | "center" | "flex-end" | "space-between" | "space-around" | "space-evenly";
@@ -1,6 +1,6 @@
1
- import { Attrs, ComputedRef, InjectionKey } from 'vue';
2
- import { DirectionType, ShapeType, SizeType, ThemeType } from '../const/types';
3
- import { ColProps, FormRule, FormRules, FormValidateTrigger } from './types';
1
+ import { type Attrs, type ComputedRef, type InjectionKey } from "vue";
2
+ import type { DirectionType, ShapeType, SizeType, ThemeType } from "../const/types";
3
+ import type { ColProps, FormRule, FormRules, FormValidateTrigger } from "./types";
4
4
  export interface FormItemRegistration {
5
5
  prop?: string;
6
6
  rules?: FormRule | FormRule[];
@@ -1,6 +1,6 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType } from '../const/types';
3
- import { ColProps, FormRule } from './types';
1
+ import type { ExtractPropTypes, PropType } from "vue";
2
+ import type { BooleanType } from "../const/types";
3
+ import type { ColProps, FormRule } from "./types";
4
4
  declare const formItemProps: {
5
5
  label: StringConstructor;
6
6
  prop: StringConstructor;
@@ -13,7 +13,7 @@ declare const formItemProps: {
13
13
  };
14
14
  };
15
15
  export type FormItemProps = ExtractPropTypes<typeof formItemProps>;
16
- declare const FormItem: import('vue').DefineComponent<ExtractPropTypes<{
16
+ declare const FormItem: import("vue").DefineComponent<ExtractPropTypes<{
17
17
  label: StringConstructor;
18
18
  prop: StringConstructor;
19
19
  labelCol: PropType<ColProps>;
@@ -23,7 +23,7 @@ declare const FormItem: import('vue').DefineComponent<ExtractPropTypes<{
23
23
  type: BooleanType;
24
24
  default: undefined;
25
25
  };
26
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
26
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
27
27
  label: StringConstructor;
28
28
  prop: StringConstructor;
29
29
  labelCol: PropType<ColProps>;
@@ -35,5 +35,5 @@ declare const FormItem: import('vue').DefineComponent<ExtractPropTypes<{
35
35
  };
36
36
  }>> & Readonly<{}>, {
37
37
  colon: boolean | undefined;
38
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
38
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
39
39
  export default FormItem;
@@ -1,6 +1,6 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType, DirectionType, ShapeType, SizeType, ThemeType } from '../const/types';
3
- import { ColProps, FormRules } from './types';
1
+ import type { ExtractPropTypes, PropType } from "vue";
2
+ import type { BooleanType, DirectionType, ShapeType, SizeType, ThemeType } from "../const/types";
3
+ import type { ColProps, FormRules, FormSubmitEvent } from "./types";
4
4
  declare const formProps: {
5
5
  layout: {
6
6
  type: PropType<DirectionType>;
@@ -26,7 +26,7 @@ declare const formProps: {
26
26
  };
27
27
  };
28
28
  export type FormProps = ExtractPropTypes<typeof formProps>;
29
- declare const Form: import('vue').DefineComponent<ExtractPropTypes<{
29
+ declare const Form: import("vue").DefineComponent<ExtractPropTypes<{
30
30
  layout: {
31
31
  type: PropType<DirectionType>;
32
32
  default: string;
@@ -49,13 +49,11 @@ declare const Form: import('vue').DefineComponent<ExtractPropTypes<{
49
49
  type: BooleanType;
50
50
  default: boolean;
51
51
  };
52
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
52
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
53
53
  change: (model: Record<string, unknown>) => boolean;
54
54
  reset: () => true;
55
- submit: (result: {
56
- valid: boolean;
57
- }) => boolean;
58
- }, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
55
+ submit: (result: FormSubmitEvent) => boolean;
56
+ }, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
59
57
  layout: {
60
58
  type: PropType<DirectionType>;
61
59
  default: string;
@@ -81,11 +79,9 @@ declare const Form: import('vue').DefineComponent<ExtractPropTypes<{
81
79
  }>> & Readonly<{
82
80
  onChange?: ((model: Record<string, unknown>) => any) | undefined;
83
81
  onReset?: (() => any) | undefined;
84
- onSubmit?: ((result: {
85
- valid: boolean;
86
- }) => any) | undefined;
82
+ onSubmit?: ((result: FormSubmitEvent) => any) | undefined;
87
83
  }>, {
88
84
  layout: DirectionType;
89
85
  colon: boolean | undefined;
90
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
86
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
91
87
  export default Form;
@@ -1,8 +1,8 @@
1
- import { default as Form } from './form';
2
- import { FormExpose } from './types';
3
- import { default as FormItem } from './form-item';
4
- export type { FormProps } from './form';
5
- export type { FormRules, FormSubmitEvent } from './types';
6
- export type { FormItemProps } from './form-item';
1
+ import Form from "./form";
2
+ import type { FormExpose } from "./types";
3
+ import FormItem from "./form-item";
4
+ export type { FormProps } from "./form";
5
+ export type { FormRules, FormSubmitEvent, FormExpose, FormValidateTrigger } from "./types";
6
+ export type { FormItemProps } from "./form-item";
7
7
  export { Form, FormItem };
8
8
  export type FormContext = InstanceType<typeof Form> & FormExpose;
package/types/global.d.ts CHANGED
@@ -5,6 +5,8 @@ declare module '@vue/runtime-core' {
5
5
  export interface GlobalComponents {
6
6
  Affix: typeof import('kui-vue')['Affix']
7
7
  KAffix: typeof import('kui-vue')['Affix']
8
+ Popup: typeof import('kui-vue')['Popup']
9
+ KPopup: typeof import('kui-vue')['Popup']
8
10
  Alert: typeof import('kui-vue')['Alert']
9
11
  KAlert: typeof import('kui-vue')['Alert']
10
12
  AutoComplete: typeof import('kui-vue')['AutoComplete']
@@ -1,5 +1,5 @@
1
- import { DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from 'vue';
2
- import { GridResponsive } from './useBreakpoint';
1
+ import type { DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from "vue";
2
+ import type { GridResponsive } from "./useBreakpoint";
3
3
  declare const gridItemProps: {
4
4
  span: {
5
5
  type: PropType<GridResponsive<number>>;
@@ -1,6 +1,6 @@
1
- import { CSSProperties, DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from 'vue';
2
- import { BooleanType } from '../const/types';
3
- import { GridResponsive } from './useBreakpoint';
1
+ import type { CSSProperties, DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from "vue";
2
+ import type { BooleanType } from "../const/types";
3
+ import type { GridResponsive } from "./useBreakpoint";
4
4
  declare const gridProps: {
5
5
  cols: {
6
6
  type: PropType<GridResponsive<string | number>>;
@@ -1,6 +1,6 @@
1
- import { default as Grid } from './grid';
2
- import { default as GridItem } from './grid-item';
3
- export type { GridProps } from './grid';
4
- export type { GridItemProps } from './grid-item';
5
- export type { GridBreakpoint, GridResponsive } from './useBreakpoint';
1
+ import Grid from "./grid";
2
+ import GridItem from "./grid-item";
3
+ export type { GridProps } from "./grid";
4
+ export type { GridItemProps } from "./grid-item";
5
+ export type { GridBreakpoint, GridResponsive } from "./useBreakpoint";
6
6
  export { Grid, GridItem };
@@ -1,4 +1,4 @@
1
- import { InjectionKey, Ref } from 'vue';
1
+ import type { InjectionKey, Ref } from "vue";
2
2
  export type GridBreakpoint = "xs" | "sm" | "md" | "lg" | "xl" | "xxl";
3
3
  export type GridResponsive<T> = T | Partial<Record<GridBreakpoint, T>>;
4
4
  export interface GridContext {