@tarojs/plugin-platform-weapp 3.7.0-beta.1 → 3.7.0-beta.4
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/dist/components-react.js +2 -1
- package/dist/components-react.js.map +1 -1
- package/dist/index.js +88 -13
- package/dist/index.js.map +1 -1
- package/dist/runtime-utils.js +73 -15
- package/dist/runtime-utils.js.map +1 -1
- package/dist/runtime.js +73 -15
- package/dist/runtime.js.map +1 -1
- package/package.json +4 -4
- package/types/components-react.d.ts +2 -1
- package/types/index.d.ts +3 -0
- package/types/runtime-utils.d.ts +58 -10
package/types/runtime-utils.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ declare const components: {
|
|
|
25
25
|
"show-compass": string;
|
|
26
26
|
"show-scale": string;
|
|
27
27
|
"enable-overlooking": string;
|
|
28
|
+
"enable-auto-max-overlooking": string;
|
|
28
29
|
"enable-zoom": string;
|
|
29
30
|
"enable-scroll": string;
|
|
30
31
|
"enable-rotate": string;
|
|
@@ -36,6 +37,12 @@ declare const components: {
|
|
|
36
37
|
bindLabelTap: string;
|
|
37
38
|
bindRegionChange: string;
|
|
38
39
|
bindPoiTap: string;
|
|
40
|
+
bindPolylineTap: string;
|
|
41
|
+
bindAbilitySuccess: string;
|
|
42
|
+
bindAbilityFailed: string;
|
|
43
|
+
bindAuthSuccess: string;
|
|
44
|
+
bindInterpolatePoint: string;
|
|
45
|
+
bindError: string;
|
|
39
46
|
bindAnchorPointTap: string;
|
|
40
47
|
};
|
|
41
48
|
Button: {
|
|
@@ -97,24 +104,35 @@ declare const components: {
|
|
|
97
104
|
bindKeyboardHeightChange: string;
|
|
98
105
|
};
|
|
99
106
|
ScrollView: {
|
|
100
|
-
type: string;
|
|
101
|
-
"event-passive": string;
|
|
102
107
|
"enable-flex": string;
|
|
103
108
|
"scroll-anchoring": string;
|
|
109
|
+
enhanced: string;
|
|
110
|
+
"paging-enabled": string;
|
|
111
|
+
"enable-passive": string;
|
|
104
112
|
"refresher-enabled": string;
|
|
105
113
|
"refresher-threshold": string;
|
|
106
114
|
"refresher-default-style": string;
|
|
107
115
|
"refresher-background": string;
|
|
108
116
|
"refresher-triggered": string;
|
|
109
|
-
enhanced: string;
|
|
110
117
|
bounces: string;
|
|
111
118
|
"show-scrollbar": string;
|
|
112
|
-
"paging-enabled": string;
|
|
113
119
|
"fast-deceleration": string;
|
|
120
|
+
type: string;
|
|
114
121
|
reverse: string;
|
|
122
|
+
clip: string;
|
|
123
|
+
"enable-back-to-top": string;
|
|
115
124
|
"cache-extent": string;
|
|
125
|
+
"min-drag-distance": string;
|
|
116
126
|
"scroll-into-view-within-extent": string;
|
|
117
127
|
"scroll-into-view-alignment": string;
|
|
128
|
+
padding: string;
|
|
129
|
+
"refresher-two-level-enabled": string;
|
|
130
|
+
"refresher-two-level-triggered": string;
|
|
131
|
+
"refresher-two-level-threshold": string;
|
|
132
|
+
"refresher-two-level-close-threshold": string;
|
|
133
|
+
"refresher-two-level-scroll-enabled": string;
|
|
134
|
+
"refresher-ballistic-refresh-enabled": string;
|
|
135
|
+
"refresher-two-level-pinned": string;
|
|
118
136
|
bindDragStart: string;
|
|
119
137
|
bindDragging: string;
|
|
120
138
|
bindDragEnd: string;
|
|
@@ -125,6 +143,7 @@ declare const components: {
|
|
|
125
143
|
bindScrollStart: string;
|
|
126
144
|
bindScrollEnd: string;
|
|
127
145
|
bindRefresherWillRefresh: string;
|
|
146
|
+
bindRefresherStatusChange: string;
|
|
128
147
|
};
|
|
129
148
|
StickySection: {
|
|
130
149
|
"push-pinned-header": string;
|
|
@@ -169,12 +188,18 @@ declare const components: {
|
|
|
169
188
|
"auto-pause-if-navigate": string;
|
|
170
189
|
"auto-pause-if-open-native": string;
|
|
171
190
|
"picture-in-picture-mode": string;
|
|
191
|
+
"enable-auto-rotation": string;
|
|
192
|
+
"referrer-policy": string;
|
|
193
|
+
"enable-casting": string;
|
|
172
194
|
bindstatechange: string;
|
|
173
195
|
bindfullscreenchange: string;
|
|
174
196
|
bindnetstatus: string;
|
|
175
197
|
bindAudioVolumeNotify: string;
|
|
176
198
|
bindEnterPictureInPicture: string;
|
|
177
199
|
bindLeavePictureInPicture: string;
|
|
200
|
+
bindCastingUserSelect: string;
|
|
201
|
+
bindCastingStateChange: string;
|
|
202
|
+
bindCastingInterrupt: string;
|
|
178
203
|
};
|
|
179
204
|
Video: {
|
|
180
205
|
title: string;
|
|
@@ -184,6 +209,7 @@ declare const components: {
|
|
|
184
209
|
"auto-pause-if-open-native": string;
|
|
185
210
|
"vslide-gesture": string;
|
|
186
211
|
"vslide-gesture-in-fullscreen": string;
|
|
212
|
+
"show-bottom-progress": string;
|
|
187
213
|
"ad-unit-id": string;
|
|
188
214
|
"poster-for-crawler": string;
|
|
189
215
|
"show-casting-button": string;
|
|
@@ -193,12 +219,22 @@ declare const components: {
|
|
|
193
219
|
"show-snapshot-button": string;
|
|
194
220
|
"show-background-playback-button": string;
|
|
195
221
|
"background-poster": string;
|
|
222
|
+
"referrer-policy": string;
|
|
223
|
+
"is-drm": string;
|
|
224
|
+
"is-live": string;
|
|
225
|
+
"provision-url": string;
|
|
226
|
+
"certificate-url": string;
|
|
227
|
+
"license-url": string;
|
|
228
|
+
"preferred-peak-bit-rate": string;
|
|
196
229
|
bindProgress: string;
|
|
197
230
|
bindLoadedMetadata: string;
|
|
198
231
|
bindControlsToggle: string;
|
|
199
232
|
bindEnterPictureInPicture: string;
|
|
200
233
|
bindLeavePictureInPicture: string;
|
|
201
234
|
bindSeekComplete: string;
|
|
235
|
+
bindCastingUserSelect: string;
|
|
236
|
+
bindCastingStateChange: string;
|
|
237
|
+
bindCastingInterrupt: string;
|
|
202
238
|
bindAdLoad: string;
|
|
203
239
|
bindAdError: string;
|
|
204
240
|
bindAdClose: string;
|
|
@@ -277,6 +313,7 @@ declare const components: {
|
|
|
277
313
|
"video-height": string;
|
|
278
314
|
"beauty-style": string;
|
|
279
315
|
filter: string;
|
|
316
|
+
"picture-in-picture-mode": string;
|
|
280
317
|
animation: string;
|
|
281
318
|
bindStateChange: string;
|
|
282
319
|
bindNetStatus: string;
|
|
@@ -310,10 +347,12 @@ declare const components: {
|
|
|
310
347
|
"background-color": string;
|
|
311
348
|
"background-color-top": string;
|
|
312
349
|
"background-color-bottom": string;
|
|
350
|
+
"root-background-color": string;
|
|
313
351
|
"scroll-top": string;
|
|
314
352
|
"scroll-duration": string;
|
|
315
353
|
"page-style": string;
|
|
316
354
|
"root-font-size": string;
|
|
355
|
+
"page-orientation": string;
|
|
317
356
|
bindResize: string;
|
|
318
357
|
bindScroll: string;
|
|
319
358
|
bindScrollDone: string;
|
|
@@ -355,23 +394,32 @@ declare const components: {
|
|
|
355
394
|
"easing-function": string;
|
|
356
395
|
};
|
|
357
396
|
KeyboardAccessory: {};
|
|
358
|
-
RootPortal: {
|
|
397
|
+
RootPortal: {
|
|
398
|
+
enable: string;
|
|
399
|
+
};
|
|
359
400
|
ChannelLive: {
|
|
360
|
-
|
|
361
|
-
|
|
401
|
+
"feed-id": string;
|
|
402
|
+
"finder-user-name": string;
|
|
362
403
|
};
|
|
363
404
|
ChannelVideo: {
|
|
364
|
-
|
|
365
|
-
|
|
405
|
+
"feed-id": string;
|
|
406
|
+
"finder-user-name": string;
|
|
407
|
+
"feed-token": string;
|
|
366
408
|
autoplay: string;
|
|
367
409
|
loop: string;
|
|
368
410
|
muted: string;
|
|
369
|
-
|
|
411
|
+
"object-fit": string;
|
|
370
412
|
bindError: string;
|
|
371
413
|
};
|
|
414
|
+
Snapshot: {};
|
|
372
415
|
};
|
|
373
416
|
declare const hostConfig: {
|
|
374
417
|
initNativeApi: typeof initNativeApi;
|
|
375
418
|
getMiniLifecycle(config: any): any;
|
|
419
|
+
transferHydrateData(data: any, element: any, componentsAlias: any): {
|
|
420
|
+
sid: any;
|
|
421
|
+
v: string;
|
|
422
|
+
nn: any;
|
|
423
|
+
} | undefined;
|
|
376
424
|
};
|
|
377
425
|
export { initNativeApi, needPromiseApis, components, hostConfig };
|