UNPKG

53.5 kBTypeScriptView Raw
1/* eslint-disable */
2/* tslint:disable */
3/**
4 * This is an autogenerated file created by the Stencil compiler.
5 * It contains typing information for all components that exist in this project.
6 */
7import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8import { Type } from "./components/icon/icon";
9import { Mode } from "./components/image/image";
10import { Fields, Mode as Mode1 } from "./components/picker/picker";
11import { Nodes } from "./components/rich-text/rich-text";
12import { Conf } from "./components/tabbar/tabbar";
13import { Danmu } from "./components/video/video-danmu";
14export namespace Components {
15 interface TaroAdCore {
16 }
17 interface TaroAdCustomCore {
18 }
19 interface TaroAudioCore {
20 "autoplay": boolean;
21 "controls": boolean;
22 "loop": boolean;
23 "muted": boolean;
24 "nativeProps": {};
25 "src": string;
26 }
27 interface TaroBlockCore {
28 }
29 interface TaroButtonCore {
30 "disabled": boolean;
31 "formType": 'submit' | 'reset' | null;
32 "hoverClass": string;
33 "hoverStartTime": number;
34 "hoverStayTime": number;
35 "loading": boolean;
36 "plain": boolean;
37 "size": string;
38 "type": string;
39 }
40 interface TaroCameraCore {
41 }
42 interface TaroCanvasCore {
43 "canvasId": string;
44 "nativeProps": {};
45 }
46 interface TaroCheckboxCore {
47 "checked": boolean;
48 "color": string;
49 "disabled": boolean;
50 "id": string;
51 "name": string;
52 "nativeProps": {};
53 "value": string;
54 }
55 interface TaroCheckboxGroupCore {
56 "name": any;
57 }
58 interface TaroCoverImageCore {
59 "nativeProps": {};
60 "src": string;
61 }
62 interface TaroCoverViewCore {
63 "animation": string;
64 "hoverClass": string;
65 "hoverStartTime": number;
66 "hoverStayTime": number;
67 }
68 interface TaroCustomWrapperCore {
69 }
70 interface TaroEditorCore {
71 }
72 interface TaroFormCore {
73 }
74 interface TaroFunctionalPageNavigatorCore {
75 }
76 interface TaroIconCore {
77 "color": string;
78 "size": string | number;
79 "type": Type;
80 }
81 interface TaroImageCore {
82 "lazyLoad": boolean;
83 "mode": Mode;
84 "nativeProps": {};
85 "src": string;
86 }
87 interface TaroInputCore {
88 "autoFocus": boolean;
89 "confirmType": string;
90 "disabled": boolean;
91 "maxlength": number;
92 "name": string;
93 "nativeProps": {};
94 "password": boolean;
95 "placeholder": string;
96 "type": string;
97 "value": string;
98 }
99 interface TaroKeyboardAccessoryCore {
100 }
101 interface TaroLabelCore {
102 "for": string;
103 }
104 interface TaroLivePlayerCore {
105 }
106 interface TaroLivePusherCore {
107 }
108 interface TaroMapCore {
109 }
110 interface TaroMatchMediaCore {
111 }
112 interface TaroMovableAreaCore {
113 }
114 interface TaroMovableViewCore {
115 }
116 interface TaroNavigationBarCore {
117 }
118 interface TaroNavigatorCore {
119 "delta": number;
120 "hoverClass": string;
121 "isHover": boolean;
122 "openType": string;
123 "url": string;
124 }
125 interface TaroOfficialAccountCore {
126 }
127 interface TaroOpenDataCore {
128 }
129 interface TaroPageContainerCore {
130 }
131 interface TaroPageMetaCore {
132 }
133 interface TaroPickerCore {
134 "disabled": boolean;
135 "end": string;
136 "fields": Fields;
137 "mode": Mode;
138 "name": string;
139 "range": any[];
140 "rangeKey": string;
141 "start": string;
142 "value": number | number[] | string;
143 }
144 interface TaroPickerGroup {
145 "columnId": string;
146 "height": number;
147 "mode": 'time' | 'date';
148 "onColumnChange": (height: number, columnId: string) => void;
149 "range": any[];
150 "rangeKey": string;
151 "updateDay": (value: number, fields: number) => void;
152 "updateHeight": (height: number, columnId: string, needRevise?: boolean) => void;
153 }
154 interface TaroPickerViewColumnCore {
155 "col": string;
156 "initialPosition": string;
157 "paddingVertical": number;
158 }
159 interface TaroPickerViewCore {
160 "indicatorClass": string;
161 "indicatorStyle": string;
162 "maskClass": string;
163 "maskStyle": string;
164 "value": number[];
165 }
166 interface TaroProgressCore {
167 "active": boolean;
168 "activeColor": string;
169 "backgroundColor": string;
170 "borderRadius": number | string;
171 "fontSize": number | string;
172 "percent": number;
173 "showInfo": boolean;
174 "strokeWidth": number | string;
175 }
176 interface TaroPullToRefresh {
177 "damping": number;
178 "distanceToRefresh": number;
179 "indicator": { activate: string; deactivate: string; release: string; finish: string; };
180 "prefixCls": string;
181 }
182 interface TaroRadioCore {
183 "checked": boolean;
184 "disabled": boolean;
185 "id": string;
186 "name": string;
187 "nativeProps": {};
188 "value": string;
189 }
190 interface TaroRadioGroupCore {
191 "name": any;
192 }
193 interface TaroRichTextCore {
194 "nodes": Nodes;
195 }
196 interface TaroScrollViewCore {
197 "lowerThreshold": number | string;
198 "mpScrollIntoView": string;
199 "mpScrollLeft": number | string;
200 "mpScrollTop": number | string;
201 "scrollWithAnimation": boolean;
202 "scrollX": boolean;
203 "scrollY": boolean;
204 "upperThreshold": number | string;
205 }
206 interface TaroShareElementCore {
207 }
208 interface TaroSliderCore {
209 "activeColor": string;
210 "backgroundColor": string;
211 "blockColor": string;
212 "blockSize": number;
213 "disabled": boolean;
214 "max": number;
215 "min": number;
216 "name": string;
217 "showValue": boolean;
218 "step": number;
219 "value": number | null;
220 }
221 interface TaroSlotCore {
222 }
223 interface TaroSwiperCore {
224 /**
225 * 是否自动切换
226 */
227 "autoplay": boolean;
228 /**
229 * 是否采用衔接滑动
230 */
231 "circular": boolean;
232 /**
233 * 当前所在滑块的 index
234 */
235 "current": number;
236 /**
237 * 同时显示的滑块数量
238 */
239 "displayMultipleItems": number;
240 /**
241 * 滑动动画时长
242 */
243 "duration": number;
244 /**
245 * 给 previewImage API 使用,全屏显示 swiper
246 */
247 "full": boolean;
248 /**
249 * 当前选中的指示点颜色
250 */
251 "indicatorActiveColor": string;
252 /**
253 * 指示点颜色
254 */
255 "indicatorColor": string;
256 /**
257 * 是否显示面板指示点
258 */
259 "indicatorDots": boolean;
260 /**
261 * 自动切换时间间隔
262 */
263 "interval": number;
264 /**
265 * 后边距,可用于露出后一项的一小部分,接受 px 值
266 */
267 "nextMargin": string;
268 /**
269 * 前边距,可用于露出前一项的一小部分,接受 px 值
270 */
271 "previousMargin": string;
272 /**
273 * 滑动方向是否为纵向
274 */
275 "vertical": boolean;
276 }
277 interface TaroSwiperItemCore {
278 "itemId": string;
279 }
280 interface TaroSwitchCore {
281 "checked": boolean;
282 "color": string;
283 "disabled": boolean;
284 "name": string;
285 "nativeProps": {};
286 "type": string;
287 }
288 interface TaroTabbar {
289 "conf": Conf;
290 }
291 interface TaroTextCore {
292 "selectable": boolean;
293 }
294 interface TaroTextareaCore {
295 "autoFocus": boolean;
296 "autoHeight": boolean;
297 "disabled": boolean;
298 "maxlength": number;
299 "name": string;
300 "nativeProps": {};
301 "placeholder": string;
302 "value": string;
303 }
304 interface TaroVideoControl {
305 "controls": boolean;
306 "currentTime": number;
307 "duration": number;
308 "getIsDraggingProgressBall": () => Promise<boolean>;
309 "isPlaying": boolean;
310 "pauseFunc": () => void;
311 "playFunc": () => void;
312 "seekFunc": (position: number) => void;
313 "setCurrentTime": (time: number) => Promise<void>;
314 "setProgressBall": (percentage: number) => Promise<void>;
315 "showPlayBtn": boolean;
316 "showProgress": boolean;
317 "toggleVisibility": (nextVisible?: boolean | undefined) => Promise<void>;
318 }
319 interface TaroVideoCore {
320 /**
321 * 是否自动播放
322 */
323 "autoplay": boolean;
324 /**
325 * 是否显示默认播放控件(播放/暂停按钮、播放进度、时间)
326 */
327 "controls": boolean;
328 /**
329 * 是否显示弹幕按钮
330 */
331 "danmuBtn": boolean;
332 /**
333 * 弹幕列表
334 */
335 "danmuList": [];
336 /**
337 * 指定视频时长
338 */
339 "duration": number;
340 /**
341 * 是否展示弹幕
342 */
343 "enableDanmu": boolean;
344 /**
345 * 是否开启播放手势,即双击切换播放/暂停
346 */
347 "enablePlayGesture": boolean;
348 /**
349 * 是否开启控制进度的手势
350 */
351 "enableProgressGesture": boolean;
352 /**
353 * 退出全屏
354 */
355 "exitFullScreen": () => Promise<void>;
356 /**
357 * 指定视频初始播放位置
358 */
359 "initialTime": number;
360 /**
361 * 是否循环播放
362 */
363 "loop": boolean;
364 /**
365 * 是否静音播放
366 */
367 "muted": boolean;
368 "nativeProps": {};
369 /**
370 * 当视频大小与 video 容器大小不一致时,视频的表现形式
371 */
372 "objectFit": 'contain' | 'fill' | 'cover';
373 /**
374 * 暂停视频
375 */
376 "pause": () => Promise<void>;
377 /**
378 * 播放视频
379 */
380 "play": () => Promise<void>;
381 /**
382 * 视频封面的图片网络资源地址或云文件ID(2.3.0)。若 controls 属性值为 false 则设置 poster 无效
383 */
384 "poster": string;
385 /**
386 * 进入全屏。若有自定义内容需在全屏时展示,需将内容节点放置到 video 节点内。
387 */
388 "requestFullScreen": () => Promise<void>;
389 /**
390 * 跳转到指定位置
391 */
392 "seek": (position: number) => Promise<void>;
393 /**
394 * 是否显示视频中间的播放按钮
395 */
396 "showCenterPlayBtn": boolean;
397 /**
398 * 是否显示全屏按钮
399 */
400 "showFullscreenBtn": boolean;
401 /**
402 * 是否显示静音按钮
403 */
404 "showMuteBtn": boolean;
405 /**
406 * 是否显示视频底部控制栏的播放按钮
407 */
408 "showPlayBtn": boolean;
409 /**
410 * 若不设置,宽度大于 240 时才会显示
411 */
412 "showProgress": boolean;
413 /**
414 * 要播放视频的资源地址
415 */
416 "src": string;
417 /**
418 * 停止视频
419 */
420 "stop": () => Promise<void>;
421 /**
422 * 在非全屏模式下,是否开启亮度与音量调节手势
423 */
424 "vslideGesture": boolean;
425 /**
426 * 在全屏模式下,是否开启亮度与音量调节手势
427 */
428 "vslideGestureInFullscreen": boolean;
429 }
430 interface TaroVideoDanmu {
431 "enable": boolean;
432 "sendDanmu": (danmuList?: Partial<Danmu> | Partial<Danmu>[]) => Promise<void>;
433 "tick": (currentTime: number) => Promise<void>;
434 }
435 interface TaroViewCore {
436 "animation": string;
437 "hoverClass": string;
438 "hoverStartTime": number;
439 "hoverStayTime": number;
440 }
441 interface TaroVoipRoomCore {
442 }
443 interface TaroWebViewCore {
444 "src": string;
445 }
446}
447declare global {
448 interface HTMLTaroAdCoreElement extends Components.TaroAdCore, HTMLStencilElement {
449 }
450 var HTMLTaroAdCoreElement: {
451 prototype: HTMLTaroAdCoreElement;
452 new (): HTMLTaroAdCoreElement;
453 };
454 interface HTMLTaroAdCustomCoreElement extends Components.TaroAdCustomCore, HTMLStencilElement {
455 }
456 var HTMLTaroAdCustomCoreElement: {
457 prototype: HTMLTaroAdCustomCoreElement;
458 new (): HTMLTaroAdCustomCoreElement;
459 };
460 interface HTMLTaroAudioCoreElement extends Components.TaroAudioCore, HTMLStencilElement {
461 }
462 var HTMLTaroAudioCoreElement: {
463 prototype: HTMLTaroAudioCoreElement;
464 new (): HTMLTaroAudioCoreElement;
465 };
466 interface HTMLTaroBlockCoreElement extends Components.TaroBlockCore, HTMLStencilElement {
467 }
468 var HTMLTaroBlockCoreElement: {
469 prototype: HTMLTaroBlockCoreElement;
470 new (): HTMLTaroBlockCoreElement;
471 };
472 interface HTMLTaroButtonCoreElement extends Components.TaroButtonCore, HTMLStencilElement {
473 }
474 var HTMLTaroButtonCoreElement: {
475 prototype: HTMLTaroButtonCoreElement;
476 new (): HTMLTaroButtonCoreElement;
477 };
478 interface HTMLTaroCameraCoreElement extends Components.TaroCameraCore, HTMLStencilElement {
479 }
480 var HTMLTaroCameraCoreElement: {
481 prototype: HTMLTaroCameraCoreElement;
482 new (): HTMLTaroCameraCoreElement;
483 };
484 interface HTMLTaroCanvasCoreElement extends Components.TaroCanvasCore, HTMLStencilElement {
485 }
486 var HTMLTaroCanvasCoreElement: {
487 prototype: HTMLTaroCanvasCoreElement;
488 new (): HTMLTaroCanvasCoreElement;
489 };
490 interface HTMLTaroCheckboxCoreElement extends Components.TaroCheckboxCore, HTMLStencilElement {
491 }
492 var HTMLTaroCheckboxCoreElement: {
493 prototype: HTMLTaroCheckboxCoreElement;
494 new (): HTMLTaroCheckboxCoreElement;
495 };
496 interface HTMLTaroCheckboxGroupCoreElement extends Components.TaroCheckboxGroupCore, HTMLStencilElement {
497 }
498 var HTMLTaroCheckboxGroupCoreElement: {
499 prototype: HTMLTaroCheckboxGroupCoreElement;
500 new (): HTMLTaroCheckboxGroupCoreElement;
501 };
502 interface HTMLTaroCoverImageCoreElement extends Components.TaroCoverImageCore, HTMLStencilElement {
503 }
504 var HTMLTaroCoverImageCoreElement: {
505 prototype: HTMLTaroCoverImageCoreElement;
506 new (): HTMLTaroCoverImageCoreElement;
507 };
508 interface HTMLTaroCoverViewCoreElement extends Components.TaroCoverViewCore, HTMLStencilElement {
509 }
510 var HTMLTaroCoverViewCoreElement: {
511 prototype: HTMLTaroCoverViewCoreElement;
512 new (): HTMLTaroCoverViewCoreElement;
513 };
514 interface HTMLTaroCustomWrapperCoreElement extends Components.TaroCustomWrapperCore, HTMLStencilElement {
515 }
516 var HTMLTaroCustomWrapperCoreElement: {
517 prototype: HTMLTaroCustomWrapperCoreElement;
518 new (): HTMLTaroCustomWrapperCoreElement;
519 };
520 interface HTMLTaroEditorCoreElement extends Components.TaroEditorCore, HTMLStencilElement {
521 }
522 var HTMLTaroEditorCoreElement: {
523 prototype: HTMLTaroEditorCoreElement;
524 new (): HTMLTaroEditorCoreElement;
525 };
526 interface HTMLTaroFormCoreElement extends Components.TaroFormCore, HTMLStencilElement {
527 }
528 var HTMLTaroFormCoreElement: {
529 prototype: HTMLTaroFormCoreElement;
530 new (): HTMLTaroFormCoreElement;
531 };
532 interface HTMLTaroFunctionalPageNavigatorCoreElement extends Components.TaroFunctionalPageNavigatorCore, HTMLStencilElement {
533 }
534 var HTMLTaroFunctionalPageNavigatorCoreElement: {
535 prototype: HTMLTaroFunctionalPageNavigatorCoreElement;
536 new (): HTMLTaroFunctionalPageNavigatorCoreElement;
537 };
538 interface HTMLTaroIconCoreElement extends Components.TaroIconCore, HTMLStencilElement {
539 }
540 var HTMLTaroIconCoreElement: {
541 prototype: HTMLTaroIconCoreElement;
542 new (): HTMLTaroIconCoreElement;
543 };
544 interface HTMLTaroImageCoreElement extends Components.TaroImageCore, HTMLStencilElement {
545 }
546 var HTMLTaroImageCoreElement: {
547 prototype: HTMLTaroImageCoreElement;
548 new (): HTMLTaroImageCoreElement;
549 };
550 interface HTMLTaroInputCoreElement extends Components.TaroInputCore, HTMLStencilElement {
551 }
552 var HTMLTaroInputCoreElement: {
553 prototype: HTMLTaroInputCoreElement;
554 new (): HTMLTaroInputCoreElement;
555 };
556 interface HTMLTaroKeyboardAccessoryCoreElement extends Components.TaroKeyboardAccessoryCore, HTMLStencilElement {
557 }
558 var HTMLTaroKeyboardAccessoryCoreElement: {
559 prototype: HTMLTaroKeyboardAccessoryCoreElement;
560 new (): HTMLTaroKeyboardAccessoryCoreElement;
561 };
562 interface HTMLTaroLabelCoreElement extends Components.TaroLabelCore, HTMLStencilElement {
563 }
564 var HTMLTaroLabelCoreElement: {
565 prototype: HTMLTaroLabelCoreElement;
566 new (): HTMLTaroLabelCoreElement;
567 };
568 interface HTMLTaroLivePlayerCoreElement extends Components.TaroLivePlayerCore, HTMLStencilElement {
569 }
570 var HTMLTaroLivePlayerCoreElement: {
571 prototype: HTMLTaroLivePlayerCoreElement;
572 new (): HTMLTaroLivePlayerCoreElement;
573 };
574 interface HTMLTaroLivePusherCoreElement extends Components.TaroLivePusherCore, HTMLStencilElement {
575 }
576 var HTMLTaroLivePusherCoreElement: {
577 prototype: HTMLTaroLivePusherCoreElement;
578 new (): HTMLTaroLivePusherCoreElement;
579 };
580 interface HTMLTaroMapCoreElement extends Components.TaroMapCore, HTMLStencilElement {
581 }
582 var HTMLTaroMapCoreElement: {
583 prototype: HTMLTaroMapCoreElement;
584 new (): HTMLTaroMapCoreElement;
585 };
586 interface HTMLTaroMatchMediaCoreElement extends Components.TaroMatchMediaCore, HTMLStencilElement {
587 }
588 var HTMLTaroMatchMediaCoreElement: {
589 prototype: HTMLTaroMatchMediaCoreElement;
590 new (): HTMLTaroMatchMediaCoreElement;
591 };
592 interface HTMLTaroMovableAreaCoreElement extends Components.TaroMovableAreaCore, HTMLStencilElement {
593 }
594 var HTMLTaroMovableAreaCoreElement: {
595 prototype: HTMLTaroMovableAreaCoreElement;
596 new (): HTMLTaroMovableAreaCoreElement;
597 };
598 interface HTMLTaroMovableViewCoreElement extends Components.TaroMovableViewCore, HTMLStencilElement {
599 }
600 var HTMLTaroMovableViewCoreElement: {
601 prototype: HTMLTaroMovableViewCoreElement;
602 new (): HTMLTaroMovableViewCoreElement;
603 };
604 interface HTMLTaroNavigationBarCoreElement extends Components.TaroNavigationBarCore, HTMLStencilElement {
605 }
606 var HTMLTaroNavigationBarCoreElement: {
607 prototype: HTMLTaroNavigationBarCoreElement;
608 new (): HTMLTaroNavigationBarCoreElement;
609 };
610 interface HTMLTaroNavigatorCoreElement extends Components.TaroNavigatorCore, HTMLStencilElement {
611 }
612 var HTMLTaroNavigatorCoreElement: {
613 prototype: HTMLTaroNavigatorCoreElement;
614 new (): HTMLTaroNavigatorCoreElement;
615 };
616 interface HTMLTaroOfficialAccountCoreElement extends Components.TaroOfficialAccountCore, HTMLStencilElement {
617 }
618 var HTMLTaroOfficialAccountCoreElement: {
619 prototype: HTMLTaroOfficialAccountCoreElement;
620 new (): HTMLTaroOfficialAccountCoreElement;
621 };
622 interface HTMLTaroOpenDataCoreElement extends Components.TaroOpenDataCore, HTMLStencilElement {
623 }
624 var HTMLTaroOpenDataCoreElement: {
625 prototype: HTMLTaroOpenDataCoreElement;
626 new (): HTMLTaroOpenDataCoreElement;
627 };
628 interface HTMLTaroPageContainerCoreElement extends Components.TaroPageContainerCore, HTMLStencilElement {
629 }
630 var HTMLTaroPageContainerCoreElement: {
631 prototype: HTMLTaroPageContainerCoreElement;
632 new (): HTMLTaroPageContainerCoreElement;
633 };
634 interface HTMLTaroPageMetaCoreElement extends Components.TaroPageMetaCore, HTMLStencilElement {
635 }
636 var HTMLTaroPageMetaCoreElement: {
637 prototype: HTMLTaroPageMetaCoreElement;
638 new (): HTMLTaroPageMetaCoreElement;
639 };
640 interface HTMLTaroPickerCoreElement extends Components.TaroPickerCore, HTMLStencilElement {
641 }
642 var HTMLTaroPickerCoreElement: {
643 prototype: HTMLTaroPickerCoreElement;
644 new (): HTMLTaroPickerCoreElement;
645 };
646 interface HTMLTaroPickerGroupElement extends Components.TaroPickerGroup, HTMLStencilElement {
647 }
648 var HTMLTaroPickerGroupElement: {
649 prototype: HTMLTaroPickerGroupElement;
650 new (): HTMLTaroPickerGroupElement;
651 };
652 interface HTMLTaroPickerViewColumnCoreElement extends Components.TaroPickerViewColumnCore, HTMLStencilElement {
653 }
654 var HTMLTaroPickerViewColumnCoreElement: {
655 prototype: HTMLTaroPickerViewColumnCoreElement;
656 new (): HTMLTaroPickerViewColumnCoreElement;
657 };
658 interface HTMLTaroPickerViewCoreElement extends Components.TaroPickerViewCore, HTMLStencilElement {
659 }
660 var HTMLTaroPickerViewCoreElement: {
661 prototype: HTMLTaroPickerViewCoreElement;
662 new (): HTMLTaroPickerViewCoreElement;
663 };
664 interface HTMLTaroProgressCoreElement extends Components.TaroProgressCore, HTMLStencilElement {
665 }
666 var HTMLTaroProgressCoreElement: {
667 prototype: HTMLTaroProgressCoreElement;
668 new (): HTMLTaroProgressCoreElement;
669 };
670 interface HTMLTaroPullToRefreshElement extends Components.TaroPullToRefresh, HTMLStencilElement {
671 }
672 var HTMLTaroPullToRefreshElement: {
673 prototype: HTMLTaroPullToRefreshElement;
674 new (): HTMLTaroPullToRefreshElement;
675 };
676 interface HTMLTaroRadioCoreElement extends Components.TaroRadioCore, HTMLStencilElement {
677 }
678 var HTMLTaroRadioCoreElement: {
679 prototype: HTMLTaroRadioCoreElement;
680 new (): HTMLTaroRadioCoreElement;
681 };
682 interface HTMLTaroRadioGroupCoreElement extends Components.TaroRadioGroupCore, HTMLStencilElement {
683 }
684 var HTMLTaroRadioGroupCoreElement: {
685 prototype: HTMLTaroRadioGroupCoreElement;
686 new (): HTMLTaroRadioGroupCoreElement;
687 };
688 interface HTMLTaroRichTextCoreElement extends Components.TaroRichTextCore, HTMLStencilElement {
689 }
690 var HTMLTaroRichTextCoreElement: {
691 prototype: HTMLTaroRichTextCoreElement;
692 new (): HTMLTaroRichTextCoreElement;
693 };
694 interface HTMLTaroScrollViewCoreElement extends Components.TaroScrollViewCore, HTMLStencilElement {
695 }
696 var HTMLTaroScrollViewCoreElement: {
697 prototype: HTMLTaroScrollViewCoreElement;
698 new (): HTMLTaroScrollViewCoreElement;
699 };
700 interface HTMLTaroShareElementCoreElement extends Components.TaroShareElementCore, HTMLStencilElement {
701 }
702 var HTMLTaroShareElementCoreElement: {
703 prototype: HTMLTaroShareElementCoreElement;
704 new (): HTMLTaroShareElementCoreElement;
705 };
706 interface HTMLTaroSliderCoreElement extends Components.TaroSliderCore, HTMLStencilElement {
707 }
708 var HTMLTaroSliderCoreElement: {
709 prototype: HTMLTaroSliderCoreElement;
710 new (): HTMLTaroSliderCoreElement;
711 };
712 interface HTMLTaroSlotCoreElement extends Components.TaroSlotCore, HTMLStencilElement {
713 }
714 var HTMLTaroSlotCoreElement: {
715 prototype: HTMLTaroSlotCoreElement;
716 new (): HTMLTaroSlotCoreElement;
717 };
718 interface HTMLTaroSwiperCoreElement extends Components.TaroSwiperCore, HTMLStencilElement {
719 }
720 var HTMLTaroSwiperCoreElement: {
721 prototype: HTMLTaroSwiperCoreElement;
722 new (): HTMLTaroSwiperCoreElement;
723 };
724 interface HTMLTaroSwiperItemCoreElement extends Components.TaroSwiperItemCore, HTMLStencilElement {
725 }
726 var HTMLTaroSwiperItemCoreElement: {
727 prototype: HTMLTaroSwiperItemCoreElement;
728 new (): HTMLTaroSwiperItemCoreElement;
729 };
730 interface HTMLTaroSwitchCoreElement extends Components.TaroSwitchCore, HTMLStencilElement {
731 }
732 var HTMLTaroSwitchCoreElement: {
733 prototype: HTMLTaroSwitchCoreElement;
734 new (): HTMLTaroSwitchCoreElement;
735 };
736 interface HTMLTaroTabbarElement extends Components.TaroTabbar, HTMLStencilElement {
737 }
738 var HTMLTaroTabbarElement: {
739 prototype: HTMLTaroTabbarElement;
740 new (): HTMLTaroTabbarElement;
741 };
742 interface HTMLTaroTextCoreElement extends Components.TaroTextCore, HTMLStencilElement {
743 }
744 var HTMLTaroTextCoreElement: {
745 prototype: HTMLTaroTextCoreElement;
746 new (): HTMLTaroTextCoreElement;
747 };
748 interface HTMLTaroTextareaCoreElement extends Components.TaroTextareaCore, HTMLStencilElement {
749 }
750 var HTMLTaroTextareaCoreElement: {
751 prototype: HTMLTaroTextareaCoreElement;
752 new (): HTMLTaroTextareaCoreElement;
753 };
754 interface HTMLTaroVideoControlElement extends Components.TaroVideoControl, HTMLStencilElement {
755 }
756 var HTMLTaroVideoControlElement: {
757 prototype: HTMLTaroVideoControlElement;
758 new (): HTMLTaroVideoControlElement;
759 };
760 interface HTMLTaroVideoCoreElement extends Components.TaroVideoCore, HTMLStencilElement {
761 }
762 var HTMLTaroVideoCoreElement: {
763 prototype: HTMLTaroVideoCoreElement;
764 new (): HTMLTaroVideoCoreElement;
765 };
766 interface HTMLTaroVideoDanmuElement extends Components.TaroVideoDanmu, HTMLStencilElement {
767 }
768 var HTMLTaroVideoDanmuElement: {
769 prototype: HTMLTaroVideoDanmuElement;
770 new (): HTMLTaroVideoDanmuElement;
771 };
772 interface HTMLTaroViewCoreElement extends Components.TaroViewCore, HTMLStencilElement {
773 }
774 var HTMLTaroViewCoreElement: {
775 prototype: HTMLTaroViewCoreElement;
776 new (): HTMLTaroViewCoreElement;
777 };
778 interface HTMLTaroVoipRoomCoreElement extends Components.TaroVoipRoomCore, HTMLStencilElement {
779 }
780 var HTMLTaroVoipRoomCoreElement: {
781 prototype: HTMLTaroVoipRoomCoreElement;
782 new (): HTMLTaroVoipRoomCoreElement;
783 };
784 interface HTMLTaroWebViewCoreElement extends Components.TaroWebViewCore, HTMLStencilElement {
785 }
786 var HTMLTaroWebViewCoreElement: {
787 prototype: HTMLTaroWebViewCoreElement;
788 new (): HTMLTaroWebViewCoreElement;
789 };
790 interface HTMLElementTagNameMap {
791 "taro-ad-core": HTMLTaroAdCoreElement;
792 "taro-ad-custom-core": HTMLTaroAdCustomCoreElement;
793 "taro-audio-core": HTMLTaroAudioCoreElement;
794 "taro-block-core": HTMLTaroBlockCoreElement;
795 "taro-button-core": HTMLTaroButtonCoreElement;
796 "taro-camera-core": HTMLTaroCameraCoreElement;
797 "taro-canvas-core": HTMLTaroCanvasCoreElement;
798 "taro-checkbox-core": HTMLTaroCheckboxCoreElement;
799 "taro-checkbox-group-core": HTMLTaroCheckboxGroupCoreElement;
800 "taro-cover-image-core": HTMLTaroCoverImageCoreElement;
801 "taro-cover-view-core": HTMLTaroCoverViewCoreElement;
802 "taro-custom-wrapper-core": HTMLTaroCustomWrapperCoreElement;
803 "taro-editor-core": HTMLTaroEditorCoreElement;
804 "taro-form-core": HTMLTaroFormCoreElement;
805 "taro-functional-page-navigator-core": HTMLTaroFunctionalPageNavigatorCoreElement;
806 "taro-icon-core": HTMLTaroIconCoreElement;
807 "taro-image-core": HTMLTaroImageCoreElement;
808 "taro-input-core": HTMLTaroInputCoreElement;
809 "taro-keyboard-accessory-core": HTMLTaroKeyboardAccessoryCoreElement;
810 "taro-label-core": HTMLTaroLabelCoreElement;
811 "taro-live-player-core": HTMLTaroLivePlayerCoreElement;
812 "taro-live-pusher-core": HTMLTaroLivePusherCoreElement;
813 "taro-map-core": HTMLTaroMapCoreElement;
814 "taro-match-media-core": HTMLTaroMatchMediaCoreElement;
815 "taro-movable-area-core": HTMLTaroMovableAreaCoreElement;
816 "taro-movable-view-core": HTMLTaroMovableViewCoreElement;
817 "taro-navigation-bar-core": HTMLTaroNavigationBarCoreElement;
818 "taro-navigator-core": HTMLTaroNavigatorCoreElement;
819 "taro-official-account-core": HTMLTaroOfficialAccountCoreElement;
820 "taro-open-data-core": HTMLTaroOpenDataCoreElement;
821 "taro-page-container-core": HTMLTaroPageContainerCoreElement;
822 "taro-page-meta-core": HTMLTaroPageMetaCoreElement;
823 "taro-picker-core": HTMLTaroPickerCoreElement;
824 "taro-picker-group": HTMLTaroPickerGroupElement;
825 "taro-picker-view-column-core": HTMLTaroPickerViewColumnCoreElement;
826 "taro-picker-view-core": HTMLTaroPickerViewCoreElement;
827 "taro-progress-core": HTMLTaroProgressCoreElement;
828 "taro-pull-to-refresh": HTMLTaroPullToRefreshElement;
829 "taro-radio-core": HTMLTaroRadioCoreElement;
830 "taro-radio-group-core": HTMLTaroRadioGroupCoreElement;
831 "taro-rich-text-core": HTMLTaroRichTextCoreElement;
832 "taro-scroll-view-core": HTMLTaroScrollViewCoreElement;
833 "taro-share-element-core": HTMLTaroShareElementCoreElement;
834 "taro-slider-core": HTMLTaroSliderCoreElement;
835 "taro-slot-core": HTMLTaroSlotCoreElement;
836 "taro-swiper-core": HTMLTaroSwiperCoreElement;
837 "taro-swiper-item-core": HTMLTaroSwiperItemCoreElement;
838 "taro-switch-core": HTMLTaroSwitchCoreElement;
839 "taro-tabbar": HTMLTaroTabbarElement;
840 "taro-text-core": HTMLTaroTextCoreElement;
841 "taro-textarea-core": HTMLTaroTextareaCoreElement;
842 "taro-video-control": HTMLTaroVideoControlElement;
843 "taro-video-core": HTMLTaroVideoCoreElement;
844 "taro-video-danmu": HTMLTaroVideoDanmuElement;
845 "taro-view-core": HTMLTaroViewCoreElement;
846 "taro-voip-room-core": HTMLTaroVoipRoomCoreElement;
847 "taro-web-view-core": HTMLTaroWebViewCoreElement;
848 }
849}
850declare namespace LocalJSX {
851 interface TaroAdCore {
852 }
853 interface TaroAdCustomCore {
854 }
855 interface TaroAudioCore {
856 "autoplay"?: boolean;
857 "controls"?: boolean;
858 "loop"?: boolean;
859 "muted"?: boolean;
860 "nativeProps"?: {};
861 "onEnded"?: (event: CustomEvent<any>) => void;
862 "onError"?: (event: CustomEvent<any>) => void;
863 "onPause"?: (event: CustomEvent<any>) => void;
864 "onPlay"?: (event: CustomEvent<any>) => void;
865 "onTimeupdate"?: (event: CustomEvent<any>) => void;
866 "src"?: string;
867 }
868 interface TaroBlockCore {
869 }
870 interface TaroButtonCore {
871 "disabled"?: boolean;
872 "formType"?: 'submit' | 'reset' | null;
873 "hoverClass"?: string;
874 "hoverStartTime"?: number;
875 "hoverStayTime"?: number;
876 "loading"?: boolean;
877 "onTarobuttonreset"?: (event: CustomEvent<any>) => void;
878 "onTarobuttonsubmit"?: (event: CustomEvent<any>) => void;
879 "plain"?: boolean;
880 "size"?: string;
881 "type"?: string;
882 }
883 interface TaroCameraCore {
884 }
885 interface TaroCanvasCore {
886 "canvasId"?: string;
887 "nativeProps"?: {};
888 "onLongtap"?: (event: CustomEvent<any>) => void;
889 }
890 interface TaroCheckboxCore {
891 "checked"?: boolean;
892 "color"?: string;
893 "disabled"?: boolean;
894 "id"?: string;
895 "name"?: string;
896 "nativeProps"?: {};
897 "onCheckboxchange"?: (event: CustomEvent<any>) => void;
898 "value"?: string;
899 }
900 interface TaroCheckboxGroupCore {
901 "name"?: any;
902 "onChange"?: (event: CustomEvent<any>) => void;
903 }
904 interface TaroCoverImageCore {
905 "nativeProps"?: {};
906 "onError"?: (event: CustomEvent<any>) => void;
907 "onLoad"?: (event: CustomEvent<any>) => void;
908 "src"?: string;
909 }
910 interface TaroCoverViewCore {
911 "animation"?: string;
912 "hoverClass"?: string;
913 "hoverStartTime"?: number;
914 "hoverStayTime"?: number;
915 "onLongpress"?: (event: CustomEvent<any>) => void;
916 }
917 interface TaroCustomWrapperCore {
918 }
919 interface TaroEditorCore {
920 }
921 interface TaroFormCore {
922 "onSubmit"?: (event: CustomEvent<any>) => void;
923 }
924 interface TaroFunctionalPageNavigatorCore {
925 }
926 interface TaroIconCore {
927 "color"?: string;
928 "size"?: string | number;
929 "type"?: Type;
930 }
931 interface TaroImageCore {
932 "lazyLoad"?: boolean;
933 "mode"?: Mode;
934 "nativeProps"?: {};
935 "onError"?: (event: CustomEvent<any>) => void;
936 "onLoad"?: (event: CustomEvent<any>) => void;
937 "src"?: string;
938 }
939 interface TaroInputCore {
940 "autoFocus"?: boolean;
941 "confirmType"?: string;
942 "disabled"?: boolean;
943 "maxlength"?: number;
944 "name"?: string;
945 "nativeProps"?: {};
946 "onBlur"?: (event: CustomEvent<any>) => void;
947 "onChange"?: (event: CustomEvent<any>) => void;
948 "onConfirm"?: (event: CustomEvent<any>) => void;
949 "onFocus"?: (event: CustomEvent<any>) => void;
950 "onInput"?: (event: CustomEvent<any>) => void;
951 "onKeydown"?: (event: CustomEvent<any>) => void;
952 "onPaste"?: (event: CustomEvent<any>) => void;
953 "password"?: boolean;
954 "placeholder"?: string;
955 "type"?: string;
956 "value"?: string;
957 }
958 interface TaroKeyboardAccessoryCore {
959 }
960 interface TaroLabelCore {
961 "for"?: string;
962 }
963 interface TaroLivePlayerCore {
964 }
965 interface TaroLivePusherCore {
966 }
967 interface TaroMapCore {
968 }
969 interface TaroMatchMediaCore {
970 }
971 interface TaroMovableAreaCore {
972 }
973 interface TaroMovableViewCore {
974 }
975 interface TaroNavigationBarCore {
976 }
977 interface TaroNavigatorCore {
978 "delta"?: number;
979 "hoverClass"?: string;
980 "isHover"?: boolean;
981 "onComplete"?: (event: CustomEvent<any>) => void;
982 "onCuccess"?: (event: CustomEvent<any>) => void;
983 "onFail"?: (event: CustomEvent<any>) => void;
984 "openType"?: string;
985 "url"?: string;
986 }
987 interface TaroOfficialAccountCore {
988 }
989 interface TaroOpenDataCore {
990 }
991 interface TaroPageContainerCore {
992 }
993 interface TaroPageMetaCore {
994 }
995 interface TaroPickerCore {
996 "disabled"?: boolean;
997 "end"?: string;
998 "fields"?: Fields;
999 "mode"?: Mode;
1000 "name"?: string;
1001 "onCancel"?: (event: CustomEvent<any>) => void;
1002 "onChange"?: (event: CustomEvent<any>) => void;
1003 "onColumnchange"?: (event: CustomEvent<any>) => void;
1004 "range"?: any[];
1005 "rangeKey"?: string;
1006 "start"?: string;
1007 "value"?: number | number[] | string;
1008 }
1009 interface TaroPickerGroup {
1010 "columnId"?: string;
1011 "height"?: number;
1012 "mode"?: 'time' | 'date';
1013 "onColumnChange"?: (height: number, columnId: string) => void;
1014 "range"?: any[];
1015 "rangeKey"?: string;
1016 "updateDay"?: (value: number, fields: number) => void;
1017 "updateHeight"?: (height: number, columnId: string, needRevise?: boolean) => void;
1018 }
1019 interface TaroPickerViewColumnCore {
1020 "col"?: string;
1021 "initialPosition"?: string;
1022 "onOnselect"?: (event: CustomEvent<any>) => void;
1023 "onOnselectend"?: (event: CustomEvent<any>) => void;
1024 "onOnselectstart"?: (event: CustomEvent<any>) => void;
1025 "paddingVertical"?: number;
1026 }
1027 interface TaroPickerViewCore {
1028 "indicatorClass"?: string;
1029 "indicatorStyle"?: string;
1030 "maskClass"?: string;
1031 "maskStyle"?: string;
1032 "onChange"?: (event: CustomEvent<any>) => void;
1033 "onPickend"?: (event: CustomEvent<any>) => void;
1034 "onPickstart"?: (event: CustomEvent<any>) => void;
1035 "value"?: number[];
1036 }
1037 interface TaroProgressCore {
1038 "active"?: boolean;
1039 "activeColor"?: string;
1040 "backgroundColor"?: string;
1041 "borderRadius"?: number | string;
1042 "fontSize"?: number | string;
1043 "percent"?: number;
1044 "showInfo"?: boolean;
1045 "strokeWidth"?: number | string;
1046 }
1047 interface TaroPullToRefresh {
1048 "damping"?: number;
1049 "distanceToRefresh"?: number;
1050 "indicator"?: { activate: string; deactivate: string; release: string; finish: string; };
1051 "onRefresh"?: (event: CustomEvent<any>) => void;
1052 "prefixCls"?: string;
1053 }
1054 interface TaroRadioCore {
1055 "checked"?: boolean;
1056 "disabled"?: boolean;
1057 "id"?: string;
1058 "name"?: string;
1059 "nativeProps"?: {};
1060 "onRadiochange"?: (event: CustomEvent<any>) => void;
1061 "value"?: string;
1062 }
1063 interface TaroRadioGroupCore {
1064 "name"?: any;
1065 "onChange"?: (event: CustomEvent<any>) => void;
1066 }
1067 interface TaroRichTextCore {
1068 "nodes"?: Nodes;
1069 }
1070 interface TaroScrollViewCore {
1071 "lowerThreshold"?: number | string;
1072 "mpScrollIntoView"?: string;
1073 "mpScrollLeft"?: number | string;
1074 "mpScrollTop"?: number | string;
1075 "onScroll"?: (event: CustomEvent<any>) => void;
1076 "onScrolltolower"?: (event: CustomEvent<any>) => void;
1077 "onScrolltoupper"?: (event: CustomEvent<any>) => void;
1078 "scrollWithAnimation"?: boolean;
1079 "scrollX"?: boolean;
1080 "scrollY"?: boolean;
1081 "upperThreshold"?: number | string;
1082 }
1083 interface TaroShareElementCore {
1084 }
1085 interface TaroSliderCore {
1086 "activeColor"?: string;
1087 "backgroundColor"?: string;
1088 "blockColor"?: string;
1089 "blockSize"?: number;
1090 "disabled"?: boolean;
1091 "max"?: number;
1092 "min"?: number;
1093 "name"?: string;
1094 "onChange"?: (event: CustomEvent<any>) => void;
1095 "onChanging"?: (event: CustomEvent<any>) => void;
1096 "showValue"?: boolean;
1097 "step"?: number;
1098 "value"?: number | null;
1099 }
1100 interface TaroSlotCore {
1101 }
1102 interface TaroSwiperCore {
1103 /**
1104 * 是否自动切换
1105 */
1106 "autoplay"?: boolean;
1107 /**
1108 * 是否采用衔接滑动
1109 */
1110 "circular"?: boolean;
1111 /**
1112 * 当前所在滑块的 index
1113 */
1114 "current"?: number;
1115 /**
1116 * 同时显示的滑块数量
1117 */
1118 "displayMultipleItems"?: number;
1119 /**
1120 * 滑动动画时长
1121 */
1122 "duration"?: number;
1123 /**
1124 * 给 previewImage API 使用,全屏显示 swiper
1125 */
1126 "full"?: boolean;
1127 /**
1128 * 当前选中的指示点颜色
1129 */
1130 "indicatorActiveColor"?: string;
1131 /**
1132 * 指示点颜色
1133 */
1134 "indicatorColor"?: string;
1135 /**
1136 * 是否显示面板指示点
1137 */
1138 "indicatorDots"?: boolean;
1139 /**
1140 * 自动切换时间间隔
1141 */
1142 "interval"?: number;
1143 /**
1144 * 后边距,可用于露出后一项的一小部分,接受 px 值
1145 */
1146 "nextMargin"?: string;
1147 "onAnimationfinish"?: (event: CustomEvent<any>) => void;
1148 "onChange"?: (event: CustomEvent<any>) => void;
1149 /**
1150 * 前边距,可用于露出前一项的一小部分,接受 px 值
1151 */
1152 "previousMargin"?: string;
1153 /**
1154 * 滑动方向是否为纵向
1155 */
1156 "vertical"?: boolean;
1157 }
1158 interface TaroSwiperItemCore {
1159 "itemId"?: string;
1160 }
1161 interface TaroSwitchCore {
1162 "checked"?: boolean;
1163 "color"?: string;
1164 "disabled"?: boolean;
1165 "name"?: string;
1166 "nativeProps"?: {};
1167 "onChange"?: (event: CustomEvent<any>) => void;
1168 "type"?: string;
1169 }
1170 interface TaroTabbar {
1171 "conf"?: Conf;
1172 "onLongpress"?: (event: CustomEvent<any>) => void;
1173 }
1174 interface TaroTextCore {
1175 "selectable"?: boolean;
1176 }
1177 interface TaroTextareaCore {
1178 "autoFocus"?: boolean;
1179 "autoHeight"?: boolean;
1180 "disabled"?: boolean;
1181 "maxlength"?: number;
1182 "name"?: string;
1183 "nativeProps"?: {};
1184 "onBlur"?: (event: CustomEvent<any>) => void;
1185 "onChange"?: (event: CustomEvent<any>) => void;
1186 "onFocus"?: (event: CustomEvent<any>) => void;
1187 "onInput"?: (event: CustomEvent<any>) => void;
1188 "onLinechange"?: (event: CustomEvent<any>) => void;
1189 "placeholder"?: string;
1190 "value"?: string;
1191 }
1192 interface TaroVideoControl {
1193 "controls"?: boolean;
1194 "currentTime"?: number;
1195 "duration"?: number;
1196 "isPlaying"?: boolean;
1197 "pauseFunc"?: () => void;
1198 "playFunc"?: () => void;
1199 "seekFunc"?: (position: number) => void;
1200 "showPlayBtn"?: boolean;
1201 "showProgress"?: boolean;
1202 }
1203 interface TaroVideoCore {
1204 /**
1205 * 是否自动播放
1206 */
1207 "autoplay"?: boolean;
1208 /**
1209 * 是否显示默认播放控件(播放/暂停按钮、播放进度、时间)
1210 */
1211 "controls"?: boolean;
1212 /**
1213 * 是否显示弹幕按钮
1214 */
1215 "danmuBtn"?: boolean;
1216 /**
1217 * 弹幕列表
1218 */
1219 "danmuList"?: [];
1220 /**
1221 * 指定视频时长
1222 */
1223 "duration"?: number;
1224 /**
1225 * 是否展示弹幕
1226 */
1227 "enableDanmu"?: boolean;
1228 /**
1229 * 是否开启播放手势,即双击切换播放/暂停
1230 */
1231 "enablePlayGesture"?: boolean;
1232 /**
1233 * 是否开启控制进度的手势
1234 */
1235 "enableProgressGesture"?: boolean;
1236 /**
1237 * 指定视频初始播放位置
1238 */
1239 "initialTime"?: number;
1240 /**
1241 * 是否循环播放
1242 */
1243 "loop"?: boolean;
1244 /**
1245 * 是否静音播放
1246 */
1247 "muted"?: boolean;
1248 "nativeProps"?: {};
1249 /**
1250 * 当视频大小与 video 容器大小不一致时,视频的表现形式
1251 */
1252 "objectFit"?: 'contain' | 'fill' | 'cover';
1253 "onEnded"?: (event: CustomEvent<any>) => void;
1254 "onError"?: (event: CustomEvent<any>) => void;
1255 "onFullscreenchange"?: (event: CustomEvent<any>) => void;
1256 "onLoadedmetadata"?: (event: CustomEvent<any>) => void;
1257 "onPause"?: (event: CustomEvent<any>) => void;
1258 "onPlay"?: (event: CustomEvent<any>) => void;
1259 "onProgress"?: (event: CustomEvent<any>) => void;
1260 "onTimeupdate"?: (event: CustomEvent<any>) => void;
1261 /**
1262 * 视频封面的图片网络资源地址或云文件ID(2.3.0)。若 controls 属性值为 false 则设置 poster 无效
1263 */
1264 "poster"?: string;
1265 /**
1266 * 是否显示视频中间的播放按钮
1267 */
1268 "showCenterPlayBtn"?: boolean;
1269 /**
1270 * 是否显示全屏按钮
1271 */
1272 "showFullscreenBtn"?: boolean;
1273 /**
1274 * 是否显示静音按钮
1275 */
1276 "showMuteBtn"?: boolean;
1277 /**
1278 * 是否显示视频底部控制栏的播放按钮
1279 */
1280 "showPlayBtn"?: boolean;
1281 /**
1282 * 若不设置,宽度大于 240 时才会显示
1283 */
1284 "showProgress"?: boolean;
1285 /**
1286 * 要播放视频的资源地址
1287 */
1288 "src"?: string;
1289 /**
1290 * 在非全屏模式下,是否开启亮度与音量调节手势
1291 */
1292 "vslideGesture"?: boolean;
1293 /**
1294 * 在全屏模式下,是否开启亮度与音量调节手势
1295 */
1296 "vslideGestureInFullscreen"?: boolean;
1297 }
1298 interface TaroVideoDanmu {
1299 "enable"?: boolean;
1300 }
1301 interface TaroViewCore {
1302 "animation"?: string;
1303 "hoverClass"?: string;
1304 "hoverStartTime"?: number;
1305 "hoverStayTime"?: number;
1306 "onLongpress"?: (event: CustomEvent<any>) => void;
1307 }
1308 interface TaroVoipRoomCore {
1309 }
1310 interface TaroWebViewCore {
1311 "onError"?: (event: CustomEvent<any>) => void;
1312 "onLoad"?: (event: CustomEvent<any>) => void;
1313 "src"?: string;
1314 }
1315 interface IntrinsicElements {
1316 "taro-ad-core": TaroAdCore;
1317 "taro-ad-custom-core": TaroAdCustomCore;
1318 "taro-audio-core": TaroAudioCore;
1319 "taro-block-core": TaroBlockCore;
1320 "taro-button-core": TaroButtonCore;
1321 "taro-camera-core": TaroCameraCore;
1322 "taro-canvas-core": TaroCanvasCore;
1323 "taro-checkbox-core": TaroCheckboxCore;
1324 "taro-checkbox-group-core": TaroCheckboxGroupCore;
1325 "taro-cover-image-core": TaroCoverImageCore;
1326 "taro-cover-view-core": TaroCoverViewCore;
1327 "taro-custom-wrapper-core": TaroCustomWrapperCore;
1328 "taro-editor-core": TaroEditorCore;
1329 "taro-form-core": TaroFormCore;
1330 "taro-functional-page-navigator-core": TaroFunctionalPageNavigatorCore;
1331 "taro-icon-core": TaroIconCore;
1332 "taro-image-core": TaroImageCore;
1333 "taro-input-core": TaroInputCore;
1334 "taro-keyboard-accessory-core": TaroKeyboardAccessoryCore;
1335 "taro-label-core": TaroLabelCore;
1336 "taro-live-player-core": TaroLivePlayerCore;
1337 "taro-live-pusher-core": TaroLivePusherCore;
1338 "taro-map-core": TaroMapCore;
1339 "taro-match-media-core": TaroMatchMediaCore;
1340 "taro-movable-area-core": TaroMovableAreaCore;
1341 "taro-movable-view-core": TaroMovableViewCore;
1342 "taro-navigation-bar-core": TaroNavigationBarCore;
1343 "taro-navigator-core": TaroNavigatorCore;
1344 "taro-official-account-core": TaroOfficialAccountCore;
1345 "taro-open-data-core": TaroOpenDataCore;
1346 "taro-page-container-core": TaroPageContainerCore;
1347 "taro-page-meta-core": TaroPageMetaCore;
1348 "taro-picker-core": TaroPickerCore;
1349 "taro-picker-group": TaroPickerGroup;
1350 "taro-picker-view-column-core": TaroPickerViewColumnCore;
1351 "taro-picker-view-core": TaroPickerViewCore;
1352 "taro-progress-core": TaroProgressCore;
1353 "taro-pull-to-refresh": TaroPullToRefresh;
1354 "taro-radio-core": TaroRadioCore;
1355 "taro-radio-group-core": TaroRadioGroupCore;
1356 "taro-rich-text-core": TaroRichTextCore;
1357 "taro-scroll-view-core": TaroScrollViewCore;
1358 "taro-share-element-core": TaroShareElementCore;
1359 "taro-slider-core": TaroSliderCore;
1360 "taro-slot-core": TaroSlotCore;
1361 "taro-swiper-core": TaroSwiperCore;
1362 "taro-swiper-item-core": TaroSwiperItemCore;
1363 "taro-switch-core": TaroSwitchCore;
1364 "taro-tabbar": TaroTabbar;
1365 "taro-text-core": TaroTextCore;
1366 "taro-textarea-core": TaroTextareaCore;
1367 "taro-video-control": TaroVideoControl;
1368 "taro-video-core": TaroVideoCore;
1369 "taro-video-danmu": TaroVideoDanmu;
1370 "taro-view-core": TaroViewCore;
1371 "taro-voip-room-core": TaroVoipRoomCore;
1372 "taro-web-view-core": TaroWebViewCore;
1373 }
1374}
1375export { LocalJSX as JSX };
1376declare module "@stencil/core" {
1377 export namespace JSX {
1378 interface IntrinsicElements {
1379 "taro-ad-core": LocalJSX.TaroAdCore & JSXBase.HTMLAttributes<HTMLTaroAdCoreElement>;
1380 "taro-ad-custom-core": LocalJSX.TaroAdCustomCore & JSXBase.HTMLAttributes<HTMLTaroAdCustomCoreElement>;
1381 "taro-audio-core": LocalJSX.TaroAudioCore & JSXBase.HTMLAttributes<HTMLTaroAudioCoreElement>;
1382 "taro-block-core": LocalJSX.TaroBlockCore & JSXBase.HTMLAttributes<HTMLTaroBlockCoreElement>;
1383 "taro-button-core": LocalJSX.TaroButtonCore & JSXBase.HTMLAttributes<HTMLTaroButtonCoreElement>;
1384 "taro-camera-core": LocalJSX.TaroCameraCore & JSXBase.HTMLAttributes<HTMLTaroCameraCoreElement>;
1385 "taro-canvas-core": LocalJSX.TaroCanvasCore & JSXBase.HTMLAttributes<HTMLTaroCanvasCoreElement>;
1386 "taro-checkbox-core": LocalJSX.TaroCheckboxCore & JSXBase.HTMLAttributes<HTMLTaroCheckboxCoreElement>;
1387 "taro-checkbox-group-core": LocalJSX.TaroCheckboxGroupCore & JSXBase.HTMLAttributes<HTMLTaroCheckboxGroupCoreElement>;
1388 "taro-cover-image-core": LocalJSX.TaroCoverImageCore & JSXBase.HTMLAttributes<HTMLTaroCoverImageCoreElement>;
1389 "taro-cover-view-core": LocalJSX.TaroCoverViewCore & JSXBase.HTMLAttributes<HTMLTaroCoverViewCoreElement>;
1390 "taro-custom-wrapper-core": LocalJSX.TaroCustomWrapperCore & JSXBase.HTMLAttributes<HTMLTaroCustomWrapperCoreElement>;
1391 "taro-editor-core": LocalJSX.TaroEditorCore & JSXBase.HTMLAttributes<HTMLTaroEditorCoreElement>;
1392 "taro-form-core": LocalJSX.TaroFormCore & JSXBase.HTMLAttributes<HTMLTaroFormCoreElement>;
1393 "taro-functional-page-navigator-core": LocalJSX.TaroFunctionalPageNavigatorCore & JSXBase.HTMLAttributes<HTMLTaroFunctionalPageNavigatorCoreElement>;
1394 "taro-icon-core": LocalJSX.TaroIconCore & JSXBase.HTMLAttributes<HTMLTaroIconCoreElement>;
1395 "taro-image-core": LocalJSX.TaroImageCore & JSXBase.HTMLAttributes<HTMLTaroImageCoreElement>;
1396 "taro-input-core": LocalJSX.TaroInputCore & JSXBase.HTMLAttributes<HTMLTaroInputCoreElement>;
1397 "taro-keyboard-accessory-core": LocalJSX.TaroKeyboardAccessoryCore & JSXBase.HTMLAttributes<HTMLTaroKeyboardAccessoryCoreElement>;
1398 "taro-label-core": LocalJSX.TaroLabelCore & JSXBase.HTMLAttributes<HTMLTaroLabelCoreElement>;
1399 "taro-live-player-core": LocalJSX.TaroLivePlayerCore & JSXBase.HTMLAttributes<HTMLTaroLivePlayerCoreElement>;
1400 "taro-live-pusher-core": LocalJSX.TaroLivePusherCore & JSXBase.HTMLAttributes<HTMLTaroLivePusherCoreElement>;
1401 "taro-map-core": LocalJSX.TaroMapCore & JSXBase.HTMLAttributes<HTMLTaroMapCoreElement>;
1402 "taro-match-media-core": LocalJSX.TaroMatchMediaCore & JSXBase.HTMLAttributes<HTMLTaroMatchMediaCoreElement>;
1403 "taro-movable-area-core": LocalJSX.TaroMovableAreaCore & JSXBase.HTMLAttributes<HTMLTaroMovableAreaCoreElement>;
1404 "taro-movable-view-core": LocalJSX.TaroMovableViewCore & JSXBase.HTMLAttributes<HTMLTaroMovableViewCoreElement>;
1405 "taro-navigation-bar-core": LocalJSX.TaroNavigationBarCore & JSXBase.HTMLAttributes<HTMLTaroNavigationBarCoreElement>;
1406 "taro-navigator-core": LocalJSX.TaroNavigatorCore & JSXBase.HTMLAttributes<HTMLTaroNavigatorCoreElement>;
1407 "taro-official-account-core": LocalJSX.TaroOfficialAccountCore & JSXBase.HTMLAttributes<HTMLTaroOfficialAccountCoreElement>;
1408 "taro-open-data-core": LocalJSX.TaroOpenDataCore & JSXBase.HTMLAttributes<HTMLTaroOpenDataCoreElement>;
1409 "taro-page-container-core": LocalJSX.TaroPageContainerCore & JSXBase.HTMLAttributes<HTMLTaroPageContainerCoreElement>;
1410 "taro-page-meta-core": LocalJSX.TaroPageMetaCore & JSXBase.HTMLAttributes<HTMLTaroPageMetaCoreElement>;
1411 "taro-picker-core": LocalJSX.TaroPickerCore & JSXBase.HTMLAttributes<HTMLTaroPickerCoreElement>;
1412 "taro-picker-group": LocalJSX.TaroPickerGroup & JSXBase.HTMLAttributes<HTMLTaroPickerGroupElement>;
1413 "taro-picker-view-column-core": LocalJSX.TaroPickerViewColumnCore & JSXBase.HTMLAttributes<HTMLTaroPickerViewColumnCoreElement>;
1414 "taro-picker-view-core": LocalJSX.TaroPickerViewCore & JSXBase.HTMLAttributes<HTMLTaroPickerViewCoreElement>;
1415 "taro-progress-core": LocalJSX.TaroProgressCore & JSXBase.HTMLAttributes<HTMLTaroProgressCoreElement>;
1416 "taro-pull-to-refresh": LocalJSX.TaroPullToRefresh & JSXBase.HTMLAttributes<HTMLTaroPullToRefreshElement>;
1417 "taro-radio-core": LocalJSX.TaroRadioCore & JSXBase.HTMLAttributes<HTMLTaroRadioCoreElement>;
1418 "taro-radio-group-core": LocalJSX.TaroRadioGroupCore & JSXBase.HTMLAttributes<HTMLTaroRadioGroupCoreElement>;
1419 "taro-rich-text-core": LocalJSX.TaroRichTextCore & JSXBase.HTMLAttributes<HTMLTaroRichTextCoreElement>;
1420 "taro-scroll-view-core": LocalJSX.TaroScrollViewCore & JSXBase.HTMLAttributes<HTMLTaroScrollViewCoreElement>;
1421 "taro-share-element-core": LocalJSX.TaroShareElementCore & JSXBase.HTMLAttributes<HTMLTaroShareElementCoreElement>;
1422 "taro-slider-core": LocalJSX.TaroSliderCore & JSXBase.HTMLAttributes<HTMLTaroSliderCoreElement>;
1423 "taro-slot-core": LocalJSX.TaroSlotCore & JSXBase.HTMLAttributes<HTMLTaroSlotCoreElement>;
1424 "taro-swiper-core": LocalJSX.TaroSwiperCore & JSXBase.HTMLAttributes<HTMLTaroSwiperCoreElement>;
1425 "taro-swiper-item-core": LocalJSX.TaroSwiperItemCore & JSXBase.HTMLAttributes<HTMLTaroSwiperItemCoreElement>;
1426 "taro-switch-core": LocalJSX.TaroSwitchCore & JSXBase.HTMLAttributes<HTMLTaroSwitchCoreElement>;
1427 "taro-tabbar": LocalJSX.TaroTabbar & JSXBase.HTMLAttributes<HTMLTaroTabbarElement>;
1428 "taro-text-core": LocalJSX.TaroTextCore & JSXBase.HTMLAttributes<HTMLTaroTextCoreElement>;
1429 "taro-textarea-core": LocalJSX.TaroTextareaCore & JSXBase.HTMLAttributes<HTMLTaroTextareaCoreElement>;
1430 "taro-video-control": LocalJSX.TaroVideoControl & JSXBase.HTMLAttributes<HTMLTaroVideoControlElement>;
1431 "taro-video-core": LocalJSX.TaroVideoCore & JSXBase.HTMLAttributes<HTMLTaroVideoCoreElement>;
1432 "taro-video-danmu": LocalJSX.TaroVideoDanmu & JSXBase.HTMLAttributes<HTMLTaroVideoDanmuElement>;
1433 "taro-view-core": LocalJSX.TaroViewCore & JSXBase.HTMLAttributes<HTMLTaroViewCoreElement>;
1434 "taro-voip-room-core": LocalJSX.TaroVoipRoomCore & JSXBase.HTMLAttributes<HTMLTaroVoipRoomCoreElement>;
1435 "taro-web-view-core": LocalJSX.TaroWebViewCore & JSXBase.HTMLAttributes<HTMLTaroWebViewCoreElement>;
1436 }
1437 }
1438}