@dcloudio/uni-app-x 0.7.39 → 0.7.40

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 (104) hide show
  1. package/package.json +9 -7
  2. package/types/UniPage.d.ts +168 -22
  3. package/types/app.d.ts +31 -31
  4. package/types/native/CSSStyleDeclaration.d.ts +16 -2
  5. package/types/native/DOMRect.d.ts +430 -10
  6. package/types/native/DrawableContext.d.ts +1137 -45
  7. package/types/native/IUniElement.d.ts +1875 -93
  8. package/types/native/UniNativePage.d.ts +94 -0
  9. package/types/native/UniResizeObserver.d.ts +215 -5
  10. package/types/native/UniSafeArea.d.ts +185 -0
  11. package/types/native/UniVideoElement.d.ts +432 -0
  12. package/types/native/global.d.ts +7 -0
  13. package/types/native/index.d.ts +1 -0
  14. package/types/uni/uni-map-tencent-map.d.ts +12 -8
  15. package/types/uni/uts-plugin-api/global.d.ts +62 -61
  16. package/types/uni/uts-plugin-api/index.d.ts +62 -61
  17. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +22 -0
  18. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +10 -0
  19. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +278 -0
  20. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1600 -59
  21. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +64 -63
  22. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +0 -2
  23. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +0 -1
  24. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +1150 -186
  25. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +64 -63
  26. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +550 -550
  27. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +69 -72
  28. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +533 -135
  29. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1508 -77
  30. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +423 -63
  31. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +284 -63
  32. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +2 -9
  33. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +1 -1
  34. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/global.d.ts +62 -62
  35. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/index.d.ts +31 -31
  36. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +57 -57
  37. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +312 -110
  38. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +62 -62
  39. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +472 -72
  40. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +126 -78
  41. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +317 -66
  42. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +570 -63
  43. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +570 -63
  44. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +110 -66
  45. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +595 -177
  46. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +284 -63
  47. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +45 -1
  48. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1387 -182
  49. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +67 -67
  50. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +318 -53
  51. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +162 -63
  52. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +241 -64
  53. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +6 -0
  54. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +3 -0
  55. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +4089 -659
  56. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +460 -252
  57. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +2345 -213
  58. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +1205 -149
  59. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +339 -33
  60. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +457 -53
  61. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +328 -63
  62. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +317 -66
  63. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +120 -71
  64. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +2157 -437
  65. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +260 -126
  66. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +467 -315
  67. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +553 -53
  68. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +1608 -630
  69. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +2492 -504
  70. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +176 -130
  71. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +704 -58
  72. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1230 -454
  73. package/types/uni/uts-plugin-biz/global.d.ts +6 -5
  74. package/types/uni/uts-plugin-biz/index.d.ts +6 -5
  75. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +406 -123
  76. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/global.d.ts +4 -0
  77. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/index.d.ts +2 -0
  78. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/interface.d.ts +60 -47
  79. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +71 -71
  80. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +3 -3
  81. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/global.d.ts +24 -0
  82. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/index.d.ts +11 -0
  83. package/types/uni/uts-plugin-biz/lib/uni-secure-network/utssdk/interface.d.ts +204 -0
  84. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +42 -38
  85. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +21 -19
  86. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +502 -255
  87. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/global.d.ts +64 -0
  88. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/index.d.ts +31 -0
  89. package/types/uni/uts-plugin-biz/lib/uni-video/utssdk/interface.d.ts +900 -0
  90. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +48 -48
  91. package/types/uni/uts-plugin-extend/global.d.ts +0 -4
  92. package/types/uni/uts-plugin-extend/index.d.ts +0 -4
  93. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +825 -273
  94. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4399 -339
  95. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +1000 -268
  96. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +1 -1
  97. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
  98. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +1495 -384
  99. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +222 -132
  100. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +923 -67
  101. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +2 -2
  102. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -7
  103. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -1
  104. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -716
