@dcloudio/uni-app-x 0.7.83 → 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-internal/UniElement.d.ts +16 -0
- package/types/dom2-internal/sharedData.d.ts +12 -0
- package/types/native/IUniElement.d.ts +584 -542
- package/types/node_modules/.package-lock.json +0 -20
- package/types/node_modules/typescript/LICENSE.txt +0 -55
- package/types/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
- package/types/node_modules/typescript/bin/tsc +0 -2
- package/types/node_modules/typescript/bin/tsserver +0 -2
- package/types/node_modules/typescript/lib/cancellationToken.js +0 -90
- package/types/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/lib.d.ts +0 -22
- package/types/node_modules/typescript/lib/lib.decorators.d.ts +0 -386
- package/types/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
- package/types/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -33
- package/types/node_modules/typescript/lib/lib.dom.d.ts +0 -28596
- package/types/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -475
- package/types/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
- package/types/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
- package/types/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
- package/types/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
- package/types/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -495
- package/types/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
- package/types/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
- package/types/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
- package/types/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
- package/types/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
- package/types/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
- package/types/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
- package/types/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
- package/types/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
- package/types/node_modules/typescript/lib/lib.es2017.d.ts +0 -25
- package/types/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
- package/types/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
- package/types/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
- package/types/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
- package/types/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
- package/types/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
- package/types/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
- package/types/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
- package/types/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -43
- package/types/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
- package/types/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
- package/types/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
- package/types/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
- package/types/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
- package/types/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
- package/types/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
- package/types/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -727
- package/types/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
- package/types/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
- package/types/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
- package/types/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
- package/types/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
- package/types/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -97
- package/types/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -42
- package/types/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -37
- package/types/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
- package/types/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
- package/types/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
- package/types/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
- package/types/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -76
- package/types/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
- package/types/node_modules/typescript/lib/lib.es2022.d.ts +0 -26
- package/types/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -73
- package/types/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -117
- package/types/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
- package/types/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
- package/types/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +0 -39
- package/types/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
- package/types/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
- package/types/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
- package/types/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
- package/types/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
- package/types/node_modules/typescript/lib/lib.es5.d.ts +0 -4585
- package/types/node_modules/typescript/lib/lib.es6.d.ts +0 -23
- package/types/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
- package/types/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -106
- package/types/node_modules/typescript/lib/lib.esnext.d.ts +0 -28
- package/types/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
- package/types/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -185
- package/types/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
- package/types/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
- package/types/node_modules/typescript/lib/lib.esnext.object.d.ts +0 -29
- package/types/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -35
- package/types/node_modules/typescript/lib/lib.esnext.regexp.d.ts +0 -25
- package/types/node_modules/typescript/lib/lib.esnext.string.d.ts +0 -29
- package/types/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
- package/types/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -33
- package/types/node_modules/typescript/lib/lib.webworker.d.ts +0 -9431
- package/types/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
- package/types/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -276
- package/types/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/tsc.js +0 -129741
- package/types/node_modules/typescript/lib/tsserver.js +0 -621
- package/types/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
- package/types/node_modules/typescript/lib/tsserverlibrary.js +0 -21
- package/types/node_modules/typescript/lib/typesMap.json +0 -497
- package/types/node_modules/typescript/lib/typescript.d.ts +0 -11240
- package/types/node_modules/typescript/lib/typescript.js +0 -194910
- package/types/node_modules/typescript/lib/typingsInstaller.js +0 -236
- package/types/node_modules/typescript/lib/watchGuard.js +0 -53
- package/types/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -1880
- package/types/node_modules/typescript/package.json +0 -116
package/package.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { UniElementStyles } from './UniElementType'
|
|
2
|
+
import { UniSlotType } from './UniCommon'
|
|
2
3
|
import { UniCSSPropertyID, UniCSSPropertyName, UniCSSPropertyValue } from './UniCSSProperty'
|
|
3
4
|
import { UniCSSUnitType, UniCSSUnitValue } from './UniCSSType'
|
|
4
5
|
import { UniCSSBoxSizingType, UniCSSDisplayType, UniCSSPositionType, UniCSSBorderStyleType, UniCSSBorderWidthType } from './UniCSSProperty'
|
|
@@ -11,6 +12,16 @@ declare global {
|
|
|
11
12
|
*/
|
|
12
13
|
interface UniElement {
|
|
13
14
|
|
|
15
|
+
/**
|
|
16
|
+
* 以下属性在FlexNode和DOM层封装
|
|
17
|
+
* - Android平台:c层和kt层都需要封装
|
|
18
|
+
* - iOS平台:oc层实现
|
|
19
|
+
* - 鸿蒙平台:c层实现
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* 插槽名称
|
|
23
|
+
*/
|
|
24
|
+
slot: UniSlotType
|
|
14
25
|
/**
|
|
15
26
|
* 以下方法在FlexNode层封装,仅用于内部使用
|
|
16
27
|
* - Android平台:c层实现
|
|
@@ -202,6 +213,11 @@ declare global {
|
|
|
202
213
|
getParentNode(): UniElement | null
|
|
203
214
|
getChildNodes(): UniElement | null
|
|
204
215
|
|
|
216
|
+
/**
|
|
217
|
+
* 查找离当前元素最近可竖向滚动的祖先元素
|
|
218
|
+
*/
|
|
219
|
+
closestVerticalScrollElement(): UniScrollViewElement | null
|
|
220
|
+
|
|
205
221
|
/**
|
|
206
222
|
* 修改tagname
|
|
207
223
|
* 在c/kotlin层提供,仅对vue框架开放
|
|
@@ -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
|
}
|