uview-plus 3.3.56 → 3.3.60
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/changelog.md +18 -0
- package/components/u-datetime-picker/props.js +4 -0
- package/components/u-datetime-picker/u-datetime-picker.vue +8 -1
- package/components/u-slider/u-slider.vue +3 -3
- package/components/u-status-bar/u-status-bar.vue +5 -2
- package/components/u-tabs/u-tabs.vue +3 -1
- package/libs/util/gcanvas/bridge/bridge-weex.js +0 -0
- package/libs/util/gcanvas/context-2d/FillStyleLinearGradient.js +0 -0
- package/libs/util/gcanvas/context-2d/FillStylePattern.js +0 -0
- package/libs/util/gcanvas/context-2d/FillStyleRadialGradient.js +0 -0
- package/libs/util/gcanvas/context-2d/RenderingContext.js +0 -0
- package/libs/util/gcanvas/context-webgl/ActiveInfo.js +0 -0
- package/libs/util/gcanvas/context-webgl/Buffer.js +0 -0
- package/libs/util/gcanvas/context-webgl/Framebuffer.js +0 -0
- package/libs/util/gcanvas/context-webgl/GLenum.js +0 -0
- package/libs/util/gcanvas/context-webgl/GLmethod.js +0 -0
- package/libs/util/gcanvas/context-webgl/GLtype.js +0 -0
- package/libs/util/gcanvas/context-webgl/Program.js +0 -0
- package/libs/util/gcanvas/context-webgl/Renderbuffer.js +0 -0
- package/libs/util/gcanvas/context-webgl/RenderingContext.js +0 -0
- package/libs/util/gcanvas/context-webgl/Shader.js +0 -0
- package/libs/util/gcanvas/context-webgl/ShaderPrecisionFormat.js +0 -0
- package/libs/util/gcanvas/context-webgl/Texture.js +0 -0
- package/libs/util/gcanvas/context-webgl/UniformLocation.js +0 -0
- package/libs/util/gcanvas/context-webgl/classUtils.js +0 -0
- package/libs/util/gcanvas/env/canvas.js +0 -0
- package/libs/util/gcanvas/env/image.js +0 -0
- package/libs/util/gcanvas/env/tool.js +0 -0
- package/libs/util/gcanvas/index.js +0 -0
- package/package.json +1 -1
- package/types/comps/actionSheet.d.ts +1 -1
package/changelog.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 3.3.60(2024-12-30)
|
|
2
|
+
feat: 日期组件支持禁用
|
|
3
|
+
|
|
4
|
+
fix: ts定义修复 #600
|
|
5
|
+
|
|
6
|
+
feat: Tabs组件选中时增加一个active的class #595
|
|
7
|
+
|
|
8
|
+
## 3.3.59(2024-12-30)
|
|
9
|
+
fix: Property "isH5" was accessed during render
|
|
10
|
+
|
|
11
|
+
## 3.3.58(2024-12-26)
|
|
12
|
+
fix: slider组件change事件传参
|
|
13
|
+
|
|
14
|
+
## 3.3.57(2024-12-23)
|
|
15
|
+
fix: slider组件change事件传参
|
|
16
|
+
|
|
17
|
+
feat: 更新u-picker组件增加当前选中class类名
|
|
18
|
+
|
|
1
19
|
## 3.3.56(2024-12-18)
|
|
2
20
|
feat: 在u-alert组件中添加关闭事件
|
|
3
21
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<view class="u-datetime-picker">
|
|
3
3
|
<view v-if="hasInput" class="u-datetime-picker__has-input"
|
|
4
|
-
@click="
|
|
4
|
+
@click="onShowByClickInput"
|
|
5
5
|
>
|
|
6
6
|
<slot name="trigger" :value="inputValue">
|
|
7
7
|
<up-input
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
:readonly="!!showByClickInput"
|
|
10
10
|
border="surround"
|
|
11
11
|
v-model="inputValue"
|
|
12
|
+
:disabled="disabled"
|
|
12
13
|
></up-input>
|
|
13
14
|
<div class="input-cover">
|
|
14
15
|
</div>
|
|
@@ -461,6 +462,12 @@
|
|
|
461
462
|
[`${type}Hour`]: hour,
|
|
462
463
|
[`${type}Minute`]: minute
|
|
463
464
|
}
|
|
465
|
+
},
|
|
466
|
+
onShowByClickInput(){
|
|
467
|
+
if(!this.disabled){
|
|
468
|
+
this.showByClickInput = !this.showByClickInput
|
|
469
|
+
}
|
|
470
|
+
|
|
464
471
|
}
|
|
465
472
|
}
|
|
466
473
|
}
|
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
this.newValue = ((this.distanceX / this.sliderRect.width) * (this.max - this.min)) + parseFloat(this.min);
|
|
270
270
|
this.status = 'moving';
|
|
271
271
|
// 发出moving事件
|
|
272
|
-
$crtFmtValue = this.updateValue(this.newValue, true, index);
|
|
272
|
+
let $crtFmtValue = this.updateValue(this.newValue, true, index);
|
|
273
273
|
this.$emit('changing', $crtFmtValue);
|
|
274
274
|
},
|
|
275
275
|
onTouchMove(event, index = 1) {
|
|
@@ -293,13 +293,13 @@
|
|
|
293
293
|
this.newValue = ((this.distanceX / this.sliderRect.width) * (this.max - this.min)) + parseFloat(this.min);
|
|
294
294
|
this.status = 'moving';
|
|
295
295
|
// 发出moving事件
|
|
296
|
-
$crtFmtValue = this.updateValue(this.newValue, true, index);
|
|
296
|
+
let $crtFmtValue = this.updateValue(this.newValue, true, index);
|
|
297
297
|
this.$emit('changing', $crtFmtValue);
|
|
298
298
|
},
|
|
299
299
|
onTouchEnd(event, index = 1) {
|
|
300
300
|
if (this.disabled) return;
|
|
301
301
|
if (this.status === 'moving') {
|
|
302
|
-
$crtFmtValue = this.updateValue(this.newValue, false, index);
|
|
302
|
+
let $crtFmtValue = this.updateValue(this.newValue, false, index);
|
|
303
303
|
this.$emit('change', $crtFmtValue);
|
|
304
304
|
}
|
|
305
305
|
this.status = 'end';
|
|
@@ -23,7 +23,9 @@
|
|
|
23
23
|
@longpress="longPressHandler(item,index)"
|
|
24
24
|
:ref="`u-tabs__wrapper__nav__item-${index}`"
|
|
25
25
|
:style="[addStyle(itemStyle), {flex: scrollable ? '' : 1}]"
|
|
26
|
-
:class="[`u-tabs__wrapper__nav__item-${index}`,
|
|
26
|
+
:class="[`u-tabs__wrapper__nav__item-${index}`,
|
|
27
|
+
item.disabled && 'u-tabs__wrapper__nav__item--disabled',
|
|
28
|
+
innerCurrent == index ? 'u-tabs__wrapper__nav__item-active' : '']"
|
|
27
29
|
>
|
|
28
30
|
<slot v-if="$slots.content" name="content" :item="item" :keyName="keyName" :index="index" />
|
|
29
31
|
<slot v-else-if="!$slots.content && ($slots.default || $slots.$default)"
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED