@dcloudio/uni-app-x 0.7.80 → 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 +1 -1
- package/types/dom2/sharedData.d.ts +1 -1
- package/types/dom2-internal/UniElement.d.ts +31 -0
- package/types/uni/uts-plugin-component/global.d.ts +1 -0
- package/types/uni/uts-plugin-component/index.d.ts +1 -0
- package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-textarea/utssdk/interface.d.ts +0 -0
package/package.json
CHANGED
|
@@ -131,7 +131,7 @@ declare global {
|
|
|
131
131
|
/**
|
|
132
132
|
* 监听组件根节点样式变更
|
|
133
133
|
*/
|
|
134
|
-
useComputedStyle(options : { properties : number[], filterProperties ?: boolean | null, callback : (result :
|
|
134
|
+
useComputedStyle(options : { properties : number[], filterProperties ?: boolean | null, callback : (result : Array<[number, any | null]>) => void }) : Map<string, any | null>
|
|
135
135
|
/**
|
|
136
136
|
* 由编译器动态生成的子类中的 Element 渲染器
|
|
137
137
|
*/
|
|
@@ -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'
|
|
File without changes
|