@dcloudio/uni-app-x 0.7.79 → 0.7.81

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 (147) hide show
  1. package/package.json +1 -1
  2. package/types/dom2/UniCSSProperty.d.ts +0 -1
  3. package/types/dom2/UniCSSTransition.d.ts +30 -6
  4. package/types/dom2/UniElement.d.ts +5 -0
  5. package/types/dom2/UniNativeBaseView.d.ts +5 -3
  6. package/types/dom2/UniNativeDefines.d.ts +10 -10
  7. package/types/dom2/UniPage.d.ts +36 -3
  8. package/types/dom2/UniTextElement.d.ts +5 -0
  9. package/types/dom2/global.d.ts +21 -7
  10. package/types/dom2/sharedData.d.ts +10 -1
  11. package/types/dom2-internal/UniElement.d.ts +15 -0
  12. package/types/native/UniPage.d.ts +97 -1
  13. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/global.d.ts +7 -6
  14. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/index.d.ts +4 -3
  15. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +2 -1
  16. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/global.d.ts +7 -6
  17. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/index.d.ts +4 -3
  18. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +69 -23
  19. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +7 -40
  20. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +4 -20
  21. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +66 -495
  22. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/global.d.ts +9 -8
  23. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/index.d.ts +5 -4
  24. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/interface.d.ts +29 -28
  25. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/global.d.ts +10 -0
  26. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/index.d.ts +5 -0
  27. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +400 -212
  28. package/types/uni/uts-plugin-component/lib/uni-web-view-global/utssdk/interface.d.ts +5 -0
  29. package/types/node_modules/.package-lock.json +0 -20
  30. package/types/node_modules/typescript/LICENSE.txt +0 -55
  31. package/types/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  32. package/types/node_modules/typescript/bin/tsc +0 -2
  33. package/types/node_modules/typescript/bin/tsserver +0 -2
  34. package/types/node_modules/typescript/lib/cancellationToken.js +0 -90
  35. package/types/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -1880
  36. package/types/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -1880
  37. package/types/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -1880
  38. package/types/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -1880
  39. package/types/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -1880
  40. package/types/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -1880
  41. package/types/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -1880
  42. package/types/node_modules/typescript/lib/lib.d.ts +0 -22
  43. package/types/node_modules/typescript/lib/lib.decorators.d.ts +0 -386
  44. package/types/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  45. package/types/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -33
  46. package/types/node_modules/typescript/lib/lib.dom.d.ts +0 -28596
  47. package/types/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -475
  48. package/types/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  49. package/types/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  50. package/types/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  51. package/types/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  52. package/types/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -495
  53. package/types/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  54. package/types/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  55. package/types/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  56. package/types/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  57. package/types/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  58. package/types/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  59. package/types/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  60. package/types/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  61. package/types/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  62. package/types/node_modules/typescript/lib/lib.es2017.d.ts +0 -25
  63. package/types/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  64. package/types/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  65. package/types/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  66. package/types/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  67. package/types/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  68. package/types/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  69. package/types/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  70. package/types/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  71. package/types/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -43
  72. package/types/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  73. package/types/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  74. package/types/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  75. package/types/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  76. package/types/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  77. package/types/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  78. package/types/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  79. package/types/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  80. package/types/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  81. package/types/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  82. package/types/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  83. package/types/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  84. package/types/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -727
  85. package/types/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  86. package/types/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  87. package/types/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  88. package/types/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  89. package/types/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  90. package/types/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  91. package/types/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -97
  92. package/types/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -42
  93. package/types/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -37
  94. package/types/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  95. package/types/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  96. package/types/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  97. package/types/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  98. package/types/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  99. package/types/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -76
  100. package/types/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  101. package/types/node_modules/typescript/lib/lib.es2022.d.ts +0 -26
  102. package/types/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -73
  103. package/types/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  104. package/types/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -117
  105. package/types/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  106. package/types/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  107. package/types/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +0 -39
  108. package/types/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  109. package/types/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  110. package/types/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  111. package/types/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  112. package/types/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  113. package/types/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  114. package/types/node_modules/typescript/lib/lib.es5.d.ts +0 -4585
  115. package/types/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  116. package/types/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  117. package/types/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -106
  118. package/types/node_modules/typescript/lib/lib.esnext.d.ts +0 -28
  119. package/types/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  120. package/types/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -185
  121. package/types/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  122. package/types/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  123. package/types/node_modules/typescript/lib/lib.esnext.object.d.ts +0 -29
  124. package/types/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -35
  125. package/types/node_modules/typescript/lib/lib.esnext.regexp.d.ts +0 -25
  126. package/types/node_modules/typescript/lib/lib.esnext.string.d.ts +0 -29
  127. package/types/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  128. package/types/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -33
  129. package/types/node_modules/typescript/lib/lib.webworker.d.ts +0 -9431
  130. package/types/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  131. package/types/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -276
  132. package/types/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -1880
  133. package/types/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -1880
  134. package/types/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -1880
  135. package/types/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -1880
  136. package/types/node_modules/typescript/lib/tsc.js +0 -129741
  137. package/types/node_modules/typescript/lib/tsserver.js +0 -621
  138. package/types/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  139. package/types/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  140. package/types/node_modules/typescript/lib/typesMap.json +0 -497
  141. package/types/node_modules/typescript/lib/typescript.d.ts +0 -11240
  142. package/types/node_modules/typescript/lib/typescript.js +0 -194910
  143. package/types/node_modules/typescript/lib/typingsInstaller.js +0 -236
  144. package/types/node_modules/typescript/lib/watchGuard.js +0 -53
  145. package/types/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -1880
  146. package/types/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -1880
  147. package/types/node_modules/typescript/package.json +0 -116
