@tarojs/components 3.8.0-canary.0 → 4.0.0-alpha.10
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 +11 -4
- package/README.md +1 -1
- package/dist/cjs/helper-ad6306f6.js +31 -0
- package/dist/cjs/{index-e751dfe3.js → index-09efe07d.js} +208 -2
- package/dist/cjs/{index-dfd8638f.js → index-8a70c333.js} +6 -0
- package/dist/cjs/{index-f6805218.js → index-b873e40f.js} +45 -27
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/taro-ad-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/taro-canvas-core.cjs.entry.js +15 -3
- package/dist/cjs/taro-channel-live-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-channel-video-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-components.cjs.js +2 -2
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-grid-builder-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-like-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-list-builder-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-list-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-live-player-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-login-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-lottie-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-map-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-match-media-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +8 -5
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +2 -2
- 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 +2 -2
- package/dist/cjs/taro-open-container-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-page-container-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +34 -33
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +40 -40
- package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
- package/dist/cjs/{taro-pull-to-refresh.cjs.entry.js → taro-pull-to-refresh-core.cjs.entry.js} +20 -15
- 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 +2 -2
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +16 -4
- package/dist/cjs/taro-share-element-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-slider-core.cjs.entry.js +4 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-snapshot-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-span-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +147 -9925
- package/dist/cjs/taro-switch-core.cjs.entry.js +13 -12
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-tabbar.cjs.entry.js +15 -99
- package/dist/cjs/taro-tabs-core.cjs.entry.js +2 -2
- 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 +41 -8
- package/dist/cjs/taro-view-core.cjs.entry.js +6 -12
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +8 -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/canvas.js +48 -2
- 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/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/picker.js +31 -30
- package/dist/collection/components/picker/style/index.css +1 -4
- package/dist/collection/components/picker-view/picker-view-column.js +27 -55
- package/dist/collection/components/picker-view/picker-view.js +14 -2
- 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 +17 -12
- 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/scroll-view.js +18 -2
- 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/snapshot/snapshot.js +11 -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-item.js +54 -33
- package/dist/collection/components/swiper/swiper.js +112 -29
- 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 -49
- package/dist/collection/components/tabbar/tabbar-item.js +1 -1
- package/dist/collection/components/tabbar/tabbar.js +5 -5
- 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 -326
- package/dist/collection/components/video/video.js +11 -2
- package/dist/collection/components/view/style/index.css +1 -9
- package/dist/collection/components/view/view.js +2 -9
- package/dist/collection/components/web-view/style/index.css +1 -12
- package/dist/collection/utils/helper.js +11 -0
- package/dist/collection/utils/index.js +10 -0
- package/dist/components/helper.js +12 -1
- package/dist/components/index.d.ts +9 -1
- package/dist/components/index.js +9 -1
- 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 +17 -3
- 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-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 +32 -31
- package/dist/components/taro-picker-view-column-core.js +27 -37
- package/dist/components/taro-picker-view-core.js +12 -3
- package/dist/components/taro-progress-core.js +3 -0
- package/dist/components/taro-pull-to-refresh-core.d.ts +11 -0
- package/dist/components/{taro-pull-to-refresh.js → taro-pull-to-refresh-core.js} +22 -17
- package/dist/components/taro-rich-text-core.js +1 -1
- package/dist/components/taro-scroll-view-core.js +13 -2
- package/dist/components/taro-slider-core.js +3 -0
- package/dist/components/{taro-pull-to-refresh.d.ts → taro-snapshot-core.d.ts} +4 -4
- package/dist/components/taro-snapshot-core.js +33 -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 +98 -9882
- package/dist/components/taro-swiper-item-core.js +40 -36
- package/dist/components/taro-switch-core.js +13 -13
- package/dist/components/taro-tabbar.js +4 -89
- 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 +13 -4
- package/dist/components/taro-view-core.js +3 -10
- package/dist/components/taro-web-view-core.js +1 -1
- package/dist/esm/helper-8a85bb65.js +24 -0
- package/dist/esm/{index-980f930f.js → index-9924aee9.js} +208 -2
- package/dist/esm/{index-d1b03e47.js → index-a00a7418.js} +6 -1
- package/dist/esm/{index-c3e4004b.js → index-b9522531.js} +45 -27
- package/dist/esm/loader.js +3 -3
- package/dist/esm/taro-ad-core.entry.js +2 -2
- package/dist/esm/taro-ad-custom-core.entry.js +2 -2
- package/dist/esm/taro-animation-video-core.entry.js +2 -2
- package/dist/esm/taro-animation-view-core.entry.js +2 -2
- package/dist/esm/taro-ar-camera-core.entry.js +2 -2
- package/dist/esm/taro-audio-core.entry.js +2 -2
- package/dist/esm/taro-aweme-data-core.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/taro-canvas-core.entry.js +15 -3
- package/dist/esm/taro-channel-live-core.entry.js +2 -2
- package/dist/esm/taro-channel-video-core.entry.js +2 -2
- package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
- package/dist/esm/taro-comment-detail-core.entry.js +2 -2
- package/dist/esm/taro-comment-list-core.entry.js +2 -2
- package/dist/esm/taro-components.js +3 -3
- package/dist/esm/taro-contact-button-core.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/taro-follow-swan-core.entry.js +2 -2
- package/dist/esm/taro-form-core.entry.js +1 -1
- package/dist/esm/taro-functional-page-navigator-core.entry.js +2 -2
- package/dist/esm/taro-grid-builder-core.entry.js +17 -0
- package/dist/esm/taro-grid-view-core.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/taro-input-core.entry.js +2 -2
- package/dist/esm/taro-keyboard-accessory-core.entry.js +2 -2
- package/dist/esm/taro-label-core.entry.js +1 -1
- package/dist/esm/taro-lifestyle-core.entry.js +2 -2
- package/dist/esm/taro-like-core.entry.js +2 -2
- package/dist/esm/taro-list-builder-core.entry.js +17 -0
- package/dist/esm/taro-list-view-core.entry.js +2 -2
- package/dist/esm/taro-live-player-core.entry.js +2 -2
- package/dist/esm/taro-live-pusher-core.entry.js +2 -2
- package/dist/esm/taro-login-core.entry.js +2 -2
- package/dist/esm/taro-lottie-core.entry.js +2 -2
- package/dist/esm/taro-map-core.entry.js +2 -2
- package/dist/esm/taro-match-media-core.entry.js +2 -2
- package/dist/esm/taro-movable-area-core_2.entry.js +8 -5
- package/dist/esm/taro-native-slot-core.entry.js +2 -2
- package/dist/esm/taro-navigation-bar-core.entry.js +2 -2
- 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 +2 -2
- package/dist/esm/taro-open-container-core.entry.js +17 -0
- package/dist/esm/taro-open-data-core.entry.js +2 -2
- package/dist/esm/taro-page-container-core.entry.js +2 -2
- package/dist/esm/taro-page-meta-core.entry.js +2 -2
- package/dist/esm/taro-picker-core_2.entry.js +34 -33
- package/dist/esm/taro-picker-view-column-core_2.entry.js +40 -40
- package/dist/esm/taro-progress-core.entry.js +4 -1
- package/dist/esm/{taro-pull-to-refresh.entry.js → taro-pull-to-refresh-core.entry.js} +20 -15
- 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 +2 -2
- package/dist/esm/taro-rtc-room-core.entry.js +2 -2
- package/dist/esm/taro-rtc-room-item-core.entry.js +2 -2
- package/dist/esm/taro-scroll-view-core.entry.js +16 -4
- package/dist/esm/taro-share-element-core.entry.js +2 -2
- package/dist/esm/taro-slider-core.entry.js +4 -1
- package/dist/esm/taro-slot-core.entry.js +2 -2
- package/dist/esm/taro-snapshot-core.entry.js +17 -0
- package/dist/esm/taro-span-core.entry.js +17 -0
- package/dist/esm/taro-sticky-header-core.entry.js +2 -2
- package/dist/esm/taro-sticky-section-core.entry.js +2 -2
- package/dist/esm/taro-swiper-core_2.entry.js +136 -9918
- package/dist/esm/taro-switch-core.entry.js +13 -12
- package/dist/esm/taro-tab-item-core.entry.js +2 -2
- package/dist/esm/taro-tabbar.entry.js +6 -91
- package/dist/esm/taro-tabs-core.entry.js +2 -2
- 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 +16 -7
- package/dist/esm/taro-view-core.entry.js +6 -12
- package/dist/esm/taro-voip-room-core.entry.js +2 -2
- package/dist/esm/taro-web-view-core.entry.js +2 -2
- package/dist/esm-es5/helper-8a85bb65.js +1 -0
- 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 -0
- 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 -0
- 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 +13258 -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-06adeb65.system.entry.js +1 -0
- package/dist/taro-components/{p-78e4805e.entry.js → p-078cb65e.entry.js} +1 -1
- package/dist/taro-components/{p-f420680c.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-083c3147.system.entry.js +1 -0
- 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-0f480c38.system.entry.js +1 -0
- package/dist/taro-components/p-0fc790c0.system.entry.js +1 -0
- package/dist/taro-components/p-0ff5a55b.entry.js +1 -0
- package/dist/taro-components/p-12582166.entry.js +1 -0
- package/dist/taro-components/p-12beb90a.system.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-ab726c20.system.entry.js → p-17938fa0.system.entry.js} +1 -1
- package/dist/taro-components/{p-81f2ad70.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-898db637.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-1eac5291.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-26eb2f3f.entry.js +1 -0
- package/dist/taro-components/p-27041d86.system.entry.js +1 -0
- package/dist/taro-components/p-27d372b4.system.entry.js +1 -0
- package/dist/taro-components/p-280795f2.entry.js +1 -0
- 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-b1d2b575.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-38b29261.entry.js +1 -0
- package/dist/taro-components/p-3a180dc7.entry.js +1 -0
- package/dist/taro-components/{p-fa0f6dab.system.entry.js → p-3b36196b.system.entry.js} +1 -1
- package/dist/taro-components/{p-b641e598.entry.js → p-3cf08137.entry.js} +1 -1
- package/dist/taro-components/p-402c7f93.entry.js +1 -0
- 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-450f7b39.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-47790dc0.system.entry.js +1 -0
- package/dist/taro-components/{p-9ac947ac.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-208e438c.system.entry.js → p-4ac48df1.system.entry.js} +1 -1
- package/dist/taro-components/{p-473afc8e.system.entry.js → p-4fad4beb.system.entry.js} +1 -1
- package/dist/taro-components/p-50849470.system.entry.js +1 -0
- package/dist/taro-components/p-53e1c442.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-57b77f17.system.entry.js +1 -0
- package/dist/taro-components/p-5884c108.system.entry.js +1 -0
- package/dist/taro-components/p-5893c3ed.js +1 -0
- package/dist/taro-components/{p-f534057e.system.entry.js → p-5b9aa4b0.system.entry.js} +1 -1
- package/dist/taro-components/p-5c156db3.system.entry.js +1 -0
- package/dist/taro-components/{p-38ee526a.entry.js → p-5c98f478.entry.js} +1 -1
- package/dist/taro-components/{p-ebdd350f.system.entry.js → p-61a325d2.system.entry.js} +1 -1
- package/dist/taro-components/p-6282bdee.system.entry.js +1 -0
- package/dist/taro-components/{p-0517f107.system.entry.js → p-65d11e99.system.entry.js} +1 -1
- package/dist/taro-components/p-6654374e.system.entry.js +1 -0
- package/dist/taro-components/p-6664a2ca.system.entry.js +1 -0
- package/dist/taro-components/{p-2af69b72.entry.js → p-68197378.entry.js} +1 -1
- package/dist/taro-components/p-6989c232.entry.js +1 -0
- package/dist/taro-components/{p-8201ee31.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-75b4c1fc.system.entry.js +1 -0
- package/dist/taro-components/p-75d01c60.system.js +2 -0
- package/dist/taro-components/p-75ded8a0.system.entry.js +1 -0
- package/dist/taro-components/p-77e82dfa.entry.js +1 -0
- package/dist/taro-components/p-79cad66b.entry.js +1 -0
- package/dist/taro-components/p-7ca2d075.system.entry.js +1 -0
- package/dist/taro-components/p-7e054ae7.system.entry.js +1 -0
- package/dist/taro-components/p-7e564b00.entry.js +1 -0
- 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-8179438b.system.entry.js +1 -0
- package/dist/taro-components/p-84998109.entry.js +1 -0
- package/dist/taro-components/p-855619b6.system.entry.js +1 -0
- package/dist/taro-components/p-8b0c9d3f.entry.js +1 -0
- package/dist/taro-components/p-8c3b906c.system.js +1 -0
- package/dist/taro-components/p-91ee1f8a.system.entry.js +1 -0
- package/dist/taro-components/p-937a6c36.entry.js +1 -0
- package/dist/taro-components/{p-6d4b7e5c.system.entry.js → p-938f9036.system.entry.js} +1 -1
- package/dist/taro-components/p-93a2b2e9.entry.js +1 -0
- 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-fd7ff0f3.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-ebc7b6fc.entry.js → p-9c8bb0e6.entry.js} +1 -1
- package/dist/taro-components/{p-f11c9c37.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-a25aca16.system.entry.js +1 -0
- package/dist/taro-components/p-a50c6736.entry.js +1 -0
- package/dist/taro-components/p-a96f8f60.system.entry.js +1 -0
- package/dist/taro-components/{p-b5b30493.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-ac2be5f3.entry.js +1 -0
- package/dist/taro-components/p-ac714300.system.entry.js +1 -0
- package/dist/taro-components/{p-88d2b41b.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-b4c7bb48.entry.js +1 -0
- package/dist/taro-components/p-ba11ef7d.entry.js +1 -0
- package/dist/taro-components/p-ba5e7ec4.system.entry.js +1 -0
- package/dist/taro-components/p-bb67318d.entry.js +1 -0
- package/dist/taro-components/p-bd57edcd.entry.js +1 -0
- package/dist/taro-components/p-be055537.entry.js +1 -0
- package/dist/taro-components/p-be1701b2.entry.js +1 -0
- package/dist/taro-components/p-bed518a3.entry.js +1 -0
- package/dist/taro-components/p-c056d527.system.entry.js +1 -0
- package/dist/taro-components/p-c0c567e5.system.entry.js +1 -0
- package/dist/taro-components/p-c3dc7072.entry.js +1 -0
- package/dist/taro-components/p-c677414d.system.entry.js +1 -0
- package/dist/taro-components/p-c71d5745.system.entry.js +1 -0
- package/dist/taro-components/p-c7836e2b.entry.js +1 -0
- package/dist/taro-components/p-c7d8c076.system.entry.js +1 -0
- package/dist/taro-components/p-c8cd6e16.entry.js +1 -0
- 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-66b0b419.system.entry.js → p-cae6c5d0.system.entry.js} +1 -1
- package/dist/taro-components/{p-227e33fc.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-d05eb105.system.entry.js +1 -0
- package/dist/taro-components/{p-07302165.system.entry.js → p-d2203687.system.entry.js} +1 -1
- package/dist/taro-components/{p-0fa96970.entry.js → p-d5603857.entry.js} +1 -1
- package/dist/taro-components/{p-5640e9f4.system.entry.js → p-d73b3a94.system.entry.js} +1 -1
- package/dist/taro-components/p-d973d536.entry.js +1 -0
- package/dist/taro-components/{p-30805bdf.entry.js → p-d9884371.entry.js} +1 -1
- package/dist/taro-components/p-dbdb9de9.js +1 -0
- package/dist/taro-components/p-dc08715a.entry.js +1 -0
- package/dist/taro-components/{p-43720011.entry.js → p-dc25fa81.entry.js} +1 -1
- package/dist/taro-components/p-dcf5747c.system.entry.js +1 -0
- package/dist/taro-components/p-ddf75d6a.system.entry.js +1 -0
- package/dist/taro-components/{p-0d7a705b.system.entry.js → p-ded98693.system.entry.js} +1 -1
- package/dist/taro-components/{p-9fe49bab.entry.js → p-dedf50a9.entry.js} +1 -1
- package/dist/taro-components/p-df7c6216.system.entry.js +1 -0
- 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-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-f12feb2a.entry.js +1 -0
- package/dist/taro-components/{p-bf0e0394.entry.js → p-f168fffc.entry.js} +1 -1
- package/dist/taro-components/p-f367a754.entry.js +1 -0
- package/dist/taro-components/p-f43f26cf.entry.js +1 -0
- package/dist/taro-components/p-f5f3a111.entry.js +1 -0
- package/dist/taro-components/p-f8f2461f.entry.js +1 -0
- package/dist/taro-components/p-f9935901.system.entry.js +1 -0
- package/dist/taro-components/p-fa31b2de.system.entry.js +1 -0
- package/dist/taro-components/p-fab63183.entry.js +1 -0
- package/dist/taro-components/{p-7e8e355b.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-feb89474.system.entry.js +1 -0
- 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/canvas/canvas.d.ts +5 -2
- 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/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/picker-view/picker-view-column.d.ts +3 -3
- package/dist/types/components/picker-view/picker-view.d.ts +2 -0
- package/dist/types/components/scroll-view/scroll-view.d.ts +2 -0
- package/dist/types/components/snapshot/snapshot.d.ts +5 -0
- package/dist/types/components/span/span.d.ts +5 -0
- package/dist/types/components/swiper/swiper-item.d.ts +3 -0
- package/dist/types/components/swiper/swiper.d.ts +9 -3
- package/dist/types/components/switch/switch.d.ts +3 -3
- package/dist/types/components/tabbar/tabbar-item.d.ts +4 -4
- package/dist/types/components/tabbar/tabbar.d.ts +17 -16
- package/dist/types/components/textarea/textarea.d.ts +1 -0
- package/dist/types/components.d.ts +132 -15
- package/dist/types/utils/helper.d.ts +1 -0
- package/dist/types/utils/index.d.ts +2 -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 +1 -1
- package/lib/react/component-lib/reactify-wc.js.map +1 -1
- package/lib/react/components.d.ts +92 -84
- package/lib/react/components.js +13 -3
- 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/{registry.npmjs.org_tslib@2.5.0 → @rollup_plugin-typescript@11.1.6_rollup@4.17.2_tslib@2.6.2_typescript@5.4.5}/node_modules/tslib/tslib.es6.js +82 -5
- package/lib/react/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.17.2_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 +105 -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/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 +93 -84
- package/lib/vue3/components.js +18 -4
- 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 +29 -27
- package/types/Audio.d.ts +11 -11
- package/types/Button.d.ts +44 -13
- package/types/Camera.d.ts +1 -1
- package/types/Canvas.d.ts +14 -14
- package/types/ChannelVideo.d.ts +2 -2
- package/types/Checkbox.d.ts +12 -7
- 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 +19 -5
- package/types/Icon.d.ts +5 -5
- package/types/Image.d.ts +9 -8
- package/types/Input.d.ts +28 -23
- package/types/Label.d.ts +2 -2
- package/types/ListBuilder.d.ts +55 -0
- package/types/ListView.d.ts +10 -3
- package/types/LivePlayer.d.ts +11 -4
- package/types/Map.d.ts +44 -3
- package/types/MovableArea.d.ts +2 -2
- package/types/MovableView.d.ts +18 -18
- package/types/NativeSlot.d.ts +5 -3
- package/types/NavigationBar.d.ts +10 -4
- 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 +53 -7
- package/types/Picker.d.ts +48 -27
- 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 +12 -7
- package/types/RadioGroup.d.ts +3 -3
- package/types/RichText.d.ts +5 -5
- package/types/Script.d.ts +37 -0
- package/types/ScrollView.d.ts +101 -17
- package/types/ShareElement.d.ts +2 -1
- package/types/Slider.d.ts +20 -15
- package/types/Slot.d.ts +5 -3
- package/types/Snapshot.d.ts +25 -0
- package/types/Span.d.ts +14 -0
- package/types/StickyHeader.d.ts +16 -3
- package/types/StickySection.d.ts +8 -2
- package/types/Swiper.d.ts +19 -17
- package/types/SwiperItem.d.ts +7 -2
- package/types/Switch.d.ts +12 -7
- package/types/Text.d.ts +21 -5
- package/types/Textarea.d.ts +21 -16
- package/types/Video.d.ts +45 -36
- package/types/View.d.ts +4 -4
- package/types/WebView.d.ts +4 -4
- package/types/common.d.ts +8 -2
- package/types/index.d.ts +16 -5
- package/types/index.vue3.d.ts +25 -7
- package/dist/cjs/helper-db78e01a.js +0 -19
- package/dist/cjs/hls-00fec546.js +0 -25673
- package/dist/cjs/intersection-observer-dc4cfcef.js +0 -728
- package/dist/collection/components/input/index.css +0 -12
- package/dist/components/hls.js +0 -25671
- package/dist/components/intersection-observer.js +0 -726
- package/dist/esm/helper-3d0ecf0f.js +0 -13
- package/dist/esm/hls-4018c7ea.js +0 -25671
- package/dist/esm/intersection-observer-8e4c7135.js +0 -726
- package/dist/esm-es5/helper-3d0ecf0f.js +0 -1
- package/dist/esm-es5/hls-4018c7ea.js +0 -1
- package/dist/esm-es5/index-980f930f.js +0 -2
- package/dist/esm-es5/index-c3e4004b.js +0 -7
- package/dist/esm-es5/index-d1b03e47.js +0 -1
- package/dist/esm-es5/intersection-observer-8e4c7135.js +0 -1
- package/dist/esm-es5/taro-pull-to-refresh.entry.js +0 -1
- package/dist/taro-components/p-0114a2e4.entry.js +0 -1
- package/dist/taro-components/p-01e163f8.system.entry.js +0 -1
- package/dist/taro-components/p-052da7f0.system.entry.js +0 -1
- package/dist/taro-components/p-085076c5.system.entry.js +0 -1
- package/dist/taro-components/p-0fe855c6.entry.js +0 -1
- package/dist/taro-components/p-117633e9.system.entry.js +0 -1
- package/dist/taro-components/p-137531b6.entry.js +0 -1
- package/dist/taro-components/p-139e6251.entry.js +0 -1
- package/dist/taro-components/p-1404c119.entry.js +0 -1
- package/dist/taro-components/p-15e45ed6.system.js +0 -1
- package/dist/taro-components/p-1974e52e.system.entry.js +0 -1
- package/dist/taro-components/p-1991cc1a.system.entry.js +0 -1
- package/dist/taro-components/p-1b3d41d3.system.entry.js +0 -1
- package/dist/taro-components/p-1c4e3899.entry.js +0 -1
- package/dist/taro-components/p-1e739fcb.system.entry.js +0 -1
- package/dist/taro-components/p-1f39576a.system.entry.js +0 -1
- package/dist/taro-components/p-204bd245.entry.js +0 -1
- package/dist/taro-components/p-2a071adf.system.entry.js +0 -1
- package/dist/taro-components/p-2d1b4dcc.system.entry.js +0 -1
- package/dist/taro-components/p-2de2a3fd.system.entry.js +0 -1
- package/dist/taro-components/p-2ec68968.system.js +0 -7
- package/dist/taro-components/p-3094bda6.system.entry.js +0 -1
- package/dist/taro-components/p-355e4dbc.entry.js +0 -1
- package/dist/taro-components/p-357ba712.system.entry.js +0 -1
- package/dist/taro-components/p-3b1d2d37.system.js +0 -1
- package/dist/taro-components/p-3d8c9dfb.entry.js +0 -1
- package/dist/taro-components/p-407ca16e.entry.js +0 -1
- package/dist/taro-components/p-416cc4dd.system.entry.js +0 -1
- package/dist/taro-components/p-425c209a.entry.js +0 -1
- package/dist/taro-components/p-43efbf30.js +0 -1
- package/dist/taro-components/p-469ee343.entry.js +0 -1
- package/dist/taro-components/p-46b8f89b.entry.js +0 -1
- package/dist/taro-components/p-478deb81.entry.js +0 -1
- package/dist/taro-components/p-486d0ec7.entry.js +0 -1
- package/dist/taro-components/p-50902cd0.entry.js +0 -1
- package/dist/taro-components/p-53ef8a6c.system.entry.js +0 -1
- package/dist/taro-components/p-5613907c.entry.js +0 -1
- package/dist/taro-components/p-57b9943c.system.entry.js +0 -1
- package/dist/taro-components/p-5c1e6b1c.system.entry.js +0 -1
- package/dist/taro-components/p-5dab46cd.system.entry.js +0 -1
- package/dist/taro-components/p-6127b1b6.system.entry.js +0 -1
- package/dist/taro-components/p-657cb6e4.system.entry.js +0 -1
- package/dist/taro-components/p-66f7eea6.entry.js +0 -1
- package/dist/taro-components/p-69cd1f2a.system.entry.js +0 -1
- package/dist/taro-components/p-6a96da58.js +0 -1
- package/dist/taro-components/p-6cde180b.entry.js +0 -1
- package/dist/taro-components/p-6db97374.entry.js +0 -1
- package/dist/taro-components/p-6e115968.entry.js +0 -1
- package/dist/taro-components/p-6f84e936.entry.js +0 -1
- package/dist/taro-components/p-71b54f06.entry.js +0 -1
- package/dist/taro-components/p-72b118b0.entry.js +0 -1
- package/dist/taro-components/p-72f327e1.js +0 -1
- package/dist/taro-components/p-79c3fde3.system.entry.js +0 -1
- package/dist/taro-components/p-7b3b8057.entry.js +0 -1
- package/dist/taro-components/p-7b68dee8.entry.js +0 -1
- package/dist/taro-components/p-7d635413.entry.js +0 -1
- package/dist/taro-components/p-7e6b54cb.system.js +0 -2
- package/dist/taro-components/p-7e998213.system.entry.js +0 -1
- package/dist/taro-components/p-801f09b8.entry.js +0 -1
- package/dist/taro-components/p-85a7daeb.system.entry.js +0 -1
- package/dist/taro-components/p-86280254.entry.js +0 -1
- package/dist/taro-components/p-8c0b740e.entry.js +0 -1
- package/dist/taro-components/p-90333d0a.system.entry.js +0 -1
- package/dist/taro-components/p-9046110a.entry.js +0 -1
- package/dist/taro-components/p-904df510.entry.js +0 -1
- package/dist/taro-components/p-907d9d01.system.entry.js +0 -1
- package/dist/taro-components/p-9137dcab.js +0 -2
- package/dist/taro-components/p-962f28cb.entry.js +0 -1
- package/dist/taro-components/p-968b7c1d.entry.js +0 -1
- package/dist/taro-components/p-982bb5bf.entry.js +0 -1
- package/dist/taro-components/p-98f9f50f.system.entry.js +0 -1
- package/dist/taro-components/p-9a5fbb2e.entry.js +0 -1
- package/dist/taro-components/p-9aeb7995.entry.js +0 -1
- package/dist/taro-components/p-9b6550fc.entry.js +0 -1
- package/dist/taro-components/p-9d9ede17.system.entry.js +0 -1
- package/dist/taro-components/p-9edea30f.system.entry.js +0 -1
- package/dist/taro-components/p-a1763153.entry.js +0 -1
- package/dist/taro-components/p-a20ecd3b.entry.js +0 -1
- package/dist/taro-components/p-a20fed0a.entry.js +0 -1
- package/dist/taro-components/p-a3a1a779.entry.js +0 -1
- package/dist/taro-components/p-a4882902.system.entry.js +0 -1
- package/dist/taro-components/p-a8565231.entry.js +0 -1
- package/dist/taro-components/p-a8925584.system.entry.js +0 -1
- package/dist/taro-components/p-a8e7cf87.entry.js +0 -1
- package/dist/taro-components/p-a940a65b.entry.js +0 -1
- package/dist/taro-components/p-af3fa859.system.entry.js +0 -1
- package/dist/taro-components/p-af8e521a.entry.js +0 -1
- package/dist/taro-components/p-af9ef8b4.entry.js +0 -1
- package/dist/taro-components/p-afb3895c.system.entry.js +0 -1
- package/dist/taro-components/p-b027181b.entry.js +0 -1
- package/dist/taro-components/p-b235e43c.entry.js +0 -1
- package/dist/taro-components/p-b4ea72ea.entry.js +0 -1
- package/dist/taro-components/p-b4f3d0ab.entry.js +0 -1
- package/dist/taro-components/p-b6d4634f.system.entry.js +0 -1
- package/dist/taro-components/p-ba3b2aa5.system.entry.js +0 -1
- package/dist/taro-components/p-bcf80126.system.entry.js +0 -1
- package/dist/taro-components/p-bd5177d3.system.js +0 -1
- package/dist/taro-components/p-bdc30301.entry.js +0 -1
- package/dist/taro-components/p-c1073ed6.system.entry.js +0 -1
- package/dist/taro-components/p-c11a42e0.entry.js +0 -1
- package/dist/taro-components/p-c39a46ca.system.entry.js +0 -1
- package/dist/taro-components/p-c4b8851b.entry.js +0 -1
- package/dist/taro-components/p-cc164fa3.entry.js +0 -1
- package/dist/taro-components/p-cc70bb7a.system.entry.js +0 -1
- package/dist/taro-components/p-ce33f1f3.entry.js +0 -1
- package/dist/taro-components/p-d34a6c04.entry.js +0 -1
- package/dist/taro-components/p-d3c7f87d.js +0 -1
- package/dist/taro-components/p-da239b8b.system.entry.js +0 -1
- package/dist/taro-components/p-dab28e1f.system.entry.js +0 -1
- package/dist/taro-components/p-de951a46.js +0 -7
- package/dist/taro-components/p-e09451c5.system.entry.js +0 -1
- package/dist/taro-components/p-e33f3592.entry.js +0 -1
- package/dist/taro-components/p-e3480c4c.entry.js +0 -1
- package/dist/taro-components/p-e53508c1.system.entry.js +0 -1
- package/dist/taro-components/p-e6481671.system.entry.js +0 -1
- package/dist/taro-components/p-e67755f0.system.entry.js +0 -1
- package/dist/taro-components/p-e78775ce.system.js +0 -1
- package/dist/taro-components/p-eaa370a9.system.entry.js +0 -1
- package/dist/taro-components/p-ed331c06.system.js +0 -1
- package/dist/taro-components/p-f02b6f70.entry.js +0 -1
- package/dist/taro-components/p-f0340edf.entry.js +0 -1
- package/dist/taro-components/p-f533bc2f.entry.js +0 -1
- package/dist/taro-components/p-f6f6a996.system.entry.js +0 -1
- package/dist/taro-components/p-f7927285.system.entry.js +0 -1
- package/dist/taro-components/p-f7b32c6b.entry.js +0 -1
- package/dist/taro-components/p-fa6c022a.system.entry.js +0 -1
- package/dist/taro-components/p-fb983850.entry.js +0 -1
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/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 -369
- package/lib/vue2/components.js +0 -577
- 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/index.js.map +0 -1
- package/lib/vue2/node_modules/.pnpm/registry.npmjs.org_vue-fragment@1.6.0_vue@2.7.14/node_modules/vue-fragment/dist/vue-fragment.esm.js +0 -4
- package/lib/vue2/node_modules/.pnpm/registry.npmjs.org_vue-fragment@1.6.0_vue@2.7.14/node_modules/vue-fragment/dist/vue-fragment.esm.js.map +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/types/Input.d.ts
CHANGED
|
@@ -2,25 +2,30 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction, FormItemProps } from './common'
|
|
3
3
|
interface InputProps extends StandardProps, FormItemProps {
|
|
4
4
|
/** 输入框的初始内容
|
|
5
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
5
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
value?: string
|
|
8
|
+
/** 设置 React 非受控输入框的初始内容
|
|
9
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
10
|
+
* @unique
|
|
11
|
+
*/
|
|
12
|
+
defaultValue?: string
|
|
8
13
|
/** input 的类型
|
|
9
14
|
* @default "text"
|
|
10
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
15
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
11
16
|
*/
|
|
12
17
|
type?: keyof InputProps.Type
|
|
13
18
|
/** 是否是密码类型
|
|
14
19
|
* @default false
|
|
15
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
20
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
16
21
|
*/
|
|
17
22
|
password?: boolean
|
|
18
23
|
/** 输入框为空时占位符
|
|
19
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
24
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
20
25
|
*/
|
|
21
26
|
placeholder?: string
|
|
22
27
|
/** 指定 placeholder 的样式
|
|
23
|
-
* @supported weapp, alipay, swan, tt, qq, jd, rn
|
|
28
|
+
* @supported weapp, alipay, swan, tt, qq, jd, rn, harmony
|
|
24
29
|
*/
|
|
25
30
|
placeholderStyle?: string
|
|
26
31
|
/** 指定 placeholder 的样式类
|
|
@@ -29,17 +34,17 @@ interface InputProps extends StandardProps, FormItemProps {
|
|
|
29
34
|
*/
|
|
30
35
|
placeholderClass?: string
|
|
31
36
|
/** 指定 placeholder 的文本颜色
|
|
32
|
-
* @supported rn
|
|
37
|
+
* @supported rn, harmony
|
|
33
38
|
*/
|
|
34
39
|
placeholderTextColor?: string
|
|
35
40
|
/** 是否禁用
|
|
36
41
|
* @default false
|
|
37
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
42
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
38
43
|
*/
|
|
39
44
|
disabled?: boolean
|
|
40
45
|
/** 最大输入长度,设置为 -1 的时候不限制最大长度
|
|
41
46
|
* @default 140
|
|
42
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
47
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
43
48
|
*/
|
|
44
49
|
maxlength?: number
|
|
45
50
|
/** 指定光标与键盘的距离,单位 px 。取 input 距离底部的距离和 cursor-spacing 指定的距离的最小值作为光标与键盘的距离
|
|
@@ -50,18 +55,18 @@ interface InputProps extends StandardProps, FormItemProps {
|
|
|
50
55
|
/** (即将废弃,请直接使用 focus )自动聚焦,拉起键盘
|
|
51
56
|
* @default false
|
|
52
57
|
* @deprecated
|
|
53
|
-
* @supported weapp, qq, jd, h5
|
|
58
|
+
* @supported weapp, qq, jd, h5, harmony_hybrid
|
|
54
59
|
*/
|
|
55
60
|
autoFocus?: boolean
|
|
56
61
|
/** 获取焦点
|
|
57
62
|
* @default false
|
|
58
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
63
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
59
64
|
*/
|
|
60
65
|
focus?: boolean
|
|
61
66
|
/** 设置键盘右下角按钮的文字,仅在type='text'时生效
|
|
62
67
|
* @alipay confirm-type 与 enableNative 属性冲突,若希望 confirm-type 生效,enableNative 不能设定为 false,而且不能设定 always-system
|
|
63
68
|
* @default done
|
|
64
|
-
* @supported weapp, alipay, swan, tt, qq, jd, rn
|
|
69
|
+
* @supported weapp, alipay, swan, tt, qq, jd, rn, harmony
|
|
65
70
|
*/
|
|
66
71
|
confirmType?: keyof InputProps.ConfirmType
|
|
67
72
|
/** 点击键盘右下角按钮时是否保持键盘不收起
|
|
@@ -70,7 +75,7 @@ interface InputProps extends StandardProps, FormItemProps {
|
|
|
70
75
|
*/
|
|
71
76
|
confirmHold?: boolean
|
|
72
77
|
/** 指定focus时的光标位置
|
|
73
|
-
* @supported weapp, alipay, swan, tt, qq, jd, rn
|
|
78
|
+
* @supported weapp, alipay, swan, tt, qq, jd, rn, harmony
|
|
74
79
|
*/
|
|
75
80
|
cursor?: number
|
|
76
81
|
/** 光标起始位置,自动聚集时有效,需与selection-end搭配使用
|
|
@@ -85,7 +90,7 @@ interface InputProps extends StandardProps, FormItemProps {
|
|
|
85
90
|
selectionEnd?: number
|
|
86
91
|
/** 键盘弹起时,是否自动上推页面
|
|
87
92
|
* @default true
|
|
88
|
-
* @supported weapp, swan, tt, qq, jd
|
|
93
|
+
* @supported weapp, swan, tt, qq, jd, harmony
|
|
89
94
|
*/
|
|
90
95
|
adjustPosition?: boolean
|
|
91
96
|
/** focus 时,点击页面的时候不收起键盘
|
|
@@ -144,7 +149,7 @@ interface InputProps extends StandardProps, FormItemProps {
|
|
|
144
149
|
*/
|
|
145
150
|
controlled?: boolean
|
|
146
151
|
/** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
|
|
147
|
-
* @supported h5
|
|
152
|
+
* @supported h5, harmony_hybrid
|
|
148
153
|
*/
|
|
149
154
|
nativeProps?: Record<string, unknown>
|
|
150
155
|
/** 组件名字,用于表单提交获取数据。
|
|
@@ -166,23 +171,23 @@ interface InputProps extends StandardProps, FormItemProps {
|
|
|
166
171
|
*/
|
|
167
172
|
clueType?: number
|
|
168
173
|
/** 当键盘输入时,触发input事件,event.detail = {value, cursor, keyCode},处理函数可以直接 return 一个字符串,将替换输入框的内容。
|
|
169
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
174
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
170
175
|
*/
|
|
171
176
|
onInput?: CommonEventFunction<InputProps.inputEventDetail>
|
|
172
177
|
/** 输入框聚焦时触发,event.detail = { value, height },height 为键盘高度
|
|
173
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
178
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
174
179
|
*/
|
|
175
180
|
onFocus?: CommonEventFunction<InputProps.inputForceEventDetail>
|
|
176
181
|
/** 输入框失去焦点时触发
|
|
177
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
182
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
178
183
|
*/
|
|
179
184
|
onBlur?: CommonEventFunction<InputProps.inputValueEventDetail>
|
|
180
185
|
/** 点击完成按钮时触发
|
|
181
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
186
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
182
187
|
*/
|
|
183
188
|
onConfirm?: CommonEventFunction<InputProps.inputValueEventDetail>
|
|
184
189
|
/** 键盘高度发生变化的时候触发此事件
|
|
185
|
-
* @supported weapp, tt, qq
|
|
190
|
+
* @supported weapp, tt, qq, harmony
|
|
186
191
|
*/
|
|
187
192
|
onKeyboardHeightChange?: CommonEventFunction<InputProps.onKeyboardHeightChangeEventDetail>
|
|
188
193
|
/** 用户昵称审核完毕后触发,仅在 type 为 "nickname" 时有效,event.detail = { pass, timeout }
|
|
@@ -194,11 +199,11 @@ declare namespace InputProps {
|
|
|
194
199
|
/** Input 类型 */
|
|
195
200
|
interface Type {
|
|
196
201
|
/** 文本输入键盘
|
|
197
|
-
* @supported weapp, alipay, h5, rn
|
|
202
|
+
* @supported weapp, alipay, h5, rn, harmony_hybrid
|
|
198
203
|
*/
|
|
199
204
|
text
|
|
200
205
|
/** 数字输入键盘
|
|
201
|
-
* @supported weapp, alipay, h5, rn
|
|
206
|
+
* @supported weapp, alipay, h5, rn, harmony_hybrid
|
|
202
207
|
*/
|
|
203
208
|
number
|
|
204
209
|
/** 身份证输入键盘
|
|
@@ -206,7 +211,7 @@ declare namespace InputProps {
|
|
|
206
211
|
*/
|
|
207
212
|
idcard
|
|
208
213
|
/** 带小数点的数字键盘
|
|
209
|
-
* @supported weapp, alipay, h5, rn
|
|
214
|
+
* @supported weapp, alipay, h5, rn, harmony_hybrid
|
|
210
215
|
*/
|
|
211
216
|
digit
|
|
212
217
|
/** 密码安全输入键盘[指引](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/safe-password.html)
|
|
@@ -271,7 +276,7 @@ declare namespace InputProps {
|
|
|
271
276
|
}
|
|
272
277
|
/** 输入框。该组件是原生组件,使用时请注意相关限制
|
|
273
278
|
* @classification forms
|
|
274
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
279
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
275
280
|
* @example_react
|
|
276
281
|
* ```tsx
|
|
277
282
|
* class App extends Component {
|
package/types/Label.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps } from './common'
|
|
3
3
|
interface LabelProps extends StandardProps {
|
|
4
4
|
/** 绑定控件的 id
|
|
5
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
5
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
for?: string
|
|
8
8
|
}
|
|
@@ -10,7 +10,7 @@ interface LabelProps extends StandardProps {
|
|
|
10
10
|
*
|
|
11
11
|
* 使用for属性找到对应的id,或者将控件放在该标签下,当点击时,就会触发对应的控件。 for优先级高于内部控件,内部有多个控件的时候默认触发第一个控件。 目前可以绑定的控件有:button, checkbox, radio, switch。
|
|
12
12
|
* @classification forms
|
|
13
|
-
* @supported weapp, swan, alipay, tt, h5, rn, harmony
|
|
13
|
+
* @supported weapp, swan, alipay, tt, h5, rn, harmony, harmony_hybrid
|
|
14
14
|
* @example_react
|
|
15
15
|
* ```tsx
|
|
16
16
|
* class App extends Components {
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
import { StandardProps, CommonEventFunction } from './common'
|
|
3
|
+
interface ListBuilderProps extends StandardProps {
|
|
4
|
+
/**
|
|
5
|
+
* 布局方式
|
|
6
|
+
* @supported weapp
|
|
7
|
+
* @default "aligned"
|
|
8
|
+
*
|
|
9
|
+
* 可选值:
|
|
10
|
+
* - static: 定高模式,所有列表项等高,需要传入 child-height
|
|
11
|
+
* - dynamic: 不定高模式
|
|
12
|
+
*/
|
|
13
|
+
type: 'static' | 'dynamic'
|
|
14
|
+
/**
|
|
15
|
+
* 需要用于渲染的列表
|
|
16
|
+
* @supported weapp
|
|
17
|
+
* @default []
|
|
18
|
+
*/
|
|
19
|
+
list: any[]
|
|
20
|
+
/**
|
|
21
|
+
* 完整列表的长度,如果不传则取 list 的长度作为其值
|
|
22
|
+
* @supported weapp
|
|
23
|
+
*/
|
|
24
|
+
childCount?: number
|
|
25
|
+
/**
|
|
26
|
+
* 列表项的高度,当 type 为 static 时必须传入
|
|
27
|
+
* @supported weapp
|
|
28
|
+
*/
|
|
29
|
+
childHeight?: number
|
|
30
|
+
/**
|
|
31
|
+
* 长度为 4 的数组,按 top、right、bottom、left 顺序指定内边距
|
|
32
|
+
* @supported weapp
|
|
33
|
+
* @default [0, 0, 0, 0]
|
|
34
|
+
*/
|
|
35
|
+
padding?: [number, number, number, number]
|
|
36
|
+
/**
|
|
37
|
+
* 列表项创建时触发,event.detail = {index},index 即被创建的列表项序号
|
|
38
|
+
* @supported weapp
|
|
39
|
+
*/
|
|
40
|
+
onItemBuild?: CommonEventFunction
|
|
41
|
+
/**
|
|
42
|
+
* 列表项回收时触发,event.detail = {index},index 即被回收的列表项序号
|
|
43
|
+
* @supported weapp
|
|
44
|
+
*/
|
|
45
|
+
onItemDispose?: CommonEventFunction
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* 列表构造器,仅支持作为 `<scroll-view type="custom">` 模式的直接子节点,仅 Skyline 支持。
|
|
50
|
+
* @classification skyline
|
|
51
|
+
* @supported weapp
|
|
52
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/list-builder.html
|
|
53
|
+
*/
|
|
54
|
+
declare const ListBuilder: ComponentType<ListBuilderProps>
|
|
55
|
+
export { ListBuilder, ListBuilderProps }
|
package/types/ListView.d.ts
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { ComponentType } from 'react'
|
|
2
2
|
import { StandardProps } from './common'
|
|
3
|
-
interface ListViewProps extends StandardProps {
|
|
3
|
+
interface ListViewProps extends StandardProps {
|
|
4
|
+
/**
|
|
5
|
+
* 长度为 4 的数组,按 top、right、bottom、left 顺序指定内边距
|
|
6
|
+
* @supported weapp
|
|
7
|
+
* @default [0, 0, 0, 0]
|
|
8
|
+
*/
|
|
9
|
+
padding?: [number, number, number, number]
|
|
10
|
+
}
|
|
4
11
|
|
|
5
12
|
/**
|
|
6
13
|
* 列表布局容器,仅支持作为 scroll-view 自定义模式下的直接子节点或 sticky-section 组件直接子节点。仅 Skyline 支持。
|
|
7
|
-
* @classification
|
|
8
|
-
* @supported weapp
|
|
14
|
+
* @classification skyline
|
|
15
|
+
* @supported weapp, harmony
|
|
9
16
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/list-view.html
|
|
10
17
|
*/
|
|
11
18
|
declare const ListView: ComponentType<ListViewProps>
|
package/types/LivePlayer.d.ts
CHANGED
|
@@ -61,10 +61,12 @@ interface LivePlayerProps extends StandardProps {
|
|
|
61
61
|
*/
|
|
62
62
|
pictureInPictureMode?: ('push' | 'pop')[] | 'push' | 'pop' | ''
|
|
63
63
|
/** 当跳转到其它微信原生页面时,是否自动暂停本页面的实时音视频播放
|
|
64
|
+
* @default true
|
|
64
65
|
* @supported weapp, qq
|
|
65
66
|
*/
|
|
66
|
-
autoPauseIfOpenNative?:
|
|
67
|
-
/** 格式固定为 https://servicewechat.com/{appid}/{version}/page-frame.html,其中 {appid} 为小程序的 appid,{version} 为小程序的版本号,版本号为 0 表示为开发版、体验版以及审核版本,版本号为 devtools 表示为开发者工具,其余为正式版本;
|
|
67
|
+
autoPauseIfOpenNative?: boolean
|
|
68
|
+
/** 格式固定为 https://servicewechat.com/{appid}/{version}/page-frame.html ,其中 {appid} 为小程序的 appid,{version} 为小程序的版本号,版本号为 0 表示为开发版、体验版以及审核版本,版本号为 devtools 表示为开发者工具,其余为正式版本;
|
|
69
|
+
* @default 'no-referrer'
|
|
68
70
|
* @supported weapp
|
|
69
71
|
*/
|
|
70
72
|
referrerPolicy?: 'origin' | 'no-referrer'
|
|
@@ -125,11 +127,16 @@ interface LivePlayerProps extends StandardProps {
|
|
|
125
127
|
/** 用户选择投屏设备时触发 detail = { state: "success"/"fail" }
|
|
126
128
|
* @supported weapp
|
|
127
129
|
*/
|
|
128
|
-
onCastingUserSelect?: CommonEventFunction
|
|
130
|
+
onCastingUserSelect?: CommonEventFunction<{
|
|
131
|
+
state: 'success' | 'fail'
|
|
132
|
+
}>
|
|
129
133
|
/** 投屏成功/失败时触发 detail = { type, state: "success"/"fail" }
|
|
130
134
|
* @supported weapp
|
|
131
135
|
*/
|
|
132
|
-
onCastingStateChange?: CommonEventFunction
|
|
136
|
+
onCastingStateChange?: CommonEventFunction<{
|
|
137
|
+
type: any
|
|
138
|
+
state: 'success' | 'fail'
|
|
139
|
+
}>
|
|
133
140
|
/** 投屏被中断时触发
|
|
134
141
|
* @supported weapp
|
|
135
142
|
*/
|
package/types/Map.d.ts
CHANGED
|
@@ -30,8 +30,9 @@ interface MapProps extends StandardProps {
|
|
|
30
30
|
* @supported weapp, alipay, swan, tt, qq, jd
|
|
31
31
|
*/
|
|
32
32
|
markers?: MapProps.marker[]
|
|
33
|
-
/**
|
|
33
|
+
/** **即将移除,请使用 markers**
|
|
34
34
|
* @supported weapp
|
|
35
|
+
* @deprecated
|
|
35
36
|
*/
|
|
36
37
|
covers?: any[]
|
|
37
38
|
/** 路线
|
|
@@ -217,14 +218,38 @@ interface MapProps extends StandardProps {
|
|
|
217
218
|
* @supported weapp, swan, qq
|
|
218
219
|
*/
|
|
219
220
|
onPoiTap?: CommonEventFunction<MapProps.onPoiTapEventDetail>
|
|
221
|
+
/** 点击地图路线时触发,e.detail = {longitude, latitude}
|
|
222
|
+
* @supported weapp, swan, qq
|
|
223
|
+
*/
|
|
224
|
+
onPolylineTap?: CommonEventFunction<MapProps.onPolylineTapEventDetail>
|
|
225
|
+
/** 地图能力生效时触发,e.detail = {ability, errCode, errMsg}
|
|
226
|
+
* @supported weapp
|
|
227
|
+
*/
|
|
228
|
+
onAbilitySuccess?: CommonEventFunction<MapProps.onAbilityEventDetail>
|
|
229
|
+
/** 地图能力失败时触发,e.detail = {ability, errCode, errMsg}
|
|
230
|
+
* @supported weapp
|
|
231
|
+
*/
|
|
232
|
+
onAbilityFailed?: CommonEventFunction<MapProps.onAbilityEventDetail>
|
|
233
|
+
/** 地图鉴权结果成功时触发,e.detail = {errCode, errMsg}
|
|
234
|
+
* @supported weapp
|
|
235
|
+
*/
|
|
236
|
+
onAuthSuccess?: CommonEventFunction<{ errCode: number; errMsg: string }>
|
|
237
|
+
/** MapContext.moveAlong 插值动画时触发。e.detail = {markerId, longitude, latitude, animationStatus: "interpolating" | "complete"}
|
|
238
|
+
* @supported weapp
|
|
239
|
+
*/
|
|
240
|
+
onInterpolatePoint?: CommonEventFunction<MapProps.onInterpolatePointEventDetail>
|
|
241
|
+
/** 组件错误时触发,例如创建或鉴权失败,e.detail = {longitude, latitude}
|
|
242
|
+
* @supported weapp
|
|
243
|
+
*/
|
|
244
|
+
onError: CommonEventFunction<MapProps.point>
|
|
220
245
|
/** 点击标记点对应的气泡时触发e.detail = {markerId}
|
|
221
246
|
* @supported weapp, swan, tt, jd
|
|
222
247
|
*/
|
|
223
|
-
onCallOutTap?: CommonEventFunction
|
|
248
|
+
onCallOutTap?: CommonEventFunction<MapProps.onCalloutTapEventDetail>
|
|
224
249
|
/** 点击定位标时触发,e.detail = {longitude, latitude}
|
|
225
250
|
* @supported weapp, tt
|
|
226
251
|
*/
|
|
227
|
-
onAnchorPointTap?: CommonEventFunction
|
|
252
|
+
onAnchorPointTap?: CommonEventFunction<MapProps.point>
|
|
228
253
|
/** 点击 panel 时触发。
|
|
229
254
|
* @supported alipay
|
|
230
255
|
*/
|
|
@@ -612,6 +637,22 @@ declare namespace MapProps {
|
|
|
612
637
|
longitude: number
|
|
613
638
|
latitude: number
|
|
614
639
|
}
|
|
640
|
+
interface onPolylineTapEventDetail {
|
|
641
|
+
polylineId: number
|
|
642
|
+
longitude: number
|
|
643
|
+
latitude: number
|
|
644
|
+
}
|
|
645
|
+
interface onAbilityEventDetail {
|
|
646
|
+
ability: string
|
|
647
|
+
errCode: number
|
|
648
|
+
errMsg: string
|
|
649
|
+
}
|
|
650
|
+
interface onInterpolatePointEventDetail {
|
|
651
|
+
markerId: number
|
|
652
|
+
longitude: number
|
|
653
|
+
latitude: number
|
|
654
|
+
animationStatus: 'interpolating' | 'complete'
|
|
655
|
+
}
|
|
615
656
|
}
|
|
616
657
|
/** 地图。相关api Taro.createMapContext。
|
|
617
658
|
* @classification maps
|
package/types/MovableArea.d.ts
CHANGED
|
@@ -3,13 +3,13 @@ import { StandardProps } from './common'
|
|
|
3
3
|
interface MovableAreaProps extends StandardProps {
|
|
4
4
|
/** 当里面的 movable-view 设置为支持双指缩放时,设置此值可将缩放手势生效区域修改为整个 movable-area
|
|
5
5
|
* @default false
|
|
6
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
6
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
7
7
|
*/
|
|
8
8
|
scaleArea?: boolean
|
|
9
9
|
}
|
|
10
10
|
/** movable-view 的可移动区域
|
|
11
11
|
* @classification viewContainer
|
|
12
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
12
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
13
13
|
* @example_react
|
|
14
14
|
* ```tsx
|
|
15
15
|
* class App extends Components {
|
package/types/MovableView.d.ts
CHANGED
|
@@ -3,65 +3,65 @@ import { StandardProps, CommonEventFunction, TouchEventFunction } from './common
|
|
|
3
3
|
interface MovableViewProps extends Omit<StandardProps, 'animation'> {
|
|
4
4
|
/** movable-view 的移动方向,属性值有`all`、`vertical`、`horizontal`、`none`
|
|
5
5
|
* @default none
|
|
6
|
-
* @supported weapp, alipay, swan, tt, qq, h5, rn
|
|
6
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony_hybrid
|
|
7
7
|
*/
|
|
8
8
|
direction?: 'all' | 'vertical' | 'horizontal' | 'none'
|
|
9
9
|
/** movable-view 是否带有惯性
|
|
10
10
|
* @default false
|
|
11
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
11
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
12
12
|
*/
|
|
13
13
|
inertia?: boolean
|
|
14
14
|
/** 超过可移动区域后,movable-view 是否还可以移动
|
|
15
15
|
* @default false
|
|
16
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
16
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
17
17
|
*/
|
|
18
18
|
outOfBounds?: boolean
|
|
19
19
|
/** 定义 x 轴方向的偏移,如果 x 的值不在可移动范围内,会自动移动到可移动范围;改变 x 的值会触发动画
|
|
20
|
-
* @supported weapp, alipay, swan, tt, qq, h5, rn
|
|
20
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony_hybrid
|
|
21
21
|
*/
|
|
22
22
|
x?: number | string
|
|
23
23
|
/** 定义 y 轴方向的偏移,如果 y 的值不在可移动范围内,会自动移动到可移动范围;改变 y 的值会触发动画
|
|
24
|
-
* @supported weapp, alipay, swan, tt, qq, h5, rn
|
|
24
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony_hybrid
|
|
25
25
|
*/
|
|
26
26
|
y?: number | string
|
|
27
27
|
/** 阻尼系数,用于控制x或y改变时的动画和过界回弹的动画,值越大移动越快
|
|
28
28
|
* @default 20
|
|
29
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
29
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
30
30
|
*/
|
|
31
31
|
damping?: number
|
|
32
32
|
/** 摩擦系数,用于控制惯性滑动的动画,值越大摩擦力越大,滑动越快停止;必须大于 0,否则会被设置成默认值
|
|
33
33
|
* @default 2
|
|
34
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
34
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
35
35
|
*/
|
|
36
36
|
friction?: number
|
|
37
37
|
/** 是否禁用
|
|
38
38
|
* @default false
|
|
39
|
-
* @supported weapp, alipay, swan, tt, qq, h5, rn
|
|
39
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony_hybrid
|
|
40
40
|
*/
|
|
41
41
|
disabled?: boolean
|
|
42
42
|
/** 是否支持双指缩放,默认缩放手势生效区域是在 movable-view 内
|
|
43
43
|
* @default false
|
|
44
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
44
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
45
45
|
*/
|
|
46
46
|
scale?: boolean
|
|
47
47
|
/** 定义缩放倍数最小值
|
|
48
48
|
* @default 0.5
|
|
49
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
49
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
50
50
|
*/
|
|
51
51
|
scaleMin?: number
|
|
52
52
|
/** 定义缩放倍数最大值
|
|
53
53
|
* @default 10
|
|
54
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
54
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
55
55
|
*/
|
|
56
56
|
scaleMax?: number
|
|
57
57
|
/** 定义缩放倍数,取值范围为 0.5 - 10
|
|
58
58
|
* @default 1
|
|
59
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
59
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
60
60
|
*/
|
|
61
61
|
scaleValue?: number
|
|
62
62
|
/** 是否使用动画
|
|
63
63
|
* @default true
|
|
64
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
64
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
65
65
|
*/
|
|
66
66
|
animation?: boolean
|
|
67
67
|
/** 拖动过程中触发的事件
|
|
@@ -81,7 +81,7 @@ interface MovableViewProps extends Omit<StandardProps, 'animation'> {
|
|
|
81
81
|
*/
|
|
82
82
|
onDragEnd?: CommonEventFunction
|
|
83
83
|
/** 缩放过程中触发的事件
|
|
84
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
84
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
85
85
|
*/
|
|
86
86
|
onScale?: CommonEventFunction<MovableViewProps.onScaleEventDetail>
|
|
87
87
|
/** 触摸动作开始,事件会向父节点传递。
|
|
@@ -93,7 +93,7 @@ interface MovableViewProps extends Omit<StandardProps, 'animation'> {
|
|
|
93
93
|
*/
|
|
94
94
|
onTouchMove?: CommonEventFunction
|
|
95
95
|
/** 手指触摸动作结束
|
|
96
|
-
* @supported alipay, h5
|
|
96
|
+
* @supported alipay, h5, harmony_hybrid
|
|
97
97
|
* @h5 此事件的触发顺序会因为当前事件机制引起组件内外注册的事件执行顺序不正常,外部注册的事件可能会优先于内部执行,如需保证执行顺序一致,需要在回调函数中包裹 setTimeout 临时处理
|
|
98
98
|
*/
|
|
99
99
|
onTouchEnd?: TouchEventFunction
|
|
@@ -102,11 +102,11 @@ interface MovableViewProps extends Omit<StandardProps, 'animation'> {
|
|
|
102
102
|
*/
|
|
103
103
|
onTouchCancel?: CommonEventFunction
|
|
104
104
|
/** 初次手指触摸后移动为横向的移动,如果 catch 此事件,则意味着 touchmove 事件也被 catch
|
|
105
|
-
* @supported weapp, swan, tt, h5
|
|
105
|
+
* @supported weapp, swan, tt, h5, harmony_hybrid
|
|
106
106
|
*/
|
|
107
107
|
onHTouchMove?: TouchEventFunction
|
|
108
108
|
/** 初次手指触摸后移动为纵向的移动,如果 catch 此事件,则意味着 touchmove 事件也被 catch
|
|
109
|
-
* @supported weapp, swan, tt, h5
|
|
109
|
+
* @supported weapp, swan, tt, h5, harmony_hybrid
|
|
110
110
|
*/
|
|
111
111
|
onVTouchMove?: TouchEventFunction
|
|
112
112
|
/** 触摸移动事件,事件仅作用于组件,不向父节点传递。
|
|
@@ -155,7 +155,7 @@ declare namespace MovableViewProps {
|
|
|
155
155
|
}
|
|
156
156
|
/** 可移动的视图容器,在页面中可以拖拽滑动。movable-view 必须在 movable-area 组件中,并且必须是直接子节点,否则不能移动。
|
|
157
157
|
* @classification viewContainer
|
|
158
|
-
* @supported weapp, alipay, swan, tt, qq, h5, rn
|
|
158
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony_hybrid
|
|
159
159
|
* @example_react
|
|
160
160
|
* ```tsx
|
|
161
161
|
* class App extends Components {
|
package/types/NativeSlot.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StandardProps } from './common'
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
import type { ComponentType, ReactNode } from 'react'
|
|
4
|
+
|
|
5
|
+
interface NativeSlotProps extends StandardProps {
|
|
4
6
|
/** 指定插入的 slot 位置
|
|
5
7
|
* @default none
|
|
6
8
|
* @supported weapp, swan, alipay, tt, jd, qq
|
|
@@ -10,7 +12,7 @@ interface NativeSlotProps {
|
|
|
10
12
|
|
|
11
13
|
/** 编译的原生组件支持使用 slot 插槽
|
|
12
14
|
* @classification viewContainer
|
|
13
|
-
* @supported weapp, swan, alipay, tt, jd, qq
|
|
15
|
+
* @supported weapp, swan, alipay, tt, jd, qq, h5, harmony_hybrid
|
|
14
16
|
* @version 3.5.7+
|
|
15
17
|
* @example
|
|
16
18
|
* ```tsx
|
package/types/NavigationBar.d.ts
CHANGED
|
@@ -2,19 +2,19 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction } from './common'
|
|
3
3
|
interface NavigationBarProps extends StandardProps {
|
|
4
4
|
/** 导航条标题
|
|
5
|
-
* @supported weapp
|
|
5
|
+
* @supported weapp, harmony
|
|
6
6
|
*/
|
|
7
7
|
title?: string
|
|
8
8
|
/** 是否在导航条显示 loading 加载提示
|
|
9
|
-
* @supported weapp
|
|
9
|
+
* @supported weapp, harmony
|
|
10
10
|
*/
|
|
11
11
|
loading?: boolean
|
|
12
12
|
/** 导航条前景颜色值,包括按钮、标题、状态栏的颜色,仅支持 #ffffff 和 #000000
|
|
13
|
-
* @supported weapp
|
|
13
|
+
* @supported weapp, harmony
|
|
14
14
|
*/
|
|
15
15
|
frontColor?: string
|
|
16
16
|
/** 导航条背景颜色值,有效值为十六进制颜色
|
|
17
|
-
* @supported weapp
|
|
17
|
+
* @supported weapp, harmony
|
|
18
18
|
*/
|
|
19
19
|
backgroundColor?: string
|
|
20
20
|
/** 改变导航栏颜色时的动画时长,默认为 0 (即没有动画效果)
|
|
@@ -30,6 +30,12 @@ interface NavigationBarProps extends StandardProps {
|
|
|
30
30
|
}
|
|
31
31
|
/** 页面导航条配置节点,用于指定导航栏的一些属性。只能是 PageMeta 组件内的第一个节点,需要配合它一同使用。
|
|
32
32
|
* 通过这个节点可以获得类似于调用 Taro.setNavigationBarTitle Taro.setNavigationBarColor 等接口调用的效果。
|
|
33
|
+
*
|
|
34
|
+
* :::info
|
|
35
|
+
* Taro v3.6.19 开始支持
|
|
36
|
+
* 需要配合 PageMeta 组件使用
|
|
37
|
+
* :::
|
|
38
|
+
*
|
|
33
39
|
* @classification navig
|
|
34
40
|
* @supported weapp, harmony
|
|
35
41
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/navigation-bar.html
|
package/types/Navigator.d.ts
CHANGED
|
@@ -7,16 +7,16 @@ interface NavigatorProps extends StandardProps {
|
|
|
7
7
|
*/
|
|
8
8
|
target?: keyof NavigatorProps.Target
|
|
9
9
|
/** 当前小程序内的跳转链接
|
|
10
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
10
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
11
11
|
*/
|
|
12
12
|
url?: string
|
|
13
13
|
/** 跳转方式
|
|
14
14
|
* @default "navigate"
|
|
15
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
15
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
16
16
|
*/
|
|
17
17
|
openType?: keyof NavigatorProps.OpenType
|
|
18
18
|
/** 当 open-type 为 'navigateBack' 时有效,表示回退的层数
|
|
19
|
-
* @supported weapp, swan, tt, qq, jd, h5
|
|
19
|
+
* @supported weapp, swan, tt, qq, jd, h5, harmony_hybrid
|
|
20
20
|
*/
|
|
21
21
|
delta?: number
|
|
22
22
|
/** 当 `target="miniProgram"` 时有效,要打开的小程序 appId
|
|
@@ -37,7 +37,7 @@ interface NavigatorProps extends StandardProps {
|
|
|
37
37
|
version?: keyof NavigatorProps.Version
|
|
38
38
|
/** 指定按下去的样式类。当 `hover-class="none"` 时,没有点击态效果
|
|
39
39
|
* @default "navigator-hover"
|
|
40
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
40
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
41
41
|
*/
|
|
42
42
|
hoverClass?: string
|
|
43
43
|
/** 指定是否阻止本节点的祖先节点出现点击态
|
|
@@ -64,15 +64,15 @@ interface NavigatorProps extends StandardProps {
|
|
|
64
64
|
*/
|
|
65
65
|
ariaLabel?: string
|
|
66
66
|
/** 当 `target="miniProgram"` 时有效,跳转小程序成功
|
|
67
|
-
* @supported weapp, swan, qq, h5
|
|
67
|
+
* @supported weapp, swan, qq, h5, harmony_hybrid
|
|
68
68
|
*/
|
|
69
69
|
onSuccess?: CommonEventFunction
|
|
70
70
|
/** 当 `target="miniProgram"` 时有效,跳转小程序失败
|
|
71
|
-
* @supported weapp, swan, qq, h5
|
|
71
|
+
* @supported weapp, swan, qq, h5, harmony_hybrid
|
|
72
72
|
*/
|
|
73
73
|
onFail?: CommonEventFunction
|
|
74
74
|
/** 当 `target="miniProgram"` 时有效,跳转小程序完成
|
|
75
|
-
* @supported weapp, swan, qq, h5
|
|
75
|
+
* @supported weapp, swan, qq, h5, harmony_hybrid
|
|
76
76
|
*/
|
|
77
77
|
onComplete?: CommonEventFunction
|
|
78
78
|
}
|
|
@@ -111,7 +111,7 @@ declare namespace NavigatorProps {
|
|
|
111
111
|
}
|
|
112
112
|
/** 页面链接
|
|
113
113
|
* @classification navig
|
|
114
|
-
* @supported weapp, alipay, swan, tt, qq, jd,
|
|
114
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
115
115
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/navigator.html
|
|
116
116
|
*/
|
|
117
117
|
declare const Navigator: ComponentType<NavigatorProps>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
import { StandardProps, CommonEventFunction } from './common'
|
|
3
|
+
|
|
4
|
+
interface NestedScrollBodyProps extends StandardProps {}
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* 嵌套 scroll-view 场景中属于里层 scroll-view 的节点,
|
|
8
|
+
* 仅支持作为 `<scroll-view type="nested">` 模式的直接子节点。
|
|
9
|
+
* 不支持复数子节点,渲染时会取其第一个子节点来渲染。具体用法可参考 scroll-view
|
|
10
|
+
* @classification skyline
|
|
11
|
+
* @supported weapp
|
|
12
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/nested-scroll-body.html
|
|
13
|
+
*/
|
|
14
|
+
declare const NestedScrollBody: ComponentType<NestedScrollBodyProps>
|
|
15
|
+
export { NestedScrollBody, NestedScrollBodyProps }
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
import { StandardProps, CommonEventFunction } from './common'
|
|
3
|
+
|
|
4
|
+
interface NestedScrollHeaderProps extends StandardProps {}
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* 嵌套 scroll-view 场景中属于外层 scroll-view 的节点,
|
|
8
|
+
* 仅支持作为 `<scroll-view type="nested">` 模式的直接子节点。
|
|
9
|
+
* 不支持复数子节点,渲染时会取其第一个子节点来渲染。具体用法可参考 scroll-view
|
|
10
|
+
* @classification skyline
|
|
11
|
+
* @supported weapp
|
|
12
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/nested-scroll-header.html
|
|
13
|
+
*/
|
|
14
|
+
declare const NestedScrollHeader: ComponentType<NestedScrollHeaderProps>
|
|
15
|
+
export { NestedScrollHeader, NestedScrollHeaderProps }
|