@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
@@ -5,15 +5,147 @@ export type HideKeyboardSuccess = {}
5
5
 
6
6
  export type HideKeyboardFail = {}
7
7
  /**
8
- * uni.hideKeyboard成功回调函数定义
8
+ * uni.hideKeyboard成功回调函数定义
9
+ * @uniPlatform {
10
+ * "mp": {
11
+ * "weixin": {
12
+ * "hostVer": "√",
13
+ * "uniVer": "√",
14
+ * "unixVer": "4.41"
15
+ * },
16
+ * "alipay": {
17
+ * "hostVer": "-",
18
+ * "uniVer": "-",
19
+ * "unixVer": "-"
20
+ * },
21
+ * "baidu": {
22
+ * "hostVer": "-",
23
+ * "uniVer": "-",
24
+ * "unixVer": "-"
25
+ * },
26
+ * "toutiao": {
27
+ * "hostVer": "-",
28
+ * "uniVer": "-",
29
+ * "unixVer": "-"
30
+ * },
31
+ * "lark": {
32
+ * "hostVer": "-",
33
+ * "uniVer": "-",
34
+ * "unixVer": "-"
35
+ * },
36
+ * "qq": {
37
+ * "hostVer": "-",
38
+ * "uniVer": "-",
39
+ * "unixVer": "-"
40
+ * },
41
+ * "kuaishou": {
42
+ * "hostVer": "-",
43
+ * "uniVer": "-",
44
+ * "unixVer": "-"
45
+ * },
46
+ * "jd": {
47
+ * "hostVer": "-",
48
+ * "uniVer": "-",
49
+ * "unixVer": "-"
50
+ * }
51
+ * }
52
+ * }
9
53
  */
10
54
  export type HideKeyboardSuccessCallback = (res : HideKeyboardSuccess) => void
11
55
  /**
12
- * uni.hideKeyboard失败回调函数定义
56
+ * uni.hideKeyboard失败回调函数定义
57
+ * @uniPlatform {
58
+ * "mp": {
59
+ * "weixin": {
60
+ * "hostVer": "√",
61
+ * "uniVer": "√",
62
+ * "unixVer": "4.41"
63
+ * },
64
+ * "alipay": {
65
+ * "hostVer": "-",
66
+ * "uniVer": "-",
67
+ * "unixVer": "-"
68
+ * },
69
+ * "baidu": {
70
+ * "hostVer": "-",
71
+ * "uniVer": "-",
72
+ * "unixVer": "-"
73
+ * },
74
+ * "toutiao": {
75
+ * "hostVer": "-",
76
+ * "uniVer": "-",
77
+ * "unixVer": "-"
78
+ * },
79
+ * "lark": {
80
+ * "hostVer": "-",
81
+ * "uniVer": "-",
82
+ * "unixVer": "-"
83
+ * },
84
+ * "qq": {
85
+ * "hostVer": "-",
86
+ * "uniVer": "-",
87
+ * "unixVer": "-"
88
+ * },
89
+ * "kuaishou": {
90
+ * "hostVer": "-",
91
+ * "uniVer": "-",
92
+ * "unixVer": "-"
93
+ * },
94
+ * "jd": {
95
+ * "hostVer": "-",
96
+ * "uniVer": "-",
97
+ * "unixVer": "-"
98
+ * }
99
+ * }
100
+ * }
13
101
  */
14
102
  export type HideKeyboardFailCallback = (res : HideKeyboardFail) => void
