@dcloudio/uni-app-x 0.7.4 → 0.7.6

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 (114) hide show
  1. package/package.json +1 -1
  2. package/types/app.d.ts +9 -9
  3. package/types/native/CSSStyleDeclaration.d.ts +4 -2
  4. package/types/native/IUniElement.d.ts +26 -4
  5. package/types/native/UniApp.d.ts +2 -2
  6. package/types/native/UniCustomEvent.d.ts +25 -0
  7. package/types/native/UniElement.d.ts +6 -3
  8. package/types/native/{Event.d.ts → UniEvent.d.ts} +18 -4
  9. package/types/native/UniForm.d.ts +8 -0
  10. package/types/native/UniImageErrorEvent.d.ts +16 -0
  11. package/types/native/UniImageLoadEvent.d.ts +20 -0
  12. package/types/native/UniInputBlurEvent.d.ts +20 -0
  13. package/types/native/UniInputConfirmEvent.d.ts +16 -0
  14. package/types/native/{InputEvent.d.ts → UniInputEvent.d.ts} +6 -3
  15. package/types/native/{TextareaFocusEvent.d.ts → UniInputFocusEvent.d.ts} +6 -3
  16. package/types/native/UniInputKeyboardHeightChangeEvent.d.ts +20 -0
  17. package/types/native/{NestedPreScrollEvent.d.ts → UniNestedPreScrollEvent.d.ts} +26 -22
  18. package/types/native/UniPage.d.ts +4 -4
  19. package/types/native/UniPageEvent.d.ts +11 -0
  20. package/types/native/UniPageScrollEvent.d.ts +14 -0
  21. package/types/native/{PointerEvent.d.ts → UniPointerEvent.d.ts} +11 -4
  22. package/types/native/UniRefresherEvent.d.ts +14 -0
  23. package/types/native/{ResizeEvent.d.ts → UniResizeEvent.d.ts} +6 -3
  24. package/types/native/{RichTextItemClickEvent.d.ts → UniRichTextItemClickEvent.d.ts} +5 -2
  25. package/types/native/{ScrollEvent.d.ts → UniScrollEvent.d.ts} +6 -3
  26. package/types/native/UniScrollToLowerEvent.d.ts +16 -0
  27. package/types/native/UniScrollToUpperEvent.d.ts +16 -0
  28. package/types/native/{StartNestedScrollEvent.d.ts → UniStartNestedScrollEvent.d.ts} +6 -3
  29. package/types/native/{StopNestedScrollEvent.d.ts → UniStopNestedScrollEvent.d.ts} +5 -2
  30. package/types/native/{SwiperAnimationFinishEvent.d.ts → UniSwiperAnimationFinishEvent.d.ts} +5 -2
  31. package/types/native/{SwiperChangeEvent.d.ts → UniSwiperChangeEvent.d.ts} +5 -2
  32. package/types/native/{SwiperTransitionEvent.d.ts → UniSwiperTransitionEvent.d.ts} +5 -2
  33. package/types/native/{TabTapEvent.d.ts → UniTabTapEvent.d.ts} +6 -3
  34. package/types/native/UniTextElement.d.ts +3 -0
  35. package/types/native/UniTextareaBlurEvent.d.ts +20 -0
  36. package/types/native/{InputFocusEvent.d.ts → UniTextareaFocusEvent.d.ts} +7 -3
  37. package/types/native/UniTextareaLineChangeEvent.d.ts +24 -0
  38. package/types/native/{TouchEvent.d.ts → UniTouchEvent.d.ts} +13 -6
  39. package/types/native/UniVideoElement.d.ts +5 -5
  40. package/types/native/{WebViewDownloadEvent.d.ts → UniWebViewDownloadEvent.d.ts} +10 -4
  41. package/types/native/{WebViewErrorEvent.d.ts → UniWebViewErrorEvent.d.ts} +10 -4
  42. package/types/native/UniWebViewLoadEvent.d.ts +27 -0
  43. package/types/native/UniWebViewLoadingEvent.d.ts +28 -0
  44. package/types/native/UniWebViewMessageEvent.d.ts +27 -0
  45. package/types/native/UniWebViewServiceMessageEvent.d.ts +1 -1
  46. package/types/native/global.d.ts +238 -111
  47. package/types/native/index.d.ts +35 -34
  48. package/types/page.d.ts +19 -19
  49. package/types/uni/core/lib/base/event/interface.d.ts +244 -4
  50. package/types/uni/core/lib/base/interceptor/interface.d.ts +2 -2
  51. package/types/uni/core/lib/lifecycle/interface.d.ts +26 -1
  52. package/types/uni/core/lib/performance/interface.d.ts +26 -1
  53. package/types/uni/core/lib/route/interface.d.ts +30 -30
  54. package/types/uni/core/lib/ui/create-selector-query/interface.d.ts +73 -73
  55. package/types/uni/core/lib/ui/get-element-by-id/interface.d.ts +2 -2
  56. package/types/uni/core/lib/ui/load-font-face/interface.d.ts +9 -9
  57. package/types/uni/core/lib/ui/page-scroll-to/interface.d.ts +37 -37
  58. package/types/uni/core/lib/ui/pull-down-refresh/interface.d.ts +122 -2
  59. package/types/uni/core/lib/ui/set-navigation-bar-color/interface.d.ts +7 -7
  60. package/types/uni/core/lib/ui/set-navigation-bar-title/interface.d.ts +6 -6
  61. package/types/uni/core/lib/ui/tab-bar/interface.d.ts +489 -9
  62. package/types/uni/uts-plugin-api/global.d.ts +2 -1
  63. package/types/uni/uts-plugin-api/index.d.ts +2 -1
  64. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/global.d.ts +18 -0
  65. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/index.d.ts +8 -0
  66. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +44 -0
  67. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +11 -7
  68. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +6 -2
  69. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +22 -18
  70. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +1 -1
  71. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +4 -4
  72. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +8 -4
  73. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +33 -29
  74. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/interface.d.ts +7 -3
  75. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +18 -14
  76. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +106 -94
  77. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +1 -1
  78. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +6 -2
  79. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +11 -3
  80. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +176 -152
  81. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +66 -18
  82. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +51 -11
  83. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +238 -186
  84. package/types/uni/uts-plugin-biz/global.d.ts +1 -1
  85. package/types/uni/uts-plugin-biz/index.d.ts +1 -1
  86. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +17 -18
  87. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/global.d.ts +26 -4
  88. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/index.d.ts +13 -2
  89. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +93 -32
  90. package/types/vue/CheckboxGroupChangeEvent.d.ts +9 -2
  91. package/types/vue/LifeCycle.d.ts +3 -3
  92. package/types/vue/PickerViewChangeEvent.d.ts +9 -2
  93. package/types/vue/ProgressActiveendEvent.d.ts +9 -2
  94. package/types/vue/RadioGroupChangeEvent.d.ts +9 -2
  95. package/types/vue/SliderChangeEvent.d.ts +9 -2
  96. package/types/vue/SwitchChangeEvent.d.ts +9 -2
  97. package/types/vue/UniFormElement.d.ts +18 -4
  98. package/uts-plugin.d.ts +6 -6
  99. package/types/native/CustomEvent.d.ts +0 -18
  100. package/types/native/ImageErrorEvent.d.ts +0 -13
  101. package/types/native/ImageLoadEvent.d.ts +0 -17
  102. package/types/native/InputBlurEvent.d.ts +0 -17
  103. package/types/native/InputConfirmEvent.d.ts +0 -13
  104. package/types/native/InputKeyboardHeightChangeEvent.d.ts +0 -17
  105. package/types/native/PageEvent.d.ts +0 -8
  106. package/types/native/PageScrollEvent.d.ts +0 -11
  107. package/types/native/RefresherEvent.d.ts +0 -10
  108. package/types/native/ScrollToLowerEvent.d.ts +0 -13
  109. package/types/native/ScrollToUpperEvent.d.ts +0 -13
  110. package/types/native/TextareaBlurEvent.d.ts +0 -17
  111. package/types/native/TextareaLineChangeEvent.d.ts +0 -21
  112. package/types/native/WebViewLoadedEvent.d.ts +0 -21
  113. package/types/native/WebViewLoadingEvent.d.ts +0 -22
  114. package/types/native/WebViewMessageEvent.d.ts +0 -21
