@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.
Files changed (29) hide show
  1. package/package.json +1 -1
  2. package/types/UniPage.d.ts +29 -38
  3. package/types/app.d.ts +37 -0
  4. package/types/native/CanvasRenderingContext2D.d.ts +4 -4
  5. package/types/native/IUniElement.d.ts +31 -2
  6. package/types/native/{Animation.d.ts → UniAnimation.d.ts} +4 -4
  7. package/types/native/{AnimationPlaybackEvent.d.ts → UniAnimationPlaybackEvent.d.ts} +1 -1
  8. package/types/native/UniElement.d.ts +0 -2
  9. package/types/native/global.d.ts +6 -8
  10. package/types/native/index.d.ts +4 -4
  11. package/types/uni/uts-plugin-api/global.d.ts +2 -0
  12. package/types/uni/uts-plugin-api/index.d.ts +2 -0
  13. package/types/uni/uts-plugin-api/lib/uni-actionSheet/utssdk/interface.d.ts +680 -51
  14. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +677 -397
  15. package/types/uni/uts-plugin-api/lib/uni-document/utssdk/global.d.ts +10 -0
  16. package/types/uni/uts-plugin-api/lib/uni-document/utssdk/index.d.ts +4 -0
  17. package/types/uni/uts-plugin-api/lib/uni-document/utssdk/interface.d.ts +76 -0
  18. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +75 -1
  19. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +6 -2
  20. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +1 -1
  21. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/global.d.ts +46 -0
  22. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/index.d.ts +22 -0
  23. package/types/uni/uts-plugin-api/lib/uni-previewImage/utssdk/interface.d.ts +339 -0
  24. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +1 -1
  25. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +4 -0
  26. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +2 -0
  27. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +6 -4
  28. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +2187 -2066
  29. 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": "4.35"
374
+ * "unixVer": "x"
375
375
  * },
376
376
  * "ios": {
377
377
  * "osVer": "9.0",
378
378
  * "uniVer": "x",
379
- * "unixVer": "4.35"
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": "4.35"
445
+ * "unixVer": "x"
446
446
  * },
447
447
  * "ios": {
448
448
  * "osVer": "9.0",
449
449
  * "uniVer": "x",
450
- * "unixVer": "4.35"
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
  */