@realsee/dnalogel 2.1.2-alpha.0 → 2.1.2-alpha.2
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/README.md +3 -12
- 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 +6 -11
- 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 +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/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 +1 -331
- package/libs/CSS3DRenderPlugin/Controller.js +1 -84
- package/libs/CSS3DRenderPlugin/index.js +1 -6
- package/libs/CSS3DRenderPlugin/typing.js +1 -0
- package/libs/CSS3DRenderPlugin/utils/CSS3DObjectPlus.js +1 -67
- package/libs/CSS3DRenderPlugin/utils/centerPoint.js +1 -10
- package/libs/CSS3DRenderPlugin/utils/evenNumber.js +1 -7
- package/libs/CSS3DRenderPlugin/utils/index.js +1 -0
- package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +1 -7
- package/libs/CSS3DRenderPlugin/utils/random.js +1 -0
- package/libs/CameraMovementPlugin/CameraMovementPlugin.js +1 -88
- package/libs/CameraMovementPlugin/index.js +1 -0
- package/libs/CameraMovementPlugin/typing.js +1 -5
- package/libs/CruisePlugin/Controller.js +1 -484
- package/libs/CruisePlugin/index.js +1 -8
- package/libs/CruisePlugin/utils/coordinatesAngle.js +1 -8
- package/libs/CruisePlugin/utils/coordinatesToVector.js +1 -12
- package/libs/CruisePlugin/utils/formatRad.js +1 -7
- package/libs/CruisePlugin/utils/linerValue.js +1 -7
- package/libs/CruisePlugin/utils/safeCall.js +1 -28
- package/libs/CruisePlugin/utils/sleep.js +1 -10
- package/libs/CruisePlugin/utils/vectorToCoordinates.js +1 -10
- package/libs/GuideLinePlugin/Controller.js +1 -144
- package/libs/GuideLinePlugin/index.js +1 -6
- package/libs/GuideLinePlugin/utils/getArrowMaterial.js +1 -13
- package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -64
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +1 -271
- package/libs/ItemLabelPlugin/ItemLabelItem.js +2 -133
- package/libs/ItemLabelPlugin/Plugin.js +2 -76
- package/libs/ItemLabelPlugin/index.js +1 -12
- package/libs/ItemLabelPlugin/typings.js +1 -4
- package/libs/ItemLabelPlugin/utils/getLabelTransform.js +1 -4
- package/libs/ItemLabelPlugin/utils/getStrokeLength.js +1 -16
- package/libs/ItemLabelPlugin/utils/isImpacted.js +1 -10
- package/libs/ItemLabelPlugin/utils/parseData.js +1 -21
- package/libs/ItemLabelPlugin/utils/transform2RenderData.js +1 -21
- package/libs/ModelChassisCompassPlugin/Plugin.js +1 -71
- package/libs/ModelChassisCompassPlugin/index.js +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +1 -78
- package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +1 -212
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +2 -42
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +2 -74
- package/libs/ModelItemLabelPlugin/events.type.js +1 -0
- package/libs/ModelItemLabelPlugin/index.js +1 -12
- package/libs/ModelItemLabelPlugin/typings.js +1 -4
- package/libs/ModelItemLabelPlugin/utils/parseData.js +1 -19
- package/libs/ModelRoomLabelPlugin/Assets/roomLabelBg.js +1 -4
- package/libs/ModelRoomLabelPlugin/Controller.js +1 -60
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +1 -45
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +1 -162
- package/libs/ModelRoomLabelPlugin/index.js +1 -10
- package/libs/ModelRoomLabelPlugin/utils/parseData.js +1 -16
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -164
- package/libs/ModelTVVideoPlugin/index.js +1 -0
- package/libs/ModelTVVideoPlugin/typings.js +1 -4
- package/libs/ModelTVVideoPlugin/utils/parseData.js +1 -20
- package/libs/ModelViewPlugin/Plugin.js +1 -107
- package/libs/ModelViewPlugin/index.js +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +1 -145
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +1 -32
- package/libs/Object3DHelperPlugin/index.js +1 -10
- package/libs/PanoCompassPlugin/Assets/roomInfoIcon.js +1 -4
- package/libs/PanoCompassPlugin/Controller.js +1 -224
- package/libs/PanoCompassPlugin/getRoomInfoInstance.js +1 -24
- package/libs/PanoCompassPlugin/index.js +1 -6
- package/libs/PanoCursorRaycasterPlugin/index.js +1 -59
- package/libs/PanoDoorLabelPlugin/BaseController.js +1 -59
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -219
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +1 -65
- package/libs/PanoDoorLabelPlugin/index.js +1 -6
- package/libs/PanoDoorLabelPlugin/utils.js +1 -23
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +1 -53
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -102
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +1 -125
- package/libs/PanoMeasurePlugin/Controller/ShortcutKeyController.js +1 -33
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +1 -90
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -154
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -140
- package/libs/PanoMeasurePlugin/Model/index.js +1 -92
- package/libs/PanoMeasurePlugin/Model/line.js +1 -56
- package/libs/PanoMeasurePlugin/Model/point.js +1 -30
- package/libs/PanoMeasurePlugin/Model/polyline.js +1 -47
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +2 -5
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -4
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -4
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +3 -67
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +1 -28
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +1 -41
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -103
- package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +8 -12
- package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +1 -50
- package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -36
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -48
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +3 -8
- package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +1 -39
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +1 -62
- package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +2 -7
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +1 -130
- package/libs/PanoMeasurePlugin/index.js +1 -11
- package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -12
- package/libs/PanoMeasurePlugin/utils/constants.js +1 -36
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -62
- package/libs/PanoMeasurePlugin/utils/findAssociatedLines.js +1 -13
- package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +1 -15
- package/libs/PanoMeasurePlugin/utils/getIntersectionFromEvent.js +1 -9
- package/libs/PanoMeasurePlugin/utils/getPointFromHammerEvent.js +1 -8
- package/libs/PanoMeasurePlugin/utils/ironbox.js +1 -4
- package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +1 -7
- package/libs/PanoMeasurePlugin/utils/line.js +1 -18
- package/libs/PanoMeasurePlugin/utils/math.js +1 -13
- package/libs/PanoMeasurePlugin/utils/mouseGroup.js +3 -33
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +1 -8
- package/libs/PanoRulerPlugin/Plugin.js +2 -263
- package/libs/PanoRulerPlugin/index.js +1 -0
- package/libs/PanoRulerPlugin/style.js +2 -5
- package/libs/PanoRulerProPlugin/Controller.js +1 -93
- package/libs/PanoRulerProPlugin/RulerItem.js +1 -128
- package/libs/PanoRulerProPlugin/RulerItems.js +1 -180
- package/libs/PanoRulerProPlugin/index.js +1 -6
- package/libs/PanoSpatialTagPlugin/Components/origins.js +1 -81
- package/libs/PanoSpatialTagPlugin/Components/tag.js +1 -124
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -247
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +1 -5
- package/libs/PanoSpatialTagPlugin/style.js +1 -11
- package/libs/PanoSpatialTagPlugin/typings.js +1 -0
- package/libs/PanoTagPlugin/Assets/Icon.js +1 -6
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +1 -103
- package/libs/PanoTagPlugin/Components/Common/Audio.js +1 -166
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +1 -93
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +1 -90
- package/libs/PanoTagPlugin/Components/Common/Media.js +1 -393
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -139
- package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +1 -170
- package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +1 -51
- package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +1 -51
- package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +1 -166
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +15 -124
- package/libs/PanoTagPlugin/Components/Common/Text.js +1 -131
- package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +1 -134
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +1 -73
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +1 -192
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +1 -126
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -258
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +1 -87
- package/libs/PanoTagPlugin/Components/Tag/TextTag.js +1 -122
- package/libs/PanoTagPlugin/Components/Tag/index.js +2 -289
- package/libs/PanoTagPlugin/Components/TagContainer.js +1 -156
- package/libs/PanoTagPlugin/Components/TagWrapper.js +1 -153
- package/libs/PanoTagPlugin/controller/TagCacheController.js +1 -31
- package/libs/PanoTagPlugin/controller/TagComputer.js +1 -264
- package/libs/PanoTagPlugin/controller/index.js +1 -377
- package/libs/PanoTagPlugin/index.js +1 -9
- package/libs/PanoTagPlugin/tag.config.js +1 -44
- package/libs/PanoTagPlugin/typings/controller.js +1 -0
- package/libs/PanoTagPlugin/typings/index.js +1 -0
- package/libs/PanoTagPlugin/typings/tag.js +1 -7
- package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +1 -6
- package/libs/PanoTagPlugin/utils/addDebugPoints.js +1 -27
- package/libs/PanoTagPlugin/utils/checkRange.js +1 -10
- package/libs/PanoTagPlugin/utils/constants.js +1 -8
- package/libs/PanoTagPlugin/utils/debounce.js +1 -12
- package/libs/PanoTagPlugin/utils/doUtil.js +1 -12
- package/libs/PanoTagPlugin/utils/index.js +1 -0
- package/libs/PanoTagPlugin/utils/noTypecheck.js +1 -4
- package/libs/PanoTagPlugin/utils/normalPositionToPositions.js +1 -13
- package/libs/PanoTagPlugin/utils/planeNormal.js +1 -11
- package/libs/PanoTagPlugin/utils/resizeObserver.js +1 -17
- package/libs/PanoTagPlugin/utils/search.js +1 -15
- package/libs/PanoTagPlugin/utils/tagPosition.js +1 -13
- package/libs/PanoTagPlugin/utils/throttle.js +1 -11
- package/libs/base/BasePlugin.js +1 -18
- package/libs/base/BasePluginWithData.js +1 -6
- package/libs/components/PaintBrush/Controller.js +1 -308
- package/libs/components/PaintBrush/Subscribe.js +1 -47
- package/libs/components/PaintBrush/index.js +1 -45
- package/libs/components/PaintBrush/style.js +2 -5
- package/libs/components/PaintBrush/tween.js +1 -11
- package/libs/components/PaintBrush/typings.js +1 -4
- package/libs/components/PaintBrush/utils.js +1 -45
- package/libs/components/index.js +1 -0
- package/libs/floorplan/Assets/camera.js +1 -4
- package/libs/floorplan/Assets/compass.js +1 -4
- package/libs/floorplan/Assets/floorplanExtraObject.js +1 -4
- package/libs/floorplan/Components/BaseImage.js +1 -103
- package/libs/floorplan/Components/Camera.js +1 -62
- package/libs/floorplan/Components/Compass.js +1 -60
- package/libs/floorplan/Components/CurrentFloor.js +1 -246
- package/libs/floorplan/Components/Main.js +1 -264
- package/libs/floorplan/Components/Normalmage.js +1 -37
- package/libs/floorplan/Components/RoomHighlight/Room.js +1 -61
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +1 -121
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +1 -153
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +1 -174
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +1 -196
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +1 -37
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +1 -39
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +1 -37
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +1 -134
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +1 -139
- package/libs/floorplan/Components/SvgImage.js +2 -39
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -321
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -6
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -316
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -6
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -85
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +1 -129
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +1 -72
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +1 -183
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -164
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -6
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -273
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -6
- package/libs/floorplan/constant.js +1 -4
- package/libs/floorplan/index.js +1 -0
- package/libs/floorplan/typings/floorplanData.js +1 -0
- package/libs/floorplan/typings/floorplanServerData.js +1 -101
- package/libs/floorplan/utils/constant.js +1 -7
- package/libs/floorplan/utils/correctFiveState.js +1 -54
- package/libs/floorplan/utils/formatData.js +1 -104
- package/libs/floorplan/utils/formatPosition.js +1 -35
- package/libs/index.js +1 -92
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +1 -152
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +1 -53
- package/libs/shared-utils/Object3DHelper/Constants/color.js +1 -21
- package/libs/shared-utils/Object3DHelper/Controller/CSS3DScaleController.js +1 -18
- package/libs/shared-utils/Object3DHelper/Controller/MoveController.js +1 -66
- package/libs/shared-utils/Object3DHelper/Controller/RectangleScaleController.js +1 -109
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +1 -134
- package/libs/shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js +1 -79
- package/libs/shared-utils/Object3DHelper/Helper/HTML/tipsDom.js +1 -41
- package/libs/shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js +1 -14
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -30
- package/libs/shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js +1 -35
- package/libs/shared-utils/Object3DHelper/Helper/OutlineHelper.js +1 -2
- package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +1 -137
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +1 -136
- package/libs/shared-utils/Object3DHelper/Helper/index.js +1 -0
- package/libs/shared-utils/Object3DHelper/index.js +1 -169
- package/libs/shared-utils/Object3DHelper/typings/Direction.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/Hooks.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/Scissor.js +1 -0
- package/libs/shared-utils/Object3DHelper/typings/index.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/calculateThreeMouse.js +1 -11
- package/libs/shared-utils/Object3DHelper/utils/direction.js +1 -22
- package/libs/shared-utils/Object3DHelper/utils/filterNotColinearPoints.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.js +1 -14
- package/libs/shared-utils/Object3DHelper/utils/getPoint.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/index.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/normalPositionToPositions.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/object3DBoundingPosition.js +1 -0
- package/libs/shared-utils/Object3DHelper/utils/threex/domevents/index.js +1 -191
- package/libs/shared-utils/Object3DHelper/utils/vectorIsEqual.js +1 -6
- package/libs/shared-utils/Subscribe.js +1 -50
- package/libs/shared-utils/animationFrame/BetterTween.js +1 -26
- package/libs/shared-utils/animationFrame/calculateProgress.js +1 -6
- package/libs/shared-utils/animationFrame/formatRad.js +1 -11
- package/libs/shared-utils/animationFrame/index.js +1 -31
- package/libs/shared-utils/animationFrame/tween.js +1 -30
- package/libs/shared-utils/changeModelCanvasOpacity.js +1 -12
- package/libs/shared-utils/createCanvasTextTexture.js +1 -11
- package/libs/shared-utils/createLine/index.js +1 -9
- package/libs/shared-utils/debounce.js +1 -11
- package/libs/shared-utils/equal.js +1 -54
- package/libs/shared-utils/filter.js +1 -10
- package/libs/shared-utils/five/changeMode.js +1 -39
- package/libs/shared-utils/getPxmm.js +1 -21
- package/libs/shared-utils/index.js +1 -31
- package/libs/shared-utils/isNil.js +1 -10
- package/libs/shared-utils/isTruelyObject.js +1 -6
- package/libs/shared-utils/math/Interval.js +1 -23
- package/libs/shared-utils/math/Rectangle.js +1 -23
- package/libs/shared-utils/math/index.js +1 -0
- package/libs/shared-utils/math/planimetry.js +1 -48
- package/libs/shared-utils/math/rad2Deg.js +1 -6
- package/libs/shared-utils/nearlyEqual.js +1 -6
- package/libs/shared-utils/nextFrame.js +1 -6
- package/libs/shared-utils/noop.js +1 -5
- package/libs/shared-utils/object3d2LocalMatrix.js +1 -19
- package/libs/shared-utils/removeArrayItem.js +1 -8
- package/libs/shared-utils/tap.js +1 -6
- package/libs/shared-utils/three/Assets/index.js +1 -4
- package/libs/shared-utils/three/FivePointSelector.js +1 -49
- package/libs/shared-utils/three/Magnifier.js +1 -104
- package/libs/shared-utils/three/PointDomHelper.js +1 -60
- package/libs/shared-utils/three/PointHelper.js +3 -60
- package/libs/shared-utils/three/getCoords.js +1 -13
- package/libs/shared-utils/three/getIntersect.js +1 -8
- package/libs/shared-utils/three/getRaycaster.js +1 -12
- package/libs/shared-utils/three/index.js +1 -0
- package/libs/shared-utils/three/loadTexture.js +1 -28
- package/libs/shared-utils/three/transformPositionToVector3.js +1 -5
- package/libs/shared-utils/three/transfromToMeshBasicMaterial.js +1 -24
- package/libs/shared-utils/throttle.js +1 -11
- package/libs/shared-utils/tinyEJSrender.js +14 -138
- package/libs/shared-utils/to.js +1 -29
- package/libs/shared-utils/uuid.js +1 -10
- package/libs/vendor/swiper/components-shared/get-changed-params.js +1 -0
- package/libs/vendor/swiper/components-shared/get-params.js +1 -0
- package/libs/vendor/swiper/components-shared/mount-swiper.js +1 -0
- package/libs/vendor/swiper/components-shared/params-list.js +1 -0
- package/libs/vendor/swiper/components-shared/update-swiper.js +1 -0
- package/libs/vendor/swiper/components-shared/utils.js +1 -0
- package/libs/vendor/swiper/svelte/swiper-slide.js +1 -0
- package/libs/vendor/swiper/svelte/swiper-svelte.js +1 -0
- package/libs/vendor/swiper/svelte/swiper.js +1 -0
- package/package.json +187 -17
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/get-changed-params.js +0 -29
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/get-params.js +0 -23
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/mount-swiper.js +0 -14
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/params-list.js +0 -120
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/update-swiper.js +0 -36
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/components-shared/utils.js +0 -32
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/svelte/swiper-slide.js +0 -182
- package/libs/node_modules/.pnpm/swiper@8.4.4/node_modules/swiper/svelte/swiper.js +0 -254
|
@@ -1,156 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import I from "./TagWrapper.js";
|
|
3
|
-
function J(s) {
|
|
4
|
-
q(s, "svelte-1eci49s", ".tag--container.svelte-1eci49s{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tag.hide.svelte-1eci49s{display:none}.withAnimation.svelte-1eci49s{transition:opacity 0.3s linear}.tag--container.hide.svelte-1eci49s{opacity:0;pointer-events:none}.tag--container.hide.svelte-1eci49s *{pointer-events:none}");
|
|
5
|
-
}
|
|
6
|
-
function k(s, e, i) {
|
|
7
|
-
const n = s.slice();
|
|
8
|
-
return n[6] = e[i], n;
|
|
9
|
-
}
|
|
10
|
-
function v(s) {
|
|
11
|
-
let e, i = [], n = /* @__PURE__ */ new Map(), l, r = s[1];
|
|
12
|
-
const f = (a) => a[6].id;
|
|
13
|
-
for (let a = 0; a < r.length; a += 1) {
|
|
14
|
-
let t = k(s, r, a), o = f(t);
|
|
15
|
-
n.set(o, i[a] = y(o, t));
|
|
16
|
-
}
|
|
17
|
-
return {
|
|
18
|
-
c() {
|
|
19
|
-
e = A("div");
|
|
20
|
-
for (let a = 0; a < i.length; a += 1)
|
|
21
|
-
i[a].c();
|
|
22
|
-
T(e, "class", "tag--container svelte-1eci49s"), c(e, "hide", !s[3].visible || !s[5].visible), c(e, "withAnimation", s[0]);
|
|
23
|
-
},
|
|
24
|
-
m(a, t) {
|
|
25
|
-
g(a, e, t);
|
|
26
|
-
for (let o = 0; o < i.length; o += 1)
|
|
27
|
-
i[o].m(e, null);
|
|
28
|
-
l = !0;
|
|
29
|
-
},
|
|
30
|
-
p(a, t) {
|
|
31
|
-
t & 63 && (r = a[1], S(), i = N(i, t, f, 1, a, r, n, e, W, y, null, k), w()), t & 40 && c(e, "hide", !a[3].visible || !a[5].visible), t & 1 && c(e, "withAnimation", a[0]);
|
|
32
|
-
},
|
|
33
|
-
i(a) {
|
|
34
|
-
if (!l) {
|
|
35
|
-
for (let t = 0; t < r.length; t += 1)
|
|
36
|
-
u(i[t]);
|
|
37
|
-
l = !0;
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
o(a) {
|
|
41
|
-
for (let t = 0; t < i.length; t += 1)
|
|
42
|
-
h(i[t]);
|
|
43
|
-
l = !1;
|
|
44
|
-
},
|
|
45
|
-
d(a) {
|
|
46
|
-
a && _(e);
|
|
47
|
-
for (let t = 0; t < i.length; t += 1)
|
|
48
|
-
i[t].d();
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function y(s, e) {
|
|
53
|
-
let i, n, l, r;
|
|
54
|
-
const f = [
|
|
55
|
-
{
|
|
56
|
-
tag: e[6],
|
|
57
|
-
hooks: e[2],
|
|
58
|
-
state: e[3],
|
|
59
|
-
mediaStore: e[4],
|
|
60
|
-
temporaryState: e[5],
|
|
61
|
-
withAnimation: e[0]
|
|
62
|
-
}
|
|
63
|
-
];
|
|
64
|
-
let a = {};
|
|
65
|
-
for (let t = 0; t < f.length; t += 1)
|
|
66
|
-
a = j(a, f[t]);
|
|
67
|
-
return n = new I({ props: a }), {
|
|
68
|
-
key: s,
|
|
69
|
-
first: null,
|
|
70
|
-
c() {
|
|
71
|
-
var t, o, m;
|
|
72
|
-
i = A("div"), B(n.$$.fragment), l = D(), T(i, "class", "tag svelte-1eci49s"), c(i, "hide", !((t = e[6].pointTagStyle) != null && t.leftPercent) || !((o = e[6].pointTagStyle) != null && o.topPercent) || e[6].enabled === !1 || !e[6].state || ((m = e[6].temporaryState) == null ? void 0 : m.visible) === !1), this.first = i;
|
|
73
|
-
},
|
|
74
|
-
m(t, o) {
|
|
75
|
-
g(t, i, o), E(n, i, null), F(i, l), r = !0;
|
|
76
|
-
},
|
|
77
|
-
p(t, o) {
|
|
78
|
-
var d, p, b;
|
|
79
|
-
e = t;
|
|
80
|
-
const m = o & 63 ? G(f, [
|
|
81
|
-
{
|
|
82
|
-
tag: e[6],
|
|
83
|
-
hooks: e[2],
|
|
84
|
-
state: e[3],
|
|
85
|
-
mediaStore: e[4],
|
|
86
|
-
temporaryState: e[5],
|
|
87
|
-
withAnimation: e[0]
|
|
88
|
-
}
|
|
89
|
-
]) : {};
|
|
90
|
-
n.$set(m), o & 2 && c(i, "hide", !((d = e[6].pointTagStyle) != null && d.leftPercent) || !((p = e[6].pointTagStyle) != null && p.topPercent) || e[6].enabled === !1 || !e[6].state || ((b = e[6].temporaryState) == null ? void 0 : b.visible) === !1);
|
|
91
|
-
},
|
|
92
|
-
i(t) {
|
|
93
|
-
r || (u(n.$$.fragment, t), r = !0);
|
|
94
|
-
},
|
|
95
|
-
o(t) {
|
|
96
|
-
h(n.$$.fragment, t), r = !1;
|
|
97
|
-
},
|
|
98
|
-
d(t) {
|
|
99
|
-
t && _(i), H(n);
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
function K(s) {
|
|
104
|
-
let e, i, n = s[3].enabled && v(s);
|
|
105
|
-
return {
|
|
106
|
-
c() {
|
|
107
|
-
n && n.c(), e = M();
|
|
108
|
-
},
|
|
109
|
-
m(l, r) {
|
|
110
|
-
n && n.m(l, r), g(l, e, r), i = !0;
|
|
111
|
-
},
|
|
112
|
-
p(l, [r]) {
|
|
113
|
-
l[3].enabled ? n ? (n.p(l, r), r & 8 && u(n, 1)) : (n = v(l), n.c(), u(n, 1), n.m(e.parentNode, e)) : n && (S(), h(n, 1, 1, () => {
|
|
114
|
-
n = null;
|
|
115
|
-
}), w());
|
|
116
|
-
},
|
|
117
|
-
i(l) {
|
|
118
|
-
i || (u(n), i = !0);
|
|
119
|
-
},
|
|
120
|
-
o(l) {
|
|
121
|
-
h(n), i = !1;
|
|
122
|
-
},
|
|
123
|
-
d(l) {
|
|
124
|
-
n && n.d(l), l && _(e);
|
|
125
|
-
}
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
function L(s, e, i) {
|
|
129
|
-
let { withAnimation: n = !1 } = e, { tags: l = [] } = e, { hooks: r } = e, { state: f } = e, { mediaStore: a } = e, { temporaryState: t } = e;
|
|
130
|
-
return s.$$set = (o) => {
|
|
131
|
-
"withAnimation" in o && i(0, n = o.withAnimation), "tags" in o && i(1, l = o.tags), "hooks" in o && i(2, r = o.hooks), "state" in o && i(3, f = o.state), "mediaStore" in o && i(4, a = o.mediaStore), "temporaryState" in o && i(5, t = o.temporaryState);
|
|
132
|
-
}, [n, l, r, f, a, t];
|
|
133
|
-
}
|
|
134
|
-
class R extends P {
|
|
135
|
-
constructor(e) {
|
|
136
|
-
super(), z(
|
|
137
|
-
this,
|
|
138
|
-
e,
|
|
139
|
-
L,
|
|
140
|
-
K,
|
|
141
|
-
C,
|
|
142
|
-
{
|
|
143
|
-
withAnimation: 0,
|
|
144
|
-
tags: 1,
|
|
145
|
-
hooks: 2,
|
|
146
|
-
state: 3,
|
|
147
|
-
mediaStore: 4,
|
|
148
|
-
temporaryState: 5
|
|
149
|
-
},
|
|
150
|
-
J
|
|
151
|
-
);
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
export {
|
|
155
|
-
R as default
|
|
156
|
-
};
|
|
1
|
+
"use strict";const t=require("svelte/internal"),b=require("./TagWrapper.js");function k(c){t.append_styles(c,"svelte-1eci49s",".tag--container.svelte-1eci49s{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tag.hide.svelte-1eci49s{display:none}.withAnimation.svelte-1eci49s{transition:opacity 0.3s linear}.tag--container.hide.svelte-1eci49s{opacity:0;pointer-events:none}.tag--container.hide.svelte-1eci49s *{pointer-events:none}")}function m(c,e,i){const a=c.slice();return a[6]=e[i],a}function d(c){let e,i=[],a=new Map,s,r=c[1];const f=o=>o[6].id;for(let o=0;o<r.length;o+=1){let n=m(c,r,o),l=f(n);a.set(l,i[o]=p(l,n))}return{c(){e=t.element("div");for(let o=0;o<i.length;o+=1)i[o].c();t.attr(e,"class","tag--container svelte-1eci49s"),t.toggle_class(e,"hide",!c[3].visible||!c[5].visible),t.toggle_class(e,"withAnimation",c[0])},m(o,n){t.insert(o,e,n);for(let l=0;l<i.length;l+=1)i[l].m(e,null);s=!0},p(o,n){n&63&&(r=o[1],t.group_outros(),i=t.update_keyed_each(i,n,f,1,o,r,a,e,t.outro_and_destroy_block,p,null,m),t.check_outros()),n&40&&t.toggle_class(e,"hide",!o[3].visible||!o[5].visible),n&1&&t.toggle_class(e,"withAnimation",o[0])},i(o){if(!s){for(let n=0;n<r.length;n+=1)t.transition_in(i[n]);s=!0}},o(o){for(let n=0;n<i.length;n+=1)t.transition_out(i[n]);s=!1},d(o){o&&t.detach(e);for(let n=0;n<i.length;n+=1)i[n].d()}}}function p(c,e){let i,a,s,r;const f=[{tag:e[6],hooks:e[2],state:e[3],mediaStore:e[4],temporaryState:e[5],withAnimation:e[0]}];let o={};for(let n=0;n<f.length;n+=1)o=t.assign(o,f[n]);return a=new b.TagWrapper({props:o}),{key:c,first:null,c(){var n,l,g;i=t.element("div"),t.create_component(a.$$.fragment),s=t.space(),t.attr(i,"class","tag svelte-1eci49s"),t.toggle_class(i,"hide",!((n=e[6].pointTagStyle)!=null&&n.leftPercent)||!((l=e[6].pointTagStyle)!=null&&l.topPercent)||e[6].enabled===!1||!e[6].state||((g=e[6].temporaryState)==null?void 0:g.visible)===!1),this.first=i},m(n,l){t.insert(n,i,l),t.mount_component(a,i,null),t.append(i,s),r=!0},p(n,l){var _,u,h;e=n;const g=l&63?t.get_spread_update(f,[{tag:e[6],hooks:e[2],state:e[3],mediaStore:e[4],temporaryState:e[5],withAnimation:e[0]}]):{};a.$set(g),l&2&&t.toggle_class(i,"hide",!((_=e[6].pointTagStyle)!=null&&_.leftPercent)||!((u=e[6].pointTagStyle)!=null&&u.topPercent)||e[6].enabled===!1||!e[6].state||((h=e[6].temporaryState)==null?void 0:h.visible)===!1)},i(n){r||(t.transition_in(a.$$.fragment,n),r=!0)},o(n){t.transition_out(a.$$.fragment,n),r=!1},d(n){n&&t.detach(i),t.destroy_component(a)}}}function v(c){let e,i,a=c[3].enabled&&d(c);return{c(){a&&a.c(),e=t.empty()},m(s,r){a&&a.m(s,r),t.insert(s,e,r),i=!0},p(s,[r]){s[3].enabled?a?(a.p(s,r),r&8&&t.transition_in(a,1)):(a=d(s),a.c(),t.transition_in(a,1),a.m(e.parentNode,e)):a&&(t.group_outros(),t.transition_out(a,1,1,()=>{a=null}),t.check_outros())},i(s){i||(t.transition_in(a),i=!0)},o(s){t.transition_out(a),i=!1},d(s){a&&a.d(s),s&&t.detach(e)}}}function y(c,e,i){let{withAnimation:a=!1}=e,{tags:s=[]}=e,{hooks:r}=e,{state:f}=e,{mediaStore:o}=e,{temporaryState:n}=e;return c.$$set=l=>{"withAnimation"in l&&i(0,a=l.withAnimation),"tags"in l&&i(1,s=l.tags),"hooks"in l&&i(2,r=l.hooks),"state"in l&&i(3,f=l.state),"mediaStore"in l&&i(4,o=l.mediaStore),"temporaryState"in l&&i(5,n=l.temporaryState)},[a,s,r,f,o,n]}class S extends t.SvelteComponent{constructor(e){super(),t.init(this,e,y,v,t.safe_not_equal,{withAnimation:0,tags:1,hooks:2,state:3,mediaStore:4,temporaryState:5},k)}}exports.TagContainer=S;
|
|
@@ -1,153 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import "three";
|
|
3
|
-
import { noTypecheck as C } from "../utils/noTypecheck.js";
|
|
4
|
-
import { DimensionType as q, PointType as D, ContentType as X } from "../typings/tag.js";
|
|
5
|
-
import Y from "./Tag/index.js";
|
|
6
|
-
import Z from "./Common/Point/PointSwitch.js";
|
|
7
|
-
import "svelte";
|
|
8
|
-
function x(t) {
|
|
9
|
-
O(t, "svelte-1vzhbu2", ".wrapper.svelte-1vzhbu2{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}.point.svelte-1vzhbu2{-webkit-tap-highlight-color:transparent;position:absolute;transform:translate(-50%, -50%);left:50%;top:50%}");
|
|
10
|
-
}
|
|
11
|
-
function I(t) {
|
|
12
|
-
let e, o;
|
|
13
|
-
return e = new Y({
|
|
14
|
-
props: {
|
|
15
|
-
mediaStore: t[4],
|
|
16
|
-
withAnimation: t[0],
|
|
17
|
-
tag: C(t[1]),
|
|
18
|
-
hooks: t[2],
|
|
19
|
-
state: t[3],
|
|
20
|
-
temporaryState: t[5]
|
|
21
|
-
}
|
|
22
|
-
}), {
|
|
23
|
-
c() {
|
|
24
|
-
E(e.$$.fragment);
|
|
25
|
-
},
|
|
26
|
-
m(a, f) {
|
|
27
|
-
F(e, a, f), o = !0;
|
|
28
|
-
},
|
|
29
|
-
p(a, f) {
|
|
30
|
-
const i = {};
|
|
31
|
-
f & 16 && (i.mediaStore = a[4]), f & 1 && (i.withAnimation = a[0]), f & 2 && (i.tag = C(a[1])), f & 4 && (i.hooks = a[2]), f & 8 && (i.state = a[3]), f & 32 && (i.temporaryState = a[5]), e.$set(i);
|
|
32
|
-
},
|
|
33
|
-
i(a) {
|
|
34
|
-
o || (p(e.$$.fragment, a), o = !0);
|
|
35
|
-
},
|
|
36
|
-
o(a) {
|
|
37
|
-
h(e.$$.fragment, a), o = !1;
|
|
38
|
-
},
|
|
39
|
-
d(a) {
|
|
40
|
-
G(e, a);
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
function L(t) {
|
|
45
|
-
let e, o, a, f, i;
|
|
46
|
-
return o = new Z({ props: { tag: t[1] } }), {
|
|
47
|
-
c() {
|
|
48
|
-
e = W("div"), E(o.$$.fragment), T(e, "class", "point svelte-1vzhbu2");
|
|
49
|
-
},
|
|
50
|
-
m(n, m) {
|
|
51
|
-
j(n, e, m), F(o, e, null), a = !0, f || (i = U(e, "click", V(t[11])), f = !0);
|
|
52
|
-
},
|
|
53
|
-
p(n, m) {
|
|
54
|
-
const u = {};
|
|
55
|
-
m & 2 && (u.tag = n[1]), o.$set(u);
|
|
56
|
-
},
|
|
57
|
-
i(n) {
|
|
58
|
-
a || (p(o.$$.fragment, n), a = !0);
|
|
59
|
-
},
|
|
60
|
-
o(n) {
|
|
61
|
-
h(o.$$.fragment, n), a = !1;
|
|
62
|
-
},
|
|
63
|
-
d(n) {
|
|
64
|
-
n && B(e), G(o), f = !1, i();
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
function $(t) {
|
|
69
|
-
var m, u;
|
|
70
|
-
let e, o, a, f, i = t[1].dimensionType === q.Two && I(t), n = t[1].pointType === D.PointTag && ((u = (m = t[1].style) == null ? void 0 : m.point) == null ? void 0 : u.style) !== "noPoint" && L(t);
|
|
71
|
-
return {
|
|
72
|
-
c() {
|
|
73
|
-
e = W("div"), i && i.c(), o = Q(), n && n.c(), T(e, "class", "wrapper svelte-1vzhbu2"), T(e, "data-id", a = t[1].id), _(e, "hide", t[10]), _(e, "unfolded", t[6]), d(e, "left", t[9], !1), d(e, "top", t[8], !1), d(e, "z-index", t[7], !1);
|
|
74
|
-
},
|
|
75
|
-
m(l, r) {
|
|
76
|
-
j(l, e, r), i && i.m(e, null), R(e, o), n && n.m(e, null), f = !0;
|
|
77
|
-
},
|
|
78
|
-
p(l, [r]) {
|
|
79
|
-
var g, c;
|
|
80
|
-
l[1].dimensionType === q.Two ? i ? (i.p(l, r), r & 2 && p(i, 1)) : (i = I(l), i.c(), p(i, 1), i.m(e, o)) : i && (z(), h(i, 1, 1, () => {
|
|
81
|
-
i = null;
|
|
82
|
-
}), A()), l[1].pointType === D.PointTag && ((c = (g = l[1].style) == null ? void 0 : g.point) == null ? void 0 : c.style) !== "noPoint" ? n ? (n.p(l, r), r & 2 && p(n, 1)) : (n = L(l), n.c(), p(n, 1), n.m(e, null)) : n && (z(), h(n, 1, 1, () => {
|
|
83
|
-
n = null;
|
|
84
|
-
}), A()), (!f || r & 2 && a !== (a = l[1].id)) && T(e, "data-id", a), r & 1024 && _(e, "hide", l[10]), r & 64 && _(e, "unfolded", l[6]), r & 512 && d(e, "left", l[9], !1), r & 256 && d(e, "top", l[8], !1), r & 128 && d(e, "z-index", l[7], !1);
|
|
85
|
-
},
|
|
86
|
-
i(l) {
|
|
87
|
-
f || (p(i), p(n), f = !0);
|
|
88
|
-
},
|
|
89
|
-
o(l) {
|
|
90
|
-
h(i), h(n), f = !1;
|
|
91
|
-
},
|
|
92
|
-
d(l) {
|
|
93
|
-
l && B(e), i && i.d(), n && n.d();
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
function ee(t, e, o) {
|
|
98
|
-
let a, f, i, n, m, u, { withAnimation: l = !1 } = e, { tag: r } = e, { hooks: g } = e, { state: c } = e, { mediaStore: y } = e, { temporaryState: S } = e, k, w = !1;
|
|
99
|
-
function H(s) {
|
|
100
|
-
k !== void 0 && clearTimeout(k), w = !0, k = setTimeout(
|
|
101
|
-
() => {
|
|
102
|
-
w = !1;
|
|
103
|
-
},
|
|
104
|
-
800
|
|
105
|
-
);
|
|
106
|
-
}
|
|
107
|
-
const J = (s) => {
|
|
108
|
-
w || g.emit("click", { event: s, target: "TagPoint", tag: r });
|
|
109
|
-
};
|
|
110
|
-
return t.$$set = (s) => {
|
|
111
|
-
"withAnimation" in s && o(0, l = s.withAnimation), "tag" in s && o(1, r = s.tag), "hooks" in s && o(2, g = s.hooks), "state" in s && o(3, c = s.state), "mediaStore" in s && o(4, y = s.mediaStore), "temporaryState" in s && o(5, S = s.temporaryState);
|
|
112
|
-
}, t.$$.update = () => {
|
|
113
|
-
var s, b, v, P;
|
|
114
|
-
t.$$.dirty & 2 && o(12, a = (s = r.state) == null ? void 0 : s.visible), t.$$.dirty & 4096 && o(10, f = !a), t.$$.dirty & 2 && o(6, i = (b = r.state) == null ? void 0 : b.unfolded), t.$$.dirty & 2 && o(9, n = ((v = r.pointTagStyle) == null ? void 0 : v.leftPercent) + "%"), t.$$.dirty & 2 && o(8, m = ((P = r.pointTagStyle) == null ? void 0 : P.topPercent) + "%"), t.$$.dirty & 2 && o(7, u = r.contentType === X.Link ? 1 : 0), t.$$.dirty & 64 && H();
|
|
115
|
-
}, [
|
|
116
|
-
l,
|
|
117
|
-
r,
|
|
118
|
-
g,
|
|
119
|
-
c,
|
|
120
|
-
y,
|
|
121
|
-
S,
|
|
122
|
-
i,
|
|
123
|
-
u,
|
|
124
|
-
m,
|
|
125
|
-
n,
|
|
126
|
-
f,
|
|
127
|
-
J,
|
|
128
|
-
a
|
|
129
|
-
];
|
|
130
|
-
}
|
|
131
|
-
class re extends K {
|
|
132
|
-
constructor(e) {
|
|
133
|
-
super(), M(
|
|
134
|
-
this,
|
|
135
|
-
e,
|
|
136
|
-
ee,
|
|
137
|
-
$,
|
|
138
|
-
N,
|
|
139
|
-
{
|
|
140
|
-
withAnimation: 0,
|
|
141
|
-
tag: 1,
|
|
142
|
-
hooks: 2,
|
|
143
|
-
state: 3,
|
|
144
|
-
mediaStore: 4,
|
|
145
|
-
temporaryState: 5
|
|
146
|
-
},
|
|
147
|
-
x
|
|
148
|
-
);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
export {
|
|
152
|
-
re as default
|
|
153
|
-
};
|
|
1
|
+
"use strict";const t=require("svelte/internal");require("three");const S=require("../utils/noTypecheck.js"),p=require("../typings/tag.js"),A=require("./Tag/index.js"),C=require("./Common/Point/PointSwitch.js");require("svelte");function j(n){t.append_styles(n,"svelte-1vzhbu2",".wrapper.svelte-1vzhbu2{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}.point.svelte-1vzhbu2{-webkit-tap-highlight-color:transparent;position:absolute;transform:translate(-50%, -50%);left:50%;top:50%}")}function b(n){let e,a;return e=new A.Tag({props:{mediaStore:n[4],withAnimation:n[0],tag:S.noTypecheck(n[1]),hooks:n[2],state:n[3],temporaryState:n[5]}}),{c(){t.create_component(e.$$.fragment)},m(s,l){t.mount_component(e,s,l),a=!0},p(s,l){const i={};l&16&&(i.mediaStore=s[4]),l&1&&(i.withAnimation=s[0]),l&2&&(i.tag=S.noTypecheck(s[1])),l&4&&(i.hooks=s[2]),l&8&&(i.state=s[3]),l&32&&(i.temporaryState=s[5]),e.$set(i)},i(s){a||(t.transition_in(e.$$.fragment,s),a=!0)},o(s){t.transition_out(e.$$.fragment,s),a=!1},d(s){t.destroy_component(e,s)}}}function v(n){let e,a,s,l,i;return a=new C.PointSwitch({props:{tag:n[1]}}),{c(){e=t.element("div"),t.create_component(a.$$.fragment),t.attr(e,"class","point svelte-1vzhbu2")},m(o,m){t.insert(o,e,m),t.mount_component(a,e,null),s=!0,l||(i=t.listen(e,"click",t.stop_propagation(n[11])),l=!0)},p(o,m){const _={};m&2&&(_.tag=o[1]),a.$set(_)},i(o){s||(t.transition_in(a.$$.fragment,o),s=!0)},o(o){t.transition_out(a.$$.fragment,o),s=!1},d(o){o&&t.detach(e),t.destroy_component(a),l=!1,i()}}}function D(n){var m,_;let e,a,s,l,i=n[1].dimensionType===p.DimensionType.Two&&b(n),o=n[1].pointType===p.PointType.PointTag&&((_=(m=n[1].style)==null?void 0:m.point)==null?void 0:_.style)!=="noPoint"&&v(n);return{c(){e=t.element("div"),i&&i.c(),a=t.space(),o&&o.c(),t.attr(e,"class","wrapper svelte-1vzhbu2"),t.attr(e,"data-id",s=n[1].id),t.toggle_class(e,"hide",n[10]),t.toggle_class(e,"unfolded",n[6]),t.set_style(e,"left",n[9],!1),t.set_style(e,"top",n[8],!1),t.set_style(e,"z-index",n[7],!1)},m(r,f){t.insert(r,e,f),i&&i.m(e,null),t.append(e,a),o&&o.m(e,null),l=!0},p(r,[f]){var g,c;r[1].dimensionType===p.DimensionType.Two?i?(i.p(r,f),f&2&&t.transition_in(i,1)):(i=b(r),i.c(),t.transition_in(i,1),i.m(e,a)):i&&(t.group_outros(),t.transition_out(i,1,1,()=>{i=null}),t.check_outros()),r[1].pointType===p.PointType.PointTag&&((c=(g=r[1].style)==null?void 0:g.point)==null?void 0:c.style)!=="noPoint"?o?(o.p(r,f),f&2&&t.transition_in(o,1)):(o=v(r),o.c(),t.transition_in(o,1),o.m(e,null)):o&&(t.group_outros(),t.transition_out(o,1,1,()=>{o=null}),t.check_outros()),(!l||f&2&&s!==(s=r[1].id))&&t.attr(e,"data-id",s),f&1024&&t.toggle_class(e,"hide",r[10]),f&64&&t.toggle_class(e,"unfolded",r[6]),f&512&&t.set_style(e,"left",r[9],!1),f&256&&t.set_style(e,"top",r[8],!1),f&128&&t.set_style(e,"z-index",r[7],!1)},i(r){l||(t.transition_in(i),t.transition_in(o),l=!0)},o(r){t.transition_out(i),t.transition_out(o),l=!1},d(r){r&&t.detach(e),i&&i.d(),o&&o.d()}}}function W(n,e,a){let s,l,i,o,m,_,{withAnimation:r=!1}=e,{tag:f}=e,{hooks:g}=e,{state:c}=e,{mediaStore:T}=e,{temporaryState:y}=e,h,d=!1;function q(u){h!==void 0&&clearTimeout(h),d=!0,h=setTimeout(()=>{d=!1},800)}const z=u=>{d||g.emit("click",{event:u,target:"TagPoint",tag:f})};return n.$$set=u=>{"withAnimation"in u&&a(0,r=u.withAnimation),"tag"in u&&a(1,f=u.tag),"hooks"in u&&a(2,g=u.hooks),"state"in u&&a(3,c=u.state),"mediaStore"in u&&a(4,T=u.mediaStore),"temporaryState"in u&&a(5,y=u.temporaryState)},n.$$.update=()=>{var u,P,k,w;n.$$.dirty&2&&a(12,s=(u=f.state)==null?void 0:u.visible),n.$$.dirty&4096&&a(10,l=!s),n.$$.dirty&2&&a(6,i=(P=f.state)==null?void 0:P.unfolded),n.$$.dirty&2&&a(9,o=((k=f.pointTagStyle)==null?void 0:k.leftPercent)+"%"),n.$$.dirty&2&&a(8,m=((w=f.pointTagStyle)==null?void 0:w.topPercent)+"%"),n.$$.dirty&2&&a(7,_=f.contentType===p.ContentType.Link?1:0),n.$$.dirty&64&&q()},[r,f,g,c,T,y,i,_,m,o,l,z,s]}class I extends t.SvelteComponent{constructor(e){super(),t.init(this,e,W,D,t.safe_not_equal,{withAnimation:0,tag:1,hooks:2,state:3,mediaStore:4,temporaryState:5},j)}}exports.TagWrapper=I;
|
|
@@ -1,31 +1 @@
|
|
|
1
|
-
var x =
|
|
2
|
-
var u = (n, t, e) => t in n ? x(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
|
|
3
|
-
var f = (n, t, e) => (u(n, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
-
import { Controller as I } from "../../base/BasePlugin.js";
|
|
5
|
-
class p extends I {
|
|
6
|
-
constructor(e) {
|
|
7
|
-
super(e);
|
|
8
|
-
f(this, "tagCacheByPanoIndex", {});
|
|
9
|
-
}
|
|
10
|
-
getCaches({ panoIndex: e, id: a, key: s }) {
|
|
11
|
-
var i, C, g, l;
|
|
12
|
-
const { five: r } = this, c = (i = r.panoIndex) != null ? i : e;
|
|
13
|
-
if (c === void 0)
|
|
14
|
-
throw new Error(`TagCacheController getCache(): fivePanoIndex is ${c}`);
|
|
15
|
-
const h = `${(g = (C = r.work) == null ? void 0 : C.workCode) != null ? g : r.model.uuid}-${c}`;
|
|
16
|
-
let o = this.tagCacheByPanoIndex[h];
|
|
17
|
-
if (o || (o = /* @__PURE__ */ new Map(), this.tagCacheByPanoIndex[h] = o), a === void 0)
|
|
18
|
-
return o;
|
|
19
|
-
if (s === void 0) {
|
|
20
|
-
const d = o.get(a);
|
|
21
|
-
return d || (o.set(a, {}), o.get(a));
|
|
22
|
-
}
|
|
23
|
-
return (l = o.get(a)) == null ? void 0 : l[s];
|
|
24
|
-
}
|
|
25
|
-
clearCache() {
|
|
26
|
-
this.tagCacheByPanoIndex = {};
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
export {
|
|
30
|
-
p as TagCacheController
|
|
31
|
-
};
|
|
1
|
+
"use strict";var f=Object.defineProperty;var x=(n,a,e)=>a in n?f(n,a,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[a]=e;var d=(n,a,e)=>(x(n,typeof a!="symbol"?a+"":a,e),e);const P=require("../../base/BasePlugin.js");class I extends P.Controller{constructor(e){super(e);d(this,"tagCacheByPanoIndex",{})}getCaches({panoIndex:e,id:o,key:s}){var i,l,C,g;const{five:r}=this,c=(i=r.panoIndex)!=null?i:e;if(c===void 0)throw new Error(`TagCacheController getCache(): fivePanoIndex is ${c}`);const h=`${(C=(l=r.work)==null?void 0:l.workCode)!=null?C:r.model.uuid}-${c}`;let t=this.tagCacheByPanoIndex[h];if(t||(t=new Map,this.tagCacheByPanoIndex[h]=t),o===void 0)return t;if(s===void 0){const u=t.get(o);return u||(t.set(o,{}),t.get(o))}return(g=t.get(o))==null?void 0:g[s]}clearCache(){this.tagCacheByPanoIndex={}}}exports.TagCacheController=I;
|
|
@@ -1,264 +1 @@
|
|
|
1
|
-
var w = Object.defineProperty;
|
|
2
|
-
var j = (p, u, e) => u in p ? w(p, u, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[u] = e;
|
|
3
|
-
var b = (p, u, e) => (j(p, typeof u != "symbol" ? u + "" : u, e), e);
|
|
4
|
-
import T from "object-assign-deep";
|
|
5
|
-
import * as I from "three";
|
|
6
|
-
import { DefaultConfig as k } from "../tag.config.js";
|
|
7
|
-
import { DimensionType as y, PointType as v } from "../typings/tag.js";
|
|
8
|
-
import { arrayPositionToVector3 as B, anyPositionToVector3 as U } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
|
|
9
|
-
import { planeNormal as E } from "../utils/planeNormal.js";
|
|
10
|
-
import { tagPosition as C } from "../utils/tagPosition.js";
|
|
11
|
-
import { checkRange as P } from "../utils/checkRange.js";
|
|
12
|
-
import { TagCacheController as V } from "./TagCacheController.js";
|
|
13
|
-
class O extends V {
|
|
14
|
-
constructor(e) {
|
|
15
|
-
super(e);
|
|
16
|
-
b(this, "tags", []);
|
|
17
|
-
b(this, "config", k);
|
|
18
|
-
b(this, "raycaster", new I.Raycaster());
|
|
19
|
-
}
|
|
20
|
-
getTagById(e) {
|
|
21
|
-
const n = this.tags.find((i) => i.id === e);
|
|
22
|
-
if (!n) {
|
|
23
|
-
console.error(`getTagById(): tag is ${n}, id is ${e}`);
|
|
24
|
-
return;
|
|
25
|
-
}
|
|
26
|
-
return n;
|
|
27
|
-
}
|
|
28
|
-
changeConfig(e, n = !0) {
|
|
29
|
-
n ? this.config = T({}, this.config, e) : this.config = e, this.clearCache();
|
|
30
|
-
}
|
|
31
|
-
changeGlobalConfig(e, n = !0) {
|
|
32
|
-
n ? this.config.globalConfig = T({}, this.config.globalConfig, e) : this.config.globalConfig = e, this.clearCache();
|
|
33
|
-
}
|
|
34
|
-
changeContentTypeConfig(e, n, i = !0) {
|
|
35
|
-
this.config.contentTypeConfig || (this.config.contentTypeConfig = {}), i ? this.config.contentTypeConfig[e] = T({}, this.config.contentTypeConfig[e], n) : this.config.contentTypeConfig[e] = n, this.clearCache();
|
|
36
|
-
}
|
|
37
|
-
getVisibleByPanoIndex(e, n) {
|
|
38
|
-
var t;
|
|
39
|
-
const i = this.getCaches({ panoIndex: n, id: e.id }), o = (t = this.five.panoIndex) != null ? t : n;
|
|
40
|
-
if (i.visible !== void 0)
|
|
41
|
-
return i.visible;
|
|
42
|
-
{
|
|
43
|
-
const r = (() => {
|
|
44
|
-
var a, d, l, c, h;
|
|
45
|
-
const s = (a = this.getTagConfig(e).visibleConfig) != null ? a : {}, f = this.getDistance(e);
|
|
46
|
-
if (typeof s == "function")
|
|
47
|
-
return s(this.five, { tag: e, distance: f });
|
|
48
|
-
if (s.keep === "hidden")
|
|
49
|
-
return !1;
|
|
50
|
-
if (s.keep === "visible")
|
|
51
|
-
return !0;
|
|
52
|
-
if (s.visiblePanoIndex !== void 0 && (o === void 0 || !s.visiblePanoIndex.includes(o)) || s.visibleDistance !== void 0 && s.visibleDistance !== "unLimited" && P(f, s.visibleDistance) === !1)
|
|
53
|
-
return !1;
|
|
54
|
-
if (((d = s.intersectRaycaster) == null ? void 0 : d.enabled) !== !1) {
|
|
55
|
-
if (o === void 0)
|
|
56
|
-
return !1;
|
|
57
|
-
const g = (l = this.five.work.observers[o]) == null ? void 0 : l.position;
|
|
58
|
-
if (g === void 0)
|
|
59
|
-
throw new Error(`getVisible(): observerPosition is ${g}`);
|
|
60
|
-
const m = C(e.position).sub(g).normalize();
|
|
61
|
-
this.raycaster.set(g, m);
|
|
62
|
-
const [x] = this.five.model.intersectRaycaster(this.raycaster), D = (h = (c = s.intersectRaycaster) == null ? void 0 : c.distanceAccuracy) != null ? h : 0.01;
|
|
63
|
-
if (x && x.distance + D < f)
|
|
64
|
-
return !1;
|
|
65
|
-
}
|
|
66
|
-
return !(s.angleRange && e.dimensionType === y.Three && P(this.getAngle(e), s.angleRange) === !1);
|
|
67
|
-
})();
|
|
68
|
-
return i.visible = r, i.visible;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
getUnfoldedByPanoIndex(e, n) {
|
|
72
|
-
if (!this.getVisibleByPanoIndex(e))
|
|
73
|
-
return;
|
|
74
|
-
const o = this.getCaches({ panoIndex: n, id: e.id });
|
|
75
|
-
if (o.unfolded !== void 0)
|
|
76
|
-
return o.unfolded;
|
|
77
|
-
{
|
|
78
|
-
const t = this.getTagConfig(e).unfoldedConfig;
|
|
79
|
-
if (!t)
|
|
80
|
-
return;
|
|
81
|
-
const r = (() => {
|
|
82
|
-
const f = this.getDistance(e);
|
|
83
|
-
if (typeof t == "function")
|
|
84
|
-
return t(this.five, { tag: e, distance: f });
|
|
85
|
-
if (t.keep === "folded")
|
|
86
|
-
return !1;
|
|
87
|
-
if (t.keep === "unfolded")
|
|
88
|
-
return !0;
|
|
89
|
-
if (t.disableUnfold === !0)
|
|
90
|
-
return !1;
|
|
91
|
-
if (t.disableFold === !0)
|
|
92
|
-
return !0;
|
|
93
|
-
if (t.unfoldDistance && P(f, t.unfoldDistance) === !1)
|
|
94
|
-
return !1;
|
|
95
|
-
})();
|
|
96
|
-
o.unfolded = r;
|
|
97
|
-
const s = this.getUnfoldedByCamera(e);
|
|
98
|
-
return s !== void 0 ? s : o.unfolded;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
getUnfoldedByCamera(e) {
|
|
102
|
-
return this.getVisibleByPanoIndex(e) ? (() => {
|
|
103
|
-
var r;
|
|
104
|
-
const o = this.getDistance(e), t = this.getTagConfig(e).unfoldedConfig;
|
|
105
|
-
if (!!t) {
|
|
106
|
-
if (typeof t == "function")
|
|
107
|
-
return t(this.five, { tag: e, distance: o });
|
|
108
|
-
if (t.keep === "folded")
|
|
109
|
-
return !1;
|
|
110
|
-
if (t.keep === "unfolded")
|
|
111
|
-
return !0;
|
|
112
|
-
if (t.disableUnfold === !0)
|
|
113
|
-
return !1;
|
|
114
|
-
if (t.disableFold === !0)
|
|
115
|
-
return !0;
|
|
116
|
-
if (t.autoUnfold === void 0)
|
|
117
|
-
return;
|
|
118
|
-
if (t.autoUnfold.strategy === "ScreenPostion") {
|
|
119
|
-
const s = this.getTagProject(e);
|
|
120
|
-
if (s && P(s.x, t.autoUnfold.autoUnfoldProjectX) === !1)
|
|
121
|
-
return !1;
|
|
122
|
-
}
|
|
123
|
-
if (t.autoUnfold.strategy === "MinimumDistance") {
|
|
124
|
-
const a = this.filterPointTag().filter((l) => this.getVisibleByPanoIndex(l)).filter((l) => {
|
|
125
|
-
const c = this.getTagProject(l);
|
|
126
|
-
if (!c)
|
|
127
|
-
return !1;
|
|
128
|
-
const { x: h, y: g, z: m } = c;
|
|
129
|
-
return !(Math.abs(m) > 1 || Math.abs(h) > 1 || Math.abs(g) > 1);
|
|
130
|
-
}).filter((l) => {
|
|
131
|
-
var h;
|
|
132
|
-
const c = this.getTagConfig(l).unfoldedConfig;
|
|
133
|
-
return typeof c == "object" && ((h = c.autoUnfold) == null ? void 0 : h.strategy) === "MinimumDistance";
|
|
134
|
-
}).map((l) => ({ id: l.id, distance: this.getDistance(l) })).filter((l) => l.distance !== void 0).sort((l, c) => l.distance - c.distance).findIndex((l) => l.id === e.id);
|
|
135
|
-
if (a === -1 || a <= ((r = t.autoUnfold.maxNumber) != null ? r : 1) - 1 === !1)
|
|
136
|
-
return !1;
|
|
137
|
-
}
|
|
138
|
-
return !0;
|
|
139
|
-
}
|
|
140
|
-
})() : void 0;
|
|
141
|
-
}
|
|
142
|
-
getDistance(e, n) {
|
|
143
|
-
var t, r, s;
|
|
144
|
-
const i = (t = this.five.panoIndex) != null ? t : n;
|
|
145
|
-
if (i === void 0)
|
|
146
|
-
throw new Error(`getDistance(): fivePanoIndex is ${i}`);
|
|
147
|
-
const o = this.getCaches({ panoIndex: n, id: e.id });
|
|
148
|
-
if (o.distance !== void 0)
|
|
149
|
-
return o.distance;
|
|
150
|
-
{
|
|
151
|
-
const f = (s = (r = this.five.work) == null ? void 0 : r.observers[i]) == null ? void 0 : s.position;
|
|
152
|
-
if (f === void 0)
|
|
153
|
-
throw new Error(`getDistance(): observerPosition is ${f}`);
|
|
154
|
-
const a = (() => e.pointType === v.PointTag ? B(e == null ? void 0 : e.position) : C(e.position))(), d = f.distanceTo(a);
|
|
155
|
-
return o.distance = d, d;
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
getAngle(e, n) {
|
|
159
|
-
var t, r, s;
|
|
160
|
-
const i = (t = this.five.panoIndex) != null ? t : n;
|
|
161
|
-
if (i === void 0)
|
|
162
|
-
throw new Error(`getDistance(): fivePanoIndex is ${i}`);
|
|
163
|
-
const o = this.getCaches({ panoIndex: n, id: e.id });
|
|
164
|
-
if (o.angle !== void 0)
|
|
165
|
-
return o.angle;
|
|
166
|
-
{
|
|
167
|
-
const f = (s = (r = this.five.work) == null ? void 0 : r.observers[i]) == null ? void 0 : s.position;
|
|
168
|
-
if (f === void 0)
|
|
169
|
-
throw new Error(`getAngleRange(): observerPosition is ${f}`);
|
|
170
|
-
const a = (() => e.pointType === v.PointTag ? U(e.normal) : E(e.position))();
|
|
171
|
-
if (!a)
|
|
172
|
-
return;
|
|
173
|
-
const d = new I.Vector3().copy(f).sub(C(e.position)), l = a.angleTo(d) * 180 / Math.PI;
|
|
174
|
-
return o.angle = l, o.angle;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
getTagConfig(e) {
|
|
178
|
-
var o;
|
|
179
|
-
if (!e)
|
|
180
|
-
return (o = this.config.globalConfig) != null ? o : {};
|
|
181
|
-
const n = {};
|
|
182
|
-
return this.config.contentTypeConfig && Object.keys(this.config.contentTypeConfig).forEach((t) => {
|
|
183
|
-
const r = t;
|
|
184
|
-
if (n[r])
|
|
185
|
-
return;
|
|
186
|
-
const s = r.split("-"), [f = "Any", a = "Any", d = "Any"] = s || [];
|
|
187
|
-
(e.dimensionType === f || f === "Any") && (e.contentType === a || a === "Any") && (e.pointType === d || d === "Any") && (n[r] = this.config.contentTypeConfig[r]);
|
|
188
|
-
}), T({}, this.config.globalConfig, ...Object.values(n), e.config);
|
|
189
|
-
}
|
|
190
|
-
canBe(e, n) {
|
|
191
|
-
const i = this.getTagConfig(n);
|
|
192
|
-
if (!i || typeof i != "object")
|
|
193
|
-
return !0;
|
|
194
|
-
if (e === "show" || e === "hide") {
|
|
195
|
-
if (!i.visibleConfig || typeof i.visibleConfig != "object")
|
|
196
|
-
return !0;
|
|
197
|
-
if (e === "show" && i.visibleConfig.keep === "hidden" || e === "hide" && (i.visibleConfig.keep === "visible" || i.visibleConfig.alwaysShowWhenMovePano))
|
|
198
|
-
return !1;
|
|
199
|
-
}
|
|
200
|
-
if (e === "fold" || e === "unfold") {
|
|
201
|
-
if (!i.unfoldedConfig || typeof i.unfoldedConfig != "object")
|
|
202
|
-
return !0;
|
|
203
|
-
if (e === "fold" && (i.unfoldedConfig.disableFold || i.unfoldedConfig.keep === "unfolded") || e === "unfold" && (i.unfoldedConfig.disableUnfold || i.unfoldedConfig.keep === "folded"))
|
|
204
|
-
return !1;
|
|
205
|
-
}
|
|
206
|
-
return !0;
|
|
207
|
-
}
|
|
208
|
-
setPointTagPosition() {
|
|
209
|
-
const e = this.filterPointTag();
|
|
210
|
-
e.length !== 0 && e.forEach((n) => {
|
|
211
|
-
var o;
|
|
212
|
-
if (!((o = n.state) != null && o.visible)) {
|
|
213
|
-
n.pointTagStyle = void 0;
|
|
214
|
-
return;
|
|
215
|
-
}
|
|
216
|
-
const i = this.getTagProject(n);
|
|
217
|
-
if (!i) {
|
|
218
|
-
n.pointTagStyle = void 0;
|
|
219
|
-
return;
|
|
220
|
-
}
|
|
221
|
-
n.pointTagStyle = { leftPercent: (i.x + 1) / 2 * 100, topPercent: (-i.y + 1) / 2 * 100 };
|
|
222
|
-
});
|
|
223
|
-
}
|
|
224
|
-
setVisibleByPanoIndex() {
|
|
225
|
-
this.tags.forEach((e) => {
|
|
226
|
-
const n = this.getVisibleByPanoIndex(e);
|
|
227
|
-
e.state && (e.state.visible = n);
|
|
228
|
-
});
|
|
229
|
-
}
|
|
230
|
-
setUnfoldedByPanoIndex() {
|
|
231
|
-
this.tags.forEach((e) => {
|
|
232
|
-
const n = this.getUnfoldedByPanoIndex(e);
|
|
233
|
-
if (!!e.state && (n !== void 0 && (e.state.unfolded = n), n && !e.state.visible)) {
|
|
234
|
-
const i = this.getTagConfig(e);
|
|
235
|
-
typeof i.unfoldedConfig == "object" && i.unfoldedConfig.autoUnfoldWhenHide !== !1 && (e.state.unfolded = !1);
|
|
236
|
-
}
|
|
237
|
-
});
|
|
238
|
-
}
|
|
239
|
-
getTagProject(e) {
|
|
240
|
-
if (!this.getVisibleByPanoIndex(e))
|
|
241
|
-
return;
|
|
242
|
-
const i = C(e.position), { x: o, y: t, z: r } = i.project(this.five.camera);
|
|
243
|
-
if (!(r > 1))
|
|
244
|
-
return { x: o, y: t, z: r };
|
|
245
|
-
}
|
|
246
|
-
filterPointTag() {
|
|
247
|
-
return this.tags.filter((e) => e.pointType === v.PointTag);
|
|
248
|
-
}
|
|
249
|
-
filterTag2D() {
|
|
250
|
-
return this.tags.filter((e) => e.dimensionType === y.Two);
|
|
251
|
-
}
|
|
252
|
-
filter3DPointTag() {
|
|
253
|
-
return this.tags.filter((e) => e.dimensionType === y.Three && e.pointType === v.PointTag);
|
|
254
|
-
}
|
|
255
|
-
filter3DTag() {
|
|
256
|
-
return this.tags.filter((e) => e.dimensionType === y.Three);
|
|
257
|
-
}
|
|
258
|
-
filterPlaneTag() {
|
|
259
|
-
return this.tags.filter((e) => e.dimensionType === y.Three && e.pointType === v.PlaneTag);
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
export {
|
|
263
|
-
O as TagComputer
|
|
264
|
-
};
|
|
1
|
+
"use strict";var I=Object.defineProperty;var k=(r,d,e)=>d in r?I(r,d,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[d]=e;var T=(r,d,e)=>(k(r,typeof d!="symbol"?d+"":d,e),e);const _=require("object-assign-deep"),w=require("three"),R=require("../tag.config.js"),h=require("../typings/tag.js"),j=require("../../CSS3DRenderPlugin/utils/positionToVector3.js"),B=require("../utils/planeNormal.js"),b=require("../utils/tagPosition.js"),v=require("../utils/checkRange.js"),U=require("./TagCacheController.js"),E=r=>r&&typeof r=="object"&&"default"in r?r:{default:r};function V(r){if(r&&r.__esModule)return r;const d=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const e in r)if(e!=="default"){const i=Object.getOwnPropertyDescriptor(r,e);Object.defineProperty(d,e,i.get?i:{enumerable:!0,get:()=>r[e]})}}return d.default=r,Object.freeze(d)}const P=E(_),D=V(w);class S extends U.TagCacheController{constructor(e){super(e);T(this,"tags",[]);T(this,"config",R.DefaultConfig);T(this,"raycaster",new D.Raycaster)}getTagById(e){const i=this.tags.find(n=>n.id===e);if(!i){console.error(`getTagById(): tag is ${i}, id is ${e}`);return}return i}changeConfig(e,i=!0){i?this.config=P.default({},this.config,e):this.config=e,this.clearCache()}changeGlobalConfig(e,i=!0){i?this.config.globalConfig=P.default({},this.config.globalConfig,e):this.config.globalConfig=e,this.clearCache()}changeContentTypeConfig(e,i,n=!0){this.config.contentTypeConfig||(this.config.contentTypeConfig={}),n?this.config.contentTypeConfig[e]=P.default({},this.config.contentTypeConfig[e],i):this.config.contentTypeConfig[e]=i,this.clearCache()}getVisibleByPanoIndex(e,i){var t;const n=this.getCaches({panoIndex:i,id:e.id}),o=(t=this.five.panoIndex)!=null?t:i;if(n.visible!==void 0)return n.visible;{const f=(()=>{var c,u,a,g,y;const s=(c=this.getTagConfig(e).visibleConfig)!=null?c:{},l=this.getDistance(e);if(typeof s=="function")return s(this.five,{tag:e,distance:l});if(s.keep==="hidden")return!1;if(s.keep==="visible")return!0;if(s.visiblePanoIndex!==void 0&&(o===void 0||!s.visiblePanoIndex.includes(o))||s.visibleDistance!==void 0&&s.visibleDistance!=="unLimited"&&v.checkRange(l,s.visibleDistance)===!1)return!1;if(((u=s.intersectRaycaster)==null?void 0:u.enabled)!==!1){if(o===void 0)return!1;const p=(a=this.five.work.observers[o])==null?void 0:a.position;if(p===void 0)throw new Error(`getVisible(): observerPosition is ${p}`);const C=b.tagPosition(e.position).sub(p).normalize();this.raycaster.set(p,C);const[m]=this.five.model.intersectRaycaster(this.raycaster),x=(y=(g=s.intersectRaycaster)==null?void 0:g.distanceAccuracy)!=null?y:.01;if(m&&m.distance+x<l)return!1}return!(s.angleRange&&e.dimensionType===h.DimensionType.Three&&v.checkRange(this.getAngle(e),s.angleRange)===!1)})();return n.visible=f,n.visible}}getUnfoldedByPanoIndex(e,i){if(!this.getVisibleByPanoIndex(e))return;const o=this.getCaches({panoIndex:i,id:e.id});if(o.unfolded!==void 0)return o.unfolded;{const t=this.getTagConfig(e).unfoldedConfig;if(!t)return;const f=(()=>{const l=this.getDistance(e);if(typeof t=="function")return t(this.five,{tag:e,distance:l});if(t.keep==="folded")return!1;if(t.keep==="unfolded")return!0;if(t.disableUnfold===!0)return!1;if(t.disableFold===!0)return!0;if(t.unfoldDistance&&v.checkRange(l,t.unfoldDistance)===!1)return!1})();o.unfolded=f;const s=this.getUnfoldedByCamera(e);return s!==void 0?s:o.unfolded}}getUnfoldedByCamera(e){return this.getVisibleByPanoIndex(e)?(()=>{var f;const o=this.getDistance(e),t=this.getTagConfig(e).unfoldedConfig;if(!!t){if(typeof t=="function")return t(this.five,{tag:e,distance:o});if(t.keep==="folded")return!1;if(t.keep==="unfolded")return!0;if(t.disableUnfold===!0)return!1;if(t.disableFold===!0)return!0;if(t.autoUnfold===void 0)return;if(t.autoUnfold.strategy==="ScreenPostion"){const s=this.getTagProject(e);if(s&&v.checkRange(s.x,t.autoUnfold.autoUnfoldProjectX)===!1)return!1}if(t.autoUnfold.strategy==="MinimumDistance"){const c=this.filterPointTag().filter(a=>this.getVisibleByPanoIndex(a)).filter(a=>{const g=this.getTagProject(a);if(!g)return!1;const{x:y,y:p,z:C}=g;return!(Math.abs(C)>1||Math.abs(y)>1||Math.abs(p)>1)}).filter(a=>{var y;const g=this.getTagConfig(a).unfoldedConfig;return typeof g=="object"&&((y=g.autoUnfold)==null?void 0:y.strategy)==="MinimumDistance"}).map(a=>({id:a.id,distance:this.getDistance(a)})).filter(a=>a.distance!==void 0).sort((a,g)=>a.distance-g.distance).findIndex(a=>a.id===e.id);if(c===-1||c<=((f=t.autoUnfold.maxNumber)!=null?f:1)-1===!1)return!1}return!0}})():void 0}getDistance(e,i){var t,f,s;const n=(t=this.five.panoIndex)!=null?t:i;if(n===void 0)throw new Error(`getDistance(): fivePanoIndex is ${n}`);const o=this.getCaches({panoIndex:i,id:e.id});if(o.distance!==void 0)return o.distance;{const l=(s=(f=this.five.work)==null?void 0:f.observers[n])==null?void 0:s.position;if(l===void 0)throw new Error(`getDistance(): observerPosition is ${l}`);const c=(()=>e.pointType===h.PointType.PointTag?j.arrayPositionToVector3(e==null?void 0:e.position):b.tagPosition(e.position))(),u=l.distanceTo(c);return o.distance=u,u}}getAngle(e,i){var t,f,s;const n=(t=this.five.panoIndex)!=null?t:i;if(n===void 0)throw new Error(`getDistance(): fivePanoIndex is ${n}`);const o=this.getCaches({panoIndex:i,id:e.id});if(o.angle!==void 0)return o.angle;{const l=(s=(f=this.five.work)==null?void 0:f.observers[n])==null?void 0:s.position;if(l===void 0)throw new Error(`getAngleRange(): observerPosition is ${l}`);const c=(()=>e.pointType===h.PointType.PointTag?j.anyPositionToVector3(e.normal):B.planeNormal(e.position))();if(!c)return;const u=new D.Vector3().copy(l).sub(b.tagPosition(e.position)),a=c.angleTo(u)*180/Math.PI;return o.angle=a,o.angle}}getTagConfig(e){var o;if(!e)return(o=this.config.globalConfig)!=null?o:{};const i={};return this.config.contentTypeConfig&&Object.keys(this.config.contentTypeConfig).forEach(t=>{const f=t;if(i[f])return;const s=f.split("-"),[l="Any",c="Any",u="Any"]=s||[];(e.dimensionType===l||l==="Any")&&(e.contentType===c||c==="Any")&&(e.pointType===u||u==="Any")&&(i[f]=this.config.contentTypeConfig[f])}),P.default({},this.config.globalConfig,...Object.values(i),e.config)}canBe(e,i){const n=this.getTagConfig(i);if(!n||typeof n!="object")return!0;if(e==="show"||e==="hide"){if(!n.visibleConfig||typeof n.visibleConfig!="object")return!0;if(e==="show"&&n.visibleConfig.keep==="hidden"||e==="hide"&&(n.visibleConfig.keep==="visible"||n.visibleConfig.alwaysShowWhenMovePano))return!1}if(e==="fold"||e==="unfold"){if(!n.unfoldedConfig||typeof n.unfoldedConfig!="object")return!0;if(e==="fold"&&(n.unfoldedConfig.disableFold||n.unfoldedConfig.keep==="unfolded")||e==="unfold"&&(n.unfoldedConfig.disableUnfold||n.unfoldedConfig.keep==="folded"))return!1}return!0}setPointTagPosition(){const e=this.filterPointTag();e.length!==0&&e.forEach(i=>{var o;if(!((o=i.state)!=null&&o.visible)){i.pointTagStyle=void 0;return}const n=this.getTagProject(i);if(!n){i.pointTagStyle=void 0;return}i.pointTagStyle={leftPercent:(n.x+1)/2*100,topPercent:(-n.y+1)/2*100}})}setVisibleByPanoIndex(){this.tags.forEach(e=>{const i=this.getVisibleByPanoIndex(e);e.state&&(e.state.visible=i)})}setUnfoldedByPanoIndex(){this.tags.forEach(e=>{const i=this.getUnfoldedByPanoIndex(e);if(!!e.state&&(i!==void 0&&(e.state.unfolded=i),i&&!e.state.visible)){const n=this.getTagConfig(e);typeof n.unfoldedConfig=="object"&&n.unfoldedConfig.autoUnfoldWhenHide!==!1&&(e.state.unfolded=!1)}})}getTagProject(e){if(!this.getVisibleByPanoIndex(e))return;const n=b.tagPosition(e.position),{x:o,y:t,z:f}=n.project(this.five.camera);if(!(f>1))return{x:o,y:t,z:f}}filterPointTag(){return this.tags.filter(e=>e.pointType===h.PointType.PointTag)}filterTag2D(){return this.tags.filter(e=>e.dimensionType===h.DimensionType.Two)}filter3DPointTag(){return this.tags.filter(e=>e.dimensionType===h.DimensionType.Three&&e.pointType===h.PointType.PointTag)}filter3DTag(){return this.tags.filter(e=>e.dimensionType===h.DimensionType.Three)}filterPlaneTag(){return this.tags.filter(e=>e.dimensionType===h.DimensionType.Three&&e.pointType===h.PointType.PlaneTag)}}exports.TagComputer=S;
|