@dcloudio/uni-app-x 0.2.0 → 0.4.0
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/.env +2 -0
- package/index.d.ts +1 -2
- package/package.json +15 -2
- package/types/index.d.ts +4 -0
- package/{native → types/native}/CustomEvent.d.ts +6 -0
- package/types/native/DrawableContext.d.ts +46 -0
- package/{native → types/native}/IPageManager.d.ts +3 -0
- package/types/native/RefresherEvent.d.ts +10 -0
- package/{native → types/native}/ResizeEvent.d.ts +2 -0
- package/types/native/ScrollEvent.d.ts +15 -0
- package/types/native/ScrollToLowerEvent.d.ts +10 -0
- package/types/native/ScrollToUpperEvent.d.ts +10 -0
- package/{native → types/native}/index.d.ts +4 -1
- package/types/uni/base/index.d.ts +3 -0
- package/types/uni/core/index.d.ts +9 -0
- package/types/uni/core/lib/base/event/index.d.ts +15 -0
- package/types/uni/core/lib/base/event/interface.d.ts +40 -0
- package/types/uni/core/lib/interface.d.ts +16 -0
- package/types/uni/core/lib/lifecycle/index.d.ts +9 -0
- package/types/uni/core/lib/lifecycle/interface.d.ts +12 -0
- package/types/uni/core/lib/route/index.d.ts +65 -0
- package/types/uni/core/lib/route/interface.d.ts +208 -0
- package/types/uni/core/lib/ui/create-selector-query/index.d.ts +15 -0
- package/types/uni/core/lib/ui/create-selector-query/interface.d.ts +172 -0
- package/types/uni/core/lib/ui/load-font-face/index.d.ts +25 -0
- package/types/uni/core/lib/ui/load-font-face/interface.d.ts +59 -0
- package/types/uni/core/lib/ui/page-scroll-to/index.d.ts +23 -0
- package/types/uni/core/lib/ui/page-scroll-to/interface.d.ts +52 -0
- package/types/uni/core/lib/ui/pull-down-refresh/index.d.ts +25 -0
- package/types/uni/core/lib/ui/pull-down-refresh/interface.d.ts +52 -0
- package/types/uni/core/lib/ui/set-navigation-bar-color/index.d.ts +23 -0
- package/types/uni/core/lib/ui/set-navigation-bar-color/interface.d.ts +56 -0
- package/types/uni/core/lib/ui/tab-bar/index.d.ts +145 -0
- package/types/uni/core/lib/ui/tab-bar/interface.d.ts +442 -0
- package/types/uni/ext/index.d.ts +19 -0
- package/types/uni/ext/lib/uni-audio/utssdk/index.d.ts +13 -0
- package/types/uni/ext/lib/uni-audio/utssdk/interface.d.ts +804 -0
- package/types/uni/ext/lib/uni-exit/utssdk/index.d.ts +19 -0
- package/types/uni/ext/lib/uni-exit/utssdk/interface.d.ts +63 -0
- package/types/uni/ext/lib/uni-file-manager/utssdk/index.d.ts +33 -0
- package/types/uni/ext/lib/uni-file-manager/utssdk/interface.d.ts +132 -0
- package/types/uni/ext/lib/uni-getAccessibilityInfo/utssdk/index.d.ts +9 -0
- package/types/uni/ext/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +31 -0
- package/types/uni/ext/lib/uni-getAppAuthorizeSetting/utssdk/index.d.ts +11 -0
- package/types/uni/ext/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +135 -0
- package/types/uni/ext/lib/uni-getAppBaseInfo/utssdk/index.d.ts +13 -0
- package/types/uni/ext/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +120 -0
- package/types/uni/ext/lib/uni-getDeviceInfo/utssdk/index.d.ts +13 -0
- package/types/uni/ext/lib/uni-getDeviceInfo/utssdk/interface.d.ts +144 -0
- package/types/uni/ext/lib/uni-getLocation-system/utssdk/index.d.ts +15 -0
- package/types/uni/ext/lib/uni-getLocation-system/utssdk/interface.d.ts +99 -0
- package/types/uni/ext/lib/uni-getLocation-tencent/utssdk/index.d.ts +15 -0
- package/types/uni/ext/lib/uni-getLocation-tencent/utssdk/interface.d.ts +93 -0
- package/types/uni/ext/lib/uni-getNetworkType/utssdk/index.d.ts +23 -0
- package/types/uni/ext/lib/uni-getNetworkType/utssdk/interface.d.ts +67 -0
- package/types/uni/ext/lib/uni-getRecorderManager/utssdk/index.d.ts +13 -0
- package/types/uni/ext/lib/uni-getRecorderManager/utssdk/interface.d.ts +213 -0
- package/types/uni/ext/lib/uni-getSystemInfo/utssdk/index.d.ts +29 -0
- package/types/uni/ext/lib/uni-getSystemInfo/utssdk/interface.d.ts +517 -0
- package/types/uni/ext/lib/uni-getSystemSetting/utssdk/index.d.ts +11 -0
- package/types/uni/ext/lib/uni-getSystemSetting/utssdk/interface.d.ts +61 -0
- package/types/uni/ext/lib/uni-media/utssdk/index.d.ts +93 -0
- package/types/uni/ext/lib/uni-media/utssdk/interface.d.ts +877 -0
- package/types/uni/ext/lib/uni-network/utssdk/index.d.ts +61 -0
- package/types/uni/ext/lib/uni-network/utssdk/interface.d.ts +569 -0
- package/types/uni/ext/lib/uni-openAppAuthorizeSetting/utssdk/index.d.ts +23 -0
- package/types/uni/ext/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +67 -0
- package/types/uni/ext/lib/uni-prompt/utssdk/index.d.ts +69 -0
- package/types/uni/ext/lib/uni-prompt/utssdk/interface.d.ts +686 -0
- package/types/uni/ext/lib/uni-storage/utssdk/index.d.ts +87 -0
- package/types/uni/ext/lib/uni-storage/utssdk/interface.d.ts +575 -0
- package/types/uni/ext/lib/uni-websocket/utssdk/index.d.ts +49 -0
- package/types/uni/ext/lib/uni-websocket/utssdk/interface.d.ts +511 -0
- package/types/uni/index.d.ts +3 -0
- package/types/uni-cloud/index.d.ts +274 -0
- package/{vue → types/vue}/CheckboxGroupChangeEvent.d.ts +9 -3
- package/types/vue/PickerViewChangeEvent.d.ts +16 -0
- package/types/vue/ProgressActiveendEvent.d.ts +16 -0
- package/types/vue/RadioGroupChangeEvent.d.ts +16 -0
- package/types/vue/SliderChangeEvent.d.ts +16 -0
- package/types/vue/SwitchChangeEvent.d.ts +16 -0
- package/types/vue/index.d.ts +6 -0
- package/vue/index.d.ts +0 -1
- /package/{native → types/native}/Event.d.ts +0 -0
- /package/{native → types/native}/IApp.d.ts +0 -0
- /package/{native → types/native}/IDocument.d.ts +0 -0
- /package/{native → types/native}/INode.d.ts +0 -0
- /package/{native → types/native}/IPage.d.ts +0 -0
- /package/{native → types/native}/ITabsNode.d.ts +0 -0
- /package/{native → types/native}/MouseEvent.d.ts +0 -0
- /package/{native → types/native}/NodeData.d.ts +0 -0
- /package/{native → types/native}/PageEvent.d.ts +0 -0
- /package/{native → types/native}/PageScrollEvent.d.ts +0 -0
- /package/{native → types/native}/TabTapEvent.d.ts +0 -0
- /package/{native → types/native}/TouchEvent.d.ts +0 -0
- /package/{native → types/native}/UniAppManager.d.ts +0 -0
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
export type CreateSelectorQuery = () => SelectorQuery
|
|
2
|
+
|
|
3
|
+
export type SelectorQueryNodeInfoCallback = (result: any) => void
|
|
4
|
+
|
|
5
|
+
export type NodeInfo = {
|
|
6
|
+
/**
|
|
7
|
+
* 节点的ID
|
|
8
|
+
*/
|
|
9
|
+
id: string | null
|
|
10
|
+
/**
|
|
11
|
+
* 节点的dataset
|
|
12
|
+
*/
|
|
13
|
+
dataset: any | null
|
|
14
|
+
/**
|
|
15
|
+
* 节点的左边界坐标
|
|
16
|
+
*/
|
|
17
|
+
left: number | null
|
|
18
|
+
/**
|
|
19
|
+
* 节点的右边界坐标
|
|
20
|
+
*/
|
|
21
|
+
right: number | null
|
|
22
|
+
/**
|
|
23
|
+
* 节点的上边界坐标
|
|
24
|
+
*/
|
|
25
|
+
top: number | null
|
|
26
|
+
/**
|
|
27
|
+
* 节点的下边界坐标
|
|
28
|
+
*/
|
|
29
|
+
bottom: number | null
|
|
30
|
+
/**
|
|
31
|
+
* 节点的宽度
|
|
32
|
+
*/
|
|
33
|
+
width: number | null
|
|
34
|
+
/**
|
|
35
|
+
* 节点的高度
|
|
36
|
+
*/
|
|
37
|
+
height: number | null
|
|
38
|
+
/**
|
|
39
|
+
* 节点的水平滚动位置
|
|
40
|
+
*/
|
|
41
|
+
scrollLeft: number | null
|
|
42
|
+
/**
|
|
43
|
+
* 节点的垂直滚动位置
|
|
44
|
+
*/
|
|
45
|
+
scrollTop: number | null
|
|
46
|
+
/**
|
|
47
|
+
* 节点的内容高度
|
|
48
|
+
*/
|
|
49
|
+
scrollHeight: number | null
|
|
50
|
+
/**
|
|
51
|
+
* 节点的内容宽度
|
|
52
|
+
*/
|
|
53
|
+
scrollWidth: number | null
|
|
54
|
+
/**
|
|
55
|
+
* 节点对应的 Context 对象
|
|
56
|
+
* @type MapContext | CanvasContext | VideoContext | EditorContext
|
|
57
|
+
*/
|
|
58
|
+
context: any | null
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export type NodeField = {
|
|
62
|
+
/**
|
|
63
|
+
* 是否返回节点 id
|
|
64
|
+
* @type boolean
|
|
65
|
+
*/
|
|
66
|
+
id: boolean | null
|
|
67
|
+
/**
|
|
68
|
+
* 是否返回节点 dataset
|
|
69
|
+
* @type boolean
|
|
70
|
+
*/
|
|
71
|
+
dataset: boolean | null
|
|
72
|
+
/**
|
|
73
|
+
* 是否返回节点布局位置(left right top bottom)
|
|
74
|
+
* @type boolean
|
|
75
|
+
*/
|
|
76
|
+
rect: boolean | null
|
|
77
|
+
/**
|
|
78
|
+
* 是否返回节点尺寸(width height)
|
|
79
|
+
* @type boolean
|
|
80
|
+
*/
|
|
81
|
+
size: boolean | null
|
|
82
|
+
/**
|
|
83
|
+
* 是否返回节点的 scrollLeft scrollTop,节点必须是 scroll-view 或者 viewport
|
|
84
|
+
* @type boolean
|
|
85
|
+
*/
|
|
86
|
+
scrollOffset: boolean | null
|
|
87
|
+
/**
|
|
88
|
+
* 指定属性名列表,返回节点对应属性名的当前属性值(只能获得组件文档中标注的常规属性值,id class style 和事件绑定的属性值不可获取)
|
|
89
|
+
*/
|
|
90
|
+
properties: string[] | null
|
|
91
|
+
/**
|
|
92
|
+
* 指定样式名列表,返回节点对应样式名的当前值
|
|
93
|
+
*/
|
|
94
|
+
computedStyle: string[] | null
|
|
95
|
+
/**
|
|
96
|
+
* 是否返回节点对应的 Context 对象
|
|
97
|
+
* @type boolean
|
|
98
|
+
*/
|
|
99
|
+
context: boolean | null
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export interface NodesRef {
|
|
103
|
+
/**
|
|
104
|
+
* 添加节点的布局位置的查询请求,相对于显示区域,以像素为单位
|
|
105
|
+
*/
|
|
106
|
+
boundingClientRect(
|
|
107
|
+
callback: SelectorQueryNodeInfoCallback | null
|
|
108
|
+
): SelectorQuery
|
|
109
|
+
|
|
110
|
+
boundingClientRect(): SelectorQuery
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* 添加节点的滚动位置查询请求,以像素为单位
|
|
114
|
+
*/
|
|
115
|
+
scrollOffset(callback: SelectorQueryNodeInfoCallback): SelectorQuery
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* 获取节点的相关信息,需要获取的字段在fields中指定
|
|
119
|
+
*/
|
|
120
|
+
fields(
|
|
121
|
+
fields: NodeField,
|
|
122
|
+
callback: SelectorQueryNodeInfoCallback
|
|
123
|
+
): SelectorQuery
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* 添加节点的 Context 对象查询请求
|
|
127
|
+
*/
|
|
128
|
+
context(callback: SelectorQueryNodeInfoCallback): SelectorQuery
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* 获取 Node 节点实例。目前支持 Canvas 的获取。
|
|
132
|
+
*/
|
|
133
|
+
node(callback: (result: any) => void): SelectorQuery
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export interface SelectorQuery {
|
|
137
|
+
/**
|
|
138
|
+
* 将选择器的选取范围更改为自定义组件component内
|
|
139
|
+
*/
|
|
140
|
+
in(component: any | null): SelectorQuery
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* 在当前页面下选择第一个匹配选择器selector的节点
|
|
144
|
+
*/
|
|
145
|
+
select(selector: string): NodesRef
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* 在当前页面下选择匹配选择器selector的所有节点
|
|
149
|
+
*/
|
|
150
|
+
selectAll(selector: string): NodesRef
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* 选择显示区域
|
|
154
|
+
*/
|
|
155
|
+
selectViewport(): NodesRef
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* 执行所有的请求
|
|
159
|
+
*/
|
|
160
|
+
exec(callback: (result: Array<any>) => void | null): NodesRef | null
|
|
161
|
+
|
|
162
|
+
exec(): NodesRef | null
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export interface Uni {
|
|
166
|
+
/**
|
|
167
|
+
* 返回一个SelectorQuery对象实例
|
|
168
|
+
*
|
|
169
|
+
* @tutorial http://uniapp.dcloud.io/api/ui/nodes-info?id=createselectorquery
|
|
170
|
+
*/
|
|
171
|
+
createSelectorQuery: CreateSelectorQuery
|
|
172
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
LoadFontFaceOptionDesc as LoadFontFaceOptionDescOrigin,
|
|
3
|
+
LoadFontFaceOptions as LoadFontFaceOptionsOrigin,
|
|
4
|
+
LoadFontFaceSuccess as LoadFontFaceSuccessOrigin,
|
|
5
|
+
LoadFontFaceSuccessCallback as LoadFontFaceSuccessCallbackOrigin,
|
|
6
|
+
LoadFontFaceFail as LoadFontFaceFailOrigin,
|
|
7
|
+
LoadFontFaceFailCallback as LoadFontFaceFailCallbackOrigin,
|
|
8
|
+
LoadFontFaceComplete as LoadFontFaceCompleteOrigin,
|
|
9
|
+
LoadFontFaceCompleteCallback as LoadFontFaceCompleteCallbackOrigin,
|
|
10
|
+
LoadFontFace as LoadFontFaceOrigin,
|
|
11
|
+
Uni as UniOrigin
|
|
12
|
+
} from './interface'
|
|
13
|
+
|
|
14
|
+
declare global {
|
|
15
|
+
type LoadFontFaceOptionDesc = LoadFontFaceOptionDescOrigin
|
|
16
|
+
type LoadFontFaceOptions = LoadFontFaceOptionsOrigin
|
|
17
|
+
type LoadFontFaceSuccess = LoadFontFaceSuccessOrigin
|
|
18
|
+
type LoadFontFaceSuccessCallback = LoadFontFaceSuccessCallbackOrigin
|
|
19
|
+
type LoadFontFaceFail = LoadFontFaceFailOrigin
|
|
20
|
+
type LoadFontFaceFailCallback = LoadFontFaceFailCallbackOrigin
|
|
21
|
+
type LoadFontFaceComplete = LoadFontFaceCompleteOrigin
|
|
22
|
+
type LoadFontFaceCompleteCallback = LoadFontFaceCompleteCallbackOrigin
|
|
23
|
+
type LoadFontFace = LoadFontFaceOrigin
|
|
24
|
+
interface Uni extends UniOrigin { }
|
|
25
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AsyncApiResult,
|
|
3
|
+
AsyncApiSuccessResult,
|
|
4
|
+
UniError
|
|
5
|
+
} from '../../interface'
|
|
6
|
+
|
|
7
|
+
export type LoadFontFaceOptionDesc = {
|
|
8
|
+
style: string | null
|
|
9
|
+
weight: string | null
|
|
10
|
+
variant: string | null
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type LoadFontFaceOptions = {
|
|
14
|
+
/**
|
|
15
|
+
* 是否全局生效
|
|
16
|
+
*/
|
|
17
|
+
global?: boolean
|
|
18
|
+
/**
|
|
19
|
+
* 定义的字体名称
|
|
20
|
+
*/
|
|
21
|
+
family: string
|
|
22
|
+
/**
|
|
23
|
+
* 字体资源的地址。建议格式为 TTF 和 WOFF,WOFF2 在低版本的iOS上会不兼容。
|
|
24
|
+
*/
|
|
25
|
+
source: string
|
|
26
|
+
desc?: LoadFontFaceOptionDesc
|
|
27
|
+
/**
|
|
28
|
+
* 接口调用成功的回调函数
|
|
29
|
+
*/
|
|
30
|
+
success?: LoadFontFaceSuccessCallback
|
|
31
|
+
/**
|
|
32
|
+
* 接口调用失败的回调函数
|
|
33
|
+
*/
|
|
34
|
+
fail?: LoadFontFaceFailCallback
|
|
35
|
+
/**
|
|
36
|
+
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
37
|
+
*/
|
|
38
|
+
complete?: LoadFontFaceCompleteCallback
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export type LoadFontFaceSuccess = AsyncApiSuccessResult
|
|
42
|
+
export type LoadFontFaceSuccessCallback = (result: LoadFontFaceSuccess) => void
|
|
43
|
+
|
|
44
|
+
export type LoadFontFaceFail = UniError
|
|
45
|
+
export type LoadFontFaceFailCallback = (error: LoadFontFaceFail) => void
|
|
46
|
+
|
|
47
|
+
export type LoadFontFaceComplete = AsyncApiResult
|
|
48
|
+
export type LoadFontFaceCompleteCallback = (res: LoadFontFaceComplete) => void
|
|
49
|
+
|
|
50
|
+
export type LoadFontFace = (options: LoadFontFaceOptions) => void
|
|
51
|
+
|
|
52
|
+
export interface Uni {
|
|
53
|
+
/**
|
|
54
|
+
* 动态加载网络字体
|
|
55
|
+
*
|
|
56
|
+
* @tutorial http://uniapp.dcloud.io/api/ui/font?id=loadfontface
|
|
57
|
+
*/
|
|
58
|
+
loadFontFace: LoadFontFace
|
|
59
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PageScrollTo as PageScrollToOrigin,
|
|
3
|
+
PageScrollToSuccess as PageScrollToSuccessOrigin,
|
|
4
|
+
PageScrollToSuccessCallback as PageScrollToSuccessCallbackOrigin,
|
|
5
|
+
PageScrollToFail as PageScrollToFailOrigin,
|
|
6
|
+
PageScrollToFailCallback as PageScrollToFailCallbackOrigin,
|
|
7
|
+
PageScrollToComplete as PageScrollToCompleteOrigin,
|
|
8
|
+
PageScrollToCompleteCallback as PageScrollToCompleteCallbackOrigin,
|
|
9
|
+
PageScrollToOptions as PageScrollToOptionsOrigin,
|
|
10
|
+
Uni as UniOrigin
|
|
11
|
+
} from './interface'
|
|
12
|
+
|
|
13
|
+
declare global {
|
|
14
|
+
type PageScrollTo = PageScrollToOrigin
|
|
15
|
+
type PageScrollToSuccess = PageScrollToSuccessOrigin
|
|
16
|
+
type PageScrollToSuccessCallback = PageScrollToSuccessCallbackOrigin
|
|
17
|
+
type PageScrollToFail = PageScrollToFailOrigin
|
|
18
|
+
type PageScrollToFailCallback = PageScrollToFailCallbackOrigin
|
|
19
|
+
type PageScrollToComplete = PageScrollToCompleteOrigin
|
|
20
|
+
type PageScrollToCompleteCallback = PageScrollToCompleteCallbackOrigin
|
|
21
|
+
type PageScrollToOptions = PageScrollToOptionsOrigin
|
|
22
|
+
interface Uni extends UniOrigin { }
|
|
23
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AsyncApiResult,
|
|
3
|
+
AsyncApiSuccessResult,
|
|
4
|
+
UniError
|
|
5
|
+
} from '../../interface'
|
|
6
|
+
|
|
7
|
+
export type PageScrollTo = (options: PageScrollToOptions) => void
|
|
8
|
+
export type PageScrollToSuccess = AsyncApiSuccessResult
|
|
9
|
+
export type PageScrollToSuccessCallback = (result: PageScrollToSuccess) => void
|
|
10
|
+
export type PageScrollToFail = UniError
|
|
11
|
+
export type PageScrollToFailCallback = (result: PageScrollToFail) => void
|
|
12
|
+
export type PageScrollToComplete = AsyncApiResult
|
|
13
|
+
export type PageScrollToCompleteCallback = (result: PageScrollToComplete) => void
|
|
14
|
+
export type PageScrollToOptions = {
|
|
15
|
+
/**
|
|
16
|
+
* 滚动到页面的目标位置
|
|
17
|
+
*/
|
|
18
|
+
scrollTop: number | null
|
|
19
|
+
/**
|
|
20
|
+
* 选择器
|
|
21
|
+
*/
|
|
22
|
+
selector: string | null
|
|
23
|
+
/**
|
|
24
|
+
* 偏移距离,可以滚动到 selector 加偏移距离的位置
|
|
25
|
+
*/
|
|
26
|
+
offsetTop: number | null
|
|
27
|
+
/**
|
|
28
|
+
* 滚动动画的时长
|
|
29
|
+
*/
|
|
30
|
+
duration: number | null
|
|
31
|
+
/**
|
|
32
|
+
* 接口调用成功的回调函数
|
|
33
|
+
*/
|
|
34
|
+
success: PageScrollToSuccessCallback | null
|
|
35
|
+
/**
|
|
36
|
+
* 接口调用失败的回调函数
|
|
37
|
+
*/
|
|
38
|
+
fail: PageScrollToFailCallback | null
|
|
39
|
+
/**
|
|
40
|
+
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
41
|
+
*/
|
|
42
|
+
complete: PageScrollToCompleteCallback | null
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface Uni {
|
|
46
|
+
/**
|
|
47
|
+
* 将页面滚动到目标位置
|
|
48
|
+
*
|
|
49
|
+
* @tutorial http://uniapp.dcloud.io/api/ui/scroll?id=pagescrollto
|
|
50
|
+
*/
|
|
51
|
+
pageScrollTo: PageScrollTo
|
|
52
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
StartPullDownRefresh as StartPullDownRefreshOrigin,
|
|
3
|
+
StartPullDownRefreshOptions as StartPullDownRefreshOptionsOrigin,
|
|
4
|
+
StartPullDownRefreshSuccess as StartPullDownRefreshSuccessOrigin,
|
|
5
|
+
StartPullDownRefreshSuccessCallback as StartPullDownRefreshSuccessCallbackOrigin,
|
|
6
|
+
StartPullDownRefreshFail as StartPullDownRefreshFailOrigin,
|
|
7
|
+
StartPullDownRefreshFailCallback as StartPullDownRefreshFailCallbackOrigin,
|
|
8
|
+
StartPullDownRefreshComplete as StartPullDownRefreshCompleteOrigin,
|
|
9
|
+
StartPullDownRefreshCompleteCallback as StartPullDownRefreshCompleteCallbackOrigin,
|
|
10
|
+
StopPullDownRefresh as StopPullDownRefreshOrigin,
|
|
11
|
+
Uni as UniOrigin
|
|
12
|
+
} from './interface'
|
|
13
|
+
|
|
14
|
+
declare global {
|
|
15
|
+
type StartPullDownRefresh = StartPullDownRefreshOrigin
|
|
16
|
+
type StartPullDownRefreshOptions = StartPullDownRefreshOptionsOrigin
|
|
17
|
+
type StartPullDownRefreshSuccess = StartPullDownRefreshSuccessOrigin
|
|
18
|
+
type StartPullDownRefreshSuccessCallback = StartPullDownRefreshSuccessCallbackOrigin
|
|
19
|
+
type StartPullDownRefreshFail = StartPullDownRefreshFailOrigin
|
|
20
|
+
type StartPullDownRefreshFailCallback = StartPullDownRefreshFailCallbackOrigin
|
|
21
|
+
type StartPullDownRefreshComplete = StartPullDownRefreshCompleteOrigin
|
|
22
|
+
type StartPullDownRefreshCompleteCallback = StartPullDownRefreshCompleteCallbackOrigin
|
|
23
|
+
type StopPullDownRefresh = StopPullDownRefreshOrigin
|
|
24
|
+
interface Uni extends UniOrigin { }
|
|
25
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AsyncApiResult,
|
|
3
|
+
AsyncApiSuccessResult,
|
|
4
|
+
UniError
|
|
5
|
+
} from '../../interface'
|
|
6
|
+
|
|
7
|
+
export type StartPullDownRefresh = (
|
|
8
|
+
options: StartPullDownRefreshOptions
|
|
9
|
+
) => void
|
|
10
|
+
export type StartPullDownRefreshOptions = {
|
|
11
|
+
/**
|
|
12
|
+
* 接口调用成功的回调函数
|
|
13
|
+
*/
|
|
14
|
+
success?: StartPullDownRefreshSuccessCallback
|
|
15
|
+
/**
|
|
16
|
+
* 接口调用失败的回调函数
|
|
17
|
+
*/
|
|
18
|
+
fail?: StartPullDownRefreshFailCallback
|
|
19
|
+
/**
|
|
20
|
+
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
21
|
+
*/
|
|
22
|
+
complete?: StartPullDownRefreshCompleteCallback
|
|
23
|
+
}
|
|
24
|
+
export type StartPullDownRefreshSuccess = AsyncApiSuccessResult
|
|
25
|
+
export type StartPullDownRefreshSuccessCallback = (
|
|
26
|
+
result: StartPullDownRefreshSuccess
|
|
27
|
+
) => void
|
|
28
|
+
export type StartPullDownRefreshFail = UniError
|
|
29
|
+
export type StartPullDownRefreshFailCallback = (
|
|
30
|
+
result: StartPullDownRefreshFail
|
|
31
|
+
) => void
|
|
32
|
+
export type StartPullDownRefreshComplete = AsyncApiResult
|
|
33
|
+
export type StartPullDownRefreshCompleteCallback = (
|
|
34
|
+
result: StartPullDownRefreshComplete
|
|
35
|
+
) => void
|
|
36
|
+
|
|
37
|
+
export type StopPullDownRefresh = () => void
|
|
38
|
+
|
|
39
|
+
export interface Uni {
|
|
40
|
+
/**
|
|
41
|
+
* 开始下拉刷新
|
|
42
|
+
*
|
|
43
|
+
* @tutorial http://uniapp.dcloud.io/api/ui/pulldown?id=startpulldownrefresh
|
|
44
|
+
*/
|
|
45
|
+
startPullDownRefresh: StartPullDownRefresh
|
|
46
|
+
/**
|
|
47
|
+
* 停止当前页面下拉刷新
|
|
48
|
+
*
|
|
49
|
+
* @tutorial http://uniapp.dcloud.io/api/ui/pulldown?id=stoppulldownrefresh
|
|
50
|
+
*/
|
|
51
|
+
stopPullDownRefresh: StopPullDownRefresh
|
|
52
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SetNavigationBarColorOptions as SetNavigationBarColorOptionsOrigin,
|
|
3
|
+
SetNavigationBarColorSuccess as SetNavigationBarColorSuccessOrigin,
|
|
4
|
+
SetNavigationBarColorSuccessCallback as SetNavigationBarColorSuccessCallbackOrigin,
|
|
5
|
+
SetNavigationBarColorFail as SetNavigationBarColorFailOrigin,
|
|
6
|
+
SetNavigationBarColorFailCallback as SetNavigationBarColorFailCallbackOrigin,
|
|
7
|
+
SetNavigationBarColorComplete as SetNavigationBarColorCompleteOrigin,
|
|
8
|
+
SetNavigationBarColorCompleteCallback as SetNavigationBarColorCompleteCallbackOrigin,
|
|
9
|
+
SetNavigationBarColor as SetNavigationBarColorOrigin,
|
|
10
|
+
Uni as UniOrigin
|
|
11
|
+
} from './interface'
|
|
12
|
+
|
|
13
|
+
declare global {
|
|
14
|
+
type SetNavigationBarColorOptions = SetNavigationBarColorOptionsOrigin
|
|
15
|
+
type SetNavigationBarColorSuccess = SetNavigationBarColorSuccessOrigin
|
|
16
|
+
type SetNavigationBarColorSuccessCallback = SetNavigationBarColorSuccessCallbackOrigin
|
|
17
|
+
type SetNavigationBarColorFail = SetNavigationBarColorFailOrigin
|
|
18
|
+
type SetNavigationBarColorFailCallback = SetNavigationBarColorFailCallbackOrigin
|
|
19
|
+
type SetNavigationBarColorComplete = SetNavigationBarColorCompleteOrigin
|
|
20
|
+
type SetNavigationBarColorCompleteCallback = SetNavigationBarColorCompleteCallbackOrigin
|
|
21
|
+
type SetNavigationBarColor = SetNavigationBarColorOrigin
|
|
22
|
+
interface Uni extends UniOrigin { }
|
|
23
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AsyncApiResult,
|
|
3
|
+
AsyncApiSuccessResult,
|
|
4
|
+
UniError
|
|
5
|
+
} from '../../interface'
|
|
6
|
+
|
|
7
|
+
export type SetNavigationBarColorOptions = {
|
|
8
|
+
/**
|
|
9
|
+
* 前景颜色值,包括按钮、标题、状态栏的颜色
|
|
10
|
+
*/
|
|
11
|
+
frontColor: string
|
|
12
|
+
/**
|
|
13
|
+
* 背景颜色值,有效值为十六进制颜色
|
|
14
|
+
*/
|
|
15
|
+
backgroundColor: string
|
|
16
|
+
/**
|
|
17
|
+
* 接口调用成功的回调函数
|
|
18
|
+
*/
|
|
19
|
+
success?: SetNavigationBarColorSuccessCallback
|
|
20
|
+
/**
|
|
21
|
+
* 接口调用失败的回调函数
|
|
22
|
+
*/
|
|
23
|
+
fail?: SetNavigationBarColorFailCallback
|
|
24
|
+
/**
|
|
25
|
+
* 接口调用结束的回调函数(调用成功、失败都会执行)
|
|
26
|
+
*/
|
|
27
|
+
complete?: SetNavigationBarColorCompleteCallback
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export type SetNavigationBarColorSuccess = AsyncApiSuccessResult
|
|
31
|
+
export type SetNavigationBarColorSuccessCallback = (
|
|
32
|
+
result: SetNavigationBarColorSuccess
|
|
33
|
+
) => void
|
|
34
|
+
|
|
35
|
+
export type SetNavigationBarColorFail = UniError
|
|
36
|
+
export type SetNavigationBarColorFailCallback = (
|
|
37
|
+
error: SetNavigationBarColorFail
|
|
38
|
+
) => void
|
|
39
|
+
|
|
40
|
+
export type SetNavigationBarColorComplete = AsyncApiResult
|
|
41
|
+
export type SetNavigationBarColorCompleteCallback = (
|
|
42
|
+
res: SetNavigationBarColorComplete
|
|
43
|
+
) => void
|
|
44
|
+
|
|
45
|
+
export type SetNavigationBarColor = (
|
|
46
|
+
options: SetNavigationBarColorOptions
|
|
47
|
+
) => void
|
|
48
|
+
|
|
49
|
+
export interface Uni {
|
|
50
|
+
/**
|
|
51
|
+
* 设置导航条颜色
|
|
52
|
+
*
|
|
53
|
+
* @tutorial http://uniapp.dcloud.io/api/ui/navigationbar?id=setnavigationbarcolor
|
|
54
|
+
*/
|
|
55
|
+
setNavigationBarColor: SetNavigationBarColor
|
|
56
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SetTabBarBadge as SetTabBarBadgeOrigin,
|
|
3
|
+
SetTabBarBadgeSuccess as SetTabBarBadgeSuccessOrigin,
|
|
4
|
+
SetTabBarBadgeSuccessCallback as SetTabBarBadgeSuccessCallbackOrigin,
|
|
5
|
+
SetTabBarBadgeFail as SetTabBarBadgeFailOrigin,
|
|
6
|
+
SetTabBarBadgeFailCallback as SetTabBarBadgeFailCallbackOrigin,
|
|
7
|
+
SetTabBarBadgeComplete as SetTabBarBadgeCompleteOrigin,
|
|
8
|
+
SetTabBarBadgeCompleteCallback as SetTabBarBadgeCompleteCallbackOrigin,
|
|
9
|
+
SetTabBarBadgeOptions as SetTabBarBadgeOptionsOrigin,
|
|
10
|
+
RemoveTabBarBadge as RemoveTabBarBadgeOrigin,
|
|
11
|
+
RemoveTabBarBadgeSuccess as RemoveTabBarBadgeSuccessOrigin,
|
|
12
|
+
RemoveTabBarBadgeSuccessCallback as RemoveTabBarBadgeSuccessCallbackOrigin,
|
|
13
|
+
RemoveTabBarBadgeFail as RemoveTabBarBadgeFailOrigin,
|
|
14
|
+
RemoveTabBarBadgeFailCallback as RemoveTabBarBadgeFailCallbackOrigin,
|
|
15
|
+
RemoveTabBarBadgeComplete as RemoveTabBarBadgeCompleteOrigin,
|
|
16
|
+
RemoveTabBarBadgeCompleteCallback as RemoveTabBarBadgeCompleteCallbackOrigin,
|
|
17
|
+
RemoveTabBarBadgeOptions as RemoveTabBarBadgeOptionsOrigin,
|
|
18
|
+
SetTabBarItem as SetTabBarItemOrigin,
|
|
19
|
+
SetTabBarItemSuccess as SetTabBarItemSuccessOrigin,
|
|
20
|
+
SetTabBarItemSuccessCallback as SetTabBarItemSuccessCallbackOrigin,
|
|
21
|
+
SetTabBarItemFail as SetTabBarItemFailOrigin,
|
|
22
|
+
SetTabBarItemFailCallback as SetTabBarItemFailCallbackOrigin,
|
|
23
|
+
SetTabBarItemComplete as SetTabBarItemCompleteOrigin,
|
|
24
|
+
SetTabBarItemCompleteCallback as SetTabBarItemCompleteCallbackOrigin,
|
|
25
|
+
SetTabBarItemIconFontOptions as SetTabBarItemIconFontOptionsOrigin,
|
|
26
|
+
SetTabBarItemOptions as SetTabBarItemOptionsOrigin,
|
|
27
|
+
MidButtonIconFont as MidButtonIconFontOrigin,
|
|
28
|
+
MidButtonOptions as MidButtonOptionsOrigin,
|
|
29
|
+
SetTabBarStyle as SetTabBarStyleOrigin,
|
|
30
|
+
SetTabBarStyleSuccess as SetTabBarStyleSuccessOrigin,
|
|
31
|
+
SetTabBarStyleSuccessCallback as SetTabBarStyleSuccessCallbackOrigin,
|
|
32
|
+
SetTabBarStyleFail as SetTabBarStyleFailOrigin,
|
|
33
|
+
SetTabBarStyleFailCallback as SetTabBarStyleFailCallbackOrigin,
|
|
34
|
+
SetTabBarStyleComplete as SetTabBarStyleCompleteOrigin,
|
|
35
|
+
SetTabBarStyleCompleteCallback as SetTabBarStyleCompleteCallbackOrigin,
|
|
36
|
+
SetTabBarStyleOptions as SetTabBarStyleOptionsOrigin,
|
|
37
|
+
HideTabBar as HideTabBarOrigin,
|
|
38
|
+
HideTabBarSuccess as HideTabBarSuccessOrigin,
|
|
39
|
+
HideTabBarSuccessCallback as HideTabBarSuccessCallbackOrigin,
|
|
40
|
+
HideTabBarFail as HideTabBarFailOrigin,
|
|
41
|
+
HideTabBarFailCallback as HideTabBarFailCallbackOrigin,
|
|
42
|
+
HideTabBarComplete as HideTabBarCompleteOrigin,
|
|
43
|
+
HideTabBarCompleteCallback as HideTabBarCompleteCallbackOrigin,
|
|
44
|
+
HideTabBarOptions as HideTabBarOptionsOrigin,
|
|
45
|
+
ShowTabBar as ShowTabBarOrigin,
|
|
46
|
+
ShowTabBarSuccess as ShowTabBarSuccessOrigin,
|
|
47
|
+
ShowTabBarSuccessCallback as ShowTabBarSuccessCallbackOrigin,
|
|
48
|
+
ShowTabBarFail as ShowTabBarFailOrigin,
|
|
49
|
+
ShowTabBarFailCallback as ShowTabBarFailCallbackOrigin,
|
|
50
|
+
ShowTabBarComplete as ShowTabBarCompleteOrigin,
|
|
51
|
+
ShowTabBarCompleteCallback as ShowTabBarCompleteCallbackOrigin,
|
|
52
|
+
ShowTabBarOptions as ShowTabBarOptionsOrigin,
|
|
53
|
+
ShowTabBarRedDot as ShowTabBarRedDotOrigin,
|
|
54
|
+
ShowTabBarRedDotSuccess as ShowTabBarRedDotSuccessOrigin,
|
|
55
|
+
ShowTabBarRedDotSuccessCallback as ShowTabBarRedDotSuccessCallbackOrigin,
|
|
56
|
+
ShowTabBarRedDotFail as ShowTabBarRedDotFailOrigin,
|
|
57
|
+
ShowTabBarRedDotFailCallback as ShowTabBarRedDotFailCallbackOrigin,
|
|
58
|
+
ShowTabBarRedDotComplete as ShowTabBarRedDotCompleteOrigin,
|
|
59
|
+
ShowTabBarRedDotCompleteCallback as ShowTabBarRedDotCompleteCallbackOrigin,
|
|
60
|
+
ShowTabBarRedDotOptions as ShowTabBarRedDotOptionsOrigin,
|
|
61
|
+
HideTabBarRedDot as HideTabBarRedDotOrigin,
|
|
62
|
+
HideTabBarRedDotSuccess as HideTabBarRedDotSuccessOrigin,
|
|
63
|
+
HideTabBarRedDotSuccessCallback as HideTabBarRedDotSuccessCallbackOrigin,
|
|
64
|
+
HideTabBarRedDotFail as HideTabBarRedDotFailOrigin,
|
|
65
|
+
HideTabBarRedDotFailCallback as HideTabBarRedDotFailCallbackOrigin,
|
|
66
|
+
HideTabBarRedDotComplete as HideTabBarRedDotCompleteOrigin,
|
|
67
|
+
HideTabBarRedDotCompleteCallback as HideTabBarRedDotCompleteCallbackOrigin,
|
|
68
|
+
HideTabBarRedDotOptions as HideTabBarRedDotOptionsOrigin,
|
|
69
|
+
OnTabBarMidButtonTap as OnTabBarMidButtonTapOrigin,
|
|
70
|
+
OnTabBarMidButtonTapCallback as OnTabBarMidButtonTapCallbackOrigin,
|
|
71
|
+
Uni as UniOrigin
|
|
72
|
+
} from './interface'
|
|
73
|
+
|
|
74
|
+
declare global {
|
|
75
|
+
type SetTabBarBadge = SetTabBarBadgeOrigin
|
|
76
|
+
type SetTabBarBadgeSuccess = SetTabBarBadgeSuccessOrigin
|
|
77
|
+
type SetTabBarBadgeSuccessCallback = SetTabBarBadgeSuccessCallbackOrigin
|
|
78
|
+
type SetTabBarBadgeFail = SetTabBarBadgeFailOrigin
|
|
79
|
+
type SetTabBarBadgeFailCallback = SetTabBarBadgeFailCallbackOrigin
|
|
80
|
+
type SetTabBarBadgeComplete = SetTabBarBadgeCompleteOrigin
|
|
81
|
+
type SetTabBarBadgeCompleteCallback = SetTabBarBadgeCompleteCallbackOrigin
|
|
82
|
+
type SetTabBarBadgeOptions = SetTabBarBadgeOptionsOrigin
|
|
83
|
+
type RemoveTabBarBadge = RemoveTabBarBadgeOrigin
|
|
84
|
+
type RemoveTabBarBadgeSuccess = RemoveTabBarBadgeSuccessOrigin
|
|
85
|
+
type RemoveTabBarBadgeSuccessCallback = RemoveTabBarBadgeSuccessCallbackOrigin
|
|
86
|
+
type RemoveTabBarBadgeFail = RemoveTabBarBadgeFailOrigin
|
|
87
|
+
type RemoveTabBarBadgeFailCallback = RemoveTabBarBadgeFailCallbackOrigin
|
|
88
|
+
type RemoveTabBarBadgeComplete = RemoveTabBarBadgeCompleteOrigin
|
|
89
|
+
type RemoveTabBarBadgeCompleteCallback = RemoveTabBarBadgeCompleteCallbackOrigin
|
|
90
|
+
type RemoveTabBarBadgeOptions = RemoveTabBarBadgeOptionsOrigin
|
|
91
|
+
type SetTabBarItem = SetTabBarItemOrigin
|
|
92
|
+
type SetTabBarItemSuccess = SetTabBarItemSuccessOrigin
|
|
93
|
+
type SetTabBarItemSuccessCallback = SetTabBarItemSuccessCallbackOrigin
|
|
94
|
+
type SetTabBarItemFail = SetTabBarItemFailOrigin
|
|
95
|
+
type SetTabBarItemFailCallback = SetTabBarItemFailCallbackOrigin
|
|
96
|
+
type SetTabBarItemComplete = SetTabBarItemCompleteOrigin
|
|
97
|
+
type SetTabBarItemCompleteCallback = SetTabBarItemCompleteCallbackOrigin
|
|
98
|
+
type SetTabBarItemIconFontOptions = SetTabBarItemIconFontOptionsOrigin
|
|
99
|
+
type SetTabBarItemOptions = SetTabBarItemOptionsOrigin
|
|
100
|
+
type MidButtonIconFont = MidButtonIconFontOrigin
|
|
101
|
+
type MidButtonOptions = MidButtonOptionsOrigin
|
|
102
|
+
type SetTabBarStyle = SetTabBarStyleOrigin
|
|
103
|
+
type SetTabBarStyleSuccess = SetTabBarStyleSuccessOrigin
|
|
104
|
+
type SetTabBarStyleSuccessCallback = SetTabBarStyleSuccessCallbackOrigin
|
|
105
|
+
type SetTabBarStyleFail = SetTabBarStyleFailOrigin
|
|
106
|
+
type SetTabBarStyleFailCallback = SetTabBarStyleFailCallbackOrigin
|
|
107
|
+
type SetTabBarStyleComplete = SetTabBarStyleCompleteOrigin
|
|
108
|
+
type SetTabBarStyleCompleteCallback = SetTabBarStyleCompleteCallbackOrigin
|
|
109
|
+
type SetTabBarStyleOptions = SetTabBarStyleOptionsOrigin
|
|
110
|
+
type HideTabBar = HideTabBarOrigin
|
|
111
|
+
type HideTabBarSuccess = HideTabBarSuccessOrigin
|
|
112
|
+
type HideTabBarSuccessCallback = HideTabBarSuccessCallbackOrigin
|
|
113
|
+
type HideTabBarFail = HideTabBarFailOrigin
|
|
114
|
+
type HideTabBarFailCallback = HideTabBarFailCallbackOrigin
|
|
115
|
+
type HideTabBarComplete = HideTabBarCompleteOrigin
|
|
116
|
+
type HideTabBarCompleteCallback = HideTabBarCompleteCallbackOrigin
|
|
117
|
+
type HideTabBarOptions = HideTabBarOptionsOrigin
|
|
118
|
+
type ShowTabBar = ShowTabBarOrigin
|
|
119
|
+
type ShowTabBarSuccess = ShowTabBarSuccessOrigin
|
|
120
|
+
type ShowTabBarSuccessCallback = ShowTabBarSuccessCallbackOrigin
|
|
121
|
+
type ShowTabBarFail = ShowTabBarFailOrigin
|
|
122
|
+
type ShowTabBarFailCallback = ShowTabBarFailCallbackOrigin
|
|
123
|
+
type ShowTabBarComplete = ShowTabBarCompleteOrigin
|
|
124
|
+
type ShowTabBarCompleteCallback = ShowTabBarCompleteCallbackOrigin
|
|
125
|
+
type ShowTabBarOptions = ShowTabBarOptionsOrigin
|
|
126
|
+
type ShowTabBarRedDot = ShowTabBarRedDotOrigin
|
|
127
|
+
type ShowTabBarRedDotSuccess = ShowTabBarRedDotSuccessOrigin
|
|
128
|
+
type ShowTabBarRedDotSuccessCallback = ShowTabBarRedDotSuccessCallbackOrigin
|
|
129
|
+
type ShowTabBarRedDotFail = ShowTabBarRedDotFailOrigin
|
|
130
|
+
type ShowTabBarRedDotFailCallback = ShowTabBarRedDotFailCallbackOrigin
|
|
131
|
+
type ShowTabBarRedDotComplete = ShowTabBarRedDotCompleteOrigin
|
|
132
|
+
type ShowTabBarRedDotCompleteCallback = ShowTabBarRedDotCompleteCallbackOrigin
|
|
133
|
+
type ShowTabBarRedDotOptions = ShowTabBarRedDotOptionsOrigin
|
|
134
|
+
type HideTabBarRedDot = HideTabBarRedDotOrigin
|
|
135
|
+
type HideTabBarRedDotSuccess = HideTabBarRedDotSuccessOrigin
|
|
136
|
+
type HideTabBarRedDotSuccessCallback = HideTabBarRedDotSuccessCallbackOrigin
|
|
137
|
+
type HideTabBarRedDotFail = HideTabBarRedDotFailOrigin
|
|
138
|
+
type HideTabBarRedDotFailCallback = HideTabBarRedDotFailCallbackOrigin
|
|
139
|
+
type HideTabBarRedDotComplete = HideTabBarRedDotCompleteOrigin
|
|
140
|
+
type HideTabBarRedDotCompleteCallback = HideTabBarRedDotCompleteCallbackOrigin
|
|
141
|
+
type HideTabBarRedDotOptions = HideTabBarRedDotOptionsOrigin
|
|
142
|
+
type OnTabBarMidButtonTap = OnTabBarMidButtonTapOrigin
|
|
143
|
+
type OnTabBarMidButtonTapCallback = OnTabBarMidButtonTapCallbackOrigin
|
|
144
|
+
interface Uni extends UniOrigin { }
|
|
145
|
+
}
|