@tarojs/plugin-platform-weapp 3.5.0-beta.4 → 3.5.0-beta.7

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,328 +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
- 'auto-fill': string;
67
- bindKeyboardHeightChange: string;
68
- };
69
- Picker: {
70
- 'header-text': string;
71
- };
72
- PickerView: {
73
- 'immediate-change': string;
74
- bindPickStart: string;
75
- bindPickEnd: string;
76
- };
77
- Slider: {
78
- color: string;
79
- 'selected-color': string;
80
- };
81
- Textarea: {
82
- 'show-confirm-bar': string;
83
- 'adjust-position': string;
84
- 'hold-keyboard': string;
85
- 'disable-default-padding': string;
86
- 'confirm-type': string;
87
- 'confirm-hold': string;
88
- bindKeyboardHeightChange: string;
89
- };
90
- ScrollView: {
91
- 'enable-flex': string;
92
- 'scroll-anchoring': string;
93
- 'refresher-enabled': string;
94
- 'refresher-threshold': string;
95
- 'refresher-default-style': string;
96
- 'refresher-background': string;
97
- 'refresher-triggered': string;
98
- enhanced: string;
99
- bounces: string;
100
- 'show-scrollbar': string;
101
- 'paging-enabled': string;
102
- 'fast-deceleration': string;
103
- bindDragStart: string;
104
- bindDragging: string;
105
- bindDragEnd: string;
106
- bindRefresherPulling: string;
107
- bindRefresherRefresh: string;
108
- bindRefresherRestore: string;
109
- bindRefresherAbort: string;
110
- };
111
- Swiper: {
112
- 'snap-to-edge': string;
113
- 'easing-function': string;
114
- };
115
- SwiperItem: {
116
- 'skip-hidden-item-layout': string;
117
- };
118
- Navigator: {
119
- target: string;
120
- 'app-id': string;
121
- path: string;
122
- 'extra-data': string;
123
- version: string;
124
- };
125
- Camera: {
126
- mode: string;
127
- resolution: string;
128
- 'frame-size': string;
129
- bindInitDone: string;
130
- bindScanCode: string;
131
- };
132
- Image: {
133
- webp: string;
134
- 'show-menu-by-longpress': string;
135
- };
136
- LivePlayer: {
137
- mode: string;
138
- 'sound-mode': string;
139
- 'auto-pause-if-navigate': string;
140
- 'auto-pause-if-open-native': string;
141
- 'picture-in-picture-mode': string;
142
- bindstatechange: string;
143
- bindfullscreenchange: string;
144
- bindnetstatus: string;
145
- bindAudioVolumeNotify: string;
146
- bindEnterPictureInPicture: string;
147
- bindLeavePictureInPicture: string;
148
- };
149
- Video: {
150
- title: string;
151
- 'play-btn-position': string;
152
- 'enable-play-gesture': string;
153
- 'auto-pause-if-navigate': string;
154
- 'auto-pause-if-open-native': string;
155
- 'vslide-gesture': string;
156
- 'vslide-gesture-in-fullscreen': string;
157
- 'ad-unit-id': string;
158
- 'poster-for-crawler': string;
159
- 'show-casting-button': string;
160
- 'picture-in-picture-mode': string;
161
- 'enable-auto-rotation': string;
162
- 'show-screen-lock-button': string;
163
- 'show-snapshot-button': string;
164
- 'show-background-playback-button': string;
165
- 'background-poster': string;
166
- bindProgress: string;
167
- bindLoadedMetadata: string;
168
- bindControlsToggle: string;
169
- bindEnterPictureInPicture: string;
170
- bindLeavePictureInPicture: string;
171
- bindSeekComplete: string;
172
- bindAdLoad: string;
173
- bindAdError: string;
174
- bindAdClose: string;
175
- bindAdPlay: string;
176
- };
177
- Canvas: {
178
- type: string;
179
- };
180
- Ad: {
181
- 'ad-type': string;
182
- 'ad-theme': string;
183
- };
184
- CoverView: {
185
- 'marker-id': string;
186
- slot: string;
187
- };
188
- Editor: {
189
- 'read-only': string;
190
- placeholder: string;
191
- 'show-img-size': string;
192
- 'show-img-toolbar': string;
193
- 'show-img-resize': string;
194
- focus: string;
195
- bindReady: string;
196
- bindFocus: string;
197
- bindBlur: string;
198
- bindInput: string;
199
- bindStatusChange: string;
200
- name: string;
201
- };
202
- MatchMedia: {
203
- 'min-width': string;
204
- 'max-width': string;
205
- width: string;
206
- 'min-height': string;
207
- 'max-height': string;
208
- height: string;
209
- orientation: string;
210
- };
211
- FunctionalPageNavigator: {
212
- version: string;
213
- name: string;
214
- args: string;
215
- bindSuccess: string;
216
- bindFail: string;
217
- bindCancel: string;
218
- };
219
- LivePusher: {
220
- url: string;
221
- mode: string;
222
- autopush: string;
223
- muted: string;
224
- 'enable-camera': string;
225
- 'auto-focus': string;
226
- orientation: string;
227
- beauty: string;
228
- whiteness: string;
229
- aspect: string;
230
- 'min-bitrate': string;
231
- 'max-bitrate': string;
232
- 'audio-quality': string;
233
- 'waiting-image': string;
234
- 'waiting-image-hash': string;
235
- zoom: string;
236
- 'device-position': string;
237
- 'background-mute': string;
238
- mirror: string;
239
- 'remote-mirror': string;
240
- 'local-mirror': string;
241
- 'audio-reverb-type': string;
242
- 'enable-mic': string;
243
- 'enable-agc': string;
244
- 'enable-ans': string;
245
- 'audio-volume-type': string;
246
- 'video-width': string;
247
- 'video-height': string;
248
- 'beauty-style': string;
249
- filter: string;
250
- animation: string;
251
- bindStateChange: string;
252
- bindNetStatus: string;
253
- bindBgmStart: string;
254
- bindBgmProgress: string;
255
- bindBgmComplete: string;
256
- bindAudioVolumeNotify: string;
257
- };
258
- OfficialAccount: {
259
- bindLoad: string;
260
- bindError: string;
261
- };
262
- OpenData: {
263
- type: string;
264
- 'open-gid': string;
265
- lang: string;
266
- 'default-text': string;
267
- 'default-avatar': string;
268
- bindError: string;
269
- };
270
- NavigationBar: {
271
- title: string;
272
- loading: string;
273
- 'front-color': string;
274
- 'background-color': string;
275
- 'color-animation-duration': string;
276
- 'color-animation-timing-func': string;
277
- };
278
- PageMeta: {
279
- 'background-text-style': string;
280
- 'background-color': string;
281
- 'background-color-top': string;
282
- 'background-color-bottom': string;
283
- 'scroll-top': string;
284
- 'scroll-duration': string;
285
- 'page-style': string;
286
- 'root-font-size': string;
287
- bindResize: string;
288
- bindScroll: string;
289
- bindScrollDone: string;
290
- };
291
- VoipRoom: {
292
- openid: string;
293
- mode: string;
294
- 'device-position': string;
295
- bindError: string;
296
- };
297
- AdCustom: {
298
- 'unit-id': string;
299
- 'ad-intervals': string;
300
- bindLoad: string;
301
- bindError: string;
302
- };
303
- PageContainer: {
304
- show: string;
305
- duration: string;
306
- 'z-index': string;
307
- overlay: string;
308
- position: string;
309
- round: string;
310
- 'close-on-slideDown': string;
311
- 'overlay-style': string;
312
- 'custom-style': string;
313
- bindBeforeEnter: string;
314
- bindEnter: string;
315
- bindAfterEnter: string;
316
- bindBeforeLeave: string;
317
- bindLeave: string;
318
- bindAfterLeave: string;
319
- bindClickOverlay: string;
320
- };
321
- ShareElement: {
322
- mapkey: string;
323
- transform: string;
324
- duration: string;
325
- 'easing-function': string;
326
- };
327
- KeyboardAccessory: {};
328
- };
@@ -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, componentAlias: any): string;
20
- buildXSTepFocus(nn: string): string;
21
- modifyTemplateResult: (res: string, nodeName: string, _level: any, children: any) => string;
22
- }