@tarojs/plugin-platform-ascf 3.6.38-alpha.0 → 4.0.8-beta.3

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