@dcloudio/uni-app-x 0.7.46 → 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 (86) 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/IUniNativeViewElement.d.ts +4 -0
  5. package/types/native/UniAnimation.d.ts +22 -22
  6. package/types/native/UniElement.d.ts +6 -2
  7. package/types/native/UniFormControlElement.d.ts +1 -0
  8. package/types/{UniPage.d.ts → native/UniPage.d.ts} +9 -8
  9. package/types/page.d.ts +91 -94
  10. package/types/uni/uts-plugin-api/global.d.ts +2 -0
  11. package/types/uni/uts-plugin-api/index.d.ts +2 -0
  12. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +74 -427
  13. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +1 -1
  14. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +1 -1
  15. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +3 -3
  16. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +1 -1
  17. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +18 -18
  18. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +8 -8
  19. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +2 -2
  20. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +1 -1
  21. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +1 -1
  22. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +1 -1
  23. package/types/uni/uts-plugin-api/lib/uni-document/utssdk/interface.d.ts +1 -1
  24. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +8 -8
  25. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +2 -2
  26. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +5 -5
  27. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts +2 -0
  28. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/index.d.ts +1 -0
  29. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +46 -2
  30. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +1 -1
  31. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +14 -14
  32. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1 -1
  33. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +162 -20
  34. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +3 -2
  35. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +2 -2
  36. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +2 -2
  37. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +1668 -1666
  38. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent-uni1/utssdk/interface.d.ts +14 -14
  39. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +3 -3
  40. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +11 -11
  41. package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +12 -12
  42. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +234 -92
  43. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +7 -7
  44. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +2 -2
  45. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +1 -1
  46. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +1 -1
  47. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +17 -17
  48. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +18 -0
  49. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +8 -0
  50. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +190 -0
  51. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +7 -7
  52. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +40 -40
  53. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +6 -6
  54. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +59 -59
  55. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +1 -1
  56. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +2 -2
  57. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +18 -18
  58. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +4 -4
  59. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +49 -49
  60. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +2 -2
  61. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/global.d.ts +20 -0
  62. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/index.d.ts +9 -0
  63. package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +615 -0
  64. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +30 -30
  65. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +1 -1
  66. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +1 -1
  67. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +8 -8
  68. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +10 -10
  69. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +9 -9
  70. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +21 -21
  71. package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/global.d.ts +34 -0
  72. package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/index.d.ts +16 -0
  73. package/types/uni/uts-plugin-biz/lib/uni-camera/utssdk/interface.d.ts +221 -0
  74. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +2 -2
  75. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +16 -16
  76. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +40 -40
  77. package/types/uni/uts-plugin-component/global.d.ts +1 -0
  78. package/types/uni/uts-plugin-component/index.d.ts +1 -0
  79. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +34 -0
  80. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +16 -0
  81. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +221 -0
  82. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +2 -0
  83. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +1 -0
  84. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +38 -11
  85. package/uts-plugin.d.ts +4 -0
  86. package/types/native/global.d.ts +0 -646
@@ -112,7 +112,7 @@ export type GetDeviceInfoResult = {
112
112
  * "harmony": {
113
113
  * "osVer": "3.0",
114
114
  * "uniVer": "4.23",
115
- * "unixVer": "x"
115
+ * "unixVer": "4.61"
116
116
  * }
117
117
  * },
