vue-amazing-ui 2.7.1 → 2.7.2

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 (246) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +7 -1
  3. package/README.zh-CN.md +7 -1
  4. package/dist/index.iife.js +82 -82
  5. package/dist/index.js +4591 -4587
  6. package/dist/index.umd.cjs +72 -72
  7. package/dist/style.css +1 -1
  8. package/es/alert/Alert.css +1 -1
  9. package/es/alert/Alert.vue.js +1 -1
  10. package/es/alert/Alert.vue2.js +8 -8
  11. package/es/auto-complete/AutoComplete.css +1 -1
  12. package/es/auto-complete/AutoComplete.vue2.js +21 -30
  13. package/es/avatar/Avatar.css +1 -1
  14. package/es/avatar/Avatar.vue.js +2 -2
  15. package/es/avatar/Avatar.vue2.js +13 -13
  16. package/es/badge/Badge.css +1 -1
  17. package/es/badge/Badge.vue2.js +4 -4
  18. package/es/button/Button.css +1 -1
  19. package/es/carousel/Carousel.css +1 -1
  20. package/es/carousel/Carousel.vue.js +1 -1
  21. package/es/carousel/Carousel.vue2.js +115 -114
  22. package/es/collapse/Collapse.css +1 -1
  23. package/es/collapse/Collapse.vue.js +3 -3
  24. package/es/collapse/Collapse.vue2.js +1 -1
  25. package/es/color-picker/ColorPicker.css +1 -1
  26. package/es/color-picker/ColorPicker.d.ts +6 -10
  27. package/es/color-picker/ColorPicker.vue.js +2 -2
  28. package/es/color-picker/ColorPicker.vue2.js +3 -3
  29. package/es/color-picker/index.d.ts +3 -5
  30. package/es/config-provider/ConfigProvider.vue.js +10 -10
  31. package/es/countdown/Countdown.css +1 -1
  32. package/es/countdown/Countdown.vue.js +2 -2
  33. package/es/countdown/Countdown.vue2.js +28 -26
  34. package/es/date-picker/DatePicker.css +1 -1
  35. package/es/descriptions/descriptions/Descriptions.css +1 -1
  36. package/es/descriptions/descriptions/Descriptions.vue.js +2 -2
  37. package/es/descriptions/descriptions/Descriptions.vue2.js +35 -35
  38. package/es/dialog/Dialog.vue2.js +2 -2
  39. package/es/drawer/Drawer.css +1 -1
  40. package/es/drawer/Drawer.vue.js +2 -2
  41. package/es/drawer/Drawer.vue2.js +2 -2
  42. package/es/ellipsis/Ellipsis.css +1 -1
  43. package/es/ellipsis/Ellipsis.d.ts +7 -11
  44. package/es/ellipsis/Ellipsis.vue.js +2 -2
  45. package/es/ellipsis/Ellipsis.vue2.js +37 -35
  46. package/es/ellipsis/index.d.ts +6 -8
  47. package/es/empty/Empty.vue2.js +6 -6
  48. package/es/float-button/FloatButton.vue2.js +2 -2
  49. package/es/grid/col/Col.css +1 -1
  50. package/es/grid/col/Col.vue.js +2 -2
  51. package/es/grid/col/Col.vue2.js +14 -14
  52. package/es/grid/row/Row.css +1 -1
  53. package/es/grid/row/Row.vue.js +1 -1
  54. package/es/grid/row/Row.vue2.js +7 -7
  55. package/es/image/Image.css +1 -1
  56. package/es/input-number/InputNumber.css +1 -1
  57. package/es/input-number/InputNumber.vue.js +2 -2
  58. package/es/input-number/InputNumber.vue2.js +74 -72
  59. package/es/list/list/List.vue2.js +5 -5
  60. package/es/loading-bar/LoadingBar.css +1 -1
  61. package/es/loading-bar/LoadingBar.vue.js +3 -3
  62. package/es/loading-bar/LoadingBar.vue2.js +1 -1
  63. package/es/modal/Modal.css +1 -1
  64. package/es/modal/Modal.vue.js +2 -2
  65. package/es/modal/Modal.vue2.js +3 -3
  66. package/es/notification/Notification.css +1 -1
  67. package/es/pagination/Pagination.css +1 -1
  68. package/es/pagination/Pagination.vue.js +2 -2
  69. package/es/popconfirm/Popconfirm.d.ts +6 -10
  70. package/es/popconfirm/index.d.ts +3 -5
  71. package/es/qr-code/QRCode.css +1 -1
  72. package/es/qr-code/QRCode.vue.js +2 -2
  73. package/es/qr-code/QRCode.vue2.js +7 -7
  74. package/es/rate/Rate.css +1 -1
  75. package/es/rate/Rate.vue.js +1 -1
  76. package/es/rate/Rate.vue2.js +25 -25
  77. package/es/scrollbar/Scrollbar.css +1 -1
  78. package/es/scrollbar/Scrollbar.vue.js +2 -2
  79. package/es/scrollbar/Scrollbar.vue2.js +53 -53
  80. package/es/segmented/Segmented.css +1 -1
  81. package/es/segmented/Segmented.vue.js +4 -4
  82. package/es/segmented/Segmented.vue2.js +1 -1
  83. package/es/select/Select.css +1 -1
  84. package/es/select/Select.vue.js +1 -1
  85. package/es/select/Select.vue2.js +154 -142
  86. package/es/skeleton/Skeleton.vue2.js +3 -3
  87. package/es/slider/Slider.css +1 -1
  88. package/es/slider/Slider.vue.js +2 -2
  89. package/es/slider/Slider.vue2.js +99 -97
  90. package/es/spin/Spin.css +1 -1
  91. package/es/swiper/Swiper.css +1 -1
  92. package/es/switch/Switch.css +1 -1
  93. package/es/table/Table.css +1 -1
  94. package/es/table/Table.d.ts +28 -44
  95. package/es/table/Table.vue2.js +14 -28
  96. package/es/tabs/Tabs.css +1 -1
  97. package/es/tabs/Tabs.vue.js +2 -2
  98. package/es/tabs/Tabs.vue2.js +32 -32
  99. package/es/tag/Tag.css +1 -1
  100. package/es/tag/Tag.vue.js +1 -1
  101. package/es/tag/Tag.vue2.js +46 -44
  102. package/es/text-scroll/TextScroll.css +1 -1
  103. package/es/text-scroll/TextScroll.vue.js +1 -1
  104. package/es/text-scroll/TextScroll.vue2.js +94 -96
  105. package/es/textarea/Textarea.css +1 -1
  106. package/es/textarea/Textarea.vue.js +1 -1
  107. package/es/textarea/Textarea.vue2.js +12 -12
  108. package/es/timeline/Timeline.css +1 -1
  109. package/es/timeline/Timeline.vue.js +2 -2
  110. package/es/timeline/Timeline.vue2.js +1 -1
  111. package/es/tooltip/Tooltip.css +1 -1
  112. package/es/upload/Upload.css +1 -1
  113. package/es/upload/Upload.d.ts +6 -10
  114. package/es/upload/Upload.vue.js +2 -2
  115. package/es/upload/Upload.vue2.js +25 -25
  116. package/es/upload/index.d.ts +3 -5
  117. package/es/utils/function.js +5 -5
  118. package/es/utils/hooks.js +48 -44
  119. package/es/utils/observers.js +30 -30
  120. package/es/video/Video.css +1 -1
  121. package/es/video/Video.vue.js +2 -2
  122. package/es/video/Video.vue2.js +21 -21
  123. package/es/waterfall/Waterfall.css +1 -1
  124. package/es/waterfall/Waterfall.vue.js +1 -1
  125. package/es/waterfall/Waterfall.vue2.js +2 -2
  126. package/es/watermark/Watermark.vue.js +16 -16
  127. package/lib/alert/Alert.css +1 -1
  128. package/lib/alert/Alert.vue.cjs +1 -1
  129. package/lib/alert/Alert.vue2.cjs +1 -1
  130. package/lib/auto-complete/AutoComplete.css +1 -1
  131. package/lib/auto-complete/AutoComplete.vue2.cjs +1 -1
  132. package/lib/avatar/Avatar.css +1 -1
  133. package/lib/avatar/Avatar.vue.cjs +1 -1
  134. package/lib/avatar/Avatar.vue2.cjs +1 -1
  135. package/lib/badge/Badge.css +1 -1
  136. package/lib/badge/Badge.vue2.cjs +1 -1
  137. package/lib/button/Button.css +1 -1
  138. package/lib/carousel/Carousel.css +1 -1
  139. package/lib/carousel/Carousel.vue.cjs +1 -1
  140. package/lib/carousel/Carousel.vue2.cjs +2 -2
  141. package/lib/collapse/Collapse.css +1 -1
  142. package/lib/collapse/Collapse.vue.cjs +1 -1
  143. package/lib/collapse/Collapse.vue2.cjs +1 -1
  144. package/lib/color-picker/ColorPicker.css +1 -1
  145. package/lib/color-picker/ColorPicker.d.ts +6 -10
  146. package/lib/color-picker/ColorPicker.vue.cjs +1 -1
  147. package/lib/color-picker/ColorPicker.vue2.cjs +1 -1
  148. package/lib/color-picker/index.d.ts +3 -5
  149. package/lib/config-provider/ConfigProvider.vue.cjs +1 -1
  150. package/lib/countdown/Countdown.css +1 -1
  151. package/lib/countdown/Countdown.vue.cjs +1 -1
  152. package/lib/countdown/Countdown.vue2.cjs +1 -1
  153. package/lib/date-picker/DatePicker.css +1 -1
  154. package/lib/descriptions/descriptions/Descriptions.css +1 -1
  155. package/lib/descriptions/descriptions/Descriptions.vue.cjs +1 -1
  156. package/lib/descriptions/descriptions/Descriptions.vue2.cjs +1 -1
  157. package/lib/dialog/Dialog.vue2.cjs +1 -1
  158. package/lib/drawer/Drawer.css +1 -1
  159. package/lib/drawer/Drawer.vue.cjs +1 -1
  160. package/lib/drawer/Drawer.vue2.cjs +1 -1
  161. package/lib/ellipsis/Ellipsis.css +1 -1
  162. package/lib/ellipsis/Ellipsis.d.ts +7 -11
  163. package/lib/ellipsis/Ellipsis.vue.cjs +1 -1
  164. package/lib/ellipsis/Ellipsis.vue2.cjs +1 -1
  165. package/lib/ellipsis/index.d.ts +6 -8
  166. package/lib/empty/Empty.vue2.cjs +1 -1
  167. package/lib/float-button/FloatButton.vue2.cjs +1 -1
  168. package/lib/grid/col/Col.css +1 -1
  169. package/lib/grid/col/Col.vue.cjs +1 -1
  170. package/lib/grid/col/Col.vue2.cjs +1 -1
  171. package/lib/grid/row/Row.css +1 -1
  172. package/lib/grid/row/Row.vue.cjs +1 -1
  173. package/lib/grid/row/Row.vue2.cjs +1 -1
  174. package/lib/image/Image.css +1 -1
  175. package/lib/input-number/InputNumber.css +1 -1
  176. package/lib/input-number/InputNumber.vue.cjs +1 -1
  177. package/lib/input-number/InputNumber.vue2.cjs +7 -7
  178. package/lib/list/list/List.vue2.cjs +1 -1
  179. package/lib/loading-bar/LoadingBar.css +1 -1
  180. package/lib/loading-bar/LoadingBar.vue.cjs +1 -1
  181. package/lib/loading-bar/LoadingBar.vue2.cjs +1 -1
  182. package/lib/modal/Modal.css +1 -1
  183. package/lib/modal/Modal.vue.cjs +1 -1
  184. package/lib/modal/Modal.vue2.cjs +1 -1
  185. package/lib/notification/Notification.css +1 -1
  186. package/lib/pagination/Pagination.css +1 -1
  187. package/lib/pagination/Pagination.vue.cjs +1 -1
  188. package/lib/popconfirm/Popconfirm.d.ts +6 -10
  189. package/lib/popconfirm/index.d.ts +3 -5
  190. package/lib/qr-code/QRCode.css +1 -1
  191. package/lib/qr-code/QRCode.vue.cjs +1 -1
  192. package/lib/qr-code/QRCode.vue2.cjs +1 -1
  193. package/lib/rate/Rate.css +1 -1
  194. package/lib/rate/Rate.vue.cjs +1 -1
  195. package/lib/rate/Rate.vue2.cjs +1 -1
  196. package/lib/scrollbar/Scrollbar.css +1 -1
  197. package/lib/scrollbar/Scrollbar.vue.cjs +1 -1
  198. package/lib/scrollbar/Scrollbar.vue2.cjs +5 -5
  199. package/lib/segmented/Segmented.css +1 -1
  200. package/lib/segmented/Segmented.vue.cjs +1 -1
  201. package/lib/segmented/Segmented.vue2.cjs +1 -1
  202. package/lib/select/Select.css +1 -1
  203. package/lib/select/Select.vue.cjs +1 -1
  204. package/lib/select/Select.vue2.cjs +4 -4
  205. package/lib/skeleton/Skeleton.vue2.cjs +1 -1
  206. package/lib/slider/Slider.css +1 -1
  207. package/lib/slider/Slider.vue.cjs +1 -1
  208. package/lib/slider/Slider.vue2.cjs +2 -2
  209. package/lib/spin/Spin.css +1 -1
  210. package/lib/swiper/Swiper.css +1 -1
  211. package/lib/switch/Switch.css +1 -1
  212. package/lib/table/Table.css +1 -1
  213. package/lib/table/Table.d.ts +28 -44
  214. package/lib/table/Table.vue2.cjs +1 -1
  215. package/lib/tabs/Tabs.css +1 -1
  216. package/lib/tabs/Tabs.vue.cjs +1 -1
  217. package/lib/tabs/Tabs.vue2.cjs +1 -1
  218. package/lib/tag/Tag.css +1 -1
  219. package/lib/tag/Tag.vue.cjs +1 -1
  220. package/lib/tag/Tag.vue2.cjs +1 -1
  221. package/lib/text-scroll/TextScroll.css +1 -1
  222. package/lib/text-scroll/TextScroll.vue.cjs +1 -1
  223. package/lib/text-scroll/TextScroll.vue2.cjs +4 -4
  224. package/lib/textarea/Textarea.css +1 -1
  225. package/lib/textarea/Textarea.vue.cjs +1 -1
  226. package/lib/textarea/Textarea.vue2.cjs +2 -2
  227. package/lib/timeline/Timeline.css +1 -1
  228. package/lib/timeline/Timeline.vue.cjs +1 -1
  229. package/lib/timeline/Timeline.vue2.cjs +1 -1
  230. package/lib/tooltip/Tooltip.css +1 -1
  231. package/lib/upload/Upload.css +1 -1
  232. package/lib/upload/Upload.d.ts +6 -10
  233. package/lib/upload/Upload.vue.cjs +1 -1
  234. package/lib/upload/Upload.vue2.cjs +1 -1
  235. package/lib/upload/index.d.ts +3 -5
  236. package/lib/utils/function.cjs +1 -1
  237. package/lib/utils/hooks.cjs +1 -1
  238. package/lib/utils/observers.cjs +1 -1
  239. package/lib/video/Video.css +1 -1
  240. package/lib/video/Video.vue.cjs +1 -1
  241. package/lib/video/Video.vue2.cjs +2 -2
  242. package/lib/waterfall/Waterfall.css +1 -1
  243. package/lib/waterfall/Waterfall.vue.cjs +1 -1
  244. package/lib/waterfall/Waterfall.vue2.cjs +1 -1
  245. package/lib/watermark/Watermark.vue.cjs +1 -1
  246. package/package.json +20 -16
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023-present the Muse Catcher
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -219,6 +219,12 @@ pnpm dev
219
219
  pnpm docs:dev
