@tarojs/components 3.7.0-alpha.0 → 3.7.0-alpha.10
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/hls-00fec546.js +25673 -0
- package/dist/{esm/index-1d8e8acd.js → cjs/index-f6805218.js} +13 -16
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-button-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-canvas-core.cjs.entry.js +1 -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-checkbox-core_2.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 +3 -3
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-image-core.cjs.entry.js +6 -5
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-input-core.cjs.entry.js +7 -12
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +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-navigator-core.cjs.entry.js +2 -2
- 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 +24 -21
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +4 -4
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +7 -1
- 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 +6 -5
- package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +38 -37
- package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tabbar.cjs.entry.js +2 -2
- package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-text-core.cjs.entry.js +10 -7
- package/dist/cjs/taro-textarea-core.cjs.entry.js +2 -9
- package/dist/cjs/taro-video-control_3.cjs.entry.js +4 -4
- package/dist/cjs/taro-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/button/style/index.css +12 -0
- package/dist/collection/components/checkbox/checkbox.js +4 -4
- package/dist/collection/components/image/image.js +6 -4
- package/dist/collection/components/input/input.js +9 -13
- package/dist/collection/components/picker/picker-group.js +29 -26
- package/dist/collection/components/picker/picker.js +42 -16
- package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +1 -1
- package/dist/collection/components/pull-to-refresh/style/index.css +0 -1
- package/dist/collection/components/rich-text/rich-text.js +71 -0
- package/dist/collection/components/rich-text/style/index.css +16 -0
- package/dist/collection/components/scroll-view/scroll-view.js +22 -4
- package/dist/collection/components/swiper/swiper-item.js +34 -35
- package/dist/collection/components/swiper/swiper.js +2 -0
- package/dist/collection/components/text/style/index.css +20 -3
- package/dist/collection/components/text/text.js +66 -6
- package/dist/collection/components/textarea/textarea.js +4 -10
- package/dist/collection/components/video/video.js +1 -1
- package/dist/components/hls.js +22697 -24646
- package/dist/components/index2.js +12 -17
- package/dist/components/picker-group.js +9 -9
- package/dist/components/taro-button-core.js +1 -1
- package/dist/components/taro-checkbox-core.js +1 -1
- package/dist/components/taro-image-core.js +6 -4
- package/dist/components/taro-input-core.js +7 -12
- package/dist/components/taro-picker-core.js +16 -13
- package/dist/components/taro-pull-to-refresh.js +2 -2
- package/dist/components/taro-rich-text-core.js +10 -1
- package/dist/components/taro-scroll-view-core.js +5 -3
- package/dist/components/taro-swiper-core.js +2 -0
- package/dist/components/taro-swiper-item-core.js +34 -35
- package/dist/components/taro-text-core.js +13 -7
- package/dist/components/taro-textarea-core.js +2 -9
- package/dist/components/taro-video-core.js +2 -2
- package/dist/esm/hls-4018c7ea.js +25671 -0
- package/dist/{cjs/index-f9d21cc5.js → esm/index-c3e4004b.js} +12 -22
- package/dist/esm/loader.js +4 -4
- package/dist/esm/taro-ad-core.entry.js +1 -1
- package/dist/esm/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm/taro-animation-video-core.entry.js +1 -1
- package/dist/esm/taro-animation-view-core.entry.js +1 -1
- package/dist/esm/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm/taro-audio-core.entry.js +1 -1
- package/dist/esm/taro-aweme-data-core.entry.js +1 -1
- package/dist/esm/taro-block-core.entry.js +1 -1
- package/dist/esm/taro-button-core.entry.js +3 -3
- package/dist/esm/taro-camera-core.entry.js +1 -1
- package/dist/esm/taro-canvas-core.entry.js +1 -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-checkbox-core_2.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 +4 -4
- package/dist/esm/taro-contact-button-core.entry.js +1 -1
- package/dist/esm/taro-cover-image-core.entry.js +1 -1
- package/dist/esm/taro-cover-view-core.entry.js +2 -2
- package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm/taro-editor-core.entry.js +1 -1
- package/dist/esm/taro-follow-swan-core.entry.js +1 -1
- package/dist/esm/taro-form-core.entry.js +1 -1
- package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm/taro-grid-view-core.entry.js +1 -1
- package/dist/esm/taro-icon-core.entry.js +2 -2
- package/dist/esm/taro-image-core.entry.js +6 -5
- package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
- package/dist/esm/taro-input-core.entry.js +7 -12
- package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm/taro-label-core.entry.js +1 -1
- package/dist/esm/taro-lifestyle-core.entry.js +1 -1
- package/dist/esm/taro-like-core.entry.js +1 -1
- package/dist/esm/taro-list-view-core.entry.js +1 -1
- package/dist/esm/taro-live-player-core.entry.js +1 -1
- package/dist/esm/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm/taro-login-core.entry.js +1 -1
- package/dist/esm/taro-lottie-core.entry.js +1 -1
- package/dist/esm/taro-map-core.entry.js +1 -1
- package/dist/esm/taro-match-media-core.entry.js +1 -1
- package/dist/esm/taro-movable-area-core_2.entry.js +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-navigator-core.entry.js +2 -2
- 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 +24 -21
- package/dist/esm/taro-picker-view-column-core_2.entry.js +2 -2
- package/dist/esm/taro-progress-core.entry.js +1 -1
- package/dist/esm/taro-pull-to-refresh.entry.js +4 -4
- package/dist/esm/taro-radio-core_2.entry.js +1 -1
- package/dist/esm/taro-rich-text-core.entry.js +7 -1
- 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 +6 -5
- package/dist/esm/taro-share-element-core.entry.js +1 -1
- package/dist/esm/taro-slider-core.entry.js +1 -1
- package/dist/esm/taro-slot-core.entry.js +1 -1
- package/dist/esm/taro-sticky-header-core.entry.js +1 -1
- package/dist/esm/taro-sticky-section-core.entry.js +1 -1
- package/dist/esm/taro-swiper-core_2.entry.js +38 -37
- package/dist/esm/taro-switch-core.entry.js +1 -1
- package/dist/esm/taro-tab-item-core.entry.js +1 -1
- package/dist/esm/taro-tabbar.entry.js +2 -2
- package/dist/esm/taro-tabs-core.entry.js +1 -1
- package/dist/esm/taro-text-core.entry.js +10 -7
- package/dist/esm/taro-textarea-core.entry.js +2 -9
- package/dist/esm/taro-video-control_3.entry.js +4 -4
- package/dist/esm/taro-view-core.entry.js +2 -2
- package/dist/esm/taro-voip-room-core.entry.js +1 -1
- package/dist/esm/taro-web-view-core.entry.js +1 -1
- package/dist/esm-es5/hls-4018c7ea.js +1 -0
- package/dist/esm-es5/index-c3e4004b.js +7 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/taro-ad-core.entry.js +1 -1
- package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
- package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm-es5/taro-audio-core.entry.js +1 -1
- package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-block-core.entry.js +1 -1
- package/dist/esm-es5/taro-button-core.entry.js +1 -1
- package/dist/esm-es5/taro-camera-core.entry.js +1 -1
- package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
- package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
- package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
- package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
- package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
- package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm-es5/taro-editor-core.entry.js +1 -1
- package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
- package/dist/esm-es5/taro-form-core.entry.js +1 -1
- package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-icon-core.entry.js +1 -1
- package/dist/esm-es5/taro-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
- package/dist/esm-es5/taro-input-core.entry.js +1 -1
- package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm-es5/taro-label-core.entry.js +1 -1
- package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
- package/dist/esm-es5/taro-like-core.entry.js +1 -1
- package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm-es5/taro-login-core.entry.js +1 -1
- package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
- package/dist/esm-es5/taro-map-core.entry.js +1 -1
- package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
- package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
- package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
- package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-progress-core.entry.js +1 -1
- package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
- package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
- package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
- package/dist/esm-es5/taro-slider-core.entry.js +1 -1
- package/dist/esm-es5/taro-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
- package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-switch-core.entry.js +1 -1
- package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
- package/dist/esm-es5/taro-tabbar.entry.js +1 -1
- package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
- package/dist/esm-es5/taro-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
- package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
- package/dist/esm-es5/taro-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
- package/dist/taro-components/{p-2bac359b.entry.js → p-0114a2e4.entry.js} +1 -1
- package/dist/taro-components/p-01e163f8.system.entry.js +1 -0
- package/dist/taro-components/{p-4402972b.system.entry.js → p-0517f107.system.entry.js} +1 -1
- package/dist/taro-components/{p-08bb8dfc.system.entry.js → p-052da7f0.system.entry.js} +1 -1
- package/dist/taro-components/{p-8027e1c6.system.entry.js → p-07302165.system.entry.js} +1 -1
- package/dist/taro-components/p-085076c5.system.entry.js +1 -0
- package/dist/taro-components/{p-70b5e81e.system.entry.js → p-0d7a705b.system.entry.js} +1 -1
- package/dist/taro-components/p-0fa96970.entry.js +1 -0
- package/dist/taro-components/{p-80f3d88d.entry.js → p-0fe855c6.entry.js} +1 -1
- package/dist/taro-components/{p-59590806.system.entry.js → p-117633e9.system.entry.js} +1 -1
- package/dist/taro-components/{p-d42e41ff.entry.js → p-137531b6.entry.js} +1 -1
- package/dist/taro-components/{p-8b8a8e39.entry.js → p-139e6251.entry.js} +1 -1
- package/dist/taro-components/{p-1e8c8ae1.entry.js → p-1404c119.entry.js} +1 -1
- package/dist/taro-components/{p-c6e6dab1.system.entry.js → p-1974e52e.system.entry.js} +1 -1
- package/dist/taro-components/{p-6dae898a.system.entry.js → p-1991cc1a.system.entry.js} +1 -1
- package/dist/taro-components/{p-fa36fe8e.system.entry.js → p-1b3d41d3.system.entry.js} +1 -1
- package/dist/taro-components/p-1c4e3899.entry.js +1 -0
- package/dist/taro-components/{p-88d64daa.system.entry.js → p-1e739fcb.system.entry.js} +1 -1
- package/dist/taro-components/{p-c4fdb669.system.entry.js → p-1f39576a.system.entry.js} +1 -1
- package/dist/taro-components/p-204bd245.entry.js +1 -0
- package/dist/taro-components/{p-6f214fc3.system.entry.js → p-208e438c.system.entry.js} +1 -1
- package/dist/taro-components/{p-bac3deb0.system.entry.js → p-227e33fc.system.entry.js} +1 -1
- package/dist/taro-components/{p-1b501f32.system.entry.js → p-2a071adf.system.entry.js} +1 -1
- package/dist/taro-components/{p-38de410e.entry.js → p-2af69b72.entry.js} +1 -1
- package/dist/taro-components/{p-b2bb02d7.system.entry.js → p-2d1b4dcc.system.entry.js} +1 -1
- package/dist/taro-components/{p-c6385fc2.system.entry.js → p-2de2a3fd.system.entry.js} +1 -1
- package/dist/taro-components/p-2ec68968.system.js +7 -0
- package/dist/taro-components/{p-4542b767.entry.js → p-30805bdf.entry.js} +1 -1
- package/dist/taro-components/{p-4190e20b.system.entry.js → p-3094bda6.system.entry.js} +1 -1
- package/dist/taro-components/{p-e753b776.entry.js → p-355e4dbc.entry.js} +1 -1
- package/dist/taro-components/{p-7dd9c8da.system.entry.js → p-357ba712.system.entry.js} +1 -1
- package/dist/taro-components/{p-c3d3eca2.entry.js → p-38ee526a.entry.js} +1 -1
- package/dist/taro-components/{p-dfc405a5.entry.js → p-3d8c9dfb.entry.js} +1 -1
- package/dist/taro-components/{p-38a51bd2.entry.js → p-407ca16e.entry.js} +1 -1
- package/dist/taro-components/{p-69f6784d.system.entry.js → p-416cc4dd.system.entry.js} +1 -1
- package/dist/taro-components/p-425c209a.entry.js +1 -0
- package/dist/taro-components/{p-58690684.entry.js → p-43720011.entry.js} +1 -1
- package/dist/taro-components/p-43efbf30.js +1 -0
- package/dist/taro-components/{p-27c4878c.entry.js → p-469ee343.entry.js} +1 -1
- package/dist/taro-components/{p-1be83ed3.entry.js → p-46b8f89b.entry.js} +1 -1
- package/dist/taro-components/{p-69fa7272.system.entry.js → p-473afc8e.system.entry.js} +1 -1
- package/dist/taro-components/p-478deb81.entry.js +1 -0
- package/dist/taro-components/p-486d0ec7.entry.js +1 -0
- package/dist/taro-components/{p-c4dd85b6.entry.js → p-50902cd0.entry.js} +1 -1
- package/dist/taro-components/{p-74bf8246.system.entry.js → p-53ef8a6c.system.entry.js} +1 -1
- package/dist/taro-components/{p-c3d35ae5.entry.js → p-5613907c.entry.js} +1 -1
- package/dist/taro-components/{p-9d4fa0d3.system.entry.js → p-5640e9f4.system.entry.js} +1 -1
- package/dist/taro-components/{p-f9ac515e.system.entry.js → p-57b9943c.system.entry.js} +1 -1
- package/dist/taro-components/{p-7c1fc8f5.system.entry.js → p-5c1e6b1c.system.entry.js} +1 -1
- package/dist/taro-components/{p-97782cdd.system.entry.js → p-5dab46cd.system.entry.js} +1 -1
- package/dist/taro-components/{p-b1c972e2.system.entry.js → p-6127b1b6.system.entry.js} +1 -1
- package/dist/taro-components/{p-dcb5b505.system.entry.js → p-657cb6e4.system.entry.js} +1 -1
- package/dist/taro-components/{p-f499c0a0.system.entry.js → p-66b0b419.system.entry.js} +1 -1
- package/dist/taro-components/p-66f7eea6.entry.js +1 -0
- package/dist/taro-components/{p-46244579.system.entry.js → p-69cd1f2a.system.entry.js} +1 -1
- package/dist/taro-components/p-6cde180b.entry.js +1 -0
- package/dist/taro-components/{p-bba8c3a7.system.entry.js → p-6d4b7e5c.system.entry.js} +1 -1
- package/dist/taro-components/{p-11936d9a.entry.js → p-6db97374.entry.js} +1 -1
- package/dist/taro-components/p-6e115968.entry.js +1 -0
- package/dist/taro-components/{p-badfb3be.entry.js → p-6f84e936.entry.js} +1 -1
- package/dist/taro-components/p-71b54f06.entry.js +1 -0
- package/dist/taro-components/p-72b118b0.entry.js +1 -0
- package/dist/taro-components/p-78e4805e.entry.js +1 -0
- package/dist/taro-components/{p-8e5cc8fe.system.entry.js → p-79c3fde3.system.entry.js} +1 -1
- package/dist/taro-components/p-7b3b8057.entry.js +1 -0
- package/dist/taro-components/{p-3c5ac930.entry.js → p-7b68dee8.entry.js} +1 -1
- package/dist/taro-components/p-7d635413.entry.js +1 -0
- package/dist/taro-components/{p-4d0da795.system.entry.js → p-7e8e355b.system.entry.js} +1 -1
- package/dist/taro-components/{p-be6050fd.system.entry.js → p-7e998213.system.entry.js} +1 -1
- package/dist/taro-components/p-801f09b8.entry.js +1 -0
- package/dist/taro-components/{p-26889f3c.system.entry.js → p-81f2ad70.system.entry.js} +1 -1
- package/dist/taro-components/{p-4514dc53.system.entry.js → p-8201ee31.system.entry.js} +1 -1
- package/dist/taro-components/{p-ef7e7d73.system.entry.js → p-85a7daeb.system.entry.js} +1 -1
- package/dist/taro-components/p-86280254.entry.js +1 -0
- package/dist/taro-components/{p-4d7182f4.system.entry.js → p-88d2b41b.system.entry.js} +1 -1
- package/dist/taro-components/{p-0a165ad3.system.entry.js → p-898db637.system.entry.js} +1 -1
- package/dist/taro-components/{p-05c757b7.entry.js → p-8c0b740e.entry.js} +1 -1
- package/dist/taro-components/{p-95f70aea.system.entry.js → p-90333d0a.system.entry.js} +1 -1
- package/dist/taro-components/p-9046110a.entry.js +1 -0
- package/dist/taro-components/{p-d797cdc4.entry.js → p-904df510.entry.js} +1 -1
- package/dist/taro-components/{p-b1249ebb.system.entry.js → p-907d9d01.system.entry.js} +1 -1
- package/dist/taro-components/{p-b5ad2aec.entry.js → p-962f28cb.entry.js} +1 -1
- package/dist/taro-components/{p-23cb8a7f.entry.js → p-968b7c1d.entry.js} +1 -1
- package/dist/taro-components/p-982bb5bf.entry.js +1 -0
- package/dist/taro-components/{p-58877ef2.system.entry.js → p-98f9f50f.system.entry.js} +1 -1
- package/dist/taro-components/p-9a5fbb2e.entry.js +1 -0
- package/dist/taro-components/{p-51b6fc09.system.entry.js → p-9ac947ac.system.entry.js} +1 -1
- package/dist/taro-components/{p-369fb262.entry.js → p-9aeb7995.entry.js} +1 -1
- package/dist/taro-components/{p-05bc0fce.entry.js → p-9b6550fc.entry.js} +1 -1
- package/dist/taro-components/{p-0a9b984e.system.entry.js → p-9d9ede17.system.entry.js} +1 -1
- package/dist/taro-components/p-9edea30f.system.entry.js +1 -0
- package/dist/taro-components/{p-7722f33f.entry.js → p-9fe49bab.entry.js} +1 -1
- package/dist/taro-components/{p-acd9a9da.entry.js → p-a1763153.entry.js} +1 -1
- package/dist/taro-components/{p-f44e975b.entry.js → p-a20ecd3b.entry.js} +1 -1
- package/dist/taro-components/p-a20fed0a.entry.js +1 -0
- package/dist/taro-components/p-a3a1a779.entry.js +1 -0
- package/dist/taro-components/{p-8d2101be.system.entry.js → p-a4882902.system.entry.js} +1 -1
- package/dist/taro-components/{p-f671ed7d.entry.js → p-a8565231.entry.js} +1 -1
- package/dist/taro-components/{p-9e8619a6.system.entry.js → p-a8925584.system.entry.js} +1 -1
- package/dist/taro-components/p-a8e7cf87.entry.js +1 -0
- package/dist/taro-components/p-a940a65b.entry.js +1 -0
- package/dist/taro-components/{p-da5cdbf5.system.entry.js → p-ab726c20.system.entry.js} +1 -1
- package/dist/taro-components/{p-895cd7c9.system.entry.js → p-af3fa859.system.entry.js} +1 -1
- package/dist/taro-components/{p-8d037fc0.entry.js → p-af8e521a.entry.js} +1 -1
- package/dist/taro-components/p-af9ef8b4.entry.js +1 -0
- package/dist/taro-components/{p-6f048097.system.entry.js → p-afb3895c.system.entry.js} +1 -1
- package/dist/taro-components/{p-58b7e960.entry.js → p-b027181b.entry.js} +1 -1
- package/dist/taro-components/{p-2024e133.system.entry.js → p-b1d2b575.system.entry.js} +1 -1
- package/dist/taro-components/{p-dccf1ae9.entry.js → p-b235e43c.entry.js} +1 -1
- package/dist/taro-components/p-b4ea72ea.entry.js +1 -0
- package/dist/taro-components/p-b4f3d0ab.entry.js +1 -0
- package/dist/taro-components/{p-ae3f1ed4.system.entry.js → p-b5b30493.system.entry.js} +1 -1
- package/dist/taro-components/{p-f9c26678.entry.js → p-b641e598.entry.js} +1 -1
- package/dist/taro-components/{p-78c30850.system.entry.js → p-b6d4634f.system.entry.js} +1 -1
- package/dist/taro-components/p-ba3b2aa5.system.entry.js +1 -0
- package/dist/taro-components/{p-c70dd956.system.entry.js → p-bcf80126.system.entry.js} +1 -1
- package/dist/taro-components/p-bdc30301.entry.js +1 -0
- package/dist/taro-components/{p-c2c498d9.entry.js → p-bf0e0394.entry.js} +1 -1
- package/dist/taro-components/{p-e3f8265d.system.entry.js → p-c1073ed6.system.entry.js} +1 -1
- package/dist/taro-components/p-c11a42e0.entry.js +1 -0
- package/dist/taro-components/p-c39a46ca.system.entry.js +1 -0
- package/dist/taro-components/{p-1493866a.entry.js → p-c4b8851b.entry.js} +1 -1
- package/dist/taro-components/{p-9318da32.entry.js → p-cc164fa3.entry.js} +1 -1
- package/dist/taro-components/{p-736053bb.system.entry.js → p-cc70bb7a.system.entry.js} +1 -1
- package/dist/taro-components/p-ce33f1f3.entry.js +1 -0
- package/dist/taro-components/p-d34a6c04.entry.js +1 -0
- package/dist/taro-components/{p-7df9de66.system.entry.js → p-da239b8b.system.entry.js} +1 -1
- package/dist/taro-components/p-dab28e1f.system.entry.js +1 -0
- package/dist/taro-components/p-de951a46.js +7 -0
- package/dist/taro-components/p-e09451c5.system.entry.js +1 -0
- package/dist/taro-components/{p-79c41bc2.entry.js → p-e33f3592.entry.js} +1 -1
- package/dist/taro-components/p-e3480c4c.entry.js +1 -0
- package/dist/taro-components/{p-087bf23a.system.entry.js → p-e53508c1.system.entry.js} +1 -1
- package/dist/taro-components/{p-10be7fb5.system.entry.js → p-e6481671.system.entry.js} +1 -1
- package/dist/taro-components/{p-c33733b3.system.entry.js → p-e67755f0.system.entry.js} +1 -1
- package/dist/taro-components/p-e78775ce.system.js +1 -0
- package/dist/taro-components/{p-518146fd.system.entry.js → p-eaa370a9.system.entry.js} +1 -1
- package/dist/taro-components/p-ebc7b6fc.entry.js +1 -0
- package/dist/taro-components/{p-02aa7366.system.entry.js → p-ebdd350f.system.entry.js} +1 -1
- package/dist/taro-components/p-ed331c06.system.js +1 -0
- package/dist/taro-components/p-f02b6f70.entry.js +1 -0
- package/dist/taro-components/{p-9df17ea6.entry.js → p-f0340edf.entry.js} +1 -1
- package/dist/taro-components/{p-c586a796.system.entry.js → p-f11c9c37.system.entry.js} +1 -1
- package/dist/taro-components/{p-1941d333.system.entry.js → p-f420680c.system.entry.js} +1 -1
- package/dist/taro-components/p-f533bc2f.entry.js +1 -0
- package/dist/taro-components/{p-30fe0e81.system.entry.js → p-f534057e.system.entry.js} +1 -1
- package/dist/taro-components/p-f6f6a996.system.entry.js +1 -0
- package/dist/taro-components/{p-17302fe9.system.entry.js → p-f7927285.system.entry.js} +1 -1
- package/dist/taro-components/p-f7b32c6b.entry.js +1 -0
- package/dist/taro-components/{p-33223303.system.entry.js → p-fa0f6dab.system.entry.js} +1 -1
- package/dist/taro-components/{p-1c320250.system.entry.js → p-fa6c022a.system.entry.js} +1 -1
- package/dist/taro-components/p-fb983850.entry.js +1 -0
- package/dist/taro-components/{p-0939fd26.system.entry.js → p-fd7ff0f3.system.entry.js} +1 -1
- package/dist/taro-components/taro-components.css +1 -1
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/taro-components/taro-components.js +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +1 -1
- package/dist/types/components/image/image.d.ts +1 -0
- package/dist/types/components/input/input.d.ts +2 -2
- package/dist/types/components/picker/picker-group.d.ts +3 -3
- package/dist/types/components/picker/picker.d.ts +7 -2
- package/dist/types/components/rich-text/rich-text.d.ts +4 -0
- package/dist/types/components/scroll-view/scroll-view.d.ts +1 -0
- package/dist/types/components/text/text.d.ts +4 -0
- package/dist/types/components/textarea/textarea.d.ts +0 -1
- package/dist/types/components.d.ts +28 -8
- package/lib/react/component-lib/index.d.ts +1 -1
- package/lib/react/component-lib/index.js +50 -50
- package/lib/react/component-lib/index.js.map +1 -1
- 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 +81 -83
- package/lib/react/components.js +2 -2
- package/lib/react/components.js.map +1 -1
- package/lib/react/helper.d.ts +1 -1
- package/lib/react/index.d.ts +1 -1
- package/lib/react/react-component-lib/createComponent.d.ts +1 -1
- package/lib/react/react-component-lib/createOverlayComponent.d.ts +2 -2
- package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
- package/lib/react/react-component-lib/index.d.ts +2 -2
- package/lib/react/react-component-lib/utils/attachProps.js +21 -5
- package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/lib/react/react-component-lib/utils/index.d.ts +3 -3
- package/lib/vue2/component-lib/index.js +0 -5
- package/lib/vue2/component-lib/index.js.map +1 -1
- package/lib/vue2/components-loader.js +1 -1
- package/lib/vue2/components-loader.js.map +1 -1
- package/lib/vue2/components.d.ts +10 -3
- package/lib/vue2/components.js +13 -6
- package/lib/vue2/components.js.map +1 -1
- package/lib/vue2/index.d.ts +1 -1
- package/lib/vue2/vue-component-lib/utils.js.map +1 -1
- package/lib/vue3/component-lib/index.d.ts +4 -4
- package/lib/vue3/component-lib/index.js +48 -48
- package/lib/vue3/component-lib/index.js.map +1 -1
- package/lib/vue3/components.d.ts +81 -81
- package/lib/vue3/components.js +14 -6
- package/lib/vue3/components.js.map +1 -1
- package/lib/vue3/index.d.ts +1 -1
- package/lib/vue3/vue-component-lib/utils.js.map +1 -1
- package/package.json +13 -11
- package/types/Button.d.ts +71 -8
- package/types/ChannelVideo.d.ts +4 -0
- package/types/Form.d.ts +11 -0
- package/types/Image.d.ts +5 -0
- package/types/Input.d.ts +6 -1
- package/types/LivePlayer.d.ts +17 -0
- package/types/LivePusher.d.ts +10 -0
- package/types/Picker.d.ts +9 -0
- package/types/Progress.d.ts +2 -2
- package/types/RichText.d.ts +6 -4
- package/types/ScrollView.d.ts +7 -7
- package/types/ShareElement.d.ts +39 -0
- package/types/StickySection.d.ts +0 -1
- package/types/Swiper.d.ts +10 -0
- package/types/Text.d.ts +8 -3
- package/types/Textarea.d.ts +11 -4
- package/types/Video.d.ts +12 -0
- package/types/View.d.ts +1 -1
- package/types/index.vue3.d.ts +18 -9
- package/virtual-list/index.js +2 -2
- package/dist/cjs/hls-67cbc62d.js +0 -27622
- package/dist/esm/hls-221423a1.js +0 -27620
- package/dist/esm-es5/hls-221423a1.js +0 -365
- package/dist/esm-es5/index-1d8e8acd.js +0 -7
- package/dist/taro-components/p-0393ed55.entry.js +0 -1
- package/dist/taro-components/p-07293238.entry.js +0 -1
- package/dist/taro-components/p-0b8b3af5.entry.js +0 -1
- package/dist/taro-components/p-1249cb09.entry.js +0 -1
- package/dist/taro-components/p-1385d50f.entry.js +0 -1
- package/dist/taro-components/p-16e03200.entry.js +0 -1
- package/dist/taro-components/p-1743a04b.system.js +0 -365
- package/dist/taro-components/p-1c446c65.system.js +0 -1
- package/dist/taro-components/p-22dc57d4.entry.js +0 -1
- package/dist/taro-components/p-2e28cb1c.entry.js +0 -1
- package/dist/taro-components/p-2f7dba29.entry.js +0 -1
- package/dist/taro-components/p-30f32fa2.system.entry.js +0 -1
- package/dist/taro-components/p-39685396.system.entry.js +0 -1
- package/dist/taro-components/p-3c91f59b.entry.js +0 -1
- package/dist/taro-components/p-3d60bd58.entry.js +0 -1
- package/dist/taro-components/p-429a0f99.entry.js +0 -1
- package/dist/taro-components/p-42bcb98a.entry.js +0 -1
- package/dist/taro-components/p-4915fdc1.system.entry.js +0 -1
- package/dist/taro-components/p-491c6272.system.entry.js +0 -1
- package/dist/taro-components/p-4e77bdea.entry.js +0 -1
- package/dist/taro-components/p-5931c82e.entry.js +0 -1
- package/dist/taro-components/p-61f225ef.system.js +0 -7
- package/dist/taro-components/p-623b3eb6.system.entry.js +0 -1
- package/dist/taro-components/p-651586f8.system.entry.js +0 -1
- package/dist/taro-components/p-6de6eb4e.entry.js +0 -1
- package/dist/taro-components/p-7377a117.entry.js +0 -1
- package/dist/taro-components/p-744a6b99.entry.js +0 -1
- package/dist/taro-components/p-76724e58.js +0 -7
- package/dist/taro-components/p-80970d8f.entry.js +0 -1
- package/dist/taro-components/p-8feeb7ce.entry.js +0 -1
- package/dist/taro-components/p-90e4274e.entry.js +0 -1
- package/dist/taro-components/p-a294e169.entry.js +0 -1
- package/dist/taro-components/p-a5afdc47.system.entry.js +0 -1
- package/dist/taro-components/p-a6d2e81b.entry.js +0 -1
- package/dist/taro-components/p-a9b51167.entry.js +0 -1
- package/dist/taro-components/p-ae8fd8c8.entry.js +0 -1
- package/dist/taro-components/p-affb28de.entry.js +0 -1
- package/dist/taro-components/p-b16eddaa.entry.js +0 -1
- package/dist/taro-components/p-b708e9fe.entry.js +0 -1
- package/dist/taro-components/p-beba1657.entry.js +0 -1
- package/dist/taro-components/p-c2391de5.entry.js +0 -1
- package/dist/taro-components/p-d5234e7e.js +0 -365
- package/dist/taro-components/p-e2f2fbe5.entry.js +0 -1
- package/dist/taro-components/p-e8b1ea64.entry.js +0 -1
- package/dist/taro-components/p-e9eeb060.entry.js +0 -1
- package/dist/taro-components/p-efcfdb97.entry.js +0 -1
- package/dist/taro-components/p-fb585037.entry.js +0 -1
- package/dist/taro-components/p-fcdac6ec.system.entry.js +0 -1
- package/dist/taro-components/p-fdecdc25.entry.js +0 -1
- /package/dist/cjs/{index-e1b469cd.js → index-e751dfe3.js} +0 -0
- /package/dist/esm/{index-c948674f.js → index-980f930f.js} +0 -0
- /package/dist/esm-es5/{index-c948674f.js → index-980f930f.js} +0 -0
- /package/dist/taro-components/{p-1a0e1932.system.js → p-7e6b54cb.system.js} +0 -0
- /package/dist/taro-components/{p-78e3ebb9.js → p-9137dcab.js} +0 -0
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index$1 = require('./index-
|
|
6
|
-
const index$3 = require('./index-
|
|
5
|
+
const index$1 = require('./index-e751dfe3.js');
|
|
6
|
+
const index$3 = require('./index-f6805218.js');
|
|
7
7
|
const index$2 = require('./index-dfd8638f.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -9991,6 +9991,7 @@ const Swiper = class {
|
|
|
9991
9991
|
};
|
|
9992
9992
|
this.el.addEventListener('DOMNodeInserted', this.handleSwiperSize);
|
|
9993
9993
|
this.el.addEventListener('DOMNodeRemoved', this.handleSwiperSize);
|
|
9994
|
+
this.el.addEventListener('MutationObserver', this.handleSwiperSize);
|
|
9994
9995
|
}
|
|
9995
9996
|
watchCircular() {
|
|
9996
9997
|
if (this.swiper) {
|
|
@@ -10034,6 +10035,7 @@ const Swiper = class {
|
|
|
10034
10035
|
var _a, _b, _c, _d, _e, _f;
|
|
10035
10036
|
this.el.removeEventListener('DOMNodeInserted', this.handleSwiperSize);
|
|
10036
10037
|
this.el.removeEventListener('DOMNodeRemoved', this.handleSwiperSize);
|
|
10038
|
+
this.el.removeEventListener('MutationObserver', this.handleSwiperSize);
|
|
10037
10039
|
(_b = (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
10038
10040
|
(_d = (_c = this.observerFirst) === null || _c === void 0 ? void 0 : _c.disconnect) === null || _d === void 0 ? void 0 : _d.call(_c);
|
|
10039
10041
|
(_f = (_e = this.observerLast) === null || _e === void 0 ? void 0 : _e.disconnect) === null || _f === void 0 ? void 0 : _f.call(_e);
|
|
@@ -10147,35 +10149,41 @@ const Swiper = class {
|
|
|
10147
10149
|
};
|
|
10148
10150
|
Swiper.style = indexCss;
|
|
10149
10151
|
|
|
10150
|
-
|
|
10151
|
-
|
|
10152
|
-
|
|
10153
|
-
|
|
10154
|
-
|
|
10155
|
-
|
|
10156
|
-
|
|
10157
|
-
|
|
10158
|
-
|
|
10159
|
-
|
|
10160
|
-
|
|
10161
|
-
|
|
10162
|
-
|
|
10163
|
-
|
|
10164
|
-
|
|
10165
|
-
continue;
|
|
10166
|
-
}
|
|
10167
|
-
if (target.childNodes.length > 0) {
|
|
10168
|
-
const cleanAll = ['taro-image-core'].includes(target.tagName.toLocaleLowerCase());
|
|
10169
|
-
parseChildNodes(item.childNodes, target.childNodes, cleanAll);
|
|
10152
|
+
const nativeCloneNode = Node.prototype.cloneNode;
|
|
10153
|
+
function cloneNode(node, deep) {
|
|
10154
|
+
const clonedNode = nativeCloneNode.call(node, false);
|
|
10155
|
+
const srcChildNodes = childNodes(node);
|
|
10156
|
+
if (deep) {
|
|
10157
|
+
for (let i = 0; i < srcChildNodes.length; i++) {
|
|
10158
|
+
const srcNode = srcChildNodes[i];
|
|
10159
|
+
let srcDeep = deep;
|
|
10160
|
+
if (srcNode.nodeType !== 2 && srcNode.nodeType !== 8) {
|
|
10161
|
+
// Note: 没有引用节点(s-cr[reference comment])的情况下,不复制子节点避免冗余(例如:Image 组件)
|
|
10162
|
+
if (!srcNode['s-cr']) {
|
|
10163
|
+
srcDeep = false;
|
|
10164
|
+
}
|
|
10165
|
+
const childClone = cloneNode(srcNode, srcDeep);
|
|
10166
|
+
clonedNode.appendChild(childClone);
|
|
10170
10167
|
}
|
|
10171
|
-
break;
|
|
10172
10168
|
}
|
|
10173
|
-
|
|
10174
|
-
|
|
10175
|
-
|
|
10176
|
-
|
|
10169
|
+
}
|
|
10170
|
+
return clonedNode;
|
|
10171
|
+
}
|
|
10172
|
+
function childNodes(node) {
|
|
10173
|
+
const childNodes = node.childNodes;
|
|
10174
|
+
// check if element is stencil element without shadow dom
|
|
10175
|
+
// and then detect elements that were slotted into the element
|
|
10176
|
+
if (node['s-sc']) {
|
|
10177
|
+
const result = [];
|
|
10178
|
+
for (let i = 0; i < childNodes.length; i++) {
|
|
10179
|
+
const slot = childNodes[i]['s-nr'];
|
|
10180
|
+
if (slot) {
|
|
10181
|
+
result.push(slot);
|
|
10182
|
+
}
|
|
10177
10183
|
}
|
|
10184
|
+
return result;
|
|
10178
10185
|
}
|
|
10186
|
+
return Array.from(childNodes);
|
|
10179
10187
|
}
|
|
10180
10188
|
const SwiperItem = class {
|
|
10181
10189
|
constructor(hostRef) {
|
|
@@ -10183,16 +10191,9 @@ const SwiperItem = class {
|
|
|
10183
10191
|
this.itemId = undefined;
|
|
10184
10192
|
}
|
|
10185
10193
|
componentDidRender() {
|
|
10186
|
-
|
|
10187
|
-
|
|
10188
|
-
|
|
10189
|
-
const list = Array
|
|
10190
|
-
.from(((_b = (_a = el.parentElement) === null || _a === void 0 ? void 0 : _a.childNodes) === null || _b === void 0 ? void 0 : _b.values()) || [])
|
|
10191
|
-
.filter((e) => e.tagName === 'TARO-SWIPER-ITEM-CORE');
|
|
10192
|
-
if (list.length > 0) {
|
|
10193
|
-
parseChildNodes(el.childNodes, (_c = list[list.indexOf(el) === 0 ? list.length - 2 : 1]) === null || _c === void 0 ? void 0 : _c.childNodes);
|
|
10194
|
-
}
|
|
10195
|
-
}
|
|
10194
|
+
this.el.cloneNode = (deep = false) => {
|
|
10195
|
+
return cloneNode.call(null, this.el, deep);
|
|
10196
|
+
};
|
|
10196
10197
|
}
|
|
10197
10198
|
render() {
|
|
10198
10199
|
return (index$1.h(index$1.Host, { class: 'swiper-slide', "item-id": this.itemId }));
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-e751dfe3.js');
|
|
6
6
|
|
|
7
7
|
const indexCss = "taro-switch-core{display:inline-block;width:52px;height:32px}taro-switch-core .weui-switch{display:block;width:100%;height:100%}";
|
|
8
8
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index$1 = require('./index-
|
|
5
|
+
const index$1 = require('./index-e751dfe3.js');
|
|
6
6
|
const Taro = require('@tarojs/taro');
|
|
7
|
-
const index = require('./index-
|
|
7
|
+
const index = require('./index-f6805218.js');
|
|
8
8
|
const index$2 = require('./index-dfd8638f.js');
|
|
9
9
|
|
|
10
10
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -2,21 +2,24 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-f9d21cc5.js');
|
|
5
|
+
const index = require('./index-e751dfe3.js');
|
|
7
6
|
|
|
8
|
-
const indexCss = "taro-text-core{display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none
|
|
7
|
+
const indexCss = "taro-text-core{display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}taro-text-core[selectable=true],taro-text-core[user-select=true]{display:inline-block;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}taro-text-core[space]{white-space:pre-wrap}taro-text-core[space=ensp]{word-spacing:0.5em}taro-text-core[space=nbsp]{word-spacing:1em}taro-text-core[number-of-lines]{--line-clamp:2;display:-webkit-box;-webkit-box-orient:vertical;word-wrap:break-word;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:var(--line-clamp)}";
|
|
9
8
|
|
|
10
9
|
const Text = class {
|
|
11
10
|
constructor(hostRef) {
|
|
12
11
|
index.registerInstance(this, hostRef);
|
|
13
12
|
this.selectable = false;
|
|
13
|
+
this.userSelect = false;
|
|
14
|
+
this.space = undefined;
|
|
15
|
+
this.numberOfLines = undefined;
|
|
14
16
|
}
|
|
15
17
|
render() {
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
const style = {};
|
|
19
|
+
if (typeof this.numberOfLines === 'number') {
|
|
20
|
+
style['--line-clamp'] = this.numberOfLines;
|
|
21
|
+
}
|
|
22
|
+
return (index.h(index.Host, { style: style }, index.h("slot", null)));
|
|
20
23
|
}
|
|
21
24
|
};
|
|
22
25
|
Text.style = indexCss;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-e751dfe3.js');
|
|
6
6
|
|
|
7
7
|
const 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}";
|
|
8
8
|
|
|
@@ -111,7 +111,7 @@ const Textarea = class {
|
|
|
111
111
|
numberOfLines = Math.floor(taHeight / taLineHeight);
|
|
112
112
|
return numberOfLines;
|
|
113
113
|
};
|
|
114
|
-
this.value =
|
|
114
|
+
this.value = '';
|
|
115
115
|
this.placeholder = undefined;
|
|
116
116
|
this.disabled = false;
|
|
117
117
|
this.maxlength = 140;
|
|
@@ -130,13 +130,6 @@ const Textarea = class {
|
|
|
130
130
|
async focus() {
|
|
131
131
|
this.textareaRef.focus();
|
|
132
132
|
}
|
|
133
|
-
componentDidLoad() {
|
|
134
|
-
Object.defineProperty(this.el, 'value', {
|
|
135
|
-
get: () => this.textareaRef.value,
|
|
136
|
-
set: value => this.value !== value && (this.value = value),
|
|
137
|
-
configurable: true
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
133
|
render() {
|
|
141
134
|
const { value, placeholder, disabled, maxlength, autoFocus, autoHeight, name, nativeProps, handleInput, handleFocus, handleBlur, handleChange } = this;
|
|
142
135
|
const otherProps = {};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$2 = require('./index-
|
|
5
|
+
const index = require('./index-e751dfe3.js');
|
|
6
|
+
const index$2 = require('./index-f6805218.js');
|
|
7
7
|
const index$1 = require('./index-dfd8638f.js');
|
|
8
8
|
|
|
9
9
|
const formatTime = (time) => {
|
|
@@ -275,8 +275,8 @@ const Video = class {
|
|
|
275
275
|
const { src, videoRef } = this;
|
|
276
276
|
if (isHls(src)) {
|
|
277
277
|
Promise.resolve().then(function () { return require(
|
|
278
|
-
/*
|
|
279
|
-
'./hls-
|
|
278
|
+
/* webpackExports: ["default"] */
|
|
279
|
+
'./hls-00fec546.js'); }).then(e => {
|
|
280
280
|
const Hls = e.default;
|
|
281
281
|
this.HLS = Hls;
|
|
282
282
|
if (Hls.isSupported()) {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-e751dfe3.js');
|
|
6
|
+
const index$1 = require('./index-f6805218.js');
|
|
7
7
|
|
|
8
8
|
const 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}";
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-e751dfe3.js');
|
|
6
6
|
|
|
7
7
|
const indexCss = "iframe{border:none}.taro-webview{position:fixed;top:0;bottom:0;z-index:999;width:100%;height:100%}";
|
|
8
8
|
|
|
@@ -102,6 +102,18 @@ taro-button-core[plain][type=primary]:not([disabled]):active {
|
|
|
102
102
|
taro-button-core[plain][type=primary]::after {
|
|
103
103
|
border-width: 0;
|
|
104
104
|
}
|
|
105
|
+
taro-button-core[plain][type=warn] {
|
|
106
|
+
border: 1px solid #e64340;
|
|
107
|
+
color: #e64340;
|
|
108
|
+
}
|
|
109
|
+
taro-button-core[plain][type=warn]:not([disabled]):active {
|
|
110
|
+
border-color: rgba(230, 67, 64, 0.6);
|
|
111
|
+
background-color: transparent;
|
|
112
|
+
color: rgba(230, 67, 64, 0.6);
|
|
113
|
+
}
|
|
114
|
+
taro-button-core[plain][type=warn]::after {
|
|
115
|
+
border-width: 0;
|
|
116
|
+
}
|
|
105
117
|
taro-button-core[plain], taro-button-core[plain][type=default] {
|
|
106
118
|
border: 1px solid #353535;
|
|
107
119
|
color: #353535;
|
|
@@ -69,11 +69,11 @@ export class Checkbox {
|
|
|
69
69
|
"reflect": false
|
|
70
70
|
},
|
|
71
71
|
"value": {
|
|
72
|
-
"type": "
|
|
73
|
-
"mutable":
|
|
72
|
+
"type": "any",
|
|
73
|
+
"mutable": true,
|
|
74
74
|
"complexType": {
|
|
75
|
-
"original": "string",
|
|
76
|
-
"resolved": "string",
|
|
75
|
+
"original": "string | number",
|
|
76
|
+
"resolved": "number | string",
|
|
77
77
|
"references": {}
|
|
78
78
|
},
|
|
79
79
|
"required": false,
|
|
@@ -8,6 +8,7 @@ export class Image {
|
|
|
8
8
|
this.lazyLoad = false;
|
|
9
9
|
this.nativeProps = {};
|
|
10
10
|
this.aspectFillMode = 'width';
|
|
11
|
+
this.didLoad = false;
|
|
11
12
|
}
|
|
12
13
|
componentDidLoad() {
|
|
13
14
|
if (!this.lazyLoad)
|
|
@@ -16,7 +17,7 @@ export class Image {
|
|
|
16
17
|
// 异步 api 关系
|
|
17
18
|
if (entries[entries.length - 1].isIntersecting) {
|
|
18
19
|
lazyImg.unobserve(this.imgRef);
|
|
19
|
-
this.
|
|
20
|
+
this.didLoad = true;
|
|
20
21
|
}
|
|
21
22
|
}, {
|
|
22
23
|
rootMargin: '300px 0px'
|
|
@@ -35,14 +36,14 @@ export class Image {
|
|
|
35
36
|
this.onError.emit(e);
|
|
36
37
|
}
|
|
37
38
|
render() {
|
|
38
|
-
const { src, mode = 'scaleToFill', lazyLoad = false, aspectFillMode = 'width', imageOnLoad, imageOnError, nativeProps } = this;
|
|
39
|
+
const { src, mode = 'scaleToFill', lazyLoad = false, aspectFillMode = 'width', imageOnLoad, imageOnError, nativeProps, didLoad } = this;
|
|
39
40
|
const cls = classNames({
|
|
40
41
|
'taro-img__widthfix': mode === 'widthFix'
|
|
41
42
|
});
|
|
42
43
|
const imgCls = classNames(`taro-img__mode-${mode.toLowerCase().replace(/\s/g, '')}`, {
|
|
43
44
|
[`taro-img__mode-aspectfill--${aspectFillMode}`]: mode === 'aspectFill'
|
|
44
45
|
});
|
|
45
|
-
return (h(Host, { class: cls },
|
|
46
|
+
return (h(Host, { class: cls }, h("img", Object.assign({ ref: (img) => (this.imgRef = img), class: imgCls, src: lazyLoad && !didLoad ? undefined : src, onLoad: imageOnLoad.bind(this), onError: imageOnError.bind(this) }, nativeProps))));
|
|
46
47
|
}
|
|
47
48
|
static get is() { return "taro-image-core"; }
|
|
48
49
|
static get originalStyleUrls() {
|
|
@@ -134,7 +135,8 @@ export class Image {
|
|
|
134
135
|
}
|
|
135
136
|
static get states() {
|
|
136
137
|
return {
|
|
137
|
-
"aspectFillMode": {}
|
|
138
|
+
"aspectFillMode": {},
|
|
139
|
+
"didLoad": {}
|
|
138
140
|
};
|
|
139
141
|
}
|
|
140
142
|
static get events() {
|
|
@@ -114,7 +114,7 @@ export class Input {
|
|
|
114
114
|
this.isOnComposition = true;
|
|
115
115
|
}
|
|
116
116
|
};
|
|
117
|
-
this.
|
|
117
|
+
this.handleBeforeInput = (e) => {
|
|
118
118
|
if (!e.data)
|
|
119
119
|
return;
|
|
120
120
|
const isNumber = e.data && /[0-9]/.test(e.data);
|
|
@@ -127,7 +127,7 @@ export class Input {
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
};
|
|
130
|
-
this.value =
|
|
130
|
+
this.value = '';
|
|
131
131
|
this.type = undefined;
|
|
132
132
|
this.password = false;
|
|
133
133
|
this.placeholder = undefined;
|
|
@@ -164,14 +164,9 @@ export class Input {
|
|
|
164
164
|
else {
|
|
165
165
|
(_b = this.inputRef) === null || _b === void 0 ? void 0 : _b.addEventListener('compositionstart', this.handleComposition);
|
|
166
166
|
(_c = this.inputRef) === null || _c === void 0 ? void 0 : _c.addEventListener('compositionend', this.handleComposition);
|
|
167
|
-
(_d = this.inputRef) === null || _d === void 0 ? void 0 : _d.addEventListener('beforeinput', this.
|
|
168
|
-
(_e = this.inputRef) === null || _e === void 0 ? void 0 : _e.addEventListener('textInput', this.
|
|
167
|
+
(_d = this.inputRef) === null || _d === void 0 ? void 0 : _d.addEventListener('beforeinput', this.handleBeforeInput);
|
|
168
|
+
(_e = this.inputRef) === null || _e === void 0 ? void 0 : _e.addEventListener('textInput', this.handleBeforeInput);
|
|
169
169
|
}
|
|
170
|
-
Object.defineProperty(this.el, 'value', {
|
|
171
|
-
get: () => this.inputRef.value,
|
|
172
|
-
set: value => this.value !== value && (this.value = value),
|
|
173
|
-
configurable: true
|
|
174
|
-
});
|
|
175
170
|
}
|
|
176
171
|
disconnectedCallback() {
|
|
177
172
|
var _a, _b, _c, _d, _e;
|
|
@@ -181,8 +176,8 @@ export class Input {
|
|
|
181
176
|
else {
|
|
182
177
|
(_b = this.inputRef) === null || _b === void 0 ? void 0 : _b.removeEventListener('compositionstart', this.handleComposition);
|
|
183
178
|
(_c = this.inputRef) === null || _c === void 0 ? void 0 : _c.removeEventListener('compositionend', this.handleComposition);
|
|
184
|
-
(_d = this.inputRef) === null || _d === void 0 ? void 0 : _d.removeEventListener('beforeinput', this.
|
|
185
|
-
(_e = this.inputRef) === null || _e === void 0 ? void 0 : _e.removeEventListener('textInput', this.
|
|
179
|
+
(_d = this.inputRef) === null || _d === void 0 ? void 0 : _d.removeEventListener('beforeinput', this.handleBeforeInput);
|
|
180
|
+
(_e = this.inputRef) === null || _e === void 0 ? void 0 : _e.removeEventListener('textInput', this.handleBeforeInput);
|
|
186
181
|
}
|
|
187
182
|
}
|
|
188
183
|
render() {
|
|
@@ -221,7 +216,8 @@ export class Input {
|
|
|
221
216
|
"text": ""
|
|
222
217
|
},
|
|
223
218
|
"attribute": "value",
|
|
224
|
-
"reflect": false
|
|
219
|
+
"reflect": false,
|
|
220
|
+
"defaultValue": "''"
|
|
225
221
|
},
|
|
226
222
|
"type": {
|
|
227
223
|
"type": "string",
|
|
@@ -326,7 +322,7 @@ export class Input {
|
|
|
326
322
|
"text": ""
|
|
327
323
|
},
|
|
328
324
|
"attribute": "focus",
|
|
329
|
-
"reflect":
|
|
325
|
+
"reflect": false,
|
|
330
326
|
"defaultValue": "false"
|
|
331
327
|
},
|
|
332
328
|
"confirmType": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Host, h } from '@stencil/core';
|
|
2
2
|
import { TOP, LINE_HEIGHT, MASK_HEIGHT } from './constant';
|
|
3
3
|
export class TaroPickerGroup {
|
|
4
4
|
constructor() {
|
|
@@ -8,7 +8,6 @@ export class TaroPickerGroup {
|
|
|
8
8
|
this.height = undefined;
|
|
9
9
|
this.columnId = undefined;
|
|
10
10
|
this.updateHeight = undefined;
|
|
11
|
-
this.onColumnChange = undefined;
|
|
12
11
|
this.updateDay = undefined;
|
|
13
12
|
this.startY = undefined;
|
|
14
13
|
this.preY = undefined;
|
|
@@ -78,7 +77,7 @@ export class TaroPickerGroup {
|
|
|
78
77
|
this.updateHeight(newPos, this.columnId);
|
|
79
78
|
}
|
|
80
79
|
async handleMoveEnd(clientY) {
|
|
81
|
-
const { mode, range, height, updateHeight,
|
|
80
|
+
const { mode, range, height, updateHeight, columnId } = this;
|
|
82
81
|
const max = 0;
|
|
83
82
|
const min = -LINE_HEIGHT * (range.length - 1);
|
|
84
83
|
const endY = clientY;
|
|
@@ -129,7 +128,7 @@ export class TaroPickerGroup {
|
|
|
129
128
|
// 先按公式算出 index, 再用此 index 算出一个整数高度
|
|
130
129
|
const index = Math.round(absoluteHeight / -LINE_HEIGHT);
|
|
131
130
|
const relativeHeight = TOP - LINE_HEIGHT * index;
|
|
132
|
-
if (this.mode === 'date') {
|
|
131
|
+
if (this.mode === 'date' && typeof this.updateDay === 'function') {
|
|
133
132
|
if (this.columnId === '0') {
|
|
134
133
|
this.updateDay(+this.range[index].replace(/[^0-9]/gi, ''), 0);
|
|
135
134
|
}
|
|
@@ -141,14 +140,16 @@ export class TaroPickerGroup {
|
|
|
141
140
|
}
|
|
142
141
|
}
|
|
143
142
|
updateHeight(relativeHeight, columnId, mode === 'time');
|
|
144
|
-
onColumnChange
|
|
143
|
+
this.onColumnChange.emit({
|
|
144
|
+
columnId,
|
|
145
|
+
height: relativeHeight,
|
|
146
|
+
});
|
|
145
147
|
}
|
|
146
148
|
onMouseDown(e) {
|
|
147
149
|
this.isMove = true;
|
|
148
150
|
this.handleMoveStart(e.clientY);
|
|
149
151
|
}
|
|
150
152
|
onMouseMove(e) {
|
|
151
|
-
e.preventDefault();
|
|
152
153
|
if (!this.isMove)
|
|
153
154
|
return;
|
|
154
155
|
this.handleMoving(e.clientY);
|
|
@@ -163,7 +164,6 @@ export class TaroPickerGroup {
|
|
|
163
164
|
this.handleMoveStart(e.changedTouches[0].clientY);
|
|
164
165
|
}
|
|
165
166
|
onTouchMove(e) {
|
|
166
|
-
e.preventDefault();
|
|
167
167
|
this.handleMoving(e.changedTouches[0].clientY);
|
|
168
168
|
}
|
|
169
169
|
onTouchEnd(e) {
|
|
@@ -279,31 +279,16 @@ export class TaroPickerGroup {
|
|
|
279
279
|
"text": ""
|
|
280
280
|
}
|
|
281
281
|
},
|
|
282
|
-
"onColumnChange": {
|
|
283
|
-
"type": "unknown",
|
|
284
|
-
"mutable": false,
|
|
285
|
-
"complexType": {
|
|
286
|
-
"original": "(height: number, columnId: string) => void",
|
|
287
|
-
"resolved": "(height: number, columnId: string) => void",
|
|
288
|
-
"references": {}
|
|
289
|
-
},
|
|
290
|
-
"required": false,
|
|
291
|
-
"optional": false,
|
|
292
|
-
"docs": {
|
|
293
|
-
"tags": [],
|
|
294
|
-
"text": ""
|
|
295
|
-
}
|
|
296
|
-
},
|
|
297
282
|
"updateDay": {
|
|
298
283
|
"type": "unknown",
|
|
299
284
|
"mutable": false,
|
|
300
285
|
"complexType": {
|
|
301
286
|
"original": "(value: number, fields: number) => void",
|
|
302
|
-
"resolved": "(value: number, fields: number) => void",
|
|
287
|
+
"resolved": "((value: number, fields: number) => void) | undefined",
|
|
303
288
|
"references": {}
|
|
304
289
|
},
|
|
305
290
|
"required": false,
|
|
306
|
-
"optional":
|
|
291
|
+
"optional": true,
|
|
307
292
|
"docs": {
|
|
308
293
|
"tags": [],
|
|
309
294
|
"text": ""
|
|
@@ -320,6 +305,24 @@ export class TaroPickerGroup {
|
|
|
320
305
|
"isMove": {}
|
|
321
306
|
};
|
|
322
307
|
}
|
|
308
|
+
static get events() {
|
|
309
|
+
return [{
|
|
310
|
+
"method": "onColumnChange",
|
|
311
|
+
"name": "columnChange",
|
|
312
|
+
"bubbles": true,
|
|
313
|
+
"cancelable": true,
|
|
314
|
+
"composed": true,
|
|
315
|
+
"docs": {
|
|
316
|
+
"tags": [],
|
|
317
|
+
"text": ""
|
|
318
|
+
},
|
|
319
|
+
"complexType": {
|
|
320
|
+
"original": "any",
|
|
321
|
+
"resolved": "any",
|
|
322
|
+
"references": {}
|
|
323
|
+
}
|
|
324
|
+
}];
|
|
325
|
+
}
|
|
323
326
|
static get methods() {
|
|
324
327
|
return {
|
|
325
328
|
"handleMoveStart": {
|
|
@@ -392,7 +395,7 @@ export class TaroPickerGroup {
|
|
|
392
395
|
"name": "mousemove",
|
|
393
396
|
"method": "onMouseMove",
|
|
394
397
|
"target": undefined,
|
|
395
|
-
"capture":
|
|
398
|
+
"capture": true,
|
|
396
399
|
"passive": true
|
|
397
400
|
}, {
|
|
398
401
|
"name": "mouseup",
|
|
@@ -416,7 +419,7 @@ export class TaroPickerGroup {
|
|
|
416
419
|
"name": "touchmove",
|
|
417
420
|
"method": "onTouchMove",
|
|
418
421
|
"target": undefined,
|
|
419
|
-
"capture":
|
|
422
|
+
"capture": true,
|
|
420
423
|
"passive": true
|
|
421
424
|
}, {
|
|
422
425
|
"name": "touchend",
|