@@ -761,436 +761,6 @@ export type ChooseImageOptions = {
761
761
  export type ChooseImage = (options: ChooseImageOptions) => void
762
762
 
763
763
 
764
- export type PreviewImageSuccess = {
765
- /**
766
- * 调用API的名称
767
- */
768
- errSubject: string,
769
- /**
770
- * 描述信息
771
- */
772
- errMsg: string
773
- }
774
-
775
- export type LongPressActionsSuccessResult = {
776
- /**
777
- * 接口调用失败的回调函数
778
- */
779
- tapIndex : number,
780
- /**
781
- * 接口调用结束的回调函数(调用成功、失败都会执行)
782
- */
783
- index : number
784
- };
785
-
786
- export type LongPressActionsFailResult = IMediaError
787
- export type LongPressActionsOptions = {
788
- /**
789
- * 按钮的文字数组
790
- */
791
- itemList : string[],
792
- /**
793
- * 按钮的文字颜色,字符串格式,默认为"#000000"
794
- */
795
- itemColor : string | null,
796
- /**
797
- * 接口调用成功的回调函数
798
- */
799
- success : ((result : LongPressActionsSuccessResult) => void) | null,
800
- /**
801
- * 接口调用失败的回调函数
802
- */
803
- fail : ((result : LongPressActionsFailResult) => void) | null,
804
- /**
805
- * 接口调用结束的回调函数(调用成功、失败都会执行)
806
- */
807
- complete : ((result : any) => void) | null
808
- };
809
-
810
-
811
- export type PreviewImageFail = IMediaError;
812
- export type PreviewImageSuccessCallback = (callback: PreviewImageSuccess) => void
813
- export type PreviewImageFailCallback = (callback: PreviewImageFail) => void
814
- export type PreviewImageCompleteCallback = ChooseImageCompleteCallback
815
-
816
- export type PreviewImageOptions = {
817
- /**
818
- * current 为当前显示图片的链接/索引值,不填或填写的值无效则为 urls 的第一张。
819
- * @uniPlatform {
820
- * "app": {
821
- * "android": {
822
- * "osVer": "5.0",
823
- * "uniVer": "√",
824
- * "unixVer": "3.9"
825
- * },
826
- * "ios": {
827
- * "osVer": "10.0",
828
- * "uniVer": "√",
829
- * "unixVer": "4.11"
830
- * },
831
- * "harmony": {
832
- * "osVer": "5.0.0",
833
- * "uniVer": "4.23",
834
- * "unixVer": "4.61"
835
- * }
836
- * },
837
- * "web": {
838
- * "uniVer": "√",
839
- * "unixVer": "√"
840
- * }
841
- *}
842
- */
843
- current?: any | null,
844
- /**
845
- * 需要预览的图片链接列表
846
- * @uniPlatform {
847
- * "app": {
848
- * "android": {
849
- * "osVer": "5.0",
850
- * "uniVer": "√",
851
- * "unixVer": "3.9"
852
- * },
853
- * "ios": {
854
- * "osVer": "10.0",
855
- * "uniVer": "√",
856
- * "unixVer": "4.11"
857
- * },
858
- * "harmony": {
859
- * "osVer": "5.0.0",
860
- * "uniVer": "4.23",
861
- * "unixVer": "4.61"
862
- * }
863
- * },
864
- * "web": {
865
- * "uniVer": "√",
866
- * "unixVer": "√"
867
- * }
868
- *}
869
- */
870
- urls: Array<string.ImageURIString>,
871
- /**
872
- * 是否显示长按菜单
873
- *
874
- * @uniPlatform {
875
- * "app": {
876
- * "android": {
877
- * "osVer": "5.0",
878
- * "uniVer": "√",
879
- * "unixVer": "x"
880
- * },
881
- * "ios": {
882
- * "osVer": "10.0",
883
- * "uniVer": "√",
884
- * "unixVer": "x"
885
- * },
886
- * "harmony": {
887
- * "osVer": "5.0.0",
888
- * "uniVer": "4.23",
889
- * "unixVer": "4.61"
890
- * }
891
- * },
892
- * "mp": {
893
- * "weixin": {
894
- * "hostVer": "√",
895
- * "uniVer": "√",
896
- * "unixVer": "4.41"
897
- * },
898
- * "alipay": {
899
- * "hostVer": "√",
900
- * "uniVer": "√",
901
- * "unixVer": "x"
902
- * },
903
- * "baidu": {
904
- * "hostVer": "√",
905
- * "uniVer": "√",
906
- * "unixVer": "x"
907
- * },
908
- * "toutiao": {
909
- * "hostVer": "√",
910
- * "uniVer": "√",
911
- * "unixVer": "x"
912
- * },
913
- * "lark": {
914
- * "hostVer": "√",
915
- * "uniVer": "√",
916
- * "unixVer": "x"
917
- * },
918
- * "qq": {
919
- * "hostVer": "√",
920
- * "uniVer": "√",
921
- * "unixVer": "x"
922
- * },
923
- * "kuaishou": {
924
- * "hostVer": "√",
925
- * "uniVer": "√",
926
- * "unixVer": "x"
927
- * },
928
- * "jd": {
929
- * "hostVer": "√",
930
- * "uniVer": "√",
931
- * "unixVer": "x"
932
- * }
933
- * },
934
- * "web": {
935
- * "uniVer": "√",
936
- * "unixVer": "x"
937
- * }
938
- * }
939
- */
940
- showmenu?: boolean | null,
941
- /**
942
- * 图片指示器样式
943
- *
944
- * @uniPlatform {
945
- * "app": {
946
- * "android": {
947
- * "osVer": "5.0",
948
- * "uniVer": "√",
949
- * "unixVer": "3.9"
950
- * },
951
- * "ios": {
952
- * "osVer": "10.0",
953
- * "uniVer": "√",
954
- * "unixVer": "4.11"
955
- * },
956
- * "harmony": {
957
- * "osVer": "x",
958
- * "uniVer": "x",
959
- * "unixVer": "x"
960
- * }
961
- * },
962
- * "web": {
963
- * "uniVer": "√",
964
- * "unixVer": "x"
965
- * }
966
- * }
967
- */
968
- indicator?:
969
- /**
970
- * 底部圆点指示器
971
- */
972
- 'default' |
973
- /**
974
- * 顶部数字指示器
975
- */
976
- 'number' |
977
- /**
978
- * 不显示指示器
979
- */
980
- 'none' |
981
- null,
982
- /**
983
- * 是否可循环预览
984
- * @uniPlatform {
985
- * "app": {
986
- * "android": {
987
- * "osVer": "5.0",
988
- * "uniVer": "√",
989
- * "unixVer": "3.9"
990
- * },
991
- * "ios": {
992
- * "osVer": "10.0",
993
- * "uniVer": "√",
994
- * "unixVer": "4.11"
995
- * },
996
- * "harmony": {
997
- * "osVer": "x",
998
- * "uniVer": "x",
999
- * "unixVer": "x"
1000
- * }
1001
- * },
1002
- * "web": {
1003
- * "uniVer": "√",
1004
- * "unixVer": "x"
1005
- * }
1006
- * }
1007
- */
1008
- loop?: boolean | null,
1009
- /**
1010
- * 长按图片显示操作菜单。
1011
- * @uniPlatform {
1012
- * "app": {
1013
- * "android": {
1014
- * "osVer": "5.0",
1015
- * "uniVer": "√",
1016
- * "unixVer": "4.51"
1017
- * },
1018
- * "ios": {
1019
- * "osVer": "5.0",
1020
- * "uniVer": "√",
1021
- * "unixVer": "4.71"
1022
- * },
1023
- * "harmony": {
1024
- * "osVer": "x",
1025
- * "uniVer": "x",
1026
- * "unixVer": "x"
1027
- * }
1028
- * },
1029
- * "web": {
1030
- * "osVer": "x",
1031
- * "uniVer": "x",
1032
- * "unixVer": "x"
1033
- * },
1034
- * "mp": {
1035
- * "weixin": {
1036
- * "hostVer": "√",
1037
- * "uniVer": "√",
1038
- * "unixVer": "4.41"
1039
- * },
1040
- * "alipay": {
1041
- * "hostVer": "√",
1042
- * "uniVer": "√",
1043
- * "unixVer": "x"
1044
- * },
1045
- * "baidu": {
1046
- * "hostVer": "√",
1047
- * "uniVer": "√",
1048
- * "unixVer": "x"
1049
- * },
1050
- * "toutiao": {
1051
- * "hostVer": "√",
1052
- * "uniVer": "√",
1053
- * "unixVer": "x"
1054
- * },
1055
- * "lark": {
1056
- * "hostVer": "√",
1057
- * "uniVer": "√",
1058
- * "unixVer": "x"
1059
- * },
1060
- * "qq": {
1061
- * "hostVer": "√",
1062
- * "uniVer": "√",
1063
- * "unixVer": "x"
1064
- * },
1065
- * "kuaishou": {
1066
- * "hostVer": "√",
1067
- * "uniVer": "√",
1068
- * "unixVer": "x"
1069
- * },
1070
- * "jd": {
1071
- * "hostVer": "√",
1072
- * "uniVer": "√",
1073
- * "unixVer": "x"
1074
- * }
1075
- * }
1076
- * }
1077
- */
1078
- longPressActions ?: LongPressActionsOptions | null,
1079
- /**
1080
- * 接口调用成功的回调函数
1081
- * @uniPlatform {
1082
- * "app": {
1083
- * "android": {
1084
- * "osVer": "5.0",
1085
- * "uniVer": "√",
1086
- * "unixVer": "3.9"
1087
- * },
1088
- * "ios": {
1089
- * "osVer": "10.0",
1090
- * "uniVer": "√",
1091
- * "unixVer": "4.11"
1092
- * },
1093
- * "harmony": {
1094
- * "osVer": "5.0.0",
1095
- * "uniVer": "4.23",
1096
- * "unixVer": "4.61"
1097
- * }
1098
- * },
1099
- * "web": {
1100
- * "uniVer": "√",
1101
- * "unixVer": "√"
1102
- * }
1103
- *}
1104
- */
1105
- success?: (PreviewImageSuccessCallback) | null,
1106
- /**
1107
- * 接口调用失败的回调函数
1108
- *
1109
- * @uniPlatform {
1110
- * "app": {
1111
- * "android": {
1112
- * "osVer": "5.0",
1113
- * "uniVer": "√",
1114
- * "unixVer": "3.9"
1115
- * },
1116
- * "ios": {
1117
- * "osVer": "10.0",
1118
- * "uniVer": "√",
1119
- * "unixVer": "4.11"
1120
- * },
1121
- * "harmony": {
1122
- * "osVer": "5.0.0",
1123
- * "uniVer": "4.23",
1124
- * "unixVer": "4.61"
1125
- * }
1126
- * },
1127
- * "web": {
1128
- * "uniVer": "√",
1129
- * "unixVer": "√"
1130
- * }
1131
- *}
1132
- */
1133
- fail?: (PreviewImageFailCallback) | null,
1134
- /**
1135
- * 接口调用结束的回调函数(调用成功、失败都会执行)
1136
- *
1137
- * @uniPlatform {
1138
- * "app": {
1139
- * "android": {
1140
- * "osVer": "5.0",
1141
- * "uniVer": "√",
1142
- * "unixVer": "3.9"
1143
- * },
1144
- * "ios": {
1145
- * "osVer": "10.0",
1146
- * "uniVer": "√",
1147
- * "unixVer": "4.11"
1148
- * },
1149
- * "harmony": {
1150
- * "osVer": "5.0.0",
1151
- * "uniVer": "4.23",
1152
- * "unixVer": "4.61"
1153
- * }
1154
- * },
1155
- * "web": {
1156
- * "uniVer": "√",
1157
- * "unixVer": "√"
1158
- * }
1159
- *}
1160
- */
1161
- complete?: (PreviewImageCompleteCallback) | null
1162
- };
1163
-
1164
- export type PreviewImage = (options: PreviewImageOptions) => void;
1165
-
1166
- export type ClosePreviewImage = (options: ClosePreviewImageOptions) => void;
1167
- export type ClosePreviewImageSuccess = {
1168
- /**
1169
- * 错误信息
1170
- */
1171
- errMsg: string
1172
- };
1173
-
1174
- export type ClosePreviewImageFail = IMediaError;
1175
- export type ClosePreviewImageSuccessCallback = (callback: ClosePreviewImageSuccess) => void
1176
- export type ClosePreviewImageFailCallback = (callback: ClosePreviewImageFail) => void
1177
- export type ClosePreviewImageCompleteCallback = ChooseImageCompleteCallback
1178
-
1179
- export type ClosePreviewImageOptions = {
1180
- /**
1181
- * 接口调用成功的回调函数
1182
- */
1183
- success?: (ClosePreviewImageSuccessCallback) | null,
1184
- /**
1185
- * 接口调用失败的回调函数
1186
- */
1187
- fail?: (ClosePreviewImageFailCallback) | null,
1188
- /**
1189
- * 接口调用结束的回调函数(调用成功、失败都会执行)
1190
- */
1191
- complete?: (ClosePreviewImageCompleteCallback) | null
1192
- };
1193
-
1194
764
  export type GetImageInfo = (options: GetImageInfoOptions) => void;
1195
765
  export type GetImageInfoSuccess = {
1196
766
  /**
@@ -4973,70 +4543,70 @@ export interface Uni {
4973
4543
  /**
4974
4544
  * 预览图片
4975
4545
  * @description 预览图片
4976
- * @uniPlatform {
4977
- * "app": {
4978
- * "android": {
4979
- * "osVer": "5.0",
4980
- * "uniVer": "√",
4981
- * "unixVer": "3.9+"
4982
- * },
4983
- * "ios": {
4984
- * "osVer": "12.0",
4985
- * "uniVer": "√",
4986
- * "unixVer": "4.11"
4987
- * },
4988
- * "harmony": {
4989
- * "osVer": "5.0.0",
4990
- * "uniVer": "4.23",
4991
- * "unixVer": "4.61"
4992
- * }
4993
- * },
4994
- * "web": {
4995
- * "uniVer": "√",
4996
- * "unixVer": "4.0"
4997
- * },
4998
- * "mp": {
4999
- * "weixin": {
5000
- * "hostVer": "",
5001
- * "uniVer": "√",
5002
- * "unixVer": "4.41"
5003
- * },
5004
- * "alipay": {
5005
- * "hostVer": "√",
5006
- * "uniVer": "√",
5007
- * "unixVer": "x"
5008
- * },
5009
- * "baidu": {
5010
- * "hostVer": "√",
5011
- * "uniVer": "√",
5012
- * "unixVer": "x"
5013
- * },
5014
- * "toutiao": {
5015
- * "hostVer": "√",
5016
- * "uniVer": "√",
5017
- * "unixVer": "x"
5018
- * },
5019
- * "lark": {
5020
- * "hostVer": "√",
5021
- * "uniVer": "√",
5022
- * "unixVer": "x"
5023
- * },
5024
- * "qq": {
5025
- * "hostVer": "√",
5026
- * "uniVer": "√",
5027
- * "unixVer": "x"
5028
- * },
5029
- * "kuaishou": {
5030
- * "hostVer": "√",
5031
- * "uniVer": "√",
5032
- * "unixVer": "x"
5033
- * },
5034
- * "jd": {
5035
- * "hostVer": "x",
5036
- * "uniVer": "x",
5037
- * "unixVer": "x"
5038
- * }
5039
- * }
4546
+ * @uniPlatform {
4547
+ * "app": {
4548
+ * "android": {
4549
+ * "osVer": "5.0",
4550
+ * "uniVer": "√",
4551
+ * "unixVer": "3.9+"
4552
+ * },
4553
+ * "ios": {
4554
+ * "osVer": "12.0",
4555
+ * "uniVer": "√",
4556
+ * "unixVer": "4.11"
4557
+ * },
4558
+ * "harmony": {
4559
+ * "osVer": "5.0.0",
4560
+ * "uniVer": "4.23",
4561
+ * "unixVer": "4.61"
4562
+ * }
4563
+ * },
4564
+ * "web": {
4565
+ * "uniVer": "√",
4566
+ * "unixVer": "4.0"
4567
+ * },
4568
+ * "mp": {
4569
+ * "weixin": {
4570
+ * "hostVer": "1.9.6",
4571
+ * "uniVer": "√",
4572
+ * "unixVer": "4.41"
4573
+ * },
4574
+ * "alipay": {
4575
+ * "hostVer": "√",
4576
+ * "uniVer": "√",
4577
+ * "unixVer": "x"
4578
+ * },
4579
+ * "baidu": {
4580
+ * "hostVer": "√",
4581
+ * "uniVer": "√",
4582
+ * "unixVer": "x"
4583
+ * },
4584
+ * "toutiao": {
4585
+ * "hostVer": "√",
4586
+ * "uniVer": "√",
4587
+ * "unixVer": "x"
4588
+ * },
4589
+ * "lark": {
4590
+ * "hostVer": "√",
4591
+ * "uniVer": "√",
4592
+ * "unixVer": "x"
4593
+ * },
4594
+ * "qq": {
4595
+ * "hostVer": "√",
4596
+ * "uniVer": "√",
4597
+ * "unixVer": "x"
4598
+ * },
4599
+ * "kuaishou": {
4600
+ * "hostVer": "√",
4601
+ * "uniVer": "√",
4602
+ * "unixVer": "x"
4603
+ * },
4604
+ * "jd": {
4605
+ * "hostVer": "x",
4606
+ * "uniVer": "x",
4607
+ * "unixVer": "x"
4608
+ * }
4609
+ * }
5040
4610
  * }
5041
4611
  * @uniVueVersion 2,3
5042
4612
  * @example
@@ -5053,7 +4623,8 @@ export interface Uni {
5053
4623
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/preview-image.html
5054
4624
  * @autotest {
5055
4625
  generated:false
5056
- }
4626
+ }
4627
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.previewImage.html
5057
4628
  */
5058
4629
  previewImage(options: PreviewImageOptions): void;
5059
4630
  /**
@@ -1,22 +1,23 @@
1
1
  // 本文件为自动构建生成
2
- import {
3
- OnAppCrashCallback as OnAppCrashCallbackOrigin,
2
+ import {
3
+ OnAppCrashCallback as OnAppCrashCallbackOrigin,
4
4
  OnAppCrash as OnAppCrashOrigin,
5
5
  OffAppCrash as OffAppCrashOrigin,
6
6
  AppCrashInfo as AppCrashInfoOrigin,
7
7
  GetAppCrashInfo as GetAppCrashInfoOrigin,
8
8
  DeleteAppCrashInfo as DeleteAppCrashInfoOrigin,
9
- CreatAppCrash as CreatAppCrashOrigin,
9
+ CreateAppCrash as CreateAppCrashOrigin,
10
10
  Uni as UniOrigin
11
- } from './interface'
11
+ } from './interface'
12
12
 
13
- declare global {
14
- type OnAppCrashCallback = OnAppCrashCallbackOrigin
13
+ declare global {
14
+ type OnAppCrashCallback = OnAppCrashCallbackOrigin
15
15
  type OnAppCrash = OnAppCrashOrigin
16
16
  type OffAppCrash = OffAppCrashOrigin
17
17
  type AppCrashInfo = AppCrashInfoOrigin
18
18
  type GetAppCrashInfo = GetAppCrashInfoOrigin
19
19
  type DeleteAppCrashInfo = DeleteAppCrashInfoOrigin
20
- type CreatAppCrash = CreatAppCrashOrigin
20
+ type CreateAppCrash = CreateAppCrashOrigin
21
21
  interface Uni extends UniOrigin { }
22
- }
22
+ }
23
+
@@ -1,10 +1,11 @@
1
1
  // 本文件为自动构建生成
2
- export {
3
- OnAppCrashCallback,
2
+ export {
3
+ OnAppCrashCallback,
4
4
  OnAppCrash,
5
5
  OffAppCrash,
6
6
  AppCrashInfo,
7
7
  GetAppCrashInfo,
8
8
  DeleteAppCrashInfo,
9
- CreatAppCrash,
10
- } from './interface'
9
+ CreateAppCrash,
10
+ } from './interface'
11
+