vue-amazing-ui 2.0.2 → 2.0.3
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 -4
- package/README.zh-CN.md +1 -4
- package/dist/index.iife.js +7 -7
- package/dist/index.js +349 -333
- package/dist/index.umd.cjs +13 -13
- package/dist/style.css +1 -1
- package/es/avatar/Avatar.css +1 -1
- package/es/avatar/Avatar.vue.js +1 -1
- package/es/avatar/Avatar.vue2.js +9 -9
- package/es/breadcrumb/Breadcrumb.css +1 -1
- package/es/breadcrumb/Breadcrumb.d.ts +1 -0
- package/es/breadcrumb/Breadcrumb.vue.js +2 -2
- package/es/breadcrumb/Breadcrumb.vue2.js +25 -22
- package/es/breadcrumb/index.d.ts +1 -0
- package/es/checkbox/Checkbox.css +1 -1
- package/es/checkbox/Checkbox.d.ts +2 -0
- package/es/checkbox/Checkbox.vue.js +2 -2
- package/es/checkbox/Checkbox.vue2.js +36 -34
- package/es/checkbox/index.d.ts +2 -0
- package/es/countdown/Countdown.css +1 -1
- package/es/countdown/Countdown.d.ts +2 -2
- package/es/countdown/Countdown.vue.js +2 -2
- package/es/countdown/Countdown.vue2.js +16 -16
- package/es/countdown/index.d.ts +3 -3
- package/es/inputsearch/InputSearch.css +1 -1
- package/es/inputsearch/InputSearch.d.ts +1 -0
- package/es/inputsearch/InputSearch.vue.js +2 -2
- package/es/inputsearch/InputSearch.vue2.js +39 -37
- package/es/inputsearch/index.d.ts +1 -0
- package/es/list/listitem/ListItem.css +1 -1
- package/es/list/listitem/ListItem.vue.js +1 -1
- package/es/radio/Radio.css +1 -1
- package/es/radio/Radio.d.ts +4 -0
- package/es/radio/Radio.vue.js +2 -2
- package/es/radio/Radio.vue2.js +23 -19
- package/es/radio/index.d.ts +4 -0
- package/es/rate/Rate.css +1 -1
- package/es/rate/Rate.d.ts +7 -2
- package/es/rate/Rate.vue.js +2 -2
- package/es/rate/Rate.vue2.js +29 -26
- package/es/rate/index.d.ts +7 -2
- package/es/segmented/Segmented.css +1 -1
- package/es/segmented/Segmented.d.ts +2 -0
- package/es/segmented/Segmented.vue.js +2 -2
- package/es/segmented/Segmented.vue2.js +14 -12
- package/es/segmented/index.d.ts +2 -0
- package/es/upload/Upload.css +1 -1
- package/es/upload/Upload.d.ts +1 -1
- package/es/upload/Upload.vue.js +2 -2
- package/es/upload/Upload.vue2.js +1 -1
- package/es/upload/index.d.ts +1 -1
- package/es/utils/resolvers.d.ts +1 -1
- package/es/utils/resolvers.js +5 -5
- 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/breadcrumb/Breadcrumb.css +1 -1
- package/lib/breadcrumb/Breadcrumb.d.ts +1 -0
- package/lib/breadcrumb/Breadcrumb.vue.cjs +1 -1
- package/lib/breadcrumb/Breadcrumb.vue2.cjs +1 -1
- package/lib/breadcrumb/index.d.ts +1 -0
- package/lib/checkbox/Checkbox.css +1 -1
- package/lib/checkbox/Checkbox.d.ts +2 -0
- package/lib/checkbox/Checkbox.vue.cjs +1 -1
- package/lib/checkbox/Checkbox.vue2.cjs +1 -1
- package/lib/checkbox/index.d.ts +2 -0
- package/lib/countdown/Countdown.css +1 -1
- package/lib/countdown/Countdown.d.ts +2 -2
- package/lib/countdown/Countdown.vue.cjs +1 -1
- package/lib/countdown/Countdown.vue2.cjs +1 -1
- package/lib/countdown/index.d.ts +3 -3
- package/lib/inputsearch/InputSearch.css +1 -1
- package/lib/inputsearch/InputSearch.d.ts +1 -0
- package/lib/inputsearch/InputSearch.vue.cjs +1 -1
- package/lib/inputsearch/InputSearch.vue2.cjs +1 -1
- package/lib/inputsearch/index.d.ts +1 -0
- package/lib/list/listitem/ListItem.css +1 -1
- package/lib/list/listitem/ListItem.vue.cjs +1 -1
- package/lib/radio/Radio.css +1 -1
- package/lib/radio/Radio.d.ts +4 -0
- package/lib/radio/Radio.vue.cjs +1 -1
- package/lib/radio/Radio.vue2.cjs +1 -1
- package/lib/radio/index.d.ts +4 -0
- package/lib/rate/Rate.css +1 -1
- package/lib/rate/Rate.d.ts +7 -2
- package/lib/rate/Rate.vue.cjs +1 -1
- package/lib/rate/Rate.vue2.cjs +1 -1
- package/lib/rate/index.d.ts +7 -2
- package/lib/segmented/Segmented.css +1 -1
- package/lib/segmented/Segmented.d.ts +2 -0
- package/lib/segmented/Segmented.vue.cjs +1 -1
- package/lib/segmented/Segmented.vue2.cjs +1 -1
- package/lib/segmented/index.d.ts +2 -0
- package/lib/upload/Upload.css +1 -1
- package/lib/upload/Upload.d.ts +1 -1
- package/lib/upload/Upload.vue.cjs +1 -1
- package/lib/upload/Upload.vue2.cjs +1 -1
- package/lib/upload/index.d.ts +1 -1
- package/lib/utils/resolvers.cjs +1 -1
- package/lib/utils/resolvers.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -197,10 +197,7 @@ Then, you can directly use all components from `vue-amazing-ui` in your code.
|
|
|
197
197
|
|
|
198
198
|
```vue
|
|
199
199
|
<script setup lang="ts">
|
|
200
|
-
import { Button } from 'vue-amazing-ui'
|
|
201
200
|
import type { ButtonProps } from 'vue-amazing-ui'
|
|
202
|
-
import 'vue-amazing-ui/es/button/Button.css'
|
|
203
|
-
|
|
204
201
|
const shape = ref<ButtonProps['shape']>('default')
|
|
205
202
|
</script>
|
|
206
203
|
<template>
|
|
@@ -299,7 +296,7 @@ Watermark | 水印
|
|
|
299
296
|
## Functions
|
|
300
297
|
|
|
301
298
|
Name | Description | Type
|
|
302
|
-
|
|
299
|
+
:-- | :-- | :--
|
|
303
300
|
dateFormat | Format date-time string function | (value: number | string | Date = Date.now(), format: string = 'YYYY-MM-DD HH:mm:ss') => string
|
|
304
301
|
formatNumber | Number formatting function | (value: number | string, precision: number = 2, separator: string = ',', decimal: string = '.', prefix?: string, suffix?: string) => string
|
|
305
302
|
rafTimeout | Function to implement `setTimeout` or `setInterval` using `requestAnimationFrame` | (fn: Function, delay: number = 0, interval: boolean = false) => object
|
package/README.zh-CN.md
CHANGED
|
@@ -197,10 +197,7 @@ export default defineConfig({
|
|
|
197
197
|
|
|
198
198
|
```vue
|
|
199
199
|
<script setup lang="ts">
|
|
200
|
-
import { Button } from 'vue-amazing-ui'
|
|
201
200
|
import type { ButtonProps } from 'vue-amazing-ui'
|
|
202
|
-
import 'vue-amazing-ui/es/button/Button.css'
|
|
203
|
-
|
|
204
201
|
const shape = ref<ButtonProps['shape']>('default')
|
|
205
202
|
</script>
|
|
206
203
|
<template>
|
|
@@ -299,7 +296,7 @@ Watermark | 水印
|
|
|
299
296
|
## 工具函数
|
|
300
297
|
|
|
301
298
|
名称 | 说明 | 类型
|
|
302
|
-
|
|
299
|
+
:-- | :-- | :--
|
|
303
300
|
dateFormat | 格式化日期时间字符串函数 | (value: number | string | Date = Date.now(), format: string = 'YYYY-MM-DD HH:mm:ss') => string
|
|
304
301
|
formatNumber | 数字格式化函数 | (value: number | string, precision: number = 2, separator: string = ',', decimal: string = '.', prefix?: string, suffix?: string) => string
|
|
305
302
|
rafTimeout | 使用 `requestAnimationFrame` 实现的 `setTimeout` 或 `setInterval` 调用函数 | (fn: Function, delay: number = 0, interval: boolean = false) => object
|