@dcloudio/uni-app-x 0.7.57 → 0.7.59

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 (138) hide show
  1. package/package.json +6 -2
  2. package/types/index.d.ts +1 -0
  3. package/types/native/CSSStyleDeclaration.d.ts +31 -6
  4. package/types/native/DOMRect.d.ts +60 -10
  5. package/types/native/IUniElement.d.ts +460 -2
  6. package/types/native/UniElement.d.ts +3 -2
  7. package/types/native/UniPage.d.ts +2 -2
  8. package/types/native/UniWebViewContentHeightChangeEvent.d.ts +31 -0
  9. package/types/native/UniWebViewElement.d.ts +3 -1
  10. package/types/native/global.d.ts +8 -0
  11. package/types/native/index.d.ts +1 -0
  12. package/types/uni/env/index.d.ts +5 -5
  13. package/types/uni/uts-plugin-api/.temp/uni-actionSheet/utssdk/interface.uts +554 -0
  14. package/types/uni/uts-plugin-api/.temp/uni-addPhoneContact/utssdk/interface.uts +224 -0
  15. package/types/uni/uts-plugin-api/.temp/uni-arrayBufferToBase64/utssdk/interface.uts +77 -0
  16. package/types/uni/uts-plugin-api/.temp/uni-authentication/utssdk/interface.uts +365 -0
  17. package/types/uni/uts-plugin-api/.temp/uni-base64ToArrayBuffer/utssdk/interface.uts +77 -0
  18. package/types/uni/uts-plugin-api/.temp/uni-canvas/utssdk/interface.uts +972 -0
  19. package/types/uni/uts-plugin-api/.temp/uni-chooseLocation/utssdk/interface.uts +410 -0
  20. package/types/uni/uts-plugin-api/.temp/uni-chooseMedia/utssdk/interface.uts +459 -0
  21. package/types/uni/uts-plugin-api/.temp/uni-clipboard/utssdk/interface.uts +203 -0
  22. package/types/uni/uts-plugin-api/.temp/uni-createInnerAudioContext/utssdk/interface.uts +2613 -0
  23. package/types/uni/uts-plugin-api/.temp/uni-createIntersectionObserver/utssdk/interface.uts +152 -0
  24. package/types/uni/uts-plugin-api/.temp/uni-createRequestPermissionListener/utssdk/interface.uts +61 -0
  25. package/types/uni/uts-plugin-api/.temp/uni-createSelectorQuery/utssdk/interface.uts +548 -0
  26. package/types/uni/uts-plugin-api/.temp/uni-createWebviewContext/utssdk/interface.uts +137 -0
  27. package/types/uni/uts-plugin-api/.temp/uni-dialogPage/utssdk/interface.uts +1380 -0
  28. package/types/uni/uts-plugin-api/.temp/uni-document/utssdk/interface.uts +76 -0
  29. package/types/uni/uts-plugin-api/.temp/uni-event/utssdk/interface.uts +338 -0
  30. package/types/uni/uts-plugin-api/.temp/uni-exit/utssdk/interface.uts +102 -0
  31. package/types/uni/uts-plugin-api/.temp/uni-file/utssdk/interface.uts +384 -0
  32. package/types/uni/uts-plugin-api/.temp/uni-fileSystemManager/utssdk/interface.uts +5316 -0
  33. package/types/uni/uts-plugin-api/.temp/uni-getAccessibilityInfo/utssdk/interface.uts +35 -0
  34. package/types/uni/uts-plugin-api/.temp/uni-getAppAuthorizeSetting/utssdk/interface.uts +616 -0
  35. package/types/uni/uts-plugin-api/.temp/uni-getAppBaseInfo/utssdk/interface.uts +2157 -0
  36. package/types/uni/uts-plugin-api/.temp/uni-getBackgroundAudioManager/utssdk/interface.uts +895 -0
  37. package/types/uni/uts-plugin-api/.temp/uni-getDeviceInfo/utssdk/interface.uts +1755 -0
  38. package/types/uni/uts-plugin-api/.temp/uni-getElementById/utssdk/interface.uts +82 -0
  39. package/types/uni/uts-plugin-api/.temp/uni-getEnterOptionsSync/utssdk/interface.uts +295 -0
  40. package/types/uni/uts-plugin-api/.temp/uni-getLaunchOptionsSync/utssdk/interface.uts +299 -0
  41. package/types/uni/uts-plugin-api/.temp/uni-getLocation/utssdk/interface.uts +1764 -0
  42. package/types/uni/uts-plugin-api/.temp/uni-getLocation-system/utssdk/interface.uts +1 -0
  43. package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent/utssdk/interface.uts +1 -0
  44. package/types/uni/uts-plugin-api/.temp/uni-getLocation-tencent-uni1/utssdk/interface.uts +736 -0
  45. package/types/uni/uts-plugin-api/.temp/uni-getNetworkType/utssdk/interface.uts +274 -0
  46. package/types/uni/uts-plugin-api/.temp/uni-getPerformance/utssdk/interface.uts +198 -0
  47. package/types/uni/uts-plugin-api/.temp/uni-getProvider/utssdk/interface.uts +634 -0
  48. package/types/uni/uts-plugin-api/.temp/uni-getRecorderManager/utssdk/interface.uts +980 -0
  49. package/types/uni/uts-plugin-api/.temp/uni-getSystemInfo/utssdk/interface.uts +5550 -0
  50. package/types/uni/uts-plugin-api/.temp/uni-getSystemSetting/utssdk/interface.uts +501 -0
  51. package/types/uni/uts-plugin-api/.temp/uni-installApk/utssdk/interface.uts +83 -0
  52. package/types/uni/uts-plugin-api/.temp/uni-interceptor/utssdk/interface.uts +169 -0
  53. package/types/uni/uts-plugin-api/.temp/uni-keyboard/utssdk/interface.uts +102 -0
  54. package/types/uni/uts-plugin-api/.temp/uni-loadFontFace/utssdk/interface.uts +580 -0
  55. package/types/uni/uts-plugin-api/.temp/uni-makePhoneCall/utssdk/interface.uts +100 -0
  56. package/types/uni/uts-plugin-api/.temp/uni-media/utssdk/interface.uts +2980 -0
  57. package/types/uni/uts-plugin-api/.temp/uni-modal/utssdk/interface.uts +190 -0
  58. package/types/uni/uts-plugin-api/.temp/uni-navigationBar/utssdk/interface.uts +1002 -0
  59. package/types/uni/uts-plugin-api/.temp/uni-network/utssdk/interface.uts +3620 -0
  60. package/types/uni/uts-plugin-api/.temp/uni-oauth/utssdk/interface.uts +1592 -0
  61. package/types/uni/uts-plugin-api/.temp/uni-oauth-huawei/utssdk/interface.uts +1 -0
  62. package/types/uni/uts-plugin-api/.temp/uni-openAppAuthorizeSetting/utssdk/interface.uts +254 -0
  63. package/types/uni/uts-plugin-api/.temp/uni-openDocument/utssdk/interface.uts +112 -0
  64. package/types/uni/uts-plugin-api/.temp/uni-pageScrollTo/utssdk/interface.uts +153 -0
  65. package/types/uni/uts-plugin-api/.temp/uni-payment/utssdk/interface.uts +833 -0
  66. package/types/uni/uts-plugin-api/.temp/uni-payment-alipay/utssdk/interface.uts +1 -0
  67. package/types/uni/uts-plugin-api/.temp/uni-payment-huawei/utssdk/interface.uts +1 -0
  68. package/types/uni/uts-plugin-api/.temp/uni-payment-wxpay/utssdk/interface.uts +3 -0
  69. package/types/uni/uts-plugin-api/.temp/uni-previewImage/utssdk/interface.uts +518 -0
  70. package/types/uni/uts-plugin-api/.temp/uni-privacy/utssdk/interface.uts +560 -0
  71. package/types/uni/uts-plugin-api/.temp/uni-prompt/utssdk/interface.uts +2607 -0
  72. package/types/uni/uts-plugin-api/.temp/uni-pullDownRefresh/utssdk/interface.uts +189 -0
  73. package/types/uni/uts-plugin-api/.temp/uni-requestMerchantTransfer/utssdk/interface.uts +710 -0
  74. package/types/uni/uts-plugin-api/.temp/uni-route/utssdk/interface.uts +2695 -0
  75. package/types/uni/uts-plugin-api/.temp/uni-rpx2px/utssdk/interface.uts +80 -0
  76. package/types/uni/uts-plugin-api/.temp/uni-scanCode/utssdk/interface.uts +130 -0
  77. package/types/uni/uts-plugin-api/.temp/uni-shareWithSystem/utssdk/interface.uts +719 -0
  78. package/types/uni/uts-plugin-api/.temp/uni-sse/utssdk/interface.uts +277 -0
  79. package/types/uni/uts-plugin-api/.temp/uni-storage/utssdk/interface.uts +1020 -0
  80. package/types/uni/uts-plugin-api/.temp/uni-tabBar/utssdk/interface.uts +1148 -0
  81. package/types/uni/uts-plugin-api/.temp/uni-theme/utssdk/interface.uts +1059 -0
  82. package/types/uni/uts-plugin-api/.temp/uni-virtualPayment/utssdk/interface.uts +1660 -0
  83. package/types/uni/uts-plugin-api/.temp/uni-websocket/utssdk/interface.uts +1941 -0
  84. package/types/uni/uts-plugin-api/global.d.ts +3 -0
  85. package/types/uni/uts-plugin-api/index.d.ts +3 -0
  86. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/global.d.ts +8 -0
  87. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/index.d.ts +4 -0
  88. package/types/uni/uts-plugin-api/lib/uni-barcode-scanning/utssdk/interface.d.ts +0 -0
  89. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/global.d.ts +4 -0
  90. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/index.d.ts +2 -0
  91. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +16 -6
  92. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +1 -1
  93. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +2 -0
  94. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +1 -0
  95. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +45 -0
  96. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +3 -0
  97. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +238 -233
  98. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +1 -1
  99. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +28 -1
  100. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +0 -9
  101. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +67 -239
  102. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +24 -4
  103. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/global.d.ts +4 -0
  104. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/index.d.ts +2 -0
  105. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +293 -179
  106. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +118 -78
  107. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/global.d.ts +8 -0
  108. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/index.d.ts +4 -0
  109. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +3932 -3514
  110. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/global.d.ts +4 -0
  111. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/index.d.ts +2 -0
  112. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +778 -290
  113. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/global.d.ts +4 -0
  114. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/index.d.ts +2 -0
  115. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +2254 -1281
  116. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +1 -1
  117. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +36 -0
  118. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +17 -0
  119. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +180 -0
  120. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/global.d.ts +8 -0
  121. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/index.d.ts +4 -0
  122. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +1 -0
  123. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +2 -2
  124. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +126 -67
  125. package/types/uni/uts-plugin-biz/.temp/uni-ad/utssdk/interface.uts +726 -0
  126. package/types/uni/uts-plugin-biz/.temp/uni-crash/utssdk/interface.uts +89 -0
  127. package/types/uni/uts-plugin-biz/.temp/uni-facialRecognitionVerify/utssdk/interface.uts +212 -0
  128. package/types/uni/uts-plugin-biz/.temp/uni-map-tencent/utssdk/interface.uts +2359 -0
  129. package/types/uni/uts-plugin-biz/.temp/uni-push/utssdk/interface.uts +960 -0
  130. package/types/uni/uts-plugin-biz/.temp/uni-secure-network/utssdk/interface.uts +204 -0
  131. package/types/uni/uts-plugin-biz/.temp/uni-verify/utssdk/interface.uts +730 -0
  132. package/types/uni/uts-plugin-component/.temp/uni-camera/utssdk/interface.uts +221 -0
  133. package/types/uni/uts-plugin-component/.temp/uni-video/utssdk/interface.uts +935 -0
  134. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +16 -0
  135. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +8 -0
  136. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +203 -1
  137. package/types/uni-cloud/interface.d.ts +229 -0
  138. package/types/vite.d.ts +269 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-app-x",
