@dcloudio/uni-app-x 0.7.118 → 0.7.120
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/dom2-internal/sharedData.d.ts +9 -3
- package/types/uni/uts-plugin-api/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/index.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +110 -110
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +214 -549
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +198 -1087
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +534 -337
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +27 -20
- package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-component/global.d.ts +0 -2
- package/types/uni/uts-plugin-component/index.d.ts +0 -2
- package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +110 -110
- package/types/uni/uts-plugin-component/lib/uni-keyboard/utssdk/interface.d.ts +569 -110
- package/types/uni/uts-plugin-component/lib/uni-oauth/utssdk/interface.d.ts +1087 -198
- package/types/uni/uts-plugin-component/lib/uni-pageScrollTo/utssdk/interface.d.ts +478 -15
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/global.d.ts +4 -4
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/index.d.ts +2 -2
- package/types/uni/uts-plugin-component/lib/uni-share/utssdk/interface.d.ts +27 -20
- package/types/uni/uts-plugin-component/lib/uni-share-weixin/utssdk/interface.d.ts +3 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// 本文件为自动构建生成
|
|
2
2
|
import {
|
|
3
|
-
|
|
3
|
+
UniShareProvider as UniShareProviderOrigin,
|
|
4
|
+
IShareFail as IShareFailOrigin,
|
|
4
5
|
ShareErrorCode as ShareErrorCodeOrigin,
|
|
5
6
|
Share as ShareOrigin,
|
|
6
7
|
ShareMiniProgramShareType as ShareMiniProgramShareTypeOrigin,
|
|
@@ -15,12 +16,12 @@
|
|
|
15
16
|
ShareType as ShareTypeOrigin,
|
|
16
17
|
ShareScene as ShareSceneOrigin,
|
|
17
18
|
ShareOptions as ShareOptionsOrigin,
|
|
18
|
-
UniShareProvider as UniShareProviderOrigin,
|
|
19
19
|
Uni as UniOrigin
|
|
20
20
|
} from './interface'
|
|
21
21
|
|
|
22
22
|
declare global {
|
|
23
|
-
type
|
|
23
|
+
type UniShareProvider = UniShareProviderOrigin
|
|
24
|
+
type IShareFail = IShareFailOrigin
|
|
24
25
|
type ShareErrorCode = ShareErrorCodeOrigin
|
|
25
26
|
type Share = ShareOrigin
|
|
26
27
|
type ShareMiniProgramShareType = ShareMiniProgramShareTypeOrigin
|
|
@@ -35,7 +36,6 @@
|
|
|
35
36
|
type ShareType = ShareTypeOrigin
|
|
36
37
|
type ShareScene = ShareSceneOrigin
|
|
37
38
|
type ShareOptions = ShareOptionsOrigin
|
|
38
|
-
type UniShareProvider = UniShareProviderOrigin
|
|
39
39
|
interface Uni extends UniOrigin { }
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -8,9 +8,9 @@ export interface Uni {
|
|
|
8
8
|
* @uniPlatform {
|
|
9
9
|
* "app": {
|
|
10
10
|
* "android": {
|
|
11
|
-
* "osVer": "
|
|
12
|
-
* "uniVer": "
|
|
13
|
-
* "unixVer": "
|
|
11
|
+
* "osVer": "5.0",
|
|
12
|
+
* "uniVer": "√",
|
|
13
|
+
* "unixVer": "5.07"
|
|
14
14
|
* },
|
|
15
15
|
* "ios": {
|
|
16
16
|
* "osVer": "x",
|
|
@@ -29,11 +29,20 @@ export interface Uni {
|
|
|
29
29
|
* "unixVer": "x"
|
|
30
30
|
* }
|
|
31
31
|
* }
|
|
32
|
-
*/
|
|
33
|
-
|
|
32
|
+
*/
|
|
33
|
+
share(options: ShareOptions): void;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
export interface UniShareProvider extends UniProvider {
|
|
40
|
+
share(options: ShareOptions): void;
|
|
34
41
|
}
|
|
35
42
|
|
|
36
43
|
|
|
44
|
+
|
|
45
|
+
|
|
37
46
|
export interface IShareFail extends IUniError {
|
|
38
47
|
errCode: ShareErrorCode
|
|
39
48
|
};
|
|
@@ -46,9 +55,9 @@ export type ShareErrorCode =
|
|
|
46
55
|
* @uniPlatform {
|
|
47
56
|
* "app": {
|
|
48
57
|
* "android": {
|
|
49
|
-
* "osVer": "
|
|
58
|
+
* "osVer": "5.0",
|
|
50
59
|
* "uniVer": "x",
|
|
51
|
-
* "unixVer": "
|
|
60
|
+
* "unixVer": "5.07"
|
|
52
61
|
* },
|
|
53
62
|
* "ios": {
|
|
54
63
|
* "osVer": "x",
|
|
@@ -74,9 +83,9 @@ export type ShareErrorCode =
|
|
|
74
83
|
* @uniPlatform {
|
|
75
84
|
* "app": {
|
|
76
85
|
* "android": {
|
|
77
|
-
* "osVer": "
|
|
86
|
+
* "osVer": "5.0",
|
|
78
87
|
* "uniVer": "x",
|
|
79
|
-
* "unixVer": "
|
|
88
|
+
* "unixVer": "5.07"
|
|
80
89
|
* },
|
|
81
90
|
* "ios": {
|
|
82
91
|
* "osVer": "x",
|
|
@@ -130,9 +139,9 @@ export type ShareErrorCode =
|
|
|
130
139
|
* @uniPlatform {
|
|
131
140
|
* "app": {
|
|
132
141
|
* "android": {
|
|
133
|
-
* "osVer": "
|
|
142
|
+
* "osVer": "5.0",
|
|
134
143
|
* "uniVer": "x",
|
|
135
|
-
* "unixVer": "
|
|
144
|
+
* "unixVer": "5.07"
|
|
136
145
|
* },
|
|
137
146
|
* "ios": {
|
|
138
147
|
* "osVer": "x",
|
|
@@ -158,9 +167,9 @@ export type ShareErrorCode =
|
|
|
158
167
|
* @uniPlatform {
|
|
159
168
|
* "app": {
|
|
160
169
|
* "android": {
|
|
161
|
-
* "osVer": "
|
|
170
|
+
* "osVer": "5.0",
|
|
162
171
|
* "uniVer": "x",
|
|
163
|
-
* "unixVer": "
|
|
172
|
+
* "unixVer": "5.07"
|
|
164
173
|
* },
|
|
165
174
|
* "ios": {
|
|
166
175
|
* "osVer": "x",
|
|
@@ -186,9 +195,9 @@ export type ShareErrorCode =
|
|
|
186
195
|
* @uniPlatform {
|
|
187
196
|
* "app": {
|
|
188
197
|
* "android": {
|
|
189
|
-
* "osVer": "
|
|
198
|
+
* "osVer": "5.0",
|
|
190
199
|
* "uniVer": "x",
|
|
191
|
-
* "unixVer": "
|
|
200
|
+
* "unixVer": "5.07"
|
|
192
201
|
* },
|
|
193
202
|
* "ios": {
|
|
194
203
|
* "osVer": "x",
|
|
@@ -354,9 +363,9 @@ export type ShareErrorCode =
|
|
|
354
363
|
* @uniPlatform {
|
|
355
364
|
* "app": {
|
|
356
365
|
* "android": {
|
|
357
|
-
* "osVer": "
|
|
366
|
+
* "osVer": "5.0",
|
|
358
367
|
* "uniVer": "x",
|
|
359
|
-
* "unixVer": "
|
|
368
|
+
* "unixVer": "5.07"
|
|
360
369
|
* },
|
|
361
370
|
* "ios": {
|
|
362
371
|
* "osVer": "x",
|
|
@@ -579,6 +588,4 @@ export type ShareOptions = {
|
|
|
579
588
|
*/
|
|
580
589
|
complete?: ShareCompleteCallback | null
|
|
581
590
|
};
|
|
582
|
-
|
|
583
|
-
share(options: ShareOptions): void;
|
|
584
|
-
}
|
|
591
|
+
|
|
@@ -59,7 +59,6 @@
|
|
|
59
59
|
/// <reference path='./lib/uni-getProvider/utssdk/global.d.ts' />
|
|
60
60
|
/// <reference path='./lib/uni-getSystemInfo/utssdk/global.d.ts' />
|
|
61
61
|
/// <reference path='./lib/uni-getSystemSetting/utssdk/global.d.ts' />
|
|
62
|
-
/// <reference path='./lib/uni-input/utssdk/global.d.ts' />
|
|
63
62
|
/// <reference path='./lib/uni-installApk/utssdk/global.d.ts' />
|
|
64
63
|
/// <reference path='./lib/uni-interceptor/utssdk/global.d.ts' />
|
|
65
64
|
/// <reference path='./lib/uni-keyboard/utssdk/global.d.ts' />
|
|
@@ -99,7 +98,6 @@
|
|
|
99
98
|
/// <reference path='./lib/uni-sse/utssdk/global.d.ts' />
|
|
100
99
|
/// <reference path='./lib/uni-storage/utssdk/global.d.ts' />
|
|
101
100
|
/// <reference path='./lib/uni-tabBar/utssdk/global.d.ts' />
|
|
102
|
-
/// <reference path='./lib/uni-textarea/utssdk/global.d.ts' />
|
|
103
101
|
/// <reference path='./lib/uni-theme/utssdk/global.d.ts' />
|
|
104
102
|
/// <reference path='./lib/uni-video/utssdk/global.d.ts' />
|
|
105
103
|
/// <reference path='./lib/uni-virtualPayment/utssdk/global.d.ts' />
|
|
@@ -59,7 +59,6 @@ export * from './lib/uni-getPerformance/utssdk'
|
|
|
59
59
|
export * from './lib/uni-getProvider/utssdk'
|
|
60
60
|
export * from './lib/uni-getSystemInfo/utssdk'
|
|
61
61
|
export * from './lib/uni-getSystemSetting/utssdk'
|
|
62
|
-
export * from './lib/uni-input/utssdk'
|
|
63
62
|
export * from './lib/uni-installApk/utssdk'
|
|
64
63
|
export * from './lib/uni-interceptor/utssdk'
|
|
65
64
|
export * from './lib/uni-keyboard/utssdk'
|
|
@@ -99,7 +98,6 @@ export * from './lib/uni-showLoading/utssdk'
|
|
|
99
98
|
export * from './lib/uni-sse/utssdk'
|
|
100
99
|
export * from './lib/uni-storage/utssdk'
|
|
101
100
|
export * from './lib/uni-tabBar/utssdk'
|
|
102
|
-
export * from './lib/uni-textarea/utssdk'
|
|
103
101
|
export * from './lib/uni-theme/utssdk'
|
|
104
102
|
export * from './lib/uni-video/utssdk'
|
|
105
103
|
export * from './lib/uni-virtualPayment/utssdk'
|