@realsee/dnalogel 3.12.4 → 3.12.5
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 +10 -11
- package/dist/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/index.cjs.js +65 -65
- package/dist/index.js +4729 -4557
- package/dist/index.umd.js +56 -56
- package/docs/assets/custom.css +0 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +32 -32
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +35 -35
- package/docs/classes/CSS3DRender.html +32 -32
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +41 -41
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/MoveController.html +28 -28
- package/docs/classes/Object3DHelperController.html +25 -25
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +27 -27
- package/docs/classes/PanoMeasurePluginModel.html +27 -27
- package/docs/classes/PanoMeasurePluginPoint.html +11 -11
- package/docs/classes/PanoMeasurePluginPolyline.html +27 -27
- package/docs/classes/PanoTagPluginController.html +51 -51
- package/docs/classes/Util.BetterTween.html +10 -10
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.LineSegments.html +8 -8
- package/docs/classes/Util.Magnifier.html +20 -20
- package/docs/classes/Util.Object3D.html +9 -9
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.PointSelectorHelper.html +16 -16
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/classes/WalkController.html +27 -27
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +21 -21
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/AreaMakerPlugin.html +5 -5
- package/docs/functions/CSS3DRenderPlugin.html +5 -5
- package/docs/functions/CameraMovementPlugin.html +5 -5
- package/docs/functions/CruisePlugin.html +5 -5
- package/docs/functions/CurrentPanoImagePlugin.html +5 -5
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +5 -5
- package/docs/functions/MapviewFloorplanPlugin.html +5 -5
- package/docs/functions/ModelChassisCompassPlugin.html +5 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
- package/docs/functions/ModelFloorplanPlugin.html +5 -5
- package/docs/functions/ModelItemLabelPlugin.html +5 -5
- package/docs/functions/ModelRoomLabelPlugin.html +5 -5
- package/docs/functions/ModelTVVideoPlugin.html +5 -5
- package/docs/functions/ModelViewPlugin.html +5 -5
- package/docs/functions/MovePlugin.html +5 -5
- package/docs/functions/Object3DHelperPlugin.html +5 -5
- package/docs/functions/PanoCompassPlugin.html +5 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
- package/docs/functions/PanoDoorLabelPlugin.html +5 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
- package/docs/functions/PanoMeasurePlugin.html +5 -5
- package/docs/functions/PanoRulerPlugin.html +5 -5
- package/docs/functions/PanoRulerProPlugin.html +5 -5
- package/docs/functions/PanoSpatialTagPlugin.html +5 -5
- package/docs/functions/PanoTagPlugin.html +5 -5
- package/docs/functions/PanoVideoPlugin.html +5 -5
- package/docs/functions/PipelinePlugin.html +5 -5
- package/docs/functions/TopviewFloorplanPlugin.html +5 -5
- package/docs/functions/Util.absoluteUrl.html +5 -5
- package/docs/functions/Util.checkFiveModelLoaded.html +5 -5
- package/docs/functions/Util.equal.html +5 -5
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isAbsoluteURL.html +5 -5
- package/docs/functions/Util.isModelLike.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.isPanoramaLike.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/Util.uuid.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +20 -21
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.Config.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +15 -15
- package/docs/interfaces/AreaMakerPluginType.Params.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +11 -11
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -9
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.State.html +8 -8
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -21
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +12 -12
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +6 -6
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +8 -8
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +9 -9
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +13 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +6 -6
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +19 -19
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +5 -5
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -8
- package/docs/interfaces/GuideLinePluginType.Route.html +11 -11
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +6 -6
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +16 -16
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +30 -30
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +12 -12
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/interfaces/Util.PointIntersection.html +8 -8
- package/docs/modules/AreaMakerPluginType.html +5 -5
- package/docs/modules/CruisePluginTypes.html +5 -5
- package/docs/modules/CurrentPanoImagePluginType.html +5 -5
- package/docs/modules/GuideLineItem.html +5 -5
- package/docs/modules/GuideLineModeItem.html +5 -5
- package/docs/modules/GuideLinePluginType.html +5 -5
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +5 -5
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +5 -5
- package/docs/types/AreaMakerPluginType.PluginData.html +5 -5
- package/docs/types/AreaMakerPluginType.ServerData.html +5 -5
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
- package/docs/types/CurrentPanoImagePluginExportType.html +5 -5
- package/docs/types/DeprecatedMediaPlaneProperty.html +5 -5
- package/docs/types/DeprecatedTagProperty.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/ElementRenderer.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/GuideLinePluginType.GuideLineItem.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -5
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +5 -5
- package/docs/types/GuideLinePluginType.PathItem.html +5 -5
- package/docs/types/GuideLinePluginType.PluginData.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelId.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -5
- package/docs/types/PipelinePluginParameterType.html +5 -5
- package/docs/types/PipelinePluginReturnType.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagInstance.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagConfigByKey.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagContentTypeMapping.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TagInstance.html +5 -5
- package/docs/types/TagPointType.html +5 -5
- package/docs/types/TagRendererMap.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/defaultGlobalConfig.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/AreaMakerPlugin/Controller.js +54 -44
- package/libs/AreaMakerPlugin/index.js +13 -3
- package/libs/AreaMakerPlugin/utils/Item.js +13 -3
- package/libs/CruisePlugin/Work.js +19 -6
- package/libs/CruisePlugin/index.js +23 -10
- package/libs/GuideLinePlugin/Components/Tag.js +58 -48
- package/libs/GuideLinePlugin/Controller.js +46 -33
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
- package/libs/GuideLinePlugin/index.js +24 -11
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
- package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
- package/libs/ItemLabelPlugin/Plugin.js +37 -26
- package/libs/ItemLabelPlugin/index.js +16 -5
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
- package/libs/ModelItemLabelPlugin/index.js +16 -5
- package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
- package/libs/ModelRoomLabelPlugin/index.js +17 -5
- package/libs/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +72 -62
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
- package/libs/PanoDoorLabelPlugin/index.js +14 -4
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
- package/libs/PanoMeasurePlugin/Components/Controller0.js +74 -63
- package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
- package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
- package/libs/PanoMeasurePlugin/Controller/index.js +86 -75
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +33 -22
- package/libs/PanoMeasurePlugin/index.js +27 -16
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
- package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
- package/libs/PanoRulerProPlugin/index.js +15 -4
- package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
- package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
- package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
- package/libs/PanoSpatialTagPlugin/index.js +13 -2
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
- package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
- package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +216 -198
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/index.js +155 -142
- package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
- package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +33 -18
- package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
- package/libs/PanoTagPlugin/controller/index.js +32 -19
- package/libs/PanoTagPlugin/index.js +28 -15
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/components/AreaLabel/LabelItem.js +59 -54
- package/libs/floorplan/Components/BaseImage.js +43 -39
- package/libs/floorplan/Components/Camera.js +41 -32
- package/libs/floorplan/Components/Compass.js +27 -24
- package/libs/floorplan/Components/CurrentFloor.js +54 -49
- package/libs/floorplan/Components/Main.js +56 -47
- package/libs/floorplan/Components/MissingFloor.js +24 -21
- package/libs/floorplan/Components/Normalmage.js +25 -22
- package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
- package/libs/floorplan/Components/SvgImage.js +30 -27
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +24 -12
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +33 -21
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +138 -124
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/classnames/index.js +32 -32
- package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
- package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
- package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
- package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
- package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
- package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
- package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
- package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
- package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
- package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
- package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
- package/libs/vendor/svelte/src/shared/version.js +4 -0
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
- package/package.json +11 -8
- package/libs/vendor/svelte/internal/index.js +0 -749
- /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
- /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
|
@@ -1,15 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { safe_not_equal as k, assign as D } from "../../../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as b, element as y, svg_element as R, attr as m, insert as d, append as w, detach as c, empty as q } from "../../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { group_outros as I, check_outros as H, transition_in as p, transition_out as v } from "../../../vendor/svelte/src/runtime/internal/transitions.js";
|
|
4
|
+
import { ensure_array_like as g, update_keyed_each as B, outro_and_destroy_block as C } from "../../../vendor/svelte/src/runtime/internal/each.js";
|
|
5
|
+
import { get_spread_update as M } from "../../../vendor/svelte/src/runtime/internal/spread.js";
|
|
6
|
+
import { SvelteComponent as S, init as W, create_component as j, mount_component as x, destroy_component as z } from "../../../vendor/svelte/src/runtime/internal/Component.js";
|
|
7
|
+
import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
8
|
+
import { Room as A } from "./Room.js";
|
|
9
|
+
function E(i) {
|
|
10
|
+
b(i, "svelte-1kqo6e4", ".floorplan-plugin__room-highlight.svelte-1kqo6e4{position:absolute;width:100%;height:100%}svg.svelte-1kqo6e4{width:100%;height:100%;overflow:visible}");
|
|
5
11
|
}
|
|
6
|
-
function
|
|
7
|
-
const o =
|
|
12
|
+
function _(i, l, n) {
|
|
13
|
+
const o = i.slice();
|
|
8
14
|
return o[6] = l[n], o;
|
|
9
15
|
}
|
|
10
|
-
function
|
|
16
|
+
function u(i, l) {
|
|
11
17
|
let n, o, a;
|
|
12
|
-
const
|
|
18
|
+
const f = [
|
|
13
19
|
{
|
|
14
20
|
room: (
|
|
15
21
|
/*room*/
|
|
@@ -34,21 +40,21 @@ function m(r, l) {
|
|
|
34
40
|
}
|
|
35
41
|
];
|
|
36
42
|
let h = {};
|
|
37
|
-
for (let
|
|
38
|
-
h =
|
|
39
|
-
return o = new
|
|
40
|
-
key:
|
|
43
|
+
for (let r = 0; r < f.length; r += 1)
|
|
44
|
+
h = D(h, f[r]);
|
|
45
|
+
return o = new A({ props: h }), {
|
|
46
|
+
key: i,
|
|
41
47
|
first: null,
|
|
42
48
|
c() {
|
|
43
|
-
n =
|
|
49
|
+
n = q(), j(o.$$.fragment), this.first = n;
|
|
44
50
|
},
|
|
45
|
-
m(
|
|
46
|
-
d(
|
|
51
|
+
m(r, t) {
|
|
52
|
+
d(r, n, t), x(o, r, t), a = !0;
|
|
47
53
|
},
|
|
48
|
-
p(
|
|
49
|
-
l =
|
|
54
|
+
p(r, t) {
|
|
55
|
+
l = r;
|
|
50
56
|
const e = t & /*floorplanData, floorIndex, hoveredRoom, highlightData*/
|
|
51
|
-
15 ?
|
|
57
|
+
15 ? M(f, [
|
|
52
58
|
{
|
|
53
59
|
room: (
|
|
54
60
|
/*room*/
|
|
@@ -74,107 +80,109 @@ function m(r, l) {
|
|
|
74
80
|
]) : {};
|
|
75
81
|
o.$set(e);
|
|
76
82
|
},
|
|
77
|
-
i(
|
|
78
|
-
a || (
|
|
83
|
+
i(r) {
|
|
84
|
+
a || (p(o.$$.fragment, r), a = !0);
|
|
79
85
|
},
|
|
80
|
-
o(
|
|
81
|
-
|
|
86
|
+
o(r) {
|
|
87
|
+
v(o.$$.fragment, r), a = !1;
|
|
82
88
|
},
|
|
83
|
-
d(
|
|
84
|
-
|
|
89
|
+
d(r) {
|
|
90
|
+
r && c(n), z(o, r);
|
|
85
91
|
}
|
|
86
92
|
};
|
|
87
93
|
}
|
|
88
|
-
function
|
|
89
|
-
let l, n, o = [], a = /* @__PURE__ */ new Map(),
|
|
94
|
+
function F(i) {
|
|
95
|
+
let l, n, o = [], a = /* @__PURE__ */ new Map(), f, h = g(
|
|
90
96
|
/*floorplanData*/
|
|
91
|
-
|
|
97
|
+
i[1].floorDatas[
|
|
92
98
|
/*floorIndex*/
|
|
93
|
-
|
|
99
|
+
i[0]
|
|
94
100
|
].rooms
|
|
95
101
|
);
|
|
96
|
-
const
|
|
102
|
+
const r = (t) => (
|
|
97
103
|
/*room*/
|
|
98
104
|
t[6].id
|
|
99
105
|
);
|
|
100
106
|
for (let t = 0; t < h.length; t += 1) {
|
|
101
|
-
let e =
|
|
102
|
-
a.set(
|
|
107
|
+
let e = _(i, h, t), s = r(e);
|
|
108
|
+
a.set(s, o[t] = u(s, e));
|
|
103
109
|
}
|
|
104
110
|
return {
|
|
105
111
|
c() {
|
|
106
112
|
l = y("div"), n = R("svg");
|
|
107
113
|
for (let t = 0; t < o.length; t += 1)
|
|
108
114
|
o[t].c();
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
115
|
+
m(n, "width", "100%"), m(n, "height", "100%"), m(n, "viewBox", `0 0 ${/*boundingWidth*/
|
|
116
|
+
i[4]} ${/*boundingHeight*/
|
|
117
|
+
i[5]}`), m(n, "class", "svelte-1kqo6e4"), m(l, "class", "floorplan-plugin__room-highlight svelte-1kqo6e4");
|
|
112
118
|
},
|
|
113
119
|
m(t, e) {
|
|
114
120
|
d(t, l, e), w(l, n);
|
|
115
|
-
for (let
|
|
116
|
-
o[
|
|
117
|
-
|
|
121
|
+
for (let s = 0; s < o.length; s += 1)
|
|
122
|
+
o[s] && o[s].m(n, null);
|
|
123
|
+
f = !0;
|
|
118
124
|
},
|
|
119
125
|
p(t, [e]) {
|
|
120
126
|
e & /*floorplanData, floorIndex, hoveredRoom, highlightData*/
|
|
121
|
-
15 && (h =
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
127
|
+
15 && (h = g(
|
|
128
|
+
/*floorplanData*/
|
|
129
|
+
t[1].floorDatas[
|
|
130
|
+
/*floorIndex*/
|
|
131
|
+
t[0]
|
|
132
|
+
].rooms
|
|
133
|
+
), I(), o = B(o, e, r, 1, t, h, a, n, C, u, null, _), H());
|
|
126
134
|
},
|
|
127
135
|
i(t) {
|
|
128
|
-
if (!
|
|
136
|
+
if (!f) {
|
|
129
137
|
for (let e = 0; e < h.length; e += 1)
|
|
130
|
-
|
|
131
|
-
|
|
138
|
+
p(o[e]);
|
|
139
|
+
f = !0;
|
|
132
140
|
}
|
|
133
141
|
},
|
|
134
142
|
o(t) {
|
|
135
143
|
for (let e = 0; e < o.length; e += 1)
|
|
136
|
-
|
|
137
|
-
|
|
144
|
+
v(o[e]);
|
|
145
|
+
f = !1;
|
|
138
146
|
},
|
|
139
147
|
d(t) {
|
|
140
|
-
t &&
|
|
148
|
+
t && c(l);
|
|
141
149
|
for (let e = 0; e < o.length; e += 1)
|
|
142
150
|
o[e].d();
|
|
143
151
|
}
|
|
144
152
|
};
|
|
145
153
|
}
|
|
146
|
-
function
|
|
147
|
-
let { floorIndex: o } = l, { floorplanData: a } = l, { highlightData:
|
|
148
|
-
const
|
|
149
|
-
return
|
|
150
|
-
"floorIndex" in e && n(0, o = e.floorIndex), "floorplanData" in e && n(1, a = e.floorplanData), "highlightData" in e && n(2,
|
|
154
|
+
function G(i, l, n) {
|
|
155
|
+
let { floorIndex: o } = l, { floorplanData: a } = l, { highlightData: f } = l, { hoveredRoom: h } = l;
|
|
156
|
+
const r = a.bounding.max.x - a.bounding.min.x, t = a.bounding.max.y - a.bounding.min.y;
|
|
157
|
+
return i.$$set = (e) => {
|
|
158
|
+
"floorIndex" in e && n(0, o = e.floorIndex), "floorplanData" in e && n(1, a = e.floorplanData), "highlightData" in e && n(2, f = e.highlightData), "hoveredRoom" in e && n(3, h = e.hoveredRoom);
|
|
151
159
|
}, [
|
|
152
160
|
o,
|
|
153
161
|
a,
|
|
154
|
-
|
|
162
|
+
f,
|
|
155
163
|
h,
|
|
156
|
-
|
|
164
|
+
r,
|
|
157
165
|
t
|
|
158
166
|
];
|
|
159
167
|
}
|
|
160
|
-
class
|
|
168
|
+
class U extends S {
|
|
161
169
|
constructor(l) {
|
|
162
|
-
super(),
|
|
170
|
+
super(), W(
|
|
163
171
|
this,
|
|
164
172
|
l,
|
|
173
|
+
G,
|
|
165
174
|
F,
|
|
166
|
-
|
|
167
|
-
D,
|
|
175
|
+
k,
|
|
168
176
|
{
|
|
169
177
|
floorIndex: 0,
|
|
170
178
|
floorplanData: 1,
|
|
171
179
|
highlightData: 2,
|
|
172
180
|
hoveredRoom: 3
|
|
173
181
|
},
|
|
174
|
-
|
|
182
|
+
E
|
|
175
183
|
);
|
|
176
184
|
}
|
|
177
185
|
}
|
|
178
186
|
export {
|
|
179
|
-
|
|
187
|
+
U as RoomHighlight
|
|
180
188
|
};
|
|
@@ -1,19 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { safe_not_equal as le, action_destroyer as ne, noop as C, run_all as fe } from "../../../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as re, element as I, attr as N, set_style as y, insert as d, listen as V, detach as b, empty as S, space as ae, text as q, append as O, set_data as U, HtmlTag as ce } from "../../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { SvelteComponent as me, init as se } from "../../../vendor/svelte/src/runtime/internal/Component.js";
|
|
4
|
+
import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
2
5
|
import { svelteResizeObserver as ue } from "../../../shared-utils/svelte/resizeObserver.js";
|
|
3
|
-
function
|
|
6
|
+
function de(n) {
|
|
4
7
|
re(n, "svelte-12pzct5", ".floorplan-plugin__room-label-item.svelte-12pzct5{position:absolute;display:flex;flex-flow:column;align-items:center;line-height:1;color:#fff;transform:translate(-50%, -50%);white-space:nowrap;will-change:opacity;transition:opacity 300ms}.floorplan-plugin__room-size.svelte-12pzct5{opacity:0.45}");
|
|
5
8
|
}
|
|
6
|
-
function
|
|
9
|
+
function be(n) {
|
|
7
10
|
let e, t = (
|
|
8
11
|
/*userConfigElement*/
|
|
9
12
|
n[8].outerHTML + ""
|
|
10
13
|
), l;
|
|
11
14
|
return {
|
|
12
15
|
c() {
|
|
13
|
-
e = new
|
|
16
|
+
e = new ce(!1), l = S(), e.a = l;
|
|
14
17
|
},
|
|
15
18
|
m(o, i) {
|
|
16
|
-
e.m(t, o, i),
|
|
19
|
+
e.m(t, o, i), d(o, l, i);
|
|
17
20
|
},
|
|
18
21
|
p(o, i) {
|
|
19
22
|
i & /*userConfigElement*/
|
|
@@ -21,7 +24,7 @@ function de(n) {
|
|
|
21
24
|
o[8].outerHTML + "") && e.p(t);
|
|
22
25
|
},
|
|
23
26
|
d(o) {
|
|
24
|
-
o &&
|
|
27
|
+
o && (b(l), e.d());
|
|
25
28
|
}
|
|
26
29
|
};
|
|
27
30
|
}
|
|
@@ -35,10 +38,10 @@ function _e(n) {
|
|
|
35
38
|
);
|
|
36
39
|
return {
|
|
37
40
|
c() {
|
|
38
|
-
l && l.c(), e =
|
|
41
|
+
l && l.c(), e = ae(), o && o.c(), t = S();
|
|
39
42
|
},
|
|
40
43
|
m(i, f) {
|
|
41
|
-
l && l.m(i, f),
|
|
44
|
+
l && l.m(i, f), d(i, e, f), o && o.m(i, f), d(i, t, f);
|
|
42
45
|
},
|
|
43
46
|
p(i, f) {
|
|
44
47
|
/*roomNameEnable*/
|
|
@@ -46,7 +49,7 @@ function _e(n) {
|
|
|
46
49
|
i[0] ? o ? o.p(i, f) : (o = M(i), o.c(), o.m(t.parentNode, t)) : o && (o.d(1), o = null);
|
|
47
50
|
},
|
|
48
51
|
d(i) {
|
|
49
|
-
|
|
52
|
+
i && (b(e), b(t)), l && l.d(i), o && o.d(i);
|
|
50
53
|
}
|
|
51
54
|
};
|
|
52
55
|
}
|
|
@@ -60,7 +63,7 @@ function j(n) {
|
|
|
60
63
|
e = I("span"), l = q(t), N(e, "class", "floorplan-plugin__room-name");
|
|
61
64
|
},
|
|
62
65
|
m(o, i) {
|
|
63
|
-
|
|
66
|
+
d(o, e, i), O(e, l);
|
|
64
67
|
},
|
|
65
68
|
p(o, i) {
|
|
66
69
|
i & /*room*/
|
|
@@ -68,7 +71,7 @@ function j(n) {
|
|
|
68
71
|
o[2].name + "") && U(l, t);
|
|
69
72
|
},
|
|
70
73
|
d(o) {
|
|
71
|
-
o &&
|
|
74
|
+
o && b(e);
|
|
72
75
|
}
|
|
73
76
|
};
|
|
74
77
|
}
|
|
@@ -82,7 +85,7 @@ function M(n) {
|
|
|
82
85
|
), N(e, "class", "floorplan-plugin__room-size svelte-12pzct5");
|
|
83
86
|
},
|
|
84
87
|
m(l, o) {
|
|
85
|
-
|
|
88
|
+
d(l, e, o), O(e, t);
|
|
86
89
|
},
|
|
87
90
|
p(l, o) {
|
|
88
91
|
o & /*roomAreaSize*/
|
|
@@ -93,7 +96,7 @@ function M(n) {
|
|
|
93
96
|
);
|
|
94
97
|
},
|
|
95
98
|
d(l) {
|
|
96
|
-
l &&
|
|
99
|
+
l && b(e);
|
|
97
100
|
}
|
|
98
101
|
};
|
|
99
102
|
}
|
|
@@ -109,7 +112,7 @@ function he(n) {
|
|
|
109
112
|
/*userConfigElement*/
|
|
110
113
|
a[8]
|
|
111
114
|
)
|
|
112
|
-
return
|
|
115
|
+
return be;
|
|
113
116
|
}
|
|
114
117
|
let i = o(n), f = i && i(n);
|
|
115
118
|
return {
|
|
@@ -137,15 +140,15 @@ function he(n) {
|
|
|
137
140
|
);
|
|
138
141
|
},
|
|
139
142
|
m(a, c) {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
+
d(a, e, c), f && f.m(e, null), t || (l = [
|
|
144
|
+
ne(ue.call(null, e)),
|
|
145
|
+
V(
|
|
143
146
|
e,
|
|
144
147
|
"clientWidth",
|
|
145
148
|
/*clientWidth_handler*/
|
|
146
149
|
n[19]
|
|
147
150
|
),
|
|
148
|
-
|
|
151
|
+
V(
|
|
149
152
|
e,
|
|
150
153
|
"clientHeight",
|
|
151
154
|
/*clientHeight_handler*/
|
|
@@ -162,10 +165,10 @@ function he(n) {
|
|
|
162
165
|
a[6] ? "1" : "0"
|
|
163
166
|
);
|
|
164
167
|
},
|
|
165
|
-
i:
|
|
166
|
-
o:
|
|
168
|
+
i: C,
|
|
169
|
+
o: C,
|
|
167
170
|
d(a) {
|
|
168
|
-
a &&
|
|
171
|
+
a && b(e), f && f.d(), t = !1, fe(l);
|
|
169
172
|
}
|
|
170
173
|
};
|
|
171
174
|
}
|
|
@@ -173,31 +176,31 @@ function ye(n, e) {
|
|
|
173
176
|
const t = n[0], l = n[1];
|
|
174
177
|
let o = !1;
|
|
175
178
|
for (let i = 0, f = e.length - 1; i < e.length; f = i++) {
|
|
176
|
-
const a = e[i][0], c = e[i][1],
|
|
177
|
-
c > l != _ > l && t < (
|
|
179
|
+
const a = e[i][0], c = e[i][1], p = e[f][0], _ = e[f][1];
|
|
180
|
+
c > l != _ > l && t < (p - a) * (l - c) / (_ - c) + a && (o = !o);
|
|
178
181
|
}
|
|
179
182
|
return o;
|
|
180
183
|
}
|
|
181
|
-
function
|
|
182
|
-
let l, o, i, f, a, { pxmm: c } = e, { roomAreaEnable:
|
|
183
|
-
function X(r,
|
|
184
|
-
if (
|
|
184
|
+
function pe(n, e, t) {
|
|
185
|
+
let l, o, i, f, a, { pxmm: c } = e, { roomAreaEnable: p } = e, { roomNameEnable: _ } = e, { room: m } = e, { hoveredRoom: z } = e, { getRoomAreaText: H } = e, { getLabelElement: h } = e, { adaptiveRoomLabelVisibleEnable: k } = e;
|
|
186
|
+
function X(r, s) {
|
|
187
|
+
if (s.width === 0 || s.height === 0)
|
|
185
188
|
return () => !1;
|
|
186
|
-
const Q = r.path.map(({ x: W, y: u }) => [W, u]), Z = r.roomLabel.position, { x, y: $ } = Z, { width: ee, height: te } =
|
|
189
|
+
const Q = r.path.map(({ x: W, y: u }) => [W, u]), Z = r.roomLabel.position, { x, y: $ } = Z, { width: ee, height: te } = s, g = ee / 2, R = te / 2;
|
|
187
190
|
return function(u) {
|
|
188
191
|
const E = x * u, L = $ * u, oe = Q.map(([T, ie]) => [T * u, ie * u]);
|
|
189
192
|
return [
|
|
190
|
-
[E +
|
|
191
|
-
[E -
|
|
192
|
-
[E -
|
|
193
|
-
[E +
|
|
193
|
+
[E + g, L - R],
|
|
194
|
+
[E - g, L - R],
|
|
195
|
+
[E - g, L + R],
|
|
196
|
+
[E + g, L + R]
|
|
194
197
|
].every((T) => ye(T, oe));
|
|
195
198
|
};
|
|
196
199
|
}
|
|
197
|
-
const Y = document.body.clientWidth, B = document.body.clientHeight, P =
|
|
200
|
+
const Y = document.body.clientWidth, B = document.body.clientHeight, P = m.roomLabel, D = P.positionInImage.x * 100 + "%", F = P.positionInImage.y * 100 + "%", G = (Y < 500 || B < 500 ? 10 : 14) + "px";
|
|
198
201
|
let w = 0, A = 0, v = !1;
|
|
199
|
-
z.subscribe(function(
|
|
200
|
-
t(16, v = !!
|
|
202
|
+
z.subscribe(function(s) {
|
|
203
|
+
t(16, v = !!s && s.id === m.id);
|
|
201
204
|
});
|
|
202
205
|
const J = (r) => {
|
|
203
206
|
t(4, w = r.detail);
|
|
@@ -205,18 +208,18 @@ function ge(n, e, t) {
|
|
|
205
208
|
t(5, A = r.detail);
|
|
206
209
|
};
|
|
207
210
|
return n.$$set = (r) => {
|
|
208
|
-
"pxmm" in r && t(12, c = r.pxmm), "roomAreaEnable" in r && t(0,
|
|
211
|
+
"pxmm" in r && t(12, c = r.pxmm), "roomAreaEnable" in r && t(0, p = r.roomAreaEnable), "roomNameEnable" in r && t(1, _ = r.roomNameEnable), "room" in r && t(2, m = r.room), "hoveredRoom" in r && t(13, z = r.hoveredRoom), "getRoomAreaText" in r && t(14, H = r.getRoomAreaText), "getLabelElement" in r && t(3, h = r.getLabelElement), "adaptiveRoomLabelVisibleEnable" in r && t(15, k = r.adaptiveRoomLabelVisibleEnable);
|
|
209
212
|
}, n.$$.update = () => {
|
|
210
213
|
n.$$.dirty & /*getLabelElement, room*/
|
|
211
|
-
12 && t(8, l = h == null ? void 0 : h(
|
|
212
|
-
16388 && t(7, o =
|
|
214
|
+
12 && t(8, l = h == null ? void 0 : h(m)), n.$$.dirty & /*room, getRoomAreaText*/
|
|
215
|
+
16388 && t(7, o = m.size ? H(m.size) : ""), n.$$.dirty & /*clientWidth, clientHeight*/
|
|
213
216
|
48 && t(18, i = { width: w, height: A }), n.$$.dirty & /*labelElementSize, room*/
|
|
214
|
-
262148 && t(17, f = i ? X(
|
|
217
|
+
262148 && t(17, f = i ? X(m, i) : void 0), n.$$.dirty & /*adaptiveRoomLabelVisibleEnable, isHovered, isLabelInRoom, pxmm*/
|
|
215
218
|
233472 && t(6, a = k ? v ? !0 : !!(f != null && f(c)) : !0);
|
|
216
219
|
}, [
|
|
217
|
-
|
|
220
|
+
p,
|
|
218
221
|
_,
|
|
219
|
-
|
|
222
|
+
m,
|
|
220
223
|
h,
|
|
221
224
|
w,
|
|
222
225
|
A,
|
|
@@ -237,14 +240,14 @@ function ge(n, e, t) {
|
|
|
237
240
|
K
|
|
238
241
|
];
|
|
239
242
|
}
|
|
240
|
-
class
|
|
243
|
+
class ke extends me {
|
|
241
244
|
constructor(e) {
|
|
242
|
-
super(),
|
|
245
|
+
super(), se(
|
|
243
246
|
this,
|
|
244
247
|
e,
|
|
245
|
-
|
|
248
|
+
pe,
|
|
246
249
|
he,
|
|
247
|
-
|
|
250
|
+
le,
|
|
248
251
|
{
|
|
249
252
|
pxmm: 12,
|
|
250
253
|
roomAreaEnable: 0,
|
|
@@ -255,10 +258,10 @@ class Le extends le {
|
|
|
255
258
|
getLabelElement: 3,
|
|
256
259
|
adaptiveRoomLabelVisibleEnable: 15
|
|
257
260
|
},
|
|
258
|
-
|
|
261
|
+
de
|
|
259
262
|
);
|
|
260
263
|
}
|
|
261
264
|
}
|
|
262
265
|
export {
|
|
263
|
-
|
|
266
|
+
ke as RoomLabel
|
|
264
267
|
};
|