3
- "version": "0.7.57",
3
+ "version": "0.7.59",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "main": "index.d.ts",
@@ -16,7 +16,11 @@
16
16
  "build:types:plugin": "npm run build:types:plugin:api && npm run build:types:plugin:component && npm run build:types:plugin:biz",
17
17
  "build:types:meta": "node ./scripts/build-meta.js",
18
18
  "build:types:native": "node ./scripts/build-native.js",
19
- "build:types": "npm run build:types:native && npm run build:types:plugin && npm run build:wx:api"
19
+ "build:types": "npm run build:types:native && npm run build:types:plugin && npm run build:wx:api",
20
+ "publish:patch": "npm version patch && npm publish",
21
+ "publish:minor": "npm version minor && npm publish",
22
+ "publish:major": "npm version major && npm publish",
23
+ "postpublish": "npx cnpm sync @dcloudio/uni-app-x"
20
24
  },
21
25
  "devDependencies": {
22
26
  "delete": "^1.1.0",
package/types/index.d.ts CHANGED
@@ -5,3 +5,4 @@
5
5
  /// <reference path='./app.d.ts' />
6
6
  /// <reference path='./page.d.ts' />
7
7
  /// <reference path='./process.d.ts' />
8
+ /// <reference path='./vite.d.ts' />
@@ -12,8 +12,13 @@
12
12
  * "osVer": "12.0",
13
13
  * "uniVer": "x",
14
14
  * "unixVer": "4.11"
15
- * }
16
- * }
15
+ * },
16
+ * "harmony": {
17
+ * "osVer": "5.0.0",
18
+ * "uniVer": "x",
19
+ * "unixVer": "4.61"
20
+ * }
21
+ * },
17
22
  * "web": {
18
23
  * "uniVer": "x",
19
24
  * "unixVer": "4.0"
@@ -37,7 +42,12 @@ export class CSSStyleDeclaration {
37
42
  * "osVer": "12.0",
38
43
  * "uniVer": "x",
39
44
  * "unixVer": "4.51"
40
- * }
45
+ * },
46
+ * "harmony": {
47
+ * "osVer": "5.0.0",
48
+ * "uniVer": "x",
49
+ * "unixVer": "4.61"
50
+ * }
41
51
  * },
