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.
- package/LICENSE +21 -0
- package/README.md +7 -1
- package/README.zh-CN.md +7 -1
- package/dist/index.iife.js +82 -82
- package/dist/index.js +4591 -4587
- package/dist/index.umd.cjs +72 -72
- package/dist/style.css +1 -1
- package/es/alert/Alert.css +1 -1
- package/es/alert/Alert.vue.js +1 -1
- package/es/alert/Alert.vue2.js +8 -8
- package/es/auto-complete/AutoComplete.css +1 -1
- package/es/auto-complete/AutoComplete.vue2.js +21 -30
- package/es/avatar/Avatar.css +1 -1
- package/es/avatar/Avatar.vue.js +2 -2
- package/es/avatar/Avatar.vue2.js +13 -13
- package/es/badge/Badge.css +1 -1
- package/es/badge/Badge.vue2.js +4 -4
- package/es/button/Button.css +1 -1
- package/es/carousel/Carousel.css +1 -1
- package/es/carousel/Carousel.vue.js +1 -1
- package/es/carousel/Carousel.vue2.js +115 -114
- package/es/collapse/Collapse.css +1 -1
- package/es/collapse/Collapse.vue.js +3 -3
- package/es/collapse/Collapse.vue2.js +1 -1
- package/es/color-picker/ColorPicker.css +1 -1
- package/es/color-picker/ColorPicker.d.ts +6 -10
- package/es/color-picker/ColorPicker.vue.js +2 -2
- package/es/color-picker/ColorPicker.vue2.js +3 -3
- package/es/color-picker/index.d.ts +3 -5
- package/es/config-provider/ConfigProvider.vue.js +10 -10
- package/es/countdown/Countdown.css +1 -1
- package/es/countdown/Countdown.vue.js +2 -2
- package/es/countdown/Countdown.vue2.js +28 -26
- package/es/date-picker/DatePicker.css +1 -1
- package/es/descriptions/descriptions/Descriptions.css +1 -1
- package/es/descriptions/descriptions/Descriptions.vue.js +2 -2
- package/es/descriptions/descriptions/Descriptions.vue2.js +35 -35
- package/es/dialog/Dialog.vue2.js +2 -2
- package/es/drawer/Drawer.css +1 -1
- package/es/drawer/Drawer.vue.js +2 -2
- package/es/drawer/Drawer.vue2.js +2 -2
- package/es/ellipsis/Ellipsis.css +1 -1
- package/es/ellipsis/Ellipsis.d.ts +7 -11
- package/es/ellipsis/Ellipsis.vue.js +2 -2
- package/es/ellipsis/Ellipsis.vue2.js +37 -35
- package/es/ellipsis/index.d.ts +6 -8
- package/es/empty/Empty.vue2.js +6 -6
- package/es/float-button/FloatButton.vue2.js +2 -2
- package/es/grid/col/Col.css +1 -1
- package/es/grid/col/Col.vue.js +2 -2
- package/es/grid/col/Col.vue2.js +14 -14
- package/es/grid/row/Row.css +1 -1
- package/es/grid/row/Row.vue.js +1 -1
- package/es/grid/row/Row.vue2.js +7 -7
- package/es/image/Image.css +1 -1
- package/es/input-number/InputNumber.css +1 -1
- package/es/input-number/InputNumber.vue.js +2 -2
- package/es/input-number/InputNumber.vue2.js +74 -72
- package/es/list/list/List.vue2.js +5 -5
- package/es/loading-bar/LoadingBar.css +1 -1
- package/es/loading-bar/LoadingBar.vue.js +3 -3
- package/es/loading-bar/LoadingBar.vue2.js +1 -1
- package/es/modal/Modal.css +1 -1
- package/es/modal/Modal.vue.js +2 -2
- package/es/modal/Modal.vue2.js +3 -3
- package/es/notification/Notification.css +1 -1
- package/es/pagination/Pagination.css +1 -1
- package/es/pagination/Pagination.vue.js +2 -2
- package/es/popconfirm/Popconfirm.d.ts +6 -10
- package/es/popconfirm/index.d.ts +3 -5
- package/es/qr-code/QRCode.css +1 -1
- package/es/qr-code/QRCode.vue.js +2 -2
- package/es/qr-code/QRCode.vue2.js +7 -7
- package/es/rate/Rate.css +1 -1
- package/es/rate/Rate.vue.js +1 -1
- package/es/rate/Rate.vue2.js +25 -25
- package/es/scrollbar/Scrollbar.css +1 -1
- package/es/scrollbar/Scrollbar.vue.js +2 -2
- package/es/scrollbar/Scrollbar.vue2.js +53 -53
- package/es/segmented/Segmented.css +1 -1
- package/es/segmented/Segmented.vue.js +4 -4
- package/es/segmented/Segmented.vue2.js +1 -1
- package/es/select/Select.css +1 -1
- package/es/select/Select.vue.js +1 -1
- package/es/select/Select.vue2.js +154 -142
- package/es/skeleton/Skeleton.vue2.js +3 -3
- package/es/slider/Slider.css +1 -1
- package/es/slider/Slider.vue.js +2 -2
- package/es/slider/Slider.vue2.js +99 -97
- package/es/spin/Spin.css +1 -1
- package/es/swiper/Swiper.css +1 -1
- package/es/switch/Switch.css +1 -1
- package/es/table/Table.css +1 -1
- package/es/table/Table.d.ts +28 -44
- package/es/table/Table.vue2.js +14 -28
- package/es/tabs/Tabs.css +1 -1
- package/es/tabs/Tabs.vue.js +2 -2
- package/es/tabs/Tabs.vue2.js +32 -32
- package/es/tag/Tag.css +1 -1
- package/es/tag/Tag.vue.js +1 -1
- package/es/tag/Tag.vue2.js +46 -44
- package/es/text-scroll/TextScroll.css +1 -1
- package/es/text-scroll/TextScroll.vue.js +1 -1
- package/es/text-scroll/TextScroll.vue2.js +94 -96
- package/es/textarea/Textarea.css +1 -1
- package/es/textarea/Textarea.vue.js +1 -1
- package/es/textarea/Textarea.vue2.js +12 -12
- package/es/timeline/Timeline.css +1 -1
- package/es/timeline/Timeline.vue.js +2 -2
- package/es/timeline/Timeline.vue2.js +1 -1
- package/es/tooltip/Tooltip.css +1 -1
- package/es/upload/Upload.css +1 -1
- package/es/upload/Upload.d.ts +6 -10
- package/es/upload/Upload.vue.js +2 -2
- package/es/upload/Upload.vue2.js +25 -25
- package/es/upload/index.d.ts +3 -5
- package/es/utils/function.js +5 -5
- package/es/utils/hooks.js +48 -44
- package/es/utils/observers.js +30 -30
- package/es/video/Video.css +1 -1
- package/es/video/Video.vue.js +2 -2
- package/es/video/Video.vue2.js +21 -21
- package/es/waterfall/Waterfall.css +1 -1
- package/es/waterfall/Waterfall.vue.js +1 -1
- package/es/waterfall/Waterfall.vue2.js +2 -2
- package/es/watermark/Watermark.vue.js +16 -16
- package/lib/alert/Alert.css +1 -1
- package/lib/alert/Alert.vue.cjs +1 -1
- package/lib/alert/Alert.vue2.cjs +1 -1
- package/lib/auto-complete/AutoComplete.css +1 -1
- package/lib/auto-complete/AutoComplete.vue2.cjs +1 -1
- package/lib/avatar/Avatar.css +1 -1
- package/lib/avatar/Avatar.vue.cjs +1 -1
- package/lib/avatar/Avatar.vue2.cjs +1 -1
- package/lib/badge/Badge.css +1 -1
- package/lib/badge/Badge.vue2.cjs +1 -1
- package/lib/button/Button.css +1 -1
- package/lib/carousel/Carousel.css +1 -1
- package/lib/carousel/Carousel.vue.cjs +1 -1
- package/lib/carousel/Carousel.vue2.cjs +2 -2
- package/lib/collapse/Collapse.css +1 -1
- package/lib/collapse/Collapse.vue.cjs +1 -1
- package/lib/collapse/Collapse.vue2.cjs +1 -1
- package/lib/color-picker/ColorPicker.css +1 -1
- package/lib/color-picker/ColorPicker.d.ts +6 -10
- package/lib/color-picker/ColorPicker.vue.cjs +1 -1
- package/lib/color-picker/ColorPicker.vue2.cjs +1 -1
- package/lib/color-picker/index.d.ts +3 -5
- package/lib/config-provider/ConfigProvider.vue.cjs +1 -1
- package/lib/countdown/Countdown.css +1 -1
- package/lib/countdown/Countdown.vue.cjs +1 -1
- package/lib/countdown/Countdown.vue2.cjs +1 -1
- package/lib/date-picker/DatePicker.css +1 -1
- package/lib/descriptions/descriptions/Descriptions.css +1 -1
- package/lib/descriptions/descriptions/Descriptions.vue.cjs +1 -1
- package/lib/descriptions/descriptions/Descriptions.vue2.cjs +1 -1
- package/lib/dialog/Dialog.vue2.cjs +1 -1
- package/lib/drawer/Drawer.css +1 -1
- package/lib/drawer/Drawer.vue.cjs +1 -1
- package/lib/drawer/Drawer.vue2.cjs +1 -1
- package/lib/ellipsis/Ellipsis.css +1 -1
- package/lib/ellipsis/Ellipsis.d.ts +7 -11
- package/lib/ellipsis/Ellipsis.vue.cjs +1 -1
- package/lib/ellipsis/Ellipsis.vue2.cjs +1 -1
- package/lib/ellipsis/index.d.ts +6 -8
- package/lib/empty/Empty.vue2.cjs +1 -1
- package/lib/float-button/FloatButton.vue2.cjs +1 -1
- package/lib/grid/col/Col.css +1 -1
- package/lib/grid/col/Col.vue.cjs +1 -1
- package/lib/grid/col/Col.vue2.cjs +1 -1
- package/lib/grid/row/Row.css +1 -1
- package/lib/grid/row/Row.vue.cjs +1 -1
- package/lib/grid/row/Row.vue2.cjs +1 -1
- package/lib/image/Image.css +1 -1
- package/lib/input-number/InputNumber.css +1 -1
- package/lib/input-number/InputNumber.vue.cjs +1 -1
- package/lib/input-number/InputNumber.vue2.cjs +7 -7
- package/lib/list/list/List.vue2.cjs +1 -1
- package/lib/loading-bar/LoadingBar.css +1 -1
- package/lib/loading-bar/LoadingBar.vue.cjs +1 -1
- package/lib/loading-bar/LoadingBar.vue2.cjs +1 -1
- package/lib/modal/Modal.css +1 -1
- package/lib/modal/Modal.vue.cjs +1 -1
- package/lib/modal/Modal.vue2.cjs +1 -1
- package/lib/notification/Notification.css +1 -1
- package/lib/pagination/Pagination.css +1 -1
- package/lib/pagination/Pagination.vue.cjs +1 -1
- package/lib/popconfirm/Popconfirm.d.ts +6 -10
- package/lib/popconfirm/index.d.ts +3 -5
- package/lib/qr-code/QRCode.css +1 -1
- package/lib/qr-code/QRCode.vue.cjs +1 -1
- package/lib/qr-code/QRCode.vue2.cjs +1 -1
- package/lib/rate/Rate.css +1 -1
- package/lib/rate/Rate.vue.cjs +1 -1
- package/lib/rate/Rate.vue2.cjs +1 -1
- package/lib/scrollbar/Scrollbar.css +1 -1
- package/lib/scrollbar/Scrollbar.vue.cjs +1 -1
- package/lib/scrollbar/Scrollbar.vue2.cjs +5 -5
- package/lib/segmented/Segmented.css +1 -1
- package/lib/segmented/Segmented.vue.cjs +1 -1
- package/lib/segmented/Segmented.vue2.cjs +1 -1
- package/lib/select/Select.css +1 -1
- package/lib/select/Select.vue.cjs +1 -1
- package/lib/select/Select.vue2.cjs +4 -4
- package/lib/skeleton/Skeleton.vue2.cjs +1 -1
- package/lib/slider/Slider.css +1 -1
- package/lib/slider/Slider.vue.cjs +1 -1
- package/lib/slider/Slider.vue2.cjs +2 -2
- package/lib/spin/Spin.css +1 -1
- package/lib/swiper/Swiper.css +1 -1
- package/lib/switch/Switch.css +1 -1
- package/lib/table/Table.css +1 -1
- package/lib/table/Table.d.ts +28 -44
- package/lib/table/Table.vue2.cjs +1 -1
- package/lib/tabs/Tabs.css +1 -1
- package/lib/tabs/Tabs.vue.cjs +1 -1
- package/lib/tabs/Tabs.vue2.cjs +1 -1
- package/lib/tag/Tag.css +1 -1
- package/lib/tag/Tag.vue.cjs +1 -1
- package/lib/tag/Tag.vue2.cjs +1 -1
- package/lib/text-scroll/TextScroll.css +1 -1
- package/lib/text-scroll/TextScroll.vue.cjs +1 -1
- package/lib/text-scroll/TextScroll.vue2.cjs +4 -4
- package/lib/textarea/Textarea.css +1 -1
- package/lib/textarea/Textarea.vue.cjs +1 -1
- package/lib/textarea/Textarea.vue2.cjs +2 -2
- package/lib/timeline/Timeline.css +1 -1
- package/lib/timeline/Timeline.vue.cjs +1 -1
- package/lib/timeline/Timeline.vue2.cjs +1 -1
- package/lib/tooltip/Tooltip.css +1 -1
- package/lib/upload/Upload.css +1 -1
- package/lib/upload/Upload.d.ts +6 -10
- package/lib/upload/Upload.vue.cjs +1 -1
- package/lib/upload/Upload.vue2.cjs +1 -1
- package/lib/upload/index.d.ts +3 -5
- package/lib/utils/function.cjs +1 -1
- package/lib/utils/hooks.cjs +1 -1
- package/lib/utils/observers.cjs +1 -1
- package/lib/video/Video.css +1 -1
- package/lib/video/Video.vue.cjs +1 -1
- package/lib/video/Video.vue2.cjs +2 -2
- package/lib/waterfall/Waterfall.css +1 -1
- package/lib/waterfall/Waterfall.vue.cjs +1 -1
- package/lib/waterfall/Waterfall.vue2.cjs +1 -1
- package/lib/watermark/Watermark.vue.cjs +1 -1
- 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 |
|
|
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 |
|
|
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 |
|