@dcloudio/uni-app-x 0.7.58 → 0.7.60

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 +6 -2
  2. package/types/app.d.ts +16 -8
  3. package/types/index.d.ts +1 -0
  4. package/types/native/CSSStyleDeclaration.d.ts +31 -6
  5. package/types/native/DOMRect.d.ts +60 -10
  6. package/types/native/IUniElement.d.ts +459 -2
  7. package/types/native/UniElement.d.ts +3 -2
  8. package/types/native/UniFormControl.d.ts +1 -1
  9. package/types/native/UniPage.d.ts +2 -2
  10. package/types/native/UniSwiperAnimationFinishEvent.d.ts +1 -0
  11. package/types/native/UniSwiperChangeEvent.d.ts +1 -0
  12. package/types/native/UniWebViewContentHeightChangeEvent.d.ts +31 -0
  13. package/types/native/UniWebViewElement.d.ts +3 -1
  14. package/types/native/WebViewStyles.d.ts +1 -1
  15. package/types/native/global.d.ts +10 -0
  16. package/types/native/index.d.ts +1 -0
  17. package/types/page.d.ts +134 -22
  18. package/types/uni/env/index.d.ts +5 -5
  19. package/types/uni/uni-camera-global.d.ts +4 -0
  20. package/types/uni/uni-camera.d.ts +10 -9
  21. package/types/uni/uts-plugin-api/global.d.ts +3 -0
  22. package/types/uni/uts-plugin-api/index.d.ts +3 -0
  23. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +3 -2
  24. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +3 -2
  25. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +9 -6
  26. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/global.d.ts +8 -0
  27. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/index.d.ts +4 -0
  28. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
  29. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +3 -2
  30. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +4 -4
  31. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/global.d.ts +4 -0
  32. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/index.d.ts +2 -0
  33. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +22 -10
  34. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +11 -11
  35. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +3 -2
  36. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +2 -2
  37. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +2 -2
  38. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +2 -0
  39. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +1 -0
  40. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +47 -1
  41. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +5 -3
  42. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +8 -8
  43. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +4 -1
  44. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +3 -0
  45. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +256 -236
  46. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +2 -2
  47. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +3 -3
  48. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +12 -11
  49. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +2 -2
  50. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +1 -1
  51. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +4 -4
  52. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +8 -8
  53. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +8 -6
  54. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +1 -1
  55. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +32 -5
  56. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +7 -16
  57. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +2 -2
  58. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +1 -1
  59. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +4 -4
  60. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +263 -425
  61. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +27 -7
  62. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/global.d.ts +4 -0
  63. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/index.d.ts +2 -0
  64. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +296 -181
  65. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +259 -321
  66. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +80 -696
  67. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +10 -8
  68. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/global.d.ts +8 -0
  69. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/index.d.ts +4 -0
  70. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4235 -3525
  71. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +401 -344
  72. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/global.d.ts +4 -0
  73. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/index.d.ts +2 -0
  74. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +778 -290
  75. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +2 -2
  76. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +11 -11
  77. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +5 -5
  78. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +24 -24
  79. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +4 -4
  80. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/global.d.ts +4 -0
  81. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/index.d.ts +2 -0
  82. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +2268 -1281
  83. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +3 -0
  84. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +10 -10
  85. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +2 -2
  86. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +4 -4
  87. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +36 -0
  88. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +17 -0
  89. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +180 -0
  90. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/global.d.ts +8 -0
  91. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/index.d.ts +4 -0
  92. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +1 -0
  93. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +2 -2
  94. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +20 -20
  95. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +18 -18
  96. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +135 -76
  97. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +5 -5
  98. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +26 -26
  99. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +14 -14
  100. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +30 -0
  101. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +15 -0
  102. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +350 -1
  103. package/types/uni-cloud/interface.d.ts +233 -0
  104. package/types/vite.d.ts +269 -0
