@dcloudio/uni-app-x 0.7.13 → 0.7.15

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 (187) hide show
  1. package/options.d.ts +1 -1
  2. package/package.json +1 -1
  3. package/types/app.d.ts +5 -6
  4. package/types/index.d.ts +1 -1
  5. package/types/native/CanvasRenderingContext2D.d.ts +378 -0
  6. package/types/native/IUniElement.d.ts +40 -12
  7. package/types/native/Path2D.d.ts +74 -0
  8. package/types/native/UniApp.d.ts +17 -1
  9. package/types/native/UniCanvasElement.d.ts +9 -0
  10. package/types/native/UniEvent.d.ts +30 -0
  11. package/types/native/UniNativePage.d.ts +31 -1
  12. package/types/native/UniPageManager.d.ts +4 -1
  13. package/types/native/UniProvider.d.ts +14 -0
  14. package/types/native/UniResizeObserver.d.ts +10 -10
  15. package/types/native/UniScrollEvent.d.ts +1 -1
  16. package/types/native/UniSwiperAnimationFinishEvent.d.ts +24 -2
  17. package/types/native/UniSwiperChangeEvent.d.ts +24 -2
  18. package/types/native/UniSwiperTransitionEvent.d.ts +2 -2
  19. package/types/native/UniWebViewErrorEvent.d.ts +3 -3
  20. package/types/native/UniWebViewLoadEvent.d.ts +2 -2
  21. package/types/native/UniWebViewLoadingEvent.d.ts +2 -2
  22. package/types/native/UniWebViewMessageEvent.d.ts +1 -1
  23. package/types/native/global.d.ts +40 -9
  24. package/types/native/index.d.ts +4 -0
  25. package/types/page.d.ts +85 -0
  26. package/types/shim-uts-basic.d.ts +4495 -0
  27. package/types/uni/env/index.d.ts +21 -0
  28. package/types/uni/global.d.ts +1 -0
  29. package/types/uni/index.d.ts +2 -1
  30. package/types/uni/uts-plugin-api/global.d.ts +14 -2
  31. package/types/uni/uts-plugin-api/index.d.ts +14 -2
  32. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/global.d.ts +10 -0
  33. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/index.d.ts +4 -0
  34. package/types/uni/uts-plugin-api/lib/uni-arrayBufferToBase64/utssdk/interface.d.ts +77 -0
  35. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/global.d.ts +10 -0
  36. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/index.d.ts +4 -0
  37. package/types/uni/uts-plugin-api/lib/uni-base64ToArrayBuffer/utssdk/interface.d.ts +77 -0
  38. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/global.d.ts +40 -0
  39. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/index.d.ts +19 -0
  40. package/types/uni/uts-plugin-api/lib/uni-clipboard/utssdk/interface.d.ts +203 -0
  41. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/global.d.ts +20 -0
  42. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/index.d.ts +9 -0
  43. package/types/uni/uts-plugin-api/lib/uni-createIntersectionObserver/utssdk/interface.d.ts +152 -0
  44. package/types/uni/uts-plugin-api/lib/uni-createRequestPermissionListener/utssdk/interface.d.ts +20 -3
  45. package/types/uni/uts-plugin-api/lib/uni-createSelectorQuery/utssdk/interface.d.ts +19 -8
  46. package/types/uni/uts-plugin-api/lib/uni-createWebviewContext/utssdk/interface.d.ts +13 -6
  47. package/types/uni/uts-plugin-api/lib/uni-event/utssdk/interface.d.ts +30 -2
  48. package/types/uni/uts-plugin-api/lib/uni-exit/utssdk/interface.d.ts +12 -3
  49. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/global.d.ts +6 -0
  50. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/index.d.ts +3 -0
  51. package/types/uni/uts-plugin-api/lib/uni-fileSystemManager/utssdk/interface.d.ts +64 -8
  52. package/types/uni/uts-plugin-api/lib/uni-getAccessibilityInfo/utssdk/interface.d.ts +20 -17
  53. package/types/uni/uts-plugin-api/lib/uni-getAppAuthorizeSetting/utssdk/interface.d.ts +111 -27
  54. package/types/uni/uts-plugin-api/lib/uni-getAppBaseInfo/utssdk/interface.d.ts +465 -45
  55. package/types/uni/uts-plugin-api/lib/uni-getDeviceInfo/utssdk/interface.d.ts +651 -115
  56. package/types/uni/uts-plugin-api/lib/uni-getElementById/utssdk/interface.d.ts +7 -1
  57. package/types/uni/uts-plugin-api/lib/uni-getLaunchOptionsSync/utssdk/interface.d.ts +10 -1
  58. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/global.d.ts +24 -0
  59. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/index.d.ts +11 -0
  60. package/types/uni/uts-plugin-api/lib/uni-getLocation/utssdk/interface.d.ts +173 -0
  61. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/global.d.ts +2 -14
  62. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/index.d.ts +1 -6
  63. package/types/uni/uts-plugin-api/lib/uni-getLocation-system/utssdk/interface.d.ts +1 -151
  64. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/global.d.ts +8 -0
  65. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/index.d.ts +4 -0
  66. package/types/uni/uts-plugin-api/lib/uni-getLocation-tencent/utssdk/interface.d.ts +1 -0
  67. package/types/uni/uts-plugin-api/lib/uni-getNetworkType/utssdk/interface.d.ts +12 -5
  68. package/types/uni/uts-plugin-api/lib/uni-getPerformance/utssdk/interface.d.ts +11 -5
  69. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/global.d.ts +8 -0
  70. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/index.d.ts +4 -0
  71. package/types/uni/uts-plugin-api/lib/uni-getProvider/utssdk/interface.d.ts +176 -72
  72. package/types/uni/uts-plugin-api/lib/uni-getSystemInfo/utssdk/interface.d.ts +1728 -59
  73. package/types/uni/uts-plugin-api/lib/uni-getSystemSetting/utssdk/interface.d.ts +123 -16
  74. package/types/uni/uts-plugin-api/lib/uni-installApk/utssdk/interface.d.ts +9 -6
  75. package/types/uni/uts-plugin-api/lib/uni-interceptor/utssdk/interface.d.ts +18 -2
  76. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/global.d.ts +22 -0
  77. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/index.d.ts +10 -0
  78. package/types/uni/uts-plugin-api/lib/uni-keyboard/utssdk/interface.d.ts +60 -0
  79. package/types/uni/uts-plugin-api/lib/uni-loadFontFace/utssdk/interface.d.ts +8 -1
  80. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/global.d.ts +24 -0
  81. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/index.d.ts +11 -0
  82. package/types/uni/uts-plugin-api/lib/uni-makePhoneCall/utssdk/interface.d.ts +100 -0
  83. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/global.d.ts +2 -0
  84. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/index.d.ts +1 -0
  85. package/types/uni/uts-plugin-api/lib/uni-media/utssdk/interface.d.ts +459 -67
  86. package/types/uni/uts-plugin-api/lib/uni-navigationBar/utssdk/interface.d.ts +34 -5
  87. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/interface.d.ts +909 -101
  88. package/types/uni/uts-plugin-api/lib/uni-openAppAuthorizeSetting/utssdk/interface.d.ts +20 -15
  89. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/global.d.ts +24 -0
  90. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/index.d.ts +11 -0
  91. package/types/uni/uts-plugin-api/lib/uni-openDocument/utssdk/interface.d.ts +70 -0
  92. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/global.d.ts +2 -0
  93. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/index.d.ts +1 -0
  94. package/types/uni/uts-plugin-api/lib/uni-pageScrollTo/utssdk/interface.d.ts +16 -6
  95. package/types/uni/uts-plugin-api/lib/uni-payment/utssdk/interface.d.ts +26 -16
  96. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/global.d.ts +8 -0
  97. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/index.d.ts +4 -0
  98. package/types/uni/uts-plugin-api/lib/uni-payment-alipay/utssdk/interface.d.ts +1 -0
  99. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/global.d.ts +8 -0
  100. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/index.d.ts +4 -0
  101. package/types/uni/uts-plugin-api/lib/uni-payment-wxpay/utssdk/interface.d.ts +3 -0
  102. package/types/uni/uts-plugin-api/lib/uni-prompt/utssdk/interface.d.ts +120 -42
  103. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/global.d.ts +2 -0
  104. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/index.d.ts +1 -0
  105. package/types/uni/uts-plugin-api/lib/uni-pullDownRefresh/utssdk/interface.d.ts +16 -1
  106. package/types/uni/uts-plugin-api/lib/uni-route/utssdk/interface.d.ts +251 -42
  107. package/types/uni/uts-plugin-api/lib/uni-rpx2px/utssdk/interface.d.ts +7 -2
  108. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/global.d.ts +24 -0
  109. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/index.d.ts +11 -0
  110. package/types/uni/uts-plugin-api/lib/uni-scanCode/utssdk/interface.d.ts +73 -0
  111. package/types/uni/uts-plugin-api/lib/uni-storage/utssdk/interface.d.ts +114 -45
  112. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/global.d.ts +16 -0
  113. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/index.d.ts +8 -0
  114. package/types/uni/uts-plugin-api/lib/uni-tabBar/utssdk/interface.d.ts +167 -7
  115. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/global.d.ts +42 -0
  116. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/index.d.ts +20 -0
  117. package/types/uni/uts-plugin-api/lib/uni-theme/utssdk/interface.d.ts +516 -0
  118. package/types/uni/uts-plugin-api/lib/uni-websocket/utssdk/interface.d.ts +320 -83
  119. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/global.d.ts +4 -4
  120. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/index.d.ts +2 -2
  121. package/types/uni/uts-plugin-biz/lib/uni-ad/utssdk/interface.d.ts +48 -39
  122. package/types/uni/uts-plugin-biz/lib/uni-facialRecognitionVerify/utssdk/interface.d.ts +33 -15
  123. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/global.d.ts +4 -0
  124. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/index.d.ts +2 -0
  125. package/types/uni/uts-plugin-biz/lib/uni-push/utssdk/interface.d.ts +777 -394
  126. package/types/uni/uts-plugin-biz/lib/uni-verify/utssdk/interface.d.ts +19 -15
  127. package/types/uni/uts-plugin-component/lib/uni-video/utssdk/interface.d.ts +132 -15
  128. package/types/uni/uts-plugin-extend/README.md +3 -0
  129. package/types/uni/uts-plugin-extend/global.d.ts +13 -0
  130. package/types/uni/uts-plugin-extend/index.d.ts +13 -0
  131. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/global.d.ts +12 -0
  132. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/index.d.ts +1 -0
  133. package/types/uni/uts-plugin-extend/lib/uni-accelerometer/utssdk/interface.d.ts +365 -0
  134. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/global.d.ts +23 -0
  135. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/index.d.ts +10 -0
  136. package/types/uni/uts-plugin-extend/lib/uni-canvas/utssdk/interface.d.ts +710 -0
  137. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/global.d.ts +21 -0
  138. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/index.d.ts +9 -0
  139. package/types/uni/uts-plugin-extend/lib/uni-chooseLocation/utssdk/interface.d.ts +151 -0
  140. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/global.d.ts +25 -0
  141. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/index.d.ts +11 -0
  142. package/types/uni/uts-plugin-extend/lib/uni-compass/utssdk/interface.d.ts +363 -0
  143. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/global.d.ts +11 -0
  144. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/index.d.ts +4 -0
  145. package/types/uni/uts-plugin-extend/lib/uni-createInnerAudioContext/utssdk/interface.d.ts +224 -0
  146. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/global.d.ts +53 -0
  147. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/index.d.ts +25 -0
  148. package/types/uni/uts-plugin-extend/lib/uni-createMapContext/utssdk/interface.d.ts +486 -0
  149. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/global.d.ts +7 -0
  150. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/index.d.ts +1 -0
  151. package/types/uni/uts-plugin-extend/lib/uni-getBackgroundAudioManager/utssdk/interface.d.ts +296 -0
  152. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/global.d.ts +15 -0
  153. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/index.d.ts +1 -0
  154. package/types/uni/uts-plugin-extend/lib/uni-locale/utssdk/interface.d.ts +229 -0
  155. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/global.d.ts +14 -0
  156. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/index.d.ts +1 -0
  157. package/types/uni/uts-plugin-extend/lib/uni-localeChange/utssdk/interface.d.ts +559 -0
  158. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/global.d.ts +9 -0
  159. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/index.d.ts +1 -0
  160. package/types/uni/uts-plugin-extend/lib/uni-memory/utssdk/interface.d.ts +163 -0
  161. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/global.d.ts +21 -0
  162. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/index.d.ts +9 -0
  163. package/types/uni/uts-plugin-extend/lib/uni-openLocation/utssdk/interface.d.ts +143 -0
  164. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/global.d.ts +7 -0
  165. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/index.d.ts +1 -0
  166. package/types/uni/uts-plugin-extend/lib/uni-preloadPage/utssdk/interface.d.ts +106 -0
  167. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/global.d.ts +9 -0
  168. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/index.d.ts +1 -0
  169. package/types/uni/uts-plugin-extend/lib/uni-theme/utssdk/interface.d.ts +165 -0
  170. package/types/uni-cloud/index.d.ts +4 -0
  171. package/types/uni-cloud/interface.d.ts +163 -20
  172. package/types/vue/CheckboxGroupChangeEvent.d.ts +10 -13
  173. package/types/vue/LifeCycle.d.ts +32 -32
  174. package/types/vue/PickerViewChangeEvent.d.ts +10 -13
  175. package/types/vue/ProgressActiveendEvent.d.ts +9 -11
  176. package/types/vue/RadioGroupChangeEvent.d.ts +10 -13
  177. package/types/vue/SliderChangeEvent.d.ts +9 -10
  178. package/types/vue/SwitchChangeEvent.d.ts +11 -13
  179. package/types/vue/UniCloudDBElement.d.ts +72 -75
  180. package/types/vue/UniFormElement.d.ts +17 -19
  181. package/types/vue/UniNavigatorElement.d.ts +1 -2
  182. package/types/vue/global.d.ts +190 -0
  183. package/types/vue/index.d.ts +10 -11
  184. package/types/vue-global/index.d.ts +1 -0
  185. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/global.d.ts +0 -78
  186. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/index.d.ts +0 -38
  187. package/types/uni/uts-plugin-api/lib/uni-network/utssdk/app-ios/interface.d.ts +0 -643
