@tarojs/components 3.5.0-alpha.15 → 3.5.0-alpha.16
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
package/types/OpenData.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { StandardProps, CommonEventFunction } from './common'
|
|
|
3
3
|
|
|
4
4
|
interface OpenDataProps extends StandardProps {
|
|
5
5
|
/** 开放数据类型
|
|
6
|
-
* @supported weapp
|
|
6
|
+
* @supported weapp, tt
|
|
7
7
|
*/
|
|
8
8
|
type: keyof OpenDataProps.Type
|
|
9
9
|
/** 当 type="groupName" 时生效, 群id
|
|
@@ -17,17 +17,17 @@ interface OpenDataProps extends StandardProps {
|
|
|
17
17
|
lang?: keyof OpenDataProps.Lang
|
|
18
18
|
|
|
19
19
|
/** 数据为空时的默认文案
|
|
20
|
-
* @supported weapp
|
|
20
|
+
* @supported weapp, tt
|
|
21
21
|
*/
|
|
22
22
|
defaultText?: string
|
|
23
23
|
|
|
24
24
|
/** 用户头像为空时的默认图片,支持相对路径和网络图片路径
|
|
25
|
-
* @supported weapp
|
|
25
|
+
* @supported weapp, tt
|
|
26
26
|
*/
|
|
27
27
|
defaultAvatar?: string
|
|
28
28
|
|
|
29
29
|
/** 群名称或用户信息为空时触发
|
|
30
|
-
* @supported weapp
|
|
30
|
+
* @supported weapp, tt
|
|
31
31
|
*/
|
|
32
32
|
onError?: CommonEventFunction
|
|
33
33
|
}
|
|
@@ -63,9 +63,9 @@ declare namespace OpenDataProps {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
/**
|
|
66
|
+
/** 用于展示平台开放的数据
|
|
67
67
|
* @classification open
|
|
68
|
-
* @supported weapp
|
|
68
|
+
* @supported weapp, tt
|
|
69
69
|
* @example_react
|
|
70
70
|
* ```tsx
|
|
71
71
|
* class App extends Component {
|
package/types/PageContainer.d.ts
CHANGED
|
@@ -4,13 +4,13 @@ import { StandardProps, CommonEventFunction, BaseEventOrigFunction } from './com
|
|
|
4
4
|
interface PageContainerProps extends StandardProps {
|
|
5
5
|
/** 是否显示容器组件
|
|
6
6
|
* @default false
|
|
7
|
-
* @supported weapp
|
|
7
|
+
* @supported weapp, rn
|
|
8
8
|
*/
|
|
9
9
|
show?: boolean
|
|
10
10
|
|
|
11
11
|
/** 动画时长,单位毫秒
|
|
12
12
|
* @default 300
|
|
13
|
-
* @supported weapp
|
|
13
|
+
* @supported weapp, rn
|
|
14
14
|
*/
|
|
15
15
|
duration?: number
|
|
16
16
|
|
|
@@ -22,19 +22,19 @@ interface PageContainerProps extends StandardProps {
|
|
|
22
22
|
|
|
23
23
|
/** 是否显示遮罩层
|
|
24
24
|
* @default true
|
|
25
|
-
* @supported weapp
|
|
25
|
+
* @supported weapp, rn
|
|
26
26
|
*/
|
|
27
27
|
overlay?: boolean
|
|
28
28
|
|
|
29
29
|
/** 弹出位置,可选值为 top bottom right center
|
|
30
30
|
* @default bottom
|
|
31
|
-
* @supported weapp
|
|
31
|
+
* @supported weapp, rn
|
|
32
32
|
*/
|
|
33
33
|
position?: keyof PageContainerProps.Position
|
|
34
34
|
|
|
35
35
|
/** 是否显示圆角
|
|
36
36
|
* @default false
|
|
37
|
-
* @supported weapp
|
|
37
|
+
* @supported weapp, rn
|
|
38
38
|
*/
|
|
39
39
|
round?: boolean
|
|
40
40
|
|
|
@@ -45,42 +45,42 @@ interface PageContainerProps extends StandardProps {
|
|
|
45
45
|
closeOnSlideDown?: boolean
|
|
46
46
|
|
|
47
47
|
/** 自定义遮罩层样式
|
|
48
|
-
* @supported weapp
|
|
48
|
+
* @supported weapp, rn
|
|
49
49
|
*/
|
|
50
50
|
overlayStyle?: string
|
|
51
51
|
|
|
52
52
|
/** 自定义弹出层样式
|
|
53
|
-
* @supported weapp
|
|
53
|
+
* @supported weapp, rn
|
|
54
54
|
*/
|
|
55
55
|
customStyle?: string
|
|
56
56
|
|
|
57
57
|
/** 进入前触发
|
|
58
|
-
* @supported weapp
|
|
58
|
+
* @supported weapp, rn
|
|
59
59
|
*/
|
|
60
60
|
onBeforeEnter?: CommonEventFunction
|
|
61
61
|
|
|
62
62
|
/** 进入中触发
|
|
63
|
-
* @supported weapp
|
|
63
|
+
* @supported weapp, rn
|
|
64
64
|
*/
|
|
65
65
|
onEnter?: CommonEventFunction
|
|
66
66
|
|
|
67
67
|
/** 进入后触发
|
|
68
|
-
* @supported weapp
|
|
68
|
+
* @supported weapp, rn
|
|
69
69
|
*/
|
|
70
70
|
onAfterEnter?: CommonEventFunction
|
|
71
71
|
|
|
72
72
|
/** 离开前触发
|
|
73
|
-
* @supported weapp
|
|
73
|
+
* @supported weapp, rn
|
|
74
74
|
*/
|
|
75
75
|
onBeforeLeave?: CommonEventFunction
|
|
76
76
|
|
|
77
77
|
/** 离开中触发
|
|
78
|
-
* @supported weapp
|
|
78
|
+
* @supported weapp, rn
|
|
79
79
|
*/
|
|
80
80
|
onLeave?: CommonEventFunction
|
|
81
81
|
|
|
82
82
|
/** 离开后触发
|
|
83
|
-
* @supported weapp
|
|
83
|
+
* @supported weapp, rn
|
|
84
84
|
*/
|
|
85
85
|
onAfterLeave?: CommonEventFunction
|
|
86
86
|
|
|
@@ -113,7 +113,7 @@ declare namespace PageContainerProps {
|
|
|
113
113
|
* 1. tip: 当前页面最多只有 1 个容器,若已存在容器的情况下,无法增加新的容器
|
|
114
114
|
* 2. tip: wx.navigateBack 无法在页面栈顶调用,此时没有上一级页面
|
|
115
115
|
* @classification viewContainer
|
|
116
|
-
* @supported weapp
|
|
116
|
+
* @supported weapp, rn
|
|
117
117
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/page-container.html
|
|
118
118
|
*/
|
|
119
119
|
declare const PageContainer: ComponentType<PageContainerProps>
|
package/types/Radio.d.ts
CHANGED
|
@@ -3,25 +3,25 @@ import { StandardProps, CommonEventFunction, FormItemProps } from './common'
|
|
|
3
3
|
|
|
4
4
|
interface RadioProps extends StandardProps {
|
|
5
5
|
/** `<Radio/>` 标识。当该`<Radio/>` 选中时,`<RadioGroup/>`的 change 事件会携带`<Radio/>`的 value
|
|
6
|
-
* @supported weapp, rn
|
|
6
|
+
* @supported weapp, rn, tt
|
|
7
7
|
*/
|
|
8
8
|
value?: string
|
|
9
9
|
|
|
10
10
|
/** 当前是否选中
|
|
11
11
|
* @default false
|
|
12
|
-
* @supported weapp, h5, rn
|
|
12
|
+
* @supported weapp, h5, rn, tt
|
|
13
13
|
*/
|
|
14
14
|
checked?: boolean
|
|
15
15
|
|
|
16
16
|
/** 是否禁用
|
|
17
17
|
* @default false
|
|
18
|
-
* @supported weapp, h5, rn
|
|
18
|
+
* @supported weapp, h5, rn, tt
|
|
19
19
|
*/
|
|
20
20
|
disabled?: boolean
|
|
21
21
|
|
|
22
22
|
/** Radio 的颜色,同 css 的 color
|
|
23
23
|
* @default "#09BB07"
|
|
24
|
-
* @supported weapp, rn
|
|
24
|
+
* @supported weapp, rn, tt
|
|
25
25
|
*/
|
|
26
26
|
color?: string
|
|
27
27
|
|
|
@@ -33,7 +33,7 @@ interface RadioProps extends StandardProps {
|
|
|
33
33
|
|
|
34
34
|
/** 单选项目
|
|
35
35
|
* @classification forms
|
|
36
|
-
* @supported weapp, h5, rn
|
|
36
|
+
* @supported weapp, h5, rn, tt
|
|
37
37
|
* @example_react
|
|
38
38
|
* ```tsx
|
|
39
39
|
* export default class PageRadio extends Component {
|
package/types/RadioGroup.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { StandardProps, CommonEventFunction, FormItemProps } from './common'
|
|
|
3
3
|
|
|
4
4
|
interface RadioGroupProps extends StandardProps, FormItemProps {
|
|
5
5
|
/** RadioGroup 中选中项发生改变时触发 change 事件,detail = {value:[选中的radio的value的数组]}
|
|
6
|
-
* @supported weapp, h5
|
|
6
|
+
* @supported weapp, h5, tt
|
|
7
7
|
*/
|
|
8
8
|
onChange?: CommonEventFunction
|
|
9
9
|
}
|
|
@@ -16,7 +16,7 @@ declare namespace RadioGroupProps {
|
|
|
16
16
|
|
|
17
17
|
/** 单项选择器,内部由多个 Radio 组成。
|
|
18
18
|
* @classification forms
|
|
19
|
-
* @supported weapp, h5, rn
|
|
19
|
+
* @supported weapp, h5, rn, tt
|
|
20
20
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/radio-group.html
|
|
21
21
|
*/
|
|
22
22
|
declare const RadioGroup: ComponentType<RadioGroupProps>
|
package/types/RichText.d.ts
CHANGED
|
@@ -2,10 +2,15 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps } from './common'
|
|
3
3
|
|
|
4
4
|
interface RichTextProps extends StandardProps {
|
|
5
|
+
/** 文本是否可选,该属性会使节点显示为 block
|
|
6
|
+
* @default false
|
|
7
|
+
* @supported weapp
|
|
8
|
+
*/
|
|
9
|
+
userSelect?: boolean
|
|
5
10
|
/** 节点列表/ HTML String */
|
|
6
11
|
nodes?: Nodes
|
|
7
12
|
/** 显示连续空格
|
|
8
|
-
* @supported weapp
|
|
13
|
+
* @supported weapp, rn
|
|
9
14
|
*/
|
|
10
15
|
space?: keyof RichTextProps.TSpace
|
|
11
16
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
|
|
3
|
+
/** root-portal
|
|
4
|
+
* 使整个子树从页面中脱离出来,类似于在 CSS 中使用 fixed position 的效果。主要用于制作弹窗、弹出层等。
|
|
5
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/root-portal.html
|
|
6
|
+
* @supported weapp
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* import { useState } from 'react'
|
|
10
|
+
* import { RootPortal, View, Button } from '@tarojs/components'
|
|
11
|
+
*
|
|
12
|
+
* export default function RootPortalExample {
|
|
13
|
+
* const [show, setShow] = useState(false)
|
|
14
|
+
* const toggle = () => {
|
|
15
|
+
* setShow(!show)
|
|
16
|
+
* }
|
|
17
|
+
* render () {
|
|
18
|
+
* return (
|
|
19
|
+
* <View>
|
|
20
|
+
* <Button onClick={toggle}>显示root-portal</Button>
|
|
21
|
+
* {
|
|
22
|
+
* show && (<RootPortal><View>content</View></RootPortal>)
|
|
23
|
+
* }
|
|
24
|
+
* </View>
|
|
25
|
+
* )
|
|
26
|
+
* }
|
|
27
|
+
* }
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
declare const RootPortal: ComponentType
|
|
31
|
+
|
|
32
|
+
export { RootPortal }
|
package/types/ScrollView.d.ts
CHANGED
|
@@ -225,15 +225,15 @@ declare namespace ScrollViewProps {
|
|
|
225
225
|
* const Threshold = 20
|
|
226
226
|
* const vStyleA = {
|
|
227
227
|
* height: '150px',
|
|
228
|
-
* '
|
|
228
|
+
* 'backgroundColor': 'rgb(26, 173, 25)'
|
|
229
229
|
* }
|
|
230
230
|
* const vStyleB = {
|
|
231
231
|
* height: '150px',
|
|
232
|
-
* '
|
|
232
|
+
* 'backgroundColor': 'rgb(39,130,215)'
|
|
233
233
|
* }
|
|
234
234
|
* const vStyleC = {
|
|
235
235
|
* height: '150px',
|
|
236
|
-
* '
|
|
236
|
+
* 'backgroundColor': 'rgb(241,241,241)',
|
|
237
237
|
* color: '#333'
|
|
238
238
|
* }
|
|
239
239
|
* return (
|
package/types/Swiper.d.ts
CHANGED
|
@@ -63,13 +63,13 @@ interface SwiperProps extends StandardProps {
|
|
|
63
63
|
|
|
64
64
|
/** 前边距,可用于露出前一项的一小部分,接受 px 和 rpx 值
|
|
65
65
|
* @default "0px"
|
|
66
|
-
* @supported weapp, h5
|
|
66
|
+
* @supported weapp, h5, tt
|
|
67
67
|
*/
|
|
68
68
|
previousMargin?: string
|
|
69
69
|
|
|
70
70
|
/** 后边距,可用于露出后一项的一小部分,接受 px 和 rpx 值
|
|
71
71
|
* @default "0px"
|
|
72
|
-
* @supported weapp, h5
|
|
72
|
+
* @supported weapp, h5, tt
|
|
73
73
|
*/
|
|
74
74
|
nextMargin?: string
|
|
75
75
|
|
|
@@ -94,7 +94,7 @@ interface SwiperProps extends StandardProps {
|
|
|
94
94
|
|
|
95
95
|
/** 指定 swiper 切换缓动动画类型
|
|
96
96
|
* @default "default"
|
|
97
|
-
* @supported weapp
|
|
97
|
+
* @supported weapp, tt
|
|
98
98
|
*/
|
|
99
99
|
easingFunction?: keyof SwiperProps.TEasingFunction
|
|
100
100
|
|
|
@@ -104,12 +104,12 @@ interface SwiperProps extends StandardProps {
|
|
|
104
104
|
onChange?: CommonEventFunction<SwiperProps.onChangeEventDetail>
|
|
105
105
|
|
|
106
106
|
/** swiper-item 的位置发生改变时会触发 transition 事件
|
|
107
|
-
* @supported weapp
|
|
107
|
+
* @supported weapp, tt
|
|
108
108
|
*/
|
|
109
109
|
onTransition?: CommonEventFunction<SwiperProps.onTransitionEventDetail>
|
|
110
110
|
|
|
111
111
|
/** 动画结束时会触发 animationfinish 事件
|
|
112
|
-
* @supported weapp, swan, h5, rn
|
|
112
|
+
* @supported weapp, swan, h5, rn, tt
|
|
113
113
|
*/
|
|
114
114
|
onAnimationFinish?: SwiperProps['onChange']
|
|
115
115
|
|
package/types/Switch.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ interface SwitchProps extends StandardProps, FormItemProps {
|
|
|
10
10
|
|
|
11
11
|
/** 是否禁用
|
|
12
12
|
* @default false
|
|
13
|
-
* @supported weapp, rn
|
|
13
|
+
* @supported weapp, rn, tt
|
|
14
14
|
*/
|
|
15
15
|
disabled?: boolean
|
|
16
16
|
|
|
@@ -27,7 +27,7 @@ interface SwitchProps extends StandardProps, FormItemProps {
|
|
|
27
27
|
color?: string
|
|
28
28
|
|
|
29
29
|
/** checked 改变时触发 change 事件
|
|
30
|
-
* @supported weapp, rn
|
|
30
|
+
* @supported weapp, rn, tt
|
|
31
31
|
*/
|
|
32
32
|
onChange?: CommonEventFunction<SwitchProps.onChangeEventDetail>
|
|
33
33
|
|
package/types/Textarea.d.ts
CHANGED
|
@@ -3,35 +3,35 @@ import { StandardProps, CommonEventFunction, FormItemProps } from './common'
|
|
|
3
3
|
|
|
4
4
|
interface TextareaProps extends StandardProps, FormItemProps {
|
|
5
5
|
/** 输入框的内容
|
|
6
|
-
* @supported weapp, h5, rn
|
|
6
|
+
* @supported weapp, h5, rn, tt
|
|
7
7
|
*/
|
|
8
8
|
value?: string
|
|
9
9
|
|
|
10
10
|
/** 输入框为空时占位符
|
|
11
|
-
* @supported weapp, h5, rn
|
|
11
|
+
* @supported weapp, h5, rn, tt
|
|
12
12
|
*/
|
|
13
13
|
placeholder?: string
|
|
14
14
|
|
|
15
15
|
/** 指定 placeholder 的样式
|
|
16
|
-
* @supported weapp
|
|
16
|
+
* @supported weapp, tt
|
|
17
17
|
*/
|
|
18
18
|
placeholderStyle?: string
|
|
19
19
|
|
|
20
20
|
/** 指定 placeholder 的样式类
|
|
21
21
|
* @default "textarea-placeholder"
|
|
22
|
-
* @supported weapp
|
|
22
|
+
* @supported weapp, tt
|
|
23
23
|
*/
|
|
24
24
|
placeholderClass?: string
|
|
25
25
|
|
|
26
26
|
/** 是否禁用
|
|
27
27
|
* @default false
|
|
28
|
-
* @supported weapp, h5, rn
|
|
28
|
+
* @supported weapp, h5, rn, tt
|
|
29
29
|
*/
|
|
30
30
|
disabled?: boolean
|
|
31
31
|
|
|
32
32
|
/** 最大输入长度,设置为 -1 的时候不限制最大长度
|
|
33
33
|
* @default 140
|
|
34
|
-
* @supported weapp, h5, rn
|
|
34
|
+
* @supported weapp, h5, rn, tt
|
|
35
35
|
*/
|
|
36
36
|
maxlength?: number
|
|
37
37
|
|
|
@@ -43,13 +43,13 @@ interface TextareaProps extends StandardProps, FormItemProps {
|
|
|
43
43
|
|
|
44
44
|
/** 获取焦点
|
|
45
45
|
* @default false
|
|
46
|
-
* @supported weapp, rn
|
|
46
|
+
* @supported weapp, rn, tt
|
|
47
47
|
*/
|
|
48
48
|
focus?: boolean
|
|
49
49
|
|
|
50
50
|
/** 是否自动增高,设置 autoHeight 时,style.height不生效
|
|
51
51
|
* @default false
|
|
52
|
-
* @supported weapp, rn
|
|
52
|
+
* @supported weapp, rn, tt
|
|
53
53
|
*/
|
|
54
54
|
autoHeight?: boolean
|
|
55
55
|
|
|
@@ -61,76 +61,76 @@ interface TextareaProps extends StandardProps, FormItemProps {
|
|
|
61
61
|
|
|
62
62
|
/** 指定光标与键盘的距离,单位 px 。取 Textarea 距离底部的距离和 cursorSpacing 指定的距离的最小值作为光标与键盘的距离
|
|
63
63
|
* @default 0
|
|
64
|
-
* @supported weapp
|
|
64
|
+
* @supported weapp, tt
|
|
65
65
|
*/
|
|
66
66
|
cursorSpacing?: number
|
|
67
67
|
|
|
68
68
|
/** 指定 focus 时的光标位置
|
|
69
69
|
* @default -1
|
|
70
|
-
* @supported weapp
|
|
70
|
+
* @supported weapp, tt
|
|
71
71
|
*/
|
|
72
72
|
cursor?: number
|
|
73
73
|
|
|
74
74
|
/** 是否显示键盘上方带有”完成“按钮那一栏
|
|
75
75
|
* @default true
|
|
76
|
-
* @supported weapp
|
|
76
|
+
* @supported weapp, tt
|
|
77
77
|
*/
|
|
78
78
|
showConfirmBar?: boolean
|
|
79
79
|
|
|
80
80
|
/** 光标起始位置,自动聚集时有效,需与 selectionEnd 搭配使用
|
|
81
81
|
* @default -1
|
|
82
|
-
* @supported weapp, rn
|
|
82
|
+
* @supported weapp, rn, tt
|
|
83
83
|
*/
|
|
84
84
|
selectionStart?: number
|
|
85
85
|
|
|
86
86
|
/** 光标结束位置,自动聚集时有效,需与 selectionStart 搭配使用
|
|
87
87
|
* @default -1
|
|
88
|
-
* @supported weapp, rn
|
|
88
|
+
* @supported weapp, rn, tt
|
|
89
89
|
*/
|
|
90
90
|
selectionEnd?: number
|
|
91
91
|
|
|
92
92
|
/** 键盘弹起时,是否自动上推页面
|
|
93
93
|
* @default true
|
|
94
|
-
* @supported weapp
|
|
94
|
+
* @supported weapp, tt
|
|
95
95
|
*/
|
|
96
96
|
adjustPosition?: boolean
|
|
97
97
|
|
|
98
98
|
/** focus 时,点击页面的时候不收起键盘
|
|
99
99
|
* @default false
|
|
100
|
-
* @supported weapp
|
|
100
|
+
* @supported weapp, tt
|
|
101
101
|
*/
|
|
102
102
|
holdKeyboard?: boolean
|
|
103
103
|
|
|
104
104
|
/** 是否去掉 iOS 下的默认内边距
|
|
105
105
|
* @default false
|
|
106
|
-
* @supported weapp
|
|
106
|
+
* @supported weapp, tt
|
|
107
107
|
*/
|
|
108
108
|
disableDefaultPadding?: boolean
|
|
109
109
|
|
|
110
110
|
/** 输入框聚焦时触发
|
|
111
|
-
* @supported weapp, h5, rn
|
|
111
|
+
* @supported weapp, h5, rn, tt
|
|
112
112
|
*/
|
|
113
113
|
onFocus?: CommonEventFunction<TextareaProps.onFocusEventDetail>
|
|
114
114
|
|
|
115
115
|
/** 输入框失去焦点时触发
|
|
116
|
-
* @supported weapp, h5, rn
|
|
116
|
+
* @supported weapp, h5, rn, tt
|
|
117
117
|
*/
|
|
118
118
|
onBlur?: CommonEventFunction<TextareaProps.onBlurEventDetail>
|
|
119
119
|
|
|
120
120
|
/** 输入框行数变化时调用,event.detail = {height: 0, heightRpx: 0, lineCount: 0}
|
|
121
|
-
* @supported weapp, rn
|
|
121
|
+
* @supported weapp, rn, tt
|
|
122
122
|
*/
|
|
123
123
|
onLineChange?: CommonEventFunction<TextareaProps.onLineChangeEventDetail>
|
|
124
124
|
|
|
125
125
|
/** 当键盘输入时,触发 input 事件,event.detail = {value, cursor, keyCode}
|
|
126
126
|
*
|
|
127
127
|
* **onInput 处理函数的返回值并不会反映到 textarea 上**
|
|
128
|
-
* @supported weapp, h5, rn
|
|
128
|
+
* @supported weapp, h5, rn, tt
|
|
129
129
|
*/
|
|
130
130
|
onInput?: CommonEventFunction<TextareaProps.onInputEventDetail>
|
|
131
131
|
|
|
132
132
|
/** 点击完成时, 触发 confirm 事件,event.detail = {value: value}
|
|
133
|
-
* @supported weapp, rn
|
|
133
|
+
* @supported weapp, rn, tt
|
|
134
134
|
*/
|
|
135
135
|
onConfirm?: CommonEventFunction<TextareaProps.onConfirmEventDetail>
|
|
136
136
|
|
package/types/Video.d.ts
CHANGED
|
@@ -76,21 +76,21 @@ interface VideoProps extends StandardProps {
|
|
|
76
76
|
|
|
77
77
|
/** 若不设置,宽度大于240时才会显示
|
|
78
78
|
* @default true
|
|
79
|
-
* @supported weapp, swan
|
|
79
|
+
* @supported weapp, swan, tt
|
|
80
80
|
* @h5 待定
|
|
81
81
|
*/
|
|
82
82
|
showProgress?: boolean
|
|
83
83
|
|
|
84
84
|
/** 是否显示全屏按钮
|
|
85
85
|
* @default true
|
|
86
|
-
* @supported weapp, swan, alipay
|
|
86
|
+
* @supported weapp, swan, alipay, tt
|
|
87
87
|
* @h5 待定
|
|
88
88
|
*/
|
|
89
89
|
showFullscreenBtn?: boolean
|
|
90
90
|
|
|
91
91
|
/** 是否显示视频底部控制栏的播放按钮
|
|
92
92
|
* @default true
|
|
93
|
-
* @supported weapp, swan, alipay
|
|
93
|
+
* @supported weapp, swan, alipay, tt
|
|
94
94
|
* @h5 待定
|
|
95
95
|
*/
|
|
96
96
|
showPlayBtn?: boolean
|
|
@@ -104,14 +104,14 @@ interface VideoProps extends StandardProps {
|
|
|
104
104
|
|
|
105
105
|
/** 是否开启控制进度的手势
|
|
106
106
|
* @default true
|
|
107
|
-
* @supported weapp, swan, alipay
|
|
107
|
+
* @supported weapp, swan, alipay, tt
|
|
108
108
|
* @h5 待定
|
|
109
109
|
*/
|
|
110
110
|
enableProgressGesture?: boolean
|
|
111
111
|
|
|
112
112
|
/** 当视频大小与 video 容器大小不一致时,视频的表现形式
|
|
113
113
|
* @default "contain"
|
|
114
|
-
* @supported weapp, swan, alipay
|
|
114
|
+
* @supported weapp, swan, alipay, tt
|
|
115
115
|
* @h5 待定
|
|
116
116
|
*/
|
|
117
117
|
objectFit?: keyof VideoProps.ObjectFit
|
|
@@ -123,7 +123,7 @@ interface VideoProps extends StandardProps {
|
|
|
123
123
|
|
|
124
124
|
/** 是否显示静音按钮
|
|
125
125
|
* @default false
|
|
126
|
-
* @supported weapp
|
|
126
|
+
* @supported weapp, tt
|
|
127
127
|
* @h5 待定
|
|
128
128
|
*/
|
|
129
129
|
showMuteBtn?: boolean
|
|
@@ -139,14 +139,14 @@ interface VideoProps extends StandardProps {
|
|
|
139
139
|
* - `center`: 视频中间
|
|
140
140
|
*
|
|
141
141
|
* @default 'bottom'
|
|
142
|
-
* @supported weapp
|
|
142
|
+
* @supported weapp, tt
|
|
143
143
|
* @h5 待定
|
|
144
144
|
*/
|
|
145
145
|
playBtnPosition?: keyof VideoProps.PlayBtnPosition
|
|
146
146
|
|
|
147
147
|
/** 是否开启播放手势,即双击切换播放/暂停
|
|
148
148
|
* @default false
|
|
149
|
-
* @supported weapp
|
|
149
|
+
* @supported weapp, tt
|
|
150
150
|
* @h5 待定
|
|
151
151
|
*/
|
|
152
152
|
enablePlayGesture?: boolean
|
|
@@ -167,14 +167,14 @@ interface VideoProps extends StandardProps {
|
|
|
167
167
|
|
|
168
168
|
/** 在非全屏模式下,是否开启亮度与音量调节手势(同 `page-gesture`)
|
|
169
169
|
* @default false
|
|
170
|
-
* @supported weapp, swan
|
|
170
|
+
* @supported weapp, swan, tt
|
|
171
171
|
* @h5 待定
|
|
172
172
|
*/
|
|
173
173
|
vslideGesture?: boolean
|
|
174
174
|
|
|
175
175
|
/** 在全屏模式下,是否开启亮度与音量调节手势
|
|
176
176
|
* @default true
|
|
177
|
-
* @supported weapp
|
|
177
|
+
* @supported weapp, tt
|
|
178
178
|
* @h5 待定
|
|
179
179
|
*/
|
|
180
180
|
vslideGestureInFullscreen?: boolean
|
|
@@ -249,7 +249,7 @@ interface VideoProps extends StandardProps {
|
|
|
249
249
|
/** 当视频进入和退出全屏时触发
|
|
250
250
|
*
|
|
251
251
|
* event.detail = {fullScreen, direction},direction取为 vertical 或 horizontal
|
|
252
|
-
* @supported weapp, swan, alipay, rn
|
|
252
|
+
* @supported weapp, swan, alipay, rn, tt
|
|
253
253
|
* @h5 待定
|
|
254
254
|
*/
|
|
255
255
|
onFullscreenChange?: CommonEventFunction<VideoProps.onFullscreenChangeEventDetail>
|
|
@@ -257,7 +257,7 @@ interface VideoProps extends StandardProps {
|
|
|
257
257
|
/** 当视频进入和退出全屏时触发
|
|
258
258
|
*
|
|
259
259
|
* event.detail = {fullScreen, direction},direction 取为 vertical 或 horizontal
|
|
260
|
-
* @supported weapp, swan
|
|
260
|
+
* @supported weapp, swan, tt
|
|
261
261
|
* @h5 待定
|
|
262
262
|
*/
|
|
263
263
|
onWaiting?: CommonEventFunction<VideoProps.onWaitingEventDetail>
|
|
@@ -273,7 +273,7 @@ interface VideoProps extends StandardProps {
|
|
|
273
273
|
onProgress?: CommonEventFunction<VideoProps.onProgressEventDetail>
|
|
274
274
|
|
|
275
275
|
/** 视频元数据加载完成时触发。event.detail = {width, height, duration}
|
|
276
|
-
* @supported weapp, rn
|
|
276
|
+
* @supported weapp, rn, tt
|
|
277
277
|
*/
|
|
278
278
|
onLoadedMetaData?: CommonEventFunction
|
|
279
279
|
|
package/types/View.d.ts
CHANGED
|
@@ -6,11 +6,11 @@ interface ViewProps extends StandardProps {
|
|
|
6
6
|
/** 指定按下去的样式类。当 `hover-class="none"` 时,没有点击态效果
|
|
7
7
|
* @default none
|
|
8
8
|
* @supported weapp, swan, alipay, tt, h5
|
|
9
|
-
* @rn 由于 RN 不支持
|
|
9
|
+
* @rn 由于 RN 不支持 hoverClass,故 RN 端的 View 组件实现了 `hoverStyle`属性,写法和 style 类似,只不过 `hoverStyle` 的样式是指定按下去的样式。
|
|
10
10
|
*/
|
|
11
11
|
hoverClass?: string
|
|
12
12
|
|
|
13
|
-
/** 由于 RN 不支持
|
|
13
|
+
/** 由于 RN 不支持 hoverClass,故 RN 端的 View 组件实现了 `hoverStyle`属性,写法和 style 类似,只不过 `hoverStyle` 的样式是指定按下去的样式。
|
|
14
14
|
* @default none
|
|
15
15
|
* @supported rn
|
|
16
16
|
*/
|
package/types/WebView.d.ts
CHANGED
|
@@ -3,22 +3,22 @@ import { StandardProps, CommonEventFunction } from './common'
|
|
|
3
3
|
|
|
4
4
|
interface WebViewProps extends StandardProps {
|
|
5
5
|
/** webview 指向网页的链接。可打开关联的公众号的文章,其它网页需登录小程序管理后台配置业务域名。
|
|
6
|
-
* @supported weapp, h5
|
|
6
|
+
* @supported weapp, h5, rn, tt
|
|
7
7
|
*/
|
|
8
8
|
src: string
|
|
9
9
|
|
|
10
10
|
/** 网页向小程序 postMessage 时,会在特定时机(小程序后退、组件销毁、分享)触发并收到消息。e.detail = { data }
|
|
11
|
-
* @supported weapp
|
|
11
|
+
* @supported weapp, tt
|
|
12
12
|
*/
|
|
13
13
|
onMessage?: CommonEventFunction<WebViewProps.onMessageEventDetail>
|
|
14
14
|
|
|
15
15
|
/** 网页加载成功时候触发此事件。e.detail = { src }
|
|
16
|
-
* @supported weapp, h5
|
|
16
|
+
* @supported weapp, h5, rn, tt
|
|
17
17
|
*/
|
|
18
18
|
onLoad?: CommonEventFunction<WebViewProps.onLoadEventDetail>
|
|
19
19
|
|
|
20
20
|
/** 网页加载失败的时候触发此事件。e.detail = { src }
|
|
21
|
-
* @supported weapp, h5
|
|
21
|
+
* @supported weapp, h5, rn, tt
|
|
22
22
|
*/
|
|
23
23
|
onError?: CommonEventFunction<WebViewProps.onErrorEventDetail>
|
|
24
24
|
}
|
|
@@ -40,7 +40,7 @@ declare namespace WebViewProps {
|
|
|
40
40
|
|
|
41
41
|
/** web-view 组件是一个可以用来承载网页的容器,会自动铺满整个小程序页面。个人类型与海外类型的小程序暂不支持使用。
|
|
42
42
|
* @classification open
|
|
43
|
-
* @supported weapp, h5, rn
|
|
43
|
+
* @supported weapp, h5, rn, tt
|
|
44
44
|
* @example_react
|
|
45
45
|
* ```tsx
|
|
46
46
|
* class App extends Component {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as a,H as r}from"./p-8c7cf814.js";let t=class{constructor(a){o(this,a)}componentDidLoad(){console.error("H5 暂不支持 FunctionalPageNavigator 组件!")}render(){return a(r,null)}};export{t as taro_functional_page_navigator_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as r,H as t}from"./p-8c7cf814.js";let a=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 MatchMedia 组件!")}render(){return r(t,null)}};export{a as taro_match_media_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as e,g as r}from"./p-8c7cf814.js";import h from"@tarojs/taro";import{c as a}from"./p-7e5d2d7a.js";const n="undefined"!=typeof navigator&&/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(navigator.userAgent),o={activate:"release",deactivate:"pull",release:"loading",finish:"finish"};let l=!1;try{const t=Object.defineProperty({},"passive",{get(){l=!0}});window.addEventListener("cancel",(()=>({})),t)}catch(t){}const c=!!l&&{passive:!1};let d=class{constructor(s){t(this,s),this.onRefresh=i(this,"refresh",7),this.prefixCls="rmc-pull-to-refresh",this.distanceToRefresh=50,this.damping=100,this.indicator=o,this.currSt="deactivate",this.dragOnEdge=!1,this._ScreenY=0,this._startScreenY=0,this._lastScreenY=0,this._isMounted=!1,this.triggerPullDownRefresh=t=>{!this.dragOnEdge&&this._isMounted&&(t?(this._lastScreenY=this.distanceToRefresh+1,this.currSt="release",this.setContentStyle(this._lastScreenY)):(this.currSt="finish",this.reset()))},this.init=()=>{const t=this.scrollContainer,i=this.el.querySelector("rmc-pull-to-refresh-content");this.el.appendChild=null==i?void 0:i.appendChild.bind(i),this.el.insertBefore=null==i?void 0:i.insertBefore.bind(i),this.el.replaceChild=null==i?void 0:i.replaceChild.bind(i),this.el.removeChild=null==i?void 0:i.removeChild.bind(i),this._to={touchstart:this.onTouchStart.bind(this,t),touchmove:this.onTouchMove.bind(this,t),touchend:this.onTouchEnd.bind(this,t),touchcancel:this.onTouchEnd.bind(this,t)},Object.keys(this._to).forEach((i=>{t.addEventListener(i,this._to[i],c)}))},this.destroy=()=>{const t=this.scrollContainer;Object.keys(this._to).forEach((i=>{t.removeEventListener(i,this._to[i])}))},this.onTouchStart=(t,i)=>{this._ScreenY=this._startScreenY=i.touches[0].screenY,this._lastScreenY=this._lastScreenY||0},this.isEdge=t=>{const i=this.scrollContainer;return i&&i===document.body?(document.scrollingElement?document.scrollingElement:document.body).scrollTop<=0:t.scrollTop<=0},this.damp=t=>Math.abs(this._lastScreenY)>this.damping?0:t*(.6*(1-Math.abs(this._ScreenY-this._startScreenY)/window.screen.height)),this.onTouchMove=(t,i)=>{const s=i.touches[0].screenY;if(!(this._startScreenY>s)&&this.isEdge(t)){this.dragOnEdge||(this._ScreenY=this._startScreenY=i.touches[0].screenY,this.dragOnEdge=!0),i.cancelable&&i.preventDefault();const t=Math.round(s-this._ScreenY);this._ScreenY=s,this._lastScreenY+=this.damp(t),this.setContentStyle(this._lastScreenY),Math.abs(this._lastScreenY)<this.distanceToRefresh?"deactivate"!==this.currSt&&(this.currSt="deactivate"):"deactivate"===this.currSt&&(this.currSt="activate"),n&&i.changedTouches[0].clientY<0&&this.onTouchEnd()}},this.onTouchEnd=()=>{this.dragOnEdge&&(this.dragOnEdge=!1),"activate"===this.currSt?(this.currSt="release",this.onRefresh.emit(this),this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):"release"===this.currSt?(this._lastScreenY=this.distanceToRefresh+1,this.setContentStyle(this._lastScreenY)):this.reset()},this.reset=()=>{this._lastScreenY=0,this.setContentStyle(0)},this.setContentStyle=t=>{var i,s;this.contentRef&&((i=this.contentRef.style).transform=s=t?`translate3d(0px,${t}px,0)`:"",i.webkitTransform=s,i.MozTransform=s)}}get scrollContainer(){return this.el.parentElement||document.querySelector(".taro_page_stationed")||document.querySelector(".taro_page")||document.querySelector(".taro_router")||document.querySelector(".taro-tabbar__panel")||document.body}statusChange(){if("release"===this.currSt){const t=this.el.closest(".taro_page");t&&t.__page&&t.__page.onPullDownRefresh()}}disconnectedCallback(){this.destroy()}componentDidLoad(){this.init(),this._isMounted=!0,h.eventCenter.on("__taroStartPullDownRefresh",(({successHandler:t,errorHandler:i})=>{try{this.triggerPullDownRefresh(!0),t({errMsg:"startPullDownRefresh: ok"})}catch(t){i({errMsg:"startPullDownRefresh: fail"})}})),h.eventCenter.on("__taroStopPullDownRefresh",(({successHandler:t,errorHandler:i})=>{try{this.triggerPullDownRefresh(!1),t({errMsg:"stopPullDownRefresh: ok"})}catch(t){i({errMsg:"stopPullDownRefresh: fail"})}}))}render(){const t=t=>{const{currSt:i,dragOnEdge:e,prefixCls:r}=this,h=a(t,!e&&`${r}-transition`);return s("div",{class:`${r}-content-wrapper`},s("div",{class:h,ref:t=>{this.contentRef=t}},("activate"===i||"release"===i)&&s("div",{class:`${r}-indicator`},s("div",null),s("div",null),s("div",null)),s("slot",null)))};return this.scrollContainer?t(`${this.prefixCls}-content ${this.prefixCls}-down`):s(e,{class:a(this.prefixCls,`${this.prefixCls}-down`)},t(`${this.prefixCls}-content`))}get el(){return r(this)}static get watchers(){return{currSt:["statusChange"]}}};d.style=".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}";export{d as taro_pull_to_refresh}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as o,H as r}from"./p-8c7cf814.js";let t=class{constructor(o){e(this,o)}componentDidLoad(){console.error("H5 暂不支持 PageMeta 组件!")}render(){return o(r,null)}};export{t as taro_page_meta_core}
|