@realsee/dnalogel 3.12.4 → 3.12.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -11
- package/dist/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/dist/index.cjs.js +65 -65
- package/dist/index.js +4729 -4557
- package/dist/index.umd.js +56 -56
- package/docs/assets/custom.css +0 -0
- package/docs/classes/AreaMakerPluginType.AreaMakerController.html +32 -32
- package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +35 -35
- package/docs/classes/CSS3DRender.html +32 -32
- package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
- package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +41 -41
- package/docs/classes/Magnifier.html +20 -20
- package/docs/classes/ModelRoomLabelController.html +11 -11
- package/docs/classes/MoveController.html +28 -28
- package/docs/classes/Object3DHelperController.html +25 -25
- package/docs/classes/PaintBrush.html +15 -15
- package/docs/classes/PanoMeasurePluginLine.html +27 -27
- package/docs/classes/PanoMeasurePluginModel.html +27 -27
- package/docs/classes/PanoMeasurePluginPoint.html +11 -11
- package/docs/classes/PanoMeasurePluginPolyline.html +27 -27
- package/docs/classes/PanoTagPluginController.html +51 -51
- package/docs/classes/Util.BetterTween.html +10 -10
- package/docs/classes/Util.Interval.html +12 -12
- package/docs/classes/Util.LineSegments.html +8 -8
- package/docs/classes/Util.Magnifier.html +20 -20
- package/docs/classes/Util.Object3D.html +9 -9
- package/docs/classes/Util.PointDomHelper.html +11 -11
- package/docs/classes/Util.PointHelper.html +11 -11
- package/docs/classes/Util.PointSelectorHelper.html +16 -16
- package/docs/classes/Util.Rectangle.html +13 -13
- package/docs/classes/WalkController.html +27 -27
- package/docs/enums/CameraMovementEffect.html +7 -7
- package/docs/enums/ContentType.html +21 -21
- package/docs/enums/DIRECTION.html +9 -9
- package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/DimensionType.html +7 -7
- package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
- package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
- package/docs/enums/PaintBrushTypeEnum.html +8 -8
- package/docs/enums/PointType.html +7 -7
- package/docs/enums/Rotation.html +8 -8
- package/docs/functions/AreaMakerPlugin.html +5 -5
- package/docs/functions/CSS3DRenderPlugin.html +5 -5
- package/docs/functions/CameraMovementPlugin.html +5 -5
- package/docs/functions/CruisePlugin.html +5 -5
- package/docs/functions/CurrentPanoImagePlugin.html +5 -5
- package/docs/functions/GuideLinePlugin.html +5 -5
- package/docs/functions/ItemLabelPlugin.html +5 -5
- package/docs/functions/MapviewFloorplanPlugin.html +5 -5
- package/docs/functions/ModelChassisCompassPlugin.html +5 -5
- package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -5
- package/docs/functions/ModelFloorplanPlugin.html +5 -5
- package/docs/functions/ModelItemLabelPlugin.html +5 -5
- package/docs/functions/ModelRoomLabelPlugin.html +5 -5
- package/docs/functions/ModelTVVideoPlugin.html +5 -5
- package/docs/functions/ModelViewPlugin.html +5 -5
- package/docs/functions/MovePlugin.html +5 -5
- package/docs/functions/Object3DHelperPlugin.html +5 -5
- package/docs/functions/PanoCompassPlugin.html +5 -5
- package/docs/functions/PanoCursorRaycasterPlugin.html +5 -5
- package/docs/functions/PanoDoorLabelPlugin.html +5 -5
- package/docs/functions/PanoFloorplanRadarPlugin.html +5 -5
- package/docs/functions/PanoMeasurePlugin.html +5 -5
- package/docs/functions/PanoRulerPlugin.html +5 -5
- package/docs/functions/PanoRulerProPlugin.html +5 -5
- package/docs/functions/PanoSpatialTagPlugin.html +5 -5
- package/docs/functions/PanoTagPlugin.html +5 -5
- package/docs/functions/PanoVideoPlugin.html +5 -5
- package/docs/functions/PipelinePlugin.html +5 -5
- package/docs/functions/TopviewFloorplanPlugin.html +5 -5
- package/docs/functions/Util.absoluteUrl.html +5 -5
- package/docs/functions/Util.checkFiveModelLoaded.html +5 -5
- package/docs/functions/Util.equal.html +5 -5
- package/docs/functions/Util.getCoordsFromClient.html +5 -5
- package/docs/functions/Util.getCoordsFromElement.html +5 -5
- package/docs/functions/Util.getFrameTime.html +5 -5
- package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
- package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
- package/docs/functions/Util.isAbsoluteURL.html +5 -5
- package/docs/functions/Util.isModelLike.html +5 -5
- package/docs/functions/Util.isNil.html +5 -5
- package/docs/functions/Util.isPanoramaLike.html +5 -5
- package/docs/functions/Util.nextFrame.html +5 -5
- package/docs/functions/Util.notNil.html +5 -5
- package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
- package/docs/functions/Util.tweenProgress.html +5 -5
- package/docs/functions/Util.uuid.html +5 -5
- package/docs/functions/pluginFlag.html +5 -5
- package/docs/index.html +20 -21
- package/docs/interfaces/AddTagConfig.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.Config.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.EventMap.html +15 -15
- package/docs/interfaces/AreaMakerPluginType.Params.html +7 -7
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +11 -11
- package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -9
- package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +6 -6
- package/docs/interfaces/AreaMakerPluginType.State.html +8 -8
- package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
- package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
- package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
- package/docs/interfaces/CruisePluginTypes.Config.html +8 -8
- package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +12 -12
- package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -21
- package/docs/interfaces/CruisePluginTypes.MoveAction.html +12 -12
- package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +14 -14
- package/docs/interfaces/CruisePluginTypes.PluginData.html +9 -9
- package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
- package/docs/interfaces/CruisePluginTypes.PluginState.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.Config.html +11 -11
- package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +12 -12
- package/docs/interfaces/CurrentPanoImagePluginType.Params.html +7 -7
- package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +6 -6
- package/docs/interfaces/CurrentPanoImagePluginType.State.html +8 -8
- package/docs/interfaces/EventMap.html +15 -15
- package/docs/interfaces/FloorplanBounding.html +8 -8
- package/docs/interfaces/FloorplanData.html +10 -10
- package/docs/interfaces/FloorplanEntrance.html +11 -11
- package/docs/interfaces/FloorplanExtraObject.html +10 -10
- package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
- package/docs/interfaces/FloorplanFloorData.html +9 -9
- package/docs/interfaces/FloorplanImagePosition.html +7 -7
- package/docs/interfaces/FloorplanObserver.html +9 -9
- package/docs/interfaces/FloorplanOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanPosition.html +7 -7
- package/docs/interfaces/FloorplanRoomItem.html +13 -13
- package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
- package/docs/interfaces/FloorplanServerBounding.html +8 -8
- package/docs/interfaces/FloorplanServerComputedData.html +10 -10
- package/docs/interfaces/FloorplanServerData.html +7 -7
- package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
- package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
- package/docs/interfaces/FloorplanServerEntrance.html +11 -11
- package/docs/interfaces/FloorplanServerFloorData.html +9 -9
- package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
- package/docs/interfaces/FloorplanServerObserver.html +9 -9
- package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
- package/docs/interfaces/FloorplanServerPosition.html +7 -7
- package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
- package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
- package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +9 -9
- package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +10 -10
- package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -8
- package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +6 -6
- package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +13 -13
- package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +6 -6
- package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +8 -8
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +19 -19
- package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +7 -7
- package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +19 -19
- package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +5 -5
- package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
- package/docs/interfaces/GuideLinePluginType.PluginState.html +8 -8
- package/docs/interfaces/GuideLinePluginType.Route.html +11 -11
- package/docs/interfaces/GuideLinePluginType.RouteConfig.html +9 -9
- package/docs/interfaces/HelperOffset.html +8 -8
- package/docs/interfaces/ImagePlaneGroup.html +6 -6
- package/docs/interfaces/ItemLabelPluginData.html +6 -6
- package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
- package/docs/interfaces/MinMax.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
- package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
- package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
- package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
- package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
- package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
- package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
- package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
- package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
- package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
- package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
- package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
- package/docs/interfaces/ModelViewPluginExportType.html +11 -11
- package/docs/interfaces/Object3DHelperState.html +8 -8
- package/docs/interfaces/ObjectHelperControllers.html +9 -9
- package/docs/interfaces/PaintBrushAction.html +12 -12
- package/docs/interfaces/PaintBrushConfigs.html +12 -12
- package/docs/interfaces/PaintBrushState.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
- package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -5
- package/docs/interfaces/PanoMeasureParameterType.html +16 -16
- package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
- package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
- package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
- package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
- package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
- package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
- package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
- package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
- package/docs/interfaces/PanoRulerProPluginState.html +8 -8
- package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -5
- package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
- package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
- package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
- package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
- package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -9
- package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -6
- package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -8
- package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -10
- package/docs/interfaces/Point.html +8 -8
- package/docs/interfaces/Room.html +9 -9
- package/docs/interfaces/RoomInfo.html +7 -7
- package/docs/interfaces/RoomLabel.html +14 -14
- package/docs/interfaces/RoomRules.html +5 -5
- package/docs/interfaces/Rooms.html +5 -5
- package/docs/interfaces/Scissor.html +9 -9
- package/docs/interfaces/State.html +8 -8
- package/docs/interfaces/TagCacheInterface.html +12 -12
- package/docs/interfaces/TagConfig.html +30 -30
- package/docs/interfaces/TagGLTFObjectGroup.html +6 -6
- package/docs/interfaces/TagIconUrl.html +12 -12
- package/docs/interfaces/TagObjectGroup.html +6 -6
- package/docs/interfaces/TagStyle.html +6 -6
- package/docs/interfaces/Tags.html +9 -9
- package/docs/interfaces/TemporaryState.html +6 -6
- package/docs/interfaces/Util.MagnifierParameter.html +11 -11
- package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
- package/docs/interfaces/Util.PointIntersection.html +8 -8
- package/docs/modules/AreaMakerPluginType.html +5 -5
- package/docs/modules/CruisePluginTypes.html +5 -5
- package/docs/modules/CurrentPanoImagePluginType.html +5 -5
- package/docs/modules/GuideLineItem.html +5 -5
- package/docs/modules/GuideLineModeItem.html +5 -5
- package/docs/modules/GuideLinePluginType.html +5 -5
- package/docs/modules/PanoVideoPluginType.html +5 -5
- package/docs/modules/Util.html +5 -5
- package/docs/modules.html +4 -4
- package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +5 -5
- package/docs/types/AreaMakerPluginType.ItemRenderer.html +5 -5
- package/docs/types/AreaMakerPluginType.PluginData.html +5 -5
- package/docs/types/AreaMakerPluginType.ServerData.html +5 -5
- package/docs/types/ArrayPosition.html +5 -5
- package/docs/types/AudioAppearance.html +5 -5
- package/docs/types/AudioTagTypeConfigKey.html +5 -5
- package/docs/types/CSS3DRenderExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginExportType.html +5 -5
- package/docs/types/CSS3DRenderPluginParameterType.html +5 -5
- package/docs/types/ClassFunctionParameters.html +5 -5
- package/docs/types/Color.html +5 -5
- package/docs/types/ContentTypeConfigKey.html +5 -5
- package/docs/types/ContentTypeConfigKeySplit.html +5 -5
- package/docs/types/ContentTypeMap.html +5 -5
- package/docs/types/Create3DDomContainerReturnType.html +5 -5
- package/docs/types/Create3DElementReturnType.html +5 -5
- package/docs/types/CruisePluginExportType.html +5 -5
- package/docs/types/CruisePluginTypes.CruiseData.html +5 -5
- package/docs/types/CruisePluginTypes.MoveEffect.html +5 -5
- package/docs/types/CurrentPanoImagePluginExportType.html +5 -5
- package/docs/types/DeprecatedMediaPlaneProperty.html +5 -5
- package/docs/types/DeprecatedTagProperty.html +5 -5
- package/docs/types/Direction-1.html +5 -5
- package/docs/types/Direction4.html +5 -5
- package/docs/types/ElementRenderer.html +5 -5
- package/docs/types/FloorplanRuleLabels.html +5 -5
- package/docs/types/FloorplanServerRuleLabels.html +5 -5
- package/docs/types/GuideLinePluginExportType.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -5
- package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -5
- package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +5 -5
- package/docs/types/GuideLinePluginType.PathItem.html +5 -5
- package/docs/types/GuideLinePluginType.PluginData.html +5 -5
- package/docs/types/HelperEventMap.html +5 -5
- package/docs/types/LoadTagConfig.html +5 -5
- package/docs/types/MapviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/MapviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/MediaData.html +5 -5
- package/docs/types/MediaStore.html +5 -5
- package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginParameterType.html +5 -5
- package/docs/types/ModelFloorplanPluginReturnType.html +5 -5
- package/docs/types/ModelId.html +5 -5
- package/docs/types/ModelRoomLabelPluginParameters.html +5 -5
- package/docs/types/ModelRoomLabelPluginReturnType.html +5 -5
- package/docs/types/MoveArgs.html +5 -5
- package/docs/types/MoveOpts.html +5 -5
- package/docs/types/Object3DHelperEventMap.html +5 -5
- package/docs/types/ObjectFit.html +5 -5
- package/docs/types/PaintBrushEventMap.html +5 -5
- package/docs/types/PanoCompassPluginData.html +5 -5
- package/docs/types/PanoCompassPluginExportType.html +5 -5
- package/docs/types/PanoCompassPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -5
- package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -5
- package/docs/types/PanoIndex.html +5 -5
- package/docs/types/PanoMeasurePluginEvent.html +5 -5
- package/docs/types/PanoMeasureReturnType.html +5 -5
- package/docs/types/PanoSpatialTagPluginId.html +5 -5
- package/docs/types/PanoTagPluginExportInterface.html +5 -5
- package/docs/types/PanoTagPluginParamsInterface.html +5 -5
- package/docs/types/PanoVideoPluginParameterType.html +5 -5
- package/docs/types/PanoVideoPluginReturnType.html +5 -5
- package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -5
- package/docs/types/PipelinePluginParameterType.html +5 -5
- package/docs/types/PipelinePluginReturnType.html +5 -5
- package/docs/types/PlaneTag.html +5 -5
- package/docs/types/Point2DTag.html +5 -5
- package/docs/types/Point3DTag.html +5 -5
- package/docs/types/PointTag.html +5 -5
- package/docs/types/PointTagInstance.html +5 -5
- package/docs/types/Position.html +5 -5
- package/docs/types/RotateArgs.html +5 -5
- package/docs/types/RotateOpts.html +5 -5
- package/docs/types/RuleLabelsKey.html +5 -5
- package/docs/types/RuleLabelsValue.html +5 -5
- package/docs/types/StickType.html +5 -5
- package/docs/types/Tag.html +5 -5
- package/docs/types/Tag2D.html +5 -5
- package/docs/types/Tag3D.html +5 -5
- package/docs/types/TagConfigByKey.html +5 -5
- package/docs/types/TagContentType.html +5 -5
- package/docs/types/TagContentTypeMapping.html +5 -5
- package/docs/types/TagDimensionType.html +5 -5
- package/docs/types/TagElement.html +5 -5
- package/docs/types/TagEvents.html +5 -5
- package/docs/types/TagGLTFObject.html +5 -5
- package/docs/types/TagHooks.html +5 -5
- package/docs/types/TagId.html +5 -5
- package/docs/types/TagInstance.html +5 -5
- package/docs/types/TagPointType.html +5 -5
- package/docs/types/TagRendererMap.html +5 -5
- package/docs/types/TopviewFloorplanPluginParameterType.html +5 -5
- package/docs/types/TopviewFloorplanPluginReturnType.html +5 -5
- package/docs/types/WorkCode.html +5 -5
- package/docs/variables/FLOOR_TYPE_MAP.html +5 -5
- package/docs/variables/PLUGIN.html +5 -5
- package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -5
- package/docs/variables/ROOM_TYPE_MAP.html +5 -5
- package/docs/variables/defaultGlobalConfig.html +5 -5
- package/docs/variables/itemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelItemLabelPluginServerParams.html +5 -5
- package/docs/variables/modelRoomLabelPluginServerParams.html +5 -5
- package/libs/AreaMakerPlugin/Controller.js +54 -44
- package/libs/AreaMakerPlugin/index.js +13 -3
- package/libs/AreaMakerPlugin/utils/Item.js +13 -3
- package/libs/CruisePlugin/Work.js +19 -6
- package/libs/CruisePlugin/index.js +23 -10
- package/libs/GuideLinePlugin/Components/Tag.js +58 -48
- package/libs/GuideLinePlugin/Controller.js +46 -33
- package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
- package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
- package/libs/GuideLinePlugin/index.js +24 -11
- package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
- package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
- package/libs/ItemLabelPlugin/Plugin.js +37 -26
- package/libs/ItemLabelPlugin/index.js +16 -5
- package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
- package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
- package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
- package/libs/ModelItemLabelPlugin/index.js +16 -5
- package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
- package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
- package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
- package/libs/ModelRoomLabelPlugin/index.js +17 -5
- package/libs/Object3DHelperPlugin/Controller.d.ts +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +72 -62
- package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
- package/libs/PanoDoorLabelPlugin/index.js +14 -4
- package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
- package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
- package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
- package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
- package/libs/PanoMeasurePlugin/Components/Controller0.js +74 -63
- package/libs/PanoMeasurePlugin/Components/Controller1.js +33 -22
- package/libs/PanoMeasurePlugin/Components/Tip.js +76 -66
- package/libs/PanoMeasurePlugin/Controller/index.js +86 -75
- package/libs/PanoMeasurePlugin/Modules/GuideController.js +26 -16
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +33 -22
- package/libs/PanoMeasurePlugin/index.js +27 -16
- package/libs/PanoRulerProPlugin/Controller.js +38 -27
- package/libs/PanoRulerProPlugin/RulerItem.js +94 -79
- package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
- package/libs/PanoRulerProPlugin/index.js +15 -4
- package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
- package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
- package/libs/PanoSpatialTagPlugin/Plugin.js +115 -104
- package/libs/PanoSpatialTagPlugin/index.js +13 -2
- package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
- package/libs/PanoSpatialTagPlugin/store.js +2 -2
- package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
- package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
- package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +123 -112
- package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +55 -45
- package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
- package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
- package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
- package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/Shadow.js +58 -48
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
- package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
- package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +109 -96
- package/libs/PanoTagPlugin/Components/Common/Text/MText.js +128 -118
- package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +100 -90
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
- package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
- package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
- package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
- package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +216 -198
- package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
- package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +62 -52
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +66 -56
- package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +109 -98
- package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
- package/libs/PanoTagPlugin/Components/Tag/index.js +155 -142
- package/libs/PanoTagPlugin/Components/TagContainer.js +77 -62
- package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
- package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +33 -18
- package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
- package/libs/PanoTagPlugin/controller/index.js +32 -19
- package/libs/PanoTagPlugin/index.js +28 -15
- package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
- package/libs/base/BasePlugin.js +1 -1
- package/libs/components/AreaLabel/LabelItem.js +59 -54
- package/libs/floorplan/Components/BaseImage.js +43 -39
- package/libs/floorplan/Components/Camera.js +41 -32
- package/libs/floorplan/Components/Compass.js +27 -24
- package/libs/floorplan/Components/CurrentFloor.js +54 -49
- package/libs/floorplan/Components/Main.js +56 -47
- package/libs/floorplan/Components/MissingFloor.js +24 -21
- package/libs/floorplan/Components/Normalmage.js +25 -22
- package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
- package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
- package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
- package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
- package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
- package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
- package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
- package/libs/floorplan/Components/SvgImage.js +30 -27
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +18 -6
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +58 -46
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +77 -65
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +95 -83
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +70 -53
- package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +112 -100
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +24 -12
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +33 -21
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +138 -124
- package/libs/shared-utils/logger.js +1 -1
- package/libs/vendor/classnames/index.js +32 -32
- package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
- package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
- package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
- package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
- package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
- package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
- package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
- package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
- package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
- package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
- package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
- package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
- package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
- package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
- package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
- package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
- package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
- package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
- package/libs/vendor/svelte/src/shared/version.js +4 -0
- package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +29 -25
- package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
- package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
- package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
- package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
- package/package.json +11 -8
- package/libs/vendor/svelte/internal/index.js +0 -749
- /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
- /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
|
@@ -1,15 +1,27 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var t = (i, e, o) => (
|
|
4
|
-
import
|
|
1
|
+
var r = Object.defineProperty;
|
|
2
|
+
var s = (i, e, o) => e in i ? r(i, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : i[e] = o;
|
|
3
|
+
var t = (i, e, o) => (s(i, typeof e != "symbol" ? e + "" : e, o), o);
|
|
4
|
+
import n from "./RoomLabelItems.js";
|
|
5
5
|
import { parseModelRoomLabelPluginData as a } from "./utils/parseData.js";
|
|
6
|
-
import "../vendor/svelte/internal/
|
|
6
|
+
import "../vendor/svelte/src/runtime/internal/utils.js";
|
|
7
|
+
import "../vendor/svelte/src/runtime/internal/dom.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/runtime/internal/scheduler.js";
|
|
13
|
+
import "../vendor/svelte/src/runtime/internal/lifecycle.js";
|
|
14
|
+
import "../vendor/svelte/src/runtime/internal/globals.js";
|
|
15
|
+
import "../vendor/svelte/src/runtime/internal/each.js";
|
|
16
|
+
import "../vendor/svelte/src/runtime/internal/Component.js";
|
|
17
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
18
|
+
import "../vendor/svelte/src/shared/version.js";
|
|
7
19
|
import "three";
|
|
8
20
|
import "./RoomLabelItem.js";
|
|
9
21
|
import "./Assets/roomLabelBg.js";
|
|
10
22
|
import "../shared-utils/svelte/resizeObserver.js";
|
|
11
23
|
import "../vendor/resize-observer-polyfill/dist/ResizeObserver.es.js";
|
|
12
|
-
class
|
|
24
|
+
class I {
|
|
13
25
|
constructor(e) {
|
|
14
26
|
t(this, "five");
|
|
15
27
|
t(this, "enabled", !0);
|
|
@@ -71,7 +83,7 @@ class u {
|
|
|
71
83
|
(e = this.app) == null || e.$destroy(), this.app = void 0;
|
|
72
84
|
return;
|
|
73
85
|
}
|
|
74
|
-
this.app ? this.app.$set({ five: this.five, roomLabels: this.roomLabels }) : this.app = new
|
|
86
|
+
this.app ? this.app.$set({ five: this.five, roomLabels: this.roomLabels }) : this.app = new n({
|
|
75
87
|
target: this.container,
|
|
76
88
|
props: {
|
|
77
89
|
five: this.five,
|
|
@@ -82,5 +94,5 @@ class u {
|
|
|
82
94
|
}
|
|
83
95
|
}
|
|
84
96
|
export {
|
|
85
|
-
|
|
97
|
+
I as ModelRoomLabelController
|
|
86
98
|
};
|
|
@@ -1,99 +1,109 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { safe_not_equal as g, noop as c } from "../vendor/svelte/src/runtime/internal/utils.js";
|
|
2
|
+
import { append_styles as h, element as u, text as _, space as z, attr as p, set_style as s, toggle_class as v, insert as w, append as d, listen as k, set_data as L, detach as I } from "../vendor/svelte/src/runtime/internal/dom.js";
|
|
3
|
+
import { SvelteComponent as x, init as y } from "../vendor/svelte/src/runtime/internal/Component.js";
|
|
4
|
+
import "../vendor/svelte/src/runtime/internal/disclose-version/index.js";
|
|
2
5
|
import { ROOM_LABEL_BG as B } from "./Assets/roomLabelBg.js";
|
|
6
|
+
import "../vendor/svelte/src/runtime/internal/scheduler.js";
|
|
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";
|
|
3
13
|
function C(t) {
|
|
4
|
-
|
|
14
|
+
h(t, "svelte-1d7uzh5", ".room-label-item.svelte-1d7uzh5{position:absolute;font-size:0.5rem;z-index:0;transform:none;cursor:pointer;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.room-label-item__text.svelte-1d7uzh5{position:absolute;left:0;top:-4rem;transform:translate(-50%, 0);display:flex;justify-content:center;align-items:center;height:1.25rem;min-width:2rem;padding:0 0.375rem;pointer-events:all;background-size:100% 100%;background-repeat:no-repeat;white-space:nowrap}.room-label-item__bar.svelte-1d7uzh5{position:absolute;top:-2.75rem;height:3rem;width:0.0625rem;background-image:linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))}.wide.svelte-1d7uzh5{font-size:0.625rem}");
|
|
5
15
|
}
|
|
6
16
|
function O(t) {
|
|
7
|
-
let e,
|
|
17
|
+
let e, o, i = (
|
|
8
18
|
/*roomLabel*/
|
|
9
19
|
t[0].name + ""
|
|
10
|
-
),
|
|
20
|
+
), r, m, a, f, b;
|
|
11
21
|
return {
|
|
12
22
|
c() {
|
|
13
|
-
e =
|
|
14
|
-
|
|
23
|
+
e = u("div"), o = u("span"), r = _(i), m = z(), a = u("div"), p(o, "class", "room-label-item__text svelte-1d7uzh5"), s(o, "background-image", "url(" + B + ")"), v(
|
|
24
|
+
o,
|
|
15
25
|
"wide",
|
|
16
26
|
/*roomLabel*/
|
|
17
27
|
t[0].name.length > 3
|
|
18
|
-
),
|
|
28
|
+
), p(a, "class", "room-label-item__bar svelte-1d7uzh5"), p(e, "class", "room-label-item svelte-1d7uzh5"), s(
|
|
19
29
|
e,
|
|
20
30
|
"z-index",
|
|
21
31
|
/*roomLabel*/
|
|
22
32
|
t[0].zIndex
|
|
23
|
-
),
|
|
33
|
+
), s(
|
|
24
34
|
e,
|
|
25
35
|
"transform",
|
|
26
36
|
/*roomLabel*/
|
|
27
37
|
t[0].transform
|
|
28
|
-
),
|
|
38
|
+
), s(
|
|
29
39
|
e,
|
|
30
40
|
"opacity",
|
|
31
41
|
/*roomLabel*/
|
|
32
42
|
t[0].visible ? 1 : 0
|
|
33
43
|
);
|
|
34
44
|
},
|
|
35
|
-
m(
|
|
36
|
-
|
|
37
|
-
|
|
45
|
+
m(n, l) {
|
|
46
|
+
w(n, e, l), d(e, o), d(o, r), d(e, m), d(e, a), f || (b = k(
|
|
47
|
+
o,
|
|
38
48
|
"click",
|
|
39
49
|
/*onClick*/
|
|
40
50
|
t[1]
|
|
41
|
-
),
|
|
51
|
+
), f = !0);
|
|
42
52
|
},
|
|
43
|
-
p(
|
|
44
|
-
|
|
53
|
+
p(n, [l]) {
|
|
54
|
+
l & /*roomLabel*/
|
|
45
55
|
1 && i !== (i = /*roomLabel*/
|
|
46
|
-
|
|
47
|
-
1 &&
|
|
48
|
-
|
|
56
|
+
n[0].name + "") && L(r, i), l & /*roomLabel*/
|
|
57
|
+
1 && v(
|
|
58
|
+
o,
|
|
49
59
|
"wide",
|
|
50
60
|
/*roomLabel*/
|
|
51
|
-
|
|
52
|
-
),
|
|
53
|
-
1 &&
|
|
61
|
+
n[0].name.length > 3
|
|
62
|
+
), l & /*roomLabel*/
|
|
63
|
+
1 && s(
|
|
54
64
|
e,
|
|
55
65
|
"z-index",
|
|
56
66
|
/*roomLabel*/
|
|
57
|
-
|
|
58
|
-
),
|
|
59
|
-
1 &&
|
|
67
|
+
n[0].zIndex
|
|
68
|
+
), l & /*roomLabel*/
|
|
69
|
+
1 && s(
|
|
60
70
|
e,
|
|
61
71
|
"transform",
|
|
62
72
|
/*roomLabel*/
|
|
63
|
-
|
|
64
|
-
),
|
|
65
|
-
1 &&
|
|
73
|
+
n[0].transform
|
|
74
|
+
), l & /*roomLabel*/
|
|
75
|
+
1 && s(
|
|
66
76
|
e,
|
|
67
77
|
"opacity",
|
|
68
78
|
/*roomLabel*/
|
|
69
|
-
|
|
79
|
+
n[0].visible ? 1 : 0
|
|
70
80
|
);
|
|
71
81
|
},
|
|
72
|
-
i:
|
|
73
|
-
o:
|
|
74
|
-
d(
|
|
75
|
-
|
|
82
|
+
i: c,
|
|
83
|
+
o: c,
|
|
84
|
+
d(n) {
|
|
85
|
+
n && I(e), f = !1, b();
|
|
76
86
|
}
|
|
77
87
|
};
|
|
78
88
|
}
|
|
79
|
-
function R(t, e,
|
|
80
|
-
let { five: i } = e, { roomLabel:
|
|
89
|
+
function R(t, e, o) {
|
|
90
|
+
let { five: i } = e, { roomLabel: r } = e;
|
|
81
91
|
function m() {
|
|
82
92
|
i.setState({
|
|
83
|
-
panoIndex:
|
|
93
|
+
panoIndex: r.panoIndex,
|
|
84
94
|
mode: "Panorama",
|
|
85
|
-
longitude:
|
|
95
|
+
longitude: r.longitude
|
|
86
96
|
});
|
|
87
97
|
}
|
|
88
|
-
return t.$$set = (
|
|
89
|
-
"five" in
|
|
90
|
-
}, [
|
|
98
|
+
return t.$$set = (a) => {
|
|
99
|
+
"five" in a && o(2, i = a.five), "roomLabel" in a && o(0, r = a.roomLabel);
|
|
100
|
+
}, [r, m, i];
|
|
91
101
|
}
|
|
92
|
-
class
|
|
102
|
+
class K extends x {
|
|
93
103
|
constructor(e) {
|
|
94
|
-
super(),
|
|
104
|
+
super(), y(this, e, R, O, g, { five: 2, roomLabel: 0 }, C);
|
|
95
105
|
}
|
|
96
106
|
}
|
|
97
107
|
export {
|
|
98
|
-
|
|
108
|
+
K as default
|
|
99
109
|
};
|
|
@@ -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
|
};
|