@smart100/spu-web-plugin 1.0.8 → 1.0.9

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/index.d.ts CHANGED
@@ -10,6 +10,14 @@ interface IAMapLoader {
10
10
  }) => Promise<any>
11
11
  }
12
12
 
13
+ interface IMapService {
14
+ init: () => Promise<any>
15
+ type: 'amap' | 'tencent' | 'baidu'
16
+ AMap: any
17
+ BMap: any
18
+ TMap: any
19
+ }
20
+
13
21
  type StorageType = 'storage' | 'storage-1d' | 'storage-3m' | 'storage-1y'
14
22
 
15
23
  type Cope = { width?: number; height?: number } | string | boolean
@@ -83,6 +91,7 @@ export const functionCheck: (functioncode?: string) => boolean
83
91
  export const setTitle: (pagetitle?: string) => void
84
92
  export const isInApp: () => boolean
85
93
  export const AMapLoader: IAMapLoader
94
+ export const mapService: IMapService
86
95
  export const singleLogin: any
87
96
  export const updateToken: () => Promise<void>
88
97
  export const getToken: () => string