vue-amazing-ui 2.7.2 → 2.7.4
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/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/dist/index.iife.js +74 -74
- package/dist/index.js +6540 -6407
- package/dist/index.umd.cjs +93 -93
- package/dist/style.css +1 -1
- package/es/alert/Alert.css +1 -1
- package/es/alert/Alert.d.ts +2 -0
- package/es/alert/Alert.vue.js +1 -1
- package/es/alert/Alert.vue2.js +79 -62
- package/es/alert/index.d.ts +5 -0
- package/es/back-top/BackTop.css +1 -1
- package/es/back-top/BackTop.d.ts +2 -2
- package/es/back-top/BackTop.vue.js +2 -2
- package/es/back-top/BackTop.vue2.js +80 -77
- package/es/back-top/index.d.ts +3 -3
- package/es/badge/Badge.css +1 -1
- package/es/badge/Badge.vue.js +2 -2
- package/es/badge/Badge.vue2.js +57 -47
- package/es/badge/SingleNumber.d.ts +23 -0
- package/es/badge/SingleNumber.js +65 -0
- package/es/checkbox/Checkbox.css +1 -1
- package/es/checkbox/Checkbox.vue.js +2 -2
- package/es/descriptions/descriptions/Descriptions.vue2.js +4 -4
- package/es/dialog/Dialog.css +1 -1
- package/es/dialog/Dialog.d.ts +1 -1
- package/es/dialog/Dialog.vue.js +1 -1
- package/es/dialog/index.d.ts +3 -3
- package/es/modal/Modal.css +1 -1
- package/es/modal/Modal.d.ts +1 -1
- package/es/modal/Modal.vue.js +2 -2
- package/es/modal/index.d.ts +3 -3
- package/es/notification/Notification.css +1 -1
- package/es/notification/Notification.vue.js +2 -2
- package/es/popconfirm/Popconfirm.css +1 -1
- package/es/popconfirm/Popconfirm.vue.js +1 -1
- package/es/popconfirm/Popconfirm.vue2.js +15 -15
- package/es/popover/Popover.css +1 -1
- package/es/popover/Popover.d.ts +0 -2
- package/es/popover/Popover.vue.js +2 -2
- package/es/popover/Popover.vue2.js +18 -20
- package/es/popover/index.d.ts +0 -3
- package/es/radio/Radio.css +1 -1
- package/es/radio/Radio.vue.js +2 -2
- package/es/rate/Rate.d.ts +1 -1
- package/es/rate/index.d.ts +3 -3
- package/es/select/Select.css +1 -1
- package/es/select/Select.vue.js +1 -1
- package/es/select/Select.vue2.js +156 -151
- package/es/statistic/Statistic.css +1 -1
- package/es/statistic/Statistic.d.ts +2 -0
- package/es/statistic/Statistic.vue.js +2 -2
- package/es/statistic/Statistic.vue2.js +27 -24
- package/es/statistic/index.d.ts +3 -0
- package/es/steps/Steps.css +1 -1
- package/es/steps/Steps.vue.js +2 -2
- package/es/timeline/Timeline.css +1 -1
- package/es/timeline/Timeline.vue.js +2 -2
- package/es/tooltip/Tooltip.css +1 -1
- package/es/tooltip/Tooltip.d.ts +2 -4
- package/es/tooltip/Tooltip.vue.js +2 -2
- package/es/tooltip/Tooltip.vue2.js +183 -165
- package/es/utils/format.js +10 -16
- package/es/utils/hooks.js +48 -39
- package/es/utils/observers.js +90 -86
- package/es/utils/resolver.d.ts +1 -1
- package/es/watermark/Watermark.vue.js +71 -61
- package/lib/alert/Alert.css +1 -1
- package/lib/alert/Alert.d.ts +2 -0
- package/lib/alert/Alert.vue.cjs +1 -1
- package/lib/alert/Alert.vue2.cjs +2 -2
- package/lib/alert/index.d.ts +5 -0
- package/lib/back-top/BackTop.css +1 -1
- package/lib/back-top/BackTop.d.ts +2 -2
- package/lib/back-top/BackTop.vue.cjs +1 -1
- package/lib/back-top/BackTop.vue2.cjs +3 -3
- package/lib/back-top/index.d.ts +3 -3
- package/lib/badge/Badge.css +1 -1
- package/lib/badge/Badge.vue.cjs +1 -1
- package/lib/badge/Badge.vue2.cjs +1 -1
- package/lib/badge/SingleNumber.cjs +1 -0
- package/lib/badge/SingleNumber.d.ts +23 -0
- package/lib/checkbox/Checkbox.css +1 -1
- package/lib/checkbox/Checkbox.vue.cjs +1 -1
- package/lib/descriptions/descriptions/Descriptions.vue2.cjs +1 -1
- package/lib/dialog/Dialog.css +1 -1
- package/lib/dialog/Dialog.d.ts +1 -1
- package/lib/dialog/Dialog.vue.cjs +1 -1
- package/lib/dialog/index.d.ts +3 -3
- package/lib/modal/Modal.css +1 -1
- package/lib/modal/Modal.d.ts +1 -1
- package/lib/modal/Modal.vue.cjs +1 -1
- package/lib/modal/index.d.ts +3 -3
- package/lib/notification/Notification.css +1 -1
- package/lib/notification/Notification.vue.cjs +1 -1
- package/lib/popconfirm/Popconfirm.css +1 -1
- package/lib/popconfirm/Popconfirm.vue.cjs +1 -1
- package/lib/popconfirm/Popconfirm.vue2.cjs +1 -1
- package/lib/popover/Popover.css +1 -1
- package/lib/popover/Popover.d.ts +0 -2
- package/lib/popover/Popover.vue.cjs +1 -1
- package/lib/popover/Popover.vue2.cjs +1 -1
- package/lib/popover/index.d.ts +0 -3
- package/lib/radio/Radio.css +1 -1
- package/lib/radio/Radio.vue.cjs +1 -1
- package/lib/rate/Rate.d.ts +1 -1
- package/lib/rate/index.d.ts +3 -3
- 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/statistic/Statistic.css +1 -1
- package/lib/statistic/Statistic.d.ts +2 -0
- package/lib/statistic/Statistic.vue.cjs +1 -1
- package/lib/statistic/Statistic.vue2.cjs +1 -1
- package/lib/statistic/index.d.ts +3 -0
- package/lib/steps/Steps.css +1 -1
- package/lib/steps/Steps.vue.cjs +1 -1
- package/lib/timeline/Timeline.css +1 -1
- package/lib/timeline/Timeline.vue.cjs +1 -1
- package/lib/tooltip/Tooltip.css +1 -1
- package/lib/tooltip/Tooltip.d.ts +2 -4
- package/lib/tooltip/Tooltip.vue.cjs +1 -1
- package/lib/tooltip/Tooltip.vue2.cjs +1 -1
- package/lib/utils/format.cjs +1 -1
- package/lib/utils/hooks.cjs +1 -1
- package/lib/utils/observers.cjs +1 -1
- package/lib/utils/resolver.d.ts +1 -1
- package/lib/watermark/Watermark.vue.cjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -295,7 +295,7 @@ All sponsors will be listed here, thank you very much for your support and spons
|
|
|
295
295
|
| toggleDark | Function to toggle dark mode | () => void |
|
|
296
296
|
| useEventListener | Function to add and remove event listeners using Vue lifecycle hooks | (target: HTMLElement | Window | Document, event: string, callback: Function) => void |
|
|
297
297
|
| useMutationObserver | Function to observe changes in DOM elements using `MutationObserver` | (target: Ref | Ref[] | HTMLElement | HTMLElement[], callback: MutationCallback, options: object = {}) => { start: \() => void, stop: \() => void } |
|
|
298
|
-
| useScroll | Function to monitor the scroll position and state of a target element in real time | (target
|
|
298
|
+
| useScroll | Function to monitor the scroll position and state of a target element in real time | (target?: Ref | HTMLElement | Window | Document, throttleDelay: number = 0, onScroll?: (e: Event) => void, onStop?: (e: Event) => void) => { x: Ref\<number>, xScrollMax: Ref\<number>, y: Ref\<number>, yScrollMax: Ref\<number>, isScrolling: Ref\<boolean>, left: Ref\<boolean>, right: Ref\<boolean>, top: Ref\<boolean>, bottom: Ref\<boolean> } |
|
|
299
299
|
| useFps | Function to monitor the browser's refresh rate (FPS) in real time | () => { fps: Ref\<number> } |
|
|
300
300
|
| useMediaQuery | Function to determine if the current environment matches a specified media query condition | (mediaQuery: string) => { match: Ref\<boolean> } |
|
|
301
301
|
| useResizeObserver | Function to observe changes in the dimensions of DOM elements using `ResizeObserver` | (target: Ref | Ref[] | HTMLElement | HTMLElement[], callback: ResizeObserverCallback, options: object = {}) => { start: \() => void, stop: \() => void } |
|
package/README.zh-CN.md
CHANGED
|
@@ -295,7 +295,7 @@ pnpm docs:dev
|
|
|
295
295
|
| toggleDark | 一键切换暗黑模式函数 | () => void |
|
|
296
296
|
| useEventListener | 使用 `Vue` 的生命周期钩子添加和移除事件监听器 | (target: HTMLElement | Window | Document, event: string, callback: Function) => void |
|
|
297
297
|
| useMutationObserver | 使用 `MutationObserver` 观察 `DOM` 元素的变化 | (target: Ref | Ref[] | HTMLElement | HTMLElement[], callback: MutationCallback, options: object = {}) => { start: \() => void, stop: \() => void } |
|
|
298
|
-
| useScroll | 实时监测目标元素滚动位置及状态 | (target
|
|
298
|
+
| useScroll | 实时监测目标元素滚动位置及状态 | (target?: Ref | HTMLElement | Window | Document, throttleDelay: number = 0, onScroll?: (e: Event) => void, onStop?: (e: Event) => void) => { x: Ref\<number>, xScrollMax: Ref\<number>, y: Ref\<number>, yScrollMax: Ref\<number>, isScrolling: Ref\<boolean>, left: Ref\<boolean>, right: Ref\<boolean>, top: Ref\<boolean>, bottom: Ref\<boolean> } |
|
|
299
299
|
| useFps | 实时监测浏览器刷新率FPS | () => { fps: Ref\<number> } |
|
|
300
300
|
| useMediaQuery | 使用媒体查询来判断当前环境是否符合指定的媒体查询条件 | (mediaQuery: string) => { match: Ref\<boolean> } |
|
|
301
301
|
| useResizeObserver | 使用 `ResizeObserver` 观察 `DOM` 元素尺寸变化 | (target: Ref | Ref[] | HTMLElement | HTMLElement[], callback: ResizeObserverCallback, options: object = {}) => { start: \() => void, stop: \() => void } |
|