@tarojs/components 3.6.0-canary.1 → 3.6.0-canary.11
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/loader.cjs.js +1 -1
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-animation-video-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-animation-view-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-button-core.cjs.entry.js +5 -0
- package/dist/cjs/taro-button-core.cjs.entry.js.map +1 -1
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-comment-list-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-components.cjs.js +1 -1
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-contact-button-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-like-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-like-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-login-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-login-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-lottie-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-lottie-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-native-slot-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js.map +1 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js +5 -0
- package/dist/cjs/taro-slot-core.cjs.entry.js.map +1 -1
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +5 -5
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js.map +1 -1
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-tab-item-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-tabbar.cjs.entry.js.map +1 -1
- package/dist/cjs/taro-tabs-core.cjs.entry.js +23 -0
- package/dist/cjs/taro-tabs-core.cjs.entry.js.map +1 -0
- package/dist/cjs/taro-view-core.cjs.entry.js +6 -2
- package/dist/cjs/taro-view-core.cjs.entry.js.map +1 -1
- package/dist/collection/collection-manifest.json +18 -0
- package/dist/collection/components/animation-video/animation-video.js +12 -0
- package/dist/collection/components/animation-video/animation-video.js.map +1 -0
- package/dist/collection/components/animation-view/animation-view.js +12 -0
- package/dist/collection/components/animation-view/animation-view.js.map +1 -0
- package/dist/collection/components/ar-camera/ar-camera.js +12 -0
- package/dist/collection/components/ar-camera/ar-camera.js.map +1 -0
- package/dist/collection/components/aweme-data/aweme-data.js +12 -0
- package/dist/collection/components/aweme-data/aweme-data.js.map +1 -0
- package/dist/collection/components/button/button.js +11 -0
- package/dist/collection/components/button/button.js.map +1 -1
- package/dist/collection/components/comment/comment-detail.js +12 -0
- package/dist/collection/components/comment/comment-detail.js.map +1 -0
- package/dist/collection/components/comment/comment-list.js +12 -0
- package/dist/collection/components/comment/comment-list.js.map +1 -0
- package/dist/collection/components/contact-button/contact-button.js +12 -0
- package/dist/collection/components/contact-button/contact-button.js.map +1 -0
- package/dist/collection/components/follow-swan/follow-swan.js +12 -0
- package/dist/collection/components/follow-swan/follow-swan.js.map +1 -0
- package/dist/collection/components/inline-payment-panel/inline-payment-panel.js +12 -0
- package/dist/collection/components/inline-payment-panel/inline-payment-panel.js.map +1 -0
- package/dist/collection/components/lifestyle/lifestyle.js +12 -0
- package/dist/collection/components/lifestyle/lifestyle.js.map +1 -0
- package/dist/collection/components/like/like.js +12 -0
- package/dist/collection/components/like/like.js.map +1 -0
- package/dist/collection/components/login/login.js +12 -0
- package/dist/collection/components/login/login.js.map +1 -0
- package/dist/collection/components/lottie/lottie.js +12 -0
- package/dist/collection/components/lottie/lottie.js.map +1 -0
- package/dist/collection/components/rtc-room/rtc-room-item.js +12 -0
- package/dist/collection/components/rtc-room/rtc-room-item.js.map +1 -0
- package/dist/collection/components/rtc-room/rtc-room.js +12 -0
- package/dist/collection/components/rtc-room/rtc-room.js.map +1 -0
- package/dist/collection/components/scroll-view/scroll-view.js +1 -1
- package/dist/collection/components/scroll-view/scroll-view.js.map +1 -1
- package/dist/collection/components/slot/native-slot.js +12 -0
- package/dist/collection/components/slot/native-slot.js.map +1 -0
- package/dist/collection/components/slot/slot.js +4 -0
- package/dist/collection/components/slot/slot.js.map +1 -1
- package/dist/collection/components/swiper/swiper.js +23 -5
- package/dist/collection/components/swiper/swiper.js.map +1 -1
- package/dist/collection/components/tabs/tab-item.js +12 -0
- package/dist/collection/components/tabs/tab-item.js.map +1 -0
- package/dist/collection/components/tabs/tabs.js +12 -0
- package/dist/collection/components/tabs/tabs.js.map +1 -0
- package/dist/collection/components/view/view.js +6 -2
- package/dist/collection/components/view/view.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/loader.js +1 -1
- package/dist/esm/taro-animation-video-core.entry.js +19 -0
- package/dist/esm/taro-animation-video-core.entry.js.map +1 -0
- package/dist/esm/taro-animation-view-core.entry.js +19 -0
- package/dist/esm/taro-animation-view-core.entry.js.map +1 -0
- package/dist/esm/taro-ar-camera-core.entry.js +19 -0
- package/dist/esm/taro-ar-camera-core.entry.js.map +1 -0
- package/dist/esm/taro-aweme-data-core.entry.js +19 -0
- package/dist/esm/taro-aweme-data-core.entry.js.map +1 -0
- package/dist/esm/taro-button-core.entry.js +5 -0
- package/dist/esm/taro-button-core.entry.js.map +1 -1
- package/dist/esm/taro-comment-detail-core.entry.js +19 -0
- package/dist/esm/taro-comment-detail-core.entry.js.map +1 -0
- package/dist/esm/taro-comment-list-core.entry.js +19 -0
- package/dist/esm/taro-comment-list-core.entry.js.map +1 -0
- package/dist/esm/taro-components.js +1 -1
- package/dist/esm/taro-contact-button-core.entry.js +19 -0
- package/dist/esm/taro-contact-button-core.entry.js.map +1 -0
- package/dist/esm/taro-follow-swan-core.entry.js +19 -0
- package/dist/esm/taro-follow-swan-core.entry.js.map +1 -0
- package/dist/esm/taro-inline-payment-panel-core.entry.js +19 -0
- package/dist/esm/taro-inline-payment-panel-core.entry.js.map +1 -0
- package/dist/esm/taro-lifestyle-core.entry.js +19 -0
- package/dist/esm/taro-lifestyle-core.entry.js.map +1 -0
- package/dist/esm/taro-like-core.entry.js +19 -0
- package/dist/esm/taro-like-core.entry.js.map +1 -0
- package/dist/esm/taro-login-core.entry.js +19 -0
- package/dist/esm/taro-login-core.entry.js.map +1 -0
- package/dist/esm/taro-lottie-core.entry.js +19 -0
- package/dist/esm/taro-lottie-core.entry.js.map +1 -0
- package/dist/esm/taro-native-slot-core.entry.js +19 -0
- package/dist/esm/taro-native-slot-core.entry.js.map +1 -0
- package/dist/esm/taro-rtc-room-core.entry.js +19 -0
- package/dist/esm/taro-rtc-room-core.entry.js.map +1 -0
- package/dist/esm/taro-rtc-room-item-core.entry.js +19 -0
- package/dist/esm/taro-rtc-room-item-core.entry.js.map +1 -0
- package/dist/esm/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm/taro-scroll-view-core.entry.js.map +1 -1
- package/dist/esm/taro-slot-core.entry.js +5 -0
- package/dist/esm/taro-slot-core.entry.js.map +1 -1
- package/dist/esm/taro-swiper-core_2.entry.js +5 -5
- package/dist/esm/taro-swiper-core_2.entry.js.map +1 -1
- package/dist/esm/taro-tab-item-core.entry.js +19 -0
- package/dist/esm/taro-tab-item-core.entry.js.map +1 -0
- package/dist/esm/taro-tabbar.entry.js.map +1 -1
- package/dist/esm/taro-tabs-core.entry.js +19 -0
- package/dist/esm/taro-tabs-core.entry.js.map +1 -0
- package/dist/esm/taro-view-core.entry.js +6 -2
- package/dist/esm/taro-view-core.entry.js.map +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/taro-animation-video-core.entry.js +2 -0
- package/dist/esm-es5/taro-animation-video-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-animation-view-core.entry.js +2 -0
- package/dist/esm-es5/taro-animation-view-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-ar-camera-core.entry.js +2 -0
- package/dist/esm-es5/taro-ar-camera-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-aweme-data-core.entry.js +2 -0
- package/dist/esm-es5/taro-aweme-data-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-button-core.entry.js +1 -1
- package/dist/esm-es5/taro-button-core.entry.js.map +1 -1
- package/dist/esm-es5/taro-comment-detail-core.entry.js +2 -0
- package/dist/esm-es5/taro-comment-detail-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-comment-list-core.entry.js +2 -0
- package/dist/esm-es5/taro-comment-list-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-components.js.map +1 -1
- package/dist/esm-es5/taro-contact-button-core.entry.js +2 -0
- package/dist/esm-es5/taro-contact-button-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-follow-swan-core.entry.js +2 -0
- package/dist/esm-es5/taro-follow-swan-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +2 -0
- package/dist/esm-es5/taro-inline-payment-panel-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-lifestyle-core.entry.js +2 -0
- package/dist/esm-es5/taro-lifestyle-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-like-core.entry.js +2 -0
- package/dist/esm-es5/taro-like-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-login-core.entry.js +2 -0
- package/dist/esm-es5/taro-login-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-lottie-core.entry.js +2 -0
- package/dist/esm-es5/taro-lottie-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-native-slot-core.entry.js +2 -0
- package/dist/esm-es5/taro-native-slot-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-rtc-room-core.entry.js +2 -0
- package/dist/esm-es5/taro-rtc-room-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-rtc-room-item-core.entry.js +2 -0
- package/dist/esm-es5/taro-rtc-room-item-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-scroll-view-core.entry.js.map +1 -1
- package/dist/esm-es5/taro-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-slot-core.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/esm-es5/taro-tab-item-core.entry.js +2 -0
- package/dist/esm-es5/taro-tab-item-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-tabbar.entry.js.map +1 -1
- package/dist/esm-es5/taro-tabs-core.entry.js +2 -0
- package/dist/esm-es5/taro-tabs-core.entry.js.map +1 -0
- package/dist/esm-es5/taro-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-view-core.entry.js.map +1 -1
- package/dist/taro-components/p-0be383a9.system.entry.js +2 -0
- package/dist/taro-components/p-0be383a9.system.entry.js.map +1 -0
- package/dist/taro-components/p-186ad7ff.entry.js +2 -0
- package/dist/taro-components/p-186ad7ff.entry.js.map +1 -0
- package/dist/taro-components/{p-e9abe3e2.entry.js → p-19afe402.entry.js} +2 -2
- package/dist/taro-components/p-19afe402.entry.js.map +1 -0
- package/dist/taro-components/p-1a47133c.system.entry.js +2 -0
- package/dist/taro-components/p-1a47133c.system.entry.js.map +1 -0
- package/dist/taro-components/p-1ad0aa95.system.entry.js +2 -0
- package/dist/taro-components/p-1ad0aa95.system.entry.js.map +1 -0
- package/dist/taro-components/p-1b1420c9.system.entry.js +2 -0
- package/dist/taro-components/p-1b1420c9.system.entry.js.map +1 -0
- package/dist/taro-components/{p-a2aab820.entry.js → p-22315b9d.entry.js} +2 -2
- package/dist/taro-components/p-22315b9d.entry.js.map +1 -0
- package/dist/taro-components/p-281a2bcf.entry.js +2 -0
- package/dist/taro-components/p-281a2bcf.entry.js.map +1 -0
- package/dist/taro-components/p-28dade4f.entry.js +2 -0
- package/dist/taro-components/p-28dade4f.entry.js.map +1 -0
- package/dist/taro-components/p-31e10d77.system.entry.js +2 -0
- package/dist/taro-components/p-31e10d77.system.entry.js.map +1 -0
- package/dist/taro-components/p-36c64ed0.system.entry.js +2 -0
- package/dist/taro-components/p-36c64ed0.system.entry.js.map +1 -0
- package/dist/taro-components/p-37d71e63.entry.js +2 -0
- package/dist/taro-components/p-37d71e63.entry.js.map +1 -0
- package/dist/taro-components/p-386b9de8.entry.js +2 -0
- package/dist/taro-components/p-386b9de8.entry.js.map +1 -0
- package/dist/taro-components/{p-22f9f9fa.entry.js → p-427a2872.entry.js} +2 -2
- package/dist/taro-components/p-427a2872.entry.js.map +1 -0
- package/dist/taro-components/p-49a6cae4.system.entry.js.map +1 -1
- package/dist/taro-components/p-51040638.entry.js +2 -0
- package/dist/taro-components/p-51040638.entry.js.map +1 -0
- package/dist/taro-components/p-5bd1c1a1.entry.js +2 -0
- package/dist/taro-components/p-5bd1c1a1.entry.js.map +1 -0
- package/dist/taro-components/p-62d750a7.entry.js +2 -0
- package/dist/taro-components/p-62d750a7.entry.js.map +1 -0
- package/dist/taro-components/p-632f9a72.system.entry.js +2 -0
- package/dist/taro-components/p-632f9a72.system.entry.js.map +1 -0
- package/dist/taro-components/p-65971d99.entry.js +2 -0
- package/dist/taro-components/p-65971d99.entry.js.map +1 -0
- package/dist/taro-components/p-6c622fa2.system.entry.js +2 -0
- package/dist/taro-components/p-6c622fa2.system.entry.js.map +1 -0
- package/dist/taro-components/p-6cd941bc.entry.js +2 -0
- package/dist/taro-components/p-6cd941bc.entry.js.map +1 -0
- package/dist/taro-components/p-70defa84.entry.js +2 -0
- package/dist/taro-components/p-70defa84.entry.js.map +1 -0
- package/dist/taro-components/p-73106bc9.entry.js +2 -0
- package/dist/taro-components/p-73106bc9.entry.js.map +1 -0
- package/dist/taro-components/p-7afc274a.entry.js +2 -0
- package/dist/taro-components/p-7afc274a.entry.js.map +1 -0
- package/dist/taro-components/p-7bafbe22.entry.js +2 -0
- package/dist/taro-components/p-7bafbe22.entry.js.map +1 -0
- package/dist/taro-components/p-7e7a1e62.entry.js +2 -0
- package/dist/taro-components/p-7e7a1e62.entry.js.map +1 -0
- package/dist/taro-components/p-876edf66.entry.js +2 -0
- package/dist/taro-components/p-876edf66.entry.js.map +1 -0
- package/dist/taro-components/p-898aba38.system.entry.js +2 -0
- package/dist/taro-components/p-898aba38.system.entry.js.map +1 -0
- package/dist/taro-components/p-98901e99.system.entry.js +2 -0
- package/dist/taro-components/p-98901e99.system.entry.js.map +1 -0
- package/dist/taro-components/p-9f780103.system.entry.js +2 -0
- package/dist/taro-components/p-9f780103.system.entry.js.map +1 -0
- package/dist/taro-components/p-a4961ddd.entry.js +2 -0
- package/dist/taro-components/p-a4961ddd.entry.js.map +1 -0
- package/dist/taro-components/p-ad25cc91.system.entry.js +2 -0
- package/dist/taro-components/p-ad25cc91.system.entry.js.map +1 -0
- package/dist/taro-components/p-b4cccb3e.system.entry.js +2 -0
- package/dist/taro-components/p-b4cccb3e.system.entry.js.map +1 -0
- package/dist/taro-components/p-b6733e23.system.entry.js +2 -0
- package/dist/taro-components/p-b6733e23.system.entry.js.map +1 -0
- package/dist/taro-components/{p-1cd1c507.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-c3acf0ea.system.entry.js → p-c43fe342.system.entry.js} +2 -2
- package/dist/taro-components/p-c43fe342.system.entry.js.map +1 -0
- package/dist/taro-components/p-cb17d8bd.system.js +1 -1
- package/dist/taro-components/p-cb17d8bd.system.js.map +1 -1
- package/dist/taro-components/p-d6441fd8.entry.js +2 -0
- package/dist/taro-components/p-d6441fd8.entry.js.map +1 -0
- package/dist/taro-components/{p-057159bc.system.entry.js → p-dcfb7d97.system.entry.js} +2 -2
- package/dist/taro-components/p-dcfb7d97.system.entry.js.map +1 -0
- package/dist/taro-components/p-e0d6b00b.entry.js.map +1 -1
- package/dist/taro-components/p-e5607803.system.entry.js +2 -0
- package/dist/taro-components/p-e5607803.system.entry.js.map +1 -0
- package/dist/taro-components/p-e7965c55.system.entry.js +2 -0
- package/dist/taro-components/p-e7965c55.system.entry.js.map +1 -0
- package/dist/taro-components/p-f00ee372.system.entry.js +2 -0
- package/dist/taro-components/p-f00ee372.system.entry.js.map +1 -0
- package/dist/taro-components/{p-7baff0b4.entry.js → p-f120c272.entry.js} +2 -2
- package/dist/taro-components/p-f120c272.entry.js.map +1 -0
- package/dist/taro-components/p-f81d14ad.entry.js +2 -0
- package/dist/taro-components/p-f81d14ad.entry.js.map +1 -0
- package/dist/taro-components/p-fae28cc1.system.entry.js +2 -0
- package/dist/taro-components/p-fae28cc1.system.entry.js.map +1 -0
- package/dist/taro-components/p-fb843ff2.system.entry.js +2 -0
- package/dist/taro-components/p-fb843ff2.system.entry.js.map +1 -0
- package/dist/taro-components/p-fc0fbcce.system.entry.js +2 -0
- package/dist/taro-components/p-fc0fbcce.system.entry.js.map +1 -0
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/taro-components/taro-components.esm.js.map +1 -1
- package/dist/types/components/animation-video/animation-video.d.ts +5 -0
- package/dist/types/components/animation-view/animation-view.d.ts +5 -0
- package/dist/types/components/ar-camera/ar-camera.d.ts +5 -0
- package/dist/types/components/aweme-data/aweme-data.d.ts +5 -0
- package/dist/types/components/button/button.d.ts +1 -0
- package/dist/types/components/comment/comment-detail.d.ts +5 -0
- package/dist/types/components/comment/comment-list.d.ts +5 -0
- package/dist/types/components/contact-button/contact-button.d.ts +5 -0
- package/dist/types/components/follow-swan/follow-swan.d.ts +5 -0
- package/dist/types/components/inline-payment-panel/inline-payment-panel.d.ts +5 -0
- package/dist/types/components/lifestyle/lifestyle.d.ts +5 -0
- package/dist/types/components/like/like.d.ts +5 -0
- package/dist/types/components/login/login.d.ts +5 -0
- package/dist/types/components/lottie/lottie.d.ts +5 -0
- package/dist/types/components/rtc-room/rtc-room-item.d.ts +5 -0
- package/dist/types/components/rtc-room/rtc-room.d.ts +5 -0
- package/dist/types/components/slot/native-slot.d.ts +5 -0
- package/dist/types/components/slot/slot.d.ts +1 -0
- package/dist/types/components/swiper/swiper.d.ts +4 -0
- package/dist/types/components/tabs/tab-item.d.ts +5 -0
- package/dist/types/components/tabs/tabs.d.ts +5 -0
- package/dist/types/components.d.ts +242 -0
- 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 +17 -9
- package/types/Ad.d.ts +1 -1
- package/types/AnimationVideo.d.ts +62 -0
- package/types/AnimationView.d.ts +45 -0
- package/types/ArCamera.d.ts +50 -0
- package/types/Audio.d.ts +1 -1
- package/types/AwemeData.d.ts +43 -0
- package/types/Button.d.ts +1 -1
- package/types/Camera.d.ts +1 -1
- package/types/Canvas.d.ts +1 -1
- package/types/Checkbox.d.ts +1 -1
- package/types/CheckboxGroup.d.ts +1 -1
- package/types/CommentDetail.d.ts +72 -0
- package/types/CommentList.d.ts +127 -0
- package/types/ContactButton.d.ts +53 -0
- package/types/CoverImage.d.ts +1 -1
- package/types/CoverView.d.ts +102 -4
- package/types/CustomWrapper.d.ts +2 -1
- package/types/FollowSwan.d.ts +28 -0
- package/types/Form.d.ts +1 -1
- package/types/Icon.d.ts +1 -1
- package/types/Image.d.ts +1 -1
- package/types/InlinePaymentPanel.d.ts +58 -0
- package/types/Input.d.ts +88 -11
- package/types/Label.d.ts +1 -1
- package/types/Lifestyle.d.ts +26 -0
- package/types/Like.d.ts +107 -0
- package/types/LivePlayer.d.ts +1 -1
- package/types/LivePusher.d.ts +1 -1
- package/types/Login.d.ts +45 -0
- package/types/Lottie.d.ts +113 -0
- package/types/Map.d.ts +2 -2
- package/types/MatchMedia.d.ts +1 -1
- package/types/MovableArea.d.ts +2 -2
- package/types/MovableView.d.ts +17 -17
- package/types/NativeSlot.d.ts +33 -0
- package/types/NavigationBar.d.ts +2 -1
- package/types/Navigator.d.ts +1 -1
- package/types/OpenData.d.ts +1 -1
- package/types/PageContainer.d.ts +28 -18
- package/types/PageMeta.d.ts +1 -1
- package/types/Picker.d.ts +1 -1
- package/types/PickerView.d.ts +1 -1
- package/types/PickerViewColumn.d.ts +1 -1
- package/types/Progress.d.ts +1 -1
- package/types/Radio.d.ts +1 -1
- package/types/RadioGroup.d.ts +1 -1
- package/types/RichText.d.ts +1 -1
- package/types/RootPortal.d.ts +11 -2
- package/types/RtcRoom.d.ts +104 -0
- package/types/RtcRoomItem.d.ts +26 -0
- package/types/ScrollView.d.ts +1 -1
- package/types/ShareElement.d.ts +20 -10
- package/types/Slider.d.ts +1 -1
- package/types/Slot.d.ts +3 -2
- package/types/Swiper.d.ts +13 -1
- package/types/SwiperItem.d.ts +3 -2
- package/types/Switch.d.ts +1 -1
- package/types/TabItem.d.ts +35 -0
- package/types/Tabs.d.ts +58 -0
- package/types/Text.d.ts +1 -1
- package/types/Textarea.d.ts +7 -1
- package/types/Video.d.ts +7 -3
- package/types/View.d.ts +8 -7
- package/types/VoipRoom.d.ts +1 -1
- package/types/WebView.d.ts +1 -1
- package/types/index.vue3.d.ts +268 -259
- package/virtual-list/index.d.ts +3 -120
- package/virtual-list/index.js +4 -7
- package/dist/react/component-lib/index.js +0 -64
- package/dist/react/component-lib/input.js +0 -23
- package/dist/react/component-lib/reactify-wc.js +0 -245
- package/dist/react/components.js +0 -65
- package/dist/react/helper.js +0 -13
- package/dist/react/index.js +0 -1
- package/dist/react/react-component-lib/index.js +0 -2
- package/dist/react/react-component-lib/interfaces.js +0 -1
- package/dist/react/react-component-lib/utils/attachProps.js +0 -107
- package/dist/react/react-component-lib/utils/case.js +0 -10
- package/dist/react/react-component-lib/utils/dev.js +0 -12
- package/dist/taro-components/p-057159bc.system.entry.js.map +0 -1
- package/dist/taro-components/p-1cd1c507.system.entry.js.map +0 -1
- package/dist/taro-components/p-1e436d5b.entry.js +0 -2
- package/dist/taro-components/p-1e436d5b.entry.js.map +0 -1
- package/dist/taro-components/p-22f9f9fa.entry.js.map +0 -1
- package/dist/taro-components/p-7baff0b4.entry.js.map +0 -1
- package/dist/taro-components/p-946c0799.system.entry.js +0 -2
- package/dist/taro-components/p-946c0799.system.entry.js.map +0 -1
- package/dist/taro-components/p-a2aab820.entry.js.map +0 -1
- package/dist/taro-components/p-c3acf0ea.system.entry.js.map +0 -1
- package/dist/taro-components/p-d5579efa.system.entry.js +0 -2
- package/dist/taro-components/p-d5579efa.system.entry.js.map +0 -1
- package/dist/taro-components/p-e9abe3e2.entry.js.map +0 -1
- package/dist/vue2/component-lib/components.js +0 -60
- package/dist/vue2/component-lib/createComponent.js +0 -21
- package/dist/vue2/component-lib/createFormsComponent.js +0 -63
- 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 -30
- package/dist/vue2/component-lib/mixins/listeners.js +0 -19
- package/dist/vue2/component-lib/mixins/refs.js +0 -49
- package/dist/vue2/component-lib/picker.js +0 -45
- package/dist/vue2/component-lib/scroll-view.js +0 -37
- package/dist/vue2/component-lib/text.js +0 -20
- package/dist/vue2/components.js +0 -490
- package/dist/vue2/index.js +0 -26
- package/dist/vue2/vue-component-lib/utils.js +0 -45
- package/dist/vue3/component-lib/createComponent.js +0 -23
- package/dist/vue3/component-lib/createFormsComponent.js +0 -52
- package/dist/vue3/component-lib/forwardRef.js +0 -11
- 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 -65
- 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 -64
- package/dist/vue3/index.js +0 -19
- package/dist/vue3/vue-component-lib/utils.js +0 -201
- package/virtual-list/domHelpers.js +0 -40
- package/virtual-list/memoize.js +0 -38
- package/virtual-list/react/FixedSizeList.js +0 -193
- package/virtual-list/react/createListComponent.js +0 -654
- package/virtual-list/react/index.d.ts +0 -123
- package/virtual-list/react/index.js +0 -67
- package/virtual-list/timer.js +0 -24
- package/virtual-list/vue/index.js +0 -589
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { JSX } from '@tarojs/components/dist/types/components';
|
|
2
|
+
declare const Ad: import("react").ForwardRefExoticComponent<JSX.TaroAdCore & Omit<import("react").HTMLAttributes<HTMLTaroAdCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroAdCoreElement>>;
|
|
3
|
+
declare const AdCustom: import("react").ForwardRefExoticComponent<JSX.TaroAdCustomCore & Omit<import("react").HTMLAttributes<HTMLTaroAdCustomCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroAdCustomCoreElement>>;
|
|
4
|
+
declare const AnimationVideo: import("react").ForwardRefExoticComponent<JSX.TaroAnimationVideoCore & Omit<import("react").HTMLAttributes<HTMLTaroAnimationVideoCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroAnimationVideoCoreElement>>;
|
|
5
|
+
declare const AnimationView: import("react").ForwardRefExoticComponent<JSX.TaroAnimationViewCore & Omit<import("react").HTMLAttributes<HTMLTaroAnimationViewCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroAnimationViewCoreElement>>;
|
|
6
|
+
declare const ArCamera: import("react").ForwardRefExoticComponent<JSX.TaroArCameraCore & Omit<import("react").HTMLAttributes<HTMLTaroArCameraCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroArCameraCoreElement>>;
|
|
7
|
+
declare const Audio: import("react").ForwardRefExoticComponent<JSX.TaroAudioCore & Omit<import("react").HTMLAttributes<HTMLTaroAudioCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroAudioCoreElement>>;
|
|
8
|
+
declare const AwemeData: import("react").ForwardRefExoticComponent<JSX.TaroAwemeDataCore & Omit<import("react").HTMLAttributes<HTMLTaroAwemeDataCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroAwemeDataCoreElement>>;
|
|
9
|
+
declare const Block: import("react").ExoticComponent<{
|
|
10
|
+
children?: import("react").ReactNode;
|
|
11
|
+
}>;
|
|
12
|
+
declare const Button: import("react").ForwardRefExoticComponent<JSX.TaroButtonCore & Omit<import("react").HTMLAttributes<HTMLTaroButtonCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroButtonCoreElement>>;
|
|
13
|
+
declare const Camera: import("react").ForwardRefExoticComponent<JSX.TaroCameraCore & Omit<import("react").HTMLAttributes<HTMLTaroCameraCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroCameraCoreElement>>;
|
|
14
|
+
declare const Canvas: import("react").ForwardRefExoticComponent<JSX.TaroCanvasCore & Omit<import("react").HTMLAttributes<HTMLTaroCanvasCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroCanvasCoreElement>>;
|
|
15
|
+
declare const Checkbox: import("react").ForwardRefExoticComponent<JSX.TaroCheckboxCore & Omit<import("react").HTMLAttributes<HTMLTaroCheckboxCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroCheckboxCoreElement>>;
|
|
16
|
+
declare const CheckboxGroup: import("react").ForwardRefExoticComponent<JSX.TaroCheckboxGroupCore & Omit<import("react").HTMLAttributes<HTMLTaroCheckboxGroupCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroCheckboxGroupCoreElement>>;
|
|
17
|
+
declare const CommentDetail: import("react").ForwardRefExoticComponent<JSX.TaroCommentDetailCore & Omit<import("react").HTMLAttributes<HTMLTaroCommentDetailCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroCommentDetailCoreElement>>;
|
|
18
|
+
declare const CommentList: import("react").ForwardRefExoticComponent<JSX.TaroCommentListCore & Omit<import("react").HTMLAttributes<HTMLTaroCommentListCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroCommentListCoreElement>>;
|
|
19
|
+
declare const ContactButton: import("react").ForwardRefExoticComponent<JSX.TaroContactButtonCore & Omit<import("react").HTMLAttributes<HTMLTaroContactButtonCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroContactButtonCoreElement>>;
|
|
20
|
+
declare const CoverImage: import("react").ForwardRefExoticComponent<JSX.TaroCoverImageCore & Omit<import("react").HTMLAttributes<HTMLTaroCoverImageCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroCoverImageCoreElement>>;
|
|
21
|
+
declare const CoverView: import("react").ForwardRefExoticComponent<JSX.TaroCoverViewCore & Omit<import("react").HTMLAttributes<HTMLTaroCoverViewCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroCoverViewCoreElement>>;
|
|
22
|
+
declare const CustomWrapper: import("react").ExoticComponent<{
|
|
23
|
+
children?: import("react").ReactNode;
|
|
24
|
+
}>;
|
|
25
|
+
declare const Editor: import("react").ForwardRefExoticComponent<JSX.TaroEditorCore & Omit<import("react").HTMLAttributes<HTMLTaroEditorCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroEditorCoreElement>>;
|
|
26
|
+
declare const FollowSwan: import("react").ForwardRefExoticComponent<JSX.TaroFollowSwanCore & Omit<import("react").HTMLAttributes<HTMLTaroFollowSwanCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroFollowSwanCoreElement>>;
|
|
27
|
+
declare const Form: import("react").ForwardRefExoticComponent<JSX.TaroFormCore & Omit<import("react").HTMLAttributes<HTMLTaroFormCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroFormCoreElement>>;
|
|
28
|
+
declare const FunctionalPageNavigator: import("react").ForwardRefExoticComponent<JSX.TaroFunctionalPageNavigatorCore & Omit<import("react").HTMLAttributes<HTMLTaroFunctionalPageNavigatorCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroFunctionalPageNavigatorCoreElement>>;
|
|
29
|
+
declare const Icon: import("react").ForwardRefExoticComponent<JSX.TaroIconCore & Omit<import("react").HTMLAttributes<HTMLTaroIconCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroIconCoreElement>>;
|
|
30
|
+
declare const Image: import("react").ForwardRefExoticComponent<JSX.TaroImageCore & Omit<import("react").HTMLAttributes<HTMLTaroImageCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroImageCoreElement>>;
|
|
31
|
+
declare const InlinePaymentPanel: import("react").ForwardRefExoticComponent<JSX.TaroInlinePaymentPanelCore & Omit<import("react").HTMLAttributes<HTMLTaroInlinePaymentPanelCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroInlinePaymentPanelCoreElement>>;
|
|
32
|
+
declare const Input: import("react").ForwardRefExoticComponent<JSX.TaroInputCore & Omit<import("react").HTMLAttributes<any>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<any>>;
|
|
33
|
+
declare const KeyboardAccessory: import("react").ForwardRefExoticComponent<JSX.TaroKeyboardAccessoryCore & Omit<import("react").HTMLAttributes<HTMLTaroKeyboardAccessoryCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroKeyboardAccessoryCoreElement>>;
|
|
34
|
+
declare const Label: import("react").ForwardRefExoticComponent<JSX.TaroLabelCore & Omit<import("react").HTMLAttributes<HTMLTaroLabelCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroLabelCoreElement>>;
|
|
35
|
+
declare const Lifestyle: import("react").ForwardRefExoticComponent<JSX.TaroLifestyleCore & Omit<import("react").HTMLAttributes<HTMLTaroLifestyleCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroLifestyleCoreElement>>;
|
|
36
|
+
declare const Like: import("react").ForwardRefExoticComponent<JSX.TaroLikeCore & Omit<import("react").HTMLAttributes<HTMLTaroLikeCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroLikeCoreElement>>;
|
|
37
|
+
declare const LivePlayer: import("react").ForwardRefExoticComponent<JSX.TaroLivePlayerCore & Omit<import("react").HTMLAttributes<HTMLTaroLivePlayerCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroLivePlayerCoreElement>>;
|
|
38
|
+
declare const LivePusher: import("react").ForwardRefExoticComponent<JSX.TaroLivePusherCore & Omit<import("react").HTMLAttributes<HTMLTaroLivePusherCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroLivePusherCoreElement>>;
|
|
39
|
+
declare const Login: import("react").ForwardRefExoticComponent<JSX.TaroLoginCore & Omit<import("react").HTMLAttributes<HTMLTaroLoginCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroLoginCoreElement>>;
|
|
40
|
+
declare const Lottie: import("react").ForwardRefExoticComponent<JSX.TaroLottieCore & Omit<import("react").HTMLAttributes<HTMLTaroLottieCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroLottieCoreElement>>;
|
|
41
|
+
declare const Map: import("react").ForwardRefExoticComponent<JSX.TaroMapCore & Omit<import("react").HTMLAttributes<HTMLTaroMapCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroMapCoreElement>>;
|
|
42
|
+
declare const MatchMedia: import("react").ForwardRefExoticComponent<JSX.TaroMatchMediaCore & Omit<import("react").HTMLAttributes<HTMLTaroMatchMediaCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroMatchMediaCoreElement>>;
|
|
43
|
+
declare const MovableArea: import("react").ForwardRefExoticComponent<JSX.TaroMovableAreaCore & Omit<import("react").HTMLAttributes<HTMLTaroMovableAreaCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroMovableAreaCoreElement>>;
|
|
44
|
+
declare const MovableView: import("react").ForwardRefExoticComponent<JSX.TaroMovableViewCore & Omit<import("react").HTMLAttributes<HTMLTaroMovableViewCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroMovableViewCoreElement>>;
|
|
45
|
+
declare const NativeSlot: import("react").ForwardRefExoticComponent<JSX.TaroNativeSlotCore & Omit<import("react").HTMLAttributes<HTMLTaroNativeSlotCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroNativeSlotCoreElement>>;
|
|
46
|
+
declare const NavigationBar: import("react").ForwardRefExoticComponent<JSX.TaroNavigationBarCore & Omit<import("react").HTMLAttributes<HTMLTaroNavigationBarCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroNavigationBarCoreElement>>;
|
|
47
|
+
declare const Navigator: import("react").ForwardRefExoticComponent<JSX.TaroNavigatorCore & Omit<import("react").HTMLAttributes<HTMLTaroNavigatorCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroNavigatorCoreElement>>;
|
|
48
|
+
declare const OfficialAccount: import("react").ForwardRefExoticComponent<JSX.TaroOfficialAccountCore & Omit<import("react").HTMLAttributes<HTMLTaroOfficialAccountCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroOfficialAccountCoreElement>>;
|
|
49
|
+
declare const OpenData: import("react").ForwardRefExoticComponent<JSX.TaroOpenDataCore & Omit<import("react").HTMLAttributes<HTMLTaroOpenDataCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroOpenDataCoreElement>>;
|
|
50
|
+
declare const PageContainer: import("react").ForwardRefExoticComponent<JSX.TaroPageContainerCore & Omit<import("react").HTMLAttributes<HTMLTaroPageContainerCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroPageContainerCoreElement>>;
|
|
51
|
+
declare const PageMeta: import("react").ForwardRefExoticComponent<JSX.TaroPageMetaCore & Omit<import("react").HTMLAttributes<HTMLTaroPageMetaCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroPageMetaCoreElement>>;
|
|
52
|
+
declare const Picker: import("react").ForwardRefExoticComponent<JSX.TaroPickerCore & Omit<import("react").HTMLAttributes<HTMLTaroPickerCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroPickerCoreElement>>;
|
|
53
|
+
declare const PickerGroup: import("react").ForwardRefExoticComponent<JSX.TaroPickerGroup & Omit<import("react").HTMLAttributes<HTMLTaroPickerGroupElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroPickerGroupElement>>;
|
|
54
|
+
declare const PickerViewColumn: import("react").ForwardRefExoticComponent<JSX.TaroPickerViewColumnCore & Omit<import("react").HTMLAttributes<HTMLTaroPickerViewColumnCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroPickerViewColumnCoreElement>>;
|
|
55
|
+
declare const PickerView: import("react").ForwardRefExoticComponent<JSX.TaroPickerViewCore & Omit<import("react").HTMLAttributes<HTMLTaroPickerViewCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroPickerViewCoreElement>>;
|
|
56
|
+
declare const Progress: import("react").ForwardRefExoticComponent<JSX.TaroProgressCore & Omit<import("react").HTMLAttributes<HTMLTaroProgressCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroProgressCoreElement>>;
|
|
57
|
+
declare const PullToRefresh: import("react").ForwardRefExoticComponent<JSX.TaroPullToRefresh & Omit<import("react").HTMLAttributes<HTMLTaroPullToRefreshElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroPullToRefreshElement>>;
|
|
58
|
+
declare const Radio: import("react").ForwardRefExoticComponent<JSX.TaroRadioCore & Omit<import("react").HTMLAttributes<HTMLTaroRadioCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroRadioCoreElement>>;
|
|
59
|
+
declare const RadioGroup: import("react").ForwardRefExoticComponent<JSX.TaroRadioGroupCore & Omit<import("react").HTMLAttributes<HTMLTaroRadioGroupCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroRadioGroupCoreElement>>;
|
|
60
|
+
declare const RichText: import("react").ForwardRefExoticComponent<JSX.TaroRichTextCore & Omit<import("react").HTMLAttributes<HTMLTaroRichTextCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroRichTextCoreElement>>;
|
|
61
|
+
declare const RootPortal: import("react").ForwardRefExoticComponent<JSX.TaroRootPortalCore & Omit<import("react").HTMLAttributes<HTMLTaroRootPortalCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroRootPortalCoreElement>>;
|
|
62
|
+
declare const RtcRoom: import("react").ForwardRefExoticComponent<JSX.TaroRtcRoomCore & Omit<import("react").HTMLAttributes<HTMLTaroRtcRoomCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroRtcRoomCoreElement>>;
|
|
63
|
+
declare const RtcRoomItem: import("react").ForwardRefExoticComponent<JSX.TaroRtcRoomItemCore & Omit<import("react").HTMLAttributes<HTMLTaroRtcRoomItemCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroRtcRoomItemCoreElement>>;
|
|
64
|
+
declare const ScrollView: import("react").ForwardRefExoticComponent<JSX.TaroScrollViewCore & Omit<import("react").HTMLAttributes<any>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<any>>;
|
|
65
|
+
declare const ShareElement: import("react").ForwardRefExoticComponent<JSX.TaroShareElementCore & Omit<import("react").HTMLAttributes<HTMLTaroShareElementCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroShareElementCoreElement>>;
|
|
66
|
+
declare const Slider: import("react").ForwardRefExoticComponent<JSX.TaroSliderCore & Omit<import("react").HTMLAttributes<HTMLTaroSliderCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroSliderCoreElement>>;
|
|
67
|
+
declare const Slot: import("react").ForwardRefExoticComponent<JSX.TaroSlotCore & Omit<import("react").HTMLAttributes<HTMLTaroSlotCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroSlotCoreElement>>;
|
|
68
|
+
declare const Swiper: import("react").ForwardRefExoticComponent<JSX.TaroSwiperCore & Omit<import("react").HTMLAttributes<HTMLTaroSwiperCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroSwiperCoreElement>>;
|
|
69
|
+
declare const SwiperItem: import("react").ForwardRefExoticComponent<JSX.TaroSwiperItemCore & Omit<import("react").HTMLAttributes<HTMLTaroSwiperItemCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroSwiperItemCoreElement>>;
|
|
70
|
+
declare const Switch: import("react").ForwardRefExoticComponent<JSX.TaroSwitchCore & Omit<import("react").HTMLAttributes<HTMLTaroSwitchCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroSwitchCoreElement>>;
|
|
71
|
+
declare const TabItem: import("react").ForwardRefExoticComponent<JSX.TaroTabItemCore & Omit<import("react").HTMLAttributes<HTMLTaroTabItemCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroTabItemCoreElement>>;
|
|
72
|
+
declare const Tabbar: import("react").ForwardRefExoticComponent<JSX.TaroTabbar & Omit<import("react").HTMLAttributes<HTMLTaroTabbarElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroTabbarElement>>;
|
|
73
|
+
declare const Tabs: import("react").ForwardRefExoticComponent<JSX.TaroTabsCore & Omit<import("react").HTMLAttributes<HTMLTaroTabsCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroTabsCoreElement>>;
|
|
74
|
+
declare const Text: import("react").ForwardRefExoticComponent<JSX.TaroTextCore & Omit<import("react").HTMLAttributes<HTMLTaroTextCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroTextCoreElement>>;
|
|
75
|
+
declare const Textarea: import("react").ForwardRefExoticComponent<JSX.TaroTextareaCore & Omit<import("react").HTMLAttributes<HTMLTaroTextareaCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroTextareaCoreElement>>;
|
|
76
|
+
declare const VideoControl: import("react").ForwardRefExoticComponent<JSX.TaroVideoControl & Omit<import("react").HTMLAttributes<HTMLTaroVideoControlElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroVideoControlElement>>;
|
|
77
|
+
declare const Video: import("react").ForwardRefExoticComponent<JSX.TaroVideoCore & Omit<import("react").HTMLAttributes<HTMLTaroVideoCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroVideoCoreElement>>;
|
|
78
|
+
declare const VideoDanmu: import("react").ForwardRefExoticComponent<JSX.TaroVideoDanmu & Omit<import("react").HTMLAttributes<HTMLTaroVideoDanmuElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroVideoDanmuElement>>;
|
|
79
|
+
declare const View: import("react").ForwardRefExoticComponent<JSX.TaroViewCore & Omit<import("react").HTMLAttributes<HTMLTaroViewCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroViewCoreElement>>;
|
|
80
|
+
declare const VoipRoom: import("react").ForwardRefExoticComponent<JSX.TaroVoipRoomCore & Omit<import("react").HTMLAttributes<HTMLTaroVoipRoomCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroVoipRoomCoreElement>>;
|
|
81
|
+
declare const WebView: import("react").ForwardRefExoticComponent<JSX.TaroWebViewCore & Omit<import("react").HTMLAttributes<HTMLTaroWebViewCoreElement>, "style"> & import("./interfaces-4f837811").StyleReactProps & import("react").RefAttributes<HTMLTaroWebViewCoreElement>>;
|
|
82
|
+
export { Ad, AdCustom, AnimationVideo, AnimationView, ArCamera, Audio, AwemeData, Block, Button, Camera, Canvas, Checkbox, CheckboxGroup, CommentDetail, CommentList, ContactButton, CoverImage, CoverView, CustomWrapper, Editor, FollowSwan, Form, FunctionalPageNavigator, Icon, Image, InlinePaymentPanel, Input, KeyboardAccessory, Label, Lifestyle, Like, LivePlayer, LivePusher, Login, Lottie, Map, MatchMedia, MovableArea, MovableView, NativeSlot, NavigationBar, Navigator, OfficialAccount, OpenData, PageContainer, PageMeta, Picker, PickerGroup, PickerViewColumn, PickerView, Progress, PullToRefresh, Radio, RadioGroup, RichText, RootPortal, RtcRoom, RtcRoomItem, ScrollView, ShareElement, Slider, Slot, Swiper, SwiperItem, Switch, TabItem, Tabbar, Tabs, Text, Textarea, VideoControl, Video, VideoDanmu, View, VoipRoom, WebView };
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Fragment } from 'react';
|
|
2
|
+
import { manipulatePropsFunction } from './helper.js';
|
|
3
|
+
import './react-component-lib/index.js';
|
|
4
|
+
import { createReactComponent } from './react-component-lib/createComponent.js';
|
|
5
|
+
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const Ad = /*@__PURE__*/ createReactComponent('taro-ad-core', undefined, manipulatePropsFunction);
|
|
8
|
+
const AdCustom = /*@__PURE__*/ createReactComponent('taro-ad-custom-core', undefined, manipulatePropsFunction);
|
|
9
|
+
const AnimationVideo = /*@__PURE__*/ createReactComponent('taro-animation-video-core', undefined, manipulatePropsFunction);
|
|
10
|
+
const AnimationView = /*@__PURE__*/ createReactComponent('taro-animation-view-core', undefined, manipulatePropsFunction);
|
|
11
|
+
const ArCamera = /*@__PURE__*/ createReactComponent('taro-ar-camera-core', undefined, manipulatePropsFunction);
|
|
12
|
+
const Audio = /*@__PURE__*/ createReactComponent('taro-audio-core', undefined, manipulatePropsFunction);
|
|
13
|
+
const AwemeData = /*@__PURE__*/ createReactComponent('taro-aweme-data-core', undefined, manipulatePropsFunction);
|
|
14
|
+
const Block = Fragment;
|
|
15
|
+
const Button = /*@__PURE__*/ createReactComponent('taro-button-core', undefined, manipulatePropsFunction);
|
|
16
|
+
const Camera = /*@__PURE__*/ createReactComponent('taro-camera-core', undefined, manipulatePropsFunction);
|
|
17
|
+
const Canvas = /*@__PURE__*/ createReactComponent('taro-canvas-core', undefined, manipulatePropsFunction);
|
|
18
|
+
const Checkbox = /*@__PURE__*/ createReactComponent('taro-checkbox-core', undefined, manipulatePropsFunction);
|
|
19
|
+
const CheckboxGroup = /*@__PURE__*/ createReactComponent('taro-checkbox-group-core', undefined, manipulatePropsFunction);
|
|
20
|
+
const CommentDetail = /*@__PURE__*/ createReactComponent('taro-comment-detail-core', undefined, manipulatePropsFunction);
|
|
21
|
+
const CommentList = /*@__PURE__*/ createReactComponent('taro-comment-list-core', undefined, manipulatePropsFunction);
|
|
22
|
+
const ContactButton = /*@__PURE__*/ createReactComponent('taro-contact-button-core', undefined, manipulatePropsFunction);
|
|
23
|
+
const CoverImage = /*@__PURE__*/ createReactComponent('taro-cover-image-core', undefined, manipulatePropsFunction);
|
|
24
|
+
const CoverView = /*@__PURE__*/ createReactComponent('taro-cover-view-core', undefined, manipulatePropsFunction);
|
|
25
|
+
const CustomWrapper = Fragment;
|
|
26
|
+
const Editor = /*@__PURE__*/ createReactComponent('taro-editor-core', undefined, manipulatePropsFunction);
|
|
27
|
+
const FollowSwan = /*@__PURE__*/ createReactComponent('taro-follow-swan-core', undefined, manipulatePropsFunction);
|
|
28
|
+
const Form = /*@__PURE__*/ createReactComponent('taro-form-core', undefined, manipulatePropsFunction);
|
|
29
|
+
const FunctionalPageNavigator = /*@__PURE__*/ createReactComponent('taro-functional-page-navigator-core', undefined, manipulatePropsFunction);
|
|
30
|
+
const Icon = /*@__PURE__*/ createReactComponent('taro-icon-core', undefined, manipulatePropsFunction);
|
|
31
|
+
const Image = /*@__PURE__*/ createReactComponent('taro-image-core', undefined, manipulatePropsFunction);
|
|
32
|
+
const InlinePaymentPanel = /*@__PURE__*/ createReactComponent('taro-inline-payment-panel-core', undefined, manipulatePropsFunction);
|
|
33
|
+
const Input = /*@__PURE__*/ createReactComponent('taro-input-core', undefined, manipulatePropsFunction);
|
|
34
|
+
const KeyboardAccessory = /*@__PURE__*/ createReactComponent('taro-keyboard-accessory-core', undefined, manipulatePropsFunction);
|
|
35
|
+
const Label = /*@__PURE__*/ createReactComponent('taro-label-core', undefined, manipulatePropsFunction);
|
|
36
|
+
const Lifestyle = /*@__PURE__*/ createReactComponent('taro-lifestyle-core', undefined, manipulatePropsFunction);
|
|
37
|
+
const Like = /*@__PURE__*/ createReactComponent('taro-like-core', undefined, manipulatePropsFunction);
|
|
38
|
+
const LivePlayer = /*@__PURE__*/ createReactComponent('taro-live-player-core', undefined, manipulatePropsFunction);
|
|
39
|
+
const LivePusher = /*@__PURE__*/ createReactComponent('taro-live-pusher-core', undefined, manipulatePropsFunction);
|
|
40
|
+
const Login = /*@__PURE__*/ createReactComponent('taro-login-core', undefined, manipulatePropsFunction);
|
|
41
|
+
const Lottie = /*@__PURE__*/ createReactComponent('taro-lottie-core', undefined, manipulatePropsFunction);
|
|
42
|
+
const Map = /*@__PURE__*/ createReactComponent('taro-map-core', undefined, manipulatePropsFunction);
|
|
43
|
+
const MatchMedia = /*@__PURE__*/ createReactComponent('taro-match-media-core', undefined, manipulatePropsFunction);
|
|
44
|
+
const MovableArea = /*@__PURE__*/ createReactComponent('taro-movable-area-core', undefined, manipulatePropsFunction);
|
|
45
|
+
const MovableView = /*@__PURE__*/ createReactComponent('taro-movable-view-core', undefined, manipulatePropsFunction);
|
|
46
|
+
const NativeSlot = /*@__PURE__*/ createReactComponent('taro-native-slot-core', undefined, manipulatePropsFunction);
|
|
47
|
+
const NavigationBar = /*@__PURE__*/ createReactComponent('taro-navigation-bar-core', undefined, manipulatePropsFunction);
|
|
48
|
+
const Navigator = /*@__PURE__*/ createReactComponent('taro-navigator-core', undefined, manipulatePropsFunction);
|
|
49
|
+
const OfficialAccount = /*@__PURE__*/ createReactComponent('taro-official-account-core', undefined, manipulatePropsFunction);
|
|
50
|
+
const OpenData = /*@__PURE__*/ createReactComponent('taro-open-data-core', undefined, manipulatePropsFunction);
|
|
51
|
+
const PageContainer = /*@__PURE__*/ createReactComponent('taro-page-container-core', undefined, manipulatePropsFunction);
|
|
52
|
+
const PageMeta = /*@__PURE__*/ createReactComponent('taro-page-meta-core', undefined, manipulatePropsFunction);
|
|
53
|
+
const Picker = /*@__PURE__*/ createReactComponent('taro-picker-core', undefined, manipulatePropsFunction);
|
|
54
|
+
const PickerGroup = /*@__PURE__*/ createReactComponent('taro-picker-group', undefined, manipulatePropsFunction);
|
|
55
|
+
const PickerViewColumn = /*@__PURE__*/ createReactComponent('taro-picker-view-column-core', undefined, manipulatePropsFunction);
|
|
56
|
+
const PickerView = /*@__PURE__*/ createReactComponent('taro-picker-view-core', undefined, manipulatePropsFunction);
|
|
57
|
+
const Progress = /*@__PURE__*/ createReactComponent('taro-progress-core', undefined, manipulatePropsFunction);
|
|
58
|
+
const PullToRefresh = /*@__PURE__*/ createReactComponent('taro-pull-to-refresh', undefined, manipulatePropsFunction);
|
|
59
|
+
const Radio = /*@__PURE__*/ createReactComponent('taro-radio-core', undefined, manipulatePropsFunction);
|
|
60
|
+
const RadioGroup = /*@__PURE__*/ createReactComponent('taro-radio-group-core', undefined, manipulatePropsFunction);
|
|
61
|
+
const RichText = /*@__PURE__*/ createReactComponent('taro-rich-text-core', undefined, manipulatePropsFunction);
|
|
62
|
+
const RootPortal = /*@__PURE__*/ createReactComponent('taro-root-portal-core', undefined, manipulatePropsFunction);
|
|
63
|
+
const RtcRoom = /*@__PURE__*/ createReactComponent('taro-rtc-room-core', undefined, manipulatePropsFunction);
|
|
64
|
+
const RtcRoomItem = /*@__PURE__*/ createReactComponent('taro-rtc-room-item-core', undefined, manipulatePropsFunction);
|
|
65
|
+
const ScrollView = /*@__PURE__*/ createReactComponent('taro-scroll-view-core', undefined, manipulatePropsFunction);
|
|
66
|
+
const ShareElement = /*@__PURE__*/ createReactComponent('taro-share-element-core', undefined, manipulatePropsFunction);
|
|
67
|
+
const Slider = /*@__PURE__*/ createReactComponent('taro-slider-core', undefined, manipulatePropsFunction);
|
|
68
|
+
const Slot = /*@__PURE__*/ createReactComponent('taro-slot-core', undefined, manipulatePropsFunction);
|
|
69
|
+
const Swiper = /*@__PURE__*/ createReactComponent('taro-swiper-core', undefined, manipulatePropsFunction);
|
|
70
|
+
const SwiperItem = /*@__PURE__*/ createReactComponent('taro-swiper-item-core', undefined, manipulatePropsFunction);
|
|
71
|
+
const Switch = /*@__PURE__*/ createReactComponent('taro-switch-core', undefined, manipulatePropsFunction);
|
|
72
|
+
const TabItem = /*@__PURE__*/ createReactComponent('taro-tab-item-core', undefined, manipulatePropsFunction);
|
|
73
|
+
const Tabbar = /*@__PURE__*/ createReactComponent('taro-tabbar', undefined, manipulatePropsFunction);
|
|
74
|
+
const Tabs = /*@__PURE__*/ createReactComponent('taro-tabs-core', undefined, manipulatePropsFunction);
|
|
75
|
+
const Text = /*@__PURE__*/ createReactComponent('taro-text-core', undefined, manipulatePropsFunction);
|
|
76
|
+
const Textarea = /*@__PURE__*/ createReactComponent('taro-textarea-core', undefined, manipulatePropsFunction);
|
|
77
|
+
const VideoControl = /*@__PURE__*/ createReactComponent('taro-video-control', undefined, manipulatePropsFunction);
|
|
78
|
+
const Video = /*@__PURE__*/ createReactComponent('taro-video-core', undefined, manipulatePropsFunction);
|
|
79
|
+
const VideoDanmu = /*@__PURE__*/ createReactComponent('taro-video-danmu', undefined, manipulatePropsFunction);
|
|
80
|
+
const View = /*@__PURE__*/ createReactComponent('taro-view-core', undefined, manipulatePropsFunction);
|
|
81
|
+
const VoipRoom = /*@__PURE__*/ createReactComponent('taro-voip-room-core', undefined, manipulatePropsFunction);
|
|
82
|
+
const WebView = /*@__PURE__*/ createReactComponent('taro-web-view-core', undefined, manipulatePropsFunction);
|
|
83
|
+
|
|
84
|
+
export { Ad, AdCustom, AnimationVideo, AnimationView, ArCamera, Audio, AwemeData, Block, Button, Camera, Canvas, Checkbox, CheckboxGroup, CommentDetail, CommentList, ContactButton, CoverImage, CoverView, CustomWrapper, Editor, FollowSwan, Form, FunctionalPageNavigator, Icon, Image, InlinePaymentPanel, Input, KeyboardAccessory, Label, Lifestyle, Like, LivePlayer, LivePusher, Login, Lottie, Map, MatchMedia, MovableArea, MovableView, NativeSlot, NavigationBar, Navigator, OfficialAccount, OpenData, PageContainer, PageMeta, Picker, PickerGroup, PickerView, PickerViewColumn, Progress, PullToRefresh, Radio, RadioGroup, RichText, RootPortal, RtcRoom, RtcRoomItem, ScrollView, ShareElement, Slider, Slot, Swiper, SwiperItem, Switch, TabItem, Tabbar, Tabs, Text, Textarea, Video, VideoControl, VideoDanmu, View, VoipRoom, WebView };
|
|
85
|
+
//# sourceMappingURL=components.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.js","sources":["../../../taro-components-library-react/src/components.ts"],"sourcesContent":["/* eslint-disable */\n/* tslint:disable */\n/* auto-generated react proxies */\nimport { Fragment } from 'react'\nimport { manipulatePropsFunction } from './helper'\nimport { createReactComponent } from './react-component-lib';\n\nimport type { JSX } from '@tarojs/components/dist/types/components';\n\n\n\nexport const Ad = /*@__PURE__*/createReactComponent<JSX.TaroAdCore, HTMLTaroAdCoreElement>('taro-ad-core', undefined, manipulatePropsFunction);\nexport const AdCustom = /*@__PURE__*/createReactComponent<JSX.TaroAdCustomCore, HTMLTaroAdCustomCoreElement>('taro-ad-custom-core', undefined, manipulatePropsFunction);\nexport const AnimationVideo = /*@__PURE__*/createReactComponent<JSX.TaroAnimationVideoCore, HTMLTaroAnimationVideoCoreElement>('taro-animation-video-core', undefined, manipulatePropsFunction);\nexport const AnimationView = /*@__PURE__*/createReactComponent<JSX.TaroAnimationViewCore, HTMLTaroAnimationViewCoreElement>('taro-animation-view-core', undefined, manipulatePropsFunction);\nexport const ArCamera = /*@__PURE__*/createReactComponent<JSX.TaroArCameraCore, HTMLTaroArCameraCoreElement>('taro-ar-camera-core', undefined, manipulatePropsFunction);\nexport const Audio = /*@__PURE__*/createReactComponent<JSX.TaroAudioCore, HTMLTaroAudioCoreElement>('taro-audio-core', undefined, manipulatePropsFunction);\nexport const AwemeData = /*@__PURE__*/createReactComponent<JSX.TaroAwemeDataCore, HTMLTaroAwemeDataCoreElement>('taro-aweme-data-core', undefined, manipulatePropsFunction);\nexport const Block = Fragment;\nexport const Button = /*@__PURE__*/createReactComponent<JSX.TaroButtonCore, HTMLTaroButtonCoreElement>('taro-button-core', undefined, manipulatePropsFunction);\nexport const Camera = /*@__PURE__*/createReactComponent<JSX.TaroCameraCore, HTMLTaroCameraCoreElement>('taro-camera-core', undefined, manipulatePropsFunction);\nexport const Canvas = /*@__PURE__*/createReactComponent<JSX.TaroCanvasCore, HTMLTaroCanvasCoreElement>('taro-canvas-core', undefined, manipulatePropsFunction);\nexport const Checkbox = /*@__PURE__*/createReactComponent<JSX.TaroCheckboxCore, HTMLTaroCheckboxCoreElement>('taro-checkbox-core', undefined, manipulatePropsFunction);\nexport const CheckboxGroup = /*@__PURE__*/createReactComponent<JSX.TaroCheckboxGroupCore, HTMLTaroCheckboxGroupCoreElement>('taro-checkbox-group-core', undefined, manipulatePropsFunction);\nexport const CommentDetail = /*@__PURE__*/createReactComponent<JSX.TaroCommentDetailCore, HTMLTaroCommentDetailCoreElement>('taro-comment-detail-core', undefined, manipulatePropsFunction);\nexport const CommentList = /*@__PURE__*/createReactComponent<JSX.TaroCommentListCore, HTMLTaroCommentListCoreElement>('taro-comment-list-core', undefined, manipulatePropsFunction);\nexport const ContactButton = /*@__PURE__*/createReactComponent<JSX.TaroContactButtonCore, HTMLTaroContactButtonCoreElement>('taro-contact-button-core', undefined, manipulatePropsFunction);\nexport const CoverImage = /*@__PURE__*/createReactComponent<JSX.TaroCoverImageCore, HTMLTaroCoverImageCoreElement>('taro-cover-image-core', undefined, manipulatePropsFunction);\nexport const CoverView = /*@__PURE__*/createReactComponent<JSX.TaroCoverViewCore, HTMLTaroCoverViewCoreElement>('taro-cover-view-core', undefined, manipulatePropsFunction);\nexport const CustomWrapper = Fragment;\nexport const Editor = /*@__PURE__*/createReactComponent<JSX.TaroEditorCore, HTMLTaroEditorCoreElement>('taro-editor-core', undefined, manipulatePropsFunction);\nexport const FollowSwan = /*@__PURE__*/createReactComponent<JSX.TaroFollowSwanCore, HTMLTaroFollowSwanCoreElement>('taro-follow-swan-core', undefined, manipulatePropsFunction);\nexport const Form = /*@__PURE__*/createReactComponent<JSX.TaroFormCore, HTMLTaroFormCoreElement>('taro-form-core', undefined, manipulatePropsFunction);\nexport const FunctionalPageNavigator = /*@__PURE__*/createReactComponent<JSX.TaroFunctionalPageNavigatorCore, HTMLTaroFunctionalPageNavigatorCoreElement>('taro-functional-page-navigator-core', undefined, manipulatePropsFunction);\nexport const Icon = /*@__PURE__*/createReactComponent<JSX.TaroIconCore, HTMLTaroIconCoreElement>('taro-icon-core', undefined, manipulatePropsFunction);\nexport const Image = /*@__PURE__*/createReactComponent<JSX.TaroImageCore, HTMLTaroImageCoreElement>('taro-image-core', undefined, manipulatePropsFunction);\nexport const InlinePaymentPanel = /*@__PURE__*/createReactComponent<JSX.TaroInlinePaymentPanelCore, HTMLTaroInlinePaymentPanelCoreElement>('taro-inline-payment-panel-core', undefined, manipulatePropsFunction);\nexport const Input = /*@__PURE__*/createReactComponent<JSX.TaroInputCore, any>('taro-input-core', undefined, manipulatePropsFunction);\nexport const KeyboardAccessory = /*@__PURE__*/createReactComponent<JSX.TaroKeyboardAccessoryCore, HTMLTaroKeyboardAccessoryCoreElement>('taro-keyboard-accessory-core', undefined, manipulatePropsFunction);\nexport const Label = /*@__PURE__*/createReactComponent<JSX.TaroLabelCore, HTMLTaroLabelCoreElement>('taro-label-core', undefined, manipulatePropsFunction);\nexport const Lifestyle = /*@__PURE__*/createReactComponent<JSX.TaroLifestyleCore, HTMLTaroLifestyleCoreElement>('taro-lifestyle-core', undefined, manipulatePropsFunction);\nexport const Like = /*@__PURE__*/createReactComponent<JSX.TaroLikeCore, HTMLTaroLikeCoreElement>('taro-like-core', undefined, manipulatePropsFunction);\nexport const LivePlayer = /*@__PURE__*/createReactComponent<JSX.TaroLivePlayerCore, HTMLTaroLivePlayerCoreElement>('taro-live-player-core', undefined, manipulatePropsFunction);\nexport const LivePusher = /*@__PURE__*/createReactComponent<JSX.TaroLivePusherCore, HTMLTaroLivePusherCoreElement>('taro-live-pusher-core', undefined, manipulatePropsFunction);\nexport const Login = /*@__PURE__*/createReactComponent<JSX.TaroLoginCore, HTMLTaroLoginCoreElement>('taro-login-core', undefined, manipulatePropsFunction);\nexport const Lottie = /*@__PURE__*/createReactComponent<JSX.TaroLottieCore, HTMLTaroLottieCoreElement>('taro-lottie-core', undefined, manipulatePropsFunction);\nexport const Map = /*@__PURE__*/createReactComponent<JSX.TaroMapCore, HTMLTaroMapCoreElement>('taro-map-core', undefined, manipulatePropsFunction);\nexport const MatchMedia = /*@__PURE__*/createReactComponent<JSX.TaroMatchMediaCore, HTMLTaroMatchMediaCoreElement>('taro-match-media-core', undefined, manipulatePropsFunction);\nexport const MovableArea = /*@__PURE__*/createReactComponent<JSX.TaroMovableAreaCore, HTMLTaroMovableAreaCoreElement>('taro-movable-area-core', undefined, manipulatePropsFunction);\nexport const MovableView = /*@__PURE__*/createReactComponent<JSX.TaroMovableViewCore, HTMLTaroMovableViewCoreElement>('taro-movable-view-core', undefined, manipulatePropsFunction);\nexport const NativeSlot = /*@__PURE__*/createReactComponent<JSX.TaroNativeSlotCore, HTMLTaroNativeSlotCoreElement>('taro-native-slot-core', undefined, manipulatePropsFunction);\nexport const NavigationBar = /*@__PURE__*/createReactComponent<JSX.TaroNavigationBarCore, HTMLTaroNavigationBarCoreElement>('taro-navigation-bar-core', undefined, manipulatePropsFunction);\nexport const Navigator = /*@__PURE__*/createReactComponent<JSX.TaroNavigatorCore, HTMLTaroNavigatorCoreElement>('taro-navigator-core', undefined, manipulatePropsFunction);\nexport const OfficialAccount = /*@__PURE__*/createReactComponent<JSX.TaroOfficialAccountCore, HTMLTaroOfficialAccountCoreElement>('taro-official-account-core', undefined, manipulatePropsFunction);\nexport const OpenData = /*@__PURE__*/createReactComponent<JSX.TaroOpenDataCore, HTMLTaroOpenDataCoreElement>('taro-open-data-core', undefined, manipulatePropsFunction);\nexport const PageContainer = /*@__PURE__*/createReactComponent<JSX.TaroPageContainerCore, HTMLTaroPageContainerCoreElement>('taro-page-container-core', undefined, manipulatePropsFunction);\nexport const PageMeta = /*@__PURE__*/createReactComponent<JSX.TaroPageMetaCore, HTMLTaroPageMetaCoreElement>('taro-page-meta-core', undefined, manipulatePropsFunction);\nexport const Picker = /*@__PURE__*/createReactComponent<JSX.TaroPickerCore, HTMLTaroPickerCoreElement>('taro-picker-core', undefined, manipulatePropsFunction);\nexport const PickerGroup = /*@__PURE__*/createReactComponent<JSX.TaroPickerGroup, HTMLTaroPickerGroupElement>('taro-picker-group', undefined, manipulatePropsFunction);\nexport const PickerViewColumn = /*@__PURE__*/createReactComponent<JSX.TaroPickerViewColumnCore, HTMLTaroPickerViewColumnCoreElement>('taro-picker-view-column-core', undefined, manipulatePropsFunction);\nexport const PickerView = /*@__PURE__*/createReactComponent<JSX.TaroPickerViewCore, HTMLTaroPickerViewCoreElement>('taro-picker-view-core', undefined, manipulatePropsFunction);\nexport const Progress = /*@__PURE__*/createReactComponent<JSX.TaroProgressCore, HTMLTaroProgressCoreElement>('taro-progress-core', undefined, manipulatePropsFunction);\nexport const PullToRefresh = /*@__PURE__*/createReactComponent<JSX.TaroPullToRefresh, HTMLTaroPullToRefreshElement>('taro-pull-to-refresh', undefined, manipulatePropsFunction);\nexport const Radio = /*@__PURE__*/createReactComponent<JSX.TaroRadioCore, HTMLTaroRadioCoreElement>('taro-radio-core', undefined, manipulatePropsFunction);\nexport const RadioGroup = /*@__PURE__*/createReactComponent<JSX.TaroRadioGroupCore, HTMLTaroRadioGroupCoreElement>('taro-radio-group-core', undefined, manipulatePropsFunction);\nexport const RichText = /*@__PURE__*/createReactComponent<JSX.TaroRichTextCore, HTMLTaroRichTextCoreElement>('taro-rich-text-core', undefined, manipulatePropsFunction);\nexport const RootPortal = /*@__PURE__*/createReactComponent<JSX.TaroRootPortalCore, HTMLTaroRootPortalCoreElement>('taro-root-portal-core', undefined, manipulatePropsFunction);\nexport const RtcRoom = /*@__PURE__*/createReactComponent<JSX.TaroRtcRoomCore, HTMLTaroRtcRoomCoreElement>('taro-rtc-room-core', undefined, manipulatePropsFunction);\nexport const RtcRoomItem = /*@__PURE__*/createReactComponent<JSX.TaroRtcRoomItemCore, HTMLTaroRtcRoomItemCoreElement>('taro-rtc-room-item-core', undefined, manipulatePropsFunction);\nexport const ScrollView = /*@__PURE__*/createReactComponent<JSX.TaroScrollViewCore, any>('taro-scroll-view-core', undefined, manipulatePropsFunction);\nexport const ShareElement = /*@__PURE__*/createReactComponent<JSX.TaroShareElementCore, HTMLTaroShareElementCoreElement>('taro-share-element-core', undefined, manipulatePropsFunction);\nexport const Slider = /*@__PURE__*/createReactComponent<JSX.TaroSliderCore, HTMLTaroSliderCoreElement>('taro-slider-core', undefined, manipulatePropsFunction);\nexport const Slot = /*@__PURE__*/createReactComponent<JSX.TaroSlotCore, HTMLTaroSlotCoreElement>('taro-slot-core', undefined, manipulatePropsFunction);\nexport const Swiper = /*@__PURE__*/createReactComponent<JSX.TaroSwiperCore, HTMLTaroSwiperCoreElement>('taro-swiper-core', undefined, manipulatePropsFunction);\nexport const SwiperItem = /*@__PURE__*/createReactComponent<JSX.TaroSwiperItemCore, HTMLTaroSwiperItemCoreElement>('taro-swiper-item-core', undefined, manipulatePropsFunction);\nexport const Switch = /*@__PURE__*/createReactComponent<JSX.TaroSwitchCore, HTMLTaroSwitchCoreElement>('taro-switch-core', undefined, manipulatePropsFunction);\nexport const TabItem = /*@__PURE__*/createReactComponent<JSX.TaroTabItemCore, HTMLTaroTabItemCoreElement>('taro-tab-item-core', undefined, manipulatePropsFunction);\nexport const Tabbar = /*@__PURE__*/createReactComponent<JSX.TaroTabbar, HTMLTaroTabbarElement>('taro-tabbar', undefined, manipulatePropsFunction);\nexport const Tabs = /*@__PURE__*/createReactComponent<JSX.TaroTabsCore, HTMLTaroTabsCoreElement>('taro-tabs-core', undefined, manipulatePropsFunction);\nexport const Text = /*@__PURE__*/createReactComponent<JSX.TaroTextCore, HTMLTaroTextCoreElement>('taro-text-core', undefined, manipulatePropsFunction);\nexport const Textarea = /*@__PURE__*/createReactComponent<JSX.TaroTextareaCore, HTMLTaroTextareaCoreElement>('taro-textarea-core', undefined, manipulatePropsFunction);\nexport const VideoControl = /*@__PURE__*/createReactComponent<JSX.TaroVideoControl, HTMLTaroVideoControlElement>('taro-video-control', undefined, manipulatePropsFunction);\nexport const Video = /*@__PURE__*/createReactComponent<JSX.TaroVideoCore, HTMLTaroVideoCoreElement>('taro-video-core', undefined, manipulatePropsFunction);\nexport const VideoDanmu = /*@__PURE__*/createReactComponent<JSX.TaroVideoDanmu, HTMLTaroVideoDanmuElement>('taro-video-danmu', undefined, manipulatePropsFunction);\nexport const View = /*@__PURE__*/createReactComponent<JSX.TaroViewCore, HTMLTaroViewCoreElement>('taro-view-core', undefined, manipulatePropsFunction);\nexport const VoipRoom = /*@__PURE__*/createReactComponent<JSX.TaroVoipRoomCore, HTMLTaroVoipRoomCoreElement>('taro-voip-room-core', undefined, manipulatePropsFunction);\nexport const WebView = /*@__PURE__*/createReactComponent<JSX.TaroWebViewCore, HTMLTaroWebViewCoreElement>('taro-web-view-core', undefined, manipulatePropsFunction);\n"],"names":[],"mappings":";;;;;AAAA;AAWO,MAAM,EAAE,iBAAgB,oBAAoB,CAAwC,cAAc,EAAE,SAAS,EAAE,uBAAuB,EAAE;AACxI,MAAM,QAAQ,iBAAgB,oBAAoB,CAAoD,qBAAqB,EAAE,SAAS,EAAE,uBAAuB,EAAE;AACjK,MAAM,cAAc,iBAAgB,oBAAoB,CAAgE,2BAA2B,EAAE,SAAS,EAAE,uBAAuB,EAAE;AACzL,MAAM,aAAa,iBAAgB,oBAAoB,CAA8D,0BAA0B,EAAE,SAAS,EAAE,uBAAuB,EAAE;AACrL,MAAM,QAAQ,iBAAgB,oBAAoB,CAAoD,qBAAqB,EAAE,SAAS,EAAE,uBAAuB,EAAE;AACjK,MAAM,KAAK,iBAAgB,oBAAoB,CAA8C,iBAAiB,EAAE,SAAS,EAAE,uBAAuB,EAAE;AACpJ,MAAM,SAAS,iBAAgB,oBAAoB,CAAsD,sBAAsB,EAAE,SAAS,EAAE,uBAAuB,EAAE;AACrK,MAAM,KAAK,GAAG,SAAS;AACvB,MAAM,MAAM,iBAAgB,oBAAoB,CAAgD,kBAAkB,EAAE,SAAS,EAAE,uBAAuB,EAAE;AACxJ,MAAM,MAAM,iBAAgB,oBAAoB,CAAgD,kBAAkB,EAAE,SAAS,EAAE,uBAAuB,EAAE;AACxJ,MAAM,MAAM,iBAAgB,oBAAoB,CAAgD,kBAAkB,EAAE,SAAS,EAAE,uBAAuB,EAAE;AACxJ,MAAM,QAAQ,iBAAgB,oBAAoB,CAAoD,oBAAoB,EAAE,SAAS,EAAE,u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gB,oBAAoB,CAA8C,iBAAiB,EAAE,SAAS,EAAE,uBAAuB,EAAE;AACpJ,MAAM,UAAU,iBAAgB,oBAAoB,CAAgD,kBAAkB,EAAE,SAAS,EAAE,uBAAuB,EAAE;AAC5J,MAAM,IAAI,iBAAgB,oBAAoB,CAA4C,gBAAgB,EAAE,SAAS,EAAE,uBAAuB,EAAE;AAChJ,MAAM,QAAQ,iBAAgB,oBAAoB,CAAoD,qBAAqB,EAAE,SAAS,EAAE,uBAAuB,EAAE;AACjK,MAAM,OAAO,iBAAgB,oBAAoB,CAAkD,oBAAoB,EAAE,SAAS,EAAE,uBAAuB;;;;"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
interface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {
|
|
2
|
+
forwardedRef: React.RefObject<ElementType>;
|
|
3
|
+
ref?: React.Ref<any>;
|
|
4
|
+
}
|
|
5
|
+
declare const manipulatePropsFunction: <ElementType>(originalProps: StencilReactInternalProps<ElementType>, propsToPass?: Record<string, unknown>) => {
|
|
6
|
+
dangerouslySetInnerHTML: {
|
|
7
|
+
__html: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export { manipulatePropsFunction };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
const manipulatePropsFunction = (originalProps, propsToPass = {}) => {
|
|
2
|
+
const { dangerouslySetInnerHTML } = originalProps;
|
|
3
|
+
return Object.assign(Object.assign({}, propsToPass), { dangerouslySetInnerHTML });
|
|
4
|
+
};
|
|
5
|
+
|
|
6
|
+
export { manipulatePropsFunction };
|
|
7
|
+
//# sourceMappingURL=helper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helper.js","sources":["../../../taro-components-library-react/src/helper.ts"],"sourcesContent":["interface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {\n forwardedRef: React.RefObject<ElementType>\n ref?: React.Ref<any>\n}\n\nexport const manipulatePropsFunction = <ElementType>(\n originalProps: StencilReactInternalProps<ElementType>,\n propsToPass: Record<string, unknown> = {}\n) => {\n const { dangerouslySetInnerHTML } = originalProps\n return {\n ...propsToPass,\n dangerouslySetInnerHTML\n }\n}\n"],"names":[],"mappings":"AAKa,MAAA,uBAAuB,GAAG,CACrC,aAAqD,EACrD,WAAA,GAAuC,EAAE,KACvC;AACF,IAAA,MAAM,EAAE,uBAAuB,EAAE,GAAG,aAAa,CAAA;IACjD,OACK,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,WAAW,CACd,EAAA,EAAA,uBAAuB,EACxB,CAAA,CAAA;AACH;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./components";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export { Ad, AdCustom, AnimationVideo, AnimationView, ArCamera, Audio, AwemeData, Block, Button, Camera, Canvas, Checkbox, CheckboxGroup, CommentDetail, CommentList, ContactButton, CoverImage, CoverView, CustomWrapper, Editor, FollowSwan, Form, FunctionalPageNavigator, Icon, Image, InlinePaymentPanel, Input, KeyboardAccessory, Label, Lifestyle, Like, LivePlayer, LivePusher, Login, Lottie, Map, MatchMedia, MovableArea, MovableView, NativeSlot, NavigationBar, Navigator, OfficialAccount, OpenData, PageContainer, PageMeta, Picker, PickerGroup, PickerView, PickerViewColumn, Progress, PullToRefresh, Radio, RadioGroup, RichText, RootPortal, RtcRoom, RtcRoomItem, ScrollView, ShareElement, Slider, Slot, Swiper, SwiperItem, Switch, TabItem, Tabbar, Tabs, Text, Textarea, Video, VideoControl, VideoDanmu, View, VoipRoom, WebView } from './components.js';
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
interface EventEmitter<T = any> {
|
|
2
|
+
emit: (data?: T) => CustomEvent<T>;
|
|
3
|
+
}
|
|
4
|
+
interface StyleReactProps {
|
|
5
|
+
class?: string;
|
|
6
|
+
className?: string;
|
|
7
|
+
style?: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
interface OverlayEventDetail<T = any> {
|
|
12
|
+
data?: T;
|
|
13
|
+
role?: string;
|
|
14
|
+
}
|
|
15
|
+
interface OverlayInterface {
|
|
16
|
+
el: HTMLElement;
|
|
17
|
+
animated: boolean;
|
|
18
|
+
keyboardClose: boolean;
|
|
19
|
+
overlayIndex: number;
|
|
20
|
+
presented: boolean;
|
|
21
|
+
enterAnimation?: any;
|
|
22
|
+
leaveAnimation?: any;
|
|
23
|
+
didPresent: EventEmitter<void>;
|
|
24
|
+
willPresent: EventEmitter<void>;
|
|
25
|
+
willDismiss: EventEmitter<OverlayEventDetail>;
|
|
26
|
+
didDismiss: EventEmitter<OverlayEventDetail>;
|
|
27
|
+
present(): Promise<void>;
|
|
28
|
+
dismiss(data?: any, role?: string): Promise<boolean>;
|
|
29
|
+
}
|
|
30
|
+
export { EventEmitter, StyleReactProps, OverlayEventDetail, OverlayInterface };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface HTMLStencilElement extends HTMLElement {
|
|
3
|
+
componentOnReady(): Promise<this>;
|
|
4
|
+
}
|
|
5
|
+
interface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {
|
|
6
|
+
forwardedRef: React.RefObject<ElementType>;
|
|
7
|
+
ref?: React.Ref<any>;
|
|
8
|
+
}
|
|
9
|
+
declare const createReactComponent: <PropType, ElementType extends HTMLStencilElement, ContextStateType = {}, ExpandedPropsTypes = {}>(tagName: string, ReactComponentContext?: React.Context<ContextStateType>, manipulatePropsFunction?: (originalProps: StencilReactInternalProps<ElementType>, propsToPass: any) => ExpandedPropsTypes, defineCustomElement?: () => void) => React.ForwardRefExoticComponent<React.PropsWithoutRef<import("./utils/index").StencilReactExternalProps<PropType, ElementType>> & React.RefAttributes<ElementType>>;
|
|
10
|
+
export { HTMLStencilElement, createReactComponent };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { __rest } from 'tslib';
|
|
2
|
+
import React, { createElement } from 'react';
|
|
3
|
+
import { mergeRefs, createForwardRef } from './utils/index.js';
|
|
4
|
+
import { dashToPascalCase, camelToDashCase } from './utils/case.js';
|
|
5
|
+
import { attachProps, isCoveredByReact } from './utils/attachProps.js';
|
|
6
|
+
|
|
7
|
+
const createReactComponent = (tagName, ReactComponentContext, manipulatePropsFunction, defineCustomElement) => {
|
|
8
|
+
if (defineCustomElement !== undefined) {
|
|
9
|
+
defineCustomElement();
|
|
10
|
+
}
|
|
11
|
+
const displayName = dashToPascalCase(tagName);
|
|
12
|
+
const ReactComponent = class extends React.Component {
|
|
13
|
+
constructor(props) {
|
|
14
|
+
super(props);
|
|
15
|
+
this.setComponentElRef = (element) => {
|
|
16
|
+
this.componentEl = element;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
componentDidMount() {
|
|
20
|
+
this.componentDidUpdate(this.props);
|
|
21
|
+
}
|
|
22
|
+
componentDidUpdate(prevProps) {
|
|
23
|
+
attachProps(this.componentEl, this.props, prevProps);
|
|
24
|
+
}
|
|
25
|
+
render() {
|
|
26
|
+
const _a = this.props, { children, forwardedRef, style, className, ref } = _a, cProps = __rest(_a, ["children", "forwardedRef", "style", "className", "ref"]);
|
|
27
|
+
let propsToPass = Object.keys(cProps).reduce((acc, name) => {
|
|
28
|
+
const value = cProps[name];
|
|
29
|
+
if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {
|
|
30
|
+
const eventName = name.substring(2).toLowerCase();
|
|
31
|
+
if (typeof document !== 'undefined' && isCoveredByReact(eventName)) {
|
|
32
|
+
acc[name] = value;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
// we should only render strings, booleans, and numbers as attrs in html.
|
|
37
|
+
// objects, functions, arrays etc get synced via properties on mount.
|
|
38
|
+
const type = typeof value;
|
|
39
|
+
if (type === 'string' || type === 'boolean' || type === 'number') {
|
|
40
|
+
acc[camelToDashCase(name)] = value;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
return acc;
|
|
44
|
+
}, {});
|
|
45
|
+
if (manipulatePropsFunction) {
|
|
46
|
+
propsToPass = manipulatePropsFunction(this.props, propsToPass);
|
|
47
|
+
}
|
|
48
|
+
const newProps = Object.assign(Object.assign({}, propsToPass), { ref: mergeRefs(forwardedRef, this.setComponentElRef), style });
|
|
49
|
+
/**
|
|
50
|
+
* We use createElement here instead of
|
|
51
|
+
* React.createElement to work around a
|
|
52
|
+
* bug in Vite (https://github.com/vitejs/vite/issues/6104).
|
|
53
|
+
* React.createElement causes all elements to be rendered
|
|
54
|
+
* as <tagname> instead of the actual Web Component.
|
|
55
|
+
*/
|
|
56
|
+
return createElement(tagName, newProps, children);
|
|
57
|
+
}
|
|
58
|
+
static get displayName() {
|
|
59
|
+
return displayName;
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
// If context was passed to createReactComponent then conditionally add it to the Component Class
|
|
63
|
+
if (ReactComponentContext) {
|
|
64
|
+
ReactComponent.contextType = ReactComponentContext;
|
|
65
|
+
}
|
|
66
|
+
return createForwardRef(ReactComponent, displayName);
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export { createReactComponent };
|
|
70
|
+
//# sourceMappingURL=createComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createComponent.js","sources":["../../../../taro-components-library-react/src/react-component-lib/createComponent.tsx"],"sourcesContent":["import React, { createElement } from 'react';\n\nimport {\n attachProps,\n camelToDashCase,\n createForwardRef,\n dashToPascalCase,\n isCoveredByReact,\n mergeRefs,\n} from './utils';\n\nexport interface HTMLStencilElement extends HTMLElement {\n componentOnReady(): Promise<this>;\n}\n\ninterface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {\n forwardedRef: React.RefObject<ElementType>;\n ref?: React.Ref<any>;\n}\n\nexport const createReactComponent = <\n PropType,\n ElementType extends HTMLStencilElement,\n ContextStateType = {},\n ExpandedPropsTypes = {}\n>(\n tagName: string,\n ReactComponentContext?: React.Context<ContextStateType>,\n manipulatePropsFunction?: (\n originalProps: StencilReactInternalProps<ElementType>,\n propsToPass: any,\n ) => ExpandedPropsTypes,\n defineCustomElement?: () => void,\n) => {\n if (defineCustomElement !== undefined) {\n defineCustomElement();\n }\n\n const displayName = dashToPascalCase(tagName);\n const ReactComponent = class extends React.Component<StencilReactInternalProps<ElementType>> {\n componentEl!: ElementType;\n\n setComponentElRef = (element: ElementType) => {\n this.componentEl = element;\n };\n\n constructor(props: StencilReactInternalProps<ElementType>) {\n super(props);\n }\n\n componentDidMount() {\n this.componentDidUpdate(this.props);\n }\n\n componentDidUpdate(prevProps: StencilReactInternalProps<ElementType>) {\n attachProps(this.componentEl, this.props, prevProps);\n }\n\n render() {\n const { children, forwardedRef, style, className, ref, ...cProps } = this.props;\n\n let propsToPass = Object.keys(cProps).reduce((acc: any, name) => {\n const value = (cProps as any)[name];\n\n if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {\n const eventName = name.substring(2).toLowerCase();\n if (typeof document !== 'undefined' && isCoveredByReact(eventName)) {\n acc[name] = value;\n }\n } else {\n // we should only render strings, booleans, and numbers as attrs in html.\n // objects, functions, arrays etc get synced via properties on mount.\n const type = typeof value;\n\n if (type === 'string' || type === 'boolean' || type === 'number') {\n acc[camelToDashCase(name)] = value;\n }\n }\n return acc;\n }, {});\n\n if (manipulatePropsFunction) {\n propsToPass = manipulatePropsFunction(this.props, propsToPass);\n }\n\n const newProps: Omit<StencilReactInternalProps<ElementType>, 'forwardedRef'> = {\n ...propsToPass,\n ref: mergeRefs(forwardedRef, this.setComponentElRef),\n style,\n };\n\n /**\n * We use createElement here instead of\n * React.createElement to work around a\n * bug in Vite (https://github.com/vitejs/vite/issues/6104).\n * React.createElement causes all elements to be rendered\n * as <tagname> instead of the actual Web Component.\n */\n return createElement(tagName, newProps, children);\n }\n\n static get displayName() {\n return displayName;\n }\n };\n\n // If context was passed to createReactComponent then conditionally add it to the Component Class\n if (ReactComponentContext) {\n ReactComponent.contextType = ReactComponentContext;\n }\n\n return createForwardRef<PropType, ElementType>(ReactComponent, displayName);\n};\n"],"names":[],"mappings":";;;;;;AAoBO,MAAM,oBAAoB,GAAG,CAMlC,OAAe,EACf,qBAAuD,EACvD,uBAGuB,EACvB,mBAAgC,KAC9B;IACF,IAAI,mBAAmB,KAAK,SAAS,EAAE;AACrC,QAAA,mBAAmB,EAAE,CAAC;AACvB,KAAA;AAED,IAAA,MAAM,WAAW,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;AAC9C,IAAA,MAAM,cAAc,GAAG,cAAc,KAAK,CAAC,SAAiD,CAAA;AAO1F,QAAA,WAAA,CAAY,KAA6C,EAAA;YACvD,KAAK,CAAC,KAAK,CAAC,CAAC;AALf,YAAA,IAAA,CAAA,iBAAiB,GAAG,CAAC,OAAoB,KAAI;AAC3C,gBAAA,IAAI,CAAC,WAAW,GAAG,OAAO,CAAC;AAC7B,aAAC,CAAC;SAID;QAED,iBAAiB,GAAA;AACf,YAAA,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;SACrC;AAED,QAAA,kBAAkB,CAAC,SAAiD,EAAA;YAClE,WAAW,CAAC,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;SACtD;QAED,MAAM,GAAA;YACJ,MAAM,EAAA,GAA+D,IAAI,CAAC,KAAK,EAAzE,EAAE,QAAQ,EAAE,YAAY,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,EAAA,GAAA,EAA0B,EAArB,MAAM,GAAA,MAAA,CAAA,EAAA,EAA1D,CAA4D,UAAA,EAAA,cAAA,EAAA,OAAA,EAAA,WAAA,EAAA,KAAA,CAAA,CAAa,C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a,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;SACnD;AAED,QAAA,WAAW,WAAW,GAAA;AACpB,YAAA,OAAO,WAAW,CAAC;SACpB;KACF,CAAC;;AAGF,IAAA,IAAI,qBAAqB,EAAE;AACzB,QAAA,cAAc,CAAC,WAAW,GAAG,qBAAqB,CAAC;AACpD,KAAA;AAED,IAAA,OAAO,gBAAgB,CAAwB,cAAc,EAAE,WAAW,CAAC,CAAC;AAC9E;;;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { OverlayEventDetail } from "../interfaces-4f837811";
|
|
3
|
+
import { StencilReactForwardedRef } from "./utils/index";
|
|
4
|
+
interface OverlayElement extends HTMLElement {
|
|
5
|
+
present: () => Promise<void>;
|
|
6
|
+
dismiss: (data?: any, role?: string | undefined) => Promise<boolean>;
|
|
7
|
+
}
|
|
8
|
+
interface ReactOverlayProps {
|
|
9
|
+
children?: React.ReactNode;
|
|
10
|
+
isOpen: boolean;
|
|
11
|
+
onDidDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
12
|
+
onDidPresent?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
13
|
+
onWillDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
14
|
+
onWillPresent?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
15
|
+
}
|
|
16
|
+
declare const createOverlayComponent: <OverlayComponent extends object, OverlayType extends OverlayElement>(tagName: string, controller: {
|
|
17
|
+
create: (options: any) => Promise<OverlayType>;
|
|
18
|
+
}, customElement?: any) => React.ForwardRefExoticComponent<React.PropsWithoutRef<OverlayComponent & ReactOverlayProps & {
|
|
19
|
+
forwardedRef?: StencilReactForwardedRef<OverlayType>;
|
|
20
|
+
}> & React.RefAttributes<OverlayType>>;
|
|
21
|
+
export { ReactOverlayProps, createOverlayComponent };
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { __rest } from 'tslib';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import ReactDOM from 'react-dom';
|
|
4
|
+
import { defineCustomElement, setRef } from './utils/index.js';
|
|
5
|
+
import { dashToPascalCase } from './utils/case.js';
|
|
6
|
+
import { attachProps } from './utils/attachProps.js';
|
|
7
|
+
|
|
8
|
+
const createOverlayComponent = (tagName, controller, customElement) => {
|
|
9
|
+
defineCustomElement(tagName, customElement);
|
|
10
|
+
const displayName = dashToPascalCase(tagName);
|
|
11
|
+
const didDismissEventName = `on${displayName}DidDismiss`;
|
|
12
|
+
const didPresentEventName = `on${displayName}DidPresent`;
|
|
13
|
+
const willDismissEventName = `on${displayName}WillDismiss`;
|
|
14
|
+
const willPresentEventName = `on${displayName}WillPresent`;
|
|
15
|
+
let isDismissing = false;
|
|
16
|
+
class Overlay extends React.Component {
|
|
17
|
+
constructor(props) {
|
|
18
|
+
super(props);
|
|
19
|
+
if (typeof document !== 'undefined') {
|
|
20
|
+
this.el = document.createElement('div');
|
|
21
|
+
}
|
|
22
|
+
this.handleDismiss = this.handleDismiss.bind(this);
|
|
23
|
+
}
|
|
24
|
+
static get displayName() {
|
|
25
|
+
return displayName;
|
|
26
|
+
}
|
|
27
|
+
componentDidMount() {
|
|
28
|
+
if (this.props.isOpen) {
|
|
29
|
+
this.present();
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
componentWillUnmount() {
|
|
33
|
+
if (this.overlay) {
|
|
34
|
+
this.overlay.dismiss();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
handleDismiss(event) {
|
|
38
|
+
if (this.props.onDidDismiss) {
|
|
39
|
+
this.props.onDidDismiss(event);
|
|
40
|
+
}
|
|
41
|
+
setRef(this.props.forwardedRef, null);
|
|
42
|
+
}
|
|
43
|
+
shouldComponentUpdate(nextProps) {
|
|
44
|
+
// Check if the overlay component is about to dismiss
|
|
45
|
+
if (this.overlay && nextProps.isOpen !== this.props.isOpen && nextProps.isOpen === false) {
|
|
46
|
+
isDismissing = true;
|
|
47
|
+
}
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
async componentDidUpdate(prevProps) {
|
|
51
|
+
if (this.overlay) {
|
|
52
|
+
attachProps(this.overlay, this.props, prevProps);
|
|
53
|
+
}
|
|
54
|
+
if (prevProps.isOpen !== this.props.isOpen && this.props.isOpen === true) {
|
|
55
|
+
this.present(prevProps);
|
|
56
|
+
}
|
|
57
|
+
if (this.overlay && prevProps.isOpen !== this.props.isOpen && this.props.isOpen === false) {
|
|
58
|
+
await this.overlay.dismiss();
|
|
59
|
+
isDismissing = false;
|
|
60
|
+
/**
|
|
61
|
+
* Now that the overlay is dismissed
|
|
62
|
+
* we need to render again so that any
|
|
63
|
+
* inner components will be unmounted
|
|
64
|
+
*/
|
|
65
|
+
this.forceUpdate();
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
async present(prevProps) {
|
|
69
|
+
const _a = this.props, { children, isOpen, onDidDismiss, onDidPresent, onWillDismiss, onWillPresent } = _a, cProps = __rest(_a, ["children", "isOpen", "onDidDismiss", "onDidPresent", "onWillDismiss", "onWillPresent"]);
|
|
70
|
+
const elementProps = Object.assign(Object.assign({}, cProps), { ref: this.props.forwardedRef, [didDismissEventName]: this.handleDismiss, [didPresentEventName]: (e) => this.props.onDidPresent && this.props.onDidPresent(e), [willDismissEventName]: (e) => this.props.onWillDismiss && this.props.onWillDismiss(e), [willPresentEventName]: (e) => this.props.onWillPresent && this.props.onWillPresent(e) });
|
|
71
|
+
this.overlay = await controller.create(Object.assign(Object.assign({}, elementProps), { component: this.el, componentProps: {} }));
|
|
72
|
+
setRef(this.props.forwardedRef, this.overlay);
|
|
73
|
+
attachProps(this.overlay, elementProps, prevProps);
|
|
74
|
+
await this.overlay.present();
|
|
75
|
+
}
|
|
76
|
+
render() {
|
|
77
|
+
/**
|
|
78
|
+
* Continue to render the component even when
|
|
79
|
+
* overlay is dismissing otherwise component
|
|
80
|
+
* will be hidden before animation is done.
|
|
81
|
+
*/
|
|
82
|
+
return ReactDOM.createPortal(this.props.isOpen || isDismissing ? this.props.children : null, this.el);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return React.forwardRef((props, ref) => {
|
|
86
|
+
return React.createElement(Overlay, Object.assign({}, props, { forwardedRef: ref }));
|
|
87
|
+
});
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export { createOverlayComponent };
|
|
91
|
+
//# sourceMappingURL=createOverlayComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createOverlayComponent.js","sources":["../../../../taro-components-library-react/src/react-component-lib/createOverlayComponent.tsx"],"sourcesContent":["import React from 'react';\nimport ReactDOM from 'react-dom';\n\nimport { OverlayEventDetail } from './interfaces';\nimport {\n StencilReactForwardedRef,\n attachProps,\n dashToPascalCase,\n defineCustomElement,\n setRef,\n} from './utils';\n\ninterface OverlayElement extends HTMLElement {\n present: () => Promise<void>;\n dismiss: (data?: any, role?: string | undefined) => Promise<boolean>;\n}\n\nexport interface ReactOverlayProps {\n children?: React.ReactNode;\n isOpen: boolean;\n onDidDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;\n onDidPresent?: (event: CustomEvent<OverlayEventDetail>) => void;\n onWillDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;\n onWillPresent?: (event: CustomEvent<OverlayEventDetail>) => void;\n}\n\nexport const createOverlayComponent = <\n OverlayComponent extends object,\n OverlayType extends OverlayElement\n>(\n tagName: string,\n controller: { create: (options: any) => Promise<OverlayType> },\n customElement?: any\n) => {\n defineCustomElement(tagName, customElement);\n\n const displayName = dashToPascalCase(tagName);\n const didDismissEventName = `on${displayName}DidDismiss`;\n const didPresentEventName = `on${displayName}DidPresent`;\n const willDismissEventName = `on${displayName}WillDismiss`;\n const willPresentEventName = `on${displayName}WillPresent`;\n\n type Props = OverlayComponent &\n ReactOverlayProps & {\n forwardedRef?: StencilReactForwardedRef<OverlayType>;\n };\n\n let isDismissing = false;\n\n class Overlay extends React.Component<Props> {\n overlay?: OverlayType;\n el!: HTMLDivElement;\n\n constructor(props: Props) {\n super(props);\n if (typeof document !== 'undefined') {\n this.el = document.createElement('div');\n }\n this.handleDismiss = this.handleDismiss.bind(this);\n }\n\n static get displayName() {\n return displayName;\n }\n\n componentDidMount() {\n if (this.props.isOpen) {\n this.present();\n }\n }\n\n componentWillUnmount() {\n if (this.overlay) {\n this.overlay.dismiss();\n }\n }\n\n handleDismiss(event: CustomEvent<OverlayEventDetail<any>>) {\n if (this.props.onDidDismiss) {\n this.props.onDidDismiss(event);\n }\n setRef(this.props.forwardedRef, null)\n }\n\n shouldComponentUpdate(nextProps: Props) {\n // Check if the overlay component is about to dismiss\n if (this.overlay && nextProps.isOpen !== this.props.isOpen && nextProps.isOpen === false) {\n isDismissing = true;\n }\n\n return true;\n }\n\n async componentDidUpdate(prevProps: Props) {\n if (this.overlay) {\n attachProps(this.overlay, this.props, prevProps);\n }\n\n if (prevProps.isOpen !== this.props.isOpen && this.props.isOpen === true) {\n this.present(prevProps);\n }\n if (this.overlay && prevProps.isOpen !== this.props.isOpen && this.props.isOpen === false) {\n await this.overlay.dismiss();\n isDismissing = false;\n\n /**\n * Now that the overlay is dismissed\n * we need to render again so that any\n * inner components will be unmounted\n */\n this.forceUpdate();\n }\n }\n\n async present(prevProps?: Props) {\n const {\n children,\n isOpen,\n onDidDismiss,\n onDidPresent,\n onWillDismiss,\n onWillPresent,\n ...cProps\n } = this.props;\n const elementProps = {\n ...cProps,\n ref: this.props.forwardedRef,\n [didDismissEventName]: this.handleDismiss,\n [didPresentEventName]: (e: CustomEvent) =>\n this.props.onDidPresent && this.props.onDidPresent(e),\n [willDismissEventName]: (e: CustomEvent) =>\n this.props.onWillDismiss && this.props.onWillDismiss(e),\n [willPresentEventName]: (e: CustomEvent) =>\n this.props.onWillPresent && this.props.onWillPresent(e),\n };\n\n this.overlay = await controller.create({\n ...elementProps,\n component: this.el,\n componentProps: {},\n });\n\n setRef(this.props.forwardedRef, this.overlay);\n attachProps(this.overlay, elementProps, prevProps);\n\n await this.overlay.present();\n }\n\n render() {\n /**\n * Continue to render the component even when\n * overlay is dismissing otherwise component\n * will be hidden before animation is done.\n */\n return ReactDOM.createPortal(this.props.isOpen || isDismissing ? this.props.children : null, this.el);\n }\n }\n\n return React.forwardRef<OverlayType, Props>((props, ref) => {\n return <Overlay {...props} forwardedRef={ref} />;\n });\n};\n"],"names":[],"mappings":";;;;;;;AA0Ba,MAAA,sBAAsB,GAAG,CAIpC,OAAe,EACf,UAA8D,EAC9D,aAAmB,KACjB;AACF,IAAA,mBAAmB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AAE5C,IAAA,MAAM,WAAW,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;AAC9C,IAAA,MAAM,mBAAmB,GAAG,CAAK,EAAA,EAAA,WAAW,YAAY,CAAC;AACzD,IAAA,MAAM,mBAAmB,GAAG,CAAK,EAAA,EAAA,WAAW,YAAY,CAAC;AACzD,IAAA,MAAM,oBAAoB,GAAG,CAAK,EAAA,EAAA,WAAW,aAAa,CAAC;AAC3D,IAAA,MAAM,oBAAoB,GAAG,CAAK,EAAA,EAAA,WAAW,aAAa,CAAC;IAO3D,IAAI,YAAY,GAAG,KAAK,CAAC;AAEzB,IAAA,MAAM,OAAQ,SAAQ,KAAK,CAAC,SAAgB,CAAA;AAI1C,QAAA,WAAA,CAAY,KAAY,EAAA;YACtB,KAAK,CAAC,KAAK,CAAC,CAAC;AACb,YAAA,IAAI,OAAO,QAAQ,KAAK,WAAW,EAAE;gBACnC,IAAI,CAAC,EAAE,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;AACzC,aAAA;YACD,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SACpD;AAED,QAAA,WAAW,WAAW,GAAA;AACpB,YAAA,OAAO,WAAW,CAAC;SACpB;QAED,iBAAiB,GAAA;AACf,YAAA,IAAI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AC9C,WAAW,CAAC,IAAI,CAAC,OAAO,EAAE,YAAY,EAAE,SAAS,CAAC,CAAC;AAEnD,YAAA,MAAM,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;SAC9B;QAED,MAAM,GAAA;AACJ;;;;AAIG;AACH,YAAA,OAAO,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,IAAI,YAAY,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;SACvG;AACF,KAAA;IAED,OAAO,KAAK,CAAC,UAAU,CAAqB,CAAC,KAAK,EAAE,GAAG,KAAI;QACzD,OAAO,KAAA,CAAA,aAAA,CAAC,OAAO,EAAK,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,KAAK,IAAE,YAAY,EAAE,GAAG,EAAA,CAAA,CAAI,CAAC;AACnD,KAAC,CAAC,CAAC;AACL;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const attachProps: (node: HTMLElement, newProps: any, oldProps?: any) => void;
|
|
2
|
+
declare const getClassName: (classList: DOMTokenList, newProps: any, oldProps: any) => string;
|
|
3
|
+
/**
|
|
4
|
+
* Checks if an event is supported in the current execution environment.
|
|
5
|
+
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
6
|
+
*/
|
|
7
|
+
declare const isCoveredByReact: (eventNameSuffix: string) => boolean;
|
|
8
|
+
declare const syncEvent: (node: Element & {
|
|
9
|
+
__events?: {
|
|
10
|
+
[key: string]: (e: Event) => any;
|
|
11
|
+
};
|
|
12
|
+
}, eventName: string, newEventHandler?: (e: Event) => any) => void;
|
|
13
|
+
export { attachProps, getClassName, isCoveredByReact, syncEvent };
|