@tarojs/taro-h5 3.5.0-beta.5 → 3.5.0-beta.8

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 (138) hide show
  1. package/dist/{src/api → api}/ad/index.js +0 -0
  2. package/dist/{src/api → api}/ai/facial.js +0 -0
  3. package/dist/{src/api → api}/ai/index.js +0 -0
  4. package/dist/{src/api → api}/ai/visual.js +0 -0
  5. package/dist/{src/api → api}/alipay/index.js +0 -0
  6. package/dist/{src/api → api}/base/crypto.js +0 -0
  7. package/dist/{src/api → api}/base/debug.js +0 -0
  8. package/dist/{src/api → api}/base/index.js +0 -0
  9. package/dist/{src/api → api}/base/performance.js +0 -0
  10. package/dist/{src/api → api}/base/system.js +0 -0
  11. package/dist/{src/api → api}/base/update.js +0 -0
  12. package/dist/{src/api → api}/base/weapp/app-event.js +0 -0
  13. package/dist/{src/api → api}/base/weapp/life-cycle.js +0 -0
  14. package/dist/{src/api → api}/canvas/CanvasContext.js +0 -0
  15. package/dist/{src/api → api}/canvas/canvasGetImageData.js +0 -0
  16. package/dist/{src/api → api}/canvas/canvasPutImageData.js +0 -0
  17. package/dist/{src/api → api}/canvas/canvasToTempFilePath.js +0 -0
  18. package/dist/{src/api → api}/canvas/createCanvasContext.js +0 -0
  19. package/dist/{src/api → api}/canvas/index.js +0 -0
  20. package/dist/{src/api → api}/cloud/index.js +0 -0
  21. package/dist/{src/api → api}/data-analysis/index.js +0 -0
  22. package/dist/{src/api → api}/device/accelerometer.js +0 -0
  23. package/dist/{src/api → api}/device/accessibility.js +0 -0
  24. package/dist/{src/api → api}/device/battery.js +0 -0
  25. package/dist/{src/api → api}/device/bluetooth-ble.js +0 -0
  26. package/dist/{src/api → api}/device/bluetooth-peripheral.js +0 -0
  27. package/dist/{src/api → api}/device/bluetooth.js +0 -0
  28. package/dist/{src/api → api}/device/calendar.js +0 -0
  29. package/dist/{src/api → api}/device/clipboard.js +0 -0
  30. package/dist/{src/api → api}/device/compass.js +0 -0
  31. package/dist/{src/api → api}/device/contact.js +0 -0
  32. package/dist/{src/api → api}/device/crypto.js +0 -0
  33. package/dist/{src/api → api}/device/gyroscope.js +0 -0
  34. package/dist/{src/api → api}/device/iBeacon.js +0 -0
  35. package/dist/{src/api → api}/device/index.js +0 -0
  36. package/dist/{src/api → api}/device/keyboard.js +0 -0
  37. package/dist/{src/api → api}/device/memory.js +0 -0
  38. package/dist/{src/api → api}/device/motion.js +0 -0
  39. package/dist/{src/api → api}/device/network.js +0 -0
  40. package/dist/{src/api → api}/device/nfc.js +0 -0
  41. package/dist/{src/api → api}/device/phone.js +0 -0
  42. package/dist/{src/api → api}/device/scan.js +0 -0
  43. package/dist/{src/api → api}/device/screen.js +0 -0
  44. package/dist/{src/api → api}/device/vibrate.js +0 -0
  45. package/dist/{src/api → api}/device/wifi.js +0 -0
  46. package/dist/{src/api → api}/ext/index.js +0 -0
  47. package/dist/{src/api → api}/files/index.js +0 -0
  48. package/dist/{src/api → api}/framework/index.js +0 -0
  49. package/dist/{src/api → api}/index.js +0 -0
  50. package/dist/{src/api → api}/location/chooseLocation.js +0 -0
  51. package/dist/{src/api → api}/location/getLocation.js +0 -0
  52. package/dist/{src/api → api}/location/index.js +0 -0
  53. package/dist/{src/api → api}/media/EditorContext.js +0 -0
  54. package/dist/{src/api → api}/media/audio/InnerAudioContext.js +0 -0
  55. package/dist/{src/api → api}/media/audio/index.js +0 -0
  56. package/dist/{src/api → api}/media/background-audio/BackgroundAudioManager.js +0 -0
  57. package/dist/{src/api → api}/media/background-audio/index.js +0 -0
  58. package/dist/{src/api → api}/media/camera.js +0 -0
  59. package/dist/{src/api → api}/media/image/chooseImage.js +0 -0
  60. package/dist/{src/api → api}/media/image/getImageInfo.js +0 -0
  61. package/dist/{src/api → api}/media/image/index.js +0 -0
  62. package/dist/{src/api → api}/media/image/previewImage.js +0 -0
  63. package/dist/{src/api → api}/media/index.js +0 -0
  64. package/dist/{src/api → api}/media/live.js +0 -0
  65. package/dist/{src/api → api}/media/map.js +0 -0
  66. package/dist/{src/api → api}/media/media-recorder.js +0 -0
  67. package/dist/{src/api → api}/media/recorder.js +0 -0
  68. package/dist/{src/api → api}/media/video/index.js +0 -0
  69. package/dist/{src/api → api}/media/video-decoder.js +0 -0
  70. package/dist/{src/api → api}/media/video-processing.js +0 -0
  71. package/dist/{src/api → api}/media/voip.js +0 -0
  72. package/dist/{src/api → api}/navigate/index.js +0 -0
  73. package/dist/{src/api → api}/network/download.js +0 -0
  74. package/dist/{src/api → api}/network/index.js +0 -0
  75. package/dist/{src/api → api}/network/mdns.js +0 -0
  76. package/dist/{src/api → api}/network/request/index.js +0 -0
  77. package/dist/{src/api → api}/network/tcp.js +0 -0
  78. package/dist/{src/api → api}/network/udp.js +0 -0
  79. package/dist/{src/api → api}/network/upload.js +0 -0
  80. package/dist/{src/api → api}/network/utils.js +0 -0
  81. package/dist/{src/api → api}/network/websocket/index.js +0 -0
  82. package/dist/{src/api → api}/network/websocket/socketTask.js +0 -0
  83. package/dist/{src/api → api}/open-api/account.js +0 -0
  84. package/dist/{src/api → api}/open-api/address.js +0 -0
  85. package/dist/{src/api → api}/open-api/authorize.js +0 -0
  86. package/dist/{src/api → api}/open-api/card.js +0 -0
  87. package/dist/{src/api → api}/open-api/channels-live.js +0 -0
  88. package/dist/{src/api → api}/open-api/customer-service.js +0 -0
  89. package/dist/{src/api → api}/open-api/facial.js +0 -0
  90. package/dist/{src/api → api}/open-api/favorites.js +0 -0
  91. package/dist/{src/api → api}/open-api/group.js +0 -0
  92. package/dist/{src/api → api}/open-api/index.js +0 -0
  93. package/dist/{src/api → api}/open-api/invoice.js +0 -0
  94. package/dist/{src/api → api}/open-api/license-plate.js +0 -0
  95. package/dist/{src/api → api}/open-api/login.js +0 -0
  96. package/dist/{src/api → api}/open-api/red-package.js +0 -0
  97. package/dist/{src/api → api}/open-api/settings.js +0 -0
  98. package/dist/{src/api → api}/open-api/soter.js +0 -0
  99. package/dist/{src/api → api}/open-api/subscribe-message.js +0 -0
  100. package/dist/{src/api → api}/open-api/user-info.js +0 -0
  101. package/dist/{src/api → api}/open-api/werun.js +0 -0
  102. package/dist/{src/api → api}/payment/index.js +0 -0
  103. package/dist/{src/api → api}/route/index.js +0 -0
  104. package/dist/{src/api → api}/share/index.js +0 -0
  105. package/dist/{src/api → api}/storage/background-fetch.js +0 -0
  106. package/dist/{src/api → api}/storage/index.js +0 -0
  107. package/dist/{src/api → api}/swan/index.js +0 -0
  108. package/dist/{src/api → api}/taro.js +0 -0
  109. package/dist/{src/api → api}/ui/animation/index.js +0 -0
  110. package/dist/{src/api → api}/ui/background.js +0 -0
  111. package/dist/{src/api → api}/ui/custom-component.js +0 -0
  112. package/dist/{src/api → api}/ui/fonts.js +0 -0
  113. package/dist/{src/api → api}/ui/index.js +0 -0
  114. package/dist/{src/api → api}/ui/interaction/actionSheet.js +0 -0
  115. package/dist/{src/api → api}/ui/interaction/index.js +0 -0
  116. package/dist/{src/api → api}/ui/interaction/modal.js +0 -0
  117. package/dist/{src/api → api}/ui/interaction/toast.js +0 -0
  118. package/dist/{src/api → api}/ui/menu.js +0 -0
  119. package/dist/{src/api → api}/ui/navigation-bar/index.js +0 -0
  120. package/dist/{src/api → api}/ui/pull-down-refresh.js +0 -0
  121. package/dist/{src/api → api}/ui/scroll/index.js +0 -0
  122. package/dist/{src/api → api}/ui/sticky.js +0 -0
  123. package/dist/{src/api → api}/ui/tab-bar.js +0 -0
  124. package/dist/{src/api → api}/ui/window.js +0 -0
  125. package/dist/{src/api → api}/worker/index.js +0 -0
  126. package/dist/{src/api → api}/wxml/index.js +0 -0
  127. package/dist/{src/api → api}/wxml/nodesRef.js +0 -0
  128. package/dist/{src/api → api}/wxml/selectorQuery.js +0 -0
  129. package/dist/{src/index.js → index.js} +0 -0
  130. package/dist/{src/utils → utils}/animation.js +0 -0
  131. package/dist/{src/utils → utils}/handler.js +0 -0
  132. package/dist/{src/utils → utils}/index.js +0 -0
  133. package/dist/{src/utils → utils}/lodash.js +0 -0
  134. package/dist/{src/utils → utils}/valid.js +0 -0
  135. package/package.json +4 -4
  136. package/types/index.d.ts +31 -1
  137. package/dist/types/type.js +0 -2
  138. package/types/type.ts +0 -32
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/taro-h5",
3
- "version": "3.5.0-beta.5",
3
+ "version": "3.5.0-beta.8",
4
4
  "description": "Taro h5 framework",