15
103
  /**
16
- * uni.hideKeyboard完成回调函数定义
104
+ * uni.hideKeyboard完成回调函数定义
105
+ * @uniPlatform {
106
+ * "mp": {
107
+ * "weixin": {
108
+ * "hostVer": "√",
109
+ * "uniVer": "√",
110
+ * "unixVer": "4.41"
111
+ * },
112
+ * "alipay": {
113
+ * "hostVer": "-",
114
+ * "uniVer": "-",
115
+ * "unixVer": "-"
116
+ * },
117
+ * "baidu": {
118
+ * "hostVer": "-",
119
+ * "uniVer": "-",
120
+ * "unixVer": "-"
121
+ * },
122
+ * "toutiao": {
123
+ * "hostVer": "-",
124
+ * "uniVer": "-",
125
+ * "unixVer": "-"
126
+ * },
127
+ * "lark": {
128
+ * "hostVer": "-",
129
+ * "uniVer": "-",
130
+ * "unixVer": "-"
131
+ * },
132
+ * "qq": {
133
+ * "hostVer": "-",
134
+ * "uniVer": "-",
135
+ * "unixVer": "-"
136
+ * },
137
+ * "kuaishou": {
138
+ * "hostVer": "-",
139
+ * "uniVer": "-",
140
+ * "unixVer": "-"
141
+ * },
142
+ * "jd": {
143
+ * "hostVer": "-",
144
+ * "uniVer": "-",
145
+ * "unixVer": "-"
146
+ * }
147
+ * }
148
+ * }
17
149
  */
18
150
  export type HideKeyboardCompleteCallback = (res : any) => void
19
151
 
@@ -22,28 +154,248 @@ export type HideKeyboardCompleteCallback = (res : any) => void
22
154
  */
23
155
  export type HideKeyboardOptions = {
24
156
  /**
25
- * 接口调用成功的回调函数
26
- */
157
+ * 接口调用成功的回调函数
158
+ * @uniPlatform {
159
+ * "mp": {
160
+ * "weixin": {
161
+ * "hostVer": "√",
162
+ * "uniVer": "√",
163
+ * "unixVer": "4.41"
164
+ * },
165
+ * "alipay": {
166
+ * "hostVer": "-",
167
+ * "uniVer": "-",
168
+ * "unixVer": "-"
169
+ * },
170
+ * "baidu": {
171
+ * "hostVer": "-",
172
+ * "uniVer": "-",
173
+ * "unixVer": "-"
174
+ * },
175
+ * "toutiao": {
176
+ * "hostVer": "-",
177
+ * "uniVer": "-",
178
+ * "unixVer": "-"
179
+ * },
180
+ * "lark": {
181
+ * "hostVer": "-",
182
+ * "uniVer": "-",
183
+ * "unixVer": "-"
184
+ * },
185
+ * "qq": {
186
+ * "hostVer": "-",
187
+ * "uniVer": "-",
188
+ * "unixVer": "-"
189
+ * },
190
+ * "kuaishou": {
191
+ * "hostVer": "-",
192
+ * "uniVer": "-",
193
+ * "unixVer": "-"
194
+ * },
195
+ * "jd": {
196
+ * "hostVer": "-",
197
+ * "uniVer": "-",
198
+ * "unixVer": "-"
199
+ * }
200
+ * }
201
+ * }
202
+ */
27
203
  success ?: HideKeyboardSuccessCallback | null,
28
204
  /**
29
- * 接口调用失败的回调函数
30
- */
205
+ * 接口调用失败的回调函数
206
+ * @uniPlatform {
207
+ * "mp": {
208
+ * "weixin": {
209
+ * "hostVer": "√",
210
+ * "uniVer": "√",
211
+ * "unixVer": "4.41"
212
+ * },
213
+ * "alipay": {
214
+ * "hostVer": "-",
215
+ * "uniVer": "-",
216
+ * "unixVer": "-"
217
+ * },
218
+ * "baidu": {
219
+ * "hostVer": "-",
220
+ * "uniVer": "-",
221
+ * "unixVer": "-"
222
+ * },
223
+ * "toutiao": {
224
+ * "hostVer": "-",
225
+ * "uniVer": "-",
226
+ * "unixVer": "-"
227
+ * },
228
+ * "lark": {
229
+ * "hostVer": "-",
230
+ * "uniVer": "-",
231
+ * "unixVer": "-"
232
+ * },
233
+ * "qq": {
234
+ * "hostVer": "-",
235
+ * "uniVer": "-",
236
+ * "unixVer": "-"
237
+ * },
238
+ * "kuaishou": {
239
+ * "hostVer": "-",
240
+ * "uniVer": "-",
241
+ * "unixVer": "-"
242
+ * },
243
+ * "jd": {
244
+ * "hostVer": "-",
245
+ * "uniVer": "-",
246
+ * "unixVer": "-"
247
+ * }
248
+ * }
249
+ * }
250
+ */
31
251
  fail ?: HideKeyboardFailCallback | null,
32
252
  /**
33
- * 接口调用结束的回调函数(调用成功、失败都会执行)
34
- */
253
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
254
+ * @uniPlatform {
255
+ * "mp": {
256
+ * "weixin": {
257
+ * "hostVer": "√",
258
+ * "uniVer": "√",
259
+ * "unixVer": "4.41"
260
+ * },
261
+ * "alipay": {
262
+ * "hostVer": "-",
263
+ * "uniVer": "-",
264
+ * "unixVer": "-"
265
+ * },
266
+ * "baidu": {
267
+ * "hostVer": "-",
268
+ * "uniVer": "-",
269
+ * "unixVer": "-"
270
+ * },
271
+ * "toutiao": {
272
+ * "hostVer": "-",
273
+ * "uniVer": "-",
274
+ * "unixVer": "-"
275
+ * },
276
+ * "lark": {
277
+ * "hostVer": "-",
278
+ * "uniVer": "-",
279
+ * "unixVer": "-"
280
+ * },
281
+ * "qq": {
282
+ * "hostVer": "-",
283
+ * "uniVer": "-",
284
+ * "unixVer": "-"
285
+ * },
286
+ * "kuaishou": {
287
+ * "hostVer": "-",
288
+ * "uniVer": "-",
289
+ * "unixVer": "-"
290
+ * },
291
+ * "jd": {
292
+ * "hostVer": "-",
293
+ * "uniVer": "-",
294
+ * "unixVer": "-"
295
+ * }
296
+ * }
297
+ * }
298
+ */
35
299
  complete ?: HideKeyboardCompleteCallback | null
36
300
  }