42
52
  * "mp": {
43
53
  * "weixin": {
@@ -70,7 +80,12 @@ export class CSSStyleDeclaration {
70
80
  * "osVer": "12.0",
71
81
  * "uniVer": "x",
72
82
  * "unixVer": "4.11"
73
- * }
83
+ * },
84
+ * "harmony": {
85
+ * "osVer": "5.0.0",
86
+ * "uniVer": "x",
87
+ * "unixVer": "4.61"
88
+ * }
74
89
  * },
75
90
  * "mp": {
76
91
  * "weixin": {
@@ -101,7 +116,12 @@ export class CSSStyleDeclaration {
101
116
  * "osVer": "12.0",
102
117
  * "uniVer": "x",
103
118
  * "unixVer": "4.51"
104
- * }
119
+ * },
120
+ * "harmony": {
121
+ * "osVer": "5.0.0",
122
+ * "uniVer": "x",
123
+ * "unixVer": "4.61"
124
+ * }
105
125
  * },
106
126
  * "mp": {
107
127
  * "weixin": {
@@ -132,7 +152,12 @@ export class CSSStyleDeclaration {
132
152
  * "osVer": "12.0",
133
153
  * "uniVer": "x",
134
154
  * "unixVer": "4.51"
135
- * }
155
+ * },
156
+ * "harmony": {
157
+ * "osVer": "5.0.0",
158
+ * "uniVer": "x",
159
+ * "unixVer": "4.61"
160
+ * }
136
161
  * }
