@dcloudio/uni-app-x 0.7.47 → 0.7.48

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 (37) hide show
  1. package/package.json +1 -1
  2. package/types/app.d.ts +160 -4
  3. package/types/native/IUniElement.d.ts +1248 -3
  4. package/types/native/UniAnimation.d.ts +22 -22
  5. package/types/native/UniElement.d.ts +6 -2
  6. package/types/native/UniFormControlElement.d.ts +1 -0
  7. package/types/{UniPage.d.ts → native/UniPage.d.ts} +9 -8
  8. package/types/page.d.ts +91 -94
  9. package/types/uni/uts-plugin-api/global.d.ts +2 -0
  10. package/types/uni/uts-plugin-api/index.d.ts +2 -0
  11. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts +2 -0
  12. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/index.d.ts +1 -0
  13. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +46 -2
  14. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +142 -0
  15. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +3 -2
  16. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +1667 -1665
  17. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +143 -1
  18. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +18 -0
  19. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +8 -0
  20. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +190 -0
  21. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +20 -0
  22. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +9 -0
  23. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +615 -0
  24. package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/global.d.ts +34 -0
  25. package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/index.d.ts +16 -0
  26. package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/interface.d.ts +221 -0
  27. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +38 -38
  28. package/types/uni/uts-plugin-component/global.d.ts +1 -0
  29. package/types/uni/uts-plugin-component/index.d.ts +1 -0
  30. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +34 -0
  31. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +16 -0
  32. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +221 -0
  33. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +2 -0
  34. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +1 -0
  35. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +38 -11
  36. package/uts-plugin.d.ts +2 -0
  37. package/types/native/global.d.ts +0 -646
@@ -11,12 +11,12 @@ type UniAnimationOnFinish = (event : UniAnimationPlaybackEvent) => void
11
11
  * "android": {
12
12
  * "osVer": "5.0",
13
13
  * "uniVer": "x",
14
- * "unixVer": "4,51"
14
+ * "unixVer": "4.51"
15
15
  * },
16
16
  * "ios": {
17
17
  * "osVer": "12.0",
18
18
  * "uniVer": "x",
19
- * "unixVer": "x"
19
+ * "unixVer": "4.53"
20
20
  * }
21
21
  * },
22
22
  * "mp": {
@@ -63,7 +63,7 @@ type UniAnimationOnFinish = (event : UniAnimationPlaybackEvent) => void
63
63
  * },
64
64
  * "web": {
65
65
  * "uniVer": "x",
66
- * "unixVer": "x"
66
+ * "unixVer": ""
67
67
  * }
68
68
  * }
69
69
  */
@@ -80,14 +80,14 @@ export class UniAnimation {
80
80
  * "ios": {
81
81
  * "osVer": "12.0",
82
82
  * "uniVer": "x",
83
- * "unixVer": "x"
83
+ * "unixVer": "4.53"
84
84
  * }
85
85
  * },
