taro-plugin-qd 1.0.0

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.
@@ -0,0 +1,482 @@
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
+ Input: {
16
+ 'always-embed': string;
17
+ 'adjust-position': string;
18
+ 'hold-keyboard': string;
19
+ 'safe-password-cert-path': string;
20
+ 'safe-password-length': string;
21
+ 'safe-password-time-stamp': string;
22
+ 'safe-password-nonce': string;
23
+ 'safe-password-salt': string;
24
+ 'safe-password-custom-hash': string;
25
+ bindKeyboardHeightChange: string;
26
+ bindNicknameReview: string;
27
+ };
28
+ Button: {
29
+ lang: string;
30
+ 'session-from': string;
31
+ 'send-message-title': string;
32
+ 'send-message-path': string;
33
+ 'send-message-img': string;
34
+ 'app-parameter': string;
35
+ 'show-message-card': string;
36
+ 'phone-number-no-quota-toast': string;
37
+ bindGetUserInfo: string;
38
+ bindContact: string;
39
+ bindGetPhoneNumber: string;
40
+ bindGetRealTimePhoneNumber: string;
41
+ bindChooseAvatar: string;
42
+ bindError: string;
43
+ bindOpenSetting: string;
44
+ bindLaunchApp: string;
45
+ bindAgreeprivacyauthorization: string;
46
+ bindSubmit: string;
47
+ };
48
+ Checkbox: {
49
+ color: string;
50
+ };
51
+ CheckboxGroup: {
52
+ bindChange: string;
53
+ };
54
+ Editor: {
55
+ 'read-only': string;
56
+ placeholder: string;
57
+ 'show-img-size': string;
58
+ 'show-img-toolbar': string;
59
+ 'show-img-resize': string;
60
+ bindReady: string;
61
+ bindFocus: string;
62
+ bindBlur: string;
63
+ bindInput: string;
64
+ bindStatusChange: string;
65
+ };
66
+ Form: {
67
+ 'report-submit': string;
68
+ 'report-submit-timeout': string;
69
+ bindSubmit: string;
70
+ bindReset: string;
71
+ };
72
+ Label: {
73
+ for: string;
74
+ };
75
+ Picker: {
76
+ 'header-text': string;
77
+ bindCancel: string;
78
+ };
79
+ PickerView: {
80
+ 'mask-style': string;
81
+ 'mask-class': string;
82
+ 'indicator-style': string;
83
+ 'indicator-class': string;
84
+ bindPickStart: string;
85
+ bindPickEnd: string;
86
+ };
87
+ Radio: {
88
+ color: string;
89
+ };
90
+ RadioGroup: {
91
+ bindChange: string;
92
+ };
93
+ Slider: {
94
+ color: string;
95
+ 'selected-color': string;
96
+ 'block-size': string;
97
+ 'block-color': string;
98
+ };
99
+ Switch: {
100
+ type: string;
101
+ color: string;
102
+ };
103
+ Textarea: {
104
+ 'show-confirm-bar': string;
105
+ 'adjust-position': string;
106
+ 'hold-keyboard': string;
107
+ 'disable-default-padding': string;
108
+ 'confirm-type': string;
109
+ 'confirm-hold': string;
110
+ bindKeyboardHeightChange: string;
111
+ };
112
+ Navigator: {
113
+ target: string;
114
+ 'open-type': string;
115
+ delta: string;
116
+ 'app-id': string;
117
+ path: string;
118
+ 'extra-data': string;
119
+ version: string;
120
+ 'hover-stop-propagation': string;
121
+ bindSuccess: string;
122
+ bindFail: string;
123
+ bindComplete: string;
124
+ };
125
+ Audio: {
126
+ id: string;
127
+ src: string;
128
+ loop: string;
129
+ controls: string;
130
+ poster: string;
131
+ name: string;
132
+ author: string;
133
+ bindError: string;
134
+ bindPlay: string;
135
+ bindPause: string;
136
+ bindTimeUpdate: string;
137
+ bindEnded: string;
138
+ };
139
+ Camera: {
140
+ mode: string;
141
+ 'device-position': string;
142
+ flash: string;
143
+ 'frame-size': string;
144
+ bindStop: string;
145
+ bindError: string;
146
+ bindInitDone: string;
147
+ bindScanCode: string;
148
+ };
149
+ Image: {
150
+ webp: string;
151
+ 'show-menu-by-longpress': string;
152
+ bindLoad: string;
153
+ bindError: string;
154
+ };
155
+ Video: {
156
+ 'show-mute-btn': string;
157
+ title: string;
158
+ 'play-btn-position': string;
159
+ 'enable-play-gesture': string;
160
+ 'auto-pause-if-navigate': string;
161
+ 'auto-pause-if-open-native': string;
162
+ 'vslide-gesture': string;
163
+ 'vslide-gesture-in-fullscreen': string;
164
+ 'ad-unit-id': string;
165
+ 'poster-for-crawler': string;
166
+ 'show-casting-button': string;
167
+ 'picture-in-picture-mode': string;
168
+ 'picture-in-picture-show-progress': string;
169
+ 'enable-auto-rotation': string;
170
+ 'show-screen-lock-button': string;
171
+ 'show-snapshot-button': string;
172
+ 'show-background-playback-button': string;
173
+ 'background-poster': string;
174
+ 'referrer-policy': string;
175
+ 'is-drm': string;
176
+ 'provision-url': string;
177
+ 'certificate-url': string;
178
+ 'license-url': string;
179
+ bindProgress: string;
180
+ bindLoadedMetaData: string;
181
+ bindControlsToggle: string;
182
+ bindEnterPictureInPicture: string;
183
+ bindLeavePictureInPicture: string;
184
+ bindSeekComplete: string;
185
+ bindAdLoad: string;
186
+ bindAdError: string;
187
+ bindAdClose: string;
188
+ bindAdPlay: string;
189
+ bindCastingUserSelect: string;
190
+ bindCastingStateChange: string;
191
+ bindCastingInterrupt: string;
192
+ };
193
+ LivePlayer: {
194
+ mode: string;
195
+ 'sound-mode': string;
196
+ 'auto-pause-if-navigate': string;
197
+ 'auto-pause-if-open-native': string;
198
+ 'picture-in-picture-mode': string;
199
+ 'referrer-policy': string;
200
+ bindStateChange: string;
201
+ bindFullScreenChange: string;
202
+ bindNetStatus: string;
203
+ bindAudioVolumeNotify: string;
204
+ bindEnterPictureInPicture: string;
205
+ bindLeavePictureInPicture: string;
206
+ };
207
+ LivePusher: {
208
+ url: string;
209
+ mode: string;
210
+ autopush: string;
211
+ muted: string;
212
+ 'enable-camera': string;
213
+ 'auto-focus': string;
214
+ orientation: string;
215
+ beauty: string;
216
+ whiteness: string;
217
+ aspect: string;
218
+ 'min-bitrate': string;
219
+ 'max-bitrate': string;
220
+ 'audio-quality': string;
221
+ 'waiting-image': string;
222
+ 'waiting-image-hash': string;
223
+ zoom: string;
224
+ 'device-position': string;
225
+ 'background-mute': string;
226
+ mirror: string;
227
+ 'remote-mirror': string;
228
+ 'local-mirror': string;
229
+ 'audio-reverb-type': string;
230
+ 'enable-mic': string;
231
+ 'enable-agc': string;
232
+ 'enable-ans': string;
233
+ 'audio-volume-type': string;
234
+ 'video-width': string;
235
+ 'video-height': string;
236
+ 'beauty-style': string;
237
+ filter: string;
238
+ 'picture-in-picture-mode': string;
239
+ bindStateChange: string;
240
+ bindNetStatus: string;
241
+ bindBgmStart: string;
242
+ bindBgmProgress: string;
243
+ bindBgmComplete: string;
244
+ bindAudioVolumeNotify: string;
245
+ bindEnterPictureInPicture: string;
246
+ bindLeavePictureInPicture: string;
247
+ };
248
+ Map: {
249
+ 'show-location': string;
250
+ polygons: string;
251
+ subkey: string;
252
+ 'layer-style': string;
253
+ rotate: string;
254
+ skew: string;
255
+ 'enable-3D': string;
256
+ 'show-compass': string;
257
+ 'show-scale': string;
258
+ 'enable-overlooking': string;
259
+ 'enable-zoom': string;
260
+ 'enable-scroll': string;
261
+ 'enable-rotate': string;
262
+ 'enable-satellite': string;
263
+ 'enable-traffic': string;
264
+ 'enable-poi': string;
265
+ 'enable-building': string;
266
+ setting: string;
267
+ bindMarkerTap: string;
268
+ bindLabelTap: string;
269
+ bindControlTap: string;
270
+ bindCalloutTap: string;
271
+ bindUpdated: string;
272
+ bindRegionChange: string;
273
+ bindPoiTap: string;
274
+ bindAnchorPointTap: string;
275
+ };
276
+ Canvas: {
277
+ type: string;
278
+ bindTouchStart: string;
279
+ bindTouchMove: string;
280
+ bindTouchEnd: string;
281
+ bindTouchCancel: string;
282
+ bindLongTap: string;
283
+ bindError: string;
284
+ };
285
+ WebView: {
286
+ src: string;
287
+ bindMessage: string;
288
+ bindLoad: string;
289
+ bindError: string;
290
+ };
291
+ Ad: {
292
+ 'unit-id': string;
293
+ 'ad-intervals': string;
294
+ 'ad-type': string;
295
+ 'ad-theme': string;
296
+ bindLoad: string;
297
+ bindError: string;
298
+ bindClose: string;
299
+ };
300
+ AdCustom: {
301
+ 'unit-id': string;
302
+ 'ad-intervals': string;
303
+ bindLoad: string;
304
+ bindError: string;
305
+ bindClose: string;
306
+ };
307
+ OfficialAccount: {
308
+ bindLoad: string;
309
+ bindError: string;
310
+ };
311
+ OpenData: {
312
+ type: string;
313
+ 'open-gid': string;
314
+ lang: string;
315
+ 'default-text': string;
316
+ 'default-avatar': string;
317
+ bindError: string;
318
+ };
319
+ PageMeta: {
320
+ 'background-text-style': string;
321
+ 'background-color': string;
322
+ 'background-color-top': string;
323
+ 'background-color-bottom': string;
324
+ 'scroll-top': string;
325
+ 'scroll-duration': string;
326
+ 'page-style': string;
327
+ 'root-font-size': string;
328
+ 'page-font-size': string;
329
+ bindResize: string;
330
+ bindScroll: string;
331
+ bindScrollDone: string;
332
+ };
333
+ NavigationBar: {
334
+ title: string;
335
+ loading: string;
336
+ 'front-color': string;
337
+ 'background-color': string;
338
+ 'color-animation-duration': string;
339
+ 'color-animation-timing-func': string;
340
+ };
341
+ ScrollView: {
342
+ 'enable-flex': string;
343
+ 'scroll-anchoring': string;
344
+ enhanced: string;
345
+ 'refresher-enabled': string;
346
+ 'refresher-threshold': string;
347
+ 'refresher-default-style': string;
348
+ 'refresher-background': string;
349
+ 'refresher-triggered': string;
350
+ bounces: string;
351
+ 'show-scrollbar': string;
352
+ 'paging-enabled': string;
353
+ 'fast-deceleration': string;
354
+ 'scroll-with-animation': string;
355
+ 'enable-back-to-top': string;
356
+ 'enable-passive': string;
357
+ 'scroll-into-view-alignment': string;
358
+ type: string;
359
+ reverse: string;
360
+ 'cache-extent': string;
361
+ padding: string;
362
+ bindDragStart: string;
363
+ bindDragging: string;
364
+ bindDragEnd: string;
365
+ bindRefresherPulling: string;
366
+ bindRefresherRefresh: string;
367
+ bindRefresherRestore: string;
368
+ bindRefresherAbort: string;
369
+ bindScrollStart: string;
370
+ bindScrollEnd: string;
371
+ };
372
+ Swiper: {
373
+ 'indicator-dots': string;
374
+ 'indicator-color': string;
375
+ 'indicator-active-color': string;
376
+ autoplay: string;
377
+ current: string;
378
+ interval: string;
379
+ duration: string;
380
+ circular: string;
381
+ vertical: string;
382
+ 'previous-margin': string;
383
+ 'next-margin': string;
384
+ 'snap-to-edge': string;
385
+ 'display-multiple-items': string;
386
+ 'easing-function': string;
387
+ bindChange: string;
388
+ bindTransition: string;
389
+ bindAnimationFinish: string;
390
+ };
391
+ SwiperItem: {
392
+ 'item-id': string;
393
+ };
394
+ MovableArea: {
395
+ 'scale-area': string;
396
+ };
397
+ MovableView: {
398
+ direction: string;
399
+ inertia: string;
400
+ 'out-of-bounds': string;
401
+ x: string;
402
+ y: string;
403
+ damping: string;
404
+ friction: string;
405
+ disabled: string;
406
+ scale: string;
407
+ 'scale-min': string;
408
+ 'scale-max': string;
409
+ 'scale-value': string;
410
+ animation: string;
411
+ bindChange: string;
412
+ bindScale: string;
413
+ bindHTouchMove: string;
414
+ bindVTouchMove: string;
415
+ };
416
+ MatchMedia: {
417
+ 'min-width': string;
418
+ 'max-width': string;
419
+ width: string;
420
+ 'min-height': string;
421
+ 'max-height': string;
422
+ height: string;
423
+ orientation: string;
424
+ };
425
+ ShareElement: {
426
+ key: string;
427
+ transform: string;
428
+ duration: string;
429
+ 'easing-function': string;
430
+ };
431
+ PageContainer: {
432
+ show: string;
433
+ duration: string;
434
+ 'z-index': string;
435
+ overlay: string;
436
+ position: string;
437
+ round: string;
438
+ 'close-on-slide-down': string;
439
+ 'overlay-style': string;
440
+ 'custom-style': string;
441
+ bindBeforeEnter: string;
442
+ bindEnter: string;
443
+ bindAfterEnter: string;
444
+ bindBeforeLeave: string;
445
+ bindLeave: string;
446
+ bindAfterLeave: string;
447
+ bindClickOverlay: string;
448
+ };
449
+ RootPortal: {};
450
+ VoipRoom: {
451
+ openid: string;
452
+ mode: string;
453
+ 'device-position': string;
454
+ bindError: string;
455
+ };
456
+ GridView: {
457
+ type: string;
458
+ 'cross-axis-count': string;
459
+ 'main-axis-gap': string;
460
+ 'cross-axis-gap': string;
461
+ 'max-cross-axis-extent': string;
462
+ padding: string;
463
+ };
464
+ ListView: {
465
+ 'scroll-y': string;
466
+ 'scroll-into-view': string;
467
+ 'scroll-with-animation': string;
468
+ padding: string;
469
+ 'upper-threshold': string;
470
+ 'lower-threshold': string;
471
+ bindScrollToUpper: string;
472
+ bindScrollToLower: string;
473
+ bindScroll: string;
474
+ };
475
+ StickyHeader: {
476
+ padding: string;
477
+ };
478
+ StickySection: {
479
+ padding: string;
480
+ 'push-pinned-header': string;
481
+ };
482
+ };
@@ -0,0 +1,8 @@
1
+ import { IPluginContext } from '@tarojs/service';
2
+ import { QD } from './program';
3
+ export { QD };
4
+ export interface IOptions {
5
+ enablekeyboardAccessory?: boolean;
6
+ }
7
+ declare const _default: (ctx: IPluginContext, options: IOptions) => void;
8
+ export default _default;
@@ -0,0 +1,21 @@
1
+ import { TaroPlatformBase } from '@tarojs/service';
2
+ import { Template } from './template';
3
+ import type { IOptions } from './index';
4
+ export declare class QD extends TaroPlatformBase {
5
+ platform: string;
6
+ globalObject: string;
7
+ projectConfigJson: string;
8
+ runtimePath: string;
9
+ taroComponentsPath: string;
10
+ fileType: {
11
+ templ: string;
12
+ style: string;
13
+ config: string;
14
+ script: string;
15
+ xs: string;
16
+ };
17
+ template: Template;
18
+ constructor(ctx: any, config: any, pluginOptions: IOptions);
19
+ modifyTemplate(pluginOptions: IOptions): void;
20
+ modifyWebpackConfig(): void;
21
+ }
@@ -0,0 +1 @@
1
+ export {};
package/index.js ADDED
@@ -0,0 +1,3 @@
1
+ module.exports = require('./dist/index.js').default
2
+ module.exports.default = module.exports
3
+ module.exports.QD = require('./dist/index.js').QD
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "taro-plugin-qd",
3
+ "version": "1.0.0",
4
+ "description": "Taro 插件 - 编译到千岛小程序",
5
+ "main": "dist/index.js",
6
+ "types": "dist/types/index.d.ts",
7
+ "files": [
8
+ "dist",
9
+ "index.js"
10
+ ],
11
+ "scripts": {
12
+ "dev": "rollup -c rollup.config.js --watch",
13
+ "build": "rollup -c rollup.config.js"
14
+ },
15
+ "keywords": [
16
+ "taro",
17
+ "taro-plugin",
18
+ "qd",
19
+ "miniprogram"
20
+ ],
21
+ "license": "MIT",
22
+ "peerDependencies": {
23
+ "@tarojs/service": ">=4.0.0",
24
+ "@tarojs/shared": ">=4.0.0"
25
+ },
26
+ "devDependencies": {
27
+ "@rollup/plugin-commonjs": "^25.0.0",
28
+ "@rollup/plugin-node-resolve": "^15.0.0",
29
+ "@rollup/plugin-typescript": "^11.0.0",
30
+ "@tarojs/service": "^4.0.0",
31
+ "@tarojs/shared": "^4.0.0",
32
+ "rollup": "^3.0.0",
33
+ "typescript": "^5.0.0",
34
+ "tslib": "^2.6.0"
35
+ }
36
+ }