@tarojs/plugin-platform-weapp 3.5.0-alpha.13 → 3.5.0-alpha.16

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