@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
@@ -5,71 +5,72 @@ export interface Uni {
5
5
  * @tutorial https://uniapp.dcloud.net.cn/api/system/clipboard.html#setclipboarddata
6
6
  * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/clipboard.html#setclipboarddata
7
7
  * @uniPlatform {
8
- * "app": {
9
- * "android": {
10
- * "osVer": "5.0",
11
- * "uniVer": "√",
12
- * "unixVer": "x"
13
- * },
14
- * "ios": {
15
- * "osVer": "12.0",
16
- * "uniVer": "√",
17
- * "unixVer": "x"
18
- * },
19
- * "harmony": {
20
- * "osVer": "3.0",
21
- * "uniVer": "4.23",
22
- * "unixVer": "x"
23
- * }
24
- * },
25
- * "mp": {
26
- * "weixin": {
27
- * "hostVer": "",
28
- * "uniVer": "√",
29
- * "unixVer": "4.41"
30
- * },
31
- * "alipay": {
32
- * "hostVer": "√",
33
- * "uniVer": "√",
34
- * "unixVer": "x"
35
- * },
36
- * "baidu": {
37
- * "hostVer": "√",
38
- * "uniVer": "√",
39
- * "unixVer": "x"
40
- * },
41
- * "toutiao": {
42
- * "hostVer": "√",
43
- * "uniVer": "√",
44
- * "unixVer": "x"
45
- * },
46
- * "lark": {
47
- * "hostVer": "√",
48
- * "uniVer": "√",
49
- * "unixVer": "x"
50
- * },
51
- * "qq": {
52
- * "hostVer": "√",
53
- * "uniVer": "√",
54
- * "unixVer": "x"
55
- * },
56
- * "kuaishou": {
57
- * "hostVer": "√",
58
- * "uniVer": "√",
59
- * "unixVer": "x"
60
- * },
61
- * "jd": {
62
- * "hostVer": "√",
63
- * "uniVer": "√",
64
- * "unixVer": "x"
65
- * }
66
- * },
67
- * "web": {
68
- * "uniVer": "√",
69
- * "unixVer": "4.0"
70
- * }
71
- * }
72
- */
8
+ * "app": {
9
+ * "android": {
10
+ * "osVer": "5.0",
11
+ * "uniVer": "√",
12
+ * "unixVer": "x"
13
+ * },
14
+ * "ios": {
15
+ * "osVer": "12.0",
16
+ * "uniVer": "√",
17
+ * "unixVer": "x"
18
+ * },
19
+ * "harmony": {
20
+ * "osVer": "3.0",
21
+ * "uniVer": "4.23",
22
+ * "unixVer": "x"
23
+ * }
24
+ * },
25
+ * "mp": {
26
+ * "weixin": {
27
+ * "hostVer": "1.1.0",
28
+ * "uniVer": "√",
29
+ * "unixVer": "4.41"
30
+ * },
31
+ * "alipay": {
32
+ * "hostVer": "√",
33
+ * "uniVer": "√",
34
+ * "unixVer": "x"
35
+ * },
36
+ * "baidu": {
37
+ * "hostVer": "√",
38
+ * "uniVer": "√",
39
+ * "unixVer": "x"
40
+ * },
41
+ * "toutiao": {
42
+ * "hostVer": "√",
43
+ * "uniVer": "√",
44
+ * "unixVer": "x"
45
+ * },
46
+ * "lark": {
47
+ * "hostVer": "√",
48
+ * "uniVer": "√",
49
+ * "unixVer": "x"
50
+ * },
51
+ * "qq": {
52
+ * "hostVer": "√",
53
+ * "uniVer": "√",
54
+ * "unixVer": "x"
55
+ * },
56
+ * "kuaishou": {
57
+ * "hostVer": "√",
58
+ * "uniVer": "√",
59
+ * "unixVer": "x"
60
+ * },
61
+ * "jd": {
62
+ * "hostVer": "√",
63
+ * "uniVer": "√",
64
+ * "unixVer": "x"
65
+ * }
66
+ * },
67
+ * "web": {
68
+ * "uniVer": "√",
69
+ * "unixVer": "4.0"
70
+ * }
71
+ * }
72
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/clipboard/wx.setClipboardData.html
73
+ */
73
74
  setClipboardData: SetClipboardData;
