@tarojs/plugin-platform-weapp 4.0.1-alpha.0 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +8 -8
- package/dist/components-react.js.map +1 -1
- package/dist/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/dist/runtime-utils.js.map +1 -1
- package/dist/runtime.js.map +1 -1
- package/package.json +18 -15
- package/types/components-react.d.ts +30 -0
- package/types/index.d.ts +62 -0
- package/types/runtime-utils.d.ts +478 -0
- package/dist/types/apis-list.d.ts +0 -1
- package/dist/types/apis.d.ts +0 -1
- package/dist/types/components-react.d.ts +0 -29
- package/dist/types/components.d.ts +0 -466
- package/dist/types/index.d.ts +0 -8
- package/dist/types/program.d.ts +0 -35
- package/dist/types/runtime-utils.d.ts +0 -13
- package/dist/types/template.d.ts +0 -25
- /package/{dist/types → types}/runtime.d.ts +0 -0
package/types/index.d.ts
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { TaroPlatformBase, IPluginContext } from "@tarojs/service";
|
|
2
|
+
import { UnRecursiveTemplate } from "@tarojs/shared/dist/template";
|
|
3
|
+
declare class Template extends UnRecursiveTemplate {
|
|
4
|
+
pluginOptions: IOptions;
|
|
5
|
+
supportXS: boolean;
|
|
6
|
+
Adapter: {
|
|
7
|
+
if: string;
|
|
8
|
+
else: string;
|
|
9
|
+
elseif: string;
|
|
10
|
+
for: string;
|
|
11
|
+
forItem: string;
|
|
12
|
+
forIndex: string;
|
|
13
|
+
key: string;
|
|
14
|
+
xs: string;
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
transferComponents: Record<string, Record<string, string>>;
|
|
18
|
+
constructor(pluginOptions?: IOptions);
|
|
19
|
+
buildXsTemplate(filePath?: string): string;
|
|
20
|
+
createMiniComponents(components: any): any;
|
|
21
|
+
replacePropName(name: string, value: string, componentName: string, componentAlias: any): string;
|
|
22
|
+
buildXSTepFocus(nn: string): string;
|
|
23
|
+
modifyTemplateResult: (res: string, nodeName: string, _: any, children: any) => string;
|
|
24
|
+
buildPageTemplate: (baseTempPath: string, page: any) => string;
|
|
25
|
+
}
|
|
26
|
+
declare class Weapp extends TaroPlatformBase {
|
|
27
|
+
template: Template;
|
|
28
|
+
platform: string;
|
|
29
|
+
globalObject: string;
|
|
30
|
+
projectConfigJson: string;
|
|
31
|
+
runtimePath: string;
|
|
32
|
+
taroComponentsPath: string;
|
|
33
|
+
fileType: {
|
|
34
|
+
templ: string;
|
|
35
|
+
style: string;
|
|
36
|
+
config: string;
|
|
37
|
+
script: string;
|
|
38
|
+
xs: string;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* 1. setupTransaction - init
|
|
42
|
+
* 2. setup
|
|
43
|
+
* 3. setupTransaction - close
|
|
44
|
+
* 4. buildTransaction - init
|
|
45
|
+
* 5. build
|
|
46
|
+
* 6. buildTransaction - close
|
|
47
|
+
*/
|
|
48
|
+
constructor(ctx: any, config: any, pluginOptions?: IOptions);
|
|
49
|
+
/**
|
|
50
|
+
* 增加组件或修改组件属性
|
|
51
|
+
*/
|
|
52
|
+
modifyTemplate(pluginOptions?: IOptions): void;
|
|
53
|
+
/**
|
|
54
|
+
* 修改 Webpack 配置
|
|
55
|
+
*/
|
|
56
|
+
modifyWebpackConfig(): void;
|
|
57
|
+
}
|
|
58
|
+
interface IOptions {
|
|
59
|
+
enablekeyboardAccessory?: boolean;
|
|
60
|
+
}
|
|
61
|
+
declare const _default: (ctx: IPluginContext, options: IOptions) => void;
|
|
62
|
+
export { _default as default, Weapp, IOptions };
|
|
@@ -0,0 +1,478 @@
|
|
|
1
|
+
declare function initNativeApi(taro: any): void;
|
|
2
|
+
declare const needPromiseApis: Set<string>;
|
|
3
|
+
declare const components: {
|
|
4
|
+
Progress: {
|
|
5
|
+
"border-radius": string;
|
|
6
|
+
"font-size": string;
|
|
7
|
+
duration: string;
|
|
8
|
+
bindActiveEnd: string;
|
|
9
|
+
};
|
|
10
|
+
RichText: {
|
|
11
|
+
space: string;
|
|
12
|
+
"user-select": string;
|
|
13
|
+
};
|
|
14
|
+
Text: {
|
|
15
|
+
"user-select": string;
|
|
16
|
+
overflow: string;
|
|
17
|
+
"max-lines": string;
|
|
18
|
+
};
|
|
19
|
+
Map: {
|
|
20
|
+
polygons: string;
|
|
21
|
+
subkey: string;
|
|
22
|
+
rotate: string;
|
|
23
|
+
skew: string;
|
|
24
|
+
"max-scale": string;
|
|
25
|
+
"min-scale": string;
|
|
26
|
+
"enable-3D": string;
|
|
27
|
+
"show-compass": string;
|
|
28
|
+
"show-scale": string;
|
|
29
|
+
"enable-overlooking": string;
|
|
30
|
+
"enable-auto-max-overlooking": string;
|
|
31
|
+
"enable-zoom": string;
|
|
32
|
+
"enable-scroll": string;
|
|
33
|
+
"enable-rotate": string;
|
|
34
|
+
"enable-satellite": string;
|
|
35
|
+
"enable-traffic": string;
|
|
36
|
+
"enable-poi": string;
|
|
37
|
+
"enable-building": string;
|
|
38
|
+
setting: string;
|
|
39
|
+
bindLabelTap: string;
|
|
40
|
+
bindRegionChange: string;
|
|
41
|
+
bindPoiTap: string;
|
|
42
|
+
bindPolylineTap: string;
|
|
43
|
+
bindAbilitySuccess: string;
|
|
44
|
+
bindAbilityFailed: string;
|
|
45
|
+
bindAuthSuccess: string;
|
|
46
|
+
bindInterpolatePoint: string;
|
|
47
|
+
bindError: string;
|
|
48
|
+
bindAnchorPointTap: string;
|
|
49
|
+
};
|
|
50
|
+
Button: {
|
|
51
|
+
lang: string;
|
|
52
|
+
"session-from": string;
|
|
53
|
+
"send-message-title": string;
|
|
54
|
+
"send-message-path": string;
|
|
55
|
+
"send-message-img": string;
|
|
56
|
+
"app-parameter": string;
|
|
57
|
+
"show-message-card": string;
|
|
58
|
+
"business-id": string;
|
|
59
|
+
bindGetUserInfo: string;
|
|
60
|
+
bindContact: string;
|
|
61
|
+
bindGetPhoneNumber: string;
|
|
62
|
+
bindGetRealTimePhoneNumber: string;
|
|
63
|
+
bindChooseAvatar: string;
|
|
64
|
+
bindError: string;
|
|
65
|
+
bindOpenSetting: string;
|
|
66
|
+
bindLaunchApp: string;
|
|
67
|
+
bindAgreePrivacyAuthorization: string;
|
|
68
|
+
};
|
|
69
|
+
Form: {
|
|
70
|
+
"report-submit-timeout": string;
|
|
71
|
+
};
|
|
72
|
+
Input: {
|
|
73
|
+
"always-embed": string;
|
|
74
|
+
"adjust-position": string;
|
|
75
|
+
"hold-keyboard": string;
|
|
76
|
+
"safe-password-cert-path": string;
|
|
77
|
+
"safe-password-length": string;
|
|
78
|
+
"safe-password-time-stamp": string;
|
|
79
|
+
"safe-password-nonce": string;
|
|
80
|
+
"safe-password-salt": string;
|
|
81
|
+
"safe-password-custom-hash": string;
|
|
82
|
+
"auto-fill": string;
|
|
83
|
+
bindKeyboardHeightChange: string;
|
|
84
|
+
bindNicknameReview: string;
|
|
85
|
+
};
|
|
86
|
+
Picker: {
|
|
87
|
+
"header-text": string;
|
|
88
|
+
level: string;
|
|
89
|
+
};
|
|
90
|
+
PickerView: {
|
|
91
|
+
"immediate-change": string;
|
|
92
|
+
bindPickStart: string;
|
|
93
|
+
bindPickEnd: string;
|
|
94
|
+
};
|
|
95
|
+
Slider: {
|
|
96
|
+
color: string;
|
|
97
|
+
"selected-color": string;
|
|
98
|
+
};
|
|
99
|
+
Textarea: {
|
|
100
|
+
"show-confirm-bar": string;
|
|
101
|
+
"adjust-position": string;
|
|
102
|
+
"hold-keyboard": string;
|
|
103
|
+
"disable-default-padding": string;
|
|
104
|
+
"confirm-type": string;
|
|
105
|
+
"confirm-hold": string;
|
|
106
|
+
bindKeyboardHeightChange: string;
|
|
107
|
+
};
|
|
108
|
+
ScrollView: {
|
|
109
|
+
"enable-flex": string;
|
|
110
|
+
"scroll-anchoring": string;
|
|
111
|
+
enhanced: string;
|
|
112
|
+
"using-sticky": string;
|
|
113
|
+
"paging-enabled": string;
|
|
114
|
+
"enable-passive": string;
|
|
115
|
+
"refresher-enabled": string;
|
|
116
|
+
"refresher-threshold": string;
|
|
117
|
+
"refresher-default-style": string;
|
|
118
|
+
"refresher-background": string;
|
|
119
|
+
"refresher-triggered": string;
|
|
120
|
+
bounces: string;
|
|
121
|
+
"show-scrollbar": string;
|
|
122
|
+
"fast-deceleration": string;
|
|
123
|
+
type: string;
|
|
124
|
+
reverse: string;
|
|
125
|
+
clip: string;
|
|
126
|
+
"enable-back-to-top": string;
|
|
127
|
+
"cache-extent": string;
|
|
128
|
+
"min-drag-distance": string;
|
|
129
|
+
"scroll-into-view-within-extent": string;
|
|
130
|
+
"scroll-into-view-alignment": string;
|
|
131
|
+
padding: string;
|
|
132
|
+
"refresher-two-level-enabled": string;
|
|
133
|
+
"refresher-two-level-triggered": string;
|
|
134
|
+
"refresher-two-level-threshold": string;
|
|
135
|
+
"refresher-two-level-close-threshold": string;
|
|
136
|
+
"refresher-two-level-scroll-enabled": string;
|
|
137
|
+
"refresher-ballistic-refresh-enabled": string;
|
|
138
|
+
"refresher-two-level-pinned": string;
|
|
139
|
+
bindDragStart: string;
|
|
140
|
+
bindDragging: string;
|
|
141
|
+
bindDragEnd: string;
|
|
142
|
+
bindRefresherPulling: string;
|
|
143
|
+
bindRefresherRefresh: string;
|
|
144
|
+
bindRefresherRestore: string;
|
|
145
|
+
bindRefresherAbort: string;
|
|
146
|
+
bindScrollStart: string;
|
|
147
|
+
bindScrollEnd: string;
|
|
148
|
+
bindRefresherWillRefresh: string;
|
|
149
|
+
bindRefresherStatusChange: string;
|
|
150
|
+
};
|
|
151
|
+
StickySection: {
|
|
152
|
+
"push-pinned-header": string;
|
|
153
|
+
padding: string;
|
|
154
|
+
};
|
|
155
|
+
GridView: {
|
|
156
|
+
type: string;
|
|
157
|
+
"cross-axis-count": string;
|
|
158
|
+
"max-cross-axis-extent": string;
|
|
159
|
+
"main-axis-gap": string;
|
|
160
|
+
"cross-axis-gap": string;
|
|
161
|
+
padding: string;
|
|
162
|
+
};
|
|
163
|
+
GridBuilder: {
|
|
164
|
+
type: string;
|
|
165
|
+
list: string;
|
|
166
|
+
"cross-axis-count": string;
|
|
167
|
+
"max-cross-axis-extent": string;
|
|
168
|
+
"main-axis-gap": string;
|
|
169
|
+
"cross-axis-gap": string;
|
|
170
|
+
padding: string;
|
|
171
|
+
bindItemBuild: string;
|
|
172
|
+
bindItemDispose: string;
|
|
173
|
+
};
|
|
174
|
+
ListView: {
|
|
175
|
+
padding: string;
|
|
176
|
+
};
|
|
177
|
+
ListBuilder: {
|
|
178
|
+
list: string;
|
|
179
|
+
type: string;
|
|
180
|
+
padding: string;
|
|
181
|
+
"child-count": string;
|
|
182
|
+
"child-height": string;
|
|
183
|
+
bindItemBuild: string;
|
|
184
|
+
bindItemDispose: string;
|
|
185
|
+
};
|
|
186
|
+
StickyHeader: {
|
|
187
|
+
"offset-top": string;
|
|
188
|
+
padding: string;
|
|
189
|
+
};
|
|
190
|
+
Swiper: {
|
|
191
|
+
"snap-to-edge": string;
|
|
192
|
+
"easing-function": string;
|
|
193
|
+
};
|
|
194
|
+
SwiperItem: {
|
|
195
|
+
"skip-hidden-item-layout": string;
|
|
196
|
+
};
|
|
197
|
+
Navigator: {
|
|
198
|
+
target: string;
|
|
199
|
+
"app-id": string;
|
|
200
|
+
path: string;
|
|
201
|
+
"extra-data": string;
|
|
202
|
+
version: string;
|
|
203
|
+
};
|
|
204
|
+
Camera: {
|
|
205
|
+
mode: string;
|
|
206
|
+
resolution: string;
|
|
207
|
+
"frame-size": string;
|
|
208
|
+
bindInitDone: string;
|
|
209
|
+
bindScanCode: string;
|
|
210
|
+
};
|
|
211
|
+
Image: {
|
|
212
|
+
webp: string;
|
|
213
|
+
"show-menu-by-longpress": string;
|
|
214
|
+
};
|
|
215
|
+
LivePlayer: {
|
|
216
|
+
mode: string;
|
|
217
|
+
"sound-mode": string;
|
|
218
|
+
"auto-pause-if-navigate": string;
|
|
219
|
+
"auto-pause-if-open-native": string;
|
|
220
|
+
"picture-in-picture-mode": string;
|
|
221
|
+
"enable-auto-rotation": string;
|
|
222
|
+
"referrer-policy": string;
|
|
223
|
+
"enable-casting": string;
|
|
224
|
+
bindstatechange: string;
|
|
225
|
+
bindfullscreenchange: string;
|
|
226
|
+
bindnetstatus: string;
|
|
227
|
+
bindAudioVolumeNotify: string;
|
|
228
|
+
bindEnterPictureInPicture: string;
|
|
229
|
+
bindLeavePictureInPicture: string;
|
|
230
|
+
bindCastingUserSelect: string;
|
|
231
|
+
bindCastingStateChange: string;
|
|
232
|
+
bindCastingInterrupt: string;
|
|
233
|
+
};
|
|
234
|
+
Video: {
|
|
235
|
+
title: string;
|
|
236
|
+
"play-btn-position": string;
|
|
237
|
+
"enable-play-gesture": string;
|
|
238
|
+
"auto-pause-if-navigate": string;
|
|
239
|
+
"auto-pause-if-open-native": string;
|
|
240
|
+
"vslide-gesture": string;
|
|
241
|
+
"vslide-gesture-in-fullscreen": string;
|
|
242
|
+
"show-bottom-progress": string;
|
|
243
|
+
"ad-unit-id": string;
|
|
244
|
+
"poster-for-crawler": string;
|
|
245
|
+
"show-casting-button": string;
|
|
246
|
+
"picture-in-picture-mode": string;
|
|
247
|
+
"enable-auto-rotation": string;
|
|
248
|
+
"show-screen-lock-button": string;
|
|
249
|
+
"show-snapshot-button": string;
|
|
250
|
+
"show-background-playback-button": string;
|
|
251
|
+
"background-poster": string;
|
|
252
|
+
"referrer-policy": string;
|
|
253
|
+
"is-drm": string;
|
|
254
|
+
"is-live": string;
|
|
255
|
+
"provision-url": string;
|
|
256
|
+
"certificate-url": string;
|
|
257
|
+
"license-url": string;
|
|
258
|
+
"preferred-peak-bit-rate": string;
|
|
259
|
+
bindProgress: string;
|
|
260
|
+
bindLoadedMetadata: string;
|
|
261
|
+
bindControlsToggle: string;
|
|
262
|
+
bindEnterPictureInPicture: string;
|
|
263
|
+
bindLeavePictureInPicture: string;
|
|
264
|
+
bindSeekComplete: string;
|
|
265
|
+
bindCastingUserSelect: string;
|
|
266
|
+
bindCastingStateChange: string;
|
|
267
|
+
bindCastingInterrupt: string;
|
|
268
|
+
bindAdLoad: string;
|
|
269
|
+
bindAdError: string;
|
|
270
|
+
bindAdClose: string;
|
|
271
|
+
bindAdPlay: string;
|
|
272
|
+
};
|
|
273
|
+
Canvas: {
|
|
274
|
+
type: string;
|
|
275
|
+
};
|
|
276
|
+
Ad: {
|
|
277
|
+
"ad-type": string;
|
|
278
|
+
"ad-theme": string;
|
|
279
|
+
};
|
|
280
|
+
CoverView: {
|
|
281
|
+
"marker-id": string;
|
|
282
|
+
slot: string;
|
|
283
|
+
};
|
|
284
|
+
Editor: {
|
|
285
|
+
"read-only": string;
|
|
286
|
+
placeholder: string;
|
|
287
|
+
"show-img-size": string;
|
|
288
|
+
"show-img-toolbar": string;
|
|
289
|
+
"show-img-resize": string;
|
|
290
|
+
focus: string;
|
|
291
|
+
bindReady: string;
|
|
292
|
+
bindFocus: string;
|
|
293
|
+
bindBlur: string;
|
|
294
|
+
bindInput: string;
|
|
295
|
+
bindStatusChange: string;
|
|
296
|
+
name: string;
|
|
297
|
+
};
|
|
298
|
+
MatchMedia: {
|
|
299
|
+
"min-width": string;
|
|
300
|
+
"max-width": string;
|
|
301
|
+
width: string;
|
|
302
|
+
"min-height": string;
|
|
303
|
+
"max-height": string;
|
|
304
|
+
height: string;
|
|
305
|
+
orientation: string;
|
|
306
|
+
};
|
|
307
|
+
FunctionalPageNavigator: {
|
|
308
|
+
version: string;
|
|
309
|
+
name: string;
|
|
310
|
+
args: string;
|
|
311
|
+
bindSuccess: string;
|
|
312
|
+
bindFail: string;
|
|
313
|
+
bindCancel: string;
|
|
314
|
+
};
|
|
315
|
+
LivePusher: {
|
|
316
|
+
url: string;
|
|
317
|
+
mode: string;
|
|
318
|
+
autopush: string;
|
|
319
|
+
muted: string;
|
|
320
|
+
"enable-camera": string;
|
|
321
|
+
"auto-focus": string;
|
|
322
|
+
orientation: string;
|
|
323
|
+
beauty: string;
|
|
324
|
+
whiteness: string;
|
|
325
|
+
aspect: string;
|
|
326
|
+
"min-bitrate": string;
|
|
327
|
+
"max-bitrate": string;
|
|
328
|
+
"audio-quality": string;
|
|
329
|
+
"waiting-image": string;
|
|
330
|
+
"waiting-image-hash": string;
|
|
331
|
+
zoom: string;
|
|
332
|
+
"device-position": string;
|
|
333
|
+
"background-mute": string;
|
|
334
|
+
mirror: string;
|
|
335
|
+
"remote-mirror": string;
|
|
336
|
+
"local-mirror": string;
|
|
337
|
+
"audio-reverb-type": string;
|
|
338
|
+
"enable-mic": string;
|
|
339
|
+
"enable-agc": string;
|
|
340
|
+
"enable-ans": string;
|
|
341
|
+
"audio-volume-type": string;
|
|
342
|
+
"video-width": string;
|
|
343
|
+
"video-height": string;
|
|
344
|
+
"beauty-style": string;
|
|
345
|
+
filter: string;
|
|
346
|
+
"picture-in-picture-mode": string;
|
|
347
|
+
animation: string;
|
|
348
|
+
bindStateChange: string;
|
|
349
|
+
bindNetStatus: string;
|
|
350
|
+
bindBgmStart: string;
|
|
351
|
+
bindBgmProgress: string;
|
|
352
|
+
bindBgmComplete: string;
|
|
353
|
+
bindAudioVolumeNotify: string;
|
|
354
|
+
};
|
|
355
|
+
OfficialAccount: {
|
|
356
|
+
bindLoad: string;
|
|
357
|
+
bindError: string;
|
|
358
|
+
};
|
|
359
|
+
OpenData: {
|
|
360
|
+
type: string;
|
|
361
|
+
"open-gid": string;
|
|
362
|
+
lang: string;
|
|
363
|
+
"default-text": string;
|
|
364
|
+
"default-avatar": string;
|
|
365
|
+
bindError: string;
|
|
366
|
+
};
|
|
367
|
+
NavigationBar: {
|
|
368
|
+
title: string;
|
|
369
|
+
loading: string;
|
|
370
|
+
"front-color": string;
|
|
371
|
+
"background-color": string;
|
|
372
|
+
"color-animation-duration": string;
|
|
373
|
+
"color-animation-timing-func": string;
|
|
374
|
+
};
|
|
375
|
+
PageMeta: {
|
|
376
|
+
"background-text-style": string;
|
|
377
|
+
"background-color": string;
|
|
378
|
+
"background-color-top": string;
|
|
379
|
+
"background-color-bottom": string;
|
|
380
|
+
"root-background-color": string;
|
|
381
|
+
"scroll-top": string;
|
|
382
|
+
"scroll-duration": string;
|
|
383
|
+
"page-style": string;
|
|
384
|
+
"root-font-size": string;
|
|
385
|
+
"page-orientation": string;
|
|
386
|
+
bindResize: string;
|
|
387
|
+
bindScroll: string;
|
|
388
|
+
bindScrollDone: string;
|
|
389
|
+
};
|
|
390
|
+
VoipRoom: {
|
|
391
|
+
openid: string;
|
|
392
|
+
mode: string;
|
|
393
|
+
"device-position": string;
|
|
394
|
+
bindError: string;
|
|
395
|
+
};
|
|
396
|
+
AdCustom: {
|
|
397
|
+
"unit-id": string;
|
|
398
|
+
"ad-intervals": string;
|
|
399
|
+
bindLoad: string;
|
|
400
|
+
bindError: string;
|
|
401
|
+
};
|
|
402
|
+
PageContainer: {
|
|
403
|
+
show: string;
|
|
404
|
+
duration: string;
|
|
405
|
+
"z-index": string;
|
|
406
|
+
overlay: string;
|
|
407
|
+
position: string;
|
|
408
|
+
round: string;
|
|
409
|
+
"close-on-slide-down": string;
|
|
410
|
+
"overlay-style": string;
|
|
411
|
+
"custom-style": string;
|
|
412
|
+
bindBeforeEnter: string;
|
|
413
|
+
bindEnter: string;
|
|
414
|
+
bindAfterEnter: string;
|
|
415
|
+
bindBeforeLeave: string;
|
|
416
|
+
bindLeave: string;
|
|
417
|
+
bindAfterLeave: string;
|
|
418
|
+
bindClickOverlay: string;
|
|
419
|
+
};
|
|
420
|
+
ShareElement: {
|
|
421
|
+
mapkey: string;
|
|
422
|
+
transform: string;
|
|
423
|
+
duration: string;
|
|
424
|
+
"easing-function": string;
|
|
425
|
+
};
|
|
426
|
+
KeyboardAccessory: {};
|
|
427
|
+
RootPortal: {
|
|
428
|
+
enable: string;
|
|
429
|
+
};
|
|
430
|
+
ChannelLive: {
|
|
431
|
+
"feed-id": string;
|
|
432
|
+
"finder-user-name": string;
|
|
433
|
+
};
|
|
434
|
+
ChannelVideo: {
|
|
435
|
+
"feed-id": string;
|
|
436
|
+
"finder-user-name": string;
|
|
437
|
+
"feed-token": string;
|
|
438
|
+
autoplay: string;
|
|
439
|
+
loop: string;
|
|
440
|
+
muted: string;
|
|
441
|
+
"object-fit": string;
|
|
442
|
+
bindError: string;
|
|
443
|
+
};
|
|
444
|
+
Snapshot: {
|
|
445
|
+
mode: string;
|
|
446
|
+
};
|
|
447
|
+
Span: {};
|
|
448
|
+
OpenContainer: {
|
|
449
|
+
transitionType: string;
|
|
450
|
+
transitionDuration: string;
|
|
451
|
+
closedColor: string;
|
|
452
|
+
closedElevation: string;
|
|
453
|
+
closeBorderRadius: string;
|
|
454
|
+
middleColor: string;
|
|
455
|
+
openColor: string;
|
|
456
|
+
openElevation: string;
|
|
457
|
+
openBorderRadius: string;
|
|
458
|
+
};
|
|
459
|
+
DraggableSheet: {
|
|
460
|
+
initialChildSize: string;
|
|
461
|
+
minChildSize: string;
|
|
462
|
+
maxChildSize: string;
|
|
463
|
+
snap: string;
|
|
464
|
+
snapSizes: string;
|
|
465
|
+
};
|
|
466
|
+
NestedScrollHeader: {};
|
|
467
|
+
NestedScrollBody: {};
|
|
468
|
+
};
|
|
469
|
+
declare const hostConfig: {
|
|
470
|
+
initNativeApi: typeof initNativeApi;
|
|
471
|
+
getMiniLifecycle(config: any): any;
|
|
472
|
+
transferHydrateData(data: any, element: any, componentsAlias: any): {
|
|
473
|
+
sid: any;
|
|
474
|
+
v: string;
|
|
475
|
+
nn: any;
|
|
476
|
+
} | undefined;
|
|
477
|
+
};
|
|
478
|
+
export { initNativeApi, needPromiseApis, components, hostConfig };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const needPromiseApis: Set<string>;
|
package/dist/types/apis.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function initNativeApi(taro: any): void;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export * from '@tarojs/components/mini';
|
|
2
|
-
export declare const Editor = "editor";
|
|
3
|
-
export declare const MatchMedia = "match-media";
|
|
4
|
-
export declare const FunctionalPageNavigator = "functional-page-navigator";
|
|
5
|
-
export declare const LivePusher = "live-pusher";
|
|
6
|
-
export declare const OfficialAccount = "official-account";
|
|
7
|
-
export declare const OpenData = "open-data";
|
|
8
|
-
export declare const NavigationBar = "navigation-bar";
|
|
9
|
-
export declare const PageMeta = "page-meta";
|
|
10
|
-
export declare const VoipRoom = "voip-room";
|
|
11
|
-
export declare const AdCustom = "ad-custom";
|
|
12
|
-
export declare const PageContainer = "page-container";
|
|
13
|
-
export declare const ShareElement = "share-element";
|
|
14
|
-
export declare const KeyboardAccessory = "keyboard-accessory";
|
|
15
|
-
export declare const RootPortal = "root-portal";
|
|
16
|
-
export declare const ChannelLive = "channel-live";
|
|
17
|
-
export declare const ChannelVideo = "channel-video";
|
|
18
|
-
export declare const ListView = "list-view";
|
|
19
|
-
export declare const ListBuilder = "list-builder";
|
|
20
|
-
export declare const GridView = "grid-view";
|
|
21
|
-
export declare const GridBuilder = "grid-builder";
|
|
22
|
-
export declare const StickyHeader = "sticky-header";
|
|
23
|
-
export declare const StickySection = "sticky-section";
|
|
24
|
-
export declare const Snapshot = "snapshot";
|
|
25
|
-
export declare const Span = "span";
|
|
26
|
-
export declare const OpenContainer = "open-container";
|
|
27
|
-
export declare const DraggableSheet = "draggable-sheet";
|
|
28
|
-
export declare const NestedScrollHeader = "nested-scroll-header";
|
|
29
|
-
export declare const NestedScrollBody = "nested-scroll-body";
|