@dcloudio/uni-app-x 0.7.17 → 0.7.18

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 (23) hide show
  1. package/package.json +1 -1
  2. package/types/native/CanvasRenderingContext2D.d.ts +6 -4
  3. package/types/native/IUniElement.d.ts +1977 -243
  4. package/types/native/UniElement.d.ts +1 -0
  5. package/types/page.d.ts +4 -0
  6. package/types/uni/uts-plugin-api/global.d.ts +3 -0
  7. package/types/uni/uts-plugin-api/index.d.ts +3 -0
  8. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +4 -74
  9. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/global.d.ts +12 -0
  10. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/index.d.ts +5 -0
  11. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1733 -0
  12. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +12 -0
  13. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +5 -0
  14. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +297 -0
  15. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +1 -1
  16. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/global.d.ts +16 -0
  17. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/index.d.ts +7 -0
  18. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +980 -0
  19. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +1 -0
  20. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +5 -0
  21. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +3 -2
  22. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +23 -1
  23. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +6 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-app-x",
3
- "version": "0.7.17",
3
+ "version": "0.7.18",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "author": "DCloud",
@@ -81,7 +81,7 @@ export interface CanvasPattern {
81
81
 
82
82
  /**
83
83
  * 表示描述渐变的不透明对象。该接口通过 CanvasRenderingContext2D.createLinearGradient()、
84
- * CanvasRenderingContext2D.createConicGradient()
84
+ * CanvasRenderingContext2D.createConicGradient()
85
85
  * 或 CanvasRenderingContext2D.createRadialGradient() 方法返回
86
86
  * @uniPlatform {
87
87
  * "app": {
@@ -1046,7 +1046,7 @@ export interface CanvasRenderingContext2D {
1046
1046
  * @param {number} r0 开始圆形的半径
1047
1047
  * @param {number} x1 结束圆形的 x 轴坐标
1048
1048
  * @param {number} y1 结束圆形的 y 轴坐标
1049
- * @param {number} r1 结束圆形的半径
1049
+ * @param {number} r1 结束圆形的半径
1050
1050
  * @uniPlatform {
1051
1051
  * "app": {
1052
1052
  * "android": {
@@ -1121,6 +1121,8 @@ export interface CanvasRenderingContext2D {
1121
1121
  * }
1122
1122
  * }
1123
1123
  */
1124
+ drawImage(imageResource: Image, sx: number, sy: number): void
1125
+ drawImage(imageResource: Image, sx: number, sy: number, sWidth: number, sHeight: number): void
1124
1126
  drawImage(imageResource: Image, sx: number, sy: number, sWidth: number, sHeight: number, dx: number, dy: number, dWidth: number, dHeight: number): void
1125
1127
 
1126
1128
 
@@ -1637,7 +1639,7 @@ export interface CanvasRenderingContext2D {
1637
1639
  /**
1638
1640
  * 创建二次贝塞尔曲线路径
1639
1641
  * @param {number} cpx 贝塞尔控制点的 x 坐标
1640
- * @param {number} cpy 贝塞尔控制点的 y 坐标
1642
+ * @param {number} cpy 贝塞尔控制点的 y 坐标
1641
1643
  * @param {number} x 结束点的 x 坐标
1642
1644
  * @param {number} y 结束点的 y 坐标
1643
1645
  * @uniPlatform {
@@ -2042,4 +2044,4 @@ export interface CanvasRenderingContext2D {
2042
2044
  * }
2043
2045
  */
2044
2046
  translate(translateX: number, translateY: number): void
2045
- }
2047
+ }