37
301
 
38
302
  /**
39
- * uni.onKeyboardHeightChange参数定义
303
+ * uni.onKeyboardHeightChange参数定义
304
+ * @uniPlatform {
305
+ * "mp": {
306
+ * "weixin": {
307
+ * "hostVer": "√",
308
+ * "uniVer": "√",
309
+ * "unixVer": "4.41"
310
+ * },
311
+ * "alipay": {
312
+ * "hostVer": "-",
313
+ * "uniVer": "-",
314
+ * "unixVer": "-"
315
+ * },
316
+ * "baidu": {
317
+ * "hostVer": "-",
318
+ * "uniVer": "-",
319
+ * "unixVer": "-"
320
+ * },
321
+ * "toutiao": {
322
+ * "hostVer": "-",
323
+ * "uniVer": "-",
324
+ * "unixVer": "-"
325
+ * },
326
+ * "lark": {
327
+ * "hostVer": "-",
328
+ * "uniVer": "-",
329
+ * "unixVer": "-"
330
+ * },
331
+ * "qq": {
332
+ * "hostVer": "-",
333
+ * "uniVer": "-",
334
+ * "unixVer": "-"
335
+ * },
336
+ * "kuaishou": {
337
+ * "hostVer": "-",
338
+ * "uniVer": "-",
339
+ * "unixVer": "-"
340
+ * },
341
+ * "jd": {
342
+ * "hostVer": "-",
343
+ * "uniVer": "-",
344
+ * "unixVer": "-"
345
+ * }
346
+ * }
347
+ * }
40
348
  */
41
349
  export type OnKeyboardHeightChangeCallback = (res : OnKeyboardHeightChangeCallbackResult) => void
42
350
 
