@tarojs/components 3.5.0-alpha.14 → 3.5.0-alpha.17
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/{index-cd258c8b.js → index-13289aba.js} +0 -0
- package/dist/cjs/{index-dffbd352.js → index-f9d21cc5.js} +0 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-canvas-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-components.cjs.js +1 -1
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-image-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-input-core.cjs.entry.js +9 -2
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-movable-area-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-movable-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-view-core.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 +11 -7
- 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-scroll-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +11 -6
- package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tabbar.cjs.entry.js +10 -9
- package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-textarea-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-video-control_3.cjs.entry.js +21 -15
- package/dist/cjs/taro-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
- package/dist/collection/components/input/input.js +9 -0
- package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +9 -5
- package/dist/collection/components/rich-text/rich-text.js +1 -1
- package/dist/collection/components/swiper/style/index.css +21 -9
- package/dist/collection/components/swiper/swiper.js +8 -3
- package/dist/collection/components/tabbar/tabbar.js +2 -7
- package/dist/collection/components/video/style/index.css +0 -1
- package/dist/collection/components/video/utils.js +6 -7
- package/dist/collection/components/video/video-control.js +3 -3
- package/dist/collection/components/video/video.js +10 -3
- package/dist/esm/{index-cd1a2d33.js → index-1d8e8acd.js} +0 -0
- package/dist/esm/{index-1d67274c.js → index-26d8b479.js} +0 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/taro-ad-core.entry.js +1 -1
- package/dist/esm/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm/taro-audio-core.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/taro-canvas-core.entry.js +1 -1
- package/dist/esm/taro-checkbox-core_2.entry.js +1 -1
- package/dist/esm/taro-components.js +1 -1
- package/dist/esm/taro-cover-image-core.entry.js +1 -1
- package/dist/esm/taro-cover-view-core.entry.js +2 -2
- package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm/taro-editor-core.entry.js +1 -1
- package/dist/esm/taro-form-core.entry.js +1 -1
- package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm/taro-icon-core.entry.js +2 -2
- package/dist/esm/taro-image-core.entry.js +2 -2
- package/dist/esm/taro-input-core.entry.js +9 -2
- package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm/taro-label-core.entry.js +1 -1
- package/dist/esm/taro-live-player-core.entry.js +1 -1
- package/dist/esm/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm/taro-map-core.entry.js +1 -1
- package/dist/esm/taro-match-media-core.entry.js +1 -1
- package/dist/esm/taro-movable-area-core.entry.js +1 -1
- package/dist/esm/taro-movable-view-core.entry.js +1 -1
- package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm/taro-navigator-core.entry.js +2 -2
- package/dist/esm/taro-official-account-core.entry.js +1 -1
- package/dist/esm/taro-open-data-core.entry.js +1 -1
- package/dist/esm/taro-page-container-core.entry.js +1 -1
- package/dist/esm/taro-page-meta-core.entry.js +1 -1
- package/dist/esm/taro-picker-core_2.entry.js +2 -2
- package/dist/esm/taro-picker-view-column-core.entry.js +1 -1
- package/dist/esm/taro-picker-view-core.entry.js +2 -2
- package/dist/esm/taro-progress-core.entry.js +1 -1
- package/dist/esm/taro-pull-to-refresh.entry.js +11 -7
- 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-scroll-view-core.entry.js +2 -2
- package/dist/esm/taro-share-element-core.entry.js +1 -1
- package/dist/esm/taro-slider-core.entry.js +1 -1
- package/dist/esm/taro-slot-core.entry.js +1 -1
- package/dist/esm/taro-swiper-core_2.entry.js +11 -6
- package/dist/esm/taro-switch-core.entry.js +1 -1
- package/dist/esm/taro-tabbar.entry.js +10 -9
- package/dist/esm/taro-text-core.entry.js +2 -2
- package/dist/esm/taro-textarea-core.entry.js +1 -1
- package/dist/esm/taro-video-control_3.entry.js +21 -15
- package/dist/esm/taro-view-core.entry.js +2 -2
- package/dist/esm/taro-voip-room-core.entry.js +1 -1
- package/dist/esm/taro-web-view-core.entry.js +1 -1
- package/dist/esm-es5/{index-cd1a2d33.js → index-1d8e8acd.js} +0 -0
- package/dist/esm-es5/{index-1d67274c.js → index-26d8b479.js} +0 -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-audio-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-checkbox-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-components.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-form-core.entry.js +1 -1
- package/dist/esm-es5/taro-functional-page-navigator-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-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-live-player-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-pusher-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.entry.js +1 -1
- package/dist/esm-es5/taro-movable-view-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.entry.js +1 -1
- package/dist/esm-es5/taro-picker-view-core.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-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-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-switch-core.entry.js +1 -1
- package/dist/esm-es5/taro-tabbar.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 +55 -55
- 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-5656b308.system.entry.js → p-019591c8.system.entry.js} +1 -1
- package/dist/taro-components/{p-55646f03.entry.js → p-060858b1.entry.js} +1 -1
- package/dist/taro-components/{p-4a0599c1.system.entry.js → p-06e3d685.system.entry.js} +1 -1
- package/dist/taro-components/p-0996daee.entry.js +1 -0
- package/dist/taro-components/{p-13d03572.entry.js → p-0ca42006.entry.js} +1 -1
- package/dist/taro-components/{p-7f8ddefe.entry.js → p-0d0b3677.entry.js} +1 -1
- package/dist/taro-components/{p-221bffa0.system.entry.js → p-0d1e0e91.system.entry.js} +1 -1
- package/dist/taro-components/{p-6946f166.system.entry.js → p-0ea13d67.system.entry.js} +1 -1
- package/dist/taro-components/{p-7419e765.entry.js → p-0f42b8a4.entry.js} +1 -1
- package/dist/taro-components/{p-45b92229.system.entry.js → p-12deba0b.system.entry.js} +1 -1
- package/dist/taro-components/p-133e3ac4.entry.js +1 -0
- package/dist/taro-components/{p-884e6eab.entry.js → p-16aff829.entry.js} +1 -1
- package/dist/taro-components/{p-e6ec7abc.entry.js → p-16c1e564.entry.js} +1 -1
- package/dist/taro-components/{p-2c4dea36.system.entry.js → p-178a3adf.system.entry.js} +1 -1
- package/dist/taro-components/{p-7f2d456b.system.entry.js → p-1e0406ec.system.entry.js} +1 -1
- package/dist/taro-components/p-1e516bd0.entry.js +1 -0
- package/dist/taro-components/{p-a2fd3c03.system.js → p-2241b671.system.js} +1 -1
- package/dist/taro-components/p-26e9ce75.entry.js +1 -0
- package/dist/taro-components/{p-52cbf36e.system.entry.js → p-2887213d.system.entry.js} +1 -1
- package/dist/taro-components/{p-88ee404a.system.entry.js → p-29b7c721.system.entry.js} +1 -1
- package/dist/taro-components/p-29bb3ebe.entry.js +1 -0
- package/dist/taro-components/{p-4cb60cf0.system.entry.js → p-2bd2ea9a.system.entry.js} +1 -1
- package/dist/taro-components/{p-f675e927.system.entry.js → p-2e8a1479.system.entry.js} +1 -1
- package/dist/taro-components/{p-546f5965.system.entry.js → p-36f2c1e1.system.entry.js} +1 -1
- package/dist/taro-components/{p-1398c59d.system.entry.js → p-372f53d8.system.entry.js} +1 -1
- package/dist/taro-components/{p-efc892d1.system.entry.js → p-3b801a38.system.entry.js} +1 -1
- package/dist/taro-components/{p-2afb4d49.system.entry.js → p-3b85bb4b.system.entry.js} +1 -1
- package/dist/taro-components/p-3bb72c08.entry.js +1 -0
- package/dist/taro-components/{p-e56a303b.entry.js → p-3d3cd72f.entry.js} +1 -1
- package/dist/taro-components/{p-8e0529f2.system.entry.js → p-3e223f2f.system.entry.js} +1 -1
- package/dist/taro-components/p-430d72e8.entry.js +1 -0
- package/dist/taro-components/{p-de95c6ac.system.entry.js → p-4339ad63.system.entry.js} +1 -1
- package/dist/taro-components/{p-34d60fc8.entry.js → p-44a199e4.entry.js} +1 -1
- package/dist/taro-components/{p-b455351e.entry.js → p-45e6f8be.entry.js} +1 -1
- package/dist/taro-components/p-46b7f84e.entry.js +1 -0
- package/dist/taro-components/{p-5e48f1b4.system.entry.js → p-4793e6ba.system.entry.js} +1 -1
- package/dist/taro-components/{p-14b26b5f.system.entry.js → p-49954245.system.entry.js} +1 -1
- package/dist/taro-components/{p-c1642977.entry.js → p-4c890c5d.entry.js} +1 -1
- package/dist/taro-components/{p-1e44fcfd.entry.js → p-53244eac.entry.js} +1 -1
- package/dist/taro-components/{p-24cc05ea.system.entry.js → p-5c2497a4.system.entry.js} +1 -1
- package/dist/taro-components/{p-ba984b34.system.entry.js → p-5ff0e954.system.entry.js} +1 -1
- package/dist/taro-components/{p-5f4d0d5b.system.js → p-61f225ef.system.js} +0 -0
- package/dist/taro-components/{p-deef9af1.system.entry.js → p-62608b28.system.entry.js} +1 -1
- package/dist/taro-components/p-62c64770.entry.js +1 -0
- package/dist/taro-components/{p-37ac3d2b.system.entry.js → p-66b1d5f9.system.entry.js} +1 -1
- package/dist/taro-components/p-671defcd.entry.js +1 -0
- package/dist/taro-components/p-69334f7c.entry.js +1 -0
- package/dist/taro-components/p-6f2f468b.entry.js +1 -0
- package/dist/taro-components/p-70313eed.entry.js +1 -0
- package/dist/taro-components/{p-f425f3b5.entry.js → p-74013ace.entry.js} +1 -1
- package/dist/taro-components/{p-79495606.system.entry.js → p-756d56d1.system.entry.js} +1 -1
- package/dist/taro-components/{p-9f23c9e1.system.entry.js → p-75811f84.system.entry.js} +1 -1
- package/dist/taro-components/{p-7e5d2d7a.js → p-76724e58.js} +0 -0
- package/dist/taro-components/{p-acfcb861.system.entry.js → p-78676120.system.entry.js} +1 -1
- package/dist/taro-components/p-7b2049b7.entry.js +1 -0
- package/dist/taro-components/{p-0afc53da.entry.js → p-7dc268ee.entry.js} +1 -1
- package/dist/taro-components/{p-17b78ad7.entry.js → p-7f7aa688.entry.js} +1 -1
- package/dist/taro-components/p-80abb865.entry.js +1 -0
- package/dist/taro-components/{p-8a2b7701.entry.js → p-81976128.entry.js} +1 -1
- package/dist/taro-components/{p-f5377a15.entry.js → p-81dc5b7b.entry.js} +1 -1
- package/dist/taro-components/{p-e5486e8c.system.entry.js → p-828efe43.system.entry.js} +1 -1
- package/dist/taro-components/{p-ed69dc55.system.entry.js → p-831ebd02.system.entry.js} +1 -1
- package/dist/taro-components/{p-1fbf755f.entry.js → p-832cc63a.entry.js} +1 -1
- package/dist/taro-components/{p-44996bd6.system.js → p-83adb645.system.js} +0 -0
- package/dist/taro-components/{p-64f6f87c.system.entry.js → p-841a2031.system.entry.js} +2 -2
- package/dist/taro-components/{p-085c4322.entry.js → p-86205110.entry.js} +1 -1
- package/dist/taro-components/p-88063d40.system.entry.js +1 -0
- package/dist/taro-components/{p-899c6b73.system.entry.js → p-8b23a081.system.entry.js} +1 -1
- package/dist/taro-components/{p-90f11b84.system.entry.js → p-8b30e18c.system.entry.js} +1 -1
- package/dist/taro-components/{p-f0c5c933.system.entry.js → p-8ba35b31.system.entry.js} +1 -1
- package/dist/taro-components/p-8ead6b19.entry.js +1 -0
- package/dist/taro-components/{p-45574a38.system.entry.js → p-8f466248.system.entry.js} +1 -1
- package/dist/taro-components/{p-176374d6.system.entry.js → p-9130dfca.system.entry.js} +1 -1
- package/dist/taro-components/{p-aca73ca4.entry.js → p-9151ef65.entry.js} +1 -1
- package/dist/taro-components/p-95e51d62.entry.js +1 -0
- package/dist/taro-components/p-9961074d.entry.js +1 -0
- package/dist/taro-components/{p-617f5e2a.system.entry.js → p-9b90554b.system.entry.js} +1 -1
- package/dist/taro-components/{p-cde242bb.system.entry.js → p-9ce624a4.system.entry.js} +1 -1
- package/dist/taro-components/{p-96706c5c.system.entry.js → p-a36bfe97.system.entry.js} +1 -1
- package/dist/taro-components/{p-8c7cf814.js → p-a4721ae0.js} +0 -0
- package/dist/taro-components/{p-58cbfd17.entry.js → p-a74f4c26.entry.js} +1 -1
- package/dist/taro-components/{p-8cdc809b.system.entry.js → p-a838e0f7.system.entry.js} +1 -1
- package/dist/taro-components/p-a900b437.system.entry.js +1 -0
- package/dist/taro-components/{p-7df1437d.system.entry.js → p-a90bfe9d.system.entry.js} +1 -1
- package/dist/taro-components/{p-ff792cf7.system.entry.js → p-a9ab6434.system.entry.js} +1 -1
- package/dist/taro-components/{p-a9c3e575.entry.js → p-abb9c7d0.entry.js} +1 -1
- package/dist/taro-components/{p-3efae2a3.system.entry.js → p-ac398961.system.entry.js} +1 -1
- package/dist/taro-components/{p-7d457a6a.entry.js → p-ac56ffed.entry.js} +1 -1
- package/dist/taro-components/{p-6e12bd70.system.entry.js → p-baa5019a.system.entry.js} +1 -1
- package/dist/taro-components/{p-8ea9ceb6.system.entry.js → p-c1458fbe.system.entry.js} +1 -1
- package/dist/taro-components/p-c9b73495.entry.js +1 -0
- package/dist/taro-components/{p-13359eb6.system.entry.js → p-ca7ad427.system.entry.js} +1 -1
- package/dist/taro-components/p-ce0489a6.entry.js +1 -0
- package/dist/taro-components/{p-880791ee.entry.js → p-ce46f79d.entry.js} +1 -1
- package/dist/taro-components/{p-3b067d1f.entry.js → p-cfebd931.entry.js} +1 -1
- package/dist/taro-components/{p-de726095.entry.js → p-d2b6b891.entry.js} +1 -1
- package/dist/taro-components/{p-b7128eac.system.entry.js → p-d56c45bf.system.entry.js} +1 -1
- package/dist/taro-components/{p-06352f55.entry.js → p-d636e22e.entry.js} +1 -1
- package/dist/taro-components/{p-ee1ffbb0.entry.js → p-d6c8f31d.entry.js} +1 -1
- package/dist/taro-components/{p-bb3d337d.entry.js → p-d7e13592.entry.js} +2 -2
- package/dist/taro-components/{p-9c0f3f24.system.entry.js → p-de573939.system.entry.js} +1 -1
- package/dist/taro-components/{p-88e3bc92.entry.js → p-e01af6c8.entry.js} +1 -1
- package/dist/taro-components/{p-e5fdbc1c.entry.js → p-e7dcb4d5.entry.js} +1 -1
- package/dist/taro-components/{p-ac4c4975.system.entry.js → p-ec59899b.system.entry.js} +1 -1
- package/dist/taro-components/{p-81e33437.system.entry.js → p-f1da4ed7.system.entry.js} +1 -1
- package/dist/taro-components/{p-92f26e22.entry.js → p-fc226017.entry.js} +1 -1
- package/dist/taro-components/{p-acb07924.system.entry.js → p-fe252a81.system.entry.js} +1 -1
- package/dist/taro-components/taro-components.css +1 -1
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/taro-components/taro-components.js +1 -1
- package/dist/types/components/input/input.d.ts +1 -0
- package/dist/types/components/video/utils.d.ts +1 -3
- package/dist/types/components/video/video-control.d.ts +1 -1
- package/dist-h5/react/utils/reactify-wc.js +5 -2
- package/dist-h5/vue/createComponent.js +1 -0
- package/dist-h5/vue/createFormsComponent.js +1 -1
- package/package.json +18 -13
- package/types/Ad.d.ts +6 -6
- package/types/Button.d.ts +13 -13
- package/types/Camera.d.ts +10 -10
- package/types/Canvas.d.ts +1 -1
- package/types/Checkbox.d.ts +4 -4
- package/types/CheckboxGroup.d.ts +3 -3
- package/types/Form.d.ts +2 -2
- package/types/Input.d.ts +19 -19
- package/types/LivePlayer.d.ts +8 -8
- package/types/Map.d.ts +28 -28
- package/types/MovableArea.d.ts +1 -1
- package/types/MovableView.d.ts +18 -18
- package/types/OpenData.d.ts +6 -6
- package/types/PageContainer.d.ts +14 -14
- package/types/Radio.d.ts +5 -5
- package/types/RadioGroup.d.ts +2 -2
- package/types/RichText.d.ts +6 -1
- package/types/RootPortal.d.ts +32 -0
- package/types/ScrollView.d.ts +3 -3
- package/types/Swiper.d.ts +5 -5
- package/types/Switch.d.ts +2 -2
- package/types/Textarea.d.ts +21 -21
- package/types/Video.d.ts +13 -13
- package/types/View.d.ts +2 -2
- package/types/WebView.d.ts +5 -5
- package/dist/taro-components/p-087d704b.entry.js +0 -1
- package/dist/taro-components/p-14484d41.entry.js +0 -1
- package/dist/taro-components/p-3e1e4626.entry.js +0 -1
- package/dist/taro-components/p-3e7aced1.entry.js +0 -1
- package/dist/taro-components/p-49df1b65.system.entry.js +0 -1
- package/dist/taro-components/p-549636ca.entry.js +0 -1
- package/dist/taro-components/p-615b87e8.entry.js +0 -1
- package/dist/taro-components/p-68246408.entry.js +0 -1
- package/dist/taro-components/p-7f726d39.entry.js +0 -1
- package/dist/taro-components/p-8c6d8802.entry.js +0 -1
- package/dist/taro-components/p-8ca394d6.entry.js +0 -1
- package/dist/taro-components/p-917185f3.entry.js +0 -1
- package/dist/taro-components/p-97af3986.system.entry.js +0 -1
- package/dist/taro-components/p-9ff180ae.entry.js +0 -1
- package/dist/taro-components/p-b31e6cf0.entry.js +0 -1
- package/dist/taro-components/p-b640bd56.entry.js +0 -1
- package/dist/taro-components/p-c0875abf.entry.js +0 -1
- package/dist/taro-components/p-c33b552b.entry.js +0 -1
- package/dist/taro-components/p-c6d14c2b.entry.js +0 -1
- package/dist/taro-components/p-c995a3aa.entry.js +0 -1
- package/dist/taro-components/p-fc28dbdd.entry.js +0 -1
- package/dist/taro-components/p-fee2ad82.entry.js +0 -1
|
@@ -197,7 +197,7 @@ export class Swiper {
|
|
|
197
197
|
(_f = (_e = this.observerLast) === null || _e === void 0 ? void 0 : _e.disconnect) === null || _f === void 0 ? void 0 : _f.call(_e);
|
|
198
198
|
}
|
|
199
199
|
handleInit() {
|
|
200
|
-
const { autoplay, current,
|
|
200
|
+
const { autoplay, circular, current, displayMultipleItems, duration, interval, vertical } = this;
|
|
201
201
|
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
|
202
202
|
const that = this;
|
|
203
203
|
const options = {
|
|
@@ -215,7 +215,7 @@ export class Swiper {
|
|
|
215
215
|
},
|
|
216
216
|
// slideChange 事件在 swiper.slideTo 改写 current 时不触发,因此用 slideChangeTransitionEnd 事件代替
|
|
217
217
|
slideChangeTransitionEnd(_swiper) {
|
|
218
|
-
if (circular) {
|
|
218
|
+
if (that.circular) {
|
|
219
219
|
if (_swiper.isBeginning || _swiper.isEnd) {
|
|
220
220
|
_swiper.slideToLoop(this.realIndex, 0); // 更新下标
|
|
221
221
|
return;
|
|
@@ -237,7 +237,12 @@ export class Swiper {
|
|
|
237
237
|
const className = target && typeof target.className === 'string' ? target.className : '';
|
|
238
238
|
if (className.includes('taro_page') && target.style.display !== 'none') {
|
|
239
239
|
if (that.autoplay && target.contains(_swiper.$el[0])) {
|
|
240
|
-
|
|
240
|
+
if (that.circular) {
|
|
241
|
+
_swiper.slideToLoop(this.realIndex, 0); // 更新下标
|
|
242
|
+
}
|
|
243
|
+
else {
|
|
244
|
+
_swiper.slideTo(this.realIndex);
|
|
245
|
+
}
|
|
241
246
|
}
|
|
242
247
|
}
|
|
243
248
|
}
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import { Component, Prop, h, Host, State, Event, Element } from '@stencil/core';
|
|
2
2
|
import Taro from '@tarojs/taro';
|
|
3
|
+
import { addLeadingSlash, stripBasename, stripSuffix } from '@tarojs/router/dist/utils';
|
|
3
4
|
import classNames from 'classnames';
|
|
4
5
|
import resolvePathname from 'resolve-pathname';
|
|
5
6
|
import { splitUrl } from '../../utils';
|
|
6
7
|
import { TabbarItem } from './tabbar-item';
|
|
7
|
-
// const removeLeadingSlash = str => str.replace(/^\.?\//, '')
|
|
8
|
-
// const removeTrailingSearch = str => str.replace(/\?[\s\S]*$/, '')
|
|
9
|
-
const addLeadingSlash = (str = '') => str[0] === '/' ? str : `/${str}`;
|
|
10
|
-
const hasBasename = (path = '', prefix = '') => new RegExp('^' + prefix + '(\\/|\\?|#|$)', 'i').test(path);
|
|
11
|
-
const stripBasename = (path = '', prefix = '') => hasBasename(path, prefix) ? path.substr(prefix.length) : path;
|
|
12
|
-
const stripSuffix = (path = '', suffix = '') => path.includes(suffix) ? path.substring(0, path.length - suffix.length) : path;
|
|
13
8
|
const STATUS_SHOW = 0;
|
|
14
9
|
const STATUS_HIDE = 1;
|
|
15
10
|
const STATUS_SLIDEOUT = 2;
|
|
@@ -70,7 +65,7 @@ export class Tabbar {
|
|
|
70
65
|
let currentPage;
|
|
71
66
|
if (typeof to === 'string') {
|
|
72
67
|
const routerBasename = this.conf.basename || '/';
|
|
73
|
-
currentPage = stripBasename(addLeadingSlash(to || this.homePage), routerBasename);
|
|
68
|
+
currentPage = stripBasename(addLeadingSlash(to || this.homePage), routerBasename) || '/';
|
|
74
69
|
}
|
|
75
70
|
else {
|
|
76
71
|
currentPage = this.getCurrentUrl();
|
|
@@ -11,9 +11,7 @@ export const calcDist = (x, y) => {
|
|
|
11
11
|
export const normalizeNumber = (number) => {
|
|
12
12
|
return Math.max(-1, Math.min(number, 1));
|
|
13
13
|
};
|
|
14
|
-
|
|
15
|
-
* @returns: {requestFullscreen: 'requestFullscreen', exitFullscreen: 'exitFullscreen', ...}
|
|
16
|
-
*/
|
|
14
|
+
export let scene = 'default';
|
|
17
15
|
export const screenFn = (function () {
|
|
18
16
|
let val;
|
|
19
17
|
const fnMap = [
|
|
@@ -63,10 +61,10 @@ export const screenFn = (function () {
|
|
|
63
61
|
var defaultIOSMap = [
|
|
64
62
|
'webkitEnterFullscreen',
|
|
65
63
|
'webkitExitFullscreen',
|
|
66
|
-
'
|
|
67
|
-
'
|
|
68
|
-
'
|
|
69
|
-
'
|
|
64
|
+
'webkitCurrentFullScreenElement',
|
|
65
|
+
'webkitSupportsFullscreen',
|
|
66
|
+
'fullscreenchange',
|
|
67
|
+
'fullscreenerror'
|
|
70
68
|
];
|
|
71
69
|
let i = 0;
|
|
72
70
|
const l = fnMap.length;
|
|
@@ -82,6 +80,7 @@ export const screenFn = (function () {
|
|
|
82
80
|
}
|
|
83
81
|
}
|
|
84
82
|
if (!ret[fnMap[0][0]]) {
|
|
83
|
+
scene = 'iOS';
|
|
85
84
|
// when there is no any APIs be set.
|
|
86
85
|
// In IOS, there is no 'webkitEnterFullscreen' property `in document` but video can use it for fullscreen.
|
|
87
86
|
// ref: https://developer.apple.com/documentation/webkitjs/htmlvideoelement/1633500-webkitenterfullscreen
|
|
@@ -68,10 +68,10 @@ export class VideoControl {
|
|
|
68
68
|
this.toggleVisibility(false);
|
|
69
69
|
}, 2000);
|
|
70
70
|
}
|
|
71
|
-
this.
|
|
71
|
+
this.el.style.visibility = 'visible';
|
|
72
72
|
}
|
|
73
73
|
else {
|
|
74
|
-
this.
|
|
74
|
+
this.el.style.visibility = 'hidden';
|
|
75
75
|
}
|
|
76
76
|
this.visible = !!visible;
|
|
77
77
|
});
|
|
@@ -344,7 +344,7 @@ export class VideoControl {
|
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}; }
|
|
347
|
-
static get elementRef() { return "
|
|
347
|
+
static get elementRef() { return "el"; }
|
|
348
348
|
static get listeners() { return [{
|
|
349
349
|
"name": "touchmove",
|
|
350
350
|
"method": "onDocumentTouchMove",
|
|
@@ -12,7 +12,7 @@ import { Component, h, Prop, State, Event, Host, Watch, Listen, Element, Method
|
|
|
12
12
|
import classNames from 'classnames';
|
|
13
13
|
import Hls from 'hls.js';
|
|
14
14
|
import { throttle } from '../../utils';
|
|
15
|
-
import { formatTime, calcDist, normalizeNumber, screenFn, isHls } from './utils';
|
|
15
|
+
import { formatTime, calcDist, normalizeNumber, screenFn, isHls, scene } from './utils';
|
|
16
16
|
export class Video {
|
|
17
17
|
constructor() {
|
|
18
18
|
this.currentTime = 0;
|
|
@@ -262,7 +262,7 @@ export class Video {
|
|
|
262
262
|
}
|
|
263
263
|
};
|
|
264
264
|
this.toggleFullScreen = (isFullScreen = !this.isFullScreen) => {
|
|
265
|
-
this.isFullScreen = isFullScreen;
|
|
265
|
+
this.isFullScreen = isFullScreen; // this.videoRef?.['webkitDisplayingFullscreen']
|
|
266
266
|
this.controlsRef.toggleVisibility(true);
|
|
267
267
|
this.fullScreenTimestamp = new Date().getTime();
|
|
268
268
|
this.onFullScreenChange.emit({
|
|
@@ -271,7 +271,7 @@ export class Video {
|
|
|
271
271
|
});
|
|
272
272
|
if (this.isFullScreen && !document[screenFn.fullscreenElement]) {
|
|
273
273
|
setTimeout(() => {
|
|
274
|
-
this.videoRef[screenFn.requestFullscreen]({ navigationUI: '
|
|
274
|
+
this.videoRef[screenFn.requestFullscreen]({ navigationUI: 'auto' });
|
|
275
275
|
}, 0);
|
|
276
276
|
}
|
|
277
277
|
};
|
|
@@ -300,6 +300,10 @@ export class Video {
|
|
|
300
300
|
if (document.addEventListener) {
|
|
301
301
|
document.addEventListener(screenFn.fullscreenchange, this.handleFullScreenChange);
|
|
302
302
|
}
|
|
303
|
+
if (this.videoRef && scene === 'iOS') {
|
|
304
|
+
// NOTE: iOS 场景下 fullscreenchange 并不会在退出全屏状态下触发,仅 webkitpresentationmodechanged 与 webkitendfullscreen 可替代
|
|
305
|
+
this.videoRef.addEventListener('webkitendfullscreen', this.handleFullScreenChange);
|
|
306
|
+
}
|
|
303
307
|
}
|
|
304
308
|
componentDidRender() {
|
|
305
309
|
}
|
|
@@ -307,6 +311,9 @@ export class Video {
|
|
|
307
311
|
if (document.removeEventListener) {
|
|
308
312
|
document.removeEventListener(screenFn.fullscreenchange, this.handleFullScreenChange);
|
|
309
313
|
}
|
|
314
|
+
if (this.videoRef && scene === 'iOS') {
|
|
315
|
+
this.videoRef.removeEventListener('webkitendfullscreen', this.handleFullScreenChange);
|
|
316
|
+
}
|
|
310
317
|
}
|
|
311
318
|
watchEnableDanmu(newVal) {
|
|
312
319
|
this._enableDanmu = newVal;
|
|
File without changes
|
|
File without changes
|
package/dist/esm/loader.js
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { c as classnames } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-26d8b479.js';
|
|
2
|
+
import { c as classnames } from './index-1d8e8acd.js';
|
|
3
3
|
|
|
4
4
|
const indexCss = "taro-button-core{display:block;overflow:hidden;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;border-width:0;border-radius:5px;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#f8f8f8;line-height:2.55555556;text-decoration:none;text-align:center;font-size:18px;color:#000;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core::after{position:absolute;left:0;top:0;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid rgba(0, 0, 0, 0.2);border-radius:10px;width:200%;height:200%;content:\" \";-webkit-transform:scale(0.5);transform:scale(0.5);-webkit-transform-origin:0 0;transform-origin:0 0}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{background-color:#f8f8f8;color:#000}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core[size=mini]{display:inline-block;padding:0 1.32em;width:auto;line-height:2.3;font-size:13px}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{border-width:1px;background-color:transparent}taro-button-core[disabled]{color:rgba(255, 255, 255, 0.6)}taro-button-core[disabled][type=default]{background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-0.2em 0.34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255, 255, 255, 0.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{border:1px solid #1aad19;color:#1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{border-color:rgba(26, 173, 25, 0.6);background-color:transparent;color:rgba(26, 173, 25, 0.6)}taro-button-core[plain][type=primary]::after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{border:1px solid #353535;color:#353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{border-color:rgba(53, 53, 53, 0.6);background-color:transparent;color:rgba(53, 53, 53, 0.6)}taro-button-core[plain]::after,taro-button-core[plain][type=default]::after{border-width:0}taro-button-core[type=primary]{background-color:#1aad19;color:#fff}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{background-color:#179b16;color:rgba(255, 255, 255, 0.6)}taro-button-core[type=warn]{background-color:#e64340;color:#fff}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{background-color:#ce3c39;color:rgba(255, 255, 255, 0.6)}taro-button-core[plain][disabled]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[plain][disabled][type=primary]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}";
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-26d8b479.js';
|
|
2
2
|
|
|
3
3
|
const indexCss = "taro-canvas-core{display:block;position:relative;width:300px;height:150px}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-26d8b479.js';
|
|
2
2
|
|
|
3
3
|
const indexCss = ".taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{display:inline-block;position:relative;top:5px;border:1px solid #d1d1d1;border-radius:3px;width:23px;height:23px;min-height:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#fff;vertical-align:0;font-size:23px;color:#1aad19}.taro-checkbox_checked:checked::before{display:inline-block;position:absolute;left:50%;top:50%;vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-family:weui;font-style:normal;font-weight:normal;font-variant:normal;font-size:inherit;color:inherit;content:\"\\ea08\";-webkit-transform:translate(-50%, -48%) scale(0.73);transform:translate(-50%, -48%) scale(0.73);speak:none}";
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
2
|
-
import { c as classnames } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-26d8b479.js';
|
|
2
|
+
import { c as classnames } from './index-1d8e8acd.js';
|
|
3
3
|
|
|
4
4
|
const coverViewCss = "taro-cover-view-core{display:block}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
2
|
-
import { c as classnames } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-26d8b479.js';
|
|
2
|
+
import { c as classnames } from './index-1d8e8acd.js';
|
|
3
3
|
|
|
4
4
|
let Icon = class {
|
|
5
5
|
constructor(hostRef) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
2
|
-
import { c as classnames } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-26d8b479.js';
|
|
2
|
+
import { c as classnames } from './index-1d8e8acd.js';
|
|
3
3
|
|
|
4
4
|
const indexCss = "img[src=\"\"]{opacity:0}taro-image-core{display:inline-block;overflow:hidden;position:relative;width:auto;height:auto;font-size:0}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{position:absolute;bottom:0;width:100%}.taro-img__mode-left{height:100%}.taro-img__mode-right{position:absolute;right:0;height:100%}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;right:0;bottom:0}";
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-26d8b479.js';
|
|
2
2
|
|
|
3
3
|
const indexCss = "taro-input-core{display:block}input{display:block;overflow:hidden;height:1.4rem;text-overflow:clip;text-align:inherit;white-space:nowrap}";
|
|
4
4
|
|
|
@@ -133,6 +133,12 @@ let Input = class {
|
|
|
133
133
|
(_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
+
watchValue(newValue) {
|
|
137
|
+
const value = fixControlledValue(newValue);
|
|
138
|
+
if (this.inputRef && this.inputRef.value !== value) {
|
|
139
|
+
this.inputRef.value = value;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
136
142
|
componentDidLoad() {
|
|
137
143
|
var _a, _b, _c;
|
|
138
144
|
if (this.type === 'file') {
|
|
@@ -165,7 +171,8 @@ let Input = class {
|
|
|
165
171
|
}
|
|
166
172
|
get el() { return getElement(this); }
|
|
167
173
|
static get watchers() { return {
|
|
168
|
-
"autoFocus": ["watchFocus"]
|
|
174
|
+
"autoFocus": ["watchFocus"],
|
|
175
|
+
"value": ["watchValue"]
|
|
169
176
|
}; }
|
|
170
177
|
};
|
|
171
178
|
Input.style = indexCss;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-26d8b479.js';
|
|
2
2
|
import Taro from '@tarojs/taro';
|
|
3
|
-
import { c as classnames } from './index-
|
|
3
|
+
import { c as classnames } from './index-1d8e8acd.js';
|
|
4
4
|
|
|
5
5
|
const indexCss = ".navigator-hover{background:#efefef}";
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { c as classnames } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-26d8b479.js';
|
|
2
|
+
import { c as classnames } from './index-1d8e8acd.js';
|
|
3
3
|
|
|
4
4
|
function getTimeRange(begin, end) {
|
|
5
5
|
const range = [];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-26d8b479.js';
|
|
2
2
|
import { d as debounce } from './index-cad8203e.js';
|
|
3
3
|
|
|
4
4
|
const columnCss = ".taro-picker-view-column-container{display:-ms-flexbox;display:flex;overflow:scroll;overflow-x:hidden;position:relative;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;text-align:center}.taro-picker-view-column-container::-webkit-scrollbar{display:none}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { c as classnames } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-26d8b479.js';
|
|
2
|
+
import { c as classnames } from './index-1d8e8acd.js';
|
|
3
3
|
|
|
4
4
|
function convertStyle(style) {
|
|
5
5
|
if (style) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-26d8b479.js';
|
|
2
2
|
import Taro from '@tarojs/taro';
|
|
3
|
-
import { c as classnames } from './index-
|
|
3
|
+
import { c as classnames } from './index-1d8e8acd.js';
|
|
4
4
|
|
|
5
5
|
const indexCss = ".rmc-pull-to-refresh-content{-webkit-transform-origin:left top 0;transform-origin:left top 0}.rmc-pull-to-refresh-content-wrapper{overflow:hidden;min-height:100vh}.rmc-pull-to-refresh-transition{-webkit-transition:-webkit-transform 0.3s;transition:-webkit-transform 0.3s;transition:transform 0.3s;transition:transform 0.3s, -webkit-transform 0.3s}@-webkit-keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}@keyframes rmc-pull-to-refresh-indicator{50%{opacity:0.2}100%{opacity:1}}.rmc-pull-to-refresh-indicator{height:30px;line-height:10px;text-align:center}.rmc-pull-to-refresh-indicator>div{display:inline-block;margin:3px;border-radius:100%;width:6px;height:6px;background-color:grey;-webkit-animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;animation:rmc-pull-to-refresh-indicator 0.5s 0s infinite linear;-webkit-animation-fill-mode:both;animation-fill-mode:both}.rmc-pull-to-refresh-indicator>div:nth-child(0){-webkit-animation-delay:-0.1s !important;animation-delay:-0.1s !important}.rmc-pull-to-refresh-indicator>div:nth-child(1){-webkit-animation-delay:-0.2s !important;animation-delay:-0.2s !important}.rmc-pull-to-refresh-indicator>div:nth-child(2){-webkit-animation-delay:-0.3s !important;animation-delay:-0.3s !important}.rmc-pull-to-refresh-down .rmc-pull-to-refresh-indicator{margin-top:-25px}";
|
|
6
6
|
|
|
@@ -183,6 +183,7 @@ let PullToRefresh = class {
|
|
|
183
183
|
}
|
|
184
184
|
get scrollContainer() {
|
|
185
185
|
return this.el.parentElement ||
|
|
186
|
+
this.el.closest('.taro_page_stationed') ||
|
|
186
187
|
document.querySelector('.taro_page_stationed') ||
|
|
187
188
|
document.querySelector('.taro_page') ||
|
|
188
189
|
document.querySelector('.taro_router') ||
|
|
@@ -190,11 +191,14 @@ let PullToRefresh = class {
|
|
|
190
191
|
document.body;
|
|
191
192
|
}
|
|
192
193
|
statusChange() {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
194
|
+
var _a, _b, _c, _d;
|
|
195
|
+
const pageEl = this.scrollContainer;
|
|
196
|
+
switch (this.currSt) {
|
|
197
|
+
case 'release':
|
|
198
|
+
(_b = (_a = pageEl === null || pageEl === void 0 ? void 0 : pageEl.__page) === null || _a === void 0 ? void 0 : _a.onPullDownRefresh) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
199
|
+
break;
|
|
200
|
+
case 'deactivate':
|
|
201
|
+
(_d = (_c = pageEl === null || pageEl === void 0 ? void 0 : pageEl.__page) === null || _c === void 0 ? void 0 : _c.onPullIntercept) === null || _d === void 0 ? void 0 : _d.call(_c);
|
|
198
202
|
}
|
|
199
203
|
}
|
|
200
204
|
disconnectedCallback() {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-26d8b479.js';
|
|
2
2
|
|
|
3
3
|
let RichText = class {
|
|
4
4
|
constructor(hostRef) {
|
|
5
5
|
registerInstance(this, hostRef);
|
|
6
6
|
this.renderNode = (node) => {
|
|
7
7
|
if ('type' in node && node.type === 'text') {
|
|
8
|
-
//
|
|
8
|
+
// nonsupport Html Entries
|
|
9
9
|
const content = (node.text || '').replace(/ /g, '\u00A0');
|
|
10
10
|
return content;
|
|
11
11
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { c as classnames } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-26d8b479.js';
|
|
2
|
+
import { c as classnames } from './index-1d8e8acd.js';
|
|
3
3
|
import { d as debounce } from './index-cad8203e.js';
|
|
4
4
|
|
|
5
5
|
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}";
|