@tarojs/components 3.6.0-canary.10 → 3.6.0-canary.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +3 -5
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js.map +1 -1
- package/dist/collection/components/swiper/swiper.js +3 -5
- package/dist/collection/components/swiper/swiper.js.map +1 -1
- package/dist/components/helper.js +15 -0
- package/dist/components/helper.js.map +1 -0
- package/dist/components/hls.js +27622 -0
- package/dist/components/hls.js.map +1 -0
- package/dist/components/index.d.ts +97 -0
- package/dist/components/index.js +79 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/index2.js +78 -0
- package/dist/components/index2.js.map +1 -0
- package/dist/components/index3.js +33 -0
- package/dist/components/index3.js.map +1 -0
- package/dist/components/intersection-observer.js +728 -0
- package/dist/components/intersection-observer.js.map +1 -0
- package/dist/components/picker-group.js +220 -0
- package/dist/components/picker-group.js.map +1 -0
- package/dist/components/taro-ad-core.d.ts +11 -0
- package/dist/components/taro-ad-core.js +35 -0
- package/dist/components/taro-ad-core.js.map +1 -0
- package/dist/components/taro-ad-custom-core.d.ts +11 -0
- package/dist/components/taro-ad-custom-core.js +35 -0
- package/dist/components/taro-ad-custom-core.js.map +1 -0
- package/dist/components/taro-animation-video-core.d.ts +11 -0
- package/dist/components/taro-animation-video-core.js +35 -0
- package/dist/components/taro-animation-video-core.js.map +1 -0
- package/dist/components/taro-animation-view-core.d.ts +11 -0
- package/dist/components/taro-animation-view-core.js +35 -0
- package/dist/components/taro-animation-view-core.js.map +1 -0
- package/dist/components/taro-ar-camera-core.d.ts +11 -0
- package/dist/components/taro-ar-camera-core.js +35 -0
- package/dist/components/taro-ar-camera-core.js.map +1 -0
- package/dist/components/taro-audio-core.d.ts +11 -0
- package/dist/components/taro-audio-core.js +80 -0
- package/dist/components/taro-audio-core.js.map +1 -0
- package/dist/components/taro-aweme-data-core.d.ts +11 -0
- package/dist/components/taro-aweme-data-core.js +35 -0
- package/dist/components/taro-aweme-data-core.js.map +1 -0
- package/dist/components/taro-block-core.d.ts +11 -0
- package/dist/components/taro-block-core.js +31 -0
- package/dist/components/taro-block-core.js.map +1 -0
- package/dist/components/taro-button-core.d.ts +11 -0
- package/dist/components/taro-button-core.js +102 -0
- package/dist/components/taro-button-core.js.map +1 -0
- package/dist/components/taro-camera-core.d.ts +11 -0
- package/dist/components/taro-camera-core.js +35 -0
- package/dist/components/taro-camera-core.js.map +1 -0
- package/dist/components/taro-canvas-core.d.ts +11 -0
- package/dist/components/taro-canvas-core.js +57 -0
- package/dist/components/taro-canvas-core.js.map +1 -0
- package/dist/components/taro-checkbox-core.d.ts +11 -0
- package/dist/components/taro-checkbox-core.js +81 -0
- package/dist/components/taro-checkbox-core.js.map +1 -0
- package/dist/components/taro-checkbox-group-core.d.ts +11 -0
- package/dist/components/taro-checkbox-group-core.js +71 -0
- package/dist/components/taro-checkbox-group-core.js.map +1 -0
- package/dist/components/taro-comment-detail-core.d.ts +11 -0
- package/dist/components/taro-comment-detail-core.js +35 -0
- package/dist/components/taro-comment-detail-core.js.map +1 -0
- package/dist/components/taro-comment-list-core.d.ts +11 -0
- package/dist/components/taro-comment-list-core.js +35 -0
- package/dist/components/taro-comment-list-core.js.map +1 -0
- package/dist/components/taro-contact-button-core.d.ts +11 -0
- package/dist/components/taro-contact-button-core.js +35 -0
- package/dist/components/taro-contact-button-core.js.map +1 -0
- package/dist/components/taro-cover-image-core.d.ts +11 -0
- package/dist/components/taro-cover-image-core.js +52 -0
- package/dist/components/taro-cover-image-core.js.map +1 -0
- package/dist/components/taro-cover-view-core.d.ts +11 -0
- package/dist/components/taro-cover-view-core.js +89 -0
- package/dist/components/taro-cover-view-core.js.map +1 -0
- package/dist/components/taro-custom-wrapper-core.d.ts +11 -0
- package/dist/components/taro-custom-wrapper-core.js +31 -0
- package/dist/components/taro-custom-wrapper-core.js.map +1 -0
- package/dist/components/taro-editor-core.d.ts +11 -0
- package/dist/components/taro-editor-core.js +35 -0
- package/dist/components/taro-editor-core.js.map +1 -0
- package/dist/components/taro-follow-swan-core.d.ts +11 -0
- package/dist/components/taro-follow-swan-core.js +35 -0
- package/dist/components/taro-follow-swan-core.js.map +1 -0
- package/dist/components/taro-form-core.d.ts +11 -0
- package/dist/components/taro-form-core.js +140 -0
- package/dist/components/taro-form-core.js.map +1 -0
- package/dist/components/taro-functional-page-navigator-core.d.ts +11 -0
- package/dist/components/taro-functional-page-navigator-core.js +35 -0
- package/dist/components/taro-functional-page-navigator-core.js.map +1 -0
- package/dist/components/taro-icon-core.d.ts +11 -0
- package/dist/components/taro-icon-core.js +48 -0
- package/dist/components/taro-icon-core.js.map +1 -0
- package/dist/components/taro-image-core.d.ts +11 -0
- package/dist/components/taro-image-core.js +81 -0
- package/dist/components/taro-image-core.js.map +1 -0
- package/dist/components/taro-inline-payment-panel-core.d.ts +11 -0
- package/dist/components/taro-inline-payment-panel-core.js +35 -0
- package/dist/components/taro-inline-payment-panel-core.js.map +1 -0
- package/dist/components/taro-input-core.d.ts +11 -0
- package/dist/components/taro-input-core.js +246 -0
- package/dist/components/taro-input-core.js.map +1 -0
- package/dist/components/taro-keyboard-accessory-core.d.ts +11 -0
- package/dist/components/taro-keyboard-accessory-core.js +35 -0
- package/dist/components/taro-keyboard-accessory-core.js.map +1 -0
- package/dist/components/taro-label-core.d.ts +11 -0
- package/dist/components/taro-label-core.js +34 -0
- package/dist/components/taro-label-core.js.map +1 -0
- package/dist/components/taro-lifestyle-core.d.ts +11 -0
- package/dist/components/taro-lifestyle-core.js +35 -0
- package/dist/components/taro-lifestyle-core.js.map +1 -0
- package/dist/components/taro-like-core.d.ts +11 -0
- package/dist/components/taro-like-core.js +35 -0
- package/dist/components/taro-like-core.js.map +1 -0
- package/dist/components/taro-live-player-core.d.ts +11 -0
- package/dist/components/taro-live-player-core.js +35 -0
- package/dist/components/taro-live-player-core.js.map +1 -0
- package/dist/components/taro-live-pusher-core.d.ts +11 -0
- package/dist/components/taro-live-pusher-core.js +35 -0
- package/dist/components/taro-live-pusher-core.js.map +1 -0
- package/dist/components/taro-login-core.d.ts +11 -0
- package/dist/components/taro-login-core.js +35 -0
- package/dist/components/taro-login-core.js.map +1 -0
- package/dist/components/taro-lottie-core.d.ts +11 -0
- package/dist/components/taro-lottie-core.js +35 -0
- package/dist/components/taro-lottie-core.js.map +1 -0
- package/dist/components/taro-map-core.d.ts +11 -0
- package/dist/components/taro-map-core.js +35 -0
- package/dist/components/taro-map-core.js.map +1 -0
- package/dist/components/taro-match-media-core.d.ts +11 -0
- package/dist/components/taro-match-media-core.js +35 -0
- package/dist/components/taro-match-media-core.js.map +1 -0
- package/dist/components/taro-movable-area-core.d.ts +11 -0
- package/dist/components/taro-movable-area-core.js +175 -0
- package/dist/components/taro-movable-area-core.js.map +1 -0
- package/dist/components/taro-movable-view-core.d.ts +11 -0
- package/dist/components/taro-movable-view-core.js +361 -0
- package/dist/components/taro-movable-view-core.js.map +1 -0
- package/dist/components/taro-native-slot-core.d.ts +11 -0
- package/dist/components/taro-native-slot-core.js +35 -0
- package/dist/components/taro-native-slot-core.js.map +1 -0
- package/dist/components/taro-navigation-bar-core.d.ts +11 -0
- package/dist/components/taro-navigation-bar-core.js +35 -0
- package/dist/components/taro-navigation-bar-core.js.map +1 -0
- package/dist/components/taro-navigator-core.d.ts +11 -0
- package/dist/components/taro-navigator-core.js +96 -0
- package/dist/components/taro-navigator-core.js.map +1 -0
- package/dist/components/taro-official-account-core.d.ts +11 -0
- package/dist/components/taro-official-account-core.js +35 -0
- package/dist/components/taro-official-account-core.js.map +1 -0
- package/dist/components/taro-open-data-core.d.ts +11 -0
- package/dist/components/taro-open-data-core.js +35 -0
- package/dist/components/taro-open-data-core.js.map +1 -0
- package/dist/components/taro-page-container-core.d.ts +11 -0
- package/dist/components/taro-page-container-core.js +35 -0
- package/dist/components/taro-page-container-core.js.map +1 -0
- package/dist/components/taro-page-meta-core.d.ts +11 -0
- package/dist/components/taro-page-meta-core.js +35 -0
- package/dist/components/taro-page-meta-core.js.map +1 -0
- package/dist/components/taro-picker-core.d.ts +11 -0
- package/dist/components/taro-picker-core.js +538 -0
- package/dist/components/taro-picker-core.js.map +1 -0
- package/dist/components/taro-picker-group.d.ts +11 -0
- package/dist/components/taro-picker-group.js +8 -0
- package/dist/components/taro-picker-group.js.map +1 -0
- package/dist/components/taro-picker-view-column-core.d.ts +11 -0
- package/dist/components/taro-picker-view-column-core.js +115 -0
- package/dist/components/taro-picker-view-column-core.js.map +1 -0
- package/dist/components/taro-picker-view-core.d.ts +11 -0
- package/dist/components/taro-picker-view-core.js +114 -0
- package/dist/components/taro-picker-view-core.js.map +1 -0
- package/dist/components/taro-progress-core.d.ts +11 -0
- package/dist/components/taro-progress-core.js +62 -0
- package/dist/components/taro-progress-core.js.map +1 -0
- package/dist/components/taro-pull-to-refresh.d.ts +11 -0
- package/dist/components/taro-pull-to-refresh.js +284 -0
- package/dist/components/taro-pull-to-refresh.js.map +1 -0
- package/dist/components/taro-radio-core.d.ts +11 -0
- package/dist/components/taro-radio-core.js +83 -0
- package/dist/components/taro-radio-core.js.map +1 -0
- package/dist/components/taro-radio-group-core.d.ts +11 -0
- package/dist/components/taro-radio-group-core.js +82 -0
- package/dist/components/taro-radio-group-core.js.map +1 -0
- package/dist/components/taro-rich-text-core.d.ts +11 -0
- package/dist/components/taro-rich-text-core.js +86 -0
- package/dist/components/taro-rich-text-core.js.map +1 -0
- package/dist/components/taro-root-portal-core.d.ts +11 -0
- package/dist/components/taro-root-portal-core.js +35 -0
- package/dist/components/taro-root-portal-core.js.map +1 -0
- package/dist/components/taro-rtc-room-core.d.ts +11 -0
- package/dist/components/taro-rtc-room-core.js +35 -0
- package/dist/components/taro-rtc-room-core.js.map +1 -0
- package/dist/components/taro-rtc-room-item-core.d.ts +11 -0
- package/dist/components/taro-rtc-room-item-core.js +35 -0
- package/dist/components/taro-rtc-room-item-core.js.map +1 -0
- package/dist/components/taro-scroll-view-core.d.ts +11 -0
- package/dist/components/taro-scroll-view-core.js +184 -0
- package/dist/components/taro-scroll-view-core.js.map +1 -0
- package/dist/components/taro-share-element-core.d.ts +11 -0
- package/dist/components/taro-share-element-core.js +35 -0
- package/dist/components/taro-share-element-core.js.map +1 -0
- package/dist/components/taro-slider-core.d.ts +11 -0
- package/dist/components/taro-slider-core.js +196 -0
- package/dist/components/taro-slider-core.js.map +1 -0
- package/dist/components/taro-slot-core.d.ts +11 -0
- package/dist/components/taro-slot-core.js +35 -0
- package/dist/components/taro-slot-core.js.map +1 -0
- package/dist/components/taro-swiper-core.d.ts +11 -0
- package/dist/components/taro-swiper-core.js +10165 -0
- package/dist/components/taro-swiper-core.js.map +1 -0
- package/dist/components/taro-swiper-item-core.d.ts +11 -0
- package/dist/components/taro-swiper-item-core.js +34 -0
- package/dist/components/taro-swiper-item-core.js.map +1 -0
- package/dist/components/taro-switch-core.d.ts +11 -0
- package/dist/components/taro-switch-core.js +87 -0
- package/dist/components/taro-switch-core.js.map +1 -0
- package/dist/components/taro-tab-item-core.d.ts +11 -0
- package/dist/components/taro-tab-item-core.js +35 -0
- package/dist/components/taro-tab-item-core.js.map +1 -0
- package/dist/components/taro-tabbar.d.ts +11 -0
- package/dist/components/taro-tabbar.js +457 -0
- package/dist/components/taro-tabbar.js.map +1 -0
- package/dist/components/taro-tabs-core.d.ts +11 -0
- package/dist/components/taro-tabs-core.js +35 -0
- package/dist/components/taro-tabs-core.js.map +1 -0
- package/dist/components/taro-text-core.d.ts +11 -0
- package/dist/components/taro-text-core.js +41 -0
- package/dist/components/taro-text-core.js.map +1 -0
- package/dist/components/taro-textarea-core.d.ts +11 -0
- package/dist/components/taro-textarea-core.js +164 -0
- package/dist/components/taro-textarea-core.js.map +1 -0
- package/dist/components/taro-video-control.d.ts +11 -0
- package/dist/components/taro-video-control.js +8 -0
- package/dist/components/taro-video-control.js.map +1 -0
- package/dist/components/taro-video-core.d.ts +11 -0
- package/dist/components/taro-video-core.js +485 -0
- package/dist/components/taro-video-core.js.map +1 -0
- package/dist/components/taro-video-danmu.d.ts +11 -0
- package/dist/components/taro-video-danmu.js +8 -0
- package/dist/components/taro-video-danmu.js.map +1 -0
- package/dist/components/taro-view-core.d.ts +11 -0
- package/dist/components/taro-view-core.js +101 -0
- package/dist/components/taro-view-core.js.map +1 -0
- package/dist/components/taro-voip-room-core.d.ts +11 -0
- package/dist/components/taro-voip-room-core.js +35 -0
- package/dist/components/taro-voip-room-core.js.map +1 -0
- package/dist/components/taro-web-view-core.d.ts +11 -0
- package/dist/components/taro-web-view-core.js +46 -0
- package/dist/components/taro-web-view-core.js.map +1 -0
- package/dist/components/video-control.js +233 -0
- package/dist/components/video-control.js.map +1 -0
- package/dist/components/video-danmu.js +110 -0
- package/dist/components/video-danmu.js.map +1 -0
- package/dist/esm/taro-swiper-core_2.entry.js +3 -5
- package/dist/esm/taro-swiper-core_2.entry.js.map +1 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js.map +1 -1
- package/dist/taro-components/{p-d388c097.entry.js → p-22315b9d.entry.js} +2 -2
- package/dist/taro-components/p-22315b9d.entry.js.map +1 -0
- package/dist/taro-components/{p-6831f7b1.system.entry.js → p-c3c37cbb.system.entry.js} +2 -2
- package/dist/taro-components/p-c3c37cbb.system.entry.js.map +1 -0
- package/dist/taro-components/p-cb17d8bd.system.js +1 -1
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/lib/react/components.d.ts +82 -0
- package/lib/react/components.js +85 -0
- package/lib/react/components.js.map +1 -0
- package/lib/react/helper.d.ts +10 -0
- package/lib/react/helper.js +7 -0
- package/lib/react/helper.js.map +1 -0
- package/lib/react/index.d.ts +1 -0
- package/lib/react/index.js +2 -0
- package/lib/react/index.js.map +1 -0
- package/lib/react/interfaces-4f837811.d.ts +30 -0
- package/lib/react/react-component-lib/createComponent.d.ts +10 -0
- package/lib/react/react-component-lib/createComponent.js +70 -0
- package/lib/react/react-component-lib/createComponent.js.map +1 -0
- package/lib/react/react-component-lib/createOverlayComponent.d.ts +21 -0
- package/lib/react/react-component-lib/createOverlayComponent.js +91 -0
- package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -0
- package/lib/react/react-component-lib/index.d.ts +2 -0
- package/lib/react/react-component-lib/index.js +3 -0
- package/lib/react/react-component-lib/index.js.map +1 -0
- package/lib/react/react-component-lib/utils/attachProps.d.ts +13 -0
- package/lib/react/react-component-lib/utils/attachProps.js +101 -0
- package/lib/react/react-component-lib/utils/attachProps.js.map +1 -0
- package/lib/react/react-component-lib/utils/case.d.ts +3 -0
- package/lib/react/react-component-lib/utils/case.js +9 -0
- package/lib/react/react-component-lib/utils/case.js.map +1 -0
- package/lib/react/react-component-lib/utils/index.d.ts +11 -0
- package/lib/react/react-component-lib/utils/index.js +37 -0
- package/lib/react/react-component-lib/utils/index.js.map +1 -0
- package/lib/vue2/components.d.ts +352 -0
- package/lib/vue2/components.js +620 -0
- package/lib/vue2/components.js.map +1 -0
- package/lib/vue2/index.d.ts +3 -0
- package/lib/vue2/index.js +21 -0
- package/lib/vue2/index.js.map +1 -0
- package/lib/vue2/vue-component-lib/utils.d.ts +6 -0
- package/lib/vue2/vue-component-lib/utils.js +32 -0
- package/lib/vue2/vue-component-lib/utils.js.map +1 -0
- package/lib/vue3/components.d.ts +82 -0
- package/lib/vue3/components.js +386 -0
- package/lib/vue3/components.js.map +1 -0
- package/lib/vue3/index.d.ts +3 -0
- package/lib/vue3/index.js +15 -0
- package/lib/vue3/index.js.map +1 -0
- package/lib/vue3/vue-component-lib/utils.d.ts +21 -0
- package/lib/vue3/vue-component-lib/utils.js +163 -0
- package/lib/vue3/vue-component-lib/utils.js.map +1 -0
- package/package.json +9 -7
- package/types/index.vue3.d.ts +4 -4
- package/dist/react/component-lib/index.js +0 -74
- package/dist/react/component-lib/input.js +0 -17
- package/dist/react/component-lib/reactify-wc.js +0 -206
- package/dist/react/components.js +0 -82
- package/dist/react/helper.js +0 -8
- package/dist/react/index.js +0 -1
- package/dist/react/react-component-lib/createComponent.js +0 -99
- package/dist/react/react-component-lib/createOverlayComponent.js +0 -178
- package/dist/react/react-component-lib/index.js +0 -2
- package/dist/react/react-component-lib/interfaces.js +0 -0
- package/dist/react/react-component-lib/utils/attachProps.js +0 -98
- package/dist/react/react-component-lib/utils/case.js +0 -10
- package/dist/react/react-component-lib/utils/dev.js +0 -12
- package/dist/react/react-component-lib/utils/index.js +0 -37
- package/dist/taro-components/p-6831f7b1.system.entry.js.map +0 -1
- package/dist/taro-components/p-d388c097.entry.js.map +0 -1
- package/dist/vue2/component-lib/components.js +0 -71
- package/dist/vue2/component-lib/createComponent.js +0 -21
- package/dist/vue2/component-lib/createFormsComponent.js +0 -53
- package/dist/vue2/component-lib/icon.js +0 -19
- package/dist/vue2/component-lib/image.js +0 -20
- package/dist/vue2/component-lib/index.js +0 -28
- package/dist/vue2/component-lib/mixins/listeners.js +0 -14
- package/dist/vue2/component-lib/mixins/refs.js +0 -44
- package/dist/vue2/component-lib/picker.js +0 -40
- package/dist/vue2/component-lib/scroll-view.js +0 -32
- package/dist/vue2/component-lib/text.js +0 -20
- package/dist/vue2/components.js +0 -542
- package/dist/vue2/index.js +0 -22
- package/dist/vue2/vue-component-lib/utils.js +0 -40
- package/dist/vue3/component-lib/createComponent.js +0 -23
- package/dist/vue3/component-lib/createFormsComponent.js +0 -43
- package/dist/vue3/component-lib/forwardRef.js +0 -9
- package/dist/vue3/component-lib/icon.js +0 -21
- package/dist/vue3/component-lib/image.js +0 -22
- package/dist/vue3/component-lib/index.js +0 -76
- package/dist/vue3/component-lib/scroll-view.js +0 -28
- package/dist/vue3/component-lib/text.js +0 -22
- package/dist/vue3/components.js +0 -80
- package/dist/vue3/index.js +0 -17
- package/dist/vue3/vue-component-lib/utils.js +0 -175
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"intersection-observer.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,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AC;AAC/B,GAAG;AACH,EAAE,OAAO,KAAK,CAAC;AACf,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,aAAa,CAAC,IAAI,EAAE;AAC7B,EAAE,IAAI,MAAM,GAAG,IAAI,CAAC,UAAU,CAAC;AAC/B;AACA,EAAE,IAAI,MAAM,IAAI,MAAM,CAAC,QAAQ,IAAI,EAAE,IAAI,MAAM,CAAC,IAAI,EAAE;AACtD;AACA,IAAI,OAAO,MAAM,CAAC,IAAI,CAAC;AACvB,GAAG;AACH;AACA,EAAE,IAAI,MAAM,IAAI,MAAM,CAAC,YAAY,EAAE;AACrC;AACA,IAAI,OAAO,MAAM,CAAC,YAAY,CAAC,UAAU,CAAC;AAC1C,GAAG;AACH;AACA,EAAE,OAAO,MAAM,CAAC;AAChB,CAAC;AACD;AACA;AACA;AACA,MAAM,CAAC,oBAAoB,GAAG,oBAAoB,CAAC;AACnD,MAAM,CAAC,yBAAyB,GAAG,yBAAyB,CAAC;AAC7D;AACA,CAAC,EAAE","names":[],"sources":["../../node_modules/.pnpm/registry.npmjs.org+intersection-observer@0.7.0/node_modules/intersection-observer/intersection-observer.js"],"sourcesContent":["/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE.\n *\n * https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document\n *\n */\n(function() {\n'use strict';\n\n// Exit early if we're not running in a browser.\nif (typeof window !== 'object') {\n return;\n}\n\n// Exit early if all IntersectionObserver and IntersectionObserverEntry\n// features are natively supported.\nif ('IntersectionObserver' in window &&\n 'IntersectionObserverEntry' in window &&\n 'intersectionRatio' in window.IntersectionObserverEntry.prototype) {\n\n // Minimal polyfill for Edge 15's lack of `isIntersecting`\n // See: https://github.com/w3c/IntersectionObserver/issues/211\n if (!('isIntersecting' in window.IntersectionObserverEntry.prototype)) {\n Object.defineProperty(window.IntersectionObserverEntry.prototype,\n 'isIntersecting', {\n get: function () {\n return this.intersectionRatio > 0;\n }\n });\n }\n return;\n}\n\n\n/**\n * A local reference to the document.\n */\nvar document = window.document;\n\n\n/**\n * An IntersectionObserver registry. This registry exists to hold a strong\n * reference to IntersectionObserver instances currently observing a target\n * element. Without this registry, instances without another reference may be\n * garbage collected.\n */\nvar registry = [];\n\n\n/**\n * Creates the global IntersectionObserverEntry constructor.\n * https://w3c.github.io/IntersectionObserver/#intersection-observer-entry\n * @param {Object} entry A dictionary of instance properties.\n * @constructor\n */\nfunction IntersectionObserverEntry(entry) {\n this.time = entry.time;\n this.target = entry.target;\n this.rootBounds = entry.rootBounds;\n this.boundingClientRect = entry.boundingClientRect;\n this.intersectionRect = entry.intersectionRect || getEmptyRect();\n this.isIntersecting = !!entry.intersectionRect;\n\n // Calculates the intersection ratio.\n var targetRect = this.boundingClientRect;\n var targetArea = targetRect.width * targetRect.height;\n var intersectionRect = this.intersectionRect;\n var intersectionArea = intersectionRect.width * intersectionRect.height;\n\n // Sets intersection ratio.\n if (targetArea) {\n // Round the intersection ratio to avoid floating point math issues:\n // https://github.com/w3c/IntersectionObserver/issues/324\n this.intersectionRatio = Number((intersectionArea / targetArea).toFixed(4));\n } else {\n // If area is zero and is intersecting, sets to 1, otherwise to 0\n this.intersectionRatio = this.isIntersecting ? 1 : 0;\n }\n}\n\n\n/**\n * Creates the global IntersectionObserver constructor.\n * https://w3c.github.io/IntersectionObserver/#intersection-observer-interface\n * @param {Function} callback The function to be invoked after intersection\n * changes have queued. The function is not invoked if the queue has\n * been emptied by calling the `takeRecords` method.\n * @param {Object=} opt_options Optional configuration options.\n * @constructor\n */\nfunction IntersectionObserver(callback, opt_options) {\n\n var options = opt_options || {};\n\n if (typeof callback != 'function') {\n throw new Error('callback must be a function');\n }\n\n if (options.root && options.root.nodeType != 1) {\n throw new Error('root must be an Element');\n }\n\n // Binds and throttles `this._checkForIntersections`.\n this._checkForIntersections = throttle(\n this._checkForIntersections.bind(this), this.THROTTLE_TIMEOUT);\n\n // Private properties.\n this._callback = callback;\n this._observationTargets = [];\n this._queuedEntries = [];\n this._rootMarginValues = this._parseRootMargin(options.rootMargin);\n\n // Public properties.\n this.thresholds = this._initThresholds(options.threshold);\n this.root = options.root || null;\n this.rootMargin = this._rootMarginValues.map(function(margin) {\n return margin.value + margin.unit;\n }).join(' ');\n}\n\n\n/**\n * The minimum interval within which the document will be checked for\n * intersection changes.\n */\nIntersectionObserver.prototype.THROTTLE_TIMEOUT = 100;\n\n\n/**\n * The frequency in which the polyfill polls for intersection changes.\n * this can be updated on a per instance basis and must be set prior to\n * calling `observe` on the first target.\n */\nIntersectionObserver.prototype.POLL_INTERVAL = null;\n\n/**\n * Use a mutation observer on the root element\n * to detect intersection changes.\n */\nIntersectionObserver.prototype.USE_MUTATION_OBSERVER = true;\n\n\n/**\n * Starts observing a target element for intersection changes based on\n * the thresholds values.\n * @param {Element} target The DOM element to observe.\n */\nIntersectionObserver.prototype.observe = function(target) {\n var isTargetAlreadyObserved = this._observationTargets.some(function(item) {\n return item.element == target;\n });\n\n if (isTargetAlreadyObserved) {\n return;\n }\n\n if (!(target && target.nodeType == 1)) {\n throw new Error('target must be an Element');\n }\n\n this._registerInstance();\n this._observationTargets.push({element: target, entry: null});\n this._monitorIntersections();\n this._checkForIntersections();\n};\n\n\n/**\n * Stops observing a target element for intersection changes.\n * @param {Element} target The DOM element to observe.\n */\nIntersectionObserver.prototype.unobserve = function(target) {\n this._observationTargets =\n this._observationTargets.filter(function(item) {\n\n return item.element != target;\n });\n if (!this._observationTargets.length) {\n this._unmonitorIntersections();\n this._unregisterInstance();\n }\n};\n\n\n/**\n * Stops observing all target elements for intersection changes.\n */\nIntersectionObserver.prototype.disconnect = function() {\n this._observationTargets = [];\n this._unmonitorIntersections();\n this._unregisterInstance();\n};\n\n\n/**\n * Returns any queue entries that have not yet been reported to the\n * callback and clears the queue. This can be used in conjunction with the\n * callback to obtain the absolute most up-to-date intersection information.\n * @return {Array} The currently queued entries.\n */\nIntersectionObserver.prototype.takeRecords = function() {\n var records = this._queuedEntries.slice();\n this._queuedEntries = [];\n return records;\n};\n\n\n/**\n * Accepts the threshold value from the user configuration object and\n * returns a sorted array of unique threshold values. If a value is not\n * between 0 and 1 and error is thrown.\n * @private\n * @param {Array|number=} opt_threshold An optional threshold value or\n * a list of threshold values, defaulting to [0].\n * @return {Array} A sorted list of unique and valid threshold values.\n */\nIntersectionObserver.prototype._initThresholds = function(opt_threshold) {\n var threshold = opt_threshold || [0];\n if (!Array.isArray(threshold)) threshold = [threshold];\n\n return threshold.sort().filter(function(t, i, a) {\n if (typeof t != 'number' || isNaN(t) || t < 0 || t > 1) {\n throw new Error('threshold must be a number between 0 and 1 inclusively');\n }\n return t !== a[i - 1];\n });\n};\n\n\n/**\n * Accepts the rootMargin value from the user configuration object\n * and returns an array of the four margin values as an object containing\n * the value and unit properties. If any of the values are not properly\n * formatted or use a unit other than px or %, and error is thrown.\n * @private\n * @param {string=} opt_rootMargin An optional rootMargin value,\n * defaulting to '0px'.\n * @return {Array<Object>} An array of margin objects with the keys\n * value and unit.\n */\nIntersectionObserver.prototype._parseRootMargin = function(opt_rootMargin) {\n var marginString = opt_rootMargin || '0px';\n var margins = marginString.split(/\\s+/).map(function(margin) {\n var parts = /^(-?\\d*\\.?\\d+)(px|%)$/.exec(margin);\n if (!parts) {\n throw new Error('rootMargin must be specified in pixels or percent');\n }\n return {value: parseFloat(parts[1]), unit: parts[2]};\n });\n\n // Handles shorthand.\n margins[1] = margins[1] || margins[0];\n margins[2] = margins[2] || margins[0];\n margins[3] = margins[3] || margins[1];\n\n return margins;\n};\n\n\n/**\n * Starts polling for intersection changes if the polling is not already\n * happening, and if the page's visibility state is visible.\n * @private\n */\nIntersectionObserver.prototype._monitorIntersections = function() {\n if (!this._monitoringIntersections) {\n this._monitoringIntersections = true;\n\n // If a poll interval is set, use polling instead of listening to\n // resize and scroll events or DOM mutations.\n if (this.POLL_INTERVAL) {\n this._monitoringInterval = setInterval(\n this._checkForIntersections, this.POLL_INTERVAL);\n }\n else {\n addEvent(window, 'resize', this._checkForIntersections, true);\n addEvent(document, 'scroll', this._checkForIntersections, true);\n\n if (this.USE_MUTATION_OBSERVER && 'MutationObserver' in window) {\n this._domObserver = new MutationObserver(this._checkForIntersections);\n this._domObserver.observe(document, {\n attributes: true,\n childList: true,\n characterData: true,\n subtree: true\n });\n }\n }\n }\n};\n\n\n/**\n * Stops polling for intersection changes.\n * @private\n */\nIntersectionObserver.prototype._unmonitorIntersections = function() {\n if (this._monitoringIntersections) {\n this._monitoringIntersections = false;\n\n clearInterval(this._monitoringInterval);\n this._monitoringInterval = null;\n\n removeEvent(window, 'resize', this._checkForIntersections, true);\n removeEvent(document, 'scroll', this._checkForIntersections, true);\n\n if (this._domObserver) {\n this._domObserver.disconnect();\n this._domObserver = null;\n }\n }\n};\n\n\n/**\n * Scans each observation target for intersection changes and adds them\n * to the internal entries queue. If new entries are found, it\n * schedules the callback to be invoked.\n * @private\n */\nIntersectionObserver.prototype._checkForIntersections = function() {\n var rootIsInDom = this._rootIsInDom();\n var rootRect = rootIsInDom ? this._getRootRect() : getEmptyRect();\n\n this._observationTargets.forEach(function(item) {\n var target = item.element;\n var targetRect = getBoundingClientRect(target);\n var rootContainsTarget = this._rootContainsTarget(target);\n var oldEntry = item.entry;\n var intersectionRect = rootIsInDom && rootContainsTarget &&\n this._computeTargetAndRootIntersection(target, rootRect);\n\n var newEntry = item.entry = new IntersectionObserverEntry({\n time: now(),\n target: target,\n boundingClientRect: targetRect,\n rootBounds: rootRect,\n intersectionRect: intersectionRect\n });\n\n if (!oldEntry) {\n this._queuedEntries.push(newEntry);\n } else if (rootIsInDom && rootContainsTarget) {\n // If the new entry intersection ratio has crossed any of the\n // thresholds, add a new entry.\n if (this._hasCrossedThreshold(oldEntry, newEntry)) {\n this._queuedEntries.push(newEntry);\n }\n } else {\n // If the root is not in the DOM or target is not contained within\n // root but the previous entry for this target had an intersection,\n // add a new record indicating removal.\n if (oldEntry && oldEntry.isIntersecting) {\n this._queuedEntries.push(newEntry);\n }\n }\n }, this);\n\n if (this._queuedEntries.length) {\n this._callback(this.takeRecords(), this);\n }\n};\n\n\n/**\n * Accepts a target and root rect computes the intersection between then\n * following the algorithm in the spec.\n * TODO(philipwalton): at this time clip-path is not considered.\n * https://w3c.github.io/IntersectionObserver/#calculate-intersection-rect-algo\n * @param {Element} target The target DOM element\n * @param {Object} rootRect The bounding rect of the root after being\n * expanded by the rootMargin value.\n * @return {?Object} The final intersection rect object or undefined if no\n * intersection is found.\n * @private\n */\nIntersectionObserver.prototype._computeTargetAndRootIntersection =\n function(target, rootRect) {\n\n // If the element isn't displayed, an intersection can't happen.\n if (window.getComputedStyle(target).display == 'none') return;\n\n var targetRect = getBoundingClientRect(target);\n var intersectionRect = targetRect;\n var parent = getParentNode(target);\n var atRoot = false;\n\n while (!atRoot) {\n var parentRect = null;\n var parentComputedStyle = parent.nodeType == 1 ?\n window.getComputedStyle(parent) : {};\n\n // If the parent isn't displayed, an intersection can't happen.\n if (parentComputedStyle.display == 'none') return;\n\n if (parent == this.root || parent == document) {\n atRoot = true;\n parentRect = rootRect;\n } else {\n // If the element has a non-visible overflow, and it's not the <body>\n // or <html> element, update the intersection rect.\n // Note: <body> and <html> cannot be clipped to a rect that's not also\n // the document rect, so no need to compute a new intersection.\n if (parent != document.body &&\n parent != document.documentElement &&\n parentComputedStyle.overflow != 'visible') {\n parentRect = getBoundingClientRect(parent);\n }\n }\n\n // If either of the above conditionals set a new parentRect,\n // calculate new intersection data.\n if (parentRect) {\n intersectionRect = computeRectIntersection(parentRect, intersectionRect);\n\n if (!intersectionRect) break;\n }\n parent = getParentNode(parent);\n }\n return intersectionRect;\n};\n\n\n/**\n * Returns the root rect after being expanded by the rootMargin value.\n * @return {Object} The expanded root rect.\n * @private\n */\nIntersectionObserver.prototype._getRootRect = function() {\n var rootRect;\n if (this.root) {\n rootRect = getBoundingClientRect(this.root);\n } else {\n // Use <html>/<body> instead of window since scroll bars affect size.\n var html = document.documentElement;\n var body = document.body;\n rootRect = {\n top: 0,\n left: 0,\n right: html.clientWidth || body.clientWidth,\n width: html.clientWidth || body.clientWidth,\n bottom: html.clientHeight || body.clientHeight,\n height: html.clientHeight || body.clientHeight\n };\n }\n return this._expandRectByRootMargin(rootRect);\n};\n\n\n/**\n * Accepts a rect and expands it by the rootMargin value.\n * @param {Object} rect The rect object to expand.\n * @return {Object} The expanded rect.\n * @private\n */\nIntersectionObserver.prototype._expandRectByRootMargin = function(rect) {\n var margins = this._rootMarginValues.map(function(margin, i) {\n return margin.unit == 'px' ? margin.value :\n margin.value * (i % 2 ? rect.width : rect.height) / 100;\n });\n var newRect = {\n top: rect.top - margins[0],\n right: rect.right + margins[1],\n bottom: rect.bottom + margins[2],\n left: rect.left - margins[3]\n };\n newRect.width = newRect.right - newRect.left;\n newRect.height = newRect.bottom - newRect.top;\n\n return newRect;\n};\n\n\n/**\n * Accepts an old and new entry and returns true if at least one of the\n * threshold values has been crossed.\n * @param {?IntersectionObserverEntry} oldEntry The previous entry for a\n * particular target element or null if no previous entry exists.\n * @param {IntersectionObserverEntry} newEntry The current entry for a\n * particular target element.\n * @return {boolean} Returns true if a any threshold has been crossed.\n * @private\n */\nIntersectionObserver.prototype._hasCrossedThreshold =\n function(oldEntry, newEntry) {\n\n // To make comparing easier, an entry that has a ratio of 0\n // but does not actually intersect is given a value of -1\n var oldRatio = oldEntry && oldEntry.isIntersecting ?\n oldEntry.intersectionRatio || 0 : -1;\n var newRatio = newEntry.isIntersecting ?\n newEntry.intersectionRatio || 0 : -1;\n\n // Ignore unchanged ratios\n if (oldRatio === newRatio) return;\n\n for (var i = 0; i < this.thresholds.length; i++) {\n var threshold = this.thresholds[i];\n\n // Return true if an entry matches a threshold or if the new ratio\n // and the old ratio are on the opposite sides of a threshold.\n if (threshold == oldRatio || threshold == newRatio ||\n threshold < oldRatio !== threshold < newRatio) {\n return true;\n }\n }\n};\n\n\n/**\n * Returns whether or not the root element is an element and is in the DOM.\n * @return {boolean} True if the root element is an element and is in the DOM.\n * @private\n */\nIntersectionObserver.prototype._rootIsInDom = function() {\n return !this.root || containsDeep(document, this.root);\n};\n\n\n/**\n * Returns whether or not the target element is a child of root.\n * @param {Element} target The target element to check.\n * @return {boolean} True if the target element is a child of root.\n * @private\n */\nIntersectionObserver.prototype._rootContainsTarget = function(target) {\n return containsDeep(this.root || document, target);\n};\n\n\n/**\n * Adds the instance to the global IntersectionObserver registry if it isn't\n * already present.\n * @private\n */\nIntersectionObserver.prototype._registerInstance = function() {\n if (registry.indexOf(this) < 0) {\n registry.push(this);\n }\n};\n\n\n/**\n * Removes the instance from the global IntersectionObserver registry.\n * @private\n */\nIntersectionObserver.prototype._unregisterInstance = function() {\n var index = registry.indexOf(this);\n if (index != -1) registry.splice(index, 1);\n};\n\n\n/**\n * Returns the result of the performance.now() method or null in browsers\n * that don't support the API.\n * @return {number} The elapsed time since the page was requested.\n */\nfunction now() {\n return window.performance && performance.now && performance.now();\n}\n\n\n/**\n * Throttles a function and delays its execution, so it's only called at most\n * once within a given time period.\n * @param {Function} fn The function to throttle.\n * @param {number} timeout The amount of time that must pass before the\n * function can be called again.\n * @return {Function} The throttled function.\n */\nfunction throttle(fn, timeout) {\n var timer = null;\n return function () {\n if (!timer) {\n timer = setTimeout(function() {\n fn();\n timer = null;\n }, timeout);\n }\n };\n}\n\n\n/**\n * Adds an event handler to a DOM node ensuring cross-browser compatibility.\n * @param {Node} node The DOM node to add the event handler to.\n * @param {string} event The event name.\n * @param {Function} fn The event handler to add.\n * @param {boolean} opt_useCapture Optionally adds the even to the capture\n * phase. Note: this only works in modern browsers.\n */\nfunction addEvent(node, event, fn, opt_useCapture) {\n if (typeof node.addEventListener == 'function') {\n node.addEventListener(event, fn, opt_useCapture || false);\n }\n else if (typeof node.attachEvent == 'function') {\n node.attachEvent('on' + event, fn);\n }\n}\n\n\n/**\n * Removes a previously added event handler from a DOM node.\n * @param {Node} node The DOM node to remove the event handler from.\n * @param {string} event The event name.\n * @param {Function} fn The event handler to remove.\n * @param {boolean} opt_useCapture If the event handler was added with this\n * flag set to true, it should be set to true here in order to remove it.\n */\nfunction removeEvent(node, event, fn, opt_useCapture) {\n if (typeof node.removeEventListener == 'function') {\n node.removeEventListener(event, fn, opt_useCapture || false);\n }\n else if (typeof node.detatchEvent == 'function') {\n node.detatchEvent('on' + event, fn);\n }\n}\n\n\n/**\n * Returns the intersection between two rect objects.\n * @param {Object} rect1 The first rect.\n * @param {Object} rect2 The second rect.\n * @return {?Object} The intersection rect or undefined if no intersection\n * is found.\n */\nfunction computeRectIntersection(rect1, rect2) {\n var top = Math.max(rect1.top, rect2.top);\n var bottom = Math.min(rect1.bottom, rect2.bottom);\n var left = Math.max(rect1.left, rect2.left);\n var right = Math.min(rect1.right, rect2.right);\n var width = right - left;\n var height = bottom - top;\n\n return (width >= 0 && height >= 0) && {\n top: top,\n bottom: bottom,\n left: left,\n right: right,\n width: width,\n height: height\n };\n}\n\n\n/**\n * Shims the native getBoundingClientRect for compatibility with older IE.\n * @param {Element} el The element whose bounding rect to get.\n * @return {Object} The (possibly shimmed) rect of the element.\n */\nfunction getBoundingClientRect(el) {\n var rect;\n\n try {\n rect = el.getBoundingClientRect();\n } catch (err) {\n // Ignore Windows 7 IE11 \"Unspecified error\"\n // https://github.com/w3c/IntersectionObserver/pull/205\n }\n\n if (!rect) return getEmptyRect();\n\n // Older IE\n if (!(rect.width && rect.height)) {\n rect = {\n top: rect.top,\n right: rect.right,\n bottom: rect.bottom,\n left: rect.left,\n width: rect.right - rect.left,\n height: rect.bottom - rect.top\n };\n }\n return rect;\n}\n\n\n/**\n * Returns an empty rect object. An empty rect is returned when an element\n * is not in the DOM.\n * @return {Object} The empty rect.\n */\nfunction getEmptyRect() {\n return {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n width: 0,\n height: 0\n };\n}\n\n/**\n * Checks to see if a parent element contains a child element (including inside\n * shadow DOM).\n * @param {Node} parent The parent element.\n * @param {Node} child The child element.\n * @return {boolean} True if the parent node contains the child node.\n */\nfunction containsDeep(parent, child) {\n var node = child;\n while (node) {\n if (node == parent) return true;\n\n node = getParentNode(node);\n }\n return false;\n}\n\n\n/**\n * Gets the parent node of an element or its host element if the parent node\n * is a shadow root.\n * @param {Node} node The node whose parent to get.\n * @return {Node|null} The parent node or null if no parent exists.\n */\nfunction getParentNode(node) {\n var parent = node.parentNode;\n\n if (parent && parent.nodeType == 11 && parent.host) {\n // If the parent is a shadow root, return the host element.\n return parent.host;\n }\n\n if (parent && parent.assignedSlot) {\n // If the parent is distributed in a <slot>, return the parent of a slot.\n return parent.assignedSlot.parentNode;\n }\n\n return parent;\n}\n\n\n// Exposes the constructors globally.\nwindow.IntersectionObserver = IntersectionObserver;\nwindow.IntersectionObserverEntry = IntersectionObserverEntry;\n\n}());\n"],"version":3}
|
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const TOP = 102;
|
|
4
|
+
const LINE_HEIGHT = 34;
|
|
5
|
+
const MASK_HEIGHT = LINE_HEIGHT * 7;
|
|
6
|
+
|
|
7
|
+
const TaroPickerGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.mode = undefined;
|
|
12
|
+
this.range = [];
|
|
13
|
+
this.rangeKey = undefined;
|
|
14
|
+
this.height = undefined;
|
|
15
|
+
this.columnId = undefined;
|
|
16
|
+
this.updateHeight = undefined;
|
|
17
|
+
this.onColumnChange = undefined;
|
|
18
|
+
this.updateDay = undefined;
|
|
19
|
+
this.startY = undefined;
|
|
20
|
+
this.preY = undefined;
|
|
21
|
+
this.hadMove = undefined;
|
|
22
|
+
this.touchEnd = undefined;
|
|
23
|
+
this.isMove = undefined;
|
|
24
|
+
}
|
|
25
|
+
getPosition() {
|
|
26
|
+
const transition = this.touchEnd ? 0.3 : 0;
|
|
27
|
+
const transformValue = `translate3d(0, ${this.height}px, 0)`;
|
|
28
|
+
const transitionValue = `transform ${transition}s`;
|
|
29
|
+
return {
|
|
30
|
+
transform: transformValue,
|
|
31
|
+
'-webkit-transform': transformValue,
|
|
32
|
+
transition: transitionValue,
|
|
33
|
+
'-webkit-transition': transitionValue
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
formulaUnlimitedScroll(range, absoluteHeight, direction) {
|
|
37
|
+
const { height, updateHeight, columnId } = this;
|
|
38
|
+
const factor = direction === 'up' ? 1 : -1;
|
|
39
|
+
this.touchEnd = false;
|
|
40
|
+
// 点击超过范围,点击到补帧时,先跳到另一端的补帧
|
|
41
|
+
updateHeight(-range * factor * LINE_HEIGHT + height, columnId);
|
|
42
|
+
// 再做过渡动画
|
|
43
|
+
requestAnimationFrame(() => {
|
|
44
|
+
this.touchEnd = true;
|
|
45
|
+
const index = Math.round(absoluteHeight / -LINE_HEIGHT) + range * factor;
|
|
46
|
+
const relativeHeight = TOP - LINE_HEIGHT * index;
|
|
47
|
+
updateHeight(relativeHeight, columnId, true);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
handleMoveStart(clientY) {
|
|
51
|
+
// 记录第一次的点击位置
|
|
52
|
+
this.startY = clientY;
|
|
53
|
+
this.preY = clientY;
|
|
54
|
+
this.hadMove = false;
|
|
55
|
+
}
|
|
56
|
+
handleMoving(clientY) {
|
|
57
|
+
const y = clientY;
|
|
58
|
+
const deltaY = y - this.preY;
|
|
59
|
+
this.preY = y;
|
|
60
|
+
this.touchEnd = false;
|
|
61
|
+
if (Math.abs(y - this.startY) > 10)
|
|
62
|
+
this.hadMove = true;
|
|
63
|
+
let newPos = this.height + deltaY;
|
|
64
|
+
// 处理时间选择器的无限滚动
|
|
65
|
+
if (this.mode === 'time') {
|
|
66
|
+
if (this.columnId === '0') {
|
|
67
|
+
// 数字 28 来自于 4 格补帧 + 0 ~ 23 的 24 格,共 28 格
|
|
68
|
+
if (newPos > TOP - LINE_HEIGHT * 3) {
|
|
69
|
+
newPos = TOP - LINE_HEIGHT * 27 + deltaY;
|
|
70
|
+
}
|
|
71
|
+
if (newPos < TOP - LINE_HEIGHT * 28) {
|
|
72
|
+
newPos = TOP - LINE_HEIGHT * 4 + deltaY;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
else if (this.columnId === '1') {
|
|
76
|
+
if (newPos > TOP - LINE_HEIGHT * 3) {
|
|
77
|
+
newPos = TOP - LINE_HEIGHT * 63 + deltaY;
|
|
78
|
+
}
|
|
79
|
+
if (newPos < TOP - LINE_HEIGHT * 64) {
|
|
80
|
+
newPos = TOP - LINE_HEIGHT * 4 + deltaY;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
this.updateHeight(newPos, this.columnId);
|
|
85
|
+
}
|
|
86
|
+
handleMoveEnd(clientY) {
|
|
87
|
+
const { mode, range, height, updateHeight, onColumnChange, columnId } = this;
|
|
88
|
+
const max = 0;
|
|
89
|
+
const min = -LINE_HEIGHT * (range.length - 1);
|
|
90
|
+
const endY = clientY;
|
|
91
|
+
this.touchEnd = true;
|
|
92
|
+
// touchEnd 时的高度,可能带小数点,需要再处理
|
|
93
|
+
let absoluteHeight;
|
|
94
|
+
if (!this.hadMove) {
|
|
95
|
+
/** 点击 */
|
|
96
|
+
// 屏幕高度
|
|
97
|
+
const windowHeight = window.innerHeight;
|
|
98
|
+
// picker__mask 垂直方向距离屏幕顶部的高度
|
|
99
|
+
const relativeY = windowHeight - MASK_HEIGHT / 2;
|
|
100
|
+
absoluteHeight = height - TOP - (endY - relativeY);
|
|
101
|
+
// 处理时间选择器的无限滚动
|
|
102
|
+
if (mode === 'time') {
|
|
103
|
+
if (columnId === '0') {
|
|
104
|
+
// 点击上溢出
|
|
105
|
+
// absoluteHeight 是相对模块中点来算的,所以会算多半行,这时要减去这半行,即2.5行
|
|
106
|
+
if (absoluteHeight > -LINE_HEIGHT * 2.5) {
|
|
107
|
+
return this.formulaUnlimitedScroll(24, absoluteHeight, 'up');
|
|
108
|
+
}
|
|
109
|
+
// 点击下溢出
|
|
110
|
+
if (absoluteHeight < -LINE_HEIGHT * 28.5) {
|
|
111
|
+
return this.formulaUnlimitedScroll(24, absoluteHeight, 'down');
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
else if (columnId === '1') {
|
|
115
|
+
// 点击上溢出
|
|
116
|
+
if (absoluteHeight > -LINE_HEIGHT * 2.5) {
|
|
117
|
+
return this.formulaUnlimitedScroll(60, absoluteHeight, 'up');
|
|
118
|
+
}
|
|
119
|
+
// 点击下溢出
|
|
120
|
+
if (absoluteHeight < -LINE_HEIGHT * 64.5) {
|
|
121
|
+
return this.formulaUnlimitedScroll(60, absoluteHeight, 'down');
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
else {
|
|
127
|
+
/** 滚动 */
|
|
128
|
+
absoluteHeight = height - TOP;
|
|
129
|
+
}
|
|
130
|
+
// 边界情况处理
|
|
131
|
+
if (absoluteHeight > max)
|
|
132
|
+
absoluteHeight = 0;
|
|
133
|
+
if (absoluteHeight < min)
|
|
134
|
+
absoluteHeight = min;
|
|
135
|
+
// 先按公式算出 index, 再用此 index 算出一个整数高度
|
|
136
|
+
const index = Math.round(absoluteHeight / -LINE_HEIGHT);
|
|
137
|
+
const relativeHeight = TOP - LINE_HEIGHT * index;
|
|
138
|
+
if (this.mode === 'date') {
|
|
139
|
+
if (this.columnId === '0') {
|
|
140
|
+
this.updateDay(+this.range[index].replace(/[^0-9]/gi, ''), 0);
|
|
141
|
+
}
|
|
142
|
+
if (this.columnId === '1') {
|
|
143
|
+
this.updateDay(+this.range[index].replace(/[^0-9]/gi, ''), 1);
|
|
144
|
+
}
|
|
145
|
+
if (this.columnId === '2') {
|
|
146
|
+
this.updateDay(+this.range[index].replace(/[^0-9]/gi, ''), 2);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
updateHeight(relativeHeight, columnId, mode === 'time');
|
|
150
|
+
onColumnChange && onColumnChange(relativeHeight, columnId);
|
|
151
|
+
}
|
|
152
|
+
onMouseDown(e) {
|
|
153
|
+
this.isMove = true;
|
|
154
|
+
this.handleMoveStart(e.clientY);
|
|
155
|
+
}
|
|
156
|
+
onMouseMove(e) {
|
|
157
|
+
e.preventDefault();
|
|
158
|
+
if (!this.isMove)
|
|
159
|
+
return;
|
|
160
|
+
this.handleMoving(e.clientY);
|
|
161
|
+
}
|
|
162
|
+
onMouseMoveEnd(e) {
|
|
163
|
+
if (!this.isMove)
|
|
164
|
+
return;
|
|
165
|
+
this.isMove = false;
|
|
166
|
+
this.handleMoveEnd(e.clientY);
|
|
167
|
+
}
|
|
168
|
+
onTouchStart(e) {
|
|
169
|
+
this.handleMoveStart(e.changedTouches[0].clientY);
|
|
170
|
+
}
|
|
171
|
+
onTouchMove(e) {
|
|
172
|
+
e.preventDefault();
|
|
173
|
+
this.handleMoving(e.changedTouches[0].clientY);
|
|
174
|
+
}
|
|
175
|
+
onTouchEnd(e) {
|
|
176
|
+
this.handleMoveEnd(e.changedTouches[0].clientY);
|
|
177
|
+
}
|
|
178
|
+
render() {
|
|
179
|
+
const { range, rangeKey } = this;
|
|
180
|
+
const pickerItem = range.map(item => {
|
|
181
|
+
const content = rangeKey ? item[rangeKey] : item;
|
|
182
|
+
return (h("div", { class: 'weui-picker__item' }, content));
|
|
183
|
+
});
|
|
184
|
+
return (h(Host, { class: 'weui-picker__group' }, h("div", { class: 'weui-picker__mask' }), h("div", { class: 'weui-picker__indicator' }), h("div", { class: 'weui-picker__content', style: this.getPosition() }, pickerItem)));
|
|
185
|
+
}
|
|
186
|
+
}, [0, "taro-picker-group", {
|
|
187
|
+
"mode": [1],
|
|
188
|
+
"range": [16],
|
|
189
|
+
"rangeKey": [1, "range-key"],
|
|
190
|
+
"height": [2],
|
|
191
|
+
"columnId": [1, "column-id"],
|
|
192
|
+
"updateHeight": [16],
|
|
193
|
+
"onColumnChange": [16],
|
|
194
|
+
"updateDay": [16],
|
|
195
|
+
"startY": [32],
|
|
196
|
+
"preY": [32],
|
|
197
|
+
"hadMove": [32],
|
|
198
|
+
"touchEnd": [32],
|
|
199
|
+
"isMove": [32],
|
|
200
|
+
"handleMoveStart": [64],
|
|
201
|
+
"handleMoving": [64],
|
|
202
|
+
"handleMoveEnd": [64]
|
|
203
|
+
}, [[1, "mousedown", "onMouseDown"], [1, "mousemove", "onMouseMove"], [1, "mouseup", "onMouseMoveEnd"], [1, "mouseleave", "onMouseMoveEnd"], [1, "touchstart", "onTouchStart"], [1, "touchmove", "onTouchMove"], [1, "touchend", "onTouchEnd"]]]);
|
|
204
|
+
function defineCustomElement() {
|
|
205
|
+
if (typeof customElements === "undefined") {
|
|
206
|
+
return;
|
|
207
|
+
}
|
|
208
|
+
const components = ["taro-picker-group"];
|
|
209
|
+
components.forEach(tagName => { switch (tagName) {
|
|
210
|
+
case "taro-picker-group":
|
|
211
|
+
if (!customElements.get(tagName)) {
|
|
212
|
+
customElements.define(tagName, TaroPickerGroup);
|
|
213
|
+
}
|
|
214
|
+
break;
|
|
215
|
+
} });
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export { LINE_HEIGHT as L, TOP as T, TaroPickerGroup as a, defineCustomElement as d };
|
|
219
|
+
|
|
220
|
+
//# sourceMappingURL=picker-group.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"picker-group.js","mappings":";;MAAa,GAAG,GAAG,IAAG;MACT,WAAW,GAAG,GAAE;AACtB,MAAM,WAAW,GAAG,WAAW,GAAG,CAAC;;MCS7B,eAAe;;;;;iBAEH,EAAE;;;;;;;;;;;;;EAczB,WAAW;IACT,MAAM,UAAU,GAAG,IAAI,CAAC,QAAQ,GAAG,GAAG,GAAG,CAAC,CAAA;IAC1C,MAAM,cAAc,GAAG,kBAAkB,IAAI,CAAC,MAAM,QAAQ,CAAA;IAC5D,MAAM,eAAe,GAAG,aA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MAAM,GAAG,KAAK,CAAA;IACnB,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;GAC9B;EAGD,YAAY,CAAE,CAAa;IACzB,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;GAClD;EAGD,WAAW,CAAE,CAAa;IACxB,CAAC,CAAC,cAAc,EAAE,CAAA;IAElB,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;GAC/C;EAGD,UAAU,CAAE,CAAa;IACvB,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAA;GAChD;EAED,MAAM;IACJ,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;IAChC,MAAM,UAAU,GAAG,KAAK,CAAC,GAAG,CAAC,IAAI;MAC/B,MAAM,OAAO,GAAG,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAA;MAChD,QACE,WAAK,KAAK,EAAC,mBAAmB,IAAE,OAAO,CAAO,EAC/C;KACF,CAAC,CAAA;IAEF,QACE,EAAC,IAAI,IAAC,KAAK,EAAC,oBAAoB,IAC9B,WAAK,KAAK,EAAC,mBAAmB,GAAG,EACjC,WAAK,KAAK,EAAC,wBAAwB,GAAG,EACtC,WAAK,KAAK,EAAC,sBAAsB,EAAC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,IACxD,UAAU,CACP,CACD,EACR;GACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/picker/constant.ts","./src/components/picker/picker-group.tsx"],"sourcesContent":["export const TOP = 102\nexport const LINE_HEIGHT = 34\nexport const MASK_HEIGHT = LINE_HEIGHT * 7\n","import { Component, h, ComponentInterface, Prop, Host, Method, State, Listen } from '@stencil/core'\n\nimport {\n TOP,\n LINE_HEIGHT,\n MASK_HEIGHT\n} from './constant'\n\n@Component({\n tag: 'taro-picker-group'\n})\nexport class TaroPickerGroup implements ComponentInterface {\n @Prop() mode: 'time' | 'date'\n @Prop() range: any[] = []\n @Prop() rangeKey: string\n @Prop() height: number\n @Prop() columnId: string\n @Prop() updateHeight: (height: number, columnId: string, needRevise?: boolean) => void\n @Prop() onColumnChange: (height: number, columnId: string) => void\n @Prop() updateDay: (value: number, fields: number) => void\n\n @State() startY: number\n @State() preY: number\n @State() hadMove: boolean\n @State() touchEnd: boolean\n @State() isMove: boolean\n\n getPosition () {\n const transition = this.touchEnd ? 0.3 : 0\n const transformValue = `translate3d(0, ${this.height}px, 0)`\n const transitionValue = `transform ${transition}s`\n return {\n transform: transformValue,\n '-webkit-transform': transformValue,\n transition: transitionValue,\n '-webkit-transition': transitionValue\n }\n }\n\n formulaUnlimitedScroll (range: number, absoluteHeight: number, direction: 'up' | 'down') {\n const { height, updateHeight, columnId } = this\n const factor = direction === 'up' ? 1 : -1\n\n this.touchEnd = false\n\n // 点击超过范围,点击到补帧时,先跳到另一端的补帧\n updateHeight(-range * factor * LINE_HEIGHT + height, columnId)\n\n // 再做过渡动画\n requestAnimationFrame(() => {\n this.touchEnd = true\n const index = Math.round(absoluteHeight / -LINE_HEIGHT) + range * factor\n const relativeHeight = TOP - LINE_HEIGHT * index\n updateHeight(relativeHeight, columnId, true)\n })\n }\n\n @Method()\n handleMoveStart (clientY: number) {\n // 记录第一次的点击位置\n this.startY = clientY\n this.preY = clientY\n this.hadMove = false\n }\n\n @Method()\n handleMoving (clientY: number) {\n const y = clientY\n const deltaY = y - this.preY\n this.preY = y\n this.touchEnd = false\n\n if (Math.abs(y - this.startY) > 10) this.hadMove = true\n\n let newPos = this.height + deltaY\n\n // 处理时间选择器的无限滚动\n if (this.mode === 'time') {\n if (this.columnId === '0') {\n // 数字 28 来自于 4 格补帧 + 0 ~ 23 的 24 格,共 28 格\n if (newPos > TOP - LINE_HEIGHT * 3) {\n newPos = TOP - LINE_HEIGHT * 27 + deltaY\n }\n if (newPos < TOP - LINE_HEIGHT * 28) {\n newPos = TOP - LINE_HEIGHT * 4 + deltaY\n }\n } else if (this.columnId === '1') {\n if (newPos > TOP - LINE_HEIGHT * 3) {\n newPos = TOP - LINE_HEIGHT * 63 + deltaY\n }\n if (newPos < TOP - LINE_HEIGHT * 64) {\n newPos = TOP - LINE_HEIGHT * 4 + deltaY\n }\n }\n }\n\n this.updateHeight(newPos, this.columnId)\n }\n\n @Method()\n handleMoveEnd (clientY: number) {\n const {\n mode,\n range,\n height,\n updateHeight,\n onColumnChange,\n columnId\n } = this\n const max = 0\n const min = -LINE_HEIGHT * (range.length - 1)\n const endY = clientY\n\n this.touchEnd = true\n\n // touchEnd 时的高度,可能带小数点,需要再处理\n let absoluteHeight: number\n\n if (!this.hadMove) {\n /** 点击 */\n // 屏幕高度\n const windowHeight = window.innerHeight\n // picker__mask 垂直方向距离屏幕顶部的高度\n const relativeY = windowHeight - MASK_HEIGHT / 2\n\n absoluteHeight = height - TOP - (endY - relativeY)\n\n // 处理时间选择器的无限滚动\n if (mode === 'time') {\n if (columnId === '0') {\n // 点击上溢出\n // absoluteHeight 是相对模块中点来算的,所以会算多半行,这时要减去这半行,即2.5行\n if (absoluteHeight > -LINE_HEIGHT * 2.5) {\n return this.formulaUnlimitedScroll(24, absoluteHeight, 'up')\n }\n // 点击下溢出\n if (absoluteHeight < -LINE_HEIGHT * 28.5) {\n return this.formulaUnlimitedScroll(24, absoluteHeight, 'down')\n }\n } else if (columnId === '1') {\n // 点击上溢出\n if (absoluteHeight > -LINE_HEIGHT * 2.5) {\n return this.formulaUnlimitedScroll(60, absoluteHeight, 'up')\n }\n // 点击下溢出\n if (absoluteHeight < -LINE_HEIGHT * 64.5) {\n return this.formulaUnlimitedScroll(60, absoluteHeight, 'down')\n }\n }\n }\n } else {\n /** 滚动 */\n absoluteHeight = height - TOP\n }\n\n // 边界情况处理\n if (absoluteHeight > max) absoluteHeight = 0\n if (absoluteHeight < min) absoluteHeight = min\n\n // 先按公式算出 index, 再用此 index 算出一个整数高度\n const index = Math.round(absoluteHeight / -LINE_HEIGHT)\n const relativeHeight = TOP - LINE_HEIGHT * index\n\n if (this.mode === 'date') {\n if (this.columnId === '0') {\n this.updateDay(\n +this.range[index].replace(/[^0-9]/gi, ''),\n 0\n )\n }\n if (this.columnId === '1') {\n this.updateDay(\n +this.range[index].replace(/[^0-9]/gi, ''),\n 1\n )\n }\n if (this.columnId === '2') {\n this.updateDay(\n +this.range[index].replace(/[^0-9]/gi, ''),\n 2\n )\n }\n }\n\n updateHeight(relativeHeight, columnId, mode === 'time')\n onColumnChange && onColumnChange(relativeHeight, columnId)\n }\n\n @Listen('mousedown')\n onMouseDown (e: MouseEvent) {\n this.isMove = true\n this.handleMoveStart(e.clientY)\n }\n\n @Listen('mousemove')\n onMouseMove (e: MouseEvent) {\n e.preventDefault()\n\n if (!this.isMove) return\n\n this.handleMoving(e.clientY)\n }\n\n @Listen('mouseup')\n @Listen('mouseleave')\n onMouseMoveEnd (e: MouseEvent) {\n if (!this.isMove) return\n\n this.isMove = false\n this.handleMoveEnd(e.clientY)\n }\n\n @Listen('touchstart')\n onTouchStart (e: TouchEvent) {\n this.handleMoveStart(e.changedTouches[0].clientY)\n }\n\n @Listen('touchmove')\n onTouchMove (e: TouchEvent) {\n e.preventDefault()\n\n this.handleMoving(e.changedTouches[0].clientY)\n }\n\n @Listen('touchend')\n onTouchEnd (e: TouchEvent) {\n this.handleMoveEnd(e.changedTouches[0].clientY)\n }\n\n render () {\n const { range, rangeKey } = this\n const pickerItem = range.map(item => {\n const content = rangeKey ? item[rangeKey] : item\n return (\n <div class='weui-picker__item'>{content}</div>\n )\n })\n\n return (\n <Host class='weui-picker__group'>\n <div class='weui-picker__mask' />\n <div class='weui-picker__indicator' />\n <div class='weui-picker__content' style={this.getPosition()}>\n {pickerItem}\n </div>\n </Host>\n )\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TaroAdCore extends Components.TaroAdCore, HTMLElement {}
|
|
4
|
+
export const TaroAdCore: {
|
|
5
|
+
prototype: TaroAdCore;
|
|
6
|
+
new (): TaroAdCore;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { n as notSupport } from './helper.js';
|
|
3
|
+
|
|
4
|
+
const Ad = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
}
|
|
9
|
+
componentDidLoad() {
|
|
10
|
+
notSupport('Ad', this);
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (h(Host, null));
|
|
14
|
+
}
|
|
15
|
+
}, [0, "taro-ad-core"]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["taro-ad-core"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "taro-ad-core":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, Ad);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const TaroAdCore = Ad;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { TaroAdCore, defineCustomElement };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=taro-ad-core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"taro-ad-core.js","mappings":";;;MAOa,EAAE;;;;;EACb,gBAAgB;IACd,UAAU,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;GACvB;EAED,MAAM;IACJ,QACE,EAAC,IAAI,OAAG,EACT;GACF;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ad/ad.tsx"],"sourcesContent":["import { Component, ComponentInterface, h, Host } from '@stencil/core'\n\nimport { notSupport } from '../../utils'\n\n@Component({\n tag: 'taro-ad-core'\n})\nexport class Ad implements ComponentInterface {\n componentDidLoad () {\n notSupport('Ad', this)\n }\n\n render () {\n return (\n <Host />\n )\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TaroAdCustomCore extends Components.TaroAdCustomCore, HTMLElement {}
|
|
4
|
+
export const TaroAdCustomCore: {
|
|
5
|
+
prototype: TaroAdCustomCore;
|
|
6
|
+
new (): TaroAdCustomCore;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { n as notSupport } from './helper.js';
|
|
3
|
+
|
|
4
|
+
const AdCustom = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
}
|
|
9
|
+
componentDidLoad() {
|
|
10
|
+
notSupport('AdCustom', this);
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (h(Host, null));
|
|
14
|
+
}
|
|
15
|
+
}, [0, "taro-ad-custom-core"]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["taro-ad-custom-core"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "taro-ad-custom-core":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, AdCustom);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const TaroAdCustomCore = AdCustom;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { TaroAdCustomCore, defineCustomElement };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=taro-ad-custom-core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"taro-ad-custom-core.js","mappings":";;;MAOa,QAAQ;;;;;EACnB,gBAAgB;IACd,UAAU,CAAC,UAAU,EAAE,IAAI,CAAC,CAAA;GAC7B;EAED,MAAM;IACJ,QACE,EAAC,IAAI,OAAG,EACT;GACF;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ad-custom/ad-custom.tsx"],"sourcesContent":["import { Component, ComponentInterface, h, Host } from '@stencil/core'\n\nimport { notSupport } from '../../utils'\n\n@Component({\n tag: 'taro-ad-custom-core'\n})\nexport class AdCustom implements ComponentInterface {\n componentDidLoad () {\n notSupport('AdCustom', this)\n }\n\n render () {\n return (\n <Host />\n )\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TaroAnimationVideoCore extends Components.TaroAnimationVideoCore, HTMLElement {}
|
|
4
|
+
export const TaroAnimationVideoCore: {
|
|
5
|
+
prototype: TaroAnimationVideoCore;
|
|
6
|
+
new (): TaroAnimationVideoCore;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { n as notSupport } from './helper.js';
|
|
3
|
+
|
|
4
|
+
const AnimationVideo = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
}
|
|
9
|
+
componentDidLoad() {
|
|
10
|
+
notSupport('AnimationVideo', this);
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (h(Host, null));
|
|
14
|
+
}
|
|
15
|
+
}, [0, "taro-animation-video-core"]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["taro-animation-video-core"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "taro-animation-video-core":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, AnimationVideo);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const TaroAnimationVideoCore = AnimationVideo;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { TaroAnimationVideoCore, defineCustomElement };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=taro-animation-video-core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"taro-animation-video-core.js","mappings":";;;MAOa,cAAc;;;;;EACzB,gBAAgB;IACd,UAAU,CAAC,gBAAgB,EAAE,IAAI,CAAC,CAAA;GACnC;EAED,MAAM;IACJ,QACE,EAAC,IAAI,OAAG,EACT;GACF;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/animation-video/animation-video.tsx"],"sourcesContent":["import { Component, ComponentInterface, h, Host } from '@stencil/core'\n\nimport { notSupport } from '../../utils'\n\n@Component({\n tag: 'taro-animation-video-core'\n})\nexport class AnimationVideo implements ComponentInterface {\n componentDidLoad () {\n notSupport('AnimationVideo', this)\n }\n\n render () {\n return (\n <Host />\n )\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TaroAnimationViewCore extends Components.TaroAnimationViewCore, HTMLElement {}
|
|
4
|
+
export const TaroAnimationViewCore: {
|
|
5
|
+
prototype: TaroAnimationViewCore;
|
|
6
|
+
new (): TaroAnimationViewCore;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { n as notSupport } from './helper.js';
|
|
3
|
+
|
|
4
|
+
const AnimationView = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
}
|
|
9
|
+
componentDidLoad() {
|
|
10
|
+
notSupport('AnimationView', this);
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (h(Host, null));
|
|
14
|
+
}
|
|
15
|
+
}, [0, "taro-animation-view-core"]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["taro-animation-view-core"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "taro-animation-view-core":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, AnimationView);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const TaroAnimationViewCore = AnimationView;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { TaroAnimationViewCore, defineCustomElement };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=taro-animation-view-core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"taro-animation-view-core.js","mappings":";;;MAOa,aAAa;;;;;EACxB,gBAAgB;IACd,UAAU,CAAC,eAAe,EAAE,IAAI,CAAC,CAAA;GAClC;EAED,MAAM;IACJ,QACE,EAAC,IAAI,OAAG,EACT;GACF;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/animation-view/animation-view.tsx"],"sourcesContent":["import { Component, ComponentInterface, h, Host } from '@stencil/core'\n\nimport { notSupport } from '../../utils'\n\n@Component({\n tag: 'taro-animation-view-core'\n})\nexport class AnimationView implements ComponentInterface {\n componentDidLoad () {\n notSupport('AnimationView', this)\n }\n\n render () {\n return (\n <Host />\n )\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TaroArCameraCore extends Components.TaroArCameraCore, HTMLElement {}
|
|
4
|
+
export const TaroArCameraCore: {
|
|
5
|
+
prototype: TaroArCameraCore;
|
|
6
|
+
new (): TaroArCameraCore;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { n as notSupport } from './helper.js';
|
|
3
|
+
|
|
4
|
+
const ArCamera = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
}
|
|
9
|
+
componentDidLoad() {
|
|
10
|
+
notSupport('ArCamera', this);
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (h(Host, null));
|
|
14
|
+
}
|
|
15
|
+
}, [0, "taro-ar-camera-core"]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["taro-ar-camera-core"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "taro-ar-camera-core":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, ArCamera);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const TaroArCameraCore = ArCamera;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { TaroArCameraCore, defineCustomElement };
|
|
34
|
+
|
|
35
|
+
//# sourceMappingURL=taro-ar-camera-core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"file":"taro-ar-camera-core.js","mappings":";;;MAOa,QAAQ;;;;;EACnB,gBAAgB;IACd,UAAU,CAAC,UAAU,EAAE,IAAI,CAAC,CAAA;GAC7B;EAED,MAAM;IACJ,QACE,EAAC,IAAI,OAAG,EACT;GACF;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["./src/components/ar-camera/ar-camera.tsx"],"sourcesContent":["import { Component, ComponentInterface, h, Host } from '@stencil/core'\n\nimport { notSupport } from '../../utils'\n\n@Component({\n tag: 'taro-ar-camera-core'\n})\nexport class ArCamera implements ComponentInterface {\n componentDidLoad () {\n notSupport('ArCamera', this)\n }\n\n render () {\n return (\n <Host />\n )\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TaroAudioCore extends Components.TaroAudioCore, HTMLElement {}
|
|
4
|
+
export const TaroAudioCore: {
|
|
5
|
+
prototype: TaroAudioCore;
|
|
6
|
+
new (): TaroAudioCore;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|