@dcloudio/uni-app-x 0.7.100 → 0.7.101

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.100",
3
+ "version": "0.7.101",
4
4
  "description": "uni-app x types",
5
5
  "typings": "index.d.ts",
6
6
  "main": "index.d.ts",
@@ -1,5 +1,5 @@
1
1
  /**
2
- * 组件截图成功的返回数据
2
+ * 截图成功的返回数据
3
3
  */
4
4
  export type TakeSnapshotSuccess = {
5
5
  /**
@@ -9,7 +9,7 @@ export type TakeSnapshotSuccess = {
9
9
  }
10
10
 
11
11
  /**
12
- * 组件截图失败的返回数据
12
+ * 截图失败的返回数据
13
13
  */
14
14
  export type TakeSnapshotFail = {
15
15
  errMsg: string
@@ -31,7 +31,7 @@ export type TakeSnapshotCompleteCallback = (res: any) => void
31
31
 
32
32
 
33
33
  /**
34
- * 组件截图的参数配置选项
34
+ * 截图的参数配置选项
35
35
  */
36
36
  export type TakeSnapshotOptions = {
37
37
 
@@ -1178,6 +1178,12 @@ declare global {
1178
1178
  * }
1179
1179
  */
1180
1180
  querySelectorAll(selector: string.cssSelectorString): UniElement[]
1181
+
1182
+ /**
1183
+ * 对当前页面进行截图
1184
+ * @param options 截图的参数对象
1185
+ */
1186
+ takeSnapshot(options: TakeSnapshotOptions): void;
1181
1187
  }
1182
1188
  }
1183
1189
 
@@ -176,8 +176,8 @@ export type NavigateToOptions = {
176
176
  * },
177
177
  * "harmony": {
178
178
  * "osVer": "3.0",
179
- * "uniVer": "x",
180
- * "unixVer": "x"
179
+ * "uniVer": "4.61",
180
+ * "unixVer": "5.0"
181
181
  * }
182
182
  * },