86
86
  * "mp": {
87
87
  * "weixin": {
88
88
  * "hostVer": "√",
89
89
  * "uniVer": "x",
90
- * "unixVer": "x"
90
+ * "unixVer": "4.53"
91
91
  * },
92
92
  * "alipay": {
93
93
  * "hostVer": "√",
@@ -127,7 +127,7 @@ export class UniAnimation {
127
127
  * },
128
128
  * "web": {
129
129
  * "uniVer": "x",
130
- * "unixVer": "x"
130
+ * "unixVer": ""
131
131
  * }
132
132
  * }
133
133
  */
@@ -144,7 +144,7 @@ export class UniAnimation {
144
144
  * "ios": {
145
145
  * "osVer": "12.0",
146
146
  * "uniVer": "x",
147
- * "unixVer": "x"
147
+ * "unixVer": "4.53"
148
148
  * }
149
149
  * },
150
150
  * "mp": {
@@ -191,7 +191,7 @@ export class UniAnimation {
191
191
  * },
192
192
  * "web": {
193
193
  * "uniVer": "x",
194
- * "unixVer": "x"
194
+ * "unixVer": ""
195
195
  * }
196
196
  * }
197
197
  */
@@ -208,7 +208,7 @@ export class UniAnimation {
208
208
  * "ios": {
209
209
  * "osVer": "12.0",
210
210
  * "uniVer": "x",
211
- * "unixVer": "x"
211
+ * "unixVer": "4.53"
212
212
  * }
213
213
  * },
214
214
  * "mp": {
@@ -255,7 +255,7 @@ export class UniAnimation {
255
255
  * },
256
256
  * "web": {
257
257
  * "uniVer": "x",
258
- * "unixVer": "x"
258
+ * "unixVer": ""
259
259
  * }
260
260
  * }
261
261
  */
@@ -272,7 +272,7 @@ export class UniAnimation {
272
272
  * "ios": {
273
273
  * "osVer": "12.0",
274
274
  * "uniVer": "x",
275
- * "unixVer": "x"
275
+ * "unixVer": "4.53"
276
276
  * }
277
277
  * },
278
278
  * "mp": {
@@ -319,7 +319,7 @@ export class UniAnimation {
319
319
  * },
320
320
  * "web": {
321
321
  * "uniVer": "x",
322
- * "unixVer": "x"
322
+ * "unixVer": ""
323
323
  * }
324
324
  * }
325
325
  */
@@ -336,14 +336,14 @@ export class UniAnimation {
336
336
  * "ios": {
337
337
  * "osVer": "12.0",
338
338
  * "uniVer": "x",
339
- * "unixVer": "x"
339
+ * "unixVer": "4.53"
340
340
  * }
341
341
  * },
342
342
  * "mp": {
343
343
  * "weixin": {
344
344
  * "hostVer": "√",
345
345
  * "uniVer": "x",
346
- * "unixVer": "x"
346
+ * "unixVer": "4.53"
347
347
  * },
348
348
  * "alipay": {
349
349
  * "hostVer": "√",
@@ -383,7 +383,7 @@ export class UniAnimation {
383
383
  * },
384
384
  * "web": {
385
385
  * "uniVer": "x",
386
- * "unixVer": "x"
386
+ * "unixVer": ""
387
387
  * }
388
388
  * }
389
389
  */
@@ -400,7 +400,7 @@ export class UniAnimation {
400
400
  * "ios": {
401
401
  * "osVer": "12.0",
402
402
  * "uniVer": "x",
403
- * "unixVer": "x"
403
+ * "unixVer": "4.53"
404
404
  * }
405
405
  * },
406
406
  * "mp": {
@@ -447,7 +447,7 @@ export class UniAnimation {
447
447
  * },
448
448
  * "web": {
449
449
  * "uniVer": "x",
450
- * "unixVer": "x"
450
+ * "unixVer": ""
451
451
  * }
452
452
  * }
453
453
  */
@@ -464,7 +464,7 @@ export class UniAnimation {
464
464
  * "ios": {
465
465
  * "osVer": "12.0",
466
466
  * "uniVer": "x",
467
- * "unixVer": "x"
467
+ * "unixVer": "4.53"
468
468
  * }
469
469
  * },
470
470
  * "mp": {
@@ -511,7 +511,7 @@ export class UniAnimation {
511
511
  * },
512
512
  * "web": {
513
513
  * "uniVer": "x",
514
- * "unixVer": "x"
514
+ * "unixVer": ""
515
515
  * }
516
516
  * }
517
517
  */
@@ -528,14 +528,14 @@ export class UniAnimation {
528
528
  * "ios": {
529
529
  * "osVer": "12.0",
530
530
  * "uniVer": "x",
531
- * "unixVer": "x"
531
+ * "unixVer": "4.53"
532
532
  * }
533
533
  * },
534
534
  * "mp": {
535
535
  * "weixin": {
536
536
  * "hostVer": "√",
537
537
  * "uniVer": "x",
538
- * "unixVer": "x"
538
+ * "unixVer": "4.53"
539
539
  * },
540
540
  * "alipay": {
541
541
  * "hostVer": "√",
@@ -575,7 +575,7 @@ export class UniAnimation {
575
575
  * },
576
576
  * "web": {
577
577
  * "uniVer": "x",
578
- * "unixVer": "x"
578
+ * "unixVer": ""
579
579
  * }
580
580
  * }
581
581
  */
@@ -1,12 +1,13 @@
1
1
  import { CSSStyleDeclaration } from "./CSSStyleDeclaration";
2
2
  import { DOMRect } from "./DOMRect";
3
3
  import { DrawableContext } from "./DrawableContext";
4
- import { UniElement, UniViewElement, ClientRectObject} from "./IUniElement";
4
+ import { UniElement, UniViewElement, ClientRectObject } from "./IUniElement";
5
5
  import { UniEvent } from './UniEvent'
6
6
  import { TakeSnapshotOptions } from "./SnapshotOptions";
7
7
  import { UniCallbackWrapper } from "./UniCallbackWrapper";
8
8
  import { INodeData } from "./NodeData"
9
9
  import { PageNode } from "./PageNode"
10
+ import { UniAnimation } from "./UniAnimation";
10
11
 
11
12
  /**
12
13
  * view元素对象
@@ -69,7 +70,10 @@ export class UniElementImpl implements UniElement {
69
70
  getAndroidActivity(): Activity | null
70
71
  getIOSView(): UIView | null
71
72
  getPage(): UniPage | null
72
- constructor (data: INodeData, pageNode?: PageNode)
73
+ getHarmonyController(): any | null
74
+ getHarmonyController<T>(): T | null
75
+ constructor(data: INodeData, pageNode?: PageNode)
76
+ animate(keyframes: any, options: any): UniAnimation | null;
73
77
  }
74
78
 
75
79
  /**
@@ -1,6 +1,7 @@
1
1
  import { PageNode } from "./PageNode";
2
2
  import { UniElementImpl } from "./UniElement"
3
3
  import { UniFormControl } from "./UniFormControl"
4
+ import { INodeData } from "./NodeData"
4
5
 
5
6
  /**
6
7
  * @package io.dcloud.uniapp.dom.node
@@ -1,28 +1,29 @@
1
- import { UniSafeAreaInsets } from './native/UniSafeAreaInsets'
1
+ import { UniSafeAreaInsets } from './UniSafeAreaInsets'
2
+ import { UniElement } from './IUniElement'
2
3
 
3
4
  export type UniPageBody = {
4
5
  /**
5
- * 安全区域左上角纵坐标,单位为px
6
+ * 页面可使用区域左上角纵坐标,单位为px
6
7
  */
7
8
  top: number,
8
9
  /**
9
- * 安全区域右下角纵坐标,单位为px
10
+ * 页面可使用区域右下角纵坐标,单位为px
10
11
  */
11
12
  bottom: number,
12
13
  /**
13
- * 安全区域左上角横坐标,单位为px
14
+ * 页面可使用区域左上角横坐标,单位为px
14
15
  */
15
16
  left: number,
16
17
  /**
17
- * 安全区域右下角横坐标,单位为px
18
+ * 页面可使用区域右下角横坐标,单位为px
18
19
  */
19
20
  right: number,
20
21
  /**
21
- * 安全区域的宽度,单位为px
22
+ * 页面可使用区域的宽度,单位为px
22
23
  */
23
24
  width: number,
24
25
  /**
25
- * 安全区域的高度,单位为px
26
+ * 页面可使用区域的高度,单位为px
26
27
  */
27
28
  height: number
28
29
  }
@@ -176,7 +177,7 @@ export interface UniPage {
176
177
  */
177
178
  $vm?: ComponentPublicInstance | null
178
179
  /**
179
- * UniPage pageBody 位置及宽高信息,单位为px
180
+ * UniPage 页面可使用区域信息,单位为px
180
181
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
181
182
  * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/unipage.html
182
183
  * @uniPlatform {