@@ -42,7 +42,67 @@ export interface Uni {
42
42
  /**
43
43
  * 开始下拉刷新
44
44
  *
45
- * @tutorial http://uniapp.dcloud.io/api/ui/pulldown?id=startpulldownrefresh
45
+ * @tutorial https://uniapp.dcloud.io/uni-app-x/api/pull-down-refresh.html#startpulldownrefresh
46
+ * @uniPlatform {
47
+ * "app": {
48
+ * "android": {
49
+ * "osVer": "5.0",
50
+ * "uniVer": "√",
51
+ * "unixVer": "3.91"
52
+ * },
53
+ * "ios": {
54
+ * "osVer": "10.0",
55
+ * "uniVer": "√",
56
+ * "unixVer": "x"
57
+ * }
58
+ * },
59
+ * "mp": {
60
+ * "weixin": {
61
+ * "hostVer": "√",
62
+ * "uniVer": "√",
63
+ * "unixVer": "x"
64
+ * },
65
+ * "alipay": {
66
+ * "hostVer": "√",
67
+ * "uniVer": "√",
68
+ * "unixVer": "x"
69
+ * },
70
+ * "baidu": {
71
+ * "hostVer": "√",
72
+ * "uniVer": "√",
73
+ * "unixVer": "x"
74
+ * },
75
+ * "toutiao": {
76
+ * "hostVer": "√",
77
+ * "uniVer": "√",
78
+ * "unixVer": "x"
79
+ * },
80
+ * "lark": {
81
+ * "hostVer": "√",
82
+ * "uniVer": "√",
83
+ * "unixVer": "x"
84
+ * },
85
+ * "qq": {
86
+ * "hostVer": "√",
87
+ * "uniVer": "√",
88
+ * "unixVer": "x"
89
+ * },
90
+ * "kuaishou": {
91
+ * "hostVer": "√",
92
+ * "uniVer": "√",
93
+ * "unixVer": "x"
94
+ * },
95
+ * "jd": {
96
+ * "hostVer": "√",
97
+ * "uniVer": "√",
98
+ * "unixVer": "x"
99
+ * }
100
+ * },
101
+ * "web": {
102
+ * "uniVer": "√",
103
+ * "unixVer": "4.0"
104
+ * }
105
+ * }
46
106
  */
47
107
  startPullDownRefresh(
48
108
  options?: StartPullDownRefreshOptions | null
@@ -50,7 +110,67 @@ export interface Uni {
50
110
  /**
51
111
  * 停止当前页面下拉刷新
52
112
  *
53
- * @tutorial http://uniapp.dcloud.io/api/ui/pulldown?id=stoppulldownrefresh
113
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/pull-down-refresh.html#stoppulldownrefresh
114
+ * @uniPlatform {
115
+ * "app": {
116
+ * "android": {
117
+ * "osVer": "5.0",
118
+ * "uniVer": "√",
119
+ * "unixVer": "3.91"
120
+ * },
121
+ * "ios": {
122
+ * "osVer": "10.0",
123
+ * "uniVer": "√",
124
+ * "unixVer": "x"
125
+ * }
126
+ * },
127
+ * "mp": {
128
+ * "weixin": {
129
+ * "hostVer": "√",
130
+ * "uniVer": "√",
131
+ * "unixVer": "x"
132
+ * },
133
+ * "alipay": {
134
+ * "hostVer": "√",
135
+ * "uniVer": "√",
136
+ * "unixVer": "x"
137
+ * },
138
+ * "baidu": {
139
+ * "hostVer": "√",
140
+ * "uniVer": "√",
141
+ * "unixVer": "x"
142
+ * },
143
+ * "toutiao": {
144
+ * "hostVer": "√",
145
+ * "uniVer": "√",
146
+ * "unixVer": "x"
147
+ * },
148
+ * "lark": {
149
+ * "hostVer": "√",
150
+ * "uniVer": "√",
151
+ * "unixVer": "x"
152
+ * },
153
+ * "qq": {
154
+ * "hostVer": "√",
155
+ * "uniVer": "√",
156
+ * "unixVer": "x"
157
+ * },
158
+ * "kuaishou": {
159
+ * "hostVer": "√",
160
+ * "uniVer": "√",
161
+ * "unixVer": "x"
162
+ * },
163
+ * "jd": {
164
+ * "hostVer": "√",
165
+ * "uniVer": "√",
166
+ * "unixVer": "x"
167
+ * }
168
+ * },
169
+ * "web": {
170
+ * "uniVer": "√",
171
+ * "unixVer": "4.0"
172
+ * }
173
+ * }
54
174
  */
55
175
  stopPullDownRefresh(): void
56
176
  }
@@ -77,7 +77,7 @@ export type SetNavigationBarColorOptions = {
77
77
  * },
78
78
  * "web": {
79
79
  * "uniVer": "√",
80
- * "unixVer": "4.0+"
80
+ * "unixVer": "4.0"
81
81
  * }
82
82
  * }
83
83
  */
@@ -141,7 +141,7 @@ export type SetNavigationBarColorOptions = {
141
141
  * },
142
142
  * "web": {
143
143
  * "uniVer": "√",
144
- * "unixVer": "4.0+"
144
+ * "unixVer": "4.0"
145
145
  * }
146
146
  * }