137
162
  * "web": {
138
163
  * "uniVer": "x",
@@ -12,7 +12,12 @@
12
12
  * "osVer": "12.0",
13
13
  * "uniVer": "x",
14
14
  * "unixVer": "4.11"
15
- * }
15
+ * },
16
+ * "harmony": {
17
+ * "osVer": "5.0.0",
18
+ * "uniVer": "x",
19
+ * "unixVer": "4.61"
20
+ * }
16
21
  * },
17
22
  * "mp": {
18
23
  * "weixin": {
@@ -81,7 +86,12 @@ export class DOMRect {
81
86
  * "osVer": "12.0",
82
87
  * "uniVer": "x",
83
88
  * "unixVer": "4.11"
84
- * }
89
+ * },
90
+ * "harmony": {
91
+ * "osVer": "5.0.0",
92
+ * "uniVer": "x",
93
+ * "unixVer": "4.61"
94
+ * }
85
95
  * },
86
96
  * "mp": {
87
97
  * "weixin": {
@@ -146,7 +156,12 @@ export class DOMRect {
146
156
  * "osVer": "12.0",
147
157
  * "uniVer": "x",
148
158
  * "unixVer": "4.11"
149
- * }
159
+ * },
160
+ * "harmony": {
161
+ * "osVer": "5.0.0",
162
+ * "uniVer": "x",
163
+ * "unixVer": "4.61"
164
+ * }
150
165
  * },
