@tarojs/components 4.0.0-canary.8 → 4.0.0
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 +17 -3
- package/README.md +1 -1
- package/dist/cjs/{index-5a8221ec.js → index-09efe07d.js} +208 -2
- package/dist/cjs/{index-dfd8638f.js → index-8a70c333.js} +6 -0
- package/dist/cjs/{index-b8c435ee.js → index-b873e40f.js} +45 -27
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-components.cjs.js +2 -2
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
- 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 +21 -0
- 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 +21 -0
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-icon-core.cjs.entry.js +5 -2
- package/dist/cjs/taro-image-core.cjs.entry.js +7 -6
- 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 +21 -0
- 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 +1325 -6
- package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +8 -5
- 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 +21 -0
- package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-open-container-core.cjs.entry.js +21 -0
- 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 +3 -3
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +5 -5
- package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
- package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +6 -3
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
- 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 +4 -4
- package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slider-core.cjs.entry.js +4 -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 +21 -0
- 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 +58 -9868
- package/dist/cjs/taro-switch-core.cjs.entry.js +13 -12
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tabbar.cjs.entry.js +15 -87
- package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-textarea-core.cjs.entry.js +12 -3
- package/dist/cjs/taro-video-control_3.cjs.entry.js +38 -9
- 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 +2 -2
- package/dist/collection/collection-manifest.json +7 -0
- package/dist/collection/components/audio/style/index.css +1 -4
- package/dist/collection/components/button/style/index.css +1 -160
- package/dist/collection/components/canvas/style/index.css +1 -6
- package/dist/collection/components/checkbox/style/index.css +1 -39
- package/dist/collection/components/cover-image/style/index.css +1 -5
- package/dist/collection/components/cover-view/style/cover-view.css +1 -3
- package/dist/collection/components/draggable-sheet/draggable-sheet.js +11 -0
- package/dist/collection/components/grid-builder/grid-builder.js +11 -0
- package/dist/collection/components/icon/icon.js +10 -0
- package/dist/collection/components/icon/style/index.css +1 -0
- package/dist/collection/components/image/image.js +4 -3
- package/dist/collection/components/image/style/index.css +1 -73
- package/dist/collection/components/input/input.js +2 -2
- package/dist/collection/components/input/style/index.css +1 -0
- package/dist/collection/components/list-builder/list-builder.js +11 -0
- package/dist/collection/components/map/map.js +1806 -4
- package/dist/collection/components/map/style/map.css +1 -0
- package/dist/collection/components/movable-area/area.css +1 -6
- package/dist/collection/components/movable-area/movable-area.js +2 -1
- package/dist/collection/components/movable-area/movable-view.js +3 -1
- package/dist/collection/components/movable-area/view.css +1 -8
- package/dist/collection/components/navigator/style/index.css +1 -3
- package/dist/collection/components/nested-scroll-body/nested-scroll-body.js +11 -0
- package/dist/collection/components/nested-scroll-header/nested-scroll-header.js +11 -0
- package/dist/collection/components/open-container/open-container.js +11 -0
- package/dist/collection/components/picker/style/index.css +1 -4
- package/dist/collection/components/picker-view/style/column.css +1 -12
- package/dist/collection/components/picker-view/style/index.css +1 -28
- package/dist/collection/components/progress/progress.js +10 -0
- package/dist/collection/components/progress/style/index.css +1 -0
- package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +3 -0
- package/dist/collection/components/pull-to-refresh/style/index.css +1 -52
- package/dist/collection/components/rich-text/style/index.css +1 -16
- package/dist/collection/components/scroll-view/style/index.css +1 -17
- package/dist/collection/components/slider/slider.js +10 -0
- package/dist/collection/components/slider/style/index.css +1 -0
- package/dist/collection/components/span/span.js +11 -0
- package/dist/collection/components/swiper/style/index.css +2 -19
- package/dist/collection/components/swiper/swiper.js +59 -5
- package/dist/collection/components/switch/style/index.css +1 -10
- package/dist/collection/components/switch/switch.js +12 -12
- package/dist/collection/components/tabbar/style/index.css +1 -53
- package/dist/collection/components/tabbar/tabbar.js +1 -1
- package/dist/collection/components/text/style/index.css +1 -26
- package/dist/collection/components/textarea/style/index.css +1 -22
- package/dist/collection/components/textarea/textarea.js +11 -0
- package/dist/collection/components/video/style/index.css +1 -327
- package/dist/collection/components/video/video.js +8 -3
- package/dist/collection/components/view/style/index.css +1 -9
- package/dist/collection/components/web-view/style/index.css +1 -12
- package/dist/collection/utils/index.js +10 -0
- package/dist/components/index.d.ts +7 -0
- package/dist/components/index.js +7 -0
- package/dist/components/index2.js +45 -27
- package/dist/components/index3.js +6 -1
- package/dist/components/taro-audio-core.js +1 -1
- package/dist/components/taro-button-core.js +1 -1
- package/dist/components/taro-canvas-core.js +1 -1
- package/dist/components/taro-checkbox-core.js +1 -1
- package/dist/components/taro-cover-image-core.js +1 -1
- package/dist/components/taro-draggable-sheet-core.d.ts +11 -0
- package/dist/components/taro-draggable-sheet-core.js +33 -0
- package/dist/components/taro-grid-builder-core.d.ts +11 -0
- package/dist/components/taro-grid-builder-core.js +33 -0
- package/dist/components/taro-icon-core.js +3 -0
- package/dist/components/taro-image-core.js +5 -4
- package/dist/components/taro-input-core.js +1 -1
- package/dist/components/taro-list-builder-core.d.ts +11 -0
- package/dist/components/taro-list-builder-core.js +33 -0
- package/dist/components/taro-map-core.js +1349 -6
- package/dist/components/taro-movable-area-core.js +3 -2
- package/dist/components/taro-movable-view-core.js +4 -2
- package/dist/components/taro-nested-scroll-body-core.d.ts +11 -0
- package/dist/components/taro-nested-scroll-body-core.js +33 -0
- package/dist/components/taro-nested-scroll-header-core.d.ts +11 -0
- package/dist/components/taro-nested-scroll-header-core.js +33 -0
- package/dist/components/taro-open-container-core.d.ts +11 -0
- package/dist/components/taro-open-container-core.js +33 -0
- package/dist/components/taro-picker-core.js +1 -1
- package/dist/components/taro-picker-view-column-core.js +1 -1
- package/dist/components/taro-picker-view-core.js +1 -1
- package/dist/components/taro-progress-core.js +3 -0
- package/dist/components/taro-pull-to-refresh-core.js +4 -1
- package/dist/components/taro-rich-text-core.js +1 -1
- package/dist/components/taro-scroll-view-core.js +1 -1
- package/dist/components/taro-slider-core.js +3 -0
- package/dist/components/taro-span-core.d.ts +11 -0
- package/dist/components/taro-span-core.js +33 -0
- package/dist/components/taro-swiper-core.js +45 -9858
- package/dist/components/taro-switch-core.js +13 -13
- package/dist/components/taro-tabbar.js +4 -77
- package/dist/components/taro-text-core.js +1 -1
- package/dist/components/taro-textarea-core.js +11 -2
- package/dist/components/taro-video-core.js +10 -5
- package/dist/components/taro-view-core.js +1 -1
- package/dist/components/taro-web-view-core.js +1 -1
- package/dist/esm/{index-6bb77c5f.js → index-9924aee9.js} +208 -2
- package/dist/esm/{index-d1b03e47.js → index-a00a7418.js} +6 -1
- package/dist/esm/{index-a74b6944.js → index-b9522531.js} +45 -27
- package/dist/esm/loader.js +3 -3
- package/dist/esm/taro-ad-core.entry.js +1 -1
- package/dist/esm/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm/taro-animation-video-core.entry.js +1 -1
- package/dist/esm/taro-animation-view-core.entry.js +1 -1
- package/dist/esm/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm/taro-audio-core.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/taro-camera-core.entry.js +1 -1
- package/dist/esm/taro-canvas-core.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/taro-comment-detail-core.entry.js +1 -1
- package/dist/esm/taro-comment-list-core.entry.js +1 -1
- package/dist/esm/taro-components.js +3 -3
- package/dist/esm/taro-contact-button-core.entry.js +1 -1
- package/dist/esm/taro-cover-image-core.entry.js +2 -2
- 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 +17 -0
- 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 +17 -0
- package/dist/esm/taro-grid-view-core.entry.js +1 -1
- package/dist/esm/taro-icon-core.entry.js +5 -2
- package/dist/esm/taro-image-core.entry.js +7 -6
- 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 +17 -0
- 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 +1321 -6
- package/dist/esm/taro-match-media-core.entry.js +1 -1
- package/dist/esm/taro-movable-area-core_2.entry.js +8 -5
- 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 +17 -0
- package/dist/esm/taro-nested-scroll-header-core.entry.js +17 -0
- package/dist/esm/taro-official-account-core.entry.js +1 -1
- package/dist/esm/taro-open-container-core.entry.js +17 -0
- 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 +3 -3
- package/dist/esm/taro-picker-view-column-core_2.entry.js +5 -5
- package/dist/esm/taro-progress-core.entry.js +4 -1
- package/dist/esm/taro-pull-to-refresh-core.entry.js +6 -3
- package/dist/esm/taro-radio-core_2.entry.js +1 -1
- package/dist/esm/taro-rich-text-core.entry.js +2 -2
- 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 +4 -4
- package/dist/esm/taro-share-element-core.entry.js +1 -1
- package/dist/esm/taro-slider-core.entry.js +4 -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 +17 -0
- 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 +45 -9859
- package/dist/esm/taro-switch-core.entry.js +13 -12
- package/dist/esm/taro-tab-item-core.entry.js +1 -1
- package/dist/esm/taro-tabbar.entry.js +6 -79
- package/dist/esm/taro-tabs-core.entry.js +1 -1
- package/dist/esm/taro-text-core.entry.js +2 -2
- package/dist/esm/taro-textarea-core.entry.js +12 -3
- package/dist/esm/taro-video-control_3.entry.js +13 -8
- 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 +2 -2
- package/dist/esm-es5/index-9924aee9.js +2 -0
- package/dist/esm-es5/index-a00a7418.js +1 -0
- package/dist/esm-es5/index-b9522531.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 -0
- 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 -0
- 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 -0
- 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 -0
- package/dist/esm-es5/taro-nested-scroll-header-core.entry.js +1 -0
- package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
- package/dist/esm-es5/taro-open-container-core.entry.js +1 -0
- 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 -0
- 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.d.ts +217 -0
- package/dist/hydrate/index.js +14603 -0
- package/dist/hydrate/package.json +6 -0
- package/dist/taro-components/p-010faa87.system.js +1 -0
- package/dist/taro-components/p-02465454.system.entry.js +1 -0
- package/dist/taro-components/p-02d4d104.entry.js +1 -0
- package/dist/taro-components/p-03dc0283.entry.js +1 -0
- package/dist/taro-components/p-047e4bfe.entry.js +1 -0
- package/dist/taro-components/{p-028ad016.system.entry.js → p-06adeb65.system.entry.js} +1 -1
- package/dist/taro-components/p-078cb65e.entry.js +1 -0
- package/dist/taro-components/{p-6d7165eb.system.entry.js → p-07ae6678.system.entry.js} +1 -1
- package/dist/taro-components/p-07f27474.entry.js +1 -0
- package/dist/taro-components/{p-635fe530.system.entry.js → p-083c3147.system.entry.js} +1 -1
- package/dist/taro-components/p-0a64f78c.system.entry.js +1 -0
- package/dist/taro-components/p-0f2c1ecc.entry.js +1 -0
- package/dist/taro-components/{p-7dee8f07.system.entry.js → p-0f480c38.system.entry.js} +1 -1
- package/dist/taro-components/{p-18ea7e10.system.entry.js → p-0fc790c0.system.entry.js} +1 -1
- package/dist/taro-components/{p-aae38fe8.entry.js → p-0ff5a55b.entry.js} +1 -1
- package/dist/taro-components/p-12582166.entry.js +1 -0
- package/dist/taro-components/p-156e9634.system.entry.js +1 -0
- package/dist/taro-components/p-160d710a.js +7 -0
- package/dist/taro-components/{p-25fffbbe.system.entry.js → p-17938fa0.system.entry.js} +1 -1
- package/dist/taro-components/{p-46a9adcf.system.entry.js → p-17b9f865.system.entry.js} +1 -1
- package/dist/taro-components/p-17e72555.entry.js +1 -0
- package/dist/taro-components/p-18c039ef.entry.js +1 -0
- package/dist/taro-components/{p-6e1f0e6d.system.entry.js → p-1bd4da3b.system.entry.js} +1 -1
- package/dist/taro-components/p-1c37143a.system.entry.js +1 -0
- package/dist/taro-components/p-1eea2828.entry.js +1 -0
- package/dist/taro-components/p-204996e7.entry.js +1 -0
- package/dist/taro-components/{p-23f15c7b.entry.js → p-2649c7ae.entry.js} +1 -1
- package/dist/taro-components/p-26eb2f3f.entry.js +1 -0
- package/dist/taro-components/p-27041d86.system.entry.js +1 -0
- package/dist/taro-components/{p-3d7626a9.system.entry.js → p-27d372b4.system.entry.js} +1 -1
- package/dist/taro-components/{p-6c48d884.entry.js → p-280795f2.entry.js} +1 -1
- package/dist/taro-components/p-292470e5.entry.js +1 -0
- package/dist/taro-components/p-2d537212.entry.js +1 -0
- package/dist/taro-components/p-2f177716.entry.js +1 -0
- package/dist/taro-components/{p-9f5ebe09.system.entry.js → p-3293c5d9.system.entry.js} +1 -1
- package/dist/taro-components/p-32c0f326.entry.js +1 -0
- package/dist/taro-components/p-35dec732.entry.js +1 -0
- package/dist/taro-components/{p-fff30a48.entry.js → p-38b29261.entry.js} +1 -1
- package/dist/taro-components/{p-c7679d57.entry.js → p-3a180dc7.entry.js} +1 -1
- package/dist/taro-components/{p-f094089c.system.entry.js → p-3b36196b.system.entry.js} +1 -1
- package/dist/taro-components/{p-222573ad.entry.js → p-3bfe9260.entry.js} +1 -1
- package/dist/taro-components/{p-345cb56f.entry.js → p-3cf08137.entry.js} +1 -1
- package/dist/taro-components/{p-8c93f3e0.entry.js → p-402c7f93.entry.js} +1 -1
- package/dist/taro-components/p-425d1d69.entry.js +1 -0
- package/dist/taro-components/p-43367dd1.entry.js +1 -0
- package/dist/taro-components/p-443b9a72.system.js +7 -0
- package/dist/taro-components/p-443e31ab.system.entry.js +1 -0
- package/dist/taro-components/p-4523b1c7.entry.js +1 -0
- package/dist/taro-components/p-46a66c43.entry.js +1 -0
- package/dist/taro-components/{p-03538d40.system.entry.js → p-47790dc0.system.entry.js} +1 -1
- package/dist/taro-components/{p-747bdbaa.system.entry.js → p-4979e93c.system.entry.js} +1 -1
- package/dist/taro-components/p-4a8b4d58.system.entry.js +1 -0
- package/dist/taro-components/{p-aa1ea71b.system.entry.js → p-4ac48df1.system.entry.js} +1 -1
- package/dist/taro-components/{p-c2259653.system.entry.js → p-4fad4beb.system.entry.js} +1 -1
- package/dist/taro-components/{p-e7232d54.system.entry.js → p-50849470.system.entry.js} +1 -1
- package/dist/taro-components/p-53e62840.system.entry.js +1 -0
- package/dist/taro-components/p-55e12654.entry.js +1 -0
- package/dist/taro-components/p-56552c9e.entry.js +1 -0
- package/dist/taro-components/p-56a82bf3.entry.js +1 -0
- package/dist/taro-components/p-57911e2c.system.entry.js +1 -0
- package/dist/taro-components/{p-3aaf0fb7.system.entry.js → p-57b77f17.system.entry.js} +1 -1
- package/dist/taro-components/{p-d86ce035.system.entry.js → p-5884c108.system.entry.js} +1 -1
- package/dist/taro-components/p-5893c3ed.js +1 -0
- package/dist/taro-components/{p-cd34c92e.system.entry.js → p-5b9aa4b0.system.entry.js} +1 -1
- package/dist/taro-components/{p-feddde29.system.entry.js → p-5c156db3.system.entry.js} +1 -1
- package/dist/taro-components/{p-b94dcfbe.entry.js → p-5c98f478.entry.js} +1 -1
- package/dist/taro-components/p-5f23dc41.system.entry.js +1 -0
- package/dist/taro-components/{p-58d410c6.system.entry.js → p-61a325d2.system.entry.js} +1 -1
- package/dist/taro-components/{p-3967311b.system.entry.js → p-6282bdee.system.entry.js} +1 -1
- package/dist/taro-components/{p-67dcb636.system.entry.js → p-65d11e99.system.entry.js} +1 -1
- package/dist/taro-components/{p-1eb875d0.system.entry.js → p-6654374e.system.entry.js} +1 -1
- package/dist/taro-components/p-6664a2ca.system.entry.js +1 -0
- package/dist/taro-components/p-68197378.entry.js +1 -0
- package/dist/taro-components/p-6989c232.entry.js +1 -0
- package/dist/taro-components/{p-3708575b.system.entry.js → p-6b83388c.system.entry.js} +1 -1
- package/dist/taro-components/p-6ba08ce0.system.entry.js +1 -0
- package/dist/taro-components/p-6cc0bcb9.entry.js +1 -0
- package/dist/taro-components/p-7163d09e.system.js +1 -0
- package/dist/taro-components/{p-edb9e04e.system.entry.js → p-75b4c1fc.system.entry.js} +1 -1
- package/dist/taro-components/p-75d01c60.system.js +2 -0
- package/dist/taro-components/{p-e487b8b4.system.entry.js → p-75ded8a0.system.entry.js} +1 -1
- package/dist/taro-components/p-77e82dfa.entry.js +1 -0
- package/dist/taro-components/{p-f232cf02.entry.js → p-79cad66b.entry.js} +1 -1
- package/dist/taro-components/p-7ca2d075.system.entry.js +1 -0
- package/dist/taro-components/{p-fdccd9b3.system.entry.js → p-7e054ae7.system.entry.js} +1 -1
- package/dist/taro-components/p-7e692c70.entry.js +1 -0
- package/dist/taro-components/p-7ebd4310.entry.js +1 -0
- package/dist/taro-components/p-7fdbcf4d.entry.js +1 -0
- package/dist/taro-components/{p-bbbe728b.system.entry.js → p-8179438b.system.entry.js} +1 -1
- package/dist/taro-components/{p-1c1d9be8.entry.js → p-84998109.entry.js} +1 -1
- package/dist/taro-components/{p-7ad33036.system.entry.js → p-855619b6.system.entry.js} +1 -1
- package/dist/taro-components/p-8b0c9d3f.entry.js +1 -0
- package/dist/taro-components/{p-0b6e9013.system.entry.js → p-91ee1f8a.system.entry.js} +1 -1
- package/dist/taro-components/p-937a6c36.entry.js +1 -0
- package/dist/taro-components/{p-475f9ed3.system.entry.js → p-938f9036.system.entry.js} +1 -1
- package/dist/taro-components/{p-70c81b7e.entry.js → p-93a2b2e9.entry.js} +1 -1
- package/dist/taro-components/p-93b02321.entry.js +1 -0
- package/dist/taro-components/p-9571836f.entry.js +1 -0
- package/dist/taro-components/{p-b4e3f72e.system.entry.js → p-97b09fb4.system.entry.js} +1 -1
- package/dist/taro-components/p-9b6b17c4.system.entry.js +1 -0
- package/dist/taro-components/{p-c968ea43.system.entry.js → p-9e359fff.system.entry.js} +1 -1
- package/dist/taro-components/p-9f53e26c.system.entry.js +1 -0
- package/dist/taro-components/{p-178cb282.system.entry.js → p-a25aca16.system.entry.js} +1 -1
- package/dist/taro-components/p-a50c6736.entry.js +1 -0
- package/dist/taro-components/{p-32b41faa.system.entry.js → p-a96f8f60.system.entry.js} +1 -1
- package/dist/taro-components/{p-9c566d7d.system.entry.js → p-a9ca8247.system.entry.js} +1 -1
- package/dist/taro-components/p-aabac550.entry.js +1 -0
- package/dist/taro-components/p-ab0e0366.system.entry.js +1 -0
- package/dist/taro-components/p-ac2be5f3.entry.js +1 -0
- package/dist/taro-components/p-ac714300.system.entry.js +1 -0
- package/dist/taro-components/{p-1d3ed211.system.entry.js → p-ac9fb309.system.entry.js} +1 -1
- package/dist/taro-components/p-acb113bd.entry.js +1 -0
- package/dist/taro-components/p-b087ad2a.system.entry.js +1 -0
- package/dist/taro-components/p-b1f80b6b.entry.js +1 -0
- package/dist/taro-components/p-b4577a12.system.entry.js +1 -0
- package/dist/taro-components/{p-fbc2b53e.entry.js → p-b4c7bb48.entry.js} +1 -1
- package/dist/taro-components/p-ba11ef7d.entry.js +1 -0
- package/dist/taro-components/{p-810b9a86.system.entry.js → p-ba5e7ec4.system.entry.js} +1 -1
- package/dist/taro-components/p-bb67318d.entry.js +1 -0
- package/dist/taro-components/{p-6f45f110.entry.js → p-bd57edcd.entry.js} +1 -1
- package/dist/taro-components/{p-f43ba9ed.entry.js → p-be055537.entry.js} +1 -1
- package/dist/taro-components/{p-eab8a6b0.entry.js → p-be1701b2.entry.js} +1 -1
- package/dist/taro-components/{p-e769cea4.system.entry.js → p-c056d527.system.entry.js} +1 -1
- package/dist/taro-components/{p-039e15a4.system.entry.js → p-c0c567e5.system.entry.js} +1 -1
- package/dist/taro-components/p-c3dc7072.entry.js +1 -0
- package/dist/taro-components/{p-680ba5a1.system.entry.js → p-c677414d.system.entry.js} +1 -1
- package/dist/taro-components/p-c71d5745.system.entry.js +1 -0
- package/dist/taro-components/{p-a7ecb97a.entry.js → p-c7836e2b.entry.js} +1 -1
- package/dist/taro-components/p-c7d8c076.system.entry.js +1 -0
- package/dist/taro-components/{p-7de7d96c.entry.js → p-c8cd6e16.entry.js} +1 -1
- package/dist/taro-components/p-c95d2b90.entry.js +1 -0
- package/dist/taro-components/p-ca6a5916.system.entry.js +1 -0
- package/dist/taro-components/{p-dea67974.system.entry.js → p-cae6c5d0.system.entry.js} +1 -1
- package/dist/taro-components/{p-6d1e33e1.system.entry.js → p-cafbb3d9.system.entry.js} +1 -1
- package/dist/taro-components/p-ccbaba23.entry.js +1 -0
- package/dist/taro-components/{p-443fe754.system.entry.js → p-d05eb105.system.entry.js} +1 -1
- package/dist/taro-components/{p-346162b4.system.entry.js → p-d2203687.system.entry.js} +1 -1
- package/dist/taro-components/{p-f8970571.entry.js → p-d5603857.entry.js} +1 -1
- package/dist/taro-components/{p-72d7fae0.system.entry.js → p-d73b3a94.system.entry.js} +1 -1
- package/dist/taro-components/p-d87a68f6.entry.js +1 -0
- package/dist/taro-components/p-d973d536.entry.js +1 -0
- package/dist/taro-components/{p-48c52124.entry.js → p-d9884371.entry.js} +1 -1
- package/dist/taro-components/p-dc08715a.entry.js +1 -0
- package/dist/taro-components/{p-20e38f24.entry.js → p-dc25fa81.entry.js} +1 -1
- package/dist/taro-components/p-dcf5747c.system.entry.js +1 -0
- package/dist/taro-components/{p-abd51173.system.entry.js → p-ddf75d6a.system.entry.js} +1 -1
- package/dist/taro-components/{p-c3c69a95.system.entry.js → p-ded98693.system.entry.js} +1 -1
- package/dist/taro-components/{p-0780df27.entry.js → p-dedf50a9.entry.js} +1 -1
- package/dist/taro-components/{p-8d797863.system.entry.js → p-df7c6216.system.entry.js} +1 -1
- package/dist/taro-components/p-e1cce2f1.entry.js +1 -0
- package/dist/taro-components/p-e2e7bc16.entry.js +1 -0
- package/dist/taro-components/p-e3d825d1.system.entry.js +1 -0
- package/dist/taro-components/p-e5ef41f2.system.entry.js +1 -0
- package/dist/taro-components/p-e62a1287.js +2 -0
- package/dist/taro-components/p-e681d764.entry.js +1 -0
- package/dist/taro-components/p-e853a2c8.system.entry.js +1 -0
- package/dist/taro-components/p-ebad862a.system.entry.js +1 -0
- package/dist/taro-components/p-ebb1ae64.entry.js +1 -0
- package/dist/taro-components/p-f034a433.entry.js +1 -0
- package/dist/taro-components/{p-4cc2e06e.entry.js → p-f168fffc.entry.js} +1 -1
- package/dist/taro-components/p-f367a754.entry.js +1 -0
- package/dist/taro-components/{p-2713fc1a.entry.js → p-f43f26cf.entry.js} +1 -1
- package/dist/taro-components/{p-8b604d50.entry.js → p-f5f3a111.entry.js} +1 -1
- package/dist/taro-components/{p-1ac9622e.entry.js → p-f8f2461f.entry.js} +1 -1
- package/dist/taro-components/p-f9935901.system.entry.js +1 -0
- package/dist/taro-components/{p-1411cd2e.system.entry.js → p-fa31b2de.system.entry.js} +1 -1
- package/dist/taro-components/p-fab63183.entry.js +1 -0
- package/dist/taro-components/{p-4ff6ad99.system.entry.js → p-fbf13159.system.entry.js} +1 -1
- package/dist/taro-components/p-fe5eefdc.system.entry.js +1 -0
- package/dist/taro-components/{p-d8f78d99.system.entry.js → p-feb89474.system.entry.js} +1 -1
- package/dist/taro-components/p-ff772345.entry.js +1 -0
- package/dist/taro-components/taro-components.css +1 -5
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/taro-components/taro-components.js +1 -1
- package/dist/types/components/draggable-sheet/draggable-sheet.d.ts +5 -0
- package/dist/types/components/grid-builder/grid-builder.d.ts +5 -0
- package/dist/types/components/list-builder/list-builder.d.ts +5 -0
- package/dist/types/components/map/map.d.ts +145 -2
- package/dist/types/components/nested-scroll-body/nested-scroll-body.d.ts +5 -0
- package/dist/types/components/nested-scroll-header/nested-scroll-header.d.ts +5 -0
- package/dist/types/components/open-container/open-container.d.ts +5 -0
- package/dist/types/components/span/span.d.ts +5 -0
- package/dist/types/components/swiper/swiper.d.ts +5 -0
- package/dist/types/components/switch/switch.d.ts +3 -3
- package/dist/types/components/textarea/textarea.d.ts +1 -0
- package/dist/types/components.d.ts +313 -1
- package/dist/types/utils/index.d.ts +2 -0
- package/global.css +1 -0
- 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 -85
- package/lib/react/components.js +11 -2
- package/lib/react/components.js.map +1 -1
- package/lib/react/helper.d.ts +4 -2
- package/lib/react/helper.js.map +1 -1
- package/lib/react/index.d.ts +1 -1
- package/lib/react/index.js +1 -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.map +1 -0
- package/lib/react/react-component-lib/createComponent.d.ts +3 -3
- package/lib/react/react-component-lib/createComponent.js +3 -2
- 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/{interfaces-f526f1a2.d.ts → react-component-lib/interfaces.d.ts} +4 -5
- package/lib/react/react-component-lib/utils/attachProps.d.ts +18 -9
- package/lib/react/react-component-lib/utils/attachProps.js +86 -10
- package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/lib/react/react-component-lib/utils/case.d.ts +2 -3
- package/lib/react/react-component-lib/utils/dev.d.ts +6 -0
- package/lib/react/react-component-lib/utils/index.d.ts +9 -10
- package/lib/react/react-component-lib/utils/index.js +1 -1
- package/lib/react/react-component-lib/utils/index.js.map +1 -1
- package/lib/solid/component-lib/index.d.ts +53 -0
- package/lib/solid/component-lib/index.js +69 -0
- package/lib/solid/component-lib/index.js.map +1 -0
- package/lib/solid/components.d.ts +92 -0
- package/lib/solid/components.js +102 -0
- package/lib/solid/components.js.map +1 -0
- package/lib/solid/helper.d.ts +3 -0
- package/lib/solid/helper.js +7 -0
- package/lib/solid/helper.js.map +1 -0
- package/lib/solid/index.d.ts +1 -0
- package/lib/solid/index.js +2 -0
- package/lib/solid/solid-component-lib/createComponent.d.ts +10 -0
- package/lib/solid/solid-component-lib/createComponent.js +67 -0
- package/lib/solid/solid-component-lib/createComponent.js.map +1 -0
- package/lib/solid/solid-component-lib/index.d.ts +1 -0
- package/lib/solid/solid-component-lib/index.js +2 -0
- package/lib/solid/solid-component-lib/index.js.map +1 -0
- package/lib/solid/solid-component-lib/interfaces.d.ts +33 -0
- package/lib/solid/solid-component-lib/utils/case.d.ts +3 -0
- package/lib/solid/solid-component-lib/utils/case.js +6 -0
- package/lib/solid/solid-component-lib/utils/case.js.map +1 -0
- package/lib/solid/solid-component-lib/utils/element.d.ts +6 -0
- package/lib/solid/solid-component-lib/utils/element.js +48 -0
- package/lib/solid/solid-component-lib/utils/element.js.map +1 -0
- package/lib/solid/solid-component-lib/utils/index.d.ts +2 -0
- package/lib/solid/solid-component-lib/utils/index.js +3 -0
- package/lib/solid/solid-component-lib/utils/index.js.map +1 -0
- package/lib/vue3/component-lib/createComponent.d.ts +1 -2
- package/lib/vue3/component-lib/createFormsComponent.d.ts +1 -2
- package/lib/vue3/component-lib/createFormsComponent.js.map +1 -1
- package/lib/vue3/component-lib/forwardRef.d.ts +1 -2
- 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 +52 -53
- 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 +1 -2
- package/lib/vue3/components-loader.js.map +1 -1
- package/lib/vue3/components.d.ts +91 -85
- package/lib/vue3/components.js +41 -3
- package/lib/vue3/components.js.map +1 -1
- package/lib/vue3/index.d.ts +1 -1
- package/lib/vue3/index.js +1 -1
- package/lib/vue3/vue-component-lib/utils.d.ts +2 -3
- package/lib/vue3/vue-component-lib/utils.js.map +1 -1
- package/package.json +34 -23
- package/types/Audio.d.ts +11 -11
- package/types/Button.d.ts +9 -9
- package/types/Canvas.d.ts +11 -11
- package/types/Checkbox.d.ts +8 -8
- package/types/CheckboxGroup.d.ts +3 -3
- package/types/CoverImage.d.ts +4 -4
- package/types/CoverView.d.ts +1 -1
- package/types/CustomWrapper.d.ts +1 -1
- package/types/DraggableSheet.d.ts +47 -0
- package/types/Form.d.ts +4 -4
- package/types/GridBuilder.d.ts +72 -0
- package/types/GridView.d.ts +18 -4
- package/types/Icon.d.ts +4 -4
- package/types/Image.d.ts +8 -8
- package/types/Input.d.ts +22 -17
- package/types/Label.d.ts +2 -2
- package/types/ListBuilder.d.ts +55 -0
- package/types/ListView.d.ts +9 -2
- package/types/Map.d.ts +0 -2
- package/types/MovableArea.d.ts +2 -2
- package/types/MovableView.d.ts +18 -18
- package/types/NativeSlot.d.ts +1 -1
- package/types/NavigationBar.d.ts +5 -5
- package/types/Navigator.d.ts +8 -8
- package/types/NestedScrollBody.d.ts +15 -0
- package/types/NestedScrollHeader.d.ts +15 -0
- package/types/OpenContainer.d.ts +74 -0
- package/types/PageMeta.d.ts +13 -7
- package/types/Picker.d.ts +49 -28
- package/types/PickerView.d.ts +6 -1
- package/types/PickerViewColumn.d.ts +1 -1
- package/types/Progress.d.ts +13 -13
- package/types/Radio.d.ts +7 -7
- package/types/RadioGroup.d.ts +2 -2
- package/types/RichText.d.ts +5 -5
- package/types/Script.d.ts +37 -0
- package/types/ScrollView.d.ts +21 -15
- package/types/ShareElement.d.ts +1 -0
- package/types/Slider.d.ts +18 -13
- package/types/Slot.d.ts +1 -1
- package/types/Snapshot.d.ts +12 -3
- package/types/Span.d.ts +14 -0
- package/types/StickyHeader.d.ts +15 -2
- package/types/StickySection.d.ts +7 -1
- package/types/Swiper.d.ts +18 -20
- package/types/SwiperItem.d.ts +2 -2
- package/types/Switch.d.ts +12 -7
- package/types/Text.d.ts +20 -4
- package/types/Textarea.d.ts +18 -13
- package/types/Video.d.ts +30 -30
- package/types/View.d.ts +4 -4
- package/types/WebView.d.ts +4 -4
- package/types/common.d.ts +2 -2
- package/types/index.d.ts +8 -0
- package/types/index.vue3.d.ts +4 -0
- package/dist/cjs/hls-dfcad743.js +0 -25797
- package/dist/cjs/intersection-observer-dc4cfcef.js +0 -728
- package/dist/collection/components/input/index.css +0 -12
- package/dist/components/hls.js +0 -25795
- package/dist/components/intersection-observer.js +0 -726
- package/dist/esm/hls-268fc25b.js +0 -25795
- package/dist/esm/intersection-observer-8e4c7135.js +0 -726
- package/dist/esm-es5/hls-268fc25b.js +0 -1
- package/dist/esm-es5/index-6bb77c5f.js +0 -2
- package/dist/esm-es5/index-a74b6944.js +0 -7
- package/dist/esm-es5/index-d1b03e47.js +0 -1
- package/dist/esm-es5/intersection-observer-8e4c7135.js +0 -1
- package/dist/taro-components/p-00113225.system.entry.js +0 -1
- package/dist/taro-components/p-0030841b.system.js +0 -1
- package/dist/taro-components/p-0910d414.entry.js +0 -1
- package/dist/taro-components/p-0e37fb54.entry.js +0 -1
- package/dist/taro-components/p-11c962b9.entry.js +0 -1
- package/dist/taro-components/p-139d64f1.entry.js +0 -1
- package/dist/taro-components/p-175edd50.entry.js +0 -1
- package/dist/taro-components/p-19f218e6.js +0 -7
- package/dist/taro-components/p-1c95795d.entry.js +0 -1
- package/dist/taro-components/p-1f36cd5f.entry.js +0 -1
- package/dist/taro-components/p-1f88349b.entry.js +0 -1
- package/dist/taro-components/p-2145dccb.entry.js +0 -1
- package/dist/taro-components/p-215881b4.entry.js +0 -1
- package/dist/taro-components/p-2339a4d3.entry.js +0 -1
- package/dist/taro-components/p-277892fe.system.entry.js +0 -1
- package/dist/taro-components/p-27c756c5.system.entry.js +0 -1
- package/dist/taro-components/p-2aff4cdb.entry.js +0 -1
- package/dist/taro-components/p-2e2487bf.system.entry.js +0 -1
- package/dist/taro-components/p-332dc867.entry.js +0 -1
- package/dist/taro-components/p-333305e3.entry.js +0 -1
- package/dist/taro-components/p-34de4101.system.js +0 -7
- package/dist/taro-components/p-35160fd2.entry.js +0 -1
- package/dist/taro-components/p-37edf3f6.entry.js +0 -1
- package/dist/taro-components/p-3ad92100.system.entry.js +0 -1
- package/dist/taro-components/p-3b1d2d37.system.js +0 -1
- package/dist/taro-components/p-3cd71da3.system.entry.js +0 -1
- package/dist/taro-components/p-401743f9.system.entry.js +0 -1
- package/dist/taro-components/p-4aeb3859.system.entry.js +0 -1
- package/dist/taro-components/p-4d609ebb.system.entry.js +0 -1
- package/dist/taro-components/p-4d89b685.entry.js +0 -1
- package/dist/taro-components/p-527c55ca.entry.js +0 -1
- package/dist/taro-components/p-550c350a.entry.js +0 -1
- package/dist/taro-components/p-5b028f1b.js +0 -1
- package/dist/taro-components/p-619b9fe5.system.entry.js +0 -1
- package/dist/taro-components/p-6df6fd58.entry.js +0 -1
- package/dist/taro-components/p-6f5e162d.entry.js +0 -1
- package/dist/taro-components/p-70bd0541.entry.js +0 -1
- package/dist/taro-components/p-728b6f8f.system.entry.js +0 -1
- package/dist/taro-components/p-72f327e1.js +0 -1
- package/dist/taro-components/p-79b675c8.entry.js +0 -1
- package/dist/taro-components/p-7b39971e.system.entry.js +0 -1
- package/dist/taro-components/p-7ba17143.entry.js +0 -1
- package/dist/taro-components/p-7be1f603.entry.js +0 -1
- package/dist/taro-components/p-7e90dfef.js +0 -2
- package/dist/taro-components/p-817b319c.system.entry.js +0 -1
- package/dist/taro-components/p-907d2fe0.entry.js +0 -1
- package/dist/taro-components/p-93a3d6ee.entry.js +0 -1
- package/dist/taro-components/p-9c91aee3.system.entry.js +0 -1
- package/dist/taro-components/p-9e788d33.entry.js +0 -1
- package/dist/taro-components/p-9feeee0f.system.entry.js +0 -1
- package/dist/taro-components/p-a3dad439.entry.js +0 -1
- package/dist/taro-components/p-a4ea7a51.system.entry.js +0 -1
- package/dist/taro-components/p-a54735cb.entry.js +0 -1
- package/dist/taro-components/p-a5adbf15.system.entry.js +0 -1
- package/dist/taro-components/p-a744e7aa.entry.js +0 -1
- package/dist/taro-components/p-b1977132.entry.js +0 -1
- package/dist/taro-components/p-b2ad9709.entry.js +0 -1
- package/dist/taro-components/p-b3780eab.system.entry.js +0 -1
- package/dist/taro-components/p-b69bcd43.entry.js +0 -1
- package/dist/taro-components/p-b9c2a210.system.entry.js +0 -1
- package/dist/taro-components/p-bb454378.entry.js +0 -1
- package/dist/taro-components/p-bd5177d3.system.js +0 -1
- package/dist/taro-components/p-bd6574cf.entry.js +0 -1
- package/dist/taro-components/p-bfea77f9.entry.js +0 -1
- package/dist/taro-components/p-c0a59843.entry.js +0 -1
- package/dist/taro-components/p-cb21f4f1.entry.js +0 -1
- package/dist/taro-components/p-cd0f3444.entry.js +0 -1
- package/dist/taro-components/p-cdd48677.system.js +0 -2
- package/dist/taro-components/p-d3c7f87d.js +0 -1
- package/dist/taro-components/p-d42968e9.system.entry.js +0 -1
- package/dist/taro-components/p-d55f870d.entry.js +0 -1
- package/dist/taro-components/p-d81577b8.system.entry.js +0 -1
- package/dist/taro-components/p-daabfc6e.entry.js +0 -1
- package/dist/taro-components/p-dda03c84.entry.js +0 -1
- package/dist/taro-components/p-deff0bb8.entry.js +0 -1
- package/dist/taro-components/p-e6e3c1d7.entry.js +0 -1
- package/dist/taro-components/p-e82e16a1.entry.js +0 -1
- package/dist/taro-components/p-ee4da4db.system.js +0 -1
- package/dist/taro-components/p-f003caad.entry.js +0 -1
- package/dist/taro-components/p-f111303f.entry.js +0 -1
- package/dist/taro-components/p-f75d094e.system.entry.js +0 -1
- package/dist/taro-components/p-fbec1f96.entry.js +0 -1
- package/lib/react/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js.map +0 -1
- package/lib/vue2/component-lib/components.d.ts +0 -111
- package/lib/vue2/component-lib/components.js +0 -74
- package/lib/vue2/component-lib/components.js.map +0 -1
- package/lib/vue2/component-lib/createComponent.d.ts +0 -14
- package/lib/vue2/component-lib/createComponent.js +0 -23
- package/lib/vue2/component-lib/createComponent.js.map +0 -1
- package/lib/vue2/component-lib/createFormsComponent.d.ts +0 -22
- package/lib/vue2/component-lib/createFormsComponent.js +0 -53
- package/lib/vue2/component-lib/createFormsComponent.js.map +0 -1
- package/lib/vue2/component-lib/icon.d.ts +0 -16
- package/lib/vue2/component-lib/icon.js +0 -23
- package/lib/vue2/component-lib/icon.js.map +0 -1
- package/lib/vue2/component-lib/image.d.ts +0 -16
- package/lib/vue2/component-lib/image.js +0 -24
- package/lib/vue2/component-lib/image.js.map +0 -1
- package/lib/vue2/component-lib/index.d.ts +0 -1
- package/lib/vue2/component-lib/index.js +0 -25
- package/lib/vue2/component-lib/index.js.map +0 -1
- package/lib/vue2/component-lib/mixins/listeners.d.ts +0 -6
- package/lib/vue2/component-lib/mixins/listeners.js +0 -14
- package/lib/vue2/component-lib/mixins/listeners.js.map +0 -1
- package/lib/vue2/component-lib/mixins/refs.d.ts +0 -5
- package/lib/vue2/component-lib/mixins/refs.js +0 -53
- package/lib/vue2/component-lib/mixins/refs.js.map +0 -1
- package/lib/vue2/component-lib/picker.d.ts +0 -25
- package/lib/vue2/component-lib/picker.js +0 -41
- package/lib/vue2/component-lib/picker.js.map +0 -1
- package/lib/vue2/component-lib/scroll-view.d.ts +0 -17
- package/lib/vue2/component-lib/scroll-view.js +0 -35
- package/lib/vue2/component-lib/scroll-view.js.map +0 -1
- package/lib/vue2/component-lib/text.d.ts +0 -16
- package/lib/vue2/component-lib/text.js +0 -24
- package/lib/vue2/component-lib/text.js.map +0 -1
- package/lib/vue2/components-loader.d.ts +0 -2
- package/lib/vue2/components-loader.js +0 -21
- package/lib/vue2/components-loader.js.map +0 -1
- package/lib/vue2/components.d.ts +0 -373
- package/lib/vue2/components.js +0 -583
- package/lib/vue2/components.js.map +0 -1
- package/lib/vue2/index.d.ts +0 -1
- package/lib/vue2/index.js +0 -2
- package/lib/vue2/node_modules/.pnpm/vue-fragment@1.6.0_vue@2.7.15/node_modules/vue-fragment/dist/vue-fragment.esm.js +0 -4
- package/lib/vue2/node_modules/.pnpm/vue-fragment@1.6.0_vue@2.7.15/node_modules/vue-fragment/dist/vue-fragment.esm.js.map +0 -1
- package/lib/vue2/vue-component-lib/utils.d.ts +0 -10
- package/lib/vue2/vue-component-lib/utils.js +0 -51
- package/lib/vue2/vue-component-lib/utils.js.map +0 -1
- /package/lib/react/node_modules/.pnpm/{tslib@2.6.2 → @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 -0
- /package/lib/{vue2 → solid}/index.js.map +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as s,g as i,H as h,c as e}from"./p-7e90dfef.js";const o=class{constructor(s){t(this,s),this.views=[],this.scaleLength=0,this.viewsChanged=()=>{this.views=[];const t=this.element.querySelectorAll("taro-movable-view-core");Array.from(t).forEach((t=>{this.views.push(t)})),this.updateArea()},this.handleTouchStart=t=>{const s=t.touches;if(!s||s.length<=1)return;const i=s[1].pageX-s[0].pageX,h=s[1].pageY-s[0].pageY;if(this.scaleLength=Math.sqrt(i*i+h*h),this.scaleArea)return;const e=(t,s)=>{const i=(t,s)=>!!(t=t.parentNode)&&(!(t instanceof HTMLElement)||t!==document.body)&&(t===s||t===s.element||t.element===s||i(t,s));for(let h=0;h<s.length;h++){const e=s[h];if(t===e.element||i(t,e))return e}},o=e(s[0].target,this.views),a=e(s[1].target,this.views);this.scaleTarget=o&&o===a?o:void 0},this.handleTouchMove=t=>{const s=t.touches;if(!s||s.length<=1)return;t.preventDefault();const i=s[1].pageX-s[0].pageX,h=s[1].pageY-s[0].pageY;this.scaleLength>0&&this.updateScale(Math.sqrt(i*i+h*h)/this.scaleLength)},this.handleTouchEnd=t=>{var s,i;t.touches&&t.touches.length||!t.changedTouches||(this.scaleLength=0,this.scaleArea?this.views.forEach((t=>{var s;null===(s=t.endScale)||void 0===s||s.call(t)})):null===(i=null===(s=this.scaleTarget)||void 0===s?void 0:s.endScale)||void 0===i||i.call(s),this.scaleTarget=void 0)},this.updateScale=t=>{var s,i;t&&1!==t&&(this.scaleArea?this.views.forEach((s=>{var i;null===(i=s.setScale)||void 0===i||i.call(s,t)})):null===(i=null===(s=this.scaleTarget)||void 0===s?void 0:s.setScale)||void 0===i||i.call(s,t))},this.updateArea=()=>{const t=window.getComputedStyle(this.element),s=this.element.getBoundingClientRect(),i=["Left","Right"].map((s=>parseFloat(t["border"+s+"Width"])+parseFloat(t["padding"+s]))),h=["Top","Bottom"].map((s=>parseFloat(t["border"+s+"Width"])+parseFloat(t["padding"+s])));this.views.forEach((t=>{var e;null===(e=t.setParent)||void 0===e||e.call(t,{element:this.element,area:{height:s.height-h[0]-h[1],width:s.width-i[0]-i[1]}})}))},this.scaleArea=void 0}connectedCallback(){this.observer=new MutationObserver((t=>{t.forEach((t=>{var s,i;if("class"===t.attributeName||"style"===t.attributeName){const t=this.element.offsetWidth,h=this.element.offsetHeight;t===(null===(s=this.offset)||void 0===s?void 0:s.width)&&h===(null===(i=this.offset)||void 0===i?void 0:i.height)||this.updateArea(),this.offset={width:t,height:h}}}))})),this.observer.observe(this.element,{attributes:!0})}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}componentDidLoad(){this.viewsChanged()}render(){return s(h,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})}get element(){return i(this)}};o.style="taro-movable-area-core{display:block;position:relative;width:10px;height:10px}";const a=class{constructor(s){t(this,s),this.onChange=e(this,"change",7),this.onScale=e(this,"scale",7),this.onHTouchMove=e(this,"htouchmove",7),this.onVTouchMove=e(this,"vtouchmove",7),this.translateX=0,this.translateY=0,this.origin={x:0,y:0},this.area={width:0,height:0},this.originScale=1,this.currentScale=1,this.width=0,this.height=0,this.minX=0,this.minY=0,this.maxX=0,this.maxY=0,this.baseX=0,this.baseY=0,this.offset={x:0,y:0},this.scaleOffset={x:0,y:0},this.getLimitXY=(t,s)=>{let i=!1;return t>this.maxX?(t=this.maxX,i=!0):t<this.minX&&(t=this.minX,i=!0),s>this.maxY?(s=this.maxY,i=!0):s<this.minY&&(s=this.minY,i=!0),{x:t,y:s,outOfBounds:i}},this.animationTo=(t,s,i,h,e,o,a)=>{this.animation?(this.setTransform(t,s,i,h,e,o),null==a||a()):this.setTransform(t,s,i,h,e,o)},this.setTransform=(t,s,i,h,e,o)=>{if(t=Number(t.toFixed(1)),s=Number(s.toFixed(1)),i=Number((null!=i?i:this.currentScale).toFixed(3)),!this.outOfBounds){const i=this.getLimitXY(t,s);t=i.x,s=i.y}const a=(t,s)=>+((1e3*t-1e3*s)/1e3).toFixed(1),n=a(t,this.scaleOffset.x),r=a(s,this.scaleOffset.y);this.translateX===t&&this.translateY===s||!e&&this.onChange.emit({x:n,y:r,source:h}),i!==this.currentScale&&o&&this.onScale.emit({scale:i,x:n,y:r});const c=`translateX(${t}px) translateY(${s}px) translateZ(0px) scale(${i})`;this.element.style.transform=c,this.element.style.webkitTransform=c,this.translateX=t,this.translateY=s,this.currentScale=i},this.updateOffset=()=>{const t=(s,i)=>{if(s===i||!s.offsetParent)return{left:0,top:0};const h=t(s.offsetParent,i);return{left:s.offsetLeft+h.left,top:s.offsetTop+h.top}};if(!this.parent)return;const s=t(this.element,this.parent);this.offset.x=s.left,this.offset.y=s.top},this.updateScaleOffset=(t=this.currentScale)=>{const s=this.element.getBoundingClientRect();this.height=s.height/this.currentScale,this.width=s.width/this.currentScale,this.scaleOffset.x=(this.width*t-this.width)/2,this.scaleOffset.y=(this.height*t-this.height)/2},this.updateBoundary=()=>{const t=0-this.offset.x+this.scaleOffset.x,s=this.area.width-this.width-this.offset.x-this.scaleOffset.x;this.minX=Math.min(t,s),this.maxX=Math.max(t,s);const i=0-this.offset.y+this.scaleOffset.y,h=this.area.height-this.height-this.offset.y-this.scaleOffset.y;this.minY=Math.min(i,h),this.maxY=Math.max(i,h)},this.updateScale=(t,s,i)=>{if(!this.scale)return;const h=this.adjustScale(t);this.updateScaleOffset(h),this.updateBoundary();const{x:e,y:o}=this.getLimitXY(this.translateX,this.translateY);s?this.animationTo(e,o,h,"",!0,!0,i):this.updating||(this.updating=!0,requestAnimationFrame((()=>{this.setTransform(e,o,h,"",!0,!0),this.updating=!1})))},this.setOriginScale=t=>{this.originScale=t},this.adjustScale=t=>Math.min(10,this.scaleMax,Math.max(.5,this.scaleMin,t)),this.handleTouchStart=t=>{const s=t.touches;if(this.disabled||s.length>1||!this.element)return;const i=s[0];this.touching=!0,this.firstMoveFireEvent=!1,this.origin.x=i.screenX,this.origin.y=i.screenY,this.baseX=this.translateX,this.baseY=this.translateY,this.element.style.willChange="transform"},this.handleTouchMove=t=>{const s=t.touches;if(this.disabled||!this.element||this.scaling||!this.touching||s.length>1)return;t.preventDefault();const i=s[0],h=i.screenX-this.origin.x,e=i.screenY-this.origin.y;this.setTransform(this.xMove?h+this.baseX:0,this.yMove?e+this.baseY:0),this.firstMoveFireEvent||(this.firstMoveFireEvent=!0,(Math.abs(h)>Math.abs(e)?this.onHTouchMove:this.onVTouchMove).emit({originalEvent:t,bubbles:!1,capturePhase:!1,composed:!0,extraFields:{touches:t.touches||{},changedTouches:t.changedTouches||{}}}))},this.handleTouchEnd=t=>{const s=t.changedTouches[0];!this.disabled&&this.touching&&s&&(this.touching=!1,this.setTransform(this.xMove?s.screenX-this.origin.x+this.baseX:0,this.yMove?s.screenY-this.origin.y+this.baseY:0))},this.x=0,this.y=0,this.direction="none",this.outOfBounds=!1,this.inertia=!1,this.friction=2,this.damping=20,this.disabled=!1,this.scale=!1,this.scaleMin=.5,this.scaleMax=10,this.scaleValue=1,this.animation=!0}watchX(t){this.setTransform(parseFloat(`${t||0}`),this.translateY)}watchY(t){this.setTransform(this.translateX,parseFloat(`${t||0}`))}watchScaleMinOrMax(){if(!this.scale)return!1;this.updateScale(this.currentScale,!0),this.setOriginScale(this.currentScale)}watchScaleValue(t){return!!this.scale&&(this.updateScale(t,!0),this.setOriginScale(t),t)}async setParent({element:t,area:s}){const i=this.scale?this.scaleValue:1;this.area=s,this.parent=t,this.updateOffset(),this.updateScaleOffset(i),this.updateBoundary(),this.setTransform(Number(this.x)+this.scaleOffset.x,Number(this.y)+this.scaleOffset.y,i,"",!0),this.setOriginScale(i)}async endScale(){this.scaling=!1,this.setOriginScale(this.currentScale)}async setScale(t){this.scale&&(this.scaling=!0,this.updateScale(t*this.originScale))}connectedCallback(){this.observer=new MutationObserver((t=>{t.forEach((t=>{const s=t.attributeName;if(s&&["class","style"].includes(s)){const i=t.oldValue,h=t.target.getAttribute(s);if(i===h)return;const e=t=>null==t?void 0:t.split(";").filter((t=>!["transform","will-change"].find((s=>t.trim().startsWith(s))))).join(";");if("style"===s&&e(h)===e(i))return;this.updateOffset(),this.updateScaleOffset(),this.updateBoundary(),this.setTransform(this.translateX,this.translateY)}}))})),this.observer.observe(this.element,{attributes:!0,attributeOldValue:!0})}disconnectedCallback(){var t;null===(t=this.observer)||void 0===t||t.disconnect()}componentDidLoad(){if(this.element.style.transformOrigin="center",this.xMove=["horizontal","all"].includes(this.direction),this.yMove=["vertical","all"].includes(this.direction),this.friction<=0&&(this.friction=2),this.x||this.y){const t=parseFloat(`${this.x||0}`),s=parseFloat(`${this.y||0}`);this.setTransform(t,s)}}render(){return s(h,{onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd})}get element(){return i(this)}static get watchers(){return{x:["watchX"],y:["watchY"],scaleMin:["watchScaleMinOrMax"],scaleMax:["watchScaleMinOrMax"],scaleValue:["watchScaleValue"]}}};a.style="taro-movable-view-core{display:inline-block;position:absolute;left:0;top:0;width:10px;height:10px}";export{o as taro_movable_area_core,a as taro_movable_view_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as o,H as t}from"./p-7e90dfef.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const e=class{constructor(o){r(this,o)}componentDidLoad(){s("Editor",this)}render(){return o(t,null)}};export{e as taro_editor_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __spreadArray=this&&this.__spreadArray||function(e,t,a){if(a||arguments.length===2)for(var r=0,o=t.length,n;r<o;r++){if(n||!(r in t)){if(!n)n=Array.prototype.slice.call(t,0,r);n[r]=t[r]}}return e.concat(n||Array.prototype.slice.call(t))};System.register(["./p-cdd48677.system.js","@tarojs/taro","@tarojs/router/dist/utils","./p-34de4101.system.js","./p-bd5177d3.system.js"],(function(e){"use strict";var t,a,r,o,n,i,s,l,d,b,h,c;return{setters:[function(e){t=e.h;a=e.r;r=e.c;o=e.H;n=e.g},function(e){i=e.default},function(e){s=e.stripSuffix;l=e.stripBasename;d=e.addLeadingSlash;b=e.getCurrentPage},function(e){h=e.c},function(e){c=e.i}],execute:function(){var f=function(e){var t=e||"";var a;var r={path:null,query:null,fragment:null};a=t.indexOf("#");if(a>-1){r.fragment=t.substring(a+1);t=t.substring(0,a)}a=t.indexOf("?");if(a>-1){r.query=t.substring(a+1);t=t.substring(0,a)}r.path=t;return r};function u(e){return e.charAt(0)==="/"}function v(e,t){for(var a=t,r=a+1,o=e.length;r<o;a+=1,r+=1){e[a]=e[r]}e.pop()}function g(e,t){if(t===undefined)t="";var a=e&&e.split("/")||[];var r=t&&t.split("/")||[];var o=e&&u(e);var n=t&&u(t);var i=o||n;if(e&&u(e)){r=a}else if(a.length){r.pop();r=r.concat(a)}if(!r.length)return"/";var s;if(r.length){var l=r[r.length-1];s=l==="."||l===".."||l===""}else{s=false}var d=0;for(var b=r.length;b>=0;b--){var h=r[b];if(h==="."){v(r,b)}else if(h===".."){v(r,b);d++}else if(d){v(r,b);d--}}if(!i)for(;d--;d)r.unshift("..");if(i&&r[0]!==""&&(!r[0]||!u(r[0])))r.unshift("");var c=r.join("/");if(s&&c.substr(-1)!=="/")c+="/";return c}var p=function(e){var a=e.index,r=e.isSelected,o=r===void 0?false:r,n=e.textColor,s=e.iconPath,l=e.badgeText,d=e.showRedDot,b=d===void 0?false:d,f=e.pagePath,u=e.text,v=e.onSelect;var g=h("weui-tabbar__item",{"weui-bar__item_on":o});var p={position:"absolute",top:"-2px",right:"-13px"};var _={position:"absolute",top:"0",right:"-6px"};function m(){var e=i.getCurrentPages().shift();if(typeof(e===null||e===void 0?void 0:e.onTabItemTap)==="function"&&c(this)){e.onTabItemTap({index:a,pagePath:f,text:u})}v(a)}return t("a",{key:a,href:"javascript:;",class:g,onClick:m},t("span",{style:{display:"inline-block",position:"relative"}},t("img",{src:s,alt:"",class:"weui-tabbar__icon"}),!!l&&t("span",{class:"weui-badge taro-tabbar-badge",style:p},l),b&&t("span",{class:"weui-badge weui-badge_dot",style:_})),t("p",{class:"weui-tabbar__label",style:{color:n}},u))};var _="html,body{height:100%}:root{--taro-tabbar-height:50px}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column;height:100%}.taro-tabbar__panel{overflow:auto;position:relative;-ms-flex:1;flex:1;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;width:100%;height:var(--taro-tabbar-height);-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";var m=0;var T=1;var B=2;var y="taro-tabbar__tabbar";var H="taro-tabbar__tabbar-hide";var x="taro-tabbar__tabbar-slideout";var C=e("taro_tabbar",function(){function e(e){var t=this;a(this,e);this.onLongPress=r(this,"longpress",7);this.homePage="";this.customRoutes=[];this.tabbarPos="bottom";this.getOriginUrl=function(e){var a=t.customRoutes.filter((function(t){var a=t[1];var r=f(a).path;var o=f(e).path;return r===o}));return s(a.length?a[0][0]:e,".html")};this.getSelectedIndex=function(e){var a=-1;t.list.forEach((function(t,r){var o=t.pagePath;var n=f(e).path;var i=f(o).path;if(n===i){a=r}}));return a};this.switchTab=function(e){t.selectedIndex=e;i.switchTab({url:t.list[e].pagePath})};this.switchTabHandler=function(e){var a=e.url,r=e.successHandler,o=e.errorHandler;var n=t.getOriginUrl(t.getCurrentUrl()||t.homePage);var i=g(a,n);var s=t.getSelectedIndex(i);if(s>-1){t.switchTab(s);r({errMsg:"switchTab:ok"})}else{o({errMsg:'switchTab:fail page "'.concat(i,'" is not found')})}};this.routerChangeHandler=function(e){var a;var r=(a=e===null||e===void 0?void 0:e.toLocation)===null||a===void 0?void 0:a.path;var o;if(typeof r==="string"){var n=t.conf.basename||"/";o=l(d(r||t.homePage),n)||"/"}else{o=t.getCurrentUrl()}t.selectedIndex=t.getSelectedIndex(t.getOriginUrl(o))};this.setTabBarBadgeHandler=function(e){var a=e.index,r=e.text,o=e.successHandler,n=e.errorHandler;var i=__spreadArray([],t.list,true);if(a in i){i[a].showRedDot=false;i[a].badgeText=r;o({errMsg:"setTabBarBadge:ok"})}else{n({errMsg:"setTabBarBadge:fail tabbar item not found"})}t.list=i};this.removeTabBarBadgeHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].badgeText=null;n[a].badgeText=null;r({errMsg:"removeTabBarBadge:ok"})}else{o({errMsg:"removeTabBarBadge:fail tabbar item not found"})}t.list=n};this.showTabBarRedDotHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].badgeText=null;n[a].showRedDot=true;r({errMsg:"showTabBarRedDot:ok"})}else{o({errMsg:"showTabBarRedDot:fail tabbar item not found"})}t.list=n};this.hideTabBarRedDotHandler=function(e){var a=e.index,r=e.successHandler,o=e.errorHandler;var n=__spreadArray([],t.list,true);if(a in n){n[a].showRedDot=false;r({errMsg:"hideTabBarRedDot:ok"})}else{o({errMsg:"hideTabBarRedDot:fail tabbar item not found"})}t.list=n};this.showTabBarHandler=function(e){var a=e.successHandler;t.status=m;a({errMsg:"showTabBar:ok"})};this.hideTabBarHandler=function(e){var a=e.animation,r=e.successHandler;t.status=a?B:T;r({errMsg:"hideTabBar:ok"})};this.setTabBarStyleHandler=function(e){var a=e.color,r=e.selectedColor,o=e.backgroundColor,n=e.borderStyle,i=e.successHandler;if(o)t.backgroundColor=o;if(n)t.borderStyle=n;if(a)t.color=a;if(r)t.selectedColor=r;i({errMsg:"setTabBarStyle:ok"})};this.setTabBarItemHandler=function(e){var a=e.index,r=e.iconPath,o=e.selectedIconPath,n=e.text,i=e.successHandler,s=e.errorHandler;var l=__spreadArray([],t.list,true);if(a in l){if(r)l[a].iconPath=r;if(o)l[a].selectedIconPath=o;if(n)l[a].text=n;i({errMsg:"setTabBarItem:ok"})}else{s({errMsg:"setTabBarItem:fail tabbar item not found"})}t.list=l};this.conf=undefined;this.list=undefined;this.borderStyle=undefined;this.backgroundColor=undefined;this.color=undefined;this.selectedColor=undefined;this.selectedIndex=-1;this.status=m}e.prototype.componentWillLoad=function(){var e,t;var a=((e=this.conf)===null||e===void 0?void 0:e.list)||[];var r=((t=this.conf)===null||t===void 0?void 0:t.customRoutes)||{};if(Object.prototype.toString.call(a)!=="[object Array]"||a.length<2||a.length>5){throw new Error("tabBar 配置错误")}this.homePage=d(this.conf.homePage);var o=function(e){var t;var a=r[e];e=d(e);if(typeof a==="string"){n.customRoutes.push([e,d(a)])}else if((a===null||a===void 0?void 0:a.length)>0){(t=n.customRoutes).push.apply(t,a.map((function(t){return[e,d(t)]})))}};var n=this;for(var i in r){o(i)}a.forEach((function(e){if(e.pagePath.indexOf("/")!==0){e.pagePath="/"+e.pagePath}}));this.list=a;this.borderStyle=this.conf.borderStyle;this.backgroundColor=this.conf.backgroundColor;this.color=this.conf.color;this.selectedColor=this.conf.selectedColor};e.prototype.getCurrentUrl=function(){var e=b(this.conf.mode,this.conf.basename);return decodeURI(e==="/"?this.homePage:e)};e.prototype.bindEvent=function(){i.eventCenter.on("__taroRouterChange",this.routerChangeHandler);i.eventCenter.on("__taroSwitchTab",this.switchTabHandler);i.eventCenter.on("__taroSetTabBarBadge",this.setTabBarBadgeHandler);i.eventCenter.on("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);i.eventCenter.on("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);i.eventCenter.on("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);i.eventCenter.on("__taroShowTabBar",this.showTabBarHandler);i.eventCenter.on("__taroHideTabBar",this.hideTabBarHandler);i.eventCenter.on("__taroSetTabBarStyle",this.setTabBarStyleHandler);i.eventCenter.on("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.removeEvent=function(){i.eventCenter.off("__taroRouterChange",this.routerChangeHandler);i.eventCenter.off("__taroSwitchTab",this.switchTabHandler);i.eventCenter.off("__taroSetTabBarBadge",this.setTabBarBadgeHandler);i.eventCenter.off("__taroRemoveTabBarBadge",this.removeTabBarBadgeHandler);i.eventCenter.off("__taroShowTabBarRedDotHandler",this.showTabBarRedDotHandler);i.eventCenter.off("__taroHideTabBarRedDotHandler",this.hideTabBarRedDotHandler);i.eventCenter.off("__taroShowTabBar",this.showTabBarHandler);i.eventCenter.off("__taroHideTabBar",this.hideTabBarHandler);i.eventCenter.off("__taroSetTabBarStyle",this.setTabBarStyleHandler);i.eventCenter.off("__taroSetTabBarItem",this.setTabBarItemHandler)};e.prototype.componentDidLoad=function(){this.tabbarPos=this.tabbar.nextElementSibling?"top":"bottom";this.bindEvent();this.routerChangeHandler()};e.prototype.disconnectedCallback=function(){this.removeEvent()};e.prototype.render=function(){var e,a;var r=this;var n=this.tabbarPos,i=n===void 0?"bottom":n;var s=this.status;var l=h("weui-tabbar",(e={},e["taro-tabbar__border-".concat(this.borderStyle||"black")]=true,e));var d=this.selectedIndex===-1||s===T;var b=s===B;return t(o,{class:h(y,"".concat(y,"-").concat(i),(a={},a[H]=d,a[x]=b,a))},t("div",{class:l,style:{backgroundColor:this.backgroundColor||"",height:"inherit"}},this.list.map((function(e,a){var o=r.selectedIndex===a;var n;var i;if(o){n=r.selectedColor||"";i=e.selectedIconPath}else{n=r.color||"";i=e.iconPath}return t(p,{index:a,onSelect:r.switchTab.bind(r),isSelected:o,textColor:n,iconPath:i,pagePath:e.pagePath,text:e.text,badgeText:e.badgeText,showRedDot:e.showRedDot})}))))};Object.defineProperty(e.prototype,"tabbar",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());C.style=_}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,c as e,h as t,H as a}from"./p-7e90dfef.js";import i from"@tarojs/taro";import{c as r}from"./p-19f218e6.js";const o=class{constructor(t){s(this,t),this.onSuccess=e(this,"cuccess",7),this.onFail=e(this,"fail",7),this.onComplete=e(this,"complete",7),this.hoverClass=void 0,this.url=void 0,this.openType="navigate",this.isHover=!1,this.delta=0}onClick(){const{openType:s,onSuccess:e,onFail:t,onComplete:a}=this;let r=Promise.resolve();switch(s){case"navigate":r=i.navigateTo({url:this.url});break;case"redirect":r=i.redirectTo({url:this.url});break;case"switchTab":r=i.switchTab({url:this.url});break;case"reLaunch":r=i.reLaunch({url:this.url});break;case"navigateBack":r=i.navigateBack({delta:this.delta});break;case"exit":r=Promise.reject(new Error('navigator:fail 暂不支持"openType: exit"'))}r&&r.then((s=>{e.emit(s)})).catch((s=>{t.emit(s)})).finally((()=>{a.emit()}))}render(){const{isHover:s,hoverClass:e}=this;return t(a,{class:r({[e]:s})})}};o.style=".navigator-hover{background:#efefef}";export{o as taro_navigator_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tslib.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
declare const components: (string | (string | {
|
|
2
|
-
type: string;
|
|
3
|
-
component: {
|
|
4
|
-
name: string;
|
|
5
|
-
mixins: ({
|
|
6
|
-
computed: {
|
|
7
|
-
listeners(): any;
|
|
8
|
-
};
|
|
9
|
-
} | {
|
|
10
|
-
mounted(): void;
|
|
11
|
-
beforeDestroy(): void;
|
|
12
|
-
})[];
|
|
13
|
-
props: {
|
|
14
|
-
scrollX: BooleanConstructor;
|
|
15
|
-
scrollY: BooleanConstructor;
|
|
16
|
-
};
|
|
17
|
-
render(createElement: any): any;
|
|
18
|
-
};
|
|
19
|
-
})[] | (string | {
|
|
20
|
-
classNames: string[];
|
|
21
|
-
})[] | (string | {
|
|
22
|
-
type: string;
|
|
23
|
-
component: {
|
|
24
|
-
name: string;
|
|
25
|
-
mixins: ({
|
|
26
|
-
computed: {
|
|
27
|
-
listeners(): any;
|
|
28
|
-
};
|
|
29
|
-
} | {
|
|
30
|
-
mounted(): void;
|
|
31
|
-
beforeDestroy(): void;
|
|
32
|
-
})[];
|
|
33
|
-
props: {
|
|
34
|
-
type: StringConstructor;
|
|
35
|
-
};
|
|
36
|
-
render(createElement: any): any;
|
|
37
|
-
};
|
|
38
|
-
})[] | (string | {
|
|
39
|
-
type: string;
|
|
40
|
-
component: {
|
|
41
|
-
name: string;
|
|
42
|
-
mixins: ({
|
|
43
|
-
computed: {
|
|
44
|
-
listeners(): any;
|
|
45
|
-
};
|
|
46
|
-
} | {
|
|
47
|
-
mounted(): void;
|
|
48
|
-
beforeDestroy(): void;
|
|
49
|
-
})[];
|
|
50
|
-
props: {
|
|
51
|
-
selectable: BooleanConstructor;
|
|
52
|
-
};
|
|
53
|
-
render(createElement: any): any;
|
|
54
|
-
};
|
|
55
|
-
})[] | (string | {
|
|
56
|
-
type: string;
|
|
57
|
-
event: string;
|
|
58
|
-
})[] | (string | {
|
|
59
|
-
type: string;
|
|
60
|
-
component: {
|
|
61
|
-
name: string;
|
|
62
|
-
mixins: ({
|
|
63
|
-
computed: {
|
|
64
|
-
listeners(): any;
|
|
65
|
-
};
|
|
66
|
-
} | {
|
|
67
|
-
mounted(): void;
|
|
68
|
-
beforeDestroy(): void;
|
|
69
|
-
})[];
|
|
70
|
-
model: {
|
|
71
|
-
event: string;
|
|
72
|
-
};
|
|
73
|
-
props: {
|
|
74
|
-
range: ArrayConstructor;
|
|
75
|
-
rangeKey: StringConstructor;
|
|
76
|
-
value: (ArrayConstructor | StringConstructor | NumberConstructor)[];
|
|
77
|
-
};
|
|
78
|
-
mounted(): void;
|
|
79
|
-
watch: {
|
|
80
|
-
value(newVal: any): void;
|
|
81
|
-
};
|
|
82
|
-
render(createElement: any): any;
|
|
83
|
-
};
|
|
84
|
-
})[] | (string | {
|
|
85
|
-
type: string;
|
|
86
|
-
event: string;
|
|
87
|
-
modelValue: string;
|
|
88
|
-
classNames: string[];
|
|
89
|
-
})[] | (string | {
|
|
90
|
-
type: string;
|
|
91
|
-
event: string;
|
|
92
|
-
modelValue: string;
|
|
93
|
-
})[] | (string | {
|
|
94
|
-
type: string;
|
|
95
|
-
component: {
|
|
96
|
-
name: string;
|
|
97
|
-
mixins: ({
|
|
98
|
-
computed: {
|
|
99
|
-
listeners(): any;
|
|
100
|
-
};
|
|
101
|
-
} | {
|
|
102
|
-
mounted(): void;
|
|
103
|
-
beforeDestroy(): void;
|
|
104
|
-
})[];
|
|
105
|
-
props: {
|
|
106
|
-
mode: StringConstructor;
|
|
107
|
-
};
|
|
108
|
-
render(createElement: any): any;
|
|
109
|
-
};
|
|
110
|
-
})[])[];
|
|
111
|
-
export { components as default };
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import Icon from './icon.js';
|
|
2
|
-
import Image from './image.js';
|
|
3
|
-
import Picker from './picker.js';
|
|
4
|
-
import ScrollView from './scroll-view.js';
|
|
5
|
-
import Text from './text.js';
|
|
6
|
-
|
|
7
|
-
const components = [
|
|
8
|
-
// 视图容器
|
|
9
|
-
'taro-cover-image',
|
|
10
|
-
'taro-cover-view',
|
|
11
|
-
'taro-match-media',
|
|
12
|
-
'taro-movable-area',
|
|
13
|
-
'taro-movable-view',
|
|
14
|
-
'taro-page-container',
|
|
15
|
-
'taro-root-portal',
|
|
16
|
-
['taro-scroll-view', { type: 'component', component: ScrollView }],
|
|
17
|
-
'taro-share-element',
|
|
18
|
-
'taro-swiper',
|
|
19
|
-
['taro-swiper-item', { classNames: ['swiper-slide'] }],
|
|
20
|
-
'taro-view',
|
|
21
|
-
// 基础内容
|
|
22
|
-
['taro-icon', { type: 'component', component: Icon }],
|
|
23
|
-
['taro-progress', { classNames: ['weui-progress'] }],
|
|
24
|
-
'taro-rich-text',
|
|
25
|
-
['taro-text', { type: 'component', component: Text }],
|
|
26
|
-
// 表单组件
|
|
27
|
-
'taro-button',
|
|
28
|
-
['taro-checkbox', { classNames: ['weui-cells_checkbox'] }],
|
|
29
|
-
'taro-checkbox-group',
|
|
30
|
-
'taro-editor',
|
|
31
|
-
'taro-form',
|
|
32
|
-
['taro-input', { type: 'forms', event: 'input' }],
|
|
33
|
-
'taro-keyboard-accessory',
|
|
34
|
-
'taro-label',
|
|
35
|
-
['taro-picker', { type: 'component', component: Picker }],
|
|
36
|
-
'taro-picker-view',
|
|
37
|
-
'taro-picker-view-column',
|
|
38
|
-
['taro-radio', { classNames: ['weui-cells_checkbox'] }],
|
|
39
|
-
['taro-radio-group', { classNames: ['weui-cells_radiogroup'] }],
|
|
40
|
-
['taro-slider', { type: 'forms', event: 'change', modelValue: 'value', classNames: ['weui-slider-box'] }],
|
|
41
|
-
['taro-switch', { type: 'forms', event: 'change', modelValue: 'checked' }],
|
|
42
|
-
['taro-textarea', { type: 'forms', event: 'input' }],
|
|
43
|
-
// 导航
|
|
44
|
-
'taro-functional-page-navigator',
|
|
45
|
-
'taro-navigator',
|
|
46
|
-
// 媒体组件
|
|
47
|
-
'taro-audio',
|
|
48
|
-
'taro-camera',
|
|
49
|
-
['taro-image', { type: 'component', component: Image }],
|
|
50
|
-
'taro-live-player',
|
|
51
|
-
['taro-video', { classNames: ['taro-video-container'] }],
|
|
52
|
-
'taro-voip-room',
|
|
53
|
-
// 地图
|
|
54
|
-
'taro-map',
|
|
55
|
-
// 画布
|
|
56
|
-
'taro-canvas',
|
|
57
|
-
// 开放能力
|
|
58
|
-
'taro-web-view',
|
|
59
|
-
'taro-ad',
|
|
60
|
-
'taro-ad-custom',
|
|
61
|
-
'taro-official-account',
|
|
62
|
-
'taro-open-data',
|
|
63
|
-
// 导航栏
|
|
64
|
-
'taro-navigation-bar',
|
|
65
|
-
// 页面属性配置节点
|
|
66
|
-
'taro-page-meta',
|
|
67
|
-
// 其他
|
|
68
|
-
'taro-block',
|
|
69
|
-
'taro-custom-wrapper',
|
|
70
|
-
'taro-slot'
|
|
71
|
-
];
|
|
72
|
-
|
|
73
|
-
export { components as default };
|
|
74
|
-
//# sourceMappingURL=components.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sources":["../../../../taro-components-library-vue2/src/component-lib/components.ts"],"sourcesContent":["import Icon from './icon'\nimport Image from './image'\nimport Picker from './picker'\nimport ScrollView from './scroll-view'\nimport Text from './text'\n\nconst components = [\n // 视图容器\n 'taro-cover-image',\n 'taro-cover-view',\n 'taro-match-media',\n 'taro-movable-area',\n 'taro-movable-view',\n 'taro-page-container',\n 'taro-root-portal',\n ['taro-scroll-view', { type: 'component', component: ScrollView }],\n 'taro-share-element',\n 'taro-swiper',\n ['taro-swiper-item', { classNames: ['swiper-slide'] }],\n 'taro-view',\n\n // 基础内容\n ['taro-icon', { type: 'component', component: Icon }],\n ['taro-progress', { classNames: ['weui-progress'] }],\n 'taro-rich-text',\n ['taro-text', { type: 'component', component: Text }],\n\n // 表单组件\n 'taro-button',\n ['taro-checkbox', { classNames: ['weui-cells_checkbox'] }],\n 'taro-checkbox-group',\n 'taro-editor',\n 'taro-form',\n ['taro-input', { type: 'forms', event: 'input' }],\n 'taro-keyboard-accessory',\n 'taro-label',\n ['taro-picker', { type: 'component', component: Picker }],\n 'taro-picker-view',\n 'taro-picker-view-column',\n ['taro-radio', { classNames: ['weui-cells_checkbox'] }],\n ['taro-radio-group', { classNames: ['weui-cells_radiogroup'] }],\n ['taro-slider', { type: 'forms', event: 'change', modelValue: 'value', classNames: ['weui-slider-box'] }],\n ['taro-switch', { type: 'forms', event: 'change', modelValue: 'checked' }],\n ['taro-textarea', { type: 'forms', event: 'input' }],\n\n // 导航\n 'taro-functional-page-navigator',\n 'taro-navigator',\n\n // 媒体组件\n 'taro-audio',\n 'taro-camera',\n ['taro-image', { type: 'component', component: Image }],\n 'taro-live-player',\n ['taro-video', { classNames: ['taro-video-container'] }],\n 'taro-voip-room',\n\n // 地图\n 'taro-map',\n\n // 画布\n 'taro-canvas',\n\n // 开放能力\n 'taro-web-view',\n 'taro-ad',\n 'taro-ad-custom',\n 'taro-official-account',\n 'taro-open-data',\n\n // 导航栏\n 'taro-navigation-bar',\n\n // 页面属性配置节点\n 'taro-page-meta',\n\n // 其他\n 'taro-block',\n 'taro-custom-wrapper',\n 'taro-slot'\n]\n\nexport default components\n"],"names":[],"mappings":";;;;;;AAMA,MAAM,UAAU,GAAG;;IAEjB,kBAAkB;IAClB,iBAAiB;IACjB,kBAAkB;IAClB,mBAAmB;IACnB,mBAAmB;IACnB,qBAAqB;IACrB,kBAAkB;IAClB,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,CAAC;IAClE,oBAAoB;IACpB,aAAa;IACb,CAAC,kBAAkB,EAAE,EAAE,UAAU,EAAE,CAAC,cAAc,CAAC,EAAE,CAAC;IACtD,WAAW;;IAGX,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;IACrD,CAAC,eAAe,EAAE,EAAE,UAAU,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC;IACpD,gBAAgB;IAChB,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;IAGrD,aAAa;IACb,CAAC,eAAe,EAAE,EAAE,UAAU,EAAE,CAAC,qBAAqB,CAAC,EAAE,CAAC;IAC1D,qBAAqB;IACrB,aAAa;IACb,WAAW;IACX,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;IACjD,yBAAyB;IACzB,YAAY;IACZ,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC;IACzD,kBAAkB;IAClB,yBAAyB;IACzB,CAAC,YAAY,EAAE,EAAE,UAAU,EAAE,CAAC,qBAAqB,CAAC,EAAE,CAAC;IACvD,CAAC,kBAAkB,EAAE,EAAE,UAAU,EAAE,CAAC,uBAAuB,CAAC,EAAE,CAAC;IAC/D,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;AACzG,IAAA,CAAC,aAAa,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC;IAC1E,CAAC,eAAe,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC;;IAGpD,gCAAgC;IAChC,gBAAgB;;IAGhB,YAAY;IACZ,aAAa;IACb,CAAC,YAAY,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;IACvD,kBAAkB;IAClB,CAAC,YAAY,EAAE,EAAE,UAAU,EAAE,CAAC,sBAAsB,CAAC,EAAE,CAAC;IACxD,gBAAgB;;IAGhB,UAAU;;IAGV,aAAa;;IAGb,eAAe;IACf,SAAS;IACT,gBAAgB;IAChB,uBAAuB;IACvB,gBAAgB;;IAGhB,qBAAqB;;IAGrB,gBAAgB;;IAGhB,YAAY;IACZ,qBAAqB;IACrB,WAAW;;;;;"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare function createComponent(name: any, classNames?: any[]): {
|
|
2
|
-
name: any;
|
|
3
|
-
mixins: ({
|
|
4
|
-
computed: {
|
|
5
|
-
listeners(): any;
|
|
6
|
-
};
|
|
7
|
-
} | {
|
|
8
|
-
mounted(): void;
|
|
9
|
-
beforeDestroy(): void;
|
|
10
|
-
})[];
|
|
11
|
-
props: string[];
|
|
12
|
-
render(createElement: any): any;
|
|
13
|
-
};
|
|
14
|
-
export { createComponent as default };
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { listeners } from './mixins/listeners.js';
|
|
2
|
-
import { refs } from './mixins/refs.js';
|
|
3
|
-
|
|
4
|
-
function createComponent(name, classNames = []) {
|
|
5
|
-
return {
|
|
6
|
-
name,
|
|
7
|
-
mixins: [listeners, refs],
|
|
8
|
-
props: ['nativeProps'],
|
|
9
|
-
render(createElement) {
|
|
10
|
-
return createElement(`${name}-core`, {
|
|
11
|
-
class: ['hydrated', ...classNames],
|
|
12
|
-
domProps: {
|
|
13
|
-
nativeProps: this.nativeProps
|
|
14
|
-
},
|
|
15
|
-
attrs: this.$attrs,
|
|
16
|
-
on: this.listeners
|
|
17
|
-
}, this.$slots.default);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export { createComponent as default };
|
|
23
|
-
//# sourceMappingURL=createComponent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createComponent.js","sources":["../../../../taro-components-library-vue2/src/component-lib/createComponent.ts"],"sourcesContent":["import { listeners } from './mixins/listeners'\nimport { refs } from './mixins/refs'\n\nexport default function createComponent (name, classNames = []) {\n return {\n name,\n mixins: [listeners, refs],\n props: ['nativeProps'],\n render (createElement) {\n return createElement(`${name}-core`, {\n class: ['hydrated', ...classNames],\n domProps: {\n nativeProps: this.nativeProps\n },\n attrs: this.$attrs,\n on: this.listeners\n }, this.$slots.default)\n }\n }\n}\n"],"names":[],"mappings":";;;AAGwB,SAAA,eAAe,CAAE,IAAI,EAAE,UAAU,GAAG,EAAE,EAAA;IAC5D,OAAO;QACL,IAAI;AACJ,QAAA,MAAM,EAAE,CAAC,SAAS,EAAE,IAAI,CAAC;QACzB,KAAK,EAAE,CAAC,aAAa,CAAC;AACtB,QAAA,MAAM,CAAE,aAAa,EAAA;AACnB,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,EAAE,IAAI,CAAC,MAAM;gBAClB,EAAE,EAAE,IAAI,CAAC,SAAS;AACnB,aAAA,EAAE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;SACxB;KACF,CAAA;AACH;;;;"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
declare function createFormsComponent(name: any, event: any, modelValue?: string, classNames?: any[]): {
|
|
2
|
-
name: any;
|
|
3
|
-
mixins: ({
|
|
4
|
-
computed: {
|
|
5
|
-
listeners(): any;
|
|
6
|
-
};
|
|
7
|
-
} | {
|
|
8
|
-
mounted(): void;
|
|
9
|
-
beforeDestroy(): void;
|
|
10
|
-
})[];
|
|
11
|
-
model: {
|
|
12
|
-
prop: string;
|
|
13
|
-
event: string;
|
|
14
|
-
};
|
|
15
|
-
props: Record<string, any>;
|
|
16
|
-
methods: {
|
|
17
|
-
input(e: any): void;
|
|
18
|
-
change(e: any): void;
|
|
19
|
-
};
|
|
20
|
-
render(createElement: any): any;
|
|
21
|
-
};
|
|
22
|
-
export { createFormsComponent as default };
|
|
@@ -1,53 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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;;;;"}
|
|
@@ -1,16 +0,0 @@
|
|
|
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 };
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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;;;;"}
|
|
@@ -1,16 +0,0 @@
|
|
|
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 };
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,14 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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;;;;;"}
|
|
@@ -1,53 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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;;;;;"}
|
|
@@ -1,25 +0,0 @@
|
|
|
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 };
|