@dcloudio/uni-app-x 0.7.60 → 0.7.62

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 (107) hide show
  1. package/package.json +2 -2
  2. package/types/app.d.ts +14 -7
  3. package/types/native/IUniElement.d.ts +1 -1
  4. package/types/native/UniCustomElement.d.ts +2 -2
  5. package/types/native/UniInputChangeEvent.d.ts +31 -0
  6. package/types/native/UniPage.d.ts +15 -2
  7. package/types/native/global.d.ts +12 -0
  8. package/types/native/index.d.ts +1 -0
  9. package/types/uni/uts-plugin-api/global.d.ts +1 -0
  10. package/types/uni/uts-plugin-api/index.d.ts +1 -0
  11. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +77 -433
  12. package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +2 -0
  13. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/global.d.ts +16 -0
  14. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/index.d.ts +8 -0
  15. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +561 -131
  16. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +17 -34
  17. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +4 -8
  18. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +1 -2
  19. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +5 -0
  20. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +8 -4
  21. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +3 -1
  22. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +29 -58
  23. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +36 -72
  24. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +3 -1
  25. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +1 -1
  26. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +9 -7
  27. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +8 -7
  28. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +4 -4
  29. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +84 -0
  30. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +47 -0
  31. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +1 -1
  32. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/global.d.ts +38 -0
  33. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/index.d.ts +19 -0
  34. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +1783 -107
  35. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +13 -18
  36. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +68 -208
  37. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +2 -4
  38. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +105 -107
  39. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/global.d.ts +4 -0
  40. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/index.d.ts +2 -0
  41. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +359 -66
  42. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/global.d.ts +16 -0
  43. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/index.d.ts +8 -0
  44. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +40 -0
  45. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +10 -15
  46. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +86 -94
  47. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +25 -26
  48. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +30 -60
  49. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +32 -64
  50. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +298 -4
  51. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +4 -0
  52. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +2 -0
  53. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +347 -10
  54. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +3 -1
  55. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +3 -1
  56. package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +25 -33
  57. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +0 -2
  58. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +0 -1
  59. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +21 -33
  60. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +1 -0
  61. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +23 -46
  62. package/types/uni/uts-plugin-biz/global.d.ts +11 -0
  63. package/types/uni/uts-plugin-biz/index.d.ts +11 -0
  64. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +60 -3
  65. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +6 -0
  66. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/global.d.ts +52 -0
  67. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/index.d.ts +25 -0
  68. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/interface.d.ts +445 -0
  69. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/global.d.ts +48 -0
  70. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/index.d.ts +23 -0
  71. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/interface.d.ts +138 -0
  72. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +28 -12
  73. package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/global.d.ts +8 -0
  74. package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/index.d.ts +4 -0
  75. package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/interface.d.ts +0 -0
  76. package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/global.d.ts +8 -0
  77. package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/index.d.ts +4 -0
  78. package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/interface.d.ts +0 -0
  79. package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/global.d.ts +8 -0
  80. package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/index.d.ts +4 -0
  81. package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/interface.d.ts +0 -0
  82. package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/global.d.ts +8 -0
  83. package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/index.d.ts +4 -0
  84. package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/interface.d.ts +0 -0
  85. package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/global.d.ts +8 -0
  86. package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/index.d.ts +4 -0
  87. package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/interface.d.ts +0 -0
  88. package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/global.d.ts +8 -0
  89. package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/index.d.ts +4 -0
  90. package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/interface.d.ts +0 -0
  91. package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/global.d.ts +8 -0
  92. package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/index.d.ts +4 -0
  93. package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/interface.d.ts +0 -0
  94. package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/global.d.ts +18 -0
  95. package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/index.d.ts +9 -0
  96. package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/interface.d.ts +45 -0
  97. package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/global.d.ts +8 -0
  98. package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/index.d.ts +4 -0
  99. package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/interface.d.ts +0 -0
  100. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +7 -2
  101. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +37 -44
  102. package/types/uni/uts-plugin-extend/global.d.ts +0 -2
  103. package/types/uni/uts-plugin-extend/index.d.ts +0 -2
  104. package/types/vue/LifeCycle.d.ts +723 -1
  105. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/global.d.ts +0 -14
  106. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/index.d.ts +0 -1
  107. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +0 -1670
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-app-x",
3
- "version": "0.7.60",
3
+ "version": "0.7.62",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "main": "index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "fs-extra": "^11.1.1",
29
29
  "glob": "^10.3.3",
30
30
  "minimist": "^1.2.8",
