@dcloudio/uni-app-x 0.7.92 → 0.7.93

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.92",
3
+ "version": "0.7.93",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "main": "index.d.ts",
@@ -328,6 +328,7 @@ export enum UniCSSPropertyID {
328
328
  */
329
329
  Transform,
330
330
  TransformOrigin,
331
+ TransformInternal,
331
332
 
332
333
  /**
333
334
  * 元素动画相关
@@ -206,6 +206,13 @@ export interface UniNativeBaseView {
206
206
  */
207
207
  transformOrigin(value: UniNativeTransformOrigin): UniNativeBaseView
208
208
 
209
+ /**
210
+ * CSS: -uni-transform-internal
211
+ * 设置与transform叠加的变换
212
+ * 用于内部实现 list,区分框架设置的transform和开发者设置的transform,仅支持translate效果
213
+ */
214
+ transformInternal(value?: UniNativeTransform|null): UniNativeBaseView
215
+
209
216
 
210
217
  /**
211
218
  * CSS: transition
@@ -291,7 +291,7 @@ declare global {
291
291
 
292
292
  function useSharedData<T extends string>(scope: UniSharedDataPage): InferSharedData<T>
293
293
 
294
- function useSharedDataPage<T extends string>(pageId: number, options: UniSharedDataComponentOptions): InferSharedData<T, UniSharedDataPage>
294
+ function useSharedDataPage<T extends string>(pageIdOrScope: number | UniSharedDataPage, options: UniSharedDataComponentOptions): InferSharedData<T, UniSharedDataPage>
295
295
 
296
296
  function useSharedDataComponent<T extends string>(
297
297
  scope: UniSharedDataPage,
@@ -17,7 +17,12 @@ export type ChooseMediaErrorCode =
17
17
  /**
18
18
  * 拍照或录像失败
19
19
  */
20
- 1101008;
20
+ 1101008 |
21
+ /**
22
+ * 其他错误
23
+ */
24
+ 1101010;
25
+
21
26
 
22
27
  /**
23
28
  * 图片或视频操作失败的错误回调
@@ -1,2 +1,2 @@
1
- export class UniButtonElement extends UniElementImpl {
1
+ export class UniButtonElement extends UniVueElement {
2
2
  }
@@ -0,0 +1,9 @@
1
+ // 本文件为自动构建生成
2
+ import {
3
+ UniLoadingElement as UniLoadingElementOrigin,
4
+ } from './interface'
5
+
6
+ declare global {
7
+ type UniLoadingElement = UniLoadingElementOrigin
8
+ }
9
+
@@ -0,0 +1,5 @@
1
+ // 本文件为自动构建生成
2
+ export {
3
+ UniLoadingElement,
4
+ } from './interface'
5
+
@@ -0,0 +1,5 @@
1
+ declare class UniVueElement extends HTMLElement {
2
+ }
3
+ export class UniLoadingElement extends UniVueElement {
4
+ }
5
+ export {};
@@ -1,2 +1,2 @@
1
- export class UniMatchMediaElement extends UniElementImpl {
1
+ export class UniMatchMediaElement extends UniVueElement {
2
2
  }