5
5
  "browser": "dist/index.esm.js",
6
6
  "main:h5": "dist/index.js",
@@ -24,9 +24,9 @@
24
24
  "author": "O2Team",
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
- "@tarojs/api": "3.5.0-beta.5",
28
- "@tarojs/router": "3.5.0-beta.5",
29
- "@tarojs/runtime": "3.5.0-beta.5",
27
+ "@tarojs/api": "3.5.0-beta.8",
28
+ "@tarojs/router": "3.5.0-beta.8",
29
+ "@tarojs/runtime": "3.5.0-beta.8",
30
30
  "base64-js": "^1.3.0",
31
31
  "jsonp-retry": "^1.0.3",
32
32
  "mobile-detect": "^1.4.2",
package/types/index.d.ts CHANGED
@@ -1,3 +1,33 @@
1
- import TaroH5 from './type'
1
+ import Taro from '@tarojs/api'
2
+
3
+ namespace Router {
4
+ export interface Location {
5
+ path: string
6
+ search: string
7
+ hash: string
8
+ state: {
9
+ key: string
10
+ }
11
+ params: {
12
+ [key: string]: string
13
+ }
14
+ }
15
+ export interface RouterParams {
16
+ path: string
17
+ scene: number
18
+ params: {
19
+ [key: string]: string
20
+ }
21
+ shareTicket: string
22
+ referrerInfo: Record<string, any>
23
+ }
24
+ }
25
+
26
+ interface TaroH5 {
27
+ _$router: Router.Location
28
+ $router: Router.RouterParams
29
+ }
30
+
31
+ const TaroH5: TaroH5 & typeof Taro = {} as any
2
32
 
3
33
  export = TaroH5
@@ -1,2 +0,0 @@
1
- const TaroH5 = {};
2
- export default TaroH5;
package/types/type.ts DELETED
@@ -1,32 +0,0 @@
1
- import Taro from '@tarojs/api'
2
-
3
- namespace Router {
4
- export interface Location {
5
- path: string
6
- search: string
7
- hash: string
8
- state: {
9
- key: string
10
- }
11
- params: {
12
- [key: string]: string
13
- }
14
- }
15
- export interface RouterParams {
16
- path: string
17
- scene: number
18
- params: {
19
- [key: string]: string
20
- }
21
- shareTicket: string
22
- referrerInfo: Record<string, any>
23
- }
24
- }
25
-
26
- interface TaroH5 {
27
- _$router: Router.Location
28
- $router: Router.RouterParams
29
- }
30
-
31
- const TaroH5: TaroH5 & typeof Taro = {} as any
32
- export default TaroH5