@tarojs/components 3.6.1-alpha.2 → 3.6.2-canary.0
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 +21 -0
- package/dist/cjs/helper-db78e01a.js +0 -2
- package/dist/cjs/hls-67cbc62d.js +0 -2
- package/dist/cjs/index-dfd8638f.js +0 -2
- package/dist/cjs/index-e1b469cd.js +0 -2
- package/dist/cjs/index-f9d21cc5.js +0 -2
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/intersection-observer-dc4cfcef.js +0 -2
- package/dist/cjs/loader.cjs.js +1 -3
- package/dist/cjs/taro-ad-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-audio-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-block-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-button-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-camera-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-canvas-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-channel-live-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-channel-video-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +0 -2
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-components.cjs.js +1 -3
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-editor-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-form-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-icon-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-image-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-input-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-label-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-like-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-list-view-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-live-player-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-login-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-lottie-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-map-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-match-media-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +0 -2
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-navigator-core.cjs.entry.js +1 -3
- package/dist/cjs/taro-official-account-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-open-data-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-page-container-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +3 -5
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +0 -2
- package/dist/cjs/taro-progress-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +0 -2
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +0 -2
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-root-portal-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-share-element-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-slider-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-slot-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +0 -2
- package/dist/cjs/taro-switch-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-tabbar.cjs.entry.js +0 -2
- package/dist/cjs/taro-tabs-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-text-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-textarea-core.cjs.entry.js +11 -3
- package/dist/cjs/taro-video-control_3.cjs.entry.js +3 -3
- package/dist/cjs/taro-view-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +0 -2
- package/dist/cjs/taro-web-view-core.cjs.entry.js +0 -2
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/ad/ad.js +0 -1
- package/dist/collection/components/ad-custom/ad-custom.js +0 -1
- package/dist/collection/components/animation-video/animation-video.js +0 -1
- package/dist/collection/components/animation-view/animation-view.js +0 -1
- package/dist/collection/components/ar-camera/ar-camera.js +0 -1
- package/dist/collection/components/audio/audio.js +0 -1
- package/dist/collection/components/aweme-data/aweme-data.js +0 -1
- package/dist/collection/components/block/block.js +0 -1
- package/dist/collection/components/button/button.js +0 -1
- package/dist/collection/components/camera/camera.js +0 -1
- package/dist/collection/components/canvas/canvas.js +0 -1
- package/dist/collection/components/channel-live/channel-live.js +11 -0
- package/dist/collection/components/channel-video/channel-video.js +11 -0
- package/dist/collection/components/checkbox/checkbox-group.js +0 -1
- package/dist/collection/components/checkbox/checkbox.js +0 -1
- package/dist/collection/components/comment/comment-detail.js +0 -1
- package/dist/collection/components/comment/comment-list.js +0 -1
- package/dist/collection/components/contact-button/contact-button.js +0 -1
- package/dist/collection/components/cover-image/cover-image.js +0 -1
- package/dist/collection/components/cover-view/cover-view.js +0 -1
- package/dist/collection/components/custom-wrapper/custom-wrapper.js +0 -1
- package/dist/collection/components/editor/editor.js +0 -1
- package/dist/collection/components/follow-swan/follow-swan.js +0 -1
- package/dist/collection/components/form/form.js +0 -1
- package/dist/collection/components/functional-page-navigator/functional-page-navigator.js +0 -1
- package/dist/collection/components/grid-view/grid-view.js +11 -0
- package/dist/collection/components/icon/icon.js +0 -1
- package/dist/collection/components/image/image.js +0 -1
- package/dist/collection/components/inline-payment-panel/inline-payment-panel.js +0 -1
- package/dist/collection/components/input/input.js +0 -1
- package/dist/collection/components/keyboard-accessory/keyboard-accessory.js +0 -1
- package/dist/collection/components/label/label.js +0 -1
- package/dist/collection/components/lifestyle/lifestyle.js +0 -1
- package/dist/collection/components/like/like.js +0 -1
- package/dist/collection/components/list-view/list-view.js +11 -0
- package/dist/collection/components/live-player/live-player.js +0 -1
- package/dist/collection/components/live-pusher/live-pusher.js +0 -1
- package/dist/collection/components/login/login.js +0 -1
- package/dist/collection/components/lottie/lottie.js +0 -1
- package/dist/collection/components/map/map.js +0 -1
- package/dist/collection/components/match-media/match-media.js +0 -1
- package/dist/collection/components/movable-area/movable-area.js +0 -1
- package/dist/collection/components/movable-area/movable-view.js +0 -1
- package/dist/collection/components/navigation-bar/navigation-bar.js +0 -1
- package/dist/collection/components/navigator/navigator.js +1 -2
- package/dist/collection/components/official-account/official-account.js +0 -1
- package/dist/collection/components/open-data/open-data.js +0 -1
- package/dist/collection/components/page-container/page-container.js +0 -1
- package/dist/collection/components/page-meta/page-meta.js +0 -1
- package/dist/collection/components/picker/constant.js +0 -1
- package/dist/collection/components/picker/picker-group.js +18 -7
- package/dist/collection/components/picker/picker.js +0 -1
- package/dist/collection/components/picker/utils.js +0 -1
- package/dist/collection/components/picker-view/picker-view-column.js +0 -1
- package/dist/collection/components/picker-view/picker-view.js +0 -1
- package/dist/collection/components/progress/progress.js +0 -1
- package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +0 -1
- package/dist/collection/components/radio/radio-group.js +0 -1
- package/dist/collection/components/radio/radio.js +0 -1
- package/dist/collection/components/rich-text/rich-text.js +0 -1
- package/dist/collection/components/root-portal/root-portal.js +0 -1
- package/dist/collection/components/rtc-room/rtc-room-item.js +0 -1
- package/dist/collection/components/rtc-room/rtc-room.js +0 -1
- package/dist/collection/components/scroll-view/scroll-view.js +0 -1
- package/dist/collection/components/share-element/share-element.js +0 -1
- package/dist/collection/components/slider/slider.js +0 -1
- package/dist/collection/components/slot/native-slot.js +0 -1
- package/dist/collection/components/slot/slot.js +0 -1
- package/dist/collection/components/sticky-header/sticky-header.js +11 -0
- package/dist/collection/components/sticky-section/sticky-section.js +11 -0
- package/dist/collection/components/swiper/swiper-item.js +0 -1
- package/dist/collection/components/swiper/swiper.js +0 -1
- package/dist/collection/components/switch/switch.js +0 -1
- package/dist/collection/components/tabbar/tabbar-item.js +0 -1
- package/dist/collection/components/tabbar/tabbar.js +0 -1
- package/dist/collection/components/tabs/tab-item.js +0 -1
- package/dist/collection/components/tabs/tabs.js +0 -1
- package/dist/collection/components/text/text.js +0 -1
- package/dist/collection/components/textarea/textarea.js +16 -4
- package/dist/collection/components/video/utils.js +0 -1
- package/dist/collection/components/video/video-control.js +0 -1
- package/dist/collection/components/video/video-danmu.js +0 -1
- package/dist/collection/components/video/video.js +3 -2
- package/dist/collection/components/view/view.js +0 -1
- package/dist/collection/components/voip-room/voip-room.js +0 -1
- package/dist/collection/components/web-view/web-view.js +0 -1
- package/dist/collection/index.js +0 -1
- package/dist/collection/utils/helper.js +0 -1
- package/dist/collection/utils/index.js +0 -1
- package/dist/collection/utils/style.js +0 -1
- package/dist/collection/utils/url.js +0 -1
- package/dist/components/helper.js +0 -2
- package/dist/components/hls.js +0 -2
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +6 -2
- package/dist/components/index2.js +0 -2
- package/dist/components/index3.js +0 -2
- package/dist/components/intersection-observer.js +0 -2
- package/dist/components/picker-group.js +3 -5
- package/dist/components/taro-ad-core.js +0 -2
- package/dist/components/taro-ad-custom-core.js +0 -2
- package/dist/components/taro-animation-video-core.js +0 -2
- package/dist/components/taro-animation-view-core.js +0 -2
- package/dist/components/taro-ar-camera-core.js +0 -2
- package/dist/components/taro-audio-core.js +0 -2
- package/dist/components/taro-aweme-data-core.js +0 -2
- package/dist/components/taro-block-core.js +0 -2
- package/dist/components/taro-button-core.js +0 -2
- package/dist/components/taro-camera-core.js +0 -2
- package/dist/components/taro-canvas-core.js +0 -2
- package/dist/components/taro-channel-live-core.d.ts +11 -0
- package/dist/components/taro-channel-live-core.js +33 -0
- package/dist/components/taro-channel-video-core.d.ts +11 -0
- package/dist/components/taro-channel-video-core.js +33 -0
- package/dist/components/taro-checkbox-core.js +0 -2
- package/dist/components/taro-checkbox-group-core.js +0 -2
- package/dist/components/taro-comment-detail-core.js +0 -2
- package/dist/components/taro-comment-list-core.js +0 -2
- package/dist/components/taro-contact-button-core.js +0 -2
- package/dist/components/taro-cover-image-core.js +0 -2
- package/dist/components/taro-cover-view-core.js +0 -2
- package/dist/components/taro-custom-wrapper-core.js +0 -2
- package/dist/components/taro-editor-core.js +0 -2
- package/dist/components/taro-follow-swan-core.js +0 -2
- package/dist/components/taro-form-core.js +0 -2
- package/dist/components/taro-functional-page-navigator-core.js +0 -2
- package/dist/components/taro-grid-view-core.d.ts +11 -0
- package/dist/components/taro-grid-view-core.js +33 -0
- package/dist/components/taro-icon-core.js +0 -2
- package/dist/components/taro-image-core.js +0 -2
- package/dist/components/taro-inline-payment-panel-core.js +0 -2
- package/dist/components/taro-input-core.js +0 -2
- package/dist/components/taro-keyboard-accessory-core.js +0 -2
- package/dist/components/taro-label-core.js +0 -2
- package/dist/components/taro-lifestyle-core.js +0 -2
- package/dist/components/taro-like-core.js +0 -2
- package/dist/components/taro-list-view-core.d.ts +11 -0
- package/dist/components/taro-list-view-core.js +33 -0
- package/dist/components/taro-live-player-core.js +0 -2
- package/dist/components/taro-live-pusher-core.js +0 -2
- package/dist/components/taro-login-core.js +0 -2
- package/dist/components/taro-lottie-core.js +0 -2
- package/dist/components/taro-map-core.js +0 -2
- package/dist/components/taro-match-media-core.js +0 -2
- package/dist/components/taro-movable-area-core.js +0 -2
- package/dist/components/taro-movable-view-core.js +0 -2
- package/dist/components/taro-native-slot-core.js +0 -2
- package/dist/components/taro-navigation-bar-core.js +0 -2
- package/dist/components/taro-navigator-core.js +1 -3
- package/dist/components/taro-official-account-core.js +0 -2
- package/dist/components/taro-open-data-core.js +0 -2
- package/dist/components/taro-page-container-core.js +0 -2
- package/dist/components/taro-page-meta-core.js +0 -2
- package/dist/components/taro-picker-core.js +0 -2
- package/dist/components/taro-picker-group.js +0 -2
- package/dist/components/taro-picker-view-column-core.js +0 -2
- package/dist/components/taro-picker-view-core.js +0 -2
- package/dist/components/taro-progress-core.js +0 -2
- package/dist/components/taro-pull-to-refresh.js +0 -2
- package/dist/components/taro-radio-core.js +0 -2
- package/dist/components/taro-radio-group-core.js +0 -2
- package/dist/components/taro-rich-text-core.js +0 -2
- package/dist/components/taro-root-portal-core.js +0 -2
- package/dist/components/taro-rtc-room-core.js +0 -2
- package/dist/components/taro-rtc-room-item-core.js +0 -2
- package/dist/components/taro-scroll-view-core.js +0 -2
- package/dist/components/taro-share-element-core.js +0 -2
- package/dist/components/taro-slider-core.js +0 -2
- package/dist/components/taro-slot-core.js +0 -2
- package/dist/components/taro-sticky-header-core.d.ts +11 -0
- package/dist/components/taro-sticky-header-core.js +33 -0
- package/dist/components/taro-sticky-section-core.d.ts +11 -0
- package/dist/components/taro-sticky-section-core.js +33 -0
- package/dist/components/taro-swiper-core.js +0 -2
- package/dist/components/taro-swiper-item-core.js +0 -2
- package/dist/components/taro-switch-core.js +0 -2
- package/dist/components/taro-tab-item-core.js +0 -2
- package/dist/components/taro-tabbar.js +0 -2
- package/dist/components/taro-tabs-core.js +0 -2
- package/dist/components/taro-text-core.js +0 -2
- package/dist/components/taro-textarea-core.js +12 -4
- package/dist/components/taro-video-control.js +0 -2
- package/dist/components/taro-video-core.js +3 -3
- package/dist/components/taro-video-danmu.js +0 -2
- package/dist/components/taro-view-core.js +0 -2
- package/dist/components/taro-voip-room-core.js +0 -2
- package/dist/components/taro-web-view-core.js +0 -2
- package/dist/components/video-control.js +0 -2
- package/dist/components/video-danmu.js +0 -2
- package/dist/esm/helper-3d0ecf0f.js +0 -2
- package/dist/esm/hls-221423a1.js +0 -2
- package/dist/esm/index-1d8e8acd.js +0 -2
- package/dist/esm/index-c948674f.js +0 -2
- package/dist/esm/index-d1b03e47.js +0 -2
- package/dist/esm/index.js +0 -2
- package/dist/esm/intersection-observer-8e4c7135.js +0 -2
- package/dist/esm/loader.js +1 -3
- package/dist/esm/taro-ad-core.entry.js +0 -2
- package/dist/esm/taro-ad-custom-core.entry.js +0 -2
- package/dist/esm/taro-animation-video-core.entry.js +0 -2
- package/dist/esm/taro-animation-view-core.entry.js +0 -2
- package/dist/esm/taro-ar-camera-core.entry.js +0 -2
- package/dist/esm/taro-audio-core.entry.js +0 -2
- package/dist/esm/taro-aweme-data-core.entry.js +0 -2
- package/dist/esm/taro-block-core.entry.js +0 -2
- package/dist/esm/taro-button-core.entry.js +0 -2
- package/dist/esm/taro-camera-core.entry.js +0 -2
- package/dist/esm/taro-canvas-core.entry.js +0 -2
- package/dist/esm/taro-channel-live-core.entry.js +17 -0
- package/dist/esm/taro-channel-video-core.entry.js +17 -0
- package/dist/esm/taro-checkbox-core_2.entry.js +0 -2
- package/dist/esm/taro-comment-detail-core.entry.js +0 -2
- package/dist/esm/taro-comment-list-core.entry.js +0 -2
- package/dist/esm/taro-components.js +1 -3
- package/dist/esm/taro-contact-button-core.entry.js +0 -2
- package/dist/esm/taro-cover-image-core.entry.js +0 -2
- package/dist/esm/taro-cover-view-core.entry.js +0 -2
- package/dist/esm/taro-custom-wrapper-core.entry.js +0 -2
- package/dist/esm/taro-editor-core.entry.js +0 -2
- package/dist/esm/taro-follow-swan-core.entry.js +0 -2
- package/dist/esm/taro-form-core.entry.js +0 -2
- package/dist/esm/taro-functional-page-navigator-core.entry.js +0 -2
- package/dist/esm/taro-grid-view-core.entry.js +17 -0
- package/dist/esm/taro-icon-core.entry.js +0 -2
- package/dist/esm/taro-image-core.entry.js +0 -2
- package/dist/esm/taro-inline-payment-panel-core.entry.js +0 -2
- package/dist/esm/taro-input-core.entry.js +0 -2
- package/dist/esm/taro-keyboard-accessory-core.entry.js +0 -2
- package/dist/esm/taro-label-core.entry.js +0 -2
- package/dist/esm/taro-lifestyle-core.entry.js +0 -2
- package/dist/esm/taro-like-core.entry.js +0 -2
- package/dist/esm/taro-list-view-core.entry.js +17 -0
- package/dist/esm/taro-live-player-core.entry.js +0 -2
- package/dist/esm/taro-live-pusher-core.entry.js +0 -2
- package/dist/esm/taro-login-core.entry.js +0 -2
- package/dist/esm/taro-lottie-core.entry.js +0 -2
- package/dist/esm/taro-map-core.entry.js +0 -2
- package/dist/esm/taro-match-media-core.entry.js +0 -2
- package/dist/esm/taro-movable-area-core_2.entry.js +0 -2
- package/dist/esm/taro-native-slot-core.entry.js +0 -2
- package/dist/esm/taro-navigation-bar-core.entry.js +0 -2
- package/dist/esm/taro-navigator-core.entry.js +1 -3
- package/dist/esm/taro-official-account-core.entry.js +0 -2
- package/dist/esm/taro-open-data-core.entry.js +0 -2
- package/dist/esm/taro-page-container-core.entry.js +0 -2
- package/dist/esm/taro-page-meta-core.entry.js +0 -2
- package/dist/esm/taro-picker-core_2.entry.js +3 -5
- package/dist/esm/taro-picker-view-column-core_2.entry.js +0 -2
- package/dist/esm/taro-progress-core.entry.js +0 -2
- package/dist/esm/taro-pull-to-refresh.entry.js +0 -2
- package/dist/esm/taro-radio-core_2.entry.js +0 -2
- package/dist/esm/taro-rich-text-core.entry.js +0 -2
- package/dist/esm/taro-root-portal-core.entry.js +0 -2
- package/dist/esm/taro-rtc-room-core.entry.js +0 -2
- package/dist/esm/taro-rtc-room-item-core.entry.js +0 -2
- package/dist/esm/taro-scroll-view-core.entry.js +0 -2
- package/dist/esm/taro-share-element-core.entry.js +0 -2
- package/dist/esm/taro-slider-core.entry.js +0 -2
- package/dist/esm/taro-slot-core.entry.js +0 -2
- package/dist/esm/taro-sticky-header-core.entry.js +17 -0
- package/dist/esm/taro-sticky-section-core.entry.js +17 -0
- package/dist/esm/taro-swiper-core_2.entry.js +0 -2
- package/dist/esm/taro-switch-core.entry.js +0 -2
- package/dist/esm/taro-tab-item-core.entry.js +0 -2
- package/dist/esm/taro-tabbar.entry.js +0 -2
- package/dist/esm/taro-tabs-core.entry.js +0 -2
- package/dist/esm/taro-text-core.entry.js +0 -2
- package/dist/esm/taro-textarea-core.entry.js +11 -3
- package/dist/esm/taro-video-control_3.entry.js +3 -3
- package/dist/esm/taro-view-core.entry.js +0 -2
- package/dist/esm/taro-voip-room-core.entry.js +0 -2
- package/dist/esm/taro-web-view-core.entry.js +0 -2
- package/dist/esm-es5/helper-3d0ecf0f.js +1 -2
- package/dist/esm-es5/hls-221423a1.js +1 -2
- package/dist/esm-es5/index-1d8e8acd.js +1 -2
- package/dist/esm-es5/index-c948674f.js +1 -2
- package/dist/esm-es5/index-d1b03e47.js +1 -2
- package/dist/esm-es5/index.js +0 -2
- package/dist/esm-es5/intersection-observer-8e4c7135.js +1 -2
- package/dist/esm-es5/loader.js +1 -2
- package/dist/esm-es5/taro-ad-core.entry.js +1 -2
- package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -2
- package/dist/esm-es5/taro-animation-video-core.entry.js +1 -2
- package/dist/esm-es5/taro-animation-view-core.entry.js +1 -2
- package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -2
- package/dist/esm-es5/taro-audio-core.entry.js +1 -2
- package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -2
- package/dist/esm-es5/taro-block-core.entry.js +1 -2
- package/dist/esm-es5/taro-button-core.entry.js +1 -2
- package/dist/esm-es5/taro-camera-core.entry.js +1 -2
- package/dist/esm-es5/taro-canvas-core.entry.js +1 -2
- package/dist/esm-es5/taro-channel-live-core.entry.js +1 -0
- package/dist/esm-es5/taro-channel-video-core.entry.js +1 -0
- package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -2
- package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -2
- package/dist/esm-es5/taro-comment-list-core.entry.js +1 -2
- package/dist/esm-es5/taro-components.js +1 -2
- package/dist/esm-es5/taro-contact-button-core.entry.js +1 -2
- package/dist/esm-es5/taro-cover-image-core.entry.js +1 -2
- package/dist/esm-es5/taro-cover-view-core.entry.js +1 -2
- package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -2
- package/dist/esm-es5/taro-editor-core.entry.js +1 -2
- package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -2
- package/dist/esm-es5/taro-form-core.entry.js +1 -2
- package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -2
- package/dist/esm-es5/taro-grid-view-core.entry.js +1 -0
- package/dist/esm-es5/taro-icon-core.entry.js +1 -2
- package/dist/esm-es5/taro-image-core.entry.js +1 -2
- package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -2
- package/dist/esm-es5/taro-input-core.entry.js +1 -2
- package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -2
- package/dist/esm-es5/taro-label-core.entry.js +1 -2
- package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -2
- package/dist/esm-es5/taro-like-core.entry.js +1 -2
- package/dist/esm-es5/taro-list-view-core.entry.js +1 -0
- package/dist/esm-es5/taro-live-player-core.entry.js +1 -2
- package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -2
- package/dist/esm-es5/taro-login-core.entry.js +1 -2
- package/dist/esm-es5/taro-lottie-core.entry.js +1 -2
- package/dist/esm-es5/taro-map-core.entry.js +1 -2
- package/dist/esm-es5/taro-match-media-core.entry.js +1 -2
- package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -2
- package/dist/esm-es5/taro-native-slot-core.entry.js +1 -2
- package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -2
- package/dist/esm-es5/taro-navigator-core.entry.js +1 -2
- package/dist/esm-es5/taro-official-account-core.entry.js +1 -2
- package/dist/esm-es5/taro-open-data-core.entry.js +1 -2
- package/dist/esm-es5/taro-page-container-core.entry.js +1 -2
- package/dist/esm-es5/taro-page-meta-core.entry.js +1 -2
- package/dist/esm-es5/taro-picker-core_2.entry.js +1 -2
- package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -2
- package/dist/esm-es5/taro-progress-core.entry.js +1 -2
- package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -2
- package/dist/esm-es5/taro-radio-core_2.entry.js +1 -2
- package/dist/esm-es5/taro-rich-text-core.entry.js +1 -2
- package/dist/esm-es5/taro-root-portal-core.entry.js +1 -2
- package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -2
- package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -2
- package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -2
- package/dist/esm-es5/taro-share-element-core.entry.js +1 -2
- package/dist/esm-es5/taro-slider-core.entry.js +1 -2
- package/dist/esm-es5/taro-slot-core.entry.js +1 -2
- package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -0
- package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -0
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -2
- package/dist/esm-es5/taro-switch-core.entry.js +1 -2
- package/dist/esm-es5/taro-tab-item-core.entry.js +1 -2
- package/dist/esm-es5/taro-tabbar.entry.js +1 -2
- package/dist/esm-es5/taro-tabs-core.entry.js +1 -2
- package/dist/esm-es5/taro-text-core.entry.js +1 -2
- package/dist/esm-es5/taro-textarea-core.entry.js +1 -2
- package/dist/esm-es5/taro-video-control_3.entry.js +1 -2
- package/dist/esm-es5/taro-view-core.entry.js +1 -2
- package/dist/esm-es5/taro-voip-room-core.entry.js +1 -2
- package/dist/esm-es5/taro-web-view-core.entry.js +1 -2
- package/dist/taro-components/index.esm.js +0 -2
- package/dist/taro-components/p-02aa7366.system.entry.js +1 -0
- package/dist/taro-components/{p-0accc602.entry.js → p-0393ed55.entry.js} +1 -2
- package/dist/taro-components/p-058b9004.entry.js +1 -0
- package/dist/taro-components/{p-eb9adf17.entry.js → p-05bc0fce.entry.js} +1 -2
- package/dist/taro-components/p-05c757b7.entry.js +1 -0
- package/dist/taro-components/{p-76e6fbff.entry.js → p-07293238.entry.js} +1 -2
- package/dist/taro-components/p-0836fcd9.entry.js +1 -0
- package/dist/taro-components/p-087bf23a.system.entry.js +1 -2
- package/dist/taro-components/p-08bb8dfc.system.entry.js +1 -2
- package/dist/taro-components/p-0a165ad3.system.entry.js +1 -2
- package/dist/taro-components/p-0a9b984e.system.entry.js +1 -2
- package/dist/taro-components/p-0aaf66d2.entry.js +1 -0
- package/dist/taro-components/p-10046f1a.system.entry.js +1 -2
- package/dist/taro-components/p-10be7fb5.system.entry.js +1 -2
- package/dist/taro-components/{p-4a462c95.entry.js → p-11936d9a.entry.js} +1 -2
- package/dist/taro-components/{p-51caa3f3.entry.js → p-1249cb09.entry.js} +1 -2
- package/dist/taro-components/p-1385d50f.entry.js +1 -0
- package/dist/taro-components/p-1493866a.entry.js +1 -0
- package/dist/taro-components/p-15e45ed6.system.js +1 -2
- package/dist/taro-components/p-16e03200.entry.js +1 -0
- package/dist/taro-components/p-17302fe9.system.entry.js +1 -2
- package/dist/taro-components/p-1743a04b.system.js +1 -2
- package/dist/taro-components/p-1941d333.system.entry.js +1 -2
- package/dist/taro-components/p-1a0e1932.system.js +1 -2
- package/dist/taro-components/{p-386ae2b2.entry.js → p-1be83ed3.entry.js} +1 -2
- package/dist/taro-components/p-1c320250.system.entry.js +1 -2
- package/dist/taro-components/p-1c446c65.system.js +1 -2
- package/dist/taro-components/{p-19e87e18.entry.js → p-1e8c8ae1.entry.js} +1 -2
- package/dist/taro-components/p-2024e133.system.entry.js +1 -2
- package/dist/taro-components/{p-780870eb.entry.js → p-22dc57d4.entry.js} +1 -2
- package/dist/taro-components/{p-0faf45d5.entry.js → p-23cb8a7f.entry.js} +1 -2
- package/dist/taro-components/p-26889f3c.system.entry.js +1 -2
- package/dist/taro-components/p-27c4878c.entry.js +1 -0
- package/dist/taro-components/{p-4263c9d9.entry.js → p-2e28cb1c.entry.js} +1 -2
- package/dist/taro-components/p-2f7dba29.entry.js +1 -0
- package/dist/taro-components/p-30f32fa2.system.entry.js +1 -2
- package/dist/taro-components/p-30fe0e81.system.entry.js +1 -2
- package/dist/taro-components/p-33223303.system.entry.js +1 -2
- package/dist/taro-components/{p-955fbcfa.entry.js → p-369fb262.entry.js} +1 -2
- package/dist/taro-components/{p-a7789ed6.entry.js → p-38a51bd2.entry.js} +1 -2
- package/dist/taro-components/{p-7c6f0d5c.entry.js → p-38de410e.entry.js} +1 -2
- package/dist/taro-components/p-3b1d2d37.system.js +1 -2
- package/dist/taro-components/p-3c5ac930.entry.js +1 -0
- package/dist/taro-components/p-3c91f59b.entry.js +1 -0
- package/dist/taro-components/{p-908ddbb0.entry.js → p-3d60bd58.entry.js} +1 -2
- package/dist/taro-components/p-3e23fa46.system.entry.js +1 -0
- package/dist/taro-components/p-4086e546.system.entry.js +1 -2
- package/dist/taro-components/p-4190e20b.system.entry.js +1 -2
- package/dist/taro-components/{p-24c2fd23.entry.js → p-429a0f99.entry.js} +1 -2
- package/dist/taro-components/p-42bcb98a.entry.js +1 -0
- package/dist/taro-components/p-4402972b.system.entry.js +1 -0
- package/dist/taro-components/p-4514dc53.system.entry.js +1 -0
- package/dist/taro-components/p-4542b767.entry.js +1 -0
- package/dist/taro-components/p-46244579.system.entry.js +1 -2
- package/dist/taro-components/p-4915fdc1.system.entry.js +1 -2
- package/dist/taro-components/{p-de356b29.system.entry.js → p-491c6272.system.entry.js} +1 -2
- package/dist/taro-components/p-4b579316.entry.js +1 -0
- package/dist/taro-components/p-4d0da795.system.entry.js +1 -2
- package/dist/taro-components/p-4d390d17.entry.js +1 -0
- package/dist/taro-components/p-4d7182f4.system.entry.js +1 -0
- package/dist/taro-components/p-4e77bdea.entry.js +1 -0
- package/dist/taro-components/p-50ea2036.system.js +1 -2
- package/dist/taro-components/p-518146fd.system.entry.js +1 -2
- package/dist/taro-components/p-51b6fc09.system.entry.js +1 -2
- package/dist/taro-components/p-56da1da3.system.entry.js +1 -2
- package/dist/taro-components/p-58877ef2.system.entry.js +1 -2
- package/dist/taro-components/{p-c2ac8f08.entry.js → p-58b7e960.entry.js} +1 -2
- package/dist/taro-components/p-5931c82e.entry.js +1 -0
- package/dist/taro-components/p-59590806.system.entry.js +1 -2
- package/dist/taro-components/p-61f225ef.system.js +1 -2
- package/dist/taro-components/p-623b3eb6.system.entry.js +1 -2
- package/dist/taro-components/p-651586f8.system.entry.js +1 -2
- package/dist/taro-components/p-69f6784d.system.entry.js +1 -2
- package/dist/taro-components/p-69fa7272.system.entry.js +1 -2
- package/dist/taro-components/p-6a96da58.js +1 -2
- package/dist/taro-components/p-6dae898a.system.entry.js +1 -2
- package/dist/taro-components/{p-b39b973e.entry.js → p-6de6eb4e.entry.js} +1 -2
- package/dist/taro-components/p-6f048097.system.entry.js +1 -2
- package/dist/taro-components/p-6f214fc3.system.entry.js +1 -2
- package/dist/taro-components/p-72f327e1.js +1 -2
- package/dist/taro-components/p-736053bb.system.entry.js +1 -2
- package/dist/taro-components/{p-b4419d86.entry.js → p-7377a117.entry.js} +1 -2
- package/dist/taro-components/p-744a6b99.entry.js +1 -0
- package/dist/taro-components/p-74bf8246.system.entry.js +1 -2
- package/dist/taro-components/p-76724e58.js +2 -3
- package/dist/taro-components/p-7722f33f.entry.js +1 -0
- package/dist/taro-components/p-78c30850.system.entry.js +1 -2
- package/dist/taro-components/p-78e3ebb9.js +2 -3
- package/dist/taro-components/p-7c1fc8f5.system.entry.js +1 -0
- package/dist/taro-components/p-7db63e92.entry.js +1 -0
- package/dist/taro-components/p-7dd9c8da.system.entry.js +1 -2
- package/dist/taro-components/p-7df9de66.system.entry.js +1 -0
- package/dist/taro-components/p-8027e1c6.system.entry.js +1 -2
- package/dist/taro-components/p-80970d8f.entry.js +1 -0
- package/dist/taro-components/p-80f3d88d.entry.js +1 -0
- package/dist/taro-components/p-88d64daa.system.entry.js +1 -2
- package/dist/taro-components/p-895cd7c9.system.entry.js +1 -2
- package/dist/taro-components/{p-66b07ac0.entry.js → p-8b8a8e39.entry.js} +1 -2
- package/dist/taro-components/{p-281278cf.entry.js → p-8d037fc0.entry.js} +1 -2
- package/dist/taro-components/p-8d2101be.system.entry.js +1 -2
- package/dist/taro-components/p-8e5cc8fe.system.entry.js +1 -2
- package/dist/taro-components/p-8feeb7ce.entry.js +1 -0
- package/dist/taro-components/p-90e4274e.entry.js +1 -0
- package/dist/taro-components/{p-03d4de13.entry.js → p-9318da32.entry.js} +1 -2
- package/dist/taro-components/p-95f70aea.system.entry.js +1 -2
- package/dist/taro-components/p-97782cdd.system.entry.js +1 -2
- package/dist/taro-components/p-9d4fa0d3.system.entry.js +1 -2
- package/dist/taro-components/p-9df17ea6.entry.js +1 -0
- package/dist/taro-components/{p-c0bb8610.entry.js → p-a294e169.entry.js} +1 -2
- package/dist/taro-components/{p-e0e4a403.entry.js → p-a6d2e81b.entry.js} +1 -2
- package/dist/taro-components/{p-d61d3394.entry.js → p-a9b51167.entry.js} +1 -2
- package/dist/taro-components/p-ab84c88e.entry.js +1 -0
- package/dist/taro-components/p-acd9a9da.entry.js +1 -0
- package/dist/taro-components/p-ae3f1ed4.system.entry.js +1 -2
- package/dist/taro-components/{p-4bc85eb7.entry.js → p-ae8fd8c8.entry.js} +1 -2
- package/dist/taro-components/p-b1249ebb.system.entry.js +1 -2
- package/dist/taro-components/p-b16eddaa.entry.js +1 -0
- package/dist/taro-components/p-b1c972e2.system.entry.js +1 -2
- package/dist/taro-components/p-b2bb02d7.system.entry.js +1 -2
- package/dist/taro-components/p-bac3deb0.system.entry.js +1 -2
- package/dist/taro-components/{p-eb2a7609.entry.js → p-badfb3be.entry.js} +1 -2
- package/dist/taro-components/p-bba8c3a7.system.entry.js +1 -2
- package/dist/taro-components/p-bd5177d3.system.js +1 -2
- package/dist/taro-components/{p-c50087fd.entry.js → p-beba1657.entry.js} +1 -2
- package/dist/taro-components/p-c212b845.entry.js +1 -0
- package/dist/taro-components/p-c2391de5.entry.js +1 -0
- package/dist/taro-components/p-c2c498d9.entry.js +1 -0
- package/dist/taro-components/p-c33733b3.system.entry.js +1 -2
- package/dist/taro-components/{p-603ceecd.entry.js → p-c3d35ae5.entry.js} +1 -2
- package/dist/taro-components/p-c3d3eca2.entry.js +1 -0
- package/dist/taro-components/{p-c3e98fdf.entry.js → p-c4dd85b6.entry.js} +1 -2
- package/dist/taro-components/p-c4fdb669.system.entry.js +1 -2
- package/dist/taro-components/p-c586a796.system.entry.js +1 -2
- package/dist/taro-components/p-c6385fc2.system.entry.js +1 -2
- package/dist/taro-components/p-c6e6dab1.system.entry.js +1 -2
- package/dist/taro-components/p-c70dd956.system.entry.js +1 -2
- package/dist/taro-components/p-d3c7f87d.js +1 -2
- package/dist/taro-components/{p-fda82bc1.entry.js → p-d42e41ff.entry.js} +1 -2
- package/dist/taro-components/p-d5234e7e.js +92 -93
- package/dist/taro-components/{p-adc37a00.entry.js → p-d797cdc4.entry.js} +1 -2
- package/dist/taro-components/{p-0895120a.system.entry.js → p-da1f3d54.system.entry.js} +1 -2
- package/dist/taro-components/p-da5cdbf5.system.entry.js +1 -2
- package/dist/taro-components/{p-3f07f3d3.entry.js → p-dccf1ae9.entry.js} +1 -2
- package/dist/taro-components/p-de2d8e2e.system.entry.js +1 -2
- package/dist/taro-components/p-dfc405a5.entry.js +1 -0
- package/dist/taro-components/{p-09db02e6.entry.js → p-e2f2fbe5.entry.js} +1 -2
- package/dist/taro-components/p-e3f8265d.system.entry.js +1 -2
- package/dist/taro-components/p-e53feb03.system.entry.js +1 -2
- package/dist/taro-components/p-e753b776.entry.js +1 -0
- package/dist/taro-components/{p-a23a21e1.entry.js → p-e8b1ea64.entry.js} +1 -2
- package/dist/taro-components/{p-3bce88d9.entry.js → p-e9eeb060.entry.js} +1 -2
- package/dist/taro-components/p-ef7e7d73.system.entry.js +1 -2
- package/dist/taro-components/p-efa51030.system.entry.js +1 -2
- package/dist/taro-components/{p-7c1fec76.entry.js → p-efcfdb97.entry.js} +1 -2
- package/dist/taro-components/p-f44e975b.entry.js +1 -0
- package/dist/taro-components/p-f499c0a0.system.entry.js +1 -2
- package/dist/taro-components/{p-8425ff09.entry.js → p-f671ed7d.entry.js} +1 -2
- package/dist/taro-components/p-f9ac515e.system.entry.js +1 -2
- package/dist/taro-components/p-fa36fe8e.system.entry.js +1 -2
- package/dist/taro-components/{p-982e431d.entry.js → p-fb585037.entry.js} +1 -2
- package/dist/taro-components/p-fcdac6ec.system.entry.js +1 -2
- package/dist/taro-components/{p-6bb1fdf2.entry.js → p-fdecdc25.entry.js} +1 -2
- package/dist/taro-components/taro-components.esm.js +1 -2
- package/dist/types/components/channel-live/channel-live.d.ts +5 -0
- package/dist/types/components/channel-video/channel-video.d.ts +5 -0
- package/dist/types/components/grid-view/grid-view.d.ts +5 -0
- package/dist/types/components/list-view/list-view.d.ts +5 -0
- package/dist/types/components/picker/picker-group.d.ts +3 -3
- package/dist/types/components/sticky-header/sticky-header.d.ts +5 -0
- package/dist/types/components/sticky-section/sticky-section.d.ts +5 -0
- package/dist/types/components/textarea/textarea.d.ts +1 -0
- package/dist/types/components.d.ts +78 -0
- package/lib/react/components.d.ts +81 -75
- package/lib/react/components.js +161 -75
- package/lib/react/components.js.map +1 -1
- package/lib/react/helper.js +4 -1
- package/lib/react/helper.js.map +1 -1
- package/lib/react/index.js +1 -1
- package/lib/react/{interfaces-4f837811.d.ts → interfaces-f526f1a2.d.ts} +4 -0
- package/lib/react/react-component-lib/createComponent.d.ts +5 -1
- package/lib/react/react-component-lib/createComponent.js +6 -4
- package/lib/react/react-component-lib/createComponent.js.map +1 -1
- package/lib/react/react-component-lib/createOverlayComponent.d.ts +5 -1
- package/lib/react/react-component-lib/createOverlayComponent.js +1 -0
- package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
- package/lib/react/react-component-lib/utils/attachProps.d.ts +2 -6
- package/lib/react/react-component-lib/utils/attachProps.js +41 -41
- package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/lib/react/react-component-lib/utils/case.d.ts +4 -0
- package/lib/react/react-component-lib/utils/case.js +4 -0
- package/lib/react/react-component-lib/utils/case.js.map +1 -1
- package/lib/react/react-component-lib/utils/index.d.ts +5 -1
- package/lib/react/react-component-lib/utils/index.js +6 -4
- package/lib/react/react-component-lib/utils/index.js.map +1 -1
- package/lib/vue2/components-loader.d.ts +2 -0
- package/lib/vue2/components-loader.js +21 -0
- package/lib/vue2/components-loader.js.map +1 -0
- package/lib/vue2/components.d.ts +590 -356
- package/lib/vue2/components.js +394 -390
- package/lib/vue2/components.js.map +1 -1
- package/lib/vue2/index.d.ts +0 -2
- package/lib/vue2/index.js +1 -22
- package/lib/vue2/index.js.map +1 -1
- package/lib/vue2/vue-component-lib/utils.d.ts +7 -3
- package/lib/vue2/vue-component-lib/utils.js +42 -25
- package/lib/vue2/vue-component-lib/utils.js.map +1 -1
- package/lib/vue3/components-loader.d.ts +2 -0
- package/lib/vue3/components-loader.js +13 -0
- package/lib/vue3/components-loader.js.map +1 -0
- package/lib/vue3/components.d.ts +7 -1
- package/lib/vue3/components.js +162 -76
- package/lib/vue3/components.js.map +1 -1
- package/lib/vue3/index.d.ts +0 -2
- package/lib/vue3/index.js +1 -14
- package/lib/vue3/index.js.map +1 -1
- package/lib/vue3/vue-component-lib/utils.d.ts +13 -13
- package/lib/vue3/vue-component-lib/utils.js +35 -28
- package/lib/vue3/vue-component-lib/utils.js.map +1 -1
- package/package.json +11 -8
- package/types/Button.d.ts +12 -0
- package/types/ChannelVideo.d.ts +50 -0
- package/types/GridView.d.ts +42 -0
- package/types/ListView.d.ts +12 -0
- package/types/Map.d.ts +72 -8
- package/types/ScrollView.d.ts +52 -0
- package/types/StickyHeader.d.ts +12 -0
- package/types/StickySection.d.ts +18 -0
- package/types/Textarea.d.ts +2 -2
- package/types/index.d.ts +7 -0
- package/types/index.vue3.d.ts +32 -16
- package/dist/cjs/helper-db78e01a.js.map +0 -1
- package/dist/cjs/hls-67cbc62d.js.map +0 -1
- package/dist/cjs/index-dfd8638f.js.map +0 -1
- package/dist/cjs/index-e1b469cd.js.map +0 -1
- package/dist/cjs/index-f9d21cc5.js.map +0 -1
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/intersection-observer-dc4cfcef.js.map +0 -1
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/taro-ad-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-animation-video-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-animation-view-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-audio-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-block-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-button-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-camera-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-canvas-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-comment-list-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-components.cjs.js.map +0 -1
- package/dist/cjs/taro-contact-button-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-cover-image-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-cover-view-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-editor-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-form-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-icon-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-image-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-input-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-label-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-like-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-live-player-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-login-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-lottie-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-map-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-match-media-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-native-slot-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-navigator-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-official-account-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-open-data-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-page-container-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-page-meta-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-picker-core_2.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-progress-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-pull-to-refresh.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-radio-core_2.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-rich-text-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-root-portal-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-share-element-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-slider-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-switch-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-tab-item-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-tabbar.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-tabs-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-text-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-textarea-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-video-control_3.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-view-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-voip-room-core.cjs.entry.js.map +0 -1
- package/dist/cjs/taro-web-view-core.cjs.entry.js.map +0 -1
- package/dist/collection/components/ad/ad.js.map +0 -1
- package/dist/collection/components/ad-custom/ad-custom.js.map +0 -1
- package/dist/collection/components/animation-video/animation-video.js.map +0 -1
- package/dist/collection/components/animation-view/animation-view.js.map +0 -1
- package/dist/collection/components/ar-camera/ar-camera.js.map +0 -1
- package/dist/collection/components/audio/audio.js.map +0 -1
- package/dist/collection/components/aweme-data/aweme-data.js.map +0 -1
- package/dist/collection/components/block/block.js.map +0 -1
- package/dist/collection/components/button/button.js.map +0 -1
- package/dist/collection/components/camera/camera.js.map +0 -1
- package/dist/collection/components/canvas/canvas.js.map +0 -1
- package/dist/collection/components/checkbox/checkbox-group.js.map +0 -1
- package/dist/collection/components/checkbox/checkbox.js.map +0 -1
- package/dist/collection/components/comment/comment-detail.js.map +0 -1
- package/dist/collection/components/comment/comment-list.js.map +0 -1
- package/dist/collection/components/contact-button/contact-button.js.map +0 -1
- package/dist/collection/components/cover-image/cover-image.js.map +0 -1
- package/dist/collection/components/cover-view/cover-view.js.map +0 -1
- package/dist/collection/components/custom-wrapper/custom-wrapper.js.map +0 -1
- package/dist/collection/components/editor/editor.js.map +0 -1
- package/dist/collection/components/follow-swan/follow-swan.js.map +0 -1
- package/dist/collection/components/form/form.js.map +0 -1
- package/dist/collection/components/functional-page-navigator/functional-page-navigator.js.map +0 -1
- package/dist/collection/components/icon/icon.js.map +0 -1
- package/dist/collection/components/image/image.js.map +0 -1
- package/dist/collection/components/inline-payment-panel/inline-payment-panel.js.map +0 -1
- package/dist/collection/components/input/input.js.map +0 -1
- package/dist/collection/components/keyboard-accessory/keyboard-accessory.js.map +0 -1
- package/dist/collection/components/label/label.js.map +0 -1
- package/dist/collection/components/lifestyle/lifestyle.js.map +0 -1
- package/dist/collection/components/like/like.js.map +0 -1
- package/dist/collection/components/live-player/live-player.js.map +0 -1
- package/dist/collection/components/live-pusher/live-pusher.js.map +0 -1
- package/dist/collection/components/login/login.js.map +0 -1
- package/dist/collection/components/lottie/lottie.js.map +0 -1
- package/dist/collection/components/map/map.js.map +0 -1
- package/dist/collection/components/match-media/match-media.js.map +0 -1
- package/dist/collection/components/movable-area/movable-area.js.map +0 -1
- package/dist/collection/components/movable-area/movable-view.js.map +0 -1
- package/dist/collection/components/navigation-bar/navigation-bar.js.map +0 -1
- package/dist/collection/components/navigator/navigator.js.map +0 -1
- package/dist/collection/components/official-account/official-account.js.map +0 -1
- package/dist/collection/components/open-data/open-data.js.map +0 -1
- package/dist/collection/components/page-container/page-container.js.map +0 -1
- package/dist/collection/components/page-meta/page-meta.js.map +0 -1
- package/dist/collection/components/picker/constant.js.map +0 -1
- package/dist/collection/components/picker/picker-group.js.map +0 -1
- package/dist/collection/components/picker/picker.js.map +0 -1
- package/dist/collection/components/picker/utils.js.map +0 -1
- package/dist/collection/components/picker-view/picker-view-column.js.map +0 -1
- package/dist/collection/components/picker-view/picker-view.js.map +0 -1
- package/dist/collection/components/progress/progress.js.map +0 -1
- package/dist/collection/components/pull-to-refresh/pull-to-refresh.js.map +0 -1
- package/dist/collection/components/radio/radio-group.js.map +0 -1
- package/dist/collection/components/radio/radio.js.map +0 -1
- package/dist/collection/components/rich-text/rich-text.js.map +0 -1
- package/dist/collection/components/root-portal/root-portal.js.map +0 -1
- package/dist/collection/components/rtc-room/rtc-room-item.js.map +0 -1
- package/dist/collection/components/rtc-room/rtc-room.js.map +0 -1
- package/dist/collection/components/scroll-view/scroll-view.js.map +0 -1
- package/dist/collection/components/share-element/share-element.js.map +0 -1
- package/dist/collection/components/slider/slider.js.map +0 -1
- package/dist/collection/components/slot/native-slot.js.map +0 -1
- package/dist/collection/components/slot/slot.js.map +0 -1
- package/dist/collection/components/swiper/swiper-item.js.map +0 -1
- package/dist/collection/components/swiper/swiper.js.map +0 -1
- package/dist/collection/components/switch/switch.js.map +0 -1
- package/dist/collection/components/tabbar/tabbar-item.js.map +0 -1
- package/dist/collection/components/tabbar/tabbar.js.map +0 -1
- package/dist/collection/components/tabs/tab-item.js.map +0 -1
- package/dist/collection/components/tabs/tabs.js.map +0 -1
- package/dist/collection/components/text/text.js.map +0 -1
- package/dist/collection/components/textarea/textarea.js.map +0 -1
- package/dist/collection/components/video/utils.js.map +0 -1
- package/dist/collection/components/video/video-control.js.map +0 -1
- package/dist/collection/components/video/video-danmu.js.map +0 -1
- package/dist/collection/components/video/video.js.map +0 -1
- package/dist/collection/components/view/view.js.map +0 -1
- package/dist/collection/components/voip-room/voip-room.js.map +0 -1
- package/dist/collection/components/web-view/web-view.js.map +0 -1
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/utils/helper.js.map +0 -1
- package/dist/collection/utils/index.js.map +0 -1
- package/dist/collection/utils/style.js.map +0 -1
- package/dist/collection/utils/url.js.map +0 -1
- package/dist/components/helper.js.map +0 -1
- package/dist/components/hls.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/index2.js.map +0 -1
- package/dist/components/index3.js.map +0 -1
- package/dist/components/intersection-observer.js.map +0 -1
- package/dist/components/picker-group.js.map +0 -1
- package/dist/components/taro-ad-core.js.map +0 -1
- package/dist/components/taro-ad-custom-core.js.map +0 -1
- package/dist/components/taro-animation-video-core.js.map +0 -1
- package/dist/components/taro-animation-view-core.js.map +0 -1
- package/dist/components/taro-ar-camera-core.js.map +0 -1
- package/dist/components/taro-audio-core.js.map +0 -1
- package/dist/components/taro-aweme-data-core.js.map +0 -1
- package/dist/components/taro-block-core.js.map +0 -1
- package/dist/components/taro-button-core.js.map +0 -1
- package/dist/components/taro-camera-core.js.map +0 -1
- package/dist/components/taro-canvas-core.js.map +0 -1
- package/dist/components/taro-checkbox-core.js.map +0 -1
- package/dist/components/taro-checkbox-group-core.js.map +0 -1
- package/dist/components/taro-comment-detail-core.js.map +0 -1
- package/dist/components/taro-comment-list-core.js.map +0 -1
- package/dist/components/taro-contact-button-core.js.map +0 -1
- package/dist/components/taro-cover-image-core.js.map +0 -1
- package/dist/components/taro-cover-view-core.js.map +0 -1
- package/dist/components/taro-custom-wrapper-core.js.map +0 -1
- package/dist/components/taro-editor-core.js.map +0 -1
- package/dist/components/taro-follow-swan-core.js.map +0 -1
- package/dist/components/taro-form-core.js.map +0 -1
- package/dist/components/taro-functional-page-navigator-core.js.map +0 -1
- package/dist/components/taro-icon-core.js.map +0 -1
- package/dist/components/taro-image-core.js.map +0 -1
- package/dist/components/taro-inline-payment-panel-core.js.map +0 -1
- package/dist/components/taro-input-core.js.map +0 -1
- package/dist/components/taro-keyboard-accessory-core.js.map +0 -1
- package/dist/components/taro-label-core.js.map +0 -1
- package/dist/components/taro-lifestyle-core.js.map +0 -1
- package/dist/components/taro-like-core.js.map +0 -1
- package/dist/components/taro-live-player-core.js.map +0 -1
- package/dist/components/taro-live-pusher-core.js.map +0 -1
- package/dist/components/taro-login-core.js.map +0 -1
- package/dist/components/taro-lottie-core.js.map +0 -1
- package/dist/components/taro-map-core.js.map +0 -1
- package/dist/components/taro-match-media-core.js.map +0 -1
- package/dist/components/taro-movable-area-core.js.map +0 -1
- package/dist/components/taro-movable-view-core.js.map +0 -1
- package/dist/components/taro-native-slot-core.js.map +0 -1
- package/dist/components/taro-navigation-bar-core.js.map +0 -1
- package/dist/components/taro-navigator-core.js.map +0 -1
- package/dist/components/taro-official-account-core.js.map +0 -1
- package/dist/components/taro-open-data-core.js.map +0 -1
- package/dist/components/taro-page-container-core.js.map +0 -1
- package/dist/components/taro-page-meta-core.js.map +0 -1
- package/dist/components/taro-picker-core.js.map +0 -1
- package/dist/components/taro-picker-group.js.map +0 -1
- package/dist/components/taro-picker-view-column-core.js.map +0 -1
- package/dist/components/taro-picker-view-core.js.map +0 -1
- package/dist/components/taro-progress-core.js.map +0 -1
- package/dist/components/taro-pull-to-refresh.js.map +0 -1
- package/dist/components/taro-radio-core.js.map +0 -1
- package/dist/components/taro-radio-group-core.js.map +0 -1
- package/dist/components/taro-rich-text-core.js.map +0 -1
- package/dist/components/taro-root-portal-core.js.map +0 -1
- package/dist/components/taro-rtc-room-core.js.map +0 -1
- package/dist/components/taro-rtc-room-item-core.js.map +0 -1
- package/dist/components/taro-scroll-view-core.js.map +0 -1
- package/dist/components/taro-share-element-core.js.map +0 -1
- package/dist/components/taro-slider-core.js.map +0 -1
- package/dist/components/taro-slot-core.js.map +0 -1
- package/dist/components/taro-swiper-core.js.map +0 -1
- package/dist/components/taro-swiper-item-core.js.map +0 -1
- package/dist/components/taro-switch-core.js.map +0 -1
- package/dist/components/taro-tab-item-core.js.map +0 -1
- package/dist/components/taro-tabbar.js.map +0 -1
- package/dist/components/taro-tabs-core.js.map +0 -1
- package/dist/components/taro-text-core.js.map +0 -1
- package/dist/components/taro-textarea-core.js.map +0 -1
- package/dist/components/taro-video-control.js.map +0 -1
- package/dist/components/taro-video-core.js.map +0 -1
- package/dist/components/taro-video-danmu.js.map +0 -1
- package/dist/components/taro-view-core.js.map +0 -1
- package/dist/components/taro-voip-room-core.js.map +0 -1
- package/dist/components/taro-web-view-core.js.map +0 -1
- package/dist/components/video-control.js.map +0 -1
- package/dist/components/video-danmu.js.map +0 -1
- package/dist/esm/helper-3d0ecf0f.js.map +0 -1
- package/dist/esm/hls-221423a1.js.map +0 -1
- package/dist/esm/index-1d8e8acd.js.map +0 -1
- package/dist/esm/index-c948674f.js.map +0 -1
- package/dist/esm/index-d1b03e47.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/intersection-observer-8e4c7135.js.map +0 -1
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/taro-ad-core.entry.js.map +0 -1
- package/dist/esm/taro-ad-custom-core.entry.js.map +0 -1
- package/dist/esm/taro-animation-video-core.entry.js.map +0 -1
- package/dist/esm/taro-animation-view-core.entry.js.map +0 -1
- package/dist/esm/taro-ar-camera-core.entry.js.map +0 -1
- package/dist/esm/taro-audio-core.entry.js.map +0 -1
- package/dist/esm/taro-aweme-data-core.entry.js.map +0 -1
- package/dist/esm/taro-block-core.entry.js.map +0 -1
- package/dist/esm/taro-button-core.entry.js.map +0 -1
- package/dist/esm/taro-camera-core.entry.js.map +0 -1
- package/dist/esm/taro-canvas-core.entry.js.map +0 -1
- package/dist/esm/taro-checkbox-core_2.entry.js.map +0 -1
- package/dist/esm/taro-comment-detail-core.entry.js.map +0 -1
- package/dist/esm/taro-comment-list-core.entry.js.map +0 -1
- package/dist/esm/taro-components.js.map +0 -1
- package/dist/esm/taro-contact-button-core.entry.js.map +0 -1
- package/dist/esm/taro-cover-image-core.entry.js.map +0 -1
- package/dist/esm/taro-cover-view-core.entry.js.map +0 -1
- package/dist/esm/taro-custom-wrapper-core.entry.js.map +0 -1
- package/dist/esm/taro-editor-core.entry.js.map +0 -1
- package/dist/esm/taro-follow-swan-core.entry.js.map +0 -1
- package/dist/esm/taro-form-core.entry.js.map +0 -1
- package/dist/esm/taro-functional-page-navigator-core.entry.js.map +0 -1
- package/dist/esm/taro-icon-core.entry.js.map +0 -1
- package/dist/esm/taro-image-core.entry.js.map +0 -1
- package/dist/esm/taro-inline-payment-panel-core.entry.js.map +0 -1
- package/dist/esm/taro-input-core.entry.js.map +0 -1
- package/dist/esm/taro-keyboard-accessory-core.entry.js.map +0 -1
- package/dist/esm/taro-label-core.entry.js.map +0 -1
- package/dist/esm/taro-lifestyle-core.entry.js.map +0 -1
- package/dist/esm/taro-like-core.entry.js.map +0 -1
- package/dist/esm/taro-live-player-core.entry.js.map +0 -1
- package/dist/esm/taro-live-pusher-core.entry.js.map +0 -1
- package/dist/esm/taro-login-core.entry.js.map +0 -1
- package/dist/esm/taro-lottie-core.entry.js.map +0 -1
- package/dist/esm/taro-map-core.entry.js.map +0 -1
- package/dist/esm/taro-match-media-core.entry.js.map +0 -1
- package/dist/esm/taro-movable-area-core_2.entry.js.map +0 -1
- package/dist/esm/taro-native-slot-core.entry.js.map +0 -1
- package/dist/esm/taro-navigation-bar-core.entry.js.map +0 -1
- package/dist/esm/taro-navigator-core.entry.js.map +0 -1
- package/dist/esm/taro-official-account-core.entry.js.map +0 -1
- package/dist/esm/taro-open-data-core.entry.js.map +0 -1
- package/dist/esm/taro-page-container-core.entry.js.map +0 -1
- package/dist/esm/taro-page-meta-core.entry.js.map +0 -1
- package/dist/esm/taro-picker-core_2.entry.js.map +0 -1
- package/dist/esm/taro-picker-view-column-core_2.entry.js.map +0 -1
- package/dist/esm/taro-progress-core.entry.js.map +0 -1
- package/dist/esm/taro-pull-to-refresh.entry.js.map +0 -1
- package/dist/esm/taro-radio-core_2.entry.js.map +0 -1
- package/dist/esm/taro-rich-text-core.entry.js.map +0 -1
- package/dist/esm/taro-root-portal-core.entry.js.map +0 -1
- package/dist/esm/taro-rtc-room-core.entry.js.map +0 -1
- package/dist/esm/taro-rtc-room-item-core.entry.js.map +0 -1
- package/dist/esm/taro-scroll-view-core.entry.js.map +0 -1
- package/dist/esm/taro-share-element-core.entry.js.map +0 -1
- package/dist/esm/taro-slider-core.entry.js.map +0 -1
- package/dist/esm/taro-slot-core.entry.js.map +0 -1
- package/dist/esm/taro-swiper-core_2.entry.js.map +0 -1
- package/dist/esm/taro-switch-core.entry.js.map +0 -1
- package/dist/esm/taro-tab-item-core.entry.js.map +0 -1
- package/dist/esm/taro-tabbar.entry.js.map +0 -1
- package/dist/esm/taro-tabs-core.entry.js.map +0 -1
- package/dist/esm/taro-text-core.entry.js.map +0 -1
- package/dist/esm/taro-textarea-core.entry.js.map +0 -1
- package/dist/esm/taro-video-control_3.entry.js.map +0 -1
- package/dist/esm/taro-view-core.entry.js.map +0 -1
- package/dist/esm/taro-voip-room-core.entry.js.map +0 -1
- package/dist/esm/taro-web-view-core.entry.js.map +0 -1
- package/dist/esm-es5/helper-3d0ecf0f.js.map +0 -1
- package/dist/esm-es5/hls-221423a1.js.map +0 -1
- package/dist/esm-es5/index-1d8e8acd.js.map +0 -1
- package/dist/esm-es5/index-c948674f.js.map +0 -1
- package/dist/esm-es5/index-d1b03e47.js.map +0 -1
- package/dist/esm-es5/index.js.map +0 -1
- package/dist/esm-es5/intersection-observer-8e4c7135.js.map +0 -1
- package/dist/esm-es5/loader.js.map +0 -1
- package/dist/esm-es5/taro-ad-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-ad-custom-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-animation-video-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-animation-view-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-ar-camera-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-audio-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-aweme-data-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-block-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-button-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-camera-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-canvas-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-checkbox-core_2.entry.js.map +0 -1
- package/dist/esm-es5/taro-comment-detail-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-comment-list-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-components.js.map +0 -1
- package/dist/esm-es5/taro-contact-button-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-cover-image-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-cover-view-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-custom-wrapper-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-editor-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-follow-swan-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-form-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-functional-page-navigator-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-icon-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-image-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-inline-payment-panel-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-input-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-keyboard-accessory-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-label-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-lifestyle-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-like-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-live-player-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-live-pusher-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-login-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-lottie-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-map-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-match-media-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-movable-area-core_2.entry.js.map +0 -1
- package/dist/esm-es5/taro-native-slot-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-navigation-bar-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-navigator-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-official-account-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-open-data-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-page-container-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-page-meta-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-picker-core_2.entry.js.map +0 -1
- package/dist/esm-es5/taro-picker-view-column-core_2.entry.js.map +0 -1
- package/dist/esm-es5/taro-progress-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-pull-to-refresh.entry.js.map +0 -1
- package/dist/esm-es5/taro-radio-core_2.entry.js.map +0 -1
- package/dist/esm-es5/taro-rich-text-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-root-portal-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-rtc-room-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-rtc-room-item-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-scroll-view-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-share-element-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-slider-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-slot-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js.map +0 -1
- package/dist/esm-es5/taro-switch-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-tab-item-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-tabbar.entry.js.map +0 -1
- package/dist/esm-es5/taro-tabs-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-text-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-textarea-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-video-control_3.entry.js.map +0 -1
- package/dist/esm-es5/taro-view-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-voip-room-core.entry.js.map +0 -1
- package/dist/esm-es5/taro-web-view-core.entry.js.map +0 -1
- package/dist/taro-components/index.esm.js.map +0 -1
- package/dist/taro-components/p-020bcd8c.entry.js +0 -2
- package/dist/taro-components/p-020bcd8c.entry.js.map +0 -1
- package/dist/taro-components/p-03d4de13.entry.js.map +0 -1
- package/dist/taro-components/p-05f3f84a.entry.js +0 -2
- package/dist/taro-components/p-05f3f84a.entry.js.map +0 -1
- package/dist/taro-components/p-087bf23a.system.entry.js.map +0 -1
- package/dist/taro-components/p-0895120a.system.entry.js.map +0 -1
- package/dist/taro-components/p-08bb8dfc.system.entry.js.map +0 -1
- package/dist/taro-components/p-09db02e6.entry.js.map +0 -1
- package/dist/taro-components/p-0a165ad3.system.entry.js.map +0 -1
- package/dist/taro-components/p-0a9b984e.system.entry.js.map +0 -1
- package/dist/taro-components/p-0accc602.entry.js.map +0 -1
- package/dist/taro-components/p-0faf45d5.entry.js.map +0 -1
- package/dist/taro-components/p-10046f1a.system.entry.js.map +0 -1
- package/dist/taro-components/p-10be7fb5.system.entry.js.map +0 -1
- package/dist/taro-components/p-15e45ed6.system.js.map +0 -1
- package/dist/taro-components/p-17302fe9.system.entry.js.map +0 -1
- package/dist/taro-components/p-1743a04b.system.js.map +0 -1
- package/dist/taro-components/p-1941d333.system.entry.js.map +0 -1
- package/dist/taro-components/p-19e87e18.entry.js.map +0 -1
- package/dist/taro-components/p-1a0e1932.system.js.map +0 -1
- package/dist/taro-components/p-1c320250.system.entry.js.map +0 -1
- package/dist/taro-components/p-1c446c65.system.js.map +0 -1
- package/dist/taro-components/p-2024e133.system.entry.js.map +0 -1
- package/dist/taro-components/p-2049bdc4.entry.js +0 -2
- package/dist/taro-components/p-2049bdc4.entry.js.map +0 -1
- package/dist/taro-components/p-2357313b.entry.js +0 -2
- package/dist/taro-components/p-2357313b.entry.js.map +0 -1
- package/dist/taro-components/p-24c2fd23.entry.js.map +0 -1
- package/dist/taro-components/p-26889f3c.system.entry.js.map +0 -1
- package/dist/taro-components/p-281278cf.entry.js.map +0 -1
- package/dist/taro-components/p-30f32fa2.system.entry.js.map +0 -1
- package/dist/taro-components/p-30fe0e81.system.entry.js.map +0 -1
- package/dist/taro-components/p-33223303.system.entry.js.map +0 -1
- package/dist/taro-components/p-386ae2b2.entry.js.map +0 -1
- package/dist/taro-components/p-3b1d2d37.system.js.map +0 -1
- package/dist/taro-components/p-3bce88d9.entry.js.map +0 -1
- package/dist/taro-components/p-3f07f3d3.entry.js.map +0 -1
- package/dist/taro-components/p-4086e546.system.entry.js.map +0 -1
- package/dist/taro-components/p-4190e20b.system.entry.js.map +0 -1
- package/dist/taro-components/p-4263c9d9.entry.js.map +0 -1
- package/dist/taro-components/p-46244579.system.entry.js.map +0 -1
- package/dist/taro-components/p-4915fdc1.system.entry.js.map +0 -1
- package/dist/taro-components/p-4a462c95.entry.js.map +0 -1
- package/dist/taro-components/p-4bc85eb7.entry.js.map +0 -1
- package/dist/taro-components/p-4d0da795.system.entry.js.map +0 -1
- package/dist/taro-components/p-50ea2036.system.js.map +0 -1
- package/dist/taro-components/p-518146fd.system.entry.js.map +0 -1
- package/dist/taro-components/p-51b6fc09.system.entry.js.map +0 -1
- package/dist/taro-components/p-51caa3f3.entry.js.map +0 -1
- package/dist/taro-components/p-56da1da3.system.entry.js.map +0 -1
- package/dist/taro-components/p-58877ef2.system.entry.js.map +0 -1
- package/dist/taro-components/p-59590806.system.entry.js.map +0 -1
- package/dist/taro-components/p-5d3acf86.entry.js +0 -2
- package/dist/taro-components/p-5d3acf86.entry.js.map +0 -1
- package/dist/taro-components/p-5f3c65f0.entry.js +0 -2
- package/dist/taro-components/p-5f3c65f0.entry.js.map +0 -1
- package/dist/taro-components/p-603ceecd.entry.js.map +0 -1
- package/dist/taro-components/p-61f225ef.system.js.map +0 -1
- package/dist/taro-components/p-623b3eb6.system.entry.js.map +0 -1
- package/dist/taro-components/p-651586f8.system.entry.js.map +0 -1
- package/dist/taro-components/p-663e27a0.entry.js +0 -2
- package/dist/taro-components/p-663e27a0.entry.js.map +0 -1
- package/dist/taro-components/p-66b07ac0.entry.js.map +0 -1
- package/dist/taro-components/p-67c3a0ba.entry.js +0 -2
- package/dist/taro-components/p-67c3a0ba.entry.js.map +0 -1
- package/dist/taro-components/p-69f6784d.system.entry.js.map +0 -1
- package/dist/taro-components/p-69fa7272.system.entry.js.map +0 -1
- package/dist/taro-components/p-6a96da58.js.map +0 -1
- package/dist/taro-components/p-6bb1fdf2.entry.js.map +0 -1
- package/dist/taro-components/p-6dae898a.system.entry.js.map +0 -1
- package/dist/taro-components/p-6f048097.system.entry.js.map +0 -1
- package/dist/taro-components/p-6f214fc3.system.entry.js.map +0 -1
- package/dist/taro-components/p-72f327e1.js.map +0 -1
- package/dist/taro-components/p-736053bb.system.entry.js.map +0 -1
- package/dist/taro-components/p-74bf8246.system.entry.js.map +0 -1
- package/dist/taro-components/p-76724e58.js.map +0 -1
- package/dist/taro-components/p-76e6fbff.entry.js.map +0 -1
- package/dist/taro-components/p-780870eb.entry.js.map +0 -1
- package/dist/taro-components/p-78c30850.system.entry.js.map +0 -1
- package/dist/taro-components/p-78e3ebb9.js.map +0 -1
- package/dist/taro-components/p-7a2f11dc.entry.js +0 -2
- package/dist/taro-components/p-7a2f11dc.entry.js.map +0 -1
- package/dist/taro-components/p-7c1fec76.entry.js.map +0 -1
- package/dist/taro-components/p-7c6f0d5c.entry.js.map +0 -1
- package/dist/taro-components/p-7dd9c8da.system.entry.js.map +0 -1
- package/dist/taro-components/p-8027e1c6.system.entry.js.map +0 -1
- package/dist/taro-components/p-828bd091.entry.js +0 -2
- package/dist/taro-components/p-828bd091.entry.js.map +0 -1
- package/dist/taro-components/p-8425ff09.entry.js.map +0 -1
- package/dist/taro-components/p-8594d1e5.entry.js +0 -2
- package/dist/taro-components/p-8594d1e5.entry.js.map +0 -1
- package/dist/taro-components/p-8625c29c.entry.js +0 -2
- package/dist/taro-components/p-8625c29c.entry.js.map +0 -1
- package/dist/taro-components/p-88d64daa.system.entry.js.map +0 -1
- package/dist/taro-components/p-88fbacdb.entry.js +0 -2
- package/dist/taro-components/p-88fbacdb.entry.js.map +0 -1
- package/dist/taro-components/p-895cd7c9.system.entry.js.map +0 -1
- package/dist/taro-components/p-8d2101be.system.entry.js.map +0 -1
- package/dist/taro-components/p-8e5cc8fe.system.entry.js.map +0 -1
- package/dist/taro-components/p-908ddbb0.entry.js.map +0 -1
- package/dist/taro-components/p-91f8cd40.entry.js +0 -2
- package/dist/taro-components/p-91f8cd40.entry.js.map +0 -1
- package/dist/taro-components/p-93ccd68a.entry.js +0 -2
- package/dist/taro-components/p-93ccd68a.entry.js.map +0 -1
- package/dist/taro-components/p-955fbcfa.entry.js.map +0 -1
- package/dist/taro-components/p-95f70aea.system.entry.js.map +0 -1
- package/dist/taro-components/p-97782cdd.system.entry.js.map +0 -1
- package/dist/taro-components/p-982e431d.entry.js.map +0 -1
- package/dist/taro-components/p-9bc9f3a0.entry.js +0 -2
- package/dist/taro-components/p-9bc9f3a0.entry.js.map +0 -1
- package/dist/taro-components/p-9d4fa0d3.system.entry.js.map +0 -1
- package/dist/taro-components/p-a23a21e1.entry.js.map +0 -1
- package/dist/taro-components/p-a7789ed6.entry.js.map +0 -1
- package/dist/taro-components/p-adc37a00.entry.js.map +0 -1
- package/dist/taro-components/p-ae3f1ed4.system.entry.js.map +0 -1
- package/dist/taro-components/p-b1249ebb.system.entry.js.map +0 -1
- package/dist/taro-components/p-b1c972e2.system.entry.js.map +0 -1
- package/dist/taro-components/p-b2bb02d7.system.entry.js.map +0 -1
- package/dist/taro-components/p-b313c11a.entry.js +0 -2
- package/dist/taro-components/p-b313c11a.entry.js.map +0 -1
- package/dist/taro-components/p-b39b973e.entry.js.map +0 -1
- package/dist/taro-components/p-b4419d86.entry.js.map +0 -1
- package/dist/taro-components/p-b8ba5d0a.entry.js +0 -2
- package/dist/taro-components/p-b8ba5d0a.entry.js.map +0 -1
- package/dist/taro-components/p-bac3deb0.system.entry.js.map +0 -1
- package/dist/taro-components/p-bba8c3a7.system.entry.js.map +0 -1
- package/dist/taro-components/p-bd5177d3.system.js.map +0 -1
- package/dist/taro-components/p-c0bb8610.entry.js.map +0 -1
- package/dist/taro-components/p-c1c0e16d.entry.js +0 -2
- package/dist/taro-components/p-c1c0e16d.entry.js.map +0 -1
- package/dist/taro-components/p-c2ac8f08.entry.js.map +0 -1
- package/dist/taro-components/p-c33733b3.system.entry.js.map +0 -1
- package/dist/taro-components/p-c3e98fdf.entry.js.map +0 -1
- package/dist/taro-components/p-c4fdb669.system.entry.js.map +0 -1
- package/dist/taro-components/p-c50087fd.entry.js.map +0 -1
- package/dist/taro-components/p-c586a796.system.entry.js.map +0 -1
- package/dist/taro-components/p-c6385fc2.system.entry.js.map +0 -1
- package/dist/taro-components/p-c6e6dab1.system.entry.js.map +0 -1
- package/dist/taro-components/p-c70dd956.system.entry.js.map +0 -1
- package/dist/taro-components/p-d1d19ce9.entry.js +0 -2
- package/dist/taro-components/p-d1d19ce9.entry.js.map +0 -1
- package/dist/taro-components/p-d3c7f87d.js.map +0 -1
- package/dist/taro-components/p-d5234e7e.js.map +0 -1
- package/dist/taro-components/p-d562aae3.entry.js +0 -2
- package/dist/taro-components/p-d562aae3.entry.js.map +0 -1
- package/dist/taro-components/p-d61d3394.entry.js.map +0 -1
- package/dist/taro-components/p-d621d190.entry.js +0 -2
- package/dist/taro-components/p-d621d190.entry.js.map +0 -1
- package/dist/taro-components/p-d8c8c63f.entry.js +0 -2
- package/dist/taro-components/p-d8c8c63f.entry.js.map +0 -1
- package/dist/taro-components/p-da5cdbf5.system.entry.js.map +0 -1
- package/dist/taro-components/p-de2d8e2e.system.entry.js.map +0 -1
- package/dist/taro-components/p-de356b29.system.entry.js.map +0 -1
- package/dist/taro-components/p-e0e4a403.entry.js.map +0 -1
- package/dist/taro-components/p-e3f8265d.system.entry.js.map +0 -1
- package/dist/taro-components/p-e53feb03.system.entry.js.map +0 -1
- package/dist/taro-components/p-e67165fd.entry.js +0 -2
- package/dist/taro-components/p-e67165fd.entry.js.map +0 -1
- package/dist/taro-components/p-eb2a7609.entry.js.map +0 -1
- package/dist/taro-components/p-eb9adf17.entry.js.map +0 -1
- package/dist/taro-components/p-ef4c1fd4.entry.js +0 -2
- package/dist/taro-components/p-ef4c1fd4.entry.js.map +0 -1
- package/dist/taro-components/p-ef7e7d73.system.entry.js.map +0 -1
- package/dist/taro-components/p-efa51030.system.entry.js.map +0 -1
- package/dist/taro-components/p-efe31b23.entry.js +0 -2
- package/dist/taro-components/p-efe31b23.entry.js.map +0 -1
- package/dist/taro-components/p-f034fb11.system.entry.js +0 -2
- package/dist/taro-components/p-f034fb11.system.entry.js.map +0 -1
- package/dist/taro-components/p-f499c0a0.system.entry.js.map +0 -1
- package/dist/taro-components/p-f88f0f55.entry.js +0 -2
- package/dist/taro-components/p-f88f0f55.entry.js.map +0 -1
- package/dist/taro-components/p-f9ac515e.system.entry.js.map +0 -1
- package/dist/taro-components/p-fa36fe8e.system.entry.js.map +0 -1
- package/dist/taro-components/p-fcdac6ec.system.entry.js.map +0 -1
- package/dist/taro-components/p-fda82bc1.entry.js.map +0 -1
- package/dist/taro-components/p-fe58b450.entry.js +0 -2
- package/dist/taro-components/p-fe58b450.entry.js.map +0 -1
- package/dist/taro-components/p-fec6746d.entry.js +0 -2
- package/dist/taro-components/p-fec6746d.entry.js.map +0 -1
- package/dist/taro-components/taro-components.esm.js.map +0 -1
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-c948674f.js";var indexCss="taro-switch-core{display:inline-block;width:52px;height:32px}taro-switch-core .weui-switch{display:block;width:100%;height:100%}";var Switch=function(){function e(e){var t=this;registerInstance(this,e);this.onChange=createEvent(this,"change",7);this.switchChange=function(e){e.stopPropagation();var i=e.target.checked;t.isChecked=i;t.onChange.emit({value:i})};this.type="switch";this.checked=false;this.color="#04BE02";this.name=undefined;this.disabled=false;this.nativeProps={};this.isChecked=undefined;this.isWillLoadCalled=false}e.prototype.function=function(e,t){if(!this.isWillLoadCalled)return;if(e!==t)this.isChecked=e};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;this.isChecked=this.checked};e.prototype.componentDidLoad=function(){var e=this;Object.defineProperty(this.el,"value",{get:function(){return e.isChecked},configurable:true})};e.prototype.render=function(){var e=this,t=e.type,i=e.color,n=e.isChecked,s=e.name,r=e.disabled,c=e.nativeProps;var o=n?{borderColor:i||"04BE02",backgroundColor:i||"04BE02"}:{};return h("input",Object.assign({type:"checkbox",class:"weui-".concat(t),style:o,checked:n,name:s,disabled:r,onChange:this.switchChange},c))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["function"]}},enumerable:false,configurable:true});return e}();Switch.style=indexCss;export{Switch as taro_switch_core};
|
|
2
|
-
//# sourceMappingURL=taro-switch-core.entry.js.map
|
|
1
|
+
import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-c948674f.js";var indexCss="taro-switch-core{display:inline-block;width:52px;height:32px}taro-switch-core .weui-switch{display:block;width:100%;height:100%}";var Switch=function(){function e(e){var t=this;registerInstance(this,e);this.onChange=createEvent(this,"change",7);this.switchChange=function(e){e.stopPropagation();var i=e.target.checked;t.isChecked=i;t.onChange.emit({value:i})};this.type="switch";this.checked=false;this.color="#04BE02";this.name=undefined;this.disabled=false;this.nativeProps={};this.isChecked=undefined;this.isWillLoadCalled=false}e.prototype.function=function(e,t){if(!this.isWillLoadCalled)return;if(e!==t)this.isChecked=e};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;this.isChecked=this.checked};e.prototype.componentDidLoad=function(){var e=this;Object.defineProperty(this.el,"value",{get:function(){return e.isChecked},configurable:true})};e.prototype.render=function(){var e=this,t=e.type,i=e.color,n=e.isChecked,s=e.name,r=e.disabled,c=e.nativeProps;var o=n?{borderColor:i||"04BE02",backgroundColor:i||"04BE02"}:{};return h("input",Object.assign({type:"checkbox",class:"weui-".concat(t),style:o,checked:n,name:s,disabled:r,onChange:this.switchChange},c))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["function"]}},enumerable:false,configurable:true});return e}();Switch.style=indexCss;export{Switch as taro_switch_core};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,H as Host}from"./index-c948674f.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var TabItem=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("TabItem",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{TabItem as taro_tab_item_core};
|
|
2
|
-
//# sourceMappingURL=taro-tab-item-core.entry.js.map
|
|
1
|
+
import{r as registerInstance,h,H as Host}from"./index-c948674f.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var TabItem=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("TabItem",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{TabItem as taro_tab_item_core};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
var __spreadArray=this&&this.__spreadArray||function(e,t,a){if(a||arguments.length===2)for(var r=0,o=t.length,n;r<o;r++){if(n||!(r in t)){if(!n)n=Array.prototype.slice.call(t,0,r);n[r]=t[r]}}return e.concat(n||Array.prototype.slice.call(t))};import{h,r as registerInstance,c as createEvent,H as Host,g as getElement}from"./index-c948674f.js";import Taro from"@tarojs/taro";import{c as classnames}from"./index-1d8e8acd.js";import{i as isVisible}from"./index-d1b03e47.js";var splitUrl=function(e){var t=e||"";var a;var r={path:null,query:null,fragment:null};a=t.indexOf("#");if(a>-1){r.fragment=t.substring(a+1);t=t.substring(0,a)}a=t.indexOf("?");if(a>-1){r.query=t.substring(a+1);t=t.substring(0,a)}r.path=t;return r};var addLeadingSlash=function(e){if(e===void 0){e=""}return e.charAt(0)==="/"?e:"/"+e};var hasBasename=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)||e===t};var stripBasename=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return hasBasename(e,t)?e.substring(t.length):e};var stripSuffix=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return e.includes(t)?e.substring(0,e.length-t.length):e};var getCurrentPage=function(e,t){if(e===void 0){e="hash"}if(t===void 0){t="/"}var a=e==="hash"?location.hash.slice(1).split("?")[0]:location.pathname;return addLeadingSlash(stripBasename(a,t))};function isAbsolute(e){return e.charAt(0)==="/"}function spliceOne(e,t){for(var a=t,r=a+1,o=e.length;r<o;a+=1,r+=1){e[a]=e[r]}e.pop()}function resolvePathname(e,t){if(t===undefined)t="";var a=e&&e.split("/")||[];var r=t&&t.split("/")||[];var o=e&&isAbsolute(e);var n=t&&isAbsolute(t);var i=o||n;if(e&&isAbsolute(e)){r=a}else if(a.length){r.pop();r=r.concat(a)}if(!r.length)return"/";var s;if(r.length){var l=r[r.length-1];s=l==="."||l===".."||l===""}else{s=false}var d=0;for(var b=r.length;b>=0;b--){var h=r[b];if(h==="."){spliceOne(r,b)}else if(h===".."){spliceOne(r,b);d++}else if(d){spliceOne(r,b);d--}}if(!i)for(;d--;d)r.unshift("..");if(i&&r[0]!==""&&(!r[0]||!isAbsolute(r[0])))r.unshift("");var c=r.join("/");if(s&&c.substr(-1)!=="/")c+="/";return c}var TabbarItem=function(e){var t=e.index,a=e.isSelected,r=a===void 0?false:a,o=e.textColor,n=e.iconPath,i=e.badgeText,s=e.showRedDot,l=s===void 0?false:s,d=e.pagePath,b=e.text,c=e.onSelect;var f=classnames("weui-tabbar__item",{"weui-bar__item_on":r});var u={position:"absolute",top:"-2px",right:"-13px"};var v={position:"absolute",top:"0",right:"-6px"};function g(){var e=Taro.getCurrentPages().shift();if(typeof(e===null||e===void 0?void 0:e.onTabItemTap)==="function"&&isVisible(this)){e.onTabItemTap({index:t,pagePath:d,text:b})}c(t)}return h("a",{key:t,href:"javascript:;",class:f,onClick:g},h("span",{style:{display:"inline-block",position:"relative"}},h("img",{src:n,alt:"",class:"weui-tabbar__icon"}),!!i&&h("span",{class:"weui-badge taro-tabbar-badge",style:u},i),l&&h("span",{class:"weui-badge weui-badge_dot",style:v})),h("p",{class:"weui-tabbar__label",style:{color:o}},b))};var indexCss="html,body{height:100%}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column;height:100%}.taro-tabbar__panel{overflow:auto;position:relative;-ms-flex:1;flex:1;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;width:100%;height:50px;-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";var STATUS_SHOW=0;var STATUS_HIDE=1;var STATUS_SLIDEOUT=2;var basicTabBarClassName="taro-tabbar__tabbar";var hideTabBarClassName="taro-tabbar__tabbar-hide";var hideTabBarWithAnimationClassName="taro-tabbar__tabbar-slideout";var Tabbar=function(){function e(e){var t=this;registerInstance(this,e);this.onLongPress=createEvent(this,"longpress",7);this.homePage="";this.customRoutes=[];this.tabbarPos="bottom";this.getOriginUrl=function(e){var a=t.customRoutes.filter((function(t){var a=t[1];var r=splitUrl(a).path;var o=splitUrl(e).path;return r===o}));return stripSuffix(a.length?a[0][0]:e,".html")};this.getSelectedIndex=function(e){var a=-1;t.list.forEach((function(t,r){var o=t.pagePath;var n=splitUrl(e).path;var i=splitUrl(o).path;if(n===i){a=r}}));return a};this.switchTab=function(e){t.selectedIndex=e;Taro.switchTab({url:t.list[e].pagePath})};this.switchTabHandler=function(e){var a=e.url,r=e.successHandler,o=e.errorHandler;var n=t.getOriginUrl(t.getCurrentUrl()||t.homePage);var i=resolvePathname(a,n);var s=t.getSelectedIndex(i);if(s>-1){t.switchTab(s);r({errMsg:"switchTab:ok"})}else{o({errMsg:'switchTab:fail page "'.concat(i,'" is not found')})}};this.routerChangeHandler=function(e){var a;var r=(a=e===null||e===void 0?void 0:e.toLocation)===null||a===void 0?void 0:a.path;var o;if(typeof r==="string"){var n=t.conf.basename||"/";o=stripBasename(addLeadingSlash(r||t.homePage),n)||"/"}else{o=t.getCurrentUrl()}t.selectedIndex=t.getSelectedIndex(t.getOriginUrl(o))};this.setTabBarBadgeHandler=function(e){var a=e.index,r=e.text,o=e.successHandler,n=e.errorHandler;var i=__spreadArray([],t.list,true);if(a in i){i[a].showRedDot=false;i[a].badgeText=r;o({errMsg:"setTabBarBadge:ok"})}else{n({errMsg:"setTabBarBadge:fail tabbar item not found"})}t.list=i};this.removeTabBarBadgeHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].badgeText=null;n[a].badgeText=null;r({errMsg:"removeTabBarBadge:ok"})}else{o({errMsg:"removeTabBarBadge:fail tabbar item not found"})}t.list=n};this.showTabBarRedDotHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].badgeText=null;n[a].showRedDot=true;r({errMsg:"showTabBarRedDot:ok"})}else{o({errMsg:"showTabBarRedDot:fail tabbar item not found"})}t.list=n};this.hideTabBarRedDotHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].showRedDot=false;r({errMsg:"hideTabBarRedDot:ok"})}else{o({errMsg:"hideTabBarRedDot:fail tabbar item not found"})}t.list=n};this.showTabBarHandler=function(e){var a=e.successHandler;t.status=STATUS_SHOW;a({errMsg:"showTabBar:ok"})};this.hideTabBarHandler=function(e){var a=e.animation,r=e.successHandler;t.status=a?STATUS_SLIDEOUT:STATUS_HIDE;r({errMsg:"hideTabBar:ok"})};this.setTabBarStyleHandler=function(e){var a=e.color,r=e.selectedColor,o=e.backgroundColor,n=e.borderStyle,i=e.successHandler;if(o)t.backgroundColor=o;if(n)t.borderStyle=n;if(a)t.color=a;if(r)t.selectedColor=r;i({errMsg:"setTabBarStyle:ok"})};this.setTabBarItemHandler=function(e){var a=e.index,r=e.iconPath,o=e.selectedIconPath,n=e.text,i=e.successHandler,s=e.errorHandler;var l=__spreadArray([],t.list,true);if(a in l){if(r)l[a].iconPath=r;if(o)l[a].selectedIconPath=o;if(n)l[a].text=n;i({errMsg:"setTabBarItem:ok"})}else{s({errMsg:"setTabBarItem:fail tabbar item not found"})}t.list=l};this.conf=undefined;this.list=undefined;this.borderStyle=undefined;this.backgroundColor=undefined;this.color=undefined;this.selectedColor=undefined;this.selectedIndex=-1;this.status=STATUS_SHOW;var a=this.conf.list;var r=this.conf.customRoutes;if(Object.prototype.toString.call(a)!=="[object Array]"||a.length<2||a.length>5){throw new Error("tabBar 配置错误")}this.homePage=addLeadingSlash(this.conf.homePage);var o=function(e){var t;var a=r[e];e=addLeadingSlash(e);if(typeof a==="string"){n.customRoutes.push([e,addLeadingSlash(a)])}else if((a===null||a===void 0?void 0:a.length)>0){(t=n.customRoutes).push.apply(t,a.map((function(t){return[e,addLeadingSlash(t)]})))}};var n=this;for(var i in r){o(i)}a.forEach((function(e){if(e.pagePath.indexOf("/")!==0){e.pagePath="/"+e.pagePath}}));this.list=a;this.borderStyle=this.conf.borderStyle;this.backgroundColor=this.conf.backgroundColor;this.color=this.conf.color;this.selectedColor=this.conf.selectedColor}e.prototype.getCurrentUrl=function(){var e=getCurrentPage(this.conf.mode,this.conf.basename);return decodeURI(e==="/"?this.homePage:e)};e.prototype.bindEvent=function(){Taro.eventCenter.on("__taroRouterChange",this.routerChangeHandler);Taro.eventCenter.on("__taroSwitchTab",this.switchTabHandler);Taro.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler);Taro.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);Taro.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);Taro.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);Taro.eventCenter.on("__taroShowTabBar",this.showTabBarHandler);Taro.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler);Taro.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler);Taro.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.removeEvent=function(){Taro.eventCenter.off("__taroRouterChange",this.routerChangeHandler);Taro.eventCenter.off("__taroSwitchTab",this.switchTabHandler);Taro.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler);Taro.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);Taro.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);Taro.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);Taro.eventCenter.off("__taroShowTabBar",this.showTabBarHandler);Taro.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler);Taro.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler);Taro.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.componentDidLoad=function(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom";this.bindEvent();this.routerChangeHandler()};e.prototype.disconnectedCallback=function(){this.removeEvent()};e.prototype.render=function(){var e,t;var a=this;var r=this.tabbarPos,o=r===void 0?"bottom":r;var n=this.status;var i=classnames("weui-tabbar",(e={},e["taro-tabbar__border-".concat(this.borderStyle||"black")]=true,e));var s=this.selectedIndex===-1||n===STATUS_HIDE;var l=n===STATUS_SLIDEOUT;return h(Host,{class:classnames(basicTabBarClassName,"".concat(basicTabBarClassName,"-").concat(o),(t={},t[hideTabBarClassName]=s,t[hideTabBarWithAnimationClassName]=l,t))},h("div",{class:i,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map((function(e,t){var r=a.selectedIndex===t;var o;var n;if(r){o=a.selectedColor||"";n=e.selectedIconPath}else{o=a.color||"";n=e.iconPath}return h(TabbarItem,{index:t,onSelect:a.switchTab.bind(a),isSelected:r,textColor:o,iconPath:n,pagePath:e.pagePath,text:e.text,badgeText:e.badgeText,showRedDot:e.showRedDot})}))))};Object.defineProperty(e.prototype,"tabbar",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();Tabbar.style=indexCss;export{Tabbar as taro_tabbar};
|
|
2
|
-
//# sourceMappingURL=taro-tabbar.entry.js.map
|
|
1
|
+
var __spreadArray=this&&this.__spreadArray||function(e,t,a){if(a||arguments.length===2)for(var r=0,o=t.length,n;r<o;r++){if(n||!(r in t)){if(!n)n=Array.prototype.slice.call(t,0,r);n[r]=t[r]}}return e.concat(n||Array.prototype.slice.call(t))};import{h,r as registerInstance,c as createEvent,H as Host,g as getElement}from"./index-c948674f.js";import Taro from"@tarojs/taro";import{c as classnames}from"./index-1d8e8acd.js";import{i as isVisible}from"./index-d1b03e47.js";var splitUrl=function(e){var t=e||"";var a;var r={path:null,query:null,fragment:null};a=t.indexOf("#");if(a>-1){r.fragment=t.substring(a+1);t=t.substring(0,a)}a=t.indexOf("?");if(a>-1){r.query=t.substring(a+1);t=t.substring(0,a)}r.path=t;return r};var addLeadingSlash=function(e){if(e===void 0){e=""}return e.charAt(0)==="/"?e:"/"+e};var hasBasename=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)||e===t};var stripBasename=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return hasBasename(e,t)?e.substring(t.length):e};var stripSuffix=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return e.includes(t)?e.substring(0,e.length-t.length):e};var getCurrentPage=function(e,t){if(e===void 0){e="hash"}if(t===void 0){t="/"}var a=e==="hash"?location.hash.slice(1).split("?")[0]:location.pathname;return addLeadingSlash(stripBasename(a,t))};function isAbsolute(e){return e.charAt(0)==="/"}function spliceOne(e,t){for(var a=t,r=a+1,o=e.length;r<o;a+=1,r+=1){e[a]=e[r]}e.pop()}function resolvePathname(e,t){if(t===undefined)t="";var a=e&&e.split("/")||[];var r=t&&t.split("/")||[];var o=e&&isAbsolute(e);var n=t&&isAbsolute(t);var i=o||n;if(e&&isAbsolute(e)){r=a}else if(a.length){r.pop();r=r.concat(a)}if(!r.length)return"/";var s;if(r.length){var l=r[r.length-1];s=l==="."||l===".."||l===""}else{s=false}var d=0;for(var b=r.length;b>=0;b--){var h=r[b];if(h==="."){spliceOne(r,b)}else if(h===".."){spliceOne(r,b);d++}else if(d){spliceOne(r,b);d--}}if(!i)for(;d--;d)r.unshift("..");if(i&&r[0]!==""&&(!r[0]||!isAbsolute(r[0])))r.unshift("");var c=r.join("/");if(s&&c.substr(-1)!=="/")c+="/";return c}var TabbarItem=function(e){var t=e.index,a=e.isSelected,r=a===void 0?false:a,o=e.textColor,n=e.iconPath,i=e.badgeText,s=e.showRedDot,l=s===void 0?false:s,d=e.pagePath,b=e.text,c=e.onSelect;var f=classnames("weui-tabbar__item",{"weui-bar__item_on":r});var u={position:"absolute",top:"-2px",right:"-13px"};var v={position:"absolute",top:"0",right:"-6px"};function g(){var e=Taro.getCurrentPages().shift();if(typeof(e===null||e===void 0?void 0:e.onTabItemTap)==="function"&&isVisible(this)){e.onTabItemTap({index:t,pagePath:d,text:b})}c(t)}return h("a",{key:t,href:"javascript:;",class:f,onClick:g},h("span",{style:{display:"inline-block",position:"relative"}},h("img",{src:n,alt:"",class:"weui-tabbar__icon"}),!!i&&h("span",{class:"weui-badge taro-tabbar-badge",style:u},i),l&&h("span",{class:"weui-badge weui-badge_dot",style:v})),h("p",{class:"weui-tabbar__label",style:{color:o}},b))};var indexCss="html,body{height:100%}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column;height:100%}.taro-tabbar__panel{overflow:auto;position:relative;-ms-flex:1;flex:1;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;width:100%;height:50px;-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";var STATUS_SHOW=0;var STATUS_HIDE=1;var STATUS_SLIDEOUT=2;var basicTabBarClassName="taro-tabbar__tabbar";var hideTabBarClassName="taro-tabbar__tabbar-hide";var hideTabBarWithAnimationClassName="taro-tabbar__tabbar-slideout";var Tabbar=function(){function e(e){var t=this;registerInstance(this,e);this.onLongPress=createEvent(this,"longpress",7);this.homePage="";this.customRoutes=[];this.tabbarPos="bottom";this.getOriginUrl=function(e){var a=t.customRoutes.filter((function(t){var a=t[1];var r=splitUrl(a).path;var o=splitUrl(e).path;return r===o}));return stripSuffix(a.length?a[0][0]:e,".html")};this.getSelectedIndex=function(e){var a=-1;t.list.forEach((function(t,r){var o=t.pagePath;var n=splitUrl(e).path;var i=splitUrl(o).path;if(n===i){a=r}}));return a};this.switchTab=function(e){t.selectedIndex=e;Taro.switchTab({url:t.list[e].pagePath})};this.switchTabHandler=function(e){var a=e.url,r=e.successHandler,o=e.errorHandler;var n=t.getOriginUrl(t.getCurrentUrl()||t.homePage);var i=resolvePathname(a,n);var s=t.getSelectedIndex(i);if(s>-1){t.switchTab(s);r({errMsg:"switchTab:ok"})}else{o({errMsg:'switchTab:fail page "'.concat(i,'" is not found')})}};this.routerChangeHandler=function(e){var a;var r=(a=e===null||e===void 0?void 0:e.toLocation)===null||a===void 0?void 0:a.path;var o;if(typeof r==="string"){var n=t.conf.basename||"/";o=stripBasename(addLeadingSlash(r||t.homePage),n)||"/"}else{o=t.getCurrentUrl()}t.selectedIndex=t.getSelectedIndex(t.getOriginUrl(o))};this.setTabBarBadgeHandler=function(e){var a=e.index,r=e.text,o=e.successHandler,n=e.errorHandler;var i=__spreadArray([],t.list,true);if(a in i){i[a].showRedDot=false;i[a].badgeText=r;o({errMsg:"setTabBarBadge:ok"})}else{n({errMsg:"setTabBarBadge:fail tabbar item not found"})}t.list=i};this.removeTabBarBadgeHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].badgeText=null;n[a].badgeText=null;r({errMsg:"removeTabBarBadge:ok"})}else{o({errMsg:"removeTabBarBadge:fail tabbar item not found"})}t.list=n};this.showTabBarRedDotHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].badgeText=null;n[a].showRedDot=true;r({errMsg:"showTabBarRedDot:ok"})}else{o({errMsg:"showTabBarRedDot:fail tabbar item not found"})}t.list=n};this.hideTabBarRedDotHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].showRedDot=false;r({errMsg:"hideTabBarRedDot:ok"})}else{o({errMsg:"hideTabBarRedDot:fail tabbar item not found"})}t.list=n};this.showTabBarHandler=function(e){var a=e.successHandler;t.status=STATUS_SHOW;a({errMsg:"showTabBar:ok"})};this.hideTabBarHandler=function(e){var a=e.animation,r=e.successHandler;t.status=a?STATUS_SLIDEOUT:STATUS_HIDE;r({errMsg:"hideTabBar:ok"})};this.setTabBarStyleHandler=function(e){var a=e.color,r=e.selectedColor,o=e.backgroundColor,n=e.borderStyle,i=e.successHandler;if(o)t.backgroundColor=o;if(n)t.borderStyle=n;if(a)t.color=a;if(r)t.selectedColor=r;i({errMsg:"setTabBarStyle:ok"})};this.setTabBarItemHandler=function(e){var a=e.index,r=e.iconPath,o=e.selectedIconPath,n=e.text,i=e.successHandler,s=e.errorHandler;var l=__spreadArray([],t.list,true);if(a in l){if(r)l[a].iconPath=r;if(o)l[a].selectedIconPath=o;if(n)l[a].text=n;i({errMsg:"setTabBarItem:ok"})}else{s({errMsg:"setTabBarItem:fail tabbar item not found"})}t.list=l};this.conf=undefined;this.list=undefined;this.borderStyle=undefined;this.backgroundColor=undefined;this.color=undefined;this.selectedColor=undefined;this.selectedIndex=-1;this.status=STATUS_SHOW;var a=this.conf.list;var r=this.conf.customRoutes;if(Object.prototype.toString.call(a)!=="[object Array]"||a.length<2||a.length>5){throw new Error("tabBar 配置错误")}this.homePage=addLeadingSlash(this.conf.homePage);var o=function(e){var t;var a=r[e];e=addLeadingSlash(e);if(typeof a==="string"){n.customRoutes.push([e,addLeadingSlash(a)])}else if((a===null||a===void 0?void 0:a.length)>0){(t=n.customRoutes).push.apply(t,a.map((function(t){return[e,addLeadingSlash(t)]})))}};var n=this;for(var i in r){o(i)}a.forEach((function(e){if(e.pagePath.indexOf("/")!==0){e.pagePath="/"+e.pagePath}}));this.list=a;this.borderStyle=this.conf.borderStyle;this.backgroundColor=this.conf.backgroundColor;this.color=this.conf.color;this.selectedColor=this.conf.selectedColor}e.prototype.getCurrentUrl=function(){var e=getCurrentPage(this.conf.mode,this.conf.basename);return decodeURI(e==="/"?this.homePage:e)};e.prototype.bindEvent=function(){Taro.eventCenter.on("__taroRouterChange",this.routerChangeHandler);Taro.eventCenter.on("__taroSwitchTab",this.switchTabHandler);Taro.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler);Taro.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);Taro.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);Taro.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);Taro.eventCenter.on("__taroShowTabBar",this.showTabBarHandler);Taro.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler);Taro.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler);Taro.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.removeEvent=function(){Taro.eventCenter.off("__taroRouterChange",this.routerChangeHandler);Taro.eventCenter.off("__taroSwitchTab",this.switchTabHandler);Taro.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler);Taro.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);Taro.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);Taro.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);Taro.eventCenter.off("__taroShowTabBar",this.showTabBarHandler);Taro.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler);Taro.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler);Taro.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.componentDidLoad=function(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom";this.bindEvent();this.routerChangeHandler()};e.prototype.disconnectedCallback=function(){this.removeEvent()};e.prototype.render=function(){var e,t;var a=this;var r=this.tabbarPos,o=r===void 0?"bottom":r;var n=this.status;var i=classnames("weui-tabbar",(e={},e["taro-tabbar__border-".concat(this.borderStyle||"black")]=true,e));var s=this.selectedIndex===-1||n===STATUS_HIDE;var l=n===STATUS_SLIDEOUT;return h(Host,{class:classnames(basicTabBarClassName,"".concat(basicTabBarClassName,"-").concat(o),(t={},t[hideTabBarClassName]=s,t[hideTabBarWithAnimationClassName]=l,t))},h("div",{class:i,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map((function(e,t){var r=a.selectedIndex===t;var o;var n;if(r){o=a.selectedColor||"";n=e.selectedIconPath}else{o=a.color||"";n=e.iconPath}return h(TabbarItem,{index:t,onSelect:a.switchTab.bind(a),isSelected:r,textColor:o,iconPath:n,pagePath:e.pagePath,text:e.text,badgeText:e.badgeText,showRedDot:e.showRedDot})}))))};Object.defineProperty(e.prototype,"tabbar",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();Tabbar.style=indexCss;export{Tabbar as taro_tabbar};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,H as Host}from"./index-c948674f.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var Tabs=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("Tabs",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{Tabs as taro_tabs_core};
|
|
2
|
-
//# sourceMappingURL=taro-tabs-core.entry.js.map
|
|
1
|
+
import{r as registerInstance,h,H as Host}from"./index-c948674f.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var Tabs=function(){function t(t){registerInstance(this,t)}t.prototype.componentDidLoad=function(){notSupport("Tabs",this)};t.prototype.render=function(){return h(Host,null)};return t}();export{Tabs as taro_tabs_core};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,H as Host}from"./index-c948674f.js";import{c as classnames}from"./index-1d8e8acd.js";var indexCss="taro-text-core{display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:pre-wrap}.taro-text__selectable{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}";var Text=function(){function e(e){registerInstance(this,e);this.selectable=false}e.prototype.render=function(){var e=classnames({"taro-text__selectable":this.selectable});return h(Host,{class:e},h("slot",null))};return e}();Text.style=indexCss;export{Text as taro_text_core};
|
|
2
|
-
//# sourceMappingURL=taro-text-core.entry.js.map
|
|
1
|
+
import{r as registerInstance,h,H as Host}from"./index-c948674f.js";import{c as classnames}from"./index-1d8e8acd.js";var indexCss="taro-text-core{display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:pre-wrap}.taro-text__selectable{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}";var Text=function(){function e(e){registerInstance(this,e);this.selectable=false}e.prototype.render=function(){var e=classnames({"taro-text__selectable":this.selectable});return h(Host,{class:e},h("slot",null))};return e}();Text.style=indexCss;export{Text as taro_text_core};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-c948674f.js";var indexCss="taro-textarea-core{display:block;width:300px}taro-textarea-core .auto-height{height:auto}.taro-textarea{display:block;position:relative;border:0;width:100%;height:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto;line-height:1.5}.taro-textarea:focus{outline:none}";function fixControlledValue(e){return e!==null&&e!==void 0?e:""}var Textarea=function(){function e(e){var t=this;registerInstance(this,e);this.onInput=createEvent(this,"input",7);this.onFocus=createEvent(this,"focus",7);this.onBlur=createEvent(this,"blur",7);this.onChange=createEvent(this,"change",7);this.onLineChange=createEvent(this,"linechange",7);this.handleInput=function(e){e.stopPropagation();t.handleLineChange();var n=e.target.value||"";t.onInput.emit({value:n,cursor:n.length})};this.handleFocus=function(e){e.stopPropagation();t.onFocus.emit({value:e.target.value})};this.handleBlur=function(e){e.stopPropagation();t.onBlur.emit({value:e.target.value})};this.handleChange=function(e){e.stopPropagation();t.onChange.emit({value:e.target.value})};this.handleLineChange=function(){var e=t.getNumberOfLines();if(e!==t.line){t.line=e;t.onLineChange.emit({height:t.textareaRef.clientHeight,lineCount:t.line})}};this.calculateContentHeight=function(e,t){var n=e.style.height,a=e.offsetHeight,i=e.scrollHeight,o=e.style.overflow,r=e.style.minHeight||null;if(a>=i){e.style.minHeight=0;e.style.height=a+t+"px";e.style.overflow="hidden";if(i<e.scrollHeight){while(e.offsetHeight>=e.scrollHeight){e.style.height=(a-=t)+"px"}while(e.offsetHeight<e.scrollHeight){e.style.height=a+++"px"}e.style.height=n;e.style.overflow=o;e.style.minHeight=r;return a}}else{return i}};this.getNumberOfLines=function(){var e=t.textareaRef,n=window.getComputedStyle?window.getComputedStyle(e):e.style,a=parseInt(n.lineHeight,10),i=t.calculateContentHeight(e,a),o=Math.floor(i/a);return o};this.value=undefined;this.placeholder=undefined;this.disabled=false;this.maxlength=140;this.autoFocus=false;this.autoHeight=false;this.name=undefined;this.nativeProps={};this.line=1}e.prototype.focus=function(){this.textareaRef.focus()};e.prototype.componentDidLoad=function(){var e=this;Object.defineProperty(this.el,"value",{get:function(){return e.textareaRef.value},set:function(t){return e.value=t},configurable:true})
|
|
2
|
-
//# sourceMappingURL=taro-textarea-core.entry.js.map
|
|
1
|
+
import{r as registerInstance,c as createEvent,h,g as getElement}from"./index-c948674f.js";var indexCss="taro-textarea-core{display:block;width:300px}taro-textarea-core .auto-height{height:auto}.taro-textarea{display:block;position:relative;border:0;width:100%;height:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto;line-height:1.5}.taro-textarea:focus{outline:none}";function fixControlledValue(e){return e!==null&&e!==void 0?e:""}var Textarea=function(){function e(e){var t=this;registerInstance(this,e);this.onInput=createEvent(this,"input",7);this.onFocus=createEvent(this,"focus",7);this.onBlur=createEvent(this,"blur",7);this.onChange=createEvent(this,"change",7);this.onLineChange=createEvent(this,"linechange",7);this.handleInput=function(e){e.stopPropagation();t.handleLineChange();var n=e.target.value||"";t.onInput.emit({value:n,cursor:n.length})};this.handleFocus=function(e){e.stopPropagation();t.onFocus.emit({value:e.target.value})};this.handleBlur=function(e){e.stopPropagation();t.onBlur.emit({value:e.target.value})};this.handleChange=function(e){e.stopPropagation();t.onChange.emit({value:e.target.value})};this.handleLineChange=function(){var e=t.getNumberOfLines();if(e!==t.line){t.line=e;t.onLineChange.emit({height:t.textareaRef.clientHeight,lineCount:t.line})}};this.calculateContentHeight=function(e,t){var n=e.style.height,a=e.offsetHeight,i=e.scrollHeight,o=e.style.overflow,r=e.style.minHeight||null;if(a>=i){e.style.minHeight=0;e.style.height=a+t+"px";e.style.overflow="hidden";if(i<e.scrollHeight){while(e.offsetHeight>=e.scrollHeight){e.style.height=(a-=t)+"px"}while(e.offsetHeight<e.scrollHeight){e.style.height=a+++"px"}e.style.height=n;e.style.overflow=o;e.style.minHeight=r;return a}}else{return i}};this.getNumberOfLines=function(){var e=t.textareaRef,n=window.getComputedStyle?window.getComputedStyle(e):e.style,a=parseInt(n.lineHeight,10),i=t.calculateContentHeight(e,a),o=Math.floor(i/a);return o};this.value=undefined;this.placeholder=undefined;this.disabled=false;this.maxlength=140;this.autoFocus=false;this.autoHeight=false;this.name=undefined;this.nativeProps={};this.line=1}e.prototype.watchAutoFocus=function(e,t){var n;if(!t&&e){(n=this.textareaRef)===null||n===void 0?void 0:n.focus()}};e.prototype.focus=function(){this.textareaRef.focus()};e.prototype.componentDidLoad=function(){var e=this;Object.defineProperty(this.el,"value",{get:function(){return e.textareaRef.value},set:function(t){return e.value=t},configurable:true})};e.prototype.render=function(){var e=this;var t=this,n=t.value,a=t.placeholder,i=t.disabled,o=t.maxlength,r=t.autoFocus,l=t.autoHeight,s=t.name,u=t.nativeProps,c=t.handleInput,f=t.handleFocus,g=t.handleBlur,p=t.handleChange;var d={};if(l){d.rows=this.line}return h("textarea",Object.assign({ref:function(t){if(t){e.textareaRef=t;if(r&&t)t.focus()}},class:"taro-textarea ".concat(l?"auto-height":""),value:fixControlledValue(n),placeholder:a,name:s,disabled:i,maxlength:o,autofocus:r,onInput:c,onFocus:f,onBlur:g,onChange:p},u,d))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{autoFocus:["watchAutoFocus"]}},enumerable:false,configurable:true});return e}();Textarea.style=indexCss;export{Textarea as taro_textarea_core};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r["throw"](e))}catch(e){o(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,a)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,n,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return l([e,t])}}function l(a){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(i=0)),i)try{if(r=1,n&&(o=a[0]&2?n["return"]:a[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;if(n=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;n=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(a[0]===6&&i.label<o[1]){i.label=o[1];o=a;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(a);break}if(o[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var r=0,n=t.length,o;r<n;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};import{r as registerInstance,h,H as Host,g as getElement,c as createEvent}from"./index-c948674f.js";import{c as classnames}from"./index-1d8e8acd.js";import{t as throttle}from"./index-d1b03e47.js";var formatTime=function(e){if(!e)return"";var t=Math.round(e%60);var i=Math.round((e-t)/60);return"".concat(i<10?"0".concat(i):i,":").concat(t<10?"0".concat(t):t)};var calcDist=function(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))};var normalizeNumber=function(e){return Math.max(-1,Math.min(e,1))};var scene="default";var screenFn=function(){var e;var t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];var i=["webkitEnterFullscreen","webkitExitFullscreen","webkitCurrentFullScreenElement","webkitSupportsFullscreen","fullscreenchange","fullscreenerror"];var r=0;var n=t.length;var o={};for(;r<n;r++){e=t[r];if(e&&e[1]in document){for(r=0;r<e.length;r++){o[t[0][r]]=e[r]}return o}}if(!o[t[0][0]]){scene="iOS";for(r=0;r<i.length;r++){o[t[0][r]]=i[r]}}return o}();var isHls=function(e){return/\.(m3u8)($|\?)/i.test(e)};var VideoControl=function(){function e(e){var t=this;registerInstance(this,e);this.visible=false;this.isDraggingProgressBall=false;this.percentage=0;this.progressDimensions={left:0,width:0};this.calcPercentage=function(e){var i=e-t.progressDimensions.left;i=Math.max(i,0);i=Math.min(i,t.progressDimensions.width);return i/t.progressDimensions.width};this.onDragProgressBallStart=function(){t.isDraggingProgressBall=true;t.hideControlsTimer&&clearTimeout(t.hideControlsTimer)};this.onClickProgress=function(e){e.stopPropagation();var i=t.calcPercentage(e.pageX);t.seekFunc(i*t.duration);t.toggleVisibility(true)};this.controls=undefined;this.currentTime=undefined;this.duration=undefined;this.isPlaying=undefined;this.pauseFunc=undefined;this.playFunc=undefined;this.seekFunc=undefined;this.showPlayBtn=undefined;this.showProgress=undefined}e.prototype.onDocumentTouchMove=function(e){if(!this.isDraggingProgressBall)return;var t=e.touches[0].pageX;this.percentage=this.calcPercentage(t);this.setProgressBall(this.percentage);this.setCurrentTime(this.percentage*this.duration)};e.prototype.onDocumentTouchEnd=function(){if(!this.isDraggingProgressBall)return;this.isDraggingProgressBall=false;this.seekFunc(this.percentage*this.duration);this.toggleVisibility(true)};e.prototype.setProgressBall=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.progressBallRef){this.progressBallRef.style.left="".concat(e*100,"%")}return[2]}))}))};e.prototype.toggleVisibility=function(e){return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(r){t=e===undefined?!this.visible:e;if(t){this.hideControlsTimer&&clearTimeout(this.hideControlsTimer);if(this.isPlaying){this.hideControlsTimer=setTimeout((function(){i.toggleVisibility(false)}),2e3)}this.el.style.visibility="visible"}else{this.el.style.visibility="hidden"}this.visible=!!t;return[2]}))}))};e.prototype.getIsDraggingProgressBall=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.isDraggingProgressBall]}))}))};e.prototype.setCurrentTime=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentTimeRef.innerHTML=formatTime(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,i=t.controls,r=t.currentTime,n=t.duration,o=t.isPlaying,s=t.pauseFunc,a=t.playFunc,l=t.showPlayBtn,u=t.showProgress;var c=formatTime(n);var d;if(!l){d=null}else if(o){d=h("div",{class:"taro-video-control-button taro-video-control-button-pause",onClick:s})}else{d=h("div",{class:"taro-video-control-button taro-video-control-button-play",onClick:a})}return h(Host,{class:"taro-video-bar taro-video-bar-full"},i&&h("div",{class:"taro-video-controls"},d,u&&h("div",{class:"taro-video-current-time",ref:function(t){return e.currentTimeRef=t}},formatTime(r)),u&&h("div",{class:"taro-video-progress-container",onClick:this.onClickProgress},h("div",{class:"taro-video-progress",ref:function(t){if(!t)return;var i=t.getBoundingClientRect();e.progressDimensions.left=i.left;e.progressDimensions.width=i.width}},h("div",{class:"taro-video-progress-buffered",style:{width:"100%"}}),h("div",{class:"taro-video-ball",ref:function(t){return e.progressBallRef=t},onTouchStart:this.onDragProgressBallStart,style:{left:"".concat(c?this.currentTime/n*100:0,"%")}},h("div",{class:"taro-video-inner"})))),u&&h("div",{class:"taro-video-duration"},c)),h("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();var indexCss='.taro-video{display:inline-block;overflow:hidden;position:relative;width:100%;height:225px;line-height:0}.taro-video[hidden]{display:none}.taro-video-container{display:inline-block;position:absolute;left:0;top:0;width:100%;height:100%;background-color:#000;-o-object-position:inherit;object-position:inherit}.taro-video-container.taro-video-type-fullscreen{position:fixed;left:0;right:0;top:0;bottom:0;z-index:999}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left{-webkit-transform:translate(-50%, -50%) rotate(-90deg);transform:translate(-50%, -50%) rotate(-90deg)}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right{-webkit-transform:translate(-50%, -50%) rotate(90deg);transform:translate(-50%, -50%) rotate(90deg)}.taro-video-video{width:100%;height:100%;-o-object-position:inherit;object-position:inherit}.taro-video-cover{display:-ms-flexbox;display:flex;position:absolute;left:0;top:0;bottom:0;z-index:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:100%;background-color:rgba(1, 1, 1, 0.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-pack:center;-webkit-box-align:center}.taro-video-cover-play-button{width:40px;height:40px;background-repeat:no-repeat;background-position:50% 50%;background-size:50%}.taro-video-cover-duration{margin-top:10px;line-height:1;font-size:16px;color:#fff}.taro-video-bar{display:-ms-flexbox;display:flex;visibility:hidden;overflow:hidden;position:absolute;right:0;bottom:0;z-index:1;-ms-flex-align:center;align-items:center;padding:0 10px;height:44px;background-color:rgba(0, 0, 0, 0.5);-webkit-box-align:center}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px}.taro-video-control-button{-webkit-box-sizing:content-box;box-sizing:content-box;margin-left:-8.5px;padding:14.5px 12.5px;width:13px;height:15px}.taro-video-control-button::after{display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:50% 50%;background-size:100%;content:""}.taro-video-control-button.taro-video-control-button-play::after,.taro-video-cover-play-button{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==")}.taro-video-control-button.taro-video-control-button-pause::after{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC")}.taro-video-current-time,.taro-video-duration{margin-top:15px;margin-bottom:14.5px;height:14.5px;line-height:14.5px;font-size:12px;color:#cbcbcb}.taro-video-progress-container{position:relative;-ms-flex-positive:2;flex-grow:2;-webkit-box-flex:2}.taro-video-progress{position:relative;margin:21px 12px;height:2px;background-color:rgba(255, 255, 255, 0.4)}.taro-video-progress-buffered{position:absolute;left:0;top:0;width:0;height:100%;background-color:rgba(255, 255, 255, 0.8);-webkit-transition:width 0.1s;transition:width 0.1s}.taro-video-ball{position:absolute;left:0;top:-21px;-webkit-box-sizing:content-box;box-sizing:content-box;margin-left:-22px;padding:14px;width:16px;height:16px}.taro-video-inner{border-radius:50%;width:100%;height:100%;background-color:#fff}.taro-video-danmu-button{margin:0 8.5px;padding:2px 10px;border:1px solid #fff;border-radius:5px;line-height:1;font-size:13px;color:#fff;white-space:nowrap}.taro-video-danmu-button.taro-video-danmu-button-active{border-color:#48c23d;color:#48c23d}.taro-video-fullscreen,.taro-video-mute{-webkit-box-sizing:content-box;box-sizing:content-box;padding:8.5px;width:17px;height:17px;background-repeat:no-repeat;background-position:50% 50%;background-size:50%}.taro-video-fullscreen{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAhUlEQVRYR+2WSwrAMAhEnZO3PfmULLooGEFTiIXJ2s/kRY2wzQeb85sE9CRA8jSzY1YfAFzhJBnU1AVgxH2dSiArCnD9QgGzRNnOech48SRABHoSyFb5in3PSbhyo6yvCPQkEM3u7BsPe/0FIvBfAh/vhKmVbO9SWun1qk/PSVi9TcVPBG6R1YIhgWwNpQAAAABJRU5ErkJggg==")}.taro-video-fullscreen.taro-video-type-fullscreen{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABPUlEQVRYR+2Xu0pDURBF1/ZLxNcHKNiIlfhA7C0UBSEE8RNEBNFPUEQEEbGxFiSSSrCwEHsf5E/ccsSUuWfUhKQ40947+y42Z8+ZK/pcinzf9hhwD1xJ2q/qsb0JHAOzkl5y+lGAGnCWICQtZgAS6DxQk3TeLYA6cAo0JSXxjmW7CcwBdUkJurKiDhSA4kBvHbA9CqwBQx2O7BSw8ssU3ALPFRF4knT3nQLbr8B4LjLBOdAAFgJaLUkjbYC9n+zm+i4kXWbmwCqwnRMCHiXthuZAQOzPrxSA4kBxYDAcsH0EzATCfCLpJjOINoCtgFZabg7bk7AFDAeaGpKWgitZTu5N0kQbYBmYrujo9mX0CVxL+gidAdu9vY5zXhWA4sAgOND3X7NJ4AHYCaxkB8B62gslvecSFpoDOZH/PP8Cnt7hIaM5xCEAAAAASUVORK5CYII=")}.taro-video-mute{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTg6MjArMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjk3YmE4Yjg0LTFhNTYtNGM1MS04NDVkLTNiZmYyMGI0ZDc0ZiIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjg1NGQ3MjlkLWUwNjctZjU0OC1hMTlhLTBlZjQ4OGRkYjJiOSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjA1ODY3ZDFlLWQ3NGEtNDgyNC04MDU3LTYzYmRmMTdjODk5ZSI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDU4NjdkMWUtZDc0YS00ODI0LTgwNTctNjNiZGYxN2M4OTllIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE4OjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6OTdiYThiODQtMWE1Ni00YzUxLTg0NWQtM2JmZjIwYjRkNzRmIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz459+FoAAABqElEQVRYhc2XPWsVQRSGnxPjF4oGRfxoRQKGWCU2Ft7CykrQWosEyf/If0hhIPgHDEmbNJZqCFxiQEgTUGxsBUVEHgvnyrjZZJO92V1fGIaZnTPvszPszNlQ6VIjnbr/DwCoDLMNak/dUVfUK0f2rQugnlcX/FevWgFQH6gf3autRgHUC+piiXHzAOmtPx9gXgug8itQx9SXwDpw47AGKXZWvXvQmNFCwE3gCXA2dY0Az4GrRzHONA9cU/vAbERsllEOyh31e8USV2mrMPdG9uyn+rDom2/BHHCm5puWKiKmgdtAnz+rvaxO5mNygEvHaZ5BfADuARvAaWBpP4DGFBHfgBngFzClTrUKkCDeA+9S837rAEnbqb7VFcCpVJ/oCmCw959aB1AfAROpudYqgDoOLKRmPyLelAF8bcD4pPoMeAtcB34AT4uDBqXXwFG8XXUU/72MIuK1OgE8Bs6l7mEvo8up7lN1Ge0n9aK6VHMFZvJTr9S3CiALaCQhqZOSvegMIAvu2UVSWpigLC1fbQ0gm6in7qpfLCQbhwGIYcyPQ53/G3YO8BtUtd35bvKcVwAAAABJRU5ErkJggg==")}.taro-video-mute.taro-video-type-mute{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTk6MDMrMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjAzYjJmNjE2LTZmZTUtNDJjNC1iNTgwLTczNzZjZjI2NzdmNSIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjYzZjQ2NTYzLWE0ZjktOGQ0Mi1hM2FhLTY3ODJhNDBhYWNjMSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjIyYWNjMWFlLTg4ZmMtNDBlZi1iMWM1LTNmODgwY2QzYWI2MiI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MjJhY2MxYWUtODhmYy00MGVmLWIxYzUtM2Y4ODBjZDNhYjYyIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE5OjAzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDNiMmY2MTYtNmZlNS00MmM0LWI1ODAtNzM3NmNmMjY3N2Y1IiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5PmxYVAAACLklEQVRYhc2XP2sVQRRHz40hKoqaQgVBCy1EozFlGiVFxMLGh4piYWEh+hkEP4YKAVFEEFTyughaCH6DqIVpAhYWEgIxoJE8cywyi5tNHu/tJmvyg2WZO3dmzt47/zZUtoJ6Nhsg09YDiYhKDzACTAFNYH9lEpUq80TdrT5wpV5n/ZV9KoGoo+pXV2uyKkipOaLuUceAt8DhUvQd1FsCYhR4ChzaSIBMHSOi7lOfsByFWiCgEBH1GHAF2JlMPcBt4GC3HUYEaj9wF3gVEVPtfNVTwAXgWX7CDKq/1piAZTSZBmim8qJ6sQ3EgDqb/L7kU3MH2NHtl3dQX3r3Ak21UYAYAj4A/cl0JB+RF+uMRj4iQ+p8zt7KYFLdXKHuRi0gacBhV6a6pd5bA6KRNagFJPU9qv5u47toLmW1HnoR8Q5oAK1CVQu4FBHj/wUkaXsb+4pzpVaQFPqXrN7Be4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC")}.taro-video-danmu{overflow:visible;position:absolute;left:0;top:0;bottom:0;margin-top:14px;margin-bottom:44px;width:100%;line-height:14px;font-size:14px}.taro-video-danmu-item{position:absolute;left:100%;line-height:1;color:#fff;white-space:nowrap;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition-property:left, -webkit-transform;transition-property:left, -webkit-transform;transition-property:left, transform;transition-property:left, transform, -webkit-transform;-webkit-transition-duration:3s;transition-duration:3s;-webkit-transition-timing-function:linear;transition-timing-function:linear}.taro-video-toast{display:block;visibility:hidden;position:absolute;left:50%;top:50%;border-radius:5px;background-color:rgba(255, 255, 255, 0.8);pointer-events:none;color:#000;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-video-toast.taro-video-toast-volume{display:block;width:100px;height:100px}.taro-video-toast-volume .taro-video-toast-title{display:block;margin-top:10px;width:100%;line-height:16px;text-align:center;font-size:12px}.taro-video-toast-volume .taro-video-toast-icon{display:block;margin-left:25%;width:50%;height:50%;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189PbTRBGwKzAYO6iT4srbAMHfTfAksjulS1iG4JzAH2Dy2YKS/qAVcCdzi1vgZOBZ4PWvNGAG6wgYCW0IwctzNmf06BcEXtYABwOeA4otEfgEOdnGGqV6IAAUopwM6zDYuAVjeKYpYwCjgCWOhH513+b2lhE+Avrj89NPyalzyuCIE6EN9BfQ1dHoPOAD40+9LE6D/5aoqSqtLsgiQC60DTiHzfGCFoaSsQAexZdlTgEuyCDgLuK8u5G7dEAHyKN8CBrtxLwDHAX8Z+l4N3GS0L3db4aN0X5opmc+2XZQAfb2LPd2eciG1lUSRJZ9qYHkZONwiYAjwSc3gs24BXWWWfzEVuMjQez13HljX8v7A28lvEgsInaBVcxLaAvr6sgJLtBWeNTrOB+4w2p8DRvoEnAPcXTVaY70QAbrbXwIONX7zBSAL/tvrk1+iviTllnRry2irr/QSEws4D7izCxMg1XQLLAQGGXpeCkw22kOWI49RMUujCJC+uwAfGtfcImAng4AtAMsBeg04pIkESOfbgQsMsNoGnxrtSrfv7rXrSlwXWN6kLZBgEBiB8iWUUZZPIN/AF1nMoiYSICDfAlt5iB4CxhpAzwXuMtqPBuY1lYB5wFEeqFeAwwyguvIUqvuiQO/xphJwP3Cmhyh0EKrOoGDIF7n+M5pKwEwXrqdBCaQSM77Ig7SSIicDs5pKwIvACA+pzFwZIF9OlKm36QyQV7jEqDDJk5VD58uFgGIGX1Se+6yJFqAKsqI6X84GdDb4Mh0Y5zUqjFYFakUTCXja5QLSmBQHbAL8ahAgT1AeYVreSKLLphGwF/CuAfLJQLldGSTFD75c5d4mNCoWyAqG9gYWGED1AOMKo12ZbiWA/idA++deY2DVTZ0Jh5UJPsFQtD/wDaAHGWl5EzgwaUi2gK4UXS11S0cTIjrMFBtYQdAk4DID0BnAAz4B6wNLgTKKG0VIDBHwqitwpOcW+OOB540FdeipNKbUWFrUtn06o5xOij4KyDuqU0IE3Obl/rLA63pTzm9XA8jKACjdniZAaSKFmUpB1yUhAlTsUEpMh913wEkuTe7rKTzPAHqO44vpKPkFhH3cWWBVV6ogJVYZUgz/tXtIYelzI3Ct0fExIGx6j7iKWBUUveyYBehv1RIjIEsfqziq8Xp4pSBJOYTVJFQcVY3wCFeKUjVGyYfQWB00+5bEVBECrNS+qsOKBpVHNCVWHs+LS7H5PV5pOu9v0+OKEOAXR39w1e1C7wM6AkJ1eLmkRcrpRQiQrqobXO5S3vL3/4kBKMsCknV0k+iasVLUMV3UX5SAPGtED8EOT+L9YENnCasUIXNO2goChFWHqAIRyxXN4qI1BCQg9dJESYq8LnbrCBAR8t50Lig6i0krCRBoVWhVlt45wkBrCRBuRZyPuAguxIPe9lXqhpd9DcZMXOvdkPF0Xu/8dohNUmZ/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==");background-repeat:no-repeat;background-position:50% 50%;background-size:50%;fill:#000}.taro-video-toast-volume .taro-video-toast-value{margin-left:10px;margin-top:5px;width:80px;height:5px}.taro-video-toast-volume .taro-video-toast-value>.taro-video-toast-value-content{overflow:hidden}.taro-video-toast-volume-grids{width:80px;height:5px}.taro-video-toast-volume-grids-item{float:left;width:7.1px;height:5px;background-color:#000}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{padding:6px;background-color:rgba(0, 0, 0, 0.8);line-height:18px;font-size:14px;color:#fff}';var Video=function(){function e(e){var t=this;registerInstance(this,e);this.onPlay=createEvent(this,"play",7);this.onPause=createEvent(this,"pause",7);this.onEnded=createEvent(this,"ended",7);this.onTimeUpdate=createEvent(this,"timeupdate",7);this.onError=createEvent(this,"error",7);this.onFullScreenChange=createEvent(this,"fullscreenchange",7);this.onProgress=createEvent(this,"progress",7);this.onLoadedMetaData=createEvent(this,"loadedmetadata",7);this.currentTime=0;this.isDraggingProgress=false;this.gestureType="none";this.analyzeGesture=function(e){var i;var r={type:"none"};var n=e.touches[0].screenX;var o=e.touches[0].screenY;var s=n-t.lastTouchScreenX;var a=o-t.lastTouchScreenY;var l=t.isFullScreen?t.vslideGestureInFullscreen:t.vslideGesture;if(t.gestureType==="none"){var u=calcDist(s,a);if(u<10)return r;if(Math.abs(a)>=Math.abs(s)){if(l){t.gestureType="adjustVolume";t.lastVolume=t.videoRef.volume}else{return r}}else if(Math.abs(a)<Math.abs(s)){if(t.enableProgressGesture){t.gestureType="adjustProgress";t.lastPercentage=t.currentTime/((i=t.duration)!==null&&i!==void 0?i:t._duration)}else{return r}}}r.type=t.gestureType;r.dataX=normalizeNumber(s/200);r.dataY=normalizeNumber(a/200);return r};this.loadNativePlayer=function(){var e,i;if(t.videoRef){t.videoRef.src=t.src;(i=(e=t.videoRef).load)===null||i===void 0?void 0:i.call(e)}};this.init=function(){var e=t,i=e.src,r=e.videoRef;if(isHls(i)){import("./hls-221423a1.js").then((function(e){return e.h})).then((function(e){var n=e.default;t.HLS=n;if(n.isSupported()){if(t.hls){t.hls.destroy()}t.hls=new n;t.hls.loadSource(i);t.hls.attachMedia(r);t.hls.on(n.Events.MANIFEST_PARSED,(function(){t.autoplay&&t.play()}));t.hls.on(n.Events.ERROR,(function(e,i){t.handleError(i)}))}else if(r.canPlayType("application/vnd.apple.mpegurl")){t.loadNativePlayer()}else{console.error("该浏览器不支持 HLS 播放")}}))}else{t.loadNativePlayer()}};this.handlePlay=function(){t.isPlaying=true;t.isFirst=false;t.controlsRef.toggleVisibility(true);t.onPlay.emit()};this.handlePause=function(){t.isPlaying=false;t.controlsRef.toggleVisibility(true);t.onPause.emit()};this.handleEnded=function(){t.isFirst=true;t.pause();t.controlsRef.toggleVisibility();t.onEnded.emit()};this.handleTimeUpdate=throttle((function(e){return __awaiter(t,void 0,void 0,(function(){var t,i,r,n;return __generator(this,(function(o){switch(o.label){case 0:this.currentTime=this.videoRef.currentTime;r=this.duration||this._duration;return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:n=o.sent();if(this.controls&&this.showProgress){if(!n&&!this.isDraggingProgress){this.controlsRef.setProgressBall(this.currentTime/r);this.controlsRef.setCurrentTime(this.currentTime)}}this.danmuRef.tick(this.currentTime);this.onTimeUpdate.emit({duration:(t=e.target)===null||t===void 0?void 0:t.duration,currentTime:(i=e.target)===null||i===void 0?void 0:i.currentTime});if(this.duration){if(this.currentTime>=this.duration){this.seek(0);this.handleEnded()}}return[2]}}))}))}),250);this.handleError=function(e){var i,r;if(t.hls){switch(e.type){case t.HLS.ErrorTypes.NETWORK_ERROR:t.onError.emit({errMsg:e.response});t.hls.startLoad();break;case t.HLS.ErrorTypes.MEDIA_ERROR:t.onError.emit({errMsg:e.reason||"媒体错误,请重试"});t.hls.recoverMediaError();break}}else{t.onError.emit({errMsg:(r=(i=e.target)===null||i===void 0?void 0:i.error)===null||r===void 0?void 0:r.message})}};this.handleDurationChange=function(){t._duration=t.videoRef.duration};this.handleProgress=function(){t.onProgress.emit()};this.handleLoadedMetaData=function(e){var i=e.target;t.onLoadedMetaData.emit({width:i.videoWidth,height:i.videoHeight,duration:i.duration})};this._play=function(){return t.videoRef.play()};this._pause=function(){return t.videoRef.pause()};this._stop=function(){t.videoRef.pause();t._seek(0)};this._seek=function(e){t.videoRef.currentTime=e};this.onTouchStartContainer=function(e){t.lastTouchScreenX=e.touches[0].screenX;t.lastTouchScreenY=e.touches[0].screenY};this.onClickContainer=function(){if(t.enablePlayGesture){var e=Date.now();if(e-t.lastClickedTime<300){t.isPlaying?t.pause():t.play()}t.lastClickedTime=e}t.controlsRef.toggleVisibility()};this.onClickFullScreenBtn=function(e){e.stopPropagation();t.toggleFullScreen()};this.handleFullScreenChange=function(e){var i=(new Date).getTime();if(!e.detail&&t.isFullScreen&&!document[screenFn.fullscreenElement]&&i-t.fullScreenTimestamp>100){t.toggleFullScreen(false)}};this.toggleFullScreen=function(e){if(e===void 0){e=!t.isFullScreen}t.isFullScreen=e;t.controlsRef.toggleVisibility(true);t.fullScreenTimestamp=(new Date).getTime();t.onFullScreenChange.emit({fullScreen:t.isFullScreen,direction:"vertical"});if(t.isFullScreen&&!document[screenFn.fullscreenElement]){setTimeout((function(){t.videoRef[screenFn.requestFullscreen]({navigationUI:"auto"})}),0)}};this.toggleMute=function(e){e.stopPropagation();t.videoRef.muted=!t.isMute;t.controlsRef.toggleVisibility(true);t.isMute=!t.isMute};this.toggleDanmu=function(e){e.stopPropagation();t.controlsRef.toggleVisibility(true);t._enableDanmu=!t._enableDanmu};this.src=undefined;this.duration=undefined;this.controls=true;this.autoplay=false;this.loop=false;this.muted=false;this.initialTime=0;this.poster=undefined;this.objectFit="contain";this.showProgress=true;this.showFullscreenBtn=true;this.showPlayBtn=true;this.showCenterPlayBtn=true;this.showMuteBtn=false;this.danmuList=undefined;this.danmuBtn=false;this.enableDanmu=false;this.enablePlayGesture=false;this.enableProgressGesture=true;this.vslideGesture=false;this.vslideGestureInFullscreen=true;this.nativeProps={};this._duration=undefined;this._enableDanmu=false;this.isPlaying=false;this.isFirst=true;this.isFullScreen=false;this.fullScreenTimestamp=(new Date).getTime();this.isMute=false}e.prototype.componentWillLoad=function(){this._enableDanmu=this.enableDanmu};e.prototype.componentDidLoad=function(){var e,t;this.init();if(this.initialTime){this.videoRef.currentTime=this.initialTime}(t=(e=this.danmuRef).sendDanmu)===null||t===void 0?void 0:t.call(e,this.danmuList);if(document.addEventListener){document.addEventListener(screenFn.fullscreenchange,this.handleFullScreenChange)}if(this.videoRef&&scene==="iOS"){this.videoRef.addEventListener("webkitendfullscreen",this.handleFullScreenChange)}};e.prototype.componentDidRender=function(){};e.prototype.disconnectedCallback=function(){if(document.removeEventListener){document.removeEventListener(screenFn.fullscreenchange,this.handleFullScreenChange)}if(this.videoRef&&scene==="iOS"){this.videoRef.removeEventListener("webkitendfullscreen",this.handleFullScreenChange)}};e.prototype.watchEnableDanmu=function(e){this._enableDanmu=e};e.prototype.watchSrc=function(){this.init()};e.prototype.onDocumentTouchMove=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r;return __generator(this,(function(n){switch(n.label){case 0:if(this.lastTouchScreenX===undefined||this.lastTouchScreenY===undefined)return[2];return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:if(n.sent())return[2];t=this.analyzeGesture(e);if(t.type==="adjustVolume"){this.toastVolumeRef.style.visibility="visible";i=Math.max(Math.min(this.lastVolume-t.dataY,1),0);this.videoRef.volume=i;this.toastVolumeBarRef.style.width="".concat(i*100,"%")}else if(t.type==="adjustProgress"){this.isDraggingProgress=true;this.nextPercentage=Math.max(Math.min(this.lastPercentage+(t.dataX||0),1),0);if(this.controls&&this.showProgress){this.controlsRef.setProgressBall(this.nextPercentage);this.controlsRef.toggleVisibility(true)}r=this.duration||this._duration;this.toastProgressTitleRef.innerHTML="".concat(formatTime(this.nextPercentage*r)," / ").concat(formatTime(r));this.toastProgressRef.style.visibility="visible"}return[2]}}))}))};e.prototype.onDocumentTouchEnd=function(){var e;if(this.gestureType==="adjustVolume"){this.toastVolumeRef.style.visibility="hidden"}else if(this.gestureType==="adjustProgress"){this.toastProgressRef.style.visibility="hidden"}if(this.isDraggingProgress){this.isDraggingProgress=false;this.seek(this.nextPercentage*((e=this.duration)!==null&&e!==void 0?e:this._duration))}this.gestureType="none";this.lastTouchScreenX=undefined;this.lastTouchScreenY=undefined};e.prototype.getHlsObject=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.hls]}))}))};e.prototype.play=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._play();return[2]}))}))};e.prototype.pause=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._pause();return[2]}))}))};e.prototype.stop=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._stop();return[2]}))}))};e.prototype.seek=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this._seek(e);return[2]}))}))};e.prototype.requestFullScreen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleFullScreen(true);return[2]}))}))};e.prototype.exitFullScreen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleFullScreen(false);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,i=t.controls,r=t.autoplay,n=t.loop,o=t.muted,s=t.poster,a=t.objectFit,l=t.isFirst,u=t.isMute,c=t.isFullScreen,d=t.showCenterPlayBtn,g=t.isPlaying,f=t._enableDanmu,p=t.showMuteBtn,A=t.danmuBtn,v=t.showFullscreenBtn,m=t.nativeProps;var b=this.duration||this._duration;var y=formatTime(b);return h(Host,{class:classnames("taro-video-container",{"taro-video-type-fullscreen":c}),onTouchStart:this.onTouchStartContainer,onClick:this.onClickContainer},h("video",Object.assign({class:"taro-video-video",style:{"object-fit":a},ref:function(t){if(t){e.videoRef=t}},autoplay:r,loop:n,muted:o,poster:i?s:undefined,playsinline:true,"webkit-playsinline":true,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onTimeUpdate:this.handleTimeUpdate,onError:this.handleError,onDurationChange:this.handleDurationChange,onProgress:this.handleProgress,onLoadedMetaData:this.handleLoadedMetaData},m),"暂时不支持播放该视频"),h("taro-video-danmu",{ref:function(t){if(t){e.danmuRef=t}},enable:f}),l&&d&&!g&&h("div",{class:"taro-video-cover"},h("div",{class:"taro-video-cover-play-button",onClick:function(){return e.play()}}),h("p",{class:"taro-video-cover-duration"},y)),h("taro-video-control",{ref:function(t){if(t){e.controlsRef=t}},controls:i,currentTime:this.currentTime,duration:b,isPlaying:this.isPlaying,pauseFunc:this._pause,playFunc:this._play,seekFunc:this._seek,showPlayBtn:this.showPlayBtn,showProgress:this.showProgress},p&&h("div",{class:classnames("taro-video-mute",{"taro-video-type-mute":u}),onClick:this.toggleMute}),A&&h("div",{class:classnames("taro-video-danmu-button",{"taro-video-danmu-button-active":f}),onClick:this.toggleDanmu},"弹幕"),v&&h("div",{class:classnames("taro-video-fullscreen",{"taro-video-type-fullscreen":c}),onClick:this.onClickFullScreenBtn})),h("div",{class:"taro-video-toast taro-video-toast-volume",ref:function(t){if(t){e.toastVolumeRef=t}}},h("div",{class:"taro-video-toast-title"},"音量"),h("div",{class:"taro-video-toast-icon"}),h("div",{class:"taro-video-toast-value"},h("div",{class:"taro-video-toast-value-content",ref:function(t){if(t){e.toastVolumeBarRef=t}}},h("div",{class:"taro-video-toast-volume-grids"},Array(10).fill(1).map((function(){return h("div",{class:"taro-video-toast-volume-grids-item"})})))))),h("div",{class:"taro-video-toast taro-video-toast-progress",ref:function(t){if(t){e.toastProgressRef=t}}},h("div",{class:"taro-video-toast-title",ref:function(t){if(t){e.toastProgressTitleRef=t}}})))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{enableDanmu:["watchEnableDanmu"],src:["watchSrc"]}},enumerable:false,configurable:true});return e}();Video.style=indexCss;var VideoDanmu=function(){function e(e){registerInstance(this,e);this.list=[];this.danmuElList=[];this.currentTime=0;this.enable=false;this.danmuList=[]}e.prototype.ensureProperties=function(e){var t=Object.assign({},e);if(!("time"in e)){t.time=this.currentTime}t.key=Math.random();t.bottom="".concat(Math.random()*90+5,"%");return t};e.prototype.sendDanmu=function(e){if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(r){if(Array.isArray(e)){this.list=__spreadArray(__spreadArray([],this.list,true),e.map((function(e){return i.ensureProperties(e)})),true)}else{t=e;this.list=__spreadArray(__spreadArray([],this.list,true),[Object.assign({},this.ensureProperties(t))],false)}return[2]}))}))};e.prototype.tick=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r,n;return __generator(this,(function(o){this.currentTime=e;if(!this.enable)return[2];t=this.list;i=t.filter((function(t){var i=t.time;return e-i<4&&e>i}));r=false;n=this.danmuList;if(i.length!==n.length){r=true}else{r=i.some((function(e){var t=e.key;return n.every((function(e){return t!==e.key}))}))}if(r){this.danmuList=i}return[2]}))}))};e.prototype.componentDidUpdate=function(){var e=this;requestAnimationFrame((function(){setTimeout((function(){var t=e.danmuElList.splice(0);t.forEach((function(e){e.style.left="0";e.style.webkitTransform="translateX(-100%)";e.style.transform="translateX(-100%)"}))}))}))};e.prototype.render=function(){var e=this;if(!this.enable)return"";return h(Host,{class:"taro-video-danmu"},this.danmuList.map((function(t){var i=t.text,r=t.color,n=t.bottom,o=t.key;return h("p",{class:"taro-video-danmu-item",key:o,style:{color:r,bottom:n},ref:function(t){if(t){e.danmuElList.push(t)}}},i)})))};return e}();export{VideoControl as taro_video_control,Video as taro_video_core,VideoDanmu as taro_video_danmu};
|
|
2
|
-
//# sourceMappingURL=taro-video-control_3.entry.js.map
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function s(e){try{l(r.next(e))}catch(e){o(e)}}function a(e){try{l(r["throw"](e))}catch(e){o(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,a)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,n,o,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return l([e,t])}}function l(a){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(i=0)),i)try{if(r=1,n&&(o=a[0]&2?n["return"]:a[0]?n["throw"]||((o=n["return"])&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;if(n=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;n=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(a[0]===6&&i.label<o[1]){i.label=o[1];o=a;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(a);break}if(o[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];n=0}finally{r=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var r=0,n=t.length,o;r<n;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};import{r as registerInstance,h,H as Host,g as getElement,c as createEvent}from"./index-c948674f.js";import{c as classnames}from"./index-1d8e8acd.js";import{t as throttle}from"./index-d1b03e47.js";var formatTime=function(e){if(!e)return"";var t=Math.round(e%60);var i=Math.round((e-t)/60);return"".concat(i<10?"0".concat(i):i,":").concat(t<10?"0".concat(t):t)};var calcDist=function(e,t){return Math.sqrt(Math.pow(e,2)+Math.pow(t,2))};var normalizeNumber=function(e){return Math.max(-1,Math.min(e,1))};var scene="default";var screenFn=function(){var e;var t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];var i=["webkitEnterFullscreen","webkitExitFullscreen","webkitCurrentFullScreenElement","webkitSupportsFullscreen","fullscreenchange","fullscreenerror"];var r=0;var n=t.length;var o={};for(;r<n;r++){e=t[r];if(e&&e[1]in document){for(r=0;r<e.length;r++){o[t[0][r]]=e[r]}return o}}if(!o[t[0][0]]){scene="iOS";for(r=0;r<i.length;r++){o[t[0][r]]=i[r]}}return o}();var isHls=function(e){return/\.(m3u8)($|\?)/i.test(e)};var VideoControl=function(){function e(e){var t=this;registerInstance(this,e);this.visible=false;this.isDraggingProgressBall=false;this.percentage=0;this.progressDimensions={left:0,width:0};this.calcPercentage=function(e){var i=e-t.progressDimensions.left;i=Math.max(i,0);i=Math.min(i,t.progressDimensions.width);return i/t.progressDimensions.width};this.onDragProgressBallStart=function(){t.isDraggingProgressBall=true;t.hideControlsTimer&&clearTimeout(t.hideControlsTimer)};this.onClickProgress=function(e){e.stopPropagation();var i=t.calcPercentage(e.pageX);t.seekFunc(i*t.duration);t.toggleVisibility(true)};this.controls=undefined;this.currentTime=undefined;this.duration=undefined;this.isPlaying=undefined;this.pauseFunc=undefined;this.playFunc=undefined;this.seekFunc=undefined;this.showPlayBtn=undefined;this.showProgress=undefined}e.prototype.onDocumentTouchMove=function(e){if(!this.isDraggingProgressBall)return;var t=e.touches[0].pageX;this.percentage=this.calcPercentage(t);this.setProgressBall(this.percentage);this.setCurrentTime(this.percentage*this.duration)};e.prototype.onDocumentTouchEnd=function(){if(!this.isDraggingProgressBall)return;this.isDraggingProgressBall=false;this.seekFunc(this.percentage*this.duration);this.toggleVisibility(true)};e.prototype.setProgressBall=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(this.progressBallRef){this.progressBallRef.style.left="".concat(e*100,"%")}return[2]}))}))};e.prototype.toggleVisibility=function(e){return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(r){t=e===undefined?!this.visible:e;if(t){this.hideControlsTimer&&clearTimeout(this.hideControlsTimer);if(this.isPlaying){this.hideControlsTimer=setTimeout((function(){i.toggleVisibility(false)}),2e3)}this.el.style.visibility="visible"}else{this.el.style.visibility="hidden"}this.visible=!!t;return[2]}))}))};e.prototype.getIsDraggingProgressBall=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.isDraggingProgressBall]}))}))};e.prototype.setCurrentTime=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.currentTimeRef.innerHTML=formatTime(e);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,i=t.controls,r=t.currentTime,n=t.duration,o=t.isPlaying,s=t.pauseFunc,a=t.playFunc,l=t.showPlayBtn,u=t.showProgress;var c=formatTime(n);var d;if(!l){d=null}else if(o){d=h("div",{class:"taro-video-control-button taro-video-control-button-pause",onClick:s})}else{d=h("div",{class:"taro-video-control-button taro-video-control-button-play",onClick:a})}return h(Host,{class:"taro-video-bar taro-video-bar-full"},i&&h("div",{class:"taro-video-controls"},d,u&&h("div",{class:"taro-video-current-time",ref:function(t){return e.currentTimeRef=t}},formatTime(r)),u&&h("div",{class:"taro-video-progress-container",onClick:this.onClickProgress},h("div",{class:"taro-video-progress",ref:function(t){if(!t)return;var i=t.getBoundingClientRect();e.progressDimensions.left=i.left;e.progressDimensions.width=i.width}},h("div",{class:"taro-video-progress-buffered",style:{width:"100%"}}),h("div",{class:"taro-video-ball",ref:function(t){return e.progressBallRef=t},onTouchStart:this.onDragProgressBallStart,style:{left:"".concat(c?this.currentTime/n*100:0,"%")}},h("div",{class:"taro-video-inner"})))),u&&h("div",{class:"taro-video-duration"},c)),h("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();var indexCss='.taro-video{display:inline-block;overflow:hidden;position:relative;width:100%;height:225px;line-height:0}.taro-video[hidden]{display:none}.taro-video-container{display:inline-block;position:absolute;left:0;top:0;width:100%;height:100%;background-color:#000;-o-object-position:inherit;object-position:inherit}.taro-video-container.taro-video-type-fullscreen{position:fixed;left:0;right:0;top:0;bottom:0;z-index:999}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left{-webkit-transform:translate(-50%, -50%) rotate(-90deg);transform:translate(-50%, -50%) rotate(-90deg)}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right{-webkit-transform:translate(-50%, -50%) rotate(90deg);transform:translate(-50%, -50%) rotate(90deg)}.taro-video-video{width:100%;height:100%;-o-object-position:inherit;object-position:inherit}.taro-video-cover{display:-ms-flexbox;display:flex;position:absolute;left:0;top:0;bottom:0;z-index:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:100%;background-color:rgba(1, 1, 1, 0.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-pack:center;-webkit-box-align:center}.taro-video-cover-play-button{width:40px;height:40px;background-repeat:no-repeat;background-position:50% 50%;background-size:50%}.taro-video-cover-duration{margin-top:10px;line-height:1;font-size:16px;color:#fff}.taro-video-bar{display:-ms-flexbox;display:flex;visibility:hidden;overflow:hidden;position:absolute;right:0;bottom:0;z-index:1;-ms-flex-align:center;align-items:center;padding:0 10px;height:44px;background-color:rgba(0, 0, 0, 0.5);-webkit-box-align:center}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px}.taro-video-control-button{-webkit-box-sizing:content-box;box-sizing:content-box;margin-left:-8.5px;padding:14.5px 12.5px;width:13px;height:15px}.taro-video-control-button::after{display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:50% 50%;background-size:100%;content:""}.taro-video-control-button.taro-video-control-button-play::after,.taro-video-cover-play-button{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==")}.taro-video-control-button.taro-video-control-button-pause::after{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC")}.taro-video-current-time,.taro-video-duration{margin-top:15px;margin-bottom:14.5px;height:14.5px;line-height:14.5px;font-size:12px;color:#cbcbcb}.taro-video-progress-container{position:relative;-ms-flex-positive:2;flex-grow:2;-webkit-box-flex:2}.taro-video-progress{position:relative;margin:21px 12px;height:2px;background-color:rgba(255, 255, 255, 0.4)}.taro-video-progress-buffered{position:absolute;left:0;top:0;width:0;height:100%;background-color:rgba(255, 255, 255, 0.8);-webkit-transition:width 0.1s;transition:width 0.1s}.taro-video-ball{position:absolute;left:0;top:-21px;-webkit-box-sizing:content-box;box-sizing:content-box;margin-left:-22px;padding:14px;width:16px;height:16px}.taro-video-inner{border-radius:50%;width:100%;height:100%;background-color:#fff}.taro-video-danmu-button{margin:0 8.5px;padding:2px 10px;border:1px solid #fff;border-radius:5px;line-height:1;font-size:13px;color:#fff;white-space:nowrap}.taro-video-danmu-button.taro-video-danmu-button-active{border-color:#48c23d;color:#48c23d}.taro-video-fullscreen,.taro-video-mute{-webkit-box-sizing:content-box;box-sizing:content-box;padding:8.5px;width:17px;height:17px;background-repeat:no-repeat;background-position:50% 50%;background-size:50%}.taro-video-fullscreen{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAhUlEQVRYR+2WSwrAMAhEnZO3PfmULLooGEFTiIXJ2s/kRY2wzQeb85sE9CRA8jSzY1YfAFzhJBnU1AVgxH2dSiArCnD9QgGzRNnOech48SRABHoSyFb5in3PSbhyo6yvCPQkEM3u7BsPe/0FIvBfAh/vhKmVbO9SWun1qk/PSVi9TcVPBG6R1YIhgWwNpQAAAABJRU5ErkJggg==")}.taro-video-fullscreen.taro-video-type-fullscreen{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABPUlEQVRYR+2Xu0pDURBF1/ZLxNcHKNiIlfhA7C0UBSEE8RNEBNFPUEQEEbGxFiSSSrCwEHsf5E/ccsSUuWfUhKQ40947+y42Z8+ZK/pcinzf9hhwD1xJ2q/qsb0JHAOzkl5y+lGAGnCWICQtZgAS6DxQk3TeLYA6cAo0JSXxjmW7CcwBdUkJurKiDhSA4kBvHbA9CqwBQx2O7BSw8ssU3ALPFRF4knT3nQLbr8B4LjLBOdAAFgJaLUkjbYC9n+zm+i4kXWbmwCqwnRMCHiXthuZAQOzPrxSA4kBxYDAcsH0EzATCfCLpJjOINoCtgFZabg7bk7AFDAeaGpKWgitZTu5N0kQbYBmYrujo9mX0CVxL+gidAdu9vY5zXhWA4sAgOND3X7NJ4AHYCaxkB8B62gslvecSFpoDOZH/PP8Cnt7hIaM5xCEAAAAASUVORK5CYII=")}.taro-video-mute{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTg6MjArMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjk3YmE4Yjg0LTFhNTYtNGM1MS04NDVkLTNiZmYyMGI0ZDc0ZiIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjg1NGQ3MjlkLWUwNjctZjU0OC1hMTlhLTBlZjQ4OGRkYjJiOSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjA1ODY3ZDFlLWQ3NGEtNDgyNC04MDU3LTYzYmRmMTdjODk5ZSI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDU4NjdkMWUtZDc0YS00ODI0LTgwNTctNjNiZGYxN2M4OTllIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE4OjIwKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6OTdiYThiODQtMWE1Ni00YzUxLTg0NWQtM2JmZjIwYjRkNzRmIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjIyKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz459+FoAAABqElEQVRYhc2XPWsVQRSGnxPjF4oGRfxoRQKGWCU2Ft7CykrQWosEyf/If0hhIPgHDEmbNJZqCFxiQEgTUGxsBUVEHgvnyrjZZJO92V1fGIaZnTPvszPszNlQ6VIjnbr/DwCoDLMNak/dUVfUK0f2rQugnlcX/FevWgFQH6gf3autRgHUC+piiXHzAOmtPx9gXgug8itQx9SXwDpw47AGKXZWvXvQmNFCwE3gCXA2dY0Az4GrRzHONA9cU/vAbERsllEOyh31e8USV2mrMPdG9uyn+rDom2/BHHCm5puWKiKmgdtAnz+rvaxO5mNygEvHaZ5BfADuARvAaWBpP4DGFBHfgBngFzClTrUKkCDeA+9S837rAEnbqb7VFcCpVJ/oCmCw959aB1AfAROpudYqgDoOLKRmPyLelAF8bcD4pPoMeAtcB34AT4uDBqXXwFG8XXUU/72MIuK1OgE8Bs6l7mEvo8up7lN1Ge0n9aK6VHMFZvJTr9S3CiALaCQhqZOSvegMIAvu2UVSWpigLC1fbQ0gm6in7qpfLCQbhwGIYcyPQ53/G3YO8BtUtd35bvKcVwAAAABJRU5ErkJggg==")}.taro-video-mute.taro-video-type-mute{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAgCAYAAAB3j6rJAAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTktMDQtMTFUMTA6MTk6MDMrMDg6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgcGhvdG9zaG9wOklDQ1Byb2ZpbGU9InNSR0IgSUVDNjE5NjYtMi4xIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjAzYjJmNjE2LTZmZTUtNDJjNC1iNTgwLTczNzZjZjI2NzdmNSIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjYzZjQ2NTYzLWE0ZjktOGQ0Mi1hM2FhLTY3ODJhNDBhYWNjMSIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOjIyYWNjMWFlLTg4ZmMtNDBlZi1iMWM1LTNmODgwY2QzYWI2MiI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MjJhY2MxYWUtODhmYy00MGVmLWIxYzUtM2Y4ODBjZDNhYjYyIiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjE5OjAzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6MDNiMmY2MTYtNmZlNS00MmM0LWI1ODAtNzM3NmNmMjY3N2Y1IiBzdEV2dDp3aGVuPSIyMDE5LTA0LTExVDEwOjIyOjMzKzA4OjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOCAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz5PmxYVAAACLklEQVRYhc2XP2sVQRRHz40hKoqaQgVBCy1EozFlGiVFxMLGh4piYWEh+hkEP4YKAVFEEFTyughaCH6DqIVpAhYWEgIxoJE8cywyi5tNHu/tJmvyg2WZO3dmzt47/zZUtoJ6Nhsg09YDiYhKDzACTAFNYH9lEpUq80TdrT5wpV5n/ZV9KoGoo+pXV2uyKkipOaLuUceAt8DhUvQd1FsCYhR4ChzaSIBMHSOi7lOfsByFWiCgEBH1GHAF2JlMPcBt4GC3HUYEaj9wF3gVEVPtfNVTwAXgWX7CDKq/1piAZTSZBmim8qJ6sQ3EgDqb/L7kU3MH2NHtl3dQX3r3Ak21UYAYAj4A/cl0JB+RF+uMRj4iQ+p8zt7KYFLdXKHuRi0gacBhV6a6pd5bA6KRNagFJPU9qv5u47toLmW1HnoR8Q5oAK1CVQu4FBHj/wUkaXsb+4pzpVaQFPqXrN7Be4Fx9VztIOr1BLEtmX4A94E/qdwHTKjDWYM6lu81dSlnn3V570BtuLxaMs2rZ/IgYxsBovaoPwsQA4VoFWEm8ql5DiysNyURsQTMpOIMcDYiPhd8xoGr/FtNC2G6FKXD6ihwGdiVHMoeeh8jYlA9ANwE3kTEp3bO6vE03qOONzR1r/q4RGrquaFFxFxE3ALOA9+6jExpdb180y55AhirhaRTatq0GXEzL8+ZIuI9cBJ4WKiartJf9nWV/mty7UfUafW7erpqRGI9EBuprffvu9n6C1KOmsqwI5A1AAAAAElFTkSuQmCC")}.taro-video-danmu{overflow:visible;position:absolute;left:0;top:0;bottom:0;margin-top:14px;margin-bottom:44px;width:100%;line-height:14px;font-size:14px}.taro-video-danmu-item{position:absolute;left:100%;line-height:1;color:#fff;white-space:nowrap;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition-property:left, -webkit-transform;transition-property:left, -webkit-transform;transition-property:left, transform;transition-property:left, transform, -webkit-transform;-webkit-transition-duration:3s;transition-duration:3s;-webkit-transition-timing-function:linear;transition-timing-function:linear}.taro-video-toast{display:block;visibility:hidden;position:absolute;left:50%;top:50%;border-radius:5px;background-color:rgba(255, 255, 255, 0.8);pointer-events:none;color:#000;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-video-toast.taro-video-toast-volume{display:block;width:100px;height:100px}.taro-video-toast-volume .taro-video-toast-title{display:block;margin-top:10px;width:100%;line-height:16px;text-align:center;font-size:12px}.taro-video-toast-volume .taro-video-toast-icon{display:block;margin-left:25%;width:50%;height:50%;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189PbTRBGwKzAYO6iT4srbAMHfTfAksjulS1iG4JzAH2Dy2YKS/qAVcCdzi1vgZOBZ4PWvNGAG6wgYCW0IwctzNmf06BcEXtYABwOeA4otEfgEOdnGGqV6IAAUopwM6zDYuAVjeKYpYwCjgCWOhH513+b2lhE+Avrj89NPyalzyuCIE6EN9BfQ1dHoPOAD40+9LE6D/5aoqSqtLsgiQC60DTiHzfGCFoaSsQAexZdlTgEuyCDgLuK8u5G7dEAHyKN8CBrtxLwDHAX8Z+l4N3GS0L3db4aN0X5opmc+2XZQAfb2LPd2eciG1lUSRJZ9qYHkZONwiYAjwSc3gs24BXWWWfzEVuMjQez13HljX8v7A28lvEgsInaBVcxLaAvr6sgJLtBWeNTrOB+4w2p8DRvoEnAPcXTVaY70QAbrbXwIONX7zBSAL/tvrk1+iviTllnRry2irr/QSEws4D7izCxMg1XQLLAQGGXpeCkw22kOWI49RMUujCJC+uwAfGtfcImAng4AtAMsBeg04pIkESOfbgQsMsNoGnxrtSrfv7rXrSlwXWN6kLZBgEBiB8iWUUZZPIN/AF1nMoiYSICDfAlt5iB4CxhpAzwXuMtqPBuY1lYB5wFEeqFeAwwyguvIUqvuiQO/xphJwP3Cmhyh0EKrOoGDIF7n+M5pKwEwXrqdBCaQSM77Ig7SSIicDs5pKwIvACA+pzFwZIF9OlKm36QyQV7jEqDDJk5VD58uFgGIGX1Se+6yJFqAKsqI6X84GdDb4Mh0Y5zUqjFYFakUTCXja5QLSmBQHbAL8ahAgT1AeYVreSKLLphGwF/CuAfLJQLldGSTFD75c5d4mNCoWyAqG9gYWGED1AOMKo12ZbiWA/idA++deY2DVTZ0Jh5UJPsFQtD/wDaAHGWl5EzgwaUi2gK4UXS11S0cTIjrMFBtYQdAk4DID0BnAAz4B6wNLgTKKG0VIDBHwqitwpOcW+OOB540FdeipNKbUWFrUtn06o5xOij4KyDuqU0IE3Obl/rLA63pTzm9XA8jKACjdniZAaSKFmUpB1yUhAlTsUEpMh913wEkuTe7rKTzPAHqO44vpKPkFhH3cWWBVV6ogJVYZUgz/tXtIYelzI3Ct0fExIGx6j7iKWBUUveyYBehv1RIjIEsfqziq8Xp4pSBJOYTVJFQcVY3wCFeKUjVGyYfQWB00+5bEVBECrNS+qsOKBpVHNCVWHs+LS7H5PV5pOu9v0+OKEOAXR39w1e1C7wM6AkJ1eLmkRcrpRQiQrqobXO5S3vL3/4kBKMsCknV0k+iasVLUMV3UX5SAPGtED8EOT+L9YENnCasUIXNO2goChFWHqAIRyxXN4qI1BCQg9dJESYq8LnbrCBAR8t50Lig6i0krCRBoVWhVlt45wkBrCRBuRZyPuAguxIPe9lXqhpd9DcZMXOvdkPF0Xu/8dohNUmZ/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==");background-repeat:no-repeat;background-position:50% 50%;background-size:50%;fill:#000}.taro-video-toast-volume .taro-video-toast-value{margin-left:10px;margin-top:5px;width:80px;height:5px}.taro-video-toast-volume .taro-video-toast-value>.taro-video-toast-value-content{overflow:hidden}.taro-video-toast-volume-grids{width:80px;height:5px}.taro-video-toast-volume-grids-item{float:left;width:7.1px;height:5px;background-color:#000}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{padding:6px;background-color:rgba(0, 0, 0, 0.8);line-height:18px;font-size:14px;color:#fff}';var Video=function(){function e(e){var t=this;registerInstance(this,e);this.onPlay=createEvent(this,"play",7);this.onPause=createEvent(this,"pause",7);this.onEnded=createEvent(this,"ended",7);this.onTimeUpdate=createEvent(this,"timeupdate",7);this.onError=createEvent(this,"error",7);this.onFullScreenChange=createEvent(this,"fullscreenchange",7);this.onProgress=createEvent(this,"progress",7);this.onLoadedMetaData=createEvent(this,"loadedmetadata",7);this.currentTime=0;this.isDraggingProgress=false;this.gestureType="none";this.analyzeGesture=function(e){var i;var r={type:"none"};var n=e.touches[0].screenX;var o=e.touches[0].screenY;var s=n-t.lastTouchScreenX;var a=o-t.lastTouchScreenY;var l=t.isFullScreen?t.vslideGestureInFullscreen:t.vslideGesture;if(t.gestureType==="none"){var u=calcDist(s,a);if(u<10)return r;if(Math.abs(a)>=Math.abs(s)){if(l){t.gestureType="adjustVolume";t.lastVolume=t.videoRef.volume}else{return r}}else if(Math.abs(a)<Math.abs(s)){if(t.enableProgressGesture){t.gestureType="adjustProgress";t.lastPercentage=t.currentTime/((i=t.duration)!==null&&i!==void 0?i:t._duration)}else{return r}}}r.type=t.gestureType;r.dataX=normalizeNumber(s/200);r.dataY=normalizeNumber(a/200);return r};this.loadNativePlayer=function(){var e,i;if(t.videoRef){t.videoRef.src=t.src;(i=(e=t.videoRef).load)===null||i===void 0?void 0:i.call(e)}};this.init=function(){var e=t,i=e.src,r=e.videoRef;if(isHls(i)){import("./hls-221423a1.js").then((function(e){return e.h})).then((function(e){var n=e.default;t.HLS=n;if(n.isSupported()){if(t.hls){t.hls.destroy()}t.hls=new n;t.hls.loadSource(i);t.hls.attachMedia(r);t.hls.on(n.Events.MANIFEST_PARSED,(function(){t.autoplay&&t.play()}));t.hls.on(n.Events.ERROR,(function(e,i){t.handleError(i)}))}else if(r.canPlayType("application/vnd.apple.mpegurl")){t.loadNativePlayer()}else{console.error("该浏览器不支持 HLS 播放")}}))}else{t.loadNativePlayer()}};this.handlePlay=function(){t.isPlaying=true;t.isFirst=false;t.controlsRef.toggleVisibility(true);t.onPlay.emit()};this.handlePause=function(){t.isPlaying=false;t.controlsRef.toggleVisibility(true);t.onPause.emit()};this.handleEnded=function(){t.isFirst=true;t.pause();t.controlsRef.toggleVisibility();t.onEnded.emit()};this.handleTimeUpdate=throttle((function(e){return __awaiter(t,void 0,void 0,(function(){var t,i,r,n;return __generator(this,(function(o){switch(o.label){case 0:this.currentTime=this.videoRef.currentTime;r=this.duration||this._duration;return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:n=o.sent();if(this.controls&&this.showProgress){if(!n&&!this.isDraggingProgress){this.controlsRef.setProgressBall(this.currentTime/r);this.controlsRef.setCurrentTime(this.currentTime)}}this.danmuRef.tick(this.currentTime);this.onTimeUpdate.emit({duration:(t=e.target)===null||t===void 0?void 0:t.duration,currentTime:(i=e.target)===null||i===void 0?void 0:i.currentTime});if(this.duration){if(this.currentTime>=this.duration){this.seek(0);this.handleEnded()}}return[2]}}))}))}),250);this.handleError=function(e){var i,r;if(t.hls){switch(e.type){case t.HLS.ErrorTypes.NETWORK_ERROR:t.onError.emit({errMsg:e.response});t.hls.startLoad();break;case t.HLS.ErrorTypes.MEDIA_ERROR:t.onError.emit({errMsg:e.reason||"媒体错误,请重试"});t.hls.recoverMediaError();break}}else{t.onError.emit({errMsg:(r=(i=e.target)===null||i===void 0?void 0:i.error)===null||r===void 0?void 0:r.message})}};this.handleDurationChange=function(){t._duration=t.videoRef.duration};this.handleProgress=function(){t.onProgress.emit()};this.handleLoadedMetaData=function(e){var i=e.target;t.onLoadedMetaData.emit({width:i.videoWidth,height:i.videoHeight,duration:i.duration})};this._play=function(){return t.videoRef.play()};this._pause=function(){return t.videoRef.pause()};this._stop=function(){t.videoRef.pause();t._seek(0)};this._seek=function(e){t.videoRef.currentTime=e};this.onTouchStartContainer=function(e){t.lastTouchScreenX=e.touches[0].screenX;t.lastTouchScreenY=e.touches[0].screenY};this.onClickContainer=function(){if(t.enablePlayGesture){var e=Date.now();if(e-t.lastClickedTime<300){t.isPlaying?t.pause():t.play()}t.lastClickedTime=e}t.controlsRef.toggleVisibility()};this.onClickFullScreenBtn=function(e){e.stopPropagation();t.toggleFullScreen()};this.handleFullScreenChange=function(e){var i=(new Date).getTime();if(!e.detail&&t.isFullScreen&&!document[screenFn.fullscreenElement]&&i-t.fullScreenTimestamp>100){t.toggleFullScreen(false)}};this.toggleFullScreen=function(e){if(e===void 0){e=!t.isFullScreen}t.isFullScreen=e;t.controlsRef.toggleVisibility(true);t.fullScreenTimestamp=(new Date).getTime();t.onFullScreenChange.emit({fullScreen:t.isFullScreen,direction:"vertical"});if(t.isFullScreen&&!document[screenFn.fullscreenElement]){setTimeout((function(){t.videoRef[screenFn.requestFullscreen]({navigationUI:"auto"})}),0)}};this.toggleMute=function(e){e.stopPropagation();t.videoRef.muted=!t.isMute;t.controlsRef.toggleVisibility(true);t.isMute=!t.isMute};this.toggleDanmu=function(e){e.stopPropagation();t.controlsRef.toggleVisibility(true);t._enableDanmu=!t._enableDanmu};this.src=undefined;this.duration=undefined;this.controls=true;this.autoplay=false;this.loop=false;this.muted=false;this.initialTime=0;this.poster=undefined;this.objectFit="contain";this.showProgress=true;this.showFullscreenBtn=true;this.showPlayBtn=true;this.showCenterPlayBtn=true;this.showMuteBtn=false;this.danmuList=undefined;this.danmuBtn=false;this.enableDanmu=false;this.enablePlayGesture=false;this.enableProgressGesture=true;this.vslideGesture=false;this.vslideGestureInFullscreen=true;this.nativeProps={};this._duration=undefined;this._enableDanmu=false;this.isPlaying=false;this.isFirst=true;this.isFullScreen=false;this.fullScreenTimestamp=(new Date).getTime();this.isMute=false}e.prototype.componentWillLoad=function(){this._enableDanmu=this.enableDanmu};e.prototype.componentDidLoad=function(){var e,t;this.init();if(this.initialTime){this.videoRef.currentTime=this.initialTime}(t=(e=this.danmuRef).sendDanmu)===null||t===void 0?void 0:t.call(e,this.danmuList);if(document.addEventListener){document.addEventListener(screenFn.fullscreenchange,this.handleFullScreenChange)}if(this.videoRef&&scene==="iOS"){this.videoRef.addEventListener("webkitendfullscreen",this.handleFullScreenChange)}};e.prototype.componentDidRender=function(){};e.prototype.disconnectedCallback=function(){if(document.removeEventListener){document.removeEventListener(screenFn.fullscreenchange,this.handleFullScreenChange)}if(this.videoRef&&scene==="iOS"){this.videoRef.removeEventListener("webkitendfullscreen",this.handleFullScreenChange)}};e.prototype.watchEnableDanmu=function(e){this._enableDanmu=e};e.prototype.watchSrc=function(){this.init()};e.prototype.onDocumentTouchMove=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r;return __generator(this,(function(n){switch(n.label){case 0:if(this.lastTouchScreenX===undefined||this.lastTouchScreenY===undefined)return[2];return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:if(n.sent())return[2];t=this.analyzeGesture(e);if(t.type==="adjustVolume"){this.toastVolumeRef.style.visibility="visible";i=Math.max(Math.min(this.lastVolume-t.dataY,1),0);this.videoRef.volume=i;this.toastVolumeBarRef.style.width="".concat(i*100,"%")}else if(t.type==="adjustProgress"){this.isDraggingProgress=true;this.nextPercentage=Math.max(Math.min(this.lastPercentage+(t.dataX||0),1),0);if(this.controls&&this.showProgress){this.controlsRef.setProgressBall(this.nextPercentage);this.controlsRef.toggleVisibility(true)}r=this.duration||this._duration;this.toastProgressTitleRef.innerHTML="".concat(formatTime(this.nextPercentage*r)," / ").concat(formatTime(r));this.toastProgressRef.style.visibility="visible"}return[2]}}))}))};e.prototype.onDocumentTouchEnd=function(){var e;if(this.gestureType==="adjustVolume"){this.toastVolumeRef.style.visibility="hidden"}else if(this.gestureType==="adjustProgress"){this.toastProgressRef.style.visibility="hidden"}if(this.isDraggingProgress){this.isDraggingProgress=false;this.seek(this.nextPercentage*((e=this.duration)!==null&&e!==void 0?e:this._duration))}this.gestureType="none";this.lastTouchScreenX=undefined;this.lastTouchScreenY=undefined};e.prototype.getHlsObject=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.hls]}))}))};e.prototype.play=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._play();return[2]}))}))};e.prototype.pause=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._pause();return[2]}))}))};e.prototype.stop=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this._stop();return[2]}))}))};e.prototype.seek=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this._seek(e);return[2]}))}))};e.prototype.requestFullScreen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleFullScreen(true);return[2]}))}))};e.prototype.exitFullScreen=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.toggleFullScreen(false);return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,i=t.controls,r=t.autoplay,n=t.loop,o=t.muted,s=t.poster,a=t.objectFit,l=t.isFirst,u=t.isMute,c=t.isFullScreen,d=t.showCenterPlayBtn,g=t.isPlaying,f=t._enableDanmu,p=t.showMuteBtn,A=t.danmuBtn,v=t.showFullscreenBtn,m=t.nativeProps;var b=this.duration||this._duration;var y=formatTime(b);return h(Host,{class:classnames("taro-video-container",{"taro-video-type-fullscreen":c}),onTouchStart:this.onTouchStartContainer,onClick:this.onClickContainer},h("video",Object.assign({class:"taro-video-video",style:{"object-fit":a},ref:function(t){if(t){e.videoRef=t}},autoplay:r,loop:n,muted:o,poster:i?s:undefined,playsinline:true,"webkit-playsinline":true,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onTimeUpdate:this.handleTimeUpdate,onError:this.handleError,onDurationChange:this.handleDurationChange,onProgress:this.handleProgress,onLoadedMetaData:this.handleLoadedMetaData},m),"暂时不支持播放该视频"),h("taro-video-danmu",{ref:function(t){if(t){e.danmuRef=t}},enable:f}),l&&d&&!g&&h("div",{class:"taro-video-cover"},h("div",{class:"taro-video-cover-play-button",onClick:function(){return e.play()}}),h("p",{class:"taro-video-cover-duration"},y)),h("taro-video-control",{ref:function(t){if(t){e.controlsRef=t}},controls:i,currentTime:this.currentTime,duration:b,isPlaying:this.isPlaying,pauseFunc:this._pause,playFunc:this._play,seekFunc:this._seek,showPlayBtn:this.showPlayBtn,showProgress:this.showProgress},p&&h("div",{class:classnames("taro-video-mute",{"taro-video-type-mute":u}),onClick:this.toggleMute}),A&&h("div",{class:classnames("taro-video-danmu-button",{"taro-video-danmu-button-active":f}),onClick:this.toggleDanmu},"弹幕"),v&&h("div",{class:classnames("taro-video-fullscreen",{"taro-video-type-fullscreen":c}),onClick:this.onClickFullScreenBtn})),h("div",{class:"taro-video-toast taro-video-toast-volume",ref:function(t){if(t){e.toastVolumeRef=t}}},h("div",{class:"taro-video-toast-title"},"音量"),h("div",{class:"taro-video-toast-icon"}),h("div",{class:"taro-video-toast-value"},h("div",{class:"taro-video-toast-value-content",ref:function(t){if(t){e.toastVolumeBarRef=t}}},h("div",{class:"taro-video-toast-volume-grids"},Array(10).fill(1).map((function(){return h("div",{class:"taro-video-toast-volume-grids-item"})})))))),h("div",{class:"taro-video-toast taro-video-toast-progress",ref:function(t){if(t){e.toastProgressRef=t}}},h("div",{class:"taro-video-toast-title",ref:function(t){if(t){e.toastProgressTitleRef=t}}})))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{enableDanmu:["watchEnableDanmu"],src:["watchSrc"]}},enumerable:false,configurable:true});return e}();Video.style=indexCss;var VideoDanmu=function(){function e(e){registerInstance(this,e);this.list=[];this.danmuElList=[];this.currentTime=0;this.enable=false;this.danmuList=[]}e.prototype.ensureProperties=function(e){var t=Object.assign({},e);if(!("time"in e)){t.time=this.currentTime}t.key=Math.random();t.bottom="".concat(Math.random()*90+5,"%");return t};e.prototype.sendDanmu=function(e){if(e===void 0){e=[]}return __awaiter(this,void 0,void 0,(function(){var t;var i=this;return __generator(this,(function(r){if(Array.isArray(e)){this.list=__spreadArray(__spreadArray([],this.list,true),e.map((function(e){return i.ensureProperties(e)})),true)}else{t=e;this.list=__spreadArray(__spreadArray([],this.list,true),[Object.assign({},this.ensureProperties(t))],false)}return[2]}))}))};e.prototype.tick=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r,n;return __generator(this,(function(o){this.currentTime=e;if(!this.enable)return[2];t=this.list;i=t.filter((function(t){var i=t.time;return e-i<4&&e>i}));r=false;n=this.danmuList;if(i.length!==n.length){r=true}else{r=i.some((function(e){var t=e.key;return n.every((function(e){return t!==e.key}))}))}if(r){this.danmuList=i}return[2]}))}))};e.prototype.componentDidUpdate=function(){var e=this;requestAnimationFrame((function(){setTimeout((function(){var t=e.danmuElList.splice(0);t.forEach((function(e){e.style.left="0";e.style.webkitTransform="translateX(-100%)";e.style.transform="translateX(-100%)"}))}))}))};e.prototype.render=function(){var e=this;if(!this.enable)return"";return h(Host,{class:"taro-video-danmu"},this.danmuList.map((function(t){var i=t.text,r=t.color,n=t.bottom,o=t.key;return h("p",{class:"taro-video-danmu-item",key:o,style:{color:r,bottom:n},ref:function(t){if(t){e.danmuElList.push(t)}}},i)})))};return e}();export{VideoControl as taro_video_control,Video as taro_video_core,VideoDanmu as taro_video_danmu};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-c948674f.js";import{c as classnames}from"./index-1d8e8acd.js";var indexCss="body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";var View=function(){function t(t){registerInstance(this,t);this.onLongPress=createEvent(this,"longpress",7);this.startTime=0;this.animation=undefined;this.hoverClass=undefined;this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var e=Date.now()-this.startTime;if(e<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.componentDidRender=function(){var t=this.el;t.childNodes.forEach((function(t){if(t.nodeType===document.COMMENT_NODE&&t["s-cn"])t["s-cn"]=false;if(t.nodeType!==document.COMMENT_NODE&&t["s-sr"])t["s-sr"]=false}))};t.prototype.render=function(){var t;var e=classnames((t={},t["".concat(this.hoverClass)]=this.hover,t));var s={};if(!!this.animation){s["animation"]=this.animation;s["data-animation"]=this.animation}return h(Host,Object.assign({class:e},s),h("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();View.style=indexCss;export{View as taro_view_core};
|
|
2
|
-
//# sourceMappingURL=taro-view-core.entry.js.map
|
|
1
|
+
import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-c948674f.js";import{c as classnames}from"./index-1d8e8acd.js";var indexCss="body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";var View=function(){function t(t){registerInstance(this,t);this.onLongPress=createEvent(this,"longpress",7);this.startTime=0;this.animation=undefined;this.hoverClass=undefined;this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var e=Date.now()-this.startTime;if(e<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.componentDidRender=function(){var t=this.el;t.childNodes.forEach((function(t){if(t.nodeType===document.COMMENT_NODE&&t["s-cn"])t["s-cn"]=false;if(t.nodeType!==document.COMMENT_NODE&&t["s-sr"])t["s-sr"]=false}))};t.prototype.render=function(){var t;var e=classnames((t={},t["".concat(this.hoverClass)]=this.hover,t));var s={};if(!!this.animation){s["animation"]=this.animation;s["data-animation"]=this.animation}return h(Host,Object.assign({class:e},s),h("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();View.style=indexCss;export{View as taro_view_core};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,H as Host}from"./index-c948674f.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var VoipRoom=function(){function o(o){registerInstance(this,o)}o.prototype.componentDidLoad=function(){notSupport("VoipRoom",this)};o.prototype.render=function(){return h(Host,null)};return o}();export{VoipRoom as taro_voip_room_core};
|
|
2
|
-
//# sourceMappingURL=taro-voip-room-core.entry.js.map
|
|
1
|
+
import{r as registerInstance,h,H as Host}from"./index-c948674f.js";import{n as notSupport}from"./helper-3d0ecf0f.js";import"@tarojs/taro";var VoipRoom=function(){function o(o){registerInstance(this,o)}o.prototype.componentDidLoad=function(){notSupport("VoipRoom",this)};o.prototype.render=function(){return h(Host,null)};return o}();export{VoipRoom as taro_voip_room_core};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{r as registerInstance,c as createEvent,h}from"./index-c948674f.js";var indexCss="iframe{border:none}.taro-webview{position:fixed;top:0;bottom:0;z-index:999;width:100%;height:100%}";var WebView=function(){function e(e){registerInstance(this,e);this.onLoad=createEvent(this,"load",7);this.onError=createEvent(this,"error",7);this.src=undefined}e.prototype.render=function(){var e=this,r=e.src,t=e.onLoad,o=e.onError;return h("iframe",{class:"taro-webview",onLoad:function(e){e.stopPropagation();t.emit({src:r})},onError:function(e){e.stopPropagation();o.emit({src:r})},src:r})};return e}();WebView.style=indexCss;export{WebView as taro_web_view_core};
|
|
2
|
-
//# sourceMappingURL=taro-web-view-core.entry.js.map
|
|
1
|
+
import{r as registerInstance,c as createEvent,h}from"./index-c948674f.js";var indexCss="iframe{border:none}.taro-webview{position:fixed;top:0;bottom:0;z-index:999;width:100%;height:100%}";var WebView=function(){function e(e){registerInstance(this,e);this.onLoad=createEvent(this,"load",7);this.onError=createEvent(this,"error",7);this.src=undefined}e.prototype.render=function(){var e=this,r=e.src,t=e.onLoad,o=e.onError;return h("iframe",{class:"taro-webview",onLoad:function(e){e.stopPropagation();t.emit({src:r})},onError:function(e){e.stopPropagation();o.emit({src:r})},src:r})};return e}();WebView.style=indexCss;export{WebView as taro_web_view_core};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var i=t("taro_sticky_section_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("StickySection",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{r,h as o,H as a}from"./p-78e3ebb9.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){t("Camera",this)}render(){return o(a,null)}};export{s as taro_camera_core}
|
|
2
|
-
//# sourceMappingURL=p-0accc602.entry.js.map
|
|
1
|
+
import{r,h as o,H as a}from"./p-78e3ebb9.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){t("Camera",this)}render(){return o(a,null)}};export{s as taro_camera_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as i,H as o,g as s}from"./p-78e3ebb9.js";const n=class{constructor(i){t(this,i),this.onChange=e(this,"checkboxchange",7),this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:this.value})},this.name=void 0,this.value="",this.color=void 0,this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}watchId(t){this.isWillLoadCalled&&t&&this.inputEl.setAttribute("id",t)}componentWillLoad(){this.isWillLoadCalled=!0}componentDidRender(){this.id&&this.el.removeAttribute("id")}render(){const{checked:t,name:e,color:s,value:n,disabled:c,nativeProps:r}=this;return i(o,{className:"weui-cells_checkbox"},i("input",Object.assign({ref:t=>{t&&(this.inputEl=t,this.id&&t.setAttribute("id",this.id))},type:"checkbox",value:n,name:e,class:"taro-checkbox_checked",style:{color:s},checked:t,disabled:c,onChange:this.handleChange},r)),i("slot",null))}get el(){return s(this)}static get watchers(){return{id:["watchId"]}}};n.style='.taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{display:inline-block;position:relative;top:5px;border:1px solid #d1d1d1;border-radius:3px;width:23px;height:23px;min-height:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#fff;vertical-align:0;font-size:23px;color:#1aad19}.taro-checkbox_checked:checked::before{display:inline-block;position:absolute;left:50%;top:50%;vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-family:weui;font-style:normal;font-weight:normal;font-variant:normal;font-size:inherit;color:inherit;content:"\\ea08";-webkit-transform:translate(-50%, -48%) scale(0.73);transform:translate(-50%, -48%) scale(0.73);speak:none}';const c=class{constructor(i){t(this,i),this.onChange=e(this,"change",7),this.uniqueName=Date.now().toString(36),this.name=void 0}function(t){if(t.stopPropagation(),"TARO-CHECKBOX-CORE"!==t.target.tagName)return;const e=this.el.querySelectorAll("taro-checkbox-core");this.value=this.getValues(e),this.onChange.emit({value:this.value})}componentDidLoad(){this.el.querySelectorAll("taro-checkbox-core").forEach((t=>{t.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!this.value){const t=this.el.querySelectorAll("taro-checkbox-core");this.value=this.getValues(t)}return this.value},configurable:!0})}getValues(t){return Array.from(t).filter((t=>{const e=t.querySelector("input");return null==e?void 0:e.checked})).map((t=>t.value))}render(){return i(o,null)}get el(){return s(this)}};export{n as taro_checkbox_core,c as taro_checkbox_group_core}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{r as o,h as t,H as r}from"./p-78e3ebb9.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(t){o(this,t)}componentDidLoad(){s("Lottie",this)}render(){return t(r,null)}};export{a as taro_lottie_core}
|
|
2
|
-
//# sourceMappingURL=p-eb9adf17.entry.js.map
|
|
1
|
+
import{r as o,h as t,H as r}from"./p-78e3ebb9.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(t){o(this,t)}componentDidLoad(){s("Lottie",this)}render(){return t(r,null)}};export{a as taro_lottie_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as o,H as t}from"./p-78e3ebb9.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(o){r(this,o)}componentDidLoad(){s("GridView",this)}render(){return o(t,null)}};export{a as taro_grid_view_core}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{r,h as o,H as s}from"./p-78e3ebb9.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const e=class{constructor(o){r(this,o)}componentDidLoad(){t("LivePusher",this)}render(){return o(s,null)}};export{e as taro_live_pusher_core}
|
|
2
|
-
//# sourceMappingURL=p-76e6fbff.entry.js.map
|
|
1
|
+
import{r,h as o,H as s}from"./p-78e3ebb9.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const e=class{constructor(o){r(this,o)}componentDidLoad(){t("LivePusher",this)}render(){return o(s,null)}};export{e as taro_live_pusher_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i,g as h}from"./p-78e3ebb9.js";const e=class{constructor(i){t(this,i),this.onSubmit=s(this,"submit",7),this.value={}}onButtonSubmit(t){t.stopPropagation(),this.value=this.getFormValue(),this.onSubmit.emit({value:this.value})}onButtonReset(t){t.stopPropagation(),this.form.reset()}componentDidLoad(){this.value=this.getFormValue(),Object.defineProperty(this.el,"value",{get:()=>this.value,configurable:!0})}componentDidRender(){if(this.originalAppendChild||(this.originalAppendChild=this.el.appendChild,this.originalInsertBefore=this.el.insertBefore,this.originalReplaceChild=this.el.replaceChild,this.originalRemoveChild=this.el.removeChild),!this.form)return this.el.appendChild=this.originalAppendChild,this.el.insertBefore=this.originalInsertBefore,this.el.replaceChild=this.originalReplaceChild,void(this.el.removeChild=this.originalRemoveChild);this.el.appendChild=t=>this.form.appendChild(t),this.el.insertBefore=(t,s)=>this.form.insertBefore(t,s),this.el.replaceChild=(t,s)=>this.form.replaceChild(t,s),this.el.removeChild=t=>this.form.removeChild(t)}getFormValue(){const t=this.el,s=[],i=t.getElementsByTagName("input");for(let t=0;t<i.length;t++)s.push(i[t]);const h={},e={};s.forEach((t=>{"string"==typeof t.name&&(-1===t.className.indexOf("weui-switch")?"radio"!==t.type?"checkbox"!==t.type?h[t.name]=t.value:t.checked?e[t.name]?h[t.name].push(t.value):(e[t.name]=!0,h[t.name]=[t.value]):e[t.name]||(h[t.name]=[]):t.checked?(e[t.name]=!0,h[t.name]=t.value):e[t.name]||(h[t.name]=""):h[t.name]=t.checked)}));const o=t.getElementsByTagName("textarea"),r=[];for(let t=0;t<o.length;t++)r.push(o[t]);return r.forEach((t=>{"string"==typeof t.name&&(h[t.name]=t.value)})),h}render(){return i("form",{ref:t=>{this.form=t}},i("slot",null))}get el(){return h(this)}};export{e as taro_form_core}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var s=t("taro_follow_swan_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("FollowSwan",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
|
|
2
|
-
//# sourceMappingURL=p-087bf23a.system.entry.js.map
|
|
1
|
+
System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var s=t("taro_follow_swan_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("FollowSwan",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var s=t("taro_ad_custom_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("AdCustom",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
|
|
2
|
-
//# sourceMappingURL=p-08bb8dfc.system.entry.js.map
|
|
1
|
+
System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var s=t("taro_ad_custom_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("AdCustom",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_tab_item_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("TabItem",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
|
|
2
|
-
//# sourceMappingURL=p-0a165ad3.system.entry.js.map
|
|
1
|
+
System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_tab_item_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("TabItem",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var e,n,r,o;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_live_player_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("LivePlayer",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
|
|
2
|
-
//# sourceMappingURL=p-0a9b984e.system.entry.js.map
|
|
1
|
+
System.register(["./p-1a0e1932.system.js","./p-15e45ed6.system.js","@tarojs/taro"],(function(t){"use strict";var e,n,r,o;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_live_player_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("LivePlayer",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as s,H as e,g as h}from"./p-78e3ebb9.js";import{c as n}from"./p-76724e58.js";function o(t,i){const s=[];for(let e=t;e<=i;e++)s.push(`${e<10?"0":""}${e}`);return s}const r=["20","21","22","23",...o(0,23),"00","01","02","03"],a=["56","57","58","59",...o(0,59),"00","01","02","03"];function c(t,i){return!isNaN(+t)&&t>=0&&t<i.length}function u(t){if(!/^\d{1,2}:\d{1,2}$/.test(t))return!1;const i=t.split(":").map((t=>+t));return!(i[0]<0||i[0]>23||i[1]<0||i[1]>59)}function d(t,i){const s=t.split(":").map((t=>+t)),e=i.split(":").map((t=>+t));return s[0]<e[0]||s[0]===e[0]&&s[1]<=e[1]}function l(t){if(!t)return!1;const i=new Date(t.replace(/-/g,"/"));return!isNaN(i.getMonth())&&i}function p(t){let i;return i=Array.isArray(t)?t.map((t=>String(t))):t,i}function m(t,i){const s=[];for(let e=t;e<=i;e++)s.push(e);return s}function g(t,i){return m(t,i)}function f(t,i,s){let e=1,h=12;return t.getFullYear()===s&&(e=t.getMonth()+1),i.getFullYear()===s&&(h=i.getMonth()+1),m(e,h)}function v(t,i,s,e){let h=1,n=function(t,i){return 4===i||6===i||9===i||11===i?30:2===i?t%4==0&&t%100!=0||t%400==0?29:28:31}(s,e);return t.getFullYear()===s&&t.getMonth()+1===e&&(h=t.getDate()),i.getFullYear()===s&&i.getMonth()+1===e&&(n=i.getDate()),m(h,n)}const _=102,k=34,w=class{constructor(e){t(this,e),this.onChange=i(this,"change",7),this.onColumnChange=i(this,"columnchange",7),this.onCancel=i(this,"cancel",7),this.index=[],this.showPicker=()=>{this.disabled||(this.height=this.getHeightByIndex(),this.hidden=!1)},this.getHeightByIndex=()=>this.index.map((t=>{let i=0;return"time"===this.mode&&(i=136),_-k*t-i})),this.hidePicker=()=>{this.fadeOut=!0,setTimeout((()=>{this.hidden=!0,this.fadeOut=!1}),350)},this.handleChange=()=>{this.hidePicker(),this.index=this.height.map((t=>(_-t)/k));let t=this.index.length&&"selector"!==this.mode?this.index:this.index[0];if("time"===this.mode){const i=[r.slice(),a.slice()],s=this.index.map(((t,s)=>i[s][t]));this.index=s.map((t=>parseInt(t))),t=s.join(":")}if("date"===this.mode){const{_start:i,_end:s,_updateValue:e}=this.pickerDate,h=e[0],n=e[1],o=g(i.getFullYear(),s.getFullYear()),r=f(i,s,h),a=v(i,s,h,n),c=o[this.index[0]],u=r[this.index[1]];t="year"===this.fields?[c]:"month"===this.fields?[c,u]:[c,u,a[this.index[2]]],t=t.map((t=>t<10?`0${t}`:t)).join("-")}this.pickerValue=t,this.onChange.emit({value:t})},this.handleCancel=()=>{this.hidePicker(),this.onCancel.emit()},this.updateHeight=(t,i,s=!1)=>{const e=[...this.height];if(e[i]=t,this.height=e,s){let{start:t,end:i}=this;if(u(t)||(t="00:00"),u(i)||(i="23:59"),!d(t,i))return;const s=[r.slice(),a.slice()],e=this.height.map((t=>(_-t)/k)),h=e.map(((t,i)=>s[i][t])).join(":");if(d(t,h)){if(!d(h,i)){const t=i.split(":").map((t=>_-k*(+t+4)));requestAnimationFrame((()=>this.height=t))}}else{const i=t.split(":").map((t=>_-k*(+t+4)));requestAnimationFrame((()=>this.height=i))}}},this.handleColumnChange=(t,i)=>{this.onColumnChange.emit({column:Number(i),value:(_-t)/k})},this.updateDay=(t,i)=>{const{_start:s,_end:e,_updateValue:h}=this.pickerDate;h[i]=t;const n=h[0],o=h[1],r=h[2];if(0===i){const t=f(s,e,n),i=t[t.length-1],r=t[0];o>i&&(h[1]=i),o<r&&(h[1]=r);const a=t.indexOf(h[1]),c=_-k*a;this.updateDay(h[1],1),this.updateHeight(c,"1")}else if(1===i){const t=v(s,e,n,o),i=t[t.length-1],a=t[0];r>i&&(h[2]=i),r<a&&(h[2]=a);const c=t.indexOf(h[2]),u=_-k*c;this.updateDay(h[2],2),this.updateHeight(u,"2")}},this.getSelector=()=>s("taro-picker-group",{range:this.range,rangeKey:this.rangeKey,height:this.height[0],updateHeight:this.updateHeight,columnId:"0"}),this.getMultiSelector=()=>this.range.map(((t,i)=>s("taro-picker-group",{range:t,rangeKey:this.rangeKey,height:this.height[i],updateHeight:this.updateHeight,onColumnChange:this.handleColumnChange,columnId:String(i)}))),this.getTimeSelector=()=>{const t=r.slice(),i=a.slice();return[s("taro-picker-group",{mode:"time",range:t,height:this.height[0],updateHeight:this.updateHeight,columnId:"0"}),s("taro-picker-group",{mode:"time",range:i,height:this.height[1],updateHeight:this.updateHeight,columnId:"1"})]},this.getDateSelector=()=>{const{fields:t,height:i}=this,{_start:e,_end:h,_updateValue:n}=this.pickerDate,o=n[0],r=n[1],a=g(e.getFullYear(),h.getFullYear()).map((t=>`${t}年`)),c=f(e,h,o).map((t=>`${t<10?`0${t}`:t}月`)),u=v(e,h,o,r).map((t=>`${t<10?`0${t}`:t}日`)),d=[s("taro-picker-group",{mode:"date",range:a,height:i[0],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"0"})];return"month"!==t&&"day"!==t||d.push(s("taro-picker-group",{mode:"date",range:c,height:i[1],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"1"})),"day"===t&&d.push(s("taro-picker-group",{mode:"date",range:u,height:i[2],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"2"})),d},this.mode="selector",this.disabled=!1,this.range=[],this.rangeKey=void 0,this.value=void 0,this.start="",this.end="",this.fields="day",this.name="",this.pickerValue=[],this.height=[],this.hidden=!0,this.fadeOut=!1,this.isWillLoadCalled=!1}componentWillLoad(){this.isWillLoadCalled=!0,this.handleProps()}componentDidLoad(){Object.defineProperty(this.el,"value",{get:()=>this.pickerValue,set:t=>this.value=t,configurable:!0}),this.overlay&&document.body.appendChild(this.overlay)}disconnectedCallback(){var t;this.overlay&&(null===(t=this.overlay.parentNode)||void 0===t||t.removeChild(this.overlay))}onPropsChange(){this.isWillLoadCalled&&this.handleProps()}handleProps(){const{mode:t,start:i,end:s}=this;if("selector"===t){const t=this.value;this.index=[c(t,this.range)?Math.floor(t):0]}else if("multiSelector"===t){const t=this.value;this.index=[],this.range.forEach(((i,s)=>{const e=null==t?void 0:t[s],h=c(e,i)?Math.floor(e):0;this.index.push(h)}))}else if("time"===t){let t=this.value;u(t)||(console.warn("time picker value illegal"),t="0:0");const i=t.split(":").map((t=>+t));this.index=i}else if("date"===t){const t=l(this.value)||new Date((new Date).setHours(0,0,0,0)),e=l(i)||new Date("1970/01/01"),h=l(s)||new Date("2999/01/01");if(!(t>=e&&t<=h))throw new Error("Date Interval Error");{const i=t.getFullYear(),s=t.getMonth()+1,n=t.getDate(),o=g(e.getFullYear(),h.getFullYear()),r=f(e,h,i),a=v(e,h,i,s);this.index=[o.indexOf(i),r.indexOf(s),a.indexOf(n)],this.pickerDate&&this.pickerDate._value.getTime()===t.getTime()&&this.pickerDate._start.getTime()===e.getTime()&&this.pickerDate._end.getTime()===h.getTime()||(this.pickerDate={_value:t,_start:e,_end:h,_updateValue:[i,s,n]})}}if(this.height=this.getHeightByIndex(),this.pickerValue=this.value,"date"===t){const t=this.pickerValue;"month"===this.fields?this.pickerValue=t.split("-").slice(0,2).join("-"):"year"===this.fields&&(this.pickerValue=t.split("-")[0])}}render(){const{name:t,mode:i,fadeOut:h,hidden:o}=this;let r;switch(i){case"multiSelector":r=this.getMultiSelector();break;case"time":r=this.getTimeSelector();break;case"date":r=this.getDateSelector();break;default:r=this.getSelector()}const a=n("weui-mask","weui-animate-fade-in",{"weui-animate-fade-out":h}),c=n("weui-picker","weui-animate-slide-up",{"weui-animate-slide-down":h}),u=o?{display:"none"}:{};return s(e,null,s("div",{onClick:this.showPicker},s("slot",null),s("input",{type:"hidden",name:t,value:p(this.pickerValue)})),s("div",{class:"weui-picker__overlay",style:u,ref:t=>{this.overlay=t}},s("div",{class:a,onClick:this.handleCancel}),s("div",{class:c},s("div",{class:"weui-picker__hd"},s("div",{class:"weui-picker__action",onClick:this.handleCancel},"取消"),s("div",{class:"weui-picker__action",onClick:this.handleChange},"确定")),s("div",{class:"weui-picker__bd"},r),s("input",{type:"hidden",name:t,value:p(this.pickerValue)}))))}get el(){return h(this)}static get watchers(){return{mode:["onPropsChange"],value:["onPropsChange"],range:["onPropsChange"],start:["onPropsChange"],end:["onPropsChange"]}}};w.style=".weui-picker,.weui-picker__hd{font-size:12px}";const y=class{constructor(i){t(this,i),this.mode=void 0,this.range=[],this.rangeKey=void 0,this.height=void 0,this.columnId=void 0,this.updateHeight=void 0,this.onColumnChange=void 0,this.updateDay=void 0,this.startY=void 0,this.preY=void 0,this.hadMove=void 0,this.touchEnd=void 0,this.isMove=void 0}getPosition(){const t=`translate3d(0, ${this.height}px, 0)`,i=`transform ${this.touchEnd?.3:0}s`;return{transform:t,"-webkit-transform":t,transition:i,"-webkit-transition":i}}formulaUnlimitedScroll(t,i,s){const{height:e,updateHeight:h,columnId:n}=this,o="up"===s?1:-1;this.touchEnd=!1,h(-t*o*k+e,n),requestAnimationFrame((()=>{this.touchEnd=!0;const s=Math.round(i/-34)+t*o;h(_-k*s,n,!0)}))}async handleMoveStart(t){this.startY=t,this.preY=t,this.hadMove=!1}async handleMoving(t){const i=t,s=i-this.preY;this.preY=i,this.touchEnd=!1,Math.abs(i-this.startY)>10&&(this.hadMove=!0);let e=this.height+s;"time"===this.mode&&("0"===this.columnId?(e>0&&(e=-816+s),e<-850&&(e=-34+s)):"1"===this.columnId&&(e>0&&(e=-2040+s),e<-2074&&(e=-34+s))),this.updateHeight(e,this.columnId)}async handleMoveEnd(t){const{mode:i,range:s,height:e,updateHeight:h,onColumnChange:n,columnId:o}=this,r=-34*(s.length-1),a=t;let c;if(this.touchEnd=!0,this.hadMove)c=e-_;else{const t=window.innerHeight;if(c=e-_-(a-(t-119)),"time"===i)if("0"===o){if(c>-85)return this.formulaUnlimitedScroll(24,c,"up");if(c<-969)return this.formulaUnlimitedScroll(24,c,"down")}else if("1"===o){if(c>-85)return this.formulaUnlimitedScroll(60,c,"up");if(c<-2193)return this.formulaUnlimitedScroll(60,c,"down")}}c>0&&(c=0),c<r&&(c=r);const u=Math.round(c/-34),d=_-k*u;"date"===this.mode&&("0"===this.columnId&&this.updateDay(+this.range[u].replace(/[^0-9]/gi,""),0),"1"===this.columnId&&this.updateDay(+this.range[u].replace(/[^0-9]/gi,""),1),"2"===this.columnId&&this.updateDay(+this.range[u].replace(/[^0-9]/gi,""),2)),h(d,o,"time"===i),n&&n(d,o)}onMouseDown(t){this.isMove=!0,this.handleMoveStart(t.clientY)}onMouseMove(t){t.preventDefault(),this.isMove&&this.handleMoving(t.clientY)}onMouseMoveEnd(t){this.isMove&&(this.isMove=!1,this.handleMoveEnd(t.clientY))}onTouchStart(t){this.handleMoveStart(t.changedTouches[0].clientY)}onTouchMove(t){t.preventDefault(),this.handleMoving(t.changedTouches[0].clientY)}onTouchEnd(t){this.handleMoveEnd(t.changedTouches[0].clientY)}render(){const{range:t,rangeKey:i}=this,h=t.map((t=>s("div",{class:"weui-picker__item"},i?t[i]:t)));return s(e,{class:"weui-picker__group"},s("div",{class:"weui-picker__mask"}),s("div",{class:"weui-picker__indicator"}),s("div",{class:"weui-picker__content",style:this.getPosition()},h))}};export{w as taro_picker_core,y as taro_picker_group}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,i){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function r(t){try{s(i.next(t))}catch(t){a(t)}}function u(t){try{s(i["throw"](t))}catch(t){a(t)}}function s(t){t.done?n(t.value):o(t.value).then(r,u)}s((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function u(t){return function(e){return s([t,e])}}function s(u){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,u[0]&&(n=0)),n)try{if(i=1,o&&(a=u[0]&2?o["return"]:u[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,u[1])).done)return a;if(o=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;o=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=e.call(t,n)}catch(t){u=[6,t];o=0}finally{i=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-1a0e1932.system.js"],(function(t){"use strict";var e,n,i,o;return{setters:[function(t){e=t.r;n=t.c;i=t.h;o=t.g}],execute:function(){var a="taro-input-core{display:block}input{display:block;overflow:hidden;height:1.4rem;text-overflow:clip;text-align:inherit;white-space:nowrap}";function r(t,e,n){if(e==="search")t="search";if(n)t="password";if(typeof t==="undefined"){return"text"}if(!t){throw new Error("unexpected type")}if(t==="digit")t="number";return t}function u(t){return t!==null&&t!==void 0?t:""}var s=t("taro_input_core",function(){function t(t){var i=this;e(this,t);this.onInput=n(this,"input",7);this.onPaste=n(this,"paste",7);this.onFocus=n(this,"focus",7);this.onBlur=n(this,"blur",7);this.onConfirm=n(this,"confirm",7);this.onChange=n(this,"change",7);this.onKeyDown=n(this,"keydown",7);this.isOnComposition=false;this.isOnPaste=false;this.onInputExcuted=false;this.handleInput=function(t){t.stopPropagation();var e=i,n=e.type,o=e.maxlength,a=e.confirmType,u=e.password;if(!i.isOnComposition&&!i.onInputExcuted){var s=t.target.value;var l=r(n,a,u);i.onInputExcuted=true;if(l==="number"&&s&&o>-1&&o<=s.length){s=s.substring(0,o);t.target.value=s}i.value=s;i.onInput.emit({value:s,cursor:s.length});i.onInputExcuted=false}};this.handlePaste=function(t){t.stopPropagation();i.isOnPaste=true;i.onPaste.emit({value:t.target.value})};this.handleFocus=function(t){t.stopPropagation();i.onInputExcuted=false;i.onFocus.emit({value:t.target.value})};this.handleBlur=function(t){t.stopPropagation();i.onBlur.emit({value:t.target.value})};this.handleChange=function(t){t.stopPropagation();i.onChange.emit({value:t.target.value});if(i.isOnPaste){i.isOnPaste=false;i.value=t.target.value;i.onInput.emit({value:t.target.value,cursor:t.target.value.length})}};this.handleKeyDown=function(t){t.stopPropagation();var e=t.target.value;var n=t.keyCode||t.code;i.onInputExcuted=false;i.onKeyDown.emit({value:e,cursor:e.length,keyCode:n});n===13&&i.onConfirm.emit({value:e})};this.handleComposition=function(t){t.stopPropagation();if(!(t.target instanceof HTMLInputElement))return;if(t.type==="compositionend"){i.isOnComposition=false;i.value=t.target.value;i.onInput.emit({value:t.target.value,cursor:t.target.value.length})}else{i.isOnComposition=true}};this.handleBeforeinput=function(t){if(!t.data)return;var e=t.data&&/[0-9]/.test(t.data);if(i.type==="number"&&!e){t.preventDefault()}if(i.type==="digit"&&!e){if(t.data!=="."||t.data==="."&&t.target.value.indexOf(".")>-1){t.preventDefault()}}};this.value=undefined;this.type=undefined;this.password=false;this.placeholder=undefined;this.disabled=false;this.maxlength=140;this.autoFocus=false;this.confirmType="done";this.name=undefined;this.nativeProps={}}t.prototype.focus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.inputRef.focus();return[2]}))}))};t.prototype.watchAutoFocus=function(t,e){var n;if(!e&&t){(n=this.inputRef)===null||n===void 0?void 0:n.focus()}};t.prototype.watchValue=function(t){var e=u(t);if(this.inputRef.value!==e){this.inputRef.value=e}};t.prototype.componentDidLoad=function(){var t=this;var e,n,i,o,a;if(this.type==="file"){this.fileListener=function(){t.onInput.emit()};(e=this.inputRef)===null||e===void 0?void 0:e.addEventListener("change",this.fileListener)}else{(n=this.inputRef)===null||n===void 0?void 0:n.addEventListener("compositionstart",this.handleComposition);(i=this.inputRef)===null||i===void 0?void 0:i.addEventListener("compositionend",this.handleComposition);(o=this.inputRef)===null||o===void 0?void 0:o.addEventListener("beforeinput",this.handleBeforeinput);(a=this.inputRef)===null||a===void 0?void 0:a.addEventListener("textInput",this.handleBeforeinput)}Object.defineProperty(this.el,"value",{get:function(){return t.inputRef.value},set:function(e){return t.value=e},configurable:true})};t.prototype.disconnectedCallback=function(){var t,e,n,i,o;if(this.type==="file"){(t=this.inputRef)===null||t===void 0?void 0:t.removeEventListener("change",this.fileListener)}else{(e=this.inputRef)===null||e===void 0?void 0:e.removeEventListener("compositionstart",this.handleComposition);(n=this.inputRef)===null||n===void 0?void 0:n.removeEventListener("compositionend",this.handleComposition);(i=this.inputRef)===null||i===void 0?void 0:i.removeEventListener("beforeinput",this.handleBeforeinput);(o=this.inputRef)===null||o===void 0?void 0:o.removeEventListener("textInput",this.handleBeforeinput)}};t.prototype.render=function(){var t=this;var e=this,n=e.value,o=e.type,a=e.password,s=e.placeholder,l=e.autoFocus,h=e.disabled,f=e.maxlength,p=e.confirmType,c=e.name,d=e.nativeProps;return i("input",Object.assign({ref:function(e){t.inputRef=e;if(l&&e)e.focus()},class:"weui-input",type:r(o,p,a),placeholder:s,autoFocus:l,disabled:h,maxlength:f,name:c,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onCompositionStart:this.handleComposition,onCompositionEnd:this.handleComposition},d,{value:u(n)}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{autoFocus:["watchAutoFocus"],value:["watchValue"]}},enumerable:false,configurable:true});return t}());s.style=a}}}));
|
|
2
|
-
//# sourceMappingURL=p-10046f1a.system.entry.js.map
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,n,i){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function r(t){try{s(i.next(t))}catch(t){a(t)}}function u(t){try{s(i["throw"](t))}catch(t){a(t)}}function s(t){t.done?n(t.value):o(t.value).then(r,u)}s((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function u(t){return function(e){return s([t,e])}}function s(u){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,u[0]&&(n=0)),n)try{if(i=1,o&&(a=u[0]&2?o["return"]:u[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,u[1])).done)return a;if(o=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;o=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=e.call(t,n)}catch(t){u=[6,t];o=0}finally{i=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-1a0e1932.system.js"],(function(t){"use strict";var e,n,i,o;return{setters:[function(t){e=t.r;n=t.c;i=t.h;o=t.g}],execute:function(){var a="taro-input-core{display:block}input{display:block;overflow:hidden;height:1.4rem;text-overflow:clip;text-align:inherit;white-space:nowrap}";function r(t,e,n){if(e==="search")t="search";if(n)t="password";if(typeof t==="undefined"){return"text"}if(!t){throw new Error("unexpected type")}if(t==="digit")t="number";return t}function u(t){return t!==null&&t!==void 0?t:""}var s=t("taro_input_core",function(){function t(t){var i=this;e(this,t);this.onInput=n(this,"input",7);this.onPaste=n(this,"paste",7);this.onFocus=n(this,"focus",7);this.onBlur=n(this,"blur",7);this.onConfirm=n(this,"confirm",7);this.onChange=n(this,"change",7);this.onKeyDown=n(this,"keydown",7);this.isOnComposition=false;this.isOnPaste=false;this.onInputExcuted=false;this.handleInput=function(t){t.stopPropagation();var e=i,n=e.type,o=e.maxlength,a=e.confirmType,u=e.password;if(!i.isOnComposition&&!i.onInputExcuted){var s=t.target.value;var l=r(n,a,u);i.onInputExcuted=true;if(l==="number"&&s&&o>-1&&o<=s.length){s=s.substring(0,o);t.target.value=s}i.value=s;i.onInput.emit({value:s,cursor:s.length});i.onInputExcuted=false}};this.handlePaste=function(t){t.stopPropagation();i.isOnPaste=true;i.onPaste.emit({value:t.target.value})};this.handleFocus=function(t){t.stopPropagation();i.onInputExcuted=false;i.onFocus.emit({value:t.target.value})};this.handleBlur=function(t){t.stopPropagation();i.onBlur.emit({value:t.target.value})};this.handleChange=function(t){t.stopPropagation();i.onChange.emit({value:t.target.value});if(i.isOnPaste){i.isOnPaste=false;i.value=t.target.value;i.onInput.emit({value:t.target.value,cursor:t.target.value.length})}};this.handleKeyDown=function(t){t.stopPropagation();var e=t.target.value;var n=t.keyCode||t.code;i.onInputExcuted=false;i.onKeyDown.emit({value:e,cursor:e.length,keyCode:n});n===13&&i.onConfirm.emit({value:e})};this.handleComposition=function(t){t.stopPropagation();if(!(t.target instanceof HTMLInputElement))return;if(t.type==="compositionend"){i.isOnComposition=false;i.value=t.target.value;i.onInput.emit({value:t.target.value,cursor:t.target.value.length})}else{i.isOnComposition=true}};this.handleBeforeinput=function(t){if(!t.data)return;var e=t.data&&/[0-9]/.test(t.data);if(i.type==="number"&&!e){t.preventDefault()}if(i.type==="digit"&&!e){if(t.data!=="."||t.data==="."&&t.target.value.indexOf(".")>-1){t.preventDefault()}}};this.value=undefined;this.type=undefined;this.password=false;this.placeholder=undefined;this.disabled=false;this.maxlength=140;this.autoFocus=false;this.confirmType="done";this.name=undefined;this.nativeProps={}}t.prototype.focus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.inputRef.focus();return[2]}))}))};t.prototype.watchAutoFocus=function(t,e){var n;if(!e&&t){(n=this.inputRef)===null||n===void 0?void 0:n.focus()}};t.prototype.watchValue=function(t){var e=u(t);if(this.inputRef.value!==e){this.inputRef.value=e}};t.prototype.componentDidLoad=function(){var t=this;var e,n,i,o,a;if(this.type==="file"){this.fileListener=function(){t.onInput.emit()};(e=this.inputRef)===null||e===void 0?void 0:e.addEventListener("change",this.fileListener)}else{(n=this.inputRef)===null||n===void 0?void 0:n.addEventListener("compositionstart",this.handleComposition);(i=this.inputRef)===null||i===void 0?void 0:i.addEventListener("compositionend",this.handleComposition);(o=this.inputRef)===null||o===void 0?void 0:o.addEventListener("beforeinput",this.handleBeforeinput);(a=this.inputRef)===null||a===void 0?void 0:a.addEventListener("textInput",this.handleBeforeinput)}Object.defineProperty(this.el,"value",{get:function(){return t.inputRef.value},set:function(e){return t.value=e},configurable:true})};t.prototype.disconnectedCallback=function(){var t,e,n,i,o;if(this.type==="file"){(t=this.inputRef)===null||t===void 0?void 0:t.removeEventListener("change",this.fileListener)}else{(e=this.inputRef)===null||e===void 0?void 0:e.removeEventListener("compositionstart",this.handleComposition);(n=this.inputRef)===null||n===void 0?void 0:n.removeEventListener("compositionend",this.handleComposition);(i=this.inputRef)===null||i===void 0?void 0:i.removeEventListener("beforeinput",this.handleBeforeinput);(o=this.inputRef)===null||o===void 0?void 0:o.removeEventListener("textInput",this.handleBeforeinput)}};t.prototype.render=function(){var t=this;var e=this,n=e.value,o=e.type,a=e.password,s=e.placeholder,l=e.autoFocus,h=e.disabled,f=e.maxlength,p=e.confirmType,c=e.name,d=e.nativeProps;return i("input",Object.assign({ref:function(e){t.inputRef=e;if(l&&e)e.focus()},class:"weui-input",type:r(o,p,a),placeholder:s,autoFocus:l,disabled:h,maxlength:f,name:c,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onCompositionStart:this.handleComposition,onCompositionEnd:this.handleComposition},d,{value:u(n)}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{autoFocus:["watchAutoFocus"],value:["watchValue"]}},enumerable:false,configurable:true});return t}());s.style=a}}}));
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
System.register(["./p-1a0e1932.system.js"],(function(r){"use strict";var t,s,e;return{setters:[function(r){t=r.r;s=r.h;e=r.H}],execute:function(){var o=r("taro_progress_core",function(){function r(r){t(this,r);this.percent=0;this.showInfo=false;this.borderRadius=0;this.fontSize=16;this.strokeWidth=6;this.activeColor="#09BB07";this.backgroundColor="#EBEBEB";this.active=false}r.prototype.render=function(){var r=this,t=r.percent,o=r.showInfo,i=r.borderRadius,n=r.fontSize,a=r.strokeWidth,c=r.activeColor,u=r.backgroundColor,h=r.active;var d=t>100?100:t<0?0:t;var l={height:a+"px",backgroundColor:u};var p=h?"width 1s ease-in-out":"none";var v={width:"".concat(d,"%"),transition:p,WebkitTransition:p,backgroundColor:c,borderRadius:i?"".concat(i,"px"):"0px"};return s(e,{class:"weui-progress"},s("div",{class:"weui-progress__bar",style:l},s("div",{class:"weui-progress__inner-bar",style:v})),o&&s("div",{class:"weui-progress__opr",style:{"font-size":"".concat(n,"px")}},s("span",null,d,"%")))};return r}())}}}));
|
|
2
|
-
//# sourceMappingURL=p-10be7fb5.system.entry.js.map
|
|
1
|
+
System.register(["./p-1a0e1932.system.js"],(function(r){"use strict";var t,s,e;return{setters:[function(r){t=r.r;s=r.h;e=r.H}],execute:function(){var o=r("taro_progress_core",function(){function r(r){t(this,r);this.percent=0;this.showInfo=false;this.borderRadius=0;this.fontSize=16;this.strokeWidth=6;this.activeColor="#09BB07";this.backgroundColor="#EBEBEB";this.active=false}r.prototype.render=function(){var r=this,t=r.percent,o=r.showInfo,i=r.borderRadius,n=r.fontSize,a=r.strokeWidth,c=r.activeColor,u=r.backgroundColor,h=r.active;var d=t>100?100:t<0?0:t;var l={height:a+"px",backgroundColor:u};var p=h?"width 1s ease-in-out":"none";var v={width:"".concat(d,"%"),transition:p,WebkitTransition:p,backgroundColor:c,borderRadius:i?"".concat(i,"px"):"0px"};return s(e,{class:"weui-progress"},s("div",{class:"weui-progress__bar",style:l},s("div",{class:"weui-progress__inner-bar",style:v})),o&&s("div",{class:"weui-progress__opr",style:{"font-size":"".concat(n,"px")}},s("span",null,d,"%")))};return r}())}}}));
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{r as o,h as r,H as t}from"./p-78e3ebb9.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("AdCustom",this)}render(){return r(t,null)}};export{a as taro_ad_custom_core}
|
|
2
|
-
//# sourceMappingURL=p-4a462c95.entry.js.map
|
|
1
|
+
import{r as o,h as r,H as t}from"./p-78e3ebb9.js";import{n as s}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(r){o(this,r)}componentDidLoad(){s("AdCustom",this)}render(){return r(t,null)}};export{a as taro_ad_custom_core}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{r,h as n,H as o}from"./p-78e3ebb9.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(n){r(this,n)}componentDidLoad(){t("InlinePaymentPanel",this)}render(){return n(o,null)}};export{a as taro_inline_payment_panel_core}
|
|
2
|
-
//# sourceMappingURL=p-51caa3f3.entry.js.map
|
|
1
|
+
import{r,h as n,H as o}from"./p-78e3ebb9.js";import{n as t}from"./p-6a96da58.js";import"@tarojs/taro";const a=class{constructor(n){r(this,n)}componentDidLoad(){t("InlinePaymentPanel",this)}render(){return n(o,null)}};export{a as taro_inline_payment_panel_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,H as s}from"./p-78e3ebb9.js";import{c as r}from"./p-76724e58.js";const o=class{constructor(t){e(this,t),this.selectable=!1}render(){const e=r({"taro-text__selectable":this.selectable});return t(s,{class:e},t("slot",null))}};o.style="taro-text-core{display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:pre-wrap}.taro-text__selectable{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}";export{o as taro_text_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as e,H as i,g as o}from"./p-78e3ebb9.js";import{c as h}from"./p-76724e58.js";const r=class{constructor(e){t(this,e),this.onLongPress=s(this,"longpress",7),this.startTime=0,this.animation=void 0,this.hoverClass=void 0,this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1}onTouchStart(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}componentDidRender(){this.el.childNodes.forEach((t=>{t.nodeType===document.COMMENT_NODE&&t["s-cn"]&&(t["s-cn"]=!1),t.nodeType!==document.COMMENT_NODE&&t["s-sr"]&&(t["s-sr"]=!1)}))}render(){const t=h({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),e(i,Object.assign({class:t},s),e("slot",null))}get el(){return o(this)}};r.style="body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";export{r as taro_view_core}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
System.register(["@tarojs/taro"],(function(t){"use strict";var e;return{setters:[function(t){e=t.default}],execute:function(){t("n",r);function r(t,r){if(t===void 0){t=""}if(r===void 0){r={}}console.error("H5 暂不支持 ".concat(t," 组件!"));e.eventCenter.trigger("__taroNotSupport",{name:t,instance:r,type:"component",category:"temporarily"})}}}}));
|
|
2
|
-
//# sourceMappingURL=p-15e45ed6.system.js.map
|
|
1
|
+
System.register(["@tarojs/taro"],(function(t){"use strict";var e;return{setters:[function(t){e=t.default}],execute:function(){t("n",r);function r(t,r){if(t===void 0){t=""}if(r===void 0){r={}}console.error("H5 暂不支持 ".concat(t," 组件!"));e.eventCenter.trigger("__taroNotSupport",{name:t,instance:r,type:"component",category:"temporarily"})}}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as r,H as o}from"./p-78e3ebb9.js";const t=class{constructor(r){s(this,r),this.percent=0,this.showInfo=!1,this.borderRadius=0,this.fontSize=16,this.strokeWidth=6,this.activeColor="#09BB07",this.backgroundColor="#EBEBEB",this.active=!1}render(){const{percent:s,showInfo:t,borderRadius:i,fontSize:e,strokeWidth:n,activeColor:a,backgroundColor:c,active:h}=this,p=s>100?100:s<0?0:s,d=h?"width 1s ease-in-out":"none";return r(o,{class:"weui-progress"},r("div",{class:"weui-progress__bar",style:{height:n+"px",backgroundColor:c}},r("div",{class:"weui-progress__inner-bar",style:{width:`${p}%`,transition:d,WebkitTransition:d,backgroundColor:a,borderRadius:i?`${i}px`:"0px"}})),t&&r("div",{class:"weui-progress__opr",style:{"font-size":`${e}px`}},r("span",null,p,"%")))}};export{t as taro_progress_core}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
System.register(["./p-1a0e1932.system.js"],(function(t){"use strict";var n,e,o,i;return{setters:[function(t){n=t.r;e=t.c;o=t.h;i=t.g}],execute:function(){var r="taro-canvas-core{display:block;position:relative;width:300px;height:150px}";var s=500;var a=t("taro_canvas_core",function(){function t(t){var o=this;n(this,t);this.onLongTap=e(this,"longtap",7);this.onTouchStart=function(){o.timer=setTimeout((function(){o.onLongTap.emit()}),s)};this.onTouchMove=function(){clearTimeout(o.timer)};this.onTouchEnd=function(){clearTimeout(o.timer)};this.canvasId=undefined;this.nativeProps={}}t.prototype.render=function(){var t=this,n=t.canvasId,e=t.nativeProps;return o("canvas",Object.assign({"canvas-id":n,style:{width:"100%",height:"100%"},onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd},e))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());a.style=r}}}));
|
|
2
|
-
//# sourceMappingURL=p-17302fe9.system.entry.js.map
|
|
1
|
+
System.register(["./p-1a0e1932.system.js"],(function(t){"use strict";var n,e,o,i;return{setters:[function(t){n=t.r;e=t.c;o=t.h;i=t.g}],execute:function(){var r="taro-canvas-core{display:block;position:relative;width:300px;height:150px}";var s=500;var a=t("taro_canvas_core",function(){function t(t){var o=this;n(this,t);this.onLongTap=e(this,"longtap",7);this.onTouchStart=function(){o.timer=setTimeout((function(){o.onLongTap.emit()}),s)};this.onTouchMove=function(){clearTimeout(o.timer)};this.onTouchEnd=function(){clearTimeout(o.timer)};this.canvasId=undefined;this.nativeProps={}}t.prototype.render=function(){var t=this,n=t.canvasId,e=t.nativeProps;return o("canvas",Object.assign({"canvas-id":n,style:{width:"100%",height:"100%"},onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd},e))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());a.style=r}}}));
|
|
@@ -362,5 +362,4 @@ System.register(["./p-61f225ef.system.js"],(function(e){"use strict";var t,r,i;r
|
|
|
362
362
|
/*!*********************************!*\
|
|
363
363
|
!*** ./src/utils/xhr-loader.ts ***!
|
|
364
364
|
\*********************************/
|
|
365
|
-
/*! exports provided: default */function(e,t,r){r.r(t);var i=r(/*! ../utils/logger */"./src/utils/logger.ts");var a=r(/*! ../loader/load-stats */"./src/loader/load-stats.ts");var n=/^age:\s*[\d.]+\s*$/m;var s=function(){function e(e){this.xhrSetup=void 0;this.requestTimeout=void 0;this.retryTimeout=void 0;this.retryDelay=void 0;this.config=null;this.callbacks=null;this.context=void 0;this.loader=null;this.stats=void 0;this.xhrSetup=e?e.xhrSetup:null;this.stats=new a["LoadStats"];this.retryDelay=0}var t=e.prototype;t.destroy=function e(){this.callbacks=null;this.abortInternal();this.loader=null;this.config=null};t.abortInternal=function e(){var t=this.loader;self.clearTimeout(this.requestTimeout);self.clearTimeout(this.retryTimeout);if(t){t.onreadystatechange=null;t.onprogress=null;if(t.readyState!==4){this.stats.aborted=true;t.abort()}}};t.abort=function e(){var t;this.abortInternal();if((t=this.callbacks)!==null&&t!==void 0&&t.onAbort){this.callbacks.onAbort(this.stats,this.context,this.loader)}};t.load=function e(t,r,i){if(this.stats.loading.start){throw new Error("Loader can only be used once.")}this.stats.loading.start=self.performance.now();this.context=t;this.config=r;this.callbacks=i;this.retryDelay=r.retryDelay;this.loadInternal()};t.loadInternal=function e(){var t=this.config,r=this.context;if(!t){return}var i=this.loader=new self.XMLHttpRequest;var a=this.stats;a.loading.first=0;a.loaded=0;var n=this.xhrSetup;try{if(n){try{n(i,r.url)}catch(e){i.open("GET",r.url,true);n(i,r.url)}}if(!i.readyState){i.open("GET",r.url,true)}var s=this.context.headers;if(s){for(var o in s){i.setRequestHeader(o,s[o])}}}catch(e){this.callbacks.onError({code:i.status,text:e.message},r,i);return}if(r.rangeEnd){i.setRequestHeader("Range","bytes="+r.rangeStart+"-"+(r.rangeEnd-1))}i.onreadystatechange=this.readystatechange.bind(this);i.onprogress=this.loadprogress.bind(this);i.responseType=r.responseType;self.clearTimeout(this.requestTimeout);this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),t.timeout);i.send()};t.readystatechange=function e(){var t=this.context,r=this.loader,a=this.stats;if(!t||!r){return}var n=r.readyState;var s=this.config;if(a.aborted){return}if(n>=2){self.clearTimeout(this.requestTimeout);if(a.loading.first===0){a.loading.first=Math.max(self.performance.now(),a.loading.start)}if(n===4){r.onreadystatechange=null;r.onprogress=null;var o=r.status;if(o>=200&&o<300){a.loading.end=Math.max(self.performance.now(),a.loading.first);var l;var u;if(t.responseType==="arraybuffer"){l=r.response;u=l.byteLength}else{l=r.responseText;u=l.length}a.loaded=a.total=u;if(!this.callbacks){return}var f=this.callbacks.onProgress;if(f){f(a,t,l,r)}if(!this.callbacks){return}var d={url:r.responseURL,data:l};this.callbacks.onSuccess(d,a,t,r)}else{if(a.retry>=s.maxRetry||o>=400&&o<499){i["logger"].error(o+" while loading "+t.url);this.callbacks.onError({code:o,text:r.statusText},t,r)}else{i["logger"].warn(o+" while loading "+t.url+", retrying in "+this.retryDelay+"...");this.abortInternal();this.loader=null;self.clearTimeout(this.retryTimeout);this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay);this.retryDelay=Math.min(2*this.retryDelay,s.maxRetryDelay);a.retry++}}}else{self.clearTimeout(this.requestTimeout);this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),s.timeout)}}};t.loadtimeout=function e(){i["logger"].warn("timeout while loading "+this.context.url);var t=this.callbacks;if(t){this.abortInternal();t.onTimeout(this.stats,this.context,this.loader)}};t.loadprogress=function e(t){var r=this.stats;r.loaded=t.loaded;if(t.lengthComputable){r.total=t.total}};t.getCacheAge=function e(){var t=null;if(this.loader&&n.test(this.loader.getAllResponseHeaders())){var r=this.loader.getResponseHeader("age");t=r?parseFloat(r):null}return t};return e}();t["default"]=s}})["default"]}))}));var n=t(a);var s=Object.freeze(Object.assign(Object.create(null),a,{default:n}));e("h",s)}}}));
|
|
366
|
-
//# sourceMappingURL=p-1743a04b.system.js.map
|
|
365
|
+
/*! exports provided: default */function(e,t,r){r.r(t);var i=r(/*! ../utils/logger */"./src/utils/logger.ts");var a=r(/*! ../loader/load-stats */"./src/loader/load-stats.ts");var n=/^age:\s*[\d.]+\s*$/m;var s=function(){function e(e){this.xhrSetup=void 0;this.requestTimeout=void 0;this.retryTimeout=void 0;this.retryDelay=void 0;this.config=null;this.callbacks=null;this.context=void 0;this.loader=null;this.stats=void 0;this.xhrSetup=e?e.xhrSetup:null;this.stats=new a["LoadStats"];this.retryDelay=0}var t=e.prototype;t.destroy=function e(){this.callbacks=null;this.abortInternal();this.loader=null;this.config=null};t.abortInternal=function e(){var t=this.loader;self.clearTimeout(this.requestTimeout);self.clearTimeout(this.retryTimeout);if(t){t.onreadystatechange=null;t.onprogress=null;if(t.readyState!==4){this.stats.aborted=true;t.abort()}}};t.abort=function e(){var t;this.abortInternal();if((t=this.callbacks)!==null&&t!==void 0&&t.onAbort){this.callbacks.onAbort(this.stats,this.context,this.loader)}};t.load=function e(t,r,i){if(this.stats.loading.start){throw new Error("Loader can only be used once.")}this.stats.loading.start=self.performance.now();this.context=t;this.config=r;this.callbacks=i;this.retryDelay=r.retryDelay;this.loadInternal()};t.loadInternal=function e(){var t=this.config,r=this.context;if(!t){return}var i=this.loader=new self.XMLHttpRequest;var a=this.stats;a.loading.first=0;a.loaded=0;var n=this.xhrSetup;try{if(n){try{n(i,r.url)}catch(e){i.open("GET",r.url,true);n(i,r.url)}}if(!i.readyState){i.open("GET",r.url,true)}var s=this.context.headers;if(s){for(var o in s){i.setRequestHeader(o,s[o])}}}catch(e){this.callbacks.onError({code:i.status,text:e.message},r,i);return}if(r.rangeEnd){i.setRequestHeader("Range","bytes="+r.rangeStart+"-"+(r.rangeEnd-1))}i.onreadystatechange=this.readystatechange.bind(this);i.onprogress=this.loadprogress.bind(this);i.responseType=r.responseType;self.clearTimeout(this.requestTimeout);this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),t.timeout);i.send()};t.readystatechange=function e(){var t=this.context,r=this.loader,a=this.stats;if(!t||!r){return}var n=r.readyState;var s=this.config;if(a.aborted){return}if(n>=2){self.clearTimeout(this.requestTimeout);if(a.loading.first===0){a.loading.first=Math.max(self.performance.now(),a.loading.start)}if(n===4){r.onreadystatechange=null;r.onprogress=null;var o=r.status;if(o>=200&&o<300){a.loading.end=Math.max(self.performance.now(),a.loading.first);var l;var u;if(t.responseType==="arraybuffer"){l=r.response;u=l.byteLength}else{l=r.responseText;u=l.length}a.loaded=a.total=u;if(!this.callbacks){return}var f=this.callbacks.onProgress;if(f){f(a,t,l,r)}if(!this.callbacks){return}var d={url:r.responseURL,data:l};this.callbacks.onSuccess(d,a,t,r)}else{if(a.retry>=s.maxRetry||o>=400&&o<499){i["logger"].error(o+" while loading "+t.url);this.callbacks.onError({code:o,text:r.statusText},t,r)}else{i["logger"].warn(o+" while loading "+t.url+", retrying in "+this.retryDelay+"...");this.abortInternal();this.loader=null;self.clearTimeout(this.retryTimeout);this.retryTimeout=self.setTimeout(this.loadInternal.bind(this),this.retryDelay);this.retryDelay=Math.min(2*this.retryDelay,s.maxRetryDelay);a.retry++}}}else{self.clearTimeout(this.requestTimeout);this.requestTimeout=self.setTimeout(this.loadtimeout.bind(this),s.timeout)}}};t.loadtimeout=function e(){i["logger"].warn("timeout while loading "+this.context.url);var t=this.callbacks;if(t){this.abortInternal();t.onTimeout(this.stats,this.context,this.loader)}};t.loadprogress=function e(t){var r=this.stats;r.loaded=t.loaded;if(t.lengthComputable){r.total=t.total}};t.getCacheAge=function e(){var t=null;if(this.loader&&n.test(this.loader.getAllResponseHeaders())){var r=this.loader.getResponseHeader("age");t=r?parseFloat(r):null}return t};return e}();t["default"]=s}})["default"]}))}));var n=t(a);var s=Object.freeze(Object.assign(Object.create(null),a,{default:n}));e("h",s)}}}));
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
System.register(["./p-1a0e1932.system.js"],(function(t){"use strict";var r,e,n;return{setters:[function(t){r=t.r;e=t.h;n=t.H}],execute:function(){var u=t("taro_custom_wrapper_core",function(){function t(t){r(this,t)}t.prototype.render=function(){return e(n,null)};return t}())}}}));
|
|
2
|
-
//# sourceMappingURL=p-1941d333.system.entry.js.map
|
|
1
|
+
System.register(["./p-1a0e1932.system.js"],(function(t){"use strict";var r,e,n;return{setters:[function(t){r=t.r;e=t.h;n=t.H}],execute:function(){var u=t("taro_custom_wrapper_core",function(){function t(t){r(this,t)}t.prototype.render=function(){return e(n,null)};return t}())}}}));
|