@dcloudio/uni-app-x 0.7.120 → 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 (174) 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/native/DrawableContext.d.ts +104 -52
  5. package/types/native/IUniElement.d.ts +4 -2
  6. package/types/node_modules/.package-lock.json +20 -0
  7. package/types/node_modules/typescript/LICENSE.txt +55 -0
  8. package/types/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
  9. package/types/node_modules/typescript/bin/tsc +2 -0
  10. package/types/node_modules/typescript/bin/tsserver +2 -0
  11. package/types/node_modules/typescript/lib/cancellationToken.js +90 -0
  12. package/types/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +1880 -0
  13. package/types/node_modules/typescript/lib/de/diagnosticMessages.generated.json +1880 -0
  14. package/types/node_modules/typescript/lib/es/diagnosticMessages.generated.json +1880 -0
  15. package/types/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +1880 -0
  16. package/types/node_modules/typescript/lib/it/diagnosticMessages.generated.json +1880 -0
  17. package/types/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +1880 -0
  18. package/types/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +1880 -0
  19. package/types/node_modules/typescript/lib/lib.d.ts +22 -0
  20. package/types/node_modules/typescript/lib/lib.decorators.d.ts +386 -0
  21. package/types/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
  22. package/types/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +33 -0
  23. package/types/node_modules/typescript/lib/lib.dom.d.ts +28596 -0
  24. package/types/node_modules/typescript/lib/lib.dom.iterable.d.ts +475 -0
  25. package/types/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
  26. package/types/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
  27. package/types/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
  28. package/types/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
  29. package/types/node_modules/typescript/lib/lib.es2015.iterable.d.ts +495 -0
  30. package/types/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
  31. package/types/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
  32. package/types/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
  33. package/types/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
  34. package/types/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  35. package/types/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
  36. package/types/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
  37. package/types/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
  38. package/types/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
  39. package/types/node_modules/typescript/lib/lib.es2017.d.ts +25 -0
  40. package/types/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
  41. package/types/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
  42. package/types/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
  43. package/types/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
  44. package/types/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
  45. package/types/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
  46. package/types/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
  47. package/types/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  48. package/types/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +43 -0
  49. package/types/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
  50. package/types/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
  51. package/types/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
  52. package/types/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
  53. package/types/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
  54. package/types/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
  55. package/types/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
  56. package/types/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
  57. package/types/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
  58. package/types/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
  59. package/types/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
  60. package/types/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
  61. package/types/node_modules/typescript/lib/lib.es2020.bigint.d.ts +727 -0
  62. package/types/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
  63. package/types/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
  64. package/types/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
  65. package/types/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
  66. package/types/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
  67. package/types/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
  68. package/types/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +97 -0
  69. package/types/node_modules/typescript/lib/lib.es2020.string.d.ts +42 -0
  70. package/types/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +37 -0
  71. package/types/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
  72. package/types/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
  73. package/types/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
  74. package/types/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
  75. package/types/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
  76. package/types/node_modules/typescript/lib/lib.es2021.weakref.d.ts +76 -0
  77. package/types/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
  78. package/types/node_modules/typescript/lib/lib.es2022.d.ts +26 -0
  79. package/types/node_modules/typescript/lib/lib.es2022.error.d.ts +73 -0
  80. package/types/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
  81. package/types/node_modules/typescript/lib/lib.es2022.intl.d.ts +117 -0
  82. package/types/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
  83. package/types/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
  84. package/types/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +39 -0
  85. package/types/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
  86. package/types/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
  87. package/types/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  88. package/types/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
  89. package/types/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
  90. package/types/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
  91. package/types/node_modules/typescript/lib/lib.es5.d.ts +4585 -0
  92. package/types/node_modules/typescript/lib/lib.es6.d.ts +23 -0
  93. package/types/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
  94. package/types/node_modules/typescript/lib/lib.esnext.collection.d.ts +106 -0
  95. package/types/node_modules/typescript/lib/lib.esnext.d.ts +28 -0
  96. package/types/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
  97. package/types/node_modules/typescript/lib/lib.esnext.disposable.d.ts +185 -0
  98. package/types/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
  99. package/types/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
  100. package/types/node_modules/typescript/lib/lib.esnext.object.d.ts +29 -0
  101. package/types/node_modules/typescript/lib/lib.esnext.promise.d.ts +35 -0
  102. package/types/node_modules/typescript/lib/lib.esnext.regexp.d.ts +25 -0
  103. package/types/node_modules/typescript/lib/lib.esnext.string.d.ts +29 -0
  104. package/types/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
  105. package/types/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +33 -0
  106. package/types/node_modules/typescript/lib/lib.webworker.d.ts +9431 -0
  107. package/types/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
  108. package/types/node_modules/typescript/lib/lib.webworker.iterable.d.ts +276 -0
  109. package/types/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +1880 -0
  110. package/types/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +1880 -0
  111. package/types/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +1880 -0
  112. package/types/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +1880 -0
  113. package/types/node_modules/typescript/lib/tsc.js +129741 -0
  114. package/types/node_modules/typescript/lib/tsserver.js +621 -0
  115. package/types/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
  116. package/types/node_modules/typescript/lib/tsserverlibrary.js +21 -0
  117. package/types/node_modules/typescript/lib/typesMap.json +497 -0
  118. package/types/node_modules/typescript/lib/typescript.d.ts +11240 -0
  119. package/types/node_modules/typescript/lib/typescript.js +194910 -0
  120. package/types/node_modules/typescript/lib/typingsInstaller.js +236 -0
  121. package/types/node_modules/typescript/lib/watchGuard.js +53 -0
  122. package/types/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +1880 -0
  123. package/types/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +1880 -0
  124. package/types/node_modules/typescript/package.json +116 -0
  125. package/types/page.d.ts +2 -2
  126. package/types/uni/env/index.d.ts +2 -1
  127. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/global.d.ts +0 -2
  128. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/index.d.ts +0 -1
  129. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +0 -1
  130. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +1 -0
  131. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +72 -531
  132. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +72 -531
  133. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +6 -6
  134. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +72 -68
  135. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +8 -12
  136. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +4 -6
  137. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +1741 -905
  138. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +12 -12
  139. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +1157 -830
  140. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +936 -335
  141. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/global.d.ts +8 -0
  142. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/index.d.ts +4 -0
  143. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +1155 -1142
  144. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +6 -6
  145. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +0 -2
  146. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +0 -1
  147. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +0 -1
  148. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/interface.d.ts +2 -1
  149. package/types/uni/uts-plugin-component/lib/uni-form-global/utssdk/interface.d.ts +1 -1
  150. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +1 -0
  151. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +531 -72
  152. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +531 -72
  153. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +6 -6
  154. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +73 -67
  155. package/types/uni/uts-plugin-component/lib/uni-match-media-global/utssdk/interface.d.ts +1 -1
  156. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +8 -12
  157. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +4 -6
  158. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +1743 -291
  159. package/types/uni/uts-plugin-component/lib/uni-navigator-global/utssdk/interface.d.ts +1 -1
  160. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +12 -12
  161. package/types/uni/uts-plugin-component/lib/uni-progress-global/utssdk/interface.d.ts +1 -1
  162. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +1175 -314
  163. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +936 -335
  164. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +8 -0
  165. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +4 -0
  166. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +1617 -446
  167. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +6 -6
  168. package/types/uni/uts-plugin-extend/global.d.ts +0 -1
  169. package/types/uni/uts-plugin-extend/index.d.ts +0 -1
  170. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +3 -3
  171. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +2 -1
  172. package/types/vue/LifeCycle.d.ts +2 -2
  173. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/global.d.ts +0 -9
  174. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/index.d.ts +0 -1
