@tarojs/components 3.6.0-canary.1 → 3.6.0-canary.11
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-animation-video-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-animation-video-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-animation-view-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-button-core.cjs.entry.js +5 -0
- package/dist/cjs/taro-button-core.cjs.entry.js.map +1 -1
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-comment-list-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-components.cjs.js +1 -1
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-contact-button-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-like-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-like-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-login-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-login-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-lottie-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-lottie-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-native-slot-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js.map +1 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js +5 -0
- package/dist/cjs/taro-slot-core.cjs.entry.js.map +1 -1
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +5 -5
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js.map +1 -1
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-tab-item-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-tabbar.cjs.entry.js.map +1 -1
- package/dist/cjs/taro-tabs-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-tabs-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-view-core.cjs.entry.js +6 -2
- package/dist/cjs/taro-view-core.cjs.entry.js.map +1 -1
- package/dist/collection/collection-manifest.json +18 -0
- package/dist/collection/components/animation-video/animation-video.js +12 -0
- package/dist/collection/components/animation-video/animation-video.js.map +1 -0
- package/dist/collection/components/animation-view/animation-view.js +12 -0
- package/dist/collection/components/animation-view/animation-view.js.map +1 -0
- package/dist/collection/components/ar-camera/ar-camera.js +12 -0
- package/dist/collection/components/ar-camera/ar-camera.js.map +1 -0
- package/dist/collection/components/aweme-data/aweme-data.js +12 -0
- package/dist/collection/components/aweme-data/aweme-data.js.map +1 -0
- package/dist/collection/components/button/button.js +11 -0
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/comment/comment-detail.js +12 -0
- package/dist/collection/components/comment/comment-detail.js.map +1 -0
- package/dist/collection/components/comment/comment-list.js +12 -0
- package/dist/collection/components/comment/comment-list.js.map +1 -0
- package/dist/collection/components/contact-button/contact-button.js +12 -0
- package/dist/collection/components/contact-button/contact-button.js.map +1 -0
- package/dist/collection/components/follow-swan/follow-swan.js +12 -0
- package/dist/collection/components/follow-swan/follow-swan.js.map +1 -0
- package/dist/collection/components/inline-payment-panel/inline-payment-panel.js +12 -0
- package/dist/collection/components/inline-payment-panel/inline-payment-panel.js.map +1 -0
- package/dist/collection/components/lifestyle/lifestyle.js +12 -0
- package/dist/collection/components/lifestyle/lifestyle.js.map +1 -0
- package/dist/collection/components/like/like.js +12 -0
- package/dist/collection/components/like/like.js.map +1 -0
- package/dist/collection/components/login/login.js +12 -0
- package/dist/collection/components/login/login.js.map +1 -0
- package/dist/collection/components/lottie/lottie.js +12 -0
- package/dist/collection/components/lottie/lottie.js.map +1 -0
- package/dist/collection/components/rtc-room/rtc-room-item.js +12 -0
- package/dist/collection/components/rtc-room/rtc-room-item.js.map +1 -0
- package/dist/collection/components/rtc-room/rtc-room.js +12 -0
- package/dist/collection/components/rtc-room/rtc-room.js.map +1 -0
- package/dist/collection/components/scroll-view/scroll-view.js +1 -1
- package/dist/collection/components/scroll-view/scroll-view.js.map +1 -1
- package/dist/collection/components/slot/native-slot.js +12 -0
- package/dist/collection/components/slot/native-slot.js.map +1 -0
- package/dist/collection/components/slot/slot.js +4 -0
- package/dist/collection/components/slot/slot.js.map +1 -1
- package/dist/collection/components/swiper/swiper.js +23 -5
- package/dist/collection/components/swiper/swiper.js.map +1 -1
- package/dist/collection/components/tabs/tab-item.js +12 -0
- package/dist/collection/components/tabs/tab-item.js.map +1 -0
- package/dist/collection/components/tabs/tabs.js +12 -0
- package/dist/collection/components/tabs/tabs.js.map +1 -0
- package/dist/collection/components/view/view.js +6 -2
- package/dist/collection/components/view/view.js.map +1 -1
- package/dist/components/helper.js +15 -0
- package/dist/components/helper.js.map +1 -0
- package/dist/components/hls.js +27622 -0
- package/dist/components/hls.js.map +1 -0
- package/dist/components/index.d.ts +97 -0
- package/dist/components/index.js +79 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/index2.js +78 -0
- package/dist/components/index2.js.map +1 -0
- package/dist/components/index3.js +33 -0
- package/dist/components/index3.js.map +1 -0
- package/dist/components/intersection-observer.js +728 -0
- package/dist/components/intersection-observer.js.map +1 -0
- package/dist/components/picker-group.js +220 -0
- package/dist/components/picker-group.js.map +1 -0
- package/dist/components/taro-ad-core.d.ts +11 -0
- package/dist/components/taro-ad-core.js +35 -0
- package/dist/components/taro-ad-core.js.map +1 -0
- package/dist/components/taro-ad-custom-core.d.ts +11 -0
- package/dist/components/taro-ad-custom-core.js +35 -0
- package/dist/components/taro-ad-custom-core.js.map +1 -0
- package/dist/components/taro-animation-video-core.d.ts +11 -0
- package/dist/components/taro-animation-video-core.js +35 -0
- package/dist/components/taro-animation-video-core.js.map +1 -0
- package/dist/components/taro-animation-view-core.d.ts +11 -0
- package/dist/components/taro-animation-view-core.js +35 -0
- package/dist/components/taro-animation-view-core.js.map +1 -0
- package/dist/components/taro-ar-camera-core.d.ts +11 -0
- package/dist/components/taro-ar-camera-core.js +35 -0
- package/dist/components/taro-ar-camera-core.js.map +1 -0
- package/dist/components/taro-audio-core.d.ts +11 -0
- package/dist/components/taro-audio-core.js +80 -0
- package/dist/components/taro-audio-core.js.map +1 -0
- package/dist/components/taro-aweme-data-core.d.ts +11 -0
- package/dist/components/taro-aweme-data-core.js +35 -0
- package/dist/components/taro-aweme-data-core.js.map +1 -0
- package/dist/components/taro-block-core.d.ts +11 -0
- package/dist/components/taro-block-core.js +31 -0
- package/dist/components/taro-block-core.js.map +1 -0
- package/dist/components/taro-button-core.d.ts +11 -0
- package/dist/components/taro-button-core.js +102 -0
- package/dist/components/taro-button-core.js.map +1 -0
- package/dist/components/taro-camera-core.d.ts +11 -0
- package/dist/components/taro-camera-core.js +35 -0
- package/dist/components/taro-camera-core.js.map +1 -0
- package/dist/components/taro-canvas-core.d.ts +11 -0
- package/dist/components/taro-canvas-core.js +57 -0
- package/dist/components/taro-canvas-core.js.map +1 -0
- package/dist/components/taro-checkbox-core.d.ts +11 -0
- package/dist/components/taro-checkbox-core.js +81 -0
- package/dist/components/taro-checkbox-core.js.map +1 -0
- package/dist/components/taro-checkbox-group-core.d.ts +11 -0
- package/dist/components/taro-checkbox-group-core.js +71 -0
- package/dist/components/taro-checkbox-group-core.js.map +1 -0
- package/dist/components/taro-comment-detail-core.d.ts +11 -0
- package/dist/components/taro-comment-detail-core.js +35 -0
- package/dist/components/taro-comment-detail-core.js.map +1 -0
- package/dist/components/taro-comment-list-core.d.ts +11 -0
- package/dist/components/taro-comment-list-core.js +35 -0
- package/dist/components/taro-comment-list-core.js.map +1 -0
- package/dist/components/taro-contact-button-core.d.ts +11 -0
- package/dist/components/taro-contact-button-core.js +35 -0
- package/dist/components/taro-contact-button-core.js.map +1 -0
- package/dist/components/taro-cover-image-core.d.ts +11 -0
- package/dist/components/taro-cover-image-core.js +52 -0
- package/dist/components/taro-cover-image-core.js.map +1 -0
- package/dist/components/taro-cover-view-core.d.ts +11 -0
- package/dist/components/taro-cover-view-core.js +89 -0
- package/dist/components/taro-cover-view-core.js.map +1 -0
- package/dist/components/taro-custom-wrapper-core.d.ts +11 -0
- package/dist/components/taro-custom-wrapper-core.js +31 -0
- package/dist/components/taro-custom-wrapper-core.js.map +1 -0
- package/dist/components/taro-editor-core.d.ts +11 -0
- package/dist/components/taro-editor-core.js +35 -0
- package/dist/components/taro-editor-core.js.map +1 -0
- package/dist/components/taro-follow-swan-core.d.ts +11 -0
- package/dist/components/taro-follow-swan-core.js +35 -0
- package/dist/components/taro-follow-swan-core.js.map +1 -0
- package/dist/components/taro-form-core.d.ts +11 -0
- package/dist/components/taro-form-core.js +140 -0
- package/dist/components/taro-form-core.js.map +1 -0
- package/dist/components/taro-functional-page-navigator-core.d.ts +11 -0
- package/dist/components/taro-functional-page-navigator-core.js +35 -0
- package/dist/components/taro-functional-page-navigator-core.js.map +1 -0
- package/dist/components/taro-icon-core.d.ts +11 -0
- package/dist/components/taro-icon-core.js +48 -0
- package/dist/components/taro-icon-core.js.map +1 -0
- package/dist/components/taro-image-core.d.ts +11 -0
- package/dist/components/taro-image-core.js +81 -0
- package/dist/components/taro-image-core.js.map +1 -0
- package/dist/components/taro-inline-payment-panel-core.d.ts +11 -0
- package/dist/components/taro-inline-payment-panel-core.js +35 -0
- package/dist/components/taro-inline-payment-panel-core.js.map +1 -0
- package/dist/components/taro-input-core.d.ts +11 -0
- package/dist/components/taro-input-core.js +246 -0
- package/dist/components/taro-input-core.js.map +1 -0
- package/dist/components/taro-keyboard-accessory-core.d.ts +11 -0
- package/dist/components/taro-keyboard-accessory-core.js +35 -0
- package/dist/components/taro-keyboard-accessory-core.js.map +1 -0
- package/dist/components/taro-label-core.d.ts +11 -0
- package/dist/components/taro-label-core.js +34 -0
- package/dist/components/taro-label-core.js.map +1 -0
- package/dist/components/taro-lifestyle-core.d.ts +11 -0
- package/dist/components/taro-lifestyle-core.js +35 -0
- package/dist/components/taro-lifestyle-core.js.map +1 -0
- package/dist/components/taro-like-core.d.ts +11 -0
- package/dist/components/taro-like-core.js +35 -0
- package/dist/components/taro-like-core.js.map +1 -0
- package/dist/components/taro-live-player-core.d.ts +11 -0
- package/dist/components/taro-live-player-core.js +35 -0
- package/dist/components/taro-live-player-core.js.map +1 -0
- package/dist/components/taro-live-pusher-core.d.ts +11 -0
- package/dist/components/taro-live-pusher-core.js +35 -0
- package/dist/components/taro-live-pusher-core.js.map +1 -0
- package/dist/components/taro-login-core.d.ts +11 -0
- package/dist/components/taro-login-core.js +35 -0
- package/dist/components/taro-login-core.js.map +1 -0
- package/dist/components/taro-lottie-core.d.ts +11 -0
- package/dist/components/taro-lottie-core.js +35 -0
- package/dist/components/taro-lottie-core.js.map +1 -0
- package/dist/components/taro-map-core.d.ts +11 -0
- package/dist/components/taro-map-core.js +35 -0
- package/dist/components/taro-map-core.js.map +1 -0
- package/dist/components/taro-match-media-core.d.ts +11 -0
- package/dist/components/taro-match-media-core.js +35 -0
- package/dist/components/taro-match-media-core.js.map +1 -0
- package/dist/components/taro-movable-area-core.d.ts +11 -0
- package/dist/components/taro-movable-area-core.js +175 -0
- package/dist/components/taro-movable-area-core.js.map +1 -0
- package/dist/components/taro-movable-view-core.d.ts +11 -0
- package/dist/components/taro-movable-view-core.js +361 -0
- package/dist/components/taro-movable-view-core.js.map +1 -0
- package/dist/components/taro-native-slot-core.d.ts +11 -0
- package/dist/components/taro-native-slot-core.js +35 -0
- package/dist/components/taro-native-slot-core.js.map +1 -0
- package/dist/components/taro-navigation-bar-core.d.ts +11 -0
- package/dist/components/taro-navigation-bar-core.js +35 -0
- package/dist/components/taro-navigation-bar-core.js.map +1 -0
- package/dist/components/taro-navigator-core.d.ts +11 -0
- package/dist/components/taro-navigator-core.js +96 -0
- package/dist/components/taro-navigator-core.js.map +1 -0
- package/dist/components/taro-official-account-core.d.ts +11 -0
- package/dist/components/taro-official-account-core.js +35 -0
- package/dist/components/taro-official-account-core.js.map +1 -0
- package/dist/components/taro-open-data-core.d.ts +11 -0
- package/dist/components/taro-open-data-core.js +35 -0
- package/dist/components/taro-open-data-core.js.map +1 -0
- package/dist/components/taro-page-container-core.d.ts +11 -0
- package/dist/components/taro-page-container-core.js +35 -0
- package/dist/components/taro-page-container-core.js.map +1 -0
- package/dist/components/taro-page-meta-core.d.ts +11 -0
- package/dist/components/taro-page-meta-core.js +35 -0
- package/dist/components/taro-page-meta-core.js.map +1 -0
- package/dist/components/taro-picker-core.d.ts +11 -0
- package/dist/components/taro-picker-core.js +538 -0
- package/dist/components/taro-picker-core.js.map +1 -0
- package/dist/components/taro-picker-group.d.ts +11 -0
- package/dist/components/taro-picker-group.js +8 -0
- package/dist/components/taro-picker-group.js.map +1 -0
- package/dist/components/taro-picker-view-column-core.d.ts +11 -0
- package/dist/components/taro-picker-view-column-core.js +115 -0
- package/dist/components/taro-picker-view-column-core.js.map +1 -0
- package/dist/components/taro-picker-view-core.d.ts +11 -0
- package/dist/components/taro-picker-view-core.js +114 -0
- package/dist/components/taro-picker-view-core.js.map +1 -0
- package/dist/components/taro-progress-core.d.ts +11 -0
- package/dist/components/taro-progress-core.js +62 -0
- package/dist/components/taro-progress-core.js.map +1 -0
- package/dist/components/taro-pull-to-refresh.d.ts +11 -0
- package/dist/components/taro-pull-to-refresh.js +284 -0
- package/dist/components/taro-pull-to-refresh.js.map +1 -0
- package/dist/components/taro-radio-core.d.ts +11 -0
- package/dist/components/taro-radio-core.js +83 -0
- package/dist/components/taro-radio-core.js.map +1 -0
- package/dist/components/taro-radio-group-core.d.ts +11 -0
- package/dist/components/taro-radio-group-core.js +82 -0
- package/dist/components/taro-radio-group-core.js.map +1 -0
- package/dist/components/taro-rich-text-core.d.ts +11 -0
- package/dist/components/taro-rich-text-core.js +86 -0
- package/dist/components/taro-rich-text-core.js.map +1 -0
- package/dist/components/taro-root-portal-core.d.ts +11 -0
- package/dist/components/taro-root-portal-core.js +35 -0
- package/dist/components/taro-root-portal-core.js.map +1 -0
- package/dist/components/taro-rtc-room-core.d.ts +11 -0
- package/dist/components/taro-rtc-room-core.js +35 -0
- package/dist/components/taro-rtc-room-core.js.map +1 -0
- package/dist/components/taro-rtc-room-item-core.d.ts +11 -0
- package/dist/components/taro-rtc-room-item-core.js +35 -0
- package/dist/components/taro-rtc-room-item-core.js.map +1 -0
- package/dist/components/taro-scroll-view-core.d.ts +11 -0
- package/dist/components/taro-scroll-view-core.js +184 -0
- package/dist/components/taro-scroll-view-core.js.map +1 -0
- package/dist/components/taro-share-element-core.d.ts +11 -0
- package/dist/components/taro-share-element-core.js +35 -0
- package/dist/components/taro-share-element-core.js.map +1 -0
- package/dist/components/taro-slider-core.d.ts +11 -0
- package/dist/components/taro-slider-core.js +196 -0
- package/dist/components/taro-slider-core.js.map +1 -0
- package/dist/components/taro-slot-core.d.ts +11 -0
- package/dist/components/taro-slot-core.js +35 -0
- package/dist/components/taro-slot-core.js.map +1 -0
- package/dist/components/taro-swiper-core.d.ts +11 -0
- package/dist/components/taro-swiper-core.js +10165 -0
- package/dist/components/taro-swiper-core.js.map +1 -0
- package/dist/components/taro-swiper-item-core.d.ts +11 -0
- package/dist/components/taro-swiper-item-core.js +34 -0
- package/dist/components/taro-swiper-item-core.js.map +1 -0
- package/dist/components/taro-switch-core.d.ts +11 -0
- package/dist/components/taro-switch-core.js +87 -0
- package/dist/components/taro-switch-core.js.map +1 -0
- package/dist/components/taro-tab-item-core.d.ts +11 -0
- package/dist/components/taro-tab-item-core.js +35 -0
- package/dist/components/taro-tab-item-core.js.map +1 -0
- package/dist/components/taro-tabbar.d.ts +11 -0
- package/dist/components/taro-tabbar.js +457 -0
- package/dist/components/taro-tabbar.js.map +1 -0
- package/dist/components/taro-tabs-core.d.ts +11 -0
- package/dist/components/taro-tabs-core.js +35 -0
- package/dist/components/taro-tabs-core.js.map +1 -0
- package/dist/components/taro-text-core.d.ts +11 -0
- package/dist/components/taro-text-core.js +41 -0
- package/dist/components/taro-text-core.js.map +1 -0
- package/dist/components/taro-textarea-core.d.ts +11 -0
- package/dist/components/taro-textarea-core.js +164 -0
- package/dist/components/taro-textarea-core.js.map +1 -0
- package/dist/components/taro-video-control.d.ts +11 -0
- package/dist/components/taro-video-control.js +8 -0
- package/dist/components/taro-video-control.js.map +1 -0
- package/dist/components/taro-video-core.d.ts +11 -0
- package/dist/components/taro-video-core.js +485 -0
- package/dist/components/taro-video-core.js.map +1 -0
- package/dist/components/taro-video-danmu.d.ts +11 -0
- package/dist/components/taro-video-danmu.js +8 -0
- package/dist/components/taro-video-danmu.js.map +1 -0
- package/dist/components/taro-view-core.d.ts +11 -0
- package/dist/components/taro-view-core.js +101 -0
- package/dist/components/taro-view-core.js.map +1 -0
- package/dist/components/taro-voip-room-core.d.ts +11 -0
- package/dist/components/taro-voip-room-core.js +35 -0
- package/dist/components/taro-voip-room-core.js.map +1 -0
- package/dist/components/taro-web-view-core.d.ts +11 -0
- package/dist/components/taro-web-view-core.js +46 -0
- package/dist/components/taro-web-view-core.js.map +1 -0
- package/dist/components/video-control.js +233 -0
- package/dist/components/video-control.js.map +1 -0
- package/dist/components/video-danmu.js +110 -0
- package/dist/components/video-danmu.js.map +1 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/taro-animation-video-core.entry.js +19 -0
- package/dist/esm/taro-animation-video-core.entry.js.map +1 -0
- package/dist/esm/taro-animation-view-core.entry.js +19 -0
- package/dist/esm/taro-animation-view-core.entry.js.map +1 -0
- package/dist/esm/taro-ar-camera-core.entry.js +19 -0
- package/dist/esm/taro-ar-camera-core.entry.js.map +1 -0
- package/dist/esm/taro-aweme-data-core.entry.js +19 -0
- package/dist/esm/taro-aweme-data-core.entry.js.map +1 -0
- package/dist/esm/taro-button-core.entry.js +5 -0
- package/dist/esm/taro-button-core.entry.js.map +1 -1
- package/dist/esm/taro-comment-detail-core.entry.js +19 -0
- package/dist/esm/taro-comment-detail-core.entry.js.map +1 -0
- package/dist/esm/taro-comment-list-core.entry.js +19 -0
- package/dist/esm/taro-comment-list-core.entry.js.map +1 -0
- package/dist/esm/taro-components.js +1 -1
- package/dist/esm/taro-contact-button-core.entry.js +19 -0
- package/dist/esm/taro-contact-button-core.entry.js.map +1 -0
- package/dist/esm/taro-follow-swan-core.entry.js +19 -0
- package/dist/esm/taro-follow-swan-core.entry.js.map +1 -0
- package/dist/esm/taro-inline-payment-panel-core.entry.js +19 -0
- package/dist/esm/taro-inline-payment-panel-core.entry.js.map +1 -0
- package/dist/esm/taro-lifestyle-core.entry.js +19 -0
- package/dist/esm/taro-lifestyle-core.entry.js.map +1 -0
- package/dist/esm/taro-like-core.entry.js +19 -0
- package/dist/esm/taro-like-core.entry.js.map +1 -0
- package/dist/esm/taro-login-core.entry.js +19 -0
- package/dist/esm/taro-login-core.entry.js.map +1 -0
- package/dist/esm/taro-lottie-core.entry.js +19 -0
- package/dist/esm/taro-lottie-core.entry.js.map +1 -0
- package/dist/esm/taro-native-slot-core.entry.js +19 -0
- package/dist/esm/taro-native-slot-core.entry.js.map +1 -0
- package/dist/esm/taro-rtc-room-core.entry.js +19 -0
- package/dist/esm/taro-rtc-room-core.entry.js.map +1 -0
- package/dist/esm/taro-rtc-room-item-core.entry.js +19 -0
- package/dist/esm/taro-rtc-room-item-core.entry.js.map +1 -0
- package/dist/esm/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm/taro-scroll-view-core.entry.js.map +1 -1
- package/dist/esm/taro-slot-core.entry.js +5 -0
- package/dist/esm/taro-slot-core.entry.js.map +1 -1
- package/dist/esm/taro-swiper-core_2.entry.js +5 -5
- package/dist/esm/taro-swiper-core_2.entry.js.map +1 -1
- package/dist/esm/taro-tab-item-core.entry.js +19 -0
- package/dist/esm/taro-tab-item-core.entry.js.map +1 -0
- package/dist/esm/taro-tabbar.entry.js.map +1 -1
- package/dist/esm/taro-tabs-core.entry.js +19 -0
- package/dist/esm/taro-tabs-core.entry.js.map +1 -0
- package/dist/esm/taro-view-core.entry.js +6 -2
- package/dist/esm/taro-view-core.entry.js.map +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/taro-animation-video-core.entry.js +2 -0
- package/dist/esm-es5/taro-animation-video-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-animation-view-core.entry.js +2 -0
- package/dist/esm-es5/taro-animation-view-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-ar-camera-core.entry.js +2 -0
- package/dist/esm-es5/taro-ar-camera-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-aweme-data-core.entry.js +2 -0
- package/dist/esm-es5/taro-aweme-data-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-button-core.entry.js +1 -1
- package/dist/esm-es5/taro-button-core.entry.js.map +1 -1
- package/dist/esm-es5/taro-comment-detail-core.entry.js +2 -0
- package/dist/esm-es5/taro-comment-detail-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-comment-list-core.entry.js +2 -0
- package/dist/esm-es5/taro-comment-list-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-components.js.map +1 -1
- package/dist/esm-es5/taro-contact-button-core.entry.js +2 -0
- package/dist/esm-es5/taro-contact-button-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-follow-swan-core.entry.js +2 -0
- package/dist/esm-es5/taro-follow-swan-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +2 -0
- package/dist/esm-es5/taro-inline-payment-panel-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-lifestyle-core.entry.js +2 -0
- package/dist/esm-es5/taro-lifestyle-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-like-core.entry.js +2 -0
- package/dist/esm-es5/taro-like-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-login-core.entry.js +2 -0
- package/dist/esm-es5/taro-login-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-lottie-core.entry.js +2 -0
- package/dist/esm-es5/taro-lottie-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-native-slot-core.entry.js +2 -0
- package/dist/esm-es5/taro-native-slot-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-rtc-room-core.entry.js +2 -0
- package/dist/esm-es5/taro-rtc-room-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-rtc-room-item-core.entry.js +2 -0
- package/dist/esm-es5/taro-rtc-room-item-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-scroll-view-core.entry.js.map +1 -1
- package/dist/esm-es5/taro-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-slot-core.entry.js.map +1 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js.map +1 -1
- package/dist/esm-es5/taro-tab-item-core.entry.js +2 -0
- package/dist/esm-es5/taro-tab-item-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-tabbar.entry.js.map +1 -1
- package/dist/esm-es5/taro-tabs-core.entry.js +2 -0
- package/dist/esm-es5/taro-tabs-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-view-core.entry.js.map +1 -1
- package/dist/taro-components/p-0be383a9.system.entry.js +2 -0
- package/dist/taro-components/p-0be383a9.system.entry.js.map +1 -0
- package/dist/taro-components/p-186ad7ff.entry.js +2 -0
- package/dist/taro-components/p-186ad7ff.entry.js.map +1 -0
- package/dist/taro-components/{p-e9abe3e2.entry.js → p-19afe402.entry.js} +2 -2
- package/dist/taro-components/p-19afe402.entry.js.map +1 -0
- package/dist/taro-components/p-1a47133c.system.entry.js +2 -0
- package/dist/taro-components/p-1a47133c.system.entry.js.map +1 -0
- package/dist/taro-components/p-1ad0aa95.system.entry.js +2 -0
- package/dist/taro-components/p-1ad0aa95.system.entry.js.map +1 -0
- package/dist/taro-components/p-1b1420c9.system.entry.js +2 -0
- package/dist/taro-components/p-1b1420c9.system.entry.js.map +1 -0
- package/dist/taro-components/{p-a2aab820.entry.js → p-22315b9d.entry.js} +2 -2
- package/dist/taro-components/p-22315b9d.entry.js.map +1 -0
- package/dist/taro-components/p-281a2bcf.entry.js +2 -0
- package/dist/taro-components/p-281a2bcf.entry.js.map +1 -0
- package/dist/taro-components/p-28dade4f.entry.js +2 -0
- package/dist/taro-components/p-28dade4f.entry.js.map +1 -0
- package/dist/taro-components/p-31e10d77.system.entry.js +2 -0
- package/dist/taro-components/p-31e10d77.system.entry.js.map +1 -0
- package/dist/taro-components/p-36c64ed0.system.entry.js +2 -0
- package/dist/taro-components/p-36c64ed0.system.entry.js.map +1 -0
- package/dist/taro-components/p-37d71e63.entry.js +2 -0
- package/dist/taro-components/p-37d71e63.entry.js.map +1 -0
- package/dist/taro-components/p-386b9de8.entry.js +2 -0
- package/dist/taro-components/p-386b9de8.entry.js.map +1 -0
- package/dist/taro-components/{p-22f9f9fa.entry.js → p-427a2872.entry.js} +2 -2
- package/dist/taro-components/p-427a2872.entry.js.map +1 -0
- package/dist/taro-components/p-49a6cae4.system.entry.js.map +1 -1
- package/dist/taro-components/p-51040638.entry.js +2 -0
- package/dist/taro-components/p-51040638.entry.js.map +1 -0
- package/dist/taro-components/p-5bd1c1a1.entry.js +2 -0
- package/dist/taro-components/p-5bd1c1a1.entry.js.map +1 -0
- package/dist/taro-components/p-62d750a7.entry.js +2 -0
- package/dist/taro-components/p-62d750a7.entry.js.map +1 -0
- package/dist/taro-components/p-632f9a72.system.entry.js +2 -0
- package/dist/taro-components/p-632f9a72.system.entry.js.map +1 -0
- package/dist/taro-components/p-65971d99.entry.js +2 -0
- package/dist/taro-components/p-65971d99.entry.js.map +1 -0
- package/dist/taro-components/p-6c622fa2.system.entry.js +2 -0
- package/dist/taro-components/p-6c622fa2.system.entry.js.map +1 -0
- package/dist/taro-components/p-6cd941bc.entry.js +2 -0
- package/dist/taro-components/p-6cd941bc.entry.js.map +1 -0
- package/dist/taro-components/p-70defa84.entry.js +2 -0
- package/dist/taro-components/p-70defa84.entry.js.map +1 -0
- package/dist/taro-components/p-73106bc9.entry.js +2 -0
- package/dist/taro-components/p-73106bc9.entry.js.map +1 -0
- package/dist/taro-components/p-7afc274a.entry.js +2 -0
- package/dist/taro-components/p-7afc274a.entry.js.map +1 -0
- package/dist/taro-components/p-7bafbe22.entry.js +2 -0
- package/dist/taro-components/p-7bafbe22.entry.js.map +1 -0
- package/dist/taro-components/p-7e7a1e62.entry.js +2 -0
- package/dist/taro-components/p-7e7a1e62.entry.js.map +1 -0
- package/dist/taro-components/p-876edf66.entry.js +2 -0
- package/dist/taro-components/p-876edf66.entry.js.map +1 -0
- package/dist/taro-components/p-898aba38.system.entry.js +2 -0
- package/dist/taro-components/p-898aba38.system.entry.js.map +1 -0
- package/dist/taro-components/p-98901e99.system.entry.js +2 -0
- package/dist/taro-components/p-98901e99.system.entry.js.map +1 -0
- package/dist/taro-components/p-9f780103.system.entry.js +2 -0
- package/dist/taro-components/p-9f780103.system.entry.js.map +1 -0
- package/dist/taro-components/p-a4961ddd.entry.js +2 -0
- package/dist/taro-components/p-a4961ddd.entry.js.map +1 -0
- package/dist/taro-components/p-ad25cc91.system.entry.js +2 -0
- package/dist/taro-components/p-ad25cc91.system.entry.js.map +1 -0
- package/dist/taro-components/p-b4cccb3e.system.entry.js +2 -0
- package/dist/taro-components/p-b4cccb3e.system.entry.js.map +1 -0
- package/dist/taro-components/p-b6733e23.system.entry.js +2 -0
- package/dist/taro-components/p-b6733e23.system.entry.js.map +1 -0
- package/dist/taro-components/{p-1cd1c507.system.entry.js → p-c3c37cbb.system.entry.js} +2 -2
- package/dist/taro-components/p-c3c37cbb.system.entry.js.map +1 -0
- package/dist/taro-components/{p-c3acf0ea.system.entry.js → p-c43fe342.system.entry.js} +2 -2
- package/dist/taro-components/p-c43fe342.system.entry.js.map +1 -0
- package/dist/taro-components/p-cb17d8bd.system.js +1 -1
- package/dist/taro-components/p-cb17d8bd.system.js.map +1 -1
- package/dist/taro-components/p-d6441fd8.entry.js +2 -0
- package/dist/taro-components/p-d6441fd8.entry.js.map +1 -0
- package/dist/taro-components/{p-057159bc.system.entry.js → p-dcfb7d97.system.entry.js} +2 -2
- package/dist/taro-components/p-dcfb7d97.system.entry.js.map +1 -0
- package/dist/taro-components/p-e0d6b00b.entry.js.map +1 -1
- package/dist/taro-components/p-e5607803.system.entry.js +2 -0
- package/dist/taro-components/p-e5607803.system.entry.js.map +1 -0
- package/dist/taro-components/p-e7965c55.system.entry.js +2 -0
- package/dist/taro-components/p-e7965c55.system.entry.js.map +1 -0
- package/dist/taro-components/p-f00ee372.system.entry.js +2 -0
- package/dist/taro-components/p-f00ee372.system.entry.js.map +1 -0
- package/dist/taro-components/{p-7baff0b4.entry.js → p-f120c272.entry.js} +2 -2
- package/dist/taro-components/p-f120c272.entry.js.map +1 -0
- package/dist/taro-components/p-f81d14ad.entry.js +2 -0
- package/dist/taro-components/p-f81d14ad.entry.js.map +1 -0
- package/dist/taro-components/p-fae28cc1.system.entry.js +2 -0
- package/dist/taro-components/p-fae28cc1.system.entry.js.map +1 -0
- package/dist/taro-components/p-fb843ff2.system.entry.js +2 -0
- package/dist/taro-components/p-fb843ff2.system.entry.js.map +1 -0
- package/dist/taro-components/p-fc0fbcce.system.entry.js +2 -0
- package/dist/taro-components/p-fc0fbcce.system.entry.js.map +1 -0
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/taro-components/taro-components.esm.js.map +1 -1
- package/dist/types/components/animation-video/animation-video.d.ts +5 -0
- package/dist/types/components/animation-view/animation-view.d.ts +5 -0
- package/dist/types/components/ar-camera/ar-camera.d.ts +5 -0
- package/dist/types/components/aweme-data/aweme-data.d.ts +5 -0
- package/dist/types/components/button/button.d.ts +1 -0
- package/dist/types/components/comment/comment-detail.d.ts +5 -0
- package/dist/types/components/comment/comment-list.d.ts +5 -0
- package/dist/types/components/contact-button/contact-button.d.ts +5 -0
- package/dist/types/components/follow-swan/follow-swan.d.ts +5 -0
- package/dist/types/components/inline-payment-panel/inline-payment-panel.d.ts +5 -0
- package/dist/types/components/lifestyle/lifestyle.d.ts +5 -0
- package/dist/types/components/like/like.d.ts +5 -0
- package/dist/types/components/login/login.d.ts +5 -0
- package/dist/types/components/lottie/lottie.d.ts +5 -0
- package/dist/types/components/rtc-room/rtc-room-item.d.ts +5 -0
- package/dist/types/components/rtc-room/rtc-room.d.ts +5 -0
- package/dist/types/components/slot/native-slot.d.ts +5 -0
- package/dist/types/components/slot/slot.d.ts +1 -0
- package/dist/types/components/swiper/swiper.d.ts +4 -0
- package/dist/types/components/tabs/tab-item.d.ts +5 -0
- package/dist/types/components/tabs/tabs.d.ts +5 -0
- package/dist/types/components.d.ts +242 -0
- package/lib/react/components.d.ts +82 -0
- package/lib/react/components.js +85 -0
- package/lib/react/components.js.map +1 -0
- package/lib/react/helper.d.ts +10 -0
- package/lib/react/helper.js +7 -0
- package/lib/react/helper.js.map +1 -0
- package/lib/react/index.d.ts +1 -0
- package/lib/react/index.js +2 -0
- package/lib/react/index.js.map +1 -0
- package/lib/react/interfaces-4f837811.d.ts +30 -0
- package/lib/react/react-component-lib/createComponent.d.ts +10 -0
- package/lib/react/react-component-lib/createComponent.js +70 -0
- package/lib/react/react-component-lib/createComponent.js.map +1 -0
- package/lib/react/react-component-lib/createOverlayComponent.d.ts +21 -0
- package/lib/react/react-component-lib/createOverlayComponent.js +91 -0
- package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -0
- package/lib/react/react-component-lib/index.d.ts +2 -0
- package/lib/react/react-component-lib/index.js +3 -0
- package/lib/react/react-component-lib/index.js.map +1 -0
- package/lib/react/react-component-lib/utils/attachProps.d.ts +13 -0
- package/lib/react/react-component-lib/utils/attachProps.js +101 -0
- package/lib/react/react-component-lib/utils/attachProps.js.map +1 -0
- package/lib/react/react-component-lib/utils/case.d.ts +3 -0
- package/lib/react/react-component-lib/utils/case.js +9 -0
- package/lib/react/react-component-lib/utils/case.js.map +1 -0
- package/lib/react/react-component-lib/utils/index.d.ts +11 -0
- package/lib/react/react-component-lib/utils/index.js +37 -0
- package/lib/react/react-component-lib/utils/index.js.map +1 -0
- package/lib/vue2/components.d.ts +352 -0
- package/lib/vue2/components.js +620 -0
- package/lib/vue2/components.js.map +1 -0
- package/lib/vue2/index.d.ts +3 -0
- package/lib/vue2/index.js +21 -0
- package/lib/vue2/index.js.map +1 -0
- package/lib/vue2/vue-component-lib/utils.d.ts +6 -0
- package/lib/vue2/vue-component-lib/utils.js +32 -0
- package/lib/vue2/vue-component-lib/utils.js.map +1 -0
- package/lib/vue3/components.d.ts +82 -0
- package/lib/vue3/components.js +386 -0
- package/lib/vue3/components.js.map +1 -0
- package/lib/vue3/index.d.ts +3 -0
- package/lib/vue3/index.js +15 -0
- package/lib/vue3/index.js.map +1 -0
- package/lib/vue3/vue-component-lib/utils.d.ts +21 -0
- package/lib/vue3/vue-component-lib/utils.js +163 -0
- package/lib/vue3/vue-component-lib/utils.js.map +1 -0
- package/package.json +17 -9
- package/types/Ad.d.ts +1 -1
- package/types/AnimationVideo.d.ts +62 -0
- package/types/AnimationView.d.ts +45 -0
- package/types/ArCamera.d.ts +50 -0
- package/types/Audio.d.ts +1 -1
- package/types/AwemeData.d.ts +43 -0
- package/types/Button.d.ts +1 -1
- package/types/Camera.d.ts +1 -1
- package/types/Canvas.d.ts +1 -1
- package/types/Checkbox.d.ts +1 -1
- package/types/CheckboxGroup.d.ts +1 -1
- package/types/CommentDetail.d.ts +72 -0
- package/types/CommentList.d.ts +127 -0
- package/types/ContactButton.d.ts +53 -0
- package/types/CoverImage.d.ts +1 -1
- package/types/CoverView.d.ts +102 -4
- package/types/CustomWrapper.d.ts +2 -1
- package/types/FollowSwan.d.ts +28 -0
- package/types/Form.d.ts +1 -1
- package/types/Icon.d.ts +1 -1
- package/types/Image.d.ts +1 -1
- package/types/InlinePaymentPanel.d.ts +58 -0
- package/types/Input.d.ts +88 -11
- package/types/Label.d.ts +1 -1
- package/types/Lifestyle.d.ts +26 -0
- package/types/Like.d.ts +107 -0
- package/types/LivePlayer.d.ts +1 -1
- package/types/LivePusher.d.ts +1 -1
- package/types/Login.d.ts +45 -0
- package/types/Lottie.d.ts +113 -0
- package/types/Map.d.ts +2 -2
- package/types/MatchMedia.d.ts +1 -1
- package/types/MovableArea.d.ts +2 -2
- package/types/MovableView.d.ts +17 -17
- package/types/NativeSlot.d.ts +33 -0
- package/types/NavigationBar.d.ts +2 -1
- package/types/Navigator.d.ts +1 -1
- package/types/OpenData.d.ts +1 -1
- package/types/PageContainer.d.ts +28 -18
- package/types/PageMeta.d.ts +1 -1
- package/types/Picker.d.ts +1 -1
- package/types/PickerView.d.ts +1 -1
- package/types/PickerViewColumn.d.ts +1 -1
- package/types/Progress.d.ts +1 -1
- package/types/Radio.d.ts +1 -1
- package/types/RadioGroup.d.ts +1 -1
- package/types/RichText.d.ts +1 -1
- package/types/RootPortal.d.ts +11 -2
- package/types/RtcRoom.d.ts +104 -0
- package/types/RtcRoomItem.d.ts +26 -0
- package/types/ScrollView.d.ts +1 -1
- package/types/ShareElement.d.ts +20 -10
- package/types/Slider.d.ts +1 -1
- package/types/Slot.d.ts +3 -2
- package/types/Swiper.d.ts +13 -1
- package/types/SwiperItem.d.ts +3 -2
- package/types/Switch.d.ts +1 -1
- package/types/TabItem.d.ts +35 -0
- package/types/Tabs.d.ts +58 -0
- package/types/Text.d.ts +1 -1
- package/types/Textarea.d.ts +7 -1
- package/types/Video.d.ts +7 -3
- package/types/View.d.ts +8 -7
- package/types/VoipRoom.d.ts +1 -1
- package/types/WebView.d.ts +1 -1
- package/types/index.vue3.d.ts +268 -259
- package/virtual-list/index.d.ts +3 -120
- package/virtual-list/index.js +4 -7
- package/dist/react/component-lib/index.js +0 -64
- package/dist/react/component-lib/input.js +0 -23
- package/dist/react/component-lib/reactify-wc.js +0 -245
- package/dist/react/components.js +0 -65
- package/dist/react/helper.js +0 -13
- package/dist/react/index.js +0 -1
- package/dist/react/react-component-lib/index.js +0 -2
- package/dist/react/react-component-lib/interfaces.js +0 -1
- package/dist/react/react-component-lib/utils/attachProps.js +0 -107
- package/dist/react/react-component-lib/utils/case.js +0 -10
- package/dist/react/react-component-lib/utils/dev.js +0 -12
- package/dist/taro-components/p-057159bc.system.entry.js.map +0 -1
- package/dist/taro-components/p-1cd1c507.system.entry.js.map +0 -1
- package/dist/taro-components/p-1e436d5b.entry.js +0 -2
- package/dist/taro-components/p-1e436d5b.entry.js.map +0 -1
- package/dist/taro-components/p-22f9f9fa.entry.js.map +0 -1
- package/dist/taro-components/p-7baff0b4.entry.js.map +0 -1
- package/dist/taro-components/p-946c0799.system.entry.js +0 -2
- package/dist/taro-components/p-946c0799.system.entry.js.map +0 -1
- package/dist/taro-components/p-a2aab820.entry.js.map +0 -1
- package/dist/taro-components/p-c3acf0ea.system.entry.js.map +0 -1
- package/dist/taro-components/p-d5579efa.system.entry.js +0 -2
- package/dist/taro-components/p-d5579efa.system.entry.js.map +0 -1
- package/dist/taro-components/p-e9abe3e2.entry.js.map +0 -1
- package/dist/vue2/component-lib/components.js +0 -60
- package/dist/vue2/component-lib/createComponent.js +0 -21
- package/dist/vue2/component-lib/createFormsComponent.js +0 -63
- package/dist/vue2/component-lib/icon.js +0 -19
- package/dist/vue2/component-lib/image.js +0 -20
- package/dist/vue2/component-lib/index.js +0 -30
- package/dist/vue2/component-lib/mixins/listeners.js +0 -19
- package/dist/vue2/component-lib/mixins/refs.js +0 -49
- package/dist/vue2/component-lib/picker.js +0 -45
- package/dist/vue2/component-lib/scroll-view.js +0 -37
- package/dist/vue2/component-lib/text.js +0 -20
- package/dist/vue2/components.js +0 -490
- package/dist/vue2/index.js +0 -26
- package/dist/vue2/vue-component-lib/utils.js +0 -45
- package/dist/vue3/component-lib/createComponent.js +0 -23
- package/dist/vue3/component-lib/createFormsComponent.js +0 -52
- package/dist/vue3/component-lib/forwardRef.js +0 -11
- package/dist/vue3/component-lib/icon.js +0 -21
- package/dist/vue3/component-lib/image.js +0 -22
- package/dist/vue3/component-lib/index.js +0 -65
- package/dist/vue3/component-lib/scroll-view.js +0 -28
- package/dist/vue3/component-lib/text.js +0 -22
- package/dist/vue3/components.js +0 -64
- package/dist/vue3/index.js +0 -19
- package/dist/vue3/vue-component-lib/utils.js +0 -201
- package/virtual-list/domHelpers.js +0 -40
- package/virtual-list/memoize.js +0 -38
- package/virtual-list/react/FixedSizeList.js +0 -193
- package/virtual-list/react/createListComponent.js +0 -654
- package/virtual-list/react/index.d.ts +0 -123
- package/virtual-list/react/index.js +0 -67
- package/virtual-list/timer.js +0 -24
- package/virtual-list/vue/index.js +0 -589
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
import { StandardProps } from './common'
|
|
3
|
+
interface LottieProps extends StandardProps {
|
|
4
|
+
/** 是否自动播放。
|
|
5
|
+
* @supported alipay
|
|
6
|
+
* @default false
|
|
7
|
+
*/
|
|
8
|
+
autoplay?: boolean
|
|
9
|
+
|
|
10
|
+
/** Lottie 资源地址。包含近端(包内地址)和远端(网络)的 JSON 文件地址。
|
|
11
|
+
* 与 djangoId 二选一。
|
|
12
|
+
* @supported alipay
|
|
13
|
+
*/
|
|
14
|
+
path?: string
|
|
15
|
+
|
|
16
|
+
/** 播放速度。正数为正向播放,负数负向播放。
|
|
17
|
+
* @supported alipay
|
|
18
|
+
* @default 1.0
|
|
19
|
+
*/
|
|
20
|
+
speed?: number
|
|
21
|
+
|
|
22
|
+
/** 循环次数。
|
|
23
|
+
*
|
|
24
|
+
* 如果是负数表示无限次。
|
|
25
|
+
* 如果是 0 表示不循环,播放一次。
|
|
26
|
+
* 如果是 1 表示循环一次,播放两次。
|
|
27
|
+
* @supported alipay
|
|
28
|
+
* @default 0
|
|
29
|
+
*/
|
|
30
|
+
repeatCount?: number
|
|
31
|
+
|
|
32
|
+
/** 是否自动回播。
|
|
33
|
+
* @supported alipay
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
autoReverse?: boolean
|
|
37
|
+
|
|
38
|
+
/** 资源地址。"/" 表明是小程序根目录。
|
|
39
|
+
* @supported alipay
|
|
40
|
+
*/
|
|
41
|
+
assetsPath?: string
|
|
42
|
+
|
|
43
|
+
/** 兜底图或者降级图地址。
|
|
44
|
+
*
|
|
45
|
+
* 1. 支持本地资源,案例:'/image/lottie/lottie2_default.png'。
|
|
46
|
+
* 支持 http 的 cdn 地址、近端地址。
|
|
47
|
+
* 小程序场景不支持 djangoId。
|
|
48
|
+
* @supported alipay
|
|
49
|
+
*/
|
|
50
|
+
placeholder?: string
|
|
51
|
+
|
|
52
|
+
/** 在线资源的 md5 校验。
|
|
53
|
+
* djangoId=https://b.zip。
|
|
54
|
+
* 可以使用 b.zip 加密 获取 md5 值
|
|
55
|
+
* md5="77c6c86fc89ba94cc0a9271b77ae77d2"
|
|
56
|
+
* @supported alipay
|
|
57
|
+
*/
|
|
58
|
+
md5?: string
|
|
59
|
+
|
|
60
|
+
/** 降级。降级是指如遇低端设备,Lottie 会降级展示为 placeholder。
|
|
61
|
+
* 当 optimize 为 true ,并且传入了 placeholder 时,在低端设备上只会展示 placeholder,不展示 Lottie。
|
|
62
|
+
* 低端设备如下所示:
|
|
63
|
+
*
|
|
64
|
+
* iOS :小于等于 iPhone6P
|
|
65
|
+
* Android:内存容量小于 3G
|
|
66
|
+
* @supported alipay
|
|
67
|
+
* @default false
|
|
68
|
+
*/
|
|
69
|
+
optimize?: boolean
|
|
70
|
+
|
|
71
|
+
/** 当数据下载+视图创建完成时触发。
|
|
72
|
+
* @supported alipay
|
|
73
|
+
*/
|
|
74
|
+
onDataReady?: CommonEventFunction
|
|
75
|
+
|
|
76
|
+
/** 数据加载失败时触发。
|
|
77
|
+
* @supported alipay
|
|
78
|
+
*/
|
|
79
|
+
onDataFailed?: CommonEventFunction
|
|
80
|
+
|
|
81
|
+
/** 动画开始时触发。
|
|
82
|
+
* @supported alipay
|
|
83
|
+
*/
|
|
84
|
+
onAnimationStart?: CommonEventFunction
|
|
85
|
+
|
|
86
|
+
/** 动画结束时触发。
|
|
87
|
+
* @supported alipay
|
|
88
|
+
*/
|
|
89
|
+
onAnimationEnd?: CommonEventFunction
|
|
90
|
+
|
|
91
|
+
/** 动画一次重播结束。
|
|
92
|
+
* @supported alipay
|
|
93
|
+
*/
|
|
94
|
+
onAnimationRepeat?: CommonEventFunction
|
|
95
|
+
|
|
96
|
+
/** 动画取消。业务调用 Cancel 时回调。
|
|
97
|
+
* @supported alipay
|
|
98
|
+
*/
|
|
99
|
+
onAnimationCancel?: CommonEventFunction
|
|
100
|
+
|
|
101
|
+
/** 参数化时,数据准备完成,等待业务传入参数化值。
|
|
102
|
+
* @supported alipay
|
|
103
|
+
*/
|
|
104
|
+
onDataLoadReady?: CommonEventFunction
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/** Lottie
|
|
108
|
+
* @classification media
|
|
109
|
+
* @supported alipay
|
|
110
|
+
* @see https://opendocs.alipay.com/mini/component/lottie
|
|
111
|
+
*/
|
|
112
|
+
declare const Lottie: ComponentType<LottieProps>
|
|
113
|
+
export { Lottie, LottieProps }
|
package/types/Map.d.ts
CHANGED
|
@@ -212,7 +212,7 @@ interface MapProps extends StandardProps {
|
|
|
212
212
|
* @supported weapp, swan, tt, qq
|
|
213
213
|
* @default false
|
|
214
214
|
*/
|
|
215
|
-
enable3D?:
|
|
215
|
+
enable3D?: boolean
|
|
216
216
|
|
|
217
217
|
/** 点击地图时触发
|
|
218
218
|
* @supported weapp, alipay, swan, tt, qq, jd
|
|
@@ -661,7 +661,7 @@ declare namespace MapProps {
|
|
|
661
661
|
|
|
662
662
|
/** 地图。相关api Taro.createMapContext。
|
|
663
663
|
* @classification maps
|
|
664
|
-
* @supported weapp, alipay, swan
|
|
664
|
+
* @supported weapp, alipay, swan, tt, qq, jd
|
|
665
665
|
* @example_react
|
|
666
666
|
* ```tsx
|
|
667
667
|
* class App extends Component {
|
package/types/MatchMedia.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ interface MatchMediaProps extends StandardProps {
|
|
|
39
39
|
|
|
40
40
|
/** media query 匹配检测节点。可以指定一组 media query 规则,满足时,这个节点才会被展示。
|
|
41
41
|
* 通过这个节点可以实现“页面宽高在某个范围时才展示某个区域”这样的效果。
|
|
42
|
-
* @supported weapp
|
|
42
|
+
* @supported weapp, alipay
|
|
43
43
|
* @classification viewContainer
|
|
44
44
|
* @example_react
|
|
45
45
|
* ```tsx
|
package/types/MovableArea.d.ts
CHANGED
|
@@ -3,14 +3,14 @@ import { StandardProps } from './common'
|
|
|
3
3
|
interface MovableAreaProps extends StandardProps {
|
|
4
4
|
/** 当里面的 movable-view 设置为支持双指缩放时,设置此值可将缩放手势生效区域修改为整个 movable-area
|
|
5
5
|
* @default false
|
|
6
|
-
* @supported weapp, alipay, swan, tt, qq
|
|
6
|
+
* @supported weapp, alipay, swan, tt, qq, h5
|
|
7
7
|
*/
|
|
8
8
|
scaleArea?: boolean
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/** movable-view 的可移动区域
|
|
12
12
|
* @classification viewContainer
|
|
13
|
-
* @supported weapp, rn
|
|
13
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn
|
|
14
14
|
* @example_react
|
|
15
15
|
* ```tsx
|
|
16
16
|
* class App extends Components {
|
package/types/MovableView.d.ts
CHANGED
|
@@ -3,77 +3,77 @@ import { StandardProps, CommonEventFunction, TouchEventFunction } from './common
|
|
|
3
3
|
interface MovableViewProps extends Omit<StandardProps, 'animation'> {
|
|
4
4
|
/** movable-view 的移动方向,属性值有`all`、`vertical`、`horizontal`、`none`
|
|
5
5
|
* @default none
|
|
6
|
-
* @supported weapp, alipay, swan, tt, qq, rn
|
|
6
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn
|
|
7
7
|
*/
|
|
8
8
|
direction?: 'all' | 'vertical' | 'horizontal' | 'none'
|
|
9
9
|
|
|
10
10
|
/** movable-view 是否带有惯性
|
|
11
11
|
* @default false
|
|
12
|
-
* @supported weapp, alipay, swan, tt, qq
|
|
12
|
+
* @supported weapp, alipay, swan, tt, qq, h5
|
|
13
13
|
*/
|
|
14
14
|
inertia?: boolean
|
|
15
15
|
|
|
16
16
|
/** 超过可移动区域后,movable-view 是否还可以移动
|
|
17
17
|
* @default false
|
|
18
|
-
* @supported weapp, alipay, swan, tt, qq
|
|
18
|
+
* @supported weapp, alipay, swan, tt, qq, h5
|
|
19
19
|
*/
|
|
20
20
|
outOfBounds?: boolean
|
|
21
21
|
|
|
22
22
|
/** 定义 x 轴方向的偏移,如果 x 的值不在可移动范围内,会自动移动到可移动范围;改变 x 的值会触发动画
|
|
23
|
-
* @supported weapp, alipay, swan, tt, qq, rn
|
|
23
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn
|
|
24
24
|
*/
|
|
25
25
|
x?: number | string
|
|
26
26
|
|
|
27
27
|
/** 定义 y 轴方向的偏移,如果 y 的值不在可移动范围内,会自动移动到可移动范围;改变 y 的值会触发动画
|
|
28
|
-
* @supported weapp, alipay, swan, tt, qq, rn
|
|
28
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn
|
|
29
29
|
*/
|
|
30
30
|
y?: number | string
|
|
31
31
|
|
|
32
32
|
/** 阻尼系数,用于控制x或y改变时的动画和过界回弹的动画,值越大移动越快
|
|
33
33
|
* @default 20
|
|
34
|
-
* @supported weapp, alipay, swan, tt, qq
|
|
34
|
+
* @supported weapp, alipay, swan, tt, qq, h5
|
|
35
35
|
*/
|
|
36
36
|
damping?: number
|
|
37
37
|
|
|
38
38
|
/** 摩擦系数,用于控制惯性滑动的动画,值越大摩擦力越大,滑动越快停止;必须大于 0,否则会被设置成默认值
|
|
39
39
|
* @default 2
|
|
40
|
-
* @supported weapp, alipay, swan, tt, qq
|
|
40
|
+
* @supported weapp, alipay, swan, tt, qq, h5
|
|
41
41
|
*/
|
|
42
42
|
friction?: number
|
|
43
43
|
|
|
44
44
|
/** 是否禁用
|
|
45
45
|
* @default false
|
|
46
|
-
* @supported weapp, alipay, swan, tt, qq, rn
|
|
46
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn
|
|
47
47
|
*/
|
|
48
48
|
disabled?: boolean
|
|
49
49
|
|
|
50
50
|
/** 是否支持双指缩放,默认缩放手势生效区域是在 movable-view 内
|
|
51
51
|
* @default false
|
|
52
|
-
* @supported weapp, alipay, swan, tt, qq
|
|
52
|
+
* @supported weapp, alipay, swan, tt, qq, h5
|
|
53
53
|
*/
|
|
54
54
|
scale?: boolean
|
|
55
55
|
|
|
56
56
|
/** 定义缩放倍数最小值
|
|
57
57
|
* @default 0.5
|
|
58
|
-
* @supported weapp, alipay, swan, tt, qq
|
|
58
|
+
* @supported weapp, alipay, swan, tt, qq, h5
|
|
59
59
|
*/
|
|
60
60
|
scaleMin?: number
|
|
61
61
|
|
|
62
62
|
/** 定义缩放倍数最大值
|
|
63
63
|
* @default 10
|
|
64
|
-
* @supported weapp, alipay, swan, tt, qq
|
|
64
|
+
* @supported weapp, alipay, swan, tt, qq, h5
|
|
65
65
|
*/
|
|
66
66
|
scaleMax?: number
|
|
67
67
|
|
|
68
68
|
/** 定义缩放倍数,取值范围为 0.5 - 10
|
|
69
69
|
* @default 1
|
|
70
|
-
* @supported weapp, alipay, swan, tt, qq
|
|
70
|
+
* @supported weapp, alipay, swan, tt, qq, h5
|
|
71
71
|
*/
|
|
72
72
|
scaleValue?: number
|
|
73
73
|
|
|
74
74
|
/** 是否使用动画
|
|
75
75
|
* @default true
|
|
76
|
-
* @supported weapp, alipay, swan, tt, qq
|
|
76
|
+
* @supported weapp, alipay, swan, tt, qq, h5
|
|
77
77
|
*/
|
|
78
78
|
animation?: boolean
|
|
79
79
|
|
|
@@ -98,7 +98,7 @@ interface MovableViewProps extends Omit<StandardProps, 'animation'> {
|
|
|
98
98
|
onDragEnd?: CommonEventFunction
|
|
99
99
|
|
|
100
100
|
/** 缩放过程中触发的事件
|
|
101
|
-
* @supported weapp, alipay, swan, tt, qq
|
|
101
|
+
* @supported weapp, alipay, swan, tt, qq, h5
|
|
102
102
|
*/
|
|
103
103
|
onScale?: CommonEventFunction<MovableViewProps.onScaleEventDetail>
|
|
104
104
|
|
|
@@ -124,12 +124,12 @@ interface MovableViewProps extends Omit<StandardProps, 'animation'> {
|
|
|
124
124
|
onTouchCancel?: CommonEventFunction
|
|
125
125
|
|
|
126
126
|
/** 初次手指触摸后移动为横向的移动,如果 catch 此事件,则意味着 touchmove 事件也被 catch
|
|
127
|
-
* @supported weapp, swan, tt
|
|
127
|
+
* @supported weapp, swan, tt, h5
|
|
128
128
|
*/
|
|
129
129
|
onHTouchMove?: TouchEventFunction
|
|
130
130
|
|
|
131
131
|
/** 初次手指触摸后移动为纵向的移动,如果 catch 此事件,则意味着 touchmove 事件也被 catch
|
|
132
|
-
* @supported weapp, swan, tt
|
|
132
|
+
* @supported weapp, swan, tt, h5
|
|
133
133
|
*/
|
|
134
134
|
onVTouchMove?: TouchEventFunction
|
|
135
135
|
|
|
@@ -190,7 +190,7 @@ declare namespace MovableViewProps {
|
|
|
190
190
|
|
|
191
191
|
/** 可移动的视图容器,在页面中可以拖拽滑动。movable-view 必须在 movable-area 组件中,并且必须是直接子节点,否则不能移动。
|
|
192
192
|
* @classification viewContainer
|
|
193
|
-
* @supported weapp, swan,
|
|
193
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn
|
|
194
194
|
* @example_react
|
|
195
195
|
* ```tsx
|
|
196
196
|
* class App extends Components {
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
|
|
3
|
+
interface NativeSlotProps {
|
|
4
|
+
/** 指定插入的 slot 位置
|
|
5
|
+
* @default none
|
|
6
|
+
* @supported weapp, swan, alipay, tt, jd, qq
|
|
7
|
+
*/
|
|
8
|
+
name?: string
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/** 编译的原生组件支持使用 slot 插槽
|
|
12
|
+
* @classification viewContainer
|
|
13
|
+
* @supported weapp, swan, alipay, tt, jd, qq
|
|
14
|
+
* @version 3.5.7+
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* import { NativeSlot, View } from '@tarojs/components'
|
|
18
|
+
*
|
|
19
|
+
* export default function () {
|
|
20
|
+
* render () {
|
|
21
|
+
* return (
|
|
22
|
+
* <View>
|
|
23
|
+
* <NativeSlot />
|
|
24
|
+
* </View>
|
|
25
|
+
* )
|
|
26
|
+
* }
|
|
27
|
+
* }
|
|
28
|
+
* ```
|
|
29
|
+
* @see https://github.com/NervJS/taro/pull/12627
|
|
30
|
+
*/
|
|
31
|
+
declare const NativeSlot: ComponentType<NativeSlotProps>
|
|
32
|
+
|
|
33
|
+
export { NativeSlot, NativeSlotProps }
|
package/types/NavigationBar.d.ts
CHANGED
|
@@ -36,7 +36,8 @@ interface NavigationBarProps extends StandardProps {
|
|
|
36
36
|
|
|
37
37
|
/** 页面导航条配置节点,用于指定导航栏的一些属性。只能是 PageMeta 组件内的第一个节点,需要配合它一同使用。
|
|
38
38
|
* 通过这个节点可以获得类似于调用 Taro.setNavigationBarTitle Taro.setNavigationBarColor 等接口调用的效果。
|
|
39
|
-
* @
|
|
39
|
+
* @classification navig
|
|
40
|
+
* @supported weapp, harmony
|
|
40
41
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/navigation-bar.html
|
|
41
42
|
*/
|
|
42
43
|
declare const NavigationBar: ComponentType<NavigationBarProps>
|
package/types/Navigator.d.ts
CHANGED
|
@@ -138,7 +138,7 @@ declare namespace NavigatorProps {
|
|
|
138
138
|
|
|
139
139
|
/** 页面链接
|
|
140
140
|
* @classification navig
|
|
141
|
-
* @supported weapp, swan,
|
|
141
|
+
* @supported weapp, alipay, swan, tt, qq, jd, harmony
|
|
142
142
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/navigator.html
|
|
143
143
|
*/
|
|
144
144
|
declare const Navigator: ComponentType<NavigatorProps>
|
package/types/OpenData.d.ts
CHANGED
package/types/PageContainer.d.ts
CHANGED
|
@@ -3,90 +3,100 @@ import { StandardProps, CommonEventFunction } from './common'
|
|
|
3
3
|
interface PageContainerProps extends StandardProps {
|
|
4
4
|
/** 是否显示容器组件
|
|
5
5
|
* @default false
|
|
6
|
-
* @supported weapp, rn
|
|
6
|
+
* @supported weapp, alipay, rn
|
|
7
7
|
*/
|
|
8
8
|
show?: boolean
|
|
9
9
|
|
|
10
10
|
/** 动画时长,单位毫秒
|
|
11
11
|
* @default 300
|
|
12
|
-
* @supported weapp, rn
|
|
12
|
+
* @supported weapp, alipay, rn
|
|
13
13
|
*/
|
|
14
14
|
duration?: number
|
|
15
15
|
|
|
16
16
|
/** z-index 层级
|
|
17
17
|
* @default 100
|
|
18
|
-
* @supported weapp
|
|
18
|
+
* @supported weapp, alipay
|
|
19
19
|
*/
|
|
20
20
|
zIndex?: number
|
|
21
21
|
|
|
22
22
|
/** 是否显示遮罩层
|
|
23
23
|
* @default true
|
|
24
|
-
* @supported weapp, rn
|
|
24
|
+
* @supported weapp, alipay, rn
|
|
25
25
|
*/
|
|
26
26
|
overlay?: boolean
|
|
27
27
|
|
|
28
28
|
/** 弹出位置,可选值为 top bottom right center
|
|
29
29
|
* @default bottom
|
|
30
|
-
* @supported weapp, rn
|
|
30
|
+
* @supported weapp, alipay, rn
|
|
31
31
|
*/
|
|
32
32
|
position?: keyof PageContainerProps.Position
|
|
33
33
|
|
|
34
34
|
/** 是否显示圆角
|
|
35
35
|
* @default false
|
|
36
|
-
* @supported weapp, rn
|
|
36
|
+
* @supported weapp, alipay, rn
|
|
37
37
|
*/
|
|
38
38
|
round?: boolean
|
|
39
39
|
|
|
40
40
|
/** 自定义遮罩层样式
|
|
41
|
-
* @supported weapp, rn
|
|
41
|
+
* @supported weapp, alipay, rn
|
|
42
42
|
*/
|
|
43
43
|
overlayStyle?: string
|
|
44
44
|
|
|
45
45
|
/** 自定义弹出层样式
|
|
46
|
-
* @supported weapp, rn
|
|
46
|
+
* @supported weapp, alipay, rn
|
|
47
47
|
*/
|
|
48
48
|
customStyle?: string
|
|
49
49
|
|
|
50
50
|
/** 是否在下滑一段距离后关闭
|
|
51
|
-
* @supported weapp
|
|
51
|
+
* @supported weapp, alipay
|
|
52
52
|
* @default false
|
|
53
53
|
*/
|
|
54
|
-
closeOnSlideDown?:
|
|
54
|
+
closeOnSlideDown?: boolean
|
|
55
55
|
|
|
56
56
|
/** 进入前触发
|
|
57
|
-
* @supported weapp, rn
|
|
57
|
+
* @supported weapp, alipay, rn
|
|
58
58
|
*/
|
|
59
59
|
onBeforeEnter?: CommonEventFunction
|
|
60
60
|
|
|
61
61
|
/** 进入中触发
|
|
62
|
-
* @supported weapp, rn
|
|
62
|
+
* @supported weapp, alipay, rn
|
|
63
63
|
*/
|
|
64
64
|
onEnter?: CommonEventFunction
|
|
65
65
|
|
|
66
66
|
/** 进入后触发
|
|
67
|
-
* @supported weapp, rn
|
|
67
|
+
* @supported weapp, alipay, rn
|
|
68
68
|
*/
|
|
69
69
|
onAfterEnter?: CommonEventFunction
|
|
70
70
|
|
|
71
71
|
/** 离开前触发
|
|
72
|
-
* @supported weapp, rn
|
|
72
|
+
* @supported weapp, alipay, rn
|
|
73
73
|
*/
|
|
74
74
|
onBeforeLeave?: CommonEventFunction
|
|
75
75
|
|
|
76
76
|
/** 离开中触发
|
|
77
|
-
* @supported weapp, rn
|
|
77
|
+
* @supported weapp, alipay, rn
|
|
78
78
|
*/
|
|
79
79
|
onLeave?: CommonEventFunction
|
|
80
80
|
|
|
81
81
|
/** 离开后触发
|
|
82
|
-
* @supported weapp, rn
|
|
82
|
+
* @supported weapp, alipay, rn
|
|
83
83
|
*/
|
|
84
84
|
onAfterLeave?: CommonEventFunction
|
|
85
85
|
|
|
86
86
|
/** 点击遮罩层时触发
|
|
87
|
-
* @supported weapp
|
|
87
|
+
* @supported weapp, alipay
|
|
88
88
|
*/
|
|
89
89
|
onClickOverlay?: CommonEventFunction
|
|
90
|
+
|
|
91
|
+
/** 进入被打断时触发(通过 a: if 打断时不会触发)。
|
|
92
|
+
* @supported alipay
|
|
93
|
+
*/
|
|
94
|
+
onEnterCancelled?: CommonEventFunction
|
|
95
|
+
|
|
96
|
+
/** 离开被打断时触发(通过 a: if 打断时不会触发)。
|
|
97
|
+
* @supported alipay
|
|
98
|
+
*/
|
|
99
|
+
onLeaveCancelled?: CommonEventFunction
|
|
90
100
|
}
|
|
91
101
|
declare namespace PageContainerProps {
|
|
92
102
|
/** 弹出位置 */
|
|
@@ -114,7 +124,7 @@ declare namespace PageContainerProps {
|
|
|
114
124
|
* 1. tip: 当前页面最多只有 1 个容器,若已存在容器的情况下,无法增加新的容器
|
|
115
125
|
* 2. tip: wx.navigateBack 无法在页面栈顶调用,此时没有上一级页面
|
|
116
126
|
* @classification viewContainer
|
|
117
|
-
* @supported weapp, rn
|
|
127
|
+
* @supported weapp, alipay, rn
|
|
118
128
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/page-container.html
|
|
119
129
|
*/
|
|
120
130
|
declare const PageContainer: ComponentType<PageContainerProps>
|
package/types/PageMeta.d.ts
CHANGED
|
@@ -96,7 +96,7 @@ declare namespace PageMetaProps {
|
|
|
96
96
|
|
|
97
97
|
/** 页面属性配置节点,用于指定页面的一些属性、监听页面事件。只能是页面内的第一个节点。可以配合 navigation-bar 组件一同使用。
|
|
98
98
|
* 通过这个节点可以获得类似于调用 Taro.setBackgroundTextStyle Taro.setBackgroundColor 等接口调用的效果。
|
|
99
|
-
* @supported weapp
|
|
99
|
+
* @supported weapp, alipay
|
|
100
100
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/page-meta.html
|
|
101
101
|
*/
|
|
102
102
|
declare const PageMeta: ComponentType<PageMetaProps>
|
package/types/Picker.d.ts
CHANGED
|
@@ -302,7 +302,7 @@ declare namespace PickerRegionProps {
|
|
|
302
302
|
/**
|
|
303
303
|
* 从底部弹起的滚动选择器
|
|
304
304
|
* @classification forms
|
|
305
|
-
* @supported weapp,
|
|
305
|
+
* @supported weapp, swan, alipay, tt, h5, rn, harmony
|
|
306
306
|
* @example_react
|
|
307
307
|
* ```tsx
|
|
308
308
|
* export default class PagePicker extends Component {
|
package/types/PickerView.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ declare namespace PickerViewProps {
|
|
|
66
66
|
/** 嵌入页面的滚动选择器
|
|
67
67
|
* 其中只可放置 picker-view-column 组件,其它节点不会显示
|
|
68
68
|
* @classification forms
|
|
69
|
-
* @supported weapp,
|
|
69
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
70
70
|
* @example_react
|
|
71
71
|
* ```tsx
|
|
72
72
|
* export default class Picks extends Component {
|
|
@@ -5,7 +5,7 @@ type PickerViewColumnProps = StandardProps
|
|
|
5
5
|
/** 滚动选择器子项
|
|
6
6
|
* 仅可放置于 `<PickerView />` 中,其孩子节点的高度会自动设置成与 picker-view 的选中框的高度一致
|
|
7
7
|
* @classification forms
|
|
8
|
-
* @supported weapp, swan, alipay, tt, h5, rn
|
|
8
|
+
* @supported weapp, swan, alipay, tt, h5, rn, harmony
|
|
9
9
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/picker-view-column.html
|
|
10
10
|
*/
|
|
11
11
|
declare const PickerViewColumn: ComponentType<StandardProps>
|
package/types/Progress.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ interface ProgressProps extends StandardProps {
|
|
|
81
81
|
|
|
82
82
|
/** 进度条。组件属性的长度单位默认为 px
|
|
83
83
|
* @classification base
|
|
84
|
-
* @supported weapp,
|
|
84
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
85
85
|
* @example_react
|
|
86
86
|
* ```tsx
|
|
87
87
|
* export default class PageView extends Component {
|
package/types/Radio.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ interface RadioProps extends StandardProps {
|
|
|
44
44
|
|
|
45
45
|
/** 单选项目
|
|
46
46
|
* @classification forms
|
|
47
|
-
* @supported weapp, h5, rn,
|
|
47
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony
|
|
48
48
|
* @example_react
|
|
49
49
|
* ```tsx
|
|
50
50
|
* export default class PageRadio extends Component {
|
package/types/RadioGroup.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ declare namespace RadioGroupProps {
|
|
|
19
19
|
|
|
20
20
|
/** 单项选择器,内部由多个 Radio 组成。
|
|
21
21
|
* @classification forms
|
|
22
|
-
* @supported weapp, h5, rn,
|
|
22
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony
|
|
23
23
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/radio-group.html
|
|
24
24
|
*/
|
|
25
25
|
declare const RadioGroup: ComponentType<RadioGroupProps>
|
package/types/RichText.d.ts
CHANGED
|
@@ -118,7 +118,7 @@ declare namespace RichTextProps {
|
|
|
118
118
|
|
|
119
119
|
/** 富文本
|
|
120
120
|
* @classification base
|
|
121
|
-
* @supported weapp, swan, alipay, tt, h5, rn
|
|
121
|
+
* @supported weapp, swan, alipay, tt, h5, rn, harmony
|
|
122
122
|
* @example_react
|
|
123
123
|
* ```tsx
|
|
124
124
|
* class App extends Components {
|
package/types/RootPortal.d.ts
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import { ComponentType } from 'react'
|
|
2
|
+
import { StandardProps } from './common'
|
|
3
|
+
interface RootPortalProps extends StandardProps {
|
|
4
|
+
/**
|
|
5
|
+
* 是否从页面中脱离出来
|
|
6
|
+
* @supported weapp
|
|
7
|
+
* @default true
|
|
8
|
+
*/
|
|
9
|
+
enable?: boolean
|
|
10
|
+
}
|
|
2
11
|
|
|
3
12
|
/** root-portal
|
|
4
13
|
* 使整个子树从页面中脱离出来,类似于在 CSS 中使用 fixed position 的效果。主要用于制作弹窗、弹出层等。
|
|
@@ -28,6 +37,6 @@ import { ComponentType } from 'react'
|
|
|
28
37
|
* }
|
|
29
38
|
* ```
|
|
30
39
|
*/
|
|
31
|
-
declare const RootPortal: ComponentType
|
|
40
|
+
declare const RootPortal: ComponentType<RootPortalProps>
|
|
32
41
|
|
|
33
|
-
export { RootPortal }
|
|
42
|
+
export { RootPortal, RootPortalProps }
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
import { StandardProps } from './common'
|
|
3
|
+
interface RtcRoomProps extends StandardProps {
|
|
4
|
+
/** rtc-room 组件的唯一标识符
|
|
5
|
+
* @supported swan
|
|
6
|
+
*/
|
|
7
|
+
id?: string
|
|
8
|
+
|
|
9
|
+
/** 是否开启摄像头
|
|
10
|
+
* @supported swan
|
|
11
|
+
* @default true
|
|
12
|
+
*/
|
|
13
|
+
enableCamera?: boolean
|
|
14
|
+
|
|
15
|
+
/** 是否开启摄像头自动对焦
|
|
16
|
+
* @supported swan
|
|
17
|
+
* @default true
|
|
18
|
+
*/
|
|
19
|
+
enableAutoFocus?: boolean
|
|
20
|
+
|
|
21
|
+
/** 是否支持双手滑动调整摄像头聚焦
|
|
22
|
+
* @supported swan
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
|
+
enableZoom?: boolean
|
|
26
|
+
|
|
27
|
+
/** 设置前置还是后置摄像头,有效值:front、back
|
|
28
|
+
* @supported swan
|
|
29
|
+
* @default "front"
|
|
30
|
+
*/
|
|
31
|
+
devicePosition?: 'front' | 'back'
|
|
32
|
+
|
|
33
|
+
/** 是否开启麦克风
|
|
34
|
+
* @supported swan
|
|
35
|
+
* @default true
|
|
36
|
+
*/
|
|
37
|
+
enableMic?: boolean
|
|
38
|
+
|
|
39
|
+
/** 是否开启音频自动增益
|
|
40
|
+
* @supported swan
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
enableAgc?: boolean
|
|
44
|
+
|
|
45
|
+
/** 是否开启音频噪声抑制
|
|
46
|
+
* @supported swan
|
|
47
|
+
* @default false
|
|
48
|
+
*/
|
|
49
|
+
enableAns?: boolean
|
|
50
|
+
|
|
51
|
+
/** 最大码率
|
|
52
|
+
* @supported swan
|
|
53
|
+
* @default 900
|
|
54
|
+
*/
|
|
55
|
+
bitrate?: number
|
|
56
|
+
|
|
57
|
+
/** 视频分辨率宽
|
|
58
|
+
* @supported swan
|
|
59
|
+
* @default 360
|
|
60
|
+
*/
|
|
61
|
+
videoWidth?: number
|
|
62
|
+
|
|
63
|
+
/** 视频分辨率高
|
|
64
|
+
* @supported swan
|
|
65
|
+
* @default 640
|
|
66
|
+
*/
|
|
67
|
+
videoHeight?: number
|
|
68
|
+
|
|
69
|
+
/** 设置远端看到的画面的镜像效果,该属性的变化不会影响到本地画面,仅影响远端看到的画面效果
|
|
70
|
+
* @supported swan
|
|
71
|
+
* @default false
|
|
72
|
+
*/
|
|
73
|
+
enableRemoteMirror?: boolean
|
|
74
|
+
|
|
75
|
+
/** 设置本地摄像头预览画面的镜像效果,有效值:auto、enable、disable
|
|
76
|
+
* @supported swan
|
|
77
|
+
* @default "auto"
|
|
78
|
+
*/
|
|
79
|
+
localMirror?: 'auto' | 'enable' | 'disable'
|
|
80
|
+
|
|
81
|
+
/** 设置声音输出方式,有效值:speaker、ear
|
|
82
|
+
* @supported swan
|
|
83
|
+
* @default "speaker"
|
|
84
|
+
*/
|
|
85
|
+
soundMode?: 'speaker' | 'ear'
|
|
86
|
+
|
|
87
|
+
/** 房间状态变化事件,参考下方状态码,detail = { code, msg, userInfo }
|
|
88
|
+
* @supported swan
|
|
89
|
+
*/
|
|
90
|
+
onStateChange?: CommonEventFunction
|
|
91
|
+
|
|
92
|
+
/** 错误事件。参考下方错误码,detail = { errMsg, errCode }
|
|
93
|
+
* @supported swan
|
|
94
|
+
*/
|
|
95
|
+
onError?: CommonEventFunction
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/** 实时音视频通话房间
|
|
99
|
+
* @classification media
|
|
100
|
+
* @supported swan
|
|
101
|
+
* @see https://smartprogram.baidu.com/docs/develop/component/media_rtc-room/
|
|
102
|
+
*/
|
|
103
|
+
declare const RtcRoom: ComponentType<RtcRoomProps>
|
|
104
|
+
export { RtcRoom, RtcRoomProps }
|