@tarojs/components 3.6.2 → 3.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/taro-components.cjs.js +1 -1
- package/dist/cjs/taro-grid-view-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-input-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-list-view-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-picker-core_2.cjs.entry.js +1 -1
- package/dist/cjs/taro-sticky-header-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-sticky-section-core.cjs.entry.js +21 -0
- package/dist/cjs/taro-swiper-core_2.cjs.entry.js +28 -18
- package/dist/cjs/taro-textarea-core.cjs.entry.js +13 -3
- package/dist/cjs/taro-video-control_3.cjs.entry.js +3 -1
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/grid-view/grid-view.js +11 -0
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/list-view/list-view.js +11 -0
- package/dist/collection/components/picker/picker.js +1 -1
- package/dist/collection/components/sticky-header/sticky-header.js +11 -0
- package/dist/collection/components/sticky-section/sticky-section.js +11 -0
- package/dist/collection/components/swiper/swiper-item.js +16 -9
- package/dist/collection/components/swiper/swiper.js +12 -9
- package/dist/collection/components/textarea/textarea.js +23 -6
- package/dist/collection/components/video/video.js +3 -1
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.js +4 -0
- package/dist/components/taro-grid-view-core.d.ts +11 -0
- package/dist/components/taro-grid-view-core.js +33 -0
- package/dist/components/taro-input-core.js +1 -1
- package/dist/components/taro-list-view-core.d.ts +11 -0
- package/dist/components/taro-list-view-core.js +33 -0
- package/dist/components/taro-picker-core.js +1 -1
- package/dist/components/taro-sticky-header-core.d.ts +11 -0
- package/dist/components/taro-sticky-header-core.js +33 -0
- package/dist/components/taro-sticky-section-core.d.ts +11 -0
- package/dist/components/taro-sticky-section-core.js +33 -0
- package/dist/components/taro-swiper-core.js +12 -9
- package/dist/components/taro-swiper-item-core.js +16 -9
- package/dist/components/taro-textarea-core.js +14 -4
- package/dist/components/taro-video-core.js +3 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/taro-components.js +1 -1
- package/dist/esm/taro-grid-view-core.entry.js +17 -0
- package/dist/esm/taro-input-core.entry.js +1 -1
- package/dist/esm/taro-list-view-core.entry.js +17 -0
- package/dist/esm/taro-picker-core_2.entry.js +1 -1
- package/dist/esm/taro-sticky-header-core.entry.js +17 -0
- package/dist/esm/taro-sticky-section-core.entry.js +17 -0
- package/dist/esm/taro-swiper-core_2.entry.js +28 -18
- package/dist/esm/taro-textarea-core.entry.js +13 -3
- package/dist/esm/taro-video-control_3.entry.js +3 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-grid-view-core.entry.js +1 -0
- package/dist/esm-es5/taro-input-core.entry.js +1 -1
- package/dist/esm-es5/taro-list-view-core.entry.js +1 -0
- package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -0
- package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -0
- package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
- package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
- package/dist/taro-components/p-02aa7366.system.entry.js +1 -0
- package/dist/taro-components/p-05c757b7.entry.js +1 -0
- package/dist/taro-components/{p-4d390d17.entry.js → p-0b8b3af5.entry.js} +1 -1
- package/dist/taro-components/p-1c446c65.system.js +1 -1
- package/dist/taro-components/p-1eac7c75.system.entry.js +1 -0
- package/dist/taro-components/{p-3e23fa46.system.entry.js → p-39685396.system.entry.js} +1 -1
- package/dist/taro-components/p-4402972b.system.entry.js +1 -0
- package/dist/taro-components/{p-e53feb03.system.entry.js → p-58f9a827.system.entry.js} +1 -1
- package/dist/taro-components/p-5931c82e.entry.js +1 -0
- package/dist/taro-components/{p-ab84c88e.entry.js → p-7704e165.entry.js} +1 -1
- package/dist/taro-components/p-7c1fc8f5.system.entry.js +1 -0
- package/dist/taro-components/p-7df9de66.system.entry.js +1 -0
- package/dist/taro-components/{p-10046f1a.system.entry.js → p-a5afdc47.system.entry.js} +1 -1
- package/dist/taro-components/p-affb28de.entry.js +1 -0
- package/dist/taro-components/{p-8267b686.entry.js → p-c30d1b2d.entry.js} +1 -1
- package/dist/taro-components/p-dfc405a5.entry.js +1 -0
- package/dist/taro-components/p-e753b776.entry.js +1 -0
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/types/components/grid-view/grid-view.d.ts +5 -0
- package/dist/types/components/list-view/list-view.d.ts +5 -0
- package/dist/types/components/sticky-header/sticky-header.d.ts +5 -0
- package/dist/types/components/sticky-section/sticky-section.d.ts +5 -0
- package/dist/types/components/textarea/textarea.d.ts +2 -1
- package/dist/types/components.d.ts +52 -0
- package/lib/react/_virtual/_commonjsHelpers.js +35 -0
- package/lib/react/_virtual/_commonjsHelpers.js.map +1 -0
- package/lib/react/_virtual/index.js +4 -0
- package/lib/react/_virtual/index.js.map +1 -0
- package/lib/react/_virtual/index2.js +4 -0
- package/lib/react/_virtual/index2.js.map +1 -0
- package/lib/react/_virtual/index3.js +7 -0
- package/lib/react/_virtual/index3.js.map +1 -0
- package/lib/react/_virtual/index4.js +7 -0
- package/lib/react/_virtual/index4.js.map +1 -0
- package/lib/react/_virtual/index5.js +4 -0
- package/lib/react/_virtual/index5.js.map +1 -0
- package/lib/react/_virtual/react-dom.development.js +2 -0
- package/lib/react/_virtual/react-dom.development.js.map +1 -0
- package/lib/react/_virtual/react-dom.development2.js +4 -0
- package/lib/react/_virtual/react-dom.development2.js.map +1 -0
- package/lib/react/_virtual/react-dom.production.min.js +2 -0
- package/lib/react/_virtual/react-dom.production.min.js.map +1 -0
- package/lib/react/_virtual/react-dom.production.min2.js +4 -0
- package/lib/react/_virtual/react-dom.production.min2.js.map +1 -0
- package/lib/react/_virtual/react.development.js +7 -0
- package/lib/react/_virtual/react.development.js.map +1 -0
- package/lib/react/_virtual/react.development2.js +4 -0
- package/lib/react/_virtual/react.development2.js.map +1 -0
- package/lib/react/_virtual/react.production.min.js +2 -0
- package/lib/react/_virtual/react.production.min.js.map +1 -0
- package/lib/react/_virtual/react.production.min2.js +4 -0
- package/lib/react/_virtual/react.production.min2.js.map +1 -0
- package/lib/react/_virtual/scheduler.development.js +2 -0
- package/lib/react/_virtual/scheduler.development.js.map +1 -0
- package/lib/react/_virtual/scheduler.development2.js +4 -0
- package/lib/react/_virtual/scheduler.development2.js.map +1 -0
- package/lib/react/_virtual/scheduler.production.min.js +2 -0
- package/lib/react/_virtual/scheduler.production.min.js.map +1 -0
- package/lib/react/_virtual/scheduler.production.min2.js +4 -0
- package/lib/react/_virtual/scheduler.production.min2.js.map +1 -0
- package/lib/react/component-lib/index.js +3 -2
- package/lib/react/component-lib/index.js.map +1 -1
- package/lib/react/component-lib/input.js +1 -1
- package/lib/react/component-lib/reactify-wc.js +4 -3
- package/lib/react/component-lib/reactify-wc.js.map +1 -1
- package/lib/react/components.d.ts +81 -77
- package/lib/react/components.js +86 -80
- package/lib/react/components.js.map +1 -1
- package/lib/react/index.js +1 -1
- package/lib/react/{interfaces-4f837811.d.ts → interfaces-f526f1a2.d.ts} +4 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom.development.js +29893 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom.development.js.map +1 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom.production.min.js +337 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_react-dom@18.2.0_react@18.2.0/node_modules/react-dom/cjs/react-dom.production.min.js.map +1 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_react-dom@18.2.0_react@18.2.0/node_modules/react-dom/index.js +52 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_react-dom@18.2.0_react@18.2.0/node_modules/react-dom/index.js.map +1 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_react@18.2.0/node_modules/react/cjs/react.development.js +2749 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_react@18.2.0/node_modules/react/cjs/react.development.js.map +1 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_react@18.2.0/node_modules/react/cjs/react.production.min.js +34 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_react@18.2.0/node_modules/react/cjs/react.production.min.js.map +1 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_react@18.2.0/node_modules/react/index.js +21 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_react@18.2.0/node_modules/react/index.js.map +1 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_scheduler@0.23.0/node_modules/scheduler/cjs/scheduler.development.js +641 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_scheduler@0.23.0/node_modules/scheduler/cjs/scheduler.development.js.map +1 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_scheduler@0.23.0/node_modules/scheduler/cjs/scheduler.production.min.js +27 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_scheduler@0.23.0/node_modules/scheduler/cjs/scheduler.production.min.js.map +1 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_scheduler@0.23.0/node_modules/scheduler/index.js +21 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_scheduler@0.23.0/node_modules/scheduler/index.js.map +1 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@1.14.1/node_modules/tslib/tslib.es6.js +221 -0
- package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@1.14.1/node_modules/tslib/tslib.es6.js.map +1 -0
- package/lib/react/react-component-lib/createComponent.d.ts +5 -1
- package/lib/react/react-component-lib/createComponent.js +9 -6
- package/lib/react/react-component-lib/createComponent.js.map +1 -1
- package/lib/react/react-component-lib/createOverlayComponent.d.ts +5 -1
- package/lib/react/react-component-lib/createOverlayComponent.js +4 -3
- package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
- package/lib/react/react-component-lib/utils/attachProps.d.ts +2 -6
- package/lib/react/react-component-lib/utils/attachProps.js +41 -36
- package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/lib/react/react-component-lib/utils/case.d.ts +4 -0
- package/lib/react/react-component-lib/utils/case.js +4 -0
- package/lib/react/react-component-lib/utils/case.js.map +1 -1
- package/lib/react/react-component-lib/utils/index.d.ts +5 -1
- package/lib/react/react-component-lib/utils/index.js +5 -1
- package/lib/react/react-component-lib/utils/index.js.map +1 -1
- package/lib/vue2/component-lib/index.js +1 -1
- package/lib/vue2/components-loader.d.ts +2 -0
- package/lib/vue2/components-loader.js +21 -0
- package/lib/vue2/components-loader.js.map +1 -0
- package/lib/vue2/components.d.ts +5 -1
- package/lib/vue2/components.js +142 -225
- package/lib/vue2/components.js.map +1 -1
- package/lib/vue2/index.d.ts +0 -2
- package/lib/vue2/index.js +1 -22
- package/lib/vue2/index.js.map +1 -1
- package/lib/vue2/node_modules/.pnpm/registry.npmjs.org_vue@2.6.14/node_modules/vue/dist/vue.runtime.esm.js +8494 -0
- package/lib/vue2/node_modules/.pnpm/registry.npmjs.org_vue@2.6.14/node_modules/vue/dist/vue.runtime.esm.js.map +1 -0
- package/lib/vue2/vue-component-lib/utils.d.ts +7 -3
- package/lib/vue2/vue-component-lib/utils.js +42 -25
- package/lib/vue2/vue-component-lib/utils.js.map +1 -1
- package/lib/vue3/component-lib/createComponent.js +2 -1
- package/lib/vue3/component-lib/createComponent.js.map +1 -1
- package/lib/vue3/component-lib/createFormsComponent.js +3 -1
- package/lib/vue3/component-lib/createFormsComponent.js.map +1 -1
- package/lib/vue3/component-lib/forwardRef.js +2 -1
- package/lib/vue3/component-lib/forwardRef.js.map +1 -1
- package/lib/vue3/component-lib/icon.js +2 -1
- package/lib/vue3/component-lib/icon.js.map +1 -1
- package/lib/vue3/component-lib/image.js +2 -1
- package/lib/vue3/component-lib/image.js.map +1 -1
- package/lib/vue3/component-lib/scroll-view.js +2 -1
- package/lib/vue3/component-lib/scroll-view.js.map +1 -1
- package/lib/vue3/component-lib/text.js +2 -1
- package/lib/vue3/component-lib/text.js.map +1 -1
- package/lib/vue3/components-loader.d.ts +2 -0
- package/lib/vue3/components-loader.js +13 -0
- package/lib/vue3/components-loader.js.map +1 -0
- package/lib/vue3/components.d.ts +5 -1
- package/lib/vue3/components.js +84 -78
- package/lib/vue3/components.js.map +1 -1
- package/lib/vue3/index.d.ts +0 -2
- package/lib/vue3/index.js +1 -14
- package/lib/vue3/index.js.map +1 -1
- package/lib/vue3/node_modules/.pnpm/registry.npmjs.org_@vue_reactivity@3.2.37/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js +1252 -0
- package/lib/vue3/node_modules/.pnpm/registry.npmjs.org_@vue_reactivity@3.2.37/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js.map +1 -0
- package/lib/vue3/node_modules/.pnpm/registry.npmjs.org_@vue_runtime-core@3.2.37/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js +7856 -0
- package/lib/vue3/node_modules/.pnpm/registry.npmjs.org_@vue_runtime-core@3.2.37/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js.map +1 -0
- package/lib/vue3/node_modules/.pnpm/registry.npmjs.org_@vue_runtime-dom@3.2.37/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js +1702 -0
- package/lib/vue3/node_modules/.pnpm/registry.npmjs.org_@vue_runtime-dom@3.2.37/node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js.map +1 -0
- package/lib/vue3/node_modules/.pnpm/registry.npmjs.org_@vue_shared@3.2.37/node_modules/@vue/shared/dist/shared.esm-bundler.js +597 -0
- package/lib/vue3/node_modules/.pnpm/registry.npmjs.org_@vue_shared@3.2.37/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +1 -0
- package/lib/vue3/node_modules/.pnpm/registry.npmjs.org_vue@3.2.37/node_modules/vue/dist/vue.runtime.esm-bundler.js +24 -0
- package/lib/vue3/node_modules/.pnpm/registry.npmjs.org_vue@3.2.37/node_modules/vue/dist/vue.runtime.esm-bundler.js.map +1 -0
- package/lib/vue3/vue-component-lib/utils.js +14 -5
- package/lib/vue3/vue-component-lib/utils.js.map +1 -1
- package/package.json +11 -8
- package/types/Ad.d.ts +2 -31
- package/types/AdCustom.d.ts +0 -4
- package/types/AnimationVideo.d.ts +0 -9
- package/types/AnimationView.d.ts +0 -6
- package/types/ArCamera.d.ts +0 -7
- package/types/Audio.d.ts +0 -18
- package/types/AwemeData.d.ts +0 -6
- package/types/Button.d.ts +3 -106
- package/types/Camera.d.ts +0 -28
- package/types/Canvas.d.ts +2 -17
- package/types/ChannelLive.d.ts +0 -2
- package/types/ChannelVideo.d.ts +0 -6
- package/types/Checkbox.d.ts +1 -8
- package/types/CheckboxGroup.d.ts +0 -2
- package/types/CommentDetail.d.ts +4 -10
- package/types/CommentList.d.ts +4 -20
- package/types/ContactButton.d.ts +0 -7
- package/types/CoverImage.d.ts +0 -11
- package/types/CoverView.d.ts +0 -26
- package/types/Editor.d.ts +0 -10
- package/types/FollowSwan.d.ts +0 -3
- package/types/Form.d.ts +1 -9
- package/types/FunctionalPageNavigator.d.ts +0 -11
- package/types/GridView.d.ts +37 -0
- package/types/Icon.d.ts +0 -14
- package/types/Image.d.ts +0 -31
- package/types/InlinePaymentPanel.d.ts +0 -9
- package/types/Input.d.ts +0 -62
- package/types/Label.d.ts +3 -2
- package/types/Lifestyle.d.ts +0 -3
- package/types/Like.d.ts +0 -17
- package/types/ListView.d.ts +12 -0
- package/types/LivePlayer.d.ts +1 -58
- package/types/LivePusher.d.ts +0 -77
- package/types/Login.d.ts +0 -5
- package/types/Lottie.d.ts +0 -16
- package/types/Map.d.ts +19 -136
- package/types/MatchMedia.d.ts +0 -7
- package/types/MovableArea.d.ts +0 -1
- package/types/MovableView.d.ts +0 -35
- package/types/NavigationBar.d.ts +0 -6
- package/types/Navigator.d.ts +0 -27
- package/types/OfficialAccount.d.ts +0 -12
- package/types/OpenData.d.ts +0 -20
- package/types/PageContainer.d.ts +0 -21
- package/types/PageMeta.d.ts +0 -16
- package/types/Picker.d.ts +17 -45
- package/types/PickerView.d.ts +1 -12
- package/types/Progress.d.ts +0 -13
- package/types/Radio.d.ts +1 -8
- package/types/RadioGroup.d.ts +0 -2
- package/types/RichText.d.ts +1 -22
- package/types/RootPortal.d.ts +1 -2
- package/types/RtcRoom.d.ts +0 -16
- package/types/RtcRoomItem.d.ts +0 -3
- package/types/ScrollView.d.ts +43 -46
- package/types/ShareElement.d.ts +2 -7
- package/types/Slider.d.ts +0 -19
- package/types/StickyHeader.d.ts +12 -0
- package/types/StickySection.d.ts +18 -0
- package/types/Swiper.d.ts +0 -44
- package/types/SwiperItem.d.ts +0 -2
- package/types/Switch.d.ts +2 -11
- package/types/TabItem.d.ts +0 -4
- package/types/Tabs.d.ts +0 -8
- package/types/Text.d.ts +0 -7
- package/types/Textarea.d.ts +2 -38
- package/types/Video.d.ts +1 -112
- package/types/View.d.ts +0 -25
- package/types/VoipRoom.d.ts +0 -6
- package/types/WebView.d.ts +0 -6
- package/types/index.d.ts +4 -0
- package/types/index.vue3.d.ts +8 -0
- package/dist/taro-components/p-0895120a.system.entry.js +0 -1
- package/dist/taro-components/p-0aaf66d2.entry.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vue.runtime.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Modify from https://github.com/diondree/stencil-vue2-output-target/blob/master/vue-component-lib/utils.ts
|
|
3
|
+
* MIT License https://github.com/diondree/stencil-vue2-output-target/blob/master/LICENSE.md
|
|
4
|
+
*/
|
|
5
|
+
import { CreateElement, VNode } from 'vue';
|
|
3
6
|
declare const createCommonMethod: (methodName: string) => unknown;
|
|
4
7
|
declare const toLowerCase: (str: string) => string;
|
|
5
8
|
declare const toDashCase: (str: string) => string;
|
|
6
|
-
|
|
9
|
+
declare const createCommonRender: (tagName: string, eventNames: string[], defineCustomElement: any) => (createElement: CreateElement) => VNode;
|
|
10
|
+
export { createCommonMethod, toLowerCase, toDashCase, createCommonRender };
|
|
@@ -1,34 +1,51 @@
|
|
|
1
|
-
const createCommonRender = (tagName, eventNames = []) => function (createElement) {
|
|
2
|
-
const vueElement = this;
|
|
3
|
-
const allListeners = eventNames.reduce((listeners, eventName) => {
|
|
4
|
-
return Object.assign(Object.assign({}, listeners), { [eventName]: (event) => {
|
|
5
|
-
vueElement.$emit(eventName, event);
|
|
6
|
-
if (['input', 'change'].includes(eventName))
|
|
7
|
-
vueElement.$emit('update:modelValue', event.detail.value);
|
|
8
|
-
} });
|
|
9
|
-
}, vueElement.$listeners);
|
|
10
|
-
const attributes = vueElement.$props
|
|
11
|
-
? Object.keys(vueElement.$props).reduce((attrs, prop) => {
|
|
12
|
-
const attributeName = toDashCase(prop);
|
|
13
|
-
attrs[attributeName] = vueElement.$props[prop];
|
|
14
|
-
return attrs;
|
|
15
|
-
}, {})
|
|
16
|
-
: {};
|
|
17
|
-
return createElement(tagName, {
|
|
18
|
-
ref: "wc",
|
|
19
|
-
domProps: vueElement.$props,
|
|
20
|
-
on: Object.assign(Object.assign({}, allListeners), { click: (event) => { typeof allListeners.click === 'function' && allListeners.click(event); vueElement.$emit('tap', event); } }),
|
|
21
|
-
attrs: Object.assign(Object.assign({}, attributes), { "data-testid": tagName }),
|
|
22
|
-
}, [vueElement.$slots.default]);
|
|
23
|
-
};
|
|
24
1
|
const createCommonMethod = (methodName) => function (...args) {
|
|
25
2
|
this.$refs.wc[methodName](...args);
|
|
26
3
|
};
|
|
27
4
|
const toLowerCase = (str) => str.toLowerCase();
|
|
28
5
|
const toDashCase = (str) => toLowerCase(str
|
|
29
|
-
.replace(/([A-Z0-9])/g, (g) =>
|
|
6
|
+
.replace(/([A-Z0-9])/g, (g) => ' ' + g[0])
|
|
30
7
|
.trim()
|
|
31
|
-
.replace(/ /g,
|
|
8
|
+
.replace(/ /g, '-'));
|
|
9
|
+
const createCommonRender = (tagName, eventNames = [], defineCustomElement) => {
|
|
10
|
+
/**
|
|
11
|
+
* Create a Vue component wrapper around a Web Component.
|
|
12
|
+
* Note: The `props` here are not all properties on a component.
|
|
13
|
+
* They refer to whatever properties are set on an instance of a component.
|
|
14
|
+
*/
|
|
15
|
+
if (!DEPRECATED_ADAPTER_COMPONENT && defineCustomElement !== undefined) {
|
|
16
|
+
defineCustomElement();
|
|
17
|
+
}
|
|
18
|
+
return function (createElement) {
|
|
19
|
+
const vueElement = this;
|
|
20
|
+
const allListeners = eventNames.reduce((listeners, eventName) => {
|
|
21
|
+
return Object.assign(Object.assign({}, listeners), { [eventName]: (event) => {
|
|
22
|
+
vueElement.$emit(eventName, event);
|
|
23
|
+
// Note(taro): 优化 input、change 事件与 v-model 兼容性问题
|
|
24
|
+
if (['input', 'change'].includes(eventName)) {
|
|
25
|
+
vueElement.$emit('update:modelValue', event.detail.value);
|
|
26
|
+
}
|
|
27
|
+
} });
|
|
28
|
+
}, vueElement.$listeners);
|
|
29
|
+
const attributes = vueElement.$props
|
|
30
|
+
? Object.keys(vueElement.$props).reduce((attrs, prop) => {
|
|
31
|
+
const attributeName = toDashCase(prop);
|
|
32
|
+
attrs[attributeName] = vueElement.$props[prop];
|
|
33
|
+
return attrs;
|
|
34
|
+
}, {})
|
|
35
|
+
: {};
|
|
36
|
+
return createElement(tagName, {
|
|
37
|
+
ref: 'wc',
|
|
38
|
+
domProps: vueElement.$props,
|
|
39
|
+
on: Object.assign(Object.assign({}, allListeners), {
|
|
40
|
+
// Note(taro): click 事件绑定 tap 事件触发
|
|
41
|
+
click: (event) => {
|
|
42
|
+
typeof allListeners.click === 'function' && allListeners.click(event);
|
|
43
|
+
vueElement.$emit('tap', event);
|
|
44
|
+
} }),
|
|
45
|
+
attrs: Object.assign(Object.assign({}, attributes), { 'data-testid': tagName }),
|
|
46
|
+
}, [vueElement.$slots.default]);
|
|
47
|
+
};
|
|
48
|
+
};
|
|
32
49
|
|
|
33
50
|
export { createCommonMethod, createCommonRender, toDashCase, toLowerCase };
|
|
34
51
|
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sources":["../../../../taro-components-library-vue2/src/vue-component-lib/utils.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"utils.js","sources":["../../../../taro-components-library-vue2/src/vue-component-lib/utils.ts"],"sourcesContent":["/**\n * Modify from https://github.com/diondree/stencil-vue2-output-target/blob/master/vue-component-lib/utils.ts\n * MIT License https://github.com/diondree/stencil-vue2-output-target/blob/master/LICENSE.md\n */\nimport Vue, { CreateElement,VNode } from 'vue'\n\nexport const createCommonMethod = (methodName: string) =>\n function (...args: any[]) {\n this.$refs.wc[methodName](...args)\n } as unknown\n\nexport const toLowerCase = (str: string) => str.toLowerCase()\n\nexport const toDashCase = (str: string) =>\n toLowerCase(\n str\n .replace(/([A-Z0-9])/g, (g) => ' ' + g[0])\n .trim()\n .replace(/ /g, '-')\n )\n\nexport const createCommonRender = (\n tagName: string,\n eventNames: string[] = [],\n defineCustomElement: any,\n) => {\n /**\n * Create a Vue component wrapper around a Web Component.\n * Note: The `props` here are not all properties on a component.\n * They refer to whatever properties are set on an instance of a component.\n */\n\n if (!DEPRECATED_ADAPTER_COMPONENT && defineCustomElement !== undefined) {\n defineCustomElement()\n }\n\n return function (createElement: CreateElement): VNode {\n const vueElement = this as Vue\n const allListeners = eventNames.reduce((listeners, eventName) => {\n return {\n ...listeners,\n [eventName]: (event: CustomEvent<any>) => {\n vueElement.$emit(eventName, event)\n // Note(taro): 优化 input、change 事件与 v-model 兼容性问题\n if (['input', 'change'].includes(eventName)) {\n vueElement.$emit('update:modelValue', event.detail.value)\n }\n },\n }\n }, vueElement.$listeners)\n const attributes = vueElement.$props\n ? Object.keys(vueElement.$props).reduce((attrs: any, prop: string) => {\n const attributeName = toDashCase(prop)\n attrs[attributeName] = vueElement.$props[prop]\n return attrs\n }, {})\n : {}\n return createElement(\n tagName,\n {\n ref: 'wc',\n domProps: vueElement.$props,\n on: {\n ...allListeners,\n // Note(taro): click 事件绑定 tap 事件触发\n click: (event) => {\n typeof allListeners.click === 'function' && allListeners.click(event)\n vueElement.$emit('tap', event)\n }\n },\n attrs: { ...attributes, 'data-testid': tagName },\n },\n [vueElement.$slots.default]\n )\n }\n}\n"],"names":[],"mappings":"AAMa,MAAA,kBAAkB,GAAG,CAAC,UAAkB,KACnD,UAAU,GAAG,IAAW,EAAA;IACtB,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,GAAG,IAAI,CAAC,CAAA;AACpC,EAAY;AAEP,MAAM,WAAW,GAAG,CAAC,GAAW,KAAK,GAAG,CAAC,WAAW,GAAE;AAEhD,MAAA,UAAU,GAAG,CAAC,GAAW,KACpC,WAAW,CACT,GAAG;AACA,KAAA,OAAO,CAAC,aAAa,EAAE,CAAC,CAAC,KAAK,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AACzC,K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;cACJ,EAAE,CAAA;QACN,OAAO,aAAa,CAClB,OAAO,EACP;AACE,YAAA,GAAG,EAAE,IAAI;YACT,QAAQ,EAAE,UAAU,CAAC,MAAM;AAC3B,YAAA,EAAE,kCACG,YAAY,CAAA,EAAA;;AAEf,gBAAA,KAAK,EAAE,CAAC,KAAK,KAAI;AACf,oBAAA,OAAO,YAAY,CAAC,KAAK,KAAK,UAAU,IAAI,YAAY,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;AACrE,oBAAA,UAAU,CAAC,KAAK,CAAC,KAAK,EAAE,KAAK,CAAC,CAAA;AAChC,iBAAC,EACF,CAAA;AACD,YAAA,KAAK,kCAAO,UAAU,CAAA,EAAA,EAAE,aAAa,EAAE,OAAO,EAAE,CAAA;SACjD,EACD,CAAC,UAAU,CAAC,MAAM,CAAC,OAAO,CAAC,CAC5B,CAAA;AACH,KAAC,CAAA;AACH;;;;"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '../node_modules/.pnpm/registry.npmjs.org_vue@3.2.37/node_modules/vue/dist/vue.runtime.esm-bundler.js';
|
|
2
2
|
import { useForwardRef } from './forwardRef.js';
|
|
3
|
+
import { h } from '../node_modules/.pnpm/registry.npmjs.org_@vue_runtime-core@3.2.37/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js';
|
|
3
4
|
|
|
4
5
|
function createComponent(name, classNames = []) {
|
|
5
6
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createComponent.js","sources":["../../../../taro-components-library-vue3/src/component-lib/createComponent.ts"],"sourcesContent":["import { h } from 'vue'\n\nimport { useForwardRef } from './forwardRef'\n\nexport default function createComponent (name, classNames = []) {\n return {\n emits: ['tap'],\n setup (__props, { slots, emit }) {\n const forwardRef = useForwardRef()\n return () => (\n h(\n `${name}-core`,\n {\n ref: forwardRef,\n class: ['hydrated', ...classNames],\n onClick (e) {\n emit('tap', e)\n }\n },\n slots\n )\n )\n }\n }\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createComponent.js","sources":["../../../../taro-components-library-vue3/src/component-lib/createComponent.ts"],"sourcesContent":["import { h } from 'vue'\n\nimport { useForwardRef } from './forwardRef'\n\nexport default function createComponent (name, classNames = []) {\n return {\n emits: ['tap'],\n setup (__props, { slots, emit }) {\n const forwardRef = useForwardRef()\n return () => (\n h(\n `${name}-core`,\n {\n ref: forwardRef,\n class: ['hydrated', ...classNames],\n onClick (e) {\n emit('tap', e)\n }\n },\n slots\n )\n )\n }\n }\n}\n"],"names":[],"mappings":";;;;AAIwB,SAAA,eAAe,CAAE,IAAI,EAAE,UAAU,GAAG,EAAE,EAAA;IAC5D,OAAO;QACL,KAAK,EAAE,CAAC,KAAK,CAAC;AACd,QAAA,KAAK,CAAE,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAA;AAC7B,YAAA,MAAM,UAAU,GAAG,aAAa,EAAE,CAAA;YAClC,OAAO,OACL,CAAC,CACC,CAAA,EAAG,IAAI,CAAA,KAAA,CAAO,EACd;AACE,gBAAA,GAAG,EAAE,UAAU;AACf,gBAAA,KAAK,EAAE,CAAC,UAAU,EAAE,GAAG,UAAU,CAAC;AAClC,gBAAA,OAAO,CAAE,CAAC,EAAA;AACR,oBAAA,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;iBACf;aACF,EACD,KAAK,CACN,CACF,CAAA;SACF;KACF,CAAA;AACH;;;;"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '../node_modules/.pnpm/registry.npmjs.org_vue@3.2.37/node_modules/vue/dist/vue.runtime.esm-bundler.js';
|
|
2
2
|
import { useForwardRef } from './forwardRef.js';
|
|
3
|
+
import { toRefs } from '../node_modules/.pnpm/registry.npmjs.org_@vue_reactivity@3.2.37/node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js';
|
|
4
|
+
import { computed, h } from '../node_modules/.pnpm/registry.npmjs.org_@vue_runtime-core@3.2.37/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js';
|
|
3
5
|
|
|
4
6
|
function createFormsComponent(name, eventName, modelValue = 'value', classNames = []) {
|
|
5
7
|
const props = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createFormsComponent.js","sources":["../../../../taro-components-library-vue3/src/component-lib/createFormsComponent.ts"],"sourcesContent":["import { computed, h, toRefs } from 'vue'\n\nimport { useForwardRef } from './forwardRef'\n\nexport default function createFormsComponent (name, eventName, modelValue = 'value', classNames = []) {\n const props: Record<string, any> = {\n modelValue: null\n }\n if (name === 'taro-input') {\n props.focus = Boolean\n }\n\n return {\n emits: ['tap', 'update:modelValue'],\n props,\n setup (props, { slots, emit }) {\n const { modelValue: model, focus } = toRefs(props)\n\n const attrs = computed(() => {\n return name === 'taro-input'\n ? {\n [modelValue]: model.value,\n 'auto-focus': focus.value\n }\n : {\n [modelValue]: model.value\n }\n })\n\n const forwardRef = useForwardRef()\n\n return () => (\n h(\n `${name}-core`,\n {\n ref: forwardRef,\n class: ['hydrated', ...classNames],\n ...attrs.value,\n onClick (e) {\n emit('tap', e)\n },\n [`on${eventName}`] (e) {\n emit('update:modelValue', e.detail.value)\n }\n },\n slots\n )\n )\n }\n }\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createFormsComponent.js","sources":["../../../../taro-components-library-vue3/src/component-lib/createFormsComponent.ts"],"sourcesContent":["import { computed, h, toRefs } from 'vue'\n\nimport { useForwardRef } from './forwardRef'\n\nexport default function createFormsComponent (name, eventName, modelValue = 'value', classNames = []) {\n const props: Record<string, any> = {\n modelValue: null\n }\n if (name === 'taro-input') {\n props.focus = Boolean\n }\n\n return {\n emits: ['tap', 'update:modelValue'],\n props,\n setup (props, { slots, emit }) {\n const { modelValue: model, focus } = toRefs(props)\n\n const attrs = computed(() => {\n return name === 'taro-input'\n ? {\n [modelValue]: model.value,\n 'auto-focus': focus.value\n }\n : {\n [modelValue]: model.value\n }\n })\n\n const forwardRef = useForwardRef()\n\n return () => (\n h(\n `${name}-core`,\n {\n ref: forwardRef,\n class: ['hydrated', ...classNames],\n ...attrs.value,\n onClick (e) {\n emit('tap', e)\n },\n [`on${eventName}`] (e) {\n emit('update:modelValue', e.detail.value)\n }\n },\n slots\n )\n )\n }\n }\n}\n"],"names":[],"mappings":";;;;;AAIwB,SAAA,oBAAoB,CAAE,IAAI,EAAE,SAAS,EAAE,UAAU,GAAG,OAAO,EAAE,UAAU,GAAG,EAAE,EAAA;AAClG,IAAA,MAAM,KAAK,GAAwB;AACjC,QAAA,UAAU,EAAE,IAAI;KACjB,CAAA;IACD,IAAI,IAAI,KAAK,YAAY,EAAE;AACzB,QAAA,KAAK,CAAC,KAAK,GAAG,OAAO,CAAA;AACtB,KAAA;IAED,OAAO;AACL,QAAA,KAAK,EAAE,CAAC,KAAK,EAAE,mBAAmB,CAAC;QACnC,KAAK;AACL,QAAA,KAAK,CAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAA;AAC3B,YAAA,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,MAAM,CAAC,KAAK,CAAC,CAAA;AAElD,YAAA,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAK;gBAC1B,OAAO,IAAI,KAAK,YAAY;AAC1B,sBAAE;AACA,wBAAA,CAAC,UAAU,GAAG,KAAK,CAAC,KAAK;wBACzB,YAAY,EAAE,KAAK,CAAC,KAAK;AAC1B,qBAAA;AACD,sBAAE;AACA,wBAAA,CAAC,UAAU,GAAG,KAAK,CAAC,KAAK;qBAC1B,CAAA;AACL,aAAC,CAAC,CAAA;AAEF,YAAA,MAAM,UAAU,GAAG,aAAa,EAAE,CAAA;AAElC,YAAA,OAAO,OACL,CAAC,CACC,CAAG,EAAA,IAAI,CAAO,KAAA,CAAA,EAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAEZ,GAAG,EAAE,UAAU,EACf,KAAK,EAAE,CAAC,UAAU,EAAE,GAAG,UAAU,CAAC,EAC/B,EAAA,KAAK,CAAC,KAAK,CACd,EAAA,EAAA,OAAO,CAAE,CAAC,EAAA;AACR,oBAAA,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;iBACf;AACD,gBAAA,CAAC,CAAK,EAAA,EAAA,SAAS,CAAE,CAAA,CAAC,CAAE,CAAC,EAAA;oBACnB,IAAI,CAAC,mBAAmB,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;AAC3C,iBAAC,EAEH,CAAA,EAAA,KAAK,CACN,CACF,CAAA;SACF;KACF,CAAA;AACH;;;;"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '../node_modules/.pnpm/registry.npmjs.org_vue@3.2.37/node_modules/vue/dist/vue.runtime.esm-bundler.js';
|
|
2
|
+
import { getCurrentInstance } from '../node_modules/.pnpm/registry.npmjs.org_@vue_runtime-core@3.2.37/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js';
|
|
2
3
|
|
|
3
4
|
function useForwardRef() {
|
|
4
5
|
const instance = getCurrentInstance();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forwardRef.js","sources":["../../../../taro-components-library-vue3/src/component-lib/forwardRef.ts"],"sourcesContent":["import { getCurrentInstance } from 'vue'\n\nexport function useForwardRef () {\n const instance = getCurrentInstance()\n function forwardRef (ref) {\n instance.exposed = ref\n instance.exposeProxy = ref\n }\n return forwardRef\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"forwardRef.js","sources":["../../../../taro-components-library-vue3/src/component-lib/forwardRef.ts"],"sourcesContent":["import { getCurrentInstance } from 'vue'\n\nexport function useForwardRef () {\n const instance = getCurrentInstance()\n function forwardRef (ref) {\n instance.exposed = ref\n instance.exposeProxy = ref\n }\n return forwardRef\n}\n"],"names":[],"mappings":";;;SAEgB,aAAa,GAAA;AAC3B,IAAA,MAAM,QAAQ,GAAG,kBAAkB,EAAE,CAAA;IACrC,SAAS,UAAU,CAAE,GAAG,EAAA;AACtB,QAAA,QAAQ,CAAC,OAAO,GAAG,GAAG,CAAA;AACtB,QAAA,QAAQ,CAAC,WAAW,GAAG,GAAG,CAAA;KAC3B;AACD,IAAA,OAAO,UAAU,CAAA;AACnB;;;;"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '../node_modules/.pnpm/registry.npmjs.org_vue@3.2.37/node_modules/vue/dist/vue.runtime.esm-bundler.js';
|
|
2
2
|
import { useForwardRef } from './forwardRef.js';
|
|
3
|
+
import { h } from '../node_modules/.pnpm/registry.npmjs.org_@vue_runtime-core@3.2.37/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js';
|
|
3
4
|
|
|
4
5
|
var icon = {
|
|
5
6
|
emits: ['tap'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.js","sources":["../../../../taro-components-library-vue3/src/component-lib/icon.ts"],"sourcesContent":["import { h } from 'vue'\n\nimport { useForwardRef } from './forwardRef'\n\nexport default {\n emits: ['tap'],\n setup (__props, { slots, emit, attrs }) {\n const iconType = attrs.type.replace(/_/g, '-')\n\n const forwardRef = useForwardRef()\n\n return () => (\n h(\n 'taro-icon-core',\n {\n ref: forwardRef,\n class: ['hydrated', `weui-icon-${iconType}`],\n onClick (e) {\n emit('tap', e)\n }\n },\n slots\n )\n )\n }\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"icon.js","sources":["../../../../taro-components-library-vue3/src/component-lib/icon.ts"],"sourcesContent":["import { h } from 'vue'\n\nimport { useForwardRef } from './forwardRef'\n\nexport default {\n emits: ['tap'],\n setup (__props, { slots, emit, attrs }) {\n const iconType = attrs.type.replace(/_/g, '-')\n\n const forwardRef = useForwardRef()\n\n return () => (\n h(\n 'taro-icon-core',\n {\n ref: forwardRef,\n class: ['hydrated', `weui-icon-${iconType}`],\n onClick (e) {\n emit('tap', e)\n }\n },\n slots\n )\n )\n }\n}\n"],"names":[],"mappings":";;;;AAIA,WAAe;IACb,KAAK,EAAE,CAAC,KAAK,CAAC;IACd,KAAK,CAAE,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,EAAA;AACpC,QAAA,MAAM,QAAQ,GAAG,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;AAE9C,QAAA,MAAM,UAAU,GAAG,aAAa,EAAE,CAAA;AAElC,QAAA,OAAO,OACL,CAAC,CACC,gBAAgB,EAChB;AACE,YAAA,GAAG,EAAE,UAAU;AACf,YAAA,KAAK,EAAE,CAAC,UAAU,EAAE,CAAa,UAAA,EAAA,QAAQ,EAAE,CAAC;AAC5C,YAAA,OAAO,CAAE,CAAC,EAAA;AACR,gBAAA,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;aACf;SACF,EACD,KAAK,CACN,CACF,CAAA;KACF;CACF;;;;"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '../node_modules/.pnpm/registry.npmjs.org_vue@3.2.37/node_modules/vue/dist/vue.runtime.esm-bundler.js';
|
|
2
2
|
import { useForwardRef } from './forwardRef.js';
|
|
3
|
+
import { h } from '../node_modules/.pnpm/registry.npmjs.org_@vue_runtime-core@3.2.37/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js';
|
|
3
4
|
|
|
4
5
|
var image = {
|
|
5
6
|
emits: ['tap'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image.js","sources":["../../../../taro-components-library-vue3/src/component-lib/image.ts"],"sourcesContent":["import { h } from 'vue'\n\nimport { useForwardRef } from './forwardRef'\n\nexport default {\n emits: ['tap'],\n setup (__props, { slots, emit, attrs }) {\n const forwardRef = useForwardRef()\n return () => (\n h(\n 'taro-image-core',\n {\n ref: forwardRef,\n class: ['hydrated', {\n 'taro-img__widthfix': attrs.mode === 'widthFix'\n }],\n onClick (e) {\n emit('tap', e)\n }\n },\n slots\n )\n )\n }\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"image.js","sources":["../../../../taro-components-library-vue3/src/component-lib/image.ts"],"sourcesContent":["import { h } from 'vue'\n\nimport { useForwardRef } from './forwardRef'\n\nexport default {\n emits: ['tap'],\n setup (__props, { slots, emit, attrs }) {\n const forwardRef = useForwardRef()\n return () => (\n h(\n 'taro-image-core',\n {\n ref: forwardRef,\n class: ['hydrated', {\n 'taro-img__widthfix': attrs.mode === 'widthFix'\n }],\n onClick (e) {\n emit('tap', e)\n }\n },\n slots\n )\n )\n }\n}\n"],"names":[],"mappings":";;;;AAIA,YAAe;IACb,KAAK,EAAE,CAAC,KAAK,CAAC;IACd,KAAK,CAAE,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,EAAA;AACpC,QAAA,MAAM,UAAU,GAAG,aAAa,EAAE,CAAA;AAClC,QAAA,OAAO,OACL,CAAC,CACC,iBAAiB,EACjB;AACE,YAAA,GAAG,EAAE,UAAU;YACf,KAAK,EAAE,CAAC,UAAU,EAAE;AAClB,oBAAA,oBAAoB,EAAE,KAAK,CAAC,IAAI,KAAK,UAAU;iBAChD,CAAC;AACF,YAAA,OAAO,CAAE,CAAC,EAAA;AACR,gBAAA,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;aACf;SACF,EACD,KAAK,CACN,CACF,CAAA;KACF;CACF;;;;"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '../node_modules/.pnpm/registry.npmjs.org_vue@3.2.37/node_modules/vue/dist/vue.runtime.esm-bundler.js';
|
|
2
2
|
import { useForwardRef } from './forwardRef.js';
|
|
3
|
+
import { h } from '../node_modules/.pnpm/registry.npmjs.org_@vue_runtime-core@3.2.37/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js';
|
|
3
4
|
|
|
4
5
|
var scrollView = {
|
|
5
6
|
emits: ['tap', 'scroll'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-view.js","sources":["../../../../taro-components-library-vue3/src/component-lib/scroll-view.ts"],"sourcesContent":["import { h } from 'vue'\n\nimport { useForwardRef } from './forwardRef'\n\nexport default {\n emits: ['tap', 'scroll'],\n setup (__props, { slots, emit, attrs }) {\n const forwardRef = useForwardRef()\n return () => (\n h(\n 'taro-scroll-view-core',\n {\n ref: forwardRef,\n class: ['hydrated', {\n 'taro-scroll-view__scroll-x': attrs['scroll-x'] === '',\n 'taro-scroll-view__scroll-y': attrs['scroll-y'] === ''\n }],\n onClick (e) {\n emit('tap', e)\n },\n onScroll (e) {\n if (e instanceof CustomEvent) {\n emit('scroll', e)\n }\n }\n },\n slots\n )\n )\n }\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"scroll-view.js","sources":["../../../../taro-components-library-vue3/src/component-lib/scroll-view.ts"],"sourcesContent":["import { h } from 'vue'\n\nimport { useForwardRef } from './forwardRef'\n\nexport default {\n emits: ['tap', 'scroll'],\n setup (__props, { slots, emit, attrs }) {\n const forwardRef = useForwardRef()\n return () => (\n h(\n 'taro-scroll-view-core',\n {\n ref: forwardRef,\n class: ['hydrated', {\n 'taro-scroll-view__scroll-x': attrs['scroll-x'] === '',\n 'taro-scroll-view__scroll-y': attrs['scroll-y'] === ''\n }],\n onClick (e) {\n emit('tap', e)\n },\n onScroll (e) {\n if (e instanceof CustomEvent) {\n emit('scroll', e)\n }\n }\n },\n slots\n )\n )\n }\n}\n"],"names":[],"mappings":";;;;AAIA,iBAAe;AACb,IAAA,KAAK,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC;IACxB,KAAK,CAAE,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,EAAA;AACpC,QAAA,MAAM,UAAU,GAAG,aAAa,EAAE,CAAA;AAClC,QAAA,OAAO,OACL,CAAC,CACC,uBAAuB,EACvB;AACE,YAAA,GAAG,EAAE,UAAU;YACf,KAAK,EAAE,CAAC,UAAU,EAAE;AAClB,oBAAA,4BAA4B,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,EAAE;AACtD,oBAAA,4BAA4B,EAAE,KAAK,CAAC,UAAU,CAAC,KAAK,EAAE;iBACvD,CAAC;AACF,YAAA,OAAO,CAAE,CAAC,EAAA;AACR,gBAAA,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;aACf;AACD,YAAA,QAAQ,CAAE,CAAC,EAAA;gBACT,IAAI,CAAC,YAAY,WAAW,EAAE;AAC5B,oBAAA,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAA;AAClB,iBAAA;aACF;SACF,EACD,KAAK,CACN,CACF,CAAA;KACF;CACF;;;;"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '../node_modules/.pnpm/registry.npmjs.org_vue@3.2.37/node_modules/vue/dist/vue.runtime.esm-bundler.js';
|
|
2
2
|
import { useForwardRef } from './forwardRef.js';
|
|
3
|
+
import { h } from '../node_modules/.pnpm/registry.npmjs.org_@vue_runtime-core@3.2.37/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js';
|
|
3
4
|
|
|
4
5
|
var text = {
|
|
5
6
|
emits: ['tap'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.js","sources":["../../../../taro-components-library-vue3/src/component-lib/text.ts"],"sourcesContent":["import { h } from 'vue'\n\nimport { useForwardRef } from './forwardRef'\n\nexport default {\n emits: ['tap'],\n setup (__props, { slots, emit, attrs }) {\n const forwardRef = useForwardRef()\n return () => (\n h(\n 'taro-text-core',\n {\n ref: forwardRef,\n class: ['hydrated', {\n 'taro-text_selectable': attrs.selectable\n }],\n onClick (e) {\n emit('tap', e)\n }\n },\n slots\n )\n )\n }\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"text.js","sources":["../../../../taro-components-library-vue3/src/component-lib/text.ts"],"sourcesContent":["import { h } from 'vue'\n\nimport { useForwardRef } from './forwardRef'\n\nexport default {\n emits: ['tap'],\n setup (__props, { slots, emit, attrs }) {\n const forwardRef = useForwardRef()\n return () => (\n h(\n 'taro-text-core',\n {\n ref: forwardRef,\n class: ['hydrated', {\n 'taro-text_selectable': attrs.selectable\n }],\n onClick (e) {\n emit('tap', e)\n }\n },\n slots\n )\n )\n }\n}\n"],"names":[],"mappings":";;;;AAIA,WAAe;IACb,KAAK,EAAE,CAAC,KAAK,CAAC;IACd,KAAK,CAAE,OAAO,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,EAAA;AACpC,QAAA,MAAM,UAAU,GAAG,aAAa,EAAE,CAAA;AAClC,QAAA,OAAO,OACL,CAAC,CACC,gBAAgB,EAChB;AACE,YAAA,GAAG,EAAE,UAAU;YACf,KAAK,EAAE,CAAC,UAAU,EAAE;oBAClB,sBAAsB,EAAE,KAAK,CAAC,UAAU;iBACzC,CAAC;AACF,YAAA,OAAO,CAAE,CAAC,EAAA;AACR,gBAAA,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;aACf;SACF,EACD,KAAK,CACN,CACF,CAAA;KACF;CACF;;;;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
function initVue3Components(app, components = {}) {
|
|
2
|
+
app.config.isCustomElement = tag => /^taro-/.test(tag) || tag === 'root' || tag === 'block';
|
|
3
|
+
Object.entries(components).forEach(([name, component]) => {
|
|
4
|
+
const tagName = component === null || component === void 0 ? void 0 : component.displayName;
|
|
5
|
+
if (typeof tagName === 'string' && tagName) {
|
|
6
|
+
component.name = name;
|
|
7
|
+
app.component(tagName.replace(/-core$/, ''), component);
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { initVue3Components };
|
|
13
|
+
//# sourceMappingURL=components-loader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components-loader.js","sources":["../../../taro-components-library-vue3/src/components-loader.ts"],"sourcesContent":["export function initVue3Components (app, components: Record<string, any> = {}) {\n app.config.isCustomElement = tag => /^taro-/.test(tag) || tag === 'root' || tag === 'block'\n\n Object.entries(components).forEach(([name, component]) => {\n const tagName = component?.displayName\n if (typeof tagName === 'string' && tagName) {\n component.name = name\n app.component(tagName.replace(/-core$/, ''), component)\n }\n })\n}\n"],"names":[],"mappings":"SAAgB,kBAAkB,CAAC,GAAG,EAAE,aAAkC,EAAE,EAAA;IACxE,GAAG,CAAC,MAAM,CAAC,eAAe,GAAG,GAAG,IAAI,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,KAAK,MAAM,IAAI,GAAG,KAAK,OAAO,CAAC;AAC5F,IAAA,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,KAAI;QACrD,MAAM,OAAO,GAAG,SAAS,KAAA,IAAA,IAAT,SAAS,KAAT,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,SAAS,CAAE,WAAW,CAAC;AACvC,QAAA,IAAI,OAAO,OAAO,KAAK,QAAQ,IAAI,OAAO,EAAE;AACxC,YAAA,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC;AACtB,YAAA,GAAG,CAAC,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,EAAE,SAAS,CAAC,CAAC;AAC3D,SAAA;AACL,KAAC,CAAC,CAAC;AACP;;;;"}
|
package/lib/vue3/components.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ declare const Editor: import("vue").DefineComponent<JSX.TaroEditorCore & import(
|
|
|
26
26
|
declare const FollowSwan: import("vue").DefineComponent<JSX.TaroFollowSwanCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroFollowSwanCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
27
27
|
declare const Form: import("vue").DefineComponent<JSX.TaroFormCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroFormCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
28
28
|
declare const FunctionalPageNavigator: import("vue").DefineComponent<JSX.TaroFunctionalPageNavigatorCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroFunctionalPageNavigatorCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
29
|
+
declare const GridView: import("vue").DefineComponent<JSX.TaroGridViewCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroGridViewCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
29
30
|
declare const Icon: import("vue").DefineComponent<JSX.TaroIconCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroIconCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
30
31
|
declare const Image: import("vue").DefineComponent<JSX.TaroImageCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroImageCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
31
32
|
declare const InlinePaymentPanel: import("vue").DefineComponent<JSX.TaroInlinePaymentPanelCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroInlinePaymentPanelCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
@@ -34,6 +35,7 @@ declare const KeyboardAccessory: import("vue").DefineComponent<JSX.TaroKeyboardA
|
|
|
34
35
|
declare const Label: import("vue").DefineComponent<JSX.TaroLabelCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroLabelCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
35
36
|
declare const Lifestyle: import("vue").DefineComponent<JSX.TaroLifestyleCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroLifestyleCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
36
37
|
declare const Like: import("vue").DefineComponent<JSX.TaroLikeCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroLikeCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
38
|
+
declare const ListView: import("vue").DefineComponent<JSX.TaroListViewCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroListViewCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
37
39
|
declare const LivePlayer: import("vue").DefineComponent<JSX.TaroLivePlayerCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroLivePlayerCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
38
40
|
declare const LivePusher: import("vue").DefineComponent<JSX.TaroLivePusherCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroLivePusherCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
39
41
|
declare const Login: import("vue").DefineComponent<JSX.TaroLoginCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroLoginCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
@@ -67,6 +69,8 @@ declare const ScrollView: import("vue").DefineComponent<JSX.TaroScrollViewCore &
|
|
|
67
69
|
declare const ShareElement: import("vue").DefineComponent<JSX.TaroShareElementCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroShareElementCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
68
70
|
declare const Slider: import("vue").DefineComponent<JSX.TaroSliderCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroSliderCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
69
71
|
declare const Slot: import("vue").DefineComponent<JSX.TaroSlotCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroSlotCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
72
|
+
declare const StickyHeader: import("vue").DefineComponent<JSX.TaroStickyHeaderCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroStickyHeaderCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
73
|
+
declare const StickySection: import("vue").DefineComponent<JSX.TaroStickySectionCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroStickySectionCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
70
74
|
declare const Swiper: import("vue").DefineComponent<JSX.TaroSwiperCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroSwiperCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
71
75
|
declare const SwiperItem: import("vue").DefineComponent<JSX.TaroSwiperItemCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroSwiperItemCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
72
76
|
declare const Switch: import("vue").DefineComponent<JSX.TaroSwitchCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroSwitchCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
@@ -81,4 +85,4 @@ declare const VideoDanmu: import("vue").DefineComponent<JSX.TaroVideoDanmu & imp
|
|
|
81
85
|
declare const View: import("vue").DefineComponent<JSX.TaroViewCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroViewCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
82
86
|
declare const VoipRoom: import("vue").DefineComponent<JSX.TaroVoipRoomCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroVoipRoomCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
83
87
|
declare const WebView: import("vue").DefineComponent<JSX.TaroWebViewCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<JSX.TaroWebViewCore & import("./vue-component-lib/utils").InputProps<string | number | boolean>>, {}>;
|
|
84
|
-
export { Ad, AdCustom, AnimationVideo, AnimationView, ArCamera, Audio, AwemeData, Block, Button, Camera, Canvas, ChannelLive, ChannelVideo, Checkbox, CheckboxGroup, CommentDetail, CommentList, ContactButton, CoverImage, CoverView, CustomWrapper, Editor, FollowSwan, Form, FunctionalPageNavigator, Icon, Image, InlinePaymentPanel, Input, KeyboardAccessory, Label, Lifestyle, Like, LivePlayer, LivePusher, Login, Lottie, Map, MatchMedia, MovableArea, MovableView, NativeSlot, NavigationBar, Navigator, OfficialAccount, OpenData, PageContainer, PageMeta, Picker, PickerGroup, PickerViewColumn, PickerView, Progress, PullToRefresh, Radio, RadioGroup, RichText, RootPortal, RtcRoom, RtcRoomItem, ScrollView, ShareElement, Slider, Slot, Swiper, SwiperItem, Switch, TabItem, Tabbar, Tabs, Text, Textarea, VideoControl, Video, VideoDanmu, View, VoipRoom, WebView };
|
|
88
|
+
export { Ad, AdCustom, AnimationVideo, AnimationView, ArCamera, Audio, AwemeData, Block, Button, Camera, Canvas, ChannelLive, ChannelVideo, Checkbox, CheckboxGroup, CommentDetail, CommentList, ContactButton, CoverImage, CoverView, CustomWrapper, Editor, FollowSwan, Form, FunctionalPageNavigator, GridView, Icon, Image, InlinePaymentPanel, Input, KeyboardAccessory, Label, Lifestyle, Like, ListView, LivePlayer, LivePusher, Login, Lottie, Map, MatchMedia, MovableArea, MovableView, NativeSlot, NavigationBar, Navigator, OfficialAccount, OpenData, PageContainer, PageMeta, Picker, PickerGroup, PickerViewColumn, PickerView, Progress, PullToRefresh, Radio, RadioGroup, RichText, RootPortal, RtcRoom, RtcRoomItem, ScrollView, ShareElement, Slider, Slot, StickyHeader, StickySection, Swiper, SwiperItem, Switch, TabItem, Tabbar, Tabs, Text, Textarea, VideoControl, Video, VideoDanmu, View, VoipRoom, WebView };
|