@dcloudio/uni-app-x 0.7.81 → 0.7.82

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.81",
3
+ "version": "0.7.82",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "main": "index.d.ts",
@@ -177,6 +177,37 @@ declare global {
177
177
  // 复用DOM1中定义,暂时注释
178
178
  // getNodeId(): number
179
179
 
180
+ /**
181
+ * 以下方法在UniElement区分Node和Element概念
182
+ * 仅在C层实现,不对外公开
183
+ */
184
+ /**
185
+ * Element 逻辑的属性获取
186
+ * 用于 js 层封装 DOM API 提供给开发者使用
187
+ */
188
+ getFirstElementChild(): UniElement | null
189
+ getLastElementChild(): UniElement | null
190
+ getPreviousElementSibling(): UniElement | null
191
+ getNextElementSibling(): UniElement | null
192
+ getParentElement(): UniElement | null
193
+ getChildren(): UniElement | null
194
+ /**
195
+ * Node 逻辑的属性获取
196
+ * 用于支持vue框架运行
197
+ */
198
+ getFirstChild(): UniElement | null
199
+ getLastChild(): UniElement | null
200
+ getPreviousSibling(): UniElement | null
201
+ getNextSibling(): UniElement | null
202
+ getParentNode(): UniElement | null
203
+ getChildNodes(): UniElement | null
204
+
205
+ /**
206
+ * 修改tagname
207
+ * 在c/kotlin层提供,仅对vue框架开放
208
+ */
209
+ setCustomTagName(name: string): void
210
+
180
211
  /**
181
212
  * 以下方法在FlexNode和DOM层封装
182
213
  * - Android平台:c层和kt层都需要封装
@@ -5,5 +5,6 @@
5
5
  /// <reference path='./lib/uni-camera/utssdk/global.d.ts' />
6
6
  /// <reference path='./lib/uni-canvas/utssdk/global.d.ts' />
7
7
  /// <reference path='./lib/uni-input/utssdk/global.d.ts' />
8
+ /// <reference path='./lib/uni-textarea/utssdk/global.d.ts' />
8
9
  /// <reference path='./lib/uni-video/utssdk/global.d.ts' />
9
10
  /// <reference path='./lib/uni-web-view/utssdk/global.d.ts' />
@@ -5,5 +5,6 @@ export * from './lib/uni-map-tencent-global/utssdk'
5
5
  export * from './lib/uni-camera/utssdk'
6
6
  export * from './lib/uni-canvas/utssdk'
7
7
  export * from './lib/uni-input/utssdk'
8
+ export * from './lib/uni-textarea/utssdk'
8
9
  export * from './lib/uni-video/utssdk'
9
10
  export * from './lib/uni-web-view/utssdk'
@@ -0,0 +1,9 @@
1
+ // 本文件为自动构建生成
2
+ import {
3
+
4
+ } from './interface'
5
+
6
+ declare global {
7
+
8
+ }
9
+
@@ -0,0 +1,5 @@
1
+ // 本文件为自动构建生成
2
+ export {
3
+
4
+ } from './interface'
5
+