@@ -445,26 +445,246 @@ export interface NodesRef {
445
445
  export interface SelectorQuery {
446
446
  /**
447
447
  * 将选择器的选取范围更改为自定义组件component内
448
+ * @uniPlatform {
449
+ * "mp": {
450
+ * "weixin": {
451
+ * "hostVer": "√",
452
+ * "uniVer": "√",
453
+ * "unixVer": "4.41"
454
+ * },
455
+ * "alipay": {
456
+ * "hostVer": "-",
457
+ * "uniVer": "-",
458
+ * "unixVer": "-"
459
+ * },
460
+ * "baidu": {
461
+ * "hostVer": "-",
462
+ * "uniVer": "-",
463
+ * "unixVer": "-"
464
+ * },
465
+ * "toutiao": {
466
+ * "hostVer": "-",
467
+ * "uniVer": "-",
468
+ * "unixVer": "-"
469
+ * },
470
+ * "lark": {
471
+ * "hostVer": "-",
472
+ * "uniVer": "-",
473
+ * "unixVer": "-"
474
+ * },
475
+ * "qq": {
476
+ * "hostVer": "-",
477
+ * "uniVer": "-",
478
+ * "unixVer": "-"
479
+ * },
480
+ * "kuaishou": {
481
+ * "hostVer": "-",
482
+ * "uniVer": "-",
483
+ * "unixVer": "-"
484
+ * },
485
+ * "jd": {
486
+ * "hostVer": "-",
487
+ * "uniVer": "-",
488
+ * "unixVer": "-"
489
+ * }
490
+ * }
491
+ * }
448
492
  */
449
493
  in(component: any | null): SelectorQuery
450
494
 
451
495
  /**
452
496
  * 在当前页面下选择第一个匹配选择器selector的节点
497
+ * @uniPlatform {
498
+ * "mp": {
499
+ * "weixin": {
500
+ * "hostVer": "√",
501
+ * "uniVer": "√",
502
+ * "unixVer": "4.41"
503
+ * },
504
+ * "alipay": {
505
+ * "hostVer": "-",
506
+ * "uniVer": "-",
507
+ * "unixVer": "-"
508
+ * },
509
+ * "baidu": {
510
+ * "hostVer": "-",
511
+ * "uniVer": "-",
512
+ * "unixVer": "-"
513
+ * },
514
+ * "toutiao": {
515
+ * "hostVer": "-",
516
+ * "uniVer": "-",
517
+ * "unixVer": "-"
518
+ * },
519
+ * "lark": {
520
+ * "hostVer": "-",
521
+ * "uniVer": "-",
522
+ * "unixVer": "-"
523
+ * },
524
+ * "qq": {
525
+ * "hostVer": "-",
526
+ * "uniVer": "-",
527
+ * "unixVer": "-"
528
+ * },
529
+ * "kuaishou": {
530
+ * "hostVer": "-",
531
+ * "uniVer": "-",
532
+ * "unixVer": "-"
533
+ * },
534
+ * "jd": {
535
+ * "hostVer": "-",
536
+ * "uniVer": "-",
537
+ * "unixVer": "-"
538
+ * }
539
+ * }
540
+ * }
453
541
  */
454
542
  select(selector: string): NodesRef
455
543
 
456
544
  /**
457
545
  * 在当前页面下选择匹配选择器selector的所有节点
546
+ * @uniPlatform {
547
+ * "mp": {
548
+ * "weixin": {
549
+ * "hostVer": "√",
550
+ * "uniVer": "√",
551
+ * "unixVer": "4.41"
552
+ * },
553
+ * "alipay": {
554
+ * "hostVer": "-",
555
+ * "uniVer": "-",
556
+ * "unixVer": "-"
557
+ * },
558
+ * "baidu": {
559
+ * "hostVer": "-",
560
+ * "uniVer": "-",
561
+ * "unixVer": "-"
562
+ * },
563
+ * "toutiao": {
564
+ * "hostVer": "-",
565
+ * "uniVer": "-",
566
+ * "unixVer": "-"
567
+ * },
568
+ * "lark": {
569
+ * "hostVer": "-",
570
+ * "uniVer": "-",
571
+ * "unixVer": "-"
572
+ * },
573
+ * "qq": {
574
+ * "hostVer": "-",
575
+ * "uniVer": "-",
576
+ * "unixVer": "-"
577
+ * },
578
+ * "kuaishou": {
579
+ * "hostVer": "-",
580
+ * "uniVer": "-",
581
+ * "unixVer": "-"
582
+ * },
583
+ * "jd": {
584
+ * "hostVer": "-",
585
+ * "uniVer": "-",
586
+ * "unixVer": "-"
587
+ * }
588
+ * }
589
+ * }
458
590
  */
459
591
  selectAll(selector: string): NodesRef
460
592
 
461
593
  /**
462
594
  * 选择显示区域
595
+ * @uniPlatform {
596
+ * "mp": {
597
+ * "weixin": {
598
+ * "hostVer": "√",
599
+ * "uniVer": "√",
600
+ * "unixVer": "4.41"
601
+ * },
602
+ * "alipay": {
603
+ * "hostVer": "-",
604
+ * "uniVer": "-",
605
+ * "unixVer": "-"
606
+ * },
607
+ * "baidu": {
608
+ * "hostVer": "-",
609
+ * "uniVer": "-",
610
+ * "unixVer": "-"
611
+ * },
612
+ * "toutiao": {
613
+ * "hostVer": "-",
614
+ * "uniVer": "-",
615
+ * "unixVer": "-"
616
+ * },
617
+ * "lark": {
618
+ * "hostVer": "-",
619
+ * "uniVer": "-",
620
+ * "unixVer": "-"
621
+ * },
622
+ * "qq": {
623
+ * "hostVer": "-",
624
+ * "uniVer": "-",
625
+ * "unixVer": "-"
626
+ * },
627
+ * "kuaishou": {
628
+ * "hostVer": "-",
629
+ * "uniVer": "-",
630
+ * "unixVer": "-"
631
+ * },
632
+ * "jd": {
633
+ * "hostVer": "-",
634
+ * "uniVer": "-",
635
+ * "unixVer": "-"
636
+ * }
637
+ * }
638
+ * }
463
639
  */
464
640
  selectViewport(): NodesRef
465
641
 
466
642
  /**
467
643
  * 执行所有的请求
644
+ * @uniPlatform {
645
+ * "mp": {
646
+ * "weixin": {
647
+ * "hostVer": "√",
648
+ * "uniVer": "√",
649
+ * "unixVer": "4.41"
650
+ * },
651
+ * "alipay": {
652
+ * "hostVer": "-",
653
+ * "uniVer": "-",
654
+ * "unixVer": "-"
655
+ * },
656
+ * "baidu": {
657
+ * "hostVer": "-",
658
+ * "uniVer": "-",
659
+ * "unixVer": "-"
660
+ * },
661
+ * "toutiao": {
662
+ * "hostVer": "-",
663
+ * "uniVer": "-",
664
+ * "unixVer": "-"
665
+ * },
666
+ * "lark": {
667
+ * "hostVer": "-",
668
+ * "uniVer": "-",
669
+ * "unixVer": "-"
670
+ * },
671
+ * "qq": {
672
+ * "hostVer": "-",
673
+ * "uniVer": "-",
674
+ * "unixVer": "-"
675
+ * },
676
+ * "kuaishou": {
677
+ * "hostVer": "-",
678
+ * "uniVer": "-",
679
+ * "unixVer": "-"
680
+ * },
681
+ * "jd": {
682
+ * "hostVer": "-",
683
+ * "uniVer": "-",
684
+ * "unixVer": "-"
685
+ * }
686
+ * }
687
+ * }
468
688
  */
469
689
  exec(callback: (result: Array<any>) => void | null): NodesRef | null
470
690
 
@@ -479,70 +699,71 @@ export interface Uni {
479
699
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/nodes-info.html
480
700
  * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/ui/nodes-info.html#createselectorquery
481
701
  * @uniPlatform {
482
- * "app": {
483
- * "android": {
484
- * "osVer": "5.0",
485
- * "uniVer": "√",
486
- * "unixVer": "3.91"
487
- * },
488
- * "ios": {
489
- * "osVer": "12.0",
490
- * "uniVer": "√",
491
- * "unixVer": "4.11"
492
- * },
493
- * "harmony": {
494
- * "osVer": "3.0",
495
- * "uniVer": "4.23",
496
- * "unixVer": "x"
497
- * }
498
- * },
499
- * "mp": {
500
- * "weixin": {
501
- * "hostVer": "",
502
- * "uniVer": "√",
503
- * "unixVer": "4.41"
504
- * },
505
- * "alipay": {
506
- * "hostVer": "√",
507
- * "uniVer": "√",
508
- * "unixVer": "√"
509
- * },
510
- * "baidu": {
511
- * "hostVer": "√",
512
- * "uniVer": "√",
513
- * "unixVer": "√"
514
- * },
515
- * "toutiao": {
516
- * "hostVer": "√",
517
- * "uniVer": "√",
518
- * "unixVer": "√"
519
- * },
520
- * "lark": {
521
- * "hostVer": "√",
522
- * "uniVer": "√",
523
- * "unixVer": "√"
524
- * },
525
- * "qq": {
526
- * "hostVer": "√",
527
- * "uniVer": "√",
528
- * "unixVer": "√"
529
- * },
530
- * "kuaishou": {
531
- * "hostVer": "√",
532
- * "uniVer": "√",
533
- * "unixVer": "√"
534
- * },
535
- * "jd": {
536
- * "hostVer": "√",
537
- * "uniVer": "√",
538
- * "unixVer": "√"
539
- * }
540
- * },
541
- * "web": {
542
- * "uniVer": "√",
543
- * "unixVer": "4.0"
544
- * }
702
+ * "app": {
703
+ * "android": {
704
+ * "osVer": "5.0",
705
+ * "uniVer": "√",
706
+ * "unixVer": "3.91"
707
+ * },
708
+ * "ios": {
709
+ * "osVer": "12.0",
710
+ * "uniVer": "√",
711
+ * "unixVer": "4.11"
712
+ * },
713
+ * "harmony": {
714
+ * "osVer": "3.0",
715
+ * "uniVer": "4.23",
716
+ * "unixVer": "x"
717
+ * }
718
+ * },
719
+ * "mp": {
720
+ * "weixin": {
721
+ * "hostVer": "1.4.0",
722
+ * "uniVer": "√",
723
+ * "unixVer": "4.41"
724
+ * },
725
+ * "alipay": {
726
+ * "hostVer": "√",
727
+ * "uniVer": "√",
728
+ * "unixVer": "√"
729
+ * },
730
+ * "baidu": {
731
+ * "hostVer": "√",
732
+ * "uniVer": "√",
733
+ * "unixVer": "√"
734
+ * },
735
+ * "toutiao": {
736
+ * "hostVer": "√",
737
+ * "uniVer": "√",
738
+ * "unixVer": "√"
739
+ * },
740
+ * "lark": {
741
+ * "hostVer": "√",
742
+ * "uniVer": "√",
743
+ * "unixVer": "√"
744
+ * },
745
+ * "qq": {
746
+ * "hostVer": "√",
747
+ * "uniVer": "√",
748
+ * "unixVer": "√"
749
+ * },
750
+ * "kuaishou": {
751
+ * "hostVer": "√",
752
+ * "uniVer": "√",
753
+ * "unixVer": "√"
754
+ * },
755
+ * "jd": {
756
+ * "hostVer": "√",
757
+ * "uniVer": "√",
758
+ * "unixVer": "√"
759
+ * }
760
+ * },
761
+ * "web": {
762
+ * "uniVer": "√",
763
+ * "unixVer": "4.0"
764
+ * }
545
765
  * }
766
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/wxml/SelectorQuery.html
546
767
  */
547
768
  createSelectorQuery(): SelectorQuery
548
769
  }
@@ -97,6 +97,7 @@ export type OpenDialogPageOptions = {
97
97
  /**
98
98
  * 窗口显示的动画类型
99
99
  *
100
+ * @defaultValue none
100
101
  * @uniPlatform
101
102
  {
102
103
  "app": {
@@ -813,16 +814,8 @@ export type CloseDialogPageOptions = {
813
814
  dialogPage?: UniPage | null
814
815
  /**
815
816
  * 窗口关闭的动画类型
816
- * - auto: 自动选择动画效果
817
- * - none: 无动画效果
818
- * - slide-out-right: 横向向右侧滑出屏幕动画
819
- * - slide-out-left: 横向向左侧滑出屏幕动画
820
- * - slide-out-top: 竖向向上侧滑出屏幕动画
821
- * - slide-out-bottom: 竖向向下侧滑出屏幕动画
822
- * - fade-out: 从不透明到透明逐渐隐藏动画
823
- * - zoom-in: 从大逐渐缩小关闭动画
824
- * - zoom-fade-in: 从大逐渐缩小并且从不透明到透明逐渐隐藏关闭动画
825
817
  *
818
+ * @defaultValue auto
826
819
  * @uniPlatform
827
820
  {
828
821
  "app": {
@@ -257,7 +257,7 @@ export interface Uni {
257
257
 
258
258
  /**
259
259
  * 触发自定义事件,附加的参数会传递给事件监听器。
260
- *
260
+ * 在iOS平台UTS环境下或者UTS和JS通信时参数仅支持基础类型、string、Array、UTSJSONObject,其中Array,UTSJSONObject也仅支持包含上述类型,on和emit类型需匹配否则会产生异常
261
261
  * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
262
262
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/event-bus.html#emit
263
263
  * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/window/communication.html#emit
@@ -1,36 +1,36 @@
1
1
  // 本文件为自动构建生成
2
2
  import {
3
- SaveFileSuccess as SaveFileSuccessOrigin,
4
- SaveFileSuccessCallback as SaveFileSuccessCallbackOrigin,
5
- SaveFileFail as SaveFileFailOrigin,
6
- SaveFileFailCallback as SaveFileFailCallbackOrigin,
7
- SaveFileCompleteCallback as SaveFileCompleteCallbackOrigin,
8
- SaveFileOptions as SaveFileOptionsOrigin,
9
- GetFileInfoSuccess as GetFileInfoSuccessOrigin,
10
- GetFileInfoSuccessCallback as GetFileInfoSuccessCallbackOrigin,
11
- GetFileInfoFail as GetFileInfoFailOrigin,
12
- GetFileInfoFailCallback as GetFileInfoFailCallbackOrigin,
13
- GetFileInfoCompleteCallback as GetFileInfoCompleteCallbackOrigin,
14
- GetFileInfoOptions as GetFileInfoOptionsOrigin,
15
- GetSavedFileInfoSuccess as GetSavedFileInfoSuccessOrigin,
16
- GetSavedFileInfoSuccessCallback as GetSavedFileInfoSuccessCallbackOrigin,
17
- GetSavedFileInfoFail as GetSavedFileInfoFailOrigin,
18
- GetSavedFileInfoFailCallback as GetSavedFileInfoFailCallbackOrigin,
19
- GetSavedFileInfoCompleteCallback as GetSavedFileInfoCompleteCallbackOrigin,
20
- GetSavedFileInfoOptions as GetSavedFileInfoOptionsOrigin,
21
- RemoveSavedFileSuccess as RemoveSavedFileSuccessOrigin,
22
- RemoveSavedFileSuccessCallback as RemoveSavedFileSuccessCallbackOrigin,
23
- RemoveSavedFileFail as RemoveSavedFileFailOrigin,
24
- RemoveSavedFileFailCallback as RemoveSavedFileFailCallbackOrigin,
25
- RemoveSavedFileCompleteCallback as RemoveSavedFileCompleteCallbackOrigin,
26
- RemoveSavedFileOptions as RemoveSavedFileOptionsOrigin,
27
- SavedFileListItem as SavedFileListItemOrigin,
28
- GetSavedFileListSuccess as GetSavedFileListSuccessOrigin,
29
- GetSavedFileListSuccessCallback as GetSavedFileListSuccessCallbackOrigin,
30
- GetSavedFileListFail as GetSavedFileListFailOrigin,
31
- GetSavedFileListFailCallback as GetSavedFileListFailCallbackOrigin,
32
- GetSavedFileListCompleteCallback as GetSavedFileListCompleteCallbackOrigin,
33
- GetSavedFileListOptions as GetSavedFileListOptionsOrigin,
3
+ LegacySaveFileSuccess as LegacySaveFileSuccessOrigin,
4
+ LegacySaveFileSuccessCallback as LegacySaveFileSuccessCallbackOrigin,
5
+ LegacySaveFileFail as LegacySaveFileFailOrigin,
6
+ LegacySaveFileFailCallback as LegacySaveFileFailCallbackOrigin,
7
+ LegacySaveFileCompleteCallback as LegacySaveFileCompleteCallbackOrigin,
8
+ LegacySaveFileOptions as LegacySaveFileOptionsOrigin,
9
+ LegacyGetFileInfoSuccess as LegacyGetFileInfoSuccessOrigin,
10
+ LegacyGetFileInfoSuccessCallback as LegacyGetFileInfoSuccessCallbackOrigin,
11
+ LegacyGetFileInfoFail as LegacyGetFileInfoFailOrigin,
12
+ LegacyGetFileInfoFailCallback as LegacyGetFileInfoFailCallbackOrigin,
13
+ LegacyGetFileInfoCompleteCallback as LegacyGetFileInfoCompleteCallbackOrigin,
14
+ LegacyGetFileInfoOptions as LegacyGetFileInfoOptionsOrigin,
15
+ LegacyGetSavedFileInfoSuccess as LegacyGetSavedFileInfoSuccessOrigin,
16
+ LegacyGetSavedFileInfoSuccessCallback as LegacyGetSavedFileInfoSuccessCallbackOrigin,
17
+ LegacyGetSavedFileInfoFail as LegacyGetSavedFileInfoFailOrigin,
18
+ LegacyGetSavedFileInfoFailCallback as LegacyGetSavedFileInfoFailCallbackOrigin,
19
+ LegacyGetSavedFileInfoCompleteCallback as LegacyGetSavedFileInfoCompleteCallbackOrigin,
20
+ LegacyGetSavedFileInfoOptions as LegacyGetSavedFileInfoOptionsOrigin,
21
+ LegacyRemoveSavedFileSuccess as LegacyRemoveSavedFileSuccessOrigin,
22
+ LegacyRemoveSavedFileSuccessCallback as LegacyRemoveSavedFileSuccessCallbackOrigin,
23
+ LegacyRemoveSavedFileFail as LegacyRemoveSavedFileFailOrigin,
24
+ LegacyRemoveSavedFileFailCallback as LegacyRemoveSavedFileFailCallbackOrigin,
25
+ LegacyRemoveSavedFileCompleteCallback as LegacyRemoveSavedFileCompleteCallbackOrigin,
26
+ LegacyRemoveSavedFileOptions as LegacyRemoveSavedFileOptionsOrigin,
27
+ LegacySavedFileListItem as LegacySavedFileListItemOrigin,
28
+ LegacyGetSavedFileListSuccess as LegacyGetSavedFileListSuccessOrigin,
29
+ LegacyGetSavedFileListSuccessCallback as LegacyGetSavedFileListSuccessCallbackOrigin,
30
+ LegacyGetSavedFileListFail as LegacyGetSavedFileListFailOrigin,
31
+ LegacyGetSavedFileListFailCallback as LegacyGetSavedFileListFailCallbackOrigin,
32
+ LegacyGetSavedFileListCompleteCallback as LegacyGetSavedFileListCompleteCallbackOrigin,
33
+ LegacyGetSavedFileListOptions as LegacyGetSavedFileListOptionsOrigin,
34
34
  SaveFile as SaveFileOrigin,
35
35
  GetFileInfo as GetFileInfoOrigin,
36
36
  GetSavedFileInfo as GetSavedFileInfoOrigin,
@@ -40,37 +40,37 @@ import {
40
40
  } from './interface'
41
41
 
42
42
  declare global {
43
- type SaveFileSuccess = SaveFileSuccessOrigin
44
- type SaveFileSuccessCallback = SaveFileSuccessCallbackOrigin
45
- type SaveFileFail = SaveFileFailOrigin
46
- type SaveFileFailCallback = SaveFileFailCallbackOrigin
47
- type SaveFileCompleteCallback = SaveFileCompleteCallbackOrigin
48
- type SaveFileOptions = SaveFileOptionsOrigin
49
- type GetFileInfoSuccess = GetFileInfoSuccessOrigin
50
- type GetFileInfoSuccessCallback = GetFileInfoSuccessCallbackOrigin
51
- type GetFileInfoFail = GetFileInfoFailOrigin
52
- type GetFileInfoFailCallback = GetFileInfoFailCallbackOrigin
53
- type GetFileInfoCompleteCallback = GetFileInfoCompleteCallbackOrigin
54
- type GetFileInfoOptions = GetFileInfoOptionsOrigin
55
- type GetSavedFileInfoSuccess = GetSavedFileInfoSuccessOrigin
56
- type GetSavedFileInfoSuccessCallback = GetSavedFileInfoSuccessCallbackOrigin
57
- type GetSavedFileInfoFail = GetSavedFileInfoFailOrigin
58
- type GetSavedFileInfoFailCallback = GetSavedFileInfoFailCallbackOrigin
59
- type GetSavedFileInfoCompleteCallback = GetSavedFileInfoCompleteCallbackOrigin
60
- type GetSavedFileInfoOptions = GetSavedFileInfoOptionsOrigin
61
- type RemoveSavedFileSuccess = RemoveSavedFileSuccessOrigin
62
- type RemoveSavedFileSuccessCallback = RemoveSavedFileSuccessCallbackOrigin
63
- type RemoveSavedFileFail = RemoveSavedFileFailOrigin
64
- type RemoveSavedFileFailCallback = RemoveSavedFileFailCallbackOrigin
65
- type RemoveSavedFileCompleteCallback = RemoveSavedFileCompleteCallbackOrigin
66
- type RemoveSavedFileOptions = RemoveSavedFileOptionsOrigin
67
- type SavedFileListItem = SavedFileListItemOrigin
68
- type GetSavedFileListSuccess = GetSavedFileListSuccessOrigin
69
- type GetSavedFileListSuccessCallback = GetSavedFileListSuccessCallbackOrigin
70
- type GetSavedFileListFail = GetSavedFileListFailOrigin
71
- type GetSavedFileListFailCallback = GetSavedFileListFailCallbackOrigin
72
- type GetSavedFileListCompleteCallback = GetSavedFileListCompleteCallbackOrigin
73
- type GetSavedFileListOptions = GetSavedFileListOptionsOrigin
43
+ type LegacySaveFileSuccess = LegacySaveFileSuccessOrigin
44
+ type LegacySaveFileSuccessCallback = LegacySaveFileSuccessCallbackOrigin
45
+ type LegacySaveFileFail = LegacySaveFileFailOrigin
46
+ type LegacySaveFileFailCallback = LegacySaveFileFailCallbackOrigin
47
+ type LegacySaveFileCompleteCallback = LegacySaveFileCompleteCallbackOrigin
48
+ type LegacySaveFileOptions = LegacySaveFileOptionsOrigin
49
+ type LegacyGetFileInfoSuccess = LegacyGetFileInfoSuccessOrigin
50
+ type LegacyGetFileInfoSuccessCallback = LegacyGetFileInfoSuccessCallbackOrigin
51
+ type LegacyGetFileInfoFail = LegacyGetFileInfoFailOrigin
52
+ type LegacyGetFileInfoFailCallback = LegacyGetFileInfoFailCallbackOrigin
53
+ type LegacyGetFileInfoCompleteCallback = LegacyGetFileInfoCompleteCallbackOrigin
54
+ type LegacyGetFileInfoOptions = LegacyGetFileInfoOptionsOrigin
55
+ type LegacyGetSavedFileInfoSuccess = LegacyGetSavedFileInfoSuccessOrigin
56
+ type LegacyGetSavedFileInfoSuccessCallback = LegacyGetSavedFileInfoSuccessCallbackOrigin
57
+ type LegacyGetSavedFileInfoFail = LegacyGetSavedFileInfoFailOrigin
58
+ type LegacyGetSavedFileInfoFailCallback = LegacyGetSavedFileInfoFailCallbackOrigin
59
+ type LegacyGetSavedFileInfoCompleteCallback = LegacyGetSavedFileInfoCompleteCallbackOrigin
60
+ type LegacyGetSavedFileInfoOptions = LegacyGetSavedFileInfoOptionsOrigin
61
+ type LegacyRemoveSavedFileSuccess = LegacyRemoveSavedFileSuccessOrigin
62
+ type LegacyRemoveSavedFileSuccessCallback = LegacyRemoveSavedFileSuccessCallbackOrigin
63
+ type LegacyRemoveSavedFileFail = LegacyRemoveSavedFileFailOrigin
64
+ type LegacyRemoveSavedFileFailCallback = LegacyRemoveSavedFileFailCallbackOrigin
65
+ type LegacyRemoveSavedFileCompleteCallback = LegacyRemoveSavedFileCompleteCallbackOrigin
66
+ type LegacyRemoveSavedFileOptions = LegacyRemoveSavedFileOptionsOrigin
67
+ type LegacySavedFileListItem = LegacySavedFileListItemOrigin
68
+ type LegacyGetSavedFileListSuccess = LegacyGetSavedFileListSuccessOrigin
69
+ type LegacyGetSavedFileListSuccessCallback = LegacyGetSavedFileListSuccessCallbackOrigin
70
+ type LegacyGetSavedFileListFail = LegacyGetSavedFileListFailOrigin
71
+ type LegacyGetSavedFileListFailCallback = LegacyGetSavedFileListFailCallbackOrigin
72
+ type LegacyGetSavedFileListCompleteCallback = LegacyGetSavedFileListCompleteCallbackOrigin
73
+ type LegacyGetSavedFileListOptions = LegacyGetSavedFileListOptionsOrigin
74
74
  type SaveFile = SaveFileOrigin
75
75
  type GetFileInfo = GetFileInfoOrigin
76
76
  type GetSavedFileInfo = GetSavedFileInfoOrigin
@@ -1,36 +1,36 @@
1
1
  // 本文件为自动构建生成
2
2
  export {
3
- SaveFileSuccess,
4
- SaveFileSuccessCallback,
5
- SaveFileFail,
6
- SaveFileFailCallback,
7
- SaveFileCompleteCallback,
8
- SaveFileOptions,
9
- GetFileInfoSuccess,
10
- GetFileInfoSuccessCallback,
11
- GetFileInfoFail,
12
- GetFileInfoFailCallback,
13
- GetFileInfoCompleteCallback,
14
- GetFileInfoOptions,
15
- GetSavedFileInfoSuccess,
16
- GetSavedFileInfoSuccessCallback,
17
- GetSavedFileInfoFail,
18
- GetSavedFileInfoFailCallback,
19
- GetSavedFileInfoCompleteCallback,
20
- GetSavedFileInfoOptions,
21
- RemoveSavedFileSuccess,
22
- RemoveSavedFileSuccessCallback,
23
- RemoveSavedFileFail,
24
- RemoveSavedFileFailCallback,
25
- RemoveSavedFileCompleteCallback,
26
- RemoveSavedFileOptions,
27
- SavedFileListItem,
28
- GetSavedFileListSuccess,
29
- GetSavedFileListSuccessCallback,
30
- GetSavedFileListFail,
31
- GetSavedFileListFailCallback,
32
- GetSavedFileListCompleteCallback,
33
- GetSavedFileListOptions,
3
+ LegacySaveFileSuccess,
4
+ LegacySaveFileSuccessCallback,
5
+ LegacySaveFileFail,
6
+ LegacySaveFileFailCallback,
7
+ LegacySaveFileCompleteCallback,
8
+ LegacySaveFileOptions,
9
+ LegacyGetFileInfoSuccess,
10
+ LegacyGetFileInfoSuccessCallback,
11
+ LegacyGetFileInfoFail,
12
+ LegacyGetFileInfoFailCallback,
13
+ LegacyGetFileInfoCompleteCallback,
14
+ LegacyGetFileInfoOptions,
15
+ LegacyGetSavedFileInfoSuccess,
16
+ LegacyGetSavedFileInfoSuccessCallback,
17
+ LegacyGetSavedFileInfoFail,
18
+ LegacyGetSavedFileInfoFailCallback,
19
+ LegacyGetSavedFileInfoCompleteCallback,
20
+ LegacyGetSavedFileInfoOptions,
21
+ LegacyRemoveSavedFileSuccess,
22
+ LegacyRemoveSavedFileSuccessCallback,
23
+ LegacyRemoveSavedFileFail,
24
+ LegacyRemoveSavedFileFailCallback,
25
+ LegacyRemoveSavedFileCompleteCallback,
26
+ LegacyRemoveSavedFileOptions,
27
+ LegacySavedFileListItem,
28
+ LegacyGetSavedFileListSuccess,
29
+ LegacyGetSavedFileListSuccessCallback,
30
+ LegacyGetSavedFileListFail,
31
+ LegacyGetSavedFileListFailCallback,
32
+ LegacyGetSavedFileListCompleteCallback,
33
+ LegacyGetSavedFileListOptions,
34
34
  SaveFile,
35
35
  GetFileInfo,
36
36
  GetSavedFileInfo,