@tarojs/components 3.7.0-alpha.2 → 3.7.0-alpha.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/helper-ad6306f6.js +31 -0
- package/dist/cjs/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 +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 +1 -1
- 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 +3 -3
- package/dist/cjs/taro-camera-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-canvas-core.cjs.entry.js +14 -2
- 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 +1 -1
- 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 +3 -3
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +2 -2
- 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 +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 +2 -2
- package/dist/cjs/taro-image-core.cjs.entry.js +7 -6
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-input-core.cjs.entry.js +7 -12
- 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 +1 -1
- 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 +2 -2
- 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 +55 -51
- 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 +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 +16 -5
- package/dist/cjs/taro-share-element-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-slider-core.cjs.entry.js +1 -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 +52 -50
- package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-tabbar.cjs.entry.js +11 -23
- package/dist/cjs/taro-tabs-core.cjs.entry.js +2 -2
- 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 +8 -5
- 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 +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/button/style/index.css +12 -0
- package/dist/collection/components/canvas/canvas.js +48 -2
- package/dist/collection/components/checkbox/checkbox.js +4 -4
- package/dist/collection/components/image/image.js +6 -4
- package/dist/collection/components/image/style/index.css +2 -2
- 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 +73 -46
- package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +1 -1
- package/dist/collection/components/pull-to-refresh/style/index.css +1 -2
- 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 +38 -6
- package/dist/collection/components/snapshot/snapshot.js +11 -0
- package/dist/collection/components/swiper/swiper-item.js +34 -35
- package/dist/collection/components/swiper/swiper.js +16 -13
- package/dist/collection/components/tabbar/style/index.css +5 -1
- 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/style/index.css +1 -0
- package/dist/collection/components/video/video.js +4 -1
- package/dist/collection/components/view/view.js +2 -9
- package/dist/collection/utils/helper.js +11 -0
- package/dist/components/helper.js +12 -1
- package/dist/components/hls.js +22697 -24646
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- 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-canvas-core.js +16 -2
- package/dist/components/taro-checkbox-core.js +1 -1
- package/dist/components/taro-image-core.js +7 -5
- package/dist/components/taro-input-core.js +7 -12
- package/dist/components/taro-picker-core.js +47 -43
- 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 +15 -4
- package/dist/components/taro-snapshot-core.d.ts +11 -0
- package/dist/components/taro-snapshot-core.js +33 -0
- package/dist/components/taro-swiper-core.js +16 -13
- package/dist/components/taro-swiper-item-core.js +34 -35
- package/dist/components/taro-tabbar.js +2 -14
- 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 +6 -3
- package/dist/components/taro-view-core.js +2 -9
- package/dist/esm/helper-8a85bb65.js +24 -0
- 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 +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 +1 -1
- 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 +3 -3
- package/dist/esm/taro-camera-core.entry.js +2 -2
- package/dist/esm/taro-canvas-core.entry.js +14 -2
- 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 +1 -1
- 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 +4 -4
- package/dist/esm/taro-contact-button-core.entry.js +2 -2
- 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 +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 +2 -2
- package/dist/esm/taro-image-core.entry.js +7 -6
- package/dist/esm/taro-inline-payment-panel-core.entry.js +2 -2
- package/dist/esm/taro-input-core.entry.js +7 -12
- 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 +1 -1
- 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 +2 -2
- 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 +55 -51
- 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 +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 +16 -5
- package/dist/esm/taro-share-element-core.entry.js +2 -2
- package/dist/esm/taro-slider-core.entry.js +1 -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 +52 -50
- package/dist/esm/taro-switch-core.entry.js +1 -1
- package/dist/esm/taro-tab-item-core.entry.js +2 -2
- package/dist/esm/taro-tabbar.entry.js +4 -16
- package/dist/esm/taro-tabs-core.entry.js +2 -2
- 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 +8 -5
- 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 +1 -1
- package/dist/esm-es5/helper-8a85bb65.js +1 -0
- 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-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/taro-components/p-00ed4bbb.entry.js +1 -0
- package/dist/taro-components/p-01e163f8.system.entry.js +1 -0
- package/dist/taro-components/p-065a10d7.entry.js +1 -0
- package/dist/taro-components/p-085076c5.system.entry.js +1 -0
- package/dist/taro-components/p-08b7ecd7.system.entry.js +1 -0
- package/dist/taro-components/p-0a250d71.system.entry.js +1 -0
- package/dist/taro-components/p-0cedad18.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-0e3b37e9.entry.js +1 -0
- package/dist/taro-components/p-0e8199b7.entry.js +1 -0
- package/dist/taro-components/p-0ec2e88a.entry.js +1 -0
- 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-124ac21f.entry.js +1 -0
- package/dist/taro-components/p-15624788.system.entry.js +1 -0
- package/dist/taro-components/{p-6dae898a.system.entry.js → p-1991cc1a.system.entry.js} +1 -1
- package/dist/taro-components/p-1b789738.system.entry.js +1 -0
- package/dist/taro-components/p-1cf16dfa.entry.js +1 -0
- package/dist/taro-components/{p-88d64daa.system.entry.js → p-1e739fcb.system.entry.js} +1 -1
- package/dist/taro-components/p-1f118969.system.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-0a165ad3.system.entry.js → p-21c07cb3.system.entry.js} +1 -1
- package/dist/taro-components/p-22bf7daf.entry.js +1 -0
- package/dist/taro-components/p-24d9836e.entry.js +1 -0
- package/dist/taro-components/p-25632af9.entry.js +1 -0
- package/dist/taro-components/p-29638de3.entry.js +1 -0
- package/dist/taro-components/{p-1b501f32.system.entry.js → p-2a071adf.system.entry.js} +1 -1
- package/dist/taro-components/p-2da9c8fd.entry.js +1 -0
- package/dist/taro-components/p-2ec68968.system.js +7 -0
- package/dist/taro-components/{p-9d4fa0d3.system.entry.js → p-3004e71a.system.entry.js} +1 -1
- package/dist/taro-components/{p-4542b767.entry.js → p-30805bdf.entry.js} +1 -1
- package/dist/taro-components/{p-c6e6dab1.system.entry.js → p-32e9981a.system.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-30fe0e81.system.entry.js → p-36d4407e.system.entry.js} +1 -1
- package/dist/taro-components/{p-c3d3eca2.entry.js → p-38ee526a.entry.js} +1 -1
- package/dist/taro-components/p-3f3abe55.system.entry.js +1 -0
- 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-69fa7272.system.entry.js → p-473afc8e.system.entry.js} +1 -1
- package/dist/taro-components/p-4a3357a4.entry.js +1 -0
- package/dist/taro-components/p-4cedbe5e.system.entry.js +1 -0
- package/dist/taro-components/p-4f1d180d.entry.js +1 -0
- package/dist/taro-components/p-4fc40739.entry.js +1 -0
- package/dist/taro-components/{p-bba8c3a7.system.entry.js → p-519fbe84.system.entry.js} +1 -1
- package/dist/taro-components/{p-95f70aea.system.entry.js → p-5756cf00.system.entry.js} +1 -1
- package/dist/taro-components/{p-4d7182f4.system.entry.js → p-5870248f.system.entry.js} +1 -1
- package/dist/taro-components/{p-26889f3c.system.entry.js → p-58cc2e6d.system.entry.js} +1 -1
- package/dist/taro-components/{p-51b6fc09.system.entry.js → p-5994d9f2.system.entry.js} +1 -1
- package/dist/taro-components/p-5e91398a.system.entry.js +1 -0
- package/dist/taro-components/{p-b2bb02d7.system.entry.js → p-5ebc7010.system.entry.js} +1 -1
- package/dist/taro-components/p-600e89cc.system.entry.js +1 -0
- package/dist/taro-components/p-60faf73e.system.entry.js +1 -0
- package/dist/taro-components/p-64eb91f7.entry.js +1 -0
- package/dist/taro-components/{p-dcb5b505.system.entry.js → p-657cb6e4.system.entry.js} +1 -1
- package/dist/taro-components/p-69c43a81.entry.js +1 -0
- package/dist/taro-components/p-6aa2ac6a.system.entry.js +1 -0
- package/dist/taro-components/p-6b454506.entry.js +1 -0
- package/dist/taro-components/{p-02aa7366.system.entry.js → p-6cde54e5.system.entry.js} +1 -1
- package/dist/taro-components/p-72b118b0.entry.js +1 -0
- package/dist/taro-components/p-76996fcb.entry.js +1 -0
- package/dist/taro-components/p-7726b789.system.entry.js +1 -0
- package/dist/taro-components/p-78e4805e.entry.js +1 -0
- package/dist/taro-components/{p-3c5ac930.entry.js → p-7b68dee8.entry.js} +1 -1
- package/dist/taro-components/p-7bfc5f3d.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-7fb57a30.system.entry.js +1 -0
- package/dist/taro-components/p-84958ace.entry.js +1 -0
- package/dist/taro-components/{p-be6050fd.system.entry.js → p-85fce63e.system.entry.js} +1 -1
- package/dist/taro-components/p-862b38b9.entry.js +1 -0
- package/dist/taro-components/p-8c3b906c.system.js +1 -0
- package/dist/taro-components/p-8ca82a56.entry.js +1 -0
- package/dist/taro-components/p-8ccaf5e8.entry.js +1 -0
- package/dist/taro-components/{p-4402972b.system.entry.js → p-8d990f1c.system.entry.js} +1 -1
- package/dist/taro-components/{p-8027e1c6.system.entry.js → p-92d04741.system.entry.js} +1 -1
- package/dist/taro-components/{p-b5ad2aec.entry.js → p-962f28cb.entry.js} +1 -1
- package/dist/taro-components/p-99e16df8.entry.js +1 -0
- package/dist/taro-components/p-9a5fbb2e.entry.js +1 -0
- package/dist/taro-components/{p-33223303.system.entry.js → p-9d76d7a9.system.entry.js} +1 -1
- package/dist/taro-components/p-9e03bc7a.system.entry.js +1 -0
- package/dist/taro-components/p-9ea4f297.entry.js +1 -0
- package/dist/taro-components/p-9edea30f.system.entry.js +1 -0
- package/dist/taro-components/p-9eeba192.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-a2141e85.system.entry.js +1 -0
- package/dist/taro-components/p-a2d590ad.entry.js +1 -0
- package/dist/taro-components/p-a4951dd6.entry.js +1 -0
- package/dist/taro-components/p-a5a51112.entry.js +1 -0
- package/dist/taro-components/p-a6e2dd48.entry.js +1 -0
- package/dist/taro-components/{p-f499c0a0.system.entry.js → p-a74c970c.system.entry.js} +1 -1
- package/dist/taro-components/{p-087bf23a.system.entry.js → p-a7d31b01.system.entry.js} +1 -1
- package/dist/taro-components/p-a90221ab.system.entry.js +1 -0
- package/dist/taro-components/p-a940a65b.entry.js +1 -0
- package/dist/taro-components/p-a94e3347.system.entry.js +1 -0
- package/dist/taro-components/p-aa04f605.entry.js +1 -0
- package/dist/taro-components/p-ad9b04e0.entry.js +1 -0
- package/dist/taro-components/{p-c586a796.system.entry.js → p-b07cd197.system.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-b201ff38.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-bc541cd8.entry.js +1 -0
- package/dist/taro-components/p-bd4ed8b1.entry.js +1 -0
- package/dist/taro-components/p-be96eb59.system.entry.js +1 -0
- package/dist/taro-components/{p-7df9de66.system.entry.js → p-bf0c8449.system.entry.js} +1 -1
- package/dist/taro-components/{p-c2c498d9.entry.js → p-bf0e0394.entry.js} +1 -1
- package/dist/taro-components/p-c0080d83.entry.js +1 -0
- package/dist/taro-components/p-c1a3fecf.system.entry.js +1 -0
- package/dist/taro-components/{p-4514dc53.system.entry.js → p-c913b635.system.entry.js} +1 -1
- package/dist/taro-components/p-cb406f85.system.entry.js +1 -0
- package/dist/taro-components/p-ccc64042.system.entry.js +1 -0
- package/dist/taro-components/p-ce303d12.system.entry.js +1 -0
- package/dist/taro-components/p-d1756770.entry.js +1 -0
- package/dist/taro-components/p-d2e0b15c.entry.js +1 -0
- package/dist/taro-components/p-d35c8257.system.entry.js +1 -0
- package/dist/taro-components/p-d550aea9.system.entry.js +1 -0
- package/dist/taro-components/p-d5c8380d.system.entry.js +1 -0
- package/dist/taro-components/{p-97782cdd.system.entry.js → p-d867e333.system.entry.js} +1 -1
- package/dist/taro-components/p-d9dcc6c6.entry.js +1 -0
- package/dist/taro-components/p-da3db323.entry.js +1 -0
- package/dist/taro-components/p-dab28e1f.system.entry.js +1 -0
- package/dist/taro-components/p-dbdb9de9.js +1 -0
- package/dist/taro-components/{p-736053bb.system.entry.js → p-dc5d65a0.system.entry.js} +1 -1
- package/dist/taro-components/p-de951a46.js +7 -0
- package/dist/taro-components/{p-da5cdbf5.system.entry.js → p-de96861c.system.entry.js} +1 -1
- package/dist/taro-components/p-e09451c5.system.entry.js +1 -0
- package/dist/taro-components/{p-b1249ebb.system.entry.js → p-e2cd5dd3.system.entry.js} +1 -1
- package/dist/taro-components/p-e598f47b.entry.js +1 -0
- 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-e740320c.entry.js +1 -0
- package/dist/taro-components/p-e78775ce.system.js +1 -0
- package/dist/taro-components/p-e976c6c9.system.entry.js +1 -0
- package/dist/taro-components/p-ea0d5d4f.system.entry.js +1 -0
- package/dist/taro-components/p-ebc7b6fc.entry.js +1 -0
- package/dist/taro-components/p-ed331c06.system.js +1 -0
- package/dist/taro-components/p-ef322936.entry.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-f1304456.entry.js +1 -0
- package/dist/taro-components/p-f2235cbb.entry.js +1 -0
- package/dist/taro-components/{p-38de410e.entry.js → p-f23cfdc8.entry.js} +1 -1
- package/dist/taro-components/p-f2c86846.entry.js +1 -0
- package/dist/taro-components/{p-1941d333.system.entry.js → p-f420680c.system.entry.js} +1 -1
- package/dist/taro-components/p-f4d86882.entry.js +1 -0
- package/dist/taro-components/p-f533bc2f.entry.js +1 -0
- package/dist/taro-components/p-f658de2e.entry.js +1 -0
- package/dist/taro-components/p-f6f6a996.system.entry.js +1 -0
- package/dist/taro-components/p-f78823a1.entry.js +1 -0
- package/dist/taro-components/{p-bac3deb0.system.entry.js → p-fac4ce6f.system.entry.js} +1 -1
- package/dist/taro-components/p-fbb2446e.entry.js +1 -0
- package/dist/taro-components/{p-0939fd26.system.entry.js → p-fd7ff0f3.system.entry.js} +1 -1
- package/dist/taro-components/{p-2bac359b.entry.js → p-fefedf44.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/canvas/canvas.d.ts +5 -2
- 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 +3 -0
- package/dist/types/components/snapshot/snapshot.d.ts +5 -0
- package/dist/types/components/swiper/swiper.d.ts +3 -2
- 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 +45 -8
- package/dist/types/utils/helper.d.ts +1 -0
- 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 +83 -84
- package/lib/react/components.js +4 -3
- 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/index.js +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 +14 -4
- package/lib/vue2/components.js +20 -8
- package/lib/vue2/components.js.map +1 -1
- package/lib/vue2/index.d.ts +1 -1
- package/lib/vue2/index.js +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 +83 -82
- package/lib/vue3/components.js +18 -7
- package/lib/vue3/components.js.map +1 -1
- package/lib/vue3/index.d.ts +1 -1
- package/lib/vue3/index.js +1 -1
- package/lib/vue3/vue-component-lib/utils.js.map +1 -1
- package/package.json +13 -11
- package/types/Button.d.ts +104 -10
- package/types/Canvas.d.ts +11 -11
- package/types/ChannelVideo.d.ts +4 -0
- package/types/Form.d.ts +11 -0
- package/types/GridView.d.ts +1 -1
- package/types/Image.d.ts +5 -0
- package/types/Input.d.ts +6 -1
- package/types/ListView.d.ts +1 -1
- package/types/LivePlayer.d.ts +17 -0
- package/types/LivePusher.d.ts +10 -0
- package/types/NativeSlot.d.ts +5 -3
- 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 +86 -8
- package/types/ShareElement.d.ts +40 -1
- 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 -2
- 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 +25 -4
- package/types/View.d.ts +1 -1
- package/types/index.d.ts +8 -5
- package/types/index.vue3.d.ts +39 -16
- package/virtual-list/index.js +2 -2
- package/dist/cjs/helper-db78e01a.js +0 -19
- package/dist/cjs/hls-67cbc62d.js +0 -27622
- package/dist/esm/helper-3d0ecf0f.js +0 -13
- package/dist/esm/hls-221423a1.js +0 -27620
- package/dist/esm-es5/helper-3d0ecf0f.js +0 -1
- 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-05bc0fce.entry.js +0 -1
- package/dist/taro-components/p-05c757b7.entry.js +0 -1
- package/dist/taro-components/p-07293238.entry.js +0 -1
- package/dist/taro-components/p-08bb8dfc.system.entry.js +0 -1
- package/dist/taro-components/p-0a9b984e.system.entry.js +0 -1
- package/dist/taro-components/p-0b8b3af5.entry.js +0 -1
- package/dist/taro-components/p-11936d9a.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-1493866a.entry.js +0 -1
- package/dist/taro-components/p-15e45ed6.system.js +0 -1
- package/dist/taro-components/p-16e03200.entry.js +0 -1
- package/dist/taro-components/p-17302fe9.system.entry.js +0 -1
- package/dist/taro-components/p-1743a04b.system.js +0 -365
- package/dist/taro-components/p-1be83ed3.entry.js +0 -1
- package/dist/taro-components/p-1c320250.system.entry.js +0 -1
- package/dist/taro-components/p-1c446c65.system.js +0 -1
- package/dist/taro-components/p-1e8c8ae1.entry.js +0 -1
- package/dist/taro-components/p-22dc57d4.entry.js +0 -1
- package/dist/taro-components/p-23cb8a7f.entry.js +0 -1
- package/dist/taro-components/p-27c4878c.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-369fb262.entry.js +0 -1
- package/dist/taro-components/p-38a51bd2.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-4190e20b.system.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-46244579.system.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-518146fd.system.entry.js +0 -1
- package/dist/taro-components/p-58877ef2.system.entry.js +0 -1
- package/dist/taro-components/p-58b7e960.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-69f6784d.system.entry.js +0 -1
- package/dist/taro-components/p-6a96da58.js +0 -1
- package/dist/taro-components/p-6de6eb4e.entry.js +0 -1
- package/dist/taro-components/p-6f048097.system.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-74bf8246.system.entry.js +0 -1
- package/dist/taro-components/p-76724e58.js +0 -7
- package/dist/taro-components/p-78c30850.system.entry.js +0 -1
- package/dist/taro-components/p-79c41bc2.entry.js +0 -1
- package/dist/taro-components/p-7c1fc8f5.system.entry.js +0 -1
- package/dist/taro-components/p-80970d8f.entry.js +0 -1
- package/dist/taro-components/p-895cd7c9.system.entry.js +0 -1
- package/dist/taro-components/p-8b8a8e39.entry.js +0 -1
- package/dist/taro-components/p-8d037fc0.entry.js +0 -1
- package/dist/taro-components/p-8d2101be.system.entry.js +0 -1
- package/dist/taro-components/p-8e5cc8fe.system.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-9318da32.entry.js +0 -1
- package/dist/taro-components/p-9e8619a6.system.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-b1c972e2.system.entry.js +0 -1
- package/dist/taro-components/p-b708e9fe.entry.js +0 -1
- package/dist/taro-components/p-badfb3be.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-c3d35ae5.entry.js +0 -1
- package/dist/taro-components/p-c4dd85b6.entry.js +0 -1
- package/dist/taro-components/p-c4fdb669.system.entry.js +0 -1
- package/dist/taro-components/p-c6385fc2.system.entry.js +0 -1
- package/dist/taro-components/p-c70dd956.system.entry.js +0 -1
- package/dist/taro-components/p-d42e41ff.entry.js +0 -1
- package/dist/taro-components/p-d5234e7e.js +0 -365
- package/dist/taro-components/p-d797cdc4.entry.js +0 -1
- package/dist/taro-components/p-dccf1ae9.entry.js +0 -1
- package/dist/taro-components/p-dfc405a5.entry.js +0 -1
- package/dist/taro-components/p-e2f2fbe5.entry.js +0 -1
- package/dist/taro-components/p-e3f8265d.system.entry.js +0 -1
- package/dist/taro-components/p-e753b776.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-ef7e7d73.system.entry.js +0 -1
- package/dist/taro-components/p-efcfdb97.entry.js +0 -1
- package/dist/taro-components/p-f671ed7d.entry.js +0 -1
- package/dist/taro-components/p-f9ac515e.system.entry.js +0 -1
- package/dist/taro-components/p-fa36fe8e.system.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,7 +2,9 @@
|
|
|
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
|
+
|
|
7
|
+
const indexCss = "taro-rich-text-core{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}taro-rich-text-core[selectable=true],taro-rich-text-core[user-select=true]{display:block;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}taro-rich-text-core[space]{white-space:pre-wrap}taro-rich-text-core[space=ensp]{word-spacing:0.5em}taro-rich-text-core[space=nbsp]{word-spacing:1em}";
|
|
6
8
|
|
|
7
9
|
const RichText = class {
|
|
8
10
|
constructor(hostRef) {
|
|
@@ -54,6 +56,9 @@ const RichText = class {
|
|
|
54
56
|
return null;
|
|
55
57
|
};
|
|
56
58
|
this.nodes = undefined;
|
|
59
|
+
this.selectable = false;
|
|
60
|
+
this.userSelect = false;
|
|
61
|
+
this.space = undefined;
|
|
57
62
|
}
|
|
58
63
|
render() {
|
|
59
64
|
const { nodes, renderNode } = this;
|
|
@@ -65,5 +70,6 @@ const RichText = class {
|
|
|
65
70
|
}
|
|
66
71
|
}
|
|
67
72
|
};
|
|
73
|
+
RichText.style = indexCss;
|
|
68
74
|
|
|
69
75
|
exports.taro_rich_text_core = RichText;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const helper = require('./helper-
|
|
5
|
+
const index = require('./index-e751dfe3.js');
|
|
6
|
+
const helper = require('./helper-ad6306f6.js');
|
|
7
7
|
require('@tarojs/taro');
|
|
8
8
|
|
|
9
9
|
const RootPortal = class {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const helper = require('./helper-
|
|
5
|
+
const index = require('./index-e751dfe3.js');
|
|
6
|
+
const helper = require('./helper-ad6306f6.js');
|
|
7
7
|
require('@tarojs/taro');
|
|
8
8
|
|
|
9
9
|
const RtcRoom = class {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const helper = require('./helper-
|
|
5
|
+
const index = require('./index-e751dfe3.js');
|
|
6
|
+
const helper = require('./helper-ad6306f6.js');
|
|
7
7
|
require('@tarojs/taro');
|
|
8
8
|
|
|
9
9
|
const RtcRoomItem = class {
|
|
@@ -2,9 +2,11 @@
|
|
|
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
|
+
const helper = require('./helper-ad6306f6.js');
|
|
9
|
+
require('@tarojs/taro');
|
|
8
10
|
|
|
9
11
|
const indexCss = "taro-scroll-view-core{display:block;width:100%;-webkit-overflow-scrolling:auto}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow-x:scroll;overflow-y:hidden}.taro-scroll-view__scroll-y{overflow-x:hidden;overflow-y:scroll}";
|
|
10
12
|
|
|
@@ -63,6 +65,7 @@ const ScrollView = class {
|
|
|
63
65
|
this.mpScrollTop = undefined;
|
|
64
66
|
this.mpScrollLeft = undefined;
|
|
65
67
|
this.mpScrollIntoView = undefined;
|
|
68
|
+
this.mpScrollIntoViewAlignment = undefined;
|
|
66
69
|
this.animated = false;
|
|
67
70
|
}
|
|
68
71
|
watchScrollLeft(newVal) {
|
|
@@ -97,6 +100,11 @@ const ScrollView = class {
|
|
|
97
100
|
scrollWidth
|
|
98
101
|
});
|
|
99
102
|
}
|
|
103
|
+
handleTouchMove(e) {
|
|
104
|
+
if (e instanceof CustomEvent)
|
|
105
|
+
return;
|
|
106
|
+
e.stopPropagation();
|
|
107
|
+
}
|
|
100
108
|
async mpScrollToMethod(object) {
|
|
101
109
|
let { top, left, duration, animated = false } = object;
|
|
102
110
|
if (this.scrollY && typeof top === 'number' && !isNaN(top) && top !== this._scrollTop) {
|
|
@@ -122,9 +130,9 @@ const ScrollView = class {
|
|
|
122
130
|
var _a;
|
|
123
131
|
if (typeof selector === 'string' && selector) {
|
|
124
132
|
(_a = document.querySelector(`#${selector}`)) === null || _a === void 0 ? void 0 : _a.scrollIntoView({
|
|
125
|
-
behavior: 'smooth',
|
|
126
|
-
block: 'center',
|
|
127
|
-
inline: 'start'
|
|
133
|
+
behavior: this.animated ? 'smooth' : 'auto',
|
|
134
|
+
block: this.scrollY ? (this.mpScrollIntoViewAlignment || 'center') : 'center',
|
|
135
|
+
inline: this.scrollX ? (this.mpScrollIntoViewAlignment || 'start') : 'start'
|
|
128
136
|
});
|
|
129
137
|
}
|
|
130
138
|
}
|
|
@@ -136,6 +144,9 @@ const ScrollView = class {
|
|
|
136
144
|
top, left, animated
|
|
137
145
|
});
|
|
138
146
|
}
|
|
147
|
+
componentDidRender() {
|
|
148
|
+
helper.handleStencilNodes(this.el);
|
|
149
|
+
}
|
|
139
150
|
render() {
|
|
140
151
|
const { scrollX, scrollY } = this;
|
|
141
152
|
const cls = index$2.classnames({
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const helper = require('./helper-
|
|
5
|
+
const index = require('./index-e751dfe3.js');
|
|
6
|
+
const helper = require('./helper-ad6306f6.js');
|
|
7
7
|
require('@tarojs/taro');
|
|
8
8
|
|
|
9
9
|
const ShareElement = class {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const helper = require('./helper-
|
|
5
|
+
const index = require('./index-e751dfe3.js');
|
|
6
|
+
const helper = require('./helper-ad6306f6.js');
|
|
7
7
|
require('@tarojs/taro');
|
|
8
8
|
|
|
9
9
|
const Slot = class {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e751dfe3.js');
|
|
6
|
+
const helper = require('./helper-ad6306f6.js');
|
|
7
|
+
require('@tarojs/taro');
|
|
8
|
+
|
|
9
|
+
const Snapshot = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
}
|
|
13
|
+
componentDidLoad() {
|
|
14
|
+
helper.notSupport('Snapshot', this);
|
|
15
|
+
}
|
|
16
|
+
render() {
|
|
17
|
+
return index.h(index.Host, null);
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
exports.taro_snapshot_core = Snapshot;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const helper = require('./helper-
|
|
5
|
+
const index = require('./index-e751dfe3.js');
|
|
6
|
+
const helper = require('./helper-ad6306f6.js');
|
|
7
7
|
require('@tarojs/taro');
|
|
8
8
|
|
|
9
9
|
const StickyHeader = class {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const helper = require('./helper-
|
|
5
|
+
const index = require('./index-e751dfe3.js');
|
|
6
|
+
const helper = require('./helper-ad6306f6.js');
|
|
7
7
|
require('@tarojs/taro');
|
|
8
8
|
|
|
9
9
|
const StickySection = class {
|
|
@@ -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
|
/**
|
|
@@ -9868,8 +9868,8 @@ const Swiper = class {
|
|
|
9868
9868
|
var _a, _b, _c;
|
|
9869
9869
|
((_a = this.observerFirst) === null || _a === void 0 ? void 0 : _a.disconnect) && this.observerFirst.disconnect();
|
|
9870
9870
|
((_b = this.observerLast) === null || _b === void 0 ? void 0 : _b.disconnect) && this.observerLast.disconnect();
|
|
9871
|
-
this.observerFirst = new MutationObserver(this.
|
|
9872
|
-
this.observerLast = new MutationObserver(this.
|
|
9871
|
+
this.observerFirst = new MutationObserver(this.handleSwiperLoopDebounce);
|
|
9872
|
+
this.observerLast = new MutationObserver(this.handleSwiperLoopDebounce);
|
|
9873
9873
|
const wrapper = (_c = this.swiper.$wrapperEl) === null || _c === void 0 ? void 0 : _c[0];
|
|
9874
9874
|
const list = wrapper.querySelectorAll('taro-swiper-item-core:not(.swiper-slide-duplicate)');
|
|
9875
9875
|
if (list.length >= 1) {
|
|
@@ -9883,22 +9883,23 @@ const Swiper = class {
|
|
|
9883
9883
|
});
|
|
9884
9884
|
}
|
|
9885
9885
|
};
|
|
9886
|
-
this.handleSwiperLoop =
|
|
9887
|
-
var _a;
|
|
9886
|
+
this.handleSwiperLoop = () => {
|
|
9887
|
+
var _a, _b, _c, _d;
|
|
9888
9888
|
if (!this.swiper || !this.circular)
|
|
9889
9889
|
return;
|
|
9890
9890
|
const swiper = this.swiper; // Note: loop 相关的方法 swiper 未声明
|
|
9891
9891
|
const duplicates = ((_a = this.swiperWrapper) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.swiper-slide-duplicate')) || [];
|
|
9892
9892
|
if (duplicates.length < 2) {
|
|
9893
9893
|
// Note: 循环模式下,但是前后垫片未注入
|
|
9894
|
-
swiper.loopDestroy();
|
|
9895
|
-
swiper.loopCreate();
|
|
9894
|
+
(_b = swiper.loopDestroy) === null || _b === void 0 ? void 0 : _b.call(swiper);
|
|
9895
|
+
(_c = swiper.loopCreate) === null || _c === void 0 ? void 0 : _c.call(swiper);
|
|
9896
9896
|
}
|
|
9897
9897
|
else {
|
|
9898
|
-
swiper.loopFix();
|
|
9898
|
+
(_d = swiper.loopFix) === null || _d === void 0 ? void 0 : _d.call(swiper);
|
|
9899
9899
|
}
|
|
9900
|
-
}
|
|
9901
|
-
this.
|
|
9900
|
+
};
|
|
9901
|
+
this.handleSwiperLoopDebounce = index$2.debounce(this.handleSwiperLoop, 50);
|
|
9902
|
+
this.handleSwiperSizeDebounce = index$2.debounce(() => {
|
|
9902
9903
|
if (this.swiper && !this.circular) {
|
|
9903
9904
|
this.swiper.updateSlides();
|
|
9904
9905
|
}
|
|
@@ -9989,8 +9990,9 @@ const Swiper = class {
|
|
|
9989
9990
|
this.el.removeChild = (oldChild) => {
|
|
9990
9991
|
return newVal.removeChild(oldChild);
|
|
9991
9992
|
};
|
|
9992
|
-
this.el.addEventListener('DOMNodeInserted', this.
|
|
9993
|
-
this.el.addEventListener('DOMNodeRemoved', this.
|
|
9993
|
+
this.el.addEventListener('DOMNodeInserted', this.handleSwiperSizeDebounce);
|
|
9994
|
+
this.el.addEventListener('DOMNodeRemoved', this.handleSwiperSizeDebounce);
|
|
9995
|
+
this.el.addEventListener('MutationObserver', this.handleSwiperSizeDebounce);
|
|
9994
9996
|
}
|
|
9995
9997
|
watchCircular() {
|
|
9996
9998
|
if (this.swiper) {
|
|
@@ -10032,8 +10034,9 @@ const Swiper = class {
|
|
|
10032
10034
|
}
|
|
10033
10035
|
disconnectedCallback() {
|
|
10034
10036
|
var _a, _b, _c, _d, _e, _f;
|
|
10035
|
-
this.el.removeEventListener('DOMNodeInserted', this.
|
|
10036
|
-
this.el.removeEventListener('DOMNodeRemoved', this.
|
|
10037
|
+
this.el.removeEventListener('DOMNodeInserted', this.handleSwiperSizeDebounce);
|
|
10038
|
+
this.el.removeEventListener('DOMNodeRemoved', this.handleSwiperSizeDebounce);
|
|
10039
|
+
this.el.removeEventListener('MutationObserver', this.handleSwiperSizeDebounce);
|
|
10037
10040
|
(_b = (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
10038
10041
|
(_d = (_c = this.observerFirst) === null || _c === void 0 ? void 0 : _c.disconnect) === null || _d === void 0 ? void 0 : _d.call(_c);
|
|
10039
10042
|
(_f = (_e = this.observerLast) === null || _e === void 0 ? void 0 : _e.disconnect) === null || _f === void 0 ? void 0 : _f.call(_e);
|
|
@@ -10147,35 +10150,41 @@ const Swiper = class {
|
|
|
10147
10150
|
};
|
|
10148
10151
|
Swiper.style = indexCss;
|
|
10149
10152
|
|
|
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);
|
|
10153
|
+
const nativeCloneNode = Node.prototype.cloneNode;
|
|
10154
|
+
function cloneNode(node, deep) {
|
|
10155
|
+
const clonedNode = nativeCloneNode.call(node, false);
|
|
10156
|
+
const srcChildNodes = childNodes(node);
|
|
10157
|
+
if (deep) {
|
|
10158
|
+
for (let i = 0; i < srcChildNodes.length; i++) {
|
|
10159
|
+
const srcNode = srcChildNodes[i];
|
|
10160
|
+
let srcDeep = deep;
|
|
10161
|
+
if (srcNode.nodeType !== 2 && srcNode.nodeType !== 8) {
|
|
10162
|
+
// Note: 没有引用节点(s-cr[reference comment])的情况下,不复制子节点避免冗余(例如:Image 组件)
|
|
10163
|
+
if (!srcNode['s-cr']) {
|
|
10164
|
+
srcDeep = false;
|
|
10165
|
+
}
|
|
10166
|
+
const childClone = cloneNode(srcNode, srcDeep);
|
|
10167
|
+
clonedNode.appendChild(childClone);
|
|
10170
10168
|
}
|
|
10171
|
-
break;
|
|
10172
10169
|
}
|
|
10173
|
-
|
|
10174
|
-
|
|
10175
|
-
|
|
10176
|
-
|
|
10170
|
+
}
|
|
10171
|
+
return clonedNode;
|
|
10172
|
+
}
|
|
10173
|
+
function childNodes(node) {
|
|
10174
|
+
const childNodes = node.childNodes;
|
|
10175
|
+
// check if element is stencil element without shadow dom
|
|
10176
|
+
// and then detect elements that were slotted into the element
|
|
10177
|
+
if (node['s-sc']) {
|
|
10178
|
+
const result = [];
|
|
10179
|
+
for (let i = 0; i < childNodes.length; i++) {
|
|
10180
|
+
const slot = childNodes[i]['s-nr'];
|
|
10181
|
+
if (slot) {
|
|
10182
|
+
result.push(slot);
|
|
10183
|
+
}
|
|
10177
10184
|
}
|
|
10185
|
+
return result;
|
|
10178
10186
|
}
|
|
10187
|
+
return Array.from(childNodes);
|
|
10179
10188
|
}
|
|
10180
10189
|
const SwiperItem = class {
|
|
10181
10190
|
constructor(hostRef) {
|
|
@@ -10183,16 +10192,9 @@ const SwiperItem = class {
|
|
|
10183
10192
|
this.itemId = undefined;
|
|
10184
10193
|
}
|
|
10185
10194
|
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
|
-
}
|
|
10195
|
+
this.el.cloneNode = (deep = false) => {
|
|
10196
|
+
return cloneNode.call(null, this.el, deep);
|
|
10197
|
+
};
|
|
10196
10198
|
}
|
|
10197
10199
|
render() {
|
|
10198
10200
|
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,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const helper = require('./helper-
|
|
5
|
+
const index = require('./index-e751dfe3.js');
|
|
6
|
+
const helper = require('./helper-ad6306f6.js');
|
|
7
7
|
require('@tarojs/taro');
|
|
8
8
|
|
|
9
9
|
const TabItem = class {
|
|
@@ -2,9 +2,10 @@
|
|
|
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
|
|
7
|
+
const utils = require('@tarojs/router/dist/utils');
|
|
8
|
+
const index = require('./index-f6805218.js');
|
|
8
9
|
const index$2 = require('./index-dfd8638f.js');
|
|
9
10
|
|
|
10
11
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -33,19 +34,6 @@ const splitUrl = _url => {
|
|
|
33
34
|
return res;
|
|
34
35
|
};
|
|
35
36
|
|
|
36
|
-
// export const removeLeadingSlash = (str = '') => str.replace(/^\.?\//, '')
|
|
37
|
-
// export const removeTrailingSearch = (str = '') => str.replace(/\?[\s\S]*$/, '')
|
|
38
|
-
const addLeadingSlash = (url = '') => (url.charAt(0) === '/' ? url : '/' + url);
|
|
39
|
-
const hasBasename = (path = '', prefix = '') => new RegExp('^' + prefix + '(\\/|\\?|#|$)', 'i').test(path) || path === prefix;
|
|
40
|
-
const stripBasename = (path = '', prefix = '') => hasBasename(path, prefix) ? path.substring(prefix.length) : path;
|
|
41
|
-
const stripSuffix = (path = '', suffix = '') => path.includes(suffix) ? path.substring(0, path.length - suffix.length) : path;
|
|
42
|
-
const getCurrentPage = (routerMode = 'hash', basename = '/') => {
|
|
43
|
-
const pagePath = routerMode === 'hash'
|
|
44
|
-
? location.hash.slice(1).split('?')[0]
|
|
45
|
-
: location.pathname;
|
|
46
|
-
return addLeadingSlash(stripBasename(pagePath, basename));
|
|
47
|
-
};
|
|
48
|
-
|
|
49
37
|
function isAbsolute(pathname) {
|
|
50
38
|
return pathname.charAt(0) === '/';
|
|
51
39
|
}
|
|
@@ -149,7 +137,7 @@ const TabbarItem = ({ index: index$3, isSelected = false, textColor, iconPath, b
|
|
|
149
137
|
index$1.h("p", { class: 'weui-tabbar__label', style: { color: textColor } }, text)));
|
|
150
138
|
};
|
|
151
139
|
|
|
152
|
-
const indexCss = "html,body{height:100%}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column;height:100%}.taro-tabbar__panel{overflow:auto;position:relative;-ms-flex:1;flex:1;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;width:100%;height:
|
|
140
|
+
const indexCss = "html,body{height:100%}:root{--taro-tabbar-height:50px}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column;height:100%}.taro-tabbar__panel{overflow:auto;position:relative;-ms-flex:1;flex:1;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;width:100%;height:var(--taro-tabbar-height);-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";
|
|
153
141
|
|
|
154
142
|
const STATUS_SHOW = 0;
|
|
155
143
|
const STATUS_HIDE = 1;
|
|
@@ -170,7 +158,7 @@ const Tabbar = class {
|
|
|
170
158
|
const pathB = splitUrl(url).path;
|
|
171
159
|
return pathA === pathB;
|
|
172
160
|
});
|
|
173
|
-
return stripSuffix(customRoute.length ? customRoute[0][0] : url, '.html');
|
|
161
|
+
return utils.stripSuffix(customRoute.length ? customRoute[0][0] : url, '.html');
|
|
174
162
|
};
|
|
175
163
|
this.getSelectedIndex = (url) => {
|
|
176
164
|
let foundIndex = -1;
|
|
@@ -211,7 +199,7 @@ const Tabbar = class {
|
|
|
211
199
|
let currentPage;
|
|
212
200
|
if (typeof to === 'string') {
|
|
213
201
|
const routerBasename = this.conf.basename || '/';
|
|
214
|
-
currentPage = stripBasename(addLeadingSlash(to || this.homePage), routerBasename) || '/';
|
|
202
|
+
currentPage = utils.stripBasename(utils.addLeadingSlash(to || this.homePage), routerBasename) || '/';
|
|
215
203
|
}
|
|
216
204
|
else {
|
|
217
205
|
currentPage = this.getCurrentUrl();
|
|
@@ -344,15 +332,15 @@ const Tabbar = class {
|
|
|
344
332
|
list.length > 5) {
|
|
345
333
|
throw new Error('tabBar 配置错误');
|
|
346
334
|
}
|
|
347
|
-
this.homePage = addLeadingSlash(this.conf.homePage);
|
|
335
|
+
this.homePage = utils.addLeadingSlash(this.conf.homePage);
|
|
348
336
|
for (let key in customRoutes) {
|
|
349
337
|
const path = customRoutes[key];
|
|
350
|
-
key = addLeadingSlash(key);
|
|
338
|
+
key = utils.addLeadingSlash(key);
|
|
351
339
|
if (typeof path === 'string') {
|
|
352
|
-
this.customRoutes.push([key, addLeadingSlash(path)]);
|
|
340
|
+
this.customRoutes.push([key, utils.addLeadingSlash(path)]);
|
|
353
341
|
}
|
|
354
342
|
else if ((path === null || path === void 0 ? void 0 : path.length) > 0) {
|
|
355
|
-
this.customRoutes.push(...path.map(p => [key, addLeadingSlash(p)]));
|
|
343
|
+
this.customRoutes.push(...path.map(p => [key, utils.addLeadingSlash(p)]));
|
|
356
344
|
}
|
|
357
345
|
}
|
|
358
346
|
list.forEach(item => {
|
|
@@ -367,7 +355,7 @@ const Tabbar = class {
|
|
|
367
355
|
this.selectedColor = this.conf.selectedColor;
|
|
368
356
|
}
|
|
369
357
|
getCurrentUrl() {
|
|
370
|
-
const routePath = getCurrentPage(this.conf.mode, this.conf.basename);
|
|
358
|
+
const routePath = utils.getCurrentPage(this.conf.mode, this.conf.basename);
|
|
371
359
|
return decodeURI(routePath === '/' ? this.homePage : routePath);
|
|
372
360
|
}
|
|
373
361
|
bindEvent() {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const helper = require('./helper-
|
|
5
|
+
const index = require('./index-e751dfe3.js');
|
|
6
|
+
const helper = require('./helper-ad6306f6.js');
|
|
7
7
|
require('@tarojs/taro');
|
|
8
8
|
|
|
9
9
|
const Tabs = class {
|
|
@@ -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 = {};
|