74
75
  /**
75
76
  * 获得系统剪贴板的内容
@@ -77,71 +78,72 @@ export interface Uni {
77
78
  * @tutorial https://uniapp.dcloud.net.cn/api/system/clipboard.html#getclipboarddata
78
79
  * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/clipboard.html#getclipboarddata
79
80
  * @uniPlatform {
80
- * "app": {
81
- * "android": {
82
- * "osVer": "5.0",
83
- * "uniVer": "√",
84
- * "unixVer": "x"
85
- * },
86
- * "ios": {
87
- * "osVer": "12.0",
88
- * "uniVer": "√",
89
- * "unixVer": "x"
90
- * },
91
- * "harmony": {
92
- * "osVer": "3.0",
93
- * "uniVer": "4.23",
94
- * "unixVer": "x"
95
- * }
96
- * },
97
- * "mp": {
98
- * "weixin": {
99
- * "hostVer": "",
100
- * "uniVer": "√",
101
- * "unixVer": "4.41"
102
- * },
103
- * "alipay": {
104
- * "hostVer": "√",
105
- * "uniVer": "√",
106
- * "unixVer": "x"
107
- * },
108
- * "baidu": {
109
- * "hostVer": "√",
110
- * "uniVer": "√",
111
- * "unixVer": "x"
112
- * },
113
- * "toutiao": {
114
- * "hostVer": "√",
115
- * "uniVer": "√",
116
- * "unixVer": "x"
117
- * },
118
- * "lark": {
119
- * "hostVer": "√",
120
- * "uniVer": "√",
121
- * "unixVer": "√"
122
- * },
123
- * "qq": {
124
- * "hostVer": "√",
125
- * "uniVer": "√",
126
- * "unixVer": "x"
127
- * },
128
- * "kuaishou": {
129
- * "hostVer": "√",
130
- * "uniVer": "√",
131
- * "unixVer": "x"
132
- * },
133
- * "jd": {
134
- * "hostVer": "√",
135
- * "uniVer": "√",
136
- * "unixVer": "x"
137
- * }
138
- * },
139
- * "web": {
140
- * "uniVer": "√",
141
- * "unixVer": "4.0"
142
- * }
143
- * }
144
- */
81
+ * "app": {
82
+ * "android": {
83
+ * "osVer": "5.0",
84
+ * "uniVer": "√",
85
+ * "unixVer": "x"
86
+ * },
87
+ * "ios": {
88
+ * "osVer": "12.0",
89
+ * "uniVer": "√",
90
+ * "unixVer": "x"
91
+ * },
92
+ * "harmony": {
93
+ * "osVer": "3.0",
94
+ * "uniVer": "4.23",
95
+ * "unixVer": "x"
96
+ * }
97
+ * },
98
+ * "mp": {
99
+ * "weixin": {
100
+ * "hostVer": "1.1.0",
101
+ * "uniVer": "√",
102
+ * "unixVer": "4.41"
103
+ * },
104
+ * "alipay": {
105
+ * "hostVer": "√",
106
+ * "uniVer": "√",
107
+ * "unixVer": "x"
108
+ * },
109
+ * "baidu": {
110
+ * "hostVer": "√",
111
+ * "uniVer": "√",
112
+ * "unixVer": "x"
113
+ * },
114
+ * "toutiao": {
115
+ * "hostVer": "√",
116
+ * "uniVer": "√",
117
+ * "unixVer": "x"
118
+ * },
119
+ * "lark": {
120
+ * "hostVer": "√",
121
+ * "uniVer": "√",
122
+ * "unixVer": "√"
123
+ * },
124
+ * "qq": {
125
+ * "hostVer": "√",
126
+ * "uniVer": "√",
127
+ * "unixVer": "x"
128
+ * },
129
+ * "kuaishou": {
130
+ * "hostVer": "√",
131
+ * "uniVer": "√",
132
+ * "unixVer": "x"
133
+ * },
134
+ * "jd": {
135
+ * "hostVer": "√",
136
+ * "uniVer": "√",
137
+ * "unixVer": "x"
138
+ * }
139
+ * },
140
+ * "web": {
141
+ * "uniVer": "√",
142
+ * "unixVer": "4.0"
143
+ * }
144
+ * }
145
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/clipboard/wx.getClipboardData.html
146
+ */
145
147
  getClipboardData: GetClipboardData;
