kui-vue 5.4.1 → 5.6.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 (181) hide show
  1. package/dist/index.js +2 -2
  2. package/es/index.js +4586 -1858
  3. package/es/locale/de.js +1 -1
  4. package/es/locale/el.js +1 -1
  5. package/es/locale/en.js +1 -1
  6. package/es/locale/fr.js +1 -1
  7. package/es/locale/it.js +1 -1
  8. package/es/locale/ja.js +1 -1
  9. package/es/locale/ko.js +1 -1
  10. package/es/locale/ru.js +1 -1
  11. package/es/locale/th.js +1 -1
  12. package/es/locale/uk.js +1 -1
  13. package/es/locale/vi.js +1 -1
  14. package/es/locale/zh-CN.js +1 -1
  15. package/es/locale/zh-TW.js +1 -1
  16. package/lib/index.cjs +9 -0
  17. package/lib/locale/{de.js → de.cjs} +1 -1
  18. package/lib/locale/{el.js → el.cjs} +1 -1
  19. package/lib/locale/{en.js → en.cjs} +1 -1
  20. package/lib/locale/{fr.js → fr.cjs} +1 -1
  21. package/lib/locale/{it.js → it.cjs} +1 -1
  22. package/lib/locale/{ja.js → ja.cjs} +1 -1
  23. package/lib/locale/{ko.js → ko.cjs} +1 -1
  24. package/lib/locale/{ru.js → ru.cjs} +1 -1
  25. package/lib/locale/{th.js → th.cjs} +1 -1
  26. package/lib/locale/{uk.js → uk.cjs} +1 -1
  27. package/lib/locale/{vi.js → vi.cjs} +1 -1
  28. package/lib/locale/{zh-CN.js → zh-CN.cjs} +1 -1
  29. package/lib/locale/{zh-TW.js → zh-TW.cjs} +1 -1
  30. package/package.json +62 -26
  31. package/style/base.css +9 -0
  32. package/style/components.css +9 -0
  33. package/style/index.css +2 -2
  34. package/style/theme.css +9 -0
  35. package/types/affix/index.d.ts +11 -9
  36. package/types/alert/index.d.ts +27 -1
  37. package/types/anchor/anchor.d.ts +18 -9
  38. package/types/anchor/context.d.ts +8 -0
  39. package/types/avatar/avatar-group.d.ts +12 -9
  40. package/types/avatar/avatar.d.ts +15 -9
  41. package/types/avatar/context.d.ts +8 -0
  42. package/types/badge/index.d.ts +8 -2
  43. package/types/breadcrumb/breadcrumb.d.ts +5 -5
  44. package/types/card/card-meta.d.ts +17 -0
  45. package/types/card/index.d.ts +34 -2
  46. package/types/checkbox/checkbox-group.d.ts +8 -13
  47. package/types/checkbox/checkbox.d.ts +4 -8
  48. package/types/checkbox/index.d.ts +3 -2
  49. package/types/checkbox/types.d.ts +11 -0
  50. package/types/collapse/collapse-panel.d.ts +0 -4
  51. package/types/collapse/collapse.d.ts +27 -1
  52. package/types/collapse/context.d.ts +7 -0
  53. package/types/color-picker/alpha.d.ts +3 -2
  54. package/types/color-picker/index.d.ts +82 -2
  55. package/types/color-picker/mode.d.ts +4 -3
  56. package/types/color-picker/paint.d.ts +3 -3
  57. package/types/components.d.ts +27 -13
  58. package/types/config/index.d.ts +14 -2
  59. package/types/config/popup.d.ts +4 -0
  60. package/types/const/types.d.ts +11 -2
  61. package/types/date-picker/index.d.ts +214 -16
  62. package/types/descriptions/descriptions.d.ts +14 -1
  63. package/types/drawer/index.d.ts +5 -11
  64. package/types/dropdown/dropdown-context.d.ts +11 -0
  65. package/types/dropdown/dropdown.d.ts +1 -2
  66. package/types/feature-card/index.d.ts +59 -0
  67. package/types/feedback-panel/feedback-panel.d.ts +64 -0
  68. package/types/feedback-panel/index.d.ts +4 -0
  69. package/types/flame-wrap/engine.d.ts +65 -0
  70. package/types/flame-wrap/index.d.ts +72 -0
  71. package/types/flex/index.d.ts +3 -4
  72. package/types/flex/types.d.ts +4 -0
  73. package/types/form/form.d.ts +4 -15
  74. package/types/form/index.d.ts +4 -2
  75. package/types/form/types.d.ts +11 -2
  76. package/types/global.d.ts +34 -2
  77. package/types/grid/grid.d.ts +5 -1
  78. package/types/icon/index.d.ts +2 -4
  79. package/types/icon/types.d.ts +4 -0
  80. package/types/image/context.d.ts +9 -0
  81. package/types/image/image.d.ts +31 -4
  82. package/types/image/index.d.ts +2 -2
  83. package/types/image/instance.d.ts +9 -1
  84. package/types/image/utils.d.ts +1 -1
  85. package/types/index.d.cts +11 -0
  86. package/types/index.d.ts +1 -1
  87. package/types/input/input-box.d.ts +7 -7
  88. package/types/input/input.d.ts +3 -3
  89. package/types/input/textarea.d.ts +2 -2
  90. package/types/input-otp/index.d.ts +4 -0
  91. package/types/input-otp/input-otp.d.ts +39 -0
  92. package/types/input-otp/types.d.ts +1 -0
  93. package/types/locale/de.d.cts +65 -0
  94. package/types/locale/el.d.cts +65 -0
  95. package/types/locale/en.d.cts +65 -0
  96. package/types/locale/fr.d.cts +65 -0
  97. package/types/locale/it.d.cts +65 -0
  98. package/types/locale/ja.d.cts +65 -0
  99. package/types/locale/ko.d.cts +65 -0
  100. package/types/locale/ru.d.cts +65 -0
  101. package/types/locale/th.d.cts +65 -0
  102. package/types/locale/uk.d.cts +65 -0
  103. package/types/locale/vi.d.cts +65 -0
  104. package/types/locale/zh-CN.d.cts +65 -0
  105. package/types/locale/zh-TW.d.cts +65 -0
  106. package/types/menu/index.d.ts +3 -2
  107. package/types/menu/menu-context.d.ts +19 -0
  108. package/types/menu/menu-group.d.ts +4 -13
  109. package/types/menu/menu-item.d.ts +3 -6
  110. package/types/menu/menu.d.ts +3 -14
  111. package/types/menu/recursive-menu.d.ts +1 -4
  112. package/types/menu/sub-menu.d.ts +4 -9
  113. package/types/menu/types.d.ts +14 -0
  114. package/types/modal/index.d.ts +4 -3
  115. package/types/modal/modal.d.ts +110 -11
  116. package/types/notice/content.d.ts +76 -2
  117. package/types/notice/index.d.ts +1 -0
  118. package/types/page/index.d.ts +14 -1
  119. package/types/popconfirm/index.d.ts +54 -4
  120. package/types/poptip/index.d.ts +50 -5
  121. package/types/progress/index.d.ts +6 -8
  122. package/types/qrcode/index.d.ts +28 -3
  123. package/types/radio/index.d.ts +2 -1
  124. package/types/radio/radio-button.d.ts +4 -4
  125. package/types/radio/radio-group.d.ts +1 -8
  126. package/types/radio/types.d.ts +7 -0
  127. package/types/rate/index.d.ts +7 -7
  128. package/types/rate/star.d.ts +8 -7
  129. package/types/result/index.d.ts +4 -0
  130. package/types/result/result.d.ts +34 -0
  131. package/types/ripple/engine.d.ts +48 -0
  132. package/types/ripple/index.d.ts +42 -0
  133. package/types/row-col/col.d.ts +36 -1
  134. package/types/row-col/index.d.ts +1 -1
  135. package/types/select/index.d.ts +2 -1
  136. package/types/select/option.d.ts +2 -4
  137. package/types/select/select.d.ts +8 -12
  138. package/types/select/types.d.ts +10 -0
  139. package/types/skeleton/skeleton-avatar.d.ts +8 -8
  140. package/types/skeleton/skeleton-button.d.ts +8 -8
  141. package/types/skeleton/skeleton-image.d.ts +8 -8
  142. package/types/skeleton/skeleton-text.d.ts +8 -8
  143. package/types/skeleton/skeleton.d.ts +8 -8
  144. package/types/skeleton/types.d.ts +4 -4
  145. package/types/skeleton/use-skeleton-loading.d.ts +2 -0
  146. package/types/slider/thumb.d.ts +2 -2
  147. package/types/stat-card/index.d.ts +2 -1
  148. package/types/stat-card/stat-card.d.ts +30 -13
  149. package/types/stat-card/types.d.ts +14 -0
  150. package/types/stat-card/utils/countup.d.ts +5 -5
  151. package/types/switch/index.d.ts +14 -1
  152. package/types/table/index.d.ts +104 -38
  153. package/types/table/types.d.ts +23 -0
  154. package/types/table/utils.d.ts +13 -0
  155. package/types/tabs/types.d.ts +1 -1
  156. package/types/tag/index.d.ts +4 -3
  157. package/types/time-line/index.d.ts +2 -1
  158. package/types/time-line/timeline-item.d.ts +4 -3
  159. package/types/time-line/timeline.d.ts +2 -1
  160. package/types/tooltip/index.d.ts +37 -9
  161. package/types/tree/context.d.ts +6 -0
  162. package/types/tree/index.d.ts +5 -14
  163. package/types/tree/types.d.ts +6 -0
  164. package/types/tree/utils.d.ts +1 -1
  165. package/types/tree-select/index.d.ts +3 -16
  166. package/types/upload/file-list.d.ts +5 -4
  167. package/types/upload/index.d.ts +10 -24
  168. package/types/upload/selector.d.ts +9 -7
  169. package/types/upload/types.d.ts +17 -0
  170. package/types/utils/checked.d.ts +1 -1
  171. package/types/utils/element.d.ts +17 -4
  172. package/types/utils/number.d.ts +4 -4
  173. package/types/utils/share.d.ts +4 -4
  174. package/types/utils/vnode.d.ts +5 -2
  175. package/types/utils/vue.d.ts +2 -2
  176. package/types/watermark/index.d.ts +6 -15
  177. package/types/watermark/types.d.ts +11 -0
  178. package/vetur/attributes.json +4791 -5919
  179. package/vetur/tags.json +1579 -1473
  180. package/vetur/web-types.json +6776 -9826
  181. package/lib/index.js +0 -9
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * kui-vue v5.6.0
3
+ * Copyright 2017-present, kui-vue.
4
+ * All rights reserved.
5
+ * Homepage: https://k-ui.cn
6
+ * Author: Qiu / https://chuchur.com
7
+ */
8
+
9
+ :root{--kui-border-radius:6px;--kui-border-radius-lg:8px;--kui-border-radius-card:10px;--kui-shape-round:var(--kui-border-radius);--kui-shape-circle:9999px;--kui-shape-square:2px;--kui-control-height-sm:24px;--kui-control-height:32px;--kui-control-height-lg:40px;--kui-font-size-sm:12px;--kui-font-size:14px;--kui-font-size-lg:16px;--kui-line-height:1.571;--kui-line-height-heading:1.4;--kui-spacing-1:4px;--kui-spacing-2:8px;--kui-spacing-3:12px;--kui-spacing-4:16px;--kui-spacing-5:20px;--kui-spacing-6:24px;--kui-padding-block-sm:2px;--kui-padding-block:6px;--kui-padding-block-lg:6px;--kui-padding-inline-sm:6px;--kui-padding-inline:8px;--kui-padding-inline-lg:10px;--kui-motion-duration-fast:.15s;--kui-motion-duration:.2s;--kui-motion-duration-slow:.3s;--kui-motion-easing:ease-in-out;--kui-focus-ring-width:2px;--kui-z-index-popup:1000;--kui-z-index-overlay:1002;--kui-z-index-message:1010;--kui-control-radius:var(--kui-shape-round);--kui-card-radius:var(--kui-border-radius-card);--kui-card-padding:var(--kui-spacing-4);--kui-popup-radius:var(--kui-border-radius);--kui-disabled-opacity:.7;--kui-control-bg:var(--kui-color-bg);--kui-control-bg-fill:var(--kui-color-bg-component-overlay);--kui-control-bg-disabled:var(--kui-color-bg-component-disabled);--kui-control-border:var(--kui-color-border);--kui-control-border-hover:var(--kui-color-primary);--kui-control-border-focus:var(--kui-color-primary);--kui-control-text:var(--kui-color-text);--kui-card-bg:var(--kui-color-bg-component);--kui-card-border:var(--kui-color-border);--kui-popup-bg:var(--kui-color-bg-pop);--kui-popup-border:var(--kui-color-pop-border);--kui-popup-shadow:var(--kui-pop-shadow);--kui-theme-default-bg:var(--kui-control-bg);--kui-theme-default-border:var(--kui-control-border);--kui-theme-fill-bg:var(--kui-control-bg-fill);--kui-theme-fill-border:transparent;--kui-theme-outline-bg:transparent;--kui-theme-outline-border:var(--kui-control-border);--kui-theme-plain-bg:transparent;--kui-theme-plain-border:transparent;--kui-color-primary:#54a9ff;--kui-color-primary-hover:color-mix(in srgb, var(--kui-color-primary) 90%, transparent);--kui-color-primary-active:color-mix(in srgb, var(--kui-color-primary) 80%, transparent);--kui-color-primary-1:color-mix(in srgb, var(--kui-color-primary) 90%, transparent);--kui-color-primary-3:color-mix(in srgb, var(--kui-color-primary) 70%, transparent);--kui-color-primary-6:color-mix(in srgb, var(--kui-color-primary) 40%, transparent);--kui-color-primary-8:color-mix(in srgb, var(--kui-color-primary) 20%, transparent);--kui-color-primary-9:color-mix(in srgb, var(--kui-color-primary) 10%, transparent);--kui-color-success:#00bb5d;--kui-color-success-1:#00bb5de6;--kui-color-success-3:#00bb5db3;--kui-color-success-6:#00bb5d66;--kui-color-success-8:#00bb5d33;--kui-color-success-9:#00bb5d1a;--kui-color-warning:#ffae43;--kui-color-warning-hover:#ffae43e6;--kui-color-warning-active:#ffae43cc;--kui-color-warning-1:#ffae43e6;--kui-color-warning-3:#ffae43b3;--kui-color-warning-6:#ffae4366;--kui-color-warning-8:#ffae4333;--kui-color-warning-9:#ffae431a;--kui-color-danger:#fc725a;--kui-color-danger-hover:#fc725ae6;--kui-color-danger-active:#fc725acc;--kui-color-danger-1:#fc725ae6;--kui-color-danger-3:#fc725ab3;--kui-color-danger-6:#fc725a66;--kui-color-danger-8:#fc725a33;--kui-color-danger-9:#fc725a1a;--kui-color-pink:#ff738c;--kui-color-pink-3:#ff738cb3;--kui-color-pink-6:#ff738c66;--kui-color-pink-8:#ff738c33;--kui-color-pink-9:#ff738c1a;--kui-color-red:#ff1a1a;--kui-color-red-3:#ff1a1ab3;--kui-color-red-6:#ff1a1a66;--kui-color-red-8:#ff1a1a33;--kui-color-red-9:#ff1a1a1a;--kui-color-yellow:#cc0;--kui-color-yellow-3:#cccc00b3;--kui-color-yellow-6:#cc06;--kui-color-yellow-8:#cc03;--kui-color-yellow-9:#cccc001a;--kui-color-orange:orange;--kui-color-orange-3:#ffa500b3;--kui-color-orange-6:#ffa50066;--kui-color-orange-8:#ffa50033;--kui-color-orange-9:#ffa5001a;--kui-color-cyan:#0cc;--kui-color-cyan-3:#00ccccb3;--kui-color-cyan-6:#0cc6;--kui-color-cyan-8:#0cc3;--kui-color-cyan-9:#00cccc1a;--kui-color-violet:violet;--kui-color-violet-3:#ee82eeb3;--kui-color-violet-6:#ee82ee66;--kui-color-violet-8:#ee82ee33;--kui-color-violet-9:#ee82ee1a;--kui-color-green:#00cd00;--kui-color-green-3:#00cd00b3;--kui-color-green-6:#00cd0066;--kui-color-green-8:#00cd0033;--kui-color-green-9:#00cd001a;--kui-color-blue:#0080ff;--kui-color-blue-3:#007fffb3;--kui-color-blue-6:#007fff66;--kui-color-blue-8:#007fff33;--kui-color-blue-9:#007fff1a;--kui-color-purple:#cd00cc;--kui-color-purple-3:#cd00ccb3;--kui-color-purple-6:#cd00cc66;--kui-color-purple-8:#cd00cc33;--kui-color-purple-9:#cd00cc1a;--kui-color-brown:#d26815;--kui-color-brown-3:#d26815b3;--kui-color-brown-6:#d2681566;--kui-color-brown-8:#d2681533;--kui-color-brown-9:#d268151a;--kui-color-teal:teal;--kui-color-teal-3:#008080b3;--kui-color-teal-6:#00808066;--kui-color-teal-8:#00808033;--kui-color-teal-9:#0080801a;--kui-color-magenta:magenta;--kui-color-magenta-3:#ff00ffb3;--kui-color-magenta-6:#f0f6;--kui-color-magenta-8:#f0f3;--kui-color-magenta-9:#ff00ff1a;--kui-color-olive:olive;--kui-color-olive-3:#808000b3;--kui-color-olive-6:#80800066;--kui-color-olive-8:#80800033;--kui-color-olive-9:#8080001a;--kui-color-volcano:#ff4200;--kui-color-volcano-3:#ff4200b3;--kui-color-volcano-6:#ff420066;--kui-color-volcano-8:#ff420033;--kui-color-volcano-9:#ff42001a;--kui-color-gold:#b39700;--kui-color-gold-3:#b39700b3;--kui-color-gold-6:#b3970066;--kui-color-gold-8:#b3970033;--kui-color-gold-9:#b397001a;--kui-color-lime:#00b300;--kui-color-lime-3:#00b300b3;--kui-color-lime-6:#00b30066;--kui-color-lime-8:#00b30033;--kui-color-lime-9:#00b3001a;--kui-color-gray:gray;--kui-color-gray-1:#fafafa;--kui-color-gray-2:#f5f5f5;--kui-color-gray-3:#eee;--kui-color-gray-4:#d9d9d9;--kui-color-gray-5:#bfbfbf;--kui-color-gray-6:#8c8c8c;--kui-color-gray-7:#595959;--kui-color-gray-8:#262626;--kui-color-gray-9:#141414;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--kui-color-text:#262626;--kui-color-text-disabled:#8c8c8c;--kui-color-text-title:#141414;--kui-color-text-description:#8c8c8c;--kui-color-text-placeholder:#8c8c8c;--kui-color-text-on-solid:#fff;--kui-color-control-thumb:#fff;--kui-color-control-thumb-text:#141414;--kui-color-checkerboard:#cdcdcd;--kui-color-icon:#939393c4;--kui-color-icon-hover:#717171c4;--kui-color-icon-active:#646464c4;--kui-color-border:#e9e9e9;--kui-color-pop-border:#e7e7e7;--kui-color-outline:color-mix(in srgb, var(--kui-color-primary) 20%, transparent);--kui-color-border-disabled:#d9d9d9;--kui-color-border-split:#87878730;--kui-color-reverse:#1f1f1f;--kui-color-reverse-text:#bfbfbf;--kui-color-bg:#fff;--kui-color-bg-layout:#f5f5f5;--kui-color-bg-container:#fff;--kui-pop-shadow:0 2px 8px #00000026;--kui-color-bg-pop:#fff;--kui-color-bg-pop-dark:#262626;--kui-color-skeleton:#0000001b;--kui-color-skeleton-high:#ababab1b;--kui-color-bg-component:#f5f5f5;--kui-color-bg-component-hover:#eee;--kui-color-bg-component-active:#e7e7e7;--kui-color-bg-component-disabled:#f5f5f5;--kui-color-bg-component-overlay:#353a411a;--kui-color-bg-elevated:#262626;--kui-color-scrollbar-thumb:#1e1e1e34;--kui-color-scrollbar-thumb-hover:#0000001a;--kui-color-item-hover:#f5f5f5;--kui-color-item-active:#eee;--kui-color-item-selected:color-mix(in srgb, var(--kui-color-primary) 20%, transparent);--kui-color-item-disabled:#f5f5f5;--kui-component-shadow:0 0 2px color-mix(in srgb, var(--kui-color-primary) 10%, transparent);--kui-color-shadow:#00000042;--kui-color-mask:#0009;--kui-color-spin-mask:#ffffffe6;--kui-color-border-shadow:0 4px 6px #0000001a, 0 0 1px #0000004d;--kui-color-bg-1:#fafafa;--kui-color-bg-2:#f5f5f5;--kui-color-bg-3:#eee;--kui-color-bg-4:#d9d9d9;--kui-color-bg-5:#bfbfbf;--kui-color-bg-6:#8c8c8c;--kui-color-bg-7:#595959;--kui-color-bg-8:#262626;--kui-color-bg-9:#141414;--kui-color-text-secondary:var(--kui-color-text-description);--kui-color-placeholder:var(--kui-color-text-placeholder);--kui-color-item-disable:var(--kui-color-item-disabled)}[theme-mode=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--kui-color-text:#f5f5f5;--kui-color-text-disabled:#595959;--kui-color-text-title:#f5f5f5;--kui-color-text-description:#bfbfbf;--kui-color-text-placeholder:#8c8c8c;--kui-color-text-on-solid:#fff;--kui-color-control-thumb:#fff;--kui-color-control-thumb-text:#141414;--kui-color-checkerboard:#666;--kui-color-icon:#939393c4;--kui-color-icon-hover:#9d9d9dc4;--kui-color-icon-active:#b9b9b9c4;--kui-color-reverse-text:#595959;--kui-color-reverse:#f5f5f5;--kui-color-bg:#141414;--kui-color-bg-layout:#1f1f1f;--kui-color-bg-container:#1f1f1f;--kui-color-bg-pop:#262626;--kui-color-skeleton:#54545433;--kui-color-skeleton-high:#51515154;--kui-color-bg-component:#262626;--kui-color-bg-component-hover:#303030;--kui-color-bg-component-active:#383838;--kui-color-bg-component-disabled:#1f1f1f;--kui-color-bg-component-overlay:#585d643f;--kui-color-bg-elevated:#262626;--kui-color-bg-pop-dark:#262626;--kui-color-scrollbar-thumb:#75757577;--kui-color-scrollbar-thumb-hover:#0000001a;--kui-color-border:#333;--kui-color-pop-border:#313131;--kui-color-border-disabled:#303030;--kui-color-border-split:#87878730;--kui-color-outline:color-mix(in srgb, var(--kui-color-primary) 20%, transparent);--kui-color-shadow:#0009;--kui-color-mask:#0009;--kui-color-spin-mask:#161616d5;--kui-component-shadow:0 0 2px color-mix(in srgb, var(--kui-color-primary) 10%, transparent);--kui-pop-shadow:0 4px 16px #00000073;--kui-color-border-shadow:0 4px 6px #ffffff1a, 0 0 1px #ffffff4d;--kui-color-item-hover:#303030;--kui-color-item-active:#434343;--kui-color-item-selected:color-mix(in srgb, var(--kui-color-primary) 20%, transparent);--kui-color-item-disabled:#1f1f1f;--kui-color-bg-1:#0f0f0f;--kui-color-bg-2:#141414;--kui-color-bg-3:#1f1f1f;--kui-color-bg-4:#262626;--kui-color-bg-5:#303030;--kui-color-bg-6:#434343;--kui-color-bg-7:#595959;--kui-color-bg-8:#bfbfbf;--kui-color-bg-9:#f5f5f5;--kui-disabled-opacity:.7;--kui-control-bg:var(--kui-color-bg);--kui-control-bg-fill:var(--kui-color-bg-component-overlay);--kui-control-bg-disabled:var(--kui-color-bg-component-disabled);--kui-control-border:var(--kui-color-border);--kui-control-border-hover:var(--kui-color-primary);--kui-control-border-focus:var(--kui-color-primary);--kui-control-text:var(--kui-color-text);--kui-card-bg:var(--kui-color-bg-component);--kui-card-border:var(--kui-color-border);--kui-popup-bg:var(--kui-color-bg-pop);--kui-popup-border:var(--kui-color-pop-border);--kui-popup-shadow:var(--kui-pop-shadow);--kui-theme-default-bg:var(--kui-control-bg);--kui-theme-default-border:var(--kui-control-border);--kui-theme-fill-bg:var(--kui-control-bg-fill);--kui-theme-fill-border:transparent;--kui-theme-outline-bg:transparent;--kui-theme-outline-border:var(--kui-control-border);--kui-theme-plain-bg:transparent;--kui-theme-plain-border:transparent}[theme-mode=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--kui-color-text:#262626;--kui-color-text-disabled:#8c8c8c;--kui-color-text-title:#141414;--kui-color-text-description:#8c8c8c;--kui-color-text-placeholder:#8c8c8c;--kui-color-text-on-solid:#fff;--kui-color-control-thumb:#fff;--kui-color-control-thumb-text:#141414;--kui-color-checkerboard:#cdcdcd;--kui-color-icon:#939393c4;--kui-color-icon-hover:#717171c4;--kui-color-icon-active:#646464c4;--kui-color-border:#e9e9e9;--kui-color-pop-border:#e7e7e7;--kui-color-outline:color-mix(in srgb, var(--kui-color-primary) 20%, transparent);--kui-color-border-disabled:#d9d9d9;--kui-color-border-split:#87878730;--kui-color-reverse:#1f1f1f;--kui-color-reverse-text:#bfbfbf;--kui-color-bg:#fff;--kui-color-bg-layout:#f5f5f5;--kui-color-bg-container:#fff;--kui-pop-shadow:0 2px 8px #00000026;--kui-color-bg-pop:#fff;--kui-color-bg-pop-dark:#262626;--kui-color-skeleton:#0000001b;--kui-color-skeleton-high:#ababab1b;--kui-color-bg-component:#f5f5f5;--kui-color-bg-component-hover:#eee;--kui-color-bg-component-active:#e7e7e7;--kui-color-bg-component-disabled:#f5f5f5;--kui-color-bg-component-overlay:#353a411a;--kui-color-bg-elevated:#262626;--kui-color-scrollbar-thumb:#1e1e1e34;--kui-color-scrollbar-thumb-hover:#0000001a;--kui-color-item-hover:#f5f5f5;--kui-color-item-active:#eee;--kui-color-item-selected:color-mix(in srgb, var(--kui-color-primary) 20%, transparent);--kui-color-item-disabled:#f5f5f5;--kui-component-shadow:0 0 2px color-mix(in srgb, var(--kui-color-primary) 10%, transparent);--kui-color-shadow:#00000042;--kui-color-mask:#0009;--kui-color-spin-mask:#ffffffe6;--kui-color-border-shadow:0 4px 6px #0000001a, 0 0 1px #0000004d;--kui-color-bg-1:#fafafa;--kui-color-bg-2:#f5f5f5;--kui-color-bg-3:#eee;--kui-color-bg-4:#d9d9d9;--kui-color-bg-5:#bfbfbf;--kui-color-bg-6:#8c8c8c;--kui-color-bg-7:#595959;--kui-color-bg-8:#262626;--kui-color-bg-9:#141414;--kui-color-text-secondary:var(--kui-color-text-description);--kui-color-placeholder:var(--kui-color-text-placeholder);--kui-color-item-disable:var(--kui-color-item-disabled);--kui-disabled-opacity:.7;--kui-control-bg:var(--kui-color-bg);--kui-control-bg-fill:var(--kui-color-bg-component-overlay);--kui-control-bg-disabled:var(--kui-color-bg-component-disabled);--kui-control-border:var(--kui-color-border);--kui-control-border-hover:var(--kui-color-primary);--kui-control-border-focus:var(--kui-color-primary);--kui-control-text:var(--kui-color-text);--kui-card-bg:var(--kui-color-bg-component);--kui-card-border:var(--kui-color-border);--kui-popup-bg:var(--kui-color-bg-pop);--kui-popup-border:var(--kui-color-pop-border);--kui-popup-shadow:var(--kui-pop-shadow);--kui-theme-default-bg:var(--kui-control-bg);--kui-theme-default-border:var(--kui-control-border);--kui-theme-fill-bg:var(--kui-control-bg-fill);--kui-theme-fill-border:transparent;--kui-theme-outline-bg:transparent;--kui-theme-outline-border:var(--kui-control-border);--kui-theme-plain-bg:transparent;--kui-theme-plain-border:transparent}[shape-mode=square]{--kui-border-radius:2px;--kui-border-radius-lg:2px;--kui-border-radius-card:2px;--kui-shape-round:2px;--kui-control-radius:2px;--kui-card-radius:2px;--kui-popup-radius:2px}
@@ -6,7 +6,7 @@ declare const affixProps: {
6
6
  };
7
7
  offsetBottom: NumberConstructor;
8
8
  target: {
9
- type: PropType<() => any>;
9
+ type: PropType<() => Window | HTMLElement | null>;
10
10
  default: () => (Window & typeof globalThis) | null;
11
11
  };
12
12
  onChange: {
@@ -21,29 +21,31 @@ declare const Affix: import('vue').DefineComponent<ExtractPropTypes<{
21
21
  };
22
22
  offsetBottom: NumberConstructor;
23
23
  target: {
24
- type: PropType<() => any>;
24
+ type: PropType<() => Window | HTMLElement | null>;
25
25
  default: () => (Window & typeof globalThis) | null;
26
26
  };
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) => boolean;
32
+ }, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
31
33
  offsetTop: {
32
34
  type: NumberConstructor;
33
35
  default: number;
34
36
  };