183
183
  * "web": {
@@ -234,7 +234,7 @@ export type NavigateToOptions = {
234
234
  * "harmony": {
235
235
  * "osVer": "3.0",
236
236
  * "uniVer": "x",
237
- * "unixVer": "x"
237
+ * "unixVer": "5.0"
238
238
  * }
239
239
  * },
240
240
  * "web": {
@@ -262,7 +262,7 @@ export type NavigateToOptions = {
262
262
  * "harmony": {
263
263
  * "osVer": "3.0",
264
264
  * "uniVer": "x",
265
- * "unixVer": "x"
265
+ * "unixVer": "5.0"
266
266
  * }
267
267
  * },
268
268
  * "web": {
@@ -290,7 +290,7 @@ export type NavigateToOptions = {
290
290
  * "harmony": {
291
291
  * "osVer": "3.0",
292
292
  * "uniVer": "x",
293
- * "unixVer": "x"
293
+ * "unixVer": "5.0"
294
294
  * }
295
295
  * },
296
296
  * "web": {
@@ -318,7 +318,7 @@ export type NavigateToOptions = {
318
318
  * "harmony": {
319
319
  * "osVer": "3.0",
320
320
  * "uniVer": "x",
321
- * "unixVer": "x"
321
+ * "unixVer": "5.0"
322
322
  * }
323
323
  * },
324
324
  * "web": {
@@ -346,7 +346,7 @@ export type NavigateToOptions = {
346
346
  * "harmony": {
347
347
  * "osVer": "3.0",
348
348
  * "uniVer": "x",
349
- * "unixVer": "x"
349
+ * "unixVer": "5.0"
350
350
  * }
351
351
  * },
352
352
  * "web": {
@@ -374,7 +374,7 @@ export type NavigateToOptions = {
374
374
  * "harmony": {
375
375
  * "osVer": "3.0",
376
376
  * "uniVer": "x",
377
- * "unixVer": "x"
377
+ * "unixVer": "5.0"
378
378
  * }
379
379
  * },
380
380
  * "web": {
@@ -402,7 +402,7 @@ export type NavigateToOptions = {
402
402
  * "harmony": {
403
403
  * "osVer": "3.0",
404
404
  * "uniVer": "x",
405
- * "unixVer": "x"
405
+ * "unixVer": "5.0"
406
406
  * }
407
407
  * },
408
408
  * "web": {
@@ -1971,8 +1971,8 @@ export type NavigateBackOptions = {
1971
1971
  * },
1972
1972
  * "harmony": {
1973
1973
  * "osVer": "3.0",
1974
- * "uniVer": "x",
1975
- * "unixVer": "x"
1974
+ * "uniVer": "4.61",
1975
+ * "unixVer": "5.0"
1976
1976
  * }
1977
1977
  * },
1978
1978
  * "web": {
@@ -2027,7 +2027,7 @@ export type NavigateBackOptions = {
2027
2027
  * "harmony": {
2028
2028
  * "osVer": "3.0",
2029
2029
  * "uniVer": "x",
2030
- * "unixVer": "x"
2030
+ * "unixVer": "5.0"
2031
2031
  * }
2032
2032
  * },
2033
2033
  * "web": {
@@ -2054,7 +2054,7 @@ export type NavigateBackOptions = {
2054
2054
  * "harmony": {
2055
2055
  * "osVer": "3.0",
2056
2056
  * "uniVer": "x",
2057
- * "unixVer": "x"
2057
+ * "unixVer": "5.0"
2058
2058
  * }
2059
2059
  * },
2060
2060
  * "web": {
@@ -2081,7 +2081,7 @@ export type NavigateBackOptions = {
2081
2081
  * "harmony": {
2082
2082
  * "osVer": "3.0",
2083
2083
  * "uniVer": "x",
2084
- * "unixVer": "x"
2084
+ * "unixVer": "5.0"
2085
2085
  * }
2086
2086
  * },
2087
2087
  * "web": {
@@ -2108,7 +2108,7 @@ export type NavigateBackOptions = {
2108
2108
  * "harmony": {
2109
2109
  * "osVer": "3.0",
2110
2110
  * "uniVer": "x",
2111
- * "unixVer": "x"
2111
+ * "unixVer": "5.0"
2112
2112
  * }
2113
2113
  * },
2114
2114
  * "web": {
@@ -2135,7 +2135,7 @@ export type NavigateBackOptions = {
2135
2135
  * "harmony": {
2136
2136
  * "osVer": "3.0",
2137
2137
  * "uniVer": "x",
2138
- * "unixVer": "x"
2138
+ * "unixVer": "5.0"
2139
2139
  * }
2140
2140
  * },
2141
2141
  * "web": {
@@ -2162,7 +2162,7 @@ export type NavigateBackOptions = {
2162
2162
  * "harmony": {
2163
2163
  * "osVer": "3.0",
2164
2164
  * "uniVer": "x",
2165
- * "unixVer": "x"
2165
+ * "unixVer": "5.0"
2166
2166
  * }
2167
2167
  * },
2168
2168
  * "web": {
@@ -2189,7 +2189,7 @@ export type NavigateBackOptions = {
2189
2189
  * "harmony": {
2190
2190
  * "osVer": "3.0",
2191
2191
  * "uniVer": "x",
2192
- * "unixVer": "x"
2192
+ * "unixVer": "5.0"
2193
2193
  * }
2194
2194
  * },
2195
2195
  * "web": {
@@ -2,6 +2,7 @@
2
2
  /// <reference path='./lib/uni-video-global/utssdk/global.d.ts' />
3
3
  /// <reference path='./lib/uni-rich-text-global/utssdk/global.d.ts' />
4
4
  /// <reference path='./lib/uni-progress-global/utssdk/global.d.ts' />
5
+ /// <reference path='./lib/uni-page-container-global/utssdk/global.d.ts' />
5
6
  /// <reference path='./lib/uni-navigator-global/utssdk/global.d.ts' />
6
7
  /// <reference path='./lib/uni-match-media-global/utssdk/global.d.ts' />
7
8
  /// <reference path='./lib/uni-form-global/utssdk/global.d.ts' />
@@ -2,6 +2,7 @@ export * from './lib/uni-web-view-global/utssdk'
2
2
  export * from './lib/uni-video-global/utssdk'
3
3
  export * from './lib/uni-rich-text-global/utssdk'
4
4
  export * from './lib/uni-progress-global/utssdk'
5
+ export * from './lib/uni-page-container-global/utssdk'
5
6
  export * from './lib/uni-navigator-global/utssdk'
6
7
  export * from './lib/uni-match-media-global/utssdk'
7
8
  export * from './lib/uni-form-global/utssdk'
@@ -0,0 +1,9 @@
1
+ // 本文件为自动构建生成
2
+ import {
3
+ UniPageContainerElement as UniPageContainerElementOrigin,
4
+ } from './interface'
5
+
6
+ declare global {
7
+ type UniPageContainerElement = UniPageContainerElementOrigin
8
+ }
9
+
@@ -0,0 +1,5 @@
1
+ // 本文件为自动构建生成
2
+ export {
3
+ UniPageContainerElement,
4
+ } from './interface'
5
+
@@ -0,0 +1,2 @@
1
+ export class UniPageContainerElement extends UniVueElement {
2
+ }