@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/Button.d.ts
CHANGED
|
@@ -3,32 +3,32 @@ import { StandardProps, CommonEventFunction } from './common'
|
|
|
3
3
|
import { StyleProp, ViewStyle } from 'react-native'
|
|
4
4
|
interface ButtonProps extends StandardProps {
|
|
5
5
|
/** 按钮的大小
|
|
6
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
6
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
7
7
|
* @default default
|
|
8
8
|
*/
|
|
9
9
|
size?: keyof ButtonProps.Size
|
|
10
10
|
/** 按钮的样式类型
|
|
11
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
11
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
12
12
|
* @default default
|
|
13
13
|
*/
|
|
14
14
|
type?: keyof ButtonProps.Type
|
|
15
15
|
/** 按钮是否镂空,背景色透明
|
|
16
|
-
* @supported weapp, alipay, swan, qq, jd, h5, rn
|
|
16
|
+
* @supported weapp, alipay, swan, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
17
17
|
* @default false
|
|
18
18
|
*/
|
|
19
19
|
plain?: boolean
|
|
20
20
|
/** 是否禁用
|
|
21
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
21
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
22
22
|
* @default false
|
|
23
23
|
*/
|
|
24
24
|
disabled?: boolean
|
|
25
25
|
/** 名称前是否带 loading 图标
|
|
26
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
26
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
27
27
|
* @default false
|
|
28
28
|
*/
|
|
29
29
|
loading?: boolean
|
|
30
30
|
/** 用于 `<form/>` 组件,点击分别会触发 `<form/>` 组件的 submit/reset 事件
|
|
31
|
-
* @supported weapp, alipay, swan, tt, qq, jd
|
|
31
|
+
* @supported weapp, alipay, swan, tt, qq, jd, harmony
|
|
32
32
|
*/
|
|
33
33
|
formType?: keyof ButtonProps.FormType
|
|
34
34
|
/** 微信开放能力
|
|
@@ -37,7 +37,7 @@ interface ButtonProps extends StandardProps {
|
|
|
37
37
|
openType?: ButtonProps.OpenType
|
|
38
38
|
/** 指定按下去的样式类。当 `hover-class="none"` 时,没有点击态效果
|
|
39
39
|
* @default button-hover
|
|
40
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
40
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
41
41
|
* @rn 支持 hoverStyle 属性,但框架未支持 hoverClass
|
|
42
42
|
*/
|
|
43
43
|
hoverClass?: string
|
|
@@ -53,12 +53,12 @@ interface ButtonProps extends StandardProps {
|
|
|
53
53
|
hoverStopPropagation?: boolean
|
|
54
54
|
/** 按住后多久出现点击态,单位毫秒
|
|
55
55
|
* @default 20
|
|
56
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
56
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
57
57
|
*/
|
|
58
58
|
hoverStartTime?: number
|
|
59
59
|
/** 手指松开后点击态保留时间,单位毫秒
|
|
60
60
|
* @default 70
|
|
61
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
61
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
62
62
|
*/
|
|
63
63
|
hoverStayTime?: number
|
|
64
64
|
/** 指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文。
|
|
@@ -127,8 +127,10 @@ interface ButtonProps extends StandardProps {
|
|
|
127
127
|
* @supported swan
|
|
128
128
|
*/
|
|
129
129
|
subscribeId?: string
|
|
130
|
-
/**
|
|
131
|
-
* @
|
|
130
|
+
/** 群聊 id
|
|
131
|
+
* @qq 打开群资料卡时,传递的群号
|
|
132
|
+
* @tt 通过创建聊天群、查询群信息获取
|
|
133
|
+
* @supported qq, tt
|
|
132
134
|
*/
|
|
133
135
|
groupId?: string
|
|
134
136
|
/** 打开频道页面时,传递的频道号
|
|
@@ -169,6 +171,11 @@ interface ButtonProps extends StandardProps {
|
|
|
169
171
|
* @supported tt
|
|
170
172
|
*/
|
|
171
173
|
dataAwemeId?: string
|
|
174
|
+
/**
|
|
175
|
+
* 是否开启半屏模式
|
|
176
|
+
* @supported tt
|
|
177
|
+
*/
|
|
178
|
+
dataIsHalfPage?: boolean
|
|
172
179
|
/** 用户点击该按钮时,会返回获取到的用户信息,回调的detail数据与 Taro.getUserInfo 返回的一致
|
|
173
180
|
*
|
|
174
181
|
* 生效时机: `open-type="getUserInfo"`
|
|
@@ -271,6 +278,11 @@ interface ButtonProps extends StandardProps {
|
|
|
271
278
|
* @supported tt
|
|
272
279
|
*/
|
|
273
280
|
onOpenAwemeUserProfile?: CommonEventFunction
|
|
281
|
+
/**
|
|
282
|
+
* 加群后触发
|
|
283
|
+
* @supported tt
|
|
284
|
+
*/
|
|
285
|
+
onJoinGroup?: CommonEventFunction<{ errMsg: string; errNo: number }>
|
|
274
286
|
}
|
|
275
287
|
declare namespace ButtonProps {
|
|
276
288
|
/** size 的合法值 */
|
|
@@ -297,7 +309,11 @@ declare namespace ButtonProps {
|
|
|
297
309
|
reset
|
|
298
310
|
}
|
|
299
311
|
/** open-type 的合法值 */
|
|
300
|
-
type OpenType =
|
|
312
|
+
type OpenType =
|
|
313
|
+
| keyof openTypeKeys['weapp']
|
|
314
|
+
| keyof openTypeKeys['alipay']
|
|
315
|
+
| keyof openTypeKeys['qq']
|
|
316
|
+
| keyof openTypeKeys['tt']
|
|
301
317
|
/** open-type 的合法值 */
|
|
302
318
|
interface openTypeKeys {
|
|
303
319
|
weapp: {
|
|
@@ -334,6 +350,21 @@ declare namespace ButtonProps {
|
|
|
334
350
|
* 用户同意隐私协议按钮。可通过 bindagreeprivacyauthorization 监听用户同意隐私协议事件
|
|
335
351
|
*/
|
|
336
352
|
agreePrivacyAuthorization
|
|
353
|
+
/**
|
|
354
|
+
* 从基础库 2.32.3 版本起,隐私同意按钮支持与手机号快速验证组件耦合使用,调用方式为:
|
|
355
|
+
* <button open-type="getPhoneNumber|agreePrivacyAuthorization">
|
|
356
|
+
*/
|
|
357
|
+
['getPhoneNumber|agreePrivacyAuthorization']
|
|
358
|
+
/**
|
|
359
|
+
* 从基础库 2.32.3 版本起,支持隐私同意按钮与手机号实时验证组件耦合使用,调用方式为:
|
|
360
|
+
* <button open-type="getRealtimePhoneNumber|agreePrivacyAuthorization">
|
|
361
|
+
*/
|
|
362
|
+
['getRealtimePhoneNumber|agreePrivacyAuthorization']
|
|
363
|
+
/**
|
|
364
|
+
* 从基础库 2.32.3 版本起,支持隐私同意按钮与获取用户信息组件耦合使用,调用方式为:
|
|
365
|
+
* <button open-type="getUserInfo|agreePrivacyAuthorization">
|
|
366
|
+
*/
|
|
367
|
+
['getUserInfo|agreePrivacyAuthorization']
|
|
337
368
|
}
|
|
338
369
|
/** 支付宝小程序专属的 open-type 合法值
|
|
339
370
|
* @see https://opendocs.alipay.com/mini/component/button
|
|
@@ -496,7 +527,7 @@ declare namespace ButtonProps {
|
|
|
496
527
|
}
|
|
497
528
|
/** 按钮
|
|
498
529
|
* @classification forms
|
|
499
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
530
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
500
531
|
* @example_react
|
|
501
532
|
* ```tsx
|
|
502
533
|
* export default class PageButton extends Component {
|
package/types/Camera.d.ts
CHANGED
|
@@ -121,7 +121,7 @@ declare namespace CameraProps {
|
|
|
121
121
|
}
|
|
122
122
|
/** 系统相机
|
|
123
123
|
* @classification media
|
|
124
|
-
* @supported weapp, alipay, swan, tt, qq, jd, rn
|
|
124
|
+
* @supported weapp, alipay, swan, tt, qq, jd, rn
|
|
125
125
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/camera.html
|
|
126
126
|
*/
|
|
127
127
|
declare const Camera: ComponentType<CameraProps>
|
package/types/Canvas.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ interface CanvasProps extends StandardProps<any, CanvasTouchEvent> {
|
|
|
6
6
|
*/
|
|
7
7
|
type?: string
|
|
8
8
|
/** canvas 组件的唯一标识符,若指定了 type 则无需再指定该属性
|
|
9
|
-
* @supported weapp, swan, tt, qq, jd, h5
|
|
9
|
+
* @supported weapp, swan, tt, qq, jd, h5, harmony_hybrid
|
|
10
10
|
*/
|
|
11
11
|
canvasId?: string
|
|
12
12
|
/** 当在 canvas 中移动时且有绑定手势事件时,禁止屏幕滚动以及下拉刷新
|
|
@@ -14,41 +14,41 @@ interface CanvasProps extends StandardProps<any, CanvasTouchEvent> {
|
|
|
14
14
|
* @supported weapp, alipay, swan, qq, jd
|
|
15
15
|
*/
|
|
16
16
|
disableScroll?: boolean
|
|
17
|
-
/** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
|
|
18
|
-
* @supported h5
|
|
19
|
-
*/
|
|
20
|
-
nativeProps?: Record<string, unknown>
|
|
21
17
|
/** 组件唯一标识符。
|
|
22
18
|
* 注意:同一页面中的 id 不可重复。
|
|
23
|
-
* @supported alipay
|
|
19
|
+
* @supported alipay, h5, harmony_hybrid
|
|
24
20
|
*/
|
|
25
21
|
id?: string
|
|
26
22
|
/**
|
|
27
|
-
* @supported alipay
|
|
23
|
+
* @supported alipay, h5, harmony_hybrid
|
|
28
24
|
*/
|
|
29
25
|
width?: string
|
|
30
26
|
/**
|
|
31
|
-
* @supported alipay
|
|
27
|
+
* @supported alipay, h5, harmony_hybrid
|
|
32
28
|
*/
|
|
33
29
|
height?: string
|
|
30
|
+
/** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
|
|
31
|
+
* @supported h5, harmony_hybrid
|
|
32
|
+
*/
|
|
33
|
+
nativeProps?: Record<string, unknown>
|
|
34
34
|
/** 手指触摸动作开始
|
|
35
|
-
* @supported weapp, alipay, swan, tt, qq, jd
|
|
35
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
36
36
|
*/
|
|
37
37
|
onTouchStart?: CanvasTouchEventFunction
|
|
38
38
|
/** 手指触摸后移动
|
|
39
|
-
* @supported weapp, alipay, swan, tt, qq, jd
|
|
39
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
40
40
|
*/
|
|
41
41
|
onTouchMove?: CanvasTouchEventFunction
|
|
42
42
|
/** 手指触摸动作结束
|
|
43
|
-
* @supported weapp, alipay, swan, tt, qq, jd
|
|
43
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
44
44
|
*/
|
|
45
45
|
onTouchEnd?: CanvasTouchEventFunction
|
|
46
46
|
/** 手指触摸动作被打断,如来电提醒,弹窗
|
|
47
|
-
* @supported weapp, alipay, swan, tt, qq, jd
|
|
47
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
48
48
|
*/
|
|
49
49
|
onTouchCancel?: CanvasTouchEventFunction
|
|
50
50
|
/** 手指长按 500ms 之后触发,触发了长按事件后进行移动不会触发屏幕的滚动
|
|
51
|
-
* @supported weapp, alipay, swan, qq, jd, h5
|
|
51
|
+
* @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
|
|
52
52
|
*/
|
|
53
53
|
onLongTap?: CommonEventFunction
|
|
54
54
|
/** 当发生错误时触发 error 事件,detail = {errMsg: 'something wrong'}
|
|
@@ -73,7 +73,7 @@ declare namespace CanvasProps {
|
|
|
73
73
|
*
|
|
74
74
|
* `<Canvas />` 组件的 RN 版本尚未实现。
|
|
75
75
|
* @classification canvas
|
|
76
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
76
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
77
77
|
* @example_react
|
|
78
78
|
* ```tsx
|
|
79
79
|
* class App extends Components {
|
package/types/ChannelVideo.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentType } from 'react'
|
|
2
2
|
import { StandardProps, CommonEventFunction } from './common'
|
|
3
3
|
interface ChannelVideoProps extends StandardProps {
|
|
4
|
-
/**
|
|
4
|
+
/** 仅视频号视频与小程序同主体时生效。若内嵌非同主体视频,请使用 feed-token。
|
|
5
5
|
* @supported weapp
|
|
6
6
|
*/
|
|
7
7
|
feedId: string
|
|
@@ -29,7 +29,7 @@ interface ChannelVideoProps extends StandardProps {
|
|
|
29
29
|
* @default false
|
|
30
30
|
*/
|
|
31
31
|
autoplay?: boolean
|
|
32
|
-
/**
|
|
32
|
+
/** 仅内嵌小程序非同主体视频号视频时使用,获取方式参考[本指引](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/channels-activity.html#feed-token)。
|
|
33
33
|
* @supported weapp
|
|
34
34
|
*/
|
|
35
35
|
feedToken?: string
|
package/types/Checkbox.d.ts
CHANGED
|
@@ -2,25 +2,30 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction, FormItemProps } from './common'
|
|
3
3
|
interface CheckboxProps extends StandardProps {
|
|
4
4
|
/** `<Checkbox/>`标识,选中时触发`<CheckboxGroup/>`的 change 事件,并携带 `<Checkbox/>` 的 value
|
|
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
8
|
/** 是否禁用
|
|
9
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
9
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
10
10
|
* @default false
|
|
11
11
|
*/
|
|
12
12
|
disabled?: boolean
|
|
13
13
|
/** 当前是否选中,可用来设置默认选中
|
|
14
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
14
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
15
15
|
* @default false
|
|
16
16
|
*/
|
|
17
17
|
checked?: boolean
|
|
18
18
|
/** checkbox的颜色,同 css 的 color
|
|
19
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
19
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
20
20
|
*/
|
|
21
21
|
color?: string
|
|
22
|
+
/**
|
|
23
|
+
* Checkbox 的名字
|
|
24
|
+
* @supported h5, harmony, harmony_hybrid
|
|
25
|
+
*/
|
|
26
|
+
name?: string
|
|
22
27
|
/** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
|
|
23
|
-
* @supported h5
|
|
28
|
+
* @supported h5, harmony_hybrid
|
|
24
29
|
*/
|
|
25
30
|
nativeProps?: Record<string, unknown>
|
|
26
31
|
/** 无障碍访问,(属性)元素的额外描述
|
|
@@ -28,7 +33,7 @@ interface CheckboxProps extends StandardProps {
|
|
|
28
33
|
*/
|
|
29
34
|
ariaLabel?: string
|
|
30
35
|
/** 选中项发生变化时触发 change 事件,小程序无此 API
|
|
31
|
-
* @supported alipay, h5, rn
|
|
36
|
+
* @supported alipay, h5, rn, harmony, harmony_hybrid
|
|
32
37
|
*/
|
|
33
38
|
onChange?: CommonEventFunction<{
|
|
34
39
|
value: string[]
|
|
@@ -36,7 +41,7 @@ interface CheckboxProps extends StandardProps {
|
|
|
36
41
|
}
|
|
37
42
|
/** 多选项目
|
|
38
43
|
* @classification forms
|
|
39
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
44
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
40
45
|
* @example_react
|
|
41
46
|
* ```tsx
|
|
42
47
|
* export default class PageCheckbox extends Component {
|
package/types/CheckboxGroup.d.ts
CHANGED
|
@@ -2,11 +2,11 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction, FormItemProps } from './common'
|
|
3
3
|
interface CheckboxGroupProps extends StandardProps, FormItemProps {
|
|
4
4
|
/** 表单组件中加上 name 来作为 key
|
|
5
|
-
* @supported alipay, tt, h5
|
|
5
|
+
* @supported alipay, tt, h5, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
name?: string
|
|
8
8
|
/** `<CheckboxGroup/>` 中选中项发生改变是触发 change 事件
|
|
9
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
9
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
10
10
|
*/
|
|
11
11
|
onChange?: CommonEventFunction<{
|
|
12
12
|
value: string[]
|
|
@@ -14,7 +14,7 @@ interface CheckboxGroupProps extends StandardProps, FormItemProps {
|
|
|
14
14
|
}
|
|
15
15
|
/** 多项选择器,内部由多个checkbox组成
|
|
16
16
|
* @classification forms
|
|
17
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
17
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
18
18
|
* @example
|
|
19
19
|
* ```tsx
|
|
20
20
|
* export default class PageCheckbox extends Component {
|
package/types/CoverImage.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction } from './common'
|
|
3
3
|
interface CoverImageProps extends StandardProps {
|
|
4
4
|
/** 图标路径,支持临时路径、网络地址、云文件ID。暂不支持base64格式。
|
|
5
|
-
* @supported weapp, alipay, swan, qq, jd, h5
|
|
5
|
+
* @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
src: string
|
|
8
8
|
/** 格式固定为 https://servicewechat.com/{appid}/{version}/page-frame.html,其中 {appid} 为小程序的 appid,{version} 为小程序的版本号,版本号为 0 表示为开发版、体验版以及审核版本,版本号为 devtools 表示为开发者工具,其余为正式版本;
|
|
@@ -34,11 +34,11 @@ interface CoverImageProps extends StandardProps {
|
|
|
34
34
|
*/
|
|
35
35
|
ariaLabel?: string
|
|
36
36
|
/** 图片加载成功时触发
|
|
37
|
-
* @supported weapp, swan, qq, jd, h5
|
|
37
|
+
* @supported weapp, swan, qq, jd, h5, harmony_hybrid
|
|
38
38
|
*/
|
|
39
39
|
onLoad?: CommonEventFunction
|
|
40
40
|
/** 图片加载失败时触发
|
|
41
|
-
* @supported weapp, swan, qq, jd, h5
|
|
41
|
+
* @supported weapp, swan, qq, jd, h5, harmony_hybrid
|
|
42
42
|
*/
|
|
43
43
|
onError?: CommonEventFunction
|
|
44
44
|
/** 点击事件回调。
|
|
@@ -48,7 +48,7 @@ interface CoverImageProps extends StandardProps {
|
|
|
48
48
|
}
|
|
49
49
|
/** 覆盖在原生组件之上的图片视图。可覆盖的原生组件同cover-view,支持嵌套在cover-view里。
|
|
50
50
|
* @classification viewContainer
|
|
51
|
-
* @supported weapp, alipay, swan, qq, jd, h5,
|
|
51
|
+
* @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
|
|
52
52
|
* @example_react
|
|
53
53
|
* ```tsx
|
|
54
54
|
* // js
|
package/types/CoverView.d.ts
CHANGED
|
@@ -117,7 +117,7 @@ interface CoverViewProps extends ViewProps {
|
|
|
117
117
|
}
|
|
118
118
|
/** 覆盖在原生组件之上的文本视图。可覆盖的原生组件包括 map、video、canvas、camera、live-player、live-pusher 只支持嵌套 cover-view、cover-image,可在 cover-view 中使用 button。
|
|
119
119
|
* @classification viewContainer
|
|
120
|
-
* @supported weapp, alipay, swan, qq, jd, h5
|
|
120
|
+
* @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
|
|
121
121
|
* @example_react
|
|
122
122
|
* ```tsx
|
|
123
123
|
* // js
|
package/types/CustomWrapper.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ interface CustomWrapperProps extends StandardProps {
|
|
|
7
7
|
/** custom-wrapper 自定义组件包裹器
|
|
8
8
|
* 当数据更新层级较深时,可用此组件将需要更新的区域包裹起来,这样更新层级将大大减少
|
|
9
9
|
* @classification viewContainer
|
|
10
|
-
* @supported weapp, swan, alipay, tt, jd, qq, h5
|
|
10
|
+
* @supported weapp, swan, alipay, tt, jd, qq, h5, harmony_hybrid
|
|
11
11
|
* @example
|
|
12
12
|
* ```tsx
|
|
13
13
|
* import { Component } from 'react'
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
import { StandardProps, CommonEventFunction } from './common'
|
|
3
|
+
|
|
4
|
+
interface DraggableSheetProps extends StandardProps {
|
|
5
|
+
/**
|
|
6
|
+
* 初始时占父容器的比例
|
|
7
|
+
* @supported weapp
|
|
8
|
+
* @default 0.5
|
|
9
|
+
*/
|
|
10
|
+
initialChildSize?: number
|
|
11
|
+
/**
|
|
12
|
+
* 最小时占父容器的比例
|
|
13
|
+
* @supported weapp
|
|
14
|
+
* @default 0.25
|
|
15
|
+
*/
|
|
16
|
+
minChildSize?: number
|
|
17
|
+
/**
|
|
18
|
+
* 最大时占父容器的比例
|
|
19
|
+
* @supported weapp
|
|
20
|
+
* @default 1.0
|
|
21
|
+
*/
|
|
22
|
+
maxChildSize?: number
|
|
23
|
+
/**
|
|
24
|
+
* 拖拽后是否自动对齐关键点
|
|
25
|
+
* @supported weapp
|
|
26
|
+
* @default false
|
|
27
|
+
*/
|
|
28
|
+
snap?: boolean
|
|
29
|
+
/**
|
|
30
|
+
* 拖拽后对齐的关键点,无需包含最小和最大值
|
|
31
|
+
* @supported weapp
|
|
32
|
+
* @default []
|
|
33
|
+
*/
|
|
34
|
+
snapSizes?: any[]
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* 半屏可拖拽组件
|
|
39
|
+
* 该组件需配合 DraggableSheetContext 接口使用。 目前仅在 Skyline 渲染引擎下支持。
|
|
40
|
+
* 页面内拖拽是一种常见的交互效果,开发者可通过手势系统灵活实现。draggable-sheet 组件封装了常见的交互逻辑,实现起来更加简单。
|
|
41
|
+
* 该组件需结合 scroll-view 使用。scroll-view 组件声明 associative-container 属性后,可与 draggable-sheet 关联起来。
|
|
42
|
+
* @classification skyline
|
|
43
|
+
* @supported weapp
|
|
44
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/draggable-sheet.html
|
|
45
|
+
*/
|
|
46
|
+
declare const DraggableSheet: ComponentType<DraggableSheetProps>
|
|
47
|
+
export { DraggableSheet, DraggableSheetProps }
|
package/types/Form.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { StandardProps, CommonEventFunction } from './common'
|
|
|
3
3
|
interface FormProps extends StandardProps {
|
|
4
4
|
/** 是否返回 `formId` 用于发送模板消息。
|
|
5
5
|
* @default false
|
|
6
|
-
* @supported weapp, alipay, swan, qq, jd, h5
|
|
6
|
+
* @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
|
|
7
7
|
*/
|
|
8
8
|
reportSubmit?: boolean
|
|
9
9
|
/** 等待一段时间(毫秒数)以确认 `formId` 是否生效。
|
|
@@ -43,11 +43,11 @@ interface FormProps extends StandardProps {
|
|
|
43
43
|
*/
|
|
44
44
|
clueComponentId?: string
|
|
45
45
|
/** 携带 form 中的数据触发 submit 事件
|
|
46
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
46
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
47
47
|
*/
|
|
48
48
|
onSubmit?: CommonEventFunction<FormProps.onSubmitEventDetail>
|
|
49
49
|
/** 表单重置时会触发 reset 事件
|
|
50
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
50
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
51
51
|
*/
|
|
52
52
|
onReset?: CommonEventFunction
|
|
53
53
|
}
|
|
@@ -69,7 +69,7 @@ declare namespace FormProps {
|
|
|
69
69
|
*
|
|
70
70
|
* 当点击 form 表单中 form-type 为 submit 的 button 组件时,会将表单组件中的 value 值进行提交,需要在表单组件中加上 name 来作为 key。
|
|
71
71
|
* @classification forms
|
|
72
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
72
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
73
73
|
* @example_react
|
|
74
74
|
* ```tsx
|
|
75
75
|
* class App extends Component {
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { ComponentType } from 'react'
|
|
2
|
+
import { StandardProps, CommonEventFunction } from './common'
|
|
3
|
+
interface GridBuilderProps extends StandardProps {
|
|
4
|
+
/**
|
|
5
|
+
* 布局方式
|
|
6
|
+
* @supported weapp
|
|
7
|
+
* @default "aligned"
|
|
8
|
+
*
|
|
9
|
+
* 可选值:
|
|
10
|
+
* - aligned: 每行高度由同一行中最大高度子节点决定
|
|
11
|
+
* - masonry: 瀑布流,根据子元素高度自动布局
|
|
12
|
+
*/
|
|
13
|
+
type: 'aligned' | 'masonry'
|
|
14
|
+
/**
|
|
15
|
+
* 需要用于渲染的列表
|
|
16
|
+
* @supported weapp
|
|
17
|
+
* @default []
|
|
18
|
+
*/
|
|
19
|
+
list: any[]
|
|
20
|
+
/**
|
|
21
|
+
* 完整列表的长度,如果不传则取 list 的长度作为其值
|
|
22
|
+
* @supported weapp
|
|
23
|
+
*/
|
|
24
|
+
childCount?: number
|
|
25
|
+
/**
|
|
26
|
+
* 交叉轴元素数量
|
|
27
|
+
* @supported weapp
|
|
28
|
+
* @default 2
|
|
29
|
+
*/
|
|
30
|
+
crossAxisCount?: number
|
|
31
|
+
/** 交叉轴元素最大范围
|
|
32
|
+
* @supported weapp
|
|
33
|
+
* @default 0
|
|
34
|
+
*/
|
|
35
|
+
maxCrossAxisExtent?: number
|
|
36
|
+
/**
|
|
37
|
+
* 主轴方向间隔
|
|
38
|
+
* @supported weapp
|
|
39
|
+
* @default 0
|
|
40
|
+
*/
|
|
41
|
+
mainAxisGap?: number
|
|
42
|
+
/** 交叉轴方向间隔
|
|
43
|
+
* @supported weapp
|
|
44
|
+
* @default 0
|
|
45
|
+
*/
|
|
46
|
+
crossAxisGap?: number
|
|
47
|
+
/**
|
|
48
|
+
* 长度为 4 的数组,按 top、right、bottom、left 顺序指定内边距
|
|
49
|
+
* @supported weapp
|
|
50
|
+
* @default [0, 0, 0, 0]
|
|
51
|
+
*/
|
|
52
|
+
padding?: [number, number, number, number]
|
|
53
|
+
/**
|
|
54
|
+
* 列表项创建时触发,event.detail = {index},index 即被创建的列表项序号
|
|
55
|
+
* @supported weapp
|
|
56
|
+
*/
|
|
57
|
+
onItemBuild?: CommonEventFunction
|
|
58
|
+
/**
|
|
59
|
+
* 列表项回收时触发,event.detail = {index},index 即被回收的列表项序号
|
|
60
|
+
* @supported weapp
|
|
61
|
+
*/
|
|
62
|
+
onItemDispose?: CommonEventFunction
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* 网格构造器,仅支持作为 `<scroll-view type="custom">` 模式的直接子节点,仅 Skyline 支持。
|
|
67
|
+
* @classification skyline
|
|
68
|
+
* @supported weapp
|
|
69
|
+
* @see https://developers.weixin.qq.com/miniprogram/dev/component/grid-builder.html
|
|
70
|
+
*/
|
|
71
|
+
declare const GridBuilder: ComponentType<GridBuilderProps>
|
|
72
|
+
export { GridBuilder, GridBuilderProps }
|
package/types/GridView.d.ts
CHANGED
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
import { ComponentType } from 'react'
|
|
2
2
|
import { StandardProps } from './common'
|
|
3
3
|
interface GridViewProps extends StandardProps {
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* 布局方式
|
|
5
6
|
* @supported weapp
|
|
6
7
|
* @default "aligned"
|
|
8
|
+
*
|
|
9
|
+
* 可选值:
|
|
10
|
+
* - aligned: 每行高度由同一行中最大高度子节点决定
|
|
11
|
+
* - masonry: 瀑布流,根据子元素高度自动布局
|
|
7
12
|
*/
|
|
8
|
-
type:
|
|
9
|
-
/**
|
|
13
|
+
type: 'aligned' | 'masonry'
|
|
14
|
+
/**
|
|
15
|
+
* 交叉轴元素数量
|
|
10
16
|
* @supported weapp
|
|
11
17
|
* @default 2
|
|
12
18
|
*/
|
|
13
19
|
crossAxisCount?: number
|
|
14
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* 主轴方向间隔
|
|
15
22
|
* @supported weapp
|
|
16
23
|
* @default 0
|
|
17
24
|
*/
|
|
@@ -26,10 +33,17 @@ interface GridViewProps extends StandardProps {
|
|
|
26
33
|
* @default 0
|
|
27
34
|
*/
|
|
28
35
|
maxCrossAxisExtent?: number
|
|
36
|
+
/**
|
|
37
|
+
* 长度为 4 的数组,按 top、right、bottom、left 顺序指定内边距
|
|
38
|
+
* @supported weapp
|
|
39
|
+
* @default [0, 0, 0, 0]
|
|
40
|
+
*/
|
|
41
|
+
padding?: [number, number, number, number]
|
|
29
42
|
}
|
|
43
|
+
|
|
30
44
|
/**
|
|
31
45
|
* 网格布局容器,仅支持作为 scroll-view 自定义模式下的直接子节点或 sticky-section 组件直接子节点。仅 Skyline 支持。
|
|
32
|
-
* @classification
|
|
46
|
+
* @classification skyline
|
|
33
47
|
* @supported weapp
|
|
34
48
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/grid-view.html
|
|
35
49
|
*/
|
package/types/Icon.d.ts
CHANGED
|
@@ -2,16 +2,16 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps } from './common'
|
|
3
3
|
interface IconProps extends StandardProps {
|
|
4
4
|
/** icon 的类型
|
|
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
|
type: keyof IconProps.TIconType
|
|
8
8
|
/** icon 的大小,单位px
|
|
9
9
|
* @default 23
|
|
10
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
10
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
11
11
|
*/
|
|
12
|
-
size?:
|
|
12
|
+
size?: number
|
|
13
13
|
/** icon 的颜色,同 css 的 color
|
|
14
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
14
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
15
15
|
*/
|
|
16
16
|
color?: string
|
|
17
17
|
/** 无障碍访问,(属性)元素的额外描述
|
|
@@ -48,7 +48,7 @@ declare namespace IconProps {
|
|
|
48
48
|
}
|
|
49
49
|
/** 图标。组件属性的长度单位默认为 px
|
|
50
50
|
* @classification base
|
|
51
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
51
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
52
52
|
* @example_react
|
|
53
53
|
* ```tsx
|
|
54
54
|
* export default class PageView extends Component {
|
package/types/Image.d.ts
CHANGED
|
@@ -2,13 +2,14 @@ import { ComponentType, ImgHTMLAttributes } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction } from './common'
|
|
3
3
|
interface ImageProps extends StandardProps {
|
|
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
|
src: string
|
|
8
8
|
/** 图片裁剪、缩放的模式
|
|
9
9
|
* @default "scaleToFill"
|
|
10
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
10
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
11
11
|
* @rn 部分支持 scaleToFill, aspectFit, aspectFill, widthFix
|
|
12
|
+
* @harmony 部分支持 scaleToFill, aspectFit, aspectFill, widthFix, heightFix
|
|
12
13
|
*/
|
|
13
14
|
mode?: keyof ImageProps.Mode
|
|
14
15
|
/** 默认不解析 webP 格式,只支持网络资源
|
|
@@ -23,7 +24,7 @@ interface ImageProps extends StandardProps {
|
|
|
23
24
|
svg?: boolean
|
|
24
25
|
/** 图片懒加载。只针对 page 与 scroll-view 下的 image 有效
|
|
25
26
|
* @default false
|
|
26
|
-
* @supported weapp, alipay, swan, tt, qq, h5
|
|
27
|
+
* @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
|
|
27
28
|
*/
|
|
28
29
|
lazyLoad?: boolean
|
|
29
30
|
/** 开启长按图片显示识别小程序码菜单
|
|
@@ -33,11 +34,11 @@ interface ImageProps extends StandardProps {
|
|
|
33
34
|
showMenuByLongpress?: boolean
|
|
34
35
|
/**
|
|
35
36
|
* 为 img 标签额外增加的属性
|
|
36
|
-
* @supported h5
|
|
37
|
+
* @supported h5, harmony_hybrid
|
|
37
38
|
*/
|
|
38
39
|
imgProps?: ImgHTMLAttributes<HTMLImageElement>
|
|
39
40
|
/** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
|
|
40
|
-
* @supported h5
|
|
41
|
+
* @supported h5, harmony_hybrid
|
|
41
42
|
*/
|
|
42
43
|
nativeProps?: Record<string, unknown>
|
|
43
44
|
/** 默认图片地址,若设置默认图片地址,会先显示默认图片,等 src 对应的图片加载成功后,再渲染对应的图片。
|
|
@@ -66,11 +67,11 @@ interface ImageProps extends StandardProps {
|
|
|
66
67
|
*/
|
|
67
68
|
fadeIn?: boolean
|
|
68
69
|
/** 当错误发生时,发布到 AppService 的事件名,事件对象
|
|
69
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
70
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
70
71
|
*/
|
|
71
72
|
onError?: CommonEventFunction<ImageProps.onErrorEventDetail>
|
|
72
73
|
/** 当图片载入完毕时,发布到 AppService 的事件名,事件对象
|
|
73
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
74
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
74
75
|
*/
|
|
75
76
|
onLoad?: CommonEventFunction<ImageProps.onLoadEventDetail>
|
|
76
77
|
/** 点击图片时触发。
|
|
@@ -129,7 +130,7 @@ declare namespace ImageProps {
|
|
|
129
130
|
*
|
|
130
131
|
* **Note:** 为实现小程序的 `mode` 特性,在 H5 组件中使用一个 `div` 容器来对内部的 `img` 进行展示区域的裁剪,因此请勿使用元素选择器来重置 `img` 的样式!
|
|
131
132
|
* @classification media
|
|
132
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
133
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
133
134
|
* @example_react
|
|
134
135
|
* ```tsx
|
|
135
136
|
* export default class PageView extends Component {
|