@dcloudio/uni-app-x 0.7.119 → 0.7.121

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 (189) hide show
  1. package/package.json +1 -1
  2. package/types/app.d.ts +2 -1
  3. package/types/dom2-internal/UniPage.d.ts +6 -0
  4. package/types/dom2-internal/sharedData.d.ts +5 -1
  5. package/types/native/DrawableContext.d.ts +104 -52
  6. package/types/native/IUniElement.d.ts +4 -2
  7. package/types/node_modules/.package-lock.json +20 -0
  8. package/types/node_modules/typescript/LICENSE.txt +55 -0
  9. package/types/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
  10. package/types/node_modules/typescript/bin/tsc +2 -0
  11. package/types/node_modules/typescript/bin/tsserver +2 -0
  12. package/types/node_modules/typescript/lib/cancellationToken.js +90 -0
  13. package/types/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +1880 -0
  14. package/types/node_modules/typescript/lib/de/diagnosticMessages.generated.json +1880 -0
  15. package/types/node_modules/typescript/lib/es/diagnosticMessages.generated.json +1880 -0
  16. package/types/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +1880 -0
  17. package/types/node_modules/typescript/lib/it/diagnosticMessages.generated.json +1880 -0
  18. package/types/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +1880 -0
  19. package/types/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +1880 -0
  20. package/types/node_modules/typescript/lib/lib.d.ts +22 -0
  21. package/types/node_modules/typescript/lib/lib.decorators.d.ts +386 -0
  22. package/types/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
  23. package/types/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +33 -0
  24. package/types/node_modules/typescript/lib/lib.dom.d.ts +28596 -0
  25. package/types/node_modules/typescript/lib/lib.dom.iterable.d.ts +475 -0
  26. package/types/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
  27. package/types/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
  28. package/types/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
  29. package/types/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
  30. package/types/node_modules/typescript/lib/lib.es2015.iterable.d.ts +495 -0
  31. package/types/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
  32. package/types/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
  33. package/types/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
  34. package/types/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
  35. package/types/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  36. package/types/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
  37. package/types/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
  38. package/types/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
  39. package/types/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
  40. package/types/node_modules/typescript/lib/lib.es2017.d.ts +25 -0
  41. package/types/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
  42. package/types/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
  43. package/types/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
  44. package/types/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
  45. package/types/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
  46. package/types/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
  47. package/types/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
  48. package/types/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  49. package/types/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +43 -0
  50. package/types/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
  51. package/types/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
  52. package/types/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
  53. package/types/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
  54. package/types/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
  55. package/types/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
  56. package/types/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
  57. package/types/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
  58. package/types/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
  59. package/types/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
  60. package/types/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
  61. package/types/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
  62. package/types/node_modules/typescript/lib/lib.es2020.bigint.d.ts +727 -0
  63. package/types/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
  64. package/types/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
  65. package/types/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
  66. package/types/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
  67. package/types/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
  68. package/types/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
  69. package/types/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +97 -0
  70. package/types/node_modules/typescript/lib/lib.es2020.string.d.ts +42 -0
  71. package/types/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +37 -0
  72. package/types/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
  73. package/types/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
  74. package/types/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
  75. package/types/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
  76. package/types/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
  77. package/types/node_modules/typescript/lib/lib.es2021.weakref.d.ts +76 -0
  78. package/types/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
  79. package/types/node_modules/typescript/lib/lib.es2022.d.ts +26 -0
  80. package/types/node_modules/typescript/lib/lib.es2022.error.d.ts +73 -0
  81. package/types/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
  82. package/types/node_modules/typescript/lib/lib.es2022.intl.d.ts +117 -0
  83. package/types/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
  84. package/types/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
  85. package/types/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +39 -0
  86. package/types/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
  87. package/types/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
  88. package/types/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  89. package/types/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
  90. package/types/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
  91. package/types/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
  92. package/types/node_modules/typescript/lib/lib.es5.d.ts +4585 -0
  93. package/types/node_modules/typescript/lib/lib.es6.d.ts +23 -0
  94. package/types/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
  95. package/types/node_modules/typescript/lib/lib.esnext.collection.d.ts +106 -0
  96. package/types/node_modules/typescript/lib/lib.esnext.d.ts +28 -0
  97. package/types/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
  98. package/types/node_modules/typescript/lib/lib.esnext.disposable.d.ts +185 -0
  99. package/types/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
  100. package/types/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
  101. package/types/node_modules/typescript/lib/lib.esnext.object.d.ts +29 -0
  102. package/types/node_modules/typescript/lib/lib.esnext.promise.d.ts +35 -0
  103. package/types/node_modules/typescript/lib/lib.esnext.regexp.d.ts +25 -0
  104. package/types/node_modules/typescript/lib/lib.esnext.string.d.ts +29 -0
  105. package/types/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
  106. package/types/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +33 -0
  107. package/types/node_modules/typescript/lib/lib.webworker.d.ts +9431 -0
  108. package/types/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
  109. package/types/node_modules/typescript/lib/lib.webworker.iterable.d.ts +276 -0
  110. package/types/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +1880 -0
  111. package/types/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +1880 -0
  112. package/types/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +1880 -0
  113. package/types/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +1880 -0
  114. package/types/node_modules/typescript/lib/tsc.js +129741 -0
  115. package/types/node_modules/typescript/lib/tsserver.js +621 -0
  116. package/types/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
  117. package/types/node_modules/typescript/lib/tsserverlibrary.js +21 -0
  118. package/types/node_modules/typescript/lib/typesMap.json +497 -0
  119. package/types/node_modules/typescript/lib/typescript.d.ts +11240 -0
  120. package/types/node_modules/typescript/lib/typescript.js +194910 -0
  121. package/types/node_modules/typescript/lib/typingsInstaller.js +236 -0
  122. package/types/node_modules/typescript/lib/watchGuard.js +53 -0
  123. package/types/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +1880 -0
  124. package/types/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +1880 -0
  125. package/types/node_modules/typescript/package.json +116 -0
  126. package/types/page.d.ts +2 -2
  127. package/types/uni/env/index.d.ts +2 -1
  128. package/types/uni/uts-plugin-api/global.d.ts +0 -2
  129. package/types/uni/uts-plugin-api/index.d.ts +0 -2
  130. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/global.d.ts +0 -2
  131. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/index.d.ts +0 -1
  132. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +0 -1
  133. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +110 -110
  134. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +1 -0
  135. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +72 -531
  136. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +72 -531
  137. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +214 -549
  138. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +72 -68
  139. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +8 -12
  140. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +4 -6
  141. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +1741 -905
  142. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +12 -12
  143. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +534 -337
  144. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +1157 -830
  145. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +4 -4
  146. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +2 -2
  147. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +948 -340
  148. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +3 -1
  149. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/global.d.ts +8 -0
  150. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/index.d.ts +4 -0
  151. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +1155 -1142
  152. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +6 -6
  153. package/types/uni/uts-plugin-component/global.d.ts +0 -2
  154. package/types/uni/uts-plugin-component/index.d.ts +0 -2
  155. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +0 -2
  156. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +0 -1
  157. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +0 -1
  158. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +110 -110
  159. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/interface.d.ts +2 -1
  160. package/types/uni/uts-plugin-component/lib/uni-form-global/utssdk/interface.d.ts +1 -1
  161. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +1 -0
  162. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +531 -72
  163. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +531 -72
  164. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +569 -110
  165. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +73 -67
  166. package/types/uni/uts-plugin-component/lib/uni-match-media-global/utssdk/interface.d.ts +1 -1
  167. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +8 -12
  168. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +4 -6
  169. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +1743 -291
  170. package/types/uni/uts-plugin-component/lib/uni-navigator-global/utssdk/interface.d.ts +1 -1
  171. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +12 -12
  172. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +478 -15
  173. package/types/uni/uts-plugin-component/lib/uni-progress-global/utssdk/interface.d.ts +1 -1
  174. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +1175 -314
  175. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +4 -4
  176. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +2 -2
  177. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +948 -340
  178. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +3 -1
  179. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +8 -0
  180. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +4 -0
  181. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +1617 -446
  182. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +6 -6
  183. package/types/uni/uts-plugin-extend/global.d.ts +0 -1
  184. package/types/uni/uts-plugin-extend/index.d.ts +0 -1
  185. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +3 -3
  186. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +2 -1
  187. package/types/vue/LifeCycle.d.ts +2 -2
  188. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/global.d.ts +0 -9
  189. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/index.d.ts +0 -1
