@dcloudio/uni-app-x 0.7.14 → 0.7.16

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 (175) hide show
  1. package/options.d.ts +1 -1
  2. package/package.json +1 -1
  3. package/types/native/CSSStyleDeclaration.d.ts +0 -72
  4. package/types/native/CanvasRenderingContext2D.d.ts +1943 -0
  5. package/types/native/DOMRect.d.ts +0 -180
  6. package/types/native/DrawableContext.d.ts +161 -628
  7. package/types/native/IUniElement.d.ts +513 -1868
  8. package/types/native/IUniObjectElement.d.ts +124 -0
  9. package/types/native/Path2D.d.ts +241 -0
  10. package/types/native/SnapshotOptions.d.ts +1 -0
  11. package/types/native/UniApp.d.ts +110 -0
  12. package/types/native/UniCanvasElement.d.ts +9 -0
  13. package/types/native/UniNativePage.d.ts +48 -1
  14. package/types/native/UniPageManager.d.ts +4 -1
  15. package/types/native/UniProvider.d.ts +1 -0
  16. package/types/native/UniResizeObserver.d.ts +9 -99
  17. package/types/native/UniScrollEvent.d.ts +1 -1
  18. package/types/native/UniSwiperAnimationFinishEvent.d.ts +1 -1
  19. package/types/native/UniSwiperChangeEvent.d.ts +1 -1
  20. package/types/native/UniVideoElement.d.ts +5 -0
  21. package/types/native/global.d.ts +73 -15
  22. package/types/native/index.d.ts +4 -0
  23. package/types/shim-uts-basic.d.ts +4495 -0
  24. package/types/uni/env/index.d.ts +39 -0
  25. package/types/uni/uts-plugin-api/global.d.ts +20 -1
  26. package/types/uni/uts-plugin-api/index.d.ts +20 -1
  27. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/global.d.ts +26 -0
  28. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/index.d.ts +12 -0
  29. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +231 -0
  30. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +10 -0
  31. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +4 -0
  32. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +77 -0
  33. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +10 -0
  34. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +4 -0
  35. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +77 -0
  36. package/types/uni/uts-plugin-api/lib/uni-cancelAnimationFrame/utssdk/global.d.ts +10 -0
  37. package/types/uni/uts-plugin-api/lib/uni-cancelAnimationFrame/utssdk/index.d.ts +4 -0
  38. package/types/uni/uts-plugin-api/lib/uni-cancelAnimationFrame/utssdk/interface.d.ts +24 -0
  39. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/global.d.ts +20 -0
  40. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/index.d.ts +9 -0
  41. package/types/uni/uts-plugin-api/lib/uni-canvas/utssdk/interface.d.ts +268 -0
  42. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/global.d.ts +40 -0
  43. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/index.d.ts +19 -0
  44. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +203 -0
  45. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/global.d.ts +20 -0
  46. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/index.d.ts +9 -0
  47. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +152 -0
  48. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +20 -3
  49. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +24 -9
  50. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +13 -6
  51. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/global.d.ts +28 -0
  52. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/index.d.ts +13 -0
  53. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +1335 -0
  54. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +28 -0
  55. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +6 -1
  56. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/global.d.ts +80 -0
  57. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/index.d.ts +39 -0
  58. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +174 -0
  59. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +8 -1
  60. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +20 -17
  61. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +28 -20
  62. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +201 -64
  63. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +180 -59
  64. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +10 -2
  65. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/global.d.ts +12 -0
  66. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/index.d.ts +5 -0
  67. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +47 -0
  68. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +10 -1
  69. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/global.d.ts +24 -0
  70. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/index.d.ts +11 -0
  71. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +564 -0
  72. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/global.d.ts +2 -14
  73. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/index.d.ts +1 -6
  74. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/interface.d.ts +1 -151
  75. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/global.d.ts +8 -0
  76. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/index.d.ts +4 -0
  77. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/interface.d.ts +1 -0
  78. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/global.d.ts +8 -0
  79. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/index.d.ts +4 -0
  80. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +114 -34
  81. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +7 -1
  82. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/global.d.ts +8 -0
  83. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/index.d.ts +4 -0
  84. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +304 -27
  85. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +500 -149
  86. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +123 -112
  87. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +9 -6
  88. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +18 -2
  89. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/global.d.ts +22 -0
  90. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/index.d.ts +10 -0
  91. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +60 -0
  92. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +8 -1
  93. package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-makePhoneCall/utssdk/global.d.ts +9 -6
  94. package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-makePhoneCall/utssdk/index.d.ts +4 -2
  95. package/types/uni/{uts-plugin-extend → uts-plugin-api}/lib/uni-makePhoneCall/utssdk/interface.d.ts +40 -61
  96. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +2 -0
  97. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +1 -0
  98. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +327 -58
  99. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/global.d.ts +24 -0
  100. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/index.d.ts +12 -0
  101. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +213 -5
  102. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +280 -92
  103. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +20 -15
  104. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/global.d.ts +24 -0
  105. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/index.d.ts +11 -0
  106. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +70 -0
  107. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/global.d.ts +2 -0
  108. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/index.d.ts +1 -0
  109. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +16 -6
  110. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +161 -11
  111. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/global.d.ts +8 -0
  112. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/index.d.ts +4 -0
  113. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/interface.d.ts +1 -0
  114. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/global.d.ts +8 -0
  115. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/index.d.ts +4 -0
  116. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/interface.d.ts +3 -0
  117. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +120 -42
  118. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/global.d.ts +2 -0
  119. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/index.d.ts +1 -0
  120. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +16 -1
  121. package/types/uni/uts-plugin-api/lib/uni-requestAnimationFrame/utssdk/global.d.ts +12 -0
  122. package/types/uni/uts-plugin-api/lib/uni-requestAnimationFrame/utssdk/index.d.ts +5 -0
  123. package/types/uni/uts-plugin-api/lib/uni-requestAnimationFrame/utssdk/interface.d.ts +28 -0
  124. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +177 -32
  125. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +7 -2
  126. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/global.d.ts +24 -0
  127. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/index.d.ts +11 -0
  128. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +73 -0
  129. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +112 -43
  130. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/global.d.ts +16 -0
  131. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/index.d.ts +8 -0
  132. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +78 -1
  133. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +199 -149
  134. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/global.d.ts +112 -0
  135. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/index.d.ts +55 -0
  136. package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +1068 -0
  137. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +170 -83
  138. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +11 -7
  139. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +33 -15
  140. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/global.d.ts +4 -0
  141. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/index.d.ts +2 -0
  142. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +777 -568
  143. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +10 -6
  144. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +132 -15
  145. package/types/uni/uts-plugin-extend/global.d.ts +1 -1
  146. package/types/uni/uts-plugin-extend/index.d.ts +1 -3
  147. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +4 -4
  148. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +1 -0
  149. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/global.d.ts +13 -0
  150. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/index.d.ts +5 -0
  151. package/types/uni/uts-plugin-extend/lib/uni-createMediaQueryObserver/utssdk/interface.d.ts +126 -0
  152. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +3 -3
  153. package/types/uni-cloud/interface.d.ts +57 -3
  154. package/types/uni-cloud/unicloud-db/index.ts +3 -3
  155. package/types/vue/CheckboxGroupChangeEvent.d.ts +9 -1
  156. package/types/vue/PickerViewChangeEvent.d.ts +8 -0
  157. package/types/vue/ProgressActiveendEvent.d.ts +4 -0
  158. package/types/vue/RadioGroupChangeEvent.d.ts +9 -1
  159. package/types/vue/SliderChangeEvent.d.ts +4 -0
  160. package/types/vue/SwitchChangeEvent.d.ts +5 -1
  161. package/types/vue/UniCanvasElement.d.ts +6 -1
  162. package/types/vue/UniCloudDBElement.d.ts +5 -0
  163. package/types/vue/UniFormElement.d.ts +6 -1
  164. package/types/vue/UniNavigatorElement.d.ts +5 -0
  165. package/types/vue/global.d.ts +10 -9
  166. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/global.d.ts +0 -78
  167. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/index.d.ts +0 -38
  168. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/interface.d.ts +0 -642
  169. package/types/uni/uts-plugin-extend/lib/uni-getClipboardData/utssdk/global.d.ts +0 -21
  170. package/types/uni/uts-plugin-extend/lib/uni-getClipboardData/utssdk/index.d.ts +0 -9
  171. package/types/uni/uts-plugin-extend/lib/uni-getClipboardData/utssdk/interface.d.ts +0 -119
  172. package/types/uni/uts-plugin-extend/lib/uni-setClipboardData/utssdk/global.d.ts +0 -21
  173. package/types/uni/uts-plugin-extend/lib/uni-setClipboardData/utssdk/index.d.ts +0 -9
  174. package/types/uni/uts-plugin-extend/lib/uni-setClipboardData/utssdk/interface.d.ts +0 -122
  175. package/types/uni-cloud/unicloud-db/index.d.ts +0 -81
