@realsee/dnalogel 3.31.1 → 3.32.0-dev.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/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/PanoTagPlugin/controller/TagCache.d.ts +1 -1
- package/dist/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/index.cjs.js +66 -66
- package/dist/index.js +5849 -5666
- package/dist/index.umd.js +59 -59
- package/docs/assets/search.js +1 -1
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +34 -44
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +34 -44
- package/docs/classes/CSS3DRender.html +33 -43
- package/docs/classes/GuideLineItem.GuideLineItem.html +21 -31
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +45 -55
- package/docs/classes/{ModelMakerPluginInstance.html → Magnifier.html} +113 -200
- package/docs/classes/ModelRoomLabelController.html +13 -23
- package/docs/classes/MoveController.html +33 -43
- package/docs/classes/Object3DHelperController.html +47 -39
- package/docs/classes/PaintBrush.html +17 -27
- package/docs/classes/PanoMeasurePluginLine.html +36 -56
- package/docs/classes/PanoMeasurePluginModel.html +32 -42
- package/docs/classes/PanoMeasurePluginPoint.html +13 -23
- package/docs/classes/PanoMeasurePluginPolyline.html +34 -54
- package/docs/classes/PanoTagPluginController.html +110 -198
- package/docs/classes/Util.BetterTween.html +13 -27
- package/docs/classes/Util.Interval.html +15 -29
- package/docs/classes/Util.LineSegments.html +11 -25
- package/docs/classes/Util.Magnifier.html +60 -93
- package/docs/classes/Util.Object3D.html +12 -26
- package/docs/classes/Util.PointDomHelper.html +14 -28
- package/docs/classes/Util.PointHelper.html +14 -28
- package/docs/classes/Util.PointSelectorHelper.html +20 -34
- package/docs/classes/Util.Rectangle.html +16 -30
- package/docs/classes/WalkController.html +29 -39
- package/docs/enums/CameraMovementEffect.html +9 -19
- package/docs/enums/ContentType.html +23 -33
- package/docs/enums/DIRECTION.html +11 -21
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -21
- package/docs/enums/DimensionType.html +9 -19
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -20
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -21
- package/docs/enums/PaintBrushTypeEnum.html +10 -20
- package/docs/enums/PointType.html +9 -19
- package/docs/enums/Rotation.html +10 -20
- package/docs/functions/AreaMakerPlugin.html +7 -17
- package/docs/functions/CSS3DRenderPlugin.html +7 -17
- package/docs/functions/CameraMovementPlugin.html +7 -17
- package/docs/functions/CruisePlugin.html +7 -17
- package/docs/functions/CurrentPanoImagePlugin.html +7 -17
- package/docs/functions/GuideLinePlugin.html +7 -17
- package/docs/functions/ItemLabelPlugin.html +7 -17
- package/docs/functions/MapviewFloorplanPlugin.html +7 -17
- package/docs/functions/ModelChassisCompassPlugin.html +7 -17
- package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -17
- package/docs/functions/ModelFloorplanPlugin.html +7 -17
- package/docs/functions/ModelItemLabelPlugin.html +7 -17
- package/docs/functions/ModelRoomLabelPlugin.html +7 -17
- package/docs/functions/ModelTVVideoPlugin.html +7 -17
- package/docs/functions/ModelViewPlugin.html +7 -17
- package/docs/functions/MovePlugin.html +8 -18
- package/docs/functions/Object3DHelperPlugin.html +7 -17
- package/docs/functions/PanoCompassPlugin.html +7 -17
- package/docs/functions/PanoCursorRaycasterPlugin.html +7 -17
- package/docs/functions/PanoDoorLabelPlugin.html +7 -17
- package/docs/functions/PanoFloorplanRadarPlugin.html +7 -17
- package/docs/functions/PanoMeasurePlugin.html +7 -17
- package/docs/functions/PanoRulerPlugin.html +7 -17
- package/docs/functions/PanoRulerProPlugin.html +7 -17
- package/docs/functions/PanoSpatialTagPlugin.html +7 -17
- package/docs/functions/PanoTagPlugin.html +7 -17
- package/docs/functions/PanoVideoPlugin.html +7 -17
- package/docs/functions/PipelinePlugin.html +7 -17
- package/docs/functions/TopviewFloorplanPlugin.html +7 -17
- package/docs/functions/Util.absoluteUrl.html +8 -22
- package/docs/functions/Util.checkFiveModelLoaded.html +8 -22
- package/docs/functions/Util.equal.html +8 -22
- package/docs/functions/Util.getCoordsFromClient.html +8 -22
- package/docs/functions/Util.getCoordsFromElement.html +8 -22
- package/docs/functions/Util.getFrameTime.html +8 -22
- package/docs/functions/Util.getIntersectFromRelativePosition.html +10 -29
- package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -22
- package/docs/functions/Util.isAbsoluteURL.html +8 -22
- package/docs/functions/Util.isModelLike.html +8 -22
- package/docs/functions/Util.isNil.html +8 -22
- package/docs/functions/Util.isPanoramaLike.html +8 -22
- package/docs/functions/Util.nextFrame.html +8 -22
- package/docs/functions/Util.notNil.html +8 -22
- package/docs/functions/Util.requestAnimationFrameInterval.html +8 -22
- package/docs/functions/Util.tweenProgress.html +8 -22
- package/docs/functions/Util.uuid.html +8 -22
- package/docs/functions/pluginFlag.html +7 -17
- package/docs/index.html +7 -18
- package/docs/interfaces/AddTagConfig.html +8 -18
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.Config.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +20 -30
- package/docs/interfaces/AreaMakerPluginType.Params.html +8 -18
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +10 -20
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -19
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +7 -17
- package/docs/interfaces/AreaMakerPluginType.State.html +9 -19
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -23
- package/docs/interfaces/CSS3DRenderPluginState.html +10 -20
- package/docs/interfaces/CameraMovementPluginExportType.html +9 -19
- package/docs/interfaces/CruisePluginTypes.Config.html +10 -21
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -24
- package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -33
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +23 -39
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +18 -30
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +18 -30
- package/docs/interfaces/CruisePluginTypes.PluginData.html +30 -41
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -18
- package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -25
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -23
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +14 -24
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +9 -19
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +8 -18
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -20
- package/docs/interfaces/EventMap.html +17 -27
- package/docs/interfaces/FloorplanBounding.html +10 -20
- package/docs/interfaces/FloorplanData.html +12 -22
- package/docs/interfaces/FloorplanEntrance.html +13 -23
- package/docs/interfaces/FloorplanExtraObject.html +12 -22
- package/docs/interfaces/FloorplanExtraObject3D.html +10 -20
- package/docs/interfaces/FloorplanFloorData.html +11 -21
- package/docs/interfaces/FloorplanImagePosition.html +9 -19
- package/docs/interfaces/FloorplanObserver.html +11 -21
- package/docs/interfaces/FloorplanOutlineItem.html +11 -21
- package/docs/interfaces/FloorplanPosition.html +9 -19
- package/docs/interfaces/FloorplanRoomItem.html +16 -26
- package/docs/interfaces/FloorplanRoomLabelItem.html +9 -19
- package/docs/interfaces/FloorplanServerBounding.html +10 -20
- package/docs/interfaces/FloorplanServerComputedData.html +12 -22
- package/docs/interfaces/FloorplanServerData.html +9 -19
- package/docs/interfaces/FloorplanServerDoorItem.html +12 -22
- package/docs/interfaces/FloorplanServerDoorPosition.html +10 -20
- package/docs/interfaces/FloorplanServerEntrance.html +13 -23
- package/docs/interfaces/FloorplanServerFloorData.html +11 -21
- package/docs/interfaces/FloorplanServerImagePosition.html +9 -19
- package/docs/interfaces/FloorplanServerObserver.html +11 -21
- package/docs/interfaces/FloorplanServerOutlineItem.html +11 -21
- package/docs/interfaces/FloorplanServerPosition.html +9 -19
- package/docs/interfaces/FloorplanServerRoomItem.html +17 -27
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -19
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -20
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -21
- package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -24
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -19
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -17
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -26
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -17
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -19
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +22 -32
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -18
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +23 -33
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -16
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -17
- package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -19
- package/docs/interfaces/GuideLinePluginType.Route.html +12 -22
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -20
- package/docs/interfaces/HelperOffset.html +10 -20
- package/docs/interfaces/ImagePlaneGroup.html +8 -18
- package/docs/interfaces/ItemLabelPluginData.html +8 -18
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -23
- package/docs/interfaces/ItemLabelPluginParametersType.html +11 -21
- package/docs/interfaces/MinMax.html +9 -19
- package/docs/interfaces/ModelChassisCompassPluginData.html +9 -19
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -20
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -19
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -20
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -20
- package/docs/interfaces/ModelItemLabelPluginData.html +8 -18
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -23
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -19
- package/docs/interfaces/ModelRoomLabelPluginData.html +8 -18
- package/docs/interfaces/ModelTVVideoPluginData.html +11 -21
- package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -20
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -18
- package/docs/interfaces/ModelViewPluginExportType.html +13 -23
- package/docs/interfaces/Object3DHelperState.html +10 -20
- package/docs/interfaces/ObjectHelperControllers.html +12 -22
- package/docs/interfaces/PaintBrushAction.html +14 -24
- package/docs/interfaces/PaintBrushConfigs.html +14 -24
- package/docs/interfaces/PaintBrushState.html +12 -22
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -22
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -17
- package/docs/interfaces/PanoMeasureParameterType.html +18 -28
- package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -20
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -19
- package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -19
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -20
- package/docs/interfaces/PanoRulerPluginExportType.html +12 -22
- package/docs/interfaces/PanoRulerPluginOptions.html +9 -19
- package/docs/interfaces/PanoRulerPluginParameterType.html +10 -20
- package/docs/interfaces/PanoRulerProPluginExportType.html +11 -21
- package/docs/interfaces/PanoRulerProPluginOptions.html +9 -19
- package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -19
- package/docs/interfaces/PanoRulerProPluginState.html +10 -20
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -17
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -17
- package/docs/interfaces/PanoSpatialTagPluginData.html +13 -23
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -22
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -25
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -22
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -25
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -23
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -22
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -20
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -21
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -18
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -20
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -22
- package/docs/interfaces/Point.html +10 -20
- package/docs/interfaces/Room.html +11 -21
- package/docs/interfaces/RoomInfo.html +9 -19
- package/docs/interfaces/RoomLabel.html +16 -26
- package/docs/interfaces/RoomRules.html +7 -17
- package/docs/interfaces/Rooms.html +7 -17
- package/docs/interfaces/Scissor.html +11 -21
- package/docs/interfaces/State.html +10 -20
- package/docs/interfaces/TagCacheInterface.html +14 -24
- package/docs/interfaces/TagConfig.html +49 -65
- package/docs/interfaces/TagGLTFObjectGroup.html +8 -18
- package/docs/interfaces/TagIconUrl.html +14 -24
- package/docs/interfaces/TagObjectGroup.html +8 -18
- package/docs/interfaces/TagStyle.html +8 -18
- package/docs/interfaces/Tags.html +437 -61
- package/docs/interfaces/TemporaryState.html +8 -18
- package/docs/interfaces/Util.MagnifierParameter.html +24 -43
- package/docs/interfaces/Util.MouseGroupParameter.html +11 -25
- package/docs/interfaces/Util.PointIntersection.html +12 -33
- package/docs/modules/AreaMakerPluginType.html +6 -16
- package/docs/modules/CruisePluginTypes.html +6 -18
- package/docs/modules/CurrentPanoImagePluginType.html +7 -17
- package/docs/modules/GuideLineItem.html +7 -17
- package/docs/modules/GuideLineModeItem.html +7 -17
- package/docs/modules/GuideLinePluginType.html +6 -16
- package/docs/modules/PanoVideoPluginType.html +7 -17
- package/docs/modules/Util.html +8 -26
- package/docs/modules.html +11 -34
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +6 -16
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +6 -16
- package/docs/types/AreaMakerPluginType.PluginData.html +6 -16
- package/docs/types/AreaMakerPluginType.ServerData.html +6 -16
- package/docs/types/ArrayPosition.html +7 -17
- package/docs/types/AudioAppearance.html +7 -17
- package/docs/types/{PositionFrom.html → AudioTagTypeConfigKey.html} +10 -28
- package/docs/types/CSS3DRenderExportType.html +7 -17
- package/docs/types/CSS3DRenderPluginExportType.html +7 -17
- package/docs/types/CSS3DRenderPluginParameterType.html +7 -17
- package/docs/types/ClassFunctionParameters.html +7 -17
- package/docs/types/Color.html +7 -17
- package/docs/types/ContentTypeConfigKey.html +7 -17
- package/docs/types/ContentTypeConfigKeySplit.html +8 -18
- package/docs/types/ContentTypeMap.html +7 -17
- package/docs/types/Create3DDomContainerReturnType.html +7 -17
- package/docs/types/Create3DElementReturnType.html +7 -17
- package/docs/types/CruisePluginExportType.html +7 -17
- package/docs/types/CruisePluginTypes.CruiseData.html +6 -17
- package/docs/types/CruisePluginTypes.MoveEffect.html +6 -17
- package/docs/types/CurrentPanoImagePluginExportType.html +7 -17
- package/docs/types/DeprecatedMediaPlaneProperty.html +7 -17
- package/docs/types/DeprecatedTagProperty.html +7 -17
- package/docs/types/Direction-1.html +7 -17
- package/docs/types/Direction4.html +7 -17
- package/docs/types/ElementRenderer.html +7 -17
- package/docs/types/FloorplanRuleLabels.html +7 -17
- package/docs/types/FloorplanServerRuleLabels.html +7 -17
- package/docs/types/GuideLinePluginExportType.html +7 -17
- package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -18
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -16
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -16
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -16
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -16
- package/docs/types/GuideLinePluginType.PathItem.html +6 -16
- package/docs/types/GuideLinePluginType.PluginData.html +6 -16
- package/docs/types/HelperEventMap.html +7 -17
- package/docs/types/InternalHelperEventMap.html +11 -29
- package/docs/types/LoadTagConfig.html +7 -17
- package/docs/types/MapviewFloorplanPluginParameterType.html +7 -17
- package/docs/types/MapviewFloorplanPluginReturnType.html +7 -17
- package/docs/types/MediaData.html +10 -20
- package/docs/types/MediaStore.html +7 -17
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -17
- package/docs/types/ModelFloorplanPluginParameterType.html +7 -17
- package/docs/types/ModelFloorplanPluginReturnType.html +7 -17
- package/docs/types/ModelId.html +7 -17
- package/docs/types/ModelRoomLabelPluginParameters.html +7 -17
- package/docs/types/ModelRoomLabelPluginReturnType.html +7 -17
- package/docs/types/MoveArgs.html +7 -17
- package/docs/types/MoveOpts.html +7 -17
- package/docs/types/Object3DHelperEventMap.html +7 -17
- package/docs/types/ObjectFit.html +7 -17
- package/docs/types/PaintBrushEventMap.html +7 -17
- package/docs/types/PanoCompassPluginData.html +7 -17
- package/docs/types/PanoCompassPluginExportType.html +7 -17
- package/docs/types/PanoCompassPluginParameterType.html +7 -17
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -17
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -17
- package/docs/types/PanoIndex.html +7 -17
- package/docs/types/PanoMeasurePluginEvent.html +7 -17
- package/docs/types/PanoMeasureReturnType.html +7 -17
- package/docs/types/PanoSpatialTagPluginId.html +7 -17
- package/docs/types/PanoTagPluginExportInterface.html +7 -17
- package/docs/types/PanoTagPluginParamsInterface.html +7 -17
- package/docs/types/PanoVideoPluginParameterType.html +7 -17
- package/docs/types/PanoVideoPluginReturnType.html +7 -17
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +12 -22
- package/docs/types/PipelinePluginParameterType.html +7 -17
- package/docs/types/PipelinePluginReturnType.html +7 -17
- package/docs/types/PlaneTag.html +7 -17
- package/docs/types/Point2DTag.html +7 -17
- package/docs/types/Point3DTag.html +7 -17
- package/docs/types/PointTag.html +7 -17
- package/docs/types/PointTagInstance.html +7 -17
- package/docs/types/Position.html +7 -17
- package/docs/types/RotateArgs.html +7 -17
- package/docs/types/RotateOpts.html +7 -17
- package/docs/types/RuleLabelsKey.html +7 -17
- package/docs/types/RuleLabelsValue.html +7 -17
- package/docs/types/StickType.html +7 -17
- package/docs/types/Tag.html +13 -35
- package/docs/types/Tag2D.html +7 -17
- package/docs/types/Tag3D.html +7 -17
- package/docs/types/TagConfigByKey.html +8 -18
- package/docs/types/TagContentType.html +7 -17
- package/docs/types/TagContentTypeMapping.html +7 -17
- package/docs/types/TagDimensionType.html +7 -17
- package/docs/types/TagElement.html +7 -17
- package/docs/types/TagEvents.html +12 -38
- package/docs/types/TagGLTFObject.html +7 -17
- package/docs/types/TagHooks.html +7 -17
- package/docs/types/TagId.html +7 -17
- package/docs/types/TagInstance.html +8 -44
- package/docs/types/TagPointType.html +7 -17
- package/docs/types/TagRendererMap.html +7 -17
- package/docs/types/TopviewFloorplanPluginParameterType.html +7 -17
- package/docs/types/TopviewFloorplanPluginReturnType.html +7 -17
- package/docs/types/WorkCode.html +7 -17
- package/docs/variables/FLOOR_TYPE_MAP.html +7 -17
- package/docs/variables/PLUGIN.html +7 -17
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -17
- package/docs/variables/ROOM_TYPE_MAP.html +7 -17
- package/docs/variables/defaultGlobalConfig.html +7 -17
- package/docs/variables/itemLabelPluginServerParams.html +7 -17
- package/docs/variables/modelItemLabelPluginServerParams.html +7 -17
- package/docs/variables/modelRoomLabelPluginServerParams.html +7 -17
- 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/Move.js +50 -37
- 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 +23 -10
- 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/ModelMakerPlugin/Controller.js +33 -23
- package/libs/ModelMakerPlugin/index.js +13 -3
- package/libs/ModelMakerPlugin/utils/Text.js +43 -33
- package/libs/ModelMakerPlugin/utils/tagRenderer.js +28 -18
- 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/PanoDoorLabelPlugin/Controller.js +38 -28
- 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 +72 -61
- package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
- package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
- package/libs/PanoMeasurePlugin/Controller/index.js +28 -17
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +34 -23
- 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 +145 -131
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +35 -25
- 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 +130 -115
- 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 +161 -148
- package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
- package/libs/PanoTagPlugin/Components/TagItem.js +182 -169
- package/libs/PanoTagPlugin/controller/TagCache.d.ts +1 -1
- package/libs/PanoTagPlugin/controller/TagCache.js +5 -5
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +56 -43
- package/libs/PanoTagPlugin/controller/TagUtil.d.ts +4 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +78 -70
- package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
- package/libs/PanoTagPlugin/controller/index.js +84 -65
- package/libs/PanoTagPlugin/index.js +28 -15
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/base/BasePlugin.js +3 -3
- package/libs/components/AreaLabel/LabelItem.js +56 -51
- 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 +167 -162
- package/libs/floorplan/Components/Main.js +85 -76
- 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 +104 -101
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +65 -57
- 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 +40 -28
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +30 -18
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +143 -129
- package/libs/shared-utils/logger.js +1 -1
- 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 +5 -6
- package/docs/classes/Sculpt.html +0 -852
- package/docs/functions/ModelMakerPlugin.html +0 -303
- package/docs/functions/SculptPlugin.html +0 -306
- package/docs/functions/Util.blink.html +0 -351
- package/docs/functions/Util.reblink.html +0 -349
- package/docs/interfaces/ContentTypeMapInterface.html +0 -773
- package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +0 -352
- package/docs/interfaces/ModelMakerPluginType.EventMap.html +0 -556
- package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -349
- package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -391
- package/docs/interfaces/ModelMakerPluginType.ServerData.html +0 -332
- package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -401
- package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -381
- package/docs/interfaces/ModelMakerPluginType.State.html +0 -364
- package/docs/interfaces/Util.BlinkAnimeOptions.html +0 -380
- package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -387
- package/docs/modules/ModelMakerPluginType.html +0 -339
- package/docs/modules/SculptData.html +0 -318
- package/docs/types/AddObject3DHelperConfig.html +0 -315
- package/docs/types/ModelMakerPluginType.ElementRenderer.html +0 -329
- package/docs/types/ModelMakerPluginType.ItemType.html +0 -308
- package/docs/types/ScaleCallback.html +0 -314
- package/docs/types/ScalePosition.html +0 -303
- package/docs/types/SculptData.BoxData.html +0 -306
- package/docs/types/SculptData.CircleData.html +0 -306
- package/docs/types/SculptData.CylinderData.html +0 -306
- package/docs/types/SculptData.PointData.html +0 -306
- package/docs/types/SculptData.PolygonData.html +0 -306
- package/docs/types/SculptData.PolylineData.html +0 -306
- package/docs/types/SculptData.PrismData.html +0 -306
- package/docs/types/SculptData.RectangleData.html +0 -306
- 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,7 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { safe_not_equal as Le, action_destroyer as le, noop as $, run_all as oe } from "../../../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as He, element as E, attr as w, set_style as b, insert as h, listen as D, detach as g, empty as re, space as ee, append as V, text as F, set_data as M, HtmlTag as ke } from "../../../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { SvelteComponent as Te, init as ve } from "../../../vendor/svelte/src/runtime/internal/Component.js";
|
|
4
|
+
import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
5
|
+
import { svelteResizeObserver as fe } from "../../../shared-utils/svelte/resizeObserver.js";
|
|
3
6
|
function De(i) {
|
|
4
|
-
|
|
7
|
+
He(i, "svelte-9vzn2f", ".floorplan-plugin__room-label-item.svelte-9vzn2f{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-part1.svelte-9vzn2f{display:flex;flex-flow:column;align-items:center;color:#fff;white-space:nowrap}.floorplan-plugin__room-area.svelte-9vzn2f{opacity:0.6;line-height:1.25;margin-top:0.125rem}");
|
|
5
8
|
}
|
|
6
9
|
function Ve(i) {
|
|
7
10
|
let e, t = (
|
|
@@ -10,35 +13,35 @@ function Ve(i) {
|
|
|
10
13
|
), o;
|
|
11
14
|
return {
|
|
12
15
|
c() {
|
|
13
|
-
e = new
|
|
16
|
+
e = new ke(!1), o = re(), e.a = o;
|
|
14
17
|
},
|
|
15
|
-
m(
|
|
16
|
-
e.m(t,
|
|
18
|
+
m(n, m) {
|
|
19
|
+
e.m(t, n, m), h(n, o, m);
|
|
17
20
|
},
|
|
18
|
-
p(
|
|
21
|
+
p(n, m) {
|
|
19
22
|
m[0] & /*userConfigElement*/
|
|
20
23
|
32768 && t !== (t = /*userConfigElement*/
|
|
21
|
-
|
|
24
|
+
n[15].outerHTML + "") && e.p(t);
|
|
22
25
|
},
|
|
23
|
-
d(
|
|
24
|
-
|
|
26
|
+
d(n) {
|
|
27
|
+
n && (g(o), e.d());
|
|
25
28
|
}
|
|
26
29
|
};
|
|
27
30
|
}
|
|
28
31
|
function We(i) {
|
|
29
|
-
let e, t, o,
|
|
32
|
+
let e, t, o, n, m, s, l = (
|
|
30
33
|
/*roomNameEnable*/
|
|
31
34
|
i[1] && te(i)
|
|
32
|
-
),
|
|
35
|
+
), f = (
|
|
33
36
|
/*roomAreaEnable*/
|
|
34
37
|
i[0] && ie(i)
|
|
35
38
|
), c = (
|
|
36
39
|
/*roomDimensionEnable*/
|
|
37
|
-
i[2] &&
|
|
40
|
+
i[2] && ne(i)
|
|
38
41
|
);
|
|
39
42
|
return {
|
|
40
43
|
c() {
|
|
41
|
-
e = E("div"),
|
|
44
|
+
e = E("div"), l && l.c(), t = ee(), f && f.c(), o = ee(), c && c.c(), n = re(), w(e, "class", "floorplan-plugin__room-part1 svelte-9vzn2f"), b(
|
|
42
45
|
e,
|
|
43
46
|
"opacity",
|
|
44
47
|
/*level1_labelVisible*/
|
|
@@ -46,8 +49,8 @@ function We(i) {
|
|
|
46
49
|
);
|
|
47
50
|
},
|
|
48
51
|
m(a, u) {
|
|
49
|
-
h(a, e, u),
|
|
50
|
-
|
|
52
|
+
h(a, e, u), l && l.m(e, null), V(e, t), f && f.m(e, null), h(a, o, u), c && c.m(a, u), h(a, n, u), m || (s = [
|
|
53
|
+
le(fe.call(null, e)),
|
|
51
54
|
D(
|
|
52
55
|
e,
|
|
53
56
|
"clientWidth",
|
|
@@ -64,18 +67,18 @@ function We(i) {
|
|
|
64
67
|
},
|
|
65
68
|
p(a, u) {
|
|
66
69
|
/*roomNameEnable*/
|
|
67
|
-
a[1] ?
|
|
68
|
-
a[0] ?
|
|
69
|
-
2048 &&
|
|
70
|
+
a[1] ? l ? l.p(a, u) : (l = te(a), l.c(), l.m(e, t)) : l && (l.d(1), l = null), /*roomAreaEnable*/
|
|
71
|
+
a[0] ? f ? f.p(a, u) : (f = ie(a), f.c(), f.m(e, null)) : f && (f.d(1), f = null), u[0] & /*level1_labelVisible*/
|
|
72
|
+
2048 && b(
|
|
70
73
|
e,
|
|
71
74
|
"opacity",
|
|
72
75
|
/*level1_labelVisible*/
|
|
73
76
|
a[11] ? "1" : "0"
|
|
74
77
|
), /*roomDimensionEnable*/
|
|
75
|
-
a[2] ? c ? c.p(a, u) : (c =
|
|
78
|
+
a[2] ? c ? c.p(a, u) : (c = ne(a), c.c(), c.m(n.parentNode, n)) : c && (c.d(1), c = null);
|
|
76
79
|
},
|
|
77
80
|
d(a) {
|
|
78
|
-
a && g(e),
|
|
81
|
+
a && (g(e), g(o), g(n)), l && l.d(), f && f.d(), c && c.d(a), m = !1, oe(s);
|
|
79
82
|
}
|
|
80
83
|
};
|
|
81
84
|
}
|
|
@@ -88,16 +91,16 @@ function te(i) {
|
|
|
88
91
|
c() {
|
|
89
92
|
e = E("span"), o = F(t), w(e, "class", "floorplan-plugin__room-name");
|
|
90
93
|
},
|
|
91
|
-
m(
|
|
92
|
-
h(
|
|
94
|
+
m(n, m) {
|
|
95
|
+
h(n, e, m), V(e, o);
|
|
93
96
|
},
|
|
94
|
-
p(
|
|
97
|
+
p(n, m) {
|
|
95
98
|
m[0] & /*room*/
|
|
96
99
|
8 && t !== (t = /*room*/
|
|
97
|
-
|
|
100
|
+
n[3].name + "") && M(o, t);
|
|
98
101
|
},
|
|
99
|
-
d(
|
|
100
|
-
|
|
102
|
+
d(n) {
|
|
103
|
+
n && g(e);
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
106
|
}
|
|
@@ -108,18 +111,18 @@ function ie(i) {
|
|
|
108
111
|
e = E("span"), t = F(
|
|
109
112
|
/*roomAreaSize*/
|
|
110
113
|
i[14]
|
|
111
|
-
), w(e, "class", "floorplan-plugin__room-area svelte-9vzn2f"),
|
|
114
|
+
), w(e, "class", "floorplan-plugin__room-area svelte-9vzn2f"), b(
|
|
112
115
|
e,
|
|
113
116
|
"font-size",
|
|
114
117
|
/*txtFontSize*/
|
|
115
118
|
i[19]
|
|
116
119
|
);
|
|
117
120
|
},
|
|
118
|
-
m(o,
|
|
119
|
-
h(o, e,
|
|
121
|
+
m(o, n) {
|
|
122
|
+
h(o, e, n), V(e, t);
|
|
120
123
|
},
|
|
121
|
-
p(o,
|
|
122
|
-
|
|
124
|
+
p(o, n) {
|
|
125
|
+
n[0] & /*roomAreaSize*/
|
|
123
126
|
16384 && M(
|
|
124
127
|
t,
|
|
125
128
|
/*roomAreaSize*/
|
|
@@ -131,36 +134,36 @@ function ie(i) {
|
|
|
131
134
|
}
|
|
132
135
|
};
|
|
133
136
|
}
|
|
134
|
-
function
|
|
137
|
+
function ne(i) {
|
|
135
138
|
let e, t;
|
|
136
139
|
return {
|
|
137
140
|
c() {
|
|
138
141
|
e = E("span"), t = F(
|
|
139
142
|
/*roomDimension*/
|
|
140
143
|
i[13]
|
|
141
|
-
), w(e, "class", "floorplan-plugin__room-size"),
|
|
144
|
+
), w(e, "class", "floorplan-plugin__room-size"), b(
|
|
142
145
|
e,
|
|
143
146
|
"font-size",
|
|
144
147
|
/*txtFontSize*/
|
|
145
148
|
i[19]
|
|
146
|
-
),
|
|
149
|
+
), b(
|
|
147
150
|
e,
|
|
148
151
|
"opacity",
|
|
149
152
|
/*level2_labelVisible*/
|
|
150
153
|
i[10] ? "0.6" : "0"
|
|
151
154
|
);
|
|
152
155
|
},
|
|
153
|
-
m(o,
|
|
154
|
-
h(o, e,
|
|
156
|
+
m(o, n) {
|
|
157
|
+
h(o, e, n), V(e, t);
|
|
155
158
|
},
|
|
156
|
-
p(o,
|
|
157
|
-
|
|
159
|
+
p(o, n) {
|
|
160
|
+
n[0] & /*roomDimension*/
|
|
158
161
|
8192 && M(
|
|
159
162
|
t,
|
|
160
163
|
/*roomDimension*/
|
|
161
164
|
o[13]
|
|
162
|
-
),
|
|
163
|
-
1024 &&
|
|
165
|
+
), n[0] & /*level2_labelVisible*/
|
|
166
|
+
1024 && b(
|
|
164
167
|
e,
|
|
165
168
|
"opacity",
|
|
166
169
|
/*level2_labelVisible*/
|
|
@@ -174,51 +177,51 @@ function le(i) {
|
|
|
174
177
|
}
|
|
175
178
|
function Ae(i) {
|
|
176
179
|
let e, t, o;
|
|
177
|
-
function l
|
|
180
|
+
function n(l, f) {
|
|
178
181
|
if (
|
|
179
182
|
/*getLabelElement*/
|
|
180
|
-
|
|
183
|
+
l[4] === void 0
|
|
181
184
|
)
|
|
182
185
|
return We;
|
|
183
186
|
if (
|
|
184
187
|
/*userConfigElement*/
|
|
185
|
-
|
|
188
|
+
l[15]
|
|
186
189
|
)
|
|
187
190
|
return Ve;
|
|
188
191
|
}
|
|
189
|
-
let m =
|
|
192
|
+
let m = n(i), s = m && m(i);
|
|
190
193
|
return {
|
|
191
194
|
c() {
|
|
192
|
-
e = E("div"), s && s.c(), w(e, "class", "floorplan-plugin__room-label-item svelte-9vzn2f"),
|
|
195
|
+
e = E("div"), s && s.c(), w(e, "class", "floorplan-plugin__room-label-item svelte-9vzn2f"), b(
|
|
193
196
|
e,
|
|
194
197
|
"left",
|
|
195
198
|
/*left*/
|
|
196
199
|
i[16]
|
|
197
|
-
),
|
|
200
|
+
), b(
|
|
198
201
|
e,
|
|
199
202
|
"top",
|
|
200
203
|
/*top*/
|
|
201
204
|
i[17]
|
|
202
|
-
),
|
|
205
|
+
), b(
|
|
203
206
|
e,
|
|
204
207
|
"font-size",
|
|
205
208
|
/*titleFontSize*/
|
|
206
209
|
i[18]
|
|
207
|
-
),
|
|
210
|
+
), b(
|
|
208
211
|
e,
|
|
209
212
|
"opacity",
|
|
210
213
|
/*level0_labelVisible*/
|
|
211
214
|
i[12] ? "1" : "0"
|
|
212
|
-
),
|
|
215
|
+
), b(
|
|
213
216
|
e,
|
|
214
217
|
"transform",
|
|
215
218
|
/*transformInner*/
|
|
216
219
|
i[9] ? "translate(-50%, calc(-50% + 6px))" : "translate(-50%, -50%)"
|
|
217
220
|
);
|
|
218
221
|
},
|
|
219
|
-
m(
|
|
220
|
-
h(
|
|
221
|
-
|
|
222
|
+
m(l, f) {
|
|
223
|
+
h(l, e, f), s && s.m(e, null), t || (o = [
|
|
224
|
+
le(fe.call(null, e)),
|
|
222
225
|
D(
|
|
223
226
|
e,
|
|
224
227
|
"clientWidth",
|
|
@@ -233,43 +236,43 @@ function Ae(i) {
|
|
|
233
236
|
)
|
|
234
237
|
], t = !0);
|
|
235
238
|
},
|
|
236
|
-
p(
|
|
237
|
-
m === (m = l
|
|
238
|
-
4096 &&
|
|
239
|
+
p(l, f) {
|
|
240
|
+
m === (m = n(l)) && s ? s.p(l, f) : (s && s.d(1), s = m && m(l), s && (s.c(), s.m(e, null))), f[0] & /*level0_labelVisible*/
|
|
241
|
+
4096 && b(
|
|
239
242
|
e,
|
|
240
243
|
"opacity",
|
|
241
244
|
/*level0_labelVisible*/
|
|
242
|
-
|
|
243
|
-
),
|
|
244
|
-
512 &&
|
|
245
|
+
l[12] ? "1" : "0"
|
|
246
|
+
), f[0] & /*transformInner*/
|
|
247
|
+
512 && b(
|
|
245
248
|
e,
|
|
246
249
|
"transform",
|
|
247
250
|
/*transformInner*/
|
|
248
|
-
|
|
251
|
+
l[9] ? "translate(-50%, calc(-50% + 6px))" : "translate(-50%, -50%)"
|
|
249
252
|
);
|
|
250
253
|
},
|
|
251
254
|
i: $,
|
|
252
255
|
o: $,
|
|
253
|
-
d(
|
|
254
|
-
|
|
256
|
+
d(l) {
|
|
257
|
+
l && g(e), s && s.d(), t = !1, oe(o);
|
|
255
258
|
}
|
|
256
259
|
};
|
|
257
260
|
}
|
|
258
261
|
function Ce(i, e) {
|
|
259
262
|
const t = i[0], o = i[1];
|
|
260
|
-
let
|
|
263
|
+
let n = !1;
|
|
261
264
|
for (let m = 0, s = e.length - 1; m < e.length; s = m++) {
|
|
262
|
-
const
|
|
263
|
-
|
|
265
|
+
const l = e[m][0], f = e[m][1], c = e[s][0], a = e[s][1];
|
|
266
|
+
f > o != a > o && t < (c - l) * (o - f) / (a - f) + l && (n = !n);
|
|
264
267
|
}
|
|
265
|
-
return
|
|
268
|
+
return n;
|
|
266
269
|
}
|
|
267
270
|
function Ie(i, e, t) {
|
|
268
|
-
let o,
|
|
269
|
-
function J(
|
|
271
|
+
let o, n, m, s, l, f, c, a, u, q, O, U, X, { pxmm: z } = e, { roomAreaEnable: Y } = e, { roomNameEnable: B } = e, { roomDimensionEnable: G } = e, { room: d } = e, { hoveredRoom: W } = e, { getRoomAreaText: A } = e, { getRoomDimensionText: C } = e, { getLabelElement: y } = e, { adaptiveRoomLabelVisibleEnable: L } = e;
|
|
272
|
+
function J(r, _) {
|
|
270
273
|
if (_.width === 0 || _.height === 0)
|
|
271
274
|
return () => !1;
|
|
272
|
-
const he =
|
|
275
|
+
const he = r.path.map(({ x, y: p }) => [x, p]), ge = r.roomLabel.position, { x: pe, y: ye } = ge, { width: Re, height: Ee } = _, H = Re / 2, k = Ee / 2;
|
|
273
276
|
return function(p) {
|
|
274
277
|
const T = pe * p, v = ye * p, we = he.map(([j, ze]) => [j * p, ze * p]);
|
|
275
278
|
return [
|
|
@@ -280,47 +283,47 @@ function Ie(i, e, t) {
|
|
|
280
283
|
].every((j) => Ce(j, we));
|
|
281
284
|
};
|
|
282
285
|
}
|
|
283
|
-
const K = document.body.clientWidth, Q = document.body.clientHeight, Z =
|
|
286
|
+
const K = document.body.clientWidth, Q = document.body.clientHeight, Z = d.roomLabel, me = Z.positionInImage.x * 100 + "%", ae = Z.positionInImage.y * 100 + "%", se = (K < 500 || Q < 500 ? 10 : 14) + "px", ce = (K < 500 || Q < 500 ? 8 : 12) + "px";
|
|
284
287
|
let I = 0, P = 0, N = 0, S = 0, R = !1;
|
|
285
288
|
W.subscribe(function(_) {
|
|
286
|
-
t(25, R = !!_ && _.id ===
|
|
289
|
+
t(25, R = !!_ && _.id === d.id);
|
|
287
290
|
});
|
|
288
|
-
const ue = (
|
|
289
|
-
t(7, N =
|
|
290
|
-
},
|
|
291
|
-
t(8, S =
|
|
292
|
-
},
|
|
293
|
-
t(5, I =
|
|
294
|
-
}, _e = (
|
|
295
|
-
t(6, P =
|
|
291
|
+
const ue = (r) => {
|
|
292
|
+
t(7, N = r.detail);
|
|
293
|
+
}, de = (r) => {
|
|
294
|
+
t(8, S = r.detail);
|
|
295
|
+
}, be = (r) => {
|
|
296
|
+
t(5, I = r.detail);
|
|
297
|
+
}, _e = (r) => {
|
|
298
|
+
t(6, P = r.detail);
|
|
296
299
|
};
|
|
297
|
-
return i.$$set = (
|
|
298
|
-
"pxmm" in
|
|
300
|
+
return i.$$set = (r) => {
|
|
301
|
+
"pxmm" in r && t(20, z = r.pxmm), "roomAreaEnable" in r && t(0, Y = r.roomAreaEnable), "roomNameEnable" in r && t(1, B = r.roomNameEnable), "roomDimensionEnable" in r && t(2, G = r.roomDimensionEnable), "room" in r && t(3, d = r.room), "hoveredRoom" in r && t(21, W = r.hoveredRoom), "getRoomAreaText" in r && t(22, A = r.getRoomAreaText), "getRoomDimensionText" in r && t(23, C = r.getRoomDimensionText), "getLabelElement" in r && t(4, y = r.getLabelElement), "adaptiveRoomLabelVisibleEnable" in r && t(24, L = r.adaptiveRoomLabelVisibleEnable);
|
|
299
302
|
}, i.$$.update = () => {
|
|
300
|
-
var
|
|
303
|
+
var r, _;
|
|
301
304
|
i.$$.dirty[0] & /*getLabelElement, room*/
|
|
302
|
-
24 && t(15, o = y == null ? void 0 : y(
|
|
303
|
-
4194312 && t(14,
|
|
304
|
-
8388616 && t(13, m =
|
|
305
|
+
24 && t(15, o = y == null ? void 0 : y(d)), i.$$.dirty[0] & /*room, getRoomAreaText*/
|
|
306
|
+
4194312 && t(14, n = d.size ? A(d.size) : ""), i.$$.dirty[0] & /*room, getRoomDimensionText*/
|
|
307
|
+
8388616 && t(13, m = d != null && d.dimension ? C((r = d.dimension) == null ? void 0 : r.width, (_ = d.dimension) == null ? void 0 : _.height) : ""), i.$$.dirty[0] & /*clientWidth, clientHeight*/
|
|
305
308
|
384 && t(31, s = { width: N, height: S }), i.$$.dirty[0] & /*room*/
|
|
306
309
|
8 | i.$$.dirty[1] & /*labelElementSize*/
|
|
307
|
-
1 && t(30,
|
|
308
|
-
1091567616 && t(27,
|
|
310
|
+
1 && t(30, l = s ? J(d, s) : void 0), i.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, isLabelInRoom, pxmm*/
|
|
311
|
+
1091567616 && t(27, f = L ? !!(l != null && l(z)) : !0), i.$$.dirty[0] & /*wrapperClientWidth, wrapperClientHeight*/
|
|
309
312
|
96 && t(29, c = {
|
|
310
313
|
width: I,
|
|
311
314
|
height: P
|
|
312
315
|
}), i.$$.dirty[0] & /*wrapperLabelElementSize, room*/
|
|
313
|
-
536870920 && t(28, a = c ? J(
|
|
316
|
+
536870920 && t(28, a = c ? J(d, c) : void 0), i.$$.dirty[0] & /*adaptiveRoomLabelVisibleEnable, isAllLabelInRoom, pxmm*/
|
|
314
317
|
286261248 && t(26, u = L ? !!(a != null && a(z)) : !0), i.$$.dirty[0] & /*wrapperLabelVisible, mainLabelVisible, isHovered*/
|
|
315
|
-
234881024 && t(12, q = u ||
|
|
316
|
-
167772160 && t(11, O =
|
|
318
|
+
234881024 && t(12, q = u || f || R), i.$$.dirty[0] & /*mainLabelVisible, isHovered*/
|
|
319
|
+
167772160 && t(11, O = f || R), i.$$.dirty[0] & /*wrapperLabelVisible, isHovered*/
|
|
317
320
|
100663296 && t(10, U = u || R), i.$$.dirty[0] & /*mainLabelVisible, wrapperLabelVisible*/
|
|
318
|
-
201326592 && t(9, X =
|
|
321
|
+
201326592 && t(9, X = f && !u);
|
|
319
322
|
}, [
|
|
320
323
|
Y,
|
|
321
324
|
B,
|
|
322
325
|
G,
|
|
323
|
-
|
|
326
|
+
d,
|
|
324
327
|
y,
|
|
325
328
|
I,
|
|
326
329
|
P,
|
|
@@ -331,10 +334,10 @@ function Ie(i, e, t) {
|
|
|
331
334
|
O,
|
|
332
335
|
q,
|
|
333
336
|
m,
|
|
334
|
-
|
|
337
|
+
n,
|
|
335
338
|
o,
|
|
336
|
-
ae,
|
|
337
339
|
me,
|
|
340
|
+
ae,
|
|
338
341
|
se,
|
|
339
342
|
ce,
|
|
340
343
|
z,
|
|
@@ -344,25 +347,25 @@ function Ie(i, e, t) {
|
|
|
344
347
|
L,
|
|
345
348
|
R,
|
|
346
349
|
u,
|
|
347
|
-
|
|
350
|
+
f,
|
|
348
351
|
a,
|
|
349
352
|
c,
|
|
350
|
-
|
|
353
|
+
l,
|
|
351
354
|
s,
|
|
352
355
|
ue,
|
|
353
|
-
be,
|
|
354
356
|
de,
|
|
357
|
+
be,
|
|
355
358
|
_e
|
|
356
359
|
];
|
|
357
360
|
}
|
|
358
|
-
class
|
|
361
|
+
class qe extends Te {
|
|
359
362
|
constructor(e) {
|
|
360
|
-
super(),
|
|
363
|
+
super(), ve(
|
|
361
364
|
this,
|
|
362
365
|
e,
|
|
363
366
|
Ie,
|
|
364
367
|
Ae,
|
|
365
|
-
|
|
368
|
+
Le,
|
|
366
369
|
{
|
|
367
370
|
pxmm: 20,
|
|
368
371
|
roomAreaEnable: 0,
|
|
@@ -381,5 +384,5 @@ class je extends Le {
|
|
|
381
384
|
}
|
|
382
385
|
}
|
|
383
386
|
export {
|
|
384
|
-
|
|
387
|
+
qe as RoomLabel
|
|
385
388
|
};
|