vite-plugin-taro-runtime 0.7.0 → 0.7.1-beta.2
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/README.md +10 -28
- package/dist/api/dist/env.d.ts +15 -0
- package/dist/api/dist/env.js +58 -0
- package/dist/api/dist/env.js.map +1 -0
- package/dist/api/dist/index.d.ts +2 -0
- package/dist/api/dist/index.js +28 -0
- package/dist/api/dist/index.js.map +1 -0
- package/dist/api/dist/interceptor/chain.d.ts +16 -0
- package/dist/api/dist/interceptor/chain.js +30 -0
- package/dist/api/dist/interceptor/chain.js.map +1 -0
- package/dist/api/dist/interceptor/index.d.ts +11 -0
- package/dist/api/dist/interceptor/index.js +30 -0
- package/dist/api/dist/interceptor/index.js.map +1 -0
- package/dist/api/dist/interceptor/interceptors.d.ts +3 -0
- package/dist/api/dist/interceptor/interceptors.js +48 -0
- package/dist/api/dist/interceptor/interceptors.js.map +1 -0
- package/dist/api/dist/tools.d.ts +4 -0
- package/dist/api/dist/tools.js +67 -0
- package/dist/api/dist/tools.js.map +1 -0
- package/dist/components/dist/components/helper.js +24 -0
- package/dist/components/dist/components/index.d.ts +130 -0
- package/dist/components/dist/components/index.js +103 -0
- package/dist/components/dist/components/index2.js +89 -0
- package/dist/components/dist/components/index3.js +39 -0
- package/dist/components/dist/components/picker-group.js +218 -0
- package/dist/components/dist/components/taro-ad-core.d.ts +11 -0
- package/dist/components/dist/components/taro-ad-core.js +33 -0
- package/dist/components/dist/components/taro-ad-custom-core.d.ts +11 -0
- package/dist/components/dist/components/taro-ad-custom-core.js +33 -0
- package/dist/components/dist/components/taro-animation-video-core.d.ts +11 -0
- package/dist/components/dist/components/taro-animation-video-core.js +33 -0
- package/dist/components/dist/components/taro-animation-view-core.d.ts +11 -0
- package/dist/components/dist/components/taro-animation-view-core.js +33 -0
- package/dist/components/dist/components/taro-ar-camera-core.d.ts +11 -0
- package/dist/components/dist/components/taro-ar-camera-core.js +33 -0
- package/dist/components/dist/components/taro-audio-core.d.ts +11 -0
- package/dist/components/dist/components/taro-audio-core.js +78 -0
- package/dist/components/dist/components/taro-aweme-data-core.d.ts +11 -0
- package/dist/components/dist/components/taro-aweme-data-core.js +33 -0
- package/dist/components/dist/components/taro-block-core.d.ts +11 -0
- package/dist/components/dist/components/taro-block-core.js +29 -0
- package/dist/components/dist/components/taro-button-core.d.ts +11 -0
- package/dist/components/dist/components/taro-button-core.js +100 -0
- package/dist/components/dist/components/taro-camera-core.d.ts +11 -0
- package/dist/components/dist/components/taro-camera-core.js +33 -0
- package/dist/components/dist/components/taro-canvas-core.d.ts +11 -0
- package/dist/components/dist/components/taro-canvas-core.js +69 -0
- package/dist/components/dist/components/taro-channel-live-core.d.ts +11 -0
- package/dist/components/dist/components/taro-channel-live-core.js +33 -0
- package/dist/components/dist/components/taro-channel-video-core.d.ts +11 -0
- package/dist/components/dist/components/taro-channel-video-core.js +33 -0
- package/dist/components/dist/components/taro-checkbox-core.d.ts +11 -0
- package/dist/components/dist/components/taro-checkbox-core.js +79 -0
- package/dist/components/dist/components/taro-checkbox-group-core.d.ts +11 -0
- package/dist/components/dist/components/taro-checkbox-group-core.js +88 -0
- package/dist/components/dist/components/taro-comment-detail-core.d.ts +11 -0
- package/dist/components/dist/components/taro-comment-detail-core.js +33 -0
- package/dist/components/dist/components/taro-comment-list-core.d.ts +11 -0
- package/dist/components/dist/components/taro-comment-list-core.js +33 -0
- package/dist/components/dist/components/taro-contact-button-core.d.ts +11 -0
- package/dist/components/dist/components/taro-contact-button-core.js +33 -0
- package/dist/components/dist/components/taro-cover-image-core.d.ts +11 -0
- package/dist/components/dist/components/taro-cover-image-core.js +50 -0
- package/dist/components/dist/components/taro-cover-view-core.d.ts +11 -0
- package/dist/components/dist/components/taro-cover-view-core.js +87 -0
- package/dist/components/dist/components/taro-custom-wrapper-core.d.ts +11 -0
- package/dist/components/dist/components/taro-custom-wrapper-core.js +29 -0
- package/dist/components/dist/components/taro-double-tap-gesture-handler-core.d.ts +11 -0
- package/dist/components/dist/components/taro-double-tap-gesture-handler-core.js +33 -0
- package/dist/components/dist/components/taro-draggable-sheet-core.d.ts +11 -0
- package/dist/components/dist/components/taro-draggable-sheet-core.js +33 -0
- package/dist/components/dist/components/taro-editor-core.d.ts +11 -0
- package/dist/components/dist/components/taro-editor-core.js +33 -0
- package/dist/components/dist/components/taro-follow-swan-core.d.ts +11 -0
- package/dist/components/dist/components/taro-follow-swan-core.js +33 -0
- package/dist/components/dist/components/taro-force-press-gesture-handler-core.d.ts +11 -0
- package/dist/components/dist/components/taro-force-press-gesture-handler-core.js +33 -0
- package/dist/components/dist/components/taro-form-core.d.ts +11 -0
- package/dist/components/dist/components/taro-form-core.js +156 -0
- package/dist/components/dist/components/taro-functional-page-navigator-core.d.ts +11 -0
- package/dist/components/dist/components/taro-functional-page-navigator-core.js +33 -0
- package/dist/components/dist/components/taro-grid-builder-core.d.ts +11 -0
- package/dist/components/dist/components/taro-grid-builder-core.js +33 -0
- package/dist/components/dist/components/taro-grid-view-core.d.ts +11 -0
- package/dist/components/dist/components/taro-grid-view-core.js +33 -0
- package/dist/components/dist/components/taro-horizontal-drag-gesture-handler-core.d.ts +11 -0
- package/dist/components/dist/components/taro-horizontal-drag-gesture-handler-core.js +33 -0
- package/dist/components/dist/components/taro-icon-core.d.ts +11 -0
- package/dist/components/dist/components/taro-icon-core.js +49 -0
- package/dist/components/dist/components/taro-image-core.d.ts +11 -0
- package/dist/components/dist/components/taro-image-core.js +82 -0
- package/dist/components/dist/components/taro-inline-payment-panel-core.d.ts +11 -0
- package/dist/components/dist/components/taro-inline-payment-panel-core.js +33 -0
- package/dist/components/dist/components/taro-input-core.d.ts +11 -0
- package/dist/components/dist/components/taro-input-core.js +241 -0
- package/dist/components/dist/components/taro-keyboard-accessory-core.d.ts +11 -0
- package/dist/components/dist/components/taro-keyboard-accessory-core.js +33 -0
- package/dist/components/dist/components/taro-label-core.d.ts +11 -0
- package/dist/components/dist/components/taro-label-core.js +32 -0
- package/dist/components/dist/components/taro-lifestyle-core.d.ts +11 -0
- package/dist/components/dist/components/taro-lifestyle-core.js +33 -0
- package/dist/components/dist/components/taro-like-core.d.ts +11 -0
- package/dist/components/dist/components/taro-like-core.js +33 -0
- package/dist/components/dist/components/taro-list-builder-core.d.ts +11 -0
- package/dist/components/dist/components/taro-list-builder-core.js +33 -0
- package/dist/components/dist/components/taro-list-view-core.d.ts +11 -0
- package/dist/components/dist/components/taro-list-view-core.js +33 -0
- package/dist/components/dist/components/taro-live-player-core.d.ts +11 -0
- package/dist/components/dist/components/taro-live-player-core.js +33 -0
- package/dist/components/dist/components/taro-live-pusher-core.d.ts +11 -0
- package/dist/components/dist/components/taro-live-pusher-core.js +33 -0
- package/dist/components/dist/components/taro-login-core.d.ts +11 -0
- package/dist/components/dist/components/taro-login-core.js +33 -0
- package/dist/components/dist/components/taro-long-press-gesture-handler-core.d.ts +11 -0
- package/dist/components/dist/components/taro-long-press-gesture-handler-core.js +33 -0
- package/dist/components/dist/components/taro-lottie-core.d.ts +11 -0
- package/dist/components/dist/components/taro-lottie-core.js +33 -0
- package/dist/components/dist/components/taro-map-core.d.ts +11 -0
- package/dist/components/dist/components/taro-map-core.js +1376 -0
- package/dist/components/dist/components/taro-match-media-core.d.ts +11 -0
- package/dist/components/dist/components/taro-match-media-core.js +33 -0
- package/dist/components/dist/components/taro-movable-area-core.d.ts +11 -0
- package/dist/components/dist/components/taro-movable-area-core.js +174 -0
- package/dist/components/dist/components/taro-movable-view-core.d.ts +11 -0
- package/dist/components/dist/components/taro-movable-view-core.js +361 -0
- package/dist/components/dist/components/taro-native-slot-core.d.ts +11 -0
- package/dist/components/dist/components/taro-native-slot-core.js +33 -0
- package/dist/components/dist/components/taro-navigation-bar-core.d.ts +11 -0
- package/dist/components/dist/components/taro-navigation-bar-core.js +33 -0
- package/dist/components/dist/components/taro-navigator-core.d.ts +11 -0
- package/dist/components/dist/components/taro-navigator-core.js +94 -0
- package/dist/components/dist/components/taro-nested-scroll-body-core.d.ts +11 -0
- package/dist/components/dist/components/taro-nested-scroll-body-core.js +33 -0
- package/dist/components/dist/components/taro-nested-scroll-header-core.d.ts +11 -0
- package/dist/components/dist/components/taro-nested-scroll-header-core.js +33 -0
- package/dist/components/dist/components/taro-official-account-core.d.ts +11 -0
- package/dist/components/dist/components/taro-official-account-core.js +33 -0
- package/dist/components/dist/components/taro-open-container-core.d.ts +11 -0
- package/dist/components/dist/components/taro-open-container-core.js +33 -0
- package/dist/components/dist/components/taro-open-data-core.d.ts +11 -0
- package/dist/components/dist/components/taro-open-data-core.js +33 -0
- package/dist/components/dist/components/taro-open-embedded-atomicservice-core.d.ts +11 -0
- package/dist/components/dist/components/taro-open-embedded-atomicservice-core.js +33 -0
- package/dist/components/dist/components/taro-page-container-core.d.ts +11 -0
- package/dist/components/dist/components/taro-page-container-core.js +33 -0
- package/dist/components/dist/components/taro-page-meta-core.d.ts +11 -0
- package/dist/components/dist/components/taro-page-meta-core.js +33 -0
- package/dist/components/dist/components/taro-pan-gesture-handler-core.d.ts +11 -0
- package/dist/components/dist/components/taro-pan-gesture-handler-core.js +33 -0
- package/dist/components/dist/components/taro-picker-core.d.ts +11 -0
- package/dist/components/dist/components/taro-picker-core.js +540 -0
- package/dist/components/dist/components/taro-picker-group.d.ts +11 -0
- package/dist/components/dist/components/taro-picker-group.js +6 -0
- package/dist/components/dist/components/taro-picker-view-column-core.d.ts +11 -0
- package/dist/components/dist/components/taro-picker-view-column-core.js +103 -0
- package/dist/components/dist/components/taro-picker-view-core.d.ts +11 -0
- package/dist/components/dist/components/taro-picker-view-core.js +121 -0
- package/dist/components/dist/components/taro-progress-core.d.ts +11 -0
- package/dist/components/dist/components/taro-progress-core.js +63 -0
- package/dist/components/dist/components/taro-pull-to-refresh-core.d.ts +11 -0
- package/dist/components/dist/components/taro-pull-to-refresh-core.js +287 -0
- package/dist/components/dist/components/taro-radio-core.d.ts +11 -0
- package/dist/components/dist/components/taro-radio-core.js +81 -0
- package/dist/components/dist/components/taro-radio-group-core.d.ts +11 -0
- package/dist/components/dist/components/taro-radio-group-core.js +99 -0
- package/dist/components/dist/components/taro-rich-text-core.d.ts +11 -0
- package/dist/components/dist/components/taro-rich-text-core.js +93 -0
- package/dist/components/dist/components/taro-root-portal-core.d.ts +11 -0
- package/dist/components/dist/components/taro-root-portal-core.js +33 -0
- package/dist/components/dist/components/taro-rtc-room-core.d.ts +11 -0
- package/dist/components/dist/components/taro-rtc-room-core.js +33 -0
- package/dist/components/dist/components/taro-rtc-room-item-core.d.ts +11 -0
- package/dist/components/dist/components/taro-rtc-room-item-core.js +33 -0
- package/dist/components/dist/components/taro-scale-gesture-handler-core.d.ts +11 -0
- package/dist/components/dist/components/taro-scale-gesture-handler-core.js +33 -0
- package/dist/components/dist/components/taro-script-core.d.ts +11 -0
- package/dist/components/dist/components/taro-script-core.js +33 -0
- package/dist/components/dist/components/taro-scroll-view-core.d.ts +11 -0
- package/dist/components/dist/components/taro-scroll-view-core.js +199 -0
- package/dist/components/dist/components/taro-share-element-core.d.ts +11 -0
- package/dist/components/dist/components/taro-share-element-core.js +33 -0
- package/dist/components/dist/components/taro-slider-core.d.ts +11 -0
- package/dist/components/dist/components/taro-slider-core.js +197 -0
- package/dist/components/dist/components/taro-slot-core.d.ts +11 -0
- package/dist/components/dist/components/taro-slot-core.js +33 -0
- package/dist/components/dist/components/taro-snapshot-core.d.ts +11 -0
- package/dist/components/dist/components/taro-snapshot-core.js +33 -0
- package/dist/components/dist/components/taro-span-core.d.ts +11 -0
- package/dist/components/dist/components/taro-span-core.js +33 -0
- package/dist/components/dist/components/taro-sticky-header-core.d.ts +11 -0
- package/dist/components/dist/components/taro-sticky-header-core.js +33 -0
- package/dist/components/dist/components/taro-sticky-section-core.d.ts +11 -0
- package/dist/components/dist/components/taro-sticky-section-core.js +33 -0
- package/dist/components/dist/components/taro-swiper-core.d.ts +11 -0
- package/dist/components/dist/components/taro-swiper-core.js +438 -0
- package/dist/components/dist/components/taro-swiper-item-core.d.ts +11 -0
- package/dist/components/dist/components/taro-swiper-item-core.js +42 -0
- package/dist/components/dist/components/taro-switch-core.d.ts +11 -0
- package/dist/components/dist/components/taro-switch-core.js +85 -0
- package/dist/components/dist/components/taro-tab-item-core.d.ts +11 -0
- package/dist/components/dist/components/taro-tab-item-core.js +33 -0
- package/dist/components/dist/components/taro-tabbar.d.ts +11 -0
- package/dist/components/dist/components/taro-tabbar.js +371 -0
- package/dist/components/dist/components/taro-tabs-core.d.ts +11 -0
- package/dist/components/dist/components/taro-tabs-core.js +33 -0
- package/dist/components/dist/components/taro-tap-gesture-handler-core.d.ts +11 -0
- package/dist/components/dist/components/taro-tap-gesture-handler-core.js +33 -0
- package/dist/components/dist/components/taro-text-core.d.ts +11 -0
- package/dist/components/dist/components/taro-text-core.js +45 -0
- package/dist/components/dist/components/taro-textarea-core.d.ts +11 -0
- package/dist/components/dist/components/taro-textarea-core.js +285 -0
- package/dist/components/dist/components/taro-vertical-drag-gesture-handler-core.d.ts +11 -0
- package/dist/components/dist/components/taro-vertical-drag-gesture-handler-core.js +33 -0
- package/dist/components/dist/components/taro-video-control.d.ts +11 -0
- package/dist/components/dist/components/taro-video-control.js +6 -0
- package/dist/components/dist/components/taro-video-core.d.ts +11 -0
- package/dist/components/dist/components/taro-video-core.js +500 -0
- package/dist/components/dist/components/taro-video-danmu.d.ts +11 -0
- package/dist/components/dist/components/taro-video-danmu.js +6 -0
- package/dist/components/dist/components/taro-view-core.d.ts +11 -0
- package/dist/components/dist/components/taro-view-core.js +92 -0
- package/dist/components/dist/components/taro-voip-room-core.d.ts +11 -0
- package/dist/components/dist/components/taro-voip-room-core.js +33 -0
- package/dist/components/dist/components/taro-web-view-core.d.ts +11 -0
- package/dist/components/dist/components/taro-web-view-core.js +44 -0
- package/dist/components/dist/components/video-control.js +240 -0
- package/dist/components/dist/components/video-danmu.js +108 -0
- package/dist/components/dist/taro-components/taro-components.css +1 -0
- package/dist/components/global.css +1 -0
- package/dist/components/lib/react/component-lib/index.d.ts +54 -0
- package/dist/components/lib/react/component-lib/index.js +68 -0
- package/dist/components/lib/react/component-lib/index.js.map +1 -0
- package/dist/components/lib/react/component-lib/input.d.ts +3 -0
- package/dist/components/lib/react/component-lib/input.js +17 -0
- package/dist/components/lib/react/component-lib/input.js.map +1 -0
- package/dist/components/lib/react/component-lib/reactify-wc.d.ts +7 -0
- package/dist/components/lib/react/component-lib/reactify-wc.js +176 -0
- package/dist/components/lib/react/component-lib/reactify-wc.js.map +1 -0
- package/dist/components/lib/react/components.d.ts +103 -0
- package/dist/components/lib/react/components.js +112 -0
- package/dist/components/lib/react/components.js.map +1 -0
- package/dist/components/lib/react/helper.d.ts +10 -0
- package/dist/components/lib/react/helper.js +10 -0
- package/dist/components/lib/react/helper.js.map +1 -0
- package/dist/components/lib/react/index.d.ts +1 -0
- package/dist/components/lib/react/index.js +2 -0
- package/dist/components/lib/react/index.js.map +1 -0
- package/dist/components/lib/react/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.39.0_tslib@2.8.1_typescript@5.4.5/node_modules/tslib/tslib.es6.js +405 -0
- package/dist/components/lib/react/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.39.0_tslib@2.8.1_typescript@5.4.5/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/components/lib/react/react-component-lib/createComponent.d.ts +14 -0
- package/dist/components/lib/react/react-component-lib/createComponent.js +73 -0
- package/dist/components/lib/react/react-component-lib/createComponent.js.map +1 -0
- package/dist/components/lib/react/react-component-lib/createOverlayComponent.d.ts +25 -0
- package/dist/components/lib/react/react-component-lib/createOverlayComponent.js +94 -0
- package/dist/components/lib/react/react-component-lib/createOverlayComponent.js.map +1 -0
- package/dist/components/lib/react/react-component-lib/index.d.ts +2 -0
- package/dist/components/lib/react/react-component-lib/index.js +3 -0
- package/dist/components/lib/react/react-component-lib/index.js.map +1 -0
- package/dist/components/lib/react/react-component-lib/interfaces.d.ts +33 -0
- package/dist/components/lib/react/react-component-lib/utils/attachProps.d.ts +18 -0
- package/dist/components/lib/react/react-component-lib/utils/attachProps.js +182 -0
- package/dist/components/lib/react/react-component-lib/utils/attachProps.js.map +1 -0
- package/dist/components/lib/react/react-component-lib/utils/case.d.ts +6 -0
- package/dist/components/lib/react/react-component-lib/utils/case.js +13 -0
- package/dist/components/lib/react/react-component-lib/utils/case.js.map +1 -0
- package/dist/components/lib/react/react-component-lib/utils/dev.d.ts +6 -0
- package/dist/components/lib/react/react-component-lib/utils/index.d.ts +14 -0
- package/dist/components/lib/react/react-component-lib/utils/index.js +39 -0
- package/dist/components/lib/react/react-component-lib/utils/index.js.map +1 -0
- package/dist/components/types/Ad.d.ts +205 -0
- package/dist/components/types/AdCustom.d.ts +44 -0
- package/dist/components/types/AnimationVideo.d.ts +53 -0
- package/dist/components/types/AnimationView.d.ts +39 -0
- package/dist/components/types/ArCamera.d.ts +43 -0
- package/dist/components/types/Audio.d.ts +135 -0
- package/dist/components/types/AwemeData.d.ts +37 -0
- package/dist/components/types/Block.d.ts +9 -0
- package/dist/components/types/Button.d.ts +740 -0
- package/dist/components/types/Camera.d.ts +128 -0
- package/dist/components/types/Canvas.d.ts +98 -0
- package/dist/components/types/ChannelLive.d.ts +20 -0
- package/dist/components/types/ChannelVideo.d.ts +48 -0
- package/dist/components/types/Checkbox.d.ts +167 -0
- package/dist/components/types/CheckboxGroup.d.ts +81 -0
- package/dist/components/types/CommentDetail.d.ts +66 -0
- package/dist/components/types/CommentList.d.ts +112 -0
- package/dist/components/types/ContactButton.d.ts +46 -0
- package/dist/components/types/CoverImage.d.ts +151 -0
- package/dist/components/types/CoverView.d.ts +219 -0
- package/dist/components/types/CustomWrapper.d.ts +31 -0
- package/dist/components/types/DraggableSheet.d.ts +52 -0
- package/dist/components/types/Editor.d.ts +143 -0
- package/dist/components/types/FollowSwan.d.ts +25 -0
- package/dist/components/types/Form.d.ts +130 -0
- package/dist/components/types/FunctionalPageNavigator.d.ts +56 -0
- package/dist/components/types/GridBuilder.d.ts +72 -0
- package/dist/components/types/GridView.d.ts +51 -0
- package/dist/components/types/Icon.d.ts +97 -0
- package/dist/components/types/Image.d.ts +175 -0
- package/dist/components/types/InlinePaymentPanel.d.ts +49 -0
- package/dist/components/types/Input.d.ts +353 -0
- package/dist/components/types/KeyboardAccessory.d.ts +42 -0
- package/dist/components/types/Label.d.ts +52 -0
- package/dist/components/types/Lifestyle.d.ts +23 -0
- package/dist/components/types/Like.d.ts +90 -0
- package/dist/components/types/List.d.ts +38 -0
- package/dist/components/types/ListBuilder.d.ts +55 -0
- package/dist/components/types/ListItem.d.ts +6 -0
- package/dist/components/types/ListView.d.ts +19 -0
- package/dist/components/types/LivePlayer.d.ts +261 -0
- package/dist/components/types/LivePusher.d.ts +360 -0
- package/dist/components/types/Login.d.ts +40 -0
- package/dist/components/types/Lottie.d.ts +97 -0
- package/dist/components/types/Map.d.ts +732 -0
- package/dist/components/types/MatchMedia.d.ts +70 -0
- package/dist/components/types/MovableArea.d.ts +34 -0
- package/dist/components/types/MovableView.d.ts +180 -0
- package/dist/components/types/NativeSlot.d.ts +35 -0
- package/dist/components/types/NavigationBar.d.ts +44 -0
- package/dist/components/types/Navigator.d.ts +118 -0
- package/dist/components/types/NestedScrollBody.d.ts +15 -0
- package/dist/components/types/NestedScrollHeader.d.ts +15 -0
- package/dist/components/types/OfficialAccount.d.ts +58 -0
- package/dist/components/types/OpenContainer.d.ts +74 -0
- package/dist/components/types/OpenData.d.ts +98 -0
- package/dist/components/types/OpenEmbeddedAtomicservice.d.ts +52 -0
- package/dist/components/types/PageContainer.d.ts +110 -0
- package/dist/components/types/PageMeta.d.ts +133 -0
- package/dist/components/types/Picker.d.ts +452 -0
- package/dist/components/types/PickerView.d.ts +198 -0
- package/dist/components/types/PickerViewColumn.d.ts +12 -0
- package/dist/components/types/Progress.d.ts +105 -0
- package/dist/components/types/PullToRefresh.d.ts +26 -0
- package/dist/components/types/Radio.d.ts +187 -0
- package/dist/components/types/RadioGroup.d.ts +24 -0
- package/dist/components/types/RichText.d.ts +166 -0
- package/dist/components/types/RootPortal.d.ts +40 -0
- package/dist/components/types/RtcRoom.d.ts +88 -0
- package/dist/components/types/RtcRoomItem.d.ts +23 -0
- package/dist/components/types/Script.d.ts +37 -0
- package/dist/components/types/ScrollView.d.ts +510 -0
- package/dist/components/types/ShareElement.d.ts +270 -0
- package/dist/components/types/Slider.d.ts +145 -0
- package/dist/components/types/Slot.d.ts +42 -0
- package/dist/components/types/Snapshot.d.ts +25 -0
- package/dist/components/types/Span.d.ts +14 -0
- package/dist/components/types/StickyHeader.d.ts +31 -0
- package/dist/components/types/StickySection.d.ts +23 -0
- package/dist/components/types/Swiper.d.ts +339 -0
- package/dist/components/types/SwiperItem.d.ts +77 -0
- package/dist/components/types/Switch.d.ts +96 -0
- package/dist/components/types/TabItem.d.ts +31 -0
- package/dist/components/types/Tabs.d.ts +50 -0
- package/dist/components/types/Text.d.ts +146 -0
- package/dist/components/types/Textarea.d.ts +252 -0
- package/dist/components/types/Video.d.ts +604 -0
- package/dist/components/types/View.d.ts +183 -0
- package/dist/components/types/VoipRoom.d.ts +67 -0
- package/dist/components/types/WebView.d.ts +68 -0
- package/dist/components/types/common.d.ts +185 -0
- package/dist/components/types/event.d.ts +7 -0
- package/dist/components/types/gesture/DoubleTapGestureHandler.d.ts +53 -0
- package/dist/components/types/gesture/ForcePressGestureHandler.d.ts +49 -0
- package/dist/components/types/gesture/HorizontalDragGestureHandler.d.ts +53 -0
- package/dist/components/types/gesture/LongPressGestureHandler.d.ts +53 -0
- package/dist/components/types/gesture/PanGestureHandler.d.ts +53 -0
- package/dist/components/types/gesture/ScaleGestureHandler.d.ts +53 -0
- package/dist/components/types/gesture/TapGestureHandler.d.ts +53 -0
- package/dist/components/types/gesture/VerticalDragGestureHandler.d.ts +53 -0
- package/dist/components/types/global.d.ts +4 -0
- package/dist/components/types/index.d.ts +128 -0
- package/dist/components/types/index.solid.d.ts +301 -0
- package/dist/components/types/index.vue3.d.ts +337 -0
- package/dist/components/types/props.d.ts +72 -0
- package/dist/plugin-framework-react/runtime.js +1080 -0
- package/dist/plugin-framework-react/runtime.js.map +1 -0
- package/dist/plugin-platform-alipay/components-react.js +54 -0
- package/dist/plugin-platform-alipay/components-react.js.map +1 -0
- package/dist/plugin-platform-alipay/runtime-utils.js +854 -0
- package/dist/plugin-platform-alipay/runtime-utils.js.map +1 -0
- package/dist/plugin-platform-alipay/runtime.js +864 -0
- package/dist/plugin-platform-alipay/runtime.js.map +1 -0
- package/dist/plugin-platform-alipay/types/apis-list.d.ts +1 -0
- package/dist/plugin-platform-alipay/types/apis.d.ts +9 -0
- package/dist/plugin-platform-alipay/types/components-react.d.ts +10 -0
- package/dist/plugin-platform-alipay/types/components.d.ts +202 -0
- package/dist/plugin-platform-alipay/types/index.d.ts +5 -0
- package/dist/plugin-platform-alipay/types/program.d.ts +51 -0
- package/dist/plugin-platform-alipay/types/runtime-utils.d.ts +19 -0
- package/dist/plugin-platform-alipay/types/runtime.d.ts +1 -0
- package/dist/plugin-platform-alipay/types/template.d.ts +39 -0
- package/dist/plugin-platform-h5/definition.json +2481 -0
- package/dist/plugin-platform-h5/runtime/apis/index.d.ts +5 -0
- package/dist/plugin-platform-h5/runtime/apis/index.js +29 -0
- package/dist/plugin-platform-h5/runtime/apis/index.js.map +1 -0
- package/dist/plugin-platform-h5/runtime/apis/taro-h5.d.ts +1 -0
- package/dist/plugin-platform-h5/runtime/apis/taro-h5.js +2 -0
- package/dist/plugin-platform-h5/runtime/apis/taro-h5.js.map +1 -0
- package/dist/plugin-platform-h5/runtime/apis/taro.d.ts +2 -0
- package/dist/plugin-platform-h5/runtime/apis/taro.js +3 -0
- package/dist/plugin-platform-h5/runtime/apis/taro.js.map +1 -0
- package/dist/plugin-platform-weapp/components-react.js +81 -0
- package/dist/plugin-platform-weapp/components-react.js.map +1 -0
- package/dist/plugin-platform-weapp/runtime-utils.js +613 -0
- package/dist/plugin-platform-weapp/runtime-utils.js.map +1 -0
- package/dist/plugin-platform-weapp/runtime.js +614 -0
- package/dist/plugin-platform-weapp/runtime.js.map +1 -0
- package/dist/plugin-platform-weapp/types/apis-list.d.ts +1 -0
- package/dist/plugin-platform-weapp/types/apis.d.ts +1 -0
- package/dist/plugin-platform-weapp/types/components-react.d.ts +37 -0
- package/dist/plugin-platform-weapp/types/components.d.ts +503 -0
- package/dist/plugin-platform-weapp/types/index.d.ts +8 -0
- package/dist/plugin-platform-weapp/types/program.d.ts +35 -0
- package/dist/plugin-platform-weapp/types/runtime-utils.d.ts +13 -0
- package/dist/plugin-platform-weapp/types/runtime.d.ts +1 -0
- package/dist/plugin-platform-weapp/types/template.d.ts +25 -0
- package/dist/react/componentTree.d.ts +19 -0
- package/dist/react/constant.d.ts +7 -0
- package/dist/react/domInput.d.ts +12 -0
- package/dist/react/event.d.ts +13 -0
- package/dist/react/index.d.ts +33 -0
- package/dist/react/inputValueTracking.d.ts +3 -0
- package/dist/react/props.d.ts +5 -0
- package/dist/react/react.esm.js +1165 -0
- package/dist/react/react.esm.js.map +1 -0
- package/dist/react/reconciler.d.ts +4 -0
- package/dist/react/render.d.ts +25 -0
- package/dist/react/workTags.d.ts +26 -0
- package/dist/router/dist/api.d.ts +7 -0
- package/dist/router/dist/events/resize.d.ts +2 -0
- package/dist/router/dist/events/scroll.d.ts +2 -0
- package/dist/router/dist/history.d.ts +26 -0
- package/dist/router/dist/index.d.ts +9 -0
- package/dist/router/dist/index.esm.js +1755 -0
- package/dist/router/dist/navigationBar.d.ts +2 -0
- package/dist/router/dist/router/index.d.ts +11 -0
- package/dist/router/dist/router/mpa.d.ts +11 -0
- package/dist/router/dist/router/multi-page.d.ts +33 -0
- package/dist/router/dist/router/navigation-bar.d.ts +36 -0
- package/dist/router/dist/router/page.d.ts +53 -0
- package/dist/router/dist/router/spa.d.ts +4 -0
- package/dist/router/dist/router/stack.d.ts +26 -0
- package/dist/router/dist/style.d.ts +13 -0
- package/dist/router/dist/tabbar.d.ts +3 -0
- package/dist/router/dist/utils/index.d.ts +10 -0
- package/dist/router/dist/utils/navigate.d.ts +9 -0
- package/dist/router/types/api.d.ts +18 -0
- package/dist/router/types/component.d.ts +11 -0
- package/dist/router/types/history.d.ts +6 -0
- package/dist/router/types/router.d.ts +32 -0
- package/dist/router/types/taro.d.ts +8 -0
- package/dist/taro/index.js +9 -0
- package/dist/taro/package.json +76 -0
- package/dist/taro/types/api/ad/index.d.ts +197 -0
- package/dist/taro/types/api/ai/face.d.ts +133 -0
- package/dist/taro/types/api/ai/inference.d.ts +129 -0
- package/dist/taro/types/api/ai/visionkit.d.ts +874 -0
- package/dist/taro/types/api/alipay/index.d.ts +69 -0
- package/dist/taro/types/api/base/crypto.d.ts +104 -0
- package/dist/taro/types/api/base/debug.d.ts +329 -0
- package/dist/taro/types/api/base/env.d.ts +19 -0
- package/dist/taro/types/api/base/index.d.ts +102 -0
- package/dist/taro/types/api/base/performance.d.ts +258 -0
- package/dist/taro/types/api/base/system.d.ts +742 -0
- package/dist/taro/types/api/base/update.d.ts +130 -0
- package/dist/taro/types/api/base/weapp/app-event.d.ts +265 -0
- package/dist/taro/types/api/base/weapp/life-cycle.d.ts +155 -0
- package/dist/taro/types/api/canvas/index.d.ts +2162 -0
- package/dist/taro/types/api/cloud/index.d.ts +2622 -0
- package/dist/taro/types/api/data-analysis/index.d.ts +122 -0
- package/dist/taro/types/api/device/accelerometer.d.ts +102 -0
- package/dist/taro/types/api/device/accessibility.d.ts +26 -0
- package/dist/taro/types/api/device/battery.d.ts +46 -0
- package/dist/taro/types/api/device/bluetooth-ble.d.ts +601 -0
- package/dist/taro/types/api/device/bluetooth-peripheral.d.ts +430 -0
- package/dist/taro/types/api/device/bluetooth.d.ts +463 -0
- package/dist/taro/types/api/device/calendar.d.ts +98 -0
- package/dist/taro/types/api/device/clipboard.d.ts +81 -0
- package/dist/taro/types/api/device/compass.d.ts +105 -0
- package/dist/taro/types/api/device/contact.d.ts +110 -0
- package/dist/taro/types/api/device/gyroscope.d.ts +85 -0
- package/dist/taro/types/api/device/iBeacon.d.ts +168 -0
- package/dist/taro/types/api/device/keyboard.d.ts +97 -0
- package/dist/taro/types/api/device/memory.d.ts +52 -0
- package/dist/taro/types/api/device/motion.d.ts +88 -0
- package/dist/taro/types/api/device/network.d.ts +172 -0
- package/dist/taro/types/api/device/nfc.d.ts +1238 -0
- package/dist/taro/types/api/device/phone.d.ts +30 -0
- package/dist/taro/types/api/device/scan.d.ts +111 -0
- package/dist/taro/types/api/device/screen.d.ts +217 -0
- package/dist/taro/types/api/device/sms.d.ts +26 -0
- package/dist/taro/types/api/device/vibrate.d.ts +51 -0
- package/dist/taro/types/api/device/wifi.d.ts +301 -0
- package/dist/taro/types/api/ext/index.d.ts +64 -0
- package/dist/taro/types/api/files/index.d.ts +1472 -0
- package/dist/taro/types/api/framework/index.d.ts +51 -0
- package/dist/taro/types/api/location/index.d.ts +517 -0
- package/dist/taro/types/api/media/audio.d.ts +1013 -0
- package/dist/taro/types/api/media/background-audio.d.ts +291 -0
- package/dist/taro/types/api/media/camera.d.ts +207 -0
- package/dist/taro/types/api/media/editor.d.ts +239 -0
- package/dist/taro/types/api/media/image.d.ts +469 -0
- package/dist/taro/types/api/media/live.d.ts +461 -0
- package/dist/taro/types/api/media/map.d.ts +638 -0
- package/dist/taro/types/api/media/media-recorder.d.ts +117 -0
- package/dist/taro/types/api/media/recorder.d.ts +317 -0
- package/dist/taro/types/api/media/video-decoder.d.ts +117 -0
- package/dist/taro/types/api/media/video-processing.d.ts +84 -0
- package/dist/taro/types/api/media/video.d.ts +527 -0
- package/dist/taro/types/api/media/voip.d.ts +393 -0
- package/dist/taro/types/api/navigate/index.d.ts +327 -0
- package/dist/taro/types/api/network/download.d.ts +173 -0
- package/dist/taro/types/api/network/mdns.d.ts +191 -0
- package/dist/taro/types/api/network/request.d.ts +480 -0
- package/dist/taro/types/api/network/tcp.d.ts +181 -0
- package/dist/taro/types/api/network/udp.d.ts +218 -0
- package/dist/taro/types/api/network/upload.d.ts +201 -0
- package/dist/taro/types/api/network/websocket.d.ts +383 -0
- package/dist/taro/types/api/open-api/account.d.ts +51 -0
- package/dist/taro/types/api/open-api/address.d.ts +68 -0
- package/dist/taro/types/api/open-api/authorize.d.ts +80 -0
- package/dist/taro/types/api/open-api/card.d.ts +110 -0
- package/dist/taro/types/api/open-api/channels.d.ts +225 -0
- package/dist/taro/types/api/open-api/customer-service.d.ts +45 -0
- package/dist/taro/types/api/open-api/device-voip.d.ts +103 -0
- package/dist/taro/types/api/open-api/facial.d.ts +98 -0
- package/dist/taro/types/api/open-api/favorites.d.ts +101 -0
- package/dist/taro/types/api/open-api/group.d.ts +59 -0
- package/dist/taro/types/api/open-api/invoice.d.ts +87 -0
- package/dist/taro/types/api/open-api/license-plate.d.ts +27 -0
- package/dist/taro/types/api/open-api/login.d.ts +115 -0
- package/dist/taro/types/api/open-api/my-miniprogram.d.ts +28 -0
- package/dist/taro/types/api/open-api/privacy.d.ts +107 -0
- package/dist/taro/types/api/open-api/redpackage.d.ts +24 -0
- package/dist/taro/types/api/open-api/settings.d.ts +174 -0
- package/dist/taro/types/api/open-api/soter.d.ts +184 -0
- package/dist/taro/types/api/open-api/sticker.d.ts +83 -0
- package/dist/taro/types/api/open-api/subscribe-message.d.ts +305 -0
- package/dist/taro/types/api/open-api/user-info.d.ts +182 -0
- package/dist/taro/types/api/open-api/werun.d.ts +101 -0
- package/dist/taro/types/api/payment/index.d.ts +119 -0
- package/dist/taro/types/api/qq/index.d.ts +354 -0
- package/dist/taro/types/api/route/index.d.ts +324 -0
- package/dist/taro/types/api/share/index.d.ts +354 -0
- package/dist/taro/types/api/skyline/index.d.ts +345 -0
- package/dist/taro/types/api/storage/background-fetch.d.ts +131 -0
- package/dist/taro/types/api/storage/cache-manager.d.ts +249 -0
- package/dist/taro/types/api/storage/index.d.ts +397 -0
- package/dist/taro/types/api/swan/bookshelf.d.ts +307 -0
- package/dist/taro/types/api/swan/download-package.d.ts +80 -0
- package/dist/taro/types/api/swan/index.d.ts +251 -0
- package/dist/taro/types/api/swan/pay.d.ts +139 -0
- package/dist/taro/types/api/taro.extend.d.ts +233 -0
- package/dist/taro/types/api/taro.hooks.d.ts +148 -0
- package/dist/taro/types/api/ui/animation.d.ts +427 -0
- package/dist/taro/types/api/ui/background.d.ts +69 -0
- package/dist/taro/types/api/ui/custom-component.d.ts +23 -0
- package/dist/taro/types/api/ui/fonts.d.ts +77 -0
- package/dist/taro/types/api/ui/interaction.d.ts +281 -0
- package/dist/taro/types/api/ui/menu.d.ts +29 -0
- package/dist/taro/types/api/ui/navigation-bar.d.ts +130 -0
- package/dist/taro/types/api/ui/pull-down-refresh.d.ts +50 -0
- package/dist/taro/types/api/ui/scroll.d.ts +114 -0
- package/dist/taro/types/api/ui/sticky.d.ts +32 -0
- package/dist/taro/types/api/ui/tab-bar.d.ts +196 -0
- package/dist/taro/types/api/ui/window.d.ts +71 -0
- package/dist/taro/types/api/worker/index.d.ts +83 -0
- package/dist/taro/types/api/wxml/index.d.ts +540 -0
- package/dist/taro/types/compile/compiler.d.ts +32 -0
- package/dist/taro/types/compile/config/h5.d.ts +134 -0
- package/dist/taro/types/compile/config/harmony.d.ts +118 -0
- package/dist/taro/types/compile/config/index.d.ts +8 -0
- package/dist/taro/types/compile/config/manifest.d.ts +155 -0
- package/dist/taro/types/compile/config/mini.d.ts +120 -0
- package/dist/taro/types/compile/config/plugin.d.ts +34 -0
- package/dist/taro/types/compile/config/project.d.ts +338 -0
- package/dist/taro/types/compile/config/rn.d.ts +85 -0
- package/dist/taro/types/compile/config/util.d.ts +179 -0
- package/dist/taro/types/compile/hooks.d.ts +13 -0
- package/dist/taro/types/compile/index.d.ts +11 -0
- package/dist/taro/types/compile/viteCompilerContext.d.ts +167 -0
- package/dist/taro/types/global.d.ts +428 -0
- package/dist/taro/types/index.d.ts +196 -0
- package/dist/taro/types/taro.api.d.ts +130 -0
- package/dist/taro/types/taro.component.d.ts +168 -0
- package/dist/taro/types/taro.config.d.ts +712 -0
- package/dist/taro/types/taro.lifecycle.d.ts +220 -0
- package/dist/taro/types/taro.runtime.d.ts +9 -0
- package/dist/taro-h5/dist/api/ad/index.d.ts +2 -0
- package/dist/taro-h5/dist/api/ad/index.js +8 -0
- package/dist/taro-h5/dist/api/ad/index.js.map +1 -0
- package/dist/taro-h5/dist/api/ai/facial.d.ts +3 -0
- package/dist/taro-h5/dist/api/ai/facial.js +9 -0
- package/dist/taro-h5/dist/api/ai/facial.js.map +1 -0
- package/dist/taro-h5/dist/api/ai/index.d.ts +3 -0
- package/dist/taro-h5/dist/api/ai/index.js +4 -0
- package/dist/taro-h5/dist/api/ai/index.js.map +1 -0
- package/dist/taro-h5/dist/api/ai/inference.d.ts +2 -0
- package/dist/taro-h5/dist/api/ai/inference.js +8 -0
- package/dist/taro-h5/dist/api/ai/inference.js.map +1 -0
- package/dist/taro-h5/dist/api/ai/visual.d.ts +2 -0
- package/dist/taro-h5/dist/api/ai/visual.js +9 -0
- package/dist/taro-h5/dist/api/ai/visual.js.map +1 -0
- package/dist/taro-h5/dist/api/alipay/index.d.ts +2 -0
- package/dist/taro-h5/dist/api/alipay/index.js +8 -0
- package/dist/taro-h5/dist/api/alipay/index.js.map +1 -0
- package/dist/taro-h5/dist/api/base/crypto.d.ts +1 -0
- package/dist/taro-h5/dist/api/base/crypto.js +7 -0
- package/dist/taro-h5/dist/api/base/crypto.js.map +1 -0
- package/dist/taro-h5/dist/api/base/debug.d.ts +3 -0
- package/dist/taro-h5/dist/api/base/debug.js +8 -0
- package/dist/taro-h5/dist/api/base/debug.js.map +1 -0
- package/dist/taro-h5/dist/api/base/index.d.ts +15 -0
- package/dist/taro-h5/dist/api/base/index.js +26 -0
- package/dist/taro-h5/dist/api/base/index.js.map +1 -0
- package/dist/taro-h5/dist/api/base/performance.d.ts +5 -0
- package/dist/taro-h5/dist/api/base/performance.js +11 -0
- package/dist/taro-h5/dist/api/base/performance.js.map +1 -0
- package/dist/taro-h5/dist/api/base/system.d.ts +25 -0
- package/dist/taro-h5/dist/api/base/system.js +194 -0
- package/dist/taro-h5/dist/api/base/system.js.map +1 -0
- package/dist/taro-h5/dist/api/base/update.d.ts +2 -0
- package/dist/taro-h5/dist/api/base/update.js +8 -0
- package/dist/taro-h5/dist/api/base/update.js.map +1 -0
- package/dist/taro-h5/dist/api/base/weapp/app-event.d.ts +20 -0
- package/dist/taro-h5/dist/api/base/weapp/app-event.js +143 -0
- package/dist/taro-h5/dist/api/base/weapp/app-event.js.map +1 -0
- package/dist/taro-h5/dist/api/base/weapp/life-cycle.d.ts +4 -0
- package/dist/taro-h5/dist/api/base/weapp/life-cycle.js +19 -0
- package/dist/taro-h5/dist/api/base/weapp/life-cycle.js.map +1 -0
- package/dist/taro-h5/dist/api/canvas/CanvasContext.d.ts +106 -0
- package/dist/taro-h5/dist/api/canvas/CanvasContext.js +219 -0
- package/dist/taro-h5/dist/api/canvas/CanvasContext.js.map +1 -0
- package/dist/taro-h5/dist/api/canvas/canvasGetImageData.d.ts +6 -0
- package/dist/taro-h5/dist/api/canvas/canvasGetImageData.js +29 -0
- package/dist/taro-h5/dist/api/canvas/canvasGetImageData.js.map +1 -0
- package/dist/taro-h5/dist/api/canvas/canvasPutImageData.d.ts +7 -0
- package/dist/taro-h5/dist/api/canvas/canvasPutImageData.js +26 -0
- package/dist/taro-h5/dist/api/canvas/canvasPutImageData.js.map +1 -0
- package/dist/taro-h5/dist/api/canvas/canvasToTempFilePath.d.ts +7 -0
- package/dist/taro-h5/dist/api/canvas/canvasToTempFilePath.js +26 -0
- package/dist/taro-h5/dist/api/canvas/canvasToTempFilePath.js.map +1 -0
- package/dist/taro-h5/dist/api/canvas/createCanvasContext.d.ts +6 -0
- package/dist/taro-h5/dist/api/canvas/createCanvasContext.js +20 -0
- package/dist/taro-h5/dist/api/canvas/createCanvasContext.js.map +1 -0
- package/dist/taro-h5/dist/api/canvas/index.d.ts +10 -0
- package/dist/taro-h5/dist/api/canvas/index.js +12 -0
- package/dist/taro-h5/dist/api/canvas/index.js.map +1 -0
- package/dist/taro-h5/dist/api/cloud/index.d.ts +14 -0
- package/dist/taro-h5/dist/api/cloud/index.js +25 -0
- package/dist/taro-h5/dist/api/cloud/index.js.map +1 -0
- package/dist/taro-h5/dist/api/data-analysis/index.d.ts +4 -0
- package/dist/taro-h5/dist/api/data-analysis/index.js +9 -0
- package/dist/taro-h5/dist/api/data-analysis/index.js.map +1 -0
- package/dist/taro-h5/dist/api/device/accelerometer.d.ts +18 -0
- package/dist/taro-h5/dist/api/device/accelerometer.js +79 -0
- package/dist/taro-h5/dist/api/device/accelerometer.js.map +1 -0
- package/dist/taro-h5/dist/api/device/accessibility.d.ts +1 -0
- package/dist/taro-h5/dist/api/device/accessibility.js +7 -0
- package/dist/taro-h5/dist/api/device/accessibility.js.map +1 -0
- package/dist/taro-h5/dist/api/device/battery.d.ts +4 -0
- package/dist/taro-h5/dist/api/device/battery.js +27 -0
- package/dist/taro-h5/dist/api/device/battery.js.map +1 -0
- package/dist/taro-h5/dist/api/device/bluetooth-ble.d.ts +16 -0
- package/dist/taro-h5/dist/api/device/bluetooth-ble.js +22 -0
- package/dist/taro-h5/dist/api/device/bluetooth-ble.js.map +1 -0
- package/dist/taro-h5/dist/api/device/bluetooth-peripheral.d.ts +3 -0
- package/dist/taro-h5/dist/api/device/bluetooth-peripheral.js +9 -0
- package/dist/taro-h5/dist/api/device/bluetooth-peripheral.js.map +1 -0
- package/dist/taro-h5/dist/api/device/bluetooth.d.ts +13 -0
- package/dist/taro-h5/dist/api/device/bluetooth.js +19 -0
- package/dist/taro-h5/dist/api/device/bluetooth.js.map +1 -0
- package/dist/taro-h5/dist/api/device/calendar.d.ts +4 -0
- package/dist/taro-h5/dist/api/device/calendar.js +147 -0
- package/dist/taro-h5/dist/api/device/calendar.js.map +1 -0
- package/dist/taro-h5/dist/api/device/clipboard.d.ts +16 -0
- package/dist/taro-h5/dist/api/device/clipboard.js +77 -0
- package/dist/taro-h5/dist/api/device/clipboard.js.map +1 -0
- package/dist/taro-h5/dist/api/device/compass.d.ts +18 -0
- package/dist/taro-h5/dist/api/device/compass.js +82 -0
- package/dist/taro-h5/dist/api/device/compass.js.map +1 -0
- package/dist/taro-h5/dist/api/device/contact.d.ts +2 -0
- package/dist/taro-h5/dist/api/device/contact.js +8 -0
- package/dist/taro-h5/dist/api/device/contact.js.map +1 -0
- package/dist/taro-h5/dist/api/device/crypto.d.ts +1 -0
- package/dist/taro-h5/dist/api/device/crypto.js +7 -0
- package/dist/taro-h5/dist/api/device/crypto.js.map +1 -0
- package/dist/taro-h5/dist/api/device/gyroscope.d.ts +4 -0
- package/dist/taro-h5/dist/api/device/gyroscope.js +10 -0
- package/dist/taro-h5/dist/api/device/gyroscope.js.map +1 -0
- package/dist/taro-h5/dist/api/device/iBeacon.d.ts +7 -0
- package/dist/taro-h5/dist/api/device/iBeacon.js +13 -0
- package/dist/taro-h5/dist/api/device/iBeacon.js.map +1 -0
- package/dist/taro-h5/dist/api/device/index.d.ts +24 -0
- package/dist/taro-h5/dist/api/device/index.js +25 -0
- package/dist/taro-h5/dist/api/device/index.js.map +1 -0
- package/dist/taro-h5/dist/api/device/keyboard.d.ts +4 -0
- package/dist/taro-h5/dist/api/device/keyboard.js +10 -0
- package/dist/taro-h5/dist/api/device/keyboard.js.map +1 -0
- package/dist/taro-h5/dist/api/device/memory.d.ts +2 -0
- package/dist/taro-h5/dist/api/device/memory.js +8 -0
- package/dist/taro-h5/dist/api/device/memory.js.map +1 -0
- package/dist/taro-h5/dist/api/device/motion.d.ts +18 -0
- package/dist/taro-h5/dist/api/device/motion.js +76 -0
- package/dist/taro-h5/dist/api/device/motion.js.map +1 -0
- package/dist/taro-h5/dist/api/device/network.d.ts +15 -0
- package/dist/taro-h5/dist/api/device/network.js +83 -0
- package/dist/taro-h5/dist/api/device/network.js.map +1 -0
- package/dist/taro-h5/dist/api/device/nfc.d.ts +7 -0
- package/dist/taro-h5/dist/api/device/nfc.js +13 -0
- package/dist/taro-h5/dist/api/device/nfc.js.map +1 -0
- package/dist/taro-h5/dist/api/device/phone.d.ts +3 -0
- package/dist/taro-h5/dist/api/device/phone.js +28 -0
- package/dist/taro-h5/dist/api/device/phone.js.map +1 -0
- package/dist/taro-h5/dist/api/device/scan.d.ts +3 -0
- package/dist/taro-h5/dist/api/device/scan.js +14 -0
- package/dist/taro-h5/dist/api/device/scan.js.map +1 -0
- package/dist/taro-h5/dist/api/device/screen.d.ts +9 -0
- package/dist/taro-h5/dist/api/device/screen.js +15 -0
- package/dist/taro-h5/dist/api/device/screen.js.map +1 -0
- package/dist/taro-h5/dist/api/device/sms.d.ts +1 -0
- package/dist/taro-h5/dist/api/device/sms.js +7 -0
- package/dist/taro-h5/dist/api/device/sms.js.map +1 -0
- package/dist/taro-h5/dist/api/device/vibrate.d.ts +10 -0
- package/dist/taro-h5/dist/api/device/vibrate.js +44 -0
- package/dist/taro-h5/dist/api/device/vibrate.js.map +1 -0
- package/dist/taro-h5/dist/api/device/wifi.d.ts +12 -0
- package/dist/taro-h5/dist/api/device/wifi.js +18 -0
- package/dist/taro-h5/dist/api/device/wifi.js.map +1 -0
- package/dist/taro-h5/dist/api/ext/index.d.ts +2 -0
- package/dist/taro-h5/dist/api/ext/index.js +8 -0
- package/dist/taro-h5/dist/api/ext/index.js.map +1 -0
- package/dist/taro-h5/dist/api/files/index.d.ts +8 -0
- package/dist/taro-h5/dist/api/files/index.js +14 -0
- package/dist/taro-h5/dist/api/files/index.js.map +1 -0
- package/dist/taro-h5/dist/api/framework/index.d.ts +5 -0
- package/dist/taro-h5/dist/api/framework/index.js +11 -0
- package/dist/taro-h5/dist/api/framework/index.js.map +1 -0
- package/dist/taro-h5/dist/api/index.d.ts +25 -0
- package/dist/taro-h5/dist/api/index.js +133 -0
- package/dist/taro-h5/dist/api/index.js.map +1 -0
- package/dist/taro-h5/dist/api/location/chooseLocation.d.ts +7 -0
- package/dist/taro-h5/dist/api/location/chooseLocation.js +105 -0
- package/dist/taro-h5/dist/api/location/chooseLocation.js.map +1 -0
- package/dist/taro-h5/dist/api/location/getLocation.d.ts +3 -0
- package/dist/taro-h5/dist/api/location/getLocation.js +68 -0
- package/dist/taro-h5/dist/api/location/getLocation.js.map +1 -0
- package/dist/taro-h5/dist/api/location/index.d.ts +9 -0
- package/dist/taro-h5/dist/api/location/index.js +15 -0
- package/dist/taro-h5/dist/api/location/index.js.map +1 -0
- package/dist/taro-h5/dist/api/location/locationChange.d.ts +6 -0
- package/dist/taro-h5/dist/api/location/locationChange.js +130 -0
- package/dist/taro-h5/dist/api/location/locationChange.js.map +1 -0
- package/dist/taro-h5/dist/api/location/style.scss.js +8 -0
- package/dist/taro-h5/dist/api/location/style.scss.js.map +1 -0
- package/dist/taro-h5/dist/api/location/utils.d.ts +1 -0
- package/dist/taro-h5/dist/api/location/utils.js +4 -0
- package/dist/taro-h5/dist/api/location/utils.js.map +1 -0
- package/dist/taro-h5/dist/api/media/EditorContext.d.ts +17 -0
- package/dist/taro-h5/dist/api/media/audio/InnerAudioContext.d.ts +61 -0
- package/dist/taro-h5/dist/api/media/audio/InnerAudioContext.js +101 -0
- package/dist/taro-h5/dist/api/media/audio/InnerAudioContext.js.map +1 -0
- package/dist/taro-h5/dist/api/media/audio/index.d.ts +14 -0
- package/dist/taro-h5/dist/api/media/audio/index.js +19 -0
- package/dist/taro-h5/dist/api/media/audio/index.js.map +1 -0
- package/dist/taro-h5/dist/api/media/background-audio/BackgroundAudioManager.d.ts +64 -0
- package/dist/taro-h5/dist/api/media/background-audio/BackgroundAudioManager.js +101 -0
- package/dist/taro-h5/dist/api/media/background-audio/BackgroundAudioManager.js.map +1 -0
- package/dist/taro-h5/dist/api/media/background-audio/index.d.ts +13 -0
- package/dist/taro-h5/dist/api/media/background-audio/index.js +24 -0
- package/dist/taro-h5/dist/api/media/background-audio/index.js.map +1 -0
- package/dist/taro-h5/dist/api/media/camera.d.ts +1 -0
- package/dist/taro-h5/dist/api/media/camera.js +7 -0
- package/dist/taro-h5/dist/api/media/camera.js.map +1 -0
- package/dist/taro-h5/dist/api/media/image/chooseImage.d.ts +7 -0
- package/dist/taro-h5/dist/api/media/image/chooseImage.js +46 -0
- package/dist/taro-h5/dist/api/media/image/chooseImage.js.map +1 -0
- package/dist/taro-h5/dist/api/media/image/getImageInfo.d.ts +6 -0
- package/dist/taro-h5/dist/api/media/image/getImageInfo.js +50 -0
- package/dist/taro-h5/dist/api/media/image/getImageInfo.js.map +1 -0
- package/dist/taro-h5/dist/api/media/image/index.d.ts +11 -0
- package/dist/taro-h5/dist/api/media/image/index.js +14 -0
- package/dist/taro-h5/dist/api/media/image/index.js.map +1 -0
- package/dist/taro-h5/dist/api/media/image/previewImage.d.ts +9 -0
- package/dist/taro-h5/dist/api/media/image/previewImage.js +85 -0
- package/dist/taro-h5/dist/api/media/image/previewImage.js.map +1 -0
- package/dist/taro-h5/dist/api/media/image/saveImageToPhotosAlbum.d.ts +3 -0
- package/dist/taro-h5/dist/api/media/image/saveImageToPhotosAlbum.js +30 -0
- package/dist/taro-h5/dist/api/media/image/saveImageToPhotosAlbum.js.map +1 -0
- package/dist/taro-h5/dist/api/media/index.d.ts +12 -0
- package/dist/taro-h5/dist/api/media/index.js +13 -0
- package/dist/taro-h5/dist/api/media/index.js.map +1 -0
- package/dist/taro-h5/dist/api/media/live.d.ts +2 -0
- package/dist/taro-h5/dist/api/media/live.js +8 -0
- package/dist/taro-h5/dist/api/media/live.js.map +1 -0
- package/dist/taro-h5/dist/api/media/map.d.ts +1 -0
- package/dist/taro-h5/dist/api/media/map.js +7 -0
- package/dist/taro-h5/dist/api/media/map.js.map +1 -0
- package/dist/taro-h5/dist/api/media/media-recorder.d.ts +1 -0
- package/dist/taro-h5/dist/api/media/media-recorder.js +7 -0
- package/dist/taro-h5/dist/api/media/media-recorder.js.map +1 -0
- package/dist/taro-h5/dist/api/media/recorder.d.ts +3 -0
- package/dist/taro-h5/dist/api/media/recorder.js +9 -0
- package/dist/taro-h5/dist/api/media/recorder.js.map +1 -0
- package/dist/taro-h5/dist/api/media/video/chooseMedia.d.ts +6 -0
- package/dist/taro-h5/dist/api/media/video/chooseMedia.js +210 -0
- package/dist/taro-h5/dist/api/media/video/chooseMedia.js.map +1 -0
- package/dist/taro-h5/dist/api/media/video/chooseVideo.d.ts +7 -0
- package/dist/taro-h5/dist/api/media/video/chooseVideo.js +44 -0
- package/dist/taro-h5/dist/api/media/video/chooseVideo.js.map +1 -0
- package/dist/taro-h5/dist/api/media/video/getVideoInfo.d.ts +4 -0
- package/dist/taro-h5/dist/api/media/video/getVideoInfo.js +63 -0
- package/dist/taro-h5/dist/api/media/video/getVideoInfo.js.map +1 -0
- package/dist/taro-h5/dist/api/media/video/index.d.ts +12 -0
- package/dist/taro-h5/dist/api/media/video/index.js +19 -0
- package/dist/taro-h5/dist/api/media/video/index.js.map +1 -0
- package/dist/taro-h5/dist/api/media/video/saveVideoToPhotosAlbum.d.ts +3 -0
- package/dist/taro-h5/dist/api/media/video/saveVideoToPhotosAlbum.js +30 -0
- package/dist/taro-h5/dist/api/media/video/saveVideoToPhotosAlbum.js.map +1 -0
- package/dist/taro-h5/dist/api/media/video-decoder.d.ts +1 -0
- package/dist/taro-h5/dist/api/media/video-decoder.js +7 -0
- package/dist/taro-h5/dist/api/media/video-decoder.js.map +1 -0
- package/dist/taro-h5/dist/api/media/video-processing.d.ts +1 -0
- package/dist/taro-h5/dist/api/media/video-processing.js +7 -0
- package/dist/taro-h5/dist/api/media/video-processing.js.map +1 -0
- package/dist/taro-h5/dist/api/media/voip.d.ts +16 -0
- package/dist/taro-h5/dist/api/media/voip.js +22 -0
- package/dist/taro-h5/dist/api/media/voip.js.map +1 -0
- package/dist/taro-h5/dist/api/navigate/index.d.ts +5 -0
- package/dist/taro-h5/dist/api/navigate/index.js +11 -0
- package/dist/taro-h5/dist/api/navigate/index.js.map +1 -0
- package/dist/taro-h5/dist/api/network/download.d.ts +7 -0
- package/dist/taro-h5/dist/api/network/download.js +138 -0
- package/dist/taro-h5/dist/api/network/download.js.map +1 -0
- package/dist/taro-h5/dist/api/network/index.d.ts +7 -0
- package/dist/taro-h5/dist/api/network/index.js +8 -0
- package/dist/taro-h5/dist/api/network/index.js.map +1 -0
- package/dist/taro-h5/dist/api/network/mdns.d.ts +10 -0
- package/dist/taro-h5/dist/api/network/mdns.js +16 -0
- package/dist/taro-h5/dist/api/network/mdns.js.map +1 -0
- package/dist/taro-h5/dist/api/network/request/index.d.ts +7 -0
- package/dist/taro-h5/dist/api/network/request/index.js +179 -0
- package/dist/taro-h5/dist/api/network/request/index.js.map +1 -0
- package/dist/taro-h5/dist/api/network/tcp.d.ts +1 -0
- package/dist/taro-h5/dist/api/network/tcp.js +7 -0
- package/dist/taro-h5/dist/api/network/tcp.js.map +1 -0
- package/dist/taro-h5/dist/api/network/udp.d.ts +1 -0
- package/dist/taro-h5/dist/api/network/udp.js +7 -0
- package/dist/taro-h5/dist/api/network/udp.js.map +1 -0
- package/dist/taro-h5/dist/api/network/upload.d.ts +6 -0
- package/dist/taro-h5/dist/api/network/upload.js +159 -0
- package/dist/taro-h5/dist/api/network/upload.js.map +1 -0
- package/dist/taro-h5/dist/api/network/utils.d.ts +44 -0
- package/dist/taro-h5/dist/api/network/utils.js +69 -0
- package/dist/taro-h5/dist/api/network/utils.js.map +1 -0
- package/dist/taro-h5/dist/api/network/websocket/index.d.ts +9 -0
- package/dist/taro-h5/dist/api/network/websocket/index.js +74 -0
- package/dist/taro-h5/dist/api/network/websocket/index.js.map +1 -0
- package/dist/taro-h5/dist/api/network/websocket/socketTask.d.ts +26 -0
- package/dist/taro-h5/dist/api/network/websocket/socketTask.js +68 -0
- package/dist/taro-h5/dist/api/network/websocket/socketTask.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/account.d.ts +1 -0
- package/dist/taro-h5/dist/api/open-api/account.js +7 -0
- package/dist/taro-h5/dist/api/open-api/account.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/address.d.ts +1 -0
- package/dist/taro-h5/dist/api/open-api/address.js +7 -0
- package/dist/taro-h5/dist/api/open-api/address.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/authorize.d.ts +2 -0
- package/dist/taro-h5/dist/api/open-api/authorize.js +8 -0
- package/dist/taro-h5/dist/api/open-api/authorize.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/card.d.ts +2 -0
- package/dist/taro-h5/dist/api/open-api/card.js +8 -0
- package/dist/taro-h5/dist/api/open-api/card.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/channels-live.d.ts +8 -0
- package/dist/taro-h5/dist/api/open-api/channels-live.js +14 -0
- package/dist/taro-h5/dist/api/open-api/channels-live.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/customer-service.d.ts +1 -0
- package/dist/taro-h5/dist/api/open-api/customer-service.js +7 -0
- package/dist/taro-h5/dist/api/open-api/customer-service.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/device-voip.d.ts +2 -0
- package/dist/taro-h5/dist/api/open-api/device-voip.js +8 -0
- package/dist/taro-h5/dist/api/open-api/device-voip.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/facial.d.ts +4 -0
- package/dist/taro-h5/dist/api/open-api/facial.js +10 -0
- package/dist/taro-h5/dist/api/open-api/facial.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/favorites.d.ts +2 -0
- package/dist/taro-h5/dist/api/open-api/favorites.js +8 -0
- package/dist/taro-h5/dist/api/open-api/favorites.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/group.d.ts +1 -0
- package/dist/taro-h5/dist/api/open-api/group.js +7 -0
- package/dist/taro-h5/dist/api/open-api/group.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/index.d.ts +21 -0
- package/dist/taro-h5/dist/api/open-api/index.js +22 -0
- package/dist/taro-h5/dist/api/open-api/index.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/invoice.d.ts +2 -0
- package/dist/taro-h5/dist/api/open-api/invoice.js +8 -0
- package/dist/taro-h5/dist/api/open-api/invoice.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/license-plate.d.ts +1 -0
- package/dist/taro-h5/dist/api/open-api/license-plate.js +7 -0
- package/dist/taro-h5/dist/api/open-api/license-plate.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/login.d.ts +3 -0
- package/dist/taro-h5/dist/api/open-api/login.js +9 -0
- package/dist/taro-h5/dist/api/open-api/login.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/my-miniprogram.d.ts +1 -0
- package/dist/taro-h5/dist/api/open-api/my-miniprogram.js +7 -0
- package/dist/taro-h5/dist/api/open-api/my-miniprogram.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/privacy.d.ts +4 -0
- package/dist/taro-h5/dist/api/open-api/privacy.js +10 -0
- package/dist/taro-h5/dist/api/open-api/privacy.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/red-package.d.ts +1 -0
- package/dist/taro-h5/dist/api/open-api/red-package.js +7 -0
- package/dist/taro-h5/dist/api/open-api/red-package.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/settings.d.ts +2 -0
- package/dist/taro-h5/dist/api/open-api/settings.js +8 -0
- package/dist/taro-h5/dist/api/open-api/settings.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/soter.d.ts +3 -0
- package/dist/taro-h5/dist/api/open-api/soter.js +9 -0
- package/dist/taro-h5/dist/api/open-api/soter.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/subscribe-message.d.ts +2 -0
- package/dist/taro-h5/dist/api/open-api/subscribe-message.js +9 -0
- package/dist/taro-h5/dist/api/open-api/subscribe-message.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/user-info.d.ts +2 -0
- package/dist/taro-h5/dist/api/open-api/user-info.js +8 -0
- package/dist/taro-h5/dist/api/open-api/user-info.js.map +1 -0
- package/dist/taro-h5/dist/api/open-api/werun.d.ts +2 -0
- package/dist/taro-h5/dist/api/open-api/werun.js +8 -0
- package/dist/taro-h5/dist/api/open-api/werun.js.map +1 -0
- package/dist/taro-h5/dist/api/payment/index.d.ts +3 -0
- package/dist/taro-h5/dist/api/payment/index.js +9 -0
- package/dist/taro-h5/dist/api/payment/index.js.map +1 -0
- package/dist/taro-h5/dist/api/qq/index.d.ts +9 -0
- package/dist/taro-h5/dist/api/qq/index.js +15 -0
- package/dist/taro-h5/dist/api/qq/index.js.map +1 -0
- package/dist/taro-h5/dist/api/route/index.d.ts +7 -0
- package/dist/taro-h5/dist/api/route/index.js +12 -0
- package/dist/taro-h5/dist/api/route/index.js.map +1 -0
- package/dist/taro-h5/dist/api/share/index.d.ts +20 -0
- package/dist/taro-h5/dist/api/share/index.js +26 -0
- package/dist/taro-h5/dist/api/share/index.js.map +1 -0
- package/dist/taro-h5/dist/api/storage/background-fetch.d.ts +4 -0
- package/dist/taro-h5/dist/api/storage/background-fetch.js +10 -0
- package/dist/taro-h5/dist/api/storage/background-fetch.js.map +1 -0
- package/dist/taro-h5/dist/api/storage/cache-manager.d.ts +1 -0
- package/dist/taro-h5/dist/api/storage/cache-manager.js +7 -0
- package/dist/taro-h5/dist/api/storage/cache-manager.js.map +1 -0
- package/dist/taro-h5/dist/api/storage/index.d.ts +20 -0
- package/dist/taro-h5/dist/api/storage/index.js +166 -0
- package/dist/taro-h5/dist/api/storage/index.js.map +1 -0
- package/dist/taro-h5/dist/api/swan/index.d.ts +21 -0
- package/dist/taro-h5/dist/api/swan/index.js +30 -0
- package/dist/taro-h5/dist/api/swan/index.js.map +1 -0
- package/dist/taro-h5/dist/api/taro.d.ts +25 -0
- package/dist/taro-h5/dist/api/taro.js +114 -0
- package/dist/taro-h5/dist/api/taro.js.map +1 -0
- package/dist/taro-h5/dist/api/ui/animation/index.d.ts +3 -0
- package/dist/taro-h5/dist/api/ui/animation/index.js +321 -0
- package/dist/taro-h5/dist/api/ui/animation/index.js.map +1 -0
- package/dist/taro-h5/dist/api/ui/animation/worklet.d.ts +2 -0
- package/dist/taro-h5/dist/api/ui/animation/worklet.js +24 -0
- package/dist/taro-h5/dist/api/ui/animation/worklet.js.map +1 -0
- package/dist/taro-h5/dist/api/ui/background.d.ts +2 -0
- package/dist/taro-h5/dist/api/ui/background.js +8 -0
- package/dist/taro-h5/dist/api/ui/background.js.map +1 -0
- package/dist/taro-h5/dist/api/ui/custom-component.d.ts +1 -0
- package/dist/taro-h5/dist/api/ui/custom-component.js +7 -0
- package/dist/taro-h5/dist/api/ui/custom-component.js.map +1 -0
- package/dist/taro-h5/dist/api/ui/fonts.d.ts +3 -0
- package/dist/taro-h5/dist/api/ui/fonts.js +57 -0
- package/dist/taro-h5/dist/api/ui/fonts.js.map +1 -0
- package/dist/taro-h5/dist/api/ui/index.d.ts +13 -0
- package/dist/taro-h5/dist/api/ui/index.js +14 -0
- package/dist/taro-h5/dist/api/ui/index.js.map +1 -0
- package/dist/taro-h5/dist/api/ui/interaction/actionSheet.d.ts +74 -0
- package/dist/taro-h5/dist/api/ui/interaction/actionSheet.js +212 -0
- package/dist/taro-h5/dist/api/ui/interaction/actionSheet.js.map +1 -0
- package/dist/taro-h5/dist/api/ui/interaction/index.d.ts +11 -0
- package/dist/taro-h5/dist/api/ui/interaction/index.js +279 -0
- package/dist/taro-h5/dist/api/ui/interaction/index.js.map +1 -0
- package/dist/taro-h5/dist/api/ui/interaction/modal.d.ts +72 -0
- package/dist/taro-h5/dist/api/ui/interaction/modal.js +207 -0
- package/dist/taro-h5/dist/api/ui/interaction/modal.js.map +1 -0
- package/dist/taro-h5/dist/api/ui/interaction/toast.d.ts +86 -0
- package/dist/taro-h5/dist/api/ui/interaction/toast.js +185 -0
- package/dist/taro-h5/dist/api/ui/interaction/toast.js.map +1 -0
- package/dist/taro-h5/dist/api/ui/menu.d.ts +1 -0
- package/dist/taro-h5/dist/api/ui/menu.js +7 -0
- package/dist/taro-h5/dist/api/ui/menu.js.map +1 -0
- package/dist/taro-h5/dist/api/ui/navigation-bar/index.d.ts +16 -0
- package/dist/taro-h5/dist/api/ui/navigation-bar/index.js +62 -0
- package/dist/taro-h5/dist/api/ui/navigation-bar/index.js.map +1 -0
- package/dist/taro-h5/dist/api/ui/pull-down-refresh.d.ts +10 -0
- package/dist/taro-h5/dist/api/ui/pull-down-refresh.js +30 -0
- package/dist/taro-h5/dist/api/ui/pull-down-refresh.js.map +1 -0
- package/dist/taro-h5/dist/api/ui/scroll/index.d.ts +6 -0
- package/dist/taro-h5/dist/api/ui/scroll/index.js +89 -0
- package/dist/taro-h5/dist/api/ui/scroll/index.js.map +1 -0
- package/dist/taro-h5/dist/api/ui/sticky.d.ts +1 -0
- package/dist/taro-h5/dist/api/ui/sticky.js +7 -0
- package/dist/taro-h5/dist/api/ui/sticky.js.map +1 -0
- package/dist/taro-h5/dist/api/ui/tab-bar.d.ts +35 -0
- package/dist/taro-h5/dist/api/ui/tab-bar.js +287 -0
- package/dist/taro-h5/dist/api/ui/tab-bar.js.map +1 -0
- package/dist/taro-h5/dist/api/ui/window.d.ts +15 -0
- package/dist/taro-h5/dist/api/ui/window.js +36 -0
- package/dist/taro-h5/dist/api/ui/window.js.map +1 -0
- package/dist/taro-h5/dist/api/worker/index.d.ts +1 -0
- package/dist/taro-h5/dist/api/worker/index.js +7 -0
- package/dist/taro-h5/dist/api/worker/index.js.map +1 -0
- package/dist/taro-h5/dist/api/wxml/IntersectionObserver.d.ts +21 -0
- package/dist/taro-h5/dist/api/wxml/IntersectionObserver.js +113 -0
- package/dist/taro-h5/dist/api/wxml/IntersectionObserver.js.map +1 -0
- package/dist/taro-h5/dist/api/wxml/MediaQueryObserver.d.ts +8 -0
- package/dist/taro-h5/dist/api/wxml/MediaQueryObserver.js +55 -0
- package/dist/taro-h5/dist/api/wxml/MediaQueryObserver.js.map +1 -0
- package/dist/taro-h5/dist/api/wxml/index.d.ts +7 -0
- package/dist/taro-h5/dist/api/wxml/index.js +17 -0
- package/dist/taro-h5/dist/api/wxml/index.js.map +1 -0
- package/dist/taro-h5/dist/api/wxml/nodesRef.d.ts +15 -0
- package/dist/taro-h5/dist/api/wxml/nodesRef.js +48 -0
- package/dist/taro-h5/dist/api/wxml/nodesRef.js.map +1 -0
- package/dist/taro-h5/dist/api/wxml/selectorQuery.d.ts +25 -0
- package/dist/taro-h5/dist/api/wxml/selectorQuery.js +214 -0
- package/dist/taro-h5/dist/api/wxml/selectorQuery.js.map +1 -0
- package/dist/taro-h5/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +29 -0
- package/dist/taro-h5/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
- package/dist/taro-h5/dist/utils/animation.d.ts +6 -0
- package/dist/taro-h5/dist/utils/animation.js +17 -0
- package/dist/taro-h5/dist/utils/animation.js.map +1 -0
- package/dist/taro-h5/dist/utils/handler.d.ts +42 -0
- package/dist/taro-h5/dist/utils/handler.js +86 -0
- package/dist/taro-h5/dist/utils/handler.js.map +1 -0
- package/dist/taro-h5/dist/utils/helper.d.ts +1 -0
- package/dist/taro-h5/dist/utils/helper.js +11 -0
- package/dist/taro-h5/dist/utils/helper.js.map +1 -0
- package/dist/taro-h5/dist/utils/index.d.ts +40 -0
- package/dist/taro-h5/dist/utils/index.js +181 -0
- package/dist/taro-h5/dist/utils/index.js.map +1 -0
- package/dist/taro-h5/dist/utils/valid.d.ts +1 -0
- package/dist/taro-h5/dist/utils/valid.js +7 -0
- package/dist/taro-h5/dist/utils/valid.js.map +1 -0
- package/dist/taro-h5/types/api.d.ts +4 -0
- package/dist/taro-h5/types/component.d.ts +6 -0
- package/dist/taro-h5/types/define.d.ts +2 -0
- package/dist/taro-h5/types/global.d.ts +1 -0
- package/dist/taro-h5/types/index.d.ts +33 -0
- package/dist/taro-h5/types/overlay.d.ts +9 -0
- package/package.json +143 -8
- package/dist/index.cjs.d.ts +0 -921
- package/dist/index.cjs.js +0 -5406
- package/dist/index.cjs.js.map +0 -1
- /package/dist/{bom → runtime/bom}/URL.d.ts +0 -0
- /package/dist/{bom → runtime/bom}/URL.js +0 -0
- /package/dist/{bom → runtime/bom}/URL.js.map +0 -0
- /package/dist/{bom → runtime/bom}/URLSearchParams.d.ts +0 -0
- /package/dist/{bom → runtime/bom}/URLSearchParams.js +0 -0
- /package/dist/{bom → runtime/bom}/URLSearchParams.js.map +0 -0
- /package/dist/{bom → runtime/bom}/document.d.ts +0 -0
- /package/dist/{bom → runtime/bom}/document.js +0 -0
- /package/dist/{bom → runtime/bom}/document.js.map +0 -0
- /package/dist/{bom → runtime/bom}/getComputedStyle.d.ts +0 -0
- /package/dist/{bom → runtime/bom}/getComputedStyle.js +0 -0
- /package/dist/{bom → runtime/bom}/getComputedStyle.js.map +0 -0
- /package/dist/{bom → runtime/bom}/history.d.ts +0 -0
- /package/dist/{bom → runtime/bom}/history.js +0 -0
- /package/dist/{bom → runtime/bom}/history.js.map +0 -0
- /package/dist/{bom → runtime/bom}/location.d.ts +0 -0
- /package/dist/{bom → runtime/bom}/location.js +0 -0
- /package/dist/{bom → runtime/bom}/location.js.map +0 -0
- /package/dist/{bom → runtime/bom}/navigator.d.ts +0 -0
- /package/dist/{bom → runtime/bom}/navigator.js +0 -0
- /package/dist/{bom → runtime/bom}/navigator.js.map +0 -0
- /package/dist/{bom → runtime/bom}/raf.d.ts +0 -0
- /package/dist/{bom → runtime/bom}/raf.js +0 -0
- /package/dist/{bom → runtime/bom}/raf.js.map +0 -0
- /package/dist/{bom → runtime/bom}/window.d.ts +0 -0
- /package/dist/{bom → runtime/bom}/window.js +0 -0
- /package/dist/{bom → runtime/bom}/window.js.map +0 -0
- /package/dist/{constants → runtime/constants}/index.d.ts +0 -0
- /package/dist/{constants → runtime/constants}/index.js +0 -0
- /package/dist/{constants → runtime/constants}/index.js.map +0 -0
- /package/dist/{current.d.ts → runtime/current.d.ts} +0 -0
- /package/dist/{current.js → runtime/current.js} +0 -0
- /package/dist/{current.js.map → runtime/current.js.map} +0 -0
- /package/dist/{dom → runtime/dom}/anchor-element.js +0 -0
- /package/dist/{dom → runtime/dom}/anchor-element.js.map +0 -0
- /package/dist/{dom → runtime/dom}/class-list.d.ts +0 -0
- /package/dist/{dom → runtime/dom}/class-list.js +0 -0
- /package/dist/{dom → runtime/dom}/class-list.js.map +0 -0
- /package/dist/{dom → runtime/dom}/document.d.ts +0 -0
- /package/dist/{dom → runtime/dom}/document.js +0 -0
- /package/dist/{dom → runtime/dom}/document.js.map +0 -0
- /package/dist/{dom → runtime/dom}/element.d.ts +0 -0
- /package/dist/{dom → runtime/dom}/element.js +0 -0
- /package/dist/{dom → runtime/dom}/element.js.map +0 -0
- /package/dist/{dom → runtime/dom}/event-source.d.ts +0 -0
- /package/dist/{dom → runtime/dom}/event-source.js +0 -0
- /package/dist/{dom → runtime/dom}/event-source.js.map +0 -0
- /package/dist/{dom → runtime/dom}/event-target.d.ts +0 -0
- /package/dist/{dom → runtime/dom}/event-target.js +0 -0
- /package/dist/{dom → runtime/dom}/event-target.js.map +0 -0
- /package/dist/{dom → runtime/dom}/event.d.ts +0 -0
- /package/dist/{dom → runtime/dom}/event.js +0 -0
- /package/dist/{dom → runtime/dom}/event.js.map +0 -0
- /package/dist/{dom → runtime/dom}/form.d.ts +0 -0
- /package/dist/{dom → runtime/dom}/form.js +0 -0
- /package/dist/{dom → runtime/dom}/form.js.map +0 -0
- /package/dist/{dom → runtime/dom}/node.d.ts +0 -0
- /package/dist/{dom → runtime/dom}/node.js +0 -0
- /package/dist/{dom → runtime/dom}/node.js.map +0 -0
- /package/dist/{dom → runtime/dom}/node_types.d.ts +0 -0
- /package/dist/{dom → runtime/dom}/root.d.ts +0 -0
- /package/dist/{dom → runtime/dom}/root.js +0 -0
- /package/dist/{dom → runtime/dom}/root.js.map +0 -0
- /package/dist/{dom → runtime/dom}/style.d.ts +0 -0
- /package/dist/{dom → runtime/dom}/style.js +0 -0
- /package/dist/{dom → runtime/dom}/style.js.map +0 -0
- /package/dist/{dom → runtime/dom}/style_properties.js +0 -0
- /package/dist/{dom → runtime/dom}/style_properties.js.map +0 -0
- /package/dist/{dom → runtime/dom}/svg.d.ts +0 -0
- /package/dist/{dom → runtime/dom}/svg.js +0 -0
- /package/dist/{dom → runtime/dom}/svg.js.map +0 -0
- /package/dist/{dom → runtime/dom}/text.d.ts +0 -0
- /package/dist/{dom → runtime/dom}/text.js +0 -0
- /package/dist/{dom → runtime/dom}/text.js.map +0 -0
- /package/dist/{dom → runtime/dom}/transfer.js +0 -0
- /package/dist/{dom → runtime/dom}/transfer.js.map +0 -0
- /package/dist/{dom → runtime/dom}/tree.js +0 -0
- /package/dist/{dom → runtime/dom}/tree.js.map +0 -0
- /package/dist/{dom-external → runtime/dom-external}/element.js +0 -0
- /package/dist/{dom-external → runtime/dom-external}/element.js.map +0 -0
- /package/dist/{dom-external → runtime/dom-external}/index.js +0 -0
- /package/dist/{dom-external → runtime/dom-external}/index.js.map +0 -0
- /package/dist/{dom-external → runtime/dom-external}/inner-html/html.d.ts +0 -0
- /package/dist/{dom-external → runtime/dom-external}/inner-html/html.js +0 -0
- /package/dist/{dom-external → runtime/dom-external}/inner-html/html.js.map +0 -0
- /package/dist/{dom-external → runtime/dom-external}/inner-html/parser.d.ts +0 -0
- /package/dist/{dom-external → runtime/dom-external}/inner-html/parser.js +0 -0
- /package/dist/{dom-external → runtime/dom-external}/inner-html/parser.js.map +0 -0
- /package/dist/{dom-external → runtime/dom-external}/inner-html/scanner.js +0 -0
- /package/dist/{dom-external → runtime/dom-external}/inner-html/scanner.js.map +0 -0
- /package/dist/{dom-external → runtime/dom-external}/inner-html/style.js +0 -0
- /package/dist/{dom-external → runtime/dom-external}/inner-html/style.js.map +0 -0
- /package/dist/{dom-external → runtime/dom-external}/inner-html/tags.js +0 -0
- /package/dist/{dom-external → runtime/dom-external}/inner-html/tags.js.map +0 -0
- /package/dist/{dom-external → runtime/dom-external}/inner-html/utils.js +0 -0
- /package/dist/{dom-external → runtime/dom-external}/inner-html/utils.js.map +0 -0
- /package/dist/{dom-external → runtime/dom-external}/mutation-observer/implements.d.ts +0 -0
- /package/dist/{dom-external → runtime/dom-external}/mutation-observer/implements.js +0 -0
- /package/dist/{dom-external → runtime/dom-external}/mutation-observer/implements.js.map +0 -0
- /package/dist/{dom-external → runtime/dom-external}/mutation-observer/index.d.ts +0 -0
- /package/dist/{dom-external → runtime/dom-external}/mutation-observer/index.js +0 -0
- /package/dist/{dom-external → runtime/dom-external}/mutation-observer/index.js.map +0 -0
- /package/dist/{dom-external → runtime/dom-external}/mutation-observer/record.d.ts +0 -0
- /package/dist/{dom-external → runtime/dom-external}/node.js +0 -0
- /package/dist/{dom-external → runtime/dom-external}/node.js.map +0 -0
- /package/dist/{dsl → runtime/dsl}/common.d.ts +0 -0
- /package/dist/{dsl → runtime/dsl}/common.js +0 -0
- /package/dist/{dsl → runtime/dsl}/common.js.map +0 -0
- /package/dist/{dsl → runtime/dsl}/instance.d.ts +0 -0
- /package/dist/{emitter → runtime/emitter}/emitter.d.ts +0 -0
- /package/dist/{emitter → runtime/emitter}/emitter.js +0 -0
- /package/dist/{emitter → runtime/emitter}/emitter.js.map +0 -0
- /package/dist/{env.d.ts → runtime/env.d.ts} +0 -0
- /package/dist/{env.js → runtime/env.js} +0 -0
- /package/dist/{env.js.map → runtime/env.js.map} +0 -0
- /package/dist/{hydrate.d.ts → runtime/hydrate.d.ts} +0 -0
- /package/dist/{hydrate.js → runtime/hydrate.js} +0 -0
- /package/dist/{hydrate.js.map → runtime/hydrate.js.map} +0 -0
- /package/dist/{index.d.ts → runtime/index.d.ts} +0 -0
- /package/dist/{index.js → runtime/index.js} +0 -0
- /package/dist/{index.js.map → runtime/index.js.map} +0 -0
- /package/dist/{interface → runtime/interface}/animate.d.ts +0 -0
- /package/dist/{interface → runtime/interface}/element.d.ts +0 -0
- /package/dist/{interface → runtime/interface}/event-target.d.ts +0 -0
- /package/dist/{interface → runtime/interface}/event.d.ts +0 -0
- /package/dist/{interface → runtime/interface}/hydrate.d.ts +0 -0
- /package/dist/{interface → runtime/interface}/node.d.ts +0 -0
- /package/dist/{interface → runtime/interface}/options.d.ts +0 -0
- /package/dist/{interface → runtime/interface}/utils.d.ts +0 -0
- /package/dist/{next-tick.d.ts → runtime/next-tick.d.ts} +0 -0
- /package/dist/{next-tick.js → runtime/next-tick.js} +0 -0
- /package/dist/{next-tick.js.map → runtime/next-tick.js.map} +0 -0
- /package/dist/{options.d.ts → runtime/options.d.ts} +0 -0
- /package/dist/{options.js → runtime/options.js} +0 -0
- /package/dist/{options.js.map → runtime/options.js.map} +0 -0
- /package/dist/{perf.d.ts → runtime/perf.d.ts} +0 -0
- /package/dist/{perf.js → runtime/perf.js} +0 -0
- /package/dist/{perf.js.map → runtime/perf.js.map} +0 -0
- /package/dist/{polyfill → runtime/polyfill}/array.js +0 -0
- /package/dist/{polyfill → runtime/polyfill}/array.js.map +0 -0
- /package/dist/{polyfill → runtime/polyfill}/index.d.ts +0 -0
- /package/dist/{polyfill → runtime/polyfill}/index.js +0 -0
- /package/dist/{polyfill → runtime/polyfill}/index.js.map +0 -0
- /package/dist/{polyfill → runtime/polyfill}/intersection-observer.js +0 -0
- /package/dist/{polyfill → runtime/polyfill}/intersection-observer.js.map +0 -0
- /package/dist/{polyfill → runtime/polyfill}/object.js +0 -0
- /package/dist/{polyfill → runtime/polyfill}/object.js.map +0 -0
- /package/dist/{runtime.esm.d.ts → runtime/runtime.esm.d.ts} +0 -0
- /package/dist/{runtime.esm.js → runtime/runtime.esm.js} +0 -0
- /package/dist/{runtime.esm.js.map → runtime/runtime.esm.js.map} +0 -0
- /package/dist/{utils → runtime/utils}/cache.d.ts +0 -0
- /package/dist/{utils → runtime/utils}/cache.js +0 -0
- /package/dist/{utils → runtime/utils}/cache.js.map +0 -0
- /package/dist/{utils → runtime/utils}/index.d.ts +0 -0
- /package/dist/{utils → runtime/utils}/index.js +0 -0
- /package/dist/{utils → runtime/utils}/index.js.map +0 -0
- /package/dist/{utils → runtime/utils}/lodash.d.ts +0 -0
- /package/dist/{utils → runtime/utils}/lodash.js +0 -0
- /package/dist/{utils → runtime/utils}/lodash.js.map +0 -0
- /package/dist/{utils → runtime/utils}/router.d.ts +0 -0
- /package/dist/{utils → runtime/utils}/router.js +0 -0
- /package/dist/{utils → runtime/utils}/router.js.map +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { n as notSupport } from './helper.js';
|
|
3
|
+
|
|
4
|
+
const ArCamera = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
}
|
|
9
|
+
componentDidLoad() {
|
|
10
|
+
notSupport('ArCamera', this);
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (h(Host, null));
|
|
14
|
+
}
|
|
15
|
+
}, [0, "taro-ar-camera-core"]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["taro-ar-camera-core"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "taro-ar-camera-core":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, ArCamera);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const TaroArCameraCore = ArCamera;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { ArCamera as A, TaroArCameraCore, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TaroAudioCore extends Components.TaroAudioCore, HTMLElement {}
|
|
4
|
+
export const TaroAudioCore: {
|
|
5
|
+
prototype: TaroAudioCore;
|
|
6
|
+
new (): TaroAudioCore;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const indexCss = "audio{outline:none;max-width:100%}";
|
|
4
|
+
|
|
5
|
+
const Audio = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.onError = createEvent(this, "error", 7);
|
|
10
|
+
this.onPlay = createEvent(this, "play", 7);
|
|
11
|
+
this.onPause = createEvent(this, "pause", 7);
|
|
12
|
+
this.onTimeUpdate = createEvent(this, "timeupdate", 7);
|
|
13
|
+
this.onEnded = createEvent(this, "ended", 7);
|
|
14
|
+
this.src = undefined;
|
|
15
|
+
this.controls = true;
|
|
16
|
+
this.autoplay = false;
|
|
17
|
+
this.loop = false;
|
|
18
|
+
this.muted = false;
|
|
19
|
+
this.nativeProps = {};
|
|
20
|
+
}
|
|
21
|
+
bindevent() {
|
|
22
|
+
this.audio.addEventListener('timeupdate', (e) => {
|
|
23
|
+
this.onTimeUpdate.emit({
|
|
24
|
+
duration: e.srcElement.duration,
|
|
25
|
+
currentTime: e.srcElement.duration
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
this.audio.addEventListener('ended', () => {
|
|
29
|
+
this.onEnded.emit();
|
|
30
|
+
});
|
|
31
|
+
this.audio.addEventListener('play', () => {
|
|
32
|
+
this.onPlay.emit();
|
|
33
|
+
});
|
|
34
|
+
this.audio.addEventListener('pause', (e) => {
|
|
35
|
+
this.onPause.emit(e);
|
|
36
|
+
});
|
|
37
|
+
// 1网络错误, 2解码错误, 3解码错误,4 不合适资源
|
|
38
|
+
this.audio.addEventListener('error', (e) => {
|
|
39
|
+
var _a;
|
|
40
|
+
this.onError.emit({
|
|
41
|
+
errMsg: (_a = e.srcElement.error) === null || _a === void 0 ? void 0 : _a.code
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
componentDidLoad() {
|
|
46
|
+
this.bindevent();
|
|
47
|
+
}
|
|
48
|
+
render() {
|
|
49
|
+
const { src, controls, autoplay, loop, muted, nativeProps } = this;
|
|
50
|
+
return (h("audio", Object.assign({ src: src, controls: controls, autoplay: autoplay, loop: loop, muted: muted, ref: audio => { this.audio = audio; } }, nativeProps)));
|
|
51
|
+
}
|
|
52
|
+
static get style() { return indexCss; }
|
|
53
|
+
}, [0, "taro-audio-core", {
|
|
54
|
+
"src": [1],
|
|
55
|
+
"controls": [4],
|
|
56
|
+
"autoplay": [4],
|
|
57
|
+
"loop": [4],
|
|
58
|
+
"muted": [4],
|
|
59
|
+
"nativeProps": [16]
|
|
60
|
+
}]);
|
|
61
|
+
function defineCustomElement$1() {
|
|
62
|
+
if (typeof customElements === "undefined") {
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
const components = ["taro-audio-core"];
|
|
66
|
+
components.forEach(tagName => { switch (tagName) {
|
|
67
|
+
case "taro-audio-core":
|
|
68
|
+
if (!customElements.get(tagName)) {
|
|
69
|
+
customElements.define(tagName, Audio);
|
|
70
|
+
}
|
|
71
|
+
break;
|
|
72
|
+
} });
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
const TaroAudioCore = Audio;
|
|
76
|
+
const defineCustomElement = defineCustomElement$1;
|
|
77
|
+
|
|
78
|
+
export { Audio as A, TaroAudioCore, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TaroAwemeDataCore extends Components.TaroAwemeDataCore, HTMLElement {}
|
|
4
|
+
export const TaroAwemeDataCore: {
|
|
5
|
+
prototype: TaroAwemeDataCore;
|
|
6
|
+
new (): TaroAwemeDataCore;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { n as notSupport } from './helper.js';
|
|
3
|
+
|
|
4
|
+
const AwemeData = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
}
|
|
9
|
+
componentDidLoad() {
|
|
10
|
+
notSupport('AwemeData', this);
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (h(Host, null));
|
|
14
|
+
}
|
|
15
|
+
}, [0, "taro-aweme-data-core"]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["taro-aweme-data-core"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "taro-aweme-data-core":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, AwemeData);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const TaroAwemeDataCore = AwemeData;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { AwemeData as A, TaroAwemeDataCore, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TaroBlockCore extends Components.TaroBlockCore, HTMLElement {}
|
|
4
|
+
export const TaroBlockCore: {
|
|
5
|
+
prototype: TaroBlockCore;
|
|
6
|
+
new (): TaroBlockCore;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const Block = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
4
|
+
constructor() {
|
|
5
|
+
super();
|
|
6
|
+
this.__registerHost();
|
|
7
|
+
}
|
|
8
|
+
render() {
|
|
9
|
+
return (h(Host, null));
|
|
10
|
+
}
|
|
11
|
+
}, [0, "taro-block-core"]);
|
|
12
|
+
function defineCustomElement$1() {
|
|
13
|
+
if (typeof customElements === "undefined") {
|
|
14
|
+
return;
|
|
15
|
+
}
|
|
16
|
+
const components = ["taro-block-core"];
|
|
17
|
+
components.forEach(tagName => { switch (tagName) {
|
|
18
|
+
case "taro-block-core":
|
|
19
|
+
if (!customElements.get(tagName)) {
|
|
20
|
+
customElements.define(tagName, Block);
|
|
21
|
+
}
|
|
22
|
+
break;
|
|
23
|
+
} });
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
const TaroBlockCore = Block;
|
|
27
|
+
const defineCustomElement = defineCustomElement$1;
|
|
28
|
+
|
|
29
|
+
export { Block as B, TaroBlockCore, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TaroButtonCore extends Components.TaroButtonCore, HTMLElement {}
|
|
4
|
+
export const TaroButtonCore: {
|
|
5
|
+
prototype: TaroButtonCore;
|
|
6
|
+
new (): TaroButtonCore;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { c as classnames } from './index2.js';
|
|
3
|
+
|
|
4
|
+
const indexCss = ".weui-loading{vertical-align:middle;background:url(\"data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E\") 0 0/100% no-repeat;width:20px;height:20px;animation:1s steps(12,end) infinite weuiLoading;display:inline-block}@-webkit-keyframes weuiLoading{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes weuiLoading{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.weui-btn_loading .weui-loading{margin:-.2em .34em 0 0}.weui-btn_loading.weui-btn_primary,.weui-btn_loading.weui-btn_warn{color:rgba(255,255,255,.6)}.weui-btn_loading.weui-btn_primary{background-color:#179b16}.weui-btn_loading.weui-btn_warn{background-color:#ce3c39}taro-button-core{box-sizing:border-box;appearance:none;text-align:center;color:#000;-webkit-tap-highlight-color:transparent;background-color:#f8f8f8;border-width:0;border-radius:5px;outline:0;width:100%;margin-left:auto;margin-right:auto;padding-left:14px;padding-right:14px;font-size:18px;line-height:2.55556;text-decoration:none;display:block;position:relative;overflow:hidden}taro-button-core:focus{outline:0}taro-button-core:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core:after{box-sizing:border-box;content:\" \";transform-origin:0 0;border:1px solid rgba(0,0,0,.2);border-radius:10px;width:200%;height:200%;position:absolute;top:0;left:0;transform:scale(.5)}taro-button-core+taro-button-core{margin-top:15px}taro-button-core[type=default]{color:#000;background-color:#f8f8f8}taro-button-core[type=default]:not([disabled]):visited{color:#000}taro-button-core[type=default]:not([disabled]):active{color:rgba(0,0,0,.6);background-color:#dedede}taro-button-core[size=mini]{width:auto;padding:0 1.32em;font-size:13px;line-height:2.3;display:inline-block}taro-button-core[plain],taro-button-core[plain][type=default],taro-button-core[plain][type=primary]{background-color:transparent;border-width:1px}taro-button-core[disabled]{color:rgba(255,255,255,.6)}taro-button-core[disabled][type=default]{color:rgba(0,0,0,.3);background-color:#f7f7f7}taro-button-core[disabled][type=primary]{background-color:#9ed99d}taro-button-core[disabled][type=warn]{background-color:#ec8b89}taro-button-core[loading] .weui-loading{margin:-.2em .34em 0 0}taro-button-core[loading][type=primary],taro-button-core[loading][type=warn]{color:rgba(255,255,255,.6)}taro-button-core[loading][type=primary]{background-color:#179b16}taro-button-core[loading][type=warn]{background-color:#ce3c39}taro-button-core[plain][type=primary]{color:#1aad19;border:1px solid #1aad19}taro-button-core[plain][type=primary]:not([disabled]):active{color:rgba(26,173,25,.6);background-color:transparent;border-color:rgba(26,173,25,.6)}taro-button-core[plain][type=primary]:after{border-width:0}taro-button-core[plain][type=warn]{color:#e64340;border:1px solid #e64340}taro-button-core[plain][type=warn]:not([disabled]):active{color:rgba(230,67,64,.6);background-color:transparent;border-color:rgba(230,67,64,.6)}taro-button-core[plain][type=warn]:after{border-width:0}taro-button-core[plain],taro-button-core[plain][type=default]{color:#353535;border:1px solid #353535}taro-button-core[plain]:not([disabled]):active,taro-button-core[plain][type=default]:not([disabled]):active{color:rgba(53,53,53,.6);background-color:transparent;border-color:rgba(53,53,53,.6)}taro-button-core[plain]:after,taro-button-core[plain][type=default]:after{border-width:0}taro-button-core[type=primary]{color:#fff;background-color:#1aad19}taro-button-core[type=primary]:not([disabled]):visited{color:#fff}taro-button-core[type=primary]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#179b16}taro-button-core[type=warn]{color:#fff;background-color:#e64340}taro-button-core[type=warn]:not([disabled]):visited{color:#fff}taro-button-core[type=warn]:not([disabled]):active{color:rgba(255,255,255,.6);background-color:#ce3c39}taro-button-core[plain][disabled],taro-button-core[plain][disabled][type=primary]{color:rgba(0,0,0,.3);background-color:#f7f7f7;border:1px solid rgba(0,0,0,.2)}";
|
|
5
|
+
|
|
6
|
+
const Button = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.onSubmit = createEvent(this, "tarobuttonsubmit", 7);
|
|
11
|
+
this.onReset = createEvent(this, "tarobuttonreset", 7);
|
|
12
|
+
this.disabled = undefined;
|
|
13
|
+
this.hoverClass = 'button-hover';
|
|
14
|
+
this.type = '';
|
|
15
|
+
this.hoverStartTime = 20;
|
|
16
|
+
this.hoverStayTime = 70;
|
|
17
|
+
this.size = undefined;
|
|
18
|
+
this.plain = undefined;
|
|
19
|
+
this.loading = false;
|
|
20
|
+
this.formType = null;
|
|
21
|
+
this.hover = false;
|
|
22
|
+
this.touch = false;
|
|
23
|
+
}
|
|
24
|
+
onClick(e) {
|
|
25
|
+
if (this.disabled) {
|
|
26
|
+
e.stopPropagation();
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
onTouchStart() {
|
|
30
|
+
if (this.disabled) {
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
this.touch = true;
|
|
34
|
+
if (this.hoverClass && !this.disabled) {
|
|
35
|
+
setTimeout(() => {
|
|
36
|
+
if (this.touch) {
|
|
37
|
+
this.hover = true;
|
|
38
|
+
}
|
|
39
|
+
}, this.hoverStartTime);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
onTouchEnd() {
|
|
43
|
+
if (this.disabled) {
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
this.touch = false;
|
|
47
|
+
if (this.hoverClass && !this.disabled) {
|
|
48
|
+
setTimeout(() => {
|
|
49
|
+
if (!this.touch) {
|
|
50
|
+
this.hover = false;
|
|
51
|
+
}
|
|
52
|
+
}, this.hoverStayTime);
|
|
53
|
+
}
|
|
54
|
+
if (this.formType === 'submit') {
|
|
55
|
+
this.onSubmit.emit();
|
|
56
|
+
}
|
|
57
|
+
else if (this.formType === 'reset') {
|
|
58
|
+
this.onReset.emit();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
render() {
|
|
62
|
+
const { disabled, hoverClass, type, size, plain, loading, hover } = this;
|
|
63
|
+
const cls = classnames({
|
|
64
|
+
[`${hoverClass}`]: hover && !disabled
|
|
65
|
+
});
|
|
66
|
+
return (h(Host, { class: cls, type: type, plain: plain, loading: loading, size: size }, loading && h("i", { class: 'weui-loading' }), h("slot", null)));
|
|
67
|
+
}
|
|
68
|
+
get el() { return this; }
|
|
69
|
+
static get style() { return indexCss; }
|
|
70
|
+
}, [4, "taro-button-core", {
|
|
71
|
+
"disabled": [516],
|
|
72
|
+
"hoverClass": [1, "hover-class"],
|
|
73
|
+
"type": [1],
|
|
74
|
+
"hoverStartTime": [2, "hover-start-time"],
|
|
75
|
+
"hoverStayTime": [2, "hover-stay-time"],
|
|
76
|
+
"size": [1],
|
|
77
|
+
"plain": [4],
|
|
78
|
+
"loading": [4],
|
|
79
|
+
"formType": [513, "form-type"],
|
|
80
|
+
"hover": [32],
|
|
81
|
+
"touch": [32]
|
|
82
|
+
}, [[0, "click", "onClick"], [1, "touchstart", "onTouchStart"], [1, "touchend", "onTouchEnd"]]]);
|
|
83
|
+
function defineCustomElement$1() {
|
|
84
|
+
if (typeof customElements === "undefined") {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
const components = ["taro-button-core"];
|
|
88
|
+
components.forEach(tagName => { switch (tagName) {
|
|
89
|
+
case "taro-button-core":
|
|
90
|
+
if (!customElements.get(tagName)) {
|
|
91
|
+
customElements.define(tagName, Button);
|
|
92
|
+
}
|
|
93
|
+
break;
|
|
94
|
+
} });
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
const TaroButtonCore = Button;
|
|
98
|
+
const defineCustomElement = defineCustomElement$1;
|
|
99
|
+
|
|
100
|
+
export { Button as B, TaroButtonCore, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TaroCameraCore extends Components.TaroCameraCore, HTMLElement {}
|
|
4
|
+
export const TaroCameraCore: {
|
|
5
|
+
prototype: TaroCameraCore;
|
|
6
|
+
new (): TaroCameraCore;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { n as notSupport } from './helper.js';
|
|
3
|
+
|
|
4
|
+
const Camera = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
}
|
|
9
|
+
componentDidLoad() {
|
|
10
|
+
notSupport('Camera', this);
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (h(Host, null));
|
|
14
|
+
}
|
|
15
|
+
}, [0, "taro-camera-core"]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["taro-camera-core"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "taro-camera-core":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, Camera);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const TaroCameraCore = Camera;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { Camera as C, TaroCameraCore, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TaroCanvasCore extends Components.TaroCanvasCore, HTMLElement {}
|
|
4
|
+
export const TaroCanvasCore: {
|
|
5
|
+
prototype: TaroCanvasCore;
|
|
6
|
+
new (): TaroCanvasCore;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
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 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.onLongTap = createEvent(this, "longtap", 7);
|
|
11
|
+
this.onTouchStart = () => {
|
|
12
|
+
this.timer = setTimeout(() => {
|
|
13
|
+
this.onLongTap.emit();
|
|
14
|
+
}, LONG_TAP_DELAY);
|
|
15
|
+
};
|
|
16
|
+
this.onTouchMove = () => {
|
|
17
|
+
clearTimeout(this.timer);
|
|
18
|
+
};
|
|
19
|
+
this.onTouchEnd = () => {
|
|
20
|
+
clearTimeout(this.timer);
|
|
21
|
+
};
|
|
22
|
+
this.canvasId = undefined;
|
|
23
|
+
this.height = undefined;
|
|
24
|
+
this.width = undefined;
|
|
25
|
+
this.nativeProps = {};
|
|
26
|
+
}
|
|
27
|
+
componentDidRender() {
|
|
28
|
+
const [canvas] = this.el.children;
|
|
29
|
+
if (!this.height || !this.width) {
|
|
30
|
+
let style = window.getComputedStyle(canvas);
|
|
31
|
+
this.height || (this.height = style.height);
|
|
32
|
+
this.width || (this.width = style.width);
|
|
33
|
+
}
|
|
34
|
+
canvas.height = parseInt(this.height);
|
|
35
|
+
canvas.width = parseInt(this.width);
|
|
36
|
+
}
|
|
37
|
+
render() {
|
|
38
|
+
const { canvasId, nativeProps } = this;
|
|
39
|
+
return (h("canvas", Object.assign({ "canvas-id": canvasId, style: {
|
|
40
|
+
width: '100%',
|
|
41
|
+
height: '100%'
|
|
42
|
+
}, onTouchStart: this.onTouchStart, onTouchMove: this.onTouchMove, onTouchCancel: this.onTouchEnd, onTouchEnd: this.onTouchEnd }, nativeProps)));
|
|
43
|
+
}
|
|
44
|
+
get el() { return this; }
|
|
45
|
+
static get style() { return indexCss; }
|
|
46
|
+
}, [0, "taro-canvas-core", {
|
|
47
|
+
"canvasId": [1, "id"],
|
|
48
|
+
"height": [1537],
|
|
49
|
+
"width": [1537],
|
|
50
|
+
"nativeProps": [16]
|
|
51
|
+
}]);
|
|
52
|
+
function defineCustomElement$1() {
|
|
53
|
+
if (typeof customElements === "undefined") {
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
const components = ["taro-canvas-core"];
|
|
57
|
+
components.forEach(tagName => { switch (tagName) {
|
|
58
|
+
case "taro-canvas-core":
|
|
59
|
+
if (!customElements.get(tagName)) {
|
|
60
|
+
customElements.define(tagName, Canvas);
|
|
61
|
+
}
|
|
62
|
+
break;
|
|
63
|
+
} });
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const TaroCanvasCore = Canvas;
|
|
67
|
+
const defineCustomElement = defineCustomElement$1;
|
|
68
|
+
|
|
69
|
+
export { Canvas as C, TaroCanvasCore, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TaroChannelLiveCore extends Components.TaroChannelLiveCore, HTMLElement {}
|
|
4
|
+
export const TaroChannelLiveCore: {
|
|
5
|
+
prototype: TaroChannelLiveCore;
|
|
6
|
+
new (): TaroChannelLiveCore;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { n as notSupport } from './helper.js';
|
|
3
|
+
|
|
4
|
+
const ChannelLive = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
}
|
|
9
|
+
componentDidLoad() {
|
|
10
|
+
notSupport('ChannelLive', this);
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (h(Host, null));
|
|
14
|
+
}
|
|
15
|
+
}, [0, "taro-channel-live-core"]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["taro-channel-live-core"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "taro-channel-live-core":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, ChannelLive);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const TaroChannelLiveCore = ChannelLive;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { ChannelLive as C, TaroChannelLiveCore, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TaroChannelVideoCore extends Components.TaroChannelVideoCore, HTMLElement {}
|
|
4
|
+
export const TaroChannelVideoCore: {
|
|
5
|
+
prototype: TaroChannelVideoCore;
|
|
6
|
+
new (): TaroChannelVideoCore;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { n as notSupport } from './helper.js';
|
|
3
|
+
|
|
4
|
+
const ChannelVideo = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
5
|
+
constructor() {
|
|
6
|
+
super();
|
|
7
|
+
this.__registerHost();
|
|
8
|
+
}
|
|
9
|
+
componentDidLoad() {
|
|
10
|
+
notSupport('ChannelVideo', this);
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return (h(Host, null));
|
|
14
|
+
}
|
|
15
|
+
}, [0, "taro-channel-video-core"]);
|
|
16
|
+
function defineCustomElement$1() {
|
|
17
|
+
if (typeof customElements === "undefined") {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const components = ["taro-channel-video-core"];
|
|
21
|
+
components.forEach(tagName => { switch (tagName) {
|
|
22
|
+
case "taro-channel-video-core":
|
|
23
|
+
if (!customElements.get(tagName)) {
|
|
24
|
+
customElements.define(tagName, ChannelVideo);
|
|
25
|
+
}
|
|
26
|
+
break;
|
|
27
|
+
} });
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const TaroChannelVideoCore = ChannelVideo;
|
|
31
|
+
const defineCustomElement = defineCustomElement$1;
|
|
32
|
+
|
|
33
|
+
export { ChannelVideo as C, TaroChannelVideoCore, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TaroCheckboxCore extends Components.TaroCheckboxCore, HTMLElement {}
|
|
4
|
+
export const TaroCheckboxCore: {
|
|
5
|
+
prototype: TaroCheckboxCore;
|
|
6
|
+
new (): TaroCheckboxCore;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
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)}";
|
|
4
|
+
|
|
5
|
+
const Checkbox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.onChange = createEvent(this, "checkboxchange", 7);
|
|
10
|
+
this.handleChange = (e) => {
|
|
11
|
+
e.stopPropagation();
|
|
12
|
+
this.onChange.emit({
|
|
13
|
+
value: this.value
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
this.name = undefined;
|
|
17
|
+
this.value = '';
|
|
18
|
+
this.color = undefined;
|
|
19
|
+
this.id = undefined;
|
|
20
|
+
this.checked = false;
|
|
21
|
+
this.disabled = false;
|
|
22
|
+
this.nativeProps = {};
|
|
23
|
+
this.isWillLoadCalled = false;
|
|
24
|
+
}
|
|
25
|
+
watchId(newVal) {
|
|
26
|
+
if (!this.isWillLoadCalled)
|
|
27
|
+
return;
|
|
28
|
+
if (newVal)
|
|
29
|
+
this.inputEl.setAttribute('id', newVal);
|
|
30
|
+
}
|
|
31
|
+
componentWillLoad() {
|
|
32
|
+
this.isWillLoadCalled = true;
|
|
33
|
+
}
|
|
34
|
+
componentDidRender() {
|
|
35
|
+
this.id && this.el.removeAttribute('id');
|
|
36
|
+
}
|
|
37
|
+
render() {
|
|
38
|
+
const { checked, name, color, value, disabled, nativeProps } = this;
|
|
39
|
+
return (h(Host, { class: 'weui-cells_checkbox' }, h("input", Object.assign({ ref: dom => {
|
|
40
|
+
if (!dom)
|
|
41
|
+
return;
|
|
42
|
+
this.inputEl = dom;
|
|
43
|
+
if (this.id)
|
|
44
|
+
dom.setAttribute('id', this.id);
|
|
45
|
+
}, type: 'checkbox', value: value, name: name, class: 'taro-checkbox_checked', style: { color }, checked: checked, disabled: disabled, onChange: this.handleChange }, nativeProps)), h("slot", null)));
|
|
46
|
+
}
|
|
47
|
+
get el() { return this; }
|
|
48
|
+
static get watchers() { return {
|
|
49
|
+
"id": ["watchId"]
|
|
50
|
+
}; }
|
|
51
|
+
static get style() { return indexCss; }
|
|
52
|
+
}, [4, "taro-checkbox-core", {
|
|
53
|
+
"name": [1],
|
|
54
|
+
"value": [1032],
|
|
55
|
+
"color": [1],
|
|
56
|
+
"id": [1025],
|
|
57
|
+
"checked": [4],
|
|
58
|
+
"disabled": [4],
|
|
59
|
+
"nativeProps": [16],
|
|
60
|
+
"isWillLoadCalled": [32]
|
|
61
|
+
}]);
|
|
62
|
+
function defineCustomElement$1() {
|
|
63
|
+
if (typeof customElements === "undefined") {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const components = ["taro-checkbox-core"];
|
|
67
|
+
components.forEach(tagName => { switch (tagName) {
|
|
68
|
+
case "taro-checkbox-core":
|
|
69
|
+
if (!customElements.get(tagName)) {
|
|
70
|
+
customElements.define(tagName, Checkbox);
|
|
71
|
+
}
|
|
72
|
+
break;
|
|
73
|
+
} });
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
const TaroCheckboxCore = Checkbox;
|
|
77
|
+
const defineCustomElement = defineCustomElement$1;
|
|
78
|
+
|
|
79
|
+
export { Checkbox as C, TaroCheckboxCore, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface TaroCheckboxGroupCore extends Components.TaroCheckboxGroupCore, HTMLElement {}
|
|
4
|
+
export const TaroCheckboxGroupCore: {
|
|
5
|
+
prototype: TaroCheckboxGroupCore;
|
|
6
|
+
new (): TaroCheckboxGroupCore;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|