@tarojs/components 3.8.0-canary.0 → 4.0.0-beta.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/dist/cjs/helper-ad6306f6.js +31 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-canvas-core.cjs.entry.js +13 -1
- package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-components.cjs.js +1 -1
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-image-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +31 -30
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +35 -35
- package/dist/cjs/{taro-pull-to-refresh.cjs.entry.js → taro-pull-to-refresh-core.cjs.entry.js} +15 -13
- package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +12 -0
- package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-snapshot-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +90 -58
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tabbar.cjs.entry.js +9 -21
- package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-video-control_3.cjs.entry.js +7 -3
- package/dist/cjs/taro-view-core.cjs.entry.js +3 -9
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/canvas/canvas.js +48 -2
- package/dist/collection/components/image/style/index.css +2 -2
- package/dist/collection/components/picker/picker.js +31 -30
- package/dist/collection/components/picker-view/picker-view-column.js +27 -55
- package/dist/collection/components/picker-view/picker-view.js +14 -2
- package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +14 -12
- package/dist/collection/components/pull-to-refresh/style/index.css +1 -1
- package/dist/collection/components/scroll-view/scroll-view.js +18 -2
- package/dist/collection/components/snapshot/snapshot.js +11 -0
- package/dist/collection/components/swiper/swiper-item.js +54 -33
- package/dist/collection/components/swiper/swiper.js +53 -24
- package/dist/collection/components/tabbar/style/index.css +5 -1
- package/dist/collection/components/tabbar/tabbar-item.js +1 -1
- package/dist/collection/components/tabbar/tabbar.js +4 -4
- package/dist/collection/components/video/style/index.css +1 -0
- package/dist/collection/components/video/video.js +6 -2
- package/dist/collection/components/view/view.js +2 -9
- package/dist/collection/utils/helper.js +11 -0
- package/dist/components/helper.js +12 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +2 -1
- package/dist/components/taro-canvas-core.js +16 -2
- package/dist/components/taro-image-core.js +1 -1
- package/dist/components/taro-picker-core.js +31 -30
- package/dist/components/taro-picker-view-column-core.js +26 -36
- package/dist/components/taro-picker-view-core.js +11 -2
- package/dist/components/taro-pull-to-refresh-core.d.ts +11 -0
- package/dist/components/{taro-pull-to-refresh.js → taro-pull-to-refresh-core.js} +19 -17
- package/dist/components/taro-scroll-view-core.js +12 -1
- package/dist/components/{taro-pull-to-refresh.d.ts → taro-snapshot-core.d.ts} +4 -4
- package/dist/components/taro-snapshot-core.js +33 -0
- package/dist/components/taro-swiper-core.js +53 -24
- package/dist/components/taro-swiper-item-core.js +40 -36
- package/dist/components/taro-tabbar.js +2 -14
- package/dist/components/taro-video-core.js +7 -3
- package/dist/components/taro-view-core.js +2 -9
- package/dist/esm/helper-8a85bb65.js +24 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/taro-ad-core.entry.js +1 -1
- package/dist/esm/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm/taro-animation-video-core.entry.js +1 -1
- package/dist/esm/taro-animation-view-core.entry.js +1 -1
- package/dist/esm/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm/taro-aweme-data-core.entry.js +1 -1
- package/dist/esm/taro-camera-core.entry.js +1 -1
- package/dist/esm/taro-canvas-core.entry.js +13 -1
- package/dist/esm/taro-channel-live-core.entry.js +1 -1
- package/dist/esm/taro-channel-video-core.entry.js +1 -1
- package/dist/esm/taro-comment-detail-core.entry.js +1 -1
- package/dist/esm/taro-comment-list-core.entry.js +1 -1
- package/dist/esm/taro-components.js +1 -1
- package/dist/esm/taro-contact-button-core.entry.js +1 -1
- package/dist/esm/taro-editor-core.entry.js +1 -1
- package/dist/esm/taro-follow-swan-core.entry.js +1 -1
- package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm/taro-grid-view-core.entry.js +1 -1
- package/dist/esm/taro-image-core.entry.js +1 -1
- package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
- package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm/taro-lifestyle-core.entry.js +1 -1
- package/dist/esm/taro-like-core.entry.js +1 -1
- package/dist/esm/taro-list-view-core.entry.js +1 -1
- package/dist/esm/taro-live-player-core.entry.js +1 -1
- package/dist/esm/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm/taro-login-core.entry.js +1 -1
- package/dist/esm/taro-lottie-core.entry.js +1 -1
- package/dist/esm/taro-map-core.entry.js +1 -1
- package/dist/esm/taro-match-media-core.entry.js +1 -1
- package/dist/esm/taro-native-slot-core.entry.js +1 -1
- package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm/taro-official-account-core.entry.js +1 -1
- package/dist/esm/taro-open-data-core.entry.js +1 -1
- package/dist/esm/taro-page-container-core.entry.js +1 -1
- package/dist/esm/taro-page-meta-core.entry.js +1 -1
- package/dist/esm/taro-picker-core_2.entry.js +31 -30
- package/dist/esm/taro-picker-view-column-core_2.entry.js +35 -35
- package/dist/esm/{taro-pull-to-refresh.entry.js → taro-pull-to-refresh-core.entry.js} +15 -13
- package/dist/esm/taro-root-portal-core.entry.js +1 -1
- package/dist/esm/taro-rtc-room-core.entry.js +1 -1
- package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
- package/dist/esm/taro-scroll-view-core.entry.js +12 -0
- package/dist/esm/taro-share-element-core.entry.js +1 -1
- package/dist/esm/taro-slot-core.entry.js +1 -1
- package/dist/esm/taro-snapshot-core.entry.js +17 -0
- package/dist/esm/taro-sticky-header-core.entry.js +1 -1
- package/dist/esm/taro-sticky-section-core.entry.js +1 -1
- package/dist/esm/taro-swiper-core_2.entry.js +90 -58
- package/dist/esm/taro-tab-item-core.entry.js +1 -1
- package/dist/esm/taro-tabbar.entry.js +2 -14
- package/dist/esm/taro-tabs-core.entry.js +1 -1
- package/dist/esm/taro-video-control_3.entry.js +7 -3
- package/dist/esm/taro-view-core.entry.js +3 -9
- package/dist/esm/taro-voip-room-core.entry.js +1 -1
- package/dist/esm-es5/helper-8a85bb65.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/taro-ad-core.entry.js +1 -1
- package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
- package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-camera-core.entry.js +1 -1
- package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
- package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
- package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
- package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
- package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
- package/dist/esm-es5/taro-editor-core.entry.js +1 -1
- package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
- package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
- package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
- package/dist/esm-es5/taro-like-core.entry.js +1 -1
- package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm-es5/taro-login-core.entry.js +1 -1
- package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
- package/dist/esm-es5/taro-map-core.entry.js +1 -1
- package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
- package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
- package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
- package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -0
- package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
- package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
- package/dist/esm-es5/taro-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-snapshot-core.entry.js +1 -0
- package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
- package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
- package/dist/esm-es5/taro-tabbar.entry.js +1 -1
- package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
- package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
- package/dist/esm-es5/taro-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
- package/dist/taro-components/p-00ed4bbb.entry.js +1 -0
- package/dist/taro-components/{p-9b6550fc.entry.js → p-065a10d7.entry.js} +1 -1
- package/dist/taro-components/p-06671eee.entry.js +1 -0
- package/dist/taro-components/p-08b7ecd7.system.entry.js +1 -0
- package/dist/taro-components/p-0a250d71.system.entry.js +1 -0
- package/dist/taro-components/{p-c39a46ca.system.entry.js → p-0cedad18.system.entry.js} +1 -1
- package/dist/taro-components/{p-b235e43c.entry.js → p-0e3b37e9.entry.js} +1 -1
- package/dist/taro-components/p-0e8199b7.entry.js +1 -0
- package/dist/taro-components/{p-cc164fa3.entry.js → p-0ec2e88a.entry.js} +1 -1
- package/dist/taro-components/{p-968b7c1d.entry.js → p-124ac21f.entry.js} +1 -1
- package/dist/taro-components/p-15624788.system.entry.js +1 -0
- package/dist/taro-components/p-1b789738.system.entry.js +1 -0
- package/dist/taro-components/p-1cf16dfa.entry.js +1 -0
- package/dist/taro-components/p-1f118969.system.entry.js +1 -0
- package/dist/taro-components/{p-898db637.system.entry.js → p-21c07cb3.system.entry.js} +1 -1
- package/dist/taro-components/{p-af9ef8b4.entry.js → p-22bf7daf.entry.js} +1 -1
- package/dist/taro-components/p-24d9836e.entry.js +1 -0
- package/dist/taro-components/p-29638de3.entry.js +1 -0
- package/dist/taro-components/p-2da9c8fd.entry.js +1 -0
- package/dist/taro-components/{p-5640e9f4.system.entry.js → p-3004e71a.system.entry.js} +1 -1
- package/dist/taro-components/{p-1974e52e.system.entry.js → p-32e9981a.system.entry.js} +1 -1
- package/dist/taro-components/{p-f534057e.system.entry.js → p-36d4407e.system.entry.js} +1 -1
- package/dist/taro-components/p-3f3abe55.system.entry.js +1 -0
- package/dist/taro-components/p-4cedbe5e.system.entry.js +1 -0
- package/dist/taro-components/{p-355e4dbc.entry.js → p-4fc40739.entry.js} +1 -1
- package/dist/taro-components/{p-6d4b7e5c.system.entry.js → p-519fbe84.system.entry.js} +1 -1
- package/dist/taro-components/{p-90333d0a.system.entry.js → p-5756cf00.system.entry.js} +1 -1
- package/dist/taro-components/{p-88d2b41b.system.entry.js → p-5870248f.system.entry.js} +1 -1
- package/dist/taro-components/{p-81f2ad70.system.entry.js → p-58cc2e6d.system.entry.js} +1 -1
- package/dist/taro-components/{p-9ac947ac.system.entry.js → p-5994d9f2.system.entry.js} +1 -1
- package/dist/taro-components/p-5e91398a.system.entry.js +1 -0
- package/dist/taro-components/{p-2d1b4dcc.system.entry.js → p-5ebc7010.system.entry.js} +1 -1
- package/dist/taro-components/p-600e89cc.system.entry.js +1 -0
- package/dist/taro-components/p-64eb91f7.entry.js +1 -0
- package/dist/taro-components/{p-137531b6.entry.js → p-69c43a81.entry.js} +1 -1
- package/dist/taro-components/p-6aa2ac6a.system.entry.js +1 -0
- package/dist/taro-components/{p-982bb5bf.entry.js → p-6b454506.entry.js} +1 -1
- package/dist/taro-components/{p-ebdd350f.system.entry.js → p-6cde54e5.system.entry.js} +1 -1
- package/dist/taro-components/{p-407ca16e.entry.js → p-76996fcb.entry.js} +1 -1
- package/dist/taro-components/p-7726b789.system.entry.js +1 -0
- package/dist/taro-components/{p-bdc30301.entry.js → p-7bfc5f3d.entry.js} +1 -1
- package/dist/taro-components/p-84958ace.entry.js +1 -0
- package/dist/taro-components/p-862b38b9.entry.js +1 -0
- package/dist/taro-components/p-8c3b906c.system.js +1 -0
- package/dist/taro-components/p-8ca82a56.entry.js +1 -0
- package/dist/taro-components/p-8ccaf5e8.entry.js +1 -0
- package/dist/taro-components/{p-0517f107.system.entry.js → p-8d990f1c.system.entry.js} +1 -1
- package/dist/taro-components/{p-07302165.system.entry.js → p-92d04741.system.entry.js} +1 -1
- package/dist/taro-components/p-99e16df8.entry.js +1 -0
- package/dist/taro-components/p-9b0298bf.entry.js +1 -0
- package/dist/taro-components/{p-fa0f6dab.system.entry.js → p-9d76d7a9.system.entry.js} +1 -1
- package/dist/taro-components/p-9dcba4a7.system.entry.js +1 -0
- package/dist/taro-components/p-9e03bc7a.system.entry.js +1 -0
- package/dist/taro-components/p-9ea4f297.entry.js +1 -0
- package/dist/taro-components/p-9eeba192.entry.js +1 -0
- package/dist/taro-components/p-9feff958.system.entry.js +1 -0
- package/dist/taro-components/p-a2141e85.system.entry.js +1 -0
- package/dist/taro-components/p-a2d590ad.entry.js +1 -0
- package/dist/taro-components/{p-204bd245.entry.js → p-a4951dd6.entry.js} +1 -1
- package/dist/taro-components/{p-46b8f89b.entry.js → p-a5a51112.entry.js} +1 -1
- package/dist/taro-components/p-a6e2dd48.entry.js +1 -0
- package/dist/taro-components/{p-66b0b419.system.entry.js → p-a74c970c.system.entry.js} +1 -1
- package/dist/taro-components/{p-e53508c1.system.entry.js → p-a7d31b01.system.entry.js} +1 -1
- package/dist/taro-components/p-a90221ab.system.entry.js +1 -0
- package/dist/taro-components/p-a94e3347.system.entry.js +1 -0
- package/dist/taro-components/p-aa04f605.entry.js +1 -0
- package/dist/taro-components/p-ad9b04e0.entry.js +1 -0
- package/dist/taro-components/{p-f11c9c37.system.entry.js → p-b07cd197.system.entry.js} +1 -1
- package/dist/taro-components/p-b0fc8752.entry.js +1 -0
- package/dist/taro-components/{p-139e6251.entry.js → p-b201ff38.entry.js} +1 -1
- package/dist/taro-components/p-bc541cd8.entry.js +1 -0
- package/dist/taro-components/{p-af8e521a.entry.js → p-bd4ed8b1.entry.js} +1 -1
- package/dist/taro-components/p-be96eb59.system.entry.js +1 -0
- package/dist/taro-components/{p-da239b8b.system.entry.js → p-bf0c8449.system.entry.js} +1 -1
- package/dist/taro-components/p-c0080d83.entry.js +1 -0
- package/dist/taro-components/p-c1a3fecf.system.entry.js +1 -0
- package/dist/taro-components/{p-8201ee31.system.entry.js → p-c913b635.system.entry.js} +1 -1
- package/dist/taro-components/{p-ce33f1f3.entry.js → p-c99e14b5.entry.js} +1 -1
- package/dist/taro-components/p-cb406f85.system.entry.js +1 -0
- package/dist/taro-components/p-cbcaad0e.system.entry.js +1 -0
- package/dist/taro-components/p-ccc64042.system.entry.js +1 -0
- package/dist/taro-components/p-ce303d12.system.entry.js +1 -0
- package/dist/taro-components/{p-7e998213.system.entry.js → p-d025a415.system.entry.js} +1 -1
- package/dist/taro-components/{p-6db97374.entry.js → p-d1756770.entry.js} +1 -1
- package/dist/taro-components/p-d2e0b15c.entry.js +1 -0
- package/dist/taro-components/p-d550aea9.system.entry.js +1 -0
- package/dist/taro-components/p-d5c8380d.system.entry.js +1 -0
- package/dist/taro-components/{p-5dab46cd.system.entry.js → p-d867e333.system.entry.js} +1 -1
- package/dist/taro-components/{p-50902cd0.entry.js → p-d9dcc6c6.entry.js} +1 -1
- package/dist/taro-components/p-da3db323.entry.js +1 -0
- package/dist/taro-components/{p-0114a2e4.entry.js → p-dadd02ca.entry.js} +1 -1
- package/dist/taro-components/p-dbdb9de9.js +1 -0
- package/dist/taro-components/{p-cc70bb7a.system.entry.js → p-dc5d65a0.system.entry.js} +1 -1
- package/dist/taro-components/{p-ab726c20.system.entry.js → p-de96861c.system.entry.js} +1 -1
- package/dist/taro-components/{p-907d9d01.system.entry.js → p-e2cd5dd3.system.entry.js} +1 -1
- package/dist/taro-components/{p-1404c119.entry.js → p-e598f47b.entry.js} +1 -1
- package/dist/taro-components/p-e740320c.entry.js +1 -0
- package/dist/taro-components/p-e976c6c9.system.entry.js +1 -0
- package/dist/taro-components/p-ea0d5d4f.system.entry.js +1 -0
- package/dist/taro-components/p-ed331c06.system.js +1 -1
- package/dist/taro-components/p-eee6e075.system.entry.js +1 -0
- package/dist/taro-components/p-ef322936.entry.js +1 -0
- package/dist/taro-components/p-f1304456.entry.js +1 -0
- package/dist/taro-components/{p-3d8c9dfb.entry.js → p-f2235cbb.entry.js} +1 -1
- package/dist/taro-components/{p-2af69b72.entry.js → p-f23cfdc8.entry.js} +1 -1
- package/dist/taro-components/p-f2c86846.entry.js +1 -0
- package/dist/taro-components/p-f4d86882.entry.js +1 -0
- package/dist/taro-components/{p-8c0b740e.entry.js → p-f658de2e.entry.js} +1 -1
- package/dist/taro-components/p-f78823a1.entry.js +1 -0
- package/dist/taro-components/{p-227e33fc.system.entry.js → p-fac4ce6f.system.entry.js} +1 -1
- package/dist/taro-components/p-fbb2446e.entry.js +1 -0
- package/dist/taro-components/taro-components.css +1 -1
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/types/components/canvas/canvas.d.ts +5 -2
- package/dist/types/components/picker-view/picker-view-column.d.ts +3 -3
- package/dist/types/components/picker-view/picker-view.d.ts +2 -0
- package/dist/types/components/scroll-view/scroll-view.d.ts +2 -0
- package/dist/types/components/snapshot/snapshot.d.ts +5 -0
- package/dist/types/components/swiper/swiper-item.d.ts +3 -0
- package/dist/types/components/swiper/swiper.d.ts +4 -3
- package/dist/types/components/tabbar/tabbar-item.d.ts +4 -4
- package/dist/types/components/tabbar/tabbar.d.ts +17 -16
- package/dist/types/components.d.ts +33 -15
- package/dist/types/utils/helper.d.ts +1 -0
- package/lib/react/component-lib/reactify-wc.js +1 -1
- package/lib/react/component-lib/reactify-wc.js.map +1 -1
- package/lib/react/components.d.ts +3 -2
- package/lib/react/components.js +4 -3
- package/lib/react/components.js.map +1 -1
- package/lib/react/index.js +1 -1
- package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
- package/lib/react/react-component-lib/utils/attachProps.js +20 -1
- package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/lib/vue2/components.d.ts +6 -2
- package/lib/vue2/components.js +10 -4
- package/lib/vue2/components.js.map +1 -1
- package/lib/vue2/index.js +1 -1
- package/lib/vue2/vue-component-lib/utils.js.map +1 -1
- package/lib/vue3/components.d.ts +6 -3
- package/lib/vue3/components.js +8 -4
- package/lib/vue3/components.js.map +1 -1
- package/lib/vue3/index.js +1 -1
- package/lib/vue3/vue-component-lib/utils.js.map +1 -1
- package/package.json +7 -7
- package/types/Button.d.ts +39 -8
- package/types/Camera.d.ts +1 -1
- package/types/Canvas.d.ts +12 -12
- package/types/ChannelVideo.d.ts +2 -2
- package/types/Checkbox.d.ts +10 -5
- package/types/CoverImage.d.ts +1 -1
- package/types/Form.d.ts +2 -2
- package/types/GridView.d.ts +1 -1
- package/types/Icon.d.ts +3 -3
- package/types/Image.d.ts +3 -2
- package/types/Input.d.ts +15 -15
- package/types/Label.d.ts +1 -1
- package/types/ListView.d.ts +1 -1
- package/types/LivePlayer.d.ts +11 -4
- package/types/Map.d.ts +46 -3
- package/types/NativeSlot.d.ts +5 -3
- package/types/NavigationBar.d.ts +7 -1
- package/types/Navigator.d.ts +1 -1
- package/types/PageMeta.d.ts +40 -0
- package/types/Picker.d.ts +20 -20
- package/types/PickerView.d.ts +1 -1
- package/types/PickerViewColumn.d.ts +1 -1
- package/types/Progress.d.ts +1 -1
- package/types/Radio.d.ts +10 -5
- package/types/RadioGroup.d.ts +1 -1
- package/types/ScrollView.d.ts +83 -5
- package/types/ShareElement.d.ts +1 -1
- package/types/Slider.d.ts +14 -14
- package/types/Slot.d.ts +5 -3
- package/types/Snapshot.d.ts +16 -0
- package/types/StickyHeader.d.ts +1 -1
- package/types/StickySection.d.ts +1 -1
- package/types/Swiper.d.ts +13 -9
- package/types/SwiperItem.d.ts +6 -1
- package/types/Switch.d.ts +5 -5
- package/types/Text.d.ts +2 -2
- package/types/Textarea.d.ts +8 -8
- package/types/Video.d.ts +28 -19
- package/types/common.d.ts +2 -1
- package/types/index.d.ts +8 -5
- package/types/index.vue3.d.ts +21 -7
- package/dist/cjs/helper-db78e01a.js +0 -19
- package/dist/esm/helper-3d0ecf0f.js +0 -13
- package/dist/esm-es5/helper-3d0ecf0f.js +0 -1
- package/dist/esm-es5/taro-pull-to-refresh.entry.js +0 -1
- package/dist/taro-components/p-052da7f0.system.entry.js +0 -1
- package/dist/taro-components/p-15e45ed6.system.js +0 -1
- package/dist/taro-components/p-1991cc1a.system.entry.js +0 -1
- package/dist/taro-components/p-1b3d41d3.system.entry.js +0 -1
- package/dist/taro-components/p-1c4e3899.entry.js +0 -1
- package/dist/taro-components/p-1f39576a.system.entry.js +0 -1
- package/dist/taro-components/p-2de2a3fd.system.entry.js +0 -1
- package/dist/taro-components/p-3094bda6.system.entry.js +0 -1
- package/dist/taro-components/p-416cc4dd.system.entry.js +0 -1
- package/dist/taro-components/p-469ee343.entry.js +0 -1
- package/dist/taro-components/p-478deb81.entry.js +0 -1
- package/dist/taro-components/p-486d0ec7.entry.js +0 -1
- package/dist/taro-components/p-53ef8a6c.system.entry.js +0 -1
- package/dist/taro-components/p-5613907c.entry.js +0 -1
- package/dist/taro-components/p-57b9943c.system.entry.js +0 -1
- package/dist/taro-components/p-5c1e6b1c.system.entry.js +0 -1
- package/dist/taro-components/p-6127b1b6.system.entry.js +0 -1
- package/dist/taro-components/p-66f7eea6.entry.js +0 -1
- package/dist/taro-components/p-69cd1f2a.system.entry.js +0 -1
- package/dist/taro-components/p-6a96da58.js +0 -1
- package/dist/taro-components/p-6cde180b.entry.js +0 -1
- package/dist/taro-components/p-6e115968.entry.js +0 -1
- package/dist/taro-components/p-6f84e936.entry.js +0 -1
- package/dist/taro-components/p-71b54f06.entry.js +0 -1
- package/dist/taro-components/p-79c3fde3.system.entry.js +0 -1
- package/dist/taro-components/p-7b3b8057.entry.js +0 -1
- package/dist/taro-components/p-7d635413.entry.js +0 -1
- package/dist/taro-components/p-801f09b8.entry.js +0 -1
- package/dist/taro-components/p-85a7daeb.system.entry.js +0 -1
- package/dist/taro-components/p-86280254.entry.js +0 -1
- package/dist/taro-components/p-9046110a.entry.js +0 -1
- package/dist/taro-components/p-904df510.entry.js +0 -1
- package/dist/taro-components/p-98f9f50f.system.entry.js +0 -1
- package/dist/taro-components/p-9aeb7995.entry.js +0 -1
- package/dist/taro-components/p-9d9ede17.system.entry.js +0 -1
- package/dist/taro-components/p-a20ecd3b.entry.js +0 -1
- package/dist/taro-components/p-a3a1a779.entry.js +0 -1
- package/dist/taro-components/p-a4882902.system.entry.js +0 -1
- package/dist/taro-components/p-a8565231.entry.js +0 -1
- package/dist/taro-components/p-a8925584.system.entry.js +0 -1
- package/dist/taro-components/p-a8e7cf87.entry.js +0 -1
- package/dist/taro-components/p-af3fa859.system.entry.js +0 -1
- package/dist/taro-components/p-afb3895c.system.entry.js +0 -1
- package/dist/taro-components/p-b027181b.entry.js +0 -1
- package/dist/taro-components/p-b4ea72ea.entry.js +0 -1
- package/dist/taro-components/p-b4f3d0ab.entry.js +0 -1
- package/dist/taro-components/p-b6d4634f.system.entry.js +0 -1
- package/dist/taro-components/p-ba3b2aa5.system.entry.js +0 -1
- package/dist/taro-components/p-bcf80126.system.entry.js +0 -1
- package/dist/taro-components/p-c1073ed6.system.entry.js +0 -1
- package/dist/taro-components/p-c11a42e0.entry.js +0 -1
- package/dist/taro-components/p-c4b8851b.entry.js +0 -1
- package/dist/taro-components/p-d34a6c04.entry.js +0 -1
- package/dist/taro-components/p-e33f3592.entry.js +0 -1
- package/dist/taro-components/p-e3480c4c.entry.js +0 -1
- package/dist/taro-components/p-eaa370a9.system.entry.js +0 -1
- package/dist/taro-components/p-f7927285.system.entry.js +0 -1
- package/dist/taro-components/p-f7b32c6b.entry.js +0 -1
- package/dist/taro-components/p-fa6c022a.system.entry.js +0 -1
- package/dist/taro-components/p-fb983850.entry.js +0 -1
|
@@ -413,40 +413,41 @@ const Picker = class {
|
|
|
413
413
|
}
|
|
414
414
|
else if (mode === 'date') {
|
|
415
415
|
const value = this.value;
|
|
416
|
-
|
|
416
|
+
let _value = verifyDate(value) || new Date(new Date().setHours(0, 0, 0, 0)); // 没传值或值的合法性错误默认今天时间
|
|
417
417
|
const _start = verifyDate(start) || new Date('1970/01/01');
|
|
418
418
|
const _end = verifyDate(end) || new Date('2999/01/01');
|
|
419
419
|
// 时间区间有效性
|
|
420
|
-
if (
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
const monthRange = getMonthRange(_start, _end, currentYear);
|
|
426
|
-
const dayRange = getDayRange(_start, _end, currentYear, currentMonth);
|
|
427
|
-
this.index = [
|
|
428
|
-
yearRange.indexOf(currentYear),
|
|
429
|
-
monthRange.indexOf(currentMonth),
|
|
430
|
-
dayRange.indexOf(currentDay)
|
|
431
|
-
];
|
|
432
|
-
if (!this.pickerDate ||
|
|
433
|
-
this.pickerDate._value.getTime() !== _value.getTime() ||
|
|
434
|
-
this.pickerDate._start.getTime() !== _start.getTime() ||
|
|
435
|
-
this.pickerDate._end.getTime() !== _end.getTime()) {
|
|
436
|
-
this.pickerDate = {
|
|
437
|
-
_value,
|
|
438
|
-
_start,
|
|
439
|
-
_end,
|
|
440
|
-
_updateValue: [
|
|
441
|
-
currentYear,
|
|
442
|
-
currentMonth,
|
|
443
|
-
currentDay
|
|
444
|
-
]
|
|
445
|
-
};
|
|
446
|
-
}
|
|
420
|
+
if (!(_start <= _end)) {
|
|
421
|
+
throw new Error(`Picker start time must be less than end time.`);
|
|
422
|
+
}
|
|
423
|
+
if (!(_value >= _start && _value <= _end)) {
|
|
424
|
+
_value = _start;
|
|
447
425
|
}
|
|
448
|
-
|
|
449
|
-
|
|
426
|
+
const currentYear = _value.getFullYear();
|
|
427
|
+
const currentMonth = _value.getMonth() + 1;
|
|
428
|
+
const currentDay = _value.getDate();
|
|
429
|
+
const yearRange = getYearRange(_start.getFullYear(), _end.getFullYear());
|
|
430
|
+
const monthRange = getMonthRange(_start, _end, currentYear);
|
|
431
|
+
const dayRange = getDayRange(_start, _end, currentYear, currentMonth);
|
|
432
|
+
this.index = [
|
|
433
|
+
yearRange.indexOf(currentYear),
|
|
434
|
+
monthRange.indexOf(currentMonth),
|
|
435
|
+
dayRange.indexOf(currentDay)
|
|
436
|
+
];
|
|
437
|
+
if (!this.pickerDate ||
|
|
438
|
+
this.pickerDate._value.getTime() !== _value.getTime() ||
|
|
439
|
+
this.pickerDate._start.getTime() !== _start.getTime() ||
|
|
440
|
+
this.pickerDate._end.getTime() !== _end.getTime()) {
|
|
441
|
+
this.pickerDate = {
|
|
442
|
+
_value,
|
|
443
|
+
_start,
|
|
444
|
+
_end,
|
|
445
|
+
_updateValue: [
|
|
446
|
+
currentYear,
|
|
447
|
+
currentMonth,
|
|
448
|
+
currentDay
|
|
449
|
+
]
|
|
450
|
+
};
|
|
450
451
|
}
|
|
451
452
|
}
|
|
452
453
|
else {
|
|
@@ -53,46 +53,37 @@ const PickerViewColumn = class {
|
|
|
53
53
|
this.initialPosition = '0';
|
|
54
54
|
this.paddingVertical = 0;
|
|
55
55
|
this.isInit = false;
|
|
56
|
-
this.isMove = false;
|
|
57
56
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
this.isMove = true;
|
|
61
|
-
this.onSelectStart.emit();
|
|
62
|
-
}
|
|
63
|
-
this.handleSelected();
|
|
64
|
-
}
|
|
65
|
-
onMouseEnd() {
|
|
66
|
-
if (!this.isMove)
|
|
67
|
-
return;
|
|
68
|
-
this.isMove = false;
|
|
69
|
-
this.handleSelected();
|
|
57
|
+
onTouchStart() {
|
|
58
|
+
this.onSelectStart.emit();
|
|
70
59
|
}
|
|
71
60
|
onTouchEnd() {
|
|
72
|
-
this.isMove = false;
|
|
73
61
|
this.handleSelected();
|
|
74
62
|
}
|
|
63
|
+
componentDidLoad() {
|
|
64
|
+
this.handleChange();
|
|
65
|
+
}
|
|
75
66
|
componentDidUpdate() {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
sum += item.offsetHeight;
|
|
87
|
-
idx++;
|
|
88
|
-
}
|
|
89
|
-
this.el.scrollTo({ top: sum });
|
|
90
|
-
if (idx >= childList.length) {
|
|
91
|
-
this.onChange.emit({
|
|
92
|
-
curIndex: this.col,
|
|
93
|
-
selectedIndex: idx - 1
|
|
94
|
-
});
|
|
67
|
+
this.handleChange();
|
|
68
|
+
}
|
|
69
|
+
handleChange() {
|
|
70
|
+
const childList = this.el.childNodes;
|
|
71
|
+
let idx = 0;
|
|
72
|
+
let sum = 0;
|
|
73
|
+
for (const index in childList) {
|
|
74
|
+
const item = childList[index];
|
|
75
|
+
if (this.initialPosition === index || !item || typeof item.offsetHeight !== 'number') {
|
|
76
|
+
break;
|
|
95
77
|
}
|
|
78
|
+
sum += item.offsetHeight;
|
|
79
|
+
idx++;
|
|
80
|
+
}
|
|
81
|
+
this.el.scrollTo({ top: sum });
|
|
82
|
+
if (idx >= childList.length) {
|
|
83
|
+
this.onChange.emit({
|
|
84
|
+
curIndex: this.col,
|
|
85
|
+
selectedIndex: idx - 1
|
|
86
|
+
});
|
|
96
87
|
}
|
|
97
88
|
}
|
|
98
89
|
render() {
|
|
@@ -117,6 +108,9 @@ const PickerView = class {
|
|
|
117
108
|
this.maskStyle = undefined;
|
|
118
109
|
this.maskClass = undefined;
|
|
119
110
|
}
|
|
111
|
+
onPropsChange() {
|
|
112
|
+
this.handleValueChange();
|
|
113
|
+
}
|
|
120
114
|
onSelect(e) {
|
|
121
115
|
e.stopPropagation();
|
|
122
116
|
if (e.target.tagName !== 'TARO-PICKER-VIEW-COLUMN-CORE')
|
|
@@ -139,13 +133,16 @@ const PickerView = class {
|
|
|
139
133
|
this.onPickEnd.emit();
|
|
140
134
|
}
|
|
141
135
|
componentDidLoad() {
|
|
136
|
+
this.handleValueChange();
|
|
137
|
+
}
|
|
138
|
+
handleValueChange() {
|
|
142
139
|
const childList = this.el.querySelectorAll('taro-picker-view-column-core');
|
|
143
140
|
childList.forEach((element, index) => {
|
|
144
141
|
var _a;
|
|
145
142
|
element.setAttribute('col', `${index}`);
|
|
146
|
-
let selectIndex =
|
|
143
|
+
let selectIndex = 0;
|
|
147
144
|
if (!!this.value && this.value.length > index) {
|
|
148
|
-
selectIndex =
|
|
145
|
+
selectIndex = this.value[index];
|
|
149
146
|
}
|
|
150
147
|
const pickerHeight = this.el.getBoundingClientRect().height;
|
|
151
148
|
const indicatorHeight = ((_a = this.indicator) === null || _a === void 0 ? void 0 : _a.offsetHeight) || 0;
|
|
@@ -174,6 +171,9 @@ const PickerView = class {
|
|
|
174
171
|
return (index.h(index.Host, { class: "taro-picker-view-container" }, index.h("slot", null), index.h("div", { class: "taro-picker-view-mask-container" }, index.h("div", { class: maskTopCls, style: maskTopStyle }), index.h("div", { class: indicatorCls, style: indicatorStyle, ref: indicator => (this.indicator = indicator) }), index.h("div", { class: maskBtmCls, style: maskBottomStyle }))));
|
|
175
172
|
}
|
|
176
173
|
get el() { return index.getElement(this); }
|
|
174
|
+
static get watchers() { return {
|
|
175
|
+
"value": ["onPropsChange"]
|
|
176
|
+
}; }
|
|
177
177
|
};
|
|
178
178
|
PickerView.style = indexCss;
|
|
179
179
|
|
package/dist/cjs/{taro-pull-to-refresh.cjs.entry.js → taro-pull-to-refresh-core.cjs.entry.js}
RENAMED
|
@@ -10,7 +10,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
10
10
|
|
|
11
11
|
const Taro__default = /*#__PURE__*/_interopDefaultLegacy(Taro);
|
|
12
12
|
|
|
13
|
-
const indexCss = ".rmc-pull-to-refresh-content{-webkit-transform-origin:left top 0;transform-origin:left top 0}.rmc-pull-to-refresh-content-wrapper{min-height:
|
|
13
|
+
const indexCss = ".rmc-pull-to-refresh-content{-webkit-transform-origin:left top 0;transform-origin:left top 0}.rmc-pull-to-refresh-content-wrapper{min-height:100%}.rmc-pull-to-refresh-transition{-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;transition:transform 0.3s;transition:transform 0.3s, -webkit-transform 0.3s}@-webkit-keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}@keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}.rmc-pull-to-refresh-indicator{height:30px;line-height:10px;text-align:center}.rmc-pull-to-refresh-indicator>div{display:inline-block;margin:3px;border-radius:100%;width:6px;height:6px;background-color:grey;-webkit-animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;-webkit-animation-fill-mode:both;animation-fill-mode:both}.rmc-pull-to-refresh-indicator>div:nth-child(0){-webkit-animation-delay:-0.1s !important;animation-delay:-0.1s !important}.rmc-pull-to-refresh-indicator>div:nth-child(1){-webkit-animation-delay:-0.2s !important;animation-delay:-0.2s !important}.rmc-pull-to-refresh-indicator>div:nth-child(2){-webkit-animation-delay:-0.3s !important;animation-delay:-0.3s !important}.rmc-pull-to-refresh-down .rmc-pull-to-refresh-indicator{margin-top:-25px}";
|
|
14
14
|
|
|
15
15
|
function setTransform(nodeStyle, value) {
|
|
16
16
|
nodeStyle.transform = value;
|
|
@@ -229,17 +229,19 @@ const PullToRefresh = class {
|
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
Taro__default['default'].eventCenter.on('__taroStopPullDownRefresh', ({ successHandler, errorHandler }) => {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
232
|
+
setTimeout(() => {
|
|
233
|
+
try {
|
|
234
|
+
this.triggerPullDownRefresh(false);
|
|
235
|
+
successHandler({
|
|
236
|
+
errMsg: 'stopPullDownRefresh: ok'
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
catch (e) {
|
|
240
|
+
errorHandler({
|
|
241
|
+
errMsg: 'stopPullDownRefresh: fail'
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
}, 0);
|
|
243
245
|
});
|
|
244
246
|
}
|
|
245
247
|
render() {
|
|
@@ -263,4 +265,4 @@ const PullToRefresh = class {
|
|
|
263
265
|
};
|
|
264
266
|
PullToRefresh.style = indexCss;
|
|
265
267
|
|
|
266
|
-
exports.
|
|
268
|
+
exports.taro_pull_to_refresh_core = PullToRefresh;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e751dfe3.js');
|
|
6
|
-
const helper = require('./helper-
|
|
6
|
+
const helper = require('./helper-ad6306f6.js');
|
|
7
7
|
require('@tarojs/taro');
|
|
8
8
|
|
|
9
9
|
const RootPortal = class {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e751dfe3.js');
|
|
6
|
-
const helper = require('./helper-
|
|
6
|
+
const helper = require('./helper-ad6306f6.js');
|
|
7
7
|
require('@tarojs/taro');
|
|
8
8
|
|
|
9
9
|
const RtcRoom = class {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e751dfe3.js');
|
|
6
|
-
const helper = require('./helper-
|
|
6
|
+
const helper = require('./helper-ad6306f6.js');
|
|
7
7
|
require('@tarojs/taro');
|
|
8
8
|
|
|
9
9
|
const RtcRoomItem = class {
|
|
@@ -5,6 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-e751dfe3.js');
|
|
6
6
|
const index$2 = require('./index-f6805218.js');
|
|
7
7
|
const index$1 = require('./index-dfd8638f.js');
|
|
8
|
+
const helper = require('./helper-ad6306f6.js');
|
|
9
|
+
require('@tarojs/taro');
|
|
8
10
|
|
|
9
11
|
const indexCss = "taro-scroll-view-core{display:block;width:100%;-webkit-overflow-scrolling:auto}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow-x:scroll;overflow-y:hidden}.taro-scroll-view__scroll-y{overflow-x:hidden;overflow-y:scroll}";
|
|
10
12
|
|
|
@@ -84,9 +86,11 @@ const ScrollView = class {
|
|
|
84
86
|
this.mpScrollIntoViewMethod(newVal);
|
|
85
87
|
}
|
|
86
88
|
handleScroll(e) {
|
|
89
|
+
var _a;
|
|
87
90
|
if (e instanceof CustomEvent)
|
|
88
91
|
return;
|
|
89
92
|
e.stopPropagation();
|
|
93
|
+
(_a = e.stopImmediatePropagation) === null || _a === void 0 ? void 0 : _a.call(e);
|
|
90
94
|
const { scrollLeft, scrollTop, scrollHeight, scrollWidth } = this.el;
|
|
91
95
|
this._scrollLeft = scrollLeft;
|
|
92
96
|
this._scrollTop = scrollTop;
|
|
@@ -98,6 +102,11 @@ const ScrollView = class {
|
|
|
98
102
|
scrollWidth
|
|
99
103
|
});
|
|
100
104
|
}
|
|
105
|
+
handleTouchMove(e) {
|
|
106
|
+
if (e instanceof CustomEvent)
|
|
107
|
+
return;
|
|
108
|
+
e.stopPropagation();
|
|
109
|
+
}
|
|
101
110
|
async mpScrollToMethod(object) {
|
|
102
111
|
let { top, left, duration, animated = false } = object;
|
|
103
112
|
if (this.scrollY && typeof top === 'number' && !isNaN(top) && top !== this._scrollTop) {
|
|
@@ -137,6 +146,9 @@ const ScrollView = class {
|
|
|
137
146
|
top, left, animated
|
|
138
147
|
});
|
|
139
148
|
}
|
|
149
|
+
componentDidRender() {
|
|
150
|
+
helper.handleStencilNodes(this.el);
|
|
151
|
+
}
|
|
140
152
|
render() {
|
|
141
153
|
const { scrollX, scrollY } = this;
|
|
142
154
|
const cls = index$2.classnames({
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e751dfe3.js');
|
|
6
|
-
const helper = require('./helper-
|
|
6
|
+
const helper = require('./helper-ad6306f6.js');
|
|
7
7
|
require('@tarojs/taro');
|
|
8
8
|
|
|
9
9
|
const ShareElement = class {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e751dfe3.js');
|
|
6
|
+
const helper = require('./helper-ad6306f6.js');
|
|
7
|
+
require('@tarojs/taro');
|
|
8
|
+
|
|
9
|
+
const Snapshot = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
}
|
|
13
|
+
componentDidLoad() {
|
|
14
|
+
helper.notSupport('Snapshot', this);
|
|
15
|
+
}
|
|
16
|
+
render() {
|
|
17
|
+
return index.h(index.Host, null);
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
exports.taro_snapshot_core = Snapshot;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e751dfe3.js');
|
|
6
|
-
const helper = require('./helper-
|
|
6
|
+
const helper = require('./helper-ad6306f6.js');
|
|
7
7
|
require('@tarojs/taro');
|
|
8
8
|
|
|
9
9
|
const StickyHeader = class {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e751dfe3.js');
|
|
6
|
-
const helper = require('./helper-
|
|
6
|
+
const helper = require('./helper-ad6306f6.js');
|
|
7
7
|
require('@tarojs/taro');
|
|
8
8
|
|
|
9
9
|
const StickySection = class {
|