@tarojs/components 4.1.5 → 4.1.6-beta.1
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 +18 -0
- package/dist/cjs/ad-custom-03478475.js +18 -0
- package/dist/cjs/animation-video-7fc33f99.js +18 -0
- package/dist/cjs/animation-view-80fa5d0f.js +18 -0
- package/dist/cjs/ar-camera-a5b4fc84.js +18 -0
- package/dist/cjs/audio-df2bacdd.js +56 -0
- package/dist/cjs/aweme-data-c526f1a1.js +18 -0
- package/dist/cjs/block-019beb65.js +14 -0
- package/dist/cjs/button-8f729d81.js +73 -0
- package/dist/cjs/camera-d82d6f4d.js +18 -0
- package/dist/cjs/canvas-5ed991dd.js +49 -0
- package/dist/cjs/channel-live-691e20a5.js +18 -0
- package/dist/cjs/channel-video-126a3305.js +18 -0
- package/dist/cjs/checkbox-ffc9c1a2.js +122 -0
- package/dist/cjs/comment-detail-87637299.js +18 -0
- package/dist/cjs/comment-list-a18163da.js +18 -0
- package/dist/cjs/contact-button-75ae4609.js +18 -0
- package/dist/cjs/cover-image-1bf95a9b.js +32 -0
- package/dist/cjs/cover-view-a0e4395c.js +65 -0
- package/dist/cjs/custom-wrapper-64a8245e.js +14 -0
- package/dist/cjs/draggable-sheet-749618d6.js +18 -0
- package/dist/cjs/editor-81a773f9.js +18 -0
- package/dist/cjs/follow-swan-794e3367.js +18 -0
- package/dist/cjs/form-f24b8935.js +141 -0
- package/dist/cjs/functional-page-navigator-db0aeeb5.js +18 -0
- package/dist/cjs/grid-builder-0757691d.js +18 -0
- package/dist/cjs/grid-view-b77da424.js +18 -0
- package/dist/cjs/icon-93e7c472.js +30 -0
- package/dist/cjs/image-4a828d57.js +106 -0
- package/dist/cjs/index.cjs.js +205 -0
- package/dist/cjs/inline-payment-panel-0068d0e4.js +18 -0
- package/dist/cjs/input-f39a63db.js +213 -0
- package/dist/cjs/keyboard-accessory-d7d227b7.js +18 -0
- package/dist/cjs/label-e54a79ee.js +15 -0
- package/dist/cjs/lifestyle-189b4b3a.js +18 -0
- package/dist/cjs/like-b6a72cb7.js +18 -0
- package/dist/cjs/list-builder-d7a3f023.js +18 -0
- package/dist/cjs/list-view-7cf454c7.js +18 -0
- package/dist/cjs/live-player-2115d649.js +18 -0
- package/dist/cjs/live-pusher-6a8da38c.js +18 -0
- package/dist/cjs/login-cd972083.js +18 -0
- package/dist/cjs/lottie-802328ca.js +18 -0
- package/dist/cjs/map-841765a9.js +1338 -0
- package/dist/cjs/match-media-6e2efc2f.js +18 -0
- package/dist/cjs/movable-view-9fa169e1.js +482 -0
- package/dist/cjs/native-slot-142506c1.js +18 -0
- package/dist/cjs/navigation-bar-b4ff564a.js +18 -0
- package/dist/cjs/navigator-43495d4f.js +77 -0
- package/dist/cjs/nested-scroll-body-9caab58f.js +18 -0
- package/dist/cjs/nested-scroll-header-c5b64f3d.js +18 -0
- package/dist/cjs/official-account-f53ef4c9.js +18 -0
- package/dist/cjs/open-container-dcb0756e.js +18 -0
- package/dist/cjs/open-data-295d2a0f.js +18 -0
- package/dist/cjs/page-container-c02ef21e.js +18 -0
- package/dist/cjs/page-meta-80a7a861.js +18 -0
- package/dist/cjs/picker-0b3ae89d.js +689 -0
- package/dist/cjs/picker-view-ee39f2b6.js +179 -0
- package/dist/cjs/progress-0434432f.js +39 -0
- package/dist/cjs/pull-to-refresh-a7a9d80c.js +269 -0
- package/dist/cjs/radio-fa441dee.js +136 -0
- package/dist/cjs/rich-text-f88b18dd.js +73 -0
- package/dist/cjs/root-portal-849d424f.js +18 -0
- package/dist/cjs/rtc-room-e32e8e93.js +18 -0
- package/dist/cjs/rtc-room-item-f2696f3e.js +18 -0
- package/dist/cjs/script-1d8392d2.js +18 -0
- package/dist/cjs/script-2eb2d361.js +18 -0
- package/dist/cjs/script-33ab1b9b.js +18 -0
- package/dist/cjs/script-66238de4.js +18 -0
- package/dist/cjs/script-7d8a337e.js +18 -0
- package/dist/cjs/script-9767d763.js +18 -0
- package/dist/cjs/script-aa62f496.js +18 -0
- package/dist/cjs/script-d39c17ed.js +18 -0
- package/dist/cjs/script-d7887902.js +18 -0
- package/dist/cjs/scroll-view-65cb8d5f.js +170 -0
- package/dist/cjs/share-element-68928fbf.js +18 -0
- package/dist/cjs/slider-4093049a.js +163 -0
- package/dist/cjs/slot-bb81659e.js +18 -0
- package/dist/cjs/snapshot-c2520c58.js +18 -0
- package/dist/cjs/span-fb1efcaf.js +18 -0
- package/dist/cjs/sticky-header-dcde70ca.js +18 -0
- package/dist/cjs/sticky-section-170bc892.js +18 -0
- package/dist/cjs/swiper-3ab835bb.js +427 -0
- package/dist/cjs/switch-586022a8.js +62 -0
- package/dist/cjs/tab-item-cfa3339e.js +18 -0
- package/dist/cjs/tabbar-41113df5.js +353 -0
- package/dist/cjs/tabs-be7f918d.js +18 -0
- package/dist/cjs/taro-ad-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-audio-core.cjs.entry.js +3 -51
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-block-core.cjs.entry.js +4 -10
- package/dist/cjs/taro-button-core.cjs.entry.js +4 -68
- package/dist/cjs/taro-camera-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-canvas-core.cjs.entry.js +3 -44
- package/dist/cjs/taro-channel-live-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-channel-video-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +4 -117
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +3 -27
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +4 -60
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +4 -10
- package/dist/cjs/taro-double-tap-gesture-handler-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-draggable-sheet-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-editor-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-force-press-gesture-handler-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-form-core.cjs.entry.js +4 -137
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-grid-builder-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-horizontal-drag-gesture-handler-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-icon-core.cjs.entry.js +4 -25
- package/dist/cjs/taro-image-core.cjs.entry.js +4 -55
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-input-core.cjs.entry.js +3 -208
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-label-core.cjs.entry.js +4 -11
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-like-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-list-builder-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-list-view-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-live-player-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-login-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-long-press-gesture-handler-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-lottie-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-map-core.cjs.entry.js +4 -1333
- package/dist/cjs/taro-match-media-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +5 -477
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-navigator-core.cjs.entry.js +5 -72
- package/dist/cjs/taro-nested-scroll-body-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-official-account-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-open-container-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-open-data-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-page-container-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-pan-gesture-handler-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +5 -684
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +6 -174
- package/dist/cjs/taro-progress-core.cjs.entry.js +3 -34
- package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +5 -264
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +4 -131
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +3 -68
- package/dist/cjs/taro-root-portal-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-scale-gesture-handler-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-script-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +6 -165
- package/dist/cjs/taro-share-element-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-slider-core.cjs.entry.js +3 -158
- package/dist/cjs/taro-slot-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-snapshot-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-span-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +8 -422
- package/dist/cjs/taro-switch-core.cjs.entry.js +3 -57
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-tabbar.cjs.entry.js +8 -347
- package/dist/cjs/taro-tabs-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-tap-gesture-handler-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-text-core.cjs.entry.js +3 -20
- package/dist/cjs/taro-textarea-core.cjs.entry.js +3 -156
- package/dist/cjs/taro-vertical-drag-gesture-handler-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-video-control_3.cjs.entry.js +8 -743
- package/dist/cjs/taro-view-core.cjs.entry.js +5 -65
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-web-view-core.cjs.entry.js +3 -22
- package/dist/cjs/text-642f2f48.js +25 -0
- package/dist/cjs/textarea-3f14df1c.js +161 -0
- package/dist/cjs/video-75aca914.js +748 -0
- package/dist/cjs/view-609adfc6.js +70 -0
- package/dist/cjs/voip-room-7f55d8a0.js +18 -0
- package/dist/cjs/web-view-be5a2d1d.js +27 -0
- package/dist/collection/components/ad/index.js +1 -0
- package/dist/collection/components/ad-custom/index.js +1 -0
- package/dist/collection/components/animation-video/index.js +1 -0
- package/dist/collection/components/animation-view/index.js +1 -0
- package/dist/collection/components/ar-camera/index.js +1 -0
- package/dist/collection/components/audio/index.js +1 -0
- package/dist/collection/components/aweme-data/index.js +1 -0
- package/dist/collection/components/block/index.js +1 -0
- package/dist/collection/components/button/index.js +1 -0
- package/dist/collection/components/camera/index.js +1 -0
- package/dist/collection/components/canvas/index.js +1 -0
- package/dist/collection/components/channel-live/index.js +1 -0
- package/dist/collection/components/channel-video/index.js +1 -0
- package/dist/collection/components/checkbox/index.js +2 -0
- package/dist/collection/components/comment/index.js +2 -0
- package/dist/collection/components/contact-button/index.js +1 -0
- package/dist/collection/components/cover-image/index.js +1 -0
- package/dist/collection/components/cover-view/index.js +1 -0
- package/dist/collection/components/custom-wrapper/index.js +1 -0
- package/dist/collection/components/double-tap-gesture-handler/index.js +1 -0
- package/dist/collection/components/draggable-sheet/index.js +1 -0
- package/dist/collection/components/editor/index.js +1 -0
- package/dist/collection/components/follow-swan/index.js +1 -0
- package/dist/collection/components/force-press-gesture-handler/index.js +1 -0
- package/dist/collection/components/form/index.js +1 -0
- package/dist/collection/components/functional-page-navigator/index.js +1 -0
- package/dist/collection/components/grid-builder/index.js +1 -0
- package/dist/collection/components/grid-view/index.js +1 -0
- package/dist/collection/components/horizontal-drag-gesture-handler/index.js +1 -0
- package/dist/collection/components/icon/index.js +1 -0
- package/dist/collection/components/image/image.js +46 -0
- package/dist/collection/components/image/index.js +1 -0
- package/dist/collection/components/index.js +87 -0
- package/dist/collection/components/inline-payment-panel/index.js +1 -0
- package/dist/collection/components/input/index.js +1 -0
- package/dist/collection/components/keyboard-accessory/index.js +1 -0
- package/dist/collection/components/label/index.js +1 -0
- package/dist/collection/components/lifestyle/index.js +1 -0
- package/dist/collection/components/like/index.js +1 -0
- package/dist/collection/components/list-builder/index.js +1 -0
- package/dist/collection/components/list-view/index.js +1 -0
- package/dist/collection/components/live-player/index.js +1 -0
- package/dist/collection/components/live-pusher/index.js +1 -0
- package/dist/collection/components/login/index.js +1 -0
- package/dist/collection/components/long-press-gesture-handler/index.js +1 -0
- package/dist/collection/components/lottie/index.js +1 -0
- package/dist/collection/components/map/index.js +1 -0
- package/dist/collection/components/match-media/index.js +1 -0
- package/dist/collection/components/movable-area/index.js +2 -0
- package/dist/collection/components/navigation-bar/index.js +1 -0
- package/dist/collection/components/navigator/index.js +1 -0
- package/dist/collection/components/nested-scroll-body/index.js +1 -0
- package/dist/collection/components/nested-scroll-header/index.js +1 -0
- package/dist/collection/components/official-account/index.js +1 -0
- package/dist/collection/components/open-container/index.js +1 -0
- package/dist/collection/components/open-data/index.js +1 -0
- package/dist/collection/components/page-container/index.js +1 -0
- package/dist/collection/components/page-meta/index.js +1 -0
- package/dist/collection/components/pan-gesture-handler/index.js +1 -0
- package/dist/collection/components/picker/index.js +2 -0
- package/dist/collection/components/picker-view/index.js +2 -0
- package/dist/collection/components/progress/index.js +1 -0
- package/dist/collection/components/pull-to-refresh/index.js +1 -0
- package/dist/collection/components/radio/index.js +2 -0
- package/dist/collection/components/rich-text/index.js +1 -0
- package/dist/collection/components/root-portal/index.js +1 -0
- package/dist/collection/components/rtc-room/index.js +2 -0
- package/dist/collection/components/scale-gesture-handler/index.js +1 -0
- package/dist/collection/components/script/index.js +1 -0
- package/dist/collection/components/scroll-view/index.js +1 -0
- package/dist/collection/components/share-element/index.js +1 -0
- package/dist/collection/components/slider/index.js +1 -0
- package/dist/collection/components/slot/index.js +2 -0
- package/dist/collection/components/snapshot/index.js +1 -0
- package/dist/collection/components/span/index.js +1 -0
- package/dist/collection/components/sticky-header/index.js +1 -0
- package/dist/collection/components/sticky-section/index.js +1 -0
- package/dist/collection/components/swiper/index.js +2 -0
- package/dist/collection/components/switch/index.js +1 -0
- package/dist/collection/components/tabbar/index.js +2 -0
- package/dist/collection/components/tabs/index.js +2 -0
- package/dist/collection/components/tap-gesture-handler/index.js +1 -0
- package/dist/collection/components/text/index.js +1 -0
- package/dist/collection/components/textarea/index.js +1 -0
- package/dist/collection/components/vertical-drag-gesture-handler/index.js +1 -0
- package/dist/collection/components/video/index.js +3 -0
- package/dist/collection/components/view/index.js +1 -0
- package/dist/collection/components/voip-room/index.js +1 -0
- package/dist/collection/components/web-view/index.js +1 -0
- package/dist/collection/index.js +1 -1
- package/dist/components/index.js +98 -96
- package/dist/components/taro-ad-core.js +1 -1
- package/dist/components/taro-ad-custom-core.js +1 -1
- package/dist/components/taro-animation-video-core.js +1 -1
- package/dist/components/taro-animation-view-core.js +1 -1
- package/dist/components/taro-ar-camera-core.js +1 -1
- package/dist/components/taro-audio-core.js +1 -1
- package/dist/components/taro-aweme-data-core.js +1 -1
- package/dist/components/taro-block-core.js +1 -1
- package/dist/components/taro-button-core.js +1 -1
- package/dist/components/taro-camera-core.js +1 -1
- package/dist/components/taro-canvas-core.js +1 -1
- package/dist/components/taro-channel-live-core.js +1 -1
- package/dist/components/taro-channel-video-core.js +1 -1
- package/dist/components/taro-checkbox-core.js +1 -1
- package/dist/components/taro-checkbox-group-core.js +1 -1
- package/dist/components/taro-comment-detail-core.js +1 -1
- package/dist/components/taro-comment-list-core.js +1 -1
- package/dist/components/taro-contact-button-core.js +1 -1
- package/dist/components/taro-cover-image-core.js +1 -1
- package/dist/components/taro-cover-view-core.js +1 -1
- package/dist/components/taro-custom-wrapper-core.js +1 -1
- package/dist/components/taro-double-tap-gesture-handler-core.js +1 -1
- package/dist/components/taro-draggable-sheet-core.js +1 -1
- package/dist/components/taro-editor-core.js +1 -1
- package/dist/components/taro-follow-swan-core.js +1 -1
- package/dist/components/taro-force-press-gesture-handler-core.js +1 -1
- package/dist/components/taro-form-core.js +1 -1
- package/dist/components/taro-functional-page-navigator-core.js +1 -1
- package/dist/components/taro-grid-builder-core.js +1 -1
- package/dist/components/taro-grid-view-core.js +1 -1
- package/dist/components/taro-horizontal-drag-gesture-handler-core.js +1 -1
- package/dist/components/taro-icon-core.js +1 -1
- package/dist/components/taro-image-core.js +47 -1
- package/dist/components/taro-inline-payment-panel-core.js +1 -1
- package/dist/components/taro-input-core.js +1 -1
- package/dist/components/taro-keyboard-accessory-core.js +1 -1
- package/dist/components/taro-label-core.js +1 -1
- package/dist/components/taro-lifestyle-core.js +1 -1
- package/dist/components/taro-like-core.js +1 -1
- package/dist/components/taro-list-builder-core.js +1 -1
- package/dist/components/taro-list-view-core.js +1 -1
- package/dist/components/taro-live-player-core.js +1 -1
- package/dist/components/taro-live-pusher-core.js +1 -1
- package/dist/components/taro-login-core.js +1 -1
- package/dist/components/taro-long-press-gesture-handler-core.js +1 -1
- package/dist/components/taro-lottie-core.js +1 -1
- package/dist/components/taro-map-core.js +1 -1
- package/dist/components/taro-match-media-core.js +1 -1
- package/dist/components/taro-movable-area-core.js +1 -1
- package/dist/components/taro-movable-view-core.js +1 -1
- package/dist/components/taro-native-slot-core.js +1 -1
- package/dist/components/taro-navigation-bar-core.js +1 -1
- package/dist/components/taro-navigator-core.js +1 -1
- package/dist/components/taro-nested-scroll-body-core.js +1 -1
- package/dist/components/taro-nested-scroll-header-core.js +1 -1
- package/dist/components/taro-official-account-core.js +1 -1
- package/dist/components/taro-open-container-core.js +1 -1
- package/dist/components/taro-open-data-core.js +1 -1
- package/dist/components/taro-page-container-core.js +1 -1
- package/dist/components/taro-page-meta-core.js +1 -1
- package/dist/components/taro-pan-gesture-handler-core.js +1 -1
- package/dist/components/taro-picker-core.js +1 -1
- package/dist/components/taro-picker-view-column-core.js +1 -1
- package/dist/components/taro-picker-view-core.js +1 -1
- package/dist/components/taro-progress-core.js +1 -1
- package/dist/components/taro-pull-to-refresh-core.js +1 -1
- package/dist/components/taro-radio-core.js +1 -1
- package/dist/components/taro-radio-group-core.js +1 -1
- package/dist/components/taro-rich-text-core.js +1 -1
- package/dist/components/taro-root-portal-core.js +1 -1
- package/dist/components/taro-rtc-room-core.js +1 -1
- package/dist/components/taro-rtc-room-item-core.js +1 -1
- package/dist/components/taro-scale-gesture-handler-core.js +1 -1
- package/dist/components/taro-script-core.js +1 -1
- package/dist/components/taro-scroll-view-core.js +1 -1
- package/dist/components/taro-share-element-core.js +1 -1
- package/dist/components/taro-slider-core.js +1 -1
- package/dist/components/taro-slot-core.js +1 -1
- package/dist/components/taro-snapshot-core.js +1 -1
- package/dist/components/taro-span-core.js +1 -1
- package/dist/components/taro-sticky-header-core.js +1 -1
- package/dist/components/taro-sticky-section-core.js +1 -1
- package/dist/components/taro-swiper-core.js +1 -1
- package/dist/components/taro-swiper-item-core.js +1 -1
- package/dist/components/taro-switch-core.js +1 -1
- package/dist/components/taro-tab-item-core.js +1 -1
- package/dist/components/taro-tabbar.js +1 -1
- package/dist/components/taro-tabs-core.js +1 -1
- package/dist/components/taro-tap-gesture-handler-core.js +1 -1
- package/dist/components/taro-text-core.js +1 -1
- package/dist/components/taro-textarea-core.js +1 -1
- package/dist/components/taro-vertical-drag-gesture-handler-core.js +1 -1
- package/dist/components/taro-video-core.js +2 -2
- package/dist/components/taro-view-core.js +1 -1
- package/dist/components/taro-voip-room-core.js +1 -1
- package/dist/components/taro-web-view-core.js +1 -1
- package/dist/esm/ad-cfb00041.js +16 -0
- package/dist/esm/ad-custom-4a0d4eb2.js +16 -0
- package/dist/esm/animation-video-5215c138.js +16 -0
- package/dist/esm/animation-view-a07c6ea9.js +16 -0
- package/dist/esm/ar-camera-d578c533.js +16 -0
- package/dist/esm/audio-fd0e719f.js +54 -0
- package/dist/esm/aweme-data-2e12d8c9.js +16 -0
- package/dist/esm/block-796aa7d8.js +12 -0
- package/dist/esm/button-cd801674.js +71 -0
- package/dist/esm/camera-1791b404.js +16 -0
- package/dist/esm/canvas-5531b496.js +47 -0
- package/dist/esm/channel-live-b63e080a.js +16 -0
- package/dist/esm/channel-video-d4ee7254.js +16 -0
- package/dist/esm/checkbox-da6b07ea.js +119 -0
- package/dist/esm/comment-detail-02a3e8ee.js +16 -0
- package/dist/esm/comment-list-a62325be.js +16 -0
- package/dist/esm/contact-button-68e95a69.js +16 -0
- package/dist/esm/cover-image-0783b2c1.js +30 -0
- package/dist/esm/cover-view-8330b60d.js +63 -0
- package/dist/esm/custom-wrapper-0bb13a12.js +12 -0
- package/dist/esm/draggable-sheet-67355f70.js +16 -0
- package/dist/esm/editor-743e35d0.js +16 -0
- package/dist/esm/follow-swan-dbdf5cc8.js +16 -0
- package/dist/esm/form-576398ba.js +139 -0
- package/dist/esm/functional-page-navigator-63f675f4.js +16 -0
- package/dist/esm/grid-builder-cf0aa856.js +16 -0
- package/dist/esm/grid-view-353586e4.js +16 -0
- package/dist/esm/icon-88383f2c.js +28 -0
- package/dist/esm/image-d9d8ed01.js +104 -0
- package/dist/esm/index.js +100 -1
- package/dist/esm/inline-payment-panel-73925dd2.js +16 -0
- package/dist/esm/input-4104e3ea.js +211 -0
- package/dist/esm/keyboard-accessory-fd485a31.js +16 -0
- package/dist/esm/label-94ef4b17.js +13 -0
- package/dist/esm/lifestyle-4db11299.js +16 -0
- package/dist/esm/like-d61fe792.js +16 -0
- package/dist/esm/list-builder-e0d9e871.js +16 -0
- package/dist/esm/list-view-84529418.js +16 -0
- package/dist/esm/live-player-e4dbe4cf.js +16 -0
- package/dist/esm/live-pusher-15c48b78.js +16 -0
- package/dist/esm/login-d932daf9.js +16 -0
- package/dist/esm/lottie-2ada69b7.js +16 -0
- package/dist/esm/map-c6cd24f4.js +1332 -0
- package/dist/esm/match-media-2cdc536a.js +16 -0
- package/dist/esm/movable-view-c1358d1e.js +479 -0
- package/dist/esm/native-slot-98020f54.js +16 -0
- package/dist/esm/navigation-bar-eda66236.js +16 -0
- package/dist/esm/navigator-65877bda.js +71 -0
- package/dist/esm/nested-scroll-body-b1053924.js +16 -0
- package/dist/esm/nested-scroll-header-10ba047c.js +16 -0
- package/dist/esm/official-account-75c8fa4e.js +16 -0
- package/dist/esm/open-container-d288ae08.js +16 -0
- package/dist/esm/open-data-9e1673e1.js +16 -0
- package/dist/esm/page-container-b5b82c32.js +16 -0
- package/dist/esm/page-meta-518b39b7.js +16 -0
- package/dist/esm/picker-6a565e02.js +686 -0
- package/dist/esm/picker-view-52390656.js +176 -0
- package/dist/esm/progress-f99ddb18.js +37 -0
- package/dist/esm/pull-to-refresh-e8972159.js +263 -0
- package/dist/esm/radio-9b356d76.js +133 -0
- package/dist/esm/rich-text-287554f4.js +71 -0
- package/dist/esm/root-portal-db801799.js +16 -0
- package/dist/esm/rtc-room-bcf23c91.js +16 -0
- package/dist/esm/rtc-room-item-052b16d2.js +16 -0
- package/dist/esm/script-11e3884a.js +16 -0
- package/dist/esm/script-1b22398f.js +16 -0
- package/dist/esm/script-1c3855bc.js +16 -0
- package/dist/esm/script-4b869172.js +16 -0
- package/dist/esm/script-4d587470.js +16 -0
- package/dist/esm/script-5c55afcb.js +16 -0
- package/dist/esm/script-661db6af.js +16 -0
- package/dist/esm/script-76fc8cf5.js +16 -0
- package/dist/esm/script-8f332177.js +16 -0
- package/dist/esm/scroll-view-43e9acfc.js +168 -0
- package/dist/esm/share-element-4f90ad5b.js +16 -0
- package/dist/esm/slider-47bbf797.js +161 -0
- package/dist/esm/slot-71ad33eb.js +16 -0
- package/dist/esm/snapshot-42feea7d.js +16 -0
- package/dist/esm/span-d4b171da.js +16 -0
- package/dist/esm/sticky-header-a99729bc.js +16 -0
- package/dist/esm/sticky-section-f8d75284.js +16 -0
- package/dist/esm/swiper-20b19ce0.js +420 -0
- package/dist/esm/switch-a538d85e.js +60 -0
- package/dist/esm/tab-item-f58dd1b0.js +16 -0
- package/dist/esm/tabbar-e6342392.js +345 -0
- package/dist/esm/tabs-da838bbd.js +16 -0
- package/dist/esm/taro-ad-core.entry.js +3 -16
- package/dist/esm/taro-ad-custom-core.entry.js +3 -16
- package/dist/esm/taro-animation-video-core.entry.js +3 -16
- package/dist/esm/taro-animation-view-core.entry.js +3 -16
- package/dist/esm/taro-ar-camera-core.entry.js +3 -16
- package/dist/esm/taro-audio-core.entry.js +2 -54
- package/dist/esm/taro-aweme-data-core.entry.js +3 -16
- package/dist/esm/taro-block-core.entry.js +2 -12
- package/dist/esm/taro-button-core.entry.js +3 -71
- package/dist/esm/taro-camera-core.entry.js +3 -16
- package/dist/esm/taro-canvas-core.entry.js +2 -47
- package/dist/esm/taro-channel-live-core.entry.js +3 -16
- package/dist/esm/taro-channel-video-core.entry.js +3 -16
- package/dist/esm/taro-checkbox-core_2.entry.js +2 -119
- package/dist/esm/taro-comment-detail-core.entry.js +3 -16
- package/dist/esm/taro-comment-list-core.entry.js +3 -16
- package/dist/esm/taro-contact-button-core.entry.js +3 -16
- package/dist/esm/taro-cover-image-core.entry.js +2 -30
- package/dist/esm/taro-cover-view-core.entry.js +3 -63
- package/dist/esm/taro-custom-wrapper-core.entry.js +2 -12
- package/dist/esm/taro-double-tap-gesture-handler-core.entry.js +3 -16
- package/dist/esm/taro-draggable-sheet-core.entry.js +3 -16
- package/dist/esm/taro-editor-core.entry.js +3 -16
- package/dist/esm/taro-follow-swan-core.entry.js +3 -16
- package/dist/esm/taro-force-press-gesture-handler-core.entry.js +3 -16
- package/dist/esm/taro-form-core.entry.js +2 -139
- package/dist/esm/taro-functional-page-navigator-core.entry.js +3 -16
- package/dist/esm/taro-grid-builder-core.entry.js +3 -16
- package/dist/esm/taro-grid-view-core.entry.js +3 -16
- package/dist/esm/taro-horizontal-drag-gesture-handler-core.entry.js +3 -16
- package/dist/esm/taro-icon-core.entry.js +3 -28
- package/dist/esm/taro-image-core.entry.js +3 -58
- package/dist/esm/taro-inline-payment-panel-core.entry.js +3 -16
- package/dist/esm/taro-input-core.entry.js +2 -211
- package/dist/esm/taro-keyboard-accessory-core.entry.js +3 -16
- package/dist/esm/taro-label-core.entry.js +2 -13
- package/dist/esm/taro-lifestyle-core.entry.js +3 -16
- package/dist/esm/taro-like-core.entry.js +3 -16
- package/dist/esm/taro-list-builder-core.entry.js +3 -16
- package/dist/esm/taro-list-view-core.entry.js +3 -16
- package/dist/esm/taro-live-player-core.entry.js +3 -16
- package/dist/esm/taro-live-pusher-core.entry.js +3 -16
- package/dist/esm/taro-login-core.entry.js +3 -16
- package/dist/esm/taro-long-press-gesture-handler-core.entry.js +3 -16
- package/dist/esm/taro-lottie-core.entry.js +3 -16
- package/dist/esm/taro-map-core.entry.js +3 -1332
- package/dist/esm/taro-match-media-core.entry.js +3 -16
- package/dist/esm/taro-movable-area-core_2.entry.js +3 -479
- package/dist/esm/taro-native-slot-core.entry.js +3 -16
- package/dist/esm/taro-navigation-bar-core.entry.js +3 -16
- package/dist/esm/taro-navigator-core.entry.js +4 -71
- package/dist/esm/taro-nested-scroll-body-core.entry.js +3 -16
- package/dist/esm/taro-nested-scroll-header-core.entry.js +3 -16
- package/dist/esm/taro-official-account-core.entry.js +3 -16
- package/dist/esm/taro-open-container-core.entry.js +3 -16
- package/dist/esm/taro-open-data-core.entry.js +3 -16
- package/dist/esm/taro-page-container-core.entry.js +3 -16
- package/dist/esm/taro-page-meta-core.entry.js +3 -16
- package/dist/esm/taro-pan-gesture-handler-core.entry.js +3 -16
- package/dist/esm/taro-picker-core_2.entry.js +3 -686
- package/dist/esm/taro-picker-view-column-core_2.entry.js +4 -176
- package/dist/esm/taro-progress-core.entry.js +2 -37
- package/dist/esm/taro-pull-to-refresh-core.entry.js +4 -263
- package/dist/esm/taro-radio-core_2.entry.js +2 -133
- package/dist/esm/taro-rich-text-core.entry.js +2 -71
- package/dist/esm/taro-root-portal-core.entry.js +3 -16
- package/dist/esm/taro-rtc-room-core.entry.js +3 -16
- package/dist/esm/taro-rtc-room-item-core.entry.js +3 -16
- package/dist/esm/taro-scale-gesture-handler-core.entry.js +3 -16
- package/dist/esm/taro-script-core.entry.js +3 -16
- package/dist/esm/taro-scroll-view-core.entry.js +5 -168
- package/dist/esm/taro-share-element-core.entry.js +3 -16
- package/dist/esm/taro-slider-core.entry.js +2 -161
- package/dist/esm/taro-slot-core.entry.js +3 -16
- package/dist/esm/taro-snapshot-core.entry.js +3 -16
- package/dist/esm/taro-span-core.entry.js +3 -16
- package/dist/esm/taro-sticky-header-core.entry.js +3 -16
- package/dist/esm/taro-sticky-section-core.entry.js +3 -16
- package/dist/esm/taro-swiper-core_2.entry.js +6 -420
- package/dist/esm/taro-switch-core.entry.js +2 -60
- package/dist/esm/taro-tab-item-core.entry.js +3 -16
- package/dist/esm/taro-tabbar.entry.js +7 -345
- package/dist/esm/taro-tabs-core.entry.js +3 -16
- package/dist/esm/taro-tap-gesture-handler-core.entry.js +3 -16
- package/dist/esm/taro-text-core.entry.js +2 -23
- package/dist/esm/taro-textarea-core.entry.js +2 -159
- package/dist/esm/taro-vertical-drag-gesture-handler-core.entry.js +3 -16
- package/dist/esm/taro-video-control_3.entry.js +5 -720
- package/dist/esm/taro-view-core.entry.js +4 -68
- package/dist/esm/taro-voip-room-core.entry.js +3 -16
- package/dist/esm/taro-web-view-core.entry.js +2 -25
- package/dist/esm/text-a3b91b23.js +23 -0
- package/dist/esm/textarea-c722fd22.js +159 -0
- package/dist/esm/video-c663f267.js +720 -0
- package/dist/esm/view-965a491b.js +68 -0
- package/dist/esm/voip-room-da8085ad.js +16 -0
- package/dist/esm/web-view-8f780a19.js +25 -0
- package/dist/hydrate/index.js +46 -0
- package/dist/taro-components/index.esm.js +1 -0
- package/dist/taro-components/p-00e72620.entry.js +1 -0
- package/dist/taro-components/p-03b54b0b.entry.js +1 -0
- package/dist/taro-components/p-046319d8.js +1 -0
- package/dist/taro-components/p-052dbbd9.entry.js +1 -0
- package/dist/taro-components/p-0543d7fe.entry.js +1 -0
- package/dist/taro-components/p-06b4ba14.entry.js +1 -0
- package/dist/taro-components/p-0741aa7f.entry.js +1 -0
- package/dist/taro-components/p-0795a339.entry.js +1 -0
- package/dist/taro-components/p-08cfc9f4.js +1 -0
- package/dist/taro-components/p-094ba888.entry.js +1 -0
- package/dist/taro-components/p-0a92117d.entry.js +1 -0
- package/dist/taro-components/p-0ecccbb4.entry.js +1 -0
- package/dist/taro-components/p-0f829f27.entry.js +1 -0
- package/dist/taro-components/p-127391cb.entry.js +1 -0
- package/dist/taro-components/p-137eb06b.js +1 -0
- package/dist/taro-components/p-13d455f5.js +1 -0
- package/dist/taro-components/p-145ba514.entry.js +1 -0
- package/dist/taro-components/p-14795db7.entry.js +1 -0
- package/dist/taro-components/p-150a55a3.js +1 -0
- package/dist/taro-components/p-168a6355.entry.js +1 -0
- package/dist/taro-components/p-1ad94bf6.entry.js +1 -0
- package/dist/taro-components/p-1c19d1dd.js +1 -0
- package/dist/taro-components/{p-5534e4e7.entry.js → p-1c317d71.js} +1 -1
- package/dist/taro-components/p-1d2b2125.entry.js +1 -0
- package/dist/taro-components/p-1d3cfd13.js +1 -0
- package/dist/taro-components/{p-bf7ed5a8.entry.js → p-1f517ad8.js} +1 -1
- package/dist/taro-components/p-24079388.js +1 -0
- package/dist/taro-components/p-245fcd36.js +1 -0
- package/dist/taro-components/{p-826f9f91.entry.js → p-24ef5f8c.js} +1 -1
- package/dist/taro-components/p-2602cd28.entry.js +1 -0
- package/dist/taro-components/p-27622761.js +1 -0
- package/dist/taro-components/p-2884aec2.js +1 -0
- package/dist/taro-components/{p-3b0507ef.entry.js → p-2b1afb2c.js} +1 -1
- package/dist/taro-components/p-2b8fae1c.entry.js +1 -0
- package/dist/taro-components/p-2bf24716.js +1 -0
- package/dist/taro-components/p-2c48f6cb.entry.js +1 -0
- package/dist/taro-components/p-2e5daff6.js +1 -0
- package/dist/taro-components/p-2e841a1d.js +1 -0
- package/dist/taro-components/p-2f7b8388.js +1 -0
- package/dist/taro-components/p-2f9a4db4.js +1 -0
- package/dist/taro-components/p-2ff21d39.entry.js +1 -0
- package/dist/taro-components/p-31c75fd5.js +1 -0
- package/dist/taro-components/p-31f2f332.entry.js +1 -0
- package/dist/taro-components/{p-a5b32f59.entry.js → p-35aac6e0.js} +1 -1
- package/dist/taro-components/p-36e83be9.js +1 -0
- package/dist/taro-components/p-3837f853.entry.js +1 -0
- package/dist/taro-components/p-38598f5b.entry.js +1 -0
- package/dist/taro-components/p-3a6ec908.js +1 -0
- package/dist/taro-components/p-3d450082.js +1 -0
- package/dist/taro-components/p-3f4449b0.entry.js +1 -0
- package/dist/taro-components/p-3f650751.entry.js +1 -0
- package/dist/taro-components/{p-dc6b5615.entry.js → p-45c3b3bf.js} +1 -1
- package/dist/taro-components/p-4818a4aa.js +1 -0
- package/dist/taro-components/p-496a9932.entry.js +1 -0
- package/dist/taro-components/p-49e4d6ae.js +1 -0
- package/dist/taro-components/p-4bb83c7d.js +1 -0
- package/dist/taro-components/p-4cf49968.js +1 -0
- package/dist/taro-components/{p-bd7ab2a5.entry.js → p-4d79a974.js} +1 -1
- package/dist/taro-components/p-4f4b08df.entry.js +1 -0
- package/dist/taro-components/p-50ffadb4.js +1 -0
- package/dist/taro-components/p-52c6b16d.js +1 -0
- package/dist/taro-components/{p-7717e485.entry.js → p-53b69659.js} +1 -1
- package/dist/taro-components/{p-12075d7a.entry.js → p-553b9dc1.js} +1 -1
- package/dist/taro-components/p-5570a53e.entry.js +1 -0
- package/dist/taro-components/p-582a0e0f.entry.js +1 -0
- package/dist/taro-components/p-582cbc31.js +1 -0
- package/dist/taro-components/p-58a709ad.js +1 -0
- package/dist/taro-components/p-5b216b21.entry.js +1 -0
- package/dist/taro-components/p-5bd11f73.entry.js +1 -0
- package/dist/taro-components/p-5bd1aed9.js +1 -0
- package/dist/taro-components/p-5cbc249f.entry.js +1 -0
- package/dist/taro-components/p-5ea030de.entry.js +1 -0
- package/dist/taro-components/p-5fe2d7cb.js +1 -0
- package/dist/taro-components/p-61b23b53.entry.js +1 -0
- package/dist/taro-components/p-6223811d.entry.js +1 -0
- package/dist/taro-components/p-64a5e7a7.js +1 -0
- package/dist/taro-components/p-65c51f07.entry.js +1 -0
- package/dist/taro-components/{p-82d74d01.entry.js → p-67c4cf7e.js} +1 -1
- package/dist/taro-components/p-680d07ac.js +1 -0
- package/dist/taro-components/p-69147844.entry.js +1 -0
- package/dist/taro-components/p-6c93b540.js +1 -0
- package/dist/taro-components/{p-a8d628f8.entry.js → p-6e2f460d.js} +1 -1
- package/dist/taro-components/p-73aae58b.entry.js +1 -0
- package/dist/taro-components/p-74ac6c91.entry.js +1 -0
- package/dist/taro-components/p-773bed49.entry.js +1 -0
- package/dist/taro-components/p-79d3e109.js +1 -0
- package/dist/taro-components/p-7bb097de.js +1 -0
- package/dist/taro-components/p-7c455a65.entry.js +1 -0
- package/dist/taro-components/p-7ea32cac.js +1 -0
- package/dist/taro-components/p-806e3c4f.entry.js +1 -0
- package/dist/taro-components/p-80fa0c7c.entry.js +1 -0
- package/dist/taro-components/p-81abb053.entry.js +1 -0
- package/dist/taro-components/p-88048df9.entry.js +1 -0
- package/dist/taro-components/p-8837c166.entry.js +1 -0
- package/dist/taro-components/p-8b1b513a.js +1 -0
- package/dist/taro-components/p-8bc13e66.entry.js +1 -0
- package/dist/taro-components/p-8c520f1e.entry.js +1 -0
- package/dist/taro-components/p-8d26b600.js +1 -0
- package/dist/taro-components/{p-e62af250.entry.js → p-8d996705.js} +1 -1
- package/dist/taro-components/p-8e3bac82.js +1 -0
- package/dist/taro-components/p-8f2a4c66.entry.js +1 -0
- package/dist/taro-components/p-915aa78c.js +1 -0
- package/dist/taro-components/p-922047dd.entry.js +1 -0
- package/dist/taro-components/p-92a39ad9.entry.js +1 -0
- package/dist/taro-components/p-931bba41.entry.js +1 -0
- package/dist/taro-components/p-93e3cefb.js +1 -0
- package/dist/taro-components/p-956bc9d5.js +1 -0
- package/dist/taro-components/p-9581e63b.entry.js +1 -0
- package/dist/taro-components/p-96f65f1d.js +1 -0
- package/dist/taro-components/p-975f1b0c.entry.js +1 -0
- package/dist/taro-components/p-99383bc2.js +1 -0
- package/dist/taro-components/p-99863698.js +1 -0
- package/dist/taro-components/p-9a0251c5.entry.js +1 -0
- package/dist/taro-components/p-9d4a6732.js +1 -0
- package/dist/taro-components/p-9f953e69.entry.js +1 -0
- package/dist/taro-components/p-a0ff43d9.entry.js +1 -0
- package/dist/taro-components/p-a17695f9.js +1 -0
- package/dist/taro-components/p-a293fa24.js +1 -0
- package/dist/taro-components/p-a2cb2d73.js +1 -0
- package/dist/taro-components/p-a3b266d5.entry.js +1 -0
- package/dist/taro-components/p-a5798672.js +1 -0
- package/dist/taro-components/{p-31998393.entry.js → p-a6c178f3.js} +1 -1
- package/dist/taro-components/p-ab09cecf.entry.js +1 -0
- package/dist/taro-components/p-aca7aea1.entry.js +1 -0
- package/dist/taro-components/p-ad865966.entry.js +1 -0
- package/dist/taro-components/p-ae203a0b.entry.js +1 -0
- package/dist/taro-components/p-af5e0304.js +1 -0
- package/dist/taro-components/p-b19ea38d.entry.js +1 -0
- package/dist/taro-components/{p-bf71dd37.entry.js → p-b2979101.js} +1 -1
- package/dist/taro-components/p-b70027b2.entry.js +1 -0
- package/dist/taro-components/p-b74ad8e4.js +1 -0
- package/dist/taro-components/p-b89414d7.entry.js +1 -0
- package/dist/taro-components/p-b90499e4.entry.js +1 -0
- package/dist/taro-components/p-b9446784.js +1 -0
- package/dist/taro-components/p-baed3510.js +1 -0
- package/dist/taro-components/p-bcceaa84.entry.js +1 -0
- package/dist/taro-components/{p-ee17fc14.entry.js → p-bd7613d0.js} +1 -1
- package/dist/taro-components/{p-f2fb4988.entry.js → p-beae3fe0.js} +1 -1
- package/dist/taro-components/p-c0687b94.js +1 -0
- package/dist/taro-components/p-c09eb36f.entry.js +1 -0
- package/dist/taro-components/p-c3a8af99.js +1 -0
- package/dist/taro-components/p-c3cf4884.js +1 -0
- package/dist/taro-components/p-c3d39813.entry.js +1 -0
- package/dist/taro-components/p-c48b7222.js +1 -0
- package/dist/taro-components/p-c5666cb2.js +1 -0
- package/dist/taro-components/p-c5c71b89.entry.js +1 -0
- package/dist/taro-components/p-c66f2363.entry.js +1 -0
- package/dist/taro-components/{p-27392e58.entry.js → p-c7f9e228.js} +1 -1
- package/dist/taro-components/p-c84153ae.entry.js +1 -0
- package/dist/taro-components/p-c872ed50.js +1 -0
- package/dist/taro-components/p-c9a01a1f.js +1 -0
- package/dist/taro-components/{p-ca3322c9.entry.js → p-cae824d1.js} +1 -1
- package/dist/taro-components/p-cdeebf36.entry.js +1 -0
- package/dist/taro-components/p-d11af89d.js +1 -0
- package/dist/taro-components/{p-07864e09.entry.js → p-d1a1274a.js} +1 -1
- package/dist/taro-components/p-d45a75d9.entry.js +1 -0
- package/dist/taro-components/p-d5773721.js +1 -0
- package/dist/taro-components/p-d5f0d48c.js +1 -0
- package/dist/taro-components/p-d6be1ceb.entry.js +1 -0
- package/dist/taro-components/p-da4fcba5.js +1 -0
- package/dist/taro-components/p-dd0d7e20.js +1 -0
- package/dist/taro-components/p-df86c576.entry.js +1 -0
- package/dist/taro-components/p-e0de8e35.entry.js +1 -0
- package/dist/taro-components/p-e298a2c3.entry.js +1 -0
- package/dist/taro-components/p-e3de8581.js +1 -0
- package/dist/taro-components/p-e6565988.entry.js +1 -0
- package/dist/taro-components/p-e6643dc0.entry.js +1 -0
- package/dist/taro-components/p-e87d4a75.entry.js +1 -0
- package/dist/taro-components/p-ea5d6d41.entry.js +1 -0
- package/dist/taro-components/p-eac9f475.entry.js +1 -0
- package/dist/taro-components/p-edab4852.entry.js +1 -0
- package/dist/taro-components/p-ee9bae70.js +1 -0
- package/dist/taro-components/p-eee2d2f9.entry.js +1 -0
- package/dist/taro-components/p-f441b5e7.js +1 -0
- package/dist/taro-components/p-f52b25aa.entry.js +1 -0
- package/dist/taro-components/p-f57bed55.entry.js +1 -0
- package/dist/taro-components/p-f6e5beeb.js +1 -0
- package/dist/taro-components/p-fa398c76.entry.js +1 -0
- package/dist/taro-components/p-fe1c20a9.entry.js +1 -0
- package/dist/taro-components/p-febc484e.js +1 -0
- package/dist/taro-components/p-ffcacf9a.entry.js +1 -0
- package/dist/taro-components/p-fff1a810.js +1 -0
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/types/components/ad/index.d.ts +1 -0
- package/dist/types/components/ad-custom/index.d.ts +1 -0
- package/dist/types/components/animation-video/index.d.ts +1 -0
- package/dist/types/components/animation-view/index.d.ts +1 -0
- package/dist/types/components/ar-camera/index.d.ts +1 -0
- package/dist/types/components/audio/index.d.ts +1 -0
- package/dist/types/components/aweme-data/index.d.ts +1 -0
- package/dist/types/components/block/index.d.ts +1 -0
- package/dist/types/components/button/index.d.ts +1 -0
- package/dist/types/components/camera/index.d.ts +1 -0
- package/dist/types/components/canvas/index.d.ts +1 -0
- package/dist/types/components/channel-live/index.d.ts +1 -0
- package/dist/types/components/channel-video/index.d.ts +1 -0
- package/dist/types/components/checkbox/index.d.ts +2 -0
- package/dist/types/components/comment/index.d.ts +2 -0
- package/dist/types/components/contact-button/index.d.ts +1 -0
- package/dist/types/components/cover-image/index.d.ts +1 -0
- package/dist/types/components/cover-view/index.d.ts +1 -0
- package/dist/types/components/custom-wrapper/index.d.ts +1 -0
- package/dist/types/components/double-tap-gesture-handler/index.d.ts +1 -0
- package/dist/types/components/draggable-sheet/index.d.ts +1 -0
- package/dist/types/components/editor/index.d.ts +1 -0
- package/dist/types/components/follow-swan/index.d.ts +1 -0
- package/dist/types/components/force-press-gesture-handler/index.d.ts +1 -0
- package/dist/types/components/form/index.d.ts +1 -0
- package/dist/types/components/functional-page-navigator/index.d.ts +1 -0
- package/dist/types/components/grid-builder/index.d.ts +1 -0
- package/dist/types/components/grid-view/index.d.ts +1 -0
- package/dist/types/components/horizontal-drag-gesture-handler/index.d.ts +1 -0
- package/dist/types/components/icon/index.d.ts +1 -0
- package/dist/types/components/image/index.d.ts +1 -0
- package/dist/types/components/index.d.ts +87 -0
- package/dist/types/components/inline-payment-panel/index.d.ts +1 -0
- package/dist/types/components/input/index.d.ts +1 -0
- package/dist/types/components/keyboard-accessory/index.d.ts +1 -0
- package/dist/types/components/label/index.d.ts +1 -0
- package/dist/types/components/lifestyle/index.d.ts +1 -0
- package/dist/types/components/like/index.d.ts +1 -0
- package/dist/types/components/list-builder/index.d.ts +1 -0
- package/dist/types/components/list-view/index.d.ts +1 -0
- package/dist/types/components/live-player/index.d.ts +1 -0
- package/dist/types/components/live-pusher/index.d.ts +1 -0
- package/dist/types/components/login/index.d.ts +1 -0
- package/dist/types/components/long-press-gesture-handler/index.d.ts +1 -0
- package/dist/types/components/lottie/index.d.ts +1 -0
- package/dist/types/components/map/index.d.ts +1 -0
- package/dist/types/components/match-media/index.d.ts +1 -0
- package/dist/types/components/movable-area/index.d.ts +2 -0
- package/dist/types/components/navigation-bar/index.d.ts +1 -0
- package/dist/types/components/navigator/index.d.ts +1 -0
- package/dist/types/components/nested-scroll-body/index.d.ts +1 -0
- package/dist/types/components/nested-scroll-header/index.d.ts +1 -0
- package/dist/types/components/official-account/index.d.ts +1 -0
- package/dist/types/components/open-container/index.d.ts +1 -0
- package/dist/types/components/open-data/index.d.ts +1 -0
- package/dist/types/components/page-container/index.d.ts +1 -0
- package/dist/types/components/page-meta/index.d.ts +1 -0
- package/dist/types/components/pan-gesture-handler/index.d.ts +1 -0
- package/dist/types/components/picker/index.d.ts +2 -0
- package/dist/types/components/picker-view/index.d.ts +2 -0
- package/dist/types/components/progress/index.d.ts +1 -0
- package/dist/types/components/pull-to-refresh/index.d.ts +1 -0
- package/dist/types/components/radio/index.d.ts +2 -0
- package/dist/types/components/rich-text/index.d.ts +1 -0
- package/dist/types/components/root-portal/index.d.ts +1 -0
- package/dist/types/components/rtc-room/index.d.ts +2 -0
- package/dist/types/components/scale-gesture-handler/index.d.ts +1 -0
- package/dist/types/components/script/index.d.ts +1 -0
- package/dist/types/components/scroll-view/index.d.ts +1 -0
- package/dist/types/components/share-element/index.d.ts +1 -0
- package/dist/types/components/slider/index.d.ts +1 -0
- package/dist/types/components/slot/index.d.ts +2 -0
- package/dist/types/components/snapshot/index.d.ts +1 -0
- package/dist/types/components/span/index.d.ts +1 -0
- package/dist/types/components/sticky-header/index.d.ts +1 -0
- package/dist/types/components/sticky-section/index.d.ts +1 -0
- package/dist/types/components/swiper/index.d.ts +2 -0
- package/dist/types/components/switch/index.d.ts +1 -0
- package/dist/types/components/tabbar/index.d.ts +2 -0
- package/dist/types/components/tabs/index.d.ts +2 -0
- package/dist/types/components/tap-gesture-handler/index.d.ts +1 -0
- package/dist/types/components/text/index.d.ts +1 -0
- package/dist/types/components/textarea/index.d.ts +1 -0
- package/dist/types/components/vertical-drag-gesture-handler/index.d.ts +1 -0
- package/dist/types/components/video/index.d.ts +3 -0
- package/dist/types/components/view/index.d.ts +1 -0
- package/dist/types/components/voip-room/index.d.ts +1 -0
- package/dist/types/components/web-view/index.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +5 -5
- package/dist/taro-components/p-00ba8330.entry.js +0 -1
- package/dist/taro-components/p-01285c99.entry.js +0 -1
- package/dist/taro-components/p-028a06be.entry.js +0 -1
- package/dist/taro-components/p-02dfd28a.entry.js +0 -1
- package/dist/taro-components/p-041adaea.entry.js +0 -1
- package/dist/taro-components/p-053f9336.entry.js +0 -1
- package/dist/taro-components/p-0adabf61.entry.js +0 -1
- package/dist/taro-components/p-0ea53611.entry.js +0 -1
- package/dist/taro-components/p-1524f0a7.entry.js +0 -1
- package/dist/taro-components/p-1c499e26.entry.js +0 -1
- package/dist/taro-components/p-1ce39dc0.entry.js +0 -1
- package/dist/taro-components/p-1e0c4a2f.entry.js +0 -1
- package/dist/taro-components/p-1e8b1d53.entry.js +0 -1
- package/dist/taro-components/p-262d3cc6.entry.js +0 -1
- package/dist/taro-components/p-27e67e4c.entry.js +0 -1
- package/dist/taro-components/p-2f681c42.entry.js +0 -1
- package/dist/taro-components/p-2f7ecf80.entry.js +0 -1
- package/dist/taro-components/p-349011e5.entry.js +0 -1
- package/dist/taro-components/p-37774f52.entry.js +0 -1
- package/dist/taro-components/p-3a0afbaa.entry.js +0 -1
- package/dist/taro-components/p-3aabc29c.entry.js +0 -1
- package/dist/taro-components/p-3fe35d51.entry.js +0 -1
- package/dist/taro-components/p-41d62a49.entry.js +0 -1
- package/dist/taro-components/p-452f2d23.entry.js +0 -1
- package/dist/taro-components/p-45415f8a.entry.js +0 -1
- package/dist/taro-components/p-4db97a66.entry.js +0 -1
- package/dist/taro-components/p-523197fa.entry.js +0 -1
- package/dist/taro-components/p-53f2859c.entry.js +0 -1
- package/dist/taro-components/p-553ab0f6.entry.js +0 -1
- package/dist/taro-components/p-589e0de6.entry.js +0 -1
- package/dist/taro-components/p-5e4fa085.entry.js +0 -1
- package/dist/taro-components/p-5efcb8c2.entry.js +0 -1
- package/dist/taro-components/p-5efe8af4.entry.js +0 -1
- package/dist/taro-components/p-64476900.entry.js +0 -1
- package/dist/taro-components/p-64eab0b1.entry.js +0 -1
- package/dist/taro-components/p-67c93469.entry.js +0 -1
- package/dist/taro-components/p-6c93f8b0.entry.js +0 -1
- package/dist/taro-components/p-716f9758.entry.js +0 -1
- package/dist/taro-components/p-72dc94f1.entry.js +0 -1
- package/dist/taro-components/p-763b130b.entry.js +0 -1
- package/dist/taro-components/p-79a3916f.entry.js +0 -1
- package/dist/taro-components/p-82699c7b.entry.js +0 -1
- package/dist/taro-components/p-9108e872.entry.js +0 -1
- package/dist/taro-components/p-96054089.entry.js +0 -1
- package/dist/taro-components/p-98ce7aae.entry.js +0 -1
- package/dist/taro-components/p-9b1d4fbc.entry.js +0 -1
- package/dist/taro-components/p-9cfe7bc7.entry.js +0 -1
- package/dist/taro-components/p-a4b9f9b8.entry.js +0 -1
- package/dist/taro-components/p-aabad1f7.entry.js +0 -1
- package/dist/taro-components/p-ac41c34a.entry.js +0 -1
- package/dist/taro-components/p-b4eb9ea9.entry.js +0 -1
- package/dist/taro-components/p-bd725f0c.entry.js +0 -1
- package/dist/taro-components/p-c27955cc.entry.js +0 -1
- package/dist/taro-components/p-c56d7ae1.entry.js +0 -1
- package/dist/taro-components/p-c7457e18.entry.js +0 -1
- package/dist/taro-components/p-c7e2387f.entry.js +0 -1
- package/dist/taro-components/p-c961a230.entry.js +0 -1
- package/dist/taro-components/p-ced965cb.entry.js +0 -1
- package/dist/taro-components/p-d638dd70.entry.js +0 -1
- package/dist/taro-components/p-d8a90cf1.entry.js +0 -1
- package/dist/taro-components/p-e13bf240.entry.js +0 -1
- package/dist/taro-components/p-e1975260.entry.js +0 -1
- package/dist/taro-components/p-e3354af8.entry.js +0 -1
- package/dist/taro-components/p-e5615469.entry.js +0 -1
- package/dist/taro-components/p-e6f1912a.entry.js +0 -1
- package/dist/taro-components/p-ea77d5fe.entry.js +0 -1
- package/dist/taro-components/p-eb1fe297.entry.js +0 -1
- package/dist/taro-components/p-ecd3afe8.entry.js +0 -1
- package/dist/taro-components/p-f3de0aa9.entry.js +0 -1
- package/dist/taro-components/p-f997a7a2.entry.js +0 -1
- package/dist/taro-components/p-fd0a7b45.entry.js +0 -1
- package/dist/taro-components/p-ffab09c1.entry.js +0 -1
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-0004ce39.js';
|
|
2
|
+
import { c as classnames } from './index-b9522531.js';
|
|
3
|
+
import { h as handleStencilNodes } from './helper-8a85bb65.js';
|
|
4
|
+
|
|
5
|
+
const indexCss = "taro-view-core{display:block}";
|
|
6
|
+
|
|
7
|
+
const View = class {
|
|
8
|
+
constructor(hostRef) {
|
|
9
|
+
registerInstance(this, hostRef);
|
|
10
|
+
this.onLongPress = createEvent(this, "longpress", 7);
|
|
11
|
+
this.startTime = 0;
|
|
12
|
+
this.animation = undefined;
|
|
13
|
+
this.hoverClass = undefined;
|
|
14
|
+
this.hoverStartTime = 50;
|
|
15
|
+
this.hoverStayTime = 400;
|
|
16
|
+
this.hover = false;
|
|
17
|
+
this.touch = false;
|
|
18
|
+
}
|
|
19
|
+
onTouchStart() {
|
|
20
|
+
if (this.hoverClass) {
|
|
21
|
+
this.touch = true;
|
|
22
|
+
setTimeout(() => {
|
|
23
|
+
if (this.touch) {
|
|
24
|
+
this.hover = true;
|
|
25
|
+
}
|
|
26
|
+
}, this.hoverStartTime);
|
|
27
|
+
}
|
|
28
|
+
this.timeoutEvent = setTimeout(() => {
|
|
29
|
+
this.onLongPress.emit();
|
|
30
|
+
}, 350);
|
|
31
|
+
this.startTime = Date.now();
|
|
32
|
+
}
|
|
33
|
+
onTouchMove() {
|
|
34
|
+
clearTimeout(this.timeoutEvent);
|
|
35
|
+
}
|
|
36
|
+
onTouchEnd() {
|
|
37
|
+
const spanTime = Date.now() - this.startTime;
|
|
38
|
+
if (spanTime < 350) {
|
|
39
|
+
clearTimeout(this.timeoutEvent);
|
|
40
|
+
}
|
|
41
|
+
if (this.hoverClass) {
|
|
42
|
+
this.touch = false;
|
|
43
|
+
setTimeout(() => {
|
|
44
|
+
if (!this.touch) {
|
|
45
|
+
this.hover = false;
|
|
46
|
+
}
|
|
47
|
+
}, this.hoverStayTime);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
componentDidRender() {
|
|
51
|
+
handleStencilNodes(this.el);
|
|
52
|
+
}
|
|
53
|
+
render() {
|
|
54
|
+
const cls = classnames({
|
|
55
|
+
[`${this.hoverClass}`]: this.hover
|
|
56
|
+
});
|
|
57
|
+
let attr = {};
|
|
58
|
+
if (!!this.animation) {
|
|
59
|
+
attr['animation'] = this.animation;
|
|
60
|
+
attr['data-animation'] = this.animation;
|
|
61
|
+
}
|
|
62
|
+
return (h(Host, Object.assign({ class: cls }, attr), h("slot", null)));
|
|
63
|
+
}
|
|
64
|
+
get el() { return getElement(this); }
|
|
65
|
+
};
|
|
66
|
+
View.style = indexCss;
|
|
67
|
+
|
|
68
|
+
export { View as V };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0004ce39.js';
|
|
2
|
+
import { n as notSupport } from './helper-8a85bb65.js';
|
|
3
|
+
|
|
4
|
+
const VoipRoom = class {
|
|
5
|
+
constructor(hostRef) {
|
|
6
|
+
registerInstance(this, hostRef);
|
|
7
|
+
}
|
|
8
|
+
componentDidLoad() {
|
|
9
|
+
notSupport('VoipRoom', this);
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h(Host, null));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { VoipRoom as V };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-0004ce39.js';
|
|
2
|
+
|
|
3
|
+
const indexCss = "iframe{border:none}.taro-webview{z-index:999;width:100%;height:100%;position:fixed;top:0;bottom:0}";
|
|
4
|
+
|
|
5
|
+
const WebView = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.onLoad = createEvent(this, "load", 7);
|
|
9
|
+
this.onError = createEvent(this, "error", 7);
|
|
10
|
+
this.src = undefined;
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
const { src, onLoad, onError } = this;
|
|
14
|
+
return (h("iframe", { class: 'taro-webview', onLoad: (e) => {
|
|
15
|
+
e.stopPropagation();
|
|
16
|
+
onLoad.emit({ src });
|
|
17
|
+
}, onError: (e) => {
|
|
18
|
+
e.stopPropagation();
|
|
19
|
+
onError.emit({ src });
|
|
20
|
+
}, src: src }));
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
WebView.style = indexCss;
|
|
24
|
+
|
|
25
|
+
export { WebView as W };
|
package/dist/hydrate/index.js
CHANGED
|
@@ -7060,6 +7060,39 @@ class Icon {
|
|
|
7060
7060
|
|
|
7061
7061
|
const indexCss$h = "img[src=\"\"]{opacity:0}taro-image-core{width:320px;height:240px;font-size:0;display:inline-block;position:relative;overflow:hidden}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%;position:absolute;top:50%;transform:translateY(-50%)}.taro-img__mode-aspectfill{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{position:absolute;left:50%;transform:translate(-50%)}.taro-img__mode-bottom{position:absolute;bottom:0;left:50%;transform:translate(-50%)}.taro-img__mode-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.taro-img__mode-left{position:absolute;top:50%;transform:translateY(-50%)}.taro-img__mode-right{position:absolute;top:50%;right:0;transform:translateY(-50%)}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;bottom:0;right:0}";
|
|
7062
7062
|
|
|
7063
|
+
// CDN脚本URL
|
|
7064
|
+
const LEGO_CDN_URL = 'http://ossin.jd.com/swm-plus/h5Tag/tag.js';
|
|
7065
|
+
// 检查CDN脚本是否已加载
|
|
7066
|
+
const isLegoScriptLoaded = () => {
|
|
7067
|
+
return document.querySelector(`script[src="${LEGO_CDN_URL}"]`) !== null;
|
|
7068
|
+
};
|
|
7069
|
+
// 插入CDN脚本
|
|
7070
|
+
const insertLegoScript = () => {
|
|
7071
|
+
if (isLegoScriptLoaded())
|
|
7072
|
+
return;
|
|
7073
|
+
const script = document.createElement('script');
|
|
7074
|
+
script.type = 'module';
|
|
7075
|
+
script.src = LEGO_CDN_URL;
|
|
7076
|
+
document.head.appendChild(script);
|
|
7077
|
+
};
|
|
7078
|
+
// 解析lego协议URL
|
|
7079
|
+
const parseLegoUrl = (src) => {
|
|
7080
|
+
if (!src.startsWith('lego://'))
|
|
7081
|
+
return null;
|
|
7082
|
+
try {
|
|
7083
|
+
// 移除 'lego://' 前缀
|
|
7084
|
+
const urlWithoutProtocol = src.substring(7);
|
|
7085
|
+
// 分割tagId和参数
|
|
7086
|
+
const [tagId, params] = urlWithoutProtocol.split('?');
|
|
7087
|
+
// 解析参数
|
|
7088
|
+
const text = params ? new URLSearchParams(params).get('text') || '' : '';
|
|
7089
|
+
return { tagId, text };
|
|
7090
|
+
}
|
|
7091
|
+
catch (error) {
|
|
7092
|
+
console.warn('Failed to parse lego URL:', src, error);
|
|
7093
|
+
return null;
|
|
7094
|
+
}
|
|
7095
|
+
};
|
|
7063
7096
|
class Image$1 {
|
|
7064
7097
|
constructor(hostRef) {
|
|
7065
7098
|
registerInstance(this, hostRef);
|
|
@@ -7073,6 +7106,11 @@ class Image$1 {
|
|
|
7073
7106
|
this.didLoad = false;
|
|
7074
7107
|
}
|
|
7075
7108
|
componentDidLoad() {
|
|
7109
|
+
// 检查是否为lego模式,如果是则确保CDN脚本已加载
|
|
7110
|
+
const legoData = parseLegoUrl(this.src);
|
|
7111
|
+
if (legoData !== null) {
|
|
7112
|
+
insertLegoScript();
|
|
7113
|
+
}
|
|
7076
7114
|
if (!this.lazyLoad)
|
|
7077
7115
|
return;
|
|
7078
7116
|
const lazyImg = new IntersectionObserver(entries => {
|
|
@@ -7101,12 +7139,20 @@ class Image$1 {
|
|
|
7101
7139
|
const { src, lazyLoad = false, aspectFillMode = 'width', imageOnLoad, imageOnError, nativeProps, didLoad } = this;
|
|
7102
7140
|
// mode="" 按默认值处理
|
|
7103
7141
|
const mode = this.mode || 'scaleToFill';
|
|
7142
|
+
// 检查是否为lego模式
|
|
7143
|
+
const legoData = parseLegoUrl(src);
|
|
7144
|
+
const isLegoMode = legoData !== null;
|
|
7104
7145
|
const cls = classnames({
|
|
7105
7146
|
'taro-img__widthfix': mode === 'widthFix'
|
|
7106
7147
|
});
|
|
7107
7148
|
const imgCls = classnames(`taro-img__mode-${mode.toLowerCase().replace(/\s/g, '')}`, {
|
|
7108
7149
|
[`taro-img__mode-aspectfill--${aspectFillMode}`]: mode === 'aspectFill'
|
|
7109
7150
|
});
|
|
7151
|
+
// 如果是lego模式,渲染canvas-tag
|
|
7152
|
+
if (isLegoMode && legoData) {
|
|
7153
|
+
return (hAsync(Host, { class: cls }, hAsync("canvas-tag", Object.assign({ tagId: legoData.tagId, text: legoData.text }, nativeProps))));
|
|
7154
|
+
}
|
|
7155
|
+
// 普通图片模式
|
|
7110
7156
|
return (hAsync(Host, { class: cls }, src ? (hAsync("img", Object.assign({ ref: (img) => (this.imgRef = img), class: imgCls, src: lazyLoad && !didLoad ? undefined : src, onLoad: imageOnLoad.bind(this), onError: imageOnError.bind(this) }, nativeProps))) : ''));
|
|
7111
7157
|
}
|
|
7112
7158
|
static get style() { return indexCss$h; }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{A as Ad}from"./p-9d4a6732.js";export{A as AdCustom}from"./p-915aa78c.js";export{A as AnimationVideo}from"./p-f6e5beeb.js";export{A as AnimationView}from"./p-a5798672.js";export{A as ArCamera}from"./p-c3a8af99.js";export{A as Audio}from"./p-cae824d1.js";export{A as AwemeData}from"./p-2f7b8388.js";export{B as Block}from"./p-e3de8581.js";export{B as Button}from"./p-1f517ad8.js";export{C as Camera}from"./p-245fcd36.js";export{C as Canvas}from"./p-24ef5f8c.js";export{C as ChannelLive}from"./p-27622761.js";export{C as ChannelVideo}from"./p-150a55a3.js";export{a as Checkbox,C as CheckboxGroup}from"./p-046319d8.js";export{C as CommentDetail}from"./p-fff1a810.js";export{C as CommentList}from"./p-febc484e.js";export{C as ContactButton}from"./p-36e83be9.js";export{C as CoverImage}from"./p-d5773721.js";export{C as CoverView}from"./p-c7f9e228.js";export{C as CustomWrapper}from"./p-a293fa24.js";export{D as DoubleTapGestureHandler}from"./p-4bb83c7d.js";export{D as DraggableSheet}from"./p-6c93b540.js";export{E as Editor}from"./p-31c75fd5.js";export{F as FollowSwan}from"./p-b9446784.js";export{F as ForcePressGestureHandler}from"./p-64a5e7a7.js";export{F as Form}from"./p-a6c178f3.js";export{F as FunctionalPageNavigator}from"./p-3a6ec908.js";export{G as GridBuilder}from"./p-c3cf4884.js";export{G as GridView}from"./p-d5f0d48c.js";export{H as HorizontalDragGestureHandler}from"./p-8e3bac82.js";export{I as Icon}from"./p-53b69659.js";export{I as Image}from"./p-24079388.js";export{I as InlinePaymentPanel}from"./p-99863698.js";export{I as Input}from"./p-2b1afb2c.js";export{K as KeyboardAccessory}from"./p-137eb06b.js";export{L as Label}from"./p-8b1b513a.js";export{L as Lifestyle}from"./p-af5e0304.js";export{L as Like}from"./p-a17695f9.js";export{L as ListBuilder}from"./p-4cf49968.js";export{L as ListView}from"./p-52c6b16d.js";export{L as LivePlayer}from"./p-2884aec2.js";export{L as LivePusher}from"./p-582cbc31.js";export{L as Login}from"./p-b74ad8e4.js";export{L as LongPressGestureHandler}from"./p-1d3cfd13.js";export{L as Lottie}from"./p-5fe2d7cb.js";export{M as Map}from"./p-b2979101.js";export{M as MatchMedia}from"./p-2e5daff6.js";export{M as MovableArea,a as MovableView}from"./p-45c3b3bf.js";export{N as NavigationBar}from"./p-d11af89d.js";export{N as Navigator}from"./p-3d450082.js";export{N as NestedScrollBody}from"./p-ee9bae70.js";export{N as NestedScrollHeader}from"./p-f441b5e7.js";export{O as OfficialAccount}from"./p-50ffadb4.js";export{O as OpenContainer}from"./p-96f65f1d.js";export{O as OpenData}from"./p-c872ed50.js";export{P as PageContainer}from"./p-1c19d1dd.js";export{P as PageMeta}from"./p-c9a01a1f.js";export{P as PanGestureHandler}from"./p-7ea32cac.js";export{P as Picker,T as TaroPickerGroup}from"./p-13d455f5.js";export{a as PickerView,P as PickerViewColumn}from"./p-d1a1274a.js";export{P as Progress}from"./p-bd7613d0.js";export{P as PullToRefresh}from"./p-67c4cf7e.js";export{a as Radio,R as RadioGroup}from"./p-4818a4aa.js";export{R as RichText}from"./p-553b9dc1.js";export{R as RootPortal}from"./p-08cfc9f4.js";export{R as RtcRoomItem}from"./p-c48b7222.js";export{R as RtcRoom}from"./p-79d3e109.js";export{S as ScaleGestureHandler}from"./p-956bc9d5.js";export{S as Script}from"./p-baed3510.js";export{S as ScrollView}from"./p-58a709ad.js";export{S as ShareElement}from"./p-7bb097de.js";export{S as Slider}from"./p-35aac6e0.js";export{N as NativeSlot}from"./p-49e4d6ae.js";export{S as Slot}from"./p-680d07ac.js";export{S as Snapshot}from"./p-99383bc2.js";export{S as Span}from"./p-a2cb2d73.js";export{S as StickyHeader}from"./p-2e841a1d.js";export{S as StickySection}from"./p-da4fcba5.js";export{a as Swiper,S as SwiperItem}from"./p-8d26b600.js";export{S as Switch}from"./p-4d79a974.js";export{a as Tabbar,T as TabbarItem}from"./p-8d996705.js";export{T as TabItem}from"./p-2bf24716.js";export{T as Tabs}from"./p-93e3cefb.js";export{T as TapGestureHandler}from"./p-5bd1aed9.js";export{T as Text}from"./p-1c317d71.js";export{T as Textarea}from"./p-6e2f460d.js";export{V as VerticalDragGestureHandler}from"./p-2f9a4db4.js";export{b as Video,V as VideoControl,a as VideoDanmu}from"./p-dd0d7e20.js";export{V as View}from"./p-c5666cb2.js";export{V as VoipRoom}from"./p-c0687b94.js";export{W as WebView}from"./p-beae3fe0.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";import"./p-160d710a.js";import"hammerjs";import"./p-5893c3ed.js";import"swiper/bundle";import"@tarojs/runtime";import"resolve-pathname";
|
|
@@ -0,0 +1 @@
|
|
|
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";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{E as taro_editor_core}from"./p-31c75fd5.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as i,h as l,g as r,H as o}from"./p-f72fcd8c.js";var t,c=function(e,i,l,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof i?e!==i||!o:!i.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,l):o?o.value=l:i.set(e,l),l},a=function(e,i,l,r){if("a"===l&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof i?e!==i||!r:!i.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===l?r:"a"===l?r.call(e):r?r.value:i.get(e)};const u=class{constructor(l){e(this,l),this.onChange=i(this,"change",7),this.uniqueName=Date.now().toString(36),t.set(this,void 0),this.name=void 0}function(e){if(e.stopPropagation(),"TARO-CHECKBOX-CORE"!==e.target.tagName)return;const i=this.el.querySelectorAll("taro-checkbox-core");c(this,t,this.getValues(i),"f"),this.onChange.emit({value:a(this,t,"f")})}componentDidLoad(){this.el.querySelectorAll("taro-checkbox-core").forEach((e=>{e.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!a(this,t,"f")){const e=this.el.querySelectorAll("taro-checkbox-core");c(this,t,this.getValues(e),"f")}return a(this,t,"f")},configurable:!0})}getValues(e){return Array.from(e).filter((e=>{const i=e.querySelector("input");return null==i?void 0:i.checked})).map((e=>e.value))}render(){return l(o,null)}get el(){return r(this)}};t=new WeakMap;const _=class{constructor(l){e(this,l),this.onChange=i(this,"checkboxchange",7),this.handleChange=e=>{e.stopPropagation(),this.onChange.emit({value:this.value})},this.name=void 0,this.value="",this.color=void 0,this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}watchId(e){this.isWillLoadCalled&&e&&this.inputEl.setAttribute("id",e)}componentWillLoad(){this.isWillLoadCalled=!0}componentDidRender(){this.id&&this.el.removeAttribute("id")}render(){const{checked:e,name:i,color:r,value:t,disabled:c,nativeProps:a}=this;return l(o,{class:"weui-cells_checkbox"},l("input",Object.assign({ref:e=>{e&&(this.inputEl=e,this.id&&e.setAttribute("id",this.id))},type:"checkbox",value:t,name:i,class:"taro-checkbox_checked",style:{color:r},checked:e,disabled:c,onChange:this.handleChange},a)),l("slot",null))}get el(){return r(this)}static get watchers(){return{id:["watchId"]}}};_.style='page,body{--weui-cellMarginLR:16px;--weui-cellPaddingLR:16px}.weui-cells__group{border:0}.weui-cells__group:first-child{margin-top:0}.weui-cells__group_form{margin-top:24px}.weui-cells__group_form .weui-cells{margin-left:var(--weui-cellMarginLR);margin-right:var(--weui-cellMarginLR)}.weui-cells__group_form .weui-cells:before,.weui-cells__group_form .weui-cells:after{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell{padding:16px var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:before{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__hd{padding-right:16px}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__ft{padding-left:16px}.weui-cells__group_form .weui-cells__title{margin-top:24px;margin-bottom:8px;padding:0 32px}.weui-cells__group_form:first-child .weui-cells__title{margin-top:0}.weui-cells__group_form .weui-cells__tips{padding:0 calc(var(--weui-cellMarginLR) + var(--weui-cellPaddingLR));color:var(--weui-FG-2);margin-top:8px}.weui-cells__group_form .weui-cells__tips a{font-weight:700}.weui-cells__group_form .weui-cells__tips_warn{color:var(--weui-RED)}.weui-cells__group_form .weui-label{max-width:5em;margin-right:8px}.weui-cells__group_form .weui-cell_access:active:after,.weui-cells__group_form .weui-cell_active:active:after{border-radius:8px}.weui-cells__group_form .weui-cell_warn input{color:#e64340}.weui-cells__group_form .weui-icon-warn,.weui-cells__group_form .weui-cell_switch:active:after,.weui-cells__group_form .weui-cell_vcode:active:after,.weui-cells__group_form .weui-cell_readonly:active:after,.weui-cells__group_form .weui-cell_disabled:active:after{display:none}.weui-cells__group_form input,.weui-cells__group_form textarea,.weui-cells__group_form label[for]{-webkit-tap-highlight-color:transparent}.weui-cells__group_form .weui-cell_wrap{align-items:initial;padding-top:8px;padding-bottom:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_wrap .weui-label{margin-top:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__bd{flex-wrap:wrap;align-items:center;display:flex}.weui-cells__group_form .weui-cell__control{margin:8px 0 8px 16px}.weui-cells__group_form .weui-cell__control_flex{flex:1;min-width:30vw}.weui-cells__group_form .weui-vcode-btn{color:#000;background-color:#f8f8f8;border-radius:6px;width:auto;height:auto;padding:0 12px;font-size:16px;line-height:2}.weui-cells__group_form .weui-vcode-btn:before{display:none}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap{padding-top:4px;padding-bottom:4px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-label{margin-top:12px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-input{min-height:1.88235em;font-size:17px}.weui-cells__group_form .weui-cells_checkbox .weui-check__label:before{left:calc(40px + var(--weui-cellPaddingLR))}.weui-cells__group_form .weui-cell_select{padding:0}.weui-cells__group_form .weui-cell_select-before .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_switch{padding:12px 16px}.weui-cells__group_form-primary{margin-top:32px}.weui-cells__group_form-primary .weui-cells{background:var(--weui-BG-1);border-radius:8px;overflow:hidden}.weui-cells__group_form-primary .weui-cells:before,.weui-cells__group_form-primary .weui-cells:after{display:none}.weui-cells__group_form-primary .weui-cell_access:active:after,.weui-cells__group_form-primary .weui-cell_active:active:after{border-radius:0}.taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{appearance:none;vertical-align:0;color:#1aad19;background-color:#fff;border:1px solid #d1d1d1;border-radius:3px;outline:0;width:23px;height:23px;min-height:0;font-size:23px;display:inline-block;position:relative;top:5px}.taro-checkbox_checked:checked:before{vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-variant:normal;font-family:weui;font-style:normal;font-weight:400;font-size:inherit;color:inherit;content:"";speak:none;display:inline-block;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%)scale(.73)}';export{u as C,_ as a}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{T as taro_textarea_core}from"./p-6e2f460d.js";import"./p-f72fcd8c.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{V as taro_video_control,b as taro_video_core,a as taro_video_danmu}from"./p-dd0d7e20.js";import"./p-f72fcd8c.js";import"@tarojs/taro";import"./p-160d710a.js";import"./p-5893c3ed.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{S as taro_span_core}from"./p-a2cb2d73.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{F as taro_functional_page_navigator_core}from"./p-3a6ec908.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{B as taro_button_core}from"./p-1f517ad8.js";import"./p-f72fcd8c.js";import"./p-160d710a.js";
|
|
@@ -0,0 +1 @@
|
|
|
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}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{C as taro_channel_video_core}from"./p-150a55a3.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{I as taro_inline_payment_panel_core}from"./p-99863698.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
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";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{A as taro_animation_video_core}from"./p-f6e5beeb.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
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";
|
|
@@ -0,0 +1 @@
|
|
|
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}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as e,H as s,g as n}from"./p-f72fcd8c.js";import{c as o}from"./p-160d710a.js";const a=102,r=34,h=class{constructor(e){t(this,e),this.onColumnChange=i(this,"columnChange",7),this.mode=void 0,this.range=[],this.rangeKey=void 0,this.height=void 0,this.columnId=void 0,this.updateHeight=void 0,this.updateDay=void 0,this.startY=void 0,this.preY=void 0,this.hadMove=void 0,this.touchEnd=void 0,this.isMove=void 0}getPosition(){const t=`translate3d(0, ${this.height}px, 0)`,i=`transform ${this.touchEnd?.3:0}s`;return{transform:t,"-webkit-transform":t,transition:i,"-webkit-transition":i}}formulaUnlimitedScroll(t,i,e){const{height:s,updateHeight:n,columnId:o}=this,h="up"===e?1:-1;this.touchEnd=!1,n(-t*h*r+s,o),requestAnimationFrame((()=>{this.touchEnd=!0;const e=Math.round(i/-34)+t*h;n(a-r*e,o,!0)}))}async handleMoveStart(t){this.startY=t,this.preY=t,this.hadMove=!1}async handleMoving(t){const i=t,e=i-this.preY;this.preY=i,this.touchEnd=!1,Math.abs(i-this.startY)>10&&(this.hadMove=!0);let s=this.height+e;"time"===this.mode&&("0"===this.columnId?(s>0&&(s=-816+e),s<-850&&(s=-34+e)):"1"===this.columnId&&(s>0&&(s=-2040+e),s<-2074&&(s=-34+e))),this.updateHeight(s,this.columnId)}async handleMoveEnd(t){const{mode:i,range:e,height:s,updateHeight:n,columnId:o}=this,h=-34*(e.length-1),d=t;let c;if(this.touchEnd=!0,this.hadMove)c=s-a;else{const t=window.innerHeight;if(c=s-a-(d-(t-119)),"time"===i)if("0"===o){if(c>-85)return this.formulaUnlimitedScroll(24,c,"up");if(c<-969)return this.formulaUnlimitedScroll(24,c,"down")}else if("1"===o){if(c>-85)return this.formulaUnlimitedScroll(60,c,"up");if(c<-2193)return this.formulaUnlimitedScroll(60,c,"down")}}c>0&&(c=0),c<h&&(c=h);const u=Math.round(c/-34),l=a-r*u;"date"===this.mode&&"function"==typeof this.updateDay&&("0"===this.columnId&&this.updateDay(+this.range[u].replace(/[^0-9]/gi,""),0),"1"===this.columnId&&this.updateDay(+this.range[u].replace(/[^0-9]/gi,""),1),"2"===this.columnId&&this.updateDay(+this.range[u].replace(/[^0-9]/gi,""),2)),n(l,o,"time"===i),this.onColumnChange.emit({columnId:o,height:l})}onMouseDown(t){this.isMove=!0,this.handleMoveStart(t.clientY)}onMouseMove(t){this.isMove&&this.handleMoving(t.clientY)}onMouseMoveEnd(t){this.isMove&&(this.isMove=!1,this.handleMoveEnd(t.clientY))}onTouchStart(t){this.handleMoveStart(t.changedTouches[0].clientY)}onTouchMove(t){this.handleMoving(t.changedTouches[0].clientY)}onTouchEnd(t){this.handleMoveEnd(t.changedTouches[0].clientY)}render(){const{range:t,rangeKey:i}=this,n=t.map((t=>e("div",{class:"weui-picker__item"},i?t[i]:t)));return e(s,{class:"weui-picker__group"},e("div",{class:"weui-picker__mask"}),e("div",{class:"weui-picker__indicator"}),e("div",{class:"weui-picker__content",style:this.getPosition()},n))}};function d(t,i){const e=[];for(let s=t;s<=i;s++)e.push(`${s<10?"0":""}${s}`);return e}const c=["20","21","22","23",...d(0,23),"00","01","02","03"],u=["56","57","58","59",...d(0,59),"00","01","02","03"];function l(t,i){return!isNaN(+t)&&t>=0&&t<i.length}function p(t){if(!/^\d{1,2}:\d{1,2}$/.test(t))return!1;const i=t.split(":").map((t=>+t));return!(i[0]<0||i[0]>23||i[1]<0||i[1]>59)}function g(t,i){const e=t.split(":").map((t=>+t)),s=i.split(":").map((t=>+t));return e[0]<s[0]||e[0]===s[0]&&e[1]<=s[1]}function f(t){if(!t)return!1;const i=new Date(t.replace(/-/g,"/"));return!isNaN(i.getMonth())&&i}function m(t){let i;return i=Array.isArray(t)?t.map((t=>String(t))):t,i}function w(t,i){const e=[];for(let s=t;s<=i;s++)e.push(s);return e}function k(t,i){return w(t,i)}function _(t,i,e){let s=1,n=12;return t.getFullYear()===e&&(s=t.getMonth()+1),i.getFullYear()===e&&(n=i.getMonth()+1),w(s,n)}function b(t,i,e,s){let n=1,o=function(t,i){return 4===i||6===i||9===i||11===i?30:2===i?t%4==0&&t%100!=0||t%400==0?29:28:31}(e,s);return t.getFullYear()===e&&t.getMonth()+1===s&&(n=t.getDate()),i.getFullYear()===e&&i.getMonth()+1===s&&(o=i.getDate()),w(n,o)}const v=class{constructor(s){t(this,s),this.onChange=i(this,"change",7),this.onColumnChange=i(this,"columnchange",7),this.onCancel=i(this,"cancel",7),this.index=[],this.showPicker=()=>{this.disabled||(this.height=this.getHeightByIndex(),this.hidden=!1)},this.getHeightByIndex=()=>this.index.map((t=>{let i=0;return"time"===this.mode&&(i=136),a-r*t-i})),this.hidePicker=()=>{this.fadeOut=!0,setTimeout((()=>{this.hidden=!0,this.fadeOut=!1}),350)},this.handleChange=()=>{this.hidePicker(),this.index=this.height.map((t=>(a-t)/r));let t=this.index.length&&"selector"!==this.mode?this.index:this.index[0];if("time"===this.mode){const i=[c.slice(),u.slice()],e=this.index.map(((t,e)=>i[e][t]));this.index=e.map((t=>parseInt(t))),t=e.join(":")}if("date"===this.mode){const{_start:i,_end:e,_updateValue:s}=this.pickerDate,n=s[0],o=s[1],a=k(i.getFullYear(),e.getFullYear()),r=_(i,e,n),h=b(i,e,n,o),d=a[this.index[0]],c=r[this.index[1]];t="year"===this.fields?[d]:"month"===this.fields?[d,c]:[d,c,h[this.index[2]]],t=t.map((t=>t<10?`0${t}`:t)).join("-")}this.value=t,this.pickerValue=this.value,this.onChange.emit({value:t})},this.handleColumnChange=t=>{const{columnId:i,height:e}=t.detail;this.onColumnChange.emit({column:Number(i),value:(a-e)/r})},this.handleCancel=()=>{this.hidePicker(),this.onCancel.emit()},this.updateHeight=(t,i,e=!1)=>{const s=[...this.height];if(s[i]=t,this.height=s,e){let{start:t,end:i}=this;if(p(t)||(t="00:00"),p(i)||(i="23:59"),!g(t,i))return;const e=[c.slice(),u.slice()],s=this.height.map((t=>(a-t)/r)),n=s.map(((t,i)=>e[i][t])).join(":");if(g(t,n)){if(!g(n,i)){const t=i.split(":").map((t=>a-r*(+t+4)));requestAnimationFrame((()=>this.height=t))}}else{const i=t.split(":").map((t=>a-r*(+t+4)));requestAnimationFrame((()=>this.height=i))}}},this.updateDay=(t,i)=>{const{_start:e,_end:s,_updateValue:n}=this.pickerDate;n[i]=t;const o=n[0],h=n[1],d=n[2];if(0===i){const t=_(e,s,o),i=t[t.length-1],d=t[0];h>i&&(n[1]=i),h<d&&(n[1]=d);const c=t.indexOf(n[1]),u=a-r*c;this.updateDay(n[1],1),this.updateHeight(u,"1")}else if(1===i){const t=b(e,s,o,h),i=t[t.length-1],c=t[0];d>i&&(n[2]=i),d<c&&(n[2]=c);const u=t.indexOf(n[2]),l=a-r*u;this.updateDay(n[2],2),this.updateHeight(l,"2")}},this.getSelector=()=>e("taro-picker-group",{range:this.range,rangeKey:this.rangeKey,height:this.height[0],updateHeight:this.updateHeight,columnId:"0"}),this.getMultiSelector=()=>this.range.map(((t,i)=>e("taro-picker-group",{range:t,rangeKey:this.rangeKey,height:this.height[i],updateHeight:this.updateHeight,onColumnChange:this.handleColumnChange,columnId:String(i)}))),this.getTimeSelector=()=>{const t=c.slice(),i=u.slice();return[e("taro-picker-group",{mode:"time",range:t,height:this.height[0],updateHeight:this.updateHeight,columnId:"0"}),e("taro-picker-group",{mode:"time",range:i,height:this.height[1],updateHeight:this.updateHeight,columnId:"1"})]},this.getDateSelector=()=>{const{fields:t,height:i}=this,{_start:s,_end:n,_updateValue:o}=this.pickerDate,a=o[0],r=o[1],h=k(s.getFullYear(),n.getFullYear()).map((t=>`${t}年`)),d=_(s,n,a).map((t=>`${t<10?`0${t}`:t}月`)),c=b(s,n,a,r).map((t=>`${t<10?`0${t}`:t}日`)),u=[e("taro-picker-group",{mode:"date",range:h,height:i[0],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"0"})];return"month"!==t&&"day"!==t||u.push(e("taro-picker-group",{mode:"date",range:d,height:i[1],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"1"})),"day"===t&&u.push(e("taro-picker-group",{mode:"date",range:c,height:i[2],updateDay:this.updateDay,updateHeight:this.updateHeight,columnId:"2"})),u},this.mode="selector",this.disabled=!1,this.range=[],this.rangeKey=void 0,this.value=void 0,this.start="",this.end="",this.fields="day",this.name="",this.textProps={},this.pickerValue=[],this.height=[],this.hidden=!0,this.fadeOut=!1,this.isWillLoadCalled=!1}componentWillLoad(){this.isWillLoadCalled=!0,this.handleProps()}componentDidLoad(){this.overlay&&document.body.appendChild(this.overlay)}disconnectedCallback(){var t;this.overlay&&(null===(t=this.overlay.parentNode)||void 0===t||t.removeChild(this.overlay))}onPropsChange(){this.isWillLoadCalled&&this.handleProps()}handleProps(){const{mode:t,start:i,end:e}=this;if("selector"===t){const t=this.value;this.index=[l(t,this.range)?Math.floor(t):0]}else if("multiSelector"===t){const t=this.value;this.index=[],this.range.forEach(((i,e)=>{const s=null==t?void 0:t[e],n=l(s,i)?Math.floor(s):0;this.index.push(n)}))}else if("time"===t){let t=this.value;p(t)||(console.warn("time picker value illegal"),t="0:0");const i=t.split(":").map((t=>+t));this.index=i}else{if("date"!==t)throw new Error(`Picker not support "${t}" mode.`);{let t=f(this.value)||new Date((new Date).setHours(0,0,0,0));const s=f(i)||new Date("1970/01/01"),n=f(e)||new Date("2999/01/01");if(!(s<=n))throw new Error("Picker start time must be less than end time.");t>=s&&t<=n||(t=s);const o=t.getFullYear(),a=t.getMonth()+1,r=t.getDate(),h=k(s.getFullYear(),n.getFullYear()),d=_(s,n,o),c=b(s,n,o,a);this.index=[h.indexOf(o),d.indexOf(a),c.indexOf(r)],this.pickerDate&&this.pickerDate._value.getTime()===t.getTime()&&this.pickerDate._start.getTime()===s.getTime()&&this.pickerDate._end.getTime()===n.getTime()||(this.pickerDate={_value:t,_start:s,_end:n,_updateValue:[o,a,r]})}}if(this.height=this.getHeightByIndex(),this.pickerValue=this.value,"date"===t){const t=this.pickerValue;"month"===this.fields?this.pickerValue=t.split("-").slice(0,2).join("-"):"year"===this.fields&&(this.pickerValue=t.split("-")[0])}}render(){var t,i;const{name:n,mode:a,fadeOut:r,hidden:h}=this;let d;switch(a){case"multiSelector":d=this.getMultiSelector();break;case"time":d=this.getTimeSelector();break;case"date":d=this.getDateSelector();break;default:d=this.getSelector()}const c=o("weui-mask","weui-animate-fade-in",{"weui-animate-fade-out":r}),u=o("weui-picker","weui-animate-slide-up",{"weui-animate-slide-down":r}),l=h?{display:"none"}:{};return e(s,null,e("div",{onClick:this.showPicker},e("slot",null),e("input",{type:"hidden",name:n,value:m(this.pickerValue)})),e("div",{class:"weui-picker__overlay",style:l,ref:t=>{this.overlay=t}},e("div",{class:c,onClick:this.handleCancel}),e("div",{class:u},e("div",{class:"weui-picker__hd"},e("div",{class:"weui-picker__action",onClick:this.handleCancel},null!==(t=this.textProps.cancelText)&&void 0!==t?t:"取消"),e("div",{class:"weui-picker__action",onClick:this.handleChange},null!==(i=this.textProps.okText)&&void 0!==i?i:"确定")),e("div",{class:"weui-picker__bd"},d),e("input",{type:"hidden",name:n,value:m(this.pickerValue)}))))}get el(){return n(this)}static get watchers(){return{mode:["onPropsChange"],value:["onPropsChange"],range:["onPropsChange"],start:["onPropsChange"],end:["onPropsChange"]}}};v.style='.weui-mask{z-index:1000;background:rgba(0,0,0,.6);position:fixed;inset:0}.weui-mask_transparent{z-index:1000;position:fixed;inset:0}@keyframes weuiSlideUp{0%{transform:translateY(100%)}to{transform:translate(0,0)}}.weui-animate-slide-up{animation:.3s forwards weuiSlideUp}@keyframes weuiSlideDown{0%{transform:translate(0,0)}to{transform:translateY(100%)}}.weui-animate-slide-down{animation:.3s forwards weuiSlideDown}@keyframes weuiFadeIn{0%{opacity:0}to{opacity:1}}.weui-animate-fade-in{animation:.3s forwards weuiFadeIn}@keyframes weuiFadeOut{0%{opacity:1}to{opacity:0}}.weui-animate-fade-out{animation:.3s forwards weuiFadeOut}.weui-picker{box-sizing:border-box;z-index:5000;background-color:var(--weui-BG-2);width:100%;padding-left:0;padding-left:constant(safe-area-inset-left);padding-left:env(safe-area-inset-left);padding-right:0;padding-right:constant(safe-area-inset-right);padding-right:env(safe-area-inset-right);backface-visibility:hidden;transition:transform .3s;position:fixed;bottom:0;left:0;transform:translateY(100%)}.weui-picker__hd{text-align:center;background-color:#fff;padding:9px 15px;font-size:17px;display:flex;position:relative}.weui-picker__hd:after{content:" ";color:#e5e5e5;transform-origin:0 100%;border-bottom:1px solid #e5e5e5;height:1px;position:absolute;bottom:0;left:0;right:0;transform:scaleY(.5)}.weui-picker__action{color:#1aad19;flex:1;display:block}.weui-picker__action:first-child{text-align:left;color:#888}.weui-picker__action:last-child{text-align:right}.weui-picker__bd{background-color:#fff;height:238px;display:flex;position:relative;overflow:hidden}.weui-picker__group{flex:1;height:100%;position:relative}.weui-picker__mask{z-index:3;background-color:transparent;background-image:linear-gradient(rgba(255,255,255,.95),rgba(255,255,255,.6)),linear-gradient(rgba(255,255,255,.6),rgba(255,255,255,.95));background-position:top,bottom;background-repeat:no-repeat;background-size:100% 102px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;width:100%;height:100%;margin:0 auto;position:absolute;top:0;left:0;transform:translateZ(0)}.weui-picker__indicator{z-index:3;width:100%;height:34px;position:absolute;top:102px;left:0}.weui-picker__indicator:before{content:" ";color:#e5e5e5;transform-origin:0 0;border-top:1px solid #e5e5e5;height:1px;position:absolute;top:0;left:0;right:0;transform:scaleY(.5)}.weui-picker__indicator:after{content:" ";color:#e5e5e5;transform-origin:0 100%;border-bottom:1px solid #e5e5e5;height:1px;position:absolute;bottom:0;left:0;right:0;transform:scaleY(.5)}.weui-picker__content{width:100%;position:absolute;top:0;left:0}.weui-picker__item{text-align:center;color:#000;text-overflow:ellipsis;white-space:nowrap;height:34px;padding:0;line-height:34px;overflow:hidden}.weui-picker__item_disabled{color:#999}.weui-picker,.weui-picker__hd{font-size:12px}';export{v as P,h as T}
|
|
@@ -0,0 +1 @@
|
|
|
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";
|
|
@@ -0,0 +1 @@
|
|
|
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";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r,H as s}from"./p-f72fcd8c.js";import{n}from"./p-dbdb9de9.js";const t=class{constructor(r){o(this,r)}componentDidLoad(){n("ChannelVideo",this)}render(){return r(s,null)}};export{t as C}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{K as taro_keyboard_accessory_core}from"./p-137eb06b.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{C as taro_canvas_core}from"./p-24ef5f8c.js";import"./p-f72fcd8c.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as o,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const n=class{constructor(o){r(this,o)}componentDidLoad(){t("PageContainer",this)}render(){return o(s,null)}};export{n as P}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as r}from"./p-f72fcd8c.js";const o=class{constructor(t){e(this,t),this.selectable=!1,this.userSelect=!1,this.space=void 0,this.numberOfLines=void 0}render(){const e={};return"number"==typeof this.numberOfLines&&(e["--line-clamp"]=this.numberOfLines),t(r,{style:e},t("slot",null))}};o.style="taro-text-core{user-select:none;display:inline}taro-text-core[selectable=true],taro-text-core[user-select=true]{user-select:text;display:inline-block}taro-text-core[space]{white-space:pre-wrap}taro-text-core[space=ensp]{word-spacing:.5em}taro-text-core[space=nbsp]{word-spacing:1em}taro-text-core[number-of-lines]{--line-clamp:2;word-wrap:break-word;text-overflow:ellipsis;-webkit-line-clamp:var(--line-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}";export{o as
|
|
1
|
+
import{r as e,h as t,H as r}from"./p-f72fcd8c.js";const o=class{constructor(t){e(this,t),this.selectable=!1,this.userSelect=!1,this.space=void 0,this.numberOfLines=void 0}render(){const e={};return"number"==typeof this.numberOfLines&&(e["--line-clamp"]=this.numberOfLines),t(r,{style:e},t("slot",null))}};o.style="taro-text-core{user-select:none;display:inline}taro-text-core[selectable=true],taro-text-core[user-select=true]{user-select:text;display:inline-block}taro-text-core[space]{white-space:pre-wrap}taro-text-core[space=ensp]{word-spacing:.5em}taro-text-core[space=nbsp]{word-spacing:1em}taro-text-core[number-of-lines]{--line-clamp:2;word-wrap:break-word;text-overflow:ellipsis;-webkit-line-clamp:var(--line-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}";export{o as T}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{L as taro_lifestyle_core}from"./p-af5e0304.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
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("LongPressGestureHandler",this)}render(){return s(o,null)}};export{e as L}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as o,h as r,H as a,g as e}from"./p-f72fcd8c.js";import{c as i}from"./p-160d710a.js";const n=class{constructor(r){t(this,r),this.onSubmit=o(this,"tarobuttonsubmit",7),this.onReset=o(this,"tarobuttonreset",7),this.disabled=void 0,this.hoverClass="button-hover",this.type="",this.hoverStartTime=20,this.hoverStayTime=70,this.size=void 0,this.plain=void 0,this.loading=!1,this.formType=null,this.hover=!1,this.touch=!1}onClick(t){this.disabled&&t.stopPropagation()}onTouchStart(){this.disabled||(this.touch=!0,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime))}onTouchEnd(){this.disabled||(this.touch=!1,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime),"submit"===this.formType?this.onSubmit.emit():"reset"===this.formType&&this.onReset.emit())}render(){const{disabled:t,hoverClass:o,type:e,size:n,plain:l,loading:d,hover:c}=this,b=i({[`${o}`]:c&&!t});return r(a,{class:b,type:e,plain:l,loading:d,size:n,disabled:t},d&&r("i",{class:"weui-loading"}),r("slot",null))}get el(){return e(this)}};n.style=".weui-loading{vertical-align:middle;background:url(\"data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E\") 0 0/100% no-repeat;width:20px;height:20px;animation:1s steps(12,end) infinite weuiLoading;display:inline-block}@-webkit-keyframes weuiLoading{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes weuiLoading{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.weui-btn_loading .weui-loading{margin:-.2em .34em 0 0}.weui-btn_loading.weui-btn_primary,.weui-btn_loading.weui-btn_warn{color:rgba(255,255,255,.6)}.weui-btn_loading.weui-btn_primary{background-color:#179b16}.weui-btn_loading.weui-btn_warn{background-color:#ce3c39}taro-button-core{box-sizing:border-box;appearance:none;text-align:center;color:#000;-webkit-tap-highlight-color:transparent;background-color:#f8f8f8;border-width:0;border-radius:5px;outline:0;width:100%;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;font-size:18px;line-height:2.55556;text-decoration:none;display:block;position:relative;overflow:hidden}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core:after{box-sizing:border-box;content:\" \";transform-origin:0 0;border:1px solid rgba(0,0,0,.2);border-radius:10px;width:200%;height:200%;position:absolute;top:0;left:0;transform:scale(.5)}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{color:#000;background-color:#f8f8f8}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core[size=mini]{width:auto;padding:0 1.32em;font-size:13px;line-height:2.3;display:inline-block}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{background-color:transparent;border-width:1px}taro-button-core[disabled]{color:rgba(255,255,255,.6)}taro-button-core[disabled][type=default]{color:rgba(0,0,0,.3);background-color:#f7f7f7}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-.2em .34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255,255,255,.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{color:#1aad19;border:1px solid #1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{color:rgba(26,173,25,.6);background-color:transparent;border-color:rgba(26,173,25,.6)}taro-button-core[plain][type=primary]:after{border-width:0}taro-button-core[plain][type=warn]{color:#e64340;border:1px solid #e64340}taro-button-core[plain][type=warn]:not([disabled]):active{color:rgba(230,67,64,.6);background-color:transparent;border-color:rgba(230,67,64,.6)}taro-button-core[plain][type=warn]:after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{color:#353535;border:1px solid #353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{color:rgba(53,53,53,.6);background-color:transparent;border-color:rgba(53,53,53,.6)}taro-button-core[plain]:after,taro-button-core[plain][type=default]:after{border-width:0}taro-button-core[type=primary]{color:#fff;background-color:#1aad19}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#179b16}taro-button-core[type=warn]{color:#fff;background-color:#e64340}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#ce3c39}taro-button-core[plain][disabled],taro-button-core[plain][disabled][type=primary]{color:rgba(0,0,0,.3);background-color:#f7f7f7;border:1px solid rgba(0,0,0,.2)}";export{n as
|
|
1
|
+
import{r as t,c as o,h as r,H as a,g as e}from"./p-f72fcd8c.js";import{c as i}from"./p-160d710a.js";const n=class{constructor(r){t(this,r),this.onSubmit=o(this,"tarobuttonsubmit",7),this.onReset=o(this,"tarobuttonreset",7),this.disabled=void 0,this.hoverClass="button-hover",this.type="",this.hoverStartTime=20,this.hoverStayTime=70,this.size=void 0,this.plain=void 0,this.loading=!1,this.formType=null,this.hover=!1,this.touch=!1}onClick(t){this.disabled&&t.stopPropagation()}onTouchStart(){this.disabled||(this.touch=!0,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch&&(this.hover=!0)}),this.hoverStartTime))}onTouchEnd(){this.disabled||(this.touch=!1,this.hoverClass&&!this.disabled&&setTimeout((()=>{this.touch||(this.hover=!1)}),this.hoverStayTime),"submit"===this.formType?this.onSubmit.emit():"reset"===this.formType&&this.onReset.emit())}render(){const{disabled:t,hoverClass:o,type:e,size:n,plain:l,loading:d,hover:c}=this,b=i({[`${o}`]:c&&!t});return r(a,{class:b,type:e,plain:l,loading:d,size:n,disabled:t},d&&r("i",{class:"weui-loading"}),r("slot",null))}get el(){return e(this)}};n.style=".weui-loading{vertical-align:middle;background:url(\"data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E\") 0 0/100% no-repeat;width:20px;height:20px;animation:1s steps(12,end) infinite weuiLoading;display:inline-block}@-webkit-keyframes weuiLoading{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes weuiLoading{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.weui-btn_loading .weui-loading{margin:-.2em .34em 0 0}.weui-btn_loading.weui-btn_primary,.weui-btn_loading.weui-btn_warn{color:rgba(255,255,255,.6)}.weui-btn_loading.weui-btn_primary{background-color:#179b16}.weui-btn_loading.weui-btn_warn{background-color:#ce3c39}taro-button-core{box-sizing:border-box;appearance:none;text-align:center;color:#000;-webkit-tap-highlight-color:transparent;background-color:#f8f8f8;border-width:0;border-radius:5px;outline:0;width:100%;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;font-size:18px;line-height:2.55556;text-decoration:none;display:block;position:relative;overflow:hidden}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core:after{box-sizing:border-box;content:\" \";transform-origin:0 0;border:1px solid rgba(0,0,0,.2);border-radius:10px;width:200%;height:200%;position:absolute;top:0;left:0;transform:scale(.5)}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{color:#000;background-color:#f8f8f8}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core[size=mini]{width:auto;padding:0 1.32em;font-size:13px;line-height:2.3;display:inline-block}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{background-color:transparent;border-width:1px}taro-button-core[disabled]{color:rgba(255,255,255,.6)}taro-button-core[disabled][type=default]{color:rgba(0,0,0,.3);background-color:#f7f7f7}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-.2em .34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255,255,255,.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{color:#1aad19;border:1px solid #1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{color:rgba(26,173,25,.6);background-color:transparent;border-color:rgba(26,173,25,.6)}taro-button-core[plain][type=primary]:after{border-width:0}taro-button-core[plain][type=warn]{color:#e64340;border:1px solid #e64340}taro-button-core[plain][type=warn]:not([disabled]):active{color:rgba(230,67,64,.6);background-color:transparent;border-color:rgba(230,67,64,.6)}taro-button-core[plain][type=warn]:after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{color:#353535;border:1px solid #353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{color:rgba(53,53,53,.6);background-color:transparent;border-color:rgba(53,53,53,.6)}taro-button-core[plain]:after,taro-button-core[plain][type=default]:after{border-width:0}taro-button-core[type=primary]{color:#fff;background-color:#1aad19}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#179b16}taro-button-core[type=warn]{color:#fff;background-color:#e64340}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#ce3c39}taro-button-core[plain][disabled],taro-button-core[plain][disabled][type=primary]{color:rgba(0,0,0,.3);background-color:#f7f7f7;border:1px solid rgba(0,0,0,.2)}";export{n as B}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as o,h as i,H as e}from"./p-f72fcd8c.js";import{c as s}from"./p-160d710a.js";const a="http://ossin.jd.com/swm-plus/h5Tag/tag.js",r=t=>{if(!t.startsWith("lego://"))return null;try{const o=t.substring(7),[i,e]=o.split("?");return{tagId:i,text:e&&new URLSearchParams(e).get("text")||""}}catch(o){return console.warn("Failed to parse lego URL:",t,o),null}},h=class{constructor(i){t(this,i),this.onLoad=o(this,"load",7),this.onError=o(this,"error",7),this.src=void 0,this.mode="scaleToFill",this.lazyLoad=!1,this.nativeProps={},this.aspectFillMode="width",this.didLoad=!1}componentDidLoad(){if(null!==r(this.src)&&(()=>{if(null!==document.querySelector(`script[src="${a}"]`))return;const t=document.createElement("script");t.type="module",t.src=a,document.head.appendChild(t)})(),!this.lazyLoad)return;const t=new IntersectionObserver((o=>{o[o.length-1].isIntersecting&&(t.unobserve(this.imgRef),this.didLoad=!0)}),{rootMargin:"300px 0px"});t.observe(this.imgRef)}imageOnLoad(){const{width:t,height:o,naturalWidth:i,naturalHeight:e}=this.imgRef;this.onLoad.emit({width:t,height:o}),this.aspectFillMode=i>e?"width":"height"}imageOnError(t){this.onError.emit(t)}render(){const{src:t,lazyLoad:o=!1,aspectFillMode:a="width",imageOnLoad:h,imageOnError:m,nativeProps:n,didLoad:l}=this,d=this.mode||"scaleToFill",g=r(t),c=null!==g,p=s({"taro-img__widthfix":"widthFix"===d}),_=s(`taro-img__mode-${d.toLowerCase().replace(/\s/g,"")}`,{[`taro-img__mode-aspectfill--${a}`]:"aspectFill"===d});return i(e,{class:p},c&&g?i("canvas-tag",Object.assign({tagId:g.tagId,text:g.text},n)):t?i("img",Object.assign({ref:t=>this.imgRef=t,class:_,src:o&&!l?void 0:t,onLoad:h.bind(this),onError:m.bind(this)},n)):"")}};h.style='img[src=""]{opacity:0}taro-image-core{width:320px;height:240px;font-size:0;display:inline-block;position:relative;overflow:hidden}.taro-img.taro-img__widthfix{height:100%}.taro-img__mode-scaletofill{width:100%;height:100%}.taro-img__mode-aspectfit{max-width:100%;max-height:100%;position:absolute;top:50%;transform:translateY(-50%)}.taro-img__mode-aspectfill{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{position:absolute;left:50%;transform:translate(-50%)}.taro-img__mode-bottom{position:absolute;bottom:0;left:50%;transform:translate(-50%)}.taro-img__mode-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.taro-img__mode-left{position:absolute;top:50%;transform:translateY(-50%)}.taro-img__mode-right{position:absolute;top:50%;right:0;transform:translateY(-50%)}.taro-img__mode-topright{position:absolute;right:0}.taro-img__mode-bottomleft{position:absolute;bottom:0}.taro-img__mode-bottomright{position:absolute;bottom:0;right:0}';export{h as I}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as s,H as o}from"./p-f72fcd8c.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}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as i,g as h}from"./p-f72fcd8c.js";const o=class{constructor(i){t(this,i),this.onLongTap=s(this,"longtap",7),this.onTouchStart=()=>{this.timer=setTimeout((()=>{this.onLongTap.emit()}),500)},this.onTouchMove=()=>{clearTimeout(this.timer)},this.onTouchEnd=()=>{clearTimeout(this.timer)},this.canvasId=void 0,this.height=void 0,this.width=void 0,this.nativeProps={}}componentDidRender(){const[t]=this.el.children;if(!this.height||!this.width){let s=window.getComputedStyle(t);this.height||(this.height=s.height),this.width||(this.width=s.width)}t.height=parseInt(this.height),t.width=parseInt(this.width)}render(){const{canvasId:t,nativeProps:s}=this;return i("canvas",Object.assign({"canvas-id":t,style:{width:"100%",height:"100%"},onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchCancel:this.onTouchEnd,onTouchEnd:this.onTouchEnd},s))}get el(){return h(this)}};o.style="taro-canvas-core{width:300px;height:150px;display:block;position:relative}";export{o as
|
|
1
|
+
import{r as t,c as s,h as i,g as h}from"./p-f72fcd8c.js";const o=class{constructor(i){t(this,i),this.onLongTap=s(this,"longtap",7),this.onTouchStart=()=>{this.timer=setTimeout((()=>{this.onLongTap.emit()}),500)},this.onTouchMove=()=>{clearTimeout(this.timer)},this.onTouchEnd=()=>{clearTimeout(this.timer)},this.canvasId=void 0,this.height=void 0,this.width=void 0,this.nativeProps={}}componentDidRender(){const[t]=this.el.children;if(!this.height||!this.width){let s=window.getComputedStyle(t);this.height||(this.height=s.height),this.width||(this.width=s.width)}t.height=parseInt(this.height),t.width=parseInt(this.width)}render(){const{canvasId:t,nativeProps:s}=this;return i("canvas",Object.assign({"canvas-id":t,style:{width:"100%",height:"100%"},onTouchStart:this.onTouchStart,onTouchMove:this.onTouchMove,onTouchCancel:this.onTouchEnd,onTouchEnd:this.onTouchEnd},s))}get el(){return h(this)}};o.style="taro-canvas-core{width:300px;height:150px;display:block;position:relative}";export{o as C}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{L as taro_label_core}from"./p-8b1b513a.js";import"./p-f72fcd8c.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as s,H as o}from"./p-f72fcd8c.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,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 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,g as h}from"./p-f72fcd8c.js";function e(t,i,s){if("search"===i&&(t="search"),s&&(t="password"),void 0===t)return"text";if(!t)throw new Error("unexpected type");return"digit"===t&&(t="number"),t}function
|
|
1
|
+
import{r as t,c as i,h as s,g as h}from"./p-f72fcd8c.js";function e(t,i,s){if("search"===i&&(t="search"),s&&(t="password"),void 0===t)return"text";if(!t)throw new Error("unexpected type");return"digit"===t&&(t="number"),t}function n(t){return null!=t?t:""}const o=class{constructor(s){t(this,s),this.onInput=i(this,"input",7),this.onPaste=i(this,"paste",7),this.onFocus=i(this,"focus",7),this.onBlur=i(this,"blur",7),this.onConfirm=i(this,"confirm",7),this.onChange=i(this,"change",7),this.onKeyDown=i(this,"keydown",7),this.isOnComposition=!1,this.isOnPaste=!1,this.onInputExcuted=!1,this.handleInput=t=>{t.stopPropagation();const{type:i,maxlength:s,confirmType:h,password:n}=this;if(!this.isOnComposition&&!this.onInputExcuted){let o=t.target.value;const u=e(i,h,n);this.onInputExcuted=!0,"number"===u&&o&&s>-1&&s<=o.length&&(o=o.substring(0,s),t.target.value=o),this.value=o,this.onInput.emit({value:o,cursor:o.length}),this.onInputExcuted=!1}},this.handlePaste=t=>{t.stopPropagation(),this.isOnPaste=!0,this.onPaste.emit({value:t.target.value})},this.handleFocus=t=>{t.stopPropagation(),this.onInputExcuted=!1,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.isOnPaste&&(this.isOnPaste=!1,this.value=t.target.value,this.onInput.emit({value:t.target.value,cursor:t.target.value.length}))},this.handleKeyDown=t=>{t.stopPropagation();const{value:i}=t.target,s=t.keyCode||t.code;this.onInputExcuted=!1,this.onKeyDown.emit({value:i,cursor:i.length,keyCode:s}),13===s&&this.onConfirm.emit({value:i})},this.handleComposition=t=>{t.stopPropagation(),t.target instanceof HTMLInputElement&&("compositionend"===t.type?(this.isOnComposition=!1,this.value=t.target.value,this.onInput.emit({value:t.target.value,cursor:t.target.value.length})):this.isOnComposition=!0)},this.handleBeforeInput=t=>{if(!t.data)return;const i=t.data&&/[0-9]/.test(t.data);"number"!==this.type||i||t.preventDefault(),"digit"!==this.type||i||("."!==t.data||"."===t.data&&t.target.value.indexOf(".")>-1)&&t.preventDefault()},this.value="",this.type=void 0,this.password=!1,this.placeholder=void 0,this.disabled=!1,this.maxlength=140,this.autoFocus=!1,this.confirmType="done",this.name=void 0,this.readonly=!1,this.nativeProps={}}async focus(){this.inputRef.focus()}watchAutoFocus(t,i){var s;!i&&t&&(null===(s=this.inputRef)||void 0===s||s.focus())}watchValue(t){const i=n(t);this.inputRef.value!==i&&(this.inputRef.value=i)}componentDidLoad(){var t,i,s,h,e;"file"===this.type?(this.fileListener=()=>{this.onInput.emit()},null===(t=this.inputRef)||void 0===t||t.addEventListener("change",this.fileListener)):(null===(i=this.inputRef)||void 0===i||i.addEventListener("compositionstart",this.handleComposition),null===(s=this.inputRef)||void 0===s||s.addEventListener("compositionend",this.handleComposition),null===(h=this.inputRef)||void 0===h||h.addEventListener("beforeinput",this.handleBeforeInput),null===(e=this.inputRef)||void 0===e||e.addEventListener("textInput",this.handleBeforeInput))}disconnectedCallback(){var t,i,s,h,e;"file"===this.type?null===(t=this.inputRef)||void 0===t||t.removeEventListener("change",this.fileListener):(null===(i=this.inputRef)||void 0===i||i.removeEventListener("compositionstart",this.handleComposition),null===(s=this.inputRef)||void 0===s||s.removeEventListener("compositionend",this.handleComposition),null===(h=this.inputRef)||void 0===h||h.removeEventListener("beforeinput",this.handleBeforeInput),null===(e=this.inputRef)||void 0===e||e.removeEventListener("textInput",this.handleBeforeInput))}render(){const{value:t,type:i,password:h,placeholder:o,autoFocus:u,disabled:r,maxlength:a,confirmType:l,name:c,readonly:d,nativeProps:p}=this;return s("input",Object.assign({ref:t=>{this.inputRef=t,u&&t&&t.focus()},class:"weui-input",type:e(i,l,h),placeholder:o,autoFocus:u,disabled:r,maxlength:a,name:c,readonly:d?"readonly":void 0,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onCompositionStart:this.handleComposition,onCompositionEnd:this.handleComposition},p,{value:n(t)}))}get el(){return h(this)}static get watchers(){return{autoFocus:["watchAutoFocus"],value:["watchValue"]}}};o.style=".weui-input{-webkit-appearance:none;width:100%;font-size:inherit;color:inherit;background-color:transparent;border:0;outline:0;height:1.47059em;line-height:1.47059}.weui-input::-webkit-outer-spin-button,.weui-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}taro-input-core{display:block}";export{o as I}
|
|
@@ -0,0 +1 @@
|
|
|
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";
|
|
@@ -0,0 +1 @@
|
|
|
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}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{S as taro_script_core}from"./p-baed3510.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const a=class{constructor(s){r(this,s)}componentDidLoad(){t("MatchMedia",this)}render(){return s(o,null)}};export{a as M}
|
|
@@ -0,0 +1 @@
|
|
|
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}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as s,H as o}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const a=class{constructor(s){r(this,s)}componentDidLoad(){t("AwemeData",this)}render(){return s(o,null)}};export{a as A}
|
|
@@ -0,0 +1 @@
|
|
|
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}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{L as taro_lottie_core}from"./p-5fe2d7cb.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
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}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{T as taro_tab_item_core}from"./p-2bf24716.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as e,g as h}from"./p-f72fcd8c.js";const o=class{constructor(s){t(this,s),this.onChange=i(this,"change",7),this.onChanging=i(this,"changing",7),this.handleTouchStart=t=>{this.touching||this.disabled||(this.touching=!0,this.touchId=t.targetTouches[0].identifier,this.totalWidth=this.sliderInsRef.clientWidth||1,this.ogX=t.targetTouches[0].pageX,this.ogPercent=this.percent)},this.handleTouchMove=t=>{const{disabled:i,touching:s,touchId:e,totalWidth:h,max:o,min:r,ogX:a,ogPercent:l}=this;if(!s||i)return;if(t.targetTouches[0].identifier!==e)return;t.preventDefault();let n=(t.targetTouches[0].pageX-a)/h*100+l;n=this.handleValueUpdate(n,0,100),this.updateByStep(r+.01*n*(o-r)),this.onChanging.emit({detail:t.detail,value:this.value})},this.handleTouchEnd=t=>{const{disabled:i,touching:s}=this;s&&!i&&(this.percent!==this.ogPercent&&this.onChange.emit({detail:t.detail,value:this.value}),this.touching=!1,this.touchId=null,this.ogX=0,this.ogPercent=0)},this.handleValueUpdate=(t,i=this.min,s=this.max)=>(t=isNaN(t)?0:t,Math.max(i,Math.min(t,s))),this.min=0,this.max=100,this.step=1,this.disabled=!1,this.value=0,this.activeColor="#1aad19",this.backgroundColor="#e9e9e9",this.blockSize=28,this.blockColor="#ffffff",this.showValue=!1,this.name="",this.totalWidth=1,this.touching=!1,this.ogX=0,this.touchId=null,this.percent=0,this.ogPercent=void 0,this.isWillLoadCalled=!1}function(t){if(!this.isWillLoadCalled)return;const{max:i,min:s}=this;if(null!==t){const e=this.handleValueUpdate(t,s,i);this.updateByStep(e)}}componentDidLoad(){this.handler.addEventListener("touchstart",this.handleTouchStart),this.handler.addEventListener("touchmove",this.handleTouchMove),this.handler.addEventListener("touchend",this.handleTouchEnd)}componentWillLoad(){this.isWillLoadCalled=!0;const{value:t,max:i,min:s}=this,e=this.handleValueUpdate(t,s,i);this.updateByStep(e)}updateByStep(t){const{max:i,min:s,step:e}=this,h=Math.floor((i-s)/e);for(let i=0;i<=h;i++){const o=s+e*i,r=i===h?null:s+e*(i+1);if(t===o)break;if(!r&&t>o&&(t=o),r&&t>o&&t<r){t=t-o<e/2?o:r;break}}const o=(t-s)/(i-s)*100;this.value=t,this.percent=o}render(){const{showValue:t,backgroundColor:i,activeColor:h,blockColor:o,name:r,percent:a,value:l}=this;let n=this.blockSize;const d={backgroundColor:i},c=a>100?100:a,u={width:`${c}%`,backgroundColor:h};n<12&&(n=12),n>28&&(n=28);const p={left:`${c}%`,width:`${n}px`,height:`${n}px`,backgroundColor:o,marginTop:`-${Math.floor(n/2)}px`,marginLeft:`-${Math.floor(n/2)}px`};return s(e,{class:"weui-slider-box"},s("div",{class:"weui-slider"},s("div",{class:"weui-slider__inner",style:d,ref:t=>this.sliderInsRef=t},s("div",{style:u,class:"weui-slider__track"}),s("div",{class:"weui-slider__handler",ref:t=>{t&&(this.handler=t)},style:p}),s("input",{type:"hidden",name:r,value:l}))),t&&s("div",{class:"weui-slider-box__value"},l))}get el(){return h(this)}static get watchers(){return{value:["function"]}}};o.style=".weui-slider{user-select:none;padding:15px 18px}.weui-slider__inner{background-color:#e9e9e9;height:2px;position:relative}.weui-slider__track{background-color:#1aad19;width:0;height:2px}.weui-slider__handler{background-color:#fff;border-radius:50%;width:28px;height:28px;margin-top:-14px;margin-left:-14px;position:absolute;top:50%;left:0;box-shadow:0 0 4px rgba(0,0,0,.2)}.weui-slider-box{align-items:center;display:flex}.weui-slider-box .weui-slider{flex:1}.weui-slider-box__value{color:#888;text-align:center;min-width:24px;margin-left:.5em;font-size:14px}";export{o as
|
|
1
|
+
import{r as t,c as i,h as s,H as e,g as h}from"./p-f72fcd8c.js";const o=class{constructor(s){t(this,s),this.onChange=i(this,"change",7),this.onChanging=i(this,"changing",7),this.handleTouchStart=t=>{this.touching||this.disabled||(this.touching=!0,this.touchId=t.targetTouches[0].identifier,this.totalWidth=this.sliderInsRef.clientWidth||1,this.ogX=t.targetTouches[0].pageX,this.ogPercent=this.percent)},this.handleTouchMove=t=>{const{disabled:i,touching:s,touchId:e,totalWidth:h,max:o,min:r,ogX:a,ogPercent:l}=this;if(!s||i)return;if(t.targetTouches[0].identifier!==e)return;t.preventDefault();let n=(t.targetTouches[0].pageX-a)/h*100+l;n=this.handleValueUpdate(n,0,100),this.updateByStep(r+.01*n*(o-r)),this.onChanging.emit({detail:t.detail,value:this.value})},this.handleTouchEnd=t=>{const{disabled:i,touching:s}=this;s&&!i&&(this.percent!==this.ogPercent&&this.onChange.emit({detail:t.detail,value:this.value}),this.touching=!1,this.touchId=null,this.ogX=0,this.ogPercent=0)},this.handleValueUpdate=(t,i=this.min,s=this.max)=>(t=isNaN(t)?0:t,Math.max(i,Math.min(t,s))),this.min=0,this.max=100,this.step=1,this.disabled=!1,this.value=0,this.activeColor="#1aad19",this.backgroundColor="#e9e9e9",this.blockSize=28,this.blockColor="#ffffff",this.showValue=!1,this.name="",this.totalWidth=1,this.touching=!1,this.ogX=0,this.touchId=null,this.percent=0,this.ogPercent=void 0,this.isWillLoadCalled=!1}function(t){if(!this.isWillLoadCalled)return;const{max:i,min:s}=this;if(null!==t){const e=this.handleValueUpdate(t,s,i);this.updateByStep(e)}}componentDidLoad(){this.handler.addEventListener("touchstart",this.handleTouchStart),this.handler.addEventListener("touchmove",this.handleTouchMove),this.handler.addEventListener("touchend",this.handleTouchEnd)}componentWillLoad(){this.isWillLoadCalled=!0;const{value:t,max:i,min:s}=this,e=this.handleValueUpdate(t,s,i);this.updateByStep(e)}updateByStep(t){const{max:i,min:s,step:e}=this,h=Math.floor((i-s)/e);for(let i=0;i<=h;i++){const o=s+e*i,r=i===h?null:s+e*(i+1);if(t===o)break;if(!r&&t>o&&(t=o),r&&t>o&&t<r){t=t-o<e/2?o:r;break}}const o=(t-s)/(i-s)*100;this.value=t,this.percent=o}render(){const{showValue:t,backgroundColor:i,activeColor:h,blockColor:o,name:r,percent:a,value:l}=this;let n=this.blockSize;const d={backgroundColor:i},c=a>100?100:a,u={width:`${c}%`,backgroundColor:h};n<12&&(n=12),n>28&&(n=28);const p={left:`${c}%`,width:`${n}px`,height:`${n}px`,backgroundColor:o,marginTop:`-${Math.floor(n/2)}px`,marginLeft:`-${Math.floor(n/2)}px`};return s(e,{class:"weui-slider-box"},s("div",{class:"weui-slider"},s("div",{class:"weui-slider__inner",style:d,ref:t=>this.sliderInsRef=t},s("div",{style:u,class:"weui-slider__track"}),s("div",{class:"weui-slider__handler",ref:t=>{t&&(this.handler=t)},style:p}),s("input",{type:"hidden",name:r,value:l}))),t&&s("div",{class:"weui-slider-box__value"},l))}get el(){return h(this)}static get watchers(){return{value:["function"]}}};o.style=".weui-slider{user-select:none;padding:15px 18px}.weui-slider__inner{background-color:#e9e9e9;height:2px;position:relative}.weui-slider__track{background-color:#1aad19;width:0;height:2px}.weui-slider__handler{background-color:#fff;border-radius:50%;width:28px;height:28px;margin-top:-14px;margin-left:-14px;position:absolute;top:50%;left:0;box-shadow:0 0 4px rgba(0,0,0,.2)}.weui-slider-box{align-items:center;display:flex}.weui-slider-box .weui-slider{flex:1}.weui-slider-box__value{color:#888;text-align:center;min-width:24px;margin-left:.5em;font-size:14px}";export{o as S}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as o,H as r}from"./p-f72fcd8c.js";import{n as s}from"./p-dbdb9de9.js";const n=class{constructor(o){t(this,o)}componentDidLoad(){s("ContactButton",this)}render(){return o(r,null)}};export{n as C}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{S as taro_sticky_header_core}from"./p-2e841a1d.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{A as taro_ad_custom_core}from"./p-915aa78c.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r,H as s}from"./p-f72fcd8c.js";import{n as t}from"./p-dbdb9de9.js";const a=class{constructor(r){o(this,r)}componentDidLoad(){t("FunctionalPageNavigator",this)}render(){return r(s,null)}};export{a as F}
|
|
@@ -0,0 +1 @@
|
|
|
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}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{L as taro_live_pusher_core}from"./p-582cbc31.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{F as taro_follow_swan_core}from"./p-b9446784.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as s,g as i,H as h,c as e}from"./p-f72fcd8c.js";import{i as o}from"./p-5893c3ed.js";const a=class{constructor(s){t(this,s),this.views=[],this.scaleLength=0,this.viewsChanged=()=>{this.views=[];const t=this.element.querySelectorAll("taro-movable-view-core");Array.from(t).forEach((t=>{this.views.push(t)})),this.updateArea()},this.handleTouchStart=t=>{const s=t.touches;if(!s||s.length<=1)return;const i=s[1].pageX-s[0].pageX,h=s[1].pageY-s[0].pageY;if(this.scaleLength=Math.sqrt(i*i+h*h),this.scaleArea)return;const e=(t,s)=>{const i=(t,s)=>!!(t=t.parentNode)&&(!o(t)||t!==document.body)&&(t===s||t===s.element||t.element===s||i(t,s));for(let h=0;h<s.length;h++){const e=s[h];if(t===e.element||i(t,e))return e}},a=e(s[0].target,this.views),n=e(s[1].target,this.views);this.scaleTarget=a&&a===n?a:void 0},this.handleTouchMove=t=>{const s=t.touches;if(!s||s.length<=1)return;t.preventDefault();const i=s[1].pageX-s[0].pageX,h=s[1].pageY-s[0].pageY;this.scaleLength>0&&this.updateScale(Math.sqrt(i*i+h*h)/this.scaleLength)},this.handleTouchEnd=t=>{var s,i;t.touches&&t.touches.length||!t.changedTouches||(this.scaleLength=0,this.scaleArea?this.views.forEach((t=>{var s;null===(s=t.endScale)||void 0===s||s.call(t)})):null===(i=null===(s=this.scaleTarget)||void 0===s?void 0:s.endScale)||void 0===i||i.call(s),this.scaleTarget=void 0)},this.updateScale=t=>{var s,i;t&&1!==t&&(this.scaleArea?this.views.forEach((s=>{var i;null===(i=s.setScale)||void 0===i||i.call(s,t)})):null===(i=null===(s=this.scaleTarget)||void 0===s?void 0:s.setScale)||void 0===i||i.call(s,t))},this.updateArea=()=>{const t=window.getComputedStyle(this.element),s=this.element.getBoundingClientRect(),i=["Left","Right"].map((s=>parseFloat(t["border"+s+"Width"])+parseFloat(t["padding"+s]))),h=["Top","Bottom"].map((s=>parseFloat(t["border"+s+"Width"])+parseFloat(t["padding"+s])));this.views.forEach((t=>{var e;null===(e=t.setParent)||void 0===e||e.call(t,{element:this.element,area:{height:s.height-h[0]-h[1],width:s.width-i[0]-i[1]}})}))},this.scaleArea=void 0}connectedCallback(){this.observer=new MutationObserver((t=>{t.forEach((t=>{var s,i;if("class"===t.attributeName||"style"===t.attributeName){const t=this.element.offsetWidth,h=this.element.offsetHeight;t===(null===(s=this.offset)||void 0===s?void 0:s.width)&&h===(null===(i=this.offset)||void 0===i?void 0:i.height)||this.updateArea(),this.offset={width:t,height:h}}}))})),this.observer.observe(this.element,{attributes:!0})}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}componentDidLoad(){this.viewsChanged()}render(){return s(h,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})}get element(){return i(this)}};a.style="taro-movable-area-core{width:10px;height:10px;display:block;position:relative}";const n=class{constructor(s){t(this,s),this.onChange=e(this,"change",7),this.onScale=e(this,"scale",7),this.onHTouchMove=e(this,"htouchmove",7),this.onVTouchMove=e(this,"vtouchmove",7),this.translateX=0,this.translateY=0,this.origin={x:0,y:0},this.area={width:0,height:0},this.originScale=1,this.currentScale=1,this.width=0,this.height=0,this.minX=0,this.minY=0,this.maxX=0,this.maxY=0,this.baseX=0,this.baseY=0,this.offset={x:0,y:0},this.scaleOffset={x:0,y:0},this.getLimitXY=(t,s)=>{let i=!1;return t>this.maxX?(t=this.maxX,i=!0):t<this.minX&&(t=this.minX,i=!0),s>this.maxY?(s=this.maxY,i=!0):s<this.minY&&(s=this.minY,i=!0),{x:t,y:s,outOfBounds:i}},this.animationTo=(t,s,i,h,e,o,a)=>{this.animation?(this.setTransform(t,s,i,h,e,o),null==a||a()):this.setTransform(t,s,i,h,e,o)},this.setTransform=(t,s,i,h,e,o)=>{if(t=Number(t.toFixed(1)),s=Number(s.toFixed(1)),i=Number((null!=i?i:this.currentScale).toFixed(3)),!this.outOfBounds){const i=this.getLimitXY(t,s);t=i.x,s=i.y}const a=(t,s)=>+((1e3*t-1e3*s)/1e3).toFixed(1),n=a(t,this.scaleOffset.x),r=a(s,this.scaleOffset.y);this.translateX===t&&this.translateY===s||!e&&this.onChange.emit({x:n,y:r,source:h}),i!==this.currentScale&&o&&this.onScale.emit({scale:i,x:n,y:r});const c=`translateX(${t}px) translateY(${s}px) translateZ(0px) scale(${i})`;this.element.style.transform=c,this.element.style.webkitTransform=c,this.translateX=t,this.translateY=s,this.currentScale=i},this.updateOffset=()=>{const t=(s,i)=>{if(s===i||!s.offsetParent)return{left:0,top:0};const h=t(s.offsetParent,i);return{left:s.offsetLeft+h.left,top:s.offsetTop+h.top}};if(!this.parent)return;const s=t(this.element,this.parent);this.offset.x=s.left,this.offset.y=s.top},this.updateScaleOffset=(t=this.currentScale)=>{const s=this.element.getBoundingClientRect();this.height=s.height/this.currentScale,this.width=s.width/this.currentScale,this.scaleOffset.x=(this.width*t-this.width)/2,this.scaleOffset.y=(this.height*t-this.height)/2},this.updateBoundary=()=>{const t=0-this.offset.x+this.scaleOffset.x,s=this.area.width-this.width-this.offset.x-this.scaleOffset.x;this.minX=Math.min(t,s),this.maxX=Math.max(t,s);const i=0-this.offset.y+this.scaleOffset.y,h=this.area.height-this.height-this.offset.y-this.scaleOffset.y;this.minY=Math.min(i,h),this.maxY=Math.max(i,h)},this.updateScale=(t,s,i)=>{if(!this.scale)return;const h=this.adjustScale(t);this.updateScaleOffset(h),this.updateBoundary();const{x:e,y:o}=this.getLimitXY(this.translateX,this.translateY);s?this.animationTo(e,o,h,"",!0,!0,i):this.updating||(this.updating=!0,requestAnimationFrame((()=>{this.setTransform(e,o,h,"",!0,!0),this.updating=!1})))},this.setOriginScale=t=>{this.originScale=t},this.adjustScale=t=>Math.min(10,this.scaleMax,Math.max(.5,this.scaleMin,t)),this.handleTouchStart=t=>{const s=t.touches;if(this.disabled||s.length>1||!this.element)return;const i=s[0];this.touching=!0,this.firstMoveFireEvent=!1,this.origin.x=i.screenX,this.origin.y=i.screenY,this.baseX=this.translateX,this.baseY=this.translateY,this.element.style.willChange="transform"},this.handleTouchMove=t=>{const s=t.touches;if(this.disabled||!this.element||this.scaling||!this.touching||s.length>1)return;"horizontal"!==this.direction&&t.preventDefault();const i=s[0],h=i.screenX-this.origin.x,e=i.screenY-this.origin.y;this.setTransform(this.xMove?h+this.baseX:0,this.yMove?e+this.baseY:0),this.firstMoveFireEvent||(this.firstMoveFireEvent=!0,(Math.abs(h)>Math.abs(e)?this.onHTouchMove:this.onVTouchMove).emit({originalEvent:t,bubbles:!1,capturePhase:!1,composed:!0,extraFields:{touches:t.touches||{},changedTouches:t.changedTouches||{}}}))},this.handleTouchEnd=t=>{const s=t.changedTouches[0];!this.disabled&&this.touching&&s&&(this.touching=!1,this.setTransform(this.xMove?s.screenX-this.origin.x+this.baseX:0,this.yMove?s.screenY-this.origin.y+this.baseY:0))},this.x=0,this.y=0,this.direction="none",this.outOfBounds=!1,this.inertia=!1,this.friction=2,this.damping=20,this.disabled=!1,this.scale=!1,this.scaleMin=.5,this.scaleMax=10,this.scaleValue=1,this.animation=!0}watchX(t){this.setTransform(parseFloat(`${t||0}`),this.translateY)}watchY(t){this.setTransform(this.translateX,parseFloat(`${t||0}`))}watchScaleMinOrMax(){if(!this.scale)return!1;this.updateScale(this.currentScale,!0),this.setOriginScale(this.currentScale)}watchScaleValue(t){return!!this.scale&&(this.updateScale(t,!0),this.setOriginScale(t),t)}async setParent({element:t,area:s}){const i=this.scale?this.scaleValue:1;this.area=s,this.parent=t,this.updateOffset(),this.updateScaleOffset(i),this.updateBoundary(),this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,i,"",!0),this.setOriginScale(i)}async endScale(){this.scaling=!1,this.setOriginScale(this.currentScale)}async setScale(t){this.scale&&(this.scaling=!0,this.updateScale(t*this.originScale))}connectedCallback(){this.observer=new MutationObserver((t=>{t.forEach((t=>{const s=t.attributeName;if(s&&["class","style"].includes(s)){const i=t.oldValue,h=t.target.getAttribute(s);if(i===h)return;const e=t=>null==t?void 0:t.split(";").filter((t=>!["transform","will-change"].find((s=>t.trim().startsWith(s))))).join(";");if("style"===s&&e(h)===e(i))return;this.updateOffset(),this.updateScaleOffset(),this.updateBoundary(),this.setTransform(this.translateX,this.translateY)}}))})),this.observer.observe(this.element,{attributes:!0,attributeOldValue:!0})}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}componentDidLoad(){if(this.element.style.transformOrigin="center",this.xMove=["horizontal","all"].includes(this.direction),this.yMove=["vertical","all"].includes(this.direction),this.friction<=0&&(this.friction=2),this.x||this.y){const t=parseFloat(`${this.x||0}`),s=parseFloat(`${this.y||0}`);this.setTransform(t,s)}}render(){return s(h,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})}get element(){return i(this)}static get watchers(){return{x:["watchX"],y:["watchY"],scaleMin:["watchScaleMinOrMax"],scaleMax:["watchScaleMinOrMax"],scaleValue:["watchScaleValue"]}}};n.style="taro-movable-view-core{width:10px;height:10px;display:inline-block;position:absolute;top:0;left:0}";export{a as
|
|
1
|
+
import{r as t,h as s,g as i,H as h,c as e}from"./p-f72fcd8c.js";import{i as o}from"./p-5893c3ed.js";const a=class{constructor(s){t(this,s),this.views=[],this.scaleLength=0,this.viewsChanged=()=>{this.views=[];const t=this.element.querySelectorAll("taro-movable-view-core");Array.from(t).forEach((t=>{this.views.push(t)})),this.updateArea()},this.handleTouchStart=t=>{const s=t.touches;if(!s||s.length<=1)return;const i=s[1].pageX-s[0].pageX,h=s[1].pageY-s[0].pageY;if(this.scaleLength=Math.sqrt(i*i+h*h),this.scaleArea)return;const e=(t,s)=>{const i=(t,s)=>!!(t=t.parentNode)&&(!o(t)||t!==document.body)&&(t===s||t===s.element||t.element===s||i(t,s));for(let h=0;h<s.length;h++){const e=s[h];if(t===e.element||i(t,e))return e}},a=e(s[0].target,this.views),n=e(s[1].target,this.views);this.scaleTarget=a&&a===n?a:void 0},this.handleTouchMove=t=>{const s=t.touches;if(!s||s.length<=1)return;t.preventDefault();const i=s[1].pageX-s[0].pageX,h=s[1].pageY-s[0].pageY;this.scaleLength>0&&this.updateScale(Math.sqrt(i*i+h*h)/this.scaleLength)},this.handleTouchEnd=t=>{var s,i;t.touches&&t.touches.length||!t.changedTouches||(this.scaleLength=0,this.scaleArea?this.views.forEach((t=>{var s;null===(s=t.endScale)||void 0===s||s.call(t)})):null===(i=null===(s=this.scaleTarget)||void 0===s?void 0:s.endScale)||void 0===i||i.call(s),this.scaleTarget=void 0)},this.updateScale=t=>{var s,i;t&&1!==t&&(this.scaleArea?this.views.forEach((s=>{var i;null===(i=s.setScale)||void 0===i||i.call(s,t)})):null===(i=null===(s=this.scaleTarget)||void 0===s?void 0:s.setScale)||void 0===i||i.call(s,t))},this.updateArea=()=>{const t=window.getComputedStyle(this.element),s=this.element.getBoundingClientRect(),i=["Left","Right"].map((s=>parseFloat(t["border"+s+"Width"])+parseFloat(t["padding"+s]))),h=["Top","Bottom"].map((s=>parseFloat(t["border"+s+"Width"])+parseFloat(t["padding"+s])));this.views.forEach((t=>{var e;null===(e=t.setParent)||void 0===e||e.call(t,{element:this.element,area:{height:s.height-h[0]-h[1],width:s.width-i[0]-i[1]}})}))},this.scaleArea=void 0}connectedCallback(){this.observer=new MutationObserver((t=>{t.forEach((t=>{var s,i;if("class"===t.attributeName||"style"===t.attributeName){const t=this.element.offsetWidth,h=this.element.offsetHeight;t===(null===(s=this.offset)||void 0===s?void 0:s.width)&&h===(null===(i=this.offset)||void 0===i?void 0:i.height)||this.updateArea(),this.offset={width:t,height:h}}}))})),this.observer.observe(this.element,{attributes:!0})}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}componentDidLoad(){this.viewsChanged()}render(){return s(h,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})}get element(){return i(this)}};a.style="taro-movable-area-core{width:10px;height:10px;display:block;position:relative}";const n=class{constructor(s){t(this,s),this.onChange=e(this,"change",7),this.onScale=e(this,"scale",7),this.onHTouchMove=e(this,"htouchmove",7),this.onVTouchMove=e(this,"vtouchmove",7),this.translateX=0,this.translateY=0,this.origin={x:0,y:0},this.area={width:0,height:0},this.originScale=1,this.currentScale=1,this.width=0,this.height=0,this.minX=0,this.minY=0,this.maxX=0,this.maxY=0,this.baseX=0,this.baseY=0,this.offset={x:0,y:0},this.scaleOffset={x:0,y:0},this.getLimitXY=(t,s)=>{let i=!1;return t>this.maxX?(t=this.maxX,i=!0):t<this.minX&&(t=this.minX,i=!0),s>this.maxY?(s=this.maxY,i=!0):s<this.minY&&(s=this.minY,i=!0),{x:t,y:s,outOfBounds:i}},this.animationTo=(t,s,i,h,e,o,a)=>{this.animation?(this.setTransform(t,s,i,h,e,o),null==a||a()):this.setTransform(t,s,i,h,e,o)},this.setTransform=(t,s,i,h,e,o)=>{if(t=Number(t.toFixed(1)),s=Number(s.toFixed(1)),i=Number((null!=i?i:this.currentScale).toFixed(3)),!this.outOfBounds){const i=this.getLimitXY(t,s);t=i.x,s=i.y}const a=(t,s)=>+((1e3*t-1e3*s)/1e3).toFixed(1),n=a(t,this.scaleOffset.x),r=a(s,this.scaleOffset.y);this.translateX===t&&this.translateY===s||!e&&this.onChange.emit({x:n,y:r,source:h}),i!==this.currentScale&&o&&this.onScale.emit({scale:i,x:n,y:r});const c=`translateX(${t}px) translateY(${s}px) translateZ(0px) scale(${i})`;this.element.style.transform=c,this.element.style.webkitTransform=c,this.translateX=t,this.translateY=s,this.currentScale=i},this.updateOffset=()=>{const t=(s,i)=>{if(s===i||!s.offsetParent)return{left:0,top:0};const h=t(s.offsetParent,i);return{left:s.offsetLeft+h.left,top:s.offsetTop+h.top}};if(!this.parent)return;const s=t(this.element,this.parent);this.offset.x=s.left,this.offset.y=s.top},this.updateScaleOffset=(t=this.currentScale)=>{const s=this.element.getBoundingClientRect();this.height=s.height/this.currentScale,this.width=s.width/this.currentScale,this.scaleOffset.x=(this.width*t-this.width)/2,this.scaleOffset.y=(this.height*t-this.height)/2},this.updateBoundary=()=>{const t=0-this.offset.x+this.scaleOffset.x,s=this.area.width-this.width-this.offset.x-this.scaleOffset.x;this.minX=Math.min(t,s),this.maxX=Math.max(t,s);const i=0-this.offset.y+this.scaleOffset.y,h=this.area.height-this.height-this.offset.y-this.scaleOffset.y;this.minY=Math.min(i,h),this.maxY=Math.max(i,h)},this.updateScale=(t,s,i)=>{if(!this.scale)return;const h=this.adjustScale(t);this.updateScaleOffset(h),this.updateBoundary();const{x:e,y:o}=this.getLimitXY(this.translateX,this.translateY);s?this.animationTo(e,o,h,"",!0,!0,i):this.updating||(this.updating=!0,requestAnimationFrame((()=>{this.setTransform(e,o,h,"",!0,!0),this.updating=!1})))},this.setOriginScale=t=>{this.originScale=t},this.adjustScale=t=>Math.min(10,this.scaleMax,Math.max(.5,this.scaleMin,t)),this.handleTouchStart=t=>{const s=t.touches;if(this.disabled||s.length>1||!this.element)return;const i=s[0];this.touching=!0,this.firstMoveFireEvent=!1,this.origin.x=i.screenX,this.origin.y=i.screenY,this.baseX=this.translateX,this.baseY=this.translateY,this.element.style.willChange="transform"},this.handleTouchMove=t=>{const s=t.touches;if(this.disabled||!this.element||this.scaling||!this.touching||s.length>1)return;"horizontal"!==this.direction&&t.preventDefault();const i=s[0],h=i.screenX-this.origin.x,e=i.screenY-this.origin.y;this.setTransform(this.xMove?h+this.baseX:0,this.yMove?e+this.baseY:0),this.firstMoveFireEvent||(this.firstMoveFireEvent=!0,(Math.abs(h)>Math.abs(e)?this.onHTouchMove:this.onVTouchMove).emit({originalEvent:t,bubbles:!1,capturePhase:!1,composed:!0,extraFields:{touches:t.touches||{},changedTouches:t.changedTouches||{}}}))},this.handleTouchEnd=t=>{const s=t.changedTouches[0];!this.disabled&&this.touching&&s&&(this.touching=!1,this.setTransform(this.xMove?s.screenX-this.origin.x+this.baseX:0,this.yMove?s.screenY-this.origin.y+this.baseY:0))},this.x=0,this.y=0,this.direction="none",this.outOfBounds=!1,this.inertia=!1,this.friction=2,this.damping=20,this.disabled=!1,this.scale=!1,this.scaleMin=.5,this.scaleMax=10,this.scaleValue=1,this.animation=!0}watchX(t){this.setTransform(parseFloat(`${t||0}`),this.translateY)}watchY(t){this.setTransform(this.translateX,parseFloat(`${t||0}`))}watchScaleMinOrMax(){if(!this.scale)return!1;this.updateScale(this.currentScale,!0),this.setOriginScale(this.currentScale)}watchScaleValue(t){return!!this.scale&&(this.updateScale(t,!0),this.setOriginScale(t),t)}async setParent({element:t,area:s}){const i=this.scale?this.scaleValue:1;this.area=s,this.parent=t,this.updateOffset(),this.updateScaleOffset(i),this.updateBoundary(),this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,i,"",!0),this.setOriginScale(i)}async endScale(){this.scaling=!1,this.setOriginScale(this.currentScale)}async setScale(t){this.scale&&(this.scaling=!0,this.updateScale(t*this.originScale))}connectedCallback(){this.observer=new MutationObserver((t=>{t.forEach((t=>{const s=t.attributeName;if(s&&["class","style"].includes(s)){const i=t.oldValue,h=t.target.getAttribute(s);if(i===h)return;const e=t=>null==t?void 0:t.split(";").filter((t=>!["transform","will-change"].find((s=>t.trim().startsWith(s))))).join(";");if("style"===s&&e(h)===e(i))return;this.updateOffset(),this.updateScaleOffset(),this.updateBoundary(),this.setTransform(this.translateX,this.translateY)}}))})),this.observer.observe(this.element,{attributes:!0,attributeOldValue:!0})}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}componentDidLoad(){if(this.element.style.transformOrigin="center",this.xMove=["horizontal","all"].includes(this.direction),this.yMove=["vertical","all"].includes(this.direction),this.friction<=0&&(this.friction=2),this.x||this.y){const t=parseFloat(`${this.x||0}`),s=parseFloat(`${this.y||0}`);this.setTransform(t,s)}}render(){return s(h,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})}get element(){return i(this)}static get watchers(){return{x:["watchX"],y:["watchY"],scaleMin:["watchScaleMinOrMax"],scaleMax:["watchScaleMinOrMax"],scaleValue:["watchScaleValue"]}}};n.style="taro-movable-view-core{width:10px;height:10px;display:inline-block;position:absolute;top:0;left:0}";export{a as M,n as a}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as i,g as s,H as r}from"./p-f72fcd8c.js";var o,a=function(t,e,i,s,r){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?r.call(t,i):r?r.value=i:e.set(t,i),i},h=function(t,e,i,s){if("a"===i&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!s:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?s:"a"===i?s.call(t):s?s.value:e.get(t)};const c=class{constructor(i){t(this,i),this.onChange=e(this,"change",7),this.uniqueName=Date.now().toString(36),o.set(this,void 0),this.name=void 0}function(t){if(t.stopPropagation(),"TARO-RADIO-CORE"!==t.target.tagName)return;const e=t.target;e.checked&&(this.el.querySelectorAll("taro-radio-core").forEach((t=>{t!==e&&(t.checked=!1)})),a(this,o,t.detail.value,"f"),this.onChange.emit({value:h(this,o,"f")}))}componentDidLoad(){this.el.querySelectorAll("taro-radio-core").forEach((t=>{t.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!h(this,o,"f")){const t=this.el.querySelectorAll("taro-radio-core");a(this,o,this.getValues(t),"f")}return h(this,o,"f")},configurable:!0})}getValues(t){let e="";return Array.from(t).forEach((t=>{const i=t.querySelector("input");(null==i?void 0:i.checked)&&(e=i.value||"")})),e}render(){return i(r,{class:"weui-cells_radiogroup"})}get el(){return s(this)}};o=new WeakMap;const n=class{constructor(i){t(this,i),this.onChange=e(this,"radiochange",7),this.handleClick=t=>{t.stopPropagation(),this.disabled||this.checked||(this.checked=!0)},this.name=void 0,this.value="",this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}watchChecked(t){this.isWillLoadCalled&&t&&this.onChange.emit({value:this.value})}watchId(t){this.isWillLoadCalled&&t&&this.inputEl.setAttribute("id",t)}componentDidRender(){this.id&&this.el.removeAttribute("id")}componentWillLoad(){this.isWillLoadCalled=!0}render(){const{checked:t,name:e,value:s,disabled:o,nativeProps:a}=this;return i(r,{class:"weui-cells_checkbox",onClick:this.handleClick},i("input",Object.assign({ref:t=>{t&&(this.inputEl=t,this.id&&t.setAttribute("id",this.id))},type:"radio",name:e,value:s,class:"weui-check",checked:t,disabled:o,onChange:t=>t.stopPropagation()},a)),i("i",{class:"weui-icon-checked"}),i("slot",null))}get el(){return s(this)}static get watchers(){return{checked:["watchChecked"],id:["watchId"]}}};export{c as R,n as a}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{P as taro_pan_gesture_handler_core}from"./p-7ea32cac.js";import"./p-f72fcd8c.js";import"./p-dbdb9de9.js";import"@tarojs/taro";
|
|
@@ -0,0 +1 @@
|
|
|
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}
|