@@ -1,9 +1,9 @@
1
1
  export interface Uni {
2
2
  /**
3
3
  * 获取 APP 授权设置。
4
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/getappauthorizesetting.html
5
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-app-authorize-setting.html
6
4
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-app-authorize-setting.html
5
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-app-authorize-setting.html
6
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/getappauthorizesetting.html
7
7
  * @uniPlatform {
8
8
  * "app": {
9
9
  * "android": {
@@ -235,7 +235,7 @@ export type GetAppBaseInfoResult = {
235
235
  appVersion?: string,
236
236
 
237
237
  /**
238
- * `manifest.json` 中应用版本名号,如果离线打包注意修改修改index.kt中UniAppConfig类型中的版本号[文档](https://doc.dcloud.net.cn/uni-app-x/native/use/android.html#%E6%8B%B7%E8%B4%9Dkt%E6%96%87%E4%BB%B6)。
238
+ * `manifest.json` 中应用版本号,如果离线打包注意修改修改index.kt中UniAppConfig类型中的版本号[文档](https://doc.dcloud.net.cn/uni-app-x/native/use/android.html#%E6%8B%B7%E8%B4%9Dkt%E6%96%87%E4%BB%B6)。
239
239
  *
240
240
  * @uniPlatform
241
241
  {
@@ -2450,9 +2450,9 @@ export interface Uni {
2450
2450
  * 获取app基本信息
2451
2451
  * @param {GetAppBaseInfoOptions} options [options=包含所有字段的过滤对象] 过滤的字段对象, 不传参数默认为获取全部字段。
2452
2452
  * @return {object}
2453
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-app-base-info.html
2454
2453
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-app-base-info.html
2455
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/getAppBaseInfo.html
2454
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-app-base-info.html
2455
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/getAppBaseInfo.html
2456
2456
  * @uniPlatform {
2457
2457
  * "app": {
2458
2458
  * "android": {
@@ -2,8 +2,9 @@ export interface Uni {
2
2
  /**
3
3
  * 获取全局唯一的背景音频管理器 backgroundAudioManager
4
4
  *
5
- * @tutorial https://uniapp.dcloud.net.cn/api/media/background-audio-manager.html
6
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/media/background-audio-manager.html
5
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-background-audio-manager.html#getbackgroundaudiomanager
6
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/media/background-audio-manager.html
7
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-background-audio-manager.html#getbackgroundaudiomanager
7
8
  * @uniPlatform {
8
9
  * "app": {
9
10
  * "android": {
@@ -423,22 +424,22 @@ export interface BackgroundAudioManager {
423
424
  "app": {
424
425
  "android": {
425
426
  "osVer": "5.0",
426
- "uniVer": "",
427
+ "uniVer": "x",
427
428
  "uniUtsPlugin": "x",
428
- "unixVer": "4.62",
429
- "unixUtsPlugin": "4.62"
429
+ "unixVer": "4.71",
430
+ "unixUtsPlugin": "4.71"
430
431
  },
431
432
  "ios": {
432
433
  "osVer": "12.0",
433
- "uniVer": "",
434
+ "uniVer": "x",
434
435
  "uniUtsPlugin": "x",
435
- "unixVer": "4.62",
436
- "unixUtsPlugin": "4.62"
436
+ "unixVer": "4.71",
437
+ "unixUtsPlugin": "4.71"
437
438
  },
438
439
  "harmony": {
439
440
  "osVer": "5.0.0",
440
- "uniVer": "4.23",
441
- "unixVer": "4.61",
441
+ "uniVer": "x",
442
+ "unixVer": "x",
442
443
  }
443
444
  },
444
445
  "mp": {
@@ -489,7 +490,7 @@ export interface BackgroundAudioManager {
489
490
  }
490
491
  }
491
492
  */
492
- // #ifdef APP-IOS
493
+ // #ifdef APP-IOS || APP-ANDROID
493
494
  cache: boolean;
494
495
  // #endif
495
496
  /**
@@ -1853,9 +1853,9 @@ export interface Uni {
1853
1853
  * 获取设备信息
1854
1854
  * @param {GetDeviceInfoOptions} options [options=包含所有字段的过滤对象] 过滤的字段对象, 不传参数默认为获取全部字段。
1855
1855
  * @return {object}
1856
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/getDeviceInfo.html
1857
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-device-info.html
1858
1856
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-device-info.html
1857
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-device-info.html
1858
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/getDeviceInfo.html
1859
1859
  * @uniPlatform {
1860
1860
  * "app": {
1861
1861
  * "android": {
@@ -6,8 +6,8 @@ export interface Uni {
6
6
  * 如果需要获取指定的节点类型,需要使用 as 进行类型转换。\
7
7
  * ID 区分大小写,且应该是唯一的。如果存在多个匹配的元素,则返回第一个匹配的元素。
8
8
  *
9
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-element.html
10
9
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-element.html
10
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-element.html
11
11
  * @uniPlatform {
12
12
  * "app": {
13
13
  * "android": {
@@ -2,8 +2,8 @@ export type OnShowOptions = {
2
2
  /**
3
3
  * 本次启动时页面的路径
4
4
  *
5
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
6
5
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
6
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
7
7
  * @uniPlatform {
8
8
  * "app": {
9
9
  * "android": {
@@ -74,8 +74,8 @@ export type OnShowOptions = {
74
74
  /**
75
75
  * 本次启动时的Scheme。返回值与App.onShow的回调参数一致
76
76
  *
77
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
78
77
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
78
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
79
79
  * @uniPlatform {
80
80
  * "app": {
81
81
  * "android": {
@@ -146,8 +146,8 @@ export type OnShowOptions = {
146
146
  /**
147
147
  * 本次启动时的appLink。返回值与App.onShow的回调参数一致
148
148
  *
149
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
150
149
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
150
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
151
151
  * @uniPlatform {
152
152
  * "app": {
153
153
  * "android": {
@@ -580,8 +580,8 @@ export interface Uni {
580
580
  /**
581
581
  * 获取本次启动时的参数。返回值与App.onShow的回调参数一致
582
582
  *
583
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
584
583
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
584
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-enter-options-sync.html
585
585
  * @uniPlatform {
586
586
  * "app": {
587
587
  * "android": {
@@ -2,9 +2,9 @@ export type OnLaunchOptions = {
2
2
  /**
3
3
  * 首次启动时的页面路径。返回值与App.onLaunch的回调参数一致
4
4
  *
5
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
6
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
7
5
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
6
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
7
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
8
8
  * @uniPlatform {
9
9
  * "app": {
10
10
  * "android": {
@@ -75,9 +75,9 @@ export type OnLaunchOptions = {
75
75
  /**
76
76
  * 首次启动时的Scheme。返回值与App.onLaunch的回调参数一致
77
77
  *
78
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
79
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
80
78
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
79
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
80
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
81
81
  * @uniPlatform {
82
82
  * "app": {
83
83
  * "android": {
@@ -148,9 +148,9 @@ export type OnLaunchOptions = {
148
148
  /**
149
149
  * 首次启动时的appLink。返回值与App.onLaunch的回调参数一致
150
150
  *
151
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
152
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
153
151
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
152
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
153
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
154
154
  * @uniPlatform {
155
155
  * "app": {
156
156
  * "android": {
@@ -583,9 +583,9 @@ export interface Uni {
583
583
  /**
584
584
  * 获取首次启动时的参数。返回值与App.onLaunch的回调参数一致
585
585
  *
586
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
587
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
588
586
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
587
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-launch-options-sync.html
588
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/getLaunchOptionsSync.html
589
589
  * @uniPlatform {
590
590
  * "app": {
591
591
  * "android": {
@@ -5,8 +5,8 @@ export interface Uni {
5
5
  * 获取网络类型
6
6
  * @param {GetNetworkTypeOptions} options
7
7
  * @return {void}
8
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/network.html#getnetworktype
9
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-network-type.html
8
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/network.html#getnetworktype
9
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-network-type.html
10
10
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-network-type.html
11
11
  * @uniPlatform {
12
12
  * "app": {
@@ -87,8 +87,9 @@ export interface Uni {
87
87
  /**
88
88
  * 监听网络状态变化
89
89
  *
90
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/network.html#onnetworkstatuschange
91
- * @tutorial https://uniapp.dcloud.net.cn/api/system/network.html#onnetworkstatuschange
90
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/network.html#onnetworkstatuschange
91
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/network-status-change.html
92
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/network-status-change.html
92
93
  * @uniPlatform {
93
94
  * "app": {
94
95
  * "android": {
@@ -160,8 +161,9 @@ export interface Uni {
160
161
  /**
161
162
  * 取消监听网络状态变化
162
163
  *
163
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/network.html#offnetworkstatuschange
164
- * @tutorial https://uniapp.dcloud.net.cn/api/system/network.html#offnetworkstatuschange
164
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/network.html#offnetworkstatuschange
165
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/network-status-change.html
166
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/network-status-change.html
165
167
  * @uniPlatform {
166
168
  * "app": {
167
169
  * "android": {
@@ -346,8 +346,8 @@ export interface Uni {
346
346
  /**
347
347
  * 返回一个Performance对象实例
348
348
  *
349
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-performance.html
350
349
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-performance.html
350
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-performance.html
351
351
  * @uniPlatform {
352
352
  * "app": {
353
353
  * "android": {
@@ -78,7 +78,34 @@ export type GetProviderSuccess = {
78
78
  * }
79
79
  * }
80
80
  */
81
- 'oauth',
81
+ 'oauth'|
82
+ /**
83
+ * 分享
84
+ * @uniPlatform {
85
+ * "app": {
86
+ * "android": {
87
+ * "osVer": "x",
88
+ * "uniVer": "x",
89
+ * "unixVer": "x"
90
+ * },
91
+ * "ios": {
92
+ * "osVer": "x",
93
+ * "uniVer": "x",
94
+ * "unixVer": "x"
95
+ * },
96
+ * "harmony": {
97
+ * "osVer": "5.0.0",
98
+ * "uniVer": "4.66",
99
+ * "unixVer": "4.66"
100
+ * }
101
+ * },
102
+ * "web": {
103
+ * "uniVer": "x",
104
+ * "unixVer": "x"
105
+ * }
106
+ * }
107
+ */
108
+ 'share',
82
109
  /**
83
110
  * 得到的服务供应商
84
111
  * @type PlusShareShareService['id'][] | PlusPushClientInfo['id'][] | PlusOauthAuthService['id'][] | PlusPaymentPaymentChannel['id'][]
@@ -542,9 +569,9 @@ export interface Uni {
542
569
  * @deprecated 已废弃,4.25及以后版本请使用getProviderSync()方法代替
543
570
  * @param {GetProviderOptions} options
544
571
  * @return {void}
545
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/plugins/provider.html#getprovider
546
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/provider.html
547
572
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/provider.html
573
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/provider.html
574
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/plugins/provider.html#getprovider
548
575
  * @uniPlatform {
549
576
  * "app": {
550
577
  * "android": {
@@ -573,9 +600,9 @@ export interface Uni {
573
600
  /**
574
601
  * getProvider的同步方法
575
602
  * @param {GetProviderSyncOptions} options
576
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/plugins/provider.html#getprovider
577
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/provider.html#getprovidersync
578
603
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/provider.html#getprovidersync
604
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/provider.html#getprovidersync
605
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/plugins/provider.html#getprovider
579
606
  * @uniPlatform {
580
607
  * "app": {
581
608
  * "android": {
@@ -5,9 +5,9 @@ export interface Uni {
5
5
  * 异步获取系统信息
6
6
  * @param {GetSystemInfoOptions} options
7
7
  * @return {void}
8
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/info.html
9
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html
10
8
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html
9
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html
10
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/info.html
11
11
  * @uniPlatform {
12
12
  * "app": {
13
13
  * "android": {
@@ -94,9 +94,9 @@ export interface Uni {
94
94
  * 同步获取系统信息
95
95
  * @param {void}
96
96
  * @return {GetSystemInfoResult}
97
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/info.html#getsysteminfosync
98
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html#getsysteminfosync
99
97
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html#getsysteminfosync
98
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html#getsysteminfosync
99
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/info.html#getsysteminfosync
100
100
  * @uniPlatform {
101
101
  * "app": {
102
102
  * "android": {
@@ -176,9 +176,9 @@ export interface Uni {
176
176
  * 同步获取窗口信息
177
177
  * @param {void}
178
178
  * @return {GetWindowInfoResult} result
179
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/getWindowInfo.html
180
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-window-info.html
181
179
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-window-info.html
180
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-window-info.html
181
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/getWindowInfo.html
182
182
  * @uniPlatform {
183
183
  * "app": {
184
184
  * "android": {
@@ -1625,7 +1625,7 @@ export type GetSystemInfoResult = {
1625
1625
  */
1626
1626
  appVersion: string,
1627
1627
  /**
1628
- * `manifest.json` 中应用版本名号。
1628
+ * `manifest.json` 中应用版本号。
1629
1629
  *
1630
1630
  * @uniPlatform
1631
1631
  * {
@@ -5925,8 +5925,6 @@ export type GetWindowInfoResult = {
5925
5925
  pixelRatio: number,
5926
5926
  /**
5927
5927
  * 屏幕宽度,单位为px
5928
- *
5929
- * @deprecated 已废弃,仅为了向下兼容保留
5930
5928
  *
5931
5929
  * @uniPlatform
5932
5930
  * {
@@ -5998,8 +5996,6 @@ export type GetWindowInfoResult = {
5998
5996
  screenWidth: number,
5999
5997
  /**
6000
5998
  * 屏幕高度,单位为px
6001
- *
6002
- * @deprecated 已废弃,仅为了向下兼容保留
6003
5999
  *
6004
6000
  * @uniPlatform
6005
6001
  * {
@@ -6071,8 +6067,6 @@ export type GetWindowInfoResult = {
6071
6067
  screenHeight: number,
6072
6068
  /**
6073
6069
  * 可使用窗口宽度,单位为px
6074
- *
6075
- * @deprecated 已废弃,仅为了向下兼容保留
6076
6070
  *
6077
6071
  * @uniPlatform
6078
6072
  * {
@@ -6144,8 +6138,6 @@ export type GetWindowInfoResult = {
6144
6138
  windowWidth: number,
6145
6139
  /**
6146
6140
  * 可使用窗口高度,单位为px
6147
- *
6148
- * @deprecated 已废弃,仅为了向下兼容保留
6149
6141
  *
6150
6142
  * @uniPlatform
6151
6143
  * {
@@ -6527,7 +6519,6 @@ export type GetWindowInfoResult = {
6527
6519
  /**
6528
6520
  * 窗口上边缘的 y 值,单位为px
6529
6521
  *
6530
- * @deprecated 已废弃,仅为了向下兼容保留
6531
6522
  * @uniPlatform
6532
6523
  * {
6533
6524
  * "app": {
@@ -423,9 +423,9 @@ export interface Uni {
423
423
  * @description
424
424
  * 获取系统设置
425
425
  * @return {object}
426
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/getsystemsetting.html
427
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-system-setting.html
428
426
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-system-setting.html
427
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/get-system-setting.html
428
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/system/getsystemsetting.html
429
429
  * @uniPlatform {
430
430
  * "app": {
431
431
  * "android": {
@@ -1,8 +1,8 @@
1
1
  export interface Uni {
2
2
  /**
3
3
  * 安装apk
4
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/install-apk.html
5
4
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/install-apk.html
5
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/install-apk.html
6
6
  * @uniPlatform {
7
7
  * "app": {
8
8
  * "android": {
@@ -19,9 +19,9 @@ export interface Uni {
19
19
  * 添加拦截器
20
20
  * @param name 需要拦截的 API 名称
21
21
  * @param interceptor 拦截器
22
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/interceptor.html
23
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/interceptor.html
24
22
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/interceptor.html
23
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/interceptor.html
24
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/interceptor.html
25
25
  * @uniPlatform {
26
26
  * "app": {
27
27
  * "android": {
@@ -93,9 +93,9 @@ export interface Uni {
93
93
  * 删除拦截器
94
94
  * @param name 需要删除拦截器的 API 名称
95
95
  * @param interceptor 拦截器
96
- * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/interceptor.html#removeinterceptor
97
- * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/interceptor.html#removeinterceptor
98
96
  * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/interceptor.html#removeinterceptor
97
+ * @tutorial_uni_app_x https://doc.dcloud.net.cn/uni-app-x/api/interceptor.html#removeinterceptor
98
+ * @tutorial_uni_app https://uniapp.dcloud.net.cn/api/interceptor.html#removeinterceptor
99
99
  * @uniPlatform {
100
100
  * "app": {
101
101
  * "android": {