@tarojs/components 3.5.0-alpha.0 → 3.5.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/cjs/{index-dd4b7ba3.js → index-cd258c8b.js} +62 -53
- 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 +1 -1
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-canvas-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-components.cjs.js +2 -2
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-image-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-input-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-movable-area-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-movable-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +2 -2
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tabbar.cjs.entry.js +2 -2
- package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-textarea-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-video-control_3.cjs.entry.js +27674 -23
- package/dist/cjs/taro-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
- package/dist/collection/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-1d67274c.js} +62 -53
- package/dist/{cjs/index-b9715722.js → esm/index-cd1a2d33.js} +6 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/taro-ad-core.entry.js +1 -1
- package/dist/esm/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm/taro-audio-core.entry.js +1 -1
- package/dist/esm/taro-block-core.entry.js +1 -1
- package/dist/esm/taro-button-core.entry.js +2 -2
- package/dist/esm/taro-camera-core.entry.js +1 -1
- package/dist/esm/taro-canvas-core.entry.js +1 -1
- package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
- package/dist/esm/taro-components.js +2 -2
- package/dist/esm/taro-cover-image-core.entry.js +1 -1
- package/dist/esm/taro-cover-view-core.entry.js +2 -2
- package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm/taro-editor-core.entry.js +1 -1
- package/dist/esm/taro-form-core.entry.js +1 -1
- package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm/taro-icon-core.entry.js +2 -2
- package/dist/esm/taro-image-core.entry.js +2 -2
- package/dist/esm/taro-input-core.entry.js +1 -1
- package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm/taro-label-core.entry.js +1 -1
- package/dist/esm/taro-live-player-core.entry.js +1 -1
- package/dist/esm/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm/taro-map-core.entry.js +1 -1
- package/dist/esm/taro-match-media-core.entry.js +1 -1
- package/dist/esm/taro-movable-area-core.entry.js +1 -1
- package/dist/esm/taro-movable-view-core.entry.js +1 -1
- package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm/taro-navigator-core.entry.js +2 -2
- package/dist/esm/taro-official-account-core.entry.js +1 -1
- package/dist/esm/taro-open-data-core.entry.js +1 -1
- package/dist/esm/taro-page-container-core.entry.js +1 -1
- package/dist/esm/taro-page-meta-core.entry.js +1 -1
- package/dist/esm/taro-picker-core_2.entry.js +2 -2
- package/dist/esm/taro-picker-view-column-core.entry.js +1 -1
- package/dist/esm/taro-picker-view-core.entry.js +2 -2
- package/dist/esm/taro-progress-core.entry.js +1 -1
- package/dist/esm/taro-pull-to-refresh.entry.js +2 -2
- package/dist/esm/taro-radio-core_2.entry.js +1 -1
- package/dist/esm/taro-rich-text-core.entry.js +1 -1
- package/dist/esm/taro-scroll-view-core.entry.js +2 -2
- package/dist/esm/taro-share-element-core.entry.js +1 -1
- package/dist/esm/taro-slider-core.entry.js +1 -1
- package/dist/esm/taro-slot-core.entry.js +1 -1
- package/dist/esm/taro-swiper-core_2.entry.js +2 -2
- package/dist/esm/taro-switch-core.entry.js +1 -1
- package/dist/esm/taro-tabbar.entry.js +2 -2
- package/dist/esm/taro-text-core.entry.js +2 -2
- package/dist/esm/taro-textarea-core.entry.js +1 -1
- package/dist/esm/taro-video-control_3.entry.js +27669 -18
- package/dist/esm/taro-view-core.entry.js +2 -2
- package/dist/esm/taro-voip-room-core.entry.js +1 -1
- package/dist/esm/taro-web-view-core.entry.js +1 -1
- package/dist/esm-es5/{index-5bd7cbab.js → index-1d67274c.js} +1 -1
- 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-06bffead.entry.js → p-06352f55.entry.js} +1 -1
- package/dist/taro-components/{p-b6d6c744.entry.js → p-085c4322.entry.js} +1 -1
- package/dist/taro-components/{p-3c0230ba.entry.js → p-087d704b.entry.js} +1 -1
- package/dist/taro-components/{p-aae3e479.entry.js → p-0afc53da.entry.js} +1 -1
- package/dist/taro-components/{p-8f90fca9.system.entry.js → p-13359eb6.system.entry.js} +1 -1
- package/dist/taro-components/{p-8e0150eb.system.entry.js → p-1398c59d.system.entry.js} +1 -1
- package/dist/taro-components/{p-94502fc3.entry.js → p-13d03572.entry.js} +1 -1
- package/dist/taro-components/p-14484d41.entry.js +1 -0
- package/dist/taro-components/{p-cea9a198.system.entry.js → p-176374d6.system.entry.js} +1 -1
- package/dist/taro-components/{p-1c625d7d.entry.js → p-17b78ad7.entry.js} +1 -1
- package/dist/taro-components/{p-0ee69803.entry.js → p-1fbf755f.entry.js} +1 -1
- package/dist/taro-components/{p-336f2b2a.system.entry.js → p-221bffa0.system.entry.js} +1 -1
- package/dist/taro-components/{p-1b790eb0.system.entry.js → p-24cc05ea.system.entry.js} +1 -1
- package/dist/taro-components/{p-4aa4de0f.system.entry.js → p-2afb4d49.system.entry.js} +1 -1
- package/dist/taro-components/{p-0c2982fc.system.entry.js → p-2c4dea36.system.entry.js} +1 -1
- package/dist/taro-components/{p-5c6aeb55.entry.js → p-34d60fc8.entry.js} +1 -1
- package/dist/taro-components/{p-bd3fa355.system.entry.js → p-37ac3d2b.system.entry.js} +1 -1
- package/dist/taro-components/{p-2d2f8064.entry.js → p-3b067d1f.entry.js} +1 -1
- package/dist/taro-components/{p-7721e046.entry.js → p-3e7aced1.entry.js} +1 -1
- package/dist/taro-components/{p-99ed3ed2.system.entry.js → p-3efae2a3.system.entry.js} +1 -1
- package/dist/taro-components/{p-b2d01686.system.js → p-44996bd6.system.js} +1 -1
- package/dist/taro-components/{p-ebf5b2eb.system.entry.js → p-45574a38.system.entry.js} +1 -1
- package/dist/taro-components/{p-cdffee54.system.entry.js → p-45b92229.system.entry.js} +1 -1
- package/dist/taro-components/{p-08ea5931.system.entry.js → p-49df1b65.system.entry.js} +1 -1
- package/dist/taro-components/{p-964692f7.system.entry.js → p-4a0599c1.system.entry.js} +1 -1
- package/dist/taro-components/{p-fdd73355.system.entry.js → p-4cb60cf0.system.entry.js} +1 -1
- package/dist/taro-components/{p-98b47fc9.system.entry.js → p-52cbf36e.system.entry.js} +1 -1
- package/dist/taro-components/{p-9a618935.system.entry.js → p-546f5965.system.entry.js} +1 -1
- package/dist/taro-components/p-549636ca.entry.js +1 -0
- package/dist/taro-components/{p-8db237e0.entry.js → p-55646f03.entry.js} +1 -1
- package/dist/taro-components/{p-c5a86c19.system.entry.js → p-5656b308.system.entry.js} +1 -1
- package/dist/taro-components/{p-e6298500.entry.js → p-58cbfd17.entry.js} +1 -1
- package/dist/taro-components/{p-4cd044c4.system.entry.js → p-5e48f1b4.system.entry.js} +1 -1
- package/dist/taro-components/{p-1b48afb1.entry.js → p-5f276ea1.entry.js} +1 -1
- package/dist/taro-components/p-5f4d0d5b.system.js +7 -0
- package/dist/taro-components/{p-cb395e7d.entry.js → p-615b87e8.entry.js} +1 -1
- package/dist/taro-components/{p-3643d8f7.system.entry.js → p-617f5e2a.system.entry.js} +1 -1
- package/dist/taro-components/p-64f6f87c.system.entry.js +365 -0
- package/dist/taro-components/p-68246408.entry.js +1 -0
- package/dist/taro-components/{p-d91ab597.system.entry.js → p-6946f166.system.entry.js} +1 -1
- package/dist/taro-components/{p-fc4939c6.system.entry.js → p-6e12bd70.system.entry.js} +1 -1
- package/dist/taro-components/{p-cc36cee7.entry.js → p-7419e765.entry.js} +1 -1
- package/dist/taro-components/{p-264b7229.system.entry.js → p-79495606.system.entry.js} +1 -1
- package/dist/taro-components/{p-07062966.entry.js → p-7d457a6a.entry.js} +1 -1
- package/dist/taro-components/{p-8b2bf902.system.entry.js → p-7df1437d.system.entry.js} +1 -1
- package/dist/taro-components/p-7e5d2d7a.js +7 -0
- package/dist/taro-components/{p-08aba8db.system.entry.js → p-7f2d456b.system.entry.js} +1 -1
- package/dist/taro-components/p-7f726d39.entry.js +1 -0
- package/dist/taro-components/{p-3633bb84.entry.js → p-7f8ddefe.entry.js} +1 -1
- package/dist/taro-components/{p-d1c2481c.system.entry.js → p-81e33437.system.entry.js} +1 -1
- package/dist/taro-components/{p-9d0ab7c4.entry.js → p-880791ee.entry.js} +1 -1
- package/dist/taro-components/{p-5f8b5f62.entry.js → p-884e6eab.entry.js} +1 -1
- package/dist/taro-components/{p-e35230e0.entry.js → p-88e3bc92.entry.js} +1 -1
- package/dist/taro-components/{p-3334ac67.system.entry.js → p-88ee404a.system.entry.js} +1 -1
- package/dist/taro-components/{p-703dfad8.system.entry.js → p-899c6b73.system.entry.js} +1 -1
- package/dist/taro-components/{p-55b0a30b.entry.js → p-8a2b7701.entry.js} +1 -1
- package/dist/taro-components/p-8c6d8802.entry.js +1 -0
- package/dist/taro-components/p-8c7cf814.js +1 -0
- package/dist/taro-components/p-8ca394d6.entry.js +1 -0
- package/dist/taro-components/{p-7d848382.system.entry.js → p-8cdc809b.system.entry.js} +1 -1
- package/dist/taro-components/{p-58623cdd.system.entry.js → p-8e0529f2.system.entry.js} +1 -1
- package/dist/taro-components/{p-fb0959c1.system.entry.js → p-8ea9ceb6.system.entry.js} +1 -1
- package/dist/taro-components/{p-ffe63ce9.system.entry.js → p-90f11b84.system.entry.js} +1 -1
- package/dist/taro-components/{p-554e1039.entry.js → p-917185f3.entry.js} +1 -1
- package/dist/taro-components/{p-5d5baadf.entry.js → p-92f26e22.entry.js} +1 -1
- package/dist/taro-components/{p-7423fc3b.system.entry.js → p-96706c5c.system.entry.js} +1 -1
- package/dist/taro-components/{p-078230a0.system.entry.js → p-97af3986.system.entry.js} +1 -1
- package/dist/taro-components/{p-0472e474.system.entry.js → p-9c0f3f24.system.entry.js} +1 -1
- package/dist/taro-components/{p-da8edf69.system.entry.js → p-9dcfe647.system.entry.js} +1 -1
- package/dist/taro-components/p-9ff180ae.entry.js +1 -0
- package/dist/taro-components/{p-34188530.system.entry.js → p-a16053fa.system.entry.js} +1 -1
- package/dist/taro-components/{p-33ee636a.system.js → p-a2fd3c03.system.js} +1 -1
- package/dist/taro-components/{p-4039bcb5.entry.js → p-a9a84796.entry.js} +1 -1
- package/dist/taro-components/{p-f5fe8711.entry.js → p-a9c3e575.entry.js} +1 -1
- package/dist/taro-components/{p-527a38ee.system.entry.js → p-ac4c4975.system.entry.js} +1 -1
- package/dist/taro-components/{p-8a5e67cb.entry.js → p-aca73ca4.entry.js} +1 -1
- package/dist/taro-components/{p-17039974.system.entry.js → p-acb07924.system.entry.js} +1 -1
- package/dist/taro-components/{p-1e4f1702.system.entry.js → p-acfcb861.system.entry.js} +1 -1
- package/dist/taro-components/p-b31e6cf0.entry.js +1 -0
- package/dist/taro-components/{p-cfbfeee8.entry.js → p-b455351e.entry.js} +1 -1
- package/dist/taro-components/{p-065ec61d.entry.js → p-b640bd56.entry.js} +1 -1
- package/dist/taro-components/{p-0c18bd18.system.entry.js → p-b7128eac.system.entry.js} +1 -1
- package/dist/taro-components/{p-df5a19b0.system.entry.js → p-ba984b34.system.entry.js} +1 -1
- package/dist/taro-components/p-bb3d337d.entry.js +365 -0
- package/dist/taro-components/p-c0875abf.entry.js +1 -0
- package/dist/taro-components/{p-74540410.entry.js → p-c1642977.entry.js} +1 -1
- package/dist/taro-components/p-c33b552b.entry.js +1 -0
- package/dist/taro-components/p-c6d14c2b.entry.js +1 -0
- package/dist/taro-components/p-c995a3aa.entry.js +1 -0
- package/dist/taro-components/{p-06af26db.system.entry.js → p-cde242bb.system.entry.js} +1 -1
- package/dist/taro-components/p-de726095.entry.js +1 -0
- package/dist/taro-components/p-de95c6ac.system.entry.js +1 -0
- package/dist/taro-components/{p-a05d66d1.system.entry.js → p-deef9af1.system.entry.js} +1 -1
- package/dist/taro-components/{p-99cb65a6.system.entry.js → p-e5486e8c.system.entry.js} +1 -1
- package/dist/taro-components/{p-15bea37d.entry.js → p-e56a303b.entry.js} +1 -1
- package/dist/taro-components/{p-865c21b5.entry.js → p-e5fdbc1c.entry.js} +1 -1
- package/dist/taro-components/{p-14dbbb42.entry.js → p-e6ec7abc.entry.js} +1 -1
- package/dist/taro-components/{p-7cdad34e.system.entry.js → p-ed69dc55.system.entry.js} +1 -1
- package/dist/taro-components/{p-b75d8a65.entry.js → p-ee1ffbb0.entry.js} +1 -1
- package/dist/taro-components/{p-cfbdd4e3.system.entry.js → p-efc892d1.system.entry.js} +1 -1
- package/dist/taro-components/{p-e61d2113.system.entry.js → p-f0c5c933.system.entry.js} +1 -1
- package/dist/taro-components/{p-b87cf623.entry.js → p-f425f3b5.entry.js} +1 -1
- package/dist/taro-components/{p-e0ad978e.entry.js → p-f5377a15.entry.js} +1 -1
- package/dist/taro-components/{p-e03fa2d5.system.entry.js → p-f675e927.system.entry.js} +1 -1
- package/dist/taro-components/{p-a1863c96.entry.js → p-fc28dbdd.entry.js} +1 -1
- package/dist/taro-components/p-fee2ad82.entry.js +1 -0
- package/dist/taro-components/{p-e2f6448d.system.entry.js → p-ff792cf7.system.entry.js} +1 -1
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/taro-components/taro-components.js +1 -1
- package/dist/types/components/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/dist-h5/react/components/index.js +63 -0
- package/dist-h5/react/index.js +1 -46
- package/dist-h5/vue/components/index.js +60 -0
- package/dist-h5/vue/index.js +23 -26
- package/dist-h5/vue3/components/index.js +64 -0
- package/dist-h5/vue3/index.js +12 -65
- package/package.json +22 -9
- 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/common.d.ts +2 -0
- package/types/index.d.ts +53 -52
- package/types/index.vue3.d.ts +71 -73
- package/types/props.ts +73 -0
- package/vue3.d.ts +3 -0
- package/dist/esm-es5/index-3c78bcaf.js +0 -7
- package/dist/taro-components/p-0303f9e0.entry.js +0 -1
- package/dist/taro-components/p-11932905.entry.js +0 -1
- package/dist/taro-components/p-37cfdd8f.js +0 -7
- package/dist/taro-components/p-3dfb1807.entry.js +0 -1
- package/dist/taro-components/p-44b60b72.entry.js +0 -1
- package/dist/taro-components/p-59d38db0.entry.js +0 -1
- package/dist/taro-components/p-758fb1ba.entry.js +0 -1
- package/dist/taro-components/p-786653af.system.entry.js +0 -1
- package/dist/taro-components/p-7fdd59f0.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-94c20f60.system.js +0 -7
- package/dist/taro-components/p-a1423df9.entry.js +0 -1
- package/dist/taro-components/p-b9280444.entry.js +0 -1
- package/dist/taro-components/p-c218c298.entry.js +0 -1
- package/dist/taro-components/p-c362734b.entry.js +0 -1
- package/dist/taro-components/p-cf55a63c.entry.js +0 -1
- package/dist/taro-components/p-d0c608a8.entry.js +0 -1
- package/dist/taro-components/p-e27798a4.entry.js +0 -1
- package/dist/taro-components/p-f05e1558.js +0 -1
- package/dist-h5/vue/simpleComponents.js +0 -19
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,o,r,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(t){return function(e){return l([t,e])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(i)try{if(n=1,o&&(r=s[0]&2?o["return"]:s[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,s[1])).done)return r;if(o=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;o=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){i.label=s[1];break}if(s[0]===6&&i.label<r[1]){i.label=r[1];r=s;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(s);break}if(r[2])i.ops.pop();i.trys.pop();continue}s=e.call(t,i)}catch(t){s=[6,t];o=0}finally{n=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e){for(var i=0,n=e.length,o=t.length;i<n;i++,o++)t[o]=e[i];return t};System.register(["./p-b2d01686.system.js","./p-94c20f60.system.js","./p-663d1bb9.system.js"],(function(t){"use strict";var e,i,n,o,r,s,a;return{setters:[function(t){e=t.r;i=t.h;n=t.H;o=t.g;r=t.c},function(t){s=t.c},function(t){a=t.t}],execute:function(){var l=function(t){if(t===null)return"";var e=Math.round(t/1e3%60);var i=Math.floor((t-e)/1e3/60);return(i<10?"0"+i:i)+":"+(e<10?"0"+e:e)};var u=function(t,e){return Math.sqrt(Math.pow(t,2)+Math.pow(e,2))};var c=function(t){return Math.max(-1,Math.min(t,1))};var d=function(){var t;var e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]];var i=["webkitEnterFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"];var n=0;var o=e.length;var r={};for(;n<o;n++){t=e[n];if(t&&t[1]in document){for(n=0;n<t.length;n++){r[e[0][n]]=t[n]}return r}}if(!r[e[0][0]]){for(n=0;n<i.length;n++){r[e[0][n]]=i[n]}}return r}();var h=undefined&&undefined.__awaiter||function(t,e,i,n){function o(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function s(t){try{l(n.next(t))}catch(t){r(t)}}function a(t){try{l(n["throw"](t))}catch(t){r(t)}}function l(t){t.done?i(t.value):o(t.value).then(s,a)}l((n=n.apply(t,e||[])).next())}))};var g=t("taro_video_control",function(){function t(t){var i=this;e(this,t);this.visible=false;this.isDraggingProgressBall=false;this.percentage=0;this.progressDimentions={left:0,width:0};this.calcPercentage=function(t){var e=t-i.progressDimentions.left;e=Math.max(e,0);e=Math.min(e,i.progressDimentions.width);return e/i.progressDimentions.width};this.onDragProgressBallStart=function(){i.isDraggingProgressBall=true;i.hideControlsTimer&&clearTimeout(i.hideControlsTimer)};this.onClickProgress=function(t){t.stopPropagation();var e=i.calcPercentage(t.pageX);i.seekFunc(e*i.duration);i.toggleVisibility(true)}}t.prototype.onDocumentTouchMove=function(t){if(!this.isDraggingProgressBall)return;var e=t.touches[0].pageX;this.percentage=this.calcPercentage(e);this.setProgressBall(this.percentage);this.setCurrentTime(this.percentage*this.duration)};t.prototype.onDocumentTouchEnd=function(){if(!this.isDraggingProgressBall)return;this.isDraggingProgressBall=false;this.seekFunc(this.percentage*this.duration);this.toggleVisibility(true)};t.prototype.setProgressBall=function(t){return h(this,void 0,void 0,(function(){return __generator(this,(function(e){if(this.progressBallRef){this.progressBallRef.style.left=t*100+"%"}return[2]}))}))};t.prototype.toggleVisibility=function(t){return h(this,void 0,void 0,(function(){var e;var i=this;return __generator(this,(function(n){e=t===undefined?!this.visible:t;if(e){this.hideControlsTimer&&clearTimeout(this.hideControlsTimer);if(this.isPlaying){this.hideControlsTimer=setTimeout((function(){i.toggleVisibility(false)}),2e3)}this.controlsRef.style.visibility="visible"}else{this.controlsRef.style.visibility="hidden"}this.visible=!!e;return[2]}))}))};t.prototype.getIsDraggingProgressBall=function(){return h(this,void 0,void 0,(function(){return __generator(this,(function(t){return[2,this.isDraggingProgressBall]}))}))};t.prototype.setCurrentTime=function(t){return h(this,void 0,void 0,(function(){return __generator(this,(function(e){this.currentTimeRef.innerHTML=l(t);return[2]}))}))};t.prototype.render=function(){var t=this;var e=this,o=e.controls,r=e.currentTime,s=e.duration,a=e.isPlaying,u=e.pauseFunc,c=e.playFunc,d=e.showPlayBtn,h=e.showProgress;var g=l(s);var f;if(!d){f=null}else if(a){f=i("div",{class:"taro-video-control-button taro-video-control-button-pause",onClick:u})}else{f=i("div",{class:"taro-video-control-button taro-video-control-button-play",onClick:c})}return i(n,{class:"taro-video-bar taro-video-bar-full"},o&&i("div",{class:"taro-video-controls"},f,h&&i("div",{class:"taro-video-current-time",ref:function(e){return t.currentTimeRef=e}},l(r)),h&&i("div",{class:"taro-video-progress-container",onClick:this.onClickProgress},i("div",{class:"taro-video-progress",ref:function(e){if(!e)return;var i=e.getBoundingClientRect();t.progressDimentions.left=i.left;t.progressDimentions.width=i.width}},i("div",{class:"taro-video-progress-buffered",style:{width:"100%"}}),i("div",{class:"taro-video-ball",ref:function(e){return t.progressBallRef=e},onTouchStart:this.onDragProgressBallStart,style:{left:(g?this.currentTime/s*100:0)+"%"}},i("div",{class:"taro-video-inner"})))),h&&i("div",{class:"taro-video-duration"},g)),i("slot",null))};Object.defineProperty(t.prototype,"controlsRef",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());var f='.taro-video{display:inline-block;overflow:hidden;position:relative;width:100%;height:225px;line-height:0}.taro-video[hidden]{display:none}.taro-video-container{display:inline-block;overflow:hidden;position:absolute;left:0;top:0;width:100%;height:100%;background-color:#000;-o-object-position:inherit;object-position:inherit}.taro-video-container.taro-video-type-fullscreen{position:fixed;left:0;right:0;top:0;bottom:0;z-index:999}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-left{-webkit-transform:translate(-50%, -50%) rotate(-90deg);transform:translate(-50%, -50%) rotate(-90deg)}.taro-video-container.taro-video-type-fullscreen.taro-video-type-rotate-right{-webkit-transform:translate(-50%, -50%) rotate(90deg);transform:translate(-50%, -50%) rotate(90deg)}.taro-video-video{width:100%;height:100%;-o-object-position:inherit;object-position:inherit}.taro-video-cover{display:-ms-flexbox;display:flex;position:absolute;left:0;top:0;bottom:0;z-index:1;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:100%;background-color:rgba(1, 1, 1, 0.5);-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-box-pack:center;-webkit-box-align:center}.taro-video-cover-play-button{width:40px;height:40px;background-repeat:no-repeat;background-position:50% 50%;background-size:50%}.taro-video-cover-duration{margin-top:10px;line-height:1;font-size:16px;color:#fff}.taro-video-bar{display:-ms-flexbox;display:flex;visibility:hidden;overflow:hidden;position:absolute;right:0;bottom:0;z-index:1;-ms-flex-align:center;align-items:center;padding:0 10px;height:44px;background-color:rgba(0, 0, 0, 0.5);-webkit-box-align:center}.taro-video-bar.taro-video-bar-full{left:0}.taro-video-controls{display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;margin:0 8.5px}.taro-video-control-button{-webkit-box-sizing:content-box;box-sizing:content-box;margin-left:-8.5px;padding:14.5px 12.5px;width:13px;height:15px}.taro-video-control-button::after{display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:50% 50%;background-size:100%;content:""}.taro-video-control-button.taro-video-control-button-play::after,.taro-video-cover-play-button{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAeCAYAAAAy2w7YAAAAAXNSR0IArs4c6QAAAWhJREFUSA1j+P///0cgBoHjQGzCQCsAtgJB/AMy5wCxGNXtQ9iBwvoA5BUCMQvVLEQxHpNzDSjkRhXLMM3GKrIeKKpEkYVYjcUu+AMo3ALE3GRZiN1MvKKPgbIRJFuG10j8koeA0gZEW4jfLIKyf4EqpgOxMEELCRpFnIJ3QGU5QMyM00LizCFa1SWgSkeslhFtBGkKVwGVy6FYSJp+klR/A6quB2JOkIWMIK0oNlOf8xBoZDE9LAI7nYn6HsBq4l96WHQEaLUpAyiOaASeAM2NgvuPBpaACt82IEYtfKls0UagecpwXyAzqGTRdaA57sjmYrAptAjUsCkGYlYMg9EFyLQI1IiZB8Ti6Obh5JNh0QmgHlOcBuKSIMGi50C18UDMiMssvOJEWPQLqKYbiHnxGkRIkoBF24DyaoTMIEoeh0W3geI+RBlArCI0iz4D+RVAzEasfqLVAQ19AcSg5LoYiKWI1kiiQgCMBLnEEcfDSgAAAABJRU5ErkJggg==")}.taro-video-control-button.taro-video-control-button-pause::after{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAgCAYAAAAffCjxAAAAAXNSR0IArs4c6QAAAFlJREFUSA3tksEKACAIQ7X//5zq98wOgQayum8QaGweHhMzG/6OujzKAymn+0LMqivu1XznWmX8/echTIyMyAgTwA72iIwwAexgj8gIE8CO3aMRbDPMaEy5BRGaKcZv8YxRAAAAAElFTkSuQmCC")}.taro-video-current-time,.taro-video-duration{margin-top:15px;margin-bottom:14.5px;height:14.5px;line-height:14.5px;font-size:12px;color:#cbcbcb}.taro-video-progress-container{position:relative;-ms-flex-positive:2;flex-grow:2;-webkit-box-flex:2}.taro-video-progress{position:relative;margin:21px 12px;height:2px;background-color:rgba(255, 255, 255, 0.4)}.taro-video-progress-buffered{position:absolute;left:0;top:0;width:0;height:100%;background-color:rgba(255, 255, 255, 0.8);-webkit-transition:width 0.1s;transition:width 0.1s}.taro-video-ball{position:absolute;left:0;top:-21px;-webkit-box-sizing:content-box;box-sizing:content-box;margin-left:-22px;padding:14px;width:16px;height:16px}.taro-video-inner{border-radius:50%;width:100%;height:100%;background-color:#fff}.taro-video-danmu-button{margin:0 8.5px;padding:2px 10px;border:1px solid #fff;border-radius:5px;line-height:1;font-size:13px;color:#fff;white-space:nowrap}.taro-video-danmu-button.taro-video-danmu-button-active{border-color:#48c23d;color:#48c23d}.taro-video-fullscreen,.taro-video-mute{-webkit-box-sizing:content-box;box-sizing:content-box;padding:8.5px;width:17px;height:17px;background-repeat:no-repeat;background-position:50% 50%;background-size:50%}.taro-video-fullscreen{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAhUlEQVRYR+2WSwrAMAhEnZO3PfmULLooGEFTiIXJ2s/kRY2wzQeb85sE9CRA8jSzY1YfAFzhJBnU1AVgxH2dSiArCnD9QgGzRNnOech48SRABHoSyFb5in3PSbhyo6yvCPQkEM3u7BsPe/0FIvBfAh/vhKmVbO9SWun1qk/PSVi9TcVPBG6R1YIhgWwNpQAAAABJRU5ErkJggg==")}.taro-video-fullscreen.taro-video-type-fullscreen{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABPUlEQVRYR+2Xu0pDURBF1/ZLxNcHKNiIlfhA7C0UBSEE8RNEBNFPUEQEEbGxFiSSSrCwEHsf5E/ccsSUuWfUhKQ40947+y42Z8+ZK/pcinzf9hhwD1xJ2q/qsb0JHAOzkl5y+lGAGnCWICQtZgAS6DxQk3TeLYA6cAo0JSXxjmW7CcwBdUkJurKiDhSA4kBvHbA9CqwBQx2O7BSw8ssU3ALPFRF4knT3nQLbr8B4LjLBOdAAFgJaLUkjbYC9n+zm+i4kXWbmwCqwnRMCHiXthuZAQOzPrxSA4kBxYDAcsH0EzATCfCLpJjOINoCtgFZabg7bk7AFDAeaGpKWgitZTu5N0kQbYBmYrujo9mX0CVxL+gidAdu9vY5zXhWA4sAgOND3X7NJ4AHYCaxkB8B62gslvecSFpoDOZH/PP8Cnt7hIaM5xCEAAAAASUVORK5CYII=")}.taro-video-mute{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGAGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDAgNzkuMTYwNDUxLCAyMDE3LzA1LzA2LTAxOjA4OjIxICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnR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QmCC")}.taro-video-danmu{overflow:visible;position:absolute;left:0;top:0;bottom:0;margin-top:14px;margin-bottom:44px;width:100%;line-height:14px;font-size:14px}.taro-video-danmu-item{position:absolute;left:100%;line-height:1;color:#fff;white-space:nowrap;-webkit-transform:translateX(0);transform:translateX(0);-webkit-transition-property:left, -webkit-transform;transition-property:left, -webkit-transform;transition-property:left, transform;transition-property:left, transform, -webkit-transform;-webkit-transition-duration:3s;transition-duration:3s;-webkit-transition-timing-function:linear;transition-timing-function:linear}.taro-video-toast{display:block;visibility:hidden;position:absolute;left:50%;top:50%;border-radius:5px;background-color:rgba(255, 255, 255, 0.8);pointer-events:none;color:#000;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-video-toast.taro-video-toast-volume{display:block;width:100px;height:100px}.taro-video-toast-volume .taro-video-toast-title{display:block;margin-top:10px;width:100%;line-height:16px;text-align:center;font-size:12px}.taro-video-toast-volume .taro-video-toast-icon{display:block;margin-left:25%;width:50%;height:50%;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFhklEQVR4Xu2aeaxfQxTHP1VBES0NIQitWtpaaxeCUkQtaYVa0tiClAq1ExIiQTVppaWxt8RWSa2tWkJQRGgtQaSIpUKEpG0ssbbk28yV2+mZO/e9e3vvu/e98897mZnfzPl+75mZs0wvurn06ub46SGgxwLqZaA3sB/wO/A+8G/V6tS5BU4BJgJbO9DvAMOB36okoQ4CNgAeBEYbQK8Bbm4zAdsBc4EdAyA/APZoKwHHAA8DG2UA/AnYrG0ErAVcD1yXA9gfQJ8c40obsqbPgH7AY8CROTVuFQFD3X7fJid4DWsNAWOAGZ0w58YTsDZwKzChA189PbTRBGwKzAYO6iT4srbAMHfTfAksjulS1iG4JzAH2Dy2YKS/qAVcCdzi1vgZOBZ4PWvNGAG6wgYCW0IwctzNmf06BcEXtYABwOeA4otEfgEOdnGGqV6IAAUopwM6zDYuAVjeKYpYwCjgCWOhH513+b2lhE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+OKEOAXR39w1e1C7wM6AkJ1eLmkRcrpRQiQrqobXO5S3vL3/4kBKMsCknV0k+iasVLUMV3UX5SAPGtED8EOT+L9YENnCasUIXNO2goChFWHqAIRyxXN4qI1BCQg9dJESYq8LnbrCBAR8t50Lig6i0krCRBoVWhVlt45wkBrCRBuRZyPuAguxIPe9lXqhpd9DcZMXOvdkPF0Xu/8dohNUmZ/1QQkuitXr+d4fryuFx3jywQYm6suAqSX8vLTXKJDt4QqO6rtLYspXWZ/nQQkOJTAUJZGIav19q9MvKvN1RUIWKMAY5P3EBBjqO393d4C/gMVHwRQlpx21QAAAABJRU5ErkJggg==");background-repeat:no-repeat;background-position:50% 50%;background-size:50%;fill:#000}.taro-video-toast-volume .taro-video-toast-value{margin-left:10px;margin-top:5px;width:80px;height:5px}.taro-video-toast-volume .taro-video-toast-value>.taro-video-toast-value-content{overflow:hidden}.taro-video-toast-volume-grids{width:80px;height:5px}.taro-video-toast-volume-grids-item{float:left;width:7.1px;height:5px;background-color:#000}.taro-video-toast-volume-grids-item:not(:first-child){margin-left:1px}.taro-video-toast.taro-video-toast-progress{padding:6px;background-color:rgba(0, 0, 0, 0.8);line-height:18px;font-size:14px;color:#fff}';var A=undefined&&undefined.__awaiter||function(t,e,i,n){function o(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function s(t){try{l(n.next(t))}catch(t){r(t)}}function a(t){try{l(n["throw"](t))}catch(t){r(t)}}function l(t){t.done?i(t.value):o(t.value).then(s,a)}l((n=n.apply(t,e||[])).next())}))};var p=t("taro_video_core",function(){function t(t){var i=this;e(this,t);this.onPlay=r(this,"play",7);this.onPause=r(this,"pause",7);this.onEnded=r(this,"ended",7);this.onTimeUpdate=r(this,"timeupdate",7);this.onError=r(this,"error",7);this.onFullScreenChange=r(this,"fullscreenchange",7);this.onProgress=r(this,"progress",7);this.onLoadedMetaData=r(this,"loadedmetadata",7);this.currentTime=0;this.isDraggingProgress=false;this.gestureType="none";this.controls=true;this.autoplay=false;this.loop=false;this.muted=false;this.initialTime=0;this.objectFit="contain";this.showProgress=true;this.showFullscreenBtn=true;this.showPlayBtn=true;this.showCenterPlayBtn=true;this.showMuteBtn=false;this.danmuBtn=false;this.enableDanmu=false;this.enablePlayGesture=false;this.enableProgressGesture=true;this.vslideGesture=false;this.vslideGestureInFullscreen=true;this.nativeProps={};this._enableDanmu=false;this.isPlaying=false;this.isFirst=true;this.isFullScreen=false;this.fullScreenTimestamp=(new Date).getTime();this.isMute=false;this.analyseGesture=function(t){var e;var n={type:"none"};var o=t.touches[0].screenX;var r=t.touches[0].screenY;var s=o-i.lastTouchScreenX;var a=r-i.lastTouchScreenY;var l=i.isFullScreen?i.vslideGestureInFullscreen:i.vslideGesture;if(i.gestureType==="none"){var d=u(s,a);if(d<10)return n;if(Math.abs(a)>=Math.abs(s)){if(l){i.gestureType="adjustVolume";i.lastVolume=i.videoRef.volume}else{return n}}else if(Math.abs(a)<Math.abs(s)){if(i.enableProgressGesture){i.gestureType="adjustProgress";i.lastPercentage=i.currentTime/((e=i.duration)!==null&&e!==void 0?e:i._duration)}else{return n}}}n.type=i.gestureType;n.dataX=c(s/200);n.dataY=c(a/200);return n};this.handlePlay=function(){i.isPlaying=true;i.isFirst=false;i.controlsRef.toggleVisibility(true);i.onPlay.emit()};this.handlePause=function(){i.isPlaying=false;i.controlsRef.toggleVisibility(true);i.onPause.emit()};this.handleEnded=function(){i.isFirst=true;i.pause();i.controlsRef.toggleVisibility();i.onEnded.emit()};this.handleTimeUpdate=a((function(t){return A(i,void 0,void 0,(function(){var e,i,n,o;return __generator(this,(function(r){switch(r.label){case 0:this.currentTime=this.videoRef.currentTime;n=this.duration||this._duration;return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:o=r.sent();if(this.controls&&this.showProgress){if(!o&&!this.isDraggingProgress){this.controlsRef.setProgressBall(this.currentTime/n);this.controlsRef.setCurrentTime(this.currentTime)}}this.danmuRef.tick(this.currentTime);this.onTimeUpdate.emit({duration:(e=t.target)===null||e===void 0?void 0:e.duration,currentTime:(i=t.target)===null||i===void 0?void 0:i.currentTime});if(this.duration){if(this.currentTime>=this.duration){this.seek(0);this.handleEnded()}}return[2]}}))}))}),250);this.handleError=function(t){var e,n;i.onError.emit({errMsg:(n=(e=t.target)===null||e===void 0?void 0:e.error)===null||n===void 0?void 0:n.message})};this.handleDurationChange=function(){i._duration=i.videoRef.duration};this.handleProgress=function(){i.onProgress.emit()};this.handleLoadedMetaData=function(t){var e=t.target;i.onLoadedMetaData.emit({width:e.videoWidth,height:e.videoHeight,duration:e.duration})};this._play=function(){return i.videoRef.play()};this._pause=function(){return i.videoRef.pause()};this._stop=function(){i.videoRef.pause();i._seek(0)};this._seek=function(t){i.videoRef.currentTime=t};this.onTouchStartContainer=function(t){i.lastTouchScreenX=t.touches[0].screenX;i.lastTouchScreenY=t.touches[0].screenY};this.onClickContainer=function(){if(i.enablePlayGesture){var t=Date.now();if(t-i.lastClickedTime<300){i.isPlaying?i.pause():i.play()}i.lastClickedTime=t}i.controlsRef.toggleVisibility()};this.onClickFullScreenBtn=function(t){t.stopPropagation();i.toggleFullScreen()};this.handleFullScreenChange=function(t){var e=(new Date).getTime();if(!t.detail&&i.isFullScreen&&!document[d.fullscreenElement]&&e-i.fullScreenTimestamp>100){i.toggleFullScreen(false)}};this.toggleFullScreen=function(t){if(t===void 0){t=!i.isFullScreen}i.isFullScreen=t;i.controlsRef.toggleVisibility(true);i.fullScreenTimestamp=(new Date).getTime();i.onFullScreenChange.emit({fullScreen:i.isFullScreen,direction:"vertical"});if(i.isFullScreen&&!document[d.fullscreenElement]){setTimeout((function(){i.videoRef[d.requestFullscreen]({navigationUI:"show"})}),0)}};this.toggleMute=function(t){t.stopPropagation();i.videoRef.muted=!i.isMute;i.controlsRef.toggleVisibility(true);i.isMute=!i.isMute};this.toggleDanmu=function(t){t.stopPropagation();i.controlsRef.toggleVisibility(true);i._enableDanmu=!i._enableDanmu}}t.prototype.componentWillLoad=function(){this._enableDanmu=this.enableDanmu};t.prototype.componentDidLoad=function(){if(this.initialTime){this.videoRef.currentTime=this.initialTime}this.danmuRef.sendDanmu(this.danmuList);if(document.addEventListener){document.addEventListener(d.fullscreenchange,this.handleFullScreenChange)}};t.prototype.componentDidRender=function(){};t.prototype.disconnectedCallback=function(){if(document.removeEventListener){document.removeEventListener(d.fullscreenchange,this.handleFullScreenChange)}};t.prototype.watchEnableDanmu=function(t){this._enableDanmu=t};t.prototype.onDocumentTouchMove=function(t){return A(this,void 0,void 0,(function(){var e,i,n;return __generator(this,(function(o){switch(o.label){case 0:if(this.lastTouchScreenX===undefined||this.lastTouchScreenY===undefined)return[2];return[4,this.controlsRef.getIsDraggingProgressBall()];case 1:if(o.sent())return[2];e=this.analyseGesture(t);if(e.type==="adjustVolume"){this.toastVolumeRef.style.visibility="visible";i=Math.max(Math.min(this.lastVolume-e.dataY,1),0);this.videoRef.volume=i;this.toastVolumeBarRef.style.width=i*100+"%"}else if(e.type==="adjustProgress"){this.isDraggingProgress=true;this.nextPercentage=Math.max(Math.min(this.lastPercentage+e.dataX,1),0);if(this.controls&&this.showProgress){this.controlsRef.setProgressBall(this.nextPercentage);this.controlsRef.toggleVisibility(true)}n=this.duration||this._duration;this.toastProgressTitleRef.innerHTML=l(this.nextPercentage*n)+" / "+l(n);this.toastProgressRef.style.visibility="visible"}return[2]}}))}))};t.prototype.onDocumentTouchEnd=function(){var t;if(this.gestureType==="adjustVolume"){this.toastVolumeRef.style.visibility="hidden"}else if(this.gestureType==="adjustProgress"){this.toastProgressRef.style.visibility="hidden"}if(this.isDraggingProgress){this.isDraggingProgress=false;this.seek(this.nextPercentage*((t=this.duration)!==null&&t!==void 0?t:this._duration))}this.gestureType="none";this.lastTouchScreenX=undefined;this.lastTouchScreenY=undefined};t.prototype.play=function(){return A(this,void 0,void 0,(function(){return __generator(this,(function(t){this._play();return[2]}))}))};t.prototype.pause=function(){return A(this,void 0,void 0,(function(){return __generator(this,(function(t){this._pause();return[2]}))}))};t.prototype.stop=function(){return A(this,void 0,void 0,(function(){return __generator(this,(function(t){this._stop();return[2]}))}))};t.prototype.seek=function(t){return A(this,void 0,void 0,(function(){return __generator(this,(function(e){this._seek(t);return[2]}))}))};t.prototype.requestFullScreen=function(){return A(this,void 0,void 0,(function(){return __generator(this,(function(t){this.toggleFullScreen(true);return[2]}))}))};t.prototype.exitFullScreen=function(){return A(this,void 0,void 0,(function(){return __generator(this,(function(t){this.toggleFullScreen(false);return[2]}))}))};t.prototype.render=function(){var t=this;var e=this,o=e.src,r=e.controls,a=e.autoplay,u=e.loop,c=e.muted,d=e.poster,h=e.objectFit,g=e.isFirst,f=e.isMute,A=e.isFullScreen,p=e.duration,v=e._duration,m=e.showCenterPlayBtn,b=e.isPlaying,y=e._enableDanmu,w=e.showMuteBtn,E=e.danmuBtn,T=e.showFullscreenBtn,I=e.nativeProps;var k=l(p||v||null);return i(n,{class:s("taro-video-container",{"taro-video-type-fullscreen":A}),onTouchStart:this.onTouchStartContainer,onClick:this.onClickContainer},i("video",Object.assign({class:"taro-video-video",style:{"object-fit":h},ref:function(e){if(e){t.videoRef=e}},src:o,autoplay:a,loop:u,muted:c,poster:r?d:undefined,playsinline:true,"webkit-playsinline":true,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onTimeUpdate:this.handleTimeUpdate,onError:this.handleError,onDurationChange:this.handleDurationChange,onProgress:this.handleProgress,onLoadedMetaData:this.handleLoadedMetaData},I),"暂时不支持播放该视频"),i("taro-video-danmu",{ref:function(e){if(e){t.danmuRef=e}},enable:y}),g&&m&&!b&&i("div",{class:"taro-video-cover"},i("div",{class:"taro-video-cover-play-button",onClick:function(){return t.play()}}),i("p",{class:"taro-video-cover-duration"},k)),i("taro-video-control",{ref:function(e){if(e){t.controlsRef=e}},controls:r,currentTime:this.currentTime,duration:this.duration||this._duration||undefined,isPlaying:this.isPlaying,pauseFunc:this._pause,playFunc:this._play,seekFunc:this._seek,showPlayBtn:this.showPlayBtn,showProgress:this.showProgress},w&&i("div",{class:s("taro-video-mute",{"taro-video-type-mute":f}),onClick:this.toggleMute}),E&&i("div",{class:s("taro-video-danmu-button",{"taro-video-danmu-button-active":y}),onClick:this.toggleDanmu},"弹幕"),T&&i("div",{class:s("taro-video-fullscreen",{"taro-video-type-fullscreen":A}),onClick:this.onClickFullScreenBtn})),i("div",{class:"taro-video-toast taro-video-toast-volume",ref:function(e){if(e){t.toastVolumeRef=e}}},i("div",{class:"taro-video-toast-title"},"音量"),i("div",{class:"taro-video-toast-icon"}),i("div",{class:"taro-video-toast-value"},i("div",{class:"taro-video-toast-value-content",ref:function(e){if(e){t.toastVolumeBarRef=e}}},i("div",{class:"taro-video-toast-volume-grids"},Array(10).fill(1).map((function(){return i("div",{class:"taro-video-toast-volume-grids-item"})})))))),i("div",{class:"taro-video-toast taro-video-toast-progress",ref:function(e){if(e){t.toastProgressRef=e}}},i("div",{class:"taro-video-toast-title",ref:function(e){if(e){t.toastProgressTitleRef=e}}})))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{enableDanmu:["watchEnableDanmu"]}},enumerable:false,configurable:true});return t}());p.style=f;var v=undefined&&undefined.__awaiter||function(t,e,i,n){function o(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function s(t){try{l(n.next(t))}catch(t){r(t)}}function a(t){try{l(n["throw"](t))}catch(t){r(t)}}function l(t){t.done?i(t.value):o(t.value).then(s,a)}l((n=n.apply(t,e||[])).next())}))};var m=t("taro_video_danmu",function(){function t(t){e(this,t);this.list=[];this.danmuElList=[];this.currentTime=0;this.enable=false;this.danmuList=[]}t.prototype.ensureProperties=function(t){var e=Object.assign({},t);if(!("time"in t)){e.time=this.currentTime}e.key=Math.random();e.bottom=Math.random()*90+5+"%";return e};t.prototype.sendDanmu=function(t){if(t===void 0){t=[]}return v(this,void 0,void 0,(function(){var e;var i=this;return __generator(this,(function(n){if(Array.isArray(t)){this.list=__spreadArray(__spreadArray([],this.list),t.map((function(t){return i.ensureProperties(t)})))}else{e=t;this.list=__spreadArray(__spreadArray([],this.list),[Object.assign({},this.ensureProperties(e))])}return[2]}))}))};t.prototype.tick=function(t){return v(this,void 0,void 0,(function(){var e,i,n,o;return __generator(this,(function(r){this.currentTime=t;if(!this.enable)return[2];e=this.list;i=e.filter((function(e){var i=e.time;return t-i<4&&t>i}));n=false;o=this.danmuList;if(i.length!==o.length){n=true}else{n=i.some((function(t){var e=t.key;return o.every((function(t){return e!==t.key}))}))}if(n){this.danmuList=i}return[2]}))}))};t.prototype.componentDidUpdate=function(){var t=this;requestAnimationFrame((function(){setTimeout((function(){var e=t.danmuElList.splice(0);e.forEach((function(t){t.style.left="0";t.style.webkitTransform="translateX(-100%)";t.style.transform="translateX(-100%)"}))}))}))};t.prototype.render=function(){var t=this;if(!this.enable)return"";return i(n,{class:"taro-video-danmu"},this.danmuList.map((function(e){var n=e.text,o=e.color,r=e.bottom,s=e.key;return i("p",{class:"taro-video-danmu-item",key:s,style:{color:o,bottom:r},ref:function(e){if(e){t.danmuElList.push(e)}}},n)})))};return t}())}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as o,g as s}from"./p-f05e1558.js";let n=class{constructor(i){t(this,i),this.onChange=e(this,"checkboxchange",7),this.value="",this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1,this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:this.value})}}watchId(t){this.isWillLoadCalled&&t&&this.inputEl.setAttribute("id",t)}componentWillLoad(){this.isWillLoadCalled=!0}componentDidRender(){this.id&&this.el.removeAttribute("id")}render(){const{checked:t,name:e,color:s,value:n,disabled:r,nativeProps:c}=this;return i(o,{className:"weui-cells_checkbox"},i("input",Object.assign({ref:t=>{t&&(this.inputEl=t,this.id&&t.setAttribute("id",this.id))},type:"checkbox",value:n,name:e,class:"taro-checkbox_checked",style:{color:s},checked:t,disabled:r,onChange:this.handleChange},c)),i("slot",null))}get el(){return s(this)}static get watchers(){return{id:["watchId"]}}};n.style='@charset "UTF-8";.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:"";-webkit-transform:translate(-50%, -48%) scale(0.73);transform:translate(-50%, -48%) scale(0.73);speak:none}';let r=class{constructor(i){t(this,i),this.onChange=e(this,"change",7),this.uniqueName=Date.now().toString(36)}function(t){if(t.stopPropagation(),"TARO-CHECKBOX-CORE"!==t.target.tagName)return;const e=this.el.querySelectorAll("taro-checkbox-core");this.value=this.getValues(e),this.onChange.emit({value:this.value})}componentDidLoad(){this.el.querySelectorAll("taro-checkbox-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-checkbox-core");this.value=this.getValues(t)}return this.value},configurable:!0})}getValues(t){return Array.from(t).filter((t=>{const e=t.querySelector("input");return null==e?void 0:e.checked})).map((t=>t.value))}render(){return i(o,null)}get el(){return s(this)}};export{n as taro_checkbox_core,r as taro_checkbox_group_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-b2d01686.system.js"],(function(e){"use strict";var t,n,o,r,i;return{setters:[function(e){t=e.r;n=e.c;o=e.h;r=e.H;i=e.g}],execute:function(){var a='@charset "UTF-8";.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:"";-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,i=t.name,a=t.color,c=t.value,l=t.disabled,u=t.nativeProps;return o(r,{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:i,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 i(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(r,null)};Object.defineProperty(e.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return e}())}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as r,H as e}from"./p-f05e1558.js";let t=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 MatchMedia 组件!")}render(){return r(e,null)}};export{t as taro_match_media_core}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
System.register([],(function(r){"use strict";return{execute:function(){function t(r,t,n){return n={path:t,exports:{},require:function(r,t){return e()}},r(n,n.exports),n.exports}function e(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var n=r("c",t((function(r){
|
|
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 t={}.hasOwnProperty;function e(){var r=[];for(var n=0;n<arguments.length;n++){var o=arguments[n];if(!o)continue;var i=typeof o;if(i==="string"||i==="number"){r.push(o)}else if(Array.isArray(o)){if(o.length){var u=e.apply(null,o);if(u){r.push(u)}}}else if(i==="object"){if(o.toString===Object.prototype.toString){for(var s in o){if(t.call(o,s)&&o[s]){r.push(s)}}}else{r.push(o.toString())}}}return r.join(" ")}if(r.exports){e.default=e;r.exports=e}else{window.classNames=e}})()})))}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as s,H as t}from"./p-f05e1558.js";let e=class{constructor(s){r(this,s)}render(){return s(t,null)}};export{e as taro_custom_wrapper_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as o,H as s}from"./p-f05e1558.js";let t=class{constructor(o){r(this,o)}render(){return o(s,null)}};export{t as taro_block_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as o,H as e}from"./p-f05e1558.js";let a=class{constructor(o){r(this,o)}componentDidLoad(){console.error("H5 暂不支持 Camera 组件!")}render(){return o(e,null)}};export{a as taro_camera_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as r,H as e}from"./p-f05e1558.js";let t=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 OpenData 组件!")}render(){return r(e,null)}};export{t as taro_open_data_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as r,H as e}from"./p-f05e1558.js";let s=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 Ad 组件!")}render(){return r(e,null)}};export{s as taro_ad_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,c as o,h as t}from"./p-f05e1558.js";let e=class{constructor(t){r(this,t),this.onLoad=o(this,"load",7),this.onError=o(this,"error",7)}render(){const{src:r,onLoad:o,onError:e}=this;return t("iframe",{class:"taro-webview",onLoad:t=>{t.stopPropagation(),o.emit({src:r})},onError:o=>{o.stopPropagation(),e.emit({src:r})},src:r})}};e.style="iframe{border:none}.taro-webview{position:fixed;top:0;bottom:0;z-index:999;width:100%;height:100%}";export{e as taro_web_view_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as t}from"./p-f05e1558.js";let l=class{constructor(t){r(this,t)}render(){return t("label",{htmlFor:this.for},t("slot",null))}};export{l as taro_label_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
let e,t,l=!1,n=!1,o=!1,s=!1;const i="undefined"!=typeof window?window:{},c=i.document||{head:{}},r={t:0,l:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,l,n)=>e.addEventListener(t,l,n),rel:(e,t,l,n)=>e.removeEventListener(t,l,n),ce:(e,t)=>new CustomEvent(e,t)},f=e=>Promise.resolve(e),a=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replace}catch(e){}return!1})(),u=(e,t,l)=>{l&&l.map((([l,n,o])=>{const s=$(e,l),i=d(t,o),c=p(l);r.ael(s,n,i,c),(t.o=t.o||[]).push((()=>r.rel(s,n,i,c)))}))},d=(e,t)=>l=>{try{256&e.t?e.i[t](l):(e.u=e.u||[]).push([t,l])}catch(e){fe(e)}},$=(e,t)=>4&t?c:e,p=e=>0!=(2&e),y="http://www.w3.org/1999/xlink",h=new WeakMap,m=e=>"sc-"+e.$,b={},w=e=>"object"==(e=typeof e)||"function"===e,v=(e,t,...l)=>{let n=null,o=null,s=null,i=!1,c=!1,r=[];const f=t=>{for(let l=0;l<t.length;l++)n=t[l],Array.isArray(n)?f(n):null!=n&&"boolean"!=typeof n&&((i="function"!=typeof e&&!w(n))&&(n+=""),i&&c?r[r.length-1].p+=n:r.push(i?k(null,n):n),c=i)};if(f(l),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,S);const a=k(e,null);return a.h=t,r.length>0&&(a.m=r),a.v=o,a.k=s,a},k=(e,t)=>({t:0,g:e,p:t,S:null,m:null,h:null,v:null,k:null}),g={},S={forEach:(e,t)=>e.map(j).forEach(t),map:(e,t)=>e.map(j).map(t).map(M)},j=e=>({vattrs:e.h,vchildren:e.m,vkey:e.v,vname:e.k,vtag:e.g,vtext:e.p}),M=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),v(e.vtag,t,...e.vchildren||[])}const t=k(e.vtag,e.vtext);return t.h=e.vattrs,t.m=e.vchildren,t.v=e.vkey,t.k=e.vname,t},O=(e,t,l,n,o,s)=>{if(l!==n){let c=re(e,t),f=t.toLowerCase();if("class"===t){const t=e.classList,o=x(l),s=x(n);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in l)n&&null!=n[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in n)l&&n[t]===l[t]||(t.includes("-")?e.style.setProperty(t,n[t]):e.style[t]=n[t])}else if("key"===t);else if("ref"===t)n&&n(e);else if(c||"o"!==t[0]||"n"!==t[1]){const i=w(n);if((c||i&&null!==n)&&!o)try{if(e.tagName.includes("-"))e[t]=n;else{let o=null==n?"":n;"list"===t?c=!1:null!=l&&e[t]==o||(e[t]=o)}}catch(e){}let r=!1;f!==(f=f.replace(/^xlink\:?/,""))&&(t=f,r=!0),null==n||!1===n?!1===n&&""!==e.getAttribute(t)||(r?e.removeAttributeNS(y,t):e.removeAttribute(t)):(!c||4&s||o)&&!i&&(n=!0===n?"":n,r?e.setAttributeNS(y,t,n):e.setAttribute(t,n))}else t="-"===t[2]?t.slice(3):re(i,f)?f.slice(2):f[2]+t.slice(3),l&&r.rel(e,t,l,!1),n&&r.ael(e,t,n,!1)}},C=/\s/,x=e=>e?e.split(C):[],R=(e,t,l,n)=>{const o=11===t.S.nodeType&&t.S.host?t.S.host:t.S,s=e&&e.h||b,i=t.h||b;for(n in s)n in i||O(o,n,s[n],void 0,l,t.t);for(n in i)O(o,n,s[n],i[n],l,t.t)},P=(n,s,i)=>{let r,f,a,u=s.m[i],d=0;if(l||(o=!0,"slot"===u.g&&(u.t|=u.m?2:1)),null!==u.p)r=u.S=c.createTextNode(u.p);else if(1&u.t)r=u.S=c.createTextNode("");else if(r=u.S=c.createElement(2&u.t?"slot-fb":u.g),R(null,u,!1),u.m)for(d=0;d<u.m.length;++d)f=P(n,u,d),f&&r.appendChild(f);return r["s-hn"]=t,3&u.t&&(r["s-sr"]=!0,r["s-cr"]=e,r["s-sn"]=u.k||"",a=n&&n.m&&n.m[i],a&&a.g===u.g&&n.S&&T(n.S,!1)),r},T=(e,l)=>{r.t|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const s=n[e];s["s-hn"]!==t&&s["s-ol"]&&(D(s).insertBefore(s,W(s)),s["s-ol"].remove(),s["s-ol"]=void 0,o=!0),l&&T(s,l)}r.t&=-2},E=(e,t,l,n,o,s)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(;o<=s;++o)n[o]&&(i=P(null,l,o),i&&(n[o].S=i,c.insertBefore(i,W(t))))},L=(e,t,l,o,s)=>{for(;t<=l;++t)(o=e[t])&&(s=o.S,V(o),n=!0,s["s-ol"]?s["s-ol"].remove():T(s,!0),s.remove())},U=(e,t)=>e.g===t.g&&("slot"===e.g?e.k===t.k:e.v===t.v),W=e=>e&&e["s-ol"]||e,D=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,A=(e,t)=>{const l=t.S=e.S,n=e.m,o=t.m,s=t.p;let i;null===s?("slot"===t.g||R(e,t,!1),null!==n&&null!==o?((e,t,l,n)=>{let o,s,i=0,c=0,r=0,f=0,a=t.length-1,u=t[0],d=t[a],$=n.length-1,p=n[0],y=n[$];for(;i<=a&&c<=$;)if(null==u)u=t[++i];else if(null==d)d=t[--a];else if(null==p)p=n[++c];else if(null==y)y=n[--$];else if(U(u,p))A(u,p),u=t[++i],p=n[++c];else if(U(d,y))A(d,y),d=t[--a],y=n[--$];else if(U(u,y))"slot"!==u.g&&"slot"!==y.g||T(u.S.parentNode,!1),A(u,y),e.insertBefore(u.S,d.S.nextSibling),u=t[++i],y=n[--$];else if(U(d,p))"slot"!==u.g&&"slot"!==y.g||T(d.S.parentNode,!1),A(d,p),e.insertBefore(d.S,u.S),d=t[--a],p=n[++c];else{for(r=-1,f=i;f<=a;++f)if(t[f]&&null!==t[f].v&&t[f].v===p.v){r=f;break}r>=0?(s=t[r],s.g!==p.g?o=P(t&&t[c],l,r):(A(s,p),t[r]=void 0,o=s.S),p=n[++c]):(o=P(t&&t[c],l,c),p=n[++c]),o&&D(u.S).insertBefore(o,W(u.S))}i>a?E(e,null==n[$+1]?null:n[$+1].S,l,n,c,$):c>$&&L(t,i,a)})(l,n,t,o):null!==o?(null!==e.p&&(l.textContent=""),E(l,null,t,o,0,o.length-1)):null!==n&&L(n,0,n.length-1)):(i=l["s-cr"])?i.parentNode.textContent=s:e.p!==s&&(l.data=s)},F=e=>{let t,l,n,o,s,i,c=e.childNodes;for(l=0,n=c.length;l<n;l++)if(t=c[l],1===t.nodeType){if(t["s-sr"])for(s=t["s-sn"],t.hidden=!1,o=0;o<n;o++)if(i=c[o].nodeType,c[o]["s-hn"]!==t["s-hn"]||""!==s){if(1===i&&s===c[o].getAttribute("slot")){t.hidden=!0;break}}else if(1===i||3===i&&""!==c[o].textContent.trim()){t.hidden=!0;break}F(t)}},H=[],N=e=>{let t,l,o,s,i,c,r=0,f=e.childNodes,a=f.length;for(;r<a;r++){if(t=f[r],t["s-sr"]&&(l=t["s-cr"])&&l.parentNode)for(o=l.parentNode.childNodes,s=t["s-sn"],c=o.length-1;c>=0;c--)l=o[c],l["s-cn"]||l["s-nr"]||l["s-hn"]===t["s-hn"]||(q(l,s)?(i=H.find((e=>e.j===l)),n=!0,l["s-sn"]=l["s-sn"]||s,i?i.M=t:H.push({M:t,j:l}),l["s-sr"]&&H.map((e=>{q(e.j,l["s-sn"])&&(i=H.find((e=>e.j===l)),i&&!e.M&&(e.M=i.M))}))):H.some((e=>e.j===l))||H.push({j:l}));1===t.nodeType&&N(t)}},q=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,V=e=>{e.h&&e.h.ref&&e.h.ref(null),e.m&&e.m.map(V)},_=e=>se(e).O,z=(e,t,l)=>{const n=_(e);return{emit:e=>B(n,t,{bubbles:!!(4&l),composed:!!(2&l),cancelable:!!(1&l),detail:e})}},B=(e,t,l)=>{const n=r.ce(t,l);return e.dispatchEvent(n),n},G=(e,t)=>{t&&!e.C&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.C=t)))},I=(e,t)=>{if(e.t|=16,!(4&e.t))return G(e,e.R),we((()=>J(e,t)));e.t|=512},J=(e,t)=>{const l=e.i;let n;return t?(e.t|=256,e.u&&(e.u.map((([e,t])=>Z(l,e,t))),e.u=null),n=Z(l,"componentWillLoad")):n=Z(l,"componentWillUpdate"),ee(n,(()=>K(e,l,t)))},K=async(e,t,l)=>{const n=e.O,o=n["s-rc"];l&&(e=>{const t=e.P;((e,t)=>{let l=m(t),n=de.get(l);if(e=11===e.nodeType?e:c,n)if("string"==typeof n){let t,o=h.get(e=e.head||e);o||h.set(e,o=new Set),o.has(l)||(t=c.createElement("style"),t.innerHTML=n,e.insertBefore(t,e.querySelector("link")),o&&o.add(l))}else e.adoptedStyleSheets.includes(n)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,n])})(e.O.getRootNode(),t)})(e);Q(e,t),o&&(o.map((e=>e())),n["s-rc"]=void 0);{const t=n["s-p"],l=()=>X(e);0===t.length?l():(Promise.all(t).then(l),e.t|=4,t.length=0)}},Q=(s,i)=>{try{i=i.render(),s.t&=-17,s.t|=2,((s,i)=>{const f=s.O,a=s.P,u=s.T||k(null,null),d=(e=>e&&e.g===g)(i)?i:v(null,null,i);if(t=f.tagName,d.g=null,d.t|=4,s.T=d,d.S=u.S=f,e=f["s-cr"],l=0!=(1&a.t),n=!1,A(u,d),r.t|=1,o){let e,t,l,n,o,s;N(d.S);let i=0;for(;i<H.length;i++)e=H[i],t=e.j,t["s-ol"]||(l=c.createTextNode(""),l["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=l,t));for(i=0;i<H.length;i++)if(e=H[i],t=e.j,e.M){for(n=e.M.parentNode,o=e.M.nextSibling,l=t["s-ol"];l=l.previousSibling;)if(s=l["s-nr"],s&&s["s-sn"]===t["s-sn"]&&n===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&n!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),n.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}n&&F(d.S),r.t&=-2,H.length=0})(s,i)}catch(e){fe(e,s.O)}return null},X=e=>{const t=e.O,l=e.i,n=e.R;Z(l,"componentDidRender"),64&e.t?Z(l,"componentDidUpdate"):(e.t|=64,te(t),Z(l,"componentDidLoad"),e.L(t),n||Y()),e.U(t),e.C&&(e.C(),e.C=void 0),512&e.t&&be((()=>I(e,!1))),e.t&=-517},Y=()=>{te(c.documentElement),be((()=>B(i,"appload",{detail:{namespace:"taro-components"}})))},Z=(e,t,l)=>{if(e&&e[t])try{return e[t](l)}catch(e){fe(e)}},ee=(e,t)=>e&&e.then?e.then(t):t(),te=e=>e.classList.add("hydrated"),le=(e,t,l)=>{if(t.W){e.watchers&&(t.D=e.watchers);const n=Object.entries(t.W),o=e.prototype;if(n.map((([e,[n]])=>{31&n||2&l&&32&n?Object.defineProperty(o,e,{get(){return((e,t)=>se(this).A.get(t))(0,e)},set(l){((e,t,l,n)=>{const o=se(e),s=o.O,i=o.A.get(t),c=o.t,r=o.i;if(l=((e,t)=>null==e||w(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,n.W[t][0]),!(8&c&&void 0!==i||l===i)&&(o.A.set(t,l),r)){if(n.D&&128&c){const e=n.D[t];e&&e.map((e=>{try{r[e](l,i,t)}catch(e){fe(e,s)}}))}2==(18&c)&&I(o,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0}):1&l&&64&n&&Object.defineProperty(o,e,{value(...t){const l=se(this);return l.F.then((()=>l.i[e](...t)))}})})),1&l){const t=new Map;o.attributeChangedCallback=function(e,l,n){r.jmp((()=>{const l=t.get(e);this.hasOwnProperty(l)&&(n=this[l],delete this[l]),this[l]=(null!==n||"boolean"!=typeof this[l])&&n}))},e.observedAttributes=n.filter((([e,t])=>15&t[0])).map((([e,l])=>{const n=l[1]||e;return t.set(n,e),n}))}}return e},ne=(e,t={})=>{const l=[],n=t.exclude||[],o=i.customElements,s=c.head,f=s.querySelector("meta[charset]"),d=c.createElement("style"),$=[];let p,y=!0;Object.assign(r,t),r.l=new URL(t.resourcesUrl||"./",c.baseURI).href,e.map((e=>e[1].map((t=>{const s={t:t[0],$:t[1],W:t[2],H:t[3]};s.W=t[2],s.H=t[3],s.D={};const i=s.$,f=class extends HTMLElement{constructor(e){super(e),ce(e=this,s)}connectedCallback(){p&&(clearTimeout(p),p=null),y?$.push(this):r.jmp((()=>(e=>{if(0==(1&r.t)){const t=se(e),l=t.P,n=()=>{};if(1&t.t)u(e,t,l.H);else{t.t|=1,12&l.t&&(e=>{const t=e["s-cr"]=c.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)})(e);{let l=e;for(;l=l.parentNode||l.host;)if(l["s-p"]){G(t,t.R=l);break}}l.W&&Object.entries(l.W).map((([t,[l]])=>{if(31&l&&e.hasOwnProperty(t)){const l=e[t];delete e[t],e[t]=l}})),(async(e,t,l,n,o)=>{if(0==(32&t.t)){{if(t.t|=32,(o=ue(l)).then){const e=()=>{};o=await o,e()}o.isProxied||(l.D=o.watchers,le(o,l,2),o.isProxied=!0);const e=()=>{};t.t|=8;try{new o(t)}catch(e){fe(e)}t.t&=-9,t.t|=128,e()}if(o.style){let e=o.style;const t=m(l);if(!de.has(t)){const n=()=>{};((e,t,l)=>{let n=de.get(e);a&&l?(n=n||new CSSStyleSheet,n.replace(t)):n=t,de.set(e,n)})(t,e,!!(1&l.t)),n()}}}const s=t.R,i=()=>I(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,l)}n()}})(this)))}disconnectedCallback(){r.jmp((()=>(()=>{if(0==(1&r.t)){const e=se(this),t=e.i;e.o&&(e.o.map((e=>e())),e.o=void 0),Z(t,"disconnectedCallback")}})()))}componentOnReady(){return se(this).N}};s.q=e[0],n.includes(i)||o.get(i)||(l.push(i),o.define(i,le(f,s,1)))})))),d.innerHTML=l+"{visibility:hidden}.hydrated{visibility:inherit}",d.setAttribute("data-styles",""),s.insertBefore(d,f?f.nextSibling:s.firstChild),y=!1,$.length?$.map((e=>e.connectedCallback())):r.jmp((()=>p=setTimeout(Y,30)))},oe=new WeakMap,se=e=>oe.get(e),ie=(e,t)=>oe.set(t.i=e,t),ce=(e,t)=>{const l={t:0,O:e,P:t,A:new Map};return l.F=new Promise((e=>l.U=e)),l.N=new Promise((e=>l.L=e)),e["s-p"]=[],e["s-rc"]=[],u(e,l,t.H),oe.set(e,l)},re=(e,t)=>t in e,fe=(e,t)=>(0,console.error)(e,t),ae=new Map,ue=e=>{const t=e.$.replace(/-/g,"_"),l=e.q,n=ae.get(l);return n?n[t]:import(`./${l}.entry.js`).then((e=>(ae.set(l,e),e[t])),fe)},de=new Map,$e=[],pe=[],ye=(e,t)=>l=>{e.push(l),s||(s=!0,t&&4&r.t?be(me):r.raf(me))},he=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){fe(e)}e.length=0},me=()=>{he($e),he(pe),(s=$e.length>0)&&r.raf(me)},be=e=>f().then(e),we=ye(pe,!0);export{g as H,ne as b,z as c,_ as g,v as h,f as p,ie as r}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export var simpleComponents = ['taro-view', 'taro-rich-text', 'taro-button', 'taro-checkbox-group', 'taro-editor', 'taro-form', 'taro-label', 'taro-picker-view', 'taro-picker-view-column', 'taro-cover-image', 'taro-cover-view', 'taro-movable-area', 'taro-movable-view', 'taro-swiper', 'taro-functional-page-navigator', 'taro-navigator', 'taro-audio', 'taro-camera', 'taro-live-player', 'taro-map', 'taro-ad', 'taro-official-account', 'taro-open-data', 'taro-web-view', 'taro-navigation-bar', 'taro-block', 'taro-canvas', 'taro-custom-wrapper', {
|
|
2
|
-
name: 'taro-checkbox',
|
|
3
|
-
classNames: ['weui-cells_checkbox']
|
|
4
|
-
}, {
|
|
5
|
-
name: 'taro-progress',
|
|
6
|
-
classNames: ['weui-progress']
|
|
7
|
-
}, {
|
|
8
|
-
name: 'taro-radio-group',
|
|
9
|
-
classNames: ['weui-cells_radiogroup']
|
|
10
|
-
}, {
|
|
11
|
-
name: 'taro-radio',
|
|
12
|
-
classNames: ['weui-cells_checkbox']
|
|
13
|
-
}, {
|
|
14
|
-
name: 'taro-swiper-item',
|
|
15
|
-
classNames: ['swiper-slide']
|
|
16
|
-
}, {
|
|
17
|
-
name: 'taro-video',
|
|
18
|
-
classNames: ['taro-video-container']
|
|
19
|
-
}];
|