@aibee/crc-bmap 0.12.50 → 0.12.51
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/README.md +2 -2
- package/lib/draco/draco_decoder.js +34 -34
- package/lib/draco/draco_wasm_wrapper.js +117 -117
- package/lib/icon/parkingSpace/vip.svg +7 -7
- package/lib/index.cjs +38 -38
- package/lib/index.esm.min.js +38 -38
- package/lib/index.online.esm.min.js +38 -38
- package/lib/index.online.min.js +27774 -0
- package/lib/src/plugins/nav-path/nav-path.d.ts +1 -0
- package/lib/src/utils/road2.d.ts +1 -0
- package/package.json +4 -4
|
@@ -15,6 +15,7 @@ export declare class NavPath extends EventDispatcher<EventMap> {
|
|
|
15
15
|
worker: any;
|
|
16
16
|
initRoadStatus: boolean;
|
|
17
17
|
constructor();
|
|
18
|
+
setLiftPriority(lift_priority: number): Promise<any>;
|
|
18
19
|
loaded(): Promise<unknown>;
|
|
19
20
|
setRoadData(roadData: RoadData2[], facilities: Facility[]): Promise<void>;
|
|
20
21
|
getPath(start: Start2, end: End2, type?: RouteType2, permission?: number, travelDirection?: number, options?: GetPathOtherParams): Promise<PathData2>;
|
package/lib/src/utils/road2.d.ts
CHANGED
|
@@ -254,6 +254,7 @@ export declare class RoadNetwork2 {
|
|
|
254
254
|
forwardLineMap: Map<string, Map<string, number>>;
|
|
255
255
|
forwardRoute: Graph;
|
|
256
256
|
constructor(lift_priority?: number);
|
|
257
|
+
setLiftPriority(lift_priority: number): void;
|
|
257
258
|
isFacilityByType(type: string): boolean;
|
|
258
259
|
private initFacilities;
|
|
259
260
|
getParkingSpaceInfo(floor: string, parkingSpace: string): RoadData2["points"][0] | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aibee/crc-bmap",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.51",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "lib/index.esm.min.js",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"type": "module",
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"scripts": {
|
|
31
|
-
"build": "cd ./build &&
|
|
31
|
+
"build": "cd ./build && go run src/build/build.go",
|
|
32
32
|
"gen-type": "tsc",
|
|
33
33
|
"clean": "rm -rf lib",
|
|
34
34
|
"lint": "eslint src/**/*.ts",
|
|
35
35
|
"start": "cd example && vite dev",
|
|
36
|
-
"dev": "cd ./build &&
|
|
37
|
-
"publish:all": "cd ./build &&
|
|
36
|
+
"dev": "cd ./build && go run src/dev/dev.go",
|
|
37
|
+
"publish:all": "cd ./build && go run src/publish/publish.go",
|
|
38
38
|
"publish:npm": "npm publish --access public --registry https://registry.npmjs.org --@aibee:registry=https://registry.npmjs.org",
|
|
39
39
|
"publish:aibee": "npm publish --registry https://npm.aibee.cn --@aibee:registry=https://npm.aibee.cn",
|
|
40
40
|
"docs:dev": "cp lib/index.online.min.js docs/public/index.min.js && vitepress dev docs",
|