@tarojs/components 3.5.1-aplha.0 → 3.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-13289aba.js → index-7c61bee9.js} +8 -0
- 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 +1 -1
- package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-canvas-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-components.cjs.js +2 -2
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/taro-image-core.cjs.entry.js +1 -1
- 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 +141 -3
- package/dist/cjs/taro-movable-view-core.cjs.entry.js +377 -3
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigator-core.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +1 -1
- 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-root-portal-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tabbar.cjs.entry.js +1 -1
- package/dist/cjs/taro-text-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-textarea-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-video-control_3.cjs.entry.js +1 -1
- package/dist/cjs/taro-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
- package/dist/collection/components/movable-area/area.css +6 -0
- package/dist/collection/components/movable-area/movable-area.js +165 -4
- package/dist/collection/components/movable-area/movable-view.js +735 -3
- package/dist/collection/components/movable-area/view.css +8 -0
- package/dist/esm/{index-26d8b479.js → index-8809c729.js} +8 -0
- 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 +1 -1
- package/dist/esm/taro-camera-core.entry.js +1 -1
- package/dist/esm/taro-canvas-core.entry.js +1 -1
- package/dist/esm/taro-checkbox-core_2.entry.js +1 -1
- package/dist/esm/taro-components.js +2 -2
- package/dist/esm/taro-cover-image-core.entry.js +1 -1
- package/dist/esm/taro-cover-view-core.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/taro-image-core.entry.js +1 -1
- 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 +141 -3
- package/dist/esm/taro-movable-view-core.entry.js +377 -3
- package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm/taro-navigator-core.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/taro-picker-view-column-core.entry.js +1 -1
- package/dist/esm/taro-picker-view-core.entry.js +1 -1
- package/dist/esm/taro-progress-core.entry.js +1 -1
- package/dist/esm/taro-pull-to-refresh.entry.js +1 -1
- 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-root-portal-core.entry.js +1 -1
- package/dist/esm/taro-scroll-view-core.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/taro-switch-core.entry.js +1 -1
- package/dist/esm/taro-tabbar.entry.js +1 -1
- package/dist/esm/taro-text-core.entry.js +1 -1
- package/dist/esm/taro-textarea-core.entry.js +1 -1
- package/dist/esm/taro-video-control_3.entry.js +1 -1
- package/dist/esm/taro-view-core.entry.js +1 -1
- 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-26d8b479.js → index-8809c729.js} +1 -1
- 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-root-portal-core.entry.js +1 -1
- package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
- package/dist/esm-es5/taro-slider-core.entry.js +1 -1
- package/dist/esm-es5/taro-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-switch-core.entry.js +1 -1
- package/dist/esm-es5/taro-tabbar.entry.js +1 -1
- package/dist/esm-es5/taro-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
- package/dist/esm-es5/taro-video-control_3.entry.js +55 -55
- package/dist/esm-es5/taro-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
- package/dist/taro-components/{p-44a199e4.entry.js → p-00201a61.entry.js} +1 -1
- package/dist/taro-components/p-0380841f.system.js +1 -0
- package/dist/taro-components/{p-66b1d5f9.system.entry.js → p-0414632d.system.entry.js} +1 -1
- package/dist/taro-components/p-059912fd.js +1 -0
- package/dist/taro-components/{p-abb9c7d0.entry.js → p-06bef0f9.entry.js} +1 -1
- package/dist/taro-components/{p-62608b28.system.entry.js → p-0a70de87.system.entry.js} +1 -1
- package/dist/taro-components/{p-9b90554b.system.entry.js → p-10c47df8.system.entry.js} +1 -1
- package/dist/taro-components/{p-a9ab6434.system.entry.js → p-10e5df98.system.entry.js} +1 -1
- package/dist/taro-components/{p-8f466248.system.entry.js → p-14058364.system.entry.js} +1 -1
- package/dist/taro-components/{p-831ebd02.system.entry.js → p-1a638246.system.entry.js} +1 -1
- package/dist/taro-components/p-1c775a11.system.entry.js +1 -0
- package/dist/taro-components/p-1e530acd.entry.js +1 -0
- package/dist/taro-components/p-22e33350.entry.js +1 -0
- package/dist/taro-components/p-24a66088.system.entry.js +1 -0
- package/dist/taro-components/p-25df0ce9.entry.js +1 -0
- package/dist/taro-components/{p-a900b437.system.entry.js → p-27126803.system.entry.js} +1 -1
- package/dist/taro-components/{p-1e0406ec.system.entry.js → p-275d883f.system.entry.js} +1 -1
- package/dist/taro-components/{p-d56c45bf.system.entry.js → p-27c80869.system.entry.js} +1 -1
- package/dist/taro-components/{p-9ce624a4.system.entry.js → p-2fd0250d.system.entry.js} +1 -1
- package/dist/taro-components/{p-49954245.system.entry.js → p-3255f11f.system.entry.js} +1 -1
- package/dist/taro-components/{p-4c890c5d.entry.js → p-362998cf.entry.js} +1 -1
- package/dist/taro-components/{p-cfebd931.entry.js → p-3c6090fd.entry.js} +1 -1
- package/dist/taro-components/p-3c7cdf6f.entry.js +1 -0
- package/dist/taro-components/{p-6e0a22dc.entry.js → p-410d449f.entry.js} +1 -1
- package/dist/taro-components/{p-0ea13d67.system.entry.js → p-44398c17.system.entry.js} +1 -1
- package/dist/taro-components/p-443fb8b0.entry.js +1 -0
- package/dist/taro-components/p-44cbb351.system.js +1 -0
- package/dist/taro-components/{p-ec59899b.system.entry.js → p-44fa48b9.system.entry.js} +1 -1
- package/dist/taro-components/{p-36f2c1e1.system.entry.js → p-481a8bc1.system.entry.js} +1 -1
- package/dist/taro-components/p-49b64020.entry.js +1 -0
- package/dist/taro-components/{p-a74f4c26.entry.js → p-4ada10aa.entry.js} +1 -1
- package/dist/taro-components/{p-4ee47fc0.system.entry.js → p-4e8d4a72.system.entry.js} +1 -1
- package/dist/taro-components/{p-a36bfe97.system.entry.js → p-4f0e98c0.system.entry.js} +1 -1
- package/dist/taro-components/p-4f805045.entry.js +1 -0
- package/dist/taro-components/{p-69334f7c.entry.js → p-5733124c.entry.js} +1 -1
- package/dist/taro-components/{p-53244eac.entry.js → p-5a2305e7.entry.js} +1 -1
- package/dist/taro-components/{p-78676120.system.entry.js → p-5c87902f.system.entry.js} +1 -1
- package/dist/taro-components/{p-a838e0f7.system.entry.js → p-5e223bab.system.entry.js} +1 -1
- package/dist/taro-components/{p-a90bfe9d.system.entry.js → p-5e3bd0db.system.entry.js} +1 -1
- package/dist/taro-components/{p-5c2497a4.system.entry.js → p-5f18259d.system.entry.js} +1 -1
- package/dist/taro-components/{p-4339ad63.system.entry.js → p-64447f5a.system.entry.js} +1 -1
- package/dist/taro-components/{p-372f53d8.system.entry.js → p-67222d90.system.entry.js} +1 -1
- package/dist/taro-components/{p-2bd2ea9a.system.entry.js → p-692d986d.system.entry.js} +1 -1
- package/dist/taro-components/p-6da73376.entry.js +1 -0
- package/dist/taro-components/{p-3e223f2f.system.entry.js → p-6e9805e2.system.entry.js} +1 -1
- package/dist/taro-components/p-72f858e4.entry.js +1 -0
- package/dist/taro-components/{p-45e6f8be.entry.js → p-7325d380.entry.js} +1 -1
- package/dist/taro-components/{p-060858b1.entry.js → p-7407013d.entry.js} +1 -1
- package/dist/taro-components/{p-86205110.entry.js → p-77ad7941.entry.js} +1 -1
- package/dist/taro-components/p-7ab91097.entry.js +1 -0
- package/dist/taro-components/{p-0d1e0e91.system.entry.js → p-7b96cec3.system.entry.js} +1 -1
- package/dist/taro-components/p-7e23b551.entry.js +1 -0
- package/dist/taro-components/{p-d7e13592.entry.js → p-7e8943d8.entry.js} +1 -1
- package/dist/taro-components/{p-74013ace.entry.js → p-7f0a12a9.entry.js} +1 -1
- package/dist/taro-components/{p-7f7aa688.entry.js → p-7f93fa08.entry.js} +1 -1
- package/dist/taro-components/{p-ac398961.system.entry.js → p-82661d45.system.entry.js} +1 -1
- package/dist/taro-components/{p-828efe43.system.entry.js → p-840ef0c3.system.entry.js} +1 -1
- package/dist/taro-components/{p-75811f84.system.entry.js → p-8475421b.system.entry.js} +1 -1
- package/dist/taro-components/{p-8ba35b31.system.entry.js → p-8788dc46.system.entry.js} +1 -1
- package/dist/taro-components/{p-0d0b3677.entry.js → p-886571e5.entry.js} +1 -1
- package/dist/taro-components/{p-fc226017.entry.js → p-888fac99.entry.js} +1 -1
- package/dist/taro-components/{p-12deba0b.system.entry.js → p-89c876a6.system.entry.js} +1 -1
- package/dist/taro-components/p-8aea3de3.entry.js +1 -0
- package/dist/taro-components/{p-16aff829.entry.js → p-8c8be53b.entry.js} +1 -1
- package/dist/taro-components/{p-9130dfca.system.entry.js → p-8cf86f31.system.entry.js} +1 -1
- package/dist/taro-components/{p-3d3cd72f.entry.js → p-90a6c15a.entry.js} +1 -1
- package/dist/taro-components/{p-d2b6b891.entry.js → p-92699438.entry.js} +1 -1
- package/dist/taro-components/p-95a36917.entry.js +1 -0
- package/dist/taro-components/{p-2e8a1479.system.entry.js → p-9965cf11.system.entry.js} +1 -1
- package/dist/taro-components/{p-7dc268ee.entry.js → p-9a0e70b1.entry.js} +1 -1
- package/dist/taro-components/{p-2887213d.system.entry.js → p-9afbb423.system.entry.js} +1 -1
- package/dist/taro-components/{p-e01af6c8.entry.js → p-9b39a940.entry.js} +1 -1
- package/dist/taro-components/{p-16c1e564.entry.js → p-9fcb40a3.entry.js} +1 -1
- package/dist/taro-components/{p-3b801a38.system.entry.js → p-a63fbc50.system.entry.js} +1 -1
- package/dist/taro-components/{p-de573939.system.entry.js → p-a8c9b126.system.entry.js} +1 -1
- package/dist/taro-components/{p-3b85bb4b.system.entry.js → p-a94524c9.system.entry.js} +1 -1
- package/dist/taro-components/{p-5ff0e954.system.entry.js → p-aa5d45de.system.entry.js} +1 -1
- package/dist/taro-components/{p-9151ef65.entry.js → p-ab1256fe.entry.js} +1 -1
- package/dist/taro-components/{p-019591c8.system.entry.js → p-ad6ad7e3.system.entry.js} +1 -1
- package/dist/taro-components/p-b2800ccd.entry.js +1 -0
- package/dist/taro-components/{p-178a3adf.system.entry.js → p-b3693ca2.system.entry.js} +1 -1
- package/dist/taro-components/{p-d636e22e.entry.js → p-b3b677fc.entry.js} +1 -1
- package/dist/taro-components/{p-fe252a81.system.entry.js → p-b3d961f9.system.entry.js} +1 -1
- package/dist/taro-components/p-b7639674.entry.js +1 -0
- package/dist/taro-components/{p-8b30e18c.system.entry.js → p-b7ac0b7f.system.entry.js} +1 -1
- package/dist/taro-components/{p-f1da4ed7.system.entry.js → p-b83c3eca.system.entry.js} +1 -1
- package/dist/taro-components/{p-8b23a081.system.entry.js → p-b9903f15.system.entry.js} +1 -1
- package/dist/taro-components/p-c0c8b2be.entry.js +1 -0
- package/dist/taro-components/p-c8da5c10.entry.js +1 -0
- package/dist/taro-components/{p-88063d40.system.entry.js → p-cd88d81a.system.entry.js} +1 -1
- package/dist/taro-components/{p-29b7c721.system.entry.js → p-d72075ef.system.entry.js} +1 -1
- package/dist/taro-components/{p-0ca42006.entry.js → p-db1f2db7.entry.js} +1 -1
- package/dist/taro-components/{p-baa5019a.system.entry.js → p-df3b544a.system.entry.js} +1 -1
- package/dist/taro-components/{p-133e3ac4.entry.js → p-dff55efd.entry.js} +1 -1
- package/dist/taro-components/{p-0f42b8a4.entry.js → p-e1ed00f7.entry.js} +1 -1
- package/dist/taro-components/{p-832cc63a.entry.js → p-e3f39099.entry.js} +1 -1
- package/dist/taro-components/{p-ca7ad427.system.entry.js → p-e671c8c5.system.entry.js} +1 -1
- package/dist/taro-components/{p-841a2031.system.entry.js → p-ed8c1bb8.system.entry.js} +1 -1
- package/dist/taro-components/{p-430d72e8.entry.js → p-eec00033.entry.js} +1 -1
- package/dist/taro-components/{p-06e3d685.system.entry.js → p-eeed74e3.system.entry.js} +1 -1
- package/dist/taro-components/{p-81dc5b7b.entry.js → p-ef006b23.entry.js} +1 -1
- package/dist/taro-components/p-f8b9c4b0.entry.js +1 -0
- package/dist/taro-components/{p-e7dcb4d5.entry.js → p-fa2a9bab.entry.js} +1 -1
- package/dist/taro-components/{p-4793e6ba.system.entry.js → p-fc9f4fd7.system.entry.js} +1 -1
- package/dist/taro-components/{p-81976128.entry.js → p-fec6ac36.entry.js} +1 -1
- package/dist/taro-components/{p-ac56ffed.entry.js → p-ff84986d.entry.js} +1 -1
- package/dist/taro-components/{p-ce46f79d.entry.js → p-ffefd74f.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/movable-area/movable-area.d.ts +23 -0
- package/dist/types/components/movable-area/movable-view.d.ts +153 -0
- package/dist/types/components.d.ts +140 -0
- package/package.json +3 -4
- package/types/Video.d.ts +18 -0
- package/types/{props.ts → props.d.ts} +0 -0
- package/dist/taro-components/p-0996daee.entry.js +0 -1
- package/dist/taro-components/p-1e516bd0.entry.js +0 -1
- package/dist/taro-components/p-2241b671.system.js +0 -1
- package/dist/taro-components/p-26e9ce75.entry.js +0 -1
- package/dist/taro-components/p-29bb3ebe.entry.js +0 -1
- package/dist/taro-components/p-3bb72c08.entry.js +0 -1
- package/dist/taro-components/p-46b7f84e.entry.js +0 -1
- package/dist/taro-components/p-62c64770.entry.js +0 -1
- package/dist/taro-components/p-671defcd.entry.js +0 -1
- package/dist/taro-components/p-6f2f468b.entry.js +0 -1
- package/dist/taro-components/p-70313eed.entry.js +0 -1
- package/dist/taro-components/p-756d56d1.system.entry.js +0 -1
- package/dist/taro-components/p-7b2049b7.entry.js +0 -1
- package/dist/taro-components/p-80abb865.entry.js +0 -1
- package/dist/taro-components/p-83adb645.system.js +0 -1
- package/dist/taro-components/p-8ead6b19.entry.js +0 -1
- package/dist/taro-components/p-95e51d62.entry.js +0 -1
- package/dist/taro-components/p-9961074d.entry.js +0 -1
- package/dist/taro-components/p-a4721ae0.js +0 -1
- package/dist/taro-components/p-c1458fbe.system.entry.js +0 -1
- package/dist/taro-components/p-c9b73495.entry.js +0 -1
- package/dist/taro-components/p-ce0489a6.entry.js +0 -1
- package/dist/taro-components/p-d6c8f31d.entry.js +0 -1
- package/dist/types/home/runner/work/taro/taro/packages/taro-components/.stencil/types/props.d.ts +0 -62
- package/dist/types/props.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(e){"use strict";var t,i,r,n,o;return{setters:[function(e){t=e.r;i=e.c;r=e.h;n=e.H;o=e.g}],execute:function(){var a=e("taro_radio_core",function(){function e(e){var r=this;t(this,e);this.onChange=i(this,"radiochange",7);this.value="";this.checked=false;this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false;this.handleClick=function(){if(r.disabled)return;if(!r.checked)r.checked=true}}e.prototype.watchChecked=function(e){if(!this.isWillLoadCalled)return;e&&this.onChange.emit({value:this.value})};e.prototype.watchId=function(e){if(!this.isWillLoadCalled)return;if(e)this.inputEl.setAttribute("id",e)};e.prototype.componentDidRender=function(){this.id&&this.el.removeAttribute("id")};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true};e.prototype.render=function(){var e=this;var t=this,i=t.checked,o=t.name,a=t.value,c=t.disabled,u=t.nativeProps;return r(n,{className:"weui-cells_checkbox",onClick:this.handleClick},r("input",Object.assign({ref:function(t){if(!t)return;e.inputEl=t;if(e.id)t.setAttribute("id",e.id)},type:"radio",name:o,value:a,class:"weui-check",checked:i,disabled:c,onChange:function(e){return e.stopPropagation()}},u)),r("i",{class:"weui-icon-checked"}),r("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["watchChecked"],id:["watchId"]}},enumerable:false,configurable:true});return e}());var c=e("taro_radio_group_core",function(){function e(e){t(this,e);this.onChange=i(this,"change",7);this.uniqueName=Date.now().toString(36)}e.prototype.function=function(e){e.stopPropagation();if(e.target.tagName!=="TARO-RADIO-CORE")return;var t=e.target;if(t.checked){var i=this.el.querySelectorAll("taro-radio-core");i.forEach((function(e){if(e!==t){e.checked=false}}));this.value=e.detail.value;this.onChange.emit({value:this.value})}};e.prototype.componentDidLoad=function(){var e=this;var t=this.el.querySelectorAll("taro-radio-core");t.forEach((function(t){t.setAttribute("name",e.name||e.uniqueName)}));Object.defineProperty(this.el,"value",{get:function(){if(!e.value){var t=e.el.querySelectorAll("taro-radio-core");e.value=e.getValues(t)}return e.value},configurable:true})};e.prototype.getValues=function(e){var t="";Array.from(e).forEach((function(e){var i=e.querySelector("input");if(i===null||i===void 0?void 0:i.checked){t=i.value||""}}));return t};e.prototype.render=function(){return r(n,{class:"weui-cells_radiogroup"})};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(t){"use strict";var r,e;return{setters:[function(t){r=t.r;e=t.h}],execute:function(){var n=t("taro_label_core",function(){function t(t){r(this,t)}t.prototype.render=function(){return e("label",{htmlFor:this.for},e("slot",null))};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(t){"use strict";var n,r,e;return{setters:[function(t){n=t.r;r=t.h;e=t.H}],execute:function(){var o=t("taro_functional_page_navigator_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 FunctionalPageNavigator 组件!")};t.prototype.render=function(){return r(e,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(e){"use strict";var t,r,n,i;return{setters:[function(e){t=e.r;r=e.c;n=e.h;i=e.g}],execute:function(){var o=e("taro_form_core",function(){function e(e){t(this,e);this.onSubmit=r(this,"submit",7);this.value={}}e.prototype.watchSlotParent=function(e){if(!this.orginalAppendChild){this.orginalAppendChild=this.el.appendChild;this.orginalInsertBefore=this.el.insertBefore;this.orginalReplaceChild=this.el.replaceChild;this.orginalRemoveChild=this.el.removeChild}if(!e){this.el.appendChild=this.orginalAppendChild;this.el.insertBefore=this.orginalInsertBefore;this.el.replaceChild=this.orginalReplaceChild;this.el.removeChild=this.orginalRemoveChild;return}this.el.appendChild=function(t){return e.appendChild(t)};this.el.insertBefore=function(t,r){return e.insertBefore(t,r)};this.el.replaceChild=function(t,r){return e.replaceChild(t,r)};this.el.removeChild=function(t){return e.removeChild(t)}};e.prototype.onButtonSubmit=function(e){e.stopPropagation();this.value=this.getFormValue();this.onSubmit.emit({value:this.value})};e.prototype.onButtonReset=function(e){e.stopPropagation();this.form.reset()};e.prototype.componentDidLoad=function(){var e=this;this.value=this.getFormValue();Object.defineProperty(this.el,"value",{get:function(){return e.value},configurable:true})};e.prototype.componentDidRender=function(){this.setSlotParent(this.form)};e.prototype.getFormValue=function(){var e=this.el;var t=[];var r=e.getElementsByTagName("input");for(var n=0;n<r.length;n++){t.push(r[n])}var i={};var o={};t.forEach((function(e){if(e.className.indexOf("weui-switch")!==-1){i[e.name]=e.checked;return}if(e.type==="radio"){if(e.checked){o[e.name]=true;i[e.name]=e.value}else{if(!o[e.name]){i[e.name]=""}}return}if(e.type==="checkbox"){if(e.checked){if(o[e.name]){i[e.name].push(e.value)}else{o[e.name]=true;i[e.name]=[e.value]}}else{if(!o[e.name]){i[e.name]=[]}}return}i[e.name]=e.value}));var a=e.getElementsByTagName("textarea");var l=[];for(var s=0;s<a.length;s++){l.push(a[s])}l.forEach((function(e){i[e.name]=e.value}));return i};e.prototype.setSlotParent=function(e){this.slotParent=e};e.prototype.render=function(){var e=this;return n("form",{ref:function(t){if(t){e.form=t}}},n("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{slotParent:["watchSlotParent"]}},enumerable:false,configurable:true});return e}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(e){"use strict";var t,n,o,i,r;return{setters:[function(e){t=e.r;n=e.c;o=e.h;i=e.H;r=e.g}],execute:function(){var a='.taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{display:inline-block;position:relative;top:5px;border:1px solid #d1d1d1;border-radius:3px;width:23px;height:23px;min-height:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#fff;vertical-align:0;font-size:23px;color:#1aad19}.taro-checkbox_checked:checked::before{display:inline-block;position:absolute;left:50%;top:50%;vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-family:weui;font-style:normal;font-weight:normal;font-variant:normal;font-size:inherit;color:inherit;content:"\\ea08";-webkit-transform:translate(-50%, -48%) scale(0.73);transform:translate(-50%, -48%) scale(0.73);speak:none}';var c=e("taro_checkbox_core",function(){function e(e){var o=this;t(this,e);this.onChange=n(this,"checkboxchange",7);this.value="";this.checked=false;this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false;this.handleChange=function(e){e.stopPropagation();o.onChange.emit({value:o.value})}}e.prototype.watchId=function(e){if(!this.isWillLoadCalled)return;if(e)this.inputEl.setAttribute("id",e)};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true};e.prototype.componentDidRender=function(){this.id&&this.el.removeAttribute("id")};e.prototype.render=function(){var e=this;var t=this,n=t.checked,r=t.name,a=t.color,c=t.value,l=t.disabled,u=t.nativeProps;return o(i,{className:"weui-cells_checkbox"},o("input",Object.assign({ref:function(t){if(!t)return;e.inputEl=t;if(e.id)t.setAttribute("id",e.id)},type:"checkbox",value:c,name:r,class:"taro-checkbox_checked",style:{color:a},checked:n,disabled:l,onChange:this.handleChange},u)),o("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{id:["watchId"]}},enumerable:false,configurable:true});return e}());c.style=a;var l=e("taro_checkbox_group_core",function(){function e(e){t(this,e);this.onChange=n(this,"change",7);this.uniqueName=Date.now().toString(36)}e.prototype.function=function(e){e.stopPropagation();if(e.target.tagName!=="TARO-CHECKBOX-CORE")return;var t=this.el.querySelectorAll("taro-checkbox-core");this.value=this.getValues(t);this.onChange.emit({value:this.value})};e.prototype.componentDidLoad=function(){var e=this;var t=this.el.querySelectorAll("taro-checkbox-core");t.forEach((function(t){t.setAttribute("name",e.name||e.uniqueName)}));Object.defineProperty(this.el,"value",{get:function(){if(!e.value){var t=e.el.querySelectorAll("taro-checkbox-core");e.value=e.getValues(t)}return e.value},configurable:true})};e.prototype.getValues=function(e){return Array.from(e).filter((function(e){var t=e.querySelector("input");return t===null||t===void 0?void 0:t.checked})).map((function(e){return e.value}))};e.prototype.render=function(){return o(i,null)};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return e}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(t){"use strict";var n,o,e,i;return{setters:[function(t){n=t.r;o=t.c;e=t.h;i=t.g}],execute:function(){var r="taro-canvas-core{display:block;position:relative;width:300px;height:150px}";var c=500;var s=t("taro_canvas_core",function(){function t(t){var e=this;n(this,t);this.onLongTap=o(this,"longtap",7);this.nativeProps={};this.onTouchStart=function(){e.timer=setTimeout((function(){e.onLongTap.emit()}),c)};this.onTouchMove=function(){clearTimeout(e.timer)};this.onTouchEnd=function(){clearTimeout(e.timer)}}t.prototype.render=function(){var t=this,n=t.canvasId,o=t.nativeProps;return e("canvas",Object.assign({"canvas-id":n,style:{width:"100%",height:"100%"},onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchEnd:this.onTouchEnd},o))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());s.style=r}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(r){"use strict";var e,t,n;return{setters:[function(r){e=r.r;t=r.h;n=r.H}],execute:function(){var i=r("taro_rich_text_core",function(){function r(r){var n=this;e(this,r);this.renderNode=function(r){if("type"in r&&r.type==="text"){var e=(r.text||"").replace(/ /g," ");return e}else if("name"in r&&r.name){var i=r.name,u=r.attrs,a=r.children;var o={};var f=[];if(u&&typeof u==="object"){var c=function(r){var e=u[r];if(r==="style"&&typeof e==="string"){var t=e.split(";").map((function(r){return r.trim()})).filter((function(r){return r}));var n={};t.forEach((function(r){if(!r)return;var e=/(.+): *(.+)/g.exec(r);if(!e)return;var t=e[1],i=e[2];var u=t.replace(/-([a-z])/g,(function(){var r=[];for(var e=0;e<arguments.length;e++){r[e]=arguments[e]}return r[1].toUpperCase()}));n[u]=i}));if(Object.keys(n).length){o.style=n}return"continue"}o[r]=e};for(var s in u){c(s)}}if(a&&a.length){f=a.map((function(r){return n.renderNode(r)}))}return t(i,o,f)}return null}}r.prototype.render=function(){var r=this,e=r.nodes,i=r.renderNode;if(Array.isArray(e)){return t(n,null,e.map((function(r){return i(r)})))}else{return t(n,{innerHTML:e})}};return r}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as o,H as r}from"./p-059912fd.js";let t=class{constructor(o){e(this,o)}componentDidLoad(){console.error("H5 暂不支持 PageMeta 组件!")}render(){return o(r,null)}};export{t as taro_page_meta_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(t){"use strict";var e,n,i,o;return{setters:[function(t){e=t.r;n=t.c;i=t.h;o=t.g}],execute:function(){var s="taro-input-core{display:block}input{display:block;overflow:hidden;height:1.4rem;text-overflow:clip;text-align:inherit;white-space:nowrap}";function a(t,e,n){if(e==="search")t="search";if(n)t="password";if(typeof t==="undefined"){return"text"}if(!t){throw new Error("unexpected type")}if(t==="digit")t="number";return t}function u(t){return t!==null&&t!==void 0?t:""}var r=t("taro_input_core",function(){function t(t){var i=this;e(this,t);this.onInput=n(this,"input",7);this.onPaste=n(this,"paste",7);this.onFocus=n(this,"focus",7);this.onBlur=n(this,"blur",7);this.onConfirm=n(this,"confirm",7);this.onChange=n(this,"change",7);this.onKeyDown=n(this,"keydown",7);this.isOnComposition=false;this.isOnPaste=false;this.onInputExcuted=false;this.password=false;this.disabled=false;this.maxlength=140;this.autoFocus=false;this.confirmType="done";this.nativeProps={};this.handleInput=function(t){t.stopPropagation();var e=i,n=e.type,o=e.maxlength,s=e.confirmType,u=e.password;if(!i.isOnComposition&&!i.onInputExcuted){var r=t.target.value;var l=a(n,s,u);i.onInputExcuted=true;if(l==="number"&&r&&o<=r.length){r=r.substring(0,o);t.target.value=r}i.value=r;i.onInput.emit({value:r,cursor:r.length})}};this.handlePaste=function(t){i.isOnPaste=true;i.onPaste.emit({value:t.target.value})};this.handleFocus=function(t){i.onInputExcuted=false;i.onFocus.emit({value:t.target.value})};this.handleBlur=function(t){i.onBlur.emit({value:t.target.value})};this.handleChange=function(t){t.stopPropagation();i.onChange.emit({value:t.target.value});if(i.isOnPaste){i.isOnPaste=false;i.value=t.target.value;i.onInput.emit({value:t.target.value,cursor:t.target.value.length})}};this.handleKeyDown=function(t){var e=t.target.value;var n=t.keyCode||t.code;i.onInputExcuted=false;t.stopPropagation();i.onKeyDown.emit({value:e,cursor:e.length,keyCode:n});n===13&&i.onConfirm.emit({value:e})};this.handleComposition=function(t){if(!(t.target instanceof HTMLInputElement))return;if(t.type==="compositionend"){i.isOnComposition=false;i.value=t.target.value;i.onInput.emit({value:t.target.value,cursor:t.target.value.length})}else{i.isOnComposition=true}}}t.prototype.watchFocus=function(t,e){var n;if(!e&&t){(n=this.inputRef)===null||n===void 0?void 0:n.focus()}};t.prototype.watchValue=function(t){var e=u(t);if(this.inputRef&&this.inputRef.value!==e){this.inputRef.value=e}};t.prototype.componentDidLoad=function(){var t=this;var e,n,i;if(this.type==="file"){this.fileListener=function(){t.onInput.emit()};(e=this.inputRef)===null||e===void 0?void 0:e.addEventListener("change",this.fileListener)}else{(n=this.inputRef)===null||n===void 0?void 0:n.addEventListener("compositionstart",this.handleComposition);(i=this.inputRef)===null||i===void 0?void 0:i.addEventListener("compositionend",this.handleComposition)}Object.defineProperty(this.el,"value",{get:function(){var e;return(e=t.inputRef)===null||e===void 0?void 0:e.value},set:function(e){return t.value=e},configurable:true})};t.prototype.disconnectedCallback=function(){var t;if(this.type==="file"){(t=this.inputRef)===null||t===void 0?void 0:t.removeEventListener("change",this.fileListener)}};t.prototype.render=function(){var t=this;var e=this,n=e.value,o=e.type,s=e.password,r=e.placeholder,l=e.autoFocus,h=e.disabled,p=e.maxlength,c=e.confirmType,f=e.name,d=e.nativeProps;return i("input",Object.assign({ref:function(e){t.inputRef=e},class:"weui-input",value:u(n),type:a(o,c,s),placeholder:r,autoFocus:l,disabled:h,maxlength:p,name:f,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onCompositionStart:this.handleComposition,onCompositionEnd:this.handleComposition},d))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{autoFocus:["watchFocus"],value:["watchValue"]}},enumerable:false,configurable:true});return t}());r.style=s}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as o,H as s}from"./p-059912fd.js";let t=class{constructor(o){r(this,o)}render(){return o(s,null)}};export{t as taro_block_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as r,H as o}from"./p-
|
|
1
|
+
import{r as e,h as r,H as o}from"./p-059912fd.js";let t=class{constructor(r){e(this,r)}componentDidLoad(){console.error("H5 暂不支持 ShareElement 组件!")}render(){return r(o,null)}};export{t as taro_share_element_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as r,H as e}from"./p-
|
|
1
|
+
import{r as t,h as r,H as e}from"./p-059912fd.js";let n=class{constructor(e){t(this,e),this.renderNode=t=>{if("type"in t&&"text"===t.type)return(t.text||"").replace(/ /g," ");if("name"in t&&t.name){const{name:e,attrs:n,children:s}=t,o={};let i=[];if(n&&"object"==typeof n)for(const t in n){const r=n[t];if("style"!==t||"string"!=typeof r)o[t]=r;else{const t=r.split(";").map((t=>t.trim())).filter((t=>t)),e={};t.forEach((t=>{if(!t)return;const r=/(.+): *(.+)/g.exec(t);if(!r)return;const[,n,s]=r,o=n.replace(/-([a-z])/g,((...t)=>t[1].toUpperCase()));e[o]=s})),Object.keys(e).length&&(o.style=e)}}return s&&s.length&&(i=s.map((t=>this.renderNode(t)))),r(e,o,i)}return null}}render(){const{nodes:t,renderNode:n}=this;return Array.isArray(t)?r(e,null,t.map((t=>n(t)))):r(e,{innerHTML:t})}};export{n as taro_rich_text_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as r,H as e}from"./p-
|
|
1
|
+
import{r as o,h as r,H as e}from"./p-059912fd.js";let n=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 PageContainer 组件!")}render(){return r(e,null)}};export{n as taro_page_container_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r,H as s}from"./p-059912fd.js";let t=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 Ad 组件!")}render(){return r(s,null)}};export{t as taro_ad_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(e){"use strict";var t,n,r;return{setters:[function(e){t=e.r;n=e.h;r=e.H}],execute:function(){var o=e("taro_share_element_core",function(){function e(e){t(this,e)}e.prototype.componentDidLoad=function(){console.error("H5 暂不支持 ShareElement 组件!")};e.prototype.render=function(){return n(r,null)};return e}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r,H as a}from"./p-059912fd.js";let t=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 NavigationBar 组件!")}render(){return r(a,null)}};export{t as taro_navigation_bar_core}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as t,h as i,H as n,g as r,c as e}from"./p-
|
|
1
|
+
import{r as t,h as i,H as n,g as r,c as e}from"./p-059912fd.js";import{a as s,b as o,g as a,c as h}from"./p-76724e58.js";import{t as u}from"./p-5746d7ce.js";const c=t=>{if(!t)return"";const i=Math.round(t%60),n=Math.round((t-i)/60);return`${n<10?`0${n}`:n}:${i<10?`0${i}`:i}`},f=t=>Math.max(-1,Math.min(t,1));let l="default";const v=function(){let t;const i=[["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 n=["webkitEnterFullscreen","webkitExitFullscreen","webkitCurrentFullScreenElement","webkitSupportsFullscreen","fullscreenchange","fullscreenerror"];let r=0;const e=i.length,s={};for(;r<e;r++)if(t=i[r],t&&t[1]in document){for(r=0;r<t.length;r++)s[i[0][r]]=t[r];return s}if(!s[i[0][0]])for(l="iOS",r=0;r<n.length;r++)s[i[0][r]]=n[r];return s}();var d=function(t,i,n,r){return new(n||(n=Promise))((function(e,s){function o(t){try{h(r.next(t))}catch(t){s(t)}}function a(t){try{h(r.throw(t))}catch(t){s(t)}}function h(t){var i;t.done?e(t.value):(i=t.value,i instanceof n?i:new n((function(t){t(i)}))).then(o,a)}h((r=r.apply(t,i||[])).next())}))};let m=class{constructor(i){t(this,i),this.visible=!1,this.isDraggingProgressBall=!1,this.percentage=0,this.progressDimensions={left:0,width:0},this.calcPercentage=t=>{let i=t-this.progressDimensions.left;return i=Math.max(i,0),i=Math.min(i,this.progressDimensions.width),i/this.progressDimensions.width},this.onDragProgressBallStart=()=>{this.isDraggingProgressBall=!0,this.hideControlsTimer&&clearTimeout(this.hideControlsTimer)},this.onClickProgress=t=>{t.stopPropagation();const i=this.calcPercentage(t.pageX);this.seekFunc(i*this.duration),this.toggleVisibility(!0)}}onDocumentTouchMove(t){this.isDraggingProgressBall&&(this.percentage=this.calcPercentage(t.touches[0].pageX),this.setProgressBall(this.percentage),this.setCurrentTime(this.percentage*this.duration))}onDocumentTouchEnd(){this.isDraggingProgressBall&&(this.isDraggingProgressBall=!1,this.seekFunc(this.percentage*this.duration),this.toggleVisibility(!0))}setProgressBall(t){return d(this,void 0,void 0,(function*(){this.progressBallRef&&(this.progressBallRef.style.left=100*t+"%")}))}toggleVisibility(t){return d(this,void 0,void 0,(function*(){const i=void 0===t?!this.visible:t;i?(this.hideControlsTimer&&clearTimeout(this.hideControlsTimer),this.isPlaying&&(this.hideControlsTimer=setTimeout((()=>{this.toggleVisibility(!1)}),2e3)),this.el.style.visibility="visible"):this.el.style.visibility="hidden",this.visible=!!i}))}getIsDraggingProgressBall(){return d(this,void 0,void 0,(function*(){return this.isDraggingProgressBall}))}setCurrentTime(t){return d(this,void 0,void 0,(function*(){this.currentTimeRef.innerHTML=c(t)}))}render(){const{controls:t,currentTime:r,duration:e,isPlaying:s,pauseFunc:o,playFunc:a,showPlayBtn:h,showProgress:u}=this,f=c(e);let l;return l=h?i("div",s?{class:"taro-video-control-button taro-video-control-button-pause",onClick:o}:{class:"taro-video-control-button taro-video-control-button-play",onClick:a}):null,i(n,{class:"taro-video-bar taro-video-bar-full"},t&&i("div",{class:"taro-video-controls"},l,u&&i("div",{class:"taro-video-current-time",ref:t=>this.currentTimeRef=t},c(r)),u&&i("div",{class:"taro-video-progress-container",onClick:this.onClickProgress},i("div",{class:"taro-video-progress",ref:t=>{if(!t)return;const i=t.getBoundingClientRect();this.progressDimensions.left=i.left,this.progressDimensions.width=i.width}},i("div",{class:"taro-video-progress-buffered",style:{width:"100%"}}),i("div",{class:"taro-video-ball",ref:t=>this.progressBallRef=t,onTouchStart:this.onDragProgressBallStart,style:{left:(f?this.currentTime/e*100:0)+"%"}},i("div",{class:"taro-video-inner"})))),u&&i("div",{class:"taro-video-duration"},f)),i("slot",null))}get el(){return r(this)}};const p=a(s((function(t){var i;"undefined"!=typeof window&&(i=function(){return function(t){var i={};function n(r){if(i[r])return i[r].exports;var e=i[r]={i:r,l:!1,exports:{}};return t[r].call(e.exports,e,e.exports,n),e.l=!0,e.exports}return n.m=t,n.c=i,n.d=function(t,i,r){n.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,i){if(1&i&&(t=n(t)),8&i)return t;if(4&i&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var e in t)n.d(r,e,function(i){return t[i]}.bind(null,e));return r},n.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(i,"a",i),i},n.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},n.p="/dist/",n(n.s="./src/hls.ts")}({"./node_modules/eventemitter3/index.js":
|
|
2
2
|
/*!*********************************************!*\
|
|
3
3
|
!*** ./node_modules/eventemitter3/index.js ***!
|
|
4
4
|
\*********************************************/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as r,H as t}from"./p-
|
|
1
|
+
import{r as o,h as r,H as t}from"./p-059912fd.js";let s=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 Slot 组件!")}render(){return r(t,null)}};export{s as taro_slot_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,c as t,h as r,H as a,g as e}from"./p-
|
|
1
|
+
import{r as o,c as t,h as r,H as a,g as e}from"./p-059912fd.js";import{c as i}from"./p-76724e58.js";let n=class{constructor(r){o(this,r),this.onSubmit=t(this,"tarobuttonsubmit",7),this.onReset=t(this,"tarobuttonreset",7),this.hoverClass="button-hover",this.type="",this.hoverStartTime=20,this.hoverStayTime=70,this.loading=!1,this.formType=null,this.hover=!1,this.touch=!1}onTouchStart(){this.disabled||(this.touch=!0,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime))}onTouchEnd(){this.disabled||(this.touch=!1,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime),"submit"===this.formType?this.onSubmit.emit():"reset"===this.formType&&this.onReset.emit())}render(){const{disabled:o,hoverClass:t,type:e,size:n,plain:b,loading:c,hover:d}=this,l=i({[`${t}`]:d&&!o});return r(a,{class:l,type:e,plain:b,loading:c,size:n,disabled:o},c&&r("i",{class:"weui-loading"}),r("slot",null))}get el(){return e(this)}};n.style='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)}';export{n as taro_button_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js","./p-61f225ef.system.js"],(function(t){"use strict";var i,e,o,s,n;return{setters:[function(t){i=t.r;e=t.c;o=t.h;s=t.H},function(t){n=t.c}],execute:function(){var r="taro-cover-view-core{display:block}";var h=t("taro_cover_view_core",function(){function t(t){i(this,t);this.onLongPress=e(this,"longpress",7);this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false;this.startTime=0}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var i=Date.now()-this.startTime;if(i<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.render=function(){var t;var i=n((t={},t[""+this.hoverClass]=this.hover,t));var e={};if(!!this.animation){e["animation"]=this.animation;e["data-animation"]=this.animation}return o(s,Object.assign({class:i},e),o("slot",null))};return t}());h.style=r}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(o){"use strict";var t,r,n;return{setters:[function(o){t=o.r;r=o.h;n=o.H}],execute:function(){var e=o("taro_voip_room_core",function(){function o(o){t(this,o)}o.prototype.componentDidLoad=function(){console.error("H5 暂不支持 VoipRoom 组件!")};o.prototype.render=function(){return r(n,null)};return o}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js","./p-61f225ef.system.js"],(function(t){"use strict";var e,o,i,s,n,r;return{setters:[function(t){e=t.r;o=t.c;i=t.h;s=t.H;n=t.g},function(t){r=t.c}],execute:function(){var h="body,html{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}taro-view-core{display:block}";var a=t("taro_view_core",function(){function t(t){e(this,t);this.onLongPress=o(this,"longpress",7);this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false;this.startTime=0}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var e=Date.now()-this.startTime;if(e<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.componentDidRender=function(){var t=this.el;t.childNodes.forEach((function(t){if(t.nodeType===document.COMMENT_NODE&&t["s-cn"])t["s-cn"]=false}))};t.prototype.render=function(){var t;var e=r((t={},t[""+this.hoverClass]=this.hover,t));var o={};if(!!this.animation){o["animation"]=this.animation;o["data-animation"]=this.animation}return i(s,Object.assign({class:e},o),i("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());a.style=h}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js","./p-663d1bb9.system.js"],(function(e){"use strict";var t,i,o,n,s,r;return{setters:[function(e){t=e.r;i=e.c;o=e.h;n=e.g;s=e.H},function(e){r=e.d}],execute:function(){var l=".taro-picker-view-column-container{display:-ms-flexbox;display:flex;overflow:scroll;overflow-x:hidden;position:relative;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;text-align:center}.taro-picker-view-column-container::-webkit-scrollbar{display:none}";var c=e("taro_picker_view_column_core",function(){function e(e){var o=this;t(this,e);this.onChange=i(this,"onselect",7);this.onSelectStart=i(this,"onselectstart",7);this.onSelectEnd=i(this,"onselectend",7);this.initialPosition="0";this.paddingVertical=0;this.isInit=false;this.isMove=false;this.handleSelected=r((function(){var e=o.el.childNodes;var t=0;var i="0";for(var n in e){var s=e[n];var r=s.offsetHeight;if(t+r/2>o.el.scrollTop){i=n;break}t+=r}o.el.scrollTo({top:t,behavior:"smooth"});o.onChange.emit({curIndex:o.col,selectedIndex:i});o.onSelectEnd.emit()}),500)}e.prototype.onScroll=function(e){if(!this.isMove){this.isMove=true;this.onSelectStart.emit()}this.handleSelected()};e.prototype.onMouseEnd=function(){if(!this.isMove)return;this.isMove=false;this.handleSelected()};e.prototype.onTouchEnd=function(){this.isMove=false;this.handleSelected()};e.prototype.componentDidUpdate=function(){if(!this.isInit){this.isInit=true;var e=this.el.childNodes;var t=0;var i=0;for(var o in e){var n=e[o];if(this.initialPosition===o||!n||typeof n.offsetHeight!=="number"){break}i+=n.offsetHeight;t++}this.el.scrollTo({top:i});if(t>=e.length){this.onChange.emit({curIndex:this.col,selectedIndex:t-1})}}};e.prototype.render=function(){var e=this.paddingVertical,t=e===void 0?0:e;return o(s,{class:"taro-picker-view-column-container",style:{"padding-top":t+"px","padding-bottom":t+"px"}})};Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());c.style=l}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as h,g as e}from"./p-
|
|
1
|
+
import{r as t,c as i,h as s,H as h,g as e}from"./p-059912fd.js";let a=class{constructor(s){t(this,s),this.onChange=i(this,"change",7),this.onChanging=i(this,"changing",7),this.min=0,this.max=100,this.step=1,this.disabled=!1,this.value=0,this.activeColor="#1aad19",this.backgroundColor="#e9e9e9",this.blockSize=28,this.blockColor="#ffffff",this.showValue=!1,this.name="",this.totalWidth=0,this.touching=!1,this.ogX=0,this.touchId=null,this.percent=0,this.isWillLoadCalled=!1,this.handleTouchStart=t=>{this.touching||this.disabled||(this.touching=!0,this.touchId=t.targetTouches[0].identifier,this.totalWidth=this.sliderInsRef.clientWidth,this.ogX=t.targetTouches[0].pageX,this.ogPercent=this.percent)},this.handleTouchMove=t=>{const{disabled:i,touching:s,touchId:h,totalWidth:e,max:a,min:n,ogX:o,ogPercent:l}=this;if(!s||i)return;if(t.targetTouches[0].identifier!==h)return;t.preventDefault();let r=(t.targetTouches[0].pageX-o)/e*100+l;r=Math.max(0,Math.min(r,100)),this.updateByStep(n+.01*r*(a-n)),this.onChanging.emit({detail:t.detail,value:this.val})},this.handleTouchEnd=t=>{const{disabled:i,touching:s}=this;s&&!i&&(this.percent!==this.ogPercent&&this.onChange.emit({detail:t.detail,value:this.val}),this.touching=!1,this.touchId=null,this.ogX=0,this.ogPercent=0)}}function(t){if(!this.isWillLoadCalled)return;const{max:i,min:s}=this;if(null!==t&&t!==this.val){const h=Math.max(s,Math.min(t,i));this.updateByStep(h)}}componentDidLoad(){Object.defineProperty(this.el,"value",{get:()=>this.val,set:t=>this.value=t,configurable:!0}),this.handler.addEventListener("touchstart",this.handleTouchStart),this.handler.addEventListener("touchmove",this.handleTouchMove),this.handler.addEventListener("touchend",this.handleTouchEnd)}componentDidUpdate(){this.value=null}componentWillLoad(){this.isWillLoadCalled=!0;const{value:t,max:i,min:s}=this;if(null===t)return;const h=Math.max(s,Math.min(t,i));this.updateByStep(h)}updateByStep(t){const{max:i,min:s,step:h}=this,e=Math.floor((i-s)/h);for(let i=0;i<=e;i++){const a=s+h*i,n=i===e?null:s+h*(i+1);if(t===a)break;if(!n&&t>a&&(t=a),n&&t>a&&t<n){t=t-a<h/2?a:n;break}}const a=(t-s)/(i-s)*100;this.val=t,this.percent=a}render(){const{showValue:t,backgroundColor:i,activeColor:e,blockColor:a,name:n,percent:o,val:l}=this;let r=this.blockSize;const c={backgroundColor:i},u=o>100?100:o,d={width:`${u}%`,backgroundColor:e};r<12&&(r=12),r>28&&(r=28);const f={left:`${u}%`,width:`${r}px`,height:`${r}px`,backgroundColor:a,marginTop:`-${Math.floor(r/2)}px`,marginLeft:`-${Math.floor(r/2)}px`};return s(h,{class:"weui-slider-box"},s("div",{class:"weui-slider"},s("div",{class:"weui-slider__inner",style:c,ref:t=>this.sliderInsRef=t},s("div",{style:d,class:"weui-slider__track"}),s("div",{class:"weui-slider__handler",ref:t=>{t&&(this.handler=t)},style:f}),s("input",{type:"hidden",name:n,value:l}))),t&&s("div",{class:"weui-slider-box__value"},l))}get el(){return e(this)}static get watchers(){return{value:["function"]}}};export{a as taro_slider_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as o,H as e}from"./p-
|
|
1
|
+
import{r as t,c as i,h as o,H as e}from"./p-059912fd.js";import{c as s}from"./p-76724e58.js";import("./p-72f327e1.js");let h=class{constructor(o){t(this,o),this.onLoad=i(this,"load",7),this.onError=i(this,"error",7),this.mode="scaleToFill",this.lazyLoad=!1,this.nativeProps={},this.aspectFillMode="width"}componentDidLoad(){if(!this.lazyLoad)return;const t=new IntersectionObserver((i=>{i[i.length-1].isIntersecting&&(t.unobserve(this.imgRef),this.imgRef.src=this.src)}),{rootMargin:"300px 0px"});t.observe(this.imgRef)}imageOnLoad(){const{width:t,height:i,naturalWidth:o,naturalHeight:e}=this.imgRef;this.onLoad.emit({width:t,height:i}),this.aspectFillMode=o>e?"width":"height"}imageOnError(){this.onError.emit()}render(){const{src:t,mode:i="scaleToFill",lazyLoad:h=!1,aspectFillMode:r="width",imageOnLoad:a,imageOnError:m,nativeProps:d}=this,g=s({"taro-img__widthfix":"widthFix"===i}),l=s(`taro-img__mode-${i.toLowerCase().replace(/\s/g,"")}`,{[`taro-img__mode-aspectfill--${r}`]:"aspectFill"===i});return o(e,{class:g},o("img",Object.assign(h?{ref:t=>this.imgRef=t,class:l,onLoad:a.bind(this),onError:m.bind(this)}:{ref:t=>this.imgRef=t,class:l,src:t,onLoad:a.bind(this),onError:m.bind(this)},d)))}};h.style='img[src=""]{opacity:0}taro-image-core{display:inline-block;overflow:hidden;position:relative;width:auto;height:auto;font-size:0}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%}.taro-img__mode-aspectfill{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{position:absolute;bottom:0;width:100%}.taro-img__mode-left{height:100%}.taro-img__mode-right{position:absolute;right:0;height:100%}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;right:0;bottom:0}';export{h as taro_image_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(t){"use strict";var e,n,r;return{setters:[function(t){e=t.r;n=t.h;r=t.H}],execute:function(){var o=t("taro_match_media_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 MatchMedia 组件!")};t.prototype.render=function(){return n(r,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as s,H as t}from"./p-059912fd.js";let o=class{constructor(s){r(this,s)}render(){return s(t,null)}};export{o as taro_custom_wrapper_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as i}from"./p-
|
|
1
|
+
import{r as t,c as s,h as i}from"./p-059912fd.js";let o=class{constructor(i){t(this,i),this.onError=s(this,"error",7),this.onPlay=s(this,"play",7),this.onPause=s(this,"pause",7),this.onTimeUpdate=s(this,"timeupdate",7),this.onEnded=s(this,"ended",7),this.controls=!0,this.autoplay=!1,this.loop=!1,this.muted=!1,this.nativeProps={}}bindevent(){this.audio.addEventListener("timeupdate",(t=>{this.onTimeUpdate.emit({duration:t.srcElement.duration,currentTime:t.srcElement.duration})})),this.audio.addEventListener("ended",(()=>{this.onEnded.emit()})),this.audio.addEventListener("play",(()=>{this.onPlay.emit()})),this.audio.addEventListener("pause",(t=>{this.onPause.emit(t)})),this.audio.addEventListener("error",(t=>{var s;this.onError.emit({errMsg:null===(s=t.srcElement.error)||void 0===s?void 0:s.code})}))}componentDidLoad(){this.bindevent()}render(){const{src:t,controls:s,autoplay:o,loop:e,muted:h,nativeProps:r}=this;return i("audio",Object.assign({src:t,controls:s,autoplay:o,loop:e,muted:h,ref:t=>{this.audio=t}},r))}};o.style="audio{max-width:100%;outline:none}";export{o as taro_audio_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(r){"use strict";var s,t,e;return{setters:[function(r){s=r.r;t=r.h;e=r.H}],execute:function(){var o=r("taro_progress_core",function(){function r(r){s(this,r);this.percent=0;this.showInfo=false;this.borderRadius=0;this.fontSize=16;this.strokeWidth=6;this.activeColor="#09BB07";this.backgroundColor="#EBEBEB";this.active=false}r.prototype.render=function(){var r=this,s=r.percent,o=r.showInfo,i=r.borderRadius,n=r.fontSize,a=r.strokeWidth,c=r.activeColor,u=r.backgroundColor,h=r.active;var d=s>100?100:s<0?0:s;var l={height:a+"px",backgroundColor:u};var p=h?"width 1s ease-in-out":"none";var v={width:d+"%",transition:p,WebkitTransition:p,backgroundColor:c,borderRadius:i?i+"px":"0px"};return t(e,{class:"weui-progress"},t("div",{class:"weui-progress__bar",style:l},t("div",{class:"weui-progress__inner-bar",style:v})),o&&t("div",{class:"weui-progress__opr",style:{"font-size":n+"px"}},t("span",null,d,"%")))};return r}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as c,H as r}from"./p-
|
|
1
|
+
import{r as o,h as c,H as r}from"./p-059912fd.js";let t=class{constructor(c){o(this,c)}componentDidLoad(){console.error("H5 暂不支持 OfficialAccount 组件!")}render(){return c(r,null)}};export{t as taro_official_account_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as o,g as s}from"./p-
|
|
1
|
+
import{r as t,c as e,h as i,H as o,g as s}from"./p-059912fd.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='.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}';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}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as a,H as r}from"./p-059912fd.js";let t=class{constructor(a){o(this,a)}componentDidLoad(){console.error("H5 暂不支持 FunctionalPageNavigator 组件!")}render(){return a(r,null)}};export{t as taro_functional_page_navigator_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(t){"use strict";var n,r,e;return{setters:[function(t){n=t.r;r=t.h;e=t.H}],execute:function(){var o=t("taro_navigation_bar_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 NavigationBar 组件!")};t.prototype.render=function(){return r(e,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,g as e,H as o}from"./p-
|
|
1
|
+
import{r as t,c as s,h as i,g as e,H as o}from"./p-059912fd.js";import{d as n}from"./p-5746d7ce.js";let r=class{constructor(i){t(this,i),this.onChange=s(this,"onselect",7),this.onSelectStart=s(this,"onselectstart",7),this.onSelectEnd=s(this,"onselectend",7),this.initialPosition="0",this.paddingVertical=0,this.isInit=!1,this.isMove=!1,this.handleSelected=n((()=>{const t=this.el.childNodes;let s=0,i="0";for(const e in t){const o=t[e].offsetHeight;if(s+o/2>this.el.scrollTop){i=e;break}s+=o}this.el.scrollTo({top:s,behavior:"smooth"}),this.onChange.emit({curIndex:this.col,selectedIndex:i}),this.onSelectEnd.emit()}),500)}onScroll(t){this.isMove||(this.isMove=!0,this.onSelectStart.emit()),this.handleSelected()}onMouseEnd(){this.isMove&&(this.isMove=!1,this.handleSelected())}onTouchEnd(){this.isMove=!1,this.handleSelected()}componentDidUpdate(){if(!this.isInit){this.isInit=!0;const t=this.el.childNodes;let s=0,i=0;for(const e in t){const o=t[e];if(this.initialPosition===e||!o||"number"!=typeof o.offsetHeight)break;i+=o.offsetHeight,s++}this.el.scrollTo({top:i}),s>=t.length&&this.onChange.emit({curIndex:this.col,selectedIndex:s-1})}}render(){const{paddingVertical:t=0}=this;return i(o,{class:"taro-picker-view-column-container",style:{"padding-top":`${t}px`,"padding-bottom":`${t}px`}})}get el(){return e(this)}};r.style=".taro-picker-view-column-container{display:-ms-flexbox;display:flex;overflow:scroll;overflow-x:hidden;position:relative;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1;text-align:center}.taro-picker-view-column-container::-webkit-scrollbar{display:none}";export{r as taro_picker_view_column_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js","@tarojs/taro","./p-61f225ef.system.js"],(function(e){"use strict";var t,r,i,a,s,n;return{setters:[function(e){t=e.r;r=e.c;i=e.h;a=e.H},function(e){s=e.default},function(e){n=e.c}],execute:function(){var o=".navigator-hover{background:#efefef}";var c=e("taro_navigator_core",function(){function e(e){t(this,e);this.onSuccess=r(this,"cuccess",7);this.onFail=r(this,"fail",7);this.onComplete=r(this,"Complete",7);this.openType="navigate";this.isHover=false;this.delta=0}e.prototype.onClick=function(){var e=this,t=e.openType,r=e.onSuccess,i=e.onFail,a=e.onComplete;var n=Promise.resolve();switch(t){case"navigate":n=s.navigateTo({url:this.url});break;case"redirect":n=s.redirectTo({url:this.url});break;case"switchTab":n=s.switchTab({url:this.url});break;case"reLaunch":n=s.reLaunch({url:this.url});break;case"navigateBack":n=s.navigateBack({delta:this.delta});break;case"exit":n=Promise.reject(new Error('navigator:fail 暂不支持"openType: exit"'));break}if(n){n.then((function(e){r.emit(e)})).catch((function(e){i.emit(e)})).finally((function(){a.emit()}))}};e.prototype.render=function(){var e;var t=this,r=t.isHover,s=t.hoverClass;return i(a,{class:n((e={},e[s]=r,e))})};return e}());c.style=o}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,H as o,g as r}from"./p-
|
|
1
|
+
import{r as t,c as i,h as e,H as o,g as r}from"./p-059912fd.js";import{c as s}from"./p-76724e58.js";function a(t){if(t){const i=/([\w-]*)\s*:\s*([^;]*)/g,e={};let o;for(;o=i.exec(t);)e[`${o[1]}`]=o[2].trim();return e}}let n=class{constructor(e){t(this,e),this.onChange=i(this,"change",7),this.onPickStart=i(this,"pickstart",7),this.onPickEnd=i(this,"pickend",7)}onSelect(t){t.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===t.target.tagName&&(this.value[+t.detail.curIndex]=+t.detail.selectedIndex,this.onChange.emit({value:this.value}))}onSelectStart(t){t.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===t.target.tagName&&this.onPickStart.emit()}onPickerColEnd(t){t.stopPropagation(),"TARO-PICKER-VIEW-COLUMN-CORE"===t.target.tagName&&this.onPickEnd.emit()}componentDidLoad(){this.el.querySelectorAll("taro-picker-view-column-core").forEach(((t,i)=>{var e;t.setAttribute("col",`${i}`);let o="0";this.value&&this.value.length>i&&(o=`${this.value[i]}`);const r=(this.el.getBoundingClientRect().height-((null===(e=this.indicator)||void 0===e?void 0:e.offsetHeight)||0))/2;t.setAttribute("initial-position",`${o}`),t.setAttribute("padding-vertical",`${r}`)}))}componentDidRender(){this.el.childNodes.forEach((t=>{"TARO-PICKER-VIEW-COLUMN-CORE"!==t.tagName&&"taro-picker-view-mask-container"!==t.className&&this.el.removeChild(t)}))}render(){const t=s("taro-picker-view-mask-indicator",this.indicatorClass),i=s("taro-picker-view-mask-top",this.maskClass),r=s("taro-picker-view-mask-bottom",this.maskClass),n=a(this.indicatorStyle),l=a(this.maskStyle),c=a(this.maskStyle);return e(o,{class:"taro-picker-view-container"},e("slot",null),e("div",{class:"taro-picker-view-mask-container"},e("div",{class:i,style:l}),e("div",{class:t,style:n,ref:t=>this.indicator=t}),e("div",{class:r,style:c})))}get el(){return r(this)}};n.style=".taro-picker-view-container{display:-ms-flexbox;display:flex;position:relative}.taro-picker-view-mask-container{display:-ms-flexbox;display:flex;position:absolute;left:0;right:0;top:0;bottom:0;-ms-flex-direction:column;flex-direction:column;pointer-events:none}.taro-picker-view-mask-indicator{display:-ms-flexbox;display:flex;border-top:1px solid #ddd;border-bottom:1px solid #ddd;height:50px}.taro-picker-view-mask-top{-ms-flex:1;flex:1;background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.95)), to(rgba(255, 255, 255, 0.6)));background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6))}.taro-picker-view-mask-bottom{-ms-flex:1;flex:1;background:-webkit-gradient(linear, left bottom, left top, from(rgba(255, 255, 255, 0.95)), to(rgba(255, 255, 255, 0.6)));background:linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6))}";export{n as taro_picker_view_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as r,H as s}from"./p-
|
|
1
|
+
import{r as o,h as r,H as s}from"./p-059912fd.js";let t=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 AdCustom 组件!")}render(){return r(s,null)}};export{t as taro_ad_custom_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(t){"use strict";var r,e,n;return{setters:[function(t){r=t.r;e=t.h;n=t.H}],execute:function(){var u=t("taro_custom_wrapper_core",function(){function t(t){r(this,t)}t.prototype.render=function(){return e(n,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(t){"use strict";var r,e,n;return{setters:[function(t){r=t.r;e=t.h;n=t.H}],execute:function(){var o=t("taro_editor_core",function(){function t(t){r(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 Editor 组件!")};t.prototype.render=function(){return e(n,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js","./p-61f225ef.system.js"],(function(o){"use strict";var t,r,e,a,i,n;return{setters:[function(o){t=o.r;r=o.c;e=o.h;a=o.H;i=o.g},function(o){n=o.c}],execute:function(){var c='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)}';var b=o("taro_button_core",function(){function o(o){t(this,o);this.onSubmit=r(this,"tarobuttonsubmit",7);this.onReset=r(this,"tarobuttonreset",7);this.hoverClass="button-hover";this.type="";this.hoverStartTime=20;this.hoverStayTime=70;this.loading=false;this.formType=null;this.hover=false;this.touch=false}o.prototype.onTouchStart=function(){var o=this;if(this.disabled){return}this.touch=true;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(o.touch){o.hover=true}}),this.hoverStartTime)}};o.prototype.onTouchEnd=function(){var o=this;if(this.disabled){return}this.touch=false;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(!o.touch){o.hover=false}}),this.hoverStayTime)}if(this.formType==="submit"){this.onSubmit.emit()}else if(this.formType==="reset"){this.onReset.emit()}};o.prototype.render=function(){var o;var t=this,r=t.disabled,i=t.hoverClass,c=t.type,b=t.size,l=t.plain,d=t.loading,s=t.hover;var u=n((o={},o[""+i]=s&&!r,o));return e(a,{class:u,type:c,plain:l,loading:d,size:b,disabled:r},d&&e("i",{class:"weui-loading"}),e("slot",null))};Object.defineProperty(o.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return o}());b.style=c}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(t){"use strict";var e,n,r;return{setters:[function(t){e=t.r;n=t.h;r=t.H}],execute:function(){var o=t("taro_page_meta_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 PageMeta 组件!")};t.prototype.render=function(){return n(r,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,g as h}from"./p-
|
|
1
|
+
import{r as t,c as s,h as i,g as h}from"./p-059912fd.js";let e=class{constructor(i){t(this,i),this.onSubmit=s(this,"submit",7),this.value={}}watchSlotParent(t){if(this.orginalAppendChild||(this.orginalAppendChild=this.el.appendChild,this.orginalInsertBefore=this.el.insertBefore,this.orginalReplaceChild=this.el.replaceChild,this.orginalRemoveChild=this.el.removeChild),!t)return this.el.appendChild=this.orginalAppendChild,this.el.insertBefore=this.orginalInsertBefore,this.el.replaceChild=this.orginalReplaceChild,void(this.el.removeChild=this.orginalRemoveChild);this.el.appendChild=s=>t.appendChild(s),this.el.insertBefore=(s,i)=>t.insertBefore(s,i),this.el.replaceChild=(s,i)=>t.replaceChild(s,i),this.el.removeChild=s=>t.removeChild(s)}onButtonSubmit(t){t.stopPropagation(),this.value=this.getFormValue(),this.onSubmit.emit({value:this.value})}onButtonReset(t){t.stopPropagation(),this.form.reset()}componentDidLoad(){this.value=this.getFormValue(),Object.defineProperty(this.el,"value",{get:()=>this.value,configurable:!0})}componentDidRender(){this.setSlotParent(this.form)}getFormValue(){const t=this.el,s=[],i=t.getElementsByTagName("input");for(let t=0;t<i.length;t++)s.push(i[t]);const h={},e={};s.forEach((t=>{-1===t.className.indexOf("weui-switch")?"radio"!==t.type?"checkbox"!==t.type?h[t.name]=t.value:t.checked?e[t.name]?h[t.name].push(t.value):(e[t.name]=!0,h[t.name]=[t.value]):e[t.name]||(h[t.name]=[]):t.checked?(e[t.name]=!0,h[t.name]=t.value):e[t.name]||(h[t.name]=""):h[t.name]=t.checked}));const r=t.getElementsByTagName("textarea"),o=[];for(let t=0;t<r.length;t++)o.push(r[t]);return o.forEach((t=>{h[t.name]=t.value})),h}setSlotParent(t){this.slotParent=t}render(){return i("form",{ref:t=>{t&&(this.form=t)}},i("slot",null))}get el(){return h(this)}static get watchers(){return{slotParent:["watchSlotParent"]}}};export{e as taro_form_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js","./p-61f225ef.system.js"],(function(t){"use strict";var e,i,r,o,a,n;return{setters:[function(t){e=t.r;i=t.c;r=t.h;o=t.H;a=t.g},function(t){n=t.c}],execute:function(){function s(t){if(t){var e=/([\w-]*)\s*:\s*([^;]*)/g;var i={};var r=void 0;while(r=e.exec(t))i[""+r[1]]=r[2].trim();return i}}var c=".taro-picker-view-container{display:-ms-flexbox;display:flex;position:relative}.taro-picker-view-mask-container{display:-ms-flexbox;display:flex;position:absolute;left:0;right:0;top:0;bottom:0;-ms-flex-direction:column;flex-direction:column;pointer-events:none}.taro-picker-view-mask-indicator{display:-ms-flexbox;display:flex;border-top:1px solid #ddd;border-bottom:1px solid #ddd;height:50px}.taro-picker-view-mask-top{-ms-flex:1;flex:1;background-image:-webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.95)), to(rgba(255, 255, 255, 0.6)));background-image:linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6))}.taro-picker-view-mask-bottom{-ms-flex:1;flex:1;background:-webkit-gradient(linear, left bottom, left top, from(rgba(255, 255, 255, 0.95)), to(rgba(255, 255, 255, 0.6)));background:linear-gradient(to top, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.6))}";var l=t("taro_picker_view_core",function(){function t(t){e(this,t);this.onChange=i(this,"change",7);this.onPickStart=i(this,"pickstart",7);this.onPickEnd=i(this,"pickend",7)}t.prototype.onSelect=function(t){t.stopPropagation();if(t.target.tagName!=="TARO-PICKER-VIEW-COLUMN-CORE")return;var e=+t.detail.curIndex;var i=+t.detail.selectedIndex;this.value[e]=i;this.onChange.emit({value:this.value})};t.prototype.onSelectStart=function(t){t.stopPropagation();if(t.target.tagName!=="TARO-PICKER-VIEW-COLUMN-CORE")return;this.onPickStart.emit()};t.prototype.onPickerColEnd=function(t){t.stopPropagation();if(t.target.tagName!=="TARO-PICKER-VIEW-COLUMN-CORE")return;this.onPickEnd.emit()};t.prototype.componentDidLoad=function(){var t=this;var e=this.el.querySelectorAll("taro-picker-view-column-core");e.forEach((function(e,i){var r;e.setAttribute("col",""+i);var o="0";if(!!t.value&&t.value.length>i){o=""+t.value[i]}var a=t.el.getBoundingClientRect().height;var n=((r=t.indicator)===null||r===void 0?void 0:r.offsetHeight)||0;var s=(a-n)/2;e.setAttribute("initial-position",""+o);e.setAttribute("padding-vertical",""+s)}))};t.prototype.componentDidRender=function(){var t=this;this.el.childNodes.forEach((function(e){var i=e;if("TARO-PICKER-VIEW-COLUMN-CORE"!==i.tagName&&i.className!=="taro-picker-view-mask-container"){t.el.removeChild(e)}}))};t.prototype.render=function(){var t=this;var e=n("taro-picker-view-mask-indicator",this.indicatorClass);var i=n("taro-picker-view-mask-top",this.maskClass);var a=n("taro-picker-view-mask-bottom",this.maskClass);var c=s(this.indicatorStyle);var l=s(this.maskStyle);var p=s(this.maskStyle);return r(o,{class:"taro-picker-view-container"},r("slot",null),r("div",{class:"taro-picker-view-mask-container"},r("div",{class:i,style:l}),r("div",{class:e,style:c,ref:function(e){return t.indicator=e}}),r("div",{class:a,style:p})))};Object.defineProperty(t.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});return t}());l.style=c}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as s,H as r}from"./p-059912fd.js";import{c as t}from"./p-76724e58.js";let e=class{constructor(s){o(this,s),this.size="23"}render(){const{type:o,size:e,color:c}=this,i=null==o?void 0:o.replace(/_/g,"-"),l=t({[`weui-icon-${i}`]:!0});return s(r,{class:l,style:{"font-size":`${e}px`,color:c}})}};export{e as taro_icon_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(r){"use strict";var e,t,o;return{setters:[function(r){e=r.r;t=r.h;o=r.H}],execute:function(){var n=r("taro_keyboard_accessory_core",function(){function r(r){e(this,r)}r.prototype.componentDidLoad=function(){console.error("H5 暂不支持 KeyboardAccessory 组件!")};r.prototype.render=function(){return t(o,null)};return r}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as r,H as o}from"./p-
|
|
1
|
+
import{r as s,h as r,H as o}from"./p-059912fd.js";let t=class{constructor(r){s(this,r),this.percent=0,this.showInfo=!1,this.borderRadius=0,this.fontSize=16,this.strokeWidth=6,this.activeColor="#09BB07",this.backgroundColor="#EBEBEB",this.active=!1}render(){const{percent:s,showInfo:t,borderRadius:i,fontSize:e,strokeWidth:a,activeColor:n,backgroundColor:h,active:c}=this,d=s>100?100:s<0?0:s,l=c?"width 1s ease-in-out":"none";return r(o,{class:"weui-progress"},r("div",{class:"weui-progress__bar",style:{height:a+"px",backgroundColor:h}},r("div",{class:"weui-progress__inner-bar",style:{width:`${d}%`,transition:l,WebkitTransition:l,backgroundColor:n,borderRadius:i?`${i}px`:"0px"}})),t&&r("div",{class:"weui-progress__opr",style:{"font-size":`${e}px`}},r("span",null,d,"%")))}};export{t as taro_progress_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js","./p-61f225ef.system.js"],(function(t){"use strict";var e,r,n,s;return{setters:[function(t){e=t.r;r=t.h;n=t.H},function(t){s=t.c}],execute:function(){var i=t("taro_icon_core",function(){function t(t){e(this,t);this.size="23"}t.prototype.render=function(){var t;var e=this,i=e.type,o=e.size,c=e.color;var u=i===null||i===void 0?void 0:i.replace(/_/g,"-");var a=s((t={},t["weui-icon-"+u]=true,t));var f={"font-size":o+"px",color:c};return r(n,{class:a,style:f})};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as t}from"./p-059912fd.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 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(e){"use strict";var t,i,n,o;return{setters:[function(e){t=e.r;i=e.c;n=e.h;o=e.g}],execute:function(){var r="taro-switch-core{display:inline-block;width:52px;height:32px}taro-switch-core .weui-switch{display:block;width:100%;height:100%}";var s=e("taro_switch_core",function(){function e(e){var n=this;t(this,e);this.onChange=i(this,"change",7);this.type="switch";this.checked=false;this.color="#04BE02";this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false;this.switchChange=function(e){e.stopPropagation();var t=e.target.checked;n.isChecked=t;n.onChange.emit({value:t})}}e.prototype.function=function(e,t){if(!this.isWillLoadCalled)return;if(e!==t)this.isChecked=e};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;this.isChecked=this.checked};e.prototype.componentDidLoad=function(){var e=this;Object.defineProperty(this.el,"value",{get:function(){return e.isChecked},configurable:true})};e.prototype.render=function(){var e=this,t=e.type,i=e.color,o=e.isChecked,r=e.name,s=e.disabled,c=e.nativeProps;var a=o?{borderColor:i||"04BE02",backgroundColor:i||"04BE02"}:{};return n("input",Object.assign({type:"checkbox",class:"weui-"+t,style:a,checked:o,name:r,disabled:s,onChange:this.switchChange},c))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["function"]}},enumerable:false,configurable:true});return e}());s.style=r}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(t){"use strict";var n,r,e;return{setters:[function(t){n=t.r;r=t.h;e=t.H}],execute:function(){var o=t("taro_ad_custom_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){console.error("H5 暂不支持 AdCustom 组件!")};t.prototype.render=function(){return r(e,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-44cbb351.system.js"],(function(t){"use strict";var e,i,n,a,r;return{setters:[function(t){e=t.r;i=t.c;n=t.h;a=t.H;r=t.g}],execute:function(){var o=t("taro_slider_core",function(){function t(t){var n=this;e(this,t);this.onChange=i(this,"change",7);this.onChanging=i(this,"changing",7);this.min=0;this.max=100;this.step=1;this.disabled=false;this.value=0;this.activeColor="#1aad19";this.backgroundColor="#e9e9e9";this.blockSize=28;this.blockColor="#ffffff";this.showValue=false;this.name="";this.totalWidth=0;this.touching=false;this.ogX=0;this.touchId=null;this.percent=0;this.isWillLoadCalled=false;this.handleTouchStart=function(t){if(n.touching||n.disabled)return;n.touching=true;n.touchId=t.targetTouches[0].identifier;n.totalWidth=n.sliderInsRef.clientWidth;n.ogX=t.targetTouches[0].pageX;n.ogPercent=n.percent};this.handleTouchMove=function(t){var e=n,i=e.disabled,a=e.touching,r=e.touchId,o=e.totalWidth,l=e.max,s=e.min,h=e.ogX,u=e.ogPercent;if(!a||i)return;if(t.targetTouches[0].identifier!==r)return;t.preventDefault();var c=t.targetTouches[0].pageX;var d=c-h;var f=d/o*100+u;f=Math.max(0,Math.min(f,100));var v=s+f*.01*(l-s);n.updateByStep(v);n.onChanging.emit({detail:t.detail,value:n.val})};this.handleTouchEnd=function(t){var e=n,i=e.disabled,a=e.touching;if(!a||i)return;if(n.percent!==n.ogPercent){n.onChange.emit({detail:t.detail,value:n.val})}n.touching=false;n.touchId=null;n.ogX=0;n.ogPercent=0}}t.prototype.function=function(t){if(!this.isWillLoadCalled)return;var e=this,i=e.max,n=e.min;if(t!==null&&t!==this.val){var a=Math.max(n,Math.min(t,i));this.updateByStep(a)}};t.prototype.componentDidLoad=function(){var t=this;Object.defineProperty(this.el,"value",{get:function(){return t.val},set:function(e){return t.value=e},configurable:true});this.handler.addEventListener("touchstart",this.handleTouchStart);this.handler.addEventListener("touchmove",this.handleTouchMove);this.handler.addEventListener("touchend",this.handleTouchEnd)};t.prototype.componentDidUpdate=function(){this.value=null};t.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;var t=this,e=t.value,i=t.max,n=t.min;if(e===null)return;var a=Math.max(n,Math.min(e,i));this.updateByStep(a)};t.prototype.updateByStep=function(t){var e=this,i=e.max,n=e.min,a=e.step;var r=Math.floor((i-n)/a);for(var o=0;o<=r;o++){var l=n+a*o;var s=o===r?null:n+a*(o+1);if(t===l)break;if(!s&&t>l){t=l}if(s&&t>l&&t<s){if(t-l<a/2){t=l}else{t=s}break}}var h=(t-n)/(i-n)*100;this.val=t;this.percent=h};t.prototype.render=function(){var t=this;var e=this,i=e.showValue,r=e.backgroundColor,o=e.activeColor,l=e.blockColor,s=e.name,h=e.percent,u=e.val;var c=this.blockSize;var d={backgroundColor:r};var f=h>100?100:h;var v={width:f+"%",backgroundColor:o};if(c<12){c=12}if(c>28){c=28}var p={left:f+"%",width:c+"px",height:c+"px",backgroundColor:l,marginTop:"-"+Math.floor(c/2)+"px",marginLeft:"-"+Math.floor(c/2)+"px"};return n(a,{class:"weui-slider-box"},n("div",{class:"weui-slider"},n("div",{class:"weui-slider__inner",style:d,ref:function(e){return t.sliderInsRef=e}},n("div",{style:v,class:"weui-slider__track"}),n("div",{class:"weui-slider__handler",ref:function(e){if(e)t.handler=e},style:p}),n("input",{type:"hidden",name:s,value:u}))),i&&n("div",{class:"weui-slider-box__value"},u))};Object.defineProperty(t.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{value:["function"]}},enumerable:false,configurable:true});return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as e,H as o}from"./p-059912fd.js";let s=class{constructor(e){r(this,e)}componentDidLoad(){console.error("H5 暂不支持 LivePlayer 组件!")}render(){return e(o,null)}};export{s as taro_live_player_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r,H as t}from"./p-059912fd.js";let a=class{constructor(r){o(this,r)}componentDidLoad(){console.error("H5 暂不支持 OpenData 组件!")}render(){return r(t,null)}};export{a as taro_open_data_core}
|