@dcloudio/uni-app-x 0.7.62 → 0.7.64

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 (81) hide show
  1. package/package.json +1 -1
  2. package/types/app.d.ts +36 -1
  3. package/types/dom2/UniCSSProperty.d.ts +446 -0
  4. package/types/dom2/UniCSSType.d.ts +72 -0
  5. package/types/dom2/UniCommon.d.ts +40 -0
  6. package/types/dom2/UniCustomViewElement.d.ts +12 -0
  7. package/types/dom2/UniElement.d.ts +354 -0
  8. package/types/dom2/UniElementType.d.ts +37 -0
  9. package/types/dom2/UniImageElement.d.ts +102 -0
  10. package/types/dom2/UniNativeBaseView.d.ts +178 -0
  11. package/types/dom2/UniNativeCustomView.d.ts +13 -0
  12. package/types/dom2/UniNativeDefines.d.ts +435 -0
  13. package/types/dom2/UniNativeImageView.d.ts +34 -0
  14. package/types/dom2/UniNativeScrollView.d.ts +42 -0
  15. package/types/dom2/UniNativeTextView.d.ts +25 -0
  16. package/types/dom2/UniNativeView.d.ts +51 -0
  17. package/types/dom2/UniNativeViewType.d.ts +22 -0
  18. package/types/dom2/UniPage.d.ts +55 -0
  19. package/types/dom2/UniScrollViewElement.d.ts +13 -0
  20. package/types/dom2/UniTextElement.d.ts +20 -0
  21. package/types/dom2/UniTextLayout.d.ts +386 -0
  22. package/types/dom2/UniViewElement.d.ts +57 -0
  23. package/types/dom2/global.d.ts +189 -0
  24. package/types/dom2/index.d.ts +40 -0
  25. package/types/dom2/sharedData.d.ts +227 -0
  26. package/types/index.d.ts +2 -1
  27. package/types/native/DOMRect.d.ts +2 -1
  28. package/types/native/DrawableContext.d.ts +1665 -1661
  29. package/types/native/IUniElement.d.ts +3514 -2877
  30. package/types/native/SnapshotOptions.d.ts +2 -2
  31. package/types/native/UniAnimation.d.ts +11 -10
  32. package/types/native/UniElement.d.ts +1 -1
  33. package/types/native/UniEvent.d.ts +108 -3
  34. package/types/native/UniPage.d.ts +891 -887
  35. package/types/native/UniTextElement.d.ts +37 -0
  36. package/types/native/UniTextLayout.d.ts +387 -0
  37. package/types/native/UniVideoElement.d.ts +20 -17
  38. package/types/native/Worker.d.ts +19 -0
  39. package/types/native/global.d.ts +28 -68
  40. package/types/native/index.d.ts +18 -1
  41. package/types/page.d.ts +1862 -599
  42. package/types/uni/uts-plugin-api/global.d.ts +2 -0
  43. package/types/uni/uts-plugin-api/index.d.ts +2 -0
  44. package/types/uni/uts-plugin-api/lib/uni-chooseMedia/utssdk/interface.d.ts +1 -1
  45. package/types/uni/uts-plugin-api/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +10 -10
  46. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +0 -1
  47. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/global.d.ts +22 -0
  48. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/index.d.ts +10 -0
  49. package/types/uni/uts-plugin-api/lib/uni-createWorker/utssdk/interface.d.ts +524 -0
  50. package/types/uni/uts-plugin-api/lib/uni-dialogPage/utssdk/interface.d.ts +985 -76
  51. package/types/uni/uts-plugin-api/lib/uni-getEnterOptionsSync/utssdk/interface.d.ts +79 -55
  52. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +77 -53
  53. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +458 -407
  54. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +420 -0
  55. package/types/uni/uts-plugin-api/lib/uni-location/utssdk/interface.d.ts +80 -80
  56. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/global.d.ts +12 -4
  57. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/index.d.ts +6 -2
  58. package/types/uni/uts-plugin-api/lib/uni-modal/utssdk/interface.d.ts +713 -91
  59. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +4 -0
  60. package/types/uni/uts-plugin-api/lib/uni-oauth/utssdk/interface.d.ts +3 -3
  61. package/types/uni/uts-plugin-api/lib/uni-oauth-weixin/utssdk/interface.d.ts +3 -1
  62. package/types/uni/uts-plugin-api/lib/uni-recorder/utssdk/interface.d.ts +71 -1
  63. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +1 -1
  64. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/global.d.ts +56 -0
  65. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/index.d.ts +27 -0
  66. package/types/uni/uts-plugin-api/lib/uni-screenBrightness/utssdk/interface.d.ts +842 -0
  67. package/types/uni/uts-plugin-api/lib/uni-share/utssdk/interface.d.ts +11 -11
  68. package/types/uni/uts-plugin-api/lib/uni-share-weixin/utssdk/interface.d.ts +1 -1
  69. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +63 -42
  70. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +2 -2
  71. package/types/uni/uts-plugin-biz/lib/uni-facialVerify/utssdk/interface.d.ts +2 -2
  72. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/global.d.ts +4 -0
  73. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/index.d.ts +2 -0
  74. package/types/uni/uts-plugin-biz/lib/uni-live-player/utssdk/interface.d.ts +1007 -314
  75. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/global.d.ts +4 -0
  76. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/index.d.ts +2 -0
  77. package/types/uni/uts-plugin-biz/lib/uni-live-pusher/utssdk/interface.d.ts +1727 -10
  78. package/types/uni/uts-plugin-component/lib/uni-camera/utssdk/interface.d.ts +235 -30
  79. package/types/uni/uts-plugin-component/lib/uni-canvas/utssdk/interface.d.ts +1 -1
  80. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +17 -17
  81. package/uts-plugin.d.ts +11 -0