220
220
  ```
221
221
 
222
+ ## Contributing
223
+
224
+ `Vue Amazing UI` grows together with its community. Whether you are adding a component, fixing a bug, or improving the docs and examples, your contribution is always welcome.
225
+
226
+ Before submitting code, please read the [Contributing Guide](CONTRIBUTING.md).
227
+
222
228
  ## Blogs
223
229
 
224
230
  [My CSDN Blogs](https://themusecatcher.blog.csdn.net)
@@ -280,7 +286,7 @@ All sponsors will be listed here, thank you very much for your support and spons
280
286
  | :-- | :-- | :-- |
281
287
  | dateFormat | Format date-time string function | (value: number | string | Date = Date.now(), format: string = 'YYYY-MM-DD HH:mm:ss') => string |
282
288
  | formatNumber | Number formatting function | (value: number | string, precision: number = 2, separator: string = ',', decimal: string = '.', prefix?: string, suffix?: string) => string |
283
- | rafTimeout | Function to implement `setTimeout` or `setInterval` using `requestAnimationFrame` | (fn: Function, delay: number = 0, interval: boolean = false) => \{ id: number } |
289
+ | rafTimeout | Delay / interval invocation based on `requestAnimationFrame`; not equivalent to `setTimeout` / `setInterval` | (fn: Function, delay: number = 0, interval: boolean = false) => \{ id: number } |
284
290
  | cancelRaf | Function to cancel the `rafTimeout` function | (raf: { id: number }) => void |
285
291
  | throttle | Throttle function | (fn: Function, delay: number = 300) => Function |
286
292
  | debounce | Debounce function | (fn: Function, delay: number = 300) => Function |
package/README.zh-CN.md CHANGED
@@ -219,6 +219,12 @@ pnpm dev
219
219
  pnpm docs:dev
220
220
  ```
