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