@realsee/dnalogel 2.8.2 → 2.8.3
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/components/index.js +74 -74
- package/dist/Object3DHelperPlugin/Controller.d.ts +1 -0
- package/dist/index.cjs.js +29 -29
- package/dist/index.js +2565 -2595
- package/dist/index.umd.js +26 -26
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -25
- package/dist/shared-utils/Object3DHelper/Controller/RotateController.d.ts +4 -3
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +25 -16
- package/dist/shared-utils/Object3DHelper/typings/Hooks.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/utils/setObjectQuaternion.d.ts +8 -0
- package/dist/shared-utils/math/deg2Rad.d.ts +1 -0
- package/docs/classes/CSS3DRender.html +31 -31
- package/docs/classes/CruisePluginController.html +24 -24
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/Object3DHelperController.html +27 -27
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +23 -23
- package/docs/classes/PanoMeasurePluginModel.html +22 -22
- package/docs/classes/PanoMeasurePluginPoint.html +14 -14
- package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
- package/docs/classes/PanoTagPluginController.html +47 -47
- 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 +18 -18
- 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/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/CSS3DRenderPlugin.html +5 -5
- package/docs/functions/CameraMovementPlugin.html +5 -5
- package/docs/functions/CruisePlugin.html +5 -5
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +5 -5
- package/docs/functions/MapviewFloorplanPlugin.html +5 -5
- package/docs/functions/ModelChassisCompassPlugin.html +5 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
- package/docs/functions/ModelFloorplanPlugin.html +5 -5
- package/docs/functions/ModelItemLabelPlugin.html +5 -5
- package/docs/functions/ModelRoomLabelPlugin.html +5 -5
- package/docs/functions/ModelTVVideoPlugin.html +5 -5
- package/docs/functions/ModelViewPlugin.html +5 -5
- package/docs/functions/Object3DHelperPlugin.html +5 -5
- package/docs/functions/PanoCompassPlugin.html +5 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
- package/docs/functions/PanoDoorLabelPlugin.html +5 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
- package/docs/functions/PanoMeasurePlugin.html +5 -5
- package/docs/functions/PanoRulerPlugin.html +5 -5
- package/docs/functions/PanoRulerProPlugin.html +5 -5
- package/docs/functions/PanoSpatialTagPlugin.html +5 -5
- package/docs/functions/PanoTagPlugin.html +5 -5
- package/docs/functions/TopviewFloorplanPlugin.html +5 -5
- 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 +5 -5
- package/docs/index.html +4 -4
- package/docs/interfaces/AddTagConfig.html +6 -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/EventMap.html +15 -15
- 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/HelperOffset.html +8 -8
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.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 +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- 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 +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +12 -12
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- 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 +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- 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/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCache.html +12 -12
- package/docs/interfaces/TagConfig.html +10 -10
- package/docs/interfaces/TagIconUrl.html +9 -9
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- 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 +4 -4
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/HelperEventMap.html +9 -9
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelElement.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/PlaneTagElement.html +5 -5
- package/docs/types/Point2DElement.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DElement.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagElement.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagIconSize.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TagPointType.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/VERSION.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/Object3DHelperPlugin/Controller.d.ts +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +5 -2
- package/libs/Object3DHelperPlugin/index.js +10 -7
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +4 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +6 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +93 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +5622 -0
- package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +1325 -0
- package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +173 -0
- package/libs/PanoTagPlugin/mocks/v1/mock1.js +122 -0
- package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +233 -0
- package/libs/PanoTagPlugin/mocks/v1/mock2.js +296 -0
- package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/v1/mock3.js +32 -0
- package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +56 -0
- package/libs/PanoTagPlugin/mocks/v1/mock4.js +60 -0
- package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +13 -0
- package/libs/PanoTagPlugin/mocks/v1/mock5.js +17 -0
- package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +16 -0
- package/libs/PanoTagPlugin/mocks/v1/mock6.js +27 -0
- package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +22 -0
- package/libs/PanoTagPlugin/mocks/v1/mock7.js +228 -0
- package/libs/components/PaintBrush/Controller.js +98 -98
- package/libs/index.js +102 -100
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +15 -15
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +11 -25
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +19 -22
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.d.ts +4 -3
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +98 -109
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +25 -16
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +66 -88
- package/libs/shared-utils/Object3DHelper/typings/Hooks.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/utils/setObjectQuaternion.d.ts +8 -0
- package/libs/shared-utils/Object3DHelper/utils/setObjectQuaternion.js +11 -0
- package/libs/shared-utils/math/deg2Rad.d.ts +1 -0
- package/libs/shared-utils/math/deg2Rad.js +6 -0
- package/package.json +1 -1
package/libs/index.js
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
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 { CSS3DRender as
|
|
33
|
-
import { Model as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { Polyline as
|
|
37
|
-
import { default as
|
|
38
|
-
import { DISPLAY_STRATEGY_TYPE as
|
|
39
|
-
import { ModelItemLabelPlugin as
|
|
40
|
-
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as
|
|
41
|
-
import { Plugin as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { ContentType as
|
|
45
|
-
import { DimensionType as
|
|
46
|
-
import { Object3DHelperController as
|
|
1
|
+
import { PaintBrush as Ap } from "./components/PaintBrush/index.js";
|
|
2
|
+
import { PaintBrushTypeEnum as bp } from "./components/PaintBrush/typings.js";
|
|
3
|
+
import { ModelViewPlugin as yp } from "./ModelViewPlugin/Plugin.js";
|
|
4
|
+
import { CSS3DRenderPlugin as vp } from "./CSS3DRenderPlugin/index.js";
|
|
5
|
+
import { PanoCursorRaycasterPlugin as Np } from "./PanoCursorRaycasterPlugin/index.js";
|
|
6
|
+
import { ModelRoomLabelPlugin as Vp, modelRoomLabelPluginServerParams as hp } from "./ModelRoomLabelPlugin/index.js";
|
|
7
|
+
import { FLOOR_PLAN_ATTACHED_TO as Bp } from "./floorplan/constant.js";
|
|
8
|
+
import { ModelFloorplanPlugin as Up } from "./floorplan/ModelFloorplanPlugin/index.js";
|
|
9
|
+
import { MapviewFloorplanPlugin as kp } from "./floorplan/MapviewFloorplanPlugin/index.js";
|
|
10
|
+
import { TopviewFloorplanPlugin as zp } from "./floorplan/TopviewFloorplanPlugin/index.js";
|
|
11
|
+
import { PanoFloorplanRadarPlugin as Kp } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
|
|
12
|
+
import { FLOOR_TYPE_MAP as Wp, ROOM_FETILE_TYPE_MAP as Xp, ROOM_TYPE_MAP as Zp } from "./floorplan/typings/floorplanServerData.js";
|
|
13
|
+
import { ModelChassisCompassPlugin as oi } from "./ModelChassisCompassPlugin/Plugin.js";
|
|
14
|
+
import { ModelEntryDoorGuidePlugin as ti } from "./ModelEntryDoorGuidePlugin/Plugin.js";
|
|
15
|
+
import { CameraMovementPlugin as pi } from "./CameraMovementPlugin/CameraMovementPlugin.js";
|
|
16
|
+
import { CameraMovementEffect as ei, Rotation as li } from "./CameraMovementPlugin/typing.js";
|
|
17
|
+
import { PanoRulerPlugin as ai } from "./PanoRulerPlugin/Plugin.js";
|
|
18
|
+
import { PanoRulerProPlugin as ui } from "./PanoRulerProPlugin/index.js";
|
|
19
|
+
import { PanoCompassPlugin as xi } from "./PanoCompassPlugin/index.js";
|
|
20
|
+
import { PanoMeasurePlugin as si } from "./PanoMeasurePlugin/index.js";
|
|
21
|
+
import { PanoSpatialTagPlugin as Ti } from "./PanoSpatialTagPlugin/Plugin.js";
|
|
22
|
+
import { modelItemLabelPluginServerParams as Li } from "./ModelItemLabelPlugin/index.js";
|
|
23
|
+
import { ModelTVVideoPlugin as Ri } from "./ModelTVVideoPlugin/Plugin.js";
|
|
24
|
+
import { DIRECTION as Ci } from "./ModelTVVideoPlugin/typings.js";
|
|
25
|
+
import { itemLabelPluginServerParams as Si } from "./ItemLabelPlugin/index.js";
|
|
26
|
+
import { PanoDoorLabelPlugin as Ai } from "./PanoDoorLabelPlugin/index.js";
|
|
27
|
+
import { GuideLinePlugin as bi } from "./GuideLinePlugin/index.js";
|
|
28
|
+
import { CruisePlugin as yi } from "./CruisePlugin/index.js";
|
|
29
|
+
import { PanoTagPlugin as vi } from "./PanoTagPlugin/index.js";
|
|
30
|
+
import { Object3DHelperPlugin as Ni } from "./Object3DHelperPlugin/index.js";
|
|
31
|
+
import { index as Vi } from "./shared-utils/index.js";
|
|
32
|
+
import { CSS3DRender as wi } from "./CSS3DRenderPlugin/CSS3DRender.js";
|
|
33
|
+
import { Model as Hi } from "./PanoMeasurePlugin/Model/index.js";
|
|
34
|
+
import { default as ji } from "./PanoMeasurePlugin/Model/point.js";
|
|
35
|
+
import { default as qi } from "./PanoMeasurePlugin/Model/line.js";
|
|
36
|
+
import { Polyline as Ji } from "./PanoMeasurePlugin/Model/polyline.js";
|
|
37
|
+
import { default as Qi } from "./PanoMeasurePlugin/Modules/Magnifier.js";
|
|
38
|
+
import { DISPLAY_STRATEGY_TYPE as Xi } from "./ModelItemLabelPlugin/typings.js";
|
|
39
|
+
import { ModelItemLabelPlugin as $i } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
|
|
40
|
+
import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as re } from "./ItemLabelPlugin/typings.js";
|
|
41
|
+
import { Plugin as me } from "./ItemLabelPlugin/Plugin.js";
|
|
42
|
+
import { default as ie } from "./CruisePlugin/Controller.js";
|
|
43
|
+
import { default as le, pluginFlag as ne } from "./PanoTagPlugin/controller/index.js";
|
|
44
|
+
import { ContentType as Pe } from "./PanoTagPlugin/typings/tag/TagData.js";
|
|
45
|
+
import { DimensionType as fe, PointType as xe } from "./PanoTagPlugin/typings/tag/Utils.js";
|
|
46
|
+
import { Object3DHelperController as se, PLUGIN as Me, VERSION as Te } from "./Object3DHelperPlugin/Controller.js";
|
|
47
47
|
import "./components/PaintBrush/Controller.js";
|
|
48
48
|
import "./components/PaintBrush/utils.js";
|
|
49
49
|
import "./components/PaintBrush/tween.js";
|
|
@@ -303,6 +303,7 @@ import "./shared-utils/three/GLTFLoader.js";
|
|
|
303
303
|
import "./shared-utils/Object3DHelper/utils/threex/domevents/index.js";
|
|
304
304
|
import "./shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
305
305
|
import "./shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
306
|
+
import "./shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
306
307
|
import "./shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
307
308
|
import "./shared-utils/Object3DHelper/utils/direction.js";
|
|
308
309
|
import "./shared-utils/Object3DHelper/Constants/color.js";
|
|
@@ -320,6 +321,7 @@ import "./shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
|
320
321
|
import "./Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
321
322
|
import "./shared-utils/Object3DHelper/index.js";
|
|
322
323
|
import "./shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
324
|
+
import "./shared-utils/math/deg2Rad.js";
|
|
323
325
|
import "./shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
324
326
|
import "./shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
325
327
|
import "./shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
@@ -337,58 +339,58 @@ import "./shared-utils/three/Assets/index.js";
|
|
|
337
339
|
import "./shared-utils/three/PointDomHelper.js";
|
|
338
340
|
import "./shared-utils/three/FivePointSelector.js";
|
|
339
341
|
export {
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
342
|
+
wi as CSS3DRender,
|
|
343
|
+
vp as CSS3DRenderPlugin,
|
|
344
|
+
ei as CameraMovementEffect,
|
|
345
|
+
pi as CameraMovementPlugin,
|
|
346
|
+
Pe as ContentType,
|
|
347
|
+
yi as CruisePlugin,
|
|
348
|
+
ie as CruisePluginController,
|
|
349
|
+
Ci as DIRECTION,
|
|
350
|
+
Xi as DISPLAY_STRATEGY_TYPE,
|
|
351
|
+
fe as DimensionType,
|
|
352
|
+
Bp as FLOOR_PLAN_ATTACHED_TO,
|
|
353
|
+
Wp as FLOOR_TYPE_MAP,
|
|
354
|
+
bi as GuideLinePlugin,
|
|
355
|
+
re as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
|
|
356
|
+
me as ItemLabelPlugin,
|
|
357
|
+
Qi as Magnifier,
|
|
358
|
+
kp as MapviewFloorplanPlugin,
|
|
359
|
+
oi as ModelChassisCompassPlugin,
|
|
360
|
+
ti as ModelEntryDoorGuidePlugin,
|
|
361
|
+
Up as ModelFloorplanPlugin,
|
|
362
|
+
$i as ModelItemLabelPlugin,
|
|
363
|
+
Vp as ModelRoomLabelPlugin,
|
|
364
|
+
Ri as ModelTVVideoPlugin,
|
|
365
|
+
yp as ModelViewPlugin,
|
|
366
|
+
se as Object3DHelperController,
|
|
367
|
+
Ni as Object3DHelperPlugin,
|
|
368
|
+
Me as PLUGIN,
|
|
369
|
+
Ap as PaintBrush,
|
|
370
|
+
bp as PaintBrushTypeEnum,
|
|
371
|
+
xi as PanoCompassPlugin,
|
|
372
|
+
Np as PanoCursorRaycasterPlugin,
|
|
373
|
+
Ai as PanoDoorLabelPlugin,
|
|
374
|
+
Kp as PanoFloorplanRadarPlugin,
|
|
375
|
+
si as PanoMeasurePlugin,
|
|
376
|
+
qi as PanoMeasurePluginLine,
|
|
377
|
+
Hi as PanoMeasurePluginModel,
|
|
378
|
+
ji as PanoMeasurePluginPoint,
|
|
379
|
+
Ji as PanoMeasurePluginPolyline,
|
|
380
|
+
ai as PanoRulerPlugin,
|
|
381
|
+
ui as PanoRulerProPlugin,
|
|
382
|
+
Ti as PanoSpatialTagPlugin,
|
|
383
|
+
vi as PanoTagPlugin,
|
|
384
|
+
le as PanoTagPluginController,
|
|
385
|
+
xe as PointType,
|
|
386
|
+
Xp as ROOM_FETILE_TYPE_MAP,
|
|
387
|
+
Zp as ROOM_TYPE_MAP,
|
|
388
|
+
li as Rotation,
|
|
389
|
+
zp as TopviewFloorplanPlugin,
|
|
390
|
+
Vi as Util,
|
|
391
|
+
Te as VERSION,
|
|
392
|
+
Si as itemLabelPluginServerParams,
|
|
393
|
+
Li as modelItemLabelPluginServerParams,
|
|
394
|
+
hp as modelRoomLabelPluginServerParams,
|
|
395
|
+
ne as pluginFlag
|
|
394
396
|
};
|
|
@@ -27,12 +27,12 @@ class k {
|
|
|
27
27
|
if (this.getIntersectObject(e))
|
|
28
28
|
return !1;
|
|
29
29
|
});
|
|
30
|
-
var
|
|
31
|
-
this.hooks = (
|
|
30
|
+
var l, d;
|
|
31
|
+
this.hooks = (l = e.sharedHooks) != null ? l : new u(), this.camera = e.camera, this.model = e.model, this.originObject3D = e.originObject3D, this.helperObject3D = e.helperObject3D, this.container = e.container, this.scene = e.scene, this.domEvents = new y(e.camera, e.container), this.onRender = (d = e.onRender) != null ? d : () => {
|
|
32
32
|
}, this.offset = t == null ? void 0 : t.offset, this.initialHelperPosition(), this.initialHelperQuaternion(), this.enable();
|
|
33
|
-
const h = (...c) => this.onSetOriginObjectScale(...c), n = (...c) => this.onSetOriginObjectRotate(...c), r = (...c) => this.onSetOriginObjectPosition(...c), i = (...c) => this.onApplyOriginObjectScale(...c),
|
|
34
|
-
this.hooks.on("setObjectScale", h), this.hooks.on("setObjectRotate", n), this.hooks.on("setObjectPosition", r), this.hooks.on("applyObjectPosition", O), this.hooks.on("applyObjectRotate",
|
|
35
|
-
this.hooks.off("setObjectScale", h), this.hooks.off("setObjectRotate", n), this.hooks.off("setObjectPosition", r), this.hooks.off("applyObjectPosition", O), this.hooks.off("applyObjectRotate",
|
|
33
|
+
const h = (...c) => this.onSetOriginObjectScale(...c), n = (...c) => this.onSetOriginObjectRotate(...c), r = (...c) => this.onSetOriginObjectPosition(...c), i = (...c) => this.onApplyOriginObjectScale(...c), a = (...c) => this.onApplyOriginObjectRotate(...c), O = (...c) => this.onApplyOriginObjectPosition(...c);
|
|
34
|
+
this.hooks.on("setObjectScale", h), this.hooks.on("setObjectRotate", n), this.hooks.on("setObjectPosition", r), this.hooks.on("applyObjectPosition", O), this.hooks.on("applyObjectRotate", a), this.hooks.on("applyObjectScale", i), this.disposers.push(() => {
|
|
35
|
+
this.hooks.off("setObjectScale", h), this.hooks.off("setObjectRotate", n), this.hooks.off("setObjectPosition", r), this.hooks.off("applyObjectPosition", O), this.hooks.off("applyObjectRotate", a), this.hooks.off("applyObjectScale", i);
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
initialHelperPosition() {
|
|
@@ -85,7 +85,7 @@ class k {
|
|
|
85
85
|
this.helperObject3D.scale.copy(e), this.updateOffsetByScale(e);
|
|
86
86
|
}
|
|
87
87
|
onSetOriginObjectRotate(e, t) {
|
|
88
|
-
this.helperObject3D.
|
|
88
|
+
this.helperObject3D.setHelperQuaternion(e, t);
|
|
89
89
|
}
|
|
90
90
|
onSetOriginObjectPosition(e) {
|
|
91
91
|
this.helperObject3D.position.copy(e.clone().add(this.calculateOffset(this.offset)));
|
|
@@ -103,26 +103,26 @@ class k {
|
|
|
103
103
|
const n = (Array.isArray(e) ? e : [e]).filter(m), r = [];
|
|
104
104
|
for (const i of n)
|
|
105
105
|
if (i instanceof p.Mesh || i instanceof p.Group) {
|
|
106
|
-
const
|
|
107
|
-
|
|
106
|
+
const a = i instanceof p.Group ? i.children.filter((o) => o instanceof p.Mesh) : [i];
|
|
107
|
+
a.forEach((o) => {
|
|
108
108
|
o.__originalColor__ = o.material.color.clone(), o.__originalOpacity__ = o.material.opacity;
|
|
109
109
|
});
|
|
110
110
|
const O = () => {
|
|
111
|
-
|
|
111
|
+
a.forEach((o) => {
|
|
112
112
|
o.material.color.set(t), o.material.opacity = h;
|
|
113
113
|
}), this.render();
|
|
114
|
-
},
|
|
115
|
-
|
|
114
|
+
}, l = () => {
|
|
115
|
+
a.forEach((o) => {
|
|
116
116
|
o.material.color.copy(o.__originalColor__), o.material.opacity = o.__originalOpacity__;
|
|
117
117
|
}), this.render();
|
|
118
118
|
}, d = () => {
|
|
119
119
|
this.isDragging || O();
|
|
120
120
|
}, c = () => {
|
|
121
|
-
this.isDragging ||
|
|
121
|
+
this.isDragging || l();
|
|
122
122
|
};
|
|
123
|
-
for (const o of
|
|
124
|
-
this.domEvents.addEventListener(o, "mouseover", d), this.domEvents.addEventListener(o, "mouseout", c), this.hooks.on("moveStart", O), this.hooks.on("moveEnd",
|
|
125
|
-
this.domEvents.removeEventListener(o, "mouseover", d), this.domEvents.removeEventListener(o, "mouseout", c), this.hooks.off("moveStart", O), this.hooks.off("moveEnd",
|
|
123
|
+
for (const o of a)
|
|
124
|
+
this.domEvents.addEventListener(o, "mouseover", d), this.domEvents.addEventListener(o, "mouseout", c), this.hooks.on("moveStart", O), this.hooks.on("moveEnd", l), this.hooks.on("rotateEnd", l), r.push(() => {
|
|
125
|
+
this.domEvents.removeEventListener(o, "mouseover", d), this.domEvents.removeEventListener(o, "mouseout", c), this.hooks.off("moveStart", O), this.hooks.off("moveEnd", l), this.hooks.off("rotateEnd", l);
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
128
|
return () => r.forEach((i) => i == null ? void 0 : i());
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Create3DElementReturnType } from '../../../CSS3DRenderPlugin';
|
|
2
2
|
import type * as THREE from 'three';
|
|
3
|
-
import { Mesh, Object3D, Vector3 } from 'three';
|
|
3
|
+
import { Group, Mesh, Object3D, Vector3 } from 'three';
|
|
4
4
|
import type { Direction, Direction4 } from '../typings';
|
|
5
5
|
import type { tipsDom } from '../Helper/HTML/tipsDom';
|
|
6
6
|
declare type NonVoid<T> = T extends void ? never : T;
|
|
@@ -50,34 +50,20 @@ export declare abstract class MoveHelperAbstract<OriginObject3D extends Object3D
|
|
|
50
50
|
}
|
|
51
51
|
export declare abstract class BoundingBoxHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
direction: Direction;
|
|
59
|
-
};
|
|
60
|
-
abstract yzCircle?: Mesh & {
|
|
61
|
-
direction: Direction;
|
|
62
|
-
};
|
|
63
|
-
abstract xRingHelper?: Object3D;
|
|
64
|
-
abstract yRingHelper?: Object3D;
|
|
65
|
-
abstract zRingHelper?: Object3D;
|
|
66
|
-
abstract xAngleHelper?: Object3D & {
|
|
53
|
+
declare type Circle = (Mesh | Group) & {
|
|
54
|
+
direction: Direction;
|
|
55
|
+
circle: Mesh;
|
|
56
|
+
angleSector?: Mesh & {
|
|
57
|
+
angleDirection: number;
|
|
67
58
|
baseAxes: Vector3;
|
|
68
|
-
direction: Direction;
|
|
69
|
-
};
|
|
70
|
-
abstract yAngleHelper?: Object3D & {
|
|
71
|
-
baseAxes: Vector3;
|
|
72
|
-
direction: Direction;
|
|
73
|
-
};
|
|
74
|
-
abstract zAngleHelper?: Object3D & {
|
|
75
|
-
baseAxes: Vector3;
|
|
76
|
-
direction: Direction;
|
|
77
59
|
};
|
|
60
|
+
};
|
|
61
|
+
export declare abstract class RotateHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
62
|
+
abstract xCircle?: Circle;
|
|
63
|
+
abstract yCircle?: Circle;
|
|
64
|
+
abstract zCircle?: Circle;
|
|
78
65
|
abstract angleTips?: ReturnType<typeof tipsDom>;
|
|
79
66
|
abstract showDraggingHelper(directions: Direction[]): void;
|
|
80
|
-
abstract updateAngleHelperQuaternion(): void;
|
|
81
67
|
}
|
|
82
68
|
export declare abstract class ScaleHelperAbstract<OriginObject3D extends Object3D = Object3D> extends BaseHelper<OriginObject3D> {
|
|
83
69
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var o = (r, t, e) => (
|
|
4
|
-
import { Vector3 as
|
|
5
|
-
|
|
1
|
+
var a = Object.defineProperty;
|
|
2
|
+
var l = (r, t, e) => t in r ? a(r, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[t] = e;
|
|
3
|
+
var o = (r, t, e) => (l(r, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
+
import { Vector3 as c, Object3D as p } from "three";
|
|
5
|
+
import { setObjectQuaternion as h } from "../utils/setObjectQuaternion.js";
|
|
6
|
+
class d extends p {
|
|
6
7
|
constructor() {
|
|
7
8
|
super();
|
|
8
9
|
}
|
|
@@ -23,7 +24,7 @@ class h extends p {
|
|
|
23
24
|
return t !== null && t.remove(this), this;
|
|
24
25
|
}
|
|
25
26
|
}
|
|
26
|
-
class n extends
|
|
27
|
+
class n extends d {
|
|
27
28
|
constructor(e, s) {
|
|
28
29
|
var i;
|
|
29
30
|
super();
|
|
@@ -63,15 +64,11 @@ class n extends h {
|
|
|
63
64
|
this.scale.applyMatrix4(e);
|
|
64
65
|
}
|
|
65
66
|
setHelperQuaternion(e, s) {
|
|
66
|
-
|
|
67
|
-
const i = new a().subVectors(this.position, s).applyQuaternion(e).add(s);
|
|
68
|
-
this.position.copy(i);
|
|
69
|
-
}
|
|
70
|
-
this.quaternion.copy(e);
|
|
67
|
+
h(this, e, s);
|
|
71
68
|
}
|
|
72
69
|
applyHelperQuaternion(e, s) {
|
|
73
70
|
if (s) {
|
|
74
|
-
const i = new
|
|
71
|
+
const i = new c().subVectors(this.position, s).applyQuaternion(e).add(s);
|
|
75
72
|
this.position.copy(i);
|
|
76
73
|
}
|
|
77
74
|
this.applyQuaternion(e);
|
|
@@ -80,20 +77,20 @@ class n extends h {
|
|
|
80
77
|
this.removeFromParent();
|
|
81
78
|
}
|
|
82
79
|
}
|
|
83
|
-
class
|
|
80
|
+
class x extends n {
|
|
84
81
|
}
|
|
85
|
-
class
|
|
82
|
+
class j extends n {
|
|
86
83
|
}
|
|
87
|
-
class
|
|
84
|
+
class v extends n {
|
|
88
85
|
}
|
|
89
|
-
class
|
|
86
|
+
class u extends n {
|
|
90
87
|
}
|
|
91
|
-
class
|
|
88
|
+
class H extends u {
|
|
92
89
|
}
|
|
93
90
|
export {
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
91
|
+
j as BoundingBoxHelperAbstract,
|
|
92
|
+
x as MoveHelperAbstract,
|
|
93
|
+
H as RectangleScaleHelperAbstract,
|
|
94
|
+
v as RotateHelperAbstract,
|
|
95
|
+
u as ScaleHelperAbstract
|
|
99
96
|
};
|
|
@@ -5,9 +5,6 @@ export declare class RotateController<T extends RotateHelperAbstract = RotateHel
|
|
|
5
5
|
protected name: string;
|
|
6
6
|
private get rotateCenter();
|
|
7
7
|
private startInfo?;
|
|
8
|
-
private lastRotation?;
|
|
9
|
-
private rotations;
|
|
10
|
-
private helperObject3DQuaternion;
|
|
11
8
|
private removeListener;
|
|
12
9
|
constructor(...params: ConstructorParameters<typeof BaseController<T>>);
|
|
13
10
|
initialHelperQuaternion(): void;
|
|
@@ -17,6 +14,10 @@ export declare class RotateController<T extends RotateHelperAbstract = RotateHel
|
|
|
17
14
|
z?: number;
|
|
18
15
|
}): void;
|
|
19
16
|
dispose(): void;
|
|
17
|
+
protected onApplyOriginObjectRotate(params: {
|
|
18
|
+
quaternion: THREE.Quaternion;
|
|
19
|
+
origin: THREE.Vector3;
|
|
20
|
+
}): void;
|
|
20
21
|
protected onApplyOriginObjectScale(params: {
|
|
21
22
|
matrix: THREE.Matrix4;
|
|
22
23
|
origin?: THREE.Vector3;
|