31
- "miniprogram-api-typings": "^4.0.2",
31
+ "miniprogram-api-typings": "^4.0.7",
32
32
  "ts-morph": "^23.0.0"
33
33
  }
34
34
  }
package/types/app.d.ts CHANGED
@@ -563,6 +563,11 @@ interface UniAppOptions<G extends GlobalData = GlobalData> {
563
563
  * "osVer": "x",
564
564
  * "uniVer": "x",
565
565
  * "unixVer": "x"
566
+ * },
567
+ * "harmony": {
568
+ * "osVer": "5.0.0",
569
+ * "uniVer": "x",
570
+ * "unixVer": "4.72"
566
571
  * }
567
572
  * },
568
573
  * "mp": {
@@ -641,11 +646,11 @@ interface UniAppOptions<G extends GlobalData = GlobalData> {
641
646
  * "uniVer": "x",
642
647
  * "unixVer": "x"
643
648
  * },
644
- * "harmony": {
645
- * "osVer": "5.0.0",
646
- * "uniVer": "x",
647
- * "unixVer": "4.71"
648
- * }
649
+ * "harmony": {
650
+ * "osVer": "5.0.0",
651
+ * "uniVer": "x",
652
+ * "unixVer": "4.71"
653
+ * }
649
654
  * },
650
655
  * "mp": {
651
656
  * "weixin": {
@@ -898,7 +903,8 @@ export interface UniApp {
898
903
  * "ios": {
899
904
  * "osVer": "x",
900
905
  * "uniVer": "x",
901
- * "unixVer": "4.31"
906
+ * "unixVer": "4.31",
907
+ * "unixUtsPlugin": "x"
902
908
  * },
903
909
  * "harmony": {
904
910
  * "osVer": "5.0.0",
@@ -935,7 +941,8 @@ export interface UniApp {
935
941
  * "ios": {
936
942
  * "osVer": "x",
937
943
  * "uniVer": "x",
938
- * "unixVer": "4.31"
944
+ * "unixVer": "4.31",
945
+ * "unixUtsPlugin": "x"
939
946
  * },
940
947
  * "harmony": {
941
948
  * "osVer": "5.0.0",
@@ -1152,7 +1152,7 @@ export interface UniElement {
1152
1152
  getAnyAttribute(key: string): any | null
1153
1153
 
1154
1154
  /**
1155
- * 返回改元素是否包含有指定的属性,属性存在则返回true,否则返回false。
1155
+ * 返回该元素是否包含有指定的属性,属性存在则返回true,否则返回false。
1156
1156
  * @param {string} key 属性名称
1157
1157
  * @uniPlatform {
1158
1158
  * "app": {
@@ -16,8 +16,8 @@ export interface UniCustomElement {
16
16
  */
17
17
  attributeChangedCallback?(
18
18
  name: string,
19
- oldValue: string,
20
- newValue: string
19
+ oldValue: any | null,
20
+ newValue: any | null
21
21
  ): void;
22
22
  }
23
23
 
@@ -0,0 +1,31 @@
1
+ import { UniEvent } from "./UniEvent";
2
+
3
+ export class UniInputChangeEventDetail {
4
+ /**
5
+ * 输入框内容
6
+ */
7
+ value: string
8
+
9
+ /**
10
+ * @internal
11
+ */
12
+ constructor(value: string)
13
+ }
14
+
15
+
16
+ /**
17
+ * @package io.dcloud.uniapp.runtime
18
+ */
19
+ export class UniInputChangeEvent extends UniEvent {
20
+ detail: UniInputChangeEventDetail
21
+ /**
22
+ * @internal
23
+ */
24
+ constructor(type: string, detail: UniInputChangeEventDetail)
25
+ }
26
+
27
+ export type InputChangeEvent = UniInputChangeEvent
28
+ export const InputChangeEvent: typeof UniInputChangeEvent
29
+
30
+ export type InputChangeEventDetail = UniInputChangeEventDetail
31
+ export const InputChangeEventDetail: typeof UniInputChangeEventDetail
@@ -117,7 +117,8 @@ export interface UniPage {
117
117
  * "ios": {
118
118
  * "osVer": "x",
119
119
  * "uniVer": "x",
120
- * "unixVer": "4.31"
120
+ * "unixVer": "4.31",
121
+ * "unixUtsPlugin": "x"
121
122
  * },
122
123
  * "harmony": {
123
124
  * "osVer": "5.0.0",
@@ -154,7 +155,8 @@ export interface UniPage {
154
155
  * "ios": {
155
156
  * "osVer": "x",
156
157
  * "uniVer": "x",
157
- * "unixVer": "4.31"
158
+ * "unixVer": "4.31",
159
+ * "unixUtsPlugin": "x"
158
160
  * },
159
161
  * "harmony": {
160
162
  * "osVer": "5.0.0",
@@ -874,6 +876,17 @@ export interface UniPage {
874
876
  * }
875
877
  */
876
878
  createElement(tagName: string): UniElement
879
+
880
+ /**
881
+ * @internal
882
+ * web android harmony 获取当前页面 dialogPage 创建的 API 弹框集合
883
+ */
884
+ $getSystemDialogPages(): UniPage[]
885
+ /**
886
+ * @internal
887
+ * ios 获取当前页面 dialogPage 创建的 API 弹框集合
888
+ */
889
+ __$$getSystemDialogPages(): UniPage[]
877
890
  }
878
891
 
879
892
  export type ExitFullscreenSuccessCallback = () => void
@@ -131,6 +131,10 @@ import {
131
131
  UniInputConfirmEvent as UniInputConfirmEventOrigin,
132
132
  InputConfirmEvent as InputConfirmEventOrigin,
133
133
  InputConfirmEventDetail as InputConfirmEventDetailOrigin,
134
+ UniInputChangeEventDetail as UniInputChangeEventDetailOrigin,
135
+ UniInputChangeEvent as UniInputChangeEventOrigin,
136
+ InputChangeEvent as InputChangeEventOrigin,
137
+ InputChangeEventDetail as InputChangeEventDetailOrigin,
134
138
  UniInputBlurEventDetail as UniInputBlurEventDetailOrigin,
135
139
  UniInputBlurEvent as UniInputBlurEventOrigin,
136
140
  InputBlurEvent as InputBlurEventOrigin,
@@ -499,6 +503,14 @@ declare global {
499
503
  const InputConfirmEventDetail: typeof InputConfirmEventDetailOrigin
500
504
  type InputConfirmEvent = InputConfirmEventOrigin
501
505
  type InputConfirmEventDetail = InputConfirmEventDetailOrigin
506
+ const UniInputChangeEventDetail: typeof UniInputChangeEventDetailOrigin
507
+ type UniInputChangeEventDetail = UniInputChangeEventDetailOrigin
508
+ const UniInputChangeEvent: typeof UniInputChangeEventOrigin
509
+ type UniInputChangeEvent = UniInputChangeEventOrigin
510
+ const InputChangeEvent: typeof InputChangeEventOrigin
511
+ const InputChangeEventDetail: typeof InputChangeEventDetailOrigin
512
+ type InputChangeEvent = InputChangeEventOrigin
513
+ type InputChangeEventDetail = InputChangeEventDetailOrigin
502
514
  const UniInputBlurEventDetail: typeof UniInputBlurEventDetailOrigin
503
515
  type UniInputBlurEventDetail = UniInputBlurEventDetailOrigin
504
516
  const UniInputBlurEvent: typeof UniInputBlurEventOrigin
@@ -44,6 +44,7 @@ export * from './UniInputKeyboardHeightChangeEvent'
44
44
  export * from './UniInputFocusEvent'
45
45
  export * from './UniInputEvent'
46
46
  export * from './UniInputConfirmEvent'
47
+ export * from './UniInputChangeEvent'
47
48
  export * from './UniInputBlurEvent'
48
49
  export * from './UniImageLoadEvent'
49
50
  export * from './UniImageErrorEvent'
@@ -44,6 +44,7 @@
44
44
  /// <reference path='./lib/uni-navigationBar/utssdk/global.d.ts' />
45
45
  /// <reference path='./lib/uni-network/utssdk/global.d.ts' />
46
46
  /// <reference path='./lib/uni-oauth-huawei/utssdk/global.d.ts' />
47
+ /// <reference path='./lib/uni-oauth-weixin/utssdk/global.d.ts' />
47
48
  /// <reference path='./lib/uni-oauth/utssdk/global.d.ts' />
48
49
  /// <reference path='./lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts' />
49
50
  /// <reference path='./lib/uni-openDocument/utssdk/global.d.ts' />
@@ -44,6 +44,7 @@ export * from './lib/uni-modal/utssdk'
44
44
  export * from './lib/uni-navigationBar/utssdk'
45
45
  export * from './lib/uni-network/utssdk'
46
46
  export * from './lib/uni-oauth-huawei/utssdk'
47
+ export * from './lib/uni-oauth-weixin/utssdk'
47
48
  export * from './lib/uni-oauth/utssdk'
48
49
  export * from './lib/uni-openAppAuthorizeSetting/utssdk'
49
50
  export * from './lib/uni-openDocument/utssdk'