@dcloudio/uni-app-x 0.7.87 → 0.7.89

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 (65) hide show
  1. package/package.json +1 -1
  2. package/types/dom2-internal/UniElement.d.ts +2 -1
  3. package/types/dom2-internal/UniNativeBaseView.d.ts +2 -1
  4. package/types/dom2-internal/UniTextElement.d.ts +5 -0
  5. package/types/dom2-internal/sharedData.d.ts +6 -9
  6. package/types/native/IUniElement.d.ts +291 -286
  7. package/types/native/IUniNativeViewElement.d.ts +22 -11
  8. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +430 -72
  9. package/types/uni/uts-plugin-api/lib/uni-addPhoneContact/utssdk/interface.d.ts +2 -1
  10. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +2 -1
  11. package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +6 -3
  12. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +2 -1
  13. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +16 -8
  14. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +5 -3
  15. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +2 -1
  16. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +14 -7
  17. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/interface.d.ts +4 -2
  18. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +82 -52
  19. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +8 -4
  20. package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +10 -5
  21. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +176 -88
  22. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +8 -4
  23. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +30 -15
  24. package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +40 -20
  25. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +34 -17
  26. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +10 -5
  27. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +10 -5
  28. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +153 -148
  29. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +2 -1
  30. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +24 -12
  31. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +122 -61
  32. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +14 -7
  33. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +4 -2
  34. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +2 -1
  35. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +6 -3
  36. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +94 -47
  37. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +48 -24
  38. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +2 -1
  39. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +26 -13
  40. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +84 -44
  41. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +26 -13
  42. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +14 -7
  43. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +22 -11
  44. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +4 -2
  45. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +36 -18
  46. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +6 -3
  47. package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +18 -9
  48. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +30 -15
  49. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +4 -2
  50. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +728 -698
  51. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +68 -32
  52. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +2 -1
  53. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +18 -13
  54. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +6 -3
  55. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +24 -12
  56. package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +2 -1
  57. package/types/uni/uts-plugin-api/lib/uni-showLoading/utssdk/interface.d.ts +4 -2
  58. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +20 -10
  59. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +16 -8
  60. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +40 -20
  61. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +42 -21
  62. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +4 -2
  63. package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +909 -844
  64. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +10 -5
  65. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +52 -26
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-app-x",
3
- "version": "0.7.87",
3
+ "version": "0.7.89",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "main": "index.d.ts",
@@ -21,7 +21,8 @@ declare global {
21
21
  /**
22
22
  * 插槽名称
23
23
  */
24
- slot: UniSlotType
24
+ get slot() : UniSlotType
25
+ set slot(slotType : UniSlotType)
25
26
  /**
26
27
  * 以下方法在FlexNode层封装,仅用于内部使用
27
28
  * - Android平台:c层实现
@@ -25,7 +25,8 @@ export interface UniNativeBaseView {
25
25
  * 插槽名称
26
26
  * 默认为UniNativeSlotType.None,提供给特定场景(如自定义下拉刷新)使用
27
27
  */
28
- slot: UniNativeSlotType
28
+ get slot() : UniNativeSlotType
29
+ set slot(slotType : UniNativeSlotType)
29
30
 
30
31
  /**
31
32
  * 获取内部ID值,用于框架调用,不对外公开
@@ -152,6 +152,11 @@ declare global {
152
152
  */
153
153
  setWhiteSpace(whiteSpace: UniCSSWhiteSpace): void
154
154
 
155
+ /**
156
+ * 设置hover状态样式
157
+ */
158
+ setHoverStyles(style: UniElementStyles): void
159
+
155
160
  /**
156
161
  * 用于解决view组件 over 状态的样式更新与恢复,内部使用。
157
162
  * 区分更新样式是排版相关还是渲染相关
@@ -119,6 +119,7 @@ declare global {
119
119
  }
120
120
 
121
121
  interface UniSharedDataComponentOptions {
122
+ vueId: number
122
123
  styleIsolation: UniSharedDataComponentStyleIsolation
123
124
  renderer: UniSharedDataComponentRenderer
124
125
  flatten: UniSharedDataComponentFlatten
@@ -134,6 +135,11 @@ declare global {
134
135
  * @internal
135
136
  */
136
137
  static _styleSheet: Map<string, Map<string, Map<number, any>>>
138
+ /**
139
+ * vue实例ID
140
+ * @internal
141
+ */
142
+ _vueId: number
137
143
  /**
138
144
  * 当前页面或组件关联的 UniPage 对象
139
145
  * @internal
@@ -162,15 +168,6 @@ declare global {
162
168
  */
163
169
  inheritAttrs: UniSharedDataJSONObject
164
170
  constructor(scope: UniSharedDataPage, options: UniSharedDataComponentOptions)
165
- /**
166
- * 设置 vue id (主要用于自动化测试,js层设置)
167
- * @internal
168
- */
169
- _setVueId(id: number): void
170
- /**
171
- * 获取 vue id (主要用于自动化测试,c层读取)
172
- */
173
- getVueId(): number
174
171
  /**
175
172
  * 监听组件根节点样式变更
176
173
  * @internal