@realsee/dnalogel 2.21.0-dev.8 → 2.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/index.js +329 -329
- package/dist/CSS3DRenderPlugin/Controller.d.ts +1 -4
- package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +4 -15
- package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +18 -26
- package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +2 -9
- package/dist/PanoMeasurePlugin/Controller/index.d.ts +9 -26
- package/dist/PanoMeasurePlugin/Model/index.d.ts +0 -10
- package/dist/PanoMeasurePlugin/Model/line.d.ts +1 -6
- package/dist/PanoMeasurePlugin/Model/polyline.d.ts +0 -4
- package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +4 -8
- package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/Magnifier.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +3 -6
- package/dist/PanoMeasurePlugin/Modules/UIController/style.d.ts +8 -0
- package/dist/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +0 -3
- package/dist/PanoMeasurePlugin/typings/data.d.ts +0 -24
- package/dist/PanoMeasurePlugin/typings/event.type.d.ts +3 -13
- package/dist/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +30 -0
- package/dist/{shared-utils → PanoMeasurePlugin/utils}/getIntersectionFromEvent.d.ts +1 -1
- package/{libs/shared-utils → dist/PanoMeasurePlugin/utils}/getPointFromHammerEvent.d.ts +1 -1
- package/dist/PanoMeasurePlugin/utils/line.d.ts +1 -2
- package/dist/PanoMeasurePlugin/utils/ndc2Screen.d.ts +1 -2
- package/dist/base/BasePlugin.d.ts +1 -4
- package/dist/components/PaintBrush/style.d.ts +1 -1
- package/dist/index.cjs.js +69 -69
- package/dist/index.js +7400 -9080
- package/dist/index.umd.js +62 -62
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +7 -3
- package/dist/shared-utils/index.d.ts +1 -1
- package/dist/shared-utils/isAbsoluteURL.d.ts +1 -0
- package/dist/shared-utils/three/FivePointSelector.d.ts +36 -0
- package/dist/shared-utils/three/Magnifier.d.ts +0 -3
- package/dist/shared-utils/three/index.d.ts +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/CSS3DRender.html +32 -34
- package/docs/classes/CruisePluginController.html +44 -48
- package/docs/classes/GuideLineItem.GuideLineItem.html +21 -23
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +36 -38
- package/docs/classes/Magnifier.html +21 -23
- package/docs/classes/ModelRoomLabelController.html +12 -14
- package/docs/classes/Object3DHelperController.html +43 -47
- package/docs/classes/PaintBrush.html +16 -18
- package/docs/classes/PanoMeasurePluginLine.html +107 -74
- package/docs/classes/PanoMeasurePluginModel.html +25 -84
- package/docs/classes/PanoMeasurePluginPoint.html +15 -17
- package/docs/classes/PanoMeasurePluginPolyline.html +27 -41
- package/docs/classes/PanoTagPluginController.html +65 -69
- package/docs/classes/Util.BetterTween.html +10 -12
- package/docs/classes/{Util.PointSelectorHelper.html → Util.FivePointSelector.html} +27 -98
- package/docs/classes/Util.Interval.html +13 -15
- package/docs/classes/Util.Magnifier.html +18 -33
- package/docs/classes/Util.PointDomHelper.html +12 -14
- package/docs/classes/Util.PointHelper.html +12 -14
- package/docs/classes/Util.Rectangle.html +14 -16
- package/docs/enums/CameraMovementEffect.html +8 -10
- package/docs/enums/ContentType.html +21 -23
- package/docs/enums/DIRECTION.html +10 -12
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +10 -12
- package/docs/enums/DimensionType.html +8 -10
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +9 -11
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +10 -12
- package/docs/enums/PaintBrushTypeEnum.html +9 -11
- package/docs/enums/PointType.html +8 -10
- package/docs/enums/Rotation.html +9 -11
- package/docs/functions/CSS3DRenderPlugin.html +5 -7
- package/docs/functions/CameraMovementPlugin.html +5 -7
- package/docs/functions/CruisePlugin.html +5 -7
- package/docs/functions/GuideLinePlugin.html +6 -8
- package/docs/functions/ItemLabelPlugin.html +5 -7
- package/docs/functions/MapviewFloorplanPlugin.html +5 -7
- package/docs/functions/ModelChassisCompassPlugin.html +5 -7
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -7
- package/docs/functions/ModelFloorplanPlugin.html +5 -7
- package/docs/functions/ModelItemLabelPlugin.html +5 -7
- package/docs/functions/ModelRoomLabelPlugin.html +5 -7
- package/docs/functions/ModelTVVideoPlugin.html +5 -7
- package/docs/functions/ModelViewPlugin.html +5 -7
- package/docs/functions/Object3DHelperPlugin.html +5 -7
- package/docs/functions/PanoCompassPlugin.html +5 -7
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -7
- package/docs/functions/PanoDoorLabelPlugin.html +5 -7
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -7
- package/docs/functions/PanoMeasurePlugin.html +5 -7
- package/docs/functions/PanoRulerPlugin.html +5 -7
- package/docs/functions/PanoRulerProPlugin.html +5 -7
- package/docs/functions/PanoSpatialTagPlugin.html +5 -7
- package/docs/functions/PanoTagPlugin.html +5 -7
- package/docs/functions/PanoVideoPlugin.html +5 -7
- package/docs/functions/TopviewFloorplanPlugin.html +5 -7
- package/docs/functions/Util.getCoordsFromClient.html +6 -8
- package/docs/functions/Util.getCoordsFromElement.html +6 -8
- package/docs/functions/Util.getFrameTime.html +6 -8
- package/docs/functions/Util.getIntersectFromRelativePosition.html +6 -8
- package/docs/functions/Util.getRaycasterFromFivePointer.html +6 -8
- package/docs/functions/Util.isAbsoluteURL.html +6 -8
- package/docs/functions/Util.isModelLike.html +6 -8
- package/docs/functions/Util.isNil.html +6 -8
- package/docs/functions/Util.isPanoramaLike.html +6 -8
- package/docs/functions/Util.nextFrame.html +6 -8
- package/docs/functions/Util.notNil.html +6 -8
- package/docs/functions/Util.requestAnimationFrameInterval.html +6 -8
- package/docs/functions/Util.tweenProgress.html +6 -8
- package/docs/functions/Util.uuid.html +6 -8
- package/docs/functions/pluginFlag.html +6 -8
- package/docs/index.html +6 -8
- package/docs/interfaces/AddTagConfig.html +7 -9
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +12 -14
- package/docs/interfaces/CSS3DRenderPluginState.html +9 -11
- package/docs/interfaces/CameraMovementPluginExportType.html +8 -10
- package/docs/interfaces/CruisePluginTypes.Config.html +9 -11
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -15
- package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -23
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +13 -15
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +15 -17
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +15 -17
- package/docs/interfaces/CruisePluginTypes.PluginData.html +10 -12
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +8 -10
- package/docs/interfaces/CruisePluginTypes.PluginState.html +12 -14
- package/docs/interfaces/EventMap.html +16 -18
- package/docs/interfaces/FloorplanBounding.html +9 -11
- package/docs/interfaces/FloorplanData.html +11 -13
- package/docs/interfaces/FloorplanEntrance.html +12 -14
- package/docs/interfaces/FloorplanExtraObject.html +11 -13
- package/docs/interfaces/FloorplanExtraObject3D.html +9 -11
- package/docs/interfaces/FloorplanFloorData.html +10 -12
- package/docs/interfaces/FloorplanImagePosition.html +8 -10
- package/docs/interfaces/FloorplanObserver.html +10 -12
- package/docs/interfaces/FloorplanOutlineItem.html +10 -12
- package/docs/interfaces/FloorplanPosition.html +8 -10
- package/docs/interfaces/FloorplanRoomItem.html +14 -16
- package/docs/interfaces/FloorplanRoomLabelItem.html +8 -10
- package/docs/interfaces/FloorplanServerBounding.html +9 -11
- package/docs/interfaces/FloorplanServerComputedData.html +11 -13
- package/docs/interfaces/FloorplanServerData.html +8 -10
- package/docs/interfaces/FloorplanServerDoorItem.html +11 -13
- package/docs/interfaces/FloorplanServerDoorPosition.html +9 -11
- package/docs/interfaces/FloorplanServerEntrance.html +12 -14
- package/docs/interfaces/FloorplanServerFloorData.html +10 -12
- package/docs/interfaces/FloorplanServerImagePosition.html +8 -10
- package/docs/interfaces/FloorplanServerObserver.html +10 -12
- package/docs/interfaces/FloorplanServerOutlineItem.html +10 -12
- package/docs/interfaces/FloorplanServerPosition.html +8 -10
- package/docs/interfaces/FloorplanServerRoomItem.html +15 -17
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +8 -10
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +9 -11
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -13
- package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -16
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -11
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -9
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +14 -16
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -11
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +19 -21
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -10
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -21
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -8
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +8 -10
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -11
- package/docs/interfaces/GuideLinePluginType.Route.html +12 -14
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -12
- package/docs/interfaces/HelperOffset.html +9 -11
- package/docs/interfaces/ImagePlaneGroup.html +7 -9
- package/docs/interfaces/ItemLabelPluginData.html +7 -9
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +12 -14
- package/docs/interfaces/ItemLabelPluginParametersType.html +10 -12
- package/docs/interfaces/MinMax.html +8 -10
- package/docs/interfaces/ModelChassisCompassPluginData.html +8 -10
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +9 -11
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +8 -10
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +9 -11
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +9 -11
- package/docs/interfaces/ModelItemLabelPluginData.html +7 -9
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +12 -14
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +8 -10
- package/docs/interfaces/ModelRoomLabelPluginData.html +7 -9
- package/docs/interfaces/ModelTVVideoPluginData.html +10 -12
- package/docs/interfaces/ModelTVVideoPluginExportType.html +9 -11
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +7 -9
- package/docs/interfaces/ModelViewPluginExportType.html +12 -14
- package/docs/interfaces/Object3DHelperState.html +9 -11
- package/docs/interfaces/ObjectHelperControllers.html +10 -12
- package/docs/interfaces/PaintBrushAction.html +13 -15
- package/docs/interfaces/PaintBrushConfigs.html +13 -15
- package/docs/interfaces/PaintBrushState.html +11 -13
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +11 -13
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -8
- package/docs/interfaces/PanoMeasureParameterType.html +16 -25
- package/docs/interfaces/PanoMeasurePluginLineJson.html +9 -11
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +8 -10
- package/docs/interfaces/PanoMeasurePluginPointJson.html +8 -10
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +9 -11
- package/docs/interfaces/PanoRulerPluginExportType.html +11 -13
- package/docs/interfaces/PanoRulerPluginOptions.html +8 -10
- package/docs/interfaces/PanoRulerPluginParameterType.html +9 -11
- package/docs/interfaces/PanoRulerProPluginExportType.html +10 -12
- package/docs/interfaces/PanoRulerProPluginOptions.html +8 -10
- package/docs/interfaces/PanoRulerProPluginParameterType.html +8 -10
- package/docs/interfaces/PanoRulerProPluginState.html +9 -11
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -8
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -8
- package/docs/interfaces/PanoSpatialTagPluginData.html +12 -14
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +11 -13
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +14 -16
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +11 -13
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +14 -16
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +12 -14
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +11 -13
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +7 -9
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +9 -11
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +7 -9
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +10 -12
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +7 -9
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +9 -11
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +11 -13
- package/docs/interfaces/Point.html +9 -11
- package/docs/interfaces/Room.html +10 -12
- package/docs/interfaces/RoomInfo.html +8 -10
- package/docs/interfaces/RoomLabel.html +15 -17
- package/docs/interfaces/RoomRules.html +6 -8
- package/docs/interfaces/Rooms.html +6 -8
- package/docs/interfaces/Scissor.html +10 -12
- package/docs/interfaces/State.html +9 -11
- package/docs/interfaces/TagCacheInterface.html +13 -15
- package/docs/interfaces/TagConfig.html +14 -16
- package/docs/interfaces/TagGLTFObjectGroup.html +7 -9
- package/docs/interfaces/TagIconUrl.html +13 -15
- package/docs/interfaces/TagObjectGroup.html +7 -9
- package/docs/interfaces/TagStyle.html +7 -9
- package/docs/interfaces/Tags.html +10 -12
- package/docs/interfaces/TemporaryState.html +7 -9
- package/docs/interfaces/Util.MagnifierParameter.html +12 -14
- package/docs/interfaces/Util.MouseGroupParameter.html +9 -11
- package/docs/modules/CruisePluginTypes.html +6 -8
- package/docs/modules/GuideLineItem.html +6 -8
- package/docs/modules/GuideLineModeItem.html +6 -8
- package/docs/modules/GuideLinePluginType.html +6 -8
- package/docs/modules/PanoVideoPluginType.html +6 -8
- package/docs/modules/Util.html +7 -11
- package/docs/modules.html +5 -7
- package/docs/types/ArrayPosition.html +6 -8
- package/docs/types/AudioAppearance.html +6 -8
- package/docs/types/AudioTagTypeConfigKey.html +6 -8
- package/docs/types/CSS3DRenderExportType.html +6 -8
- package/docs/types/CSS3DRenderPluginExportType.html +6 -8
- package/docs/types/CSS3DRenderPluginParameterType.html +6 -8
- package/docs/types/ClassFunctionParameters.html +6 -8
- package/docs/types/Color.html +6 -8
- package/docs/types/ContentTypeConfigKey.html +6 -8
- package/docs/types/ContentTypeConfigKeySplit.html +6 -8
- package/docs/types/ContentTypeMap.html +6 -8
- package/docs/types/Create3DDomContainerReturnType.html +6 -8
- package/docs/types/Create3DElementReturnType.html +6 -8
- package/docs/types/CruisePluginExportType.html +6 -8
- package/docs/types/CruisePluginTypes.CruiseData.html +6 -8
- package/docs/types/CruisePluginTypes.MoveEffect.html +6 -8
- package/docs/types/DeprecatedMediaPlaneProperty.html +6 -8
- package/docs/types/DeprecatedTagProperty.html +6 -8
- package/docs/types/Direction-1.html +6 -8
- package/docs/types/Direction4.html +6 -8
- package/docs/types/ElementRenderer.html +6 -8
- package/docs/types/FloorplanRuleLabels.html +6 -8
- package/docs/types/FloorplanServerRuleLabels.html +6 -8
- package/docs/types/GuideLinePluginExportType.html +6 -8
- package/docs/types/GuideLinePluginType.GuideLineItem.html +6 -8
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -8
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -8
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -8
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -8
- package/docs/types/GuideLinePluginType.PathItem.html +6 -8
- package/docs/types/GuideLinePluginType.PluginData.html +6 -8
- package/docs/types/HelperEventMap.html +6 -8
- package/docs/types/LoadTagConfig.html +6 -8
- package/docs/types/MapviewFloorplanPluginParameterType.html +6 -8
- package/docs/types/MapviewFloorplanPluginReturnType.html +6 -8
- package/docs/types/MediaData.html +6 -8
- package/docs/types/MediaStore.html +6 -8
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -8
- package/docs/types/ModelFloorplanPluginParameterType.html +6 -8
- package/docs/types/ModelFloorplanPluginReturnType.html +6 -8
- package/docs/types/ModelRoomLabelPluginParameters.html +6 -8
- package/docs/types/ModelRoomLabelPluginReturnType.html +6 -8
- package/docs/types/MoveArgs.html +6 -8
- package/docs/types/MoveOpts.html +6 -8
- package/docs/types/Object3DHelperEventMap.html +6 -8
- package/docs/types/ObjectFit.html +6 -8
- package/docs/types/PaintBrushEventMap.html +6 -8
- package/docs/types/PanoCompassPluginData.html +6 -8
- package/docs/types/PanoCompassPluginExportType.html +6 -8
- package/docs/types/PanoCompassPluginParameterType.html +6 -8
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -8
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -8
- package/docs/types/PanoIndex.html +6 -8
- package/docs/types/PanoMeasurePluginEvent.html +6 -8
- package/docs/types/PanoMeasureReturnType.html +6 -8
- package/docs/types/PanoSpatialTagPluginId.html +6 -8
- package/docs/types/PanoTagPluginExportInterface.html +6 -8
- package/docs/types/PanoTagPluginParamsInterface.html +6 -8
- package/docs/types/PanoVideoPluginParameterType.html +6 -8
- package/docs/types/PanoVideoPluginReturnType.html +6 -8
- package/docs/types/PartialObjectDeep.html +6 -8
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +6 -8
- package/docs/types/PlaneTag.html +6 -8
- package/docs/types/Point2DTag.html +6 -8
- package/docs/types/Point3DTag.html +6 -8
- package/docs/types/PointTag.html +6 -8
- package/docs/types/PointTagInstance.html +6 -8
- package/docs/types/Position.html +6 -8
- package/docs/types/RotateArgs.html +6 -8
- package/docs/types/RotateOpts.html +6 -8
- package/docs/types/RuleLabelsKey.html +6 -8
- package/docs/types/RuleLabelsValue.html +6 -8
- package/docs/types/StickType.html +6 -8
- package/docs/types/Tag.html +6 -8
- package/docs/types/Tag2D.html +6 -8
- package/docs/types/Tag3D.html +6 -8
- package/docs/types/TagContentType.html +6 -8
- package/docs/types/TagDimensionType.html +6 -8
- package/docs/types/TagElement.html +6 -8
- package/docs/types/TagEvents.html +6 -8
- package/docs/types/TagGLTFObject.html +6 -8
- package/docs/types/TagHooks.html +6 -8
- package/docs/types/TagId.html +6 -8
- package/docs/types/TagInstance.html +6 -8
- package/docs/types/TagPointType.html +6 -8
- package/docs/types/TagRendererMap.html +6 -8
- package/docs/types/TopviewFloorplanPluginParameterType.html +6 -8
- package/docs/types/TopviewFloorplanPluginReturnType.html +6 -8
- package/docs/types/WorkCode.html +6 -8
- package/docs/variables/FLOOR_TYPE_MAP.html +6 -8
- package/docs/variables/PLUGIN.html +6 -8
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -8
- package/docs/variables/ROOM_TYPE_MAP.html +6 -8
- package/docs/variables/itemLabelPluginServerParams.html +6 -8
- package/docs/variables/modelItemLabelPluginServerParams.html +6 -8
- package/docs/variables/modelRoomLabelPluginServerParams.html +6 -8
- package/libs/CSS3DRenderPlugin/Controller.d.ts +1 -4
- package/libs/CSS3DRenderPlugin/Controller.js +28 -31
- package/libs/CSS3DRenderPlugin/index.js +1 -1
- package/libs/CruisePlugin/Controller.js +1 -1
- package/libs/CruisePlugin/index.js +1 -1
- package/libs/GuideLinePlugin/Components/Tag.js +68 -68
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/ItemLabelPlugin/ItemLabelItem.js +82 -82
- package/libs/ModelChassisCompassPlugin/Plugin.js +58 -56
- package/libs/ModelTVVideoPlugin/Plugin.js +29 -30
- package/libs/ModelTVVideoPlugin/index.js +3 -4
- package/libs/Object3DHelperPlugin/Controller.js +3 -4
- package/libs/Object3DHelperPlugin/index.js +6 -7
- package/libs/PanoCompassPlugin/Controller.js +20 -20
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +60 -60
- package/libs/PanoDoorLabelPlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +4 -15
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +34 -43
- package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +18 -26
- package/libs/PanoMeasurePlugin/Controller/EditController.js +92 -270
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +25 -26
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +4 -5
- package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +2 -9
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +54 -101
- package/libs/PanoMeasurePlugin/Controller/index.d.ts +9 -26
- package/libs/PanoMeasurePlugin/Controller/index.js +91 -145
- package/libs/PanoMeasurePlugin/Model/index.d.ts +0 -10
- package/libs/PanoMeasurePlugin/Model/index.js +35 -58
- package/libs/PanoMeasurePlugin/Model/line.d.ts +1 -6
- package/libs/PanoMeasurePlugin/Model/line.js +8 -21
- package/libs/PanoMeasurePlugin/Model/point.js +12 -17
- package/libs/PanoMeasurePlugin/Model/polyline.d.ts +0 -4
- package/libs/PanoMeasurePlugin/Model/polyline.js +3 -10
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +4 -8
- package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +37 -49
- package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/Magnifier.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +3 -6
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +32 -117
- package/libs/PanoMeasurePlugin/Modules/UIController/style.d.ts +8 -0
- package/libs/PanoMeasurePlugin/Modules/UIController/style.js +24 -16
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.d.ts +0 -3
- package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +63 -64
- package/libs/PanoMeasurePlugin/index.js +24 -71
- package/libs/PanoMeasurePlugin/typings/data.d.ts +0 -24
- package/libs/PanoMeasurePlugin/typings/event.type.d.ts +3 -13
- package/libs/PanoMeasurePlugin/typings/index.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +30 -0
- package/libs/PanoMeasurePlugin/utils/distanceDom.js +83 -0
- package/libs/{shared-utils → PanoMeasurePlugin/utils}/getIntersectionFromEvent.d.ts +1 -1
- package/{dist/shared-utils → libs/PanoMeasurePlugin/utils}/getPointFromHammerEvent.d.ts +1 -1
- package/libs/PanoMeasurePlugin/utils/line.d.ts +1 -2
- package/libs/PanoMeasurePlugin/utils/ndc2Screen.d.ts +1 -2
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
- package/libs/PanoSpatialTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +1 -1
- package/libs/PanoTagPlugin/controller/TagComputer.js +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/PanoTagPlugin/index.js +1 -1
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/PanoVideoPlugin/index.js +1 -1
- package/libs/base/BasePlugin.d.ts +1 -4
- package/libs/base/BasePlugin.js +11 -14
- package/libs/components/PaintBrush/style.d.ts +1 -1
- package/libs/components/PaintBrush/style.js +4 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
- package/libs/index.js +123 -142
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +7 -3
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +49 -29
- package/libs/shared-utils/index.d.ts +1 -1
- package/libs/shared-utils/index.js +20 -21
- package/libs/shared-utils/isAbsoluteURL.d.ts +1 -0
- package/libs/shared-utils/isAbsoluteURL.js +6 -0
- package/libs/shared-utils/logger.js +2 -2
- package/libs/shared-utils/three/FivePointSelector.d.ts +36 -0
- package/libs/shared-utils/three/FivePointSelector.js +49 -0
- package/libs/shared-utils/three/Magnifier.d.ts +0 -3
- package/libs/shared-utils/three/Magnifier.js +13 -16
- package/libs/shared-utils/three/centerPoint.js +3 -1
- package/libs/shared-utils/three/index.d.ts +1 -1
- package/libs/vendor/svelte/internal/index.js +345 -392
- package/package.json +2 -4
- package/dist/PanoMeasurePlugin/Components/Common/CircleButton.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Components/Common/Switcher0.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Components/Common/Switcher1.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Components/Controller0.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Components/Controller1.svelte.d.ts +0 -1
- package/dist/PanoMeasurePlugin/Model/area.d.ts +0 -70
- package/dist/PanoMeasurePlugin/Model/polygon.d.ts +0 -14
- package/dist/PanoMeasurePlugin/Modules/FiveHelper.d.ts +0 -12
- package/dist/PanoMeasurePlugin/utils/dom/areaDom.d.ts +0 -22
- package/dist/PanoMeasurePlugin/utils/dom/base.d.ts +0 -29
- package/dist/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +0 -27
- package/dist/PanoMeasurePlugin/utils/generatePolygonGeometry.d.ts +0 -6
- package/dist/PanoMeasurePlugin/utils/geometryUtil.d.ts +0 -7
- package/dist/PanoMeasurePlugin/utils/isIntersecting.d.ts +0 -15
- package/dist/shared-utils/absoluteUrl.d.ts +0 -5
- package/dist/shared-utils/isTouchDevice.d.ts +0 -1
- package/dist/shared-utils/safeObj.d.ts +0 -1
- package/dist/shared-utils/three/IObject3D.d.ts +0 -7
- package/dist/shared-utils/three/PointSelector.d.ts +0 -66
- package/dist/shared-utils/three/PointSelectorHelper.d.ts +0 -50
- package/docs/functions/Util.absoluteUrl.html +0 -370
- package/docs/interfaces/Util.PointIntersection.html +0 -408
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +0 -57
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +0 -42
- package/libs/PanoMeasurePlugin/Components/Common/Exit.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +0 -250
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +0 -211
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Components/Controller0.js +0 -197
- package/libs/PanoMeasurePlugin/Components/Controller0.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Components/Controller1.js +0 -370
- package/libs/PanoMeasurePlugin/Components/Controller1.svelte.d.ts +0 -1
- package/libs/PanoMeasurePlugin/Model/area.d.ts +0 -70
- package/libs/PanoMeasurePlugin/Model/area.js +0 -110
- package/libs/PanoMeasurePlugin/Model/polygon.d.ts +0 -14
- package/libs/PanoMeasurePlugin/Model/polygon.js +0 -44
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.d.ts +0 -12
- package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +0 -29
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.d.ts +0 -22
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +0 -50
- package/libs/PanoMeasurePlugin/utils/dom/base.d.ts +0 -29
- package/libs/PanoMeasurePlugin/utils/dom/base.js +0 -78
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.d.ts +0 -27
- package/libs/PanoMeasurePlugin/utils/dom/distanceItem.js +0 -62
- package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.d.ts +0 -6
- package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +0 -13
- package/libs/PanoMeasurePlugin/utils/geometryUtil.d.ts +0 -7
- package/libs/PanoMeasurePlugin/utils/geometryUtil.js +0 -39
- package/libs/PanoMeasurePlugin/utils/isIntersecting.d.ts +0 -15
- package/libs/PanoMeasurePlugin/utils/isIntersecting.js +0 -25
- package/libs/shared-utils/absoluteUrl.d.ts +0 -5
- package/libs/shared-utils/absoluteUrl.js +0 -10
- package/libs/shared-utils/isTouchDevice.d.ts +0 -1
- package/libs/shared-utils/isTouchDevice.js +0 -4
- package/libs/shared-utils/safeObj.d.ts +0 -1
- package/libs/shared-utils/safeObj.js +0 -6
- package/libs/shared-utils/three/IObject3D.d.ts +0 -7
- package/libs/shared-utils/three/IObject3D.js +0 -25
- package/libs/shared-utils/three/PointSelector.d.ts +0 -66
- package/libs/shared-utils/three/PointSelector.js +0 -116
- package/libs/shared-utils/three/PointSelectorHelper.d.ts +0 -50
- package/libs/shared-utils/three/PointSelectorHelper.js +0 -100
- /package/libs/{shared-utils → PanoMeasurePlugin/utils}/getIntersectionFromEvent.js +0 -0
- /package/libs/{shared-utils → PanoMeasurePlugin/utils}/getPointFromHammerEvent.js +0 -0
|
@@ -1,134 +1,134 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { SvelteComponent as G, init as X, safe_not_equal as P, append_styles as w, element as m, space as x, attr as u, set_style as k, insert as T, append as r, noop as E, detach as N, text as p, set_data as A } from "../../vendor/svelte/internal/index.js";
|
|
2
|
+
function Z(i) {
|
|
3
|
+
w(i, "svelte-b9xhqz", ".guide-line__tag.svelte-b9xhqz.svelte-b9xhqz{position:relative}.text-with-distance.svelte-b9xhqz.svelte-b9xhqz{display:flex;flex-direction:column;position:relative;padding:0.125rem 0.25rem;border-radius:0.125rem;background:linear-gradient(to top, rgba(147, 147, 147, 0.3), rgba(74, 74, 74, 0.3));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.2)}.text-with-distance.svelte-b9xhqz .border.svelte-b9xhqz{position:absolute;top:-50%;right:-50%;bottom:-50%;left:-50%;padding:0.0625rem;border-radius:0.25rem;background:linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2));-webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask-composite:xor;transform:scale(0.5)}.distance-and-name.svelte-b9xhqz.svelte-b9xhqz{display:flex;gap:0.1875rem}.distance.svelte-b9xhqz.svelte-b9xhqz{white-space:nowrap;font-size:0.625rem;line-height:0.875rem;color:#66afff}.name.svelte-b9xhqz.svelte-b9xhqz{opacity:0.6;font-size:0.625rem;line-height:0.875rem;white-space:nowrap;color:#ffffff}.line-name.svelte-b9xhqz.svelte-b9xhqz{color:#fff;white-space:nowrap;font-size:0.625rem;line-height:0.875rem}.guide-line__tag-point.svelte-b9xhqz.svelte-b9xhqz{position:absolute;left:50%;bottom:0.0625rem;width:0.4375rem;height:0.125rem;transform:translateX(-50%);background:#fff;border-radius:50%;opacity:0.5}.guide-line__tag-line.svelte-b9xhqz.svelte-b9xhqz{position:absolute;left:50%;bottom:0.0625rem;width:0.0625rem;height:1.875rem;transform:translateX(-50%);background:linear-gradient(to top, #fff, rgba(255, 255, 255, 0))}.guide-line__tag-content.svelte-b9xhqz.svelte-b9xhqz{position:absolute;left:-0.9375rem;bottom:1.9375rem;display:flex}.guide-line__tag-icon.svelte-b9xhqz.svelte-b9xhqz{width:1.875rem;height:1.875rem;background-size:100%}.guide-line__tag-text.svelte-b9xhqz.svelte-b9xhqz{box-sizing:content-box;height:0.875rem;width:-moz-max-content;width:max-content;margin-top:0.3125rem;transform:translateX(-0.1875rem);white-space:nowrap;font-size:0.625rem;line-height:0.875rem;border:solid transparent;border-width:0.125rem 0.5rem 0.125rem 0.375rem;border-image-source:url('https://vrlab-static.ljcdn.com/release/web/jsl/test2.2ea9ddee.png');border-image-slice:6 25 6 18 fill;color:#fff}");
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
let e,
|
|
5
|
+
function I(i) {
|
|
6
|
+
let e, a;
|
|
7
7
|
return {
|
|
8
8
|
c() {
|
|
9
|
-
e =
|
|
9
|
+
e = m("div"), a = p(
|
|
10
10
|
/*text*/
|
|
11
11
|
i[0]
|
|
12
|
-
),
|
|
12
|
+
), u(e, "class", "guide-line__tag-text svelte-b9xhqz"), k(e, "border-image-source", `url(${/*text_background_url*/
|
|
13
13
|
i[6]})`);
|
|
14
14
|
},
|
|
15
15
|
m(l, n) {
|
|
16
|
-
T(l, e, n),
|
|
16
|
+
T(l, e, n), r(e, a);
|
|
17
17
|
},
|
|
18
18
|
p(l, n) {
|
|
19
19
|
n & /*text*/
|
|
20
|
-
1 &&
|
|
21
|
-
|
|
20
|
+
1 && A(
|
|
21
|
+
a,
|
|
22
22
|
/*text*/
|
|
23
23
|
l[0]
|
|
24
24
|
);
|
|
25
25
|
},
|
|
26
26
|
d(l) {
|
|
27
|
-
l &&
|
|
27
|
+
l && N(e);
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
function
|
|
32
|
-
let e,
|
|
31
|
+
function _(i) {
|
|
32
|
+
let e, a, l, n, g = (
|
|
33
33
|
/*i18n*/
|
|
34
34
|
i[5]("全程") + ""
|
|
35
|
-
), o, d,
|
|
35
|
+
), o, d, h = (
|
|
36
36
|
/*i18n*/
|
|
37
37
|
i[5]("米") + ""
|
|
38
|
-
),
|
|
38
|
+
), v, t, s, f, q, y, b = (
|
|
39
39
|
/*name*/
|
|
40
|
-
i[4] &&
|
|
40
|
+
i[4] && D(i)
|
|
41
41
|
);
|
|
42
42
|
return {
|
|
43
43
|
c() {
|
|
44
|
-
e =
|
|
44
|
+
e = m("div"), b && b.c(), a = x(), l = m("div"), n = m("span"), o = p(g), d = p(
|
|
45
45
|
/*distance*/
|
|
46
46
|
i[2]
|
|
47
|
-
),
|
|
47
|
+
), v = p(h), t = x(), s = m("span"), f = p(
|
|
48
48
|
/*text*/
|
|
49
49
|
i[0]
|
|
50
|
-
),
|
|
50
|
+
), q = x(), y = m("div"), u(n, "class", "distance svelte-b9xhqz"), u(s, "class", "name svelte-b9xhqz"), u(l, "class", "distance-and-name svelte-b9xhqz"), u(y, "class", "border svelte-b9xhqz"), u(e, "class", "text-with-distance svelte-b9xhqz");
|
|
51
51
|
},
|
|
52
|
-
m(
|
|
53
|
-
T(
|
|
52
|
+
m(c, z) {
|
|
53
|
+
T(c, e, z), b && b.m(e, null), r(e, a), r(e, l), r(l, n), r(n, o), r(n, d), r(n, v), r(l, t), r(l, s), r(s, f), r(e, q), r(e, y);
|
|
54
54
|
},
|
|
55
|
-
p(
|
|
55
|
+
p(c, z) {
|
|
56
56
|
/*name*/
|
|
57
|
-
|
|
58
|
-
32 &&
|
|
59
|
-
|
|
60
|
-
4 &&
|
|
57
|
+
c[4] ? b ? b.p(c, z) : (b = D(c), b.c(), b.m(e, a)) : b && (b.d(1), b = null), z & /*i18n*/
|
|
58
|
+
32 && g !== (g = /*i18n*/
|
|
59
|
+
c[5]("全程") + "") && A(o, g), z & /*distance*/
|
|
60
|
+
4 && A(
|
|
61
61
|
d,
|
|
62
62
|
/*distance*/
|
|
63
|
-
|
|
64
|
-
),
|
|
65
|
-
32 &&
|
|
66
|
-
|
|
67
|
-
1 &&
|
|
63
|
+
c[2]
|
|
64
|
+
), z & /*i18n*/
|
|
65
|
+
32 && h !== (h = /*i18n*/
|
|
66
|
+
c[5]("米") + "") && A(v, h), z & /*text*/
|
|
67
|
+
1 && A(
|
|
68
68
|
f,
|
|
69
69
|
/*text*/
|
|
70
|
-
|
|
70
|
+
c[0]
|
|
71
71
|
);
|
|
72
72
|
},
|
|
73
|
-
d(
|
|
74
|
-
|
|
73
|
+
d(c) {
|
|
74
|
+
c && N(e), b && b.d();
|
|
75
75
|
}
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
|
-
function
|
|
79
|
-
let e,
|
|
78
|
+
function D(i) {
|
|
79
|
+
let e, a;
|
|
80
80
|
return {
|
|
81
81
|
c() {
|
|
82
|
-
e =
|
|
82
|
+
e = m("span"), a = p(
|
|
83
83
|
/*name*/
|
|
84
84
|
i[4]
|
|
85
|
-
),
|
|
85
|
+
), u(e, "class", "line-name svelte-b9xhqz");
|
|
86
86
|
},
|
|
87
87
|
m(l, n) {
|
|
88
|
-
T(l, e, n),
|
|
88
|
+
T(l, e, n), r(e, a);
|
|
89
89
|
},
|
|
90
90
|
p(l, n) {
|
|
91
91
|
n & /*name*/
|
|
92
|
-
16 &&
|
|
93
|
-
|
|
92
|
+
16 && A(
|
|
93
|
+
a,
|
|
94
94
|
/*name*/
|
|
95
95
|
l[4]
|
|
96
96
|
);
|
|
97
97
|
},
|
|
98
98
|
d(l) {
|
|
99
|
-
l &&
|
|
99
|
+
l && N(e);
|
|
100
100
|
}
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
-
function
|
|
104
|
-
let e,
|
|
103
|
+
function K(i) {
|
|
104
|
+
let e, a, l, n, g, o, d, h, v, t = (
|
|
105
105
|
/*text*/
|
|
106
106
|
i[0] && !/*distance*/
|
|
107
|
-
i[2] &&
|
|
107
|
+
i[2] && I(i)
|
|
108
108
|
), s = (
|
|
109
109
|
/*distance*/
|
|
110
|
-
i[2] &&
|
|
110
|
+
i[2] && _(i)
|
|
111
111
|
);
|
|
112
112
|
return {
|
|
113
113
|
c() {
|
|
114
|
-
e =
|
|
115
|
-
i[1]})`),
|
|
114
|
+
e = m("div"), a = m("div"), l = x(), n = m("div"), g = x(), o = m("div"), d = m("div"), h = x(), t && t.c(), v = x(), s && s.c(), u(a, "class", "guide-line__tag-point svelte-b9xhqz"), u(n, "class", "guide-line__tag-line svelte-b9xhqz"), u(d, "class", "guide-line__tag-icon svelte-b9xhqz"), k(d, "background-image", `url(${/*icon_url*/
|
|
115
|
+
i[1]})`), u(o, "class", "guide-line__tag-content svelte-b9xhqz"), u(e, "class", "guide-line__tag svelte-b9xhqz"), k(
|
|
116
116
|
e,
|
|
117
117
|
"opacity",
|
|
118
118
|
/*opacity*/
|
|
119
119
|
i[3]
|
|
120
120
|
);
|
|
121
121
|
},
|
|
122
|
-
m(f,
|
|
123
|
-
T(f, e,
|
|
122
|
+
m(f, q) {
|
|
123
|
+
T(f, e, q), r(e, a), r(e, l), r(e, n), r(e, g), r(e, o), r(o, d), r(o, h), t && t.m(o, null), r(o, v), s && s.m(o, null);
|
|
124
124
|
},
|
|
125
|
-
p(f, [
|
|
126
|
-
|
|
125
|
+
p(f, [q]) {
|
|
126
|
+
q & /*icon_url*/
|
|
127
127
|
2 && k(d, "background-image", `url(${/*icon_url*/
|
|
128
128
|
f[1]})`), /*text*/
|
|
129
129
|
f[0] && !/*distance*/
|
|
130
|
-
f[2] ? t ? t.p(f,
|
|
131
|
-
f[2] ? s ? s.p(f,
|
|
130
|
+
f[2] ? t ? t.p(f, q) : (t = I(f), t.c(), t.m(o, v)) : t && (t.d(1), t = null), /*distance*/
|
|
131
|
+
f[2] ? s ? s.p(f, q) : (s = _(f), s.c(), s.m(o, null)) : s && (s.d(1), s = null), q & /*opacity*/
|
|
132
132
|
8 && k(
|
|
133
133
|
e,
|
|
134
134
|
"opacity",
|
|
@@ -136,28 +136,28 @@ function Z(i) {
|
|
|
136
136
|
f[3]
|
|
137
137
|
);
|
|
138
138
|
},
|
|
139
|
-
i:
|
|
140
|
-
o:
|
|
139
|
+
i: E,
|
|
140
|
+
o: E,
|
|
141
141
|
d(f) {
|
|
142
|
-
f &&
|
|
142
|
+
f && N(e), t && t.d(), s && s.d();
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
|
-
function
|
|
147
|
-
let { text: l = "" } = e, { icon_url: n = "" } = e, { distance:
|
|
148
|
-
const
|
|
146
|
+
function B(i, e, a) {
|
|
147
|
+
let { text: l = "" } = e, { icon_url: n = "" } = e, { distance: g = 0 } = e, { opacity: o = 1 } = e, { name: d = "" } = e, { i18n: h = (t) => t } = e;
|
|
148
|
+
const v = "data:image/png;base64,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";
|
|
149
149
|
return i.$$set = (t) => {
|
|
150
|
-
"text" in t &&
|
|
151
|
-
}, [l, n,
|
|
150
|
+
"text" in t && a(0, l = t.text), "icon_url" in t && a(1, n = t.icon_url), "distance" in t && a(2, g = t.distance), "opacity" in t && a(3, o = t.opacity), "name" in t && a(4, d = t.name), "i18n" in t && a(5, h = t.i18n);
|
|
151
|
+
}, [l, n, g, o, d, h, v];
|
|
152
152
|
}
|
|
153
|
-
class
|
|
153
|
+
class O extends G {
|
|
154
154
|
constructor(e) {
|
|
155
|
-
super(),
|
|
155
|
+
super(), X(
|
|
156
156
|
this,
|
|
157
157
|
e,
|
|
158
|
+
B,
|
|
158
159
|
K,
|
|
159
|
-
|
|
160
|
-
X,
|
|
160
|
+
P,
|
|
161
161
|
{
|
|
162
162
|
text: 0,
|
|
163
163
|
icon_url: 1,
|
|
@@ -166,10 +166,10 @@ class F extends D {
|
|
|
166
166
|
name: 4,
|
|
167
167
|
i18n: 5
|
|
168
168
|
},
|
|
169
|
-
|
|
169
|
+
Z
|
|
170
170
|
);
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
export {
|
|
174
|
-
|
|
174
|
+
O as default
|
|
175
175
|
};
|
|
@@ -50,7 +50,7 @@ import "../shared-utils/three/centerPoint.js";
|
|
|
50
50
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
51
51
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
52
52
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
53
|
-
import "../shared-utils/
|
|
53
|
+
import "../shared-utils/isAbsoluteURL.js";
|
|
54
54
|
import "../shared-utils/isTruelyObject.js";
|
|
55
55
|
import "./GuideLineModeItem/index.js";
|
|
56
56
|
import "../shared-utils/log.js";
|
|
@@ -55,7 +55,7 @@ import "../PanoTagPlugin/utils/planeNormal.js";
|
|
|
55
55
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
56
56
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
57
57
|
import "../base/BasePlugin.js";
|
|
58
|
-
import "../shared-utils/
|
|
58
|
+
import "../shared-utils/isAbsoluteURL.js";
|
|
59
59
|
import "../vendor/svelte/store/index.js";
|
|
60
60
|
import "../vendor/svelte/internal/index.js";
|
|
61
61
|
import "../shared-utils/device.js";
|
|
@@ -53,7 +53,7 @@ import "../PanoTagPlugin/utils/planeNormal.js";
|
|
|
53
53
|
import "../PanoTagPlugin/utils/normalPositionToPositions.js";
|
|
54
54
|
import "../PanoTagPlugin/controller/TagCache.js";
|
|
55
55
|
import "../base/BasePlugin.js";
|
|
56
|
-
import "../shared-utils/
|
|
56
|
+
import "../shared-utils/isAbsoluteURL.js";
|
|
57
57
|
import "../vendor/svelte/store/index.js";
|
|
58
58
|
import "../vendor/svelte/internal/index.js";
|
|
59
59
|
import "../shared-utils/device.js";
|
|
@@ -21,7 +21,7 @@ import "../shared-utils/three/centerPoint.js";
|
|
|
21
21
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
22
22
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
23
23
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
24
|
-
import "../shared-utils/
|
|
24
|
+
import "../shared-utils/isAbsoluteURL.js";
|
|
25
25
|
import "../shared-utils/equal.js";
|
|
26
26
|
import "../shared-utils/isTruelyObject.js";
|
|
27
27
|
import "../CruisePlugin/Controller.js";
|
|
@@ -1,176 +1,176 @@
|
|
|
1
|
-
import { SvelteComponent as
|
|
2
|
-
import { classnames as
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { SvelteComponent as B, init as x, safe_not_equal as F, append_styles as N, element as w, space as z, attr as c, null_to_empty as p, set_style as _, insert as q, append as v, listen as j, noop as I, detach as y, binding_callbacks as S, text as L, set_data as C } from "../vendor/svelte/internal/index.js";
|
|
2
|
+
import { classnames as k } from "../vendor/classnames/index.js";
|
|
3
|
+
function A(l) {
|
|
4
|
+
N(l, "svelte-gduhqw", `.item-label-item.svelte-gduhqw.svelte-gduhqw{position:absolute;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;animation:svelte-gduhqw-fadeIn .3s ease-in}.item-label-item.fold.svelte-gduhqw>.item-label-item__text-wrap.svelte-gduhqw{visibility:hidden}.item-label-item.fold.svelte-gduhqw>.item-label-item__bar.anchor.svelte-gduhqw{visibility:hidden}.item-label-item.fold.svelte-gduhqw>.item-label-item__bar.anchor.svelte-gduhqw:after{visibility:visible}.item-label-item__text-wrap.svelte-gduhqw.svelte-gduhqw{height:-moz-fit-content;height:fit-content;padding:0.75rem 1.25rem 0.75rem 0.75rem;position:absolute;width:-moz-max-content;width:max-content;max-width:29.5625rem;min-height:5.75rem;background-image:linear-gradient(269deg, rgba(0, 0, 0, 0.50) 0%, rgba(0, 0, 0, 0.60) 49%, rgba(31, 38, 46, 0.70) 100%);border:0.09375rem solid rgba(255, 255, 255, .65);border-radius:0.1875rem;color:white;transform:translate(-50%, 0);display:flex;justify-content:flex-start;align-items:center;box-sizing:border-box;overflow:hidden;pointer-events:all}.item-label-item__custom.svelte-gduhqw.svelte-gduhqw{padding:0;max-width:unset;min-height:unset;background-image:unset;border:0;border-radius:0}.icon-wrap.svelte-gduhqw.svelte-gduhqw{width:4.25rem;height:100%;display:flex;justify-content:center;align-content:center}.icon.svelte-gduhqw.svelte-gduhqw{width:4.25rem;height:4.25rem;background-repeat:no-repeat;background-size:contain;background-position:center}.item-label-text.svelte-gduhqw.svelte-gduhqw{margin-left:0.75rem;padding-left:0.75rem;min-height:4.25rem;height:auto;display:flex;flex-flow:column;justify-content:space-around;align-content:flex-start;border-left:solid rgba(255, 255, 255, .2) 0.0625rem;border-top:solid rgba(255, 255, 255, .2) 0;border-right:solid rgba(255, 255, 255, .2) 0;border-bottom:solid rgba(255, 255, 255, .2) 0;pointer-events:auto}.item-model.svelte-gduhqw.svelte-gduhqw{white-space:nowrap;font-size:1.375rem;font-weight:bold;line-height:1.875rem}.item-name.svelte-gduhqw.svelte-gduhqw{height:auto;word-wrap:break-word;word-break:break-all;font-size:1.25rem;line-height:1.75rem}.item-label-item__bar.svelte-gduhqw.svelte-gduhqw{position:absolute;bottom:0;width:0.1875rem;background-image:linear-gradient(to bottom, white, rgba(255, 255, 255, 0));box-shadow:0 0.125rem 0.5rem 0 rgba(0, 0, 0, 0.20);pointer-events:none}.item-label-item__bar.anchor.svelte-gduhqw.svelte-gduhqw:after{content:'';position:absolute;bottom:0;width:1.5rem;height:1.5rem;background-image:url("//vrlab-public.ljcdn.com/common/file/web/67e7a198-28c9-47dc-879b-507bd3ae600c.png ");background-position:center;background-size:contain;transform:translate(-0.65625rem, 50%)}@keyframes svelte-gduhqw-fadeIn{from{opacity:0
|
|
5
5
|
}to{opacity:1
|
|
6
6
|
}}`);
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function D(l) {
|
|
9
9
|
let e, t, n, s = (
|
|
10
10
|
/*itemLabel*/
|
|
11
11
|
(l[0].code || /*itemLabel*/
|
|
12
12
|
l[0].id) + ""
|
|
13
|
-
),
|
|
13
|
+
), h, o, m, r = (
|
|
14
14
|
/*itemLabel*/
|
|
15
15
|
l[0].name + ""
|
|
16
|
-
),
|
|
16
|
+
), g, a = (
|
|
17
17
|
/*itemLabel*/
|
|
18
|
-
l[0].icon &&
|
|
18
|
+
l[0].icon && E(l)
|
|
19
19
|
);
|
|
20
20
|
return {
|
|
21
21
|
c() {
|
|
22
|
-
a && a.c(), e = z(), t =
|
|
22
|
+
a && a.c(), e = z(), t = w("div"), n = w("span"), h = L(s), o = z(), m = w("span"), g = L(r), c(n, "class", "item-model svelte-gduhqw"), c(m, "class", "item-name svelte-gduhqw"), c(t, "class", "item-label-text svelte-gduhqw");
|
|
23
23
|
},
|
|
24
|
-
m(i,
|
|
25
|
-
a && a.m(i,
|
|
24
|
+
m(i, b) {
|
|
25
|
+
a && a.m(i, b), q(i, e, b), q(i, t, b), v(t, n), v(n, h), v(t, o), v(t, m), v(m, g);
|
|
26
26
|
},
|
|
27
|
-
p(i,
|
|
27
|
+
p(i, b) {
|
|
28
28
|
/*itemLabel*/
|
|
29
|
-
i[0].icon ? a ? a.p(i,
|
|
29
|
+
i[0].icon ? a ? a.p(i, b) : (a = E(i), a.c(), a.m(e.parentNode, e)) : a && (a.d(1), a = null), b & /*itemLabel*/
|
|
30
30
|
1 && s !== (s = /*itemLabel*/
|
|
31
31
|
(i[0].code || /*itemLabel*/
|
|
32
|
-
i[0].id) + "") &&
|
|
32
|
+
i[0].id) + "") && C(h, s), b & /*itemLabel*/
|
|
33
33
|
1 && r !== (r = /*itemLabel*/
|
|
34
|
-
i[0].name + "") &&
|
|
34
|
+
i[0].name + "") && C(g, r);
|
|
35
35
|
},
|
|
36
36
|
d(i) {
|
|
37
|
-
a && a.d(i), i &&
|
|
37
|
+
a && a.d(i), i && y(e), i && y(t);
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function G(l) {
|
|
42
42
|
let e;
|
|
43
43
|
return {
|
|
44
44
|
c() {
|
|
45
|
-
e =
|
|
45
|
+
e = w("div");
|
|
46
46
|
},
|
|
47
47
|
m(t, n) {
|
|
48
|
-
|
|
48
|
+
q(t, e, n), l[6](e);
|
|
49
49
|
},
|
|
50
50
|
p: I,
|
|
51
51
|
d(t) {
|
|
52
|
-
t &&
|
|
52
|
+
t && y(e), l[6](null);
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
let e, t, n, s,
|
|
56
|
+
function E(l) {
|
|
57
|
+
let e, t, n, s, h;
|
|
58
58
|
return {
|
|
59
59
|
c() {
|
|
60
|
-
e =
|
|
61
|
-
l[0].icon})`), c(e, "class", "icon-wrap svelte-
|
|
60
|
+
e = w("div"), t = w("div"), c(t, "class", "icon svelte-gduhqw"), c(t, "style", n = `background-image: url(${/*itemLabel*/
|
|
61
|
+
l[0].icon})`), c(e, "class", "icon-wrap svelte-gduhqw");
|
|
62
62
|
},
|
|
63
|
-
m(o,
|
|
64
|
-
|
|
63
|
+
m(o, m) {
|
|
64
|
+
q(o, e, m), v(e, t), s || (h = j(
|
|
65
65
|
e,
|
|
66
66
|
"click",
|
|
67
67
|
/*click_handler*/
|
|
68
68
|
l[7]
|
|
69
69
|
), s = !0);
|
|
70
70
|
},
|
|
71
|
-
p(o,
|
|
72
|
-
|
|
71
|
+
p(o, m) {
|
|
72
|
+
m & /*itemLabel*/
|
|
73
73
|
1 && n !== (n = `background-image: url(${/*itemLabel*/
|
|
74
74
|
o[0].icon})`) && c(t, "style", n);
|
|
75
75
|
},
|
|
76
76
|
d(o) {
|
|
77
|
-
o &&
|
|
77
|
+
o && y(e), s = !1, h();
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
|
-
function
|
|
82
|
-
let e, t, n, s,
|
|
83
|
-
function i(
|
|
84
|
-
return
|
|
81
|
+
function H(l) {
|
|
82
|
+
let e, t, n, s, h, o, m, r, g, a;
|
|
83
|
+
function i(d, u) {
|
|
84
|
+
return u & /*itemLabel*/
|
|
85
85
|
1 && (n = null), n == null && (n = typeof /*itemLabel*/
|
|
86
|
-
|
|
86
|
+
d[0].render == "function"), n ? G : D;
|
|
87
87
|
}
|
|
88
|
-
let
|
|
88
|
+
let b = i(l, -1), f = b(l);
|
|
89
89
|
return {
|
|
90
90
|
c() {
|
|
91
|
-
e =
|
|
91
|
+
e = w("div"), t = w("div"), f.c(), h = z(), o = w("div"), c(t, "class", s = p(k("item-label-item__text-wrap", {
|
|
92
92
|
"item-label-item__custom": typeof /*itemLabel*/
|
|
93
93
|
l[0].render == "function"
|
|
94
|
-
})) + " svelte-
|
|
95
|
-
l[0].strokeLength}px`), c(o, "class",
|
|
94
|
+
})) + " svelte-gduhqw"), _(t, "bottom", `${/*itemLabel*/
|
|
95
|
+
l[0].strokeLength}px`), c(o, "class", m = p(k("item-label-item__bar", { anchor: (
|
|
96
96
|
/*anchorEnabled*/
|
|
97
97
|
l[1]
|
|
98
|
-
) })) + " svelte-
|
|
99
|
-
l[0].strokeLength}px`), c(e, "class", r =
|
|
98
|
+
) })) + " svelte-gduhqw"), _(o, "height", `${/*itemLabel*/
|
|
99
|
+
l[0].strokeLength}px`), c(e, "class", r = p(k("item-label-item", { fold: (
|
|
100
100
|
/*itemLabel*/
|
|
101
101
|
l[0].isFold
|
|
102
|
-
) })) + " svelte-
|
|
102
|
+
) })) + " svelte-gduhqw"), _(
|
|
103
103
|
e,
|
|
104
104
|
"z-index",
|
|
105
105
|
/*itemLabel*/
|
|
106
106
|
l[0].zIndex
|
|
107
|
-
),
|
|
107
|
+
), _(
|
|
108
108
|
e,
|
|
109
109
|
"transform",
|
|
110
110
|
/*itemLabel*/
|
|
111
111
|
l[0].transform
|
|
112
112
|
);
|
|
113
113
|
},
|
|
114
|
-
m(
|
|
115
|
-
|
|
114
|
+
m(d, u) {
|
|
115
|
+
q(d, e, u), v(e, t), f.m(t, null), v(e, h), v(e, o), g || (a = j(
|
|
116
116
|
t,
|
|
117
117
|
"click",
|
|
118
118
|
/*onClick*/
|
|
119
119
|
l[4]
|
|
120
|
-
),
|
|
120
|
+
), g = !0);
|
|
121
121
|
},
|
|
122
|
-
p(
|
|
123
|
-
|
|
124
|
-
1 && s !== (s =
|
|
122
|
+
p(d, [u]) {
|
|
123
|
+
b === (b = i(d, u)) && f ? f.p(d, u) : (f.d(1), f = b(d), f && (f.c(), f.m(t, null))), u & /*itemLabel*/
|
|
124
|
+
1 && s !== (s = p(k("item-label-item__text-wrap", {
|
|
125
125
|
"item-label-item__custom": typeof /*itemLabel*/
|
|
126
|
-
|
|
127
|
-
})) + " svelte-
|
|
128
|
-
1 &&
|
|
129
|
-
|
|
130
|
-
2 &&
|
|
126
|
+
d[0].render == "function"
|
|
127
|
+
})) + " svelte-gduhqw") && c(t, "class", s), u & /*itemLabel*/
|
|
128
|
+
1 && _(t, "bottom", `${/*itemLabel*/
|
|
129
|
+
d[0].strokeLength}px`), u & /*anchorEnabled*/
|
|
130
|
+
2 && m !== (m = p(k("item-label-item__bar", { anchor: (
|
|
131
131
|
/*anchorEnabled*/
|
|
132
|
-
|
|
133
|
-
) })) + " svelte-
|
|
134
|
-
1 &&
|
|
135
|
-
|
|
136
|
-
1 && r !== (r =
|
|
132
|
+
d[1]
|
|
133
|
+
) })) + " svelte-gduhqw") && c(o, "class", m), u & /*itemLabel*/
|
|
134
|
+
1 && _(o, "height", `${/*itemLabel*/
|
|
135
|
+
d[0].strokeLength}px`), u & /*itemLabel*/
|
|
136
|
+
1 && r !== (r = p(k("item-label-item", { fold: (
|
|
137
137
|
/*itemLabel*/
|
|
138
|
-
|
|
139
|
-
) })) + " svelte-
|
|
140
|
-
1 &&
|
|
138
|
+
d[0].isFold
|
|
139
|
+
) })) + " svelte-gduhqw") && c(e, "class", r), u & /*itemLabel*/
|
|
140
|
+
1 && _(
|
|
141
141
|
e,
|
|
142
142
|
"z-index",
|
|
143
143
|
/*itemLabel*/
|
|
144
|
-
|
|
145
|
-
),
|
|
146
|
-
1 &&
|
|
144
|
+
d[0].zIndex
|
|
145
|
+
), u & /*itemLabel*/
|
|
146
|
+
1 && _(
|
|
147
147
|
e,
|
|
148
148
|
"transform",
|
|
149
149
|
/*itemLabel*/
|
|
150
|
-
|
|
150
|
+
d[0].transform
|
|
151
151
|
);
|
|
152
152
|
},
|
|
153
153
|
i: I,
|
|
154
154
|
o: I,
|
|
155
|
-
d(
|
|
156
|
-
|
|
155
|
+
d(d) {
|
|
156
|
+
d && y(e), f.d(), g = !1, a();
|
|
157
157
|
}
|
|
158
158
|
};
|
|
159
159
|
}
|
|
160
|
-
function
|
|
161
|
-
let { itemLabel: n } = e, { hooks: s } = e, { anchorEnabled:
|
|
162
|
-
function
|
|
160
|
+
function J(l, e, t) {
|
|
161
|
+
let { itemLabel: n } = e, { hooks: s } = e, { anchorEnabled: h } = e, { onIconClick: o } = e;
|
|
162
|
+
function m() {
|
|
163
163
|
s.emit("onLabelClick", n);
|
|
164
164
|
}
|
|
165
165
|
let r;
|
|
166
|
-
function
|
|
166
|
+
function g(i) {
|
|
167
167
|
S[i ? "unshift" : "push"](() => {
|
|
168
168
|
r = i, t(3, r);
|
|
169
169
|
});
|
|
170
170
|
}
|
|
171
171
|
const a = (i) => o(n);
|
|
172
172
|
return l.$$set = (i) => {
|
|
173
|
-
"itemLabel" in i && t(0, n = i.itemLabel), "hooks" in i && t(5, s = i.hooks), "anchorEnabled" in i && t(1,
|
|
173
|
+
"itemLabel" in i && t(0, n = i.itemLabel), "hooks" in i && t(5, s = i.hooks), "anchorEnabled" in i && t(1, h = i.anchorEnabled), "onIconClick" in i && t(2, o = i.onIconClick);
|
|
174
174
|
}, l.$$.update = () => {
|
|
175
175
|
if (l.$$.dirty & /*itemLabel, customElement*/
|
|
176
176
|
9 && typeof n.render == "function" && r && r.children.length === 0) {
|
|
@@ -179,33 +179,33 @@ function U(l, e, t) {
|
|
|
179
179
|
}
|
|
180
180
|
}, [
|
|
181
181
|
n,
|
|
182
|
-
|
|
182
|
+
h,
|
|
183
183
|
o,
|
|
184
184
|
r,
|
|
185
|
-
|
|
185
|
+
m,
|
|
186
186
|
s,
|
|
187
|
-
|
|
187
|
+
g,
|
|
188
188
|
a
|
|
189
189
|
];
|
|
190
190
|
}
|
|
191
|
-
class
|
|
191
|
+
class O extends B {
|
|
192
192
|
constructor(e) {
|
|
193
|
-
super(),
|
|
193
|
+
super(), x(
|
|
194
194
|
this,
|
|
195
195
|
e,
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
196
|
+
J,
|
|
197
|
+
H,
|
|
198
|
+
F,
|
|
199
199
|
{
|
|
200
200
|
itemLabel: 0,
|
|
201
201
|
hooks: 5,
|
|
202
202
|
anchorEnabled: 1,
|
|
203
203
|
onIconClick: 2
|
|
204
204
|
},
|
|
205
|
-
|
|
205
|
+
A
|
|
206
206
|
);
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
export {
|
|
210
|
-
|
|
210
|
+
O as default
|
|
211
211
|
};
|