@@ -6,34 +6,43 @@ export interface Uni {
6
6
  * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/share.html
7
7
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/share.html
8
8
  * @uniPlatform {
9
- * "app": {
10
- * "android": {
11
- * "osVer": "5.0",
12
- * "uniVer": "√",
13
- * "unixVer": "5.07"
14
- * },
15
- * "ios": {
16
- * "osVer": "x",
17
- * "uniVer": "x",
18
- * "unixVer": "x"
19
- * },
20
- * "harmony": {
21
- * "osVer": "5.0.0",
22
- * "uniVer": "√",
23
- * "unixVer": "4.81",
24
- * "unixVaporVer": "5.0"
25
- * }
26
- * },
27
- * "web": {
28
- * "uniVer": "x",
29
- * "unixVer": "x"
30
- * }
31
- * }
32
- */
33
- share: Share;
9
+ * "app": {
10
+ * "android": {
11
+ * "osVer": "5.0",
12
+ * "uniVer": "√",
13
+ * "unixVer": "5.08"
14
+ * },
15
+ * "ios": {
16
+ * "osVer": "x",
17
+ * "uniVer": "5.08",
18
+ * "unixVer": "5.08"
19
+ * },
20
+ * "harmony": {
21
+ * "osVer": "5.0.0",
22
+ * "uniVer": "√",
23
+ * "unixVer": "4.81",
24
+ * "unixVaporVer": "5.0"
25
+ * }
26
+ * },
27
+ * "web": {
28
+ * "uniVer": "x",
29
+ * "unixVer": "x"
30
+ * }
31
+ *}
32
+ */
33
+ share(options: ShareOptions): void;
34
+ }
35
+
36
+
37
+
38
+
39
+ export interface UniShareProvider extends UniProvider {
40
+ share(options: ShareOptions): void;
34
41
  }
35
42
 
36
43
 
44
+
45
+
37
46
  export interface IShareFail extends IUniError {
38
47
  errCode: ShareErrorCode
39
48
  };