@@ -1,11 +1,13 @@
1
1
  export interface Uni {
2
2
  /**
3
3
  * getSystemInfo()
4
- * @description
4
+ * @description
5
5
  * 异步获取系统信息
6
6
  * @param {GetSystemInfoOptions} options
7
7
  * @return {void}
8
- * @tutorial http://uniapp.dcloud.io/api/system/info?id=getsysteminfo
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
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html
9
11
  * @uniPlatform
10
12
  * {
11
13
  * "app": {
@@ -18,7 +20,12 @@ export interface Uni {
18
20
  * "osVer": "12.0",
19
21
  * "uniVer": "√",
20
22
  * "unixVer": "4.11"
21
- * }
23
+ * },
24
+ * "harmony": {
25
+ * "osVer": "3.0",
26
+ * "uniVer": "4.23",
27
+ * "unixVer": "x"
28
+ * }
22
29
  * },
23
30
  * "web": {
24
31
  * "uniVer": "√",
@@ -41,11 +48,13 @@ export interface Uni {
41
48
 
42
49
  /**
43
50
  * getSystemInfoSync()
44
- * @description
51
+ * @description
45
52
  * 同步获取系统信息
46
- * @param {void}
53
+ * @param {void}
47
54
  * @return {GetSystemInfoResult}
48
- * @tutorial http://uniapp.dcloud.io/api/system/info?id=getsysteminfosync
55
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/info.html#getsysteminfosync
56
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html#getsysteminfosync
57
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-system-info.html#getsysteminfosync
49
58
  * @uniPlatform
50
59
  * {
51
60
  * "app": {
@@ -74,11 +83,13 @@ export interface Uni {
74
83
 
75
84
  /**
76
85
  * getWindowInfo()
77
- * @description
86
+ * @description
78
87
  * 同步获取窗口信息
79
- * @param {void}
88
+ * @param {void}
80
89
  * @return {GetWindowInfoResult} result
81
- * @tutorial http://uniapp.dcloud.io/api/system/getWindowInfo.html
90
+ * @tutorial-uni-app https://uniapp.dcloud.net.cn/api/system/getWindowInfo.html
91
+ * @tutorial-uni-app-x https://doc.dcloud.net.cn/uni-app-x/api/get-window-info.html
92
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/get-window-info.html
82
93
  * @uniPlatform
83
94
  * {
84
95
  * "app": {
@@ -112,7 +123,7 @@ export type GetWindowInfo = () => GetWindowInfoResult;
112
123
  export type SafeArea = {
113
124
  /**
114
125
  * 安全区域左上角横坐标,单位为px
115
- *
126
+ *
116
127
  * @uniPlatform
117
128
  * {
118
129
  * "app": {
@@ -125,7 +136,12 @@ export type SafeArea = {
125
136
  * "osVer": "12.0",
126
137
  * "uniVer": "√",
127
138
  * "unixVer": "4.11"
128
- * }
139
+ * },
140
+ * "harmony": {
141
+ * "osVer": "3.0",
142
+ * "uniVer": "4.23",
143
+ * "unixVer": "x"
144
+ * }
129
145
  * },
130
146
  * "web": {
131
147
  * "uniVer": "√",
@@ -136,7 +152,7 @@ export type SafeArea = {
136
152
  left: number,
137
153
  /**
138
154
  * 安全区域右下角横坐标,单位为px
139
- *
155
+ *
140
156
  * @uniPlatform
141
157
  * {
142
158
  * "app": {
@@ -149,7 +165,12 @@ export type SafeArea = {
149
165
  * "osVer": "12.0",
150
166
  * "uniVer": "√",
151
167
  * "unixVer": "4.11"
152
- * }
168
+ * },
169
+ * "harmony": {
170
+ * "osVer": "3.0",
171
+ * "uniVer": "4.23",
172
+ * "unixVer": "x"
173
+ * }
153
174
  * },
154
175
  * "web": {
155
176
  * "uniVer": "√",
@@ -160,7 +181,7 @@ export type SafeArea = {
160
181
  right: number,
161
182
  /**
162
183
  * 安全区域左上角纵坐标,单位为px
163
- *
184
+ *
164
185
  * @uniPlatform
165
186
  * {
166
187
  * "app": {
@@ -173,7 +194,12 @@ export type SafeArea = {
173
194
  * "osVer": "12.0",
174
195
  * "uniVer": "√",
175
196
  * "unixVer": "4.11"
176
- * }
197
+ * },
198
+ * "harmony": {
199
+ * "osVer": "3.0",
200
+ * "uniVer": "4.23",
201
+ * "unixVer": "x"
202
+ * }
177
203
  * },
178
204
  * "web": {
179
205
  * "uniVer": "√",
@@ -184,7 +210,7 @@ export type SafeArea = {
184
210
  top: number,
185
211
  /**
186
212
  * 安全区域右下角纵坐标,单位为px
187
- *
213
+ *
188
214
  * @uniPlatform
189
215
  * {
190
216
  * "app": {
@@ -197,7 +223,12 @@ export type SafeArea = {
197
223
  * "osVer": "12.0",
198
224
  * "uniVer": "√",
199
225
  * "unixVer": "4.11"
200
- * }
226
+ * },
227
+ * "harmony": {
228
+ * "osVer": "3.0",
229
+ * "uniVer": "4.23",
230
+ * "unixVer": "x"
231
+ * }
201
232
  * },
202
233
  * "web": {
203
234
  * "uniVer": "√",
@@ -208,7 +239,7 @@ export type SafeArea = {
208
239
  bottom: number,
209
240
  /**
210
241
  * 安全区域的宽度,单位为px
211
- *
242
+ *
212
243
  * @uniPlatform
213
244
  * {
214
245
  * "app": {
@@ -221,7 +252,12 @@ export type SafeArea = {
221
252
  * "osVer": "12.0",
222
253
  * "uniVer": "√",
223
254
  * "unixVer": "4.11"
224
- * }
255
+ * },
256
+ * "harmony": {
257
+ * "osVer": "3.0",
258
+ * "uniVer": "4.23",
259
+ * "unixVer": "x"
260
+ * }
225
261
  * },
226
262
  * "web": {
227
263
  * "uniVer": "√",
@@ -232,7 +268,7 @@ export type SafeArea = {
232
268
  width: number,
233
269
  /**
234
270
  * 安全区域的高度,单位为px
235
- *
271
+ *
236
272
  * @uniPlatform
237
273
  * {
238
274
  * "app": {
@@ -245,7 +281,12 @@ export type SafeArea = {
245
281
  * "osVer": "12.0",
246
282
  * "uniVer": "√",
247
283
  * "unixVer": "4.11"
248
- * }
284
+ * },
285
+ * "harmony": {
286
+ * "osVer": "3.0",
287
+ * "uniVer": "4.23",
288
+ * "unixVer": "x"
289
+ * }
249
290
  * },
250
291
  * "web": {
251
292
  * "uniVer": "√",
@@ -258,7 +299,7 @@ export type SafeArea = {
258
299
  export type SafeAreaInsets = {
259
300
  /**
260
301
  * 安全区域左侧插入位置(距离左边边界距离),单位为px
261
- *
302
+ *
262
303
  * @uniPlatform
263
304
  * {
264
305
  * "app": {
@@ -271,7 +312,12 @@ export type SafeAreaInsets = {
271
312
  * "osVer": "12.0",
272
313
  * "uniVer": "√",
273
314
  * "unixVer": "4.11"
274
- * }
315
+ * },
316
+ * "harmony": {
317
+ * "osVer": "3.0",
318
+ * "uniVer": "4.23",
319
+ * "unixVer": "x"
320
+ * }
275
321
  * },
276
322
  * "web": {
277
323
  * "uniVer": "√",
@@ -282,7 +328,7 @@ export type SafeAreaInsets = {
282
328
  left: number,
283
329
  /**
284
330
  * 安全区域右侧插入位置(距离右边边界距离),单位为px
285
- *
331
+ *
286
332
  * @uniPlatform
287
333
  * {
288
334
  * "app": {
@@ -295,7 +341,12 @@ export type SafeAreaInsets = {
295
341
  * "osVer": "12.0",
296
342
  * "uniVer": "√",
297
343
  * "unixVer": "4.11"
298
- * }
344
+ * },
345
+ * "harmony": {
346
+ * "osVer": "3.0",
347
+ * "uniVer": "4.23",
348
+ * "unixVer": "x"
349
+ * }
299
350
  * },
300
351
  * "web": {
301
352
  * "uniVer": "√",
@@ -306,7 +357,7 @@ export type SafeAreaInsets = {
306
357
  right: number,
307
358
  /**
308
359
  * 安全区顶部插入位置(距离顶部边界距离),单位为px
309
- *
360
+ *
310
361
  * @uniPlatform
311
362
  * {
312
363
  * "app": {
@@ -319,7 +370,12 @@ export type SafeAreaInsets = {
319
370
  * "osVer": "12.0",
320
371
  * "uniVer": "√",
321
372
  * "unixVer": "4.11"
322
- * }
373
+ * },
374
+ * "harmony": {
375
+ * "osVer": "3.0",
376
+ * "uniVer": "4.23",
377
+ * "unixVer": "x"
378
+ * }
323
379
  * },
324
380
  * "web": {
325
381
  * "uniVer": "√",
@@ -330,7 +386,7 @@ export type SafeAreaInsets = {
330
386
  top: number,
331
387
  /**
332
388
  * 安全区域底部插入位置(距离底部边界距离),单位为px
333
- *
389
+ *
334
390
  * @uniPlatform
335
391
  * {
336
392
  * "app": {
@@ -343,7 +399,12 @@ export type SafeAreaInsets = {
343
399
  * "osVer": "12.0",
344
400
  * "uniVer": "√",
345
401
  * "unixVer": "4.11"
346
- * }
402
+ * },
403
+ * "harmony": {
404
+ * "osVer": "3.0",
405
+ * "uniVer": "4.23",
406
+ * "unixVer": "x"
407
+ * }
347
408
  * },
348
409
  * "web": {
349
410
  * "uniVer": "√",
@@ -356,7 +417,7 @@ export type SafeAreaInsets = {
356
417
  export type GetSystemInfoResult = {
357
418
  /**
358
419
  * 客户端基础库版本
359
- *
420
+ *
360
421
  * @uniPlatform
361
422
  * {
362
423
  * "app": {
@@ -369,7 +430,12 @@ export type GetSystemInfoResult = {
369
430
  * "osVer": "12.0",
370
431
  * "uniVer": "√",
371
432
  * "unixVer": "4.11"
372
- * }
433
+ * },
434
+ * "harmony": {
435
+ * "osVer": "x",
436
+ * "uniVer": "x",
437
+ * "unixVer": "x"
438
+ * }
373
439
  * },
374
440
  * "web": {
375
441
  * "uniVer": "x",
@@ -380,7 +446,7 @@ export type GetSystemInfoResult = {
380
446
  SDKVersion: string,
381
447
  /**
382
448
  * `manifest.json` 中应用appid。
383
- *
449
+ *
384
450
  * @uniPlatform
385
451
  * {
386
452
  * "app": {
@@ -393,7 +459,12 @@ export type GetSystemInfoResult = {
393
459
  * "osVer": "12.0",
394
460
  * "uniVer": "√",
395
461
  * "unixVer": "4.11"
396
- * }
462
+ * },
463
+ * "harmony": {
464
+ * "osVer": "3.0",
465
+ * "uniVer": "4.23",
466
+ * "unixVer": "x"
467
+ * }
397
468
  * },
398
469
  * "web": {
399
470
  * "uniVer": "√",
@@ -404,7 +475,7 @@ export type GetSystemInfoResult = {
404
475
  appId: string,
405
476
  /**
406
477
  * 应用设置的语言。
407
- *
478
+ *
408
479
  * @uniPlatform
409
480
  * {
410
481
  * "app": {
@@ -417,7 +488,12 @@ export type GetSystemInfoResult = {
417
488
  * "osVer": "12.0",
418
489
  * "uniVer": "√",
419
490
  * "unixVer": "4.11"
420
- * }
491
+ * },
492
+ * "harmony": {
493
+ * "osVer": "3.0",
494
+ * "uniVer": "4.23",
495
+ * "unixVer": "x"
496
+ * }
421
497
  * },
422
498
  * "web": {
423
499
  * "uniVer": "√",
@@ -428,7 +504,7 @@ export type GetSystemInfoResult = {
428
504
  appLanguage: string,
429
505
  /**
430
506
  * `manifest.json` 中应用名称。
431
- *
507
+ *
432
508
  * @uniPlatform
433
509
  * {
434
510
  * "app": {
@@ -441,7 +517,12 @@ export type GetSystemInfoResult = {
441
517
  * "osVer": "12.0",
442
518
  * "uniVer": "√",
443
519
  * "unixVer": "4.11"
444
- * }
520
+ * },
521
+ * "harmony": {
522
+ * "osVer": "3.0",
523
+ * "uniVer": "4.23",
524
+ * "unixVer": "x"
525
+ * }
445
526
  * },
446
527
  * "web": {
447
528
  * "uniVer": "√",
@@ -452,7 +533,7 @@ export type GetSystemInfoResult = {
452
533
  appName: string,
453
534
  /**
454
535
  * `manifest.json` 中应用版本名称。
455
- *
536
+ *
456
537
  * @uniPlatform
457
538
  * {
458
539
  * "app": {
@@ -465,7 +546,12 @@ export type GetSystemInfoResult = {
465
546
  * "osVer": "12.0",
466
547
  * "uniVer": "√",
467
548
  * "unixVer": "4.11"
468
- * }
549
+ * },
550
+ * "harmony": {
551
+ * "osVer": "3.0",
552
+ * "uniVer": "4.23",
553
+ * "unixVer": "x"
554
+ * }
469
555
  * },
470
556
  * "web": {
471
557
  * "uniVer": "√",
@@ -476,7 +562,7 @@ export type GetSystemInfoResult = {
476
562
  appVersion: string,
477
563
  /**
478
564
  * `manifest.json` 中应用版本名号。
479
- *
565
+ *
480
566
  * @uniPlatform
481
567
  * {
482
568
  * "app": {
@@ -489,7 +575,12 @@ export type GetSystemInfoResult = {
489
575
  * "osVer": "12.0",
490
576
  * "uniVer": "√",
491
577
  * "unixVer": "4.11"
492
- * }
578
+ * },
579
+ * "harmony": {
580
+ * "osVer": "3.0",
581
+ * "uniVer": "4.23",
582
+ * "unixVer": "x"
583
+ * }
493
584
  * },
494
585
  * "web": {
495
586
  * "uniVer": "√",
@@ -500,7 +591,7 @@ export type GetSystemInfoResult = {
500
591
  appVersionCode: string,
501
592
  /**
502
593
  * 应用资源(wgt)的版本名称。
503
- *
594
+ *
504
595
  * @uniPlatform
505
596
  * {
506
597
  * "app": {
@@ -513,7 +604,12 @@ export type GetSystemInfoResult = {
513
604
  * "osVer": "12.0",
514
605
  * "uniVer": "√",
515
606
  * "unixVer": "x"
516
- * }
607
+ * },
608
+ * "harmony": {
609
+ * "osVer": "3.0",
610
+ * "uniVer": "4.23",
611
+ * "unixVer": "x"
612
+ * }
517
613
  * },
518
614
  * "web": {
519
615
  * "uniVer": "x",
@@ -525,7 +621,7 @@ export type GetSystemInfoResult = {
525
621
  /**
526
622
  * 手机品牌。
527
623
  * @deprecated 已废弃,仅为了向下兼容保留
528
- *
624
+ *
529
625
  * @uniPlatform
530
626
  * {
531
627
  * "app": {
@@ -538,7 +634,12 @@ export type GetSystemInfoResult = {
538
634
  * "osVer": "12.0",
539
635
  * "uniVer": "√",
540
636
  * "unixVer": "4.11"
541
- * }
637
+ * },
638
+ * "harmony": {
639
+ * "osVer": "3.0",
640
+ * "uniVer": "4.23",
641
+ * "unixVer": "x"
642
+ * }
542
643
  * },
543
644
  * "web": {
544
645
  * "uniVer": "x",
@@ -549,7 +650,7 @@ export type GetSystemInfoResult = {
549
650
  brand: string,
550
651
  /**
551
652
  * 浏览器名称。`App` 端是系统 webview 的名字,比如 wkwebview、chrome。小程序端为空
552
- *
653
+ *
553
654
  * @uniPlatform
554
655
  * {
555
656
  * "app": {
@@ -562,7 +663,12 @@ export type GetSystemInfoResult = {
562
663
  * "osVer": "12.0",
563
664
  * "uniVer": "√",
564
665
  * "unixVer": "4.11"
565
- * }
666
+ * },
667
+ * "harmony": {
668
+ * "osVer": "x",
669
+ * "uniVer": "x",
670
+ * "unixVer": "x"
671
+ * }
566
672
  * },
567
673
  * "web": {
568
674
  * "uniVer": "√",
@@ -573,7 +679,7 @@ export type GetSystemInfoResult = {
573
679
  browserName: string,
574
680
  /**
575
681
  * 浏览器版本、webview 版本。
576
- *
682
+ *
577
683
  * @uniPlatform
578
684
  * {
579
685
  * "app": {
@@ -586,7 +692,12 @@ export type GetSystemInfoResult = {
586
692
  * "osVer": "12.0",
587
693
  * "uniVer": "√",
588
694
  * "unixVer": "4.11"
589
- * }
695
+ * },
696
+ * "harmony": {
697
+ * "osVer": "x",
698
+ * "uniVer": "x",
699
+ * "unixVer": "x"
700
+ * }
590
701
  * },
591
702
  * "web": {
592
703
  * "uniVer": "√",
@@ -597,7 +708,7 @@ export type GetSystemInfoResult = {
597
708
  browserVersion: string,
598
709
  /**
599
710
  * 设备 ID
600
- *
711
+ *
601
712
  * @uniPlatform
602
713
  * {
603
714
  * "app": {
@@ -610,7 +721,12 @@ export type GetSystemInfoResult = {
610
721
  * "osVer": "12.0",
611
722
  * "uniVer": "√",
612
723
  * "unixVer": "4.11"
613
- * }
724
+ * },
725
+ * "harmony": {
726
+ * "osVer": "3.0",
727
+ * "uniVer": "4.23",
728
+ * "unixVer": "x"
729
+ * }
614
730
  * },
615
731
  * "web": {
616
732
  * "uniVer": "√",
@@ -621,7 +737,7 @@ export type GetSystemInfoResult = {
621
737
  deviceId: string,
622
738
  /**
623
739
  * 设备品牌。如:`apple`、`huawei`。
624
- *
740
+ *
625
741
  * @uniPlatform
626
742
  * {
627
743
  * "app": {
@@ -634,7 +750,12 @@ export type GetSystemInfoResult = {
634
750
  * "osVer": "12.0",
635
751
  * "uniVer": "√",
636
752
  * "unixVer": "4.11"
637
- * }
753
+ * },
754
+ * "harmony": {
755
+ * "osVer": "3.0",
756
+ * "uniVer": "4.23",
757
+ * "unixVer": "x"
758
+ * }
638
759
  * },
639
760
  * "web": {
640
761
  * "uniVer": "√",
@@ -645,7 +766,7 @@ export type GetSystemInfoResult = {
645
766
  deviceBrand: string,
646
767
  /**
647
768
  * 设备型号
648
- *
769
+ *
649
770
  * @uniPlatform
650
771
  * {
651
772
  * "app": {
@@ -658,7 +779,12 @@ export type GetSystemInfoResult = {
658
779
  * "osVer": "12.0",
659
780
  * "uniVer": "√",
660
781
  * "unixVer": "4.11"
661
- * }
782
+ * },
783
+ * "harmony": {
784
+ * "osVer": "3.0",
785
+ * "uniVer": "4.23",
786
+ * "unixVer": "x"
787
+ * }
662
788
  * },
663
789
  * "web": {
664
790
  * "uniVer": "√",
@@ -669,7 +795,7 @@ export type GetSystemInfoResult = {
669
795
  deviceModel: string,
670
796
  /**
671
797
  * 设备类型。
672
- *
798
+ *
673
799
  * @uniPlatform
674
800
  * {
675
801
  * "app": {
@@ -682,7 +808,12 @@ export type GetSystemInfoResult = {
682
808
  * "osVer": "12.0",
683
809
  * "uniVer": "√",
684
810
  * "unixVer": "4.11"
685
- * }
811
+ * },
812
+ * "harmony": {
813
+ * "osVer": "3.0",
814
+ * "uniVer": "4.23",
815
+ * "unixVer": "x"
816
+ * }
686
817
  * },
687
818
  * "web": {
688
819
  * "uniVer": "√",
@@ -693,7 +824,7 @@ export type GetSystemInfoResult = {
693
824
  deviceType: 'phone' | 'pad' | 'tv' | 'watch' | 'pc' | 'undefined' | 'car' | 'vr' | 'appliance',
694
825
  /**
695
826
  * 设备像素比
696
- *
827
+ *
697
828
  * @uniPlatform
698
829
  * {
699
830
  * "app": {
@@ -706,7 +837,12 @@ export type GetSystemInfoResult = {
706
837
  * "osVer": "12.0",
707
838
  * "uniVer": "√",
708
839
  * "unixVer": "4.11"
709
- * }
840
+ * },
841
+ * "harmony": {
842
+ * "osVer": "3.0",
843
+ * "uniVer": "4.23",
844
+ * "unixVer": "x"
845
+ * }
710
846
  * },
711
847
  * "web": {
712
848
  * "uniVer": "√",
@@ -718,7 +854,7 @@ export type GetSystemInfoResult = {
718
854
  /**
719
855
  * 设备方向。
720
856
  * @type 'portrait' | 'landscape'
721
- *
857
+ *
722
858
  * @uniPlatform
723
859
  * {
724
860
  * "app": {
@@ -731,7 +867,12 @@ export type GetSystemInfoResult = {
731
867
  * "osVer": "12.0",
732
868
  * "uniVer": "√",
733
869
  * "unixVer": "4.11"
734
- * }
870
+ * },
871
+ * "harmony": {
872
+ * "osVer": "3.0",
873
+ * "uniVer": "4.23",
874
+ * "unixVer": "x"
875
+ * }
735
876
  * },
736
877
  * "web": {
737
878
  * "uniVer": "√",
@@ -743,7 +884,7 @@ export type GetSystemInfoResult = {
743
884
  /**
744
885
  * 程序设置的语言
745
886
  * @deprecated 已废弃,仅为了向下兼容保留
746
- *
887
+ *
747
888
  * @uniPlatform
748
889
  * {
749
890
  * "app": {
@@ -756,7 +897,12 @@ export type GetSystemInfoResult = {
756
897
  * "osVer": "12.0",
757
898
  * "uniVer": "√",
758
899
  * "unixVer": "4.11"
759
- * }
900
+ * },
901
+ * "harmony": {
902
+ * "osVer": "x",
903
+ * "uniVer": "x",
904
+ * "unixVer": "x"
905
+ * }
760
906
  * },
761
907
  * "web": {
762
908
  * "uniVer": "√",
@@ -768,7 +914,7 @@ export type GetSystemInfoResult = {
768
914
  /**
769
915
  * 手机型号
770
916
  * @deprecated 已废弃,仅为了向下兼容保留
771
- *
917
+ *
772
918
  * @uniPlatform
773
919
  * {
774
920
  * "app": {
@@ -781,7 +927,12 @@ export type GetSystemInfoResult = {
781
927
  * "osVer": "12.0",
782
928
  * "uniVer": "√",
783
929
  * "unixVer": "4.11"
784
- * }
930
+ * },
931
+ * "harmony": {
932
+ * "osVer": "x",
933
+ * "uniVer": "x",
934
+ * "unixVer": "x"
935
+ * }
785
936
  * },
786
937
  * "web": {
787
938
  * "uniVer": "√",
@@ -789,10 +940,10 @@ export type GetSystemInfoResult = {
789
940
  * }
790
941
  * }
791
942
  */
792
- model: string,
943
+ model?: string,
793
944
  /**
794
- * 系统名称
795
- *
945
+ * 系统名称
946
+ *
796
947
  * @uniPlatform
797
948
  * {
798
949
  * "app": {
@@ -805,7 +956,12 @@ export type GetSystemInfoResult = {
805
956
  * "osVer": "12.0",
806
957
  * "uniVer": "√",
807
958
  * "unixVer": "4.11"
808
- * }
959
+ * },
960
+ * "harmony": {
961
+ * "osVer": "3.0",
962
+ * "uniVer": "4.23",
963
+ * "unixVer": "x"
964
+ * }
809
965
  * },
810
966
  * "web": {
811
967
  * "uniVer": "√",
@@ -813,10 +969,10 @@ export type GetSystemInfoResult = {
813
969
  * }
814
970
  * }
815
971
  */
816
- osName: 'ios' | 'android' | 'macos' | 'windows' | 'linux',
972
+ osName: 'ios' | 'android' | 'harmonyos' | 'macos' | 'windows' | 'linux',
817
973
  /**
818
974
  * 操作系统版本。如 ios 版本,andriod 版本
819
- *
975
+ *
820
976
  * @uniPlatform
821
977
  * {
822
978
  * "app": {
@@ -829,7 +985,12 @@ export type GetSystemInfoResult = {
829
985
  * "osVer": "12.0",
830
986
  * "uniVer": "√",
831
987
  * "unixVer": "4.11"
832
- * }
988
+ * },
989
+ * "harmony": {
990
+ * "osVer": "3.0",
991
+ * "uniVer": "4.23",
992
+ * "unixVer": "x"
993
+ * }
833
994
  * },
834
995
  * "web": {
835
996
  * "uniVer": "√",
@@ -840,7 +1001,7 @@ export type GetSystemInfoResult = {
840
1001
  osVersion: string,
841
1002
  /**
842
1003
  * 操作系统语言
843
- *
1004
+ *
844
1005
  * @uniPlatform
845
1006
  * {
846
1007
  * "app": {
@@ -853,7 +1014,12 @@ export type GetSystemInfoResult = {
853
1014
  * "osVer": "12.0",
854
1015
  * "uniVer": "√",
855
1016
  * "unixVer": "4.11"
856
- * }
1017
+ * },
1018
+ * "harmony": {
1019
+ * "osVer": "3.0",
1020
+ * "uniVer": "4.23",
1021
+ * "unixVer": "x"
1022
+ * }
857
1023
  * },
858
1024
  * "web": {
859
1025
  * "uniVer": "√",
@@ -864,7 +1030,7 @@ export type GetSystemInfoResult = {
864
1030
  osLanguage: string,
865
1031
  /**
866
1032
  * 操作系统主题
867
- *
1033
+ *
868
1034
  * @uniPlatform
869
1035
  * {
870
1036
  * "app": {
@@ -877,7 +1043,12 @@ export type GetSystemInfoResult = {
877
1043
  * "osVer": "12.0",
878
1044
  * "uniVer": "√",
879
1045
  * "unixVer": "4.11"
880
- * }
1046
+ * },
1047
+ * "harmony": {
1048
+ * "osVer": "3.0",
1049
+ * "uniVer": "4.23",
1050
+ * "unixVer": "x"
1051
+ * }
881
1052
  * },
882
1053
  * "web": {
883
1054
  * "uniVer": "x",
@@ -889,7 +1060,7 @@ export type GetSystemInfoResult = {
889
1060
  /**
890
1061
  * 设备像素比
891
1062
  * @deprecated 已废弃,仅为了向下兼容保留
892
- *
1063
+ *
893
1064
  * @uniPlatform
894
1065
  * {
895
1066
  * "app": {
@@ -902,7 +1073,12 @@ export type GetSystemInfoResult = {
902
1073
  * "osVer": "12.0",
903
1074
  * "uniVer": "√",
904
1075
  * "unixVer": "4.11"
905
- * }
1076
+ * },
1077
+ * "harmony": {
1078
+ * "osVer": "x",
1079
+ * "uniVer": "x",
1080
+ * "unixVer": "x"
1081
+ * }
906
1082
  * },
907
1083
  * "web": {
908
1084
  * "uniVer": "√",
@@ -914,7 +1090,7 @@ export type GetSystemInfoResult = {
914
1090
  /**
915
1091
  * 客户端平台
916
1092
  * @deprecated 已废弃,仅为了向下兼容保留
917
- *
1093
+ *
918
1094
  * @uniPlatform
919
1095
  * {
920
1096
  * "app": {
@@ -927,7 +1103,12 @@ export type GetSystemInfoResult = {
927
1103
  * "osVer": "12.0",
928
1104
  * "uniVer": "√",
929
1105
  * "unixVer": "4.11"
930
- * }
1106
+ * },
1107
+ * "harmony": {
1108
+ * "osVer": "x",
1109
+ * "uniVer": "x",
1110
+ * "unixVer": "x"
1111
+ * }
931
1112
  * },
932
1113
  * "web": {
933
1114
  * "uniVer": "√",
@@ -935,10 +1116,10 @@ export type GetSystemInfoResult = {
935
1116
  * }
936
1117
  * }
937
1118
  */
938
- platform: 'ios' | 'android' | 'mac' | 'windows' | 'linux',
1119
+ platform: 'ios' | 'android' | 'harmonyos' | 'mac' | 'windows' | 'linux',
939
1120
  /**
940
1121
  * 屏幕宽度,单位为px
941
- *
1122
+ *
942
1123
  * @uniPlatform
943
1124
  * {
944
1125
  * "app": {
@@ -951,7 +1132,12 @@ export type GetSystemInfoResult = {
951
1132
  * "osVer": "12.0",
952
1133
  * "uniVer": "√",
953
1134
  * "unixVer": "4.11"
954
- * }
1135
+ * },
1136
+ * "harmony": {
1137
+ * "osVer": "3.0",
1138
+ * "uniVer": "4.23",
1139
+ * "unixVer": "x"
1140
+ * }
955
1141
  * },
956
1142
  * "web": {
957
1143
  * "uniVer": "√",
@@ -962,7 +1148,7 @@ export type GetSystemInfoResult = {
962
1148
  screenWidth: number,
963
1149
  /**
964
1150
  * 屏幕高度,单位为px
965
- *
1151
+ *
966
1152
  * @uniPlatform
967
1153
  * {
968
1154
  * "app": {
@@ -975,7 +1161,12 @@ export type GetSystemInfoResult = {
975
1161
  * "osVer": "12.0",
976
1162
  * "uniVer": "√",
977
1163
  * "unixVer": "4.11"
978
- * }
1164
+ * },
1165
+ * "harmony": {
1166
+ * "osVer": "3.0",
1167
+ * "uniVer": "4.23",
1168
+ * "unixVer": "x"
1169
+ * }
979
1170
  * },
980
1171
  * "web": {
981
1172
  * "uniVer": "√",
@@ -986,7 +1177,7 @@ export type GetSystemInfoResult = {
986
1177
  screenHeight: number,
987
1178
  /**
988
1179
  * 状态栏的高度,单位为px
989
- *
1180
+ *
990
1181
  * @uniPlatform
991
1182
  * {
992
1183
  * "app": {
@@ -999,7 +1190,12 @@ export type GetSystemInfoResult = {
999
1190
  * "osVer": "12.0",
1000
1191
  * "uniVer": "√",
1001
1192
  * "unixVer": "4.11"
1002
- * }
1193
+ * },
1194
+ * "harmony": {
1195
+ * "osVer": "3.0",
1196
+ * "uniVer": "4.23",
1197
+ * "unixVer": "x"
1198
+ * }
1003
1199
  * },
1004
1200
  * "web": {
1005
1201
  * "uniVer": "√",
@@ -1011,7 +1207,7 @@ export type GetSystemInfoResult = {
1011
1207
  /**
1012
1208
  * 操作系统版本
1013
1209
  * @deprecated 已废弃,仅为了向下兼容保留
1014
- *
1210
+ *
1015
1211
  * @uniPlatform
1016
1212
  * {
1017
1213
  * "app": {
@@ -1024,7 +1220,12 @@ export type GetSystemInfoResult = {
1024
1220
  * "osVer": "12.0",
1025
1221
  * "uniVer": "√",
1026
1222
  * "unixVer": "4.11"
1027
- * }
1223
+ * },
1224
+ * "harmony": {
1225
+ * "osVer": "3.0",
1226
+ * "uniVer": "4.23",
1227
+ * "unixVer": "x"
1228
+ * }
1028
1229
  * },
1029
1230
  * "web": {
1030
1231
  * "uniVer": "√",
@@ -1035,7 +1236,7 @@ export type GetSystemInfoResult = {
1035
1236
  system: string,
1036
1237
  /**
1037
1238
  * 在竖屏正方向下的安全区域
1038
- *
1239
+ *
1039
1240
  * @uniPlatform
1040
1241
  * {
1041
1242
  * "app": {
@@ -1048,7 +1249,12 @@ export type GetSystemInfoResult = {
1048
1249
  * "osVer": "12.0",
1049
1250
  * "uniVer": "√",
1050
1251
  * "unixVer": "4.11"
1051
- * }
1252
+ * },
1253
+ * "harmony": {
1254
+ * "osVer": "3.0",
1255
+ * "uniVer": "4.23",
1256
+ * "unixVer": "x"
1257
+ * }
1052
1258
  * },
1053
1259
  * "web": {
1054
1260
  * "uniVer": "√",
@@ -1059,7 +1265,7 @@ export type GetSystemInfoResult = {
1059
1265
  safeArea: SafeArea,
1060
1266
  /**
1061
1267
  * 在竖屏正方向下的安全区域插入位置
1062
- *
1268
+ *
1063
1269
  * @uniPlatform
1064
1270
  * {
1065
1271
  * "app": {
@@ -1072,7 +1278,12 @@ export type GetSystemInfoResult = {
1072
1278
  * "osVer": "12.0",
1073
1279
  * "uniVer": "√",
1074
1280
  * "unixVer": "4.11"
1075
- * }
1281
+ * },
1282
+ * "harmony": {
1283
+ * "osVer": "3.0",
1284
+ * "uniVer": "4.23",
1285
+ * "unixVer": "x"
1286
+ * }
1076
1287
  * },
1077
1288
  * "web": {
1078
1289
  * "uniVer": "√",
@@ -1083,7 +1294,7 @@ export type GetSystemInfoResult = {
1083
1294
  safeAreaInsets: SafeAreaInsets,
1084
1295
  /**
1085
1296
  * 用户标识。小程序端为空
1086
- *
1297
+ *
1087
1298
  * @uniPlatform
1088
1299
  * {
1089
1300
  * "app": {
@@ -1096,7 +1307,12 @@ export type GetSystemInfoResult = {
1096
1307
  * "osVer": "12.0",
1097
1308
  * "uniVer": "√",
1098
1309
  * "unixVer": "4.11"
1099
- * }
1310
+ * },
1311
+ * "harmony": {
1312
+ * "osVer": "x",
1313
+ * "uniVer": "x",
1314
+ * "unixVer": "x"
1315
+ * }
1100
1316
  * },
1101
1317
  * "web": {
1102
1318
  * "uniVer": "√",
@@ -1108,7 +1324,7 @@ export type GetSystemInfoResult = {
1108
1324
  /**
1109
1325
  * uni 编译器版本。
1110
1326
  * @deprecated 已废弃,仅为了向下兼容保留
1111
- *
1327
+ *
1112
1328
  * @uniPlatform
1113
1329
  * {
1114
1330
  * "app": {
@@ -1121,7 +1337,12 @@ export type GetSystemInfoResult = {
1121
1337
  * "osVer": "12.0",
1122
1338
  * "uniVer": "√",
1123
1339
  * "unixVer": "4.11"
1124
- * }
1340
+ * },
1341
+ * "harmony": {
1342
+ * "osVer": "x",
1343
+ * "uniVer": "x",
1344
+ * "unixVer": "x"
1345
+ * }
1125
1346
  * },
1126
1347
  * "web": {
1127
1348
  * "uniVer": "√",
@@ -1132,7 +1353,7 @@ export type GetSystemInfoResult = {
1132
1353
  uniCompileVersion: string,
1133
1354
  /**
1134
1355
  * uni 编译器版本。
1135
- *
1356
+ *
1136
1357
  * @uniPlatform
1137
1358
  * {
1138
1359
  * "app": {
@@ -1145,7 +1366,12 @@ export type GetSystemInfoResult = {
1145
1366
  * "osVer": "12.0",
1146
1367
  * "uniVer": "x",
1147
1368
  * "unixVer": "4.11"
1148
- * }
1369
+ * },
1370
+ * "harmony": {
1371
+ * "osVer": "3.0",
1372
+ * "uniVer": "4.23",
1373
+ * "unixVer": "x"
1374
+ * }
1149
1375
  * },
1150
1376
  * "web": {
1151
1377
  * "uniVer": "x",
@@ -1156,7 +1382,7 @@ export type GetSystemInfoResult = {
1156
1382
  uniCompilerVersion: string,
1157
1383
  /**
1158
1384
  * uni-app 运行平台,与条件编译平台相同。
1159
- *
1385
+ *
1160
1386
  * @uniPlatform
1161
1387
  * {
1162
1388
  * "app": {
@@ -1169,7 +1395,12 @@ export type GetSystemInfoResult = {
1169
1395
  * "osVer": "12.0",
1170
1396
  * "uniVer": "√",
1171
1397
  * "unixVer": "4.11"
1172
- * }
1398
+ * },
1399
+ * "harmony": {
1400
+ * "osVer": "3.0",
1401
+ * "uniVer": "4.23",
1402
+ * "unixVer": "x"
1403
+ * }
1173
1404
  * },
1174
1405
  * "web": {
1175
1406
  * "uniVer": "√",
@@ -1180,7 +1411,7 @@ export type GetSystemInfoResult = {
1180
1411
  uniPlatform: 'app' | 'web' | 'mp-weixin' | 'mp-alipay' | 'mp-baidu' | 'mp-toutiao' | 'mp-lark' | 'mp-qq' | 'mp-kuaishou' | 'mp-jd' | 'mp-360' | 'quickapp-webview' | 'quickapp-webview-union' | 'quickapp-webview-huawei',
1181
1412
  /**
1182
1413
  * uni 运行时版本。
1183
- *
1414
+ *
1184
1415
  * @uniPlatform
1185
1416
  * {
1186
1417
  * "app": {
@@ -1193,7 +1424,12 @@ export type GetSystemInfoResult = {
1193
1424
  * "osVer": "12.0",
1194
1425
  * "uniVer": "√",
1195
1426
  * "unixVer": "4.11"
1196
- * }
1427
+ * },
1428
+ * "harmony": {
1429
+ * "osVer": "3.0",
1430
+ * "uniVer": "4.23",
1431
+ * "unixVer": "x"
1432
+ * }
1197
1433
  * },
1198
1434
  * "web": {
1199
1435
  * "uniVer": "√",
@@ -1205,7 +1441,7 @@ export type GetSystemInfoResult = {
1205
1441
  /**
1206
1442
  * uni 编译器版本号。
1207
1443
  * @deprecated 已废弃,仅为了向下兼容保留
1208
- *
1444
+ *
1209
1445
  * @uniPlatform
1210
1446
  * {
1211
1447
  * "app": {
@@ -1218,7 +1454,12 @@ export type GetSystemInfoResult = {
1218
1454
  * "osVer": "12.0",
1219
1455
  * "uniVer": "x",
1220
1456
  * "unixVer": "4.11"
1221
- * }
1457
+ * },
1458
+ * "harmony": {
1459
+ * "osVer": "x",
1460
+ * "uniVer": "x",
1461
+ * "unixVer": "x"
1462
+ * }
1222
1463
  * },
1223
1464
  * "web": {
1224
1465
  * "uniVer": "√",
@@ -1229,7 +1470,7 @@ export type GetSystemInfoResult = {
1229
1470
  uniCompileVersionCode: number,
1230
1471
  /**
1231
1472
  * uni 编译器版本号。
1232
- *
1473
+ *
1233
1474
  * @uniPlatform
1234
1475
  * {
1235
1476
  * "app": {
@@ -1242,7 +1483,12 @@ export type GetSystemInfoResult = {
1242
1483
  * "osVer": "12.0",
1243
1484
  * "uniVer": "x",
1244
1485
  * "unixVer": "4.11"
1245
- * }
1486
+ * },
1487
+ * "harmony": {
1488
+ * "osVer": "3.0",
1489
+ * "uniVer": "4.23",
1490
+ * "unixVer": "x"
1491
+ * }
1246
1492
  * },
1247
1493
  * "web": {
1248
1494
  * "uniVer": "x",
@@ -1253,7 +1499,7 @@ export type GetSystemInfoResult = {
1253
1499
  uniCompilerVersionCode: number,
1254
1500
  /**
1255
1501
  * uni 运行时版本号。
1256
- *
1502
+ *
1257
1503
  * @uniPlatform
1258
1504
  * {
1259
1505
  * "app": {
@@ -1266,7 +1512,12 @@ export type GetSystemInfoResult = {
1266
1512
  * "osVer": "12.0",
1267
1513
  * "uniVer": "x",
1268
1514
  * "unixVer": "4.11"
1269
- * }
1515
+ * },
1516
+ * "harmony": {
1517
+ * "osVer": "3.0",
1518
+ * "uniVer": "4.23",
1519
+ * "unixVer": "x"
1520
+ * }
1270
1521
  * },
1271
1522
  * "web": {
1272
1523
  * "uniVer": "√",
@@ -1278,7 +1529,7 @@ export type GetSystemInfoResult = {
1278
1529
  /**
1279
1530
  * 引擎版本号。
1280
1531
  * @deprecated 已废弃,仅为了向下兼容保留
1281
- *
1532
+ *
1282
1533
  * @uniPlatform
1283
1534
  * {
1284
1535
  * "app": {
@@ -1291,7 +1542,12 @@ export type GetSystemInfoResult = {
1291
1542
  * "osVer": "12.0",
1292
1543
  * "uniVer": "√",
1293
1544
  * "unixVer": "4.11"
1294
- * }
1545
+ * },
1546
+ * "harmony": {
1547
+ * "osVer": "x",
1548
+ * "uniVer": "x",
1549
+ * "unixVer": "x"
1550
+ * }
1295
1551
  * },
1296
1552
  * "web": {
1297
1553
  * "uniVer": "√",
@@ -1302,7 +1558,7 @@ export type GetSystemInfoResult = {
1302
1558
  version: string,
1303
1559
  /**
1304
1560
  * rom 名称。Android 部分机型获取不到值。iOS 恒为 `ios`
1305
- *
1561
+ *
1306
1562
  * @uniPlatform
1307
1563
  * {
1308
1564
  * "app": {
@@ -1315,7 +1571,12 @@ export type GetSystemInfoResult = {
1315
1571
  * "osVer": "12.0",
1316
1572
  * "uniVer": "x",
1317
1573
  * "unixVer": "4.11"
1318
- * }
1574
+ * },
1575
+ * "harmony": {
1576
+ * "osVer": "3.0",
1577
+ * "uniVer": "4.23",
1578
+ * "unixVer": "x"
1579
+ * }
1319
1580
  * },
1320
1581
  * "web": {
1321
1582
  * "uniVer": "x",
@@ -1326,7 +1587,7 @@ export type GetSystemInfoResult = {
1326
1587
  romName: string,
1327
1588
  /**
1328
1589
  * rom 版本号。Android 部分机型获取不到值。iOS 为操作系统版本号(同 `osVersion`)。
1329
- *
1590
+ *
1330
1591
  * @uniPlatform
1331
1592
  * {
1332
1593
  * "app": {
@@ -1339,7 +1600,12 @@ export type GetSystemInfoResult = {
1339
1600
  * "osVer": "12.0",
1340
1601
  * "uniVer": "x",
1341
1602
  * "unixVer": "4.11"
1342
- * }
1603
+ * },
1604
+ * "harmony": {
1605
+ * "osVer": "3.0",
1606
+ * "uniVer": "4.23",
1607
+ * "unixVer": "x"
1608
+ * }
1343
1609
  * },
1344
1610
  * "web": {
1345
1611
  * "uniVer": "x",
@@ -1350,7 +1616,7 @@ export type GetSystemInfoResult = {
1350
1616
  romVersion: string,
1351
1617
  /**
1352
1618
  * 可使用窗口宽度,单位为px
1353
- *
1619
+ *
1354
1620
  * @uniPlatform
1355
1621
  * {
1356
1622
  * "app": {
@@ -1363,7 +1629,12 @@ export type GetSystemInfoResult = {
1363
1629
  * "osVer": "12.0",
1364
1630
  * "uniVer": "√",
1365
1631
  * "unixVer": "4.11"
1366
- * }
1632
+ * },
1633
+ * "harmony": {
1634
+ * "osVer": "3.0",
1635
+ * "uniVer": "4.23",
1636
+ * "unixVer": "x"
1637
+ * }
1367
1638
  * },
1368
1639
  * "web": {
1369
1640
  * "uniVer": "√",
@@ -1374,7 +1645,7 @@ export type GetSystemInfoResult = {
1374
1645
  windowWidth: number,
1375
1646
  /**
1376
1647
  * 可使用窗口高度,单位为px
1377
- *
1648
+ *
1378
1649
  * @uniPlatform
1379
1650
  * {
1380
1651
  * "app": {
@@ -1387,7 +1658,12 @@ export type GetSystemInfoResult = {
1387
1658
  * "osVer": "12.0",
1388
1659
  * "uniVer": "√",
1389
1660
  * "unixVer": "4.11"
1390
- * }
1661
+ * },
1662
+ * "harmony": {
1663
+ * "osVer": "3.0",
1664
+ * "uniVer": "4.23",
1665
+ * "unixVer": "x"
1666
+ * }
1391
1667
  * },
1392
1668
  * "web": {
1393
1669
  * "uniVer": "√",
@@ -1398,7 +1674,7 @@ export type GetSystemInfoResult = {
1398
1674
  windowHeight: number,
1399
1675
  /**
1400
1676
  * 内容区域距离顶部的距离(同CSS变量 `--window-top`),单位为px
1401
- *
1677
+ *
1402
1678
  * @uniPlatform
1403
1679
  * {
1404
1680
  * "app": {
@@ -1411,7 +1687,12 @@ export type GetSystemInfoResult = {
1411
1687
  * "osVer": "12.0",
1412
1688
  * "uniVer": "√",
1413
1689
  * "unixVer": "4.11"
1414
- * }
1690
+ * },
1691
+ * "harmony": {
1692
+ * "osVer": "3.0",
1693
+ * "uniVer": "4.23",
1694
+ * "unixVer": "x"
1695
+ * }
1415
1696
  * },
1416
1697
  * "web": {
1417
1698
  * "uniVer": "√",
@@ -1422,7 +1703,7 @@ export type GetSystemInfoResult = {
1422
1703
  windowTop: number,
1423
1704
  /**
1424
1705
  * 内容区域距离底部的距离(同CSS变量 `--window-bottom`),单位为px
1425
- *
1706
+ *
1426
1707
  * @uniPlatform
1427
1708
  * {
1428
1709
  * "app": {
@@ -1435,7 +1716,12 @@ export type GetSystemInfoResult = {
1435
1716
  * "osVer": "12.0",
1436
1717
  * "uniVer": "√",
1437
1718
  * "unixVer": "4.11"
1438
- * }
1719
+ * },
1720
+ * "harmony": {
1721
+ * "osVer": "3.0",
1722
+ * "uniVer": "4.23",
1723
+ * "unixVer": "x"
1724
+ * }
1439
1725
  * },
1440
1726
  * "web": {
1441
1727
  * "uniVer": "√",
@@ -1446,7 +1732,7 @@ export type GetSystemInfoResult = {
1446
1732
  windowBottom: number,
1447
1733
  /**
1448
1734
  * Android 系统API库的版本。
1449
- *
1735
+ *
1450
1736
  * @uniPlatform
1451
1737
  * {
1452
1738
  * "app": {
@@ -1459,7 +1745,12 @@ export type GetSystemInfoResult = {
1459
1745
  * "osVer": "x",
1460
1746
  * "uniVer": "x",
1461
1747
  * "unixVer": "x"
1462
- * }
1748
+ * },
1749
+ * "harmony": {
1750
+ * "osVer": "x",
1751
+ * "uniVer": "x",
1752
+ * "unixVer": "x"
1753
+ * }
1463
1754
  * },
1464
1755
  * "web": {
1465
1756
  * "uniVer": "x",
@@ -1470,7 +1761,7 @@ export type GetSystemInfoResult = {
1470
1761
  osAndroidAPILevel?: number | null,
1471
1762
  /**
1472
1763
  * 当前App的主题
1473
- *
1764
+ *
1474
1765
  * @uniPlatform
1475
1766
  * {
1476
1767
  * "app": {
@@ -1483,7 +1774,12 @@ export type GetSystemInfoResult = {
1483
1774
  * "osVer": "12.0",
1484
1775
  * "uniVer": "x",
1485
1776
  * "unixVer": "4.18"
1486
- * }
1777
+ * },
1778
+ * "harmony": {
1779
+ * "osVer": "3.0",
1780
+ * "uniVer": "4.23",
1781
+ * "unixVer": "x"
1782
+ * }
1487
1783
  * },
1488
1784
  * "web": {
1489
1785
  * "uniVer": "x",
@@ -1519,7 +1815,7 @@ export type GetSystemInfoOptions = {
1519
1815
  export type GetWindowInfoResult = {
1520
1816
  /**
1521
1817
  * 设备像素比
1522
- *
1818
+ *
1523
1819
  * @uniPlatform
1524
1820
  * {
1525
1821
  * "app": {
@@ -1532,7 +1828,12 @@ export type GetWindowInfoResult = {
1532
1828
  * "osVer": "12.0",
1533
1829
  * "uniVer": "√",
1534
1830
  * "unixVer": "4.11"
1535
- * }
1831
+ * },
1832
+ * "harmony": {
1833
+ * "osVer": "3.0",
1834
+ * "uniVer": "4.23",
1835
+ * "unixVer": "x"
1836
+ * }
1536
1837
  * },
1537
1838
  * "web": {
1538
1839
  * "uniVer": "√",
@@ -1543,7 +1844,7 @@ export type GetWindowInfoResult = {
1543
1844
  pixelRatio: number,
1544
1845
  /**
1545
1846
  * 屏幕宽度,单位为px
1546
- *
1847
+ *
1547
1848
  * @uniPlatform
1548
1849
  * {
1549
1850
  * "app": {
@@ -1556,7 +1857,12 @@ export type GetWindowInfoResult = {
1556
1857
  * "osVer": "12.0",
1557
1858
  * "uniVer": "√",
1558
1859
  * "unixVer": "4.11"
1559
- * }
1860
+ * },
1861
+ * "harmony": {
1862
+ * "osVer": "3.0",
1863
+ * "uniVer": "4.23",
1864
+ * "unixVer": "x"
1865
+ * }
1560
1866
  * },
1561
1867
  * "web": {
1562
1868
  * "uniVer": "√",
@@ -1567,7 +1873,7 @@ export type GetWindowInfoResult = {
1567
1873
  screenWidth: number,
1568
1874
  /**
1569
1875
  * 屏幕高度,单位为px
1570
- *
1876
+ *
1571
1877
  * @uniPlatform
1572
1878
  * {
1573
1879
  * "app": {
@@ -1580,7 +1886,12 @@ export type GetWindowInfoResult = {
1580
1886
  * "osVer": "12.0",
1581
1887
  * "uniVer": "√",
1582
1888
  * "unixVer": "4.11"
1583
- * }
1889
+ * },
1890
+ * "harmony": {
1891
+ * "osVer": "3.0",
1892
+ * "uniVer": "4.23",
1893
+ * "unixVer": "x"
1894
+ * }
1584
1895
  * },
1585
1896
  * "web": {
1586
1897
  * "uniVer": "√",
@@ -1591,7 +1902,7 @@ export type GetWindowInfoResult = {
1591
1902
  screenHeight: number,
1592
1903
  /**
1593
1904
  * 可使用窗口宽度,单位为px
1594
- *
1905
+ *
1595
1906
  * @uniPlatform
1596
1907
  * {
1597
1908
  * "app": {
@@ -1604,7 +1915,12 @@ export type GetWindowInfoResult = {
1604
1915
  * "osVer": "12.0",
1605
1916
  * "uniVer": "√",
1606
1917
  * "unixVer": "4.11"
1607
- * }
1918
+ * },
1919
+ * "harmony": {
1920
+ * "osVer": "3.0",
1921
+ * "uniVer": "4.23",
1922
+ * "unixVer": "x"
1923
+ * }
1608
1924
  * },
1609
1925
  * "web": {
1610
1926
  * "uniVer": "√",
@@ -1615,7 +1931,7 @@ export type GetWindowInfoResult = {
1615
1931
  windowWidth: number,
1616
1932
  /**
1617
1933
  * 可使用窗口高度,单位为px
1618
- *
1934
+ *
1619
1935
  * @uniPlatform
1620
1936
  * {
1621
1937
  * "app": {
@@ -1628,14 +1944,19 @@ export type GetWindowInfoResult = {
1628
1944
  * "osVer": "12.0",
1629
1945
  * "uniVer": "√",
1630
1946
  * "unixVer": "4.11"
1631
- * }
1947
+ * },
1948
+ * "harmony": {
1949
+ * "osVer": "3.0",
1950
+ * "uniVer": "4.23",
1951
+ * "unixVer": "x"
1952
+ * }
1632
1953
  * }
1633
1954
  * }
1634
1955
  */
1635
1956
  windowHeight: number,
1636
1957
  /**
1637
1958
  * 状态栏的高度,单位为px
1638
- *
1959
+ *
1639
1960
  * @uniPlatform
1640
1961
  * {
1641
1962
  * "app": {
@@ -1648,7 +1969,12 @@ export type GetWindowInfoResult = {
1648
1969
  * "osVer": "12.0",
1649
1970
  * "uniVer": "√",
1650
1971
  * "unixVer": "4.11"
1651
- * }
1972
+ * },
1973
+ * "harmony": {
1974
+ * "osVer": "3.0",
1975
+ * "uniVer": "4.23",
1976
+ * "unixVer": "x"
1977
+ * }
1652
1978
  * },
1653
1979
  * "web": {
1654
1980
  * "uniVer": "√",
@@ -1659,7 +1985,7 @@ export type GetWindowInfoResult = {
1659
1985
  statusBarHeight: number,
1660
1986
  /**
1661
1987
  * 内容区域距离顶部的距离(同CSS变量 `--window-top`),单位为px
1662
- *
1988
+ *
1663
1989
  * @uniPlatform
1664
1990
  * {
1665
1991
  * "app": {
@@ -1672,7 +1998,12 @@ export type GetWindowInfoResult = {
1672
1998
  * "osVer": "12.0",
1673
1999
  * "uniVer": "√",
1674
2000
  * "unixVer": "4.11"
1675
- * }
2001
+ * },
2002
+ * "harmony": {
2003
+ * "osVer": "3.0",
2004
+ * "uniVer": "4.23",
2005
+ * "unixVer": "x"
2006
+ * }
1676
2007
  * },
1677
2008
  * "web": {
1678
2009
  * "uniVer": "√",
@@ -1683,7 +2014,7 @@ export type GetWindowInfoResult = {
1683
2014
  windowTop: number,
1684
2015
  /**
1685
2016
  * 内容区域距离底部的距离(同CSS变量 `--window-bottom`),单位为px
1686
- *
2017
+ *
1687
2018
  * @uniPlatform
1688
2019
  * {
1689
2020
  * "app": {
@@ -1696,7 +2027,12 @@ export type GetWindowInfoResult = {
1696
2027
  * "osVer": "12.0",
1697
2028
  * "uniVer": "√",
1698
2029
  * "unixVer": "4.11"
1699
- * }
2030
+ * },
2031
+ * "harmony": {
2032
+ * "osVer": "3.0",
2033
+ * "uniVer": "4.23",
2034
+ * "unixVer": "x"
2035
+ * }
1700
2036
  * },
1701
2037
  * "web": {
1702
2038
  * "uniVer": "√",
@@ -1707,7 +2043,7 @@ export type GetWindowInfoResult = {
1707
2043
  windowBottom: number,
1708
2044
  /**
1709
2045
  * 安全区域在屏幕中的位置信息
1710
- *
2046
+ *
1711
2047
  * @uniPlatform
1712
2048
  * {
1713
2049
  * "app": {
@@ -1720,7 +2056,12 @@ export type GetWindowInfoResult = {
1720
2056
  * "osVer": "12.0",
1721
2057
  * "uniVer": "√",
1722
2058
  * "unixVer": "4.11"
1723
- * }
2059
+ * },
2060
+ * "harmony": {
2061
+ * "osVer": "3.0",
2062
+ * "uniVer": "4.23",
2063
+ * "unixVer": "x"
2064
+ * }
1724
2065
  * },
1725
2066
  * "web": {
1726
2067
  * "uniVer": "√",
@@ -1731,7 +2072,7 @@ export type GetWindowInfoResult = {
1731
2072
  safeArea: SafeArea,
1732
2073
  /**
1733
2074
  * 安全区域插入位置(与屏幕边界的距离)信息
1734
- *
2075
+ *
1735
2076
  * @uniPlatform
1736
2077
  * {
1737
2078
  * "app": {
@@ -1744,7 +2085,12 @@ export type GetWindowInfoResult = {
1744
2085
  * "osVer": "12.0",
1745
2086
  * "uniVer": "√",
1746
2087
  * "unixVer": "4.11"
1747
- * }
2088
+ * },
2089
+ * "harmony": {
2090
+ * "osVer": "3.0",
2091
+ * "uniVer": "4.23",
2092
+ * "unixVer": "x"
2093
+ * }
1748
2094
  * },
1749
2095
  * "web": {
1750
2096
  * "uniVer": "√",
@@ -1755,7 +2101,7 @@ export type GetWindowInfoResult = {
1755
2101
  safeAreaInsets: SafeAreaInsets,
1756
2102
  /**
1757
2103
  * 窗口上边缘的 y 值,单位为px
1758
- *
2104
+ *
1759
2105
  * @uniPlatform
1760
2106
  * {
1761
2107
  * "app": {
@@ -1768,7 +2114,12 @@ export type GetWindowInfoResult = {
1768
2114
  * "osVer": "12.0",
1769
2115
  * "uniVer": "√",
1770
2116
  * "unixVer": "4.11"
1771
- * }
2117
+ * },
2118
+ * "harmony": {
2119
+ * "osVer": "3.0",
2120
+ * "uniVer": "4.23",
2121
+ * "unixVer": "x"
2122
+ * }
1772
2123
  * },
1773
2124
  * "web": {
1774
2125
  * "uniVer": "√",