@tarojs/components 4.0.0-beta.0 → 4.0.0-beta.2
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/LICENSE +14 -0
- package/dist/cjs/{index-e751dfe3.js → index-dbbe9dde.js} +3 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-components.cjs.js +2 -2
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-icon-core.cjs.entry.js +4 -1
- package/dist/cjs/taro-image-core.cjs.entry.js +6 -5
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +4 -4
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +3 -3
- package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
- package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slider-core.cjs.entry.js +4 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +19 -9863
- package/dist/cjs/taro-switch-core.cjs.entry.js +13 -12
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tabbar.cjs.entry.js +13 -85
- package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-textarea-core.cjs.entry.js +12 -3
- package/dist/cjs/taro-video-control_3.cjs.entry.js +24 -4
- package/dist/cjs/taro-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
- package/dist/collection/components/audio/style/index.css +1 -4
- package/dist/collection/components/button/style/index.css +1 -160
- package/dist/collection/components/canvas/style/index.css +1 -6
- package/dist/collection/components/checkbox/style/index.css +1 -39
- package/dist/collection/components/cover-image/style/index.css +1 -5
- package/dist/collection/components/cover-view/style/cover-view.css +1 -3
- package/dist/collection/components/icon/icon.js +10 -0
- package/dist/collection/components/icon/style/index.css +1 -0
- package/dist/collection/components/image/image.js +4 -3
- package/dist/collection/components/image/style/index.css +1 -73
- package/dist/collection/components/input/input.js +2 -2
- package/dist/collection/components/input/style/index.css +1 -0
- package/dist/collection/components/movable-area/area.css +1 -6
- package/dist/collection/components/movable-area/view.css +1 -8
- package/dist/collection/components/navigator/style/index.css +1 -3
- package/dist/collection/components/picker/style/index.css +1 -4
- package/dist/collection/components/picker-view/style/column.css +1 -12
- package/dist/collection/components/picker-view/style/index.css +1 -28
- package/dist/collection/components/progress/progress.js +10 -0
- package/dist/collection/components/progress/style/index.css +1 -0
- package/dist/collection/components/pull-to-refresh/style/index.css +1 -52
- package/dist/collection/components/rich-text/style/index.css +1 -16
- package/dist/collection/components/scroll-view/style/index.css +1 -17
- package/dist/collection/components/slider/slider.js +10 -0
- package/dist/collection/components/slider/style/index.css +1 -0
- package/dist/collection/components/swiper/style/index.css +2 -19
- package/dist/collection/components/switch/style/index.css +1 -10
- package/dist/collection/components/switch/switch.js +12 -12
- package/dist/collection/components/tabbar/style/index.css +1 -53
- package/dist/collection/components/tabbar/tabbar.js +1 -1
- package/dist/collection/components/text/style/index.css +1 -26
- package/dist/collection/components/textarea/style/index.css +1 -22
- package/dist/collection/components/textarea/textarea.js +11 -0
- package/dist/collection/components/video/style/index.css +1 -327
- package/dist/collection/components/view/style/index.css +1 -9
- package/dist/collection/components/web-view/style/index.css +1 -12
- package/dist/components/taro-audio-core.js +1 -1
- package/dist/components/taro-button-core.js +1 -1
- package/dist/components/taro-canvas-core.js +1 -1
- package/dist/components/taro-checkbox-core.js +1 -1
- package/dist/components/taro-cover-image-core.js +1 -1
- package/dist/components/taro-icon-core.js +3 -0
- package/dist/components/taro-image-core.js +5 -4
- package/dist/components/taro-input-core.js +1 -1
- package/dist/components/taro-movable-area-core.js +1 -1
- package/dist/components/taro-movable-view-core.js +1 -1
- package/dist/components/taro-picker-core.js +1 -1
- package/dist/components/taro-picker-view-column-core.js +1 -1
- package/dist/components/taro-picker-view-core.js +1 -1
- package/dist/components/taro-progress-core.js +3 -0
- package/dist/components/taro-pull-to-refresh-core.js +1 -1
- package/dist/components/taro-rich-text-core.js +1 -1
- package/dist/components/taro-scroll-view-core.js +1 -1
- package/dist/components/taro-slider-core.js +3 -0
- package/dist/components/taro-swiper-core.js +5 -9853
- package/dist/components/taro-switch-core.js +13 -13
- package/dist/components/taro-tabbar.js +3 -76
- package/dist/components/taro-text-core.js +1 -1
- package/dist/components/taro-textarea-core.js +11 -2
- package/dist/components/taro-video-core.js +2 -2
- package/dist/components/taro-view-core.js +1 -1
- package/dist/components/taro-web-view-core.js +1 -1
- package/dist/esm/{index-980f930f.js → index-486e187e.js} +3 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/taro-ad-core.entry.js +1 -1
- package/dist/esm/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm/taro-animation-video-core.entry.js +1 -1
- package/dist/esm/taro-animation-view-core.entry.js +1 -1
- package/dist/esm/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm/taro-audio-core.entry.js +2 -2
- package/dist/esm/taro-aweme-data-core.entry.js +1 -1
- package/dist/esm/taro-block-core.entry.js +1 -1
- package/dist/esm/taro-button-core.entry.js +2 -2
- package/dist/esm/taro-camera-core.entry.js +1 -1
- package/dist/esm/taro-canvas-core.entry.js +2 -2
- package/dist/esm/taro-channel-live-core.entry.js +1 -1
- package/dist/esm/taro-channel-video-core.entry.js +1 -1
- package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
- package/dist/esm/taro-comment-detail-core.entry.js +1 -1
- package/dist/esm/taro-comment-list-core.entry.js +1 -1
- package/dist/esm/taro-components.js +3 -3
- package/dist/esm/taro-contact-button-core.entry.js +1 -1
- package/dist/esm/taro-cover-image-core.entry.js +2 -2
- package/dist/esm/taro-cover-view-core.entry.js +1 -1
- package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm/taro-editor-core.entry.js +1 -1
- package/dist/esm/taro-follow-swan-core.entry.js +1 -1
- package/dist/esm/taro-form-core.entry.js +1 -1
- package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm/taro-grid-view-core.entry.js +1 -1
- package/dist/esm/taro-icon-core.entry.js +4 -1
- package/dist/esm/taro-image-core.entry.js +6 -5
- package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
- package/dist/esm/taro-input-core.entry.js +2 -2
- package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm/taro-label-core.entry.js +1 -1
- package/dist/esm/taro-lifestyle-core.entry.js +1 -1
- package/dist/esm/taro-like-core.entry.js +1 -1
- package/dist/esm/taro-list-view-core.entry.js +1 -1
- package/dist/esm/taro-live-player-core.entry.js +1 -1
- package/dist/esm/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm/taro-login-core.entry.js +1 -1
- package/dist/esm/taro-lottie-core.entry.js +1 -1
- package/dist/esm/taro-map-core.entry.js +1 -1
- package/dist/esm/taro-match-media-core.entry.js +1 -1
- package/dist/esm/taro-movable-area-core_2.entry.js +4 -4
- package/dist/esm/taro-native-slot-core.entry.js +1 -1
- package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm/taro-navigator-core.entry.js +1 -1
- package/dist/esm/taro-official-account-core.entry.js +1 -1
- package/dist/esm/taro-open-data-core.entry.js +1 -1
- package/dist/esm/taro-page-container-core.entry.js +1 -1
- package/dist/esm/taro-page-meta-core.entry.js +1 -1
- package/dist/esm/taro-picker-core_2.entry.js +2 -2
- package/dist/esm/taro-picker-view-column-core_2.entry.js +3 -3
- package/dist/esm/taro-progress-core.entry.js +4 -1
- package/dist/esm/taro-pull-to-refresh-core.entry.js +2 -2
- package/dist/esm/taro-radio-core_2.entry.js +1 -1
- package/dist/esm/taro-rich-text-core.entry.js +2 -2
- package/dist/esm/taro-root-portal-core.entry.js +1 -1
- package/dist/esm/taro-rtc-room-core.entry.js +1 -1
- package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
- package/dist/esm/taro-scroll-view-core.entry.js +2 -2
- package/dist/esm/taro-share-element-core.entry.js +1 -1
- package/dist/esm/taro-slider-core.entry.js +4 -1
- package/dist/esm/taro-slot-core.entry.js +1 -1
- package/dist/esm/taro-snapshot-core.entry.js +1 -1
- package/dist/esm/taro-sticky-header-core.entry.js +1 -1
- package/dist/esm/taro-sticky-section-core.entry.js +1 -1
- package/dist/esm/taro-swiper-core_2.entry.js +4 -9852
- package/dist/esm/taro-switch-core.entry.js +13 -12
- package/dist/esm/taro-tab-item-core.entry.js +1 -1
- package/dist/esm/taro-tabbar.entry.js +4 -77
- package/dist/esm/taro-tabs-core.entry.js +1 -1
- package/dist/esm/taro-text-core.entry.js +2 -2
- package/dist/esm/taro-textarea-core.entry.js +12 -3
- package/dist/esm/taro-video-control_3.entry.js +3 -3
- package/dist/esm/taro-view-core.entry.js +2 -2
- package/dist/esm/taro-voip-room-core.entry.js +1 -1
- package/dist/esm/taro-web-view-core.entry.js +2 -2
- package/dist/esm-es5/index-486e187e.js +2 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/taro-ad-core.entry.js +1 -1
- package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
- package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm-es5/taro-audio-core.entry.js +1 -1
- package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-block-core.entry.js +1 -1
- package/dist/esm-es5/taro-button-core.entry.js +1 -1
- package/dist/esm-es5/taro-camera-core.entry.js +1 -1
- package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
- package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
- package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
- package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
- package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-contact-button-core.entry.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-custom-wrapper-core.entry.js +1 -1
- package/dist/esm-es5/taro-editor-core.entry.js +1 -1
- package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
- package/dist/esm-es5/taro-form-core.entry.js +1 -1
- package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-icon-core.entry.js +1 -1
- package/dist/esm-es5/taro-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-inline-payment-panel-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 -1
- package/dist/esm-es5/taro-label-core.entry.js +1 -1
- package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
- package/dist/esm-es5/taro-like-core.entry.js +1 -1
- package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm-es5/taro-login-core.entry.js +1 -1
- package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
- package/dist/esm-es5/taro-map-core.entry.js +1 -1
- package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
- package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
- package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
- package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-progress-core.entry.js +1 -1
- package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -1
- package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
- package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
- package/dist/esm-es5/taro-slider-core.entry.js +1 -1
- package/dist/esm-es5/taro-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-snapshot-core.entry.js +1 -1
- package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
- package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-switch-core.entry.js +1 -1
- package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
- package/dist/esm-es5/taro-tabbar.entry.js +1 -1
- package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
- package/dist/esm-es5/taro-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
- package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
- package/dist/esm-es5/taro-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
- package/dist/taro-components/{p-ebc7b6fc.entry.js → p-00d05751.entry.js} +1 -1
- package/dist/taro-components/p-014534ca.system.entry.js +1 -0
- package/dist/taro-components/p-015b3025.system.entry.js +1 -0
- package/dist/taro-components/{p-0d7a705b.system.entry.js → p-02dd30fa.system.entry.js} +1 -1
- package/dist/taro-components/{p-9e03bc7a.system.entry.js → p-040f15f2.system.entry.js} +1 -1
- package/dist/taro-components/p-06cf6b18.system.entry.js +1 -0
- package/dist/taro-components/{p-a74c970c.system.entry.js → p-07e94301.system.entry.js} +1 -1
- package/dist/taro-components/{p-5e91398a.system.entry.js → p-0cf04b3d.system.entry.js} +1 -1
- package/dist/taro-components/p-0e3d8ada.entry.js +1 -0
- package/dist/taro-components/p-101f49dd.entry.js +1 -0
- package/dist/taro-components/p-10d3c795.system.entry.js +1 -0
- package/dist/taro-components/{p-7e8e355b.system.entry.js → p-114f89d6.system.entry.js} +1 -1
- package/dist/taro-components/p-1182efdd.system.entry.js +1 -0
- package/dist/taro-components/{p-2da9c8fd.entry.js → p-128f9eb0.entry.js} +1 -1
- package/dist/taro-components/p-16954dd6.entry.js +1 -0
- package/dist/taro-components/p-170ce205.system.entry.js +1 -0
- package/dist/taro-components/{p-208e438c.system.entry.js → p-1b42ba7e.system.entry.js} +1 -1
- package/dist/taro-components/{p-e598f47b.entry.js → p-1ced140d.entry.js} +1 -1
- package/dist/taro-components/{p-fbb2446e.entry.js → p-1d25f4e3.entry.js} +1 -1
- package/dist/taro-components/{p-fd7ff0f3.system.entry.js → p-1e3d7899.system.entry.js} +1 -1
- package/dist/taro-components/{p-de96861c.system.entry.js → p-1ee83d63.system.entry.js} +1 -1
- package/dist/taro-components/p-2059cbc0.system.entry.js +1 -0
- package/dist/taro-components/{p-15624788.system.entry.js → p-205a0692.system.entry.js} +1 -1
- package/dist/taro-components/p-25bbf4aa.system.entry.js +1 -0
- package/dist/taro-components/{p-b07cd197.system.entry.js → p-26545e4e.system.entry.js} +1 -1
- package/dist/taro-components/p-28bf8423.system.entry.js +1 -0
- package/dist/taro-components/{p-3004e71a.system.entry.js → p-290fd78b.system.entry.js} +1 -1
- package/dist/taro-components/p-2bbdbe9c.system.entry.js +1 -0
- package/dist/taro-components/{p-a4951dd6.entry.js → p-2d6d4850.entry.js} +1 -1
- package/dist/taro-components/{p-9fe49bab.entry.js → p-2dea35fd.entry.js} +1 -1
- package/dist/taro-components/p-2f403f7f.entry.js +1 -0
- package/dist/taro-components/{p-a2d590ad.entry.js → p-2f683899.entry.js} +1 -1
- package/dist/taro-components/p-30623371.entry.js +1 -0
- package/dist/taro-components/{p-a2141e85.system.entry.js → p-34933f34.system.entry.js} +1 -1
- package/dist/taro-components/{p-92d04741.system.entry.js → p-352b6b6b.system.entry.js} +1 -1
- package/dist/taro-components/p-35e96af8.system.entry.js +1 -0
- package/dist/taro-components/{p-f78823a1.entry.js → p-37593ce7.entry.js} +1 -1
- package/dist/taro-components/p-387f300a.entry.js +1 -0
- package/dist/taro-components/p-3afbae36.entry.js +1 -0
- package/dist/taro-components/p-3bd04d38.entry.js +1 -0
- package/dist/taro-components/{p-21c07cb3.system.entry.js → p-3ca9aa19.system.entry.js} +1 -1
- package/dist/taro-components/{p-ce303d12.system.entry.js → p-3d76b46e.system.entry.js} +1 -1
- package/dist/taro-components/p-3dadbe4c.system.entry.js +1 -0
- package/dist/taro-components/{p-ef322936.entry.js → p-3e9bf572.entry.js} +1 -1
- package/dist/taro-components/p-4408d796.entry.js +1 -0
- package/dist/taro-components/{p-8ccaf5e8.entry.js → p-445810cb.entry.js} +1 -1
- package/dist/taro-components/p-449f60fa.entry.js +1 -0
- package/dist/taro-components/p-46661961.entry.js +1 -0
- package/dist/taro-components/{p-124ac21f.entry.js → p-48e5ddaa.entry.js} +1 -1
- package/dist/taro-components/{p-43720011.entry.js → p-4928ee37.entry.js} +1 -1
- package/dist/taro-components/{p-84958ace.entry.js → p-4cbd26dd.entry.js} +1 -1
- package/dist/taro-components/p-4e4ac1fe.system.entry.js +1 -0
- package/dist/taro-components/{p-d2e0b15c.entry.js → p-4e4cc6ab.entry.js} +1 -1
- package/dist/taro-components/{p-fac4ce6f.system.entry.js → p-50e1ba06.system.entry.js} +1 -1
- package/dist/taro-components/{p-a6e2dd48.entry.js → p-510a69b3.entry.js} +1 -1
- package/dist/taro-components/p-5307637c.system.entry.js +1 -0
- package/dist/taro-components/{p-5870248f.system.entry.js → p-54941baf.system.entry.js} +1 -1
- package/dist/taro-components/{p-0e3b37e9.entry.js → p-55be4215.entry.js} +1 -1
- package/dist/taro-components/{p-c913b635.system.entry.js → p-578f19ea.system.entry.js} +1 -1
- package/dist/taro-components/{p-a90221ab.system.entry.js → p-581e844d.system.entry.js} +1 -1
- package/dist/taro-components/p-5a1bb2d3.system.entry.js +1 -0
- package/dist/taro-components/{p-1cf16dfa.entry.js → p-5bb60b5e.entry.js} +1 -1
- package/dist/taro-components/p-600d9210.entry.js +1 -0
- package/dist/taro-components/p-6066e633.entry.js +1 -0
- package/dist/taro-components/p-61cb688a.entry.js +1 -0
- package/dist/taro-components/{p-5994d9f2.system.entry.js → p-6229bb7d.system.entry.js} +1 -1
- package/dist/taro-components/p-64f5abce.entry.js +1 -0
- package/dist/taro-components/p-67ff5a50.system.entry.js +1 -0
- package/dist/taro-components/p-69e747dc.entry.js +1 -0
- package/dist/taro-components/{p-7e6b54cb.system.js → p-6bbb639a.system.js} +2 -2
- package/dist/taro-components/p-6cf765b7.system.entry.js +1 -0
- package/dist/taro-components/{p-f2c86846.entry.js → p-6e9d509a.entry.js} +1 -1
- package/dist/taro-components/p-6f027b85.entry.js +1 -0
- package/dist/taro-components/p-72b954ce.system.entry.js +1 -0
- package/dist/taro-components/p-74129eac.entry.js +1 -0
- package/dist/taro-components/{p-473afc8e.system.entry.js → p-74b1be20.system.entry.js} +1 -1
- package/dist/taro-components/{p-58cc2e6d.system.entry.js → p-758e3319.system.entry.js} +1 -1
- package/dist/taro-components/{p-b5b30493.system.entry.js → p-75b927b4.system.entry.js} +1 -1
- package/dist/taro-components/p-764cd497.entry.js +1 -0
- package/dist/taro-components/p-7b6f6526.system.entry.js +1 -0
- package/dist/taro-components/p-7bd1345f.entry.js +1 -0
- package/dist/taro-components/{p-be96eb59.system.entry.js → p-7cecf08e.system.entry.js} +1 -1
- package/dist/taro-components/{p-6cde54e5.system.entry.js → p-7f084a29.system.entry.js} +1 -1
- package/dist/taro-components/{p-600e89cc.system.entry.js → p-80106cc2.system.entry.js} +1 -1
- package/dist/taro-components/{p-76996fcb.entry.js → p-80278124.entry.js} +1 -1
- package/dist/taro-components/p-83699a53.entry.js +1 -0
- package/dist/taro-components/{p-38ee526a.entry.js → p-846aa5ec.entry.js} +1 -1
- package/dist/taro-components/{p-e740320c.entry.js → p-861834ce.entry.js} +1 -1
- package/dist/taro-components/{p-d1756770.entry.js → p-870e0d9d.entry.js} +1 -1
- package/dist/taro-components/{p-69c43a81.entry.js → p-87422c88.entry.js} +1 -1
- package/dist/taro-components/p-88c5f0eb.system.entry.js +1 -0
- package/dist/taro-components/{p-22bf7daf.entry.js → p-8b70fd1d.entry.js} +1 -1
- package/dist/taro-components/{p-0e8199b7.entry.js → p-8d437a7f.entry.js} +1 -1
- package/dist/taro-components/{p-519fbe84.system.entry.js → p-8df92f90.system.entry.js} +1 -1
- package/dist/taro-components/p-8e45a207.system.entry.js +1 -0
- package/dist/taro-components/p-92daad3f.system.entry.js +1 -0
- package/dist/taro-components/{p-7726b789.system.entry.js → p-940d41e9.system.entry.js} +1 -1
- package/dist/taro-components/{p-78e4805e.entry.js → p-95058ee1.entry.js} +1 -1
- package/dist/taro-components/p-95e88e0f.entry.js +1 -0
- package/dist/taro-components/{p-b1d2b575.system.entry.js → p-9623f19c.system.entry.js} +1 -1
- package/dist/taro-components/{p-0ec2e88a.entry.js → p-970623a1.entry.js} +1 -1
- package/dist/taro-components/{p-24d9836e.entry.js → p-9890bb7b.entry.js} +1 -1
- package/dist/taro-components/{p-9137dcab.js → p-98b1fc13.js} +2 -2
- package/dist/taro-components/{p-8d990f1c.system.entry.js → p-9937cf08.system.entry.js} +1 -1
- package/dist/taro-components/p-9a5bfa2a.system.entry.js +1 -0
- package/dist/taro-components/{p-bc541cd8.entry.js → p-9b4e5578.entry.js} +1 -1
- package/dist/taro-components/{p-065a10d7.entry.js → p-9e138188.entry.js} +1 -1
- package/dist/taro-components/p-a17b1a7e.entry.js +1 -0
- package/dist/taro-components/p-a197cbae.system.entry.js +1 -0
- package/dist/taro-components/p-a2a70581.system.entry.js +1 -0
- package/dist/taro-components/p-a61e195b.entry.js +1 -0
- package/dist/taro-components/p-a972aa1d.system.js +1 -0
- package/dist/taro-components/p-ae128150.entry.js +1 -0
- package/dist/taro-components/p-b04cdd9a.system.entry.js +1 -0
- package/dist/taro-components/{p-f2235cbb.entry.js → p-b317674b.entry.js} +1 -1
- package/dist/taro-components/p-b6694eb3.system.entry.js +1 -0
- package/dist/taro-components/p-b8858af9.system.entry.js +1 -0
- package/dist/taro-components/{p-da3db323.entry.js → p-b8e2465a.entry.js} +1 -1
- package/dist/taro-components/{p-c99e14b5.entry.js → p-b9f19e77.entry.js} +1 -1
- package/dist/taro-components/{p-bf0e0394.entry.js → p-ba195b39.entry.js} +1 -1
- package/dist/taro-components/{p-1b789738.system.entry.js → p-ba50342b.system.entry.js} +1 -1
- package/dist/taro-components/{p-0fa96970.entry.js → p-bb712e32.entry.js} +1 -1
- package/dist/taro-components/p-bb87373d.entry.js +1 -0
- package/dist/taro-components/{p-9ea4f297.entry.js → p-bba220a9.entry.js} +1 -1
- package/dist/taro-components/{p-f420680c.system.entry.js → p-bcf5d78a.system.entry.js} +1 -1
- package/dist/taro-components/p-bdd7b5a9.entry.js +1 -0
- package/dist/taro-components/p-bdee068b.system.entry.js +1 -0
- package/dist/taro-components/p-bf0d2c21.system.entry.js +1 -0
- package/dist/taro-components/{p-aa04f605.entry.js → p-c0f710ae.entry.js} +1 -1
- package/dist/taro-components/p-c11fcb25.system.entry.js +1 -0
- package/dist/taro-components/p-caba17c6.system.entry.js +1 -0
- package/dist/taro-components/p-cbc19d63.entry.js +1 -0
- package/dist/taro-components/p-d03136d7.system.entry.js +1 -0
- package/dist/taro-components/p-d36f8c4f.entry.js +1 -0
- package/dist/taro-components/p-d60b66c2.entry.js +1 -0
- package/dist/taro-components/p-d78ab2de.system.entry.js +1 -0
- package/dist/taro-components/{p-36d4407e.system.entry.js → p-dbb47d14.system.entry.js} +1 -1
- package/dist/taro-components/p-dc6db06e.system.entry.js +1 -0
- package/dist/taro-components/{p-f1304456.entry.js → p-dc98486d.entry.js} +1 -1
- package/dist/taro-components/p-dca5e9ee.entry.js +1 -0
- package/dist/taro-components/{p-c1a3fecf.system.entry.js → p-de3e1cee.system.entry.js} +1 -1
- package/dist/taro-components/p-e09e8b51.system.entry.js +1 -0
- package/dist/taro-components/{p-8ca82a56.entry.js → p-e1c2e636.entry.js} +1 -1
- package/dist/taro-components/{p-30805bdf.entry.js → p-e25c2a22.entry.js} +1 -1
- package/dist/taro-components/{p-b641e598.entry.js → p-e26c787b.entry.js} +1 -1
- package/dist/taro-components/p-e457a83a.system.entry.js +1 -0
- package/dist/taro-components/{p-29638de3.entry.js → p-e7d82e00.entry.js} +1 -1
- package/dist/taro-components/{p-9d76d7a9.system.entry.js → p-ebf38559.system.entry.js} +1 -1
- package/dist/taro-components/p-eeb6aeb5.system.entry.js +1 -0
- package/dist/taro-components/p-ef0aff29.entry.js +1 -0
- package/dist/taro-components/p-f554428f.system.entry.js +1 -0
- package/dist/taro-components/p-fd1d75db.entry.js +1 -0
- package/dist/taro-components/{p-ccc64042.system.entry.js → p-ff7dfc5c.system.entry.js} +1 -1
- package/dist/taro-components/taro-components.css +1 -5
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/taro-components/taro-components.js +1 -1
- package/dist/types/components/switch/switch.d.ts +3 -3
- package/dist/types/components/textarea/textarea.d.ts +1 -0
- package/lib/react/react-component-lib/createComponent.js +3 -2
- package/lib/react/react-component-lib/createComponent.js.map +1 -1
- package/lib/react/react-component-lib/createOverlayComponent.js +1 -1
- package/lib/react/react-component-lib/utils/attachProps.d.ts +16 -7
- package/lib/react/react-component-lib/utils/attachProps.js +85 -9
- package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/lib/react/react-component-lib/utils/index.js +1 -1
- package/package.json +12 -13
- package/types/Audio.d.ts +11 -11
- package/types/Button.d.ts +9 -9
- package/types/Canvas.d.ts +11 -11
- package/types/Checkbox.d.ts +8 -8
- package/types/CheckboxGroup.d.ts +3 -3
- package/types/CoverImage.d.ts +4 -4
- package/types/CoverView.d.ts +1 -1
- package/types/CustomWrapper.d.ts +1 -1
- package/types/Form.d.ts +4 -4
- package/types/Icon.d.ts +4 -4
- package/types/Image.d.ts +8 -8
- package/types/Input.d.ts +21 -17
- package/types/Label.d.ts +2 -2
- package/types/MovableArea.d.ts +2 -2
- package/types/MovableView.d.ts +18 -18
- package/types/NativeSlot.d.ts +1 -1
- package/types/Navigator.d.ts +8 -8
- package/types/Picker.d.ts +44 -28
- package/types/PickerView.d.ts +5 -1
- package/types/PickerViewColumn.d.ts +1 -1
- package/types/Progress.d.ts +13 -13
- package/types/Radio.d.ts +7 -7
- package/types/RadioGroup.d.ts +2 -2
- package/types/RichText.d.ts +5 -5
- package/types/ScrollView.d.ts +13 -13
- package/types/Slider.d.ts +18 -14
- package/types/Slot.d.ts +1 -1
- package/types/Swiper.d.ts +17 -17
- package/types/SwiperItem.d.ts +2 -2
- package/types/Switch.d.ts +11 -7
- package/types/Text.d.ts +4 -4
- package/types/Textarea.d.ts +17 -13
- package/types/Video.d.ts +30 -30
- package/types/View.d.ts +4 -4
- package/types/WebView.d.ts +4 -4
- package/types/common.d.ts +6 -1
- package/dist/cjs/hls-00fec546.js +0 -25673
- package/dist/cjs/intersection-observer-dc4cfcef.js +0 -728
- package/dist/collection/components/input/index.css +0 -12
- package/dist/components/hls.js +0 -25671
- package/dist/components/intersection-observer.js +0 -726
- package/dist/esm/hls-4018c7ea.js +0 -25671
- package/dist/esm/intersection-observer-8e4c7135.js +0 -726
- package/dist/esm-es5/hls-4018c7ea.js +0 -1
- package/dist/esm-es5/index-980f930f.js +0 -2
- package/dist/esm-es5/intersection-observer-8e4c7135.js +0 -1
- package/dist/taro-components/p-00ed4bbb.entry.js +0 -1
- package/dist/taro-components/p-01e163f8.system.entry.js +0 -1
- package/dist/taro-components/p-06671eee.entry.js +0 -1
- package/dist/taro-components/p-085076c5.system.entry.js +0 -1
- package/dist/taro-components/p-08b7ecd7.system.entry.js +0 -1
- package/dist/taro-components/p-0a250d71.system.entry.js +0 -1
- package/dist/taro-components/p-0cedad18.system.entry.js +0 -1
- package/dist/taro-components/p-0fe855c6.entry.js +0 -1
- package/dist/taro-components/p-117633e9.system.entry.js +0 -1
- package/dist/taro-components/p-1e739fcb.system.entry.js +0 -1
- package/dist/taro-components/p-1f118969.system.entry.js +0 -1
- package/dist/taro-components/p-2a071adf.system.entry.js +0 -1
- package/dist/taro-components/p-32e9981a.system.entry.js +0 -1
- package/dist/taro-components/p-357ba712.system.entry.js +0 -1
- package/dist/taro-components/p-3b1d2d37.system.js +0 -1
- package/dist/taro-components/p-3f3abe55.system.entry.js +0 -1
- package/dist/taro-components/p-425c209a.entry.js +0 -1
- package/dist/taro-components/p-43efbf30.js +0 -1
- package/dist/taro-components/p-4cedbe5e.system.entry.js +0 -1
- package/dist/taro-components/p-4fc40739.entry.js +0 -1
- package/dist/taro-components/p-5756cf00.system.entry.js +0 -1
- package/dist/taro-components/p-5ebc7010.system.entry.js +0 -1
- package/dist/taro-components/p-64eb91f7.entry.js +0 -1
- package/dist/taro-components/p-657cb6e4.system.entry.js +0 -1
- package/dist/taro-components/p-6aa2ac6a.system.entry.js +0 -1
- package/dist/taro-components/p-6b454506.entry.js +0 -1
- package/dist/taro-components/p-72b118b0.entry.js +0 -1
- package/dist/taro-components/p-72f327e1.js +0 -1
- package/dist/taro-components/p-7b68dee8.entry.js +0 -1
- package/dist/taro-components/p-7bfc5f3d.entry.js +0 -1
- package/dist/taro-components/p-862b38b9.entry.js +0 -1
- package/dist/taro-components/p-962f28cb.entry.js +0 -1
- package/dist/taro-components/p-99e16df8.entry.js +0 -1
- package/dist/taro-components/p-9a5fbb2e.entry.js +0 -1
- package/dist/taro-components/p-9b0298bf.entry.js +0 -1
- package/dist/taro-components/p-9dcba4a7.system.entry.js +0 -1
- package/dist/taro-components/p-9edea30f.system.entry.js +0 -1
- package/dist/taro-components/p-9eeba192.entry.js +0 -1
- package/dist/taro-components/p-9feff958.system.entry.js +0 -1
- package/dist/taro-components/p-a1763153.entry.js +0 -1
- package/dist/taro-components/p-a20fed0a.entry.js +0 -1
- package/dist/taro-components/p-a5a51112.entry.js +0 -1
- package/dist/taro-components/p-a7d31b01.system.entry.js +0 -1
- package/dist/taro-components/p-a940a65b.entry.js +0 -1
- package/dist/taro-components/p-a94e3347.system.entry.js +0 -1
- package/dist/taro-components/p-ad9b04e0.entry.js +0 -1
- package/dist/taro-components/p-b0fc8752.entry.js +0 -1
- package/dist/taro-components/p-b201ff38.entry.js +0 -1
- package/dist/taro-components/p-bd4ed8b1.entry.js +0 -1
- package/dist/taro-components/p-bf0c8449.system.entry.js +0 -1
- package/dist/taro-components/p-c0080d83.entry.js +0 -1
- package/dist/taro-components/p-cb406f85.system.entry.js +0 -1
- package/dist/taro-components/p-cbcaad0e.system.entry.js +0 -1
- package/dist/taro-components/p-d025a415.system.entry.js +0 -1
- package/dist/taro-components/p-d550aea9.system.entry.js +0 -1
- package/dist/taro-components/p-d5c8380d.system.entry.js +0 -1
- package/dist/taro-components/p-d867e333.system.entry.js +0 -1
- package/dist/taro-components/p-d9dcc6c6.entry.js +0 -1
- package/dist/taro-components/p-dab28e1f.system.entry.js +0 -1
- package/dist/taro-components/p-dadd02ca.entry.js +0 -1
- package/dist/taro-components/p-dc5d65a0.system.entry.js +0 -1
- package/dist/taro-components/p-e09451c5.system.entry.js +0 -1
- package/dist/taro-components/p-e2cd5dd3.system.entry.js +0 -1
- package/dist/taro-components/p-e6481671.system.entry.js +0 -1
- package/dist/taro-components/p-e67755f0.system.entry.js +0 -1
- package/dist/taro-components/p-e78775ce.system.js +0 -1
- package/dist/taro-components/p-e976c6c9.system.entry.js +0 -1
- package/dist/taro-components/p-ea0d5d4f.system.entry.js +0 -1
- package/dist/taro-components/p-ed331c06.system.js +0 -1
- package/dist/taro-components/p-eee6e075.system.entry.js +0 -1
- package/dist/taro-components/p-f02b6f70.entry.js +0 -1
- package/dist/taro-components/p-f0340edf.entry.js +0 -1
- package/dist/taro-components/p-f23cfdc8.entry.js +0 -1
- package/dist/taro-components/p-f4d86882.entry.js +0 -1
- package/dist/taro-components/p-f533bc2f.entry.js +0 -1
- package/dist/taro-components/p-f658de2e.entry.js +0 -1
- package/dist/taro-components/p-f6f6a996.system.entry.js +0 -1
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js +0 -296
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js.map +0 -1
package/types/Video.d.ts
CHANGED
|
@@ -2,49 +2,49 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction } from './common'
|
|
3
3
|
interface VideoProps extends StandardProps {
|
|
4
4
|
/** 要播放视频的资源地址
|
|
5
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
5
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
src: string
|
|
8
8
|
/** 指定视频时长
|
|
9
|
-
* @supported weapp, alipay, qq, h5, rn, harmony
|
|
9
|
+
* @supported weapp, alipay, qq, h5, rn, harmony, harmony_hybrid
|
|
10
10
|
*/
|
|
11
11
|
duration?: number
|
|
12
12
|
/** 是否显示默认播放控件(播放/暂停按钮、播放进度、时间)
|
|
13
13
|
* @default true
|
|
14
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
14
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
15
15
|
*/
|
|
16
16
|
controls?: boolean
|
|
17
17
|
/** 弹幕列表
|
|
18
|
-
* @supported weapp, swan, qq, h5
|
|
18
|
+
* @supported weapp, swan, qq, h5, harmony_hybrid
|
|
19
19
|
*/
|
|
20
20
|
danmuList?: any[]
|
|
21
21
|
/** 是否显示弹幕按钮,只在初始化时有效,不能动态变更
|
|
22
22
|
* @default false
|
|
23
|
-
* @supported weapp, swan, qq, h5
|
|
23
|
+
* @supported weapp, swan, qq, h5, harmony_hybrid
|
|
24
24
|
*/
|
|
25
25
|
danmuBtn?: boolean
|
|
26
26
|
/** 是否展示弹幕,只在初始化时有效,不能动态变更
|
|
27
27
|
* @default false
|
|
28
|
-
* @supported weapp, swan, qq, h5
|
|
28
|
+
* @supported weapp, swan, qq, h5, harmony_hybrid
|
|
29
29
|
*/
|
|
30
30
|
enableDanmu?: boolean
|
|
31
31
|
/** 是否自动播放
|
|
32
32
|
* @default false
|
|
33
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
33
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
34
34
|
*/
|
|
35
35
|
autoplay?: boolean
|
|
36
36
|
/** 是否循环播放
|
|
37
37
|
* @default false
|
|
38
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
38
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
39
39
|
*/
|
|
40
40
|
loop?: boolean
|
|
41
41
|
/** 是否静音播放
|
|
42
42
|
* @default false
|
|
43
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
43
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
44
44
|
*/
|
|
45
45
|
muted?: boolean
|
|
46
46
|
/** 指定视频初始播放位置
|
|
47
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
47
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
48
48
|
*/
|
|
49
49
|
initialTime?: number
|
|
50
50
|
/** 在非全屏模式下,是否开启亮度与音量调节手势
|
|
@@ -58,41 +58,41 @@ interface VideoProps extends StandardProps {
|
|
|
58
58
|
direction?: number
|
|
59
59
|
/** 若不设置,宽度大于240时才会显示
|
|
60
60
|
* @default true
|
|
61
|
-
* @supported weapp, swan, qq, h5
|
|
61
|
+
* @supported weapp, swan, qq, h5, harmony_hybrid
|
|
62
62
|
*/
|
|
63
63
|
showProgress?: boolean
|
|
64
64
|
/** 是否显示全屏按钮
|
|
65
65
|
* @default true
|
|
66
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
66
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
67
67
|
*/
|
|
68
68
|
showFullscreenBtn?: boolean
|
|
69
69
|
/** 是否显示视频底部控制栏的播放按钮
|
|
70
70
|
* @default true
|
|
71
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
71
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
72
72
|
*/
|
|
73
73
|
showPlayBtn?: boolean
|
|
74
74
|
/** 是否显示视频中间的播放按钮
|
|
75
75
|
* @default true
|
|
76
|
-
* @supported weapp, alipay, swan, qq, h5, rn
|
|
76
|
+
* @supported weapp, alipay, swan, qq, h5, rn, harmony_hybrid
|
|
77
77
|
*/
|
|
78
78
|
showCenterPlayBtn?: boolean
|
|
79
79
|
/** 是否开启控制进度的手势
|
|
80
80
|
* @default true
|
|
81
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
81
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
82
82
|
*/
|
|
83
83
|
enableProgressGesture?: boolean
|
|
84
84
|
/** 当视频大小与 video 容器大小不一致时,视频的表现形式
|
|
85
85
|
* @default "contain"
|
|
86
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony
|
|
86
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony, harmony_hybrid
|
|
87
87
|
*/
|
|
88
88
|
objectFit?: keyof VideoProps.ObjectFit
|
|
89
89
|
/** 视频封面的图片网络资源地址,如果 controls 属性值为 false 则设置 poster 无效
|
|
90
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
90
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
91
91
|
*/
|
|
92
92
|
poster?: string
|
|
93
93
|
/** 是否显示静音按钮
|
|
94
94
|
* @default false
|
|
95
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
95
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
96
96
|
*/
|
|
97
97
|
showMuteBtn?: boolean
|
|
98
98
|
/** 视频的标题,全屏时在顶部展示
|
|
@@ -109,7 +109,7 @@ interface VideoProps extends StandardProps {
|
|
|
109
109
|
playBtnPosition?: keyof VideoProps.PlayBtnPosition
|
|
110
110
|
/** 是否开启播放手势,即双击切换播放/暂停
|
|
111
111
|
* @default false
|
|
112
|
-
* @supported weapp, swan, tt, qq, h5
|
|
112
|
+
* @supported weapp, swan, tt, qq, h5, harmony_hybrid
|
|
113
113
|
*/
|
|
114
114
|
enablePlayGesture?: boolean
|
|
115
115
|
/** 当跳转到其它小程序页面时,是否自动暂停本页面的视频
|
|
@@ -124,12 +124,12 @@ interface VideoProps extends StandardProps {
|
|
|
124
124
|
autoPauseIfOpenNative?: boolean
|
|
125
125
|
/** 在非全屏模式下,是否开启亮度与音量调节手势(同 `page-gesture`)
|
|
126
126
|
* @default false
|
|
127
|
-
* @supported weapp, swan, tt, h5
|
|
127
|
+
* @supported weapp, swan, tt, h5, harmony_hybrid
|
|
128
128
|
*/
|
|
129
129
|
vslideGesture?: boolean
|
|
130
130
|
/** 在全屏模式下,是否开启亮度与音量调节手势
|
|
131
131
|
* @default true
|
|
132
|
-
* @supported weapp, swan, tt, h5
|
|
132
|
+
* @supported weapp, swan, tt, h5, harmony_hybrid
|
|
133
133
|
*/
|
|
134
134
|
vslideGestureInFullscreen?: boolean
|
|
135
135
|
/** 视频前贴广告单元ID,更多详情可参考开放能力[视频前贴广告](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/ad/video-patch-ad.html)
|
|
@@ -187,7 +187,7 @@ interface VideoProps extends StandardProps {
|
|
|
187
187
|
*/
|
|
188
188
|
backgroundPoster?: string
|
|
189
189
|
/** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
|
|
190
|
-
* @supported h5
|
|
190
|
+
* @supported h5, harmony_hybrid
|
|
191
191
|
*/
|
|
192
192
|
nativeProps?: Record<string, unknown>
|
|
193
193
|
/** 是否展示底部进度条
|
|
@@ -298,24 +298,24 @@ interface VideoProps extends StandardProps {
|
|
|
298
298
|
*/
|
|
299
299
|
definition?: string
|
|
300
300
|
/** 当开始/继续播放时触发 play 事件
|
|
301
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
301
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
302
302
|
*/
|
|
303
303
|
onPlay?: CommonEventFunction
|
|
304
304
|
/** 当暂停播放时触发 pause 事件
|
|
305
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
305
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
306
306
|
*/
|
|
307
307
|
onPause?: CommonEventFunction
|
|
308
308
|
/** 当播放到末尾时触发 ended 事件
|
|
309
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
309
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
310
310
|
*/
|
|
311
311
|
onEnded?: CommonEventFunction
|
|
312
312
|
/** 播放进度变化时触发, 触发频率 250ms 一次
|
|
313
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
313
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
314
314
|
*/
|
|
315
315
|
onTimeUpdate?: CommonEventFunction<VideoProps.onTimeUpdateEventDetail>
|
|
316
316
|
/** 当视频进入和退出全屏时触发
|
|
317
317
|
*
|
|
318
|
-
* @supported alipay, h5, rn, harmony
|
|
318
|
+
* @supported alipay, h5, rn, harmony, harmony_hybrid
|
|
319
319
|
*/
|
|
320
320
|
onFullscreenChange?: CommonEventFunction<VideoProps.onFullscreenChangeEventDetail>
|
|
321
321
|
/** 视频出现缓冲时触发
|
|
@@ -324,11 +324,11 @@ interface VideoProps extends StandardProps {
|
|
|
324
324
|
*/
|
|
325
325
|
onWaiting?: CommonEventFunction<VideoProps.onWaitingEventDetail>
|
|
326
326
|
/** 视频播放出错时触发
|
|
327
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
327
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
328
328
|
*/
|
|
329
329
|
onError?: CommonEventFunction
|
|
330
330
|
/** 加载进度变化时触发,只支持一段加载
|
|
331
|
-
* @supported weapp, tt, qq, h5, harmony
|
|
331
|
+
* @supported weapp, tt, qq, h5, harmony, harmony_hybrid
|
|
332
332
|
*/
|
|
333
333
|
onProgress?: CommonEventFunction<VideoProps.onProgressEventDetail>
|
|
334
334
|
/** 视频元数据加载完成时触发
|
|
@@ -557,7 +557,7 @@ declare namespace VideoProps {
|
|
|
557
557
|
}
|
|
558
558
|
/** 视频。相关api:Taro.createVideoContext
|
|
559
559
|
* @classification media
|
|
560
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
560
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
561
561
|
* @example_react
|
|
562
562
|
* ```tsx
|
|
563
563
|
* export default class PageView extends Component {
|
package/types/View.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { CommonEventFunction, StandardProps } from './common'
|
|
|
4
4
|
interface ViewProps extends StandardProps {
|
|
5
5
|
/** 指定按下去的样式类。当 `hover-class="none"` 时,没有点击态效果
|
|
6
6
|
* @default none
|
|
7
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
7
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
8
8
|
* @rn 由于 RN 不支持 hoverClass,故 RN 端的 View 组件实现了 `hoverStyle`属性,写法和 style 类似,只不过 `hoverStyle` 的样式是指定按下去的样式。
|
|
9
9
|
*/
|
|
10
10
|
hoverClass?: string
|
|
@@ -20,12 +20,12 @@ interface ViewProps extends StandardProps {
|
|
|
20
20
|
hoverStopPropagation?: boolean
|
|
21
21
|
/** 按住后多久出现点击态,单位毫秒
|
|
22
22
|
* @default 50
|
|
23
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
23
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
24
24
|
*/
|
|
25
25
|
hoverStartTime?: number
|
|
26
26
|
/** 手指松开后点击态保留时间,单位毫秒
|
|
27
27
|
* @default 400
|
|
28
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
28
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
29
29
|
*/
|
|
30
30
|
hoverStayTime?: number
|
|
31
31
|
/** 是否阻止区域内滚动页面。
|
|
@@ -117,7 +117,7 @@ interface ViewProps extends StandardProps {
|
|
|
117
117
|
}
|
|
118
118
|
/** 视图容器
|
|
119
119
|
* @classification viewContainer
|
|
120
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
120
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
121
121
|
* @example_react
|
|
122
122
|
* ```tsx
|
|
123
123
|
* export default class PageView extends Component {
|
package/types/WebView.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction } from './common'
|
|
3
3
|
interface WebViewProps extends StandardProps {
|
|
4
4
|
/** webview 指向网页的链接。可打开关联的公众号的文章,其它网页需登录小程序管理后台配置业务域名。
|
|
5
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
5
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
src: string
|
|
8
8
|
/** webview 的进度条颜色
|
|
@@ -19,11 +19,11 @@ interface WebViewProps extends StandardProps {
|
|
|
19
19
|
*/
|
|
20
20
|
onMessage?: CommonEventFunction<WebViewProps.onMessageEventDetail>
|
|
21
21
|
/** 网页加载成功时候触发此事件。e.detail = { src }
|
|
22
|
-
* @supported weapp, alipay, tt, qq, h5, rn
|
|
22
|
+
* @supported weapp, alipay, tt, qq, h5, rn, harmony_hybrid
|
|
23
23
|
*/
|
|
24
24
|
onLoad?: CommonEventFunction<WebViewProps.onLoadEventDetail>
|
|
25
25
|
/** 网页加载失败的时候触发此事件。e.detail = { src }
|
|
26
|
-
* @supported weapp, alipay, tt, qq, h5, rn
|
|
26
|
+
* @supported weapp, alipay, tt, qq, h5, rn, harmony_hybrid
|
|
27
27
|
*/
|
|
28
28
|
onError?: CommonEventFunction<WebViewProps.onErrorEventDetail>
|
|
29
29
|
}
|
|
@@ -43,7 +43,7 @@ declare namespace WebViewProps {
|
|
|
43
43
|
}
|
|
44
44
|
/** web-view 组件是一个可以用来承载网页的容器,会自动铺满整个小程序页面。个人类型与海外类型的小程序暂不支持使用。
|
|
45
45
|
* @classification open
|
|
46
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
46
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
47
47
|
* @example_react
|
|
48
48
|
* ```tsx
|
|
49
49
|
* class App extends Component {
|
package/types/common.d.ts
CHANGED
|
@@ -30,7 +30,12 @@ export interface StandardProps<T = any, TouchEvent extends BaseTouchEvent<any> =
|
|
|
30
30
|
* 是否开启编译模式
|
|
31
31
|
* @supported weapp, harmony
|
|
32
32
|
*/
|
|
33
|
-
compileMode?: boolean
|
|
33
|
+
compileMode?: boolean | string
|
|
34
|
+
/**
|
|
35
|
+
* 自定义容器组件的方向
|
|
36
|
+
* @supported harmony
|
|
37
|
+
*/
|
|
38
|
+
harmonyDirection?: 'row' | 'column'
|
|
34
39
|
}
|
|
35
40
|
|
|
36
41
|
export interface FormItemProps {
|