@tarojs/components 3.4.1 → 3.4.4
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/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/taro-components.cjs.js +1 -1
- package/dist/cjs/taro-input-core.cjs.entry.js +14 -17
- package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +12 -3
- package/dist/cjs/taro-tabbar.cjs.entry.js +3 -2
- package/dist/collection/components/input/input.js +15 -23
- package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +11 -2
- package/dist/collection/components/pull-to-refresh/style/index.css +1 -0
- package/dist/collection/components/tabbar/style/index.css +2 -0
- package/dist/collection/components/tabbar/tabbar.js +2 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/taro-components.js +1 -1
- package/dist/esm/taro-input-core.entry.js +14 -17
- package/dist/esm/taro-pull-to-refresh.entry.js +12 -3
- package/dist/esm/taro-tabbar.entry.js +3 -2
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-input-core.entry.js +1 -1
- package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
- package/dist/esm-es5/taro-tabbar.entry.js +1 -1
- package/dist/taro-components/p-2b0d5c90.system.entry.js +1 -0
- package/dist/taro-components/p-33ee636a.system.js +1 -1
- package/dist/taro-components/p-4e54216b.entry.js +1 -0
- package/dist/taro-components/p-5ae86835.system.entry.js +1 -0
- package/dist/taro-components/{p-e1040131.entry.js → p-6de12779.entry.js} +1 -1
- package/dist/taro-components/p-71e14298.entry.js +1 -0
- package/dist/taro-components/p-8486c251.system.entry.js +1 -0
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/types/components/input/input.d.ts +0 -3
- package/package.json +4 -4
- package/types/Ad.d.ts +9 -9
- package/types/Audio.d.ts +3 -3
- package/types/Button.d.ts +31 -13
- package/types/Camera.d.ts +10 -10
- package/types/FunctionalPageNavigator.d.ts +4 -4
- package/types/Image.d.ts +2 -2
- package/types/KeyboardAccessory.d.ts +2 -1
- package/types/LivePlayer.d.ts +10 -10
- package/types/LivePusher.d.ts +14 -14
- package/types/Map.d.ts +5 -5
- package/types/Navigator.d.ts +7 -7
- package/types/OfficialAccount.d.ts +4 -4
- package/types/OpenData.d.ts +4 -4
- package/types/PageContainer.d.ts +8 -8
- package/types/Picker.d.ts +2 -2
- package/types/ShareElement.d.ts +3 -3
- package/types/Video.d.ts +9 -9
- package/types/VoipRoom.d.ts +5 -5
- package/types/common.d.ts +1 -1
- package/dist/taro-components/p-04818461.system.entry.js +0 -1
- package/dist/taro-components/p-56618f09.entry.js +0 -1
- package/dist/taro-components/p-9dc9c615.system.entry.js +0 -1
- package/dist/taro-components/p-abe415b4.system.entry.js +0 -1
- package/dist/taro-components/p-b55fedc1.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as o}from"./p-f05e1558.js";(()=>{const o=import.meta.url,r={};return""!==o&&(r.resourcesUrl=new URL(".",o).href),e(r)})().then((e=>o([["p-d5971476",[[4,"taro-checkbox-core",{name:[1],value:[1],color:[1],id:[1025],checked:[4],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-checkbox-group-core",{name:[8]},[[0,"checkboxchange","function"]]]]],["p-55b0a30b",[[4,"taro-radio-core",{name:[1],value:[1],id:[1025],checked:[1028],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-radio-group-core",{name:[8]},[[0,"radiochange","function"]]]]],["p-32937866",[[4,"taro-swiper-core",{indicatorDots:[4,"indicator-dots"],indicatorColor:[1,"indicator-color"],indicatorActiveColor:[1,"indicator-active-color"],autoplay:[4],current:[2],interval:[2],duration:[2],circular:[4],vertical:[4],previousMargin:[1,"previous-margin"],nextMargin:[1,"next-margin"],displayMultipleItems:[2,"display-multiple-items"],full:[4],swiperWrapper:[32],swiper:[32],isWillLoadCalled:[32],observer:[32],observerFirst:[32],observerLast:[32]}],[0,"taro-swiper-item-core",{itemId:[1,"item-id"]}]]],["p-cf55a63c",[[0,"taro-ad-core"]]],["p-14dbbb42",[[0,"taro-ad-custom-core"]]],["p-5f8b5f62",[[0,"taro-audio-core",{src:[1],controls:[4],autoplay:[4],loop:[4],muted:[4],nativeProps:[16]}]]],["p-b9280444",[[0,"taro-block-core"]]],["p-83dedaa2",[[4,"taro-button-core",{disabled:[4],hoverClass:[1,"hover-class"],type:[1],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],size:[1],plain:[4],loading:[4],formType:[1,"form-type"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["p-c218c298",[[0,"taro-camera-core"]]],["p-4dbed323",[[0,"taro-canvas-core",{canvasId:[1,"canvas-id"],nativeProps:[16]}]]],["p-9d0ab7c4",[[0,"taro-cover-image-core",{src:[1],nativeProps:[16]}]]],["p-74540410",[[4,"taro-cover-view-core",{animation:[1],hoverClass:[1,"hover-class"],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-a1423df9",[[0,"taro-custom-wrapper-core"]]],["p-94502fc3",[[0,"taro-editor-core"]]],["p-8a5e67cb",[[4,"taro-form-core",{slotParent:[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-3c0230ba",[[0,"taro-functional-page-navigator-core"]]],["p-11932905",[[0,"taro-icon-core",{type:[1],size:[8],color:[1]}]]],["p-9eb7dfa8",[[0,"taro-image-core",{src:[1],mode:[1],lazyLoad:[4,"lazy-load"],nativeProps:[16],aspectFillMode:[32]}]]],["p-
|
|
1
|
+
import{p as e,b as o}from"./p-f05e1558.js";(()=>{const o=import.meta.url,r={};return""!==o&&(r.resourcesUrl=new URL(".",o).href),e(r)})().then((e=>o([["p-d5971476",[[4,"taro-checkbox-core",{name:[1],value:[1],color:[1],id:[1025],checked:[4],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-checkbox-group-core",{name:[8]},[[0,"checkboxchange","function"]]]]],["p-55b0a30b",[[4,"taro-radio-core",{name:[1],value:[1],id:[1025],checked:[1028],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-radio-group-core",{name:[8]},[[0,"radiochange","function"]]]]],["p-32937866",[[4,"taro-swiper-core",{indicatorDots:[4,"indicator-dots"],indicatorColor:[1,"indicator-color"],indicatorActiveColor:[1,"indicator-active-color"],autoplay:[4],current:[2],interval:[2],duration:[2],circular:[4],vertical:[4],previousMargin:[1,"previous-margin"],nextMargin:[1,"next-margin"],displayMultipleItems:[2,"display-multiple-items"],full:[4],swiperWrapper:[32],swiper:[32],isWillLoadCalled:[32],observer:[32],observerFirst:[32],observerLast:[32]}],[0,"taro-swiper-item-core",{itemId:[1,"item-id"]}]]],["p-cf55a63c",[[0,"taro-ad-core"]]],["p-14dbbb42",[[0,"taro-ad-custom-core"]]],["p-5f8b5f62",[[0,"taro-audio-core",{src:[1],controls:[4],autoplay:[4],loop:[4],muted:[4],nativeProps:[16]}]]],["p-b9280444",[[0,"taro-block-core"]]],["p-83dedaa2",[[4,"taro-button-core",{disabled:[4],hoverClass:[1,"hover-class"],type:[1],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],size:[1],plain:[4],loading:[4],formType:[1,"form-type"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["p-c218c298",[[0,"taro-camera-core"]]],["p-4dbed323",[[0,"taro-canvas-core",{canvasId:[1,"canvas-id"],nativeProps:[16]}]]],["p-9d0ab7c4",[[0,"taro-cover-image-core",{src:[1],nativeProps:[16]}]]],["p-74540410",[[4,"taro-cover-view-core",{animation:[1],hoverClass:[1,"hover-class"],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-a1423df9",[[0,"taro-custom-wrapper-core"]]],["p-94502fc3",[[0,"taro-editor-core"]]],["p-8a5e67cb",[[4,"taro-form-core",{slotParent:[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-3c0230ba",[[0,"taro-functional-page-navigator-core"]]],["p-11932905",[[0,"taro-icon-core",{type:[1],size:[8],color:[1]}]]],["p-9eb7dfa8",[[0,"taro-image-core",{src:[1],mode:[1],lazyLoad:[4,"lazy-load"],nativeProps:[16],aspectFillMode:[32]}]]],["p-4e54216b",[[0,"taro-input-core",{value:[1],type:[1],password:[4],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],confirmType:[1,"confirm-type"],name:[1],nativeProps:[16]}]]],["p-0303f9e0",[[0,"taro-keyboard-accessory-core"]]],["p-e27798a4",[[4,"taro-label-core",{for:[1]}]]],["p-cb395e7d",[[0,"taro-live-player-core"]]],["p-0ee69803",[[0,"taro-live-pusher-core"]]],["p-3dfb1807",[[0,"taro-map-core"]]],["p-92e95d3f",[[0,"taro-match-media-core"]]],["p-554e1039",[[0,"taro-movable-area-core"]]],["p-b75d8a65",[[0,"taro-movable-view-core"]]],["p-065ec61d",[[0,"taro-navigation-bar-core"]]],["p-2d2f8064",[[0,"taro-navigator-core",{hoverClass:[1,"hover-class"],url:[1],openType:[1,"open-type"],isHover:[4,"is-hover"],delta:[2]},[[0,"click","onClick"]]]]],["p-15bea37d",[[0,"taro-official-account-core"]]],["p-c362734b",[[0,"taro-open-data-core"]]],["p-b6d6c744",[[0,"taro-page-container-core"]]],["p-7721e046",[[0,"taro-page-meta-core"]]],["p-95529dc0",[[0,"taro-picker-view-column-core"]]],["p-5c420456",[[0,"taro-picker-view-core"]]],["p-06bffead",[[0,"taro-progress-core",{percent:[2],showInfo:[4,"show-info"],borderRadius:[8,"border-radius"],fontSize:[8,"font-size"],strokeWidth:[8,"stroke-width"],activeColor:[1,"active-color"],backgroundColor:[1,"background-color"],active:[4]}]]],["p-71e14298",[[4,"taro-pull-to-refresh",{prefixCls:[1,"prefix-cls"],distanceToRefresh:[2,"distance-to-refresh"],damping:[2],indicator:[16],currSt:[32],dragOnEdge:[32]}]]],["p-8db237e0",[[0,"taro-rich-text-core",{nodes:[1]}]]],["p-cc818a13",[[4,"taro-scroll-view-core",{scrollX:[4,"scroll-x"],scrollY:[4,"scroll-y"],upperThreshold:[8,"upper-threshold"],lowerThreshold:[8,"lower-threshold"],mpScrollTop:[8,"scroll-top"],mpScrollLeft:[8,"scroll-left"],mpScrollIntoView:[1,"scroll-into-view"],scrollWithAnimation:[4,"scroll-with-animation"]}]]],["p-cfbfeee8",[[0,"taro-share-element-core"]]],["p-3633bb84",[[0,"taro-slider-core",{min:[2],max:[2],step:[2],disabled:[4],value:[1026],activeColor:[1,"active-color"],backgroundColor:[1,"background-color"],blockSize:[2,"block-size"],blockColor:[1,"block-color"],showValue:[4,"show-value"],name:[1],val:[32],totalWidth:[32],touching:[32],ogX:[32],touchId:[32],percent:[32],ogPercent:[32],isWillLoadCalled:[32]}]]],["p-b87cf623",[[0,"taro-slot-core"]]],["p-e6298500",[[0,"taro-switch-core",{type:[1],checked:[4],color:[1],name:[1],disabled:[4],nativeProps:[16],isChecked:[32],isWillLoadCalled:[32]}]]],["p-6de12779",[[0,"taro-tabbar",{conf:[16],list:[32],borderStyle:[32],backgroundColor:[32],color:[32],selectedColor:[32],selectedIndex:[32],status:[32]}]]],["p-d567b95e",[[4,"taro-text-core",{selectable:[4]}]]],["p-63ff7fa7",[[0,"taro-textarea-core",{value:[1],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],autoHeight:[4,"auto-height"],name:[1],nativeProps:[16],line:[32]}]]],["p-17cf8b5b",[[4,"taro-view-core",{animation:[1],hoverClass:[1,"hover-class"],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-59d38db0",[[0,"taro-voip-room-core"]]],["p-8bc82aaa",[[0,"taro-web-view-core",{src:[1]}]]],["p-865c21b5",[[4,"taro-picker-core",{mode:[1],disabled:[4],range:[16],rangeKey:[1,"range-key"],value:[8],start:[1],end:[1],fields:[1],name:[1],pickerValue:[32],height:[32],hidden:[32],fadeOut:[32],isWillLoadCalled:[32]}],[0,"taro-picker-group",{mode:[1],range:[16],rangeKey:[1,"range-key"],height:[2],columnId:[1,"column-id"],updateHeight:[16],onColumnChange:[16],updateDay:[16],startY:[32],preY:[32],hadMove:[32],touchEnd:[32],isMove:[32]},[[1,"mousedown","onMouseDown"],[1,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-431197bc",[[0,"taro-video-core",{src:[1],duration:[2],controls:[4],autoplay:[4],loop:[4],muted:[4],initialTime:[2,"initial-time"],poster:[1],objectFit:[1,"object-fit"],showProgress:[4,"show-progress"],showFullscreenBtn:[4,"show-fullscreen-btn"],showPlayBtn:[4,"show-play-btn"],showCenterPlayBtn:[4,"show-center-play-btn"],showMuteBtn:[4,"show-mute-btn"],danmuList:[16],danmuBtn:[4,"danmu-btn"],enableDanmu:[4,"enable-danmu"],enablePlayGesture:[4,"enable-play-gesture"],enableProgressGesture:[4,"enable-progress-gesture"],vslideGesture:[4,"vslide-gesture"],vslideGestureInFullscreen:[4,"vslide-gesture-in-fullscreen"],nativeProps:[16],_duration:[32],_enableDanmu:[32],isPlaying:[32],isFirst:[32],isFullScreen:[32],fullScreenTimestamp:[32],isMute:[32],play:[64],pause:[64],stop:[64],seek:[64],requestFullScreen:[64],exitFullScreen:[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{controls:[4],currentTime:[2,"current-time"],duration:[2],isPlaying:[4,"is-playing"],pauseFunc:[16],playFunc:[16],seekFunc:[16],showPlayBtn:[4,"show-play-btn"],showProgress:[4,"show-progress"],setProgressBall:[64],toggleVisibility:[64],getIsDraggingProgressBall:[64],setCurrentTime:[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{enable:[4],danmuList:[32],sendDanmu:[64],tick:[64]}]]]],e)));
|
|
@@ -16,9 +16,7 @@ export declare class Input implements ComponentInterface {
|
|
|
16
16
|
confirmType: string;
|
|
17
17
|
name: string;
|
|
18
18
|
nativeProps: {};
|
|
19
|
-
_value: string;
|
|
20
19
|
el: HTMLElement;
|
|
21
|
-
watchHandler(newValue: string, oldValue: string): void;
|
|
22
20
|
watchFocus(newValue: boolean, oldValue: boolean): void;
|
|
23
21
|
onInput: EventEmitter;
|
|
24
22
|
onPaste: EventEmitter;
|
|
@@ -27,7 +25,6 @@ export declare class Input implements ComponentInterface {
|
|
|
27
25
|
onConfirm: EventEmitter;
|
|
28
26
|
onChange: EventEmitter;
|
|
29
27
|
onKeyDown: EventEmitter;
|
|
30
|
-
componentWillLoad(): void;
|
|
31
28
|
componentDidLoad(): void;
|
|
32
29
|
disconnectedCallback(): void;
|
|
33
30
|
handleInput: (e: TaroEvent<HTMLInputElement>) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/components",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main:h5": "src/index.js",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@stencil/core": "2.9.0",
|
|
41
|
-
"@tarojs/taro": "3.4.
|
|
41
|
+
"@tarojs/taro": "3.4.4",
|
|
42
42
|
"better-scroll": "^1.14.1",
|
|
43
43
|
"classnames": "^2.2.5",
|
|
44
44
|
"intersection-observer": "^0.7.0",
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@stencil/sass": "1.4.1",
|
|
52
|
-
"@types/react-native": "0.
|
|
52
|
+
"@types/react-native": "0.67.0",
|
|
53
53
|
"jquery": "^3.4.1",
|
|
54
54
|
"karmatic": "^2.1.0",
|
|
55
55
|
"simulant": "^0.2.2",
|
|
56
56
|
"workbox-build": "4.3.1"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "099d062d74faa3f124ca2499de1154fae0adc4f9"
|
|
59
59
|
}
|
package/types/Ad.d.ts
CHANGED
|
@@ -50,55 +50,55 @@ declare namespace AdProps {
|
|
|
50
50
|
*/
|
|
51
51
|
interface AdErrCode {
|
|
52
52
|
/**
|
|
53
|
-
* @
|
|
53
|
+
* @illustrate 后端错误调用失败
|
|
54
54
|
* @reason 该项错误不是开发者的异常情况
|
|
55
55
|
* @solution 一般情况下忽略一段时间即可恢复。
|
|
56
56
|
*/
|
|
57
57
|
1000
|
|
58
58
|
/**
|
|
59
|
-
* @
|
|
59
|
+
* @illustrate 参数错误
|
|
60
60
|
* @reason 使用方法错误
|
|
61
61
|
* @solution 可以前往 developers.weixin.qq.com 确认具体教程(小程序和小游戏分别有各自的教程,可以在顶部选项中,“设计”一栏的右侧进行切换。
|
|
62
62
|
*/
|
|
63
63
|
1001
|
|
64
64
|
/**
|
|
65
|
-
* @
|
|
65
|
+
* @illustrate 广告单元无效
|
|
66
66
|
* @reason 可能是拼写错误、或者误用了其他APP的广告ID
|
|
67
67
|
* @solution 请重新前往 mp.weixin.qq.com 确认广告位ID。
|
|
68
68
|
*/
|
|
69
69
|
1002
|
|
70
70
|
/**
|
|
71
|
-
* @
|
|
71
|
+
* @illustrate 内部错误
|
|
72
72
|
* @reason 该项错误不是开发者的异常情况
|
|
73
73
|
* @solution 一般情况下忽略一段时间即可恢复。
|
|
74
74
|
*/
|
|
75
75
|
1003
|
|
76
76
|
/**
|
|
77
|
-
* @
|
|
77
|
+
* @illustrate 无合适的广告
|
|
78
78
|
* @reason 广告不是每一次都会出现,这次没有出现可能是由于该用户不适合浏览广告
|
|
79
79
|
* @solution 属于正常情况,且开发者需要针对这种情况做形态上的兼容。
|
|
80
80
|
*/
|
|
81
81
|
1004
|
|
82
82
|
/**
|
|
83
|
-
* @
|
|
83
|
+
* @illustrate 广告组件审核中
|
|
84
84
|
* @reason 你的广告正在被审核,无法展现广告
|
|
85
85
|
* @solution 请前往 mp.weixin.qq.com 确认审核状态,且开发者需要针对这种情况做形态上的兼容。
|
|
86
86
|
*/
|
|
87
87
|
1005
|
|
88
88
|
/**
|
|
89
|
-
* @
|
|
89
|
+
* @illustrate 广告组件被驳回
|
|
90
90
|
* @reason 你的广告审核失败,无法展现广告
|
|
91
91
|
* @solution 请前往 mp.weixin.qq.com 确认审核状态,且开发者需要针对这种情况做形态上的兼容。
|
|
92
92
|
*/
|
|
93
93
|
1006
|
|
94
94
|
/**
|
|
95
|
-
* @
|
|
95
|
+
* @illustrate 广告组件被封禁
|
|
96
96
|
* @reason 你的广告能力已经被封禁,封禁期间无法展现广告
|
|
97
97
|
* @solution 请前往 mp.weixin.qq.com 确认小程序广告封禁状态。
|
|
98
98
|
*/
|
|
99
99
|
1007
|
|
100
100
|
/**
|
|
101
|
-
* @
|
|
101
|
+
* @illustrate 广告单元已关闭
|
|
102
102
|
* @reason 该广告位的广告能力已经被关闭
|
|
103
103
|
* @solution 请前往 mp.weixin.qq.com 重新打开对应广告位的展现。
|
|
104
104
|
*/
|
package/types/Audio.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ interface AudioProps extends StandardProps {
|
|
|
81
81
|
|
|
82
82
|
declare namespace AudioProps {
|
|
83
83
|
interface onErrorEventDetail {
|
|
84
|
-
errMsg: keyof MediaError.
|
|
84
|
+
errMsg: keyof MediaError.Code
|
|
85
85
|
}
|
|
86
86
|
interface onTimeUpdateEventDetail {
|
|
87
87
|
/** 当前时间 */
|
|
@@ -90,7 +90,7 @@ declare namespace AudioProps {
|
|
|
90
90
|
duration: number
|
|
91
91
|
}
|
|
92
92
|
namespace MediaError {
|
|
93
|
-
interface
|
|
93
|
+
interface Code {
|
|
94
94
|
/** 获取资源被用户禁止 */
|
|
95
95
|
1
|
|
96
96
|
/** 网络错误 */
|
|
@@ -113,7 +113,7 @@ declare namespace AudioProps {
|
|
|
113
113
|
* constructor() {
|
|
114
114
|
* super(...arguments)
|
|
115
115
|
* }
|
|
116
|
-
*
|
|
116
|
+
*
|
|
117
117
|
* render() {
|
|
118
118
|
* return (
|
|
119
119
|
* <View className='components-page'>
|
package/types/Button.d.ts
CHANGED
|
@@ -7,13 +7,13 @@ interface ButtonProps extends StandardProps {
|
|
|
7
7
|
* @supported weapp, h5, rn, alipay
|
|
8
8
|
* @default default
|
|
9
9
|
*/
|
|
10
|
-
size?: keyof ButtonProps.
|
|
10
|
+
size?: keyof ButtonProps.Size
|
|
11
11
|
|
|
12
12
|
/** 按钮的样式类型
|
|
13
13
|
* @supported weapp, h5, rn, alipay
|
|
14
14
|
* @default default
|
|
15
15
|
*/
|
|
16
|
-
type?: keyof ButtonProps.
|
|
16
|
+
type?: keyof ButtonProps.Type
|
|
17
17
|
|
|
18
18
|
/** 按钮是否镂空,背景色透明
|
|
19
19
|
* @supported weapp, h5, rn, alipay
|
|
@@ -36,12 +36,12 @@ interface ButtonProps extends StandardProps {
|
|
|
36
36
|
/** 用于 `<form/>` 组件,点击分别会触发 `<form/>` 组件的 submit/reset 事件
|
|
37
37
|
* @supported weapp, alipay
|
|
38
38
|
*/
|
|
39
|
-
formType?: keyof ButtonProps.
|
|
39
|
+
formType?: keyof ButtonProps.FormType
|
|
40
40
|
|
|
41
41
|
/** 微信开放能力
|
|
42
42
|
* @supported weapp, alipay, qq
|
|
43
43
|
*/
|
|
44
|
-
openType?: ButtonProps.
|
|
44
|
+
openType?: ButtonProps.OpenType
|
|
45
45
|
|
|
46
46
|
/** 指定按下去的样式类。当 `hover-class="none"` 时,没有点击态效果
|
|
47
47
|
* @default button-hover
|
|
@@ -79,7 +79,7 @@ interface ButtonProps extends StandardProps {
|
|
|
79
79
|
* 生效时机: `open-type="getUserInfo"`
|
|
80
80
|
* @supported weapp
|
|
81
81
|
*/
|
|
82
|
-
lang?: keyof ButtonProps.
|
|
82
|
+
lang?: keyof ButtonProps.Lang
|
|
83
83
|
|
|
84
84
|
/** 会话来源
|
|
85
85
|
*
|
|
@@ -168,6 +168,13 @@ interface ButtonProps extends StandardProps {
|
|
|
168
168
|
*/
|
|
169
169
|
onGetPhoneNumber?: CommonEventFunction<ButtonProps.onGetPhoneNumberEventDetail>
|
|
170
170
|
|
|
171
|
+
/** 获取头像信息
|
|
172
|
+
*
|
|
173
|
+
* 生效时机:`open-type="chooseavatar"`
|
|
174
|
+
* @supported weapp
|
|
175
|
+
*/
|
|
176
|
+
onChooseAvatar?: CommonEventFunction<ButtonProps.onChooseAvatarEventDetail>
|
|
177
|
+
|
|
171
178
|
/** 获取用户实名
|
|
172
179
|
*
|
|
173
180
|
* 生效时机:`open-type="getRealnameAuthInfo"`
|
|
@@ -199,14 +206,14 @@ interface ButtonProps extends StandardProps {
|
|
|
199
206
|
|
|
200
207
|
declare namespace ButtonProps {
|
|
201
208
|
/** size 的合法值 */
|
|
202
|
-
interface
|
|
209
|
+
interface Size {
|
|
203
210
|
/** 默认大小 */
|
|
204
211
|
default
|
|
205
212
|
/** 小尺寸 */
|
|
206
213
|
mini
|
|
207
214
|
}
|
|
208
215
|
/** type 的合法值 */
|
|
209
|
-
interface
|
|
216
|
+
interface Type {
|
|
210
217
|
/** 绿色 */
|
|
211
218
|
primary
|
|
212
219
|
/** 白色 */
|
|
@@ -215,14 +222,14 @@ declare namespace ButtonProps {
|
|
|
215
222
|
warn
|
|
216
223
|
}
|
|
217
224
|
/** form-type 的合法值 */
|
|
218
|
-
interface
|
|
225
|
+
interface FormType {
|
|
219
226
|
/** 提交表单 */
|
|
220
227
|
submit
|
|
221
228
|
/** 重置表单 */
|
|
222
229
|
reset
|
|
223
230
|
}
|
|
224
231
|
/** open-type 的合法值 */
|
|
225
|
-
type
|
|
232
|
+
type OpenType = keyof openTypeKeys["weapp"] | keyof openTypeKeys["alipay"] | keyof openTypeKeys["qq"]
|
|
226
233
|
/** open-type 的合法值 */
|
|
227
234
|
interface openTypeKeys {
|
|
228
235
|
weapp: {
|
|
@@ -238,6 +245,10 @@ declare namespace ButtonProps {
|
|
|
238
245
|
* @see https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/getPhoneNumber.html
|
|
239
246
|
*/
|
|
240
247
|
getPhoneNumber
|
|
248
|
+
/** 获取用户头像,可以从 bindchooseavatar 回调中获取到头像信息
|
|
249
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/userProfile.html
|
|
250
|
+
*/
|
|
251
|
+
chooseAvatar
|
|
241
252
|
/** 获取用户信息,可以从 bindgetuserinfo 回调中获取到用户信息 */
|
|
242
253
|
getUserInfo
|
|
243
254
|
/** 用户实名信息授权,已经弃用 */
|
|
@@ -297,7 +308,7 @@ declare namespace ButtonProps {
|
|
|
297
308
|
}
|
|
298
309
|
}
|
|
299
310
|
/** lang 的合法值 */
|
|
300
|
-
interface
|
|
311
|
+
interface Lang {
|
|
301
312
|
/** 英文 */
|
|
302
313
|
en
|
|
303
314
|
/** 简体中文 */
|
|
@@ -313,7 +324,7 @@ declare namespace ButtonProps {
|
|
|
313
324
|
/** 头像 */
|
|
314
325
|
avatarUrl: string
|
|
315
326
|
/** 性别 */
|
|
316
|
-
gender: keyof
|
|
327
|
+
gender: keyof Gender
|
|
317
328
|
/** 省份,如:`Yunnan` */
|
|
318
329
|
province: string
|
|
319
330
|
/** 城市,如:`Dalian` */
|
|
@@ -336,7 +347,7 @@ declare namespace ButtonProps {
|
|
|
336
347
|
}
|
|
337
348
|
|
|
338
349
|
/** 性别的合法值 */
|
|
339
|
-
interface
|
|
350
|
+
interface Gender {
|
|
340
351
|
/** 未知 */
|
|
341
352
|
0
|
|
342
353
|
/** 男 */
|
|
@@ -361,6 +372,13 @@ declare namespace ButtonProps {
|
|
|
361
372
|
encryptedData: string
|
|
362
373
|
/** 加密算法的初始向量 */
|
|
363
374
|
iv: string
|
|
375
|
+
/** 动态令牌。可通过动态令牌换取用户手机号。使用方法详情 [phonenumber.getPhoneNumber](https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/phonenumber/phonenumber.getPhoneNumber.html) 接口 */
|
|
376
|
+
code:string
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
interface onChooseAvatarEventDetail {
|
|
380
|
+
/* 获取用户头像的临时链接 */
|
|
381
|
+
avatarUrl: string
|
|
364
382
|
}
|
|
365
383
|
|
|
366
384
|
interface onOpenSettingEventDetail {
|
|
@@ -469,7 +487,7 @@ declare namespace ButtonProps {
|
|
|
469
487
|
* <button size="mini" type="warn">按钮</button>
|
|
470
488
|
* </view>
|
|
471
489
|
* </template>
|
|
472
|
-
*
|
|
490
|
+
*
|
|
473
491
|
* <script>
|
|
474
492
|
* export default {
|
|
475
493
|
* data() {
|
package/types/Camera.d.ts
CHANGED
|
@@ -6,31 +6,31 @@ interface CameraProps extends StandardProps {
|
|
|
6
6
|
* @default "normal"
|
|
7
7
|
* @supported weapp, rn
|
|
8
8
|
*/
|
|
9
|
-
mode?: keyof CameraProps.
|
|
9
|
+
mode?: keyof CameraProps.Mode
|
|
10
10
|
|
|
11
11
|
/** 分辨率,不支持动态修改
|
|
12
12
|
* @default "medium"
|
|
13
13
|
* @supported weapp
|
|
14
14
|
*/
|
|
15
|
-
resolution?: keyof CameraProps.
|
|
15
|
+
resolution?: keyof CameraProps.Resolution
|
|
16
16
|
|
|
17
17
|
/** 摄像头朝向
|
|
18
18
|
* @default "back"
|
|
19
19
|
* @supported weapp, rn
|
|
20
20
|
*/
|
|
21
|
-
devicePosition?: keyof CameraProps.
|
|
21
|
+
devicePosition?: keyof CameraProps.DevicePosition
|
|
22
22
|
|
|
23
23
|
/** 闪光灯
|
|
24
24
|
* @default "auto"
|
|
25
25
|
* @supported weapp, rn
|
|
26
26
|
*/
|
|
27
|
-
flash?: keyof CameraProps.
|
|
27
|
+
flash?: keyof CameraProps.Flash
|
|
28
28
|
|
|
29
29
|
/** 指定期望的相机帧数据尺寸
|
|
30
30
|
* @default "medium"
|
|
31
31
|
* @supported weapp
|
|
32
32
|
*/
|
|
33
|
-
frameSize?: keyof CameraProps.
|
|
33
|
+
frameSize?: keyof CameraProps.FrameSize
|
|
34
34
|
|
|
35
35
|
/** 扫码识别区域,格式为[x, y, w, h],
|
|
36
36
|
* x,y是相对于camera显示区域的左上角,
|
|
@@ -64,14 +64,14 @@ interface CameraProps extends StandardProps {
|
|
|
64
64
|
|
|
65
65
|
declare namespace CameraProps {
|
|
66
66
|
/** mode 的合法值 */
|
|
67
|
-
interface
|
|
67
|
+
interface Mode {
|
|
68
68
|
/** 相机模式 */
|
|
69
69
|
normal
|
|
70
70
|
/** 扫码模式 */
|
|
71
71
|
scanCode
|
|
72
72
|
}
|
|
73
73
|
/** resolution 的合法值 */
|
|
74
|
-
interface
|
|
74
|
+
interface Resolution {
|
|
75
75
|
/** 低 */
|
|
76
76
|
low
|
|
77
77
|
/** 中 */
|
|
@@ -80,14 +80,14 @@ declare namespace CameraProps {
|
|
|
80
80
|
high
|
|
81
81
|
}
|
|
82
82
|
/** device-position 的合法值 */
|
|
83
|
-
interface
|
|
83
|
+
interface DevicePosition {
|
|
84
84
|
/** 前置 */
|
|
85
85
|
front
|
|
86
86
|
/** 后置 */
|
|
87
87
|
back
|
|
88
88
|
}
|
|
89
89
|
/** flash 的合法值 */
|
|
90
|
-
interface
|
|
90
|
+
interface Flash {
|
|
91
91
|
/** 自动 */
|
|
92
92
|
auto
|
|
93
93
|
/** 打开 */
|
|
@@ -98,7 +98,7 @@ declare namespace CameraProps {
|
|
|
98
98
|
torch
|
|
99
99
|
}
|
|
100
100
|
/** frame-size 的合法值 */
|
|
101
|
-
interface
|
|
101
|
+
interface FrameSize {
|
|
102
102
|
/** 小尺寸帧数据 */
|
|
103
103
|
small
|
|
104
104
|
/** 中尺寸帧数据 */
|
|
@@ -6,12 +6,12 @@ interface FunctionalPageNavigatorProps extends StandardProps {
|
|
|
6
6
|
* @default "release"
|
|
7
7
|
* @supported weapp
|
|
8
8
|
*/
|
|
9
|
-
version?: keyof FunctionalPageNavigatorProps.
|
|
9
|
+
version?: keyof FunctionalPageNavigatorProps.Version
|
|
10
10
|
|
|
11
11
|
/** 要跳转到的功能页
|
|
12
12
|
* @supported weapp
|
|
13
13
|
*/
|
|
14
|
-
name?: keyof FunctionalPageNavigatorProps.
|
|
14
|
+
name?: keyof FunctionalPageNavigatorProps.Name
|
|
15
15
|
|
|
16
16
|
/** 功能页参数,参数格式与具体功能页相关
|
|
17
17
|
* @supported weapp
|
|
@@ -36,7 +36,7 @@ interface FunctionalPageNavigatorProps extends StandardProps {
|
|
|
36
36
|
|
|
37
37
|
declare namespace FunctionalPageNavigatorProps {
|
|
38
38
|
/** version 的合法值 */
|
|
39
|
-
interface
|
|
39
|
+
interface Version {
|
|
40
40
|
/** 开发版 */
|
|
41
41
|
develop
|
|
42
42
|
/** 体验版 */
|
|
@@ -45,7 +45,7 @@ declare namespace FunctionalPageNavigatorProps {
|
|
|
45
45
|
release
|
|
46
46
|
}
|
|
47
47
|
/** name 的合法值 */
|
|
48
|
-
interface
|
|
48
|
+
interface Name {
|
|
49
49
|
/** [用户信息功能页](https://developers.weixin.qq.com/miniprogram/dev/framework/plugin/functional-pages/user-info.html) */
|
|
50
50
|
loginAndGetUserInfo
|
|
51
51
|
/** [支付功能页](https://developers.weixin.qq.com/miniprogram/dev/framework/plugin/functional-pages/request-payment.html) */
|
package/types/Image.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ interface ImageProps extends StandardProps {
|
|
|
12
12
|
* @supported weapp, h5, rn, swan, alipay, tt
|
|
13
13
|
* @rn 部分支持 scaleToFill, aspectFit, aspectFill, widthFix
|
|
14
14
|
*/
|
|
15
|
-
mode?: keyof ImageProps.
|
|
15
|
+
mode?: keyof ImageProps.Mode
|
|
16
16
|
|
|
17
17
|
/** 默认不解析 webP 格式,只支持网络资源
|
|
18
18
|
* @default false
|
|
@@ -62,7 +62,7 @@ interface ImageProps extends StandardProps {
|
|
|
62
62
|
|
|
63
63
|
declare namespace ImageProps {
|
|
64
64
|
/** mode 的合法值 */
|
|
65
|
-
interface
|
|
65
|
+
interface Mode {
|
|
66
66
|
/** 缩放模式,不保持纵横比缩放图片,使图片的宽高完全拉伸至填满 image 元素 */
|
|
67
67
|
scaleToFill
|
|
68
68
|
/** 缩放模式,保持纵横比缩放图片,使图片的长边能完全显示出来。也就是说,可以完整地将图片显示出来。 */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ComponentType } from 'react'
|
|
2
|
-
import { StandardProps
|
|
2
|
+
import { StandardProps } from './common'
|
|
3
3
|
|
|
4
|
+
/** @ignore */
|
|
4
5
|
type KeyboardAccessoryProps = StandardProps
|
|
5
6
|
|
|
6
7
|
/** 设置 input / textarea 聚焦时键盘上方 cover-view / cover-image 工具栏视图
|
package/types/LivePlayer.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentType } from 'react'
|
|
2
|
-
import { StandardProps, CommonEventFunction,
|
|
2
|
+
import { StandardProps, CommonEventFunction, NetStatus } from './common'
|
|
3
3
|
|
|
4
4
|
interface LivePlayerProps extends StandardProps {
|
|
5
5
|
/** 音视频地址。目前仅支持 flv, rtmp 格式
|
|
@@ -11,7 +11,7 @@ interface LivePlayerProps extends StandardProps {
|
|
|
11
11
|
* @default "live"
|
|
12
12
|
* @supported weapp
|
|
13
13
|
*/
|
|
14
|
-
mode?: keyof LivePlayerProps.
|
|
14
|
+
mode?: keyof LivePlayerProps.Mode
|
|
15
15
|
|
|
16
16
|
/** 自动播放
|
|
17
17
|
* @default false
|
|
@@ -29,7 +29,7 @@ interface LivePlayerProps extends StandardProps {
|
|
|
29
29
|
* @default "vertical"
|
|
30
30
|
* @supported weapp
|
|
31
31
|
*/
|
|
32
|
-
orientation?: keyof LivePlayerProps.
|
|
32
|
+
orientation?: keyof LivePlayerProps.Orientation
|
|
33
33
|
|
|
34
34
|
/** 填充模式
|
|
35
35
|
* @default "contain"
|
|
@@ -44,13 +44,13 @@ interface LivePlayerProps extends StandardProps {
|
|
|
44
44
|
*/
|
|
45
45
|
backgroundMute?: boolean
|
|
46
46
|
|
|
47
|
-
/**
|
|
47
|
+
/** 最小缓冲区,单位s
|
|
48
48
|
* @default 1
|
|
49
49
|
* @supported weapp
|
|
50
50
|
*/
|
|
51
51
|
minCache?: number
|
|
52
52
|
|
|
53
|
-
/**
|
|
53
|
+
/** 最大缓冲区,单位s
|
|
54
54
|
* @default 3
|
|
55
55
|
* @supported weapp
|
|
56
56
|
*/
|
|
@@ -112,14 +112,14 @@ interface LivePlayerProps extends StandardProps {
|
|
|
112
112
|
|
|
113
113
|
declare namespace LivePlayerProps {
|
|
114
114
|
/** mode 的合法值 */
|
|
115
|
-
interface
|
|
115
|
+
interface Mode {
|
|
116
116
|
/** 直播 */
|
|
117
117
|
live
|
|
118
118
|
/** 实时通话,该模式时延更低 */
|
|
119
119
|
RTC
|
|
120
120
|
}
|
|
121
121
|
/** orientation 的合法值 */
|
|
122
|
-
interface
|
|
122
|
+
interface Orientation {
|
|
123
123
|
/** 竖直 */
|
|
124
124
|
vertical
|
|
125
125
|
/** 水平 */
|
|
@@ -151,10 +151,10 @@ declare namespace LivePlayerProps {
|
|
|
151
151
|
fullScreen: number | boolean
|
|
152
152
|
}
|
|
153
153
|
interface onNetStatusEventDetail {
|
|
154
|
-
info:
|
|
154
|
+
info: NetStatus
|
|
155
155
|
}
|
|
156
156
|
/** 状态码 */
|
|
157
|
-
interface
|
|
157
|
+
interface Status {
|
|
158
158
|
/** 已经连接服务器 */
|
|
159
159
|
2001
|
|
160
160
|
/** 已经连接 RTMP 服务器,开始拉流 */
|
|
@@ -205,7 +205,7 @@ declare namespace LivePlayerProps {
|
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
/** 实时音视频播放。相关api:Taro.createLivePlayerContext
|
|
208
|
-
*
|
|
208
|
+
*
|
|
209
209
|
* 需要先通过类目审核,再在小程序管理后台,“设置”-“接口设置”中自助开通该组件权限。
|
|
210
210
|
* @classification media
|
|
211
211
|
* @supported weapp
|
package/types/LivePusher.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentType } from 'react'
|
|
2
|
-
import { StandardProps, CommonEventFunction,
|
|
2
|
+
import { StandardProps, CommonEventFunction, NetStatus } from './common'
|
|
3
3
|
|
|
4
4
|
/** 实时音视频录制。
|
|
5
5
|
* 需要用户授权 scope.camera、scope.record
|
|
@@ -46,7 +46,7 @@ interface LivePusherProps extends StandardProps {
|
|
|
46
46
|
* @default "vertical"
|
|
47
47
|
* @supported weapp
|
|
48
48
|
*/
|
|
49
|
-
orientation?: keyof LivePusherProps.
|
|
49
|
+
orientation?: keyof LivePusherProps.Orientation
|
|
50
50
|
|
|
51
51
|
/** 美颜,取值范围 0-9 ,0 表示关闭
|
|
52
52
|
* @default 0
|
|
@@ -131,13 +131,13 @@ interface LivePusherProps extends StandardProps {
|
|
|
131
131
|
* @default "auto"
|
|
132
132
|
* @supported weapp
|
|
133
133
|
*/
|
|
134
|
-
localMirror?: keyof LivePusherProps.
|
|
134
|
+
localMirror?: keyof LivePusherProps.LocalMirror
|
|
135
135
|
|
|
136
136
|
/** 音频混响类型
|
|
137
137
|
* @default 0
|
|
138
138
|
* @supported weapp
|
|
139
139
|
*/
|
|
140
|
-
audioReverbType?: keyof LivePusherProps.
|
|
140
|
+
audioReverbType?: keyof LivePusherProps.AudioReverbType
|
|
141
141
|
|
|
142
142
|
/** 开启或关闭麦克风
|
|
143
143
|
* @default true
|
|
@@ -161,7 +161,7 @@ interface LivePusherProps extends StandardProps {
|
|
|
161
161
|
* @default "voicecall"
|
|
162
162
|
* @supported weapp
|
|
163
163
|
*/
|
|
164
|
-
audioVolumeType?: keyof LivePusherProps.
|
|
164
|
+
audioVolumeType?: keyof LivePusherProps.AudioVolumeType
|
|
165
165
|
|
|
166
166
|
/** 上推的视频流的分辨率宽度
|
|
167
167
|
* @default 360
|
|
@@ -179,13 +179,13 @@ interface LivePusherProps extends StandardProps {
|
|
|
179
179
|
* @default smooth
|
|
180
180
|
* @supported weapp
|
|
181
181
|
*/
|
|
182
|
-
beautyStyle?: keyof LivePusherProps.
|
|
182
|
+
beautyStyle?: keyof LivePusherProps.BeautyStyleType
|
|
183
183
|
|
|
184
184
|
/** 设置色彩滤镜
|
|
185
185
|
* @default standard
|
|
186
186
|
* @supported weapp
|
|
187
187
|
*/
|
|
188
|
-
filter?: keyof LivePusherProps.
|
|
188
|
+
filter?: keyof LivePusherProps.FilterType
|
|
189
189
|
|
|
190
190
|
/** 状态变化事件,detail = {code}
|
|
191
191
|
* @supported weapp
|
|
@@ -225,14 +225,14 @@ interface LivePusherProps extends StandardProps {
|
|
|
225
225
|
|
|
226
226
|
declare namespace LivePusherProps {
|
|
227
227
|
/** orientation 的合法值 */
|
|
228
|
-
interface
|
|
228
|
+
interface Orientation {
|
|
229
229
|
/** 竖直 */
|
|
230
230
|
vertical
|
|
231
231
|
/** 水平 */
|
|
232
232
|
horizontal
|
|
233
233
|
}
|
|
234
234
|
/** localMirror 的合法值 */
|
|
235
|
-
interface
|
|
235
|
+
interface LocalMirror {
|
|
236
236
|
/** 前置摄像头镜像,后置摄像头不镜像 */
|
|
237
237
|
auto
|
|
238
238
|
/** 前后置摄像头均镜像 */
|
|
@@ -241,7 +241,7 @@ declare namespace LivePusherProps {
|
|
|
241
241
|
disable
|
|
242
242
|
}
|
|
243
243
|
/** audioReverbType 的合法值 */
|
|
244
|
-
interface
|
|
244
|
+
interface AudioReverbType {
|
|
245
245
|
/** 关闭 */
|
|
246
246
|
0
|
|
247
247
|
/** KTV */
|
|
@@ -260,21 +260,21 @@ declare namespace LivePusherProps {
|
|
|
260
260
|
7
|
|
261
261
|
}
|
|
262
262
|
/** audioVolumeType 的合法值 */
|
|
263
|
-
interface
|
|
263
|
+
interface AudioVolumeType {
|
|
264
264
|
/** 媒体音量 */
|
|
265
265
|
media
|
|
266
266
|
/** 通话音量 */
|
|
267
267
|
voicecall
|
|
268
268
|
}
|
|
269
269
|
/** beautyStyleType 的合法值 */
|
|
270
|
-
interface
|
|
270
|
+
interface BeautyStyleType {
|
|
271
271
|
/** 光滑美颜 */
|
|
272
272
|
smooth
|
|
273
273
|
/** 自然美颜 */
|
|
274
274
|
nature
|
|
275
275
|
}
|
|
276
276
|
/** filterType 的合法值 */
|
|
277
|
-
interface
|
|
277
|
+
interface FilterType {
|
|
278
278
|
/** 标准 */
|
|
279
279
|
standard
|
|
280
280
|
/** 粉嫩 */
|
|
@@ -304,7 +304,7 @@ declare namespace LivePusherProps {
|
|
|
304
304
|
}
|
|
305
305
|
interface onNetstatusEventDetail {
|
|
306
306
|
/** 网络状态 */
|
|
307
|
-
info:
|
|
307
|
+
info: NetStatus
|
|
308
308
|
}
|
|
309
309
|
interface onErrorEventDetail {
|
|
310
310
|
/** 错误信息 */
|