@dcloudio/uni-app-x 0.7.82 → 0.7.84
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 → dom2-internal}/UniCSSTransition.d.ts +1 -0
- package/types/dom2-internal/UniElement.d.ts +27 -6
- package/types/{dom2 → dom2-internal}/UniImageElement.d.ts +2 -0
- package/types/{dom2 → dom2-internal}/UniNativeBaseView.d.ts +1 -0
- package/types/dom2-internal/UniNativeScrollView.d.ts +49 -0
- package/types/dom2-internal/UniNestedScrollBodyElement.d.ts +14 -0
- package/types/dom2-internal/UniNestedScrollHeaderElement.d.ts +14 -0
- package/types/{dom2 → dom2-internal}/UniPage.d.ts +30 -81
- package/types/dom2-internal/global.d.ts +280 -1
- package/types/dom2-internal/index.d.ts +44 -1
- package/types/{dom2 → dom2-internal}/sharedData.d.ts +14 -0
- package/types/index.d.ts +0 -1
- package/types/native/IUniElement.d.ts +584 -542
- package/types/native/UniElement.d.ts +3 -0
- package/types/native/UniPage.d.ts +150 -0
- package/types/dom2/UniElement.d.ts +0 -340
- package/types/dom2/UniNativeViewElement.d.ts +0 -72
- package/types/dom2/global.d.ts +0 -301
- package/types/dom2/index.d.ts +0 -41
- /package/types/{dom2 → dom2-internal}/UniCSSProperty.d.ts +0 -0
- /package/types/{dom2 → dom2-internal}/UniCSSTransform.d.ts +0 -0
- /package/types/{dom2 → dom2-internal}/UniCSSType.d.ts +0 -0
- /package/types/{dom2 → dom2-internal}/UniCommon.d.ts +0 -0
- /package/types/{dom2 → dom2-internal}/UniElementType.d.ts +0 -0
- /package/types/{dom2 → dom2-internal}/UniNativeCustomView.d.ts +0 -0
- /package/types/{dom2 → dom2-internal}/UniNativeDefines.d.ts +0 -0
- /package/types/{dom2 → dom2-internal}/UniNativeImageView.d.ts +0 -0
- /package/types/{dom2/UniNativeScrollView.d.ts → dom2-internal/UniNativeNestedScrollView.d.ts} +0 -0
- /package/types/{dom2 → dom2-internal}/UniNativeTextView.d.ts +0 -0
- /package/types/{dom2 → dom2-internal}/UniNativeView.d.ts +0 -0
- /package/types/{dom2 → dom2-internal}/UniNativeViewType.d.ts +0 -0
- /package/types/{dom2 → dom2-internal}/UniScrollViewElement.d.ts +0 -0
- /package/types/{dom2 → dom2-internal}/UniTextElement.d.ts +0 -0
- /package/types/{dom2 → dom2-internal}/UniTextLayout.d.ts +0 -0
- /package/types/{dom2 → dom2-internal}/UniViewElement.d.ts +0 -0
|
@@ -1,2 +1,45 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
/// <reference path="./sharedData.d.ts" />
|
|
3
|
+
/// <reference path="./UniViewElement.d.ts" />
|
|
4
|
+
/// <reference path="./UniTextLayout.d.ts" />
|
|
5
|
+
/// <reference path="./UniTextElement.d.ts" />
|
|
6
|
+
/// <reference path="./UniScrollViewElement.d.ts" />
|
|
7
|
+
/// <reference path="./UniPage.d.ts" />
|
|
8
|
+
/// <reference path="./UniNestedScrollHeaderElement.d.ts" />
|
|
9
|
+
/// <reference path="./UniNestedScrollBodyElement.d.ts" />
|
|
10
|
+
/// <reference path="./UniImageElement.d.ts" />
|
|
1
11
|
/// <reference path="./UniElement.d.ts" />
|
|
2
|
-
export
|
|
12
|
+
export * from './sharedData'
|
|
13
|
+
export * from './UniViewElement'
|
|
14
|
+
export * from './UniTextLayout'
|
|
15
|
+
export * from './UniTextElement'
|
|
16
|
+
export * from './UniScrollViewElement'
|
|
17
|
+
export * from './UniPage'
|
|
18
|
+
export * from './UniNestedScrollHeaderElement'
|
|
19
|
+
export * from './UniNestedScrollBodyElement'
|
|
20
|
+
export * from './UniNativeViewType'
|
|
21
|
+
export * from './UniNativeView'
|
|
22
|
+
export * from './UniNativeTextView'
|
|
23
|
+
export * from './UniNativeScrollView'
|
|
24
|
+
export * from './UniNativeNestedScrollView'
|
|
25
|
+
export * from './UniNativeImageView'
|
|
26
|
+
export * from './UniNativeDefines'
|
|
27
|
+
export * from './UniNativeCustomView'
|
|
28
|
+
export * from './UniNativeBaseView'
|
|
29
|
+
export * from './UniImageElement'
|
|
30
|
+
export * from './UniElementType'
|
|
31
|
+
export * from './UniElement'
|
|
32
|
+
export * from './UniCommon'
|
|
33
|
+
export * from './UniCSSType'
|
|
34
|
+
export * from './UniCSSTransition'
|
|
35
|
+
export * from './UniCSSTransform'
|
|
36
|
+
export * from './UniCSSProperty'
|
|
37
|
+
export type UniPage = globalThis.UniPage
|
|
38
|
+
export type UniViewElement = globalThis.UniViewElement
|
|
39
|
+
export type DrawableContext = globalThis.DrawableContext
|
|
40
|
+
export type UniTextLayout = globalThis.UniTextLayout
|
|
41
|
+
export type UniLayoutSize = globalThis.UniLayoutSize
|
|
42
|
+
export type UniTextElement = globalThis.UniTextElement
|
|
43
|
+
export type UniScrollViewElement = globalThis.UniScrollViewElement
|
|
44
|
+
export type UniImageElement = globalThis.UniImageElement
|
|
45
|
+
export type UniElement = globalThis.UniElement
|
|
@@ -128,16 +128,28 @@ declare global {
|
|
|
128
128
|
*/
|
|
129
129
|
inheritAttrs: UniSharedDataJSONObject
|
|
130
130
|
constructor(scope: UniSharedDataPage)
|
|
131
|
+
/**
|
|
132
|
+
* 设置 vue id (主要用于自动化测试,js层设置)
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
_setVueId(id : number) : void
|
|
136
|
+
/**
|
|
137
|
+
* 获取 vue id (主要用于自动化测试,c层读取)
|
|
138
|
+
*/
|
|
139
|
+
getVueId() : number
|
|
131
140
|
/**
|
|
132
141
|
* 监听组件根节点样式变更
|
|
142
|
+
* @internal
|
|
133
143
|
*/
|
|
134
144
|
useComputedStyle(options : { properties : number[], filterProperties ?: boolean | null, callback : (result : Array<[number, any | null]>) => void }) : Map<string, any | null>
|
|
135
145
|
/**
|
|
136
146
|
* 由编译器动态生成的子类中的 Element 渲染器
|
|
147
|
+
* @internal
|
|
137
148
|
*/
|
|
138
149
|
abstract _renderElement(): UniElementBlock
|
|
139
150
|
/**
|
|
140
151
|
* 由编译器动态生成的子类中的 NativeView 渲染器
|
|
152
|
+
* @internal
|
|
141
153
|
*/
|
|
142
154
|
abstract _renderNativeView(): UniNativeViewBlock
|
|
143
155
|
}
|
|
@@ -239,6 +251,8 @@ declare global {
|
|
|
239
251
|
function useSharedDataComponent<T extends string>(scope: UniSharedDataPage): InferSharedData<T, UniSharedDataComponent>
|
|
240
252
|
|
|
241
253
|
function useSharedDataVFor<T, S extends UniSharedData>(sharedDataVFor: S): S
|
|
254
|
+
|
|
255
|
+
function useSharedDataRecycleVFor<T, S extends UniSharedData>(sharedDataVFor: S): S
|
|
242
256
|
}
|
|
243
257
|
|
|
244
258
|
export {}
|