@dcloudio/uni-app-x 0.7.47 → 0.7.48

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 (37) hide show
  1. package/package.json +1 -1
  2. package/types/app.d.ts +160 -4
  3. package/types/native/IUniElement.d.ts +1248 -3
  4. package/types/native/UniAnimation.d.ts +22 -22
  5. package/types/native/UniElement.d.ts +6 -2
  6. package/types/native/UniFormControlElement.d.ts +1 -0
  7. package/types/{UniPage.d.ts → native/UniPage.d.ts} +9 -8
  8. package/types/page.d.ts +91 -94
  9. package/types/uni/uts-plugin-api/global.d.ts +2 -0
  10. package/types/uni/uts-plugin-api/index.d.ts +2 -0
  11. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts +2 -0
  12. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/index.d.ts +1 -0
  13. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +46 -2
  14. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +142 -0
  15. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +3 -2
  16. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +1667 -1665
  17. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +143 -1
  18. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +18 -0
  19. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +8 -0
  20. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +190 -0
  21. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +20 -0
  22. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +9 -0
  23. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +615 -0
  24. package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/global.d.ts +34 -0
  25. package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/index.d.ts +16 -0
  26. package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/interface.d.ts +221 -0
  27. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +38 -38
  28. package/types/uni/uts-plugin-component/global.d.ts +1 -0
  29. package/types/uni/uts-plugin-component/index.d.ts +1 -0
  30. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +34 -0
  31. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +16 -0
  32. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +221 -0
  33. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +2 -0
  34. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +1 -0
  35. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +38 -11
  36. package/uts-plugin.d.ts +2 -0
  37. package/types/native/global.d.ts +0 -646
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-app-x",
3
- "version": "0.7.47",
3
+ "version": "0.7.48",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "main": "index.d.ts",
package/types/app.d.ts CHANGED
@@ -404,7 +404,7 @@ interface UniAppOptions<G extends GlobalData = GlobalData> {
404
404
  *
405
405
  * @tutorial https://uniapp.dcloud.net.cn/collocation/App.html#applifecycle
406
406
  * @tutorial_uni_app https://uniapp.dcloud.net.cn/collocation/App.html#applifecycle
407
- * @internal
407
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/collocation/App.html#applifecycle
408
408
  * @uniPlatform {
409
409
  * "app": {
410
410
  * "android": {
@@ -625,8 +625,8 @@ interface UniAppOptions<G extends GlobalData = GlobalData> {
625
625
  /**
626
626
  * 最后一个页面按下Android back键,常用于自定义退出。app-uvue-android 3.9+
627
627
  *
628
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/exit.html
629
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/exit.html
628
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/collocation/app.html#applifecycle
629
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/collocation/app.html#applifecycle
630
630
  * @tutorial_uni_app https://uniapp.dcloud.net.cn/collocation/App.html#applifecycle
631
631
  * @uniPlatform {
632
632
  * "app": {
@@ -699,6 +699,162 @@ interface UniAppOptions<G extends GlobalData = GlobalData> {
699
699
  *}
700
700
  */
701
701
  onLastPageBackPress?(): void;
702
+ /**
703
+ *
704
+ * 未处理的 Promise 拒绝事件监听函数
705
+ *
706
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/collocation/app.html#applifecycle
707
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/collocation/app.html#applifecycle
708
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/collocation/App.html#applifecycle
709
+ * @uniPlatform {
710
+ * "app": {
711
+ * "android": {
712
+ * "osVer": "5.0",
713
+ * "uniVer": "2.8.1",
714
+ * "unixVer": "x"
715
+ * },
716
+ * "ios": {
717
+ * "osVer": "10.0",
718
+ * "uniVer": "2.8.1",
719
+ * "unixVer": "x"
720
+ * }
721
+ * },
722
+ * "mp": {
723
+ * "weixin": {
724
+ * "hostVer": "1.9.90",
725
+ * "uniVer": "√",
726
+ * "unixVer": "4.41"
727
+ * },
728
+ * "alipay": {
729
+ * "hostVer": "x",
730
+ * "uniVer": "x",
731
+ * "unixVer": "x"
732
+ * },
733
+ * "baidu": {
734
+ * "hostVer": "x",
735
+ * "uniVer": "x",
736
+ * "unixVer": "x"
737
+ * },
738
+ * "toutiao": {
739
+ * "hostVer": "x",
740
+ * "uniVer": "x",
741
+ * "unixVer": "x"
742
+ * },
743
+ * "lark": {
744
+ * "hostVer": "x",
745
+ * "uniVer": "x",
746
+ * "unixVer": "x"
747
+ * },
748
+ * "qq": {
749
+ * "hostVer": "x",
750
+ * "uniVer": "x",
751
+ * "unixVer": "x"
752
+ * },
753
+ * "kuaishou": {
754
+ * "hostVer": "x",
755
+ * "uniVer": "x",
756
+ * "unixVer": "x"
757
+ * },
758
+ * "jd": {
759
+ * "hostVer": "x",
760
+ * "uniVer": "x",
761
+ * "unixVer": "x"
762
+ * },
763
+ * "360": {
764
+ * "hostVer": "x",
765
+ * "uniVer": "x",
766
+ * "unixVer": "x"
767
+ * }
768
+ * },
769
+ * "quickapp": {
770
+ * "uniVer": "x",
771
+ * "unixVer": "x"
772
+ * },
773
+ * "web": {
774
+ * "uniVer": "2.8.1",
775
+ * "unixVer": "4.0"
776
+ * }
777
+ *}
778
+ */
779
+ onUnhandledRejection?(): void;
780
+ /**
781
+ *
782
+ * 监听系统主题变化
783
+ *
784
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/collocation/app.html#applifecycle
785
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/collocation/app.html#applifecycle
786
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/collocation/App.html#applifecycle
787
+ * @uniPlatform {
788
+ * "app": {
789
+ * "android": {
790
+ * "osVer": "x",
791
+ * "uniVer": "x",
792
+ * "unixVer": "x"
793
+ * },
794
+ * "ios": {
795
+ * "osVer": "x",
796
+ * "uniVer": "x",
797
+ * "unixVer": "x"
798
+ * }
799
+ * },
800
+ * "mp": {
801
+ * "weixin": {
802
+ * "hostVer": "2.11.0",
803
+ * "uniVer": "√",
804
+ * "unixVer": "4.41"
805
+ * },
806
+ * "alipay": {
807
+ * "hostVer": "x",
808
+ * "uniVer": "x",
809
+ * "unixVer": "x"
810
+ * },
811
+ * "baidu": {
812
+ * "hostVer": "x",
813
+ * "uniVer": "x",
814
+ * "unixVer": "x"
815
+ * },
816
+ * "toutiao": {
817
+ * "hostVer": "x",
818
+ * "uniVer": "x",
819
+ * "unixVer": "x"
820
+ * },
821
+ * "lark": {
822
+ * "hostVer": "x",
823
+ * "uniVer": "x",
824
+ * "unixVer": "x"
825
+ * },
826
+ * "qq": {
827
+ * "hostVer": "x",
828
+ * "uniVer": "x",
829
+ * "unixVer": "x"
830
+ * },
831
+ * "kuaishou": {
832
+ * "hostVer": "x",
833
+ * "uniVer": "x",
834
+ * "unixVer": "x"
835
+ * },
836
+ * "jd": {
837
+ * "hostVer": "x",
838
+ * "uniVer": "x",
839
+ * "unixVer": "x"
840
+ * },
841
+ * "360": {
842
+ * "hostVer": "x",
843
+ * "uniVer": "x",
844
+ * "unixVer": "x"
845
+ * }
846
+ * },
847
+ * "quickapp": {
848
+ * "uniVer": "x",
849
+ * "unixVer": "x"
850
+ * },
851
+ * "web": {
852
+ * "uniVer": "x",
853
+ * "unixVer": "x"
854
+ * }
855
+ *}
856
+ */
857
+ onThemeChange?(): void;
702
858
  }
703
859
 
704
860
  /**
@@ -886,7 +1042,7 @@ export interface UniApp {
886
1042
  * "harmony": {
887
1043
  * "osVer": "3.0",
888
1044
  * "uniVer": "x",
889
- * "unixVer": "4.51"
1045
+ * "unixVer": "4.61"
890
1046
  * }
891
1047
  * },
892
1048
  * "mp": {