@dcloudio/uni-app-x 0.7.95 → 0.7.97

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.95",
3
+ "version": "0.7.97",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "main": "index.d.ts",
@@ -1,358 +1,6 @@
1
1
  import { UniNativeColor } from "./UniNativeDefines"
2
2
 
3
3
 
4
- /**
5
- * CSS属性名称ID
6
- * 枚举值
7
- */
8
- export enum UniCSSPropertyID {
9
- /**
10
- * 无效属性
11
- */
12
- Invalid,
13
- /**
14
- * CSS变量
15
- */
16
- Variable,
17
- /*排版样式*/
18
- /**
19
- * 元素的上外边距边界与其包含块上边界之间的偏移 top
20
- * 非定位元素设置此属性无效
21
- */
22
- Top,
23
- /**
24
- * 元素的右外边距边界与其包含块右边界之间的偏移 right
25
- * 非定位元素设置此属性无效
26
- */
27
- Right,
28
- /**
29
- * 元素下外边距边界与其包含块下边界之间的偏移 bottom
30
- * 非定位元素设置此属性无效
31
- */
32
- Bottom,
33
- /**
34
- * 元素的左外边距边界与其包含块左边界之间的偏移 left
35
- * 非定位元素设置此属性无效
36
- */
37
- Left,
38
- /**
39
- * 元素的宽度
40
- */
41
- Width,
42
- /**
43
- * 元素的高度
44
- */
45
- Height,
46
- /**
47
- * 元素的最小宽度
48
- */
49
- MinWidth,
50
- /**
51
- * 元素的最小高度
52
- */
53
- MinHeight,
54
- /**
55
- * 元素的最大宽度
56
- */
57
- MaxWidth,
58
- /**
59
- * 元素的最大高度
60
- */
61
- MaxHeight,
62
- /**
63
- * 元素的盒模型
64
- */
65
- BoxSizing,
66
-
67
- /**
68
- * Margin相关
69
- */
70
- /**
71
- * 元素的外边距 margin
72
- */
73
- Margin,
74
- /**
75
- * 元素的顶部外边距 margin-top
76
- */
77
- MarginTop,
78
- /**
79
- * 元素的右侧外边距 margin-right
80
- */
81
- MarginRight,
82
- /**
83
- * 元素的底部外边距 margin-bottom
84
- */
85
- MarginBottom,
86
- /**
87
- * 元素的左侧外边距 margin-left
88
- */
89
- MarginLeft,
90
-
91
- /**
92
- * Padding相关
93
- */
94
- /**
95
- * 元素的内边距 padding
96
- */
97
- Padding,
98
- /**
99
- * 元素的顶部内边距 padding-top
100
- */
101
- PaddingTop,
102
- /**
103
- * 元素的右侧内边距 padding-right
104
- */
105
- PaddingRight,
106
- /**
107
- * 元素的底部内边距 padding-bottom
108
- */
109
- PaddingBottom,
110
- /**
111
- * 元素的左侧内边距 padding-left
112
- */
113
- PaddingLeft,
114
-
115
- /**
116
- * Border相关
117
- */
118
- /**
119
- * 元素边框的简写属性 border
120
- */
121
- Border,
122
- /**
123
- * 元素所有边框的宽度 border-width
124
- */
125
- BorderWidth,
126
- /**
127
- * 元素所有边框的样式 border-style
128
- */
129
- BorderStyle,
130
- /**
131
- * 元素顶部边框的简写属性 border-top
132
- */
133
- BorderTop,
134
- /**
135
- * 元素顶部边框的宽度 border-top-width
136
- */
137
- BorderTopWidth,
138
- /**
139
- * 元素顶部边框的样式 border-top-style
140
- */
141
- BorderTopStyle,
142
- /**
143
- * 元素右边框的简写属性 border-right
144
- */
145
- BorderRight,
146
- /**
147
- * 元素右边框的宽度 border-right-width
148
- */
149
- BorderRightWidth,
150
- /**
151
- * 元素右边框的样式 border-right-style
152
- */
153
- BorderRightStyle,
154
- /**
155
- * 元素底部边框的简写属性 border-bottom
156
- */
157
- BorderBottom,
158
- /**
159
- * 元素底部边框的宽度 border-bottom-width
160
- */
161
- BorderBottomWidth,
162
- /**
163
- * 元素底部边框的样式 border-bottom-style
164
- */
165
- BorderBottomStyle,
166
- /**
167
- * 元素左边框的简写属性 border-left
168
- */
169
- BorderLeft,
170
- /**
171
- * 元素左边框的宽度 border-left-width
172
- */
173
- BorderLeftWidth,
174
- /**
175
- * 元素左边框的样式 border-left-style
176
- */
177
- BorderLeftStyle,
178
-
179
- /**
180
- * Flex相关
181
- */
182
- /**
183
- * Flex布局 简写属性 flex
184
- * flex-grow|flex-shrink|flex-basis 的简写
185
- * 单值:flex-grow|flex-basis|关键字
186
- * 双值:flex-grow|flex-basis
187
- * 三值:flex-grow|flex-shrink|flex-basis
188
- */
189
- Flex,
190
- /**
191
- * Flex布局 主轴方向 flex-direction
192
- */
193
- FlexDirection,
194
- /**
195
- * Flex布局 元素是单行还是多行显示,允许多行时的堆叠方向 flex-wrap
196
- */
197
- FlexWrap,
198
- /**
199
- * Flex布局 flex-direction|flex-wrap 的简写 flex-flow
200
- */
201
- FlexFlow,
202
- /**
203
- * Flex布局 元素主尺寸的增长系数 flex-grow
204
- */
205
- FlexGrow,
206
- /**
207
- * Flex布局 元素宽度的收缩规则 flex-shrink
208
- */
209
- FlexShrink,
210
- /**
211
- * Flex布局 元素在主轴方向上的初始大小 flex-basis
212
- */
213
- FlexBasis,
214
- /**
215
- * Flex布局 子元素在主轴方向的对齐方式 justify-content
216
- */
217
- JustifyContent,
218
- /**
219
- * Flex布局 子元素在交叉轴方向的对齐方式 align-items
220
- */
221
- AlignItems,
222
- /**
223
- * Flex布局 元素在父元素中的交叉轴方向的对齐方式(覆盖父元素设置的align-items值) align-self
224
- */
225
- AlignSelf,
226
- /**
227
- * Flex布局 子元素在交叉轴方向的整体分布方式 align-content
228
- */
229
- AlignContent,
230
-
231
- /*渲染排版样式*/
232
- /**
233
- * 元素的 Z 轴顺序 z-index
234
- */
235
- ZIndex,
236
- /**
237
- * 元素布局方式 display
238
- * https://doc.dcloud.net.cn/uni-app-x/css/display.html
239
- */
240
- Display,
241
- /**
242
- * 元素定位方式 position
243
- * https://doc.dcloud.net.cn/uni-app-x/css/position.html
244
- */
245
- Position,
246
-
247
- /*渲染样式*/
248
- /**
249
- * 元素显示或隐藏,不更改布局
250
- */
251
- Visibility,
252
- /**
253
- * 元素溢出时所需的行为 overflow
254
- */
255
- Overflow,
256
- /**
257
- * 元素左下角的圆角半径 border-bottom-left-radius
258
- */
259
- BorderBottomLeftRadius,
260
- /**
261
- * 元素右下角的圆角半径 border-bottom-right-radius
262
- */
263
- BorderBottomRightRadius,
264
- /**
265
- * 元素顶部边框的颜色 border-top-color
266
- */
267
- BorderTopColor,
268
- /**
269
- * 元素边框所有圆角半径 border-radius
270
- */
271
- BorderRadius,
272
- /**
273
- * 元素所有边框的颜色 border-color
274
- */
275
- BorderColor,
276
- /**
277
- * 元素左上角的圆角半径 border-top-left-radius
278
- */
279
- BorderTopLeftRadius,
280
- /**
281
- * 元素右上角的圆角半径 border-top-right-radius
282
- */
283
- BorderTopRightRadius,
284
- /**
285
- * 元素左边框的颜色 border-left-color
286
- */
287
- BorderLeftColor,
288
- /**
289
- * 元素底部边框的颜色 border-bottom-color
290
- */
291
- BorderBottomColor,
292
- /**
293
- * 元素右边框的颜色 border-right-color
294
- */
295
- BorderRightColor,
296
- /**
297
- * 背景相关
298
- */
299
- Background,
300
- BackgroundColor,
301
- BackgroundImage,
302
- BackgroundClip,
303
-
304
- /**
305
- * 字体相关
306
- */
307
- FontFamily,
308
- FontSize,
309
- FontStyle,
310
- FontWeight,
311
- LineHeight,
312
- LetterSpacing,
313
- Lines, //将废弃,通过组件属性max-lines替换
314
-
315
- Color,
316
- TextAlign,
317
- TextDecoration,
318
- TextDecorationColor,
319
- TextDecorationLine,
320
- TextDecorationStyle,
321
- TextDecorationThickness,
322
- TextOverflow,
323
- TextShadow,
324
- WhiteSpace,
325
-
326
- /**
327
- * 元素变换相关
328
- */
329
- Transform,
330
- TransformOrigin,
331
- TransformInternal,
332
-
333
- /**
334
- * 元素动画相关
335
- */
336
- Transition,
337
- TransitionProperty,
338
- TransitionDuration,
339
- TransitionDelay,
340
- TransitionTimingFunction,
341
-
342
- /**
343
- * 其它
344
- */
345
- Opacity,
346
- BoxShadow,
347
- PointerEvents,
348
-
349
- /**
350
- * 代指所有属性值
351
- */
352
- All,
353
- }
354
-
355
-
356
4
  /**
357
5
  * CSS属性名称
358
6
  * 字符串类型
@@ -0,0 +1,351 @@
1
+
2
+ /**
3
+ * CSS属性名称ID
4
+ * 枚举值
5
+ */
6
+ export enum UniCSSPropertyID {
7
+ /**
8
+ * 无效属性
9
+ */
10
+ Invalid,
11
+ /**
12
+ * CSS变量
13
+ */
14
+ Variable,
15
+ /*排版样式*/
16
+ /**
17
+ * 元素的上外边距边界与其包含块上边界之间的偏移 top
18
+ * 非定位元素设置此属性无效
19
+ */
20
+ Top,
21
+ /**
22
+ * 元素的右外边距边界与其包含块右边界之间的偏移 right
23
+ * 非定位元素设置此属性无效
24
+ */
25
+ Right,
26
+ /**
27
+ * 元素下外边距边界与其包含块下边界之间的偏移 bottom
28
+ * 非定位元素设置此属性无效
29
+ */
30
+ Bottom,
31
+ /**
32
+ * 元素的左外边距边界与其包含块左边界之间的偏移 left
33
+ * 非定位元素设置此属性无效
34
+ */
35
+ Left,
36
+ /**
37
+ * 元素的宽度
38
+ */
39
+ Width,
40
+ /**
41
+ * 元素的高度
42
+ */
43
+ Height,
44
+ /**
45
+ * 元素的最小宽度
46
+ */
47
+ MinWidth,
48
+ /**
49
+ * 元素的最小高度
50
+ */
51
+ MinHeight,
52
+ /**
53
+ * 元素的最大宽度
54
+ */
55
+ MaxWidth,
56
+ /**
57
+ * 元素的最大高度
58
+ */
59
+ MaxHeight,
60
+ /**
61
+ * 元素的盒模型
62
+ */
63
+ BoxSizing,
64
+
65
+ /**
66
+ * Margin相关
67
+ */
68
+ /**
69
+ * 元素的外边距 margin
70
+ */
71
+ Margin,
72
+ /**
73
+ * 元素的顶部外边距 margin-top
74
+ */
75
+ MarginTop,
76
+ /**
77
+ * 元素的右侧外边距 margin-right
78
+ */
79
+ MarginRight,
80
+ /**
81
+ * 元素的底部外边距 margin-bottom
82
+ */
83
+ MarginBottom,
84
+ /**
85
+ * 元素的左侧外边距 margin-left
86
+ */
87
+ MarginLeft,
88
+
89
+ /**
90
+ * Padding相关
91
+ */
92
+ /**
93
+ * 元素的内边距 padding
94
+ */
95
+ Padding,
96
+ /**
97
+ * 元素的顶部内边距 padding-top
98
+ */
99
+ PaddingTop,
100
+ /**
101
+ * 元素的右侧内边距 padding-right
102
+ */
103
+ PaddingRight,
104
+ /**
105
+ * 元素的底部内边距 padding-bottom
106
+ */
107
+ PaddingBottom,
108
+ /**
109
+ * 元素的左侧内边距 padding-left
110
+ */
111
+ PaddingLeft,
112
+
113
+ /**
114
+ * Border相关
115
+ */
116
+ /**
117
+ * 元素边框的简写属性 border
118
+ */
119
+ Border,
120
+ /**
121
+ * 元素所有边框的宽度 border-width
122
+ */
123
+ BorderWidth,
124
+ /**
125
+ * 元素所有边框的样式 border-style
126
+ */
127
+ BorderStyle,
128
+ /**
129
+ * 元素顶部边框的简写属性 border-top
130
+ */
131
+ BorderTop,
132
+ /**
133
+ * 元素顶部边框的宽度 border-top-width
134
+ */
135
+ BorderTopWidth,
136
+ /**
137
+ * 元素顶部边框的样式 border-top-style
138
+ */
139
+ BorderTopStyle,
140
+ /**
141
+ * 元素右边框的简写属性 border-right
142
+ */
143
+ BorderRight,
144
+ /**
145
+ * 元素右边框的宽度 border-right-width
146
+ */
147
+ BorderRightWidth,
148
+ /**
149
+ * 元素右边框的样式 border-right-style
150
+ */
151
+ BorderRightStyle,
152
+ /**
153
+ * 元素底部边框的简写属性 border-bottom
154
+ */
155
+ BorderBottom,
156
+ /**
157
+ * 元素底部边框的宽度 border-bottom-width
158
+ */
159
+ BorderBottomWidth,
160
+ /**
161
+ * 元素底部边框的样式 border-bottom-style
162
+ */
163
+ BorderBottomStyle,
164
+ /**
165
+ * 元素左边框的简写属性 border-left
166
+ */
167
+ BorderLeft,
168
+ /**
169
+ * 元素左边框的宽度 border-left-width
170
+ */
171
+ BorderLeftWidth,
172
+ /**
173
+ * 元素左边框的样式 border-left-style
174
+ */
175
+ BorderLeftStyle,
176
+
177
+ /**
178
+ * Flex相关
179
+ */
180
+ /**
181
+ * Flex布局 简写属性 flex
182
+ * flex-grow|flex-shrink|flex-basis 的简写
183
+ * 单值:flex-grow|flex-basis|关键字
184
+ * 双值:flex-grow|flex-basis
185
+ * 三值:flex-grow|flex-shrink|flex-basis
186
+ */
187
+ Flex,
188
+ /**
189
+ * Flex布局 主轴方向 flex-direction
190
+ */
191
+ FlexDirection,
192
+ /**
193
+ * Flex布局 元素是单行还是多行显示,允许多行时的堆叠方向 flex-wrap
194
+ */
195
+ FlexWrap,
196
+ /**
197
+ * Flex布局 flex-direction|flex-wrap 的简写 flex-flow
198
+ */
199
+ FlexFlow,
200
+ /**
201
+ * Flex布局 元素主尺寸的增长系数 flex-grow
202
+ */
203
+ FlexGrow,
204
+ /**
205
+ * Flex布局 元素宽度的收缩规则 flex-shrink
206
+ */
207
+ FlexShrink,
208
+ /**
209
+ * Flex布局 元素在主轴方向上的初始大小 flex-basis
210
+ */
211
+ FlexBasis,
212
+ /**
213
+ * Flex布局 子元素在主轴方向的对齐方式 justify-content
214
+ */
215
+ JustifyContent,
216
+ /**
217
+ * Flex布局 子元素在交叉轴方向的对齐方式 align-items
218
+ */
219
+ AlignItems,
220
+ /**
221
+ * Flex布局 元素在父元素中的交叉轴方向的对齐方式(覆盖父元素设置的align-items值) align-self
222
+ */
223
+ AlignSelf,
224
+ /**
225
+ * Flex布局 子元素在交叉轴方向的整体分布方式 align-content
226
+ */
227
+ AlignContent,
228
+
229
+ /*渲染排版样式*/
230
+ /**
231
+ * 元素的 Z 轴顺序 z-index
232
+ */
233
+ ZIndex,
234
+ /**
235
+ * 元素布局方式 display
236
+ * https://doc.dcloud.net.cn/uni-app-x/css/display.html
237
+ */
238
+ Display,
239
+ /**
240
+ * 元素定位方式 position
241
+ * https://doc.dcloud.net.cn/uni-app-x/css/position.html
242
+ */
243
+ Position,
244
+
245
+ /*渲染样式*/
246
+ /**
247
+ * 元素显示或隐藏,不更改布局
248
+ */
249
+ Visibility,
250
+ /**
251
+ * 元素溢出时所需的行为 overflow
252
+ */
253
+ Overflow,
254
+ /**
255
+ * 元素左下角的圆角半径 border-bottom-left-radius
256
+ */
257
+ BorderBottomLeftRadius,
258
+ /**
259
+ * 元素右下角的圆角半径 border-bottom-right-radius
260
+ */
261
+ BorderBottomRightRadius,
262
+ /**
263
+ * 元素顶部边框的颜色 border-top-color
264
+ */
265
+ BorderTopColor,
266
+ /**
267
+ * 元素边框所有圆角半径 border-radius
268
+ */
269
+ BorderRadius,
270
+ /**
271
+ * 元素所有边框的颜色 border-color
272
+ */
273
+ BorderColor,
274
+ /**
275
+ * 元素左上角的圆角半径 border-top-left-radius
276
+ */
277
+ BorderTopLeftRadius,
278
+ /**
279
+ * 元素右上角的圆角半径 border-top-right-radius
280
+ */
281
+ BorderTopRightRadius,
282
+ /**
283
+ * 元素左边框的颜色 border-left-color
284
+ */
285
+ BorderLeftColor,
286
+ /**
287
+ * 元素底部边框的颜色 border-bottom-color
288
+ */
289
+ BorderBottomColor,
290
+ /**
291
+ * 元素右边框的颜色 border-right-color
292
+ */
293
+ BorderRightColor,
294
+ /**
295
+ * 背景相关
296
+ */
297
+ Background,
298
+ BackgroundColor,
299
+ BackgroundImage,
300
+ BackgroundClip,
301
+
302
+ /**
303
+ * 字体相关
304
+ */
305
+ FontFamily,
306
+ FontSize,
307
+ FontStyle,
308
+ FontWeight,
309
+ LineHeight,
310
+ LetterSpacing,
311
+ Lines, //将废弃,通过组件属性max-lines替换
312
+
313
+ Color,
314
+ TextAlign,
315
+ TextDecoration,
316
+ TextDecorationColor,
317
+ TextDecorationLine,
318
+ TextDecorationStyle,
319
+ TextDecorationThickness,
320
+ TextOverflow,
321
+ TextShadow,
322
+ WhiteSpace,
323
+
324
+ /**
325
+ * 元素变换相关
326
+ */
327
+ Transform,
328
+ TransformOrigin,
329
+ TransformInternal,
330
+
331
+ /**
332
+ * 元素动画相关
333
+ */
334
+ Transition,
335
+ TransitionProperty,
336
+ TransitionDuration,
337
+ TransitionDelay,
338
+ TransitionTimingFunction,
339
+
340
+ /**
341
+ * 其它
342
+ */
343
+ Opacity,
344
+ BoxShadow,
345
+ PointerEvents,
346
+
347
+ /**
348
+ * 代指所有属性值
349
+ */
350
+ All,
351
+ }
@@ -1,4 +1,4 @@
1
- import { UniCSSPropertyID } from './UniCSSProperty'
1
+ import { UniCSSPropertyID } from './UniCSSPropertyId'
2
2
 
