@dcloudio/uni-app-x 0.7.46 → 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.
- package/package.json +1 -1
- package/types/app.d.ts +160 -4
- package/types/native/IUniElement.d.ts +1248 -3
- package/types/native/IUniNativeViewElement.d.ts +4 -0
- package/types/native/UniAnimation.d.ts +22 -22
- package/types/native/UniElement.d.ts +6 -2
- package/types/native/UniFormControlElement.d.ts +1 -0
- package/types/{UniPage.d.ts → native/UniPage.d.ts} +9 -8
- package/types/page.d.ts +91 -94
- package/types/uni/uts-plugin-api/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +74 -427
- package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +18 -18
- package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +8 -8
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-document/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +8 -8
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +5 -5
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +46 -2
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +14 -14
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +162 -20
- package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +3 -2
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +1668 -1666
- package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +14 -14
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +3 -3
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +11 -11
- package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +12 -12
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +234 -92
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +7 -7
- package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +17 -17
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +18 -0
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +190 -0
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +7 -7
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +40 -40
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +6 -6
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +59 -59
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +18 -18
- package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +49 -49
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +20 -0
- package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +615 -0
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +30 -30
- package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +8 -8
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +10 -10
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +9 -9
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +21 -21
- package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/global.d.ts +34 -0
- package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/index.d.ts +16 -0
- package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/interface.d.ts +221 -0
- package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +16 -16
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +40 -40
- package/types/uni/uts-plugin-component/global.d.ts +1 -0
- package/types/uni/uts-plugin-component/index.d.ts +1 -0
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +34 -0
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +16 -0
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +221 -0
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +38 -11
- package/uts-plugin.d.ts +4 -0
- package/types/native/global.d.ts +0 -646
package/package.json
CHANGED
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
|
-
* @
|
|
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/
|
|
629
|
-
* @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/
|
|
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.
|
|
1045
|
+
* "unixVer": "4.61"
|
|
890
1046
|
* }
|
|
891
1047
|
* },
|
|
892
1048
|
* "mp": {
|