@dcloudio/uni-app-x 0.7.3 → 0.7.4
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/app.d.ts +9 -9
- package/types/index.d.ts +1 -1
- package/types/native/InputFocusEvent.d.ts +1 -1
- package/types/native/TextareaFocusEvent.d.ts +1 -1
- package/types/native/TouchEvent.d.ts +1 -1
- package/types/native/UniWebViewServiceMessageEvent.d.ts +8 -0
- package/types/native/WebViewErrorEvent.d.ts +1 -1
- package/types/native/global.d.ts +7 -0
- package/types/native/index.d.ts +1 -0
- package/types/page.d.ts +19 -19
- package/types/uni/core/global.d.ts +13 -0
- package/types/uni/core/index.d.ts +13 -13
- package/types/uni/core/lib/base/event/global.d.ts +16 -0
- package/types/uni/core/lib/base/event/index.d.ts +5 -14
- package/types/uni/core/lib/base/interceptor/global.d.ts +18 -0
- package/types/uni/core/lib/base/interceptor/index.d.ts +6 -16
- package/types/uni/core/lib/base/interceptor/interface.d.ts +2 -2
- package/types/uni/core/lib/lifecycle/global.d.ts +10 -0
- package/types/uni/core/lib/lifecycle/index.d.ts +2 -8
- package/types/uni/core/lib/performance/global.d.ts +22 -0
- package/types/uni/core/lib/performance/index.d.ts +8 -20
- package/types/uni/core/lib/route/global.d.ts +68 -0
- package/types/uni/core/lib/route/index.d.ts +31 -66
- package/types/uni/core/lib/route/interface.d.ts +30 -30
- package/types/uni/core/lib/ui/create-selector-query/global.d.ts +20 -0
- package/types/uni/core/lib/ui/create-selector-query/index.d.ts +7 -18
- package/types/uni/core/lib/ui/get-element-by-id/global.d.ts +10 -0
- package/types/uni/core/lib/ui/get-element-by-id/index.d.ts +2 -8
- package/types/uni/core/lib/ui/get-element-by-id/interface.d.ts +3 -3
- package/types/uni/core/lib/ui/load-font-face/global.d.ts +26 -0
- package/types/uni/core/lib/ui/load-font-face/index.d.ts +10 -24
- package/types/uni/core/lib/ui/load-font-face/interface.d.ts +8 -8
- package/types/uni/core/lib/ui/page-scroll-to/global.d.ts +26 -0
- package/types/uni/core/lib/ui/page-scroll-to/index.d.ts +10 -24
- package/types/uni/core/lib/ui/pull-down-refresh/global.d.ts +28 -0
- package/types/uni/core/lib/ui/pull-down-refresh/index.d.ts +11 -26
- package/types/uni/core/lib/ui/set-navigation-bar-color/global.d.ts +28 -0
- package/types/uni/core/lib/ui/set-navigation-bar-color/index.d.ts +11 -26
- package/types/uni/core/lib/ui/set-navigation-bar-color/interface.d.ts +6 -6
- package/types/uni/core/lib/ui/set-navigation-bar-title/global.d.ts +28 -0
- package/types/uni/core/lib/ui/set-navigation-bar-title/index.d.ts +11 -26
- package/types/uni/core/lib/ui/set-navigation-bar-title/interface.d.ts +5 -5
- package/types/uni/core/lib/ui/tab-bar/global.d.ts +130 -0
- package/types/uni/core/lib/ui/tab-bar/index.d.ts +62 -128
- package/types/uni/global.d.ts +6 -0
- package/types/uni/index.d.ts +4 -6
- package/types/uni/uts-plugin-api/global.d.ts +19 -0
- package/types/uni/uts-plugin-api/index.d.ts +19 -19
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/global.d.ts +12 -0
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/index.d.ts +3 -10
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/global.d.ts +26 -0
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/index.d.ts +10 -24
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts +66 -0
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/index.d.ts +30 -64
- package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/global.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +2 -8
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/global.d.ts +12 -0
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +3 -10
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/global.d.ts +14 -0
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/index.d.ts +4 -12
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/global.d.ts +14 -0
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/index.d.ts +4 -12
- package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/global.d.ts +20 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/index.d.ts +7 -18
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/index.d.ts +9 -22
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/global.d.ts +30 -0
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/index.d.ts +12 -28
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/global.d.ts +12 -0
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/index.d.ts +3 -10
- package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/index.d.ts +9 -22
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +158 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +76 -156
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/global.d.ts +68 -0
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/index.d.ts +31 -66
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/global.d.ts +72 -0
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/index.d.ts +33 -70
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +9 -22
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/global.d.ts +62 -0
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/index.d.ts +28 -60
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/global.d.ts +78 -0
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/index.d.ts +36 -76
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/global.d.ts +58 -0
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/index.d.ts +26 -56
- package/types/uni/uts-plugin-biz/global.d.ts +4 -0
- package/types/uni/uts-plugin-biz/index.d.ts +4 -4
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/global.d.ts +36 -0
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/index.d.ts +15 -32
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +20 -14
- package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/global.d.ts +28 -0
- package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/index.d.ts +11 -26
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/global.d.ts +56 -0
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/index.d.ts +25 -54
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/global.d.ts +46 -0
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/index.d.ts +20 -44
- package/types/uni/uts-plugin-component/global.d.ts +1 -0
- package/types/uni/uts-plugin-component/index.d.ts +1 -1
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +42 -0
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +18 -40
- package/types/uni-global/index.d.ts +1 -0
- package/types/vue/CheckboxGroupChangeEvent.d.ts +2 -2
- package/types/vue/LifeCycle.d.ts +55 -0
- package/types/vue/PickerViewChangeEvent.d.ts +2 -2
- package/types/vue/ProgressActiveendEvent.d.ts +2 -2
- package/types/vue/RadioGroupChangeEvent.d.ts +2 -2
- package/types/vue/SliderChangeEvent.d.ts +2 -2
- package/types/vue/SwitchChangeEvent.d.ts +2 -2
- package/types/vue/UniFormElement.d.ts +4 -4
- package/types/vue/index.d.ts +1 -0
package/package.json
CHANGED
package/types/app.d.ts
CHANGED
|
@@ -104,7 +104,7 @@ interface UniAppOptions<G extends GlobalData = GlobalData> {
|
|
|
104
104
|
* },
|
|
105
105
|
* "web": {
|
|
106
106
|
* "uniVer": "√",
|
|
107
|
-
* "unixVer": "
|
|
107
|
+
* "unixVer": "4.0+"
|
|
108
108
|
* }
|
|
109
109
|
*}
|
|
110
110
|
*/
|
|
@@ -173,7 +173,7 @@ interface UniAppOptions<G extends GlobalData = GlobalData> {
|
|
|
173
173
|
* },
|
|
174
174
|
* "web": {
|
|
175
175
|
* "uniVer": "√",
|
|
176
|
-
* "unixVer": "
|
|
176
|
+
* "unixVer": "4.0+"
|
|
177
177
|
* }
|
|
178
178
|
*}
|
|
179
179
|
*/
|
|
@@ -242,7 +242,7 @@ interface UniAppOptions<G extends GlobalData = GlobalData> {
|
|
|
242
242
|
* },
|
|
243
243
|
* "web": {
|
|
244
244
|
* "uniVer": "√",
|
|
245
|
-
* "unixVer": "
|
|
245
|
+
* "unixVer": "4.0+"
|
|
246
246
|
* }
|
|
247
247
|
*}
|
|
248
248
|
*/
|
|
@@ -311,7 +311,7 @@ interface UniAppOptions<G extends GlobalData = GlobalData> {
|
|
|
311
311
|
* },
|
|
312
312
|
* "web": {
|
|
313
313
|
* "uniVer": "√",
|
|
314
|
-
* "unixVer": "
|
|
314
|
+
* "unixVer": "4.0+"
|
|
315
315
|
* }
|
|
316
316
|
*}
|
|
317
317
|
*/
|
|
@@ -380,7 +380,7 @@ interface UniAppOptions<G extends GlobalData = GlobalData> {
|
|
|
380
380
|
* },
|
|
381
381
|
* "web": {
|
|
382
382
|
* "uniVer": "√",
|
|
383
|
-
* "unixVer": "
|
|
383
|
+
* "unixVer": "4.0+"
|
|
384
384
|
* }
|
|
385
385
|
*}
|
|
386
386
|
*/
|
|
@@ -453,7 +453,7 @@ interface UniAppOptions<G extends GlobalData = GlobalData> {
|
|
|
453
453
|
* },
|
|
454
454
|
* "web": {
|
|
455
455
|
* "uniVer": "√",
|
|
456
|
-
* "unixVer": "
|
|
456
|
+
* "unixVer": "4.0+"
|
|
457
457
|
* }
|
|
458
458
|
*}
|
|
459
459
|
*/
|
|
@@ -531,7 +531,7 @@ interface UniAppOptions<G extends GlobalData = GlobalData> {
|
|
|
531
531
|
* },
|
|
532
532
|
* "web": {
|
|
533
533
|
* "uniVer": "√",
|
|
534
|
-
* "unixVer": "
|
|
534
|
+
* "unixVer": "4.0+"
|
|
535
535
|
* }
|
|
536
536
|
*}
|
|
537
537
|
*/
|
|
@@ -607,7 +607,7 @@ interface UniAppOptions<G extends GlobalData = GlobalData> {
|
|
|
607
607
|
* },
|
|
608
608
|
* "web": {
|
|
609
609
|
* "uniVer": "x",
|
|
610
|
-
* "unixVer": "
|
|
610
|
+
* "unixVer": "4.0+"
|
|
611
611
|
* }
|
|
612
612
|
*}
|
|
613
613
|
*/
|
|
@@ -683,7 +683,7 @@ interface UniAppOptions<G extends GlobalData = GlobalData> {
|
|
|
683
683
|
* },
|
|
684
684
|
* "web": {
|
|
685
685
|
* "uniVer": "x",
|
|
686
|
-
* "unixVer": "
|
|
686
|
+
* "unixVer": "4.0+"
|
|
687
687
|
* }
|
|
688
688
|
*}
|
|
689
689
|
*/
|
package/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path='./native/global.d.ts' />
|
|
2
2
|
/// <reference path='./vue/index.d.ts' />
|
|
3
|
-
/// <reference path='./uni/
|
|
3
|
+
/// <reference path='./uni/global.d.ts' />
|
|
4
4
|
/// <reference path='./uni-cloud/index.d.ts' />
|
|
5
5
|
/// <reference path='./app.d.ts' />
|
|
6
6
|
/// <reference path='./page.d.ts' />
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PageEvent } from './PageEvent'
|
|
2
|
+
|
|
3
|
+
export class UniWebViewServiceMessageEvent extends PageEvent {
|
|
4
|
+
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export type WebViewServiceMessageEvent = UniWebViewServiceMessageEvent
|
|
8
|
+
export const WebViewServiceMessageEvent: typeof UniWebViewServiceMessageEvent
|
package/types/native/global.d.ts
CHANGED
|
@@ -15,6 +15,9 @@ import {
|
|
|
15
15
|
ViewToTempFilePathSuccess as ViewToTempFilePathSuccessOrigin,
|
|
16
16
|
ViewToTempFilePathFail as ViewToTempFilePathFailOrigin,
|
|
17
17
|
ViewToTempFilePathOptions as ViewToTempFilePathOptionsOrigin,
|
|
18
|
+
UniWebViewServiceMessageEvent as UniWebViewServiceMessageEventOrigin,
|
|
19
|
+
WebViewServiceMessageEvent as WebViewServiceMessageEventOrigin,
|
|
20
|
+
WebViewServiceMessageEvent as WebViewServiceMessageEventOrigin,
|
|
18
21
|
UniWebViewElementImpl as UniWebViewElementImplOrigin,
|
|
19
22
|
UniVideoElement as UniVideoElementOrigin,
|
|
20
23
|
Danmu as DanmuOrigin,
|
|
@@ -144,6 +147,10 @@ declare global {
|
|
|
144
147
|
type ViewToTempFilePathFail = ViewToTempFilePathFailOrigin
|
|
145
148
|
const ViewToTempFilePathOptions: typeof ViewToTempFilePathOptionsOrigin
|
|
146
149
|
type ViewToTempFilePathOptions = ViewToTempFilePathOptionsOrigin
|
|
150
|
+
const UniWebViewServiceMessageEvent: typeof UniWebViewServiceMessageEventOrigin
|
|
151
|
+
type UniWebViewServiceMessageEvent = UniWebViewServiceMessageEventOrigin
|
|
152
|
+
const WebViewServiceMessageEvent: typeof WebViewServiceMessageEventOrigin
|
|
153
|
+
type WebViewServiceMessageEvent = WebViewServiceMessageEventOrigin
|
|
147
154
|
const UniWebViewElementImpl: typeof UniWebViewElementImplOrigin
|
|
148
155
|
type UniWebViewElementImpl = UniWebViewElementImplOrigin
|
|
149
156
|
type UniVideoElement = UniVideoElementOrigin
|
package/types/native/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ export * from './WebViewLoadedEvent'
|
|
|
6
6
|
export * from './WebViewErrorEvent'
|
|
7
7
|
export * from './WebViewDownloadEvent'
|
|
8
8
|
export * from './ViewToTempFilePathOptions'
|
|
9
|
+
export * from './UniWebViewServiceMessageEvent'
|
|
9
10
|
export * from './UniWebViewElement'
|
|
10
11
|
export * from './UniVideoElement'
|
|
11
12
|
export * from './UniTextElement'
|
package/types/page.d.ts
CHANGED
|
@@ -297,7 +297,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
297
297
|
* },
|
|
298
298
|
* "web": {
|
|
299
299
|
* "uniVer": "x",
|
|
300
|
-
* "unixVer": "
|
|
300
|
+
* "unixVer": "4.0+"
|
|
301
301
|
* }
|
|
302
302
|
*}
|
|
303
303
|
*/
|
|
@@ -366,7 +366,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
366
366
|
* },
|
|
367
367
|
* "web": {
|
|
368
368
|
* "uniVer": "√",
|
|
369
|
-
* "unixVer": "
|
|
369
|
+
* "unixVer": "4.0+"
|
|
370
370
|
* }
|
|
371
371
|
*}
|
|
372
372
|
*/
|
|
@@ -434,7 +434,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
434
434
|
* },
|
|
435
435
|
* "web": {
|
|
436
436
|
* "uniVer": "√",
|
|
437
|
-
* "unixVer": "
|
|
437
|
+
* "unixVer": "4.0+"
|
|
438
438
|
* }
|
|
439
439
|
*}
|
|
440
440
|
*/
|
|
@@ -502,7 +502,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
502
502
|
* },
|
|
503
503
|
* "web": {
|
|
504
504
|
* "uniVer": "√",
|
|
505
|
-
* "unixVer": "
|
|
505
|
+
* "unixVer": "4.0+"
|
|
506
506
|
* }
|
|
507
507
|
*}
|
|
508
508
|
*/
|
|
@@ -570,7 +570,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
570
570
|
* },
|
|
571
571
|
* "web": {
|
|
572
572
|
* "uniVer": "√",
|
|
573
|
-
* "unixVer": "
|
|
573
|
+
* "unixVer": "4.0+"
|
|
574
574
|
* }
|
|
575
575
|
*}
|
|
576
576
|
*/
|
|
@@ -638,7 +638,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
638
638
|
* },
|
|
639
639
|
* "web": {
|
|
640
640
|
* "uniVer": "√",
|
|
641
|
-
* "unixVer": "
|
|
641
|
+
* "unixVer": "4.0+"
|
|
642
642
|
* }
|
|
643
643
|
*}
|
|
644
644
|
*/
|
|
@@ -707,7 +707,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
707
707
|
* },
|
|
708
708
|
* "web": {
|
|
709
709
|
* "uniVer": "√",
|
|
710
|
-
* "unixVer": "
|
|
710
|
+
* "unixVer": "4.0+"
|
|
711
711
|
* }
|
|
712
712
|
*}
|
|
713
713
|
*/
|
|
@@ -775,7 +775,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
775
775
|
* },
|
|
776
776
|
* "web": {
|
|
777
777
|
* "uniVer": "√",
|
|
778
|
-
* "unixVer": "
|
|
778
|
+
* "unixVer": "4.0+"
|
|
779
779
|
* }
|
|
780
780
|
*}
|
|
781
781
|
*/
|
|
@@ -845,7 +845,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
845
845
|
* },
|
|
846
846
|
* "web": {
|
|
847
847
|
* "uniVer": "x",
|
|
848
|
-
* "unixVer": "
|
|
848
|
+
* "unixVer": "4.0+"
|
|
849
849
|
* }
|
|
850
850
|
*}
|
|
851
851
|
*/
|
|
@@ -913,7 +913,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
913
913
|
* },
|
|
914
914
|
* "web": {
|
|
915
915
|
* "uniVer": "x",
|
|
916
|
-
* "unixVer": "
|
|
916
|
+
* "unixVer": "4.0+"
|
|
917
917
|
* }
|
|
918
918
|
*}
|
|
919
919
|
*/
|
|
@@ -981,7 +981,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
981
981
|
* },
|
|
982
982
|
* "web": {
|
|
983
983
|
* "uniVer": "x",
|
|
984
|
-
* "unixVer": "
|
|
984
|
+
* "unixVer": "4.0+"
|
|
985
985
|
* }
|
|
986
986
|
*}
|
|
987
987
|
*/
|
|
@@ -1050,7 +1050,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
1050
1050
|
* },
|
|
1051
1051
|
* "web": {
|
|
1052
1052
|
* "uniVer": "√",
|
|
1053
|
-
* "unixVer": "
|
|
1053
|
+
* "unixVer": "4.0+"
|
|
1054
1054
|
* }
|
|
1055
1055
|
*}
|
|
1056
1056
|
*/
|
|
@@ -1117,7 +1117,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
1117
1117
|
* },
|
|
1118
1118
|
* "web": {
|
|
1119
1119
|
* "uniVer": "x",
|
|
1120
|
-
* "unixVer": "
|
|
1120
|
+
* "unixVer": "4.0+"
|
|
1121
1121
|
* }
|
|
1122
1122
|
*}
|
|
1123
1123
|
*/
|
|
@@ -1184,7 +1184,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
1184
1184
|
* },
|
|
1185
1185
|
* "web": {
|
|
1186
1186
|
* "uniVer": "√",
|
|
1187
|
-
* "unixVer": "
|
|
1187
|
+
* "unixVer": "4.0+"
|
|
1188
1188
|
* }
|
|
1189
1189
|
*}
|
|
1190
1190
|
*/
|
|
@@ -1251,7 +1251,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
1251
1251
|
* },
|
|
1252
1252
|
* "web": {
|
|
1253
1253
|
* "uniVer": "√",
|
|
1254
|
-
* "unixVer": "
|
|
1254
|
+
* "unixVer": "4.0+"
|
|
1255
1255
|
* }
|
|
1256
1256
|
*}
|
|
1257
1257
|
*/
|
|
@@ -1319,7 +1319,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
1319
1319
|
* },
|
|
1320
1320
|
* "web": {
|
|
1321
1321
|
* "uniVer": "√",
|
|
1322
|
-
* "unixVer": "
|
|
1322
|
+
* "unixVer": "4.0+"
|
|
1323
1323
|
* }
|
|
1324
1324
|
*}
|
|
1325
1325
|
*/
|
|
@@ -1385,7 +1385,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
1385
1385
|
* },
|
|
1386
1386
|
* "web": {
|
|
1387
1387
|
* "uniVer": "√",
|
|
1388
|
-
* "unixVer": "
|
|
1388
|
+
* "unixVer": "4.0+"
|
|
1389
1389
|
* }
|
|
1390
1390
|
*}
|
|
1391
1391
|
*/
|
|
@@ -1451,7 +1451,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
1451
1451
|
* },
|
|
1452
1452
|
* "web": {
|
|
1453
1453
|
* "uniVer": "√",
|
|
1454
|
-
* "unixVer": "
|
|
1454
|
+
* "unixVer": "4.0+"
|
|
1455
1455
|
* }
|
|
1456
1456
|
*}
|
|
1457
1457
|
*/
|
|
@@ -1517,7 +1517,7 @@ interface PageInstance<D extends AnyObject = any, T extends AnyObject = any> ext
|
|
|
1517
1517
|
* },
|
|
1518
1518
|
* "web": {
|
|
1519
1519
|
* "uniVer": "√",
|
|
1520
|
-
* "unixVer": "
|
|
1520
|
+
* "unixVer": "4.0+"
|
|
1521
1521
|
* }
|
|
1522
1522
|
*}
|
|
1523
1523
|
*/
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference path='./lib/route/global.d.ts' />
|
|
2
|
+
/// <reference path='./lib/performance/global.d.ts' />
|
|
3
|
+
/// <reference path='./lib/lifecycle/global.d.ts' />
|
|
4
|
+
/// <reference path='./lib/ui/tab-bar/global.d.ts' />
|
|
5
|
+
/// <reference path='./lib/ui/set-navigation-bar-title/global.d.ts' />
|
|
6
|
+
/// <reference path='./lib/ui/set-navigation-bar-color/global.d.ts' />
|
|
7
|
+
/// <reference path='./lib/ui/pull-down-refresh/global.d.ts' />
|
|
8
|
+
/// <reference path='./lib/ui/page-scroll-to/global.d.ts' />
|
|
9
|
+
/// <reference path='./lib/ui/load-font-face/global.d.ts' />
|
|
10
|
+
/// <reference path='./lib/ui/get-element-by-id/global.d.ts' />
|
|
11
|
+
/// <reference path='./lib/ui/create-selector-query/global.d.ts' />
|
|
12
|
+
/// <reference path='./lib/base/interceptor/global.d.ts' />
|
|
13
|
+
/// <reference path='./lib/base/event/global.d.ts' />
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
export * from './lib/route'
|
|
2
|
+
export * from './lib/performance'
|
|
3
|
+
export * from './lib/lifecycle'
|
|
4
|
+
export * from './lib/ui/tab-bar'
|
|
5
|
+
export * from './lib/ui/set-navigation-bar-title'
|
|
6
|
+
export * from './lib/ui/set-navigation-bar-color'
|
|
7
|
+
export * from './lib/ui/pull-down-refresh'
|
|
8
|
+
export * from './lib/ui/page-scroll-to'
|
|
9
|
+
export * from './lib/ui/load-font-face'
|
|
10
|
+
export * from './lib/ui/get-element-by-id'
|
|
11
|
+
export * from './lib/ui/create-selector-query'
|
|
12
|
+
export * from './lib/base/interceptor'
|
|
13
|
+
export * from './lib/base/event'
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
import {
|
|
3
|
+
$On as $OnOrigin,
|
|
4
|
+
$Once as $OnceOrigin,
|
|
5
|
+
$Off as $OffOrigin,
|
|
6
|
+
$Emit as $EmitOrigin,
|
|
7
|
+
Uni as UniOrigin
|
|
8
|
+
} from './interface'
|
|
9
|
+
|
|
10
|
+
declare global {
|
|
11
|
+
type $On = $OnOrigin
|
|
12
|
+
type $Once = $OnceOrigin
|
|
13
|
+
type $Off = $OffOrigin
|
|
14
|
+
type $Emit = $EmitOrigin
|
|
15
|
+
interface Uni extends UniOrigin { }
|
|
16
|
+
}
|
|
@@ -1,16 +1,7 @@
|
|
|
1
1
|
// 本文件为自动构建生成
|
|
2
|
-
|
|
3
|
-
$On
|
|
4
|
-
$Once
|
|
5
|
-
$Off
|
|
6
|
-
$Emit
|
|
7
|
-
Uni as UniOrigin
|
|
2
|
+
export {
|
|
3
|
+
$On,
|
|
4
|
+
$Once,
|
|
5
|
+
$Off,
|
|
6
|
+
$Emit,
|
|
8
7
|
} from './interface'
|
|
9
|
-
|
|
10
|
-
declare global {
|
|
11
|
-
type $On = $OnOrigin
|
|
12
|
-
type $Once = $OnceOrigin
|
|
13
|
-
type $Off = $OffOrigin
|
|
14
|
-
type $Emit = $EmitOrigin
|
|
15
|
-
interface Uni extends UniOrigin { }
|
|
16
|
-
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
import {
|
|
3
|
+
Interceptor as InterceptorOrigin,
|
|
4
|
+
AddInterceptorOptions as AddInterceptorOptionsOrigin,
|
|
5
|
+
RemoveInterceptorOptions as RemoveInterceptorOptionsOrigin,
|
|
6
|
+
AddInterceptor as AddInterceptorOrigin,
|
|
7
|
+
RemoveInterceptor as RemoveInterceptorOrigin,
|
|
8
|
+
Uni as UniOrigin
|
|
9
|
+
} from './interface'
|
|
10
|
+
|
|
11
|
+
declare global {
|
|
12
|
+
type Interceptor = InterceptorOrigin
|
|
13
|
+
type AddInterceptorOptions = AddInterceptorOptionsOrigin
|
|
14
|
+
type RemoveInterceptorOptions = RemoveInterceptorOptionsOrigin
|
|
15
|
+
type AddInterceptor = AddInterceptorOrigin
|
|
16
|
+
type RemoveInterceptor = RemoveInterceptorOrigin
|
|
17
|
+
interface Uni extends UniOrigin { }
|
|
18
|
+
}
|
|
@@ -1,18 +1,8 @@
|
|
|
1
1
|
// 本文件为自动构建生成
|
|
2
|
-
|
|
3
|
-
Interceptor
|
|
4
|
-
AddInterceptorOptions
|
|
5
|
-
RemoveInterceptorOptions
|
|
6
|
-
AddInterceptor
|
|
7
|
-
RemoveInterceptor
|
|
8
|
-
Uni as UniOrigin
|
|
2
|
+
export {
|
|
3
|
+
Interceptor,
|
|
4
|
+
AddInterceptorOptions,
|
|
5
|
+
RemoveInterceptorOptions,
|
|
6
|
+
AddInterceptor,
|
|
7
|
+
RemoveInterceptor,
|
|
9
8
|
} from './interface'
|
|
10
|
-
|
|
11
|
-
declare global {
|
|
12
|
-
type Interceptor = InterceptorOrigin
|
|
13
|
-
type AddInterceptorOptions = AddInterceptorOptionsOrigin
|
|
14
|
-
type RemoveInterceptorOptions = RemoveInterceptorOptionsOrigin
|
|
15
|
-
type AddInterceptor = AddInterceptorOrigin
|
|
16
|
-
type RemoveInterceptor = RemoveInterceptorOrigin
|
|
17
|
-
interface Uni extends UniOrigin { }
|
|
18
|
-
}
|
|
@@ -73,7 +73,7 @@ export interface Uni {
|
|
|
73
73
|
* },
|
|
74
74
|
* "web": {
|
|
75
75
|
* "uniVer": "√",
|
|
76
|
-
* "unixVer": "
|
|
76
|
+
* "unixVer": "4.0+"
|
|
77
77
|
* }
|
|
78
78
|
* }
|
|
79
79
|
*/
|
|
@@ -139,7 +139,7 @@ export interface Uni {
|
|
|
139
139
|
* },
|
|
140
140
|
* "web": {
|
|
141
141
|
* "uniVer": "√",
|
|
142
|
-
* "unixVer": "
|
|
142
|
+
* "unixVer": "4.0+"
|
|
143
143
|
* }
|
|
144
144
|
* }
|
|
145
145
|
*/
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
// 本文件为自动构建生成
|
|
2
|
-
|
|
3
|
-
GetLaunchOptionsSync
|
|
4
|
-
Uni as UniOrigin
|
|
2
|
+
export {
|
|
3
|
+
GetLaunchOptionsSync,
|
|
5
4
|
} from './interface'
|
|
6
|
-
|
|
7
|
-
declare global {
|
|
8
|
-
type GetLaunchOptionsSync = GetLaunchOptionsSyncOrigin
|
|
9
|
-
interface Uni extends UniOrigin { }
|
|
10
|
-
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
import {
|
|
3
|
+
GetPerformance as GetPerformanceOrigin,
|
|
4
|
+
PerformanceObserverCallback as PerformanceObserverCallbackOrigin,
|
|
5
|
+
PerformanceEntry as PerformanceEntryOrigin,
|
|
6
|
+
PerformanceObserverOptions as PerformanceObserverOptionsOrigin,
|
|
7
|
+
PerformanceObserver as PerformanceObserverOrigin,
|
|
8
|
+
PerformanceObserverEntryList as PerformanceObserverEntryListOrigin,
|
|
9
|
+
Performance as PerformanceOrigin,
|
|
10
|
+
Uni as UniOrigin
|
|
11
|
+
} from './interface'
|
|
12
|
+
|
|
13
|
+
declare global {
|
|
14
|
+
type GetPerformance = GetPerformanceOrigin
|
|
15
|
+
type PerformanceObserverCallback = PerformanceObserverCallbackOrigin
|
|
16
|
+
type PerformanceEntry = PerformanceEntryOrigin
|
|
17
|
+
type PerformanceObserverOptions = PerformanceObserverOptionsOrigin
|
|
18
|
+
type PerformanceObserver = PerformanceObserverOrigin
|
|
19
|
+
type PerformanceObserverEntryList = PerformanceObserverEntryListOrigin
|
|
20
|
+
type Performance = PerformanceOrigin
|
|
21
|
+
interface Uni extends UniOrigin { }
|
|
22
|
+
}
|
|
@@ -1,22 +1,10 @@
|
|
|
1
1
|
// 本文件为自动构建生成
|
|
2
|
-
|
|
3
|
-
GetPerformance
|
|
4
|
-
PerformanceObserverCallback
|
|
5
|
-
PerformanceEntry
|
|
6
|
-
PerformanceObserverOptions
|
|
7
|
-
PerformanceObserver
|
|
8
|
-
PerformanceObserverEntryList
|
|
9
|
-
Performance
|
|
10
|
-
Uni as UniOrigin
|
|
2
|
+
export {
|
|
3
|
+
GetPerformance,
|
|
4
|
+
PerformanceObserverCallback,
|
|
5
|
+
PerformanceEntry,
|
|
6
|
+
PerformanceObserverOptions,
|
|
7
|
+
PerformanceObserver,
|
|
8
|
+
PerformanceObserverEntryList,
|
|
9
|
+
Performance,
|
|
11
10
|
} from './interface'
|
|
12
|
-
|
|
13
|
-
declare global {
|
|
14
|
-
type GetPerformance = GetPerformanceOrigin
|
|
15
|
-
type PerformanceObserverCallback = PerformanceObserverCallbackOrigin
|
|
16
|
-
type PerformanceEntry = PerformanceEntryOrigin
|
|
17
|
-
type PerformanceObserverOptions = PerformanceObserverOptionsOrigin
|
|
18
|
-
type PerformanceObserver = PerformanceObserverOrigin
|
|
19
|
-
type PerformanceObserverEntryList = PerformanceObserverEntryListOrigin
|
|
20
|
-
type Performance = PerformanceOrigin
|
|
21
|
-
interface Uni extends UniOrigin { }
|
|
22
|
-
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// 本文件为自动构建生成
|
|
2
|
+
import {
|
|
3
|
+
RouteErrorCode as RouteErrorCodeOrigin,
|
|
4
|
+
NavigateBackError as NavigateBackErrorOrigin,
|
|
5
|
+
NavigateToError as NavigateToErrorOrigin,
|
|
6
|
+
RedirectToError as RedirectToErrorOrigin,
|
|
7
|
+
ReLaunchError as ReLaunchErrorOrigin,
|
|
8
|
+
SwitchTabError as SwitchTabErrorOrigin,
|
|
9
|
+
EventChannel as EventChannelOrigin,
|
|
10
|
+
NavigateToSuccess as NavigateToSuccessOrigin,
|
|
11
|
+
NavigateToFail as NavigateToFailOrigin,
|
|
12
|
+
NavigateToComplete as NavigateToCompleteOrigin,
|
|
13
|
+
NavigateToOptions as NavigateToOptionsOrigin,
|
|
14
|
+
RedirectToSuccess as RedirectToSuccessOrigin,
|
|
15
|
+
RedirectToFail as RedirectToFailOrigin,
|
|
16
|
+
RedirectToComplete as RedirectToCompleteOrigin,
|
|
17
|
+
RedirectToOptions as RedirectToOptionsOrigin,
|
|
18
|
+
ReLaunchSuccess as ReLaunchSuccessOrigin,
|
|
19
|
+
ReLaunchFail as ReLaunchFailOrigin,
|
|
20
|
+
ReLaunchComplete as ReLaunchCompleteOrigin,
|
|
21
|
+
ReLaunchOptions as ReLaunchOptionsOrigin,
|
|
22
|
+
SwitchTabSuccess as SwitchTabSuccessOrigin,
|
|
23
|
+
SwitchTabSuccessCallback as SwitchTabSuccessCallbackOrigin,
|
|
24
|
+
SwitchTabFail as SwitchTabFailOrigin,
|
|
25
|
+
SwitchTabFailCallback as SwitchTabFailCallbackOrigin,
|
|
26
|
+
SwitchTabComplete as SwitchTabCompleteOrigin,
|
|
27
|
+
SwitchTabCompleteCallback as SwitchTabCompleteCallbackOrigin,
|
|
28
|
+
SwitchTabOptions as SwitchTabOptionsOrigin,
|
|
29
|
+
NavigateBackSuccess as NavigateBackSuccessOrigin,
|
|
30
|
+
NavigateBackFail as NavigateBackFailOrigin,
|
|
31
|
+
NavigateBackComplete as NavigateBackCompleteOrigin,
|
|
32
|
+
NavigateBackOptions as NavigateBackOptionsOrigin,
|
|
33
|
+
Uni as UniOrigin
|
|
34
|
+
} from './interface'
|
|
35
|
+
|
|
36
|
+
declare global {
|
|
37
|
+
type RouteErrorCode = RouteErrorCodeOrigin
|
|
38
|
+
type NavigateBackError = NavigateBackErrorOrigin
|
|
39
|
+
type NavigateToError = NavigateToErrorOrigin
|
|
40
|
+
type RedirectToError = RedirectToErrorOrigin
|
|
41
|
+
type ReLaunchError = ReLaunchErrorOrigin
|
|
42
|
+
type SwitchTabError = SwitchTabErrorOrigin
|
|
43
|
+
type EventChannel = EventChannelOrigin
|
|
44
|
+
type NavigateToSuccess = NavigateToSuccessOrigin
|
|
45
|
+
type NavigateToFail = NavigateToFailOrigin
|
|
46
|
+
type NavigateToComplete = NavigateToCompleteOrigin
|
|
47
|
+
type NavigateToOptions = NavigateToOptionsOrigin
|
|
48
|
+
type RedirectToSuccess = RedirectToSuccessOrigin
|
|
49
|
+
type RedirectToFail = RedirectToFailOrigin
|
|
50
|
+
type RedirectToComplete = RedirectToCompleteOrigin
|
|
51
|
+
type RedirectToOptions = RedirectToOptionsOrigin
|
|
52
|
+
type ReLaunchSuccess = ReLaunchSuccessOrigin
|
|
53
|
+
type ReLaunchFail = ReLaunchFailOrigin
|
|
54
|
+
type ReLaunchComplete = ReLaunchCompleteOrigin
|
|
55
|
+
type ReLaunchOptions = ReLaunchOptionsOrigin
|
|
56
|
+
type SwitchTabSuccess = SwitchTabSuccessOrigin
|
|
57
|
+
type SwitchTabSuccessCallback = SwitchTabSuccessCallbackOrigin
|
|
58
|
+
type SwitchTabFail = SwitchTabFailOrigin
|
|
59
|
+
type SwitchTabFailCallback = SwitchTabFailCallbackOrigin
|
|
60
|
+
type SwitchTabComplete = SwitchTabCompleteOrigin
|
|
61
|
+
type SwitchTabCompleteCallback = SwitchTabCompleteCallbackOrigin
|
|
62
|
+
type SwitchTabOptions = SwitchTabOptionsOrigin
|
|
63
|
+
type NavigateBackSuccess = NavigateBackSuccessOrigin
|
|
64
|
+
type NavigateBackFail = NavigateBackFailOrigin
|
|
65
|
+
type NavigateBackComplete = NavigateBackCompleteOrigin
|
|
66
|
+
type NavigateBackOptions = NavigateBackOptionsOrigin
|
|
67
|
+
interface Uni extends UniOrigin { }
|
|
68
|
+
}
|