@dcloudio/uni-app-x 0.7.122 → 0.7.124

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 (545) hide show
  1. package/package.json +1 -1
  2. package/types/dom2-internal/UniTextLayout.d.ts +5 -0
  3. package/types/native/IUniElement.d.ts +253 -13
  4. package/types/native/UniAnimation.d.ts +63 -9
  5. package/types/page.d.ts +6 -5
  6. package/types/uni/uts-plugin-api/global.d.ts +1 -2
  7. package/types/uni/uts-plugin-api/index.d.ts +1 -2
  8. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/global.d.ts +36 -12
  9. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/index.d.ts +18 -6
  10. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/interface.d.ts +84 -13
  11. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/global.d.ts +6 -0
  12. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/index.d.ts +3 -0
  13. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +22 -6
  14. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/global.d.ts +28 -12
  15. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/index.d.ts +14 -6
  16. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/interface.d.ts +203 -178
  17. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/global.d.ts +0 -2
  18. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/index.d.ts +0 -1
  19. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +7 -559
  20. package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/global.d.ts +38 -14
  21. package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/index.d.ts +19 -7
  22. package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/interface.d.ts +415 -350
  23. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +4 -2
  24. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +2 -1
  25. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +75 -23
  26. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +720 -0
  27. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +154 -20
  28. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/global.d.ts +36 -12
  29. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/index.d.ts +18 -6
  30. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/interface.d.ts +91 -16
  31. package/types/uni/{uts-plugin-component/lib/uni-memorywarning → uts-plugin-api/lib/uni-memory}/utssdk/global.d.ts +2 -2
  32. package/types/uni/{uts-plugin-component/lib/uni-memorywarning → uts-plugin-api/lib/uni-memory}/utssdk/index.d.ts +1 -1
  33. package/types/uni/uts-plugin-api/lib/uni-memory/utssdk/interface.d.ts +178 -0
  34. package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/interface.d.ts +69 -67
  35. package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/interface.d.ts +14 -4
  36. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/global.d.ts +4 -0
  37. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/index.d.ts +2 -0
  38. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +22 -5
  39. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/global.d.ts +6 -0
  40. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/index.d.ts +3 -0
  41. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +15 -3
  42. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +19 -18
  43. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/global.d.ts +24 -2
  44. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/index.d.ts +12 -1
  45. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/interface.d.ts +158 -47
  46. package/types/uni/uts-plugin-api/lib/uni-video/utssdk/interface.d.ts +68 -67
  47. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/global.d.ts +0 -2
  48. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/index.d.ts +0 -1
  49. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +3 -3
  50. package/types/uni/uts-plugin-biz/global.d.ts +2 -1
  51. package/types/uni/uts-plugin-biz/index.d.ts +2 -1
  52. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/global.d.ts +36 -12
  53. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/index.d.ts +18 -6
  54. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/interface.d.ts +772 -257
  55. package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/global.d.ts +45 -0
  56. package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/index.d.ts +22 -0
  57. package/types/uni/uts-plugin-biz/lib/uni-ad-dom2/utssdk/interface.d.ts +732 -0
  58. package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/global.d.ts +6 -0
  59. package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/index.d.ts +3 -0
  60. package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/interface.d.ts +22 -6
  61. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/global.d.ts +28 -12
  62. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/index.d.ts +14 -6
  63. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/interface.d.ts +203 -178
  64. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/global.d.ts +38 -14
  65. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/index.d.ts +19 -7
  66. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/interface.d.ts +415 -350
  67. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/global.d.ts +36 -12
  68. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/index.d.ts +18 -6
  69. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/interface.d.ts +91 -16
  70. package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/global.d.ts +21 -0
  71. package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/index.d.ts +10 -0
  72. package/types/uni/uts-plugin-biz/lib/uni-memory/utssdk/interface.d.ts +178 -0
  73. package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/interface.d.ts +14 -4
  74. package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/global.d.ts +6 -0
  75. package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/index.d.ts +3 -0
  76. package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/interface.d.ts +15 -3
  77. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/global.d.ts +24 -2
  78. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/index.d.ts +12 -1
  79. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/interface.d.ts +132 -19
  80. package/types/uni/uts-plugin-component/global.d.ts +23 -112
  81. package/types/uni/uts-plugin-component/index.d.ts +23 -112
  82. package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/interface.d.ts +2 -0
  83. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/global.d.ts +9 -0
  84. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/index.d.ts +5 -0
  85. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-global/utssdk/interface.d.ts +7 -0
  86. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/global.d.ts +9 -0
  87. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/index.d.ts +5 -0
  88. package/types/uni/uts-plugin-component/lib/uni-form-checkbox-group-global/utssdk/interface.d.ts +2 -0
  89. package/types/uni/uts-plugin-component/lib/uni-form-form-global/utssdk/global.d.ts +9 -0
  90. package/types/uni/uts-plugin-component/lib/{uni-getElementById → uni-form-form-global}/utssdk/index.d.ts +1 -1
  91. package/types/uni/uts-plugin-component/lib/uni-form-form-global/utssdk/interface.d.ts +2 -0
  92. package/types/uni/uts-plugin-component/lib/uni-form-label-global/utssdk/global.d.ts +9 -0
  93. package/types/uni/uts-plugin-component/lib/{uni-page-container-global → uni-form-label-global}/utssdk/index.d.ts +1 -1
  94. package/types/uni/uts-plugin-component/lib/uni-form-label-global/utssdk/interface.d.ts +2 -0
  95. package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/global.d.ts +9 -0
  96. package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/index.d.ts +5 -0
  97. package/types/uni/uts-plugin-component/lib/uni-form-picker-global/utssdk/interface.d.ts +2 -0
  98. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/global.d.ts +9 -0
  99. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/index.d.ts +5 -0
  100. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-column-global/utssdk/interface.d.ts +2 -0
  101. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-global/utssdk/global.d.ts +9 -0
  102. package/types/uni/uts-plugin-component/lib/{uni-arrayBufferToBase64 → uni-form-picker-view-global}/utssdk/index.d.ts +1 -1
  103. package/types/uni/uts-plugin-component/lib/uni-form-picker-view-global/utssdk/interface.d.ts +2 -0
  104. package/types/uni/uts-plugin-component/lib/uni-form-radio-global/utssdk/global.d.ts +9 -0
  105. package/types/uni/uts-plugin-component/lib/{uni-input → uni-form-radio-global}/utssdk/index.d.ts +1 -1
  106. package/types/uni/uts-plugin-component/lib/uni-form-radio-global/utssdk/interface.d.ts +7 -0
  107. package/types/uni/uts-plugin-component/lib/uni-form-radio-group-global/utssdk/global.d.ts +9 -0
  108. package/types/uni/uts-plugin-component/lib/{uni-base64ToArrayBuffer → uni-form-radio-group-global}/utssdk/index.d.ts +1 -1
  109. package/types/uni/uts-plugin-component/lib/uni-form-radio-group-global/utssdk/interface.d.ts +2 -0
  110. package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/global.d.ts +13 -0
  111. package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/index.d.ts +7 -0
  112. package/types/uni/uts-plugin-component/lib/uni-form-slider-global/utssdk/interface.d.ts +18 -0
  113. package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/global.d.ts +9 -0
  114. package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/index.d.ts +5 -0
  115. package/types/uni/uts-plugin-component/lib/uni-form-switch-global/utssdk/interface.d.ts +7 -0
  116. package/types/vue/LifeCycle.d.ts +2 -2
  117. package/types/node_modules/.package-lock.json +0 -20
  118. package/types/node_modules/typescript/LICENSE.txt +0 -55
  119. package/types/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  120. package/types/node_modules/typescript/bin/tsc +0 -2
  121. package/types/node_modules/typescript/bin/tsserver +0 -2
  122. package/types/node_modules/typescript/lib/cancellationToken.js +0 -90
  123. package/types/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -1880
  124. package/types/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -1880
  125. package/types/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -1880
  126. package/types/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -1880
  127. package/types/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -1880
  128. package/types/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -1880
  129. package/types/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -1880
  130. package/types/node_modules/typescript/lib/lib.d.ts +0 -22
  131. package/types/node_modules/typescript/lib/lib.decorators.d.ts +0 -386
  132. package/types/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  133. package/types/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -33
  134. package/types/node_modules/typescript/lib/lib.dom.d.ts +0 -28596
  135. package/types/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -475
  136. package/types/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  137. package/types/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  138. package/types/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  139. package/types/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  140. package/types/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -495
  141. package/types/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  142. package/types/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  143. package/types/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  144. package/types/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  145. package/types/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  146. package/types/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  147. package/types/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  148. package/types/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  149. package/types/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  150. package/types/node_modules/typescript/lib/lib.es2017.d.ts +0 -25
  151. package/types/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  152. package/types/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  153. package/types/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  154. package/types/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  155. package/types/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  156. package/types/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  157. package/types/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  158. package/types/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  159. package/types/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -43
  160. package/types/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  161. package/types/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  162. package/types/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  163. package/types/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  164. package/types/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  165. package/types/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  166. package/types/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  167. package/types/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  168. package/types/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  169. package/types/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  170. package/types/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  171. package/types/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  172. package/types/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -727
  173. package/types/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  174. package/types/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  175. package/types/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  176. package/types/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  177. package/types/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  178. package/types/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  179. package/types/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -97
  180. package/types/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -42
  181. package/types/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -37
  182. package/types/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  183. package/types/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  184. package/types/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  185. package/types/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  186. package/types/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  187. package/types/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -76
  188. package/types/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  189. package/types/node_modules/typescript/lib/lib.es2022.d.ts +0 -26
  190. package/types/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -73
  191. package/types/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  192. package/types/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -117
  193. package/types/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  194. package/types/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  195. package/types/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +0 -39
  196. package/types/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  197. package/types/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  198. package/types/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  199. package/types/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  200. package/types/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  201. package/types/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  202. package/types/node_modules/typescript/lib/lib.es5.d.ts +0 -4585
  203. package/types/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  204. package/types/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  205. package/types/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -106
  206. package/types/node_modules/typescript/lib/lib.esnext.d.ts +0 -28
  207. package/types/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  208. package/types/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -185
  209. package/types/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  210. package/types/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  211. package/types/node_modules/typescript/lib/lib.esnext.object.d.ts +0 -29
  212. package/types/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -35
  213. package/types/node_modules/typescript/lib/lib.esnext.regexp.d.ts +0 -25
  214. package/types/node_modules/typescript/lib/lib.esnext.string.d.ts +0 -29
  215. package/types/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  216. package/types/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -33
  217. package/types/node_modules/typescript/lib/lib.webworker.d.ts +0 -9431
  218. package/types/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  219. package/types/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -276
  220. package/types/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -1880
  221. package/types/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -1880
  222. package/types/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -1880
  223. package/types/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -1880
  224. package/types/node_modules/typescript/lib/tsc.js +0 -129741
  225. package/types/node_modules/typescript/lib/tsserver.js +0 -621
  226. package/types/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  227. package/types/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  228. package/types/node_modules/typescript/lib/typesMap.json +0 -497
  229. package/types/node_modules/typescript/lib/typescript.d.ts +0 -11240
  230. package/types/node_modules/typescript/lib/typescript.js +0 -194910
  231. package/types/node_modules/typescript/lib/typingsInstaller.js +0 -236
  232. package/types/node_modules/typescript/lib/watchGuard.js +0 -53
  233. package/types/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -1880
  234. package/types/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -1880
  235. package/types/node_modules/typescript/package.json +0 -116
  236. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/global.d.ts +0 -25
  237. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/index.d.ts +0 -12
  238. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +0 -1767
  239. package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/global.d.ts +0 -35
  240. package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/index.d.ts +0 -17
  241. package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/interface.d.ts +0 -359
  242. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/global.d.ts +0 -29
  243. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/index.d.ts +0 -14
  244. package/types/uni/uts-plugin-component/lib/uni-actionSheet/utssdk/interface.d.ts +0 -1673
  245. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/global.d.ts +0 -25
  246. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/index.d.ts +0 -12
  247. package/types/uni/uts-plugin-component/lib/uni-addPhoneContact/utssdk/interface.d.ts +0 -226
  248. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +0 -11
  249. package/types/uni/uts-plugin-component/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +0 -79
  250. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/global.d.ts +0 -59
  251. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/index.d.ts +0 -29
  252. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +0 -1342
  253. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +0 -11
  254. package/types/uni/uts-plugin-component/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +0 -79
  255. package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/global.d.ts +0 -35
  256. package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/index.d.ts +0 -17
  257. package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/interface.d.ts +0 -944
  258. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +0 -55
  259. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +0 -27
  260. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +0 -1330
  261. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/global.d.ts +0 -25
  262. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/index.d.ts +0 -12
  263. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +0 -978
  264. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/global.d.ts +0 -25
  265. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/index.d.ts +0 -12
  266. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +0 -979
  267. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/global.d.ts +0 -25
  268. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/index.d.ts +0 -12
  269. package/types/uni/uts-plugin-component/lib/uni-chooseLocation/utssdk/interface.d.ts +0 -423
  270. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/global.d.ts +0 -33
  271. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/index.d.ts +0 -16
  272. package/types/uni/uts-plugin-component/lib/uni-chooseMedia/utssdk/interface.d.ts +0 -499
  273. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/global.d.ts +0 -45
  274. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/index.d.ts +0 -22
  275. package/types/uni/uts-plugin-component/lib/uni-clipboard/utssdk/interface.d.ts +0 -217
  276. package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/global.d.ts +0 -35
  277. package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/index.d.ts +0 -17
  278. package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/interface.d.ts +0 -353
  279. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/global.d.ts +0 -33
  280. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/index.d.ts +0 -16
  281. package/types/uni/uts-plugin-component/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +0 -3379
  282. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/global.d.ts +0 -21
  283. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/index.d.ts +0 -10
  284. package/types/uni/uts-plugin-component/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +0 -153
  285. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +0 -19
  286. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +0 -9
  287. package/types/uni/uts-plugin-component/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +0 -61
  288. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/global.d.ts +0 -21
  289. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/index.d.ts +0 -10
  290. package/types/uni/uts-plugin-component/lib/uni-createSelectorQuery/utssdk/interface.d.ts +0 -560
  291. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/global.d.ts +0 -15
  292. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/index.d.ts +0 -7
  293. package/types/uni/uts-plugin-component/lib/uni-createWebviewContext/utssdk/interface.d.ts +0 -214
  294. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/global.d.ts +0 -23
  295. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/index.d.ts +0 -11
  296. package/types/uni/uts-plugin-component/lib/uni-createWorker/utssdk/interface.d.ts +0 -158
  297. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +0 -27
  298. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +0 -13
  299. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +0 -2303
  300. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +0 -43
  301. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +0 -21
  302. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +0 -943
  303. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/global.d.ts +0 -17
  304. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/index.d.ts +0 -8
  305. package/types/uni/uts-plugin-component/lib/uni-event/utssdk/interface.d.ts +0 -338
  306. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/global.d.ts +0 -27
  307. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/index.d.ts +0 -13
  308. package/types/uni/uts-plugin-component/lib/uni-exit/utssdk/interface.d.ts +0 -147
  309. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/global.d.ts +0 -81
  310. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/index.d.ts +0 -40
  311. package/types/uni/uts-plugin-component/lib/uni-file/utssdk/interface.d.ts +0 -397
  312. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/global.d.ts +0 -151
  313. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/index.d.ts +0 -75
  314. package/types/uni/uts-plugin-component/lib/uni-fileSystemManager/utssdk/interface.d.ts +0 -6428
  315. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +0 -11
  316. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +0 -5
  317. package/types/uni/uts-plugin-component/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +0 -37
  318. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +0 -13
  319. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +0 -6
  320. package/types/uni/uts-plugin-component/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +0 -620
  321. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/global.d.ts +0 -15
  322. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/index.d.ts +0 -7
  323. package/types/uni/uts-plugin-component/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +0 -2220
  324. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +0 -17
  325. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +0 -8
  326. package/types/uni/uts-plugin-component/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +0 -1406
  327. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/global.d.ts +0 -15
  328. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/index.d.ts +0 -7
  329. package/types/uni/uts-plugin-component/lib/uni-getDeviceInfo/utssdk/interface.d.ts +0 -1774
  330. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/global.d.ts +0 -11
  331. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +0 -83
  332. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +0 -13
  333. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +0 -6
  334. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +0 -833
  335. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/global.d.ts +0 -13
  336. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/index.d.ts +0 -6
  337. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +0 -836
  338. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/global.d.ts +0 -21
  339. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/index.d.ts +0 -11
  340. package/types/uni/uts-plugin-component/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +0 -736
  341. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/global.d.ts +0 -33
  342. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/index.d.ts +0 -16
  343. package/types/uni/uts-plugin-component/lib/uni-getNetworkType/utssdk/interface.d.ts +0 -420
  344. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/global.d.ts +0 -23
  345. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/index.d.ts +0 -11
  346. package/types/uni/uts-plugin-component/lib/uni-getPerformance/utssdk/interface.d.ts +0 -199
  347. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/global.d.ts +0 -37
  348. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/index.d.ts +0 -18
  349. package/types/uni/uts-plugin-component/lib/uni-getProvider/utssdk/interface.d.ts +0 -757
  350. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/global.d.ts +0 -33
  351. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/index.d.ts +0 -16
  352. package/types/uni/uts-plugin-component/lib/uni-getSystemInfo/utssdk/interface.d.ts +0 -6084
  353. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/global.d.ts +0 -13
  354. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/index.d.ts +0 -6
  355. package/types/uni/uts-plugin-component/lib/uni-getSystemSetting/utssdk/interface.d.ts +0 -508
  356. package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/global.d.ts +0 -35
  357. package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/index.d.ts +0 -17
  358. package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/interface.d.ts +0 -362
  359. package/types/uni/uts-plugin-component/lib/uni-input/utssdk/global.d.ts +0 -9
  360. package/types/uni/uts-plugin-component/lib/uni-input/utssdk/interface.d.ts +0 -0
  361. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/global.d.ts +0 -25
  362. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/index.d.ts +0 -12
  363. package/types/uni/uts-plugin-component/lib/uni-installApk/utssdk/interface.d.ts +0 -125
  364. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/global.d.ts +0 -17
  365. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/index.d.ts +0 -8
  366. package/types/uni/uts-plugin-component/lib/uni-interceptor/utssdk/interface.d.ts +0 -171
  367. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/global.d.ts +0 -45
  368. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/index.d.ts +0 -22
  369. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +0 -693
  370. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/global.d.ts +0 -29
  371. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/index.d.ts +0 -14
  372. package/types/uni/uts-plugin-component/lib/uni-loadFontFace/utssdk/interface.d.ts +0 -603
  373. package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/global.d.ts +0 -9
  374. package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/index.d.ts +0 -5
  375. package/types/uni/uts-plugin-component/lib/uni-loading-global/utssdk/interface.d.ts +0 -5
  376. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/global.d.ts +0 -61
  377. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/index.d.ts +0 -30
  378. package/types/uni/uts-plugin-component/lib/uni-location/utssdk/interface.d.ts +0 -3443
  379. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/global.d.ts +0 -9
  380. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/index.d.ts +0 -5
  381. package/types/uni/uts-plugin-component/lib/uni-location-system/utssdk/interface.d.ts +0 -3
  382. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/global.d.ts +0 -9
  383. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/index.d.ts +0 -5
  384. package/types/uni/uts-plugin-component/lib/uni-location-tencent/utssdk/interface.d.ts +0 -3
  385. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/global.d.ts +0 -29
  386. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/index.d.ts +0 -14
  387. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +0 -392
  388. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/global.d.ts +0 -157
  389. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/index.d.ts +0 -78
  390. package/types/uni/uts-plugin-component/lib/uni-media/utssdk/interface.d.ts +0 -5245
  391. package/types/uni/uts-plugin-component/lib/uni-memorywarning/utssdk/interface.d.ts +0 -20
  392. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +0 -39
  393. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +0 -19
  394. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +0 -1743
  395. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/global.d.ts +0 -69
  396. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/index.d.ts +0 -34
  397. package/types/uni/uts-plugin-component/lib/uni-navigationBar/utssdk/interface.d.ts +0 -1047
  398. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/global.d.ts +0 -109
  399. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/index.d.ts +0 -54
  400. package/types/uni/uts-plugin-component/lib/uni-network/utssdk/interface.d.ts +0 -4462
  401. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/global.d.ts +0 -71
  402. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/index.d.ts +0 -35
  403. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +0 -3031
  404. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/global.d.ts +0 -9
  405. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/index.d.ts +0 -5
  406. package/types/uni/uts-plugin-component/lib/uni-oauth-huawei/utssdk/interface.d.ts +0 -1
  407. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/global.d.ts +0 -17
  408. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/index.d.ts +0 -9
  409. package/types/uni/uts-plugin-component/lib/uni-oauth-weixin/utssdk/interface.d.ts +0 -48
  410. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +0 -25
  411. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +0 -12
  412. package/types/uni/uts-plugin-component/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +0 -256
  413. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/global.d.ts +0 -29
  414. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/index.d.ts +0 -14
  415. package/types/uni/uts-plugin-component/lib/uni-openDocument/utssdk/interface.d.ts +0 -823
  416. package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/global.d.ts +0 -23
  417. package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/index.d.ts +0 -11
  418. package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/interface.d.ts +0 -420
  419. package/types/uni/uts-plugin-component/lib/uni-page-container-global/utssdk/global.d.ts +0 -9
  420. package/types/uni/uts-plugin-component/lib/uni-page-container-global/utssdk/interface.d.ts +0 -0
  421. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/global.d.ts +0 -27
  422. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/index.d.ts +0 -13
  423. package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +0 -618
  424. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/global.d.ts +0 -33
  425. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/index.d.ts +0 -16
  426. package/types/uni/uts-plugin-component/lib/uni-payment/utssdk/interface.d.ts +0 -856
  427. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/global.d.ts +0 -9
  428. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/index.d.ts +0 -5
  429. package/types/uni/uts-plugin-component/lib/uni-payment-alipay/utssdk/interface.d.ts +0 -3
  430. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/global.d.ts +0 -9
  431. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/index.d.ts +0 -5
  432. package/types/uni/uts-plugin-component/lib/uni-payment-huawei/utssdk/interface.d.ts +0 -1
  433. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/global.d.ts +0 -9
  434. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/index.d.ts +0 -5
  435. package/types/uni/uts-plugin-component/lib/uni-payment-wxpay/utssdk/interface.d.ts +0 -5
  436. package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/global.d.ts +0 -49
  437. package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/index.d.ts +0 -24
  438. package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/interface.d.ts +0 -349
  439. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/global.d.ts +0 -47
  440. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/index.d.ts +0 -23
  441. package/types/uni/uts-plugin-component/lib/uni-previewImage/utssdk/interface.d.ts +0 -520
  442. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +0 -33
  443. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +0 -16
  444. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +0 -625
  445. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/global.d.ts +0 -33
  446. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/index.d.ts +0 -16
  447. package/types/uni/uts-plugin-component/lib/uni-prompt/utssdk/interface.d.ts +0 -1693
  448. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/global.d.ts +0 -29
  449. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/index.d.ts +0 -14
  450. package/types/uni/uts-plugin-component/lib/uni-pullDownRefresh/utssdk/interface.d.ts +0 -191
  451. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/global.d.ts +0 -21
  452. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/index.d.ts +0 -10
  453. package/types/uni/uts-plugin-component/lib/uni-recorder/utssdk/interface.d.ts +0 -2999
  454. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +0 -21
  455. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +0 -10
  456. package/types/uni/uts-plugin-component/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +0 -713
  457. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/global.d.ts +0 -59
  458. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/index.d.ts +0 -29
  459. package/types/uni/uts-plugin-component/lib/uni-route/utssdk/interface.d.ts +0 -2731
  460. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/global.d.ts +0 -11
  461. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/index.d.ts +0 -5
  462. package/types/uni/uts-plugin-component/lib/uni-rpx2px/utssdk/interface.d.ts +0 -81
  463. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/global.d.ts +0 -25
  464. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/index.d.ts +0 -12
  465. package/types/uni/uts-plugin-component/lib/uni-scanCode/utssdk/interface.d.ts +0 -429
  466. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/global.d.ts +0 -57
  467. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/index.d.ts +0 -28
  468. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +0 -1175
  469. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +0 -41
  470. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +0 -20
  471. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +0 -1192
  472. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/global.d.ts +0 -9
  473. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/index.d.ts +0 -5
  474. package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +0 -5
  475. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/global.d.ts +0 -27
  476. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/index.d.ts +0 -13
  477. package/types/uni/uts-plugin-component/lib/uni-shareWithSystem/utssdk/interface.d.ts +0 -722
  478. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +0 -55
  479. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +0 -27
  480. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +0 -1617
  481. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/global.d.ts +0 -21
  482. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/index.d.ts +0 -10
  483. package/types/uni/uts-plugin-component/lib/uni-sse/utssdk/interface.d.ts +0 -330
  484. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/global.d.ts +0 -79
  485. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/index.d.ts +0 -39
  486. package/types/uni/uts-plugin-component/lib/uni-storage/utssdk/interface.d.ts +0 -1030
  487. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/global.d.ts +0 -149
  488. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/index.d.ts +0 -74
  489. package/types/uni/uts-plugin-component/lib/uni-tabBar/utssdk/interface.d.ts +0 -1221
  490. package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/global.d.ts +0 -9
  491. package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/index.d.ts +0 -5
  492. package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/interface.d.ts +0 -0
  493. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/global.d.ts +0 -53
  494. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/index.d.ts +0 -26
  495. package/types/uni/uts-plugin-component/lib/uni-theme/utssdk/interface.d.ts +0 -1141
  496. package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/global.d.ts +0 -27
  497. package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/index.d.ts +0 -13
  498. package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/interface.d.ts +0 -88
  499. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +0 -47
  500. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +0 -23
  501. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +0 -926
  502. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/global.d.ts +0 -113
  503. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/index.d.ts +0 -56
  504. package/types/uni/uts-plugin-component/lib/uni-virtualPayment/utssdk/interface.d.ts +0 -1661
  505. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/global.d.ts +0 -29
  506. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/index.d.ts +0 -14
  507. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +0 -452
  508. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/global.d.ts +0 -59
  509. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/index.d.ts +0 -29
  510. package/types/uni/uts-plugin-component/lib/uni-websocket/utssdk/interface.d.ts +0 -1939
  511. /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/global.d.ts +0 -0
  512. /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/index.d.ts +0 -0
  513. /package/types/uni/uts-plugin-component/lib/{uni-camera-global → uni-camera-camera-global}/utssdk/interface.d.ts +0 -0
  514. /package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/global.d.ts +0 -0
  515. /package/types/uni/uts-plugin-component/lib/{uni-editor-global → uni-editor-editor-global}/utssdk/index.d.ts +0 -0
  516. /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/global.d.ts +0 -0
  517. /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/index.d.ts +0 -0
  518. /package/types/uni/uts-plugin-component/lib/{uni-form-global → uni-form-button-global}/utssdk/interface.d.ts +0 -0
  519. /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/global.d.ts +0 -0
  520. /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/index.d.ts +0 -0
  521. /package/types/uni/uts-plugin-component/lib/{uni-map-tencent-global → uni-map-tencent-map-global}/utssdk/interface.d.ts +0 -0
  522. /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/global.d.ts +0 -0
  523. /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/index.d.ts +0 -0
  524. /package/types/uni/uts-plugin-component/lib/{uni-match-media-global → uni-match-media-match-media-global}/utssdk/interface.d.ts +0 -0
  525. /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/global.d.ts +0 -0
  526. /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/index.d.ts +0 -0
  527. /package/types/uni/uts-plugin-component/lib/{uni-navigator-global → uni-navigator-navigator-global}/utssdk/interface.d.ts +0 -0
  528. /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/global.d.ts +0 -0
  529. /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/index.d.ts +0 -0
  530. /package/types/uni/uts-plugin-component/lib/{uni-barcode-scanning → uni-page-container-page-container-global}/utssdk/interface.d.ts +0 -0
  531. /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/global.d.ts +0 -0
  532. /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/index.d.ts +0 -0
  533. /package/types/uni/uts-plugin-component/lib/{uni-picker-global → uni-picker-picker-global}/utssdk/interface.d.ts +0 -0
  534. /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/global.d.ts +0 -0
  535. /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/index.d.ts +0 -0
  536. /package/types/uni/uts-plugin-component/lib/{uni-progress-global → uni-progress-progress-global}/utssdk/interface.d.ts +0 -0
  537. /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/global.d.ts +0 -0
  538. /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/index.d.ts +0 -0
  539. /package/types/uni/uts-plugin-component/lib/{uni-rich-text-global → uni-rich-text-rich-text-global}/utssdk/interface.d.ts +0 -0
  540. /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/global.d.ts +0 -0
  541. /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/index.d.ts +0 -0
  542. /package/types/uni/uts-plugin-component/lib/{uni-video-global → uni-video-video-global}/utssdk/interface.d.ts +0 -0
  543. /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/global.d.ts +0 -0
  544. /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/index.d.ts +0 -0
  545. /package/types/uni/uts-plugin-component/lib/{uni-web-view-global → uni-web-view-web-view-global}/utssdk/interface.d.ts +0 -0
