@tarojs/components 3.5.0-canary.1 → 3.5.0
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/README.md +2 -0
- package/dist/cjs/{index-dd4b7ba3.js → index-13289aba.js} +62 -53
- package/dist/cjs/index-47a1959e.js +34 -0
- package/dist/{esm/index-3c78bcaf.js → cjs/index-f9d21cc5.js} +12 -1
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-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 +3 -3
- package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-components.cjs.js +3 -3
- 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 +3 -3
- package/dist/cjs/taro-input-core.cjs.entry.js +23 -19
- 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 +4 -4
- 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 +80 -4
- package/dist/cjs/taro-picker-view-core.cjs.entry.js +72 -3
- package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +24 -10
- 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 +6 -14
- 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 +15 -18
- package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tabbar.cjs.entry.js +41 -40
- package/dist/cjs/taro-text-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-textarea-core.cjs.entry.js +5 -3
- package/dist/cjs/taro-video-control_3.cjs.entry.js +27868 -224
- package/dist/cjs/taro-view-core.cjs.entry.js +5 -5
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/button/style/index.css +49 -49
- package/dist/collection/components/canvas/canvas.js +1 -1
- package/dist/collection/components/canvas/style/index.css +6 -6
- package/dist/collection/components/checkbox/style/index.css +21 -23
- package/dist/collection/components/image/image.js +1 -1
- package/dist/collection/components/image/style/index.css +7 -4
- package/dist/collection/components/input/index.css +2 -2
- package/dist/collection/components/input/input.js +23 -22
- package/dist/collection/components/navigator/navigator.js +2 -2
- package/dist/collection/components/navigator/{navigator.css → style/index.css} +3 -3
- package/dist/collection/components/picker/style/index.css +2 -1
- package/dist/collection/components/picker-view/picker-view-column.js +218 -4
- package/dist/collection/components/picker-view/picker-view.js +217 -3
- package/dist/collection/components/picker-view/style/column.css +12 -0
- package/dist/collection/components/picker-view/style/index.css +28 -0
- package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +22 -8
- package/dist/collection/components/pull-to-refresh/style/index.css +53 -49
- package/dist/collection/components/rich-text/rich-text.js +1 -1
- package/dist/collection/components/scroll-view/scroll-view.js +3 -11
- package/dist/collection/components/swiper/style/index.css +21 -9
- package/dist/collection/components/swiper/swiper.js +10 -13
- package/dist/collection/components/tabbar/style/index.css +9 -6
- package/dist/collection/components/tabbar/tabbar.js +10 -15
- package/dist/collection/components/text/style/index.css +0 -6
- package/dist/collection/components/textarea/style/index.css +5 -5
- package/dist/collection/components/textarea/textarea.js +3 -1
- package/dist/collection/components/video/style/index.css +88 -109
- package/dist/collection/components/video/utils.js +95 -109
- package/dist/collection/components/video/video-control.js +9 -9
- package/dist/collection/components/video/video.js +57 -9
- package/dist/collection/components/view/style/index.css +3 -5
- package/dist/collection/components/view/view.js +2 -2
- package/dist/collection/components/web-view/style/index.css +1 -1
- package/dist/collection/utils/index.js +23 -83
- package/dist/collection/utils/style.js +10 -0
- package/dist/collection/utils/url.js +67 -0
- package/dist/{cjs/index-b9715722.js → esm/index-1d8e8acd.js} +6 -2
- package/dist/esm/{index-5bd7cbab.js → index-26d8b479.js} +62 -53
- package/dist/esm/index-cad8203e.js +31 -0
- package/dist/esm/loader.js +3 -3
- 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 +3 -3
- package/dist/esm/taro-camera-core.entry.js +1 -1
- package/dist/esm/taro-canvas-core.entry.js +2 -2
- package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
- package/dist/esm/taro-components.js +3 -3
- 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 +3 -3
- package/dist/esm/taro-input-core.entry.js +23 -19
- 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 +4 -4
- 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 +80 -4
- package/dist/esm/taro-picker-view-core.entry.js +72 -3
- package/dist/esm/taro-progress-core.entry.js +1 -1
- package/dist/esm/taro-pull-to-refresh.entry.js +24 -10
- 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 +5 -13
- 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 +12 -15
- package/dist/esm/taro-switch-core.entry.js +1 -1
- package/dist/esm/taro-tabbar.entry.js +41 -40
- package/dist/esm/taro-text-core.entry.js +3 -3
- package/dist/esm/taro-textarea-core.entry.js +5 -3
- package/dist/esm/taro-video-control_3.entry.js +27867 -223
- package/dist/esm/taro-view-core.entry.js +5 -5
- package/dist/esm/taro-voip-room-core.entry.js +1 -1
- package/dist/esm/taro-web-view-core.entry.js +2 -2
- package/dist/esm-es5/index-1d8e8acd.js +7 -0
- package/dist/esm-es5/{index-5bd7cbab.js → index-26d8b479.js} +1 -1
- package/dist/esm-es5/index-cad8203e.js +1 -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 +365 -1
- package/dist/esm-es5/taro-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
- package/dist/taro-components/p-019591c8.system.entry.js +1 -0
- package/dist/taro-components/{p-8db237e0.entry.js → p-060858b1.entry.js} +1 -1
- package/dist/taro-components/{p-964692f7.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-94502fc3.entry.js → p-0ca42006.entry.js} +1 -1
- package/dist/taro-components/{p-3633bb84.entry.js → p-0d0b3677.entry.js} +1 -1
- package/dist/taro-components/{p-336f2b2a.system.entry.js → p-0d1e0e91.system.entry.js} +1 -1
- package/dist/taro-components/p-0ea13d67.system.entry.js +1 -0
- package/dist/taro-components/p-0f42b8a4.entry.js +1 -0
- package/dist/taro-components/{p-cdffee54.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-5f8b5f62.entry.js → p-16aff829.entry.js} +1 -1
- package/dist/taro-components/{p-14dbbb42.entry.js → p-16c1e564.entry.js} +1 -1
- package/dist/taro-components/{p-0c2982fc.system.entry.js → p-178a3adf.system.entry.js} +1 -1
- package/dist/taro-components/p-1e0406ec.system.entry.js +1 -0
- package/dist/taro-components/p-1e516bd0.entry.js +1 -0
- package/dist/taro-components/p-2241b671.system.js +1 -0
- package/dist/taro-components/p-26e9ce75.entry.js +1 -0
- package/dist/taro-components/{p-98b47fc9.system.entry.js → p-2887213d.system.entry.js} +1 -1
- package/dist/taro-components/{p-3334ac67.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-fdd73355.system.entry.js → p-2bd2ea9a.system.entry.js} +1 -1
- package/dist/taro-components/{p-e03fa2d5.system.entry.js → p-2e8a1479.system.entry.js} +1 -1
- package/dist/taro-components/{p-9a618935.system.entry.js → p-36f2c1e1.system.entry.js} +1 -1
- package/dist/taro-components/{p-fd8312e5.system.entry.js → p-372f53d8.system.entry.js} +1 -1
- package/dist/taro-components/{p-cfbdd4e3.system.entry.js → p-3b801a38.system.entry.js} +1 -1
- package/dist/taro-components/p-3b85bb4b.system.entry.js +1 -0
- package/dist/taro-components/{p-59d38db0.entry.js → p-3bb72c08.entry.js} +1 -1
- package/dist/taro-components/{p-15bea37d.entry.js → p-3d3cd72f.entry.js} +1 -1
- package/dist/taro-components/p-3e223f2f.system.entry.js +1 -0
- package/dist/taro-components/p-430d72e8.entry.js +1 -0
- package/dist/taro-components/p-4339ad63.system.entry.js +1 -0
- package/dist/taro-components/p-44a199e4.entry.js +1 -0
- package/dist/taro-components/{p-cfbfeee8.entry.js → p-45e6f8be.entry.js} +1 -1
- package/dist/taro-components/p-46b7f84e.entry.js +1 -0
- package/dist/taro-components/p-4793e6ba.system.entry.js +1 -0
- package/dist/taro-components/p-49954245.system.entry.js +1 -0
- package/dist/taro-components/{p-74540410.entry.js → p-4c890c5d.entry.js} +1 -1
- package/dist/taro-components/p-53244eac.entry.js +1 -0
- package/dist/taro-components/p-5746d7ce.js +1 -0
- package/dist/taro-components/{p-1b790eb0.system.entry.js → p-5c2497a4.system.entry.js} +1 -1
- package/dist/taro-components/{p-df5a19b0.system.entry.js → p-5ff0e954.system.entry.js} +1 -1
- package/dist/taro-components/p-61f225ef.system.js +7 -0
- package/dist/taro-components/p-62608b28.system.entry.js +1 -0
- package/dist/taro-components/{p-0303f9e0.entry.js → p-62c64770.entry.js} +1 -1
- package/dist/taro-components/p-663d1bb9.system.js +1 -0
- package/dist/taro-components/{p-bd3fa355.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-b87cf623.entry.js → p-74013ace.entry.js} +1 -1
- package/dist/taro-components/{p-264b7229.system.entry.js → p-756d56d1.system.entry.js} +1 -1
- package/dist/taro-components/{p-fe156231.system.entry.js → p-75811f84.system.entry.js} +1 -1
- package/dist/taro-components/p-76724e58.js +7 -0
- package/dist/taro-components/{p-1e4f1702.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-7dc268ee.entry.js +1 -0
- package/dist/taro-components/p-7f7aa688.entry.js +1 -0
- package/dist/taro-components/p-80abb865.entry.js +1 -0
- package/dist/taro-components/{p-55b0a30b.entry.js → p-81976128.entry.js} +1 -1
- package/dist/taro-components/p-81dc5b7b.entry.js +1 -0
- package/dist/taro-components/{p-99cb65a6.system.entry.js → p-828efe43.system.entry.js} +1 -1
- package/dist/taro-components/{p-7cdad34e.system.entry.js → p-831ebd02.system.entry.js} +1 -1
- package/dist/taro-components/{p-0ee69803.entry.js → p-832cc63a.entry.js} +1 -1
- package/dist/taro-components/{p-b2d01686.system.js → p-83adb645.system.js} +1 -1
- package/dist/taro-components/p-841a2031.system.entry.js +365 -0
- package/dist/taro-components/{p-b6d6c744.entry.js → p-86205110.entry.js} +1 -1
- package/dist/taro-components/p-88063d40.system.entry.js +1 -0
- package/dist/taro-components/{p-703dfad8.system.entry.js → p-8b23a081.system.entry.js} +1 -1
- package/dist/taro-components/{p-ffe63ce9.system.entry.js → p-8b30e18c.system.entry.js} +1 -1
- package/dist/taro-components/p-8ba35b31.system.entry.js +1 -0
- package/dist/taro-components/p-8ead6b19.entry.js +1 -0
- package/dist/taro-components/{p-ebf5b2eb.system.entry.js → p-8f466248.system.entry.js} +1 -1
- package/dist/taro-components/{p-cea9a198.system.entry.js → p-9130dfca.system.entry.js} +1 -1
- package/dist/taro-components/{p-8a5e67cb.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-3643d8f7.system.entry.js → p-9b90554b.system.entry.js} +1 -1
- package/dist/taro-components/{p-06af26db.system.entry.js → p-9ce624a4.system.entry.js} +1 -1
- package/dist/taro-components/{p-7423fc3b.system.entry.js → p-a36bfe97.system.entry.js} +1 -1
- package/dist/taro-components/p-a4721ae0.js +1 -0
- package/dist/taro-components/{p-e6298500.entry.js → p-a74f4c26.entry.js} +1 -1
- package/dist/taro-components/{p-7d848382.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-8b2bf902.system.entry.js → p-a90bfe9d.system.entry.js} +1 -1
- package/dist/taro-components/{p-e2f6448d.system.entry.js → p-a9ab6434.system.entry.js} +1 -1
- package/dist/taro-components/p-abb9c7d0.entry.js +1 -0
- package/dist/taro-components/{p-99ed3ed2.system.entry.js → p-ac398961.system.entry.js} +1 -1
- package/dist/taro-components/{p-4dbed323.entry.js → p-ac56ffed.entry.js} +1 -1
- package/dist/taro-components/{p-fc4939c6.system.entry.js → p-baa5019a.system.entry.js} +1 -1
- package/dist/taro-components/{p-fb0959c1.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-8f90fca9.system.entry.js → p-ca7ad427.system.entry.js} +1 -1
- package/dist/taro-components/{p-8bc82aaa.entry.js → p-ce0489a6.entry.js} +1 -1
- package/dist/taro-components/{p-9d0ab7c4.entry.js → p-ce46f79d.entry.js} +1 -1
- package/dist/taro-components/{p-2d2f8064.entry.js → p-cfebd931.entry.js} +1 -1
- package/dist/taro-components/p-d2b6b891.entry.js +1 -0
- package/dist/taro-components/{p-9fc88fc1.system.entry.js → p-d56c45bf.system.entry.js} +1 -1
- package/dist/taro-components/{p-06bffead.entry.js → p-d636e22e.entry.js} +1 -1
- package/dist/taro-components/{p-b75d8a65.entry.js → p-d6c8f31d.entry.js} +1 -1
- package/dist/taro-components/p-d7e13592.entry.js +365 -0
- package/dist/taro-components/{p-0472e474.system.entry.js → p-de573939.system.entry.js} +1 -1
- package/dist/taro-components/p-e01af6c8.entry.js +1 -0
- package/dist/taro-components/{p-865c21b5.entry.js → p-e7dcb4d5.entry.js} +1 -1
- package/dist/taro-components/{p-527a38ee.system.entry.js → p-ec59899b.system.entry.js} +1 -1
- package/dist/taro-components/{p-d1c2481c.system.entry.js → p-f1da4ed7.system.entry.js} +1 -1
- package/dist/taro-components/p-fc226017.entry.js +1 -0
- package/dist/taro-components/{p-17039974.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/image/image.d.ts +1 -1
- package/dist/types/components/input/input.d.ts +1 -3
- package/dist/types/components/picker-view/picker-view-column.d.ts +15 -1
- package/dist/types/components/picker-view/picker-view.d.ts +24 -0
- package/dist/types/components/scroll-view/scroll-view.d.ts +1 -1
- package/dist/types/components/swiper/swiper.d.ts +2 -2
- package/dist/types/components/tabbar/tabbar.d.ts +3 -2
- package/dist/types/components/video/utils.d.ts +6 -0
- package/dist/types/components/video/video-control.d.ts +2 -2
- package/dist/types/components.d.ts +22 -0
- package/dist/types/home/runner/work/taro/taro/packages/taro-components/.stencil/types/props.d.ts +62 -0
- package/dist/types/props.js +1 -0
- package/dist/types/stencil-public-runtime.d.ts +6 -4
- package/dist/types/utils/index.d.ts +4 -8
- package/dist/types/utils/style.d.ts +1 -0
- package/dist/types/utils/url.d.ts +6 -0
- package/dist-h5/react/components/index.js +63 -0
- package/dist-h5/react/components/input.js +2 -2
- package/dist-h5/react/index.js +1 -46
- package/dist-h5/react/utils/reactify-wc.js +8 -5
- package/dist-h5/vue/components/index.js +60 -0
- package/dist-h5/vue/components/picker.js +2 -2
- package/dist-h5/vue/components/scroll-view.js +2 -2
- package/dist-h5/vue/createComponent.js +1 -0
- package/dist-h5/vue/createFormsComponent.js +3 -3
- package/dist-h5/vue/index.js +23 -26
- package/dist-h5/vue/mixins/listeners.js +2 -2
- package/dist-h5/vue3/components/icon.js +3 -0
- package/dist-h5/vue3/components/image.js +3 -0
- package/dist-h5/vue3/components/index.js +64 -0
- package/dist-h5/vue3/components/scroll-view.js +3 -0
- package/dist-h5/vue3/components/text.js +3 -0
- package/dist-h5/vue3/createComponent.js +3 -0
- package/dist-h5/vue3/createFormsComponent.js +6 -3
- package/dist-h5/vue3/forwardRef.js +11 -0
- package/dist-h5/vue3/index.js +12 -29
- package/package.json +37 -19
- package/types/Ad.d.ts +15 -15
- package/types/Audio.d.ts +3 -3
- package/types/Block.d.ts +5 -2
- package/types/Button.d.ts +50 -34
- package/types/Camera.d.ts +20 -20
- package/types/Canvas.d.ts +1 -1
- package/types/Checkbox.d.ts +5 -5
- package/types/CheckboxGroup.d.ts +4 -4
- package/types/CoverImage.d.ts +1 -1
- package/types/CoverView.d.ts +1 -1
- package/types/CustomWrapper.d.ts +2 -2
- package/types/Editor.d.ts +10 -10
- package/types/Form.d.ts +8 -8
- package/types/FunctionalPageNavigator.d.ts +4 -4
- package/types/Image.d.ts +2 -2
- package/types/Input.d.ts +41 -37
- package/types/KeyboardAccessory.d.ts +21 -8
- package/types/Label.d.ts +2 -2
- package/types/LivePlayer.d.ts +18 -18
- package/types/LivePusher.d.ts +14 -14
- package/types/Map.d.ts +33 -33
- package/types/MovableArea.d.ts +1 -1
- package/types/MovableView.d.ts +18 -18
- package/types/Navigator.d.ts +7 -7
- package/types/OfficialAccount.d.ts +7 -7
- package/types/OpenData.d.ts +10 -10
- package/types/PageContainer.d.ts +22 -22
- package/types/Picker.d.ts +5 -5
- package/types/PickerViewColumn.d.ts +5 -3
- package/types/Progress.d.ts +1 -1
- package/types/Radio.d.ts +6 -6
- package/types/RadioGroup.d.ts +2 -2
- package/types/RichText.d.ts +7 -2
- package/types/ScrollView.d.ts +9 -9
- package/types/ShareElement.d.ts +196 -3
- package/types/Slider.d.ts +1 -1
- package/types/Slot.d.ts +2 -2
- package/types/Swiper.d.ts +7 -7
- package/types/Switch.d.ts +3 -3
- package/types/Text.d.ts +2 -2
- package/types/Textarea.d.ts +21 -21
- package/types/Video.d.ts +23 -23
- package/types/View.d.ts +4 -4
- package/types/VoipRoom.d.ts +5 -5
- package/types/WebView.d.ts +6 -6
- package/types/common.d.ts +4 -2
- package/types/index.d.ts +53 -52
- package/types/index.vue3.d.ts +157 -0
- package/types/props.ts +72 -0
- package/virtual-list/memoize.js +1 -0
- package/virtual-list/react/createListComponent.js +4 -3
- package/virtual-list/react/index.js +2 -1
- package/virtual-list/timer.js +1 -1
- package/virtual-list/vue/index.js +1 -1
- package/vue3.d.ts +3 -0
- package/dist/esm-es5/index-3c78bcaf.js +0 -7
- package/dist/taro-components/p-04818461.system.entry.js +0 -1
- package/dist/taro-components/p-065ec61d.entry.js +0 -1
- package/dist/taro-components/p-11932905.entry.js +0 -1
- package/dist/taro-components/p-17cf8b5b.entry.js +0 -1
- package/dist/taro-components/p-2dc57c71.system.entry.js +0 -1
- package/dist/taro-components/p-32937866.entry.js +0 -1
- package/dist/taro-components/p-33ee636a.system.js +0 -1
- package/dist/taro-components/p-37cfdd8f.js +0 -7
- package/dist/taro-components/p-3c0230ba.entry.js +0 -1
- package/dist/taro-components/p-3dfb1807.entry.js +0 -1
- package/dist/taro-components/p-431197bc.entry.js +0 -1
- package/dist/taro-components/p-43de2f12.system.entry.js +0 -1
- package/dist/taro-components/p-50066d5e.system.entry.js +0 -1
- package/dist/taro-components/p-554e1039.entry.js +0 -1
- package/dist/taro-components/p-56618f09.entry.js +0 -1
- package/dist/taro-components/p-5c420456.entry.js +0 -1
- package/dist/taro-components/p-63ff7fa7.entry.js +0 -1
- package/dist/taro-components/p-7721e046.entry.js +0 -1
- package/dist/taro-components/p-83dedaa2.entry.js +0 -1
- package/dist/taro-components/p-92e95d3f.entry.js +0 -1
- package/dist/taro-components/p-94c20f60.system.js +0 -7
- package/dist/taro-components/p-95529dc0.entry.js +0 -1
- package/dist/taro-components/p-9dc9c615.system.entry.js +0 -1
- package/dist/taro-components/p-9eb7dfa8.entry.js +0 -1
- package/dist/taro-components/p-a1423df9.entry.js +0 -1
- package/dist/taro-components/p-abe415b4.system.entry.js +0 -1
- package/dist/taro-components/p-b15d0302.system.entry.js +0 -1
- package/dist/taro-components/p-b55fedc1.entry.js +0 -1
- package/dist/taro-components/p-b9280444.entry.js +0 -1
- package/dist/taro-components/p-c218c298.entry.js +0 -1
- package/dist/taro-components/p-c362734b.entry.js +0 -1
- package/dist/taro-components/p-cb395e7d.entry.js +0 -1
- package/dist/taro-components/p-cc818a13.entry.js +0 -1
- package/dist/taro-components/p-cf55a63c.entry.js +0 -1
- package/dist/taro-components/p-d394a61f.system.entry.js +0 -1
- package/dist/taro-components/p-d567b95e.entry.js +0 -1
- package/dist/taro-components/p-d5971476.entry.js +0 -1
- package/dist/taro-components/p-e0af1d0d.system.entry.js +0 -1
- package/dist/taro-components/p-e1040131.entry.js +0 -1
- package/dist/taro-components/p-e27798a4.entry.js +0 -1
- package/dist/taro-components/p-f05e1558.js +0 -1
- package/dist/taro-components/p-fb2252b7.system.entry.js +0 -1
- package/dist/taro-components/p-fcc1c676.system.entry.js +0 -1
- package/dist/taro-components/p-fd0d1168.system.entry.js +0 -1
- package/dist/taro-components/p-fde3a009.system.entry.js +0 -1
- package/dist-h5/vue/simpleComponents.js +0 -19
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-13289aba.js');
|
|
6
|
+
const index$1 = require('./index-f9d21cc5.js');
|
|
7
7
|
|
|
8
|
-
const indexCss = "body,html{-webkit-
|
|
8
|
+
const indexCss = "body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";
|
|
9
9
|
|
|
10
10
|
let View = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -51,8 +51,8 @@ let View = class {
|
|
|
51
51
|
componentDidRender() {
|
|
52
52
|
const el = this.el;
|
|
53
53
|
el.childNodes.forEach(item => {
|
|
54
|
-
if (item.nodeType === document.COMMENT_NODE)
|
|
55
|
-
|
|
54
|
+
if (item.nodeType === document.COMMENT_NODE && item["s-cn"])
|
|
55
|
+
item["s-cn"] = false;
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-13289aba.js');
|
|
6
6
|
|
|
7
|
-
const indexCss = "iframe{border:none}.taro-webview{position:fixed;top:0;bottom:0;width:100%;height:100
|
|
7
|
+
const indexCss = "iframe{border:none}.taro-webview{position:fixed;top:0;bottom:0;z-index:999;width:100%;height:100%}";
|
|
8
8
|
|
|
9
9
|
let WebView = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
taro-button-core {
|
|
2
|
-
position: relative;
|
|
3
2
|
display: block;
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
position: relative;
|
|
5
|
+
box-sizing: border-box;
|
|
4
6
|
margin-left: auto;
|
|
5
7
|
margin-right: auto;
|
|
6
8
|
padding-left: 14px;
|
|
7
9
|
padding-right: 14px;
|
|
8
|
-
|
|
9
|
-
font-size: 18px;
|
|
10
|
-
text-align: center;
|
|
11
|
-
text-decoration: none;
|
|
12
|
-
color: #000000;
|
|
13
|
-
background-color: #F8F8F8;
|
|
14
|
-
line-height: 2.55555556;
|
|
10
|
+
border-width: 0;
|
|
15
11
|
border-radius: 5px;
|
|
16
|
-
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
17
|
-
overflow: hidden;
|
|
18
12
|
width: 100%;
|
|
19
|
-
|
|
13
|
+
appearance: none;
|
|
20
14
|
outline: 0;
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
15
|
+
background-color: #f8f8f8;
|
|
16
|
+
line-height: 2.55555556;
|
|
17
|
+
text-decoration: none;
|
|
18
|
+
text-align: center;
|
|
19
|
+
font-size: 18px;
|
|
20
|
+
color: #000;
|
|
21
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
26
22
|
}
|
|
27
23
|
taro-button-core:focus {
|
|
28
24
|
outline: 0;
|
|
29
25
|
}
|
|
30
|
-
taro-button-core:
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
26
|
+
taro-button-core:not([disabled]):active {
|
|
27
|
+
background-color: #dedede;
|
|
28
|
+
color: rgba(0, 0, 0, 0.6);
|
|
29
|
+
}
|
|
30
|
+
taro-button-core::after {
|
|
34
31
|
position: absolute;
|
|
35
|
-
top: 0;
|
|
36
32
|
left: 0;
|
|
33
|
+
top: 0;
|
|
34
|
+
box-sizing: border-box;
|
|
37
35
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
36
|
+
border-radius: 10px;
|
|
37
|
+
width: 200%;
|
|
38
|
+
height: 200%;
|
|
39
|
+
content: " ";
|
|
38
40
|
transform: scale(0.5);
|
|
39
41
|
transform-origin: 0 0;
|
|
40
|
-
box-sizing: border-box;
|
|
41
|
-
border-radius: 10px;
|
|
42
42
|
}
|
|
43
43
|
taro-button-core + taro-button-core {
|
|
44
44
|
margin-top: 15px;
|
|
45
45
|
}
|
|
46
46
|
taro-button-core[type=default] {
|
|
47
|
-
color: #
|
|
48
|
-
|
|
47
|
+
background-color: #f8f8f8;
|
|
48
|
+
color: #000;
|
|
49
49
|
}
|
|
50
50
|
taro-button-core[type=default]:not([disabled]):visited {
|
|
51
|
-
color: #
|
|
51
|
+
color: #000;
|
|
52
52
|
}
|
|
53
53
|
taro-button-core[type=default]:not([disabled]):active {
|
|
54
|
+
background-color: #dedede;
|
|
54
55
|
color: rgba(0, 0, 0, 0.6);
|
|
55
|
-
background-color: #DEDEDE;
|
|
56
56
|
}
|
|
57
57
|
taro-button-core[size=mini] {
|
|
58
|
-
width: auto;
|
|
59
58
|
display: inline-block;
|
|
60
59
|
padding: 0 1.32em;
|
|
60
|
+
width: auto;
|
|
61
61
|
line-height: 2.3;
|
|
62
62
|
font-size: 13px;
|
|
63
63
|
}
|
|
@@ -69,14 +69,14 @@ taro-button-core[disabled] {
|
|
|
69
69
|
color: rgba(255, 255, 255, 0.6);
|
|
70
70
|
}
|
|
71
71
|
taro-button-core[disabled][type=default] {
|
|
72
|
+
background-color: #f7f7f7;
|
|
72
73
|
color: rgba(0, 0, 0, 0.3);
|
|
73
|
-
background-color: #F7F7F7;
|
|
74
74
|
}
|
|
75
75
|
taro-button-core[disabled][type=primary] {
|
|
76
|
-
background-color: #
|
|
76
|
+
background-color: #9ed99d;
|
|
77
77
|
}
|
|
78
78
|
taro-button-core[disabled][type=warn] {
|
|
79
|
-
background-color: #
|
|
79
|
+
background-color: #ec8b89;
|
|
80
80
|
}
|
|
81
81
|
taro-button-core[loading] .weui-loading {
|
|
82
82
|
margin: -0.2em 0.34em 0 0;
|
|
@@ -85,64 +85,64 @@ taro-button-core[loading][type=primary], taro-button-core[loading][type=warn] {
|
|
|
85
85
|
color: rgba(255, 255, 255, 0.6);
|
|
86
86
|
}
|
|
87
87
|
taro-button-core[loading][type=primary] {
|
|
88
|
-
background-color: #
|
|
88
|
+
background-color: #179b16;
|
|
89
89
|
}
|
|
90
90
|
taro-button-core[loading][type=warn] {
|
|
91
|
-
background-color: #
|
|
91
|
+
background-color: #ce3c39;
|
|
92
92
|
}
|
|
93
93
|
taro-button-core[plain][type=primary] {
|
|
94
|
-
color: #1aad19;
|
|
95
94
|
border: 1px solid #1aad19;
|
|
95
|
+
color: #1aad19;
|
|
96
96
|
}
|
|
97
97
|
taro-button-core[plain][type=primary]:not([disabled]):active {
|
|
98
|
-
color: rgba(26, 173, 25, 0.6);
|
|
99
98
|
border-color: rgba(26, 173, 25, 0.6);
|
|
100
99
|
background-color: transparent;
|
|
100
|
+
color: rgba(26, 173, 25, 0.6);
|
|
101
101
|
}
|
|
102
|
-
taro-button-core[plain][type=primary]
|
|
102
|
+
taro-button-core[plain][type=primary]::after {
|
|
103
103
|
border-width: 0;
|
|
104
104
|
}
|
|
105
105
|
taro-button-core[plain], taro-button-core[plain][type=default] {
|
|
106
|
-
color: #353535;
|
|
107
106
|
border: 1px solid #353535;
|
|
107
|
+
color: #353535;
|
|
108
108
|
}
|
|
109
109
|
taro-button-core[plain]:not([disabled]):active, taro-button-core[plain][type=default]:not([disabled]):active {
|
|
110
|
-
color: rgba(53, 53, 53, 0.6);
|
|
111
110
|
border-color: rgba(53, 53, 53, 0.6);
|
|
112
111
|
background-color: transparent;
|
|
112
|
+
color: rgba(53, 53, 53, 0.6);
|
|
113
113
|
}
|
|
114
|
-
taro-button-core[plain]
|
|
114
|
+
taro-button-core[plain]::after, taro-button-core[plain][type=default]::after {
|
|
115
115
|
border-width: 0;
|
|
116
116
|
}
|
|
117
117
|
taro-button-core[type=primary] {
|
|
118
|
+
background-color: #1aad19;
|
|
118
119
|
color: #fff;
|
|
119
|
-
background-color: #1AAD19;
|
|
120
120
|
}
|
|
121
121
|
taro-button-core[type=primary]:not([disabled]):visited {
|
|
122
|
-
color: #
|
|
122
|
+
color: #fff;
|
|
123
123
|
}
|
|
124
124
|
taro-button-core[type=primary]:not([disabled]):active {
|
|
125
|
+
background-color: #179b16;
|
|
125
126
|
color: rgba(255, 255, 255, 0.6);
|
|
126
|
-
background-color: #179B16;
|
|
127
127
|
}
|
|
128
128
|
taro-button-core[type=warn] {
|
|
129
|
+
background-color: #e64340;
|
|
129
130
|
color: #fff;
|
|
130
|
-
background-color: #E64340;
|
|
131
131
|
}
|
|
132
132
|
taro-button-core[type=warn]:not([disabled]):visited {
|
|
133
|
-
color: #
|
|
133
|
+
color: #fff;
|
|
134
134
|
}
|
|
135
135
|
taro-button-core[type=warn]:not([disabled]):active {
|
|
136
|
+
background-color: #ce3c39;
|
|
136
137
|
color: rgba(255, 255, 255, 0.6);
|
|
137
|
-
background-color: #CE3C39;
|
|
138
138
|
}
|
|
139
139
|
taro-button-core[plain][disabled] {
|
|
140
|
-
color: rgba(0, 0, 0, 0.3);
|
|
141
140
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
142
|
-
background-color: #
|
|
141
|
+
background-color: #f7f7f7;
|
|
142
|
+
color: rgba(0, 0, 0, 0.3);
|
|
143
143
|
}
|
|
144
144
|
taro-button-core[plain][disabled][type=primary] {
|
|
145
|
-
color: rgba(0, 0, 0, 0.3);
|
|
146
145
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
147
|
-
background-color: #
|
|
146
|
+
background-color: #f7f7f7;
|
|
147
|
+
color: rgba(0, 0, 0, 0.3);
|
|
148
148
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
taro-canvas-core {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
width: 300px;
|
|
5
|
-
height: 150px;
|
|
6
|
-
}
|
|
1
|
+
taro-canvas-core {
|
|
2
|
+
display: block;
|
|
3
|
+
position: relative;
|
|
4
|
+
width: 300px;
|
|
5
|
+
height: 150px;
|
|
6
|
+
}
|
|
@@ -1,41 +1,39 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
1
|
.taro-checkbox {
|
|
3
|
-
position: relative;
|
|
4
2
|
display: inline-block;
|
|
3
|
+
position: relative;
|
|
5
4
|
}
|
|
6
5
|
.taro-checkbox_checked {
|
|
7
6
|
display: inline-block;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
appearance: none;
|
|
11
|
-
outline: 0;
|
|
12
|
-
font-size: 23px;
|
|
7
|
+
position: relative;
|
|
8
|
+
top: 5px;
|
|
13
9
|
border: 1px solid #d1d1d1;
|
|
14
|
-
background-color: #ffffff;
|
|
15
10
|
border-radius: 3px;
|
|
16
|
-
color: #1AAD19;
|
|
17
11
|
width: 23px;
|
|
18
12
|
height: 23px;
|
|
19
|
-
|
|
13
|
+
min-height: 0;
|
|
14
|
+
appearance: none;
|
|
15
|
+
outline: 0;
|
|
16
|
+
background-color: #fff;
|
|
20
17
|
vertical-align: 0;
|
|
21
|
-
|
|
18
|
+
font-size: 23px;
|
|
19
|
+
color: #1aad19;
|
|
22
20
|
}
|
|
23
21
|
.taro-checkbox_checked:checked::before {
|
|
24
|
-
font-family: "weui";
|
|
25
|
-
font-style: normal;
|
|
26
|
-
font-weight: normal;
|
|
27
|
-
font-variant: normal;
|
|
28
|
-
text-transform: none;
|
|
29
|
-
text-align: center;
|
|
30
|
-
speak: none;
|
|
31
22
|
display: inline-block;
|
|
23
|
+
position: absolute;
|
|
24
|
+
left: 50%;
|
|
25
|
+
top: 50%;
|
|
32
26
|
vertical-align: middle;
|
|
33
27
|
text-decoration: inherit;
|
|
34
|
-
|
|
35
|
-
|
|
28
|
+
text-align: center;
|
|
29
|
+
text-transform: none;
|
|
30
|
+
font-family: weui;
|
|
31
|
+
font-style: normal;
|
|
32
|
+
font-weight: normal;
|
|
33
|
+
font-variant: normal;
|
|
36
34
|
font-size: inherit;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
left: 50%;
|
|
35
|
+
color: inherit;
|
|
36
|
+
content: "\ea08";
|
|
40
37
|
transform: translate(-50%, -48%) scale(0.73);
|
|
38
|
+
speak: none;
|
|
41
39
|
}
|
|
@@ -73,7 +73,7 @@ export class Image {
|
|
|
73
73
|
"mutable": false,
|
|
74
74
|
"complexType": {
|
|
75
75
|
"original": "Mode",
|
|
76
|
-
"resolved": "\"aspectFill\" | \"aspectFit\" | \"bottom left\" | \"bottom right\" | \"bottom\" | \"center\" | \"left\" | \"right\" | \"scaleToFill\" | \"top left\" | \"top right\" | \"top\" | \"widthFix\"",
|
|
76
|
+
"resolved": "\"aspectFill\" | \"aspectFit\" | \"bottom left\" | \"bottom right\" | \"bottom\" | \"center\" | \"heightFix\" | \"left\" | \"right\" | \"scaleToFill\" | \"top left\" | \"top right\" | \"top\" | \"widthFix\"",
|
|
77
77
|
"references": {
|
|
78
78
|
"Mode": {
|
|
79
79
|
"location": "local"
|
|
@@ -6,9 +6,9 @@ taro-image-core {
|
|
|
6
6
|
display: inline-block;
|
|
7
7
|
overflow: hidden;
|
|
8
8
|
position: relative;
|
|
9
|
-
font-size: 0;
|
|
10
9
|
width: auto;
|
|
11
10
|
height: auto;
|
|
11
|
+
font-size: 0;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.taro-img.taro-img__widthfix {
|
|
@@ -24,8 +24,8 @@ taro-image-core {
|
|
|
24
24
|
}
|
|
25
25
|
.taro-img__mode-aspectfill {
|
|
26
26
|
position: absolute;
|
|
27
|
-
top: 50%;
|
|
28
27
|
left: 50%;
|
|
28
|
+
top: 50%;
|
|
29
29
|
transform: translate(-50%, -50%);
|
|
30
30
|
}
|
|
31
31
|
.taro-img__mode-aspectfill--width {
|
|
@@ -39,21 +39,24 @@ taro-image-core {
|
|
|
39
39
|
.taro-img__mode-widthfix {
|
|
40
40
|
width: 100%;
|
|
41
41
|
}
|
|
42
|
+
.taro-img__mode-heightfix {
|
|
43
|
+
height: 100%;
|
|
44
|
+
}
|
|
42
45
|
.taro-img__mode-top {
|
|
43
46
|
width: 100%;
|
|
44
47
|
}
|
|
45
48
|
.taro-img__mode-bottom {
|
|
46
|
-
width: 100%;
|
|
47
49
|
position: absolute;
|
|
48
50
|
bottom: 0;
|
|
51
|
+
width: 100%;
|
|
49
52
|
}
|
|
50
53
|
.taro-img__mode-left {
|
|
51
54
|
height: 100%;
|
|
52
55
|
}
|
|
53
56
|
.taro-img__mode-right {
|
|
54
57
|
position: absolute;
|
|
55
|
-
height: 100%;
|
|
56
58
|
right: 0;
|
|
59
|
+
height: 100%;
|
|
57
60
|
}
|
|
58
61
|
.taro-img__mode-topright {
|
|
59
62
|
position: absolute;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, h, Prop, Event, Element,
|
|
1
|
+
import { Component, h, Prop, Event, Element, Watch } from '@stencil/core';
|
|
2
2
|
function getTrueType(type, confirmType, password) {
|
|
3
3
|
if (confirmType === 'search')
|
|
4
4
|
type = 'search';
|
|
@@ -50,7 +50,7 @@ export class Input {
|
|
|
50
50
|
// }
|
|
51
51
|
// )
|
|
52
52
|
// }
|
|
53
|
-
this.
|
|
53
|
+
this.value = value;
|
|
54
54
|
this.onInput.emit({
|
|
55
55
|
value,
|
|
56
56
|
cursor: value.length
|
|
@@ -81,7 +81,11 @@ export class Input {
|
|
|
81
81
|
});
|
|
82
82
|
if (this.isOnPaste) {
|
|
83
83
|
this.isOnPaste = false;
|
|
84
|
-
this.
|
|
84
|
+
this.value = e.target.value;
|
|
85
|
+
this.onInput.emit({
|
|
86
|
+
value: e.target.value,
|
|
87
|
+
cursor: e.target.value.length
|
|
88
|
+
});
|
|
85
89
|
}
|
|
86
90
|
};
|
|
87
91
|
this.handleKeyDown = (e) => {
|
|
@@ -101,26 +105,28 @@ export class Input {
|
|
|
101
105
|
return;
|
|
102
106
|
if (e.type === 'compositionend') {
|
|
103
107
|
this.isOnComposition = false;
|
|
104
|
-
this.
|
|
108
|
+
this.value = e.target.value;
|
|
109
|
+
this.onInput.emit({
|
|
110
|
+
value: e.target.value,
|
|
111
|
+
cursor: e.target.value.length
|
|
112
|
+
});
|
|
105
113
|
}
|
|
106
114
|
else {
|
|
107
115
|
this.isOnComposition = true;
|
|
108
116
|
}
|
|
109
117
|
};
|
|
110
118
|
}
|
|
111
|
-
watchHandler(newValue, oldValue) {
|
|
112
|
-
if (newValue !== oldValue) {
|
|
113
|
-
this._value = newValue;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
119
|
watchFocus(newValue, oldValue) {
|
|
117
120
|
var _a;
|
|
118
121
|
if (!oldValue && newValue) {
|
|
119
122
|
(_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.focus();
|
|
120
123
|
}
|
|
121
124
|
}
|
|
122
|
-
|
|
123
|
-
|
|
125
|
+
watchValue(newValue) {
|
|
126
|
+
const value = fixControlledValue(newValue);
|
|
127
|
+
if (this.inputRef && this.inputRef.value !== value) {
|
|
128
|
+
this.inputRef.value = value;
|
|
129
|
+
}
|
|
124
130
|
}
|
|
125
131
|
componentDidLoad() {
|
|
126
132
|
var _a, _b, _c;
|
|
@@ -136,9 +142,7 @@ export class Input {
|
|
|
136
142
|
}
|
|
137
143
|
Object.defineProperty(this.el, 'value', {
|
|
138
144
|
get: () => { var _a; return (_a = this.inputRef) === null || _a === void 0 ? void 0 : _a.value; },
|
|
139
|
-
set: value =>
|
|
140
|
-
this._value = value;
|
|
141
|
-
},
|
|
145
|
+
set: value => (this.value = value),
|
|
142
146
|
configurable: true
|
|
143
147
|
});
|
|
144
148
|
}
|
|
@@ -149,10 +153,10 @@ export class Input {
|
|
|
149
153
|
}
|
|
150
154
|
}
|
|
151
155
|
render() {
|
|
152
|
-
const {
|
|
156
|
+
const { value, type, password, placeholder, autoFocus, disabled, maxlength, confirmType, name, nativeProps } = this;
|
|
153
157
|
return (h("input", Object.assign({ ref: input => {
|
|
154
158
|
this.inputRef = input;
|
|
155
|
-
}, class: 'weui-input', value: fixControlledValue(
|
|
159
|
+
}, class: 'weui-input', value: fixControlledValue(value), type: getTrueType(type, confirmType, password), placeholder: placeholder, autoFocus: autoFocus, disabled: disabled, maxlength: maxlength, name: name, onInput: this.handleInput, onFocus: this.handleFocus, onBlur: this.handleBlur, onChange: this.handleChange, onKeyDown: this.handleKeyDown, onPaste: this.handlePaste, onCompositionStart: this.handleComposition, onCompositionEnd: this.handleComposition }, nativeProps)));
|
|
156
160
|
}
|
|
157
161
|
static get is() { return "taro-input-core"; }
|
|
158
162
|
static get originalStyleUrls() { return {
|
|
@@ -337,9 +341,6 @@ export class Input {
|
|
|
337
341
|
"defaultValue": "{}"
|
|
338
342
|
}
|
|
339
343
|
}; }
|
|
340
|
-
static get states() { return {
|
|
341
|
-
"_value": {}
|
|
342
|
-
}; }
|
|
343
344
|
static get events() { return [{
|
|
344
345
|
"method": "onInput",
|
|
345
346
|
"name": "input",
|
|
@@ -448,10 +449,10 @@ export class Input {
|
|
|
448
449
|
}]; }
|
|
449
450
|
static get elementRef() { return "el"; }
|
|
450
451
|
static get watchers() { return [{
|
|
451
|
-
"propName": "value",
|
|
452
|
-
"methodName": "watchHandler"
|
|
453
|
-
}, {
|
|
454
452
|
"propName": "autoFocus",
|
|
455
453
|
"methodName": "watchFocus"
|
|
454
|
+
}, {
|
|
455
|
+
"propName": "value",
|
|
456
|
+
"methodName": "watchValue"
|
|
456
457
|
}]; }
|
|
457
458
|
}
|
|
@@ -79,10 +79,10 @@ export class Navigator {
|
|
|
79
79
|
}
|
|
80
80
|
static get is() { return "taro-navigator-core"; }
|
|
81
81
|
static get originalStyleUrls() { return {
|
|
82
|
-
"$": ["
|
|
82
|
+
"$": ["./style/index.scss"]
|
|
83
83
|
}; }
|
|
84
84
|
static get styleUrls() { return {
|
|
85
|
-
"$": ["
|
|
85
|
+
"$": ["./style/index.css"]
|
|
86
86
|
}; }
|
|
87
87
|
static get properties() { return {
|
|
88
88
|
"hoverClass": {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
.navigator-hover {
|
|
2
|
-
background: #efefef;
|
|
3
|
-
}
|
|
1
|
+
.navigator-hover {
|
|
2
|
+
background: #efefef;
|
|
3
|
+
}
|