@dcloudio/uni-app-x 0.7.45 → 0.7.47

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 (71) hide show
  1. package/package.json +1 -1
  2. package/types/UniPage.d.ts +9 -9
  3. package/types/native/CanvasRenderingContext2D.d.ts +64 -1
  4. package/types/native/IUniElement.d.ts +1 -1
  5. package/types/native/IUniNativeViewElement.d.ts +6 -0
  6. package/types/native/UniAnimation.d.ts +9 -4
  7. package/types/native/global.d.ts +2 -0
  8. package/types/native/index.d.ts +1 -0
  9. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +74 -427
  10. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +2 -2
  11. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +2 -2
  12. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +6 -6
  13. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +2 -2
  14. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +18 -18
  15. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +8 -8
  16. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +4 -4
  17. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1 -1
  18. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +2 -2
  19. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +1 -1
  20. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +1 -1
  21. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +2 -2
  22. package/types/uni/uts-plugin-api/lib/uni-document/utssdk/interface.d.ts +2 -2
  23. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +8 -8
  24. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +2 -2
  25. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +5 -5
  26. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +1 -1
  27. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +1 -1
  28. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +14 -14
  29. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +246 -92
  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-getEnterOptionsSync/utssdk/interface.d.ts +2 -2
  32. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +2 -2
  33. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +20 -20
  34. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +14 -14
  35. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +5 -5
  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-getProvider/utssdk/interface.d.ts +11 -11
  38. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +13 -13
  39. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +91 -91
  40. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +7 -7
  41. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +2 -2
  42. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
  43. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +1 -1
  44. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +2 -2
  45. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +4 -2
  46. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +2 -1
  47. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +114 -428
  48. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +9 -9
  49. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +41 -41
  50. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +8 -8
  51. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +253 -339
  52. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +1 -1
  53. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +3 -3
  54. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +18 -18
  55. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +5 -5
  56. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +49 -49
  57. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +2 -2
  58. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +30 -30
  59. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +1 -1
  60. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +1 -1
  61. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +8 -8
  62. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +10 -10
  63. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +9 -9
  64. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +21 -21
  65. package/types/uni/uts-plugin-biz/lib/uni-crash/utssdk/interface.d.ts +40 -12
  66. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +2 -2
  67. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +244 -244
  68. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +16 -16
  69. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +30 -30
  70. package/uts-plugin.d.ts +2 -0
  71. package/types/uni/uts-plugin-extend/README.md +0 -3
@@ -20,7 +20,7 @@ export type GetSystemSettingResult = {
20
20
  * "harmony": {
21
21
  * "osVer": "3.0",
22
22
  * "uniVer": "4.25",
23
- * "unixVer": "x"
23
+ * "unixVer": "4.61"
24
24
  * }
25
25
  * },
