@dcloudio/uni-app-x 0.7.0 → 0.7.2

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.
Files changed (27) hide show
  1. package/package.json +1 -1
  2. package/types/native/IUniElement.d.ts +1 -1
  3. package/types/native/InputBlurEvent.d.ts +4 -0
  4. package/types/native/NodeData.d.ts +3 -2
  5. package/types/native/PageNode.d.ts +6 -0
  6. package/types/native/{MouseEvent.d.ts → PointerEvent.ts} +2 -2
  7. package/types/native/TextareaFocusEvent.d.ts +14 -1
  8. package/types/native/UniDocument.d.ts +2 -0
  9. package/types/native/UniFormControl.d.ts +8 -0
  10. package/types/native/UniFormControlElement.d.ts +14 -0
  11. package/types/native/ViewToTempFilePathOptions.d.ts +9 -0
  12. package/types/native/global.d.ts +6 -3
  13. package/types/native/index.d.ts +3 -1
  14. package/types/page.d.ts +7 -7
  15. package/types/uni/core/lib/ui/create-selector-query/interface.d.ts +3 -3
  16. package/types/uni/core/lib/ui/page-scroll-to/interface.d.ts +5 -5
  17. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +6 -6
  18. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +15 -14
  19. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +125 -117
  20. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +200 -147
  21. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +29 -68
  22. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +15 -14
  23. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +114 -119
  24. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +16 -15
  25. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +149 -140
  26. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +15 -14
  27. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +195 -182
@@ -55,21 +55,21 @@ export type RequestOptions<T> = {
55
55
  /**
56
56
  * 跨域请求时是否携带凭证(cookies)
57
57
  *
58
- * @uniPlatform {
59
- * "app": {
60
- * "android": {
61
- * "osVer": "4.4",
62
- * "uniVer": "",
63
- * "unixVer": "x"
64
- * },
65
- * "ios": {
66
- * "osVer": "9.0",
67
- * "uniVer": "",
68
- * "unixVer": "x"
69
- * }
70
- * }
58
+ * @uniPlatform
59
+ * {
60
+ * "app": {
61
+ * "android": {
62
+ * "osVer": "4.4",
63
+ * "uniVer": "",
64
+ * "unixVer": "x"
65
+ * },
66
+ * "ios": {
67
+ * "osVer": "9.0",
68
+ * "uniVer": "",
69
+ * "unixVer": "x"
70
+ * }
71
+ * }
71
72
  * }
72
- *
73
73
  */
74
74
  withCredentials?: boolean | null,
75
75
  /**
@@ -156,20 +156,21 @@ export interface RequestTask {
156
156
  * @param {void}
157
157
  * @return {void}
158
158
  * @tutorial https://uniapp.dcloud.net.cn/api/request/request.html#request
159
- * @uniPlatform {
160
- * "app": {
161
- * "android": {
162
- * "osVer": "4.4",
163
- * "uniVer": "",
164
- * "unixVer": "3.9+"
165
- * },
166
- * "ios": {
167
- * "osVer": "9.0",
168
- * "uniVer": "",
169
- * "unixVer": "3.9+"
170
- * }
171
- * }
172
- * }
159
+ * @uniPlatform
160
+ * {
161
+ * "app": {
162
+ * "android": {
163
+ * "osVer": "4.4",
164
+ * "uniVer": "",
165
+ * "unixVer": "3.9+"
166
+ * },
167
+ * "ios": {
168
+ * "osVer": "9.0",
169
+ * "uniVer": "",
170
+ * "unixVer": "x"
171
+ * }
172
+ * }
173
+ * }
173
174
  * @example
174
175
  ```typescript
175
176
  var requestTask = uni.request({
@@ -198,20 +199,21 @@ export type UploadFileOptionFiles = {
198
199
  uri: string,
199
200
  /**
200
201
  * 要上传的文件对象
201
- * @uniPlatform {
202
- * "app": {
203
- * "android": {
204
- * "osVer": "4.4",
205
- * "uniVer": "",
206
- * "unixVer": "x"
207
- * },
208
- * "ios": {
209
- * "osVer": "9.0",
210
- * "uniVer": "",
211
- * "unixVer": "x"
212
- * }
213
- * }
214
- * }
202
+ * @uniPlatform
203
+ * {
204
+ * "app": {
205
+ * "android": {
206
+ * "osVer": "4.4",
207
+ * "uniVer": "",
208
+ * "unixVer": "x"
209
+ * },
210
+ * "ios": {
211
+ * "osVer": "9.0",
212
+ * "uniVer": "",
213
+ * "unixVer": "x"
214
+ * }
215
+ * }
216
+ * }
215
217
  */
216
218
  file?: any | null
217
219
  };