146
148
  }
147
149
 
@@ -155,23 +157,243 @@ export type SetClipboardDataCompleteCallback = (result: SetClipboardDataComplete
155
157
  export type SetClipboardDataOptions = {
156
158
  /**
157
159
  * 需要设置的内容
158
- */
160
+ * @uniPlatform {
161
+ * "mp": {
162
+ * "weixin": {
163
+ * "hostVer": "√",
164
+ * "uniVer": "√",
165
+ * "unixVer": "4.41"
166
+ * },
167
+ * "alipay": {
168
+ * "hostVer": "-",
169
+ * "uniVer": "-",
170
+ * "unixVer": "-"
171
+ * },
172
+ * "baidu": {
173
+ * "hostVer": "-",
174
+ * "uniVer": "-",
175
+ * "unixVer": "-"
176
+ * },
177
+ * "toutiao": {
178
+ * "hostVer": "-",
179
+ * "uniVer": "-",
180
+ * "unixVer": "-"
181
+ * },
182
+ * "lark": {
183
+ * "hostVer": "-",
184
+ * "uniVer": "-",
185
+ * "unixVer": "-"
186
+ * },
187
+ * "qq": {
188
+ * "hostVer": "-",
189
+ * "uniVer": "-",
190
+ * "unixVer": "-"
191
+ * },
192
+ * "kuaishou": {
193
+ * "hostVer": "-",
194
+ * "uniVer": "-",
195
+ * "unixVer": "-"
196
+ * },
197
+ * "jd": {
198
+ * "hostVer": "-",
199
+ * "uniVer": "-",
200
+ * "unixVer": "-"
201
+ * }
202
+ * }
203
+ * }
204
+ */
159
205
  data: string,
160
206
  /**
161
207
  * 是否弹出提示,默认弹出提示
162
208
  * @type boolean
163
- */
209
+ * @uniPlatform {
210
+ * "mp": {
211
+ * "weixin": {
212
+ * "hostVer": "√",
213
+ * "uniVer": "√",
214
+ * "unixVer": "4.41"
215
+ * },
216
+ * "alipay": {
217
+ * "hostVer": "-",
218
+ * "uniVer": "-",
219
+ * "unixVer": "-"
220
+ * },
221
+ * "baidu": {
222
+ * "hostVer": "-",
223
+ * "uniVer": "-",
224
+ * "unixVer": "-"
225
+ * },
226
+ * "toutiao": {
227
+ * "hostVer": "-",
228
+ * "uniVer": "-",
229
+ * "unixVer": "-"
230
+ * },
231
+ * "lark": {
232
+ * "hostVer": "-",
233
+ * "uniVer": "-",
234
+ * "unixVer": "-"
235
+ * },
236
+ * "qq": {
237
+ * "hostVer": "-",
238
+ * "uniVer": "-",
239
+ * "unixVer": "-"
240
+ * },
241
+ * "kuaishou": {
242
+ * "hostVer": "-",
243
+ * "uniVer": "-",
244
+ * "unixVer": "-"
245
+ * },
246
+ * "jd": {
247
+ * "hostVer": "-",
248
+ * "uniVer": "-",
249
+ * "unixVer": "-"
250
+ * }
251
+ * }
252
+ * }
253
+ */
164
254
  showToast?: boolean | null,
165
255
  /**
166
256
  * 成功返回的回调函数
257
+ * @uniPlatform {
258
+ * "mp": {
259
+ * "weixin": {
260
+ * "hostVer": "√",
261
+ * "uniVer": "√",
262
+ * "unixVer": "4.41"
263
+ * },
264
+ * "alipay": {
265
+ * "hostVer": "-",
266
+ * "uniVer": "-",
267
+ * "unixVer": "-"
268
+ * },
269
+ * "baidu": {
270
+ * "hostVer": "-",
271
+ * "uniVer": "-",
272
+ * "unixVer": "-"
273
+ * },
274
+ * "toutiao": {
275
+ * "hostVer": "-",
276
+ * "uniVer": "-",
277
+ * "unixVer": "-"
278
+ * },
279
+ * "lark": {
280
+ * "hostVer": "-",
281
+ * "uniVer": "-",
282
+ * "unixVer": "-"
283
+ * },
284
+ * "qq": {
285
+ * "hostVer": "-",
286
+ * "uniVer": "-",
287
+ * "unixVer": "-"
288
+ * },
289
+ * "kuaishou": {
290
+ * "hostVer": "-",
291
+ * "uniVer": "-",
292
+ * "unixVer": "-"
293
+ * },
294
+ * "jd": {
295
+ * "hostVer": "-",
296
+ * "uniVer": "-",
297
+ * "unixVer": "-"
298
+ * }
299
+ * }
300
+ * }
167
301
  */
168
302
  success?: SetClipboardDataSuccessCallback | null,
169
303
  /**
170
304
  * 失败的回调函数
305
+ * @uniPlatform {
306
+ * "mp": {
307
+ * "weixin": {
308
+ * "hostVer": "√",
309
+ * "uniVer": "√",
310
+ * "unixVer": "4.41"
311
+ * },
312
+ * "alipay": {
313
+ * "hostVer": "-",
314
+ * "uniVer": "-",
315
+ * "unixVer": "-"
316
+ * },
317
+ * "baidu": {
318
+ * "hostVer": "-",
319
+ * "uniVer": "-",
320
+ * "unixVer": "-"
321
+ * },
322
+ * "toutiao": {
323
+ * "hostVer": "-",
324
+ * "uniVer": "-",
325
+ * "unixVer": "-"
326
+ * },
327
+ * "lark": {
328
+ * "hostVer": "-",
329
+ * "uniVer": "-",
330
+ * "unixVer": "-"
331
+ * },
332
+ * "qq": {
333
+ * "hostVer": "-",
334
+ * "uniVer": "-",
335
+ * "unixVer": "-"
336
+ * },
337
+ * "kuaishou": {
338
+ * "hostVer": "-",
339
+ * "uniVer": "-",
340
+ * "unixVer": "-"
341
+ * },
342
+ * "jd": {
343
+ * "hostVer": "-",
344
+ * "uniVer": "-",
345
+ * "unixVer": "-"
346
+ * }
347
+ * }
348
+ * }
171
349
  */
172
350
  fail?: SetClipboardDataFailCallback | null,
173
351
  /**
174
352
  * 结束的回调函数(调用成功、失败都会执行)
353
+ * @uniPlatform {
354
+ * "mp": {
355
+ * "weixin": {
356
+ * "hostVer": "√",
357
+ * "uniVer": "√",
358
+ * "unixVer": "4.41"
359
+ * },
360
+ * "alipay": {
361
+ * "hostVer": "-",
362
+ * "uniVer": "-",
363
+ * "unixVer": "-"
364
+ * },
365
+ * "baidu": {
366
+ * "hostVer": "-",
367
+ * "uniVer": "-",
368
+ * "unixVer": "-"
369
+ * },
370
+ * "toutiao": {
371
+ * "hostVer": "-",
372
+ * "uniVer": "-",
373
+ * "unixVer": "-"
374
+ * },
375
+ * "lark": {
376
+ * "hostVer": "-",
377
+ * "uniVer": "-",
378
+ * "unixVer": "-"
379
+ * },
380
+ * "qq": {
381
+ * "hostVer": "-",
382
+ * "uniVer": "-",
383
+ * "unixVer": "-"
384
+ * },
385
+ * "kuaishou": {
386
+ * "hostVer": "-",
387
+ * "uniVer": "-",
388
+ * "unixVer": "-"
389
+ * },
390
+ * "jd": {
391
+ * "hostVer": "-",
392
+ * "uniVer": "-",
393
+ * "unixVer": "-"
394
+ * }
395
+ * }
396
+ * }
175
397
  */
176
398
  complete?: SetClipboardDataCompleteCallback | null
177
399
  };
@@ -179,7 +401,51 @@ export type GetClipboardData = (options: GetClipboardDataOptions) => void;
179
401
  export type GetClipboardDataSuccess = {
180
402
  /**
181
403
  * 剪贴板的内容
182
- */
404
+ * @uniPlatform {
405
+ * "mp": {
406
+ * "weixin": {
407
+ * "hostVer": "√",
408
+ * "uniVer": "√",
409
+ * "unixVer": "4.41"
410
+ * },
411
+ * "alipay": {
412
+ * "hostVer": "-",
413
+ * "uniVer": "-",
414
+ * "unixVer": "-"
415
+ * },
416
+ * "baidu": {
417
+ * "hostVer": "-",
418
+ * "uniVer": "-",
419
+ * "unixVer": "-"
420
+ * },
421
+ * "toutiao": {
422
+ * "hostVer": "-",
423
+ * "uniVer": "-",
424
+ * "unixVer": "-"
425
+ * },
426
+ * "lark": {
427
+ * "hostVer": "-",
428
+ * "uniVer": "-",
429
+ * "unixVer": "-"
430
+ * },
431
+ * "qq": {
432
+ * "hostVer": "-",
433
+ * "uniVer": "-",
434
+ * "unixVer": "-"
435
+ * },
436
+ * "kuaishou": {
437
+ * "hostVer": "-",
438
+ * "uniVer": "-",
439
+ * "unixVer": "-"
440
+ * },
441
+ * "jd": {
442
+ * "hostVer": "-",
443
+ * "uniVer": "-",
444
+ * "unixVer": "-"
445
+ * }
446
+ * }
447
+ * }
448
+ */
183
449
  data: string
184
450
  };
185
451
  export type GetClipboardDataSuccessCallback = (result: GetClipboardDataSuccess) => void;
@@ -190,14 +456,146 @@ export type GetClipboardDataCompleteCallback = (result: GetClipboardDataComplete
190
456
  export type GetClipboardDataOptions = {
191
457
  /**
192
458
  * 成功返回的回调函数
193
- */
459
+ * @uniPlatform {
460
+ * "mp": {
461
+ * "weixin": {
462
+ * "hostVer": "√",
463
+ * "uniVer": "√",
464
+ * "unixVer": "4.41"
465
+ * },
466
+ * "alipay": {
467
+ * "hostVer": "-",
468
+ * "uniVer": "-",
469
+ * "unixVer": "-"
470
+ * },
471
+ * "baidu": {
472
+ * "hostVer": "-",
473
+ * "uniVer": "-",
474
+ * "unixVer": "-"
475
+ * },
476
+ * "toutiao": {
477
+ * "hostVer": "-",
478
+ * "uniVer": "-",
479
+ * "unixVer": "-"
480
+ * },
481
+ * "lark": {
482
+ * "hostVer": "-",
483
+ * "uniVer": "-",
484
+ * "unixVer": "-"
485
+ * },
486
+ * "qq": {
487
+ * "hostVer": "-",
488
+ * "uniVer": "-",
489
+ * "unixVer": "-"
490
+ * },
491
+ * "kuaishou": {
492
+ * "hostVer": "-",
493
+ * "uniVer": "-",
494
+ * "unixVer": "-"
495
+ * },
496
+ * "jd": {
497
+ * "hostVer": "-",
498
+ * "uniVer": "-",
499
+ * "unixVer": "-"
500
+ * }
501
+ * }
502
+ * }
503
+ */
194
504
  success?: GetClipboardDataSuccessCallback | null,
195
505
  /**
196
506
  * 失败的回调函数
197
- */
507
+ * @uniPlatform {
508
+ * "mp": {
509
+ * "weixin": {
510
+ * "hostVer": "√",
511
+ * "uniVer": "√",
512
+ * "unixVer": "4.41"
513
+ * },
514
+ * "alipay": {
515
+ * "hostVer": "-",
516
+ * "uniVer": "-",
517
+ * "unixVer": "-"
518
+ * },
519
+ * "baidu": {
520
+ * "hostVer": "-",
521
+ * "uniVer": "-",
522
+ * "unixVer": "-"
523
+ * },
524
+ * "toutiao": {
525
+ * "hostVer": "-",
526
+ * "uniVer": "-",
527
+ * "unixVer": "-"
528
+ * },
529
+ * "lark": {
530
+ * "hostVer": "-",
531
+ * "uniVer": "-",
532
+ * "unixVer": "-"
533
+ * },
534
+ * "qq": {
535
+ * "hostVer": "-",
536
+ * "uniVer": "-",
537
+ * "unixVer": "-"
538
+ * },
539
+ * "kuaishou": {
540
+ * "hostVer": "-",
541
+ * "uniVer": "-",
542
+ * "unixVer": "-"
543
+ * },
544
+ * "jd": {
545
+ * "hostVer": "-",
546
+ * "uniVer": "-",
547
+ * "unixVer": "-"
548
+ * }
549
+ * }
550
+ * }
551
+ */
198
552
  fail?: GetClipboardDataFailCallback | null,
199
553
  /**
200
554
  * 结束的回调函数(调用成功、失败都会执行)
555
+ * @uniPlatform {
556
+ * "mp": {
557
+ * "weixin": {
558
+ * "hostVer": "√",
559
+ * "uniVer": "√",
560
+ * "unixVer": "4.41"
561
+ * },
562
+ * "alipay": {
563
+ * "hostVer": "-",
564
+ * "uniVer": "-",
565
+ * "unixVer": "-"
566
+ * },
567
+ * "baidu": {
568
+ * "hostVer": "-",
569
+ * "uniVer": "-",
570
+ * "unixVer": "-"
571
+ * },
572
+ * "toutiao": {
573
+ * "hostVer": "-",
574
+ * "uniVer": "-",
575
+ * "unixVer": "-"
576
+ * },
577
+ * "lark": {
578
+ * "hostVer": "-",
579
+ * "uniVer": "-",
580
+ * "unixVer": "-"
581
+ * },
582
+ * "qq": {
583
+ * "hostVer": "-",
584
+ * "uniVer": "-",
585
+ * "unixVer": "-"
586
+ * },
587
+ * "kuaishou": {
588
+ * "hostVer": "-",
589
+ * "uniVer": "-",
590
+ * "unixVer": "-"
591
+ * },
592
+ * "jd": {
593
+ * "hostVer": "-",
594
+ * "uniVer": "-",
595
+ * "unixVer": "-"
596
+ * }
597
+ * }
598
+ * }
201
599
  */
202
600
  complete?: GetClipboardDataCompleteCallback | null
203
601
  };