uview-plus 3.1.36 → 3.1.37

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 (63) hide show
  1. package/changelog.md +2 -0
  2. package/components/u-action-sheet/u-action-sheet.vue +1 -0
  3. package/components/u-album/u-album.vue +1 -0
  4. package/components/u-alert/u-alert.vue +1 -0
  5. package/components/u-avatar/u-avatar.vue +1 -0
  6. package/components/u-avatar-group/u-avatar-group.vue +1 -0
  7. package/components/u-back-top/u-back-top.vue +2 -1
  8. package/components/u-badge/u-badge.vue +1 -1
  9. package/components/u-calendar/u-calendar.vue +1 -0
  10. package/components/u-car-keyboard/u-car-keyboard.vue +312 -311
  11. package/components/u-cell/u-cell.vue +1 -1
  12. package/components/u-cell-group/u-cell-group.vue +1 -1
  13. package/components/u-checkbox/u-checkbox.vue +2 -1
  14. package/components/u-code/u-code.vue +1 -0
  15. package/components/u-code-input/props.js +13 -5
  16. package/components/u-code-input/u-code-input.vue +8 -2
  17. package/components/u-col/u-col.vue +1 -0
  18. package/components/u-collapse/u-collapse.vue +1 -0
  19. package/components/u-column-notice/u-column-notice.vue +1 -0
  20. package/components/u-count-down/u-count-down.vue +164 -163
  21. package/components/u-count-to/u-count-to.vue +1 -0
  22. package/components/u-divider/u-divider.vue +1 -0
  23. package/components/u-dropdown/u-dropdown.vue +127 -129
  24. package/components/u-form-item/u-form-item.vue +1 -0
  25. package/components/u-image/u-image.vue +1 -1
  26. package/components/u-index-anchor/u-index-anchor.vue +1 -1
  27. package/components/u-index-item/u-index-item.vue +1 -1
  28. package/components/u-index-list/u-index-list.vue +1 -1
  29. package/components/u-input/u-input.vue +3 -3
  30. package/components/u-keyboard/u-keyboard.vue +1 -0
  31. package/components/u-link/u-link.vue +1 -0
  32. package/components/u-list/u-list.vue +1 -0
  33. package/components/u-loadmore/u-loadmore.vue +1 -0
  34. package/components/u-modal/u-modal.vue +230 -229
  35. package/components/u-navbar/u-navbar.vue +1 -1
  36. package/components/u-no-network/u-no-network.vue +1 -0
  37. package/components/u-notice-bar/u-notice-bar.vue +1 -0
  38. package/components/u-number-box/u-number-box.vue +1 -1
  39. package/components/u-number-keyboard/u-number-keyboard.vue +1 -1
  40. package/components/u-overlay/u-overlay.vue +1 -0
  41. package/components/u-parse/node/node.vue +2 -2
  42. package/components/u-parse/parser.js +1333 -1333
  43. package/components/u-parse/u-parse.vue +3 -3
  44. package/components/u-popup/u-popup.vue +307 -306
  45. package/components/u-radio/u-radio.vue +1 -1
  46. package/components/u-read-more/u-read-more.vue +1 -0
  47. package/components/u-row/u-row.vue +1 -0
  48. package/components/u-row-notice/u-row-notice.vue +1 -0
  49. package/components/u-scroll-list/u-scroll-list.vue +1 -0
  50. package/components/u-search/u-search.vue +6 -2
  51. package/components/u-slider/props.js +13 -5
  52. package/components/u-slider/u-slider.vue +66 -55
  53. package/components/u-status-bar/u-status-bar.vue +1 -1
  54. package/components/u-steps/u-steps.vue +1 -1
  55. package/components/u-steps-item/u-steps-item.vue +1 -1
  56. package/components/u-subsection/u-subsection.vue +1 -0
  57. package/components/u-swiper/u-swiper.vue +10 -9
  58. package/components/u-tabbar-item/u-tabbar-item.vue +1 -0
  59. package/components/u-tag/u-tag.vue +362 -361
  60. package/components/u-toolbar/u-toolbar.vue +1 -0
  61. package/components/u-tooltip/u-tooltip.vue +1 -0
  62. package/components/u-upload/u-upload.vue +1 -1
  63. package/package.json +1 -1
package/changelog.md CHANGED
@@ -1,3 +1,5 @@
1
+ ## 3.1.37(2023-09-13)
2
+ 完善emits定义及修复code-input双向数据绑定
1
3
  ## 3.1.36(2023-08-08)
2
4
  修复富文本事件名称大小写
3
5
  ## 3.1.35(2023-08-02)
@@ -166,6 +166,7 @@
166
166
  }
167
167
  },
168
168
  },
169
+ emits: ["close", "select"],
169
170
  methods: {
170
171
  closeHandler() {
171
172
  // 允许点击遮罩关闭时,才发出close事件
@@ -104,6 +104,7 @@ export default {
104
104
  }
105
105
  }
106
106
  },
107
+ emits: ["albumWidth"],
107
108
  computed: {
108
109
  imageStyle() {
109
110
  return (index1, index2) => {
@@ -115,6 +115,7 @@
115
115
  }
116
116
  }
117
117
  },
118
+ emits: ["click"],
118
119
  methods: {
119
120
  // 点击内容
120
121
  clickHandler() {
@@ -121,6 +121,7 @@
121
121
  created() {
122
122
  this.init()
123
123
  },
124
+ emits: ["click"],
124
125
  methods: {
125
126
  init() {
126
127
  // 目前只有这几个小程序平台具有open-data标签
@@ -65,6 +65,7 @@
65
65
  return this.urls.slice(0, this.maxCount)
66
66
  }
67
67
  },
68
+ emits: ["showMore"],
68
69
  methods: {
69
70
  clickHandler() {
70
71
  this.$emit('showMore')
@@ -33,7 +33,7 @@
33
33
  /**
34
34
  * backTop 返回顶部
35
35
  * @description 本组件一个用于长页面,滑动一定距离后,出现返回顶部按钮,方便快速返回顶部的场景。
36
- * @tutorial https://uviewui.com/components/backTop.html
36
+ * @tutorial https://uiadmin.net/uview-plus/components/backTop.html
37
37
  *
38
38
  * @property {String} mode 返回顶部的形状,circle-圆形,square-方形 (默认 'circle' )
39
39
  * @property {String} icon 自定义图标 (默认 'arrow-upward' ) 见官方文档示例
@@ -85,6 +85,7 @@
85
85
  return uni.$u.deepMerge(style, uni.$u.addStyle(this.customStyle))
86
86
  }
87
87
  },
88
+ emits: ["click"],
88
89
  methods: {
89
90
  backToTop() {
90
91
  // #ifdef APP-NVUE
@@ -14,7 +14,7 @@
14
14
  /**
15
15
  * badge 徽标数
16
16
  * @description 该组件一般用于图标右上角显示未读的消息数量,提示用户点击,有圆点和圆包含文字两种形式。
17
- * @tutorial https://uviewui.com/components/badge.html
17
+ * @tutorial https://uiadmin.net/uview-plus/components/badge.html
18
18
  *
19
19
  * @property {Boolean} isDot 是否显示圆点 (默认 false )
20
20
  * @property {String | Number} value 显示的内容
@@ -192,6 +192,7 @@ export default {
192
192
  this.start = Date.now()
193
193
  this.init()
194
194
  },
195
+ emits: ["confirm", "close"],
195
196
  methods: {
196
197
  // 在微信小程序中,不支持将函数当做props参数,故只能通过ref形式调用
197
198
  setFormatter(e) {