@dcloudio/uni-app-x 0.7.42 → 0.7.44
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/UniPage.d.ts +29 -38
- package/types/app.d.ts +37 -0
- package/types/native/CanvasRenderingContext2D.d.ts +4 -4
- package/types/native/IUniElement.d.ts +31 -2
- package/types/native/{Animation.d.ts → UniAnimation.d.ts} +4 -4
- package/types/native/{AnimationPlaybackEvent.d.ts → UniAnimationPlaybackEvent.d.ts} +1 -1
- package/types/native/UniElement.d.ts +0 -2
- package/types/native/global.d.ts +6 -8
- package/types/native/index.d.ts +4 -4
- package/types/uni/uts-plugin-api/global.d.ts +2 -0
- package/types/uni/uts-plugin-api/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +680 -51
- package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +677 -397
- package/types/uni/uts-plugin-api/lib/uni-document/utssdk/global.d.ts +10 -0
- package/types/uni/uts-plugin-api/lib/uni-document/utssdk/index.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-document/utssdk/interface.d.ts +76 -0
- package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +75 -1
- package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +6 -2
- package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/global.d.ts +46 -0
- package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/index.d.ts +22 -0
- package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +339 -0
- package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1 -1
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +4 -0
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +2 -0
- package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +6 -4
- package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +2187 -2066
- package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +398 -203
|
@@ -371,12 +371,12 @@ export interface Uni {
|
|
|
371
371
|
* "android": {
|
|
372
372
|
* "osVer": "5.0",
|
|
373
373
|
* "uniVer": "x",
|
|
374
|
-
* "unixVer": "
|
|
374
|
+
* "unixVer": "x"
|
|
375
375
|
* },
|
|
376
376
|
* "ios": {
|
|
377
377
|
* "osVer": "9.0",
|
|
378
378
|
* "uniVer": "x",
|
|
379
|
-
* "unixVer": "
|
|
379
|
+
* "unixVer": "x"
|
|
380
380
|
* },
|
|
381
381
|
* "harmony": {
|
|
382
382
|
* "osVer": "x",
|
|
@@ -442,12 +442,12 @@ export interface Uni {
|
|
|
442
442
|
* "android": {
|
|
443
443
|
* "osVer": "5.0",
|
|
444
444
|
* "uniVer": "x",
|
|
445
|
-
* "unixVer": "
|
|
445
|
+
* "unixVer": "x"
|
|
446
446
|
* },
|
|
447
447
|
* "ios": {
|
|
448
448
|
* "osVer": "9.0",
|
|
449
449
|
* "uniVer": "x",
|
|
450
|
-
* "unixVer": "
|
|
450
|
+
* "unixVer": "x"
|
|
451
451
|
* },
|
|
452
452
|
* "harmony": {
|
|
453
453
|
* "osVer": "x",
|
|
@@ -791,6 +791,8 @@ export type OnOsThemeChangeCallback = (res: OsThemeChangeResult) => void
|
|
|
791
791
|
export type OnOsThemeChange = (callback: OnOsThemeChangeCallback) => number
|
|
792
792
|
export type OffOsThemeChange = (id: number) => void
|
|
793
793
|
|
|
794
|
+
export type OnHostThemeChange = (callback: OnHostThemeChangeCallback) => number
|
|
795
|
+
export type OffHostThemeChange = (id: number) => void;
|
|
794
796
|
/*
|
|
795
797
|
* 应用主题相关类型定义
|
|
796
798
|
*/
|