43
351
  export type OnKeyboardHeightChangeCallbackResult = {
44
352
  /**
45
- * 键盘高度
46
- */
353
+ * 键盘高度
354
+ * @uniPlatform {
355
+ * "mp": {
356
+ * "weixin": {
357
+ * "hostVer": "√",
358
+ * "uniVer": "√",
359
+ * "unixVer": "4.41"
360
+ * },
361
+ * "alipay": {
362
+ * "hostVer": "-",
363
+ * "uniVer": "-",
364
+ * "unixVer": "-"
365
+ * },
366
+ * "baidu": {
367
+ * "hostVer": "-",
368
+ * "uniVer": "-",
369
+ * "unixVer": "-"
370
+ * },
371
+ * "toutiao": {
372
+ * "hostVer": "-",
373
+ * "uniVer": "-",
374
+ * "unixVer": "-"
375
+ * },
376
+ * "lark": {
377
+ * "hostVer": "-",
378
+ * "uniVer": "-",
379
+ * "unixVer": "-"
380
+ * },
381
+ * "qq": {
382
+ * "hostVer": "-",
383
+ * "uniVer": "-",
384
+ * "unixVer": "-"
385
+ * },
386
+ * "kuaishou": {
387
+ * "hostVer": "-",
388
+ * "uniVer": "-",
389
+ * "unixVer": "-"
390
+ * },
391
+ * "jd": {
392
+ * "hostVer": "-",
393
+ * "uniVer": "-",
394
+ * "unixVer": "-"
395
+ * }
396
+ * }
397
+ * }
398
+ */
47
399
  height : number
48
400
  }
49
401
 
