@dcloudio/uni-app-x 0.7.38 → 0.7.39

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 (104) hide show
  1. package/package.json +1 -1
  2. package/types/UniPage.d.ts +4 -0
  3. package/types/native/CanvasRenderingContext2D.d.ts +1 -1
  4. package/types/native/IUniElement.d.ts +105 -44
  5. package/types/native/global.d.ts +14 -8
  6. package/types/page.d.ts +45 -3
  7. package/types/uni/env/index.d.ts +81 -81
  8. package/types/uni/uni-map-tencent-map.d.ts +7 -7
  9. package/types/uni/uts-plugin-api/global.d.ts +0 -2
  10. package/types/uni/uts-plugin-api/index.d.ts +0 -2
  11. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1 -1
  12. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +73 -73
  13. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +331 -331
  14. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +73 -73
  15. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +628 -628
  16. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +414 -153
  17. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +2 -2
  18. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1218 -1987
  19. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +1 -1
  20. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +6 -6
  21. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +156 -81
  22. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +315 -315
  23. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +5 -5
  24. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +2530 -2126
  25. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +490 -490
  26. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +2138 -2005
  27. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +4 -0
  28. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +2 -0
  29. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +663 -113
  30. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +20 -20
  31. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +3 -3
  32. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +217 -217
  33. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +2 -2
  34. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +809 -809
  35. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +274 -274
  36. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +1 -1
  37. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +969 -969
  38. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +106 -106
  39. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +23 -23
  40. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +2 -2
  41. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
  42. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +41 -41
  43. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +88 -88
  44. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +1680 -1528
  45. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +16 -16
  46. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +3620 -3618
  47. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +12 -12
  48. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +1 -1
  49. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +3 -3
  50. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +621 -621
  51. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +22 -22
  52. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +2602 -2391
  53. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +2 -2
  54. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +26 -26
  55. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +77 -77
  56. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +1 -1
  57. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +857 -857
  58. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +17 -17
  59. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +8 -0
  60. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +4 -0
  61. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +1057 -516
  62. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +1660 -1660
  63. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +1746 -1746
  64. package/types/uni/uts-plugin-biz/global.d.ts +1 -0
  65. package/types/uni/uts-plugin-biz/index.d.ts +1 -0
  66. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +84 -0
  67. package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/interface.d.ts +46 -46
  68. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +72 -20
  69. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +126 -0
  70. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +2 -0
  71. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +1 -0
  72. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +63 -12
  73. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +308 -308
  74. package/types/uni/uts-plugin-extend/global.d.ts +1 -0
  75. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/global.d.ts +7 -0
  76. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/index.d.ts +0 -0
  77. package/types/uni/uts-plugin-extend/lib/uni-__f__/utssdk/interface.d.ts +3 -0
  78. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +4 -4
  79. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +5 -5
  80. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +1 -1
  81. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +77 -77
  82. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +11 -11
  83. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
  84. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +6 -6
  85. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +2 -2
  86. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +1 -1
  87. package/types/uni-cloud/interface.d.ts +13 -13
  88. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/global.d.ts +0 -24
  89. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/index.d.ts +0 -11
  90. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +0 -217
  91. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/global.d.ts +0 -21
  92. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/index.d.ts +0 -9
  93. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +0 -151
  94. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/global.d.ts +0 -11
  95. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/index.d.ts +0 -4
  96. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +0 -224
  97. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/global.d.ts +0 -53
  98. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/index.d.ts +0 -25
  99. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +0 -487
  100. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/global.d.ts +0 -9
  101. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/index.d.ts +0 -1
  102. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +0 -165
  103. /package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/global.d.ts +0 -0
  104. /package/types/uni/{uts-plugin-api → uts-plugin-biz}/lib/uni-crash/utssdk/index.d.ts +0 -0
@@ -1,9 +1,9 @@
1
- export declare class UniMapUpdatedEventDetail { }
1
+ export declare type UniMapUpdatedEventDetail = { }
2
2
  export declare class UniMapUpdatedEvent extends UniCustomEvent<UniMapUpdatedEventDetail> {
3
3
  constructor(type: string, detail: UniMapUpdatedEventDetail)
4
4
  }
5
5
 
6
- export declare class UniMapTapEventDetail {
6
+ export declare type UniMapTapEventDetail = {
7
7
  latitude: number | null
8
8
  longitude: number | null
9
9
  }
@@ -11,7 +11,7 @@ export declare class UniMapTapEvent extends UniCustomEvent<UniMapTapEventDetail>
11
11
  constructor(type: string, detail: UniMapTapEventDetail)
12
12
  }