3
3
  /**
4
4
  * transition-timing-function 类型
@@ -1,6 +1,7 @@
1
1
  import { UniElementStyles } from './UniElementType'
2
2
  import { UniSlotType } from './UniCommon'
3
- import { UniCSSPropertyID, UniCSSPropertyName, UniCSSPropertyValue } from './UniCSSProperty'
3
+ import { UniCSSPropertyID } from './UniCSSPropertyId'
4
+ import { UniCSSPropertyName, UniCSSPropertyValue } from './UniCSSProperty'
4
5
  import { UniCSSUnitType, UniCSSUnitValue } from './UniCSSType'
5
6
  import { UniCSSBoxSizingType, UniCSSDisplayType, UniCSSPositionType, UniCSSBorderStyleType, UniCSSBorderWidthType } from './UniCSSProperty'
6
7
  import { UniCSSFlexDirectionType, UniCSSFlexWrapType, UniCSSJustifyContentType, UniCSSAlignItemsType, UniCSSAlignSelfType, UniCSSAlignContentType, UniCSSFlexBasisType } from './UniCSSProperty'
@@ -1,4 +1,5 @@
1
- import { UniCSSPropertyID, UniCSSPropertyValue } from './UniCSSProperty'
1
+ import { UniCSSPropertyID } from './UniCSSPropertyId'
2
+ import { UniCSSPropertyValue } from './UniCSSProperty'
2
3
 
3
4
  /**
4
5
  * UniElement类型
@@ -1,5 +1,5 @@
1
1
  import { UniNativeColor } from './UniNativeDefines'
2
- import { UniCSSPropertyID } from './UniCSSProperty'
2
+ import { UniCSSPropertyID } from './UniCSSPropertyId'
3
3
  import { UniCSSUnitType } from './UniCSSType'
4
4
  import { UniNativeLayout, UniNativePadding } from './UniNativeDefines'
5
5
  import { UniNativeBackgroundClip, UniNativeBackgroundImage } from './UniNativeDefines'
@@ -4,7 +4,7 @@
4
4
  * 特别说明
5
5
  * 类型中涉及长度单位的,如果没有特殊说明,单位为逻辑像素值,渲染时需转换各自平台需要的值
6
6
  */