26
26
  * "mp": {
@@ -87,7 +87,7 @@ export type GetSystemSettingResult = {
87
87
  * "harmony": {
88
88
  * "osVer": "3.0",
89
89
  * "uniVer": "4.25",
90
- * "unixVer": "x"
90
+ * "unixVer": "4.61"
91
91
  * }
92
92
  * },
93
93
  * "mp": {
@@ -154,7 +154,7 @@ export type GetSystemSettingResult = {
154
154
  * "harmony": {
155
155
  * "osVer": "3.0",
156
156
  * "uniVer": "4.25",
157
- * "unixVer": "x"
157
+ * "unixVer": "4.61"
158
158
  * }
159
159
  * },
160
160
  * "mp": {
@@ -221,7 +221,7 @@ export type GetSystemSettingResult = {
221
221
  * "harmony": {
222
222
  * "osVer": "3.0",
223
223
  * "uniVer": "4.25",
224
- * "unixVer": "x"
224
+ * "unixVer": "4.61"
225
225
  * }
226
226
  * },
227
227
  * "mp": {
@@ -288,7 +288,7 @@ export type GetSystemSettingResult = {
288
288
  * "harmony": {
289
289
  * "osVer": "3.0",
290
290
  * "uniVer": "4.25",
291
- * "unixVer": "x"
291
+ * "unixVer": "4.61"
292
292
  * }
293
293
  * },
294
294
  * "mp": {
@@ -355,7 +355,7 @@ export type GetSystemSettingResult = {
355
355
  * "harmony": {
356
356
  * "osVer": "3.0",
357
357
  * "uniVer": "4.25",
358
- * "unixVer": "x"
358
+ * "unixVer": "4.61"
359
359
  * }
360
360
  * },
361
361
  * "mp": {
@@ -441,7 +441,7 @@ export interface Uni {
441
441
  * "harmony": {
442
442
  * "osVer": "3.0",
443
443
  * "uniVer": "4.31",
444
- * "unixVer": "x"
444
+ * "unixVer": "4.61"
445
445
  * }
446
446
  * },
447
447
  * "mp": {
@@ -37,7 +37,7 @@ export interface Uni {
37
37
  * "harmony": {
38
38
  * "osVer": "3.0",
39
39
  * "uniVer": "4.23",
40
- * "unixVer": "x"
40
+ * "unixVer": "4.61"
41
41
  * }
42
42
  * },
43
43
  * "mp": {
@@ -111,7 +111,7 @@ export interface Uni {
111
111
  * "harmony": {
112
112
  * "osVer": "3.0",
113
113
  * "uniVer": "4.23",
114
- * "unixVer": "x"
114
+ * "unixVer": "4.61"
115
115
  * }
116
116
  * },
117
117
  * "mp": {
@@ -308,7 +308,7 @@ export interface Uni {
308
308
  * "harmony": {
309
309
  * "osVer": "3.0",
310
310
  * "uniVer": "4.23",
311
- * "unixVer": "x"
311
+ * "unixVer": "4.61"
312
312
  * }
313
313
  * },
314
314
  * "mp": {
@@ -675,5 +675,5 @@ export interface Uni {
675
675
  * }
676
676
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/ui/font/wx.loadFontFace.html
677
677
  */
678
- loadFontFace: LoadFontFace
678
+ loadFontFace(options: LoadFontFaceOptions): Promise<LoadFontFaceSuccess> | null
679
679
  }
@@ -19,7 +19,7 @@ export interface Uni {
19
19
  * "harmony": {
20
20
  * "osVer": "3.0",
21
21
  * "uniVer": "4.23",
22
- * "unixVer": "x"
22
+ * "unixVer": "4.61"
23
23
  * }
24
24
  * },
25
25
  * "mp": {
@@ -71,7 +71,7 @@ export interface Uni {
71
71
  * }
72
72
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/device/phone/wx.makePhoneCall.html
73
73
  */
74
- makePhoneCall: MakePhoneCall;
74
+ makePhoneCall(options: MakePhoneCallOptions): void;
75
75
  }
76
76
 
77
77
  export type MakePhoneCall = (options: MakePhoneCallOptions) => void;
@@ -15,7 +15,8 @@ import {
15
15
  ChooseImageOptions as ChooseImageOptionsOrigin,
16
16
  ChooseImage as ChooseImageOrigin,
17
17
  PreviewImageSuccess as PreviewImageSuccessOrigin,
18
- LongPressActionsSuccessData as LongPressActionsSuccessDataOrigin,
18
+ LongPressActionsSuccessResult as LongPressActionsSuccessResultOrigin,
19
+ LongPressActionsFailResult as LongPressActionsFailResultOrigin,
19
20
  LongPressActionsOptions as LongPressActionsOptionsOrigin,
20
21
  PreviewImageFail as PreviewImageFailOrigin,
21
22
  PreviewImageSuccessCallback as PreviewImageSuccessCallbackOrigin,
@@ -109,7 +110,8 @@ declare global {
109
110
  type ChooseImageOptions = ChooseImageOptionsOrigin
110
111
  type ChooseImage = ChooseImageOrigin
111
112
  type PreviewImageSuccess = PreviewImageSuccessOrigin
112
- type LongPressActionsSuccessData = LongPressActionsSuccessDataOrigin
113
+ type LongPressActionsSuccessResult = LongPressActionsSuccessResultOrigin
114
+ type LongPressActionsFailResult = LongPressActionsFailResultOrigin
113
115
  type LongPressActionsOptions = LongPressActionsOptionsOrigin
114
116
  type PreviewImageFail = PreviewImageFailOrigin
115
117
  type PreviewImageSuccessCallback = PreviewImageSuccessCallbackOrigin
@@ -15,7 +15,8 @@ export {
15
15
  ChooseImageOptions,
16
16
  ChooseImage,
17
17
  PreviewImageSuccess,
18
- LongPressActionsSuccessData,
18
+ LongPressActionsSuccessResult,
19
+ LongPressActionsFailResult,
19
20
  LongPressActionsOptions,
20
21
  PreviewImageFail,
21
22
  PreviewImageSuccessCallback,