@dcloudio/uni-app-x 0.7.120 → 0.7.122

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 (279) hide show
  1. package/README.md +87 -0
  2. package/package.json +1 -1
  3. package/types/app.d.ts +2 -1
  4. package/types/dom2-internal/UniCommon.d.ts +7 -2
  5. package/types/dom2-internal/UniNativeDefines.d.ts +7 -2
  6. package/types/dom2-internal/UniPage.d.ts +6 -0
  7. package/types/native/DrawableContext.d.ts +104 -52
  8. package/types/native/IUniElement.d.ts +4 -2
  9. package/types/node_modules/.package-lock.json +20 -0
  10. package/types/node_modules/typescript/LICENSE.txt +55 -0
  11. package/types/node_modules/typescript/ThirdPartyNoticeText.txt +193 -0
  12. package/types/node_modules/typescript/bin/tsc +2 -0
  13. package/types/node_modules/typescript/bin/tsserver +2 -0
  14. package/types/node_modules/typescript/lib/cancellationToken.js +90 -0
  15. package/types/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +1880 -0
  16. package/types/node_modules/typescript/lib/de/diagnosticMessages.generated.json +1880 -0
  17. package/types/node_modules/typescript/lib/es/diagnosticMessages.generated.json +1880 -0
  18. package/types/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +1880 -0
  19. package/types/node_modules/typescript/lib/it/diagnosticMessages.generated.json +1880 -0
  20. package/types/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +1880 -0
  21. package/types/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +1880 -0
  22. package/types/node_modules/typescript/lib/lib.d.ts +22 -0
  23. package/types/node_modules/typescript/lib/lib.decorators.d.ts +386 -0
  24. package/types/node_modules/typescript/lib/lib.decorators.legacy.d.ts +22 -0
  25. package/types/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +33 -0
  26. package/types/node_modules/typescript/lib/lib.dom.d.ts +28596 -0
  27. package/types/node_modules/typescript/lib/lib.dom.iterable.d.ts +475 -0
  28. package/types/node_modules/typescript/lib/lib.es2015.collection.d.ts +147 -0
  29. package/types/node_modules/typescript/lib/lib.es2015.core.d.ts +597 -0
  30. package/types/node_modules/typescript/lib/lib.es2015.d.ts +28 -0
  31. package/types/node_modules/typescript/lib/lib.es2015.generator.d.ts +77 -0
  32. package/types/node_modules/typescript/lib/lib.es2015.iterable.d.ts +495 -0
  33. package/types/node_modules/typescript/lib/lib.es2015.promise.d.ts +81 -0
  34. package/types/node_modules/typescript/lib/lib.es2015.proxy.d.ts +128 -0
  35. package/types/node_modules/typescript/lib/lib.es2015.reflect.d.ts +144 -0
  36. package/types/node_modules/typescript/lib/lib.es2015.symbol.d.ts +46 -0
  37. package/types/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +326 -0
  38. package/types/node_modules/typescript/lib/lib.es2016.array.include.d.ts +116 -0
  39. package/types/node_modules/typescript/lib/lib.es2016.d.ts +21 -0
  40. package/types/node_modules/typescript/lib/lib.es2016.full.d.ts +23 -0
  41. package/types/node_modules/typescript/lib/lib.es2016.intl.d.ts +31 -0
  42. package/types/node_modules/typescript/lib/lib.es2017.d.ts +25 -0
  43. package/types/node_modules/typescript/lib/lib.es2017.date.d.ts +31 -0
  44. package/types/node_modules/typescript/lib/lib.es2017.full.d.ts +23 -0
  45. package/types/node_modules/typescript/lib/lib.es2017.intl.d.ts +44 -0
  46. package/types/node_modules/typescript/lib/lib.es2017.object.d.ts +49 -0
  47. package/types/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
  48. package/types/node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
  49. package/types/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
  50. package/types/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  51. package/types/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +43 -0
  52. package/types/node_modules/typescript/lib/lib.es2018.d.ts +24 -0
  53. package/types/node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
  54. package/types/node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
  55. package/types/node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
  56. package/types/node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
  57. package/types/node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
  58. package/types/node_modules/typescript/lib/lib.es2019.d.ts +24 -0
  59. package/types/node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
  60. package/types/node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
  61. package/types/node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
  62. package/types/node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
  63. package/types/node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
  64. package/types/node_modules/typescript/lib/lib.es2020.bigint.d.ts +727 -0
  65. package/types/node_modules/typescript/lib/lib.es2020.d.ts +27 -0
  66. package/types/node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
  67. package/types/node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
  68. package/types/node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
  69. package/types/node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
  70. package/types/node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
  71. package/types/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +97 -0
  72. package/types/node_modules/typescript/lib/lib.es2020.string.d.ts +42 -0
  73. package/types/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +37 -0
  74. package/types/node_modules/typescript/lib/lib.es2021.d.ts +23 -0
  75. package/types/node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
  76. package/types/node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
  77. package/types/node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
  78. package/types/node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
  79. package/types/node_modules/typescript/lib/lib.es2021.weakref.d.ts +76 -0
  80. package/types/node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
  81. package/types/node_modules/typescript/lib/lib.es2022.d.ts +26 -0
  82. package/types/node_modules/typescript/lib/lib.es2022.error.d.ts +73 -0
  83. package/types/node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
  84. package/types/node_modules/typescript/lib/lib.es2022.intl.d.ts +117 -0
  85. package/types/node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
  86. package/types/node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
  87. package/types/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +39 -0
  88. package/types/node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
  89. package/types/node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
  90. package/types/node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  91. package/types/node_modules/typescript/lib/lib.es2023.d.ts +22 -0
  92. package/types/node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
  93. package/types/node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
  94. package/types/node_modules/typescript/lib/lib.es5.d.ts +4585 -0
  95. package/types/node_modules/typescript/lib/lib.es6.d.ts +23 -0
  96. package/types/node_modules/typescript/lib/lib.esnext.array.d.ts +35 -0
  97. package/types/node_modules/typescript/lib/lib.esnext.collection.d.ts +106 -0
  98. package/types/node_modules/typescript/lib/lib.esnext.d.ts +28 -0
  99. package/types/node_modules/typescript/lib/lib.esnext.decorators.d.ts +28 -0
  100. package/types/node_modules/typescript/lib/lib.esnext.disposable.d.ts +185 -0
  101. package/types/node_modules/typescript/lib/lib.esnext.full.d.ts +24 -0
  102. package/types/node_modules/typescript/lib/lib.esnext.intl.d.ts +21 -0
  103. package/types/node_modules/typescript/lib/lib.esnext.object.d.ts +29 -0
  104. package/types/node_modules/typescript/lib/lib.esnext.promise.d.ts +35 -0
  105. package/types/node_modules/typescript/lib/lib.esnext.regexp.d.ts +25 -0
  106. package/types/node_modules/typescript/lib/lib.esnext.string.d.ts +29 -0
  107. package/types/node_modules/typescript/lib/lib.scripthost.d.ts +322 -0
  108. package/types/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +33 -0
  109. package/types/node_modules/typescript/lib/lib.webworker.d.ts +9431 -0
  110. package/types/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +23 -0
  111. package/types/node_modules/typescript/lib/lib.webworker.iterable.d.ts +276 -0
  112. package/types/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +1880 -0
  113. package/types/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +1880 -0
  114. package/types/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +1880 -0
  115. package/types/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +1880 -0
  116. package/types/node_modules/typescript/lib/tsc.js +129741 -0
  117. package/types/node_modules/typescript/lib/tsserver.js +621 -0
  118. package/types/node_modules/typescript/lib/tsserverlibrary.d.ts +17 -0
  119. package/types/node_modules/typescript/lib/tsserverlibrary.js +21 -0
  120. package/types/node_modules/typescript/lib/typesMap.json +497 -0
  121. package/types/node_modules/typescript/lib/typescript.d.ts +11240 -0
  122. package/types/node_modules/typescript/lib/typescript.js +194910 -0
  123. package/types/node_modules/typescript/lib/typingsInstaller.js +236 -0
  124. package/types/node_modules/typescript/lib/watchGuard.js +53 -0
  125. package/types/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +1880 -0
  126. package/types/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +1880 -0
  127. package/types/node_modules/typescript/package.json +116 -0
  128. package/types/page.d.ts +2 -2
  129. package/types/uni/env/index.d.ts +2 -1
  130. package/types/uni/uts-plugin-api/global.d.ts +8 -0
  131. package/types/uni/uts-plugin-api/index.d.ts +8 -0
  132. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/global.d.ts +35 -0
  133. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/index.d.ts +17 -0
  134. package/types/uni/uts-plugin-api/lib/uni-accelerometer/utssdk/interface.d.ts +359 -0
  135. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +323 -1294
  136. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/global.d.ts +35 -0
  137. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/index.d.ts +17 -0
  138. package/types/uni/uts-plugin-api/lib/uni-calendar/utssdk/interface.d.ts +944 -0
  139. package/types/uni/uts-plugin-api/lib/uni-canvas-dom2/utssdk/interface.d.ts +2 -1
  140. package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-compass/utssdk/global.d.ts +16 -6
  141. package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-compass/utssdk/index.d.ts +9 -3
  142. package/types/uni/uts-plugin-api/lib/uni-compass/utssdk/interface.d.ts +353 -0
  143. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/global.d.ts +0 -2
  144. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/index.d.ts +0 -1
  145. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +0 -1
  146. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/global.d.ts +2 -0
  147. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/index.d.ts +1 -0
  148. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +144 -110
  149. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +1 -0
  150. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +72 -531
  151. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +72 -531
  152. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/global.d.ts +35 -0
  153. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/index.d.ts +17 -0
  154. package/types/uni/uts-plugin-api/lib/uni-gyroscope/utssdk/interface.d.ts +362 -0
  155. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +6 -6
  156. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +72 -68
  157. package/types/uni/uts-plugin-api/lib/uni-memorywarning/utssdk/global.d.ts +21 -0
  158. package/types/uni/uts-plugin-api/lib/uni-memorywarning/utssdk/index.d.ts +10 -0
  159. package/types/uni/uts-plugin-api/lib/uni-memorywarning/utssdk/interface.d.ts +20 -0
  160. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +8 -12
  161. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +4 -6
  162. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +1741 -905
  163. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +12 -12
  164. package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/global.d.ts +23 -0
  165. package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/index.d.ts +11 -0
  166. package/types/uni/uts-plugin-api/lib/uni-openLocation/utssdk/interface.d.ts +418 -0
  167. package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/global.d.ts +49 -0
  168. package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/index.d.ts +24 -0
  169. package/types/uni/uts-plugin-api/lib/uni-phoneContact/utssdk/interface.d.ts +349 -0
  170. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/global.d.ts +2 -0
  171. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/index.d.ts +1 -0
  172. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +83 -124
  173. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +1157 -830
  174. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +936 -335
  175. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/global.d.ts +8 -0
  176. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/index.d.ts +4 -0
  177. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +1155 -1142
  178. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/global.d.ts +27 -0
  179. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/index.d.ts +13 -0
  180. package/types/uni/uts-plugin-api/lib/uni-vibrate/utssdk/interface.d.ts +88 -0
  181. package/types/uni/uts-plugin-api/lib/uni-web-view/utssdk/interface.d.ts +6 -6
  182. package/types/uni/uts-plugin-biz/global.d.ts +9 -0
  183. package/types/uni/uts-plugin-biz/index.d.ts +9 -0
  184. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/global.d.ts +35 -0
  185. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/index.d.ts +17 -0
  186. package/types/uni/uts-plugin-biz/lib/uni-accelerometer/utssdk/interface.d.ts +359 -0
  187. package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/global.d.ts +59 -0
  188. package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/index.d.ts +29 -0
  189. package/types/uni/uts-plugin-biz/lib/uni-authentication/utssdk/interface.d.ts +371 -0
  190. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/global.d.ts +35 -0
  191. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/index.d.ts +17 -0
  192. package/types/uni/uts-plugin-biz/lib/uni-calendar/utssdk/interface.d.ts +944 -0
  193. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/global.d.ts +35 -0
  194. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/index.d.ts +17 -0
  195. package/types/uni/uts-plugin-biz/lib/uni-compass/utssdk/interface.d.ts +353 -0
  196. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/global.d.ts +35 -0
  197. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/index.d.ts +17 -0
  198. package/types/uni/uts-plugin-biz/lib/uni-gyroscope/utssdk/interface.d.ts +362 -0
  199. package/types/uni/uts-plugin-biz/lib/uni-memorywarning/utssdk/global.d.ts +21 -0
  200. package/types/uni/uts-plugin-biz/lib/uni-memorywarning/utssdk/index.d.ts +10 -0
  201. package/types/uni/uts-plugin-biz/lib/uni-memorywarning/utssdk/interface.d.ts +20 -0
  202. package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/global.d.ts +49 -0
  203. package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/index.d.ts +24 -0
  204. package/types/uni/uts-plugin-biz/lib/uni-phoneContact/utssdk/interface.d.ts +349 -0
  205. package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/global.d.ts +57 -0
  206. package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/index.d.ts +28 -0
  207. package/types/uni/uts-plugin-biz/lib/uni-screenBrightness/utssdk/interface.d.ts +1172 -0
  208. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +6 -1
  209. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/global.d.ts +27 -0
  210. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/index.d.ts +13 -0
  211. package/types/uni/uts-plugin-biz/lib/uni-vibrate/utssdk/interface.d.ts +88 -0
  212. package/types/uni/uts-plugin-component/global.d.ts +8 -1
  213. package/types/uni/uts-plugin-component/index.d.ts +8 -1
  214. package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/global.d.ts +35 -0
  215. package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/index.d.ts +17 -0
  216. package/types/uni/uts-plugin-component/lib/uni-accelerometer/utssdk/interface.d.ts +359 -0
  217. package/types/uni/uts-plugin-component/lib/uni-authentication/utssdk/interface.d.ts +1342 -371
  218. package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/global.d.ts +35 -0
  219. package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/index.d.ts +17 -0
  220. package/types/uni/uts-plugin-component/lib/uni-calendar/utssdk/interface.d.ts +944 -0
  221. package/types/uni/uts-plugin-component/lib/uni-canvas-dom2/utssdk/interface.d.ts +2 -1
  222. package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/global.d.ts +35 -0
  223. package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/index.d.ts +17 -0
  224. package/types/uni/uts-plugin-component/lib/uni-compass/utssdk/interface.d.ts +353 -0
  225. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/global.d.ts +0 -2
  226. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/index.d.ts +0 -1
  227. package/types/uni/uts-plugin-component/lib/uni-dialogPage/utssdk/interface.d.ts +0 -1
  228. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +2 -0
  229. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +1 -0
  230. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +144 -110
  231. package/types/uni/uts-plugin-component/lib/uni-editor-global/utssdk/interface.d.ts +15 -5
  232. package/types/uni/uts-plugin-component/lib/uni-form-global/utssdk/interface.d.ts +1 -1
  233. package/types/uni/uts-plugin-component/lib/uni-getElementById/utssdk/interface.d.ts +1 -0
  234. package/types/uni/uts-plugin-component/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +531 -72
  235. package/types/uni/uts-plugin-component/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +531 -72
  236. package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/global.d.ts +35 -0
  237. package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/index.d.ts +17 -0
  238. package/types/uni/uts-plugin-component/lib/uni-gyroscope/utssdk/interface.d.ts +362 -0
  239. package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +6 -6
  240. package/types/uni/uts-plugin-component/lib/uni-makePhoneCall/utssdk/interface.d.ts +73 -67
  241. package/types/uni/uts-plugin-component/lib/uni-match-media-global/utssdk/interface.d.ts +1 -1
  242. package/types/uni/uts-plugin-component/lib/uni-memorywarning/utssdk/global.d.ts +21 -0
  243. package/types/uni/uts-plugin-component/lib/uni-memorywarning/utssdk/index.d.ts +10 -0
  244. package/types/uni/uts-plugin-component/lib/uni-memorywarning/utssdk/interface.d.ts +20 -0
  245. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/global.d.ts +8 -12
  246. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/index.d.ts +4 -6
  247. package/types/uni/uts-plugin-component/lib/uni-modal/utssdk/interface.d.ts +1743 -291
  248. package/types/uni/uts-plugin-component/lib/uni-navigator-global/utssdk/interface.d.ts +1 -1
  249. package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +12 -12
  250. package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/global.d.ts +23 -0
  251. package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/index.d.ts +11 -0
  252. package/types/uni/uts-plugin-component/lib/uni-openLocation/utssdk/interface.d.ts +420 -0
  253. package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/global.d.ts +49 -0
  254. package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/index.d.ts +24 -0
  255. package/types/uni/uts-plugin-component/lib/uni-phoneContact/utssdk/interface.d.ts +349 -0
  256. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/global.d.ts +2 -0
  257. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/index.d.ts +1 -0
  258. package/types/uni/uts-plugin-component/lib/uni-privacy/utssdk/interface.d.ts +132 -75
  259. package/types/uni/uts-plugin-component/lib/uni-progress-global/utssdk/interface.d.ts +1 -1
  260. package/types/uni/uts-plugin-component/lib/uni-screenBrightness/utssdk/interface.d.ts +1175 -314
  261. package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +936 -335
  262. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/global.d.ts +8 -0
  263. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/index.d.ts +4 -0
  264. package/types/uni/uts-plugin-component/lib/uni-showLoading/utssdk/interface.d.ts +1617 -446
  265. package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/global.d.ts +27 -0
  266. package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/index.d.ts +13 -0
  267. package/types/uni/uts-plugin-component/lib/uni-vibrate/utssdk/interface.d.ts +88 -0
  268. package/types/uni/uts-plugin-component/lib/uni-web-view/utssdk/interface.d.ts +6 -6
  269. package/types/uni/uts-plugin-extend/global.d.ts +0 -1
  270. package/types/uni/uts-plugin-extend/index.d.ts +0 -1
  271. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +2 -1
  272. package/types/vue/LifeCycle.d.ts +2 -2
  273. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/global.d.ts +0 -12
  274. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/index.d.ts +0 -1
  275. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +0 -917
  276. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +0 -1095
  277. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/global.d.ts +0 -9
  278. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/index.d.ts +0 -1
  279. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +0 -253
