@tarojs/components 4.0.4 → 4.0.5-alpha.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/{index-09efe07d.js → index-a7069008.js} +0 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-button-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-canvas-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-components.cjs.js +2 -2
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-draggable-sheet-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-grid-builder-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-icon-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-image-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-input-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-list-builder-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-nested-scroll-body-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-open-container-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-span-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +205 -220
- package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tabbar.cjs.entry.js +1 -1
- package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-text-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-textarea-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-video-control_3.cjs.entry.js +1 -1
- package/dist/cjs/taro-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
- package/dist/collection/components/swiper/style/index.css +4 -16
- package/dist/collection/components/swiper/swiper-item.js +7 -84
- package/dist/collection/components/swiper/swiper.js +217 -178
- package/dist/components/taro-swiper-core.js +199 -179
- package/dist/components/taro-swiper-item-core.js +8 -47
- package/dist/esm/{index-9924aee9.js → index-5e431bb8.js} +0 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/taro-ad-core.entry.js +1 -1
- package/dist/esm/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm/taro-animation-video-core.entry.js +1 -1
- package/dist/esm/taro-animation-view-core.entry.js +1 -1
- package/dist/esm/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm/taro-audio-core.entry.js +1 -1
- package/dist/esm/taro-aweme-data-core.entry.js +1 -1
- package/dist/esm/taro-block-core.entry.js +1 -1
- package/dist/esm/taro-button-core.entry.js +1 -1
- package/dist/esm/taro-camera-core.entry.js +1 -1
- package/dist/esm/taro-canvas-core.entry.js +1 -1
- package/dist/esm/taro-channel-live-core.entry.js +1 -1
- package/dist/esm/taro-channel-video-core.entry.js +1 -1
- package/dist/esm/taro-checkbox-core_2.entry.js +1 -1
- package/dist/esm/taro-comment-detail-core.entry.js +1 -1
- package/dist/esm/taro-comment-list-core.entry.js +1 -1
- package/dist/esm/taro-components.js +3 -3
- package/dist/esm/taro-contact-button-core.entry.js +1 -1
- package/dist/esm/taro-cover-image-core.entry.js +1 -1
- package/dist/esm/taro-cover-view-core.entry.js +1 -1
- package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm/taro-draggable-sheet-core.entry.js +1 -1
- package/dist/esm/taro-editor-core.entry.js +1 -1
- package/dist/esm/taro-follow-swan-core.entry.js +1 -1
- package/dist/esm/taro-form-core.entry.js +1 -1
- package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm/taro-grid-builder-core.entry.js +1 -1
- package/dist/esm/taro-grid-view-core.entry.js +1 -1
- package/dist/esm/taro-icon-core.entry.js +1 -1
- package/dist/esm/taro-image-core.entry.js +1 -1
- package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
- package/dist/esm/taro-input-core.entry.js +1 -1
- package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm/taro-label-core.entry.js +1 -1
- package/dist/esm/taro-lifestyle-core.entry.js +1 -1
- package/dist/esm/taro-like-core.entry.js +1 -1
- package/dist/esm/taro-list-builder-core.entry.js +1 -1
- package/dist/esm/taro-list-view-core.entry.js +1 -1
- package/dist/esm/taro-live-player-core.entry.js +1 -1
- package/dist/esm/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm/taro-login-core.entry.js +1 -1
- package/dist/esm/taro-lottie-core.entry.js +1 -1
- package/dist/esm/taro-map-core.entry.js +1 -1
- package/dist/esm/taro-match-media-core.entry.js +1 -1
- package/dist/esm/taro-movable-area-core_2.entry.js +1 -1
- package/dist/esm/taro-native-slot-core.entry.js +1 -1
- package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm/taro-navigator-core.entry.js +1 -1
- package/dist/esm/taro-nested-scroll-body-core.entry.js +1 -1
- package/dist/esm/taro-nested-scroll-header-core.entry.js +1 -1
- package/dist/esm/taro-official-account-core.entry.js +1 -1
- package/dist/esm/taro-open-container-core.entry.js +1 -1
- package/dist/esm/taro-open-data-core.entry.js +1 -1
- package/dist/esm/taro-page-container-core.entry.js +1 -1
- package/dist/esm/taro-page-meta-core.entry.js +1 -1
- package/dist/esm/taro-picker-core_2.entry.js +1 -1
- package/dist/esm/taro-picker-view-column-core_2.entry.js +1 -1
- package/dist/esm/taro-progress-core.entry.js +1 -1
- package/dist/esm/taro-pull-to-refresh-core.entry.js +1 -1
- package/dist/esm/taro-radio-core_2.entry.js +1 -1
- package/dist/esm/taro-rich-text-core.entry.js +1 -1
- package/dist/esm/taro-root-portal-core.entry.js +1 -1
- package/dist/esm/taro-rtc-room-core.entry.js +1 -1
- package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
- package/dist/esm/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm/taro-share-element-core.entry.js +1 -1
- package/dist/esm/taro-slider-core.entry.js +1 -1
- package/dist/esm/taro-slot-core.entry.js +1 -1
- package/dist/esm/taro-snapshot-core.entry.js +1 -1
- package/dist/esm/taro-span-core.entry.js +1 -1
- package/dist/esm/taro-sticky-header-core.entry.js +1 -1
- package/dist/esm/taro-sticky-section-core.entry.js +1 -1
- package/dist/esm/taro-swiper-core_2.entry.js +205 -220
- package/dist/esm/taro-switch-core.entry.js +1 -1
- package/dist/esm/taro-tab-item-core.entry.js +1 -1
- package/dist/esm/taro-tabbar.entry.js +1 -1
- package/dist/esm/taro-tabs-core.entry.js +1 -1
- package/dist/esm/taro-text-core.entry.js +1 -1
- package/dist/esm/taro-textarea-core.entry.js +1 -1
- package/dist/esm/taro-video-control_3.entry.js +1 -1
- package/dist/esm/taro-view-core.entry.js +1 -1
- package/dist/esm/taro-voip-room-core.entry.js +1 -1
- package/dist/esm/taro-web-view-core.entry.js +1 -1
- package/dist/esm-es5/{index-9924aee9.js → index-5e431bb8.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/taro-ad-core.entry.js +1 -1
- package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
- package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm-es5/taro-audio-core.entry.js +1 -1
- package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-block-core.entry.js +1 -1
- package/dist/esm-es5/taro-button-core.entry.js +1 -1
- package/dist/esm-es5/taro-camera-core.entry.js +1 -1
- package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
- package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
- package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
- package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
- package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
- package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm-es5/taro-draggable-sheet-core.entry.js +1 -1
- package/dist/esm-es5/taro-editor-core.entry.js +1 -1
- package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
- package/dist/esm-es5/taro-form-core.entry.js +1 -1
- package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-grid-builder-core.entry.js +1 -1
- package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-icon-core.entry.js +1 -1
- package/dist/esm-es5/taro-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
- package/dist/esm-es5/taro-input-core.entry.js +1 -1
- package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm-es5/taro-label-core.entry.js +1 -1
- package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
- package/dist/esm-es5/taro-like-core.entry.js +1 -1
- package/dist/esm-es5/taro-list-builder-core.entry.js +1 -1
- package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm-es5/taro-login-core.entry.js +1 -1
- package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
- package/dist/esm-es5/taro-map-core.entry.js +1 -1
- package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
- package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-nested-scroll-body-core.entry.js +1 -1
- package/dist/esm-es5/taro-nested-scroll-header-core.entry.js +1 -1
- package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
- package/dist/esm-es5/taro-open-container-core.entry.js +1 -1
- package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
- package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-progress-core.entry.js +1 -1
- package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -1
- package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
- package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
- package/dist/esm-es5/taro-slider-core.entry.js +1 -1
- package/dist/esm-es5/taro-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-snapshot-core.entry.js +1 -1
- package/dist/esm-es5/taro-span-core.entry.js +1 -1
- package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
- package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-switch-core.entry.js +1 -1
- package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
- package/dist/esm-es5/taro-tabbar.entry.js +1 -1
- package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
- package/dist/esm-es5/taro-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
- package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
- package/dist/esm-es5/taro-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
- package/dist/hydrate/index.js +209 -230
- package/dist/taro-components/{p-ac2be5f3.entry.js → p-010113d5.entry.js} +1 -1
- package/dist/taro-components/p-0711615a.entry.js +1 -0
- package/dist/taro-components/{p-65d11e99.system.entry.js → p-08f31efb.system.entry.js} +1 -1
- package/dist/taro-components/{p-17b9f865.system.entry.js → p-0b9fa602.system.entry.js} +1 -1
- package/dist/taro-components/{p-71c89856.system.entry.js → p-0c3bf536.system.entry.js} +1 -1
- package/dist/taro-components/{p-6664a2ca.system.entry.js → p-0cbc06a0.system.entry.js} +1 -1
- package/dist/taro-components/p-0d965cb0.entry.js +1 -0
- package/dist/taro-components/{p-0fc790c0.system.entry.js → p-0e77f1af.system.entry.js} +1 -1
- package/dist/taro-components/{p-b4577a12.system.entry.js → p-0e8c1988.system.entry.js} +1 -1
- package/dist/taro-components/p-101c15ac.entry.js +1 -0
- package/dist/taro-components/{p-d5603857.entry.js → p-1331d6e6.entry.js} +1 -1
- package/dist/taro-components/{p-e1cce2f1.entry.js → p-13773464.entry.js} +1 -1
- package/dist/taro-components/{p-79cad66b.entry.js → p-13f9d171.entry.js} +1 -1
- package/dist/taro-components/{p-91ee1f8a.system.entry.js → p-14e9f2fd.system.entry.js} +1 -1
- package/dist/taro-components/p-1565cc2e.system.entry.js +1 -0
- package/dist/taro-components/{p-18c039ef.entry.js → p-177ab579.entry.js} +1 -1
- package/dist/taro-components/p-1bb89572.entry.js +1 -0
- package/dist/taro-components/{p-c7d8c076.system.entry.js → p-200ba6f2.system.entry.js} +1 -1
- package/dist/taro-components/p-2053531e.system.entry.js +1 -0
- package/dist/taro-components/{p-75ded8a0.system.entry.js → p-2210c50a.system.entry.js} +1 -1
- package/dist/taro-components/p-22140f38.entry.js +1 -0
- package/dist/taro-components/{p-dedf50a9.entry.js → p-2338fbc5.entry.js} +1 -1
- package/dist/taro-components/p-24a12aac.system.entry.js +1 -0
- package/dist/taro-components/p-26792379.entry.js +1 -0
- package/dist/taro-components/{p-5f23dc41.system.entry.js → p-274753ad.system.entry.js} +1 -1
- package/dist/taro-components/{p-3cf08137.entry.js → p-2ad41ae2.entry.js} +1 -1
- package/dist/taro-components/{p-dc25fa81.entry.js → p-2b0158fc.entry.js} +1 -1
- package/dist/taro-components/{p-9e359fff.system.entry.js → p-2d2c8354.system.entry.js} +1 -1
- package/dist/taro-components/{p-12582166.entry.js → p-310f27ae.entry.js} +1 -1
- package/dist/taro-components/p-31f20299.entry.js +1 -0
- package/dist/taro-components/{p-7ca2d075.system.entry.js → p-336b5b6c.system.entry.js} +1 -1
- package/dist/taro-components/{p-02465454.system.entry.js → p-34aee4d3.system.entry.js} +1 -1
- package/dist/taro-components/{p-ac9fb309.system.entry.js → p-34b51434.system.entry.js} +1 -1
- package/dist/taro-components/p-3779a716.entry.js +1 -0
- package/dist/taro-components/{p-02d4d104.entry.js → p-39dd80dd.entry.js} +1 -1
- package/dist/taro-components/p-3d163624.entry.js +1 -0
- package/dist/taro-components/{p-1eea2828.entry.js → p-3dc40ce0.entry.js} +1 -1
- package/dist/taro-components/{p-e3d825d1.system.entry.js → p-3ee0dda1.system.entry.js} +1 -1
- package/dist/taro-components/{p-d73b3a94.system.entry.js → p-4446fe5f.system.entry.js} +1 -1
- package/dist/taro-components/p-45ce1c8b.system.entry.js +1 -0
- package/dist/taro-components/{p-c677414d.system.entry.js → p-48395cab.system.entry.js} +1 -1
- package/dist/taro-components/{p-03dc0283.entry.js → p-48887552.entry.js} +1 -1
- package/dist/taro-components/p-493e2c9a.entry.js +1 -0
- package/dist/taro-components/{p-57911e2c.system.entry.js → p-498d940e.system.entry.js} +1 -1
- package/dist/taro-components/{p-7e054ae7.system.entry.js → p-49bd1791.system.entry.js} +1 -1
- package/dist/taro-components/{p-53e62840.system.entry.js → p-4dddb4a4.system.entry.js} +1 -1
- package/dist/taro-components/{p-07ae6678.system.entry.js → p-4f62b74a.system.entry.js} +1 -1
- package/dist/taro-components/p-5584c307.entry.js +1 -0
- package/dist/taro-components/{p-ba5e7ec4.system.entry.js → p-58a44067.system.entry.js} +1 -1
- package/dist/taro-components/{p-9f53e26c.system.entry.js → p-5c3d432f.system.entry.js} +1 -1
- package/dist/taro-components/{p-ebad862a.system.entry.js → p-60869da5.system.entry.js} +1 -1
- package/dist/taro-components/p-60c76b97.entry.js +1 -0
- package/dist/taro-components/p-62fcda43.entry.js +1 -0
- package/dist/taro-components/{p-9b6b17c4.system.entry.js → p-636c9e22.system.entry.js} +1 -1
- package/dist/taro-components/p-646b6bb1.entry.js +1 -0
- package/dist/taro-components/{p-f5f3a111.entry.js → p-6a54dc69.entry.js} +1 -1
- package/dist/taro-components/p-6c314305.entry.js +1 -0
- package/dist/taro-components/{p-d05eb105.system.entry.js → p-6ef0579d.system.entry.js} +1 -1
- package/dist/taro-components/{p-4ac48df1.system.entry.js → p-6f25b319.system.entry.js} +1 -1
- package/dist/taro-components/{p-55e12654.entry.js → p-6f43d1a1.entry.js} +1 -1
- package/dist/taro-components/{p-f168fffc.entry.js → p-70283efb.entry.js} +1 -1
- package/dist/taro-components/{p-f43f26cf.entry.js → p-71167112.entry.js} +1 -1
- package/dist/taro-components/{p-938f9036.system.entry.js → p-720c96ae.system.entry.js} +1 -1
- package/dist/taro-components/p-725381f1.entry.js +1 -0
- package/dist/taro-components/{p-dcf5747c.system.entry.js → p-731de0f1.system.entry.js} +1 -1
- package/dist/taro-components/{p-3bfe9260.entry.js → p-757c9533.entry.js} +1 -1
- package/dist/taro-components/p-7625b781.system.entry.js +1 -0
- package/dist/taro-components/{p-4a8b4d58.system.entry.js → p-7677dcb3.system.entry.js} +1 -1
- package/dist/taro-components/p-76eedcd8.system.entry.js +1 -0
- package/dist/taro-components/{p-204996e7.entry.js → p-77dee229.entry.js} +1 -1
- package/dist/taro-components/p-7a860d44.system.entry.js +1 -0
- package/dist/taro-components/p-7ba8fbd4.entry.js +1 -0
- package/dist/taro-components/{p-b1f80b6b.entry.js → p-7c78d193.entry.js} +1 -1
- package/dist/taro-components/p-7d115ac1.entry.js +1 -0
- package/dist/taro-components/p-7d469e2e.entry.js +1 -0
- package/dist/taro-components/{p-f9935901.system.entry.js → p-7e486065.system.entry.js} +1 -1
- package/dist/taro-components/{p-6654374e.system.entry.js → p-7f067654.system.entry.js} +1 -1
- package/dist/taro-components/{p-5c98f478.entry.js → p-81f8a153.entry.js} +1 -1
- package/dist/taro-components/p-86b09ede.system.entry.js +1 -0
- package/dist/taro-components/p-88bcad64.entry.js +1 -0
- package/dist/taro-components/{p-75d01c60.system.js → p-88de70df.system.js} +2 -2
- package/dist/taro-components/p-88ded2fb.entry.js +1 -0
- package/dist/taro-components/p-8f7c9757.system.entry.js +1 -0
- package/dist/taro-components/{p-1bd4da3b.system.entry.js → p-920663c3.system.entry.js} +1 -1
- package/dist/taro-components/p-920e9e08.system.entry.js +1 -0
- package/dist/taro-components/p-92d5f74a.entry.js +1 -0
- package/dist/taro-components/p-932b1e72.entry.js +1 -0
- package/dist/taro-components/p-93329865.system.entry.js +1 -0
- package/dist/taro-components/p-96d58e6b.entry.js +1 -0
- package/dist/taro-components/{p-bd57edcd.entry.js → p-9b1be768.entry.js} +1 -1
- package/dist/taro-components/{p-6cc0bcb9.entry.js → p-9cf98daf.entry.js} +1 -1
- package/dist/taro-components/p-9d2e99b5.entry.js +1 -0
- package/dist/taro-components/{p-6b83388c.system.entry.js → p-9d815ff0.system.entry.js} +1 -1
- package/dist/taro-components/p-a1368421.entry.js +1 -0
- package/dist/taro-components/p-a1e9e6e9.entry.js +1 -0
- package/dist/taro-components/{p-d2203687.system.entry.js → p-a263b21b.system.entry.js} +1 -1
- package/dist/taro-components/{p-d9884371.entry.js → p-a33c6ab4.entry.js} +1 -1
- package/dist/taro-components/{p-2649c7ae.entry.js → p-a34fb684.entry.js} +1 -1
- package/dist/taro-components/{p-27041d86.system.entry.js → p-a3948a42.system.entry.js} +1 -1
- package/dist/taro-components/p-a39bfe0d.system.entry.js +1 -0
- package/dist/taro-components/p-a51c3fc6.entry.js +1 -0
- package/dist/taro-components/{p-ab0e0366.system.entry.js → p-a57123fa.system.entry.js} +1 -1
- package/dist/taro-components/{p-97b09fb4.system.entry.js → p-a6258172.system.entry.js} +1 -1
- package/dist/taro-components/p-a89cb7e0.entry.js +1 -0
- package/dist/taro-components/{p-ba11ef7d.entry.js → p-a8a443a5.entry.js} +1 -1
- package/dist/taro-components/{p-ded98693.system.entry.js → p-ac808059.system.entry.js} +1 -1
- package/dist/taro-components/p-acf20f00.system.entry.js +1 -0
- package/dist/taro-components/{p-d87a68f6.entry.js → p-b03b164f.entry.js} +1 -1
- package/dist/taro-components/p-b139e0bb.entry.js +1 -0
- package/dist/taro-components/{p-56a82bf3.entry.js → p-b197f269.entry.js} +1 -1
- package/dist/taro-components/p-b1e74461.entry.js +1 -0
- package/dist/taro-components/{p-a9ca8247.system.entry.js → p-b4d3d0bf.system.entry.js} +1 -1
- package/dist/taro-components/p-b4e5684a.entry.js +1 -0
- package/dist/taro-components/{p-e681d764.entry.js → p-b8916511.entry.js} +1 -1
- package/dist/taro-components/p-b8b1e967.entry.js +1 -0
- package/dist/taro-components/p-b923d242.entry.js +1 -0
- package/dist/taro-components/p-b9e52b27.system.entry.js +1 -0
- package/dist/taro-components/{p-df7c6216.system.entry.js → p-baba6d35.system.entry.js} +1 -1
- package/dist/taro-components/{p-46a66c43.entry.js → p-bc4dbbfb.entry.js} +1 -1
- package/dist/taro-components/{p-8836f70b.entry.js → p-bd7d7771.entry.js} +1 -1
- package/dist/taro-components/{p-3b36196b.system.entry.js → p-c089b757.system.entry.js} +1 -1
- package/dist/taro-components/{p-078cb65e.entry.js → p-c0c4d551.entry.js} +1 -1
- package/dist/taro-components/p-c297faa9.entry.js +1 -0
- package/dist/taro-components/p-c575464d.entry.js +1 -0
- package/dist/taro-components/p-c6258ca4.system.entry.js +1 -0
- package/dist/taro-components/{p-ca6a5916.system.entry.js → p-c6bf856c.system.entry.js} +1 -1
- package/dist/taro-components/{p-1c37143a.system.entry.js → p-c7d84f5f.system.entry.js} +1 -1
- package/dist/taro-components/{p-443e31ab.system.entry.js → p-c984e3bd.system.entry.js} +1 -1
- package/dist/taro-components/{p-fa31b2de.system.entry.js → p-cb55d5a3.system.entry.js} +1 -1
- package/dist/taro-components/p-cc02c5b6.system.entry.js +1 -0
- package/dist/taro-components/p-ce63e336.system.entry.js +1 -0
- package/dist/taro-components/p-d04b19f1.system.entry.js +1 -0
- package/dist/taro-components/p-d0cabaaa.js +2 -0
- package/dist/taro-components/p-d2023e97.entry.js +1 -0
- package/dist/taro-components/{p-fbf13159.system.entry.js → p-d2b08d6c.system.entry.js} +1 -1
- package/dist/taro-components/p-d3573732.system.entry.js +1 -0
- package/dist/taro-components/{p-e853a2c8.system.entry.js → p-d482a085.system.entry.js} +1 -1
- package/dist/taro-components/{p-ddf75d6a.system.entry.js → p-d6bd3fa0.system.entry.js} +1 -1
- package/dist/taro-components/{p-4979e93c.system.entry.js → p-d952367b.system.entry.js} +1 -1
- package/dist/taro-components/p-d9b9319b.system.js +1 -0
- package/dist/taro-components/p-da00c309.entry.js +1 -0
- package/dist/taro-components/p-da3ae8b9.entry.js +1 -0
- package/dist/taro-components/p-da5ac143.system.entry.js +1 -0
- package/dist/taro-components/p-db885f6a.entry.js +1 -0
- package/dist/taro-components/{p-b087ad2a.system.entry.js → p-deaafb30.system.entry.js} +1 -1
- package/dist/taro-components/{p-5b9aa4b0.system.entry.js → p-df082aca.system.entry.js} +1 -1
- package/dist/taro-components/p-e30dbf52.entry.js +1 -0
- package/dist/taro-components/p-e4b971a9.entry.js +1 -0
- package/dist/taro-components/{p-cae6c5d0.system.entry.js → p-e5f31143.system.entry.js} +1 -1
- package/dist/taro-components/p-e6a85481.entry.js +1 -0
- package/dist/taro-components/p-ea2ea074.entry.js +1 -0
- package/dist/taro-components/p-ea867ded.entry.js +1 -0
- package/dist/taro-components/{p-fe5eefdc.system.entry.js → p-eb385fbc.system.entry.js} +1 -1
- package/dist/taro-components/{p-43367dd1.entry.js → p-eb7aa8ad.entry.js} +1 -1
- package/dist/taro-components/{p-3293c5d9.system.entry.js → p-ede005c7.system.entry.js} +1 -1
- package/dist/taro-components/{p-61a325d2.system.entry.js → p-ee2e9a0f.system.entry.js} +1 -1
- package/dist/taro-components/{p-cafbb3d9.system.entry.js → p-f0694b9f.system.entry.js} +1 -1
- package/dist/taro-components/{p-a96f8f60.system.entry.js → p-f1597269.system.entry.js} +1 -1
- package/dist/taro-components/{p-d973d536.entry.js → p-f26ddbc9.entry.js} +1 -1
- package/dist/taro-components/{p-0a64f78c.system.entry.js → p-f490ca1e.system.entry.js} +1 -1
- package/dist/taro-components/{p-7fdbcf4d.entry.js → p-f5cd77f9.entry.js} +1 -1
- package/dist/taro-components/{p-dc08715a.entry.js → p-f6d29525.entry.js} +1 -1
- package/dist/taro-components/p-f922c742.entry.js +1 -0
- package/dist/taro-components/p-fa01bbca.entry.js +1 -0
- package/dist/taro-components/{p-17938fa0.system.entry.js → p-fb23fdb8.system.entry.js} +1 -1
- package/dist/taro-components/{p-4fad4beb.system.entry.js → p-fc124d0d.system.entry.js} +1 -1
- package/dist/taro-components/{p-6ba08ce0.system.entry.js → p-fe3e2fdb.system.entry.js} +1 -1
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/taro-components/taro-components.js +1 -1
- package/dist/types/components/swiper/swiper-item.d.ts +1 -4
- package/dist/types/components/swiper/swiper.d.ts +13 -9
- package/dist/types/components.d.ts +8 -4
- package/lib/vue3/components.js +2 -4
- package/lib/vue3/components.js.map +1 -1
- package/package.json +6 -6
- package/types/Swiper.d.ts +4 -0
- package/types/global.d.ts +4 -0
- package/types/index.d.ts +20 -0
- package/dist/taro-components/p-047e4bfe.entry.js +0 -1
- package/dist/taro-components/p-06adeb65.system.entry.js +0 -1
- package/dist/taro-components/p-07f27474.entry.js +0 -1
- package/dist/taro-components/p-083c3147.system.entry.js +0 -1
- package/dist/taro-components/p-0f2c1ecc.entry.js +0 -1
- package/dist/taro-components/p-0f480c38.system.entry.js +0 -1
- package/dist/taro-components/p-0ff5a55b.entry.js +0 -1
- package/dist/taro-components/p-156e9634.system.entry.js +0 -1
- package/dist/taro-components/p-17e72555.entry.js +0 -1
- package/dist/taro-components/p-26eb2f3f.entry.js +0 -1
- package/dist/taro-components/p-27d372b4.system.entry.js +0 -1
- package/dist/taro-components/p-280795f2.entry.js +0 -1
- package/dist/taro-components/p-292470e5.entry.js +0 -1
- package/dist/taro-components/p-2d537212.entry.js +0 -1
- package/dist/taro-components/p-2f177716.entry.js +0 -1
- package/dist/taro-components/p-32c0f326.entry.js +0 -1
- package/dist/taro-components/p-35dec732.entry.js +0 -1
- package/dist/taro-components/p-38b29261.entry.js +0 -1
- package/dist/taro-components/p-3a180dc7.entry.js +0 -1
- package/dist/taro-components/p-402c7f93.entry.js +0 -1
- package/dist/taro-components/p-425d1d69.entry.js +0 -1
- package/dist/taro-components/p-4523b1c7.entry.js +0 -1
- package/dist/taro-components/p-47790dc0.system.entry.js +0 -1
- package/dist/taro-components/p-50849470.system.entry.js +0 -1
- package/dist/taro-components/p-56552c9e.entry.js +0 -1
- package/dist/taro-components/p-57b77f17.system.entry.js +0 -1
- package/dist/taro-components/p-5884c108.system.entry.js +0 -1
- package/dist/taro-components/p-5c156db3.system.entry.js +0 -1
- package/dist/taro-components/p-6282bdee.system.entry.js +0 -1
- package/dist/taro-components/p-68197378.entry.js +0 -1
- package/dist/taro-components/p-6989c232.entry.js +0 -1
- package/dist/taro-components/p-7163d09e.system.js +0 -1
- package/dist/taro-components/p-75b4c1fc.system.entry.js +0 -1
- package/dist/taro-components/p-77e82dfa.entry.js +0 -1
- package/dist/taro-components/p-7e692c70.entry.js +0 -1
- package/dist/taro-components/p-7ebd4310.entry.js +0 -1
- package/dist/taro-components/p-8179438b.system.entry.js +0 -1
- package/dist/taro-components/p-84998109.entry.js +0 -1
- package/dist/taro-components/p-855619b6.system.entry.js +0 -1
- package/dist/taro-components/p-8b0c9d3f.entry.js +0 -1
- package/dist/taro-components/p-937a6c36.entry.js +0 -1
- package/dist/taro-components/p-93a2b2e9.entry.js +0 -1
- package/dist/taro-components/p-93b02321.entry.js +0 -1
- package/dist/taro-components/p-9571836f.entry.js +0 -1
- package/dist/taro-components/p-a25aca16.system.entry.js +0 -1
- package/dist/taro-components/p-a50c6736.entry.js +0 -1
- package/dist/taro-components/p-aabac550.entry.js +0 -1
- package/dist/taro-components/p-ac714300.system.entry.js +0 -1
- package/dist/taro-components/p-acb113bd.entry.js +0 -1
- package/dist/taro-components/p-b4c7bb48.entry.js +0 -1
- package/dist/taro-components/p-bb67318d.entry.js +0 -1
- package/dist/taro-components/p-be055537.entry.js +0 -1
- package/dist/taro-components/p-be1701b2.entry.js +0 -1
- package/dist/taro-components/p-c056d527.system.entry.js +0 -1
- package/dist/taro-components/p-c0c567e5.system.entry.js +0 -1
- package/dist/taro-components/p-c3dc7072.entry.js +0 -1
- package/dist/taro-components/p-c71d5745.system.entry.js +0 -1
- package/dist/taro-components/p-c7836e2b.entry.js +0 -1
- package/dist/taro-components/p-c8cd6e16.entry.js +0 -1
- package/dist/taro-components/p-c95d2b90.entry.js +0 -1
- package/dist/taro-components/p-ccbaba23.entry.js +0 -1
- package/dist/taro-components/p-e62a1287.js +0 -2
- package/dist/taro-components/p-ebb1ae64.entry.js +0 -1
- package/dist/taro-components/p-f034a433.entry.js +0 -1
- package/dist/taro-components/p-f367a754.entry.js +0 -1
- package/dist/taro-components/p-f8f2461f.entry.js +0 -1
- package/dist/taro-components/p-fab63183.entry.js +0 -1
- package/dist/taro-components/p-feb89474.system.entry.js +0 -1
- package/dist/taro-components/p-ff772345.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function r(e){try{l(i.next(e))}catch(e){a(e)}}function u(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?n(e.value):o(e.value).then(r,u)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function u(e){return function(t){return l([e,t])}}function l(u){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,u[0]&&(n=0)),n)try{if(i=1,o&&(a=u[0]&2?o["return"]:u[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,u[1])).done)return a;if(o=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;o=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];o=0}finally{i=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function o(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,a){function r(e){try{l(i.next(e))}catch(e){a(e)}}function u(e){try{l(i["throw"](e))}catch(e){a(e)}}function l(e){e.done?n(e.value):o(e.value).then(r,u)}l((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function u(e){return function(t){return l([e,t])}}function l(u){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,u[0]&&(n=0)),n)try{if(i=1,o&&(a=u[0]&2?o["return"]:u[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,u[1])).done)return a;if(o=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:n.label++;return{value:u[1],done:false};case 5:n.label++;o=u[1];u=[0];continue;case 7:u=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){n.label=u[1];break}if(u[0]===6&&n.label<a[1]){n.label=a[1];a=u;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(u);break}if(a[2])n.ops.pop();n.trys.pop();continue}u=t.call(e,n)}catch(e){u=[6,e];o=0}finally{i=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};System.register(["./p-88de70df.system.js"],(function(e){"use strict";var t,n,i,o;return{setters:[function(e){t=e.r;n=e.c;i=e.h;o=e.g}],execute:function(){var a="taro-textarea-core{width:300px;display:block}taro-textarea-core .auto-height{height:auto}.taro-textarea{height:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto;border:0;width:100%;line-height:1.5;display:block;position:relative}.taro-textarea:focus{outline:none}";function r(e){return e!==null&&e!==void 0?e:""}var u=e("taro_textarea_core",function(){function e(e){var i=this;t(this,e);this.onInput=n(this,"input",7);this.onFocus=n(this,"focus",7);this.onBlur=n(this,"blur",7);this.onConfirm=n(this,"confirm",7);this.onChange=n(this,"change",7);this.onLineChange=n(this,"linechange",7);this.onKeyDown=n(this,"keydown",7);this.handleInput=function(e){e.stopPropagation();i.handleLineChange();var t=e.target.value||"";i.value=t;i.onInput.emit({value:t,cursor:t.length})};this.handleFocus=function(e){e.stopPropagation();i.onFocus.emit({value:e.target.value})};this.handleBlur=function(e){e.stopPropagation();i.onBlur.emit({value:e.target.value})};this.handleChange=function(e){e.stopPropagation();i.onChange.emit({value:e.target.value})};this.handleLineChange=function(){var e=i.getNumberOfLines();if(e!==i.line){i.line=e;i.onLineChange.emit({height:i.textareaRef.clientHeight,lineCount:i.line})}};this.handleKeyDown=function(e){e.stopPropagation();var t=e.target.value;var n=e.keyCode||e.code;i.onKeyDown.emit({value:t,cursor:t.length,keyCode:n});n===13&&i.onConfirm.emit({value:t})};this.calculateContentHeight=function(e,t){var n=e.style.height,i=e.offsetHeight,o=e.scrollHeight,a=e.style.overflow,r=e.style.minHeight||null;if(i>=o){e.style.minHeight=0;e.style.height=i+t+"px";e.style.overflow="hidden";if(o<e.scrollHeight){while(e.offsetHeight>=e.scrollHeight){e.style.height=(i-=t)+"px"}while(e.offsetHeight<e.scrollHeight){e.style.height=i+++"px"}e.style.height=n;e.style.overflow=a;e.style.minHeight=r;return i}}else{return o}};this.getNumberOfLines=function(){var e=i.textareaRef,t=window.getComputedStyle?window.getComputedStyle(e):e.style,n=parseInt(t.lineHeight,10),o=i.calculateContentHeight(e,n),a=Math.floor(o/n);return a};this.value="";this.placeholder=undefined;this.disabled=false;this.maxlength=140;this.autoFocus=false;this.autoHeight=false;this.name=undefined;this.nativeProps={};this.line=1}e.prototype.watchAutoFocus=function(e,t){var n;if(!t&&e){(n=this.textareaRef)===null||n===void 0?void 0:n.focus()}};e.prototype.watchValue=function(e){var t=r(e);if(this.textareaRef.value!==t){this.textareaRef.value=t}};e.prototype.focus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.textareaRef.focus();return[2]}))}))};e.prototype.render=function(){var e=this;var t=this,n=t.value,o=t.placeholder,a=t.disabled,u=t.maxlength,l=t.autoFocus,h=t.autoHeight,s=t.name,c=t.nativeProps,f=t.handleInput,g=t.handleFocus,p=t.handleBlur,d=t.handleChange;var v={};if(h){v.rows=this.line}return i("textarea",Object.assign({ref:function(t){if(t){e.textareaRef=t;if(l&&t)t.focus()}},class:"taro-textarea ".concat(h?"auto-height":""),value:r(n),placeholder:o,name:s,disabled:a,maxlength:u,autofocus:l,onInput:f,onFocus:g,onBlur:p,onChange:d,onKeyDown:this.handleKeyDown},c,v))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{autoFocus:["watchAutoFocus"],value:["watchValue"]}},enumerable:false,configurable:true});return e}());u.style=a}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_open_container_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("OpenContainer",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_page_meta_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("PageMeta",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,o,e,r;return{setters:[function(t){n=t.r;o=t.h;e=t.H},function(t){r=t.n},function(){}],execute:function(){var i=t("taro_login_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("Login",this)};t.prototype.render=function(){return o(e,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_ad_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("Ad",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_grid_view_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("GridView",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
let e,t,l=!1,n=!1,o=!1,s=!1;const i="s-id",c="c-id",r="http://www.w3.org/1999/xlink",f={},u=e=>"object"==(e=typeof e)||"function"===e;function a(e){var t,l,n;return null!==(n=null===(l=null===(t=e.head)||void 0===t?void 0:t.querySelector('meta[name="csp-nonce"]'))||void 0===l?void 0:l.getAttribute("content"))&&void 0!==n?n:void 0}const $=(e,t,...l)=>{let n=null,o=null,s=null,i=!1,c=!1;const r=[],f=t=>{for(let l=0;l<t.length;l++)n=t[l],Array.isArray(n)?f(n):null!=n&&"boolean"!=typeof n&&((i="function"!=typeof e&&!u(n))&&(n+=""),i&&c?r[r.length-1].t+=n:r.push(i?d(null,n):n),c=i)};if(f(l),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,r,m);const a=d(e,null);return a.l=t,r.length>0&&(a.o=r),a.i=o,a.u=s,a},d=(e,t)=>({$:0,h:e,t,m:null,o:null,l:null,i:null,u:null}),h={},m={forEach:(e,t)=>e.map(p).forEach(t),map:(e,t)=>e.map(p).map(t).map(y)},p=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.u,vtag:e.h,vtext:e.t}),y=e=>{if("function"==typeof e.vtag){const t=Object.assign({},e.vattrs);return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),$(e.vtag,t,...e.vchildren||[])}const t=d(e.vtag,e.vtext);return t.l=e.vattrs,t.o=e.vchildren,t.i=e.vkey,t.u=e.vname,t},b=(e,t,l,n,o,s,i)=>{let r,f,u,a;if(1===s.nodeType){for(r=s.getAttribute(c),r&&(f=r.split("."),f[0]!==i&&"0"!==f[0]||(u={$:0,p:f[0],v:f[1],k:f[2],g:f[3],h:s.tagName.toLowerCase(),m:s,l:null,o:null,i:null,u:null,t:null},t.push(u),s.removeAttribute(c),e.o||(e.o=[]),e.o[u.g]=u,e=u,n&&"0"===u.k&&(n[u.g]=u.m))),a=s.childNodes.length-1;a>=0;a--)b(e,t,l,n,o,s.childNodes[a],i);if(s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)b(e,t,l,n,o,s.shadowRoot.childNodes[a],i)}else if(8===s.nodeType)f=s.nodeValue.split("."),f[1]!==i&&"0"!==f[1]||(r=f[0],u={$:0,p:f[1],v:f[2],k:f[3],g:f[4],m:s,l:null,o:null,i:null,u:null,h:null,t:null},"t"===r?(u.m=s.nextSibling,u.m&&3===u.m.nodeType&&(u.t=u.m.textContent,t.push(u),s.remove(),e.o||(e.o=[]),e.o[u.g]=u,n&&"0"===u.k&&(n[u.g]=u.m))):u.p===i&&("s"===r?(u.h="slot",s["s-sn"]=f[5]?u.u=f[5]:"",s["s-sr"]=!0,l.push(u),e.o||(e.o=[]),e.o[u.g]=u):"r"===r&&(o["s-cr"]=s,s["s-cn"]=!0)));else if(e&&"style"===e.h){const t=d(null,s.textContent);t.m=s,t.g="0",e.o=[t]}},v=(e,t)=>{if(1===e.nodeType){let l=0;for(;l<e.childNodes.length;l++)v(e.childNodes[l],t);if(e.shadowRoot)for(l=0;l<e.shadowRoot.childNodes.length;l++)v(e.shadowRoot.childNodes[l],t)}else if(8===e.nodeType){const l=e.nodeValue.split(".");"o"===l[0]&&(t.set(l[1]+"."+l[2],e),e.nodeValue="",e["s-en"]=l[3])}},w=e=>fe(e).S,k=(e,t,l)=>{const n=w(e);return{emit:e=>g(n,t,{bubbles:!!(4&l),composed:!!(2&l),cancelable:!!(1&l),detail:e})}},g=(e,t,l)=>{const n=ve.ce(t,l);return e.dispatchEvent(n),n},S=new WeakMap,j=e=>"sc-"+e.j,x=(e,t,l,n,o,s)=>{if(l!==n){let i=$e(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=C(l),s=C(n);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in l)n&&null!=n[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in n)l&&n[t]===l[t]||(t.includes("-")?e.style.setProperty(t,n[t]):e.style[t]=n[t])}else if("key"===t);else if("ref"===t)n&&n(e);else if(i||"o"!==t[0]||"n"!==t[1]){const f=u(n);if((i||f&&null!==n)&&!o)try{if(e.tagName.includes("-"))e[t]=n;else{const o=null==n?"":n;"list"===t?i=!1:null!=l&&e[t]==o||(e[t]=o)}}catch(e){}let a=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,a=!0),null==n||!1===n?!1===n&&""!==e.getAttribute(t)||(a?e.removeAttributeNS(r,t):e.removeAttribute(t)):(!i||4&s||o)&&!f&&(n=!0===n?"":n,a?e.setAttributeNS(r,t,n):e.setAttribute(t,n))}else t="-"===t[2]?t.slice(3):$e(ye,c)?c.slice(2):c[2]+t.slice(3),l&&ve.rel(e,t,l,!1),n&&ve.ael(e,t,n,!1)}},M=/\s/,C=e=>e?e.split(M):[],O=(e,t,l,n)=>{const o=11===t.m.nodeType&&t.m.host?t.m.host:t.m,s=e&&e.l||f,i=t.l||f;for(n in s)n in i||x(o,n,s[n],void 0,l,t.$);for(n in i)x(o,n,s[n],i[n],l,t.$)},R=(n,s,i)=>{const c=s.o[i];let r,f,u,a=0;if(l||(o=!0,"slot"===c.h&&(c.$|=c.o?2:1)),null!==c.t)r=c.m=be.createTextNode(c.t);else if(1&c.$)r=c.m=be.createTextNode("");else if(r=c.m=be.createElement(2&c.$?"slot-fb":c.h),O(null,c,!1),c.o)for(a=0;a<c.o.length;++a)f=R(n,c,a),f&&r.appendChild(f);return r["s-hn"]=t,3&c.$&&(r["s-sr"]=!0,r["s-cr"]=e,r["s-sn"]=c.u||"",u=n&&n.o&&n.o[i],u&&u.h===c.h&&n.m&&P(n.m,!1)),r},P=(e,l)=>{ve.$|=1;const n=e.childNodes;for(let e=n.length-1;e>=0;e--){const s=n[e];s["s-hn"]!==t&&s["s-ol"]&&(N(s).insertBefore(s,L(s)),s["s-ol"].remove(),s["s-ol"]=void 0,o=!0),l&&P(s,l)}ve.$&=-2},T=(e,t,l,n,o,s)=>{let i,c=e["s-cr"]&&e["s-cr"].parentNode||e;for(;o<=s;++o)n[o]&&(i=R(null,l,o),i&&(n[o].m=i,c.insertBefore(i,L(t))))},E=(e,t,l,o,s)=>{for(;t<=l;++t)(o=e[t])&&(s=o.m,H(o),n=!0,s["s-ol"]?s["s-ol"].remove():P(s,!0),s.remove())},I=(e,t)=>e.h===t.h&&("slot"===e.h?e.u===t.u:e.i===t.i),L=e=>e&&e["s-ol"]||e,N=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,D=(e,t)=>{const l=t.m=e.m,n=e.o,o=t.o,s=t.t;let i;null===s?("slot"===t.h||O(e,t,!1),null!==n&&null!==o?((e,t,l,n)=>{let o,s,i=0,c=0,r=0,f=0,u=t.length-1,a=t[0],$=t[u],d=n.length-1,h=n[0],m=n[d];for(;i<=u&&c<=d;)if(null==a)a=t[++i];else if(null==$)$=t[--u];else if(null==h)h=n[++c];else if(null==m)m=n[--d];else if(I(a,h))D(a,h),a=t[++i],h=n[++c];else if(I($,m))D($,m),$=t[--u],m=n[--d];else if(I(a,m))"slot"!==a.h&&"slot"!==m.h||P(a.m.parentNode,!1),D(a,m),e.insertBefore(a.m,$.m.nextSibling),a=t[++i],m=n[--d];else if(I($,h))"slot"!==a.h&&"slot"!==m.h||P($.m.parentNode,!1),D($,h),e.insertBefore($.m,a.m),$=t[--u],h=n[++c];else{for(r=-1,f=i;f<=u;++f)if(t[f]&&null!==t[f].i&&t[f].i===h.i){r=f;break}r>=0?(s=t[r],s.h!==h.h?o=R(t&&t[c],l,r):(D(s,h),t[r]=void 0,o=s.m),h=n[++c]):(o=R(t&&t[c],l,c),h=n[++c]),o&&N(a.m).insertBefore(o,L(a.m))}i>u?T(e,null==n[d+1]?null:n[d+1].m,l,n,c,d):c>d&&E(t,i,u)})(l,n,t,o):null!==o?(null!==e.t&&(l.textContent=""),T(l,null,t,o,0,o.length-1)):null!==n&&E(n,0,n.length-1)):(i=l["s-cr"])?i.parentNode.textContent=s:e.t!==s&&(l.data=s)},U=e=>{const t=e.childNodes;let l,n,o,s,i,c;for(n=0,o=t.length;n<o;n++)if(l=t[n],1===l.nodeType){if(l["s-sr"])for(i=l["s-sn"],l.hidden=!1,s=0;s<o;s++)if(c=t[s].nodeType,t[s]["s-hn"]!==l["s-hn"]||""!==i){if(1===c&&i===t[s].getAttribute("slot")){l.hidden=!0;break}}else if(1===c||3===c&&""!==t[s].textContent.trim()){l.hidden=!0;break}U(l)}},W=[],A=e=>{let t,l,o,s,i,c,r=0;const f=e.childNodes,u=f.length;for(;r<u;r++){if(t=f[r],t["s-sr"]&&(l=t["s-cr"])&&l.parentNode)for(o=l.parentNode.childNodes,s=t["s-sn"],c=o.length-1;c>=0;c--)l=o[c],l["s-cn"]||l["s-nr"]||l["s-hn"]===t["s-hn"]||(F(l,s)?(i=W.find((e=>e.M===l)),n=!0,l["s-sn"]=l["s-sn"]||s,i?i.C=t:W.push({C:t,M:l}),l["s-sr"]&&W.map((e=>{F(e.M,l["s-sn"])&&(i=W.find((e=>e.M===l)),i&&!e.C&&(e.C=i.C))}))):W.some((e=>e.M===l))||W.push({M:l}));1===t.nodeType&&A(t)}},F=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,H=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(H)},q=(e,t)=>{t&&!e.O&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.O=t)))},V=(e,t)=>{if(e.$|=16,!(4&e.$))return q(e,e.R),Re((()=>_(e,t)));e.$|=512},_=(e,t)=>{const l=e.P;let n;return t&&(e.$|=256,e.T&&(e.T.map((([e,t])=>K(l,e,t))),e.T=null),n=K(l,"componentWillLoad")),Q(n,(()=>z(e,l,t)))},z=async(e,t,l)=>{const n=e.S,o=n["s-rc"];l&&(e=>{const t=e.I;((e,t)=>{var l;let n=j(t);const o=pe.get(n);if(e=11===e.nodeType?e:be,o)if("string"==typeof o){let t,s=S.get(e=e.head||e);if(s||S.set(e,s=new Set),!s.has(n)){if(e.host&&(t=e.querySelector(`[sty-id="${n}"]`)))t.innerHTML=o;else{t=be.createElement("style"),t.innerHTML=o;const n=null!==(l=ve.L)&&void 0!==l?l:a(be);null!=n&&t.setAttribute("nonce",n),e.insertBefore(t,e.querySelector("link"))}s&&s.add(n)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o])})(e.S.getRootNode(),t)})(e);B(e,t),o&&(o.map((e=>e())),n["s-rc"]=void 0);{const t=n["s-p"],l=()=>G(e);0===t.length?l():(Promise.all(t).then(l),e.$|=4,t.length=0)}},B=(s,i)=>{try{i=i.render(),s.$&=-17,s.$|=2,((s,i)=>{const c=s.S,r=s.I,f=s.N||d(null,null),u=(e=>e&&e.h===h)(i)?i:$(null,null,i);if(t=c.tagName,r.D&&(u.l=u.l||{},r.D.map((([e,t])=>u.l[t]=c[e]))),u.h=null,u.$|=4,s.N=u,u.m=f.m=c,e=c["s-cr"],l=0!=(1&r.$),n=!1,D(f,u),ve.$|=1,o){let e,t,l,n,o,s;A(u.m);let i=0;for(;i<W.length;i++)e=W[i],t=e.M,t["s-ol"]||(l=be.createTextNode(""),l["s-nr"]=t,t.parentNode.insertBefore(t["s-ol"]=l,t));for(i=0;i<W.length;i++)if(e=W[i],t=e.M,e.C){for(n=e.C.parentNode,o=e.C.nextSibling,l=t["s-ol"];l=l.previousSibling;)if(s=l["s-nr"],s&&s["s-sn"]===t["s-sn"]&&n===s.parentNode&&(s=s.nextSibling,!s||!s["s-nr"])){o=s;break}(!o&&n!==t.parentNode||t.nextSibling!==o)&&t!==o&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),n.insertBefore(t,o))}else 1===t.nodeType&&(t.hidden=!0)}n&&U(u.m),ve.$&=-2,W.length=0})(s,i)}catch(e){de(e,s.S)}return null},G=e=>{const t=e.S,l=e.P,n=e.R;K(l,"componentDidRender"),64&e.$?K(l,"componentDidUpdate"):(e.$|=64,X(t),K(l,"componentDidLoad"),e.U(t),n||J()),e.W(t),e.O&&(e.O(),e.O=void 0),512&e.$&&Oe((()=>V(e,!1))),e.$&=-517},J=()=>{X(be.documentElement),Oe((()=>g(ye,"appload",{detail:{namespace:"taro-components"}})))},K=(e,t,l)=>{if(e&&e[t])try{return e[t](l)}catch(e){de(e)}},Q=(e,t)=>e&&e.then?e.then(t):t(),X=e=>e.classList.add("hydrated"),Y=(e,t,l)=>{if(t.A){e.watchers&&(t.F=e.watchers);const n=Object.entries(t.A),o=e.prototype;if(n.map((([e,[n]])=>{31&n||2&l&&32&n?Object.defineProperty(o,e,{get(){return((e,t)=>fe(this).H.get(t))(0,e)},set(l){((e,t,l,n)=>{const o=fe(e),s=o.S,i=o.H.get(t),c=o.$,r=o.P;if(l=((e,t)=>null==e||u(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,n.A[t][0]),(!(8&c)||void 0===i)&&l!==i&&(!Number.isNaN(i)||!Number.isNaN(l))&&(o.H.set(t,l),r)){if(n.F&&128&c){const e=n.F[t];e&&e.map((e=>{try{r[e](l,i,t)}catch(e){de(e,s)}}))}2==(18&c)&&V(o,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0}):1&l&&64&n&&Object.defineProperty(o,e,{value(...t){const l=fe(this);return l.q.then((()=>l.P[e](...t)))}})})),1&l){const l=new Map;o.attributeChangedCallback=function(e,t,n){ve.jmp((()=>{const t=l.get(e);if(this.hasOwnProperty(t))n=this[t],delete this[t];else if(o.hasOwnProperty(t)&&"number"==typeof this[t]&&this[t]==n)return;this[t]=(null!==n||"boolean"!=typeof this[t])&&n}))},e.observedAttributes=n.filter((([e,t])=>15&t[0])).map((([e,n])=>{const o=n[1]||e;return l.set(o,e),512&n[0]&&t.D.push([e,o]),o}))}}return e},Z=e=>{K(e,"connectedCallback")},ee=e=>{if(0==(1&ve.$)){const t=fe(e),l=t.I,n=()=>{};if(1&t.$)ne(e,t,l.V),Z(t.P);else{let n;t.$|=1,n=e.getAttribute(i),n&&((e,t,l,n)=>{const o=e.shadowRoot,s=[],c=n.N=d(t,null);ve._||v(be.body,ve._=new Map),e[i]=l,e.removeAttribute(i),b(c,s,[],null,e,e,l),s.map((e=>{const l=e.p+"."+e.v,n=ve._.get(l),s=e.m;n&&we&&""===n["s-en"]&&n.parentNode.insertBefore(s,n.nextSibling),o||(s["s-hn"]=t,n&&(s["s-ol"]=n,s["s-ol"]["s-nr"]=s)),ve._.delete(l)}))})(e,l.j,n,t),n||12&l.$&&te(e);{let l=e;for(;l=l.parentNode||l.host;)if(1===l.nodeType&&l.hasAttribute("s-id")&&l["s-p"]||l["s-p"]){q(t,t.R=l);break}}l.A&&Object.entries(l.A).map((([t,[l]])=>{if(31&l&&e.hasOwnProperty(t)){const l=e[t];delete e[t],e[t]=l}})),(async(e,t,l,n,o)=>{if(0==(32&t.$)){{if(t.$|=32,(o=me(l)).then){const e=()=>{};o=await o,e()}o.isProxied||(l.F=o.watchers,Y(o,l,2),o.isProxied=!0);const e=()=>{};t.$|=8;try{new o(t)}catch(e){de(e)}t.$&=-9,t.$|=128,e(),Z(t.P)}if(o.style){let e=o.style;const t=j(l);if(!pe.has(t)){const n=()=>{};((e,t,l)=>{let n=pe.get(e);ge&&l?(n=n||new CSSStyleSheet,"string"==typeof n?n=t:n.replaceSync(t)):n=t,pe.set(e,n)})(t,e,!!(1&l.$)),n()}}}const s=t.R,i=()=>V(t,!0);s&&s["s-rc"]?s["s-rc"].push(i):i()})(0,t,l)}n()}},te=e=>{const t=e["s-cr"]=be.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},le=(e,t={})=>{var l;const n=[],o=t.exclude||[],s=ye.customElements,i=be.head,c=i.querySelector("meta[charset]"),r=be.createElement("style"),f=[];let u,$=!0;Object.assign(ve,t),ve.B=new URL(t.resourcesUrl||"./",be.baseURI).href,ve.$|=2,e.map((e=>{e[1].map((t=>{const l={$:t[0],j:t[1],A:t[2],V:t[3]};l.A=t[2],l.V=t[3],l.D=[],l.F={};const i=l.j,c=class extends HTMLElement{constructor(e){super(e),ae(e=this,l)}connectedCallback(){u&&(clearTimeout(u),u=null),$?f.push(this):ve.jmp((()=>ee(this)))}disconnectedCallback(){ve.jmp((()=>(()=>{if(0==(1&ve.$)){const e=fe(this),t=e.P;e.G&&(e.G.map((e=>e())),e.G=void 0),K(t,"disconnectedCallback")}})()))}componentOnReady(){return fe(this).J}};l.K=e[0],o.includes(i)||s.get(i)||(n.push(i),s.define(i,Y(c,l,1)))}))}));{r.innerHTML=n+"{visibility:hidden}.hydrated{visibility:inherit}",r.setAttribute("data-styles","");const e=null!==(l=ve.L)&&void 0!==l?l:a(be);null!=e&&r.setAttribute("nonce",e),i.insertBefore(r,c?c.nextSibling:i.firstChild)}$=!1,f.length?f.map((e=>e.connectedCallback())):ve.jmp((()=>u=setTimeout(J,30)))},ne=(e,t,l)=>{l&&l.map((([l,n,o])=>{const s=se(e,l),i=oe(t,o),c=ie(l);ve.ael(s,n,i,c),(t.G=t.G||[]).push((()=>ve.rel(s,n,i,c)))}))},oe=(e,t)=>l=>{try{256&e.$?e.P[t](l):(e.T=e.T||[]).push([t,l])}catch(e){de(e)}},se=(e,t)=>4&t?be:e,ie=e=>0!=(2&e),ce=e=>ve.L=e,re=new WeakMap,fe=e=>re.get(e),ue=(e,t)=>re.set(t.P=e,t),ae=(e,t)=>{const l={$:0,S:e,I:t,H:new Map};return l.q=new Promise((e=>l.W=e)),l.J=new Promise((e=>l.U=e)),e["s-p"]=[],e["s-rc"]=[],ne(e,l,t.V),re.set(e,l)},$e=(e,t)=>t in e,de=(e,t)=>(0,console.error)(e,t),he=new Map,me=e=>{const t=e.j.replace(/-/g,"_"),l=e.K,n=he.get(l);return n?n[t]:import(`./${l}.entry.js`).then((e=>(he.set(l,e),e[t])),de)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},pe=new Map,ye="undefined"!=typeof window?window:{},be=ye.document||{head:{}},ve={$:0,B:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,l,n)=>e.addEventListener(t,l,n),rel:(e,t,l,n)=>e.removeEventListener(t,l,n),ce:(e,t)=>new CustomEvent(e,t)},we=!0,ke=e=>Promise.resolve(e),ge=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),Se=[],je=[],xe=(e,t)=>l=>{e.push(l),s||(s=!0,t&&4&ve.$?Oe(Ce):ve.raf(Ce))},Me=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){de(e)}e.length=0},Ce=()=>{Me(Se),Me(je),(s=Se.length>0)&&ve.raf(Ce)},Oe=e=>ke().then(e),Re=xe(je,!0);export{h as H,le as b,k as c,w as g,$ as h,ke as p,ue as r,ce as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as t,H as r}from"./p-d0cabaaa.js";import{n as a}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(t){o(this,t)}componentDidLoad(){a("NativeSlot",this)}render(){return t(r,null)}};export{s as taro_native_slot_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-88de70df.system.js"],(function(r){"use strict";var t,i,e;return{setters:[function(r){t=r.r;i=r.c;e=r.h}],execute:function(){var o="taro-cover-image-core{width:320px;height:240px;overflow:hidden}";var n=r("taro_cover_image_core",function(){function r(r){t(this,r);this.onLoad=i(this,"load",7);this.onError=i(this,"error",7);this.src=undefined;this.nativeProps={}}r.prototype.imageOnLoad=function(){var r=this.imgRef,t=r.width,i=r.height;this.onLoad.emit({width:t,height:i})};r.prototype.imageOnError=function(r){this.onError.emit(r)};r.prototype.render=function(){var r=this;var t=this,i=t.src,o=t.imageOnLoad,n=t.imageOnError,s=t.nativeProps;return e("img",Object.assign({ref:function(t){return r.imgRef=t},src:i,onLoad:o.bind(this),onError:n.bind(this)},s))};return r}());n.style=o}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_keyboard_accessory_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("KeyboardAccessory",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-443b9a72.system.js"],(function(e){"use strict";var o,c,i,n;return{setters:[function(e){o=e.r;c=e.h;i=e.H},function(e){n=e.c}],execute:function(){var t='.weui-icon-circle:before{content:""}.weui-icon-download:before{content:""}.weui-icon-info:before{content:""}.weui-icon-safe-success:before{content:""}.weui-icon-safe-warn:before{content:""}.weui-icon-success:before{content:""}.weui-icon-success-circle:before{content:""}.weui-icon-success-no-circle:before{content:""}.weui-icon-waiting:before{content:""}.weui-icon-waiting-circle:before{content:""}.weui-icon-warn:before{content:""}.weui-icon-info-circle:before{content:""}.weui-icon-cancel:before{content:""}.weui-icon-search:before{content:""}.weui-icon-clear:before{content:""}.weui-icon-back:before{content:""}.weui-icon-delete:before{content:""}.weui-icon-success{color:#09bb07;font-size:23px}.weui-icon-waiting{color:#10aeff;font-size:23px}.weui-icon-warn{color:#f43530;font-size:23px}.weui-icon-info{color:#10aeff;font-size:23px}.weui-icon-success-circle,.weui-icon-success-no-circle{color:#09bb07;font-size:23px}.weui-icon-waiting-circle{color:#10aeff;font-size:23px}.weui-icon-circle{color:#c9c9c9;font-size:23px}.weui-icon-download,.weui-icon-info-circle{color:#09bb07;font-size:23px}.weui-icon-safe-success{color:#09bb07}.weui-icon-safe-warn{color:#ffbe00}.weui-icon-cancel{color:#f43530;font-size:22px}.weui-icon-search,.weui-icon-clear{color:#b2b2b2;font-size:14px}.weui-icon-delete.weui-icon_gallery-delete{color:#fff;font-size:22px}.weui-icon_msg{font-size:93px}.weui-icon_msg.weui-icon-warn{color:#f76260}.weui-icon_msg-primary{font-size:93px}.weui-icon_msg-primary.weui-icon-warn{color:#ffbe00}';var r=e("taro_icon_core",function(){function e(e){o(this,e);this.type=undefined;this.size="23";this.color=undefined}e.prototype.render=function(){var e;var o=this,t=o.type,r=o.size,s=o.color;var f=t===null||t===void 0?void 0:t.replace(/_/g,"-");var u=n((e={},e["weui-icon-".concat(f)]=true,e));var w={"font-size":"".concat(r,"px"),color:s};return c(i,{class:u,style:w})};return e}());r.style=t}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_live_player_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("LivePlayer",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_page_container_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("PageContainer",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-88de70df.system.js"],(function(e,o){"use strict";var t,a;return{setters:[function(o){t=o.p;a=o.b;e("setNonce",o.s)}],execute:function(){var e=function(){var e=o.meta.url;var a={};if(e!==""){a.resourcesUrl=new URL(".",e).href}return t(a)};e().then((function(e){return a(JSON.parse('[["p-5c3d432f.system",[[4,"taro-checkbox-core",{"name":[1],"value":[1032],"color":[1],"id":[1025],"checked":[4],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}],[0,"taro-checkbox-group-core",{"name":[8]},[[0,"checkboxchange","function"]]]]],["p-deaafb30.system",[[0,"taro-movable-area-core",{"scaleArea":[4,"scale-area"]}],[0,"taro-movable-view-core",{"x":[8],"y":[8],"direction":[1],"outOfBounds":[4,"out-of-bounds"],"inertia":[4],"friction":[2],"damping":[2],"disabled":[4],"scale":[4],"scaleMin":[2,"scale-min"],"scaleMax":[2,"scale-max"],"scaleValue":[2,"scale-value"],"animation":[4],"setParent":[64],"endScale":[64],"setScale":[64]}]]],["p-c6bf856c.system",[[0,"taro-picker-view-column-core",{"col":[1],"initialPosition":[1,"initial-position"],"paddingVertical":[2,"padding-vertical"],"isInit":[32]},[[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]],[4,"taro-picker-view-core",{"indicatorStyle":[1,"indicator-style"],"indicatorClass":[1,"indicator-class"],"value":[16],"maskStyle":[1,"mask-style"],"maskClass":[1,"mask-class"]},[[0,"onselect","onSelect"],[0,"onselectstart","onSelectStart"],[0,"onselectend","onPickerColEnd"]]]]],["p-ac808059.system",[[4,"taro-radio-core",{"name":[1],"value":[1],"id":[1025],"checked":[1540],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}],[0,"taro-radio-group-core",{"name":[8]},[[0,"radiochange","function"]]]]],["p-acf20f00.system",[[4,"taro-swiper-core",{"indicatorDots":[4,"indicator-dots"],"indicatorColor":[1,"indicator-color"],"indicatorActiveColor":[1,"indicator-active-color"],"autoplay":[4],"current":[2],"currentItemId":[1,"current-item-id"],"interval":[2],"duration":[2],"circular":[4],"vertical":[4],"previousMargin":[1,"previous-margin"],"nextMargin":[1,"next-margin"],"displayMultipleItems":[2,"display-multiple-items"],"full":[4],"zoom":[4],"effectsProps":[16],"swiperWrapper":[32],"swiper":[32],"isWillLoadCalled":[32],"observer":[32]}],[4,"taro-swiper-item-core"]]],["p-ce63e336.system",[[0,"taro-ad-core"]]],["p-24a12aac.system",[[0,"taro-ad-custom-core"]]],["p-baba6d35.system",[[0,"taro-animation-video-core"]]],["p-4446fe5f.system",[[0,"taro-animation-view-core"]]],["p-f1597269.system",[[0,"taro-ar-camera-core"]]],["p-fc124d0d.system",[[0,"taro-audio-core",{"src":[1],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"nativeProps":[16]}]]],["p-6ef0579d.system",[[0,"taro-aweme-data-core"]]],["p-a39bfe0d.system",[[0,"taro-block-core"]]],["p-eb385fbc.system",[[4,"taro-button-core",{"disabled":[4],"hoverClass":[1,"hover-class"],"type":[1],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"size":[1],"plain":[4],"loading":[4],"formType":[513,"form-type"],"hover":[32],"touch":[32]},[[0,"click","onClick"],[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"]]]]],["p-c6258ca4.system",[[0,"taro-camera-core"]]],["p-48395cab.system",[[0,"taro-canvas-core",{"canvasId":[1,"id"],"height":[1537],"width":[1537],"nativeProps":[16]}]]],["p-34b51434.system",[[0,"taro-channel-live-core"]]],["p-9d815ff0.system",[[0,"taro-channel-video-core"]]],["p-fb23fdb8.system",[[0,"taro-comment-detail-core"]]],["p-2d2c8354.system",[[0,"taro-comment-list-core"]]],["p-86b09ede.system",[[0,"taro-contact-button-core"]]],["p-d2b08d6c.system",[[0,"taro-cover-image-core",{"src":[1],"nativeProps":[16]}]]],["p-ede005c7.system",[[4,"taro-cover-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-4f62b74a.system",[[0,"taro-custom-wrapper-core"]]],["p-200ba6f2.system",[[0,"taro-draggable-sheet-core"]]],["p-45ce1c8b.system",[[0,"taro-editor-core"]]],["p-8f7c9757.system",[[0,"taro-follow-swan-core"]]],["p-a6258172.system",[[4,"taro-form-core",null,[[0,"tarobuttonsubmit","onButtonSubmit"],[0,"tarobuttonreset","onButtonReset"]]]]],["p-b9e52b27.system",[[0,"taro-functional-page-navigator-core"]]],["p-636c9e22.system",[[0,"taro-grid-builder-core"]]],["p-d04b19f1.system",[[0,"taro-grid-view-core"]]],["p-d482a085.system",[[0,"taro-icon-core",{"type":[1],"size":[8],"color":[1]}]]],["p-7677dcb3.system",[[0,"taro-image-core",{"src":[1],"mode":[1],"lazyLoad":[4,"lazy-load"],"nativeProps":[16],"aspectFillMode":[32],"didLoad":[32]}]]],["p-a263b21b.system",[[0,"taro-inline-payment-panel-core"]]],["p-a57123fa.system",[[0,"taro-input-core",{"value":[1025],"type":[1],"password":[4],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"confirmType":[1,"confirm-type"],"name":[1],"nativeProps":[16],"focus":[64]}]]],["p-d3573732.system",[[0,"taro-keyboard-accessory-core"]]],["p-b4d3d0bf.system",[[4,"taro-label-core",{"for":[1]}]]],["p-7f067654.system",[[0,"taro-lifestyle-core"]]],["p-e5f31143.system",[[0,"taro-like-core"]]],["p-93329865.system",[[0,"taro-list-builder-core"]]],["p-08f31efb.system",[[0,"taro-list-view-core"]]],["p-d6bd3fa0.system",[[0,"taro-live-player-core"]]],["p-49bd1791.system",[[0,"taro-live-pusher-core"]]],["p-cc02c5b6.system",[[0,"taro-login-core"]]],["p-720c96ae.system",[[0,"taro-lottie-core"]]],["p-3ee0dda1.system",[[0,"taro-map-core",{"latitude":[2],"longitude":[2],"scale":[2],"minScale":[2,"min-scale"],"maxScale":[2,"max-scale"],"markers":[16],"polyline":[16],"circles":[16],"polygons":[16],"subkey":[1],"layerStyle":[2,"layer-style"],"rotate":[2],"skew":[2],"showCompass":[4,"show-compass"],"showScale":[4,"show-scale"],"enableOverlooking":[4,"enable-overlooking"],"enableZoom":[4,"enable-zoom"],"enableScroll":[4,"enable-scroll"],"enableRotate":[4,"enable-rotate"],"enableSatellite":[4,"enable-satellite"],"enableTraffic":[4,"enable-traffic"],"enableBuilding":[4,"enable-building"],"enableAutoMaxOverlooking":[4,"enable-auto-max-overlooking"],"enable3D":[4,"enable-3-d"],"width":[1],"height":[1]}]]],["p-df082aca.system",[[0,"taro-match-media-core"]]],["p-f0694b9f.system",[[0,"taro-native-slot-core"]]],["p-58a44067.system",[[0,"taro-navigation-bar-core"]]],["p-7e486065.system",[[0,"taro-navigator-core",{"hoverClass":[1,"hover-class"],"url":[1],"openType":[1,"open-type"],"isHover":[4,"is-hover"],"delta":[2]},[[0,"click","onClick"]]]]],["p-731de0f1.system",[[0,"taro-nested-scroll-body-core"]]],["p-fe3e2fdb.system",[[0,"taro-nested-scroll-header-core"]]],["p-920e9e08.system",[[0,"taro-official-account-core"]]],["p-c984e3bd.system",[[0,"taro-open-container-core"]]],["p-0b9fa602.system",[[0,"taro-open-data-core"]]],["p-d952367b.system",[[0,"taro-page-container-core"]]],["p-cb55d5a3.system",[[0,"taro-page-meta-core"]]],["p-336b5b6c.system",[[0,"taro-progress-core",{"percent":[2],"showInfo":[4,"show-info"],"borderRadius":[8,"border-radius"],"fontSize":[8,"font-size"],"strokeWidth":[8,"stroke-width"],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"active":[4]}]]],["p-34aee4d3.system",[[4,"taro-pull-to-refresh-core",{"prefixCls":[1,"prefix-cls"],"distanceToRefresh":[2,"distance-to-refresh"],"damping":[2],"indicator":[16],"currSt":[32],"dragOnEdge":[32]}]]],["p-a3948a42.system",[[0,"taro-rich-text-core",{"nodes":[1],"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1]}]]],["p-c089b757.system",[[0,"taro-root-portal-core"]]],["p-0e77f1af.system",[[0,"taro-rtc-room-core"]]],["p-76eedcd8.system",[[0,"taro-rtc-room-item-core"]]],["p-60869da5.system",[[4,"taro-scroll-view-core",{"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"upperThreshold":[8,"upper-threshold"],"lowerThreshold":[8,"lower-threshold"],"mpScrollTop":[520,"scroll-top"],"mpScrollLeft":[520,"scroll-left"],"mpScrollIntoView":[513,"scroll-into-view"],"mpScrollIntoViewAlignment":[1,"scroll-into-view-alignment"],"animated":[4,"scroll-with-animation"],"mpScrollToMethod":[64],"mpScrollIntoViewMethod":[64]},[[1,"scroll","handleScroll"],[1,"touchmove","handleTouchMove"]]]]],["p-da5ac143.system",[[0,"taro-share-element-core"]]],["p-0cbc06a0.system",[[0,"taro-slider-core",{"min":[2],"max":[2],"step":[2],"disabled":[4],"value":[1538],"activeColor":[1,"active-color"],"backgroundColor":[1,"background-color"],"blockSize":[2,"block-size"],"blockColor":[1,"block-color"],"showValue":[4,"show-value"],"name":[1],"totalWidth":[32],"touching":[32],"ogX":[32],"touchId":[32],"percent":[32],"ogPercent":[32],"isWillLoadCalled":[32]}]]],["p-7a860d44.system",[[0,"taro-slot-core"]]],["p-1565cc2e.system",[[0,"taro-snapshot-core"]]],["p-2053531e.system",[[0,"taro-span-core"]]],["p-2210c50a.system",[[0,"taro-sticky-header-core"]]],["p-ee2e9a0f.system",[[0,"taro-sticky-section-core"]]],["p-0e8c1988.system",[[0,"taro-switch-core",{"type":[1],"checked":[1028],"color":[1],"name":[1],"disabled":[4],"nativeProps":[16],"isWillLoadCalled":[32]}]]],["p-920663c3.system",[[0,"taro-tab-item-core"]]],["p-274753ad.system",[[0,"taro-tabbar",{"conf":[16],"list":[32],"borderStyle":[32],"backgroundColor":[32],"color":[32],"selectedColor":[32],"selectedIndex":[32],"status":[32]}]]],["p-7625b781.system",[[0,"taro-tabs-core"]]],["p-498d940e.system",[[4,"taro-text-core",{"selectable":[1028],"userSelect":[1028,"user-select"],"space":[1025],"numberOfLines":[2,"number-of-lines"]}]]],["p-c7d84f5f.system",[[0,"taro-textarea-core",{"value":[1025],"placeholder":[1],"disabled":[4],"maxlength":[2],"autoFocus":[4,"focus"],"autoHeight":[4,"auto-height"],"name":[1],"nativeProps":[16],"line":[32],"focus":[64]}]]],["p-4dddb4a4.system",[[4,"taro-view-core",{"animation":[1],"hoverClass":[1,"hover-class"],"hoverStartTime":[2,"hover-start-time"],"hoverStayTime":[2,"hover-stay-time"],"hover":[32],"touch":[32]},[[1,"touchstart","onTouchStart"],[1,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-14e9f2fd.system",[[0,"taro-voip-room-core"]]],["p-6f25b319.system",[[0,"taro-web-view-core",{"src":[1]}]]],["p-f490ca1e.system",[[4,"taro-picker-core",{"mode":[1],"disabled":[4],"range":[16],"rangeKey":[1,"range-key"],"value":[1032],"start":[1],"end":[1],"fields":[1],"name":[1],"textProps":[16],"pickerValue":[32],"height":[32],"hidden":[32],"fadeOut":[32],"isWillLoadCalled":[32]}],[0,"taro-picker-group",{"mode":[1],"range":[16],"rangeKey":[1,"range-key"],"height":[2],"columnId":[1,"column-id"],"updateHeight":[16],"updateDay":[16],"startY":[32],"preY":[32],"hadMove":[32],"touchEnd":[32],"isMove":[32],"handleMoveStart":[64],"handleMoving":[64],"handleMoveEnd":[64]},[[1,"mousedown","onMouseDown"],[3,"mousemove","onMouseMove"],[1,"mouseup","onMouseMoveEnd"],[1,"mouseleave","onMouseMoveEnd"],[1,"touchstart","onTouchStart"],[3,"touchmove","onTouchMove"],[1,"touchend","onTouchEnd"]]]]],["p-0c3bf536.system",[[0,"taro-video-core",{"src":[1],"duration":[2],"controls":[4],"autoplay":[4],"loop":[4],"muted":[4],"initialTime":[2,"initial-time"],"poster":[1],"objectFit":[1,"object-fit"],"showProgress":[4,"show-progress"],"showFullscreenBtn":[4,"show-fullscreen-btn"],"showPlayBtn":[4,"show-play-btn"],"showCenterPlayBtn":[4,"show-center-play-btn"],"showMuteBtn":[4,"show-mute-btn"],"danmuList":[16],"danmuBtn":[4,"danmu-btn"],"enableDanmu":[4,"enable-danmu"],"enablePlayGesture":[4,"enable-play-gesture"],"enableProgressGesture":[4,"enable-progress-gesture"],"vslideGesture":[4,"vslide-gesture"],"vslideGestureInFullscreen":[4,"vslide-gesture-in-fullscreen"],"nativeProps":[16],"_duration":[32],"_enableDanmu":[32],"isPlaying":[32],"isFirst":[32],"isFullScreen":[32],"fullScreenTimestamp":[32],"isMute":[32],"getHlsObject":[64],"play":[64],"pause":[64],"stop":[64],"seek":[64],"requestFullScreen":[64],"exitFullScreen":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[4,"taro-video-control",{"controls":[4],"currentTime":[2,"current-time"],"duration":[2],"isPlaying":[4,"is-playing"],"pauseFunc":[16],"playFunc":[16],"seekFunc":[16],"showPlayBtn":[4,"show-play-btn"],"showProgress":[4,"show-progress"],"setProgressBall":[64],"toggleVisibility":[64],"getIsDraggingProgressBall":[64],"setCurrentTime":[64]},[[5,"touchmove","onDocumentTouchMove"],[5,"touchend","onDocumentTouchEnd"],[5,"touchcancel","onDocumentTouchEnd"]]],[0,"taro-video-danmu",{"enable":[4],"danmuList":[32],"sendDanmu":[64],"tick":[64]}]]]]'),e)}))}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as a,H as o}from"./p-d0cabaaa.js";import{n as t}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(a){r(this,a)}componentDidLoad(){t("DraggableSheet",this)}render(){return a(o,null)}};export{s as taro_draggable_sheet_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as o,H as t}from"./p-d0cabaaa.js";import{n as a}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){a("StickyHeader",this)}render(){return o(t,null)}};export{s as taro_sticky_header_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var e,n,r,o;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var s=t("taro_share_element_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("ShareElement",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,h as r,H as t}from"./p-d0cabaaa.js";import{n as a}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(r){o(this,r)}componentDidLoad(){a("Login",this)}render(){return r(t,null)}};export{s as taro_login_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,n,a){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function o(e){try{c(a.next(e))}catch(e){r(e)}}function s(e){try{c(a["throw"](e))}catch(e){r(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,i,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(s){if(a)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(n=0)),n)try{if(a=1,i&&(r=s[0]&2?i["return"]:s[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;if(i=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){n.label=s[1];break}if(s[0]===6&&n.label<r[1]){n.label=r[1];r=s;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(s);break}if(r[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{a=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-75d01c60.system.js","./p-010faa87.system.js"],(function(e){"use strict";var t,n,a,i,r,o;return{setters:[function(e){t=e.r;n=e.h;a=e.g;i=e.H;r=e.c},function(e){o=e.i}],execute:function(){var s="taro-movable-area-core{width:10px;height:10px;display:block;position:relative}";var c=e("taro_movable_area_core",function(){function e(e){var n=this;t(this,e);this.views=[];this.scaleLength=0;this.viewsChanged=function(){n.views=[];var e=n.element.querySelectorAll("taro-movable-view-core");Array.from(e).forEach((function(e){n.views.push(e)}));n.updateArea()};this.handleTouchStart=function(e){var t=e.touches;if(!t||t.length<=1){return}var a={width:t[1].pageX-t[0].pageX,height:t[1].pageY-t[0].pageY};n.scaleLength=Math.sqrt(a.width*a.width+a.height*a.height);if(n.scaleArea){return}var i=function(e,t){var n=function(e,t){if(!(e=e.parentNode)){return false}return(!o(e)||e!==document.body)&&(e===t||e===t.element||e.element===t||n(e,t))};for(var a=0;a<t.length;a++){var i=t[a];if(e===i["element"]||n(e,i)){return i}}};var r=i(t[0].target,n.views);var s=i(t[1].target,n.views);n.scaleTarget=r&&r===s?r:undefined};this.handleTouchMove=function(e){var t=e.touches;if(!t||t.length<=1){return}e.preventDefault();var a={width:t[1].pageX-t[0].pageX,height:t[1].pageY-t[0].pageY};if(n.scaleLength>0){n.updateScale(Math.sqrt(a.width*a.width+a.height*a.height)/n.scaleLength)}};this.handleTouchEnd=function(e){var t,a;if(e.touches&&e.touches.length||!e.changedTouches){return}n.scaleLength=0;if(n.scaleArea){n.views.forEach((function(e){var t;(t=e["endScale"])===null||t===void 0?void 0:t.call(e)}))}else{(a=(t=n.scaleTarget)===null||t===void 0?void 0:t["endScale"])===null||a===void 0?void 0:a.call(t)}n.scaleTarget=undefined};this.updateScale=function(e){var t,a;if(!e||e===1){return}if(n.scaleArea){n.views.forEach((function(t){var n;(n=t["setScale"])===null||n===void 0?void 0:n.call(t,e)}))}else{(a=(t=n.scaleTarget)===null||t===void 0?void 0:t["setScale"])===null||a===void 0?void 0:a.call(t,e)}};this.updateArea=function(){var e=window.getComputedStyle(n.element);var t=n.element.getBoundingClientRect();var a=["Left","Right"].map((function(t){return parseFloat(e["border"+t+"Width"])+parseFloat(e["padding"+t])}));var i=["Top","Bottom"].map((function(t){return parseFloat(e["border"+t+"Width"])+parseFloat(e["padding"+t])}));n.views.forEach((function(e){var r;(r=e["setParent"])===null||r===void 0?void 0:r.call(e,{element:n.element,area:{height:t.height-i[0]-i[1],width:t.width-a[0]-a[1]}})}))};this.scaleArea=undefined}e.prototype.connectedCallback=function(){var e=this;this.observer=new MutationObserver((function(t){t.forEach((function(t){var n,a;if(t.attributeName==="class"||t.attributeName==="style"){var i=e.element.offsetWidth;var r=e.element.offsetHeight;if(i!==((n=e.offset)===null||n===void 0?void 0:n.width)||r!==((a=e.offset)===null||a===void 0?void 0:a.height)){e.updateArea()}e.offset={width:i,height:r}}}))}));this.observer.observe(this.element,{attributes:true})};e.prototype.disconnectedCallback=function(){var e;(e=this.observer)===null||e===void 0?void 0:e.disconnect()};e.prototype.componentDidLoad=function(){this.viewsChanged()};e.prototype.render=function(){return n(i,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());c.style=s;var l="taro-movable-view-core{width:10px;height:10px;display:inline-block;position:absolute;top:0;left:0}";var u=e("taro_movable_view_core",function(){function e(e){var n=this;t(this,e);this.onChange=r(this,"change",7);this.onScale=r(this,"scale",7);this.onHTouchMove=r(this,"htouchmove",7);this.onVTouchMove=r(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=function(e,t){var a=false;e>n.maxX?(e=n.maxX,a=true):e<n.minX&&(e=n.minX,a=true);t>n.maxY?(t=n.maxY,a=true):t<n.minY&&(t=n.minY,a=true);return{x:e,y:t,outOfBounds:a}};this.animationTo=function(e,t,a,i,r,o,s){if(n.animation){n.setTransform(e,t,a,i,r,o);s===null||s===void 0?void 0:s()}else{n.setTransform(e,t,a,i,r,o)}};this.setTransform=function(e,t,a,i,r,o){e=Number(e.toFixed(1));t=Number(t.toFixed(1));a=Number((a!==null&&a!==void 0?a:n.currentScale).toFixed(3));if(!n.outOfBounds){var s=n.getLimitXY(e,t);e=s.x;t=s.y}var c=function(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)};var l=c(e,n.scaleOffset.x);var u=c(t,n.scaleOffset.y);if(n.translateX!==e||n.translateY!==t){!r&&n.onChange.emit({x:l,y:u,source:i})}if(a!==n.currentScale){o&&n.onScale.emit({scale:a,x:l,y:u})}var h="translateX(".concat(e,"px) translateY(").concat(t,"px) translateZ(0px) scale(").concat(a,")");n.element.style.transform=h;n.element.style.webkitTransform=h;n.translateX=e;n.translateY=t;n.currentScale=a};this.updateOffset=function(){var e=function(t,n){if(t===n||!t.offsetParent){return{left:0,top:0}}var a=e(t.offsetParent,n);return{left:t.offsetLeft+a.left,top:t.offsetTop+a.top}};if(!n.parent){return}var t=e(n.element,n.parent);n.offset.x=t.left;n.offset.y=t.top};this.updateScaleOffset=function(e){if(e===void 0){e=n.currentScale}var t=n.element.getBoundingClientRect();n.height=t.height/n.currentScale;n.width=t.width/n.currentScale;n.scaleOffset.x=(n.width*e-n.width)/2;n.scaleOffset.y=(n.height*e-n.height)/2};this.updateBoundary=function(){var e=0-n.offset.x+n.scaleOffset.x;var t=n.area.width-n.width-n.offset.x-n.scaleOffset.x;n.minX=Math.min(e,t);n.maxX=Math.max(e,t);var a=0-n.offset.y+n.scaleOffset.y;var i=n.area.height-n.height-n.offset.y-n.scaleOffset.y;n.minY=Math.min(a,i);n.maxY=Math.max(a,i)};this.updateScale=function(e,t,a){if(!n.scale){return}var i=n.adjustScale(e);n.updateScaleOffset(i);n.updateBoundary();var r=n.getLimitXY(n.translateX,n.translateY),o=r.x,s=r.y;if(t){n.animationTo(o,s,i,"",true,true,a)}else if(!n.updating){n.updating=true;requestAnimationFrame((function(){n.setTransform(o,s,i,"",true,true);n.updating=false}))}};this.setOriginScale=function(e){n.originScale=e};this.adjustScale=function(e){return Math.min(10,n.scaleMax,Math.max(.5,n.scaleMin,e))};this.handleTouchStart=function(e){var t=e.touches;if(n.disabled||t.length>1||!n.element){return}var a=t[0];n.touching=true;n.firstMoveFireEvent=false;n.origin.x=a.screenX;n.origin.y=a.screenY;n.baseX=n.translateX;n.baseY=n.translateY;n.element.style.willChange="transform"};this.handleTouchMove=function(e){var t=e.touches;if(n.disabled||!n.element||n.scaling||!n.touching||t.length>1){return}if(n.direction!=="horizontal"){e.preventDefault()}var a=t[0];var i=a.screenX-n.origin.x;var r=a.screenY-n.origin.y;n.setTransform(n.xMove?i+n.baseX:0,n.yMove?r+n.baseY:0);if(!n.firstMoveFireEvent){n.firstMoveFireEvent=true;var o=Math.abs(i)>Math.abs(r)?n.onHTouchMove:n.onVTouchMove;o.emit({originalEvent:e,bubbles:false,capturePhase:false,composed:true,extraFields:{touches:e.touches||{},changedTouches:e.changedTouches||{}}})}};this.handleTouchEnd=function(e){var t=e.changedTouches[0];if(n.disabled||!n.touching||!t){return}n.touching=false;var a=t.screenX-n.origin.x;var i=t.screenY-n.origin.y;n.setTransform(n.xMove?a+n.baseX:0,n.yMove?i+n.baseY:0)};this.x=0;this.y=0;this.direction="none";this.outOfBounds=false;this.inertia=false;this.friction=2;this.damping=20;this.disabled=false;this.scale=false;this.scaleMin=.5;this.scaleMax=10;this.scaleValue=1;this.animation=true}e.prototype.watchX=function(e){this.setTransform(parseFloat("".concat(e||0)),this.translateY)};e.prototype.watchY=function(e){this.setTransform(this.translateX,parseFloat("".concat(e||0)))};e.prototype.watchScaleMinOrMax=function(){if(!this.scale)return false;this.updateScale(this.currentScale,true);this.setOriginScale(this.currentScale)};e.prototype.watchScaleValue=function(e){if(!this.scale){return false}this.updateScale(e,true);this.setOriginScale(e);return e};e.prototype.setParent=function(e){var t=e.element,n=e.area;return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(a){e=this.scale?this.scaleValue:1;this.area=n;this.parent=t;this.updateOffset();this.updateScaleOffset(e);this.updateBoundary();this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,e,"",true);this.setOriginScale(e);return[2]}))}))};e.prototype.endScale=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.scaling=false;this.setOriginScale(this.currentScale);return[2]}))}))};e.prototype.setScale=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.scale){return[2]}this.scaling=true;this.updateScale(e*this.originScale);return[2]}))}))};e.prototype.connectedCallback=function(){var e=this;this.observer=new MutationObserver((function(t){t.forEach((function(t){var n=t.attributeName;if(n&&["class","style"].includes(n)){var a=t.oldValue;var i=t.target.getAttribute(n);if(a===i){return}var r=function(e){return e===null||e===void 0?void 0:e.split(";").filter((function(e){return!["transform","will-change"].find((function(t){return e.trim().startsWith(t)}))})).join(";")};if(n==="style"&&r(i)===r(a)){return}e.updateOffset();e.updateScaleOffset();e.updateBoundary();e.setTransform(e.translateX,e.translateY)}}))}));this.observer.observe(this.element,{attributes:true,attributeOldValue:true})};e.prototype.disconnectedCallback=function(){var e;(e=this.observer)===null||e===void 0?void 0:e.disconnect()};e.prototype.componentDidLoad=function(){this.element.style.transformOrigin="center";this.xMove=["horizontal","all"].includes(this.direction);this.yMove=["vertical","all"].includes(this.direction);if(this.friction<=0){this.friction=2}if(this.x||this.y){var e=parseFloat("".concat(this.x||0));var t=parseFloat("".concat(this.y||0));this.setTransform(e,t)}};e.prototype.render=function(){return n(i,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{x:["watchX"],y:["watchY"],scaleMin:["watchScaleMinOrMax"],scaleMax:["watchScaleMinOrMax"],scaleValue:["watchScaleValue"]}},enumerable:false,configurable:true});return e}());u.style=l}}}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,n,a){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function o(e){try{c(a.next(e))}catch(e){r(e)}}function s(e){try{c(a["throw"](e))}catch(e){r(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},a,i,r,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return c([e,t])}}function c(s){if(a)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(n=0)),n)try{if(a=1,i&&(r=s[0]&2?i["return"]:s[0]?i["throw"]||((r=i["return"])&&r.call(i),0):i.next)&&!(r=r.call(i,s[1])).done)return r;if(i=0,r)s=[s[0]&2,r.value];switch(s[0]){case 0:case 1:r=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;i=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!r||s[1]>r[0]&&s[1]<r[3])){n.label=s[1];break}if(s[0]===6&&n.label<r[1]){n.label=r[1];r=s;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(s);break}if(r[2])n.ops.pop();n.trys.pop();continue}s=t.call(e,n)}catch(e){s=[6,e];i=0}finally{a=r=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-88de70df.system.js","./p-010faa87.system.js"],(function(e){"use strict";var t,n,a,i,r,o;return{setters:[function(e){t=e.r;n=e.h;a=e.g;i=e.H;r=e.c},function(e){o=e.i}],execute:function(){var s="taro-movable-area-core{width:10px;height:10px;display:block;position:relative}";var c=e("taro_movable_area_core",function(){function e(e){var n=this;t(this,e);this.views=[];this.scaleLength=0;this.viewsChanged=function(){n.views=[];var e=n.element.querySelectorAll("taro-movable-view-core");Array.from(e).forEach((function(e){n.views.push(e)}));n.updateArea()};this.handleTouchStart=function(e){var t=e.touches;if(!t||t.length<=1){return}var a={width:t[1].pageX-t[0].pageX,height:t[1].pageY-t[0].pageY};n.scaleLength=Math.sqrt(a.width*a.width+a.height*a.height);if(n.scaleArea){return}var i=function(e,t){var n=function(e,t){if(!(e=e.parentNode)){return false}return(!o(e)||e!==document.body)&&(e===t||e===t.element||e.element===t||n(e,t))};for(var a=0;a<t.length;a++){var i=t[a];if(e===i["element"]||n(e,i)){return i}}};var r=i(t[0].target,n.views);var s=i(t[1].target,n.views);n.scaleTarget=r&&r===s?r:undefined};this.handleTouchMove=function(e){var t=e.touches;if(!t||t.length<=1){return}e.preventDefault();var a={width:t[1].pageX-t[0].pageX,height:t[1].pageY-t[0].pageY};if(n.scaleLength>0){n.updateScale(Math.sqrt(a.width*a.width+a.height*a.height)/n.scaleLength)}};this.handleTouchEnd=function(e){var t,a;if(e.touches&&e.touches.length||!e.changedTouches){return}n.scaleLength=0;if(n.scaleArea){n.views.forEach((function(e){var t;(t=e["endScale"])===null||t===void 0?void 0:t.call(e)}))}else{(a=(t=n.scaleTarget)===null||t===void 0?void 0:t["endScale"])===null||a===void 0?void 0:a.call(t)}n.scaleTarget=undefined};this.updateScale=function(e){var t,a;if(!e||e===1){return}if(n.scaleArea){n.views.forEach((function(t){var n;(n=t["setScale"])===null||n===void 0?void 0:n.call(t,e)}))}else{(a=(t=n.scaleTarget)===null||t===void 0?void 0:t["setScale"])===null||a===void 0?void 0:a.call(t,e)}};this.updateArea=function(){var e=window.getComputedStyle(n.element);var t=n.element.getBoundingClientRect();var a=["Left","Right"].map((function(t){return parseFloat(e["border"+t+"Width"])+parseFloat(e["padding"+t])}));var i=["Top","Bottom"].map((function(t){return parseFloat(e["border"+t+"Width"])+parseFloat(e["padding"+t])}));n.views.forEach((function(e){var r;(r=e["setParent"])===null||r===void 0?void 0:r.call(e,{element:n.element,area:{height:t.height-i[0]-i[1],width:t.width-a[0]-a[1]}})}))};this.scaleArea=undefined}e.prototype.connectedCallback=function(){var e=this;this.observer=new MutationObserver((function(t){t.forEach((function(t){var n,a;if(t.attributeName==="class"||t.attributeName==="style"){var i=e.element.offsetWidth;var r=e.element.offsetHeight;if(i!==((n=e.offset)===null||n===void 0?void 0:n.width)||r!==((a=e.offset)===null||a===void 0?void 0:a.height)){e.updateArea()}e.offset={width:i,height:r}}}))}));this.observer.observe(this.element,{attributes:true})};e.prototype.disconnectedCallback=function(){var e;(e=this.observer)===null||e===void 0?void 0:e.disconnect()};e.prototype.componentDidLoad=function(){this.viewsChanged()};e.prototype.render=function(){return n(i,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());c.style=s;var l="taro-movable-view-core{width:10px;height:10px;display:inline-block;position:absolute;top:0;left:0}";var u=e("taro_movable_view_core",function(){function e(e){var n=this;t(this,e);this.onChange=r(this,"change",7);this.onScale=r(this,"scale",7);this.onHTouchMove=r(this,"htouchmove",7);this.onVTouchMove=r(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=function(e,t){var a=false;e>n.maxX?(e=n.maxX,a=true):e<n.minX&&(e=n.minX,a=true);t>n.maxY?(t=n.maxY,a=true):t<n.minY&&(t=n.minY,a=true);return{x:e,y:t,outOfBounds:a}};this.animationTo=function(e,t,a,i,r,o,s){if(n.animation){n.setTransform(e,t,a,i,r,o);s===null||s===void 0?void 0:s()}else{n.setTransform(e,t,a,i,r,o)}};this.setTransform=function(e,t,a,i,r,o){e=Number(e.toFixed(1));t=Number(t.toFixed(1));a=Number((a!==null&&a!==void 0?a:n.currentScale).toFixed(3));if(!n.outOfBounds){var s=n.getLimitXY(e,t);e=s.x;t=s.y}var c=function(e,t){return+((1e3*e-1e3*t)/1e3).toFixed(1)};var l=c(e,n.scaleOffset.x);var u=c(t,n.scaleOffset.y);if(n.translateX!==e||n.translateY!==t){!r&&n.onChange.emit({x:l,y:u,source:i})}if(a!==n.currentScale){o&&n.onScale.emit({scale:a,x:l,y:u})}var h="translateX(".concat(e,"px) translateY(").concat(t,"px) translateZ(0px) scale(").concat(a,")");n.element.style.transform=h;n.element.style.webkitTransform=h;n.translateX=e;n.translateY=t;n.currentScale=a};this.updateOffset=function(){var e=function(t,n){if(t===n||!t.offsetParent){return{left:0,top:0}}var a=e(t.offsetParent,n);return{left:t.offsetLeft+a.left,top:t.offsetTop+a.top}};if(!n.parent){return}var t=e(n.element,n.parent);n.offset.x=t.left;n.offset.y=t.top};this.updateScaleOffset=function(e){if(e===void 0){e=n.currentScale}var t=n.element.getBoundingClientRect();n.height=t.height/n.currentScale;n.width=t.width/n.currentScale;n.scaleOffset.x=(n.width*e-n.width)/2;n.scaleOffset.y=(n.height*e-n.height)/2};this.updateBoundary=function(){var e=0-n.offset.x+n.scaleOffset.x;var t=n.area.width-n.width-n.offset.x-n.scaleOffset.x;n.minX=Math.min(e,t);n.maxX=Math.max(e,t);var a=0-n.offset.y+n.scaleOffset.y;var i=n.area.height-n.height-n.offset.y-n.scaleOffset.y;n.minY=Math.min(a,i);n.maxY=Math.max(a,i)};this.updateScale=function(e,t,a){if(!n.scale){return}var i=n.adjustScale(e);n.updateScaleOffset(i);n.updateBoundary();var r=n.getLimitXY(n.translateX,n.translateY),o=r.x,s=r.y;if(t){n.animationTo(o,s,i,"",true,true,a)}else if(!n.updating){n.updating=true;requestAnimationFrame((function(){n.setTransform(o,s,i,"",true,true);n.updating=false}))}};this.setOriginScale=function(e){n.originScale=e};this.adjustScale=function(e){return Math.min(10,n.scaleMax,Math.max(.5,n.scaleMin,e))};this.handleTouchStart=function(e){var t=e.touches;if(n.disabled||t.length>1||!n.element){return}var a=t[0];n.touching=true;n.firstMoveFireEvent=false;n.origin.x=a.screenX;n.origin.y=a.screenY;n.baseX=n.translateX;n.baseY=n.translateY;n.element.style.willChange="transform"};this.handleTouchMove=function(e){var t=e.touches;if(n.disabled||!n.element||n.scaling||!n.touching||t.length>1){return}if(n.direction!=="horizontal"){e.preventDefault()}var a=t[0];var i=a.screenX-n.origin.x;var r=a.screenY-n.origin.y;n.setTransform(n.xMove?i+n.baseX:0,n.yMove?r+n.baseY:0);if(!n.firstMoveFireEvent){n.firstMoveFireEvent=true;var o=Math.abs(i)>Math.abs(r)?n.onHTouchMove:n.onVTouchMove;o.emit({originalEvent:e,bubbles:false,capturePhase:false,composed:true,extraFields:{touches:e.touches||{},changedTouches:e.changedTouches||{}}})}};this.handleTouchEnd=function(e){var t=e.changedTouches[0];if(n.disabled||!n.touching||!t){return}n.touching=false;var a=t.screenX-n.origin.x;var i=t.screenY-n.origin.y;n.setTransform(n.xMove?a+n.baseX:0,n.yMove?i+n.baseY:0)};this.x=0;this.y=0;this.direction="none";this.outOfBounds=false;this.inertia=false;this.friction=2;this.damping=20;this.disabled=false;this.scale=false;this.scaleMin=.5;this.scaleMax=10;this.scaleValue=1;this.animation=true}e.prototype.watchX=function(e){this.setTransform(parseFloat("".concat(e||0)),this.translateY)};e.prototype.watchY=function(e){this.setTransform(this.translateX,parseFloat("".concat(e||0)))};e.prototype.watchScaleMinOrMax=function(){if(!this.scale)return false;this.updateScale(this.currentScale,true);this.setOriginScale(this.currentScale)};e.prototype.watchScaleValue=function(e){if(!this.scale){return false}this.updateScale(e,true);this.setOriginScale(e);return e};e.prototype.setParent=function(e){var t=e.element,n=e.area;return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(a){e=this.scale?this.scaleValue:1;this.area=n;this.parent=t;this.updateOffset();this.updateScaleOffset(e);this.updateBoundary();this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,e,"",true);this.setOriginScale(e);return[2]}))}))};e.prototype.endScale=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.scaling=false;this.setOriginScale(this.currentScale);return[2]}))}))};e.prototype.setScale=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){if(!this.scale){return[2]}this.scaling=true;this.updateScale(e*this.originScale);return[2]}))}))};e.prototype.connectedCallback=function(){var e=this;this.observer=new MutationObserver((function(t){t.forEach((function(t){var n=t.attributeName;if(n&&["class","style"].includes(n)){var a=t.oldValue;var i=t.target.getAttribute(n);if(a===i){return}var r=function(e){return e===null||e===void 0?void 0:e.split(";").filter((function(e){return!["transform","will-change"].find((function(t){return e.trim().startsWith(t)}))})).join(";")};if(n==="style"&&r(i)===r(a)){return}e.updateOffset();e.updateScaleOffset();e.updateBoundary();e.setTransform(e.translateX,e.translateY)}}))}));this.observer.observe(this.element,{attributes:true,attributeOldValue:true})};e.prototype.disconnectedCallback=function(){var e;(e=this.observer)===null||e===void 0?void 0:e.disconnect()};e.prototype.componentDidLoad=function(){this.element.style.transformOrigin="center";this.xMove=["horizontal","all"].includes(this.direction);this.yMove=["vertical","all"].includes(this.direction);if(this.friction<=0){this.friction=2}if(this.x||this.y){var e=parseFloat("".concat(this.x||0));var t=parseFloat("".concat(this.y||0));this.setTransform(e,t)}};e.prototype.render=function(){return n(i,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{x:["watchX"],y:["watchY"],scaleMin:["watchScaleMinOrMax"],scaleMax:["watchScaleMinOrMax"],scaleValue:["watchScaleValue"]}},enumerable:false,configurable:true});return e}());u.style=l}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_match_media_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("MatchMedia",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as a,H as o}from"./p-d0cabaaa.js";import{n as t}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(a){r(this,a)}componentDidLoad(){t("Camera",this)}render(){return a(o,null)}};export{s as taro_camera_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as t}from"./p-d0cabaaa.js";const o=class{constructor(t){r(this,t),this.for=void 0}render(){return t("label",{htmlFor:this.for},t("slot",null))}};export{o as taro_label_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,r,o;return{setters:[function(t){n=t.r;e=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var i=t("taro_like_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("Like",this)};t.prototype.render=function(){return e(r,null)};return t}())}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as o,H as r}from"./p-d0cabaaa.js";import{n as t}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(o){a(this,o)}componentDidLoad(){t("OpenData",this)}render(){return o(r,null)}};export{s as taro_open_data_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as o,H as a}from"./p-d0cabaaa.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const t=class{constructor(o){r(this,o)}componentDidLoad(){s("Tabs",this)}render(){return o(a,null)}};export{t as taro_tabs_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as r,H as o}from"./p-d0cabaaa.js";import{n as t}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(r){a(this,r)}componentDidLoad(){t("PageMeta",this)}render(){return r(o,null)}};export{s as taro_page_meta_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-443b9a72.system.js"],(function(t){"use strict";var o,r,e,a,i,n;return{setters:[function(t){o=t.r;r=t.c;e=t.h;a=t.H;i=t.g},function(t){n=t.c}],execute:function(){var l=".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;-webkit-animation:1s steps(12,end) infinite weuiLoading;animation:1s steps(12,end) infinite weuiLoading;display:inline-block}@-webkit-keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes weuiLoading{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(360deg);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{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;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{-webkit-box-sizing:border-box;box-sizing:border-box;content:\" \";-webkit-transform-origin:0 0;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;-webkit-transform:scale(.5);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)}";var d=t("taro_button_core",function(){function t(t){o(this,t);this.onSubmit=r(this,"tarobuttonsubmit",7);this.onReset=r(this,"tarobuttonreset",7);this.disabled=undefined;this.hoverClass="button-hover";this.type="";this.hoverStartTime=20;this.hoverStayTime=70;this.size=undefined;this.plain=undefined;this.loading=false;this.formType=null;this.hover=false;this.touch=false}t.prototype.onClick=function(t){if(this.disabled){t.stopPropagation()}};t.prototype.onTouchStart=function(){var t=this;if(this.disabled){return}this.touch=true;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}};t.prototype.onTouchEnd=function(){var t=this;if(this.disabled){return}this.touch=false;if(this.hoverClass&&!this.disabled){setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}if(this.formType==="submit"){this.onSubmit.emit()}else if(this.formType==="reset"){this.onReset.emit()}};t.prototype.render=function(){var t;var o=this,r=o.disabled,i=o.hoverClass,l=o.type,d=o.size,c=o.plain,s=o.loading,b=o.hover;var u=n((t={},t["".concat(i)]=b&&!r,t));return e(a,{class:u,type:l,plain:c,loading:s,size:d,disabled:r},s&&e("i",{class:"weui-loading"}),e("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return i(this)},enumerable:false,configurable:true});return t}());d.style=l}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as o,H as e}from"./p-
|
|
1
|
+
import{r as t,c as i,h as o,H as e}from"./p-d0cabaaa.js";import{c as a}from"./p-160d710a.js";const h=class{constructor(o){t(this,o),this.onLoad=i(this,"load",7),this.onError=i(this,"error",7),this.src=void 0,this.mode="scaleToFill",this.lazyLoad=!1,this.nativeProps={},this.aspectFillMode="width",this.didLoad=!1}componentDidLoad(){if(!this.lazyLoad)return;const t=new IntersectionObserver((i=>{i[i.length-1].isIntersecting&&(t.unobserve(this.imgRef),this.didLoad=!0)}),{rootMargin:"300px 0px"});t.observe(this.imgRef)}imageOnLoad(){const{width:t,height:i,naturalWidth:o,naturalHeight:e}=this.imgRef;this.onLoad.emit({width:t,height:i}),this.aspectFillMode=o>e?"width":"height"}imageOnError(t){this.onError.emit(t)}render(){const{src:t,lazyLoad:i=!1,aspectFillMode:h="width",imageOnLoad:s,imageOnError:r,nativeProps:m,didLoad:d}=this,g=this.mode||"scaleToFill",l=a({"taro-img__widthfix":"widthFix"===g}),n=a(`taro-img__mode-${g.toLowerCase().replace(/\s/g,"")}`,{[`taro-img__mode-aspectfill--${h}`]:"aspectFill"===g});return o(e,{class:l},t?o("img",Object.assign({ref:t=>this.imgRef=t,class:n,src:i&&!d?void 0:t,onLoad:s.bind(this),onError:r.bind(this)},m)):"")}};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%}.taro-img__mode-aspectfill{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.taro-img__mode-aspectfill--width{min-width:100%;height:100%}.taro-img__mode-aspectfill--height{width:100%;min-height:100%}.taro-img__mode-widthfix{width:100%}.taro-img__mode-heightfix{height:100%}.taro-img__mode-top{width:100%}.taro-img__mode-bottom{width:100%;position:absolute;bottom:0}.taro-img__mode-left{height:100%}.taro-img__mode-right{height:100%;position:absolute;right:0}.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 taro_image_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-443b9a72.system.js"],(function(t){"use strict";var i,e,o,s,n;return{setters:[function(t){i=t.r;e=t.c;o=t.h;s=t.H},function(t){n=t.c}],execute:function(){var r="taro-cover-view-core{display:block}";var a=t("taro_cover_view_core",function(){function t(t){i(this,t);this.onLongPress=e(this,"longpress",7);this.startTime=0;this.animation=undefined;this.hoverClass=undefined;this.hoverStartTime=50;this.hoverStayTime=400;this.hover=false;this.touch=false}t.prototype.onTouchStart=function(){var t=this;if(this.hoverClass){this.touch=true;setTimeout((function(){if(t.touch){t.hover=true}}),this.hoverStartTime)}this.timeoutEvent=setTimeout((function(){t.onLongPress.emit()}),350);this.startTime=Date.now()};t.prototype.onTouchMove=function(){clearTimeout(this.timeoutEvent)};t.prototype.onTouchEnd=function(){var t=this;var i=Date.now()-this.startTime;if(i<350){clearTimeout(this.timeoutEvent)}if(this.hoverClass){this.touch=false;setTimeout((function(){if(!t.touch){t.hover=false}}),this.hoverStayTime)}};t.prototype.render=function(){var t;var i=n((t={},t["".concat(this.hoverClass)]=this.hover,t));var e={};if(!!this.animation){e["animation"]=this.animation;e["data-animation"]=this.animation}return o(s,Object.assign({class:i},e),o("slot",null))};return t}());a.style=r}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_sticky_section_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("StickySection",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var i=t("taro_native_slot_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("NativeSlot",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,r,e,o;return{setters:[function(t){n=t.r;r=t.h;e=t.H},function(t){o=t.n},function(){}],execute:function(){var c=t("taro_ar_camera_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){o("ArCamera",this)};t.prototype.render=function(){return r(e,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as o,H as i,g as l}from"./p-
|
|
1
|
+
import{r as t,c as s,h as o,H as i,g as l}from"./p-d0cabaaa.js";import{c as r}from"./p-160d710a.js";import{d as e}from"./p-5893c3ed.js";import{h}from"./p-dbdb9de9.js";import"@tarojs/taro";function c(t,s,o=500,i){if(t===s||"number"!=typeof t)return;const l=s-t,r=Date.now(),e=s>=t;!function h(){var c;c=Date.now()-r,t=l*c/o+t,e&&t>=s||!e&&s>=t?i(s):(i(t),requestAnimationFrame(h))}()}const a=class{constructor(o){t(this,o),this.onScroll=s(this,"scroll",3),this.onScrollToUpper=s(this,"scrolltoupper",3),this.onScrollToLower=s(this,"scrolltolower",3),this._scrollLeft=0,this._scrollTop=0,this.upperAndLower=e((()=>{const{offsetWidth:t,offsetHeight:s,scrollLeft:o,scrollTop:i,scrollHeight:l,scrollWidth:r}=this.el,e=Number(this.lowerThreshold),h=Number(this.upperThreshold);!isNaN(e)&&(this.scrollY&&s+i+e>=l||this.scrollX&&t+o+e>=r)&&this.onScrollToLower.emit({direction:this.scrollX?"right":this.scrollY?"bottom":""}),!isNaN(h)&&(this.scrollY&&i<=h||this.scrollX&&o<=h)&&this.onScrollToUpper.emit({direction:this.scrollX?"left":this.scrollY?"top":""})}),200),this.scrollX=!1,this.scrollY=!1,this.upperThreshold=50,this.lowerThreshold=50,this.mpScrollTop=void 0,this.mpScrollLeft=void 0,this.mpScrollIntoView=void 0,this.mpScrollIntoViewAlignment=void 0,this.animated=!1}watchScrollLeft(t){const s=Number(t),{animated:o}=this;this.mpScrollToMethod({left:s,animated:o})}watchScrollTop(t){const s=Number(t),{animated:o}=this;this.mpScrollToMethod({top:s,animated:o})}watchScrollIntoView(t){this.mpScrollIntoViewMethod(t)}handleScroll(t){var s;if(t instanceof CustomEvent)return;t.stopPropagation(),null===(s=t.stopImmediatePropagation)||void 0===s||s.call(t);const{scrollLeft:o,scrollTop:i,scrollHeight:l,scrollWidth:r}=this.el;this._scrollLeft=o,this._scrollTop=i,this.upperAndLower(),this.onScroll.emit({scrollLeft:o,scrollTop:i,scrollHeight:l,scrollWidth:r})}handleTouchMove(t){t instanceof CustomEvent||t.stopPropagation()}async mpScrollToMethod(t){let{top:s,left:o,duration:i,animated:l=!1}=t;this.scrollY&&"number"==typeof s&&!isNaN(s)&&s!==this._scrollTop&&(l?c(this._scrollTop,s,i,(t=>this.el.scrollTop=t)):this.el.scrollTop=s,this._scrollTop=s),this.scrollX&&"number"==typeof o&&!isNaN(o)&&o!==this._scrollLeft&&(l?c(this._scrollLeft,o,i,(t=>this.el.scrollLeft=t)):this.el.scrollLeft=o,this._scrollLeft=o)}async mpScrollIntoViewMethod(t){var s;"string"==typeof t&&t&&(null===(s=document.querySelector(`#${t}`))||void 0===s||s.scrollIntoView({behavior:this.animated?"smooth":"auto",block:this.scrollY&&this.mpScrollIntoViewAlignment||"center",inline:this.scrollX&&this.mpScrollIntoViewAlignment||"start"}))}componentDidLoad(){const t=Number(this.mpScrollTop),s=Number(this.mpScrollLeft),{animated:o}=this;this.mpScrollToMethod({top:t,left:s,animated:o})}componentDidRender(){h(this.el)}render(){const{scrollX:t,scrollY:s}=this,l=r({"taro-scroll-view__scroll-x":t,"taro-scroll-view__scroll-y":s});return o(i,{class:l},o("slot",null))}get el(){return l(this)}static get watchers(){return{mpScrollLeft:["watchScrollLeft"],mpScrollTop:["watchScrollTop"],mpScrollIntoView:["watchScrollIntoView"]}}};a.style="taro-scroll-view-core{-webkit-overflow-scrolling:auto;width:100%;display:block}taro-scroll-view-core::-webkit-scrollbar{display:none}.taro-scroll-view__scroll-x{overflow:scroll hidden}.taro-scroll-view__scroll-y{overflow:hidden scroll}";export{a as taro_scroll_view_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r["throw"](e))}catch(e){a(e)}}function u(e){e.done?i(e.value):n(e.value).then(o,s)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return u([e,t])}}function u(s){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(i=0)),i)try{if(r=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(s[0]===6&&i.label<a[1]){i.label=a[1];a=s;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(s);break}if(a[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];n=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var r=0,n=t.length,a;r<n;r++){if(a||!(r in t)){if(!a)a=Array.prototype.slice.call(t,0,r);a[r]=t[r]}}return e.concat(a||Array.prototype.slice.call(t))};System.register(["./p-75d01c60.system.js","./p-443b9a72.system.js"],(function(e){"use strict";var t,i,r,n,a,o;return{setters:[function(e){t=e.r;i=e.c;r=e.h;n=e.H;a=e.g},function(e){o=e.c}],execute:function(){function s(e,t){var i=[];for(var r=e;r<=t;r++){i.push("".concat(r<10?"0":"").concat(r))}return i}var u=__spreadArray(__spreadArray(["20","21","22","23"],s(0,23),true),["00","01","02","03"],false);var l=__spreadArray(__spreadArray(["56","57","58","59"],s(0,59),true),["00","01","02","03"],false);function d(e,t){if(!isNaN(+e)&&e>=0&&e<t.length)return true;return false}function h(e){if(!/^\d{1,2}:\d{1,2}$/.test(e))return false;var t=e.split(":").map((function(e){return+e}));if(t[0]<0||t[0]>23)return false;if(t[1]<0||t[1]>59)return false;return true}function c(e,t){var i=e.split(":").map((function(e){return+e}));var r=t.split(":").map((function(e){return+e}));if(i[0]<r[0])return true;if(i[0]===r[0]&&i[1]<=r[1])return true;return false}function f(e){if(!e)return false;var t=new Date(e.replace(/-/g,"/"));return isNaN(t.getMonth())?false:t}function p(e,t){if(t===4||t===6||t===9||t===11)return 30;if(t===2){if(e%4===0&&e%100!==0||e%400===0)return 29;else return 28}return 31}function g(e){var t;if(Array.isArray(e)){t=e.map((function(e){return String(e)}))}else{t=e}return t}function m(e,t){var i=[];for(var r=e;r<=t;r++){i.push(r)}return i}function v(e,t){return m(e,t)}function w(e,t,i){var r=1;var n=12;if(e.getFullYear()===i){r=e.getMonth()+1}if(t.getFullYear()===i){n=t.getMonth()+1}return m(r,n)}function k(e,t,i,r){var n=1;var a=p(i,r);if(e.getFullYear()===i&&e.getMonth()+1===r){n=e.getDate()}if(t.getFullYear()===i&&t.getMonth()+1===r){a=t.getDate()}return m(n,a)}var b=102;var y=34;var _=y*7;var x='.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}@-webkit-keyframes weuiSlideUp{0%{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translate(0,0);transform:translate(0,0)}}@keyframes weuiSlideUp{0%{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translate(0,0);transform:translate(0,0)}}.weui-animate-slide-up{-webkit-animation:.3s forwards weuiSlideUp;animation:.3s forwards weuiSlideUp}@-webkit-keyframes weuiSlideDown{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes weuiSlideDown{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}.weui-animate-slide-down{-webkit-animation:.3s forwards weuiSlideDown;animation:.3s forwards weuiSlideDown}@-webkit-keyframes weuiFadeIn{0%{opacity:0}to{opacity:1}}@keyframes weuiFadeIn{0%{opacity:0}to{opacity:1}}.weui-animate-fade-in{-webkit-animation:.3s forwards weuiFadeIn;animation:.3s forwards weuiFadeIn}@-webkit-keyframes weuiFadeOut{0%{opacity:1}to{opacity:0}}@keyframes weuiFadeOut{0%{opacity:1}to{opacity:0}}.weui-animate-fade-out{-webkit-animation:.3s forwards weuiFadeOut;animation:.3s forwards weuiFadeOut}.weui-picker{-webkit-box-sizing:border-box;box-sizing:border-box;z-index:5000;background-color:var(--weui-BG-2);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);-webkit-backface-visibility:hidden;backface-visibility:hidden;width:100%;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s, -webkit-transform .3s;position:fixed;bottom:0;left:0;-webkit-transform:translateY(100%);transform:translateY(100%)}.weui-picker__hd{text-align:center;background-color:#fff;padding:9px 15px;font-size:17px;display:-ms-flexbox;display:flex;position:relative}.weui-picker__hd:after{content:" ";color:#e5e5e5;-webkit-transform-origin:0 100%;transform-origin:0 100%;border-bottom:1px solid #e5e5e5;height:1px;position:absolute;bottom:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__action{color:#1aad19;-ms-flex:1;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:-ms-flexbox;display:flex;position:relative;overflow:hidden}.weui-picker__group{-ms-flex:1;flex:1;height:100%;position:relative}.weui-picker__mask{z-index:3;background-color:transparent;background-image:-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.95)),to(rgba(255,255,255,.6))),-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.6)),to(rgba(255,255,255,.95)));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;-webkit-transform:translateZ(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;-webkit-transform-origin:0 0;transform-origin:0 0;border-top:1px solid #e5e5e5;height:1px;position:absolute;top:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__indicator:after{content:" ";color:#e5e5e5;-webkit-transform-origin:0 100%;transform-origin:0 100%;border-bottom:1px solid #e5e5e5;height:1px;position:absolute;bottom:0;left:0;right:0;-webkit-transform:scaleY(.5);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}';var C=e("taro_picker_core",function(){function e(e){var n=this;t(this,e);this.onChange=i(this,"change",7);this.onColumnChange=i(this,"columnchange",7);this.onCancel=i(this,"cancel",7);this.index=[];this.showPicker=function(){if(n.disabled)return;n.height=n.getHeightByIndex();n.hidden=false};this.getHeightByIndex=function(){var e=n.index.map((function(e){var t=0;if(n.mode==="time"){t=y*4}return b-y*e-t}));return e};this.hidePicker=function(){n.fadeOut=true;setTimeout((function(){n.hidden=true;n.fadeOut=false}),350)};this.handleChange=function(){n.hidePicker();n.index=n.height.map((function(e){return(b-e)/y}));var e=n.index.length&&n.mode!=="selector"?n.index:n.index[0];if(n.mode==="time"){var t=[u.slice(),l.slice()];var i=n.index.map((function(e,i){return t[i][e]}));n.index=i.map((function(e){return parseInt(e)}));e=i.join(":")}if(n.mode==="date"){var r=n.pickerDate,a=r._start,o=r._end,s=r._updateValue;var d=s[0];var h=s[1];var c=v(a.getFullYear(),o.getFullYear());var f=w(a,o,d);var p=k(a,o,d,h);var g=c[n.index[0]];var m=f[n.index[1]];var _=p[n.index[2]];if(n.fields==="year"){e=[g]}else if(n.fields==="month"){e=[g,m]}else{e=[g,m,_]}e=e.map((function(e){return e<10?"0".concat(e):e})).join("-")}n.value=e;n.pickerValue=n.value;n.onChange.emit({value:e})};this.handleColumnChange=function(e){var t=e.detail,i=t.columnId,r=t.height;n.onColumnChange.emit({column:Number(i),value:(b-r)/y})};this.handleCancel=function(){n.hidePicker();n.onCancel.emit()};this.updateHeight=function(e,t,i){if(i===void 0){i=false}var r=__spreadArray([],n.height,true);r[t]=e;n.height=r;if(i){var a=n,o=a.start,s=a.end;if(!h(o))o="00:00";if(!h(s))s="23:59";if(!c(o,s))return;var d=[u.slice(),l.slice()];var f=n.height.map((function(e){return(b-e)/y}));var p=f.map((function(e,t){return d[t][e]})).join(":");if(!c(o,p)){var g=o.split(":").map((function(e){return b-y*(+e+4)}));requestAnimationFrame((function(){return n.height=g}))}else if(!c(p,s)){var m=s.split(":").map((function(e){return b-y*(+e+4)}));requestAnimationFrame((function(){return n.height=m}))}}};this.updateDay=function(e,t){var i=n.pickerDate,r=i._start,a=i._end,o=i._updateValue;o[t]=e;var s=o[0];var u=o[1];var l=o[2];if(t===0){var d=w(r,a,s);var h=d[d.length-1];var c=d[0];if(u>h)o[1]=h;if(u<c)o[1]=c;var f=d.indexOf(o[1]);var p=b-y*f;n.updateDay(o[1],1);n.updateHeight(p,"1")}else if(t===1){var g=k(r,a,s,u);var h=g[g.length-1];var c=g[0];if(l>h)o[2]=h;if(l<c)o[2]=c;var f=g.indexOf(o[2]);var p=b-y*f;n.updateDay(o[2],2);n.updateHeight(p,"2")}};this.getSelector=function(){return r("taro-picker-group",{range:n.range,rangeKey:n.rangeKey,height:n.height[0],updateHeight:n.updateHeight,columnId:"0"})};this.getMultiSelector=function(){return n.range.map((function(e,t){return r("taro-picker-group",{range:e,rangeKey:n.rangeKey,height:n.height[t],updateHeight:n.updateHeight,onColumnChange:n.handleColumnChange,columnId:String(t)})}))};this.getTimeSelector=function(){var e=u.slice();var t=l.slice();return[r("taro-picker-group",{mode:"time",range:e,height:n.height[0],updateHeight:n.updateHeight,columnId:"0"}),r("taro-picker-group",{mode:"time",range:t,height:n.height[1],updateHeight:n.updateHeight,columnId:"1"})]};this.getDateSelector=function(){var e=n,t=e.fields,i=e.height;var a=n.pickerDate,o=a._start,s=a._end,u=a._updateValue;var l=u[0];var d=u[1];var h=v(o.getFullYear(),s.getFullYear()).map((function(e){return"".concat(e,"年")}));var c=w(o,s,l).map((function(e){return"".concat(e<10?"0".concat(e):e,"月")}));var f=k(o,s,l,d).map((function(e){return"".concat(e<10?"0".concat(e):e,"日")}));var p=[r("taro-picker-group",{mode:"date",range:h,height:i[0],updateDay:n.updateDay,updateHeight:n.updateHeight,columnId:"0"})];if(t==="month"||t==="day"){p.push(r("taro-picker-group",{mode:"date",range:c,height:i[1],updateDay:n.updateDay,updateHeight:n.updateHeight,columnId:"1"}))}if(t==="day"){p.push(r("taro-picker-group",{mode:"date",range:f,height:i[2],updateDay:n.updateDay,updateHeight:n.updateHeight,columnId:"2"}))}return p};this.mode="selector";this.disabled=false;this.range=[];this.rangeKey=undefined;this.value=undefined;this.start="";this.end="";this.fields="day";this.name="";this.textProps={};this.pickerValue=[];this.height=[];this.hidden=true;this.fadeOut=false;this.isWillLoadCalled=false}e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;this.handleProps()};e.prototype.componentDidLoad=function(){if(this.overlay){document.body.appendChild(this.overlay)}};e.prototype.disconnectedCallback=function(){var e;if(this.overlay){(e=this.overlay.parentNode)===null||e===void 0?void 0:e.removeChild(this.overlay)}};e.prototype.onPropsChange=function(){if(!this.isWillLoadCalled)return;this.handleProps()};e.prototype.handleProps=function(){var e=this;var t=this,i=t.mode,r=t.start,n=t.end;if(i==="selector"){var a=this.value;this.index=[d(a,this.range)?Math.floor(a):0]}else if(i==="multiSelector"){var o=this.value;this.index=[];this.range.forEach((function(t,i){var r=o===null||o===void 0?void 0:o[i];var n=d(r,t)?Math.floor(r):0;e.index.push(n)}))}else if(i==="time"){var a=this.value;if(!h(a)){console.warn("time picker value illegal");a="0:0"}var s=a.split(":").map((function(e){return+e}));this.index=s}else if(i==="date"){var a=this.value;var u=f(a)||new Date((new Date).setHours(0,0,0,0));var l=f(r)||new Date("1970/01/01");var c=f(n)||new Date("2999/01/01");if(!(l<=c)){throw new Error("Picker start time must be less than end time.")}if(!(u>=l&&u<=c)){u=l}var p=u.getFullYear();var g=u.getMonth()+1;var m=u.getDate();var b=v(l.getFullYear(),c.getFullYear());var y=w(l,c,p);var _=k(l,c,p,g);this.index=[b.indexOf(p),y.indexOf(g),_.indexOf(m)];if(!this.pickerDate||this.pickerDate._value.getTime()!==u.getTime()||this.pickerDate._start.getTime()!==l.getTime()||this.pickerDate._end.getTime()!==c.getTime()){this.pickerDate={_value:u,_start:l,_end:c,_updateValue:[p,g,m]}}}else{throw new Error('Picker not support "'.concat(i,'" mode.'))}this.height=this.getHeightByIndex();this.pickerValue=this.value;if(i==="date"){var x=this.pickerValue;if(this.fields==="month"){this.pickerValue=x.split("-").slice(0,2).join("-")}else if(this.fields==="year"){this.pickerValue=x.split("-")[0]}}};e.prototype.render=function(){var e=this;var t,i;var a=this,s=a.name,u=a.mode,l=a.fadeOut,d=a.hidden;var h;switch(u){case"multiSelector":h=this.getMultiSelector();break;case"time":h=this.getTimeSelector();break;case"date":h=this.getDateSelector();break;default:h=this.getSelector()}var c=o("weui-mask","weui-animate-fade-in",{"weui-animate-fade-out":l});var f=o("weui-picker","weui-animate-slide-up",{"weui-animate-slide-down":l});var p=d?{display:"none"}:{};return r(n,null,r("div",{onClick:this.showPicker},r("slot",null),r("input",{type:"hidden",name:s,value:g(this.pickerValue)})),r("div",{class:"weui-picker__overlay",style:p,ref:function(t){e.overlay=t}},r("div",{class:c,onClick:this.handleCancel}),r("div",{class:f},r("div",{class:"weui-picker__hd"},r("div",{class:"weui-picker__action",onClick:this.handleCancel},(t=this.textProps.cancelText)!==null&&t!==void 0?t:"取消"),r("div",{class:"weui-picker__action",onClick:this.handleChange},(i=this.textProps.okText)!==null&&i!==void 0?i:"确定")),r("div",{class:"weui-picker__bd"},h),r("input",{type:"hidden",name:s,value:g(this.pickerValue)}))))};Object.defineProperty(e.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{mode:["onPropsChange"],value:["onPropsChange"],range:["onPropsChange"],start:["onPropsChange"],end:["onPropsChange"]}},enumerable:false,configurable:true});return e}());C.style=x;var Y=e("taro_picker_group",function(){function e(e){t(this,e);this.onColumnChange=i(this,"columnChange",7);this.mode=undefined;this.range=[];this.rangeKey=undefined;this.height=undefined;this.columnId=undefined;this.updateHeight=undefined;this.updateDay=undefined;this.startY=undefined;this.preY=undefined;this.hadMove=undefined;this.touchEnd=undefined;this.isMove=undefined}e.prototype.getPosition=function(){var e=this.touchEnd?.3:0;var t="translate3d(0, ".concat(this.height,"px, 0)");var i="transform ".concat(e,"s");return{transform:t,"-webkit-transform":t,transition:i,"-webkit-transition":i}};e.prototype.formulaUnlimitedScroll=function(e,t,i){var r=this;var n=this,a=n.height,o=n.updateHeight,s=n.columnId;var u=i==="up"?1:-1;this.touchEnd=false;o(-e*u*y+a,s);requestAnimationFrame((function(){r.touchEnd=true;var i=Math.round(t/-y)+e*u;var n=b-y*i;o(n,s,true)}))};e.prototype.handleMoveStart=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.startY=e;this.preY=e;this.hadMove=false;return[2]}))}))};e.prototype.handleMoving=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r;return __generator(this,(function(n){t=e;i=t-this.preY;this.preY=t;this.touchEnd=false;if(Math.abs(t-this.startY)>10)this.hadMove=true;r=this.height+i;if(this.mode==="time"){if(this.columnId==="0"){if(r>b-y*3){r=b-y*27+i}if(r<b-y*28){r=b-y*4+i}}else if(this.columnId==="1"){if(r>b-y*3){r=b-y*63+i}if(r<b-y*64){r=b-y*4+i}}}this.updateHeight(r,this.columnId);return[2]}))}))};e.prototype.handleMoveEnd=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r,n,a,o,s,u,l,d,h,c,f,p;return __generator(this,(function(g){t=this,i=t.mode,r=t.range,n=t.height,a=t.updateHeight,o=t.columnId;s=0;u=-y*(r.length-1);l=e;this.touchEnd=true;if(!this.hadMove){h=window.innerHeight;c=h-_/2;d=n-b-(l-c);if(i==="time"){if(o==="0"){if(d>-y*2.5){return[2,this.formulaUnlimitedScroll(24,d,"up")]}if(d<-y*28.5){return[2,this.formulaUnlimitedScroll(24,d,"down")]}}else if(o==="1"){if(d>-y*2.5){return[2,this.formulaUnlimitedScroll(60,d,"up")]}if(d<-y*64.5){return[2,this.formulaUnlimitedScroll(60,d,"down")]}}}}else{d=n-b}if(d>s)d=0;if(d<u)d=u;f=Math.round(d/-y);p=b-y*f;if(this.mode==="date"&&typeof this.updateDay==="function"){if(this.columnId==="0"){this.updateDay(+this.range[f].replace(/[^0-9]/gi,""),0)}if(this.columnId==="1"){this.updateDay(+this.range[f].replace(/[^0-9]/gi,""),1)}if(this.columnId==="2"){this.updateDay(+this.range[f].replace(/[^0-9]/gi,""),2)}}a(p,o,i==="time");this.onColumnChange.emit({columnId:o,height:p});return[2]}))}))};e.prototype.onMouseDown=function(e){this.isMove=true;this.handleMoveStart(e.clientY)};e.prototype.onMouseMove=function(e){if(!this.isMove)return;this.handleMoving(e.clientY)};e.prototype.onMouseMoveEnd=function(e){if(!this.isMove)return;this.isMove=false;this.handleMoveEnd(e.clientY)};e.prototype.onTouchStart=function(e){this.handleMoveStart(e.changedTouches[0].clientY)};e.prototype.onTouchMove=function(e){this.handleMoving(e.changedTouches[0].clientY)};e.prototype.onTouchEnd=function(e){this.handleMoveEnd(e.changedTouches[0].clientY)};e.prototype.render=function(){var e=this,t=e.range,i=e.rangeKey;var a=t.map((function(e){var t=i?e[i]:e;return r("div",{class:"weui-picker__item"},t)}));return r(n,{class:"weui-picker__group"},r("div",{class:"weui-picker__mask"}),r("div",{class:"weui-picker__indicator"}),r("div",{class:"weui-picker__content",style:this.getPosition()},a))};return e}())}}}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,i,r){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function s(e){try{u(r["throw"](e))}catch(e){a(e)}}function u(e){e.done?i(e.value):n(e.value).then(o,s)}u((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,n,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(t){return u([e,t])}}function u(s){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(i=0)),i)try{if(r=1,n&&(a=s[0]&2?n["return"]:s[0]?n["throw"]||((a=n["return"])&&a.call(n),0):n.next)&&!(a=a.call(n,s[1])).done)return a;if(n=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:i.label++;return{value:s[1],done:false};case 5:i.label++;n=s[1];s=[0];continue;case 7:s=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){i=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){i.label=s[1];break}if(s[0]===6&&i.label<a[1]){i.label=a[1];a=s;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(s);break}if(a[2])i.ops.pop();i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e];n=0}finally{r=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var r=0,n=t.length,a;r<n;r++){if(a||!(r in t)){if(!a)a=Array.prototype.slice.call(t,0,r);a[r]=t[r]}}return e.concat(a||Array.prototype.slice.call(t))};System.register(["./p-88de70df.system.js","./p-443b9a72.system.js"],(function(e){"use strict";var t,i,r,n,a,o;return{setters:[function(e){t=e.r;i=e.c;r=e.h;n=e.H;a=e.g},function(e){o=e.c}],execute:function(){function s(e,t){var i=[];for(var r=e;r<=t;r++){i.push("".concat(r<10?"0":"").concat(r))}return i}var u=__spreadArray(__spreadArray(["20","21","22","23"],s(0,23),true),["00","01","02","03"],false);var l=__spreadArray(__spreadArray(["56","57","58","59"],s(0,59),true),["00","01","02","03"],false);function d(e,t){if(!isNaN(+e)&&e>=0&&e<t.length)return true;return false}function h(e){if(!/^\d{1,2}:\d{1,2}$/.test(e))return false;var t=e.split(":").map((function(e){return+e}));if(t[0]<0||t[0]>23)return false;if(t[1]<0||t[1]>59)return false;return true}function c(e,t){var i=e.split(":").map((function(e){return+e}));var r=t.split(":").map((function(e){return+e}));if(i[0]<r[0])return true;if(i[0]===r[0]&&i[1]<=r[1])return true;return false}function f(e){if(!e)return false;var t=new Date(e.replace(/-/g,"/"));return isNaN(t.getMonth())?false:t}function p(e,t){if(t===4||t===6||t===9||t===11)return 30;if(t===2){if(e%4===0&&e%100!==0||e%400===0)return 29;else return 28}return 31}function g(e){var t;if(Array.isArray(e)){t=e.map((function(e){return String(e)}))}else{t=e}return t}function m(e,t){var i=[];for(var r=e;r<=t;r++){i.push(r)}return i}function v(e,t){return m(e,t)}function w(e,t,i){var r=1;var n=12;if(e.getFullYear()===i){r=e.getMonth()+1}if(t.getFullYear()===i){n=t.getMonth()+1}return m(r,n)}function k(e,t,i,r){var n=1;var a=p(i,r);if(e.getFullYear()===i&&e.getMonth()+1===r){n=e.getDate()}if(t.getFullYear()===i&&t.getMonth()+1===r){a=t.getDate()}return m(n,a)}var b=102;var y=34;var _=y*7;var x='.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}@-webkit-keyframes weuiSlideUp{0%{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translate(0,0);transform:translate(0,0)}}@keyframes weuiSlideUp{0%{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translate(0,0);transform:translate(0,0)}}.weui-animate-slide-up{-webkit-animation:.3s forwards weuiSlideUp;animation:.3s forwards weuiSlideUp}@-webkit-keyframes weuiSlideDown{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes weuiSlideDown{0%{-webkit-transform:translate(0,0);transform:translate(0,0)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}.weui-animate-slide-down{-webkit-animation:.3s forwards weuiSlideDown;animation:.3s forwards weuiSlideDown}@-webkit-keyframes weuiFadeIn{0%{opacity:0}to{opacity:1}}@keyframes weuiFadeIn{0%{opacity:0}to{opacity:1}}.weui-animate-fade-in{-webkit-animation:.3s forwards weuiFadeIn;animation:.3s forwards weuiFadeIn}@-webkit-keyframes weuiFadeOut{0%{opacity:1}to{opacity:0}}@keyframes weuiFadeOut{0%{opacity:1}to{opacity:0}}.weui-animate-fade-out{-webkit-animation:.3s forwards weuiFadeOut;animation:.3s forwards weuiFadeOut}.weui-picker{-webkit-box-sizing:border-box;box-sizing:border-box;z-index:5000;background-color:var(--weui-BG-2);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);-webkit-backface-visibility:hidden;backface-visibility:hidden;width:100%;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s, -webkit-transform .3s;position:fixed;bottom:0;left:0;-webkit-transform:translateY(100%);transform:translateY(100%)}.weui-picker__hd{text-align:center;background-color:#fff;padding:9px 15px;font-size:17px;display:-ms-flexbox;display:flex;position:relative}.weui-picker__hd:after{content:" ";color:#e5e5e5;-webkit-transform-origin:0 100%;transform-origin:0 100%;border-bottom:1px solid #e5e5e5;height:1px;position:absolute;bottom:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__action{color:#1aad19;-ms-flex:1;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:-ms-flexbox;display:flex;position:relative;overflow:hidden}.weui-picker__group{-ms-flex:1;flex:1;height:100%;position:relative}.weui-picker__mask{z-index:3;background-color:transparent;background-image:-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.95)),to(rgba(255,255,255,.6))),-webkit-gradient(linear,left top, left bottom,from(rgba(255,255,255,.6)),to(rgba(255,255,255,.95)));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;-webkit-transform:translateZ(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;-webkit-transform-origin:0 0;transform-origin:0 0;border-top:1px solid #e5e5e5;height:1px;position:absolute;top:0;left:0;right:0;-webkit-transform:scaleY(.5);transform:scaleY(.5)}.weui-picker__indicator:after{content:" ";color:#e5e5e5;-webkit-transform-origin:0 100%;transform-origin:0 100%;border-bottom:1px solid #e5e5e5;height:1px;position:absolute;bottom:0;left:0;right:0;-webkit-transform:scaleY(.5);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}';var C=e("taro_picker_core",function(){function e(e){var n=this;t(this,e);this.onChange=i(this,"change",7);this.onColumnChange=i(this,"columnchange",7);this.onCancel=i(this,"cancel",7);this.index=[];this.showPicker=function(){if(n.disabled)return;n.height=n.getHeightByIndex();n.hidden=false};this.getHeightByIndex=function(){var e=n.index.map((function(e){var t=0;if(n.mode==="time"){t=y*4}return b-y*e-t}));return e};this.hidePicker=function(){n.fadeOut=true;setTimeout((function(){n.hidden=true;n.fadeOut=false}),350)};this.handleChange=function(){n.hidePicker();n.index=n.height.map((function(e){return(b-e)/y}));var e=n.index.length&&n.mode!=="selector"?n.index:n.index[0];if(n.mode==="time"){var t=[u.slice(),l.slice()];var i=n.index.map((function(e,i){return t[i][e]}));n.index=i.map((function(e){return parseInt(e)}));e=i.join(":")}if(n.mode==="date"){var r=n.pickerDate,a=r._start,o=r._end,s=r._updateValue;var d=s[0];var h=s[1];var c=v(a.getFullYear(),o.getFullYear());var f=w(a,o,d);var p=k(a,o,d,h);var g=c[n.index[0]];var m=f[n.index[1]];var _=p[n.index[2]];if(n.fields==="year"){e=[g]}else if(n.fields==="month"){e=[g,m]}else{e=[g,m,_]}e=e.map((function(e){return e<10?"0".concat(e):e})).join("-")}n.value=e;n.pickerValue=n.value;n.onChange.emit({value:e})};this.handleColumnChange=function(e){var t=e.detail,i=t.columnId,r=t.height;n.onColumnChange.emit({column:Number(i),value:(b-r)/y})};this.handleCancel=function(){n.hidePicker();n.onCancel.emit()};this.updateHeight=function(e,t,i){if(i===void 0){i=false}var r=__spreadArray([],n.height,true);r[t]=e;n.height=r;if(i){var a=n,o=a.start,s=a.end;if(!h(o))o="00:00";if(!h(s))s="23:59";if(!c(o,s))return;var d=[u.slice(),l.slice()];var f=n.height.map((function(e){return(b-e)/y}));var p=f.map((function(e,t){return d[t][e]})).join(":");if(!c(o,p)){var g=o.split(":").map((function(e){return b-y*(+e+4)}));requestAnimationFrame((function(){return n.height=g}))}else if(!c(p,s)){var m=s.split(":").map((function(e){return b-y*(+e+4)}));requestAnimationFrame((function(){return n.height=m}))}}};this.updateDay=function(e,t){var i=n.pickerDate,r=i._start,a=i._end,o=i._updateValue;o[t]=e;var s=o[0];var u=o[1];var l=o[2];if(t===0){var d=w(r,a,s);var h=d[d.length-1];var c=d[0];if(u>h)o[1]=h;if(u<c)o[1]=c;var f=d.indexOf(o[1]);var p=b-y*f;n.updateDay(o[1],1);n.updateHeight(p,"1")}else if(t===1){var g=k(r,a,s,u);var h=g[g.length-1];var c=g[0];if(l>h)o[2]=h;if(l<c)o[2]=c;var f=g.indexOf(o[2]);var p=b-y*f;n.updateDay(o[2],2);n.updateHeight(p,"2")}};this.getSelector=function(){return r("taro-picker-group",{range:n.range,rangeKey:n.rangeKey,height:n.height[0],updateHeight:n.updateHeight,columnId:"0"})};this.getMultiSelector=function(){return n.range.map((function(e,t){return r("taro-picker-group",{range:e,rangeKey:n.rangeKey,height:n.height[t],updateHeight:n.updateHeight,onColumnChange:n.handleColumnChange,columnId:String(t)})}))};this.getTimeSelector=function(){var e=u.slice();var t=l.slice();return[r("taro-picker-group",{mode:"time",range:e,height:n.height[0],updateHeight:n.updateHeight,columnId:"0"}),r("taro-picker-group",{mode:"time",range:t,height:n.height[1],updateHeight:n.updateHeight,columnId:"1"})]};this.getDateSelector=function(){var e=n,t=e.fields,i=e.height;var a=n.pickerDate,o=a._start,s=a._end,u=a._updateValue;var l=u[0];var d=u[1];var h=v(o.getFullYear(),s.getFullYear()).map((function(e){return"".concat(e,"年")}));var c=w(o,s,l).map((function(e){return"".concat(e<10?"0".concat(e):e,"月")}));var f=k(o,s,l,d).map((function(e){return"".concat(e<10?"0".concat(e):e,"日")}));var p=[r("taro-picker-group",{mode:"date",range:h,height:i[0],updateDay:n.updateDay,updateHeight:n.updateHeight,columnId:"0"})];if(t==="month"||t==="day"){p.push(r("taro-picker-group",{mode:"date",range:c,height:i[1],updateDay:n.updateDay,updateHeight:n.updateHeight,columnId:"1"}))}if(t==="day"){p.push(r("taro-picker-group",{mode:"date",range:f,height:i[2],updateDay:n.updateDay,updateHeight:n.updateHeight,columnId:"2"}))}return p};this.mode="selector";this.disabled=false;this.range=[];this.rangeKey=undefined;this.value=undefined;this.start="";this.end="";this.fields="day";this.name="";this.textProps={};this.pickerValue=[];this.height=[];this.hidden=true;this.fadeOut=false;this.isWillLoadCalled=false}e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;this.handleProps()};e.prototype.componentDidLoad=function(){if(this.overlay){document.body.appendChild(this.overlay)}};e.prototype.disconnectedCallback=function(){var e;if(this.overlay){(e=this.overlay.parentNode)===null||e===void 0?void 0:e.removeChild(this.overlay)}};e.prototype.onPropsChange=function(){if(!this.isWillLoadCalled)return;this.handleProps()};e.prototype.handleProps=function(){var e=this;var t=this,i=t.mode,r=t.start,n=t.end;if(i==="selector"){var a=this.value;this.index=[d(a,this.range)?Math.floor(a):0]}else if(i==="multiSelector"){var o=this.value;this.index=[];this.range.forEach((function(t,i){var r=o===null||o===void 0?void 0:o[i];var n=d(r,t)?Math.floor(r):0;e.index.push(n)}))}else if(i==="time"){var a=this.value;if(!h(a)){console.warn("time picker value illegal");a="0:0"}var s=a.split(":").map((function(e){return+e}));this.index=s}else if(i==="date"){var a=this.value;var u=f(a)||new Date((new Date).setHours(0,0,0,0));var l=f(r)||new Date("1970/01/01");var c=f(n)||new Date("2999/01/01");if(!(l<=c)){throw new Error("Picker start time must be less than end time.")}if(!(u>=l&&u<=c)){u=l}var p=u.getFullYear();var g=u.getMonth()+1;var m=u.getDate();var b=v(l.getFullYear(),c.getFullYear());var y=w(l,c,p);var _=k(l,c,p,g);this.index=[b.indexOf(p),y.indexOf(g),_.indexOf(m)];if(!this.pickerDate||this.pickerDate._value.getTime()!==u.getTime()||this.pickerDate._start.getTime()!==l.getTime()||this.pickerDate._end.getTime()!==c.getTime()){this.pickerDate={_value:u,_start:l,_end:c,_updateValue:[p,g,m]}}}else{throw new Error('Picker not support "'.concat(i,'" mode.'))}this.height=this.getHeightByIndex();this.pickerValue=this.value;if(i==="date"){var x=this.pickerValue;if(this.fields==="month"){this.pickerValue=x.split("-").slice(0,2).join("-")}else if(this.fields==="year"){this.pickerValue=x.split("-")[0]}}};e.prototype.render=function(){var e=this;var t,i;var a=this,s=a.name,u=a.mode,l=a.fadeOut,d=a.hidden;var h;switch(u){case"multiSelector":h=this.getMultiSelector();break;case"time":h=this.getTimeSelector();break;case"date":h=this.getDateSelector();break;default:h=this.getSelector()}var c=o("weui-mask","weui-animate-fade-in",{"weui-animate-fade-out":l});var f=o("weui-picker","weui-animate-slide-up",{"weui-animate-slide-down":l});var p=d?{display:"none"}:{};return r(n,null,r("div",{onClick:this.showPicker},r("slot",null),r("input",{type:"hidden",name:s,value:g(this.pickerValue)})),r("div",{class:"weui-picker__overlay",style:p,ref:function(t){e.overlay=t}},r("div",{class:c,onClick:this.handleCancel}),r("div",{class:f},r("div",{class:"weui-picker__hd"},r("div",{class:"weui-picker__action",onClick:this.handleCancel},(t=this.textProps.cancelText)!==null&&t!==void 0?t:"取消"),r("div",{class:"weui-picker__action",onClick:this.handleChange},(i=this.textProps.okText)!==null&&i!==void 0?i:"确定")),r("div",{class:"weui-picker__bd"},h),r("input",{type:"hidden",name:s,value:g(this.pickerValue)}))))};Object.defineProperty(e.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{mode:["onPropsChange"],value:["onPropsChange"],range:["onPropsChange"],start:["onPropsChange"],end:["onPropsChange"]}},enumerable:false,configurable:true});return e}());C.style=x;var Y=e("taro_picker_group",function(){function e(e){t(this,e);this.onColumnChange=i(this,"columnChange",7);this.mode=undefined;this.range=[];this.rangeKey=undefined;this.height=undefined;this.columnId=undefined;this.updateHeight=undefined;this.updateDay=undefined;this.startY=undefined;this.preY=undefined;this.hadMove=undefined;this.touchEnd=undefined;this.isMove=undefined}e.prototype.getPosition=function(){var e=this.touchEnd?.3:0;var t="translate3d(0, ".concat(this.height,"px, 0)");var i="transform ".concat(e,"s");return{transform:t,"-webkit-transform":t,transition:i,"-webkit-transition":i}};e.prototype.formulaUnlimitedScroll=function(e,t,i){var r=this;var n=this,a=n.height,o=n.updateHeight,s=n.columnId;var u=i==="up"?1:-1;this.touchEnd=false;o(-e*u*y+a,s);requestAnimationFrame((function(){r.touchEnd=true;var i=Math.round(t/-y)+e*u;var n=b-y*i;o(n,s,true)}))};e.prototype.handleMoveStart=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.startY=e;this.preY=e;this.hadMove=false;return[2]}))}))};e.prototype.handleMoving=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r;return __generator(this,(function(n){t=e;i=t-this.preY;this.preY=t;this.touchEnd=false;if(Math.abs(t-this.startY)>10)this.hadMove=true;r=this.height+i;if(this.mode==="time"){if(this.columnId==="0"){if(r>b-y*3){r=b-y*27+i}if(r<b-y*28){r=b-y*4+i}}else if(this.columnId==="1"){if(r>b-y*3){r=b-y*63+i}if(r<b-y*64){r=b-y*4+i}}}this.updateHeight(r,this.columnId);return[2]}))}))};e.prototype.handleMoveEnd=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,r,n,a,o,s,u,l,d,h,c,f,p;return __generator(this,(function(g){t=this,i=t.mode,r=t.range,n=t.height,a=t.updateHeight,o=t.columnId;s=0;u=-y*(r.length-1);l=e;this.touchEnd=true;if(!this.hadMove){h=window.innerHeight;c=h-_/2;d=n-b-(l-c);if(i==="time"){if(o==="0"){if(d>-y*2.5){return[2,this.formulaUnlimitedScroll(24,d,"up")]}if(d<-y*28.5){return[2,this.formulaUnlimitedScroll(24,d,"down")]}}else if(o==="1"){if(d>-y*2.5){return[2,this.formulaUnlimitedScroll(60,d,"up")]}if(d<-y*64.5){return[2,this.formulaUnlimitedScroll(60,d,"down")]}}}}else{d=n-b}if(d>s)d=0;if(d<u)d=u;f=Math.round(d/-y);p=b-y*f;if(this.mode==="date"&&typeof this.updateDay==="function"){if(this.columnId==="0"){this.updateDay(+this.range[f].replace(/[^0-9]/gi,""),0)}if(this.columnId==="1"){this.updateDay(+this.range[f].replace(/[^0-9]/gi,""),1)}if(this.columnId==="2"){this.updateDay(+this.range[f].replace(/[^0-9]/gi,""),2)}}a(p,o,i==="time");this.onColumnChange.emit({columnId:o,height:p});return[2]}))}))};e.prototype.onMouseDown=function(e){this.isMove=true;this.handleMoveStart(e.clientY)};e.prototype.onMouseMove=function(e){if(!this.isMove)return;this.handleMoving(e.clientY)};e.prototype.onMouseMoveEnd=function(e){if(!this.isMove)return;this.isMove=false;this.handleMoveEnd(e.clientY)};e.prototype.onTouchStart=function(e){this.handleMoveStart(e.changedTouches[0].clientY)};e.prototype.onTouchMove=function(e){this.handleMoving(e.changedTouches[0].clientY)};e.prototype.onTouchEnd=function(e){this.handleMoveEnd(e.changedTouches[0].clientY)};e.prototype.render=function(){var e=this,t=e.range,i=e.rangeKey;var a=t.map((function(e){var t=i?e[i]:e;return r("div",{class:"weui-picker__item"},t)}));return r(n,{class:"weui-picker__group"},r("div",{class:"weui-picker__mask"}),r("div",{class:"weui-picker__indicator"}),r("div",{class:"weui-picker__content",style:this.getPosition()},a))};return e}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,h as o,H as t}from"./p-
|
|
1
|
+
import{r,h as o,H as t}from"./p-d0cabaaa.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const a=class{constructor(o){r(this,o)}componentDidLoad(){s("ListBuilder",this)}render(){return o(t,null)}};export{a as taro_list_builder_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as r,H as e}from"./p-
|
|
1
|
+
import{r as s,h as r,H as e}from"./p-d0cabaaa.js";const i=class{constructor(r){s(this,r),this.percent=0,this.showInfo=!1,this.borderRadius=0,this.fontSize=16,this.strokeWidth=6,this.activeColor="#09BB07",this.backgroundColor="#EBEBEB",this.active=!1}render(){const{percent:s,showInfo:i,borderRadius:o,fontSize:t,strokeWidth:a,activeColor:n,backgroundColor:l,active:p}=this,c=s>100?100:s<0?0:s,d=p?"width 1s ease-in-out":"none";return r(e,{class:"weui-progress"},r("div",{class:"weui-progress__bar",style:{height:a+"px",backgroundColor:l}},r("div",{class:"weui-progress__inner-bar",style:{width:`${c}%`,transition:d,WebkitTransition:d,backgroundColor:n,borderRadius:o?`${o}px`:"0px"}})),i&&r("div",{class:"weui-progress__opr",style:{"font-size":`${t}px`}},r("span",null,c,"%")))}};i.style=".weui-progress{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.weui-progress__bar{background-color:#ebebeb;-ms-flex:1;flex:1;height:3px}.weui-progress__inner-bar{background-color:#09bb07;width:0;height:100%}.weui-progress__opr{margin-left:15px;font-size:0;display:block}";export{i as taro_progress_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as o,H as r}from"./p-d0cabaaa.js";import{n as a}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(o){t(this,o)}componentDidLoad(){a("ContactButton",this)}render(){return o(r,null)}};export{s as taro_contact_button_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as o,H as t}from"./p-d0cabaaa.js";import{n as a}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(o){r(this,o)}componentDidLoad(){a("Editor",this)}render(){return o(t,null)}};export{s as taro_editor_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var n,e,o,r;return{setters:[function(t){n=t.r;e=t.h;o=t.H},function(t){r=t.n},function(){}],execute:function(){var c=t("taro_comment_detail_core",function(){function t(t){n(this,t)}t.prototype.componentDidLoad=function(){r("CommentDetail",this)};t.prototype.render=function(){return e(o,null)};return t}())}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-88de70df.system.js"],(function(t){"use strict";var e,n,i;return{setters:[function(t){e=t.r;n=t.c;i=t.h}],execute:function(){var o="audio{outline:none;max-width:100%}";var r=t("taro_audio_core",function(){function t(t){e(this,t);this.onError=n(this,"error",7);this.onPlay=n(this,"play",7);this.onPause=n(this,"pause",7);this.onTimeUpdate=n(this,"timeupdate",7);this.onEnded=n(this,"ended",7);this.src=undefined;this.controls=true;this.autoplay=false;this.loop=false;this.muted=false;this.nativeProps={}}t.prototype.bindevent=function(){var t=this;this.audio.addEventListener("timeupdate",(function(e){t.onTimeUpdate.emit({duration:e.srcElement.duration,currentTime:e.srcElement.duration})}));this.audio.addEventListener("ended",(function(){t.onEnded.emit()}));this.audio.addEventListener("play",(function(){t.onPlay.emit()}));this.audio.addEventListener("pause",(function(e){t.onPause.emit(e)}));this.audio.addEventListener("error",(function(e){var n;t.onError.emit({errMsg:(n=e.srcElement.error)===null||n===void 0?void 0:n.code})}))};t.prototype.componentDidLoad=function(){this.bindevent()};t.prototype.render=function(){var t=this;var e=this,n=e.src,o=e.controls,r=e.autoplay,s=e.loop,a=e.muted,d=e.nativeProps;return i("audio",Object.assign({src:n,controls:o,autoplay:r,loop:s,muted:a,ref:function(e){t.audio=e}},d))};return t}());r.style=o}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./p-
|
|
1
|
+
System.register(["./p-88de70df.system.js","./p-8c3b906c.system.js","@tarojs/taro"],(function(t){"use strict";var e,n,r,o;return{setters:[function(t){e=t.r;n=t.h;r=t.H},function(t){o=t.n},function(){}],execute:function(){var s=t("taro_nested_scroll_header_core",function(){function t(t){e(this,t)}t.prototype.componentDidLoad=function(){o("NestedScrollHeader",this)};t.prototype.render=function(){return n(r,null)};return t}())}}}));
|