@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
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,n){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function o(e){try{s(n.next(e))}catch(e){a(e)}}function u(e){try{s(n["throw"](e))}catch(e){a(e)}}function s(e){e.done?i(e.value):r(e.value).then(o,u)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,r,a,o;return o={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return s([e,t])}}function s(u){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(i=0)),i)try{if(n=1,r&&(a=u[0]&2?r["return"]:u[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,u[1])).done)return a;if(r=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:i.label++;return{value:u[1],done:false};case 5:i.label++;r=u[1];u=[0];continue;case 7:u=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){i=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){i.label=u[1];break}if(u[0]===6&&i.label<a[1]){i.label=a[1];a=u;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(u);break}if(a[2])i.ops.pop();i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e];r=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t,i){if(i||arguments.length===2)for(var n=0,r=t.length,a;n<r;n++){if(a||!(n in t)){if(!a)a=Array.prototype.slice.call(t,0,n);a[n]=t[n]}}return e.concat(a||Array.prototype.slice.call(t))};System.register(["./p-cdd48677.system.js","./p-34de4101.system.js"],(function(e){"use strict";var t,i,n,r,a,o;return{setters:[function(e){t=e.r;i=e.c;n=e.h;r=e.H;a=e.g},function(e){o=e.c}],execute:function(){function u(e,t){var i=[];for(var n=e;n<=t;n++){i.push("".concat(n<10?"0":"").concat(n))}return i}var s=__spreadArray(__spreadArray(["20","21","22","23"],u(0,23),true),["00","01","02","03"],false);var h=__spreadArray(__spreadArray(["56","57","58","59"],u(0,59),true),["00","01","02","03"],false);function l(e,t){if(!isNaN(+e)&&e>=0&&e<t.length)return true;return false}function c(e){if(!/^\d{1,2}:\d{1,2}$/.test(e))return false;var t=e.split(":").map((function(e){return+e}));if(t[0]<0||t[0]>23)return false;if(t[1]<0||t[1]>59)return false;return true}function d(e,t){var i=e.split(":").map((function(e){return+e}));var n=t.split(":").map((function(e){return+e}));if(i[0]<n[0])return true;if(i[0]===n[0]&&i[1]<=n[1])return true;return false}function f(e){if(!e)return false;var t=new Date(e.replace(/-/g,"/"));return isNaN(t.getMonth())?false:t}function p(e,t){if(t===4||t===6||t===9||t===11)return 30;if(t===2){if(e%4===0&&e%100!==0||e%400===0)return 29;else return 28}return 31}function v(e){var t;if(Array.isArray(e)){t=e.map((function(e){return String(e)}))}else{t=e}return t}function g(e,t){var i=[];for(var n=e;n<=t;n++){i.push(n)}return i}function m(e,t){return g(e,t)}function y(e,t,i){var n=1;var r=12;if(e.getFullYear()===i){n=e.getMonth()+1}if(t.getFullYear()===i){r=t.getMonth()+1}return g(n,r)}function _(e,t,i,n){var r=1;var a=p(i,n);if(e.getFullYear()===i&&e.getMonth()+1===n){r=e.getDate()}if(t.getFullYear()===i&&t.getMonth()+1===n){a=t.getDate()}return g(r,a)}var k=102;var w=34;var C=w*7;var x=".weui-picker,.weui-picker__hd{font-size:12px}";var M=e("taro_picker_core",function(){function e(e){var r=this;t(this,e);this.onChange=i(this,"change",7);this.onColumnChange=i(this,"columnchange",7);this.onCancel=i(this,"cancel",7);this.index=[];this.showPicker=function(){if(r.disabled)return;r.height=r.getHeightByIndex();r.hidden=false};this.getHeightByIndex=function(){var e=r.index.map((function(e){var t=0;if(r.mode==="time"){t=w*4}return k-w*e-t}));return e};this.hidePicker=function(){r.fadeOut=true;setTimeout((function(){r.hidden=true;r.fadeOut=false}),350)};this.handleChange=function(){r.hidePicker();r.index=r.height.map((function(e){return(k-e)/w}));var e=r.index.length&&r.mode!=="selector"?r.index:r.index[0];if(r.mode==="time"){var t=[s.slice(),h.slice()];var i=r.index.map((function(e,i){return t[i][e]}));r.index=i.map((function(e){return parseInt(e)}));e=i.join(":")}if(r.mode==="date"){var n=r.pickerDate,a=n._start,o=n._end,u=n._updateValue;var l=u[0];var c=u[1];var d=m(a.getFullYear(),o.getFullYear());var f=y(a,o,l);var p=_(a,o,l,c);var v=d[r.index[0]];var g=f[r.index[1]];var C=p[r.index[2]];if(r.fields==="year"){e=[v]}else if(r.fields==="month"){e=[v,g]}else{e=[v,g,C]}e=e.map((function(e){return e<10?"0".concat(e):e})).join("-")}r.value=e;r.pickerValue=r.value;r.onChange.emit({value:e})};this.handleColumnChange=function(e){var t=e.detail,i=t.columnId,n=t.height;r.onColumnChange.emit({column:Number(i),value:(k-n)/w})};this.handleCancel=function(){r.hidePicker();r.onCancel.emit()};this.updateHeight=function(e,t,i){if(i===void 0){i=false}var n=__spreadArray([],r.height,true);n[t]=e;r.height=n;if(i){var a=r,o=a.start,u=a.end;if(!c(o))o="00:00";if(!c(u))u="23:59";if(!d(o,u))return;var l=[s.slice(),h.slice()];var f=r.height.map((function(e){return(k-e)/w}));var p=f.map((function(e,t){return l[t][e]})).join(":");if(!d(o,p)){var v=o.split(":").map((function(e){return k-w*(+e+4)}));requestAnimationFrame((function(){return r.height=v}))}else if(!d(p,u)){var g=u.split(":").map((function(e){return k-w*(+e+4)}));requestAnimationFrame((function(){return r.height=g}))}}};this.updateDay=function(e,t){var i=r.pickerDate,n=i._start,a=i._end,o=i._updateValue;o[t]=e;var u=o[0];var s=o[1];var h=o[2];if(t===0){var l=y(n,a,u);var c=l[l.length-1];var d=l[0];if(s>c)o[1]=c;if(s<d)o[1]=d;var f=l.indexOf(o[1]);var p=k-w*f;r.updateDay(o[1],1);r.updateHeight(p,"1")}else if(t===1){var v=_(n,a,u,s);var c=v[v.length-1];var d=v[0];if(h>c)o[2]=c;if(h<d)o[2]=d;var f=v.indexOf(o[2]);var p=k-w*f;r.updateDay(o[2],2);r.updateHeight(p,"2")}};this.getSelector=function(){return n("taro-picker-group",{range:r.range,rangeKey:r.rangeKey,height:r.height[0],updateHeight:r.updateHeight,columnId:"0"})};this.getMultiSelector=function(){return r.range.map((function(e,t){return n("taro-picker-group",{range:e,rangeKey:r.rangeKey,height:r.height[t],updateHeight:r.updateHeight,onColumnChange:r.handleColumnChange,columnId:String(t)})}))};this.getTimeSelector=function(){var e=s.slice();var t=h.slice();return[n("taro-picker-group",{mode:"time",range:e,height:r.height[0],updateHeight:r.updateHeight,columnId:"0"}),n("taro-picker-group",{mode:"time",range:t,height:r.height[1],updateHeight:r.updateHeight,columnId:"1"})]};this.getDateSelector=function(){var e=r,t=e.fields,i=e.height;var a=r.pickerDate,o=a._start,u=a._end,s=a._updateValue;var h=s[0];var l=s[1];var c=m(o.getFullYear(),u.getFullYear()).map((function(e){return"".concat(e,"年")}));var d=y(o,u,h).map((function(e){return"".concat(e<10?"0".concat(e):e,"月")}));var f=_(o,u,h,l).map((function(e){return"".concat(e<10?"0".concat(e):e,"日")}));var p=[n("taro-picker-group",{mode:"date",range:c,height:i[0],updateDay:r.updateDay,updateHeight:r.updateHeight,columnId:"0"})];if(t==="month"||t==="day"){p.push(n("taro-picker-group",{mode:"date",range:d,height:i[1],updateDay:r.updateDay,updateHeight:r.updateHeight,columnId:"1"}))}if(t==="day"){p.push(n("taro-picker-group",{mode:"date",range:f,height:i[2],updateDay:r.updateDay,updateHeight:r.updateHeight,columnId:"2"}))}return p};this.mode="selector";this.disabled=false;this.range=[];this.rangeKey=undefined;this.value=undefined;this.start="";this.end="";this.fields="day";this.name="";this.textProps={};this.pickerValue=[];this.height=[];this.hidden=true;this.fadeOut=false;this.isWillLoadCalled=false}e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;this.handleProps()};e.prototype.componentDidLoad=function(){if(this.overlay){document.body.appendChild(this.overlay)}};e.prototype.disconnectedCallback=function(){var e;if(this.overlay){(e=this.overlay.parentNode)===null||e===void 0?void 0:e.removeChild(this.overlay)}};e.prototype.onPropsChange=function(){if(!this.isWillLoadCalled)return;this.handleProps()};e.prototype.handleProps=function(){var e=this;var t=this,i=t.mode,n=t.start,r=t.end;if(i==="selector"){var a=this.value;this.index=[l(a,this.range)?Math.floor(a):0]}else if(i==="multiSelector"){var o=this.value;this.index=[];this.range.forEach((function(t,i){var n=o===null||o===void 0?void 0:o[i];var r=l(n,t)?Math.floor(n):0;e.index.push(r)}))}else if(i==="time"){var a=this.value;if(!c(a)){console.warn("time picker value illegal");a="0:0"}var u=a.split(":").map((function(e){return+e}));this.index=u}else if(i==="date"){var a=this.value;var s=f(a)||new Date((new Date).setHours(0,0,0,0));var h=f(n)||new Date("1970/01/01");var d=f(r)||new Date("2999/01/01");if(!(h<=d)){throw new Error("Picker start time must be less than end time.")}if(!(s>=h&&s<=d)){s=h}var p=s.getFullYear();var v=s.getMonth()+1;var g=s.getDate();var k=m(h.getFullYear(),d.getFullYear());var w=y(h,d,p);var C=_(h,d,p,v);this.index=[k.indexOf(p),w.indexOf(v),C.indexOf(g)];if(!this.pickerDate||this.pickerDate._value.getTime()!==s.getTime()||this.pickerDate._start.getTime()!==h.getTime()||this.pickerDate._end.getTime()!==d.getTime()){this.pickerDate={_value:s,_start:h,_end:d,_updateValue:[p,v,g]}}}else{throw new Error('Picker not support "'.concat(i,'" mode.'))}this.height=this.getHeightByIndex();this.pickerValue=this.value;if(i==="date"){var x=this.pickerValue;if(this.fields==="month"){this.pickerValue=x.split("-").slice(0,2).join("-")}else if(this.fields==="year"){this.pickerValue=x.split("-")[0]}}};e.prototype.render=function(){var e=this;var t,i;var a=this,u=a.name,s=a.mode,h=a.fadeOut,l=a.hidden;var c;switch(s){case"multiSelector":c=this.getMultiSelector();break;case"time":c=this.getTimeSelector();break;case"date":c=this.getDateSelector();break;default:c=this.getSelector()}var d=o("weui-mask","weui-animate-fade-in",{"weui-animate-fade-out":h});var f=o("weui-picker","weui-animate-slide-up",{"weui-animate-slide-down":h});var p=l?{display:"none"}:{};return n(r,null,n("div",{onClick:this.showPicker},n("slot",null),n("input",{type:"hidden",name:u,value:v(this.pickerValue)})),n("div",{class:"weui-picker__overlay",style:p,ref:function(t){e.overlay=t}},n("div",{class:d,onClick:this.handleCancel}),n("div",{class:f},n("div",{class:"weui-picker__hd"},n("div",{class:"weui-picker__action",onClick:this.handleCancel},(t=this.textProps.cancelText)!==null&&t!==void 0?t:"取消"),n("div",{class:"weui-picker__action",onClick:this.handleChange},(i=this.textProps.okText)!==null&&i!==void 0?i:"确定")),n("div",{class:"weui-picker__bd"},c),n("input",{type:"hidden",name:u,value:v(this.pickerValue)}))))};Object.defineProperty(e.prototype,"el",{get:function(){return a(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{mode:["onPropsChange"],value:["onPropsChange"],range:["onPropsChange"],start:["onPropsChange"],end:["onPropsChange"]}},enumerable:false,configurable:true});return e}());M.style=x;var D=e("taro_picker_group",function(){function e(e){t(this,e);this.onColumnChange=i(this,"columnChange",7);this.mode=undefined;this.range=[];this.rangeKey=undefined;this.height=undefined;this.columnId=undefined;this.updateHeight=undefined;this.updateDay=undefined;this.startY=undefined;this.preY=undefined;this.hadMove=undefined;this.touchEnd=undefined;this.isMove=undefined}e.prototype.getPosition=function(){var e=this.touchEnd?.3:0;var t="translate3d(0, ".concat(this.height,"px, 0)");var i="transform ".concat(e,"s");return{transform:t,"-webkit-transform":t,transition:i,"-webkit-transition":i}};e.prototype.formulaUnlimitedScroll=function(e,t,i){var n=this;var r=this,a=r.height,o=r.updateHeight,u=r.columnId;var s=i==="up"?1:-1;this.touchEnd=false;o(-e*s*w+a,u);requestAnimationFrame((function(){n.touchEnd=true;var i=Math.round(t/-w)+e*s;var r=k-w*i;o(r,u,true)}))};e.prototype.handleMoveStart=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.startY=e;this.preY=e;this.hadMove=false;return[2]}))}))};e.prototype.handleMoving=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n;return __generator(this,(function(r){t=e;i=t-this.preY;this.preY=t;this.touchEnd=false;if(Math.abs(t-this.startY)>10)this.hadMove=true;n=this.height+i;if(this.mode==="time"){if(this.columnId==="0"){if(n>k-w*3){n=k-w*27+i}if(n<k-w*28){n=k-w*4+i}}else if(this.columnId==="1"){if(n>k-w*3){n=k-w*63+i}if(n<k-w*64){n=k-w*4+i}}}this.updateHeight(n,this.columnId);return[2]}))}))};e.prototype.handleMoveEnd=function(e){return __awaiter(this,void 0,void 0,(function(){var t,i,n,r,a,o,u,s,h,l,c,d,f,p;return __generator(this,(function(v){t=this,i=t.mode,n=t.range,r=t.height,a=t.updateHeight,o=t.columnId;u=0;s=-w*(n.length-1);h=e;this.touchEnd=true;if(!this.hadMove){c=window.innerHeight;d=c-C/2;l=r-k-(h-d);if(i==="time"){if(o==="0"){if(l>-w*2.5){return[2,this.formulaUnlimitedScroll(24,l,"up")]}if(l<-w*28.5){return[2,this.formulaUnlimitedScroll(24,l,"down")]}}else if(o==="1"){if(l>-w*2.5){return[2,this.formulaUnlimitedScroll(60,l,"up")]}if(l<-w*64.5){return[2,this.formulaUnlimitedScroll(60,l,"down")]}}}}else{l=r-k}if(l>u)l=0;if(l<s)l=s;f=Math.round(l/-w);p=k-w*f;if(this.mode==="date"&&typeof this.updateDay==="function"){if(this.columnId==="0"){this.updateDay(+this.range[f].replace(/[^0-9]/gi,""),0)}if(this.columnId==="1"){this.updateDay(+this.range[f].replace(/[^0-9]/gi,""),1)}if(this.columnId==="2"){this.updateDay(+this.range[f].replace(/[^0-9]/gi,""),2)}}a(p,o,i==="time");this.onColumnChange.emit({columnId:o,height:p});return[2]}))}))};e.prototype.onMouseDown=function(e){this.isMove=true;this.handleMoveStart(e.clientY)};e.prototype.onMouseMove=function(e){if(!this.isMove)return;this.handleMoving(e.clientY)};e.prototype.onMouseMoveEnd=function(e){if(!this.isMove)return;this.isMove=false;this.handleMoveEnd(e.clientY)};e.prototype.onTouchStart=function(e){this.handleMoveStart(e.changedTouches[0].clientY)};e.prototype.onTouchMove=function(e){this.handleMoving(e.changedTouches[0].clientY)};e.prototype.onTouchEnd=function(e){this.handleMoveEnd(e.changedTouches[0].clientY)};e.prototype.render=function(){var e=this,t=e.range,i=e.rangeKey;var a=t.map((function(e){var t=i?e[i]:e;return n("div",{class:"weui-picker__item"},t)}));return n(r,{class:"weui-picker__group"},n("div",{class:"weui-picker__mask"}),n("div",{class:"weui-picker__indicator"}),n("div",{class:"weui-picker__content",style:this.getPosition()},a))};return e}())}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as i,h as s,H as h,g as e}from"./p-7e90dfef.js";const o=class{constructor(s){t(this,s),this.onChange=i(this,"change",7),this.onChanging=i(this,"changing",7),this.handleTouchStart=t=>{this.touching||this.disabled||(this.touching=!0,this.touchId=t.targetTouches[0].identifier,this.totalWidth=this.sliderInsRef.clientWidth||1,this.ogX=t.targetTouches[0].pageX,this.ogPercent=this.percent)},this.handleTouchMove=t=>{const{disabled:i,touching:s,touchId:h,totalWidth:e,max:o,min:a,ogX:n,ogPercent:l}=this;if(!s||i)return;if(t.targetTouches[0].identifier!==h)return;t.preventDefault();let r=(t.targetTouches[0].pageX-n)/e*100+l;r=this.handleValueUpdate(r,0,100),this.updateByStep(a+.01*r*(o-a)),this.onChanging.emit({detail:t.detail,value:this.value})},this.handleTouchEnd=t=>{const{disabled:i,touching:s}=this;s&&!i&&(this.percent!==this.ogPercent&&this.onChange.emit({detail:t.detail,value:this.value}),this.touching=!1,this.touchId=null,this.ogX=0,this.ogPercent=0)},this.handleValueUpdate=(t,i=this.min,s=this.max)=>(t=isNaN(t)?0:t,Math.max(i,Math.min(t,s))),this.min=0,this.max=100,this.step=1,this.disabled=!1,this.value=0,this.activeColor="#1aad19",this.backgroundColor="#e9e9e9",this.blockSize=28,this.blockColor="#ffffff",this.showValue=!1,this.name="",this.totalWidth=1,this.touching=!1,this.ogX=0,this.touchId=null,this.percent=0,this.ogPercent=void 0,this.isWillLoadCalled=!1}function(t){if(!this.isWillLoadCalled)return;const{max:i,min:s}=this;if(null!==t){const h=this.handleValueUpdate(t,s,i);this.updateByStep(h)}}componentDidLoad(){this.handler.addEventListener("touchstart",this.handleTouchStart),this.handler.addEventListener("touchmove",this.handleTouchMove),this.handler.addEventListener("touchend",this.handleTouchEnd)}componentWillLoad(){this.isWillLoadCalled=!0;const{value:t,max:i,min:s}=this,h=this.handleValueUpdate(t,s,i);this.updateByStep(h)}updateByStep(t){const{max:i,min:s,step:h}=this,e=Math.floor((i-s)/h);for(let i=0;i<=e;i++){const o=s+h*i,a=i===e?null:s+h*(i+1);if(t===o)break;if(!a&&t>o&&(t=o),a&&t>o&&t<a){t=t-o<h/2?o:a;break}}const o=(t-s)/(i-s)*100;this.value=t,this.percent=o}render(){const{showValue:t,backgroundColor:i,activeColor:e,blockColor:o,name:a,percent:n,value:l}=this;let r=this.blockSize;const c={backgroundColor:i},u=n>100?100:n,d={width:`${u}%`,backgroundColor:e};r<12&&(r=12),r>28&&(r=28);const f={left:`${u}%`,width:`${r}px`,height:`${r}px`,backgroundColor:o,marginTop:`-${Math.floor(r/2)}px`,marginLeft:`-${Math.floor(r/2)}px`};return s(h,{class:"weui-slider-box"},s("div",{class:"weui-slider"},s("div",{class:"weui-slider__inner",style:c,ref:t=>this.sliderInsRef=t},s("div",{style:d,class:"weui-slider__track"}),s("div",{class:"weui-slider__handler",ref:t=>{t&&(this.handler=t)},style:f}),s("input",{type:"hidden",name:a,value:l}))),t&&s("div",{class:"weui-slider-box__value"},l))}get el(){return e(this)}static get watchers(){return{value:["function"]}}};export{o as taro_slider_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as r,H as t}from"./p-7e90dfef.js";import{n as e}from"./p-dbdb9de9.js";import"@tarojs/taro";const s=class{constructor(r){o(this,r)}componentDidLoad(){e("ChannelVideo",this)}render(){return r(t,null)}};export{s as taro_channel_video_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-cdd48677.system.js"],(function(e){"use strict";var t,i,n,o;return{setters:[function(e){t=e.r;i=e.c;n=e.h;o=e.g}],execute:function(){var s="taro-switch-core{display:inline-block;width:52px;height:32px}taro-switch-core .weui-switch{display:block;width:100%;height:100%}";var r=e("taro_switch_core",function(){function e(e){var n=this;t(this,e);this.onChange=i(this,"change",7);this.switchChange=function(e){e.stopPropagation();var t=e.target.checked;n.isChecked=t;n.onChange.emit({value:t})};this.type="switch";this.checked=false;this.color="#04BE02";this.name=undefined;this.disabled=false;this.nativeProps={};this.isChecked=undefined;this.isWillLoadCalled=false}e.prototype.function=function(e,t){if(!this.isWillLoadCalled)return;if(e!==t)this.isChecked=e};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true;this.isChecked=this.checked};e.prototype.componentDidLoad=function(){var e=this;Object.defineProperty(this.el,"value",{get:function(){return e.isChecked},configurable:true})};e.prototype.render=function(){var e=this,t=e.type,i=e.color,o=e.isChecked,s=e.name,r=e.disabled,c=e.nativeProps;var h=o?{borderColor:i||"04BE02",backgroundColor:i||"04BE02"}:{};return n("input",Object.assign({type:"checkbox",class:"weui-".concat(t),style:h,checked:o,name:s,disabled:r,onChange:this.switchChange},c))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["function"]}},enumerable:false,configurable:true});return e}());r.style=s}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as o,g as r}from"./p-7e90dfef.js";const n=class{constructor(i){t(this,i),this.onChange=e(this,"checkboxchange",7),this.handleChange=t=>{t.stopPropagation(),this.onChange.emit({value:this.value})},this.name=void 0,this.value="",this.color=void 0,this.id=void 0,this.checked=!1,this.disabled=!1,this.nativeProps={},this.isWillLoadCalled=!1}watchId(t){this.isWillLoadCalled&&t&&this.inputEl.setAttribute("id",t)}componentWillLoad(){this.isWillLoadCalled=!0}componentDidRender(){this.id&&this.el.removeAttribute("id")}render(){const{checked:t,name:e,color:r,value:n,disabled:a,nativeProps:s}=this;return i(o,{className:"weui-cells_checkbox"},i("input",Object.assign({ref:t=>{t&&(this.inputEl=t,this.id&&t.setAttribute("id",this.id))},type:"checkbox",value:n,name:e,class:"taro-checkbox_checked",style:{color:r},checked:t,disabled:a,onChange:this.handleChange},s)),i("slot",null))}get el(){return r(this)}static get watchers(){return{id:["watchId"]}}};n.style='.taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{display:inline-block;position:relative;top:5px;border:1px solid #d1d1d1;border-radius:3px;width:23px;height:23px;min-height:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#fff;vertical-align:0;font-size:23px;color:#1aad19}.taro-checkbox_checked:checked::before{display:inline-block;position:absolute;left:50%;top:50%;vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-family:weui;font-style:normal;font-weight:normal;font-variant:normal;font-size:inherit;color:inherit;content:"\\ea08";-webkit-transform:translate(-50%, -48%) scale(0.73);transform:translate(-50%, -48%) scale(0.73);speak:none}';var a,s=function(t,e,i,o,r){if("m"===o)throw new TypeError("Private method is not writable");if("a"===o&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===o?r.call(t,i):r?r.value=i:e.set(t,i),i},c=function(t,e,i,o){if("a"===i&&!o)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!o:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?o:"a"===i?o.call(t):o?o.value:e.get(t)};const h=class{constructor(i){t(this,i),this.onChange=e(this,"change",7),this.uniqueName=Date.now().toString(36),a.set(this,void 0),this.name=void 0}function(t){if(t.stopPropagation(),"TARO-CHECKBOX-CORE"!==t.target.tagName)return;const e=this.el.querySelectorAll("taro-checkbox-core");s(this,a,this.getValues(e),"f"),this.onChange.emit({value:c(this,a,"f")})}componentDidLoad(){this.el.querySelectorAll("taro-checkbox-core").forEach((t=>{t.setAttribute("name",this.name||this.uniqueName)})),Object.defineProperty(this.el,"value",{get:()=>{if(!c(this,a,"f")){const t=this.el.querySelectorAll("taro-checkbox-core");s(this,a,this.getValues(t),"f")}return c(this,a,"f")},configurable:!0})}getValues(t){return Array.from(t).filter((t=>{const e=t.querySelector("input");return null==e?void 0:e.checked})).map((t=>t.value))}render(){return i(o,null)}get el(){return r(this)}};a=new WeakMap;export{n as taro_checkbox_core,h as taro_checkbox_group_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-cdd48677.system.js"],(function(e){"use strict";var t,n,r,i,o;return{setters:[function(e){t=e.r;n=e.c;r=e.h;i=e.H;o=e.g}],execute:function(){var a='.taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{display:inline-block;position:relative;top:5px;border:1px solid #d1d1d1;border-radius:3px;width:23px;height:23px;min-height:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:0;background-color:#fff;vertical-align:0;font-size:23px;color:#1aad19}.taro-checkbox_checked:checked::before{display:inline-block;position:absolute;left:50%;top:50%;vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-family:weui;font-style:normal;font-weight:normal;font-variant:normal;font-size:inherit;color:inherit;content:"\\ea08";-webkit-transform:translate(-50%, -48%) scale(0.73);transform:translate(-50%, -48%) scale(0.73);speak:none}';var c=e("taro_checkbox_core",function(){function e(e){var r=this;t(this,e);this.onChange=n(this,"checkboxchange",7);this.handleChange=function(e){e.stopPropagation();r.onChange.emit({value:r.value})};this.name=undefined;this.value="";this.color=undefined;this.id=undefined;this.checked=false;this.disabled=false;this.nativeProps={};this.isWillLoadCalled=false}e.prototype.watchId=function(e){if(!this.isWillLoadCalled)return;if(e)this.inputEl.setAttribute("id",e)};e.prototype.componentWillLoad=function(){this.isWillLoadCalled=true};e.prototype.componentDidRender=function(){this.id&&this.el.removeAttribute("id")};e.prototype.render=function(){var e=this;var t=this,n=t.checked,o=t.name,a=t.color,c=t.value,l=t.disabled,s=t.nativeProps;return r(i,{className:"weui-cells_checkbox"},r("input",Object.assign({ref:function(t){if(!t)return;e.inputEl=t;if(e.id)t.setAttribute("id",e.id)},type:"checkbox",value:c,name:o,class:"taro-checkbox_checked",style:{color:a},checked:n,disabled:l,onChange:this.handleChange},s)),r("slot",null))};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{id:["watchId"]}},enumerable:false,configurable:true});return e}());c.style=a;var l=undefined&&undefined.__classPrivateFieldSet||function(e,t,n,r,i){if(r==="m")throw new TypeError("Private method is not writable");if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t==="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return r==="a"?i.call(e,n):i?i.value=n:t.set(e,n),n};var s=undefined&&undefined.__classPrivateFieldGet||function(e,t,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof t==="function"?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(e):r?r.value:t.get(e)};var u;var d=e("taro_checkbox_group_core",function(){function e(e){t(this,e);this.onChange=n(this,"change",7);this.uniqueName=Date.now().toString(36);u.set(this,void 0);this.name=undefined}e.prototype.function=function(e){e.stopPropagation();if(e.target.tagName!=="TARO-CHECKBOX-CORE")return;var t=this.el.querySelectorAll("taro-checkbox-core");l(this,u,this.getValues(t),"f");this.onChange.emit({value:s(this,u,"f")})};e.prototype.componentDidLoad=function(){var e=this;var t=this.el.querySelectorAll("taro-checkbox-core");t.forEach((function(t){t.setAttribute("name",e.name||e.uniqueName)}));Object.defineProperty(this.el,"value",{get:function(){if(!s(e,u,"f")){var t=e.el.querySelectorAll("taro-checkbox-core");l(e,u,e.getValues(t),"f")}return s(e,u,"f")},configurable:true})};e.prototype.getValues=function(e){return Array.from(e).filter((function(e){var t=e.querySelector("input");return t===null||t===void 0?void 0:t.checked})).map((function(e){return e.value}))};e.prototype.render=function(){return r(i,null)};Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return e}());u=new WeakMap}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r,h as o,H as t}from"./p-7e90dfef.js";import{n as a}from"./p-dbdb9de9.js";import"@tarojs/taro";const e=class{constructor(o){r(this,o)}componentDidLoad(){a("PageContainer",this)}render(){return o(t,null)}};export{e as taro_page_container_core}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(t,e,n,i){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,a){function r(t){try{u(i.next(t))}catch(t){a(t)}}function s(t){try{u(i["throw"](t))}catch(t){a(t)}}function u(t){t.done?n(t.value):o(t.value).then(r,s)}u((i=i.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},i,o,a,r;return r={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(t){return function(e){return u([t,e])}}function u(s){if(i)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(n=0)),n)try{if(i=1,o&&(a=s[0]&2?o["return"]:s[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,s[1])).done)return a;if(o=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(a=n.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){n.label=s[1];break}if(s[0]===6&&n.label<a[1]){n.label=a[1];a=s;break}if(a&&n.label<a[2]){n.label=a[2];n.ops.push(s);break}if(a[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];o=0}finally{i=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-cdd48677.system.js"],(function(t){"use strict";var e,n,i,o;return{setters:[function(t){e=t.r;n=t.c;i=t.h;o=t.g}],execute:function(){var a="taro-input-core{display:block}input{display:block;overflow:hidden;height:1.4rem;text-overflow:clip;text-align:inherit;white-space:nowrap}";function r(t,e,n){if(e==="search")t="search";if(n)t="password";if(typeof t==="undefined"){return"text"}if(!t){throw new Error("unexpected type")}if(t==="digit")t="number";return t}function s(t){return t!==null&&t!==void 0?t:""}var u=t("taro_input_core",function(){function t(t){var i=this;e(this,t);this.onInput=n(this,"input",7);this.onPaste=n(this,"paste",7);this.onFocus=n(this,"focus",7);this.onBlur=n(this,"blur",7);this.onConfirm=n(this,"confirm",7);this.onChange=n(this,"change",7);this.onKeyDown=n(this,"keydown",7);this.isOnComposition=false;this.isOnPaste=false;this.onInputExcuted=false;this.handleInput=function(t){t.stopPropagation();var e=i,n=e.type,o=e.maxlength,a=e.confirmType,s=e.password;if(!i.isOnComposition&&!i.onInputExcuted){var u=t.target.value;var l=r(n,a,s);i.onInputExcuted=true;if(l==="number"&&u&&o>-1&&o<=u.length){u=u.substring(0,o);t.target.value=u}i.value=u;i.onInput.emit({value:u,cursor:u.length});i.onInputExcuted=false}};this.handlePaste=function(t){t.stopPropagation();i.isOnPaste=true;i.onPaste.emit({value:t.target.value})};this.handleFocus=function(t){t.stopPropagation();i.onInputExcuted=false;i.onFocus.emit({value:t.target.value})};this.handleBlur=function(t){t.stopPropagation();i.onBlur.emit({value:t.target.value})};this.handleChange=function(t){t.stopPropagation();i.onChange.emit({value:t.target.value});if(i.isOnPaste){i.isOnPaste=false;i.value=t.target.value;i.onInput.emit({value:t.target.value,cursor:t.target.value.length})}};this.handleKeyDown=function(t){t.stopPropagation();var e=t.target.value;var n=t.keyCode||t.code;i.onInputExcuted=false;i.onKeyDown.emit({value:e,cursor:e.length,keyCode:n});n===13&&i.onConfirm.emit({value:e})};this.handleComposition=function(t){t.stopPropagation();if(!(t.target instanceof HTMLInputElement))return;if(t.type==="compositionend"){i.isOnComposition=false;i.value=t.target.value;i.onInput.emit({value:t.target.value,cursor:t.target.value.length})}else{i.isOnComposition=true}};this.handleBeforeInput=function(t){if(!t.data)return;var e=t.data&&/[0-9]/.test(t.data);if(i.type==="number"&&!e){t.preventDefault()}if(i.type==="digit"&&!e){if(t.data!=="."||t.data==="."&&t.target.value.indexOf(".")>-1){t.preventDefault()}}};this.value="";this.type=undefined;this.password=false;this.placeholder=undefined;this.disabled=false;this.maxlength=140;this.autoFocus=false;this.confirmType="done";this.name=undefined;this.nativeProps={}}t.prototype.focus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.inputRef.focus();return[2]}))}))};t.prototype.watchAutoFocus=function(t,e){var n;if(!e&&t){(n=this.inputRef)===null||n===void 0?void 0:n.focus()}};t.prototype.watchValue=function(t){var e=s(t);if(this.inputRef.value!==e){this.inputRef.value=e}};t.prototype.componentDidLoad=function(){var t=this;var e,n,i,o,a;if(this.type==="file"){this.fileListener=function(){t.onInput.emit()};(e=this.inputRef)===null||e===void 0?void 0:e.addEventListener("change",this.fileListener)}else{(n=this.inputRef)===null||n===void 0?void 0:n.addEventListener("compositionstart",this.handleComposition);(i=this.inputRef)===null||i===void 0?void 0:i.addEventListener("compositionend",this.handleComposition);(o=this.inputRef)===null||o===void 0?void 0:o.addEventListener("beforeinput",this.handleBeforeInput);(a=this.inputRef)===null||a===void 0?void 0:a.addEventListener("textInput",this.handleBeforeInput)}};t.prototype.disconnectedCallback=function(){var t,e,n,i,o;if(this.type==="file"){(t=this.inputRef)===null||t===void 0?void 0:t.removeEventListener("change",this.fileListener)}else{(e=this.inputRef)===null||e===void 0?void 0:e.removeEventListener("compositionstart",this.handleComposition);(n=this.inputRef)===null||n===void 0?void 0:n.removeEventListener("compositionend",this.handleComposition);(i=this.inputRef)===null||i===void 0?void 0:i.removeEventListener("beforeinput",this.handleBeforeInput);(o=this.inputRef)===null||o===void 0?void 0:o.removeEventListener("textInput",this.handleBeforeInput)}};t.prototype.render=function(){var t=this;var e=this,n=e.value,o=e.type,a=e.password,u=e.placeholder,l=e.autoFocus,h=e.disabled,p=e.maxlength,f=e.confirmType,c=e.name,d=e.nativeProps;return i("input",Object.assign({ref:function(e){t.inputRef=e;if(l&&e)e.focus()},class:"weui-input",type:r(o,f,a),placeholder:u,autoFocus:l,disabled:h,maxlength:p,name:c,onInput:this.handleInput,onFocus:this.handleFocus,onBlur:this.handleBlur,onChange:this.handleChange,onKeyDown:this.handleKeyDown,onPaste:this.handlePaste,onCompositionStart:this.handleComposition,onCompositionEnd:this.handleComposition},d,{value:s(n)}))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{autoFocus:["watchAutoFocus"],value:["watchValue"]}},enumerable:false,configurable:true});return t}());u.style=a}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as r,H as t}from"./p-7e90dfef.js";import{n as s}from"./p-dbdb9de9.js";import"@tarojs/taro";const e=class{constructor(r){o(this,r)}componentDidLoad(){s("RtcRoomItem",this)}render(){return r(t,null)}};export{e as taro_rtc_room_item_core}
|