@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
@@ -0,0 +1,224 @@
1
+ export interface InnerAudioContext {
2
+ /**
3
+ * 当前音频的长度(单位:s),只有在当前有合法的 src 时返回
4
+ */
5
+ duration: number;
6
+ /**
7
+ * 当前音频的播放位置(单位:s),只有在当前有合法的 src 时返回
8
+ */
9
+ currentTime: number;
10
+ /**
11
+ * 当前是是否暂停或停止状态,true 表示暂停或停止,false 表示正在播放
12
+ */
13
+ paused: boolean;
14
+ /**
15
+ * 音频的数据链接,用于直接播放。
16
+ */
17
+ src: string;
18
+ /**
19
+ * 音频开始播放的位置(单位:s)
20
+ */
21
+ startTime: number;
22
+ /**
23
+ * 音频缓冲的时间点,仅保证当前播放时间点到此时间点内容已缓冲
24
+ */
25
+ buffered: number;
26
+ /**
27
+ * 是否自动开始播放,默认 false
28
+ */
29
+ autoplay: boolean;
30
+ /**
31
+ * 是否循环播放,默认 false
32
+ */
33
+ loop: boolean;
34
+ /**
35
+ * 是否遵循系统静音开关,当此参数为 false 时,即使用户打开了静音开关,也能继续发出声音,默认值 true
36
+ */
37
+ obeyMuteSwitch: boolean;
38
+ /**
39
+ * 音量。范围 0~1。
40
+ */
41
+ volume: number;
42
+ /**
43
+ * 播放的倍率。可取值: 0.5/0.8/1.0/1.25/1.5/2.0,默认值为1.0。(仅 App 支持)
44
+ */
45
+ playbackRate?: number;
46
+ /**
47
+ * 暂停
48
+ */
49
+ pause(): void;
50
+ /**
51
+ * 停止
52
+ */
53
+ stop(): void;
54
+ /**
55
+ * 播放
56
+ */
57
+ play(): void;
58
+ /**
59
+ * 跳转到指定位置,单位 s
60
+ */
61
+ seek(position: number): void;
62
+ /**
63
+ * 销毁当前实例
64
+ */
65
+ destroy(): void;
66
+ /**
67
+ * 音频进入可以播放状态,但不保证后面可以流畅播放
68
+ */
69
+ onCanplay(callback: (result: any) => void): void;
70
+ /**
71
+ * 音频播放事件
72
+ */
73
+ onPlay(callback: (result: any) => void): void;
74
+ /**
75
+ * 音频暂停事件
76
+ */
77
+ onPause(callback: (result: any) => void): void;
78
+ /**
79
+ * 音频停止事件
80
+ */
81
+ onStop(callback: (result: any) => void): void;
82
+ /**
83
+ * 音频自然播放结束事件
84
+ */
85
+ onEnded(callback: (result: any) => void): void;
86
+ /**
87
+ * 音频播放进度更新事件
88
+ */
89
+ onTimeUpdate(callback: (result: any) => void): void;
90
+ /**
91
+ * 音频播放错误事件
92
+ */
93
+ onError(callback: (result: any) => void): void;
94
+ /**
95
+ * 音频加载中事件,当音频因为数据不足,需要停下来加载时会触发
96
+ */
97
+ onWaiting(callback: (result: any) => void): void;
98
+ /**
99
+ * 音频进行 seek 操作事件
100
+ */
101
+ onSeeking(callback: (result: any) => void): void;
102
+ /**
103
+ * 音频完成 seek 操作事件
104
+ */
105
+ onSeeked(callback: (result: any) => void): void;
106
+ /**
107
+ * 取消监听 onCanplay 事件
108
+ */
109
+ offCanplay(callback: (result: any) => void): void;
110
+ /**
111
+ * 取消监听 onPlay 事件
112
+ */
113
+ offPlay(callback: (result: any) => void): void;
114
+ /**
115
+ * 取消监听 onPause 事件
116
+ */
117
+ offPause(callback: (result: any) => void): void;
118
+ /**
119
+ * 取消监听 onStop 事件
120
+ */
121
+ offStop(callback: (result: any) => void): void;
122
+ /**
123
+ * 取消监听 onEnded 事件
124
+ */
125
+ offEnded(callback: (result: any) => void): void;
126
+ /**
127
+ * 取消监听 onTimeUpdate 事件
128
+ */
129
+ offTimeUpdate(callback: (result: any) => void): void;
130
+ /**
131
+ * 取消监听 onWaiting 事件
132
+ */
133
+ offError(callback: (result: any) => void): void;
134
+ /**
135
+ * 取消监听 onWaiting 事件
136
+ */
137
+ offWaiting(callback: (result: any) => void): void;
138
+ /**
139
+ * 取消监听 onSeeking 事件
140
+ */
141
+ offSeeking(callback: (result: any) => void): void;
142
+ /**
143
+ * 取消监听 onSeeked 事件
144
+ */
145
+ offSeeked(callback: (result: any) => void): void;
146
+ }
147
+
148
+ export type CreateInnerAudioContext = () => InnerAudioContext
149
+
150
+
151
+ export interface Uni {
152
+ /**
153
+ * 创建并返回 audio 上下文 audioContext 对象
154
+ *
155
+ * @tutorial https://uniapp.dcloud.io/api/media/audio-context.html
156
+ * @tutorial-uni-app https://uniapp.dcloud.io/api/media/audio-context.html
157
+ * @uniPlatform {
158
+ * "app": {
159
+ * "android": {
160
+ * "osVer": "5.0",
161
+ * "uniVer": "√",
162
+ * "unixVer": "x"
163
+ * },
164
+ * "ios": {
165
+ * "osVer": "12.0",
166
+ * "uniVer": "√",
167
+ * "unixVer": "x"
168
+ * },
169
+ * "harmony": {
170
+ * "osVer": "x",
171
+ * "uniVer": "x",
172
+ * "unixVer": "x"
173
+ * }
174
+ * },
175
+ * "mp": {
176
+ * "weixin": {
177
+ * "hostVer": "√",
178
+ * "uniVer": "√",
179
+ * "unixVer": "x"
180
+ * },
181
+ * "alipay": {
182
+ * "hostVer": "1.23.4",
183
+ * "uniVer": "√",
184
+ * "unixVer": "x"
185
+ * },
186
+ * "baidu": {
187
+ * "hostVer": "√",
188
+ * "uniVer": "√",
189
+ * "unixVer": "x"
190
+ * },
191
+ * "toutiao": {
192
+ * "hostVer": "√",
193
+ * "uniVer": "√",
194
+ * "unixVer": "x"
195
+ * },
196
+ * "lark": {
197
+ * "hostVer": "√",
198
+ * "uniVer": "√",
199
+ * "unixVer": "x"
200
+ * },
201
+ * "qq": {
202
+ * "hostVer": "√",
203
+ * "uniVer": "√",
204
+ * "unixVer": "x"
205
+ * },
206
+ * "kuaishou": {
207
+ * "hostVer": "√",
208
+ * "uniVer": "√",
209
+ * "unixVer": "x"
210
+ * },
211
+ * "jd": {
212
+ * "hostVer": "√",
213
+ * "uniVer": "√",
214
+ * "unixVer": "x"
215
+ * }
216
+ * },
217
+ * "web": {
218
+ * "uniVer": "√",
219
+ * "unixVer": "4.0"
220
+ * }
221
+ * }
222
+ */
223
+ createInnerAudioContext(): InnerAudioContext
224
+ }
@@ -0,0 +1,53 @@
1
+ import {
2
+ MapContext as MapContextOrigin,
3
+ MapContextAddCustomLayerOptions as MapContextAddCustomLayerOptionsOrigin,
4
+ MapContextAddGroundOverlayOptions as MapContextAddGroundOverlayOptionsOrigin,
5
+ MapContextAddMarkersOptions as MapContextAddMarkersOptionsOrigin,
6
+ MapContextFromScreenLocationOptions as MapContextFromScreenLocationOptionsOrigin,
7
+ MapContextGetCenterLocationOptions as MapContextGetCenterLocationOptionsOrigin,
8
+ MapContextGetRegionOptions as MapContextGetRegionOptionsOrigin,
9
+ MapContextGetScaleOptions as MapContextGetScaleOptionsOrigin,
10
+ MapContextGetRegionResult as MapContextGetRegionResultOrigin,
11
+ MapContextGetScaleResult as MapContextGetScaleResultOrigin,
12
+ MapContextIncludePointsOptions as MapContextIncludePointsOptionsOrigin,
13
+ MapContextInitMarkerClusterOptions as MapContextInitMarkerClusterOptionsOrigin,
14
+ MapContextMoveAlongOptions as MapContextMoveAlongOptionsOrigin,
15
+ MapContextMoveToLocationOptions as MapContextMoveToLocationOptionsOrigin,
16
+ MapContextRemoveCustomLayerOptions as MapContextRemoveCustomLayerOptionsOrigin,
17
+ MapContextRemoveGroundOverlayOptions as MapContextRemoveGroundOverlayOptionsOrigin,
18
+ MapContextRemoveMarkersOptions as MapContextRemoveMarkersOptionsOrigin,
19
+ MapContextSetCenterOffsetOptions as MapContextSetCenterOffsetOptionsOrigin,
20
+ MapContextToScreenLocationOptions as MapContextToScreenLocationOptionsOrigin,
21
+ MapContextOpenMapAppOptions as MapContextOpenMapAppOptionsOrigin,
22
+ MapContextTranslateMarkerOptions as MapContextTranslateMarkerOptionsOrigin,
23
+ MapContextUpdateGroundOverlayOptions as MapContextUpdateGroundOverlayOptionsOrigin,
24
+ CreateMapContext as CreateMapContextOrigin,
25
+ Uni as UniOrigin
26
+ } from './interface'
27
+
28
+ declare global {
29
+ type MapContext = MapContextOrigin
30
+ type MapContextAddCustomLayerOptions = MapContextAddCustomLayerOptionsOrigin
31
+ type MapContextAddGroundOverlayOptions = MapContextAddGroundOverlayOptionsOrigin
32
+ type MapContextAddMarkersOptions = MapContextAddMarkersOptionsOrigin
33
+ type MapContextFromScreenLocationOptions = MapContextFromScreenLocationOptionsOrigin
34
+ type MapContextGetCenterLocationOptions = MapContextGetCenterLocationOptionsOrigin
35
+ type MapContextGetRegionOptions = MapContextGetRegionOptionsOrigin
36
+ type MapContextGetScaleOptions = MapContextGetScaleOptionsOrigin
37
+ type MapContextGetRegionResult = MapContextGetRegionResultOrigin
38
+ type MapContextGetScaleResult = MapContextGetScaleResultOrigin
39
+ type MapContextIncludePointsOptions = MapContextIncludePointsOptionsOrigin
40
+ type MapContextInitMarkerClusterOptions = MapContextInitMarkerClusterOptionsOrigin
41
+ type MapContextMoveAlongOptions = MapContextMoveAlongOptionsOrigin
42
+ type MapContextMoveToLocationOptions = MapContextMoveToLocationOptionsOrigin
43
+ type MapContextRemoveCustomLayerOptions = MapContextRemoveCustomLayerOptionsOrigin
44
+ type MapContextRemoveGroundOverlayOptions = MapContextRemoveGroundOverlayOptionsOrigin
45
+ type MapContextRemoveMarkersOptions = MapContextRemoveMarkersOptionsOrigin
46
+ type MapContextSetCenterOffsetOptions = MapContextSetCenterOffsetOptionsOrigin
47
+ type MapContextToScreenLocationOptions = MapContextToScreenLocationOptionsOrigin
48
+ type MapContextOpenMapAppOptions = MapContextOpenMapAppOptionsOrigin
49
+ type MapContextTranslateMarkerOptions = MapContextTranslateMarkerOptionsOrigin
50
+ type MapContextUpdateGroundOverlayOptions = MapContextUpdateGroundOverlayOptionsOrigin
51
+ type CreateMapContext = CreateMapContextOrigin
52
+ interface Uni extends UniOrigin { }
53
+ }
@@ -0,0 +1,25 @@
1
+ export {
2
+ CreateMapContext,
3
+ MapContext,
4
+ MapContextSetCenterOffsetOptions,
5
+ MapContextToScreenLocationOptions,
6
+ MapContextUpdateGroundOverlayOptions,
7
+ MapContextAddCustomLayerOptions,
8
+ MapContextRemoveCustomLayerOptions,
9
+ MapContextRemoveGroundOverlayOptions,
10
+ MapContextRemoveMarkersOptions,
11
+ MapContextAddGroundOverlayOptions,
12
+ MapContextAddMarkersOptions,
13
+ MapContextFromScreenLocationOptions,
14
+ MapContextInitMarkerClusterOptions,
15
+ MapContextMoveAlongOptions,
16
+ MapContextOpenMapAppOptions,
17
+ MapContextGetRegionOptions,
18
+ MapContextGetScaleOptions,
19
+ MapContextGetCenterLocationOptions,
20
+ MapContextGetRegionResult,
21
+ MapContextGetScaleResult,
22
+ MapContextIncludePointsOptions,
23
+ MapContextMoveToLocationOptions,
24
+ MapContextTranslateMarkerOptions,
25
+ } from './interface'