@dcloudio/uni-app-x 0.7.26 → 0.7.27
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/uni/uts-plugin-api/global.d.ts +1 -1
- package/types/uni/uts-plugin-api/index.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +8 -1
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/global.d.ts +2 -2
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/index.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +1 -1
package/package.json
CHANGED
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
/// <reference path='./lib/uni-prompt/utssdk/global.d.ts' />
|
|
12
12
|
/// <reference path='./lib/uni-payment-wxpay/utssdk/global.d.ts' />
|
|
13
13
|
/// <reference path='./lib/uni-payment-alipay/utssdk/global.d.ts' />
|
|
14
|
+
/// <reference path='./lib/uni-payment/utssdk/global.d.ts' />
|
|
14
15
|
/// <reference path='./lib/uni-pageScrollTo/utssdk/global.d.ts' />
|
|
15
16
|
/// <reference path='./lib/uni-openDocument/utssdk/global.d.ts' />
|
|
16
|
-
/// <reference path='./lib/uni-payment/utssdk/global.d.ts' />
|
|
17
17
|
/// <reference path='./lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts' />
|
|
18
18
|
/// <reference path='./lib/uni-oauth-huawei/utssdk/global.d.ts' />
|
|
19
19
|
/// <reference path='./lib/uni-oauth/utssdk/global.d.ts' />
|
|
@@ -11,9 +11,9 @@ export * from './lib/uni-pullDownRefresh/utssdk'
|
|
|
11
11
|
export * from './lib/uni-prompt/utssdk'
|
|
12
12
|
export * from './lib/uni-payment-wxpay/utssdk'
|
|
13
13
|
export * from './lib/uni-payment-alipay/utssdk'
|
|
14
|
+
export * from './lib/uni-payment/utssdk'
|
|
14
15
|
export * from './lib/uni-pageScrollTo/utssdk'
|
|
15
16
|
export * from './lib/uni-openDocument/utssdk'
|
|
16
|
-
export * from './lib/uni-payment/utssdk'
|
|
17
17
|
export * from './lib/uni-openAppAuthorizeSetting/utssdk'
|
|
18
18
|
export * from './lib/uni-oauth-huawei/utssdk'
|
|
19
19
|
export * from './lib/uni-oauth/utssdk'
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// 本文件为自动构建生成
|
|
2
2
|
import {
|
|
3
|
+
UniDialogPage as UniDialogPageOrigin,
|
|
3
4
|
RouteErrorCode as RouteErrorCodeOrigin,
|
|
4
5
|
EventChannel as EventChannelOrigin,
|
|
5
6
|
OpenDialogPageSuccess as OpenDialogPageSuccessOrigin,
|
|
@@ -14,6 +15,7 @@ import {
|
|
|
14
15
|
} from './interface'
|
|
15
16
|
|
|
16
17
|
declare global {
|
|
18
|
+
type UniDialogPage = UniDialogPageOrigin
|
|
17
19
|
type RouteErrorCode = RouteErrorCodeOrigin
|
|
18
20
|
type EventChannel = EventChannelOrigin
|
|
19
21
|
type OpenDialogPageSuccess = OpenDialogPageSuccessOrigin
|
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Page,
|
|
3
|
-
UniDialogPage,
|
|
4
3
|
} from '@dcloudio/uni-runtime'
|
|
4
|
+
import { EventBus } from '../../uni-event/utssdk/interface.uts'
|
|
5
5
|
|
|
6
|
+
export interface UniDialogPage extends EventBus {
|
|
7
|
+
route: string
|
|
8
|
+
$component: any | null
|
|
9
|
+
$getParentPage: () => Page | null
|
|
10
|
+
$disableEscBack: boolean
|
|
11
|
+
$vm: ComponentPublicInstance | null
|
|
12
|
+
}
|
|
6
13
|
/**
|
|
7
14
|
* 路由错误码
|
|
8
15
|
* - 4: 框架内部异常
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
$Once as $OnceOrigin,
|
|
5
5
|
$Off as $OffOrigin,
|
|
6
6
|
$Emit as $EmitOrigin,
|
|
7
|
-
|
|
7
|
+
EventBus as EventBusOrigin,
|
|
8
8
|
Uni as UniOrigin
|
|
9
9
|
} from './interface'
|
|
10
10
|
|
|
@@ -13,6 +13,6 @@ declare global {
|
|
|
13
13
|
type $Once = $OnceOrigin
|
|
14
14
|
type $Off = $OffOrigin
|
|
15
15
|
type $Emit = $EmitOrigin
|
|
16
|
-
type
|
|
16
|
+
type EventBus = EventBusOrigin
|
|
17
17
|
interface Uni extends UniOrigin { }
|
|
18
18
|
}
|