@tarojs/taro-h5 3.5.0-beta.7 → 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.
- package/dist/{src/api → api}/ad/index.js +0 -0
- package/dist/{src/api → api}/ai/facial.js +0 -0
- package/dist/{src/api → api}/ai/index.js +0 -0
- package/dist/{src/api → api}/ai/visual.js +0 -0
- package/dist/{src/api → api}/alipay/index.js +0 -0
- package/dist/{src/api → api}/base/crypto.js +0 -0
- package/dist/{src/api → api}/base/debug.js +0 -0
- package/dist/{src/api → api}/base/index.js +0 -0
- package/dist/{src/api → api}/base/performance.js +0 -0
- package/dist/{src/api → api}/base/system.js +0 -0
- package/dist/{src/api → api}/base/update.js +0 -0
- package/dist/{src/api → api}/base/weapp/app-event.js +0 -0
- package/dist/{src/api → api}/base/weapp/life-cycle.js +0 -0
- package/dist/{src/api → api}/canvas/CanvasContext.js +0 -0
- package/dist/{src/api → api}/canvas/canvasGetImageData.js +0 -0
- package/dist/{src/api → api}/canvas/canvasPutImageData.js +0 -0
- package/dist/{src/api → api}/canvas/canvasToTempFilePath.js +0 -0
- package/dist/{src/api → api}/canvas/createCanvasContext.js +0 -0
- package/dist/{src/api → api}/canvas/index.js +0 -0
- package/dist/{src/api → api}/cloud/index.js +0 -0
- package/dist/{src/api → api}/data-analysis/index.js +0 -0
- package/dist/{src/api → api}/device/accelerometer.js +0 -0
- package/dist/{src/api → api}/device/accessibility.js +0 -0
- package/dist/{src/api → api}/device/battery.js +0 -0
- package/dist/{src/api → api}/device/bluetooth-ble.js +0 -0
- package/dist/{src/api → api}/device/bluetooth-peripheral.js +0 -0
- package/dist/{src/api → api}/device/bluetooth.js +0 -0
- package/dist/{src/api → api}/device/calendar.js +0 -0
- package/dist/{src/api → api}/device/clipboard.js +0 -0
- package/dist/{src/api → api}/device/compass.js +0 -0
- package/dist/{src/api → api}/device/contact.js +0 -0
- package/dist/{src/api → api}/device/crypto.js +0 -0
- package/dist/{src/api → api}/device/gyroscope.js +0 -0
- package/dist/{src/api → api}/device/iBeacon.js +0 -0
- package/dist/{src/api → api}/device/index.js +0 -0
- package/dist/{src/api → api}/device/keyboard.js +0 -0
- package/dist/{src/api → api}/device/memory.js +0 -0
- package/dist/{src/api → api}/device/motion.js +0 -0
- package/dist/{src/api → api}/device/network.js +0 -0
- package/dist/{src/api → api}/device/nfc.js +0 -0
- package/dist/{src/api → api}/device/phone.js +0 -0
- package/dist/{src/api → api}/device/scan.js +0 -0
- package/dist/{src/api → api}/device/screen.js +0 -0
- package/dist/{src/api → api}/device/vibrate.js +0 -0
- package/dist/{src/api → api}/device/wifi.js +0 -0
- package/dist/{src/api → api}/ext/index.js +0 -0
- package/dist/{src/api → api}/files/index.js +0 -0
- package/dist/{src/api → api}/framework/index.js +0 -0
- package/dist/{src/api → api}/index.js +0 -0
- package/dist/{src/api → api}/location/chooseLocation.js +0 -0
- package/dist/{src/api → api}/location/getLocation.js +0 -0
- package/dist/{src/api → api}/location/index.js +0 -0
- package/dist/{src/api → api}/media/EditorContext.js +0 -0
- package/dist/{src/api → api}/media/audio/InnerAudioContext.js +0 -0
- package/dist/{src/api → api}/media/audio/index.js +0 -0
- package/dist/{src/api → api}/media/background-audio/BackgroundAudioManager.js +0 -0
- package/dist/{src/api → api}/media/background-audio/index.js +0 -0
- package/dist/{src/api → api}/media/camera.js +0 -0
- package/dist/{src/api → api}/media/image/chooseImage.js +0 -0
- package/dist/{src/api → api}/media/image/getImageInfo.js +0 -0
- package/dist/{src/api → api}/media/image/index.js +0 -0
- package/dist/{src/api → api}/media/image/previewImage.js +0 -0
- package/dist/{src/api → api}/media/index.js +0 -0
- package/dist/{src/api → api}/media/live.js +0 -0
- package/dist/{src/api → api}/media/map.js +0 -0
- package/dist/{src/api → api}/media/media-recorder.js +0 -0
- package/dist/{src/api → api}/media/recorder.js +0 -0
- package/dist/{src/api → api}/media/video/index.js +0 -0
- package/dist/{src/api → api}/media/video-decoder.js +0 -0
- package/dist/{src/api → api}/media/video-processing.js +0 -0
- package/dist/{src/api → api}/media/voip.js +0 -0
- package/dist/{src/api → api}/navigate/index.js +0 -0
- package/dist/{src/api → api}/network/download.js +0 -0
- package/dist/{src/api → api}/network/index.js +0 -0
- package/dist/{src/api → api}/network/mdns.js +0 -0
- package/dist/{src/api → api}/network/request/index.js +0 -0
- package/dist/{src/api → api}/network/tcp.js +0 -0
- package/dist/{src/api → api}/network/udp.js +0 -0
- package/dist/{src/api → api}/network/upload.js +0 -0
- package/dist/{src/api → api}/network/utils.js +0 -0
- package/dist/{src/api → api}/network/websocket/index.js +0 -0
- package/dist/{src/api → api}/network/websocket/socketTask.js +0 -0
- package/dist/{src/api → api}/open-api/account.js +0 -0
- package/dist/{src/api → api}/open-api/address.js +0 -0
- package/dist/{src/api → api}/open-api/authorize.js +0 -0
- package/dist/{src/api → api}/open-api/card.js +0 -0
- package/dist/{src/api → api}/open-api/channels-live.js +0 -0
- package/dist/{src/api → api}/open-api/customer-service.js +0 -0
- package/dist/{src/api → api}/open-api/facial.js +0 -0
- package/dist/{src/api → api}/open-api/favorites.js +0 -0
- package/dist/{src/api → api}/open-api/group.js +0 -0
- package/dist/{src/api → api}/open-api/index.js +0 -0
- package/dist/{src/api → api}/open-api/invoice.js +0 -0
- package/dist/{src/api → api}/open-api/license-plate.js +0 -0
- package/dist/{src/api → api}/open-api/login.js +0 -0
- package/dist/{src/api → api}/open-api/red-package.js +0 -0
- package/dist/{src/api → api}/open-api/settings.js +0 -0
- package/dist/{src/api → api}/open-api/soter.js +0 -0
- package/dist/{src/api → api}/open-api/subscribe-message.js +0 -0
- package/dist/{src/api → api}/open-api/user-info.js +0 -0
- package/dist/{src/api → api}/open-api/werun.js +0 -0
- package/dist/{src/api → api}/payment/index.js +0 -0
- package/dist/{src/api → api}/route/index.js +0 -0
- package/dist/{src/api → api}/share/index.js +0 -0
- package/dist/{src/api → api}/storage/background-fetch.js +0 -0
- package/dist/{src/api → api}/storage/index.js +0 -0
- package/dist/{src/api → api}/swan/index.js +0 -0
- package/dist/{src/api → api}/taro.js +0 -0
- package/dist/{src/api → api}/ui/animation/index.js +0 -0
- package/dist/{src/api → api}/ui/background.js +0 -0
- package/dist/{src/api → api}/ui/custom-component.js +0 -0
- package/dist/{src/api → api}/ui/fonts.js +0 -0
- package/dist/{src/api → api}/ui/index.js +0 -0
- package/dist/{src/api → api}/ui/interaction/actionSheet.js +0 -0
- package/dist/{src/api → api}/ui/interaction/index.js +0 -0
- package/dist/{src/api → api}/ui/interaction/modal.js +0 -0
- package/dist/{src/api → api}/ui/interaction/toast.js +0 -0
- package/dist/{src/api → api}/ui/menu.js +0 -0
- package/dist/{src/api → api}/ui/navigation-bar/index.js +0 -0
- package/dist/{src/api → api}/ui/pull-down-refresh.js +0 -0
- package/dist/{src/api → api}/ui/scroll/index.js +0 -0
- package/dist/{src/api → api}/ui/sticky.js +0 -0
- package/dist/{src/api → api}/ui/tab-bar.js +0 -0
- package/dist/{src/api → api}/ui/window.js +0 -0
- package/dist/{src/api → api}/worker/index.js +0 -0
- package/dist/{src/api → api}/wxml/index.js +0 -0
- package/dist/{src/api → api}/wxml/nodesRef.js +0 -0
- package/dist/{src/api → api}/wxml/selectorQuery.js +0 -0
- package/dist/{src/index.js → index.js} +0 -0
- package/dist/{src/utils → utils}/animation.js +0 -0
- package/dist/{src/utils → utils}/handler.js +0 -0
- package/dist/{src/utils → utils}/index.js +0 -0
- package/dist/{src/utils → utils}/lodash.js +0 -0
- package/dist/{src/utils → utils}/valid.js +0 -0
- package/package.json +4 -4
- package/types/index.d.ts +31 -1
- package/dist/types/type.js +0 -2
- 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
|
|
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.
|
|
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.
|
|
28
|
-
"@tarojs/router": "3.5.0-beta.
|
|
29
|
-
"@tarojs/runtime": "3.5.0-beta.
|
|
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
|
|
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
|
package/dist/types/type.js
DELETED
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
|