@dcloudio/uni-app-x 0.7.60 → 0.7.62
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 +2 -2
- package/types/app.d.ts +14 -7
- package/types/native/IUniElement.d.ts +1 -1
- package/types/native/UniCustomElement.d.ts +2 -2
- package/types/native/UniInputChangeEvent.d.ts +31 -0
- package/types/native/UniPage.d.ts +15 -2
- package/types/native/global.d.ts +12 -0
- package/types/native/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/global.d.ts +1 -0
- package/types/uni/uts-plugin-api/index.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +77 -433
- package/types/uni/uts-plugin-api/lib/uni-chooseLocation/utssdk/interface.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/global.d.ts +16 -0
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +561 -131
- package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +17 -34
- package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +4 -8
- package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +1 -2
- package/types/uni/uts-plugin-api/lib/uni-file/utssdk/interface.d.ts +5 -0
- package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +8 -4
- package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +29 -58
- package/types/uni/uts-plugin-api/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +36 -72
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +9 -7
- package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +8 -7
- package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +4 -4
- package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +84 -0
- package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +47 -0
- package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/global.d.ts +38 -0
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/index.d.ts +19 -0
- package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +1783 -107
- package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +13 -18
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +68 -208
- package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +2 -4
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +105 -107
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +359 -66
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/global.d.ts +16 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/index.d.ts +8 -0
- package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +40 -0
- package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +10 -15
- package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +86 -94
- package/types/uni/uts-plugin-api/lib/uni-privacy/utssdk/interface.d.ts +25 -26
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +30 -60
- package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +32 -64
- package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +298 -4
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +347 -10
- package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-api/lib/uni-shareWithSystem/utssdk/interface.d.ts +3 -1
- package/types/uni/uts-plugin-api/lib/uni-sse/utssdk/interface.d.ts +25 -33
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +0 -2
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +21 -33
- package/types/uni/uts-plugin-api/lib/uni-virtualPayment/utssdk/interface.d.ts +1 -0
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +23 -46
- package/types/uni/uts-plugin-biz/global.d.ts +11 -0
- package/types/uni/uts-plugin-biz/index.d.ts +11 -0
- package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +60 -3
- package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +6 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/global.d.ts +52 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/index.d.ts +25 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/interface.d.ts +445 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/global.d.ts +48 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/index.d.ts +23 -0
- package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/interface.d.ts +138 -0
- package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +28 -12
- package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-fcm/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-gp/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-hms/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-honor/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-mainland/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-meizu/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-oppo/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/global.d.ts +18 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/index.d.ts +9 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-vivo/utssdk/interface.d.ts +45 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/global.d.ts +8 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-biz/lib/uni-push-xiaomi/utssdk/interface.d.ts +0 -0
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +7 -2
- package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +37 -44
- package/types/uni/uts-plugin-extend/global.d.ts +0 -2
- package/types/uni/uts-plugin-extend/index.d.ts +0 -2
- package/types/vue/LifeCycle.d.ts +723 -1
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/global.d.ts +0 -14
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/index.d.ts +0 -1
- package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +0 -1670
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-app-x",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.62",
|
|
4
4
|
"description": "uni-app x types",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"main": "index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"fs-extra": "^11.1.1",
|
|
29
29
|
"glob": "^10.3.3",
|
|
30
30
|
"minimist": "^1.2.8",
|
|
31
|
-
"miniprogram-api-typings": "^4.0.
|
|
31
|
+
"miniprogram-api-typings": "^4.0.7",
|
|
32
32
|
"ts-morph": "^23.0.0"
|
|
33
33
|
}
|
|
34
34
|
}
|
package/types/app.d.ts
CHANGED
|
@@ -563,6 +563,11 @@ interface UniAppOptions<G extends GlobalData = GlobalData> {
|
|
|
563
563
|
* "osVer": "x",
|
|
564
564
|
* "uniVer": "x",
|
|
565
565
|
* "unixVer": "x"
|
|
566
|
+
* },
|
|
567
|
+
* "harmony": {
|
|
568
|
+
* "osVer": "5.0.0",
|
|
569
|
+
* "uniVer": "x",
|
|
570
|
+
* "unixVer": "4.72"
|
|
566
571
|
* }
|
|
567
572
|
* },
|
|
568
573
|
* "mp": {
|
|
@@ -641,11 +646,11 @@ interface UniAppOptions<G extends GlobalData = GlobalData> {
|
|
|
641
646
|
* "uniVer": "x",
|
|
642
647
|
* "unixVer": "x"
|
|
643
648
|
* },
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
+
* "harmony": {
|
|
650
|
+
* "osVer": "5.0.0",
|
|
651
|
+
* "uniVer": "x",
|
|
652
|
+
* "unixVer": "4.71"
|
|
653
|
+
* }
|
|
649
654
|
* },
|
|
650
655
|
* "mp": {
|
|
651
656
|
* "weixin": {
|
|
@@ -898,7 +903,8 @@ export interface UniApp {
|
|
|
898
903
|
* "ios": {
|
|
899
904
|
* "osVer": "x",
|
|
900
905
|
* "uniVer": "x",
|
|
901
|
-
* "unixVer": "4.31"
|
|
906
|
+
* "unixVer": "4.31",
|
|
907
|
+
* "unixUtsPlugin": "x"
|
|
902
908
|
* },
|
|
903
909
|
* "harmony": {
|
|
904
910
|
* "osVer": "5.0.0",
|
|
@@ -935,7 +941,8 @@ export interface UniApp {
|
|
|
935
941
|
* "ios": {
|
|
936
942
|
* "osVer": "x",
|
|
937
943
|
* "uniVer": "x",
|
|
938
|
-
* "unixVer": "4.31"
|
|
944
|
+
* "unixVer": "4.31",
|
|
945
|
+
* "unixUtsPlugin": "x"
|
|
939
946
|
* },
|
|
940
947
|
* "harmony": {
|
|
941
948
|
* "osVer": "5.0.0",
|
|
@@ -1152,7 +1152,7 @@ export interface UniElement {
|
|
|
1152
1152
|
getAnyAttribute(key: string): any | null
|
|
1153
1153
|
|
|
1154
1154
|
/**
|
|
1155
|
-
*
|
|
1155
|
+
* 返回该元素是否包含有指定的属性,属性存在则返回true,否则返回false。
|
|
1156
1156
|
* @param {string} key 属性名称
|
|
1157
1157
|
* @uniPlatform {
|
|
1158
1158
|
* "app": {
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { UniEvent } from "./UniEvent";
|
|
2
|
+
|
|
3
|
+
export class UniInputChangeEventDetail {
|
|
4
|
+
/**
|
|
5
|
+
* 输入框内容
|
|
6
|
+
*/
|
|
7
|
+
value: string
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
12
|
+
constructor(value: string)
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @package io.dcloud.uniapp.runtime
|
|
18
|
+
*/
|
|
19
|
+
export class UniInputChangeEvent extends UniEvent {
|
|
20
|
+
detail: UniInputChangeEventDetail
|
|
21
|
+
/**
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
constructor(type: string, detail: UniInputChangeEventDetail)
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type InputChangeEvent = UniInputChangeEvent
|
|
28
|
+
export const InputChangeEvent: typeof UniInputChangeEvent
|
|
29
|
+
|
|
30
|
+
export type InputChangeEventDetail = UniInputChangeEventDetail
|
|
31
|
+
export const InputChangeEventDetail: typeof UniInputChangeEventDetail
|
|
@@ -117,7 +117,8 @@ export interface UniPage {
|
|
|
117
117
|
* "ios": {
|
|
118
118
|
* "osVer": "x",
|
|
119
119
|
* "uniVer": "x",
|
|
120
|
-
* "unixVer": "4.31"
|
|
120
|
+
* "unixVer": "4.31",
|
|
121
|
+
* "unixUtsPlugin": "x"
|
|
121
122
|
* },
|
|
122
123
|
* "harmony": {
|
|
123
124
|
* "osVer": "5.0.0",
|
|
@@ -154,7 +155,8 @@ export interface UniPage {
|
|
|
154
155
|
* "ios": {
|
|
155
156
|
* "osVer": "x",
|
|
156
157
|
* "uniVer": "x",
|
|
157
|
-
* "unixVer": "4.31"
|
|
158
|
+
* "unixVer": "4.31",
|
|
159
|
+
* "unixUtsPlugin": "x"
|
|
158
160
|
* },
|
|
159
161
|
* "harmony": {
|
|
160
162
|
* "osVer": "5.0.0",
|
|
@@ -874,6 +876,17 @@ export interface UniPage {
|
|
|
874
876
|
* }
|
|
875
877
|
*/
|
|
876
878
|
createElement(tagName: string): UniElement
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* @internal
|
|
882
|
+
* web android harmony 获取当前页面 dialogPage 创建的 API 弹框集合
|
|
883
|
+
*/
|
|
884
|
+
$getSystemDialogPages(): UniPage[]
|
|
885
|
+
/**
|
|
886
|
+
* @internal
|
|
887
|
+
* ios 获取当前页面 dialogPage 创建的 API 弹框集合
|
|
888
|
+
*/
|
|
889
|
+
__$$getSystemDialogPages(): UniPage[]
|
|
877
890
|
}
|
|
878
891
|
|
|
879
892
|
export type ExitFullscreenSuccessCallback = () => void
|
package/types/native/global.d.ts
CHANGED
|
@@ -131,6 +131,10 @@ import {
|
|
|
131
131
|
UniInputConfirmEvent as UniInputConfirmEventOrigin,
|
|
132
132
|
InputConfirmEvent as InputConfirmEventOrigin,
|
|
133
133
|
InputConfirmEventDetail as InputConfirmEventDetailOrigin,
|
|
134
|
+
UniInputChangeEventDetail as UniInputChangeEventDetailOrigin,
|
|
135
|
+
UniInputChangeEvent as UniInputChangeEventOrigin,
|
|
136
|
+
InputChangeEvent as InputChangeEventOrigin,
|
|
137
|
+
InputChangeEventDetail as InputChangeEventDetailOrigin,
|
|
134
138
|
UniInputBlurEventDetail as UniInputBlurEventDetailOrigin,
|
|
135
139
|
UniInputBlurEvent as UniInputBlurEventOrigin,
|
|
136
140
|
InputBlurEvent as InputBlurEventOrigin,
|
|
@@ -499,6 +503,14 @@ declare global {
|
|
|
499
503
|
const InputConfirmEventDetail: typeof InputConfirmEventDetailOrigin
|
|
500
504
|
type InputConfirmEvent = InputConfirmEventOrigin
|
|
501
505
|
type InputConfirmEventDetail = InputConfirmEventDetailOrigin
|
|
506
|
+
const UniInputChangeEventDetail: typeof UniInputChangeEventDetailOrigin
|
|
507
|
+
type UniInputChangeEventDetail = UniInputChangeEventDetailOrigin
|
|
508
|
+
const UniInputChangeEvent: typeof UniInputChangeEventOrigin
|
|
509
|
+
type UniInputChangeEvent = UniInputChangeEventOrigin
|
|
510
|
+
const InputChangeEvent: typeof InputChangeEventOrigin
|
|
511
|
+
const InputChangeEventDetail: typeof InputChangeEventDetailOrigin
|
|
512
|
+
type InputChangeEvent = InputChangeEventOrigin
|
|
513
|
+
type InputChangeEventDetail = InputChangeEventDetailOrigin
|
|
502
514
|
const UniInputBlurEventDetail: typeof UniInputBlurEventDetailOrigin
|
|
503
515
|
type UniInputBlurEventDetail = UniInputBlurEventDetailOrigin
|
|
504
516
|
const UniInputBlurEvent: typeof UniInputBlurEventOrigin
|
package/types/native/index.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export * from './UniInputKeyboardHeightChangeEvent'
|
|
|
44
44
|
export * from './UniInputFocusEvent'
|
|
45
45
|
export * from './UniInputEvent'
|
|
46
46
|
export * from './UniInputConfirmEvent'
|
|
47
|
+
export * from './UniInputChangeEvent'
|
|
47
48
|
export * from './UniInputBlurEvent'
|
|
48
49
|
export * from './UniImageLoadEvent'
|
|
49
50
|
export * from './UniImageErrorEvent'
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
/// <reference path='./lib/uni-navigationBar/utssdk/global.d.ts' />
|
|
45
45
|
/// <reference path='./lib/uni-network/utssdk/global.d.ts' />
|
|
46
46
|
/// <reference path='./lib/uni-oauth-huawei/utssdk/global.d.ts' />
|
|
47
|
+
/// <reference path='./lib/uni-oauth-weixin/utssdk/global.d.ts' />
|
|
47
48
|
/// <reference path='./lib/uni-oauth/utssdk/global.d.ts' />
|
|
48
49
|
/// <reference path='./lib/uni-openAppAuthorizeSetting/utssdk/global.d.ts' />
|
|
49
50
|
/// <reference path='./lib/uni-openDocument/utssdk/global.d.ts' />
|
|
@@ -44,6 +44,7 @@ export * from './lib/uni-modal/utssdk'
|
|
|
44
44
|
export * from './lib/uni-navigationBar/utssdk'
|
|
45
45
|
export * from './lib/uni-network/utssdk'
|
|
46
46
|
export * from './lib/uni-oauth-huawei/utssdk'
|
|
47
|
+
export * from './lib/uni-oauth-weixin/utssdk'
|
|
47
48
|
export * from './lib/uni-oauth/utssdk'
|
|
48
49
|
export * from './lib/uni-openAppAuthorizeSetting/utssdk'
|
|
49
50
|
export * from './lib/uni-openDocument/utssdk'
|