@tarojs/components 3.6.22 → 3.6.23-nightly.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +14 -0
- package/dist/cjs/{index-e751dfe3.js → index-dbbe9dde.js} +3 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-components.cjs.js +2 -2
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-icon-core.cjs.entry.js +4 -1
- package/dist/cjs/taro-image-core.cjs.entry.js +2 -3
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +4 -4
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-navigator-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +3 -3
- package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
- package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-slider-core.cjs.entry.js +4 -1
- package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +23 -9865
- package/dist/cjs/taro-switch-core.cjs.entry.js +13 -12
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-tabbar.cjs.entry.js +13 -85
- package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-textarea-core.cjs.entry.js +12 -3
- package/dist/cjs/taro-video-control_3.cjs.entry.js +24 -4
- package/dist/cjs/taro-view-core.cjs.entry.js +2 -2
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
- package/dist/collection/components/audio/style/index.css +1 -4
- package/dist/collection/components/button/style/index.css +1 -160
- package/dist/collection/components/canvas/style/index.css +1 -6
- package/dist/collection/components/checkbox/style/index.css +1 -39
- package/dist/collection/components/cover-image/style/index.css +1 -5
- package/dist/collection/components/cover-view/style/cover-view.css +1 -3
- package/dist/collection/components/icon/icon.js +10 -0
- package/dist/collection/components/icon/style/index.css +1 -0
- package/dist/collection/components/image/image.js +0 -1
- 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/movable-area/area.css +1 -6
- package/dist/collection/components/movable-area/view.css +1 -8
- package/dist/collection/components/navigator/style/index.css +1 -3
- package/dist/collection/components/picker/style/index.css +1 -4
- package/dist/collection/components/picker-view/style/column.css +1 -12
- package/dist/collection/components/picker-view/style/index.css +1 -28
- package/dist/collection/components/progress/progress.js +10 -0
- package/dist/collection/components/progress/style/index.css +1 -0
- package/dist/collection/components/pull-to-refresh/style/index.css +1 -52
- package/dist/collection/components/rich-text/style/index.css +1 -16
- package/dist/collection/components/scroll-view/style/index.css +1 -17
- package/dist/collection/components/slider/slider.js +10 -0
- package/dist/collection/components/slider/style/index.css +1 -0
- package/dist/collection/components/swiper/style/index.css +2 -19
- package/dist/collection/components/swiper/swiper.js +4 -2
- package/dist/collection/components/switch/style/index.css +1 -10
- package/dist/collection/components/switch/switch.js +12 -12
- package/dist/collection/components/tabbar/style/index.css +1 -53
- package/dist/collection/components/tabbar/tabbar.js +1 -1
- package/dist/collection/components/text/style/index.css +1 -26
- package/dist/collection/components/textarea/style/index.css +1 -22
- package/dist/collection/components/textarea/textarea.js +11 -0
- package/dist/collection/components/video/style/index.css +1 -327
- package/dist/collection/components/view/style/index.css +1 -9
- package/dist/collection/components/web-view/style/index.css +1 -12
- package/dist/components/taro-audio-core.js +1 -1
- package/dist/components/taro-button-core.js +1 -1
- package/dist/components/taro-canvas-core.js +1 -1
- package/dist/components/taro-checkbox-core.js +1 -1
- package/dist/components/taro-cover-image-core.js +1 -1
- package/dist/components/taro-icon-core.js +3 -0
- package/dist/components/taro-image-core.js +1 -2
- package/dist/components/taro-input-core.js +1 -1
- package/dist/components/taro-movable-area-core.js +1 -1
- package/dist/components/taro-movable-view-core.js +1 -1
- package/dist/components/taro-picker-core.js +1 -1
- package/dist/components/taro-picker-view-column-core.js +1 -1
- package/dist/components/taro-picker-view-core.js +1 -1
- package/dist/components/taro-progress-core.js +3 -0
- package/dist/components/taro-pull-to-refresh-core.js +1 -1
- package/dist/components/taro-rich-text-core.js +1 -1
- package/dist/components/taro-scroll-view-core.js +1 -1
- package/dist/components/taro-slider-core.js +3 -0
- package/dist/components/taro-swiper-core.js +9 -9855
- package/dist/components/taro-switch-core.js +13 -13
- package/dist/components/taro-tabbar.js +3 -76
- 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 +2 -2
- package/dist/components/taro-view-core.js +1 -1
- package/dist/components/taro-web-view-core.js +1 -1
- package/dist/esm/{index-980f930f.js → index-486e187e.js} +3 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/taro-ad-core.entry.js +1 -1
- package/dist/esm/taro-ad-custom-core.entry.js +1 -1
- package/dist/esm/taro-animation-video-core.entry.js +1 -1
- package/dist/esm/taro-animation-view-core.entry.js +1 -1
- package/dist/esm/taro-ar-camera-core.entry.js +1 -1
- package/dist/esm/taro-audio-core.entry.js +2 -2
- package/dist/esm/taro-aweme-data-core.entry.js +1 -1
- package/dist/esm/taro-block-core.entry.js +1 -1
- package/dist/esm/taro-button-core.entry.js +2 -2
- package/dist/esm/taro-camera-core.entry.js +1 -1
- package/dist/esm/taro-canvas-core.entry.js +2 -2
- package/dist/esm/taro-channel-live-core.entry.js +1 -1
- package/dist/esm/taro-channel-video-core.entry.js +1 -1
- package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
- package/dist/esm/taro-comment-detail-core.entry.js +1 -1
- package/dist/esm/taro-comment-list-core.entry.js +1 -1
- package/dist/esm/taro-components.js +3 -3
- package/dist/esm/taro-contact-button-core.entry.js +1 -1
- package/dist/esm/taro-cover-image-core.entry.js +2 -2
- package/dist/esm/taro-cover-view-core.entry.js +1 -1
- package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
- package/dist/esm/taro-editor-core.entry.js +1 -1
- package/dist/esm/taro-follow-swan-core.entry.js +1 -1
- package/dist/esm/taro-form-core.entry.js +1 -1
- package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
- package/dist/esm/taro-grid-view-core.entry.js +1 -1
- package/dist/esm/taro-icon-core.entry.js +4 -1
- package/dist/esm/taro-image-core.entry.js +2 -3
- package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
- package/dist/esm/taro-input-core.entry.js +2 -2
- package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
- package/dist/esm/taro-label-core.entry.js +1 -1
- package/dist/esm/taro-lifestyle-core.entry.js +1 -1
- package/dist/esm/taro-like-core.entry.js +1 -1
- package/dist/esm/taro-list-view-core.entry.js +1 -1
- package/dist/esm/taro-live-player-core.entry.js +1 -1
- package/dist/esm/taro-live-pusher-core.entry.js +1 -1
- package/dist/esm/taro-login-core.entry.js +1 -1
- package/dist/esm/taro-lottie-core.entry.js +1 -1
- package/dist/esm/taro-map-core.entry.js +1 -1
- package/dist/esm/taro-match-media-core.entry.js +1 -1
- package/dist/esm/taro-movable-area-core_2.entry.js +4 -4
- package/dist/esm/taro-native-slot-core.entry.js +1 -1
- package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
- package/dist/esm/taro-navigator-core.entry.js +1 -1
- package/dist/esm/taro-official-account-core.entry.js +1 -1
- package/dist/esm/taro-open-data-core.entry.js +1 -1
- package/dist/esm/taro-page-container-core.entry.js +1 -1
- package/dist/esm/taro-page-meta-core.entry.js +1 -1
- package/dist/esm/taro-picker-core_2.entry.js +2 -2
- package/dist/esm/taro-picker-view-column-core_2.entry.js +3 -3
- package/dist/esm/taro-progress-core.entry.js +4 -1
- package/dist/esm/taro-pull-to-refresh-core.entry.js +2 -2
- package/dist/esm/taro-radio-core_2.entry.js +1 -1
- package/dist/esm/taro-rich-text-core.entry.js +2 -2
- package/dist/esm/taro-root-portal-core.entry.js +1 -1
- package/dist/esm/taro-rtc-room-core.entry.js +1 -1
- package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
- package/dist/esm/taro-scroll-view-core.entry.js +2 -2
- package/dist/esm/taro-share-element-core.entry.js +1 -1
- package/dist/esm/taro-slider-core.entry.js +4 -1
- package/dist/esm/taro-slot-core.entry.js +1 -1
- package/dist/esm/taro-snapshot-core.entry.js +1 -1
- package/dist/esm/taro-sticky-header-core.entry.js +1 -1
- package/dist/esm/taro-sticky-section-core.entry.js +1 -1
- package/dist/esm/taro-swiper-core_2.entry.js +8 -9854
- package/dist/esm/taro-switch-core.entry.js +13 -12
- package/dist/esm/taro-tab-item-core.entry.js +1 -1
- package/dist/esm/taro-tabbar.entry.js +4 -77
- package/dist/esm/taro-tabs-core.entry.js +1 -1
- package/dist/esm/taro-text-core.entry.js +2 -2
- package/dist/esm/taro-textarea-core.entry.js +12 -3
- package/dist/esm/taro-video-control_3.entry.js +3 -3
- package/dist/esm/taro-view-core.entry.js +2 -2
- package/dist/esm/taro-voip-room-core.entry.js +1 -1
- package/dist/esm/taro-web-view-core.entry.js +2 -2
- package/dist/esm-es5/index-486e187e.js +2 -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-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-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-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-official-account-core.entry.js +1 -1
- package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
- package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
- package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-progress-core.entry.js +1 -1
- package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -1
- package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
- package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
- package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
- package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
- package/dist/esm-es5/taro-slider-core.entry.js +1 -1
- package/dist/esm-es5/taro-slot-core.entry.js +1 -1
- package/dist/esm-es5/taro-snapshot-core.entry.js +1 -1
- package/dist/esm-es5/taro-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/taro-components/{p-ebc7b6fc.entry.js → p-00d05751.entry.js} +1 -1
- package/dist/taro-components/p-014534ca.system.entry.js +1 -0
- package/dist/taro-components/p-015b3025.system.entry.js +1 -0
- package/dist/taro-components/{p-0d7a705b.system.entry.js → p-02dd30fa.system.entry.js} +1 -1
- package/dist/taro-components/{p-9e03bc7a.system.entry.js → p-040f15f2.system.entry.js} +1 -1
- package/dist/taro-components/p-06cf6b18.system.entry.js +1 -0
- package/dist/taro-components/{p-a74c970c.system.entry.js → p-07e94301.system.entry.js} +1 -1
- package/dist/taro-components/{p-5e91398a.system.entry.js → p-0cf04b3d.system.entry.js} +1 -1
- package/dist/taro-components/p-0e3d8ada.entry.js +1 -0
- package/dist/taro-components/p-101f49dd.entry.js +1 -0
- package/dist/taro-components/p-10d3c795.system.entry.js +1 -0
- package/dist/taro-components/{p-7e8e355b.system.entry.js → p-114f89d6.system.entry.js} +1 -1
- package/dist/taro-components/p-1182efdd.system.entry.js +1 -0
- package/dist/taro-components/{p-2da9c8fd.entry.js → p-128f9eb0.entry.js} +1 -1
- package/dist/taro-components/p-16954dd6.entry.js +1 -0
- package/dist/taro-components/{p-208e438c.system.entry.js → p-1b42ba7e.system.entry.js} +1 -1
- package/dist/taro-components/{p-e598f47b.entry.js → p-1ced140d.entry.js} +1 -1
- package/dist/taro-components/{p-fbb2446e.entry.js → p-1d25f4e3.entry.js} +1 -1
- package/dist/taro-components/{p-fd7ff0f3.system.entry.js → p-1e3d7899.system.entry.js} +1 -1
- package/dist/taro-components/{p-de96861c.system.entry.js → p-1ee83d63.system.entry.js} +1 -1
- package/dist/taro-components/p-2059cbc0.system.entry.js +1 -0
- package/dist/taro-components/{p-15624788.system.entry.js → p-205a0692.system.entry.js} +1 -1
- package/dist/taro-components/p-25bbf4aa.system.entry.js +1 -0
- package/dist/taro-components/{p-b07cd197.system.entry.js → p-26545e4e.system.entry.js} +1 -1
- package/dist/taro-components/p-28bf8423.system.entry.js +1 -0
- package/dist/taro-components/{p-3004e71a.system.entry.js → p-290fd78b.system.entry.js} +1 -1
- package/dist/taro-components/p-2bbdbe9c.system.entry.js +1 -0
- package/dist/taro-components/{p-a4951dd6.entry.js → p-2d6d4850.entry.js} +1 -1
- package/dist/taro-components/{p-9fe49bab.entry.js → p-2dea35fd.entry.js} +1 -1
- package/dist/taro-components/p-2f403f7f.entry.js +1 -0
- package/dist/taro-components/{p-a2d590ad.entry.js → p-2f683899.entry.js} +1 -1
- package/dist/taro-components/p-30623371.entry.js +1 -0
- package/dist/taro-components/{p-a2141e85.system.entry.js → p-34933f34.system.entry.js} +1 -1
- package/dist/taro-components/{p-92d04741.system.entry.js → p-352b6b6b.system.entry.js} +1 -1
- package/dist/taro-components/p-35cca0f9.entry.js +1 -0
- package/dist/taro-components/p-35e96af8.system.entry.js +1 -0
- package/dist/taro-components/{p-f78823a1.entry.js → p-37593ce7.entry.js} +1 -1
- package/dist/taro-components/p-387f300a.entry.js +1 -0
- package/dist/taro-components/p-3afbae36.entry.js +1 -0
- package/dist/taro-components/p-3bd04d38.entry.js +1 -0
- package/dist/taro-components/{p-21c07cb3.system.entry.js → p-3ca9aa19.system.entry.js} +1 -1
- package/dist/taro-components/{p-ce303d12.system.entry.js → p-3d76b46e.system.entry.js} +1 -1
- package/dist/taro-components/p-3dadbe4c.system.entry.js +1 -0
- package/dist/taro-components/{p-ef322936.entry.js → p-3e9bf572.entry.js} +1 -1
- package/dist/taro-components/{p-8ccaf5e8.entry.js → p-445810cb.entry.js} +1 -1
- package/dist/taro-components/p-449f60fa.entry.js +1 -0
- package/dist/taro-components/p-46661961.entry.js +1 -0
- package/dist/taro-components/{p-124ac21f.entry.js → p-48e5ddaa.entry.js} +1 -1
- package/dist/taro-components/{p-43720011.entry.js → p-4928ee37.entry.js} +1 -1
- package/dist/taro-components/{p-84958ace.entry.js → p-4cbd26dd.entry.js} +1 -1
- package/dist/taro-components/p-4e4ac1fe.system.entry.js +1 -0
- package/dist/taro-components/{p-d2e0b15c.entry.js → p-4e4cc6ab.entry.js} +1 -1
- package/dist/taro-components/{p-fac4ce6f.system.entry.js → p-50e1ba06.system.entry.js} +1 -1
- package/dist/taro-components/{p-a6e2dd48.entry.js → p-510a69b3.entry.js} +1 -1
- package/dist/taro-components/p-5307637c.system.entry.js +1 -0
- package/dist/taro-components/{p-5870248f.system.entry.js → p-54941baf.system.entry.js} +1 -1
- package/dist/taro-components/{p-0e3b37e9.entry.js → p-55be4215.entry.js} +1 -1
- package/dist/taro-components/{p-c913b635.system.entry.js → p-578f19ea.system.entry.js} +1 -1
- package/dist/taro-components/{p-a90221ab.system.entry.js → p-581e844d.system.entry.js} +1 -1
- package/dist/taro-components/p-5a1bb2d3.system.entry.js +1 -0
- package/dist/taro-components/{p-1cf16dfa.entry.js → p-5bb60b5e.entry.js} +1 -1
- package/dist/taro-components/p-600d9210.entry.js +1 -0
- package/dist/taro-components/p-6066e633.entry.js +1 -0
- package/dist/taro-components/p-61cb688a.entry.js +1 -0
- package/dist/taro-components/{p-5994d9f2.system.entry.js → p-6229bb7d.system.entry.js} +1 -1
- package/dist/taro-components/p-64f5abce.entry.js +1 -0
- package/dist/taro-components/p-67ff5a50.system.entry.js +1 -0
- package/dist/taro-components/p-69e747dc.entry.js +1 -0
- package/dist/taro-components/{p-7e6b54cb.system.js → p-6bbb639a.system.js} +2 -2
- package/dist/taro-components/p-6cf765b7.system.entry.js +1 -0
- package/dist/taro-components/{p-f2c86846.entry.js → p-6e9d509a.entry.js} +1 -1
- package/dist/taro-components/p-6f027b85.entry.js +1 -0
- package/dist/taro-components/p-72b954ce.system.entry.js +1 -0
- package/dist/taro-components/p-74129eac.entry.js +1 -0
- package/dist/taro-components/{p-473afc8e.system.entry.js → p-74b1be20.system.entry.js} +1 -1
- package/dist/taro-components/{p-58cc2e6d.system.entry.js → p-758e3319.system.entry.js} +1 -1
- package/dist/taro-components/{p-b5b30493.system.entry.js → p-75b927b4.system.entry.js} +1 -1
- package/dist/taro-components/p-764cd497.entry.js +1 -0
- package/dist/taro-components/p-7b6f6526.system.entry.js +1 -0
- package/dist/taro-components/p-7bd1345f.entry.js +1 -0
- package/dist/taro-components/{p-be96eb59.system.entry.js → p-7cecf08e.system.entry.js} +1 -1
- package/dist/taro-components/{p-6cde54e5.system.entry.js → p-7f084a29.system.entry.js} +1 -1
- package/dist/taro-components/{p-600e89cc.system.entry.js → p-80106cc2.system.entry.js} +1 -1
- package/dist/taro-components/{p-76996fcb.entry.js → p-80278124.entry.js} +1 -1
- package/dist/taro-components/p-83699a53.entry.js +1 -0
- package/dist/taro-components/{p-38ee526a.entry.js → p-846aa5ec.entry.js} +1 -1
- package/dist/taro-components/{p-e740320c.entry.js → p-861834ce.entry.js} +1 -1
- package/dist/taro-components/{p-d1756770.entry.js → p-870e0d9d.entry.js} +1 -1
- package/dist/taro-components/{p-69c43a81.entry.js → p-87422c88.entry.js} +1 -1
- package/dist/taro-components/p-88c5f0eb.system.entry.js +1 -0
- package/dist/taro-components/{p-22bf7daf.entry.js → p-8b70fd1d.entry.js} +1 -1
- package/dist/taro-components/{p-0e8199b7.entry.js → p-8d437a7f.entry.js} +1 -1
- package/dist/taro-components/{p-519fbe84.system.entry.js → p-8df92f90.system.entry.js} +1 -1
- package/dist/taro-components/p-8e45a207.system.entry.js +1 -0
- package/dist/taro-components/p-92daad3f.system.entry.js +1 -0
- package/dist/taro-components/{p-7726b789.system.entry.js → p-940d41e9.system.entry.js} +1 -1
- package/dist/taro-components/{p-78e4805e.entry.js → p-95058ee1.entry.js} +1 -1
- package/dist/taro-components/p-95e88e0f.entry.js +1 -0
- package/dist/taro-components/{p-b1d2b575.system.entry.js → p-9623f19c.system.entry.js} +1 -1
- package/dist/taro-components/p-96d3e67b.system.entry.js +1 -0
- package/dist/taro-components/{p-0ec2e88a.entry.js → p-970623a1.entry.js} +1 -1
- package/dist/taro-components/{p-24d9836e.entry.js → p-9890bb7b.entry.js} +1 -1
- package/dist/taro-components/{p-9137dcab.js → p-98b1fc13.js} +2 -2
- package/dist/taro-components/{p-8d990f1c.system.entry.js → p-9937cf08.system.entry.js} +1 -1
- package/dist/taro-components/p-9a5bfa2a.system.entry.js +1 -0
- package/dist/taro-components/{p-bc541cd8.entry.js → p-9b4e5578.entry.js} +1 -1
- package/dist/taro-components/{p-065a10d7.entry.js → p-9e138188.entry.js} +1 -1
- package/dist/taro-components/p-a197cbae.system.entry.js +1 -0
- package/dist/taro-components/p-a2a70581.system.entry.js +1 -0
- package/dist/taro-components/p-a61e195b.entry.js +1 -0
- package/dist/taro-components/p-a972aa1d.system.js +1 -0
- package/dist/taro-components/p-ae128150.entry.js +1 -0
- package/dist/taro-components/p-b04cdd9a.system.entry.js +1 -0
- package/dist/taro-components/p-b259b4ba.system.entry.js +1 -0
- package/dist/taro-components/{p-f2235cbb.entry.js → p-b317674b.entry.js} +1 -1
- package/dist/taro-components/p-b3b57aab.entry.js +1 -0
- package/dist/taro-components/p-b6694eb3.system.entry.js +1 -0
- package/dist/taro-components/p-b8858af9.system.entry.js +1 -0
- package/dist/taro-components/{p-da3db323.entry.js → p-b8e2465a.entry.js} +1 -1
- package/dist/taro-components/{p-c99e14b5.entry.js → p-b9f19e77.entry.js} +1 -1
- package/dist/taro-components/{p-bf0e0394.entry.js → p-ba195b39.entry.js} +1 -1
- package/dist/taro-components/{p-1b789738.system.entry.js → p-ba50342b.system.entry.js} +1 -1
- package/dist/taro-components/{p-0fa96970.entry.js → p-bb712e32.entry.js} +1 -1
- package/dist/taro-components/p-bb87373d.entry.js +1 -0
- package/dist/taro-components/{p-9ea4f297.entry.js → p-bba220a9.entry.js} +1 -1
- package/dist/taro-components/{p-f420680c.system.entry.js → p-bcf5d78a.system.entry.js} +1 -1
- package/dist/taro-components/p-bdd7b5a9.entry.js +1 -0
- package/dist/taro-components/p-bdee068b.system.entry.js +1 -0
- package/dist/taro-components/p-bf0d2c21.system.entry.js +1 -0
- package/dist/taro-components/{p-aa04f605.entry.js → p-c0f710ae.entry.js} +1 -1
- package/dist/taro-components/p-c11fcb25.system.entry.js +1 -0
- package/dist/taro-components/p-cbc19d63.entry.js +1 -0
- package/dist/taro-components/p-d03136d7.system.entry.js +1 -0
- package/dist/taro-components/p-d36f8c4f.entry.js +1 -0
- package/dist/taro-components/p-d60b66c2.entry.js +1 -0
- package/dist/taro-components/p-d78ab2de.system.entry.js +1 -0
- package/dist/taro-components/{p-36d4407e.system.entry.js → p-dbb47d14.system.entry.js} +1 -1
- package/dist/taro-components/p-dc6db06e.system.entry.js +1 -0
- package/dist/taro-components/{p-f1304456.entry.js → p-dc98486d.entry.js} +1 -1
- package/dist/taro-components/p-dca5e9ee.entry.js +1 -0
- package/dist/taro-components/{p-c1a3fecf.system.entry.js → p-de3e1cee.system.entry.js} +1 -1
- package/dist/taro-components/p-e09e8b51.system.entry.js +1 -0
- package/dist/taro-components/{p-8ca82a56.entry.js → p-e1c2e636.entry.js} +1 -1
- package/dist/taro-components/{p-30805bdf.entry.js → p-e25c2a22.entry.js} +1 -1
- package/dist/taro-components/{p-b641e598.entry.js → p-e26c787b.entry.js} +1 -1
- package/dist/taro-components/p-e457a83a.system.entry.js +1 -0
- package/dist/taro-components/{p-29638de3.entry.js → p-e7d82e00.entry.js} +1 -1
- package/dist/taro-components/{p-9d76d7a9.system.entry.js → p-ebf38559.system.entry.js} +1 -1
- package/dist/taro-components/p-eeb6aeb5.system.entry.js +1 -0
- package/dist/taro-components/p-ef0aff29.entry.js +1 -0
- package/dist/taro-components/p-f554428f.system.entry.js +1 -0
- package/dist/taro-components/p-fd1d75db.entry.js +1 -0
- package/dist/taro-components/{p-ccc64042.system.entry.js → p-ff7dfc5c.system.entry.js} +1 -1
- 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/switch/switch.d.ts +3 -3
- package/dist/types/components/tabbar/tabbar.d.ts +1 -1
- package/dist/types/components/textarea/textarea.d.ts +1 -0
- 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.js +1 -1
- package/lib/react/react-component-lib/utils/attachProps.d.ts +16 -7
- package/lib/react/react-component-lib/utils/attachProps.js +85 -9
- package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/lib/react/react-component-lib/utils/index.js +1 -1
- package/package.json +10 -9
- package/types/Audio.d.ts +11 -11
- package/types/Button.d.ts +9 -9
- package/types/Canvas.d.ts +11 -11
- package/types/Checkbox.d.ts +8 -12
- 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/Form.d.ts +4 -4
- package/types/Icon.d.ts +4 -4
- package/types/Image.d.ts +8 -8
- package/types/Input.d.ts +19 -18
- package/types/Label.d.ts +2 -2
- package/types/Map.d.ts +0 -2
- package/types/MovableArea.d.ts +2 -2
- package/types/MovableView.d.ts +18 -18
- package/types/NativeSlot.d.ts +1 -1
- package/types/Navigator.d.ts +8 -8
- package/types/Picker.d.ts +39 -27
- package/types/PickerView.d.ts +2 -1
- package/types/PickerViewColumn.d.ts +1 -1
- package/types/Progress.d.ts +13 -13
- package/types/Radio.d.ts +7 -11
- package/types/RadioGroup.d.ts +2 -2
- package/types/RichText.d.ts +5 -5
- package/types/ScrollView.d.ts +13 -13
- package/types/ShareElement.d.ts +1 -0
- package/types/Slider.d.ts +15 -14
- package/types/Slot.d.ts +1 -1
- package/types/Swiper.d.ts +18 -18
- package/types/SwiperItem.d.ts +2 -2
- package/types/Switch.d.ts +9 -8
- package/types/Text.d.ts +4 -4
- package/types/Textarea.d.ts +15 -14
- package/types/Video.d.ts +30 -30
- package/types/View.d.ts +4 -4
- package/types/WebView.d.ts +4 -4
- 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/hls-4018c7ea.js +0 -25671
- package/dist/esm/intersection-observer-8e4c7135.js +0 -726
- package/dist/esm-es5/hls-4018c7ea.js +0 -1
- package/dist/esm-es5/index-980f930f.js +0 -2
- package/dist/esm-es5/intersection-observer-8e4c7135.js +0 -1
- package/dist/taro-components/p-00ed4bbb.entry.js +0 -1
- package/dist/taro-components/p-01e163f8.system.entry.js +0 -1
- package/dist/taro-components/p-044adaab.system.entry.js +0 -1
- package/dist/taro-components/p-06671eee.entry.js +0 -1
- package/dist/taro-components/p-085076c5.system.entry.js +0 -1
- package/dist/taro-components/p-08b7ecd7.system.entry.js +0 -1
- package/dist/taro-components/p-0a250d71.system.entry.js +0 -1
- package/dist/taro-components/p-0cedad18.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-1e739fcb.system.entry.js +0 -1
- package/dist/taro-components/p-1f118969.system.entry.js +0 -1
- package/dist/taro-components/p-2a071adf.system.entry.js +0 -1
- package/dist/taro-components/p-32e9981a.system.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-3f3abe55.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-4cedbe5e.system.entry.js +0 -1
- package/dist/taro-components/p-4fc40739.entry.js +0 -1
- package/dist/taro-components/p-5756cf00.system.entry.js +0 -1
- package/dist/taro-components/p-5e4dc8e0.entry.js +0 -1
- package/dist/taro-components/p-5ebc7010.system.entry.js +0 -1
- package/dist/taro-components/p-64eb91f7.entry.js +0 -1
- package/dist/taro-components/p-657cb6e4.system.entry.js +0 -1
- package/dist/taro-components/p-6aa2ac6a.system.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-7b68dee8.entry.js +0 -1
- package/dist/taro-components/p-7bfc5f3d.entry.js +0 -1
- package/dist/taro-components/p-862b38b9.entry.js +0 -1
- package/dist/taro-components/p-962f28cb.entry.js +0 -1
- package/dist/taro-components/p-99e16df8.entry.js +0 -1
- package/dist/taro-components/p-9a5fbb2e.entry.js +0 -1
- package/dist/taro-components/p-9b0298bf.entry.js +0 -1
- package/dist/taro-components/p-9dcba4a7.system.entry.js +0 -1
- package/dist/taro-components/p-9edea30f.system.entry.js +0 -1
- package/dist/taro-components/p-9eeba192.entry.js +0 -1
- package/dist/taro-components/p-9feff958.system.entry.js +0 -1
- package/dist/taro-components/p-a1763153.entry.js +0 -1
- package/dist/taro-components/p-a20fed0a.entry.js +0 -1
- package/dist/taro-components/p-a5a51112.entry.js +0 -1
- package/dist/taro-components/p-a7d31b01.system.entry.js +0 -1
- package/dist/taro-components/p-a940a65b.entry.js +0 -1
- package/dist/taro-components/p-a94e3347.system.entry.js +0 -1
- package/dist/taro-components/p-ad9b04e0.entry.js +0 -1
- package/dist/taro-components/p-b0fc8752.entry.js +0 -1
- package/dist/taro-components/p-b201ff38.entry.js +0 -1
- package/dist/taro-components/p-bd4ed8b1.entry.js +0 -1
- package/dist/taro-components/p-bf0c8449.system.entry.js +0 -1
- package/dist/taro-components/p-c0080d83.entry.js +0 -1
- package/dist/taro-components/p-cb406f85.system.entry.js +0 -1
- package/dist/taro-components/p-cbcaad0e.system.entry.js +0 -1
- package/dist/taro-components/p-d025a415.system.entry.js +0 -1
- package/dist/taro-components/p-d550aea9.system.entry.js +0 -1
- package/dist/taro-components/p-d867e333.system.entry.js +0 -1
- package/dist/taro-components/p-d9dcc6c6.entry.js +0 -1
- package/dist/taro-components/p-dab28e1f.system.entry.js +0 -1
- package/dist/taro-components/p-dadd02ca.entry.js +0 -1
- package/dist/taro-components/p-dc5d65a0.system.entry.js +0 -1
- package/dist/taro-components/p-e09451c5.system.entry.js +0 -1
- package/dist/taro-components/p-e2cd5dd3.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-e976c6c9.system.entry.js +0 -1
- package/dist/taro-components/p-ea0d5d4f.system.entry.js +0 -1
- package/dist/taro-components/p-ed331c06.system.js +0 -1
- package/dist/taro-components/p-eee6e075.system.entry.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-f23cfdc8.entry.js +0 -1
- package/dist/taro-components/p-f4d86882.entry.js +0 -1
- package/dist/taro-components/p-f533bc2f.entry.js +0 -1
- package/dist/taro-components/p-f658de2e.entry.js +0 -1
- package/dist/taro-components/p-f6f6a996.system.entry.js +0 -1
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js +0 -296
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js.map +0 -1
package/types/Map.d.ts
CHANGED
|
@@ -637,7 +637,6 @@ declare namespace MapProps {
|
|
|
637
637
|
longitude: number
|
|
638
638
|
latitude: number
|
|
639
639
|
}
|
|
640
|
-
|
|
641
640
|
interface onPolylineTapEventDetail {
|
|
642
641
|
polylineId: number
|
|
643
642
|
longitude: number
|
|
@@ -648,7 +647,6 @@ declare namespace MapProps {
|
|
|
648
647
|
errCode: number
|
|
649
648
|
errMsg: string
|
|
650
649
|
}
|
|
651
|
-
|
|
652
650
|
interface onInterpolatePointEventDetail {
|
|
653
651
|
markerId: number
|
|
654
652
|
longitude: number
|
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
|
@@ -12,7 +12,7 @@ interface NativeSlotProps extends StandardProps {
|
|
|
12
12
|
|
|
13
13
|
/** 编译的原生组件支持使用 slot 插槽
|
|
14
14
|
* @classification viewContainer
|
|
15
|
-
* @supported weapp, swan, alipay, tt, jd, qq, h5
|
|
15
|
+
* @supported weapp, swan, alipay, tt, jd, qq, h5, harmony_hybrid
|
|
16
16
|
* @version 3.5.7+
|
|
17
17
|
* @example
|
|
18
18
|
* ```tsx
|
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, harmony, h5
|
|
114
|
+
* @supported weapp, alipay, swan, tt, qq, jd, harmony, 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>
|
package/types/Picker.d.ts
CHANGED
|
@@ -6,18 +6,18 @@ interface PickerStandardProps extends StandardProps, FormItemProps {
|
|
|
6
6
|
/**
|
|
7
7
|
* 选择器类型,默认是普通选择器
|
|
8
8
|
* @default "selector"
|
|
9
|
-
* @supported weapp, h5, rn
|
|
9
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
10
10
|
*/
|
|
11
11
|
mode?: keyof PickerStandardProps.Mode
|
|
12
12
|
/**
|
|
13
13
|
* 是否禁用
|
|
14
14
|
* @default false
|
|
15
|
-
* @supported weapp, h5, rn
|
|
15
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
16
16
|
*/
|
|
17
17
|
disabled?: boolean
|
|
18
18
|
/**
|
|
19
19
|
* 取消选择或点遮罩层收起 picker 时触发
|
|
20
|
-
* @supported weapp, h5, rn
|
|
20
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
21
21
|
*/
|
|
22
22
|
onCancel?: CommonEventFunction
|
|
23
23
|
}
|
|
@@ -46,23 +46,23 @@ interface PickerSelectorProps extends PickerStandardProps {
|
|
|
46
46
|
mode?: 'selector'
|
|
47
47
|
/**
|
|
48
48
|
* mode为 selector 或 multiSelector 时,range 有效
|
|
49
|
-
* @supported weapp, h5, rn
|
|
49
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
50
50
|
* @default []
|
|
51
51
|
*/
|
|
52
52
|
range: string[] | number[] | Record<string, any>[]
|
|
53
53
|
/**
|
|
54
54
|
* 当 range 是一个 Object Array 时,通过 rangeKey 来指定 Object 中 key 的值作为选择器显示内容
|
|
55
|
-
* @supported weapp, h5, rn
|
|
55
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
56
56
|
*/
|
|
57
57
|
rangeKey?: string
|
|
58
58
|
/**
|
|
59
59
|
* 表示选择了 range 中的第几个(下标从 0 开始)
|
|
60
|
-
* @supported weapp, h5, rn
|
|
60
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
61
61
|
* @default 0
|
|
62
62
|
*/
|
|
63
63
|
value?: number
|
|
64
64
|
/** 设置 React 非受控状态下的初始取值
|
|
65
|
-
* @supported weapp, h5, rn
|
|
65
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
66
66
|
*/
|
|
67
67
|
defaultValue?: number
|
|
68
68
|
/**
|
|
@@ -79,12 +79,12 @@ interface PickerSelectorProps extends PickerStandardProps {
|
|
|
79
79
|
indicatorStyle?: StyleProp<ViewStyle>
|
|
80
80
|
/**
|
|
81
81
|
* value 改变时触发 change 事件
|
|
82
|
-
* @supported weapp, h5, rn
|
|
82
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
83
83
|
*/
|
|
84
84
|
onChange?: CommonEventFunction<PickerSelectorProps.ChangeEventDetail>
|
|
85
85
|
/**
|
|
86
86
|
* 用于替换组件内部文本
|
|
87
|
-
* @supported h5
|
|
87
|
+
* @supported h5, harmony_hybrid
|
|
88
88
|
*/
|
|
89
89
|
textProps?: PickerStandardProps.PickerText
|
|
90
90
|
}
|
|
@@ -100,18 +100,18 @@ interface PickerMultiSelectorProps extends PickerStandardProps {
|
|
|
100
100
|
mode: 'multiSelector'
|
|
101
101
|
/**
|
|
102
102
|
* mode为 selector 或 multiSelector 时,range 有效
|
|
103
|
-
* @supported weapp, h5, rn
|
|
103
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
104
104
|
* @default []
|
|
105
105
|
*/
|
|
106
106
|
range: Array<string[]> | Array<number[]> | Array<Record<string, any>[]>
|
|
107
107
|
/**
|
|
108
108
|
* 当 range 是一个 Object Array 时,通过 rangeKey 来指定 Object 中 key 的值作为选择器显示内容
|
|
109
|
-
* @supported weapp, h5, rn
|
|
109
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
110
110
|
*/
|
|
111
111
|
rangeKey?: string
|
|
112
112
|
/**
|
|
113
113
|
* 表示选择了 range 中的第几个(下标从 0 开始)
|
|
114
|
-
* @supported weapp, h5, rn
|
|
114
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
115
115
|
* @default []
|
|
116
116
|
*/
|
|
117
117
|
value: number[] | string[] | Record<string, any>[]
|
|
@@ -129,12 +129,12 @@ interface PickerMultiSelectorProps extends PickerStandardProps {
|
|
|
129
129
|
indicatorStyle?: StyleProp<ViewStyle>
|
|
130
130
|
/**
|
|
131
131
|
* 当 value 改变时触发 change 事件
|
|
132
|
-
* @supported weapp, h5, rn
|
|
132
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
133
133
|
*/
|
|
134
134
|
onChange: CommonEventFunction<PickerMultiSelectorProps.ChangeEventDetail>
|
|
135
135
|
/**
|
|
136
136
|
* 列改变时触发
|
|
137
|
-
* @supported weapp, h5, rn
|
|
137
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
138
138
|
*/
|
|
139
139
|
onColumnChange?: CommonEventFunction<PickerMultiSelectorProps.ColumnChangeEventDetail>
|
|
140
140
|
}
|
|
@@ -156,22 +156,26 @@ interface PickerTimeProps extends PickerStandardProps {
|
|
|
156
156
|
mode: 'time'
|
|
157
157
|
/**
|
|
158
158
|
* value 的值表示选择了 range 中的第几个(下标从 0 开始)
|
|
159
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
160
|
+
*/
|
|
161
|
+
value?: string
|
|
162
|
+
/** 设置 React 非受控状态下的初始取值
|
|
159
163
|
* @supported weapp, h5, rn
|
|
160
164
|
*/
|
|
161
|
-
|
|
165
|
+
defaultValue?: string
|
|
162
166
|
/**
|
|
163
167
|
* 仅当 mode 为 "time" 或 "date" 时有效,表示有效时间范围的开始,字符串格式为"hh:mm"
|
|
164
|
-
* @supported weapp, h5, rn
|
|
168
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
165
169
|
*/
|
|
166
170
|
start?: string
|
|
167
171
|
/**
|
|
168
172
|
* 仅当 mode 为 "time" 或 "date" 时有效,表示有效时间范围的结束,字符串格式为"hh:mm"
|
|
169
|
-
* @supported weapp, h5, rn
|
|
173
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
170
174
|
*/
|
|
171
175
|
end?: string
|
|
172
176
|
/**
|
|
173
177
|
* value 改变时触发 change 事件
|
|
174
|
-
* @supported weapp, h5, rn
|
|
178
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
175
179
|
*/
|
|
176
180
|
onChange: CommonEventFunction<PickerTimeProps.ChangeEventDetail>
|
|
177
181
|
}
|
|
@@ -187,29 +191,33 @@ interface PickerDateProps extends PickerStandardProps {
|
|
|
187
191
|
mode: 'date'
|
|
188
192
|
/**
|
|
189
193
|
* 表示选中的日期,格式为"YYYY-MM-DD"
|
|
190
|
-
* @supported weapp, h5, rn
|
|
194
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
191
195
|
* @default 0
|
|
192
196
|
*/
|
|
193
197
|
value: string
|
|
198
|
+
/** 设置 React 非受控状态下的初始取值
|
|
199
|
+
* @supported weapp, h5, rn
|
|
200
|
+
*/
|
|
201
|
+
defaultValue?: string
|
|
194
202
|
/**
|
|
195
203
|
* 仅当 mode 为 "time" 或 "date" 时有效,表示有效时间范围的开始,字符串格式为"YYYY-MM-DD"
|
|
196
|
-
* @supported weapp, h5, rn
|
|
204
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
197
205
|
*/
|
|
198
206
|
start?: string
|
|
199
207
|
/**
|
|
200
208
|
* 仅当 mode 为 "time" 或 "date" 时有效,表示有效时间范围的结束,字符串格式为"YYYY-MM-DD"
|
|
201
|
-
* @supported weapp, h5, rn
|
|
209
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
202
210
|
*/
|
|
203
211
|
end?: string
|
|
204
212
|
/**
|
|
205
213
|
* 有效值 year, month, day,表示选择器的粒度
|
|
206
|
-
* @supported weapp, h5, rn
|
|
214
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
207
215
|
* @default "day"
|
|
208
216
|
*/
|
|
209
217
|
fields?: keyof PickerDateProps.Fields
|
|
210
218
|
/**
|
|
211
219
|
* value 改变时触发 change 事件
|
|
212
|
-
* @supported weapp, h5, rn
|
|
220
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
213
221
|
*/
|
|
214
222
|
onChange: CommonEventFunction<PickerDateProps.ChangeEventDetail>
|
|
215
223
|
}
|
|
@@ -233,13 +241,17 @@ interface PickerRegionProps extends PickerStandardProps {
|
|
|
233
241
|
mode: 'region'
|
|
234
242
|
/**
|
|
235
243
|
* 表示选中的省市区,默认选中每一列的第一个值
|
|
236
|
-
* @supported weapp, h5, rn
|
|
244
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
237
245
|
* @default []
|
|
238
246
|
*/
|
|
239
247
|
value?: string[]
|
|
248
|
+
/** 设置 React 非受控状态下的初始取值
|
|
249
|
+
* @supported weapp, h5, rn
|
|
250
|
+
*/
|
|
251
|
+
defaultValue?: string[]
|
|
240
252
|
/**
|
|
241
253
|
* 可为每一列的顶部添加一个自定义的项
|
|
242
|
-
* @supported weapp, h5, rn
|
|
254
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
243
255
|
*/
|
|
244
256
|
customItem?: string
|
|
245
257
|
/**
|
|
@@ -255,7 +267,7 @@ interface PickerRegionProps extends PickerStandardProps {
|
|
|
255
267
|
regionData?: PickerRegionProps.RegionData[]
|
|
256
268
|
/**
|
|
257
269
|
* value 改变时触发 change 事件
|
|
258
|
-
* @supported weapp, h5, rn
|
|
270
|
+
* @supported weapp, h5, rn, harmony_hybrid
|
|
259
271
|
*/
|
|
260
272
|
onChange: CommonEventFunction<PickerRegionProps.ChangeEventDetail>
|
|
261
273
|
}
|
|
@@ -287,7 +299,7 @@ declare namespace PickerRegionProps {
|
|
|
287
299
|
/**
|
|
288
300
|
* 从底部弹起的滚动选择器
|
|
289
301
|
* @classification forms
|
|
290
|
-
* @supported weapp, swan, alipay, tt, h5, rn, harmony
|
|
302
|
+
* @supported weapp, swan, alipay, tt, h5, rn, harmony, harmony_hybrid
|
|
291
303
|
* @example_react
|
|
292
304
|
* ```tsx
|
|
293
305
|
* export default class PagePicker extends Component {
|
package/types/PickerView.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ interface PickerViewProps extends StandardProps {
|
|
|
7
7
|
value?: number[]
|
|
8
8
|
/** 设置 React 非受控状态下的初始取值
|
|
9
9
|
* @supported weapp, alipay, swan, tt, qq, jd, rn
|
|
10
|
+
* @unique
|
|
10
11
|
*/
|
|
11
12
|
defaultValue?: number[]
|
|
12
13
|
/** 设置选择器中间选中框的样式
|
|
@@ -59,7 +60,7 @@ declare namespace PickerViewProps {
|
|
|
59
60
|
/** 嵌入页面的滚动选择器
|
|
60
61
|
* 其中只可放置 picker-view-column 组件,其它节点不会显示
|
|
61
62
|
* @classification forms
|
|
62
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
63
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
63
64
|
* @example_react
|
|
64
65
|
* ```tsx
|
|
65
66
|
* export default class Picks extends Component {
|
|
@@ -5,7 +5,7 @@ type PickerViewColumnProps = StandardProps
|
|
|
5
5
|
/** 滚动选择器子项
|
|
6
6
|
* 仅可放置于 `<PickerView />` 中,其孩子节点的高度会自动设置成与 picker-view 的选中框的高度一致
|
|
7
7
|
* @classification forms
|
|
8
|
-
* @supported weapp, swan, alipay, tt, h5, rn, harmony
|
|
8
|
+
* @supported weapp, swan, alipay, tt, h5, rn, harmony, harmony_hybrid
|
|
9
9
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/picker-view-column.html
|
|
10
10
|
*/
|
|
11
11
|
declare const PickerViewColumn: ComponentType<StandardProps>
|
package/types/Progress.d.ts
CHANGED
|
@@ -2,59 +2,59 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction } from './common'
|
|
3
3
|
interface ProgressProps extends StandardProps {
|
|
4
4
|
/** 百分比 0~100
|
|
5
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
5
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
percent?: number
|
|
8
8
|
/** 在进度条右侧显示百分比
|
|
9
9
|
* @default false
|
|
10
|
-
* @supported weapp, alipay, swan, qq, jd, h5, rn
|
|
10
|
+
* @supported weapp, alipay, swan, qq, jd, h5, rn, harmony_hybrid
|
|
11
11
|
*/
|
|
12
12
|
showInfo?: boolean
|
|
13
13
|
/** 圆角大小
|
|
14
14
|
* @default 0
|
|
15
|
-
* @supported weapp, swan, qq, jd, h5
|
|
15
|
+
* @supported weapp, swan, qq, jd, h5, harmony_hybrid
|
|
16
16
|
*/
|
|
17
17
|
borderRadius?: number | string
|
|
18
18
|
/** 右侧百分比字体大小
|
|
19
19
|
* @default 16
|
|
20
|
-
* @supported weapp, swan, qq, jd, h5
|
|
20
|
+
* @supported weapp, swan, qq, jd, h5, harmony_hybrid
|
|
21
21
|
*/
|
|
22
22
|
fontSize?: number | string
|
|
23
23
|
/** 进度条线的宽度
|
|
24
24
|
* @default 6
|
|
25
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
25
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
26
26
|
*/
|
|
27
27
|
strokeWidth?: number | string
|
|
28
28
|
/** 进度条颜色 (请使用 activeColor)
|
|
29
29
|
* @default "#09BB07"
|
|
30
|
-
* @supported weapp, swan, qq, jd, h5
|
|
30
|
+
* @supported weapp, swan, qq, jd, h5, harmony_hybrid
|
|
31
31
|
*/
|
|
32
32
|
color?: string
|
|
33
33
|
/** 已选择的进度条的颜色
|
|
34
34
|
* @default "#09BB07"
|
|
35
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
35
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
36
36
|
*/
|
|
37
37
|
activeColor?: string
|
|
38
38
|
/** 未选择的进度条的颜色
|
|
39
39
|
* @default "#EBEBEB"
|
|
40
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
40
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
41
41
|
*/
|
|
42
42
|
backgroundColor?: string
|
|
43
43
|
/** 进度条从左往右的动画
|
|
44
44
|
* @default false
|
|
45
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
45
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
46
46
|
*/
|
|
47
47
|
active?: boolean
|
|
48
48
|
/** backwards: 动画从头播
|
|
49
49
|
*
|
|
50
50
|
* forwards: 动画从上次结束点接着播
|
|
51
51
|
* @default backwards
|
|
52
|
-
* @supported weapp, swan, tt, qq, jd, h5, rn
|
|
52
|
+
* @supported weapp, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
53
53
|
*/
|
|
54
54
|
activeMode?: 'backwards' | 'forwards'
|
|
55
55
|
/** 进度增加 1% 所需毫秒数
|
|
56
56
|
* @default 30
|
|
57
|
-
* @supported weapp, swan, tt, jd, h5
|
|
57
|
+
* @supported weapp, swan, tt, jd, h5, harmony_hybrid
|
|
58
58
|
*/
|
|
59
59
|
duration?: number
|
|
60
60
|
/** 无障碍访问,(属性)元素的额外描述
|
|
@@ -62,13 +62,13 @@ interface ProgressProps extends StandardProps {
|
|
|
62
62
|
*/
|
|
63
63
|
ariaLabel?: string
|
|
64
64
|
/** 动画完成事件
|
|
65
|
-
* @supported weapp, tt, qq, jd, h5
|
|
65
|
+
* @supported weapp, tt, qq, jd, h5, harmony_hybrid
|
|
66
66
|
*/
|
|
67
67
|
onActiveEnd?: CommonEventFunction
|
|
68
68
|
}
|
|
69
69
|
/** 进度条。组件属性的长度单位默认为 px
|
|
70
70
|
* @classification base
|
|
71
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
71
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
72
72
|
* @example_react
|
|
73
73
|
* ```tsx
|
|
74
74
|
* export default class PageView extends Component {
|
package/types/Radio.d.ts
CHANGED
|
@@ -2,21 +2,17 @@ import { ComponentType } from 'react'
|
|
|
2
2
|
import { StandardProps, CommonEventFunction, FormItemProps } from './common'
|
|
3
3
|
interface RadioProps extends StandardProps {
|
|
4
4
|
/** `<Radio/>` 标识。当该`<Radio/>` 选中时,`<RadioGroup/>`的 change 事件会携带`<Radio/>`的 value
|
|
5
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
5
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
6
6
|
*/
|
|
7
7
|
value?: string
|
|
8
8
|
/** 当前是否选中
|
|
9
9
|
* @default false
|
|
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
12
|
checked?: boolean
|
|
13
|
-
/** 设置在 React 非受控状态下,当前是否选中
|
|
14
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
15
|
-
*/
|
|
16
|
-
defaultChecked?: boolean
|
|
17
13
|
/** 是否禁用
|
|
18
14
|
* @default false
|
|
19
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn
|
|
15
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
|
|
20
16
|
*/
|
|
21
17
|
disabled?: boolean
|
|
22
18
|
/** Radio 的颜色,同 css 的 color
|
|
@@ -26,11 +22,11 @@ interface RadioProps extends StandardProps {
|
|
|
26
22
|
color?: string
|
|
27
23
|
/**
|
|
28
24
|
* Radio 的名字
|
|
29
|
-
* @supported h5, harmony
|
|
25
|
+
* @supported h5, harmony, harmony_hybrid
|
|
30
26
|
*/
|
|
31
27
|
name?: string
|
|
32
28
|
/** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
|
|
33
|
-
* @supported h5
|
|
29
|
+
* @supported h5, harmony_hybrid
|
|
34
30
|
*/
|
|
35
31
|
nativeProps?: Record<string, unknown>
|
|
36
32
|
/** 无障碍访问,(属性)元素的额外描述
|
|
@@ -38,7 +34,7 @@ interface RadioProps extends StandardProps {
|
|
|
38
34
|
*/
|
|
39
35
|
ariaLabel?: string
|
|
40
36
|
/** <radio-group/> 中的选中项发生变化时触发 change 事件
|
|
41
|
-
* @supported h5, rn
|
|
37
|
+
* @supported h5, rn, harmony_hybrid
|
|
42
38
|
*/
|
|
43
39
|
onChange?: CommonEventFunction<{
|
|
44
40
|
value?: string
|
|
@@ -46,7 +42,7 @@ interface RadioProps extends StandardProps {
|
|
|
46
42
|
}
|
|
47
43
|
/** 单选项目
|
|
48
44
|
* @classification forms
|
|
49
|
-
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony
|
|
45
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony, harmony_hybrid
|
|
50
46
|
* @example_react
|
|
51
47
|
* ```tsx
|
|
52
48
|
* export default class PageRadio extends Component {
|
package/types/RadioGroup.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ interface RadioGroupProps extends StandardProps, FormItemProps {
|
|
|
6
6
|
*/
|
|
7
7
|
name?: string
|
|
8
8
|
/** RadioGroup 中选中项发生改变时触发 change 事件,detail = {value:[选中的radio的value的数组]}
|
|
9
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5
|
|
9
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
|
|
10
10
|
*/
|
|
11
11
|
onChange?: CommonEventFunction
|
|
12
12
|
}
|
|
@@ -17,7 +17,7 @@ declare namespace RadioGroupProps {
|
|
|
17
17
|
}
|
|
18
18
|
/** 单项选择器,内部由多个 Radio 组成。
|
|
19
19
|
* @classification forms
|
|
20
|
-
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
|
|
20
|
+
* @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
|
|
21
21
|
* @see https://developers.weixin.qq.com/miniprogram/dev/component/radio-group.html
|
|
22
22
|
*/
|
|
23
23
|
declare const RadioGroup: ComponentType<RadioGroupProps>
|
package/types/RichText.d.ts
CHANGED
|
@@ -3,20 +3,20 @@ import { CommonEventFunction, StandardProps } from './common'
|
|
|
3
3
|
interface RichTextProps extends StandardProps {
|
|
4
4
|
/** 文本是否可选,该属性会使节点显示为 block
|
|
5
5
|
* @default false
|
|
6
|
-
* @supported weapp, h5
|
|
6
|
+
* @supported weapp, h5, harmony_hybrid
|
|
7
7
|
*/
|
|
8
8
|
userSelect?: boolean
|
|
9
9
|
/** 节点列表/ HTML String
|
|
10
|
-
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony
|
|
10
|
+
* @supported weapp, alipay, swan, tt, qq, h5, rn, harmony, harmony_hybrid
|
|
11
11
|
*/
|
|
12
12
|
nodes?: Nodes
|
|
13
13
|
/** 显示连续空格
|
|
14
|
-
* @supported weapp, alipay, tt, qq, h5, rn
|
|
14
|
+
* @supported weapp, alipay, tt, qq, h5, rn, harmony_hybrid
|
|
15
15
|
*/
|
|
16
16
|
space?: keyof RichTextProps.TSpace
|
|
17
17
|
/** 富文本是否可以长按选中,可用于复制,粘贴,长按搜索等场景
|
|
18
18
|
* @default false(基础库 3.150.1 以前版本)true(基础库 3.150.1 及以后版本)
|
|
19
|
-
* @supported swan, h5
|
|
19
|
+
* @supported swan, h5, harmony_hybrid
|
|
20
20
|
*/
|
|
21
21
|
selectable?: string
|
|
22
22
|
/** 阻止长按图片时弹起默认菜单(将该属性设置为image-menu-prevent或image-menu-prevent="true"),只在初始化时有效,不能动态变更;若不想阻止弹起默认菜单,则不需要设置此属性
|
|
@@ -99,7 +99,7 @@ declare namespace RichTextProps {
|
|
|
99
99
|
}
|
|
100
100
|
/** 富文本
|
|
101
101
|
* @classification base
|
|
102
|
-
* @supported weapp, swan, alipay, tt, h5, rn, harmony
|
|
102
|
+
* @supported weapp, swan, alipay, tt, h5, rn, harmony, harmony_hybrid
|
|
103
103
|
* @example_react
|
|
104
104
|
* ```tsx
|
|
105
105
|
* class App extends Components {
|