221
221
 
222
+ ## 参与贡献
223
+
224
+ `Vue Amazing UI` 的每一次成长,都离不开每一位贡献者。无论是新增组件、修复缺陷,还是完善文档与示例,都欢迎参与。
225
+
226
+ 提交代码前,请先阅读[贡献指南](CONTRIBUTING.zh-CN.md)。
227
+
222
228
  ## 博客
223
229
 
224
230
  [My CSDN Blogs](https://themusecatcher.blog.csdn.net)
@@ -280,7 +286,7 @@ pnpm docs:dev
280
286
  | :-- | :-- | :-- |
281
287
  | dateFormat | 格式化日期时间字符串函数 | (value: number | string | Date = Date.now(), format: string = 'YYYY-MM-DD HH:mm:ss') => string |
282
288
  | formatNumber | 数字格式化函数 | (value: number | string, precision: number = 2, separator: string = ',', decimal: string = '.', prefix?: string, suffix?: string) => string |
283
- | rafTimeout | 使用 `requestAnimationFrame` 实现的延迟 `setTimeout` 或间隔 `setInterval` 调用函数 | (fn: Function, delay: number = 0, interval: boolean = false) => \{ id: number } |
289
+ | rafTimeout | 基于 `requestAnimationFrame` 实现的延时 / 间歇调用函数,与 `setTimeout` / `setInterval` 不等价 | (fn: Function, delay: number = 0, interval: boolean = false) => \{ id: number } |
284
290
  | cancelRaf | 用于取消 `rafTimeout` 函数 | (raf: { id: number }) => void |
285
291
  | throttle | 节流函数 | (fn: Function, delay: number = 300) => Function |
286
292
  | debounce | 防抖函数 | (fn: Function, delay: number = 300) => Function |