@tarojs/components 3.6.0 → 3.6.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +119 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/taro-components.cjs.js +1 -1
- package/dist/cjs/taro-input-core.cjs.entry.js +1 -1
- package/dist/cjs/taro-input-core.cjs.entry.js.map +1 -1
- package/dist/cjs/taro-navigator-core.cjs.entry.js.map +1 -1
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js +46 -50
- package/dist/cjs/taro-scroll-view-core.cjs.entry.js.map +1 -1
- package/dist/collection/components/input/input.js +6 -2
- package/dist/collection/components/input/input.js.map +1 -1
- package/dist/collection/components/navigator/navigator.js +0 -16
- package/dist/collection/components/navigator/navigator.js.map +1 -1
- package/dist/collection/components/scroll-view/scroll-view.js +93 -51
- package/dist/collection/components/scroll-view/scroll-view.js.map +1 -1
- package/dist/components/taro-input-core.js +1 -1
- package/dist/components/taro-input-core.js.map +1 -1
- package/dist/components/taro-navigator-core.js.map +1 -1
- package/dist/components/taro-scroll-view-core.js +49 -51
- package/dist/components/taro-scroll-view-core.js.map +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/taro-components.js +1 -1
- package/dist/esm/taro-input-core.entry.js +1 -1
- package/dist/esm/taro-input-core.entry.js.map +1 -1
- package/dist/esm/taro-navigator-core.entry.js.map +1 -1
- package/dist/esm/taro-scroll-view-core.entry.js +46 -50
- package/dist/esm/taro-scroll-view-core.entry.js.map +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/taro-components.js +1 -1
- package/dist/esm-es5/taro-components.js.map +1 -1
- package/dist/esm-es5/taro-input-core.entry.js +1 -1
- package/dist/esm-es5/taro-input-core.entry.js.map +1 -1
- package/dist/esm-es5/taro-navigator-core.entry.js.map +1 -1
- package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
- package/dist/esm-es5/taro-scroll-view-core.entry.js.map +1 -1
- package/dist/taro-components/p-10046f1a.system.entry.js +2 -0
- package/dist/taro-components/p-10046f1a.system.entry.js.map +1 -0
- package/dist/taro-components/p-1c446c65.system.js +1 -1
- package/dist/taro-components/p-1c446c65.system.js.map +1 -1
- package/dist/taro-components/p-9bc9f3a0.entry.js +2 -0
- package/dist/taro-components/p-9bc9f3a0.entry.js.map +1 -0
- package/dist/taro-components/p-c6385fc2.system.entry.js +2 -0
- package/dist/taro-components/p-c6385fc2.system.entry.js.map +1 -0
- package/dist/taro-components/p-d621d190.entry.js.map +1 -1
- package/dist/taro-components/p-de356b29.system.entry.js.map +1 -1
- package/dist/taro-components/{p-5208792d.entry.js → p-fe58b450.entry.js} +2 -2
- package/dist/taro-components/p-fe58b450.entry.js.map +1 -0
- package/dist/taro-components/taro-components.esm.js +1 -1
- package/dist/taro-components/taro-components.esm.js.map +1 -1
- package/dist/types/components/input/input.d.ts +1 -1
- package/dist/types/components/navigator/navigator.d.ts +0 -16
- package/dist/types/components/scroll-view/scroll-view.d.ts +4 -1
- package/dist/types/components.d.ts +5 -2
- package/lib/react/component-lib/index.d.ts +55 -0
- package/lib/react/component-lib/index.js +68 -0
- package/lib/react/component-lib/index.js.map +1 -0
- package/lib/react/component-lib/input.d.ts +3 -0
- package/lib/react/component-lib/input.js +17 -0
- package/lib/react/component-lib/input.js.map +1 -0
- package/lib/react/component-lib/reactify-wc.d.ts +7 -0
- package/lib/react/component-lib/reactify-wc.js +176 -0
- package/lib/react/component-lib/reactify-wc.js.map +1 -0
- package/lib/react/react-component-lib/utils/attachProps.d.ts +1 -1
- package/lib/react/react-component-lib/utils/attachProps.js +1 -15
- package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
- package/lib/vue2/component-lib/components.d.ts +111 -0
- package/lib/vue2/component-lib/components.js +74 -0
- package/lib/vue2/component-lib/components.js.map +1 -0
- package/lib/vue2/component-lib/createComponent.d.ts +14 -0
- package/lib/vue2/component-lib/createComponent.js +23 -0
- package/lib/vue2/component-lib/createComponent.js.map +1 -0
- package/lib/vue2/component-lib/createFormsComponent.d.ts +22 -0
- package/lib/vue2/component-lib/createFormsComponent.js +53 -0
- package/lib/vue2/component-lib/createFormsComponent.js.map +1 -0
- package/lib/vue2/component-lib/icon.d.ts +16 -0
- package/lib/vue2/component-lib/icon.js +23 -0
- package/lib/vue2/component-lib/icon.js.map +1 -0
- package/lib/vue2/component-lib/image.d.ts +16 -0
- package/lib/vue2/component-lib/image.js +24 -0
- package/lib/vue2/component-lib/image.js.map +1 -0
- package/lib/vue2/component-lib/index.d.ts +1 -0
- package/lib/vue2/component-lib/index.js +30 -0
- package/lib/vue2/component-lib/index.js.map +1 -0
- package/lib/vue2/component-lib/mixins/listeners.d.ts +6 -0
- package/lib/vue2/component-lib/mixins/listeners.js +14 -0
- package/lib/vue2/component-lib/mixins/listeners.js.map +1 -0
- package/lib/vue2/component-lib/mixins/refs.d.ts +5 -0
- package/lib/vue2/component-lib/mixins/refs.js +53 -0
- package/lib/vue2/component-lib/mixins/refs.js.map +1 -0
- package/lib/vue2/component-lib/picker.d.ts +25 -0
- package/lib/vue2/component-lib/picker.js +41 -0
- package/lib/vue2/component-lib/picker.js.map +1 -0
- package/lib/vue2/component-lib/scroll-view.d.ts +17 -0
- package/lib/vue2/component-lib/scroll-view.js +35 -0
- package/lib/vue2/component-lib/scroll-view.js.map +1 -0
- package/lib/vue2/component-lib/text.d.ts +16 -0
- package/lib/vue2/component-lib/text.js +24 -0
- package/lib/vue2/component-lib/text.js.map +1 -0
- package/lib/vue2/components.d.ts +5 -2
- package/lib/vue2/components.js +29 -5
- package/lib/vue2/components.js.map +1 -1
- package/lib/vue2/index.js +2 -0
- package/lib/vue2/index.js.map +1 -1
- package/lib/vue2/node_modules/.pnpm/registry.npmjs.org_vue-fragment@1.6.0_vue@2.6.14/node_modules/vue-fragment/dist/vue-fragment.esm.js +4 -0
- package/lib/vue2/node_modules/.pnpm/registry.npmjs.org_vue-fragment@1.6.0_vue@2.6.14/node_modules/vue-fragment/dist/vue-fragment.esm.js.map +1 -0
- package/lib/vue2/vue-component-lib/utils.js +3 -1
- package/lib/vue2/vue-component-lib/utils.js.map +1 -1
- package/lib/vue3/component-lib/createComponent.d.ts +10 -0
- package/lib/vue3/component-lib/createComponent.js +21 -0
- package/lib/vue3/component-lib/createComponent.js.map +1 -0
- package/lib/vue3/component-lib/createFormsComponent.d.ts +11 -0
- package/lib/vue3/component-lib/createFormsComponent.js +38 -0
- package/lib/vue3/component-lib/createFormsComponent.js.map +1 -0
- package/lib/vue3/component-lib/forwardRef.d.ts +2 -0
- package/lib/vue3/component-lib/forwardRef.js +13 -0
- package/lib/vue3/component-lib/forwardRef.js.map +1 -0
- package/lib/vue3/component-lib/icon.d.ts +11 -0
- package/lib/vue3/component-lib/icon.js +20 -0
- package/lib/vue3/component-lib/icon.js.map +1 -0
- package/lib/vue3/component-lib/image.d.ts +11 -0
- package/lib/vue3/component-lib/image.js +21 -0
- package/lib/vue3/component-lib/image.js.map +1 -0
- package/lib/vue3/component-lib/index.d.ts +442 -0
- package/lib/vue3/component-lib/index.js +68 -0
- package/lib/vue3/component-lib/index.js.map +1 -0
- package/lib/vue3/component-lib/scroll-view.d.ts +11 -0
- package/lib/vue3/component-lib/scroll-view.js +27 -0
- package/lib/vue3/component-lib/scroll-view.js.map +1 -0
- package/lib/vue3/component-lib/text.d.ts +11 -0
- package/lib/vue3/component-lib/text.js +21 -0
- package/lib/vue3/component-lib/text.js.map +1 -0
- package/lib/vue3/components.d.ts +2 -2
- package/lib/vue3/components.js +9 -8
- package/lib/vue3/components.js.map +1 -1
- package/lib/vue3/vue-component-lib/utils.js +1 -1
- package/lib/vue3/vue-component-lib/utils.js.map +1 -1
- package/package.json +8 -8
- package/types/ChannelLive.d.ts +1 -1
- package/types/CommentList.d.ts +1 -0
- package/types/Form.d.ts +0 -6
- package/types/Navigator.d.ts +8 -8
- package/types/RootPortal.d.ts +0 -1
- package/dist/taro-components/p-5208792d.entry.js.map +0 -1
- package/dist/taro-components/p-5beca045.system.entry.js +0 -2
- package/dist/taro-components/p-5beca045.system.entry.js.map +0 -1
- package/dist/taro-components/p-6de64a4b.system.entry.js +0 -2
- package/dist/taro-components/p-6de64a4b.system.entry.js.map +0 -1
- package/dist/taro-components/p-71155a2c.entry.js +0 -2
- package/dist/taro-components/p-71155a2c.entry.js.map +0 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { toRefs, computed, h } from 'vue';
|
|
2
|
+
import { useForwardRef } from './forwardRef.js';
|
|
3
|
+
|
|
4
|
+
function createFormsComponent(name, eventName, modelValue = 'value', classNames = []) {
|
|
5
|
+
const props = {
|
|
6
|
+
modelValue: null
|
|
7
|
+
};
|
|
8
|
+
if (name === 'taro-input') {
|
|
9
|
+
props.focus = Boolean;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
emits: ['tap', 'update:modelValue'],
|
|
13
|
+
props,
|
|
14
|
+
setup(props, { slots, emit }) {
|
|
15
|
+
const { modelValue: model, focus } = toRefs(props);
|
|
16
|
+
const attrs = computed(() => {
|
|
17
|
+
return name === 'taro-input'
|
|
18
|
+
? {
|
|
19
|
+
[modelValue]: model.value,
|
|
20
|
+
'auto-focus': focus.value
|
|
21
|
+
}
|
|
22
|
+
: {
|
|
23
|
+
[modelValue]: model.value
|
|
24
|
+
};
|
|
25
|
+
});
|
|
26
|
+
const forwardRef = useForwardRef();
|
|
27
|
+
return () => (h(`${name}-core`, Object.assign(Object.assign({ ref: forwardRef, class: ['hydrated', ...classNames] }, attrs.value), { onClick(e) {
|
|
28
|
+
emit('tap', e);
|
|
29
|
+
},
|
|
30
|
+
[`on${eventName}`](e) {
|
|
31
|
+
emit('update:modelValue', e.detail.value);
|
|
32
|
+
} }), slots));
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { createFormsComponent as default };
|
|
38
|
+
//# sourceMappingURL=createFormsComponent.js.map
|
|
@@ -0,0 +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":";;;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;;;;"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { getCurrentInstance } from 'vue';
|
|
2
|
+
|
|
3
|
+
function useForwardRef() {
|
|
4
|
+
const instance = getCurrentInstance();
|
|
5
|
+
function forwardRef(ref) {
|
|
6
|
+
instance.exposed = ref;
|
|
7
|
+
instance.exposeProxy = ref;
|
|
8
|
+
}
|
|
9
|
+
return forwardRef;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { useForwardRef };
|
|
13
|
+
//# sourceMappingURL=forwardRef.js.map
|
|
@@ -0,0 +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":";;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;;;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
emits: string[];
|
|
3
|
+
setup(__props: any, { slots, emit, attrs }: {
|
|
4
|
+
slots: any;
|
|
5
|
+
emit: any;
|
|
6
|
+
attrs: any;
|
|
7
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}>;
|
|
10
|
+
};
|
|
11
|
+
export { _default as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { h } from 'vue';
|
|
2
|
+
import { useForwardRef } from './forwardRef.js';
|
|
3
|
+
|
|
4
|
+
var icon = {
|
|
5
|
+
emits: ['tap'],
|
|
6
|
+
setup(__props, { slots, emit, attrs }) {
|
|
7
|
+
const iconType = attrs.type.replace(/_/g, '-');
|
|
8
|
+
const forwardRef = useForwardRef();
|
|
9
|
+
return () => (h('taro-icon-core', {
|
|
10
|
+
ref: forwardRef,
|
|
11
|
+
class: ['hydrated', `weui-icon-${iconType}`],
|
|
12
|
+
onClick(e) {
|
|
13
|
+
emit('tap', e);
|
|
14
|
+
}
|
|
15
|
+
}, slots));
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
export { icon as default };
|
|
20
|
+
//# sourceMappingURL=icon.js.map
|
|
@@ -0,0 +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":";;;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;;;;"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
emits: string[];
|
|
3
|
+
setup(__props: any, { slots, emit, attrs }: {
|
|
4
|
+
slots: any;
|
|
5
|
+
emit: any;
|
|
6
|
+
attrs: any;
|
|
7
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}>;
|
|
10
|
+
};
|
|
11
|
+
export { _default as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { h } from 'vue';
|
|
2
|
+
import { useForwardRef } from './forwardRef.js';
|
|
3
|
+
|
|
4
|
+
var image = {
|
|
5
|
+
emits: ['tap'],
|
|
6
|
+
setup(__props, { slots, emit, attrs }) {
|
|
7
|
+
const forwardRef = useForwardRef();
|
|
8
|
+
return () => (h('taro-image-core', {
|
|
9
|
+
ref: forwardRef,
|
|
10
|
+
class: ['hydrated', {
|
|
11
|
+
'taro-img__widthfix': attrs.mode === 'widthFix'
|
|
12
|
+
}],
|
|
13
|
+
onClick(e) {
|
|
14
|
+
emit('tap', e);
|
|
15
|
+
}
|
|
16
|
+
}, slots));
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export { image as default };
|
|
21
|
+
//# sourceMappingURL=image.js.map
|
|
@@ -0,0 +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":";;;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;;;;"}
|
|
@@ -0,0 +1,442 @@
|
|
|
1
|
+
declare const CoverImage: {
|
|
2
|
+
emits: string[];
|
|
3
|
+
setup(__props: any, { slots, emit }: {
|
|
4
|
+
slots: any;
|
|
5
|
+
emit: any;
|
|
6
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}>;
|
|
9
|
+
};
|
|
10
|
+
declare const CoverView: {
|
|
11
|
+
emits: string[];
|
|
12
|
+
setup(__props: any, { slots, emit }: {
|
|
13
|
+
slots: any;
|
|
14
|
+
emit: any;
|
|
15
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}>;
|
|
18
|
+
};
|
|
19
|
+
declare const MatchMedia: {
|
|
20
|
+
emits: string[];
|
|
21
|
+
setup(__props: any, { slots, emit }: {
|
|
22
|
+
slots: any;
|
|
23
|
+
emit: any;
|
|
24
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}>;
|
|
27
|
+
};
|
|
28
|
+
declare const MovableArea: {
|
|
29
|
+
emits: string[];
|
|
30
|
+
setup(__props: any, { slots, emit }: {
|
|
31
|
+
slots: any;
|
|
32
|
+
emit: any;
|
|
33
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
}>;
|
|
36
|
+
};
|
|
37
|
+
declare const MovableView: {
|
|
38
|
+
emits: string[];
|
|
39
|
+
setup(__props: any, { slots, emit }: {
|
|
40
|
+
slots: any;
|
|
41
|
+
emit: any;
|
|
42
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
}>;
|
|
45
|
+
};
|
|
46
|
+
declare const PageContainer: {
|
|
47
|
+
emits: string[];
|
|
48
|
+
setup(__props: any, { slots, emit }: {
|
|
49
|
+
slots: any;
|
|
50
|
+
emit: any;
|
|
51
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
52
|
+
[key: string]: any;
|
|
53
|
+
}>;
|
|
54
|
+
};
|
|
55
|
+
declare const RootPortal: {
|
|
56
|
+
emits: string[];
|
|
57
|
+
setup(__props: any, { slots, emit }: {
|
|
58
|
+
slots: any;
|
|
59
|
+
emit: any;
|
|
60
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
}>;
|
|
63
|
+
};
|
|
64
|
+
declare const ShareElement: {
|
|
65
|
+
emits: string[];
|
|
66
|
+
setup(__props: any, { slots, emit }: {
|
|
67
|
+
slots: any;
|
|
68
|
+
emit: any;
|
|
69
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
70
|
+
[key: string]: any;
|
|
71
|
+
}>;
|
|
72
|
+
};
|
|
73
|
+
declare const Swiper: {
|
|
74
|
+
emits: string[];
|
|
75
|
+
setup(__props: any, { slots, emit }: {
|
|
76
|
+
slots: any;
|
|
77
|
+
emit: any;
|
|
78
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
}>;
|
|
81
|
+
};
|
|
82
|
+
declare const SwiperItem: {
|
|
83
|
+
emits: string[];
|
|
84
|
+
setup(__props: any, { slots, emit }: {
|
|
85
|
+
slots: any;
|
|
86
|
+
emit: any;
|
|
87
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
88
|
+
[key: string]: any;
|
|
89
|
+
}>;
|
|
90
|
+
};
|
|
91
|
+
declare const View: {
|
|
92
|
+
emits: string[];
|
|
93
|
+
setup(__props: any, { slots, emit }: {
|
|
94
|
+
slots: any;
|
|
95
|
+
emit: any;
|
|
96
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
97
|
+
[key: string]: any;
|
|
98
|
+
}>;
|
|
99
|
+
};
|
|
100
|
+
declare const Progress: {
|
|
101
|
+
emits: string[];
|
|
102
|
+
setup(__props: any, { slots, emit }: {
|
|
103
|
+
slots: any;
|
|
104
|
+
emit: any;
|
|
105
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
106
|
+
[key: string]: any;
|
|
107
|
+
}>;
|
|
108
|
+
};
|
|
109
|
+
declare const RichText: {
|
|
110
|
+
emits: string[];
|
|
111
|
+
setup(__props: any, { slots, emit }: {
|
|
112
|
+
slots: any;
|
|
113
|
+
emit: any;
|
|
114
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
115
|
+
[key: string]: any;
|
|
116
|
+
}>;
|
|
117
|
+
};
|
|
118
|
+
declare const Button: {
|
|
119
|
+
emits: string[];
|
|
120
|
+
setup(__props: any, { slots, emit }: {
|
|
121
|
+
slots: any;
|
|
122
|
+
emit: any;
|
|
123
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
124
|
+
[key: string]: any;
|
|
125
|
+
}>;
|
|
126
|
+
};
|
|
127
|
+
declare const Checkbox: {
|
|
128
|
+
emits: string[];
|
|
129
|
+
setup(__props: any, { slots, emit }: {
|
|
130
|
+
slots: any;
|
|
131
|
+
emit: any;
|
|
132
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
133
|
+
[key: string]: any;
|
|
134
|
+
}>;
|
|
135
|
+
};
|
|
136
|
+
declare const CheckboxGroup: {
|
|
137
|
+
emits: string[];
|
|
138
|
+
setup(__props: any, { slots, emit }: {
|
|
139
|
+
slots: any;
|
|
140
|
+
emit: any;
|
|
141
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
142
|
+
[key: string]: any;
|
|
143
|
+
}>;
|
|
144
|
+
};
|
|
145
|
+
declare const Editor: {
|
|
146
|
+
emits: string[];
|
|
147
|
+
setup(__props: any, { slots, emit }: {
|
|
148
|
+
slots: any;
|
|
149
|
+
emit: any;
|
|
150
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
151
|
+
[key: string]: any;
|
|
152
|
+
}>;
|
|
153
|
+
};
|
|
154
|
+
declare const Form: {
|
|
155
|
+
emits: string[];
|
|
156
|
+
setup(__props: any, { slots, emit }: {
|
|
157
|
+
slots: any;
|
|
158
|
+
emit: any;
|
|
159
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
160
|
+
[key: string]: any;
|
|
161
|
+
}>;
|
|
162
|
+
};
|
|
163
|
+
declare const Input: {
|
|
164
|
+
emits: string[];
|
|
165
|
+
props: Record<string, any>;
|
|
166
|
+
setup(props: any, { slots, emit }: {
|
|
167
|
+
slots: any;
|
|
168
|
+
emit: any;
|
|
169
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
170
|
+
[key: string]: any;
|
|
171
|
+
}>;
|
|
172
|
+
};
|
|
173
|
+
declare const KeyboardAccessory: {
|
|
174
|
+
emits: string[];
|
|
175
|
+
setup(__props: any, { slots, emit }: {
|
|
176
|
+
slots: any;
|
|
177
|
+
emit: any;
|
|
178
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
179
|
+
[key: string]: any;
|
|
180
|
+
}>;
|
|
181
|
+
};
|
|
182
|
+
declare const Label: {
|
|
183
|
+
emits: string[];
|
|
184
|
+
setup(__props: any, { slots, emit }: {
|
|
185
|
+
slots: any;
|
|
186
|
+
emit: any;
|
|
187
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
188
|
+
[key: string]: any;
|
|
189
|
+
}>;
|
|
190
|
+
};
|
|
191
|
+
declare const Picker: {
|
|
192
|
+
emits: string[];
|
|
193
|
+
props: Record<string, any>;
|
|
194
|
+
setup(props: any, { slots, emit }: {
|
|
195
|
+
slots: any;
|
|
196
|
+
emit: any;
|
|
197
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
198
|
+
[key: string]: any;
|
|
199
|
+
}>;
|
|
200
|
+
};
|
|
201
|
+
declare const PickerView: {
|
|
202
|
+
emits: string[];
|
|
203
|
+
setup(__props: any, { slots, emit }: {
|
|
204
|
+
slots: any;
|
|
205
|
+
emit: any;
|
|
206
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
207
|
+
[key: string]: any;
|
|
208
|
+
}>;
|
|
209
|
+
};
|
|
210
|
+
declare const PickerViewColumn: {
|
|
211
|
+
emits: string[];
|
|
212
|
+
setup(__props: any, { slots, emit }: {
|
|
213
|
+
slots: any;
|
|
214
|
+
emit: any;
|
|
215
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
216
|
+
[key: string]: any;
|
|
217
|
+
}>;
|
|
218
|
+
};
|
|
219
|
+
declare const Radio: {
|
|
220
|
+
emits: string[];
|
|
221
|
+
setup(__props: any, { slots, emit }: {
|
|
222
|
+
slots: any;
|
|
223
|
+
emit: any;
|
|
224
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
225
|
+
[key: string]: any;
|
|
226
|
+
}>;
|
|
227
|
+
};
|
|
228
|
+
declare const RadioGroup: {
|
|
229
|
+
emits: string[];
|
|
230
|
+
setup(__props: any, { slots, emit }: {
|
|
231
|
+
slots: any;
|
|
232
|
+
emit: any;
|
|
233
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
234
|
+
[key: string]: any;
|
|
235
|
+
}>;
|
|
236
|
+
};
|
|
237
|
+
declare const Slider: {
|
|
238
|
+
emits: string[];
|
|
239
|
+
props: Record<string, any>;
|
|
240
|
+
setup(props: any, { slots, emit }: {
|
|
241
|
+
slots: any;
|
|
242
|
+
emit: any;
|
|
243
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
244
|
+
[key: string]: any;
|
|
245
|
+
}>;
|
|
246
|
+
};
|
|
247
|
+
declare const Switch: {
|
|
248
|
+
emits: string[];
|
|
249
|
+
props: Record<string, any>;
|
|
250
|
+
setup(props: any, { slots, emit }: {
|
|
251
|
+
slots: any;
|
|
252
|
+
emit: any;
|
|
253
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
254
|
+
[key: string]: any;
|
|
255
|
+
}>;
|
|
256
|
+
};
|
|
257
|
+
declare const Textarea: {
|
|
258
|
+
emits: string[];
|
|
259
|
+
props: Record<string, any>;
|
|
260
|
+
setup(props: any, { slots, emit }: {
|
|
261
|
+
slots: any;
|
|
262
|
+
emit: any;
|
|
263
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
264
|
+
[key: string]: any;
|
|
265
|
+
}>;
|
|
266
|
+
};
|
|
267
|
+
declare const FunctionalPageNavigator: {
|
|
268
|
+
emits: string[];
|
|
269
|
+
setup(__props: any, { slots, emit }: {
|
|
270
|
+
slots: any;
|
|
271
|
+
emit: any;
|
|
272
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
273
|
+
[key: string]: any;
|
|
274
|
+
}>;
|
|
275
|
+
};
|
|
276
|
+
declare const Navigator: {
|
|
277
|
+
emits: string[];
|
|
278
|
+
setup(__props: any, { slots, emit }: {
|
|
279
|
+
slots: any;
|
|
280
|
+
emit: any;
|
|
281
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
282
|
+
[key: string]: any;
|
|
283
|
+
}>;
|
|
284
|
+
};
|
|
285
|
+
declare const Audio: {
|
|
286
|
+
emits: string[];
|
|
287
|
+
setup(__props: any, { slots, emit }: {
|
|
288
|
+
slots: any;
|
|
289
|
+
emit: any;
|
|
290
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
291
|
+
[key: string]: any;
|
|
292
|
+
}>;
|
|
293
|
+
};
|
|
294
|
+
declare const Camera: {
|
|
295
|
+
emits: string[];
|
|
296
|
+
setup(__props: any, { slots, emit }: {
|
|
297
|
+
slots: any;
|
|
298
|
+
emit: any;
|
|
299
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
300
|
+
[key: string]: any;
|
|
301
|
+
}>;
|
|
302
|
+
};
|
|
303
|
+
declare const LivePlayer: {
|
|
304
|
+
emits: string[];
|
|
305
|
+
setup(__props: any, { slots, emit }: {
|
|
306
|
+
slots: any;
|
|
307
|
+
emit: any;
|
|
308
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
309
|
+
[key: string]: any;
|
|
310
|
+
}>;
|
|
311
|
+
};
|
|
312
|
+
declare const Video: {
|
|
313
|
+
emits: string[];
|
|
314
|
+
setup(__props: any, { slots, emit }: {
|
|
315
|
+
slots: any;
|
|
316
|
+
emit: any;
|
|
317
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
318
|
+
[key: string]: any;
|
|
319
|
+
}>;
|
|
320
|
+
};
|
|
321
|
+
declare const VoipRoom: {
|
|
322
|
+
emits: string[];
|
|
323
|
+
setup(__props: any, { slots, emit }: {
|
|
324
|
+
slots: any;
|
|
325
|
+
emit: any;
|
|
326
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
327
|
+
[key: string]: any;
|
|
328
|
+
}>;
|
|
329
|
+
};
|
|
330
|
+
declare const Map: {
|
|
331
|
+
emits: string[];
|
|
332
|
+
setup(__props: any, { slots, emit }: {
|
|
333
|
+
slots: any;
|
|
334
|
+
emit: any;
|
|
335
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
336
|
+
[key: string]: any;
|
|
337
|
+
}>;
|
|
338
|
+
};
|
|
339
|
+
declare const Canvas: {
|
|
340
|
+
emits: string[];
|
|
341
|
+
setup(__props: any, { slots, emit }: {
|
|
342
|
+
slots: any;
|
|
343
|
+
emit: any;
|
|
344
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
345
|
+
[key: string]: any;
|
|
346
|
+
}>;
|
|
347
|
+
};
|
|
348
|
+
declare const WebView: {
|
|
349
|
+
emits: string[];
|
|
350
|
+
setup(__props: any, { slots, emit }: {
|
|
351
|
+
slots: any;
|
|
352
|
+
emit: any;
|
|
353
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
354
|
+
[key: string]: any;
|
|
355
|
+
}>;
|
|
356
|
+
};
|
|
357
|
+
declare const Ad: {
|
|
358
|
+
emits: string[];
|
|
359
|
+
setup(__props: any, { slots, emit }: {
|
|
360
|
+
slots: any;
|
|
361
|
+
emit: any;
|
|
362
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
363
|
+
[key: string]: any;
|
|
364
|
+
}>;
|
|
365
|
+
};
|
|
366
|
+
declare const AdCustom: {
|
|
367
|
+
emits: string[];
|
|
368
|
+
setup(__props: any, { slots, emit }: {
|
|
369
|
+
slots: any;
|
|
370
|
+
emit: any;
|
|
371
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
372
|
+
[key: string]: any;
|
|
373
|
+
}>;
|
|
374
|
+
};
|
|
375
|
+
declare const OfficialAccount: {
|
|
376
|
+
emits: string[];
|
|
377
|
+
setup(__props: any, { slots, emit }: {
|
|
378
|
+
slots: any;
|
|
379
|
+
emit: any;
|
|
380
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
381
|
+
[key: string]: any;
|
|
382
|
+
}>;
|
|
383
|
+
};
|
|
384
|
+
declare const OpenData: {
|
|
385
|
+
emits: string[];
|
|
386
|
+
setup(__props: any, { slots, emit }: {
|
|
387
|
+
slots: any;
|
|
388
|
+
emit: any;
|
|
389
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
390
|
+
[key: string]: any;
|
|
391
|
+
}>;
|
|
392
|
+
};
|
|
393
|
+
declare const NavigationBar: {
|
|
394
|
+
emits: string[];
|
|
395
|
+
setup(__props: any, { slots, emit }: {
|
|
396
|
+
slots: any;
|
|
397
|
+
emit: any;
|
|
398
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
399
|
+
[key: string]: any;
|
|
400
|
+
}>;
|
|
401
|
+
};
|
|
402
|
+
declare const PageMeta: {
|
|
403
|
+
emits: string[];
|
|
404
|
+
setup(__props: any, { slots, emit }: {
|
|
405
|
+
slots: any;
|
|
406
|
+
emit: any;
|
|
407
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
408
|
+
[key: string]: any;
|
|
409
|
+
}>;
|
|
410
|
+
};
|
|
411
|
+
declare const Block: {
|
|
412
|
+
emits: string[];
|
|
413
|
+
setup(__props: any, { slots, emit }: {
|
|
414
|
+
slots: any;
|
|
415
|
+
emit: any;
|
|
416
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
417
|
+
[key: string]: any;
|
|
418
|
+
}>;
|
|
419
|
+
};
|
|
420
|
+
declare const CustomWrapper: {
|
|
421
|
+
emits: string[];
|
|
422
|
+
setup(__props: any, { slots, emit }: {
|
|
423
|
+
slots: any;
|
|
424
|
+
emit: any;
|
|
425
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
426
|
+
[key: string]: any;
|
|
427
|
+
}>;
|
|
428
|
+
};
|
|
429
|
+
declare const Slot: {
|
|
430
|
+
emits: string[];
|
|
431
|
+
setup(__props: any, { slots, emit }: {
|
|
432
|
+
slots: any;
|
|
433
|
+
emit: any;
|
|
434
|
+
}): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
435
|
+
[key: string]: any;
|
|
436
|
+
}>;
|
|
437
|
+
};
|
|
438
|
+
export { CoverImage, CoverView, MatchMedia, MovableArea, MovableView, PageContainer, RootPortal, ShareElement, Swiper, SwiperItem, View, Progress, RichText, Button, Checkbox, CheckboxGroup, Editor, Form, Input, KeyboardAccessory, Label, Picker, PickerView, PickerViewColumn, Radio, RadioGroup, Slider, Switch, Textarea, FunctionalPageNavigator, Navigator, Audio, Camera, LivePlayer, Video, VoipRoom, Map, Canvas, WebView, Ad, AdCustom, OfficialAccount, OpenData, NavigationBar, PageMeta, Block, CustomWrapper, Slot };
|
|
439
|
+
export { default as ScrollView } from "./scroll-view";
|
|
440
|
+
export { default as Icon } from "./icon";
|
|
441
|
+
export { default as Text } from "./text";
|
|
442
|
+
export { default as Image } from "./image";
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import createComponent from './createComponent.js';
|
|
2
|
+
import createFormsComponent from './createFormsComponent.js';
|
|
3
|
+
export { default as ScrollView } from './scroll-view.js';
|
|
4
|
+
export { default as Icon } from './icon.js';
|
|
5
|
+
export { default as Text } from './text.js';
|
|
6
|
+
export { default as Image } from './image.js';
|
|
7
|
+
|
|
8
|
+
// 视图容器
|
|
9
|
+
const CoverImage = createComponent('taro-cover-image');
|
|
10
|
+
const CoverView = createComponent('taro-cover-view');
|
|
11
|
+
const MatchMedia = createComponent('taro-match-media');
|
|
12
|
+
const MovableArea = createComponent('taro-movable-area');
|
|
13
|
+
const MovableView = createComponent('taro-movable-view');
|
|
14
|
+
const PageContainer = createComponent('taro-page-container');
|
|
15
|
+
const RootPortal = createComponent('taro-root-portal');
|
|
16
|
+
const ShareElement = createComponent('taro-share-element');
|
|
17
|
+
const Swiper = createComponent('taro-swiper');
|
|
18
|
+
const SwiperItem = createComponent('taro-swiper-item', ['swiper-slide']);
|
|
19
|
+
const View = createComponent('taro-view');
|
|
20
|
+
const Progress = createComponent('taro-progress', ['weui-progress']);
|
|
21
|
+
const RichText = createComponent('taro-rich-text');
|
|
22
|
+
// 表单组件
|
|
23
|
+
const Button = createComponent('taro-button');
|
|
24
|
+
const Checkbox = createComponent('taro-checkbox', ['weui-cells_checkbox']);
|
|
25
|
+
const CheckboxGroup = createComponent('taro-checkbox-group');
|
|
26
|
+
const Editor = createComponent('taro-editor');
|
|
27
|
+
const Form = createComponent('taro-form');
|
|
28
|
+
const Input = createFormsComponent('taro-input', 'input');
|
|
29
|
+
const KeyboardAccessory = createComponent('taro-keyboard-accessory');
|
|
30
|
+
const Label = createComponent('taro-label');
|
|
31
|
+
const Picker = createFormsComponent('taro-picker', 'change');
|
|
32
|
+
const PickerView = createComponent('taro-picker-view');
|
|
33
|
+
const PickerViewColumn = createComponent('taro-picker-view-column');
|
|
34
|
+
const Radio = createComponent('taro-radio', ['weui-cells_checkbox']);
|
|
35
|
+
const RadioGroup = createComponent('taro-radio-group', ['weui-cells_radiogroup']);
|
|
36
|
+
const Slider = createFormsComponent('taro-slider', 'change', 'value', ['weui-slider-box']);
|
|
37
|
+
const Switch = createFormsComponent('taro-switch', 'change', 'checked');
|
|
38
|
+
const Textarea = createFormsComponent('taro-textarea', 'input');
|
|
39
|
+
// 导航
|
|
40
|
+
const FunctionalPageNavigator = createComponent('taro-functional-page-navigator');
|
|
41
|
+
const Navigator = createComponent('taro-navigator');
|
|
42
|
+
// 媒体组件
|
|
43
|
+
const Audio = createComponent('taro-audio');
|
|
44
|
+
const Camera = createComponent('taro-camera');
|
|
45
|
+
const LivePlayer = createComponent('taro-live-player');
|
|
46
|
+
const Video = createComponent('taro-video', ['taro-video-container']);
|
|
47
|
+
const VoipRoom = createComponent('taro-voip-room');
|
|
48
|
+
// 地图
|
|
49
|
+
const Map = createComponent('taro-map');
|
|
50
|
+
// 画布
|
|
51
|
+
const Canvas = createComponent('taro-canvas');
|
|
52
|
+
// 开放能力
|
|
53
|
+
const WebView = createComponent('taro-web-view');
|
|
54
|
+
const Ad = createComponent('taro-ad');
|
|
55
|
+
const AdCustom = createComponent('taro-ad-custom');
|
|
56
|
+
const OfficialAccount = createComponent('taro-official-account');
|
|
57
|
+
const OpenData = createComponent('taro-open-data');
|
|
58
|
+
// 导航栏
|
|
59
|
+
const NavigationBar = createComponent('taro-navigation-bar');
|
|
60
|
+
// 页面属性配置节点
|
|
61
|
+
const PageMeta = createComponent('taro-page-meta');
|
|
62
|
+
// 其他
|
|
63
|
+
const Block = createComponent('taro-block');
|
|
64
|
+
const CustomWrapper = createComponent('taro-custom-wrapper');
|
|
65
|
+
const Slot = createComponent('taro-slot');
|
|
66
|
+
|
|
67
|
+
export { Ad, AdCustom, Audio, Block, Button, Camera, Canvas, Checkbox, CheckboxGroup, CoverImage, CoverView, CustomWrapper, Editor, Form, FunctionalPageNavigator, Input, KeyboardAccessory, Label, LivePlayer, Map, MatchMedia, MovableArea, MovableView, NavigationBar, Navigator, OfficialAccount, OpenData, PageContainer, PageMeta, Picker, PickerView, PickerViewColumn, Progress, Radio, RadioGroup, RichText, RootPortal, ShareElement, Slider, Slot, Swiper, SwiperItem, Switch, Textarea, Video, View, VoipRoom, WebView };
|
|
68
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../taro-components-library-vue3/src/component-lib/index.ts"],"sourcesContent":["import createComponent from './createComponent'\nimport createFormsComponent from './createFormsComponent'\n\n// 视图容器\nexport const CoverImage = createComponent('taro-cover-image')\nexport const CoverView = createComponent('taro-cover-view')\nexport const MatchMedia = createComponent('taro-match-media')\nexport const MovableArea = createComponent('taro-movable-area')\nexport const MovableView = createComponent('taro-movable-view')\nexport const PageContainer = createComponent('taro-page-container')\nexport const RootPortal = createComponent('taro-root-portal')\nexport { default as ScrollView } from './scroll-view'\nexport const ShareElement = createComponent('taro-share-element')\nexport const Swiper = createComponent('taro-swiper')\nexport const SwiperItem = createComponent('taro-swiper-item', ['swiper-slide'])\nexport const View = createComponent('taro-view')\n\n// 基础内容\nexport { default as Icon } from './icon'\nexport const Progress = createComponent('taro-progress', ['weui-progress'])\nexport const RichText = createComponent('taro-rich-text')\nexport { default as Text } from './text'\n\n// 表单组件\nexport const Button = createComponent('taro-button')\nexport const Checkbox = createComponent('taro-checkbox', ['weui-cells_checkbox'])\nexport const CheckboxGroup = createComponent('taro-checkbox-group')\nexport const Editor = createComponent('taro-editor')\nexport const Form = createComponent('taro-form')\nexport const Input = createFormsComponent('taro-input', 'input')\nexport const KeyboardAccessory = createComponent('taro-keyboard-accessory')\nexport const Label = createComponent('taro-label')\nexport const Picker = createFormsComponent('taro-picker', 'change')\nexport const PickerView = createComponent('taro-picker-view')\nexport const PickerViewColumn = createComponent('taro-picker-view-column')\nexport const Radio = createComponent('taro-radio', ['weui-cells_checkbox'])\nexport const RadioGroup = createComponent('taro-radio-group', ['weui-cells_radiogroup'])\nexport const Slider = createFormsComponent('taro-slider', 'change', 'value', ['weui-slider-box'])\nexport const Switch = createFormsComponent('taro-switch', 'change', 'checked')\nexport const Textarea = createFormsComponent('taro-textarea', 'input')\n\n// 导航\nexport const FunctionalPageNavigator = createComponent('taro-functional-page-navigator')\nexport const Navigator = createComponent('taro-navigator')\n\n// 媒体组件\nexport const Audio = createComponent('taro-audio')\nexport const Camera = createComponent('taro-camera')\nexport { default as Image } from './image'\nexport const LivePlayer = createComponent('taro-live-player')\nexport const Video = createComponent('taro-video', ['taro-video-container'])\nexport const VoipRoom = createComponent('taro-voip-room')\n\n// 地图\nexport const Map = createComponent('taro-map')\n\n// 画布\nexport const Canvas = createComponent('taro-canvas')\n\n// 开放能力\nexport const WebView = createComponent('taro-web-view')\nexport const Ad = createComponent('taro-ad')\nexport const AdCustom = createComponent('taro-ad-custom')\nexport const OfficialAccount = createComponent('taro-official-account')\nexport const OpenData = createComponent('taro-open-data')\n\n// 导航栏\nexport const NavigationBar = createComponent('taro-navigation-bar')\n\n// 页面属性配置节点\nexport const PageMeta = createComponent('taro-page-meta')\n\n// 其他\nexport const Block = createComponent('taro-block')\nexport const CustomWrapper = createComponent('taro-custom-wrapper')\nexport const Slot = createComponent('taro-slot')\n"],"names":[],"mappings":";;;;;;;AAGA;MACa,UAAU,GAAG,eAAe,CAAC,kBAAkB,EAAC;MAChD,SAAS,GAAG,eAAe,CAAC,iBAAiB,EAAC;MAC9C,UAAU,GAAG,eAAe,CAAC,kBAAkB,EAAC;MAChD,WAAW,GAAG,eAAe,CAAC,mBAAmB,EAAC;MAClD,WAAW,GAAG,eAAe,CAAC,mBAAmB,EAAC;MAClD,aAAa,GAAG,eAAe,CAAC,qBAAqB,EAAC;MACtD,UAAU,GAAG,eAAe,CAAC,kBAAkB,EAAC;MAEhD,YAAY,GAAG,eAAe,CAAC,oBAAoB,EAAC;MACpD,MAAM,GAAG,eAAe,CAAC,aAAa,EAAC;AAC7C,MAAM,UAAU,GAAG,eAAe,CAAC,kBAAkB,EAAE,CAAC,cAAc,CAAC,EAAC;MAClE,IAAI,GAAG,eAAe,CAAC,WAAW,EAAC;AAIzC,MAAM,QAAQ,GAAG,eAAe,CAAC,eAAe,EAAE,CAAC,eAAe,CAAC,EAAC;MAC9D,QAAQ,GAAG,eAAe,CAAC,gBAAgB,EAAC;AAGzD;MACa,MAAM,GAAG,eAAe,CAAC,aAAa,EAAC;AAC7C,MAAM,QAAQ,GAAG,eAAe,CAAC,eAAe,EAAE,CAAC,qBAAqB,CAAC,EAAC;MACpE,aAAa,GAAG,eAAe,CAAC,qBAAqB,EAAC;MACtD,MAAM,GAAG,eAAe,CAAC,aAAa,EAAC;MACvC,IAAI,GAAG,eAAe,CAAC,WAAW,EAAC;AACnC,MAAA,KAAK,GAAG,oBAAoB,CAAC,YAAY,EAAE,OAAO,EAAC;MACnD,iBAAiB,GAAG,eAAe,CAAC,yBAAyB,EAAC;MAC9D,KAAK,GAAG,eAAe,CAAC,YAAY,EAAC;AACrC,MAAA,MAAM,GAAG,oBAAoB,CAAC,aAAa,EAAE,QAAQ,EAAC;MACtD,UAAU,GAAG,eAAe,CAAC,kBAAkB,EAAC;MAChD,gBAAgB,GAAG,eAAe,CAAC,yBAAyB,EAAC;AACnE,MAAM,KAAK,GAAG,eAAe,CAAC,YAAY,EAAE,CAAC,qBAAqB,CAAC,EAAC;AACpE,MAAM,UAAU,GAAG,eAAe,CAAC,kBAAkB,EAAE,CAAC,uBAAuB,CAAC,EAAC;AAC3E,MAAA,MAAM,GAAG,oBAAoB,CAAC,aAAa,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,iBAAiB,CAAC,EAAC;AAC1F,MAAM,MAAM,GAAG,oBAAoB,CAAC,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAC;AACjE,MAAA,QAAQ,GAAG,oBAAoB,CAAC,eAAe,EAAE,OAAO,EAAC;AAEtE;MACa,uBAAuB,GAAG,eAAe,CAAC,gCAAgC,EAAC;MAC3E,SAAS,GAAG,eAAe,CAAC,gBAAgB,EAAC;AAE1D;MACa,KAAK,GAAG,eAAe,CAAC,YAAY,EAAC;MACrC,MAAM,GAAG,eAAe,CAAC,aAAa,EAAC;MAEvC,UAAU,GAAG,eAAe,CAAC,kBAAkB,EAAC;AACtD,MAAM,KAAK,GAAG,eAAe,CAAC,YAAY,EAAE,CAAC,sBAAsB,CAAC,EAAC;MAC/D,QAAQ,GAAG,eAAe,CAAC,gBAAgB,EAAC;AAEzD;MACa,GAAG,GAAG,eAAe,CAAC,UAAU,EAAC;AAE9C;MACa,MAAM,GAAG,eAAe,CAAC,aAAa,EAAC;AAEpD;MACa,OAAO,GAAG,eAAe,CAAC,eAAe,EAAC;MAC1C,EAAE,GAAG,eAAe,CAAC,SAAS,EAAC;MAC/B,QAAQ,GAAG,eAAe,CAAC,gBAAgB,EAAC;MAC5C,eAAe,GAAG,eAAe,CAAC,uBAAuB,EAAC;MAC1D,QAAQ,GAAG,eAAe,CAAC,gBAAgB,EAAC;AAEzD;MACa,aAAa,GAAG,eAAe,CAAC,qBAAqB,EAAC;AAEnE;MACa,QAAQ,GAAG,eAAe,CAAC,gBAAgB,EAAC;AAEzD;MACa,KAAK,GAAG,eAAe,CAAC,YAAY,EAAC;MACrC,aAAa,GAAG,eAAe,CAAC,qBAAqB,EAAC;MACtD,IAAI,GAAG,eAAe,CAAC,WAAW;;;;"}
|