@@ -5,7 +5,8 @@ export type WebViewProgressStyles = {
5
5
  export type WebViewStyles = {
6
6
  progress : WebViewProgressStyles | boolean
7
7
  }
8
-
8
+
9
+
9
10
  export type UniWebviewContextLoadDataOptions = {
10
11
  /**
11
12
  * 要加载的内容,编码后的字符串
@@ -106,8 +107,11 @@ export type UniWebviewContextLoadDataOptions = {
106
107
  */
107
108
  encoding ?: string | null
108
109
  }
109
-
110
+
111
+ // TODO: 以下写法 iOS 会被编译为typealias, 但编译后的swift源码没有别名相对应的uts逻辑代码(比如:UniWebviewContextLoadDataOptionsJSONObject)
112
+ // iOS 暂时先增加条件编译
110
113
  export type UniWebViewContextLoadDataOptions = UniWebviewContextLoadDataOptions
114
+
111
115
 
112
116
  export type UniWebViewElementLoadDataOptions = {
113
117
  /**
@@ -379,11 +383,7 @@ export interface WebviewContext {
379
383
  * }
380
384
  * }
381
385
  */
382
-
383
-
384
386
  loadData(options : UniWebViewContextLoadDataOptions) : void
385
-
386
-
387
387
  }
388
388
 
389
389
  export interface WebViewContext extends WebviewContext {
@@ -1,7 +1,6 @@
1
1
  // 本文件为自动构建生成
2
2
  import {
3
3
  RouteErrorCode as RouteErrorCodeOrigin,
4
- EventChannel as EventChannelOrigin,
5
4
  OpenDialogPageSuccess as OpenDialogPageSuccessOrigin,
6
5
  OpenDialogPageFail as OpenDialogPageFailOrigin,
7
6
  OpenDialogPageComplete as OpenDialogPageCompleteOrigin,
@@ -15,7 +14,6 @@
15
14
 
16
15
  declare global {
17
16
  type RouteErrorCode = RouteErrorCodeOrigin
18
- type EventChannel = EventChannelOrigin
19
17
  type OpenDialogPageSuccess = OpenDialogPageSuccessOrigin
20
18
  type OpenDialogPageFail = OpenDialogPageFailOrigin
21
19
  type OpenDialogPageComplete = OpenDialogPageCompleteOrigin
@@ -1,7 +1,6 @@
1
1
  // 本文件为自动构建生成
2
2
  export {
3
3
  RouteErrorCode,
4
- EventChannel,
5
4
  OpenDialogPageSuccess,
6
5
  OpenDialogPageFail,
7
6
  OpenDialogPageComplete,
@@ -8,7 +8,6 @@ export type RouteErrorCode = 4
8
8
  *
9
9
  * @tutorial http://uniapp.dcloud.io/api/router.html#event-channel
10
10
  */
11
- export type EventChannel = {}
12
11
 
13
12
  /**
14
13
  * 打开 dialogPage 成功回调参数
@@ -102,9 +102,10 @@ type UniEditorElementGetContentsOptions = {
102
102
  fail?: ((res: UniEditorElementOptionsFailRes) => void) | null;
103
103
  complete?: ((res: UniEditorElementOptionsCompleteRes) => void) | null;
104
104
  };
105
- export class UniEditorElement extends UniVueElement {
105
+ export class UniEditorElement extends UniViewElementImpl {
106
106
  tagName: string;
107
107
  nodeName: string;
108
+ vm: any;
108
109
  /**
109
110
  * @internal 获取编辑器上下文对象,供组件内部调用,外部不建议使用
110
111
  */
@@ -1,2 +1,2 @@
1
- export class UniButtonElement extends UniVueElement {
1
+ export class UniButtonElement extends UniViewElementImpl {
2
2
  }
@@ -26,6 +26,7 @@ export interface Uni {
26
26
  * "osVer": "5.0.0",
27
27
  * "uniVer": "x",
28
28
  * "unixVer": "4.61",
29
+ * "unixVaporVer": "5.0",
29
30
  * "unixUtsPlugin": "4.61"
30
31
  * }
31
32
  * },