@@ -4822,6 +4822,426 @@ export type GetSystemInfoResult = {
4822
4822
  * }
4823
4823
  */
4824
4824
  appTheme?: 'light' | 'dark' | 'auto' | null,
4825
+ /**
4826
+ * 宿主主题(仅 web、微信小程序支持)
4827
+ *
4828
+ * @uniPlatform {
4829
+ * "app": {
4830
+ * "android": {
4831
+ * "osVer": "x",
4832
+ * "uniVer": "x",
4833
+ * "unixVer": "x"
4834
+ * },
4835
+ * "ios": {
4836
+ * "osVer": "x",
4837
+ * "uniVer": "x",
4838
+ * "unixVer": "x"
4839
+ * },
4840
+ * "harmony": {
4841
+ * "osVer": "x",
4842
+ * "uniVer": "x",
4843
+ * "unixVer": "x"
4844
+ * }
4845
+ * },
4846
+ * "mp": {
4847
+ * "weixin": {
4848
+ * "hostVer": "√",
4849
+ * "uniVer": "√",
4850
+ * "unixVer": "4.41"
4851
+ * },
4852
+ * "alipay": {
4853
+ * "hostVer": "√",
4854
+ * "uniVer": "x",
4855
+ * "unixVer": "x"
4856
+ * },
4857
+ * "baidu": {
4858
+ * "hostVer": "√",
4859
+ * "uniVer": "x",
4860
+ * "unixVer": "x"
4861
+ * },
4862
+ * "toutiao": {
4863
+ * "hostVer": "√",
4864
+ * "uniVer": "x",
4865
+ * "unixVer": "x"
4866
+ * },
4867
+ * "lark": {
4868
+ * "hostVer": "√",
4869
+ * "uniVer": "x",
4870
+ * "unixVer": "x"
4871
+ * },
4872
+ * "qq": {
4873
+ * "hostVer": "√",
4874
+ * "uniVer": "x",
4875
+ * "unixVer": "x"
4876
+ * },
4877
+ * "kuaishou": {
4878
+ * "hostVer": "√",
4879
+ * "uniVer": "x",
4880
+ * "unixVer": "x"
4881
+ * },
4882
+ * "jd": {
4883
+ * "hostVer": "√",
4884
+ * "uniVer": "x",
4885
+ * "unixVer": "x"
4886
+ * }
4887
+ * },
4888
+ * "web": {
4889
+ * "uniVer": "√",
4890
+ * "unixVer": "4.0"
4891
+ * }
4892
+ * }
4893
+ */
4894
+ hostTheme?: 'light' | 'dark' | null,
4895
+ /**
4896
+ * 宿主版本(仅 web、微信小程序支持)
4897
+ *
4898
+ * @uniPlatform {
4899
+ * "app": {
4900
+ * "android": {
4901
+ * "osVer": "x",
4902
+ * "uniVer": "x",
4903
+ * "unixVer": "x"
4904
+ * },
4905
+ * "ios": {
4906
+ * "osVer": "x",
4907
+ * "uniVer": "x",
4908
+ * "unixVer": "x"
4909
+ * },
4910
+ * "harmony": {
4911
+ * "osVer": "x",
4912
+ * "uniVer": "x",
4913
+ * "unixVer": "x"
4914
+ * }
4915
+ * },
4916
+ * "mp": {
4917
+ * "weixin": {
4918
+ * "hostVer": "√",
4919
+ * "uniVer": "√",
4920
+ * "unixVer": "4.41"
4921
+ * },
4922
+ * "alipay": {
4923
+ * "hostVer": "√",
4924
+ * "uniVer": "x",
4925
+ * "unixVer": "x"
4926
+ * },
4927
+ * "baidu": {
4928
+ * "hostVer": "√",
4929
+ * "uniVer": "x",
4930
+ * "unixVer": "x"
4931
+ * },
4932
+ * "toutiao": {
4933
+ * "hostVer": "√",
4934
+ * "uniVer": "x",
4935
+ * "unixVer": "x"
4936
+ * },
4937
+ * "lark": {
4938
+ * "hostVer": "√",
4939
+ * "uniVer": "x",
4940
+ * "unixVer": "x"
4941
+ * },
4942
+ * "qq": {
4943
+ * "hostVer": "√",
4944
+ * "uniVer": "x",
4945
+ * "unixVer": "x"
4946
+ * },
4947
+ * "kuaishou": {
4948
+ * "hostVer": "√",
4949
+ * "uniVer": "x",
4950
+ * "unixVer": "x"
4951
+ * },
4952
+ * "jd": {
4953
+ * "hostVer": "√",
4954
+ * "uniVer": "x",
4955
+ * "unixVer": "x"
4956
+ * }
4957
+ * },
4958
+ * "web": {
4959
+ * "uniVer": "√",
4960
+ * "unixVer": "4.0"
4961
+ * }
4962
+ * }
4963
+ */
4964
+ hostVersion?: string | null,
4965
+ /**
4966
+ * 宿主语言(仅 web、微信小程序支持)
4967
+ *
4968
+ * @uniPlatform {
4969
+ * "app": {
4970
+ * "android": {
4971
+ * "osVer": "x",
4972
+ * "uniVer": "x",
4973
+ * "unixVer": "x"
4974
+ * },
4975
+ * "ios": {
4976
+ * "osVer": "x",
4977
+ * "uniVer": "x",
4978
+ * "unixVer": "x"
4979
+ * },
4980
+ * "harmony": {
4981
+ * "osVer": "x",
4982
+ * "uniVer": "x",
4983
+ * "unixVer": "x"
4984
+ * }
4985
+ * },
4986
+ * "mp": {
4987
+ * "weixin": {
4988
+ * "hostVer": "√",
4989
+ * "uniVer": "√",
4990
+ * "unixVer": "4.41"
4991
+ * },
4992
+ * "alipay": {
4993
+ * "hostVer": "√",
4994
+ * "uniVer": "x",
4995
+ * "unixVer": "x"
4996
+ * },
4997
+ * "baidu": {
4998
+ * "hostVer": "√",
4999
+ * "uniVer": "x",
5000
+ * "unixVer": "x"
5001
+ * },
5002
+ * "toutiao": {
5003
+ * "hostVer": "√",
5004
+ * "uniVer": "x",
5005
+ * "unixVer": "x"
5006
+ * },
5007
+ * "lark": {
5008
+ * "hostVer": "√",
5009
+ * "uniVer": "x",
5010
+ * "unixVer": "x"
5011
+ * },
5012
+ * "qq": {
5013
+ * "hostVer": "√",
5014
+ * "uniVer": "x",
5015
+ * "unixVer": "x"
5016
+ * },
5017
+ * "kuaishou": {
5018
+ * "hostVer": "√",
5019
+ * "uniVer": "x",
5020
+ * "unixVer": "x"
5021
+ * },
5022
+ * "jd": {
5023
+ * "hostVer": "√",
5024
+ * "uniVer": "x",
5025
+ * "unixVer": "x"
5026
+ * }
5027
+ * },
5028
+ * "web": {
5029
+ * "uniVer": "√",
5030
+ * "unixVer": "4.0"
5031
+ * }
5032
+ * }
5033
+ */
5034
+ hostLanguage?: string | null,
5035
+ /**
5036
+ * 宿主名称(仅 web、微信小程序支持)
5037
+ *
5038
+ * @uniPlatform {
5039
+ * "app": {
5040
+ * "android": {
5041
+ * "osVer": "x",
5042
+ * "uniVer": "x",
5043
+ * "unixVer": "x"
5044
+ * },
5045
+ * "ios": {
5046
+ * "osVer": "x",
5047
+ * "uniVer": "x",
5048
+ * "unixVer": "x"
5049
+ * },
5050
+ * "harmony": {
5051
+ * "osVer": "x",
5052
+ * "uniVer": "x",
5053
+ * "unixVer": "x"
5054
+ * }
5055
+ * },
5056
+ * "mp": {
5057
+ * "weixin": {
5058
+ * "hostVer": "√",
5059
+ * "uniVer": "√",
5060
+ * "unixVer": "4.41"
5061
+ * },
5062
+ * "alipay": {
5063
+ * "hostVer": "√",
5064
+ * "uniVer": "x",
5065
+ * "unixVer": "x"
5066
+ * },
5067
+ * "baidu": {
5068
+ * "hostVer": "√",
5069
+ * "uniVer": "x",
5070
+ * "unixVer": "x"
5071
+ * },
5072
+ * "toutiao": {
5073
+ * "hostVer": "√",
5074
+ * "uniVer": "x",
5075
+ * "unixVer": "x"
5076
+ * },
5077
+ * "lark": {
5078
+ * "hostVer": "√",
5079
+ * "uniVer": "x",
5080
+ * "unixVer": "x"
5081
+ * },
5082
+ * "qq": {
5083
+ * "hostVer": "√",
5084
+ * "uniVer": "x",
5085
+ * "unixVer": "x"
5086
+ * },
5087
+ * "kuaishou": {
5088
+ * "hostVer": "√",
5089
+ * "uniVer": "x",
5090
+ * "unixVer": "x"
5091
+ * },
5092
+ * "jd": {
5093
+ * "hostVer": "√",
5094
+ * "uniVer": "x",
5095
+ * "unixVer": "x"
5096
+ * }
5097
+ * },
5098
+ * "web": {
5099
+ * "uniVer": "√",
5100
+ * "unixVer": "4.0"
5101
+ * }
5102
+ * }
5103
+ */
5104
+ hostName?: string | null,
5105
+ /**
5106
+ * 宿主 SDKVersion(仅 web、微信小程序支持)
5107
+ *
5108
+ * @uniPlatform {
5109
+ * "app": {
5110
+ * "android": {
5111
+ * "osVer": "x",
5112
+ * "uniVer": "x",
5113
+ * "unixVer": "x"
5114
+ * },
5115
+ * "ios": {
5116
+ * "osVer": "x",
5117
+ * "uniVer": "x",
5118
+ * "unixVer": "x"
5119
+ * },
5120
+ * "harmony": {
5121
+ * "osVer": "x",
5122
+ * "uniVer": "x",
5123
+ * "unixVer": "x"
5124
+ * }
5125
+ * },
5126
+ * "mp": {
5127
+ * "weixin": {
5128
+ * "hostVer": "√",
5129
+ * "uniVer": "√",
5130
+ * "unixVer": "4.41"
5131
+ * },
5132
+ * "alipay": {
5133
+ * "hostVer": "√",
5134
+ * "uniVer": "x",
5135
+ * "unixVer": "x"
5136
+ * },
5137
+ * "baidu": {
5138
+ * "hostVer": "√",
5139
+ * "uniVer": "x",
5140
+ * "unixVer": "x"
5141
+ * },
5142
+ * "toutiao": {
5143
+ * "hostVer": "√",
5144
+ * "uniVer": "x",
5145
+ * "unixVer": "x"
5146
+ * },
5147
+ * "lark": {
5148
+ * "hostVer": "√",
5149
+ * "uniVer": "x",
5150
+ * "unixVer": "x"
5151
+ * },
5152
+ * "qq": {
5153
+ * "hostVer": "√",
5154
+ * "uniVer": "x",
5155
+ * "unixVer": "x"
5156
+ * },
5157
+ * "kuaishou": {
5158
+ * "hostVer": "√",
5159
+ * "uniVer": "x",
5160
+ * "unixVer": "x"
5161
+ * },
5162
+ * "jd": {
5163
+ * "hostVer": "√",
5164
+ * "uniVer": "x",
5165
+ * "unixVer": "x"
5166
+ * }
5167
+ * },
5168
+ * "web": {
5169
+ * "uniVer": "x",
5170
+ * "unixVer": "x"
5171
+ * }
5172
+ * }
5173
+ */
5174
+ hostSDKVersion?: string | null,
5175
+ /**
5176
+ * 宿主字体大小设置(仅 web、微信小程序支持)
5177
+ *
5178
+ * @uniPlatform {
5179
+ * "app": {
5180
+ * "android": {
5181
+ * "osVer": "x",
5182
+ * "uniVer": "x",
5183
+ * "unixVer": "x"
5184
+ * },
5185
+ * "ios": {
5186
+ * "osVer": "x",
5187
+ * "uniVer": "x",
5188
+ * "unixVer": "x"
5189
+ * },
5190
+ * "harmony": {
5191
+ * "osVer": "x",
5192
+ * "uniVer": "x",
5193
+ * "unixVer": "x"
5194
+ * }
5195
+ * },
5196
+ * "mp": {
5197
+ * "weixin": {
5198
+ * "hostVer": "√",
5199
+ * "uniVer": "√",
5200
+ * "unixVer": "4.41"
5201
+ * },
5202
+ * "alipay": {
5203
+ * "hostVer": "√",
5204
+ * "uniVer": "x",
5205
+ * "unixVer": "x"
5206
+ * },
5207
+ * "baidu": {
5208
+ * "hostVer": "√",
5209
+ * "uniVer": "x",
5210
+ * "unixVer": "x"
5211
+ * },
5212
+ * "toutiao": {
5213
+ * "hostVer": "√",
5214
+ * "uniVer": "x",
5215
+ * "unixVer": "x"
5216
+ * },
5217
+ * "lark": {
5218
+ * "hostVer": "√",
5219
+ * "uniVer": "x",
5220
+ * "unixVer": "x"
5221
+ * },
5222
+ * "qq": {
5223
+ * "hostVer": "√",
5224
+ * "uniVer": "x",
5225
+ * "unixVer": "x"
5226
+ * },
5227
+ * "kuaishou": {
5228
+ * "hostVer": "√",
5229
+ * "uniVer": "x",
5230
+ * "unixVer": "x"
5231
+ * },
5232
+ * "jd": {
5233
+ * "hostVer": "√",
5234
+ * "uniVer": "x",
5235
+ * "unixVer": "x"
5236
+ * }
5237
+ * },
5238
+ * "web": {
5239
+ * "uniVer": "x",
5240
+ * "unixVer": "x"
5241
+ * }
5242
+ * }
5243
+ */
5244
+ hostFontSizeSetting?: number | null,
4825
5245
  /**
4826
5246
  * 需要基础库: `2.6.0`
4827
5247
  *