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.
Files changed (101) hide show
  1. package/README.md +1 -4
  2. package/README.zh-CN.md +1 -4
  3. package/dist/index.iife.js +7 -7
  4. package/dist/index.js +349 -333
  5. package/dist/index.umd.cjs +13 -13
  6. package/dist/style.css +1 -1
  7. package/es/avatar/Avatar.css +1 -1
  8. package/es/avatar/Avatar.vue.js +1 -1
  9. package/es/avatar/Avatar.vue2.js +9 -9
  10. package/es/breadcrumb/Breadcrumb.css +1 -1
  11. package/es/breadcrumb/Breadcrumb.d.ts +1 -0
  12. package/es/breadcrumb/Breadcrumb.vue.js +2 -2
  13. package/es/breadcrumb/Breadcrumb.vue2.js +25 -22
  14. package/es/breadcrumb/index.d.ts +1 -0
  15. package/es/checkbox/Checkbox.css +1 -1
  16. package/es/checkbox/Checkbox.d.ts +2 -0
  17. package/es/checkbox/Checkbox.vue.js +2 -2
  18. package/es/checkbox/Checkbox.vue2.js +36 -34
  19. package/es/checkbox/index.d.ts +2 -0
  20. package/es/countdown/Countdown.css +1 -1
  21. package/es/countdown/Countdown.d.ts +2 -2
  22. package/es/countdown/Countdown.vue.js +2 -2
  23. package/es/countdown/Countdown.vue2.js +16 -16
  24. package/es/countdown/index.d.ts +3 -3
  25. package/es/inputsearch/InputSearch.css +1 -1
  26. package/es/inputsearch/InputSearch.d.ts +1 -0
  27. package/es/inputsearch/InputSearch.vue.js +2 -2
  28. package/es/inputsearch/InputSearch.vue2.js +39 -37
  29. package/es/inputsearch/index.d.ts +1 -0
  30. package/es/list/listitem/ListItem.css +1 -1
  31. package/es/list/listitem/ListItem.vue.js +1 -1
  32. package/es/radio/Radio.css +1 -1
  33. package/es/radio/Radio.d.ts +4 -0
  34. package/es/radio/Radio.vue.js +2 -2
  35. package/es/radio/Radio.vue2.js +23 -19
  36. package/es/radio/index.d.ts +4 -0
  37. package/es/rate/Rate.css +1 -1
  38. package/es/rate/Rate.d.ts +7 -2
  39. package/es/rate/Rate.vue.js +2 -2
  40. package/es/rate/Rate.vue2.js +29 -26
  41. package/es/rate/index.d.ts +7 -2
  42. package/es/segmented/Segmented.css +1 -1
  43. package/es/segmented/Segmented.d.ts +2 -0
  44. package/es/segmented/Segmented.vue.js +2 -2
  45. package/es/segmented/Segmented.vue2.js +14 -12
  46. package/es/segmented/index.d.ts +2 -0
  47. package/es/upload/Upload.css +1 -1
  48. package/es/upload/Upload.d.ts +1 -1
  49. package/es/upload/Upload.vue.js +2 -2
  50. package/es/upload/Upload.vue2.js +1 -1
  51. package/es/upload/index.d.ts +1 -1
  52. package/es/utils/resolvers.d.ts +1 -1
  53. package/es/utils/resolvers.js +5 -5
  54. package/lib/avatar/Avatar.css +1 -1
  55. package/lib/avatar/Avatar.vue.cjs +1 -1
  56. package/lib/avatar/Avatar.vue2.cjs +1 -1
  57. package/lib/breadcrumb/Breadcrumb.css +1 -1
  58. package/lib/breadcrumb/Breadcrumb.d.ts +1 -0
  59. package/lib/breadcrumb/Breadcrumb.vue.cjs +1 -1
  60. package/lib/breadcrumb/Breadcrumb.vue2.cjs +1 -1
  61. package/lib/breadcrumb/index.d.ts +1 -0
  62. package/lib/checkbox/Checkbox.css +1 -1
  63. package/lib/checkbox/Checkbox.d.ts +2 -0
  64. package/lib/checkbox/Checkbox.vue.cjs +1 -1
  65. package/lib/checkbox/Checkbox.vue2.cjs +1 -1
  66. package/lib/checkbox/index.d.ts +2 -0
  67. package/lib/countdown/Countdown.css +1 -1
  68. package/lib/countdown/Countdown.d.ts +2 -2
  69. package/lib/countdown/Countdown.vue.cjs +1 -1
  70. package/lib/countdown/Countdown.vue2.cjs +1 -1
  71. package/lib/countdown/index.d.ts +3 -3
  72. package/lib/inputsearch/InputSearch.css +1 -1
  73. package/lib/inputsearch/InputSearch.d.ts +1 -0
  74. package/lib/inputsearch/InputSearch.vue.cjs +1 -1
  75. package/lib/inputsearch/InputSearch.vue2.cjs +1 -1
  76. package/lib/inputsearch/index.d.ts +1 -0
  77. package/lib/list/listitem/ListItem.css +1 -1
  78. package/lib/list/listitem/ListItem.vue.cjs +1 -1
  79. package/lib/radio/Radio.css +1 -1
  80. package/lib/radio/Radio.d.ts +4 -0
  81. package/lib/radio/Radio.vue.cjs +1 -1
  82. package/lib/radio/Radio.vue2.cjs +1 -1
  83. package/lib/radio/index.d.ts +4 -0
  84. package/lib/rate/Rate.css +1 -1
  85. package/lib/rate/Rate.d.ts +7 -2
  86. package/lib/rate/Rate.vue.cjs +1 -1
  87. package/lib/rate/Rate.vue2.cjs +1 -1
  88. package/lib/rate/index.d.ts +7 -2
  89. package/lib/segmented/Segmented.css +1 -1
  90. package/lib/segmented/Segmented.d.ts +2 -0
  91. package/lib/segmented/Segmented.vue.cjs +1 -1
  92. package/lib/segmented/Segmented.vue2.cjs +1 -1
  93. package/lib/segmented/index.d.ts +2 -0
  94. package/lib/upload/Upload.css +1 -1
  95. package/lib/upload/Upload.d.ts +1 -1
  96. package/lib/upload/Upload.vue.cjs +1 -1
  97. package/lib/upload/Upload.vue2.cjs +1 -1
  98. package/lib/upload/index.d.ts +1 -1
  99. package/lib/utils/resolvers.cjs +1 -1
  100. package/lib/utils/resolvers.d.ts +1 -1
  101. 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 &#124; string &#124; Date = Date.now(), format: string = 'YYYY-MM-DD HH:mm:ss') => string
304
301
  formatNumber | Number formatting function | (value: number &#124; 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 &#124; string &#124; Date = Date.now(), format: string = 'YYYY-MM-DD HH:mm:ss') => string
304
301
  formatNumber | 数字格式化函数 | (value: number &#124; 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