151
166
  * "mp": {
152
167
  * "weixin": {
@@ -211,7 +226,12 @@ export class DOMRect {
211
226
  * "osVer": "12.0",
212
227
  * "uniVer": "x",
213
228
  * "unixVer": "4.11"
214
- * }
229
+ * },
230
+ * "harmony": {
231
+ * "osVer": "5.0.0",
232
+ * "uniVer": "x",
233
+ * "unixVer": "4.61"
234
+ * }
215
235
  * },
216
236
  * "mp": {
217
237
  * "weixin": {
@@ -276,7 +296,12 @@ export class DOMRect {
276
296
  * "osVer": "12.0",
277
297
  * "uniVer": "x",
278
298
  * "unixVer": "4.11"
279
- * }
299
+ * },
300
+ * "harmony": {
301
+ * "osVer": "5.0.0",
302
+ * "uniVer": "x",
303
+ * "unixVer": "4.61"
304
+ * }
280
305
  * },
281
306
  * "mp": {
282
307
  * "weixin": {
@@ -341,7 +366,12 @@ export class DOMRect {
341
366
  * "osVer": "12.0",
342
367
  * "uniVer": "x",
343
368
  * "unixVer": "4.11"
344
- * }
369
+ * },
370
+ * "harmony": {
371
+ * "osVer": "5.0.0",
372
+ * "uniVer": "x",
373
+ * "unixVer": "4.61"
374
+ * }
345
375
  * },
346
376
  * "mp": {
347
377
  * "weixin": {
@@ -406,7 +436,12 @@ export class DOMRect {
406
436
  * "osVer": "12.0",
407
437
  * "uniVer": "x",
408
438
  * "unixVer": "4.11"
409
- * }
439
+ * },
440
+ * "harmony": {
441
+ * "osVer": "5.0.0",
442
+ * "uniVer": "x",
443
+ * "unixVer": "4.61"
444
+ * }
410
445
  * },
411
446
  * "mp": {
412
447
  * "weixin": {
@@ -471,7 +506,12 @@ export class DOMRect {
471
506
  * "osVer": "12.0",
472
507
  * "uniVer": "x",
473
508
  * "unixVer": "4.11"
474
- * }
509
+ * },
510
+ * "harmony": {
511
+ * "osVer": "5.0.0",
512
+ * "uniVer": "x",
513
+ * "unixVer": "4.61"
514
+ * }
475
515
  * },
476
516
  * "mp": {
477
517
  * "weixin": {
@@ -536,7 +576,12 @@ export class DOMRect {
536
576
  * "osVer": "12.0",
537
577
  * "uniVer": "x",
538
578
  * "unixVer": "4.11"
539
- * }
579
+ * },
580
+ * "harmony": {
581
+ * "osVer": "5.0.0",
582
+ * "uniVer": "x",
583
+ * "unixVer": "4.61"
584
+ * }
540
585
  * },
541
586
  * "mp": {
542
587
  * "weixin": {
@@ -601,7 +646,12 @@ export class DOMRect {
601
646
  * "osVer": "12.0",
602
647
  * "uniVer": "x",
603
648
  * "unixVer": "4.11"
604
- * }
649
+ * },
650
+ * "harmony": {
651
+ * "osVer": "5.0.0",
652
+ * "uniVer": "x",
653
+ * "unixVer": "4.61"
654
+ * }
605
655
  * },
606
656
  * "mp": {
607
657
  * "weixin": {