@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
@@ -1,2 +1,2 @@
1
- export class UniNavigatorElement extends UniVueElement {
1
+ export class UniNavigatorElement extends UniViewElementImpl {
2
2
  }
@@ -11,12 +11,12 @@ export interface Uni {
11
11
  * "android": {
12
12
  * "osVer": "5.0",
13
13
  * "uniVer": "√",
14
- * "unixVer": "5.07"
14
+ * "unixVer": "5.08"
15
15
  * },
16
16
  * "ios": {
17
17
  * "osVer": "12.0",
18
18
  * "uniVer": "√",
19
- * "unixVer": "5.07"
19
+ * "unixVer": "5.08"
20
20
  * },
21
21
  * "harmony": {
22
22
  * "osVer": "3.0",
@@ -259,12 +259,12 @@ export type LoginSuccess = {
259
259
  * "android": {
260
260
  * "osVer": "5.0",
261
261
  * "uniVer": "√",
262
- * "unixVer": "5.07"
262
+ * "unixVer": "5.08"
263
263
  * },
264
264
  * "ios": {
265
265
  * "osVer": "12.0",
266
266
  * "uniVer": "√",
267
- * "unixVer": "5.07"
267
+ * "unixVer": "5.08"
268
268
  * },
269
269
  * "harmony": {
270
270
  * "osVer": "3.0",
@@ -283,12 +283,12 @@ export type LoginSuccess = {
283
283
  * "android": {
284
284
  * "osVer": "5.0",
285
285
  * "uniVer": "√",
286
- * "unixVer": "5.07"
286
+ * "unixVer": "5.08"
287
287
  * },
288
288
  * "ios": {
289
289
  * "osVer": "12.0",
290
290
  * "uniVer": "√",
291
- * "unixVer": "5.07"
291
+ * "unixVer": "5.08"
292
292
  * },
293
293
  * "harmony": {
294
294
  * "osVer": "3.0",
@@ -430,12 +430,12 @@ export type LoginOptions = {
430
430
  * "android": {
431
431
  * "osVer": "5.0",
432
432
  * "uniVer": "√",
433
- * "unixVer": "5.07"
433
+ * "unixVer": "5.08"
434
434
  * },
435
435
  * "ios": {
436
436
  * "osVer": "12.0",
437
437
  * "uniVer": "√",
438
- * "unixVer": "5.07"
438
+ * "unixVer": "5.08"
439
439
  * },
440
440
  * "harmony": {
441
441
  * "osVer": "3.0",
@@ -509,12 +509,12 @@ export type LoginOptions = {
509
509
  * "android": {
510
510
  * "osVer": "5.0",
511
511
  * "uniVer": "√",
512
- * "unixVer": "5.07"
512
+ * "unixVer": "5.08"
513
513
  * },
514
514
  * "ios": {
515
515
  * "osVer": "12.0",
516
516
  * "uniVer": "√",
517
- * "unixVer": "5.07"
517
+ * "unixVer": "5.08"
518
518
  * },
519
519
  * "harmony": {
520
520
  * "osVer": "5.0.0",
@@ -721,12 +721,12 @@ export type LoginOptions = {
721
721
  * "android": {
722
722
  * "osVer": "5.0",
723
723
  * "uniVer": "3.2.6",
724
- * "unixVer": "5.07"
724
+ * "unixVer": "5.08"
725
725
  * },
726
726
  * "ios": {
727
727
  * "osVer": "12.0",
728
728
  * "uniVer": "3.2.6",
729
- * "unixVer": "5.07"
729
+ * "unixVer": "5.08"
730
730
  * },
731
731
  * "harmony": {
732
732
  * "osVer": "5.0.0",
@@ -1,6 +1,72 @@
1
1
  /**
2
2
  * 设置页面滚动错误码
3
3
  * - 4: 框架内部异常
4
+ * @uniPlatform {
5
+ * "app": {
6
+ * "android": {
7
+ * "osVer": "5.0",
8
+ * "uniVer": "√",
9
+ * "unixVer": "3.91"
10
+ * },
11
+ * "ios": {
12
+ * "osVer": "12.0",
13
+ * "uniVer": "√",
14
+ * "unixVer": "4.11"
15
+ * },
16
+ * "harmony": {
17
+ * "osVer": "3.0",
18
+ * "uniVer": "4.23",
19
+ * "unixVer": "4.61",
20
+ * "unixVaporVer": "5.00"
21
+ * }
22
+ * },
23
+ * "mp": {
24
+ * "weixin": {
25
+ * "hostVer": "√",
26
+ * "uniVer": "√",
27
+ * "unixVer": "4.41"
28
+ * },
29
+ * "alipay": {
30
+ * "hostVer": "√",
31
+ * "uniVer": "√",
32
+ * "unixVer": "x"
33
+ * },
34
+ * "baidu": {
35
+ * "hostVer": "√",
36
+ * "uniVer": "√",
37
+ * "unixVer": "x"
38
+ * },
39
+ * "toutiao": {
40
+ * "hostVer": "√",
41
+ * "uniVer": "√",
42
+ * "unixVer": "x"
43
+ * },
44
+ * "lark": {
45
+ * "hostVer": "√",
46
+ * "uniVer": "√",
47
+ * "unixVer": "x"
48
+ * },
49
+ * "qq": {
50
+ * "hostVer": "√",
51
+ * "uniVer": "√",
52
+ * "unixVer": "x"
53
+ * },
54
+ * "kuaishou": {
55
+ * "hostVer": "√",
56
+ * "uniVer": "√",
57
+ * "unixVer": "x"
58
+ * },
59
+ * "jd": {
60
+ * "hostVer": "√",
61
+ * "uniVer": "√",
62
+ * "unixVer": "x"
63
+ * }
64
+ * },
65
+ * "web": {
66
+ * "uniVer": "√",
67
+ * "unixVer": "4.0"
68
+ * }
69
+ * }
4
70
  */
5
71
  export type PageScrollToErrorCode = 4
6
72
  export interface PageScrollToFail extends IUniError {
@@ -17,11 +83,143 @@ export type PageScrollToCompleteCallback = (
17
83
  ) => void
18
84
  export type PageScrollToOptions = {
19
85
  /**
20
- * 滚动到页面的目标位置
86
+ * 滚动到页面的目标位置(单位px)
87
+ * @uniPlatform {
88
+ * "app": {
89
+ * "android": {
90
+ * "osVer": "5.0",
91
+ * "uniVer": "√",
92
+ * "unixVer": "3.91"
93
+ * },
94
+ * "ios": {
95
+ * "osVer": "12.0",
96
+ * "uniVer": "√",
97
+ * "unixVer": "4.11"
98
+ * },
99
+ * "harmony": {
100
+ * "osVer": "3.0",
101
+ * "uniVer": "4.23",
102
+ * "unixVer": "4.61",
103
+ * "unixVaporVer": "5.00"
104
+ * }
105
+ * },
106
+ * "mp": {
107
+ * "weixin": {
108
+ * "hostVer": "√",
109
+ * "uniVer": "√",
110
+ * "unixVer": "4.41"
111
+ * },
112
+ * "alipay": {
113
+ * "hostVer": "√",
114
+ * "uniVer": "√",
115
+ * "unixVer": "x"
116
+ * },
117
+ * "baidu": {
118
+ * "hostVer": "√",
119
+ * "uniVer": "√",
120
+ * "unixVer": "x"
121
+ * },
122
+ * "toutiao": {
123
+ * "hostVer": "√",
124
+ * "uniVer": "√",
125
+ * "unixVer": "x"
126
+ * },
127
+ * "lark": {
128
+ * "hostVer": "√",
129
+ * "uniVer": "√",
130
+ * "unixVer": "x"
131
+ * },
132
+ * "qq": {
133
+ * "hostVer": "√",
134
+ * "uniVer": "√",
135
+ * "unixVer": "x"
136
+ * },
137
+ * "kuaishou": {
138
+ * "hostVer": "√",
139
+ * "uniVer": "√",
140
+ * "unixVer": "x"
141
+ * },
142
+ * "jd": {
143
+ * "hostVer": "√",
144
+ * "uniVer": "√",
145
+ * "unixVer": "x"
146
+ * }
147
+ * },
148
+ * "web": {
149
+ * "uniVer": "√",
150
+ * "unixVer": "4.0"
151
+ * }
152
+ * }
21
153
  */
22
154
  scrollTop?: number | null
23
155
  /**
24
- * 选择器
156
+ * 元素选择器,用于指定要滚动到的元素位置
157
+ * @uniPlatform {
158
+ * "app": {
159
+ * "android": {
160
+ * "osVer": "5.0",
161
+ * "uniVer": "√",
162
+ * "unixVer": "3.91"
163
+ * },
164
+ * "ios": {
165
+ * "osVer": "12.0",
166
+ * "uniVer": "√",
167
+ * "unixVer": "4.11"
168
+ * },
169
+ * "harmony": {
170
+ * "osVer": "3.0",
171
+ * "uniVer": "4.23",
172
+ * "unixVer": "4.61",
173
+ * "unixVaporVer": "5.00"
174
+ * }
175
+ * },
176
+ * "mp": {
177
+ * "weixin": {
178
+ * "hostVer": "√",
179
+ * "uniVer": "√",
180
+ * "unixVer": "4.41"
181
+ * },
182
+ * "alipay": {
183
+ * "hostVer": "√",
184
+ * "uniVer": "√",
185
+ * "unixVer": "x"
186
+ * },
187
+ * "baidu": {
188
+ * "hostVer": "√",
189
+ * "uniVer": "√",
190
+ * "unixVer": "x"
191
+ * },
192
+ * "toutiao": {
193
+ * "hostVer": "√",
194
+ * "uniVer": "√",
195
+ * "unixVer": "x"
196
+ * },
197
+ * "lark": {
198
+ * "hostVer": "√",
199
+ * "uniVer": "√",
200
+ * "unixVer": "x"
201
+ * },
202
+ * "qq": {
203
+ * "hostVer": "√",
204
+ * "uniVer": "√",
205
+ * "unixVer": "x"
206
+ * },
207
+ * "kuaishou": {
208
+ * "hostVer": "√",
209
+ * "uniVer": "√",
210
+ * "unixVer": "x"
211
+ * },
212
+ * "jd": {
213
+ * "hostVer": "√",
214
+ * "uniVer": "√",
215
+ * "unixVer": "x"
216
+ * }
217
+ * },
218
+ * "web": {
219
+ * "uniVer": "√",
220
+ * "unixVer": "4.0"
221
+ * }
222
+ * }
25
223
  */
26
224
  selector?: string | null
27
225
  /**
@@ -60,30 +258,217 @@ export type PageScrollToOptions = {
60
258
  */
61
259
  offsetTop?: number | null
62
260
  /**
63
- * 滚动动画的时长
261
+ * 滚动动画的时长,默认300,单位 ms
262
+ * @uniPlatform {
263
+ * "app": {
264
+ * "android": {
265
+ * "osVer": "5.0",
266
+ * "uniVer": "√",
267
+ * "unixVer": "x"
268
+ * },
269
+ * "ios": {
270
+ * "osVer": "12.0",
271
+ * "uniVer": "√",
272
+ * "unixVer": "x"
273
+ * },
274
+ * "harmony": {
275
+ * "osVer": "3.0",
276
+ * "uniVer": "4.23",
277
+ * "unixVer": "x",
278
+ * "unixVaporVer": "x"
279
+ * }
280
+ * },
281
+ * "mp": {
282
+ * "weixin": {
283
+ * "hostVer": "√",
284
+ * "uniVer": "√",
285
+ * "unixVer": "4.41"
286
+ * },
287
+ * "alipay": {
288
+ * "hostVer": "√",
289
+ * "uniVer": "√",
290
+ * "unixVer": "x"
291
+ * },
292
+ * "baidu": {
293
+ * "hostVer": "√",
294
+ * "uniVer": "√",
295
+ * "unixVer": "x"
296
+ * },
297
+ * "toutiao": {
298
+ * "hostVer": "√",
299
+ * "uniVer": "√",
300
+ * "unixVer": "x"
301
+ * },
302
+ * "lark": {
303
+ * "hostVer": "√",
304
+ * "uniVer": "√",
305
+ * "unixVer": "x"
306
+ * },
307
+ * "qq": {
308
+ * "hostVer": "√",
309
+ * "uniVer": "√",
310
+ * "unixVer": "x"
311
+ * },
312
+ * "kuaishou": {
313
+ * "hostVer": "√",
314
+ * "uniVer": "√",
315
+ * "unixVer": "x"
316
+ * },
317
+ * "jd": {
318
+ * "hostVer": "√",
319
+ * "uniVer": "√",
320
+ * "unixVer": "x"
321
+ * }
322
+ * },
323
+ * "web": {
324
+ * "uniVer": "√",
325
+ * "unixVer": "4.0"
326
+ * }
327
+ * }
64
328
  */
65
329
  duration?: number | null
66
330
  /**
67
331
  * 接口调用成功的回调函数
332
+ * @uniPlatform {
333
+ * "app": {
334
+ * "android": {
335
+ * "osVer": "5.0",
336
+ * "uniVer": "√",
337
+ * "unixVer": "3.91"
338
+ * },
339
+ * "ios": {
340
+ * "osVer": "12.0",
341
+ * "uniVer": "√",
342
+ * "unixVer": "4.11"
343
+ * },
344
+ * "harmony": {
345
+ * "osVer": "3.0",
346
+ * "uniVer": "4.23",
347
+ * "unixVer": "4.61",
348
+ * "unixVaporVer": "5.00"
349
+ * }
350
+ * },
351
+ * "mp": {
352
+ * "weixin": {
353
+ * "hostVer": "√",
354
+ * "uniVer": "√",
355
+ * "unixVer": "4.41"
356
+ * },
357
+ * "alipay": {
358
+ * "hostVer": "√",
359
+ * "uniVer": "√",
360
+ * "unixVer": "x"
361
+ * },
362
+ * "baidu": {
363
+ * "hostVer": "√",
364
+ * "uniVer": "√",
365
+ * "unixVer": "x"
366
+ * },
367
+ * "toutiao": {
368
+ * "hostVer": "√",
369
+ * "uniVer": "√",
370
+ * "unixVer": "x"
371
+ * },
372
+ * "lark": {
373
+ * "hostVer": "√",
374
+ * "uniVer": "√",
375
+ * "unixVer": "x"
376
+ * },
377
+ * "qq": {
378
+ * "hostVer": "√",
379
+ * "uniVer": "√",
380
+ * "unixVer": "x"
381
+ * },
382
+ * "kuaishou": {
383
+ * "hostVer": "√",
384
+ * "uniVer": "√",
385
+ * "unixVer": "x"
386
+ * },
387
+ * "jd": {
388
+ * "hostVer": "√",
389
+ * "uniVer": "√",
390
+ * "unixVer": "x"
391
+ * }
392
+ * },
393
+ * "web": {
394
+ * "uniVer": "√",
395
+ * "unixVer": "4.0"
396
+ * }
397
+ * }
68
398
  */
69
399
  success?: PageScrollToSuccessCallback | null
70
400
  /**
71
401
  * 接口调用失败的回调函数
402
+ * @uniPlatform {
403
+ * "app": {
404
+ * "android": {
405
+ * "osVer": "5.0",
406
+ * "uniVer": "√",
407
+ * "unixVer": "3.91"
408
+ * },
409
+ * "ios": {
410
+ * "osVer": "12.0",
411
+ * "uniVer": "√",
412
+ * "unixVer": "4.11"
413
+ * },
414
+ * "harmony": {
415
+ * "osVer": "3.0",
416
+ * "uniVer": "4.23",
417
+ * "unixVer": "4.61",
418
+ * "unixVaporVer": "5.00"
419
+ * }
420
+ * },
421
+ * "mp": {
422
+ * "weixin": {
423
+ * "hostVer": "√",
424
+ * "uniVer": "√",
425
+ * "unixVer": "4.41"
426
+ * },
427
+ * "alipay": {
428
+ * "hostVer": "√",
429
+ * "uniVer": "√",
430
+ * "unixVer": "x"
431
+ * },
432
+ * "baidu": {
433
+ * "hostVer": "√",
434
+ * "uniVer": "√",
435
+ * "unixVer": "x"
436
+ * },
437
+ * "toutiao": {
438
+ * "hostVer": "√",
439
+ * "uniVer": "√",
440
+ * "unixVer": "x"
441
+ * },
442
+ * "lark": {
443
+ * "hostVer": "√",
444
+ * "uniVer": "√",
445
+ * "unixVer": "x"
446
+ * },
447
+ * "qq": {
448
+ * "hostVer": "√",
449
+ * "uniVer": "√",
450
+ * "unixVer": "x"
451
+ * },
452
+ * "kuaishou": {
453
+ * "hostVer": "√",
454
+ * "uniVer": "√",
455
+ * "unixVer": "x"
456
+ * },
457
+ * "jd": {
458
+ * "hostVer": "√",
459
+ * "uniVer": "√",
460
+ * "unixVer": "x"
461
+ * }
462
+ * },
463
+ * "web": {
464
+ * "uniVer": "√",
465
+ * "unixVer": "4.0"
466
+ * }
467
+ * }
72
468
  */
73
469
  fail?: PageScrollToFailCallback | null
74
470
  /**
75
471
  * 接口调用结束的回调函数(调用成功、失败都会执行)
76
- */
77
- complete?: PageScrollToCompleteCallback | null
78
- }
79
- export type PageScrollTo = (options: PageScrollToOptions) => Promise<PageScrollToSuccess> | null
80
- export interface Uni {
81
- /**
82
- * 将页面滚动到目标位置
83
- *
84
- * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/scroll.html#pagescrollto
85
- * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/page-scroll-to.html#pagescrollto
86
- * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/page-scroll-to.html#pagescrollto
87
472
  * @uniPlatform {
88
473
  * "app": {
89
474
  * "android": {
@@ -100,7 +485,7 @@ export interface Uni {
100
485
  * "osVer": "3.0",
101
486
  * "uniVer": "4.23",
102
487
  * "unixVer": "4.61",
103
- * "unixVaporVer": "5.0"
488
+ * "unixVaporVer": "5.00"
104
489
  * }
105
490
  * },
106
491
  * "mp": {
@@ -151,5 +536,83 @@ export interface Uni {
151
536
  * }
152
537
  * }
153
538
  */
539
+ complete?: PageScrollToCompleteCallback | null
540
+ }
541
+ export type PageScrollTo = (options: PageScrollToOptions) => Promise<PageScrollToSuccess> | null
542
+ export interface Uni {
543
+ /**
544
+ * 将页面滚动到目标位置
545
+ *
546
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/ui/scroll.html#pagescrollto
547
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/page-scroll-to.html#pagescrollto
548
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/page-scroll-to.html#pagescrollto
549
+ * @uniPlatform {
550
+ * "app": {
551
+ * "android": {
552
+ * "osVer": "5.0",
553
+ * "uniVer": "√",
554
+ * "unixVer": "3.91"
555
+ * },
556
+ * "ios": {
557
+ * "osVer": "12.0",
558
+ * "uniVer": "√",
559
+ * "unixVer": "4.11"
560
+ * },
561
+ * "harmony": {
562
+ * "osVer": "3.0",
563
+ * "uniVer": "4.23",
564
+ * "unixVer": "4.61",
565
+ * "unixVaporVer": "5.00"
566
+ * }
567
+ * },
568
+ * "mp": {
569
+ * "weixin": {
570
+ * "hostVer": "1.4.0",
571
+ * "uniVer": "√",
572
+ * "unixVer": "4.41"
573
+ * },
574
+ * "alipay": {
575
+ * "hostVer": "√",
576
+ * "uniVer": "√",
577
+ * "unixVer": "x"
578
+ * },
579
+ * "baidu": {
580
+ * "hostVer": "√",
581
+ * "uniVer": "√",
582
+ * "unixVer": "x"
583
+ * },
584
+ * "toutiao": {
585
+ * "hostVer": "√",
586
+ * "uniVer": "√",
587
+ * "unixVer": "x"
588
+ * },
589
+ * "lark": {
590
+ * "hostVer": "√",
591
+ * "uniVer": "√",
592
+ * "unixVer": "x"
593
+ * },
594
+ * "qq": {
595
+ * "hostVer": "√",
596
+ * "uniVer": "√",
597
+ * "unixVer": "x"
598
+ * },
599
+ * "kuaishou": {
600
+ * "hostVer": "√",
601
+ * "uniVer": "√",
602
+ * "unixVer": "x"
603
+ * },
604
+ * "jd": {
605
+ * "hostVer": "√",
606
+ * "uniVer": "√",
607
+ * "unixVer": "x"
608
+ * }
609
+ * },
610
+ * "web": {
611
+ * "uniVer": "√",
612
+ * "unixVer": "4.0"
613
+ * }
614
+ * }
615
+ * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/scroll/wx.pageScrollTo.html
616
+ */
154
617
  pageScrollTo(options: PageScrollToOptions): Promise<PageScrollToSuccess> | null
155
618
  }
@@ -1,2 +1,2 @@
1
- export class UniProgressElement extends UniVueElement {
1
+ export class UniProgressElement extends UniViewElementImpl {
2
2
  }