@tarojs/plugin-platform-weapp 3.5.0-beta.2 → 3.5.0-beta.5

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.
@@ -1,327 +0,0 @@
1
- export declare const components: {
2
- Progress: {
3
- 'border-radius': string;
4
- 'font-size': string;
5
- duration: string;
6
- bindActiveEnd: string;
7
- };
8
- RichText: {
9
- space: string;
10
- 'user-select': string;
11
- };
12
- Text: {
13
- 'user-select': string;
14
- };
15
- Map: {
16
- polygons: string;
17
- subkey: string;
18
- rotate: string;
19
- skew: string;
20
- 'max-scale': string;
21
- 'min-scale': string;
22
- 'enable-3D': string;
23
- 'show-compass': string;
24
- 'show-scale': string;
25
- 'enable-overlooking': string;
26
- 'enable-zoom': string;
27
- 'enable-scroll': string;
28
- 'enable-rotate': string;
29
- 'enable-satellite': string;
30
- 'enable-traffic': string;
31
- setting: string;
32
- bindLabelTap: string;
33
- bindRegionChange: string;
34
- bindPoiTap: string;
35
- };
36
- Button: {
37
- lang: string;
38
- 'session-from': string;
39
- 'send-message-title': string;
40
- 'send-message-path': string;
41
- 'send-message-img': string;
42
- 'app-parameter': string;
43
- 'show-message-card': string;
44
- 'business-id': string;
45
- bindGetUserInfo: string;
46
- bindContact: string;
47
- bindGetPhoneNumber: string;
48
- bindChooseAvatar: string;
49
- bindError: string;
50
- bindOpenSetting: string;
51
- bindLaunchApp: string;
52
- };
53
- Form: {
54
- 'report-submit-timeout': string;
55
- };
56
- Input: {
57
- 'always-embed': string;
58
- 'adjust-position': string;
59
- 'hold-keyboard': string;
60
- 'safe-password-cert-path': string;
61
- 'safe-password-length': string;
62
- 'safe-password-time-stamp': string;
63
- 'safe-password-nonce': string;
64
- 'safe-password-salt': string;
65
- 'safe-password-custom-hash': string;
66
- bindKeyboardHeightChange: string;
67
- };
68
- Picker: {
69
- 'header-text': string;
70
- };
71
- PickerView: {
72
- 'immediate-change': string;
73
- bindPickStart: string;
74
- bindPickEnd: string;
75
- };
76
- Slider: {
77
- color: string;
78
- 'selected-color': string;
79
- };
80
- Textarea: {
81
- 'show-confirm-bar': string;
82
- 'adjust-position': string;
83
- 'hold-keyboard': string;
84
- 'disable-default-padding': string;
85
- 'confirm-type': string;
86
- 'confirm-hold': string;
87
- bindKeyboardHeightChange: string;
88
- };
89
- ScrollView: {
90
- 'enable-flex': string;
91
- 'scroll-anchoring': string;
92
- 'refresher-enabled': string;
93
- 'refresher-threshold': string;
94
- 'refresher-default-style': string;
95
- 'refresher-background': string;
96
- 'refresher-triggered': string;
97
- enhanced: string;
98
- bounces: string;
99
- 'show-scrollbar': string;
100
- 'paging-enabled': string;
101
- 'fast-deceleration': string;
102
- bindDragStart: string;
103
- bindDragging: string;
104
- bindDragEnd: string;
105
- bindRefresherPulling: string;
106
- bindRefresherRefresh: string;
107
- bindRefresherRestore: string;
108
- bindRefresherAbort: string;
109
- };
110
- Swiper: {
111
- 'snap-to-edge': string;
112
- 'easing-function': string;
113
- };
114
- SwiperItem: {
115
- 'skip-hidden-item-layout': string;
116
- };
117
- Navigator: {
118
- target: string;
119
- 'app-id': string;
120
- path: string;
121
- 'extra-data': string;
122
- version: string;
123
- };
124
- Camera: {
125
- mode: string;
126
- resolution: string;
127
- 'frame-size': string;
128
- bindInitDone: string;
129
- bindScanCode: string;
130
- };
131
- Image: {
132
- webp: string;
133
- 'show-menu-by-longpress': string;
134
- };
135
- LivePlayer: {
136
- mode: string;
137
- 'sound-mode': string;
138
- 'auto-pause-if-navigate': string;
139
- 'auto-pause-if-open-native': string;
140
- 'picture-in-picture-mode': string;
141
- bindstatechange: string;
142
- bindfullscreenchange: string;
143
- bindnetstatus: string;
144
- bindAudioVolumeNotify: string;
145
- bindEnterPictureInPicture: string;
146
- bindLeavePictureInPicture: string;
147
- };
148
- Video: {
149
- title: string;
150
- 'play-btn-position': string;
151
- 'enable-play-gesture': string;
152
- 'auto-pause-if-navigate': string;
153
- 'auto-pause-if-open-native': string;
154
- 'vslide-gesture': string;
155
- 'vslide-gesture-in-fullscreen': string;
156
- 'ad-unit-id': string;
157
- 'poster-for-crawler': string;
158
- 'show-casting-button': string;
159
- 'picture-in-picture-mode': string;
160
- 'enable-auto-rotation': string;
161
- 'show-screen-lock-button': string;
162
- 'show-snapshot-button': string;
163
- 'show-background-playback-button': string;
164
- 'background-poster': string;
165
- bindProgress: string;
166
- bindLoadedMetadata: string;
167
- bindControlsToggle: string;
168
- bindEnterPictureInPicture: string;
169
- bindLeavePictureInPicture: string;
170
- bindSeekComplete: string;
171
- bindAdLoad: string;
172
- bindAdError: string;
173
- bindAdClose: string;
174
- bindAdPlay: string;
175
- };
176
- Canvas: {
177
- type: string;
178
- };
179
- Ad: {
180
- 'ad-type': string;
181
- 'ad-theme': string;
182
- };
183
- CoverView: {
184
- 'marker-id': string;
185
- slot: string;
186
- };
187
- Editor: {
188
- 'read-only': string;
189
- placeholder: string;
190
- 'show-img-size': string;
191
- 'show-img-toolbar': string;
192
- 'show-img-resize': string;
193
- focus: string;
194
- bindReady: string;
195
- bindFocus: string;
196
- bindBlur: string;
197
- bindInput: string;
198
- bindStatusChange: string;
199
- name: string;
200
- };
201
- MatchMedia: {
202
- 'min-width': string;
203
- 'max-width': string;
204
- width: string;
205
- 'min-height': string;
206
- 'max-height': string;
207
- height: string;
208
- orientation: string;
209
- };
210
- FunctionalPageNavigator: {
211
- version: string;
212
- name: string;
213
- args: string;
214
- bindSuccess: string;
215
- bindFail: string;
216
- bindCancel: string;
217
- };
218
- LivePusher: {
219
- url: string;
220
- mode: string;
221
- autopush: string;
222
- muted: string;
223
- 'enable-camera': string;
224
- 'auto-focus': string;
225
- orientation: string;
226
- beauty: string;
227
- whiteness: string;
228
- aspect: string;
229
- 'min-bitrate': string;
230
- 'max-bitrate': string;
231
- 'audio-quality': string;
232
- 'waiting-image': string;
233
- 'waiting-image-hash': string;
234
- zoom: string;
235
- 'device-position': string;
236
- 'background-mute': string;
237
- mirror: string;
238
- 'remote-mirror': string;
239
- 'local-mirror': string;
240
- 'audio-reverb-type': string;
241
- 'enable-mic': string;
242
- 'enable-agc': string;
243
- 'enable-ans': string;
244
- 'audio-volume-type': string;
245
- 'video-width': string;
246
- 'video-height': string;
247
- 'beauty-style': string;
248
- filter: string;
249
- animation: string;
250
- bindStateChange: string;
251
- bindNetStatus: string;
252
- bindBgmStart: string;
253
- bindBgmProgress: string;
254
- bindBgmComplete: string;
255
- bindAudioVolumeNotify: string;
256
- };
257
- OfficialAccount: {
258
- bindLoad: string;
259
- bindError: string;
260
- };
261
- OpenData: {
262
- type: string;
263
- 'open-gid': string;
264
- lang: string;
265
- 'default-text': string;
266
- 'default-avatar': string;
267
- bindError: string;
268
- };
269
- NavigationBar: {
270
- title: string;
271
- loading: string;
272
- 'front-color': string;
273
- 'background-color': string;
274
- 'color-animation-duration': string;
275
- 'color-animation-timing-func': string;
276
- };
277
- PageMeta: {
278
- 'background-text-style': string;
279
- 'background-color': string;
280
- 'background-color-top': string;
281
- 'background-color-bottom': string;
282
- 'scroll-top': string;
283
- 'scroll-duration': string;
284
- 'page-style': string;
285
- 'root-font-size': string;
286
- bindResize: string;
287
- bindScroll: string;
288
- bindScrollDone: string;
289
- };
290
- VoipRoom: {
291
- openid: string;
292
- mode: string;
293
- 'device-position': string;
294
- bindError: string;
295
- };
296
- AdCustom: {
297
- 'unit-id': string;
298
- 'ad-intervals': string;
299
- bindLoad: string;
300
- bindError: string;
301
- };
302
- PageContainer: {
303
- show: string;
304
- duration: string;
305
- 'z-index': string;
306
- overlay: string;
307
- position: string;
308
- round: string;
309
- 'close-on-slideDown': string;
310
- 'overlay-style': string;
311
- 'custom-style': string;
312
- bindBeforeEnter: string;
313
- bindEnter: string;
314
- bindAfterEnter: string;
315
- bindBeforeLeave: string;
316
- bindLeave: string;
317
- bindAfterLeave: string;
318
- bindClickOverlay: string;
319
- };
320
- ShareElement: {
321
- mapkey: string;
322
- transform: string;
323
- duration: string;
324
- 'easing-function': string;
325
- };
326
- KeyboardAccessory: {};
327
- };
@@ -1,35 +0,0 @@
1
- import { TaroPlatformBase } from '@tarojs/service';
2
- import { Template } from './template';
3
- import type { IOptions } from './index';
4
- export default class Weapp extends TaroPlatformBase {
5
- template: Template;
6
- platform: string;
7
- globalObject: string;
8
- projectConfigJson: string;
9
- runtimePath: string;
10
- taroComponentsPath: string;
11
- fileType: {
12
- templ: string;
13
- style: string;
14
- config: string;
15
- script: string;
16
- xs: string;
17
- };
18
- /**
19
- * 1. setupTransaction - init
20
- * 2. setup
21
- * 3. setupTransaction - close
22
- * 4. buildTransaction - init
23
- * 5. build
24
- * 6. buildTransaction - close
25
- */
26
- constructor(ctx: any, config: any, pluginOptions?: IOptions);
27
- /**
28
- * 增加组件或修改组件属性
29
- */
30
- modifyTemplate(pluginOptions?: IOptions): void;
31
- /**
32
- * 修改 Webpack 配置
33
- */
34
- modifyWebpackConfig(): void;
35
- }
@@ -1,22 +0,0 @@
1
- import { UnRecursiveTemplate } from '@tarojs/shared/dist/template';
2
- import type { IOptions } from './index';
3
- export 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
- constructor(pluginOptions?: IOptions);
18
- buildXsTemplate(): string;
19
- replacePropName(name: string, value: string, componentName: string): string;
20
- buildXSTepFocus(nn: string): string;
21
- modifyTemplateResult: (res: string, nodeName: string, _level: any, children: any) => string;
22
- }