@@ -1,621 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation. All rights reserved.
3
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
- this file except in compliance with the License. You may obtain a copy of the
5
- License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
- MERCHANTABLITY OR NON-INFRINGEMENT.
11
-
12
- See the Apache Version 2.0 License for specific language governing permissions
13
- and limitations under the License.
14
- ***************************************************************************** */
15
-
16
-
17
- "use strict";
18
- var __defProp = Object.defineProperty;
19
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
20
- var __getOwnPropNames = Object.getOwnPropertyNames;
21
- var __hasOwnProp = Object.prototype.hasOwnProperty;
22
- var __copyProps = (to, from, except, desc) => {
23
- if (from && typeof from === "object" || typeof from === "function") {
24
- for (let key of __getOwnPropNames(from))
25
- if (!__hasOwnProp.call(to, key) && key !== except)
26
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
27
- }
28
- return to;
29
- };
30
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
31
-
32
- // src/typescript/typescript.ts
33
- var typescript_exports = {};
34
- __reExport(typescript_exports, require("./typescript.js"));
35
-
36
- // src/tsserver/common.ts
37
- function getLogLevel(level) {
38
- if (level) {
39
- const l = level.toLowerCase();
40
- for (const name in typescript_exports.server.LogLevel) {
41
- if (isNaN(+name) && l === name.toLowerCase()) {
42
- return typescript_exports.server.LogLevel[name];
43
- }
44
- }
45
- }
46
- return void 0;
47
- }
48
-
49
- // src/tsserver/nodeServer.ts
50
- function parseLoggingEnvironmentString(logEnvStr) {
51
- if (!logEnvStr) {
52
- return {};
53
- }
54
- const logEnv = { logToFile: true };
55
- const args = logEnvStr.split(" ");
56
- const len = args.length - 1;
57
- for (let i = 0; i < len; i += 2) {
58
- const option = args[i];
59
- const { value, extraPartCounter } = getEntireValue(i + 1);
60
- i += extraPartCounter;
61
- if (option && value) {
62
- switch (option) {
63
- case "-file":
64
- logEnv.file = value;
65
- break;
66
- case "-level":
67
- const level = getLogLevel(value);
68
- logEnv.detailLevel = level !== void 0 ? level : typescript_exports.server.LogLevel.normal;
69
- break;
70
- case "-traceToConsole":
71
- logEnv.traceToConsole = value.toLowerCase() === "true";
72
- break;
73
- case "-logToFile":
74
- logEnv.logToFile = value.toLowerCase() === "true";
75
- break;
76
- }
77
- }
78
- }
79
- return logEnv;
80
- function getEntireValue(initialIndex) {
81
- let pathStart = args[initialIndex];
82
- let extraPartCounter = 0;
83
- if (pathStart.charCodeAt(0) === typescript_exports.CharacterCodes.doubleQuote && pathStart.charCodeAt(pathStart.length - 1) !== typescript_exports.CharacterCodes.doubleQuote) {
84
- for (let i = initialIndex + 1; i < args.length; i++) {
85
- pathStart += " ";
86
- pathStart += args[i];
87
- extraPartCounter++;
88
- if (pathStart.charCodeAt(pathStart.length - 1) === typescript_exports.CharacterCodes.doubleQuote) break;
89
- }
90
- }
91
- return { value: (0, typescript_exports.stripQuotes)(pathStart), extraPartCounter };
92
- }
93
- }
94
- function parseServerMode() {
95
- const mode = typescript_exports.server.findArgument("--serverMode");
96
- if (!mode) return void 0;
97
- switch (mode.toLowerCase()) {
98
- case "semantic":
99
- return typescript_exports.LanguageServiceMode.Semantic;
100
- case "partialsemantic":
101
- return typescript_exports.LanguageServiceMode.PartialSemantic;
102
- case "syntactic":
103
- return typescript_exports.LanguageServiceMode.Syntactic;
104
- default:
105
- return mode;
106
- }
107
- }
108
- function initializeNodeSystem() {
109
- const sys4 = typescript_exports.Debug.checkDefined(typescript_exports.sys);
110
- const childProcess = require("child_process");
111
- const fs = require("fs");
112
- class Logger {
113
- constructor(logFilename, traceToConsole, level) {
114
- this.logFilename = logFilename;
115
- this.traceToConsole = traceToConsole;
116
- this.level = level;
117
- this.seq = 0;
118
- this.inGroup = false;
119
- this.firstInGroup = true;
120
- this.fd = -1;
121
- if (this.logFilename) {
122
- try {
123
- this.fd = fs.openSync(this.logFilename, "w");
124
- } catch (_) {
125
- }
126
- }
127
- }
128
- static padStringRight(str, padding) {
129
- return (str + padding).slice(0, padding.length);
130
- }
131
- close() {
132
- if (this.fd >= 0) {
133
- fs.close(this.fd, typescript_exports.noop);
134
- }
135
- }
136
- getLogFileName() {
137
- return this.logFilename;
138
- }
139
- perftrc(s) {
140
- this.msg(s, typescript_exports.server.Msg.Perf);
141
- }
142
- info(s) {
143
- this.msg(s, typescript_exports.server.Msg.Info);
144
- }
145
- err(s) {
146
- this.msg(s, typescript_exports.server.Msg.Err);
147
- }
148
- startGroup() {
149
- this.inGroup = true;
150
- this.firstInGroup = true;
151
- }
152
- endGroup() {
153
- this.inGroup = false;
154
- }
155
- loggingEnabled() {
156
- return !!this.logFilename || this.traceToConsole;
157
- }
158
- hasLevel(level) {
159
- return this.loggingEnabled() && this.level >= level;
160
- }
161
- msg(s, type = typescript_exports.server.Msg.Err) {
162
- var _a, _b, _c;
163
- switch (type) {
164
- case typescript_exports.server.Msg.Info:
165
- (_a = typescript_exports.perfLogger) == null ? void 0 : _a.logInfoEvent(s);
166
- break;
167
- case typescript_exports.server.Msg.Perf:
168
- (_b = typescript_exports.perfLogger) == null ? void 0 : _b.logPerfEvent(s);
169
- break;
170
- default:
171
- (_c = typescript_exports.perfLogger) == null ? void 0 : _c.logErrEvent(s);
172
- break;
173
- }
174
- if (!this.canWrite()) return;
175
- s = `[${typescript_exports.server.nowString()}] ${s}
176
- `;
177
- if (!this.inGroup || this.firstInGroup) {
178
- const prefix = Logger.padStringRight(type + " " + this.seq.toString(), " ");
179
- s = prefix + s;
180
- }
181
- this.write(s, type);
182
- if (!this.inGroup) {
183
- this.seq++;
184
- }
185
- }
186
- canWrite() {
187
- return this.fd >= 0 || this.traceToConsole;
188
- }
189
- write(s, _type) {
190
- if (this.fd >= 0) {
191
- const buf = Buffer.from(s);
192
- fs.writeSync(
193
- this.fd,
194
- buf,
195
- 0,
196
- buf.length,
197
- /*position*/
198
- null
199
- );
200
- }
201
- if (this.traceToConsole) {
202
- console.warn(s);
203
- }
204
- }
205
- }
206
- const libDirectory = (0, typescript_exports.getDirectoryPath)((0, typescript_exports.normalizePath)(sys4.getExecutingFilePath()));
207
- const useWatchGuard = process.platform === "win32";
208
- const originalWatchDirectory = sys4.watchDirectory.bind(sys4);
209
- const logger = createLogger();
210
- typescript_exports.Debug.loggingHost = {
211
- log(level, s) {
212
- switch (level) {
213
- case typescript_exports.LogLevel.Error:
214
- case typescript_exports.LogLevel.Warning:
215
- return logger.msg(s, typescript_exports.server.Msg.Err);
216
- case typescript_exports.LogLevel.Info:
217
- case typescript_exports.LogLevel.Verbose:
218
- return logger.msg(s, typescript_exports.server.Msg.Info);
219
- }
220
- }
221
- };
222
- const pending = (0, typescript_exports.createQueue)();
223
- let canWrite = true;
224
- if (useWatchGuard) {
225
- const currentDrive = extractWatchDirectoryCacheKey(
226
- sys4.resolvePath(sys4.getCurrentDirectory()),
227
- /*currentDriveKey*/
228
- void 0
229
- );
230
- const statusCache = /* @__PURE__ */ new Map();
231
- sys4.watchDirectory = (path, callback, recursive, options) => {
232
- const cacheKey = extractWatchDirectoryCacheKey(path, currentDrive);
233
- let status = cacheKey && statusCache.get(cacheKey);
234
- if (status === void 0) {
235
- if (logger.hasLevel(typescript_exports.server.LogLevel.verbose)) {
236
- logger.info(`${cacheKey} for path ${path} not found in cache...`);
237
- }
238
- try {
239
- const args = [(0, typescript_exports.combinePaths)(libDirectory, "watchGuard.js"), path];
240
- if (logger.hasLevel(typescript_exports.server.LogLevel.verbose)) {
241
- logger.info(`Starting ${process.execPath} with args:${typescript_exports.server.stringifyIndented(args)}`);
242
- }
243
- childProcess.execFileSync(process.execPath, args, { stdio: "ignore", env: { ELECTRON_RUN_AS_NODE: "1" } });
244
- status = true;
245
- if (logger.hasLevel(typescript_exports.server.LogLevel.verbose)) {
246
- logger.info(`WatchGuard for path ${path} returned: OK`);
247
- }
248
- } catch (e) {
249
- status = false;
250
- if (logger.hasLevel(typescript_exports.server.LogLevel.verbose)) {
251
- logger.info(`WatchGuard for path ${path} returned: ${e.message}`);
252
- }
253
- }
254
- if (cacheKey) {
255
- statusCache.set(cacheKey, status);
256
- }
257
- } else if (logger.hasLevel(typescript_exports.server.LogLevel.verbose)) {
258
- logger.info(`watchDirectory for ${path} uses cached drive information.`);
259
- }
260
- if (status) {
261
- return watchDirectorySwallowingException(path, callback, recursive, options);
262
- } else {
263
- return typescript_exports.noopFileWatcher;
264
- }
265
- };
266
- } else {
267
- sys4.watchDirectory = watchDirectorySwallowingException;
268
- }
269
- sys4.write = (s) => writeMessage(Buffer.from(s, "utf8"));
270
- sys4.setTimeout = setTimeout;
271
- sys4.clearTimeout = clearTimeout;
272
- sys4.setImmediate = setImmediate;
273
- sys4.clearImmediate = clearImmediate;
274
- if (typeof global !== "undefined" && global.gc) {
275
- sys4.gc = () => {
276
- var _a;
277
- return (_a = global.gc) == null ? void 0 : _a.call(global);
278
- };
279
- }
280
- let cancellationToken;
281
- try {
282
- const factory = require("./cancellationToken");
283
- cancellationToken = factory(sys4.args);
284
- } catch (e) {
285
- cancellationToken = typescript_exports.server.nullCancellationToken;
286
- }
287
- const localeStr = typescript_exports.server.findArgument("--locale");
288
- if (localeStr) {
289
- (0, typescript_exports.validateLocaleAndSetLanguage)(localeStr, sys4);
290
- }
291
- const modeOrUnknown = parseServerMode();
292
- let serverMode;
293
- let unknownServerMode;
294
- if (modeOrUnknown !== void 0) {
295
- if (typeof modeOrUnknown === "number") serverMode = modeOrUnknown;
296
- else unknownServerMode = modeOrUnknown;
297
- }
298
- return {
299
- args: process.argv,
300
- logger,
301
- cancellationToken,
302
- serverMode,
303
- unknownServerMode,
304
- startSession: startNodeSession
305
- };
306
- function createLogger() {
307
- const cmdLineLogFileName = typescript_exports.server.findArgument("--logFile");
308
- const cmdLineVerbosity = getLogLevel(typescript_exports.server.findArgument("--logVerbosity"));
309
- const envLogOptions = parseLoggingEnvironmentString(process.env.TSS_LOG);
310
- const unsubstitutedLogFileName = cmdLineLogFileName ? (0, typescript_exports.stripQuotes)(cmdLineLogFileName) : envLogOptions.logToFile ? envLogOptions.file || libDirectory + "/.log" + process.pid.toString() : void 0;
311
- const substitutedLogFileName = unsubstitutedLogFileName ? unsubstitutedLogFileName.replace("PID", process.pid.toString()) : void 0;
312
- const logVerbosity = cmdLineVerbosity || envLogOptions.detailLevel;
313
- return new Logger(substitutedLogFileName, envLogOptions.traceToConsole, logVerbosity);
314
- }
315
- function writeMessage(buf) {
316
- if (!canWrite) {
317
- pending.enqueue(buf);
318
- } else {
319
- canWrite = false;
320
- process.stdout.write(buf, setCanWriteFlagAndWriteMessageIfNecessary);
321
- }
322
- }
323
- function setCanWriteFlagAndWriteMessageIfNecessary() {
324
- canWrite = true;
325
- if (!pending.isEmpty()) {
326
- writeMessage(pending.dequeue());
327
- }
328
- }
329
- function extractWatchDirectoryCacheKey(path, currentDriveKey) {
330
- path = (0, typescript_exports.normalizeSlashes)(path);
331
- if (isUNCPath(path)) {
332
- const firstSlash = path.indexOf(typescript_exports.directorySeparator, 2);
333
- return firstSlash !== -1 ? (0, typescript_exports.toFileNameLowerCase)(path.substring(0, firstSlash)) : path;
334
- }
335
- const rootLength = (0, typescript_exports.getRootLength)(path);
336
- if (rootLength === 0) {
337
- return currentDriveKey;
338
- }
339
- if (path.charCodeAt(1) === typescript_exports.CharacterCodes.colon && path.charCodeAt(2) === typescript_exports.CharacterCodes.slash) {
340
- return (0, typescript_exports.toFileNameLowerCase)(path.charAt(0));
341
- }
342
- if (path.charCodeAt(0) === typescript_exports.CharacterCodes.slash && path.charCodeAt(1) !== typescript_exports.CharacterCodes.slash) {
343
- return currentDriveKey;
344
- }
345
- return void 0;
346
- }
347
- function isUNCPath(s) {
348
- return s.length > 2 && s.charCodeAt(0) === typescript_exports.CharacterCodes.slash && s.charCodeAt(1) === typescript_exports.CharacterCodes.slash;
349
- }
350
- function watchDirectorySwallowingException(path, callback, recursive, options) {
351
- try {
352
- return originalWatchDirectory(path, callback, recursive, options);
353
- } catch (e) {
354
- logger.info(`Exception when creating directory watcher: ${e.message}`);
355
- return typescript_exports.noopFileWatcher;
356
- }
357
- }
358
- }
359
- function parseEventPort(eventPortStr) {
360
- const eventPort = eventPortStr === void 0 ? void 0 : parseInt(eventPortStr);
361
- return eventPort !== void 0 && !isNaN(eventPort) ? eventPort : void 0;
362
- }
363
- function startNodeSession(options, logger, cancellationToken) {
364
- const childProcess = require("child_process");
365
- const os = require("os");
366
- const net = require("net");
367
- const readline = require("readline");
368
- const rl = readline.createInterface({
369
- input: process.stdin,
370
- output: process.stdout,
371
- terminal: false
372
- });
373
- const _NodeTypingsInstallerAdapter = class _NodeTypingsInstallerAdapter extends typescript_exports.server.TypingsInstallerAdapter {
374
- constructor(telemetryEnabled2, logger2, host, globalTypingsCacheLocation, typingSafeListLocation2, typesMapLocation2, npmLocation2, validateDefaultNpmLocation2, event) {
375
- super(
376
- telemetryEnabled2,
377
- logger2,
378
- host,
379
- globalTypingsCacheLocation,
380
- event,
381
- _NodeTypingsInstallerAdapter.maxActiveRequestCount
382
- );
383
- this.typingSafeListLocation = typingSafeListLocation2;
384
- this.typesMapLocation = typesMapLocation2;
385
- this.npmLocation = npmLocation2;
386
- this.validateDefaultNpmLocation = validateDefaultNpmLocation2;
387
- }
388
- createInstallerProcess() {
389
- if (this.logger.hasLevel(typescript_exports.server.LogLevel.requestTime)) {
390
- this.logger.info("Binding...");
391
- }
392
- const args = [typescript_exports.server.Arguments.GlobalCacheLocation, this.globalTypingsCacheLocation];
393
- if (this.telemetryEnabled) {
394
- args.push(typescript_exports.server.Arguments.EnableTelemetry);
395
- }
396
- if (this.logger.loggingEnabled() && this.logger.getLogFileName()) {
397
- args.push(typescript_exports.server.Arguments.LogFile, (0, typescript_exports.combinePaths)((0, typescript_exports.getDirectoryPath)((0, typescript_exports.normalizeSlashes)(this.logger.getLogFileName())), `ti-${process.pid}.log`));
398
- }
399
- if (this.typingSafeListLocation) {
400
- args.push(typescript_exports.server.Arguments.TypingSafeListLocation, this.typingSafeListLocation);
401
- }
402
- if (this.typesMapLocation) {
403
- args.push(typescript_exports.server.Arguments.TypesMapLocation, this.typesMapLocation);
404
- }
405
- if (this.npmLocation) {
406
- args.push(typescript_exports.server.Arguments.NpmLocation, this.npmLocation);
407
- }
408
- if (this.validateDefaultNpmLocation) {
409
- args.push(typescript_exports.server.Arguments.ValidateDefaultNpmLocation);
410
- }
411
- const execArgv = [];
412
- for (const arg of process.execArgv) {
413
- const match = /^--((?:debug|inspect)(?:-brk)?)(?:=(\d+))?$/.exec(arg);
414
- if (match) {
415
- const currentPort = match[2] !== void 0 ? +match[2] : match[1].charAt(0) === "d" ? 5858 : 9229;
416
- execArgv.push(`--${match[1]}=${currentPort + 1}`);
417
- break;
418
- }
419
- }
420
- const typingsInstaller = (0, typescript_exports.combinePaths)((0, typescript_exports.getDirectoryPath)(typescript_exports.sys.getExecutingFilePath()), "typingsInstaller.js");
421
- this.installer = childProcess.fork(typingsInstaller, args, { execArgv });
422
- this.installer.on("message", (m) => this.handleMessage(m));
423
- this.host.setImmediate(() => this.event({ pid: this.installer.pid }, "typingsInstallerPid"));
424
- process.on("exit", () => {
425
- this.installer.kill();
426
- });
427
- return this.installer;
428
- }
429
- };
430
- // This number is essentially arbitrary. Processing more than one typings request
431
- // at a time makes sense, but having too many in the pipe results in a hang
432
- // (see https://github.com/nodejs/node/issues/7657).
433
- // It would be preferable to base our limit on the amount of space left in the
434
- // buffer, but we have yet to find a way to retrieve that value.
435
- _NodeTypingsInstallerAdapter.maxActiveRequestCount = 10;
436
- let NodeTypingsInstallerAdapter = _NodeTypingsInstallerAdapter;
437
- class IOSession extends typescript_exports.server.Session {
438
- constructor() {
439
- const event = (body, eventName) => {
440
- this.event(body, eventName);
441
- };
442
- const host = typescript_exports.sys;
443
- const typingsInstaller = disableAutomaticTypingAcquisition ? void 0 : new NodeTypingsInstallerAdapter(telemetryEnabled, logger, host, getGlobalTypingsCacheLocation(), typingSafeListLocation, typesMapLocation, npmLocation, validateDefaultNpmLocation, event);
444
- super({
445
- host,
446
- cancellationToken,
447
- ...options,
448
- typingsInstaller,
449
- byteLength: Buffer.byteLength,
450
- hrtime: process.hrtime,
451
- logger,
452
- canUseEvents: true,
453
- typesMapLocation
454
- });
455
- this.eventPort = eventPort;
456
- if (this.canUseEvents && this.eventPort) {
457
- const s = net.connect({ port: this.eventPort }, () => {
458
- this.eventSocket = s;
459
- if (this.socketEventQueue) {
460
- for (const event2 of this.socketEventQueue) {
461
- this.writeToEventSocket(event2.body, event2.eventName);
462
- }
463
- this.socketEventQueue = void 0;
464
- }
465
- });
466
- }
467
- this.constructed = true;
468
- }
469
- event(body, eventName) {
470
- typescript_exports.Debug.assert(!!this.constructed, "Should only call `IOSession.prototype.event` on an initialized IOSession");
471
- if (this.canUseEvents && this.eventPort) {
472
- if (!this.eventSocket) {
473
- if (this.logger.hasLevel(typescript_exports.server.LogLevel.verbose)) {
474
- this.logger.info(`eventPort: event "${eventName}" queued, but socket not yet initialized`);
475
- }
476
- (this.socketEventQueue || (this.socketEventQueue = [])).push({ body, eventName });
477
- return;
478
- } else {
479
- typescript_exports.Debug.assert(this.socketEventQueue === void 0);
480
- this.writeToEventSocket(body, eventName);
481
- }
482
- } else {
483
- super.event(body, eventName);
484
- }
485
- }
486
- writeToEventSocket(body, eventName) {
487
- this.eventSocket.write(typescript_exports.server.formatMessage(typescript_exports.server.toEvent(eventName, body), this.logger, this.byteLength, this.host.newLine), "utf8");
488
- }
489
- exit() {
490
- var _a;
491
- this.logger.info("Exiting...");
492
- this.projectService.closeLog();
493
- (_a = typescript_exports.tracing) == null ? void 0 : _a.stopTracing();
494
- process.exit(0);
495
- }
496
- listen() {
497
- rl.on("line", (input) => {
498
- const message = input.trim();
499
- this.onMessage(message);
500
- });
501
- rl.on("close", () => {
502
- this.exit();
503
- });
504
- }
505
- }
506
- class IpcIOSession extends IOSession {
507
- writeMessage(msg) {
508
- const verboseLogging = logger.hasLevel(typescript_exports.server.LogLevel.verbose);
509
- if (verboseLogging) {
510
- const json = JSON.stringify(msg);
511
- logger.info(`${msg.type}:${typescript_exports.server.indent(json)}`);
512
- }
513
- process.send(msg);
514
- }
515
- parseMessage(message) {
516
- return message;
517
- }
518
- toStringMessage(message) {
519
- return JSON.stringify(message, void 0, 2);
520
- }
521
- listen() {
522
- process.on("message", (e) => {
523
- this.onMessage(e);
524
- });
525
- process.on("disconnect", () => {
526
- this.exit();
527
- });
528
- }
529
- }
530
- const eventPort = parseEventPort(typescript_exports.server.findArgument("--eventPort"));
531
- const typingSafeListLocation = typescript_exports.server.findArgument(typescript_exports.server.Arguments.TypingSafeListLocation);
532
- const typesMapLocation = typescript_exports.server.findArgument(typescript_exports.server.Arguments.TypesMapLocation) || (0, typescript_exports.combinePaths)((0, typescript_exports.getDirectoryPath)(typescript_exports.sys.getExecutingFilePath()), "typesMap.json");
533
- const npmLocation = typescript_exports.server.findArgument(typescript_exports.server.Arguments.NpmLocation);
534
- const validateDefaultNpmLocation = typescript_exports.server.hasArgument(typescript_exports.server.Arguments.ValidateDefaultNpmLocation);
535
- const disableAutomaticTypingAcquisition = typescript_exports.server.hasArgument("--disableAutomaticTypingAcquisition");
536
- const useNodeIpc = typescript_exports.server.hasArgument("--useNodeIpc");
537
- const telemetryEnabled = typescript_exports.server.hasArgument(typescript_exports.server.Arguments.EnableTelemetry);
538
- const commandLineTraceDir = typescript_exports.server.findArgument("--traceDirectory");
539
- const traceDir = commandLineTraceDir ? (0, typescript_exports.stripQuotes)(commandLineTraceDir) : process.env.TSS_TRACE;
540
- if (traceDir) {
541
- (0, typescript_exports.startTracing)("server", traceDir);
542
- }
543
- const ioSession = useNodeIpc ? new IpcIOSession() : new IOSession();
544
- process.on("uncaughtException", (err) => {
545
- ioSession.logError(err, "unknown");
546
- });
547
- process.noAsar = true;
548
- ioSession.listen();
549
- function getGlobalTypingsCacheLocation() {
550
- switch (process.platform) {
551
- case "win32": {
552
- const basePath = process.env.LOCALAPPDATA || process.env.APPDATA || os.homedir && os.homedir() || process.env.USERPROFILE || process.env.HOMEDRIVE && process.env.HOMEPATH && (0, typescript_exports.normalizeSlashes)(process.env.HOMEDRIVE + process.env.HOMEPATH) || os.tmpdir();
553
- return (0, typescript_exports.combinePaths)((0, typescript_exports.combinePaths)((0, typescript_exports.normalizeSlashes)(basePath), "Microsoft/TypeScript"), typescript_exports.versionMajorMinor);
554
- }
555
- case "openbsd":
556
- case "freebsd":
557
- case "netbsd":
558
- case "darwin":
559
- case "linux":
560
- case "android": {
561
- const cacheLocation = getNonWindowsCacheLocation(process.platform === "darwin");
562
- return (0, typescript_exports.combinePaths)((0, typescript_exports.combinePaths)(cacheLocation, "typescript"), typescript_exports.versionMajorMinor);
563
- }
564
- default:
565
- return typescript_exports.Debug.fail(`unsupported platform '${process.platform}'`);
566
- }
567
- }
568
- function getNonWindowsCacheLocation(platformIsDarwin) {
569
- if (process.env.XDG_CACHE_HOME) {
570
- return process.env.XDG_CACHE_HOME;
571
- }
572
- const usersDir = platformIsDarwin ? "Users" : "home";
573
- const homePath = os.homedir && os.homedir() || process.env.HOME || (process.env.LOGNAME || process.env.USER) && `/${usersDir}/${process.env.LOGNAME || process.env.USER}` || os.tmpdir();
574
- const cacheFolder = platformIsDarwin ? "Library/Caches" : ".cache";
575
- return (0, typescript_exports.combinePaths)((0, typescript_exports.normalizeSlashes)(homePath), cacheFolder);
576
- }
577
- }
578
-
579
- // src/tsserver/server.ts
580
- function findArgumentStringArray(argName) {
581
- const arg = typescript_exports.server.findArgument(argName);
582
- if (arg === void 0) {
583
- return typescript_exports.emptyArray;
584
- }
585
- return arg.split(",").filter((name) => name !== "");
586
- }
587
- function start({ args, logger, cancellationToken, serverMode, unknownServerMode, startSession: startServer }, platform) {
588
- logger.info(`Starting TS Server`);
589
- logger.info(`Version: ${typescript_exports.version}`);
590
- logger.info(`Arguments: ${args.join(" ")}`);
591
- logger.info(`Platform: ${platform} NodeVersion: ${process.version} CaseSensitive: ${typescript_exports.sys.useCaseSensitiveFileNames}`);
592
- logger.info(`ServerMode: ${serverMode} hasUnknownServerMode: ${unknownServerMode}`);
593
- typescript_exports.setStackTraceLimit();
594
- if (typescript_exports.Debug.isDebugging) {
595
- typescript_exports.Debug.enableDebugInfo();
596
- }
597
- if (typescript_exports.sys.tryEnableSourceMapsForHost && /^development$/i.test(typescript_exports.sys.getEnvironmentVariable("NODE_ENV"))) {
598
- typescript_exports.sys.tryEnableSourceMapsForHost();
599
- }
600
- console.log = (...args2) => logger.msg(args2.length === 1 ? args2[0] : args2.join(", "), typescript_exports.server.Msg.Info);
601
- console.warn = (...args2) => logger.msg(args2.length === 1 ? args2[0] : args2.join(", "), typescript_exports.server.Msg.Err);
602
- console.error = (...args2) => logger.msg(args2.length === 1 ? args2[0] : args2.join(", "), typescript_exports.server.Msg.Err);
603
- startServer(
604
- {
605
- globalPlugins: findArgumentStringArray("--globalPlugins"),
606
- pluginProbeLocations: findArgumentStringArray("--pluginProbeLocations"),
607
- allowLocalPluginLoads: typescript_exports.server.hasArgument("--allowLocalPluginLoads"),
608
- useSingleInferredProject: typescript_exports.server.hasArgument("--useSingleInferredProject"),
609
- useInferredProjectPerProjectRoot: typescript_exports.server.hasArgument("--useInferredProjectPerProjectRoot"),
610
- suppressDiagnosticEvents: typescript_exports.server.hasArgument("--suppressDiagnosticEvents"),
611
- noGetErrOnBackgroundUpdate: typescript_exports.server.hasArgument("--noGetErrOnBackgroundUpdate"),
612
- canUseWatchEvents: typescript_exports.server.hasArgument("--canUseWatchEvents"),
613
- serverMode
614
- },
615
- logger,
616
- cancellationToken
617
- );
618
- }
619
- typescript_exports.setStackTraceLimit();
620
- start(initializeNodeSystem(), require("os").platform());
621
- //# sourceMappingURL=tsserver.js.map
@@ -1,17 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation. All rights reserved.
3
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
- this file except in compliance with the License. You may obtain a copy of the
5
- License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
- MERCHANTABLITY OR NON-INFRINGEMENT.
11
-
12
- See the Apache Version 2.0 License for specific language governing permissions
13
- and limitations under the License.
14
- ***************************************************************************** */
15
-
16
- import ts = require("./typescript.js");
17
- export = ts;
@@ -1,21 +0,0 @@
1
- /*! *****************************************************************************
2
- Copyright (c) Microsoft Corporation. All rights reserved.
3
- Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
- this file except in compliance with the License. You may obtain a copy of the
5
- License at http://www.apache.org/licenses/LICENSE-2.0
6
-
7
- THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
- KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
- WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
- MERCHANTABLITY OR NON-INFRINGEMENT.
11
-
12
- See the Apache Version 2.0 License for specific language governing permissions
13
- and limitations under the License.
14
- ***************************************************************************** */
15
-
16
- if (typeof module !== "undefined" && module.exports) {
17
- module.exports = require("./typescript.js");
18
- }
19
- else {
20
- throw new Error("tsserverlibrary requires CommonJS; use typescript.js instead");
21
- }