uview-plus 3.4.36 → 3.4.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 (29) hide show
  1. package/changelog.md +5 -0
  2. package/components/u-datetime-picker/u-datetime-picker.vue +1 -1
  3. package/components/u-modal/modal.js +1 -0
  4. package/components/u-modal/props.js +5 -0
  5. package/components/u-modal/u-modal.vue +2 -1
  6. package/libs/util/gcanvas/bridge/bridge-weex.js +0 -0
  7. package/libs/util/gcanvas/context-2d/FillStyleLinearGradient.js +0 -0
  8. package/libs/util/gcanvas/context-2d/FillStylePattern.js +0 -0
  9. package/libs/util/gcanvas/context-2d/FillStyleRadialGradient.js +0 -0
  10. package/libs/util/gcanvas/context-2d/RenderingContext.js +0 -0
  11. package/libs/util/gcanvas/context-webgl/ActiveInfo.js +0 -0
  12. package/libs/util/gcanvas/context-webgl/Buffer.js +0 -0
  13. package/libs/util/gcanvas/context-webgl/Framebuffer.js +0 -0
  14. package/libs/util/gcanvas/context-webgl/GLenum.js +0 -0
  15. package/libs/util/gcanvas/context-webgl/GLmethod.js +0 -0
  16. package/libs/util/gcanvas/context-webgl/GLtype.js +0 -0
  17. package/libs/util/gcanvas/context-webgl/Program.js +0 -0
  18. package/libs/util/gcanvas/context-webgl/Renderbuffer.js +0 -0
  19. package/libs/util/gcanvas/context-webgl/RenderingContext.js +0 -0
  20. package/libs/util/gcanvas/context-webgl/Shader.js +0 -0
  21. package/libs/util/gcanvas/context-webgl/ShaderPrecisionFormat.js +0 -0
  22. package/libs/util/gcanvas/context-webgl/Texture.js +0 -0
  23. package/libs/util/gcanvas/context-webgl/UniformLocation.js +0 -0
  24. package/libs/util/gcanvas/context-webgl/classUtils.js +0 -0
  25. package/libs/util/gcanvas/env/canvas.js +0 -0
  26. package/libs/util/gcanvas/env/image.js +0 -0
  27. package/libs/util/gcanvas/env/tool.js +0 -0
  28. package/libs/util/gcanvas/index.js +0 -0
  29. package/package.json +1 -1
package/changelog.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 3.4.37(2025-05-29)
2
+ feat: modal支持设置动画时间
3
+
4
+ fix: DatetimePicker v-model 绑定异步设置无效 (#803)
5
+
1
6
  ## 3.4.36(2025-05-28)
2
7
  fix: lazy-load图片为空时显示错误
3
8
 
@@ -131,7 +131,7 @@
131
131
  computed: {
132
132
  // 如果以下这些变量发生了变化,意味着需要重新初始化各列的值
133
133
  propsChange() {
134
- return [this.mode, this.maxDate, this.minDate, this.minHour, this.maxHour, this.minMinute, this.maxMinute, this.filter, ]
134
+ return [this.mode, this.maxDate, this.minDate, this.minHour, this.maxHour, this.minMinute, this.maxMinute, this.filter, this.modelValue]
135
135
  },
136
136
  // input的props
137
137
  inputPropsInner() {
@@ -26,6 +26,7 @@ export default {
26
26
  negativeTop: 0,
27
27
  width: '650rpx',
28
28
  confirmButtonShape: '',
29
+ duration: 400,
29
30
  contentTextAlign: 'left',
30
31
  asyncCloseTip: '操作中...',
31
32
  asyncCancelClose: false,
@@ -82,6 +82,11 @@ export const props = defineMixin({
82
82
  type: String,
83
83
  default: () => defProps.modal.confirmButtonShape
84
84
  },
85
+ // 弹窗动画过度时间
86
+ duration: {
87
+ type: [Number],
88
+ default: defProps.modal.duration
89
+ },
85
90
  // 文案对齐方式
86
91
  contentTextAlign: {
87
92
  type: String,
@@ -11,7 +11,7 @@
11
11
  }"
12
12
  :closeOnClickOverlay="closeOnClickOverlay"
13
13
  :safeAreaInsetBottom="false"
14
- :duration="400"
14
+ :duration="duration"
15
15
  @click="clickHandler"
16
16
  >
17
17
  <view
@@ -118,6 +118,7 @@
118
118
  * @property {String | Number} negativeTop 往上偏移的值,给一个负的margin-top,往上偏移,避免和键盘重合的情况,单位任意,数值则默认为px单位 (默认 0 )
119
119
  * @property {String | Number} width modal宽度,不支持百分比,可以数值,px,rpx单位 (默认 '650rpx' )
120
120
  * @property {String} confirmButtonShape 确认按钮的样式,如设置,将不会显示取消按钮
121
+ * @property {Number} duration 弹窗动画过度时间 (默认 400 )
121
122
  * @event {Function} confirm 点击确认按钮时触发
122
123
  * @event {Function} cancel 点击取消按钮时触发
123
124
  * @event {Function} close 点击遮罩关闭出发,closeOnClickOverlay为true有效
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "id": "uview-plus",
3
3
  "name": "uview-plus",
4
4
  "displayName": "零云®uview-plus3.0重磅发布,全面的Vue3鸿蒙移动组件库。",
5
- "version": "3.4.36",
5
+ "version": "3.4.37",
6
6
  "description": "零云®uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水。",
7
7
  "keywords": [
8
8
  "uview",