147
147
  */
@@ -205,7 +205,7 @@ export type SetNavigationBarColorOptions = {
205
205
  * },
206
206
  * "web": {
207
207
  * "uniVer": "√",
208
- * "unixVer": "4.0+"
208
+ * "unixVer": "4.0"
209
209
  * }
210
210
  * }
211
211
  */
@@ -269,7 +269,7 @@ export type SetNavigationBarColorOptions = {
269
269
  * },
270
270
  * "web": {
271
271
  * "uniVer": "√",
272
- * "unixVer": "4.0+"
272
+ * "unixVer": "4.0"
273
273
  * }
274
274
  * }
275
275
  */
@@ -333,7 +333,7 @@ export type SetNavigationBarColorOptions = {
333
333
  * },
334
334
  * "web": {
335
335
  * "uniVer": "√",
336
- * "unixVer": "4.0+"
336
+ * "unixVer": "4.0"
337
337
  * }
338
338
  * }
339
339
  */
@@ -363,7 +363,7 @@ export interface Uni {
363
363
  /**
364
364
  * 设置导航条、状态栏颜色
365
365
  *
366
- * @tutorial https://uniapp.dcloud.net.cn/uni-app-x/api/set-navigation-bar-color.html
366
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-navigation-bar-color.html
367
367
  * @uniPlatform {
368
368
  * "app": {
369
369
  * "android": {
@@ -421,7 +421,7 @@ export interface Uni {
421
421
  * },
422
422
  * "web": {
423
423
  * "uniVer": "√",
424
- * "unixVer": "4.0+"
424
+ * "unixVer": "4.0"
425
425
  * }
426
426
  * }
427
427
  */
@@ -78,7 +78,7 @@ export type SetNavigationBarTitleOptions = {
78
78
  * },
79
79
  * "web": {
80
80
  * "uniVer": "√",
81
- * "unixVer": "4.0+"
81
+ * "unixVer": "4.0"
82
82
  * }
83
83
  * }