@@ -108,74 +460,75 @@ export interface Uni {
108
460
  * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/key.html#hidekeyboard
109
461
  * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#hidekeyboard
110
462
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#hidekeyboard
111
- * @uniPlatform {
112
- * "app": {
113
- * "android": {
114
- * "osVer": "5.0",
115
- * "uniVer": "√",
116
- * "unixVer": "4.71"
117
- * },
118
- * "ios": {
119
- * "osVer": "12.0",
120
- * "uniVer": "√",
121
- * "unixVer": "4.71"
122
- * },
123
- * "harmony": {
124
- * "osVer": "3.0",
125
- * "uniVer": "4.23",
126
- * "unixVer": "4.61",
127
- * "unixVaporVer": "5.0"
128
- * }
129
- * },
130
- * "mp": {
131
- * "weixin": {
132
- * "hostVer": "",
133
- * "uniVer": "√",
134
- * "unixVer": "4.41"
135
- * },
136
- * "alipay": {
137
- * "hostVer": "√",
138
- * "uniVer": "√",
139
- * "unixVer": "x"
140
- * },
141
- * "baidu": {
142
- * "hostVer": "√",
143
- * "uniVer": "√",
144
- * "unixVer": "x"
145
- * },
146
- * "toutiao": {
147
- * "hostVer": "√",
148
- * "uniVer": "√",
149
- * "unixVer": "x"
150
- * },
151
- * "lark": {
152
- * "hostVer": "√",
153
- * "uniVer": "√",
154
- * "unixVer": "x"
155
- * },
156
- * "qq": {
157
- * "hostVer": "√",
158
- * "uniVer": "√",
159
- * "unixVer": "x"
160
- * },
161
- * "kuaishou": {
162
- * "hostVer": "√",
163
- * "uniVer": "√",
164
- * "unixVer": "x"
165
- * },
166
- * "jd": {
167
- * "hostVer": "√",
168
- * "uniVer": "√",
169
- * "unixVer": "x"
170
- * }
171
- * },
172
- * "web": {
173
- * "uniVer": "√",
174
- * "unixVer": "4.0"
175
- * }
176
- * }
177
- * @uniVueVersion 2,3 //支持的vue版本
178
- */
463
+ * @uniPlatform {
464
+ * "app": {
465
+ * "android": {
466
+ * "osVer": "5.0",
467
+ * "uniVer": "√",
468
+ * "unixVer": "4.71"
469
+ * },
470
+ * "ios": {
471
+ * "osVer": "12.0",
472
+ * "uniVer": "√",
473
+ * "unixVer": "4.71"
474
+ * },
475
+ * "harmony": {
476
+ * "osVer": "5.0.0",
477
+ * "uniVer": "4.23",
478
+ * "unixVer": "4.61",
479
+ * "unixVaporVer": "5.0"
480
+ * }
481
+ * },
482
+ * "mp": {
483
+ * "weixin": {
484
+ * "hostVer": "2.8.2",
485
+ * "uniVer": "√",
486
+ * "unixVer": "4.41"
487
+ * },
488
+ * "alipay": {
489
+ * "hostVer": "√",
490
+ * "uniVer": "√",
491
+ * "unixVer": "x"
492
+ * },
493
+ * "baidu": {
494
+ * "hostVer": "√",
495
+ * "uniVer": "√",
496
+ * "unixVer": "x"
497
+ * },
498
+ * "toutiao": {
499
+ * "hostVer": "√",
500
+ * "uniVer": "√",
501
+ * "unixVer": "x"
502
+ * },
503
+ * "lark": {
504
+ * "hostVer": "√",
505
+ * "uniVer": "√",
506
+ * "unixVer": "x"
507
+ * },
508
+ * "qq": {
509
+ * "hostVer": "√",
510
+ * "uniVer": "√",
511
+ * "unixVer": "x"
512
+ * },
513
+ * "kuaishou": {
514
+ * "hostVer": "√",
515
+ * "uniVer": "√",
516
+ * "unixVer": "x"
517
+ * },
518
+ * "jd": {
519
+ * "hostVer": "√",
520
+ * "uniVer": "√",
521
+ * "unixVer": "x"
522
+ * }
523
+ * },
524
+ * "web": {
525
+ * "uniVer": "√",
526
+ * "unixVer": "4.0"
527
+ * }
528
+ * }
529
+ * @uniVueVersion 2,3 //支持的vue版本
530
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.hideKeyboard.html
531
+ */
179
532
  hideKeyboard(options ?: HideKeyboardOptions | null) : void;
180
533
 
181
534
  /**
@@ -183,21 +536,74 @@ export interface Uni {
183
536
  * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/key.html#onkeyboardheightchange
184
537
  * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#onkeyboardheightchange
185
538
  * @tutorial https://uniapp.dcloud.net.cn/api/key.html#onkeyboardheightchange
186
- * @uniPlatform {
187
- * "app": {
188
- * "android": {
189
- * "osVer": "5.0",
190
- * "uniVer": "√",
191
- * "unixVer": "4.71"
192
- * },
193
- * "ios": {
194
- * "osVer": "12.0",
195
- * "uniVer": "√",
196
- * "unixVer": "4.71"
197
- * }
198
- * }
199
- * }
200
- */
539
+ * @uniPlatform {
540
+ * "app": {
541
+ * "android": {
542
+ * "osVer": "5.0",
543
+ * "uniVer": "√",
544
+ * "unixVer": "4.71"
545
+ * },
546
+ * "ios": {
547
+ * "osVer": "12.0",
548
+ * "uniVer": "√",
549
+ * "unixVer": "4.71"
550
+ * },
551
+ * "harmony": {
552
+ * "osVer": "5.0.0",
553
+ * "uniVer": "5.08",
554
+ * "unixVer": "5.08",
555
+ * "unixVaporVer": "5.08"
556
+ * }
557
+ * },
558
+ * "mp": {
559
+ * "weixin": {
560
+ * "hostVer": "2.7",
561
+ * "uniVer": "√",
562
+ * "unixVer": "4.41"
563
+ * },
564
+ * "alipay": {
565
+ * "hostVer": "3.6.8",
566
+ * "uniVer": "√",
567
+ * "unixVer": "x"
568
+ * },
569
+ * "baidu": {
570
+ * "hostVer": "√",
571
+ * "uniVer": "√",
572
+ * "unixVer": "x"
573
+ * },
574
+ * "toutiao": {
575
+ * "hostVer": "√",
576
+ * "uniVer": "√",
577
+ * "unixVer": "x"
578
+ * },
579
+ * "lark": {
580
+ * "hostVer": "√",
581
+ * "uniVer": "√",
582
+ * "unixVer": "x"
583
+ * },
584
+ * "qq": {
585
+ * "hostVer": "√",
586
+ * "uniVer": "√",
587
+ * "unixVer": "x"
588
+ * },
589
+ * "kuaishou": {
590
+ * "hostVer": "√",
591
+ * "uniVer": "√",
592
+ * "unixVer": "x"
593
+ * },
594
+ * "jd": {
595
+ * "hostVer": "√",
596
+ * "uniVer": "√",
597
+ * "unixVer": "x"
598
+ * }
599
+ * },
600
+ * "web": {
601
+ * "uniVer": "x",
602
+ * "unixVer": "x"
603
+ * }
604
+ * }
605
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.onKeyboardHeightChange.html
606
+ */
201
607
  onKeyboardHeightChange(callback: OnKeyboardHeightChangeCallback): number
202
608
 
203
609
  /**
@@ -205,21 +611,74 @@ export interface Uni {
205
611
  * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/key.html#offkeyboardheightchange
206
612
  * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#offkeyboardheightchange
207
613
  * @tutorial https://uniapp.dcloud.net.cn/api/key.html#offkeyboardheightchange
208
- * @uniPlatform {
209
- * "app": {
210
- * "android": {
211
- * "osVer": "5.0",
212
- * "uniVer": "√",
213
- * "unixVer": "4.71"
214
- * },
215
- * "ios": {
216
- * "osVer": "12.0",
217
- * "uniVer": "√",
218
- * "unixVer": "4.71"
219
- * }
220
- * }
221
- * }
222
- */
614
+ * @uniPlatform {
615
+ * "app": {
616
+ * "android": {
617
+ * "osVer": "5.0",
618
+ * "uniVer": "√",
619
+ * "unixVer": "4.71"
620
+ * },
621
+ * "ios": {
622
+ * "osVer": "12.0",
623
+ * "uniVer": "√",
624
+ * "unixVer": "4.71"
625
+ * },
626
+ * "harmony": {
627
+ * "osVer": "5.0.0",
628
+ * "uniVer": "5.08",
629
+ * "unixVer": "5.08",
630
+ * "unixVaporVer": "5.08"
631
+ * }
632
+ * },
633
+ * "mp": {
634
+ * "weixin": {
635
+ * "hostVer": "2.9.2",
636
+ * "uniVer": "√",
637
+ * "unixVer": "4.41"
638
+ * },
639
+ * "alipay": {
640
+ * "hostVer": "3.6.8",
641
+ * "uniVer": "√",
642
+ * "unixVer": "x"
643
+ * },
644
+ * "baidu": {
645
+ * "hostVer": "√",
646
+ * "uniVer": "√",
647
+ * "unixVer": "x"
648
+ * },
649
+ * "toutiao": {
650
+ * "hostVer": "√",
651
+ * "uniVer": "√",
652
+ * "unixVer": "x"
653
+ * },
654
+ * "lark": {
655
+ * "hostVer": "√",
656
+ * "uniVer": "√",
657
+ * "unixVer": "x"
658
+ * },
659
+ * "qq": {
660
+ * "hostVer": "√",
661
+ * "uniVer": "√",
662
+ * "unixVer": "x"
663
+ * },
664
+ * "kuaishou": {
665
+ * "hostVer": "√",
666
+ * "uniVer": "√",
667
+ * "unixVer": "x"
668
+ * },
669
+ * "jd": {
670
+ * "hostVer": "√",
671
+ * "uniVer": "√",
672
+ * "unixVer": "x"
673
+ * }
674
+ * },
675
+ * "web": {
676
+ * "uniVer": "x",
677
+ * "unixVer": "x"
678
+ * }
679
+ * }
680
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.offKeyboardHeightChange.html
681
+ */
223
682
  offKeyboardHeightChange(id ?: number | null): void
224
683
 
225
684
  // getSelectedTextRange(options : GetSelectedTextRangeOptions): void