@dcloudio/uni-app-x 0.7.92 → 0.7.94

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.94",
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
@@ -109,7 +109,8 @@ declare global {
109
109
 
110
110
  enum UniSharedDataComponentStyleIsolation {
111
111
  Isolated,
112
- AppShared,
112
+ App,
113
+ AppAndPage
113
114
  }
114
115
 
115
116
  enum UniSharedDataComponentRenderer {
@@ -291,7 +292,7 @@ declare global {
291
292
 
292
293
  function useSharedData<T extends string>(scope: UniSharedDataPage): InferSharedData<T>
293
294
 
294
- function useSharedDataPage<T extends string>(pageId: number, options: UniSharedDataComponentOptions): InferSharedData<T, UniSharedDataPage>
295
+ function useSharedDataPage<T extends string>(pageIdOrScope: number | UniSharedDataPage, options: UniSharedDataComponentOptions): InferSharedData<T, UniSharedDataPage>
295
296
 
296
297
  function useSharedDataComponent<T extends string>(
297
298
  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
  * 图片或视频操作失败的错误回调
@@ -325,7 +325,7 @@ export type SetInnerAudioOptionOptions = {
325
325
  "osVer": "12.0",
326
326
  "uniVer": "x",
327
327
  "uniUtsPlugin": "x",
328
- "unixVer": "4.5.0",
328
+ "unixVer": "5.0",
329
329
  "unixUtsPlugin": "5.0"
330
330
  },
331
331
  "harmony": {
@@ -1208,8 +1208,8 @@ export interface InnerAudioContext {
1208
1208
  "osVer": "12.0",
1209
1209
  "uniVer": "√",
1210
1210
  "uniUtsPlugin": "x",
1211
- "unixVer": "x",
1212
- "unixUtsPlugin": "x"
1211
+ "unixVer": "5.0",
1212
+ "unixUtsPlugin": "5.0"
1213
1213
  },
1214
1214
  "harmony": {
1215
1215
  "osVer": "5.0.0",
@@ -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
  }