wevu 1.0.3 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,586 @@
1
+ import { GlobalComponents } from "wevu";
2
+
3
+ //#region src/weappIntrinsicElements/base.d.ts
4
+ type WeappIntrinsicEventHandler<TReturn = void> = (...args: unknown[]) => TReturn;
5
+ type WeappClassValue = string | Record<string, unknown> | WeappClassValue[] | null | undefined | false;
6
+ type WeappStyleValue = false | null | undefined | string | WeappCSSProperties | WeappStyleValue[];
7
+ type WeappDatasetValue = unknown;
8
+ interface WeappCSSProperties {
9
+ [key: string]: string | number | undefined;
10
+ [v: `--${string}`]: string | number | undefined;
11
+ }
12
+ type WeappDatasetAttributes = { [key in `data-${string}`]?: WeappDatasetValue };
13
+ type WeappIntrinsicElementBaseAttributes = {
14
+ id?: string;
15
+ class?: WeappClassValue;
16
+ style?: WeappStyleValue;
17
+ hidden?: boolean;
18
+ } & WeappDatasetAttributes & Record<string, unknown>;
19
+ //#endregion
20
+ //#region src/weappIntrinsicElements/intrinsic-elements-01.d.ts
21
+ interface WeappIntrinsicElementsGroup01 {
22
+ ad: WeappIntrinsicElementBaseAttributes & {
23
+ binderror?: WeappIntrinsicEventHandler<unknown>;
24
+ bindload?: WeappIntrinsicEventHandler<unknown>;
25
+ 'unit-id'?: string;
26
+ };
27
+ 'ad-custom': WeappIntrinsicElementBaseAttributes & {
28
+ 'ad-intervals'?: number;
29
+ binderror?: WeappIntrinsicEventHandler;
30
+ bindload?: WeappIntrinsicEventHandler;
31
+ 'unit-id'?: string;
32
+ };
33
+ audio: WeappIntrinsicElementBaseAttributes & {
34
+ author?: string;
35
+ bindended?: WeappIntrinsicEventHandler<unknown>;
36
+ binderror?: WeappIntrinsicEventHandler<unknown>;
37
+ bindpause?: WeappIntrinsicEventHandler<unknown>;
38
+ bindplay?: WeappIntrinsicEventHandler<unknown>;
39
+ bindtimeupdate?: WeappIntrinsicEventHandler<unknown>;
40
+ controls?: boolean;
41
+ id?: string;
42
+ loop?: boolean;
43
+ name?: string;
44
+ poster?: string;
45
+ src?: string;
46
+ };
47
+ block: WeappIntrinsicElementBaseAttributes;
48
+ button: WeappIntrinsicElementBaseAttributes & {
49
+ 'app-parameter'?: string;
50
+ bindcontact?: WeappIntrinsicEventHandler<unknown>;
51
+ binderror?: WeappIntrinsicEventHandler<unknown>;
52
+ bindgetphonenumber?: WeappIntrinsicEventHandler<unknown>;
53
+ bindgetuserinfo?: WeappIntrinsicEventHandler<unknown>;
54
+ bindopensetting?: WeappIntrinsicEventHandler<unknown>;
55
+ disabled?: boolean;
56
+ 'form-type'?: 'submit' | 'reset';
57
+ 'hover-class'?: string;
58
+ 'hover-start-time'?: number;
59
+ 'hover-stay-time'?: number;
60
+ 'hover-stop-propagation'?: boolean;
61
+ lang?: string;
62
+ loading?: boolean;
63
+ 'open-type'?: 'contact' | 'share' | 'getUserInfo' | 'getPhoneNumber' | 'launchApp' | 'openSetting' | 'feedback';
64
+ plain?: boolean;
65
+ 'send-message-img'?: string;
66
+ 'send-message-path'?: string;
67
+ 'send-message-title'?: string;
68
+ 'session-from'?: string;
69
+ 'show-message-card'?: boolean;
70
+ size?: 'default' | 'mini';
71
+ type?: 'primary' | 'default' | 'warn';
72
+ };
73
+ camera: WeappIntrinsicElementBaseAttributes & {
74
+ binderror?: WeappIntrinsicEventHandler<unknown>;
75
+ bindscancode?: WeappIntrinsicEventHandler<unknown>;
76
+ bindstop?: WeappIntrinsicEventHandler<unknown>;
77
+ 'device-position'?: string;
78
+ flash?: string;
79
+ mode?: string;
80
+ };
81
+ canvas: WeappIntrinsicElementBaseAttributes & {
82
+ binderror?: WeappIntrinsicEventHandler<unknown>;
83
+ bindlongtap?: WeappIntrinsicEventHandler<unknown>;
84
+ bindtouchcancel?: WeappIntrinsicEventHandler<unknown>;
85
+ bindtouchend?: WeappIntrinsicEventHandler<unknown>;
86
+ bindtouchmove?: WeappIntrinsicEventHandler<unknown>;
87
+ bindtouchstart?: WeappIntrinsicEventHandler<unknown>;
88
+ 'canvas-id'?: string;
89
+ 'disable-scroll'?: boolean;
90
+ };
91
+ checkbox: WeappIntrinsicElementBaseAttributes & {
92
+ checked?: boolean;
93
+ color?: string;
94
+ disabled?: boolean;
95
+ value?: string;
96
+ };
97
+ 'checkbox-group': WeappIntrinsicElementBaseAttributes & {
98
+ bindchange?: WeappIntrinsicEventHandler<unknown>;
99
+ };
100
+ 'cover-image': WeappIntrinsicElementBaseAttributes & {
101
+ binderror?: WeappIntrinsicEventHandler<unknown>;
102
+ bindload?: WeappIntrinsicEventHandler<unknown>;
103
+ src?: string;
104
+ };
105
+ 'cover-view': WeappIntrinsicElementBaseAttributes & {
106
+ 'scroll-top'?: number;
107
+ };
108
+ editor: WeappIntrinsicElementBaseAttributes & {
109
+ bindblur?: WeappIntrinsicEventHandler;
110
+ bindfocus?: WeappIntrinsicEventHandler;
111
+ bindinput?: WeappIntrinsicEventHandler;
112
+ bindready?: WeappIntrinsicEventHandler;
113
+ bindstatuschange?: WeappIntrinsicEventHandler;
114
+ placeholder?: string;
115
+ 'read-only'?: boolean;
116
+ 'show-img-resize'?: boolean;
117
+ 'show-img-size'?: boolean;
118
+ 'show-img-toolbar'?: boolean;
119
+ };
120
+ form: WeappIntrinsicElementBaseAttributes & {
121
+ bindreset?: WeappIntrinsicEventHandler<unknown>;
122
+ bindsubmit?: WeappIntrinsicEventHandler<unknown>;
123
+ 'report-submit'?: boolean;
124
+ };
125
+ 'functional-page-navigator': WeappIntrinsicElementBaseAttributes & {
126
+ args?: Record<string, unknown>;
127
+ bindfail?: WeappIntrinsicEventHandler<unknown>;
128
+ bindsuccess?: WeappIntrinsicEventHandler<unknown>;
129
+ name?: string;
130
+ version?: string;
131
+ };
132
+ icon: WeappIntrinsicElementBaseAttributes & {
133
+ color?: string;
134
+ size?: number;
135
+ type?: string;
136
+ };
137
+ image: WeappIntrinsicElementBaseAttributes & {
138
+ binderror?: WeappIntrinsicEventHandler<unknown>;
139
+ bindload?: WeappIntrinsicEventHandler<unknown>;
140
+ 'lazy-load'?: boolean;
141
+ mode?: 'scaleToFill' | 'aspectFit' | 'aspectFill' | 'widthFix' | 'heightFix' | 'top' | 'bottom' | 'center' | 'left' | 'right' | 'top left' | 'top right' | 'bottom left' | 'bottom right';
142
+ src?: string;
143
+ };
144
+ import: WeappIntrinsicElementBaseAttributes & {
145
+ src?: string;
146
+ };
147
+ include: WeappIntrinsicElementBaseAttributes & {
148
+ src?: string;
149
+ };
150
+ input: WeappIntrinsicElementBaseAttributes & {
151
+ 'adjust-position'?: boolean;
152
+ 'always-embed'?: boolean;
153
+ 'auto-focus'?: boolean;
154
+ bindblur?: WeappIntrinsicEventHandler<unknown>;
155
+ bindconfirm?: WeappIntrinsicEventHandler<unknown>;
156
+ bindfocus?: WeappIntrinsicEventHandler<unknown>;
157
+ bindinput?: WeappIntrinsicEventHandler<unknown>;
158
+ bindkeyboardheightchange?: WeappIntrinsicEventHandler<unknown>;
159
+ 'confirm-hold'?: boolean;
160
+ 'confirm-type'?: 'send' | 'search' | 'next' | 'go' | 'done';
161
+ cursor?: number;
162
+ 'cursor-spacing'?: number;
163
+ disabled?: boolean;
164
+ focus?: boolean;
165
+ 'hold-keyboard'?: boolean;
166
+ maxlength?: number;
167
+ password?: boolean;
168
+ placeholder?: string;
169
+ 'placeholder-class'?: string;
170
+ 'placeholder-style'?: string;
171
+ 'safe-password-cert-path'?: string;
172
+ 'safe-password-custom-hash'?: string;
173
+ 'safe-password-length'?: number;
174
+ 'safe-password-nonce'?: string;
175
+ 'safe-password-salt'?: string;
176
+ 'safe-password-time-stamp'?: number;
177
+ 'selection-end'?: number;
178
+ 'selection-start'?: number;
179
+ type?: 'text' | 'number' | 'idcard' | 'digit';
180
+ value?: string;
181
+ };
182
+ 'keyboard-accessory': WeappIntrinsicElementBaseAttributes;
183
+ label: WeappIntrinsicElementBaseAttributes & {
184
+ for?: string;
185
+ };
186
+ 'live-player': WeappIntrinsicElementBaseAttributes & {
187
+ autoplay?: boolean;
188
+ 'background-mute'?: boolean;
189
+ bindfullscreenchange?: WeappIntrinsicEventHandler<unknown>;
190
+ bindnetstatus?: WeappIntrinsicEventHandler<unknown>;
191
+ bindstatechange?: WeappIntrinsicEventHandler<unknown>;
192
+ 'max-cache'?: number;
193
+ 'min-cache'?: number;
194
+ mode?: string;
195
+ muted?: boolean;
196
+ 'object-fit'?: string;
197
+ orientation?: string;
198
+ src?: string;
199
+ };
200
+ 'live-pusher': WeappIntrinsicElementBaseAttributes & {
201
+ aspect?: string;
202
+ 'auto-focus'?: boolean;
203
+ autopush?: boolean;
204
+ 'background-mute'?: boolean;
205
+ beauty?: number;
206
+ binderror?: WeappIntrinsicEventHandler<unknown>;
207
+ bindnetstatus?: WeappIntrinsicEventHandler<unknown>;
208
+ bindstatechange?: WeappIntrinsicEventHandler<unknown>;
209
+ 'device-position'?: string;
210
+ 'enable-camera'?: boolean;
211
+ 'max-bitrate'?: number;
212
+ 'min-bitrate'?: number;
213
+ mode?: string;
214
+ muted?: boolean;
215
+ orientation?: string;
216
+ url?: string;
217
+ 'waiting-image'?: string;
218
+ 'waiting-image-hash'?: string;
219
+ whiteness?: number;
220
+ zoom?: boolean;
221
+ };
222
+ map: WeappIntrinsicElementBaseAttributes & {
223
+ bindcallouttap?: WeappIntrinsicEventHandler<unknown>;
224
+ bindcontroltap?: WeappIntrinsicEventHandler<unknown>;
225
+ bindmarkertap?: WeappIntrinsicEventHandler<unknown>;
226
+ bindpoitap?: WeappIntrinsicEventHandler<unknown>;
227
+ bindregionchange?: WeappIntrinsicEventHandler<unknown>;
228
+ bindtap?: WeappIntrinsicEventHandler<unknown>;
229
+ bindupdated?: WeappIntrinsicEventHandler<unknown>;
230
+ circles?: Record<string, unknown>;
231
+ controls?: Record<string, unknown>;
232
+ covers?: unknown[];
233
+ 'enable-3D'?: boolean;
234
+ 'enable-overlooking'?: boolean;
235
+ 'enable-rotate'?: boolean;
236
+ 'enable-scroll'?: boolean;
237
+ 'enable-zoom'?: boolean;
238
+ 'include-points'?: unknown[];
239
+ latitude?: number;
240
+ longitude?: number;
241
+ markers?: Record<string, unknown>;
242
+ polygons?: Record<string, unknown>;
243
+ polyline?: Record<string, unknown>;
244
+ scale?: number;
245
+ 'show-compass'?: boolean;
246
+ 'show-location'?: boolean;
247
+ subkey?: string;
248
+ };
249
+ 'match-media': WeappIntrinsicElementBaseAttributes & {
250
+ height?: number;
251
+ 'max-height'?: number;
252
+ 'max-width'?: number;
253
+ 'min-height'?: number;
254
+ 'min-width'?: number;
255
+ orientation?: string;
256
+ width?: number;
257
+ };
258
+ 'movable-area': WeappIntrinsicElementBaseAttributes & {
259
+ 'scale-area'?: boolean;
260
+ };
261
+ 'movable-view': WeappIntrinsicElementBaseAttributes & {
262
+ animation?: boolean;
263
+ bindchange?: WeappIntrinsicEventHandler<unknown>;
264
+ bindscale?: WeappIntrinsicEventHandler<unknown>;
265
+ damping?: number;
266
+ direction?: string;
267
+ disabled?: boolean;
268
+ friction?: number;
269
+ htouchmove?: WeappIntrinsicEventHandler<unknown>;
270
+ inertia?: boolean;
271
+ 'out-of-bounds'?: boolean;
272
+ scale?: boolean;
273
+ 'scale-max'?: number;
274
+ 'scale-min'?: number;
275
+ 'scale-value'?: number;
276
+ vtouchmove?: WeappIntrinsicEventHandler<unknown>;
277
+ x?: number | string;
278
+ y?: number | string;
279
+ };
280
+ 'navigation-bar': WeappIntrinsicElementBaseAttributes & {
281
+ 'background-color'?: string;
282
+ 'color-animation-duration'?: number;
283
+ 'color-animation-timing-func'?: 'linear' | 'easeIn' | 'easeOut' | 'easeInOut';
284
+ 'front-color'?: '#ffffff';
285
+ loading?: boolean;
286
+ title?: string;
287
+ };
288
+ navigator: WeappIntrinsicElementBaseAttributes & {
289
+ 'app-id'?: string;
290
+ bindcomplete?: string;
291
+ bindfail?: string;
292
+ bindsuccess?: string;
293
+ delta?: number;
294
+ 'extra-data'?: Record<string, unknown>;
295
+ 'hover-class'?: string;
296
+ 'hover-start-time'?: number;
297
+ 'hover-stay-time'?: number;
298
+ 'hover-stop-propagation'?: boolean;
299
+ 'open-type'?: 'navigate' | 'redirect' | 'switchTab' | 'reLaunch' | 'navigateBack' | 'exit';
300
+ path?: string;
301
+ 'short-link'?: string;
302
+ target?: string;
303
+ url?: string;
304
+ version?: string;
305
+ };
306
+ 'official-account': WeappIntrinsicElementBaseAttributes;
307
+ }
308
+ //#endregion
309
+ //#region src/weappIntrinsicElements/intrinsic-elements-02.d.ts
310
+ interface WeappIntrinsicElementsGroup02 {
311
+ 'open-data': WeappIntrinsicElementBaseAttributes & {
312
+ lang?: string;
313
+ 'open-gid'?: string;
314
+ type?: 'groupName' | 'userNickName' | 'userAvatarUrl' | 'userGender' | 'userCity' | 'userProvince' | 'userCountry' | 'userLanguage';
315
+ };
316
+ 'page-container': WeappIntrinsicElementBaseAttributes & {
317
+ 'bind:afterenter'?: WeappIntrinsicEventHandler;
318
+ 'bind:afterleave'?: WeappIntrinsicEventHandler;
319
+ 'bind:beforeenter'?: WeappIntrinsicEventHandler;
320
+ 'bind:beforeleave'?: WeappIntrinsicEventHandler;
321
+ 'bind:clickoverlay'?: WeappIntrinsicEventHandler;
322
+ 'bind:enter'?: WeappIntrinsicEventHandler;
323
+ 'bind:leave'?: WeappIntrinsicEventHandler;
324
+ 'close-on-slideDown'?: boolean;
325
+ 'custom-style'?: string;
326
+ duration?: number;
327
+ overlay?: boolean;
328
+ 'overlay-style'?: string;
329
+ position?: 'top' | 'bottom' | 'right' | 'center';
330
+ round?: boolean;
331
+ show?: boolean;
332
+ 'z-index'?: number;
333
+ };
334
+ 'page-meta': WeappIntrinsicElementBaseAttributes & {
335
+ 'background-color'?: string;
336
+ 'background-color-bottom'?: string;
337
+ 'background-color-top'?: string;
338
+ 'background-text-style'?: 'dark' | 'light';
339
+ bindresize?: WeappIntrinsicEventHandler;
340
+ bindscroll?: WeappIntrinsicEventHandler;
341
+ bindscrolldone?: WeappIntrinsicEventHandler;
342
+ 'page-font-size'?: string;
343
+ 'page-orientation'?: 'auto' | 'portrait' | 'landscape';
344
+ 'page-style'?: string;
345
+ 'root-background-color'?: string;
346
+ 'root-font-size'?: string;
347
+ 'scroll-duration'?: number;
348
+ 'scroll-top'?: string;
349
+ };
350
+ picker: WeappIntrinsicElementBaseAttributes & {
351
+ mode?: string;
352
+ };
353
+ 'picker-view': WeappIntrinsicElementBaseAttributes & {
354
+ bindchange?: WeappIntrinsicEventHandler<unknown>;
355
+ 'indicator-class'?: string;
356
+ 'indicator-style'?: string;
357
+ 'mask-class'?: string;
358
+ 'mask-style'?: string;
359
+ value?: number[];
360
+ };
361
+ 'picker-view-column': WeappIntrinsicElementBaseAttributes;
362
+ progress: WeappIntrinsicElementBaseAttributes & {
363
+ active?: boolean;
364
+ 'active-color'?: string;
365
+ 'active-mode'?: string;
366
+ 'background-color'?: string;
367
+ color?: string;
368
+ percent?: number;
369
+ 'show-info'?: boolean;
370
+ 'stroke-width'?: number;
371
+ };
372
+ radio: WeappIntrinsicElementBaseAttributes & {
373
+ checked?: boolean;
374
+ color?: string;
375
+ disabled?: boolean;
376
+ value?: string;
377
+ };
378
+ 'radio-group': WeappIntrinsicElementBaseAttributes & {
379
+ bindchange?: WeappIntrinsicEventHandler<unknown>;
380
+ };
381
+ 'rich-text': WeappIntrinsicElementBaseAttributes & {
382
+ nodes?: unknown[] | string;
383
+ };
384
+ 'scroll-view': WeappIntrinsicElementBaseAttributes & {
385
+ bindscroll?: WeappIntrinsicEventHandler<unknown>;
386
+ bindscrolltolower?: WeappIntrinsicEventHandler<unknown>;
387
+ bindscrolltoupper?: WeappIntrinsicEventHandler<unknown>;
388
+ 'enable-back-to-top'?: boolean;
389
+ 'lower-threshold'?: number;
390
+ 'scroll-into-view'?: string;
391
+ 'scroll-left'?: number;
392
+ 'scroll-top'?: number;
393
+ 'scroll-with-animation'?: boolean;
394
+ 'scroll-x'?: boolean;
395
+ 'scroll-y'?: boolean;
396
+ 'upper-threshold'?: number;
397
+ };
398
+ 'share-element': WeappIntrinsicElementBaseAttributes & {
399
+ duration?: number;
400
+ 'easing-function'?: string;
401
+ key?: string;
402
+ transform?: boolean;
403
+ };
404
+ slider: WeappIntrinsicElementBaseAttributes & {
405
+ 'active-color'?: string;
406
+ 'background-color'?: string;
407
+ bindchange?: WeappIntrinsicEventHandler<unknown>;
408
+ bindchanging?: WeappIntrinsicEventHandler<unknown>;
409
+ 'block-color'?: string;
410
+ 'block-size'?: number;
411
+ color?: string;
412
+ disabled?: boolean;
413
+ max?: number;
414
+ min?: number;
415
+ 'selected-color'?: string;
416
+ 'show-value'?: boolean;
417
+ step?: number;
418
+ value?: number;
419
+ };
420
+ slot: WeappIntrinsicElementBaseAttributes & {
421
+ name?: string;
422
+ };
423
+ swiper: WeappIntrinsicElementBaseAttributes & {
424
+ autoplay?: boolean;
425
+ bindanimationfinish?: WeappIntrinsicEventHandler<unknown>;
426
+ bindchange?: WeappIntrinsicEventHandler<unknown>;
427
+ circular?: boolean;
428
+ current?: number;
429
+ 'current-item-id'?: string;
430
+ 'display-multiple-items'?: number;
431
+ duration?: number;
432
+ 'indicator-active-color'?: string;
433
+ 'indicator-color'?: string;
434
+ 'indicator-dots'?: boolean;
435
+ interval?: number;
436
+ 'next-margin'?: string;
437
+ 'previous-margin'?: string;
438
+ 'skip-hidden-item-layout'?: boolean;
439
+ vertical?: boolean;
440
+ };
441
+ 'swiper-item': WeappIntrinsicElementBaseAttributes & {
442
+ 'item-id'?: string;
443
+ };
444
+ switch: WeappIntrinsicElementBaseAttributes & {
445
+ bindchange?: WeappIntrinsicEventHandler<unknown>;
446
+ checked?: boolean;
447
+ color?: string;
448
+ disabled?: boolean;
449
+ type?: string;
450
+ };
451
+ template: WeappIntrinsicElementBaseAttributes & {
452
+ data?: unknown;
453
+ is?: string;
454
+ name?: string;
455
+ };
456
+ text: WeappIntrinsicElementBaseAttributes & {
457
+ decode?: boolean;
458
+ selectable?: boolean;
459
+ space?: 'ensp' | 'emsp' | 'nbsp';
460
+ };
461
+ textarea: WeappIntrinsicElementBaseAttributes & {
462
+ 'adjust-position'?: boolean;
463
+ 'auto-focus'?: boolean;
464
+ 'auto-height'?: boolean;
465
+ bindblur?: WeappIntrinsicEventHandler<unknown>;
466
+ bindconfirm?: WeappIntrinsicEventHandler<unknown>;
467
+ bindfocus?: WeappIntrinsicEventHandler<unknown>;
468
+ bindinput?: WeappIntrinsicEventHandler<unknown>;
469
+ bindkeyboardheightchange?: WeappIntrinsicEventHandler<unknown>;
470
+ bindlinechange?: WeappIntrinsicEventHandler<unknown>;
471
+ 'confirm-hold'?: boolean;
472
+ 'confirm-type'?: string;
473
+ cursor?: number;
474
+ 'cursor-spacing'?: number;
475
+ 'disable-default-padding'?: boolean;
476
+ disabled?: boolean;
477
+ fixed?: boolean;
478
+ focus?: boolean;
479
+ 'hold-keyboard'?: boolean;
480
+ maxlength?: number;
481
+ placeholder?: string;
482
+ 'placeholder-class'?: string;
483
+ 'placeholder-style'?: string;
484
+ 'selection-end'?: number;
485
+ 'selection-start'?: number;
486
+ 'show-confirm-bar'?: boolean;
487
+ value?: string;
488
+ };
489
+ video: WeappIntrinsicElementBaseAttributes & {
490
+ 'ad-unit-id'?: string;
491
+ 'auto-pause-if-navigate'?: boolean;
492
+ 'auto-pause-if-open-native'?: boolean;
493
+ autoplay?: boolean;
494
+ 'background-poster'?: string;
495
+ bindcontrolstoggle?: WeappIntrinsicEventHandler<unknown>;
496
+ bindended?: WeappIntrinsicEventHandler<unknown>;
497
+ bindenterpictureinpicture?: WeappIntrinsicEventHandler<unknown>;
498
+ binderror?: WeappIntrinsicEventHandler<unknown>;
499
+ bindfullscreenchange?: WeappIntrinsicEventHandler<unknown>;
500
+ bindleavepictureinpicture?: WeappIntrinsicEventHandler<unknown>;
501
+ bindloadedmetadata?: WeappIntrinsicEventHandler<unknown>;
502
+ bindpause?: WeappIntrinsicEventHandler<unknown>;
503
+ bindplay?: WeappIntrinsicEventHandler<unknown>;
504
+ bindprogress?: WeappIntrinsicEventHandler<unknown>;
505
+ bindseekcomplete?: WeappIntrinsicEventHandler<unknown>;
506
+ bindtimeupdate?: WeappIntrinsicEventHandler<unknown>;
507
+ bindwaiting?: WeappIntrinsicEventHandler<unknown>;
508
+ 'certificate-url'?: string;
509
+ controls?: boolean;
510
+ 'danmu-btn'?: boolean;
511
+ 'danmu-list'?: Record<string, unknown>[];
512
+ direction?: number;
513
+ duration?: number;
514
+ 'enable-auto-rotation'?: boolean;
515
+ 'enable-danmu'?: boolean;
516
+ 'enable-play-gesture'?: boolean;
517
+ 'enable-progress-gesture'?: boolean;
518
+ 'initial-time'?: number;
519
+ 'is-drm'?: boolean;
520
+ 'license-url'?: string;
521
+ loop?: boolean;
522
+ muted?: boolean;
523
+ 'object-fit'?: string;
524
+ 'page-gesture'?: boolean;
525
+ 'picture-in-picture-mode'?: string | unknown[];
526
+ 'picture-in-picture-show-progress'?: boolean;
527
+ 'play-btn-position'?: string;
528
+ poster?: string;
529
+ 'poster-for-crawler'?: string;
530
+ 'provision-url'?: string;
531
+ 'referrer-policy'?: string;
532
+ 'show-background-playback-button'?: boolean;
533
+ 'show-casting-button'?: boolean;
534
+ 'show-center-play-btn'?: boolean;
535
+ 'show-fullscreen-btn'?: boolean;
536
+ 'show-mute-btn'?: boolean;
537
+ 'show-play-btn'?: boolean;
538
+ 'show-progress'?: boolean;
539
+ 'show-screen-lock-button'?: boolean;
540
+ 'show-snapshot-button'?: boolean;
541
+ src?: string;
542
+ title?: string;
543
+ 'vslide-gesture'?: boolean;
544
+ 'vslide-gesture-in-fullscreen'?: boolean;
545
+ };
546
+ view: WeappIntrinsicElementBaseAttributes & {
547
+ 'hover-class'?: string;
548
+ 'hover-start-time'?: number;
549
+ 'hover-stay-time'?: number;
550
+ 'hover-stop-propagation'?: boolean;
551
+ };
552
+ 'voip-room': WeappIntrinsicElementBaseAttributes & {
553
+ binderror?: WeappIntrinsicEventHandler;
554
+ 'device-position'?: 'front' | 'back';
555
+ mode?: string;
556
+ openid?: string;
557
+ };
558
+ 'web-view': WeappIntrinsicElementBaseAttributes & {
559
+ binderror?: WeappIntrinsicEventHandler<unknown>;
560
+ bindload?: WeappIntrinsicEventHandler<unknown>;
561
+ bindmessage?: WeappIntrinsicEventHandler<unknown>;
562
+ src?: string;
563
+ };
564
+ }
565
+ //#endregion
566
+ //#region src/weappIntrinsicElements.d.ts
567
+ type WeappIntrinsicElements = WeappIntrinsicElementsGroup01 & WeappIntrinsicElementsGroup02;
568
+ //#endregion
569
+ //#region src/jsx-runtime.d.ts
570
+ declare namespace JSX {
571
+ type Element = any;
572
+ interface ElementClass {
573
+ $props: Record<string, any>;
574
+ }
575
+ interface ElementAttributesProperty {
576
+ $props: Record<string, any>;
577
+ }
578
+ interface IntrinsicAttributes {
579
+ [key: string]: any;
580
+ }
581
+ interface IntrinsicElements extends GlobalComponents, WeappIntrinsicElements {
582
+ [key: string]: any;
583
+ }
584
+ }
585
+ //#endregion
586
+ export { JSX };