35
37
  offsetBottom: NumberConstructor;
36
38
  target: {
37
- type: PropType<() => any>;
39
+ type: PropType<() => Window | HTMLElement | null>;
38
40
  default: () => (Window & typeof globalThis) | null;
39
41
  };
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
- target: () => any;
46
- }, {}, {}, {
47
- resize: import('vue').ObjectDirective<any, any, string, any>;
48
- }, string, import('vue').ComponentProvideOptions, true, {}, any>;
49
+ target: () => Window | HTMLElement | null;
50
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
49
51
  export default Affix;
@@ -1,5 +1,5 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType } from '../const/types';
2
+ import { BooleanType, ShapeType, ThemeType } from '../const/types';
3
3
  import { IconType } from '../icon';
4
4
  declare const alertProps: {
5
5
  type: {
@@ -15,6 +15,14 @@ declare const alertProps: {
15
15
  message: StringConstructor;
16
16
  description: StringConstructor;
17
17
  bordered: BooleanType;
18
+ theme: {
19
+ type: PropType<ThemeType>;
20
+ default: string;
21
+ };
22
+ shape: {
23
+ type: PropType<ShapeType>;
24
+ default: string;
25
+ };
18
26
  onClose: {
19
27
  type: PropType<(e: MouseEvent) => void>;
20
28
  };
@@ -34,6 +42,14 @@ declare const Alert: import('vue').DefineComponent<ExtractPropTypes<{
34
42
  message: StringConstructor;
35
43
  description: StringConstructor;
36
44
  bordered: BooleanType;
45
+ theme: {
46
+ type: PropType<ThemeType>;
47
+ default: string;
48
+ };
49
+ shape: {
50
+ type: PropType<ShapeType>;
51
+ default: string;
52
+ };
37
53
  onClose: {
38
54
  type: PropType<(e: MouseEvent) => void>;
39
55
  };
@@ -51,11 +67,21 @@ declare const Alert: import('vue').DefineComponent<ExtractPropTypes<{
51
67
  message: StringConstructor;
52
68
  description: StringConstructor;
53
69
  bordered: BooleanType;
70
+ theme: {
71
+ type: PropType<ThemeType>;
72
+ default: string;
73
+ };
74
+ shape: {
75
+ type: PropType<ShapeType>;
76
+ default: string;
77
+ };
54
78
  onClose: {
55
79
  type: PropType<(e: MouseEvent) => void>;
56
80
  };
57
81
  }>> & Readonly<{}>, {
58
82
  type: "error" | "warning" | "success" | "info";
59
83
  showIcon: boolean | undefined;
84
+ theme: ThemeType;
85
+ shape: ShapeType;
60
86
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
61
87
  export default Alert;
@@ -1,11 +1,5 @@
1
- import { ExtractPropTypes, PropType, Ref } from 'vue';
1
+ import { ExtractPropTypes, PropType } from 'vue';
2
2
  import { BooleanType } from '../const/types';
3
- export interface AnchorContext {
4
- activeLink: Ref<string>;
5
- registerLink: (link: string) => void;
6
- unregisterLink: (link: string) => void;
7
- handleScrollTo: (link: string) => void;
8
- }
9
3
  declare const anchorProps: {
10
4
  affix: {
11
5
  type: BooleanType;
@@ -23,6 +17,9 @@ declare const anchorProps: {
23
17
  onChange: {
24
18
  type: PropType<(activeLink: string) => void>;
25
19
  };
20
+ onClick: {
21
+ type: PropType<(link: string) => void>;
22
+ };
26
23
  };
27
24
  export type AnchorProps = ExtractPropTypes<typeof anchorProps>;
28
25
  declare const Anchor: import('vue').DefineComponent<ExtractPropTypes<{
@@ -42,7 +39,13 @@ declare const Anchor: import('vue').DefineComponent<ExtractPropTypes<{
42
39
  onChange: {
43
40
  type: PropType<(activeLink: string) => void>;
44
41
  };
45
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
42
+ onClick: {
43
+ type: PropType<(link: string) => void>;
44
+ };
45
+ }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
46
+ change: (activeLink: string) => boolean;
47
+ click: (link: string) => boolean;
48
+ }, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
46
49
  affix: {
47
50
  type: BooleanType;
48
51
  default: boolean;
@@ -59,7 +62,13 @@ declare const Anchor: import('vue').DefineComponent<ExtractPropTypes<{
59
62
  onChange: {
60
63
  type: PropType<(activeLink: string) => void>;
61
64
  };
62
- }>> & Readonly<{}>, {
65
+ onClick: {
66
+ type: PropType<(link: string) => void>;
67
+ };
68
+ }>> & Readonly<{
69
+ onChange?: ((activeLink: string) => any) | undefined;
70
+ onClick?: ((link: string) => any) | undefined;
71
+ }>, {
63
72
  offsetTop: number;
64
73
  affix: boolean | undefined;
65
74
  bounds: number;
@@ -0,0 +1,8 @@
1
+ import { InjectionKey, Ref } from 'vue';
2
+ export interface AnchorContext {
3
+ activeLink: Ref<string>;
4
+ registerLink: (link: string) => void;
5
+ unregisterLink: (link: string) => void;
6
+ handleScrollTo: (link: string) => void;
7
+ }
8
+ export declare const anchorContextKey: InjectionKey<AnchorContext>;
@@ -1,39 +1,42 @@
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
+ spacing: NumberConstructor;
5
6
  shape: {
6
- type: PropType<ShapeType>;
7
+ type: PropType<AvatarShape>;
7
8
  default: string;
8
9
  };
9
10
  size: {
10
- type: PropType<number | "large" | "small" | "default">;
11
+ type: PropType<AvatarSize>;
11
12
  default: string;
12
13
  };
13
14
  };
14
15
  export type AvatarGroupProps = ExtractPropTypes<typeof avatarGroupProps>;
15
16
  declare const AvatarGroup: import('vue').DefineComponent<ExtractPropTypes<{
16
17
  maxCount: NumberConstructor;
18
+ spacing: NumberConstructor;
17
19
  shape: {
18
- type: PropType<ShapeType>;
20
+ type: PropType<AvatarShape>;
19
21
  default: string;
20
22
  };
21
23
  size: {
22
- type: PropType<number | "large" | "small" | "default">;
24
+ type: PropType<AvatarSize>;
23
25
  default: string;
24
26
  };
25
27
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
26
28
  maxCount: NumberConstructor;
29
+ spacing: NumberConstructor;
27
30
  shape: {
28
- type: PropType<ShapeType>;
31
+ type: PropType<AvatarShape>;
29
32
  default: string;
30
33
  };
31
34
  size: {
32
- type: PropType<number | "large" | "small" | "default">;
35
+ type: PropType<AvatarSize>;
33
36
  default: string;
34
37
  };
35
38
  }>> & Readonly<{}>, {
36
- size: number | "default" | "small" | "large";
37
- shape: ShapeType;
39
+ size: AvatarSize;
40
+ shape: AvatarShape;
38
41
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
39
42
  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" | "round";
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>;
@@ -1,15 +1,16 @@
1
1
  import { ExtractPropTypes, PropType, VNode } from 'vue';
2
- import { BooleanType } from '../const/types';
3
- export type BadgeStatusType = "default" | "success" | "error" | "warning";
2
+ import { BadgeStatusType, BooleanType } from '../const/types';
4
3
  declare const badgeProps: {
5
4
  count: (NumberConstructor | StringConstructor)[];
6
5
  dot: BooleanType;
6
+ pill: BooleanType;
7
7
  color: StringConstructor;
8
8
  status: {
9
9
  type: PropType<BadgeStatusType>;
10
10
  default: string;
11
11
  };
12
12
  text: PropType<string | VNode>;
13
+ active: BooleanType;
13
14
  maxCount: {
14
15
  type: NumberConstructor;
15
16
  default: number;
@@ -19,12 +20,14 @@ 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>;
25
27
  default: string;
26
28
  };
27
29
  text: PropType<string | VNode>;
30
+ active: BooleanType;
28
31
  maxCount: {
29
32
  type: NumberConstructor;
30
33
  default: number;
@@ -32,12 +35,14 @@ declare const Badge: import('vue').DefineComponent<ExtractPropTypes<{
32
35
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
33
36
  count: (NumberConstructor | StringConstructor)[];
34
37
  dot: BooleanType;
38
+ pill: BooleanType;
35
39
  color: StringConstructor;
36
40
  status: {
37
41
  type: PropType<BadgeStatusType>;
38
42
  default: string;
39
43
  };
40
44
  text: PropType<string | VNode>;
45
+ active: BooleanType;
41
46
  maxCount: {
42
47
  type: NumberConstructor;
43
48
  default: number;
@@ -47,3 +52,4 @@ declare const Badge: import('vue').DefineComponent<ExtractPropTypes<{
47
52
  status: BadgeStatusType;
48
53
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
49
54
  export default Badge;
55
+ export type { BadgeStatusType } from '../const/types';
@@ -1,22 +1,22 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
1
+ import { ExtractPropTypes, PropType, VNodeChild } from 'vue';
2
2
  declare const breadcrumbProps: {
3
3
  separator: {
4
- type: PropType<string | any>;
4
+ type: PropType<VNodeChild>;
5
5
  default: string;
6
6
  };
7
7
  };
8
8
  export type BreadcrumbProps = ExtractPropTypes<typeof breadcrumbProps>;
9
9
  declare const Breadcrumb: import('vue').DefineComponent<ExtractPropTypes<{
10
10
  separator: {
11
- type: PropType<string | any>;
11
+ type: PropType<VNodeChild>;
12
12
  default: string;
13
13
  };
14
14
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
15
15
  separator: {
16
- type: PropType<string | any>;
16
+ type: PropType<VNodeChild>;
17
17
  default: string;
18
18
  };
19
19
  }>> & Readonly<{}>, {
20
- separator: any;
20
+ separator: VNodeChild;
21
21
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
22
  export default Breadcrumb;
@@ -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,13 +1,23 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- import { BooleanType } from '../const/types';
1
+ import { ExtractPropTypes, PropType, VNodeChild } from 'vue';
2
+ import { BooleanType, ShapeType, ThemeType } 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;
7
8
  default: boolean;
8
9
  };
10
+ theme: {
11
+ type: PropType<ThemeType>;
12
+ default: string;
13
+ };
14
+ shape: {
15
+ type: PropType<ShapeType>;
16
+ default: string;
17
+ };
9
18
  title: StringConstructor;
10
19
  icon: PropType<IconType[]>;
20
+ cover: PropType<string | VNodeChild>;
11
21
  };
12
22
  export type CardProps = ExtractPropTypes<typeof cardProps>;
13
23
  declare const Card: import('vue').DefineComponent<ExtractPropTypes<{
@@ -15,16 +25,38 @@ declare const Card: import('vue').DefineComponent<ExtractPropTypes<{
15
25
  type: BooleanType;
16
26
  default: boolean;
17
27
  };
28
+ theme: {
29
+ type: PropType<ThemeType>;
30
+ default: string;
31
+ };
32
+ shape: {
33
+ type: PropType<ShapeType>;
34
+ default: string;
35
+ };
18
36
  title: StringConstructor;
19
37
  icon: PropType<IconType[]>;
38
+ cover: PropType<string | VNodeChild>;
20
39
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
21
40
  bordered: {
22
41
  type: BooleanType;
23
42
  default: boolean;
24
43
  };
44
+ theme: {
45
+ type: PropType<ThemeType>;
46
+ default: string;
47
+ };
48
+ shape: {
49
+ type: PropType<ShapeType>;
50
+ default: string;
51
+ };
25
52
  title: StringConstructor;
26
53
  icon: PropType<IconType[]>;
54
+ cover: PropType<string | VNodeChild>;
27
55
  }>> & Readonly<{}>, {
28
56
  bordered: boolean | undefined;
57
+ theme: ThemeType;
58
+ shape: ShapeType;
29
59
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
60
+ export type { CardMetaProps } from './card-meta';
61
+ export { CardMeta };
30
62
  export default Card;
@@ -1,14 +1,9 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  import { BooleanType, DirectionType, SizeType, ThemeType } from '../const/types';
3
- export interface CheckboxOption {
4
- label?: string;
5
- value?: string | number;
6
- disabled?: boolean;
7
- [key: string]: any;
8
- }
3
+ import { CheckboxOption, CheckboxValue } from './types';
9
4
  declare const checkboxGroupProps: {
10
5
  modelValue: {
11
- type: PropType<any[]>;
6
+ type: PropType<CheckboxValue[]>;
12
7
  default: () => never[];
13
8
  };
14
9
  theme: {
@@ -25,13 +20,13 @@ declare const checkboxGroupProps: {
25
20
  type: PropType<SizeType>;
26
21
  };
27
22
  onChange: {
28
- type: PropType<(value: any[]) => void>;
23
+ type: PropType<(value: CheckboxValue[]) => void>;
29
24
  };
30
25
  };
31
26
  export type CheckboxGroupProps = ExtractPropTypes<typeof checkboxGroupProps>;
32
27
  declare const CheckboxGroup: import('vue').DefineComponent<ExtractPropTypes<{
33
28
  modelValue: {
34
- type: PropType<any[]>;
29
+ type: PropType<CheckboxValue[]>;
35
30
  default: () => never[];
36
31
  };
37
32
  theme: {
@@ -48,11 +43,11 @@ declare const CheckboxGroup: import('vue').DefineComponent<ExtractPropTypes<{
48
43
  type: PropType<SizeType>;
49
44
  };
50
45
  onChange: {
51
- type: PropType<(value: any[]) => void>;
46
+ type: PropType<(value: CheckboxValue[]) => void>;
52
47
  };
53
48
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
54
49
  modelValue: {
55
- type: PropType<any[]>;
50
+ type: PropType<CheckboxValue[]>;
56
51
  default: () => never[];
57
52
  };
58
53
  theme: {
@@ -69,11 +64,11 @@ declare const CheckboxGroup: import('vue').DefineComponent<ExtractPropTypes<{
69
64
  type: PropType<SizeType>;
70
65
  };
71
66
  onChange: {
72
- type: PropType<(value: any[]) => void>;
67
+ type: PropType<(value: CheckboxValue[]) => void>;
73
68
  };
74
69
  }>> & Readonly<{}>, {
75
70
  direction: DirectionType;
76
71
  theme: ThemeType;
77
- modelValue: any[];
72
+ modelValue: CheckboxValue[];
78
73
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
79
74
  export default CheckboxGroup;
@@ -1,5 +1,6 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  import { BooleanType, SizeType, ThemeType, ValueType } from '../const/types';
3
+ import { CheckboxChangeEvent } from './types';
3
4
  declare const checkboxProps: {
4
5
  checked: {
5
6
  type: BooleanType;
@@ -28,14 +29,9 @@ declare const checkboxProps: {
28
29
  type: PropType<SizeType>;
29
30
  };
30
31
  onChange: {
31
- type: PropType<(e: ChangeEvent) => void>;
32
+ type: PropType<(e: CheckboxChangeEvent) => void>;
32
33
  };
33
34
  };
34
- export interface ChangeEvent {
35
- value?: string | number | boolean;
36
- label?: string | number;
37
- checked: boolean;
38
- }
39
35
  export type CheckboxProps = ExtractPropTypes<typeof checkboxProps>;
40
36
  declare const Checkbox: import('vue').DefineComponent<ExtractPropTypes<{
41
37
  checked: {
@@ -65,7 +61,7 @@ declare const Checkbox: import('vue').DefineComponent<ExtractPropTypes<{
65
61
  type: PropType<SizeType>;
66
62
  };
67
63
  onChange: {
68
- type: PropType<(e: ChangeEvent) => void>;
64
+ type: PropType<(e: CheckboxChangeEvent) => void>;
69
65
  };
70
66
  }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
71
67
  checked: {
@@ -95,7 +91,7 @@ declare const Checkbox: import('vue').DefineComponent<ExtractPropTypes<{
95
91
  type: PropType<SizeType>;
96
92
  };
97
93
  onChange: {
98
- type: PropType<(e: ChangeEvent) => void>;
94
+ type: PropType<(e: CheckboxChangeEvent) => void>;
99
95
  };
100
96
  }>> & Readonly<{}>, {
101
97
  theme: ThemeType;
@@ -1,6 +1,7 @@
1
1
  import { default as Checkbox } from './checkbox';
2
2
  import { default as CheckboxGroup } from './checkbox-group';
3
- export type { ChangeEvent, CheckboxProps } from './checkbox';
4
- export type { CheckboxGroupProps, CheckboxOption } from './checkbox-group';
3
+ export type { CheckboxProps } from './checkbox';
4
+ export type { CheckboxGroupProps } from './checkbox-group';
5
+ export type { CheckboxChangeEvent as ChangeEvent, CheckboxOption } from './types';
5
6
  export { Checkbox, CheckboxGroup };
6
7
  export default Checkbox;
@@ -0,0 +1,11 @@
1
+ export interface CheckboxChangeEvent {
2
+ value?: string | number | boolean;
3
+ label?: string | number;
4
+ checked: boolean;
5
+ }
6
+ export interface CheckboxOption {
7
+ label?: string;
8
+ value?: string | number;
9
+ disabled?: boolean;
10
+ }
11
+ export type CheckboxValue = string | number | boolean;
@@ -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;