@tarojs/components 3.5.0-alpha.2 → 3.5.0-alpha.5
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-dd4b7ba3.js → index-4495e5cf.js} +89 -54
- package/dist/{esm/index-3c78bcaf.js → cjs/index-dffbd352.js} +12 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/taro-ad-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-block-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-button-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-camera-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +4 -4
- package/dist/cjs/taro-components.cjs.js +2 -2
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-editor-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-form-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-icon-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-image-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-label-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-live-player-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-map-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-match-media-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-movable-area-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-movable-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-navigator-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-official-account-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-page-container-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +4 -4
- package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-picker-view-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-progress-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +3 -3
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +3 -3
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-share-element-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-slider-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-slot-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +4 -4
- package/dist/cjs/taro-switch-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-tabbar.cjs.entry.js +3 -3
- package/dist/cjs/taro-text-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-textarea-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-video-control_3.cjs.entry.js +27677 -26
- package/dist/cjs/taro-view-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/checkbox/style/index.css +1 -2
- package/dist/collection/components/video/utils.js +4 -3
- package/dist/collection/components/video/video-control.js +6 -6
- package/dist/collection/components/video/video.js +47 -7
- package/dist/esm/{index-5bd7cbab.js → index-789b3db7.js} +89 -54
- package/dist/{cjs/index-b9715722.js → esm/index-cd1a2d33.js} +6 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/taro-ad-core.entry.js +2 -2
- package/dist/esm/taro-ad-custom-core.entry.js +2 -2
- package/dist/esm/taro-audio-core.entry.js +2 -2
- package/dist/esm/taro-block-core.entry.js +2 -2
- package/dist/esm/taro-button-core.entry.js +3 -3
- package/dist/esm/taro-camera-core.entry.js +2 -2
- package/dist/esm/taro-canvas-core.entry.js +2 -2
- package/dist/esm/taro-checkbox-core_2.entry.js +4 -4
- package/dist/esm/taro-components.js +2 -2
- package/dist/esm/taro-cover-image-core.entry.js +2 -2
- package/dist/esm/taro-cover-view-core.entry.js +3 -3
- package/dist/esm/taro-custom-wrapper-core.entry.js +2 -2
- package/dist/esm/taro-editor-core.entry.js +2 -2
- package/dist/esm/taro-form-core.entry.js +2 -2
- package/dist/esm/taro-functional-page-navigator-core.entry.js +2 -2
- package/dist/esm/taro-icon-core.entry.js +3 -3
- package/dist/esm/taro-image-core.entry.js +3 -3
- package/dist/esm/taro-input-core.entry.js +2 -2
- package/dist/esm/taro-keyboard-accessory-core.entry.js +2 -2
- package/dist/esm/taro-label-core.entry.js +2 -2
- package/dist/esm/taro-live-player-core.entry.js +2 -2
- package/dist/esm/taro-live-pusher-core.entry.js +2 -2
- package/dist/esm/taro-map-core.entry.js +2 -2
- package/dist/esm/taro-match-media-core.entry.js +2 -2
- package/dist/esm/taro-movable-area-core.entry.js +2 -2
- package/dist/esm/taro-movable-view-core.entry.js +2 -2
- package/dist/esm/taro-navigation-bar-core.entry.js +2 -2
- package/dist/esm/taro-navigator-core.entry.js +3 -3
- package/dist/esm/taro-official-account-core.entry.js +2 -2
- package/dist/esm/taro-open-data-core.entry.js +2 -2
- package/dist/esm/taro-page-container-core.entry.js +2 -2
- package/dist/esm/taro-page-meta-core.entry.js +2 -2
- package/dist/esm/taro-picker-core_2.entry.js +4 -4
- package/dist/esm/taro-picker-view-column-core.entry.js +2 -2
- package/dist/esm/taro-picker-view-core.entry.js +3 -3
- package/dist/esm/taro-progress-core.entry.js +2 -2
- package/dist/esm/taro-pull-to-refresh.entry.js +3 -3
- package/dist/esm/taro-radio-core_2.entry.js +3 -3
- package/dist/esm/taro-rich-text-core.entry.js +2 -2
- package/dist/esm/taro-scroll-view-core.entry.js +3 -3
- package/dist/esm/taro-share-element-core.entry.js +2 -2
- package/dist/esm/taro-slider-core.entry.js +2 -2
- package/dist/esm/taro-slot-core.entry.js +2 -2
- package/dist/esm/taro-swiper-core_2.entry.js +4 -4
- package/dist/esm/taro-switch-core.entry.js +2 -2
- package/dist/esm/taro-tabbar.entry.js +3 -3
- package/dist/esm/taro-text-core.entry.js +3 -3
- package/dist/esm/taro-textarea-core.entry.js +2 -2
- package/dist/esm/taro-video-control_3.entry.js +27672 -21
- package/dist/esm/taro-view-core.entry.js +3 -3
- package/dist/esm/taro-voip-room-core.entry.js +2 -2
- package/dist/esm/taro-web-view-core.entry.js +2 -2
- package/dist/esm-es5/index-789b3db7.js +1 -0
- package/dist/esm-es5/index-cd1a2d33.js +7 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/taro-ad-core.entry.js +1 -1
- package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm-es5/taro-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-d91ab597.system.entry.js → p-0141754f.system.entry.js} +1 -1
- package/dist/taro-components/p-02282c70.system.entry.js +1 -0
- package/dist/taro-components/p-0674e57b.system.js +1 -0
- package/dist/taro-components/p-0adcc512.entry.js +1 -0
- package/dist/taro-components/p-107c83e4.system.entry.js +1 -0
- package/dist/taro-components/p-15f00e71.entry.js +1 -0
- package/dist/taro-components/{p-e03fa2d5.system.entry.js → p-1900c26d.system.entry.js} +1 -1
- package/dist/taro-components/{p-a05d66d1.system.entry.js → p-1a01e5a6.system.entry.js} +1 -1
- package/dist/taro-components/{p-0c18bd18.system.entry.js → p-1ae9ff34.system.entry.js} +1 -1
- package/dist/taro-components/p-1da081b6.entry.js +1 -0
- package/dist/taro-components/p-2927361f.entry.js +1 -0
- package/dist/taro-components/p-29f2cbdf.system.entry.js +1 -0
- package/dist/taro-components/p-2e78c090.entry.js +1 -0
- package/dist/taro-components/p-34477097.system.entry.js +1 -0
- package/dist/taro-components/p-3546a833.entry.js +1 -0
- package/dist/taro-components/{p-cc36cee7.entry.js → p-36727043.entry.js} +1 -1
- package/dist/taro-components/{p-99ed3ed2.system.entry.js → p-3774a0b9.system.entry.js} +1 -1
- package/dist/taro-components/p-3eb5219a.entry.js +1 -0
- package/dist/taro-components/p-404fbc7c.entry.js +1 -0
- package/dist/taro-components/{p-0472e474.system.entry.js → p-40711024.system.entry.js} +1 -1
- package/dist/taro-components/{p-336f2b2a.system.entry.js → p-407aada8.system.entry.js} +1 -1
- package/dist/taro-components/{p-cfbdd4e3.system.entry.js → p-42b45ac3.system.entry.js} +1 -1
- package/dist/taro-components/{p-527a38ee.system.entry.js → p-431dd581.system.entry.js} +1 -1
- package/dist/taro-components/p-44aa312d.system.entry.js +1 -0
- package/dist/taro-components/p-4651474c.entry.js +1 -0
- package/dist/taro-components/p-47484bac.system.entry.js +1 -0
- package/dist/taro-components/p-47eb9dcc.entry.js +1 -0
- package/dist/taro-components/p-497a5d9a.entry.js +1 -0
- package/dist/taro-components/{p-fb0959c1.system.entry.js → p-4c8f288d.system.entry.js} +1 -1
- package/dist/taro-components/p-4d4637df.entry.js +1 -0
- package/dist/taro-components/{p-3643d8f7.system.entry.js → p-4e108995.system.entry.js} +1 -1
- package/dist/taro-components/p-4eda1f6b.entry.js +1 -0
- package/dist/taro-components/p-518e7b29.entry.js +1 -0
- package/dist/taro-components/p-52033dd2.entry.js +1 -0
- package/dist/taro-components/p-52e0c86e.system.entry.js +1 -0
- package/dist/taro-components/p-557d86fe.entry.js +1 -0
- package/dist/taro-components/{p-4aa4de0f.system.entry.js → p-55da9401.system.entry.js} +1 -1
- package/dist/taro-components/p-5d51b5b0.entry.js +1 -0
- package/dist/taro-components/{p-7cdad34e.system.entry.js → p-5d8ba574.system.entry.js} +1 -1
- package/dist/taro-components/{p-cdffee54.system.entry.js → p-5ebf2333.system.entry.js} +1 -1
- package/dist/taro-components/p-5f4d0d5b.system.js +7 -0
- package/dist/taro-components/p-61645135.system.entry.js +365 -0
- package/dist/taro-components/p-64e67d96.system.entry.js +1 -0
- package/dist/taro-components/p-720134e9.system.entry.js +1 -0
- package/dist/taro-components/p-7309764b.entry.js +1 -0
- package/dist/taro-components/p-75c07a8d.system.entry.js +1 -0
- package/dist/taro-components/p-76ab644c.entry.js +1 -0
- package/dist/taro-components/{p-703dfad8.system.entry.js → p-780c1853.system.entry.js} +1 -1
- package/dist/taro-components/p-783af5b6.entry.js +1 -0
- package/dist/taro-components/p-7868d50a.system.entry.js +1 -0
- package/dist/taro-components/p-7b43bfe6.entry.js +1 -0
- package/dist/taro-components/{p-964692f7.system.entry.js → p-7be1a0bb.system.entry.js} +1 -1
- package/dist/taro-components/p-7c5be4ff.entry.js +1 -0
- package/dist/taro-components/p-7e5d2d7a.js +7 -0
- package/dist/taro-components/p-7ee03392.system.entry.js +1 -0
- package/dist/taro-components/{p-da8edf69.system.entry.js → p-8194107c.system.entry.js} +1 -1
- package/dist/taro-components/{p-fdd73355.system.entry.js → p-8554900a.system.entry.js} +1 -1
- package/dist/taro-components/p-87282837.entry.js +1 -0
- package/dist/taro-components/p-8870f200.entry.js +1 -0
- package/dist/taro-components/p-89b902ef.entry.js +1 -0
- package/dist/taro-components/p-8ab7c95f.entry.js +1 -0
- package/dist/taro-components/p-8b9fdd2d.entry.js +1 -0
- package/dist/taro-components/p-8e56fb48.entry.js +1 -0
- package/dist/taro-components/p-8fd6b016.entry.js +1 -0
- package/dist/taro-components/{p-e61d2113.system.entry.js → p-954862dc.system.entry.js} +1 -1
- package/dist/taro-components/p-95bd702e.entry.js +1 -0
- package/dist/taro-components/{p-98b47fc9.system.entry.js → p-96232b22.system.entry.js} +1 -1
- package/dist/taro-components/{p-ffe63ce9.system.entry.js → p-97e8bb30.system.entry.js} +1 -1
- package/dist/taro-components/{p-1e4f1702.system.entry.js → p-99b8a7a2.system.entry.js} +1 -1
- package/dist/taro-components/p-a06fb894.system.entry.js +1 -0
- package/dist/taro-components/p-a0c6319e.entry.js +1 -0
- package/dist/taro-components/p-a296ef29.entry.js +1 -0
- package/dist/taro-components/{p-264b7229.system.entry.js → p-a3933a47.system.entry.js} +1 -1
- package/dist/taro-components/p-a39fc58e.entry.js +1 -0
- package/dist/taro-components/p-a5b29178.system.entry.js +1 -0
- package/dist/taro-components/p-a64d8c69.entry.js +1 -0
- package/dist/taro-components/{p-58623cdd.system.entry.js → p-a66340b0.system.entry.js} +1 -1
- package/dist/taro-components/{p-33ee636a.system.js → p-aab7f8e8.system.js} +1 -1
- package/dist/taro-components/p-abe4452a.entry.js +1 -0
- package/dist/taro-components/p-b1cf6698.system.entry.js +1 -0
- package/dist/taro-components/p-b3eaf173.entry.js +365 -0
- package/dist/taro-components/p-b6956e54.entry.js +1 -0
- package/dist/taro-components/{p-34188530.system.entry.js → p-be4406bd.system.entry.js} +1 -1
- package/dist/taro-components/{p-1b790eb0.system.entry.js → p-bfd76333.system.entry.js} +1 -1
- package/dist/taro-components/{p-08ea5931.system.entry.js → p-c090756b.system.entry.js} +1 -1
- package/dist/taro-components/p-c28a79eb.entry.js +1 -0
- package/dist/taro-components/{p-df5a19b0.system.entry.js → p-c2a225ef.system.entry.js} +1 -1
- package/dist/taro-components/{p-4cd044c4.system.entry.js → p-c36df190.system.entry.js} +1 -1
- package/dist/taro-components/p-c503bd98.system.entry.js +1 -0
- package/dist/taro-components/p-ca1f541c.system.entry.js +1 -0
- package/dist/taro-components/p-cabc377f.entry.js +1 -0
- package/dist/taro-components/p-cf9e80c9.entry.js +1 -0
- package/dist/taro-components/p-d1c28dd0.entry.js +1 -0
- package/dist/taro-components/p-d21dd145.js +1 -0
- package/dist/taro-components/p-d5bfba7d.entry.js +1 -0
- package/dist/taro-components/{p-08aba8db.system.entry.js → p-d6e42063.system.entry.js} +1 -1
- package/dist/taro-components/p-df00945b.entry.js +1 -0
- package/dist/taro-components/p-e28a1c0e.entry.js +1 -0
- package/dist/taro-components/p-e43c8d69.system.entry.js +1 -0
- package/dist/taro-components/p-f201d652.system.entry.js +1 -0
- package/dist/taro-components/p-f2add48e.entry.js +1 -0
- package/dist/taro-components/p-f46523cb.entry.js +1 -0
- package/dist/taro-components/p-f4e38010.entry.js +1 -0
- package/dist/taro-components/p-f7fc979d.entry.js +1 -0
- package/dist/taro-components/p-f8eb7e74.system.entry.js +1 -0
- package/dist/taro-components/p-fb1de68d.entry.js +1 -0
- package/dist/taro-components/p-fbf0fb63.entry.js +1 -0
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/taro-components/taro-components.js +1 -1
- package/dist/types/components/video/utils.d.ts +2 -1
- package/dist/types/components/video/video-control.d.ts +1 -1
- 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/package.json +14 -8
- package/types/Block.d.ts +5 -2
- package/types/Checkbox.d.ts +1 -1
- package/types/CheckboxGroup.d.ts +1 -1
- 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 +6 -6
- package/types/Label.d.ts +2 -2
- package/types/OfficialAccount.d.ts +3 -3
- package/types/PickerViewColumn.d.ts +3 -1
- package/types/Progress.d.ts +1 -1
- package/types/Radio.d.ts +1 -1
- package/types/RichText.d.ts +1 -1
- package/types/ScrollView.d.ts +6 -6
- package/types/Slider.d.ts +1 -1
- package/types/Slot.d.ts +2 -2
- package/types/Swiper.d.ts +2 -2
- package/types/Switch.d.ts +1 -1
- package/types/Text.d.ts +2 -2
- package/types/Video.d.ts +1 -1
- package/types/View.d.ts +2 -2
- package/types/WebView.d.ts +1 -1
- package/types/index.d.ts +53 -52
- package/types/index.vue3.d.ts +71 -73
- package/types/props.ts +73 -0
- package/dist/esm-es5/index-3c78bcaf.js +0 -7
- package/dist/esm-es5/index-5bd7cbab.js +0 -1
- package/dist/taro-components/p-0303f9e0.entry.js +0 -1
- package/dist/taro-components/p-065ec61d.entry.js +0 -1
- package/dist/taro-components/p-06af26db.system.entry.js +0 -1
- package/dist/taro-components/p-06bffead.entry.js +0 -1
- package/dist/taro-components/p-07062966.entry.js +0 -1
- package/dist/taro-components/p-078230a0.system.entry.js +0 -1
- package/dist/taro-components/p-0c2982fc.system.entry.js +0 -1
- package/dist/taro-components/p-0ee69803.entry.js +0 -1
- package/dist/taro-components/p-11932905.entry.js +0 -1
- package/dist/taro-components/p-14dbbb42.entry.js +0 -1
- package/dist/taro-components/p-15bea37d.entry.js +0 -1
- package/dist/taro-components/p-17039974.system.entry.js +0 -1
- package/dist/taro-components/p-1b48afb1.entry.js +0 -1
- package/dist/taro-components/p-1c625d7d.entry.js +0 -1
- package/dist/taro-components/p-2d2f8064.entry.js +0 -1
- package/dist/taro-components/p-3334ac67.system.entry.js +0 -1
- package/dist/taro-components/p-3633bb84.entry.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-4039bcb5.entry.js +0 -1
- package/dist/taro-components/p-44b60b72.entry.js +0 -1
- package/dist/taro-components/p-554e1039.entry.js +0 -1
- package/dist/taro-components/p-55b0a30b.entry.js +0 -1
- package/dist/taro-components/p-59d38db0.entry.js +0 -1
- package/dist/taro-components/p-5c6aeb55.entry.js +0 -1
- package/dist/taro-components/p-5d5baadf.entry.js +0 -1
- package/dist/taro-components/p-5f8b5f62.entry.js +0 -1
- package/dist/taro-components/p-7423fc3b.system.entry.js +0 -1
- package/dist/taro-components/p-74540410.entry.js +0 -1
- package/dist/taro-components/p-758fb1ba.entry.js +0 -1
- package/dist/taro-components/p-7721e046.entry.js +0 -1
- package/dist/taro-components/p-786653af.system.entry.js +0 -1
- package/dist/taro-components/p-7d848382.system.entry.js +0 -1
- package/dist/taro-components/p-7fdd59f0.entry.js +0 -1
- package/dist/taro-components/p-865c21b5.entry.js +0 -1
- package/dist/taro-components/p-8a5e67cb.entry.js +0 -1
- package/dist/taro-components/p-8b2bf902.system.entry.js +0 -1
- package/dist/taro-components/p-8db237e0.entry.js +0 -1
- package/dist/taro-components/p-8e0150eb.system.entry.js +0 -1
- package/dist/taro-components/p-8f90fca9.system.entry.js +0 -1
- package/dist/taro-components/p-92a31933.system.entry.js +0 -1
- package/dist/taro-components/p-92e95d3f.entry.js +0 -1
- package/dist/taro-components/p-94502fc3.entry.js +0 -1
- package/dist/taro-components/p-94c20f60.system.js +0 -7
- package/dist/taro-components/p-99cb65a6.system.entry.js +0 -1
- package/dist/taro-components/p-9a618935.system.entry.js +0 -1
- package/dist/taro-components/p-9d0ab7c4.entry.js +0 -1
- package/dist/taro-components/p-a1423df9.entry.js +0 -1
- package/dist/taro-components/p-a1863c96.entry.js +0 -1
- package/dist/taro-components/p-aae3e479.entry.js +0 -1
- package/dist/taro-components/p-b2d01686.system.js +0 -1
- package/dist/taro-components/p-b6d6c744.entry.js +0 -1
- package/dist/taro-components/p-b75d8a65.entry.js +0 -1
- package/dist/taro-components/p-b87cf623.entry.js +0 -1
- package/dist/taro-components/p-b9280444.entry.js +0 -1
- package/dist/taro-components/p-bd3fa355.system.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-c5a86c19.system.entry.js +0 -1
- package/dist/taro-components/p-cb395e7d.entry.js +0 -1
- package/dist/taro-components/p-cea9a198.system.entry.js +0 -1
- package/dist/taro-components/p-cf55a63c.entry.js +0 -1
- package/dist/taro-components/p-cfbfeee8.entry.js +0 -1
- package/dist/taro-components/p-d0c608a8.entry.js +0 -1
- package/dist/taro-components/p-d1c2481c.system.entry.js +0 -1
- package/dist/taro-components/p-e0ad978e.entry.js +0 -1
- package/dist/taro-components/p-e27798a4.entry.js +0 -1
- package/dist/taro-components/p-e2f6448d.system.entry.js +0 -1
- package/dist/taro-components/p-e35230e0.entry.js +0 -1
- package/dist/taro-components/p-e6298500.entry.js +0 -1
- package/dist/taro-components/p-ebf5b2eb.system.entry.js +0 -1
- package/dist/taro-components/p-f05e1558.js +0 -1
- package/dist/taro-components/p-f5fe8711.entry.js +0 -1
- package/dist/taro-components/p-fc4939c6.system.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-0674e57b.system.js"],(function(t){"use strict";var n,e,o;return{setters:[function(t){n=t.r;e=t.h;o=t.H}],execute:function(){var r=t("taro_official_account_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 OfficialAccount 组件!")};t.prototype.render=function(){return e(o,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-0674e57b.system.js"],(function(t){"use strict";var e,r,n;return{setters:[function(t){e=t.r;r=t.h;n=t.H}],execute:function(){var u=t("taro_block_core",function(){function t(t){e(this,t)}t.prototype.render=function(){return r(n,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as s,g as h}from"./p-d21dd145.js";function e(t,i,s){if("search"===i&&(t="search"),s&&(t="password"),void 0===t)return"text";if(!t)throw new Error("unexpected type");return"digit"===t&&(t="number"),t}function o(t){return null!=t?t:""}const n=class{constructor(s){t(this,s),this.onInput=i(this,"input",7),this.onPaste=i(this,"paste",7),this.onFocus=i(this,"focus",7),this.onBlur=i(this,"blur",7),this.onConfirm=i(this,"confirm",7),this.onChange=i(this,"change",7),this.onKeyDown=i(this,"keydown",7),this.isOnComposition=!1,this.isOnPaste=!1,this.onInputExcuted=!1,this.password=!1,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.confirmType="done",this.nativeProps={},this.handleInput=t=>{t.stopPropagation();const{type:i,maxlength:s,confirmType:h,password:o}=this;if(!this.isOnComposition&&!this.onInputExcuted){let n=t.target.value;const r=e(i,h,o);this.onInputExcuted=!0,"number"===r&&n&&s<=n.length&&(n=n.substring(0,s),t.target.value=n),this.value=n,this.onInput.emit({value:n,cursor:n.length})}},this.handlePaste=t=>{this.isOnPaste=!0,this.onPaste.emit({value:t.target.value})},this.handleFocus=t=>{this.onInputExcuted=!1,this.onFocus.emit({value:t.target.value})},this.handleBlur=t=>{this.onBlur.emit({value:t.target.value})},this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:t.target.value}),this.isOnPaste&&(this.isOnPaste=!1,this.value=t.target.value,this.onInput.emit({value:t.target.value,cursor:t.target.value.length}))},this.handleKeyDown=t=>{const{value:i}=t.target,s=t.keyCode||t.code;this.onInputExcuted=!1,t.stopPropagation(),this.onKeyDown.emit({value:i,cursor:i.length,keyCode:s}),13===s&&this.onConfirm.emit({value:i})},this.handleComposition=t=>{t.target instanceof HTMLInputElement&&("compositionend"===t.type?(this.isOnComposition=!1,this.value=t.target.value,this.onInput.emit({value:t.target.value,cursor:t.target.value.length})):this.isOnComposition=!0)}}watchFocus(t,i){var s;!i&&t&&(null===(s=this.inputRef)||void 0===s||s.focus())}componentDidLoad(){var t,i,s;"file"===this.type?(this.fileListener=()=>{this.onInput.emit()},null===(t=this.inputRef)||void 0===t||t.addEventListener("change",this.fileListener)):(null===(i=this.inputRef)||void 0===i||i.addEventListener("compositionstart",this.handleComposition),null===(s=this.inputRef)||void 0===s||s.addEventListener("compositionend",this.handleComposition)),Object.defineProperty(this.el,"value",{get:()=>{var t;return null===(t=this.inputRef)||void 0===t?void 0:t.value},set:t=>this.value=t,configurable:!0})}disconnectedCallback(){var t;"file"===this.type&&(null===(t=this.inputRef)||void 0===t||t.removeEventListener("change",this.fileListener))}render(){const{value:t,type:i,password:h,placeholder:n,autoFocus:r,disabled:a,maxlength:u,confirmType:l,name:c,nativeProps:d}=this;return s("input",Object.assign({ref:t=>{this.inputRef=t},class:"weui-input",value:o(t),type:e(i,l,h),placeholder:n,autoFocus:r,disabled:a,maxlength:u,name:c,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onCompositionStart:this.handleComposition,onCompositionEnd:this.handleComposition},d))}get el(){return h(this)}static get watchers(){return{autoFocus:["watchFocus"]}}};n.style="taro-input-core{display:block}input{display:block;overflow:hidden;height:1.4rem;text-overflow:clip;text-align:inherit;white-space:nowrap}";export{n as taro_input_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-0674e57b.system.js"],(function(t){"use strict";var e,n,r;return{setters:[function(t){e=t.r;n=t.h;r=t.H}],execute:function(){var o=t("taro_ad_custom_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 AdCustom 组件!")};t.prototype.render=function(){return n(r,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i,H as h}from"./p-d21dd145.js";import{c as o}from"./p-7e5d2d7a.js";const e=class{constructor(i){t(this,i),this.onLongPress=s(this,"longpress",7),this.hoverStartTime=50,this.hoverStayTime=400,this.hover=!1,this.touch=!1,this.startTime=0}onTouchStart(){this.hoverClass&&(this.touch=!0,setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime)),this.timeoutEvent=setTimeout((()=>{this.onLongPress.emit()}),350),this.startTime=Date.now()}onTouchMove(){clearTimeout(this.timeoutEvent)}onTouchEnd(){Date.now()-this.startTime<350&&clearTimeout(this.timeoutEvent),this.hoverClass&&(this.touch=!1,setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime))}render(){const t=o({[`${this.hoverClass}`]:this.hover});let s={};return this.animation&&(s.animation=this.animation,s["data-animation"]=this.animation),i(h,Object.assign({class:t},s),i("slot",null))}};e.style="taro-cover-view-core{display:block}";export{e as taro_cover_view_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-0674e57b.system.js"],(function(t){"use strict";var e,i,n,a,r;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;r=t.g}],execute:function(){var o=t("taro_slider_core",function(){function t(t){var n=this;e(this,t);this.onChange=i(this,"change",7);this.onChanging=i(this,"changing",7);this.min=0;this.max=100;this.step=1;this.disabled=false;this.value=0;this.activeColor="#1aad19";this.backgroundColor="#e9e9e9";this.blockSize=28;this.blockColor="#ffffff";this.showValue=false;this.name="";this.totalWidth=0;this.touching=false;this.ogX=0;this.touchId=null;this.percent=0;this.isWillLoadCalled=false;this.handleTouchStart=function(t){if(n.touching||n.disabled)return;n.touching=true;n.touchId=t.targetTouches[0].identifier;n.totalWidth=n.sliderInsRef.clientWidth;n.ogX=t.targetTouches[0].pageX;n.ogPercent=n.percent};this.handleTouchMove=function(t){var e=n,i=e.disabled,a=e.touching,r=e.touchId,o=e.totalWidth,l=e.max,s=e.min,h=e.ogX,u=e.ogPercent;if(!a||i)return;if(t.targetTouches[0].identifier!==r)return;t.preventDefault();var c=t.targetTouches[0].pageX;var d=c-h;var f=d/o*100+u;f=Math.max(0,Math.min(f,100));var v=s+f*.01*(l-s);n.updateByStep(v);n.onChanging.emit({detail:t.detail,value:n.val})};this.handleTouchEnd=function(t){var e=n,i=e.disabled,a=e.touching;if(!a||i)return;if(n.percent!==n.ogPercent){n.onChange.emit({detail:t.detail,value:n.val})}n.touching=false;n.touchId=null;n.ogX=0;n.ogPercent=0}}t.prototype.function=function(t){if(!this.isWillLoadCalled)return;var e=this,i=e.max,n=e.min;if(t!==null&&t!==this.val){var a=Math.max(n,Math.min(t,i));this.updateByStep(a)}};t.prototype.componentDidLoad=function(){var t=this;Object.defineProperty(this.el,"value",{get:function(){return t.val},set:function(e){return t.value=e},configurable:true});this.handler.addEventListener("touchstart",this.handleTouchStart);this.handler.addEventListener("touchmove",this.handleTouchMove);this.handler.addEventListener("touchend",this.handleTouchEnd)};t.prototype.componentDidUpdate=function(){this.value=null};t.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;var t=this,e=t.value,i=t.max,n=t.min;if(e===null)return;var a=Math.max(n,Math.min(e,i));this.updateByStep(a)};t.prototype.updateByStep=function(t){var e=this,i=e.max,n=e.min,a=e.step;var r=Math.floor((i-n)/a);for(var o=0;o<=r;o++){var l=n+a*o;var s=o===r?null:n+a*(o+1);if(t===l)break;if(!s&&t>l){t=l}if(s&&t>l&&t<s){if(t-l<a/2){t=l}else{t=s}break}}var h=(t-n)/(i-n)*100;this.val=t;this.percent=h};t.prototype.render=function(){var t=this;var e=this,i=e.showValue,r=e.backgroundColor,o=e.activeColor,l=e.blockColor,s=e.name,h=e.percent,u=e.val;var c=this.blockSize;var d={backgroundColor:r};var f=h>100?100:h;var v={width:"".concat(f,"%"),backgroundColor:o};if(c<12){c=12}if(c>28){c=28}var p={left:"".concat(f,"%"),width:"".concat(c,"px"),height:"".concat(c,"px"),backgroundColor:l,marginTop:"-".concat(Math.floor(c/2),"px"),marginLeft:"-".concat(Math.floor(c/2),"px")};return n(a,{class:"weui-slider-box"},n("div",{class:"weui-slider"},n("div",{class:"weui-slider__inner",style:d,ref:function(e){return t.sliderInsRef=e}},n("div",{style:v,class:"weui-slider__track"}),n("div",{class:"weui-slider__handler",ref:function(e){if(e)t.handler=e},style:p}),n("input",{type:"hidden",name:s,value:u}))),i&&n("div",{class:"weui-slider-box__value"},u))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["function"]}},enumerable:false,configurable:true});return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r,H as s}from"./p-d21dd145.js";const t=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 Slot 组件!")}render(){return r(s,null)}};export{t as taro_slot_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-0674e57b.system.js","./p-5f4d0d5b.system.js"],(function(t){"use strict";var e,r,n,o;return{setters:[function(t){e=t.r;r=t.h;n=t.H},function(t){o=t.c}],execute:function(){var c=t("taro_icon_core",function(){function t(t){e(this,t);this.size="23"}t.prototype.render=function(){var t;var e=this,c=e.type,s=e.size,i=e.color;var u=c===null||c===void 0?void 0:c.replace(/_/g,"-");var a=o((t={},t["weui-icon-".concat(u)]=true,t));var f={"font-size":"".concat(s,"px"),color:i};return r(n,{class:a,style:f})};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as s,H as e,g as h}from"./p-d21dd145.js";import{c as n}from"./p-7e5d2d7a.js";function o(t,i){const s=[];for(let e=t;e<=i;e++)s.push(`${e<10?"0":""}${e}`);return s}const r=["20","21","22","23",...o(0,23),"00","01","02","03"],a=["56","57","58","59",...o(0,59),"00","01","02","03"];function c(t,i){return!isNaN(+t)&&t>=0&&t<i.length}function u(t){if(!/^\d{1,2}:\d{1,2}$/.test(t))return!1;const i=t.split(":").map((t=>+t));return!(i[0]<0||i[0]>23||i[1]<0||i[1]>59)}function d(t,i){const s=t.split(":").map((t=>+t)),e=i.split(":").map((t=>+t));return s[0]<e[0]||s[0]===e[0]&&s[1]<=e[1]}function l(t){if(!t)return!1;const i=new Date(t.replace(/-/g,"/"));return!isNaN(i.getMonth())&&i}function p(t){let i;return i=Array.isArray(t)?t.map((t=>String(t))):t,i}function m(t,i){const s=[];for(let e=t;e<=i;e++)s.push(e);return s}function g(t,i){return m(t,i)}function f(t,i,s){let e=1,h=12;return t.getFullYear()===s&&(e=t.getMonth()+1),i.getFullYear()===s&&(h=i.getMonth()+1),m(e,h)}function _(t,i,s,e){let h=1,n=function(t,i){return 4===i||6===i||9===i||11===i?30:2===i?t%4==0&&t%100!=0||t%400==0?29:28:31}(s,e);return t.getFullYear()===s&&t.getMonth()+1===e&&(h=t.getDate()),i.getFullYear()===s&&i.getMonth()+1===e&&(n=i.getDate()),m(h,n)}const k=class{constructor(e){t(this,e),this.onChange=i(this,"change",7),this.onColumnChange=i(this,"columnchange",7),this.onCancel=i(this,"cancel",7),this.index=[],this.mode="selector",this.disabled=!1,this.range=[],this.start="",this.end="",this.fields="day",this.name="",this.pickerValue=[],this.height=[],this.hidden=!0,this.fadeOut=!1,this.isWillLoadCalled=!1,this.showPicker=()=>{this.disabled||(this.height=this.getHeightByIndex(),this.hidden=!1)},this.getHeightByIndex=()=>this.index.map((t=>{let i=0;return"time"===this.mode&&(i=136),102-34*t-i})),this.hidePicker=()=>{this.fadeOut=!0,setTimeout((()=>{this.hidden=!0,this.fadeOut=!1}),350)},this.handleChange=()=>{this.hidePicker(),this.index=this.height.map((t=>(102-t)/34));let t=this.index.length&&"selector"!==this.mode?this.index:this.index[0];if("time"===this.mode){const i=[r.slice(),a.slice()],s=this.index.map(((t,s)=>i[s][t]));this.index=s.map((t=>parseInt(t))),t=s.join(":")}if("date"===this.mode){const{_start:i,_end:s,_updateValue:e}=this.pickerDate,h=e[0],n=e[1],o=g(i.getFullYear(),s.getFullYear()),r=f(i,s,h),a=_(i,s,h,n),c=o[this.index[0]],u=r[this.index[1]],d=a[this.index[2]];t="year"===this.fields?[c]:"month"===this.fields?[c,u]:[c,u,d],t=t.map((t=>t<10?`0${t}`:t)).join("-")}this.pickerValue=t,this.onChange.emit({value:t})},this.handleCancel=()=>{this.hidePicker(),this.onCancel.emit()},this.updateHeight=(t,i,s=!1)=>{const e=[...this.height];if(e[i]=t,this.height=e,s){let{start:t,end:i}=this;if(u(t)||(t="00:00"),u(i)||(i="23:59"),!d(t,i))return;const s=[r.slice(),a.slice()],e=this.height.map((t=>(102-t)/34)).map(((t,i)=>s[i][t])).join(":");if(d(t,e)){if(!d(e,i)){const t=i.split(":").map((t=>102-34*(+t+4)));requestAnimationFrame((()=>this.height=t))}}else{const i=t.split(":").map((t=>102-34*(+t+4)));requestAnimationFrame((()=>this.height=i))}}},this.handleColumnChange=(t,i)=>{this.onColumnChange.emit({column:Number(i),value:(102-t)/34})},this.updateDay=(t,i)=>{const{_start:s,_end:e,_updateValue:h}=this.pickerDate;h[i]=t;const n=h[0],o=h[1],r=h[2];if(0===i){const t=f(s,e,n),i=t[t.length-1],r=t[0];o>i&&(h[1]=i),o<r&&(h[1]=r);const a=102-34*t.indexOf(h[1]);this.updateDay(h[1],1),this.updateHeight(a,"1")}else if(1===i){const t=_(s,e,n,o),i=t[t.length-1],a=t[0];r>i&&(h[2]=i),r<a&&(h[2]=a);const c=102-34*t.indexOf(h[2]);this.updateDay(h[2],2),this.updateHeight(c,"2")}},this.getSelector=()=>s("taro-picker-group",{range:this.range,rangeKey:this.rangeKey,height:this.height[0],updateHeight:this.updateHeight,columnId:"0"}),this.getMultiSelector=()=>this.range.map(((t,i)=>s("taro-picker-group",{range:t,rangeKey:this.rangeKey,height:this.height[i],updateHeight:this.updateHeight,onColumnChange:this.handleColumnChange,columnId:String(i)}))),this.getTimeSelector=()=>{const t=r.slice(),i=a.slice();return[s("taro-picker-group",{mode:"time",range:t,height:this.height[0],updateHeight:this.updateHeight,columnId:"0"}),s("taro-picker-group",{mode:"time",range:i,height:this.height[1],updateHeight:this.updateHeight,columnId:"1"})]},this.getDateSelector=()=>{const{fields:t,height:i}=this,{_start:e,_end:h,_updateValue:n}=this.pickerDate,o=n[0],r=n[1],a=g(e.getFullYear(),h.getFullYear()).map((t=>`${t}年`)),c=f(e,h,o).map((t=>`${t<10?`0${t}`:t}月`)),u=_(e,h,o,r).map((t=>`${t<10?`0${t}`:t}日`)),d=[s("taro-picker-group",{mode:"date",range:a,height:i[0],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"0"})];return"month"!==t&&"day"!==t||d.push(s("taro-picker-group",{mode:"date",range:c,height:i[1],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"1"})),"day"===t&&d.push(s("taro-picker-group",{mode:"date",range:u,height:i[2],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"2"})),d}}componentWillLoad(){this.isWillLoadCalled=!0,this.handleProps()}componentDidLoad(){Object.defineProperty(this.el,"value",{get:()=>this.pickerValue,set:t=>this.value=t,configurable:!0}),this.overlay&&document.body.appendChild(this.overlay)}disconnectedCallback(){var t;this.overlay&&(null===(t=this.overlay.parentNode)||void 0===t||t.removeChild(this.overlay))}onPropsChange(){this.isWillLoadCalled&&this.handleProps()}handleProps(){const{mode:t,start:i,end:s}=this;if("selector"===t){const t=this.value;this.index=[c(t,this.range)?Math.floor(t):0]}else if("multiSelector"===t){const t=this.value;this.index=[],this.range.forEach(((i,s)=>{const e=null==t?void 0:t[s],h=c(e,i)?Math.floor(e):0;this.index.push(h)}))}else if("time"===t){let t=this.value;u(t)||(console.warn("time picker value illegal"),t="0:0");const i=t.split(":").map((t=>+t));this.index=i}else if("date"===t){const t=l(this.value)||new Date((new Date).setHours(0,0,0,0)),e=l(i)||new Date("1970/01/01"),h=l(s)||new Date("2999/01/01");if(!(t>=e&&t<=h))throw new Error("Date Interval Error");{const i=t.getFullYear(),s=t.getMonth()+1,n=t.getDate(),o=g(e.getFullYear(),h.getFullYear()),r=f(e,h,i),a=_(e,h,i,s);this.index=[o.indexOf(i),r.indexOf(s),a.indexOf(n)],this.pickerDate&&this.pickerDate._value.getTime()===t.getTime()&&this.pickerDate._start.getTime()===e.getTime()&&this.pickerDate._end.getTime()===h.getTime()||(this.pickerDate={_value:t,_start:e,_end:h,_updateValue:[i,s,n]})}}if(this.height=this.getHeightByIndex(),this.pickerValue=this.value,"date"===t){const t=this.pickerValue;"month"===this.fields?this.pickerValue=t.split("-").slice(0,2).join("-"):"year"===this.fields&&(this.pickerValue=t.split("-")[0])}}render(){const{name:t,mode:i,fadeOut:h,hidden:o}=this;let r;switch(i){case"multiSelector":r=this.getMultiSelector();break;case"time":r=this.getTimeSelector();break;case"date":r=this.getDateSelector();break;default:r=this.getSelector()}const a=n("weui-mask","weui-animate-fade-in",{"weui-animate-fade-out":h}),c=n("weui-picker","weui-animate-slide-up",{"weui-animate-slide-down":h}),u=o?{display:"none"}:{};return s(e,null,s("div",{onClick:this.showPicker},s("slot",null),s("input",{type:"hidden",name:t,value:p(this.pickerValue)})),s("div",{class:"weui-picker__overlay",style:u,ref:t=>{this.overlay=t}},s("div",{class:a,onClick:this.handleCancel}),s("div",{class:c},s("div",{class:"weui-picker__hd"},s("div",{class:"weui-picker__action",onClick:this.handleCancel},"取消"),s("div",{class:"weui-picker__action",onClick:this.handleChange},"确定")),s("div",{class:"weui-picker__bd"},r),s("input",{type:"hidden",name:t,value:p(this.pickerValue)}))))}get el(){return h(this)}static get watchers(){return{mode:["onPropsChange"],value:["onPropsChange"],range:["onPropsChange"],start:["onPropsChange"],end:["onPropsChange"]}}};k.style=".weui-picker,.weui-picker__hd{font-size:12px}";const w=class{constructor(i){t(this,i),this.range=[]}getPosition(){const t=`translate3d(0, ${this.height}px, 0)`,i=`transform ${this.touchEnd?.3:0}s`;return{transform:t,"-webkit-transform":t,transition:i,"-webkit-transition":i}}formulaUnlimitedScroll(t,i,s){const{height:e,updateHeight:h,columnId:n}=this,o="up"===s?1:-1;this.touchEnd=!1,h(-t*o*34+e,n),requestAnimationFrame((()=>{this.touchEnd=!0;const s=Math.round(i/-34)+t*o;h(102-34*s,n,!0)}))}handleMoveStart(t){this.startY=t,this.preY=t,this.hadMove=!1}handleMoving(t){const i=t,s=i-this.preY;this.preY=i,this.touchEnd=!1,Math.abs(i-this.startY)>10&&(this.hadMove=!0);let e=this.height+s;"time"===this.mode&&("0"===this.columnId?(e>0&&(e=-816+s),e<-850&&(e=-34+s)):"1"===this.columnId&&(e>0&&(e=-2040+s),e<-2074&&(e=-34+s))),this.updateHeight(e,this.columnId)}handleMoveEnd(t){const{mode:i,range:s,height:e,updateHeight:h,onColumnChange:n,columnId:o}=this,r=-34*(s.length-1),a=t;let c;if(this.touchEnd=!0,this.hadMove)c=e-102;else if(c=e-102-(a-(window.innerHeight-119)),"time"===i)if("0"===o){if(c>-85)return this.formulaUnlimitedScroll(24,c,"up");if(c<-969)return this.formulaUnlimitedScroll(24,c,"down")}else if("1"===o){if(c>-85)return this.formulaUnlimitedScroll(60,c,"up");if(c<-2193)return this.formulaUnlimitedScroll(60,c,"down")}c>0&&(c=0),c<r&&(c=r);const u=Math.round(c/-34),d=102-34*u;"date"===this.mode&&("0"===this.columnId&&this.updateDay(+this.range[u].replace(/[^0-9]/gi,""),0),"1"===this.columnId&&this.updateDay(+this.range[u].replace(/[^0-9]/gi,""),1),"2"===this.columnId&&this.updateDay(+this.range[u].replace(/[^0-9]/gi,""),2)),h(d,o,"time"===i),n&&n(d,o)}onMouseDown(t){this.isMove=!0,this.handleMoveStart(t.clientY)}onMouseMove(t){t.preventDefault(),this.isMove&&this.handleMoving(t.clientY)}onMouseMoveEnd(t){this.isMove&&(this.isMove=!1,this.handleMoveEnd(t.clientY))}onTouchStart(t){this.handleMoveStart(t.changedTouches[0].clientY)}onTouchMove(t){t.preventDefault(),this.handleMoving(t.changedTouches[0].clientY)}onTouchEnd(t){this.handleMoveEnd(t.changedTouches[0].clientY)}render(){const{range:t,rangeKey:i}=this,h=t.map((t=>s("div",{class:"weui-picker__item"},i?t[i]:t)));return s(e,{class:"weui-picker__group"},s("div",{class:"weui-picker__mask"}),s("div",{class:"weui-picker__indicator"}),s("div",{class:"weui-picker__content",style:this.getPosition()},h))}};export{k as taro_picker_core,w as taro_picker_group}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-0674e57b.system.js"],(function(r){"use strict";var t,i,e;return{setters:[function(r){t=r.r;i=r.c;e=r.h}],execute:function(){var o="taro-cover-image-core{overflow:hidden;width:320px;height:240px}";var n=r("taro_cover_image_core",function(){function r(r){t(this,r);this.onLoad=i(this,"load",7);this.onError=i(this,"error",7);this.nativeProps={}}r.prototype.imageOnLoad=function(){var r=this.imgRef,t=r.width,i=r.height;this.onLoad.emit({width:t,height:i})};r.prototype.imageOnError=function(){this.onError.emit()};r.prototype.render=function(){var r=this;var t=this,i=t.src,o=t.imageOnLoad,n=t.imageOnError,s=t.nativeProps;return e("img",Object.assign({ref:function(t){return r.imgRef=t},src:i,onLoad:o.bind(this),onError:n.bind(this)},s))};return r}());n.style=o}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r,H as a}from"./p-d21dd145.js";const e=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 MovableArea 组件!")}render(){return r(a,null)}};export{e as taro_movable_area_core}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function r(e,n,r){return e(r={path:n,exports:{},require:function(){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}()}},r.exports),r.exports}var o=r((function(e){
|
|
2
|
+
/*!
|
|
3
|
+
Copyright (c) 2018 Jed Watson.
|
|
4
|
+
Licensed under the MIT License (MIT), see
|
|
5
|
+
http://jedwatson.github.io/classnames
|
|
6
|
+
*/
|
|
7
|
+
!function(){var n={}.hasOwnProperty;function r(){for(var e=[],o=0;o<arguments.length;o++){var i=arguments[o];if(i){var t=typeof i;if("string"===t||"number"===t)e.push(i);else if(Array.isArray(i)){if(i.length){var f=r.apply(null,i);f&&e.push(f)}}else if("object"===t)if(i.toString===Object.prototype.toString)for(var u in i)n.call(i,u)&&i[u]&&e.push(u);else e.push(i.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r}()}));export{r as a,e as b,o as c,n as g}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var a=0,o=t.length,n;a<o;a++){if(n||!(a in t)){if(!n)n=Array.prototype.slice.call(t,0,a);n[a]=t[a]}}return e.concat(n||Array.prototype.slice.call(t))};System.register(["./p-0674e57b.system.js","@tarojs/taro","./p-5f4d0d5b.system.js"],(function(e){"use strict";var t,r,a,o,n,i,s;return{setters:[function(e){t=e.h;r=e.r;a=e.c;o=e.H;n=e.g},function(e){i=e.default},function(e){s=e.c}],execute:function(){var l=function(e){var t=e||"";var r;var a={path:null,query:null,fragment:null};r=t.indexOf("#");if(r>-1){a.fragment=t.substring(r+1);t=t.substring(0,r)}r=t.indexOf("?");if(r>-1){a.query=t.substring(r+1);t=t.substring(0,r)}a.path=t;return a};function d(e){return e.charAt(0)==="/"}function b(e,t){for(var r=t,a=r+1,o=e.length;a<o;r+=1,a+=1){e[r]=e[a]}e.pop()}function h(e,t){if(t===undefined)t="";var r=e&&e.split("/")||[];var a=t&&t.split("/")||[];var o=e&&d(e);var n=t&&d(t);var i=o||n;if(e&&d(e)){a=r}else if(r.length){a.pop();a=a.concat(r)}if(!a.length)return"/";var s;if(a.length){var l=a[a.length-1];s=l==="."||l===".."||l===""}else{s=false}var h=0;for(var c=a.length;c>=0;c--){var f=a[c];if(f==="."){b(a,c)}else if(f===".."){b(a,c);h++}else if(h){b(a,c);h--}}if(!i)for(;h--;h)a.unshift("..");if(i&&a[0]!==""&&(!a[0]||!d(a[0])))a.unshift("");var u=a.join("/");if(s&&u.substr(-1)!=="/")u+="/";return u}var c=function(e){var r=e.index,a=e.isSelected,o=a===void 0?false:a,n=e.textColor,i=e.iconPath,l=e.badgeText,d=e.showRedDot,b=d===void 0?false:d,h=e.text,c=e.onSelect;var f=s("weui-tabbar__item",{"weui-bar__item_on":o});var u={position:"absolute",top:"-2px",right:"-13px"};var v={position:"absolute",top:"0",right:"-6px"};function g(){c(r)}return t("a",{key:r,href:"javascript:;",class:f,onClick:g},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:i,alt:"",class:"weui-tabbar__icon"}),!!l&&t("span",{class:"weui-badge taro-tabbar-badge",style:u},l),b&&t("span",{class:"weui-badge weui-badge_dot",style:v})),t("p",{class:"weui-tabbar__label",style:{color:n}},h))};var f="html,body{height:100%}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column;height:100%}.taro-tabbar__panel{overflow:auto;position:relative;-ms-flex:1;flex:1;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;width:100%;height:50px;-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";var u=function(e){if(e===void 0){e=""}return e[0]==="/"?e:"/".concat(e)};var v=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)};var g=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return v(e,t)?e.substr(t.length):e};var p=function(e,t){if(e===void 0){e=""}if(t===void 0){t=""}return e.includes(t)?e.substring(0,e.length-t.length):e};var _=0;var m=1;var T=2;var B="taro-tabbar__tabbar";var H="taro-tabbar__tabbar-hide";var x="taro-tabbar__tabbar-slideout";var y=e("taro_tabbar",function(){function e(e){var t=this;r(this,e);this.onLongPress=a(this,"longpress",7);this.homePage="";this.customRoutes=[];this.tabbarPos="bottom";this.selectedIndex=-1;this.status=_;this.getOriginUrl=function(e){var r=t.customRoutes.filter((function(t){var r=t[1];var a=l(r).path;var o=l(e).path;return a===o}));return p(r.length?r[0][0]:e,".html")};this.getSelectedIndex=function(e){var r=-1;t.list.forEach((function(t,a){var o=t.pagePath;var n=l(e).path;var i=l(o).path;if(n===i){r=a}}));return r};this.switchTab=function(e){t.selectedIndex=e;i.switchTab({url:t.list[e].pagePath})};this.switchTabHandler=function(e){var r=e.url,a=e.successHandler,o=e.errorHandler;var n=t.getOriginUrl(t.getCurrentUrl()||t.homePage);var i=h(r,n);var s=t.getSelectedIndex(i);if(s>-1){t.switchTab(s);a({errMsg:"switchTab:ok"})}else{o({errMsg:'switchTab:fail page "'.concat(i,'" is not found')})}};this.routerChangeHandler=function(e){var r;var a=(r=e===null||e===void 0?void 0:e.toLocation)===null||r===void 0?void 0:r.path;var o;if(typeof a==="string"){var n=t.conf.basename||"/";o=g(u(a||t.homePage),n)}else{o=t.getCurrentUrl()}t.selectedIndex=t.getSelectedIndex(t.getOriginUrl(o))};this.setTabBarBadgeHandler=function(e){var r=e.index,a=e.text,o=e.successHandler,n=e.errorHandler;var i=__spreadArray([],t.list,true);if(r in i){i[r].showRedDot=false;i[r].badgeText=a;o({errMsg:"setTabBarBadge:ok"})}else{n({errMsg:"setTabBarBadge:fail tabbar item not found"})}t.list=i};this.removeTabBarBadgeHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(r in n){n[r].badgeText=null;n[r].badgeText=null;a({errMsg:"removeTabBarBadge:ok"})}else{o({errMsg:"removeTabBarBadge:fail tabbar item not found"})}t.list=n};this.showTabBarRedDotHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(r in n){n[r].badgeText=null;n[r].showRedDot=true;a({errMsg:"showTabBarRedDot:ok"})}else{o({errMsg:"showTabBarRedDot:fail tabbar item not found"})}t.list=n};this.hideTabBarRedDotHandler=function(e){var r=e.index,a=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(r in n){n[r].showRedDot=false;a({errMsg:"hideTabBarRedDot:ok"})}else{o({errMsg:"hideTabBarRedDot:fail tabbar item not found"})}t.list=n};this.showTabBarHandler=function(e){var r=e.successHandler;t.status=_;r({errMsg:"showTabBar:ok"})};this.hideTabBarHandler=function(e){var r=e.animation,a=e.successHandler;t.status=r?T:m;a({errMsg:"hideTabBar:ok"})};this.setTabBarStyleHandler=function(e){var r=e.color,a=e.selectedColor,o=e.backgroundColor,n=e.borderStyle,i=e.successHandler;if(o)t.backgroundColor=o;if(n)t.borderStyle=n;if(r)t.color=r;if(a)t.selectedColor=a;i({errMsg:"setTabBarStyle:ok"})};this.setTabBarItemHandler=function(e){var r=e.index,a=e.iconPath,o=e.selectedIconPath,n=e.text,i=e.successHandler,s=e.errorHandler;var l=__spreadArray([],t.list,true);if(r in l){if(a)l[r].iconPath=a;if(o)l[r].selectedIconPath=o;if(n)l[r].text=n;i({errMsg:"setTabBarItem:ok"})}else{s({errMsg:"setTabBarItem:fail tabbar item not found"})}t.list=l};var o=this.conf.list;var n=this.conf.customRoutes;if(Object.prototype.toString.call(o)!=="[object Array]"||o.length<2||o.length>5){throw new Error("tabBar 配置错误")}this.homePage=u(this.conf.homePage);var s=function(e){var t;var r=n[e];e=u(e);if(typeof r==="string"){d.customRoutes.push([e,u(r)])}else if((r===null||r===void 0?void 0:r.length)>0){(t=d.customRoutes).push.apply(t,r.map((function(t){return[e,u(t)]})))}};var d=this;for(var b in n){s(b)}o.forEach((function(e){if(e.pagePath.indexOf("/")!==0){e.pagePath="/"+e.pagePath}}));this.list=o;this.borderStyle=this.conf.borderStyle;this.backgroundColor=this.conf.backgroundColor;this.color=this.conf.color;this.selectedColor=this.conf.selectedColor}e.prototype.getCurrentUrl=function(){var e=this.conf.mode;var t=this.conf.basename||"/";var r;if(e==="hash"){var a=window.location.href;var o=a.indexOf("#");r=o===-1?"":a.substring(o+1)}else{r=location.pathname}var n=u(g(r,t));return decodeURI(n==="/"?this.homePage:n)};e.prototype.bindEvent=function(){i.eventCenter.on("__taroRouterChange",this.routerChangeHandler);i.eventCenter.on("__taroSwitchTab",this.switchTabHandler);i.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler);i.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);i.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);i.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);i.eventCenter.on("__taroShowTabBar",this.showTabBarHandler);i.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler);i.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler);i.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.removeEvent=function(){i.eventCenter.off("__taroRouterChange",this.routerChangeHandler);i.eventCenter.off("__taroSwitchTab",this.switchTabHandler);i.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler);i.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);i.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);i.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);i.eventCenter.off("__taroShowTabBar",this.showTabBarHandler);i.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler);i.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler);i.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.componentDidLoad=function(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom";this.bindEvent();this.routerChangeHandler()};e.prototype.disconnectedCallback=function(){this.removeEvent()};e.prototype.render=function(){var e,r;var a=this;var n=this.tabbarPos,i=n===void 0?"bottom":n;var l=this.status;var d=s("weui-tabbar",(e={},e["taro-tabbar__border-".concat(this.borderStyle||"black")]=true,e));var b=this.selectedIndex===-1||l===m;var h=l===T;return t(o,{class:s(B,"".concat(B,"-").concat(i),(r={},r[H]=b,r[x]=h,r))},t("div",{class:d,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map((function(e,r){var o=a.selectedIndex===r;var n;var i;if(o){n=a.selectedColor||"";i=e.selectedIconPath}else{n=a.color||"";i=e.iconPath}return t(c,{index:r,onSelect:a.switchTab.bind(a),isSelected:o,textColor:n,iconPath:i,text:e.text,badgeText:e.badgeText,showRedDot:e.showRedDot})}))))};Object.defineProperty(e.prototype,"tabbar",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());y.style=f}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-0674e57b.system.js","./p-5f4d0d5b.system.js"],(function(t){"use strict";var e,o,i,n,s,r;return{setters:[function(t){e=t.r;o=t.c;i=t.h;n=t.H;s=t.g},function(t){r=t.c}],execute:function(){var h="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}";var a=t("taro_view_core",function(){function t(t){e(this,t);this.onLongPress=o(this,"longpress",7);this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false;this.startTime=0}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var e=Date.now()-this.startTime;if(e<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.componentDidRender=function(){var t=this.el;t.childNodes.forEach((function(e){if(e.nodeType===document.COMMENT_NODE)t.removeChild(e)}))};t.prototype.render=function(){var t;var e=r((t={},t["".concat(this.hoverClass)]=this.hover,t));var o={};if(!!this.animation){o["animation"]=this.animation;o["data-animation"]=this.animation}return i(n,Object.assign({class:e},o),i("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return s(this)},enumerable:false,configurable:true});return t}());a.style=h}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-0674e57b.system.js"],(function(r){"use strict";var e,t,n;return{setters:[function(r){e=r.r;t=r.h;n=r.H}],execute:function(){var i=r("taro_rich_text_core",function(){function r(r){var n=this;e(this,r);this.renderNode=function(r){if("type"in r&&r.type==="text"){var e=(r.text||"").replace(/ /g," ");return e}else if("name"in r&&r.name){var i=r.name,u=r.attrs,a=r.children;var o={};var f=[];if(u&&typeof u==="object"){var c=function(r){var e=u[r];if(r==="style"&&typeof e==="string"){var t=e.split(";").map((function(r){return r.trim()})).filter((function(r){return r}));var n={};t.forEach((function(r){if(!r)return;var e=/(.+): *(.+)/g.exec(r);if(!e)return;var t=e[1],i=e[2];var u=t.replace(/-([a-z])/g,(function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}return r[1].toUpperCase()}));n[u]=i}));if(Object.keys(n).length){o.style=n}return"continue"}o[r]=e};for(var s in u){c(s)}}if(a&&a.length){f=a.map((function(r){return n.renderNode(r)}))}return t(i,o,f)}return null}}r.prototype.render=function(){var r=this,e=r.nodes,i=r.renderNode;if(Array.isArray(e)){return t(n,null,e.map((function(r){return i(r)})))}else{return t(n,{innerHTML:e})}};return r}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as s,H as o}from"./p-d21dd145.js";const t=class{constructor(s){r(this,s)}render(){return s(o,null)}};export{t as taro_custom_wrapper_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i,H as e,g as h}from"./p-d21dd145.js";const r=class{constructor(i){t(this,i),this.onChange=s(this,"radiochange",7),this.value="",this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1,this.handleClick=()=>{this.disabled||this.checked||(this.checked=!0)}}watchChecked(t){this.isWillLoadCalled&&t&&this.onChange.emit({value:this.value})}watchId(t){this.isWillLoadCalled&&t&&this.inputEl.setAttribute("id",t)}componentDidRender(){this.id&&this.el.removeAttribute("id")}componentWillLoad(){this.isWillLoadCalled=!0}render(){const{checked:t,name:s,value:h,disabled:r,nativeProps:c}=this;return i(e,{className:"weui-cells_checkbox",onClick:this.handleClick},i("input",Object.assign({ref:t=>{t&&(this.inputEl=t,this.id&&t.setAttribute("id",this.id))},type:"radio",name:s,value:h,class:"weui-check",checked:t,disabled:r,onChange:t=>t.stopPropagation()},c)),i("i",{class:"weui-icon-checked"}),i("slot",null))}get el(){return h(this)}static get watchers(){return{checked:["watchChecked"],id:["watchId"]}}},c=class{constructor(i){t(this,i),this.onChange=s(this,"change",7),this.uniqueName=Date.now().toString(36)}function(t){if(t.stopPropagation(),"TARO-RADIO-CORE"!==t.target.tagName)return;const s=t.target;s.checked&&(this.el.querySelectorAll("taro-radio-core").forEach((t=>{t!==s&&(t.checked=!1)})),this.value=t.detail.value,this.onChange.emit({value:this.value}))}componentDidLoad(){this.el.querySelectorAll("taro-radio-core").forEach((t=>{t.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!this.value){const t=this.el.querySelectorAll("taro-radio-core");this.value=this.getValues(t)}return this.value},configurable:!0})}getValues(t){let s="";return Array.from(t).forEach((t=>{const i=t.querySelector("input");(null==i?void 0:i.checked)&&(s=i.value||"")})),s}render(){return i(e,{class:"weui-cells_radiogroup"})}get el(){return h(this)}};export{r as taro_radio_core,c as taro_radio_group_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,c as o,h as s}from"./p-d21dd145.js";const t=class{constructor(s){r(this,s),this.onLoad=o(this,"load",7),this.onError=o(this,"error",7)}render(){const{src:r,onLoad:o,onError:t}=this;return s("iframe",{class:"taro-webview",onLoad:s=>{s.stopPropagation(),o.emit({src:r})},onError:o=>{o.stopPropagation(),t.emit({src:r})},src:r})}};t.style="iframe{border:none}.taro-webview{position:fixed;top:0;bottom:0;z-index:999;width:100%;height:100%}";export{t as taro_web_view_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as o,H as i,g as l}from"./p-d21dd145.js";import{c as r}from"./p-7e5d2d7a.js";import{d as c}from"./p-5746d7ce.js";function h(t,s,o){if(t===s||"number"!=typeof t)return;const i=s-t,l=Date.now(),r=s>=t;!function c(){var h;h=Date.now()-l,t=i*h/500+t,r&&t>=s||!r&&s>=t?o(s):(o(t),requestAnimationFrame(c))}()}const e=class{constructor(o){t(this,o),this.onScroll=s(this,"scroll",3),this.onScrollToUpper=s(this,"scrolltoupper",3),this.onScrollToLower=s(this,"scrolltolower",3),this.scrollX=!1,this.scrollY=!1,this.upperThreshold=50,this.lowerThreshold=50,this.scrollWithAnimation=!1,this.handleScroll=t=>{if(t instanceof CustomEvent)return;const{scrollLeft:s,scrollTop:o,scrollHeight:i,scrollWidth:l}=this.el;this._scrollLeft=s,this._scrollTop=o,this.upperAndLower(),this.onScroll.emit({scrollLeft:s,scrollTop:o,scrollHeight:i,scrollWidth:l})},this.upperAndLower=c((()=>{const{offsetWidth:t,offsetHeight:s,scrollLeft:o,scrollTop:i,scrollHeight:l,scrollWidth:r}=this.el,c=Number(this.lowerThreshold),h=Number(this.upperThreshold);!isNaN(c)&&(this.scrollY&&s+i+c>=l||this.scrollX&&t+o+c>=r)&&this.onScrollToLower.emit({direction:this.scrollX?"right":this.scrollY?"bottom":""}),!isNaN(h)&&(this.scrollY&&i<=h||this.scrollX&&o<=h)&&this.onScrollToUpper.emit({direction:this.scrollX?"left":this.scrollY?"top":""})}),200)}watchScrollLeft(t){const s=Number(t);this.scrollX&&!isNaN(s)&&s!==this._scrollLeft&&(this.scrollWithAnimation?h(this._scrollLeft,s,(t=>this.el.scrollLeft=t)):this.el.scrollLeft=s,this._scrollLeft=s)}watchScrollTop(t){const s=Number(t);this.scrollY&&!isNaN(s)&&s!==this._scrollTop&&(this.scrollWithAnimation?h(this._scrollTop,s,(t=>this.el.scrollTop=t)):this.el.scrollTop=s,this._scrollTop=s)}watchScrollIntoView(t){var s;"string"==typeof t&&t&&(null===(s=document.querySelector(`#${t}`))||void 0===s||s.scrollIntoView({behavior:"smooth",block:"center",inline:"start"}))}componentDidLoad(){const{scrollY:t,scrollX:s,scrollWithAnimation:o}=this,i=Number(this.mpScrollTop),l=Number(this.mpScrollLeft);t&&!isNaN(i)&&(o?h(0,i,(t=>this.el.scrollTop=t)):this.el.scrollTop=i,this._scrollTop=i),s&&!isNaN(l)&&(o?h(0,l,(t=>this.el.scrollLeft=t)):this.el.scrollLeft=l,this._scrollLeft=l)}render(){const{scrollX:t,scrollY:s}=this,l=r({"taro-scroll-view__scroll-x":t,"taro-scroll-view__scroll-y":s});return o(i,{class:l,onScroll:this.handleScroll},o("slot",null))}get el(){return l(this)}static get watchers(){return{mpScrollLeft:["watchScrollLeft"],mpScrollTop:["watchScrollTop"],mpScrollIntoView:["watchScrollIntoView"]}}};e.style="taro-scroll-view-core{display:block;width:100%;-webkit-overflow-scrolling:auto}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow-x:scroll;overflow-y:hidden}.taro-scroll-view__scroll-y{overflow-x:hidden;overflow-y:scroll}";export{e as taro_scroll_view_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,c as t,h as i}from"./p-d21dd145.js";const o=class{constructor(i){r(this,i),this.onLoad=t(this,"load",7),this.onError=t(this,"error",7),this.nativeProps={}}imageOnLoad(){const{width:r,height:t}=this.imgRef;this.onLoad.emit({width:r,height:t})}imageOnError(){this.onError.emit()}render(){const{src:r,imageOnLoad:t,imageOnError:o,nativeProps:s}=this;return i("img",Object.assign({ref:r=>this.imgRef=r,src:r,onLoad:t.bind(this),onError:o.bind(this)},s))}};o.style="taro-cover-image-core{overflow:hidden;width:320px;height:240px}";export{o as taro_cover_image_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r,H as s}from"./p-d21dd145.js";const t=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 AdCustom 组件!")}render(){return r(s,null)}};export{t as taro_ad_custom_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r,H as n}from"./p-d21dd145.js";const e=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 PageContainer 组件!")}render(){return r(n,null)}};export{e as taro_page_container_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-0674e57b.system.js","./p-663d1bb9.system.js"],(function(e){"use strict";var t,i,o,n,s,r;return{setters:[function(e){t=e.r;i=e.c;o=e.h;n=e.g;s=e.H},function(e){r=e.d}],execute:function(){var l=".taro-picker-view-column-container{display:-ms-flexbox;display:flex;overflow:scroll;overflow-x:hidden;position:relative;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;text-align:center}.taro-picker-view-column-container::-webkit-scrollbar{display:none}";var c=e("taro_picker_view_column_core",function(){function e(e){var o=this;t(this,e);this.onChange=i(this,"onselect",7);this.onSelectStart=i(this,"onselectstart",7);this.onSelectEnd=i(this,"onselectend",7);this.initialPosition="0";this.paddingVertical=0;this.isInit=false;this.isMove=false;this.handleSelected=r((function(){var e=o.el.childNodes;var t=0;var i="0";for(var n in e){var s=e[n];var r=s.offsetHeight;if(t+r/2>o.el.scrollTop){i=n;break}t+=r}o.el.scrollTo({top:t,behavior:"smooth"});o.onChange.emit({curIndex:o.col,selectedIndex:i});o.onSelectEnd.emit()}),500)}e.prototype.onScroll=function(e){if(!this.isMove){this.isMove=true;this.onSelectStart.emit()}this.handleSelected()};e.prototype.onMouseEnd=function(){if(!this.isMove)return;this.isMove=false;this.handleSelected()};e.prototype.onTouchEnd=function(){this.isMove=false;this.handleSelected()};e.prototype.componentDidUpdate=function(){if(!this.isInit){this.isInit=true;var e=this.el.childNodes;var t=0;var i=0;for(var o in e){var n=e[o];if(this.initialPosition===o||!n||typeof n.offsetHeight!=="number"){break}i+=n.offsetHeight;t++}this.el.scrollTo({top:i});if(t>=e.length){this.onChange.emit({curIndex:this.col,selectedIndex:t-1})}}};e.prototype.render=function(){var e=this.paddingVertical,t=e===void 0?0:e;return o(s,{class:"taro-picker-view-column-container",style:{"padding-top":"".concat(t,"px"),"padding-bottom":"".concat(t,"px")}})};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());c.style=l}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as s,g as e}from"./p-d21dd145.js";const h=class{constructor(s){t(this,s),this.onChange=i(this,"change",7),this.type="switch",this.checked=!1,this.color="#04BE02",this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1,this.switchChange=t=>{t.stopPropagation();const i=t.target.checked;this.isChecked=i,this.onChange.emit({value:i})}}function(t,i){this.isWillLoadCalled&&t!==i&&(this.isChecked=t)}componentWillLoad(){this.isWillLoadCalled=!0,this.isChecked=this.checked}componentDidLoad(){Object.defineProperty(this.el,"value",{get:()=>this.isChecked,configurable:!0})}render(){const{type:t,color:i,isChecked:e,name:h,disabled:c,nativeProps:o}=this;return s("input",Object.assign({type:"checkbox",class:`weui-${t}`,style:e?{borderColor:i||"04BE02",backgroundColor:i||"04BE02"}:{},checked:e,name:h,disabled:c,onChange:this.switchChange},o))}get el(){return e(this)}static get watchers(){return{checked:["function"]}}};h.style="taro-switch-core{display:inline-block;width:52px;height:32px}taro-switch-core .weui-switch{display:block;width:100%;height:100%}";export{h as taro_switch_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-0674e57b.system.js","@tarojs/taro","./p-5f4d0d5b.system.js"],(function(e){"use strict";var t,r,i,a,s,n;return{setters:[function(e){t=e.r;r=e.c;i=e.h;a=e.H},function(e){s=e.default},function(e){n=e.c}],execute:function(){var o=".navigator-hover{background:#efefef}";var c=e("taro_navigator_core",function(){function e(e){t(this,e);this.onSuccess=r(this,"cuccess",7);this.onFail=r(this,"fail",7);this.onComplete=r(this,"Complete",7);this.openType="navigate";this.isHover=false;this.delta=0}e.prototype.onClick=function(){var e=this,t=e.openType,r=e.onSuccess,i=e.onFail,a=e.onComplete;var n=Promise.resolve();switch(t){case"navigate":n=s.navigateTo({url:this.url});break;case"redirect":n=s.redirectTo({url:this.url});break;case"switchTab":n=s.switchTab({url:this.url});break;case"reLaunch":n=s.reLaunch({url:this.url});break;case"navigateBack":n=s.navigateBack({delta:this.delta});break;case"exit":n=Promise.reject(new Error('navigator:fail 暂不支持"openType: exit"'));break}if(n){n.then((function(e){r.emit(e)})).catch((function(e){i.emit(e)})).finally((function(){a.emit()}))}};e.prototype.render=function(){var e;var t=this,r=t.isHover,s=t.hoverClass;return i(a,{class:n((e={},e[s]=r,e))})};return e}());c.style=o}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-0674e57b.system.js"],(function(e){"use strict";var t,i,n,o;return{setters:[function(e){t=e.r;i=e.c;n=e.h;o=e.g}],execute:function(){var r="taro-switch-core{display:inline-block;width:52px;height:32px}taro-switch-core .weui-switch{display:block;width:100%;height:100%}";var s=e("taro_switch_core",function(){function e(e){var n=this;t(this,e);this.onChange=i(this,"change",7);this.type="switch";this.checked=false;this.color="#04BE02";this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false;this.switchChange=function(e){e.stopPropagation();var t=e.target.checked;n.isChecked=t;n.onChange.emit({value:t})}}e.prototype.function=function(e,t){if(!this.isWillLoadCalled)return;if(e!==t)this.isChecked=e};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;this.isChecked=this.checked};e.prototype.componentDidLoad=function(){var e=this;Object.defineProperty(this.el,"value",{get:function(){return e.isChecked},configurable:true})};e.prototype.render=function(){var e=this,t=e.type,i=e.color,o=e.isChecked,r=e.name,s=e.disabled,c=e.nativeProps;var a=o?{borderColor:i||"04BE02",backgroundColor:i||"04BE02"}:{};return n("input",Object.assign({type:"checkbox",class:"weui-".concat(t),style:a,checked:o,name:r,disabled:s,onChange:this.switchChange},c))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["function"]}},enumerable:false,configurable:true});return e}());s.style=r}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-0674e57b.system.js"],(function(e){"use strict";var t,i,r,n,o;return{setters:[function(e){t=e.r;i=e.c;r=e.h;n=e.H;o=e.g}],execute:function(){var a=e("taro_radio_core",function(){function e(e){var r=this;t(this,e);this.onChange=i(this,"radiochange",7);this.value="";this.checked=false;this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false;this.handleClick=function(){if(r.disabled)return;if(!r.checked)r.checked=true}}e.prototype.watchChecked=function(e){if(!this.isWillLoadCalled)return;e&&this.onChange.emit({value:this.value})};e.prototype.watchId=function(e){if(!this.isWillLoadCalled)return;if(e)this.inputEl.setAttribute("id",e)};e.prototype.componentDidRender=function(){this.id&&this.el.removeAttribute("id")};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true};e.prototype.render=function(){var e=this;var t=this,i=t.checked,o=t.name,a=t.value,u=t.disabled,c=t.nativeProps;return r(n,{className:"weui-cells_checkbox",onClick:this.handleClick},r("input",Object.assign({ref:function(t){if(!t)return;e.inputEl=t;if(e.id)t.setAttribute("id",e.id)},type:"radio",name:o,value:a,class:"weui-check",checked:i,disabled:u,onChange:function(e){return e.stopPropagation()}},c)),r("i",{class:"weui-icon-checked"}),r("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["watchChecked"],id:["watchId"]}},enumerable:false,configurable:true});return e}());var u=e("taro_radio_group_core",function(){function e(e){t(this,e);this.onChange=i(this,"change",7);this.uniqueName=Date.now().toString(36)}e.prototype.function=function(e){e.stopPropagation();if(e.target.tagName!=="TARO-RADIO-CORE")return;var t=e.target;if(t.checked){var i=this.el.querySelectorAll("taro-radio-core");i.forEach((function(e){if(e!==t){e.checked=false}}));this.value=e.detail.value;this.onChange.emit({value:this.value})}};e.prototype.componentDidLoad=function(){var e=this;var t=this.el.querySelectorAll("taro-radio-core");t.forEach((function(t){t.setAttribute("name",e.name||e.uniqueName)}));Object.defineProperty(this.el,"value",{get:function(){if(!e.value){var t=e.el.querySelectorAll("taro-radio-core");e.value=e.getValues(t)}return e.value},configurable:true})};e.prototype.getValues=function(e){var t="";Array.from(e).forEach((function(e){var i=e.querySelector("input");if(i===null||i===void 0?void 0:i.checked){t=i.value||""}}));return t};e.prototype.render=function(){return r(n,{class:"weui-cells_radiogroup"})};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-0674e57b.system.js"],(function(e){"use strict";var t,n,o,i,r;return{setters:[function(e){t=e.r;n=e.c;o=e.h;i=e.H;r=e.g}],execute:function(){var a='.taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{display:inline-block;position:relative;top:5px;border:1px solid #d1d1d1;border-radius:3px;width:23px;height:23px;min-height:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#fff;vertical-align:0;font-size:23px;color:#1aad19}.taro-checkbox_checked:checked::before{display:inline-block;position:absolute;left:50%;top:50%;vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-family:weui;font-style:normal;font-weight:normal;font-variant:normal;font-size:inherit;color:inherit;content:"\\ea08";-webkit-transform:translate(-50%, -48%) scale(0.73);transform:translate(-50%, -48%) scale(0.73);speak:none}';var c=e("taro_checkbox_core",function(){function e(e){var o=this;t(this,e);this.onChange=n(this,"checkboxchange",7);this.value="";this.checked=false;this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false;this.handleChange=function(e){e.stopPropagation();o.onChange.emit({value:o.value})}}e.prototype.watchId=function(e){if(!this.isWillLoadCalled)return;if(e)this.inputEl.setAttribute("id",e)};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true};e.prototype.componentDidRender=function(){this.id&&this.el.removeAttribute("id")};e.prototype.render=function(){var e=this;var t=this,n=t.checked,r=t.name,a=t.color,c=t.value,l=t.disabled,u=t.nativeProps;return o(i,{className:"weui-cells_checkbox"},o("input",Object.assign({ref:function(t){if(!t)return;e.inputEl=t;if(e.id)t.setAttribute("id",e.id)},type:"checkbox",value:c,name:r,class:"taro-checkbox_checked",style:{color:a},checked:n,disabled:l,onChange:this.handleChange},u)),o("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{id:["watchId"]}},enumerable:false,configurable:true});return e}());c.style=a;var l=e("taro_checkbox_group_core",function(){function e(e){t(this,e);this.onChange=n(this,"change",7);this.uniqueName=Date.now().toString(36)}e.prototype.function=function(e){e.stopPropagation();if(e.target.tagName!=="TARO-CHECKBOX-CORE")return;var t=this.el.querySelectorAll("taro-checkbox-core");this.value=this.getValues(t);this.onChange.emit({value:this.value})};e.prototype.componentDidLoad=function(){var e=this;var t=this.el.querySelectorAll("taro-checkbox-core");t.forEach((function(t){t.setAttribute("name",e.name||e.uniqueName)}));Object.defineProperty(this.el,"value",{get:function(){if(!e.value){var t=e.el.querySelectorAll("taro-checkbox-core");e.value=e.getValues(t)}return e.value},configurable:true})};e.prototype.getValues=function(e){return Array.from(e).filter((function(e){var t=e.querySelector("input");return t===null||t===void 0?void 0:t.checked})).map((function(e){return e.value}))};e.prototype.render=function(){return o(i,null)};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return e}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i,g as e,H as o}from"./p-d21dd145.js";import{d as n}from"./p-5746d7ce.js";const r=class{constructor(i){t(this,i),this.onChange=s(this,"onselect",7),this.onSelectStart=s(this,"onselectstart",7),this.onSelectEnd=s(this,"onselectend",7),this.initialPosition="0",this.paddingVertical=0,this.isInit=!1,this.isMove=!1,this.handleSelected=n((()=>{const t=this.el.childNodes;let s=0,i="0";for(const e in t){const o=t[e].offsetHeight;if(s+o/2>this.el.scrollTop){i=e;break}s+=o}this.el.scrollTo({top:s,behavior:"smooth"}),this.onChange.emit({curIndex:this.col,selectedIndex:i}),this.onSelectEnd.emit()}),500)}onScroll(t){this.isMove||(this.isMove=!0,this.onSelectStart.emit()),this.handleSelected()}onMouseEnd(){this.isMove&&(this.isMove=!1,this.handleSelected())}onTouchEnd(){this.isMove=!1,this.handleSelected()}componentDidUpdate(){if(!this.isInit){this.isInit=!0;const t=this.el.childNodes;let s=0,i=0;for(const e in t){const o=t[e];if(this.initialPosition===e||!o||"number"!=typeof o.offsetHeight)break;i+=o.offsetHeight,s++}this.el.scrollTo({top:i}),s>=t.length&&this.onChange.emit({curIndex:this.col,selectedIndex:s-1})}}render(){const{paddingVertical:t=0}=this;return i(o,{class:"taro-picker-view-column-container",style:{"padding-top":`${t}px`,"padding-bottom":`${t}px`}})}get el(){return e(this)}};r.style=".taro-picker-view-column-container{display:-ms-flexbox;display:flex;overflow:scroll;overflow-x:hidden;position:relative;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;text-align:center}.taro-picker-view-column-container::-webkit-scrollbar{display:none}";export{r as taro_picker_view_column_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as r,H as o}from"./p-d21dd145.js";const s=class{constructor(r){e(this,r)}componentDidLoad(){console.error("H5 暂不支持 ShareElement 组件!")}render(){return r(o,null)}};export{s as taro_share_element_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-0674e57b.system.js"],(function(e){"use strict";var t,r,n;return{setters:[function(e){t=e.r;r=e.h;n=e.H}],execute:function(){var o=e("taro_movable_area_core",function(){function e(e){t(this,e)}e.prototype.componentDidLoad=function(){console.error("H5 暂不支持 MovableArea 组件!")};e.prototype.render=function(){return r(n,null)};return e}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r,H as s}from"./p-d21dd145.js";const t=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 Ad 组件!")}render(){return r(s,null)}};export{t as taro_ad_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-0674e57b.system.js"],(function(t){"use strict";var n,e,r;return{setters:[function(t){n=t.r;e=t.h;r=t.H}],execute:function(){var o=t("taro_functional_page_navigator_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 FunctionalPageNavigator 组件!")};t.prototype.render=function(){return e(r,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as t}from"./p-d21dd145.js";const o=class{constructor(t){r(this,t)}render(){return t("label",{htmlFor:this.for},t("slot",null))}};export{o as taro_label_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-0674e57b.system.js"],(function(t){"use strict";var e,n,i,o;return{setters:[function(t){e=t.r;n=t.c;i=t.h;o=t.g}],execute:function(){var s="taro-input-core{display:block}input{display:block;overflow:hidden;height:1.4rem;text-overflow:clip;text-align:inherit;white-space:nowrap}";function a(t,e,n){if(e==="search")t="search";if(n)t="password";if(typeof t==="undefined"){return"text"}if(!t){throw new Error("unexpected type")}if(t==="digit")t="number";return t}function u(t){return t!==null&&t!==void 0?t:""}var r=t("taro_input_core",function(){function t(t){var i=this;e(this,t);this.onInput=n(this,"input",7);this.onPaste=n(this,"paste",7);this.onFocus=n(this,"focus",7);this.onBlur=n(this,"blur",7);this.onConfirm=n(this,"confirm",7);this.onChange=n(this,"change",7);this.onKeyDown=n(this,"keydown",7);this.isOnComposition=false;this.isOnPaste=false;this.onInputExcuted=false;this.password=false;this.disabled=false;this.maxlength=140;this.autoFocus=false;this.confirmType="done";this.nativeProps={};this.handleInput=function(t){t.stopPropagation();var e=i,n=e.type,o=e.maxlength,s=e.confirmType,u=e.password;if(!i.isOnComposition&&!i.onInputExcuted){var r=t.target.value;var l=a(n,s,u);i.onInputExcuted=true;if(l==="number"&&r&&o<=r.length){r=r.substring(0,o);t.target.value=r}i.value=r;i.onInput.emit({value:r,cursor:r.length})}};this.handlePaste=function(t){i.isOnPaste=true;i.onPaste.emit({value:t.target.value})};this.handleFocus=function(t){i.onInputExcuted=false;i.onFocus.emit({value:t.target.value})};this.handleBlur=function(t){i.onBlur.emit({value:t.target.value})};this.handleChange=function(t){t.stopPropagation();i.onChange.emit({value:t.target.value});if(i.isOnPaste){i.isOnPaste=false;i.value=t.target.value;i.onInput.emit({value:t.target.value,cursor:t.target.value.length})}};this.handleKeyDown=function(t){var e=t.target.value;var n=t.keyCode||t.code;i.onInputExcuted=false;t.stopPropagation();i.onKeyDown.emit({value:e,cursor:e.length,keyCode:n});n===13&&i.onConfirm.emit({value:e})};this.handleComposition=function(t){if(!(t.target instanceof HTMLInputElement))return;if(t.type==="compositionend"){i.isOnComposition=false;i.value=t.target.value;i.onInput.emit({value:t.target.value,cursor:t.target.value.length})}else{i.isOnComposition=true}}}t.prototype.watchFocus=function(t,e){var n;if(!e&&t){(n=this.inputRef)===null||n===void 0?void 0:n.focus()}};t.prototype.componentDidLoad=function(){var t=this;var e,n,i;if(this.type==="file"){this.fileListener=function(){t.onInput.emit()};(e=this.inputRef)===null||e===void 0?void 0:e.addEventListener("change",this.fileListener)}else{(n=this.inputRef)===null||n===void 0?void 0:n.addEventListener("compositionstart",this.handleComposition);(i=this.inputRef)===null||i===void 0?void 0:i.addEventListener("compositionend",this.handleComposition)}Object.defineProperty(this.el,"value",{get:function(){var e;return(e=t.inputRef)===null||e===void 0?void 0:e.value},set:function(e){return t.value=e},configurable:true})};t.prototype.disconnectedCallback=function(){var t;if(this.type==="file"){(t=this.inputRef)===null||t===void 0?void 0:t.removeEventListener("change",this.fileListener)}};t.prototype.render=function(){var t=this;var e=this,n=e.value,o=e.type,s=e.password,r=e.placeholder,l=e.autoFocus,h=e.disabled,p=e.maxlength,c=e.confirmType,f=e.name,d=e.nativeProps;return i("input",Object.assign({ref:function(e){t.inputRef=e},class:"weui-input",value:u(n),type:a(o,c,s),placeholder:r,autoFocus:l,disabled:h,maxlength:p,name:f,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onCompositionStart:this.handleComposition,onCompositionEnd:this.handleComposition},d))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{autoFocus:["watchFocus"]}},enumerable:false,configurable:true});return t}());r.style=s}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-0674e57b.system.js"],(function(e,o){"use strict";var t,r;return{setters:[function(e){t=e.p;r=e.b}],execute:function(){var e=function(){var e=o.meta.url;var r={};if(e!==""){r.resourcesUrl=new URL(".",e).href}return t(r)};e().then((function(e){return r([["p-a06fb894.system",[[4,"taro-checkbox-core",{name:[1],value:[1],color:[1],id:[1025],checked:[4],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-checkbox-group-core",{name:[8]},[[0,"checkboxchange","function"]]]]],["p-99b8a7a2.system",[[4,"taro-radio-core",{name:[1],value:[1],id:[1025],checked:[1028],disabled:[4],nativeProps:[16],isWillLoadCalled:[32]}],[0,"taro-radio-group-core",{name:[8]},[[0,"radiochange","function"]]]]],["p-c090756b.system",[[4,"taro-swiper-core",{indicatorDots:[4,"indicator-dots"],indicatorColor:[1,"indicator-color"],indicatorActiveColor:[1,"indicator-active-color"],autoplay:[4],current:[2],interval:[2],duration:[2],circular:[4],vertical:[4],previousMargin:[1,"previous-margin"],nextMargin:[1,"next-margin"],displayMultipleItems:[2,"display-multiple-items"],full:[4],swiperWrapper:[32],swiper:[32],isWillLoadCalled:[32],observer:[32],observerFirst:[32],observerLast:[32]}],[0,"taro-swiper-item-core",{itemId:[1,"item-id"]}]]],["p-f8eb7e74.system",[[0,"taro-ad-core"]]],["p-75c07a8d.system",[[0,"taro-ad-custom-core"]]],["p-4e108995.system",[[0,"taro-audio-core",{src:[1],controls:[4],autoplay:[4],loop:[4],muted:[4],nativeProps:[16]}]]],["p-720134e9.system",[[0,"taro-block-core"]]],["p-55da9401.system",[[4,"taro-button-core",{disabled:[4],hoverClass:[1,"hover-class"],type:[1],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],size:[1],plain:[4],loading:[4],formType:[1,"form-type"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["p-29f2cbdf.system",[[0,"taro-camera-core"]]],["p-e43c8d69.system",[[0,"taro-canvas-core",{canvasId:[1,"canvas-id"],nativeProps:[16]}]]],["p-7be1a0bb.system",[[0,"taro-cover-image-core",{src:[1],nativeProps:[16]}]]],["p-3774a0b9.system",[[4,"taro-cover-view-core",{animation:[1],hoverClass:[1,"hover-class"],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-42b45ac3.system",[[0,"taro-custom-wrapper-core"]]],["p-40711024.system",[[0,"taro-editor-core"]]],["p-bfd76333.system",[[4,"taro-form-core",{slotParent:[32]},[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-a5b29178.system",[[0,"taro-functional-page-navigator-core"]]],["p-7868d50a.system",[[0,"taro-icon-core",{type:[1],size:[8],color:[1]}]]],["p-0141754f.system",[[0,"taro-image-core",{src:[1],mode:[1],lazyLoad:[4,"lazy-load"],nativeProps:[16],aspectFillMode:[32]}]]],["p-a66340b0.system",[[0,"taro-input-core",{value:[1],type:[1],password:[4],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],confirmType:[1,"confirm-type"],name:[1],nativeProps:[16]}]]],["p-44aa312d.system",[[0,"taro-keyboard-accessory-core"]]],["p-c503bd98.system",[[4,"taro-label-core",{for:[1]}]]],["p-5d8ba574.system",[[0,"taro-live-player-core"]]],["p-431dd581.system",[[0,"taro-live-pusher-core"]]],["p-34477097.system",[[0,"taro-map-core"]]],["p-5ebf2333.system",[[0,"taro-match-media-core"]]],["p-a3933a47.system",[[0,"taro-movable-area-core"]]],["p-4c8f288d.system",[[0,"taro-movable-view-core"]]],["p-1900c26d.system",[[0,"taro-navigation-bar-core"]]],["p-96232b22.system",[[0,"taro-navigator-core",{hoverClass:[1,"hover-class"],url:[1],openType:[1,"open-type"],isHover:[4,"is-hover"],delta:[2]},[[0,"click","onClick"]]]]],["p-64e67d96.system",[[0,"taro-official-account-core"]]],["p-02282c70.system",[[0,"taro-open-data-core"]]],["p-f201d652.system",[[0,"taro-page-container-core"]]],["p-c2a225ef.system",[[0,"taro-page-meta-core"]]],["p-954862dc.system",[[0,"taro-picker-view-column-core",{col:[1],initialPosition:[1,"initial-position"],paddingVertical:[2,"padding-vertical"],isInit:[32],isMove:[32]},[[1,"scroll","onScroll"],[1,"mouseup","onMouseEnd"],[1,"mouseout","onMouseEnd"],[1,"mouseleave","onMouseEnd"],[1,"touchend","onTouchEnd"]]]]],["p-47484bac.system",[[4,"taro-picker-view-core",{indicatorStyle:[1,"indicator-style"],indicatorClass:[1,"indicator-class"],value:[16],maskStyle:[1,"mask-style"],maskClass:[1,"mask-class"]},[[0,"onselect","onSelect"],[0,"onselectstart","onSelectStart"],[0,"onselectend","onPickerColEnd"]]]]],["p-ca1f541c.system",[[0,"taro-progress-core",{percent:[2],showInfo:[4,"show-info"],borderRadius:[8,"border-radius"],fontSize:[8,"font-size"],strokeWidth:[8,"stroke-width"],activeColor:[1,"active-color"],backgroundColor:[1,"background-color"],active:[4]}]]],["p-be4406bd.system",[[4,"taro-pull-to-refresh",{prefixCls:[1,"prefix-cls"],distanceToRefresh:[2,"distance-to-refresh"],damping:[2],indicator:[16],currSt:[32],dragOnEdge:[32]}]]],["p-8554900a.system",[[0,"taro-rich-text-core",{nodes:[1]}]]],["p-d6e42063.system",[[4,"taro-scroll-view-core",{scrollX:[4,"scroll-x"],scrollY:[4,"scroll-y"],upperThreshold:[8,"upper-threshold"],lowerThreshold:[8,"lower-threshold"],mpScrollTop:[8,"scroll-top"],mpScrollLeft:[8,"scroll-left"],mpScrollIntoView:[1,"scroll-into-view"],scrollWithAnimation:[4,"scroll-with-animation"]}]]],["p-407aada8.system",[[0,"taro-share-element-core"]]],["p-780c1853.system",[[0,"taro-slider-core",{min:[2],max:[2],step:[2],disabled:[4],value:[1026],activeColor:[1,"active-color"],backgroundColor:[1,"background-color"],blockSize:[2,"block-size"],blockColor:[1,"block-color"],showValue:[4,"show-value"],name:[1],val:[32],totalWidth:[32],touching:[32],ogX:[32],touchId:[32],percent:[32],ogPercent:[32],isWillLoadCalled:[32]}]]],["p-52e0c86e.system",[[0,"taro-slot-core"]]],["p-97e8bb30.system",[[0,"taro-switch-core",{type:[1],checked:[4],color:[1],name:[1],disabled:[4],nativeProps:[16],isChecked:[32],isWillLoadCalled:[32]}]]],["p-7ee03392.system",[[0,"taro-tabbar",{conf:[16],list:[32],borderStyle:[32],backgroundColor:[32],color:[32],selectedColor:[32],selectedIndex:[32],status:[32]}]]],["p-c36df190.system",[[4,"taro-text-core",{selectable:[4]}]]],["p-1a01e5a6.system",[[0,"taro-textarea-core",{value:[1],placeholder:[1],disabled:[4],maxlength:[2],autoFocus:[4,"auto-focus"],autoHeight:[4,"auto-height"],name:[1],nativeProps:[16],line:[32]}]]],["p-8194107c.system",[[4,"taro-view-core",{animation:[1],hoverClass:[1,"hover-class"],hoverStartTime:[2,"hover-start-time"],hoverStayTime:[2,"hover-stay-time"],hover:[32],touch:[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-b1cf6698.system",[[0,"taro-voip-room-core"]]],["p-1ae9ff34.system",[[0,"taro-web-view-core",{src:[1]}]]],["p-107c83e4.system",[[4,"taro-picker-core",{mode:[1],disabled:[4],range:[16],rangeKey:[1,"range-key"],value:[8],start:[1],end:[1],fields:[1],name:[1],pickerValue:[32],height:[32],hidden:[32],fadeOut:[32],isWillLoadCalled:[32]}],[0,"taro-picker-group",{mode:[1],range:[16],rangeKey:[1,"range-key"],height:[2],columnId:[1,"column-id"],updateHeight:[16],onColumnChange:[16],updateDay:[16],startY:[32],preY:[32],hadMove:[32],touchEnd:[32],isMove:[32]},[[1,"mousedown","onMouseDown"],[1,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-61645135.system",[[0,"taro-video-core",{src:[1],duration:[2],controls:[4],autoplay:[4],loop:[4],muted:[4],initialTime:[2,"initial-time"],poster:[1],objectFit:[1,"object-fit"],showProgress:[4,"show-progress"],showFullscreenBtn:[4,"show-fullscreen-btn"],showPlayBtn:[4,"show-play-btn"],showCenterPlayBtn:[4,"show-center-play-btn"],showMuteBtn:[4,"show-mute-btn"],danmuList:[16],danmuBtn:[4,"danmu-btn"],enableDanmu:[4,"enable-danmu"],enablePlayGesture:[4,"enable-play-gesture"],enableProgressGesture:[4,"enable-progress-gesture"],vslideGesture:[4,"vslide-gesture"],vslideGestureInFullscreen:[4,"vslide-gesture-in-fullscreen"],nativeProps:[16],_duration:[32],_enableDanmu:[32],isPlaying:[32],isFirst:[32],isFullScreen:[32],fullScreenTimestamp:[32],isMute:[32],play:[64],pause:[64],stop:[64],seek:[64],requestFullScreen:[64],exitFullScreen:[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{controls:[4],currentTime:[2,"current-time"],duration:[2],isPlaying:[4,"is-playing"],pauseFunc:[16],playFunc:[16],seekFunc:[16],showPlayBtn:[4,"show-play-btn"],showProgress:[4,"show-progress"],setProgressBall:[64],toggleVisibility:[64],getIsDraggingProgressBall:[64],setCurrentTime:[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{enable:[4],danmuList:[32],sendDanmu:[64],tick:[64]}]]]],e)}))}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as o,H as e}from"./p-d21dd145.js";import{c as s}from"./p-7e5d2d7a.js";import("./p-72f327e1.js");const a=class{constructor(o){t(this,o),this.onLoad=i(this,"load",7),this.onError=i(this,"error",7),this.mode="scaleToFill",this.lazyLoad=!1,this.nativeProps={},this.aspectFillMode="width"}componentDidLoad(){if(!this.lazyLoad)return;const t=new IntersectionObserver((i=>{i[i.length-1].isIntersecting&&(t.unobserve(this.imgRef),this.imgRef.src=this.src)}),{rootMargin:"300px 0px"});t.observe(this.imgRef)}imageOnLoad(){const{width:t,height:i,naturalWidth:o,naturalHeight:e}=this.imgRef;this.onLoad.emit({width:t,height:i}),this.aspectFillMode=o>e?"width":"height"}imageOnError(){this.onError.emit()}render(){const{src:t,mode:i="scaleToFill",lazyLoad:a=!1,aspectFillMode:h="width",imageOnLoad:r,imageOnError:m,nativeProps:d}=this,g=s({"taro-img__widthfix":"widthFix"===i}),l=s(`taro-img__mode-${i.toLowerCase().replace(/\s/g,"")}`,{[`taro-img__mode-aspectfill--${h}`]:"aspectFill"===i});return o(e,{class:g},o("img",Object.assign(a?{ref:t=>this.imgRef=t,class:l,onLoad:r.bind(this),onError:m.bind(this)}:{ref:t=>this.imgRef=t,class:l,src:t,onLoad:r.bind(this),onError:m.bind(this)},d)))}};a.style='img[src=""]{opacity:0}taro-image-core{display:inline-block;overflow:hidden;position:relative;width:auto;height:auto;font-size:0}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{position:absolute;bottom:0;width:100%}.taro-img__mode-left{height:100%}.taro-img__mode-right{position:absolute;right:0;height:100%}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;right:0;bottom:0}';export{a as taro_image_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-0674e57b.system.js"],(function(o){"use strict";var t,r,e;return{setters:[function(o){t=o.r;r=o.h;e=o.H}],execute:function(){var n=o("taro_voip_room_core",function(){function o(o){t(this,o)}o.prototype.componentDidLoad=function(){console.error("H5 暂不支持 VoipRoom 组件!")};o.prototype.render=function(){return r(e,null)};return o}())}}}));
|