@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,147 +5,15 @@ export type HideKeyboardSuccess = {}
5
5
 
6
6
  export type HideKeyboardFail = {}
7
7
  /**
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
- * }
8
+ * uni.hideKeyboard成功回调函数定义
53
9
  */
54
10
  export type HideKeyboardSuccessCallback = (res : HideKeyboardSuccess) => void
55
11
  /**
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
- * }
12
+ * uni.hideKeyboard失败回调函数定义
101
13
  */
102
14
  export type HideKeyboardFailCallback = (res : HideKeyboardFail) => void
103
15
  /**
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
- * }
16
+ * uni.hideKeyboard完成回调函数定义
149
17
  */
150
18
  export type HideKeyboardCompleteCallback = (res : any) => void
151
19
 
@@ -154,248 +22,28 @@ export type HideKeyboardCompleteCallback = (res : any) => void
154
22
  */
155
23
  export type HideKeyboardOptions = {
156
24
  /**
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
- */
25
+ * 接口调用成功的回调函数
26
+ */
203
27
  success ?: HideKeyboardSuccessCallback | null,
204
28
  /**
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
- */
29
+ * 接口调用失败的回调函数
30
+ */
251
31
  fail ?: HideKeyboardFailCallback | null,
252
32
  /**
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
- */
33
+ * 接口调用结束的回调函数(调用成功、失败都会执行)
34
+ */
299
35
  complete ?: HideKeyboardCompleteCallback | null
300
36
  }
301
37
 
302
38
  /**
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
- * }
39
+ * uni.onKeyboardHeightChange参数定义
348
40
  */
349
41
  export type OnKeyboardHeightChangeCallback = (res : OnKeyboardHeightChangeCallbackResult) => void
350
42
 
351
43
  export type OnKeyboardHeightChangeCallbackResult = {
352
44
  /**
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
- */
45
+ * 键盘高度
46
+ */
399
47
  height : number
400
48
  }
401
49
 
@@ -460,75 +108,74 @@ export interface Uni {
460
108
  * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/key.html#hidekeyboard
461
109
  * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#hidekeyboard
462
110
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#hidekeyboard
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": "3.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
- */
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": "5.0.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
+ */
532
179
  hideKeyboard(options ?: HideKeyboardOptions | null) : void;
533
180
 
534
181
  /**
@@ -536,64 +183,73 @@ export interface Uni {
536
183
  * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/key.html#onkeyboardheightchange
537
184
  * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#onkeyboardheightchange
538
185
  * @tutorial https://uniapp.dcloud.net.cn/api/key.html#onkeyboardheightchange
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
- * },
552
- * "mp": {
553
- * "weixin": {
554
- * "hostVer": "2.7.0",
555
- * "uniVer": "",
556
- * "unixVer": "4.41"
557
- * },
558
- * "alipay": {
559
- * "hostVer": "-",
560
- * "uniVer": "-",
561
- * "unixVer": "-"
562
- * },
563
- * "baidu": {
564
- * "hostVer": "-",
565
- * "uniVer": "-",
566
- * "unixVer": "-"
567
- * },
568
- * "toutiao": {
569
- * "hostVer": "-",
570
- * "uniVer": "-",
571
- * "unixVer": "-"
572
- * },
573
- * "lark": {
574
- * "hostVer": "-",
575
- * "uniVer": "-",
576
- * "unixVer": "-"
577
- * },
578
- * "qq": {
579
- * "hostVer": "-",
580
- * "uniVer": "-",
581
- * "unixVer": "-"
582
- * },
583
- * "kuaishou": {
584
- * "hostVer": "-",
585
- * "uniVer": "-",
586
- * "unixVer": "-"
587
- * },
588
- * "jd": {
589
- * "hostVer": "-",
590
- * "uniVer": "-",
591
- * "unixVer": "-"
592
- * }
593
- * }
594
- * }
595
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.onKeyboardHeightChange.html
596
- */
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
+ * "harmony": {
199
+ * "osVer": "5.0.0",
200
+ * "uniVer": "5.08",
201
+ * "unixVer": "5.08",
202
+ * "unixVaporVer": "5.08"
203
+ * }
204
+ * },
205
+ * "mp": {
206
+ * "weixin": {
207
+ * "hostVer": "2.7",
208
+ * "uniVer": "",
209
+ * "unixVer": "4.41"
210
+ * },
211
+ * "alipay": {
212
+ * "hostVer": "3.6.8",
213
+ * "uniVer": "",
214
+ * "unixVer": "x"
215
+ * },
216
+ * "baidu": {
217
+ * "hostVer": "",
218
+ * "uniVer": "",
219
+ * "unixVer": "x"
220
+ * },
221
+ * "toutiao": {
222
+ * "hostVer": "",
223
+ * "uniVer": "",
224
+ * "unixVer": "x"
225
+ * },
226
+ * "lark": {
227
+ * "hostVer": "",
228
+ * "uniVer": "",
229
+ * "unixVer": "x"
230
+ * },
231
+ * "qq": {
232
+ * "hostVer": "",
233
+ * "uniVer": "",
234
+ * "unixVer": "x"
235
+ * },
236
+ * "kuaishou": {
237
+ * "hostVer": "",
238
+ * "uniVer": "",
239
+ * "unixVer": "x"
240
+ * },
241
+ * "jd": {
242
+ * "hostVer": "√",
243
+ * "uniVer": "√",
244
+ * "unixVer": "x"
245
+ * }
246
+ * },
247
+ * "web": {
248
+ * "uniVer": "x",
249
+ * "unixVer": "x"
250
+ * }
251
+ * }
252
+ */
597
253
  onKeyboardHeightChange(callback: OnKeyboardHeightChangeCallback): number