@@ -310,20 +312,21 @@ export interface UploadTask {
310
312
  * @param {void}
311
313
  * @return {void}
312
314
  * @tutorial https://uniapp.dcloud.net.cn/api/request/network-file.html#uploadfile
313
- * @uniPlatform {
314
- * "app": {
315
- * "android": {
316
- * "osVer": "4.4",
317
- * "uniVer": "",
318
- * "unixVer": "3.9+"
319
- * },
320
- * "ios": {
321
- * "osVer": "9.0",
322
- * "uniVer": "",
323
- * "unixVer": "x"
324
- * }
325
- * }
326
- * }
315
+ * @uniPlatform
316
+ * {
317
+ * "app": {
318
+ * "android": {
319
+ * "osVer": "4.4",
320
+ * "uniVer": "",
321
+ * "unixVer": "3.9+"
322
+ * },
323
+ * "ios": {
324
+ * "osVer": "9.0",
325
+ * "uniVer": "",
326
+ * "unixVer": "x"
327
+ * }
328
+ * }
329
+ * }
327
330
  * @example
328
331
  ```typescript
329
332
  var uploadTask = uni.uploadFile({
@@ -341,20 +344,21 @@ export interface UploadTask {
341
344
  * @param {UploadFileProgressUpdateCallback} callback
342
345
  * @return {void}
343
346
  * @tutorial https://uniapp.dcloud.net.cn/api/request/network-file.html#uploadfile
344
- * @uniPlatform {
345
- * "app": {
346
- * "android": {
347
- * "osVer": "4.4",
348
- * "uniVer": "",
349
- * "unixVer": "3.9+"
350
- * },
351
- * "ios": {
352
- * "osVer": "9.0",
353
- * "uniVer": "",
354
- * "unixVer": "x"
355
- * }
356
- * }
357
- * }
347
+ * @uniPlatform
348
+ * {
349
+ * "app": {
350
+ * "android": {
351
+ * "osVer": "4.4",
352
+ * "uniVer": "",
353
+ * "unixVer": "3.9+"
354
+ * },
355
+ * "ios": {
356
+ * "osVer": "9.0",
357
+ * "uniVer": "",
358
+ * "unixVer": "x"
359
+ * }
360
+ * }
361
+ * }
358
362
  * @example
359
363
  ```typescript
360
364
  uploadTask.onProgressUpdate((res) => {
@@ -453,20 +457,21 @@ export interface DownloadTask {
453
457
  * @param {void}
454
458
  * @return {void}
455
459
  * @tutorial https://uniapp.dcloud.net.cn/api/request/network-file.html#downloadfile
456
- * @uniPlatform {
457
- * "app": {
458
- * "android": {
459
- * "osVer": "4.4",
460
- * "uniVer": "",
461
- * "unixVer": "3.9+"
462
- * },
463
- * "ios": {
464
- * "osVer": "9.0",
465
- * "uniVer": "",
466
- * "unixVer": "x"
467
- * }
468
- * }
469
- * }
460
+ * @uniPlatform
461
+ * {
462
+ * "app": {
463
+ * "android": {
464
+ * "osVer": "4.4",
465
+ * "uniVer": "",
466
+ * "unixVer": "3.9+"
467
+ * },
468
+ * "ios": {
469
+ * "osVer": "9.0",
470
+ * "uniVer": "",
471
+ * "unixVer": "x"
472
+ * }
473
+ * }
474
+ * }
470
475
  * @example
471
476
  ```typescript
472
477
  var downloadTask = uni.downloadFile({
@@ -484,20 +489,21 @@ export interface DownloadTask {
484
489
  * @param {DownloadFileProgressUpdateCallback} callback
485
490
  * @return {void}
486
491
  * @tutorial https://uniapp.dcloud.net.cn/api/request/network-file.html#downloadfile
487
- * @uniPlatform {
488
- * "app": {
489
- * "android": {
490
- * "osVer": "4.4",
491
- * "uniVer": "",
492
- * "unixVer": "3.9+"
493
- * },
494
- * "ios": {
495
- * "osVer": "9.0",
496
- * "uniVer": "",
497
- * "unixVer": "x"
498
- * }
499
- * }
500
- * }
492
+ * @uniPlatform
493
+ * {
494
+ * "app": {
495
+ * "android": {
496
+ * "osVer": "4.4",
497
+ * "uniVer": "",
498
+ * "unixVer": "3.9+"
499
+ * },
500
+ * "ios": {
501
+ * "osVer": "9.0",
502
+ * "uniVer": "",
503
+ * "unixVer": "x"
504
+ * }
505
+ * }
506
+ * }
501
507
  * @example
502
508
  ```typescript
503
509
  downloadTask.onProgressUpdate((res) => {
@@ -519,20 +525,21 @@ export interface Uni {
519
525
  * @param {RequestOptions} options
520
526
  * @return {RequestTask}
521
527
  * @tutorial https://uniapp.dcloud.net.cn/api/request/request.html
522
- * @uniPlatform {
523
- * "app": {
524
- * "android": {
525
- * "osVer": "4.4",
526
- * "uniVer": "",
527
- * "unixVer": "3.9+"
528
- * },
529
- * "ios": {
530
- * "osVer": "9.0",
531
- * "uniVer": "",
532
- * "unixVer": "3.9+"
533
- * }
534
- * }
535
- * }
528
+ * @uniPlatform
529
+ * {
530
+ * "app": {
531
+ * "android": {
532
+ * "osVer": "4.4",
533
+ * "uniVer": "",
534
+ * "unixVer": "3.9+"
535
+ * },
536
+ * "ios": {
537
+ * "osVer": "9.0",
538
+ * "uniVer": "",
539
+ * "unixVer": "x"
540
+ * }
541
+ * }
542
+ * }
536
543
  * @example
537
544
  ```typescript
538
545
  uni.request({
@@ -570,20 +577,21 @@ export interface Uni {
570
577
  * @param {UploadFileOptions} options
571
578
  * @return {UploadTask}
572
579
  * @tutorial https://uniapp.dcloud.net.cn/api/request/network-file.html#uploadfile
573
- * @uniPlatform {
574
- * "app": {
575
- * "android": {
576
- * "osVer": "4.4",
577
- * "uniVer": "",
578
- * "unixVer": "3.9+"
579
- * },
580
- * "ios": {
581
- * "osVer": "9.0",
582
- * "uniVer": "",
583
- * "unixVer": "x"
584
- * }
585
- * }
586
- * }
580
+ * @uniPlatform
581
+ * {
582
+ * "app": {
583
+ * "android": {
584
+ * "osVer": "4.4",
585
+ * "uniVer": "",
586
+ * "unixVer": "3.9+"
587
+ * },
588
+ * "ios": {
589
+ * "osVer": "9.0",
590
+ * "uniVer": "",
591
+ * "unixVer": "x"
592
+ * }
593
+ * }
594
+ * }
587
595
  * @example
588
596
  ```typescript
589
597
  uni.uploadFile({
@@ -607,20 +615,21 @@ export interface Uni {
607
615
  * @param {DownloadFileOptions} options
608
616
  * @return {DownloadTask}
609
617
  * @tutorial https://uniapp.dcloud.net.cn/api/request/network-file.html#downloadfile
610
- * @uniPlatform {
611
- * "app": {
612
- * "android": {
613
- * "osVer": "4.4",
614
- * "uniVer": "",
615
- * "unixVer": "3.9+"
616
- * },
617
- * "ios": {
618
- * "osVer": "9.0",
619
- * "uniVer": "",
620
- * "unixVer": "x"
621
- * }
622
- * }
623
- * }
618
+ * @uniPlatform
619
+ * {
620
+ * "app": {
621
+ * "android": {
622
+ * "osVer": "4.4",
623
+ * "uniVer": "",
624
+ * "unixVer": "3.9+"
625
+ * },
626
+ * "ios": {
627
+ * "osVer": "9.0",
628
+ * "uniVer": "",
629
+ * "unixVer": "x"
630
+ * }
631
+ * }
632
+ * }
624
633
  * @example
625
634
  ```typescript
626
635
  uni.downloadFile({
@@ -7,20 +7,21 @@ export interface Uni {
7
7
  * @param {OpenAppAuthorizeSettingOptions} options
8
8
  * @return {void}
9
9
  * @tutorial http://uniapp.dcloud.io/api/system/openappauthorizesetting
10
- * @uniPlatform {
11
- * "app": {
12
- * "android": {
13
- * "osVer": "4.4",
14
- * "uniVer": "",
15
- * "unixVer": "3.9+"
16
- * },
17
- * "ios": {
18
- * "osVer": "9.0",
19
- * "uniVer": "",
20
- * "unixVer": "x"
21
- * }
22
- * }
23
- * }
10
+ * @uniPlatform
11
+ * {
12
+ * "app": {
13
+ * "android": {
14
+ * "osVer": "4.4",
15
+ * "uniVer": "",
16
+ * "unixVer": "3.9+"
17
+ * },
18
+ * "ios": {
19
+ * "osVer": "9.0",
20
+ * "uniVer": "",
21
+ * "unixVer": "x"
22
+ * }
23
+ * }
24
+ * }
24
25
  * @example
25
26
  ```typescript
26
27
  uni.openAppAuthorizeSetting({});