@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,32 +1,44 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var A = Object.defineProperty, B = Object.defineProperties;
|
|
2
|
+
var E = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var M = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var R = (o, t, e) => t in o ?
|
|
4
|
+
var G = Object.prototype.hasOwnProperty, J = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var R = (o, t, e) => t in o ? A(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e, C = (o, t) => {
|
|
6
6
|
for (var e in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
G.call(t, e) && R(o, e, t[e]);
|
|
8
8
|
if (M)
|
|
9
9
|
for (var e of M(t))
|
|
10
|
-
|
|
10
|
+
J.call(t, e) && R(o, e, t[e]);
|
|
11
11
|
return o;
|
|
12
|
-
}, D = (o, t) =>
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
12
|
+
}, D = (o, t) => B(o, E(t));
|
|
13
|
+
import { safe_not_equal as K, action_destroyer as N, run_all as Q } from "../vendor/svelte/src/runtime/internal/utils.js";
|
|
14
|
+
import { append_styles as X, element as Y, attr as Z, insert as T, listen as S, detach as W, empty as $ } from "../vendor/svelte/src/runtime/internal/dom.js";
|
|
15
|
+
import { check_outros as ee, transition_in as V, transition_out as j, group_outros as te } from "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
16
|
+
import { afterUpdate as oe, onDestroy as ne } from "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
17
|
+
import { globals as re } from "../vendor/svelte/src/runtime/internal/globals.js";
|
|
18
|
+
import { ensure_array_like as U, update_keyed_each as ie, outro_and_destroy_block as se } from "../vendor/svelte/src/runtime/internal/each.js";
|
|
19
|
+
import { SvelteComponent as le, init as ce, create_component as ae, mount_component as fe, destroy_component as me } from "../vendor/svelte/src/runtime/internal/Component.js";
|
|
20
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
21
|
+
import { Raycaster as ue, Vector3 as w } from "three";
|
|
22
|
+
import pe from "./RoomLabelItem.js";
|
|
16
23
|
import { svelteResizeObserver as de } from "../shared-utils/svelte/resizeObserver.js";
|
|
24
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
25
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
26
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
27
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
28
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
17
29
|
import "./Assets/roomLabelBg.js";
|
|
18
30
|
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
19
|
-
const { Map:
|
|
20
|
-
function
|
|
21
|
-
|
|
31
|
+
const { Map: he } = re;
|
|
32
|
+
function _e(o) {
|
|
33
|
+
X(o, "svelte-9eg4zi", ".room-labels-container.svelte-9eg4zi{width:100%;height:100%;position:relative;color:#fff}");
|
|
22
34
|
}
|
|
23
|
-
function
|
|
35
|
+
function H(o, t, e) {
|
|
24
36
|
const c = o.slice();
|
|
25
37
|
return c[13] = t[e], c;
|
|
26
38
|
}
|
|
27
|
-
function
|
|
39
|
+
function O(o, t) {
|
|
28
40
|
let e, c, r;
|
|
29
|
-
return c = new
|
|
41
|
+
return c = new pe({
|
|
30
42
|
props: {
|
|
31
43
|
roomLabel: (
|
|
32
44
|
/*roomLabelItem*/
|
|
@@ -41,10 +53,10 @@ function H(o, t) {
|
|
|
41
53
|
key: o,
|
|
42
54
|
first: null,
|
|
43
55
|
c() {
|
|
44
|
-
e =
|
|
56
|
+
e = $(), ae(c.$$.fragment), this.first = e;
|
|
45
57
|
},
|
|
46
58
|
m(n, m) {
|
|
47
|
-
|
|
59
|
+
T(n, e, m), fe(c, n, m), r = !0;
|
|
48
60
|
},
|
|
49
61
|
p(n, m) {
|
|
50
62
|
t = n;
|
|
@@ -56,42 +68,42 @@ function H(o, t) {
|
|
|
56
68
|
t[1]), c.$set(a);
|
|
57
69
|
},
|
|
58
70
|
i(n) {
|
|
59
|
-
r || (
|
|
71
|
+
r || (V(c.$$.fragment, n), r = !0);
|
|
60
72
|
},
|
|
61
73
|
o(n) {
|
|
62
|
-
|
|
74
|
+
j(c.$$.fragment, n), r = !1;
|
|
63
75
|
},
|
|
64
76
|
d(n) {
|
|
65
|
-
n &&
|
|
77
|
+
n && W(e), me(c, n);
|
|
66
78
|
}
|
|
67
79
|
};
|
|
68
80
|
}
|
|
69
|
-
function
|
|
70
|
-
let t, e = [], c = new
|
|
81
|
+
function ge(o) {
|
|
82
|
+
let t, e = [], c = new he(), r, n, m, a = U(
|
|
71
83
|
/*roomLabels*/
|
|
72
84
|
o[0]
|
|
73
85
|
);
|
|
74
|
-
const
|
|
86
|
+
const p = (i) => (
|
|
75
87
|
/*roomLabelItem*/
|
|
76
88
|
i[13].id
|
|
77
89
|
);
|
|
78
90
|
for (let i = 0; i < a.length; i += 1) {
|
|
79
|
-
let s =
|
|
80
|
-
c.set(u, e[i] =
|
|
91
|
+
let s = H(o, a, i), u = p(s);
|
|
92
|
+
c.set(u, e[i] = O(u, s));
|
|
81
93
|
}
|
|
82
94
|
return {
|
|
83
95
|
c() {
|
|
84
|
-
t =
|
|
96
|
+
t = Y("div");
|
|
85
97
|
for (let i = 0; i < e.length; i += 1)
|
|
86
98
|
e[i].c();
|
|
87
|
-
|
|
99
|
+
Z(t, "class", "room-labels-container svelte-9eg4zi");
|
|
88
100
|
},
|
|
89
101
|
m(i, s) {
|
|
90
|
-
|
|
102
|
+
T(i, t, s);
|
|
91
103
|
for (let u = 0; u < e.length; u += 1)
|
|
92
104
|
e[u] && e[u].m(t, null);
|
|
93
105
|
r = !0, n || (m = [
|
|
94
|
-
|
|
106
|
+
N(de.call(null, t)),
|
|
95
107
|
S(
|
|
96
108
|
t,
|
|
97
109
|
"clientWidth",
|
|
@@ -108,72 +120,74 @@ function _e(o) {
|
|
|
108
120
|
},
|
|
109
121
|
p(i, [s]) {
|
|
110
122
|
s & /*roomLabels, five*/
|
|
111
|
-
3 && (a =
|
|
112
|
-
|
|
123
|
+
3 && (a = U(
|
|
124
|
+
/*roomLabels*/
|
|
125
|
+
i[0]
|
|
126
|
+
), te(), e = ie(e, s, p, 1, i, a, c, t, se, O, null, H), ee());
|
|
113
127
|
},
|
|
114
128
|
i(i) {
|
|
115
129
|
if (!r) {
|
|
116
130
|
for (let s = 0; s < a.length; s += 1)
|
|
117
|
-
|
|
131
|
+
V(e[s]);
|
|
118
132
|
r = !0;
|
|
119
133
|
}
|
|
120
134
|
},
|
|
121
135
|
o(i) {
|
|
122
136
|
for (let s = 0; s < e.length; s += 1)
|
|
123
|
-
|
|
137
|
+
j(e[s]);
|
|
124
138
|
r = !1;
|
|
125
139
|
},
|
|
126
140
|
d(i) {
|
|
127
|
-
i &&
|
|
141
|
+
i && W(t);
|
|
128
142
|
for (let s = 0; s < e.length; s += 1)
|
|
129
143
|
e[s].d();
|
|
130
|
-
n = !1,
|
|
144
|
+
n = !1, Q(m);
|
|
131
145
|
}
|
|
132
146
|
};
|
|
133
147
|
}
|
|
134
|
-
function
|
|
135
|
-
var
|
|
136
|
-
let c, { five: r } = t, { roomLabels: n } = t, m, a,
|
|
148
|
+
function be(o, t, e) {
|
|
149
|
+
var z;
|
|
150
|
+
let c, { five: r } = t, { roomLabels: n } = t, m, a, p = (z = r.model.shownFloor) != null ? z : null;
|
|
137
151
|
function i(l) {
|
|
138
|
-
if (!(
|
|
152
|
+
if (!(p === null || l.floorIndex === p))
|
|
139
153
|
return !1;
|
|
140
|
-
const _ = new
|
|
141
|
-
_.set(
|
|
154
|
+
const _ = new ue(), d = r.camera.position.clone(), b = new w(l.position.x, l.position.y, l.position.z), f = b.distanceTo(d);
|
|
155
|
+
_.set(d.clone(), b.clone().sub(d).normalize());
|
|
142
156
|
const [h] = r.model.intersectRaycaster(_);
|
|
143
157
|
return !(h && h.distance + 1 < f);
|
|
144
158
|
}
|
|
145
159
|
function s(l, g) {
|
|
146
|
-
const
|
|
160
|
+
const d = new w(l.position.x, l.position.y, l.position.z).clone().project(r.camera), b = Math.ceil((d.x + 1) / 2 * g.x), f = Math.ceil((-d.y + 1) / 2 * g.y);
|
|
147
161
|
return `translate(${b}px, ${f}px)`;
|
|
148
162
|
}
|
|
149
163
|
function u(l) {
|
|
150
164
|
const { rendererSize: g } = l, _ = /* @__PURE__ */ new Map();
|
|
151
|
-
function
|
|
165
|
+
function d(f) {
|
|
152
166
|
const h = _.get(f.id);
|
|
153
167
|
if (h)
|
|
154
168
|
return h;
|
|
155
|
-
const { x: L, y: v, z:
|
|
169
|
+
const { x: L, y: v, z: F } = f.position, y = new w(L, v, F).clone().distanceTo(r.camera.position);
|
|
156
170
|
return _.set(f.id, y), y;
|
|
157
171
|
}
|
|
158
172
|
return n.map((f) => {
|
|
159
|
-
const h = i(f), L = h ? s(f, g) : f.transform, v =
|
|
173
|
+
const h = i(f), L = h ? s(f, g) : f.transform, v = d(f), y = n.filter((x) => x.visible && d(x) < v).length * 10;
|
|
160
174
|
return D(C({}, f), { visible: h, transform: L, zIndex: y });
|
|
161
175
|
});
|
|
162
176
|
}
|
|
163
177
|
function I() {
|
|
164
|
-
e(0, n = u({ rendererSize: c, shownFloor:
|
|
178
|
+
e(0, n = u({ rendererSize: c, shownFloor: p }));
|
|
165
179
|
}
|
|
166
|
-
function
|
|
167
|
-
e(4,
|
|
180
|
+
function k(l) {
|
|
181
|
+
e(4, p = l);
|
|
168
182
|
}
|
|
169
|
-
r.on("cameraUpdate", I), r.on("modelShownFloorChange",
|
|
170
|
-
e(0, n = u({ rendererSize: c, shownFloor:
|
|
183
|
+
r.on("cameraUpdate", I), r.on("modelShownFloorChange", k), oe(() => {
|
|
184
|
+
e(0, n = u({ rendererSize: c, shownFloor: p }));
|
|
171
185
|
}), ne(() => {
|
|
172
|
-
r.off("cameraUpdate", I), r.off("modelShownFloorChange",
|
|
186
|
+
r.off("cameraUpdate", I), r.off("modelShownFloorChange", k);
|
|
173
187
|
});
|
|
174
|
-
const
|
|
188
|
+
const q = (l) => {
|
|
175
189
|
e(2, m = l.detail);
|
|
176
|
-
},
|
|
190
|
+
}, P = (l) => {
|
|
177
191
|
e(3, a = l.detail);
|
|
178
192
|
};
|
|
179
193
|
return o.$$set = (l) => {
|
|
@@ -181,23 +195,23 @@ function ge(o, t, e) {
|
|
|
181
195
|
}, o.$$.update = () => {
|
|
182
196
|
o.$$.dirty & /*containerWidth, containerHeight*/
|
|
183
197
|
12 && e(5, c = { x: m, y: a }), o.$$.dirty & /*rendererSize, shownFloor*/
|
|
184
|
-
48 && e(0, n = u({ rendererSize: c, shownFloor:
|
|
198
|
+
48 && e(0, n = u({ rendererSize: c, shownFloor: p }));
|
|
185
199
|
}, [
|
|
186
200
|
n,
|
|
187
201
|
r,
|
|
188
202
|
m,
|
|
189
203
|
a,
|
|
190
|
-
|
|
204
|
+
p,
|
|
191
205
|
c,
|
|
192
|
-
|
|
193
|
-
|
|
206
|
+
q,
|
|
207
|
+
P
|
|
194
208
|
];
|
|
195
209
|
}
|
|
196
|
-
class
|
|
210
|
+
class Ve extends le {
|
|
197
211
|
constructor(t) {
|
|
198
|
-
super(),
|
|
212
|
+
super(), ce(this, t, be, ge, K, { five: 1, roomLabels: 0 }, _e);
|
|
199
213
|
}
|
|
200
214
|
}
|
|
201
215
|
export {
|
|
202
|
-
|
|
216
|
+
Ve as default
|
|
203
217
|
};
|
|
@@ -1,18 +1,30 @@
|
|
|
1
1
|
import { ModelRoomLabelController as r } from "./Controller.js";
|
|
2
2
|
import "./RoomLabelItems.js";
|
|
3
|
-
import "../vendor/svelte/internal/
|
|
3
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
4
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
5
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
6
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
7
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
8
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
9
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
10
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
11
|
+
import "../vendor/svelte/src/runtime/internal/globals.js";
|
|
12
|
+
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
13
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
14
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
15
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
4
16
|
import "three";
|
|
5
17
|
import "./RoomLabelItem.js";
|
|
6
18
|
import "./Assets/roomLabelBg.js";
|
|
7
19
|
import "../shared-utils/svelte/resizeObserver.js";
|
|
8
20
|
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
9
21
|
import "./utils/parseData.js";
|
|
10
|
-
const
|
|
22
|
+
const x = (o) => new r(o), C = {
|
|
11
23
|
name: "ModelRoomLabelPlugin",
|
|
12
24
|
version: 0
|
|
13
25
|
};
|
|
14
26
|
export {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
27
|
+
x as ModelRoomLabelPlugin,
|
|
28
|
+
x as default,
|
|
29
|
+
C as modelRoomLabelPluginServerParams
|
|
18
30
|
};
|
|
@@ -37,10 +37,20 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
|
37
37
|
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
38
38
|
import "animejs";
|
|
39
39
|
import "../shared-utils/url/absoluteUrl.js";
|
|
40
|
-
import "../vendor/svelte/internal/
|
|
40
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
41
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
42
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
43
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
44
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
45
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
46
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
47
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
48
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
49
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
50
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
41
51
|
import "../vendor/classnames/index.js";
|
|
42
52
|
const ii = { userAction: !0 };
|
|
43
|
-
class
|
|
53
|
+
class Fi extends q {
|
|
44
54
|
constructor(i) {
|
|
45
55
|
super(i);
|
|
46
56
|
r(this, "MinVisibledistance", 1.8);
|
|
@@ -68,11 +78,11 @@ class Ti extends q {
|
|
|
68
78
|
r(this, "initRoomObservers", () => {
|
|
69
79
|
var l, h;
|
|
70
80
|
const i = this.floorplanServerData.computed_data.floor_datas || [], d = (((h = (l = this.five) == null ? void 0 : l.work) == null ? void 0 : h.observers) || []).map((o) => {
|
|
71
|
-
const s = o.panoIndex, f = o.floorIndex,
|
|
72
|
-
if (
|
|
73
|
-
const
|
|
74
|
-
if (
|
|
75
|
-
return { panoIndex: s, floorIndex: f, name:
|
|
81
|
+
const s = o.panoIndex, f = o.floorIndex, t = i == null ? void 0 : i.find((e) => e.floor_index === f);
|
|
82
|
+
if (t) {
|
|
83
|
+
const e = t.rooms.find((c) => c.observer_indexs.includes(s));
|
|
84
|
+
if (e)
|
|
85
|
+
return { panoIndex: s, floorIndex: f, name: e.name };
|
|
76
86
|
}
|
|
77
87
|
}).filter(Boolean);
|
|
78
88
|
this.roomObservers = d;
|
|
@@ -95,13 +105,13 @@ class Ti extends q {
|
|
|
95
105
|
return this.doorLabels.forEach((s, f) => {
|
|
96
106
|
if (s.roomName === n.name)
|
|
97
107
|
return;
|
|
98
|
-
const
|
|
99
|
-
if (
|
|
108
|
+
const t = s.position.clone(), e = t.distanceTo(l);
|
|
109
|
+
if (e < this.MinVisibledistance || e > this.MaxVisibledistance)
|
|
100
110
|
return;
|
|
101
|
-
const c = new Q(), v =
|
|
111
|
+
const c = new Q(), v = t.clone().sub(l).normalize();
|
|
102
112
|
c.set(l, v);
|
|
103
113
|
const [b] = this.five.model.intersectRaycaster(c);
|
|
104
|
-
b && b.distance + 0.1 <
|
|
114
|
+
b && b.distance + 0.1 < e || o.push(f);
|
|
105
115
|
}), this.visibleLabelMap.set(i, o), o;
|
|
106
116
|
}
|
|
107
117
|
})();
|
|
@@ -110,7 +120,7 @@ class Ti extends q {
|
|
|
110
120
|
}), this.fixDoorPosition();
|
|
111
121
|
});
|
|
112
122
|
r(this, "fixDoorPosition", () => {
|
|
113
|
-
var
|
|
123
|
+
var t, e, c, v, b, y, g, w, L, E, _, S;
|
|
114
124
|
const { panoIndex: i, camera: n } = this.five;
|
|
115
125
|
if (i === null)
|
|
116
126
|
return;
|
|
@@ -133,7 +143,7 @@ class Ti extends q {
|
|
|
133
143
|
const R = {
|
|
134
144
|
left: l * M / 100,
|
|
135
145
|
top: h * k / 100,
|
|
136
|
-
width: (c = (
|
|
146
|
+
width: (c = (e = (t = I.children) == null ? void 0 : t[0]) == null ? void 0 : e.clientWidth) != null ? c : 0,
|
|
137
147
|
height: (y = (b = (v = I.children) == null ? void 0 : v[0]) == null ? void 0 : b.clientHeight) != null ? y : 0
|
|
138
148
|
}, F = {
|
|
139
149
|
left: l * O / 100,
|
|
@@ -152,15 +162,15 @@ class Ti extends q {
|
|
|
152
162
|
const { work: d } = this.five;
|
|
153
163
|
let l, h, o = 1 / 0;
|
|
154
164
|
for (const s of d.observers)
|
|
155
|
-
if (this.roomObservers.find((
|
|
156
|
-
const
|
|
157
|
-
|
|
165
|
+
if (this.roomObservers.find((t) => t.panoIndex === s.panoIndex && t.name === i)) {
|
|
166
|
+
const t = s.standingPosition, e = n.distanceTo(t);
|
|
167
|
+
e < o && (l = s.panoIndex, h = t.clone().sub(n).normalize(), o = e);
|
|
158
168
|
}
|
|
159
169
|
if (h !== null && l !== null) {
|
|
160
170
|
const s = {};
|
|
161
171
|
if (o > 0) {
|
|
162
|
-
const
|
|
163
|
-
c.setFromUnitVectors(
|
|
172
|
+
const t = new V(0, 0, -1), e = h.clone(), c = new j();
|
|
173
|
+
c.setFromUnitVectors(t, e);
|
|
164
174
|
const v = new z();
|
|
165
175
|
v.setFromQuaternion(c, "YXZ"), s.longitude = v.y;
|
|
166
176
|
}
|
|
@@ -173,24 +183,24 @@ class Ti extends q {
|
|
|
173
183
|
const i = this.five.panoIndex, n = this.floorplanServerData.computed_data.observers[i].floor_index, d = n !== void 0 && ((l = this.floorplanServerData.computed_data.floor_datas[n]) == null ? void 0 : l.rooms);
|
|
174
184
|
this.rooms = d, this.rooms && this.rooms.length > 0 && this.rooms.forEach((h) => {
|
|
175
185
|
var f;
|
|
176
|
-
const o = (f = this.floorplanServerData.computed_data.doors) == null ? void 0 : f.filter((
|
|
177
|
-
o && o.forEach((
|
|
178
|
-
const
|
|
186
|
+
const o = (f = this.floorplanServerData.computed_data.doors) == null ? void 0 : f.filter((t) => !!(t && t.name === h.name)), s = this.five.work.observers.filter((t, e) => !!h.observer_indexs.find((c) => c === e));
|
|
187
|
+
o && o.forEach((t) => {
|
|
188
|
+
const e = t.position;
|
|
179
189
|
let c = 1 / 0, v;
|
|
180
190
|
s.forEach((y) => {
|
|
181
191
|
const g = y.standingPosition, w = {
|
|
182
192
|
x: g.x,
|
|
183
193
|
y: g.y,
|
|
184
194
|
z: g.z
|
|
185
|
-
}, L = J(
|
|
195
|
+
}, L = J(e, w);
|
|
186
196
|
L < c && (c = L, v = w);
|
|
187
|
-
}), v && (
|
|
188
|
-
const b = new V(
|
|
189
|
-
b.add(new V(-0.2, 1.8, 0).applyEuler(new z(0,
|
|
197
|
+
}), v && (e.y = v.y + 0.01);
|
|
198
|
+
const b = new V(e.x, e.y, e.z);
|
|
199
|
+
b.add(new V(-0.2, 1.8, 0).applyEuler(new z(0, t.rad, 0))), this.doorLabels.push({
|
|
190
200
|
roomName: h.name,
|
|
191
|
-
name:
|
|
201
|
+
name: t.name,
|
|
192
202
|
position: b,
|
|
193
|
-
toward: K(
|
|
203
|
+
toward: K(t.rad)
|
|
194
204
|
});
|
|
195
205
|
});
|
|
196
206
|
}), this.labelItems = this.doorLabels.map((h) => W(H({}, h), {
|
|
@@ -244,5 +254,5 @@ class Ti extends q {
|
|
|
244
254
|
}
|
|
245
255
|
}
|
|
246
256
|
export {
|
|
247
|
-
|
|
257
|
+
Fi as PanoDoorLabelPluginController
|
|
248
258
|
};
|
|
@@ -1,89 +1,99 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { safe_not_equal as T, null_to_empty as u, noop as d } from "../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as L, element as C, space as p, attr as M, insert as O, append as j, listen as S, detach as y } from "../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { binding_callbacks as P } from "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
4
|
+
import { SvelteComponent as v, init as Z } from "../vendor/svelte/src/runtime/internal/Component.js";
|
|
5
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
2
6
|
import { classnames as s } from "../vendor/classnames/index.js";
|
|
3
|
-
|
|
4
|
-
|
|
7
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
8
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
9
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
10
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
11
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
12
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
13
|
+
function k(i) {
|
|
14
|
+
L(i, "svelte-1irjijd", '.plugin-DoorLabelPlugin-item.svelte-1irjijd.svelte-1irjijd{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;transition:opacity 0.3s ease}.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd{position:absolute;top:50%;left:50%;border-radius:0.125rem;background:rgba(0, 0, 0, 0.35);line-height:0.75rem;padding:0.375rem;white-space:nowrap;font-size:0.75rem;font-style:normal;color:white;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform ease 1s, background ease 0.3s, color ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd::after{content:"";display:block;position:absolute;top:-0.0625rem;left:-0.0625rem;bottom:-0.0625rem;right:-0.0625rem;border-radius:0.125rem;border:0.0625rem solid rgba(0, 0, 0, 0);-o-border-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMAQMAAABsu86kAAAABlBMVEUAAAD///+l2Z/dAAAAAnRSTlMAIE397fAAAAAVSURBVAjXY2BjgCMQ+PABhIAASRwARxwD8fgzCQAAAAAASUVORK5CYII=") 4;border-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMAQMAAABsu86kAAAABlBMVEUAAAD///+l2Z/dAAAAAnRSTlMAIE397fAAAAAVSURBVAjXY2BjgCMQ+PABhIAASRwARxwD8fgzCQAAAAAASUVORK5CYII=") 4;transition:opacity ease 0.3s}.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd:active,.plugin-DoorLabelPlugin-cnt.svelte-1irjijd.svelte-1irjijd:focus{background:rgba(0, 0, 0, 0.5);color:rgba(255, 255, 255, 0.5)}.plugin-DoorLabelPlugin-icon.svelte-1irjijd.svelte-1irjijd{background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSIxMHB4IiB2aWV3Qm94PSIwIDAgMTAgMTAiIHZlcnNpb249IjE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HJvdGF0ZSgtOTAuMDAwMDAwKSB0cmFuc2xhdGUoLTUuMDM5MjAwLCAtNS4zMDU0ODApICI+PC9wYXRoPgogICAgICAgICAgICAgICAgPC9nPgogICAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=") no-repeat;background-size:100%;display:inline-block;width:0.625rem;height:0.625rem;margin-left:0.25rem;transform-origin:center}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].left.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=forward].right.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].forward.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=right].back.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].back.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=left].forward.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].right.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(90deg)}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-1irjijd .plugin-DoorLabelPlugin-txt.svelte-1irjijd{order:1}.plugin-DoorLabelPlugin-cnt[data-camera-toward=back].left.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{transform:rotate(-90deg);margin-left:0;margin-right:0.25rem;order:0}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd.svelte-1irjijd{color:#f9eac1}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd .plugin-DoorLabelPlugin-icon.svelte-1irjijd{background:url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTBweCIgaGVpZ2h0PSI4cHgiIHZpZXdCb3g9IjAgMCAxMCA4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPHRpdGxlPueureWktDwvdGl0bGU+CiAgICA8ZGVmcz4KICAgICAgICA8bGluZWFyR3JhZGllbnQgeDE9IjEwLjYzODU4ODQlIiB5MT0iMCUiIHgyPSI5Ni41MTYxNDc0JSIgeTI9IjEyOS43MzEzNTQlIiBpZD0ibGluZWFyR3JhZGllbnQtMSI+CiAgICAgICAgICAgIDxzdG9wIHN0b3AtY29sb3I9IiNGRkYyQ0MiIG9mZnNldD0iMCUiPjwvc3RvcD4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0iI0VBRDA5QSIgb2Zmc2V0PSI0OC43MTQ0NDc4JSI+PC9zdG9wPgogICAgICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjRDFCMTdFIiBvZmZzZXQ9IjEwMCUiPjwvc3RvcD4KICAg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TQgQzEuMTIyNTE0OCw0Ljk3NzcyNjI4IDEuMTgxMDczODMsNC45MTkxNjcyNSAxLjI1MDk5NjY5LDQuODc3MDg0MDQgTDcuODA5OTU0MzEsMC45Mjk1NjMyNTMgQzguMDQ2NTUwOTMsMC43ODcxNjcxNDIgOC4zNTM3ODUyNCwwLjg2MzUzMTczOSA4LjQ5NjE4MTM1LDEuMTAwMTI4MzUgQzguNTkxNzk2MTMsMS4yNTg5OTYgOC41OTE2NDI3OCwxLjQ1NzczMTIgOC40OTU3ODI5NCwxLjYxNjQ1MTEgWiIgaWQ9IueureWktCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNS4wMzkyMDAsIDUuMzA1NDgwKSBzY2FsZSgxLCAtMSkgcm90YXRlKC05MC4wMDAwMDApIHRyYW5zbGF0ZSgtNS4wMzkyMDAsIC01LjMwNTQ4MCkgIj48L3BhdGg+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==") no-repeat}.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd.svelte-1irjijd:active,.plugin-DoorLabelPlugin-cnt--customBrand.svelte-1irjijd.svelte-1irjijd:focus{background:rgba(0, 0, 0, 0.5);color:rgba(249, 234, 193, 0.5)}');
|
|
5
15
|
}
|
|
6
|
-
function x(
|
|
7
|
-
let I,
|
|
16
|
+
function x(i) {
|
|
17
|
+
let I, g, l, a, A, t, r, n;
|
|
8
18
|
return {
|
|
9
19
|
c() {
|
|
10
|
-
I = C("div"),
|
|
11
|
-
|
|
20
|
+
I = C("div"), g = C("div"), l = C("span"), l.textContent = `${/*name*/
|
|
21
|
+
i[8]}`, a = p(), A = C("i"), M(l, "class", "plugin-DoorLabelPlugin-txt svelte-1irjijd"), M(A, "class", "plugin-DoorLabelPlugin-icon svelte-1irjijd"), M(g, "class", t = u(s(
|
|
12
22
|
"plugin-DoorLabelPlugin-cnt",
|
|
13
23
|
/*props*/
|
|
14
|
-
|
|
15
|
-
)) + " svelte-1irjijd"), M(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
24
|
+
i[0].toward
|
|
25
|
+
)) + " svelte-1irjijd"), M(g, "style", `transform: ${/*transform*/
|
|
26
|
+
i[6] || "initial"};pointer-events: ${/*inSight*/
|
|
27
|
+
i[5] ? "auto" : "none"};opacity: ${/*inSight*/
|
|
28
|
+
i[5] ? 1 : 0}`), M(
|
|
29
|
+
g,
|
|
20
30
|
"data-camera-toward",
|
|
21
31
|
/*cameraToward*/
|
|
22
|
-
|
|
32
|
+
i[7]
|
|
23
33
|
), M(I, "style", `left: ${/*left*/
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
34
|
+
i[3] || 0}%;top: ${/*top*/
|
|
35
|
+
i[4] || 0}%;opacity: ${/*inSight*/
|
|
36
|
+
i[5] ? 1 : 0}`), M(I, "class", "plugin-DoorLabelPlugin-item svelte-1irjijd");
|
|
27
37
|
},
|
|
28
|
-
m(
|
|
29
|
-
|
|
30
|
-
|
|
38
|
+
m(o, D) {
|
|
39
|
+
O(o, I, D), j(I, g), j(g, l), j(g, a), j(g, A), i[10](I), r || (n = S(
|
|
40
|
+
g,
|
|
31
41
|
"click",
|
|
32
42
|
/*click_handler*/
|
|
33
|
-
|
|
43
|
+
i[9]
|
|
34
44
|
), r = !0);
|
|
35
45
|
},
|
|
36
|
-
p(
|
|
46
|
+
p(o, [D]) {
|
|
37
47
|
D & /*props*/
|
|
38
|
-
1 &&
|
|
48
|
+
1 && t !== (t = u(s(
|
|
39
49
|
"plugin-DoorLabelPlugin-cnt",
|
|
40
50
|
/*props*/
|
|
41
|
-
|
|
42
|
-
)) + " svelte-1irjijd") && M(
|
|
51
|
+
o[0].toward
|
|
52
|
+
)) + " svelte-1irjijd") && M(g, "class", t);
|
|
43
53
|
},
|
|
44
54
|
i: d,
|
|
45
55
|
o: d,
|
|
46
|
-
d(
|
|
47
|
-
|
|
56
|
+
d(o) {
|
|
57
|
+
o && y(I), i[10](null), r = !1, n();
|
|
48
58
|
}
|
|
49
59
|
};
|
|
50
60
|
}
|
|
51
|
-
function U(
|
|
52
|
-
let { props:
|
|
61
|
+
function U(i, I, g) {
|
|
62
|
+
let { props: l } = I, { onClick: a } = I, A, { left: t, top: r, inSight: n, transform: o, panoIndex: D, cameraToward: N, name: w } = l;
|
|
53
63
|
const z = () => {
|
|
54
|
-
if (!
|
|
64
|
+
if (!t || !r || !n || !A)
|
|
55
65
|
return;
|
|
56
66
|
const e = A.current.clientWidth / window.innerWidth * 100, c = A.current.clientHeight / window.innerHeight * 100;
|
|
57
|
-
|
|
58
|
-
},
|
|
67
|
+
t <= e / 2 || t >= 100 - e / 2 || r <= c / 2 || r >= 100 - c / 2;
|
|
68
|
+
}, m = (e) => {
|
|
59
69
|
a && a();
|
|
60
70
|
};
|
|
61
|
-
function
|
|
62
|
-
|
|
63
|
-
A = e,
|
|
71
|
+
function b(e) {
|
|
72
|
+
P[e ? "unshift" : "push"](() => {
|
|
73
|
+
A = e, g(2, A);
|
|
64
74
|
});
|
|
65
75
|
}
|
|
66
|
-
return
|
|
67
|
-
"props" in e &&
|
|
76
|
+
return i.$$set = (e) => {
|
|
77
|
+
"props" in e && g(0, l = e.props), "onClick" in e && g(1, a = e.onClick);
|
|
68
78
|
}, z(), [
|
|
69
|
-
|
|
79
|
+
l,
|
|
70
80
|
a,
|
|
71
81
|
A,
|
|
72
|
-
|
|
82
|
+
t,
|
|
73
83
|
r,
|
|
74
|
-
o,
|
|
75
84
|
n,
|
|
85
|
+
o,
|
|
76
86
|
N,
|
|
77
87
|
w,
|
|
78
|
-
|
|
79
|
-
|
|
88
|
+
m,
|
|
89
|
+
b
|
|
80
90
|
];
|
|
81
91
|
}
|
|
82
|
-
class
|
|
92
|
+
class F extends v {
|
|
83
93
|
constructor(I) {
|
|
84
|
-
super(),
|
|
94
|
+
super(), Z(this, I, U, x, T, { props: 0, onClick: 1 }, k);
|
|
85
95
|
}
|
|
86
96
|
}
|
|
87
97
|
export {
|
|
88
|
-
|
|
98
|
+
F as default
|
|
89
99
|
};
|
|
@@ -24,11 +24,21 @@ import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
|
24
24
|
import "animejs";
|
|
25
25
|
import "../shared-utils/url/absoluteUrl.js";
|
|
26
26
|
import "./DoorLabelItem.js";
|
|
27
|
-
import "../vendor/svelte/internal/
|
|
27
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
28
|
+
import "../vendor/svelte/src/runtime/internal/dom.js";
|
|
29
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
30
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
31
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
32
|
+
import "../vendor/svelte/src/runtime/internal/transitions.js";
|
|
33
|
+
import "../vendor/svelte/src/runtime/internal/environment.js";
|
|
34
|
+
import "../vendor/svelte/src/runtime/internal/loop.js";
|
|
35
|
+
import "../vendor/svelte/src/runtime/internal/style_manager.js";
|
|
36
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
37
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
28
38
|
import "../vendor/classnames/index.js";
|
|
29
39
|
import "./utils.js";
|
|
30
|
-
const
|
|
40
|
+
const O = (o) => new r(o);
|
|
31
41
|
export {
|
|
32
|
-
|
|
33
|
-
|
|
42
|
+
O as PanoDoorLabelPlugin,
|
|
43
|
+
O as default
|
|
34
44
|
};
|