@dcloudio/uni-app-x 0.7.13 → 0.7.15
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/options.d.ts +1 -1
- package/package.json +1 -1
- package/types/app.d.ts +5 -6
- package/types/index.d.ts +1 -1
- package/types/native/CanvasRenderingContext2D.d.ts +378 -0
- package/types/native/IUniElement.d.ts +40 -12
- package/types/native/Path2D.d.ts +74 -0
- package/types/native/UniApp.d.ts +17 -1
- package/types/native/UniCanvasElement.d.ts +9 -0
- package/types/native/UniEvent.d.ts +30 -0
- package/types/native/UniNativePage.d.ts +31 -1
- package/types/native/UniPageManager.d.ts +4 -1
- package/types/native/UniProvider.d.ts +14 -0
- package/types/native/UniResizeObserver.d.ts +10 -10
- package/types/native/UniScrollEvent.d.ts +1 -1
- package/types/native/UniSwiperAnimationFinishEvent.d.ts +24 -2
- package/types/native/UniSwiperChangeEvent.d.ts +24 -2
- package/types/native/UniSwiperTransitionEvent.d.ts +2 -2
- package/types/native/UniWebViewErrorEvent.d.ts +3 -3
- package/types/native/UniWebViewLoadEvent.d.ts +2 -2
- package/types/native/UniWebViewLoadingEvent.d.ts +2 -2
- package/types/native/UniWebViewMessageEvent.d.ts +1 -1
- package/types/native/global.d.ts +40 -9
- package/types/native/index.d.ts +4 -0
- package/types/page.d.ts +85 -0
- package/types/shim-uts-basic.d.ts +4495 -0
- package/types/uni/env/index.d.ts +21 -0
- package/types/uni/global.d.ts +1 -0
- package/types/uni/index.d.ts +2 -1
- package/types/uni/uts-plugin-api/global.d.ts +14 -2
- package/types/uni/uts-plugin-api/index.d.ts +14 -2
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +77 -0
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +77 -0
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/global.d.ts +40 -0
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/index.d.ts +19 -0
- package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +203 -0
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/global.d.ts +20 -0
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +152 -0
- package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +20 -3
- package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +19 -8
- package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +13 -6
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +30 -2
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +12 -3
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts +6 -0
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/index.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +64 -8
- package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +20 -17
- package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +111 -27
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +465 -45
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +651 -115
- package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +7 -1
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +10 -1
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +173 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/global.d.ts +2 -14
- package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/index.d.ts +1 -6
- package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/interface.d.ts +1 -151
- package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/interface.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +12 -5
- package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +11 -5
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +176 -72
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1728 -59
- package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +123 -16
- package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +9 -6
- package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +18 -2
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/global.d.ts +22 -0
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +60 -0
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +8 -1
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +100 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +459 -67
- package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +34 -5
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +909 -101
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +20 -15
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +70 -0
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +16 -6
- package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +26 -16
- package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/interface.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/interface.d.ts +3 -0
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +120 -42
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +16 -1
- package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +251 -42
- package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +7 -2
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/global.d.ts +24 -0
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +73 -0
- package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +114 -45
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/global.d.ts +16 -0
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +167 -7
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +42 -0
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +20 -0
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +516 -0
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +320 -83
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/global.d.ts +4 -4
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/index.d.ts +2 -2
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +48 -39
- package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +33 -15
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +777 -394
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +19 -15
- package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +132 -15
- package/types/uni/uts-plugin-extend/README.md +3 -0
- package/types/uni/uts-plugin-extend/global.d.ts +13 -0
- package/types/uni/uts-plugin-extend/index.d.ts +13 -0
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/global.d.ts +12 -0
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +365 -0
- package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/global.d.ts +23 -0
- package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/index.d.ts +10 -0
- package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +710 -0
- package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +151 -0
- package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/global.d.ts +25 -0
- package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/index.d.ts +11 -0
- package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +363 -0
- package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/global.d.ts +11 -0
- package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +224 -0
- package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/global.d.ts +53 -0
- package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/index.d.ts +25 -0
- package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +486 -0
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +7 -0
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +296 -0
- package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/global.d.ts +15 -0
- package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +229 -0
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/global.d.ts +14 -0
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +559 -0
- package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +163 -0
- package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/global.d.ts +21 -0
- package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +143 -0
- package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/global.d.ts +7 -0
- package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +106 -0
- package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/global.d.ts +9 -0
- package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/index.d.ts +1 -0
- package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +165 -0
- package/types/uni-cloud/index.d.ts +4 -0
- package/types/uni-cloud/interface.d.ts +163 -20
- package/types/vue/CheckboxGroupChangeEvent.d.ts +10 -13
- package/types/vue/LifeCycle.d.ts +32 -32
- package/types/vue/PickerViewChangeEvent.d.ts +10 -13
- package/types/vue/ProgressActiveendEvent.d.ts +9 -11
- package/types/vue/RadioGroupChangeEvent.d.ts +10 -13
- package/types/vue/SliderChangeEvent.d.ts +9 -10
- package/types/vue/SwitchChangeEvent.d.ts +11 -13
- package/types/vue/UniCloudDBElement.d.ts +72 -75
- package/types/vue/UniFormElement.d.ts +17 -19
- package/types/vue/UniNavigatorElement.d.ts +1 -2
- package/types/vue/global.d.ts +190 -0
- package/types/vue/index.d.ts +10 -11
- package/types/vue-global/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/global.d.ts +0 -78
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/index.d.ts +0 -38
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/interface.d.ts +0 -643
|
@@ -24,17 +24,21 @@ type UniCloudInitOptions = {
|
|
|
24
24
|
*/
|
|
25
25
|
endpoint ?: string
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* 支付宝云spaceAppId
|
|
28
28
|
*/
|
|
29
29
|
spaceAppId ?: string
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 支付宝云accessKey
|
|
32
32
|
*/
|
|
33
33
|
accessKey ?: string
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* 支付宝云secretKey
|
|
36
36
|
*/
|
|
37
37
|
secretKey ?: string
|
|
38
|
+
/**
|
|
39
|
+
* 支付宝云 WebSocket Endpoint
|
|
40
|
+
*/
|
|
41
|
+
wsEndpoint ?: string
|
|
38
42
|
};
|
|
39
43
|
type UniCloudCallFunctionOptions = {
|
|
40
44
|
/**
|
|
@@ -210,6 +214,30 @@ type UniCloudDBCountResult = {
|
|
|
210
214
|
*/
|
|
211
215
|
requestId?: string;
|
|
212
216
|
};
|
|
217
|
+
type UniCloudDBMultiSendResultItem = {
|
|
218
|
+
/**
|
|
219
|
+
* 错误码,可能为字符串或数字,数字0表示成功
|
|
220
|
+
*/
|
|
221
|
+
errCode : any
|
|
222
|
+
/**
|
|
223
|
+
* 错误信息
|
|
224
|
+
*/
|
|
225
|
+
errMsg : string
|
|
226
|
+
/**
|
|
227
|
+
* 数据
|
|
228
|
+
*/
|
|
229
|
+
data ?: Array<UTSJSONObject>
|
|
230
|
+
}
|
|
231
|
+
type UniCloudDBMultiSendResult = {
|
|
232
|
+
/**
|
|
233
|
+
* 数据列表
|
|
234
|
+
*/
|
|
235
|
+
dataList : UniCloudDBMultiSendResultItem[]
|
|
236
|
+
/**
|
|
237
|
+
* 请求id
|
|
238
|
+
*/
|
|
239
|
+
requestId ?: string
|
|
240
|
+
}
|
|
213
241
|
type UniCloudUserInfo = {
|
|
214
242
|
/**
|
|
215
243
|
* 用户id
|
|
@@ -235,6 +263,28 @@ declare class UniCloudError extends Error {
|
|
|
235
263
|
errCode: any;
|
|
236
264
|
errSubject?: string;
|
|
237
265
|
requestId?: string;
|
|
266
|
+
/**
|
|
267
|
+
* 错误详情
|
|
268
|
+
* @description 合并查询请求
|
|
269
|
+
* @uniPlatform {
|
|
270
|
+
* "app": {
|
|
271
|
+
* "android": {
|
|
272
|
+
* "osVer": "5.0",
|
|
273
|
+
* "uniVer": "√",
|
|
274
|
+
* "unixVer": "4.24"
|
|
275
|
+
* },
|
|
276
|
+
* "ios": {
|
|
277
|
+
* "uniVer": "√",
|
|
278
|
+
* "unixVer": "4.11"
|
|
279
|
+
* }
|
|
280
|
+
* },
|
|
281
|
+
* "web": {
|
|
282
|
+
* "uniVer": "√",
|
|
283
|
+
* "unixVer": "4.0"
|
|
284
|
+
* }
|
|
285
|
+
* }
|
|
286
|
+
*/
|
|
287
|
+
detail?: UTSJSONObject;
|
|
238
288
|
constructor(message: string, code: string, subject?: string, options?: UTSJSONObject);
|
|
239
289
|
private _init;
|
|
240
290
|
toJson(): UTSJSONObject;
|
|
@@ -553,18 +603,40 @@ declare class Database {
|
|
|
553
603
|
collection(...args: Array<any>): Collection;
|
|
554
604
|
get command(): typeof UniCloudDBCommand;
|
|
555
605
|
get Geo(): typeof UniCloudDBGeo;
|
|
606
|
+
/**
|
|
607
|
+
* 合并查询请求
|
|
608
|
+
* @description 合并查询请求
|
|
609
|
+
* @uniPlatform {
|
|
610
|
+
* "app": {
|
|
611
|
+
* "android": {
|
|
612
|
+
* "osVer": "5.0",
|
|
613
|
+
* "uniVer": "√",
|
|
614
|
+
* "unixVer": "4.16"
|
|
615
|
+
* },
|
|
616
|
+
* "ios": {
|
|
617
|
+
* "uniVer": "√",
|
|
618
|
+
* "unixVer": "4.11"
|
|
619
|
+
* }
|
|
620
|
+
* },
|
|
621
|
+
* "web": {
|
|
622
|
+
* "uniVer": "√",
|
|
623
|
+
* "unixVer": "4.0"
|
|
624
|
+
* }
|
|
625
|
+
* }
|
|
626
|
+
*/
|
|
627
|
+
multiSend(...args: Array<UTSJSONObject>): Promise<UniCloudDBMultiSendResult>;
|
|
556
628
|
}
|
|
557
629
|
|
|
558
630
|
type UniCloudChooseAndUploadFileOptions = {
|
|
559
|
-
sourceType?: Array<
|
|
631
|
+
sourceType?: Array<'album' | 'camera'> | null;
|
|
560
632
|
count?: number | null;
|
|
561
|
-
sizeType?: Array<
|
|
633
|
+
sizeType?: Array<'original' | 'compressed'> | null;
|
|
562
634
|
extension?: Array<string> | null;
|
|
563
635
|
compressed?: boolean | null;
|
|
564
636
|
maxDuration?: number | null;
|
|
565
|
-
camera?:
|
|
637
|
+
camera?: 'front' | 'back' | null;
|
|
566
638
|
crop?: ChooseImageCropOptions | null;
|
|
567
|
-
type:
|
|
639
|
+
type: 'image' | 'video' | 'all';
|
|
568
640
|
onChooseFile?: (arg: UniCloudChooseFileResult) => void | null;
|
|
569
641
|
onUploadProgress?: (arg: UniCloudChooseAndUploadFileProgressEvent) => void | null;
|
|
570
642
|
};
|
|
@@ -591,6 +663,12 @@ type UniCloudChooseFileItem = {
|
|
|
591
663
|
url?: string | null;
|
|
592
664
|
errMsg?: string | null;
|
|
593
665
|
};
|
|
666
|
+
type UniCloudConnectWebSocketOptions = {
|
|
667
|
+
/** WebSocket云函数/云对象名称 */
|
|
668
|
+
name: string;
|
|
669
|
+
/** 建立连接时需要传递的参数, 仅在 connection 事件中接收到 */
|
|
670
|
+
query?: UTSJSONObject;
|
|
671
|
+
}
|
|
594
672
|
|
|
595
673
|
declare class UniCloud {
|
|
596
674
|
private _client;
|
|
@@ -599,6 +677,49 @@ declare class UniCloud {
|
|
|
599
677
|
config: UniCloudInitOptions;
|
|
600
678
|
mixinDatacom: typeof mixinDatacom;
|
|
601
679
|
constructor(options: UniCloudInitOptions);
|
|
680
|
+
// /**
|
|
681
|
+
// * 连接其他服务空间
|
|
682
|
+
// * @uniPlatform {
|
|
683
|
+
// * "app": {
|
|
684
|
+
// * "android": {
|
|
685
|
+
// * "osVer": "5.0",
|
|
686
|
+
// * "uniVer": "√",
|
|
687
|
+
// * "unixVer": "4.18"
|
|
688
|
+
// * },
|
|
689
|
+
// * "ios": {
|
|
690
|
+
// * "uniVer": "√",
|
|
691
|
+
// * "unixVer": "4.11"
|
|
692
|
+
// * }
|
|
693
|
+
// * },
|
|
694
|
+
// * "web": {
|
|
695
|
+
// * "uniVer": "√",
|
|
696
|
+
// * "unixVer": "4.0"
|
|
697
|
+
// * }
|
|
698
|
+
// * }
|
|
699
|
+
// */
|
|
700
|
+
// init(options: UniCloudInitOptions): UniCloud;
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* 设置
|
|
704
|
+
* @uniPlatform {
|
|
705
|
+
* "app": {
|
|
706
|
+
* "android": {
|
|
707
|
+
* "uniVer": "4.21",
|
|
708
|
+
* "unixVer": "4.21"
|
|
709
|
+
* },
|
|
710
|
+
* "ios": {
|
|
711
|
+
* "uniVer": "4.21",
|
|
712
|
+
* "unixVer": "4.21"
|
|
713
|
+
* }
|
|
714
|
+
* },
|
|
715
|
+
* "web": {
|
|
716
|
+
* "uniVer": "4.21",
|
|
717
|
+
* "unixVer": "4.21"
|
|
718
|
+
* }
|
|
719
|
+
* }
|
|
720
|
+
*/
|
|
721
|
+
setCustomClientInfo(info: UTSJSONObject): void;
|
|
722
|
+
|
|
602
723
|
/**
|
|
603
724
|
* 请求云函数
|
|
604
725
|
* @description 请求云函数
|
|
@@ -607,7 +728,7 @@ declare class UniCloud {
|
|
|
607
728
|
* "android": {
|
|
608
729
|
* "osVer": "5.0",
|
|
609
730
|
* "uniVer": "√",
|
|
610
|
-
* "unixVer": "阿里云 3.9,腾讯云 3.91"
|
|
731
|
+
* "unixVer": "阿里云 3.9,腾讯云 3.91,支付宝云 3.98"
|
|
611
732
|
* },
|
|
612
733
|
* "ios": {
|
|
613
734
|
* "uniVer": "√",
|
|
@@ -620,7 +741,7 @@ declare class UniCloud {
|
|
|
620
741
|
* }
|
|
621
742
|
* }
|
|
622
743
|
*/
|
|
623
|
-
callFunction(options: UniCloudCallFunctionOptions): Promise<UniCloudCallFunctionResult
|
|
744
|
+
callFunction<T = UTSJSONObject>(options: UniCloudCallFunctionOptions): Promise<UniCloudCallFunctionResult<T>>;
|
|
624
745
|
/**
|
|
625
746
|
* 上传文件到云存储
|
|
626
747
|
* @description 上传文件到云存储
|
|
@@ -629,7 +750,7 @@ declare class UniCloud {
|
|
|
629
750
|
* "android": {
|
|
630
751
|
* "osVer": "5.0",
|
|
631
752
|
* "uniVer": "√",
|
|
632
|
-
* "unixVer": "阿里云 3.9,腾讯云 3.91"
|
|
753
|
+
* "unixVer": "阿里云 3.9,腾讯云 3.91,支付宝云 3.98"
|
|
633
754
|
* },
|
|
634
755
|
* "ios": {
|
|
635
756
|
* "uniVer": "√",
|
|
@@ -651,7 +772,7 @@ declare class UniCloud {
|
|
|
651
772
|
* "android": {
|
|
652
773
|
* "osVer": "5.0",
|
|
653
774
|
* "uniVer": "√",
|
|
654
|
-
* "unixVer": "阿里云 3.9,腾讯云 3.91"
|
|
775
|
+
* "unixVer": "阿里云 3.9,腾讯云 3.91,支付宝云 3.98"
|
|
655
776
|
* },
|
|
656
777
|
* "ios": {
|
|
657
778
|
* "uniVer": "√",
|
|
@@ -673,7 +794,7 @@ declare class UniCloud {
|
|
|
673
794
|
* "android": {
|
|
674
795
|
* "osVer": "5.0",
|
|
675
796
|
* "uniVer": "√",
|
|
676
|
-
* "unixVer": "阿里云 3.9,腾讯云 3.91"
|
|
797
|
+
* "unixVer": "阿里云 3.9,腾讯云 3.91,支付宝云 3.98"
|
|
677
798
|
* },
|
|
678
799
|
* "ios": {
|
|
679
800
|
* "uniVer": "√",
|
|
@@ -695,7 +816,7 @@ declare class UniCloud {
|
|
|
695
816
|
* "android": {
|
|
696
817
|
* "osVer": "5.0",
|
|
697
818
|
* "uniVer": "√",
|
|
698
|
-
* "unixVer": "阿里云 3.9,腾讯云 3.91"
|
|
819
|
+
* "unixVer": "阿里云 3.9,腾讯云 3.91,支付宝云 3.98"
|
|
699
820
|
* },
|
|
700
821
|
* "ios": {
|
|
701
822
|
* "uniVer": "√",
|
|
@@ -717,7 +838,7 @@ declare class UniCloud {
|
|
|
717
838
|
* "android": {
|
|
718
839
|
* "osVer": "5.0",
|
|
719
840
|
* "uniVer": "√",
|
|
720
|
-
* "unixVer": "阿里云 3.9,腾讯云 3.91"
|
|
841
|
+
* "unixVer": "阿里云 3.9,腾讯云 3.91,支付宝云 3.98"
|
|
721
842
|
* },
|
|
722
843
|
* "ios": {
|
|
723
844
|
* "uniVer": "√",
|
|
@@ -739,7 +860,7 @@ declare class UniCloud {
|
|
|
739
860
|
* "android": {
|
|
740
861
|
* "osVer": "5.0",
|
|
741
862
|
* "uniVer": "√",
|
|
742
|
-
* "unixVer": "阿里云 3.9,腾讯云 3.91"
|
|
863
|
+
* "unixVer": "阿里云 3.9,腾讯云 3.91,支付宝云 3.98"
|
|
743
864
|
* },
|
|
744
865
|
* "ios": {
|
|
745
866
|
* "uniVer": "√",
|
|
@@ -761,7 +882,7 @@ declare class UniCloud {
|
|
|
761
882
|
* "android": {
|
|
762
883
|
* "osVer": "5.0",
|
|
763
884
|
* "uniVer": "√",
|
|
764
|
-
* "unixVer": "阿里云 3.9,腾讯云 3.91"
|
|
885
|
+
* "unixVer": "阿里云 3.9,腾讯云 3.91,支付宝云 3.98"
|
|
765
886
|
* },
|
|
766
887
|
* "ios": {
|
|
767
888
|
* "uniVer": "√",
|
|
@@ -783,7 +904,7 @@ declare class UniCloud {
|
|
|
783
904
|
* "android": {
|
|
784
905
|
* "osVer": "5.0",
|
|
785
906
|
* "uniVer": "√",
|
|
786
|
-
* "unixVer": "阿里云 3.91,腾讯云 3.91"
|
|
907
|
+
* "unixVer": "阿里云 3.91,腾讯云 3.91,支付宝云 3.98"
|
|
787
908
|
* },
|
|
788
909
|
* "ios": {
|
|
789
910
|
* "uniVer": "√",
|
|
@@ -805,7 +926,7 @@ declare class UniCloud {
|
|
|
805
926
|
* "android": {
|
|
806
927
|
* "osVer": "5.0",
|
|
807
928
|
* "uniVer": "√",
|
|
808
|
-
* "unixVer": "阿里云 3.9,腾讯云 3.91"
|
|
929
|
+
* "unixVer": "阿里云 3.9,腾讯云 3.91,支付宝云 3.98"
|
|
809
930
|
* },
|
|
810
931
|
* "ios": {
|
|
811
932
|
* "uniVer": "√",
|
|
@@ -827,7 +948,7 @@ declare class UniCloud {
|
|
|
827
948
|
* "android": {
|
|
828
949
|
* "osVer": "5.0",
|
|
829
950
|
* "uniVer": "√",
|
|
830
|
-
* "unixVer": "阿里云 3.9,腾讯云 3.91"
|
|
951
|
+
* "unixVer": "阿里云 3.9,腾讯云 3.91,支付宝云 3.98"
|
|
831
952
|
* },
|
|
832
953
|
* "ios": {
|
|
833
954
|
* "uniVer": "√",
|
|
@@ -841,8 +962,30 @@ declare class UniCloud {
|
|
|
841
962
|
* }
|
|
842
963
|
*/
|
|
843
964
|
chooseAndUploadFile(options: UniCloudChooseAndUploadFileOptions): Promise<UniCloudChooseAndUploadFileResult>;
|
|
965
|
+
/**
|
|
966
|
+
* 连接 WebSocket
|
|
967
|
+
* @description 连接 WebSocket
|
|
968
|
+
* @uniPlatform {
|
|
969
|
+
* "app": {
|
|
970
|
+
* "android": {
|
|
971
|
+
* "osVer": "5.0",
|
|
972
|
+
* "uniVer": "4.23",
|
|
973
|
+
* "unixVer": "4.24"
|
|
974
|
+
* },
|
|
975
|
+
* "ios": {
|
|
976
|
+
* "uniVer": "4.23",
|
|
977
|
+
* "unixVer": "4.24"
|
|
978
|
+
* }
|
|
979
|
+
* },
|
|
980
|
+
* "web": {
|
|
981
|
+
* "uniVer": "4.23",
|
|
982
|
+
* "unixVer": "4.24"
|
|
983
|
+
* }
|
|
984
|
+
* }
|
|
985
|
+
*/
|
|
986
|
+
connectWebSocket (options: UniCloudConnectWebSocketOptions) : SocketTask;
|
|
844
987
|
}
|
|
845
988
|
|
|
846
989
|
declare const uniCloud: UniCloud;
|
|
847
990
|
|
|
848
|
-
export { type UniCloudCallFunctionOptions, type UniCloudCallFunctionResult, type UniCloudChooseAndUploadFileOptions, type UniCloudChooseAndUploadFileResult, type UniCloudDBAddResult, type UniCloudDBBatchAddResult, type UniCloudDBCountResult, UniCloudDBFilter, type UniCloudDBGetResult, UniCloudDBQuery, type UniCloudDBRemoveResult, type UniCloudDBUpdateResult, UniCloudError, type UniCloudGetTempFileURLOptions, type UniCloudGetTempFileURLResult, type UniCloudGetTempFileURLResultItem, type UniCloudImportObjectErrorOptions, type UniCloudImportObjectLoadingOptions, type UniCloudImportObjectOptions, type UniCloudInitOptions, type UniCloudRefreshTokenEvent, type UniCloudResponseEvent, type UniCloudUploadFileOptions, type UniCloudUploadFileResult, type UniCloudUploadProgress, type UniCloudUserInfo, uniCloud };
|
|
991
|
+
export { type UniCloudCallFunctionOptions, type UniCloudCallFunctionResult, type UniCloudChooseAndUploadFileOptions, type UniCloudChooseAndUploadFileResult, type UniCloudDBAddResult, type UniCloudDBBatchAddResult, type UniCloudDBCountResult, UniCloudDBFilter, type UniCloudDBGetResult, UniCloudDBQuery, type UniCloudDBRemoveResult, type UniCloudDBUpdateResult, type UniCloudDBMultiSendResultItem, type UniCloudDBMultiSendResult, UniCloudError, type UniCloudGetTempFileURLOptions, type UniCloudGetTempFileURLResult, type UniCloudGetTempFileURLResultItem, type UniCloudImportObjectErrorOptions, type UniCloudImportObjectLoadingOptions, type UniCloudImportObjectOptions, type UniCloudInitOptions, type UniCloudRefreshTokenEvent, type UniCloudResponseEvent, type UniCloudUploadFileOptions, type UniCloudUploadFileResult, type UniCloudUploadProgress, type UniCloudUserInfo, uniCloud };
|
|
@@ -4,33 +4,30 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* @package io.dcloud.uniapp.framework
|
|
6
6
|
*/
|
|
7
|
-
declare class UniCheckboxGroupChangeEventDetail {
|
|
7
|
+
export declare class UniCheckboxGroupChangeEventDetail {
|
|
8
8
|
value: string[]
|
|
9
|
-
constructor
|
|
9
|
+
constructor(value: string[])
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* @package io.dcloud.uniapp.framework
|
|
14
14
|
*/
|
|
15
|
-
|
|
16
|
-
constructor
|
|
15
|
+
export class UniCheckboxGroupChangeEvent extends UniCustomEvent<UniCheckboxGroupChangeEventDetail> {
|
|
16
|
+
constructor(value: string[])
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @package io.dcloud.uniapp.framework
|
|
21
21
|
*/
|
|
22
|
-
interface UniCheckboxGroupElement extends UniElement {
|
|
23
|
-
}
|
|
22
|
+
interface UniCheckboxGroupElement extends UniElement {}
|
|
24
23
|
|
|
25
24
|
/**
|
|
26
25
|
* @package io.dcloud.uniapp.framework
|
|
27
26
|
*/
|
|
28
|
-
interface UniCheckboxElement extends UniElement {
|
|
29
|
-
}
|
|
30
|
-
|
|
27
|
+
export interface UniCheckboxElement extends UniElement {}
|
|
31
28
|
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
export type CheckboxGroupChangeEvent = UniCheckboxGroupChangeEvent
|
|
30
|
+
export const CheckboxGroupChangeEvent: typeof UniCheckboxGroupChangeEvent
|
|
34
31
|
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
export type CheckboxGroupChangeEventDetail = UniCheckboxGroupChangeEventDetail
|
|
33
|
+
export const CheckboxGroupChangeEventDetail: typeof UniCheckboxGroupChangeEventDetail
|
package/types/vue/LifeCycle.d.ts
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
// type OnLaunchOptions = {
|
|
2
2
|
// path: string
|
|
3
3
|
// }
|
|
4
|
-
type OnHide = () => void
|
|
5
|
-
|
|
6
|
-
type OnAppLaunch = (options: OnLaunchOptions) => void
|
|
7
|
-
|
|
4
|
+
type OnHide = () => void
|
|
5
|
+
export function onHide(hook: OnHide, target?: ComponentInternalInstance | null): void
|
|
6
|
+
type OnAppLaunch = (options: OnLaunchOptions) => void
|
|
7
|
+
export function onLaunch(hook: OnAppLaunch, target?: ComponentInternalInstance | null): void
|
|
8
8
|
// type OnShowOptions = {
|
|
9
9
|
// path: string;
|
|
10
10
|
// };
|
|
11
|
-
type OnAppShow = (options: OnShowOptions) => void
|
|
12
|
-
|
|
13
|
-
type OnAppHide = () => void
|
|
14
|
-
|
|
15
|
-
type OnLastPageBackPress = () => void
|
|
16
|
-
|
|
17
|
-
type OnExit = () => void
|
|
18
|
-
|
|
11
|
+
type OnAppShow = (options: OnShowOptions) => void
|
|
12
|
+
export function onAppShow(hook: OnAppShow, target?: ComponentInternalInstance | null): void
|
|
13
|
+
type OnAppHide = () => void
|
|
14
|
+
export function onAppHide(hook: OnAppHide, target?: ComponentInternalInstance | null): void
|
|
15
|
+
type OnLastPageBackPress = () => void
|
|
16
|
+
export function onLastPageBackPress(hook: OnLastPageBackPress, target?: ComponentInternalInstance | null): void
|
|
17
|
+
type OnExit = () => void
|
|
18
|
+
export function onExit(hook: OnExit, target?: ComponentInternalInstance | null): void
|
|
19
19
|
// type OnLoadOptions = Map<string, string>;
|
|
20
|
-
type OnLoad = (options: OnLoadOptions) => void
|
|
21
|
-
|
|
22
|
-
type OnPageShow = () => void
|
|
23
|
-
|
|
24
|
-
type OnPageHide = () => void
|
|
25
|
-
|
|
26
|
-
type OnReady = () => void
|
|
27
|
-
|
|
28
|
-
type OnUnload = () => void
|
|
29
|
-
|
|
30
|
-
type OnPullDownRefresh = () => void
|
|
31
|
-
|
|
20
|
+
type OnLoad = (options: OnLoadOptions) => void
|
|
21
|
+
export function onLoad(hook: OnLoad, target?: ComponentInternalInstance | null): void
|
|
22
|
+
type OnPageShow = () => void
|
|
23
|
+
export function onPageShow(hook: OnPageShow, target?: ComponentInternalInstance | null): void
|
|
24
|
+
type OnPageHide = () => void
|
|
25
|
+
export function onPageHide(hook: OnPageHide, target?: ComponentInternalInstance | null): void
|
|
26
|
+
type OnReady = () => void
|
|
27
|
+
export function onReady(hook: OnReady, target?: ComponentInternalInstance | null): void
|
|
28
|
+
type OnUnload = () => void
|
|
29
|
+
export function onUnload(hook: OnUnload, target?: ComponentInternalInstance | null): void
|
|
30
|
+
type OnPullDownRefresh = () => void
|
|
31
|
+
export function onPullDownRefresh(hook: OnPullDownRefresh, target?: ComponentInternalInstance | null): void
|
|
32
32
|
// type OnPageScrollOptions = {
|
|
33
33
|
// scrollTop: number;
|
|
34
34
|
// };
|
|
35
|
-
type OnPageScroll = (options: OnPageScrollOptions) => void
|
|
36
|
-
|
|
37
|
-
type OnReachBottom = () => void
|
|
38
|
-
|
|
35
|
+
type OnPageScroll = (options: OnPageScrollOptions) => void
|
|
36
|
+
export function onPageScroll(hook: OnPageScroll, target?: ComponentInternalInstance | null): void
|
|
37
|
+
type OnReachBottom = () => void
|
|
38
|
+
export function onReachBottom(hook: OnReachBottom, target?: ComponentInternalInstance | null): void
|
|
39
39
|
// type OnBackPressOptions = {
|
|
40
40
|
// from: 'backbutton' | 'navigateBack';
|
|
41
41
|
// };
|
|
42
|
-
type OnBackPress = (options: OnBackPressOptions) => boolean | null
|
|
43
|
-
|
|
42
|
+
type OnBackPress = (options: OnBackPressOptions) => boolean | null
|
|
43
|
+
export function onBackPress(hook: OnBackPress, target?: ComponentInternalInstance | null): void
|
|
44
44
|
// type OnResizeSize = {
|
|
45
45
|
// screenHeight: number;
|
|
46
46
|
// screenWidth: number;
|
|
@@ -51,5 +51,5 @@ declare function onBackPress(hook: OnBackPress, target?: ComponentInternalInstan
|
|
|
51
51
|
// deviceOrientation: string;
|
|
52
52
|
// size: OnResizeSize;
|
|
53
53
|
// };
|
|
54
|
-
type OnResize = (options: OnResizeOptions) => void
|
|
55
|
-
|
|
54
|
+
type OnResize = (options: OnResizeOptions) => void
|
|
55
|
+
export function onResize(hook: OnResize, target?: ComponentInternalInstance | null): void
|
|
@@ -4,33 +4,30 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* @package io.dcloud.uniapp.framework
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
export class UniPickerViewChangeEventDetail {
|
|
8
8
|
value: number[]
|
|
9
|
-
constructor
|
|
9
|
+
constructor(value: number[])
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* @package io.dcloud.uniapp.framework
|
|
14
14
|
*/
|
|
15
|
-
|
|
16
|
-
constructor
|
|
15
|
+
export class UniPickerViewChangeEvent extends UniCustomEvent<UniPickerViewChangeEventDetail> {
|
|
16
|
+
constructor(value: number[])
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @package io.dcloud.uniapp.framework
|
|
21
21
|
*/
|
|
22
|
-
interface UniPickerViewElement extends UniElement {
|
|
23
|
-
}
|
|
22
|
+
export interface UniPickerViewElement extends UniElement {}
|
|
24
23
|
|
|
25
24
|
/**
|
|
26
25
|
* @package io.dcloud.uniapp.framework
|
|
27
26
|
*/
|
|
28
|
-
interface UniPickerViewColumnElement extends UniElement {
|
|
29
|
-
}
|
|
30
|
-
|
|
27
|
+
export interface UniPickerViewColumnElement extends UniElement {}
|
|
31
28
|
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
export type PickerViewChangeEvent = UniPickerViewChangeEvent
|
|
30
|
+
export const PickerViewChangeEvent: typeof UniPickerViewChangeEvent
|
|
34
31
|
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
export type PickerViewChangeEventDetail = UniPickerViewChangeEventDetail
|
|
33
|
+
export const PickerViewChangeEventDetail: typeof UniPickerViewChangeEventDetail
|
|
@@ -4,27 +4,25 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* @package io.dcloud.uniapp.framework
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
export class UniProgressActiveendEventDetail {
|
|
8
8
|
curPercent: number
|
|
9
|
-
constructor
|
|
9
|
+
constructor(value: number)
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* @package io.dcloud.uniapp.framework
|
|
14
14
|
*/
|
|
15
|
-
|
|
16
|
-
constructor
|
|
15
|
+
export class UniProgressActiveendEvent extends UniCustomEvent<UniProgressActiveendEventDetail> {
|
|
16
|
+
constructor(value: number)
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @package io.dcloud.uniapp.framework
|
|
21
21
|
*/
|
|
22
|
-
interface UniProgressElement extends UniElement {
|
|
23
|
-
}
|
|
24
|
-
|
|
22
|
+
export interface UniProgressElement extends UniElement {}
|
|
25
23
|
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
export type ProgressActiveendEvent = UniProgressActiveendEvent
|
|
25
|
+
export const ProgressActiveendEvent: typeof UniProgressActiveendEvent
|
|
28
26
|
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
export type ProgressActiveendEventDetail = UniProgressActiveendEventDetail
|
|
28
|
+
export const ProgressActiveendEventDetail: typeof UniProgressActiveendEventDetail
|
|
@@ -4,33 +4,30 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* @package io.dcloud.uniapp.framework
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
export class UniRadioGroupChangeEventDetail {
|
|
8
8
|
value: string
|
|
9
|
-
constructor
|
|
9
|
+
constructor(value: string)
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* @package io.dcloud.uniapp.framework
|
|
14
14
|
*/
|
|
15
|
-
|
|
16
|
-
constructor
|
|
15
|
+
export class UniRadioGroupChangeEvent extends UniCustomEvent<UniRadioGroupChangeEventDetail> {
|
|
16
|
+
constructor(value: string)
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @package io.dcloud.uniapp.framework
|
|
21
21
|
*/
|
|
22
|
-
interface UniRadioElement extends UniElement {
|
|
23
|
-
}
|
|
22
|
+
interface UniRadioElement extends UniElement {}
|
|
24
23
|
|
|
25
24
|
/**
|
|
26
25
|
* @package io.dcloud.uniapp.framework
|
|
27
26
|
*/
|
|
28
|
-
interface UniRadioGroupElement extends UniElement {
|
|
29
|
-
}
|
|
30
|
-
|
|
27
|
+
export interface UniRadioGroupElement extends UniElement {}
|
|
31
28
|
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
export type RadioGroupChangeEvent = UniRadioGroupChangeEvent
|
|
30
|
+
export const RadioGroupChangeEvent: typeof UniRadioGroupChangeEvent
|
|
34
31
|
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
export type RadioGroupChangeEventDetail = UniRadioGroupChangeEventDetail
|
|
33
|
+
export const RadioGroupChangeEventDetail: typeof UniRadioGroupChangeEventDetail
|
|
@@ -4,29 +4,28 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* @package io.dcloud.uniapp.framework
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
export class UniSliderChangeEventDetail {
|
|
8
8
|
value: number
|
|
9
|
-
constructor
|
|
9
|
+
constructor(value: number)
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* @package io.dcloud.uniapp.framework
|
|
14
14
|
*/
|
|
15
|
-
|
|
16
|
-
constructor
|
|
15
|
+
export class UniSliderChangeEvent extends UniCustomEvent<UniSliderChangeEventDetail> {
|
|
16
|
+
constructor(value: number)
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @package io.dcloud.uniapp.framework
|
|
21
21
|
*/
|
|
22
|
-
interface UniSliderElement extends UniElement {
|
|
22
|
+
export interface UniSliderElement extends UniElement {
|
|
23
23
|
get value(): number
|
|
24
24
|
set value(value: number)
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
export type SliderChangeEvent = UniSliderChangeEvent
|
|
28
|
+
export const SliderChangeEvent: typeof UniSliderChangeEvent
|
|
27
29
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
declare type SliderChangeEventDetail = UniSliderChangeEventDetail
|
|
32
|
-
declare const SliderChangeEventDetail: typeof UniSliderChangeEventDetail
|
|
30
|
+
export type SliderChangeEventDetail = UniSliderChangeEventDetail
|
|
31
|
+
export const SliderChangeEventDetail: typeof UniSliderChangeEventDetail
|
|
@@ -1,30 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { UniCustomEvent } from "../native/UniCustomEvent"
|
|
2
|
+
import { UniElementImpl } from "../native/UniElement"
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @package io.dcloud.uniapp.framework
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
export class UniSwitchChangeEventDetail {
|
|
8
8
|
value: boolean
|
|
9
|
-
constructor
|
|
9
|
+
constructor(value: boolean)
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* @package io.dcloud.uniapp.framework
|
|
14
14
|
*/
|
|
15
|
-
|
|
16
|
-
constructor
|
|
15
|
+
export class UniSwitchChangeEvent extends UniCustomEvent<UniSwitchChangeEventDetail> {
|
|
16
|
+
constructor(value: boolean)
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* @package io.dcloud.uniapp.framework
|
|
21
21
|
*/
|
|
22
|
-
interface UniSwitchElement extends
|
|
23
|
-
}
|
|
24
|
-
|
|
22
|
+
interface UniSwitchElement extends UniElementImpl {}
|
|
25
23
|
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
export type SwitchChangeEvent = UniSwitchChangeEvent
|
|
25
|
+
export const SwitchChangeEvent: typeof UniSwitchChangeEvent
|
|
28
26
|
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
export type SwitchChangeEventDetail = UniSwitchChangeEventDetail
|
|
28
|
+
export const SwitchChangeEventDetail: typeof UniSwitchChangeEventDetail
|