13
13
 
14
- export declare class UniMapRegionChangeEventDetail {
14
+ export declare type UniMapRegionChangeEventDetail = {
15
15
  skew: number | null
16
16
  rotate: number | null
17
17
  }
@@ -20,21 +20,21 @@ export declare class UniMapRegionChangeEvent extends UniCustomEvent<UniMapRegion
20
20
  constructor(type: string, detail: UniMapRegionChangeEventDetail | null)
21
21
  }
22
22
 
23
- export declare class UniMapMarkerTapEventDetail {
23
+ export declare type UniMapMarkerTapEventDetail = {
24
24
  markerId: number | null
25
25
  }
26
26
  export declare class UniMapMarkerTapEvent extends UniCustomEvent<UniMapMarkerTapEventDetail> {
27
27
  constructor(type: string, detail: UniMapMarkerTapEventDetail)
28
28
  }
29
29
 
30
- export declare class UniMapControlTapEventDetail {
30
+ export declare type UniMapControlTapEventDetail = {
31
31
  controlId: number | null
32
32
  }
33
33
  export declare class UniMapControlTapEvent extends UniCustomEvent<UniMapControlTapEventDetail> {
34
34
  constructor(type: string, detail: UniMapControlTapEventDetail)
35
35
  }
36
36
 
37
- export declare class UniMapAnchorPointTapEventDetail {
37
+ export declare type UniMapAnchorPointTapEventDetail = {
38
38
  latitude: number | null
39
39
  longitude: number | null
40
40
  }
@@ -42,7 +42,7 @@ export declare class UniMapAnchorPointTapEvent extends UniCustomEvent<UniMapAnch
42
42
  constructor(type: string, detail: UniMapAnchorPointTapEventDetail)
43
43
  }
44
44
 
45
- export declare class UniMapPoiTapEventDetail {
45
+ export declare type UniMapPoiTapEventDetail = {
46
46
  latitude: number | null
47
47
  longitude: number | null
48
48
  name: string | null
@@ -55,7 +55,6 @@
55
55
  /// <reference path='./lib/uni-createRequestPermissionListener/utssdk/global.d.ts' />
56
56
  /// <reference path='./lib/uni-createIntersectionObserver/utssdk/global.d.ts' />
57
57
  /// <reference path='./lib/uni-createInnerAudioContext/utssdk/global.d.ts' />
58
- /// <reference path='./lib/uni-crash/utssdk/global.d.ts' />
59
58
  /// <reference path='./lib/uni-clipboard/utssdk/global.d.ts' />
60
59
  /// <reference path='./lib/uni-chooseLocation/utssdk/global.d.ts' />
61
60
  /// <reference path='./lib/uni-canvas/utssdk/global.d.ts' />
@@ -63,4 +62,3 @@
63
62
  /// <reference path='./lib/uni-authentication/utssdk/global.d.ts' />
64
63
  /// <reference path='./lib/uni-arrayBufferToBase64/utssdk/global.d.ts' />
65
64
  /// <reference path='./lib/uni-addPhoneContact/utssdk/global.d.ts' />
66
- /// <reference path='./lib/uni-actionSheet/utssdk/global.d.ts' />
@@ -55,7 +55,6 @@ export * from './lib/uni-createSelectorQuery/utssdk'
55
55
  export * from './lib/uni-createRequestPermissionListener/utssdk'
56
56
  export * from './lib/uni-createIntersectionObserver/utssdk'
57
57
  export * from './lib/uni-createInnerAudioContext/utssdk'
58
- export * from './lib/uni-crash/utssdk'
59
58
  export * from './lib/uni-clipboard/utssdk'
60
59
  export * from './lib/uni-chooseLocation/utssdk'
61
60
  export * from './lib/uni-canvas/utssdk'
@@ -63,4 +62,3 @@ export * from './lib/uni-base64ToArrayBuffer/utssdk'
63
62
  export * from './lib/uni-authentication/utssdk'
64
63
  export * from './lib/uni-arrayBufferToBase64/utssdk'
65
64
  export * from './lib/uni-addPhoneContact/utssdk'
66
- export * from './lib/uni-actionSheet/utssdk'
@@ -30,7 +30,7 @@ export interface Uni {
30
30
  * weixin: {
31
31
  * hostVer: '√',
32
32
  * uniVer: '√',
33
- * unixVer: '4.35'
33
+ * unixVer: '4.41'
34
34
  * },
35
35
  * alipay: {
36
36
  * hostVer: '√',
@@ -1,77 +1,77 @@
1
1
  export interface Uni {
2
- /**
3
- * 将 ArrayBuffer 对象转成 Base64 字符串
4
- *
5
- * @tutorial https://uniapp.dcloud.net.cn/api/arrayBufferToBase64.html
6
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/arrayBufferToBase64.html
7
- *
8
- * @uniPlatform {
9
- * "app": {
10
- * "android": {
11
- * "osVer": "5.0",
12
- * "uniVer": "√",
13
- * "unixVer": "x"
14
- * },
15
- * "ios": {
16
- * "osVer": "5.0",
17
- * "uniVer": "√",
18
- * "unixVer": "x"
19
- * },
20
- * "harmony": {
21
- * "osVer": "3.0",
22
- * "uniVer": "4.23",
23
- * "unixVer": "x"
24
- * }
25
- * },
26
- * "web": {
27
- * "uniVer": "√",
28
- * "unixVer": "4.0"
29
- * },
30
- * "mp":{
31
- * weixin: {
32
- * hostVer: '√',
33
- * uniVer: '√',
34
- * unixVer: '4.35'
35
- * },
36
- * alipay: {
37
- * hostVer: '√',
38
- * uniVer: '√',
39
- * unixVer: 'x'
40
- * },
41
- * baidu: {
42
- * hostVer: '√',
43
- * uniVer: '√',
44
- * unixVer: 'x'
45
- * },
46
- * toutiao: {
47
- * hostVer: '√',
48
- * uniVer: '√',
49
- * unixVer: 'x'
50
- * },
51
- * lark: {
52
- * hostVer: '√',
53
- * uniVer: '√',
54
- * unixVer: 'x'
55
- * },
56
- * qq: {
57
- * hostVer: '√',
58
- * uniVer: '√',
59
- * unixVer: 'x'
60
- * },
61
- * kuaishou: {
62
- * hostVer: '√',
63
- * uniVer: '√',
64
- * unixVer: 'x'
65
- * },
66
- * jd: {
67
- * hostVer: '√',
68
- * uniVer: '√',
69
- * unixVer: 'x'
70
- * }
71
- * }
72
- * }
73
- */
74
- arrayBufferToBase64: ArrayBufferToBase64;
2
+ /**
3
+ * 将 ArrayBuffer 对象转成 Base64 字符串
4
+ *
5
+ * @tutorial https://uniapp.dcloud.net.cn/api/arrayBufferToBase64.html
6
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/arrayBufferToBase64.html
7
+ *
8
+ * @uniPlatform {
9
+ * "app": {
10
+ * "android": {
11
+ * "osVer": "5.0",
12
+ * "uniVer": "√",
13
+ * "unixVer": "x"
14
+ * },
15
+ * "ios": {
16
+ * "osVer": "5.0",
17
+ * "uniVer": "√",
18
+ * "unixVer": "x"
19
+ * },
20
+ * "harmony": {
21
+ * "osVer": "3.0",
22
+ * "uniVer": "4.23",
23
+ * "unixVer": "x"
24
+ * }
25
+ * },
26
+ * "web": {
27
+ * "uniVer": "√",
28
+ * "unixVer": "4.0"
29
+ * },
30
+ * "mp":{
31
+ * weixin: {
32
+ * hostVer: '√',
33
+ * uniVer: '√',
34
+ * unixVer: '4.41'
35
+ * },
36
+ * alipay: {
37
+ * hostVer: '√',
38
+ * uniVer: '√',
39
+ * unixVer: 'x'
40
+ * },
41
+ * baidu: {
42
+ * hostVer: '√',
43
+ * uniVer: '√',
44
+ * unixVer: 'x'
45
+ * },
46
+ * toutiao: {
47
+ * hostVer: '√',
48
+ * uniVer: '√',
49
+ * unixVer: 'x'
50
+ * },
51
+ * lark: {
52
+ * hostVer: '√',
53
+ * uniVer: '√',
54
+ * unixVer: 'x'
55
+ * },
56
+ * qq: {
57
+ * hostVer: '√',
58
+ * uniVer: '√',
59
+ * unixVer: 'x'
60
+ * },
61
+ * kuaishou: {
62
+ * hostVer: '√',
63
+ * uniVer: '√',
64
+ * unixVer: 'x'
65
+ * },
66
+ * jd: {
67
+ * hostVer: '√',
68
+ * uniVer: '√',
69
+ * unixVer: 'x'
70
+ * }
71
+ * }
72
+ * }
73
+ */
74
+ arrayBufferToBase64: ArrayBufferToBase64;
75
75
  }
76
76
 
77
77
  export type ArrayBufferToBase64 = (arrayBuffer: ArrayBuffer) => string;