@realsee/dnalogel 2.2.5 → 2.2.7
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/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
- package/dist/index.cjs.js +17 -17
- package/dist/index.js +849 -887
- package/dist/index.umd.js +17 -17
- package/dist/shared-utils/three/{transfromToMeshBasicMaterial.d.ts → transformToMeshBasicMaterial.d.ts} +0 -0
- package/docs/assets/main.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 +4 -4
- package/docs/functions/CameraMovementPlugin.html +4 -4
- package/docs/functions/CruisePlugin.html +4 -4
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +4 -4
- package/docs/functions/MapviewFloorplanPlugin.html +4 -4
- package/docs/functions/ModelChassisCompassPlugin.html +4 -4
- package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
- package/docs/functions/ModelFloorplanPlugin.html +4 -4
- package/docs/functions/ModelItemLabelPlugin.html +4 -4
- package/docs/functions/ModelRoomLabelPlugin.html +4 -4
- package/docs/functions/ModelTVVideoPlugin.html +4 -4
- package/docs/functions/ModelViewPlugin.html +4 -4
- package/docs/functions/Object3DHelperPlugin.html +4 -4
- package/docs/functions/PanoCompassPlugin.html +4 -4
- package/docs/functions/PanoCursorRaycasterPlugin.html +4 -4
- package/docs/functions/PanoDoorLabelPlugin.html +4 -4
- package/docs/functions/PanoFloorplanRadarPlugin.html +4 -4
- package/docs/functions/PanoMeasurePlugin.html +4 -4
- package/docs/functions/PanoRulerPlugin.html +4 -4
- package/docs/functions/PanoRulerProPlugin.html +4 -4
- package/docs/functions/PanoSpatialTagPlugin.html +4 -4
- package/docs/functions/PanoTagPlugin.html +4 -4
- package/docs/functions/TopviewFloorplanPlugin.html +4 -4
- 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/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 +5 -5
- 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 +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/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 +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- 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 +4 -4
- package/docs/types/ArrayPosition.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/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeyArray.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 +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/ModelEntryDoorGuidePluginParameterType.html +6 -6
- 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/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/PointTag.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/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.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/CSS3DRenderPlugin/CSS3DRender.js +39 -33
- package/libs/CSS3DRenderPlugin/Controller.js +30 -22
- package/libs/CSS3DRenderPlugin/index.js +12 -3
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +2 -1
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +28 -25
- package/libs/CameraMovementPlugin/index.js +13 -0
- package/libs/CruisePlugin/Controller.js +52 -41
- package/libs/CruisePlugin/index.js +26 -3
- package/libs/CruisePlugin/typing.js +1 -0
- package/libs/GuideLinePlugin/Controller.js +14 -9
- package/libs/GuideLinePlugin/index.js +14 -3
- package/libs/GuideLinePlugin/typing.js +1 -0
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +2 -2
- package/libs/ItemLabelPlugin/ItemLabelItem.js +11 -11
- package/libs/ItemLabelPlugin/Plugin.js +33 -23
- package/libs/ItemLabelPlugin/events.type.js +1 -0
- package/libs/ItemLabelPlugin/index.js +16 -2
- package/libs/ModelChassisCompassPlugin/Plugin.js +3 -2
- package/libs/ModelChassisCompassPlugin/index.js +8 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.d.ts +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +52 -44
- package/libs/ModelEntryDoorGuidePlugin/index.js +9 -0
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +2 -2
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +12 -12
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +28 -22
- package/libs/ModelItemLabelPlugin/index.js +12 -2
- package/libs/ModelRoomLabelPlugin/Controller.js +6 -2
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +13 -13
- package/libs/ModelRoomLabelPlugin/index.js +10 -3
- package/libs/ModelRoomLabelPlugin/typings.js +1 -0
- package/libs/ModelTVVideoPlugin/Plugin.js +35 -25
- package/libs/ModelTVVideoPlugin/index.js +17 -0
- package/libs/ModelViewPlugin/Plugin.js +2 -1
- package/libs/ModelViewPlugin/index.js +6 -0
- package/libs/Object3DHelperPlugin/Controller.js +48 -27
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +13 -9
- package/libs/Object3DHelperPlugin/index.js +40 -3
- package/libs/Object3DHelperPlugin/typings.js +1 -0
- package/libs/PanoCompassPlugin/Controller.js +25 -13
- package/libs/PanoCompassPlugin/index.js +23 -3
- package/libs/PanoCompassPlugin/typings.js +1 -0
- package/libs/PanoCursorRaycasterPlugin/index.js +4 -2
- package/libs/PanoDoorLabelPlugin/BaseController.js +27 -26
- package/libs/PanoDoorLabelPlugin/Controller.js +7 -2
- package/libs/PanoDoorLabelPlugin/index.js +12 -2
- package/libs/PanoDoorLabelPlugin/typings.js +1 -0
- package/libs/PanoMeasurePlugin/index.js +56 -5
- package/libs/PanoRulerPlugin/Plugin.js +22 -17
- package/libs/PanoRulerPlugin/index.js +9 -0
- package/libs/PanoRulerPlugin/style.js +1 -1
- package/libs/PanoRulerPlugin/typings.js +1 -0
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +59 -69
- package/libs/PanoRulerProPlugin/index.js +16 -3
- package/libs/PanoRulerProPlugin/typings.js +1 -0
- package/libs/PanoSpatialTagPlugin/Components/origins.js +41 -42
- package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +74 -62
- package/libs/PanoSpatialTagPlugin/index.js +20 -0
- package/libs/PanoSpatialTagPlugin/store.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
- package/libs/PanoTagPlugin/Components/Common/Audio.js +43 -43
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +7 -7
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +28 -29
- package/libs/PanoTagPlugin/Components/Common/Media.js +92 -100
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +59 -68
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +13 -15
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +26 -28
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +28 -31
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +12 -13
- package/libs/PanoTagPlugin/Components/Common/Text.js +9 -9
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +24 -32
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +97 -118
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +6 -8
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +51 -83
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -72
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +48 -59
- package/libs/PanoTagPlugin/Components/Tag/index.js +75 -104
- package/libs/PanoTagPlugin/Components/TagContainer.js +65 -108
- package/libs/PanoTagPlugin/Components/TagWrapper.js +78 -116
- package/libs/PanoTagPlugin/controller/index.js +2 -2
- package/libs/PanoTagPlugin/index.js +82 -3
- package/libs/PanoTagPlugin/tag.config.js +2 -1
- package/libs/floorplan/Components/BaseImage.js +7 -7
- package/libs/floorplan/Components/Camera.js +24 -24
- package/libs/floorplan/Components/Compass.js +3 -3
- package/libs/floorplan/Components/CurrentFloor.js +47 -56
- package/libs/floorplan/Components/Main.js +80 -99
- package/libs/floorplan/Components/Normalmage.js +5 -5
- package/libs/floorplan/Components/RoomHighlight/Room.js +11 -11
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +13 -14
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +32 -32
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +47 -47
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +23 -23
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +14 -14
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +13 -13
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +13 -13
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +54 -54
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +15 -15
- package/libs/floorplan/Components/SvgImage.js +12 -12
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +111 -81
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +47 -3
- package/libs/floorplan/MapviewFloorplanPlugin/typing.js +1 -0
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +166 -135
- package/libs/floorplan/ModelFloorplanPlugin/index.js +47 -3
- package/libs/floorplan/ModelFloorplanPlugin/typing.js +1 -0
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +3 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +8 -12
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +38 -38
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +71 -80
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +51 -36
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +24 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/typing.js +1 -0
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +155 -126
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +44 -3
- package/libs/floorplan/TopviewFloorplanPlugin/style.d.ts +1 -0
- package/libs/floorplan/TopviewFloorplanPlugin/style.js +11 -0
- package/libs/floorplan/TopviewFloorplanPlugin/typing.js +1 -0
- package/libs/floorplan/typings/index.js +1 -0
- package/libs/index.js +34 -34
- 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/libs/vendor/svelte/internal/index.js +151 -152
- package/package.json +17 -18
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
var E = Object.defineProperty;
|
|
2
2
|
var S = Object.getOwnPropertySymbols;
|
|
3
3
|
var M = Object.prototype.hasOwnProperty, O = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var
|
|
5
|
-
for (var e in
|
|
6
|
-
M.call(
|
|
4
|
+
var f = (o, i, e) => i in o ? E(o, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[i] = e, c = (o, i) => {
|
|
5
|
+
for (var e in i || (i = {}))
|
|
6
|
+
M.call(i, e) && f(o, e, i[e]);
|
|
7
7
|
if (S)
|
|
8
|
-
for (var e of S(
|
|
9
|
-
O.call(
|
|
10
|
-
return
|
|
8
|
+
for (var e of S(i))
|
|
9
|
+
O.call(i, e) && f(o, e, i[e]);
|
|
10
|
+
return o;
|
|
11
11
|
};
|
|
12
|
-
var h = (
|
|
13
|
-
var
|
|
14
|
-
var l = (
|
|
12
|
+
var h = (o, i, e) => (f(o, typeof i != "symbol" ? i + "" : i, e), e);
|
|
13
|
+
var b = (o, i, e) => new Promise((t, r) => {
|
|
14
|
+
var l = (s) => {
|
|
15
15
|
try {
|
|
16
|
-
a(e.next(
|
|
16
|
+
a(e.next(s));
|
|
17
17
|
} catch (p) {
|
|
18
18
|
r(p);
|
|
19
19
|
}
|
|
20
|
-
},
|
|
20
|
+
}, m = (s) => {
|
|
21
21
|
try {
|
|
22
|
-
a(e.throw(
|
|
22
|
+
a(e.throw(s));
|
|
23
23
|
} catch (p) {
|
|
24
24
|
r(p);
|
|
25
25
|
}
|
|
26
|
-
}, a = (
|
|
27
|
-
a((e = e.apply(
|
|
26
|
+
}, a = (s) => s.done ? t(s.value) : Promise.resolve(s.value).then(l, m);
|
|
27
|
+
a((e = e.apply(o, i)).next());
|
|
28
28
|
});
|
|
29
29
|
import { Controller as D } from "../base/BasePlugin.js";
|
|
30
30
|
import "three";
|
|
@@ -33,10 +33,31 @@ import { RotateHelper as I } from "../shared-utils/Object3DHelper/Helper/RotateH
|
|
|
33
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
|
|
36
|
+
import { ControllerWrapper as u } from "./FiveControllerWrapper.js";
|
|
37
37
|
import { Object3DHelper as P } from "../shared-utils/Object3DHelper/index.js";
|
|
38
38
|
import { RotateController as $ } from "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
39
39
|
import { CSS3DScaleController as j } from "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
40
|
+
import "../shared-utils/Subscribe.js";
|
|
41
|
+
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
42
|
+
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
43
|
+
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
44
|
+
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
45
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
46
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
47
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
48
|
+
import "../CSS3DRenderPlugin/CSS3DRender.js";
|
|
49
|
+
import "../CSS3DRenderPlugin/utils/evenNumber.js";
|
|
50
|
+
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
51
|
+
import "../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
|
|
52
|
+
import "../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
53
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
54
|
+
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
55
|
+
import "../shared-utils/Object3DHelper/utils/threex/domevents/index.js";
|
|
56
|
+
import "../shared-utils/isNil.js";
|
|
57
|
+
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
58
|
+
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
59
|
+
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
60
|
+
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
40
61
|
const g = "v1.0.0", v = "Object3DHelperPlugin", H = `${v}@${g}`, L = () => {
|
|
41
62
|
console.error(`${H} is disposed`);
|
|
42
63
|
}, _ = () => {
|
|
@@ -44,7 +65,7 @@ const g = "v1.0.0", v = "Object3DHelperPlugin", H = `${v}@${g}`, L = () => {
|
|
|
44
65
|
}, B = () => {
|
|
45
66
|
console.error(`${H} is disabled`);
|
|
46
67
|
};
|
|
47
|
-
class
|
|
68
|
+
class ue extends D {
|
|
48
69
|
constructor(e) {
|
|
49
70
|
super(e);
|
|
50
71
|
h(this, "version", g);
|
|
@@ -58,12 +79,12 @@ class K extends D {
|
|
|
58
79
|
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 });
|
|
59
80
|
}
|
|
60
81
|
show(e) {
|
|
61
|
-
return
|
|
82
|
+
return b(this, null, function* () {
|
|
62
83
|
this.setState({ visible: !0 }, e);
|
|
63
84
|
});
|
|
64
85
|
}
|
|
65
86
|
hide(e) {
|
|
66
|
-
return
|
|
87
|
+
return b(this, null, function* () {
|
|
67
88
|
this.setState({ visible: !1 }, e);
|
|
68
89
|
});
|
|
69
90
|
}
|
|
@@ -81,8 +102,8 @@ class K extends D {
|
|
|
81
102
|
return L();
|
|
82
103
|
if (!this.state.enabled && e.enabled !== !0 && e.disposed !== !0)
|
|
83
104
|
return B();
|
|
84
|
-
const r =
|
|
85
|
-
this.state =
|
|
105
|
+
const r = c({}, this.state);
|
|
106
|
+
this.state = c(c({}, 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 });
|
|
86
107
|
}
|
|
87
108
|
getObject3DHelper(e) {
|
|
88
109
|
return this.objectHelperMap.get(e);
|
|
@@ -97,19 +118,19 @@ class K extends D {
|
|
|
97
118
|
}
|
|
98
119
|
const r = new P();
|
|
99
120
|
this.objectHelperMap.set(e, r);
|
|
100
|
-
const l = (C = this.five.getElement()) == null ? void 0 : C.parentElement,
|
|
121
|
+
const l = (C = this.five.getElement()) == null ? void 0 : C.parentElement, m = this.five.camera, { moveHelper: a = !0, rotateHelper: s = !0, scaleHelper: p = !0 } = t;
|
|
101
122
|
if (a) {
|
|
102
|
-
const n = new y(e), d = new
|
|
123
|
+
const n = new y(e), d = new u(this.five, F, e, n);
|
|
103
124
|
r.addControllers({ moveController: d.helperController });
|
|
104
125
|
}
|
|
105
|
-
if (
|
|
126
|
+
if (s) {
|
|
106
127
|
let n;
|
|
107
|
-
l &&
|
|
108
|
-
const d = new I(e, n), w = new
|
|
128
|
+
l && m && (n = { container: l });
|
|
129
|
+
const d = new I(e, n), w = new u(this.five, $, e, d);
|
|
109
130
|
r.addControllers({ rotateController: w.helperController });
|
|
110
131
|
}
|
|
111
132
|
if (p && l) {
|
|
112
|
-
const n = new k(e, l,
|
|
133
|
+
const n = new k(e, l, m, this.five.scene), d = new u(this.five, j, e, n);
|
|
113
134
|
r.addControllers({ scaleController: d.helperController });
|
|
114
135
|
}
|
|
115
136
|
e.isCSS3DObjectPlus && e.changeMode("behind", this.five.scene);
|
|
@@ -139,7 +160,7 @@ class K extends D {
|
|
|
139
160
|
}
|
|
140
161
|
}
|
|
141
162
|
export {
|
|
142
|
-
|
|
163
|
+
ue as Object3DHelperController,
|
|
143
164
|
H as PLUGIN,
|
|
144
165
|
g as VERSION
|
|
145
166
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
var c = (t, e, r) => e in t ?
|
|
1
|
+
var h = Object.defineProperty;
|
|
2
|
+
var c = (t, e, r) => e in t ? h(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var n = (t, e, r) => (c(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
4
|
-
class
|
|
5
|
-
constructor(e, r,
|
|
4
|
+
class W {
|
|
5
|
+
constructor(e, r, i, p) {
|
|
6
6
|
n(this, "helperController");
|
|
7
7
|
n(this, "five");
|
|
8
8
|
n(this, "onFiveWantsTapGesture", (e) => {
|
|
@@ -17,15 +17,19 @@ class G {
|
|
|
17
17
|
const r = this.helperController.onWantsGesture(...e);
|
|
18
18
|
return this.five.needsRender = !0, r;
|
|
19
19
|
});
|
|
20
|
-
const { camera: s, model: o, scene: l } = e,
|
|
21
|
-
if (this.five = e, !s || !o || !
|
|
20
|
+
const { camera: s, model: o, scene: l } = e, a = e.getElement();
|
|
21
|
+
if (this.five = e, !s || !o || !a || !l)
|
|
22
22
|
return;
|
|
23
|
-
const
|
|
23
|
+
const u = () => {
|
|
24
24
|
e.needsRender = !0;
|
|
25
25
|
};
|
|
26
|
-
this.helperController = new r(s, o,
|
|
26
|
+
this.helperController = new r(s, o, i, p, a, l, u), e.on("wantsTapGesture", this.onFiveWantsTapGesture), e.on("wantsGesture", this.onFiveWantsGesture);
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
+
const C = (...t) => new W(...t);
|
|
29
30
|
export {
|
|
30
|
-
|
|
31
|
+
W as ControllerWrapper,
|
|
32
|
+
W as FiveControllerWrapper,
|
|
33
|
+
C as controllerWrapper,
|
|
34
|
+
C as fiveControllerWrapper
|
|
31
35
|
};
|
|
@@ -1,5 +1,42 @@
|
|
|
1
|
-
import { Object3DHelperController as
|
|
2
|
-
|
|
1
|
+
import { Object3DHelperController as o } from "./Controller.js";
|
|
2
|
+
import { Object3DHelperController as y, PLUGIN as z, VERSION as A } from "./Controller.js";
|
|
3
|
+
import "../base/BasePlugin.js";
|
|
4
|
+
import "../shared-utils/Subscribe.js";
|
|
5
|
+
import "three";
|
|
6
|
+
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
7
|
+
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
8
|
+
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
9
|
+
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
10
|
+
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
11
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
12
|
+
import "../shared-utils/Object3DHelper/Helper/OutlineHelper.js";
|
|
13
|
+
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
14
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
15
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
16
|
+
import "../shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js";
|
|
17
|
+
import "../CSS3DRenderPlugin/CSS3DRender.js";
|
|
18
|
+
import "../CSS3DRenderPlugin/utils/evenNumber.js";
|
|
19
|
+
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
20
|
+
import "../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
|
|
21
|
+
import "../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
22
|
+
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
23
|
+
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
24
|
+
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
25
|
+
import "../shared-utils/Object3DHelper/utils/threex/domevents/index.js";
|
|
26
|
+
import "../shared-utils/isNil.js";
|
|
27
|
+
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
28
|
+
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
29
|
+
import "./FiveControllerWrapper.js";
|
|
30
|
+
import "../shared-utils/Object3DHelper/index.js";
|
|
31
|
+
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
32
|
+
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
33
|
+
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
34
|
+
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
35
|
+
const k = (r) => new o(r);
|
|
3
36
|
export {
|
|
4
|
-
|
|
37
|
+
y as Object3DHelperController,
|
|
38
|
+
k as Object3DHelperPlugin,
|
|
39
|
+
z as PLUGIN,
|
|
40
|
+
A as VERSION,
|
|
41
|
+
k as default
|
|
5
42
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -11,20 +11,20 @@ var u = (h, n, e) => n in h ? D(h, n, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
};
|
|
12
12
|
var i = (h, n, e) => (u(h, typeof n != "symbol" ? n + "" : n, e), e);
|
|
13
13
|
var d = (h, n, e) => new Promise((t, s) => {
|
|
14
|
-
var o = (
|
|
14
|
+
var o = (m) => {
|
|
15
15
|
try {
|
|
16
|
-
|
|
16
|
+
c(e.next(m));
|
|
17
17
|
} catch (p) {
|
|
18
18
|
s(p);
|
|
19
19
|
}
|
|
20
|
-
}, r = (
|
|
20
|
+
}, r = (m) => {
|
|
21
21
|
try {
|
|
22
|
-
|
|
22
|
+
c(e.throw(m));
|
|
23
23
|
} catch (p) {
|
|
24
24
|
s(p);
|
|
25
25
|
}
|
|
26
|
-
},
|
|
27
|
-
|
|
26
|
+
}, c = (m) => m.done ? t(m.value) : Promise.resolve(m.value).then(o, r);
|
|
27
|
+
c((e = e.apply(h, n)).next());
|
|
28
28
|
});
|
|
29
29
|
import * as a from "three";
|
|
30
30
|
import { Five as C } from "@realsee/five";
|
|
@@ -33,8 +33,20 @@ import { getRoomInfoInstance as _ } from "./getRoomInfoInstance.js";
|
|
|
33
33
|
import { loadTexture as M } from "../shared-utils/three/loadTexture.js";
|
|
34
34
|
import { CSS3DRenderPlugin as F } from "../CSS3DRenderPlugin/index.js";
|
|
35
35
|
import { tweenProgress as W } from "../shared-utils/animationFrame/BetterTween.js";
|
|
36
|
+
import "../base/BasePlugin.js";
|
|
37
|
+
import "../shared-utils/Subscribe.js";
|
|
38
|
+
import "./Assets/roomInfoIcon.js";
|
|
39
|
+
import "../CSS3DRenderPlugin/Controller.js";
|
|
40
|
+
import "../CSS3DRenderPlugin/CSS3DRender.js";
|
|
41
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
42
|
+
import "../CSS3DRenderPlugin/utils/evenNumber.js";
|
|
43
|
+
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
44
|
+
import "../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
|
|
45
|
+
import "../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
46
|
+
import "@tweenjs/tween.js";
|
|
47
|
+
import "../shared-utils/animationFrame/index.js";
|
|
36
48
|
const v = { userAction: !0 };
|
|
37
|
-
class
|
|
49
|
+
class Z extends A {
|
|
38
50
|
constructor(e, t) {
|
|
39
51
|
super(e);
|
|
40
52
|
i(this, "state", {
|
|
@@ -84,9 +96,9 @@ class x extends A {
|
|
|
84
96
|
e !== this.five.panoIndex && ((t = this.compassMeshTween) == null || t.dispose(), (s = this.compassMesh) == null || s.material.setValues({ opacity: 0 }));
|
|
85
97
|
});
|
|
86
98
|
i(this, "onFivePanoArrived", (e) => {
|
|
87
|
-
var s, o, r,
|
|
99
|
+
var s, o, r, c, m, p, I;
|
|
88
100
|
const t = (r = (o = (s = this.five.work) == null ? void 0 : s.observers) == null ? void 0 : o[e]) == null ? void 0 : r.standingPosition;
|
|
89
|
-
if (this.compassMesh && (this.compassMesh.position.copy(t.clone().setY(t.y + 0.01)), this.compassMesh.material.opacity === 0 && ((
|
|
101
|
+
if (this.compassMesh && (this.compassMesh.position.copy(t.clone().setY(t.y + 0.01)), this.compassMesh.material.opacity === 0 && ((c = this.compassMeshTween) == null || c.dispose(), this.compassMeshTween = W(1e3).onUpdate(({ progress: y }) => {
|
|
90
102
|
var f;
|
|
91
103
|
(f = this.compassMesh) == null || f.material.setValues({ opacity: y }), this.five.needsRender = !0;
|
|
92
104
|
}).play())), this.entryDoorMesh) {
|
|
@@ -95,7 +107,7 @@ class x extends A {
|
|
|
95
107
|
this.data.entrance.position.y,
|
|
96
108
|
this.data.entrance.position.z
|
|
97
109
|
).clone().setY(t.y).sub(t).normalize(), b = t.clone().add(f.clone().multiplyScalar(0.7)).setY(t.y + 0.01);
|
|
98
|
-
this.entryDoorMesh.rotation.z = new a.Vector3(0, 0, -1).angleTo(f), this.entryDoorMesh.position.copy(b), ((
|
|
110
|
+
this.entryDoorMesh.rotation.z = new a.Vector3(0, 0, -1).angleTo(f), this.entryDoorMesh.position.copy(b), ((m = this.data) == null ? void 0 : m.room_observers[e].room.type) === 1 ? (p = this.entryDoorMesh) == null || p.material.setValues({ opacity: 1 }) : (I = this.entryDoorMesh) == null || I.material.setValues({ opacity: 0 });
|
|
99
111
|
}
|
|
100
112
|
this.roomInfoInstance && this.roomInfoWrapperInstance && (this.roomInfoWrapperInstance.css3DObject.position.copy(
|
|
101
113
|
t.clone().setY(t.y + 0.01)
|
|
@@ -180,10 +192,10 @@ class x extends A {
|
|
|
180
192
|
}
|
|
181
193
|
init() {
|
|
182
194
|
return d(this, null, function* () {
|
|
183
|
-
var s, o, r,
|
|
195
|
+
var s, o, r, c;
|
|
184
196
|
const e = (o = (s = this.data) == null ? void 0 : s.north_rad) != null ? o : null;
|
|
185
197
|
this._clearCompassIfNeed(), e !== null && (this.compassMesh = yield this.loadCompassMesh(), this.compassMesh.rotateX(-Math.PI / 2), this.compassMesh.rotateZ(e - Math.PI / 2), this.group.add(this.compassMesh));
|
|
186
|
-
const t = (
|
|
198
|
+
const t = (c = (r = this.data) == null ? void 0 : r.entrance) != null ? c : null;
|
|
187
199
|
this._clearEntryDoorIfNeed(), t !== null && (this.entryDoorMesh = yield this.loadEntryDoorMesh(), this.roomInfoWrapperInstance = this.loadRoomInfo(), this.roomInfoInstance = _(), this.entryDoorMesh.rotateX(-Math.PI / 2), this.roomInfoWrapperInstance && this.roomInfoInstance.appendTo(this.roomInfoWrapperInstance.container), this.group.add(this.entryDoorMesh)), this.onFivePanoArrived(this.five.panoIndex || 0), this.five.needsRender = !0;
|
|
188
200
|
});
|
|
189
201
|
}
|
|
@@ -220,5 +232,5 @@ class x extends A {
|
|
|
220
232
|
}
|
|
221
233
|
}
|
|
222
234
|
export {
|
|
223
|
-
|
|
235
|
+
Z as PanoCompassController
|
|
224
236
|
};
|
|
@@ -1,5 +1,25 @@
|
|
|
1
|
-
import { PanoCompassController as
|
|
2
|
-
|
|
1
|
+
import { PanoCompassController as t } from "./Controller.js";
|
|
2
|
+
import "three";
|
|
3
|
+
import "@realsee/five";
|
|
4
|
+
import "../base/BasePluginWithData.js";
|
|
5
|
+
import "../base/BasePlugin.js";
|
|
6
|
+
import "../shared-utils/Subscribe.js";
|
|
7
|
+
import "./getRoomInfoInstance.js";
|
|
8
|
+
import "./Assets/roomInfoIcon.js";
|
|
9
|
+
import "../shared-utils/three/loadTexture.js";
|
|
10
|
+
import "../CSS3DRenderPlugin/index.js";
|
|
11
|
+
import "../CSS3DRenderPlugin/Controller.js";
|
|
12
|
+
import "../CSS3DRenderPlugin/CSS3DRender.js";
|
|
13
|
+
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
14
|
+
import "../CSS3DRenderPlugin/utils/evenNumber.js";
|
|
15
|
+
import "../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
16
|
+
import "../CSS3DRenderPlugin/utils/CSS3DObjectPlus.js";
|
|
17
|
+
import "../CSS3DRenderPlugin/utils/centerPoint.js";
|
|
18
|
+
import "../shared-utils/animationFrame/BetterTween.js";
|
|
19
|
+
import "@tweenjs/tween.js";
|
|
20
|
+
import "../shared-utils/animationFrame/index.js";
|
|
21
|
+
const k = (o, r) => new t(o, r);
|
|
3
22
|
export {
|
|
4
|
-
|
|
23
|
+
k as PanoCompassPlugin,
|
|
24
|
+
k as default
|
|
5
25
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Group as g, Vector3 as r, Raycaster as C } from "three";
|
|
2
2
|
import { createLine as m } from "../shared-utils/createLine/index.js";
|
|
3
|
-
|
|
3
|
+
import "@realsee/five/line";
|
|
4
|
+
const O = (e) => {
|
|
4
5
|
const a = {
|
|
5
6
|
intersection: null,
|
|
6
7
|
disposers: []
|
|
@@ -54,5 +55,6 @@ const R = (e) => {
|
|
|
54
55
|
return { intersection: z, pointAxesHelper: P, movePointTowardsCamera: x, destroy: w, dispose: H, canSeePoint: h };
|
|
55
56
|
};
|
|
56
57
|
export {
|
|
57
|
-
|
|
58
|
+
O as PanoCursorRaycasterPlugin,
|
|
59
|
+
O as default
|
|
58
60
|
};
|
|
@@ -2,58 +2,59 @@ var d = Object.defineProperty, u = Object.defineProperties;
|
|
|
2
2
|
var b = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var o = Object.getOwnPropertySymbols;
|
|
4
4
|
var p = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var n = (s,
|
|
6
|
-
for (var
|
|
7
|
-
p.call(
|
|
5
|
+
var n = (s, e, t) => e in s ? d(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t, i = (s, e) => {
|
|
6
|
+
for (var t in e || (e = {}))
|
|
7
|
+
p.call(e, t) && n(s, t, e[t]);
|
|
8
8
|
if (o)
|
|
9
|
-
for (var
|
|
10
|
-
v.call(
|
|
9
|
+
for (var t of o(e))
|
|
10
|
+
v.call(e, t) && n(s, t, e[t]);
|
|
11
11
|
return s;
|
|
12
|
-
}, a = (s,
|
|
13
|
-
var r = (s,
|
|
12
|
+
}, a = (s, e) => u(s, b(e));
|
|
13
|
+
var r = (s, e, t) => (n(s, typeof e != "symbol" ? e + "" : e, t), t);
|
|
14
14
|
import { Five as c } from "@realsee/five";
|
|
15
15
|
import { Controller as f } from "../base/BasePlugin.js";
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
import "../shared-utils/Subscribe.js";
|
|
17
|
+
class g extends f {
|
|
18
|
+
constructor(t) {
|
|
19
|
+
super(t);
|
|
19
20
|
r(this, "state");
|
|
20
21
|
r(this, "container");
|
|
21
22
|
r(this, "enabled");
|
|
22
|
-
this.five =
|
|
23
|
+
this.five = t, this.five.once("dispose", this.dispose), this.enabled = !0, this.state = this.initState();
|
|
23
24
|
}
|
|
24
|
-
enable(
|
|
25
|
-
this.enabled = !0, this.updateState(a(i({},
|
|
25
|
+
enable(t) {
|
|
26
|
+
this.enabled = !0, this.updateState(a(i({}, t), { userAction: !0 }));
|
|
26
27
|
}
|
|
27
|
-
disable(
|
|
28
|
-
this.enabled = !1, this.updateState(a(i({},
|
|
28
|
+
disable(t) {
|
|
29
|
+
this.enabled = !1, this.updateState(a(i({}, t), { userAction: !0 }));
|
|
29
30
|
}
|
|
30
|
-
show(
|
|
31
|
+
show(t) {
|
|
31
32
|
if (!!this.state.enabled)
|
|
32
|
-
return this.setState(a(i({}, this.state), { visible: !0 }),
|
|
33
|
+
return this.setState(a(i({}, this.state), { visible: !0 }), t), Promise.resolve();
|
|
33
34
|
}
|
|
34
|
-
hide(
|
|
35
|
+
hide(t) {
|
|
35
36
|
if (!!this.state.enabled)
|
|
36
|
-
return this.setState(a(i({}, this.state), { visible: !1 }),
|
|
37
|
+
return this.setState(a(i({}, this.state), { visible: !1 }), t), Promise.resolve();
|
|
37
38
|
}
|
|
38
39
|
dispose() {
|
|
39
40
|
this.container.remove();
|
|
40
41
|
}
|
|
41
|
-
setState(
|
|
42
|
+
setState(t, h) {
|
|
42
43
|
if (!this.enabled)
|
|
43
44
|
return;
|
|
44
45
|
const l = i({}, this.state);
|
|
45
|
-
this.state = i(i(i({}, this.state),
|
|
46
|
+
this.state = i(i(i({}, this.state), t), h), this.stateChangedCallback(l, h);
|
|
46
47
|
}
|
|
47
48
|
get visible() {
|
|
48
49
|
return this.five.state.mode === c.Mode.Panorama;
|
|
49
50
|
}
|
|
50
|
-
appendTo(
|
|
51
|
-
!this.enabled || (this.container =
|
|
51
|
+
appendTo(t) {
|
|
52
|
+
!this.enabled || (this.container = t, this.render());
|
|
52
53
|
}
|
|
53
|
-
updateState(
|
|
54
|
-
this.setState(a(i({}, this.state), { enabled: this.enabled, visible: this.visible }),
|
|
54
|
+
updateState(t) {
|
|
55
|
+
this.setState(a(i({}, this.state), { enabled: this.enabled, visible: this.visible }), t);
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
export {
|
|
58
|
-
|
|
59
|
+
g as BasePanoPluginController
|
|
59
60
|
};
|
|
@@ -15,8 +15,13 @@ import { Raycaster as Q, Vector3 as V, Quaternion as j, Euler as z } from "three
|
|
|
15
15
|
import { BasePanoPluginController as q } from "./BaseController.js";
|
|
16
16
|
import X from "./DoorLabelItem.js";
|
|
17
17
|
import { getCameraToward as Y, isTwoRectOverlaped as Z, getDistance as J, getToward as K } from "./utils.js";
|
|
18
|
+
import "@realsee/five";
|
|
19
|
+
import "../base/BasePlugin.js";
|
|
20
|
+
import "../shared-utils/Subscribe.js";
|
|
21
|
+
import "../vendor/svelte/internal/index.js";
|
|
22
|
+
import "classnames";
|
|
18
23
|
const ee = { userAction: !0 };
|
|
19
|
-
class
|
|
24
|
+
class fe extends q {
|
|
20
25
|
constructor(e) {
|
|
21
26
|
super(e);
|
|
22
27
|
r(this, "MinVisibledistance", 1.8);
|
|
@@ -215,5 +220,5 @@ class re extends q {
|
|
|
215
220
|
}
|
|
216
221
|
}
|
|
217
222
|
export {
|
|
218
|
-
|
|
223
|
+
fe as PanoDoorLabelPluginController
|
|
219
224
|
};
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { PanoDoorLabelPluginController as r } from "./Controller.js";
|
|
2
|
-
|
|
2
|
+
import "three";
|
|
3
|
+
import "./BaseController.js";
|
|
4
|
+
import "@realsee/five";
|
|
5
|
+
import "../base/BasePlugin.js";
|
|
6
|
+
import "../shared-utils/Subscribe.js";
|
|
7
|
+
import "./DoorLabelItem.js";
|
|
8
|
+
import "../vendor/svelte/internal/index.js";
|
|
9
|
+
import "classnames";
|
|
10
|
+
import "./utils.js";
|
|
11
|
+
const b = (o) => new r(o);
|
|
3
12
|
export {
|
|
4
|
-
|
|
13
|
+
b as PanoDoorLabelPlugin,
|
|
14
|
+
b as default
|
|
5
15
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,10 +1,61 @@
|
|
|
1
|
-
import { MeasureController as
|
|
2
|
-
import "
|
|
1
|
+
import { MeasureController as t } from "./Controller/index.js";
|
|
2
|
+
import { Magnifier as pr } from "./Modules/Magnifier.js";
|
|
3
|
+
import "./Modules/FiveHelper.js";
|
|
3
4
|
import "three";
|
|
5
|
+
import "./Controller/EditController.js";
|
|
6
|
+
import "hammerjs";
|
|
7
|
+
import "./Model/index.js";
|
|
8
|
+
import "./Model/line.js";
|
|
9
|
+
import "../shared-utils/uuid.js";
|
|
10
|
+
import "./Model/polyline.js";
|
|
11
|
+
import "./utils/line.js";
|
|
12
|
+
import "@realsee/five/line";
|
|
13
|
+
import "./utils/constants.js";
|
|
4
14
|
import "@realsee/five";
|
|
5
|
-
|
|
6
|
-
|
|
15
|
+
import "./utils/distanceDom.js";
|
|
16
|
+
import "./utils/isNDCPointInScreen.js";
|
|
17
|
+
import "./Model/point.js";
|
|
18
|
+
import "../shared-utils/removeArrayItem.js";
|
|
19
|
+
import "../shared-utils/throttle.js";
|
|
20
|
+
import "./Controller/BaseController.js";
|
|
21
|
+
import "./utils/ironbox.js";
|
|
22
|
+
import "./utils/getIntersectionFromEvent.js";
|
|
23
|
+
import "./utils/getPointFromHammerEvent.js";
|
|
24
|
+
import "./Controller/ViewController.js";
|
|
25
|
+
import "./utils/math.js";
|
|
26
|
+
import "./utils/findAssociatedLines.js";
|
|
27
|
+
import "./Controller/WatchController.js";
|
|
28
|
+
import "./Modules/DeleteDom/index.js";
|
|
29
|
+
import "./Modules/DeleteDom/_Assets/delete.svg.js";
|
|
30
|
+
import "./Modules/DeleteDom/_Assets/delete_bg.png.js";
|
|
31
|
+
import "./Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
|
|
32
|
+
import "./utils/findClosestPoint.js";
|
|
33
|
+
import "./utils/ndc2Screen.js";
|
|
34
|
+
import "./Controller/MixedController.js";
|
|
35
|
+
import "../shared-utils/filter.js";
|
|
36
|
+
import "../shared-utils/tap.js";
|
|
37
|
+
import "./utils/mouseGroup.js";
|
|
38
|
+
import "./Modules/UIController/index.js";
|
|
39
|
+
import "./Modules/UIController/HTML.js";
|
|
40
|
+
import "./Modules/UIController/mobileHTML.js";
|
|
41
|
+
import "./Modules/UIController/style.js";
|
|
42
|
+
import "./Modules/UIController/MainBtnController.js";
|
|
43
|
+
import "./Modules/UIController/mobileMainBtnController.js";
|
|
44
|
+
import "./Modules/UIController/Revoke/index.js";
|
|
45
|
+
import "./Modules/GuideController.js";
|
|
46
|
+
import "./Controller/ShortcutKeyController.js";
|
|
47
|
+
import "./Modules/rangePiece/index.js";
|
|
48
|
+
import "@tweenjs/tween.js";
|
|
49
|
+
import "./Modules/rangePiece/html.js";
|
|
50
|
+
import "../shared-utils/animationFrame/index.js";
|
|
51
|
+
import "../shared-utils/animationFrame/BetterTween.js";
|
|
52
|
+
import "../shared-utils/noop.js";
|
|
53
|
+
import "./utils/calculateThreeMouse.js";
|
|
54
|
+
const tr = function(r, o) {
|
|
55
|
+
return new t(r, o);
|
|
7
56
|
};
|
|
8
57
|
export {
|
|
9
|
-
|
|
58
|
+
pr as Magnifier,
|
|
59
|
+
tr as PanoMeasurePlugin,
|
|
60
|
+
tr as default
|
|
10
61
|
};
|