@tarojs/components 3.3.14 → 3.3.18
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-ad-core.cjs.entry.js +19 -0
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +19 -0
- package/dist/cjs/taro-components.cjs.js +1 -1
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +17 -3
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +49 -3
- package/dist/cjs/taro-editor-core.cjs.entry.js +19 -0
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +19 -0
- package/dist/cjs/taro-image-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-input-core.cjs.entry.js +4 -4
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +19 -0
- package/dist/cjs/taro-live-player-core.cjs.entry.js +19 -0
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +19 -0
- package/dist/cjs/taro-map-core.cjs.entry.js +19 -0
- package/dist/cjs/taro-match-media-core.cjs.entry.js +19 -0
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +19 -0
- package/dist/cjs/taro-navigator-core.cjs.entry.js +10 -6
- package/dist/cjs/taro-official-account-core.cjs.entry.js +19 -0
- package/dist/cjs/taro-page-container-core.cjs.entry.js +19 -0
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +19 -0
- package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +7 -3
- package/dist/cjs/taro-share-element-core.cjs.entry.js +19 -0
- package/dist/cjs/taro-slot-core.cjs.entry.js +19 -0
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +10 -1
- package/dist/cjs/taro-tabbar.cjs.entry.js +100 -46
- package/dist/cjs/taro-textarea-core.cjs.entry.js +63 -3
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +19 -0
- package/dist/collection/collection-manifest.json +21 -5
- package/dist/collection/components/ad/ad.js +11 -0
- package/dist/collection/components/{cover-view/cover-image.js → ad-custom/ad-custom.js} +3 -3
- package/dist/collection/components/cover-image/cover-image.js +94 -0
- package/dist/collection/components/cover-image/style/index.css +5 -0
- package/dist/collection/components/cover-view/cover-view.js +166 -4
- package/dist/collection/components/cover-view/style/cover-view.css +3 -0
- package/dist/collection/components/editor/editor.js +11 -0
- package/dist/collection/components/functional-page-navigator/functional-page-navigator.js +11 -0
- package/dist/collection/components/image/image.js +1 -1
- package/dist/collection/components/image/style/index.css +2 -2
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/keyboard-accessory/keyboard-accessory.js +11 -0
- package/dist/collection/components/live-player/live-player.js +11 -0
- package/dist/collection/components/live-pusher/live-pusher.js +11 -0
- package/dist/collection/components/map/map.js +11 -0
- package/dist/collection/components/match-media/match-media.js +11 -0
- package/dist/collection/components/{movable-view → movable-area}/movable-area.js +0 -0
- package/dist/collection/components/{movable-view → movable-area}/movable-view.js +0 -0
- package/dist/collection/components/navigation-bar/navigation-bar.js +11 -0
- package/dist/collection/components/navigator/navigator.js +1 -1
- package/dist/collection/components/official-account/official-account.js +11 -0
- package/dist/collection/components/page-container/page-container.js +11 -0
- package/dist/collection/components/page-meta/page-meta.js +11 -0
- package/dist/collection/components/{picker-view-column → picker-view}/picker-view-column.js +0 -0
- package/dist/collection/components/{pull-down-refresh → pull-to-refresh}/pull-to-refresh.js +1 -1
- package/dist/collection/components/{pull-down-refresh → pull-to-refresh}/style/index.css +0 -0
- package/dist/collection/components/share-element/share-element.js +11 -0
- package/dist/collection/components/slot/slot.js +11 -0
- package/dist/collection/components/swiper/swiper.js +10 -1
- package/dist/collection/components/tabbar/tabbar.js +82 -24
- package/dist/collection/components/textarea/style/index.css +6 -2
- package/dist/collection/components/textarea/textarea.js +98 -3
- package/dist/collection/components/voip-room/voip-room.js +11 -0
- package/dist/collection/utils/index.js +50 -64
- package/dist/esm/loader.js +1 -1
- package/dist/esm/taro-ad-core.entry.js +15 -0
- package/dist/esm/taro-ad-custom-core.entry.js +15 -0
- package/dist/esm/taro-components.js +1 -1
- package/dist/esm/taro-cover-image-core.entry.js +18 -4
- package/dist/esm/taro-cover-view-core.entry.js +50 -4
- package/dist/esm/taro-editor-core.entry.js +15 -0
- package/dist/esm/taro-functional-page-navigator-core.entry.js +15 -0
- package/dist/esm/taro-image-core.entry.js +2 -2
- package/dist/esm/taro-input-core.entry.js +4 -4
- package/dist/esm/taro-keyboard-accessory-core.entry.js +15 -0
- package/dist/esm/taro-live-player-core.entry.js +15 -0
- package/dist/esm/taro-live-pusher-core.entry.js +15 -0
- package/dist/esm/taro-map-core.entry.js +15 -0
- package/dist/esm/taro-match-media-core.entry.js +15 -0
- package/dist/esm/taro-navigation-bar-core.entry.js +15 -0
- package/dist/esm/taro-navigator-core.entry.js +1 -1
- package/dist/esm/taro-official-account-core.entry.js +15 -0
- package/dist/esm/taro-page-container-core.entry.js +15 -0
- package/dist/esm/taro-page-meta-core.entry.js +15 -0
- package/dist/esm/taro-pull-to-refresh.entry.js +1 -1
- package/dist/esm/taro-share-element-core.entry.js +15 -0
- package/dist/esm/taro-slot-core.entry.js +15 -0
- package/dist/esm/taro-swiper-core_2.entry.js +10 -1
- package/dist/esm/taro-tabbar.entry.js +79 -29
- package/dist/esm/taro-textarea-core.entry.js +63 -3
- package/dist/esm/taro-voip-room-core.entry.js +15 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/taro-ad-core.entry.js +1 -0
- package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -0
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-editor-core.entry.js +1 -0
- package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -0
- package/dist/esm-es5/taro-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-input-core.entry.js +1 -1
- package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -0
- package/dist/esm-es5/taro-live-player-core.entry.js +1 -0
- package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -0
- package/dist/esm-es5/taro-map-core.entry.js +1 -0
- package/dist/esm-es5/taro-match-media-core.entry.js +1 -0
- package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -0
- package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-official-account-core.entry.js +1 -0
- package/dist/esm-es5/taro-page-container-core.entry.js +1 -0
- package/dist/esm-es5/taro-page-meta-core.entry.js +1 -0
- package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
- package/dist/esm-es5/taro-share-element-core.entry.js +1 -0
- package/dist/esm-es5/taro-slot-core.entry.js +1 -0
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-tabbar.entry.js +1 -1
- package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
- package/dist/esm-es5/taro-voip-room-core.entry.js +1 -0
- package/dist/taro-components/{p-70f40e3a.entry.js → p-02b84386.entry.js} +1 -1
- package/dist/taro-components/{p-af9ec312.system.entry.js → p-0a0377f6.system.entry.js} +1 -1
- package/dist/taro-components/p-14095f6b.system.entry.js +1 -0
- package/dist/taro-components/p-14fd68ec.entry.js +1 -0
- package/dist/taro-components/p-16d9e6b9.system.entry.js +1 -0
- package/dist/taro-components/p-1cc97957.entry.js +1 -0
- package/dist/taro-components/p-30bfacb9.system.js +1 -1
- package/dist/taro-components/p-33bcdee9.entry.js +1 -0
- package/dist/taro-components/p-37594e84.entry.js +1 -0
- package/dist/taro-components/p-38d8fa46.system.entry.js +1 -0
- package/dist/taro-components/{p-098f4931.system.entry.js → p-3984f596.system.entry.js} +1 -1
- package/dist/taro-components/p-39bee235.entry.js +1 -0
- package/dist/taro-components/p-3ed0783c.system.entry.js +1 -0
- package/dist/taro-components/p-4288566a.system.entry.js +1 -0
- package/dist/taro-components/p-432f803f.entry.js +1 -0
- package/dist/taro-components/p-4d643967.entry.js +1 -0
- package/dist/taro-components/p-52ef77b2.entry.js +1 -0
- package/dist/taro-components/p-53297f27.entry.js +1 -0
- package/dist/taro-components/p-5e20dff4.system.entry.js +1 -0
- package/dist/taro-components/p-60a15326.system.entry.js +1 -0
- package/dist/taro-components/p-6422a968.system.entry.js +1 -0
- package/dist/taro-components/p-79b3c05a.entry.js +1 -0
- package/dist/taro-components/p-81e1d9a3.system.entry.js +1 -0
- package/dist/taro-components/p-8235b7b7.system.entry.js +1 -0
- package/dist/taro-components/p-82741605.entry.js +1 -0
- package/dist/taro-components/p-8415cd92.entry.js +1 -0
- package/dist/taro-components/p-8f0e3f13.entry.js +1 -0
- package/dist/taro-components/p-9b9727c7.entry.js +1 -0
- package/dist/taro-components/p-9bd65170.system.entry.js +1 -0
- package/dist/taro-components/p-9e7a85ae.entry.js +1 -0
- package/dist/taro-components/p-a4fdb95b.system.entry.js +1 -0
- package/dist/taro-components/p-a5c0a7e3.entry.js +1 -0
- package/dist/taro-components/p-ab55aacd.system.entry.js +1 -0
- package/dist/taro-components/{p-8cf16235.entry.js → p-b2ec0cf1.entry.js} +1 -1
- package/dist/taro-components/p-b3abedf8.entry.js +1 -0
- package/dist/taro-components/p-bc08a702.system.entry.js +1 -0
- package/dist/taro-components/p-becfab60.system.entry.js +1 -0
- package/dist/taro-components/p-c7cfcb8e.entry.js +1 -0
- package/dist/taro-components/p-cb8099dd.entry.js +1 -0
- package/dist/taro-components/p-cdf144cb.system.entry.js +1 -0
- package/dist/taro-components/p-d8363f59.system.entry.js +1 -0
- package/dist/taro-components/{p-2ef4681b.system.entry.js → p-d9494012.system.entry.js} +1 -1
- package/dist/taro-components/p-dfe76645.entry.js +1 -0
- package/dist/taro-components/p-e1e289bb.entry.js +1 -0
- package/dist/taro-components/p-e42b782e.system.entry.js +1 -0
- package/dist/taro-components/p-ed3ff1e4.entry.js +1 -0
- package/dist/taro-components/p-effd64d5.system.entry.js +1 -0
- package/dist/taro-components/p-f05422a6.entry.js +1 -0
- package/dist/taro-components/p-f70b6a12.system.entry.js +1 -0
- package/dist/taro-components/p-f928a72e.system.entry.js +1 -0
- package/dist/taro-components/p-fac09a5c.system.entry.js +1 -0
- package/dist/taro-components/taro-components.css +1 -1
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/types/components/ad/ad.d.ts +4 -0
- package/dist/types/components/{cover-view/cover-image.d.ts → ad-custom/ad-custom.d.ts} +1 -1
- package/dist/types/components/cover-image/cover-image.d.ts +11 -0
- package/dist/types/components/cover-view/cover-view.d.ts +14 -2
- package/dist/types/components/editor/editor.d.ts +4 -0
- package/dist/types/components/functional-page-navigator/functional-page-navigator.d.ts +4 -0
- package/dist/types/components/keyboard-accessory/keyboard-accessory.d.ts +4 -0
- package/dist/types/components/live-player/live-player.d.ts +4 -0
- package/dist/types/components/live-pusher/live-pusher.d.ts +4 -0
- package/dist/types/components/map/map.d.ts +4 -0
- package/dist/types/components/match-media/match-media.d.ts +4 -0
- package/dist/types/components/{movable-view → movable-area}/movable-area.d.ts +0 -0
- package/dist/types/components/{movable-view → movable-area}/movable-view.d.ts +0 -0
- package/dist/types/components/navigation-bar/navigation-bar.d.ts +4 -0
- package/dist/types/components/official-account/official-account.d.ts +4 -0
- package/dist/types/components/page-container/page-container.d.ts +4 -0
- package/dist/types/components/page-meta/page-meta.d.ts +4 -0
- package/dist/types/components/{picker-view-column → picker-view}/picker-view-column.d.ts +0 -0
- package/dist/types/components/{pull-down-refresh → pull-to-refresh}/pull-to-refresh.d.ts +0 -0
- package/dist/types/components/share-element/share-element.d.ts +4 -0
- package/dist/types/components/slot/slot.d.ts +4 -0
- package/dist/types/components/swiper/swiper.d.ts +1 -0
- package/dist/types/components/tabbar/tabbar.d.ts +21 -2
- package/dist/types/components/textarea/textarea.d.ts +6 -0
- package/dist/types/components/voip-room/voip-room.d.ts +4 -0
- package/dist/types/components.d.ts +226 -0
- package/dist/types/utils/index.d.ts +8 -0
- package/dist-h5/react/index.js +2 -1
- package/dist-h5/vue/createComponent.js +4 -0
- package/dist-h5/vue/createFormsComponent.js +8 -1
- package/dist-h5/vue/simpleComponents.js +1 -1
- package/package.json +4 -4
- package/types/Ad.d.ts +6 -6
- package/types/AdCustom.d.ts +50 -0
- package/types/Button.d.ts +2 -2
- package/types/CoverImage.d.ts +3 -3
- package/types/CoverView.d.ts +3 -3
- package/types/Image.d.ts +8 -2
- package/types/KeyboardAccessory.d.ts +29 -0
- package/types/MovableView.d.ts +1 -1
- package/types/PageContainer.d.ts +115 -0
- package/types/ShareElement.d.ts +39 -0
- package/types/View.d.ts +1 -1
- package/types/VoipRoom.d.ts +71 -0
- package/types/common.d.ts +3 -8
- package/types/index.d.ts +72 -46
- package/virtual-list/react/createListComponent.js +4 -3
- package/dist/taro-components/p-0fb7f599.entry.js +0 -1
- package/dist/taro-components/p-2c5d57af.entry.js +0 -1
- package/dist/taro-components/p-382cabbc.system.entry.js +0 -1
- package/dist/taro-components/p-4ff67760.entry.js +0 -1
- package/dist/taro-components/p-5d84eaf0.entry.js +0 -1
- package/dist/taro-components/p-69be8189.system.entry.js +0 -1
- package/dist/taro-components/p-b685a487.system.entry.js +0 -1
- package/dist/taro-components/p-b6e0dca6.entry.js +0 -1
- package/dist/taro-components/p-c221cebb.system.entry.js +0 -1
- package/dist/taro-components/p-c5722042.entry.js +0 -1
- package/dist/taro-components/p-d52009d1.system.entry.js +0 -1
- package/dist/taro-components/p-f8d0dabb.entry.js +0 -1
- package/dist/taro-components/p-f9013b36.system.entry.js +0 -1
|
@@ -10,7 +10,11 @@ import { refs } from './mixins/refs';
|
|
|
10
10
|
export default function createFormsComponent(name, event) {
|
|
11
11
|
var modelValue = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'value';
|
|
12
12
|
var classNames = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : [];
|
|
13
|
-
var props = {
|
|
13
|
+
var props = {
|
|
14
|
+
nativeProps: {
|
|
15
|
+
type: Object
|
|
16
|
+
}
|
|
17
|
+
};
|
|
14
18
|
|
|
15
19
|
if (name === 'taro-input') {
|
|
16
20
|
props.focus = Boolean;
|
|
@@ -48,6 +52,9 @@ export default function createFormsComponent(name, event) {
|
|
|
48
52
|
on[event] = self[event];
|
|
49
53
|
return createElement("".concat(name, "-core"), {
|
|
50
54
|
class: ['hydrated'].concat(_toConsumableArray(classNames)),
|
|
55
|
+
domProps: {
|
|
56
|
+
nativeProps: this.nativeProps
|
|
57
|
+
},
|
|
51
58
|
attrs: attrs,
|
|
52
59
|
on: on
|
|
53
60
|
}, self.$slots.default);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export var simpleComponents = ['taro-view', 'taro-rich-text', 'taro-button', 'taro-checkbox-group', 'taro-editor', 'taro-form', 'taro-label', 'taro-picker-view', 'taro-picker-view-column', 'taro-cover-image', 'taro-cover-view', 'taro-
|
|
1
|
+
export var simpleComponents = ['taro-view', 'taro-rich-text', 'taro-button', 'taro-checkbox-group', 'taro-editor', 'taro-form', 'taro-label', 'taro-picker-view', 'taro-picker-view-column', 'taro-cover-image', 'taro-cover-view', 'taro-movable-area', 'taro-movable-view', 'taro-swiper', 'taro-functional-page-navigator', 'taro-navigator', 'taro-audio', 'taro-camera', 'taro-live-player', 'taro-map', 'taro-ad', 'taro-official-account', 'taro-open-data', 'taro-web-view', 'taro-navigation-bar', 'taro-block', 'taro-canvas', 'taro-custom-wrapper', {
|
|
2
2
|
name: 'taro-checkbox',
|
|
3
3
|
classNames: ['weui-cells_checkbox']
|
|
4
4
|
}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/components",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.18",
|
|
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.3.
|
|
41
|
+
"@tarojs/taro": "3.3.18",
|
|
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.66.5",
|
|
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": "38f05e581a538309b42c8a118de933fd4b998811"
|
|
59
59
|
}
|
package/types/Ad.d.ts
CHANGED
|
@@ -11,12 +11,12 @@ interface AdProps extends StandardProps {
|
|
|
11
11
|
* @supported weapp
|
|
12
12
|
*/
|
|
13
13
|
adIntervals?: number
|
|
14
|
-
|
|
14
|
+
|
|
15
15
|
/** 广告类型,默认为展示`banner`,可通过设置该属性为`video`展示视频广告, `grid`为格子广告
|
|
16
16
|
* @supported weapp
|
|
17
17
|
*/
|
|
18
18
|
adType?: 'banner' | 'video' | 'grid'
|
|
19
|
-
|
|
19
|
+
|
|
20
20
|
/** 广告主题样式设置
|
|
21
21
|
* @supported weapp
|
|
22
22
|
*/
|
|
@@ -42,9 +42,9 @@ declare namespace AdProps {
|
|
|
42
42
|
interface onErrorEventDetail {
|
|
43
43
|
errCode: keyof AdErrCode
|
|
44
44
|
}
|
|
45
|
-
/**
|
|
45
|
+
/**
|
|
46
46
|
* 广告错误码
|
|
47
|
-
*
|
|
47
|
+
*
|
|
48
48
|
* 错误码是通过onError获取到的错误信息。调试期间,可以通过异常返回来捕获信息。
|
|
49
49
|
* 在小程序发布上线之后,如果遇到异常问题,可以在[“运维中心“](https://mp.weixin.qq.com/)里面搜寻错误日志,还可以针对异常返回加上适当的监控信息。
|
|
50
50
|
*/
|
|
@@ -116,8 +116,8 @@ declare namespace AdProps {
|
|
|
116
116
|
* render () {
|
|
117
117
|
* return (
|
|
118
118
|
* <Ad
|
|
119
|
-
*
|
|
120
|
-
*
|
|
119
|
+
* unitId=''
|
|
120
|
+
* adIntervals={60}
|
|
121
121
|
* onLoad={() => console.log('ad onLoad')}
|
|
122
122
|
* onError={() => console.log('ad onError')}
|
|
123
123
|
* onClose={() => console.log('ad onClose')}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
import { StandardProps, CommonEventFunction } from './common'
|
|
3
|
+
import { AdProps } from './Ad'
|
|
4
|
+
|
|
5
|
+
interface AdCustomProps extends StandardProps {
|
|
6
|
+
/** 广告单元id,可在[小程序管理后台](https://mp.weixin.qq.com/)的流量主模块新建
|
|
7
|
+
* @supported weapp
|
|
8
|
+
*/
|
|
9
|
+
unitId: string
|
|
10
|
+
|
|
11
|
+
/** 广告自动刷新的间隔时间,单位为秒,参数值必须大于等于30(该参数不传入时 Banner 广告不会自动刷新)
|
|
12
|
+
* @supported weapp
|
|
13
|
+
*/
|
|
14
|
+
adIntervals?: number
|
|
15
|
+
|
|
16
|
+
/** 广告加载成功的回调
|
|
17
|
+
* @supported weapp
|
|
18
|
+
*/
|
|
19
|
+
onLoad?: CommonEventFunction
|
|
20
|
+
|
|
21
|
+
/** 当广告发生错误时,触发的事件,可以通过该事件获取错误码及原因,事件对象event.detail = {errCode: 1002}
|
|
22
|
+
* @supported weapp
|
|
23
|
+
*/
|
|
24
|
+
onError?: CommonEventFunction<AdProps.onErrorEventDetail>
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/** Banner 广告
|
|
28
|
+
* @classification open
|
|
29
|
+
* @supported weapp
|
|
30
|
+
* @example
|
|
31
|
+
* ```tsx
|
|
32
|
+
* class App extends Component {
|
|
33
|
+
* render () {
|
|
34
|
+
* return (
|
|
35
|
+
* <AdCustom
|
|
36
|
+
* unitId=''
|
|
37
|
+
* adIntervals={60}
|
|
38
|
+
* onLoad={() => console.log('ad onLoad')}
|
|
39
|
+
* onError={() => console.log('ad onError')}
|
|
40
|
+
* onClose={() => console.log('ad onClose')}
|
|
41
|
+
* />
|
|
42
|
+
* )
|
|
43
|
+
* }
|
|
44
|
+
* }
|
|
45
|
+
* ```
|
|
46
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/ad.html
|
|
47
|
+
*/
|
|
48
|
+
declare const AdCustom: ComponentType<AdCustomProps>
|
|
49
|
+
|
|
50
|
+
export { AdCustom, AdCustomProps }
|
package/types/Button.d.ts
CHANGED
|
@@ -39,9 +39,9 @@ interface ButtonProps extends StandardProps {
|
|
|
39
39
|
formType?: keyof ButtonProps.formType
|
|
40
40
|
|
|
41
41
|
/** 微信开放能力
|
|
42
|
-
* @supported weapp
|
|
42
|
+
* @supported weapp, alipay, qq
|
|
43
43
|
*/
|
|
44
|
-
openType?: ButtonProps.openType
|
|
44
|
+
openType?: ButtonProps.openType
|
|
45
45
|
|
|
46
46
|
/** 指定按下去的样式类。当 `hover-class="none"` 时,没有点击态效果
|
|
47
47
|
* @default button-hover
|
package/types/CoverImage.d.ts
CHANGED
|
@@ -27,9 +27,9 @@ interface CoverImageProps extends StandardProps {
|
|
|
27
27
|
* render () {
|
|
28
28
|
* return (
|
|
29
29
|
* <Video id='myVideo' src='src'>
|
|
30
|
-
* <CoverView
|
|
31
|
-
* <CoverView
|
|
32
|
-
* <CoverImage
|
|
30
|
+
* <CoverView className='controls'>
|
|
31
|
+
* <CoverView className='play' onClick={() => { TODO }}>
|
|
32
|
+
* <CoverImage className='img' src='src' />
|
|
33
33
|
* </CoverView>
|
|
34
34
|
* </CoverView>
|
|
35
35
|
* </Video>
|
package/types/CoverView.d.ts
CHANGED
|
@@ -28,9 +28,9 @@ interface CoverViewProps extends ViewProps {
|
|
|
28
28
|
* render () {
|
|
29
29
|
* return (
|
|
30
30
|
* <Video id='myVideo' src='src'>
|
|
31
|
-
* <CoverView
|
|
32
|
-
* <CoverView
|
|
33
|
-
* <CoverImage
|
|
31
|
+
* <CoverView className='controls'>
|
|
32
|
+
* <CoverView className='play' onClick={() => { TODO }}>
|
|
33
|
+
* <CoverImage className='img' src='src' />
|
|
34
34
|
* </CoverView>
|
|
35
35
|
* </CoverView>
|
|
36
36
|
* </Video>
|
package/types/Image.d.ts
CHANGED
|
@@ -20,6 +20,12 @@ interface ImageProps extends StandardProps {
|
|
|
20
20
|
*/
|
|
21
21
|
webp?: boolean
|
|
22
22
|
|
|
23
|
+
/** 默认不解析 svg 格式,svg 图片只支持 aspectFit
|
|
24
|
+
* @default false
|
|
25
|
+
* @supported rn
|
|
26
|
+
*/
|
|
27
|
+
svg?: boolean
|
|
28
|
+
|
|
23
29
|
/** 图片懒加载。只针对 page 与 scroll-view 下的 image 有效
|
|
24
30
|
* @default false
|
|
25
31
|
* @supported weapp, swan, alipay, tt
|
|
@@ -94,7 +100,7 @@ declare namespace ImageProps {
|
|
|
94
100
|
}
|
|
95
101
|
|
|
96
102
|
/** 图片。支持 JPG、PNG、SVG、WEBP、GIF 等格式以及云文件ID。
|
|
97
|
-
*
|
|
103
|
+
*
|
|
98
104
|
* **Note:** 为实现小程序的 `mode` 特性,在 H5 组件中使用一个 `div` 容器来对内部的 `img` 进行展示区域的裁剪,因此请勿使用元素选择器来重置 `img` 的样式!
|
|
99
105
|
* @classification media
|
|
100
106
|
* @supported weapp, h5, rn, swan, alipay, tt
|
|
@@ -104,7 +110,7 @@ declare namespace ImageProps {
|
|
|
104
110
|
* constructor() {
|
|
105
111
|
* super(...arguments)
|
|
106
112
|
* }
|
|
107
|
-
*
|
|
113
|
+
*
|
|
108
114
|
* render() {
|
|
109
115
|
* return (
|
|
110
116
|
* <View className='components-page'>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
import { StandardProps, CommonEventFunction } from './common'
|
|
3
|
+
|
|
4
|
+
type KeyboardAccessoryProps = StandardProps
|
|
5
|
+
|
|
6
|
+
/** 设置 input / textarea 聚焦时键盘上方 cover-view / cover-image 工具栏视图
|
|
7
|
+
*
|
|
8
|
+
* @classification forms
|
|
9
|
+
* @supported weapp
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* class App extends Component {
|
|
13
|
+
* render () {
|
|
14
|
+
* return (
|
|
15
|
+
* <Textarea holdKeyboard="{{true}}">
|
|
16
|
+
* <KeyboardAccessory className="container" style={{ height: 50 }} >
|
|
17
|
+
* <CoverView onClick={() => { TODO }} style={{ flex: 1, background: 'green' }}>1</CoverView>
|
|
18
|
+
* <CoverView onClick={() => { TODO }} style={{ flex: 1, background: 'red' }}>2</CoverView>
|
|
19
|
+
* </KeyboardAccessory>
|
|
20
|
+
* </Textarea>
|
|
21
|
+
* )
|
|
22
|
+
* }
|
|
23
|
+
* }
|
|
24
|
+
* ```
|
|
25
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/keyboard-accessory.html
|
|
26
|
+
*/
|
|
27
|
+
declare const KeyboardAccessory: ComponentType<KeyboardAccessoryProps>
|
|
28
|
+
|
|
29
|
+
export { KeyboardAccessory, KeyboardAccessoryProps }
|
package/types/MovableView.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentType } from 'react'
|
|
2
|
-
import { StandardProps, CommonEventFunction, TouchEventFunction
|
|
2
|
+
import { StandardProps, CommonEventFunction, TouchEventFunction } from './common'
|
|
3
3
|
|
|
4
4
|
interface MovableViewProps extends Omit<StandardProps, 'animation'> {
|
|
5
5
|
/** movable-view 的移动方向,属性值有`all`、`vertical`、`horizontal`、`none`
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
import { StandardProps, CommonEventFunction, BaseEventOrigFunction } from './common'
|
|
3
|
+
|
|
4
|
+
interface PageContainerProps extends StandardProps {
|
|
5
|
+
/** 是否显示容器组件
|
|
6
|
+
* @default false
|
|
7
|
+
* @supported weapp
|
|
8
|
+
*/
|
|
9
|
+
show?: boolean
|
|
10
|
+
|
|
11
|
+
/** 动画时长,单位毫秒
|
|
12
|
+
* @default 300
|
|
13
|
+
* @supported weapp
|
|
14
|
+
*/
|
|
15
|
+
duration?: number
|
|
16
|
+
|
|
17
|
+
/** z-index 层级
|
|
18
|
+
* @default 100
|
|
19
|
+
* @supported weapp
|
|
20
|
+
*/
|
|
21
|
+
zIndex?: number
|
|
22
|
+
|
|
23
|
+
/** 是否显示遮罩层
|
|
24
|
+
* @default true
|
|
25
|
+
* @supported weapp
|
|
26
|
+
*/
|
|
27
|
+
overlay?: boolean
|
|
28
|
+
|
|
29
|
+
/** 弹出位置,可选值为 top bottom right center
|
|
30
|
+
* @default bottom
|
|
31
|
+
* @supported weapp
|
|
32
|
+
*/
|
|
33
|
+
position?: keyof PageContainerProps.position
|
|
34
|
+
|
|
35
|
+
/** 是否显示圆角
|
|
36
|
+
* @default false
|
|
37
|
+
* @supported weapp
|
|
38
|
+
*/
|
|
39
|
+
round?: boolean
|
|
40
|
+
|
|
41
|
+
/** 自定义遮罩层样式
|
|
42
|
+
* @default false
|
|
43
|
+
* @supported weapp
|
|
44
|
+
*/
|
|
45
|
+
closeOnSlideDown?: boolean
|
|
46
|
+
|
|
47
|
+
/** 是否在下滑一段距离后关闭
|
|
48
|
+
* @supported weapp
|
|
49
|
+
*/
|
|
50
|
+
overlayStyle?: boolean
|
|
51
|
+
|
|
52
|
+
/** 自定义弹出层样式
|
|
53
|
+
* @supported weapp
|
|
54
|
+
*/
|
|
55
|
+
customStyle?: boolean
|
|
56
|
+
|
|
57
|
+
/** 进入前触发
|
|
58
|
+
* @supported weapp
|
|
59
|
+
*/
|
|
60
|
+
onBeforeEnter?: CommonEventFunction
|
|
61
|
+
|
|
62
|
+
/** 进入中触发
|
|
63
|
+
* @supported weapp
|
|
64
|
+
*/
|
|
65
|
+
onEnter?: CommonEventFunction
|
|
66
|
+
|
|
67
|
+
/** 进入后触发
|
|
68
|
+
* @supported weapp
|
|
69
|
+
*/
|
|
70
|
+
onAfterEnter?: CommonEventFunction
|
|
71
|
+
|
|
72
|
+
/** 离开前触发
|
|
73
|
+
* @supported weapp
|
|
74
|
+
*/
|
|
75
|
+
onBeforeLeave?: CommonEventFunction
|
|
76
|
+
|
|
77
|
+
/** 离开中触发
|
|
78
|
+
* @supported weapp
|
|
79
|
+
*/
|
|
80
|
+
onLeave?: CommonEventFunction
|
|
81
|
+
|
|
82
|
+
/** 离开后触发
|
|
83
|
+
* @supported weapp
|
|
84
|
+
*/
|
|
85
|
+
onAfterLeave?: CommonEventFunction
|
|
86
|
+
|
|
87
|
+
/** 点击遮罩层时触发
|
|
88
|
+
* @supported weapp
|
|
89
|
+
*/
|
|
90
|
+
onClickOverlay?: CommonEventFunction
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
declare namespace PageContainerProps {
|
|
94
|
+
interface position {
|
|
95
|
+
top
|
|
96
|
+
bottom
|
|
97
|
+
left
|
|
98
|
+
right
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/** 页面容器
|
|
103
|
+
*
|
|
104
|
+
* 小程序如果在页面内进行复杂的界面设计(如在页面内弹出半屏的弹窗、在页面内加载一个全屏的子页面等),用户进行返回操作会直接离开当前页面,不符合用户预期,预期应为关闭当前弹出的组件。
|
|
105
|
+
* 为此提供“假页”容器组件,效果类似于 `popup` 弹出层,页面内存在该容器时,当用户进行返回操作,关闭该容器不关闭页面。返回操作包括三种情形,右滑手势、安卓物理返回键和调用 `navigateBack` 接口。
|
|
106
|
+
*
|
|
107
|
+
* Bug & Tip
|
|
108
|
+
* 1. tip: 当前页面最多只有 1 个容器,若已存在容器的情况下,无法增加新的容器
|
|
109
|
+
* 2. tip: wx.navigateBack 无法在页面栈顶调用,此时没有上一级页面
|
|
110
|
+
* @classification viewContainer
|
|
111
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/page-container.html
|
|
112
|
+
*/
|
|
113
|
+
declare const PageContainer: ComponentType<PageContainerProps>
|
|
114
|
+
|
|
115
|
+
export { PageContainer, PageContainerProps }
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
import { StandardProps, CommonEventFunction } from './common'
|
|
3
|
+
|
|
4
|
+
interface ShareElementProps extends StandardProps {
|
|
5
|
+
/** 映射标记
|
|
6
|
+
* @supported weapp
|
|
7
|
+
*/
|
|
8
|
+
key: string
|
|
9
|
+
|
|
10
|
+
/** 是否进行动画
|
|
11
|
+
* @default false
|
|
12
|
+
* @supported weapp
|
|
13
|
+
*/
|
|
14
|
+
transform?: boolean
|
|
15
|
+
|
|
16
|
+
/** 动画时长,单位毫秒
|
|
17
|
+
* @default 300
|
|
18
|
+
* @supported weapp
|
|
19
|
+
*/
|
|
20
|
+
duration?: number
|
|
21
|
+
|
|
22
|
+
/** css缓动函数
|
|
23
|
+
* @default ease-out
|
|
24
|
+
* @supported weapp
|
|
25
|
+
*/
|
|
26
|
+
easingFunction?: number
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/** 共享元素
|
|
30
|
+
*
|
|
31
|
+
* 共享元素是一种动画形式,类似于 [`flutter Hero`](https://flutterchina.club/animations/hero-animations/) 动画,表现为元素像是在页面间穿越一样。该组件需与 [`page-container`](https://developers.weixin.qq.com/miniprogram/dev/component/page-container.html) 组件结合使用。
|
|
32
|
+
* 使用时需在当前页放置 `share-element` 组件,同时在 `page-container` 容器中放置对应的 `share-element` 组件,对应关系通过属性值 key 映射。当设置 `page-container` `显示时,transform` 属性为 `true` 的共享元素会产生动画。当前页面容器退出时,会产生返回动画。
|
|
33
|
+
* @classification viewContainer
|
|
34
|
+
* @supported weapp
|
|
35
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/share-element.html
|
|
36
|
+
*/
|
|
37
|
+
declare const ShareElement: ComponentType<ShareElementProps>
|
|
38
|
+
|
|
39
|
+
export { ShareElement, ShareElementProps }
|
package/types/View.d.ts
CHANGED
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
import { StandardProps } from './common'
|
|
3
|
+
import { StyleProp, ViewStyle } from 'react-native'
|
|
4
|
+
|
|
5
|
+
interface VoipRoomProps extends StandardProps {
|
|
6
|
+
/** 进入房间用户的 openid
|
|
7
|
+
* @default none
|
|
8
|
+
* @supported weapp, swan, alipay, tt, h5
|
|
9
|
+
*/
|
|
10
|
+
openId?: string
|
|
11
|
+
|
|
12
|
+
/** 对话窗口类型,自身传入 camera,其它用户传入 video
|
|
13
|
+
* @default camera
|
|
14
|
+
* @supported weapp, swan, alipay, tt, h5
|
|
15
|
+
*/
|
|
16
|
+
mode?: keyof VoipRoomProps.mode
|
|
17
|
+
|
|
18
|
+
/** 仅在 mode 为 camera 时有效,前置或后置,值为front, back
|
|
19
|
+
* @default front
|
|
20
|
+
* @supported weapp, swan, alipay, tt, h5
|
|
21
|
+
*/
|
|
22
|
+
devicePosition?: keyof VoipRoomProps.devicePosition
|
|
23
|
+
|
|
24
|
+
/** 创建对话窗口失败时触发
|
|
25
|
+
* @supported weapp
|
|
26
|
+
*/
|
|
27
|
+
onError?: CommonEventFunction
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
namespace VoipRoomProps {
|
|
31
|
+
/** 对话窗口类型 */
|
|
32
|
+
interface mode {
|
|
33
|
+
camera
|
|
34
|
+
video
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/** 摄像头类型 */
|
|
38
|
+
interface devicePosition {
|
|
39
|
+
front
|
|
40
|
+
back
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/** 多人音视频对话
|
|
45
|
+
*
|
|
46
|
+
* 需用户授权 `scope.camera`、`scope.record`。相关接口: [Taro.joinVoIPChat](https://developers.weixin.qq.com/miniprogram/dev/api/media/voip/wx.joinVoIPChat.html)
|
|
47
|
+
* 开通该组件权限后,开发者可在 joinVoIPChat 成功后,获取房间成员的 openid,传递给 voip-room 组件,以显示成员画面。
|
|
48
|
+
* @classification media
|
|
49
|
+
* @supported weapp
|
|
50
|
+
* @example
|
|
51
|
+
* ```tsx
|
|
52
|
+
* export default class PageView extends Component {
|
|
53
|
+
* constructor() {
|
|
54
|
+
* super(...arguments)
|
|
55
|
+
* }
|
|
56
|
+
*
|
|
57
|
+
* render() {
|
|
58
|
+
* return (
|
|
59
|
+
* <VoipRoom
|
|
60
|
+
* openId="{{item}}"
|
|
61
|
+
* mode="{{selfOpenId === item ? 'camera' : 'video'}}">
|
|
62
|
+
* </VoipRoom>
|
|
63
|
+
* )
|
|
64
|
+
* }
|
|
65
|
+
* }
|
|
66
|
+
* ```
|
|
67
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/voip-room.html
|
|
68
|
+
*/
|
|
69
|
+
declare const VoipRoom: ComponentType<VoipRoomProps>
|
|
70
|
+
|
|
71
|
+
export { VoipRoom, VoipRoomProps }
|
package/types/common.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { CSSProperties, LegacyRef } from 'react'
|
|
2
2
|
|
|
3
|
-
export type Omit<T, K extends keyof T> = Pick<T, ({ [P in keyof T]: P } & { [P in K]: never } & { [x: string]: never })[keyof T]>;
|
|
4
|
-
|
|
5
3
|
export interface StandardProps<T = any, TouchEvent extends BaseTouchEvent<any> = ITouchEvent> extends EventProps<TouchEvent> {
|
|
6
4
|
/** 组件的唯一标示, 保持整个页面唯一 */
|
|
7
5
|
id?: string
|
|
@@ -16,7 +14,7 @@ export interface StandardProps<T = any, TouchEvent extends BaseTouchEvent<any> =
|
|
|
16
14
|
/** 组件是否显示, 所有组件默认显示 */
|
|
17
15
|
hidden?: boolean
|
|
18
16
|
/** 动画属性 */
|
|
19
|
-
animation?: { actions:
|
|
17
|
+
animation?: { actions: TaroGeneral.IAnyObject[] }
|
|
20
18
|
/** 引用 */
|
|
21
19
|
ref?: LegacyRef<T>
|
|
22
20
|
/**
|
|
@@ -24,7 +22,7 @@ export interface StandardProps<T = any, TouchEvent extends BaseTouchEvent<any> =
|
|
|
24
22
|
* @see https://taro-docs.jd.com/taro/docs/html
|
|
25
23
|
*/
|
|
26
24
|
dangerouslySetInnerHTML?: {
|
|
27
|
-
__html: string
|
|
25
|
+
__html: string
|
|
28
26
|
}
|
|
29
27
|
}
|
|
30
28
|
|
|
@@ -146,10 +144,7 @@ export interface Target {
|
|
|
146
144
|
}
|
|
147
145
|
}
|
|
148
146
|
|
|
149
|
-
|
|
150
|
-
* @ignore
|
|
151
|
-
*/
|
|
152
|
-
export interface currentTarget extends Target {}
|
|
147
|
+
export type currentTarget = Target
|
|
153
148
|
|
|
154
149
|
/** 网络状态数据 */
|
|
155
150
|
export interface netStatus {
|
package/types/index.d.ts
CHANGED
|
@@ -1,49 +1,75 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export * from './common'
|
|
2
|
+
export * from './event'
|
|
3
|
+
|
|
4
|
+
/** 视图容器 */
|
|
3
5
|
export { Block } from './Block'
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export { MatchMedia } from './MatchMedia'
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
6
|
+
export { CoverImage, CoverImageProps } from './CoverImage'
|
|
7
|
+
export { CoverView, CoverViewProps } from './CoverView'
|
|
8
|
+
export { MatchMedia, MatchMediaProps } from './MatchMedia'
|
|
9
|
+
export { MovableArea, MovableAreaProps } from './MovableArea'
|
|
10
|
+
export { MovableView, MovableViewProps } from './MovableView'
|
|
11
|
+
export { PageContainer, PageContainerProps } from './PageContainer'
|
|
12
|
+
export { ScrollView, ScrollViewProps } from './ScrollView'
|
|
13
|
+
export { ShareElement, ShareElementProps } from './ShareElement'
|
|
14
|
+
export { Swiper, SwiperProps } from './Swiper'
|
|
15
|
+
export { SwiperItem, SwiperItemProps } from './SwiperItem'
|
|
16
|
+
export { View, ViewProps } from './View'
|
|
17
|
+
|
|
18
|
+
/** 基础内容 */
|
|
19
|
+
export { Icon, IconProps } from './Icon'
|
|
20
|
+
export { Progress, ProgressProps } from './Progress'
|
|
21
|
+
export { RichText, RichTextProps } from './RichText'
|
|
22
|
+
export { Text, TextProps } from './Text'
|
|
23
|
+
|
|
24
|
+
/** 表单组件 */
|
|
15
25
|
export { Button, ButtonProps } from './Button'
|
|
16
|
-
export { Checkbox } from './Checkbox'
|
|
17
|
-
export { CheckboxGroup } from './CheckboxGroup'
|
|
18
|
-
export { Editor } from './Editor'
|
|
19
|
-
export { Form } from './Form'
|
|
20
|
-
export { Input } from './Input'
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
26
|
+
export { Checkbox, CheckboxProps } from './Checkbox'
|
|
27
|
+
export { CheckboxGroup, CheckboxGroupProps } from './CheckboxGroup'
|
|
28
|
+
export { Editor, EditorProps } from './Editor'
|
|
29
|
+
export { Form, FormProps } from './Form'
|
|
30
|
+
export { Input, InputProps } from './Input'
|
|
31
|
+
export { KeyboardAccessory, KeyboardAccessoryProps } from './KeyboardAccessory'
|
|
32
|
+
export { Label, LabelProps } from './Label'
|
|
33
|
+
export { Picker, PickerDateProps, PickerTimeProps, PickerRegionProps, PickerSelectorProps, PickerStandardProps, PickerMultiSelectorProps } from './Picker'
|
|
34
|
+
export { PickerView, PickerViewProps } from './PickerView'
|
|
24
35
|
export { PickerViewColumn } from './PickerViewColumn'
|
|
25
|
-
export { Radio } from './Radio'
|
|
26
|
-
export { RadioGroup } from './RadioGroup'
|
|
27
|
-
export { Slider } from './Slider'
|
|
28
|
-
export { Switch } from './Switch'
|
|
29
|
-
export { Textarea } from './Textarea'
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export {
|
|
33
|
-
export {
|
|
34
|
-
export {
|
|
35
|
-
export {
|
|
36
|
-
export {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
export {
|
|
40
|
-
export {
|
|
41
|
-
export {
|
|
42
|
-
export {
|
|
43
|
-
export {
|
|
44
|
-
export {
|
|
45
|
-
export {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
export
|
|
49
|
-
|
|
36
|
+
export { Radio, RadioProps } from './Radio'
|
|
37
|
+
export { RadioGroup, RadioGroupProps } from './RadioGroup'
|
|
38
|
+
export { Slider, SliderProps } from './Slider'
|
|
39
|
+
export { Switch, SwitchProps } from './Switch'
|
|
40
|
+
export { Textarea, TextareaProps } from './Textarea'
|
|
41
|
+
|
|
42
|
+
/** 导航 */
|
|
43
|
+
export { FunctionalPageNavigator, FunctionalPageNavigatorProps } from './FunctionalPageNavigator'
|
|
44
|
+
export { Navigator, NavigatorProps } from './Navigator'
|
|
45
|
+
export { NavigationBar, NavigationBarProps } from './NavigationBar'
|
|
46
|
+
// export { Tabbar, TabbarProps } from './Tabbar'
|
|
47
|
+
// export { TabbarItem, TabbarProps } from './TabbarItem'
|
|
48
|
+
|
|
49
|
+
/** 媒体组件 */
|
|
50
|
+
export { Audio, AudioProps } from './Audio'
|
|
51
|
+
export { Camera, CameraProps } from './Camera'
|
|
52
|
+
export { Image, ImageProps } from './Image'
|
|
53
|
+
export { LivePlayer, LivePlayerProps } from './LivePlayer'
|
|
54
|
+
export { LivePusher, LivePusherProps } from './LivePusher'
|
|
55
|
+
export { Video, VideoProps } from './Video'
|
|
56
|
+
export { VoipRoom, VoipRoomProps } from './VoipRoom'
|
|
57
|
+
|
|
58
|
+
/** 地图 */
|
|
59
|
+
export { Map, MapProps } from './Map'
|
|
60
|
+
|
|
61
|
+
/** 画布 */
|
|
62
|
+
export { Canvas, CanvasProps } from './Canvas'
|
|
63
|
+
|
|
64
|
+
/** 开放能力 */
|
|
65
|
+
export { Ad, AdProps } from './Ad'
|
|
66
|
+
export { AdCustom, AdCustomProps } from './AdCustom'
|
|
67
|
+
export { OfficialAccount, OfficialAccountProps } from './OfficialAccount'
|
|
68
|
+
export { OpenData, OpenDataProps } from './OpenData'
|
|
69
|
+
export { WebView, WebViewProps } from './WebView'
|
|
70
|
+
|
|
71
|
+
/** 配置节点 */
|
|
72
|
+
export { PageMeta, PageMetaProps } from './PageMeta'
|
|
73
|
+
|
|
74
|
+
export { CustomWrapper, CustomWrapperProps } from './CustomWrapper'
|
|
75
|
+
export { Slot, SlotProps } from './Slot'
|