@@ -0,0 +1,23 @@
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
+ /// <reference no-default-lib="true"/>
18
+
19
+ /////////////////////////////
20
+ /// WorkerGlobalScope APIs
21
+ /////////////////////////////
22
+ // These are only available in a Web Worker
23
+ declare function importScripts(...urls: string[]): void;
@@ -0,0 +1,276 @@
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
+ /// <reference no-default-lib="true"/>
18
+
19
+ /////////////////////////////
20
+ /// Worker Iterable APIs
21
+ /////////////////////////////
22
+
23
+ interface AbortSignal {
24
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
25
+ any(signals: Iterable<AbortSignal>): AbortSignal;
26
+ }
27
+
28
+ interface CSSNumericArray {
29
+ [Symbol.iterator](): IterableIterator<CSSNumericValue>;
30
+ entries(): IterableIterator<[number, CSSNumericValue]>;
31
+ keys(): IterableIterator<number>;
32
+ values(): IterableIterator<CSSNumericValue>;
33
+ }
34
+
35
+ interface CSSTransformValue {
36
+ [Symbol.iterator](): IterableIterator<CSSTransformComponent>;
37
+ entries(): IterableIterator<[number, CSSTransformComponent]>;
38
+ keys(): IterableIterator<number>;
39
+ values(): IterableIterator<CSSTransformComponent>;
40
+ }
41
+
42
+ interface CSSUnparsedValue {
43
+ [Symbol.iterator](): IterableIterator<CSSUnparsedSegment>;
44
+ entries(): IterableIterator<[number, CSSUnparsedSegment]>;
45
+ keys(): IterableIterator<number>;
46
+ values(): IterableIterator<CSSUnparsedSegment>;
47
+ }
48
+
49
+ interface Cache {
50
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Cache/addAll) */
51
+ addAll(requests: Iterable<RequestInfo>): Promise<void>;
52
+ }
53
+
54
+ interface CanvasPath {
55
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/roundRect) */
56
+ roundRect(x: number, y: number, w: number, h: number, radii?: number | DOMPointInit | Iterable<number | DOMPointInit>): void;
57
+ }
58
+
59
+ interface CanvasPathDrawingStyles {
60
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CanvasRenderingContext2D/setLineDash) */
61
+ setLineDash(segments: Iterable<number>): void;
62
+ }
63
+
64
+ interface DOMStringList {
65
+ [Symbol.iterator](): IterableIterator<string>;
66
+ }
67
+
68
+ interface FileList {
69
+ [Symbol.iterator](): IterableIterator<File>;
70
+ }
71
+
72
+ interface FontFaceSet extends Set<FontFace> {
73
+ }
74
+
75
+ interface FormData {
76
+ [Symbol.iterator](): IterableIterator<[string, FormDataEntryValue]>;
77
+ /** Returns an array of key, value pairs for every entry in the list. */
78
+ entries(): IterableIterator<[string, FormDataEntryValue]>;
79
+ /** Returns a list of keys in the list. */
80
+ keys(): IterableIterator<string>;
81
+ /** Returns a list of values in the list. */
82
+ values(): IterableIterator<FormDataEntryValue>;
83
+ }
84
+
85
+ interface Headers {
86
+ [Symbol.iterator](): IterableIterator<[string, string]>;
87
+ /** Returns an iterator allowing to go through all key/value pairs contained in this object. */
88
+ entries(): IterableIterator<[string, string]>;
89
+ /** Returns an iterator allowing to go through all keys of the key/value pairs contained in this object. */
90
+ keys(): IterableIterator<string>;
91
+ /** Returns an iterator allowing to go through all values of the key/value pairs contained in this object. */
92
+ values(): IterableIterator<string>;
93
+ }
94
+
95
+ interface IDBDatabase {
96
+ /**
97
+ * Returns a new transaction with the given mode ("readonly" or "readwrite") and scope which can be a single object store name or an array of names.
98
+ *
99
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBDatabase/transaction)
100
+ */
101
+ transaction(storeNames: string | Iterable<string>, mode?: IDBTransactionMode, options?: IDBTransactionOptions): IDBTransaction;
102
+ }
103
+
104
+ interface IDBObjectStore {
105
+ /**
106
+ * Creates a new index in store with the given name, keyPath and options and returns a new IDBIndex. If the keyPath and options define constraints that cannot be satisfied with the data already in store the upgrade transaction will abort with a "ConstraintError" DOMException.
107
+ *
108
+ * Throws an "InvalidStateError" DOMException if not called within an upgrade transaction.
109
+ *
110
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/createIndex)
111
+ */
112
+ createIndex(name: string, keyPath: string | Iterable<string>, options?: IDBIndexParameters): IDBIndex;
113
+ }
114
+
115
+ interface MessageEvent<T = any> {
116
+ /**
117
+ * @deprecated
118
+ *
119
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/MessageEvent/initMessageEvent)
120
+ */
121
+ initMessageEvent(type: string, bubbles?: boolean, cancelable?: boolean, data?: any, origin?: string, lastEventId?: string, source?: MessageEventSource | null, ports?: Iterable<MessagePort>): void;
122
+ }
123
+
124
+ interface StylePropertyMapReadOnly {
125
+ [Symbol.iterator](): IterableIterator<[string, Iterable<CSSStyleValue>]>;
126
+ entries(): IterableIterator<[string, Iterable<CSSStyleValue>]>;
127
+ keys(): IterableIterator<string>;
128
+ values(): IterableIterator<Iterable<CSSStyleValue>>;
129
+ }
130
+
131
+ interface SubtleCrypto {
132
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/deriveKey) */
133
+ deriveKey(algorithm: AlgorithmIdentifier | EcdhKeyDeriveParams | HkdfParams | Pbkdf2Params, baseKey: CryptoKey, derivedKeyType: AlgorithmIdentifier | AesDerivedKeyParams | HmacImportParams | HkdfParams | Pbkdf2Params, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
134
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/generateKey) */
135
+ generateKey(algorithm: "Ed25519", extractable: boolean, keyUsages: ReadonlyArray<"sign" | "verify">): Promise<CryptoKeyPair>;
136
+ generateKey(algorithm: RsaHashedKeyGenParams | EcKeyGenParams, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKeyPair>;
137
+ generateKey(algorithm: AesKeyGenParams | HmacKeyGenParams | Pbkdf2Params, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
138
+ generateKey(algorithm: AlgorithmIdentifier, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKeyPair | CryptoKey>;
139
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/importKey) */
140
+ importKey(format: "jwk", keyData: JsonWebKey, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: ReadonlyArray<KeyUsage>): Promise<CryptoKey>;
141
+ importKey(format: Exclude<KeyFormat, "jwk">, keyData: BufferSource, algorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
142
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/SubtleCrypto/unwrapKey) */
143
+ unwrapKey(format: KeyFormat, wrappedKey: BufferSource, unwrappingKey: CryptoKey, unwrapAlgorithm: AlgorithmIdentifier | RsaOaepParams | AesCtrParams | AesCbcParams | AesGcmParams, unwrappedKeyAlgorithm: AlgorithmIdentifier | RsaHashedImportParams | EcKeyImportParams | HmacImportParams | AesKeyAlgorithm, extractable: boolean, keyUsages: Iterable<KeyUsage>): Promise<CryptoKey>;
144
+ }
145
+
146
+ interface URLSearchParams {
147
+ [Symbol.iterator](): IterableIterator<[string, string]>;
148
+ /** Returns an array of key, value pairs for every entry in the search params. */
149
+ entries(): IterableIterator<[string, string]>;
150
+ /** Returns a list of keys in the search params. */
151
+ keys(): IterableIterator<string>;
152
+ /** Returns a list of values in the search params. */
153
+ values(): IterableIterator<string>;
154
+ }
155
+
156
+ interface WEBGL_draw_buffers {
157
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_draw_buffers/drawBuffersWEBGL) */
158
+ drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
159
+ }
160
+
161
+ interface WEBGL_multi_draw {
162
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysInstancedWEBGL) */
163
+ multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
164
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawArraysWEBGL) */
165
+ multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: number, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, drawcount: GLsizei): void;
166
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsInstancedWEBGL) */
167
+ multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: number, drawcount: GLsizei): void;
168
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WEBGL_multi_draw/multiDrawElementsWEBGL) */
169
+ multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLsizei>, countsOffset: number, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: number, drawcount: GLsizei): void;
170
+ }
171
+
172
+ interface WebGL2RenderingContextBase {
173
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
174
+ clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: number): void;
175
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
176
+ clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: number): void;
177
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/clearBuffer) */
178
+ clearBufferuiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLuint>, srcOffset?: number): void;
179
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/drawBuffers) */
180
+ drawBuffers(buffers: Iterable<GLenum>): void;
181
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getActiveUniforms) */
182
+ getActiveUniforms(program: WebGLProgram, uniformIndices: Iterable<GLuint>, pname: GLenum): any;
183
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/getUniformIndices) */
184
+ getUniformIndices(program: WebGLProgram, uniformNames: Iterable<string>): Iterable<GLuint> | null;
185
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateFramebuffer) */
186
+ invalidateFramebuffer(target: GLenum, attachments: Iterable<GLenum>): void;
187
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/invalidateSubFramebuffer) */
188
+ invalidateSubFramebuffer(target: GLenum, attachments: Iterable<GLenum>, x: GLint, y: GLint, width: GLsizei, height: GLsizei): void;
189
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/transformFeedbackVaryings) */
190
+ transformFeedbackVaryings(program: WebGLProgram, varyings: Iterable<string>, bufferMode: GLenum): void;
191
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
192
+ uniform1uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
193
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
194
+ uniform2uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
195
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
196
+ uniform3uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
197
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniform) */
198
+ uniform4uiv(location: WebGLUniformLocation | null, data: Iterable<GLuint>, srcOffset?: number, srcLength?: GLuint): void;
199
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
200
+ uniformMatrix2x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
201
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
202
+ uniformMatrix2x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
203
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
204
+ uniformMatrix3x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
205
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
206
+ uniformMatrix3x4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
207
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
208
+ uniformMatrix4x2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
209
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/uniformMatrix) */
210
+ uniformMatrix4x3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
211
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
212
+ vertexAttribI4iv(index: GLuint, values: Iterable<GLint>): void;
213
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/vertexAttribI) */
214
+ vertexAttribI4uiv(index: GLuint, values: Iterable<GLuint>): void;
215
+ }
216
+
217
+ interface WebGL2RenderingContextOverloads {
218
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
219
+ uniform1fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
220
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
221
+ uniform1iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
222
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
223
+ uniform2fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
224
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
225
+ uniform2iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
226
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
227
+ uniform3fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
228
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
229
+ uniform3iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
230
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
231
+ uniform4fv(location: WebGLUniformLocation | null, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
232
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
233
+ uniform4iv(location: WebGLUniformLocation | null, data: Iterable<GLint>, srcOffset?: number, srcLength?: GLuint): void;
234
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
235
+ uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
236
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
237
+ uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
238
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
239
+ uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, data: Iterable<GLfloat>, srcOffset?: number, srcLength?: GLuint): void;
240
+ }
241
+
242
+ interface WebGLRenderingContextBase {
243
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
244
+ vertexAttrib1fv(index: GLuint, values: Iterable<GLfloat>): void;
245
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
246
+ vertexAttrib2fv(index: GLuint, values: Iterable<GLfloat>): void;
247
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
248
+ vertexAttrib3fv(index: GLuint, values: Iterable<GLfloat>): void;
249
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/vertexAttrib) */
250
+ vertexAttrib4fv(index: GLuint, values: Iterable<GLfloat>): void;
251
+ }
252
+
253
+ interface WebGLRenderingContextOverloads {
254
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
255
+ uniform1fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
256
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
257
+ uniform1iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
258
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
259
+ uniform2fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
260
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
261
+ uniform2iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
262
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
263
+ uniform3fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
264
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
265
+ uniform3iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
266
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
267
+ uniform4fv(location: WebGLUniformLocation | null, v: Iterable<GLfloat>): void;
268
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniform) */
269
+ uniform4iv(location: WebGLUniformLocation | null, v: Iterable<GLint>): void;
270
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
271
+ uniformMatrix2fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
272
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
273
+ uniformMatrix3fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
274
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebGLRenderingContext/uniformMatrix) */
275
+ uniformMatrix4fv(location: WebGLUniformLocation | null, transpose: GLboolean, value: Iterable<GLfloat>): void;
276
+ }