84
84
  */
@@ -142,7 +142,7 @@ export type SetNavigationBarTitleOptions = {
142
142
  * },
143
143
  * "web": {
144
144
  * "uniVer": "√",
145
- * "unixVer": "4.0+"
145
+ * "unixVer": "4.0"
146
146
  * }
147
147
  * }
148
148
  */
@@ -206,7 +206,7 @@ export type SetNavigationBarTitleOptions = {
206
206
  * },
207
207
  * "web": {
208
208
  * "uniVer": "√",
209
- * "unixVer": "4.0+"
209
+ * "unixVer": "4.0"
210
210
  * }
211
211
  * }
212
212
  */
@@ -270,7 +270,7 @@ export type SetNavigationBarTitleOptions = {
270
270
  * },
271
271
  * "web": {
272
272
  * "uniVer": "√",
273
- * "unixVer": "4.0+"
273
+ * "unixVer": "4.0"
274
274
  * }
275
275
  * }
276
276
  */
@@ -300,7 +300,7 @@ export interface Uni {
300
300
  /**
301
301
  * 动态设置当前页面的标题
302
302
  *
303
- * @tutorial https://uniapp.dcloud.net.cn/uni-app-x/api/set-navigation-bar-title.html
303
+ * @tutorial https://doc.dcloud.net.cn/uni-app-x/api/set-navigation-bar-title.html
304
304
  * @uniPlatform {
305
305
  * "app": {
306
306
  * "android": {
@@ -358,7 +358,7 @@ export interface Uni {
358
358
  * },
359
359
  * "web": {
360
360
  * "uniVer": "√",
361
- * "unixVer": "4.0+"
361
+ * "unixVer": "4.0"
362
362
  * }
363
363
  * }
364
364
  */