118
118
  * "mp": {
@@ -183,7 +183,7 @@ export type GetDeviceInfoResult = {
183
183
  * "harmony": {
184
184
  * "osVer": "3.0",
185
185
  * "uniVer": "4.23",
186
- * "unixVer": "x"
186
+ * "unixVer": "4.61"
187
187
  * }
188
188
  * },
189
189
  * "mp": {
@@ -326,7 +326,7 @@ export type GetDeviceInfoResult = {
326
326
  * "harmony": {
327
327
  * "osVer": "3.0",
328
328
  * "uniVer": "4.23",
329
- * "unixVer": "x"
329
+ * "unixVer": "4.61"
330
330
  * }
331
331
  * },
332
332
  * "mp": {
@@ -397,7 +397,7 @@ export type GetDeviceInfoResult = {
397
397
  * "harmony": {
398
398
  * "osVer": "3.0",
399
399
  * "uniVer": "4.23",
400
- * "unixVer": "x"
400
+ * "unixVer": "4.61"
401
401
  * }
402
402
  * },
403
403
  * "mp": {
@@ -468,7 +468,7 @@ export type GetDeviceInfoResult = {
468
468
  * "harmony": {
469
469
  * "osVer": "3.0",
470
470
  * "uniVer": "4.23",
471
- * "unixVer": "x"
471
+ * "unixVer": "4.61"
472
472
  * }
473
473
  * },
474
474
  * "mp": {
@@ -539,7 +539,7 @@ export type GetDeviceInfoResult = {
539
539
  * "harmony": {
540
540
  * "osVer": "3.0",
541
541
  * "uniVer": "4.23",
542
- * "unixVer": "x"
542
+ * "unixVer": "4.61"
543
543
  * }
544
544
  * },
545
545
  * "mp": {
@@ -610,7 +610,7 @@ export type GetDeviceInfoResult = {
610
610
  * "harmony": {
611
611
  * "osVer": "3.0",
612
612
  * "uniVer": "4.23",
613
- * "unixVer": "x"
613
+ * "unixVer": "4.61"
614
614
  * }
615
615
  * },
616
616
  * "mp": {
@@ -681,7 +681,7 @@ export type GetDeviceInfoResult = {
681
681
  * "harmony": {
682
682
  * "osVer": "3.0",
683
683
  * "uniVer": "4.23",
684
- * "unixVer": "x"
684
+ * "unixVer": "4.61"
685
685
  * }
686
686
  * },
687
687
  * "mp": {
@@ -806,7 +806,7 @@ export type GetDeviceInfoResult = {
806
806
  isRoot?: boolean,
807
807
  /**
808
808
  * 是否是模拟器
809
- *
809
+ *
810
810
  * @deprecated 已废弃,由于合规问题在4.51版本后不会采集传感器信息,会影响准确度,建议使用`isSimulator()`代替。
811
811
  * @uniPlatform
812
812
  * {
@@ -966,7 +966,7 @@ export type GetDeviceInfoResult = {
966
966
  * "harmony": {
967
967
  * "osVer": "3.0",
968
968
  * "uniVer": "4.23",
969
- * "unixVer": "x"
969
+ * "unixVer": "4.61"
970
970
  * }
971
971
  * },
972
972
  * "mp": {
@@ -1037,7 +1037,7 @@ export type GetDeviceInfoResult = {
1037
1037
  * "harmony": {
1038
1038
  * "osVer": "3.0",
1039
1039
  * "uniVer": "4.23",
1040
- * "unixVer": "x"
1040
+ * "unixVer": "4.61"
1041
1041
  * }
1042
1042
  * },
1043
1043
  * "mp": {
@@ -1108,7 +1108,7 @@ export type GetDeviceInfoResult = {
1108
1108
  * "harmony": {
1109
1109
  * "osVer": "3.0",
1110
1110
  * "uniVer": "4.23",
1111
- * "unixVer": "x"
1111
+ * "unixVer": "4.61"
1112
1112
  * }
1113
1113
  * },
1114
1114
  * "mp": {
@@ -1179,7 +1179,7 @@ export type GetDeviceInfoResult = {
1179
1179
  * "harmony": {
1180
1180
  * "osVer": "3.0",
1181
1181
  * "uniVer": "4.23",
1182
- * "unixVer": "x"
1182
+ * "unixVer": "4.61"
1183
1183
  * }
1184
1184
  * },
1185
1185
  * "mp": {
@@ -1302,6 +1302,148 @@ export type GetDeviceInfoResult = {
1302
1302
  * }
1303
1303
  */
1304
1304
  osAndroidAPILevel?: number | null,
1305
+ /**
1306
+ * 鸿蒙系统软件API版本
1307
+ *
1308
+ * @uniPlatform
1309
+ * {
1310
+ * "app": {
1311
+ * "android": {
1312
+ * "osVer": "5.0",
1313
+ * "uniVer": "√",
1314
+ * "unixVer": "√"
1315
+ * },
1316
+ * "ios": {
1317
+ * "osVer": "x",
1318
+ * "uniVer": "x",
1319
+ * "unixVer": "x"
1320
+ * },
1321
+ * "harmony": {
1322
+ * "osVer": "√",
1323
+ * "uniVer": "4.61",
1324
+ * "unixVer": "4.61"
1325
+ * }
1326
+ * },
1327
+ * "mp": {
1328
+ * "weixin": {
1329
+ * "hostVer": "√",
1330
+ * "uniVer": "x",
1331
+ * "unixVer": "x"
1332
+ * },
1333
+ * "alipay": {
1334
+ * "hostVer": "√",
1335
+ * "uniVer": "x",
1336
+ * "unixVer": "x"
1337
+ * },
1338
+ * "baidu": {
1339
+ * "hostVer": "√",
1340
+ * "uniVer": "x",
1341
+ * "unixVer": "x"
1342
+ * },
1343
+ * "toutiao": {
1344
+ * "hostVer": "√",
1345
+ * "uniVer": "x",
1346
+ * "unixVer": "x"
1347
+ * },
1348
+ * "lark": {
1349
+ * "hostVer": "√",
1350
+ * "uniVer": "x",
1351
+ * "unixVer": "x"
1352
+ * },
1353
+ * "qq": {
1354
+ * "hostVer": "√",
1355
+ * "uniVer": "x",
1356
+ * "unixVer": "x"
1357
+ * },
1358
+ * "kuaishou": {
1359
+ * "hostVer": "√",
1360
+ * "uniVer": "x",
1361
+ * "unixVer": "x"
1362
+ * },
1363
+ * "jd": {
1364
+ * "hostVer": "√",
1365
+ * "uniVer": "x",
1366
+ * "unixVer": "x"
1367
+ * }
1368
+ * },
1369
+ * "web": {
1370
+ * "uniVer": "x",
1371
+ * "unixVer": "x"
1372
+ * }
1373
+ * }
1374
+ */
1375
+ osHarmonySDKAPIVersion?: number | null,
1376
+ /**
1377
+ * 产品版本,关于本机信息内的软件版本
1378
+ *
1379
+ * @uniPlatform
1380
+ * {
1381
+ * "app": {
1382
+ * "android": {
1383
+ * "osVer": "5.0",
1384
+ * "uniVer": "√",
1385
+ * "unixVer": "√"
1386
+ * },
1387
+ * "ios": {
1388
+ * "osVer": "x",
1389
+ * "uniVer": "x",
1390
+ * "unixVer": "x"
1391
+ * },
1392
+ * "harmony": {
1393
+ * "osVer": "√",
1394
+ * "uniVer": "4.61",
1395
+ * "unixVer": "4.61"
1396
+ * }
1397
+ * },
1398
+ * "mp": {
1399
+ * "weixin": {
1400
+ * "hostVer": "√",
1401
+ * "uniVer": "x",
1402
+ * "unixVer": "x"
1403
+ * },
1404
+ * "alipay": {
1405
+ * "hostVer": "√",
1406
+ * "uniVer": "x",
1407
+ * "unixVer": "x"
1408
+ * },
1409
+ * "baidu": {
1410
+ * "hostVer": "√",
1411
+ * "uniVer": "x",
1412
+ * "unixVer": "x"
1413
+ * },
1414
+ * "toutiao": {
1415
+ * "hostVer": "√",
1416
+ * "uniVer": "x",
1417
+ * "unixVer": "x"
1418
+ * },
1419
+ * "lark": {
1420
+ * "hostVer": "√",
1421
+ * "uniVer": "x",
1422
+ * "unixVer": "x"
1423
+ * },
1424
+ * "qq": {
1425
+ * "hostVer": "√",
1426
+ * "uniVer": "x",
1427
+ * "unixVer": "x"
1428
+ * },
1429
+ * "kuaishou": {
1430
+ * "hostVer": "√",
1431
+ * "uniVer": "x",
1432
+ * "unixVer": "x"
1433
+ * },
1434
+ * "jd": {
1435
+ * "hostVer": "√",
1436
+ * "uniVer": "x",
1437
+ * "unixVer": "x"
1438
+ * }
1439
+ * },
1440
+ * "web": {
1441
+ * "uniVer": "x",
1442
+ * "unixVer": "x"
1443
+ * }
1444
+ * }
1445
+ */
1446
+ osHarmonyDisplayVersion?: string | null,
1305
1447
  /**
1306
1448
  * rom 名称。Android 部分机型获取不到值。iOS 恒为 `ios`
1307
1449
  *
@@ -1321,7 +1463,7 @@ export type GetDeviceInfoResult = {
1321
1463
  * "harmony": {
1322
1464
  * "osVer": "3.0",
1323
1465
  * "uniVer": "4.23",
1324
- * "unixVer": "x"
1466
+ * "unixVer": "4.61"
1325
1467
  * }
1326
1468
  * },
1327
1469
  * "mp": {
@@ -1392,7 +1534,7 @@ export type GetDeviceInfoResult = {
1392
1534
  * "harmony": {
1393
1535
  * "osVer": "3.0",
1394
1536
  * "uniVer": "4.23",
1395
- * "unixVer": "x"
1537
+ * "unixVer": "4.61"
1396
1538
  * }
1397
1539
  * },
1398
1540
  * "mp": {
@@ -1729,7 +1871,7 @@ export interface Uni {
1729
1871
  * "harmony": {
1730
1872
  * "osVer": "3.0",
1731
1873
  * "uniVer": "4.23",
1732
- * "unixVer": "x"
1874
+ * "unixVer": "4.61"
1733
1875
  * }
1734
1876
  * },
1735
1877
  * "mp": {
@@ -1788,10 +1930,10 @@ export interface Uni {
1788
1930
  * @tutorial_weixin https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.getDeviceInfo.html
1789
1931
  */
1790
1932
  getDeviceInfo(options?: GetDeviceInfoOptions | null): GetDeviceInfoResult;
1791
-
1933
+
1792
1934
  /**
1793
1935
  * 判断当前是否是模拟器,Android设备上会采集传感器信息。
1794
- *
1936
+ *
1795
1937
  * @uniPlatform
1796
1938
  * {
1797
1939
  * "app": {
@@ -1803,7 +1945,7 @@ export interface Uni {
1803
1945
  * "ios": {
1804
1946
  * "osVer": "x",
1805
1947
  * "uniVer": "x",
1806
- * "unixVer": "x"
1948
+ * "unixVer": "4.51"
1807
1949
  * },
1808
1950
  * "harmony": {
1809
1951
  * "osVer": "x",
@@ -1860,5 +2002,5 @@ export interface Uni {
1860
2002
  * }
1861
2003
  */
1862
2004
  isSimulator(): boolean;
1863
-
2005
+
1864
2006
  }
@@ -23,9 +23,10 @@ export interface Uni {
23
23
  * "unixUtsPlugin": "4.25"
24
24
  * },
25
25
  * "harmony": {
26
- * "osVer": "x",
26
+ * "osVer": "5.0.0",
27
27
  * "uniVer": "x",
28
- * "unixVer": "x"
28
+ * "unixVer": "4.61",
29
+ * "unixUtsPlugin": "4.61"
29
30
  * }
30
31
  * },
31
32
  * "mp": {
@@ -19,7 +19,7 @@ export type OnShowOptions = {
19
19
  * "harmony": {
20
20
  * "osVer": "3,0",
21
21
  * "uniVer": "4.31",
22
- * "unixVer": "x"
22
+ * "unixVer": "4.61"
23
23
  * }
24
24
  * },
25
25
  * "mp": {
@@ -597,7 +597,7 @@ export interface Uni {
597
597
  * "harmony": {
598
598
  * "osVer": "3,0",
599
599
  * "uniVer": "4.31",
600
- * "unixVer": "x"
600
+ * "unixVer": "4.61"
601
601
  * }
602
602
  * },
603
603
  * "mp": {
@@ -20,7 +20,7 @@ export type OnLaunchOptions = {
20
20
  * "harmony": {
21
21
  * "osVer": "3,0",
22
22
  * "uniVer": "4.31",
23
- * "unixVer": "x"
23
+ * "unixVer": "4.61"
24
24
  * }
25
25
  * },
26
26
  * "mp": {
@@ -601,7 +601,7 @@ export interface Uni {
601
601
  * "harmony": {
602
602
  * "osVer": "3,0",
603
603
  * "uniVer": "4.31",
604
- * "unixVer": "x"
604
+ * "unixVer": "4.61"
605
605
  * }
606
606
  * },
607
607
  * "mp": {