@tarojs/components 3.5.0-alpha.1 → 3.5.0-alpha.12
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
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-cd258c8b.js');
|
|
6
|
+
const index$1 = require('./index-dffbd352.js');
|
|
7
7
|
|
|
8
8
|
const indexCss = "body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-cd258c8b.js');
|
|
6
6
|
|
|
7
7
|
const indexCss = "iframe{border:none}.taro-webview{position:fixed;top:0;bottom:0;z-index:999;width:100%;height:100%}";
|
|
8
8
|
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
1
|
.taro-checkbox {
|
|
3
2
|
display: inline-block;
|
|
4
3
|
position: relative;
|
|
@@ -34,7 +33,7 @@
|
|
|
34
33
|
font-variant: normal;
|
|
35
34
|
font-size: inherit;
|
|
36
35
|
color: inherit;
|
|
37
|
-
content: "
|
|
36
|
+
content: "\ea08";
|
|
38
37
|
transform: translate(-50%, -48%) scale(0.73);
|
|
39
38
|
speak: none;
|
|
40
39
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export const formatTime = (time) => {
|
|
2
|
-
if (time
|
|
2
|
+
if (!time)
|
|
3
3
|
return '';
|
|
4
|
-
const sec = Math.round(time
|
|
5
|
-
const min = Math.
|
|
4
|
+
const sec = Math.round(time % 60);
|
|
5
|
+
const min = Math.round((time - sec) / 60);
|
|
6
6
|
return `${min < 10 ? `0${min}` : min}:${sec < 10 ? `0${sec}` : sec}`;
|
|
7
7
|
};
|
|
8
8
|
export const calcDist = (x, y) => {
|
|
@@ -93,3 +93,4 @@ export const screenFn = (function () {
|
|
|
93
93
|
// and the fn variable is set to this returned value.
|
|
94
94
|
return ret;
|
|
95
95
|
})();
|
|
96
|
+
export const isHls = url => /\.(m3u8)($|\?)/i.test(url);
|
|
@@ -15,15 +15,15 @@ export class VideoControl {
|
|
|
15
15
|
this.visible = false;
|
|
16
16
|
this.isDraggingProgressBall = false;
|
|
17
17
|
this.percentage = 0;
|
|
18
|
-
this.
|
|
18
|
+
this.progressDimensions = {
|
|
19
19
|
left: 0,
|
|
20
20
|
width: 0
|
|
21
21
|
};
|
|
22
22
|
this.calcPercentage = (pageX) => {
|
|
23
|
-
let pos = pageX - this.
|
|
23
|
+
let pos = pageX - this.progressDimensions.left;
|
|
24
24
|
pos = Math.max(pos, 0);
|
|
25
|
-
pos = Math.min(pos, this.
|
|
26
|
-
return pos / this.
|
|
25
|
+
pos = Math.min(pos, this.progressDimensions.width);
|
|
26
|
+
return pos / this.progressDimensions.width;
|
|
27
27
|
};
|
|
28
28
|
this.onDragProgressBallStart = () => {
|
|
29
29
|
this.isDraggingProgressBall = true;
|
|
@@ -108,8 +108,8 @@ export class VideoControl {
|
|
|
108
108
|
if (!ref)
|
|
109
109
|
return;
|
|
110
110
|
const rect = ref.getBoundingClientRect();
|
|
111
|
-
this.
|
|
112
|
-
this.
|
|
111
|
+
this.progressDimensions.left = rect.left;
|
|
112
|
+
this.progressDimensions.width = rect.width;
|
|
113
113
|
} },
|
|
114
114
|
h("div", { class: 'taro-video-progress-buffered', style: { width: '100%' } }),
|
|
115
115
|
h("div", { class: 'taro-video-ball', ref: dom => (this.progressBallRef = dom), onTouchStart: this.onDragProgressBallStart, style: {
|
|
@@ -10,8 +10,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
11
11
|
import { Component, h, Prop, State, Event, Host, Watch, Listen, Element, Method } from '@stencil/core';
|
|
12
12
|
import classNames from 'classnames';
|
|
13
|
+
import Hls from 'hls.js';
|
|
13
14
|
import { throttle } from '../../utils';
|
|
14
|
-
import { formatTime, calcDist, normalizeNumber, screenFn } from './utils';
|
|
15
|
+
import { formatTime, calcDist, normalizeNumber, screenFn, isHls } from './utils';
|
|
15
16
|
export class Video {
|
|
16
17
|
constructor() {
|
|
17
18
|
this.currentTime = 0;
|
|
@@ -92,7 +93,7 @@ export class Video {
|
|
|
92
93
|
this.isFullScreen = false;
|
|
93
94
|
this.fullScreenTimestamp = new Date().getTime();
|
|
94
95
|
this.isMute = false;
|
|
95
|
-
this.
|
|
96
|
+
this.analyzeGesture = (e) => {
|
|
96
97
|
var _a;
|
|
97
98
|
const obj = {
|
|
98
99
|
type: 'none'
|
|
@@ -134,6 +135,37 @@ export class Video {
|
|
|
134
135
|
obj.dataY = normalizeNumber(distY / 200);
|
|
135
136
|
return obj;
|
|
136
137
|
};
|
|
138
|
+
this.loadNativePlayer = () => {
|
|
139
|
+
if (this.videoRef) {
|
|
140
|
+
this.videoRef.src = this.src;
|
|
141
|
+
this.videoRef.load();
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
this.init = () => {
|
|
145
|
+
const { src, videoRef } = this;
|
|
146
|
+
if (isHls(src)) {
|
|
147
|
+
if (Hls.isSupported()) {
|
|
148
|
+
if (this.hls) {
|
|
149
|
+
this.hls.destroy();
|
|
150
|
+
}
|
|
151
|
+
this.hls = new Hls();
|
|
152
|
+
this.hls.loadSource(src);
|
|
153
|
+
this.hls.attachMedia(videoRef);
|
|
154
|
+
this.hls.on(Hls.Events.MANIFEST_PARSED, () => {
|
|
155
|
+
this.autoplay && this.play();
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
else if (videoRef.canPlayType('application/vnd.apple.mpegurl')) {
|
|
159
|
+
this.loadNativePlayer();
|
|
160
|
+
}
|
|
161
|
+
else {
|
|
162
|
+
console.error('该浏览器不支持 HLS 播放');
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
else {
|
|
166
|
+
this.loadNativePlayer();
|
|
167
|
+
}
|
|
168
|
+
};
|
|
137
169
|
this.handlePlay = () => {
|
|
138
170
|
this.isPlaying = true;
|
|
139
171
|
this.isFirst = false;
|
|
@@ -259,6 +291,7 @@ export class Video {
|
|
|
259
291
|
this._enableDanmu = this.enableDanmu;
|
|
260
292
|
}
|
|
261
293
|
componentDidLoad() {
|
|
294
|
+
this.init();
|
|
262
295
|
if (this.initialTime) {
|
|
263
296
|
this.videoRef.currentTime = this.initialTime;
|
|
264
297
|
}
|
|
@@ -278,13 +311,16 @@ export class Video {
|
|
|
278
311
|
watchEnableDanmu(newVal) {
|
|
279
312
|
this._enableDanmu = newVal;
|
|
280
313
|
}
|
|
314
|
+
watchSrc() {
|
|
315
|
+
this.init();
|
|
316
|
+
}
|
|
281
317
|
onDocumentTouchMove(e) {
|
|
282
318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
283
319
|
if (this.lastTouchScreenX === undefined || this.lastTouchScreenY === undefined)
|
|
284
320
|
return;
|
|
285
321
|
if (yield this.controlsRef.getIsDraggingProgressBall())
|
|
286
322
|
return;
|
|
287
|
-
const gestureObj = this.
|
|
323
|
+
const gestureObj = this.analyzeGesture(e);
|
|
288
324
|
if (gestureObj.type === 'adjustVolume') {
|
|
289
325
|
this.toastVolumeRef.style.visibility = 'visible';
|
|
290
326
|
const nextVolume = Math.max(Math.min(this.lastVolume - gestureObj.dataY, 1), 0);
|
|
@@ -357,8 +393,9 @@ export class Video {
|
|
|
357
393
|
});
|
|
358
394
|
}
|
|
359
395
|
render() {
|
|
360
|
-
const {
|
|
361
|
-
const
|
|
396
|
+
const { controls, autoplay, loop, muted, poster, objectFit, isFirst, isMute, isFullScreen, showCenterPlayBtn, isPlaying, _enableDanmu, showMuteBtn, danmuBtn, showFullscreenBtn, nativeProps } = this;
|
|
397
|
+
const duration = this.duration || this._duration;
|
|
398
|
+
const durationTime = formatTime(duration);
|
|
362
399
|
return (h(Host, { class: classNames('taro-video-container', {
|
|
363
400
|
'taro-video-type-fullscreen': isFullScreen
|
|
364
401
|
}), onTouchStart: this.onTouchStartContainer, onClick: this.onClickContainer },
|
|
@@ -368,7 +405,7 @@ export class Video {
|
|
|
368
405
|
if (dom) {
|
|
369
406
|
this.videoRef = dom;
|
|
370
407
|
}
|
|
371
|
-
},
|
|
408
|
+
}, autoplay: autoplay, loop: loop, muted: muted, poster: controls ? poster : 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 }, nativeProps), "\u6682\u65F6\u4E0D\u652F\u6301\u64AD\u653E\u8BE5\u89C6\u9891"),
|
|
372
409
|
h("taro-video-danmu", { ref: dom => {
|
|
373
410
|
if (dom) {
|
|
374
411
|
this.danmuRef = dom;
|
|
@@ -381,7 +418,7 @@ export class Video {
|
|
|
381
418
|
if (dom) {
|
|
382
419
|
this.controlsRef = dom;
|
|
383
420
|
}
|
|
384
|
-
}, controls: controls, currentTime: this.currentTime, duration:
|
|
421
|
+
}, controls: controls, currentTime: this.currentTime, duration: duration, isPlaying: this.isPlaying, pauseFunc: this._pause, playFunc: this._play, seekFunc: this._seek, showPlayBtn: this.showPlayBtn, showProgress: this.showProgress },
|
|
385
422
|
showMuteBtn && (h("div", { class: classNames('taro-video-mute', {
|
|
386
423
|
'taro-video-type-mute': isMute
|
|
387
424
|
}), onClick: this.toggleMute })),
|
|
@@ -1048,6 +1085,9 @@ export class Video {
|
|
|
1048
1085
|
static get watchers() { return [{
|
|
1049
1086
|
"propName": "enableDanmu",
|
|
1050
1087
|
"methodName": "watchEnableDanmu"
|
|
1088
|
+
}, {
|
|
1089
|
+
"propName": "src",
|
|
1090
|
+
"methodName": "watchSrc"
|
|
1051
1091
|
}]; }
|
|
1052
1092
|
static get listeners() { return [{
|
|
1053
1093
|
"name": "touchmove",
|
|
@@ -374,7 +374,6 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
374
374
|
// Workaround for Safari, moving the <input> caret when re-assigning the same valued
|
|
375
375
|
if (memberName === 'list') {
|
|
376
376
|
isProp = false;
|
|
377
|
-
// tslint:disable-next-line: triple-equals
|
|
378
377
|
}
|
|
379
378
|
else if (oldValue == null || elm[memberName] != n) {
|
|
380
379
|
elm[memberName] = n;
|
|
@@ -1284,14 +1283,14 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1284
1283
|
prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
|
|
1285
1284
|
plt.jmp(() => {
|
|
1286
1285
|
const propName = attrNameToPropName.get(attrName);
|
|
1287
|
-
// In a
|
|
1286
|
+
// In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
|
|
1288
1287
|
// in the case where an attribute was set inline.
|
|
1289
1288
|
// ```html
|
|
1290
1289
|
// <my-component some-attribute="some-value"></my-component>
|
|
1291
1290
|
// ```
|
|
1292
1291
|
//
|
|
1293
|
-
// There is an edge case where a developer sets the attribute inline on a custom element and then
|
|
1294
|
-
// changes it before it has been upgraded as shown below:
|
|
1292
|
+
// There is an edge case where a developer sets the attribute inline on a custom element and then
|
|
1293
|
+
// programmatically changes it before it has been upgraded as shown below:
|
|
1295
1294
|
//
|
|
1296
1295
|
// ```html
|
|
1297
1296
|
// <!-- this component has _not_ been upgraded yet -->
|
|
@@ -1301,13 +1300,13 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1301
1300
|
// el = document.querySelector("#test");
|
|
1302
1301
|
// el.someAttribute = "another-value";
|
|
1303
1302
|
// // upgrade component
|
|
1304
|
-
//
|
|
1303
|
+
// customElements.define('my-component', MyComponent);
|
|
1305
1304
|
// </script>
|
|
1306
1305
|
// ```
|
|
1307
1306
|
// In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
|
|
1308
1307
|
// will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
|
|
1309
1308
|
// to the value that was set inline i.e. "some-value" from above example. When
|
|
1310
|
-
// the connectedCallback attempts to unshadow it will use "some-value" as the
|
|
1309
|
+
// the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
|
|
1311
1310
|
//
|
|
1312
1311
|
// The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
|
|
1313
1312
|
// by connectedCallback as this attributeChangedCallback will not fire.
|
|
@@ -1321,6 +1320,14 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1321
1320
|
newValue = this[propName];
|
|
1322
1321
|
delete this[propName];
|
|
1323
1322
|
}
|
|
1323
|
+
else if (prototype.hasOwnProperty(propName) &&
|
|
1324
|
+
typeof this[propName] === 'number' &&
|
|
1325
|
+
this[propName] == newValue) {
|
|
1326
|
+
// if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
|
|
1327
|
+
// APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
|
|
1328
|
+
// `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
|
|
1329
|
+
return;
|
|
1330
|
+
}
|
|
1324
1331
|
this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
|
|
1325
1332
|
});
|
|
1326
1333
|
};
|
|
@@ -1403,7 +1410,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1403
1410
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1404
1411
|
const schedule = () => scheduleUpdate(hostRef, true);
|
|
1405
1412
|
if (ancestorComponent && ancestorComponent['s-rc']) {
|
|
1406
|
-
// this is the
|
|
1413
|
+
// this is the initial load and this component it has an ancestor component
|
|
1407
1414
|
// but the ancestor component has NOT fired its will update lifecycle yet
|
|
1408
1415
|
// so let's just cool our jets and wait for the ancestor to continue first
|
|
1409
1416
|
// this will get fired off when the ancestor component
|
|
@@ -1510,57 +1517,59 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1510
1517
|
let isBootstrapping = true;
|
|
1511
1518
|
Object.assign(plt, options);
|
|
1512
1519
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
1513
|
-
lazyBundles.map((lazyBundle) =>
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
const tagName = cmpMeta.$tagName$;
|
|
1530
|
-
const HostElement = class extends HTMLElement {
|
|
1531
|
-
// StencilLazyHost
|
|
1532
|
-
constructor(self) {
|
|
1533
|
-
// @ts-ignore
|
|
1534
|
-
super(self);
|
|
1535
|
-
self = this;
|
|
1536
|
-
registerHost(self, cmpMeta);
|
|
1520
|
+
lazyBundles.map((lazyBundle) => {
|
|
1521
|
+
lazyBundle[1].map((compactMeta) => {
|
|
1522
|
+
const cmpMeta = {
|
|
1523
|
+
$flags$: compactMeta[0],
|
|
1524
|
+
$tagName$: compactMeta[1],
|
|
1525
|
+
$members$: compactMeta[2],
|
|
1526
|
+
$listeners$: compactMeta[3],
|
|
1527
|
+
};
|
|
1528
|
+
{
|
|
1529
|
+
cmpMeta.$members$ = compactMeta[2];
|
|
1530
|
+
}
|
|
1531
|
+
{
|
|
1532
|
+
cmpMeta.$listeners$ = compactMeta[3];
|
|
1533
|
+
}
|
|
1534
|
+
{
|
|
1535
|
+
cmpMeta.$watchers$ = {};
|
|
1537
1536
|
}
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1537
|
+
const tagName = cmpMeta.$tagName$;
|
|
1538
|
+
const HostElement = class extends HTMLElement {
|
|
1539
|
+
// StencilLazyHost
|
|
1540
|
+
constructor(self) {
|
|
1541
|
+
// @ts-ignore
|
|
1542
|
+
super(self);
|
|
1543
|
+
self = this;
|
|
1544
|
+
registerHost(self, cmpMeta);
|
|
1542
1545
|
}
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
+
connectedCallback() {
|
|
1547
|
+
if (appLoadFallback) {
|
|
1548
|
+
clearTimeout(appLoadFallback);
|
|
1549
|
+
appLoadFallback = null;
|
|
1550
|
+
}
|
|
1551
|
+
if (isBootstrapping) {
|
|
1552
|
+
// connectedCallback will be processed once all components have been registered
|
|
1553
|
+
deferredConnectedCallbacks.push(this);
|
|
1554
|
+
}
|
|
1555
|
+
else {
|
|
1556
|
+
plt.jmp(() => connectedCallback(this));
|
|
1557
|
+
}
|
|
1546
1558
|
}
|
|
1547
|
-
|
|
1548
|
-
plt.jmp(() =>
|
|
1559
|
+
disconnectedCallback() {
|
|
1560
|
+
plt.jmp(() => disconnectedCallback(this));
|
|
1549
1561
|
}
|
|
1562
|
+
componentOnReady() {
|
|
1563
|
+
return getHostRef(this).$onReadyPromise$;
|
|
1564
|
+
}
|
|
1565
|
+
};
|
|
1566
|
+
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1567
|
+
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1568
|
+
cmpTags.push(tagName);
|
|
1569
|
+
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1550
1570
|
}
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
}
|
|
1554
|
-
componentOnReady() {
|
|
1555
|
-
return getHostRef(this).$onReadyPromise$;
|
|
1556
|
-
}
|
|
1557
|
-
};
|
|
1558
|
-
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1559
|
-
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1560
|
-
cmpTags.push(tagName);
|
|
1561
|
-
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1562
|
-
}
|
|
1563
|
-
}));
|
|
1571
|
+
});
|
|
1572
|
+
});
|
|
1564
1573
|
{
|
|
1565
1574
|
visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
|
|
1566
1575
|
visibilityStyle.setAttribute('data-styles', '');
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
'
|
|
1
|
+
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
2
|
+
|
|
3
|
+
function getDefaultExportFromCjs (x) {
|
|
4
|
+
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
5
|
+
}
|
|
2
6
|
|
|
3
7
|
function createCommonjsModule(fn, basedir, module) {
|
|
4
8
|
return module = {
|
|
@@ -69,4 +73,4 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
69
73
|
}());
|
|
70
74
|
});
|
|
71
75
|
|
|
72
|
-
|
|
76
|
+
export { createCommonjsModule as a, commonjsGlobal as b, classnames as c, getDefaultExportFromCjs as g };
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-1d67274c.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Patch Esm v2.
|
|
4
|
+
Stencil Client Patch Esm v2.13.0 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
const patchEsm = () => {
|
|
7
7
|
return promiseResolve();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
2
|
-
import { c as classnames } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-1d67274c.js';
|
|
2
|
+
import { c as classnames } from './index-cd1a2d33.js';
|
|
3
3
|
|
|
4
4
|
const indexCss = "taro-button-core{display:block;overflow:hidden;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;border-width:0;border-radius:5px;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#f8f8f8;line-height:2.55555556;text-decoration:none;text-align:center;font-size:18px;color:#000;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core::after{position:absolute;left:0;top:0;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid rgba(0, 0, 0, 0.2);border-radius:10px;width:200%;height:200%;content:\" \";-webkit-transform:scale(0.5);transform:scale(0.5);-webkit-transform-origin:0 0;transform-origin:0 0}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{background-color:#f8f8f8;color:#000}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{background-color:#dedede;color:rgba(0, 0, 0, 0.6)}taro-button-core[size=mini]{display:inline-block;padding:0 1.32em;width:auto;line-height:2.3;font-size:13px}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{border-width:1px;background-color:transparent}taro-button-core[disabled]{color:rgba(255, 255, 255, 0.6)}taro-button-core[disabled][type=default]{background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-0.2em 0.34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255, 255, 255, 0.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{border:1px solid #1aad19;color:#1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{border-color:rgba(26, 173, 25, 0.6);background-color:transparent;color:rgba(26, 173, 25, 0.6)}taro-button-core[plain][type=primary]::after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{border:1px solid #353535;color:#353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{border-color:rgba(53, 53, 53, 0.6);background-color:transparent;color:rgba(53, 53, 53, 0.6)}taro-button-core[plain]::after,taro-button-core[plain][type=default]::after{border-width:0}taro-button-core[type=primary]{background-color:#1aad19;color:#fff}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{background-color:#179b16;color:rgba(255, 255, 255, 0.6)}taro-button-core[type=warn]{background-color:#e64340;color:#fff}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{background-color:#ce3c39;color:rgba(255, 255, 255, 0.6)}taro-button-core[plain][disabled]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}taro-button-core[plain][disabled][type=primary]{border:1px solid rgba(0, 0, 0, 0.2);background-color:#f7f7f7;color:rgba(0, 0, 0, 0.3)}";
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-1d67274c.js';
|
|
2
2
|
|
|
3
3
|
const indexCss = "taro-canvas-core{display:block;position:relative;width:300px;height:150px}";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-1d67274c.js';
|
|
2
2
|
|
|
3
|
-
const indexCss = "
|
|
3
|
+
const indexCss = ".taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{display:inline-block;position:relative;top:5px;border:1px solid #d1d1d1;border-radius:3px;width:23px;height:23px;min-height:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#fff;vertical-align:0;font-size:23px;color:#1aad19}.taro-checkbox_checked:checked::before{display:inline-block;position:absolute;left:50%;top:50%;vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-family:weui;font-style:normal;font-weight:normal;font-variant:normal;font-size:inherit;color:inherit;content:\"\\ea08\";-webkit-transform:translate(-50%, -48%) scale(0.73);transform:translate(-50%, -48%) scale(0.73);speak:none}";
|
|
4
4
|
|
|
5
5
|
let Checkbox = class {
|
|
6
6
|
constructor(hostRef) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-1d67274c.js';
|
|
2
2
|
|
|
3
3
|
/*
|
|
4
|
-
Stencil Client Patch Browser v2.
|
|
4
|
+
Stencil Client Patch Browser v2.13.0 | MIT Licensed | https://stenciljs.com
|
|
5
5
|
*/
|
|
6
6
|
const patchBrowser = () => {
|
|
7
7
|
const importMeta = import.meta.url;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
2
|
-
import { c as classnames } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-1d67274c.js';
|
|
2
|
+
import { c as classnames } from './index-cd1a2d33.js';
|
|
3
3
|
|
|
4
4
|
const coverViewCss = "taro-cover-view-core{display:block}";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index-
|
|
2
|
-
import { c as classnames } from './index-
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-1d67274c.js';
|
|
2
|
+
import { c as classnames } from './index-cd1a2d33.js';
|
|
3
3
|
|
|
4
4
|
let Icon = class {
|
|
5
5
|
constructor(hostRef) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, H as Host } from './index-
|
|
2
|
-
import { c as classnames } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-1d67274c.js';
|
|
2
|
+
import { c as classnames } from './index-cd1a2d33.js';
|
|
3
3
|
|
|
4
4
|
const indexCss = "img[src=\"\"]{opacity:0}taro-image-core{display:inline-block;overflow:hidden;position:relative;width:auto;height:auto;font-size:0}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{position:absolute;bottom:0;width:100%}.taro-img__mode-left{height:100%}.taro-img__mode-right{position:absolute;right:0;height:100%}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;right:0;bottom:0}";
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-1d67274c.js';
|
|
2
2
|
|
|
3
3
|
const indexCss = "taro-input-core{display:block}input{display:block;overflow:hidden;height:1.4rem;text-overflow:clip;text-align:inherit;white-space:nowrap}";
|
|
4
4
|
|