@tarojs/components 4.0.1-alpha.0 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +8 -8
- package/README.md +1 -1
- package/dist/cjs/{index-b873e40f.js → index-f6805218.js} +27 -45
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-canvas-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-components.cjs.js +1 -1
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-draggable-sheet-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-grid-builder-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-image-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-list-builder-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-nested-scroll-body-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-open-container-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-span-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tabbar.cjs.entry.js +3 -3
- package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-text-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-textarea-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-video-control_3.cjs.entry.js +2 -2
- package/dist/cjs/taro-view-core.cjs.entry.js +3 -3
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-web-view-core.cjs.entry.js +1 -1
- package/dist/collection/components/image/style/index.css +1 -1
- package/dist/collection/components/input/style/index.css +1 -1
- package/dist/collection/components/tabbar/style/index.css +1 -1
- package/dist/collection/components/tabbar/tabbar-item.js +1 -1
- package/dist/collection/components/tabbar/tabbar.js +4 -4
- package/dist/collection/components/view/style/index.css +1 -1
- package/dist/components/index2.js +27 -45
- package/dist/components/taro-image-core.js +1 -1
- package/dist/components/taro-input-core.js +1 -1
- package/dist/components/taro-tabbar.js +1 -1
- package/dist/components/taro-view-core.js +1 -1
- package/dist/esm/{index-b9522531.js → index-c3e4004b.js} +27 -45
- package/dist/esm/loader.js +2 -2
- package/dist/esm/taro-ad-core.entry.js +1 -1
- package/dist/esm/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm/taro-animation-video-core.entry.js +1 -1
- package/dist/esm/taro-animation-view-core.entry.js +1 -1
- package/dist/esm/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm/taro-audio-core.entry.js +1 -1
- package/dist/esm/taro-aweme-data-core.entry.js +1 -1
- package/dist/esm/taro-block-core.entry.js +1 -1
- package/dist/esm/taro-button-core.entry.js +2 -2
- package/dist/esm/taro-camera-core.entry.js +1 -1
- package/dist/esm/taro-canvas-core.entry.js +1 -1
- package/dist/esm/taro-channel-live-core.entry.js +1 -1
- package/dist/esm/taro-channel-video-core.entry.js +1 -1
- package/dist/esm/taro-checkbox-core_2.entry.js +1 -1
- package/dist/esm/taro-comment-detail-core.entry.js +1 -1
- package/dist/esm/taro-comment-list-core.entry.js +1 -1
- package/dist/esm/taro-components.js +2 -2
- package/dist/esm/taro-contact-button-core.entry.js +1 -1
- package/dist/esm/taro-cover-image-core.entry.js +1 -1
- package/dist/esm/taro-cover-view-core.entry.js +2 -2
- package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm/taro-draggable-sheet-core.entry.js +1 -1
- package/dist/esm/taro-editor-core.entry.js +1 -1
- package/dist/esm/taro-follow-swan-core.entry.js +1 -1
- package/dist/esm/taro-form-core.entry.js +1 -1
- package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm/taro-grid-builder-core.entry.js +1 -1
- package/dist/esm/taro-grid-view-core.entry.js +1 -1
- package/dist/esm/taro-icon-core.entry.js +2 -2
- package/dist/esm/taro-image-core.entry.js +3 -3
- package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
- package/dist/esm/taro-input-core.entry.js +2 -2
- package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm/taro-label-core.entry.js +1 -1
- package/dist/esm/taro-lifestyle-core.entry.js +1 -1
- package/dist/esm/taro-like-core.entry.js +1 -1
- package/dist/esm/taro-list-builder-core.entry.js +1 -1
- package/dist/esm/taro-list-view-core.entry.js +1 -1
- package/dist/esm/taro-live-player-core.entry.js +1 -1
- package/dist/esm/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm/taro-login-core.entry.js +1 -1
- package/dist/esm/taro-lottie-core.entry.js +1 -1
- package/dist/esm/taro-map-core.entry.js +1 -1
- package/dist/esm/taro-match-media-core.entry.js +1 -1
- package/dist/esm/taro-movable-area-core_2.entry.js +1 -1
- package/dist/esm/taro-native-slot-core.entry.js +1 -1
- package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm/taro-navigator-core.entry.js +2 -2
- package/dist/esm/taro-nested-scroll-body-core.entry.js +1 -1
- package/dist/esm/taro-nested-scroll-header-core.entry.js +1 -1
- package/dist/esm/taro-official-account-core.entry.js +1 -1
- package/dist/esm/taro-open-container-core.entry.js +1 -1
- package/dist/esm/taro-open-data-core.entry.js +1 -1
- package/dist/esm/taro-page-container-core.entry.js +1 -1
- package/dist/esm/taro-page-meta-core.entry.js +1 -1
- package/dist/esm/taro-picker-core_2.entry.js +2 -2
- package/dist/esm/taro-picker-view-column-core_2.entry.js +2 -2
- package/dist/esm/taro-progress-core.entry.js +1 -1
- package/dist/esm/taro-pull-to-refresh-core.entry.js +2 -2
- package/dist/esm/taro-radio-core_2.entry.js +1 -1
- package/dist/esm/taro-rich-text-core.entry.js +1 -1
- package/dist/esm/taro-root-portal-core.entry.js +1 -1
- package/dist/esm/taro-rtc-room-core.entry.js +1 -1
- package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
- package/dist/esm/taro-scroll-view-core.entry.js +2 -2
- package/dist/esm/taro-share-element-core.entry.js +1 -1
- package/dist/esm/taro-slider-core.entry.js +1 -1
- package/dist/esm/taro-slot-core.entry.js +1 -1
- package/dist/esm/taro-snapshot-core.entry.js +1 -1
- package/dist/esm/taro-span-core.entry.js +1 -1
- package/dist/esm/taro-sticky-header-core.entry.js +1 -1
- package/dist/esm/taro-sticky-section-core.entry.js +1 -1
- package/dist/esm/taro-swiper-core_2.entry.js +2 -2
- package/dist/esm/taro-switch-core.entry.js +1 -1
- package/dist/esm/taro-tab-item-core.entry.js +1 -1
- package/dist/esm/taro-tabbar.entry.js +3 -3
- package/dist/esm/taro-tabs-core.entry.js +1 -1
- package/dist/esm/taro-text-core.entry.js +1 -1
- package/dist/esm/taro-textarea-core.entry.js +1 -1
- package/dist/esm/taro-video-control_3.entry.js +2 -2
- package/dist/esm/taro-view-core.entry.js +3 -3
- package/dist/esm/taro-voip-room-core.entry.js +1 -1
- package/dist/esm/taro-web-view-core.entry.js +1 -1
- package/dist/esm-es5/index-c3e4004b.js +7 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/taro-ad-core.entry.js +1 -1
- package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
- package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm-es5/taro-audio-core.entry.js +1 -1
- package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-block-core.entry.js +1 -1
- package/dist/esm-es5/taro-button-core.entry.js +1 -1
- package/dist/esm-es5/taro-camera-core.entry.js +1 -1
- package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
- package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
- package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
- package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
- package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
- package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm-es5/taro-draggable-sheet-core.entry.js +1 -1
- package/dist/esm-es5/taro-editor-core.entry.js +1 -1
- package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
- package/dist/esm-es5/taro-form-core.entry.js +1 -1
- package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-grid-builder-core.entry.js +1 -1
- package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-icon-core.entry.js +1 -1
- package/dist/esm-es5/taro-image-core.entry.js +1 -1
- package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
- package/dist/esm-es5/taro-input-core.entry.js +1 -1
- package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm-es5/taro-label-core.entry.js +1 -1
- package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
- package/dist/esm-es5/taro-like-core.entry.js +1 -1
- package/dist/esm-es5/taro-list-builder-core.entry.js +1 -1
- package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
- package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm-es5/taro-login-core.entry.js +1 -1
- package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
- package/dist/esm-es5/taro-map-core.entry.js +1 -1
- package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
- package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
- package/dist/esm-es5/taro-nested-scroll-body-core.entry.js +1 -1
- package/dist/esm-es5/taro-nested-scroll-header-core.entry.js +1 -1
- package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
- package/dist/esm-es5/taro-open-container-core.entry.js +1 -1
- package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
- package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-progress-core.entry.js +1 -1
- package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -1
- package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
- package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
- package/dist/esm-es5/taro-slider-core.entry.js +1 -1
- package/dist/esm-es5/taro-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-snapshot-core.entry.js +1 -1
- package/dist/esm-es5/taro-span-core.entry.js +1 -1
- package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
- package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-switch-core.entry.js +1 -1
- package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
- package/dist/esm-es5/taro-tabbar.entry.js +1 -1
- package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
- package/dist/esm-es5/taro-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
- package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
- package/dist/esm-es5/taro-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
- package/dist/hydrate/index.js +31 -49
- package/dist/taro-components/{p-06adeb65.system.entry.js → p-0044961f.system.entry.js} +1 -1
- package/dist/taro-components/{p-f43f26cf.entry.js → p-0132e803.entry.js} +1 -1
- package/dist/taro-components/{p-fa31b2de.system.entry.js → p-019124ae.system.entry.js} +1 -1
- package/dist/taro-components/{p-5884c108.system.entry.js → p-04f97133.system.entry.js} +1 -1
- package/dist/taro-components/{p-75ded8a0.system.entry.js → p-069ae782.system.entry.js} +1 -1
- package/dist/taro-components/{p-68197378.entry.js → p-0d8a0733.entry.js} +1 -1
- package/dist/taro-components/{p-03dc0283.entry.js → p-0f95be56.entry.js} +1 -1
- package/dist/taro-components/{p-6cc0bcb9.entry.js → p-0fe4660a.entry.js} +1 -1
- package/dist/taro-components/{p-a96f8f60.system.entry.js → p-1087c51a.system.entry.js} +1 -1
- package/dist/taro-components/{p-e5ef41f2.system.entry.js → p-111fadd7.system.entry.js} +1 -1
- package/dist/taro-components/{p-8179438b.system.entry.js → p-11c0dc59.system.entry.js} +1 -1
- package/dist/taro-components/{p-32c0f326.entry.js → p-12b967fd.entry.js} +1 -1
- package/dist/taro-components/{p-dc25fa81.entry.js → p-13bf0192.entry.js} +1 -1
- package/dist/taro-components/{p-f8f2461f.entry.js → p-13e80cf7.entry.js} +1 -1
- package/dist/taro-components/{p-f5f3a111.entry.js → p-15c1ce79.entry.js} +1 -1
- package/dist/taro-components/{p-292470e5.entry.js → p-16705ca9.entry.js} +1 -1
- package/dist/taro-components/{p-07ae6678.system.entry.js → p-194ace03.system.entry.js} +1 -1
- package/dist/taro-components/{p-12582166.entry.js → p-19b04eb7.entry.js} +1 -1
- package/dist/taro-components/{p-d2203687.system.entry.js → p-19b993d8.system.entry.js} +1 -1
- package/dist/taro-components/{p-204996e7.entry.js → p-1acf7537.entry.js} +1 -1
- package/dist/taro-components/{p-156e9634.system.entry.js → p-1d102ddb.system.entry.js} +1 -1
- package/dist/taro-components/p-25636983.entry.js +1 -0
- package/dist/taro-components/{p-402c7f93.entry.js → p-28bc8a48.entry.js} +1 -1
- package/dist/taro-components/{p-c95d2b90.entry.js → p-2d382d0e.entry.js} +1 -1
- package/dist/taro-components/{p-2d537212.entry.js → p-2ebc3182.entry.js} +1 -1
- package/dist/taro-components/p-2ec68968.system.js +7 -0
- package/dist/taro-components/p-2f8ebd28.system.entry.js +1 -0
- package/dist/taro-components/{p-b1f80b6b.entry.js → p-317c4cad.entry.js} +1 -1
- package/dist/taro-components/p-33980e67.entry.js +1 -0
- package/dist/taro-components/{p-5c98f478.entry.js → p-342a2594.entry.js} +1 -1
- package/dist/taro-components/{p-0a64f78c.system.entry.js → p-3430d520.system.entry.js} +1 -1
- package/dist/taro-components/{p-9b6b17c4.system.entry.js → p-34ba9330.system.entry.js} +1 -1
- package/dist/taro-components/{p-9e359fff.system.entry.js → p-36ea0ac1.system.entry.js} +1 -1
- package/dist/taro-components/{p-0ff5a55b.entry.js → p-370cc947.entry.js} +1 -1
- package/dist/taro-components/p-378b504c.entry.js +1 -0
- package/dist/taro-components/{p-2649c7ae.entry.js → p-37bc198d.entry.js} +1 -1
- package/dist/taro-components/{p-f168fffc.entry.js → p-39b3e34d.entry.js} +1 -1
- package/dist/taro-components/{p-c0c567e5.system.entry.js → p-3a0a05fd.system.entry.js} +1 -1
- package/dist/taro-components/{p-855619b6.system.entry.js → p-3a3d40de.system.entry.js} +1 -1
- package/dist/taro-components/{p-84998109.entry.js → p-3d423adc.entry.js} +1 -1
- package/dist/taro-components/p-3e4b5391.system.entry.js +1 -0
- package/dist/taro-components/{p-57b77f17.system.entry.js → p-3eedb8d7.system.entry.js} +1 -1
- package/dist/taro-components/{p-17e72555.entry.js → p-43932446.entry.js} +1 -1
- package/dist/taro-components/{p-6ba08ce0.system.entry.js → p-4621b303.system.entry.js} +1 -1
- package/dist/taro-components/{p-17938fa0.system.entry.js → p-46ccb393.system.entry.js} +1 -1
- package/dist/taro-components/{p-7163d09e.system.js → p-477f8fbd.system.js} +1 -1
- package/dist/taro-components/{p-46a66c43.entry.js → p-4824cc94.entry.js} +1 -1
- package/dist/taro-components/{p-ac2be5f3.entry.js → p-48a84765.entry.js} +1 -1
- package/dist/taro-components/{p-bb67318d.entry.js → p-49e9b2ff.entry.js} +1 -1
- package/dist/taro-components/{p-425d1d69.entry.js → p-4a748c0d.entry.js} +1 -1
- package/dist/taro-components/{p-a9ca8247.system.entry.js → p-4b5f75b9.system.entry.js} +1 -1
- package/dist/taro-components/p-4c30ea10.entry.js +1 -0
- package/dist/taro-components/{p-55e12654.entry.js → p-4e63d3bd.entry.js} +1 -1
- package/dist/taro-components/{p-93a2b2e9.entry.js → p-4fcb258a.entry.js} +1 -1
- package/dist/taro-components/{p-dedf50a9.entry.js → p-4ffae31c.entry.js} +1 -1
- package/dist/taro-components/{p-c7836e2b.entry.js → p-50b21f94.entry.js} +1 -1
- package/dist/taro-components/{p-dcf5747c.system.entry.js → p-5186ab96.system.entry.js} +1 -1
- package/dist/taro-components/p-518a9b73.entry.js +1 -0
- package/dist/taro-components/p-52ad5213.system.entry.js +1 -0
- package/dist/taro-components/{p-5b9aa4b0.system.entry.js → p-55934653.system.entry.js} +1 -1
- package/dist/taro-components/{p-c7d8c076.system.entry.js → p-55e54f2a.system.entry.js} +1 -1
- package/dist/taro-components/{p-ded98693.system.entry.js → p-562eace8.system.entry.js} +1 -1
- package/dist/taro-components/{p-7e054ae7.system.entry.js → p-5a78fbdf.system.entry.js} +1 -1
- package/dist/taro-components/{p-be055537.entry.js → p-5b4de079.entry.js} +1 -1
- package/dist/taro-components/{p-5c156db3.system.entry.js → p-5b86e66b.system.entry.js} +1 -1
- package/dist/taro-components/{p-1eea2828.entry.js → p-5bfdb5f3.entry.js} +1 -1
- package/dist/taro-components/{p-cae6c5d0.system.entry.js → p-5c0f97d3.system.entry.js} +1 -1
- package/dist/taro-components/{p-d5603857.entry.js → p-5dbabb65.entry.js} +1 -1
- package/dist/taro-components/{p-ccbaba23.entry.js → p-5f4c6ca5.entry.js} +1 -1
- package/dist/taro-components/{p-4979e93c.system.entry.js → p-618ee593.system.entry.js} +1 -1
- package/dist/taro-components/{p-02d4d104.entry.js → p-62df5526.entry.js} +1 -1
- package/dist/taro-components/{p-6654374e.system.entry.js → p-66029061.system.entry.js} +1 -1
- package/dist/taro-components/{p-d05eb105.system.entry.js → p-69e70cd5.system.entry.js} +1 -1
- package/dist/taro-components/{p-6b83388c.system.entry.js → p-6c06b440.system.entry.js} +1 -1
- package/dist/taro-components/p-6dd357b9.entry.js +1 -0
- package/dist/taro-components/{p-c677414d.system.entry.js → p-6f1034a6.system.entry.js} +1 -1
- package/dist/taro-components/{p-e681d764.entry.js → p-6f3187bc.entry.js} +1 -1
- package/dist/taro-components/{p-56552c9e.entry.js → p-6f8926e3.entry.js} +1 -1
- package/dist/taro-components/{p-b087ad2a.system.entry.js → p-6ffc9bda.system.entry.js} +1 -1
- package/dist/taro-components/p-751d42cb.entry.js +1 -0
- package/dist/taro-components/{p-3a180dc7.entry.js → p-756aa971.entry.js} +1 -1
- package/dist/taro-components/{p-ff772345.entry.js → p-76c0f443.entry.js} +1 -1
- package/dist/taro-components/p-77e030e9.system.entry.js +1 -0
- package/dist/taro-components/{p-02465454.system.entry.js → p-7b3ce3af.system.entry.js} +1 -1
- package/dist/taro-components/{p-57911e2c.system.entry.js → p-7b80637e.system.entry.js} +1 -1
- package/dist/taro-components/{p-07f27474.entry.js → p-7bc6aa36.entry.js} +1 -1
- package/dist/taro-components/{p-d973d536.entry.js → p-7e3f0837.entry.js} +1 -1
- package/dist/taro-components/{p-047e4bfe.entry.js → p-7f3d9184.entry.js} +1 -1
- package/dist/taro-components/{p-35dec732.entry.js → p-80228985.entry.js} +1 -1
- package/dist/taro-components/{p-cafbb3d9.system.entry.js → p-80fa706c.system.entry.js} +1 -1
- package/dist/taro-components/{p-61a325d2.system.entry.js → p-829157b1.system.entry.js} +1 -1
- package/dist/taro-components/{p-dc08715a.entry.js → p-82c5b9d3.entry.js} +1 -1
- package/dist/taro-components/{p-d73b3a94.system.entry.js → p-82d52f00.system.entry.js} +1 -1
- package/dist/taro-components/{p-2f177716.entry.js → p-87b0d22f.entry.js} +1 -1
- package/dist/taro-components/{p-e2e7bc16.entry.js → p-895982a4.entry.js} +1 -1
- package/dist/taro-components/{p-937a6c36.entry.js → p-8a6e93ed.entry.js} +1 -1
- package/dist/taro-components/{p-0f480c38.system.entry.js → p-8b7e37c9.system.entry.js} +1 -1
- package/dist/taro-components/{p-c8cd6e16.entry.js → p-8bde1f48.entry.js} +1 -1
- package/dist/taro-components/{p-938f9036.system.entry.js → p-90ee19f8.system.entry.js} +1 -1
- package/dist/taro-components/{p-97b09fb4.system.entry.js → p-923aa1c8.system.entry.js} +1 -1
- package/dist/taro-components/{p-bd57edcd.entry.js → p-92b7b545.entry.js} +1 -1
- package/dist/taro-components/{p-fbf13159.system.entry.js → p-93b39a89.system.entry.js} +1 -1
- package/dist/taro-components/{p-3b36196b.system.entry.js → p-970a4199.system.entry.js} +1 -1
- package/dist/taro-components/{p-ba5e7ec4.system.entry.js → p-97177863.system.entry.js} +1 -1
- package/dist/taro-components/{p-b4577a12.system.entry.js → p-99440bcc.system.entry.js} +1 -1
- package/dist/taro-components/p-9f1b0ae1.entry.js +1 -0
- package/dist/taro-components/{p-6282bdee.system.entry.js → p-9f3e0019.system.entry.js} +1 -1
- package/dist/taro-components/{p-f034a433.entry.js → p-a2f848cc.entry.js} +1 -1
- package/dist/taro-components/{p-280795f2.entry.js → p-a6790f39.entry.js} +1 -1
- package/dist/taro-components/{p-083c3147.system.entry.js → p-a997cf7c.system.entry.js} +1 -1
- package/dist/taro-components/{p-6664a2ca.system.entry.js → p-aa11b00c.system.entry.js} +1 -1
- package/dist/taro-components/{p-feb89474.system.entry.js → p-adee7f1b.system.entry.js} +1 -1
- package/dist/taro-components/{p-38b29261.entry.js → p-ae99551a.entry.js} +1 -1
- package/dist/taro-components/{p-27041d86.system.entry.js → p-aed23034.system.entry.js} +1 -1
- package/dist/taro-components/{p-ac714300.system.entry.js → p-b0f12e64.system.entry.js} +1 -1
- package/dist/taro-components/{p-e853a2c8.system.entry.js → p-b259a558.system.entry.js} +1 -1
- package/dist/taro-components/{p-d9884371.entry.js → p-b3129dec.entry.js} +1 -1
- package/dist/taro-components/{p-9f53e26c.system.entry.js → p-b3419d7f.system.entry.js} +1 -1
- package/dist/taro-components/{p-18c039ef.entry.js → p-b4047b11.entry.js} +1 -1
- package/dist/taro-components/{p-ebb1ae64.entry.js → p-b43fa9b0.entry.js} +1 -1
- package/dist/taro-components/{p-e1cce2f1.entry.js → p-b4707cdd.entry.js} +1 -1
- package/dist/taro-components/{p-0fc790c0.system.entry.js → p-b655e854.system.entry.js} +1 -1
- package/dist/taro-components/{p-ac9fb309.system.entry.js → p-b66dfc82.system.entry.js} +1 -1
- package/dist/taro-components/{p-c056d527.system.entry.js → p-ba241824.system.entry.js} +1 -1
- package/dist/taro-components/{p-7ebd4310.entry.js → p-baea6a63.entry.js} +1 -1
- package/dist/taro-components/{p-be1701b2.entry.js → p-c0f16127.entry.js} +1 -1
- package/dist/taro-components/{p-3bfe9260.entry.js → p-c253be9f.entry.js} +1 -1
- package/dist/taro-components/{p-56a82bf3.entry.js → p-c58627f4.entry.js} +1 -1
- package/dist/taro-components/{p-ca6a5916.system.entry.js → p-c863ac7f.system.entry.js} +1 -1
- package/dist/taro-components/{p-443e31ab.system.entry.js → p-cc993977.system.entry.js} +1 -1
- package/dist/taro-components/{p-a25aca16.system.entry.js → p-cee51d71.system.entry.js} +1 -1
- package/dist/taro-components/{p-91ee1f8a.system.entry.js → p-d12b6a84.system.entry.js} +1 -1
- package/dist/taro-components/{p-a50c6736.entry.js → p-d184903b.entry.js} +1 -1
- package/dist/taro-components/{p-26eb2f3f.entry.js → p-d29a59cd.entry.js} +1 -1
- package/dist/taro-components/p-d6bd1a5b.entry.js +1 -0
- package/dist/taro-components/{p-77e82dfa.entry.js → p-da4c4cad.entry.js} +1 -1
- package/dist/taro-components/{p-3cf08137.entry.js → p-dc366f18.entry.js} +1 -1
- package/dist/taro-components/{p-79cad66b.entry.js → p-dde26531.entry.js} +1 -1
- package/dist/taro-components/{p-ddf75d6a.system.entry.js → p-de1d495a.system.entry.js} +1 -1
- package/dist/taro-components/p-de951a46.js +7 -0
- package/dist/taro-components/{p-4523b1c7.entry.js → p-e23769c4.entry.js} +1 -1
- package/dist/taro-components/{p-50849470.system.entry.js → p-e2694a79.system.entry.js} +1 -1
- package/dist/taro-components/{p-8b0c9d3f.entry.js → p-e2a22cd1.entry.js} +1 -1
- package/dist/taro-components/{p-1bd4da3b.system.entry.js → p-e41ed824.system.entry.js} +1 -1
- package/dist/taro-components/{p-ebad862a.system.entry.js → p-e5a80896.system.entry.js} +1 -1
- package/dist/taro-components/{p-75b4c1fc.system.entry.js → p-e5b43c80.system.entry.js} +1 -1
- package/dist/taro-components/{p-17b9f865.system.entry.js → p-e6a2f1bd.system.entry.js} +1 -1
- package/dist/taro-components/{p-078cb65e.entry.js → p-ead6e57b.entry.js} +1 -1
- package/dist/taro-components/{p-d87a68f6.entry.js → p-ebbbdde5.entry.js} +1 -1
- package/dist/taro-components/{p-ba11ef7d.entry.js → p-ec00e517.entry.js} +1 -1
- package/dist/taro-components/p-ec0d8c41.system.entry.js +1 -0
- package/dist/taro-components/p-ed081b3d.entry.js +1 -0
- package/dist/taro-components/{p-4ac48df1.system.entry.js → p-eda34d91.system.entry.js} +1 -1
- package/dist/taro-components/{p-df7c6216.system.entry.js → p-ee9d6467.system.entry.js} +1 -1
- package/dist/taro-components/{p-27d372b4.system.entry.js → p-f0056aca.system.entry.js} +1 -1
- package/dist/taro-components/{p-1c37143a.system.entry.js → p-f470ce9f.system.entry.js} +1 -1
- package/dist/taro-components/{p-c3dc7072.entry.js → p-f662c928.entry.js} +1 -1
- package/dist/taro-components/{p-e3d825d1.system.entry.js → p-f6743078.system.entry.js} +1 -1
- package/dist/taro-components/{p-fe5eefdc.system.entry.js → p-f7198b67.system.entry.js} +1 -1
- package/dist/taro-components/{p-4fad4beb.system.entry.js → p-f782ee74.system.entry.js} +1 -1
- package/dist/taro-components/{p-7ca2d075.system.entry.js → p-f94c0445.system.entry.js} +1 -1
- package/dist/taro-components/p-f9a13a5c.entry.js +1 -0
- package/dist/taro-components/{p-c71d5745.system.entry.js → p-fa9dbb6f.system.entry.js} +1 -1
- package/dist/taro-components/{p-65d11e99.system.entry.js → p-fbb789a4.system.entry.js} +1 -1
- package/dist/taro-components/{p-3293c5d9.system.entry.js → p-fe1dd94f.system.entry.js} +1 -1
- package/dist/taro-components/{p-b4c7bb48.entry.js → p-fe8ee676.entry.js} +1 -1
- package/dist/taro-components/{p-47790dc0.system.entry.js → p-ffaac078.system.entry.js} +1 -1
- package/dist/taro-components/taro-components.css +1 -1
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/taro-components/taro-components.js +1 -1
- package/dist/types/components/tabbar/tabbar-item.d.ts +4 -4
- package/dist/types/components/tabbar/tabbar.d.ts +15 -16
- package/dist/types/components.d.ts +3 -2
- package/lib/react/component-lib/index.d.ts +53 -53
- package/lib/react/component-lib/input.d.ts +1 -1
- package/lib/react/component-lib/input.js.map +1 -1
- package/lib/react/component-lib/reactify-wc.d.ts +1 -1
- package/lib/react/component-lib/reactify-wc.js.map +1 -1
- package/lib/react/components.d.ts +92 -92
- package/lib/react/components.js +0 -2
- package/lib/react/components.js.map +1 -1
- package/lib/react/helper.d.ts +2 -4
- package/lib/react/helper.js.map +1 -1
- package/lib/react/index.d.ts +1 -1
- package/lib/{solid/solid-component-lib/interfaces.d.ts → react/interfaces-f526f1a2.d.ts} +5 -4
- package/lib/react/react-component-lib/createComponent.d.ts +3 -3
- package/lib/react/react-component-lib/createComponent.js +1 -1
- package/lib/react/react-component-lib/createComponent.js.map +1 -1
- package/lib/react/react-component-lib/createOverlayComponent.d.ts +5 -5
- package/lib/react/react-component-lib/createOverlayComponent.js +1 -1
- package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
- package/lib/react/react-component-lib/index.d.ts +2 -2
- package/lib/react/react-component-lib/utils/attachProps.d.ts +6 -6
- package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/lib/react/react-component-lib/utils/case.d.ts +3 -2
- package/lib/react/react-component-lib/utils/index.d.ts +10 -9
- package/lib/react/react-component-lib/utils/index.js.map +1 -1
- package/lib/vue2/component-lib/components.d.ts +111 -0
- package/lib/vue2/component-lib/components.js +74 -0
- package/lib/vue2/component-lib/components.js.map +1 -0
- package/lib/vue2/component-lib/createComponent.d.ts +14 -0
- package/lib/vue2/component-lib/createComponent.js +23 -0
- package/lib/vue2/component-lib/createComponent.js.map +1 -0
- package/lib/vue2/component-lib/createFormsComponent.d.ts +22 -0
- package/lib/vue2/component-lib/createFormsComponent.js +53 -0
- package/lib/vue2/component-lib/createFormsComponent.js.map +1 -0
- package/lib/vue2/component-lib/icon.d.ts +16 -0
- package/lib/vue2/component-lib/icon.js +23 -0
- package/lib/vue2/component-lib/icon.js.map +1 -0
- package/lib/vue2/component-lib/image.d.ts +16 -0
- package/lib/vue2/component-lib/image.js +24 -0
- package/lib/vue2/component-lib/image.js.map +1 -0
- package/lib/vue2/component-lib/index.d.ts +1 -0
- package/lib/vue2/component-lib/index.js +25 -0
- package/lib/vue2/component-lib/index.js.map +1 -0
- package/lib/vue2/component-lib/mixins/listeners.d.ts +6 -0
- package/lib/vue2/component-lib/mixins/listeners.js +14 -0
- package/lib/vue2/component-lib/mixins/listeners.js.map +1 -0
- package/lib/vue2/component-lib/mixins/refs.d.ts +5 -0
- package/lib/vue2/component-lib/mixins/refs.js +53 -0
- package/lib/vue2/component-lib/mixins/refs.js.map +1 -0
- package/lib/vue2/component-lib/picker.d.ts +25 -0
- package/lib/vue2/component-lib/picker.js +41 -0
- package/lib/vue2/component-lib/picker.js.map +1 -0
- package/lib/vue2/component-lib/scroll-view.d.ts +17 -0
- package/lib/vue2/component-lib/scroll-view.js +35 -0
- package/lib/vue2/component-lib/scroll-view.js.map +1 -0
- package/lib/vue2/component-lib/text.d.ts +16 -0
- package/lib/vue2/component-lib/text.js +24 -0
- package/lib/vue2/component-lib/text.js.map +1 -0
- package/lib/vue2/components-loader.d.ts +2 -0
- package/lib/vue2/components-loader.js +21 -0
- package/lib/vue2/components-loader.js.map +1 -0
- package/lib/vue2/components.d.ts +408 -0
- package/lib/vue2/components.js +633 -0
- package/lib/vue2/components.js.map +1 -0
- package/lib/vue2/index.d.ts +1 -0
- package/lib/vue2/node_modules/.pnpm/registry.npmjs.org_vue-fragment@1.6.0_vue@2.7.14/node_modules/vue-fragment/dist/vue-fragment.esm.js +4 -0
- package/lib/vue2/node_modules/.pnpm/registry.npmjs.org_vue-fragment@1.6.0_vue@2.7.14/node_modules/vue-fragment/dist/vue-fragment.esm.js.map +1 -0
- package/lib/vue2/vue-component-lib/utils.d.ts +10 -0
- package/lib/vue2/vue-component-lib/utils.js +51 -0
- package/lib/vue2/vue-component-lib/utils.js.map +1 -0
- package/lib/vue3/component-lib/createComponent.d.ts +2 -1
- package/lib/vue3/component-lib/createFormsComponent.d.ts +2 -1
- package/lib/vue3/component-lib/createFormsComponent.js.map +1 -1
- package/lib/vue3/component-lib/forwardRef.d.ts +2 -1
- package/lib/vue3/component-lib/icon.d.ts +1 -1
- package/lib/vue3/component-lib/image.d.ts +1 -1
- package/lib/vue3/component-lib/index.d.ts +53 -52
- package/lib/vue3/component-lib/scroll-view.d.ts +1 -1
- package/lib/vue3/component-lib/scroll-view.js.map +1 -1
- package/lib/vue3/component-lib/text.d.ts +1 -1
- package/lib/vue3/components-loader.d.ts +2 -1
- package/lib/vue3/components-loader.js.map +1 -1
- package/lib/vue3/components.d.ts +92 -93
- package/lib/vue3/components.js +0 -2
- package/lib/vue3/components.js.map +1 -1
- package/lib/vue3/index.d.ts +1 -1
- package/lib/vue3/vue-component-lib/utils.d.ts +3 -2
- package/lib/vue3/vue-component-lib/utils.js.map +1 -1
- package/package.json +24 -29
- package/types/Button.d.ts +5 -5
- package/types/Camera.d.ts +1 -1
- package/types/Checkbox.d.ts +5 -5
- package/types/CoverImage.d.ts +1 -1
- package/types/Form.d.ts +2 -2
- package/types/Icon.d.ts +3 -3
- package/types/Image.d.ts +2 -3
- package/types/Input.d.ts +15 -15
- package/types/Label.d.ts +1 -1
- package/types/ListView.d.ts +1 -1
- package/types/NavigationBar.d.ts +4 -4
- package/types/Navigator.d.ts +1 -1
- package/types/PageMeta.d.ts +7 -7
- package/types/Picker.d.ts +20 -20
- 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 +5 -5
- package/types/RadioGroup.d.ts +1 -1
- package/types/ScrollView.d.ts +5 -5
- package/types/Slider.d.ts +14 -14
- package/types/Slot.d.ts +1 -1
- package/types/StickyHeader.d.ts +1 -1
- package/types/StickySection.d.ts +1 -1
- package/types/Swiper.d.ts +9 -9
- package/types/SwiperItem.d.ts +1 -1
- package/types/Switch.d.ts +5 -5
- package/types/Text.d.ts +2 -2
- package/types/Textarea.d.ts +7 -7
- package/types/Video.d.ts +16 -16
- package/types/common.d.ts +2 -7
- package/dist/esm-es5/index-b9522531.js +0 -7
- package/dist/taro-components/p-0f2c1ecc.entry.js +0 -1
- package/dist/taro-components/p-160d710a.js +0 -7
- package/dist/taro-components/p-43367dd1.entry.js +0 -1
- package/dist/taro-components/p-443b9a72.system.js +0 -7
- package/dist/taro-components/p-4a8b4d58.system.entry.js +0 -1
- package/dist/taro-components/p-53e62840.system.entry.js +0 -1
- package/dist/taro-components/p-5f23dc41.system.entry.js +0 -1
- package/dist/taro-components/p-6989c232.entry.js +0 -1
- package/dist/taro-components/p-7e692c70.entry.js +0 -1
- package/dist/taro-components/p-7fdbcf4d.entry.js +0 -1
- package/dist/taro-components/p-93b02321.entry.js +0 -1
- package/dist/taro-components/p-9571836f.entry.js +0 -1
- package/dist/taro-components/p-aabac550.entry.js +0 -1
- package/dist/taro-components/p-ab0e0366.system.entry.js +0 -1
- package/dist/taro-components/p-acb113bd.entry.js +0 -1
- package/dist/taro-components/p-f367a754.entry.js +0 -1
- package/dist/taro-components/p-f9935901.system.entry.js +0 -1
- package/dist/taro-components/p-fab63183.entry.js +0 -1
- package/global.css +0 -1
- package/lib/react/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.18.0_tslib@2.6.2_typescript@5.4.5/node_modules/tslib/tslib.es6.js +0 -373
- package/lib/react/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.18.0_tslib@2.6.2_typescript@5.4.5/node_modules/tslib/tslib.es6.js.map +0 -1
- package/lib/react/react-component-lib/interfaces.d.ts +0 -33
- package/lib/react/react-component-lib/utils/dev.d.ts +0 -6
- package/lib/solid/component-lib/index.d.ts +0 -53
- package/lib/solid/component-lib/index.js +0 -69
- package/lib/solid/component-lib/index.js.map +0 -1
- package/lib/solid/components.d.ts +0 -92
- package/lib/solid/components.js +0 -102
- package/lib/solid/components.js.map +0 -1
- package/lib/solid/helper.d.ts +0 -3
- package/lib/solid/helper.js +0 -7
- package/lib/solid/helper.js.map +0 -1
- package/lib/solid/index.d.ts +0 -1
- package/lib/solid/solid-component-lib/createComponent.d.ts +0 -10
- package/lib/solid/solid-component-lib/createComponent.js +0 -67
- package/lib/solid/solid-component-lib/createComponent.js.map +0 -1
- package/lib/solid/solid-component-lib/index.d.ts +0 -1
- package/lib/solid/solid-component-lib/index.js +0 -2
- package/lib/solid/solid-component-lib/index.js.map +0 -1
- package/lib/solid/solid-component-lib/utils/case.d.ts +0 -3
- package/lib/solid/solid-component-lib/utils/case.js +0 -6
- package/lib/solid/solid-component-lib/utils/case.js.map +0 -1
- package/lib/solid/solid-component-lib/utils/element.d.ts +0 -6
- package/lib/solid/solid-component-lib/utils/element.js +0 -48
- package/lib/solid/solid-component-lib/utils/element.js.map +0 -1
- package/lib/solid/solid-component-lib/utils/index.d.ts +0 -2
- package/lib/solid/solid-component-lib/utils/index.js +0 -3
- package/lib/solid/solid-component-lib/utils/index.js.map +0 -1
- /package/dist/cjs/{index-09efe07d.js → index-5b029707.js} +0 -0
- /package/dist/esm/{index-9924aee9.js → index-ab3c86da.js} +0 -0
- /package/dist/esm-es5/{index-9924aee9.js → index-ab3c86da.js} +0 -0
- /package/dist/taro-components/{p-75d01c60.system.js → p-2b70c348.system.js} +0 -0
- /package/dist/taro-components/{p-e62a1287.js → p-dd7a128d.js} +0 -0
- /package/lib/{solid → vue2}/index.js +0 -0
- /package/lib/{solid → vue2}/index.js.map +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { listeners } from './mixins/listeners.js';
|
|
2
|
+
import { refs } from './mixins/refs.js';
|
|
3
|
+
|
|
4
|
+
function createFormsComponent(name, event, modelValue = 'value', classNames = []) {
|
|
5
|
+
const props = {
|
|
6
|
+
nativeProps: {
|
|
7
|
+
type: Object
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
if (name === 'taro-input') {
|
|
11
|
+
props.focus = Boolean;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
name,
|
|
15
|
+
mixins: [listeners, refs],
|
|
16
|
+
model: {
|
|
17
|
+
prop: modelValue,
|
|
18
|
+
event: 'model'
|
|
19
|
+
},
|
|
20
|
+
props,
|
|
21
|
+
methods: {
|
|
22
|
+
input(e) {
|
|
23
|
+
this.$emit('input', e);
|
|
24
|
+
this.$emit('model', e.target.value);
|
|
25
|
+
},
|
|
26
|
+
change(e) {
|
|
27
|
+
this.$emit('change', e);
|
|
28
|
+
this.$emit('model', e.target.value);
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
render(createElement) {
|
|
32
|
+
// eslint-disable-next-line
|
|
33
|
+
const self = this;
|
|
34
|
+
const attrs = this.$attrs || {};
|
|
35
|
+
if (name === 'taro-input') {
|
|
36
|
+
attrs['auto-focus'] = self.focus;
|
|
37
|
+
}
|
|
38
|
+
const on = Object.assign({}, self.listeners);
|
|
39
|
+
on[event] = self[event];
|
|
40
|
+
return createElement(`${name}-core`, {
|
|
41
|
+
class: ['hydrated', ...classNames],
|
|
42
|
+
domProps: {
|
|
43
|
+
nativeProps: this.nativeProps
|
|
44
|
+
},
|
|
45
|
+
attrs,
|
|
46
|
+
on
|
|
47
|
+
}, self.$slots.default);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export { createFormsComponent as default };
|
|
53
|
+
//# sourceMappingURL=createFormsComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createFormsComponent.js","sources":["../../../../taro-components-library-vue2/src/component-lib/createFormsComponent.ts"],"sourcesContent":["import { listeners } from './mixins/listeners'\nimport { refs } from './mixins/refs'\n\nexport default function createFormsComponent (name, event, modelValue = 'value', classNames = []) {\n const props: Record<string, any> = {\n nativeProps: {\n type: Object\n }\n }\n if (name === 'taro-input') {\n props.focus = Boolean\n }\n\n return {\n name,\n mixins: [listeners, refs],\n model: {\n prop: modelValue,\n event: 'model'\n },\n props,\n methods: {\n input (e) {\n this.$emit('input', e)\n this.$emit('model', e.target.value)\n },\n change (e) {\n this.$emit('change', e)\n this.$emit('model', e.target.value)\n }\n },\n render (createElement) {\n // eslint-disable-next-line\n const self = this;\n\n const attrs = this.$attrs || {}\n if (name === 'taro-input') {\n attrs['auto-focus'] = self.focus\n }\n\n const on = { ...self.listeners }\n on[event] = self[event]\n\n return createElement(`${name}-core`, {\n class: ['hydrated', ...classNames],\n domProps: {\n nativeProps: this.nativeProps\n },\n attrs,\n on\n }, self.$slots.default)\n }\n }\n}\n"],"names":[],"mappings":";;;AAGwB,SAAA,oBAAoB,CAAE,IAAI,EAAE,KAAK,EAAE,UAAU,GAAG,OAAO,EAAE,UAAU,GAAG,EAAE,EAAA;AAC9F,IAAA,MAAM,KAAK,GAAwB;AACjC,QAAA,WAAW,EAAE;AACX,YAAA,IAAI,EAAE,MAAM;AACb,SAAA;KACF,CAAA;IACD,IAAI,IAAI,KAAK,YAAY,EAAE;AACzB,QAAA,KAAK,CAAC,KAAK,GAAG,OAAO,CAAA;AACtB,KAAA;IAED,OAAO;QACL,IAAI;AACJ,QAAA,MAAM,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;AACzB,QAAA,KAAK,EAAE;AACL,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,KAAK,EAAE,OAAO;AACf,SAAA;QACD,KAAK;AACL,QAAA,OAAO,EAAE;AACP,YAAA,KAAK,CAAE,CAAC,EAAA;AACN,gBAAA,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,CAAA;gBACtB,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;aACpC;AACD,YAAA,MAAM,CAAE,CAAC,EAAA;AACP,gBAAA,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAA;gBACvB,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;aACpC;AACF,SAAA;AACD,QAAA,MAAM,CAAE,aAAa,EAAA;;YAEnB,MAAM,IAAI,GAAG,IAAI,CAAC;AAElB,YAAA,MAAM,KAAK,GAAG,IAAI,CAAC,MAAM,IAAI,EAAE,CAAA;YAC/B,IAAI,IAAI,KAAK,YAAY,EAAE;AACzB,gBAAA,KAAK,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,KAAK,CAAA;AACjC,aAAA;AAED,YAAA,MAAM,EAAE,GAAQ,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,IAAI,CAAC,SAAS,CAAE,CAAA;YAChC,EAAE,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,CAAA;AAEvB,YAAA,OAAO,aAAa,CAAC,CAAG,EAAA,IAAI,OAAO,EAAE;AACnC,gBAAA,KAAK,EAAE,CAAC,UAAU,EAAE,GAAG,UAAU,CAAC;AAClC,gBAAA,QAAQ,EAAE;oBACR,WAAW,EAAE,IAAI,CAAC,WAAW;AAC9B,iBAAA;gBACD,KAAK;gBACL,EAAE;AACH,aAAA,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;SACxB;KACF,CAAA;AACH;;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
mixins: ({
|
|
4
|
+
computed: {
|
|
5
|
+
listeners(): any;
|
|
6
|
+
};
|
|
7
|
+
} | {
|
|
8
|
+
mounted(): void;
|
|
9
|
+
beforeDestroy(): void;
|
|
10
|
+
})[];
|
|
11
|
+
props: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
};
|
|
14
|
+
render(createElement: any): any;
|
|
15
|
+
};
|
|
16
|
+
export { _default as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { listeners } from './mixins/listeners.js';
|
|
2
|
+
import { refs } from './mixins/refs.js';
|
|
3
|
+
|
|
4
|
+
var Icon = {
|
|
5
|
+
name: 'taro-icon',
|
|
6
|
+
mixins: [listeners, refs],
|
|
7
|
+
props: {
|
|
8
|
+
type: String
|
|
9
|
+
},
|
|
10
|
+
render(createElement) {
|
|
11
|
+
const iconType = this.type.replace(/_/g, '-');
|
|
12
|
+
return createElement('taro-icon-core', {
|
|
13
|
+
class: ['hydrated', `weui-icon-${iconType}`],
|
|
14
|
+
attrs: {
|
|
15
|
+
type: this.type
|
|
16
|
+
},
|
|
17
|
+
on: this.listeners
|
|
18
|
+
}, this.$slots.default);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { Icon as default };
|
|
23
|
+
//# sourceMappingURL=icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.js","sources":["../../../../taro-components-library-vue2/src/component-lib/icon.ts"],"sourcesContent":["import { listeners } from './mixins/listeners'\nimport { refs } from './mixins/refs'\n\nexport default {\n name: 'taro-icon',\n mixins: [listeners, refs],\n props: {\n type: String\n },\n render (createElement) {\n const iconType = this.type.replace(/_/g, '-')\n return createElement('taro-icon-core', {\n class: ['hydrated', `weui-icon-${iconType}`],\n attrs: {\n type: this.type\n },\n on: this.listeners\n }, this.$slots.default)\n }\n}\n"],"names":[],"mappings":";;;AAGA,WAAe;AACb,IAAA,IAAI,EAAE,WAAW;AACjB,IAAA,MAAM,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;AACzB,IAAA,KAAK,EAAE;AACL,QAAA,IAAI,EAAE,MAAM;AACb,KAAA;AACD,IAAA,MAAM,CAAE,aAAa,EAAA;AACnB,QAAA,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;QAC7C,OAAO,aAAa,CAAC,gBAAgB,EAAE;AACrC,YAAA,KAAK,EAAE,CAAC,UAAU,EAAE,CAAa,UAAA,EAAA,QAAQ,EAAE,CAAC;AAC5C,YAAA,KAAK,EAAE;gBACL,IAAI,EAAE,IAAI,CAAC,IAAI;AAChB,aAAA;YACD,EAAE,EAAE,IAAI,CAAC,SAAS;AACnB,SAAA,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;KACxB;CACF;;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
mixins: ({
|
|
4
|
+
computed: {
|
|
5
|
+
listeners(): any;
|
|
6
|
+
};
|
|
7
|
+
} | {
|
|
8
|
+
mounted(): void;
|
|
9
|
+
beforeDestroy(): void;
|
|
10
|
+
})[];
|
|
11
|
+
props: {
|
|
12
|
+
mode: StringConstructor;
|
|
13
|
+
};
|
|
14
|
+
render(createElement: any): any;
|
|
15
|
+
};
|
|
16
|
+
export { _default as default };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { listeners } from './mixins/listeners.js';
|
|
2
|
+
import { refs } from './mixins/refs.js';
|
|
3
|
+
|
|
4
|
+
var Image = {
|
|
5
|
+
name: 'taro-image',
|
|
6
|
+
mixins: [listeners, refs],
|
|
7
|
+
props: {
|
|
8
|
+
mode: String
|
|
9
|
+
},
|
|
10
|
+
render(createElement) {
|
|
11
|
+
return createElement('taro-image-core', {
|
|
12
|
+
class: ['hydrated', {
|
|
13
|
+
'taro-img__widthfix': this.mode === 'widthFix'
|
|
14
|
+
}],
|
|
15
|
+
attrs: {
|
|
16
|
+
mode: this.mode
|
|
17
|
+
},
|
|
18
|
+
on: this.listeners
|
|
19
|
+
}, this.$slots.default);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { Image as default };
|
|
24
|
+
//# sourceMappingURL=image.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.js","sources":["../../../../taro-components-library-vue2/src/component-lib/image.ts"],"sourcesContent":["import { listeners } from './mixins/listeners'\nimport { refs } from './mixins/refs'\n\nexport default {\n name: 'taro-image',\n mixins: [listeners, refs],\n props: {\n mode: String\n },\n render (createElement) {\n return createElement('taro-image-core', {\n class: ['hydrated', {\n 'taro-img__widthfix': this.mode === 'widthFix'\n }],\n attrs: {\n mode: this.mode\n },\n on: this.listeners\n }, this.$slots.default)\n }\n}\n"],"names":[],"mappings":";;;AAGA,YAAe;AACb,IAAA,IAAI,EAAE,YAAY;AAClB,IAAA,MAAM,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;AACzB,IAAA,KAAK,EAAE;AACL,QAAA,IAAI,EAAE,MAAM;AACb,KAAA;AACD,IAAA,MAAM,CAAE,aAAa,EAAA;QACnB,OAAO,aAAa,CAAC,iBAAiB,EAAE;YACtC,KAAK,EAAE,CAAC,UAAU,EAAE;AAClB,oBAAA,oBAAoB,EAAE,IAAI,CAAC,IAAI,KAAK,UAAU;iBAC/C,CAAC;AACF,YAAA,KAAK,EAAE;gBACL,IAAI,EAAE,IAAI,CAAC,IAAI;AAChB,aAAA;YACD,EAAE,EAAE,IAAI,CAAC,SAAS;AACnB,SAAA,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;KACxB;CACF;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import Vue from 'vue';
|
|
2
|
+
import components from './components.js';
|
|
3
|
+
import createComponent from './createComponent.js';
|
|
4
|
+
import createFormsComponent from './createFormsComponent.js';
|
|
5
|
+
|
|
6
|
+
components.forEach(params => {
|
|
7
|
+
if (typeof params === 'string') {
|
|
8
|
+
Vue.component(params, createComponent(params));
|
|
9
|
+
}
|
|
10
|
+
else if (params instanceof Array) {
|
|
11
|
+
const [name, props] = params;
|
|
12
|
+
const { classNames, type = 'simple' } = props;
|
|
13
|
+
if (type === 'simple') {
|
|
14
|
+
Vue.component(name, createComponent(name, classNames));
|
|
15
|
+
}
|
|
16
|
+
else if (type === 'forms') {
|
|
17
|
+
const { event, modelValue } = props;
|
|
18
|
+
Vue.component(name, createFormsComponent(name, event, modelValue, classNames));
|
|
19
|
+
}
|
|
20
|
+
else if (type === 'component') {
|
|
21
|
+
Vue.component(name, props.component);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../taro-components-library-vue2/src/component-lib/index.ts"],"sourcesContent":["import Vue from 'vue'\n\nimport components from './components'\nimport createComponent from './createComponent'\nimport createFormsComponent from './createFormsComponent'\n\ncomponents.forEach(params => {\n if (typeof params === 'string') {\n Vue.component(params, createComponent(params))\n } else if (params instanceof Array) {\n const [name, props] = params as [string, Record<string, any>]\n const { classNames, type = 'simple' } = props\n\n if (type === 'simple') {\n Vue.component(name, createComponent(name, classNames))\n } else if (type === 'forms') {\n const { event, modelValue } = props\n Vue.component(name, createFormsComponent(name, event, modelValue, classNames))\n } else if (type === 'component') {\n Vue.component(name, props.component)\n }\n }\n})\n"],"names":[],"mappings":";;;;;AAMA,UAAU,CAAC,OAAO,CAAC,MAAM,IAAG;AAC1B,IAAA,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE;QAC9B,GAAG,CAAC,SAAS,CAAC,MAAM,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC,CAAA;AAC/C,KAAA;SAAM,IAAI,MAAM,YAAY,KAAK,EAAE;AAClC,QAAA,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,MAAuC,CAAA;QAC7D,MAAM,EAAE,UAAU,EAAE,IAAI,GAAG,QAAQ,EAAE,GAAG,KAAK,CAAA;QAE7C,IAAI,IAAI,KAAK,QAAQ,EAAE;AACrB,YAAA,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE,eAAe,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAA;AACvD,SAAA;aAAM,IAAI,IAAI,KAAK,OAAO,EAAE;AAC3B,YAAA,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG,KAAK,CAAA;AACnC,YAAA,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE,oBAAoB,CAAC,IAAI,EAAE,KAAK,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC,CAAA;AAC/E,SAAA;aAAM,IAAI,IAAI,KAAK,WAAW,EAAE;YAC/B,GAAG,CAAC,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;AACrC,SAAA;AACF,KAAA;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const listeners = {
|
|
2
|
+
computed: {
|
|
3
|
+
listeners() {
|
|
4
|
+
// eslint-disable-next-line
|
|
5
|
+
const vm = this;
|
|
6
|
+
return Object.assign(Object.assign({}, vm.$listeners), { click(e) {
|
|
7
|
+
vm.$emit('tap', e);
|
|
8
|
+
} });
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { listeners };
|
|
14
|
+
//# sourceMappingURL=listeners.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"listeners.js","sources":["../../../../../taro-components-library-vue2/src/component-lib/mixins/listeners.ts"],"sourcesContent":["export const listeners = {\n computed: {\n listeners () {\n // eslint-disable-next-line\n const vm = this\n return {\n ...vm.$listeners,\n click (e) {\n vm.$emit('tap', e)\n }\n }\n }\n }\n}\n"],"names":[],"mappings":"AAAa,MAAA,SAAS,GAAG;AACvB,IAAA,QAAQ,EAAE;QACR,SAAS,GAAA;;YAEP,MAAM,EAAE,GAAG,IAAI,CAAA;AACf,YAAA,OAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EACK,EAAE,CAAC,UAAU,CAChB,EAAA,EAAA,KAAK,CAAE,CAAC,EAAA;AACN,oBAAA,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;AACpB,iBAAC,EACF,CAAA,CAAA;SACF;AACF,KAAA;;;;;"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
const refs = {
|
|
2
|
+
mounted() {
|
|
3
|
+
if (this.$parent &&
|
|
4
|
+
typeof this.$parent.$refs === 'object' &&
|
|
5
|
+
Object.keys(this.$parent.$refs).length) {
|
|
6
|
+
const refs = this.$parent.$refs;
|
|
7
|
+
if (this._refCacheKey) {
|
|
8
|
+
refs[this._refCacheKey] = this.$el;
|
|
9
|
+
}
|
|
10
|
+
else {
|
|
11
|
+
for (const key in refs) {
|
|
12
|
+
const ref = refs[key];
|
|
13
|
+
if (ref === this) {
|
|
14
|
+
this._refCacheKey = key;
|
|
15
|
+
refs[key] = this.$el;
|
|
16
|
+
break;
|
|
17
|
+
}
|
|
18
|
+
else if (Array.isArray(ref)) {
|
|
19
|
+
const index = ref.indexOf(this);
|
|
20
|
+
if (index > -1) {
|
|
21
|
+
ref[index] = this.$el;
|
|
22
|
+
break;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
beforeDestroy() {
|
|
30
|
+
if (this.$parent &&
|
|
31
|
+
typeof this.$parent.$refs === 'object' &&
|
|
32
|
+
Object.keys(this.$parent.$refs).length) {
|
|
33
|
+
const refs = this.$parent.$refs;
|
|
34
|
+
if (this._refCacheKey) {
|
|
35
|
+
refs[this._refCacheKey] = this;
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
for (const key in refs) {
|
|
39
|
+
if (Array.isArray(refs[key])) {
|
|
40
|
+
const index = refs[key].indexOf(this.$el);
|
|
41
|
+
if (index > -1) {
|
|
42
|
+
refs[key][index] = this;
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export { refs };
|
|
53
|
+
//# sourceMappingURL=refs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refs.js","sources":["../../../../../taro-components-library-vue2/src/component-lib/mixins/refs.ts"],"sourcesContent":["export const refs = {\n mounted () {\n if (\n this.$parent &&\n typeof this.$parent.$refs === 'object' &&\n Object.keys(this.$parent.$refs).length\n ) {\n const refs = this.$parent.$refs\n\n if (this._refCacheKey) {\n refs[this._refCacheKey] = this.$el\n } else {\n for (const key in refs) {\n const ref = refs[key]\n if (ref === this) {\n this._refCacheKey = key\n refs[key] = this.$el\n break\n } else if (Array.isArray(ref)) {\n const index = ref.indexOf(this)\n if (index > -1) {\n ref[index] = this.$el\n break\n }\n }\n }\n }\n }\n },\n beforeDestroy () {\n if (\n this.$parent &&\n typeof this.$parent.$refs === 'object' &&\n Object.keys(this.$parent.$refs).length\n ) {\n const refs = this.$parent.$refs\n\n if (this._refCacheKey) {\n refs[this._refCacheKey] = this\n } else {\n for (const key in refs) {\n if (Array.isArray(refs[key])) {\n const index = refs[key].indexOf(this.$el)\n if (index > -1) {\n refs[key][index] = this\n break\n }\n }\n }\n }\n }\n }\n}\n"],"names":[],"mappings":"AAAa,MAAA,IAAI,GAAG;IAClB,OAAO,GAAA;QACL,IACE,IAAI,CAAC,OAAO;AACZ,YAAA,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,KAAK,QAAQ;YACtC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,EACtC;AACA,YAAA,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAA;YAE/B,IAAI,IAAI,CAAC,YAAY,EAAE;gBACrB,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,GAAG,CAAA;AACnC,aAAA;AAAM,iBAAA;AACL,gBAAA,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;AACtB,oBAAA,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,CAAA;oBACrB,IAAI,GAAG,KAAK,IAAI,EAAE;AAChB,wBAAA,IAAI,CAAC,YAAY,GAAG,GAAG,CAAA;AACvB,wBAAA,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,GAAG,CAAA;wBACpB,MAAK;AACN,qBAAA;AAAM,yBAAA,IAAI,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;wBAC7B,MAAM,KAAK,GAAG,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,CAAA;AAC/B,wBAAA,IAAI,KAAK,GAAG,CAAC,CAAC,EAAE;AACd,4BAAA,GAAG,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAA;4BACrB,MAAK;AACN,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;IACD,aAAa,GAAA;QACX,IACE,IAAI,CAAC,OAAO;AACZ,YAAA,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,KAAK,QAAQ;YACtC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,EACtC;AACA,YAAA,MAAM,IAAI,GAAG,IAAI,CAAC,OAAO,CAAC,KAAK,CAAA;YAE/B,IAAI,IAAI,CAAC,YAAY,EAAE;AACrB,gBAAA,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,IAAI,CAAA;AAC/B,aAAA;AAAM,iBAAA;AACL,gBAAA,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;oBACtB,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE;AAC5B,wBAAA,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AACzC,wBAAA,IAAI,KAAK,GAAG,CAAC,CAAC,EAAE;4BACd,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,GAAG,IAAI,CAAA;4BACvB,MAAK;AACN,yBAAA;AACF,qBAAA;AACF,iBAAA;AACF,aAAA;AACF,SAAA;KACF;;;;;"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
mixins: ({
|
|
4
|
+
computed: {
|
|
5
|
+
listeners(): any;
|
|
6
|
+
};
|
|
7
|
+
} | {
|
|
8
|
+
mounted(): void;
|
|
9
|
+
beforeDestroy(): void;
|
|
10
|
+
})[];
|
|
11
|
+
model: {
|
|
12
|
+
event: string;
|
|
13
|
+
};
|
|
14
|
+
props: {
|
|
15
|
+
range: ArrayConstructor;
|
|
16
|
+
rangeKey: StringConstructor;
|
|
17
|
+
value: (ArrayConstructor | StringConstructor | NumberConstructor)[];
|
|
18
|
+
};
|
|
19
|
+
mounted(): void;
|
|
20
|
+
watch: {
|
|
21
|
+
value(newVal: any): void;
|
|
22
|
+
};
|
|
23
|
+
render(createElement: any): any;
|
|
24
|
+
};
|
|
25
|
+
export { _default as default };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { listeners } from './mixins/listeners.js';
|
|
2
|
+
import { refs } from './mixins/refs.js';
|
|
3
|
+
|
|
4
|
+
var Picker = {
|
|
5
|
+
name: 'taro-picker',
|
|
6
|
+
mixins: [listeners, refs],
|
|
7
|
+
model: {
|
|
8
|
+
event: 'model'
|
|
9
|
+
},
|
|
10
|
+
props: {
|
|
11
|
+
range: Array,
|
|
12
|
+
rangeKey: String,
|
|
13
|
+
value: [Number, String, Array]
|
|
14
|
+
},
|
|
15
|
+
mounted() {
|
|
16
|
+
this.$el.value = this.value;
|
|
17
|
+
},
|
|
18
|
+
watch: {
|
|
19
|
+
value(newVal) {
|
|
20
|
+
this.$el.value = newVal;
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
render(createElement) {
|
|
24
|
+
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
|
25
|
+
const self = this;
|
|
26
|
+
return createElement('taro-picker-core', {
|
|
27
|
+
class: 'hydrated',
|
|
28
|
+
domProps: {
|
|
29
|
+
range: self.range,
|
|
30
|
+
rangeKey: self.rangeKey
|
|
31
|
+
},
|
|
32
|
+
on: Object.assign(Object.assign({}, self.listeners), { change(e) {
|
|
33
|
+
self.$emit('change', e);
|
|
34
|
+
self.$emit('model', e.target.value);
|
|
35
|
+
} })
|
|
36
|
+
}, self.$slots.default);
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export { Picker as default };
|
|
41
|
+
//# sourceMappingURL=picker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"picker.js","sources":["../../../../taro-components-library-vue2/src/component-lib/picker.ts"],"sourcesContent":["import { listeners } from './mixins/listeners'\nimport { refs } from './mixins/refs'\n\nexport default {\n name: 'taro-picker',\n mixins: [listeners, refs],\n model: {\n event: 'model'\n },\n props: {\n range: Array,\n rangeKey: String,\n value: [Number, String, Array]\n },\n mounted () {\n this.$el.value = this.value\n },\n watch: {\n value (newVal) {\n this.$el.value = newVal\n }\n },\n render (createElement) {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const self = this\n\n return createElement('taro-picker-core', {\n class: 'hydrated',\n domProps: {\n range: self.range,\n rangeKey: self.rangeKey\n },\n on: {\n ...self.listeners,\n change (e) {\n self.$emit('change', e)\n self.$emit('model', e.target.value)\n }\n }\n }, self.$slots.default)\n }\n}\n"],"names":[],"mappings":";;;AAGA,aAAe;AACb,IAAA,IAAI,EAAE,aAAa;AACnB,IAAA,MAAM,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;AACzB,IAAA,KAAK,EAAE;AACL,QAAA,KAAK,EAAE,OAAO;AACf,KAAA;AACD,IAAA,KAAK,EAAE;AACL,QAAA,KAAK,EAAE,KAAK;AACZ,QAAA,QAAQ,EAAE,MAAM;AAChB,QAAA,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC;AAC/B,KAAA;IACD,OAAO,GAAA;QACL,IAAI,CAAC,GAAG,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,CAAA;KAC5B;AACD,IAAA,KAAK,EAAE;AACL,QAAA,KAAK,CAAE,MAAM,EAAA;AACX,YAAA,IAAI,CAAC,GAAG,CAAC,KAAK,GAAG,MAAM,CAAA;SACxB;AACF,KAAA;AACD,IAAA,MAAM,CAAE,aAAa,EAAA;;QAEnB,MAAM,IAAI,GAAG,IAAI,CAAA;QAEjB,OAAO,aAAa,CAAC,kBAAkB,EAAE;AACvC,YAAA,KAAK,EAAE,UAAU;AACjB,YAAA,QAAQ,EAAE;gBACR,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,QAAQ,EAAE,IAAI,CAAC,QAAQ;AACxB,aAAA;AACD,YAAA,EAAE,kCACG,IAAI,CAAC,SAAS,CACjB,EAAA,EAAA,MAAM,CAAE,CAAC,EAAA;AACP,oBAAA,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAA;oBACvB,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;AACrC,iBAAC,EACF,CAAA;AACF,SAAA,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;KACxB;CACF;;;;"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
mixins: ({
|
|
4
|
+
computed: {
|
|
5
|
+
listeners(): any;
|
|
6
|
+
};
|
|
7
|
+
} | {
|
|
8
|
+
mounted(): void;
|
|
9
|
+
beforeDestroy(): void;
|
|
10
|
+
})[];
|
|
11
|
+
props: {
|
|
12
|
+
scrollX: BooleanConstructor;
|
|
13
|
+
scrollY: BooleanConstructor;
|
|
14
|
+
};
|
|
15
|
+
render(createElement: any): any;
|
|
16
|
+
};
|
|
17
|
+
export { _default as default };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { listeners } from './mixins/listeners.js';
|
|
2
|
+
import { refs } from './mixins/refs.js';
|
|
3
|
+
|
|
4
|
+
var ScrollView = {
|
|
5
|
+
name: 'taro-scroll-view',
|
|
6
|
+
mixins: [listeners, refs],
|
|
7
|
+
props: {
|
|
8
|
+
scrollX: Boolean,
|
|
9
|
+
scrollY: Boolean
|
|
10
|
+
},
|
|
11
|
+
render(createElement) {
|
|
12
|
+
// eslint-disable-next-line @typescript-eslint/no-this-alias
|
|
13
|
+
const self = this;
|
|
14
|
+
const attrs = {};
|
|
15
|
+
if (self.scrollX)
|
|
16
|
+
attrs['scroll-x'] = true;
|
|
17
|
+
if (self.scrollY)
|
|
18
|
+
attrs['scroll-y'] = true;
|
|
19
|
+
return createElement('taro-scroll-view-core', {
|
|
20
|
+
class: ['hydrated', {
|
|
21
|
+
'taro-scroll-view__scroll-x': self.scrollX,
|
|
22
|
+
'taro-scroll-view__scroll-y': self.scrollY
|
|
23
|
+
}],
|
|
24
|
+
attrs,
|
|
25
|
+
on: Object.assign(Object.assign({}, self.listeners), { scroll(e) {
|
|
26
|
+
if (e instanceof CustomEvent) {
|
|
27
|
+
self.$emit('scroll', e);
|
|
28
|
+
}
|
|
29
|
+
} })
|
|
30
|
+
}, self.$slots.default);
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export { ScrollView as default };
|
|
35
|
+
//# sourceMappingURL=scroll-view.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scroll-view.js","sources":["../../../../taro-components-library-vue2/src/component-lib/scroll-view.ts"],"sourcesContent":["import { listeners } from './mixins/listeners'\nimport { refs } from './mixins/refs'\n\nexport default {\n name: 'taro-scroll-view',\n mixins: [listeners, refs],\n props: {\n scrollX: Boolean,\n scrollY: Boolean\n },\n render (createElement) {\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const self = this\n\n const attrs = {}\n if (self.scrollX) attrs['scroll-x'] = true\n if (self.scrollY) attrs['scroll-y'] = true\n\n return createElement('taro-scroll-view-core', {\n class: ['hydrated', {\n 'taro-scroll-view__scroll-x': self.scrollX,\n 'taro-scroll-view__scroll-y': self.scrollY\n }],\n attrs,\n on: {\n ...self.listeners,\n scroll (e) {\n if (e instanceof CustomEvent) {\n self.$emit('scroll', e)\n }\n }\n }\n }, self.$slots.default)\n }\n}\n"],"names":[],"mappings":";;;AAGA,iBAAe;AACb,IAAA,IAAI,EAAE,kBAAkB;AACxB,IAAA,MAAM,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;AACzB,IAAA,KAAK,EAAE;AACL,QAAA,OAAO,EAAE,OAAO;AAChB,QAAA,OAAO,EAAE,OAAO;AACjB,KAAA;AACD,IAAA,MAAM,CAAE,aAAa,EAAA;;QAEnB,MAAM,IAAI,GAAG,IAAI,CAAA;QAEjB,MAAM,KAAK,GAAG,EAAE,CAAA;QAChB,IAAI,IAAI,CAAC,OAAO;AAAE,YAAA,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,CAAA;QAC1C,IAAI,IAAI,CAAC,OAAO;AAAE,YAAA,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,CAAA;QAE1C,OAAO,aAAa,CAAC,uBAAuB,EAAE;YAC5C,KAAK,EAAE,CAAC,UAAU,EAAE;oBAClB,4BAA4B,EAAE,IAAI,CAAC,OAAO;oBAC1C,4BAA4B,EAAE,IAAI,CAAC,OAAO;iBAC3C,CAAC;YACF,KAAK;AACL,YAAA,EAAE,kCACG,IAAI,CAAC,SAAS,CACjB,EAAA,EAAA,MAAM,CAAE,CAAC,EAAA;oBACP,IAAI,CAAC,YAAY,WAAW,EAAE;AAC5B,wBAAA,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAA;AACxB,qBAAA;AACH,iBAAC,EACF,CAAA;AACF,SAAA,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;KACxB;CACF;;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
mixins: ({
|
|
4
|
+
computed: {
|
|
5
|
+
listeners(): any;
|
|
6
|
+
};
|
|
7
|
+
} | {
|
|
8
|
+
mounted(): void;
|
|
9
|
+
beforeDestroy(): void;
|
|
10
|
+
})[];
|
|
11
|
+
props: {
|
|
12
|
+
selectable: BooleanConstructor;
|
|
13
|
+
};
|
|
14
|
+
render(createElement: any): any;
|
|
15
|
+
};
|
|
16
|
+
export { _default as default };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { listeners } from './mixins/listeners.js';
|
|
2
|
+
import { refs } from './mixins/refs.js';
|
|
3
|
+
|
|
4
|
+
var Text = {
|
|
5
|
+
name: 'taro-text',
|
|
6
|
+
mixins: [listeners, refs],
|
|
7
|
+
props: {
|
|
8
|
+
selectable: Boolean
|
|
9
|
+
},
|
|
10
|
+
render(createElement) {
|
|
11
|
+
return createElement('taro-text-core', {
|
|
12
|
+
class: ['hydrated', {
|
|
13
|
+
'taro-text__selectable': this.selectable
|
|
14
|
+
}],
|
|
15
|
+
attrs: {
|
|
16
|
+
selectable: this.selectable
|
|
17
|
+
},
|
|
18
|
+
on: this.listeners
|
|
19
|
+
}, this.$slots.default);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { Text as default };
|
|
24
|
+
//# sourceMappingURL=text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text.js","sources":["../../../../taro-components-library-vue2/src/component-lib/text.ts"],"sourcesContent":["import { listeners } from './mixins/listeners'\nimport { refs } from './mixins/refs'\n\nexport default {\n name: 'taro-text',\n mixins: [listeners, refs],\n props: {\n selectable: Boolean\n },\n render (createElement) {\n return createElement('taro-text-core', {\n class: ['hydrated', {\n 'taro-text__selectable': this.selectable\n }],\n attrs: {\n selectable: this.selectable\n },\n on: this.listeners\n }, this.$slots.default)\n }\n}\n"],"names":[],"mappings":";;;AAGA,WAAe;AACb,IAAA,IAAI,EAAE,WAAW;AACjB,IAAA,MAAM,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;AACzB,IAAA,KAAK,EAAE;AACL,QAAA,UAAU,EAAE,OAAO;AACpB,KAAA;AACD,IAAA,MAAM,CAAE,aAAa,EAAA;QACnB,OAAO,aAAa,CAAC,gBAAgB,EAAE;YACrC,KAAK,EAAE,CAAC,UAAU,EAAE;oBAClB,uBAAuB,EAAE,IAAI,CAAC,UAAU;iBACzC,CAAC;AACF,YAAA,KAAK,EAAE;gBACL,UAAU,EAAE,IAAI,CAAC,UAAU;AAC5B,aAAA;YACD,EAAE,EAAE,IAAI,CAAC,SAAS;AACnB,SAAA,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;KACxB;CACF;;;;"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import Vue from 'vue';
|
|
2
|
+
import index from './node_modules/.pnpm/registry.npmjs.org_vue-fragment@1.6.0_vue@2.7.14/node_modules/vue-fragment/dist/vue-fragment.esm.js';
|
|
3
|
+
|
|
4
|
+
function initVue2Components(components = {}) {
|
|
5
|
+
var _a;
|
|
6
|
+
const ignoredElements = [/^taro-/, 'root', 'block'];
|
|
7
|
+
if (!((_a = Vue.config.ignoredElements) === null || _a === void 0 ? void 0 : _a.includes(ignoredElements[0]))) {
|
|
8
|
+
Vue.config.ignoredElements = [...Vue.config.ignoredElements, ...ignoredElements];
|
|
9
|
+
}
|
|
10
|
+
Vue.use(index.Plugin);
|
|
11
|
+
Object.entries(components).forEach(([name, definition]) => {
|
|
12
|
+
if (typeof definition === 'function') {
|
|
13
|
+
const tagName = 'taro' + name.replace(new RegExp('([A-Z])', 'g'), '-$1').toLowerCase();
|
|
14
|
+
const comp = Vue.extend(definition);
|
|
15
|
+
Vue.component(tagName, comp);
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export { initVue2Components };
|
|
21
|
+
//# sourceMappingURL=components-loader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components-loader.js","sources":["../../../taro-components-library-vue2/src/components-loader.ts"],"sourcesContent":["import Vue from 'vue'\nimport Fragment from 'vue-fragment'\n\nexport function initVue2Components (components: Record<string, any> = {}) {\n const ignoredElements = [/^taro-/, 'root', 'block']\n if (!Vue.config.ignoredElements?.includes(ignoredElements[0])) {\n Vue.config.ignoredElements = [...Vue.config.ignoredElements, ...ignoredElements]\n }\n\n Vue.use(Fragment.Plugin)\n Object.entries(components).forEach(([name, definition]) => {\n if (typeof definition === 'function') {\n const tagName = 'taro' + name.replace(new RegExp('([A-Z])', 'g'), '-$1').toLowerCase()\n const comp = Vue.extend(definition)\n Vue.component(tagName, comp)\n }\n })\n}\n"],"names":["Fragment"],"mappings":";;;AAGgB,SAAA,kBAAkB,CAAE,UAAA,GAAkC,EAAE,EAAA;;IACtE,MAAM,eAAe,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAA;AACnD,IAAA,IAAI,EAAC,CAAA,EAAA,GAAA,GAAG,CAAC,MAAM,CAAC,eAAe,MAAE,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,QAAQ,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAA,EAAE;AAC7D,QAAA,GAAG,CAAC,MAAM,CAAC,eAAe,GAAG,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,eAAe,EAAE,GAAG,eAAe,CAAC,CAAA;AACjF,KAAA;AAED,IAAA,GAAG,CAAC,GAAG,CAACA,KAAQ,CAAC,MAAM,CAAC,CAAA;AACxB,IAAA,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,EAAE,UAAU,CAAC,KAAI;AACxD,QAAA,IAAI,OAAO,UAAU,KAAK,UAAU,EAAE;YACpC,MAAM,OAAO,GAAG,MAAM,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,MAAM,CAAC,SAAS,EAAE,GAAG,CAAC,EAAE,KAAK,CAAC,CAAC,WAAW,EAAE,CAAA;YACtF,MAAM,IAAI,GAAG,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,CAAA;AACnC,YAAA,GAAG,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,CAAC,CAAA;AAC7B,SAAA;AACH,KAAC,CAAC,CAAA;AACJ;;;;"}
|