@@ -1,7 +1,7 @@
1
1
  /// <reference path="../native/UniElement.d.ts" />
2
2
 
3
- type SuccessCallback<T> = (res : T | null) => void | null
4
- type FailCallback = (err : any | null) => void | null
3
+ type SuccessCallback<T> = (res: T | null) => void | null
4
+ type FailCallback = (err: any | null) => void | null
5
5
  type CompleteCallback = () => void | null
6
6
 
7
7
  type GetSuccessCallback = SuccessCallback<UniCloudDBGetResult>
@@ -13,15 +13,15 @@ export type UniCloudDBComponentPaginationType = {
13
13
  /**
14
14
  * 当前页
15
15
  */
16
- current : number,
16
+ current: number
17
17
  /**
18
18
  * 每页数据量大小
19
19
  */
20
- size : number,
20
+ size: number
21
21
  /**
22
22
  * 数据库的总数据量,设置 :getcount="true" 时有效
23
23
  */
24
- count : number
24
+ count: number
25
25
  }
26
26
 
27
27
  export type UniCloudDBComponentLoadDataOptions = {
@@ -29,23 +29,23 @@ export type UniCloudDBComponentLoadDataOptions = {
29
29
  * 是否清空数据
30
30
  * @defaultValue false
31
31
  */
32
- clear ?: boolean | null,
32
+ clear?: boolean | null
33
33
  /**
34
34
  * 当前第几页
35
35
  */
36
- current ?: number | null,
36
+ current?: number | null
37
37
  /**
38
38
  * 成功回调
39
39
  */
40
- success ?: GetSuccessCallback,
40
+ success?: GetSuccessCallback
41
41
  /**
42
42
  * 失败回调
43
43
  */
44
- fail ?: FailCallback,
44
+ fail?: FailCallback
45
45
  /**
46
46
  * 完成回调
47
47
  */
48
- complete ?: CompleteCallback,
48
+ complete?: CompleteCallback
49
49
  }
50
50
 
51
51
  export type UniCloudDBComponentAddOptions = {
@@ -53,69 +53,69 @@ export type UniCloudDBComponentAddOptions = {
53
53
  * 是否显示 Toast
54
54
  * @defaultValue true
55
55
  */
56
- showToast ?: boolean | null,
56
+ showToast?: boolean | null
57
57
  /**
58
58
  * Toast 标题
59
59
  */
60
- toastTitle ?: string | null,
60
+ toastTitle?: string | null
61
61
  /**
62
62
  * 是否需要 Loading
63
63
  * @defaultValue true
64
64
  */
65
- needLoading ?: boolean | null,
65
+ needLoading?: boolean | null
66
66
  /**
67
67
  * Loading 标题
68
68
  */
69
- loadingTitle ?: string | null,
69
+ loadingTitle?: string | null
70
70
  /**
71
71
  * 成功回调
72
72
  */
73
- success ?: AddSuccessCallback,
73
+ success?: AddSuccessCallback
74
74
  /**
75
75
  * 失败回调
76
76
  */
77
- fail ?: FailCallback,
77
+ fail?: FailCallback
78
78
  /**
79
79
  * 完成回调
80
80
  */
81
- complete ?: CompleteCallback,
81
+ complete?: CompleteCallback
82
82
  }
83
83
 
84
84
  export type UniCloudDBComponentRemoveOptions = {
85
85
  /**
86
86
  * 确认框标题
87
87
  */
88
- confirmTitle ?: string | null,
88
+ confirmTitle?: string | null
89
89
  /**
90
90
  * 确认框内容
91
91
  */
92
- confirmContent ?: string | null,
92
+ confirmContent?: string | null
93
93
  /**
94
94
  * 是否显示删除确认框
95
95
  * @defaultValue true
96
96
  */
97
- needConfirm ?: boolean | null,
97
+ needConfirm?: boolean | null
98
98
  /**
99
99
  * 是否需要 Loading
100
100
  * @defaultValue true
101
101
  */
102
- needLoading ?: boolean | null,
102
+ needLoading?: boolean | null
103
103
  /**
104
104
  * Loading 标题
105
105
  */
106
- loadingTitle ?: string | null,
106
+ loadingTitle?: string | null
107
107
  /**
108
108
  * 成功回调
109
109
  */
110
- success ?: RemoveSuccessCallback,
110
+ success?: RemoveSuccessCallback
111
111
  /**
112
112
  * 失败回调
113
113
  */
114
- fail ?: FailCallback,
114
+ fail?: FailCallback
115
115
  /**
116
116
  * 完成回调
117
117
  */
118
- complete ?: CompleteCallback,
118
+ complete?: CompleteCallback
119
119
  }
120
120
 
121
121
  export type UniCloudDBComponentUpdateOptions = {
@@ -123,93 +123,90 @@ export type UniCloudDBComponentUpdateOptions = {
123
123
  * 是否显示更新后 Toast
124
124
  * @defaultValue true
125
125
  */
126
- showToast ?: boolean | null,
126
+ showToast?: boolean | null
127
127
  /**
128
128
  * 更新成功后 Toast 标题
129
129
  * @defaultValue ""
130
130
  */
131
- toastTitle ?: string | null,
131
+ toastTitle?: string | null
132
132
  /**
133
133
  * 确认框标题
134
134
  */
135
- confirmTitle ?: string | null,
135
+ confirmTitle?: string | null
136
136
  /**
137
137
  * 确认框内容
138
138
  */
139
- confirmContent ?: string | null,
139
+ confirmContent?: string | null
140
140
  /**
141
141
  * 是否显示更新确认框
142
142
  * @defaultValue true
143
143
  */
144
- needConfirm ?: boolean | null,
144
+ needConfirm?: boolean | null
145
145
  /**
146
146
  * 是否需要 Loading
147
147
  * @defaultValue true
148
148
  */
149
- needLoading ?: boolean | null,
149
+ needLoading?: boolean | null
150
150
  /**
151
151
  * Loading 标题
152
152
  */
153
- loadingTitle ?: string | null,
153
+ loadingTitle?: string | null
154
154
  /**
155
155
  * 成功回调
156
156
  */
157
- success ?: UpdateSuccessCallback,
157
+ success?: UpdateSuccessCallback
158
158
  /**
159
159
  * 失败回调
160
160
  */
161
- fail ?: FailCallback,
161
+ fail?: FailCallback
162
162
  /**
163
163
  * 完成回调
164
164
  */
165
- complete ?: CompleteCallback,
165
+ complete?: CompleteCallback
166
166
  }
167
167
 
168
- declare global {
168
+ /**
169
+ * @package io.dcloud.uniapp.framework
170
+ */
171
+ export interface UniCloudDBElement extends UniElement {
169
172
  /**
170
- * @package io.dcloud.uniapp.framework
173
+ * 已加载的数据
171
174
  */
172
- interface UniCloudDBElement extends UniElement {
175
+ dataList: Array<UTSJSONObject>
173
176
 
174
- /**
175
- * 已加载的数据
176
- */
177
- dataList : Array<UTSJSONObject>
178
-
179
- /**
180
- * 加载数据
181
- * 当 <unicloud-db> 组件的 manual 属性设为 true 或者 loadtime 属性设置为 manual 时,不会在页面初始化时联网查询数据,此时需要通过本方法在需要的时候手动加载数据。
182
- * @param {UniCloudDBComponentLoadDataOptions} options 可选参数
183
- */
184
- loadData(options ?: UTSJSONObject | null) : void
177
+ /**
178
+ * 加载数据
179
+ * 当 <unicloud-db> 组件的 manual 属性设为 true 或者 loadtime 属性设置为 manual 时,不会在页面初始化时联网查询数据,此时需要通过本方法在需要的时候手动加载数据。
180
+ * @param {UniCloudDBComponentLoadDataOptions} options 可选参数
181
+ */
182
+ loadData(options?: UTSJSONObject | null): void
185
183
 
186
- /**
187
- * 加载更多数据
188
- * 在列表的加载下一页场景下,使用ref方式访问组件方法,加载更多数据,每加载成功一次,当前页 +1
189
- */
190
- loadMore() : void
184
+ /**
185
+ * 加载更多数据
186
+ * 在列表的加载下一页场景下,使用ref方式访问组件方法,加载更多数据,每加载成功一次,当前页 +1
187
+ */
188
+ loadMore(): void
191
189
 
192
- /**
193
- * 新增数据
194
- * @param value 新增数据.
195
- * @param {UniCloudDBComponentAddOptions} options 可选参数
196
- */
197
- add(value : UTSJSONObject, options ?: UTSJSONObject | null) : void
190
+ /**
191
+ * 新增数据
192
+ * @param value 新增数据.
193
+ * @param {UniCloudDBComponentAddOptions} options 可选参数
194
+ */
195
+ add(value: UTSJSONObject, options?: UTSJSONObject | null): void
198
196
 
199
- /**
200
- * 移除数据
201
- * @param id 传入数据库的 _id 或 _id 数组.
202
- * @param {UniCloudDBComponentRemoveOptions} options 可选参数
203
- */
204
- remove() : void
205
- remove(id ?: any, options ?: UTSJSONObject | null) : void
197
+ /**
198
+ * 移除数据
199
+ * @param id 传入数据库的 _id 或 _id 数组.
200
+ * @param {UniCloudDBComponentRemoveOptions} options 可选参数
201
+ */
202
+ remove(): void
203
+ remove(id?: any, options?: UTSJSONObject | null): void
206
204
 
207
- /**
208
- * 更新数据
209
- * @param id 数据库字段的唯一标识.
210
- * @param value 需要修改的新数据.
211
- * @param {UniCloudDBComponentUpdateOptions} options 可选参数
212
- */
213
- update(id : string, value : UTSJSONObject, options ?: UTSJSONObject | null) : void
214
- }
205
+ /**
206
+ * 更新数据
207
+ * @param id 数据库字段的唯一标识.
208
+ * @param value 需要修改的新数据.
209
+ * @param {UniCloudDBComponentUpdateOptions} options 可选参数
210
+ */
211
+ update(id: string, value: UTSJSONObject, options?: UTSJSONObject | null): void
215
212
  }
@@ -5,47 +5,45 @@
5
5
  /**
6
6
  * @package io.dcloud.uniapp.framework
7
7
  */
8
- interface UniFormElement extends UniElement, IUniForm {
9
- }
8
+ interface UniFormElement extends UniElement, IUniForm {}
10
9
 
11
10
  /**
12
11
  * @package io.dcloud.uniapp.framework
13
12
  */
14
- declare class UniFormSubmitEventDetail {
13
+ export class UniFormSubmitEventDetail {
15
14
  value: UTSJSONObject
16
- constructor (value: UTSJSONObject)
15
+ constructor(value: UTSJSONObject)
17
16
  }
18
17
 
19
18
  /**
20
19
  * @package io.dcloud.uniapp.framework
21
20
  */
22
- declare class UniFormSubmitEvent extends UniCustomEvent<UniFormSubmitEventDetail> {
23
- constructor (value: UTSJSONObject)
21
+ export class UniFormSubmitEvent extends UniCustomEvent<UniFormSubmitEventDetail> {
22
+ constructor(value: UTSJSONObject)
24
23
  }
25
24
 
26
25
  /**
27
26
  * @package io.dcloud.uniapp.framework
28
27
  */
29
- declare class UniFormResetEventDetail {
30
- constructor ()
28
+ export class UniFormResetEventDetail {
29
+ constructor()
31
30
  }
32
31
 
33
32
  /**
34
33
  * @package io.dcloud.uniapp.framework
35
34
  */
36
- declare class UniFormResetEvent extends UniCustomEvent<UniFormResetEventDetail> {
37
- constructor ()
35
+ export class UniFormResetEvent extends UniCustomEvent<UniFormResetEventDetail> {
36
+ constructor()
38
37
  }
39
38
 
39
+ export type FormSubmitEvent = UniFormSubmitEvent
40
+ export const FormSubmitEvent: typeof UniFormSubmitEvent
40
41
 
41
- declare type FormSubmitEvent = UniFormSubmitEvent
42
- declare const FormSubmitEvent: typeof UniFormSubmitEvent
43
-
44
- declare type FormSubmitEventDetail = UniFormSubmitEventDetail
45
- declare const FormSubmitEventDetail: typeof UniFormSubmitEventDetail
42
+ export type FormSubmitEventDetail = UniFormSubmitEventDetail
43
+ export const FormSubmitEventDetail: typeof UniFormSubmitEventDetail
46
44
 
47
- declare type FormResetEvent = UniFormResetEvent
48
- declare const FormResetEvent: typeof UniFormResetEvent
45
+ export type FormResetEvent = UniFormResetEvent
46
+ export const FormResetEvent: typeof UniFormResetEvent
49
47
 
50
- declare type FormResetEventDetail = UniFormResetEventDetail
51
- declare const FormResetEventDetail: typeof UniFormResetEventDetail
48
+ export type FormResetEventDetail = UniFormResetEventDetail
49
+ export const FormResetEventDetail: typeof UniFormResetEventDetail
@@ -3,5 +3,4 @@
3
3
  /**
4
4
  * @package io.dcloud.uniapp.framework
5
5
  */
6
- interface UniNavigatorElement extends UniElement {
7
- }
6
+ export interface UniNavigatorElement extends UniElement {}
@@ -0,0 +1,190 @@
1
+ import {
2
+ // slider
3
+ SliderChangeEvent as SliderChangeEventOrigin,
4
+ SliderChangeEventDetail as SliderChangeEventDetailOrigin,
5
+ UniSliderChangeEvent as UniSliderChangeEventOrigin,
6
+ UniSliderChangeEventDetail as UniSliderChangeEventDetailOrigin,
7
+ UniSliderElement as UniSliderElementOrigin,
8
+ // switch
9
+ UniSwitchChangeEvent as UniSwitchChangeEventOrigin,
10
+ UniSwitchChangeEventDetail as UniSwitchChangeEventDetailOrigin,
11
+ UniSwitchElement as UniSwitchElementOrigin,
12
+ SwitchChangeEvent as SwitchChangeEventOrigin,
13
+ SwitchChangeEventDetail as SwitchChangeEventDetailOrigin,
14
+ // checkbox
15
+ UniCheckboxGroupChangeEventDetail as UniCheckboxGroupChangeEventDetailOrigin,
16
+ UniCheckboxElement as UniCheckboxElementOrigin,
17
+ UniCheckboxGroupChangeEvent as UniCheckboxGroupChangeEventOrigin,
18
+ CheckboxGroupChangeEvent as CheckboxGroupChangeEventOrigin,
19
+ CheckboxGroupChangeEventDetail as CheckboxGroupChangeEventDetailOrigin,
20
+ // picker view
21
+ UniPickerViewColumnElement as UniPickerViewColumnElementOrigin,
22
+ UniPickerViewElement as UniPickerViewElementOrigin,
23
+ UniPickerViewChangeEventDetail as UniPickerViewChangeEventDetailOrigin,
24
+ UniPickerViewChangeEvent as UniPickerViewChangeEventOrigin,
25
+ PickerViewChangeEvent as PickerViewChangeEventOrigin,
26
+ PickerViewChangeEventDetail as PickerViewChangeEventDetailOrigin,
27
+ // progress
28
+ UniProgressElement as UniProgressElementOrigin,
29
+ UniProgressActiveendEvent as UniProgressActiveendEventOrigin,
30
+ UniProgressActiveendEventDetail as UniProgressActiveendEventDetailOrigin,
31
+ ProgressActiveendEvent as ProgressActiveendEventOrigin,
32
+ ProgressActiveendEventDetail as ProgressActiveendEventDetailOrigin,
33
+ // radio
34
+ UniRadioGroupElement as UniRadioGroupElementOrigin,
35
+ RadioGroupChangeEvent as RadioGroupChangeEventOrigin,
36
+ RadioGroupChangeEventDetail as RadioGroupChangeEventDetailOrigin,
37
+ UniRadioGroupChangeEvent as UniRadioGroupChangeEventOrigin,
38
+ UniRadioGroupChangeEventDetail as UniRadioGroupChangeEventDetailOrigin,
39
+ // navigator
40
+ UniNavigatorElement as UniNavigatorElementOrigin,
41
+ // form
42
+ UniFormElement as UniFormElementOrigin,
43
+ UniFormSubmitEventDetail as UniFormSubmitEventDetailOrigin,
44
+ UniFormSubmitEvent as UniFormSubmitEventOrigin,
45
+ UniFormResetEventDetail as UniFormResetEventDetailOrigin,
46
+ UniFormResetEvent as UniFormResetEventOrigin,
47
+ FormSubmitEvent as FormSubmitEventOrigin,
48
+ FormSubmitEventDetail as FormSubmitEventDetailOrigin,
49
+ FormResetEvent as FormResetEventOrigin,
50
+ FormResetEventDetail as FormResetEventDetailOrigin,
51
+ UniCloudDBComponentAddOptions as UniCloudDBComponentAddOptionsOrigin,
52
+ UniCloudDBComponentRemoveOptions as UniCloudDBComponentRemoveOptionsOrigin,
53
+ UniCloudDBComponentLoadDataOptions as UniCloudDBComponentLoadDataOptionsOrigin,
54
+ UniCloudDBComponentPaginationType as UniCloudDBComponentPaginationTypeOrigin,
55
+ UniCloudDBComponentUpdateOptions as UniCloudDBComponentUpdateOptionsOrigin,
56
+ UniCloudDBElement as UniCloudDBElementOrigin,
57
+ // lifecycle
58
+ onHide as onHideOrigin,
59
+ onLaunch as onLaunchOrigin,
60
+ onAppHide as onAppHideOrigin,
61
+ onAppShow as onAppShowOrigin,
62
+ onLastPageBackPress as onLastPageBackPressOrigin,
63
+ onExit as onExitOrigin,
64
+ onBackPress as onBackPressOrigin,
65
+ onLoad as onLoadOrigin,
66
+ onPageHide as onPageHideOrigin,
67
+ onPageScroll as onPageScrollOrigin,
68
+ onPageShow as onPageShowOrigin,
69
+ onPullDownRefresh as onPullDownRefreshOrigin,
70
+ onReachBottom as onReachBottomOrigin,
71
+ onReady as onReadyOrigin,
72
+ onResize as onResizeOrigin,
73
+ onUnload as onUnloadOrigin,
74
+ } from "./index"
75
+
76
+ declare global {
77
+ // slider
78
+ var UniSliderChangeEvent: typeof UniSliderChangeEventOrigin
79
+ type UniSliderChangeEvent = UniSliderChangeEventOrigin
80
+ var UniSliderChangeEventDetail: typeof UniSliderChangeEventDetailOrigin
81
+ type UniSliderChangeEventDetail = UniSliderChangeEventDetailOrigin
82
+ var UniSliderElement: UniSliderElementOrigin
83
+ type UniSliderElement = UniSliderElementOrigin
84
+ var SliderChangeEvent: typeof SliderChangeEventOrigin
85
+ type SliderChangeEvent = SliderChangeEventOrigin
86
+ var SliderChangeEventDetail: typeof SliderChangeEventDetailOrigin
87
+ type SliderChangeEventDetail = SliderChangeEventDetailOrigin
88
+ // switch
89
+ var UniSwitchChangeEvent: typeof UniSwitchChangeEventOrigin
90
+ type UniSwitchChangeEvent = UniSwitchChangeEventOrigin
91
+ var UniSwitchChangeEventDetail: typeof UniSwitchChangeEventDetailOrigin
92
+ type UniSwitchChangeEventDetail = UniSwitchChangeEventDetailOrigin
93
+ var UniSwitchElement: UniSwitchElementOrigin
94
+ type UniSwitchElement = UniSwitchElementOrigin
95
+ var SwitchChangeEvent: typeof SwitchChangeEventOrigin
96
+ type SwitchChangeEvent = SwitchChangeEventOrigin
97
+ var SwitchChangeEventDetail: typeof SwitchChangeEventDetailOrigin
98
+ type SwitchChangeEventDetail = SwitchChangeEventDetailOrigin
99
+ // checkbox
100
+ var UniCheckboxGroupChangeEventDetail: typeof UniCheckboxGroupChangeEventDetailOrigin
101
+ type UniCheckboxGroupChangeEventDetail = UniCheckboxGroupChangeEventDetailOrigin
102
+ var UniCheckboxGroupChangeEvent: typeof UniCheckboxGroupChangeEventOrigin
103
+ type UniCheckboxGroupChangeEvent = UniCheckboxGroupChangeEventOrigin
104
+ var UniCheckboxElement: UniCheckboxElementOrigin
105
+ type UniCheckboxElement = UniCheckboxElementOrigin
106
+ var CheckboxGroupChangeEvent: typeof CheckboxGroupChangeEventOrigin
107
+ type CheckboxGroupChangeEvent = CheckboxGroupChangeEventOrigin
108
+ var CheckboxGroupChangeEventDetail: typeof CheckboxGroupChangeEventDetailOrigin
109
+ type CheckboxGroupChangeEventDetail = CheckboxGroupChangeEventDetailOrigin
110
+ // pickerview
111
+ var UniPickerViewColumnElement: UniPickerViewColumnElementOrigin
112
+ type UniPickerViewColumnElement = UniPickerViewColumnElementOrigin
113
+ var UniPickerViewElement: UniPickerViewElementOrigin
114
+ type UniPickerViewElement = UniPickerViewElementOrigin
115
+ var UniPickerViewChangeEventDetail: UniPickerViewChangeEventDetailOrigin
116
+ type UniPickerViewChangeEventDetail = UniPickerViewChangeEventDetailOrigin
117
+ var UniPickerViewChangeEvent: UniPickerViewChangeEventOrigin
118
+ type UniPickerViewChangeEvent = UniPickerViewChangeEventOrigin
119
+ var PickerViewChangeEvent: typeof PickerViewChangeEventOrigin
120
+ type PickerViewChangeEvent = PickerViewChangeEventOrigin
121
+ var PickerViewChangeEventDetail: typeof PickerViewChangeEventDetailOrigin
122
+ type PickerViewChangeEventDetail = PickerViewChangeEventDetailOrigin
123
+ // Progress
124
+ var UniProgressElement: UniProgressElementOrigin
125
+ type UniProgressElement = UniProgressElementOrigin
126
+ var UniProgressActiveendEvent: typeof UniProgressActiveendEventOrigin
127
+ type UniProgressActiveendEvent = UniProgressActiveendEventOrigin
128
+ var UniProgressActiveendEventDetail: typeof UniProgressActiveendEventDetailOrigin
129
+ type UniProgressActiveendEventDetail = UniProgressActiveendEventDetailOrigin
130
+ var ProgressActiveendEvent: typeof ProgressActiveendEventOrigin
131
+ type ProgressActiveendEvent = ProgressActiveendEventOrigin
132
+ var ProgressActiveendEventDetail: typeof ProgressActiveendEventDetailOrigin
133
+ type ProgressActiveendEventDetail = ProgressActiveendEventDetailOrigin
134
+ // radio
135
+ var UniRadioGroupElement: UniRadioGroupElementOrigin
136
+ type UniRadioGroupElement = UniRadioGroupElementOrigin
137
+ var UniRadioGroupChangeEvent: UniRadioGroupChangeEventOrigin
138
+ type UniRadioGroupChangeEvent = UniRadioGroupChangeEventOrigin
139
+ var UniRadioGroupChangeEventDetail: UniRadioGroupChangeEventDetailOrigin
140
+ type UniRadioGroupChangeEventDetail = UniRadioGroupChangeEventDetailOrigin
141
+ var RadioGroupChangeEvent: RadioGroupChangeEventOrigin
142
+ type RadioGroupChangeEvent = RadioGroupChangeEventOrigin
143
+ var RadioGroupChangeEventDetail: RadioGroupChangeEventDetailOrigin
144
+ type RadioGroupChangeEventDetail = RadioGroupChangeEventDetailOrigin
145
+ // navigator
146
+ var UniNavigatorElement: UniNavigatorElementOrigin
147
+ // form
148
+ var UniFormElement: UniFormElementOrigin
149
+ type UniFormElement = UniFormElementOrigin
150
+ var UniFormSubmitEventDetail: UniFormSubmitEventDetailOrigin
151
+ type UniFormSubmitEventDetail = UniFormSubmitEventDetailOrigin
152
+ var UniFormSubmitEvent: UniFormSubmitEventOrigin
153
+ type UniFormSubmitEvent = UniFormSubmitEventOrigin
154
+ var UniFormResetEventDetail: UniFormResetEventDetailOrigin
155
+ type UniFormResetEventDetail = UniFormResetEventDetailOrigin
156
+ var UniFormResetEvent: UniFormResetEventOrigin
157
+ type UniFormResetEvent = UniFormResetEventOrigin
158
+ var FormSubmitEvent: FormSubmitEventOrigin
159
+ type FormSubmitEvent = FormSubmitEventOrigin
160
+ var FormSubmitEventDetail: FormSubmitEventDetailOrigin
161
+ type FormSubmitEventDetail = FormSubmitEventDetailOrigin
162
+ var FormResetEvent: FormResetEventOrigin
163
+ type FormResetEvent = FormResetEventOrigin
164
+ var FormResetEventDetail: FormResetEventDetailOrigin
165
+ type FormResetEventDetail = FormResetEventDetailOrigin
166
+ // uni cloud
167
+ type UniCloudDBComponentAddOptions = UniCloudDBComponentAddOptionsOrigin
168
+ type UniCloudDBComponentRemoveOptions = UniCloudDBComponentRemoveOptionsOrigin
169
+ type UniCloudDBComponentLoadDataOptions = UniCloudDBComponentLoadDataOptionsOrigin
170
+ type UniCloudDBComponentPaginationType = UniCloudDBComponentPaginationTypeOrigin
171
+ type UniCloudDBComponentUpdateOptions = UniCloudDBComponentUpdateOptionsOrigin
172
+ type UniCloudDBElement = UniCloudDBElementOrigin
173
+ // lifecycle
174
+ var onHide: typeof onHideOrigin
175
+ var onLaunch: typeof onLaunchOrigin
176
+ var onAppHide: typeof onAppHideOrigin
177
+ var onAppShow: typeof onAppShowOrigin
178
+ var onLastPageBackPress: typeof onLastPageBackPressOrigin
179
+ var onExit: typeof onExitOrigin
180
+ var onBackPress: typeof onBackPressOrigin
181
+ var onLoad: typeof onLoadOrigin
182
+ var onPageHide: typeof onPageHideOrigin
183
+ var onPageScroll: typeof onPageScrollOrigin
184
+ var onPageShow: typeof onPageShowOrigin
185
+ var onPullDownRefresh: typeof onPullDownRefreshOrigin
186
+ var onReachBottom: typeof onReachBottomOrigin
187
+ var onReady: typeof onReadyOrigin
188
+ var onResize: typeof onResizeOrigin
189
+ var onUnload: typeof onUnloadOrigin
190
+ }
@@ -1,11 +1,10 @@
1
- /// <reference path='./CheckboxGroupChangeEvent.d.ts' />
2
- /// <reference path='./PickerViewChangeEvent.d.ts' />
3
- /// <reference path='./ProgressActiveendEvent.d.ts' />
4
- /// <reference path='./RadioGroupChangeEvent.d.ts' />
5
- /// <reference path='./SliderChangeEvent.d.ts' />
6
- /// <reference path='./SwitchChangeEvent.d.ts' />
7
- /// <reference path='./UniButtonElement.d.ts' />
8
- /// <reference path='./UniNavigatorElement.d.ts' />
9
- /// <reference path='./UniCloudDBElement.d.ts' />
10
- /// <reference path='./UniFormElement.d.ts' />
11
- /// <reference path='./LifeCycle.d.ts' />
1
+ export * from "./CheckboxGroupChangeEvent"
2
+ export * from "./PickerViewChangeEvent"
3
+ export * from "./ProgressActiveendEvent"
4
+ export * from "./RadioGroupChangeEvent"
5
+ export * from "./SliderChangeEvent"
6
+ export * from "./SwitchChangeEvent"
7
+ export * from "./UniNavigatorElement"
8
+ export * from "./UniCloudDBElement"
9
+ export * from "./UniFormElement"
10
+ export * from "./LifeCycle"
@@ -0,0 +1 @@
1
+ /// <reference path='../vue/global.d.ts' />
@@ -1,78 +0,0 @@
1
- // 本文件为自动构建生成
2
- import {
3
- Request as RequestOrigin,
4
- RequestOptions as RequestOptionsOrigin,
5
- RequestSuccess as RequestSuccessOrigin,
6
- RequestMethod as RequestMethodOrigin,
7
- RequestErrorCode as RequestErrorCodeOrigin,
8
- RequestFail as RequestFailOrigin,
9
- RequestFail as RequestFailOrigin,
10
- RequestSuccessCallback as RequestSuccessCallbackOrigin,
11
- RequestFailCallback as RequestFailCallbackOrigin,
12
- RequestCompleteCallback as RequestCompleteCallbackOrigin,
13
- RequestTask as RequestTaskOrigin,
14
- UploadFile as UploadFileOrigin,
15
- UploadFileOptionFiles as UploadFileOptionFilesOrigin,
16
- UploadFileSuccess as UploadFileSuccessOrigin,
17
- UploadFileSuccessCallback as UploadFileSuccessCallbackOrigin,
18
- UploadFileFail as UploadFileFailOrigin,
19
- UploadFileFail as UploadFileFailOrigin,
20
- UploadFileFailCallback as UploadFileFailCallbackOrigin,
21
- UploadFileCompleteCallback as UploadFileCompleteCallbackOrigin,
22
- UploadFileOptions as UploadFileOptionsOrigin,
23
- OnProgressUpdateResult as OnProgressUpdateResultOrigin,
24
- UploadFileProgressUpdateCallback as UploadFileProgressUpdateCallbackOrigin,
25
- UploadTask as UploadTaskOrigin,
26
- DownloadFile as DownloadFileOrigin,
27
- DownloadFileSuccess as DownloadFileSuccessOrigin,
28
- DownloadFileSuccessCallback as DownloadFileSuccessCallbackOrigin,
29
- DownloadFileFail as DownloadFileFailOrigin,
30
- DownloadFileFail as DownloadFileFailOrigin,
31
- DownloadFileFailCallback as DownloadFileFailCallbackOrigin,
32
- DownloadFileComplete as DownloadFileCompleteOrigin,
33
- DownloadFileCompleteCallback as DownloadFileCompleteCallbackOrigin,
34
- DownloadFileOptions as DownloadFileOptionsOrigin,
35
- OnProgressDownloadResult as OnProgressDownloadResultOrigin,
36
- DownloadFileProgressUpdateCallback as DownloadFileProgressUpdateCallbackOrigin,
37
- DownloadTask as DownloadTaskOrigin,
38
- Uni as UniOrigin
39
- } from './interface'
40
-
41
- declare global {
42
- type Request = RequestOrigin
43
- type RequestOptions = RequestOptionsOrigin
44
- type RequestSuccess = RequestSuccessOrigin
45
- type RequestMethod = RequestMethodOrigin
46
- type RequestErrorCode = RequestErrorCodeOrigin
47
- type RequestFail = RequestFailOrigin
48
- type RequestFail = RequestFailOrigin
49
- type RequestSuccessCallback = RequestSuccessCallbackOrigin
50
- type RequestFailCallback = RequestFailCallbackOrigin
51
- type RequestCompleteCallback = RequestCompleteCallbackOrigin
52
- type RequestTask = RequestTaskOrigin
53
- type UploadFile = UploadFileOrigin
54
- type UploadFileOptionFiles = UploadFileOptionFilesOrigin
55
- type UploadFileSuccess = UploadFileSuccessOrigin
56
- type UploadFileSuccessCallback = UploadFileSuccessCallbackOrigin
57
- type UploadFileFail = UploadFileFailOrigin
58
- type UploadFileFail = UploadFileFailOrigin
59
- type UploadFileFailCallback = UploadFileFailCallbackOrigin
60
- type UploadFileCompleteCallback = UploadFileCompleteCallbackOrigin
61
- type UploadFileOptions = UploadFileOptionsOrigin
62
- type OnProgressUpdateResult = OnProgressUpdateResultOrigin
63
- type UploadFileProgressUpdateCallback = UploadFileProgressUpdateCallbackOrigin
64
- type UploadTask = UploadTaskOrigin
65
- type DownloadFile = DownloadFileOrigin
66
- type DownloadFileSuccess = DownloadFileSuccessOrigin
67
- type DownloadFileSuccessCallback = DownloadFileSuccessCallbackOrigin
68
- type DownloadFileFail = DownloadFileFailOrigin
69
- type DownloadFileFail = DownloadFileFailOrigin
70
- type DownloadFileFailCallback = DownloadFileFailCallbackOrigin
71
- type DownloadFileComplete = DownloadFileCompleteOrigin
72
- type DownloadFileCompleteCallback = DownloadFileCompleteCallbackOrigin
73
- type DownloadFileOptions = DownloadFileOptionsOrigin
74
- type OnProgressDownloadResult = OnProgressDownloadResultOrigin
75
- type DownloadFileProgressUpdateCallback = DownloadFileProgressUpdateCallbackOrigin
76
- type DownloadTask = DownloadTaskOrigin
77
- interface Uni extends UniOrigin { }
78
- }