@tarojs/components 4.1.5 → 4.1.6
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/dist/cjs/ad-6e5e6c21.js +18 -0
- package/dist/cjs/ad-custom-03478475.js +18 -0
- package/dist/cjs/animation-video-7fc33f99.js +18 -0
- package/dist/cjs/animation-view-80fa5d0f.js +18 -0
- package/dist/cjs/ar-camera-a5b4fc84.js +18 -0
- package/dist/cjs/audio-df2bacdd.js +56 -0
- package/dist/cjs/aweme-data-c526f1a1.js +18 -0
- package/dist/cjs/block-019beb65.js +14 -0
- package/dist/cjs/button-8f729d81.js +73 -0
- package/dist/cjs/camera-d82d6f4d.js +18 -0
- package/dist/cjs/canvas-5ed991dd.js +49 -0
- package/dist/cjs/channel-live-691e20a5.js +18 -0
- package/dist/cjs/channel-video-126a3305.js +18 -0
- package/dist/cjs/checkbox-ffc9c1a2.js +122 -0
- package/dist/cjs/comment-detail-87637299.js +18 -0
- package/dist/cjs/comment-list-a18163da.js +18 -0
- package/dist/cjs/contact-button-75ae4609.js +18 -0
- package/dist/cjs/cover-image-1bf95a9b.js +32 -0
- package/dist/cjs/cover-view-a0e4395c.js +65 -0
- package/dist/cjs/custom-wrapper-64a8245e.js +14 -0
- package/dist/cjs/draggable-sheet-749618d6.js +18 -0
- package/dist/cjs/editor-81a773f9.js +18 -0
- package/dist/cjs/follow-swan-794e3367.js +18 -0
- package/dist/cjs/form-f24b8935.js +141 -0
- package/dist/cjs/functional-page-navigator-db0aeeb5.js +18 -0
- package/dist/cjs/grid-builder-0757691d.js +18 -0
- package/dist/cjs/grid-view-b77da424.js +18 -0
- package/dist/cjs/icon-93e7c472.js +30 -0
- package/dist/cjs/image-4303ed3a.js +60 -0
- package/dist/cjs/index.cjs.js +205 -0
- package/dist/cjs/inline-payment-panel-0068d0e4.js +18 -0
- package/dist/cjs/input-f39a63db.js +213 -0
- package/dist/cjs/keyboard-accessory-d7d227b7.js +18 -0
- package/dist/cjs/label-e54a79ee.js +15 -0
- package/dist/cjs/lifestyle-189b4b3a.js +18 -0
- package/dist/cjs/like-b6a72cb7.js +18 -0
- package/dist/cjs/list-builder-d7a3f023.js +18 -0
- package/dist/cjs/list-view-7cf454c7.js +18 -0
- package/dist/cjs/live-player-2115d649.js +18 -0
- package/dist/cjs/live-pusher-6a8da38c.js +18 -0
- package/dist/cjs/login-cd972083.js +18 -0
- package/dist/cjs/lottie-802328ca.js +18 -0
- package/dist/cjs/map-841765a9.js +1338 -0
- package/dist/cjs/match-media-6e2efc2f.js +18 -0
- package/dist/cjs/movable-view-9fa169e1.js +482 -0
- package/dist/cjs/native-slot-142506c1.js +18 -0
- package/dist/cjs/navigation-bar-b4ff564a.js +18 -0
- package/dist/cjs/navigator-43495d4f.js +77 -0
- package/dist/cjs/nested-scroll-body-9caab58f.js +18 -0
- package/dist/cjs/nested-scroll-header-c5b64f3d.js +18 -0
- package/dist/cjs/official-account-f53ef4c9.js +18 -0
- package/dist/cjs/open-container-dcb0756e.js +18 -0
- package/dist/cjs/open-data-295d2a0f.js +18 -0
- package/dist/cjs/page-container-c02ef21e.js +18 -0
- package/dist/cjs/page-meta-80a7a861.js +18 -0
- package/dist/cjs/picker-0b3ae89d.js +689 -0
- package/dist/cjs/picker-view-ee39f2b6.js +179 -0
- package/dist/cjs/progress-0434432f.js +39 -0
- package/dist/cjs/pull-to-refresh-a7a9d80c.js +269 -0
- package/dist/cjs/radio-fa441dee.js +136 -0
- package/dist/cjs/rich-text-f88b18dd.js +73 -0
- package/dist/cjs/root-portal-849d424f.js +18 -0
- package/dist/cjs/rtc-room-e32e8e93.js +18 -0
- package/dist/cjs/rtc-room-item-f2696f3e.js +18 -0
- package/dist/cjs/script-1d8392d2.js +18 -0
- package/dist/cjs/script-2eb2d361.js +18 -0
- package/dist/cjs/script-33ab1b9b.js +18 -0
- package/dist/cjs/script-66238de4.js +18 -0
- package/dist/cjs/script-7d8a337e.js +18 -0
- package/dist/cjs/script-9767d763.js +18 -0
- package/dist/cjs/script-aa62f496.js +18 -0
- package/dist/cjs/script-d39c17ed.js +18 -0
- package/dist/cjs/script-d7887902.js +18 -0
- package/dist/cjs/scroll-view-65cb8d5f.js +170 -0
- package/dist/cjs/share-element-68928fbf.js +18 -0
- package/dist/cjs/slider-4093049a.js +163 -0
- package/dist/cjs/slot-bb81659e.js +18 -0
- package/dist/cjs/snapshot-c2520c58.js +18 -0
- package/dist/cjs/span-fb1efcaf.js +18 -0
- package/dist/cjs/sticky-header-dcde70ca.js +18 -0
- package/dist/cjs/sticky-section-170bc892.js +18 -0
- package/dist/cjs/swiper-3ab835bb.js +427 -0
- package/dist/cjs/switch-586022a8.js +62 -0
- package/dist/cjs/tab-item-cfa3339e.js +18 -0
- package/dist/cjs/tabbar-41113df5.js +353 -0
- package/dist/cjs/tabs-be7f918d.js +18 -0
- package/dist/cjs/taro-ad-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-ad-custom-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-animation-video-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-animation-view-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-ar-camera-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-audio-core.cjs.entry.js +3 -51
- package/dist/cjs/taro-aweme-data-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-block-core.cjs.entry.js +4 -10
- package/dist/cjs/taro-button-core.cjs.entry.js +4 -68
- package/dist/cjs/taro-camera-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-canvas-core.cjs.entry.js +3 -44
- package/dist/cjs/taro-channel-live-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-channel-video-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +4 -117
- package/dist/cjs/taro-comment-detail-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-comment-list-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-contact-button-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-cover-image-core.cjs.entry.js +3 -27
- package/dist/cjs/taro-cover-view-core.cjs.entry.js +4 -60
- package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +4 -10
- package/dist/cjs/taro-double-tap-gesture-handler-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-draggable-sheet-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-editor-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-follow-swan-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-force-press-gesture-handler-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-form-core.cjs.entry.js +4 -137
- package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-grid-builder-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-horizontal-drag-gesture-handler-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-icon-core.cjs.entry.js +4 -25
- package/dist/cjs/taro-image-core.cjs.entry.js +4 -55
- package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-input-core.cjs.entry.js +3 -208
- package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-label-core.cjs.entry.js +4 -11
- package/dist/cjs/taro-lifestyle-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-like-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-list-builder-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-list-view-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-live-player-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-live-pusher-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-login-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-long-press-gesture-handler-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-lottie-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-map-core.cjs.entry.js +4 -1333
- package/dist/cjs/taro-match-media-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +5 -477
- package/dist/cjs/taro-native-slot-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-navigator-core.cjs.entry.js +5 -72
- package/dist/cjs/taro-nested-scroll-body-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-official-account-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-open-container-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-open-data-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-page-container-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-page-meta-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-pan-gesture-handler-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +5 -684
- package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +6 -174
- package/dist/cjs/taro-progress-core.cjs.entry.js +3 -34
- package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +5 -264
- package/dist/cjs/taro-radio-core_2.cjs.entry.js +4 -131
- package/dist/cjs/taro-rich-text-core.cjs.entry.js +3 -68
- package/dist/cjs/taro-root-portal-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-rtc-room-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-scale-gesture-handler-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-script-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +6 -165
- package/dist/cjs/taro-share-element-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-slider-core.cjs.entry.js +3 -158
- package/dist/cjs/taro-slot-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-snapshot-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-span-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +8 -422
- package/dist/cjs/taro-switch-core.cjs.entry.js +3 -57
- package/dist/cjs/taro-tab-item-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-tabbar.cjs.entry.js +8 -347
- package/dist/cjs/taro-tabs-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-tap-gesture-handler-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-text-core.cjs.entry.js +3 -20
- package/dist/cjs/taro-textarea-core.cjs.entry.js +3 -156
- package/dist/cjs/taro-vertical-drag-gesture-handler-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-video-control_3.cjs.entry.js +8 -743
- package/dist/cjs/taro-view-core.cjs.entry.js +5 -65
- package/dist/cjs/taro-voip-room-core.cjs.entry.js +5 -14
- package/dist/cjs/taro-web-view-core.cjs.entry.js +3 -22
- package/dist/cjs/text-642f2f48.js +25 -0
- package/dist/cjs/textarea-3f14df1c.js +161 -0
- package/dist/cjs/video-75aca914.js +748 -0
- package/dist/cjs/view-609adfc6.js +70 -0
- package/dist/cjs/voip-room-7f55d8a0.js +18 -0
- package/dist/cjs/web-view-be5a2d1d.js +27 -0
- package/dist/collection/components/ad/index.js +1 -0
- package/dist/collection/components/ad-custom/index.js +1 -0
- package/dist/collection/components/animation-video/index.js +1 -0
- package/dist/collection/components/animation-view/index.js +1 -0
- package/dist/collection/components/ar-camera/index.js +1 -0
- package/dist/collection/components/audio/index.js +1 -0
- package/dist/collection/components/aweme-data/index.js +1 -0
- package/dist/collection/components/block/index.js +1 -0
- package/dist/collection/components/button/index.js +1 -0
- package/dist/collection/components/camera/index.js +1 -0
- package/dist/collection/components/canvas/index.js +1 -0
- package/dist/collection/components/channel-live/index.js +1 -0
- package/dist/collection/components/channel-video/index.js +1 -0
- package/dist/collection/components/checkbox/index.js +2 -0
- package/dist/collection/components/comment/index.js +2 -0
- package/dist/collection/components/contact-button/index.js +1 -0
- package/dist/collection/components/cover-image/index.js +1 -0
- package/dist/collection/components/cover-view/index.js +1 -0
- package/dist/collection/components/custom-wrapper/index.js +1 -0
- package/dist/collection/components/double-tap-gesture-handler/index.js +1 -0
- package/dist/collection/components/draggable-sheet/index.js +1 -0
- package/dist/collection/components/editor/index.js +1 -0
- package/dist/collection/components/follow-swan/index.js +1 -0
- package/dist/collection/components/force-press-gesture-handler/index.js +1 -0
- package/dist/collection/components/form/index.js +1 -0
- package/dist/collection/components/functional-page-navigator/index.js +1 -0
- package/dist/collection/components/grid-builder/index.js +1 -0
- package/dist/collection/components/grid-view/index.js +1 -0
- package/dist/collection/components/horizontal-drag-gesture-handler/index.js +1 -0
- package/dist/collection/components/icon/index.js +1 -0
- package/dist/collection/components/image/index.js +1 -0
- package/dist/collection/components/index.js +87 -0
- package/dist/collection/components/inline-payment-panel/index.js +1 -0
- package/dist/collection/components/input/index.js +1 -0
- package/dist/collection/components/keyboard-accessory/index.js +1 -0
- package/dist/collection/components/label/index.js +1 -0
- package/dist/collection/components/lifestyle/index.js +1 -0
- package/dist/collection/components/like/index.js +1 -0
- package/dist/collection/components/list-builder/index.js +1 -0
- package/dist/collection/components/list-view/index.js +1 -0
- package/dist/collection/components/live-player/index.js +1 -0
- package/dist/collection/components/live-pusher/index.js +1 -0
- package/dist/collection/components/login/index.js +1 -0
- package/dist/collection/components/long-press-gesture-handler/index.js +1 -0
- package/dist/collection/components/lottie/index.js +1 -0
- package/dist/collection/components/map/index.js +1 -0
- package/dist/collection/components/match-media/index.js +1 -0
- package/dist/collection/components/movable-area/index.js +2 -0
- package/dist/collection/components/navigation-bar/index.js +1 -0
- package/dist/collection/components/navigator/index.js +1 -0
- package/dist/collection/components/nested-scroll-body/index.js +1 -0
- package/dist/collection/components/nested-scroll-header/index.js +1 -0
- package/dist/collection/components/official-account/index.js +1 -0
- package/dist/collection/components/open-container/index.js +1 -0
- package/dist/collection/components/open-data/index.js +1 -0
- package/dist/collection/components/page-container/index.js +1 -0
- package/dist/collection/components/page-meta/index.js +1 -0
- package/dist/collection/components/pan-gesture-handler/index.js +1 -0
- package/dist/collection/components/picker/index.js +2 -0
- package/dist/collection/components/picker-view/index.js +2 -0
- package/dist/collection/components/progress/index.js +1 -0
- package/dist/collection/components/pull-to-refresh/index.js +1 -0
- package/dist/collection/components/radio/index.js +2 -0
- package/dist/collection/components/rich-text/index.js +1 -0
- package/dist/collection/components/root-portal/index.js +1 -0
- package/dist/collection/components/rtc-room/index.js +2 -0
- package/dist/collection/components/scale-gesture-handler/index.js +1 -0
- package/dist/collection/components/script/index.js +1 -0
- package/dist/collection/components/scroll-view/index.js +1 -0
- package/dist/collection/components/share-element/index.js +1 -0
- package/dist/collection/components/slider/index.js +1 -0
- package/dist/collection/components/slot/index.js +2 -0
- package/dist/collection/components/snapshot/index.js +1 -0
- package/dist/collection/components/span/index.js +1 -0
- package/dist/collection/components/sticky-header/index.js +1 -0
- package/dist/collection/components/sticky-section/index.js +1 -0
- package/dist/collection/components/swiper/index.js +2 -0
- package/dist/collection/components/switch/index.js +1 -0
- package/dist/collection/components/tabbar/index.js +2 -0
- package/dist/collection/components/tabs/index.js +2 -0
- package/dist/collection/components/tap-gesture-handler/index.js +1 -0
- package/dist/collection/components/text/index.js +1 -0
- package/dist/collection/components/textarea/index.js +1 -0
- package/dist/collection/components/vertical-drag-gesture-handler/index.js +1 -0
- package/dist/collection/components/video/index.js +3 -0
- package/dist/collection/components/view/index.js +1 -0
- package/dist/collection/components/voip-room/index.js +1 -0
- package/dist/collection/components/web-view/index.js +1 -0
- package/dist/collection/index.js +1 -1
- package/dist/components/index.js +98 -96
- package/dist/components/taro-ad-core.js +1 -1
- package/dist/components/taro-ad-custom-core.js +1 -1
- package/dist/components/taro-animation-video-core.js +1 -1
- package/dist/components/taro-animation-view-core.js +1 -1
- package/dist/components/taro-ar-camera-core.js +1 -1
- package/dist/components/taro-audio-core.js +1 -1
- package/dist/components/taro-aweme-data-core.js +1 -1
- package/dist/components/taro-block-core.js +1 -1
- package/dist/components/taro-button-core.js +1 -1
- package/dist/components/taro-camera-core.js +1 -1
- package/dist/components/taro-canvas-core.js +1 -1
- package/dist/components/taro-channel-live-core.js +1 -1
- package/dist/components/taro-channel-video-core.js +1 -1
- package/dist/components/taro-checkbox-core.js +1 -1
- package/dist/components/taro-checkbox-group-core.js +1 -1
- package/dist/components/taro-comment-detail-core.js +1 -1
- package/dist/components/taro-comment-list-core.js +1 -1
- package/dist/components/taro-contact-button-core.js +1 -1
- package/dist/components/taro-cover-image-core.js +1 -1
- package/dist/components/taro-cover-view-core.js +1 -1
- package/dist/components/taro-custom-wrapper-core.js +1 -1
- package/dist/components/taro-double-tap-gesture-handler-core.js +1 -1
- package/dist/components/taro-draggable-sheet-core.js +1 -1
- package/dist/components/taro-editor-core.js +1 -1
- package/dist/components/taro-follow-swan-core.js +1 -1
- package/dist/components/taro-force-press-gesture-handler-core.js +1 -1
- package/dist/components/taro-form-core.js +1 -1
- package/dist/components/taro-functional-page-navigator-core.js +1 -1
- package/dist/components/taro-grid-builder-core.js +1 -1
- package/dist/components/taro-grid-view-core.js +1 -1
- package/dist/components/taro-horizontal-drag-gesture-handler-core.js +1 -1
- package/dist/components/taro-icon-core.js +1 -1
- package/dist/components/taro-image-core.js +1 -1
- package/dist/components/taro-inline-payment-panel-core.js +1 -1
- package/dist/components/taro-input-core.js +1 -1
- package/dist/components/taro-keyboard-accessory-core.js +1 -1
- package/dist/components/taro-label-core.js +1 -1
- package/dist/components/taro-lifestyle-core.js +1 -1
- package/dist/components/taro-like-core.js +1 -1
- package/dist/components/taro-list-builder-core.js +1 -1
- package/dist/components/taro-list-view-core.js +1 -1
- package/dist/components/taro-live-player-core.js +1 -1
- package/dist/components/taro-live-pusher-core.js +1 -1
- package/dist/components/taro-login-core.js +1 -1
- package/dist/components/taro-long-press-gesture-handler-core.js +1 -1
- package/dist/components/taro-lottie-core.js +1 -1
- package/dist/components/taro-map-core.js +1 -1
- package/dist/components/taro-match-media-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-native-slot-core.js +1 -1
- package/dist/components/taro-navigation-bar-core.js +1 -1
- package/dist/components/taro-navigator-core.js +1 -1
- package/dist/components/taro-nested-scroll-body-core.js +1 -1
- package/dist/components/taro-nested-scroll-header-core.js +1 -1
- package/dist/components/taro-official-account-core.js +1 -1
- package/dist/components/taro-open-container-core.js +1 -1
- package/dist/components/taro-open-data-core.js +1 -1
- package/dist/components/taro-page-container-core.js +1 -1
- package/dist/components/taro-page-meta-core.js +1 -1
- package/dist/components/taro-pan-gesture-handler-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 +1 -1
- package/dist/components/taro-pull-to-refresh-core.js +1 -1
- package/dist/components/taro-radio-core.js +1 -1
- package/dist/components/taro-radio-group-core.js +1 -1
- package/dist/components/taro-rich-text-core.js +1 -1
- package/dist/components/taro-root-portal-core.js +1 -1
- package/dist/components/taro-rtc-room-core.js +1 -1
- package/dist/components/taro-rtc-room-item-core.js +1 -1
- package/dist/components/taro-scale-gesture-handler-core.js +1 -1
- package/dist/components/taro-script-core.js +1 -1
- package/dist/components/taro-scroll-view-core.js +1 -1
- package/dist/components/taro-share-element-core.js +1 -1
- package/dist/components/taro-slider-core.js +1 -1
- package/dist/components/taro-slot-core.js +1 -1
- package/dist/components/taro-snapshot-core.js +1 -1
- package/dist/components/taro-span-core.js +1 -1
- package/dist/components/taro-sticky-header-core.js +1 -1
- package/dist/components/taro-sticky-section-core.js +1 -1
- package/dist/components/taro-swiper-core.js +1 -1
- package/dist/components/taro-swiper-item-core.js +1 -1
- package/dist/components/taro-switch-core.js +1 -1
- package/dist/components/taro-tab-item-core.js +1 -1
- package/dist/components/taro-tabbar.js +1 -1
- package/dist/components/taro-tabs-core.js +1 -1
- package/dist/components/taro-tap-gesture-handler-core.js +1 -1
- package/dist/components/taro-text-core.js +1 -1
- package/dist/components/taro-textarea-core.js +1 -1
- package/dist/components/taro-vertical-drag-gesture-handler-core.js +1 -1
- package/dist/components/taro-video-core.js +2 -2
- package/dist/components/taro-view-core.js +1 -1
- package/dist/components/taro-voip-room-core.js +1 -1
- package/dist/components/taro-web-view-core.js +1 -1
- package/dist/esm/ad-cfb00041.js +16 -0
- package/dist/esm/ad-custom-4a0d4eb2.js +16 -0
- package/dist/esm/animation-video-5215c138.js +16 -0
- package/dist/esm/animation-view-a07c6ea9.js +16 -0
- package/dist/esm/ar-camera-d578c533.js +16 -0
- package/dist/esm/audio-fd0e719f.js +54 -0
- package/dist/esm/aweme-data-2e12d8c9.js +16 -0
- package/dist/esm/block-796aa7d8.js +12 -0
- package/dist/esm/button-cd801674.js +71 -0
- package/dist/esm/camera-1791b404.js +16 -0
- package/dist/esm/canvas-5531b496.js +47 -0
- package/dist/esm/channel-live-b63e080a.js +16 -0
- package/dist/esm/channel-video-d4ee7254.js +16 -0
- package/dist/esm/checkbox-da6b07ea.js +119 -0
- package/dist/esm/comment-detail-02a3e8ee.js +16 -0
- package/dist/esm/comment-list-a62325be.js +16 -0
- package/dist/esm/contact-button-68e95a69.js +16 -0
- package/dist/esm/cover-image-0783b2c1.js +30 -0
- package/dist/esm/cover-view-8330b60d.js +63 -0
- package/dist/esm/custom-wrapper-0bb13a12.js +12 -0
- package/dist/esm/draggable-sheet-67355f70.js +16 -0
- package/dist/esm/editor-743e35d0.js +16 -0
- package/dist/esm/follow-swan-dbdf5cc8.js +16 -0
- package/dist/esm/form-576398ba.js +139 -0
- package/dist/esm/functional-page-navigator-63f675f4.js +16 -0
- package/dist/esm/grid-builder-cf0aa856.js +16 -0
- package/dist/esm/grid-view-353586e4.js +16 -0
- package/dist/esm/icon-88383f2c.js +28 -0
- package/dist/esm/image-b0b222bc.js +58 -0
- package/dist/esm/index.js +100 -1
- package/dist/esm/inline-payment-panel-73925dd2.js +16 -0
- package/dist/esm/input-4104e3ea.js +211 -0
- package/dist/esm/keyboard-accessory-fd485a31.js +16 -0
- package/dist/esm/label-94ef4b17.js +13 -0
- package/dist/esm/lifestyle-4db11299.js +16 -0
- package/dist/esm/like-d61fe792.js +16 -0
- package/dist/esm/list-builder-e0d9e871.js +16 -0
- package/dist/esm/list-view-84529418.js +16 -0
- package/dist/esm/live-player-e4dbe4cf.js +16 -0
- package/dist/esm/live-pusher-15c48b78.js +16 -0
- package/dist/esm/login-d932daf9.js +16 -0
- package/dist/esm/lottie-2ada69b7.js +16 -0
- package/dist/esm/map-c6cd24f4.js +1332 -0
- package/dist/esm/match-media-2cdc536a.js +16 -0
- package/dist/esm/movable-view-c1358d1e.js +479 -0
- package/dist/esm/native-slot-98020f54.js +16 -0
- package/dist/esm/navigation-bar-eda66236.js +16 -0
- package/dist/esm/navigator-65877bda.js +71 -0
- package/dist/esm/nested-scroll-body-b1053924.js +16 -0
- package/dist/esm/nested-scroll-header-10ba047c.js +16 -0
- package/dist/esm/official-account-75c8fa4e.js +16 -0
- package/dist/esm/open-container-d288ae08.js +16 -0
- package/dist/esm/open-data-9e1673e1.js +16 -0
- package/dist/esm/page-container-b5b82c32.js +16 -0
- package/dist/esm/page-meta-518b39b7.js +16 -0
- package/dist/esm/picker-6a565e02.js +686 -0
- package/dist/esm/picker-view-52390656.js +176 -0
- package/dist/esm/progress-f99ddb18.js +37 -0
- package/dist/esm/pull-to-refresh-e8972159.js +263 -0
- package/dist/esm/radio-9b356d76.js +133 -0
- package/dist/esm/rich-text-287554f4.js +71 -0
- package/dist/esm/root-portal-db801799.js +16 -0
- package/dist/esm/rtc-room-bcf23c91.js +16 -0
- package/dist/esm/rtc-room-item-052b16d2.js +16 -0
- package/dist/esm/script-11e3884a.js +16 -0
- package/dist/esm/script-1b22398f.js +16 -0
- package/dist/esm/script-1c3855bc.js +16 -0
- package/dist/esm/script-4b869172.js +16 -0
- package/dist/esm/script-4d587470.js +16 -0
- package/dist/esm/script-5c55afcb.js +16 -0
- package/dist/esm/script-661db6af.js +16 -0
- package/dist/esm/script-76fc8cf5.js +16 -0
- package/dist/esm/script-8f332177.js +16 -0
- package/dist/esm/scroll-view-43e9acfc.js +168 -0
- package/dist/esm/share-element-4f90ad5b.js +16 -0
- package/dist/esm/slider-47bbf797.js +161 -0
- package/dist/esm/slot-71ad33eb.js +16 -0
- package/dist/esm/snapshot-42feea7d.js +16 -0
- package/dist/esm/span-d4b171da.js +16 -0
- package/dist/esm/sticky-header-a99729bc.js +16 -0
- package/dist/esm/sticky-section-f8d75284.js +16 -0
- package/dist/esm/swiper-20b19ce0.js +420 -0
- package/dist/esm/switch-a538d85e.js +60 -0
- package/dist/esm/tab-item-f58dd1b0.js +16 -0
- package/dist/esm/tabbar-e6342392.js +345 -0
- package/dist/esm/tabs-da838bbd.js +16 -0
- package/dist/esm/taro-ad-core.entry.js +3 -16
- package/dist/esm/taro-ad-custom-core.entry.js +3 -16
- package/dist/esm/taro-animation-video-core.entry.js +3 -16
- package/dist/esm/taro-animation-view-core.entry.js +3 -16
- package/dist/esm/taro-ar-camera-core.entry.js +3 -16
- package/dist/esm/taro-audio-core.entry.js +2 -54
- package/dist/esm/taro-aweme-data-core.entry.js +3 -16
- package/dist/esm/taro-block-core.entry.js +2 -12
- package/dist/esm/taro-button-core.entry.js +3 -71
- package/dist/esm/taro-camera-core.entry.js +3 -16
- package/dist/esm/taro-canvas-core.entry.js +2 -47
- package/dist/esm/taro-channel-live-core.entry.js +3 -16
- package/dist/esm/taro-channel-video-core.entry.js +3 -16
- package/dist/esm/taro-checkbox-core_2.entry.js +2 -119
- package/dist/esm/taro-comment-detail-core.entry.js +3 -16
- package/dist/esm/taro-comment-list-core.entry.js +3 -16
- package/dist/esm/taro-contact-button-core.entry.js +3 -16
- package/dist/esm/taro-cover-image-core.entry.js +2 -30
- package/dist/esm/taro-cover-view-core.entry.js +3 -63
- package/dist/esm/taro-custom-wrapper-core.entry.js +2 -12
- package/dist/esm/taro-double-tap-gesture-handler-core.entry.js +3 -16
- package/dist/esm/taro-draggable-sheet-core.entry.js +3 -16
- package/dist/esm/taro-editor-core.entry.js +3 -16
- package/dist/esm/taro-follow-swan-core.entry.js +3 -16
- package/dist/esm/taro-force-press-gesture-handler-core.entry.js +3 -16
- package/dist/esm/taro-form-core.entry.js +2 -139
- package/dist/esm/taro-functional-page-navigator-core.entry.js +3 -16
- package/dist/esm/taro-grid-builder-core.entry.js +3 -16
- package/dist/esm/taro-grid-view-core.entry.js +3 -16
- package/dist/esm/taro-horizontal-drag-gesture-handler-core.entry.js +3 -16
- package/dist/esm/taro-icon-core.entry.js +3 -28
- package/dist/esm/taro-image-core.entry.js +3 -58
- package/dist/esm/taro-inline-payment-panel-core.entry.js +3 -16
- package/dist/esm/taro-input-core.entry.js +2 -211
- package/dist/esm/taro-keyboard-accessory-core.entry.js +3 -16
- package/dist/esm/taro-label-core.entry.js +2 -13
- package/dist/esm/taro-lifestyle-core.entry.js +3 -16
- package/dist/esm/taro-like-core.entry.js +3 -16
- package/dist/esm/taro-list-builder-core.entry.js +3 -16
- package/dist/esm/taro-list-view-core.entry.js +3 -16
- package/dist/esm/taro-live-player-core.entry.js +3 -16
- package/dist/esm/taro-live-pusher-core.entry.js +3 -16
- package/dist/esm/taro-login-core.entry.js +3 -16
- package/dist/esm/taro-long-press-gesture-handler-core.entry.js +3 -16
- package/dist/esm/taro-lottie-core.entry.js +3 -16
- package/dist/esm/taro-map-core.entry.js +3 -1332
- package/dist/esm/taro-match-media-core.entry.js +3 -16
- package/dist/esm/taro-movable-area-core_2.entry.js +3 -479
- package/dist/esm/taro-native-slot-core.entry.js +3 -16
- package/dist/esm/taro-navigation-bar-core.entry.js +3 -16
- package/dist/esm/taro-navigator-core.entry.js +4 -71
- package/dist/esm/taro-nested-scroll-body-core.entry.js +3 -16
- package/dist/esm/taro-nested-scroll-header-core.entry.js +3 -16
- package/dist/esm/taro-official-account-core.entry.js +3 -16
- package/dist/esm/taro-open-container-core.entry.js +3 -16
- package/dist/esm/taro-open-data-core.entry.js +3 -16
- package/dist/esm/taro-page-container-core.entry.js +3 -16
- package/dist/esm/taro-page-meta-core.entry.js +3 -16
- package/dist/esm/taro-pan-gesture-handler-core.entry.js +3 -16
- package/dist/esm/taro-picker-core_2.entry.js +3 -686
- package/dist/esm/taro-picker-view-column-core_2.entry.js +4 -176
- package/dist/esm/taro-progress-core.entry.js +2 -37
- package/dist/esm/taro-pull-to-refresh-core.entry.js +4 -263
- package/dist/esm/taro-radio-core_2.entry.js +2 -133
- package/dist/esm/taro-rich-text-core.entry.js +2 -71
- package/dist/esm/taro-root-portal-core.entry.js +3 -16
- package/dist/esm/taro-rtc-room-core.entry.js +3 -16
- package/dist/esm/taro-rtc-room-item-core.entry.js +3 -16
- package/dist/esm/taro-scale-gesture-handler-core.entry.js +3 -16
- package/dist/esm/taro-script-core.entry.js +3 -16
- package/dist/esm/taro-scroll-view-core.entry.js +5 -168
- package/dist/esm/taro-share-element-core.entry.js +3 -16
- package/dist/esm/taro-slider-core.entry.js +2 -161
- package/dist/esm/taro-slot-core.entry.js +3 -16
- package/dist/esm/taro-snapshot-core.entry.js +3 -16
- package/dist/esm/taro-span-core.entry.js +3 -16
- package/dist/esm/taro-sticky-header-core.entry.js +3 -16
- package/dist/esm/taro-sticky-section-core.entry.js +3 -16
- package/dist/esm/taro-swiper-core_2.entry.js +6 -420
- package/dist/esm/taro-switch-core.entry.js +2 -60
- package/dist/esm/taro-tab-item-core.entry.js +3 -16
- package/dist/esm/taro-tabbar.entry.js +7 -345
- package/dist/esm/taro-tabs-core.entry.js +3 -16
- package/dist/esm/taro-tap-gesture-handler-core.entry.js +3 -16
- package/dist/esm/taro-text-core.entry.js +2 -23
- package/dist/esm/taro-textarea-core.entry.js +2 -159
- package/dist/esm/taro-vertical-drag-gesture-handler-core.entry.js +3 -16
- package/dist/esm/taro-video-control_3.entry.js +5 -720
- package/dist/esm/taro-view-core.entry.js +4 -68
- package/dist/esm/taro-voip-room-core.entry.js +3 -16
- package/dist/esm/taro-web-view-core.entry.js +2 -25
- package/dist/esm/text-a3b91b23.js +23 -0
- package/dist/esm/textarea-c722fd22.js +159 -0
- package/dist/esm/video-c663f267.js +720 -0
- package/dist/esm/view-965a491b.js +68 -0
- package/dist/esm/voip-room-da8085ad.js +16 -0
- package/dist/esm/web-view-8f780a19.js +25 -0
- package/dist/taro-components/index.esm.js +1 -0
- package/dist/taro-components/p-00e72620.entry.js +1 -0
- package/dist/taro-components/p-03b54b0b.entry.js +1 -0
- package/dist/taro-components/p-046319d8.js +1 -0
- package/dist/taro-components/p-052dbbd9.entry.js +1 -0
- package/dist/taro-components/p-0543d7fe.entry.js +1 -0
- package/dist/taro-components/p-06b4ba14.entry.js +1 -0
- package/dist/taro-components/p-0741aa7f.entry.js +1 -0
- package/dist/taro-components/p-0795a339.entry.js +1 -0
- package/dist/taro-components/p-08cfc9f4.js +1 -0
- package/dist/taro-components/p-094ba888.entry.js +1 -0
- package/dist/taro-components/p-0a92117d.entry.js +1 -0
- package/dist/taro-components/p-0ecccbb4.entry.js +1 -0
- package/dist/taro-components/p-0f829f27.entry.js +1 -0
- package/dist/taro-components/p-127391cb.entry.js +1 -0
- package/dist/taro-components/p-137eb06b.js +1 -0
- package/dist/taro-components/p-13d455f5.js +1 -0
- package/dist/taro-components/p-145ba514.entry.js +1 -0
- package/dist/taro-components/p-14795db7.entry.js +1 -0
- package/dist/taro-components/p-150a55a3.js +1 -0
- package/dist/taro-components/p-168a6355.entry.js +1 -0
- package/dist/taro-components/p-1ad94bf6.entry.js +1 -0
- package/dist/taro-components/p-1c19d1dd.js +1 -0
- package/dist/taro-components/{p-5534e4e7.entry.js → p-1c317d71.js} +1 -1
- package/dist/taro-components/p-1d2b2125.entry.js +1 -0
- package/dist/taro-components/p-1d3cfd13.js +1 -0
- package/dist/taro-components/{p-bf7ed5a8.entry.js → p-1f517ad8.js} +1 -1
- package/dist/taro-components/{p-589e0de6.entry.js → p-1f81d4f4.js} +1 -1
- package/dist/taro-components/p-245fcd36.js +1 -0
- package/dist/taro-components/{p-826f9f91.entry.js → p-24ef5f8c.js} +1 -1
- package/dist/taro-components/p-2602cd28.entry.js +1 -0
- package/dist/taro-components/p-27622761.js +1 -0
- package/dist/taro-components/p-2884aec2.js +1 -0
- package/dist/taro-components/{p-3b0507ef.entry.js → p-2b1afb2c.js} +1 -1
- package/dist/taro-components/p-2b8fae1c.entry.js +1 -0
- package/dist/taro-components/p-2bf24716.js +1 -0
- package/dist/taro-components/p-2c48f6cb.entry.js +1 -0
- package/dist/taro-components/p-2e5daff6.js +1 -0
- package/dist/taro-components/p-2e841a1d.js +1 -0
- package/dist/taro-components/p-2f7b8388.js +1 -0
- package/dist/taro-components/p-2f9a4db4.js +1 -0
- package/dist/taro-components/p-2ff21d39.entry.js +1 -0
- package/dist/taro-components/p-31c75fd5.js +1 -0
- package/dist/taro-components/p-31f2f332.entry.js +1 -0
- package/dist/taro-components/{p-a5b32f59.entry.js → p-35aac6e0.js} +1 -1
- package/dist/taro-components/p-36e83be9.js +1 -0
- package/dist/taro-components/p-3837f853.entry.js +1 -0
- package/dist/taro-components/p-38598f5b.entry.js +1 -0
- package/dist/taro-components/p-3a6ec908.js +1 -0
- package/dist/taro-components/p-3d450082.js +1 -0
- package/dist/taro-components/p-3f4449b0.entry.js +1 -0
- package/dist/taro-components/p-3f650751.entry.js +1 -0
- package/dist/taro-components/{p-dc6b5615.entry.js → p-45c3b3bf.js} +1 -1
- package/dist/taro-components/p-4818a4aa.js +1 -0
- package/dist/taro-components/p-496a9932.entry.js +1 -0
- package/dist/taro-components/p-49e4d6ae.js +1 -0
- package/dist/taro-components/p-4bb83c7d.js +1 -0
- package/dist/taro-components/p-4cf49968.js +1 -0
- package/dist/taro-components/{p-bd7ab2a5.entry.js → p-4d79a974.js} +1 -1
- package/dist/taro-components/p-4f4b08df.entry.js +1 -0
- package/dist/taro-components/p-50ffadb4.js +1 -0
- package/dist/taro-components/p-52c6b16d.js +1 -0
- package/dist/taro-components/{p-7717e485.entry.js → p-53b69659.js} +1 -1
- package/dist/taro-components/{p-12075d7a.entry.js → p-553b9dc1.js} +1 -1
- package/dist/taro-components/p-5570a53e.entry.js +1 -0
- package/dist/taro-components/p-582a0e0f.entry.js +1 -0
- package/dist/taro-components/p-582cbc31.js +1 -0
- package/dist/taro-components/p-58a709ad.js +1 -0
- package/dist/taro-components/p-5b216b21.entry.js +1 -0
- package/dist/taro-components/p-5bd11f73.entry.js +1 -0
- package/dist/taro-components/p-5bd1aed9.js +1 -0
- package/dist/taro-components/p-5cbc249f.entry.js +1 -0
- package/dist/taro-components/p-5ea030de.entry.js +1 -0
- package/dist/taro-components/p-5fe2d7cb.js +1 -0
- package/dist/taro-components/p-61b23b53.entry.js +1 -0
- package/dist/taro-components/p-6223811d.entry.js +1 -0
- package/dist/taro-components/p-64a5e7a7.js +1 -0
- package/dist/taro-components/p-65c51f07.entry.js +1 -0
- package/dist/taro-components/{p-82d74d01.entry.js → p-67c4cf7e.js} +1 -1
- package/dist/taro-components/p-680d07ac.js +1 -0
- package/dist/taro-components/p-69147844.entry.js +1 -0
- package/dist/taro-components/p-6c93b540.js +1 -0
- package/dist/taro-components/{p-a8d628f8.entry.js → p-6e2f460d.js} +1 -1
- package/dist/taro-components/p-73aae58b.entry.js +1 -0
- package/dist/taro-components/p-74ac6c91.entry.js +1 -0
- package/dist/taro-components/p-773bed49.entry.js +1 -0
- package/dist/taro-components/p-79d3e109.js +1 -0
- package/dist/taro-components/p-7bb097de.js +1 -0
- package/dist/taro-components/p-7c455a65.entry.js +1 -0
- package/dist/taro-components/p-7ea32cac.js +1 -0
- package/dist/taro-components/p-806e3c4f.entry.js +1 -0
- package/dist/taro-components/p-80fa0c7c.entry.js +1 -0
- package/dist/taro-components/p-88048df9.entry.js +1 -0
- package/dist/taro-components/p-8837c166.entry.js +1 -0
- package/dist/taro-components/p-8b1b513a.js +1 -0
- package/dist/taro-components/p-8bc13e66.entry.js +1 -0
- package/dist/taro-components/p-8c520f1e.entry.js +1 -0
- package/dist/taro-components/p-8d26b600.js +1 -0
- package/dist/taro-components/{p-e62af250.entry.js → p-8d996705.js} +1 -1
- package/dist/taro-components/p-8e3bac82.js +1 -0
- package/dist/taro-components/p-8f2a4c66.entry.js +1 -0
- package/dist/taro-components/p-915aa78c.js +1 -0
- package/dist/taro-components/p-922047dd.entry.js +1 -0
- package/dist/taro-components/p-92a39ad9.entry.js +1 -0
- package/dist/taro-components/p-931bba41.entry.js +1 -0
- package/dist/taro-components/p-93e3cefb.js +1 -0
- package/dist/taro-components/p-956bc9d5.js +1 -0
- package/dist/taro-components/p-9581e63b.entry.js +1 -0
- package/dist/taro-components/p-96f65f1d.js +1 -0
- package/dist/taro-components/p-975f1b0c.entry.js +1 -0
- package/dist/taro-components/p-99383bc2.js +1 -0
- package/dist/taro-components/p-99863698.js +1 -0
- package/dist/taro-components/p-9a0251c5.entry.js +1 -0
- package/dist/taro-components/p-9d4a6732.js +1 -0
- package/dist/taro-components/p-9f953e69.entry.js +1 -0
- package/dist/taro-components/p-a0ff43d9.entry.js +1 -0
- package/dist/taro-components/p-a17695f9.js +1 -0
- package/dist/taro-components/p-a293fa24.js +1 -0
- package/dist/taro-components/p-a2cb2d73.js +1 -0
- package/dist/taro-components/p-a3b266d5.entry.js +1 -0
- package/dist/taro-components/p-a5798672.js +1 -0
- package/dist/taro-components/{p-31998393.entry.js → p-a6c178f3.js} +1 -1
- package/dist/taro-components/p-ab09cecf.entry.js +1 -0
- package/dist/taro-components/p-aca7aea1.entry.js +1 -0
- package/dist/taro-components/p-ad865966.entry.js +1 -0
- package/dist/taro-components/p-ae203a0b.entry.js +1 -0
- package/dist/taro-components/p-af5e0304.js +1 -0
- package/dist/taro-components/p-b19ea38d.entry.js +1 -0
- package/dist/taro-components/{p-bf71dd37.entry.js → p-b2979101.js} +1 -1
- package/dist/taro-components/p-b70027b2.entry.js +1 -0
- package/dist/taro-components/p-b74ad8e4.js +1 -0
- package/dist/taro-components/p-b89414d7.entry.js +1 -0
- package/dist/taro-components/p-b90499e4.entry.js +1 -0
- package/dist/taro-components/p-b9446784.js +1 -0
- package/dist/taro-components/p-baed3510.js +1 -0
- package/dist/taro-components/p-bcceaa84.entry.js +1 -0
- package/dist/taro-components/{p-ee17fc14.entry.js → p-bd7613d0.js} +1 -1
- package/dist/taro-components/{p-f2fb4988.entry.js → p-beae3fe0.js} +1 -1
- package/dist/taro-components/p-c0687b94.js +1 -0
- package/dist/taro-components/p-c09eb36f.entry.js +1 -0
- package/dist/taro-components/p-c3a8af99.js +1 -0
- package/dist/taro-components/p-c3cf4884.js +1 -0
- package/dist/taro-components/p-c3d39813.entry.js +1 -0
- package/dist/taro-components/p-c48b7222.js +1 -0
- package/dist/taro-components/p-c5666cb2.js +1 -0
- package/dist/taro-components/p-c5c71b89.entry.js +1 -0
- package/dist/taro-components/p-c66f2363.entry.js +1 -0
- package/dist/taro-components/{p-27392e58.entry.js → p-c7f9e228.js} +1 -1
- package/dist/taro-components/p-c84153ae.entry.js +1 -0
- package/dist/taro-components/p-c872ed50.js +1 -0
- package/dist/taro-components/p-c9a01a1f.js +1 -0
- package/dist/taro-components/{p-ca3322c9.entry.js → p-cae824d1.js} +1 -1
- package/dist/taro-components/p-cb7e1d6e.entry.js +1 -0
- package/dist/taro-components/p-cdeebf36.entry.js +1 -0
- package/dist/taro-components/p-d11af89d.js +1 -0
- package/dist/taro-components/{p-07864e09.entry.js → p-d1a1274a.js} +1 -1
- package/dist/taro-components/p-d45a75d9.entry.js +1 -0
- package/dist/taro-components/p-d5773721.js +1 -0
- package/dist/taro-components/p-d5f0d48c.js +1 -0
- package/dist/taro-components/p-d6be1ceb.entry.js +1 -0
- package/dist/taro-components/p-da4fcba5.js +1 -0
- package/dist/taro-components/p-dd0d7e20.js +1 -0
- package/dist/taro-components/p-df86c576.entry.js +1 -0
- package/dist/taro-components/p-e0de8e35.entry.js +1 -0
- package/dist/taro-components/p-e298a2c3.entry.js +1 -0
- package/dist/taro-components/p-e3de8581.js +1 -0
- package/dist/taro-components/p-e6565988.entry.js +1 -0
- package/dist/taro-components/p-e6643dc0.entry.js +1 -0
- package/dist/taro-components/p-e87d4a75.entry.js +1 -0
- package/dist/taro-components/p-ea5d6d41.entry.js +1 -0
- package/dist/taro-components/p-eac9f475.entry.js +1 -0
- package/dist/taro-components/p-edab4852.entry.js +1 -0
- package/dist/taro-components/p-ee9bae70.js +1 -0
- package/dist/taro-components/p-eee2d2f9.entry.js +1 -0
- package/dist/taro-components/p-f441b5e7.js +1 -0
- package/dist/taro-components/p-f52b25aa.entry.js +1 -0
- package/dist/taro-components/p-f57bed55.entry.js +1 -0
- package/dist/taro-components/p-f6e5beeb.js +1 -0
- package/dist/taro-components/p-fa398c76.entry.js +1 -0
- package/dist/taro-components/p-fe1c20a9.entry.js +1 -0
- package/dist/taro-components/p-febc484e.js +1 -0
- package/dist/taro-components/p-ffcacf9a.entry.js +1 -0
- package/dist/taro-components/p-fff1a810.js +1 -0
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/types/components/ad/index.d.ts +1 -0
- package/dist/types/components/ad-custom/index.d.ts +1 -0
- package/dist/types/components/animation-video/index.d.ts +1 -0
- package/dist/types/components/animation-view/index.d.ts +1 -0
- package/dist/types/components/ar-camera/index.d.ts +1 -0
- package/dist/types/components/audio/index.d.ts +1 -0
- package/dist/types/components/aweme-data/index.d.ts +1 -0
- package/dist/types/components/block/index.d.ts +1 -0
- package/dist/types/components/button/index.d.ts +1 -0
- package/dist/types/components/camera/index.d.ts +1 -0
- package/dist/types/components/canvas/index.d.ts +1 -0
- package/dist/types/components/channel-live/index.d.ts +1 -0
- package/dist/types/components/channel-video/index.d.ts +1 -0
- package/dist/types/components/checkbox/index.d.ts +2 -0
- package/dist/types/components/comment/index.d.ts +2 -0
- package/dist/types/components/contact-button/index.d.ts +1 -0
- package/dist/types/components/cover-image/index.d.ts +1 -0
- package/dist/types/components/cover-view/index.d.ts +1 -0
- package/dist/types/components/custom-wrapper/index.d.ts +1 -0
- package/dist/types/components/double-tap-gesture-handler/index.d.ts +1 -0
- package/dist/types/components/draggable-sheet/index.d.ts +1 -0
- package/dist/types/components/editor/index.d.ts +1 -0
- package/dist/types/components/follow-swan/index.d.ts +1 -0
- package/dist/types/components/force-press-gesture-handler/index.d.ts +1 -0
- package/dist/types/components/form/index.d.ts +1 -0
- package/dist/types/components/functional-page-navigator/index.d.ts +1 -0
- package/dist/types/components/grid-builder/index.d.ts +1 -0
- package/dist/types/components/grid-view/index.d.ts +1 -0
- package/dist/types/components/horizontal-drag-gesture-handler/index.d.ts +1 -0
- package/dist/types/components/icon/index.d.ts +1 -0
- package/dist/types/components/image/index.d.ts +1 -0
- package/dist/types/components/index.d.ts +87 -0
- package/dist/types/components/inline-payment-panel/index.d.ts +1 -0
- package/dist/types/components/input/index.d.ts +1 -0
- package/dist/types/components/keyboard-accessory/index.d.ts +1 -0
- package/dist/types/components/label/index.d.ts +1 -0
- package/dist/types/components/lifestyle/index.d.ts +1 -0
- package/dist/types/components/like/index.d.ts +1 -0
- package/dist/types/components/list-builder/index.d.ts +1 -0
- package/dist/types/components/list-view/index.d.ts +1 -0
- package/dist/types/components/live-player/index.d.ts +1 -0
- package/dist/types/components/live-pusher/index.d.ts +1 -0
- package/dist/types/components/login/index.d.ts +1 -0
- package/dist/types/components/long-press-gesture-handler/index.d.ts +1 -0
- package/dist/types/components/lottie/index.d.ts +1 -0
- package/dist/types/components/map/index.d.ts +1 -0
- package/dist/types/components/match-media/index.d.ts +1 -0
- package/dist/types/components/movable-area/index.d.ts +2 -0
- package/dist/types/components/navigation-bar/index.d.ts +1 -0
- package/dist/types/components/navigator/index.d.ts +1 -0
- package/dist/types/components/nested-scroll-body/index.d.ts +1 -0
- package/dist/types/components/nested-scroll-header/index.d.ts +1 -0
- package/dist/types/components/official-account/index.d.ts +1 -0
- package/dist/types/components/open-container/index.d.ts +1 -0
- package/dist/types/components/open-data/index.d.ts +1 -0
- package/dist/types/components/page-container/index.d.ts +1 -0
- package/dist/types/components/page-meta/index.d.ts +1 -0
- package/dist/types/components/pan-gesture-handler/index.d.ts +1 -0
- package/dist/types/components/picker/index.d.ts +2 -0
- package/dist/types/components/picker-view/index.d.ts +2 -0
- package/dist/types/components/progress/index.d.ts +1 -0
- package/dist/types/components/pull-to-refresh/index.d.ts +1 -0
- package/dist/types/components/radio/index.d.ts +2 -0
- package/dist/types/components/rich-text/index.d.ts +1 -0
- package/dist/types/components/root-portal/index.d.ts +1 -0
- package/dist/types/components/rtc-room/index.d.ts +2 -0
- package/dist/types/components/scale-gesture-handler/index.d.ts +1 -0
- package/dist/types/components/script/index.d.ts +1 -0
- package/dist/types/components/scroll-view/index.d.ts +1 -0
- package/dist/types/components/share-element/index.d.ts +1 -0
- package/dist/types/components/slider/index.d.ts +1 -0
- package/dist/types/components/slot/index.d.ts +2 -0
- package/dist/types/components/snapshot/index.d.ts +1 -0
- package/dist/types/components/span/index.d.ts +1 -0
- package/dist/types/components/sticky-header/index.d.ts +1 -0
- package/dist/types/components/sticky-section/index.d.ts +1 -0
- package/dist/types/components/swiper/index.d.ts +2 -0
- package/dist/types/components/switch/index.d.ts +1 -0
- package/dist/types/components/tabbar/index.d.ts +2 -0
- package/dist/types/components/tabs/index.d.ts +2 -0
- package/dist/types/components/tap-gesture-handler/index.d.ts +1 -0
- package/dist/types/components/text/index.d.ts +1 -0
- package/dist/types/components/textarea/index.d.ts +1 -0
- package/dist/types/components/vertical-drag-gesture-handler/index.d.ts +1 -0
- package/dist/types/components/video/index.d.ts +3 -0
- package/dist/types/components/view/index.d.ts +1 -0
- package/dist/types/components/voip-room/index.d.ts +1 -0
- package/dist/types/components/web-view/index.d.ts +1 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +5 -5
- package/dist/taro-components/p-00ba8330.entry.js +0 -1
- package/dist/taro-components/p-01285c99.entry.js +0 -1
- package/dist/taro-components/p-028a06be.entry.js +0 -1
- package/dist/taro-components/p-02dfd28a.entry.js +0 -1
- package/dist/taro-components/p-041adaea.entry.js +0 -1
- package/dist/taro-components/p-053f9336.entry.js +0 -1
- package/dist/taro-components/p-0adabf61.entry.js +0 -1
- package/dist/taro-components/p-0ea53611.entry.js +0 -1
- package/dist/taro-components/p-1524f0a7.entry.js +0 -1
- package/dist/taro-components/p-1c499e26.entry.js +0 -1
- package/dist/taro-components/p-1ce39dc0.entry.js +0 -1
- package/dist/taro-components/p-1e0c4a2f.entry.js +0 -1
- package/dist/taro-components/p-1e8b1d53.entry.js +0 -1
- package/dist/taro-components/p-262d3cc6.entry.js +0 -1
- package/dist/taro-components/p-27e67e4c.entry.js +0 -1
- package/dist/taro-components/p-2f681c42.entry.js +0 -1
- package/dist/taro-components/p-2f7ecf80.entry.js +0 -1
- package/dist/taro-components/p-349011e5.entry.js +0 -1
- package/dist/taro-components/p-37774f52.entry.js +0 -1
- package/dist/taro-components/p-3a0afbaa.entry.js +0 -1
- package/dist/taro-components/p-3aabc29c.entry.js +0 -1
- package/dist/taro-components/p-3fe35d51.entry.js +0 -1
- package/dist/taro-components/p-41d62a49.entry.js +0 -1
- package/dist/taro-components/p-452f2d23.entry.js +0 -1
- package/dist/taro-components/p-45415f8a.entry.js +0 -1
- package/dist/taro-components/p-4db97a66.entry.js +0 -1
- package/dist/taro-components/p-523197fa.entry.js +0 -1
- package/dist/taro-components/p-53f2859c.entry.js +0 -1
- package/dist/taro-components/p-553ab0f6.entry.js +0 -1
- package/dist/taro-components/p-5e4fa085.entry.js +0 -1
- package/dist/taro-components/p-5efcb8c2.entry.js +0 -1
- package/dist/taro-components/p-5efe8af4.entry.js +0 -1
- package/dist/taro-components/p-64476900.entry.js +0 -1
- package/dist/taro-components/p-64eab0b1.entry.js +0 -1
- package/dist/taro-components/p-67c93469.entry.js +0 -1
- package/dist/taro-components/p-6c93f8b0.entry.js +0 -1
- package/dist/taro-components/p-716f9758.entry.js +0 -1
- package/dist/taro-components/p-72dc94f1.entry.js +0 -1
- package/dist/taro-components/p-763b130b.entry.js +0 -1
- package/dist/taro-components/p-79a3916f.entry.js +0 -1
- package/dist/taro-components/p-82699c7b.entry.js +0 -1
- package/dist/taro-components/p-9108e872.entry.js +0 -1
- package/dist/taro-components/p-96054089.entry.js +0 -1
- package/dist/taro-components/p-98ce7aae.entry.js +0 -1
- package/dist/taro-components/p-9b1d4fbc.entry.js +0 -1
- package/dist/taro-components/p-9cfe7bc7.entry.js +0 -1
- package/dist/taro-components/p-a4b9f9b8.entry.js +0 -1
- package/dist/taro-components/p-aabad1f7.entry.js +0 -1
- package/dist/taro-components/p-ac41c34a.entry.js +0 -1
- package/dist/taro-components/p-b4eb9ea9.entry.js +0 -1
- package/dist/taro-components/p-bd725f0c.entry.js +0 -1
- package/dist/taro-components/p-c27955cc.entry.js +0 -1
- package/dist/taro-components/p-c56d7ae1.entry.js +0 -1
- package/dist/taro-components/p-c7457e18.entry.js +0 -1
- package/dist/taro-components/p-c7e2387f.entry.js +0 -1
- package/dist/taro-components/p-c961a230.entry.js +0 -1
- package/dist/taro-components/p-ced965cb.entry.js +0 -1
- package/dist/taro-components/p-d638dd70.entry.js +0 -1
- package/dist/taro-components/p-d8a90cf1.entry.js +0 -1
- package/dist/taro-components/p-e13bf240.entry.js +0 -1
- package/dist/taro-components/p-e1975260.entry.js +0 -1
- package/dist/taro-components/p-e3354af8.entry.js +0 -1
- package/dist/taro-components/p-e5615469.entry.js +0 -1
- package/dist/taro-components/p-e6f1912a.entry.js +0 -1
- package/dist/taro-components/p-ea77d5fe.entry.js +0 -1
- package/dist/taro-components/p-eb1fe297.entry.js +0 -1
- package/dist/taro-components/p-ecd3afe8.entry.js +0 -1
- package/dist/taro-components/p-f3de0aa9.entry.js +0 -1
- package/dist/taro-components/p-f997a7a2.entry.js +0 -1
- package/dist/taro-components/p-fd0a7b45.entry.js +0 -1
- package/dist/taro-components/p-ffab09c1.entry.js +0 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0004ce39.js';
|
|
2
|
+
import { n as notSupport } from './helper-8a85bb65.js';
|
|
3
|
+
|
|
4
|
+
const Camera = class {
|
|
5
|
+
constructor(hostRef) {
|
|
6
|
+
registerInstance(this, hostRef);
|
|
7
|
+
}
|
|
8
|
+
componentDidLoad() {
|
|
9
|
+
notSupport('Camera', this);
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h(Host, null));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { Camera as C };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-0004ce39.js';
|
|
2
|
+
|
|
3
|
+
const indexCss = "taro-canvas-core{width:300px;height:150px;display:block;position:relative}";
|
|
4
|
+
|
|
5
|
+
const LONG_TAP_DELAY = 500;
|
|
6
|
+
const Canvas = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.onLongTap = createEvent(this, "longtap", 7);
|
|
10
|
+
this.onTouchStart = () => {
|
|
11
|
+
this.timer = setTimeout(() => {
|
|
12
|
+
this.onLongTap.emit();
|
|
13
|
+
}, LONG_TAP_DELAY);
|
|
14
|
+
};
|
|
15
|
+
this.onTouchMove = () => {
|
|
16
|
+
clearTimeout(this.timer);
|
|
17
|
+
};
|
|
18
|
+
this.onTouchEnd = () => {
|
|
19
|
+
clearTimeout(this.timer);
|
|
20
|
+
};
|
|
21
|
+
this.canvasId = undefined;
|
|
22
|
+
this.height = undefined;
|
|
23
|
+
this.width = undefined;
|
|
24
|
+
this.nativeProps = {};
|
|
25
|
+
}
|
|
26
|
+
componentDidRender() {
|
|
27
|
+
const [canvas] = this.el.children;
|
|
28
|
+
if (!this.height || !this.width) {
|
|
29
|
+
let style = window.getComputedStyle(canvas);
|
|
30
|
+
this.height || (this.height = style.height);
|
|
31
|
+
this.width || (this.width = style.width);
|
|
32
|
+
}
|
|
33
|
+
canvas.height = parseInt(this.height);
|
|
34
|
+
canvas.width = parseInt(this.width);
|
|
35
|
+
}
|
|
36
|
+
render() {
|
|
37
|
+
const { canvasId, nativeProps } = this;
|
|
38
|
+
return (h("canvas", Object.assign({ "canvas-id": canvasId, style: {
|
|
39
|
+
width: '100%',
|
|
40
|
+
height: '100%'
|
|
41
|
+
}, onTouchStart: this.onTouchStart, onTouchMove: this.onTouchMove, onTouchCancel: this.onTouchEnd, onTouchEnd: this.onTouchEnd }, nativeProps)));
|
|
42
|
+
}
|
|
43
|
+
get el() { return getElement(this); }
|
|
44
|
+
};
|
|
45
|
+
Canvas.style = indexCss;
|
|
46
|
+
|
|
47
|
+
export { Canvas as C };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0004ce39.js';
|
|
2
|
+
import { n as notSupport } from './helper-8a85bb65.js';
|
|
3
|
+
|
|
4
|
+
const ChannelLive = class {
|
|
5
|
+
constructor(hostRef) {
|
|
6
|
+
registerInstance(this, hostRef);
|
|
7
|
+
}
|
|
8
|
+
componentDidLoad() {
|
|
9
|
+
notSupport('ChannelLive', this);
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h(Host, null));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { ChannelLive as C };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0004ce39.js';
|
|
2
|
+
import { n as notSupport } from './helper-8a85bb65.js';
|
|
3
|
+
|
|
4
|
+
const ChannelVideo = class {
|
|
5
|
+
constructor(hostRef) {
|
|
6
|
+
registerInstance(this, hostRef);
|
|
7
|
+
}
|
|
8
|
+
componentDidLoad() {
|
|
9
|
+
notSupport('ChannelVideo', this);
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h(Host, null));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { ChannelVideo as C };
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement, H as Host } from './index-0004ce39.js';
|
|
2
|
+
|
|
3
|
+
var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
4
|
+
if (kind === "m")
|
|
5
|
+
throw new TypeError("Private method is not writable");
|
|
6
|
+
if (kind === "a" && !f)
|
|
7
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
8
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
9
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
10
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
11
|
+
};
|
|
12
|
+
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
13
|
+
if (kind === "a" && !f)
|
|
14
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
15
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
16
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
17
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
18
|
+
};
|
|
19
|
+
var _CheckboxGroup_value;
|
|
20
|
+
const CheckboxGroup = class {
|
|
21
|
+
constructor(hostRef) {
|
|
22
|
+
registerInstance(this, hostRef);
|
|
23
|
+
this.onChange = createEvent(this, "change", 7);
|
|
24
|
+
this.uniqueName = Date.now().toString(36);
|
|
25
|
+
_CheckboxGroup_value.set(this, void 0);
|
|
26
|
+
this.name = undefined;
|
|
27
|
+
}
|
|
28
|
+
function(e) {
|
|
29
|
+
e.stopPropagation();
|
|
30
|
+
if (e.target.tagName !== 'TARO-CHECKBOX-CORE')
|
|
31
|
+
return;
|
|
32
|
+
const childList = this.el.querySelectorAll('taro-checkbox-core');
|
|
33
|
+
__classPrivateFieldSet(this, _CheckboxGroup_value, this.getValues(childList), "f");
|
|
34
|
+
this.onChange.emit({
|
|
35
|
+
value: __classPrivateFieldGet(this, _CheckboxGroup_value, "f")
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
componentDidLoad() {
|
|
39
|
+
const childList = this.el.querySelectorAll('taro-checkbox-core');
|
|
40
|
+
childList.forEach((element) => {
|
|
41
|
+
element.setAttribute('name', this.name || this.uniqueName);
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(this.el, 'value', {
|
|
44
|
+
get: () => {
|
|
45
|
+
if (!__classPrivateFieldGet(this, _CheckboxGroup_value, "f")) {
|
|
46
|
+
const childList = this.el.querySelectorAll('taro-checkbox-core');
|
|
47
|
+
__classPrivateFieldSet(this, _CheckboxGroup_value, this.getValues(childList), "f");
|
|
48
|
+
}
|
|
49
|
+
return __classPrivateFieldGet(this, _CheckboxGroup_value, "f");
|
|
50
|
+
},
|
|
51
|
+
configurable: true
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
getValues(childList) {
|
|
55
|
+
return Array.from(childList)
|
|
56
|
+
.filter(element => {
|
|
57
|
+
const checkbox = element.querySelector('input');
|
|
58
|
+
return checkbox === null || checkbox === void 0 ? void 0 : checkbox.checked;
|
|
59
|
+
})
|
|
60
|
+
.map(element => element.value);
|
|
61
|
+
}
|
|
62
|
+
render() {
|
|
63
|
+
return (h(Host, null));
|
|
64
|
+
}
|
|
65
|
+
get el() { return getElement(this); }
|
|
66
|
+
};
|
|
67
|
+
_CheckboxGroup_value = new WeakMap();
|
|
68
|
+
|
|
69
|
+
const indexCss = "page,body{--weui-cellMarginLR:16px;--weui-cellPaddingLR:16px}.weui-cells__group{border:0}.weui-cells__group:first-child{margin-top:0}.weui-cells__group_form{margin-top:24px}.weui-cells__group_form .weui-cells{margin-left:var(--weui-cellMarginLR);margin-right:var(--weui-cellMarginLR)}.weui-cells__group_form .weui-cells:before,.weui-cells__group_form .weui-cells:after{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell{padding:16px var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:before{left:var(--weui-cellPaddingLR);right:var(--weui-cellPaddingLR)}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__hd{padding-right:16px}.weui-cells__group_form .weui-cell:not(.weui-cell_vertical) .weui-cell__ft{padding-left:16px}.weui-cells__group_form .weui-cells__title{margin-top:24px;margin-bottom:8px;padding:0 32px}.weui-cells__group_form:first-child .weui-cells__title{margin-top:0}.weui-cells__group_form .weui-cells__tips{padding:0 calc(var(--weui-cellMarginLR) + var(--weui-cellPaddingLR));color:var(--weui-FG-2);margin-top:8px}.weui-cells__group_form .weui-cells__tips a{font-weight:700}.weui-cells__group_form .weui-cells__tips_warn{color:var(--weui-RED)}.weui-cells__group_form .weui-label{max-width:5em;margin-right:8px}.weui-cells__group_form .weui-cell_access:active:after,.weui-cells__group_form .weui-cell_active:active:after{border-radius:8px}.weui-cells__group_form .weui-cell_warn input{color:#e64340}.weui-cells__group_form .weui-icon-warn,.weui-cells__group_form .weui-cell_switch:active:after,.weui-cells__group_form .weui-cell_vcode:active:after,.weui-cells__group_form .weui-cell_readonly:active:after,.weui-cells__group_form .weui-cell_disabled:active:after{display:none}.weui-cells__group_form input,.weui-cells__group_form textarea,.weui-cells__group_form label[for]{-webkit-tap-highlight-color:transparent}.weui-cells__group_form .weui-cell_wrap{align-items:initial;padding-top:8px;padding-bottom:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_wrap .weui-label{margin-top:8px}.weui-cells__group_form .weui-cell_wrap .weui-cell__bd{flex-wrap:wrap;align-items:center;display:flex}.weui-cells__group_form .weui-cell__control{margin:8px 0 8px 16px}.weui-cells__group_form .weui-cell__control_flex{flex:1;min-width:30vw}.weui-cells__group_form .weui-vcode-btn{color:#000;background-color:#f8f8f8;border-radius:6px;width:auto;height:auto;padding:0 12px;font-size:16px;line-height:2}.weui-cells__group_form .weui-vcode-btn:before{display:none}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap{padding-top:4px;padding-bottom:4px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-label{margin-top:12px}.weui-cells__group_form .weui-cell_vcode.weui-cell_wrap .weui-input{min-height:1.88235em;font-size:17px}.weui-cells__group_form .weui-cells_checkbox .weui-check__label:before{left:calc(40px + var(--weui-cellPaddingLR))}.weui-cells__group_form .weui-cell_select{padding:0}.weui-cells__group_form .weui-cell_select-before .weui-cell__hd{padding-right:0}.weui-cells__group_form .weui-cell_switch{padding:12px 16px}.weui-cells__group_form-primary{margin-top:32px}.weui-cells__group_form-primary .weui-cells{background:var(--weui-BG-1);border-radius:8px;overflow:hidden}.weui-cells__group_form-primary .weui-cells:before,.weui-cells__group_form-primary .weui-cells:after{display:none}.weui-cells__group_form-primary .weui-cell_access:active:after,.weui-cells__group_form-primary .weui-cell_active:active:after{border-radius:0}.taro-checkbox{display:inline-block;position:relative}.taro-checkbox_checked{appearance:none;vertical-align:0;color:#1aad19;background-color:#fff;border:1px solid #d1d1d1;border-radius:3px;outline:0;width:23px;height:23px;min-height:0;font-size:23px;display:inline-block;position:relative;top:5px}.taro-checkbox_checked:checked:before{vertical-align:middle;text-decoration:inherit;text-align:center;text-transform:none;font-variant:normal;font-family:weui;font-style:normal;font-weight:400;font-size:inherit;color:inherit;content:\"\";speak:none;display:inline-block;position:absolute;top:50%;left:50%;transform:translate(-50%,-48%)scale(.73)}";
|
|
70
|
+
|
|
71
|
+
const Checkbox = class {
|
|
72
|
+
constructor(hostRef) {
|
|
73
|
+
registerInstance(this, hostRef);
|
|
74
|
+
this.onChange = createEvent(this, "checkboxchange", 7);
|
|
75
|
+
this.handleChange = (e) => {
|
|
76
|
+
e.stopPropagation();
|
|
77
|
+
this.onChange.emit({
|
|
78
|
+
value: this.value
|
|
79
|
+
});
|
|
80
|
+
};
|
|
81
|
+
this.name = undefined;
|
|
82
|
+
this.value = '';
|
|
83
|
+
this.color = undefined;
|
|
84
|
+
this.id = undefined;
|
|
85
|
+
this.checked = false;
|
|
86
|
+
this.disabled = false;
|
|
87
|
+
this.nativeProps = {};
|
|
88
|
+
this.isWillLoadCalled = false;
|
|
89
|
+
}
|
|
90
|
+
watchId(newVal) {
|
|
91
|
+
if (!this.isWillLoadCalled)
|
|
92
|
+
return;
|
|
93
|
+
if (newVal)
|
|
94
|
+
this.inputEl.setAttribute('id', newVal);
|
|
95
|
+
}
|
|
96
|
+
componentWillLoad() {
|
|
97
|
+
this.isWillLoadCalled = true;
|
|
98
|
+
}
|
|
99
|
+
componentDidRender() {
|
|
100
|
+
this.id && this.el.removeAttribute('id');
|
|
101
|
+
}
|
|
102
|
+
render() {
|
|
103
|
+
const { checked, name, color, value, disabled, nativeProps } = this;
|
|
104
|
+
return (h(Host, { class: 'weui-cells_checkbox' }, h("input", Object.assign({ ref: dom => {
|
|
105
|
+
if (!dom)
|
|
106
|
+
return;
|
|
107
|
+
this.inputEl = dom;
|
|
108
|
+
if (this.id)
|
|
109
|
+
dom.setAttribute('id', this.id);
|
|
110
|
+
}, type: 'checkbox', value: value, name: name, class: 'taro-checkbox_checked', style: { color }, checked: checked, disabled: disabled, onChange: this.handleChange }, nativeProps)), h("slot", null)));
|
|
111
|
+
}
|
|
112
|
+
get el() { return getElement(this); }
|
|
113
|
+
static get watchers() { return {
|
|
114
|
+
"id": ["watchId"]
|
|
115
|
+
}; }
|
|
116
|
+
};
|
|
117
|
+
Checkbox.style = indexCss;
|
|
118
|
+
|
|
119
|
+
export { CheckboxGroup as C, Checkbox as a };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0004ce39.js';
|
|
2
|
+
import { n as notSupport } from './helper-8a85bb65.js';
|
|
3
|
+
|
|
4
|
+
const CommentDetail = class {
|
|
5
|
+
constructor(hostRef) {
|
|
6
|
+
registerInstance(this, hostRef);
|
|
7
|
+
}
|
|
8
|
+
componentDidLoad() {
|
|
9
|
+
notSupport('CommentDetail', this);
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h(Host, null));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { CommentDetail as C };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0004ce39.js';
|
|
2
|
+
import { n as notSupport } from './helper-8a85bb65.js';
|
|
3
|
+
|
|
4
|
+
const CommentList = class {
|
|
5
|
+
constructor(hostRef) {
|
|
6
|
+
registerInstance(this, hostRef);
|
|
7
|
+
}
|
|
8
|
+
componentDidLoad() {
|
|
9
|
+
notSupport('CommentList', this);
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h(Host, null));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { CommentList as C };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0004ce39.js';
|
|
2
|
+
import { n as notSupport } from './helper-8a85bb65.js';
|
|
3
|
+
|
|
4
|
+
const ContactButton = class {
|
|
5
|
+
constructor(hostRef) {
|
|
6
|
+
registerInstance(this, hostRef);
|
|
7
|
+
}
|
|
8
|
+
componentDidLoad() {
|
|
9
|
+
notSupport('ContactButton', this);
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h(Host, null));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { ContactButton as C };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h } from './index-0004ce39.js';
|
|
2
|
+
|
|
3
|
+
const indexCss = "taro-cover-image-core{width:320px;height:240px;overflow:hidden}";
|
|
4
|
+
|
|
5
|
+
const CoverImage = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
this.onLoad = createEvent(this, "load", 7);
|
|
9
|
+
this.onError = createEvent(this, "error", 7);
|
|
10
|
+
this.src = undefined;
|
|
11
|
+
this.nativeProps = {};
|
|
12
|
+
}
|
|
13
|
+
imageOnLoad() {
|
|
14
|
+
const { width, height, } = this.imgRef;
|
|
15
|
+
this.onLoad.emit({
|
|
16
|
+
width,
|
|
17
|
+
height
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
imageOnError(e) {
|
|
21
|
+
this.onError.emit(e);
|
|
22
|
+
}
|
|
23
|
+
render() {
|
|
24
|
+
const { src, imageOnLoad, imageOnError, nativeProps } = this;
|
|
25
|
+
return (h("img", Object.assign({ ref: img => (this.imgRef = img), src: src, onLoad: imageOnLoad.bind(this), onError: imageOnError.bind(this) }, nativeProps)));
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
CoverImage.style = indexCss;
|
|
29
|
+
|
|
30
|
+
export { CoverImage as C };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, H as Host } from './index-0004ce39.js';
|
|
2
|
+
import { c as classnames } from './index-b9522531.js';
|
|
3
|
+
|
|
4
|
+
const coverViewCss = "taro-cover-view-core{display:block}";
|
|
5
|
+
|
|
6
|
+
const CoverView = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.onLongPress = createEvent(this, "longpress", 7);
|
|
10
|
+
this.startTime = 0;
|
|
11
|
+
this.animation = undefined;
|
|
12
|
+
this.hoverClass = undefined;
|
|
13
|
+
this.hoverStartTime = 50;
|
|
14
|
+
this.hoverStayTime = 400;
|
|
15
|
+
this.hover = false;
|
|
16
|
+
this.touch = false;
|
|
17
|
+
}
|
|
18
|
+
onTouchStart() {
|
|
19
|
+
if (this.hoverClass) {
|
|
20
|
+
this.touch = true;
|
|
21
|
+
setTimeout(() => {
|
|
22
|
+
if (this.touch) {
|
|
23
|
+
this.hover = true;
|
|
24
|
+
}
|
|
25
|
+
}, this.hoverStartTime);
|
|
26
|
+
}
|
|
27
|
+
this.timeoutEvent = setTimeout(() => {
|
|
28
|
+
this.onLongPress.emit();
|
|
29
|
+
}, 350);
|
|
30
|
+
this.startTime = Date.now();
|
|
31
|
+
}
|
|
32
|
+
onTouchMove() {
|
|
33
|
+
clearTimeout(this.timeoutEvent);
|
|
34
|
+
}
|
|
35
|
+
onTouchEnd() {
|
|
36
|
+
const spanTime = Date.now() - this.startTime;
|
|
37
|
+
if (spanTime < 350) {
|
|
38
|
+
clearTimeout(this.timeoutEvent);
|
|
39
|
+
}
|
|
40
|
+
if (this.hoverClass) {
|
|
41
|
+
this.touch = false;
|
|
42
|
+
setTimeout(() => {
|
|
43
|
+
if (!this.touch) {
|
|
44
|
+
this.hover = false;
|
|
45
|
+
}
|
|
46
|
+
}, this.hoverStayTime);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
render() {
|
|
50
|
+
const cls = classnames({
|
|
51
|
+
[`${this.hoverClass}`]: this.hover
|
|
52
|
+
});
|
|
53
|
+
let attr = {};
|
|
54
|
+
if (!!this.animation) {
|
|
55
|
+
attr['animation'] = this.animation;
|
|
56
|
+
attr['data-animation'] = this.animation;
|
|
57
|
+
}
|
|
58
|
+
return (h(Host, Object.assign({ class: cls }, attr), h("slot", null)));
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
CoverView.style = coverViewCss;
|
|
62
|
+
|
|
63
|
+
export { CoverView as C };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0004ce39.js';
|
|
2
|
+
|
|
3
|
+
const CustomWrapper = class {
|
|
4
|
+
constructor(hostRef) {
|
|
5
|
+
registerInstance(this, hostRef);
|
|
6
|
+
}
|
|
7
|
+
render() {
|
|
8
|
+
return (h(Host, null));
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export { CustomWrapper as C };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0004ce39.js';
|
|
2
|
+
import { n as notSupport } from './helper-8a85bb65.js';
|
|
3
|
+
|
|
4
|
+
const DraggableSheet = class {
|
|
5
|
+
constructor(hostRef) {
|
|
6
|
+
registerInstance(this, hostRef);
|
|
7
|
+
}
|
|
8
|
+
componentDidLoad() {
|
|
9
|
+
notSupport('DraggableSheet', this);
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h(Host, null));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { DraggableSheet as D };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0004ce39.js';
|
|
2
|
+
import { n as notSupport } from './helper-8a85bb65.js';
|
|
3
|
+
|
|
4
|
+
const Editor = class {
|
|
5
|
+
constructor(hostRef) {
|
|
6
|
+
registerInstance(this, hostRef);
|
|
7
|
+
}
|
|
8
|
+
componentDidLoad() {
|
|
9
|
+
notSupport('Editor', this);
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h(Host, null));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { Editor as E };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0004ce39.js';
|
|
2
|
+
import { n as notSupport } from './helper-8a85bb65.js';
|
|
3
|
+
|
|
4
|
+
const FollowSwan = class {
|
|
5
|
+
constructor(hostRef) {
|
|
6
|
+
registerInstance(this, hostRef);
|
|
7
|
+
}
|
|
8
|
+
componentDidLoad() {
|
|
9
|
+
notSupport('FollowSwan', this);
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h(Host, null));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { FollowSwan as F };
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-0004ce39.js';
|
|
2
|
+
|
|
3
|
+
var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
4
|
+
if (kind === "m")
|
|
5
|
+
throw new TypeError("Private method is not writable");
|
|
6
|
+
if (kind === "a" && !f)
|
|
7
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
8
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
9
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
10
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
11
|
+
};
|
|
12
|
+
var __classPrivateFieldGet = (undefined && undefined.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
13
|
+
if (kind === "a" && !f)
|
|
14
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
15
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
16
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
17
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
18
|
+
};
|
|
19
|
+
var _Form_value;
|
|
20
|
+
const Form = class {
|
|
21
|
+
constructor(hostRef) {
|
|
22
|
+
registerInstance(this, hostRef);
|
|
23
|
+
this.onSubmit = createEvent(this, "submit", 7);
|
|
24
|
+
_Form_value.set(this, {});
|
|
25
|
+
}
|
|
26
|
+
onButtonSubmit(e) {
|
|
27
|
+
e.stopPropagation();
|
|
28
|
+
__classPrivateFieldSet(this, _Form_value, this.getFormValue(), "f");
|
|
29
|
+
this.onSubmit.emit({
|
|
30
|
+
value: __classPrivateFieldGet(this, _Form_value, "f")
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
onButtonReset(e) {
|
|
34
|
+
e.stopPropagation();
|
|
35
|
+
this.form.reset();
|
|
36
|
+
}
|
|
37
|
+
componentDidLoad() {
|
|
38
|
+
__classPrivateFieldSet(this, _Form_value, this.getFormValue(), "f");
|
|
39
|
+
Object.defineProperty(this.el, 'value', {
|
|
40
|
+
get: () => __classPrivateFieldGet(this, _Form_value, "f"),
|
|
41
|
+
configurable: true
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
componentDidRender() {
|
|
45
|
+
if (!this.originalAppendChild) {
|
|
46
|
+
this.originalAppendChild = this.el.appendChild;
|
|
47
|
+
this.originalInsertBefore = this.el.insertBefore;
|
|
48
|
+
this.originalReplaceChild = this.el.replaceChild;
|
|
49
|
+
this.originalRemoveChild = this.el.removeChild;
|
|
50
|
+
}
|
|
51
|
+
if (!this.form) {
|
|
52
|
+
this.el.appendChild = this.originalAppendChild;
|
|
53
|
+
this.el.insertBefore = this.originalInsertBefore;
|
|
54
|
+
this.el.replaceChild = this.originalReplaceChild;
|
|
55
|
+
this.el.removeChild = this.originalRemoveChild;
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
this.el.appendChild = (newChild) => {
|
|
59
|
+
return this.form.appendChild(newChild);
|
|
60
|
+
};
|
|
61
|
+
this.el.insertBefore = (newChild, refChild) => {
|
|
62
|
+
return this.form.insertBefore(newChild, refChild);
|
|
63
|
+
};
|
|
64
|
+
this.el.replaceChild = (newChild, oldChild) => {
|
|
65
|
+
return this.form.replaceChild(newChild, oldChild);
|
|
66
|
+
};
|
|
67
|
+
this.el.removeChild = (oldChild) => {
|
|
68
|
+
return this.form.removeChild(oldChild);
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
getFormValue() {
|
|
72
|
+
const el = this.el;
|
|
73
|
+
const elements = [];
|
|
74
|
+
const tagElements = el.getElementsByTagName('input');
|
|
75
|
+
for (let j = 0; j < tagElements.length; j++) {
|
|
76
|
+
elements.push(tagElements[j]);
|
|
77
|
+
}
|
|
78
|
+
const formItem = {};
|
|
79
|
+
const hash = {};
|
|
80
|
+
elements.forEach(item => {
|
|
81
|
+
if (typeof item.name !== 'string')
|
|
82
|
+
return;
|
|
83
|
+
if (item.className.indexOf('weui-switch') !== -1) {
|
|
84
|
+
formItem[item.name] = item.checked;
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
if (item.type === 'radio') {
|
|
88
|
+
if (item.checked) {
|
|
89
|
+
hash[item.name] = true;
|
|
90
|
+
formItem[item.name] = item.value;
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
if (!hash[item.name]) {
|
|
94
|
+
formItem[item.name] = '';
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
if (item.type === 'checkbox') {
|
|
100
|
+
if (item.checked) {
|
|
101
|
+
if (hash[item.name]) {
|
|
102
|
+
formItem[item.name].push(item.value);
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
hash[item.name] = true;
|
|
106
|
+
formItem[item.name] = [item.value];
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
if (!hash[item.name]) {
|
|
111
|
+
formItem[item.name] = [];
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
formItem[item.name] = item.value;
|
|
117
|
+
});
|
|
118
|
+
const textareaElements = el.getElementsByTagName('textarea');
|
|
119
|
+
const textareaEleArr = [];
|
|
120
|
+
for (let i = 0; i < textareaElements.length; i++) {
|
|
121
|
+
textareaEleArr.push(textareaElements[i]);
|
|
122
|
+
}
|
|
123
|
+
textareaEleArr.forEach(v => {
|
|
124
|
+
if (typeof v.name !== 'string')
|
|
125
|
+
return;
|
|
126
|
+
formItem[v.name] = v.value;
|
|
127
|
+
});
|
|
128
|
+
return formItem;
|
|
129
|
+
}
|
|
130
|
+
render() {
|
|
131
|
+
return (h("form", { ref: dom => {
|
|
132
|
+
this.form = dom;
|
|
133
|
+
} }, h("slot", null)));
|
|
134
|
+
}
|
|
135
|
+
get el() { return getElement(this); }
|
|
136
|
+
};
|
|
137
|
+
_Form_value = new WeakMap();
|
|
138
|
+
|
|
139
|
+
export { Form as F };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0004ce39.js';
|
|
2
|
+
import { n as notSupport } from './helper-8a85bb65.js';
|
|
3
|
+
|
|
4
|
+
const FunctionalPageNavigator = class {
|
|
5
|
+
constructor(hostRef) {
|
|
6
|
+
registerInstance(this, hostRef);
|
|
7
|
+
}
|
|
8
|
+
componentDidLoad() {
|
|
9
|
+
notSupport('FunctionalPageNavigator', this);
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h(Host, null));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { FunctionalPageNavigator as F };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0004ce39.js';
|
|
2
|
+
import { n as notSupport } from './helper-8a85bb65.js';
|
|
3
|
+
|
|
4
|
+
const GridBuilder = class {
|
|
5
|
+
constructor(hostRef) {
|
|
6
|
+
registerInstance(this, hostRef);
|
|
7
|
+
}
|
|
8
|
+
componentDidLoad() {
|
|
9
|
+
notSupport('GridBuilder', this);
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h(Host, null));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { GridBuilder as G };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0004ce39.js';
|
|
2
|
+
import { n as notSupport } from './helper-8a85bb65.js';
|
|
3
|
+
|
|
4
|
+
const GridView = class {
|
|
5
|
+
constructor(hostRef) {
|
|
6
|
+
registerInstance(this, hostRef);
|
|
7
|
+
}
|
|
8
|
+
componentDidLoad() {
|
|
9
|
+
notSupport('GridView', this);
|
|
10
|
+
}
|
|
11
|
+
render() {
|
|
12
|
+
return (h(Host, null));
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { GridView as G };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { r as registerInstance, h, H as Host } from './index-0004ce39.js';
|
|
2
|
+
import { c as classnames } from './index-b9522531.js';
|
|
3
|
+
|
|
4
|
+
const indexCss = ".weui-icon-circle:before{content:\"\"}.weui-icon-download:before{content:\"\"}.weui-icon-info:before{content:\"\"}.weui-icon-safe-success:before{content:\"\"}.weui-icon-safe-warn:before{content:\"\"}.weui-icon-success:before{content:\"\"}.weui-icon-success-circle:before{content:\"\"}.weui-icon-success-no-circle:before{content:\"\"}.weui-icon-waiting:before{content:\"\"}.weui-icon-waiting-circle:before{content:\"\"}.weui-icon-warn:before{content:\"\"}.weui-icon-info-circle:before{content:\"\"}.weui-icon-cancel:before{content:\"\"}.weui-icon-search:before{content:\"\"}.weui-icon-clear:before{content:\"\"}.weui-icon-back:before{content:\"\"}.weui-icon-delete:before{content:\"\"}.weui-icon-success{color:#09bb07;font-size:23px}.weui-icon-waiting{color:#10aeff;font-size:23px}.weui-icon-warn{color:#f43530;font-size:23px}.weui-icon-info{color:#10aeff;font-size:23px}.weui-icon-success-circle,.weui-icon-success-no-circle{color:#09bb07;font-size:23px}.weui-icon-waiting-circle{color:#10aeff;font-size:23px}.weui-icon-circle{color:#c9c9c9;font-size:23px}.weui-icon-download,.weui-icon-info-circle{color:#09bb07;font-size:23px}.weui-icon-safe-success{color:#09bb07}.weui-icon-safe-warn{color:#ffbe00}.weui-icon-cancel{color:#f43530;font-size:22px}.weui-icon-search,.weui-icon-clear{color:#b2b2b2;font-size:14px}.weui-icon-delete.weui-icon_gallery-delete{color:#fff;font-size:22px}.weui-icon_msg{font-size:93px}.weui-icon_msg.weui-icon-warn{color:#f76260}.weui-icon_msg-primary{font-size:93px}.weui-icon_msg-primary.weui-icon-warn{color:#ffbe00}";
|
|
5
|
+
|
|
6
|
+
const Icon = class {
|
|
7
|
+
constructor(hostRef) {
|
|
8
|
+
registerInstance(this, hostRef);
|
|
9
|
+
this.type = undefined;
|
|
10
|
+
this.size = '23';
|
|
11
|
+
this.color = undefined;
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
const { type, size, color } = this;
|
|
15
|
+
const iconType = type === null || type === void 0 ? void 0 : type.replace(/_/g, '-');
|
|
16
|
+
const cls = classnames({
|
|
17
|
+
[`weui-icon-${iconType}`]: true
|
|
18
|
+
});
|
|
19
|
+
const style = {
|
|
20
|
+
'font-size': `${size}px`,
|
|
21
|
+
color
|
|
22
|
+
};
|
|
23
|
+
return (h(Host, { class: cls, style: style }));
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
Icon.style = indexCss;
|
|
27
|
+
|
|
28
|
+
export { Icon as I };
|