@realsee/dnalogel 2.2.5-alpha.0 → 2.2.6
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/CSS3DRenderPlugin/CSS3DRender.d.ts +34 -47
- package/dist/CSS3DRenderPlugin/Controller.d.ts +5 -5
- package/dist/CSS3DRenderPlugin/index.d.ts +1 -2
- package/dist/CSS3DRenderPlugin/utils/{three/CSS3DObject.d.ts → CSS3DObjectPlus.d.ts} +11 -25
- package/dist/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
- package/dist/CSS3DRenderPlugin/utils/index.d.ts +1 -1
- package/dist/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
- package/dist/Object3DHelperPlugin/Controller.d.ts +0 -2
- package/dist/index.cjs.js +46 -46
- package/dist/index.js +4897 -5028
- package/dist/index.umd.js +38 -38
- package/dist/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
- package/dist/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
- package/docs/assets/highlight.css +0 -7
- package/docs/assets/search.js +1 -1
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +16 -16
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +24 -24
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoTagPluginController.html +39 -39
- package/docs/classes/Util.BetterTween.html +8 -8
- package/docs/classes/Util.FivePointSelector.html +12 -12
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.Magnifier.html +17 -17
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +12 -12
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/LinkType.html +7 -7
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +5 -6
- package/docs/functions/CameraMovementPlugin.html +5 -6
- package/docs/functions/CruisePlugin.html +5 -6
- package/docs/functions/GuideLinePlugin.html +6 -7
- package/docs/functions/ItemLabelPlugin.html +5 -6
- package/docs/functions/MapviewFloorplanPlugin.html +5 -6
- package/docs/functions/ModelChassisCompassPlugin.html +5 -6
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -6
- package/docs/functions/ModelFloorplanPlugin.html +5 -6
- package/docs/functions/ModelItemLabelPlugin.html +5 -6
- package/docs/functions/ModelRoomLabelPlugin.html +5 -6
- package/docs/functions/ModelTVVideoPlugin.html +5 -6
- package/docs/functions/ModelViewPlugin.html +5 -6
- package/docs/functions/Object3DHelperPlugin.html +5 -6
- package/docs/functions/PanoCompassPlugin.html +5 -6
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -6
- package/docs/functions/PanoDoorLabelPlugin.html +5 -6
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -6
- package/docs/functions/PanoMeasurePlugin.html +5 -6
- package/docs/functions/PanoRulerPlugin.html +5 -6
- package/docs/functions/PanoRulerProPlugin.html +5 -6
- package/docs/functions/PanoSpatialTagPlugin.html +5 -6
- package/docs/functions/PanoTagPlugin.html +5 -6
- package/docs/functions/TopviewFloorplanPlugin.html +5 -6
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/pluginFlag.html +6 -7
- package/docs/index.html +5 -6
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/ContentTypeMap.html +12 -12
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/LineJson.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +8 -8
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/OpenParameter.html +7 -7
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -7
- package/docs/interfaces/PanoMeasureParameterType.html +11 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -7
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -7
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/PointJson.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +6 -7
- package/docs/interfaces/Rooms.html +6 -7
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +5 -7
- package/docs/types/ArrayPosition.html +6 -7
- package/docs/types/CSS3DRenderExportType.html +7 -8
- package/docs/types/CSS3DRenderPluginExportType.html +6 -7
- package/docs/types/CSS3DRenderPluginParameterType.html +6 -7
- package/docs/types/Color.html +6 -7
- package/docs/types/ContentTypeConfigKey.html +6 -7
- package/docs/types/ContentTypeConfigKeyArray.html +6 -7
- package/docs/types/Create3DDomContainerReturnType.html +6 -7
- package/docs/types/Create3DElementReturnType.html +7 -8
- package/docs/types/CruisePluginExportType.html +6 -7
- package/docs/types/Direction-1.html +6 -7
- package/docs/types/Direction4.html +6 -7
- package/docs/types/FloorplanRuleLabels.html +6 -7
- package/docs/types/FloorplanServerRuleLabels.html +6 -7
- package/docs/types/GuideLinePluginExportType.html +6 -7
- package/docs/types/HelperEventMap.html +6 -7
- package/docs/types/MapviewFloorplanPluginParameterType.html +6 -7
- package/docs/types/MapviewFloorplanPluginReturnType.html +6 -7
- package/docs/types/MediaData.html +6 -7
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -8
- package/docs/types/ModelFloorplanPluginParameterType.html +6 -7
- package/docs/types/ModelFloorplanPluginReturnType.html +6 -7
- package/docs/types/ModelRoomLabelPluginParameters.html +6 -7
- package/docs/types/ModelRoomLabelPluginReturnType.html +6 -7
- package/docs/types/MoveArgs.html +6 -7
- package/docs/types/MoveOpts.html +6 -7
- package/docs/types/Object3DHelperEventMap.html +6 -7
- package/docs/types/ObjectFit.html +6 -7
- package/docs/types/PaintBrushEventMap.html +6 -7
- package/docs/types/PanoCompassPluginData.html +6 -7
- package/docs/types/PanoCompassPluginExportType.html +6 -7
- package/docs/types/PanoCompassPluginParameterType.html +6 -7
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -7
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -7
- package/docs/types/PanoMeasurePluginEvent.html +6 -7
- package/docs/types/PanoMeasureReturnType.html +6 -7
- package/docs/types/PanoSpatialTagPluginId.html +6 -7
- package/docs/types/PanoTagPluginExportInterface.html +6 -7
- package/docs/types/PanoTagPluginParamsInterface.html +6 -7
- package/docs/types/PlaneTag.html +6 -7
- package/docs/types/PointTag.html +6 -7
- package/docs/types/Position.html +6 -7
- package/docs/types/RotateArgs.html +6 -7
- package/docs/types/RotateOpts.html +6 -7
- package/docs/types/RuleLabelsKey.html +6 -7
- package/docs/types/RuleLabelsValue.html +6 -7
- package/docs/types/Tag.html +6 -7
- package/docs/types/Tag2D.html +6 -7
- package/docs/types/Tag3D.html +6 -7
- package/docs/types/TagId.html +6 -7
- package/docs/types/TopviewFloorplanPluginParameterType.html +6 -7
- package/docs/types/TopviewFloorplanPluginReturnType.html +6 -7
- package/docs/variables/FLOOR_TYPE_MAP.html +6 -7
- package/docs/variables/PLUGIN.html +6 -7
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -7
- package/docs/variables/ROOM_TYPE_MAP.html +6 -7
- package/docs/variables/VERSION.html +6 -7
- package/docs/variables/itemLabelPluginServerParams.html +6 -7
- package/docs/variables/modelItemLabelPluginServerParams.html +6 -7
- package/docs/variables/modelRoomLabelPluginServerParams.html +6 -7
- package/libs/CSS3DRenderPlugin/CSS3DRender.d.ts +34 -47
- package/libs/CSS3DRenderPlugin/CSS3DRender.js +251 -187
- package/libs/CSS3DRenderPlugin/Controller.d.ts +5 -5
- package/libs/CSS3DRenderPlugin/Controller.js +57 -48
- package/libs/CSS3DRenderPlugin/index.d.ts +1 -2
- package/libs/CSS3DRenderPlugin/index.js +2 -3
- package/libs/CSS3DRenderPlugin/utils/{three/CSS3DObject.d.ts → CSS3DObjectPlus.d.ts} +11 -25
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +65 -0
- package/libs/CSS3DRenderPlugin/utils/evenNumber.d.ts +3 -0
- package/libs/CSS3DRenderPlugin/utils/evenNumber.js +7 -0
- package/libs/CSS3DRenderPlugin/utils/index.d.ts +1 -1
- package/libs/CruisePlugin/Controller.js +16 -16
- package/libs/ModelChassisCompassPlugin/Plugin.js +1 -1
- package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +42 -39
- package/libs/ModelTVVideoPlugin/index.js +1 -2
- package/libs/Object3DHelperPlugin/Controller.d.ts +0 -2
- package/libs/Object3DHelperPlugin/Controller.js +74 -89
- package/libs/PanoSpatialTagPlugin/index.js +1 -2
- package/libs/index.js +98 -107
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +7 -8
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.d.ts +2 -2
- package/libs/shared-utils/Object3DHelper/Helper/index.js +0 -1
- package/libs/shared-utils/three/index.js +1 -2
- package/libs/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
- package/libs/shared-utils/three/{transfromToMeshBasicMaterial.js → transformToMeshBasicMaterial.js} +0 -0
- package/package.json +14 -15
- package/dist/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -4
- package/dist/CSS3DRenderPlugin/utils/even.d.ts +0 -9
- package/dist/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +0 -2
- package/dist/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +0 -3
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +0 -12
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +0 -14
- package/dist/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +0 -12
- package/dist/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +0 -6
- package/dist/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +0 -2
- package/docs/classes/CSS3DRender.html +0 -533
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.d.ts +0 -4
- package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +0 -22
- package/libs/CSS3DRenderPlugin/utils/even.d.ts +0 -9
- package/libs/CSS3DRenderPlugin/utils/even.js +0 -7
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.d.ts +0 -2
- package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +0 -29
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.d.ts +0 -3
- package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +0 -9
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.d.ts +0 -12
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +0 -39
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +0 -93
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.d.ts +0 -14
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +0 -46
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.d.ts +0 -12
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +0 -39
- package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.d.ts +0 -6
- package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +0 -18
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.d.ts +0 -2
- package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +0 -31
|
@@ -1,66 +1,61 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var M = Object.prototype.hasOwnProperty,
|
|
4
|
-
var
|
|
1
|
+
var E = Object.defineProperty;
|
|
2
|
+
var S = Object.getOwnPropertySymbols;
|
|
3
|
+
var M = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var b = (i, s, e) => s in i ? E(i, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[s] = e, f = (i, s) => {
|
|
5
5
|
for (var e in s || (s = {}))
|
|
6
|
-
M.call(s, e) &&
|
|
7
|
-
if (
|
|
8
|
-
for (var e of
|
|
9
|
-
|
|
6
|
+
M.call(s, e) && b(i, e, s[e]);
|
|
7
|
+
if (S)
|
|
8
|
+
for (var e of S(s))
|
|
9
|
+
O.call(s, e) && b(i, e, s[e]);
|
|
10
10
|
return i;
|
|
11
11
|
};
|
|
12
|
-
var
|
|
13
|
-
var u = (i, s, e) => new Promise((
|
|
14
|
-
var l = (
|
|
12
|
+
var h = (i, s, e) => (b(i, typeof s != "symbol" ? s + "" : s, e), e);
|
|
13
|
+
var u = (i, s, e) => new Promise((t, r) => {
|
|
14
|
+
var l = (o) => {
|
|
15
15
|
try {
|
|
16
|
-
|
|
17
|
-
} catch (
|
|
18
|
-
|
|
16
|
+
a(e.next(o));
|
|
17
|
+
} catch (p) {
|
|
18
|
+
r(p);
|
|
19
19
|
}
|
|
20
|
-
}, c = (
|
|
20
|
+
}, c = (o) => {
|
|
21
21
|
try {
|
|
22
|
-
|
|
23
|
-
} catch (
|
|
24
|
-
|
|
22
|
+
a(e.throw(o));
|
|
23
|
+
} catch (p) {
|
|
24
|
+
r(p);
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
|
|
26
|
+
}, a = (o) => o.done ? t(o.value) : Promise.resolve(o.value).then(l, c);
|
|
27
|
+
a((e = e.apply(i, s)).next());
|
|
28
28
|
});
|
|
29
|
-
import { Controller as
|
|
29
|
+
import { Controller as D } from "../base/BasePlugin.js";
|
|
30
30
|
import "three";
|
|
31
|
-
import { MoveHelper as
|
|
32
|
-
import { RotateHelper as
|
|
33
|
-
import { RectangleScaleHelper as
|
|
31
|
+
import { MoveHelper as y } from "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
32
|
+
import { RotateHelper as I } from "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
33
|
+
import { RectangleScaleHelper as k } from "../shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js";
|
|
34
34
|
import "../shared-utils/Object3DHelper/Helper/OutlineHelper.js";
|
|
35
35
|
import { MoveController as F } from "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
36
|
-
import { ControllerWrapper as
|
|
37
|
-
import { Object3DHelper as
|
|
38
|
-
import { RotateController as
|
|
39
|
-
import { CSS3DScaleController as
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
46
|
-
console.warn(`${C} is disabled`);
|
|
47
|
-
}, N = () => {
|
|
48
|
-
console.error(`${C} is disabled`);
|
|
36
|
+
import { ControllerWrapper as m } from "./FiveControllerWrapper.js";
|
|
37
|
+
import { Object3DHelper as P } from "../shared-utils/Object3DHelper/index.js";
|
|
38
|
+
import { RotateController as $ } from "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
39
|
+
import { CSS3DScaleController as j } from "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
40
|
+
const g = "v1.0.0", v = "Object3DHelperPlugin", H = `${v}@${g}`, L = () => {
|
|
41
|
+
console.error(`${H} is disposed`);
|
|
42
|
+
}, _ = () => {
|
|
43
|
+
console.warn(`${H} is disabled`);
|
|
44
|
+
}, B = () => {
|
|
45
|
+
console.error(`${H} is disabled`);
|
|
49
46
|
};
|
|
50
|
-
class
|
|
47
|
+
class K extends D {
|
|
51
48
|
constructor(e) {
|
|
52
49
|
super(e);
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
50
|
+
h(this, "version", g);
|
|
51
|
+
h(this, "name", v);
|
|
52
|
+
h(this, "state", {
|
|
56
53
|
visible: !0,
|
|
57
54
|
enabled: !0,
|
|
58
55
|
disposed: !1
|
|
59
56
|
});
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
d(this, "css3DRender");
|
|
63
|
-
this.five = e, this.css3DRender = new L(this.five.scene), console.warn("Object3DHelper: \u4F7F\u7528\u6B64\u63D2\u4EF6\u9700\u8981\u5728\u521D\u59CB\u5316five\u65F6\uFF0C\u8BBE\u7F6Efive\u53C2\u6570: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${H.toUpperCase()}_DEBUG__`]: this });
|
|
57
|
+
h(this, "objectHelperMap", /* @__PURE__ */ new Map());
|
|
58
|
+
this.five = e, console.warn("Object3DHelper: \u4F7F\u7528\u6B64\u63D2\u4EF6\u9700\u8981\u5728\u521D\u59CB\u5316five\u65F6\uFF0C\u8BBE\u7F6Efive\u53C2\u6570: { backgroundAlpha: 0, backgroundColor: 0x000000 }"), Object.assign(window, { [`__${v.toUpperCase()}_DEBUG__`]: this });
|
|
64
59
|
}
|
|
65
60
|
show(e) {
|
|
66
61
|
return u(this, null, function* () {
|
|
@@ -81,80 +76,70 @@ class re extends R {
|
|
|
81
76
|
dispose() {
|
|
82
77
|
this.setState({ disposed: !0 });
|
|
83
78
|
}
|
|
84
|
-
setState(e,
|
|
79
|
+
setState(e, t) {
|
|
85
80
|
if (this.state.disposed)
|
|
86
|
-
return
|
|
81
|
+
return L();
|
|
87
82
|
if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
|
|
88
|
-
return
|
|
89
|
-
const
|
|
90
|
-
this.state =
|
|
83
|
+
return B();
|
|
84
|
+
const r = f({}, this.state);
|
|
85
|
+
this.state = f(f({}, this.state), e), e.disposed !== void 0 && e.disposed !== r.disposed && e.disposed && this.handleDispose(), e.visible !== void 0 && e.visible !== r.visible && this.handleVisible(e.visible), e.enabled !== void 0 && e.enabled !== r.enabled && this.handleEnable(e.enabled), this.hooks.emit("stateChange", { state: this.state, prevState: r });
|
|
91
86
|
}
|
|
92
87
|
getObject3DHelper(e) {
|
|
93
88
|
return this.objectHelperMap.get(e);
|
|
94
89
|
}
|
|
95
|
-
addObject3DHelper(e,
|
|
96
|
-
var
|
|
90
|
+
addObject3DHelper(e, t = {}) {
|
|
91
|
+
var C;
|
|
97
92
|
if (!e)
|
|
98
93
|
return console.error("Object3D is undefined");
|
|
99
94
|
if (this.objectHelperMap.has(e)) {
|
|
100
95
|
console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
|
|
101
96
|
return;
|
|
102
97
|
}
|
|
103
|
-
const
|
|
104
|
-
this.objectHelperMap.set(e,
|
|
105
|
-
const l = (
|
|
106
|
-
if (
|
|
107
|
-
const
|
|
108
|
-
|
|
98
|
+
const r = new P();
|
|
99
|
+
this.objectHelperMap.set(e, r);
|
|
100
|
+
const l = (C = this.five.getElement()) == null ? void 0 : C.parentElement, c = this.five.camera, { moveHelper: a = !0, rotateHelper: o = !0, scaleHelper: p = !0 } = t;
|
|
101
|
+
if (a) {
|
|
102
|
+
const n = new y(e), d = new m(this.five, F, e, n);
|
|
103
|
+
r.addControllers({ moveController: d.helperController });
|
|
109
104
|
}
|
|
110
|
-
if (
|
|
111
|
-
let
|
|
112
|
-
l && c && (
|
|
113
|
-
const
|
|
114
|
-
|
|
105
|
+
if (o) {
|
|
106
|
+
let n;
|
|
107
|
+
l && c && (n = { container: l });
|
|
108
|
+
const d = new I(e, n), w = new m(this.five, $, e, d);
|
|
109
|
+
r.addControllers({ rotateController: w.helperController });
|
|
115
110
|
}
|
|
116
|
-
if (
|
|
117
|
-
const
|
|
118
|
-
|
|
111
|
+
if (p && l) {
|
|
112
|
+
const n = new k(e, l, c, this.five.scene), d = new m(this.five, j, e, n);
|
|
113
|
+
r.addControllers({ scaleController: d.helperController });
|
|
119
114
|
}
|
|
120
|
-
e.isCSS3DObjectPlus &&
|
|
121
|
-
var f, D;
|
|
122
|
-
const o = e, a = (f = this.css3DRender.behindModeCSS3DRenderer.wrapper) != null ? f : W(this.five);
|
|
123
|
-
a && (this.css3DObjectParentMap.set(o, o.parent), o.removeFromParent(), this.css3DRender.behindModeCSS3DRenderer.setWrapper(a), (D = this.css3DRender.getBehindCSS3DObjectGroup()) == null || D.add(o), this.css3DRender.render(this.five.camera));
|
|
124
|
-
});
|
|
115
|
+
e.isCSS3DObjectPlus && e.changeMode("behind", this.five.scene);
|
|
125
116
|
}
|
|
126
117
|
removeObject3DHelper(e) {
|
|
127
|
-
const
|
|
128
|
-
|
|
129
|
-
if (e.isCSS3DObjectPlus) {
|
|
130
|
-
const t = e, l = this.css3DObjectParentMap.get(t);
|
|
131
|
-
l == null || l.add(t), this.css3DRender.render(this.five.camera);
|
|
132
|
-
}
|
|
133
|
-
this.objectHelperMap.delete(e), r.dispose();
|
|
134
|
-
}
|
|
118
|
+
const t = this.objectHelperMap.get(e);
|
|
119
|
+
!t || (e.isCSS3DObjectPlus && e.changeMode("front"), this.objectHelperMap.delete(e), t.dispose());
|
|
135
120
|
}
|
|
136
|
-
handleEnable(e,
|
|
137
|
-
e ? (this.everyHelperDo((
|
|
121
|
+
handleEnable(e, t = !0) {
|
|
122
|
+
e ? (this.everyHelperDo((r) => r.enable()), this.hooks.emit("enable", { userAction: t })) : (this.everyHelperDo((r) => r.disable()), this.hooks.emit("disable", { userAction: t })), this.state.enabled = e;
|
|
138
123
|
}
|
|
139
|
-
handleVisible(e,
|
|
140
|
-
e ? (this.everyHelperDo((
|
|
124
|
+
handleVisible(e, t = !0) {
|
|
125
|
+
e ? (this.everyHelperDo((r) => r.show()), this.actionIfStateIsEnabled(() => this.hooks.emit("show", { userAction: t }))) : (this.everyHelperDo((r) => r.hide()), this.actionIfStateIsEnabled(() => this.hooks.emit("hide", { userAction: t }))), this.state.visible = e;
|
|
141
126
|
}
|
|
142
127
|
handleDispose() {
|
|
143
128
|
this.everyHelperDo((e) => e.dispose());
|
|
144
129
|
}
|
|
145
130
|
everyHelperDo(e) {
|
|
146
|
-
this.objectHelperMap.forEach((
|
|
147
|
-
|
|
131
|
+
this.objectHelperMap.forEach((t) => {
|
|
132
|
+
t && e(t);
|
|
148
133
|
});
|
|
149
134
|
}
|
|
150
|
-
actionIfStateIsEnabled(e,
|
|
135
|
+
actionIfStateIsEnabled(e, t) {
|
|
151
136
|
if (this.state.enabled)
|
|
152
137
|
return e();
|
|
153
|
-
|
|
138
|
+
t != null && t.warnLog && _();
|
|
154
139
|
}
|
|
155
140
|
}
|
|
156
141
|
export {
|
|
157
|
-
|
|
158
|
-
|
|
142
|
+
K as Object3DHelperController,
|
|
143
|
+
H as PLUGIN,
|
|
159
144
|
g as VERSION
|
|
160
145
|
};
|
package/libs/index.js
CHANGED
|
@@ -1,44 +1,43 @@
|
|
|
1
|
-
import { PaintBrush as
|
|
2
|
-
import { PaintBrushTypeEnum as
|
|
3
|
-
import { ModelViewPlugin as
|
|
4
|
-
import { CSS3DRenderPlugin as
|
|
5
|
-
import { PanoCursorRaycasterPlugin as
|
|
6
|
-
import { ModelRoomLabelPlugin as
|
|
7
|
-
import { FLOOR_PLAN_ATTACHED_TO as
|
|
8
|
-
import { ModelFloorplanPlugin as
|
|
9
|
-
import { MapviewFloorplanPlugin as
|
|
10
|
-
import { TopviewFloorplanPlugin as
|
|
11
|
-
import { PanoFloorplanRadarPlugin as
|
|
12
|
-
import { FLOOR_TYPE_MAP as
|
|
13
|
-
import { ModelChassisCompassPlugin as
|
|
14
|
-
import { ModelEntryDoorGuidePlugin as
|
|
15
|
-
import { CameraMovementPlugin as
|
|
16
|
-
import { CameraMovementEffect as
|
|
17
|
-
import { PanoRulerPlugin as
|
|
18
|
-
import { PanoRulerProPlugin as
|
|
19
|
-
import { PanoCompassPlugin as
|
|
20
|
-
import { PanoMeasurePlugin as
|
|
21
|
-
import { PanoSpatialTagPlugin as
|
|
22
|
-
import { modelItemLabelPluginServerParams as
|
|
23
|
-
import { ModelTVVideoPlugin as
|
|
24
|
-
import { DIRECTION as
|
|
25
|
-
import { itemLabelPluginServerParams as
|
|
26
|
-
import { PanoDoorLabelPlugin as
|
|
27
|
-
import { GuideLinePlugin as
|
|
28
|
-
import { CruisePlugin as
|
|
29
|
-
import { PanoTagPlugin as
|
|
30
|
-
import { Object3DHelperPlugin as
|
|
31
|
-
import { index as
|
|
32
|
-
import { Magnifier as
|
|
33
|
-
import { ModelItemLabelPlugin as
|
|
34
|
-
import { Plugin as
|
|
35
|
-
import { CruisePluginController as
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import { Object3DHelperController as Ai, PLUGIN as Di, VERSION as bi } from "./Object3DHelperPlugin/Controller.js";
|
|
1
|
+
import { PaintBrush as Bm } from "./components/PaintBrush/index.js";
|
|
2
|
+
import { PaintBrushTypeEnum as Um } from "./components/PaintBrush/typings.js";
|
|
3
|
+
import { ModelViewPlugin as km } from "./ModelViewPlugin/Plugin.js";
|
|
4
|
+
import { CSS3DRenderPlugin as zm } from "./CSS3DRenderPlugin/index.js";
|
|
5
|
+
import { PanoCursorRaycasterPlugin as Km } from "./PanoCursorRaycasterPlugin/index.js";
|
|
6
|
+
import { ModelRoomLabelPlugin as Wm, modelRoomLabelPluginServerParams as Xm } from "./ModelRoomLabelPlugin/index.js";
|
|
7
|
+
import { FLOOR_PLAN_ATTACHED_TO as $m } from "./floorplan/constant.js";
|
|
8
|
+
import { ModelFloorplanPlugin as rp } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
9
|
+
import { MapviewFloorplanPlugin as mp } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
10
|
+
import { TopviewFloorplanPlugin as ip } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
11
|
+
import { PanoFloorplanRadarPlugin as lp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
12
|
+
import { FLOOR_TYPE_MAP as Pp, ROOM_FETILE_TYPE_MAP as ap, ROOM_TYPE_MAP as fp } from "./floorplan/typings/floorplanServerData.js";
|
|
13
|
+
import { ModelChassisCompassPlugin as xp } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
14
|
+
import { ModelEntryDoorGuidePlugin as Tp } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
15
|
+
import { CameraMovementPlugin as Lp } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
16
|
+
import { CameraMovementEffect as Ep, Rotation as _p } from "./CameraMovementPlugin/typing.js";
|
|
17
|
+
import { PanoRulerPlugin as dp } from "./PanoRulerPlugin/Plugin.js";
|
|
18
|
+
import { PanoRulerProPlugin as Op } from "./PanoRulerProPlugin/index.js";
|
|
19
|
+
import { PanoCompassPlugin as Ap } from "./PanoCompassPlugin/index.js";
|
|
20
|
+
import { PanoMeasurePlugin as Dp } from "./PanoMeasurePlugin/index.js";
|
|
21
|
+
import { PanoSpatialTagPlugin as Yp } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
22
|
+
import { modelItemLabelPluginServerParams as vp } from "./ModelItemLabelPlugin/index.js";
|
|
23
|
+
import { ModelTVVideoPlugin as Gp } from "./ModelTVVideoPlugin/Plugin.js";
|
|
24
|
+
import { DIRECTION as cp } from "./ModelTVVideoPlugin/typings.js";
|
|
25
|
+
import { itemLabelPluginServerParams as hp } from "./ItemLabelPlugin/index.js";
|
|
26
|
+
import { PanoDoorLabelPlugin as Bp } from "./PanoDoorLabelPlugin/index.js";
|
|
27
|
+
import { GuideLinePlugin as Up } from "./GuideLinePlugin/index.js";
|
|
28
|
+
import { CruisePlugin as kp } from "./CruisePlugin/index.js";
|
|
29
|
+
import { PanoTagPlugin as zp } from "./PanoTagPlugin/index.js";
|
|
30
|
+
import { Object3DHelperPlugin as Kp } from "./Object3DHelperPlugin/index.js";
|
|
31
|
+
import { index as Wp } from "./shared-utils/index.js";
|
|
32
|
+
import { Magnifier as Zp } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
33
|
+
import { ModelItemLabelPlugin as oi } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
34
|
+
import { Plugin as ti } from "./ItemLabelPlugin/Plugin.js";
|
|
35
|
+
import { CruisePluginController as pi } from "./CruisePlugin/Controller.js";
|
|
36
|
+
import { DISPLAY_STRATEGY_TYPE as ei } from "./ModelItemLabelPlugin/typings.js";
|
|
37
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as ni } from "./ItemLabelPlugin/typings.js";
|
|
38
|
+
import { PanoTagPluginController as ai, pluginFlag as fi } from "./PanoTagPlugin/controller/index.js";
|
|
39
|
+
import { ContentType as xi, DimensionType as gi, LinkType as Ti, PointType as si } from "./PanoTagPlugin/typings/tag.js";
|
|
40
|
+
import { Object3DHelperController as Mi, PLUGIN as Ei, VERSION as _i } from "./Object3DHelperPlugin/Controller.js";
|
|
42
41
|
import "./components/PaintBrush/Controller.js";
|
|
43
42
|
import "./components/PaintBrush/utils.js";
|
|
44
43
|
import "./components/PaintBrush/tween.js";
|
|
@@ -49,8 +48,13 @@ import "./components/PaintBrush/style.js";
|
|
|
49
48
|
import "@realsee/five";
|
|
50
49
|
import "three";
|
|
51
50
|
import "./CSS3DRenderPlugin/Controller.js";
|
|
52
|
-
import "./CSS3DRenderPlugin/
|
|
53
|
-
import "
|
|
51
|
+
import "./CSS3DRenderPlugin/CSS3DRender.js";
|
|
52
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
53
|
+
import "./shared-utils/Subscribe.js";
|
|
54
|
+
import "./CSS3DRenderPlugin/utils/evenNumber.js";
|
|
55
|
+
import "./CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
56
|
+
import "./CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
|
|
57
|
+
import "./CSS3DRenderPlugin/utils/centerPoint.js";
|
|
54
58
|
import "./shared-utils/createLine/index.js";
|
|
55
59
|
import "@realsee/five/line";
|
|
56
60
|
import "./ModelRoomLabelPlugin/Controller.js";
|
|
@@ -94,7 +98,6 @@ import "./shared-utils/tap.js";
|
|
|
94
98
|
import "./shared-utils/getPxmm.js";
|
|
95
99
|
import "./base/BasePluginWithData.js";
|
|
96
100
|
import "./base/BasePlugin.js";
|
|
97
|
-
import "./shared-utils/Subscribe.js";
|
|
98
101
|
import "./floorplan/utils/correctFiveState.js";
|
|
99
102
|
import "./floorplan/utils/constant.js";
|
|
100
103
|
import "./shared-utils/nearlyEqual.js";
|
|
@@ -110,7 +113,7 @@ import "./floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloo
|
|
|
110
113
|
import "./floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js";
|
|
111
114
|
import "three/examples/jsm/loaders/FBXLoader";
|
|
112
115
|
import "./shared-utils/object3d2LocalMatrix.js";
|
|
113
|
-
import "./shared-utils/three/
|
|
116
|
+
import "./shared-utils/three/transformToMeshBasicMaterial.js";
|
|
114
117
|
import "./shared-utils/createCanvasTextTexture.js";
|
|
115
118
|
import "./shared-utils/three/transformPositionToVector3.js";
|
|
116
119
|
import "./shared-utils/animationFrame/tween.js";
|
|
@@ -214,17 +217,6 @@ import "./CruisePlugin/utils/vectorToCoordinates.js";
|
|
|
214
217
|
import "./CruisePlugin/utils/formatRad.js";
|
|
215
218
|
import "./CruisePlugin/utils/linerValue.js";
|
|
216
219
|
import "./CruisePlugin/utils/sleep.js";
|
|
217
|
-
import "./CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
218
|
-
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
219
|
-
import "./CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
220
|
-
import "./CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
221
|
-
import "./CSS3DRenderPlugin/utils/even.js";
|
|
222
|
-
import "./CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
223
|
-
import "./CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
224
|
-
import "./CSS3DRenderPlugin/utils/centerPoint.js";
|
|
225
|
-
import "./CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
226
|
-
import "./CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
227
|
-
import "./CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
228
220
|
import "object-assign-deep";
|
|
229
221
|
import "./PanoTagPlugin/Components/TagContainer.js";
|
|
230
222
|
import "./PanoTagPlugin/Components/TagWrapper.js";
|
|
@@ -300,55 +292,54 @@ import "./shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
|
300
292
|
import "./shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
301
293
|
import "./shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
302
294
|
export {
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
Ri as pluginFlag
|
|
295
|
+
zm as CSS3DRenderPlugin,
|
|
296
|
+
Ep as CameraMovementEffect,
|
|
297
|
+
Lp as CameraMovementPlugin,
|
|
298
|
+
xi as ContentType,
|
|
299
|
+
kp as CruisePlugin,
|
|
300
|
+
pi as CruisePluginController,
|
|
301
|
+
cp as DIRECTION,
|
|
302
|
+
ei as DISPLAY_STRATEGY_TYPE,
|
|
303
|
+
gi as DimensionType,
|
|
304
|
+
$m as FLOOR_PLAN_ATTACHED_TO,
|
|
305
|
+
Pp as FLOOR_TYPE_MAP,
|
|
306
|
+
Up as GuideLinePlugin,
|
|
307
|
+
ni as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
308
|
+
ti as ItemLabelPlugin,
|
|
309
|
+
Ti as LinkType,
|
|
310
|
+
Zp as Magnifier,
|
|
311
|
+
mp as MapviewFloorplanPlugin,
|
|
312
|
+
xp as ModelChassisCompassPlugin,
|
|
313
|
+
Tp as ModelEntryDoorGuidePlugin,
|
|
314
|
+
rp as ModelFloorplanPlugin,
|
|
315
|
+
oi as ModelItemLabelPlugin,
|
|
316
|
+
Wm as ModelRoomLabelPlugin,
|
|
317
|
+
Gp as ModelTVVideoPlugin,
|
|
318
|
+
km as ModelViewPlugin,
|
|
319
|
+
Mi as Object3DHelperController,
|
|
320
|
+
Kp as Object3DHelperPlugin,
|
|
321
|
+
Ei as PLUGIN,
|
|
322
|
+
Bm as PaintBrush,
|
|
323
|
+
Um as PaintBrushTypeEnum,
|
|
324
|
+
Ap as PanoCompassPlugin,
|
|
325
|
+
Km as PanoCursorRaycasterPlugin,
|
|
326
|
+
Bp as PanoDoorLabelPlugin,
|
|
327
|
+
lp as PanoFloorplanRadarPlugin,
|
|
328
|
+
Dp as PanoMeasurePlugin,
|
|
329
|
+
dp as PanoRulerPlugin,
|
|
330
|
+
Op as PanoRulerProPlugin,
|
|
331
|
+
Yp as PanoSpatialTagPlugin,
|
|
332
|
+
zp as PanoTagPlugin,
|
|
333
|
+
ai as PanoTagPluginController,
|
|
334
|
+
si as PointType,
|
|
335
|
+
ap as ROOM_FETILE_TYPE_MAP,
|
|
336
|
+
fp as ROOM_TYPE_MAP,
|
|
337
|
+
_p as Rotation,
|
|
338
|
+
ip as TopviewFloorplanPlugin,
|
|
339
|
+
Wp as Util,
|
|
340
|
+
_i as VERSION,
|
|
341
|
+
hp as itemLabelPluginServerParams,
|
|
342
|
+
vp as modelItemLabelPluginServerParams,
|
|
343
|
+
Xm as modelRoomLabelPluginServerParams,
|
|
344
|
+
fi as pluginFlag
|
|
354
345
|
};
|
|
@@ -5,7 +5,7 @@ import * as l from "three";
|
|
|
5
5
|
import { Subscribe as y } from "../../Subscribe.js";
|
|
6
6
|
import { DomEvents as j } from "../utils/threex/domevents/index.js";
|
|
7
7
|
import { notNil as g } from "../../isNil.js";
|
|
8
|
-
import { CSS3DObjectPlus as D } from "../../../CSS3DRenderPlugin/utils/
|
|
8
|
+
import { CSS3DObjectPlus as D } from "../../../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
|
|
9
9
|
let h = null;
|
|
10
10
|
class P {
|
|
11
11
|
constructor(e, t, o, n, a, r, c) {
|
|
@@ -2,18 +2,17 @@ var w = Object.defineProperty;
|
|
|
2
2
|
var h = (i, o, r) => o in i ? w(i, o, { enumerable: !0, configurable: !0, writable: !0, value: r }) : i[o] = r;
|
|
3
3
|
var s = (i, o, r) => (h(i, typeof o != "symbol" ? o + "" : o, r), r);
|
|
4
4
|
import { MoveHelperAbstract as A } from "../Base/BaseHelper.js";
|
|
5
|
-
import { ArrowGroup as
|
|
6
|
-
import { AXES_THREE_COLOR as
|
|
5
|
+
import { ArrowGroup as e } from "./Objects/ArrowGroup.js";
|
|
6
|
+
import { AXES_THREE_COLOR as t } from "../Constants/color.js";
|
|
7
7
|
import "three";
|
|
8
|
-
import "../../../CSS3DRenderPlugin/CSS3DRender.js";
|
|
9
8
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
10
9
|
import "./OutlineHelper.js";
|
|
11
|
-
class
|
|
10
|
+
class v extends A {
|
|
12
11
|
constructor(r) {
|
|
13
12
|
super(r);
|
|
14
|
-
s(this, "xArrow", new
|
|
15
|
-
s(this, "yArrow", new
|
|
16
|
-
s(this, "zArrow", new
|
|
13
|
+
s(this, "xArrow", new e({ direction: "x", color: t.X }));
|
|
14
|
+
s(this, "yArrow", new e({ direction: "y", color: t.Y }));
|
|
15
|
+
s(this, "zArrow", new e({ direction: "z", color: t.Z }));
|
|
17
16
|
this.add(this.xArrow), this.add(this.yArrow), this.add(this.zArrow);
|
|
18
17
|
}
|
|
19
18
|
show() {
|
|
@@ -27,5 +26,5 @@ class x extends A {
|
|
|
27
26
|
}
|
|
28
27
|
}
|
|
29
28
|
export {
|
|
30
|
-
|
|
29
|
+
v as MoveHelper
|
|
31
30
|
};
|
|
@@ -3,7 +3,7 @@ import { RectangleScaleHelperAbstract } from '.';
|
|
|
3
3
|
import type { Create3DElementReturnType } from '../../../CSS3DRenderPlugin';
|
|
4
4
|
import type { Vector3 } from 'three';
|
|
5
5
|
import { CSS3DObject } from 'three/examples/jsm/renderers/CSS3DRenderer';
|
|
6
|
-
import type { CSS3DObjectPlus } from '../../../CSS3DRenderPlugin/utils/
|
|
6
|
+
import type { CSS3DObjectPlus } from '../../../CSS3DRenderPlugin/utils/CSS3DObjectPlus';
|
|
7
7
|
declare type NonVoid<T> = T extends void ? never : T;
|
|
8
8
|
declare type OriginObjectType = CSS3DObject | THREE.Object3D;
|
|
9
9
|
export declare class RectangleScaleHelper<T extends OriginObjectType = OriginObjectType> extends RectangleScaleHelperAbstract<T, HTMLElement> {
|
|
@@ -17,7 +17,7 @@ export declare class RectangleScaleHelper<T extends OriginObjectType = OriginObj
|
|
|
17
17
|
private scene;
|
|
18
18
|
private container;
|
|
19
19
|
private enabled;
|
|
20
|
-
constructor(originObject3D: T, container:
|
|
20
|
+
constructor(originObject3D: T, container: Element, camera: THREE.Camera, scene: THREE.Scene);
|
|
21
21
|
updatePosition(): void;
|
|
22
22
|
updateQuaternion(): void;
|
|
23
23
|
applyMatrix4(matrix: THREE.Matrix4): void;
|
|
@@ -3,5 +3,4 @@ import "three";
|
|
|
3
3
|
import "@realsee/five";
|
|
4
4
|
import "@tweenjs/tween.js";
|
|
5
5
|
import "../animationFrame/BetterTween.js";
|
|
6
|
-
import "
|
|
7
|
-
import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
6
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
File without changes
|
package/libs/shared-utils/three/{transfromToMeshBasicMaterial.js → transformToMeshBasicMaterial.js}
RENAMED
|
File without changes
|
package/package.json
CHANGED
|
@@ -3,25 +3,12 @@
|
|
|
3
3
|
"main": "./dist/index.js",
|
|
4
4
|
"module": "./libs/index.js",
|
|
5
5
|
"types": "./libs/index.d.ts",
|
|
6
|
-
"type": "module",
|
|
7
6
|
"author": "REALSEE-DEVELOPER",
|
|
8
7
|
"repository": "https://github.com/realsee-developer/dnalogel.git",
|
|
9
8
|
"description": "如视 VR 看房插件合集",
|
|
10
9
|
"private": false,
|
|
11
|
-
"version": "2.2.
|
|
10
|
+
"version": "2.2.6",
|
|
12
11
|
"license": "SEE LICENSE IN TERMS.txt",
|
|
13
|
-
"scripts": {
|
|
14
|
-
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
|
15
|
-
"dev": "run-p dev:*",
|
|
16
|
-
"dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
|
|
17
|
-
"dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
|
|
18
|
-
"dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
|
|
19
|
-
"build": "run-p build:*",
|
|
20
|
-
"build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
|
|
21
|
-
"build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
|
|
22
|
-
"build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
|
|
23
|
-
"docs": "typedoc --options ./typedoc.json"
|
|
24
|
-
},
|
|
25
12
|
"files": [
|
|
26
13
|
"libs",
|
|
27
14
|
"dist",
|
|
@@ -82,5 +69,17 @@
|
|
|
82
69
|
"peerDependencies": {
|
|
83
70
|
"@realsee/five": "^5.0.0",
|
|
84
71
|
"three": ">=0.115.0 <=0.117.1"
|
|
72
|
+
},
|
|
73
|
+
"scripts": {
|
|
74
|
+
"clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
|
|
75
|
+
"dev": "run-p dev:*",
|
|
76
|
+
"dev:libs": "NODE_ENV=development BUILD_MODULE=libs vite build -m development",
|
|
77
|
+
"dev:dist": "NODE_ENV=development BUILD_MODULE=dist vite build -m development",
|
|
78
|
+
"dev:components": "NODE_ENV=development BUILD_MODULE=components vite build -m development",
|
|
79
|
+
"build": "run-p build:*",
|
|
80
|
+
"build:libs": "NODE_ENV=production BUILD_MODULE=libs vite build -m production",
|
|
81
|
+
"build:dist": "NODE_ENV=production BUILD_MODULE=dist vite build -m production",
|
|
82
|
+
"build:components": "NODE_ENV=production BUILD_MODULE=components vite build -m production",
|
|
83
|
+
"docs": "typedoc --options ./typedoc.json"
|
|
85
84
|
}
|
|
86
|
-
}
|
|
85
|
+
}
|