@aibee/crc-bmap 0.8.30 → 0.8.32
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/lib/bmap.cjs.min.js +338 -338
- package/lib/bmap.esm.js +201 -1208
- package/lib/bmap.esm.min.js +338 -338
- package/lib/bmap.min.js +338 -338
- package/lib/src/bmap.js +2 -43
- package/lib/src/context/context.js +25 -29
- package/lib/src/context/control.js +1 -29
- package/lib/src/context/renderer.js +1 -14
- package/lib/src/elements/glb-model.js +1 -29
- package/lib/src/elements/graphic.js +1 -14
- package/lib/src/elements/ground-texture.js +2 -43
- package/lib/src/elements/heatmap.js +1 -14
- package/lib/src/elements/merge-graphic.js +1 -14
- package/lib/src/elements/model.js +1 -29
- package/lib/src/elements/overlay.js +1 -14
- package/lib/src/elements/poi.js +2 -43
- package/lib/src/elements/poi2.js +13 -43
- package/lib/src/elements/text-texture.js +2 -43
- package/lib/src/factory/model.js +2 -43
- package/lib/src/factory/text-texture.js +1 -14
- package/lib/src/loader/AibeeLoader/index.js +1 -29
- package/lib/src/loader/AibeeLoader/layer.js +4 -17
- package/lib/src/loader/CrLoader/api/floor.js +1 -29
- package/lib/src/loader/CrLoader/index.js +2 -43
- package/lib/src/operations/selection/box-selection.js +1 -14
- package/lib/src/plugins/cr-nav-path/cr-nav-path.js +1 -29
- package/lib/src/plugins/equipment/equipment.js +1 -29
- package/lib/src/plugins/mul-floor-navigation/mul-floor-navigation.js +2 -43
- package/lib/src/plugins/mul-floor-navigation/path.js +2 -30
- package/lib/src/plugins/nav-path/nav-path.js +1 -29
- package/lib/src/plugins/navigation/navigation.js +2 -43
- package/lib/src/plugins/navigation/path.js +2 -30
- package/lib/src/plugins/navigation/path.worker.js +1 -29
- package/lib/src/plugins/navigation/position-navigation.js +2 -43
- package/lib/src/plugins/pdr-position/pdr.js +1 -14
- package/lib/src/plugins/pdr-position/sensor.js +2 -43
- package/lib/src/plugins/select/box-selection.js +1 -14
- package/lib/src/plugins/select/select.js +1 -14
- package/lib/src/utils/index-db.js +1 -29
- package/lib/src/utils/road.js +1 -14
- package/lib/src/utils/road2.js +1 -14
- package/lib/src/utils/taskQueue.js +2 -43
- package/lib/src/utils/webworker.js +1 -29
- package/package.json +2 -2
|
@@ -1,46 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var info = gen[key](arg);
|
|
4
|
-
var value = info.value;
|
|
5
|
-
} catch (error) {
|
|
6
|
-
reject(error);
|
|
7
|
-
return;
|
|
8
|
-
}
|
|
9
|
-
if (info.done) {
|
|
10
|
-
resolve(value);
|
|
11
|
-
} else {
|
|
12
|
-
Promise.resolve(value).then(_next, _throw);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
function _async_to_generator(fn) {
|
|
16
|
-
return function() {
|
|
17
|
-
var self = this, args = arguments;
|
|
18
|
-
return new Promise(function(resolve, reject) {
|
|
19
|
-
var gen = fn.apply(self, args);
|
|
20
|
-
function _next(value) {
|
|
21
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
22
|
-
}
|
|
23
|
-
function _throw(err) {
|
|
24
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
25
|
-
}
|
|
26
|
-
_next(undefined);
|
|
27
|
-
});
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
function _extends() {
|
|
31
|
-
_extends = Object.assign || function(target) {
|
|
32
|
-
for(var i = 1; i < arguments.length; i++){
|
|
33
|
-
var source = arguments[i];
|
|
34
|
-
for(var key in source){
|
|
35
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
36
|
-
target[key] = source[key];
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
return target;
|
|
41
|
-
};
|
|
42
|
-
return _extends.apply(this, arguments);
|
|
43
|
-
}
|
|
1
|
+
import { _ as _async_to_generator } from "@swc/helpers/_/_async_to_generator";
|
|
2
|
+
import { _ as _extends } from "@swc/helpers/_/_extends";
|
|
44
3
|
import { isNil } from "lodash";
|
|
45
4
|
import { EventDispatcher } from "three";
|
|
46
5
|
class TaskQueue extends EventDispatcher {
|
|
@@ -1,32 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
try {
|
|
3
|
-
var info = gen[key](arg);
|
|
4
|
-
var value = info.value;
|
|
5
|
-
} catch (error) {
|
|
6
|
-
reject(error);
|
|
7
|
-
return;
|
|
8
|
-
}
|
|
9
|
-
if (info.done) {
|
|
10
|
-
resolve(value);
|
|
11
|
-
} else {
|
|
12
|
-
Promise.resolve(value).then(_next, _throw);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
function _async_to_generator(fn) {
|
|
16
|
-
return function() {
|
|
17
|
-
var self1 = this, args = arguments;
|
|
18
|
-
return new Promise(function(resolve, reject) {
|
|
19
|
-
var gen = fn.apply(self1, args);
|
|
20
|
-
function _next(value) {
|
|
21
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
22
|
-
}
|
|
23
|
-
function _throw(err) {
|
|
24
|
-
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
25
|
-
}
|
|
26
|
-
_next(undefined);
|
|
27
|
-
});
|
|
28
|
-
};
|
|
29
|
-
}
|
|
1
|
+
import { _ as _async_to_generator } from "@swc/helpers/_/_async_to_generator";
|
|
30
2
|
import { UniqueKeyFactory } from "../factory/unique-key";
|
|
31
3
|
import { convertToSnakeCase } from "./string";
|
|
32
4
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aibee/crc-bmap",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.32",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/bmap.min.js",
|
|
6
6
|
"module": "lib/bmap.esm.js",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@swc/cli": "^0.5.0",
|
|
31
31
|
"@swc/core": "^1.9.2",
|
|
32
|
+
"@swc/helpers": "^0.5.15",
|
|
32
33
|
"@types/inquirer": "8.2.4",
|
|
33
34
|
"@types/lodash": "^4.14.199",
|
|
34
35
|
"@types/node": "^20.8.3",
|
|
35
36
|
"@types/node-dijkstra": "^2.5.6",
|
|
36
37
|
"@types/tween.js": "^18.6.1",
|
|
37
|
-
"chokidar": "^4.0.1",
|
|
38
38
|
"esbuild": "^0.23.0",
|
|
39
39
|
"esbuild-plugin-inline-worker": "^0.1.1",
|
|
40
40
|
"eslint": "^8.51.0",
|