@dcloudio/uni-app-x 0.7.63 → 0.7.65

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcloudio/uni-app-x",
3
- "version": "0.7.63",
3
+ "version": "0.7.65",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "main": "index.d.ts",
@@ -24,9 +24,16 @@ export interface UniNativeBaseView {
24
24
  */
25
25
  slot: UniNativeSlotType
26
26
 
27
+ /**
28
+ * 获取内部ID值,用于框架调用,不对外公开
29
+ * Android平台在kotlin层实现
30
+ * 鸿蒙/iOS平台在c层实现
31
+ */
32
+ getNodeId(): number
33
+
27
34
  /**
28
35
  * 获取渲染相关
29
- * 子类需根据支持的样式重写
36
+ * 子类需根据支持的样式重写
30
37
  */
31
38
  /**
32
39
  * 获取字符串格式样式
@@ -153,7 +160,7 @@ export interface UniNativeBaseView {
153
160
  /**
154
161
  * CSS: visibility
155
162
  * 元素是否可见
156
- * 默认可见
163
+ * 默认可见
157
164
  */
158
165
  visibility(value: UniNativeVisibilityType): UniNativeBaseView
159
166
 
@@ -1028,7 +1028,7 @@ declare global {
1028
1028
  * }
1029
1029
  * }
1030
1030
  */
1031
- getNodeId(): string
1031
+ getNodeId(): number
1032
1032
 
1033
1033
  /**
1034
1034
  * 对当前组件进行截图,调用此方法会将当前组件(包含子节点)渲染结果导出成图片。
@@ -39,7 +39,7 @@ export class UniElementImpl implements UniElement {
39
39
  offsetWidth: number;
40
40
  offsetHeight: number;
41
41
  ext: Map<string, any>;
42
- getNodeId(): string;
42
+ getNodeId(): number;
43
43
  takeSnapshot(options: TakeSnapshotOptions): void;
44
44
  appendChild(aChild: UniElement): void;
45
45
  insertBefore(newChild: UniElement, refChild?: UniElement | null): UniElement | null;