@dcloudio/uni-app-x 0.7.55 → 0.7.57
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/app.d.ts +6 -6
- package/types/native/CanvasRenderingContext2D.d.ts +6 -1
- package/types/native/IUniElement.d.ts +6 -4
- package/types/native/IUniNativeViewElement.d.ts +140 -11
- package/types/native/Path2D.d.ts +75 -21
- package/types/native/UniCustomElement.d.ts +24 -0
- package/types/native/UniFormControlElement.d.ts +1 -1
- package/types/native/UniPage.d.ts +77 -38
- package/types/native/global.d.ts +4 -0
- package/types/native/index.d.ts +1 -0
- package/types/uni/env/index.d.ts +65 -9
- package/types/uni/uni-camera.d.ts +12 -1
- package/types/uni/uts-plugin-api/global.d.ts +4 -4
- package/types/uni/uts-plugin-api/index.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-authentication/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +76 -4
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +43 -1
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +60 -8
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +76 -1
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-getRecorderManager/utssdk/interface.d.ts +132 -38
- package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +43 -1
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/global.d.ts +22 -0
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +505 -38
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +0 -4
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/global.d.ts +26 -0
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/index.d.ts +12 -0
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +1770 -0
- package/types/uni/uts-plugin-api/lib/uni-location-system/utssdk/global.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-location-system/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-api/lib/uni-location-system/utssdk/interface.d.ts +9 -0
- package/types/uni/uts-plugin-api/lib/uni-location-tencent/utssdk/global.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-location-tencent/utssdk/index.d.ts +5 -0
- package/types/uni/uts-plugin-api/lib/uni-location-tencent/utssdk/interface.d.ts +9 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +1804 -1762
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +49 -5
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +41 -11
- package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +0 -76
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/global.d.ts +16 -0
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/index.d.ts +7 -0
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +1349 -0
- package/types/uni/uts-plugin-api/lib/uni-requestMerchantTransfer/utssdk/interface.d.ts +20 -20
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +51 -22
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +15 -0
- package/types/uni/uts-plugin-biz/lib/uni-map-tencent/utssdk/interface.d.ts +379 -18
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +225 -174
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +5 -0
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +2 -2
- package/types/uni-cloud/interface.d.ts +13 -13
- package/types/vue/PickerChangeEvent.d.ts +32 -0
- package/types/vue/PickerColumnChangeEvent.d.ts +33 -0
- package/types/vue/global.d.ts +40 -0
- package/types/vue/index.d.ts +2 -0
package/package.json
CHANGED
package/types/app.d.ts
CHANGED
|
@@ -895,9 +895,9 @@ export interface UniApp {
|
|
|
895
895
|
* "unixVer": "4.31"
|
|
896
896
|
* },
|
|
897
897
|
* "harmony": {
|
|
898
|
-
* "osVer": "
|
|
898
|
+
* "osVer": "5.0.0",
|
|
899
899
|
* "uniVer": "x",
|
|
900
|
-
* "unixVer": "
|
|
900
|
+
* "unixVer": "4.61"
|
|
901
901
|
* }
|
|
902
902
|
* },
|
|
903
903
|
* "mp": {
|
|
@@ -932,9 +932,9 @@ export interface UniApp {
|
|
|
932
932
|
* "unixVer": "4.31"
|
|
933
933
|
* },
|
|
934
934
|
* "harmony": {
|
|
935
|
-
* "osVer": "
|
|
935
|
+
* "osVer": "5.0.0",
|
|
936
936
|
* "uniVer": "x",
|
|
937
|
-
* "unixVer": "
|
|
937
|
+
* "unixVer": "4.61"
|
|
938
938
|
* }
|
|
939
939
|
* },
|
|
940
940
|
* "mp": {
|
|
@@ -968,9 +968,9 @@ export interface UniApp {
|
|
|
968
968
|
* "unixVer": "4.31"
|
|
969
969
|
* },
|
|
970
970
|
* "harmony": {
|
|
971
|
-
* "osVer": "
|
|
971
|
+
* "osVer": "5.0.0",
|
|
972
972
|
* "uniVer": "x",
|
|
973
|
-
* "unixVer": "
|
|
973
|
+
* "unixVer": "4.61"
|
|
974
974
|
* }
|
|
975
975
|
* },
|
|
976
976
|
* "mp": {
|
|
@@ -1613,7 +1613,12 @@ export interface CanvasRenderingContext2D {
|
|
|
1613
1613
|
* "osVer": "12.0",
|
|
1614
1614
|
* "uniVer": "√",
|
|
1615
1615
|
* "unixVer": "4.25"
|
|
1616
|
-
* }
|
|
1616
|
+
* },
|
|
1617
|
+
"harmony": {
|
|
1618
|
+
"osVer": "5.0.0",
|
|
1619
|
+
"uniVer": "x",
|
|
1620
|
+
"unixVer": "4.61"
|
|
1621
|
+
}
|
|
1617
1622
|
* }
|
|
1618
1623
|
* "web": {
|
|
1619
1624
|
* "uniVer": "√",
|
|
@@ -7,6 +7,7 @@ import { UniCallbackWrapper } from "./UniCallbackWrapper"
|
|
|
7
7
|
import { CanvasRenderingContext2D } from "./CanvasRenderingContext2D"
|
|
8
8
|
import { UniAnimation } from "./UniAnimation"
|
|
9
9
|
import { UniPage } from "./UniPage"
|
|
10
|
+
import { UniNativePage } from "./UniNativePage"
|
|
10
11
|
|
|
11
12
|
export type GetBoundingClientRectAsyncSuccessCallback = (rect: DOMRect) => void
|
|
12
13
|
export type GetBoundingClientRectAsyncFailCallback = () => void
|
|
@@ -109,7 +110,7 @@ export interface UniElement {
|
|
|
109
110
|
* }
|
|
110
111
|
* }
|
|
111
112
|
*/
|
|
112
|
-
uniPage:
|
|
113
|
+
uniPage: UniNativePage
|
|
113
114
|
/**
|
|
114
115
|
* 只读属性 获取当前元素的的 class 属性的动态集合。
|
|
115
116
|
* @uniPlatform {
|
|
@@ -1852,6 +1853,7 @@ export interface UniElement {
|
|
|
1852
1853
|
getAndroidActivity(): Activity | null
|
|
1853
1854
|
/**
|
|
1854
1855
|
* 获取元素所属的页面对象
|
|
1856
|
+
* @deprecated 请使用 uniPage 属性
|
|
1855
1857
|
* @uniPlatform {
|
|
1856
1858
|
* "app": {
|
|
1857
1859
|
* "android": {
|
|
@@ -1993,7 +1995,7 @@ export interface UniElement {
|
|
|
1993
1995
|
* "ios": {
|
|
1994
1996
|
* "osVer": "12.0",
|
|
1995
1997
|
* "uniVer": "x",
|
|
1996
|
-
* "unixVer": "
|
|
1998
|
+
* "unixVer": "4.61"
|
|
1997
1999
|
* },
|
|
1998
2000
|
* "harmony": {
|
|
1999
2001
|
* "osVer": "5.0.0",
|
|
@@ -2014,7 +2016,7 @@ export interface UniElement {
|
|
|
2014
2016
|
* }
|
|
2015
2017
|
* }
|
|
2016
2018
|
*/
|
|
2017
|
-
requestFullscreen(options
|
|
2019
|
+
requestFullscreen(options?: RequestFullscreenOptions|null) : void
|
|
2018
2020
|
}
|
|
2019
2021
|
|
|
2020
2022
|
export type RequestFullscreenOptions = {
|
|
@@ -2093,7 +2095,7 @@ export type FullscreenErrorCode =
|
|
|
2093
2095
|
*/
|
|
2094
2096
|
106603 |
|
|
2095
2097
|
/**
|
|
2096
|
-
*
|
|
2098
|
+
* 组件未就绪
|
|
2097
2099
|
*/
|
|
2098
2100
|
106604
|
|
2099
2101
|
|
|
@@ -14,7 +14,12 @@ import { UniCustomEvent } from "./UniCustomEvent"
|
|
|
14
14
|
* "osVer": "12.0",
|
|
15
15
|
* "uniVer": "x",
|
|
16
16
|
* "unixVer": "4.31"
|
|
17
|
-
* }
|
|
17
|
+
* },
|
|
18
|
+
* "harmony": {
|
|
19
|
+
* "osVer": "5.0.0",
|
|
20
|
+
* "uniVer": "x",
|
|
21
|
+
* "unixVer": "4.61"
|
|
22
|
+
* }
|
|
18
23
|
* }
|
|
19
24
|
* }
|
|
20
25
|
*/
|
|
@@ -32,7 +37,12 @@ export interface UniNativeViewElement extends UniElement {
|
|
|
32
37
|
* "osVer": "12.0",
|
|
33
38
|
* "uniVer": "x",
|
|
34
39
|
* "unixVer": "x"
|
|
35
|
-
* }
|
|
40
|
+
* },
|
|
41
|
+
* "harmony": {
|
|
42
|
+
* "osVer": "x",
|
|
43
|
+
* "uniVer": "x",
|
|
44
|
+
* "unixVer": "x"
|
|
45
|
+
* }
|
|
36
46
|
* }
|
|
37
47
|
* }
|
|
38
48
|
*/
|
|
@@ -50,18 +60,130 @@ export interface UniNativeViewElement extends UniElement {
|
|
|
50
60
|
* "osVer": "12.0",
|
|
51
61
|
* "uniVer": "x",
|
|
52
62
|
* "unixVer": "4.31"
|
|
53
|
-
* }
|
|
63
|
+
* },
|
|
64
|
+
* "harmony": {
|
|
65
|
+
* "osVer": "x",
|
|
66
|
+
* "uniVer": "x",
|
|
67
|
+
* "unixVer": "x"
|
|
68
|
+
* }
|
|
54
69
|
* }
|
|
55
70
|
* }
|
|
56
71
|
*/
|
|
57
72
|
bindIOSView(view: UIView): void
|
|
73
|
+
/**
|
|
74
|
+
* 绑定鸿蒙 FrameNode
|
|
75
|
+
* @uniPlatform {
|
|
76
|
+
* "app": {
|
|
77
|
+
* "android": {
|
|
78
|
+
* "osVer": "x",
|
|
79
|
+
* "uniVer": "x",
|
|
80
|
+
* "unixVer": "x"
|
|
81
|
+
* },
|
|
82
|
+
* "ios": {
|
|
83
|
+
* "osVer": "x",
|
|
84
|
+
* "uniVer": "x",
|
|
85
|
+
* "unixVer": "x"
|
|
86
|
+
* },
|
|
87
|
+
* "harmony": {
|
|
88
|
+
* "osVer": "5.0.0",
|
|
89
|
+
* "uniVer": "x",
|
|
90
|
+
* "unixVer": "4.61"
|
|
91
|
+
* }
|
|
92
|
+
* }
|
|
93
|
+
* }
|
|
94
|
+
*/
|
|
58
95
|
bindHarmonyFrameNode(node: FrameNode): void
|
|
96
|
+
/**
|
|
97
|
+
* 绑定鸿蒙 wrapperBuilder
|
|
98
|
+
* @uniPlatform {
|
|
99
|
+
* "app": {
|
|
100
|
+
* "android": {
|
|
101
|
+
* "osVer": "x",
|
|
102
|
+
* "uniVer": "x",
|
|
103
|
+
* "unixVer": "x"
|
|
104
|
+
* },
|
|
105
|
+
* "ios": {
|
|
106
|
+
* "osVer": "x",
|
|
107
|
+
* "uniVer": "x",
|
|
108
|
+
* "unixVer": "x"
|
|
109
|
+
* },
|
|
110
|
+
* "harmony": {
|
|
111
|
+
* "osVer": "5.0.0",
|
|
112
|
+
* "uniVer": "x",
|
|
113
|
+
* "unixVer": "4.61"
|
|
114
|
+
* }
|
|
115
|
+
* }
|
|
116
|
+
* }
|
|
117
|
+
*/
|
|
59
118
|
bindHarmonyWrappedBuilder<O extends Object>(builder: WrappedBuilder<[options: O]>, options?: ESObject): BuilderNode<[O]>
|
|
60
|
-
|
|
119
|
+
/**
|
|
120
|
+
* 获取鸿蒙 FrameNode
|
|
121
|
+
* @uniPlatform {
|
|
122
|
+
* "app": {
|
|
123
|
+
* "android": {
|
|
124
|
+
* "osVer": "x",
|
|
125
|
+
* "uniVer": "x",
|
|
126
|
+
* "unixVer": "x"
|
|
127
|
+
* },
|
|
128
|
+
* "ios": {
|
|
129
|
+
* "osVer": "x",
|
|
130
|
+
* "uniVer": "x",
|
|
131
|
+
* "unixVer": "x"
|
|
132
|
+
* },
|
|
133
|
+
* "harmony": {
|
|
134
|
+
* "osVer": "5.0.0",
|
|
135
|
+
* "uniVer": "x",
|
|
136
|
+
* "unixVer": "4.61"
|
|
137
|
+
* }
|
|
138
|
+
* }
|
|
139
|
+
* }
|
|
140
|
+
*/
|
|
61
141
|
getHarmonyFrameNode(): FrameNode | null
|
|
62
|
-
|
|
142
|
+
/**
|
|
143
|
+
* 获取鸿蒙 BuilderNode
|
|
144
|
+
* @uniPlatform {
|
|
145
|
+
* "app": {
|
|
146
|
+
* "android": {
|
|
147
|
+
* "osVer": "x",
|
|
148
|
+
* "uniVer": "x",
|
|
149
|
+
* "unixVer": "x"
|
|
150
|
+
* },
|
|
151
|
+
* "ios": {
|
|
152
|
+
* "osVer": "x",
|
|
153
|
+
* "uniVer": "x",
|
|
154
|
+
* "unixVer": "x"
|
|
155
|
+
* },
|
|
156
|
+
* "harmony": {
|
|
157
|
+
* "osVer": "5.0.0",
|
|
158
|
+
* "uniVer": "x",
|
|
159
|
+
* "unixVer": "4.61"
|
|
160
|
+
* }
|
|
161
|
+
* }
|
|
162
|
+
* }
|
|
163
|
+
*/
|
|
63
164
|
getHarmonyBuilderNode<O extends Object>(): BuilderNode<[O]>
|
|
64
|
-
|
|
165
|
+
/**
|
|
166
|
+
* 绑定鸿蒙控制器
|
|
167
|
+
* @uniPlatform {
|
|
168
|
+
* "app": {
|
|
169
|
+
* "android": {
|
|
170
|
+
* "osVer": "x",
|
|
171
|
+
* "uniVer": "x",
|
|
172
|
+
* "unixVer": "x"
|
|
173
|
+
* },
|
|
174
|
+
* "ios": {
|
|
175
|
+
* "osVer": "x",
|
|
176
|
+
* "uniVer": "x",
|
|
177
|
+
* "unixVer": "x"
|
|
178
|
+
* },
|
|
179
|
+
* "harmony": {
|
|
180
|
+
* "osVer": "5.0.0",
|
|
181
|
+
* "uniVer": "x",
|
|
182
|
+
* "unixVer": "4.61"
|
|
183
|
+
* }
|
|
184
|
+
* }
|
|
185
|
+
* }
|
|
186
|
+
*/
|
|
65
187
|
bindHarmonyController<T extends Object>(controller: T): void
|
|
66
188
|
}
|
|
67
189
|
|
|
@@ -84,7 +206,12 @@ export let UniNativeViewElement: {
|
|
|
84
206
|
* "osVer": "12.0",
|
|
85
207
|
* "uniVer": "x",
|
|
86
208
|
* "unixVer": "4.31"
|
|
87
|
-
* }
|
|
209
|
+
* },
|
|
210
|
+
* "harmony": {
|
|
211
|
+
* "osVer": "5.0.0",
|
|
212
|
+
* "uniVer": "x",
|
|
213
|
+
* "unixVer": "4.61"
|
|
214
|
+
* }
|
|
88
215
|
* }
|
|
89
216
|
* }
|
|
90
217
|
*/
|
|
@@ -120,13 +247,15 @@ export class UniNativeViewInitEventDetail {
|
|
|
120
247
|
* "osVer": "12.0",
|
|
121
248
|
* "uniVer": "x",
|
|
122
249
|
* "unixVer": "4.31"
|
|
123
|
-
* }
|
|
250
|
+
* },
|
|
251
|
+
* "harmony": {
|
|
252
|
+
* "osVer": "5.0.0",
|
|
253
|
+
* "uniVer": "x",
|
|
254
|
+
* "unixVer": "4.61"
|
|
255
|
+
* }
|
|
124
256
|
* }
|
|
125
257
|
* }
|
|
126
258
|
*/
|
|
127
259
|
export class UniNativeViewInitEvent extends UniCustomEvent<UniNativeViewInitEventDetail> {
|
|
128
|
-
detail : UniNativeViewInitEventDetail
|
|
129
|
-
type: string
|
|
130
|
-
|
|
131
260
|
constructor(type: string, detail: UniNativeViewInitEventDetail)
|
|
132
261
|
}
|
package/types/native/Path2D.d.ts
CHANGED
|
@@ -1,27 +1,33 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @package io.dcloud.uniapp.runtime
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
*
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Path2D用来声明路径,用来在canvas中根据需要创建可以保留并重用的路径, 此路径会被CanvasRenderingContext2D对象使用
|
|
6
|
+
* @uniPlatform {
|
|
7
|
+
* "app": {
|
|
8
|
+
* "android": {
|
|
9
|
+
* "osVer": "5.0",
|
|
10
|
+
* "uniVer": "x",
|
|
11
|
+
* "unixVer": "4.25"
|
|
12
|
+
* },
|
|
13
|
+
* "ios": {
|
|
14
|
+
* "osVer": "12.0",
|
|
15
|
+
* "uniVer": "x",
|
|
16
|
+
* "unixVer": "4.25"
|
|
17
|
+
* },
|
|
18
|
+
* "harmony": {
|
|
19
|
+
* "osVer": "5.0.0",
|
|
20
|
+
* "uniVer": "x",
|
|
21
|
+
* "unixVer": "4.61"
|
|
22
|
+
* }
|
|
23
|
+
* }
|
|
24
|
+
* }
|
|
25
|
+
* "web": {
|
|
26
|
+
* "uniVer": "√",
|
|
27
|
+
* "unixVer": "4.0"
|
|
28
|
+
* }
|
|
29
|
+
* }
|
|
30
|
+
*/
|
|
25
31
|
export class Path2D {
|
|
26
32
|
/**
|
|
27
33
|
* 闭合路径,将最后一个点与起点连接起来。如果图形已经封闭,或者只有一个点,那么此方法不会产生任何效果。
|
|
@@ -36,8 +42,14 @@ export class Path2D {
|
|
|
36
42
|
* "osVer": "12.0",
|
|
37
43
|
* "uniVer": "x",
|
|
38
44
|
* "unixVer": "4.25"
|
|
45
|
+
* },
|
|
46
|
+
* "harmony": {
|
|
47
|
+
* "osVer": "5.0.0",
|
|
48
|
+
* "uniVer": "x",
|
|
49
|
+
* "unixVer": "4.61"
|
|
39
50
|
* }
|
|
40
51
|
* }
|
|
52
|
+
* }
|
|
41
53
|
* "web": {
|
|
42
54
|
* "uniVer": "√",
|
|
43
55
|
* "unixVer": "4.0"
|
|
@@ -61,8 +73,14 @@ export class Path2D {
|
|
|
61
73
|
* "osVer": "12.0",
|
|
62
74
|
* "uniVer": "x",
|
|
63
75
|
* "unixVer": "4.25"
|
|
76
|
+
* },
|
|
77
|
+
* "harmony": {
|
|
78
|
+
* "osVer": "5.0.0",
|
|
79
|
+
* "uniVer": "x",
|
|
80
|
+
* "unixVer": "4.61"
|
|
64
81
|
* }
|
|
65
82
|
* }
|
|
83
|
+
* }
|
|
66
84
|
* "web": {
|
|
67
85
|
* "uniVer": "√",
|
|
68
86
|
* "unixVer": "4.0"
|
|
@@ -86,8 +104,14 @@ export class Path2D {
|
|
|
86
104
|
* "osVer": "12.0",
|
|
87
105
|
* "uniVer": "x",
|
|
88
106
|
* "unixVer": "4.25"
|
|
107
|
+
* },
|
|
108
|
+
* "harmony": {
|
|
109
|
+
* "osVer": "5.0.0",
|
|
110
|
+
* "uniVer": "x",
|
|
111
|
+
* "unixVer": "4.61"
|
|
89
112
|
* }
|
|
90
113
|
* }
|
|
114
|
+
* }
|
|
91
115
|
* "web": {
|
|
92
116
|
* "uniVer": "√",
|
|
93
117
|
* "unixVer": "4.0"
|
|
@@ -115,8 +139,14 @@ export class Path2D {
|
|
|
115
139
|
* "osVer": "12.0",
|
|
116
140
|
* "uniVer": "x",
|
|
117
141
|
* "unixVer": "4.25"
|
|
142
|
+
* },
|
|
143
|
+
* "harmony": {
|
|
144
|
+
* "osVer": "5.0.0",
|
|
145
|
+
* "uniVer": "x",
|
|
146
|
+
* "unixVer": "4.61"
|
|
118
147
|
* }
|
|
119
148
|
* }
|
|
149
|
+
* }
|
|
120
150
|
* "web": {
|
|
121
151
|
* "uniVer": "√",
|
|
122
152
|
* "unixVer": "4.0"
|
|
@@ -142,8 +172,14 @@ export class Path2D {
|
|
|
142
172
|
* "osVer": "12.0",
|
|
143
173
|
* "uniVer": "x",
|
|
144
174
|
* "unixVer": "4.25"
|
|
175
|
+
* },
|
|
176
|
+
* "harmony": {
|
|
177
|
+
* "osVer": "5.0.0",
|
|
178
|
+
* "uniVer": "x",
|
|
179
|
+
* "unixVer": "4.61"
|
|
145
180
|
* }
|
|
146
181
|
* }
|
|
182
|
+
* }
|
|
147
183
|
* "web": {
|
|
148
184
|
* "uniVer": "√",
|
|
149
185
|
* "unixVer": "4.0"
|
|
@@ -171,8 +207,14 @@ export class Path2D {
|
|
|
171
207
|
* "osVer": "12.0",
|
|
172
208
|
* "uniVer": "x",
|
|
173
209
|
* "unixVer": "4.25"
|
|
210
|
+
* },
|
|
211
|
+
* "harmony": {
|
|
212
|
+
* "osVer": "5.0.0",
|
|
213
|
+
* "uniVer": "x",
|
|
214
|
+
* "unixVer": "4.61"
|
|
174
215
|
* }
|
|
175
216
|
* }
|
|
217
|
+
* }
|
|
176
218
|
* "web": {
|
|
177
219
|
* "uniVer": "√",
|
|
178
220
|
* "unixVer": "4.0"
|
|
@@ -199,8 +241,14 @@ export class Path2D {
|
|
|
199
241
|
* "osVer": "12.0",
|
|
200
242
|
* "uniVer": "x",
|
|
201
243
|
* "unixVer": "4.25"
|
|
244
|
+
* },
|
|
245
|
+
* "harmony": {
|
|
246
|
+
* "osVer": "5.0.0",
|
|
247
|
+
* "uniVer": "x",
|
|
248
|
+
* "unixVer": "4.61"
|
|
202
249
|
* }
|
|
203
250
|
* }
|
|
251
|
+
* }
|
|
204
252
|
* "web": {
|
|
205
253
|
* "uniVer": "√",
|
|
206
254
|
* "unixVer": "4.0"
|
|
@@ -257,8 +305,14 @@ export class Path2D {
|
|
|
257
305
|
* "osVer": "12.0",
|
|
258
306
|
* "uniVer": "x",
|
|
259
307
|
* "unixVer": "4.25"
|
|
308
|
+
* },
|
|
309
|
+
* "harmony": {
|
|
310
|
+
* "osVer": "5.0.0",
|
|
311
|
+
* "uniVer": "x",
|
|
312
|
+
* "unixVer": "4.61"
|
|
260
313
|
* }
|
|
261
314
|
* }
|
|
315
|
+
* }
|
|
262
316
|
* "web": {
|
|
263
317
|
* "uniVer": "√",
|
|
264
318
|
* "unixVer": "4.0"
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface UniCustomElement {
|
|
2
|
+
/**
|
|
3
|
+
* 当元素被插入到文档时调用
|
|
4
|
+
*/
|
|
5
|
+
connectedCallback?(): void;
|
|
6
|
+
/**
|
|
7
|
+
* 当元素从文档中删除时调用
|
|
8
|
+
*/
|
|
9
|
+
disconnectedCallback?(): void;
|
|
10
|
+
/**
|
|
11
|
+
* 当元素被移动到新文档时调用
|
|
12
|
+
*/
|
|
13
|
+
adoptedCallback?(): void;
|
|
14
|
+
/**
|
|
15
|
+
* 当元素的属性被添加、移除或更改时调用
|
|
16
|
+
*/
|
|
17
|
+
attributeChangedCallback?(
|
|
18
|
+
name: string,
|
|
19
|
+
oldValue: string,
|
|
20
|
+
newValue: string
|
|
21
|
+
): void;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type IUniCustom = UniCustomElement
|
|
@@ -4,7 +4,7 @@ import { UniFormControl } from "./UniFormControl"
|
|
|
4
4
|
import { INodeData } from "./NodeData"
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* @package io.dcloud.uniapp.
|
|
7
|
+
* @package io.dcloud.uniapp.runtime
|
|
8
8
|
*/
|
|
9
9
|
export class UniFormControlElement<T> extends UniElementImpl implements UniFormControl<T> {
|
|
10
10
|
constructor (data: INodeData, pageNode: PageNode)
|