@tarojs/components 3.8.0-canary.0 → 4.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +14 -0
- package/dist/cjs/helper-ad6306f6.js +31 -0
- package/dist/cjs/{index-e751dfe3.js → index-5b029707.js} +208 -2
- package/dist/cjs/{index-dfd8638f.js → index-8a70c333.js} +6 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/taro-ad-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-camera-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-canvas-core.cjs.entry.js +15 -3
- package/dist/cjs/taro-channel-live-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-channel-video-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-components.cjs.js +2 -2
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-editor-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-icon-core.cjs.entry.js +4 -1
- package/dist/cjs/taro-image-core.cjs.entry.js +6 -5
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-like-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-list-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-live-player-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-login-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-lottie-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-map-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-match-media-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +5 -4
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-official-account-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-page-container-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +33 -32
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +39 -39
- package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
- package/dist/cjs/{taro-pull-to-refresh.cjs.entry.js → taro-pull-to-refresh-core.cjs.entry.js} +19 -14
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-root-portal-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +15 -3
- package/dist/cjs/taro-share-element-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-slider-core.cjs.entry.js +4 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-snapshot-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +112 -9922
- package/dist/cjs/taro-switch-core.cjs.entry.js +13 -12
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-tabbar.cjs.entry.js +14 -98
- package/dist/cjs/taro-tabs-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-textarea-core.cjs.entry.js +12 -3
- package/dist/cjs/taro-video-control_3.cjs.entry.js +31 -7
- package/dist/cjs/taro-view-core.cjs.entry.js +5 -11
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/audio/style/index.css +1 -4
- package/dist/collection/components/button/style/index.css +1 -160
- package/dist/collection/components/canvas/canvas.js +48 -2
- package/dist/collection/components/canvas/style/index.css +1 -6
- package/dist/collection/components/checkbox/style/index.css +1 -39
- package/dist/collection/components/cover-image/style/index.css +1 -5
- package/dist/collection/components/cover-view/style/cover-view.css +1 -3
- package/dist/collection/components/icon/icon.js +10 -0
- package/dist/collection/components/icon/style/index.css +1 -0
- package/dist/collection/components/image/image.js +4 -3
- package/dist/collection/components/image/style/index.css +1 -73
- package/dist/collection/components/input/input.js +2 -2
- package/dist/collection/components/input/style/index.css +1 -0
- package/dist/collection/components/movable-area/area.css +1 -6
- package/dist/collection/components/movable-area/movable-area.js +2 -1
- package/dist/collection/components/movable-area/view.css +1 -8
- package/dist/collection/components/navigator/style/index.css +1 -3
- package/dist/collection/components/picker/picker.js +31 -30
- package/dist/collection/components/picker/style/index.css +1 -4
- 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/picker-view/style/column.css +1 -12
- package/dist/collection/components/picker-view/style/index.css +1 -28
- package/dist/collection/components/progress/progress.js +10 -0
- package/dist/collection/components/progress/style/index.css +1 -0
- package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +17 -12
- package/dist/collection/components/pull-to-refresh/style/index.css +1 -52
- package/dist/collection/components/rich-text/style/index.css +1 -16
- package/dist/collection/components/scroll-view/scroll-view.js +18 -2
- package/dist/collection/components/scroll-view/style/index.css +1 -17
- package/dist/collection/components/slider/slider.js +10 -0
- package/dist/collection/components/slider/style/index.css +1 -0
- package/dist/collection/components/snapshot/snapshot.js +11 -0
- package/dist/collection/components/swiper/style/index.css +2 -19
- package/dist/collection/components/swiper/swiper-item.js +54 -33
- package/dist/collection/components/swiper/swiper.js +57 -26
- package/dist/collection/components/switch/style/index.css +1 -10
- package/dist/collection/components/switch/switch.js +12 -12
- package/dist/collection/components/tabbar/style/index.css +1 -49
- package/dist/collection/components/tabbar/tabbar-item.js +1 -1
- package/dist/collection/components/tabbar/tabbar.js +5 -5
- package/dist/collection/components/text/style/index.css +1 -26
- package/dist/collection/components/textarea/style/index.css +1 -22
- package/dist/collection/components/textarea/textarea.js +11 -0
- package/dist/collection/components/video/style/index.css +1 -326
- package/dist/collection/components/video/video.js +6 -2
- package/dist/collection/components/view/style/index.css +1 -9
- package/dist/collection/components/view/view.js +2 -9
- package/dist/collection/components/web-view/style/index.css +1 -12
- package/dist/collection/utils/helper.js +11 -0
- package/dist/collection/utils/index.js +10 -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/index3.js +6 -1
- package/dist/components/taro-audio-core.js +1 -1
- package/dist/components/taro-button-core.js +1 -1
- package/dist/components/taro-canvas-core.js +17 -3
- package/dist/components/taro-checkbox-core.js +1 -1
- package/dist/components/taro-cover-image-core.js +1 -1
- package/dist/components/taro-icon-core.js +3 -0
- package/dist/components/taro-image-core.js +5 -4
- package/dist/components/taro-input-core.js +1 -1
- package/dist/components/taro-movable-area-core.js +3 -2
- package/dist/components/taro-movable-view-core.js +1 -1
- package/dist/components/taro-picker-core.js +32 -31
- package/dist/components/taro-picker-view-column-core.js +27 -37
- package/dist/components/taro-picker-view-core.js +12 -3
- package/dist/components/taro-progress-core.js +3 -0
- 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} +22 -17
- package/dist/components/taro-rich-text-core.js +1 -1
- package/dist/components/taro-scroll-view-core.js +13 -2
- package/dist/components/taro-slider-core.js +3 -0
- 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 +62 -9879
- package/dist/components/taro-swiper-item-core.js +40 -36
- package/dist/components/taro-switch-core.js +13 -13
- package/dist/components/taro-tabbar.js +4 -89
- package/dist/components/taro-text-core.js +1 -1
- package/dist/components/taro-textarea-core.js +11 -2
- package/dist/components/taro-video-core.js +8 -4
- package/dist/components/taro-view-core.js +3 -10
- package/dist/components/taro-web-view-core.js +1 -1
- package/dist/esm/helper-8a85bb65.js +24 -0
- package/dist/esm/{index-d1b03e47.js → index-a00a7418.js} +6 -1
- package/dist/esm/{index-980f930f.js → index-ab3c86da.js} +208 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/taro-ad-core.entry.js +2 -2
- package/dist/esm/taro-ad-custom-core.entry.js +2 -2
- package/dist/esm/taro-animation-video-core.entry.js +2 -2
- package/dist/esm/taro-animation-view-core.entry.js +2 -2
- package/dist/esm/taro-ar-camera-core.entry.js +2 -2
- package/dist/esm/taro-audio-core.entry.js +2 -2
- package/dist/esm/taro-aweme-data-core.entry.js +2 -2
- package/dist/esm/taro-block-core.entry.js +1 -1
- package/dist/esm/taro-button-core.entry.js +2 -2
- package/dist/esm/taro-camera-core.entry.js +2 -2
- package/dist/esm/taro-canvas-core.entry.js +15 -3
- package/dist/esm/taro-channel-live-core.entry.js +2 -2
- package/dist/esm/taro-channel-video-core.entry.js +2 -2
- package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
- package/dist/esm/taro-comment-detail-core.entry.js +2 -2
- package/dist/esm/taro-comment-list-core.entry.js +2 -2
- package/dist/esm/taro-components.js +3 -3
- package/dist/esm/taro-contact-button-core.entry.js +2 -2
- package/dist/esm/taro-cover-image-core.entry.js +2 -2
- package/dist/esm/taro-cover-view-core.entry.js +1 -1
- package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm/taro-editor-core.entry.js +2 -2
- package/dist/esm/taro-follow-swan-core.entry.js +2 -2
- package/dist/esm/taro-form-core.entry.js +1 -1
- package/dist/esm/taro-functional-page-navigator-core.entry.js +2 -2
- package/dist/esm/taro-grid-view-core.entry.js +2 -2
- package/dist/esm/taro-icon-core.entry.js +4 -1
- package/dist/esm/taro-image-core.entry.js +6 -5
- package/dist/esm/taro-inline-payment-panel-core.entry.js +2 -2
- package/dist/esm/taro-input-core.entry.js +2 -2
- package/dist/esm/taro-keyboard-accessory-core.entry.js +2 -2
- package/dist/esm/taro-label-core.entry.js +1 -1
- package/dist/esm/taro-lifestyle-core.entry.js +2 -2
- package/dist/esm/taro-like-core.entry.js +2 -2
- package/dist/esm/taro-list-view-core.entry.js +2 -2
- package/dist/esm/taro-live-player-core.entry.js +2 -2
- package/dist/esm/taro-live-pusher-core.entry.js +2 -2
- package/dist/esm/taro-login-core.entry.js +2 -2
- package/dist/esm/taro-lottie-core.entry.js +2 -2
- package/dist/esm/taro-map-core.entry.js +2 -2
- package/dist/esm/taro-match-media-core.entry.js +2 -2
- package/dist/esm/taro-movable-area-core_2.entry.js +5 -4
- package/dist/esm/taro-native-slot-core.entry.js +2 -2
- package/dist/esm/taro-navigation-bar-core.entry.js +2 -2
- package/dist/esm/taro-navigator-core.entry.js +1 -1
- package/dist/esm/taro-official-account-core.entry.js +2 -2
- package/dist/esm/taro-open-data-core.entry.js +2 -2
- package/dist/esm/taro-page-container-core.entry.js +2 -2
- package/dist/esm/taro-page-meta-core.entry.js +2 -2
- package/dist/esm/taro-picker-core_2.entry.js +33 -32
- package/dist/esm/taro-picker-view-column-core_2.entry.js +39 -39
- package/dist/esm/taro-progress-core.entry.js +4 -1
- package/dist/esm/{taro-pull-to-refresh.entry.js → taro-pull-to-refresh-core.entry.js} +19 -14
- package/dist/esm/taro-radio-core_2.entry.js +1 -1
- package/dist/esm/taro-rich-text-core.entry.js +2 -2
- package/dist/esm/taro-root-portal-core.entry.js +2 -2
- package/dist/esm/taro-rtc-room-core.entry.js +2 -2
- package/dist/esm/taro-rtc-room-item-core.entry.js +2 -2
- package/dist/esm/taro-scroll-view-core.entry.js +15 -3
- package/dist/esm/taro-share-element-core.entry.js +2 -2
- package/dist/esm/taro-slider-core.entry.js +4 -1
- package/dist/esm/taro-slot-core.entry.js +2 -2
- package/dist/esm/taro-snapshot-core.entry.js +17 -0
- package/dist/esm/taro-sticky-header-core.entry.js +2 -2
- package/dist/esm/taro-sticky-section-core.entry.js +2 -2
- package/dist/esm/taro-swiper-core_2.entry.js +100 -9914
- package/dist/esm/taro-switch-core.entry.js +13 -12
- package/dist/esm/taro-tab-item-core.entry.js +2 -2
- package/dist/esm/taro-tabbar.entry.js +5 -90
- package/dist/esm/taro-tabs-core.entry.js +2 -2
- package/dist/esm/taro-text-core.entry.js +2 -2
- package/dist/esm/taro-textarea-core.entry.js +12 -3
- package/dist/esm/taro-video-control_3.entry.js +10 -6
- package/dist/esm/taro-view-core.entry.js +5 -11
- package/dist/esm/taro-voip-room-core.entry.js +2 -2
- package/dist/esm/taro-web-view-core.entry.js +2 -2
- package/dist/esm-es5/helper-8a85bb65.js +1 -0
- package/dist/esm-es5/index-a00a7418.js +1 -0
- package/dist/esm-es5/index-ab3c86da.js +2 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/taro-ad-core.entry.js +1 -1
- package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
- package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm-es5/taro-audio-core.entry.js +1 -1
- package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-block-core.entry.js +1 -1
- package/dist/esm-es5/taro-button-core.entry.js +1 -1
- package/dist/esm-es5/taro-camera-core.entry.js +1 -1
- package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
- package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
- package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
- package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
- package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
- package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm-es5/taro-editor-core.entry.js +1 -1
- package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
- package/dist/esm-es5/taro-form-core.entry.js +1 -1
- package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-icon-core.entry.js +1 -1
- package/dist/esm-es5/taro-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
- package/dist/esm-es5/taro-input-core.entry.js +1 -1
- package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm-es5/taro-label-core.entry.js +1 -1
- package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
- package/dist/esm-es5/taro-like-core.entry.js +1 -1
- package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm-es5/taro-login-core.entry.js +1 -1
- package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
- package/dist/esm-es5/taro-map-core.entry.js +1 -1
- package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
- package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
- package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
- package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-progress-core.entry.js +1 -1
- package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -0
- package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
- package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
- package/dist/esm-es5/taro-slider-core.entry.js +1 -1
- package/dist/esm-es5/taro-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-snapshot-core.entry.js +1 -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-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/hydrate/index.d.ts +217 -0
- package/dist/hydrate/index.js +13054 -0
- package/dist/hydrate/package.json +6 -0
- package/dist/taro-components/p-0044961f.system.entry.js +1 -0
- package/dist/taro-components/p-010faa87.system.js +1 -0
- package/dist/taro-components/p-0132e803.entry.js +1 -0
- package/dist/taro-components/p-019124ae.system.entry.js +1 -0
- package/dist/taro-components/p-04f97133.system.entry.js +1 -0
- package/dist/taro-components/p-069ae782.system.entry.js +1 -0
- package/dist/taro-components/{p-2af69b72.entry.js → p-0d8a0733.entry.js} +1 -1
- package/dist/taro-components/p-0f95be56.entry.js +1 -0
- package/dist/taro-components/p-0fe4660a.entry.js +1 -0
- package/dist/taro-components/p-1087c51a.system.entry.js +1 -0
- package/dist/taro-components/p-11c0dc59.system.entry.js +1 -0
- package/dist/taro-components/p-12b967fd.entry.js +1 -0
- package/dist/taro-components/{p-43720011.entry.js → p-13bf0192.entry.js} +1 -1
- package/dist/taro-components/p-13e80cf7.entry.js +1 -0
- package/dist/taro-components/p-15c1ce79.entry.js +1 -0
- package/dist/taro-components/p-16705ca9.entry.js +1 -0
- package/dist/taro-components/{p-f420680c.system.entry.js → p-194ace03.system.entry.js} +1 -1
- package/dist/taro-components/p-19b04eb7.entry.js +1 -0
- package/dist/taro-components/{p-07302165.system.entry.js → p-19b993d8.system.entry.js} +1 -1
- package/dist/taro-components/p-1b1034dc.entry.js +1 -0
- package/dist/taro-components/p-22f6316e.entry.js +1 -0
- package/dist/taro-components/p-25636983.entry.js +1 -0
- package/dist/taro-components/p-28bc8a48.entry.js +1 -0
- package/dist/taro-components/p-2b70c348.system.js +2 -0
- package/dist/taro-components/p-2d382d0e.entry.js +1 -0
- package/dist/taro-components/p-2ebc3182.entry.js +1 -0
- package/dist/taro-components/p-2f8ebd28.system.entry.js +1 -0
- package/dist/taro-components/p-317c4cad.entry.js +1 -0
- package/dist/taro-components/{p-38ee526a.entry.js → p-342a2594.entry.js} +1 -1
- package/dist/taro-components/p-3430d520.system.entry.js +1 -0
- package/dist/taro-components/{p-f11c9c37.system.entry.js → p-36ea0ac1.system.entry.js} +1 -1
- package/dist/taro-components/p-370cc947.entry.js +1 -0
- package/dist/taro-components/p-378b504c.entry.js +1 -0
- package/dist/taro-components/{p-ebc7b6fc.entry.js → p-37bc198d.entry.js} +1 -1
- package/dist/taro-components/{p-bf0e0394.entry.js → p-39b3e34d.entry.js} +1 -1
- package/dist/taro-components/p-3a0a05fd.system.entry.js +1 -0
- package/dist/taro-components/p-3a3d40de.system.entry.js +1 -0
- package/dist/taro-components/p-3d423adc.entry.js +1 -0
- package/dist/taro-components/p-3eedb8d7.system.entry.js +1 -0
- package/dist/taro-components/p-43932446.entry.js +1 -0
- package/dist/taro-components/{p-ab726c20.system.entry.js → p-46ccb393.system.entry.js} +1 -1
- package/dist/taro-components/p-477f8fbd.system.js +1 -0
- package/dist/taro-components/p-4824cc94.entry.js +1 -0
- package/dist/taro-components/p-48a84765.entry.js +1 -0
- package/dist/taro-components/p-49e9b2ff.entry.js +1 -0
- package/dist/taro-components/p-4a748c0d.entry.js +1 -0
- package/dist/taro-components/{p-b5b30493.system.entry.js → p-4b5f75b9.system.entry.js} +1 -1
- package/dist/taro-components/p-4e63d3bd.entry.js +1 -0
- package/dist/taro-components/p-4fcb258a.entry.js +1 -0
- package/dist/taro-components/{p-9fe49bab.entry.js → p-4ffae31c.entry.js} +1 -1
- package/dist/taro-components/p-50b21f94.entry.js +1 -0
- package/dist/taro-components/p-518a9b73.entry.js +1 -0
- package/dist/taro-components/{p-085076c5.system.entry.js → p-52ad5213.system.entry.js} +1 -1
- package/dist/taro-components/p-54b24e2f.system.entry.js +1 -0
- package/dist/taro-components/{p-f534057e.system.entry.js → p-55934653.system.entry.js} +1 -1
- package/dist/taro-components/{p-0d7a705b.system.entry.js → p-562eace8.system.entry.js} +1 -1
- package/dist/taro-components/p-5893c3ed.js +1 -0
- package/dist/taro-components/p-5a78fbdf.system.entry.js +1 -0
- package/dist/taro-components/p-5b4de079.entry.js +1 -0
- package/dist/taro-components/p-5b86e66b.system.entry.js +1 -0
- package/dist/taro-components/p-5bfdb5f3.entry.js +1 -0
- package/dist/taro-components/{p-66b0b419.system.entry.js → p-5c0f97d3.system.entry.js} +1 -1
- package/dist/taro-components/{p-0fa96970.entry.js → p-5dbabb65.entry.js} +1 -1
- package/dist/taro-components/p-5f4c6ca5.entry.js +1 -0
- package/dist/taro-components/{p-9ac947ac.system.entry.js → p-618ee593.system.entry.js} +1 -1
- package/dist/taro-components/p-62df5526.entry.js +1 -0
- package/dist/taro-components/p-66029061.system.entry.js +1 -0
- package/dist/taro-components/p-69e70cd5.system.entry.js +1 -0
- package/dist/taro-components/{p-8201ee31.system.entry.js → p-6c06b440.system.entry.js} +1 -1
- package/dist/taro-components/p-6f1034a6.system.entry.js +1 -0
- package/dist/taro-components/p-6f3187bc.entry.js +1 -0
- package/dist/taro-components/p-6f8926e3.entry.js +1 -0
- package/dist/taro-components/p-756aa971.entry.js +1 -0
- package/dist/taro-components/p-7615d8a6.system.entry.js +1 -0
- package/dist/taro-components/p-77e030e9.system.entry.js +1 -0
- package/dist/taro-components/p-7b3ce3af.system.entry.js +1 -0
- package/dist/taro-components/p-7b80637e.system.entry.js +1 -0
- package/dist/taro-components/p-7e3f0837.entry.js +1 -0
- package/dist/taro-components/p-7f3d9184.entry.js +1 -0
- package/dist/taro-components/p-80228985.entry.js +1 -0
- package/dist/taro-components/{p-227e33fc.system.entry.js → p-80fa706c.system.entry.js} +1 -1
- package/dist/taro-components/{p-ebdd350f.system.entry.js → p-829157b1.system.entry.js} +1 -1
- package/dist/taro-components/p-82c5b9d3.entry.js +1 -0
- package/dist/taro-components/{p-5640e9f4.system.entry.js → p-82d52f00.system.entry.js} +1 -1
- package/dist/taro-components/p-8a6e93ed.entry.js +1 -0
- package/dist/taro-components/p-8b7e37c9.system.entry.js +1 -0
- package/dist/taro-components/p-8bde1f48.entry.js +1 -0
- package/dist/taro-components/p-8c3b906c.system.js +1 -0
- package/dist/taro-components/{p-6d4b7e5c.system.entry.js → p-90ee19f8.system.entry.js} +1 -1
- package/dist/taro-components/{p-fd7ff0f3.system.entry.js → p-923aa1c8.system.entry.js} +1 -1
- package/dist/taro-components/p-92b7b545.entry.js +1 -0
- package/dist/taro-components/{p-7e8e355b.system.entry.js → p-93b39a89.system.entry.js} +1 -1
- package/dist/taro-components/{p-fa0f6dab.system.entry.js → p-970a4199.system.entry.js} +1 -1
- package/dist/taro-components/p-97177863.system.entry.js +1 -0
- package/dist/taro-components/p-99440bcc.system.entry.js +1 -0
- package/dist/taro-components/p-9f3e0019.system.entry.js +1 -0
- package/dist/taro-components/p-a0f42e7f.entry.js +1 -0
- package/dist/taro-components/p-a2f848cc.entry.js +1 -0
- package/dist/taro-components/p-a6790f39.entry.js +1 -0
- package/dist/taro-components/p-a997cf7c.system.entry.js +1 -0
- package/dist/taro-components/p-aa11b00c.system.entry.js +1 -0
- package/dist/taro-components/p-adee7f1b.system.entry.js +1 -0
- package/dist/taro-components/p-ae99551a.entry.js +1 -0
- package/dist/taro-components/p-aed23034.system.entry.js +1 -0
- package/dist/taro-components/p-b259a558.system.entry.js +1 -0
- package/dist/taro-components/{p-30805bdf.entry.js → p-b3129dec.entry.js} +1 -1
- package/dist/taro-components/p-b3419d7f.system.entry.js +1 -0
- package/dist/taro-components/p-b43fa9b0.entry.js +1 -0
- package/dist/taro-components/p-b4707cdd.entry.js +1 -0
- package/dist/taro-components/p-b655e854.system.entry.js +1 -0
- package/dist/taro-components/{p-88d2b41b.system.entry.js → p-b66dfc82.system.entry.js} +1 -1
- package/dist/taro-components/p-ba241824.system.entry.js +1 -0
- package/dist/taro-components/p-baea6a63.entry.js +1 -0
- package/dist/taro-components/p-bdafd94c.system.entry.js +1 -0
- package/dist/taro-components/p-be68ae6e.system.entry.js +1 -0
- package/dist/taro-components/p-c0d93f74.entry.js +1 -0
- package/dist/taro-components/p-c0f16127.entry.js +1 -0
- package/dist/taro-components/p-c253be9f.entry.js +1 -0
- package/dist/taro-components/p-c2da52a5.entry.js +1 -0
- package/dist/taro-components/p-c58627f4.entry.js +1 -0
- package/dist/taro-components/p-c863ac7f.system.entry.js +1 -0
- package/dist/taro-components/p-cee51d71.system.entry.js +1 -0
- package/dist/taro-components/p-d12b6a84.system.entry.js +1 -0
- package/dist/taro-components/p-d184903b.entry.js +1 -0
- package/dist/taro-components/p-d1a095bd.system.entry.js +1 -0
- package/dist/taro-components/p-d29a59cd.entry.js +1 -0
- package/dist/taro-components/p-da4c4cad.entry.js +1 -0
- package/dist/taro-components/p-dbdb9de9.js +1 -0
- package/dist/taro-components/p-dbeadc04.system.entry.js +1 -0
- package/dist/taro-components/{p-b641e598.entry.js → p-dc366f18.entry.js} +1 -1
- package/dist/taro-components/p-dd7a128d.js +2 -0
- package/dist/taro-components/p-dde26531.entry.js +1 -0
- package/dist/taro-components/p-de1d495a.system.entry.js +1 -0
- package/dist/taro-components/p-e23769c4.entry.js +1 -0
- package/dist/taro-components/p-e2694a79.system.entry.js +1 -0
- package/dist/taro-components/p-e2a22cd1.entry.js +1 -0
- package/dist/taro-components/{p-898db637.system.entry.js → p-e41ed824.system.entry.js} +1 -1
- package/dist/taro-components/p-e5a80896.system.entry.js +1 -0
- package/dist/taro-components/p-e5b43c80.system.entry.js +1 -0
- package/dist/taro-components/{p-81f2ad70.system.entry.js → p-e6a2f1bd.system.entry.js} +1 -1
- package/dist/taro-components/p-e8753c5c.entry.js +1 -0
- package/dist/taro-components/{p-78e4805e.entry.js → p-ead6e57b.entry.js} +1 -1
- package/dist/taro-components/p-ec00e517.entry.js +1 -0
- package/dist/taro-components/p-ed081b3d.entry.js +1 -0
- package/dist/taro-components/{p-208e438c.system.entry.js → p-eda34d91.system.entry.js} +1 -1
- package/dist/taro-components/p-ee9d6467.system.entry.js +1 -0
- package/dist/taro-components/p-f0056aca.system.entry.js +1 -0
- package/dist/taro-components/p-f470ce9f.system.entry.js +1 -0
- package/dist/taro-components/p-f662c928.entry.js +1 -0
- package/dist/taro-components/p-f7198b67.system.entry.js +1 -0
- package/dist/taro-components/{p-473afc8e.system.entry.js → p-f782ee74.system.entry.js} +1 -1
- package/dist/taro-components/p-f94c0445.system.entry.js +1 -0
- package/dist/taro-components/p-f9a13a5c.entry.js +1 -0
- package/dist/taro-components/{p-0517f107.system.entry.js → p-fbb789a4.system.entry.js} +1 -1
- package/dist/taro-components/{p-b1d2b575.system.entry.js → p-fe1dd94f.system.entry.js} +1 -1
- package/dist/taro-components/p-fe8ee676.entry.js +1 -0
- package/dist/taro-components/p-ffaac078.system.entry.js +1 -0
- package/dist/taro-components/taro-components.css +1 -5
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/taro-components/taro-components.js +1 -1
- package/dist/types/components/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/switch/switch.d.ts +3 -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/textarea/textarea.d.ts +1 -0
- package/dist/types/components.d.ts +33 -15
- package/dist/types/utils/helper.d.ts +1 -0
- package/dist/types/utils/index.d.ts +2 -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/createComponent.js +3 -2
- package/lib/react/react-component-lib/createComponent.js.map +1 -1
- package/lib/react/react-component-lib/createOverlayComponent.js +1 -1
- package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
- package/lib/react/react-component-lib/utils/attachProps.d.ts +16 -7
- package/lib/react/react-component-lib/utils/attachProps.js +104 -9
- package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/lib/react/react-component-lib/utils/index.js +1 -1
- package/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 +19 -21
- package/types/Audio.d.ts +11 -11
- package/types/Button.d.ts +44 -13
- package/types/Camera.d.ts +1 -1
- package/types/Canvas.d.ts +14 -14
- package/types/ChannelVideo.d.ts +2 -2
- package/types/Checkbox.d.ts +12 -7
- package/types/CheckboxGroup.d.ts +3 -3
- package/types/CoverImage.d.ts +4 -4
- package/types/CoverView.d.ts +1 -1
- package/types/CustomWrapper.d.ts +1 -1
- package/types/Form.d.ts +4 -4
- package/types/GridView.d.ts +1 -1
- package/types/Icon.d.ts +5 -5
- package/types/Image.d.ts +9 -8
- package/types/Input.d.ts +28 -23
- package/types/Label.d.ts +2 -2
- package/types/ListView.d.ts +1 -1
- package/types/LivePlayer.d.ts +11 -4
- package/types/Map.d.ts +44 -3
- package/types/MovableArea.d.ts +2 -2
- package/types/MovableView.d.ts +18 -18
- package/types/NativeSlot.d.ts +5 -3
- package/types/NavigationBar.d.ts +7 -1
- package/types/Navigator.d.ts +8 -8
- package/types/PageMeta.d.ts +46 -0
- package/types/Picker.d.ts +48 -27
- package/types/PickerView.d.ts +6 -1
- package/types/PickerViewColumn.d.ts +1 -1
- package/types/Progress.d.ts +13 -13
- package/types/Radio.d.ts +12 -7
- package/types/RadioGroup.d.ts +3 -3
- package/types/RichText.d.ts +5 -5
- package/types/ScrollView.d.ts +93 -15
- package/types/ShareElement.d.ts +2 -1
- package/types/Slider.d.ts +20 -15
- 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 +19 -17
- package/types/SwiperItem.d.ts +7 -2
- package/types/Switch.d.ts +12 -7
- package/types/Text.d.ts +5 -5
- package/types/Textarea.d.ts +21 -16
- package/types/Video.d.ts +45 -36
- package/types/View.d.ts +4 -4
- package/types/WebView.d.ts +4 -4
- package/types/common.d.ts +8 -2
- 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/cjs/hls-00fec546.js +0 -25673
- package/dist/cjs/intersection-observer-dc4cfcef.js +0 -728
- package/dist/collection/components/input/index.css +0 -12
- package/dist/components/hls.js +0 -25671
- package/dist/components/intersection-observer.js +0 -726
- package/dist/esm/helper-3d0ecf0f.js +0 -13
- package/dist/esm/hls-4018c7ea.js +0 -25671
- package/dist/esm/intersection-observer-8e4c7135.js +0 -726
- package/dist/esm-es5/helper-3d0ecf0f.js +0 -1
- package/dist/esm-es5/hls-4018c7ea.js +0 -1
- package/dist/esm-es5/index-980f930f.js +0 -2
- package/dist/esm-es5/index-d1b03e47.js +0 -1
- package/dist/esm-es5/intersection-observer-8e4c7135.js +0 -1
- package/dist/esm-es5/taro-pull-to-refresh.entry.js +0 -1
- package/dist/taro-components/p-0114a2e4.entry.js +0 -1
- package/dist/taro-components/p-01e163f8.system.entry.js +0 -1
- package/dist/taro-components/p-052da7f0.system.entry.js +0 -1
- package/dist/taro-components/p-0fe855c6.entry.js +0 -1
- package/dist/taro-components/p-117633e9.system.entry.js +0 -1
- package/dist/taro-components/p-137531b6.entry.js +0 -1
- package/dist/taro-components/p-139e6251.entry.js +0 -1
- package/dist/taro-components/p-1404c119.entry.js +0 -1
- package/dist/taro-components/p-15e45ed6.system.js +0 -1
- package/dist/taro-components/p-1974e52e.system.entry.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-1e739fcb.system.entry.js +0 -1
- package/dist/taro-components/p-1f39576a.system.entry.js +0 -1
- package/dist/taro-components/p-204bd245.entry.js +0 -1
- package/dist/taro-components/p-2a071adf.system.entry.js +0 -1
- package/dist/taro-components/p-2d1b4dcc.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-355e4dbc.entry.js +0 -1
- package/dist/taro-components/p-357ba712.system.entry.js +0 -1
- package/dist/taro-components/p-3b1d2d37.system.js +0 -1
- package/dist/taro-components/p-3d8c9dfb.entry.js +0 -1
- package/dist/taro-components/p-407ca16e.entry.js +0 -1
- package/dist/taro-components/p-416cc4dd.system.entry.js +0 -1
- package/dist/taro-components/p-425c209a.entry.js +0 -1
- package/dist/taro-components/p-43efbf30.js +0 -1
- package/dist/taro-components/p-469ee343.entry.js +0 -1
- package/dist/taro-components/p-46b8f89b.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-50902cd0.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-5dab46cd.system.entry.js +0 -1
- package/dist/taro-components/p-6127b1b6.system.entry.js +0 -1
- package/dist/taro-components/p-657cb6e4.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-6db97374.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-72b118b0.entry.js +0 -1
- package/dist/taro-components/p-72f327e1.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-7b68dee8.entry.js +0 -1
- package/dist/taro-components/p-7d635413.entry.js +0 -1
- package/dist/taro-components/p-7e6b54cb.system.js +0 -2
- package/dist/taro-components/p-7e998213.system.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-8c0b740e.entry.js +0 -1
- package/dist/taro-components/p-90333d0a.system.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-907d9d01.system.entry.js +0 -1
- package/dist/taro-components/p-9137dcab.js +0 -2
- package/dist/taro-components/p-962f28cb.entry.js +0 -1
- package/dist/taro-components/p-968b7c1d.entry.js +0 -1
- package/dist/taro-components/p-982bb5bf.entry.js +0 -1
- package/dist/taro-components/p-98f9f50f.system.entry.js +0 -1
- package/dist/taro-components/p-9a5fbb2e.entry.js +0 -1
- package/dist/taro-components/p-9aeb7995.entry.js +0 -1
- package/dist/taro-components/p-9b6550fc.entry.js +0 -1
- package/dist/taro-components/p-9d9ede17.system.entry.js +0 -1
- package/dist/taro-components/p-9edea30f.system.entry.js +0 -1
- package/dist/taro-components/p-a1763153.entry.js +0 -1
- package/dist/taro-components/p-a20ecd3b.entry.js +0 -1
- package/dist/taro-components/p-a20fed0a.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-a940a65b.entry.js +0 -1
- package/dist/taro-components/p-af3fa859.system.entry.js +0 -1
- package/dist/taro-components/p-af8e521a.entry.js +0 -1
- package/dist/taro-components/p-af9ef8b4.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-b235e43c.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-bd5177d3.system.js +0 -1
- package/dist/taro-components/p-bdc30301.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-c39a46ca.system.entry.js +0 -1
- package/dist/taro-components/p-c4b8851b.entry.js +0 -1
- package/dist/taro-components/p-cc164fa3.entry.js +0 -1
- package/dist/taro-components/p-cc70bb7a.system.entry.js +0 -1
- package/dist/taro-components/p-ce33f1f3.entry.js +0 -1
- package/dist/taro-components/p-d34a6c04.entry.js +0 -1
- package/dist/taro-components/p-d3c7f87d.js +0 -1
- package/dist/taro-components/p-da239b8b.system.entry.js +0 -1
- package/dist/taro-components/p-dab28e1f.system.entry.js +0 -1
- package/dist/taro-components/p-e09451c5.system.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-e53508c1.system.entry.js +0 -1
- package/dist/taro-components/p-e6481671.system.entry.js +0 -1
- package/dist/taro-components/p-e67755f0.system.entry.js +0 -1
- package/dist/taro-components/p-e78775ce.system.js +0 -1
- package/dist/taro-components/p-eaa370a9.system.entry.js +0 -1
- package/dist/taro-components/p-ed331c06.system.js +0 -1
- package/dist/taro-components/p-f02b6f70.entry.js +0 -1
- package/dist/taro-components/p-f0340edf.entry.js +0 -1
- package/dist/taro-components/p-f533bc2f.entry.js +0 -1
- package/dist/taro-components/p-f6f6a996.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
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js +0 -296
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js.map +0 -1
|
@@ -1,47 +1,50 @@
|
|
|
1
1
|
import { Host, h } from '@stencil/core';
|
|
2
2
|
const nativeCloneNode = Node.prototype.cloneNode;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
export class SwiperItem {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.itemId = undefined;
|
|
6
|
+
this.deep = false;
|
|
7
|
+
}
|
|
8
|
+
handleCloneNode(node, deep) {
|
|
9
|
+
const clonedNode = nativeCloneNode.call(node, false);
|
|
10
|
+
const srcChildNodes = this.handleChildNodes(node);
|
|
11
|
+
if (deep) {
|
|
12
|
+
for (let i = 0; i < srcChildNodes.length; i++) {
|
|
13
|
+
const srcNode = srcChildNodes[i];
|
|
14
|
+
if (!srcNode)
|
|
15
|
+
break;
|
|
16
|
+
let srcDeep = deep;
|
|
17
|
+
if (srcNode.nodeType !== 2 && srcNode.nodeType !== 8) {
|
|
18
|
+
// Note: 没有引用节点(s-cr[reference comment])的情况下,不复制子节点避免冗余(例如:Image 组件)
|
|
19
|
+
if (this.deep !== true && !srcNode['s-cr']) {
|
|
20
|
+
srcDeep = false;
|
|
21
|
+
}
|
|
22
|
+
const childClone = this.handleCloneNode(srcNode, srcDeep);
|
|
23
|
+
clonedNode.appendChild(childClone);
|
|
14
24
|
}
|
|
15
|
-
const childClone = cloneNode(srcNode, srcDeep);
|
|
16
|
-
clonedNode.appendChild(childClone);
|
|
17
25
|
}
|
|
18
26
|
}
|
|
27
|
+
return clonedNode;
|
|
19
28
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
result.push(slot);
|
|
29
|
+
handleChildNodes(node) {
|
|
30
|
+
const childNodes = node.childNodes;
|
|
31
|
+
// check if element is stencil element without shadow dom
|
|
32
|
+
// and then detect elements that were slotted into the element
|
|
33
|
+
if (node['s-sc']) {
|
|
34
|
+
const result = [];
|
|
35
|
+
for (let i = 0; i < childNodes.length; i++) {
|
|
36
|
+
const slot = childNodes[i]['s-nr'];
|
|
37
|
+
if (slot) {
|
|
38
|
+
result.push(slot);
|
|
39
|
+
}
|
|
32
40
|
}
|
|
41
|
+
return result;
|
|
33
42
|
}
|
|
34
|
-
return
|
|
35
|
-
}
|
|
36
|
-
return Array.from(childNodes);
|
|
37
|
-
}
|
|
38
|
-
export class SwiperItem {
|
|
39
|
-
constructor() {
|
|
40
|
-
this.itemId = undefined;
|
|
43
|
+
return Array.from(childNodes);
|
|
41
44
|
}
|
|
42
45
|
componentDidRender() {
|
|
43
46
|
this.el.cloneNode = (deep = false) => {
|
|
44
|
-
return
|
|
47
|
+
return this.handleCloneNode(this.el, deep);
|
|
45
48
|
};
|
|
46
49
|
}
|
|
47
50
|
render() {
|
|
@@ -66,6 +69,24 @@ export class SwiperItem {
|
|
|
66
69
|
},
|
|
67
70
|
"attribute": "item-id",
|
|
68
71
|
"reflect": false
|
|
72
|
+
},
|
|
73
|
+
"deep": {
|
|
74
|
+
"type": "boolean",
|
|
75
|
+
"mutable": false,
|
|
76
|
+
"complexType": {
|
|
77
|
+
"original": "boolean",
|
|
78
|
+
"resolved": "boolean",
|
|
79
|
+
"references": {}
|
|
80
|
+
},
|
|
81
|
+
"required": false,
|
|
82
|
+
"optional": false,
|
|
83
|
+
"docs": {
|
|
84
|
+
"tags": [],
|
|
85
|
+
"text": ""
|
|
86
|
+
},
|
|
87
|
+
"attribute": "deep",
|
|
88
|
+
"reflect": false,
|
|
89
|
+
"defaultValue": "false"
|
|
69
90
|
}
|
|
70
91
|
};
|
|
71
92
|
}
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
2
|
+
if (kind === "a" && !f)
|
|
3
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
4
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
5
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
6
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
7
|
+
};
|
|
8
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
9
|
+
if (kind === "m")
|
|
10
|
+
throw new TypeError("Private method is not writable");
|
|
11
|
+
if (kind === "a" && !f)
|
|
12
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
13
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
14
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
15
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
16
|
+
};
|
|
17
|
+
var _Swiper_id, _Swiper_source;
|
|
1
18
|
import { h, Host } from '@stencil/core';
|
|
2
19
|
import classNames from 'classnames';
|
|
3
20
|
import SwiperJS from 'swiper/swiper-bundle.esm.js';
|
|
@@ -5,13 +22,14 @@ import { debounce } from '../../utils';
|
|
|
5
22
|
let INSTANCE_ID = 0;
|
|
6
23
|
export class Swiper {
|
|
7
24
|
constructor() {
|
|
8
|
-
this
|
|
25
|
+
_Swiper_id.set(this, INSTANCE_ID++);
|
|
26
|
+
_Swiper_source.set(this, '');
|
|
9
27
|
this.handleSwiperLoopListen = () => {
|
|
10
28
|
var _a, _b, _c;
|
|
11
29
|
((_a = this.observerFirst) === null || _a === void 0 ? void 0 : _a.disconnect) && this.observerFirst.disconnect();
|
|
12
30
|
((_b = this.observerLast) === null || _b === void 0 ? void 0 : _b.disconnect) && this.observerLast.disconnect();
|
|
13
|
-
this.observerFirst = new MutationObserver(this.
|
|
14
|
-
this.observerLast = new MutationObserver(this.
|
|
31
|
+
this.observerFirst = new MutationObserver(this.handleSwiperLoopDebounce);
|
|
32
|
+
this.observerLast = new MutationObserver(this.handleSwiperLoopDebounce);
|
|
15
33
|
const wrapper = (_c = this.swiper.$wrapperEl) === null || _c === void 0 ? void 0 : _c[0];
|
|
16
34
|
const list = wrapper.querySelectorAll('taro-swiper-item-core:not(.swiper-slide-duplicate)');
|
|
17
35
|
if (list.length >= 1) {
|
|
@@ -25,23 +43,24 @@ export class Swiper {
|
|
|
25
43
|
});
|
|
26
44
|
}
|
|
27
45
|
};
|
|
28
|
-
this.handleSwiperLoop =
|
|
29
|
-
var _a;
|
|
46
|
+
this.handleSwiperLoop = () => {
|
|
47
|
+
var _a, _b, _c, _d;
|
|
30
48
|
if (!this.swiper || !this.circular)
|
|
31
49
|
return;
|
|
32
50
|
const swiper = this.swiper; // Note: loop 相关的方法 swiper 未声明
|
|
33
51
|
const duplicates = ((_a = this.swiperWrapper) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.swiper-slide-duplicate')) || [];
|
|
34
52
|
if (duplicates.length < 2) {
|
|
35
53
|
// Note: 循环模式下,但是前后垫片未注入
|
|
36
|
-
swiper.loopDestroy();
|
|
37
|
-
swiper.loopCreate();
|
|
54
|
+
(_b = swiper.loopDestroy) === null || _b === void 0 ? void 0 : _b.call(swiper);
|
|
55
|
+
(_c = swiper.loopCreate) === null || _c === void 0 ? void 0 : _c.call(swiper);
|
|
38
56
|
}
|
|
39
57
|
else {
|
|
40
|
-
swiper.loopFix();
|
|
58
|
+
(_d = swiper.loopFix) === null || _d === void 0 ? void 0 : _d.call(swiper);
|
|
41
59
|
}
|
|
42
|
-
}
|
|
43
|
-
this.
|
|
44
|
-
|
|
60
|
+
};
|
|
61
|
+
this.handleSwiperLoopDebounce = debounce(this.handleSwiperLoop, 50);
|
|
62
|
+
this.handleSwiperSizeDebounce = debounce(() => {
|
|
63
|
+
if (this.swiper && this.swiper.$wrapperEl && !this.circular) {
|
|
45
64
|
this.swiper.updateSlides();
|
|
46
65
|
}
|
|
47
66
|
}, 50);
|
|
@@ -131,9 +150,9 @@ export class Swiper {
|
|
|
131
150
|
this.el.removeChild = (oldChild) => {
|
|
132
151
|
return newVal.removeChild(oldChild);
|
|
133
152
|
};
|
|
134
|
-
this.el.addEventListener('DOMNodeInserted', this.
|
|
135
|
-
this.el.addEventListener('DOMNodeRemoved', this.
|
|
136
|
-
this.el.addEventListener('MutationObserver', this.
|
|
153
|
+
this.el.addEventListener('DOMNodeInserted', this.handleSwiperSizeDebounce);
|
|
154
|
+
this.el.addEventListener('DOMNodeRemoved', this.handleSwiperSizeDebounce);
|
|
155
|
+
this.el.addEventListener('MutationObserver', this.handleSwiperSizeDebounce);
|
|
137
156
|
}
|
|
138
157
|
watchCircular() {
|
|
139
158
|
if (this.swiper) {
|
|
@@ -168,16 +187,18 @@ export class Swiper {
|
|
|
168
187
|
if (this.autoplay && !((_a = this.swiper.autoplay) === null || _a === void 0 ? void 0 : _a.running)) {
|
|
169
188
|
(_b = this.swiper.autoplay) === null || _b === void 0 ? void 0 : _b.start();
|
|
170
189
|
}
|
|
171
|
-
this.swiper
|
|
190
|
+
if (this.swiper.$el) {
|
|
191
|
+
this.swiper.update(); // 更新子元素
|
|
192
|
+
}
|
|
172
193
|
}
|
|
173
194
|
componentDidRender() {
|
|
174
195
|
this.handleSwiperLoop();
|
|
175
196
|
}
|
|
176
197
|
disconnectedCallback() {
|
|
177
198
|
var _a, _b, _c, _d, _e, _f;
|
|
178
|
-
this.el.removeEventListener('DOMNodeInserted', this.
|
|
179
|
-
this.el.removeEventListener('DOMNodeRemoved', this.
|
|
180
|
-
this.el.removeEventListener('MutationObserver', this.
|
|
199
|
+
this.el.removeEventListener('DOMNodeInserted', this.handleSwiperSizeDebounce);
|
|
200
|
+
this.el.removeEventListener('DOMNodeRemoved', this.handleSwiperSizeDebounce);
|
|
201
|
+
this.el.removeEventListener('MutationObserver', this.handleSwiperSizeDebounce);
|
|
181
202
|
(_b = (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
182
203
|
(_d = (_c = this.observerFirst) === null || _c === void 0 ? void 0 : _c.disconnect) === null || _d === void 0 ? void 0 : _d.call(_c);
|
|
183
204
|
(_f = (_e = this.observerLast) === null || _e === void 0 ? void 0 : _e.disconnect) === null || _f === void 0 ? void 0 : _f.call(_e);
|
|
@@ -187,7 +208,7 @@ export class Swiper {
|
|
|
187
208
|
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
|
188
209
|
const that = this;
|
|
189
210
|
const options = {
|
|
190
|
-
pagination: { el: `.taro-swiper-${this
|
|
211
|
+
pagination: { el: `.taro-swiper-${__classPrivateFieldGet(this, _Swiper_id, "f")} > .swiper-container > .swiper-pagination` },
|
|
191
212
|
direction: vertical ? 'vertical' : 'horizontal',
|
|
192
213
|
loop: circular,
|
|
193
214
|
slidesPerView: displayMultipleItems,
|
|
@@ -215,13 +236,22 @@ export class Swiper {
|
|
|
215
236
|
}
|
|
216
237
|
that.onChange.emit({
|
|
217
238
|
current: this.realIndex,
|
|
218
|
-
source:
|
|
239
|
+
source: __classPrivateFieldGet(that, _Swiper_source, "f"),
|
|
219
240
|
});
|
|
220
241
|
},
|
|
242
|
+
touchEnd: () => {
|
|
243
|
+
__classPrivateFieldSet(that, _Swiper_source, 'touch', "f");
|
|
244
|
+
},
|
|
245
|
+
autoplay() {
|
|
246
|
+
__classPrivateFieldSet(that, _Swiper_source, 'autoplay', "f");
|
|
247
|
+
},
|
|
221
248
|
transitionEnd() {
|
|
249
|
+
setTimeout(() => {
|
|
250
|
+
__classPrivateFieldSet(that, _Swiper_source, '', "f");
|
|
251
|
+
});
|
|
222
252
|
that.onAnimationFinish.emit({
|
|
223
253
|
current: this.realIndex,
|
|
224
|
-
source:
|
|
254
|
+
source: __classPrivateFieldGet(that, _Swiper_source, "f"),
|
|
225
255
|
});
|
|
226
256
|
},
|
|
227
257
|
observerUpdate(_swiper, e) {
|
|
@@ -247,8 +277,8 @@ export class Swiper {
|
|
|
247
277
|
disableOnInteraction: false
|
|
248
278
|
};
|
|
249
279
|
}
|
|
250
|
-
this.swiper = new SwiperJS(`.taro-swiper-${this
|
|
251
|
-
this.swiperWrapper = this.el.querySelector(`.taro-swiper-${this
|
|
280
|
+
this.swiper = new SwiperJS(`.taro-swiper-${__classPrivateFieldGet(this, _Swiper_id, "f")} > .swiper-container`, options);
|
|
281
|
+
this.swiperWrapper = this.el.querySelector(`.taro-swiper-${__classPrivateFieldGet(this, _Swiper_id, "f")} > .swiper-container > .swiper-wrapper`);
|
|
252
282
|
}
|
|
253
283
|
render() {
|
|
254
284
|
const { vertical, indicatorDots, indicatorColor, indicatorActiveColor } = this;
|
|
@@ -270,9 +300,9 @@ export class Swiper {
|
|
|
270
300
|
style.marginRight = `${nM}px`;
|
|
271
301
|
style.marginLeft = `${pM}px`;
|
|
272
302
|
}
|
|
273
|
-
return (h(Host, { class: `taro-swiper-${this
|
|
274
|
-
.taro-swiper-${this
|
|
275
|
-
.taro-swiper-${this
|
|
303
|
+
return (h(Host, { class: `taro-swiper-${__classPrivateFieldGet(this, _Swiper_id, "f")}`, style: hostStyle }, h("div", { class: 'swiper-container', style: style }, h("style", { type: 'text/css' }, `
|
|
304
|
+
.taro-swiper-${__classPrivateFieldGet(this, _Swiper_id, "f")} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet { background: ${indicatorColor} }
|
|
305
|
+
.taro-swiper-${__classPrivateFieldGet(this, _Swiper_id, "f")} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet-active { background: ${indicatorActiveColor} }
|
|
276
306
|
`), h("div", { class: 'swiper-wrapper' }, h("slot", null)), h("div", { class: classNames('swiper-pagination', {
|
|
277
307
|
'swiper-pagination-hidden': !indicatorDots,
|
|
278
308
|
'swiper-pagination-bullets': indicatorDots
|
|
@@ -614,3 +644,4 @@ export class Swiper {
|
|
|
614
644
|
}];
|
|
615
645
|
}
|
|
616
646
|
}
|
|
647
|
+
_Swiper_id = new WeakMap(), _Swiper_source = new WeakMap();
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
taro-switch-core {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
width: 52px;
|
|
4
|
-
height: 32px;
|
|
5
|
-
}
|
|
6
|
-
taro-switch-core .weui-switch {
|
|
7
|
-
display: block;
|
|
8
|
-
width: 100%;
|
|
9
|
-
height: 100%;
|
|
10
|
-
}
|
|
1
|
+
.weui-cell_switch{padding-top:6.5px;padding-bottom:6.5px}.weui-switch{appearance:none}.weui-switch,.weui-switch-cp__box{box-sizing:border-box;background-color:#dfdfdf;border:1px solid #dfdfdf;border-radius:16px;outline:0;width:52px;height:32px;transition:background-color .1s,border .1s;position:relative}.weui-switch:before,.weui-switch-cp__box:before{content:" ";background-color:#fdfdfd;border-radius:15px;width:50px;height:30px;transition:transform .35s cubic-bezier(.45,1,.4,1);position:absolute;top:0;left:0}.weui-switch:after,.weui-switch-cp__box:after{content:" ";background-color:#fff;border-radius:15px;width:30px;height:30px;transition:transform .35s cubic-bezier(.4,.4,.25,1.35);position:absolute;top:0;left:0;box-shadow:0 1px 3px rgba(0,0,0,.4)}.weui-switch:checked,.weui-switch-cp__input:checked~.weui-switch-cp__box{background-color:#04be02;border-color:#04be02}.weui-switch:checked:before,.weui-switch-cp__input:checked~.weui-switch-cp__box:before{transform:scale(0)}.weui-switch:checked:after,.weui-switch-cp__input:checked~.weui-switch-cp__box:after{transform:translate(20px)}.weui-switch-cp__input{position:absolute;left:-9999px}.weui-switch-cp__box{display:block}taro-switch-core{width:52px;height:32px;display:inline-block}taro-switch-core .weui-switch{width:100%;height:100%;display:block}
|
|
@@ -4,7 +4,7 @@ export class Switch {
|
|
|
4
4
|
this.switchChange = e => {
|
|
5
5
|
e.stopPropagation();
|
|
6
6
|
const value = e.target.checked;
|
|
7
|
-
this.
|
|
7
|
+
this.checked = value;
|
|
8
8
|
this.onChange.emit({
|
|
9
9
|
value
|
|
10
10
|
});
|
|
@@ -15,34 +15,35 @@ export class Switch {
|
|
|
15
15
|
this.name = undefined;
|
|
16
16
|
this.disabled = false;
|
|
17
17
|
this.nativeProps = {};
|
|
18
|
-
this.isChecked = undefined;
|
|
19
18
|
this.isWillLoadCalled = false;
|
|
20
19
|
}
|
|
21
|
-
function(
|
|
20
|
+
function(newValue) {
|
|
22
21
|
if (!this.isWillLoadCalled)
|
|
23
22
|
return;
|
|
24
|
-
if (
|
|
25
|
-
this.
|
|
23
|
+
if (this.inputRef.checked !== newValue) {
|
|
24
|
+
this.inputRef.checked = newValue;
|
|
25
|
+
}
|
|
26
26
|
}
|
|
27
27
|
componentWillLoad() {
|
|
28
28
|
this.isWillLoadCalled = true;
|
|
29
|
-
this.isChecked = this.checked;
|
|
30
29
|
}
|
|
31
30
|
componentDidLoad() {
|
|
32
31
|
Object.defineProperty(this.el, 'value', {
|
|
33
|
-
get: () => this.
|
|
32
|
+
get: () => this.checked,
|
|
34
33
|
configurable: true
|
|
35
34
|
});
|
|
36
35
|
}
|
|
37
36
|
render() {
|
|
38
|
-
const { type, color,
|
|
39
|
-
const style =
|
|
37
|
+
const { type, color, checked, name, disabled, nativeProps } = this;
|
|
38
|
+
const style = checked
|
|
40
39
|
? {
|
|
41
40
|
borderColor: color || '04BE02',
|
|
42
41
|
backgroundColor: color || '04BE02'
|
|
43
42
|
}
|
|
44
43
|
: {};
|
|
45
|
-
return (h("input", Object.assign({
|
|
44
|
+
return (h("input", Object.assign({ ref: input => {
|
|
45
|
+
this.inputRef = input;
|
|
46
|
+
}, type: 'checkbox', class: `weui-${type}`, style: style, checked: checked, name: name, disabled: disabled, onChange: this.switchChange }, nativeProps)));
|
|
46
47
|
}
|
|
47
48
|
static get is() { return "taro-switch-core"; }
|
|
48
49
|
static get originalStyleUrls() {
|
|
@@ -77,7 +78,7 @@ export class Switch {
|
|
|
77
78
|
},
|
|
78
79
|
"checked": {
|
|
79
80
|
"type": "boolean",
|
|
80
|
-
"mutable":
|
|
81
|
+
"mutable": true,
|
|
81
82
|
"complexType": {
|
|
82
83
|
"original": "boolean",
|
|
83
84
|
"resolved": "boolean",
|
|
@@ -166,7 +167,6 @@ export class Switch {
|
|
|
166
167
|
}
|
|
167
168
|
static get states() {
|
|
168
169
|
return {
|
|
169
|
-
"isChecked": {},
|
|
170
170
|
"isWillLoadCalled": {}
|
|
171
171
|
};
|
|
172
172
|
}
|
|
@@ -1,49 +1 @@
|
|
|
1
|
-
html,
|
|
2
|
-
body {
|
|
3
|
-
height: 100%;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
#app {
|
|
7
|
-
height: 100%;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.taro-tabbar__border-white::before {
|
|
11
|
-
border-top-color: #fff !important;
|
|
12
|
-
}
|
|
13
|
-
.taro-tabbar__container {
|
|
14
|
-
display: flex;
|
|
15
|
-
overflow: hidden;
|
|
16
|
-
flex-direction: column;
|
|
17
|
-
height: 100%;
|
|
18
|
-
}
|
|
19
|
-
.taro-tabbar__panel {
|
|
20
|
-
overflow: auto;
|
|
21
|
-
position: relative;
|
|
22
|
-
flex: 1;
|
|
23
|
-
-webkit-overflow-scrolling: auto;
|
|
24
|
-
}
|
|
25
|
-
.taro-tabbar__tabbar {
|
|
26
|
-
position: relative;
|
|
27
|
-
width: 100%;
|
|
28
|
-
height: 50px;
|
|
29
|
-
transition: bottom 0.2s, top 0.2s;
|
|
30
|
-
}
|
|
31
|
-
.taro-tabbar__tabbar-top {
|
|
32
|
-
top: 0;
|
|
33
|
-
}
|
|
34
|
-
.taro-tabbar__tabbar-bottom {
|
|
35
|
-
bottom: 0;
|
|
36
|
-
margin-bottom: constant(safe-area-inset-bottom);
|
|
37
|
-
margin-bottom: env(safe-area-inset-bottom);
|
|
38
|
-
}
|
|
39
|
-
.taro-tabbar__tabbar-hide {
|
|
40
|
-
display: none;
|
|
41
|
-
}
|
|
42
|
-
.taro-tabbar__tabbar-slideout {
|
|
43
|
-
top: -52px;
|
|
44
|
-
flex: 0 0;
|
|
45
|
-
}
|
|
46
|
-
.taro-tabbar__panel + .taro-tabbar__tabbar-slideout {
|
|
47
|
-
top: auto;
|
|
48
|
-
bottom: -52px;
|
|
49
|
-
}
|
|
1
|
+
.weui-tabbar{z-index:500;background-color:#f7f7fa;width:100%;display:flex;position:absolute;bottom:0}.weui-tabbar:before{content:" ";color:#c0bfc4;transform-origin:0 0;border-top:1px solid #c0bfc4;height:1px;position:absolute;top:0;left:0;right:0;transform:scaleY(.5)}.weui-tabbar__item{padding:5px 0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);color:#999;text-align:center;-webkit-tap-highlight-color:transparent;flex:1;font-size:0;display:block}.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon>i,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__label{color:#09bb07}.weui-tabbar__icon{width:27px;height:27px;display:inline-block}.weui-tabbar__icon img{width:100%;height:100%}i.weui-tabbar__icon,.weui-tabbar__icon>i{color:#999;font-size:24px}.weui-tabbar__label{text-align:center;color:#999;font-size:10px;line-height:1.8}.weui-badge{color:#fff;text-align:center;vertical-align:middle;background-color:#f43530;border-radius:18px;min-width:8px;padding:.15em .4em;font-size:12px;line-height:1.2;display:inline-block}.weui-badge_dot{min-width:0;padding:.4em}html,body{height:100%}:root{--taro-tabbar-height:$weuiTabBarHeight}#app{height:100%}.taro-tabbar__border-white:before{border-top-color:#fff!important}.taro-tabbar__container{flex-direction:column;height:100%;display:flex;overflow:hidden}.taro-tabbar__panel{-webkit-overflow-scrolling:auto;flex:1;position:relative;overflow:auto}.taro-tabbar__tabbar{height:var(--taro-tabbar-height);width:100%;transition:bottom .2s,top .2s;position:relative}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom);bottom:0}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{flex:0 0;top:-52px}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import classNames from 'classnames';
|
|
2
1
|
import { h } from '@stencil/core';
|
|
3
2
|
import Taro from '@tarojs/taro';
|
|
3
|
+
import classNames from 'classnames';
|
|
4
4
|
import { isVisible } from '../../utils';
|
|
5
5
|
export const TabbarItem = ({ index, isSelected = false, textColor, iconPath, badgeText, showRedDot = false, pagePath, text, onSelect }) => {
|
|
6
6
|
const className = classNames('weui-tabbar__item', {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, Host } from '@stencil/core';
|
|
2
|
+
import { addLeadingSlash, getCurrentPage, stripBasename, stripSuffix } from '@tarojs/runtime';
|
|
2
3
|
import Taro from '@tarojs/taro';
|
|
3
|
-
import { addLeadingSlash, getCurrentPage, stripBasename, stripSuffix } from '@tarojs/router/dist/utils';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import resolvePathname from 'resolve-pathname';
|
|
6
6
|
import { splitUrl } from '../../utils';
|
|
@@ -300,11 +300,11 @@ export class Tabbar {
|
|
|
300
300
|
"type": "unknown",
|
|
301
301
|
"mutable": false,
|
|
302
302
|
"complexType": {
|
|
303
|
-
"original": "
|
|
304
|
-
"resolved": "
|
|
303
|
+
"original": "ITabBarConf",
|
|
304
|
+
"resolved": "ITabBarConf",
|
|
305
305
|
"references": {
|
|
306
|
-
"
|
|
307
|
-
"location": "
|
|
306
|
+
"ITabBarConf": {
|
|
307
|
+
"location": "global"
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
},
|
|
@@ -1,26 +1 @@
|
|
|
1
|
-
taro-text-core
|
|
2
|
-
display: inline;
|
|
3
|
-
user-select: none;
|
|
4
|
-
}
|
|
5
|
-
taro-text-core[selectable=true], taro-text-core[user-select=true] {
|
|
6
|
-
display: inline-block;
|
|
7
|
-
user-select: text;
|
|
8
|
-
}
|
|
9
|
-
taro-text-core[space] {
|
|
10
|
-
white-space: pre-wrap;
|
|
11
|
-
}
|
|
12
|
-
taro-text-core[space=ensp] {
|
|
13
|
-
word-spacing: 0.5em;
|
|
14
|
-
}
|
|
15
|
-
taro-text-core[space=nbsp] {
|
|
16
|
-
word-spacing: 1em;
|
|
17
|
-
}
|
|
18
|
-
taro-text-core[number-of-lines] {
|
|
19
|
-
--line-clamp: 2;
|
|
20
|
-
display: -webkit-box;
|
|
21
|
-
-webkit-box-orient: vertical;
|
|
22
|
-
word-wrap: break-word;
|
|
23
|
-
overflow: hidden;
|
|
24
|
-
text-overflow: ellipsis;
|
|
25
|
-
-webkit-line-clamp: var(--line-clamp);
|
|
26
|
-
}
|
|
1
|
+
taro-text-core{user-select:none;display:inline}taro-text-core[selectable=true],taro-text-core[user-select=true]{user-select:text;display:inline-block}taro-text-core[space]{white-space:pre-wrap}taro-text-core[space=ensp]{word-spacing:.5em}taro-text-core[space=nbsp]{word-spacing:1em}taro-text-core[number-of-lines]{--line-clamp:2;word-wrap:break-word;text-overflow:ellipsis;-webkit-line-clamp:var(--line-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}
|
|
@@ -1,22 +1 @@
|
|
|
1
|
-
taro-textarea-core {
|
|
2
|
-
display: block;
|
|
3
|
-
width: 300px;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
taro-textarea-core .auto-height {
|
|
7
|
-
height: auto;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.taro-textarea {
|
|
11
|
-
display: block;
|
|
12
|
-
position: relative;
|
|
13
|
-
border: 0;
|
|
14
|
-
width: 100%;
|
|
15
|
-
height: inherit;
|
|
16
|
-
appearance: none;
|
|
17
|
-
cursor: auto;
|
|
18
|
-
line-height: 1.5;
|
|
19
|
-
}
|
|
20
|
-
.taro-textarea:focus {
|
|
21
|
-
outline: none;
|
|
22
|
-
}
|
|
1
|
+
taro-textarea-core{width:300px;display:block}taro-textarea-core .auto-height{height:auto}.taro-textarea{height:inherit;appearance:none;cursor:auto;border:0;width:100%;line-height:1.5;display:block;position:relative}.taro-textarea:focus{outline:none}
|
|
@@ -8,6 +8,7 @@ export class Textarea {
|
|
|
8
8
|
e.stopPropagation();
|
|
9
9
|
this.handleLineChange();
|
|
10
10
|
const value = e.target.value || '';
|
|
11
|
+
this.value = value;
|
|
11
12
|
this.onInput.emit({
|
|
12
13
|
value,
|
|
13
14
|
cursor: value.length
|
|
@@ -112,6 +113,13 @@ export class Textarea {
|
|
|
112
113
|
(_a = this.textareaRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
113
114
|
}
|
|
114
115
|
}
|
|
116
|
+
watchValue(newValue) {
|
|
117
|
+
// hack: 在事件回调中,props.value 变化不知为何不会触发 Stencil 更新,因此这里手动更新一下
|
|
118
|
+
const value = fixControlledValue(newValue);
|
|
119
|
+
if (this.textareaRef.value !== value) {
|
|
120
|
+
this.textareaRef.value = value;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
115
123
|
async focus() {
|
|
116
124
|
this.textareaRef.focus();
|
|
117
125
|
}
|
|
@@ -422,6 +430,9 @@ export class Textarea {
|
|
|
422
430
|
return [{
|
|
423
431
|
"propName": "autoFocus",
|
|
424
432
|
"methodName": "watchAutoFocus"
|
|
433
|
+
}, {
|
|
434
|
+
"propName": "value",
|
|
435
|
+
"methodName": "watchValue"
|
|
425
436
|
}];
|
|
426
437
|
}
|
|
427
438
|
}
|