598
254
 
599
255
  /**
@@ -601,64 +257,73 @@ export interface Uni {
601
257
  * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/key.html#offkeyboardheightchange
602
258
  * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/keyboard.html#offkeyboardheightchange
603
259
  * @tutorial https://uniapp.dcloud.net.cn/api/key.html#offkeyboardheightchange
604
- * @uniPlatform {
605
- * "app": {
606
- * "android": {
607
- * "osVer": "5.0",
608
- * "uniVer": "√",
609
- * "unixVer": "4.71"
610
- * },
611
- * "ios": {
612
- * "osVer": "12.0",
613
- * "uniVer": "√",
614
- * "unixVer": "4.71"
615
- * }
616
- * },
617
- * "mp": {
618
- * "weixin": {
619
- * "hostVer": "2.9.2",
620
- * "uniVer": "",
621
- * "unixVer": "4.41"
622
- * },
623
- * "alipay": {
624
- * "hostVer": "-",
625
- * "uniVer": "-",
626
- * "unixVer": "-"
627
- * },
628
- * "baidu": {
629
- * "hostVer": "-",
630
- * "uniVer": "-",
631
- * "unixVer": "-"
632
- * },
633
- * "toutiao": {
634
- * "hostVer": "-",
635
- * "uniVer": "-",
636
- * "unixVer": "-"
637
- * },
638
- * "lark": {
639
- * "hostVer": "-",
640
- * "uniVer": "-",
641
- * "unixVer": "-"
642
- * },
643
- * "qq": {
644
- * "hostVer": "-",
645
- * "uniVer": "-",
646
- * "unixVer": "-"
647
- * },
648
- * "kuaishou": {
649
- * "hostVer": "-",
650
- * "uniVer": "-",
651
- * "unixVer": "-"
652
- * },
653
- * "jd": {
654
- * "hostVer": "-",
655
- * "uniVer": "-",
656
- * "unixVer": "-"
657
- * }
658
- * }
659
- * }
660
- * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/keyboard/wx.offKeyboardHeightChange.html
661
- */
260
+ * @uniPlatform {
261
+ * "app": {
262
+ * "android": {
263
+ * "osVer": "5.0",
264
+ * "uniVer": "√",
265
+ * "unixVer": "4.71"
266
+ * },
267
+ * "ios": {
268
+ * "osVer": "12.0",
269
+ * "uniVer": "√",
270
+ * "unixVer": "4.71"
271
+ * },
272
+ * "harmony": {
273
+ * "osVer": "5.0.0",
274
+ * "uniVer": "5.08",
275
+ * "unixVer": "5.08",
276
+ * "unixVaporVer": "5.08"
277
+ * }
278
+ * },
279
+ * "mp": {
280
+ * "weixin": {
281
+ * "hostVer": "2.9.2",
282
+ * "uniVer": "",
283
+ * "unixVer": "4.41"
284
+ * },
285
+ * "alipay": {
286
+ * "hostVer": "3.6.8",
287
+ * "uniVer": "",
288
+ * "unixVer": "x"
289
+ * },
290
+ * "baidu": {
291
+ * "hostVer": "",
292
+ * "uniVer": "",
293
+ * "unixVer": "x"
294
+ * },
295
+ * "toutiao": {
296
+ * "hostVer": "",
297
+ * "uniVer": "",
298
+ * "unixVer": "x"
299
+ * },
300
+ * "lark": {
301
+ * "hostVer": "",
302
+ * "uniVer": "",
303
+ * "unixVer": "x"
304
+ * },
305
+ * "qq": {
306
+ * "hostVer": "",
307
+ * "uniVer": "",
308
+ * "unixVer": "x"
309
+ * },
310
+ * "kuaishou": {
311
+ * "hostVer": "",
312
+ * "uniVer": "",
313
+ * "unixVer": "x"
314
+ * },
315
+ * "jd": {
316
+ * "hostVer": "√",
317
+ * "uniVer": "√",
318
+ * "unixVer": "x"
319
+ * }
320
+ * },
321
+ * "web": {
322
+ * "uniVer": "x",
323
+ * "unixVer": "x"
324
+ * }
325
+ * }
326
+ */
662
327
  offKeyboardHeightChange(id ?: number | null): void
663
328
 
664
329
  // getSelectedTextRange(options : GetSelectedTextRangeOptions): void