@@ -43,370 +52,539 @@ export interface IShareFail extends IUniError {
43
52
  export type ShareErrorCode =
44
53
  /**
45
54
  * 未找到微信APPID,请确认 manifest.json 中配置信息是否正确
46
- * @uniPlatform {
47
- * "app": {
48
- * "android": {
49
- * "osVer": "5.0",
50
- * "uniVer": "x",
51
- * "unixVer": "5.07"
52
- * },
53
- * "ios": {
54
- * "osVer": "x",
55
- * "uniVer": "x",
56
- * "unixVer": "x"
57
- * },
58
- * "harmony": {
59
- * "osVer": "5.0.0",
60
- * "uniVer": "4.76",
61
- * "unixVer": "4.81",
62
- * "unixVaporVer": "5.0"
63
- * }
64
- * },
65
- * "web": {
66
- * "uniVer": "x",
67
- * "unixVer": "x"
68
- * }
69
- * }
55
+ * @uniPlatform {
56
+ * "app": {
57
+ * "android": {
58
+ * "osVer": "5.0",
59
+ * "uniVer": "",
60
+ * "unixVer": "5.08"
61
+ * },
62
+ * "ios": {
63
+ * "osVer": "x",
64
+ * "uniVer": "5.08",
65
+ * "unixVer": "5.08"
66
+ * },
67
+ * "harmony": {
68
+ * "osVer": "5.0.0",
69
+ * "uniVer": "",
70
+ * "unixVer": "4.81",
71
+ * "unixVaporVer": "5.0"
72
+ * }
73
+ * },
74
+ * "web": {
75
+ * "uniVer": "x",
76
+ * "unixVer": "x"
77
+ * }
78
+ *}
70
79
  */
71
80
  4000500 |
72
81
  /**
73
82
  * 该场景字段当前不支持
74
- * @uniPlatform {
75
- * "app": {
76
- * "android": {
77
- * "osVer": "5.0",
78
- * "uniVer": "x",
79
- * "unixVer": "5.07"
80
- * },
81
- * "ios": {
82
- * "osVer": "x",
83
- * "uniVer": "x",
84
- * "unixVer": "x"
85
- * },
86
- * "harmony": {
87
- * "osVer": "5.0.0",
88
- * "uniVer": "4.76",
89
- * "unixVer": "4.81",
90
- * "unixVaporVer": "5.0"
91
- * }
92
- * },
93
- * "web": {
94
- * "uniVer": "x",
95
- * "unixVer": "x"
96
- * }
97
- * }
83
+ * @uniPlatform {
84
+ * "app": {
85
+ * "android": {
86
+ * "osVer": "5.0",
87
+ * "uniVer": "",
88
+ * "unixVer": "5.08"
89
+ * },
90
+ * "ios": {
91
+ * "osVer": "x",
92
+ * "uniVer": "5.08",
93
+ * "unixVer": "5.08"
94
+ * },
95
+ * "harmony": {
96
+ * "osVer": "5.0.0",
97
+ * "uniVer": "",
98
+ * "unixVer": "4.81",
99
+ * "unixVaporVer": "5.0"
100
+ * }
101
+ * },
102
+ * "web": {
103
+ * "uniVer": "x",
104
+ * "unixVer": "x"
105
+ * }
106
+ *}
98
107
  */
99
108
  4000501 |
100
109
  /**
101
110
  * 该场景字段未匹配到
102
- * @uniPlatform {
103
- * "app": {
104
- * "android": {
105
- * "osVer": "x",
106
- * "uniVer": "x",
107
- * "unixVer": "x"
108
- * },
109
- * "ios": {
110
- * "osVer": "x",
111
- * "uniVer": "x",
112
- * "unixVer": "x"
113
- * },
114
- * "harmony": {
115
- * "osVer": "5.0.0",
116
- * "uniVer": "4.76",
117
- * "unixVer": "4.81",
118
- * "unixVaporVer": "5.0"
119
- * }
120
- * },
121
- * "web": {
122
- * "uniVer": "x",
123
- * "unixVer": "x"
124
- * }
125
- * }
111
+ * @uniPlatform {
112
+ * "app": {
113
+ * "android": {
114
+ * "osVer": "5.0",
115
+ * "uniVer": "",
116
+ * "unixVer": "5.08"
117
+ * },
118
+ * "ios": {
119
+ * "osVer": "x",
120
+ * "uniVer": "5.08",
121
+ * "unixVer": "5.08"
122
+ * },
123
+ * "harmony": {
124
+ * "osVer": "5.0.0",
125
+ * "uniVer": "",
126
+ * "unixVer": "4.81",
127
+ * "unixVaporVer": "5.0"
128
+ * }
129
+ * },
130
+ * "web": {
131
+ * "uniVer": "x",
132
+ * "unixVer": "x"
133
+ * }
134
+ *}
126
135
  */
127
136
  4000502 |
128
137
  /**
129
138
  * 分享类型不匹配,请确认类型是否正确
130
- * @uniPlatform {
131
- * "app": {
132
- * "android": {
133
- * "osVer": "5.0",
134
- * "uniVer": "x",
135
- * "unixVer": "5.07"
136
- * },
137
- * "ios": {
138
- * "osVer": "x",
139
- * "uniVer": "x",
140
- * "unixVer": "x"
141
- * },
142
- * "harmony": {
143
- * "osVer": "5.0.0",
144
- * "uniVer": "4.76",
145
- * "unixVer": "4.81",
146
- * "unixVaporVer": "5.0"
147
- * }
148
- * },
149
- * "web": {
150
- * "uniVer": "x",
151
- * "unixVer": "x"
152
- * }
153
- * }
139
+ * @uniPlatform {
140
+ * "app": {
141
+ * "android": {
142
+ * "osVer": "5.0",
143
+ * "uniVer": "",
144
+ * "unixVer": "5.08"
145
+ * },
146
+ * "ios": {
147
+ * "osVer": "x",
148
+ * "uniVer": "5.08",
149
+ * "unixVer": "5.08"
150
+ * },
151
+ * "harmony": {
152
+ * "osVer": "5.0.0",
153
+ * "uniVer": "",
154
+ * "unixVer": "4.81",
155
+ * "unixVaporVer": "5.0"
156
+ * }
157
+ * },
158
+ * "web": {
159
+ * "uniVer": "x",
160
+ * "unixVer": "x"
161
+ * }
162
+ *}
154
163
  */
155
164
  4000503 |
156
165
  /**
157
166
  * 参数填写错误
158
- * @uniPlatform {
159
- * "app": {
160
- * "android": {
161
- * "osVer": "5.0",
162
- * "uniVer": "x",
163
- * "unixVer": "5.07"
164
- * },
165
- * "ios": {
166
- * "osVer": "x",
167
- * "uniVer": "x",
168
- * "unixVer": "x"
169
- * },
170
- * "harmony": {
171
- * "osVer": "5.0.0",
172
- * "uniVer": "4.76",
173
- * "unixVer": "4.81",
174
- * "unixVaporVer": "5.0"
175
- * }
176
- * },
177
- * "web": {
178
- * "uniVer": "x",
179
- * "unixVer": "x"
180
- * }
181
- * }
167
+ * @uniPlatform {
168
+ * "app": {
169
+ * "android": {
170
+ * "osVer": "5.0",
171
+ * "uniVer": "",
172
+ * "unixVer": "5.08"
173
+ * },
174
+ * "ios": {
175
+ * "osVer": "x",
176
+ * "uniVer": "5.08",
177
+ * "unixVer": "5.08"
178
+ * },
179
+ * "harmony": {
180
+ * "osVer": "5.0.0",
181
+ * "uniVer": "",
182
+ * "unixVer": "4.81",
183
+ * "unixVaporVer": "5.0"
184
+ * }
185
+ * },
186
+ * "web": {
187
+ * "uniVer": "x",
188
+ * "unixVer": "x"
189
+ * }
190
+ *}
182
191
  */
183
192
  4000504 |
184
193
  /**
185
194
  * 请求微信接口失败
186
- * @uniPlatform {
187
- * "app": {
188
- * "android": {
189
- * "osVer": "5.0",
190
- * "uniVer": "x",
191
- * "unixVer": "5.07"
192
- * },
193
- * "ios": {
194
- * "osVer": "x",
195
- * "uniVer": "x",
196
- * "unixVer": "x"
197
- * },
198
- * "harmony": {
199
- * "osVer": "5.0.0",
200
- * "uniVer": "4.76",
201
- * "unixVer": "4.81",
202
- * "unixVaporVer": "5.0"
203
- * }
204
- * },
205
- * "web": {
206
- * "uniVer": "x",
207
- * "unixVer": "x"
208
- * }
209
- * }
195
+ * @uniPlatform {
196
+ * "app": {
197
+ * "android": {
198
+ * "osVer": "5.0",
199
+ * "uniVer": "",
200
+ * "unixVer": "5.08"
201
+ * },
202
+ * "ios": {
203
+ * "osVer": "x",
204
+ * "uniVer": "5.08",
205
+ * "unixVer": "5.08"
206
+ * },
207
+ * "harmony": {
208
+ * "osVer": "5.0.0",
209
+ * "uniVer": "",
210
+ * "unixVer": "4.81",
211
+ * "unixVaporVer": "5.0"
212
+ * }
213
+ * },
214
+ * "web": {
215
+ * "uniVer": "x",
216
+ * "unixVer": "x"
217
+ * }
218
+ *}
210
219
  */
211
220
  4000505 |
212
221
  /**
213
222
  * 暂不支持该类型的分享
214
- * @uniPlatform {
215
- * "app": {
216
- * "android": {
217
- * "osVer": "x",
218
- * "uniVer": "x",
219
- * "unixVer": "x"
220
- * },
221
- * "ios": {
222
- * "osVer": "x",
223
- * "uniVer": "x",
224
- * "unixVer": "x"
225
- * },
226
- * "harmony": {
227
- * "osVer": "5.0.0",
228
- * "uniVer": "4.76",
229
- * "unixVer": "4.81",
230
- * "unixVaporVer": "5.0"
231
- * }
232
- * },
233
- * "web": {
234
- * "uniVer": "x",
235
- * "unixVer": "x"
236
- * }
237
- * }
223
+ * @uniPlatform {
224
+ * "app": {
225
+ * "android": {
226
+ * "osVer": "5.0",
227
+ * "uniVer": "",
228
+ * "unixVer": "5.08"
229
+ * },
230
+ * "ios": {
231
+ * "osVer": "x",
232
+ * "uniVer": "5.08",
233
+ * "unixVer": "5.08"
234
+ * },
235
+ * "harmony": {
236
+ * "osVer": "5.0.0",
237
+ * "uniVer": "",
238
+ * "unixVer": "4.81",
239
+ * "unixVaporVer": "5.0"
240
+ * }
241
+ * },
242
+ * "web": {
243
+ * "uniVer": "x",
244
+ * "unixVer": "x"
245
+ * }
246
+ *}
238
247
  */
239
248
  4000506 |
240
249
  /**
241
250
  * 图片下载失败
242
- * @uniPlatform {
243
- * "app": {
244
- * "android": {
245
- * "osVer": "x",
246
- * "uniVer": "x",
247
- * "unixVer": "x"
248
- * },
249
- * "ios": {
250
- * "osVer": "x",
251
- * "uniVer": "x",
252
- * "unixVer": "x"
253
- * },
254
- * "harmony": {
255
- * "osVer": "5.0.0",
256
- * "uniVer": "4.76",
257
- * "unixVer": "4.81",
258
- * "unixVaporVer": "5.0"
259
- * }
260
- * },
261
- * "web": {
262
- * "uniVer": "x",
263
- * "unixVer": "x"
264
- * }
265
- * }
251
+ * @uniPlatform {
252
+ * "app": {
253
+ * "android": {
254
+ * "osVer": "5.0",
255
+ * "uniVer": "",
256
+ * "unixVer": "5.08"
257
+ * },
258
+ * "ios": {
259
+ * "osVer": "x",
260
+ * "uniVer": "5.08",
261
+ * "unixVer": "5.08"
262
+ * },
263
+ * "harmony": {
264
+ * "osVer": "5.0.0",
265
+ * "uniVer": "",
266
+ * "unixVer": "4.81",
267
+ * "unixVaporVer": "5.0"
268
+ * }
269
+ * },
270
+ * "web": {
271
+ * "uniVer": "x",
272
+ * "unixVer": "x"
273
+ * }
274
+ *}
266
275
  */
267
276
  4000507 |
268
277
  /**
269
278
  * 加载本地文件失败
270
- * @uniPlatform {
271
- * "app": {
272
- * "android": {
273
- * "osVer": "x",
274
- * "uniVer": "x",
275
- * "unixVer": "x"
276
- * },
277
- * "ios": {
278
- * "osVer": "x",
279
- * "uniVer": "x",
280
- * "unixVer": "x"
281
- * },
282
- * "harmony": {
283
- * "osVer": "5.0.0",
284
- * "uniVer": "4.76",
285
- * "unixVer": "4.81",
286
- * "unixVaporVer": "5.0"
287
- * }
288
- * },
289
- * "web": {
290
- * "uniVer": "x",
291
- * "unixVer": "x"
292
- * }
293
- * }
279
+ * @uniPlatform {
280
+ * "app": {
281
+ * "android": {
282
+ * "osVer": "5.0",
283
+ * "uniVer": "",
284
+ * "unixVer": "5.08"
285
+ * },
286
+ * "ios": {
287
+ * "osVer": "x",
288
+ * "uniVer": "5.08",
289
+ * "unixVer": "5.08"
290
+ * },
291
+ * "harmony": {
292
+ * "osVer": "5.0.0",
293
+ * "uniVer": "",
294
+ * "unixVer": "4.81",
295
+ * "unixVaporVer": "5.0"
296
+ * }
297
+ * },
298
+ * "web": {
299
+ * "uniVer": "x",
300
+ * "unixVer": "x"
301
+ * }
302
+ *}
294
303
  */
295
304
  4000508 |
296
305
  /**
297
306
  * 获取缩略图失败
298
- * @uniPlatform {
299
- * "app": {
300
- * "android": {
301
- * "osVer": "x",
302
- * "uniVer": "x",
303
- * "unixVer": "x"
304
- * },
305
- * "ios": {
306
- * "osVer": "x",
307
- * "uniVer": "x",
308
- * "unixVer": "x"
309
- * },
310
- * "harmony": {
311
- * "osVer": "5.0.0",
312
- * "uniVer": "4.76",
313
- * "unixVer": "4.81",
314
- * "unixVaporVer": "5.0"
315
- * }
316
- * },
317
- * "web": {
318
- * "uniVer": "x",
319
- * "unixVer": "x"
320
- * }
321
- * }
307
+ * @uniPlatform {
308
+ * "app": {
309
+ * "android": {
310
+ * "osVer": "5.0",
311
+ * "uniVer": "",
312
+ * "unixVer": "5.08"
313
+ * },
314
+ * "ios": {
315
+ * "osVer": "x",
316
+ * "uniVer": "5.08",
317
+ * "unixVer": "5.08"
318
+ * },
319
+ * "harmony": {
320
+ * "osVer": "5.0.0",
321
+ * "uniVer": "",
322
+ * "unixVer": "4.81",
323
+ * "unixVaporVer": "5.0"
324
+ * }
325
+ * },
326
+ * "web": {
327
+ * "uniVer": "x",
328
+ * "unixVer": "x"
329
+ * }
330
+ *}
322
331
  */
323
332
  4000509 |
324
333
  /**
325
334
  * 微信可能未安装
326
- * @uniPlatform {
327
- * "app": {
328
- * "android": {
329
- * "osVer": "x",
330
- * "uniVer": "x",
331
- * "unixVer": "x"
332
- * },
333
- * "ios": {
334
- * "osVer": "x",
335
- * "uniVer": "x",
336
- * "unixVer": "x"
337
- * },
338
- * "harmony": {
339
- * "osVer": "5.0.0",
340
- * "uniVer": "4.87",
341
- * "unixVer": "4.87",
342
- * "unixVaporVer": "5.0"
343
- * }
344
- * },
345
- * "web": {
346
- * "uniVer": "x",
347
- * "unixVer": "x"
348
- * }
349
- * }
335
+ * @uniPlatform {
336
+ * "app": {
337
+ * "android": {
338
+ * "osVer": "5.0",
339
+ * "uniVer": "",
340
+ * "unixVer": "5.08"
341
+ * },
342
+ * "ios": {
343
+ * "osVer": "x",
344
+ * "uniVer": "5.08",
345
+ * "unixVer": "5.08"
346
+ * },
347
+ * "harmony": {
348
+ * "osVer": "5.0.0",
349
+ * "uniVer": "",
350
+ * "unixVer": "4.81",
351
+ * "unixVaporVer": "5.0"
352
+ * }
353
+ * },
354
+ * "web": {
355
+ * "uniVer": "x",
356
+ * "unixVer": "x"
357
+ * }
358
+ *}
350
359
  */
351
360
  4000510 |
352
361
  /**
353
362
  * 分享失败
354
- * @uniPlatform {
355
- * "app": {
356
- * "android": {
357
- * "osVer": "5.0",
358
- * "uniVer": "x",
359
- * "unixVer": "5.07"
360
- * },
361
- * "ios": {
362
- * "osVer": "x",
363
- * "uniVer": "x",
364
- * "unixVer": "x"
365
- * },
366
- * "harmony": {
367
- * "osVer": "x",
368
- * "uniVer": "x",
369
- * "unixVer": "x"
370
- * }
371
- * },
372
- * "web": {
373
- * "uniVer": "x",
374
- * "unixVer": "x"
375
- * }
376
- * }
363
+ * @uniPlatform {
364
+ * "app": {
365
+ * "android": {
366
+ * "osVer": "5.0",
367
+ * "uniVer": "",
368
+ * "unixVer": "5.08"
369
+ * },
370
+ * "ios": {
371
+ * "osVer": "x",
372
+ * "uniVer": "5.08",
373
+ * "unixVer": "5.08"
374
+ * },
375
+ * "harmony": {
376
+ * "osVer": "5.0.0",
377
+ * "uniVer": "",
378
+ * "unixVer": "4.81",
379
+ * "unixVaporVer": "5.0"
380
+ * }
381
+ * },
382
+ * "web": {
383
+ * "uniVer": "x",
384
+ * "unixVer": "x"
385
+ * }
386
+ *}
377
387
  */
378
388
  4000511;
379
389
 
380
390
  export type Share = (options: ShareOptions) => void;
381
391
  export type ShareMiniProgramShareType =
382
392
  /**
383
- * 正式版
393
+ * 正式版
394
+ * @uniPlatform {
395
+ * "app": {
396
+ * "android": {
397
+ * "osVer": "5.0",
398
+ * "uniVer": "√",
399
+ * "unixVer": "5.08"
400
+ * },
401
+ * "ios": {
402
+ * "osVer": "x",
403
+ * "uniVer": "5.08",
404
+ * "unixVer": "5.08"
405
+ * },
406
+ * "harmony": {
407
+ * "osVer": "5.0.0",
408
+ * "uniVer": "√",
409
+ * "unixVer": "4.81",
410
+ * "unixVaporVer": "5.0"
411
+ * }
412
+ * },
413
+ * "web": {
414
+ * "uniVer": "x",
415
+ * "unixVer": "x"
416
+ * }
417
+ *}
384
418
  */
385
419
  0 |
386
420
  /**
387
- * 测试版
421
+ * 测试版
422
+ * @uniPlatform {
423
+ * "app": {
424
+ * "android": {
425
+ * "osVer": "5.0",
426
+ * "uniVer": "√",
427
+ * "unixVer": "5.08"
428
+ * },
429
+ * "ios": {
430
+ * "osVer": "x",
431
+ * "uniVer": "5.08",
432
+ * "unixVer": "5.08"
433
+ * },
434
+ * "harmony": {
435
+ * "osVer": "5.0.0",
436
+ * "uniVer": "√",
437
+ * "unixVer": "4.81",
438
+ * "unixVaporVer": "5.0"
439
+ * }
440
+ * },
441
+ * "web": {
442
+ * "uniVer": "x",
443
+ * "unixVer": "x"
444
+ * }
445
+ *}
388
446
  */
389
447
  1 |
390
448
  /**
391
- * 体验版
449
+ * 体验版
450
+ * @uniPlatform {
451
+ * "app": {
452
+ * "android": {
453
+ * "osVer": "5.0",
454
+ * "uniVer": "√",
455
+ * "unixVer": "5.08"
456
+ * },
457
+ * "ios": {
458
+ * "osVer": "x",
459
+ * "uniVer": "5.08",
460
+ * "unixVer": "5.08"
461
+ * },
462
+ * "harmony": {
463
+ * "osVer": "5.0.0",
464
+ * "uniVer": "√",
465
+ * "unixVer": "4.81",
466
+ * "unixVaporVer": "5.0"
467
+ * }
468
+ * },
469
+ * "web": {
470
+ * "uniVer": "x",
471
+ * "unixVer": "x"
472
+ * }
473
+ *}
392
474
  */
393
475
  2
394
476
  export type ShareMiniProgramShareOptions = {
395
477
  /**
396
- * 微信小程序原始id
478
+ * 微信小程序原始id
479
+ * @uniPlatform {
480
+ * "app": {
481
+ * "android": {
482
+ * "osVer": "5.0",
483
+ * "uniVer": "√",
484
+ * "unixVer": "5.08"
485
+ * },
486
+ * "ios": {
487
+ * "osVer": "x",
488
+ * "uniVer": "5.08",
489
+ * "unixVer": "5.08"
490
+ * },
491
+ * "harmony": {
492
+ * "osVer": "5.0.0",
493
+ * "uniVer": "√",
494
+ * "unixVer": "4.81",
495
+ * "unixVaporVer": "5.0"
496
+ * }
497
+ * },
498
+ * "web": {
499
+ * "uniVer": "x",
500
+ * "unixVer": "x"
501
+ * }
502
+ *}
397
503
  */
398
504
  id?: string | null,
399
505
  /**
400
- * 点击链接进入的页面
506
+ * 点击链接进入的页面
507
+ * @uniPlatform {
508
+ * "app": {
509
+ * "android": {
510
+ * "osVer": "5.0",
511
+ * "uniVer": "√",
512
+ * "unixVer": "5.08"
513
+ * },
514
+ * "ios": {
515
+ * "osVer": "x",
516
+ * "uniVer": "5.08",
517
+ * "unixVer": "5.08"
518
+ * },
519
+ * "harmony": {
520
+ * "osVer": "5.0.0",
521
+ * "uniVer": "√",
522
+ * "unixVer": "4.81",
523
+ * "unixVaporVer": "5.0"
524
+ * }
525
+ * },
526
+ * "web": {
527
+ * "uniVer": "x",
528
+ * "unixVer": "x"
529
+ * }
530
+ *}
401
531
  */
402
532
  path?: string | null,
403
533
  /**
404
534
  * 微信小程序版本类型,默认为0。
405
- * @defaultValue 0
535
+ * @defaultValue 0
536
+ * @uniPlatform {
537
+ * "app": {
538
+ * "android": {
539
+ * "osVer": "5.0",
540
+ * "uniVer": "√",
541
+ * "unixVer": "5.08"
542
+ * },
543
+ * "ios": {
544
+ * "osVer": "x",
545
+ * "uniVer": "5.08",
546
+ * "unixVer": "5.08"
547
+ * },
548
+ * "harmony": {
549
+ * "osVer": "5.0.0",
550
+ * "uniVer": "√",
551
+ * "unixVer": "4.81",
552
+ * "unixVaporVer": "5.0"
553
+ * }
554
+ * },
555
+ * "web": {
556
+ * "uniVer": "x",
557
+ * "unixVer": "x"
558
+ * }
559
+ *}
406
560
  */
407
561
  type?: ShareMiniProgramShareType | null,
408
562
  /**
409
- * 兼容低版本的网页链接
563
+ * 兼容低版本的网页链接
564
+ * @uniPlatform {
565
+ * "app": {
566
+ * "android": {
567
+ * "osVer": "5.0",
568
+ * "uniVer": "√",
569
+ * "unixVer": "5.08"
570
+ * },
571
+ * "ios": {
572
+ * "osVer": "x",
573
+ * "uniVer": "5.08",
574
+ * "unixVer": "5.08"
575
+ * },
576
+ * "harmony": {
577
+ * "osVer": "5.0.0",
578
+ * "uniVer": "√",
579
+ * "unixVer": "4.81",
580
+ * "unixVaporVer": "5.0"
581
+ * }
582
+ * },
583
+ * "web": {
584
+ * "uniVer": "x",
585
+ * "unixVer": "x"
586
+ * }
587
+ *}
410
588
  */
411
589
  webUrl?: string | null
412
590
  };
@@ -419,79 +597,511 @@ export type ShareCompleteCallback = (result: ShareComplete) => void;
419
597
  export type ShareProvider = 'weixin'
420
598
  export type ShareType =
421
599
  /**
422
- * 图文
600
+ * 图文
601
+ * @uniPlatform {
602
+ * "app": {
603
+ * "android": {
604
+ * "osVer": "5.0",
605
+ * "uniVer": "√",
606
+ * "unixVer": "5.08"
607
+ * },
608
+ * "ios": {
609
+ * "osVer": "x",
610
+ * "uniVer": "5.08",
611
+ * "unixVer": "5.08"
612
+ * },
613
+ * "harmony": {
614
+ * "osVer": "5.0.0",
615
+ * "uniVer": "√",
616
+ * "unixVer": "4.81",
617
+ * "unixVaporVer": "5.0"
618
+ * }
619
+ * },
620
+ * "web": {
621
+ * "uniVer": "x",
622
+ * "unixVer": "x"
623
+ * }
624
+ *}
423
625
  */
424
626
  0 |
425
627
  /**
426
- * 纯文字
628
+ * 纯文字
629
+ * @uniPlatform {
630
+ * "app": {
631
+ * "android": {
632
+ * "osVer": "5.0",
633
+ * "uniVer": "√",
634
+ * "unixVer": "5.08"
635
+ * },
636
+ * "ios": {
637
+ * "osVer": "x",
638
+ * "uniVer": "5.08",
639
+ * "unixVer": "5.08"
640
+ * },
641
+ * "harmony": {
642
+ * "osVer": "5.0.0",
643
+ * "uniVer": "√",
644
+ * "unixVer": "4.81",
645
+ * "unixVaporVer": "5.0"
646
+ * }
647
+ * },
648
+ * "web": {
649
+ * "uniVer": "x",
650
+ * "unixVer": "x"
651
+ * }
652
+ *}
427
653
  */
428
654
  1 |
429
655
  /**
430
- * 纯图片
656
+ * 纯图片
657
+ * @uniPlatform {
658
+ * "app": {
659
+ * "android": {
660
+ * "osVer": "5.0",
661
+ * "uniVer": "√",
662
+ * "unixVer": "5.08"
663
+ * },
664
+ * "ios": {
665
+ * "osVer": "x",
666
+ * "uniVer": "5.08",
667
+ * "unixVer": "5.08"
668
+ * },
669
+ * "harmony": {
670
+ * "osVer": "5.0.0",
671
+ * "uniVer": "√",
672
+ * "unixVer": "4.81",
673
+ * "unixVaporVer": "5.0"
674
+ * }
675
+ * },
676
+ * "web": {
677
+ * "uniVer": "x",
678
+ * "unixVer": "x"
679
+ * }
680
+ *}
431
681
  */
432
682
  2 |
433
683
  /**
434
- * 音乐(HarmonyOS 暂不支持)
684
+ * 音乐
685
+ * @uniPlatform {
686
+ * "app": {
687
+ * "android": {
688
+ * "osVer": "5.0",
689
+ * "uniVer": "√",
690
+ * "unixVer": "x"
691
+ * },
692
+ * "ios": {
693
+ * "osVer": "x",
694
+ * "uniVer": "x",
695
+ * "unixVer": "x"
696
+ * },
697
+ * "harmony": {
698
+ * "osVer": "5.0.0",
699
+ * "uniVer": "√",
700
+ * "unixVer": "x",
701
+ * "unixVaporVer": "x"
702
+ * }
703
+ * },
704
+ * "web": {
705
+ * "uniVer": "x",
706
+ * "unixVer": "x"
707
+ * }
708
+ *}
435
709
  */
436
710
  3 |
437
711
  /**
438
- * 视频
712
+ * 视频
713
+ * @uniPlatform {
714
+ * "app": {
715
+ * "android": {
716
+ * "osVer": "5.0",
717
+ * "uniVer": "√",
718
+ * "unixVer": "5.08"
719
+ * },
720
+ * "ios": {
721
+ * "osVer": "x",
722
+ * "uniVer": "5.08",
723
+ * "unixVer": "5.08"
724
+ * },
725
+ * "harmony": {
726
+ * "osVer": "5.0.0",
727
+ * "uniVer": "√",
728
+ * "unixVer": "4.81",
729
+ * "unixVaporVer": "5.0"
730
+ * }
731
+ * },
732
+ * "web": {
733
+ * "uniVer": "x",
734
+ * "unixVer": "x"
735
+ * }
736
+ *}
439
737
  */
440
738
  4 |
441
739
  /**
442
- * 小程序
740
+ * 小程序
741
+ * @uniPlatform {
742
+ * "app": {
743
+ * "android": {
744
+ * "osVer": "5.0",
745
+ * "uniVer": "√",
746
+ * "unixVer": "5.08"
747
+ * },
748
+ * "ios": {
749
+ * "osVer": "x",
750
+ * "uniVer": "5.08",
751
+ * "unixVer": "5.08"
752
+ * },
753
+ * "harmony": {
754
+ * "osVer": "5.0.0",
755
+ * "uniVer": "√",
756
+ * "unixVer": "4.81",
757
+ * "unixVaporVer": "5.0"
758
+ * }
759
+ * },
760
+ * "web": {
761
+ * "uniVer": "x",
762
+ * "unixVer": "x"
763
+ * }
764
+ *}
443
765
  */
444
766
  5;
445
767
  export type ShareScene =
446
768
  /**
447
- * 分享到聊天界面
769
+ * 分享到聊天界面
770
+ * @uniPlatform {
771
+ * "app": {
772
+ * "android": {
773
+ * "osVer": "5.0",
774
+ * "uniVer": "√",
775
+ * "unixVer": "5.08"
776
+ * },
777
+ * "ios": {
778
+ * "osVer": "x",
779
+ * "uniVer": "5.08",
780
+ * "unixVer": "5.08"
781
+ * },
782
+ * "harmony": {
783
+ * "osVer": "5.0.0",
784
+ * "uniVer": "√",
785
+ * "unixVer": "4.81",
786
+ * "unixVaporVer": "5.0"
787
+ * }
788
+ * },
789
+ * "web": {
790
+ * "uniVer": "x",
791
+ * "unixVer": "x"
792
+ * }
793
+ *}
448
794
  */
449
795
  'WXSceneSession' |
450
796
  /**
451
- * 分享到朋友圈
797
+ * 分享到朋友圈
798
+ * @uniPlatform {
799
+ * "app": {
800
+ * "android": {
801
+ * "osVer": "5.0",
802
+ * "uniVer": "√",
803
+ * "unixVer": "5.08"
804
+ * },
805
+ * "ios": {
806
+ * "osVer": "x",
807
+ * "uniVer": "5.08",
808
+ * "unixVer": "5.08"
809
+ * },
810
+ * "harmony": {
811
+ * "osVer": "5.0.0",
812
+ * "uniVer": "√",
813
+ * "unixVer": "4.81",
814
+ * "unixVaporVer": "5.0"
815
+ * }
816
+ * },
817
+ * "web": {
818
+ * "uniVer": "x",
819
+ * "unixVer": "x"
820
+ * }
821
+ *}
452
822
  */
453
823
  'WXSceneTimeline' |
454
824
  /**
455
- * 分享微信收藏(HarmonyOS 暂不支持)
825
+ * 分享微信收藏
826
+ * @uniPlatform {
827
+ * "app": {
828
+ * "android": {
829
+ * "osVer": "5.0",
830
+ * "uniVer": "√",
831
+ * "unixVer": "x"
832
+ * },
833
+ * "ios": {
834
+ * "osVer": "x",
835
+ * "uniVer": "x",
836
+ * "unixVer": "x"
837
+ * },
838
+ * "harmony": {
839
+ * "osVer": "5.0.0",
840
+ * "uniVer": "√",
841
+ * "unixVer": "x",
842
+ * "unixVaporVer": "x"
843
+ * }
844
+ * },
845
+ * "web": {
846
+ * "uniVer": "x",
847
+ * "unixVer": "x"
848
+ * }
849
+ *}
456
850
  */
457
851
  'WXSceneFavorite';
458
852
  export type ShareOptions = {
459
853
  /**
460
854
  * 分享服务提供商,通过uni.getProvider获取,如果不设置则默认 weixin
461
- * @defaultValue weixin
855
+ * @defaultValue weixin
856
+ * @uniPlatform {
857
+ * "app": {
858
+ * "android": {
859
+ * "osVer": "5.0",
860
+ * "uniVer": "√",
861
+ * "unixVer": "5.08"
862
+ * },
863
+ * "ios": {
864
+ * "osVer": "x",
865
+ * "uniVer": "5.08",
866
+ * "unixVer": "5.08"
867
+ * },
868
+ * "harmony": {
869
+ * "osVer": "5.0.0",
870
+ * "uniVer": "√",
871
+ * "unixVer": "4.81",
872
+ * "unixVaporVer": "5.0"
873
+ * }
874
+ * },
875
+ * "web": {
876
+ * "uniVer": "x",
877
+ * "unixVer": "x"
878
+ * }
879
+ *}
462
880
  */
463
881
  provider?: ShareProvider | null,
464
882
  /**
465
883
  * 分享类型。默认图文0
466
- * @defaultValue 0
884
+ * @defaultValue 0
885
+ * @uniPlatform {
886
+ * "app": {
887
+ * "android": {
888
+ * "osVer": "5.0",
889
+ * "uniVer": "√",
890
+ * "unixVer": "5.08"
891
+ * },
892
+ * "ios": {
893
+ * "osVer": "x",
894
+ * "uniVer": "5.08",
895
+ * "unixVer": "5.08"
896
+ * },
897
+ * "harmony": {
898
+ * "osVer": "5.0.0",
899
+ * "uniVer": "√",
900
+ * "unixVer": "4.81",
901
+ * "unixVaporVer": "5.0"
902
+ * }
903
+ * },
904
+ * "web": {
905
+ * "uniVer": "x",
906
+ * "unixVer": "x"
907
+ * }
908
+ *}
467
909
  */
468
910
  type?: ShareType | null,
469
911
  /**
470
- * 标题
912
+ * 标题
913
+ * @uniPlatform {
914
+ * "app": {
915
+ * "android": {
916
+ * "osVer": "5.0",
917
+ * "uniVer": "√",
918
+ * "unixVer": "5.08"
919
+ * },
920
+ * "ios": {
921
+ * "osVer": "x",
922
+ * "uniVer": "5.08",
923
+ * "unixVer": "5.08"
924
+ * },
925
+ * "harmony": {
926
+ * "osVer": "5.0.0",
927
+ * "uniVer": "√",
928
+ * "unixVer": "4.81",
929
+ * "unixVaporVer": "5.0"
930
+ * }
931
+ * },
932
+ * "web": {
933
+ * "uniVer": "x",
934
+ * "unixVer": "x"
935
+ * }
936
+ *}
471
937
  */
472
938
  title?: string | null,
473
939
  /**
474
- * 场景
940
+ * 场景
941
+ * @uniPlatform {
942
+ * "app": {
943
+ * "android": {
944
+ * "osVer": "5.0",
945
+ * "uniVer": "√",
946
+ * "unixVer": "5.08"
947
+ * },
948
+ * "ios": {
949
+ * "osVer": "x",
950
+ * "uniVer": "5.08",
951
+ * "unixVer": "5.08"
952
+ * },
953
+ * "harmony": {
954
+ * "osVer": "5.0.0",
955
+ * "uniVer": "√",
956
+ * "unixVer": "4.81",
957
+ * "unixVaporVer": "5.0"
958
+ * }
959
+ * },
960
+ * "web": {
961
+ * "uniVer": "x",
962
+ * "unixVer": "x"
963
+ * }
964
+ *}
475
965
  */
476
966
  scene?: ShareScene | null,
477
967
  /**
478
- * 摘要
968
+ * 摘要
969
+ * @uniPlatform {
970
+ * "app": {
971
+ * "android": {
972
+ * "osVer": "5.0",
973
+ * "uniVer": "√",
974
+ * "unixVer": "5.08"
975
+ * },
976
+ * "ios": {
977
+ * "osVer": "x",
978
+ * "uniVer": "5.08",
979
+ * "unixVer": "5.08"
980
+ * },
981
+ * "harmony": {
982
+ * "osVer": "5.0.0",
983
+ * "uniVer": "√",
984
+ * "unixVer": "4.81",
985
+ * "unixVaporVer": "5.0"
986
+ * }
987
+ * },
988
+ * "web": {
989
+ * "uniVer": "x",
990
+ * "unixVer": "x"
991
+ * }
992
+ *}
479
993
  */
480
994
  summary?: string | null,
481
995
  /**
482
- * 跳转链接
996
+ * 跳转链接
997
+ * @uniPlatform {
998
+ * "app": {
999
+ * "android": {
1000
+ * "osVer": "5.0",
1001
+ * "uniVer": "√",
1002
+ * "unixVer": "5.08"
1003
+ * },
1004
+ * "ios": {
1005
+ * "osVer": "x",
1006
+ * "uniVer": "5.08",
1007
+ * "unixVer": "5.08"
1008
+ * },
1009
+ * "harmony": {
1010
+ * "osVer": "5.0.0",
1011
+ * "uniVer": "√",
1012
+ * "unixVer": "4.81",
1013
+ * "unixVaporVer": "5.0"
1014
+ * }
1015
+ * },
1016
+ * "web": {
1017
+ * "uniVer": "x",
1018
+ * "unixVer": "x"
1019
+ * }
1020
+ *}
483
1021
  */
484
1022
  href?: string | null,
485
1023
  /**
486
- * 图片地址
1024
+ * 图片地址
1025
+ * @uniPlatform {
1026
+ * "app": {
1027
+ * "android": {
1028
+ * "osVer": "5.0",
1029
+ * "uniVer": "√",
1030
+ * "unixVer": "5.08"
1031
+ * },
1032
+ * "ios": {
1033
+ * "osVer": "x",
1034
+ * "uniVer": "5.08",
1035
+ * "unixVer": "5.08"
1036
+ * },
1037
+ * "harmony": {
1038
+ * "osVer": "5.0.0",
1039
+ * "uniVer": "√",
1040
+ * "unixVer": "4.81",
1041
+ * "unixVaporVer": "5.0"
1042
+ * }
1043
+ * },
1044
+ * "web": {
1045
+ * "uniVer": "x",
1046
+ * "unixVer": "x"
1047
+ * }
1048
+ *}
487
1049
  */
488
1050
  imageUrl?: string | null,
489
1051
  /**
490
- * 音视频地址
1052
+ * 音视频地址
1053
+ * @uniPlatform {
1054
+ * "app": {
1055
+ * "android": {
1056
+ * "osVer": "5.0",
1057
+ * "uniVer": "√",
1058
+ * "unixVer": "5.08"
1059
+ * },
1060
+ * "ios": {
1061
+ * "osVer": "x",
1062
+ * "uniVer": "5.08",
1063
+ * "unixVer": "5.08"
1064
+ * },
1065
+ * "harmony": {
1066
+ * "osVer": "5.0.0",
1067
+ * "uniVer": "√",
1068
+ * "unixVer": "4.81",
1069
+ * "unixVaporVer": "5.0"
1070
+ * }
1071
+ * },
1072
+ * "web": {
1073
+ * "uniVer": "x",
1074
+ * "unixVer": "x"
1075
+ * }
1076
+ *}
491
1077
  */
492
1078
  mediaUrl?: string | null,
493
1079
  /**
494
- * 分享小程序
1080
+ * 分享小程序
1081
+ * @uniPlatform {
1082
+ * "app": {
1083
+ * "android": {
1084
+ * "osVer": "5.0",
1085
+ * "uniVer": "√",
1086
+ * "unixVer": "5.08"
1087
+ * },
1088
+ * "ios": {
1089
+ * "osVer": "x",
1090
+ * "uniVer": "5.08",
1091
+ * "unixVer": "5.08"
1092
+ * },
1093
+ * "harmony": {
1094
+ * "osVer": "5.0.0",
1095
+ * "uniVer": "√",
1096
+ * "unixVer": "4.81",
1097
+ * "unixVaporVer": "5.0"
1098
+ * }
1099
+ * },
1100
+ * "web": {
1101
+ * "uniVer": "x",
1102
+ * "unixVer": "x"
1103
+ * }
1104
+ *}
495
1105
  */
496
1106
  miniProgram?: ShareMiniProgramShareOptions | null,
497
1107
  /**
@@ -579,6 +1189,4 @@ export type ShareOptions = {
579
1189
  */
580
1190
  complete?: ShareCompleteCallback | null
581
1191
  };
582
- export interface UniShareProvider extends UniProvider {
583
- share(options: ShareOptions): void;
584
- }
1192
+