@tarojs/components 4.1.9-beta.4 → 4.1.9-beta.6
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/{ad-6e5e6c21.js → ad-909844fb.js} +1 -1
- package/dist/cjs/{ad-custom-03478475.js → ad-custom-71f006aa.js} +1 -1
- package/dist/cjs/{animation-video-7fc33f99.js → animation-video-87e4a29d.js} +1 -1
- package/dist/cjs/{animation-view-80fa5d0f.js → animation-view-31ea61a7.js} +1 -1
- package/dist/cjs/{ar-camera-a5b4fc84.js → ar-camera-b90191d5.js} +1 -1
- package/dist/cjs/{audio-df2bacdd.js → audio-ac366435.js} +1 -1
- package/dist/cjs/{aweme-data-c526f1a1.js → aweme-data-b6ab115e.js} +1 -1
- package/dist/cjs/{block-019beb65.js → block-ac3c2a0d.js} +1 -1
- package/dist/cjs/{button-8f729d81.js → button-3199792d.js} +1 -1
- package/dist/cjs/{camera-d82d6f4d.js → camera-b63879f2.js} +1 -1
- package/dist/cjs/{canvas-5ed991dd.js → canvas-77c69c3e.js} +1 -1
- package/dist/cjs/{channel-live-691e20a5.js → channel-live-bf6d9754.js} +1 -1
- package/dist/cjs/{channel-video-126a3305.js → channel-video-78482de0.js} +1 -1
- package/dist/cjs/{checkbox-ffc9c1a2.js → checkbox-3521a8df.js} +1 -1
- package/dist/cjs/{comment-detail-87637299.js → comment-detail-33e7ae45.js} +1 -1
- package/dist/cjs/{comment-list-a18163da.js → comment-list-684be2f0.js} +1 -1
- package/dist/cjs/{contact-button-75ae4609.js → contact-button-658f1fb9.js} +1 -1
- package/dist/cjs/{cover-image-1bf95a9b.js → cover-image-72269c60.js} +1 -1
- package/dist/cjs/{cover-view-a0e4395c.js → cover-view-6b272b51.js} +1 -1
- package/dist/cjs/{custom-wrapper-64a8245e.js → custom-wrapper-fbd23853.js} +1 -1
- package/dist/cjs/{draggable-sheet-749618d6.js → draggable-sheet-f4116177.js} +1 -1
- package/dist/cjs/{editor-81a773f9.js → editor-9f490079.js} +1 -1
- package/dist/cjs/{follow-swan-794e3367.js → follow-swan-8653b271.js} +1 -1
- package/dist/cjs/{form-f24b8935.js → form-e1bf4230.js} +1 -1
- package/dist/cjs/{functional-page-navigator-db0aeeb5.js → functional-page-navigator-77a37a62.js} +1 -1
- package/dist/cjs/{grid-builder-0757691d.js → grid-builder-9d42a8b7.js} +1 -1
- package/dist/cjs/{grid-view-b77da424.js → grid-view-f9195d52.js} +1 -1
- package/dist/cjs/{icon-93e7c472.js → icon-45fd466b.js} +1 -1
- package/dist/cjs/{image-4303ed3a.js → image-b96cc2ca.js} +1 -1
- package/dist/cjs/index.cjs.js +92 -92
- package/dist/cjs/{inline-payment-panel-0068d0e4.js → inline-payment-panel-2c3a8740.js} +1 -1
- package/dist/cjs/{input-f39a63db.js → input-7fd687a1.js} +1 -1
- package/dist/cjs/{keyboard-accessory-d7d227b7.js → keyboard-accessory-1531d755.js} +1 -1
- package/dist/cjs/{label-e54a79ee.js → label-2ad4be32.js} +1 -1
- package/dist/cjs/{lifestyle-189b4b3a.js → lifestyle-0430d0c3.js} +1 -1
- package/dist/cjs/{like-b6a72cb7.js → like-954977d0.js} +1 -1
- package/dist/cjs/{list-builder-d7a3f023.js → list-builder-cb572bc2.js} +1 -1
- package/dist/cjs/{list-view-7cf454c7.js → list-view-8b7d465e.js} +1 -1
- package/dist/cjs/{live-player-2115d649.js → live-player-cca484f4.js} +1 -1
- package/dist/cjs/{live-pusher-6a8da38c.js → live-pusher-a9df7da1.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{login-cd972083.js → login-89961df4.js} +1 -1
- package/dist/cjs/{lottie-802328ca.js → lottie-3f432e9a.js} +1 -1
- package/dist/cjs/{map-841765a9.js → map-c6f03579.js} +1 -1
- package/dist/cjs/{match-media-6e2efc2f.js → match-media-53f34cf8.js} +1 -1
- package/dist/cjs/{movable-view-9fa169e1.js → movable-view-4aa48db8.js} +1 -1
- package/dist/cjs/{native-slot-142506c1.js → native-slot-3ad5a4b9.js} +1 -1
- package/dist/cjs/{navigation-bar-b4ff564a.js → navigation-bar-063189bb.js} +1 -1
- package/dist/cjs/{navigator-43495d4f.js → navigator-4ccebef7.js} +1 -1
- package/dist/cjs/{nested-scroll-body-9caab58f.js → nested-scroll-body-0e9b295e.js} +1 -1
- package/dist/cjs/{nested-scroll-header-c5b64f3d.js → nested-scroll-header-f265633e.js} +1 -1
- package/dist/cjs/{official-account-f53ef4c9.js → official-account-19df606b.js} +1 -1
- package/dist/cjs/{open-container-dcb0756e.js → open-container-012dd1ed.js} +1 -1
- package/dist/cjs/{open-data-295d2a0f.js → open-data-18667d8a.js} +1 -1
- package/dist/cjs/{page-container-c02ef21e.js → page-container-51628da9.js} +1 -1
- package/dist/cjs/{page-meta-80a7a861.js → page-meta-ae13a642.js} +1 -1
- package/dist/cjs/{picker-0b3ae89d.js → picker-3532538d.js} +1 -1
- package/dist/cjs/{picker-view-ee39f2b6.js → picker-view-94a2431b.js} +1 -1
- package/dist/cjs/{progress-0434432f.js → progress-7b65c9b4.js} +1 -1
- package/dist/cjs/{pull-to-refresh-a7a9d80c.js → pull-to-refresh-1e5d8d41.js} +1 -1
- package/dist/cjs/{radio-fa441dee.js → radio-a2e724bf.js} +1 -1
- package/dist/cjs/{rich-text-f88b18dd.js → rich-text-5c7c4a6e.js} +1 -1
- package/dist/cjs/{root-portal-849d424f.js → root-portal-c867e7ee.js} +1 -1
- package/dist/cjs/{rtc-room-e32e8e93.js → rtc-room-8b63e998.js} +1 -1
- package/dist/cjs/{rtc-room-item-f2696f3e.js → rtc-room-item-ee14c692.js} +1 -1
- package/dist/cjs/{script-aa62f496.js → script-221a7aaa.js} +1 -1
- package/dist/cjs/{script-66238de4.js → script-29dede35.js} +1 -1
- package/dist/cjs/{script-33ab1b9b.js → script-52e94bcd.js} +1 -1
- package/dist/cjs/{script-9767d763.js → script-5a1940c1.js} +1 -1
- package/dist/cjs/{script-d39c17ed.js → script-6d3e3c78.js} +1 -1
- package/dist/cjs/{script-1d8392d2.js → script-83f5c866.js} +1 -1
- package/dist/cjs/{script-2eb2d361.js → script-a58fb9e5.js} +1 -1
- package/dist/cjs/{script-d7887902.js → script-b479486e.js} +1 -1
- package/dist/cjs/{script-7d8a337e.js → script-d651b57d.js} +1 -1
- package/dist/cjs/{scroll-view-65cb8d5f.js → scroll-view-b8c67e53.js} +1 -1
- package/dist/cjs/{share-element-68928fbf.js → share-element-bfd610be.js} +1 -1
- package/dist/cjs/{slider-4093049a.js → slider-d4704c13.js} +1 -1
- package/dist/cjs/{slot-bb81659e.js → slot-61d0e0f5.js} +1 -1
- package/dist/cjs/{snapshot-c2520c58.js → snapshot-8fe00850.js} +1 -1
- package/dist/cjs/{span-fb1efcaf.js → span-74f32725.js} +1 -1
- package/dist/cjs/{sticky-header-dcde70ca.js → sticky-header-eb66bbd9.js} +1 -1
- package/dist/cjs/{sticky-section-170bc892.js → sticky-section-e05ae4ea.js} +1 -1
- package/dist/cjs/{swiper-3ab835bb.js → swiper-08fa600a.js} +1 -1
- package/dist/cjs/{switch-586022a8.js → switch-06aeaff6.js} +1 -1
- package/dist/cjs/{tab-item-cfa3339e.js → tab-item-35eb2f51.js} +1 -1
- package/dist/cjs/{tabbar-41113df5.js → tabbar-89b7eb5f.js} +1 -1
- package/dist/cjs/{tabs-be7f918d.js → tabs-b3830bd9.js} +1 -1
- package/dist/cjs/taro-ad-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-block-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-camera-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-channel-live-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-channel-video-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-components.cjs.js +1 -1
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-double-tap-gesture-handler-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-draggable-sheet-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-editor-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-force-press-gesture-handler-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-form-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-grid-builder-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-horizontal-drag-gesture-handler-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-image-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-label-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-like-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-list-builder-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-list-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-live-player-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-login-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-long-press-gesture-handler-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-lottie-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-map-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-match-media-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-nested-scroll-body-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-official-account-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-open-container-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-page-container-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-pan-gesture-handler-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-progress-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-root-portal-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-scale-gesture-handler-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-script-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-share-element-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-slider-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-slot-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-snapshot-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-span-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-switch-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-tabbar.cjs.entry.js +2 -2
- package/dist/cjs/taro-tabs-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-tap-gesture-handler-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-textarea-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-vertical-drag-gesture-handler-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-video-control_3.cjs.entry.js +2 -2
- package/dist/cjs/taro-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
- package/dist/cjs/{text-642f2f48.js → text-27f4e61b.js} +1 -1
- package/dist/cjs/{textarea-3f14df1c.js → textarea-03ef0404.js} +1 -1
- package/dist/cjs/{video-cd8fa901.js → video-45045360.js} +1 -1
- package/dist/cjs/{view-609adfc6.js → view-bb3b5c8a.js} +1 -1
- package/dist/cjs/{voip-room-7f55d8a0.js → voip-room-cb8c8cc2.js} +1 -1
- package/dist/cjs/{web-view-be5a2d1d.js → web-view-ed08cbfe.js} +1 -1
- package/dist/esm/{ad-cfb00041.js → ad-48f28b9e.js} +1 -1
- package/dist/esm/{ad-custom-4a0d4eb2.js → ad-custom-defecd97.js} +1 -1
- package/dist/esm/{animation-video-5215c138.js → animation-video-b51f4a7c.js} +1 -1
- package/dist/esm/{animation-view-a07c6ea9.js → animation-view-e2fcd88e.js} +1 -1
- package/dist/esm/{ar-camera-d578c533.js → ar-camera-acf3d68e.js} +1 -1
- package/dist/esm/{audio-fd0e719f.js → audio-c291898a.js} +1 -1
- package/dist/esm/{aweme-data-2e12d8c9.js → aweme-data-7e5c0c6d.js} +1 -1
- package/dist/esm/{block-796aa7d8.js → block-1f41d680.js} +1 -1
- package/dist/esm/{button-cd801674.js → button-c0ac8383.js} +1 -1
- package/dist/esm/{camera-1791b404.js → camera-3443a46b.js} +1 -1
- package/dist/esm/{canvas-5531b496.js → canvas-0385a648.js} +1 -1
- package/dist/esm/{channel-live-b63e080a.js → channel-live-d88ef38c.js} +1 -1
- package/dist/esm/{channel-video-d4ee7254.js → channel-video-dc757082.js} +1 -1
- package/dist/esm/{checkbox-da6b07ea.js → checkbox-199f413e.js} +1 -1
- package/dist/esm/{comment-detail-02a3e8ee.js → comment-detail-838cc0f3.js} +1 -1
- package/dist/esm/{comment-list-a62325be.js → comment-list-24df950e.js} +1 -1
- package/dist/esm/{contact-button-68e95a69.js → contact-button-927eba4a.js} +1 -1
- package/dist/esm/{cover-image-0783b2c1.js → cover-image-7b3fd678.js} +1 -1
- package/dist/esm/{cover-view-8330b60d.js → cover-view-d66d45c3.js} +1 -1
- package/dist/esm/{custom-wrapper-0bb13a12.js → custom-wrapper-312b694e.js} +1 -1
- package/dist/esm/{draggable-sheet-67355f70.js → draggable-sheet-8cf6063a.js} +1 -1
- package/dist/esm/{editor-743e35d0.js → editor-01342212.js} +1 -1
- package/dist/esm/{follow-swan-dbdf5cc8.js → follow-swan-09af62e1.js} +1 -1
- package/dist/esm/{form-576398ba.js → form-6af3004e.js} +1 -1
- package/dist/esm/{functional-page-navigator-63f675f4.js → functional-page-navigator-4ffe94e3.js} +1 -1
- package/dist/esm/{grid-builder-cf0aa856.js → grid-builder-9a73f7ea.js} +1 -1
- package/dist/esm/{grid-view-353586e4.js → grid-view-a2f46f14.js} +1 -1
- package/dist/esm/{icon-88383f2c.js → icon-9fd94b70.js} +1 -1
- package/dist/esm/{image-b0b222bc.js → image-7596227a.js} +1 -1
- package/dist/esm/index.js +92 -92
- package/dist/esm/{inline-payment-panel-73925dd2.js → inline-payment-panel-698f76af.js} +1 -1
- package/dist/esm/{input-4104e3ea.js → input-97ab0ed7.js} +1 -1
- package/dist/esm/{keyboard-accessory-fd485a31.js → keyboard-accessory-048b761c.js} +1 -1
- package/dist/esm/{label-94ef4b17.js → label-1e7a45a4.js} +1 -1
- package/dist/esm/{lifestyle-4db11299.js → lifestyle-a014bb16.js} +1 -1
- package/dist/esm/{like-d61fe792.js → like-66052a69.js} +1 -1
- package/dist/esm/{list-builder-e0d9e871.js → list-builder-99526426.js} +1 -1
- package/dist/esm/{list-view-84529418.js → list-view-e5769b40.js} +1 -1
- package/dist/esm/{live-player-e4dbe4cf.js → live-player-4d30100c.js} +1 -1
- package/dist/esm/{live-pusher-15c48b78.js → live-pusher-ddc67ba4.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{login-d932daf9.js → login-d0d30da5.js} +1 -1
- package/dist/esm/{lottie-2ada69b7.js → lottie-951b23d1.js} +1 -1
- package/dist/esm/{map-c6cd24f4.js → map-ff6d8c62.js} +1 -1
- package/dist/esm/{match-media-2cdc536a.js → match-media-fe5e6f4a.js} +1 -1
- package/dist/esm/{movable-view-c1358d1e.js → movable-view-9d51f85f.js} +1 -1
- package/dist/esm/{native-slot-98020f54.js → native-slot-9e3cfbbf.js} +1 -1
- package/dist/esm/{navigation-bar-eda66236.js → navigation-bar-e787389c.js} +1 -1
- package/dist/esm/{navigator-65877bda.js → navigator-cf46fff9.js} +1 -1
- package/dist/esm/{nested-scroll-body-b1053924.js → nested-scroll-body-6b2153d8.js} +1 -1
- package/dist/esm/{nested-scroll-header-10ba047c.js → nested-scroll-header-3a83bdc1.js} +1 -1
- package/dist/esm/{official-account-75c8fa4e.js → official-account-a86564d1.js} +1 -1
- package/dist/esm/{open-container-d288ae08.js → open-container-0fc7a7a6.js} +1 -1
- package/dist/esm/{open-data-9e1673e1.js → open-data-4561c399.js} +1 -1
- package/dist/esm/{page-container-b5b82c32.js → page-container-7147a62e.js} +1 -1
- package/dist/esm/{page-meta-518b39b7.js → page-meta-e3d5fdbf.js} +1 -1
- package/dist/esm/{picker-6a565e02.js → picker-c2e3a123.js} +1 -1
- package/dist/esm/{picker-view-52390656.js → picker-view-a46361b4.js} +1 -1
- package/dist/esm/{progress-f99ddb18.js → progress-46b49ff7.js} +1 -1
- package/dist/esm/{pull-to-refresh-e8972159.js → pull-to-refresh-ee5084d0.js} +1 -1
- package/dist/esm/{radio-9b356d76.js → radio-8486df23.js} +1 -1
- package/dist/esm/{rich-text-287554f4.js → rich-text-0224049b.js} +1 -1
- package/dist/esm/{root-portal-db801799.js → root-portal-fd35ce37.js} +1 -1
- package/dist/esm/{rtc-room-bcf23c91.js → rtc-room-3bd1dffb.js} +1 -1
- package/dist/esm/{rtc-room-item-052b16d2.js → rtc-room-item-5042ec1b.js} +1 -1
- package/dist/esm/{script-1c3855bc.js → script-2be02ee0.js} +1 -1
- package/dist/esm/{script-661db6af.js → script-420bc1c0.js} +1 -1
- package/dist/esm/{script-4b869172.js → script-44d0e8ea.js} +1 -1
- package/dist/esm/{script-4d587470.js → script-5b9a743f.js} +1 -1
- package/dist/esm/{script-8f332177.js → script-7e52c04d.js} +1 -1
- package/dist/esm/{script-5c55afcb.js → script-898fc014.js} +1 -1
- package/dist/esm/{script-1b22398f.js → script-a3d0db4c.js} +1 -1
- package/dist/esm/{script-11e3884a.js → script-b8bc48c0.js} +1 -1
- package/dist/esm/{script-76fc8cf5.js → script-f3fdb483.js} +1 -1
- package/dist/esm/{scroll-view-43e9acfc.js → scroll-view-24fa3fa5.js} +1 -1
- package/dist/esm/{share-element-4f90ad5b.js → share-element-73111c0c.js} +1 -1
- package/dist/esm/{slider-47bbf797.js → slider-4523e98d.js} +1 -1
- package/dist/esm/{slot-71ad33eb.js → slot-3962813c.js} +1 -1
- package/dist/esm/{snapshot-42feea7d.js → snapshot-29d94a83.js} +1 -1
- package/dist/esm/{span-d4b171da.js → span-fb7b4c65.js} +1 -1
- package/dist/esm/{sticky-header-a99729bc.js → sticky-header-ed53a95a.js} +1 -1
- package/dist/esm/{sticky-section-f8d75284.js → sticky-section-52a65fdb.js} +1 -1
- package/dist/esm/{swiper-20b19ce0.js → swiper-1852b6b6.js} +1 -1
- package/dist/esm/{switch-a538d85e.js → switch-5b867e95.js} +1 -1
- package/dist/esm/{tab-item-f58dd1b0.js → tab-item-2dced96a.js} +1 -1
- package/dist/esm/{tabbar-e6342392.js → tabbar-ed20df0d.js} +1 -1
- package/dist/esm/{tabs-da838bbd.js → tabs-2e79dc40.js} +1 -1
- package/dist/esm/taro-ad-core.entry.js +2 -2
- package/dist/esm/taro-ad-custom-core.entry.js +2 -2
- package/dist/esm/taro-animation-video-core.entry.js +2 -2
- package/dist/esm/taro-animation-view-core.entry.js +2 -2
- package/dist/esm/taro-ar-camera-core.entry.js +2 -2
- package/dist/esm/taro-audio-core.entry.js +2 -2
- package/dist/esm/taro-aweme-data-core.entry.js +2 -2
- package/dist/esm/taro-block-core.entry.js +2 -2
- package/dist/esm/taro-button-core.entry.js +2 -2
- package/dist/esm/taro-camera-core.entry.js +2 -2
- package/dist/esm/taro-canvas-core.entry.js +2 -2
- package/dist/esm/taro-channel-live-core.entry.js +2 -2
- package/dist/esm/taro-channel-video-core.entry.js +2 -2
- package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
- package/dist/esm/taro-comment-detail-core.entry.js +2 -2
- package/dist/esm/taro-comment-list-core.entry.js +2 -2
- package/dist/esm/taro-components.js +2 -2
- package/dist/esm/taro-contact-button-core.entry.js +2 -2
- package/dist/esm/taro-cover-image-core.entry.js +2 -2
- package/dist/esm/taro-cover-view-core.entry.js +2 -2
- package/dist/esm/taro-custom-wrapper-core.entry.js +2 -2
- package/dist/esm/taro-double-tap-gesture-handler-core.entry.js +2 -2
- package/dist/esm/taro-draggable-sheet-core.entry.js +2 -2
- package/dist/esm/taro-editor-core.entry.js +2 -2
- package/dist/esm/taro-follow-swan-core.entry.js +2 -2
- package/dist/esm/taro-force-press-gesture-handler-core.entry.js +2 -2
- package/dist/esm/taro-form-core.entry.js +2 -2
- package/dist/esm/taro-functional-page-navigator-core.entry.js +2 -2
- package/dist/esm/taro-grid-builder-core.entry.js +2 -2
- package/dist/esm/taro-grid-view-core.entry.js +2 -2
- package/dist/esm/taro-horizontal-drag-gesture-handler-core.entry.js +2 -2
- package/dist/esm/taro-icon-core.entry.js +2 -2
- package/dist/esm/taro-image-core.entry.js +2 -2
- package/dist/esm/taro-inline-payment-panel-core.entry.js +2 -2
- package/dist/esm/taro-input-core.entry.js +2 -2
- package/dist/esm/taro-keyboard-accessory-core.entry.js +2 -2
- package/dist/esm/taro-label-core.entry.js +2 -2
- package/dist/esm/taro-lifestyle-core.entry.js +2 -2
- package/dist/esm/taro-like-core.entry.js +2 -2
- package/dist/esm/taro-list-builder-core.entry.js +2 -2
- package/dist/esm/taro-list-view-core.entry.js +2 -2
- package/dist/esm/taro-live-player-core.entry.js +2 -2
- package/dist/esm/taro-live-pusher-core.entry.js +2 -2
- package/dist/esm/taro-login-core.entry.js +2 -2
- package/dist/esm/taro-long-press-gesture-handler-core.entry.js +2 -2
- package/dist/esm/taro-lottie-core.entry.js +2 -2
- package/dist/esm/taro-map-core.entry.js +2 -2
- package/dist/esm/taro-match-media-core.entry.js +2 -2
- package/dist/esm/taro-movable-area-core_2.entry.js +2 -2
- package/dist/esm/taro-native-slot-core.entry.js +2 -2
- package/dist/esm/taro-navigation-bar-core.entry.js +2 -2
- package/dist/esm/taro-navigator-core.entry.js +2 -2
- package/dist/esm/taro-nested-scroll-body-core.entry.js +2 -2
- package/dist/esm/taro-nested-scroll-header-core.entry.js +2 -2
- package/dist/esm/taro-official-account-core.entry.js +2 -2
- package/dist/esm/taro-open-container-core.entry.js +2 -2
- package/dist/esm/taro-open-data-core.entry.js +2 -2
- package/dist/esm/taro-page-container-core.entry.js +2 -2
- package/dist/esm/taro-page-meta-core.entry.js +2 -2
- package/dist/esm/taro-pan-gesture-handler-core.entry.js +2 -2
- package/dist/esm/taro-picker-core_2.entry.js +2 -2
- package/dist/esm/taro-picker-view-column-core_2.entry.js +2 -2
- package/dist/esm/taro-progress-core.entry.js +2 -2
- package/dist/esm/taro-pull-to-refresh-core.entry.js +2 -2
- package/dist/esm/taro-radio-core_2.entry.js +2 -2
- package/dist/esm/taro-rich-text-core.entry.js +2 -2
- package/dist/esm/taro-root-portal-core.entry.js +2 -2
- package/dist/esm/taro-rtc-room-core.entry.js +2 -2
- package/dist/esm/taro-rtc-room-item-core.entry.js +2 -2
- package/dist/esm/taro-scale-gesture-handler-core.entry.js +2 -2
- package/dist/esm/taro-script-core.entry.js +2 -2
- package/dist/esm/taro-scroll-view-core.entry.js +2 -2
- package/dist/esm/taro-share-element-core.entry.js +2 -2
- package/dist/esm/taro-slider-core.entry.js +2 -2
- package/dist/esm/taro-slot-core.entry.js +2 -2
- package/dist/esm/taro-snapshot-core.entry.js +2 -2
- package/dist/esm/taro-span-core.entry.js +2 -2
- package/dist/esm/taro-sticky-header-core.entry.js +2 -2
- package/dist/esm/taro-sticky-section-core.entry.js +2 -2
- package/dist/esm/taro-swiper-core_2.entry.js +2 -2
- package/dist/esm/taro-switch-core.entry.js +2 -2
- package/dist/esm/taro-tab-item-core.entry.js +2 -2
- package/dist/esm/taro-tabbar.entry.js +2 -2
- package/dist/esm/taro-tabs-core.entry.js +2 -2
- package/dist/esm/taro-tap-gesture-handler-core.entry.js +2 -2
- package/dist/esm/taro-text-core.entry.js +2 -2
- package/dist/esm/taro-textarea-core.entry.js +2 -2
- package/dist/esm/taro-vertical-drag-gesture-handler-core.entry.js +2 -2
- package/dist/esm/taro-video-control_3.entry.js +2 -2
- package/dist/esm/taro-view-core.entry.js +2 -2
- package/dist/esm/taro-voip-room-core.entry.js +2 -2
- package/dist/esm/taro-web-view-core.entry.js +2 -2
- package/dist/esm/{text-a3b91b23.js → text-ed97a8bc.js} +1 -1
- package/dist/esm/{textarea-c722fd22.js → textarea-c95235b4.js} +1 -1
- package/dist/esm/{video-8a258487.js → video-b0daf32b.js} +1 -1
- package/dist/esm/{view-965a491b.js → view-5dc5ab10.js} +1 -1
- package/dist/esm/{voip-room-da8085ad.js → voip-room-d6f9a41a.js} +1 -1
- package/dist/esm/{web-view-8f780a19.js → web-view-695ab170.js} +1 -1
- package/dist/taro-components/index.esm.js +1 -1
- package/dist/taro-components/p-01455cad.js +1 -0
- package/dist/taro-components/{p-c7f9e228.js → p-01cd3327.js} +1 -1
- package/dist/taro-components/p-024f1327.entry.js +1 -0
- package/dist/taro-components/{p-13d455f5.js → p-0359cc11.js} +1 -1
- package/dist/taro-components/{p-f6e5beeb.js → p-044be455.js} +1 -1
- package/dist/taro-components/p-0552f6c8.entry.js +1 -0
- package/dist/taro-components/p-0762daa0.entry.js +1 -0
- package/dist/taro-components/{p-aca7aea1.entry.js → p-07fc6337.entry.js} +1 -1
- package/dist/taro-components/{p-1f517ad8.js → p-0941ad4c.js} +1 -1
- package/dist/taro-components/p-0966c1dc.entry.js +1 -0
- package/dist/taro-components/p-0996f234.entry.js +1 -0
- package/dist/taro-components/p-09e8978c.entry.js +1 -0
- package/dist/taro-components/p-0a464f12.entry.js +1 -0
- package/dist/taro-components/p-0b0c5593.js +1 -0
- package/dist/taro-components/{p-2b1afb2c.js → p-0b609eb9.js} +1 -1
- package/dist/taro-components/{p-a6c178f3.js → p-0c002754.js} +1 -1
- package/dist/taro-components/p-0e601c37.entry.js +1 -0
- package/dist/taro-components/p-1096b259.entry.js +1 -0
- package/dist/taro-components/p-1238adb4.entry.js +1 -0
- package/dist/taro-components/p-1278b3cc.js +1 -0
- package/dist/taro-components/p-127a00f8.entry.js +1 -0
- package/dist/taro-components/{p-d1a1274a.js → p-12aa4a64.js} +1 -1
- package/dist/taro-components/{p-ee9bae70.js → p-16cc69f3.js} +1 -1
- package/dist/taro-components/{p-58a709ad.js → p-16f0341c.js} +1 -1
- package/dist/taro-components/{p-bd7613d0.js → p-17e3b3d8.js} +1 -1
- package/dist/taro-components/p-188aa412.entry.js +1 -0
- package/dist/taro-components/p-1dccd1aa.js +1 -0
- package/dist/taro-components/{p-35aac6e0.js → p-1e67e75d.js} +1 -1
- package/dist/taro-components/{p-1c19d1dd.js → p-1e8fa029.js} +1 -1
- package/dist/taro-components/p-206c4a1d.entry.js +1 -0
- package/dist/taro-components/p-24878bba.entry.js +1 -0
- package/dist/taro-components/p-2637f626.js +1 -0
- package/dist/taro-components/p-2a129ff9.entry.js +1 -0
- package/dist/taro-components/p-2b08cfad.entry.js +1 -0
- package/dist/taro-components/{p-c3cf4884.js → p-2b3cf6f2.js} +1 -1
- package/dist/taro-components/p-2c83c97d.entry.js +1 -0
- package/dist/taro-components/{p-64a5e7a7.js → p-2cf923cf.js} +1 -1
- package/dist/taro-components/{p-cae824d1.js → p-2de0a5a0.js} +1 -1
- package/dist/taro-components/p-2e02c59d.entry.js +1 -0
- package/dist/taro-components/p-2e861a0c.entry.js +1 -0
- package/dist/taro-components/{p-046319d8.js → p-2f511b4d.js} +1 -1
- package/dist/taro-components/p-2ff851eb.js +1 -0
- package/dist/taro-components/p-30bc92b6.entry.js +1 -0
- package/dist/taro-components/p-3108a288.entry.js +1 -0
- package/dist/taro-components/{p-465dbd80.js → p-338be7e1.js} +1 -1
- package/dist/taro-components/p-353bde53.entry.js +1 -0
- package/dist/taro-components/p-35bc7ace.entry.js +1 -0
- package/dist/taro-components/p-39351b18.entry.js +1 -0
- package/dist/taro-components/p-3a1e29fe.entry.js +1 -0
- package/dist/taro-components/p-3c06a184.js +1 -0
- package/dist/taro-components/{p-5fe2d7cb.js → p-3ff7295d.js} +1 -1
- package/dist/taro-components/{p-a17695f9.js → p-408ea703.js} +1 -1
- package/dist/taro-components/{p-24ef5f8c.js → p-40fba613.js} +1 -1
- package/dist/taro-components/p-410a4f9f.entry.js +1 -0
- package/dist/taro-components/p-4660f0e8.entry.js +1 -0
- package/dist/taro-components/p-46cf401b.js +1 -0
- package/dist/taro-components/{p-67c4cf7e.js → p-47a517a4.js} +1 -1
- package/dist/taro-components/{p-7ea32cac.js → p-49bfbff3.js} +1 -1
- package/dist/taro-components/p-4a3e3c0c.entry.js +1 -0
- package/dist/taro-components/{p-febc484e.js → p-4a5899cd.js} +1 -1
- package/dist/taro-components/{p-1c317d71.js → p-4c244eb7.js} +1 -1
- package/dist/taro-components/p-4e53a018.entry.js +1 -0
- package/dist/taro-components/p-4e841ecd.js +1 -0
- package/dist/taro-components/{p-4d79a974.js → p-518ee832.js} +1 -1
- package/dist/taro-components/{p-45c3b3bf.js → p-5251aeda.js} +1 -1
- package/dist/taro-components/p-528d459a.entry.js +1 -0
- package/dist/taro-components/{p-36e83be9.js → p-5532e704.js} +1 -1
- package/dist/taro-components/p-5d763236.entry.js +1 -0
- package/dist/taro-components/p-5f402695.js +1 -0
- package/dist/taro-components/{p-1f81d4f4.js → p-61b3a652.js} +1 -1
- package/dist/taro-components/p-63bcde42.js +1 -0
- package/dist/taro-components/p-64db5707.entry.js +1 -0
- package/dist/taro-components/{p-af5e0304.js → p-68338ce5.js} +1 -1
- package/dist/taro-components/p-685f1513.entry.js +1 -0
- package/dist/taro-components/p-6897b6e0.entry.js +1 -0
- package/dist/taro-components/p-6939a5ca.entry.js +1 -0
- package/dist/taro-components/{p-8d26b600.js → p-6bf6e9ac.js} +1 -1
- package/dist/taro-components/{p-4818a4aa.js → p-6c927cf2.js} +1 -1
- package/dist/taro-components/p-6cefb3fa.entry.js +1 -0
- package/dist/taro-components/p-6da0b352.entry.js +1 -0
- package/dist/taro-components/p-6f5b04a0.entry.js +1 -0
- package/dist/taro-components/p-6f78afcd.entry.js +1 -0
- package/dist/taro-components/p-6fec7cfb.entry.js +1 -0
- package/dist/taro-components/{p-c0687b94.js → p-71f9eb65.js} +1 -1
- package/dist/taro-components/{p-2e5daff6.js → p-756a6c7b.js} +1 -1
- package/dist/taro-components/{p-d5773721.js → p-79e8079f.js} +1 -1
- package/dist/taro-components/p-7acbcaf4.entry.js +1 -0
- package/dist/taro-components/p-7f209437.entry.js +1 -0
- package/dist/taro-components/{p-c9a01a1f.js → p-7ff3b069.js} +1 -1
- package/dist/taro-components/{p-680d07ac.js → p-81093e9c.js} +1 -1
- package/dist/taro-components/{p-c5666cb2.js → p-81d99466.js} +1 -1
- package/dist/taro-components/p-846640d5.entry.js +1 -0
- package/dist/taro-components/{p-2f7b8388.js → p-866567f2.js} +1 -1
- package/dist/taro-components/p-8a5810e5.entry.js +1 -0
- package/dist/taro-components/p-8a6fa237.entry.js +1 -0
- package/dist/taro-components/p-8b10f71d.js +1 -0
- package/dist/taro-components/p-8c4555bc.entry.js +1 -0
- package/dist/taro-components/p-8c6a2ec4.entry.js +1 -0
- package/dist/taro-components/p-8e4724e7.entry.js +1 -0
- package/dist/taro-components/p-8e65e0ef.entry.js +1 -0
- package/dist/taro-components/p-8e85ee3f.entry.js +1 -0
- package/dist/taro-components/p-8e9761cc.entry.js +1 -0
- package/dist/taro-components/{p-52c6b16d.js → p-8efa04c7.js} +1 -1
- package/dist/taro-components/p-9099c40a.entry.js +1 -0
- package/dist/taro-components/p-929bd61b.entry.js +1 -0
- package/dist/taro-components/p-92ad1a1b.entry.js +1 -0
- package/dist/taro-components/{p-99383bc2.js → p-92cdf569.js} +1 -1
- package/dist/taro-components/{p-150a55a3.js → p-93ed1e63.js} +1 -1
- package/dist/taro-components/p-94ec560b.entry.js +1 -0
- package/dist/taro-components/{p-582cbc31.js → p-95ccae64.js} +1 -1
- package/dist/taro-components/{p-4bb83c7d.js → p-98782e4b.js} +1 -1
- package/dist/taro-components/p-988d6f24.entry.js +1 -0
- package/dist/taro-components/{p-99863698.js → p-9908eec8.js} +1 -1
- package/dist/taro-components/p-9a5b5e73.js +1 -0
- package/dist/taro-components/{p-fff1a810.js → p-9b2e8ab5.js} +1 -1
- package/dist/taro-components/p-9c96d523.js +1 -0
- package/dist/taro-components/{p-b9446784.js → p-9d0c48cc.js} +1 -1
- package/dist/taro-components/{p-553b9dc1.js → p-a03a4d6c.js} +1 -1
- package/dist/taro-components/p-a070c494.js +1 -0
- package/dist/taro-components/p-a1c4630b.entry.js +1 -0
- package/dist/taro-components/p-a1e30768.entry.js +1 -0
- package/dist/taro-components/{p-a5798672.js → p-a227ecb8.js} +1 -1
- package/dist/taro-components/p-a457826d.entry.js +1 -0
- package/dist/taro-components/p-a49e8e1b.entry.js +1 -0
- package/dist/taro-components/p-a638fa83.js +1 -0
- package/dist/taro-components/p-a7739ce8.entry.js +1 -0
- package/dist/taro-components/{p-b70027b2.entry.js → p-a97c2d7d.entry.js} +1 -1
- package/dist/taro-components/p-ad1911cf.entry.js +1 -0
- package/dist/taro-components/p-ad9d36a8.entry.js +1 -0
- package/dist/taro-components/p-ade48028.entry.js +1 -0
- package/dist/taro-components/p-ae5ce9b9.entry.js +1 -0
- package/dist/taro-components/{p-7bb097de.js → p-aecb1305.js} +1 -1
- package/dist/taro-components/p-af1a2bdb.entry.js +1 -0
- package/dist/taro-components/p-af836431.entry.js +1 -0
- package/dist/taro-components/p-b2646c39.js +1 -0
- package/dist/taro-components/p-b2b18ec7.entry.js +1 -0
- package/dist/taro-components/p-b56830e0.entry.js +1 -0
- package/dist/taro-components/p-b5d29991.entry.js +1 -0
- package/dist/taro-components/p-b8a16546.entry.js +1 -0
- package/dist/taro-components/{p-c3a8af99.js → p-be21531b.js} +1 -1
- package/dist/taro-components/p-bfbacdd9.entry.js +1 -0
- package/dist/taro-components/p-c16c9a9d.entry.js +1 -0
- package/dist/taro-components/p-c3ab9b07.js +1 -0
- package/dist/taro-components/p-c51f862e.entry.js +1 -0
- package/dist/taro-components/{p-df86c576.entry.js → p-c6056499.entry.js} +1 -1
- package/dist/taro-components/p-c80ad5f7.entry.js +1 -0
- package/dist/taro-components/{p-b74ad8e4.js → p-c98004f1.js} +1 -1
- package/dist/taro-components/p-ca9855cc.entry.js +1 -0
- package/dist/taro-components/{p-3a6ec908.js → p-cb6404d1.js} +1 -1
- package/dist/taro-components/{p-956bc9d5.js → p-cc251758.js} +1 -1
- package/dist/taro-components/{p-a2cb2d73.js → p-ce0e1e4b.js} +1 -1
- package/dist/taro-components/p-d36f8f3c.js +1 -0
- package/dist/taro-components/p-d392762a.js +1 -0
- package/dist/taro-components/p-d9d72185.entry.js +1 -0
- package/dist/taro-components/{p-beae3fe0.js → p-da6577c5.js} +1 -1
- package/dist/taro-components/{p-d11af89d.js → p-dc7fd648.js} +1 -1
- package/dist/taro-components/{p-b2979101.js → p-dc99a26d.js} +1 -1
- package/dist/taro-components/p-df2cf76a.js +1 -0
- package/dist/taro-components/p-e12f9f6a.entry.js +1 -0
- package/dist/taro-components/{p-8d996705.js → p-e1d87ce6.js} +1 -1
- package/dist/taro-components/{p-27622761.js → p-e2adc41b.js} +1 -1
- package/dist/taro-components/p-e34aabf9.js +1 -0
- package/dist/taro-components/p-e679ebf7.entry.js +1 -0
- package/dist/taro-components/p-e858c279.entry.js +1 -0
- package/dist/taro-components/p-e972f9e5.entry.js +1 -0
- package/dist/taro-components/p-ea7545b3.entry.js +1 -0
- package/dist/taro-components/p-eb17acfc.entry.js +1 -0
- package/dist/taro-components/p-ed08f97b.entry.js +1 -0
- package/dist/taro-components/p-ee60a2ed.entry.js +1 -0
- package/dist/taro-components/p-eeda49f7.entry.js +1 -0
- package/dist/taro-components/p-efa71a29.entry.js +1 -0
- package/dist/taro-components/{p-6e2f460d.js → p-f430bc70.js} +1 -1
- package/dist/taro-components/p-f4723222.js +1 -0
- package/dist/taro-components/p-f6552484.js +1 -0
- package/dist/taro-components/p-f73323e1.js +1 -0
- package/dist/taro-components/p-f78771f1.entry.js +1 -0
- package/dist/taro-components/{p-f441b5e7.js → p-f880495e.js} +1 -1
- package/dist/taro-components/{p-1d3cfd13.js → p-fb1ce7a1.js} +1 -1
- package/dist/taro-components/{p-245fcd36.js → p-fcfab889.js} +1 -1
- package/dist/taro-components/p-fd69d32c.js +1 -0
- package/dist/taro-components/{p-96f65f1d.js → p-fe44e45d.js} +1 -1
- package/dist/taro-components/p-fef7c611.js +1 -0
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/package.json +5 -5
- package/dist/taro-components/p-00e72620.entry.js +0 -1
- package/dist/taro-components/p-03b54b0b.entry.js +0 -1
- package/dist/taro-components/p-052dbbd9.entry.js +0 -1
- package/dist/taro-components/p-06b4ba14.entry.js +0 -1
- package/dist/taro-components/p-0741aa7f.entry.js +0 -1
- package/dist/taro-components/p-0795a339.entry.js +0 -1
- package/dist/taro-components/p-08cfc9f4.js +0 -1
- package/dist/taro-components/p-094ba888.entry.js +0 -1
- package/dist/taro-components/p-0a92117d.entry.js +0 -1
- package/dist/taro-components/p-0ecccbb4.entry.js +0 -1
- package/dist/taro-components/p-0f829f27.entry.js +0 -1
- package/dist/taro-components/p-127391cb.entry.js +0 -1
- package/dist/taro-components/p-137eb06b.js +0 -1
- package/dist/taro-components/p-145ba514.entry.js +0 -1
- package/dist/taro-components/p-14795db7.entry.js +0 -1
- package/dist/taro-components/p-168a6355.entry.js +0 -1
- package/dist/taro-components/p-1ad94bf6.entry.js +0 -1
- package/dist/taro-components/p-1d2b2125.entry.js +0 -1
- package/dist/taro-components/p-2602cd28.entry.js +0 -1
- package/dist/taro-components/p-2884aec2.js +0 -1
- package/dist/taro-components/p-2b8fae1c.entry.js +0 -1
- package/dist/taro-components/p-2bf24716.js +0 -1
- package/dist/taro-components/p-2c48f6cb.entry.js +0 -1
- package/dist/taro-components/p-2e841a1d.js +0 -1
- package/dist/taro-components/p-2f9a4db4.js +0 -1
- package/dist/taro-components/p-2ff21d39.entry.js +0 -1
- package/dist/taro-components/p-31c75fd5.js +0 -1
- package/dist/taro-components/p-31f2f332.entry.js +0 -1
- package/dist/taro-components/p-3837f853.entry.js +0 -1
- package/dist/taro-components/p-38598f5b.entry.js +0 -1
- package/dist/taro-components/p-3d450082.js +0 -1
- package/dist/taro-components/p-3f4449b0.entry.js +0 -1
- package/dist/taro-components/p-3f650751.entry.js +0 -1
- package/dist/taro-components/p-496a9932.entry.js +0 -1
- package/dist/taro-components/p-49e4d6ae.js +0 -1
- package/dist/taro-components/p-4cf49968.js +0 -1
- package/dist/taro-components/p-4f4b08df.entry.js +0 -1
- package/dist/taro-components/p-50ffadb4.js +0 -1
- package/dist/taro-components/p-53b69659.js +0 -1
- package/dist/taro-components/p-5570a53e.entry.js +0 -1
- package/dist/taro-components/p-582a0e0f.entry.js +0 -1
- package/dist/taro-components/p-5b216b21.entry.js +0 -1
- package/dist/taro-components/p-5bd11f73.entry.js +0 -1
- package/dist/taro-components/p-5bd1aed9.js +0 -1
- package/dist/taro-components/p-5cbc249f.entry.js +0 -1
- package/dist/taro-components/p-5ea030de.entry.js +0 -1
- package/dist/taro-components/p-61b23b53.entry.js +0 -1
- package/dist/taro-components/p-6223811d.entry.js +0 -1
- package/dist/taro-components/p-65c51f07.entry.js +0 -1
- package/dist/taro-components/p-69147844.entry.js +0 -1
- package/dist/taro-components/p-6c93b540.js +0 -1
- package/dist/taro-components/p-73aae58b.entry.js +0 -1
- package/dist/taro-components/p-74ac6c91.entry.js +0 -1
- package/dist/taro-components/p-773bed49.entry.js +0 -1
- package/dist/taro-components/p-79d3e109.js +0 -1
- package/dist/taro-components/p-7c455a65.entry.js +0 -1
- package/dist/taro-components/p-806e3c4f.entry.js +0 -1
- package/dist/taro-components/p-80fa0c7c.entry.js +0 -1
- package/dist/taro-components/p-88048df9.entry.js +0 -1
- package/dist/taro-components/p-8837c166.entry.js +0 -1
- package/dist/taro-components/p-8b1b513a.js +0 -1
- package/dist/taro-components/p-8bc13e66.entry.js +0 -1
- package/dist/taro-components/p-8c520f1e.entry.js +0 -1
- package/dist/taro-components/p-8e3bac82.js +0 -1
- package/dist/taro-components/p-8f2a4c66.entry.js +0 -1
- package/dist/taro-components/p-905410a9.entry.js +0 -1
- package/dist/taro-components/p-915aa78c.js +0 -1
- package/dist/taro-components/p-922047dd.entry.js +0 -1
- package/dist/taro-components/p-92a39ad9.entry.js +0 -1
- package/dist/taro-components/p-931bba41.entry.js +0 -1
- package/dist/taro-components/p-93e3cefb.js +0 -1
- package/dist/taro-components/p-9581e63b.entry.js +0 -1
- package/dist/taro-components/p-975f1b0c.entry.js +0 -1
- package/dist/taro-components/p-9a0251c5.entry.js +0 -1
- package/dist/taro-components/p-9d4a6732.js +0 -1
- package/dist/taro-components/p-9f953e69.entry.js +0 -1
- package/dist/taro-components/p-a0ff43d9.entry.js +0 -1
- package/dist/taro-components/p-a293fa24.js +0 -1
- package/dist/taro-components/p-a3b266d5.entry.js +0 -1
- package/dist/taro-components/p-ab09cecf.entry.js +0 -1
- package/dist/taro-components/p-ad865966.entry.js +0 -1
- package/dist/taro-components/p-ae203a0b.entry.js +0 -1
- package/dist/taro-components/p-b19ea38d.entry.js +0 -1
- package/dist/taro-components/p-b89414d7.entry.js +0 -1
- package/dist/taro-components/p-b90499e4.entry.js +0 -1
- package/dist/taro-components/p-baed3510.js +0 -1
- package/dist/taro-components/p-bcceaa84.entry.js +0 -1
- package/dist/taro-components/p-c09eb36f.entry.js +0 -1
- package/dist/taro-components/p-c3d39813.entry.js +0 -1
- package/dist/taro-components/p-c48b7222.js +0 -1
- package/dist/taro-components/p-c5c71b89.entry.js +0 -1
- package/dist/taro-components/p-c66f2363.entry.js +0 -1
- package/dist/taro-components/p-c84153ae.entry.js +0 -1
- package/dist/taro-components/p-c872ed50.js +0 -1
- package/dist/taro-components/p-cb7e1d6e.entry.js +0 -1
- package/dist/taro-components/p-cdeebf36.entry.js +0 -1
- package/dist/taro-components/p-d45a75d9.entry.js +0 -1
- package/dist/taro-components/p-d5f0d48c.js +0 -1
- package/dist/taro-components/p-d6be1ceb.entry.js +0 -1
- package/dist/taro-components/p-da4fcba5.js +0 -1
- package/dist/taro-components/p-e0de8e35.entry.js +0 -1
- package/dist/taro-components/p-e298a2c3.entry.js +0 -1
- package/dist/taro-components/p-e3de8581.js +0 -1
- package/dist/taro-components/p-e6565988.entry.js +0 -1
- package/dist/taro-components/p-e6643dc0.entry.js +0 -1
- package/dist/taro-components/p-e87d4a75.entry.js +0 -1
- package/dist/taro-components/p-ea5d6d41.entry.js +0 -1
- package/dist/taro-components/p-eac9f475.entry.js +0 -1
- package/dist/taro-components/p-edab4852.entry.js +0 -1
- package/dist/taro-components/p-eee2d2f9.entry.js +0 -1
- package/dist/taro-components/p-f52b25aa.entry.js +0 -1
- package/dist/taro-components/p-f57bed55.entry.js +0 -1
- package/dist/taro-components/p-fa398c76.entry.js +0 -1
- package/dist/taro-components/p-fe1c20a9.entry.js +0 -1
- package/dist/taro-components/p-ffcacf9a.entry.js +0 -1
- /package/dist/cjs/{index-ae99cbcc.js → index-2f9fa58c.js} +0 -0
- /package/dist/esm/{index-0004ce39.js → index-89ae5aeb.js} +0 -0
- /package/dist/taro-components/{p-f72fcd8c.js → p-9896a737.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as o,g as n}from"./p-f72fcd8c.js";import e from"hammerjs";const a=class{constructor(s){t(this,s),this.onTap=i(this,"tap",7),this.currentRotation=0,this._getCenterLocation=t=>{this.map.getOverlays().forEach((t=>{t instanceof BMapGL.Marker&&t.isCenterMarker&&this.map.removeOverlay(t)})),t.iconPath="https://img0.baidu.com/it/u=2604176863,3349829508&fm=253&fmt=auto&app=138&f=PNG?w=243&h=243";const i=new BMapGL.Icon(t.iconPath,new BMapGL.Size(20,30)),s=[this.longitude,this.latitude],o=new BMapGL.Marker(new BMapGL.Point(this.longitude,this.latitude),{icon:i});return o.isCenterMarker=!0,this.map.addOverlay(o),s},this._setLocMarkerIcon=t=>{const i=new BMapGL.Icon(t.iconPath,new BMapGL.Size(20,30)),s=new BMapGL.Point(116.404,39.915),o=new BMapGL.Marker(s,{icon:i});this.map.addOverlay(o)},this._translateMarker=t=>{let i=t.destination.latitude;const s=t.destination.longitude;i<-80&&i>=-90&&(i=t.destination.latitude+10);const o=new BMapGL.Point(s,i),n={flagId:!0,flagCoordinate:!0},e={errMsg:"animationEnd:ok"},a=this.map.getOverlays().find((i=>i instanceof BMapGL.Marker&&i.id===t.markerId));if(!a)return console.error(`Marker "${t.markerId}" not found.`),n.flagId=!1,n;if(i>90||i<-90||s>180||s<-180||isNaN(i)||isNaN(s))return n.flagCoordinate=!1,n;const h=a.getPosition(),l=(o.lng-h.lng)/(t.duration/16),r=(o.lat-h.lat)/(t.duration/16),d=a.getRotation(),p=t.rotate;this.currentRotation?this.currentRotation+=p:this.currentRotation=p;const c=(this.currentRotation-d)/(t.duration/16);let u=h,v=d;if(!t.moveWithRotate&&t.autoRotate){let i=0;const s=setInterval((()=>{if(u=new BMapGL.Point(u.lng+l,u.lat+r),a.setPosition(u),i++,i>=t.duration/16){clearInterval(s);let i=0;const o=setInterval((()=>{v+=c,a.setRotation(v),i++,i>=t.duration/16&&(clearInterval(o),null==t||t.animationEnd(e))}),16)}}),16)}else if(t.moveWithRotate&&t.autoRotate){let i=0;const s=setInterval((()=>{u=new BMapGL.Point(u.lng+l,u.lat+r),a.setPosition(u),v+=c,a.setRotation(v),i++,i>=t.duration/16&&(clearInterval(s),null==t||t.animationEnd(e))}),16)}else if(t.moveWithRotate&&!t.autoRotate){let i=0;const s=setInterval((()=>{u=new BMapGL.Point(u.lng+l,u.lat+r),a.setPosition(u),i++,i>=t.duration/16&&(clearInterval(s),null==t||t.animationEnd(e))}),16)}return n},this._includePoints=t=>{const i=t.points.map((t=>new BMapGL.Point(t.longitude,t.latitude))),s=this.map.getZoom(),o=this.map.getCenter(),n=this.map.getViewport(i);this.map.centerAndZoom(n.center,n.zoom);const e=this.map.getBounds();let a=!0;for(let t=0;t<i.length;t++)if(!e.containsPoint(i[t])){this.map.centerAndZoom(o,s),a=!1;break}return a},this._getRegion=()=>{const t=this.map.getBounds(),i=t.getSouthWest(),s=t.getNorthEast();return{southwest:{lat:i.lat,lng:i.lng},northeast:{lat:s.lat,lng:s.lng}}},this._getRotate=()=>{let t=this.rotate;return(t<0||t>360)&&(t=0),t},this._getSkew=()=>{let t=this.skew;return(t<0||t>40)&&(t=0),t},this._getScale=()=>this.scale,this._setCenterOffset=t=>{const[i,s]=t.offset,o=this.map.getSize(),n=Math.max(.25*o.width,Math.min(.75*o.width,i*o.width)),e=Math.max(.25*o.height,Math.min(.75*o.height,s*o.height)),a=new BMapGL.Pixel(n,e),h=this.map.pixelToPoint(a);this.map.panTo(h)},this._addMarkers=t=>{t.clear&&this.map.clearOverlays(this.markers),t.markers.forEach((i=>{var s,o,n,a,h,l,r,d,p,c,u,v,M,f;if(i.latitude&&i.longitude&&i.iconPath){const b=new BMapGL.Point(i.longitude,i.latitude),w=new BMapGL.Marker(b,{enableClicking:!0});if(this.map.addOverlay(w),w.id=i.id,w.alpha=i.alpha,i.zIndex&&w.setZIndex(i.zIndex),i.width&&i.height&&i.iconPath){const t=new BMapGL.Icon(i.iconPath,new BMapGL.Size(i.width,i.height));w.setIcon(t)}else{if(!i.iconPath)return void console.error("没有找到iconPath图片路径");{const t=new Image;t.src=i.iconPath,t.style.opacity=String(i.alpha),t.onload=()=>{const s=new BMapGL.Size(t.width,t.height),o=new BMapGL.Icon(t.src,s);o.imageOffset=new BMapGL.Size(0,0,i.alpha||1),w.setIcon(o)}}}const B=i.rotate?i.rotate:0;if(B&&w.setRotation(B),i.anchor){const t=(null!==(o=null===(s=i.anchor)||void 0===s?void 0:s.x)&&void 0!==o?o:0)*(i.width||0),e=(null!==(a=null===(n=i.anchor)||void 0===n?void 0:n.y)&&void 0!==a?a:0)*(i.height||0);w.setOffset(new BMapGL.Size(t,e))}if(!i.callout&&i.title&&new e(this.mapRef).on("tap",(i=>{const s=i.center,o=s.x,n=s.y;t.markers.forEach((t=>{const i=document.getElementsByClassName("bmap-container")[0].getBoundingClientRect(),s=i.left,e=i.top,a=new BMapGL.Point(t.longitude,t.latitude),h=this.map.pointToPixel(a),l=h.y+e;if(Math.sqrt(Math.pow(o-(h.x+s),2)+Math.pow(n-l,2))<15&&t.id===w.id){const i=new BMapGL.InfoWindow(`<div style="text-align:center">${t.title}</div>`);this.map.openInfoWindow(i,b)}}))})),i.callout){const s=(null===(h=i.callout)||void 0===h?void 0:h.anchorX)?null===(l=i.callout)||void 0===l?void 0:l.anchorX:0,o=(null===(r=i.callout)||void 0===r?void 0:r.anchorY)?null===(d=i.callout)||void 0===d?void 0:d.anchorY:0,n=new BMapGL.InfoWindow(`<div style="\n padding: ${null===(p=i.callout)||void 0===p?void 0:p.padding}px;\n color:${null===(c=i.callout)||void 0===c?void 0:c.color};\n text-align:${null===(u=i.callout)||void 0===u?void 0:u.textAlign};"\n >\n <p style="font-size:${null===(v=i.callout)||void 0===v?void 0:v.fontSize}px">${(null===(M=i.callout)||void 0===M?void 0:M.content)||""}</p>\n </div>`,{width:200,height:100,offset:new BMapGL.Size(s-24,o-20)});if(w.callout=n,this.map.addOverlay(w),"ALWAYS"===(null===(f=i.callout)||void 0===f?void 0:f.display)){w.callout.disableCloseOnClick();const t=w.getPosition();w.callout.addEventListener("open",(function(){var s,o,n,e;console.log(w.callout);const a=document.querySelector(".BMap_bubble_pop");if(a){let h=a.querySelector(".triangle");h||(h=document.createElement("div"),h.className="triangle",a.appendChild(h));const l=document.querySelector(".BMap_bubble_pop>img");l&&l.setAttribute("style",`position: absolute;transform: translate(-50%, 0); top: ${t.lat-100}px; left: ${t.lng-20}px;display:none`);const r=null===(s=i.callout)||void 0===s?void 0:s.bgColor;let d=(null===(o=i.callout)||void 0===o?void 0:o.borderWidth)||5;const p=null===(n=i.callout)||void 0===n?void 0:n.borderColor,c=null===(e=i.callout)||void 0===e?void 0:e.borderRadius;d=Math.min(d,15),h.setAttribute("style",`width:0;height:0;border-left:${d}px solid transparent;border-right:${d}px solid transparent;border-top:${d}px solid ${p};position:absolute;left:83px;bottom:-${2*d}px`),a.setAttribute("style",`background-color:${r};top:${t.lat-120}px; left:${t.lng-100}px;position: absolute;border: ${d}px solid ${p};border-radius:${c}px; `)}})),this.map.openInfoWindow(w.callout,b)}else new e(this.mapRef).on("tap",(i=>{const s=i.center,o=s.x,n=s.y;t.markers.forEach((t=>{const i=document.getElementsByClassName("bmap-container")[0].getBoundingClientRect(),s=i.left,e=i.top,a=new BMapGL.Point(t.longitude,t.latitude),h=this.map.pointToPixel(a),l=h.y+e;if(Math.sqrt(Math.pow(o-(h.x+s),2)+Math.pow(n-l,2))<15&&t.id===w.id){const i=w.getPosition();w.callout.addEventListener("open",(function(){var s,o,n,e;console.log(w.callout);const a=document.querySelector(".BMap_bubble_pop");if(a){let h=a.querySelector(".triangle");h||(h=document.createElement("div"),h.className="triangle",a.appendChild(h));const l=document.querySelector(".BMap_bubble_pop>img");l&&l.setAttribute("style",`position: absolute;transform: translate(-50%, 0); top: ${i.lat-100}px; left: ${i.lng-20}px;display:none`);const r=null===(s=t.callout)||void 0===s?void 0:s.bgColor;let d=(null===(o=t.callout)||void 0===o?void 0:o.borderWidth)||5;const p=null===(n=t.callout)||void 0===n?void 0:n.borderColor,c=null===(e=t.callout)||void 0===e?void 0:e.borderRadius;d=Math.min(d,15),h.setAttribute("style",`width:0;height:0;border-left:${d}px solid transparent;border-right:${d}px solid transparent;border-top:${d}px solid ${p};position:absolute;left:83px;bottom:-${2*d}px`),a.setAttribute("style",`background-color:${r};top:${i.lat-120}px; left:${i.lng-100}px;position: absolute;border: ${d}px solid ${p};border-radius:${c}px; `)}})),this.map.openInfoWindow(w.callout,b)}else w.callout.enableCloseOnClick()}))}))}if(i.label){const t=i.label.content||"",s={position:b,offset:new BMapGL.Size(i.label.anchorX||0,i.label.anchorY||0)},o=new BMapGL.Label(t,s);o.setStyle({color:i.label.color,fontSize:i.label.fontSize+"px",borderWidth:i.label.borderWidth+"px",borderColor:i.label.borderColor,borderRadius:i.label.borderRadius+"px",background:i.label.bgColor,padding:i.label.padding+"px"}),w.setLabel(o)}}}))},this._removeMarkers=t=>{const i=this.map.getOverlays();let s={};return t.markerIds.forEach((t=>{const o=i.find((i=>i instanceof BMapGL.Marker&&String(i.id)===t));s=o,this.map.removeOverlay(o)})),s},this._moveAlong=t=>{const i=t.path,s=t.markerId,o=t.duration,n=t.autoRotate,e=this.map.getOverlays().find((t=>t instanceof BMapGL.Marker&&t.id===s)),a=i.map((t=>new BMapGL.Point(t.longitude,t.latitude))),h={flagId:!0,flagCoordinate:!0};if(!e)return console.error(`Marker "${s}" not found.`),h.flagId=!1,h;for(let t=0;t<a.length;t++){const i=a[t];if(i.lat<-80&&i.lat>=-90&&(i.lat+=10),i.lng<-180||i.lng>180||i.lat<-90||i.lat>90||isNaN(i.lng)||isNaN(i.lat))return h.flagCoordinate=!1,h}if(h.flagId&&h.flagCoordinate){const t=performance.now(),i=s=>{const h=Math.min((s-t)/o,1),l=this.getPointOnPath(a,h);if(e.setPosition(l),n&&h<1){const t=this.getPointOnPath(a,Math.min(h+.01,1)),i=this.calculateRotation(l,t);e.setRotation(i)}h<1?requestAnimationFrame(i):(e.setPosition(a[a.length-1]),e.setRotation(0))};requestAnimationFrame(i)}return h},this.getPointOnPath=(t,i)=>{const s=this.calculateTotalLength(t)*i;let o=0;for(let i=0;i<t.length-1;i++){const n=this.map.getDistance(t[i],t[i+1]);if(o+n>=s){const e=(s-o)/n;return new BMapGL.Point(t[i].lng+(t[i+1].lng-t[i].lng)*e,t[i].lat+(t[i+1].lat-t[i].lat)*e)}o+=n}return t[t.length-1]},this.calculateTotalLength=t=>{let i=0;for(let s=0;s<t.length-1;s++)i+=this.map.getDistance(t[s],t[s+1]);return i},this.calculateRotation=(t,i)=>{let s=Math.atan2(i.lat-t.lat,i.lng-t.lng)*(180/Math.PI);return s=90-s,s},this._addGroundOverlay=t=>{const{src:i,opacity:s,bounds:o,visible:n,id:e,zIndex:a}=t;let h=!0;if(o.southwest.longitude>=o.northeast.longitude||o.southwest.latitude>=o.northeast.latitude)return void(h=!1);if(o.southwest.latitude>90||o.southwest.latitude<-90||o.southwest.longitude>180||o.southwest.longitude<-180||isNaN(o.southwest.latitude)||isNaN(o.southwest.longitude))return void(h=!1);if(o.northeast.latitude>90||o.northeast.latitude<-90||o.northeast.longitude>180||o.northeast.longitude<-180||isNaN(o.northeast.latitude)||isNaN(o.northeast.longitude))return void(h=!1);const l=new BMapGL.Bounds(new BMapGL.Point(o.southwest.longitude,o.southwest.latitude),new BMapGL.Point(o.northeast.longitude,o.northeast.latitude));function r(t,i,s,o,n,e,a){this._bounds=t,this._imageUrl=i,this._map=s,this._visible=o,this._opacity=n,this._zIndex=e,this._id=a}(r.prototype=new BMapGL.Overlay).initialize=function(t){if(document.getElementById(this._id)){const t=document.getElementById(this._id);null==t||t.remove()}if(this._map=t,!this._div){const t=document.createElement("div");t.id=this._id,t.style.position="absolute",t.style.border="none",t.style.zIndex=this._zIndex;const i=document.createElement("img");i.src=this._imageUrl,i.style.opacity=this._opacity<0?"1":this._opacity,t.appendChild(i),this._div=t}return t.addEventListener("zoomend",(()=>{const i=t.pointToOverlayPixel(this._bounds.getSouthWest()),s=t.pointToOverlayPixel(this._bounds.getNorthEast()),o=s.x-i.x,n=i.y-s.y;this._div.style.width=o+"px",this._div.style.height=n+"px";const e=this._div.querySelector("img");e.style.width=o+"px",e.style.height=n+"px"})),t.getPanes().labelPane.appendChild(this._div),this._div},r.prototype.draw=function(){const i=this._map.pointToOverlayPixel({lat:t.bounds.northeast.latitude,lng:t.bounds.southwest.longitude});this._div.style.left=i.x+"px",this._div.style.top=i.y+"px";const s=this._map.getBounds(),o=this._map.pointToPixel(s.getSouthWest()),n=this._map.pointToPixel(s.getNorthEast()),e=n.x-o.x,a=n.y-o.y,h=this._map.getZoom(),l=e*Math.pow(2,18-h),r=a*Math.pow(2,18-h);this._div.style.width=l+"px",this._div.style.height=r+"px",this._div.style.display=this._visible?"block":"none";const d=this._opacity<0?"1":this._opacity;this._div.getElementsByTagName("img")[0].style.opacity=d};const d=new r(l,i,this.map,n,s,a,e);this.map.addOverlay(d);const p=this.map.getOverlays().sort(((t,i)=>t._zIndex-i._zIndex));this.groundOverlay=d,p.forEach((t=>t.draw()));const c=this.map.getZoom();return c<20?(this.map.setZoom(c+1),this.map.setZoom(c)):(this.map.setZoom(c-1),this.map.setZoom(c)),h},this._updateGroundOverlay=t=>{const{src:i,opacity:s,bounds:o,visible:n,id:e,zIndex:a}=t;let h,l=!0,r=!0,d={};const p=this.map.getOverlays().find((t=>t._id===e));if(!p)return l=!1,d={flagId:l,flagCoordinate:r},h=Object.assign({},d),h;if((o.southwest.longitude>=o.northeast.longitude||o.southwest.latitude>=o.northeast.latitude)&&(r=!1,d={flagId:l,flagCoordinate:r},h=Object.assign({},d)),(o.southwest.latitude>90||o.southwest.latitude<-90||o.southwest.longitude>180||o.southwest.longitude<-180||isNaN(o.southwest.latitude)||isNaN(o.southwest.longitude))&&(r=!1,d={flagId:l,flagCoordinate:r},h=Object.assign({},d)),(o.northeast.latitude>90||o.northeast.latitude<-90||o.northeast.longitude>180||o.northeast.longitude<-180||isNaN(o.northeast.latitude)||isNaN(o.northeast.longitude))&&(r=!1,d={flagId:l,flagCoordinate:r},h=Object.assign({},d)),l&&r){const t=new BMapGL.Bounds(new BMapGL.Point(o.southwest.longitude,o.southwest.latitude),new BMapGL.Point(o.northeast.longitude,o.northeast.latitude)),c=this.map.getZoom();if(p){const o=document.getElementById(e);if(o){const e=o.querySelector("img");if(e){o.style.opacity=s<0?"1":s,e.style.display=n?"block":"none",o.style.zIndex=a;const h=new Image;h.onload=()=>{e.src=i;const s=t.getNorthEast().lng-t.getSouthWest().lng,o=this.map.getSize().width/Math.pow(2,18-c)*s,n=o*(h.naturalHeight/h.naturalWidth);e.style.width=`${o}px`,e.style.height=`${n}px`,p._bounds=t,p.draw(),this.map.panTo(this.map.getCenter()),p.draw()},h.src=i}}}else console.error(`未找到id为${e}的元素`);return d={flagId:l,flagCoordinate:r},h=Object.assign({},d),h}return h},this._removeGroundOverlay=t=>{let i="";const s=this.map.getOverlays().find((i=>i._id===t.id));return i=s,s&&this.map.removeOverlay(s),i},this._setBoundary=t=>{let i=t.northeast.latitude,s=t.southwest.latitude,o=!0;if(t.northeast.latitude<=-80&&t.northeast.latitude>=-90&&(i=t.northeast.latitude+10),t.southwest.latitude<=-80&&t.southwest.latitude>=-90&&(s=t.southwest.latitude+10),t.northeast.latitude<-90||t.northeast.latitude>90||t.northeast.longitude<-180||t.northeast.longitude>180||isNaN(t.northeast.latitude)||isNaN(t.northeast.longitude)||t.northeast.longitude<t.southwest.longitude||t.northeast.latitude<t.southwest.latitude)return void(o=!1);if(t.southwest.latitude<-90||t.southwest.latitude>90||t.southwest.longitude<-180||t.southwest.longitude>180||isNaN(t.southwest.latitude)||isNaN(t.southwest.longitude))return void(o=!1);const n=new BMapGL.Point(t.northeast.longitude,i),e=new BMapGL.Point(t.southwest.longitude,s),a=new BMapGL.Bounds(e,n),h=this.map.getViewport([n,e]);return this.map.centerAndZoom(new BMapGL.Point(h.center.lng,h.center.lat),h.zoom+2),this.map.addOverlay(new BMapGL.Polygon([new BMapGL.Point(a.sw.lng,a.sw.lat),new BMapGL.Point(a.sw.lng,a.ne.lat),new BMapGL.Point(a.ne.lng,a.ne.lat),new BMapGL.Point(a.ne.lng,a.sw.lat)],{fillOpacity:0})),BMapGLLib.AreaRestriction.setBounds(this.map,a),o},this.latitude=void 0,this.longitude=void 0,this.scale=void 0,this.minScale=void 0,this.maxScale=void 0,this.markers=void 0,this.polyline=void 0,this.circles=void 0,this.polygons=void 0,this.subkey=void 0,this.layerStyle=void 0,this.rotate=void 0,this.skew=void 0,this.showCompass=void 0,this.showScale=void 0,this.enableOverlooking=void 0,this.enableZoom=void 0,this.enableScroll=void 0,this.enableRotate=void 0,this.enableSatellite=void 0,this.enableTraffic=void 0,this.enableBuilding=void 0,this.enableAutoMaxOverlooking=void 0,this.enable3D=void 0,this.width="100%",this.height="100%"}async componentDidLoad(){if(await this.loadMapScript(),await this.LoadBmapLibScript(),this.mapRef){if(this.mapRef.addEventListener("touchmove",(t=>{t.cancelable&&t.preventDefault()})),this.map=new BMapGL.Map(this.mapRef),this.map.removeControl(this.map.getMapType()),this.latitude<-90||this.latitude>90||this.longitude<-180||this.longitude>180||isNaN(this.latitude)||isNaN(this.longitude))return void console.error("请正确设置中心经纬度");let t=isNaN(this.scale)?16:this.scale,i=isNaN(this.minScale)?3:this.minScale,s=isNaN(this.maxScale)?16:this.maxScale;const o=new BMapGL.Point(this.longitude,this.latitude);i<3||i>20?(i=3,this.map.setMinZoom(3)):this.map.setMinZoom(i),s>20||s<3?(s=20,this.map.setMaxZoom(20)):this.map.setMaxZoom(s),i>s&&(i=3,this.map.setMinZoom(3),s=20,this.map.setMaxZoom(20)),i<=16&&s>=16?(t>=i&&t<=s||(t=16),this.map.centerAndZoom(o,t)):t>=i&&t<=s?this.map.centerAndZoom(o,t):t<i?(t=i,this.map.centerAndZoom(o,i)):(t=s,this.map.centerAndZoom(o,s)),Array.isArray(this.markers)&&this.addMarkers(this.markers),Array.isArray(this.polyline)&&this.polyline.forEach((t=>{if(t.points){const i=t.points.map((t=>new BMapGL.Point(t.longitude,t.latitude))),s=new BMapGL.Polyline(i,{strokeColor:t.color,strokeWeight:t.width,strokeStyle:t.dottedLine?"dashed":"solid",strokeOpacity:1});this.map.addOverlay(s)}})),Array.isArray(this.circles)&&this.circles.forEach((t=>{if(t.latitude&&t.longitude&&t.radius){const i=new BMapGL.Point(t.longitude,t.latitude),s=new BMapGL.Circle(i,t.radius,{strokeColor:t.color,fillColor:t.fillColor,strokeWeight:t.strokeWidth});this.map.addOverlay(s)}})),Array.isArray(this.polygons)&&this.polygons.forEach((t=>{const i=t.points.map((t=>new BMapGL.Point(t.longitude,t.latitude))),s=new BMapGL.Polygon(i,{strokeColor:t.strokeColor,fillColor:t.fillColor,strokeWeight:t.strokeWidth});this.map.addOverlay(s)})),0===this.layerStyle?this.layerStyle&&this.map.setMapStyleV2({styleId:this.subkey}):1===(this.layerStyle?this.layerStyle:1)&&this.map.setMapStyleV2({styleId:this.subkey});const n=this.skew?this.skew:0;if(this.map.setTilt(!0===(!0===this.enable3D&&this.enable3D)?!0===(!0===this.enableOverlooking&&this.enableOverlooking)?!0===(!0===this.enableAutoMaxOverlooking&&this.enableAutoMaxOverlooking)?75:45:n>=0&&n<=40?n:0:0),!0===(!0===this.showCompass&&this.showCompass)){const t=new BMapGL.NavigationControl3D({anchor:BMAP_ANCHOR_TOP_RIGHT,type:3});this.map.addControl(t)}if(!0===(!0===this.showScale&&this.showScale)){const t=new BMapGL.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT});this.map.addControl(t)}if(!0===(!1!==this.enableZoom||this.enableZoom)&&this.map.enableScrollWheelZoom(this.enableZoom),!0===this.enableZoom&&this.mapRef?this.map.enablePinchToZoom():this.map.disablePinchToZoom(),!0===(!1!==this.enableScroll||this.enableScroll)?this.map.enableDragging():this.map.disableDragging(),this.map.setHeading((this.rotate?this.rotate:0)>=0&&this.rotate<=360?this.rotate:0),!0===this.enableRotate&&this.map.enableRotateGestures(),!0===(!0===this.enableSatellite&&this.enableSatellite)&&this.mapRef){const t=new BMapGL.MapTypeControl({mapTypes:[BMAP_NORMAL_MAP,BMAP_SATELLITE_MAP]});this.map.addControl(t)}!0===(!0===this.enableTraffic&&this.enableTraffic)&&this.mapRef&&this.map.setTrafficOn(),!1===(!1!==this.enableBuilding||this.enableBuilding)&&this.map.setDisplayOptions({building:!1})}this.map&&new e(this.mapRef).on("tap",(t=>{const i=this.map.pixelToPoint({x:t.center.x,y:t.center.y});this.onTap.emit({longitude:i.lng,latitude:i.lat})}))}disconnectedCallback(){this.map&&this.map.destroy()}addMarkers(t){const i=[];t.forEach((t=>{var s,o,n,a,h,l,r,d,p,c,u,v,M,f;if(i.includes(t.id))console.error("请输入不同的marker的id");else if(i.push(t.id),t.latitude&&t.longitude&&t.iconPath&&t.id){if(t.latitude<-90||t.latitude>90||t.longitude<-180||t.longitude>180)return void console.error("请正确设置marker的经纬度");const i=new BMapGL.Point(t.longitude,t.latitude),b=new BMapGL.Marker(i,{enableClicking:!0});if(b.id=t.id,b.alpha=t.alpha,t.zIndex&&b.setZIndex(t.zIndex),t.width&&t.height){const i=document.createElement("canvas");i.width=2*t.width,i.height=2*t.height;const s=i.getContext("2d"),o=new Image;o.crossOrigin="Anonymous",o.src=t.iconPath,o.onload=function(){s.drawImage(o,0,0,2*t.width,2*t.height);const n=new BMapGL.Icon(i.toDataURL(),new BMapGL.Size(t.width,t.height),{anchor:new BMapGL.Size(0,0)});b.setIcon(n)}}else{const i=new Image;i.src=t.iconPath,i.style.opacity=String(t.alpha),i.onload=()=>{const s=new BMapGL.Size(i.width,i.height),o=new BMapGL.Icon(i.src,s);o.imageOffset=new BMapGL.Size(0,0,t.alpha||1),b.setIcon(o)}}const w=t.rotate?t.rotate:0;w>=0&&w<=360&&b.setRotation(w);const B=null!==(o=null===(s=t.anchor)||void 0===s?void 0:s.x)&&void 0!==o?o:.5,L=null!==(a=null===(n=t.anchor)||void 0===n?void 0:n.y)&&void 0!==a?a:1;if(b.setOffset(B>=0&&B<=1&&L>=0&&L<=1?new BMapGL.Size(-B*(t.width||0),-L*(t.height||0)):new BMapGL.Size(-.5*(t.width||0),-1*(t.height||0))),!t.callout&&t.title&&new e(this.mapRef).on("tap",(t=>{const s=t.center,o=s.x,n=s.y;this.markers.forEach((t=>{const s=document.getElementsByClassName("bmap-container")[0].getBoundingClientRect(),e=s.left,a=s.top,h=new BMapGL.Point(t.longitude,t.latitude),l=this.map.pointToPixel(h),r=l.y+a;if(Math.sqrt(Math.pow(o-(l.x+e),2)+Math.pow(n-r,2))<15&&t.id===b.id){const s=new BMapGL.InfoWindow(`<div style="text-align:center">${t.title}</div>`);this.map.openInfoWindow(s,i)}}))})),t.callout){const s=(null===(h=t.callout)||void 0===h?void 0:h.anchorX)?null===(l=t.callout)||void 0===l?void 0:l.anchorX:0,o=(null===(r=t.callout)||void 0===r?void 0:r.anchorY)?null===(d=t.callout)||void 0===d?void 0:d.anchorY:0,n=new BMapGL.InfoWindow(`<div style="\n padding: ${null===(p=t.callout)||void 0===p?void 0:p.padding}px;\n color:${null===(c=t.callout)||void 0===c?void 0:c.color};\n text-align:${null===(u=t.callout)||void 0===u?void 0:u.textAlign};"\n >\n <p style="font-size:${null===(v=t.callout)||void 0===v?void 0:v.fontSize}px">${(null===(M=t.callout)||void 0===M?void 0:M.content)||""}</p>\n </div>`,{width:200,height:100,offset:new BMapGL.Size(s-24,o-20)});if(b.callout=n,this.map.addOverlay(b),"ALWAYS"===(null===(f=t.callout)||void 0===f?void 0:f.display)){b.callout.disableCloseOnClick();const s=b.getPosition();b.callout.addEventListener("open",(function(){var i,o,n,e;const a=document.querySelector(".BMap_bubble_pop");if(a){let h=a.querySelector(".triangle");h||(h=document.createElement("div"),h.className="triangle",a.appendChild(h));const l=document.querySelector(".BMap_bubble_pop>img");l&&l.setAttribute("style",`position: absolute;transform: translate(-50%, 0); top: ${s.lat-100}px; left: ${s.lng-20}px;display:none`);const r=null===(i=t.callout)||void 0===i?void 0:i.bgColor;let d=(null===(o=t.callout)||void 0===o?void 0:o.borderWidth)||5;const p=null===(n=t.callout)||void 0===n?void 0:n.borderColor,c=null===(e=t.callout)||void 0===e?void 0:e.borderRadius;d=Math.min(d,15),h.setAttribute("style",`width:0;height:0;borderLeft:${d}px solid transparent;borderRight:${d}px solid transparent;borderTop:${d}px solid ${p};position:absolute;left:83px;bottom:-${2*d}px`),a.setAttribute("style",`background-color:${r};top:${s.lat-120}px; left:${s.lng-100}px;position: absolute;border: ${d}px solid ${p};border-radius:${c}px; `)}})),this.map.openInfoWindow(b.callout,i)}else new e(this.mapRef).on("tap",(t=>{const s=t.center,o=s.x,n=s.y;this.markers.forEach((t=>{const s=document.getElementsByClassName("bmap-container")[0].getBoundingClientRect(),e=s.left,a=s.top,h=new BMapGL.Point(t.longitude,t.latitude),l=this.map.pointToPixel(h),r=l.y+a;if(Math.sqrt(Math.pow(o-(l.x+e),2)+Math.pow(n-r,2))<15&&t.id===b.id){const s=b.getPosition();b.callout.addEventListener("open",(function(){var i,o,n,e;const a=document.querySelector(".BMap_bubble_pop");if(a){let h=a.querySelector(".triangle");h||(h=document.createElement("div"),h.className="triangle",a.appendChild(h));const l=document.querySelector(".BMap_bubble_pop>img");l&&l.setAttribute("style",`position: absolute;transform: translate(-50%, 0); top: ${s.lat-100}px; left: ${s.lng-20}px;display:none`);const r=null===(i=t.callout)||void 0===i?void 0:i.bgColor;let d=(null===(o=t.callout)||void 0===o?void 0:o.borderWidth)||5;const p=null===(n=t.callout)||void 0===n?void 0:n.borderColor,c=null===(e=t.callout)||void 0===e?void 0:e.borderRadius;d=Math.min(d,15),h.setAttribute("style",`width:0;height:0;border-left:${d}px solid transparent;border-right:${d}px solid transparent;border-top:${d}px solid ${p};position:absolute;left:83px;bottom:-${2*d}px`),a.setAttribute("style",`background-color:${r};top:${s.lat-120}px; left:${s.lng-100}px;position: absolute;border: ${d}px solid ${p};border-radius:${c}px; `)}})),this.map.openInfoWindow(b.callout,i)}else b.callout.enableCloseOnClick()}))}))}if(t.label){const s=t.label.content||"",o={position:i,offset:new BMapGL.Size(t.label.anchorX||0,t.label.anchorY||0)},n=new BMapGL.Label(s,o);n.setStyle({color:t.label.color,fontSize:t.label.fontSize+"px",borderWidth:t.label.borderWidth+"px",borderColor:t.label.borderColor?t.label.borderColor:"white",borderRadius:t.label.borderRadius+"px",background:t.label.bgColor,padding:t.label.padding+"px"}),b.setLabel(n)}this.map.addOverlay(b)}else console.error("请检查marker经纬度和marker自定义图标路径和id值")}))}loadMapScript(){return new Promise(((t,i)=>{const s=document.createElement("script");s.src="https://api.map.baidu.com/getscript?v=3.0&type=webgl&ak=Mb1FLBD3gfnY6bup4v6zEWh6MXwsZ9eo",s.defer=!0,s.onload=()=>t(),s.onerror=i,s.type="text/javascript",document.head.appendChild(s)}))}async LoadBmapLibScript(){return new Promise(((t,i)=>{const s=document.createElement("script");s.src="//mapopen.bj.bcebos.com/github/BMapGLLib/AreaRestriction/src/AreaRestriction.min.js",s.defer=!0,s.type="text/javascript",s.onload=()=>{t()},s.onerror=i,document.head.appendChild(s)}))}render(){return s(o,null,s("div",{id:"mapContainer",ref:t=>{t&&(this.mapRef=t)},style:{width:this.width,height:this.height}}))}get el(){return n(this)}};a.style=".BMap_cpyCtrl,.anchorBL img,.BMap_bubble_buttons{display:none}";export{a as M}
|
|
1
|
+
import{r as t,c as i,h as s,H as o,g as n}from"./p-9896a737.js";import e from"hammerjs";const a=class{constructor(s){t(this,s),this.onTap=i(this,"tap",7),this.currentRotation=0,this._getCenterLocation=t=>{this.map.getOverlays().forEach((t=>{t instanceof BMapGL.Marker&&t.isCenterMarker&&this.map.removeOverlay(t)})),t.iconPath="https://img0.baidu.com/it/u=2604176863,3349829508&fm=253&fmt=auto&app=138&f=PNG?w=243&h=243";const i=new BMapGL.Icon(t.iconPath,new BMapGL.Size(20,30)),s=[this.longitude,this.latitude],o=new BMapGL.Marker(new BMapGL.Point(this.longitude,this.latitude),{icon:i});return o.isCenterMarker=!0,this.map.addOverlay(o),s},this._setLocMarkerIcon=t=>{const i=new BMapGL.Icon(t.iconPath,new BMapGL.Size(20,30)),s=new BMapGL.Point(116.404,39.915),o=new BMapGL.Marker(s,{icon:i});this.map.addOverlay(o)},this._translateMarker=t=>{let i=t.destination.latitude;const s=t.destination.longitude;i<-80&&i>=-90&&(i=t.destination.latitude+10);const o=new BMapGL.Point(s,i),n={flagId:!0,flagCoordinate:!0},e={errMsg:"animationEnd:ok"},a=this.map.getOverlays().find((i=>i instanceof BMapGL.Marker&&i.id===t.markerId));if(!a)return console.error(`Marker "${t.markerId}" not found.`),n.flagId=!1,n;if(i>90||i<-90||s>180||s<-180||isNaN(i)||isNaN(s))return n.flagCoordinate=!1,n;const h=a.getPosition(),l=(o.lng-h.lng)/(t.duration/16),r=(o.lat-h.lat)/(t.duration/16),d=a.getRotation(),p=t.rotate;this.currentRotation?this.currentRotation+=p:this.currentRotation=p;const c=(this.currentRotation-d)/(t.duration/16);let u=h,v=d;if(!t.moveWithRotate&&t.autoRotate){let i=0;const s=setInterval((()=>{if(u=new BMapGL.Point(u.lng+l,u.lat+r),a.setPosition(u),i++,i>=t.duration/16){clearInterval(s);let i=0;const o=setInterval((()=>{v+=c,a.setRotation(v),i++,i>=t.duration/16&&(clearInterval(o),null==t||t.animationEnd(e))}),16)}}),16)}else if(t.moveWithRotate&&t.autoRotate){let i=0;const s=setInterval((()=>{u=new BMapGL.Point(u.lng+l,u.lat+r),a.setPosition(u),v+=c,a.setRotation(v),i++,i>=t.duration/16&&(clearInterval(s),null==t||t.animationEnd(e))}),16)}else if(t.moveWithRotate&&!t.autoRotate){let i=0;const s=setInterval((()=>{u=new BMapGL.Point(u.lng+l,u.lat+r),a.setPosition(u),i++,i>=t.duration/16&&(clearInterval(s),null==t||t.animationEnd(e))}),16)}return n},this._includePoints=t=>{const i=t.points.map((t=>new BMapGL.Point(t.longitude,t.latitude))),s=this.map.getZoom(),o=this.map.getCenter(),n=this.map.getViewport(i);this.map.centerAndZoom(n.center,n.zoom);const e=this.map.getBounds();let a=!0;for(let t=0;t<i.length;t++)if(!e.containsPoint(i[t])){this.map.centerAndZoom(o,s),a=!1;break}return a},this._getRegion=()=>{const t=this.map.getBounds(),i=t.getSouthWest(),s=t.getNorthEast();return{southwest:{lat:i.lat,lng:i.lng},northeast:{lat:s.lat,lng:s.lng}}},this._getRotate=()=>{let t=this.rotate;return(t<0||t>360)&&(t=0),t},this._getSkew=()=>{let t=this.skew;return(t<0||t>40)&&(t=0),t},this._getScale=()=>this.scale,this._setCenterOffset=t=>{const[i,s]=t.offset,o=this.map.getSize(),n=Math.max(.25*o.width,Math.min(.75*o.width,i*o.width)),e=Math.max(.25*o.height,Math.min(.75*o.height,s*o.height)),a=new BMapGL.Pixel(n,e),h=this.map.pixelToPoint(a);this.map.panTo(h)},this._addMarkers=t=>{t.clear&&this.map.clearOverlays(this.markers),t.markers.forEach((i=>{var s,o,n,a,h,l,r,d,p,c,u,v,M,f;if(i.latitude&&i.longitude&&i.iconPath){const b=new BMapGL.Point(i.longitude,i.latitude),w=new BMapGL.Marker(b,{enableClicking:!0});if(this.map.addOverlay(w),w.id=i.id,w.alpha=i.alpha,i.zIndex&&w.setZIndex(i.zIndex),i.width&&i.height&&i.iconPath){const t=new BMapGL.Icon(i.iconPath,new BMapGL.Size(i.width,i.height));w.setIcon(t)}else{if(!i.iconPath)return void console.error("没有找到iconPath图片路径");{const t=new Image;t.src=i.iconPath,t.style.opacity=String(i.alpha),t.onload=()=>{const s=new BMapGL.Size(t.width,t.height),o=new BMapGL.Icon(t.src,s);o.imageOffset=new BMapGL.Size(0,0,i.alpha||1),w.setIcon(o)}}}const B=i.rotate?i.rotate:0;if(B&&w.setRotation(B),i.anchor){const t=(null!==(o=null===(s=i.anchor)||void 0===s?void 0:s.x)&&void 0!==o?o:0)*(i.width||0),e=(null!==(a=null===(n=i.anchor)||void 0===n?void 0:n.y)&&void 0!==a?a:0)*(i.height||0);w.setOffset(new BMapGL.Size(t,e))}if(!i.callout&&i.title&&new e(this.mapRef).on("tap",(i=>{const s=i.center,o=s.x,n=s.y;t.markers.forEach((t=>{const i=document.getElementsByClassName("bmap-container")[0].getBoundingClientRect(),s=i.left,e=i.top,a=new BMapGL.Point(t.longitude,t.latitude),h=this.map.pointToPixel(a),l=h.y+e;if(Math.sqrt(Math.pow(o-(h.x+s),2)+Math.pow(n-l,2))<15&&t.id===w.id){const i=new BMapGL.InfoWindow(`<div style="text-align:center">${t.title}</div>`);this.map.openInfoWindow(i,b)}}))})),i.callout){const s=(null===(h=i.callout)||void 0===h?void 0:h.anchorX)?null===(l=i.callout)||void 0===l?void 0:l.anchorX:0,o=(null===(r=i.callout)||void 0===r?void 0:r.anchorY)?null===(d=i.callout)||void 0===d?void 0:d.anchorY:0,n=new BMapGL.InfoWindow(`<div style="\n padding: ${null===(p=i.callout)||void 0===p?void 0:p.padding}px;\n color:${null===(c=i.callout)||void 0===c?void 0:c.color};\n text-align:${null===(u=i.callout)||void 0===u?void 0:u.textAlign};"\n >\n <p style="font-size:${null===(v=i.callout)||void 0===v?void 0:v.fontSize}px">${(null===(M=i.callout)||void 0===M?void 0:M.content)||""}</p>\n </div>`,{width:200,height:100,offset:new BMapGL.Size(s-24,o-20)});if(w.callout=n,this.map.addOverlay(w),"ALWAYS"===(null===(f=i.callout)||void 0===f?void 0:f.display)){w.callout.disableCloseOnClick();const t=w.getPosition();w.callout.addEventListener("open",(function(){var s,o,n,e;console.log(w.callout);const a=document.querySelector(".BMap_bubble_pop");if(a){let h=a.querySelector(".triangle");h||(h=document.createElement("div"),h.className="triangle",a.appendChild(h));const l=document.querySelector(".BMap_bubble_pop>img");l&&l.setAttribute("style",`position: absolute;transform: translate(-50%, 0); top: ${t.lat-100}px; left: ${t.lng-20}px;display:none`);const r=null===(s=i.callout)||void 0===s?void 0:s.bgColor;let d=(null===(o=i.callout)||void 0===o?void 0:o.borderWidth)||5;const p=null===(n=i.callout)||void 0===n?void 0:n.borderColor,c=null===(e=i.callout)||void 0===e?void 0:e.borderRadius;d=Math.min(d,15),h.setAttribute("style",`width:0;height:0;border-left:${d}px solid transparent;border-right:${d}px solid transparent;border-top:${d}px solid ${p};position:absolute;left:83px;bottom:-${2*d}px`),a.setAttribute("style",`background-color:${r};top:${t.lat-120}px; left:${t.lng-100}px;position: absolute;border: ${d}px solid ${p};border-radius:${c}px; `)}})),this.map.openInfoWindow(w.callout,b)}else new e(this.mapRef).on("tap",(i=>{const s=i.center,o=s.x,n=s.y;t.markers.forEach((t=>{const i=document.getElementsByClassName("bmap-container")[0].getBoundingClientRect(),s=i.left,e=i.top,a=new BMapGL.Point(t.longitude,t.latitude),h=this.map.pointToPixel(a),l=h.y+e;if(Math.sqrt(Math.pow(o-(h.x+s),2)+Math.pow(n-l,2))<15&&t.id===w.id){const i=w.getPosition();w.callout.addEventListener("open",(function(){var s,o,n,e;console.log(w.callout);const a=document.querySelector(".BMap_bubble_pop");if(a){let h=a.querySelector(".triangle");h||(h=document.createElement("div"),h.className="triangle",a.appendChild(h));const l=document.querySelector(".BMap_bubble_pop>img");l&&l.setAttribute("style",`position: absolute;transform: translate(-50%, 0); top: ${i.lat-100}px; left: ${i.lng-20}px;display:none`);const r=null===(s=t.callout)||void 0===s?void 0:s.bgColor;let d=(null===(o=t.callout)||void 0===o?void 0:o.borderWidth)||5;const p=null===(n=t.callout)||void 0===n?void 0:n.borderColor,c=null===(e=t.callout)||void 0===e?void 0:e.borderRadius;d=Math.min(d,15),h.setAttribute("style",`width:0;height:0;border-left:${d}px solid transparent;border-right:${d}px solid transparent;border-top:${d}px solid ${p};position:absolute;left:83px;bottom:-${2*d}px`),a.setAttribute("style",`background-color:${r};top:${i.lat-120}px; left:${i.lng-100}px;position: absolute;border: ${d}px solid ${p};border-radius:${c}px; `)}})),this.map.openInfoWindow(w.callout,b)}else w.callout.enableCloseOnClick()}))}))}if(i.label){const t=i.label.content||"",s={position:b,offset:new BMapGL.Size(i.label.anchorX||0,i.label.anchorY||0)},o=new BMapGL.Label(t,s);o.setStyle({color:i.label.color,fontSize:i.label.fontSize+"px",borderWidth:i.label.borderWidth+"px",borderColor:i.label.borderColor,borderRadius:i.label.borderRadius+"px",background:i.label.bgColor,padding:i.label.padding+"px"}),w.setLabel(o)}}}))},this._removeMarkers=t=>{const i=this.map.getOverlays();let s={};return t.markerIds.forEach((t=>{const o=i.find((i=>i instanceof BMapGL.Marker&&String(i.id)===t));s=o,this.map.removeOverlay(o)})),s},this._moveAlong=t=>{const i=t.path,s=t.markerId,o=t.duration,n=t.autoRotate,e=this.map.getOverlays().find((t=>t instanceof BMapGL.Marker&&t.id===s)),a=i.map((t=>new BMapGL.Point(t.longitude,t.latitude))),h={flagId:!0,flagCoordinate:!0};if(!e)return console.error(`Marker "${s}" not found.`),h.flagId=!1,h;for(let t=0;t<a.length;t++){const i=a[t];if(i.lat<-80&&i.lat>=-90&&(i.lat+=10),i.lng<-180||i.lng>180||i.lat<-90||i.lat>90||isNaN(i.lng)||isNaN(i.lat))return h.flagCoordinate=!1,h}if(h.flagId&&h.flagCoordinate){const t=performance.now(),i=s=>{const h=Math.min((s-t)/o,1),l=this.getPointOnPath(a,h);if(e.setPosition(l),n&&h<1){const t=this.getPointOnPath(a,Math.min(h+.01,1)),i=this.calculateRotation(l,t);e.setRotation(i)}h<1?requestAnimationFrame(i):(e.setPosition(a[a.length-1]),e.setRotation(0))};requestAnimationFrame(i)}return h},this.getPointOnPath=(t,i)=>{const s=this.calculateTotalLength(t)*i;let o=0;for(let i=0;i<t.length-1;i++){const n=this.map.getDistance(t[i],t[i+1]);if(o+n>=s){const e=(s-o)/n;return new BMapGL.Point(t[i].lng+(t[i+1].lng-t[i].lng)*e,t[i].lat+(t[i+1].lat-t[i].lat)*e)}o+=n}return t[t.length-1]},this.calculateTotalLength=t=>{let i=0;for(let s=0;s<t.length-1;s++)i+=this.map.getDistance(t[s],t[s+1]);return i},this.calculateRotation=(t,i)=>{let s=Math.atan2(i.lat-t.lat,i.lng-t.lng)*(180/Math.PI);return s=90-s,s},this._addGroundOverlay=t=>{const{src:i,opacity:s,bounds:o,visible:n,id:e,zIndex:a}=t;let h=!0;if(o.southwest.longitude>=o.northeast.longitude||o.southwest.latitude>=o.northeast.latitude)return void(h=!1);if(o.southwest.latitude>90||o.southwest.latitude<-90||o.southwest.longitude>180||o.southwest.longitude<-180||isNaN(o.southwest.latitude)||isNaN(o.southwest.longitude))return void(h=!1);if(o.northeast.latitude>90||o.northeast.latitude<-90||o.northeast.longitude>180||o.northeast.longitude<-180||isNaN(o.northeast.latitude)||isNaN(o.northeast.longitude))return void(h=!1);const l=new BMapGL.Bounds(new BMapGL.Point(o.southwest.longitude,o.southwest.latitude),new BMapGL.Point(o.northeast.longitude,o.northeast.latitude));function r(t,i,s,o,n,e,a){this._bounds=t,this._imageUrl=i,this._map=s,this._visible=o,this._opacity=n,this._zIndex=e,this._id=a}(r.prototype=new BMapGL.Overlay).initialize=function(t){if(document.getElementById(this._id)){const t=document.getElementById(this._id);null==t||t.remove()}if(this._map=t,!this._div){const t=document.createElement("div");t.id=this._id,t.style.position="absolute",t.style.border="none",t.style.zIndex=this._zIndex;const i=document.createElement("img");i.src=this._imageUrl,i.style.opacity=this._opacity<0?"1":this._opacity,t.appendChild(i),this._div=t}return t.addEventListener("zoomend",(()=>{const i=t.pointToOverlayPixel(this._bounds.getSouthWest()),s=t.pointToOverlayPixel(this._bounds.getNorthEast()),o=s.x-i.x,n=i.y-s.y;this._div.style.width=o+"px",this._div.style.height=n+"px";const e=this._div.querySelector("img");e.style.width=o+"px",e.style.height=n+"px"})),t.getPanes().labelPane.appendChild(this._div),this._div},r.prototype.draw=function(){const i=this._map.pointToOverlayPixel({lat:t.bounds.northeast.latitude,lng:t.bounds.southwest.longitude});this._div.style.left=i.x+"px",this._div.style.top=i.y+"px";const s=this._map.getBounds(),o=this._map.pointToPixel(s.getSouthWest()),n=this._map.pointToPixel(s.getNorthEast()),e=n.x-o.x,a=n.y-o.y,h=this._map.getZoom(),l=e*Math.pow(2,18-h),r=a*Math.pow(2,18-h);this._div.style.width=l+"px",this._div.style.height=r+"px",this._div.style.display=this._visible?"block":"none";const d=this._opacity<0?"1":this._opacity;this._div.getElementsByTagName("img")[0].style.opacity=d};const d=new r(l,i,this.map,n,s,a,e);this.map.addOverlay(d);const p=this.map.getOverlays().sort(((t,i)=>t._zIndex-i._zIndex));this.groundOverlay=d,p.forEach((t=>t.draw()));const c=this.map.getZoom();return c<20?(this.map.setZoom(c+1),this.map.setZoom(c)):(this.map.setZoom(c-1),this.map.setZoom(c)),h},this._updateGroundOverlay=t=>{const{src:i,opacity:s,bounds:o,visible:n,id:e,zIndex:a}=t;let h,l=!0,r=!0,d={};const p=this.map.getOverlays().find((t=>t._id===e));if(!p)return l=!1,d={flagId:l,flagCoordinate:r},h=Object.assign({},d),h;if((o.southwest.longitude>=o.northeast.longitude||o.southwest.latitude>=o.northeast.latitude)&&(r=!1,d={flagId:l,flagCoordinate:r},h=Object.assign({},d)),(o.southwest.latitude>90||o.southwest.latitude<-90||o.southwest.longitude>180||o.southwest.longitude<-180||isNaN(o.southwest.latitude)||isNaN(o.southwest.longitude))&&(r=!1,d={flagId:l,flagCoordinate:r},h=Object.assign({},d)),(o.northeast.latitude>90||o.northeast.latitude<-90||o.northeast.longitude>180||o.northeast.longitude<-180||isNaN(o.northeast.latitude)||isNaN(o.northeast.longitude))&&(r=!1,d={flagId:l,flagCoordinate:r},h=Object.assign({},d)),l&&r){const t=new BMapGL.Bounds(new BMapGL.Point(o.southwest.longitude,o.southwest.latitude),new BMapGL.Point(o.northeast.longitude,o.northeast.latitude)),c=this.map.getZoom();if(p){const o=document.getElementById(e);if(o){const e=o.querySelector("img");if(e){o.style.opacity=s<0?"1":s,e.style.display=n?"block":"none",o.style.zIndex=a;const h=new Image;h.onload=()=>{e.src=i;const s=t.getNorthEast().lng-t.getSouthWest().lng,o=this.map.getSize().width/Math.pow(2,18-c)*s,n=o*(h.naturalHeight/h.naturalWidth);e.style.width=`${o}px`,e.style.height=`${n}px`,p._bounds=t,p.draw(),this.map.panTo(this.map.getCenter()),p.draw()},h.src=i}}}else console.error(`未找到id为${e}的元素`);return d={flagId:l,flagCoordinate:r},h=Object.assign({},d),h}return h},this._removeGroundOverlay=t=>{let i="";const s=this.map.getOverlays().find((i=>i._id===t.id));return i=s,s&&this.map.removeOverlay(s),i},this._setBoundary=t=>{let i=t.northeast.latitude,s=t.southwest.latitude,o=!0;if(t.northeast.latitude<=-80&&t.northeast.latitude>=-90&&(i=t.northeast.latitude+10),t.southwest.latitude<=-80&&t.southwest.latitude>=-90&&(s=t.southwest.latitude+10),t.northeast.latitude<-90||t.northeast.latitude>90||t.northeast.longitude<-180||t.northeast.longitude>180||isNaN(t.northeast.latitude)||isNaN(t.northeast.longitude)||t.northeast.longitude<t.southwest.longitude||t.northeast.latitude<t.southwest.latitude)return void(o=!1);if(t.southwest.latitude<-90||t.southwest.latitude>90||t.southwest.longitude<-180||t.southwest.longitude>180||isNaN(t.southwest.latitude)||isNaN(t.southwest.longitude))return void(o=!1);const n=new BMapGL.Point(t.northeast.longitude,i),e=new BMapGL.Point(t.southwest.longitude,s),a=new BMapGL.Bounds(e,n),h=this.map.getViewport([n,e]);return this.map.centerAndZoom(new BMapGL.Point(h.center.lng,h.center.lat),h.zoom+2),this.map.addOverlay(new BMapGL.Polygon([new BMapGL.Point(a.sw.lng,a.sw.lat),new BMapGL.Point(a.sw.lng,a.ne.lat),new BMapGL.Point(a.ne.lng,a.ne.lat),new BMapGL.Point(a.ne.lng,a.sw.lat)],{fillOpacity:0})),BMapGLLib.AreaRestriction.setBounds(this.map,a),o},this.latitude=void 0,this.longitude=void 0,this.scale=void 0,this.minScale=void 0,this.maxScale=void 0,this.markers=void 0,this.polyline=void 0,this.circles=void 0,this.polygons=void 0,this.subkey=void 0,this.layerStyle=void 0,this.rotate=void 0,this.skew=void 0,this.showCompass=void 0,this.showScale=void 0,this.enableOverlooking=void 0,this.enableZoom=void 0,this.enableScroll=void 0,this.enableRotate=void 0,this.enableSatellite=void 0,this.enableTraffic=void 0,this.enableBuilding=void 0,this.enableAutoMaxOverlooking=void 0,this.enable3D=void 0,this.width="100%",this.height="100%"}async componentDidLoad(){if(await this.loadMapScript(),await this.LoadBmapLibScript(),this.mapRef){if(this.mapRef.addEventListener("touchmove",(t=>{t.cancelable&&t.preventDefault()})),this.map=new BMapGL.Map(this.mapRef),this.map.removeControl(this.map.getMapType()),this.latitude<-90||this.latitude>90||this.longitude<-180||this.longitude>180||isNaN(this.latitude)||isNaN(this.longitude))return void console.error("请正确设置中心经纬度");let t=isNaN(this.scale)?16:this.scale,i=isNaN(this.minScale)?3:this.minScale,s=isNaN(this.maxScale)?16:this.maxScale;const o=new BMapGL.Point(this.longitude,this.latitude);i<3||i>20?(i=3,this.map.setMinZoom(3)):this.map.setMinZoom(i),s>20||s<3?(s=20,this.map.setMaxZoom(20)):this.map.setMaxZoom(s),i>s&&(i=3,this.map.setMinZoom(3),s=20,this.map.setMaxZoom(20)),i<=16&&s>=16?(t>=i&&t<=s||(t=16),this.map.centerAndZoom(o,t)):t>=i&&t<=s?this.map.centerAndZoom(o,t):t<i?(t=i,this.map.centerAndZoom(o,i)):(t=s,this.map.centerAndZoom(o,s)),Array.isArray(this.markers)&&this.addMarkers(this.markers),Array.isArray(this.polyline)&&this.polyline.forEach((t=>{if(t.points){const i=t.points.map((t=>new BMapGL.Point(t.longitude,t.latitude))),s=new BMapGL.Polyline(i,{strokeColor:t.color,strokeWeight:t.width,strokeStyle:t.dottedLine?"dashed":"solid",strokeOpacity:1});this.map.addOverlay(s)}})),Array.isArray(this.circles)&&this.circles.forEach((t=>{if(t.latitude&&t.longitude&&t.radius){const i=new BMapGL.Point(t.longitude,t.latitude),s=new BMapGL.Circle(i,t.radius,{strokeColor:t.color,fillColor:t.fillColor,strokeWeight:t.strokeWidth});this.map.addOverlay(s)}})),Array.isArray(this.polygons)&&this.polygons.forEach((t=>{const i=t.points.map((t=>new BMapGL.Point(t.longitude,t.latitude))),s=new BMapGL.Polygon(i,{strokeColor:t.strokeColor,fillColor:t.fillColor,strokeWeight:t.strokeWidth});this.map.addOverlay(s)})),0===this.layerStyle?this.layerStyle&&this.map.setMapStyleV2({styleId:this.subkey}):1===(this.layerStyle?this.layerStyle:1)&&this.map.setMapStyleV2({styleId:this.subkey});const n=this.skew?this.skew:0;if(this.map.setTilt(!0===(!0===this.enable3D&&this.enable3D)?!0===(!0===this.enableOverlooking&&this.enableOverlooking)?!0===(!0===this.enableAutoMaxOverlooking&&this.enableAutoMaxOverlooking)?75:45:n>=0&&n<=40?n:0:0),!0===(!0===this.showCompass&&this.showCompass)){const t=new BMapGL.NavigationControl3D({anchor:BMAP_ANCHOR_TOP_RIGHT,type:3});this.map.addControl(t)}if(!0===(!0===this.showScale&&this.showScale)){const t=new BMapGL.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT});this.map.addControl(t)}if(!0===(!1!==this.enableZoom||this.enableZoom)&&this.map.enableScrollWheelZoom(this.enableZoom),!0===this.enableZoom&&this.mapRef?this.map.enablePinchToZoom():this.map.disablePinchToZoom(),!0===(!1!==this.enableScroll||this.enableScroll)?this.map.enableDragging():this.map.disableDragging(),this.map.setHeading((this.rotate?this.rotate:0)>=0&&this.rotate<=360?this.rotate:0),!0===this.enableRotate&&this.map.enableRotateGestures(),!0===(!0===this.enableSatellite&&this.enableSatellite)&&this.mapRef){const t=new BMapGL.MapTypeControl({mapTypes:[BMAP_NORMAL_MAP,BMAP_SATELLITE_MAP]});this.map.addControl(t)}!0===(!0===this.enableTraffic&&this.enableTraffic)&&this.mapRef&&this.map.setTrafficOn(),!1===(!1!==this.enableBuilding||this.enableBuilding)&&this.map.setDisplayOptions({building:!1})}this.map&&new e(this.mapRef).on("tap",(t=>{const i=this.map.pixelToPoint({x:t.center.x,y:t.center.y});this.onTap.emit({longitude:i.lng,latitude:i.lat})}))}disconnectedCallback(){this.map&&this.map.destroy()}addMarkers(t){const i=[];t.forEach((t=>{var s,o,n,a,h,l,r,d,p,c,u,v,M,f;if(i.includes(t.id))console.error("请输入不同的marker的id");else if(i.push(t.id),t.latitude&&t.longitude&&t.iconPath&&t.id){if(t.latitude<-90||t.latitude>90||t.longitude<-180||t.longitude>180)return void console.error("请正确设置marker的经纬度");const i=new BMapGL.Point(t.longitude,t.latitude),b=new BMapGL.Marker(i,{enableClicking:!0});if(b.id=t.id,b.alpha=t.alpha,t.zIndex&&b.setZIndex(t.zIndex),t.width&&t.height){const i=document.createElement("canvas");i.width=2*t.width,i.height=2*t.height;const s=i.getContext("2d"),o=new Image;o.crossOrigin="Anonymous",o.src=t.iconPath,o.onload=function(){s.drawImage(o,0,0,2*t.width,2*t.height);const n=new BMapGL.Icon(i.toDataURL(),new BMapGL.Size(t.width,t.height),{anchor:new BMapGL.Size(0,0)});b.setIcon(n)}}else{const i=new Image;i.src=t.iconPath,i.style.opacity=String(t.alpha),i.onload=()=>{const s=new BMapGL.Size(i.width,i.height),o=new BMapGL.Icon(i.src,s);o.imageOffset=new BMapGL.Size(0,0,t.alpha||1),b.setIcon(o)}}const w=t.rotate?t.rotate:0;w>=0&&w<=360&&b.setRotation(w);const B=null!==(o=null===(s=t.anchor)||void 0===s?void 0:s.x)&&void 0!==o?o:.5,L=null!==(a=null===(n=t.anchor)||void 0===n?void 0:n.y)&&void 0!==a?a:1;if(b.setOffset(B>=0&&B<=1&&L>=0&&L<=1?new BMapGL.Size(-B*(t.width||0),-L*(t.height||0)):new BMapGL.Size(-.5*(t.width||0),-1*(t.height||0))),!t.callout&&t.title&&new e(this.mapRef).on("tap",(t=>{const s=t.center,o=s.x,n=s.y;this.markers.forEach((t=>{const s=document.getElementsByClassName("bmap-container")[0].getBoundingClientRect(),e=s.left,a=s.top,h=new BMapGL.Point(t.longitude,t.latitude),l=this.map.pointToPixel(h),r=l.y+a;if(Math.sqrt(Math.pow(o-(l.x+e),2)+Math.pow(n-r,2))<15&&t.id===b.id){const s=new BMapGL.InfoWindow(`<div style="text-align:center">${t.title}</div>`);this.map.openInfoWindow(s,i)}}))})),t.callout){const s=(null===(h=t.callout)||void 0===h?void 0:h.anchorX)?null===(l=t.callout)||void 0===l?void 0:l.anchorX:0,o=(null===(r=t.callout)||void 0===r?void 0:r.anchorY)?null===(d=t.callout)||void 0===d?void 0:d.anchorY:0,n=new BMapGL.InfoWindow(`<div style="\n padding: ${null===(p=t.callout)||void 0===p?void 0:p.padding}px;\n color:${null===(c=t.callout)||void 0===c?void 0:c.color};\n text-align:${null===(u=t.callout)||void 0===u?void 0:u.textAlign};"\n >\n <p style="font-size:${null===(v=t.callout)||void 0===v?void 0:v.fontSize}px">${(null===(M=t.callout)||void 0===M?void 0:M.content)||""}</p>\n </div>`,{width:200,height:100,offset:new BMapGL.Size(s-24,o-20)});if(b.callout=n,this.map.addOverlay(b),"ALWAYS"===(null===(f=t.callout)||void 0===f?void 0:f.display)){b.callout.disableCloseOnClick();const s=b.getPosition();b.callout.addEventListener("open",(function(){var i,o,n,e;const a=document.querySelector(".BMap_bubble_pop");if(a){let h=a.querySelector(".triangle");h||(h=document.createElement("div"),h.className="triangle",a.appendChild(h));const l=document.querySelector(".BMap_bubble_pop>img");l&&l.setAttribute("style",`position: absolute;transform: translate(-50%, 0); top: ${s.lat-100}px; left: ${s.lng-20}px;display:none`);const r=null===(i=t.callout)||void 0===i?void 0:i.bgColor;let d=(null===(o=t.callout)||void 0===o?void 0:o.borderWidth)||5;const p=null===(n=t.callout)||void 0===n?void 0:n.borderColor,c=null===(e=t.callout)||void 0===e?void 0:e.borderRadius;d=Math.min(d,15),h.setAttribute("style",`width:0;height:0;borderLeft:${d}px solid transparent;borderRight:${d}px solid transparent;borderTop:${d}px solid ${p};position:absolute;left:83px;bottom:-${2*d}px`),a.setAttribute("style",`background-color:${r};top:${s.lat-120}px; left:${s.lng-100}px;position: absolute;border: ${d}px solid ${p};border-radius:${c}px; `)}})),this.map.openInfoWindow(b.callout,i)}else new e(this.mapRef).on("tap",(t=>{const s=t.center,o=s.x,n=s.y;this.markers.forEach((t=>{const s=document.getElementsByClassName("bmap-container")[0].getBoundingClientRect(),e=s.left,a=s.top,h=new BMapGL.Point(t.longitude,t.latitude),l=this.map.pointToPixel(h),r=l.y+a;if(Math.sqrt(Math.pow(o-(l.x+e),2)+Math.pow(n-r,2))<15&&t.id===b.id){const s=b.getPosition();b.callout.addEventListener("open",(function(){var i,o,n,e;const a=document.querySelector(".BMap_bubble_pop");if(a){let h=a.querySelector(".triangle");h||(h=document.createElement("div"),h.className="triangle",a.appendChild(h));const l=document.querySelector(".BMap_bubble_pop>img");l&&l.setAttribute("style",`position: absolute;transform: translate(-50%, 0); top: ${s.lat-100}px; left: ${s.lng-20}px;display:none`);const r=null===(i=t.callout)||void 0===i?void 0:i.bgColor;let d=(null===(o=t.callout)||void 0===o?void 0:o.borderWidth)||5;const p=null===(n=t.callout)||void 0===n?void 0:n.borderColor,c=null===(e=t.callout)||void 0===e?void 0:e.borderRadius;d=Math.min(d,15),h.setAttribute("style",`width:0;height:0;border-left:${d}px solid transparent;border-right:${d}px solid transparent;border-top:${d}px solid ${p};position:absolute;left:83px;bottom:-${2*d}px`),a.setAttribute("style",`background-color:${r};top:${s.lat-120}px; left:${s.lng-100}px;position: absolute;border: ${d}px solid ${p};border-radius:${c}px; `)}})),this.map.openInfoWindow(b.callout,i)}else b.callout.enableCloseOnClick()}))}))}if(t.label){const s=t.label.content||"",o={position:i,offset:new BMapGL.Size(t.label.anchorX||0,t.label.anchorY||0)},n=new BMapGL.Label(s,o);n.setStyle({color:t.label.color,fontSize:t.label.fontSize+"px",borderWidth:t.label.borderWidth+"px",borderColor:t.label.borderColor?t.label.borderColor:"white",borderRadius:t.label.borderRadius+"px",background:t.label.bgColor,padding:t.label.padding+"px"}),b.setLabel(n)}this.map.addOverlay(b)}else console.error("请检查marker经纬度和marker自定义图标路径和id值")}))}loadMapScript(){return new Promise(((t,i)=>{const s=document.createElement("script");s.src="https://api.map.baidu.com/getscript?v=3.0&type=webgl&ak=Mb1FLBD3gfnY6bup4v6zEWh6MXwsZ9eo",s.defer=!0,s.onload=()=>t(),s.onerror=i,s.type="text/javascript",document.head.appendChild(s)}))}async LoadBmapLibScript(){return new Promise(((t,i)=>{const s=document.createElement("script");s.src="//mapopen.bj.bcebos.com/github/BMapGLLib/AreaRestriction/src/AreaRestriction.min.js",s.defer=!0,s.type="text/javascript",s.onload=()=>{t()},s.onerror=i,document.head.appendChild(s)}))}render(){return s(o,null,s("div",{id:"mapContainer",ref:t=>{t&&(this.mapRef=t)},style:{width:this.width,height:this.height}}))}get el(){return n(this)}};a.style=".BMap_cpyCtrl,.anchorBL img,.BMap_bubble_buttons{display:none}";export{a as M}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r,H as s}from"./p-9896a737.js";import{n as t}from"./p-dbdb9de9.js";const a=class{constructor(r){o(this,r)}componentDidLoad(){t("RootPortal",this)}render(){return r(s,null)}};export{a as R}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{A as taro_ad_custom_core}from"./p-01455cad.js";import"./p-9896a737.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,r as a,c as e,H as i,g as r}from"./p-
|
|
1
|
+
import{h as t,r as a,c as e,H as i,g as r}from"./p-9896a737.js";import{stripSuffix as o,stripBasename as s,addLeadingSlash as n,getCurrentPage as b}from"@tarojs/runtime";import h from"@tarojs/taro";import{c as l}from"./p-160d710a.js";import d from"resolve-pathname";import{a as c}from"./p-5893c3ed.js";const _=t=>{let a,e=t||"";const i={path:null,query:null,fragment:null};return a=e.indexOf("#"),a>-1&&(i.fragment=e.substring(a+1),e=e.substring(0,a)),a=e.indexOf("?"),a>-1&&(i.query=e.substring(a+1),e=e.substring(0,a)),i.path=e,i},u=({index:a,isSelected:e=!1,textColor:i,iconPath:r,badgeText:o,showRedDot:s=!1,pagePath:n,text:b,onSelect:d})=>{const _=l("weui-tabbar__item",{"weui-bar__item_on":e});return t("a",{key:a,href:"javascript:;",class:_,onClick:function(){const t=h.getCurrentPages().shift();"function"==typeof(null==t?void 0:t.onTabItemTap)&&c(this)&&t.onTabItemTap({index:a,pagePath:n,text:b}),d(a)}},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:r,alt:"",class:"weui-tabbar__icon"}),!!o&&t("span",{class:"weui-badge taro-tabbar-badge",style:{position:"absolute",top:"-2px",right:"-13px"}},o),s&&t("span",{class:"weui-badge weui-badge_dot",style:{position:"absolute",top:"0",right:"-6px"}})),t("p",{class:"weui-tabbar__label",style:{color:i}},b))},g="taro-tabbar__tabbar",p=class{constructor(t){a(this,t),this.onLongPress=e(this,"longpress",7),this.homePage="",this.customRoutes=[],this.tabbarPos="bottom",this.getOriginUrl=t=>{const a=this.customRoutes.filter((([,a])=>_(a).path===_(t).path));return o(a.length?a[0][0]:t,".html")},this.getSelectedIndex=t=>{let a=-1;return this.list.forEach((({pagePath:e},i)=>{_(t).path===_(e).path&&(a=i)})),a},this.switchTab=t=>{this.selectedIndex=t,h.switchTab({url:this.list[t].pagePath})},this.switchTabHandler=({url:t,successHandler:a,errorHandler:e})=>{const i=this.getOriginUrl(this.getCurrentUrl()||this.homePage),r=d(t,i),o=this.getSelectedIndex(r);o>-1?(this.switchTab(o),a({errMsg:"switchTab:ok"})):e({errMsg:`switchTab:fail page "${r}" is not found`})},this.routerChangeHandler=t=>{var a;const e=null===(a=null==t?void 0:t.toLocation)||void 0===a?void 0:a.path;let i;if("string"==typeof e){const t=this.conf.basename||"/";i=s(n(e||this.homePage),t)||"/"}else i=this.getCurrentUrl();this.selectedIndex=this.getSelectedIndex(this.getOriginUrl(i))},this.setTabBarBadgeHandler=({index:t,text:a,successHandler:e,errorHandler:i})=>{const r=[...this.list];t in r?(r[t].showRedDot=!1,r[t].badgeText=a,e({errMsg:"setTabBarBadge:ok"})):i({errMsg:"setTabBarBadge:fail tabbar item not found"}),this.list=r},this.removeTabBarBadgeHandler=({index:t,successHandler:a,errorHandler:e})=>{const i=[...this.list];t in i?(i[t].badgeText=null,i[t].badgeText=null,a({errMsg:"removeTabBarBadge:ok"})):e({errMsg:"removeTabBarBadge:fail tabbar item not found"}),this.list=i},this.showTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:e})=>{const i=[...this.list];t in i?(i[t].badgeText=null,i[t].showRedDot=!0,a({errMsg:"showTabBarRedDot:ok"})):e({errMsg:"showTabBarRedDot:fail tabbar item not found"}),this.list=i},this.hideTabBarRedDotHandler=({index:t,successHandler:a,errorHandler:e})=>{const i=[...this.list];t in i?(i[t].showRedDot=!1,a({errMsg:"hideTabBarRedDot:ok"})):e({errMsg:"hideTabBarRedDot:fail tabbar item not found"}),this.list=i},this.showTabBarHandler=({successHandler:t})=>{this.status=0,t({errMsg:"showTabBar:ok"})},this.hideTabBarHandler=({animation:t,successHandler:a})=>{this.status=t?2:1,a({errMsg:"hideTabBar:ok"})},this.setTabBarStyleHandler=({color:t,selectedColor:a,backgroundColor:e,borderStyle:i,successHandler:r})=>{e&&(this.backgroundColor=e),i&&(this.borderStyle=i),t&&(this.color=t),a&&(this.selectedColor=a),r({errMsg:"setTabBarStyle:ok"})},this.setTabBarItemHandler=({index:t,iconPath:a,selectedIconPath:e,text:i,successHandler:r,errorHandler:o})=>{const s=[...this.list];t in s?(a&&(s[t].iconPath=a),e&&(s[t].selectedIconPath=e),i&&(s[t].text=i),r({errMsg:"setTabBarItem:ok"})):o({errMsg:"setTabBarItem:fail tabbar item not found"}),this.list=s},this.conf=void 0,this.list=void 0,this.borderStyle=void 0,this.backgroundColor=void 0,this.color=void 0,this.selectedColor=void 0,this.selectedIndex=-1,this.status=0}componentWillLoad(){var t,a;const e=(null===(t=this.conf)||void 0===t?void 0:t.list)||[],i=(null===(a=this.conf)||void 0===a?void 0:a.customRoutes)||{};if("[object Array]"!==Object.prototype.toString.call(e)||e.length<2||e.length>5)throw new Error("tabBar 配置错误");this.homePage=n(this.conf.homePage);for(let t in i){const a=i[t];t=n(t),"string"==typeof a?this.customRoutes.push([t,n(a)]):(null==a?void 0:a.length)>0&&this.customRoutes.push(...a.map((a=>[t,n(a)])))}e.forEach((t=>{0!==t.pagePath.indexOf("/")&&(t.pagePath="/"+t.pagePath)})),this.list=e,this.borderStyle=this.conf.borderStyle,this.backgroundColor=this.conf.backgroundColor,this.color=this.conf.color,this.selectedColor=this.conf.selectedColor}getCurrentUrl(){const t=b(this.conf.mode,this.conf.basename);return decodeURI("/"===t?this.homePage:t)}bindEvent(){h.eventCenter.on("__taroRouterChange",this.routerChangeHandler),h.eventCenter.on("__taroSwitchTab",this.switchTabHandler),h.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler),h.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),h.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),h.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),h.eventCenter.on("__taroShowTabBar",this.showTabBarHandler),h.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler),h.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler),h.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)}removeEvent(){h.eventCenter.off("__taroRouterChange",this.routerChangeHandler),h.eventCenter.off("__taroSwitchTab",this.switchTabHandler),h.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler),h.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler),h.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler),h.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler),h.eventCenter.off("__taroShowTabBar",this.showTabBarHandler),h.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler),h.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler),h.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)}componentDidLoad(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom",this.bindEvent(),this.routerChangeHandler()}disconnectedCallback(){this.removeEvent()}render(){const{tabbarPos:a="bottom"}=this,e=this.status,r=l("weui-tabbar",{[`taro-tabbar__border-${this.borderStyle||"black"}`]:!0});return t(i,{class:l(g,`${g}-${a}`,{"taro-tabbar__tabbar-hide":-1===this.selectedIndex||1===e,"taro-tabbar__tabbar-slideout":2===e})},t("div",{class:r,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map(((a,e)=>{const i=this.selectedIndex===e;let r,o;return i?(r=this.selectedColor||"",o=a.selectedIconPath):(r=this.color||"",o=a.iconPath),t(u,{index:e,onSelect:this.switchTab.bind(this),isSelected:i,textColor:r,iconPath:o,pagePath:a.pagePath,text:a.text,badgeText:a.badgeText,showRedDot:a.showRedDot})}))))}get tabbar(){return r(this)}};p.style='.weui-tabbar{z-index:500;background-color:#f7f7fa;align-items:center;width:100%;display:flex;position:absolute;bottom:0}.weui-tabbar:before{content:" ";color:#c0bfc4;transform-origin:0 0;border-top:1px solid #c0bfc4;height:1px;position:absolute;top:0;left:0;right:0;transform:scaleY(.5)}.weui-tabbar__item{padding:5px 0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);color:#999;text-align:center;-webkit-tap-highlight-color:transparent;flex:1;font-size:0;display:block}.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon>i,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__label{color:#09bb07}.weui-tabbar__icon{width:27px;height:27px;display:inline-block}.weui-tabbar__icon img{width:100%;height:100%}i.weui-tabbar__icon,.weui-tabbar__icon>i{color:#999;font-size:24px}.weui-tabbar__label{text-align:center;color:#999;font-size:10px;line-height:1.8}.weui-badge{color:#fff;text-align:center;vertical-align:middle;background-color:#f43530;border-radius:18px;min-width:8px;padding:.15em .4em;font-size:12px;line-height:1.2;display:inline-block}.weui-badge_dot{min-width:0;padding:.4em}:root{--taro-tabbar-height:50px}#app{height:100%}.taro-tabbar__border-white:before{border-top-color:#fff!important}.taro-tabbar__container{flex-direction:column;height:100%;display:flex;overflow:hidden}.taro-tabbar__panel{-webkit-overflow-scrolling:auto;flex:1;position:relative;overflow:auto}.taro-tabbar__tabbar{width:100%;height:var(--taro-tabbar-height);transition:bottom .2s,top .2s;position:relative}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom);bottom:0}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{flex:0 0;top:-52px}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}';export{u as T,p as a}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as s,H as o}from"./p-
|
|
1
|
+
import{r,h as s,H as o}from"./p-9896a737.js";import{n}from"./p-dbdb9de9.js";const t=class{constructor(s){r(this,s)}componentDidLoad(){n("ChannelLive",this)}render(){return s(o,null)}};export{t as C}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r,H as s}from"./p-9896a737.js";import{n as t}from"./p-dbdb9de9.js";const a=class{constructor(r){o(this,r)}componentDidLoad(){t("NativeSlot",this)}render(){return r(s,null)}};export{a as N}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as taro_picker_core,T as taro_picker_group}from"./p-0359cc11.js";import"./p-9896a737.js";import"./p-160d710a.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{G as taro_grid_builder_core}from"./p-2b3cf6f2.js";import"./p-9896a737.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{H as taro_horizontal_drag_gesture_handler_core}from"./p-f4723222.js";import"./p-9896a737.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{S as taro_span_core}from"./p-ce0e1e4b.js";import"./p-9896a737.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{F as taro_force_press_gesture_handler_core}from"./p-2cf923cf.js";import"./p-9896a737.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{C as taro_cover_view_core}from"./p-01cd3327.js";import"./p-9896a737.js";import"./p-160d710a.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{B as taro_button_core}from"./p-0941ad4c.js";import"./p-9896a737.js";import"./p-160d710a.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{N as taro_native_slot_core}from"./p-e34aabf9.js";import"./p-9896a737.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{V as taro_view_core}from"./p-81d99466.js";import"./p-9896a737.js";import"./p-160d710a.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -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-9896a737.js";function e(t){return null!=t?t:""}const a=class{constructor(i){t(this,i),this.onInput=s(this,"input",7),this.onFocus=s(this,"focus",7),this.onBlur=s(this,"blur",7),this.onConfirm=s(this,"confirm",7),this.onChange=s(this,"change",7),this.onLineChange=s(this,"linechange",7),this.onKeyDown=s(this,"keydown",7),this.handleInput=t=>{t.stopPropagation(),this.handleLineChange();const s=t.target.value||"";this.value=s,this.onInput.emit({value:s,cursor:s.length})},this.handleFocus=t=>{t.stopPropagation(),this.onFocus.emit({value:t.target.value})},this.handleBlur=t=>{t.stopPropagation(),this.onBlur.emit({value:t.target.value})},this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:t.target.value})},this.handleLineChange=()=>{const t=this.getNumberOfLines();t!==this.line&&(this.line=t,this.onLineChange.emit({height:this.textareaRef.clientHeight,lineCount:this.line}))},this.handleKeyDown=t=>{t.stopPropagation();const{value:s}=t.target,i=t.keyCode||t.code;this.onKeyDown.emit({value:s,cursor:s.length,keyCode:i}),13===i&&this.onConfirm.emit({value:s})},this.calculateContentHeight=(t,s)=>{let i=t.style.height,h=t.offsetHeight,e=t.scrollHeight,a=t.style.overflow,o=t.style.minHeight||null;if(!(h>=e))return e;if(t.style.minHeight=0,t.style.height=h+s+"px",t.style.overflow="hidden",e<t.scrollHeight){for(;t.offsetHeight>=t.scrollHeight;)t.style.height=(h-=s)+"px";for(;t.offsetHeight<t.scrollHeight;)t.style.height=h+++"px";return t.style.height=i,t.style.overflow=a,t.style.minHeight=o,h}},this.getNumberOfLines=()=>{const t=this.textareaRef,s=window.getComputedStyle?window.getComputedStyle(t):t.style,i=parseInt(s.lineHeight,10),h=this.calculateContentHeight(t,i);return Math.floor(h/i)},this.value="",this.placeholder=void 0,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.autoHeight=!1,this.name=void 0,this.nativeProps={},this.line=1}watchAutoFocus(t,s){var i;!s&&t&&(null===(i=this.textareaRef)||void 0===i||i.focus())}watchValue(t){const s=e(t);this.textareaRef.value!==s&&(this.textareaRef.value=s)}async focus(){this.textareaRef.focus()}render(){const{value:t,placeholder:s,disabled:h,maxlength:a,autoFocus:o,autoHeight:n,name:r,nativeProps:u,handleInput:l,handleFocus:c,handleBlur:d,handleChange:p}=this,g={};return n&&(g.rows=this.line),i("textarea",Object.assign({ref:t=>{t&&(this.textareaRef=t,o&&t&&t.focus())},class:"taro-textarea "+(n?"auto-height":""),value:e(t),placeholder:s,name:r,disabled:h,maxlength:a,autofocus:o,onInput:l,onFocus:c,onBlur:d,onChange:p,onKeyDown:this.handleKeyDown},u,g))}get el(){return h(this)}static get watchers(){return{autoFocus:["watchAutoFocus"],value:["watchValue"]}}};a.style="taro-textarea-core{width:300px;display:block}taro-textarea-core .auto-height{height:auto}.taro-textarea{width:100%;height:inherit;appearance:none;cursor:auto;border:0;line-height:1.5;display:block;position:relative}.taro-textarea:focus{outline:none}";export{a as T}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as o,H as s}from"./p-9896a737.js";import{n as t}from"./p-dbdb9de9.js";const a=class{constructor(o){r(this,o)}componentDidLoad(){t("HorizontalDragGestureHandler",this)}render(){return o(s,null)}};export{a as H}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as s}from"./p-9896a737.js";const t=class{constructor(s){r(this,s),this.for=void 0}render(){return s("label",{htmlFor:this.for},s("slot",null))}};export{t as L}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as s,H as o}from"./p-9896a737.js";import{n as t}from"./p-dbdb9de9.js";const a=class{constructor(s){r(this,s)}componentDidLoad(){t("DraggableSheet",this)}render(){return s(o,null)}};export{a as D}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{N as taro_navigation_bar_core}from"./p-dc7fd648.js";import"./p-9896a737.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as s,H as o}from"./p-
|
|
1
|
+
import{r,h as s,H as o}from"./p-9896a737.js";import{n as t}from"./p-dbdb9de9.js";const e=class{constructor(s){r(this,s)}componentDidLoad(){t("NestedScrollHeader",this)}render(){return s(o,null)}};export{e as N}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as s,H as o}from"./p-
|
|
1
|
+
import{r,h as s,H as o}from"./p-9896a737.js";import{n as t}from"./p-dbdb9de9.js";const e=class{constructor(s){r(this,s)}componentDidLoad(){t("LongPressGestureHandler",this)}render(){return s(o,null)}};export{e as L}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as s,H as o}from"./p-
|
|
1
|
+
import{r,h as s,H as o}from"./p-9896a737.js";import{n as t}from"./p-dbdb9de9.js";const a=class{constructor(s){r(this,s)}componentDidLoad(){t("Camera",this)}render(){return s(o,null)}};export{a as C}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as s,H as o}from"./p-9896a737.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(s){r(this,s)}componentDidLoad(){t("Ad",this)}render(){return s(o,null)}};export{n as A}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as o,H as s}from"./p-
|
|
1
|
+
import{r,h as o,H as s}from"./p-9896a737.js";import{n}from"./p-dbdb9de9.js";const t=class{constructor(o){r(this,o)}componentDidLoad(){n("OpenContainer",this)}render(){return o(s,null)}};export{t as O}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as s,H as t}from"./p-9896a737.js";const o=class{constructor(s){r(this,s)}render(){return s(t,null)}};export{o as C}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as o}from"./p-f72fcd8c.js";export{s as setNonce}from"./p-f72fcd8c.js";(()=>{const o=import.meta.url,a={};return""!==o&&(a.resourcesUrl=new URL(".",o).href),e(a)})().then((e=>o(JSON.parse('[["p-aca7aea1",[[4,"taro-checkbox-core",{"name":[1],"value":[1032],"color":[1],"id":[1025],"checked":[4],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}],[0,"taro-checkbox-group-core",{"name":[8]},[[0,"checkboxchange","function"]]]]],["p-14795db7",[[0,"taro-movable-area-core",{"scaleArea":[4,"scale-area"]}],[0,"taro-movable-view-core",{"x":[8],"y":[8],"direction":[1],"outOfBounds":[4,"out-of-bounds"],"inertia":[4],"friction":[2],"damping":[2],"disabled":[4],"scale":[4],"scaleMin":[2,"scale-min"],"scaleMax":[2,"scale-max"],"scaleValue":[2,"scale-value"],"animation":[4],"setParent":[64],"endScale":[64],"setScale":[64]}]]],["p-127391cb",[[0,"taro-picker-view-column-core",{"col":[1],"initialPosition":[1,"initial-position"],"paddingVertical":[2,"padding-vertical"],"isInit":[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]],[4,"taro-picker-view-core",{"indicatorStyle":[1,"indicator-style"],"indicatorClass":[1,"indicator-class"],"value":[16],"maskStyle":[1,"mask-style"],"maskClass":[1,"mask-class"]},[[0,"onselect","onSelect"],[0,"onselectstart","onSelectStart"],[0,"onselectend","onPickerColEnd"]]]]],["p-df86c576",[[4,"taro-radio-core",{"name":[1],"value":[1],"id":[1025],"checked":[1540],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}],[0,"taro-radio-group-core",{"name":[8]},[[0,"radiochange","function"]]]]],["p-b70027b2",[[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"currentItemId":[1,"current-item-id"],"interval":[2],"duration":[2],"circular":[4],"vertical":[4],"previousMargin":[1,"previous-margin"],"nextMargin":[1,"next-margin"],"displayMultipleItems":[2,"display-multiple-items"],"full":[4],"zoom":[4],"effectsProps":[16],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32]}],[4,"taro-swiper-item-core",{"itemId":[1,"item-id"]}]]],["p-7c455a65",[[0,"taro-ad-core"]]],["p-38598f5b",[[0,"taro-ad-custom-core"]]],["p-0f829f27",[[0,"taro-animation-video-core"]]],["p-92a39ad9",[[0,"taro-animation-view-core"]]],["p-b19ea38d",[[0,"taro-ar-camera-core"]]],["p-6223811d",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["p-922047dd",[[0,"taro-aweme-data-core"]]],["p-4f4b08df",[[0,"taro-block-core"]]],["p-0795a339",[[4,"taro-button-core",{"disabled":[4],"hoverClass":[1,"hover-class"],"type":[1],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"size":[1],"plain":[4],"loading":[4],"formType":[513,"form-type"],"hover":[32],"touch":[32]},[[0,"click","onClick"],[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["p-773bed49",[[0,"taro-camera-core"]]],["p-1ad94bf6",[[0,"taro-canvas-core",{"canvasId":[1,"id"],"height":[1537],"width":[1537],"nativeProps":[16]}]]],["p-e0de8e35",[[0,"taro-channel-live-core"]]],["p-094ba888",[[0,"taro-channel-video-core"]]],["p-c66f2363",[[0,"taro-comment-detail-core"]]],["p-a0ff43d9",[[0,"taro-comment-list-core"]]],["p-74ac6c91",[[0,"taro-contact-button-core"]]],["p-5ea030de",[[0,"taro-cover-image-core",{"src":[1],"nativeProps":[16]}]]],["p-80fa0c7c",[[4,"taro-cover-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-eac9f475",[[0,"taro-custom-wrapper-core"]]],["p-806e3c4f",[[0,"taro-double-tap-gesture-handler-core"]]],["p-65c51f07",[[0,"taro-draggable-sheet-core"]]],["p-03b54b0b",[[0,"taro-editor-core"]]],["p-3f650751",[[0,"taro-follow-swan-core"]]],["p-145ba514",[[0,"taro-force-press-gesture-handler-core"]]],["p-69147844",[[4,"taro-form-core",null,[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-0741aa7f",[[0,"taro-functional-page-navigator-core"]]],["p-f57bed55",[[0,"taro-grid-builder-core"]]],["p-61b23b53",[[0,"taro-grid-view-core"]]],["p-c5c71b89",[[0,"taro-horizontal-drag-gesture-handler-core"]]],["p-d45a75d9",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["p-cb7e1d6e",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32],"didLoad":[32]}]]],["p-0a92117d",[[0,"taro-inline-payment-panel-core"]]],["p-9a0251c5",[[0,"taro-input-core",{"value":[1025],"type":[1],"password":[4],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"confirmType":[1,"confirm-type"],"name":[1],"readonly":[4],"nativeProps":[16],"focus":[64]}]]],["p-168a6355",[[0,"taro-keyboard-accessory-core"]]],["p-2602cd28",[[4,"taro-label-core",{"for":[1]}]]],["p-1d2b2125",[[0,"taro-lifestyle-core"]]],["p-e87d4a75",[[0,"taro-like-core"]]],["p-e6565988",[[0,"taro-list-builder-core"]]],["p-ae203a0b",[[0,"taro-list-view-core"]]],["p-975f1b0c",[[0,"taro-live-player-core"]]],["p-3f4449b0",[[0,"taro-live-pusher-core"]]],["p-8837c166",[[0,"taro-login-core"]]],["p-eee2d2f9",[[0,"taro-long-press-gesture-handler-core"]]],["p-2ff21d39",[[0,"taro-lottie-core"]]],["p-5bd11f73",[[0,"taro-map-core",{"latitude":[2],"longitude":[2],"scale":[2],"minScale":[2,"min-scale"],"maxScale":[2,"max-scale"],"markers":[16],"polyline":[16],"circles":[16],"polygons":[16],"subkey":[1],"layerStyle":[2,"layer-style"],"rotate":[2],"skew":[2],"showCompass":[4,"show-compass"],"showScale":[4,"show-scale"],"enableOverlooking":[4,"enable-overlooking"],"enableZoom":[4,"enable-zoom"],"enableScroll":[4,"enable-scroll"],"enableRotate":[4,"enable-rotate"],"enableSatellite":[4,"enable-satellite"],"enableTraffic":[4,"enable-traffic"],"enableBuilding":[4,"enable-building"],"enableAutoMaxOverlooking":[4,"enable-auto-max-overlooking"],"enable3D":[4,"enable-3-d"],"width":[1],"height":[1]}]]],["p-9581e63b",[[0,"taro-match-media-core"]]],["p-b89414d7",[[0,"taro-native-slot-core"]]],["p-5b216b21",[[0,"taro-navigation-bar-core"]]],["p-ab09cecf",[[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]]],["p-ad865966",[[0,"taro-nested-scroll-body-core"]]],["p-e6643dc0",[[0,"taro-nested-scroll-header-core"]]],["p-fe1c20a9",[[0,"taro-official-account-core"]]],["p-edab4852",[[0,"taro-open-container-core"]]],["p-bcceaa84",[[0,"taro-open-data-core"]]],["p-582a0e0f",[[0,"taro-page-container-core"]]],["p-c09eb36f",[[0,"taro-page-meta-core"]]],["p-496a9932",[[0,"taro-pan-gesture-handler-core"]]],["p-f52b25aa",[[0,"taro-progress-core",{"percent":[2],"showInfo":[4,"show-info"],"borderRadius":[8,"border-radius"],"fontSize":[8,"font-size"],"strokeWidth":[8,"stroke-width"],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"active":[4]}]]],["p-931bba41",[[4,"taro-pull-to-refresh-core",{"prefixCls":[1,"prefix-cls"],"distanceToRefresh":[2,"distance-to-refresh"],"damping":[2],"indicator":[16],"currSt":[32],"dragOnEdge":[32]}]]],["p-9f953e69",[[0,"taro-rich-text-core",{"nodes":[1],"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1]}]]],["p-e298a2c3",[[0,"taro-root-portal-core"]]],["p-cdeebf36",[[0,"taro-rtc-room-core"]]],["p-8f2a4c66",[[0,"taro-rtc-room-item-core"]]],["p-c3d39813",[[0,"taro-scale-gesture-handler-core"]]],["p-2c48f6cb",[[0,"taro-script-core"]]],["p-00e72620",[[4,"taro-scroll-view-core",{"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"upperThreshold":[8,"upper-threshold"],"lowerThreshold":[8,"lower-threshold"],"mpScrollTop":[520,"scroll-top"],"mpScrollLeft":[520,"scroll-left"],"mpScrollIntoView":[513,"scroll-into-view"],"mpScrollIntoViewAlignment":[1,"scroll-into-view-alignment"],"animated":[4,"scroll-with-animation"],"enhanced":[4],"showScrollbar":[4,"show-scrollbar"],"mpScrollToMethod":[64],"mpScrollIntoViewMethod":[64]},[[1,"scroll","handleScroll"],[1,"touchmove","handleTouchMove"]]]]],["p-a3b266d5",[[0,"taro-share-element-core"]]],["p-d6be1ceb",[[0,"taro-slider-core",{"min":[2],"max":[2],"step":[2],"disabled":[4],"value":[1538],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"blockSize":[2,"block-size"],"blockColor":[1,"block-color"],"showValue":[4,"show-value"],"name":[1],"totalWidth":[32],"touching":[32],"ogX":[32],"touchId":[32],"percent":[32],"ogPercent":[32],"isWillLoadCalled":[32]}]]],["p-fa398c76",[[0,"taro-slot-core"]]],["p-8c520f1e",[[0,"taro-snapshot-core"]]],["p-06b4ba14",[[0,"taro-span-core"]]],["p-3837f853",[[0,"taro-sticky-header-core"]]],["p-ea5d6d41",[[0,"taro-sticky-section-core"]]],["p-5cbc249f",[[0,"taro-switch-core",{"type":[1],"checked":[1028],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]]],["p-31f2f332",[[0,"taro-tab-item-core"]]],["p-2b8fae1c",[[0,"taro-tabbar",{"conf":[16],"list":[32],"borderStyle":[32],"backgroundColor":[32],"color":[32],"selectedColor":[32],"selectedIndex":[32],"status":[32]}]]],["p-c84153ae",[[0,"taro-tabs-core"]]],["p-8bc13e66",[[0,"taro-tap-gesture-handler-core"]]],["p-73aae58b",[[4,"taro-text-core",{"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1025],"numberOfLines":[2,"number-of-lines"]}]]],["p-052dbbd9",[[0,"taro-textarea-core",{"value":[1025],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"autoHeight":[4,"auto-height"],"name":[1],"nativeProps":[16],"line":[32],"focus":[64]}]]],["p-0ecccbb4",[[0,"taro-vertical-drag-gesture-handler-core"]]],["p-88048df9",[[4,"taro-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-ffcacf9a",[[0,"taro-voip-room-core"]]],["p-5570a53e",[[0,"taro-web-view-core",{"src":[1]}]]],["p-b90499e4",[[4,"taro-picker-core",{"mode":[1],"disabled":[4],"range":[16],"rangeKey":[1,"range-key"],"value":[1032],"start":[1],"end":[1],"fields":[1],"name":[1],"textProps":[16],"pickerValue":[32],"height":[32],"hidden":[32],"fadeOut":[32],"isWillLoadCalled":[32]}],[0,"taro-picker-group",{"mode":[1],"range":[16],"rangeKey":[1,"range-key"],"height":[2],"columnId":[1,"column-id"],"updateHeight":[16],"updateDay":[16],"startY":[32],"preY":[32],"hadMove":[32],"touchEnd":[32],"isMove":[32],"handleMoveStart":[64],"handleMoving":[64],"handleMoveEnd":[64]},[[1,"mousedown","onMouseDown"],[3,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[3,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-905410a9",[[0,"taro-video-core",{"src":[1],"duration":[2],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"initialTime":[2,"initial-time"],"poster":[1],"objectFit":[1,"object-fit"],"showProgress":[4,"show-progress"],"showFullscreenBtn":[4,"show-fullscreen-btn"],"showPlayBtn":[4,"show-play-btn"],"showCenterPlayBtn":[4,"show-center-play-btn"],"showMuteBtn":[4,"show-mute-btn"],"danmuList":[16],"danmuBtn":[4,"danmu-btn"],"enableDanmu":[4,"enable-danmu"],"enablePlayGesture":[4,"enable-play-gesture"],"enableProgressGesture":[4,"enable-progress-gesture"],"vslideGesture":[4,"vslide-gesture"],"vslideGestureInFullscreen":[4,"vslide-gesture-in-fullscreen"],"nativeProps":[16],"_duration":[32],"_enableDanmu":[32],"isPlaying":[32],"isFirst":[32],"isFullScreen":[32],"fullScreenTimestamp":[32],"isMute":[32],"getHlsObject":[64],"play":[64],"pause":[64],"stop":[64],"seek":[64],"requestFullScreen":[64],"exitFullScreen":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{"controls":[4],"currentTime":[2,"current-time"],"duration":[2],"isPlaying":[4,"is-playing"],"pauseFunc":[16],"playFunc":[16],"seekFunc":[16],"showPlayBtn":[4,"show-play-btn"],"showProgress":[4,"show-progress"],"setProgressBall":[64],"toggleVisibility":[64],"getIsDraggingProgressBall":[64],"setCurrentTime":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{"enable":[4],"danmuList":[32],"sendDanmu":[64],"tick":[64]}]]]]'),e)));
|
|
1
|
+
import{p as e,b as o}from"./p-9896a737.js";export{s as setNonce}from"./p-9896a737.js";(()=>{const o=import.meta.url,a={};return""!==o&&(a.resourcesUrl=new URL(".",o).href),e(a)})().then((e=>o(JSON.parse('[["p-07fc6337",[[4,"taro-checkbox-core",{"name":[1],"value":[1032],"color":[1],"id":[1025],"checked":[4],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}],[0,"taro-checkbox-group-core",{"name":[8]},[[0,"checkboxchange","function"]]]]],["p-c51f862e",[[0,"taro-movable-area-core",{"scaleArea":[4,"scale-area"]}],[0,"taro-movable-view-core",{"x":[8],"y":[8],"direction":[1],"outOfBounds":[4,"out-of-bounds"],"inertia":[4],"friction":[2],"damping":[2],"disabled":[4],"scale":[4],"scaleMin":[2,"scale-min"],"scaleMax":[2,"scale-max"],"scaleValue":[2,"scale-value"],"animation":[4],"setParent":[64],"endScale":[64],"setScale":[64]}]]],["p-9099c40a",[[0,"taro-picker-view-column-core",{"col":[1],"initialPosition":[1,"initial-position"],"paddingVertical":[2,"padding-vertical"],"isInit":[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]],[4,"taro-picker-view-core",{"indicatorStyle":[1,"indicator-style"],"indicatorClass":[1,"indicator-class"],"value":[16],"maskStyle":[1,"mask-style"],"maskClass":[1,"mask-class"]},[[0,"onselect","onSelect"],[0,"onselectstart","onSelectStart"],[0,"onselectend","onPickerColEnd"]]]]],["p-c6056499",[[4,"taro-radio-core",{"name":[1],"value":[1],"id":[1025],"checked":[1540],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}],[0,"taro-radio-group-core",{"name":[8]},[[0,"radiochange","function"]]]]],["p-a97c2d7d",[[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"currentItemId":[1,"current-item-id"],"interval":[2],"duration":[2],"circular":[4],"vertical":[4],"previousMargin":[1,"previous-margin"],"nextMargin":[1,"next-margin"],"displayMultipleItems":[2,"display-multiple-items"],"full":[4],"zoom":[4],"effectsProps":[16],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32]}],[4,"taro-swiper-item-core",{"itemId":[1,"item-id"]}]]],["p-2e861a0c",[[0,"taro-ad-core"]]],["p-e12f9f6a",[[0,"taro-ad-custom-core"]]],["p-ae5ce9b9",[[0,"taro-animation-video-core"]]],["p-ad9d36a8",[[0,"taro-animation-view-core"]]],["p-64db5707",[[0,"taro-ar-camera-core"]]],["p-4660f0e8",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["p-127a00f8",[[0,"taro-aweme-data-core"]]],["p-8e4724e7",[[0,"taro-block-core"]]],["p-ee60a2ed",[[4,"taro-button-core",{"disabled":[4],"hoverClass":[1,"hover-class"],"type":[1],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"size":[1],"plain":[4],"loading":[4],"formType":[513,"form-type"],"hover":[32],"touch":[32]},[[0,"click","onClick"],[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["p-09e8978c",[[0,"taro-camera-core"]]],["p-7f209437",[[0,"taro-canvas-core",{"canvasId":[1,"id"],"height":[1537],"width":[1537],"nativeProps":[16]}]]],["p-b5d29991",[[0,"taro-channel-live-core"]]],["p-c80ad5f7",[[0,"taro-channel-video-core"]]],["p-a457826d",[[0,"taro-comment-detail-core"]]],["p-528d459a",[[0,"taro-comment-list-core"]]],["p-1096b259",[[0,"taro-contact-button-core"]]],["p-2a129ff9",[[0,"taro-cover-image-core",{"src":[1],"nativeProps":[16]}]]],["p-ed08f97b",[[4,"taro-cover-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-188aa412",[[0,"taro-custom-wrapper-core"]]],["p-6da0b352",[[0,"taro-double-tap-gesture-handler-core"]]],["p-2c83c97d",[[0,"taro-draggable-sheet-core"]]],["p-8e65e0ef",[[0,"taro-editor-core"]]],["p-a7739ce8",[[0,"taro-follow-swan-core"]]],["p-eb17acfc",[[0,"taro-force-press-gesture-handler-core"]]],["p-a49e8e1b",[[4,"taro-form-core",null,[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-6fec7cfb",[[0,"taro-functional-page-navigator-core"]]],["p-e858c279",[[0,"taro-grid-builder-core"]]],["p-5d763236",[[0,"taro-grid-view-core"]]],["p-e972f9e5",[[0,"taro-horizontal-drag-gesture-handler-core"]]],["p-353bde53",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["p-3a1e29fe",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32],"didLoad":[32]}]]],["p-1238adb4",[[0,"taro-inline-payment-panel-core"]]],["p-8c6a2ec4",[[0,"taro-input-core",{"value":[1025],"type":[1],"password":[4],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"confirmType":[1,"confirm-type"],"name":[1],"readonly":[4],"nativeProps":[16],"focus":[64]}]]],["p-685f1513",[[0,"taro-keyboard-accessory-core"]]],["p-d9d72185",[[4,"taro-label-core",{"for":[1]}]]],["p-2e02c59d",[[0,"taro-lifestyle-core"]]],["p-0762daa0",[[0,"taro-like-core"]]],["p-0552f6c8",[[0,"taro-list-builder-core"]]],["p-846640d5",[[0,"taro-list-view-core"]]],["p-8e85ee3f",[[0,"taro-live-player-core"]]],["p-8c4555bc",[[0,"taro-live-pusher-core"]]],["p-988d6f24",[[0,"taro-login-core"]]],["p-39351b18",[[0,"taro-long-press-gesture-handler-core"]]],["p-0996f234",[[0,"taro-lottie-core"]]],["p-410a4f9f",[[0,"taro-map-core",{"latitude":[2],"longitude":[2],"scale":[2],"minScale":[2,"min-scale"],"maxScale":[2,"max-scale"],"markers":[16],"polyline":[16],"circles":[16],"polygons":[16],"subkey":[1],"layerStyle":[2,"layer-style"],"rotate":[2],"skew":[2],"showCompass":[4,"show-compass"],"showScale":[4,"show-scale"],"enableOverlooking":[4,"enable-overlooking"],"enableZoom":[4,"enable-zoom"],"enableScroll":[4,"enable-scroll"],"enableRotate":[4,"enable-rotate"],"enableSatellite":[4,"enable-satellite"],"enableTraffic":[4,"enable-traffic"],"enableBuilding":[4,"enable-building"],"enableAutoMaxOverlooking":[4,"enable-auto-max-overlooking"],"enable3D":[4,"enable-3-d"],"width":[1],"height":[1]}]]],["p-2b08cfad",[[0,"taro-match-media-core"]]],["p-eeda49f7",[[0,"taro-native-slot-core"]]],["p-f78771f1",[[0,"taro-navigation-bar-core"]]],["p-206c4a1d",[[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]]],["p-929bd61b",[[0,"taro-nested-scroll-body-core"]]],["p-4e53a018",[[0,"taro-nested-scroll-header-core"]]],["p-ca9855cc",[[0,"taro-official-account-core"]]],["p-3108a288",[[0,"taro-open-container-core"]]],["p-af1a2bdb",[[0,"taro-open-data-core"]]],["p-8a5810e5",[[0,"taro-page-container-core"]]],["p-b2b18ec7",[[0,"taro-page-meta-core"]]],["p-0966c1dc",[[0,"taro-pan-gesture-handler-core"]]],["p-af836431",[[0,"taro-progress-core",{"percent":[2],"showInfo":[4,"show-info"],"borderRadius":[8,"border-radius"],"fontSize":[8,"font-size"],"strokeWidth":[8,"stroke-width"],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"active":[4]}]]],["p-35bc7ace",[[4,"taro-pull-to-refresh-core",{"prefixCls":[1,"prefix-cls"],"distanceToRefresh":[2,"distance-to-refresh"],"damping":[2],"indicator":[16],"currSt":[32],"dragOnEdge":[32]}]]],["p-a1e30768",[[0,"taro-rich-text-core",{"nodes":[1],"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1]}]]],["p-6939a5ca",[[0,"taro-root-portal-core"]]],["p-024f1327",[[0,"taro-rtc-room-core"]]],["p-24878bba",[[0,"taro-rtc-room-item-core"]]],["p-0a464f12",[[0,"taro-scale-gesture-handler-core"]]],["p-94ec560b",[[0,"taro-script-core"]]],["p-ade48028",[[4,"taro-scroll-view-core",{"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"upperThreshold":[8,"upper-threshold"],"lowerThreshold":[8,"lower-threshold"],"mpScrollTop":[520,"scroll-top"],"mpScrollLeft":[520,"scroll-left"],"mpScrollIntoView":[513,"scroll-into-view"],"mpScrollIntoViewAlignment":[1,"scroll-into-view-alignment"],"animated":[4,"scroll-with-animation"],"enhanced":[4],"showScrollbar":[4,"show-scrollbar"],"mpScrollToMethod":[64],"mpScrollIntoViewMethod":[64]},[[1,"scroll","handleScroll"],[1,"touchmove","handleTouchMove"]]]]],["p-a1c4630b",[[0,"taro-share-element-core"]]],["p-6f5b04a0",[[0,"taro-slider-core",{"min":[2],"max":[2],"step":[2],"disabled":[4],"value":[1538],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"blockSize":[2,"block-size"],"blockColor":[1,"block-color"],"showValue":[4,"show-value"],"name":[1],"totalWidth":[32],"touching":[32],"ogX":[32],"touchId":[32],"percent":[32],"ogPercent":[32],"isWillLoadCalled":[32]}]]],["p-6897b6e0",[[0,"taro-slot-core"]]],["p-bfbacdd9",[[0,"taro-snapshot-core"]]],["p-ea7545b3",[[0,"taro-span-core"]]],["p-92ad1a1b",[[0,"taro-sticky-header-core"]]],["p-7acbcaf4",[[0,"taro-sticky-section-core"]]],["p-6cefb3fa",[[0,"taro-switch-core",{"type":[1],"checked":[1028],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]]],["p-6f78afcd",[[0,"taro-tab-item-core"]]],["p-0e601c37",[[0,"taro-tabbar",{"conf":[16],"list":[32],"borderStyle":[32],"backgroundColor":[32],"color":[32],"selectedColor":[32],"selectedIndex":[32],"status":[32]}]]],["p-ad1911cf",[[0,"taro-tabs-core"]]],["p-8e9761cc",[[0,"taro-tap-gesture-handler-core"]]],["p-30bc92b6",[[4,"taro-text-core",{"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1025],"numberOfLines":[2,"number-of-lines"]}]]],["p-b56830e0",[[0,"taro-textarea-core",{"value":[1025],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"autoHeight":[4,"auto-height"],"name":[1],"nativeProps":[16],"line":[32],"focus":[64]}]]],["p-c16c9a9d",[[0,"taro-vertical-drag-gesture-handler-core"]]],["p-efa71a29",[[4,"taro-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-4a3e3c0c",[[0,"taro-voip-room-core"]]],["p-8a6fa237",[[0,"taro-web-view-core",{"src":[1]}]]],["p-e679ebf7",[[4,"taro-picker-core",{"mode":[1],"disabled":[4],"range":[16],"rangeKey":[1,"range-key"],"value":[1032],"start":[1],"end":[1],"fields":[1],"name":[1],"textProps":[16],"pickerValue":[32],"height":[32],"hidden":[32],"fadeOut":[32],"isWillLoadCalled":[32]}],[0,"taro-picker-group",{"mode":[1],"range":[16],"rangeKey":[1,"range-key"],"height":[2],"columnId":[1,"column-id"],"updateHeight":[16],"updateDay":[16],"startY":[32],"preY":[32],"hadMove":[32],"touchEnd":[32],"isMove":[32],"handleMoveStart":[64],"handleMoving":[64],"handleMoveEnd":[64]},[[1,"mousedown","onMouseDown"],[3,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[3,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-b8a16546",[[0,"taro-video-core",{"src":[1],"duration":[2],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"initialTime":[2,"initial-time"],"poster":[1],"objectFit":[1,"object-fit"],"showProgress":[4,"show-progress"],"showFullscreenBtn":[4,"show-fullscreen-btn"],"showPlayBtn":[4,"show-play-btn"],"showCenterPlayBtn":[4,"show-center-play-btn"],"showMuteBtn":[4,"show-mute-btn"],"danmuList":[16],"danmuBtn":[4,"danmu-btn"],"enableDanmu":[4,"enable-danmu"],"enablePlayGesture":[4,"enable-play-gesture"],"enableProgressGesture":[4,"enable-progress-gesture"],"vslideGesture":[4,"vslide-gesture"],"vslideGestureInFullscreen":[4,"vslide-gesture-in-fullscreen"],"nativeProps":[16],"_duration":[32],"_enableDanmu":[32],"isPlaying":[32],"isFirst":[32],"isFullScreen":[32],"fullScreenTimestamp":[32],"isMute":[32],"getHlsObject":[64],"play":[64],"pause":[64],"stop":[64],"seek":[64],"requestFullScreen":[64],"exitFullScreen":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{"controls":[4],"currentTime":[2,"current-time"],"duration":[2],"isPlaying":[4,"is-playing"],"pauseFunc":[16],"playFunc":[16],"seekFunc":[16],"showPlayBtn":[4,"show-play-btn"],"showProgress":[4,"show-progress"],"setProgressBall":[64],"toggleVisibility":[64],"getIsDraggingProgressBall":[64],"setCurrentTime":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{"enable":[4],"danmuList":[32],"sendDanmu":[64],"tick":[64]}]]]]'),e)));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/components",
|
|
3
|
-
"version": "4.1.9-beta.
|
|
3
|
+
"version": "4.1.9-beta.6",
|
|
4
4
|
"description": "Taro 组件库",
|
|
5
5
|
"browser": "dist/index.js",
|
|
6
6
|
"main:h5": "dist/index.js",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"resolve-pathname": "^3.0.0",
|
|
41
41
|
"swiper": "11.1.15",
|
|
42
42
|
"tslib": "^2.6.2",
|
|
43
|
-
"@tarojs/runtime": "4.1.9-beta.
|
|
44
|
-
"@tarojs/taro": "4.1.9-beta.
|
|
45
|
-
"@tarojs/shared": "4.1.9-beta.
|
|
43
|
+
"@tarojs/runtime": "4.1.9-beta.6",
|
|
44
|
+
"@tarojs/taro": "4.1.9-beta.6",
|
|
45
|
+
"@tarojs/shared": "4.1.9-beta.6"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@babel/generator": "^7.21.4",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"jest-cli": "27.5.1",
|
|
69
69
|
"jest-runner": "27.5.1",
|
|
70
70
|
"jest-environment-node": "27.5.1",
|
|
71
|
-
"@tarojs/helper": "4.1.9-beta.
|
|
71
|
+
"@tarojs/helper": "4.1.9-beta.6"
|
|
72
72
|
},
|
|
73
73
|
"peerDependenciesMeta": {
|
|
74
74
|
"@types/react": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{S as taro_scroll_view_core}from"./p-58a709ad.js";import"./p-f72fcd8c.js";import"./p-160d710a.js";import"./p-5893c3ed.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{E as taro_editor_core}from"./p-31c75fd5.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{T as taro_textarea_core}from"./p-6e2f460d.js";import"./p-f72fcd8c.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{S as taro_span_core}from"./p-a2cb2d73.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{F as taro_functional_page_navigator_core}from"./p-3a6ec908.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{B as taro_button_core}from"./p-1f517ad8.js";import"./p-f72fcd8c.js";import"./p-160d710a.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as r,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(r){o(this,r)}componentDidLoad(){t("RootPortal",this)}render(){return r(s,null)}};export{n as R}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{C as taro_channel_video_core}from"./p-150a55a3.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{I as taro_inline_payment_panel_core}from"./p-99863698.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{V as taro_vertical_drag_gesture_handler_core}from"./p-2f9a4db4.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{A as taro_animation_video_core}from"./p-f6e5beeb.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as taro_picker_view_column_core,a as taro_picker_view_core}from"./p-d1a1274a.js";import"./p-f72fcd8c.js";import"./p-5893c3ed.js";import"./p-160d710a.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const c=class{constructor(s){r(this,s)}componentDidLoad(){t("KeyboardAccessory",this)}render(){return s(o,null)}};export{c as K}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{F as taro_force_press_gesture_handler_core}from"./p-64a5e7a7.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{M as taro_movable_area_core,a as taro_movable_view_core}from"./p-45c3b3bf.js";import"./p-f72fcd8c.js";import"./p-5893c3ed.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{K as taro_keyboard_accessory_core}from"./p-137eb06b.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{C as taro_canvas_core}from"./p-24ef5f8c.js";import"./p-f72fcd8c.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{L as taro_lifestyle_core}from"./p-af5e0304.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{L as taro_label_core}from"./p-8b1b513a.js";import"./p-f72fcd8c.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const e=class{constructor(s){r(this,s)}componentDidLoad(){t("LivePlayer",this)}render(){return s(o,null)}};export{e as L}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{a as taro_tabbar}from"./p-8d996705.js";import"./p-f72fcd8c.js";import"@tarojs/runtime";import"@tarojs/taro";import"./p-160d710a.js";import"resolve-pathname";import"./p-5893c3ed.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(s){r(this,s)}componentDidLoad(){t("TabItem",this)}render(){return s(o,null)}};export{n as T}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{S as taro_script_core}from"./p-baed3510.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const c=class{constructor(s){r(this,s)}componentDidLoad(){t("StickyHeader",this)}render(){return s(o,null)}};export{c as S}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as s,H as t}from"./p-f72fcd8c.js";import{n as o}from"./p-dbdb9de9.js";const e=class{constructor(s){r(this,s)}componentDidLoad(){o("VerticalDragGestureHandler",this)}render(){return s(t,null)}};export{e as V}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{L as taro_lottie_core}from"./p-5fe2d7cb.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as o,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const d=class{constructor(o){r(this,o)}componentDidLoad(){t("Editor",this)}render(){return o(s,null)}};export{d as E}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{T as taro_tab_item_core}from"./p-2bf24716.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{S as taro_sticky_header_core}from"./p-2e841a1d.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{A as taro_ad_custom_core}from"./p-915aa78c.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,c as t,h as e,H as i}from"./p-f72fcd8c.js";import a from"@tarojs/taro";import{c as r}from"./p-160d710a.js";const o=class{constructor(e){s(this,e),this.onSuccess=t(this,"cuccess",7),this.onFail=t(this,"fail",7),this.onComplete=t(this,"complete",7),this.hoverClass=void 0,this.url=void 0,this.openType="navigate",this.isHover=!1,this.delta=0}onClick(){const{openType:s,onSuccess:t,onFail:e,onComplete:i}=this;let r=Promise.resolve();switch(s){case"navigate":r=a.navigateTo({url:this.url});break;case"redirect":r=a.redirectTo({url:this.url});break;case"switchTab":r=a.switchTab({url:this.url});break;case"reLaunch":r=a.reLaunch({url:this.url});break;case"navigateBack":r=a.navigateBack({delta:this.delta});break;case"exit":r=Promise.reject(new Error('navigator:fail 暂不支持"openType: exit"'))}r&&r.then((s=>{t.emit(s)})).catch((s=>{e.emit(s)})).finally((()=>{i.emit()}))}render(){const{isHover:s,hoverClass:t}=this;return e(i,{class:r({[t]:s})})}};o.style=".navigator-hover{background:#efefef}";export{o as N}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{L as taro_live_pusher_core}from"./p-582cbc31.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{F as taro_follow_swan_core}from"./p-b9446784.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as taro_pan_gesture_handler_core}from"./p-7ea32cac.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as r,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(r){o(this,r)}componentDidLoad(){t("NativeSlot",this)}render(){return r(s,null)}};export{n as N}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const d=class{constructor(s){r(this,s)}componentDidLoad(){t("ListBuilder",this)}render(){return s(o,null)}};export{d as L}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{B as taro_block_core}from"./p-e3de8581.js";import"./p-f72fcd8c.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as r,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const c=class{constructor(r){o(this,r)}componentDidLoad(){t("OfficialAccount",this)}render(){return r(s,null)}};export{c as O}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as o,H as c}from"./p-f72fcd8c.js";import{c as i}from"./p-160d710a.js";const n=class{constructor(o){e(this,o),this.type=void 0,this.size="23",this.color=void 0}render(){const{type:e,size:n,color:r}=this,t=null==e?void 0:e.replace(/_/g,"-"),s=i({[`weui-icon-${t}`]:!0});return o(c,{class:s,style:{"font-size":`${n}px`,color:r}})}};n.style='.weui-icon-circle:before{content:""}.weui-icon-download:before{content:""}.weui-icon-info:before{content:""}.weui-icon-safe-success:before{content:""}.weui-icon-safe-warn:before{content:""}.weui-icon-success:before{content:""}.weui-icon-success-circle:before{content:""}.weui-icon-success-no-circle:before{content:""}.weui-icon-waiting:before{content:""}.weui-icon-waiting-circle:before{content:""}.weui-icon-warn:before{content:""}.weui-icon-info-circle:before{content:""}.weui-icon-cancel:before{content:""}.weui-icon-search:before{content:""}.weui-icon-clear:before{content:""}.weui-icon-back:before{content:""}.weui-icon-delete:before{content:""}.weui-icon-success{color:#09bb07;font-size:23px}.weui-icon-waiting{color:#10aeff;font-size:23px}.weui-icon-warn{color:#f43530;font-size:23px}.weui-icon-info{color:#10aeff;font-size:23px}.weui-icon-success-circle,.weui-icon-success-no-circle{color:#09bb07;font-size:23px}.weui-icon-waiting-circle{color:#10aeff;font-size:23px}.weui-icon-circle{color:#c9c9c9;font-size:23px}.weui-icon-download,.weui-icon-info-circle{color:#09bb07;font-size:23px}.weui-icon-safe-success{color:#09bb07}.weui-icon-safe-warn{color:#ffbe00}.weui-icon-cancel{color:#f43530;font-size:22px}.weui-icon-search,.weui-icon-clear{color:#b2b2b2;font-size:14px}.weui-icon-delete.weui-icon_gallery-delete{color:#fff;font-size:22px}.weui-icon_msg{font-size:93px}.weui-icon_msg.weui-icon-warn{color:#f76260}.weui-icon_msg-primary{font-size:93px}.weui-icon_msg-primary.weui-icon-warn{color:#ffbe00}';export{n as I}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{W as taro_web_view_core}from"./p-beae3fe0.js";import"./p-f72fcd8c.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{P as taro_page_container_core}from"./p-1c19d1dd.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{N as taro_navigation_bar_core}from"./p-d11af89d.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{M as taro_map_core}from"./p-b2979101.js";import"./p-f72fcd8c.js";import"hammerjs";
|