@realsee/dnalogel 3.0.1 → 3.1.0
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/floorplan/Components/MissingFloor.svelte.d.ts +1 -0
- package/dist/floorplan/MapviewFloorplanPlugin/Controller.d.ts +1 -0
- package/dist/floorplan/ModelFloorplanPlugin/Controller.d.ts +1 -0
- package/dist/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +2 -0
- package/dist/floorplan/TopviewFloorplanPlugin/Controller.d.ts +1 -0
- package/dist/floorplan/typings/index.d.ts +15 -0
- package/dist/index.cjs.js +62 -62
- package/dist/index.js +6654 -6294
- package/dist/index.umd.js +48 -48
- package/dist/shared-utils/filter.d.ts +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/Components/CurrentFloor.js +423 -214
- package/libs/floorplan/Components/Main.js +205 -271
- package/libs/floorplan/Components/MissingFloor.js +99 -0
- package/libs/floorplan/Components/MissingFloor.svelte.d.ts +1 -0
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.d.ts +1 -0
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +74 -66
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +9 -8
- package/libs/floorplan/ModelFloorplanPlugin/Controller.d.ts +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +108 -101
- package/libs/floorplan/ModelFloorplanPlugin/index.js +9 -8
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +88 -68
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +199 -127
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +110 -100
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +15 -14
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +2 -0
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.d.ts +1 -0
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +118 -110
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +9 -8
- package/libs/floorplan/typings/index.d.ts +15 -0
- package/libs/index.js +122 -121
- package/libs/shared-utils/filter.d.ts +1 -1
- package/libs/shared-utils/logger.js +1 -1
- package/package.json +1 -1
package/libs/index.js
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import { consoleVersion as o } from "./shared-utils/logger.js";
|
|
2
2
|
import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
|
|
3
|
-
import { PaintBrush as
|
|
4
|
-
import { PaintBrushTypeEnum as
|
|
5
|
-
import { ModelViewPlugin as
|
|
6
|
-
import { CSS3DRenderPlugin as
|
|
7
|
-
import { PanoCursorRaycasterPlugin as
|
|
8
|
-
import { ModelRoomLabelPlugin as
|
|
9
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
10
|
-
import { ModelFloorplanPlugin as
|
|
11
|
-
import { MapviewFloorplanPlugin as
|
|
12
|
-
import { TopviewFloorplanPlugin as
|
|
13
|
-
import { PanoFloorplanRadarPlugin as
|
|
14
|
-
import { FLOOR_TYPE_MAP as
|
|
15
|
-
import { ModelChassisCompassPlugin as
|
|
16
|
-
import { ModelEntryDoorGuidePlugin as
|
|
17
|
-
import { CameraMovementPlugin as
|
|
18
|
-
import { CameraMovementEffect as
|
|
19
|
-
import { PanoRulerPlugin as
|
|
20
|
-
import { PanoRulerProPlugin as
|
|
21
|
-
import { PanoCompassPlugin as
|
|
22
|
-
import { PanoMeasurePlugin as
|
|
23
|
-
import { PanoSpatialTagPlugin as
|
|
24
|
-
import { modelItemLabelPluginServerParams as
|
|
25
|
-
import { ModelTVVideoPlugin as
|
|
26
|
-
import { DIRECTION as
|
|
27
|
-
import { itemLabelPluginServerParams as
|
|
28
|
-
import { PanoDoorLabelPlugin as
|
|
29
|
-
import { GuideLinePlugin as
|
|
30
|
-
import { CruisePlugin as
|
|
31
|
-
import { PanoTagPlugin as
|
|
32
|
-
import { Object3DHelperPlugin as
|
|
33
|
-
import { PanoVideoPlugin as
|
|
34
|
-
import { PipelinePlugin as
|
|
35
|
-
import { AreaMakerPlugin as
|
|
36
|
-
import { CurrentPanoImagePlugin as
|
|
37
|
-
import { index as
|
|
38
|
-
import { CSS3DRender as
|
|
39
|
-
import { Model as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { Polyline as
|
|
43
|
-
import { default as
|
|
44
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
45
|
-
import { ModelItemLabelPlugin as
|
|
46
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
47
|
-
import { Plugin as
|
|
48
|
-
import { GuideLineItem$1 as
|
|
49
|
-
import { GuideLineModeItem$1 as
|
|
50
|
-
import { default as
|
|
51
|
-
import { typing as
|
|
52
|
-
import { default as
|
|
53
|
-
import { defaultGlobalConfig as
|
|
54
|
-
import { ContentType as
|
|
55
|
-
import { Object3DHelperController as
|
|
56
|
-
import { typings as
|
|
3
|
+
import { PaintBrush as $p } from "./components/PaintBrush/index.js";
|
|
4
|
+
import { PaintBrushTypeEnum as qp } from "./components/PaintBrush/typings.js";
|
|
5
|
+
import { ModelViewPlugin as Jp } from "./ModelViewPlugin/Plugin.js";
|
|
6
|
+
import { CSS3DRenderPlugin as Qp } from "./CSS3DRenderPlugin/index.js";
|
|
7
|
+
import { PanoCursorRaycasterPlugin as Xp } from "./PanoCursorRaycasterPlugin/index.js";
|
|
8
|
+
import { ModelRoomLabelPlugin as oe, modelRoomLabelPluginServerParams as re } from "./ModelRoomLabelPlugin/index.js";
|
|
9
|
+
import { FLOOR_PLAN_ATTACHED_TO as ie } from "./floorplan/constant.js";
|
|
10
|
+
import { ModelFloorplanPlugin as pe } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
11
|
+
import { MapviewFloorplanPlugin as ne } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
12
|
+
import { TopviewFloorplanPlugin as ae } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
13
|
+
import { PanoFloorplanRadarPlugin as ue } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
14
|
+
import { FLOOR_TYPE_MAP as xe, ROOM_FETILE_TYPE_MAP as ge, ROOM_TYPE_MAP as se } from "./floorplan/typings/floorplanServerData.js";
|
|
15
|
+
import { ModelChassisCompassPlugin as Me } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
16
|
+
import { ModelEntryDoorGuidePlugin as Le } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
17
|
+
import { CameraMovementPlugin as _e } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
18
|
+
import { CameraMovementEffect as Ie, Rotation as Re } from "./CameraMovementPlugin/typing.js";
|
|
19
|
+
import { PanoRulerPlugin as ye } from "./PanoRulerPlugin/Plugin.js";
|
|
20
|
+
import { PanoRulerProPlugin as Se } from "./PanoRulerProPlugin/index.js";
|
|
21
|
+
import { PanoCompassPlugin as Ge } from "./PanoCompassPlugin/index.js";
|
|
22
|
+
import { PanoMeasurePlugin as Fe } from "./PanoMeasurePlugin/index.js";
|
|
23
|
+
import { PanoSpatialTagPlugin as ve } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
24
|
+
import { modelItemLabelPluginServerParams as Ve } from "./ModelItemLabelPlugin/index.js";
|
|
25
|
+
import { ModelTVVideoPlugin as he } from "./ModelTVVideoPlugin/Plugin.js";
|
|
26
|
+
import { DIRECTION as Be } from "./ModelTVVideoPlugin/typings.js";
|
|
27
|
+
import { itemLabelPluginServerParams as Ue } from "./ItemLabelPlugin/index.js";
|
|
28
|
+
import { PanoDoorLabelPlugin as $e } from "./PanoDoorLabelPlugin/index.js";
|
|
29
|
+
import { GuideLinePlugin as qe } from "./GuideLinePlugin/index.js";
|
|
30
|
+
import { CruisePlugin as Je } from "./CruisePlugin/index.js";
|
|
31
|
+
import { PanoTagPlugin as Qe } from "./PanoTagPlugin/index.js";
|
|
32
|
+
import { Object3DHelperPlugin as Xe } from "./Object3DHelperPlugin/index.js";
|
|
33
|
+
import { PanoVideoPlugin as on } from "./PanoVideoPlugin/index.js";
|
|
34
|
+
import { PipelinePlugin as tn } from "./PipelinePlugin/index.js";
|
|
35
|
+
import { AreaMakerPlugin as pn } from "./AreaMakerPlugin/index.js";
|
|
36
|
+
import { CurrentPanoImagePlugin as nn } from "./CurrentPanoImagePlugin/index.js";
|
|
37
|
+
import { index as an } from "./shared-utils/index.js";
|
|
38
|
+
import { CSS3DRender as un } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
39
|
+
import { Model as xn } from "./PanoMeasurePlugin/Model/index.js";
|
|
40
|
+
import { default as sn } from "./PanoMeasurePlugin/Model/point.js";
|
|
41
|
+
import { default as Mn } from "./PanoMeasurePlugin/Model/line.js";
|
|
42
|
+
import { Polyline as Ln } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
43
|
+
import { default as _n } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
44
|
+
import { DISPLAY_STRATEGY_TYPE as In } from "./ModelItemLabelPlugin/typings.js";
|
|
45
|
+
import { ModelItemLabelPlugin as On } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
46
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as An } from "./ItemLabelPlugin/typings.js";
|
|
47
|
+
import { Plugin as Dn } from "./ItemLabelPlugin/Plugin.js";
|
|
48
|
+
import { GuideLineItem$1 as bn } from "./GuideLinePlugin/GuideLineItem/index.js";
|
|
49
|
+
import { GuideLineModeItem$1 as Yn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
|
|
50
|
+
import { default as cn } from "./CruisePlugin/Controller.js";
|
|
51
|
+
import { typing as Nn } from "./CruisePlugin/typing/index.js";
|
|
52
|
+
import { default as wn, pluginFlag as Bn } from "./PanoTagPlugin/controller/index.js";
|
|
53
|
+
import { defaultGlobalConfig as Un } from "./PanoTagPlugin/typings/tag/TagConfig.js";
|
|
54
|
+
import { ContentType as $n, DimensionType as kn, PointType as qn } from "./PanoTagPlugin/Archive/deprecated.js";
|
|
55
|
+
import { Object3DHelperController as Jn, PLUGIN as Kn } from "./Object3DHelperPlugin/Controller.js";
|
|
56
|
+
import { typings as Wn } from "./PanoVideoPlugin/typings/index.js";
|
|
57
57
|
import "./components/PaintBrush/Controller.js";
|
|
58
58
|
import "./components/PaintBrush/utils.js";
|
|
59
59
|
import "./components/PaintBrush/tween.js";
|
|
@@ -99,11 +99,6 @@ import "./shared-utils/isTruelyObject.js";
|
|
|
99
99
|
import "./floorplan/Components/Main.js";
|
|
100
100
|
import "./vendor/svelte/transition/index.js";
|
|
101
101
|
import "./vendor/svelte/easing/index.js";
|
|
102
|
-
import "./floorplan/Components/Camera.js";
|
|
103
|
-
import "./floorplan/Assets/camera.js";
|
|
104
|
-
import "./shared-utils/math/rad2Deg.js";
|
|
105
|
-
import "./floorplan/Components/Compass.js";
|
|
106
|
-
import "./floorplan/Assets/compass.js";
|
|
107
102
|
import "./floorplan/Components/CurrentFloor.js";
|
|
108
103
|
import "./vendor/svelte/store/index.js";
|
|
109
104
|
import "./floorplan/Components/BaseImage.js";
|
|
@@ -120,6 +115,12 @@ import "./floorplan/Components/RoomMaterials/RoomMaterial_1.js";
|
|
|
120
115
|
import "./floorplan/Components/RoomMaterials/RoomMaterial_2.js";
|
|
121
116
|
import "./floorplan/Components/RoomHighlight/RoomHighlight.js";
|
|
122
117
|
import "./floorplan/Components/RoomHighlight/Room.js";
|
|
118
|
+
import "./floorplan/Components/MissingFloor.js";
|
|
119
|
+
import "./floorplan/Components/Camera.js";
|
|
120
|
+
import "./floorplan/Assets/camera.js";
|
|
121
|
+
import "./shared-utils/math/rad2Deg.js";
|
|
122
|
+
import "./floorplan/Components/Compass.js";
|
|
123
|
+
import "./floorplan/Assets/compass.js";
|
|
123
124
|
import "./floorplan/utils/formatData.js";
|
|
124
125
|
import "./floorplan/Assets/floorplanExtraObject.js";
|
|
125
126
|
import "./shared-utils/filter.js";
|
|
@@ -417,66 +418,66 @@ import "./shared-utils/three/getRaycaster.js";
|
|
|
417
418
|
r();
|
|
418
419
|
o();
|
|
419
420
|
export {
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
421
|
+
pn as AreaMakerPlugin,
|
|
422
|
+
un as CSS3DRender,
|
|
423
|
+
Qp as CSS3DRenderPlugin,
|
|
424
|
+
Ie as CameraMovementEffect,
|
|
425
|
+
_e as CameraMovementPlugin,
|
|
426
|
+
$n as ContentType,
|
|
427
|
+
Je as CruisePlugin,
|
|
428
|
+
cn as CruisePluginController,
|
|
429
|
+
Nn as CruisePluginTypes,
|
|
430
|
+
nn as CurrentPanoImagePlugin,
|
|
431
|
+
Be as DIRECTION,
|
|
432
|
+
In as DISPLAY_STRATEGY_TYPE,
|
|
433
|
+
kn as DimensionType,
|
|
434
|
+
ie as FLOOR_PLAN_ATTACHED_TO,
|
|
435
|
+
xe as FLOOR_TYPE_MAP,
|
|
436
|
+
bn as GuideLineItem,
|
|
437
|
+
Yn as GuideLineModeItem,
|
|
438
|
+
qe as GuideLinePlugin,
|
|
439
|
+
An as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
440
|
+
Dn as ItemLabelPlugin,
|
|
441
|
+
_n as Magnifier,
|
|
442
|
+
ne as MapviewFloorplanPlugin,
|
|
443
|
+
Me as ModelChassisCompassPlugin,
|
|
444
|
+
Le as ModelEntryDoorGuidePlugin,
|
|
445
|
+
pe as ModelFloorplanPlugin,
|
|
446
|
+
On as ModelItemLabelPlugin,
|
|
447
|
+
oe as ModelRoomLabelPlugin,
|
|
448
|
+
he as ModelTVVideoPlugin,
|
|
449
|
+
Jp as ModelViewPlugin,
|
|
450
|
+
Jn as Object3DHelperController,
|
|
451
|
+
Xe as Object3DHelperPlugin,
|
|
452
|
+
Kn as PLUGIN,
|
|
453
|
+
$p as PaintBrush,
|
|
454
|
+
qp as PaintBrushTypeEnum,
|
|
455
|
+
Ge as PanoCompassPlugin,
|
|
456
|
+
Xp as PanoCursorRaycasterPlugin,
|
|
457
|
+
$e as PanoDoorLabelPlugin,
|
|
458
|
+
ue as PanoFloorplanRadarPlugin,
|
|
459
|
+
Fe as PanoMeasurePlugin,
|
|
460
|
+
Mn as PanoMeasurePluginLine,
|
|
461
|
+
xn as PanoMeasurePluginModel,
|
|
462
|
+
sn as PanoMeasurePluginPoint,
|
|
463
|
+
Ln as PanoMeasurePluginPolyline,
|
|
464
|
+
ye as PanoRulerPlugin,
|
|
465
|
+
Se as PanoRulerProPlugin,
|
|
466
|
+
ve as PanoSpatialTagPlugin,
|
|
467
|
+
Qe as PanoTagPlugin,
|
|
468
|
+
wn as PanoTagPluginController,
|
|
469
|
+
on as PanoVideoPlugin,
|
|
470
|
+
Wn as PanoVideoPluginType,
|
|
471
|
+
tn as PipelinePlugin,
|
|
472
|
+
qn as PointType,
|
|
473
|
+
ge as ROOM_FETILE_TYPE_MAP,
|
|
474
|
+
se as ROOM_TYPE_MAP,
|
|
475
|
+
Re as Rotation,
|
|
476
|
+
ae as TopviewFloorplanPlugin,
|
|
477
|
+
an as Util,
|
|
478
|
+
Un as defaultGlobalConfig,
|
|
479
|
+
Ue as itemLabelPluginServerParams,
|
|
480
|
+
Ve as modelItemLabelPluginServerParams,
|
|
481
|
+
re as modelRoomLabelPluginServerParams,
|
|
482
|
+
Bn as pluginFlag
|
|
482
483
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @param {object} object
|
|
5
5
|
* @param {Function} check
|
|
6
6
|
*/
|
|
7
|
-
export declare function filter<T, K extends keyof T>(object: T, check: (key: K, value: T[K]) => boolean): Record<K, T[K]>;
|
|
7
|
+
export declare function filter<T extends Record<string, any>, K extends keyof T>(object: T, check: (key: K, value: T[K]) => boolean): Record<K, T[K]>;
|
|
8
8
|
/**
|
|
9
9
|
* 对象镜子函数。
|
|
10
10
|
* 生成一个"镜子"对象:对象的属性名与其值相同。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function A() {
|
|
2
2
|
console.debug(
|
|
3
|
-
"%c %c@realsee/dnalogel %cv3.0
|
|
3
|
+
"%c %c@realsee/dnalogel %cv3.1.0",
|
|
4
4
|
[
|
|
5
5
|
"background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
|
|
6
6
|
"background-repeat: no-repeat",
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
8
8
|
"description": "如视 VR 看房插件合集",
|
|
9
9
|
"private": false,
|
|
10
|
-
"version": "3.0
|
|
10
|
+
"version": "3.1.0",
|
|
11
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|