7
- import { UniSize, UniPosition, UniLTWH, UniLTRB, UniCSSPropertyID, UniCSSUnitValue } from './index'
7
+ import { UniSize, UniPosition, UniLTWH, UniLTRB, UniCSSUnitValue } from './index'
8
8
  import { UniCSSTransform, UniCSSTransformOrigin } from './UniCSSTransform'
9
9
  import { UniCSSTransition, UniCSSTransitions, UniCSSTransitionProperty, UniCSSTransitionProperties, UniCSSTransitionTimingFunction, UniCSSTransitionTimingFunctions, UniCSSTransitionDuration, UniCSSTransitionDurations, UniCSSTransitionDelay, UniCSSTransitionDelays } from './UniCSSTransition'
10
10
 
@@ -24,14 +24,28 @@ export interface UniNativeScrollView extends UniNativeBaseView {
24
24
 
25
25
  /**
26
26
  * 是否开启滚动回弹效果
27
+ * 对应 bounces 属性
27
28
  */
28
29
  bounces(value: boolean): void
29
30
 
31
+ /**
32
+ * 是否关闭滚动回弹效果
33
+ * 对应 disable-bounces 属性,替换 bounces 属性
34
+ */
35
+ disableBounces(value: boolean): void
36
+
30
37
  /**
31
38
  * 是否显示滚动条
39
+ * 对应 show-scrollbar 属性
32
40
  */
33
41
  showScrollbar(value: boolean): void
34
42
 
43
+ /**
44
+ * 是否隐藏滚动条
45
+ * 对应 hide-scrollbar 属性,替换 show-scrollbar 属性
46
+ */
47
+ hideScrollbar(value: boolean): void
48
+
35
49
  /**
36
50
  * 距顶部/左边多远时(单位px),触发 scrolltoupper 事件
37
51
  */
@@ -90,7 +90,7 @@ import {
90
90
  UniCSSTransformRotate3D as UniCSSTransformRotate3DOrigin,
91
91
  UniCSSTransformMatrix3D as UniCSSTransformMatrix3DOrigin,
92
92
  UniCSSTransformPerspective as UniCSSTransformPerspectiveOrigin,
93
- UniCSSTransform as UniCSSTransformOrigin,
93
+ UniCSSTransform as UniCSSTransform_Origin,
94
94
  UniCSSTransformOrigin as UniCSSTransformOriginOrigin,
95
95
  UniCSSPropertyID as UniCSSPropertyIDOrigin,
96
96
  UniCSSBoxSizingType as UniCSSBoxSizingTypeOrigin,
@@ -241,7 +241,7 @@ declare global {
241
241
  type UniCSSTransformMatrix = UniCSSTransformMatrixOrigin
242
242
  type UniCSSTransformMatrix3D = UniCSSTransformMatrix3DOrigin
243
243
  type UniCSSTransformPerspective = UniCSSTransformPerspectiveOrigin
244
- type UniCSSTransform = UniCSSTransformOrigin
244
+ type UniCSSTransform = UniCSSTransform_Origin
245
245
  type UniCSSTransformOrigin = UniCSSTransformOriginOrigin
246
246
  const UniCSSPropertyID: typeof UniCSSPropertyIDOrigin
247
247
  type UniCSSPropertyID = UniCSSPropertyIDOrigin
@@ -36,6 +36,7 @@ export * from './UniCommon'
36
36
  export * from './UniCSSType'
37
37
  export * from './UniCSSTransition'
38
38
  export * from './UniCSSTransform'
39
+ export * from './UniCSSPropertyId'
39
40
  export * from './UniCSSProperty'
40
41
  export type UniPage = globalThis.UniPage
41
42
  export type UniViewElement = globalThis.UniViewElement
@@ -293,3 +293,34 @@ export class UniNativeViewInitEventDetail {
293
293
  export class UniNativeViewInitEvent extends UniCustomEvent<UniNativeViewInitEventDetail> {
294
294
  constructor(type: string, detail: UniNativeViewInitEventDetail)
295
295
  }
296
+
297
+ export class UniNativeViewReadyEventDetail {
298
+ readonly element : UniNativeViewElement
299
+ }
300
+
301
+ /**
302
+ * native-view 组件 ready事件event
303
+ * @uniPlatform {
304
+ * "app": {
305
+ * "android": {
306
+ * "osVer": "x",
307
+ * "uniVer": "x",
308
+ * "unixVer": "x"
309
+ * },
310
+ * "ios": {
311
+ * "osVer": "x",
312
+ * "uniVer": "x",
313
+ * "unixVer": "x"
314
+ * },
315
+ * "harmony": {
316
+ * "osVer": "x",
317
+ * "uniVer": "x",
318
+ * "unixVer": "x",
319
+ * "unixvVer": "5.0"
320
+ * }
321
+ * }
322
+ * }
323
+ */
324
+ export class UniNativeViewReadyEvent extends UniCustomEvent<UniNativeViewReadyEventDetail> {
325
+ constructor(type: string, detail: UniNativeViewReadyEventDetail)
326
+ }
@@ -189,6 +189,8 @@ import {
189
189
  UniNativeViewEvent as UniNativeViewEventOrigin,
190
190
  UniNativeViewInitEventDetail as UniNativeViewInitEventDetailOrigin,
191
191
  UniNativeViewInitEvent as UniNativeViewInitEventOrigin,
192
+ UniNativeViewReadyEventDetail as UniNativeViewReadyEventDetailOrigin,
193
+ UniNativeViewReadyEvent as UniNativeViewReadyEventOrigin,
192
194
  UniNativeViewElement as UniNativeViewElementOrigin,
193
195
  IUniForm as IUniFormOrigin,
194
196
  IUniError as IUniErrorOrigin,
@@ -603,6 +605,10 @@ declare global {
603
605
  type UniNativeViewInitEventDetail = UniNativeViewInitEventDetailOrigin
604
606
  const UniNativeViewInitEvent: typeof UniNativeViewInitEventOrigin
605
607
  type UniNativeViewInitEvent = UniNativeViewInitEventOrigin
608
+ const UniNativeViewReadyEventDetail: typeof UniNativeViewReadyEventDetailOrigin
609
+ type UniNativeViewReadyEventDetail = UniNativeViewReadyEventDetailOrigin
610
+ const UniNativeViewReadyEvent: typeof UniNativeViewReadyEventOrigin
611
+ type UniNativeViewReadyEvent = UniNativeViewReadyEventOrigin
606
612
  type UniNativeViewElement = UniNativeViewElementOrigin
607
613
  type IUniForm = IUniFormOrigin
608
614
  type IUniError = IUniErrorOrigin
@@ -17,12 +17,12 @@ export type ChooseMediaErrorCode =
17
17
  /**
18
18
  * 拍照或录像失败
19
19
  */
20
- 1101008 |
21
- /**
22
- * 其他错误
23
- */
24
- 1101010;
25
-
20
+ 1101008 |
21
+ /**
22
+ * 其他错误
23
+ */
24
+ 1101010;
25
+
26
26
 
27
27
  /**
28
28
  * 图片或视频操作失败的错误回调
@@ -85,11 +85,11 @@ export type ChooseMediaTempFile = {
85
85
  */
86
86
  fileType : ChooseMediaFileType
87
87
  /**
88
- * 选定视频的数据量大小,单位 B
88
+ * 选定视频的数据量大小,单位 kB
89
89
  */
90
90
  size : number,
91
91
  /**
92
- * 视频文件的字节大小
92
+ * 视频文件的字节大小,单位 B
93
93
  * @uniPlatform {
94
94
  * "app": {
95
95
  * "android": {